diff --git a/.gitignore b/.gitignore index d524ddf7..f1cb81ba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ doc/reference node_modules build/*.bc -emscripten/jpeg-6b/ \ No newline at end of file +emscripten/libjpeg/ diff --git a/.gitmodules b/.gitmodules index 8bd9c64a..857bdec1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "emscripten/artoolkit5"] path = emscripten/artoolkit5 - url = git@github.com/artoolkit/artoolkit5.git + url = https://github.com/artoolkit/artoolkit5 diff --git a/build/artoolkitNft.debug.js b/build/artoolkitNft.debug.js index 8903c7f9..d5df8805 100644 --- a/build/artoolkitNft.debug.js +++ b/build/artoolkitNft.debug.js @@ -1,93095 +1,122920 @@ -var Module = typeof Module !== "undefined" ? Module : {}; -var moduleOverrides = {}; -var key; - -for (key in Module) { - if (Module.hasOwnProperty(key)) { - moduleOverrides[key] = Module[key]; - } -} - -Module["arguments"] = []; - -Module["thisProgram"] = "./this.program"; - -Module["quit"] = function(status, toThrow) { - throw toThrow; +// The Module object: Our interface to the outside world. We import +// and export values on it. There are various ways Module can be used: +// 1. Not defined. We create it here +// 2. A function parameter, function(Module) { ..generated code.. } +// 3. pre-run appended it, var Module = {}; ..generated code.. +// 4. External script tag defines var Module. +// We need to check if Module already exists (e.g. case 3 above). +// Substitution will be replaced with actual code on later stage of the build, +// this way Closure Compiler will not mangle it (e.g. case 4. above). +// Note that if you want to run closure, and also to use Module +// after the generated code, you will need to define var Module = {}; +// before the code. Then that object will be used in the code, and you +// can continue to use Module afterwards as well. +var Module = typeof Module != 'undefined' ? Module : {}; + +// See https://caniuse.com/mdn-javascript_builtins_object_assign + +// See https://caniuse.com/mdn-javascript_builtins_bigint64array + +// --pre-jses are emitted after the Module integration code, so that they can +// refer to Module (if they choose; they can also define Module) +// {{PRE_JSES}} + +// Sometimes an existing Module object exists with properties +// meant to overwrite the default module functionality. Here +// we collect those properties and reapply _after_ we configure +// the current environment's defaults to avoid having to be so +// defensive during initialization. +var moduleOverrides = Object.assign({}, Module); + +var arguments_ = []; +var thisProgram = './this.program'; +var quit_ = (status, toThrow) => { + throw toThrow; }; -Module["preRun"] = []; - -Module["postRun"] = []; - -var ENVIRONMENT_IS_WEB = false; +// Determine the runtime environment we are in. You can customize this by +// setting the ENVIRONMENT setting at compile time (see settings.js). -var ENVIRONMENT_IS_WORKER = false; +// Attempt to auto-detect the environment +var ENVIRONMENT_IS_WEB = typeof window == 'object'; +var ENVIRONMENT_IS_WORKER = typeof importScripts == 'function'; +// N.b. Electron.js environment is simultaneously a NODE-environment, but +// also a web environment. +var ENVIRONMENT_IS_NODE = typeof process == 'object' && typeof process.versions == 'object' && typeof process.versions.node == 'string'; +var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER; -var ENVIRONMENT_IS_NODE = false; - -var ENVIRONMENT_IS_SHELL = false; - -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 (Module["ENVIRONMENT"]) { - throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -s ENVIRONMENT=web or -s ENVIRONMENT=node)"); +if (Module['ENVIRONMENT']) { + throw new Error('Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)'); } -var scriptDirectory = ""; - +// `/` should be present at the end if `scriptDirectory` is not empty +var scriptDirectory = ''; function locateFile(path) { - if (Module["locateFile"]) { - return Module["locateFile"](path, scriptDirectory); - } else { - return scriptDirectory + path; - } -} - -if (ENVIRONMENT_IS_NODE) { - scriptDirectory = __dirname + "/"; - var nodeFS; - var nodePath; - Module["read"] = function shell_read(filename, binary) { - var ret; - ret = tryParseAsDataURI(filename); - if (!ret) { - if (!nodeFS) nodeFS = require("fs"); - if (!nodePath) nodePath = require("path"); - filename = nodePath["normalize"](filename); - 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); + if (Module['locateFile']) { + return Module['locateFile'](path, scriptDirectory); } - assert(ret.buffer); - return ret; - }; - if (process["argv"].length > 1) { - Module["thisProgram"] = process["argv"][1].replace(/\\/g, "/"); - } - Module["arguments"] = process["argv"].slice(2); - if (typeof module !== "undefined") { - module["exports"] = Module; - } - process["on"]("uncaughtException", function(ex) { - if (!(ex instanceof ExitStatus)) { - throw ex; - } - }); - process["on"]("unhandledRejection", abort); - Module["quit"] = function(status) { - process["exit"](status); - }; - Module["inspect"] = function() { - return "[Emscripten Module object]"; - }; -} else if (ENVIRONMENT_IS_SHELL) { - if (typeof read != "undefined") { - Module["read"] = function shell_read(f) { - var data = tryParseAsDataURI(f); - if (data) { - return intArrayToString(data); - } - return read(f); - }; - } - Module["readBinary"] = function readBinary(f) { - var data; - data = tryParseAsDataURI(f); - if (data) { - return data; - } - if (typeof readbuffer === "function") { - return new Uint8Array(readbuffer(f)); - } - 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) { - quit(status); - }; - } -} else if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { - if (ENVIRONMENT_IS_WORKER) { - scriptDirectory = self.location.href; - } else if (document.currentScript) { - scriptDirectory = document.currentScript.src; - } - if (scriptDirectory.indexOf("blob:") !== 0) { - scriptDirectory = scriptDirectory.substr(0, scriptDirectory.lastIndexOf("/") + 1); - } else { - scriptDirectory = ""; - } - Module["read"] = function shell_read(url) { - try { - var xhr = new XMLHttpRequest(); - xhr.open("GET", url, false); - xhr.send(null); - return xhr.responseText; - } catch (err) { - var data = tryParseAsDataURI(url); - if (data) { - return intArrayToString(data); - } - throw err; - } - }; - if (ENVIRONMENT_IS_WORKER) { - Module["readBinary"] = function readBinary(url) { - try { - var xhr = new XMLHttpRequest(); - xhr.open("GET", url, false); - xhr.responseType = "arraybuffer"; - xhr.send(null); - return new Uint8Array(xhr.response); - } catch (err) { - var data = tryParseAsDataURI(url); - if (data) { - return data; - } - throw err; - } - }; - } - 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); - return; - } - var data = tryParseAsDataURI(url); - if (data) { - onload(data.buffer); - return; - } - onerror(); - }; - xhr.onerror = onerror; - xhr.send(null); - }; - Module["setWindowTitle"] = function(title) { - document.title = title; - }; -} else { - throw new Error("environment detection error"); + return scriptDirectory + path; } -var out = Module["print"] || (typeof console !== "undefined" ? console.log.bind(console) : typeof print !== "undefined" ? print : null); - -var err = Module["printErr"] || (typeof printErr !== "undefined" ? printErr : typeof console !== "undefined" && console.warn.bind(console) || out); +// Hooks that are implemented differently in different runtime environments. +var read_, + readAsync, + readBinary, + setWindowTitle; -for (key in moduleOverrides) { - if (moduleOverrides.hasOwnProperty(key)) { - Module[key] = moduleOverrides[key]; - } +// Normally we don't log exceptions but instead let them bubble out the top +// level where the embedding environment (e.g. the browser) can handle +// them. +// However under v8 and node we sometimes exit the process direcly in which case +// its up to use us to log the exception before exiting. +// If we fix https://github.com/emscripten-core/emscripten/issues/15080 +// this may no longer be needed under node. +function logExceptionOnExit(e) { + if (e instanceof ExitStatus) return; + let toLog = e; + if (e && typeof e == 'object' && e.stack) { + toLog = [e, e.stack]; + } + err('exiting due to exception: ' + toLog); } -moduleOverrides = undefined; +var fs; +var nodePath; +var requireNodeFS; -assert(typeof Module["memoryInitializerPrefixURL"] === "undefined", "Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"); - -assert(typeof Module["pthreadMainPrefixURL"] === "undefined", "Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"); - -assert(typeof Module["cdInitializerPrefixURL"] === "undefined", "Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"); +if (ENVIRONMENT_IS_NODE) { + if (typeof process == 'undefined' || !process.release || process.release.name !== 'node') throw new Error('not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)'); + if (ENVIRONMENT_IS_WORKER) { + scriptDirectory = require('path').dirname(scriptDirectory) + '/'; + } else { + scriptDirectory = __dirname + '/'; + } -assert(typeof Module["filePackagePrefixURL"] === "undefined", "Module.filePackagePrefixURL option was removed, use Module.locateFile instead"); +// include: node_shell_read.js -var STACK_ALIGN = 16; -stackSave = stackRestore = stackAlloc = function() { - abort("cannot use the stack before compiled code is ready to run, and has provided stack access"); +requireNodeFS = () => { + // Use nodePath as the indicator for these not being initialized, + // since in some environments a global fs may have already been + // created. + if (!nodePath) { + fs = require('fs'); + nodePath = require('path'); + } }; -function dynamicAlloc(size) { - assert(DYNAMICTOP_PTR); - var ret = HEAP32[DYNAMICTOP_PTR >> 2]; - var end = ret + size + 15 & -16; - if (end <= _emscripten_get_heap_size()) { - HEAP32[DYNAMICTOP_PTR >> 2] = end; - } else { - var success = _emscripten_resize_heap(end); - if (!success) return 0; - } - return ret; -} - -function getNativeTypeSize(type) { - switch (type) { - case "i1": - case "i8": - return 1; - - case "i16": - return 2; - - case "i32": - return 4; - - case "i64": - return 8; - - case "float": - return 4; - - case "double": - return 8; - - default: - { - if (type[type.length - 1] === "*") { - return 4; - } else if (type[0] === "i") { - var bits = parseInt(type.substr(1)); - assert(bits % 8 === 0, "getNativeTypeSize invalid bits " + bits + ", type " + type); - return bits / 8; - } else { - return 0; - } +read_ = function shell_read(filename, binary) { + var ret = tryParseAsDataURI(filename); + if (ret) { + return binary ? ret : ret.toString(); } - } -} - -function warnOnce(text) { - if (!warnOnce.shown) warnOnce.shown = {}; - if (!warnOnce.shown[text]) { - warnOnce.shown[text] = 1; - err(text); - } -} - -var jsCallStartIndex = 1; - -var functionPointers = new Array(0); - -var funcWrappers = {}; - -function dynCall(sig, ptr, args) { - if (args && args.length) { - assert(args.length == sig.length - 1); - assert("dynCall_" + sig in Module, "bad function pointer type - no table for sig '" + sig + "'"); - return Module["dynCall_" + sig].apply(null, [ ptr ].concat(args)); - } else { - assert(sig.length == 1); - assert("dynCall_" + sig in Module, "bad function pointer type - no table for sig '" + sig + "'"); - return Module["dynCall_" + sig].call(null, ptr); - } -} - -var tempRet0 = 0; - -var setTempRet0 = function(value) { - tempRet0 = value; + requireNodeFS(); + filename = nodePath['normalize'](filename); + return fs.readFileSync(filename, binary ? undefined : 'utf8'); }; -var getTempRet0 = function() { - return tempRet0; +readBinary = (filename) => { + var ret = read_(filename, true); + if (!ret.buffer) { + ret = new Uint8Array(ret); + } + assert(ret.buffer); + return ret; }; -var GLOBAL_BASE = 8; - -var ABORT = false; - -var EXITSTATUS = 0; +readAsync = (filename, onload, onerror) => { + var ret = tryParseAsDataURI(filename); + if (ret) { + onload(ret); + } + requireNodeFS(); + filename = nodePath['normalize'](filename); + fs.readFile(filename, function(err, data) { + if (err) onerror(err); + else onload(data.buffer); + }); +}; -function assert(condition, text) { - if (!condition) { - abort("Assertion failed: " + text); - } -} +// end include: node_shell_read.js + if (process['argv'].length > 1) { + thisProgram = process['argv'][1].replace(/\\/g, '/'); + } -function getCFunc(ident) { - var func = Module["_" + ident]; - assert(func, "Cannot call unknown function " + ident + ", make sure it is exported"); - return func; -} + arguments_ = process['argv'].slice(2); -function ccall(ident, returnType, argTypes, args, opts) { - var toC = { - "string": function(str) { - var ret = 0; - if (str !== null && str !== undefined && str !== 0) { - var len = (str.length << 2) + 1; - ret = stackAlloc(len); - stringToUTF8(str, ret, len); - } - return ret; - }, - "array": function(arr) { - var ret = stackAlloc(arr.length); - writeArrayToMemory(arr, ret); - return ret; - } - }; - function convertReturnValue(ret) { - if (returnType === "string") return UTF8ToString(ret); - if (returnType === "boolean") return Boolean(ret); - return ret; - } - var func = getCFunc(ident); - var cArgs = []; - var stack = 0; - assert(returnType !== "array", 'Return type should not be "array".'); - if (args) { - for (var i = 0; i < args.length; i++) { - var converter = toC[argTypes[i]]; - if (converter) { - if (stack === 0) stack = stackSave(); - cArgs[i] = converter(args[i]); - } else { - cArgs[i] = args[i]; - } + if (typeof module != 'undefined') { + module['exports'] = Module; } - } - var ret = func.apply(null, cArgs); - ret = convertReturnValue(ret); - if (stack !== 0) stackRestore(stack); - return ret; -} - -function setValue(ptr, value, type, noSafe) { - type = type || "i8"; - if (type.charAt(type.length - 1) === "*") type = "i32"; - switch (type) { - case "i1": - HEAP8[ptr >> 0] = value; - break; - case "i8": - HEAP8[ptr >> 0] = value; - break; + process['on']('uncaughtException', function(ex) { + // suppress ExitStatus exceptions from showing an error + if (!(ex instanceof ExitStatus)) { + throw ex; + } + }); - case "i16": - HEAP16[ptr >> 1] = value; - break; + // Without this older versions of node (< v15) will log unhandled rejections + // but return 0, which is not normally the desired behaviour. This is + // not be needed with node v15 and about because it is now the default + // behaviour: + // See https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode + process['on']('unhandledRejection', function(reason) { throw reason; }); - case "i32": - HEAP32[ptr >> 2] = value; - break; + quit_ = (status, toThrow) => { + if (keepRuntimeAlive()) { + process['exitCode'] = status; + throw toThrow; + } + logExceptionOnExit(toThrow); + process['exit'](status); + }; - case "i64": - tempI64 = [ value >>> 0, (tempDouble = value, +Math_abs(tempDouble) >= +1 ? tempDouble > +0 ? (Math_min(+Math_floor(tempDouble / +4294967296), +4294967295) | 0) >>> 0 : ~~+Math_ceil((tempDouble - +(~~tempDouble >>> 0)) / +4294967296) >>> 0 : 0) ], - HEAP32[ptr >> 2] = tempI64[0], HEAP32[ptr + 4 >> 2] = tempI64[1]; - break; + Module['inspect'] = function () { return '[Emscripten Module object]'; }; - case "float": - HEAPF32[ptr >> 2] = value; - break; +} else +if (ENVIRONMENT_IS_SHELL) { - case "double": - HEAPF64[ptr >> 3] = value; - break; + if ((typeof process == 'object' && typeof require === 'function') || typeof window == 'object' || typeof importScripts == 'function') throw new Error('not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)'); - default: - abort("invalid type for setValue: " + type); - } -} + if (typeof read != 'undefined') { + read_ = function shell_read(f) { + const data = tryParseAsDataURI(f); + if (data) { + return intArrayToString(data); + } + return read(f); + }; + } -var ALLOC_NORMAL = 0; + readBinary = function readBinary(f) { + let data; + data = tryParseAsDataURI(f); + if (data) { + return data; + } + if (typeof readbuffer == 'function') { + return new Uint8Array(readbuffer(f)); + } + data = read(f, 'binary'); + assert(typeof data == 'object'); + return data; + }; -var ALLOC_NONE = 3; + readAsync = function readAsync(f, onload, onerror) { + setTimeout(() => onload(readBinary(f)), 0); + }; -function allocate(slab, types, allocator, ptr) { - var zeroinit, size; - if (typeof slab === "number") { - zeroinit = true; - size = slab; - } else { - zeroinit = false; - size = slab.length; - } - var singleType = typeof types === "string" ? types : null; - var ret; - if (allocator == ALLOC_NONE) { - ret = ptr; - } else { - ret = [ _malloc, stackAlloc, dynamicAlloc ][allocator](Math.max(size, singleType ? 1 : types.length)); - } - if (zeroinit) { - var stop; - ptr = ret; - assert((ret & 3) == 0); - stop = ret + (size & ~3); - for (;ptr < stop; ptr += 4) { - HEAP32[ptr >> 2] = 0; - } - stop = ret + size; - while (ptr < stop) { - HEAP8[ptr++ >> 0] = 0; - } - return ret; - } - if (singleType === "i8") { - if (slab.subarray || slab.slice) { - HEAPU8.set(slab, ret); - } else { - HEAPU8.set(new Uint8Array(slab), ret); - } - return ret; - } - var i = 0, type, typeSize, previousType; - while (i < size) { - var curr = slab[i]; - type = singleType || types[i]; - if (type === 0) { - i++; - continue; - } - assert(type, "Must know what type to store in allocate!"); - if (type == "i64") type = "i32"; - setValue(ret + i, curr, type); - if (previousType !== type) { - typeSize = getNativeTypeSize(type); - previousType = type; + if (typeof scriptArgs != 'undefined') { + arguments_ = scriptArgs; + } else if (typeof arguments != 'undefined') { + arguments_ = arguments; } - i += typeSize; - } - return ret; -} -function getMemory(size) { - if (!runtimeInitialized) return dynamicAlloc(size); - return _malloc(size); -} - -var UTF8Decoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf8") : undefined; - -function UTF8ArrayToString(u8Array, idx, maxBytesToRead) { - var endIdx = idx + maxBytesToRead; - var endPtr = idx; - while (u8Array[endPtr] && !(endPtr >= endIdx)) ++endPtr; - if (endPtr - idx > 16 && u8Array.subarray && UTF8Decoder) { - return UTF8Decoder.decode(u8Array.subarray(idx, endPtr)); - } else { - var str = ""; - while (idx < endPtr) { - var u0 = u8Array[idx++]; - if (!(u0 & 128)) { - str += String.fromCharCode(u0); - continue; - } - var u1 = u8Array[idx++] & 63; - if ((u0 & 224) == 192) { - str += String.fromCharCode((u0 & 31) << 6 | u1); - continue; - } - var u2 = u8Array[idx++] & 63; - if ((u0 & 240) == 224) { - u0 = (u0 & 15) << 12 | u1 << 6 | u2; - } else { - if ((u0 & 248) != 240) warnOnce("Invalid UTF-8 leading byte 0x" + u0.toString(16) + " encountered when deserializing a UTF-8 string on the asm.js/wasm heap to a JS string!"); - u0 = (u0 & 7) << 18 | u1 << 12 | u2 << 6 | u8Array[idx++] & 63; - } - if (u0 < 65536) { - str += String.fromCharCode(u0); - } else { - var ch = u0 - 65536; - str += String.fromCharCode(55296 | ch >> 10, 56320 | ch & 1023); - } + if (typeof quit == 'function') { + quit_ = (status, toThrow) => { + logExceptionOnExit(toThrow); + quit(status); + }; } - } - return str; -} -function UTF8ToString(ptr, maxBytesToRead) { - return ptr ? UTF8ArrayToString(HEAPU8, ptr, maxBytesToRead) : ""; -} - -function stringToUTF8Array(str, outU8Array, outIdx, maxBytesToWrite) { - if (!(maxBytesToWrite > 0)) return 0; - var startIdx = outIdx; - var endIdx = outIdx + maxBytesToWrite - 1; - for (var i = 0; i < str.length; ++i) { - var u = str.charCodeAt(i); - if (u >= 55296 && u <= 57343) { - var u1 = str.charCodeAt(++i); - u = 65536 + ((u & 1023) << 10) | u1 & 1023; - } - if (u <= 127) { - if (outIdx >= endIdx) break; - outU8Array[outIdx++] = u; - } else if (u <= 2047) { - if (outIdx + 1 >= endIdx) break; - outU8Array[outIdx++] = 192 | u >> 6; - outU8Array[outIdx++] = 128 | u & 63; - } else if (u <= 65535) { - if (outIdx + 2 >= endIdx) break; - outU8Array[outIdx++] = 224 | u >> 12; - outU8Array[outIdx++] = 128 | u >> 6 & 63; - outU8Array[outIdx++] = 128 | u & 63; + if (typeof print != 'undefined') { + // Prefer to use print/printErr where they exist, as they usually work better. + if (typeof console == 'undefined') console = /** @type{!Console} */({}); + console.log = /** @type{!function(this:Console, ...*): undefined} */ (print); + console.warn = console.error = /** @type{!function(this:Console, ...*): undefined} */ (typeof printErr != 'undefined' ? printErr : print); + } + +} else + +// Note that this includes Node.js workers when relevant (pthreads is enabled). +// Node.js workers are detected as a combination of ENVIRONMENT_IS_WORKER and +// ENVIRONMENT_IS_NODE. +if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { + if (ENVIRONMENT_IS_WORKER) { // Check worker, not web, since window could be polyfilled + scriptDirectory = self.location.href; + } else if (typeof document != 'undefined' && document.currentScript) { // web + scriptDirectory = document.currentScript.src; + } + // blob urls look like blob:http://site.com/etc/etc and we cannot infer anything from them. + // otherwise, slice off the final part of the url to find the script directory. + // if scriptDirectory does not contain a slash, lastIndexOf will return -1, + // and scriptDirectory will correctly be replaced with an empty string. + // If scriptDirectory contains a query (starting with ?) or a fragment (starting with #), + // they are removed because they could contain a slash. + if (scriptDirectory.indexOf('blob:') !== 0) { + scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf('/')+1); } else { - if (outIdx + 3 >= endIdx) break; - if (u >= 2097152) warnOnce("Invalid Unicode code point 0x" + u.toString(16) + " encountered when serializing a JS string to an UTF-8 string on the asm.js/wasm heap! (Valid unicode code points should be in range 0-0x1FFFFF)."); - outU8Array[outIdx++] = 240 | u >> 18; - outU8Array[outIdx++] = 128 | u >> 12 & 63; - outU8Array[outIdx++] = 128 | u >> 6 & 63; - outU8Array[outIdx++] = 128 | u & 63; + scriptDirectory = ''; } - } - outU8Array[outIdx] = 0; - return outIdx - startIdx; -} - -function stringToUTF8(str, outPtr, maxBytesToWrite) { - assert(typeof maxBytesToWrite == "number", "stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"); - return stringToUTF8Array(str, HEAPU8, outPtr, maxBytesToWrite); -} - -function lengthBytesUTF8(str) { - var len = 0; - for (var i = 0; i < str.length; ++i) { - var u = str.charCodeAt(i); - if (u >= 55296 && u <= 57343) u = 65536 + ((u & 1023) << 10) | str.charCodeAt(++i) & 1023; - if (u <= 127) ++len; else if (u <= 2047) len += 2; else if (u <= 65535) len += 3; else len += 4; - } - return len; -} -var UTF16Decoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf-16le") : undefined; - -function allocateUTF8(str) { - var size = lengthBytesUTF8(str) + 1; - var ret = _malloc(size); - if (ret) stringToUTF8Array(str, HEAP8, ret, size); - return ret; -} + if (!(typeof window == 'object' || typeof importScripts == 'function')) throw new Error('not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)'); -function writeArrayToMemory(array, buffer) { - assert(array.length >= 0, "writeArrayToMemory array must have a length (should be an array or typed array)"); - HEAP8.set(array, buffer); -} + // Differentiate the Web Worker from the Node Worker case, as reading must + // be done differently. + { +// include: web_or_worker_shell_read.js -function writeAsciiToMemory(str, buffer, dontAddNull) { - for (var i = 0; i < str.length; ++i) { - assert(str.charCodeAt(i) === str.charCodeAt(i) & 255); - HEAP8[buffer++ >> 0] = str.charCodeAt(i); - } - if (!dontAddNull) HEAP8[buffer >> 0] = 0; -} -function demangle(func) { - var __cxa_demangle_func = Module["___cxa_demangle"] || Module["__cxa_demangle"]; - assert(__cxa_demangle_func); - try { - var s = func; - if (s.startsWith("__Z")) s = s.substr(1); - var len = lengthBytesUTF8(s) + 1; - var buf = _malloc(len); - stringToUTF8(s, buf, len); - var status = _malloc(4); - var ret = __cxa_demangle_func(buf, 0, 0, status); - if (HEAP32[status >> 2] === 0 && ret) { - return UTF8ToString(ret); + read_ = (url) => { + try { + var xhr = new XMLHttpRequest(); + xhr.open('GET', url, false); + xhr.send(null); + return xhr.responseText; + } catch (err) { + var data = tryParseAsDataURI(url); + if (data) { + return intArrayToString(data); + } + throw err; + } } - } catch (e) {} finally { - if (buf) _free(buf); - if (status) _free(status); - if (ret) _free(ret); - } - return func; -} - -function demangleAll(text) { - var regex = /__Z[\w\d_]+/g; - return text.replace(regex, function(x) { - var y = demangle(x); - return x === y ? x : y + " [" + x + "]"; - }); -} -function jsStackTrace() { - var err = new Error(); - if (!err.stack) { - try { - throw new Error(0); - } catch (e) { - err = e; - } - if (!err.stack) { - return "(no stack trace available)"; + if (ENVIRONMENT_IS_WORKER) { + readBinary = (url) => { + try { + var xhr = new XMLHttpRequest(); + xhr.open('GET', url, false); + xhr.responseType = 'arraybuffer'; + xhr.send(null); + return new Uint8Array(/** @type{!ArrayBuffer} */(xhr.response)); + } catch (err) { + var data = tryParseAsDataURI(url); + if (data) { + return data; + } + throw err; + } + }; } - } - return err.stack.toString(); -} - -function stackTrace() { - var js = jsStackTrace(); - if (Module["extraStackTrace"]) js += "\n" + Module["extraStackTrace"](); - return demangleAll(js); -} -function alignUp(x, multiple) { - if (x % multiple > 0) { - x += multiple - x % multiple; - } - return x; -} + readAsync = (url, onload, onerror) => { + var xhr = new XMLHttpRequest(); + xhr.open('GET', url, true); + xhr.responseType = 'arraybuffer'; + xhr.onload = () => { + if (xhr.status == 200 || (xhr.status == 0 && xhr.response)) { // file URLs can return 0 + onload(xhr.response); + return; + } + var data = tryParseAsDataURI(url); + if (data) { + onload(data.buffer); + return; + } + onerror(); + }; + xhr.onerror = onerror; + xhr.send(null); + } -var buffer, HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64; +// end include: web_or_worker_shell_read.js + } -function updateGlobalBufferViews() { - Module["HEAP8"] = HEAP8 = new Int8Array(buffer); - Module["HEAP16"] = HEAP16 = new Int16Array(buffer); - Module["HEAP32"] = HEAP32 = new Int32Array(buffer); - Module["HEAPU8"] = HEAPU8 = new Uint8Array(buffer); - Module["HEAPU16"] = HEAPU16 = new Uint16Array(buffer); - Module["HEAPU32"] = HEAPU32 = new Uint32Array(buffer); - Module["HEAPF32"] = HEAPF32 = new Float32Array(buffer); - Module["HEAPF64"] = HEAPF64 = new Float64Array(buffer); + setWindowTitle = (title) => document.title = title; +} else +{ + throw new Error('environment detection error'); } -var STACK_BASE = 58592, STACK_MAX = 5301472, DYNAMIC_BASE = 5301472, DYNAMICTOP_PTR = 58560; - -assert(STACK_BASE % 16 === 0, "stack must start aligned"); - -assert(DYNAMIC_BASE % 16 === 0, "heap must start aligned"); +var out = Module['print'] || console.log.bind(console); +var err = Module['printErr'] || console.warn.bind(console); -var TOTAL_STACK = 5242880; - -if (Module["TOTAL_STACK"]) assert(TOTAL_STACK === Module["TOTAL_STACK"], "the stack size can no longer be determined at runtime"); - -var INITIAL_TOTAL_MEMORY = Module["TOTAL_MEMORY"] || 268435456; - -if (INITIAL_TOTAL_MEMORY < TOTAL_STACK) err("TOTAL_MEMORY should be larger than TOTAL_STACK, was " + INITIAL_TOTAL_MEMORY + "! (TOTAL_STACK=" + TOTAL_STACK + ")"); +// Merge back in the overrides +Object.assign(Module, moduleOverrides); +// Free the object hierarchy contained in the overrides, this lets the GC +// reclaim data used e.g. in memoryInitializerRequest, which is a large typed array. +moduleOverrides = null; +checkIncomingModuleAPI(); -assert(typeof Int32Array !== "undefined" && typeof Float64Array !== "undefined" && Int32Array.prototype.subarray !== undefined && Int32Array.prototype.set !== undefined, "JS engine does not provide full typed array support"); +// Emit code to handle expected values on the Module object. This applies Module.x +// to the proper local x. This has two benefits: first, we only emit it if it is +// expected to arrive, and second, by using a local everywhere else that can be +// minified. -if (Module["buffer"]) { - buffer = Module["buffer"]; - assert(buffer.byteLength === INITIAL_TOTAL_MEMORY, "provided buffer should be " + INITIAL_TOTAL_MEMORY + " bytes, but it is " + buffer.byteLength); -} else { - { - buffer = new ArrayBuffer(INITIAL_TOTAL_MEMORY); - } - assert(buffer.byteLength === INITIAL_TOTAL_MEMORY); -} +if (Module['arguments']) arguments_ = Module['arguments'];legacyModuleProp('arguments', 'arguments_'); -updateGlobalBufferViews(); +if (Module['thisProgram']) thisProgram = Module['thisProgram'];legacyModuleProp('thisProgram', 'thisProgram'); -HEAP32[DYNAMICTOP_PTR >> 2] = DYNAMIC_BASE; +if (Module['quit']) quit_ = Module['quit'];legacyModuleProp('quit', 'quit_'); -function writeStackCookie() { - assert((STACK_MAX & 3) == 0); - HEAPU32[(STACK_MAX >> 2) - 1] = 34821223; - HEAPU32[(STACK_MAX >> 2) - 2] = 2310721022; -} +// perform assertions in shell.js after we set up out() and err(), as otherwise if an assertion fails it cannot print the message +// Assertions on removed incoming Module JS APIs. +assert(typeof Module['memoryInitializerPrefixURL'] == 'undefined', 'Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead'); +assert(typeof Module['pthreadMainPrefixURL'] == 'undefined', 'Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead'); +assert(typeof Module['cdInitializerPrefixURL'] == 'undefined', 'Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead'); +assert(typeof Module['filePackagePrefixURL'] == 'undefined', 'Module.filePackagePrefixURL option was removed, use Module.locateFile instead'); +assert(typeof Module['read'] == 'undefined', 'Module.read option was removed (modify read_ in JS)'); +assert(typeof Module['readAsync'] == 'undefined', 'Module.readAsync option was removed (modify readAsync in JS)'); +assert(typeof Module['readBinary'] == 'undefined', 'Module.readBinary option was removed (modify readBinary in JS)'); +assert(typeof Module['setWindowTitle'] == 'undefined', 'Module.setWindowTitle option was removed (modify setWindowTitle in JS)'); +assert(typeof Module['TOTAL_MEMORY'] == 'undefined', 'Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY'); +legacyModuleProp('read', 'read_'); +legacyModuleProp('readAsync', 'readAsync'); +legacyModuleProp('readBinary', 'readBinary'); +legacyModuleProp('setWindowTitle', 'setWindowTitle'); +var IDBFS = 'IDBFS is no longer included by default; build with -lidbfs.js'; +var PROXYFS = 'PROXYFS is no longer included by default; build with -lproxyfs.js'; +var WORKERFS = 'WORKERFS is no longer included by default; build with -lworkerfs.js'; +var NODEFS = 'NODEFS is no longer included by default; build with -lnodefs.js'; -function checkStackCookie() { - if (HEAPU32[(STACK_MAX >> 2) - 1] != 34821223 || HEAPU32[(STACK_MAX >> 2) - 2] != 2310721022) { - abort("Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x02135467, but received 0x" + HEAPU32[(STACK_MAX >> 2) - 2].toString(16) + " " + HEAPU32[(STACK_MAX >> 2) - 1].toString(16)); - } - if (HEAP32[0] !== 1668509029) throw "Runtime error: The application has corrupted its heap memory area (address zero)!"; -} +assert(!ENVIRONMENT_IS_SHELL, "shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."); -function abortStackOverflow(allocSize) { - abort("Stack overflow! Attempted to allocate " + allocSize + " bytes on the stack, but stack has only " + (STACK_MAX - stackSave() + allocSize) + " bytes available!"); -} -HEAP32[0] = 1668509029; -HEAP16[1] = 25459; -if (HEAPU8[2] !== 115 || HEAPU8[3] !== 99) throw "Runtime error: expected the system to be little-endian!"; +var STACK_ALIGN = 16; +var POINTER_SIZE = 4; -function callRuntimeCallbacks(callbacks) { - while (callbacks.length > 0) { - var callback = callbacks.shift(); - if (typeof callback == "function") { - callback(); - continue; - } - var func = callback.func; - if (typeof func === "number") { - if (callback.arg === undefined) { - Module["dynCall_v"](func); - } else { - Module["dynCall_vi"](func, callback.arg); - } - } else { - func(callback.arg === undefined ? null : callback.arg); +function getNativeTypeSize(type) { + switch (type) { + case 'i1': case 'i8': case 'u8': return 1; + case 'i16': case 'u16': return 2; + case 'i32': case 'u32': return 4; + case 'i64': case 'u64': return 8; + case 'float': return 4; + case 'double': return 8; + default: { + if (type[type.length - 1] === '*') { + return POINTER_SIZE; + } + if (type[0] === 'i') { + const bits = Number(type.substr(1)); + assert(bits % 8 === 0, 'getNativeTypeSize invalid bits ' + bits + ', type ' + type); + return bits / 8; + } + return 0; + } } - } } -var __ATPRERUN__ = []; - -var __ATINIT__ = []; +// include: runtime_debug.js -var __ATMAIN__ = []; -var __ATPOSTRUN__ = []; - -var runtimeInitialized = false; - -var runtimeExited = false; - -function preRun() { - if (Module["preRun"]) { - if (typeof Module["preRun"] == "function") Module["preRun"] = [ Module["preRun"] ]; - while (Module["preRun"].length) { - addOnPreRun(Module["preRun"].shift()); +function legacyModuleProp(prop, newName) { + if (!Object.getOwnPropertyDescriptor(Module, prop)) { + Object.defineProperty(Module, prop, { + configurable: true, + get: function() { + abort('Module.' + prop + ' has been replaced with plain ' + newName + ' (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)'); + } + }); } - } - callRuntimeCallbacks(__ATPRERUN__); } -function ensureInitRuntime() { - checkStackCookie(); - if (runtimeInitialized) return; - runtimeInitialized = true; - if (!Module["noFSInit"] && !FS.init.initialized) FS.init(); - TTY.init(); - callRuntimeCallbacks(__ATINIT__); +function ignoredModuleProp(prop) { + if (Object.getOwnPropertyDescriptor(Module, prop)) { + abort('`Module.' + prop + '` was supplied but `' + prop + '` not included in INCOMING_MODULE_JS_API'); + } } -function preMain() { - checkStackCookie(); - FS.ignorePermissions = false; - callRuntimeCallbacks(__ATMAIN__); +// forcing the filesystem exports a few things by default +function isExportedByForceFilesystem(name) { + return name === 'FS_createPath' || + name === 'FS_createDataFile' || + name === 'FS_createPreloadedFile' || + name === 'FS_unlink' || + name === 'addRunDependency' || + // The old FS has some functionality that WasmFS lacks. + name === 'FS_createLazyFile' || + name === 'FS_createDevice' || + name === 'removeRunDependency'; } -function exitRuntime() { - checkStackCookie(); - runtimeExited = true; +function missingLibrarySymbol(sym) { + if (typeof globalThis !== 'undefined' && !Object.getOwnPropertyDescriptor(globalThis, sym)) { + Object.defineProperty(globalThis, sym, { + configurable: true, + get: function() { + // Can't `abort()` here because it would break code that does runtime + // checks. e.g. `if (typeof SDL === 'undefined')`. + var msg = '`' + sym + '` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line'; + if (isExportedByForceFilesystem(sym)) { + msg += '. Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you'; + } + warnOnce(msg); + return undefined; + } + }); + } } -function postRun() { - checkStackCookie(); - if (Module["postRun"]) { - if (typeof Module["postRun"] == "function") Module["postRun"] = [ Module["postRun"] ]; - while (Module["postRun"].length) { - addOnPostRun(Module["postRun"].shift()); +function unexportedRuntimeSymbol(sym) { + if (!Object.getOwnPropertyDescriptor(Module, sym)) { + Object.defineProperty(Module, sym, { + configurable: true, + get: function() { + var msg = "'" + sym + "' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)"; + if (isExportedByForceFilesystem(sym)) { + msg += '. Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you'; + } + abort(msg); + } + }); } - } - callRuntimeCallbacks(__ATPOSTRUN__); } -function addOnPreRun(cb) { - __ATPRERUN__.unshift(cb); -} +// end include: runtime_debug.js -function addOnPostRun(cb) { - __ATPOSTRUN__.unshift(cb); -} -assert(Math.imul, "This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"); +// === Preamble library stuff === -assert(Math.fround, "This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"); +// Documentation for the public APIs defined in this file must be updated in: +// site/source/docs/api_reference/preamble.js.rst +// A prebuilt local version of the documentation is available at: +// site/build/text/docs/api_reference/preamble.js.txt +// You can also build docs locally as HTML or other formats in site/ +// An online HTML version (which may be of a different version of Emscripten) +// is up at http://kripken.github.io/emscripten-site/docs/api_reference/preamble.js.html -assert(Math.clz32, "This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"); +var wasmBinary; +if (Module['wasmBinary']) wasmBinary = Module['wasmBinary'];legacyModuleProp('wasmBinary', 'wasmBinary'); +var noExitRuntime = Module['noExitRuntime'] || true;legacyModuleProp('noExitRuntime', 'noExitRuntime'); -assert(Math.trunc, "This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"); +// include: wasm2js.js -var Math_abs = Math.abs; -var Math_ceil = Math.ceil; +// wasm2js.js - enough of a polyfill for the WebAssembly object so that we can load +// wasm2js code that way. -var Math_floor = Math.floor; +// Emit "var WebAssembly" if definitely using wasm2js. Otherwise, in MAYBE_WASM2JS +// mode, we can't use a "var" since it would prevent normal wasm from working. +/** @suppress{duplicate, const} */ +var +WebAssembly = { + // Note that we do not use closure quoting (this['buffer'], etc.) on these + // functions, as they are just meant for internal use. In other words, this is + // not a fully general polyfill. + /** @constructor */ + Memory: function(opts) { + this.buffer = new ArrayBuffer(opts['initial'] * 65536); + }, -var Math_min = Math.min; + Module: function(binary) { + // TODO: use the binary and info somehow - right now the wasm2js output is embedded in + // the main JS + }, -var runDependencies = 0; - -var runDependencyWatcher = null; - -var dependenciesFulfilled = null; - -var runDependencyTracking = {}; - -function getUniqueRunDependency(id) { - var orig = id; - while (1) { - if (!runDependencyTracking[id]) return id; - id = orig + Math.random(); - } - return id; -} - -function addRunDependency(id) { - runDependencies++; - if (Module["monitorRunDependencies"]) { - Module["monitorRunDependencies"](runDependencies); - } - if (id) { - assert(!runDependencyTracking[id]); - runDependencyTracking[id] = 1; - if (runDependencyWatcher === null && typeof setInterval !== "undefined") { - runDependencyWatcher = setInterval(function() { - if (ABORT) { - clearInterval(runDependencyWatcher); - runDependencyWatcher = null; - return; - } - var shown = false; - for (var dep in runDependencyTracking) { - if (!shown) { - shown = true; - err("still waiting on run dependencies:"); - } - err("dependency: " + dep); - } - if (shown) { - err("(end of list)"); - } - }, 1e4); - } - } else { - err("warning: run dependency added without ID"); - } -} - -function removeRunDependency(id) { - runDependencies--; - if (Module["monitorRunDependencies"]) { - Module["monitorRunDependencies"](runDependencies); - } - if (id) { - assert(runDependencyTracking[id]); - delete runDependencyTracking[id]; - } else { - err("warning: run dependency removed without ID"); - } - if (runDependencies == 0) { - if (runDependencyWatcher !== null) { - clearInterval(runDependencyWatcher); - runDependencyWatcher = null; - } - if (dependenciesFulfilled) { - var callback = dependenciesFulfilled; - dependenciesFulfilled = null; - callback(); - } - } -} - -Module["preloadedImages"] = {}; - -Module["preloadedAudios"] = {}; - -var memoryInitializer = null; - -var dataURIPrefix = "data:application/octet-stream;base64,"; - -function isDataURI(filename) { - return String.prototype.startsWith ? filename.startsWith(dataURIPrefix) : filename.indexOf(dataURIPrefix) === 0; -} - -var ASM_CONSTS = [ function($0, $1, $2, $3, $4, $5) { - if (!artoolkit["frameMalloc"]) { - artoolkit["frameMalloc"] = {}; - } - var frameMalloc = artoolkit["frameMalloc"]; - frameMalloc["framepointer"] = $1; - frameMalloc["framesize"] = $2; - frameMalloc["camera"] = $3; - frameMalloc["transform"] = $4; - frameMalloc["videoLumaPointer"] = $5; -}, function($0, $1, $2, $3) { - if (!artoolkit["multiEachMarkerInfo"]) { - artoolkit["multiEachMarkerInfo"] = {}; - } - var multiEachMarker = artoolkit["multiEachMarkerInfo"]; - multiEachMarker["visible"] = $0; - multiEachMarker["pattId"] = $1; - multiEachMarker["pattType"] = $2; - multiEachMarker["width"] = $3; -}, function($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, $26, $27, $28, $29, $30, $31, $32) { - var $a = arguments; - var i = 12; - if (!artoolkit["markerInfo"]) { - artoolkit["markerInfo"] = { - pos: [ 0, 0 ], - line: [ [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ], [ 0, 0, 0 ] ], - vertex: [ [ 0, 0 ], [ 0, 0 ], [ 0, 0 ], [ 0, 0 ] ] - }; - } - var markerInfo = artoolkit["markerInfo"]; - markerInfo["area"] = $0; - markerInfo["id"] = $1; - markerInfo["idPatt"] = $2; - markerInfo["idMatrix"] = $3; - markerInfo["dir"] = $4; - markerInfo["dirPatt"] = $5; - markerInfo["dirMatrix"] = $6; - markerInfo["cf"] = $7; - markerInfo["cfPatt"] = $8; - markerInfo["cfMatrix"] = $9; - markerInfo["pos"][0] = $10; - markerInfo["pos"][1] = $11; - markerInfo["line"][0][0] = $a[i++]; - markerInfo["line"][0][1] = $a[i++]; - markerInfo["line"][0][2] = $a[i++]; - markerInfo["line"][1][0] = $a[i++]; - markerInfo["line"][1][1] = $a[i++]; - markerInfo["line"][1][2] = $a[i++]; - markerInfo["line"][2][0] = $a[i++]; - markerInfo["line"][2][1] = $a[i++]; - markerInfo["line"][2][2] = $a[i++]; - markerInfo["line"][3][0] = $a[i++]; - markerInfo["line"][3][1] = $a[i++]; - markerInfo["line"][3][2] = $a[i++]; - markerInfo["vertex"][0][0] = $a[i++]; - markerInfo["vertex"][0][1] = $a[i++]; - markerInfo["vertex"][1][0] = $a[i++]; - markerInfo["vertex"][1][1] = $a[i++]; - markerInfo["vertex"][2][0] = $a[i++]; - markerInfo["vertex"][2][1] = $a[i++]; - markerInfo["vertex"][3][0] = $a[i++]; - markerInfo["vertex"][3][1] = $a[i++]; - markerInfo["errorCorrected"] = $a[i++]; -}, function($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) { - var $a = arguments; - var i = 0; - if (!artoolkit["NFTMarkerInfo"]) { - artoolkit["NFTMarkerInfo"] = { - id: 0, - error: -1, - found: 0, - pose: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + /** @constructor */ + Instance: function(module, info) { + // TODO: use the module and info somehow - right now the wasm2js output is embedded in + // the main JS + // This will be replaced by the actual wasm2js code. + this.exports = ( +// EMSCRIPTEN_START_ASM +function instantiate(asmLibraryArg) { +function Table(ret) { + // grow method not included; table is not growable + ret.set = function(i, func) { + this[i] = func; }; - } - var markerInfo = artoolkit["NFTMarkerInfo"]; - markerInfo["id"] = $a[i++]; - markerInfo["error"] = $a[i++]; - markerInfo["found"] = 1; - markerInfo["pose"][0] = $a[i++]; - markerInfo["pose"][1] = $a[i++]; - markerInfo["pose"][2] = $a[i++]; - markerInfo["pose"][3] = $a[i++]; - markerInfo["pose"][4] = $a[i++]; - markerInfo["pose"][5] = $a[i++]; - markerInfo["pose"][6] = $a[i++]; - markerInfo["pose"][7] = $a[i++]; - markerInfo["pose"][8] = $a[i++]; - markerInfo["pose"][9] = $a[i++]; - markerInfo["pose"][10] = $a[i++]; - markerInfo["pose"][11] = $a[i++]; -}, function($0) { - var $a = arguments; - var i = 0; - if (!artoolkit["NFTMarkerInfo"]) { - artoolkit["NFTMarkerInfo"] = { - id: 0, - error: -1, - found: 0, - pose: [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] + ret.get = function(i) { + return this[i]; }; - } - var markerInfo = artoolkit["NFTMarkerInfo"]; - markerInfo["id"] = $a[i++]; - markerInfo["error"] = -1; - markerInfo["found"] = 0; - markerInfo["pose"][0] = 0; - markerInfo["pose"][1] = 0; - markerInfo["pose"][2] = 0; - markerInfo["pose"][3] = 0; - markerInfo["pose"][4] = 0; - markerInfo["pose"][5] = 0; - markerInfo["pose"][6] = 0; - markerInfo["pose"][7] = 0; - markerInfo["pose"][8] = 0; - markerInfo["pose"][9] = 0; - markerInfo["pose"][10] = 0; - markerInfo["pose"][11] = 0; -} ]; - -function _emscripten_asm_const_iiiiiii(code, a0, a1, a2, a3, a4, a5) { - return ASM_CONSTS[code](a0, a1, a2, a3, a4, a5); -} - -function _emscripten_asm_const_iiiid(code, a0, a1, a2, a3) { - return ASM_CONSTS[code](a0, a1, a2, a3); -} - -function _emscripten_asm_const_iiddddddddddddd(code, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) { - return ASM_CONSTS[code](a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13); -} - -function _emscripten_asm_const_ii(code, a0) { - return ASM_CONSTS[code](a0); -} - -function _emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi(code, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32) { - return ASM_CONSTS[code](a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20, a21, a22, a23, a24, a25, a26, a27, a28, a29, a30, a31, a32); -} - -__ATINIT__.push({ - func: function() { - __GLOBAL__I_000101(); - } -}, { - func: function() { - __GLOBAL__sub_I_ARToolKitJS_cpp(); - } -}, { - func: function() { - __GLOBAL__sub_I_bind_cpp(); - } -}, { - func: function() { - ___emscripten_environ_constructor(); - } -}, { - func: function() { - __GLOBAL__sub_I_iostream_cpp(); - } -}); - -memoryInitializer = "data:application/octet-stream;base64,AAAAAAAAAAD+RAAABUUAABFFAAAbRQAAKUUAAAAAAAAAAAAAAAAAAP//////////AAAAAAEAAAABAAAAAQAAAAAAAAD/////AAAAAAEAAAABAAAAAQAAAAAAAAD///////////////8AAAABAAEBAQACBP//BQMBAAL/Bgf/AwECAgMCAwIDAwD/BAYHBf8BBAUEBAUFBAUHBgYGBwcHBv8CBAYHBQP/AAEBAQEBAQABAQEAAAEBAQEBAAEBAAEBAQABAQEBAAEBAAEBAQEAAQEBAAEBAAEBAQEBAAABAQEAAQEBAQEBAAD//wP/BQb//wkK/wz//w//ERL/FP//Fxj//xv/HR7//wEC/wT//wcI//8L/w0O/xD//xP/FRb//xka/xz//x8BAAAAAgAAAAQAAAAIAAAAEAAAAAUAAAAKAAAAFAAAAA0AAAAaAAAAEQAAAAcAAAAOAAAAHAAAAB0AAAAfAAAAGwAAABMAAAADAAAABgAAAAwAAAAYAAAAFQAAAA8AAAAeAAAAGQAAABcAAAALAAAAFgAAAAkAAAASAAAAAAAAAAEAAAACAAAABAAAAAgAAAADAAAABgAAAAwAAAALAAAABQAAAAoAAAAHAAAADgAAAA8AAAANAAAACQAAAAAAAAD/////AAAAAAEAAAASAAAAAgAAAAUAAAATAAAACwAAAAMAAAAdAAAABgAAABsAAAAUAAAACAAAAAwAAAAXAAAABAAAAAoAAAAeAAAAEQAAAAcAAAAWAAAAHAAAABoAAAAVAAAAGQAAAAkAAAAQAAAADQAAAA4AAAAYAAAADwAAAP////8AAAAAAQAAAAQAAAACAAAACAAAAAUAAAAKAAAAAwAAAA4AAAAJAAAABwAAAAYAAAANAAAACwAAAAwAAAABAAAAAgAAAAQAAAAIAAAAEAAAACAAAABAAAAAAwAAAAYAAAAMAAAAGAAAADAAAABgAAAAQwAAAAUAAAAKAAAAFAAAACgAAABQAAAAIwAAAEYAAAAPAAAAHgAAADwAAAB4AAAAcwAAAGUAAABJAAAAEQAAACIAAABEAAAACwAAABYAAAAsAAAAWAAAADMAAABmAAAATwAAAB0AAAA6AAAAdAAAAGsAAABVAAAAKQAAAFIAAAAnAAAATgAAAB8AAAA+AAAAfAAAAHsAAAB1AAAAaQAAAFEAAAAhAAAAQgAAAAcAAAAOAAAAHAAAADgAAABwAAAAYwAAAEUAAAAJAAAAEgAAACQAAABIAAAAEwAAACYAAABMAAAAGwAAADYAAABsAAAAWwAAADUAAABqAAAAVwAAAC0AAABaAAAANwAAAG4AAABfAAAAPQAAAHoAAAB3AAAAbQAAAFkAAAAxAAAAYgAAAEcAAAANAAAAGgAAADQAAABoAAAAUwAAACUAAABKAAAAFwAAAC4AAABcAAAAOwAAAHYAAABvAAAAXQAAADkAAAByAAAAZwAAAE0AAAAZAAAAMgAAAGQAAABLAAAAFQAAACoAAABUAAAAKwAAAFYAAAAvAAAAXgAAAD8AAAB+AAAAfwAAAH0AAAB5AAAAcQAAAGEAAABBAAAAAAAAAP////8AAAAAAQAAAAcAAAACAAAADgAAAAgAAAA4AAAAAwAAAD8AAAAPAAAAHwAAAAkAAABaAAAAOQAAABUAAAAEAAAAHAAAAEAAAABDAAAAEAAAAHAAAAAgAAAAYQAAAAoAAABsAAAAWwAAAEYAAAA6AAAAJgAAABYAAAAvAAAABQAAADYAAAAdAAAAEwAAAEEAAABfAAAARAAAAC0AAAARAAAAKwAAAHEAAABzAAAAIQAAAE0AAABiAAAAdQAAAAsAAABXAAAAbQAAACMAAABcAAAASgAAAEcAAABPAAAAOwAAAGgAAAAnAAAAZAAAABcAAABSAAAAMAAAAHcAAAAGAAAAfgAAADcAAAANAAAAHgAAAD4AAAAUAAAAWQAAAEIAAAAbAAAAYAAAAG8AAABFAAAAawAAAC4AAAAlAAAAEgAAADUAAAAsAAAAXgAAAHIAAAAqAAAAdAAAAEwAAAAiAAAAVgAAAE4AAABJAAAAYwAAAGcAAAB2AAAAUQAAAAwAAAB9AAAAWAAAAD0AAABuAAAAGgAAACQAAABqAAAAXQAAADQAAABLAAAAKQAAAEgAAABVAAAAUAAAAGYAAAA8AAAAfAAAAGkAAAAZAAAAKAAAADMAAABlAAAAVAAAABgAAAB7AAAAUwAAADIAAAAxAAAAegAAAHgAAAB5AAAABAAAAIgAAAAFAAAAkAAAAAYAAACYAAAACQAAALAAAAC6SwAAwEsAAMVLAADNSwAAAAAAALK+uT4S3KC+kL45PhLcoL6Qvjm+AAAAgLK+ub4S3KA+kL45vhLcoD6Qvjk+0nIYvwAAAADScpi+OgYEv9JymD46BgS/0nIYPwAAAIDScpg+OgYEP9JymL46BgQ/AAAAgFa4Pb9mTSQ/Vri9vmZNJD9WuL0+AAAAAFa4PT9mTSS/Vri9PmZNJL9WuL2+DOlYPwAAAIAM6dg+mdk7Pwzp2L6Z2Ts/DOlYvwAAAAAM6di+mdk7vwzp2D6Z2Tu/AAAAAPxTbj/xZU6/DVTuPvFlTr8NVO6+AAAAgPxTbr/xZU4/DVTuvvFlTj8NVO4+AACAvwAAAAAAAAC/0LNdvwAAAD/Qs12/AACAPwAAAIAAAAA/0LNdPwAAAL/Qs10/pYMAALuDAAD0gwAAFIQAADmEAABThAAAcoQAAI+EAAC3hAAA1oQAAO2EAAADhQAAF4UAAFSFAACEhQAAoIUAAMOFAAD6hQAAMYYAAEiGAABohgAAkoYAAN+GAAD6hgAAJYcAAEGHAABmhwAAjIcAALGHAADEhwAA2YcAAOyHAAD/hwAAJIgAADmIAABNiAAAbogAAISIAACziAAA24gAAPyIAAAdiQAATIkAAF2JAAB5iQAAt4kAAN6JAAAFigAAGYoAAEeKAABjigAAiIoAAKqKAADUigAA/4oAAB2LAABLiwAAc4sAAJqLAADHiwAA94sAACGMAABOjAAAeowAAJ2MAAC7jAAA2YwAAA+NAAA5jQAAWI0AAHuNAACijQAAt40AAMuNAADujQAA/o0AADyOAAB+jgAAqI4AANSOAAD7jgAAF48AAEKPAABdjwAAcY8AAIiPAACVjwAAvY8AAPKPAAAukAAAXJAAAH2QAACkkAAAvZAAAOWQAAAIkQAAIJEAAESRAABpkQAAb5EAAKiRAADikQAAAZIAABCSAAAtkgAAS5IAAGiSAACBkgAAmpIAANySAAAWkwAATJMAAICTAACUkwAAq5MAANGTAAATlAAAT5QAAICUAACklAAA0pQAAO2UAAAllQAAUJUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAIAAAABkAAAASAAAACwAAAAQAAAAFAAAADAAAABMAAAAaAAAAIQAAACgAAAAwAAAAKQAAACIAAAAbAAAAFAAAAA0AAAAGAAAABwAAAA4AAAAVAAAAHAAAACMAAAAqAAAAMQAAADgAAAA5AAAAMgAAACsAAAAkAAAAHQAAABYAAAAPAAAAFwAAAB4AAAAlAAAALAAAADMAAAA6AAAAOwAAADQAAAAtAAAAJgAAAB8AAAAnAAAALgAAADUAAAA8AAAAPQAAADYAAAAvAAAANwAAAD4AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAABAAAAAgAAAAQAAAAIAAAAEAAAACAAAABAAAAAgAAAAAABAAAAAgAAAAQAAAAIAAAAEAAAACAAAABAAAAAAAAA//////3////5////8f///+H////B////gf///wH///8B/v//Afz//wH4//8B8P//AeD//wHA//8BgP//AEDFWJ9TQksAQEkyoyKoEcVYIXv8c2JoxVi/RQswfhifU/xzQW1UYp9Ts0FBLRIXQktiaFRiflhCSyE7uijDFABAxVifU0JLAEBJMqMiqBFJMr9Fs0EhO0kygic3G+ANoyILMEEtuiijIjcbvxKOCagRfhgSF8MUqBHgDY4J3wQAAAAAAADwP+9hSLFQMfY/ym9Nka7n9D+qEWzvYtDyPwAAAAAAAPA/O7+nwGkk6T+7IMd7elHhP12rct5VqNE/AMAw8AzMPPwDwzPzD88//4BAsHCMTLx8g0Ozc49Pv38g4BDQLOwc3CPjE9Mv7x/foGCQUKxsnFyjY5NTr2+fXwjIOPgExDT0C8s7+wfHN/eISLh4hES0dItLu3uHR7d3KOgY2CTkFNQr6xvbJ+cX16homFikZJRUq2ubW6dnl1cCwjLyDs4+/gHBMfENzT39gkKyco5Ovn6BQbFxjU29fSLiEtIu7h7eIeER0S3tHd2iYpJSrm6eXqFhkVGtbZ1dCso6+gbGNvYJyTn5BcU19YpKunqGRrZ2iUm5eYVFtXUq6hraJuYW1inpGdkl5RXVqmqaWqZmllapaZlZpWWVVWA0AABgNAAAYDQAAGA0AAACAADAAwAAwAQAAMAFAADABgAAwAcAAMAIAADACQAAwAoAAMALAADADAAAwA0AAMAOAADADwAAwBAAAMARAADAEgAAwBMAAMAUAADAFQAAwBYAAMAXAADAGAAAwBkAAMAaAADAGwAAwBwAAMAdAADAHgAAwB8AAMAAAACzAQAAwwIAAMMDAADDBAAAwwUAAMMGAADDBwAAwwgAAMMJAADDCgAAwwsAAMMMAADDDQAA0w4AAMMPAADDAAAMuwEADMMCAAzDAwAMwwQADNMAAAAA3hIElQAAAAD///////////////8AAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////AAECAwQFBgcICf////////8KCwwNDg8QERITFBUWFxgZGhscHR4fICEiI////////woLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIj/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wAAAAAAAAAAAAAAAAAAABEACgAREREAAAAABQAAAAAAAAkAAAAACwAAAAAAAAAAEQAPChEREQMKBwABEwkLCwAACQYLAAALAAYRAAAAERERAAAAAAAAAAAAAAAAAAAAAAsAAAAAAAAAABEACgoREREACgAAAgAJCwAAAAkACwAACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAwAAAAACQwAAAAAAAwAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAADQAAAAQNAAAAAAkOAAAAAAAOAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA8AAAAADwAAAAAJEAAAAAAAEAAAEAAAEgAAABISEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAAAAEhISAAAAAAAACQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAAAAAAAAAACgAAAAAKAAAAAAkLAAAAAAALAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAADAAAAAAJDAAAAAAADAAADAAAMDEyMzQ1Njc4OUFCQ0RFRgoAAABkAAAA6AMAABAnAACghgEAQEIPAICWmAAA4fUFVCEiGQ0BAgMRSxwMEAQLHRIeJ2hub3BxYiAFBg8TFBUaCBYHKCQXGAkKDhsfJSODgn0mKis8PT4/Q0dKTVhZWltcXV5fYGFjZGVmZ2lqa2xyc3R5ent8AAAAAAAAAAAASWxsZWdhbCBieXRlIHNlcXVlbmNlAERvbWFpbiBlcnJvcgBSZXN1bHQgbm90IHJlcHJlc2VudGFibGUATm90IGEgdHR5AFBlcm1pc3Npb24gZGVuaWVkAE9wZXJhdGlvbiBub3QgcGVybWl0dGVkAE5vIHN1Y2ggZmlsZSBvciBkaXJlY3RvcnkATm8gc3VjaCBwcm9jZXNzAEZpbGUgZXhpc3RzAFZhbHVlIHRvbyBsYXJnZSBmb3IgZGF0YSB0eXBlAE5vIHNwYWNlIGxlZnQgb24gZGV2aWNlAE91dCBvZiBtZW1vcnkAUmVzb3VyY2UgYnVzeQBJbnRlcnJ1cHRlZCBzeXN0ZW0gY2FsbABSZXNvdXJjZSB0ZW1wb3JhcmlseSB1bmF2YWlsYWJsZQBJbnZhbGlkIHNlZWsAQ3Jvc3MtZGV2aWNlIGxpbmsAUmVhZC1vbmx5IGZpbGUgc3lzdGVtAERpcmVjdG9yeSBub3QgZW1wdHkAQ29ubmVjdGlvbiByZXNldCBieSBwZWVyAE9wZXJhdGlvbiB0aW1lZCBvdXQAQ29ubmVjdGlvbiByZWZ1c2VkAEhvc3QgaXMgZG93bgBIb3N0IGlzIHVucmVhY2hhYmxlAEFkZHJlc3MgaW4gdXNlAEJyb2tlbiBwaXBlAEkvTyBlcnJvcgBObyBzdWNoIGRldmljZSBvciBhZGRyZXNzAEJsb2NrIGRldmljZSByZXF1aXJlZABObyBzdWNoIGRldmljZQBOb3QgYSBkaXJlY3RvcnkASXMgYSBkaXJlY3RvcnkAVGV4dCBmaWxlIGJ1c3kARXhlYyBmb3JtYXQgZXJyb3IASW52YWxpZCBhcmd1bWVudABBcmd1bWVudCBsaXN0IHRvbyBsb25nAFN5bWJvbGljIGxpbmsgbG9vcABGaWxlbmFtZSB0b28gbG9uZwBUb28gbWFueSBvcGVuIGZpbGVzIGluIHN5c3RlbQBObyBmaWxlIGRlc2NyaXB0b3JzIGF2YWlsYWJsZQBCYWQgZmlsZSBkZXNjcmlwdG9yAE5vIGNoaWxkIHByb2Nlc3MAQmFkIGFkZHJlc3MARmlsZSB0b28gbGFyZ2UAVG9vIG1hbnkgbGlua3MATm8gbG9ja3MgYXZhaWxhYmxlAFJlc291cmNlIGRlYWRsb2NrIHdvdWxkIG9jY3VyAFN0YXRlIG5vdCByZWNvdmVyYWJsZQBQcmV2aW91cyBvd25lciBkaWVkAE9wZXJhdGlvbiBjYW5jZWxlZABGdW5jdGlvbiBub3QgaW1wbGVtZW50ZWQATm8gbWVzc2FnZSBvZiBkZXNpcmVkIHR5cGUASWRlbnRpZmllciByZW1vdmVkAERldmljZSBub3QgYSBzdHJlYW0ATm8gZGF0YSBhdmFpbGFibGUARGV2aWNlIHRpbWVvdXQAT3V0IG9mIHN0cmVhbXMgcmVzb3VyY2VzAExpbmsgaGFzIGJlZW4gc2V2ZXJlZABQcm90b2NvbCBlcnJvcgBCYWQgbWVzc2FnZQBGaWxlIGRlc2NyaXB0b3IgaW4gYmFkIHN0YXRlAE5vdCBhIHNvY2tldABEZXN0aW5hdGlvbiBhZGRyZXNzIHJlcXVpcmVkAE1lc3NhZ2UgdG9vIGxhcmdlAFByb3RvY29sIHdyb25nIHR5cGUgZm9yIHNvY2tldABQcm90b2NvbCBub3QgYXZhaWxhYmxlAFByb3RvY29sIG5vdCBzdXBwb3J0ZWQAU29ja2V0IHR5cGUgbm90IHN1cHBvcnRlZABOb3Qgc3VwcG9ydGVkAFByb3RvY29sIGZhbWlseSBub3Qgc3VwcG9ydGVkAEFkZHJlc3MgZmFtaWx5IG5vdCBzdXBwb3J0ZWQgYnkgcHJvdG9jb2wAQWRkcmVzcyBub3QgYXZhaWxhYmxlAE5ldHdvcmsgaXMgZG93bgBOZXR3b3JrIHVucmVhY2hhYmxlAENvbm5lY3Rpb24gcmVzZXQgYnkgbmV0d29yawBDb25uZWN0aW9uIGFib3J0ZWQATm8gYnVmZmVyIHNwYWNlIGF2YWlsYWJsZQBTb2NrZXQgaXMgY29ubmVjdGVkAFNvY2tldCBub3QgY29ubmVjdGVkAENhbm5vdCBzZW5kIGFmdGVyIHNvY2tldCBzaHV0ZG93bgBPcGVyYXRpb24gYWxyZWFkeSBpbiBwcm9ncmVzcwBPcGVyYXRpb24gaW4gcHJvZ3Jlc3MAU3RhbGUgZmlsZSBoYW5kbGUAUmVtb3RlIEkvTyBlcnJvcgBRdW90YSBleGNlZWRlZABObyBtZWRpdW0gZm91bmQAV3JvbmcgbWVkaXVtIHR5cGUATm8gZXJyb3IgaW5mb3JtYXRpb24AAAAAAABMQ19DVFlQRQAAAABMQ19OVU1FUklDAABMQ19USU1FAAAAAABMQ19DT0xMQVRFAABMQ19NT05FVEFSWQBMQ19NRVNTQUdFUwAAAAAAAAAAAC90bXAvdG1wZmlsZV9YWFhYWFgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAgACAAIAAgACAAIAAgACAAMgAiACIAIgAiACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgABYATABMAEwATABMAEwATABMAEwATABMAEwATABMAEwAjYCNgI2AjYCNgI2AjYCNgI2AjYBMAEwATABMAEwATABMAI1QjVCNUI1QjVCNUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFBMAEwATABMAEwATACNYI1gjWCNYI1gjWCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgTABMAEwATAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAEEAAABCAAAAQwAAAEQAAABFAAAARgAAAEcAAABIAAAASQAAAEoAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAABRAAAAUgAAAFMAAABUAAAAVQAAAFYAAABXAAAAWAAAAFkAAABaAAAAWwAAAFwAAABdAAAAXgAAAF8AAABgAAAAQQAAAEIAAABDAAAARAAAAEUAAABGAAAARwAAAEgAAABJAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAFEAAABSAAAAUwAAAFQAAABVAAAAVgAAAFcAAABYAAAAWQAAAFoAAAB7AAAAfAAAAH0AAAB+AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAGEAAABiAAAAYwAAAGQAAABlAAAAZgAAAGcAAABoAAAAaQAAAGoAAABrAAAAbAAAAG0AAABuAAAAbwAAAHAAAABxAAAAcgAAAHMAAAB0AAAAdQAAAHYAAAB3AAAAeAAAAHkAAAB6AAAAWwAAAFwAAABdAAAAXgAAAF8AAABgAAAAYQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAagAAAGsAAABsAAAAbQAAAG4AAABvAAAAcAAAAHEAAAByAAAAcwAAAHQAAAB1AAAAdgAAAHcAAAB4AAAAeQAAAHoAAAB7AAAAfAAAAH0AAAB+AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAADAAAABQAAAAcAAAALAAAADQAAABEAAAATAAAAFwAAAB0AAAAfAAAAJQAAACkAAAArAAAALwAAADUAAAA7AAAAPQAAAEMAAABHAAAASQAAAE8AAABTAAAAWQAAAGEAAABlAAAAZwAAAGsAAABtAAAAcQAAAH8AAACDAAAAiQAAAIsAAACVAAAAlwAAAJ0AAACjAAAApwAAAK0AAACzAAAAtQAAAL8AAADBAAAAxQAAAMcAAADTAAAAAQAAAAsAAAANAAAAEQAAABMAAAAXAAAAHQAAAB8AAAAlAAAAKQAAACsAAAAvAAAANQAAADsAAAA9AAAAQwAAAEcAAABJAAAATwAAAFMAAABZAAAAYQAAAGUAAABnAAAAawAAAG0AAABxAAAAeQAAAH8AAACDAAAAiQAAAIsAAACPAAAAlQAAAJcAAACdAAAAowAAAKcAAACpAAAArQAAALMAAAC1AAAAuwAAAL8AAADBAAAAxQAAAMcAAADRAAAAMDEyMzQ1Njc4OWFiY2RlZkFCQ0RFRnhYKy1wUGlJbk4AAAAAAAAAAAAAAAAAAAAAJQAAAG0AAAAvAAAAJQAAAGQAAAAvAAAAJQAAAHkAAAAlAAAAWQAAAC0AAAAlAAAAbQAAAC0AAAAlAAAAZAAAACUAAABJAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAAIAAAACUAAABwAAAAAAAAACUAAABIAAAAOgAAACUAAABNAAAAAAAAAAAAAAAAAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAlAAAASAAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAALxDAADxVAAA5EMAAK1hAADwKgAAAAAAAORDAAC8ZAAAmDMAAAAAAADkQwAAH3AAAIAzAAAAAAAA5EMAAKeBAACAMwAAAAAAAORDAAAbggAAgDMAAAAAAABQRAAA36oAAAAAAAABAAAAYCsAAAAAAAC8QwAAHqsAALxDAABjsQAAvEMAAKKxAAC8QwAA4LEAALxDAAAmsgAAvEMAAGOyAAC8QwAAgrIAALxDAAChsgAAvEMAAMCyAAC8QwAA37IAALxDAAD+sgAAvEMAAB2zAAC8QwAAWrMAALxDAAB5swAAUEQAAIyzAAAAAAAAAQAAAGArAAAAAAAAUEQAAMuzAAAAAAAAAQAAAGArAAAAAAAACQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAADIyQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAEAAAD+4wAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAA//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAEAAADYzQAAAAQAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAACv////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA5EMAAJC0AABQLgAAAAAAALxDAAB+tAAA5EMAALq0AABQLgAAAAAAALxDAADktAAAvEMAABW1AABQRAAARrUAAAAAAAABAAAAQC4AAAP0//9QRAAAdbUAAAAAAAABAAAAWC4AAAP0//9QRAAApLUAAAAAAAABAAAAQC4AAAP0//9QRAAA07UAAAAAAAABAAAAWC4AAAP0///kQwAAArYAAHAuAAAAAAAA5EMAABu2AABoLgAAAAAAAORDAABatgAAcC4AAAAAAADkQwAAcrYAAGguAAAAAAAA5EMAAIq2AAAoLwAAAAAAAORDAACetgAAeDMAAAAAAADkQwAAtLYAACgvAAAAAAAAUEQAAM22AAAAAAAAAgAAACgvAAACAAAAaC8AAAAAAABQRAAAEbcAAAAAAAABAAAAgC8AAAAAAAC8QwAAJ7cAAFBEAABAtwAAAAAAAAIAAAAoLwAAAgAAAKgvAAAAAAAAUEQAAIS3AAAAAAAAAQAAAIAvAAAAAAAAUEQAAKi3AAAAAAAAAgAAACgvAAACAAAA4C8AAAAAAABQRAAA7LcAAAAAAAABAAAA+C8AAAAAAAC8QwAAArgAAFBEAAAbuAAAAAAAAAIAAAAoLwAAAgAAACAwAAAAAAAAUEQAAF+4AAAAAAAAAQAAAPgvAAAAAAAAUEQAALW5AAAAAAAAAwAAACgvAAACAAAAYDAAAAIAAABoMAAAAAgAALxDAAAcugAAvEMAAPq5AABQRAAAL7oAAAAAAAADAAAAKC8AAAIAAABgMAAAAgAAAJgwAAAACAAAvEMAAHS6AABQRAAAlroAAAAAAAACAAAAKC8AAAIAAADAMAAAAAgAALxDAADbugAAUEQAAPC6AAAAAAAAAgAAACgvAAACAAAAwDAAAAAIAABQRAAANbsAAAAAAAACAAAAKC8AAAIAAAAIMQAAAgAAALxDAABRuwAAUEQAAGa7AAAAAAAAAgAAACgvAAACAAAACDEAAAIAAABQRAAAgrsAAAAAAAACAAAAKC8AAAIAAAAIMQAAAgAAAFBEAACeuwAAAAAAAAIAAAAoLwAAAgAAAAgxAAACAAAAUEQAAMm7AAAAAAAAAgAAACgvAAACAAAAkDEAAAAAAAC8QwAAD7wAAFBEAAAzvAAAAAAAAAIAAAAoLwAAAgAAALgxAAAAAAAAvEMAAHm8AABQRAAAmLwAAAAAAAACAAAAKC8AAAIAAADgMQAAAAAAALxDAADevAAAUEQAAPe8AAAAAAAAAgAAACgvAAACAAAACDIAAAAAAAC8QwAAPb0AAFBEAABWvQAAAAAAAAIAAAAoLwAAAgAAADAyAAACAAAAvEMAAGu9AABQRAAAAr4AAAAAAAACAAAAKC8AAAIAAAAwMgAAAgAAAORDAACDvQAAaDIAAAAAAABQRAAApr0AAAAAAAACAAAAKC8AAAIAAACIMgAAAgAAALxDAADJvQAA5EMAAOC9AABoMgAAAAAAAFBEAAAXvgAAAAAAAAIAAAAoLwAAAgAAAIgyAAACAAAAUEQAADm+AAAAAAAAAgAAACgvAAACAAAAiDIAAAIAAABQRAAAW74AAAAAAAACAAAAKC8AAAIAAACIMgAAAgAAAORDAAB+vgAAKC8AAAAAAABQRAAAlL4AAAAAAAACAAAAKC8AAAIAAAAwMwAAAgAAALxDAACmvgAAUEQAALu+AAAAAAAAAgAAACgvAAACAAAAMDMAAAIAAADkQwAAzb4AACgvAAAAAAAA5EMAAOK+AAAoLwAAAAAAALxDAAD3vgAAUEQAABC/AAAAAAAAAQAAAHgzAAAAAAAAvEMAAL+/AADkQwAAH8AAALAzAAAAAAAA5EMAAMy/AADAMwAAAAAAALxDAADtvwAA5EMAAPq/AACgMwAAAAAAAORDAAABwQAAmDMAAAAAAADkQwAAEcEAANgzAAAAAAAA5EMAAEbBAACwMwAAAAAAAORDAAAiwQAA+DMAAAAAAADkQwAAaMEAALAzAAAAAAAANEQAAJDBAAA0RAAAksEAADREAACUwQAANEQAAJbBAAA0RAAAmMEAADREAACawQAANEQAAJzBAAA0RAAAnsEAADREAACgwQAANEQAAPbGAAA0RAAAosEAADREAACkwQAANEQAAKbBAADkQwAAqMEAAKAzAAAAAAAAAQAAAAAAAAD4KgAAAQAAAAIAAAAAAAAA8CoAAAMAAAAEAAAAAAAAAAgrAAAFAAAABgAAAAEAAAC5Uow+jlrnPrlSjD4AAAAAGCsAAAcAAAAIAAAACQAAAAEAAAAKAAAAAAAAACgrAAAHAAAACwAAAAwAAAACAAAADQAAAAAAAAA4KwAABwAAAA4AAAAPAAAAAwAAABAAAABABgAAgD4AAAAAAACIEwAAAQAAAAAAAAACAAAA//////7////9////KDQAAGA0AACANAAAKDQAAGA0AABgNAAAiDQAAGA0AAAoNAAAYDQAAIg0AABgNAAAKDQAAGA0AABgNAAASCsAAGA0AABgNAAAYDQAAGA0AABgNAAASCsAAGA0AABgNAAAYA4AABQAAABDLlVURi04AAAAAAAAAAAAAAAAAMA1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAACQLAAAIC0AACAtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMjbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAX3CJAP8JLw9wGgAAcB4AAHAkAAAAAAAAUC4AABEAAAASAAAAAAAAAGguAAATAAAAFAAAAAEAAAAFAAAAAQAAAAEAAAADAAAABAAAAAYAAAAFAAAABgAAAAQAAAAHAAAABQAAAAAAAABwLgAAFQAAABYAAAACAAAACAAAAAIAAAACAAAABwAAAAgAAAAJAAAACQAAAAoAAAAGAAAACgAAAAcAAAAIAAAAAAAAAHguAAAXAAAAGAAAAPj////4////eC4AABkAAAAaAAAAqDcAALw3AAAIAAAAAAAAAJAuAAAbAAAAHAAAAPj////4////kC4AAB0AAAAeAAAA2DcAAOw3AAAEAAAAAAAAAKguAAAfAAAAIAAAAPz////8////qC4AACEAAAAiAAAACDgAABw4AAAEAAAAAAAAAMAuAAAjAAAAJAAAAPz////8////wC4AACUAAAAmAAAAODgAAEw4AAAAAAAA2C4AABUAAAAnAAAAAwAAAAgAAAACAAAAAgAAAAsAAAAIAAAACQAAAAkAAAAKAAAABgAAAAsAAAAIAAAAAAAAAOguAAATAAAAKAAAAAQAAAAFAAAAAQAAAAEAAAAMAAAABAAAAAYAAAAFAAAABgAAAAQAAAAMAAAACQAAAAAAAAD4LgAAFQAAACkAAAAFAAAACAAAAAIAAAACAAAABwAAAAgAAAAJAAAADQAAAA4AAAAKAAAACgAAAAcAAAAAAAAACC8AABMAAAAqAAAABgAAAAUAAAABAAAAAQAAAAMAAAAEAAAABgAAAA8AAAAQAAAACwAAAAcAAAAFAAAAAAAAABgvAAArAAAALAAAAC0AAAABAAAAAwAAAA0AAAAAAAAAOC8AAC4AAAAvAAAALQAAAAIAAAAEAAAADgAAAAAAAABILwAAMAAAADEAAAAtAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAAAAAAiC8AADIAAAAzAAAALQAAAAwAAAANAAAADgAAAA8AAAAQAAAAEQAAABIAAAATAAAAFAAAABUAAAAWAAAAAAAAAMAvAAA0AAAANQAAAC0AAAADAAAABAAAABcAAAAFAAAAGAAAAAEAAAACAAAABgAAAAAAAAAAMAAANgAAADcAAAAtAAAABwAAAAgAAAAZAAAACQAAABoAAAADAAAABAAAAAoAAAAAAAAAODAAADgAAAA5AAAALQAAABEAAAAbAAAAHAAAAB0AAAAeAAAAHwAAAAEAAAD4////ODAAABIAAAATAAAAFAAAABUAAAAWAAAAFwAAABgAAAAAAAAAcDAAADoAAAA7AAAALQAAABkAAAAgAAAAIQAAACIAAAAjAAAAJAAAAAIAAAD4////cDAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAlAAAASAAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAAAAAAAAlAAAAbQAAAC8AAAAlAAAAZAAAAC8AAAAlAAAAeQAAAAAAAAAlAAAASQAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAACAAAAAlAAAAcAAAAAAAAAAlAAAAYQAAACAAAAAlAAAAYgAAACAAAAAlAAAAZAAAACAAAAAlAAAASAAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAACAAAAAlAAAAWQAAAAAAAABBAAAATQAAAAAAAABQAAAATQAAAAAAAABKAAAAYQAAAG4AAAB1AAAAYQAAAHIAAAB5AAAAAAAAAEYAAABlAAAAYgAAAHIAAAB1AAAAYQAAAHIAAAB5AAAAAAAAAE0AAABhAAAAcgAAAGMAAABoAAAAAAAAAEEAAABwAAAAcgAAAGkAAABsAAAAAAAAAE0AAABhAAAAeQAAAAAAAABKAAAAdQAAAG4AAABlAAAAAAAAAEoAAAB1AAAAbAAAAHkAAAAAAAAAQQAAAHUAAABnAAAAdQAAAHMAAAB0AAAAAAAAAFMAAABlAAAAcAAAAHQAAABlAAAAbQAAAGIAAABlAAAAcgAAAAAAAABPAAAAYwAAAHQAAABvAAAAYgAAAGUAAAByAAAAAAAAAE4AAABvAAAAdgAAAGUAAABtAAAAYgAAAGUAAAByAAAAAAAAAEQAAABlAAAAYwAAAGUAAABtAAAAYgAAAGUAAAByAAAAAAAAAEoAAABhAAAAbgAAAAAAAABGAAAAZQAAAGIAAAAAAAAATQAAAGEAAAByAAAAAAAAAEEAAABwAAAAcgAAAAAAAABKAAAAdQAAAG4AAAAAAAAASgAAAHUAAABsAAAAAAAAAEEAAAB1AAAAZwAAAAAAAABTAAAAZQAAAHAAAAAAAAAATwAAAGMAAAB0AAAAAAAAAE4AAABvAAAAdgAAAAAAAABEAAAAZQAAAGMAAAAAAAAAUwAAAHUAAABuAAAAZAAAAGEAAAB5AAAAAAAAAE0AAABvAAAAbgAAAGQAAABhAAAAeQAAAAAAAABUAAAAdQAAAGUAAABzAAAAZAAAAGEAAAB5AAAAAAAAAFcAAABlAAAAZAAAAG4AAABlAAAAcwAAAGQAAABhAAAAeQAAAAAAAABUAAAAaAAAAHUAAAByAAAAcwAAAGQAAABhAAAAeQAAAAAAAABGAAAAcgAAAGkAAABkAAAAYQAAAHkAAAAAAAAAUwAAAGEAAAB0AAAAdQAAAHIAAABkAAAAYQAAAHkAAAAAAAAAUwAAAHUAAABuAAAAAAAAAE0AAABvAAAAbgAAAAAAAABUAAAAdQAAAGUAAAAAAAAAVwAAAGUAAABkAAAAAAAAAFQAAABoAAAAdQAAAAAAAABGAAAAcgAAAGkAAAAAAAAAUwAAAGEAAAB0AAAAAAAAAAAAAACgMAAAPAAAAD0AAAAtAAAAAQAAAAAAAADIMAAAPgAAAD8AAAAtAAAAAgAAAAAAAADoMAAAQAAAAEEAAAAtAAAAIQAAACIAAAAHAAAACAAAAAkAAAAKAAAAIwAAAAsAAAAMAAAAAAAAABAxAABCAAAAQwAAAC0AAAAkAAAAJQAAAA0AAAAOAAAADwAAABAAAAAmAAAAEQAAABIAAAAAAAAAMDEAAEQAAABFAAAALQAAACcAAAAoAAAAEwAAABQAAAAVAAAAFgAAACkAAAAXAAAAGAAAAAAAAABQMQAARgAAAEcAAAAtAAAAKgAAACsAAAAZAAAAGgAAABsAAAAcAAAALAAAAB0AAAAeAAAAAAAAAHAxAABIAAAASQAAAC0AAAADAAAABAAAAAAAAACYMQAASgAAAEsAAAAtAAAABQAAAAYAAAAAAAAAwDEAAEwAAABNAAAALQAAAAEAAAAlAAAAAAAAAOgxAABOAAAATwAAAC0AAAACAAAAJgAAAAAAAAAQMgAAUAAAAFEAAAAtAAAADwAAAAMAAAAfAAAAAAAAADgyAABSAAAAUwAAAC0AAAAQAAAABAAAACAAAAAAAAAAkDIAAFQAAABVAAAALQAAAAMAAAAEAAAACwAAAC0AAAAuAAAADAAAAC8AAAAAAAAAWDIAAFQAAABWAAAALQAAAAMAAAAEAAAACwAAAC0AAAAuAAAADAAAAC8AAAAAAAAAwDIAAFcAAABYAAAALQAAAAUAAAAGAAAADQAAADAAAAAxAAAADgAAADIAAAAAAAAAADMAAFkAAABaAAAALQAAAAAAAAAQMwAAWwAAAFwAAAAtAAAADAAAABEAAAANAAAAEgAAAA4AAAACAAAAEwAAAA8AAAAAAAAAWDMAAF0AAABeAAAALQAAADMAAAA0AAAAIQAAACIAAAAjAAAAAAAAAGgzAABfAAAAYAAAAC0AAAA1AAAANgAAACQAAAAlAAAAJgAAAGYAAABhAAAAbAAAAHMAAABlAAAAAAAAAHQAAAByAAAAdQAAAGUAAAAAAAAAAAAAACgvAABUAAAAYQAAAC0AAAAAAAAAODMAAFQAAABiAAAALQAAABQAAAADAAAABAAAAAUAAAAPAAAAFQAAABAAAAAWAAAAEQAAAAYAAAAXAAAAEAAAAAAAAACgMgAAVAAAAGMAAAAtAAAABwAAAAgAAAARAAAANwAAADgAAAASAAAAOQAAAAAAAADgMgAAVAAAAGQAAAAtAAAACQAAAAoAAAATAAAAOgAAADsAAAAUAAAAPAAAAAAAAABoMgAAVAAAAGUAAAAtAAAAAwAAAAQAAAALAAAALQAAAC4AAAAMAAAALwAAAAAAAABoMAAAEgAAABMAAAAUAAAAFQAAABYAAAAXAAAAGAAAAAAAAACYMAAAGgAAABsAAAAcAAAAHQAAAB4AAAAfAAAAIAAAAAEAAAAAAAAAoDMAAGYAAABnAAAAaAAAAGkAAAAYAAAABQAAAAEAAAAFAAAAAAAAAMgzAABmAAAAagAAAGgAAABpAAAAGAAAAAYAAAACAAAABgAAAAAAAADYMwAAawAAAGwAAAA9AAAAAAAAAOgzAABrAAAAbQAAAD0AAAAAAAAAGDQAAGYAAABuAAAAaAAAAGkAAAAZAAAAAAAAAJA0AABmAAAAbwAAAGgAAABpAAAAGAAAAAcAAAADAAAABwAAAEVycm9yOiBsYWJlbGluZyB3b3JrIG92ZXJmbG93LgoAVW5rbm93biBvciB1bnN1cHBvcnRlZCBsYWJlbGluZyB0aHJlc2hvbGQgbW9kZSByZXF1ZXN0ZWQuIFNldCB0byBtYW51YWwuCgBMYWJlbGluZyB0aHJlc2hvbGQgbW9kZSBzZXQgdG8gJXMuCgBNQU5VQUwAQVVUT19NRURJQU4AQVVUT19PVFNVAEFVVE9fQURBUFRJVkUAQVVUT19CUkFDS0VUSU5HAEVycm9yOiBVbnN1cHBvcnRlZCBwaXhlbCBmb3JtYXQgKCVkKSByZXF1ZXN0ZWQuCgBBdXRvIHRocmVzaG9sZCAoYnJhY2tldCkgbWFya2VyIGNvdW50cyAtWyUzZDogJTNkXSBbJTNkOiAlM2RdIFslM2Q6ICUzZF0rLgoAQXV0byB0aHJlc2hvbGQgKGJyYWNrZXQpIGFkanVzdGVkIHRocmVzaG9sZCB0byAlZC4KAG1lZGlhbgBPdHN1AEF1dG8gdGhyZXNob2xkICglcykgYWRqdXN0ZWQgdGhyZXNob2xkIHRvICVkLgoAPz8/IDEKAD8/PyAyCgA/Pz8gMwoARXJyb3I6IHVuc3VwcG9ydGVkIHBpeGVsIGZvcm1hdC4KAEVycm9yOiBOVUxMIHBhdHRIYW5kbGUuCgBFcnJvcjogY2FuJ3QgbG9hZCBwYXR0ZXJuIGZyb20gTlVMTCBidWZmZXIuCgBFcnJvcjogb3V0IG9mIG1lbW9yeS4KACAJCg0AUGF0dGVybiBEYXRhIHJlYWQgZXJyb3IhIQoARXJyb3IgcmVhZGluZyBwYXR0ZXJuIGZpbGUgJyVzJy4KAEVycm9yICglZCk6IHVuYWJsZSB0byBvcGVuIGNhbWVyYSBwYXJhbWV0ZXJzIGZpbGUgIiVzIiBmb3IgcmVhZGluZy4KAEVycm9yICglZCk6IHVuYWJsZSB0byBkZXRlcm1pbmUgZmlsZSBsZW5ndGguAEVycm9yOiBzdXBwbGllZCBmaWxlIGRvZXMgbm90IGFwcGVhciB0byBiZSBhbiBBUlRvb2xLaXQgY2FtZXJhIHBhcmFtZXRlciBmaWxlLgoARXJyb3IgKCVkKTogdW5hYmxlIHRvIHJlYWQgZnJvbSBmaWxlLgBhcmdsQ2FtZXJhRnJ1c3R1bVJIKCk6IGFyUGFyYW1EZWNvbXBNYXQoKSBpbmRpY2F0ZWQgcGFyYW1ldGVyIGVycm9yLgoARXJyb3I6IGljcEdldEpfVV9YYwBFcnJvcjogbWFsbG9jCgBFcnJvciAxOiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIDI6IGljcEdldEluaXRYdzJYYwoARXJyb3IgMzogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciA0OiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIDU6IGljcEdldEluaXRYdzJYYwoARXJyb3IgNjogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciA3OiBpY3BHZXRJbml0WHcyWGMKAEVycm9yOiB1bmFibGUgdG8gb3BlbiBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnLgoARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnOiBGaXJzdCBsaW5lIG11c3QgYmUgbnVtYmVyIG9mIG1hcmtlciBjb25maWdzIHRvIHJlYWQuCgAlbGx1JWMARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnOiBwYXR0ZXJuICclcycgc3BlY2lmaWVkIGluIG11bHRpbWFya2VyIGNvbmZpZ3VyYXRpb24gd2hpbGUgaW4gYmFyY29kZS1vbmx5IG1vZGUuCgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcyc6IFVuYWJsZSB0byBkZXRlcm1pbmUgZGlyZWN0b3J5IG5hbWUuCgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcyc6IFVuYWJsZSB0byBsb2FkIHBhdHRlcm4gJyVzJy4KACVsZgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcycsIG1hcmtlciBkZWZpbml0aW9uICUzZDogRmlyc3QgbGluZSBtdXN0IGJlIHBhdHRlcm4gd2lkdGguCgAlbGYgJWxmICVsZiAlbGYAJWYgJWYARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnLCBtYXJrZXIgZGVmaW5pdGlvbiAlM2Q6IExpbmVzIDIgLSA0IG11c3QgYmUgbWFya2VyIHRyYW5zZm9ybS4KAFslc10gAGRlYnVnAGluZm8Ad2FybmluZwBlcnJvcgAlcyVzAC5pc2V0AEVycm9yOiB1bmFibGUgdG8gb3BlbiBmaWxlICclcyVzJyBmb3IgcmVhZGluZy4KAEVycm9yIHJlYWRpbmcgaW1hZ2VTZXQuCgBJbWFnZXNldCBjb250YWlucyAlZCBpbWFnZXMuCgBGYWxsaW5nIGJhY2sgdG8gcmVhZGluZyAnJXMlcycgaW4gQVJUb29sS2l0IHY0LnggZm9ybWF0LgoARXJyb3IgcmVhZGluZyBKUEVHIGZpbGUuCgBFcnJvciByZWFkaW5nIEpQRUcgZmlsZSBoZWFkZXIuCgAlZgBGaWxlIG9wZW4gZXJyb3IuICVzCgBSZWFkIGVycm9yISEKAHIARXJyb3Igb3BlbmluZyBmaWxlICclcyc6IAAlcyVzCgAlZAAKIyMjIFN1cmZhY2UgTm8uJWQgIyMjCgAlcwAgIFJlYWQgSW1hZ2VTZXQuCgBFcnJvciBvcGVuaW5nIGZpbGUgJyVzLmlzZXQnLgoAICAgIGVuZC4KACAgUmVhZCBGZWF0dXJlU2V0LgoARXJyb3Igb3BlbmluZyBmaWxlICclcy5mc2V0Jy4KACAgUmVhZCBNYXJrZXJTZXQuCgBtcmsARXJyb3Igb3BlbmluZyBmaWxlICclcy5tcmsnLgoAJWYgJWYgJWYgJWYAVHJhbnNmb3JtYXRpb24gbWF0cml4IHJlYWQgZXJyb3IhIQoAanBnAGtwbURlbGV0ZVJlZkRhdGFTZXQoKTogTlVMTCByZWZEYXRhU2V0UHRyMS9yZWZEYXRhU2V0UHRyMi4KAGtwbURlbGV0ZVJlZkRhdGFTZXQoKTogTlVMTCByZWZEYXRhU2V0UHRyLgoAcmIAa3BtTG9hZFJlZkRhdGFTZXQoKTogTlVMTCBmaWxlbmFtZS9yZWZEYXRhU2V0UHRyLgoARXJyb3IgbG9hZGluZyBLUE0gZGF0YTogdW5hYmxlIHRvIG9wZW4gZmlsZSAnJXMlcyVzJyBmb3IgcmVhZGluZy4KAEVycm9yIGxvYWRpbmcgS1BNIGRhdGE6IGVycm9yIHJlYWRpbmcgZGF0YS4KAGtwbUNoYW5nZVBhZ2VOb09mUmVmRGF0YVNldCgpOiBOVUxMIHJlZkRhdGFTZXQuCgBrcG1TZXRSZWZEYXRhU2V0KCk6IE5VTEwga3BtSGFuZGxlL3JlZkRhdGFTZXQuCgBrcG1TZXRSZWZEYXRhU2V0KCk6IHJlZkRhdGFTZXQuCgBwb2ludHMtJWQKAGtwbU1hdGNoaW5nKCk6IE5VTEwga3BtSGFuZGxlL2luSW1hZ2VMdW1hLgoAUGFnZVslZF0gIHByZTolM2QsIGFmdDolM2QsIGVycm9yID0gJWYKAE91dCBvZiBtZW1vcnkhIQoAJXMuJXMAQXNzZXJ0aW9uIGBweXJhbWlkLT5zaXplKCkgPiAwYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdDUvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvRG9HX3NjYWxlX2ludmFyaWFudF9kZXRlY3Rvci5jcHAAUHlyYW1pZCBpcyBub3QgYWxsb2NhdGVkAE9jdGF2ZSBvdXQgb2YgcmFuZ2UAU2NhbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgbUltYWdlcy5zaXplKCkgPiAwYCBmYWlsZWQgaW4gAExhcGxhY2lhbiBweXJhbWlkIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQAQXNzZXJ0aW9uIGBweXJhbWlkLT5udW1PY3RhdmVzKCkgPiAwYCBmYWlsZWQgaW4gAFB5cmFtaWQgZG9lcyBub3QgY29udGFpbiBhbnkgbGV2ZWxzAEFzc2VydGlvbiBgZHluYW1pY19jYXN0PGNvbnN0IEJpbm9taWFsUHlyYW1pZDMyZio+KHB5cmFtaWQpYCBmYWlsZWQgaW4gAE9ubHkgYmlub21pYWwgcHlyYW1pZCBpcyBzdXBwb3J0ZWQAQXNzZXJ0aW9uIGBkLnR5cGUoKSA9PSBJTUFHRV9GMzJgIGZhaWxlZCBpbiAAT25seSBGMzIgaW1hZ2VzIHN1cHBvcnRlZABBc3NlcnRpb24gYGltMS50eXBlKCkgPT0gSU1BR0VfRjMyYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0yLnR5cGUoKSA9PSBJTUFHRV9GMzJgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBkLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIABPbmx5IHNpbmdsZSBjaGFubmVsIGltYWdlcyBzdXBwb3J0ZWQAQXNzZXJ0aW9uIGBpbTEuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0yLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGQud2lkdGgoKSA9PSBpbTIud2lkdGgoKWAgZmFpbGVkIGluIABJbWFnZXMgbXVzdCBoYXZlIHRoZSBzYW1lIHdpZHRoAEFzc2VydGlvbiBgZC5oZWlnaHQoKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAASW1hZ2VzIG11c3QgaGF2ZSB0aGUgc2FtZSBoZWlnaHQAQXNzZXJ0aW9uIGBpbTEud2lkdGgoKSA9PSBpbTIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltMS5oZWlnaHQoKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGByb3cgPCBtSGVpZ2h0YCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdDUvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9mcmFtZXdvcmsvaW1hZ2UuaAByb3cgb3V0IG9mIGJvdW5kcwBONnZpc2lvbjI1R2F1c3NpYW5TY2FsZVNwYWNlUHlyYW1pZEUARG9HIFB5cmFtaWQATm9uLW1heCBzdXBwcmVzc2lvbgBTdWJwaXhlbABwcnVuZUZlYXR1cmVzAEZpbmQgT3JpZW50YXRpb25zAEFzc2VydGlvbiBgbUJ1Y2tldHMuc2l6ZSgpID09IG1OdW1CdWNrZXRzWGAgZmFpbGVkIGluIABCdWNrZXRzIGFyZSBub3QgYWxsb2NhdGVkAEFzc2VydGlvbiBgbUJ1Y2tldHNbMF0uc2l6ZSgpID09IG1OdW1CdWNrZXRzWWAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1GZWF0dXJlUG9pbnRzLnNpemUoKSA8PSBtTWF4TnVtRmVhdHVyZVBvaW50c2AgZmFpbGVkIGluIABUb28gbWFueSBmZWF0dXJlIHBvaW50cwBBc3NlcnRpb24gYGJ1Y2tldFswXS5maXJzdCA+PSBidWNrZXRbbl0uZmlyc3RgIGZhaWxlZCBpbiAAbnRoX2VsZW1lbnQgZmFpbGVkAEFzc2VydGlvbiBga3Auc2NhbGUgPCBtTGFwbGFjaWFuUHlyYW1pZC5udW1TY2FsZVBlck9jdGF2ZSgpYCBmYWlsZWQgaW4gAEZlYXR1cmUgcG9pbnQgc2NhbGUgaXMgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYGtwLnNjb3JlID09IGxhcDEuZ2V0PGZsb2F0Pih5KVt4XWAgZmFpbGVkIGluIABTY29yZSBpcyBub3QgY29uc2lzdGVudCB3aXRoIHRoZSBEb0cgaW1hZ2UAQXNzZXJ0aW9uIGBsYXAwLmhlaWdodCgpID09IGxhcDEuaGVpZ2h0KCkgPT0gbGFwMi5oZWlnaHQoKWAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL0RvR19zY2FsZV9pbnZhcmlhbnRfZGV0ZWN0b3IuaABXaWR0aC9oZWlnaHQgYXJlIG5vdCBjb25zaXN0ZW50AEFzc2VydGlvbiBgKGxhcDAuaGVpZ2h0KCkgPT0gbGFwMS5oZWlnaHQoKSkgJiYgKChsYXAxLmhlaWdodCgpPj4xKSA9PSBsYXAyLmhlaWdodCgpKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYCgobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAxLndpZHRoKCkpICYmIChsYXAxLndpZHRoKCkgPT0gbGFwMi53aWR0aCgpKWAgZmFpbGVkIGluIABJbWFnZSBzaXplcyBhcmUgaW5jb25zaXN0ZW50AEFzc2VydGlvbiBgKHgtMSkgPj0gMCAmJiAoeCsxKSA8IGxhcDEud2lkdGgoKWAgZmFpbGVkIGluIAB4IG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGAoeS0xKSA+PSAwICYmICh5KzEpIDwgbGFwMS5oZWlnaHQoKWAgZmFpbGVkIGluIAB5IG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGAobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAxLndpZHRoKClgIGZhaWxlZCBpbiAASW1hZ2UgZGltZW5zaW9ucyBpbmNvbnNpc3RlbnQAQXNzZXJ0aW9uIGAobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAyLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAobGFwMC5oZWlnaHQoKT4+MSkgPT0gbGFwMS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChsYXAwLmhlaWdodCgpPj4xKSA9PSBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGludClzdGQ6OmZsb29yKHgpID09IChpbnQpeGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2ludGVycG9sYXRlLmgAZmxvb3IoKSBhbmQgY2FzdCBub3QgdGhlIHNhbWUAQXNzZXJ0aW9uIGAoaW50KXN0ZDo6Zmxvb3IoeSkgPT0gKGludCl5YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeXAgPj0gMCAmJiB5cCA8IGhlaWdodGAgZmFpbGVkIGluIAB5cCBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgeXBfcGx1c18xID49IDAgJiYgeXBfcGx1c18xIDwgaGVpZ2h0YCBmYWlsZWQgaW4gAHlwX3BsdXNfMSBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgeHAgPj0gMCAmJiB4cCA8IHdpZHRoYCBmYWlsZWQgaW4gAHhwIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGB4cF9wbHVzXzEgPj0gMCAmJiB4cF9wbHVzXzEgPCB3aWR0aGAgZmFpbGVkIGluIAB4cF9wbHVzXzEgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYHcwID49IDAgJiYgdzAgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAE91dCBvZiByYW5nZQBBc3NlcnRpb24gYHcxID49IDAgJiYgdzEgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgdzIgPj0gMCAmJiB3MiA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3MyA+PSAwICYmIHczIDw9IDEuMDAwMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYCh3MCt3MSt3Mit3MykgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKHgtMSkgPj0gMCAmJiAoeCsxKSA8IGltLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoeS0xKSA+PSAwICYmICh5KzEpIDwgaW0uaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBsYXAwLndpZHRoKCkgPT0gbGFwMS53aWR0aCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbGFwMC5oZWlnaHQoKSA9PSBsYXAxLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeF9kaXZfMi0wLjVmID49IDBgIGZhaWxlZCBpbiAAeF9kaXZfMiBvdXQgb2YgYm91bmRzIG91dCBvZiBib3VuZHMgZm9yIGludGVycG9sYXRpb24AQXNzZXJ0aW9uIGB5X2Rpdl8yLTAuNWYgPj0gMGAgZmFpbGVkIGluIAB5X2Rpdl8yIG91dCBvZiBib3VuZHMgb3V0IG9mIGJvdW5kcyBmb3IgaW50ZXJwb2xhdGlvbgBBc3NlcnRpb24gYHhfZGl2XzIrMC41ZiA8IGxhcDIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHlfZGl2XzIrMC41ZiA8IGxhcDIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBsYXAwLndpZHRoKCkgPT0gbGFwMi53aWR0aCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbGFwMC5oZWlnaHQoKSA9PSBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0wLmhlaWdodCgpID09IGltMS5oZWlnaHQoKWAgZmFpbGVkIGluIABIZWlnaHQgaXMgaW5jb25zaXN0ZW50AEFzc2VydGlvbiBgaW0wLmhlaWdodCgpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChpbTEuaGVpZ2h0KCk+PjEpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChpbTAuaGVpZ2h0KCk+PjEpID09IGltMS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChpbTAuaGVpZ2h0KCk+PjEpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGluZGV4IDwgbUltYWdlcy5zaXplKClgIGZhaWxlZCBpbiAASW5kZXggaXMgb3V0IG9mIHJhbmdlAE42dmlzaW9uMThCaW5vbWlhbFB5cmFtaWQzMmZFAEFzc2VydGlvbiBgd2lkdGggPj0gNWAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2dhdXNzaWFuX3NjYWxlX3NwYWNlX3B5cmFtaWQuY3BwAEltYWdlIGlzIHRvbyBzbWFsbABBc3NlcnRpb24gYGhlaWdodCA+PSA1YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW1hZ2UudHlwZSgpID09IElNQUdFX1VJTlQ4YCBmYWlsZWQgaW4gAEltYWdlIG11c3QgYmUgZ3JheXNjYWxlAEFzc2VydGlvbiBgaW1hZ2UuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAEltYWdlIG11c3QgaGF2ZSAxIGNoYW5uZWwAQXNzZXJ0aW9uIGBtUHlyYW1pZC5zaXplKCkgPT0gbU51bU9jdGF2ZXMqbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIABQeXJhbWlkIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQgeWV0AEFzc2VydGlvbiBgaW1hZ2Uud2lkdGgoKSA9PSBtUHlyYW1pZFswXS53aWR0aCgpYCBmYWlsZWQgaW4gAEltYWdlIG9mIHdyb25nIHNpemUgZm9yIHB5cmFtaWQAQXNzZXJ0aW9uIGBpbWFnZS5oZWlnaHQoKSA9PSBtUHlyYW1pZFswXS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGRzdC50eXBlKCkgPT0gSU1BR0VfRjMyYCBmYWlsZWQgaW4gAERlc3RpbmF0aW9uIGltYWdlIHNob3VsZCBiZSBhIGZsb2F0AFVua25vd24gaW1hZ2UgdHlwZQBVbnN1cHBvcnRlZCBpbWFnZSB0eXBlAE42dmlzaW9uOUV4Y2VwdGlvbkUAQXNzZXJ0aW9uIGBpbS53aWR0aCgpID09IGltLnN0ZXAoKS9zaXplb2YoZmxvYXQpYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdDUvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvb3JpZW50YXRpb25fYXNzaWdubWVudC5jcHAAU3RlcCBzaXplIG11c3QgYmUgZXF1YWwgdG8gd2lkdGggZm9yIG5vdwBBc3NlcnRpb24gYHggPj0gMGAgZmFpbGVkIGluIAB4IG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGB4IDwgbUdyYWRpZW50c1tvY3RhdmUqbU51bVNjYWxlc1Blck9jdGF2ZStzY2FsZV0ud2lkdGgoKWAgZmFpbGVkIGluIAB4IG11c3QgYmUgbGVzcyB0aGFuIHRoZSBpbWFnZSB3aWR0aABBc3NlcnRpb24gYHkgPj0gMGAgZmFpbGVkIGluIAB5IG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGB5IDwgbUdyYWRpZW50c1tvY3RhdmUqbU51bVNjYWxlc1Blck9jdGF2ZStzY2FsZV0uaGVpZ2h0KClgIGZhaWxlZCBpbiAAeSBtdXN0IGJlIGxlc3MgdGhhbiB0aGUgaW1hZ2UgaGVpZ2h0AEFzc2VydGlvbiBgZy5jaGFubmVscygpID09IDJgIGZhaWxlZCBpbiAATnVtYmVyIG9mIGNoYW5uZWxzIHNob3VsZCBiZSAyAEFzc2VydGlvbiBgbWF4X2hlaWdodCA+IDBgIGZhaWxlZCBpbiAATWF4aW11bSBiaW4gc2hvdWxkIGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgaGlzdCAhPSBOVUxMYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdDUvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvb3JpZW50YXRpb25fYXNzaWdubWVudC5oAEhpc3RvZ3JhbSBwb2ludGVyIGlzIE5VTEwAQXNzZXJ0aW9uIGAoZmJpbiswLjVmKSA+IDAgJiYgKGZiaW4tMC41ZikgPCBudW1fYmluc2AgZmFpbGVkIGluIABEZWNpbWFsIGJpbiBwb3NpdGlvbiBpbmRleCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBtYWduaXR1ZGUgPj0gMGAgZmFpbGVkIGluIABNYWduaXR1ZGUgY2Fubm90IGJlIG5lZ2F0aXZlAEFzc2VydGlvbiBgbnVtX2JpbnMgPj0gMGAgZmFpbGVkIGluIABOdW1iZXIgYmlucyBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgdzEgPj0gMGAgZmFpbGVkIGluIAB3MSBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgdzIgPj0gMGAgZmFpbGVkIGluIAB3MiBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgYjEgPj0gMCAmJiBiMSA8IG51bV9iaW5zYCBmYWlsZWQgaW4gAGIxIGJpbiBpbmRleCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiMiA+PSAwICYmIGIyIDwgbnVtX2JpbnNgIGZhaWxlZCBpbiAAYjIgYmluIGluZGV4IG91dCBvZiByYW5nZQBJRCBhbHJlYWR5IGV4aXN0cwBCdWlsZCBQeXJhbWlkAEV4dHJhY3QgRmVhdHVyZXMAQXNzZXJ0aW9uIGBhc3NpZ25tZW50LnNpemUoKSA9PSBudW1faW5kaWNlc2AgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvYmluYXJ5X2hpZXJhcmNoaWNhbF9jbHVzdGVyaW5nLmgAQXNzaWdubWVudCBzaXplIHdyb25nAEFzc2VydGlvbiBgYXNzaWdubWVudFtpXSAhPSAtMWAgZmFpbGVkIGluIABBc3NpZ25tZW50IGlzIGludmFsaWQAQXNzZXJ0aW9uIGBhc3NpZ25tZW50W2ldIDwgbnVtX2luZGljZXNgIGZhaWxlZCBpbiAAQXNzaWdubWVudCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBpbmRpY2VzW2Fzc2lnbm1lbnRbaV1dIDwgbnVtX2ZlYXR1cmVzYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaXQtPnNlY29uZC5zaXplKCkgIT0gMGAgZmFpbGVkIGluIABDbHVzdGVyIG11c3QgaGF2ZSBhdGxlYXNldCAxIGZlYXR1cmUAQXNzZXJ0aW9uIGBtSyA9PSBtQ2VudGVycy5zaXplKClgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0NS9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2ttZWRvaWRzLmgAayBzaG91bGQgbWF0Y2ggdGhlIG51bWJlciBvZiBjbHVzdGVyIGNlbnRlcnMAQXNzZXJ0aW9uIGBudW1fZmVhdHVyZXMgPiAwYCBmYWlsZWQgaW4gAE51bWJlciBvZiBmZWF0dXJlcyBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbnVtX2luZGljZXMgPD0gbnVtX2ZlYXR1cmVzYCBmYWlsZWQgaW4gAE1vcmUgaW5kaWNlcyB0aGFuIGZlYXR1cmVzAEFzc2VydGlvbiBgbnVtX2luZGljZXMgPj0gbUtgIGZhaWxlZCBpbiAATm90IGVub3VnaCBmZWF0dXJlcwBBc3NpZ25tZW50IHNpemUgaXMgaW5jb3JyZWN0AEFzc2VydGlvbiBgbnVtX2NlbnRlcnMgPiAwYCBmYWlsZWQgaW4gAFRoZXJlIG11c3QgYmUgYXQgbGVhc3QgMSBjZW50ZXIAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0NS9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL3Zpc3VhbF9kYXRhYmFzZS5oAEFzc2VydGlvbiBgZGV0ZWN0b3JgIGZhaWxlZCBpbiAARGV0ZWN0b3IgaXMgTlVMTABBc3NlcnRpb24gYHB5cmFtaWQtPmltYWdlcygpLnNpemUoKSA+IDBgIGZhaWxlZCBpbiAAUHlyYW1pZCBpcyBlbXB0eQBBc3NlcnRpb24gYHB5cmFtaWQtPmltYWdlcygpWzBdLndpZHRoKCkgPT0gZGV0ZWN0b3ItPndpZHRoKClgIGZhaWxlZCBpbiAAUHlyYW1pZCBhbmQgZGV0ZWN0b3Igc2l6ZSBtaXNtYXRjaABBc3NlcnRpb24gYHB5cmFtaWQtPmltYWdlcygpWzBdLmhlaWdodCgpID09IGRldGVjdG9yLT5oZWlnaHQoKWAgZmFpbGVkIGluIABOU3QzX18yMTRkZWZhdWx0X2RlbGV0ZUlONnZpc2lvbjhLZXlmcmFtZUlMaTk2RUVFRUUATlN0M19fMjIwX19zaGFyZWRfcHRyX3BvaW50ZXJJUE42dmlzaW9uOEtleWZyYW1lSUxpOTZFRUVOU18xNGRlZmF1bHRfZGVsZXRlSVMzX0VFTlNfOWFsbG9jYXRvcklTM19FRUVFAFslc10gWyVzXSBbJXNdIDogRm91bmQgJWQgZmVhdHVyZXMgaW4gcXVlcnkAYm9vbCB2aXNpb246OlZpc3VhbERhdGFiYXNlPHZpc2lvbjo6RlJFQUtFeHRyYWN0b3IsIHZpc2lvbjo6QmluYXJ5RmVhdHVyZVN0b3JlLCB2aXNpb246OkJpbmFyeUZlYXR1cmVNYXRjaGVyPDk2PiA+OjpxdWVyeShjb25zdCB2aXNpb246OkdhdXNzaWFuU2NhbGVTcGFjZVB5cmFtaWQgKikgW0ZFQVRVUkVfRVhUUkFDVE9SID0gdmlzaW9uOjpGUkVBS0V4dHJhY3RvciwgU1RPUkUgPSB2aXNpb246OkJpbmFyeUZlYXR1cmVTdG9yZSwgTUFUQ0hFUiA9IHZpc2lvbjo6QmluYXJ5RmVhdHVyZU1hdGNoZXI8OTY+XQBGaW5kIE1hdGNoZXMgKDEpAEhvdWdoIFZvdGluZyAoMSkARmluZCBIb3VnaCBNYXRjaGVzICgxKQBFc3RpbWF0ZSBIb21vZ3JhcGh5ICgxKQBGaW5kIElubGllcnMgKDEpAEZpbmQgTWF0Y2hlcyAoMikASG91Z2ggVm90aW5nICgyKQBGaW5kIEhvdWdoIE1hdGNoZXMgKDIpAEVzdGltYXRlIEhvbW9ncmFwaHkgKDIpAEZpbmQgSW5saWVycyAoMikAQXNzZXJ0aW9uIGAwYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdDUvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9mZWF0dXJlX21hdGNoZXItaW5saW5lLmgARmFpbGVkIHRvIGNvbXB1dGUgbWF0cml4IGludmVyc2UAQXNzZXJ0aW9uIGBiZXN0X2luZGV4ICE9IHN0ZDo6bnVtZXJpY19saW1pdHM8c2l6ZV90Pjo6bWF4KClgIGZhaWxlZCBpbiAAU29tZXRoaW5nIHN0cmFuZ2UAQXNzZXJ0aW9uIGBtTWF0Y2hlcy5zaXplKCkgPD0gZmVhdHVyZXMxLT5zaXplKClgIGZhaWxlZCBpbiAATnVtYmVyIG9mIG1hdGNoZXMgc2hvdWxkIGJlIGxvd2VyAEFzc2VydGlvbiBgaHlwLnNpemUoKSA+PSA5Km1heF9udW1faHlwb3RoZXNlc2AgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvaG9tb2dyYXBoeV9lc3RpbWF0aW9uL3JvYnVzdF9ob21vZ3JhcGh5LmgAaHlwIHZlY3RvciBzaG91bGQgYmUgb2Ygc2l6ZSA5Km1heF9udW1faHlwb3RoZXNlcwBBc3NlcnRpb24gYHRtcF9pLnNpemUoKSA+PSBudW1fcG9pbnRzYCBmYWlsZWQgaW4gAHRtcF9pIHZlY3RvciBzaG91bGQgYmUgb2Ygc2l6ZSBudW1fcG9pbnRzAEFzc2VydGlvbiBgaHlwX2Nvc3RzLnNpemUoKSA+PSBtYXhfbnVtX2h5cG90aGVzZXNgIGZhaWxlZCBpbiAAaHlwX2Nvc3RzIHZlY3RvciBzaG91bGQgYmUgb2Ygc2l6ZSBtYXhfbnVtX2h5cG90aGVzZXMAQXNzZXJ0aW9uIGBuIDw9IGluX21hdGNoZXMuc2l6ZSgpYCBmYWlsZWQgaW4gAFNob3VsZCBiZSB0aGUgc2FtZQBBc3NlcnRpb24gYGRpc3RCaW5BbmdsZSA+PSAwYCBmYWlsZWQgaW4gAGRpc3RCaW5BbmdsZSBtdXN0IG5vdCBiZSBuZWdhdGl2ZQBBc3NlcnRpb24gYG1Sb290LmdldCgpYCBmYWlsZWQgaW4gAFJvb3QgY2Fubm90IGJlIE5VTEwAQXNzZXJ0aW9uIGBtaW5pICE9IC0xYCBmYWlsZWQgaW4gAE1pbmltdW0gaW5kZXggbm90IHNldABBc3NlcnRpb24gYHggPj0gbU1pblhgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0NS9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2hvdWdoX3NpbWlsYXJpdHlfdm90aW5nLmgAeCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGB4IDwgbU1heFhgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB5ID49IG1NaW5ZYCBmYWlsZWQgaW4gAHkgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgeSA8IG1NYXhZYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYW5nbGUgPiAtUElgIGZhaWxlZCBpbiAAYW5nbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYW5nbGUgPD0gUElgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBzY2FsZSA+PSBtTWluU2NhbGVgIGZhaWxlZCBpbiAAc2NhbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgc2NhbGUgPCBtTWF4U2NhbGVgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbmRleCA+PSAwYCBmYWlsZWQgaW4gAGluZGV4IG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblggPj0gMGAgZmFpbGVkIGluIABiaW5YIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblggPCBtTnVtWEJpbnNgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBiaW5ZID49IDBgIGZhaWxlZCBpbiAAYmluWSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiaW5ZIDwgbU51bVlCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYmluQW5nbGUgPj0gMGAgZmFpbGVkIGluIABiaW5BbmdsZSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiaW5BbmdsZSA8IG1OdW1BbmdsZUJpbnNgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBiaW5TY2FsZSA+PSAwYCBmYWlsZWQgaW4gAGJpblNjYWxlIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblNjYWxlIDwgbU51bVNjYWxlQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGluZGV4IDw9IChiaW5YICsgYmluWSptTnVtWEJpbnMgKyBiaW5BbmdsZSptTnVtWEJpbnMqbU51bVlCaW5zICsgYmluU2NhbGUqbU51bVhCaW5zKm1OdW1ZQmlucyptTnVtQW5nbGVCaW5zKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHNpemUgPiAwYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdDUvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9ob3VnaF9zaW1pbGFyaXR5X3ZvdGluZy5jcHAAc2l6ZSBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbVJlZkltYWdlV2lkdGggPiAwYCBmYWlsZWQgaW4gAHdpZHRoIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBtUmVmSW1hZ2VIZWlnaHQgPiAwYCBmYWlsZWQgaW4gAGhlaWdodCBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbiA+IDBgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0NS9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL3V0aWxzL3BhcnRpYWxfc29ydC5oAG4gbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYGsgPiAwYCBmYWlsZWQgaW4gAGsgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHB5cmFtaWRgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0NS9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2ZyZWFrLmgAUHlyYW1pZCBpcyBOVUxMAEFzc2VydGlvbiBgc3RvcmUuc2l6ZSgpID09IHBvaW50cy5zaXplKClgIGZhaWxlZCBpbiAARmVhdHVyZSBzdG9yZSBoYXMgbm90IGJlZW4gYWxsb2NhdGVkAEFzc2VydGlvbiBgbnVtX3BvaW50cyA9PSBwb2ludHMuc2l6ZSgpYCBmYWlsZWQgaW4gAFNob3VsZCBiZSBzYW1lIHNpemUAQXNzZXJ0aW9uIGBvY3RhdmUgPj0gMGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2dhdXNzaWFuX3NjYWxlX3NwYWNlX3B5cmFtaWQuaABPY3RhdmUgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYG9jdGF2ZSA8IG1OdW1PY3RhdmVzYCBmYWlsZWQgaW4gAE9jdGF2ZSBtdXN0IGJlIGxlc3MgdGhhbiBudW1iZXIgb2Ygb2N0YXZlcwBBc3NlcnRpb24gYHNjYWxlID49IDBgIGZhaWxlZCBpbiAAU2NhbGUgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHNjYWxlIDwgbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIABTY2FsZSBtdXN0IGJlIGxlc3MgdGhhbiBudW1iZXIgb2Ygc2NhbGUgcGVyIG9jdGF2ZQAlbS0lZC0lWS0lSC0lTS0lUwBBc3NlcnRpb24gYHdpZHRoID4gMGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZnJhbWV3b3JrL2ltYWdlLmNwcABXaWR0aCBjYW5ub3QgYmUgemVybwBBc3NlcnRpb24gYGhlaWdodCA+IDBgIGZhaWxlZCBpbiAASGVpZ2h0IGNhbm5vdCBiZSB6ZXJvAEFzc2VydGlvbiBgc3RlcCA+PSB3aWR0aGAgZmFpbGVkIGluIABTdGVwIG11c3QgYmUgZ3JlYXRlciB0aGFuIG9yIGVxdWFsIHRoZSB3aWR0aABBc3NlcnRpb24gYGNoYW5uZWxzID4gMGAgZmFpbGVkIGluIABOdW1iZXIgb2YgY2hhbm5lbHMgY2Fubm90IGJlIHplcm8AQXNzZXJ0aW9uIGBtRGF0YS5nZXQoKWAgZmFpbGVkIGluIABEYXRhIHBvaW50ZXIgaXMgTlVMTABOU3QzX18yMTRkZWZhdWx0X2RlbGV0ZUloRUUATlN0M19fMjIwX19zaGFyZWRfcHRyX3BvaW50ZXJJUGhOU18xNGRlZmF1bHRfZGVsZXRlSWhFRU5TXzlhbGxvY2F0b3JJaEVFRUUASW52YWxpZCBpbWFnZSB0eXBlADE2TnVsbEFycmF5RGVsZXRlckloRQBOU3QzX18yMjBfX3NoYXJlZF9wdHJfcG9pbnRlcklQaDE2TnVsbEFycmF5RGVsZXRlckloRU5TXzlhbGxvY2F0b3JJaEVFRUUAQXNzZXJ0aW9uIGBtU3RhcnRUaW1lID49IDBgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0NS9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2ZyYW1ld29yay90aW1lcnMuY3BwACBsaW5lIAA6IABDbG9jayBoYXMgbm90IGJlZW4gc3RhcnRlZABBc3NlcnRpb24gYG1TdG9wVGltZSA+PSAwYCBmYWlsZWQgaW4gAENsb2NrIGhhcyBub3QgYmVlbiBzdG9wcGVkAFslc10gWyVzXSBbJXNdIDogJXM6ICVmIG1zACBJTkZPICAAdmlzaW9uOjpTY29wZWRUaW1lcjo6flNjb3BlZFRpbWVyKCkAQm9ndXMgbWVzc2FnZSBjb2RlICVkAFNvcnJ5LCB0aGVyZSBhcmUgbGVnYWwgcmVzdHJpY3Rpb25zIG9uIGFyaXRobWV0aWMgY29kaW5nAEFMSUdOX1RZUEUgaXMgd3JvbmcsIHBsZWFzZSBmaXgATUFYX0FMTE9DX0NIVU5LIGlzIHdyb25nLCBwbGVhc2UgZml4AEJvZ3VzIGJ1ZmZlciBjb250cm9sIG1vZGUASW52YWxpZCBjb21wb25lbnQgSUQgJWQgaW4gU09TAERDVCBjb2VmZmljaWVudCBvdXQgb2YgcmFuZ2UASURDVCBvdXRwdXQgYmxvY2sgc2l6ZSAlZCBub3Qgc3VwcG9ydGVkAEJvZ3VzIEh1ZmZtYW4gdGFibGUgZGVmaW5pdGlvbgBCb2d1cyBpbnB1dCBjb2xvcnNwYWNlAEJvZ3VzIEpQRUcgY29sb3JzcGFjZQBCb2d1cyBtYXJrZXIgbGVuZ3RoAFdyb25nIEpQRUcgbGlicmFyeSB2ZXJzaW9uOiBsaWJyYXJ5IGlzICVkLCBjYWxsZXIgZXhwZWN0cyAlZABTYW1wbGluZyBmYWN0b3JzIHRvbyBsYXJnZSBmb3IgaW50ZXJsZWF2ZWQgc2NhbgBJbnZhbGlkIG1lbW9yeSBwb29sIGNvZGUgJWQAVW5zdXBwb3J0ZWQgSlBFRyBkYXRhIHByZWNpc2lvbiAlZABJbnZhbGlkIHByb2dyZXNzaXZlIHBhcmFtZXRlcnMgU3M9JWQgU2U9JWQgQWg9JWQgQWw9JWQASW52YWxpZCBwcm9ncmVzc2l2ZSBwYXJhbWV0ZXJzIGF0IHNjYW4gc2NyaXB0IGVudHJ5ICVkAEJvZ3VzIHNhbXBsaW5nIGZhY3RvcnMASW52YWxpZCBzY2FuIHNjcmlwdCBhdCBlbnRyeSAlZABJbXByb3BlciBjYWxsIHRvIEpQRUcgbGlicmFyeSBpbiBzdGF0ZSAlZABKUEVHIHBhcmFtZXRlciBzdHJ1Y3QgbWlzbWF0Y2g6IGxpYnJhcnkgdGhpbmtzIHNpemUgaXMgJXUsIGNhbGxlciBleHBlY3RzICV1AEJvZ3VzIHZpcnR1YWwgYXJyYXkgYWNjZXNzAEJ1ZmZlciBwYXNzZWQgdG8gSlBFRyBsaWJyYXJ5IGlzIHRvbyBzbWFsbABTdXNwZW5zaW9uIG5vdCBhbGxvd2VkIGhlcmUAQ0NJUjYwMSBzYW1wbGluZyBub3QgaW1wbGVtZW50ZWQgeWV0AFRvbyBtYW55IGNvbG9yIGNvbXBvbmVudHM6ICVkLCBtYXggJWQAVW5zdXBwb3J0ZWQgY29sb3IgY29udmVyc2lvbiByZXF1ZXN0AEJvZ3VzIERBQyBpbmRleCAlZABCb2d1cyBEQUMgdmFsdWUgMHgleABCb2d1cyBESFQgaW5kZXggJWQAQm9ndXMgRFFUIGluZGV4ICVkAEVtcHR5IEpQRUcgaW1hZ2UgKEROTCBub3Qgc3VwcG9ydGVkKQBSZWFkIGZyb20gRU1TIGZhaWxlZABXcml0ZSB0byBFTVMgZmFpbGVkAERpZG4ndCBleHBlY3QgbW9yZSB0aGFuIG9uZSBzY2FuAElucHV0IGZpbGUgcmVhZCBlcnJvcgBPdXRwdXQgZmlsZSB3cml0ZSBlcnJvciAtLS0gb3V0IG9mIGRpc2sgc3BhY2U/AEZyYWN0aW9uYWwgc2FtcGxpbmcgbm90IGltcGxlbWVudGVkIHlldABIdWZmbWFuIGNvZGUgc2l6ZSB0YWJsZSBvdmVyZmxvdwBNaXNzaW5nIEh1ZmZtYW4gY29kZSB0YWJsZSBlbnRyeQBNYXhpbXVtIHN1cHBvcnRlZCBpbWFnZSBkaW1lbnNpb24gaXMgJXUgcGl4ZWxzAEVtcHR5IGlucHV0IGZpbGUAUHJlbWF0dXJlIGVuZCBvZiBpbnB1dCBmaWxlAENhbm5vdCB0cmFuc2NvZGUgZHVlIHRvIG11bHRpcGxlIHVzZSBvZiBxdWFudGl6YXRpb24gdGFibGUgJWQAU2NhbiBzY3JpcHQgZG9lcyBub3QgdHJhbnNtaXQgYWxsIGRhdGEASW52YWxpZCBjb2xvciBxdWFudGl6YXRpb24gbW9kZSBjaGFuZ2UATm90IGltcGxlbWVudGVkIHlldABSZXF1ZXN0ZWQgZmVhdHVyZSB3YXMgb21pdHRlZCBhdCBjb21waWxlIHRpbWUAQmFja2luZyBzdG9yZSBub3Qgc3VwcG9ydGVkAEh1ZmZtYW4gdGFibGUgMHglMDJ4IHdhcyBub3QgZGVmaW5lZABKUEVHIGRhdGFzdHJlYW0gY29udGFpbnMgbm8gaW1hZ2UAUXVhbnRpemF0aW9uIHRhYmxlIDB4JTAyeCB3YXMgbm90IGRlZmluZWQATm90IGEgSlBFRyBmaWxlOiBzdGFydHMgd2l0aCAweCUwMnggMHglMDJ4AEluc3VmZmljaWVudCBtZW1vcnkgKGNhc2UgJWQpAENhbm5vdCBxdWFudGl6ZSBtb3JlIHRoYW4gJWQgY29sb3IgY29tcG9uZW50cwBDYW5ub3QgcXVhbnRpemUgdG8gZmV3ZXIgdGhhbiAlZCBjb2xvcnMAQ2Fubm90IHF1YW50aXplIHRvIG1vcmUgdGhhbiAlZCBjb2xvcnMASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiB0d28gU09GIG1hcmtlcnMASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiBtaXNzaW5nIFNPUyBtYXJrZXIAVW5zdXBwb3J0ZWQgSlBFRyBwcm9jZXNzOiBTT0YgdHlwZSAweCUwMngASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiB0d28gU09JIG1hcmtlcnMASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiBTT1MgYmVmb3JlIFNPRgBGYWlsZWQgdG8gY3JlYXRlIHRlbXBvcmFyeSBmaWxlICVzAFJlYWQgZmFpbGVkIG9uIHRlbXBvcmFyeSBmaWxlAFNlZWsgZmFpbGVkIG9uIHRlbXBvcmFyeSBmaWxlAFdyaXRlIGZhaWxlZCBvbiB0ZW1wb3JhcnkgZmlsZSAtLS0gb3V0IG9mIGRpc2sgc3BhY2U/AEFwcGxpY2F0aW9uIHRyYW5zZmVycmVkIHRvbyBmZXcgc2NhbmxpbmVzAFVuc3VwcG9ydGVkIG1hcmtlciB0eXBlIDB4JTAyeABWaXJ0dWFsIGFycmF5IGNvbnRyb2xsZXIgbWVzc2VkIHVwAEltYWdlIHRvbyB3aWRlIGZvciB0aGlzIGltcGxlbWVudGF0aW9uAFJlYWQgZnJvbSBYTVMgZmFpbGVkAFdyaXRlIHRvIFhNUyBmYWlsZWQAQ29weXJpZ2h0IChDKSAxOTk4LCBUaG9tYXMgRy4gTGFuZQA2YiAgMjctTWFyLTE5OTgAQ2F1dGlvbjogcXVhbnRpemF0aW9uIHRhYmxlcyBhcmUgdG9vIGNvYXJzZSBmb3IgYmFzZWxpbmUgSlBFRwBBZG9iZSBBUFAxNCBtYXJrZXI6IHZlcnNpb24gJWQsIGZsYWdzIDB4JTA0eCAweCUwNHgsIHRyYW5zZm9ybSAlZABVbmtub3duIEFQUDAgbWFya2VyIChub3QgSkZJRiksIGxlbmd0aCAldQBVbmtub3duIEFQUDE0IG1hcmtlciAobm90IEFkb2JlKSwgbGVuZ3RoICV1AERlZmluZSBBcml0aG1ldGljIFRhYmxlIDB4JTAyeDogMHglMDJ4AERlZmluZSBIdWZmbWFuIFRhYmxlIDB4JTAyeABEZWZpbmUgUXVhbnRpemF0aW9uIFRhYmxlICVkICBwcmVjaXNpb24gJWQARGVmaW5lIFJlc3RhcnQgSW50ZXJ2YWwgJXUARnJlZWQgRU1TIGhhbmRsZSAldQBPYnRhaW5lZCBFTVMgaGFuZGxlICV1AEVuZCBPZiBJbWFnZQAgICAgICAgICUzZCAlM2QgJTNkICUzZCAlM2QgJTNkICUzZCAlM2QASkZJRiBBUFAwIG1hcmtlcjogdmVyc2lvbiAlZC4lMDJkLCBkZW5zaXR5ICVkeCVkICAlZABXYXJuaW5nOiB0aHVtYm5haWwgaW1hZ2Ugc2l6ZSBkb2VzIG5vdCBtYXRjaCBkYXRhIGxlbmd0aCAldQBKRklGIGV4dGVuc2lvbiBtYXJrZXI6IHR5cGUgMHglMDJ4LCBsZW5ndGggJXUAICAgIHdpdGggJWQgeCAlZCB0aHVtYm5haWwgaW1hZ2UATWlzY2VsbGFuZW91cyBtYXJrZXIgMHglMDJ4LCBsZW5ndGggJXUAVW5leHBlY3RlZCBtYXJrZXIgMHglMDJ4ACAgICAgICAgJTR1ICU0dSAlNHUgJTR1ICU0dSAlNHUgJTR1ICU0dQBRdWFudGl6aW5nIHRvICVkID0gJWQqJWQqJWQgY29sb3JzAFF1YW50aXppbmcgdG8gJWQgY29sb3JzAFNlbGVjdGVkICVkIGNvbG9ycyBmb3IgcXVhbnRpemF0aW9uAEF0IG1hcmtlciAweCUwMngsIHJlY292ZXJ5IGFjdGlvbiAlZABSU1QlZABTbW9vdGhpbmcgbm90IHN1cHBvcnRlZCB3aXRoIG5vbnN0YW5kYXJkIHNhbXBsaW5nIHJhdGlvcwBTdGFydCBPZiBGcmFtZSAweCUwMng6IHdpZHRoPSV1LCBoZWlnaHQ9JXUsIGNvbXBvbmVudHM9JWQAICAgIENvbXBvbmVudCAlZDogJWRoeCVkdiBxPSVkAFN0YXJ0IG9mIEltYWdlAFN0YXJ0IE9mIFNjYW46ICVkIGNvbXBvbmVudHMAICAgIENvbXBvbmVudCAlZDogZGM9JWQgYWM9JWQAICBTcz0lZCwgU2U9JWQsIEFoPSVkLCBBbD0lZABDbG9zZWQgdGVtcG9yYXJ5IGZpbGUgJXMAT3BlbmVkIHRlbXBvcmFyeSBmaWxlICVzAEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogSlBFRy1jb21wcmVzc2VkIHRodW1ibmFpbCBpbWFnZSwgbGVuZ3RoICV1AEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogcGFsZXR0ZSB0aHVtYm5haWwgaW1hZ2UsIGxlbmd0aCAldQBKRklGIGV4dGVuc2lvbiBtYXJrZXI6IFJHQiB0aHVtYm5haWwgaW1hZ2UsIGxlbmd0aCAldQBVbnJlY29nbml6ZWQgY29tcG9uZW50IElEcyAlZCAlZCAlZCwgYXNzdW1pbmcgWUNiQ3IARnJlZWQgWE1TIGhhbmRsZSAldQBPYnRhaW5lZCBYTVMgaGFuZGxlICV1AFVua25vd24gQWRvYmUgY29sb3IgdHJhbnNmb3JtIGNvZGUgJWQASW5jb25zaXN0ZW50IHByb2dyZXNzaW9uIHNlcXVlbmNlIGZvciBjb21wb25lbnQgJWQgY29lZmZpY2llbnQgJWQAQ29ycnVwdCBKUEVHIGRhdGE6ICV1IGV4dHJhbmVvdXMgYnl0ZXMgYmVmb3JlIG1hcmtlciAweCUwMngAQ29ycnVwdCBKUEVHIGRhdGE6IHByZW1hdHVyZSBlbmQgb2YgZGF0YSBzZWdtZW50AENvcnJ1cHQgSlBFRyBkYXRhOiBiYWQgSHVmZm1hbiBjb2RlAFdhcm5pbmc6IHVua25vd24gSkZJRiByZXZpc2lvbiBudW1iZXIgJWQuJTAyZABQcmVtYXR1cmUgZW5kIG9mIEpQRUcgZmlsZQBDb3JydXB0IEpQRUcgZGF0YTogZm91bmQgbWFya2VyIDB4JTAyeCBpbnN0ZWFkIG9mIFJTVCVkAEludmFsaWQgU09TIHBhcmFtZXRlcnMgZm9yIHNlcXVlbnRpYWwgSlBFRwBBcHBsaWNhdGlvbiB0cmFuc2ZlcnJlZCB0b28gbWFueSBzY2FubGluZXMASlBFR01FTQAlbGQlYwAlcwoAc2V0dXAAdGVhcmRvd24Ac2V0dXBBUjIAX2FkZE1hcmtlcgBfYWRkTXVsdGlNYXJrZXIAX2FkZE5GVE1hcmtlcgBnZXRNdWx0aU1hcmtlck51bQBnZXRNdWx0aU1hcmtlckNvdW50AF9sb2FkQ2FtZXJhAHNldE1hcmtlckluZm9EaXIAc2V0TWFya2VySW5mb1ZlcnRleABnZXRUcmFuc01hdFNxdWFyZQBnZXRUcmFuc01hdFNxdWFyZUNvbnQAZ2V0VHJhbnNNYXRNdWx0aVNxdWFyZQBnZXRUcmFuc01hdE11bHRpU3F1YXJlUm9idXN0AGRldGVjdE1hcmtlcgBnZXRNYXJrZXJOdW0AZGV0ZWN0TkZUTWFya2VyAGdldE11bHRpRWFjaE1hcmtlcgBnZXRNYXJrZXIAZ2V0TkZUTWFya2VyAHNldERlYnVnTW9kZQBnZXREZWJ1Z01vZGUAZ2V0UHJvY2Vzc2luZ0ltYWdlAHNldExvZ0xldmVsAGdldExvZ0xldmVsAHNldFByb2plY3Rpb25OZWFyUGxhbmUAZ2V0UHJvamVjdGlvbk5lYXJQbGFuZQBzZXRQcm9qZWN0aW9uRmFyUGxhbmUAZ2V0UHJvamVjdGlvbkZhclBsYW5lAHNldFRocmVzaG9sZE1vZGUAZ2V0VGhyZXNob2xkTW9kZQBzZXRUaHJlc2hvbGQAZ2V0VGhyZXNob2xkAHNldFBhdHRlcm5EZXRlY3Rpb25Nb2RlAGdldFBhdHRlcm5EZXRlY3Rpb25Nb2RlAHNldFBhdHRSYXRpbwBnZXRQYXR0UmF0aW8Ac2V0TWF0cml4Q29kZVR5cGUAZ2V0TWF0cml4Q29kZVR5cGUAc2V0TGFiZWxpbmdNb2RlAGdldExhYmVsaW5nTW9kZQBzZXRJbWFnZVByb2NNb2RlAGdldEltYWdlUHJvY01vZGUARVJST1JfQVJDT05UUk9MTEVSX05PVF9GT1VORABFUlJPUl9NVUxUSU1BUktFUl9OT1RfRk9VTkQARVJST1JfTUFSS0VSX0lOREVYX09VVF9PRl9CT1VORFMAQVJfREVCVUdfRElTQUJMRQBBUl9ERUJVR19FTkFCTEUAQVJfREVGQVVMVF9ERUJVR19NT0RFAEFSX0xBQkVMSU5HX1dISVRFX1JFR0lPTgBBUl9MQUJFTElOR19CTEFDS19SRUdJT04AQVJfREVGQVVMVF9MQUJFTElOR19NT0RFAEFSX0RFRkFVTFRfTEFCRUxJTkdfVEhSRVNIAEFSX0lNQUdFX1BST0NfRlJBTUVfSU1BR0UAQVJfSU1BR0VfUFJPQ19GSUVMRF9JTUFHRQBBUl9ERUZBVUxUX0lNQUdFX1BST0NfTU9ERQBBUl9URU1QTEFURV9NQVRDSElOR19DT0xPUgBBUl9URU1QTEFURV9NQVRDSElOR19NT05PAEFSX01BVFJJWF9DT0RFX0RFVEVDVElPTgBBUl9URU1QTEFURV9NQVRDSElOR19DT0xPUl9BTkRfTUFUUklYAEFSX1RFTVBMQVRFX01BVENISU5HX01PTk9fQU5EX01BVFJJWABBUl9ERUZBVUxUX1BBVFRFUk5fREVURUNUSU9OX01PREUAQVJfVVNFX1RSQUNLSU5HX0hJU1RPUlkAQVJfTk9VU0VfVFJBQ0tJTkdfSElTVE9SWQBBUl9VU0VfVFJBQ0tJTkdfSElTVE9SWV9WMgBBUl9ERUZBVUxUX01BUktFUl9FWFRSQUNUSU9OX01PREUAQVJfTUFYX0xPT1BfQ09VTlQAQVJfTE9PUF9CUkVBS19USFJFU0gAQVJfTE9HX0xFVkVMX0RFQlVHAEFSX0xPR19MRVZFTF9JTkZPAEFSX0xPR19MRVZFTF9XQVJOAEFSX0xPR19MRVZFTF9FUlJPUgBBUl9MT0dfTEVWRUxfUkVMX0lORk8AQVJfTUFUUklYX0NPREVfM3gzAEFSX01BVFJJWF9DT0RFXzN4M19IQU1NSU5HNjMAQVJfTUFUUklYX0NPREVfM3gzX1BBUklUWTY1AEFSX01BVFJJWF9DT0RFXzR4NABBUl9NQVRSSVhfQ09ERV80eDRfQkNIXzEzXzlfMwBBUl9NQVRSSVhfQ09ERV80eDRfQkNIXzEzXzVfNQBBUl9MQUJFTElOR19USFJFU0hfTU9ERV9NQU5VQUwAQVJfTEFCRUxJTkdfVEhSRVNIX01PREVfQVVUT19NRURJQU4AQVJfTEFCRUxJTkdfVEhSRVNIX01PREVfQVVUT19PVFNVAEFSX0xBQkVMSU5HX1RIUkVTSF9NT0RFX0FVVE9fQURBUFRJVkUAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX05PTkUAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX1BBVFRFUk5fRVhUUkFDVElPTgBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTUFUQ0hfR0VORVJJQwBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTUFUQ0hfQ09OVFJBU1QAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX01BVENIX0JBUkNPREVfTk9UX0ZPVU5EAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9CQVJDT0RFX0VEQ19GQUlMAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9DT05GSURFTkNFAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9QT1NFX0VSUk9SAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9QT1NFX0VSUk9SX01VTFRJAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9IRVVSSVNUSUNfVFJPVUJMRVNPTUVfTUFUUklYX0NPREVTAGFsbG9jYXRvcjxUPjo6YWxsb2NhdGUoc2l6ZV90IG4pICduJyBleGNlZWRzIG1heGltdW0gc3VwcG9ydGVkIHNpemUASW1hZ2UgcHJvYy4gbW9kZSBzZXQgdG8gJWQuCgBMYWJlbGluZyBtb2RlIHNldCB0byAlZAoAdmlpZgBQYXR0ZXJuIHJhdGlvIHNpemUgc2V0IHRvICVmLgoAUGF0dGVybiBkZXRlY3Rpb24gbW9kZSBzZXQgdG8gJWQuCgBUaHJlc2hvbGQgc2V0IHRvICVkCgB2aWlpAFRocmVzaG9sZCBtb2RlIHNldCB0byAlZAoAZGlpAHZpaWQAaWkAdmlpAG9uLgBvZmYuAERlYnVnIG1vZGUgc2V0IHRvICVzCgB7IHZhciAkYSA9IGFyZ3VtZW50czsgdmFyIGkgPSAwOyBpZiAoIWFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdKSB7IGFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdID0gKHsgaWQ6IDAsIGVycm9yOiAtMSwgZm91bmQ6IDAsIHBvc2U6IFswLDAsMCwwLCAwLDAsMCwwLCAwLDAsMCwwXSB9KTsgfSB2YXIgbWFya2VySW5mbyA9IGFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdOyBtYXJrZXJJbmZvWyJpZCJdID0gJGFbaSsrXTsgbWFya2VySW5mb1siZXJyb3IiXSA9ICRhW2krK107IG1hcmtlckluZm9bImZvdW5kIl0gPSAxOyBtYXJrZXJJbmZvWyJwb3NlIl1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bM10gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bNF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bNV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bNl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bN10gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bOF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bOV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMTBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzExXSA9ICRhW2krK107IH0AeyB2YXIgJGEgPSBhcmd1bWVudHM7IHZhciBpID0gMDsgaWYgKCFhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXSkgeyBhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXSA9ICh7IGlkOiAwLCBlcnJvcjogLTEsIGZvdW5kOiAwLCBwb3NlOiBbMCwwLDAsMCwgMCwwLDAsMCwgMCwwLDAsMF0gfSk7IH0gdmFyIG1hcmtlckluZm8gPSBhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXTsgbWFya2VySW5mb1siaWQiXSA9ICRhW2krK107IG1hcmtlckluZm9bImVycm9yIl0gPSAtMTsgbWFya2VySW5mb1siZm91bmQiXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVswXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsxXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsyXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVszXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs0XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs1XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs2XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs3XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs4XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs5XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsxMF0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bMTFdID0gMDsgfQB7IHZhciAkYSA9IGFyZ3VtZW50czsgdmFyIGkgPSAxMjsgaWYgKCFhcnRvb2xraXRbIm1hcmtlckluZm8iXSkgeyBhcnRvb2xraXRbIm1hcmtlckluZm8iXSA9ICh7IHBvczogWzAsMF0sIGxpbmU6IFtbMCwwLDBdLCBbMCwwLDBdLCBbMCwwLDBdLCBbMCwwLDBdXSwgdmVydGV4OiBbWzAsMF0sIFswLDBdLCBbMCwwXSwgWzAsMF1dIH0pOyB9IHZhciBtYXJrZXJJbmZvID0gYXJ0b29sa2l0WyJtYXJrZXJJbmZvIl07IG1hcmtlckluZm9bImFyZWEiXSA9ICQwOyBtYXJrZXJJbmZvWyJpZCJdID0gJDE7IG1hcmtlckluZm9bImlkUGF0dCJdID0gJDI7IG1hcmtlckluZm9bImlkTWF0cml4Il0gPSAkMzsgbWFya2VySW5mb1siZGlyIl0gPSAkNDsgbWFya2VySW5mb1siZGlyUGF0dCJdID0gJDU7IG1hcmtlckluZm9bImRpck1hdHJpeCJdID0gJDY7IG1hcmtlckluZm9bImNmIl0gPSAkNzsgbWFya2VySW5mb1siY2ZQYXR0Il0gPSAkODsgbWFya2VySW5mb1siY2ZNYXRyaXgiXSA9ICQ5OyBtYXJrZXJJbmZvWyJwb3MiXVswXSA9ICQxMDsgbWFya2VySW5mb1sicG9zIl1bMV0gPSAkMTE7IG1hcmtlckluZm9bImxpbmUiXVswXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVswXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVswXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsxXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsxXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsxXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsyXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsyXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsyXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVszXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVszXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVszXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzBdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bMF1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVsxXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzFdWzFdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bMl1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVsyXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzNdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bM11bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJlcnJvckNvcnJlY3RlZCJdID0gJGFbaSsrXTsgfQB7IGlmICghYXJ0b29sa2l0WyJtdWx0aUVhY2hNYXJrZXJJbmZvIl0pIHsgYXJ0b29sa2l0WyJtdWx0aUVhY2hNYXJrZXJJbmZvIl0gPSAoe30pOyB9IHZhciBtdWx0aUVhY2hNYXJrZXIgPSBhcnRvb2xraXRbIm11bHRpRWFjaE1hcmtlckluZm8iXTsgbXVsdGlFYWNoTWFya2VyWyd2aXNpYmxlJ10gPSAkMDsgbXVsdGlFYWNoTWFya2VyWydwYXR0SWQnXSA9ICQxOyBtdWx0aUVhY2hNYXJrZXJbJ3BhdHRUeXBlJ10gPSAkMjsgbXVsdGlFYWNoTWFya2VyWyd3aWR0aCddID0gJDM7IH0AaWlpAE5TdDNfXzIxMmJhc2ljX3N0cmluZ0ljTlNfMTFjaGFyX3RyYWl0c0ljRUVOU185YWxsb2NhdG9ySWNFRUVFAE5TdDNfXzIyMV9fYmFzaWNfc3RyaW5nX2NvbW1vbklMYjFFRUUAbG9hZENhbWVyYSgpOiBFcnJvciBsb2FkaW5nIHBhcmFtZXRlciBmaWxlICVzIGZvciBjYW1lcmEuCgBpaWlpAEFSVG9vbEtpdEpTKCk6IFVuYWJsZSB0byBzZXQgdXAgTkZUIG1hcmtlci4KAFJlYWRpbmcgJXMuZnNldDMKAGZzZXQzAEVycm9yIHJlYWRpbmcgS1BNIGRhdGEgZnJvbSAlcy5mc2V0MwoAICBBc3NpZ25lZCBwYWdlIG5vLiAlZC4KAEVycm9yOiBrcG1DaGFuZ2VQYWdlTm9PZlJlZkRhdGFTZXQKAEVycm9yOiBrcG1NZXJnZVJlZkRhdGFTZXQKACAgRG9uZS4KAFJlYWRpbmcgJXMuZnNldAoAZnNldABFcnJvciByZWFkaW5nIGRhdGEgZnJvbSAlcy5mc2V0CgBFcnJvcjoga3BtU2V0UmVmRGF0YVNldAoATG9hZGluZyBvZiBORlQgZGF0YSBjb21wbGV0ZS4KAEFSVG9vbEtpdEpTKCk6IFVuYWJsZSB0byBzZXQgdXAgQVIgbXVsdGltYXJrZXIuCgBjb25maWcgZGF0YSBsb2FkIGVycm9yICEhCgBBUlRvb2xLaXRKUygpOiBVbmFibGUgdG8gc2V0IHVwIEFSIG1hcmtlci4KAGxvYWRNYXJrZXIoKTogRXJyb3IgbG9hZGluZyBwYXR0ZXJuIGZpbGUgJXMuCgBpaWlpaQBzZXR1cCgpOiBFcnJvcjogYXJQYXR0Q3JlYXRlSGFuZGxlLgoAQWxsb2NhdGVkIHZpZGVvRnJhbWVTaXplICVkCgB7IGlmICghYXJ0b29sa2l0WyJmcmFtZU1hbGxvYyJdKSB7IGFydG9vbGtpdFsiZnJhbWVNYWxsb2MiXSA9ICh7fSk7IH0gdmFyIGZyYW1lTWFsbG9jID0gYXJ0b29sa2l0WyJmcmFtZU1hbGxvYyJdOyBmcmFtZU1hbGxvY1siZnJhbWVwb2ludGVyIl0gPSAkMTsgZnJhbWVNYWxsb2NbImZyYW1lc2l6ZSJdID0gJDI7IGZyYW1lTWFsbG9jWyJjYW1lcmEiXSA9ICQzOyBmcmFtZU1hbGxvY1sidHJhbnNmb3JtIl0gPSAkNDsgZnJhbWVNYWxsb2NbInZpZGVvTHVtYVBvaW50ZXIiXSA9ICQ1OyB9ACoqKiBDYW1lcmEgUGFyYW1ldGVyIHJlc2l6ZWQgZnJvbSAlZCwgJWQuICoqKgoAc2V0Q2FtZXJhKCk6IEVycm9yOiBhclBhcmFtTFRDcmVhdGUuCgBzZXRDYW1lcmEoKTogRXJyb3I6IGFyQ3JlYXRlSGFuZGxlLgoAc2V0Q2FtZXJhKCk6IEVycm9yIGNyZWF0aW5nIDNEIGhhbmRsZQBzdGQ6OmJhc2ljX3N0cmluZzx1bnNpZ25lZCBjaGFyPgBzdGQ6OndzdHJpbmcAZW1zY3JpcHRlbjo6dmFsAGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHNpZ25lZCBjaGFyPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBjaGFyPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxzaG9ydD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgc2hvcnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGludD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgaW50PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ4X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQ4X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGludDE2X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQzMl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8bG9uZyBkb3VibGU+AE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWVFRQBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxkb3VibGU+AE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWRFRQBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxmbG9hdD4ATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJZkVFAGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIGxvbmc+AE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SW1FRQBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxsb25nPgBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lsRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJakVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWlFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0l0RUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJc0VFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWhFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lhRUUAZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8Y2hhcj4ATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJY0VFAE4xMGVtc2NyaXB0ZW4zdmFsRQBOU3QzX18yMTJiYXNpY19zdHJpbmdJd05TXzExY2hhcl90cmFpdHNJd0VFTlNfOWFsbG9jYXRvckl3RUVFRQBOU3QzX18yMTJiYXNpY19zdHJpbmdJaE5TXzExY2hhcl90cmFpdHNJaEVFTlNfOWFsbG9jYXRvckloRUVFRQAAAQIEBwMGBQAtKyAgIDBYMHgAKG51bGwpAC0wWCswWCAwWC0weCsweCAweABpbmYASU5GAE5BTgBpbmZpbml0eQBuYW4AcndhAExDX0FMTABMQU5HAEMuVVRGLTgAUE9TSVgATVVTTF9MT0NQQVRIAHcrAE5TdDNfXzI4aW9zX2Jhc2VFAE5TdDNfXzI5YmFzaWNfaW9zSWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFAE5TdDNfXzI5YmFzaWNfaW9zSXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFAE5TdDNfXzIxNWJhc2ljX3N0cmVhbWJ1ZkljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRQBOU3QzX18yMTViYXNpY19zdHJlYW1idWZJd05TXzExY2hhcl90cmFpdHNJd0VFRUUATlN0M19fMjEzYmFzaWNfaXN0cmVhbUljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRQBOU3QzX18yMTNiYXNpY19pc3RyZWFtSXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFAE5TdDNfXzIxM2Jhc2ljX29zdHJlYW1JY05TXzExY2hhcl90cmFpdHNJY0VFRUUATlN0M19fMjEzYmFzaWNfb3N0cmVhbUl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRQBOU3QzX18yMTFfX3N0ZG91dGJ1Zkl3RUUATlN0M19fMjExX19zdGRvdXRidWZJY0VFAHVuc3VwcG9ydGVkIGxvY2FsZSBmb3Igc3RhbmRhcmQgaW5wdXQATlN0M19fMjEwX19zdGRpbmJ1Zkl3RUUATlN0M19fMjEwX19zdGRpbmJ1ZkljRUUATlN0M19fMjdjb2xsYXRlSWNFRQBOU3QzX18yNmxvY2FsZTVmYWNldEUATlN0M19fMjdjb2xsYXRlSXdFRQAlcABDAE5TdDNfXzI3bnVtX2dldEljTlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFRUUATlN0M19fMjlfX251bV9nZXRJY0VFAE5TdDNfXzIxNF9fbnVtX2dldF9iYXNlRQBOU3QzX18yN251bV9nZXRJd05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzI5X19udW1fZ2V0SXdFRQAlcAAAAABMACUAAAAAAE5TdDNfXzI3bnVtX3B1dEljTlNfMTlvc3RyZWFtYnVmX2l0ZXJhdG9ySWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFRUUATlN0M19fMjlfX251bV9wdXRJY0VFAE5TdDNfXzIxNF9fbnVtX3B1dF9iYXNlRQBOU3QzX18yN251bV9wdXRJd05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzI5X19udW1fcHV0SXdFRQAlSDolTTolUwAlbS8lZC8leQAlSTolTTolUyAlcAAlYSAlYiAlZCAlSDolTTolUyAlWQBBTQBQTQBKYW51YXJ5AEZlYnJ1YXJ5AE1hcmNoAEFwcmlsAE1heQBKdW5lAEp1bHkAQXVndXN0AFNlcHRlbWJlcgBPY3RvYmVyAE5vdmVtYmVyAERlY2VtYmVyAEphbgBGZWIATWFyAEFwcgBKdW4ASnVsAEF1ZwBTZXAAT2N0AE5vdgBEZWMAU3VuZGF5AE1vbmRheQBUdWVzZGF5AFdlZG5lc2RheQBUaHVyc2RheQBGcmlkYXkAU2F0dXJkYXkAU3VuAE1vbgBUdWUAV2VkAFRodQBGcmkAU2F0ACVtLyVkLyV5JVktJW0tJWQlSTolTTolUyAlcCVIOiVNJUg6JU06JVMlSDolTTolU05TdDNfXzI4dGltZV9nZXRJY05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIyMF9fdGltZV9nZXRfY19zdG9yYWdlSWNFRQBOU3QzX18yOXRpbWVfYmFzZUUATlN0M19fMjh0aW1lX2dldEl3TlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFRUUATlN0M19fMjIwX190aW1lX2dldF9jX3N0b3JhZ2VJd0VFAE5TdDNfXzI4dGltZV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMF9fdGltZV9wdXRFAE5TdDNfXzI4dGltZV9wdXRJd05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzIxMG1vbmV5cHVuY3RJY0xiMEVFRQBOU3QzX18yMTBtb25leV9iYXNlRQBOU3QzX18yMTBtb25leXB1bmN0SWNMYjFFRUUATlN0M19fMjEwbW9uZXlwdW5jdEl3TGIwRUVFAE5TdDNfXzIxMG1vbmV5cHVuY3RJd0xiMUVFRQAwMTIzNDU2Nzg5ACVMZgBOU3QzX18yOW1vbmV5X2dldEljTlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFRUUATlN0M19fMjExX19tb25leV9nZXRJY0VFADAxMjM0NTY3ODkATlN0M19fMjltb25leV9nZXRJd05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfZ2V0SXdFRQAlLjBMZgBOU3QzX18yOW1vbmV5X3B1dEljTlNfMTlvc3RyZWFtYnVmX2l0ZXJhdG9ySWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFRUUATlN0M19fMjExX19tb25leV9wdXRJY0VFAE5TdDNfXzI5bW9uZXlfcHV0SXdOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yMTFfX21vbmV5X3B1dEl3RUUATlN0M19fMjhtZXNzYWdlc0ljRUUATlN0M19fMjEzbWVzc2FnZXNfYmFzZUUATlN0M19fMjE3X193aWRlbl9mcm9tX3V0ZjhJTG0zMkVFRQBOU3QzX18yN2NvZGVjdnRJRGljMTFfX21ic3RhdGVfdEVFAE5TdDNfXzIxMmNvZGVjdnRfYmFzZUUATlN0M19fMjE2X19uYXJyb3dfdG9fdXRmOElMbTMyRUVFAE5TdDNfXzI4bWVzc2FnZXNJd0VFAE5TdDNfXzI3Y29kZWN2dEljYzExX19tYnN0YXRlX3RFRQBOU3QzX18yN2NvZGVjdnRJd2MxMV9fbWJzdGF0ZV90RUUATlN0M19fMjdjb2RlY3Z0SURzYzExX19tYnN0YXRlX3RFRQBOU3QzX18yNmxvY2FsZTVfX2ltcEUATlN0M19fMjVjdHlwZUljRUUATlN0M19fMjEwY3R5cGVfYmFzZUUATlN0M19fMjVjdHlwZUl3RUUATlN0M19fMjhudW1wdW5jdEljRUUATlN0M19fMjhudW1wdW5jdEl3RUUATlN0M19fMjE0X19zaGFyZWRfY291bnRFAE5TdDNfXzIxOV9fc2hhcmVkX3dlYWtfY291bnRFAHRlcm1pbmF0aW5nIHdpdGggJXMgZXhjZXB0aW9uIG9mIHR5cGUgJXM6ICVzAHRlcm1pbmF0aW5nIHdpdGggJXMgZXhjZXB0aW9uIG9mIHR5cGUgJXMAdGVybWluYXRpbmcgd2l0aCAlcyBmb3JlaWduIGV4Y2VwdGlvbgB0ZXJtaW5hdGluZwB1bmNhdWdodABTdDlleGNlcHRpb24ATjEwX19jeHhhYml2MTE2X19zaGltX3R5cGVfaW5mb0UAU3Q5dHlwZV9pbmZvAE4xMF9fY3h4YWJpdjEyMF9fc2lfY2xhc3NfdHlwZV9pbmZvRQBOMTBfX2N4eGFiaXYxMTdfX2NsYXNzX3R5cGVfaW5mb0UAcHRocmVhZF9vbmNlIGZhaWx1cmUgaW4gX19jeGFfZ2V0X2dsb2JhbHNfZmFzdCgpAGNhbm5vdCBjcmVhdGUgcHRocmVhZCBrZXkgZm9yIF9fY3hhX2dldF9nbG9iYWxzKCkAY2Fubm90IHplcm8gb3V0IHRocmVhZCB2YWx1ZSBmb3IgX19jeGFfZ2V0X2dsb2JhbHMoKQB0ZXJtaW5hdGVfaGFuZGxlciB1bmV4cGVjdGVkbHkgcmV0dXJuZWQAU3QxMWxvZ2ljX2Vycm9yAFN0MTJsZW5ndGhfZXJyb3IATjEwX19jeHhhYml2MTE5X19wb2ludGVyX3R5cGVfaW5mb0UATjEwX19jeHhhYml2MTE3X19wYmFzZV90eXBlX2luZm9FAE4xMF9fY3h4YWJpdjEyM19fZnVuZGFtZW50YWxfdHlwZV9pbmZvRQB2AGIAYwBoAGEAcwB0AGkAagBtAGYAZABOMTBfX2N4eGFiaXYxMjFfX3ZtaV9jbGFzc190eXBlX2luZm9FACBjb25zdAAgdm9sYXRpbGUAIHJlc3RyaWN0ACBjb21wbGV4ACBpbWFnaW5hcnkAIFsAICgAKQAoACYmAG9iamNfb2JqZWN0PAAqACYAb2JqY3Byb3RvACAAPAA+ACB2ZWN0b3JbAF0AcGl4ZWwgdmVjdG9yWwAmPQA9ACwAfgA6OgBkZWxldGVbXSAAZGVsZXRlIAAvAC89AF4AXj0APT0APj0AKVsAPD0APDwAPDw9AC0ALT0AKj0ALS0AKS0tACE9ACEAfHwAfAB8PQAtPioAKwArPQArKwApKysAKSA/ICgAKSA6ICgAJQAlPQA+PgA+Pj0AdGhyb3cAdGhyb3cgAHR5cGVpZCgAc2l6ZW9mLi4uKAAsIABzaXplb2YgKABzdGF0aWNfY2FzdDwAPigAcmVpbnRlcnByZXRfY2FzdDwALT4Abm9leGNlcHQgKABbXSAAKSAALgAuKgBzdGQ6OgBvcGVyYXRvciYmAG9wZXJhdG9yJgBvcGVyYXRvciY9AG9wZXJhdG9yPQBvcGVyYXRvcigpAG9wZXJhdG9yLABvcGVyYXRvcn4Ab3BlcmF0b3IgAG9wZXJhdG9yIGRlbGV0ZVtdAG9wZXJhdG9yKgBvcGVyYXRvci8Ab3BlcmF0b3IvPQBvcGVyYXRvcl4Ab3BlcmF0b3JePQBvcGVyYXRvcj09AG9wZXJhdG9yPj0Ab3BlcmF0b3I+AG9wZXJhdG9yW10Ab3BlcmF0b3I8PQBvcGVyYXRvciIiIABvcGVyYXRvcjw8AG9wZXJhdG9yPDw9AG9wZXJhdG9yPABvcGVyYXRvci0Ab3BlcmF0b3ItPQBvcGVyYXRvcio9AG9wZXJhdG9yLS0Ab3BlcmF0b3IgbmV3W10Ab3BlcmF0b3IhPQBvcGVyYXRvciEAb3BlcmF0b3IgbmV3AG9wZXJhdG9yfHwAb3BlcmF0b3J8AG9wZXJhdG9yfD0Ab3BlcmF0b3ItPioAb3BlcmF0b3IrAG9wZXJhdG9yKz0Ab3BlcmF0b3IrKwBvcGVyYXRvci0+AG9wZXJhdG9yPwBvcGVyYXRvciUAb3BlcmF0b3IlPQBvcGVyYXRvcj4+AG9wZXJhdG9yPj49AG9wZXJhdG9yIGRlbGV0ZQAndW5uYW1lZAAnbGFtYmRhJygAc3RkOjpzdHJpbmcAc3RkOjpiYXNpY19zdHJpbmc8Y2hhciwgc3RkOjpjaGFyX3RyYWl0czxjaGFyPiwgc3RkOjphbGxvY2F0b3I8Y2hhcj4gPgBiYXNpY19zdHJpbmcAc3RkOjppc3RyZWFtAHN0ZDo6YmFzaWNfaXN0cmVhbTxjaGFyLCBzdGQ6OmNoYXJfdHJhaXRzPGNoYXI+ID4AYmFzaWNfaXN0cmVhbQBzdGQ6Om9zdHJlYW0Ac3RkOjpiYXNpY19vc3RyZWFtPGNoYXIsIHN0ZDo6Y2hhcl90cmFpdHM8Y2hhcj4gPgBiYXNpY19vc3RyZWFtAHN0ZDo6aW9zdHJlYW0Ac3RkOjpiYXNpY19pb3N0cmVhbTxjaGFyLCBzdGQ6OmNoYXJfdHJhaXRzPGNoYXI+ID4AYmFzaWNfaW9zdHJlYW0AZHluYW1pY19jYXN0PAApKABjb25zdF9jYXN0PABhbGlnbm9mICgAZnAAd2NoYXJfdABmYWxzZQB0cnVlAGNoYXIAc2lnbmVkIGNoYXIAdW5zaWduZWQgY2hhcgBzaG9ydAB1bnNpZ25lZCBzaG9ydAB1AGwAdWwAbGwAdWxsAF9faW50MTI4AHVuc2lnbmVkIF9faW50MTI4ACVMYUwAJWEAJWFmAGRlY2x0eXBlKABzdGQ6OmFsbG9jYXRvcgBzdGQ6OmJhc2ljX3N0cmluZwA6OnN0cmluZyBsaXRlcmFsAHN0ZABfR0xPQkFMX19OAChhbm9ueW1vdXMgbmFtZXNwYWNlKQAgPgBUXwBpZAA6OioAICYAICYmACBbXQB2b2lkAGJvb2wAaW50AHVuc2lnbmVkIGludABsb25nAHVuc2lnbmVkIGxvbmcAbG9uZyBsb25nAGZsb2F0AGxvbmcgZG91YmxlAF9fZmxvYXQxMjgALi4uAGRlY2ltYWw2NABkZWNpbWFsMTI4AGRlY2ltYWwzMgBkZWNpbWFsMTYAY2hhcjMyX3QAY2hhcjE2X3QAYXV0bwBzdGQ6Om51bGxwdHJfdABkb3VibGUAdW5zaWduZWQgbG9uZyBsb25nAF9ibG9ja19pbnZva2UAaW52b2NhdGlvbiBmdW5jdGlvbiBmb3IgYmxvY2sgaW4gAHZ0YWJsZSBmb3IgAFZUVCBmb3IgAHR5cGVpbmZvIGZvciAAdHlwZWluZm8gbmFtZSBmb3IgAGNvdmFyaWFudCByZXR1cm4gdGh1bmsgdG8gAGNvbnN0cnVjdGlvbiB2dGFibGUgZm9yIAAtaW4tAHZpcnR1YWwgdGh1bmsgdG8gAG5vbi12aXJ0dWFsIHRodW5rIHRvIABndWFyZCB2YXJpYWJsZSBmb3IgAHJlZmVyZW5jZSB0ZW1wb3JhcnkgZm9yIA=="; - -var tempDoublePtr = 58576; - -assert(tempDoublePtr % 8 == 0); - -var ENV = {}; - -function ___buildEnvironment(environ) { - var MAX_ENV_VALUES = 64; - var TOTAL_ENV_SIZE = 1024; - var poolPtr; - var envPtr; - if (!___buildEnvironment.called) { - ___buildEnvironment.called = true; - ENV["USER"] = ENV["LOGNAME"] = "web_user"; - ENV["PATH"] = "/"; - ENV["PWD"] = "/"; - ENV["HOME"] = "/home/web_user"; - ENV["LANG"] = "C.UTF-8"; - ENV["_"] = Module["thisProgram"]; - poolPtr = getMemory(TOTAL_ENV_SIZE); - envPtr = getMemory(MAX_ENV_VALUES * 4); - HEAP32[envPtr >> 2] = poolPtr; - HEAP32[environ >> 2] = envPtr; - } else { - envPtr = HEAP32[environ >> 2]; - poolPtr = HEAP32[envPtr >> 2]; - } - var strings = []; - var totalSize = 0; - for (var key in ENV) { - if (typeof ENV[key] === "string") { - var line = key + "=" + ENV[key]; - strings.push(line); - totalSize += line.length; - } - } - if (totalSize > TOTAL_ENV_SIZE) { - throw new Error("Environment size exceeded TOTAL_ENV_SIZE!"); - } - var ptrSize = 4; - for (var i = 0; i < strings.length; i++) { - var line = strings[i]; - writeAsciiToMemory(line, poolPtr); - HEAP32[envPtr + i * ptrSize >> 2] = poolPtr; - poolPtr += line.length + 1; - } - HEAP32[envPtr + strings.length * ptrSize >> 2] = 0; -} - -function _emscripten_get_now() { - abort(); -} - -function _emscripten_get_now_is_monotonic() { - return 0 || ENVIRONMENT_IS_NODE || typeof dateNow !== "undefined" || typeof performance === "object" && performance && typeof performance["now"] === "function"; -} - -function ___setErrNo(value) { - if (Module["___errno_location"]) HEAP32[Module["___errno_location"]() >> 2] = value; else err("failed to set errno from JS"); - return value; -} - -function _clock_gettime(clk_id, tp) { - var now; - if (clk_id === 0) { - now = Date.now(); - } else if (clk_id === 1 && _emscripten_get_now_is_monotonic()) { - now = _emscripten_get_now(); - } else { - ___setErrNo(22); - return -1; - } - HEAP32[tp >> 2] = now / 1e3 | 0; - HEAP32[tp + 4 >> 2] = now % 1e3 * 1e3 * 1e3 | 0; - return 0; -} - -function ___clock_gettime(a0, a1) { - return _clock_gettime(a0, a1); -} - -function ___cxa_allocate_exception(size) { - return _malloc(size); -} - -function ___cxa_free_exception(ptr) { - try { - return _free(ptr); - } catch (e) { - err("exception during cxa_free_exception: " + e); - } + return ret; } -var EXCEPTIONS = { - last: 0, - caught: [], - infos: {}, - deAdjust: function(adjusted) { - if (!adjusted || EXCEPTIONS.infos[adjusted]) return adjusted; - for (var key in EXCEPTIONS.infos) { - var ptr = +key; - var adj = EXCEPTIONS.infos[ptr].adjusted; - var len = adj.length; - for (var i = 0; i < len; i++) { - if (adj[i] === adjusted) { - return ptr; + var bufferView; + var base64ReverseLookup = new Uint8Array(123/*'z'+1*/); + for (var i = 25; i >= 0; --i) { + base64ReverseLookup[48+i] = 52+i; // '0-9' + base64ReverseLookup[65+i] = i; // 'A-Z' + base64ReverseLookup[97+i] = 26+i; // 'a-z' + } + base64ReverseLookup[43] = 62; // '+' + base64ReverseLookup[47] = 63; // '/' + /** @noinline Inlining this function would mean expanding the base64 string 4x times in the source code, which Closure seems to be happy to do. */ + function base64DecodeToExistingUint8Array(uint8Array, offset, b64) { + var b1, b2, i = 0, j = offset, bLength = b64.length, end = offset + (bLength*3>>2) - (b64[bLength-2] == '=') - (b64[bLength-1] == '='); + for (; i < bLength; i += 4) { + b1 = base64ReverseLookup[b64.charCodeAt(i+1)]; + b2 = base64ReverseLookup[b64.charCodeAt(i+2)]; + uint8Array[j++] = base64ReverseLookup[b64.charCodeAt(i)] << 2 | b1 >> 4; + if (j < end) uint8Array[j++] = b1 << 4 | b2 >> 2; + if (j < end) uint8Array[j++] = b2 << 6 | base64ReverseLookup[b64.charCodeAt(i+3)]; + } + return uint8Array; + } +function initActiveSegments(imports) { + base64DecodeToExistingUint8Array(bufferView, 1024, "ZnNldAAlcy8lcwAlcy4lcwB2ZWN0b3IAZGVidWcAd2IAJW0tJWQtJVktJUgtJU0tJVMATWFya2VyIE9LLgAsAEFzc2VydGlvbiBgeCA+PSBtTWluWGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHdpZHRoID49IDVgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3aWR0aCA+PSAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgd2lkdGggPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgcHlyYW1pZC0+c2l6ZSgpID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1TdGFydFRpbWUgPj0gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYChzcmNfd2lkdGglMikgPT0gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltLndpZHRoKCkgPT0gaW0uc3RlcCgpL3NpemVvZihmbG9hdClgIGZhaWxlZCBpbiAAIAkKDQBFcnJvcjogbWFsbG9jCgBFcnJvciAxOiBpY3BHZXRJbml0WHcyWGMKACA9PT0gbWF0cml4ICglZCwlZCkgPT09CgAgPT09IHZlY3RvciAoJWQpID09PQoAPz8/IDEKAEVycm9yOiBsYWJlbGluZyB3b3JrIG92ZXJmbG93LgoAIyMjIEZlYXR1cmUgY2FuZGlkYXRlcyBmb3IgdHJhY2tpbmcgYXJlIG92ZXJmbG93LgoAYXJnbENhbWVyYUZydXN0dW1SSCgpOiBhclBhcmFtRGVjb21wTWF0KCkgaW5kaWNhdGVkIHBhcmFtZXRlciBlcnJvci4KAGFyVmlkZW9PcGVuOiBFcnJvciwgdmlkZW8gZGV2aWNlIGFscmVhZHkgb3Blbi4KAGtwbURlbGV0ZVJlZkRhdGFTZXQoKTogTlVMTCByZWZEYXRhU2V0UHRyL3JlZkltYWdlLgoAU3RhcnQgdHJhY2tpbmdfdGhyZWFkICMlZC4KAE91dCBvZiBtZW1vcnkhIQoARGF0YSBudW0gZXJyb3IhIQoAdwBJRCBhbHJlYWR5IGV4aXN0cwAlcyVzACVzLiVzAHZlY3RvcgAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL29yaWVudGF0aW9uX2Fzc2lnbm1lbnQuY3BwAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9mcmFtZXdvcmsvdGltZXJzLmNwcAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2hhcnJpcy5jcHAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9Eb0dfc2NhbGVfaW52YXJpYW50X2RldGVjdG9yLmNwcAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvaG91Z2hfc2ltaWxhcml0eV92b3RpbmcuY3BwAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9mcmFtZXdvcmsvaW1hZ2UuY3BwAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvZ2F1c3NpYW5fc2NhbGVfc3BhY2VfcHlyYW1pZC5jcHAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9weXJhbWlkLmNwcABpbmZvAEVycm9yOiBpY3BHZXRKX1VfWGMAd2IAcmIAQVJfUElYRUxfRk9STUFUX1JHQgBQYXR0ZXJuIGV4dHJhY3Rpb24gZmFpbGVkLgBBc3NlcnRpb24gYHB5cmFtaWRgIGZhaWxlZCBpbiAAVHJhY2tpbmcgdGhyZWFkID0gJWQKAFNJWkUgPSAlZCwgJWQKAEVycm9yIDI6IGljcEdldEluaXRYdzJYYwoAPz8/IDIKAEVycm9yOiB1bnN1cHBvcnRlZCBwaXhlbCBmb3JtYXQuCgBhclZpZGVvT3BlbkFzeW5jOiBFcnJvciwgdmlkZW8gZGV2aWNlIGFscmVhZHkgb3Blbi4KAFVua25vd24gb3IgdW5zdXBwb3J0ZWQgbGFiZWxpbmcgdGhyZXNob2xkIG1vZGUgcmVxdWVzdGVkLiBTZXQgdG8gbWFudWFsLgoAa3BtRGVsZXRlUmVmRGF0YVNldCgpOiAwIHhzaXplL3lzaXplL2RwaS4KAEVycm9yICglZCk6IHVuYWJsZSB0byBvcGVuIGNhbWVyYSBwYXJhbWV0ZXJzIGZpbGUgIiVzIiBmb3Igd3JpdGluZy4KAEVycm9yOiBOVUxMIHBhdHRIYW5kbGUuCgBFbmQgdHJhY2tpbmdfdGhyZWFkICMlZC4KAEVycm9yOiB1bmFibGUgdG8gb3BlbiBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnLgoAT3V0IG9mIG1lbW9yeSEhCgByAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9mcmVhay5oAHdhcm5pbmcAICUxMGcAQnVpbGQgUHlyYW1pZAAlNGQAd2IAcmIAQVJfUElYRUxfRk9STUFUX0JHUgBNQU5VQUwAQVJfUElYRUxfRk9STUFUX1JHQgBHZW5lcmljIGVycm9yIGR1cmluZyBtYXRjaGluZyBwaGFzZS4AIGxpbmUgACVzJXMKAEZpbGUgb3BlbiBlcnJvci4gJXMKAERpc3RvcnRpb24gZmFjdG9yOiBrMT0lMS4xMGYsIGsyPSUxLjEwZiwgcDE9JTEuMTBmLCBwMj0lMS4xMGYKAEVycm9yOiBtYWxsb2MKAEVycm9yIDM6IGljcEdldEluaXRYdzJYYwoARXJyb3IgaWNwR2V0Sl9VX1MKAD09PT09PSAlcyA9PT09PT09PQoAPz8/IDMKAEVycm9yOiBjYW4ndCBsb2FkIHBhdHRlcm4gZnJvbSBOVUxMIGJ1ZmZlci4KAGtwbVNldFJlZkRhdGFTZXQoKTogTlVMTCBrcG1IYW5kbGUvZmlsZW5hbWUuCgBFcnJvciBzYXZpbmcgZmVhdHVyZSBtYXA6IGVycm9yIHdyaXRpbmcgZGF0YS4KAE91dCBvZiBtZW1vcnkhIQoAZXJyb3IARnJlYWsgZmVhdHVyZXMgLSAlZAByYgBBUl9QSVhFTF9GT1JNQVRfQkdSAEFVVE9fTUVESUFOAEFSX1BJWEVMX0ZPUk1BVF9SR0JBAEluc3VmZmljaWVudCBjb250cmFzdCBkdXJpbmcgbWF0Y2hpbmcuACU3LjVmIAAgbGluZSAARXJyb3Igb3BlbmluZyBmaWxlICclcyc6IAAgICAgICAgICAgICAgICAgICBmeD0lZiwgZnk9JWYsIHgwPSVmLCB5MD0lZiwgcz0lZgoARXJyb3IgNDogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciBpY3BHZXRVX2Zyb21fWF9ieV9NYXRYMlUKAEVycm9yIGFsbG9jYXRpbmcgbWVtb3J5LgoARXJyb3I6IG91dCBvZiBtZW1vcnkuCgBFcnJvcjogVW5hYmxlIHRvIG9wZW4gZmlsZSAnJXMnIGZvciB3cml0aW5nLgoARXJyb3I6IHVuYWJsZSB0byBvcGVuIGZpbGUgJyVzJXMnIGZvciByZWFkaW5nLgoAT3V0IG9mIG1lbW9yeSEhCgBTdGVwIHNpemUgbXVzdCBiZSBlcXVhbCB0byB3aWR0aCBmb3Igbm93AEV4dHJhY3QgRmVhdHVyZXMAJXMAV2lkdGggY2Fubm90IGJlIHplcm8AU291cmNlIHdpZHRoIG11c3QgYmUgZXZlbgBJbWFnZSBpcyB0b28gc21hbGwAeCBvdXQgb2YgcmFuZ2UAQ2xvY2sgaGFzIG5vdCBiZWVuIHN0YXJ0ZWQAUHlyYW1pZCBpcyBub3QgYWxsb2NhdGVkACVkAHJiAEFVVE9fT1RTVQBBUl9QSVhFTF9GT1JNQVRfQkdSQQBBUl9QSVhFTF9GT1JNQVRfUkdCQQB3cCBtdXN0IGJlIGF0IGxlYXN0IDEAQmFyY29kZSBtYXRjaGluZyBjb3VsZCBub3QgZmluZCBjb3JyZWN0IGJhcmNvZGUgbG9jYXRvciBwYXR0ZXJuLgBbJXNdIAA6IAAlcyVzCgBEaXN0b3J0aW9uIGZhY3RvciA9ICVmICVmICVmICVmICVmICVmCgBFcnJvciA1OiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIGljcEdldFhjX2Zyb21fWHdfYnlfTWF0WHcyWGMKAEVycm9yIHJlYWRpbmcgaW1hZ2VTZXQuCgBFcnJvciB3aGlsZSBhZGRpbmcgcmVmZXJlbmNlIGRhdGEgc2V0OiBrcG1HZW5SZWZEYXRhU2V0KCkgZmFpbGVkLgoARXJyb3Igb3BlbmluZyAnJXMnLgoAQ2FuJ3Qgb3BlbiBKUEVHIGZpbGUgJyVzJwoAT3V0IG9mIG1lbW9yeSEhCgBQYXR0ZXJuIERhdGEgcmVhZCBlcnJvciEhCgBSZWFkIGVycm9yISEKAFslc10gWyVzXSBbJXNdIDogRm91bmQgJWQgZmVhdHVyZXMAJWYAd2IAQVJfUElYRUxfRk9STUFUX0FCR1IAUHlyYW1pZCBpcyBOVUxMAEFVVE9fQURBUFRJVkUAQVJfUElYRUxfRk9STUFUX0JHUkEAQmFyY29kZSBtYXRjaGluZyBlcnJvciBkZXRlY3Rpb24vY29ycmVjdGlvbiBmb3VuZCB1bnJlY292ZXJhYmxlIGVycm9yLgBFcnJvciBjcmVhdGluZyBmdWxsIGZpbGUgcGF0aCBmcm9tICclcycgYW5kICclcycAQXNzZXJ0aW9uIGB4IDwgbU1heFhgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBoZWlnaHQgPj0gNWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGhlaWdodCA+PSAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaGVpZ2h0ID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1JbWFnZXMuc2l6ZSgpID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHggPj0gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1TdG9wVGltZSA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0ICE9IDBgIGZhaWxlZCBpbiAAJXMlcwoARGlzdG9ydGlvbiBmYWN0b3IgPSAlZiAlZiAlZiAlZiAlZgoARXJyb3IgPSAlZgoARXJyb3IgNjogaWNwR2V0SW5pdFh3MlhjCgAgICAgICAgICBJbWFnZVNpemUgPSAlN2RbcGl4ZWxdCgA9PT09PT09PT0gJWQgPT09PT09PT09PT0KAEltYWdlc2V0IGNvbnRhaW5zICVkIGltYWdlcy4KAEVycm9yOiBVbmFibGUgdG8gb3BlbiBmaWxlICclcycgZm9yIHJlYWRpbmcuCgBFcnJvciAoJWQpOiB1bmFibGUgdG8gb3BlbiBjYW1lcmEgcGFyYW1ldGVycyBmaWxlICIlcyIgZm9yIHJlYWRpbmcuCgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcyc6IEZpcnN0IGxpbmUgbXVzdCBiZSBudW1iZXIgb2YgbWFya2VyIGNvbmZpZ3MgdG8gcmVhZC4KAEVycm9yIHJlYWRpbmcgcGF0dGVybiBmaWxlICclcycuCgBIZWlnaHQgY2Fubm90IGJlIHplcm8AJWYgJWYgJWYgJWYAeCBtdXN0IGJlIHBvc2l0aXZlAExhcGxhY2lhbiBweXJhbWlkIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQAQ2xvY2sgaGFzIG5vdCBiZWVuIHN0b3BwZWQAQVJfUElYRUxfRk9STUFUX0FCR1IAQVJfUElYRUxfRk9STUFUX01PTk8ARGVzdGluYXRpb24gaXMgTlVMTABBVVRPX0JSQUNLRVRJTkcAaHAgbXVzdCBiZSBhdCBsZWFzdCAxAEVycm9yICglZCk6IHVuYWJsZSB0byBkZXRlcm1pbmUgZmlsZSBsZW5ndGguAE1hdGNoaW5nIGNvbmZpZGVuY2UgY3V0b2ZmIHZhbHVlIG5vdCByZWFjaGVkLgBBc3NlcnRpb24gYHkgPj0gbU1pbllgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbWFnZS50eXBlKCkgPT0gSU1BR0VfVUlOVDhgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBzdG9yZS5zaXplKCkgPT0gcG9pbnRzLnNpemUoKWAgZmFpbGVkIGluIAAgSU5GTyAgACVzJXMKAERpc3RvcnRpb24gZmFjdG9yID0gJWYgJWYgJWYgJWYKAEVycm9yIDc6IGljcEdldEluaXRYdzJYYwoARXh0cmFjdGVkIGZlYXR1cmVzID0gJTdkW3BpeGVsXQoARXJyb3IgaWNwMkdldFRTCgBGYWxsaW5nIGJhY2sgdG8gcmVhZGluZyAnJXMlcycgaW4gQVJUb29sS2l0IHY0LnggZm9ybWF0LgoARXJyb3IgaW4gb3BlbmluZyAnJXMnIGluIHppcGZpbGUuCgBFcnJvciByZWFkaW5nIEpQRUcgZmlsZS4KAEVycm9yIHdoaWxlIGFkZGluZyByZWZlcmVuY2UgZGF0YSBzZXQ6IGtwbU1lcmdlUmVmRGF0YVNldCgpIGZhaWxlZC4KAEVycm9yIHNhdmluZyBmZWF0dXJlIHNldDogZXJyb3Igd3JpdGluZyBkYXRhLgoAT3V0IG9mIG1lbW9yeSEhCg=="); + base64DecodeToExistingUint8Array(bufferView, 6480, "mQwAAF0OAACjEAAAthIAAMIWAABCdWlsZCBJbmRleABbJXNdIFslc10gWyVzXSA6ICVzOiAlZiBtcwBJbWFnZSBtdXN0IGJlIGdyYXlzY2FsZQB5IG91dCBvZiByYW5nZQBGZWF0dXJlIHN0b3JlIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQAJWQAJWxsdSVjAHdiAEFSX1BJWEVMX0ZPUk1BVF9NT05PAEFSX1BJWEVMX0ZPUk1BVF9BUkdCAE1heGltdW0gYWxsb3dhYmxlIHBvc2UgZXJyb3IgZXhjZWVkZWQuAEFzc2VydGlvbiBgc3RlcCA+PSB3aWR0aGAgZmFpbGVkIGluIABBc3NlcnRpb24gYGkrMStjaHVua19zaXplIDwgd2lkdGhgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBweXJhbWlkLT5udW1PY3RhdmVzKCkgPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgc3JjICE9IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB4IDwgbUdyYWRpZW50c1tvY3RhdmUqbU51bVNjYWxlc1Blck9jdGF2ZStzY2FsZV0ud2lkdGgoKWAgZmFpbGVkIGluIABFcnJvciBpbiBvcGVuaW5nICclcycgZm9yIHJlYWRpbmcKACBGaWx0ZXJlZCBmZWF0dXJlcyA9ICU3ZFtwaXhlbF0KAExhYmVsaW5nIHRocmVzaG9sZCBtb2RlIHNldCB0byAlcy4KAEVycm9yIHJlYWRpbmcgSlBFRyBmaWxlIGhlYWRlci4KAEVycm9yOiBzdXBwbGllZCBmaWxlIGRvZXMgbm90IGFwcGVhciB0byBiZSBhbiBBUlRvb2xLaXQgY2FtZXJhIHBhcmFtZXRlciBmaWxlLgoAa3BtRGVsZXRlUmVmRGF0YVNldCgpOiBOVUxMIHJlZkRhdGFTZXRQdHIxL3JlZkRhdGFTZXRQdHIyLgoAQ2FuJ3QgcmVhZCBKUEVHIGZpbGUgJyVzJwoAQVJfUElYRUxfRk9STUFUXzJ2dXkAUHlyYW1pZCBkb2VzIG5vdCBjb250YWluIGFueSBsZXZlbHMAU3RlcCBtdXN0IGJlIGdyZWF0ZXIgdGhhbiBvciBlcXVhbCB0aGUgd2lkdGgAeCBtdXN0IGJlIGxlc3MgdGhhbiB0aGUgaW1hZ2Ugd2lkdGgARXh0ZW5kaW5nIGJleW9uZCB0aGUgd2lkdGggb2YgdGhlIGltYWdlAFNvdXJjZSBpcyBOVUxMAEFSX1BJWEVMX0ZPUk1BVF9BUkdCAEVycm9yICglZCk6IHVuYWJsZSB0byByZWFkIGZyb20gZmlsZS4ATXVsdGktbWFya2VyIHBvc2UgZXJyb3IgdmFsdWUgZXhjZWVkZWQuAA0lNGQvJTRkLgBBc3NlcnRpb24gYHB5cmFtaWRgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB5IDwgbU1heFlgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbWFnZS5jaGFubmVscygpID09IDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBudW1fcG9pbnRzID09IHBvaW50cy5zaXplKClgIGZhaWxlZCBpbiAAJTcuNWYgACBJTkZPICAAa3BtU2V0UmVmRGF0YVNldCgpOiBOVUxMIGtwbUhhbmRsZS9yZWZEYXRhU2V0LgoAa3BtRGVsZXRlUmVmRGF0YVNldCgpOiBOVUxMIHJlZkRhdGFTZXRQdHIuCgBFcnJvcjogdW5hYmxlIHRvIG9wZW4gZmlsZSAnJXMnIGZvciB3cml0aW5nLgoARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnOiBwYXR0ZXJuICclcycgc3BlY2lmaWVkIGluIG11bHRpbWFya2VyIGNvbmZpZ3VyYXRpb24gd2hpbGUgaW4gYmFyY29kZS1vbmx5IG1vZGUuCgBFcnJvcjogVW5zdXBwb3J0ZWQgcGl4ZWwgZm9ybWF0ICglZCkgcmVxdWVzdGVkLgoARXJyb3IgaW4gcmVhZGluZyAnJXMnLgoACiMjIyBTdXJmYWNlIE5vLiVkICMjIwoAQVJfUElYRUxfRk9STUFUXzJ2dXkAQVJfUElYRUxfRk9STUFUX3l1dnMAJXMASW1hZ2UgbXVzdCBoYXZlIDEgY2hhbm5lbAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvdmlzdWFsX2RhdGFiYXNlLmgAU2hvdWxkIGJlIHNhbWUgc2l6ZQBSZWplY3RlZCBmcmVxdWVudGx5IG1pc3JlY29nbmlzZWQgbWF0cml4IG1hcmtlci4AQXNzZXJ0aW9uIGBidWNrZXRbMF0uZmlyc3QgPj0gYnVja2V0W25dLmZpcnN0YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYW5nbGUgPiAtUElgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBjaGFubmVscyA+IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBzcmNfd2lkdGggPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeSA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHluYW1pY19jYXN0PGNvbnN0IEJpbm9taWFsUHlyYW1pZDMyZio+KHB5cmFtaWQpYCBmYWlsZWQgaW4gAGtwbVNhdmVSZWZEYXRhU2V0KCk6IE5VTEwgZmlsZW5hbWUvcmVmRGF0YVNldC4KAGtwbVNldFJlZkRhdGFTZXQoKTogcmVmRGF0YVNldC4KAEVycm9yOiBzdXBwbGllZCBidWZmZXIgZG9lcyBub3QgYXBwZWFyIHRvIGJlIEFSVG9vbEtpdCBjYW1lcmEgcGFyYW1ldGVycy4KAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJzogVW5hYmxlIHRvIGRldGVybWluZSBkaXJlY3RvcnkgbmFtZS4KAEVycm9yIGluIHdyaXRpbmcgJyVzJyBpbiB0aGUgemlwZmlsZS4KAEVycm9yIHNhdmluZyBpbWFnZSBzZXQ6IGVycm9yIHdyaXRpbmcgZGF0YS4KAEFSX1BJWEVMX0ZPUk1BVF95dXZzAE51bWJlciBvZiBjaGFubmVscyBjYW5ub3QgYmUgemVybwB5IG11c3QgYmUgcG9zaXRpdmUAV2lkdGggbXVzdCBiZSBwb3NpdGl2ZQBhbmdsZSBvdXQgb2YgcmFuZ2UAT25seSBiaW5vbWlhbCBweXJhbWlkIGlzIHN1cHBvcnRlZABudGhfZWxlbWVudCBmYWlsZWQAQVJfUElYRUxfRk9STUFUX1JHQl81NjUAQXNzZXJ0aW9uIGBtUHlyYW1pZC5zaXplKCkgPT0gbU51bU9jdGF2ZXMqbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIAAgbGluZSAARmllbGQtb2YtdmlldyB2ZXJ0aWNhbCA9ICUuMWYsIGhvcml6b250YWwgPSAlLjFmIGRlZ3JlZXMsIGFzcGVjdCByYXRpbyA9ICUuM2YKAE1heCBmZWF0dXJlID0gJWQKACAgUmVhZCBJbWFnZVNldC4KAEVycm9yIHNhdmluZyBLUE0gZGF0YTogdW5hYmxlIHRvIG9wZW4gZmlsZSAnJXMlcyVzJyBmb3Igd3JpdGluZy4KAEVycm9yICglZCk6IHVuYWJsZSB0byBvcGVuIGV4dGVybmFsIHBhcmFtZXRlcnMgZmlsZSAiJXMiIGZvciB3cml0aW5nLgoARXJyb3IgaW4gY2xvc2luZyAlcyBpbiB0aGUgemlwZmlsZS4KAEF1dG8gdGhyZXNob2xkIChicmFja2V0KSBtYXJrZXIgY291bnRzIC1bJTNkOiAlM2RdIFslM2Q6ICUzZF0gWyUzZDogJTNkXSsuCgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcyc6IFVuYWJsZSB0byBsb2FkIHBhdHRlcm4gJyVzJy4KAE91dCBvZiBtZW1vcnkhIQoAUHlyYW1pZCBoYXMgbm90IGJlZW4gYWxsb2NhdGVkIHlldAAlbGYAQVJfUElYRUxfRk9STUFUX1JHQl81NjUAQVJfUElYRUxfRk9STUFUX1JHQkFfNTU1MQAuAEFzc2VydGlvbiBgcFswXSA+IHBtMVstMV1gIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBhbmdsZSA8PSBQSWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGQudHlwZSgpID09IElNQUdFX0YzMmAgZmFpbGVkIGluIABBc3NlcnRpb24gYHNyY19oZWlnaHQgPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgb2N0YXZlID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB5IDwgbUdyYWRpZW50c1tvY3RhdmUqbU51bVNjYWxlc1Blck9jdGF2ZStzY2FsZV0uaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBtRGF0YS5nZXQoKWAgZmFpbGVkIGluIAA6IAAlM2Q6ICglM2QsJTNkKSA6ICVmIG1pbj0lZiBtYXg9JWYsIHNkPSVmCgBwb2ludHMtJWQKAEVycm9yICglZCk6IHVuYWJsZSB0byBvcGVuIGV4dGVybmFsIHBhcmFtZXRlcnMgZmlsZSAiJXMiIGZvciByZWFkaW5nLgoAQXV0byB0aHJlc2hvbGQgKGJyYWNrZXQpIGFkanVzdGVkIHRocmVzaG9sZCB0byAlZC4KAEVycm9yIG9wZW5pbmcgZmlsZSAnJXMuaXNldCcuCgBFcnJvciBpbiBjbG9zaW5nICclcycuCgB5IG11c3QgYmUgbGVzcyB0aGFuIHRoZSBpbWFnZSBoZWlnaHQAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9nYXVzc2lhbl9zY2FsZV9zcGFjZV9weXJhbWlkLmgASGVpZ2h0IG11c3QgYmUgcG9zaXRpdmUAT25seSBGMzIgaW1hZ2VzIHN1cHBvcnRlZABTaG91bGQgYmUgbWF4aW1hAERhdGEgcG9pbnRlciBpcyBOVUxMAFB5cmFtaWQgaXMgTlVMTABBUl9QSVhFTF9GT1JNQVRfUkdCQV80NDQ0AEFSX1BJWEVMX0ZPUk1BVF9SR0JBXzU1NTEAQXNzZXJ0aW9uIGBzY2FsZSA+PSBtTWluU2NhbGVgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbWFnZS53aWR0aCgpID09IG1QeXJhbWlkWzBdLndpZHRoKClgIGZhaWxlZCBpbiAAWyUgLjNmICUgLjNmICUgLjNmXSBbJSA2LjFmXQoARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnLCBtYXJrZXIgZGVmaW5pdGlvbiAlM2Q6IEZpcnN0IGxpbmUgbXVzdCBiZSBwYXR0ZXJuIHdpZHRoLgoARXJyb3IgKCVkKTogdW5hYmxlIHRvIG9wZW4gb3B0aWNhbCBwYXJhbWV0ZXJzIGZpbGUgIiVzIiBmb3Igd3JpdGluZy4KAGtwbVNldFJlZkRhdGFTZXRGaWxlKCk6IE5VTEwga3BtSGFuZGxlL2ZpbGVuYW1lLgoAICAgIGVuZC4KAEF1dG8gdGhyZXNob2xkICglcykgYWRqdXN0ZWQgdGhyZXNob2xkIHRvICVkLgoALS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCgBBUl9QSVhFTF9GT1JNQVRfNDIwdgBtZWRpYW4AJWxmICVsZiAlbGYgJWxmAE9jdGF2ZSBtdXN0IGJlIHBvc2l0aXZlAHNjYWxlIG91dCBvZiByYW5nZQBJbWFnZSBvZiB3cm9uZyBzaXplIGZvciBweXJhbWlkAFVuYWJsZSB0byBhbGxvY2F0ZSBpbWFnZSBkYXRhAEFSX1BJWEVMX0ZPUk1BVF9SR0JBXzQ0NDQAQXNzZXJ0aW9uIGBkZXRlY3RvcmAgZmFpbGVkIGluIABBc3NlcnRpb24gYHBbMF0gPiBwbTFbMF1gIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTEudHlwZSgpID09IElNQUdFX0YzMmAgZmFpbGVkIGluIABBc3NlcnRpb24gYGcuY2hhbm5lbHMoKSA9PSAyYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgc3JjX3N0ZXAgPiAwYCBmYWlsZWQgaW4gACUzZCwgJTNkOiBtYXhfc2ltID0gJWYKACAgUmVhZCBGZWF0dXJlU2V0LgoAQ2Fubm90IGZpbmQgdGhlIHBhZ2UgZm9yIHNraXBwaW5nLgoARXJyb3IgKCVkKTogdW5hYmxlIHRvIG9wZW4gb3B0aWNhbCBwYXJhbWV0ZXJzIGZpbGUgIiVzIiBmb3IgcmVhZGluZy4KAEVycm9yIHNhdmluZyBLUE0gZGF0YTogZXJyb3Igd3JpdGluZyBkYXRhLgoAQVJfUElYRUxfRk9STUFUXzQyMHYAT3RzdQBBUl9QSVhFTF9GT1JNQVRfNDIwZgAlZiAlZgBTdGVwIG11c3QgYmUgcG9zaXRpdmUASW52YWxpZCBpbWFnZSB0eXBlAERldGVjdG9yIGlzIE5VTEwATnVtYmVyIG9mIGNoYW5uZWxzIHNob3VsZCBiZSAyAEFzc2VydGlvbiBgb2N0YXZlIDwgbU51bU9jdGF2ZXNgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBzY2FsZSA8IG1NYXhTY2FsZWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHBbMF0gPiBwbTFbMV1gIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTIudHlwZSgpID09IElNQUdFX0YzMmAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltYWdlLmhlaWdodCgpID09IG1QeXJhbWlkWzBdLmhlaWdodCgpYCBmYWlsZWQgaW4gACU3LjRmIABrcG1Mb2FkUmVmRGF0YVNldCgpOiBOVUxMIGZpbGVuYW1lL3JlZkRhdGFTZXRQdHIuCgBrcG1NYXRjaGluZygpOiBOVUxMIGtwbUhhbmRsZS9pbkltYWdlTHVtYS4KAEVycm9yIG9wZW5pbmcgZmlsZSAnJXMuZnNldCcuCg=="); + base64DecodeToExistingUint8Array(bufferView, 12116, "AQAAAAEAAAABAAAAAAAAAP//////////////////////////AAAAAAEAAAABAAAAAQAAAAAAAAD/////AQAAAAkAAAAFAAAABAAAAAMAAAAC"); + base64DecodeToExistingUint8Array(bufferView, 12211, "AQABAQEAAgT//wUDAQAC/wYH/wMBAgIDAgMCAwMA/wQGBwX/AQQFBAQFBQQFBwYGBgcHBwb/AgQGBwUD/wD//wP/BQb//wkK/wz//w//ERL/FP//Fxj//xv/HR7//wEC/wT//wcI//8L/w0O/xD//xP/FRb//xka/xz//x8BAAAAAgAAAAQAAAAIAAAAAwAAAAYAAAAMAAAACwAAAAUAAAAKAAAABwAAAA4AAAAPAAAADQAAAAkAAAAAAAAA/////wAAAAABAAAABAAAAAIAAAAIAAAABQAAAAoAAAADAAAADgAAAAkAAAAHAAAABgAAAA0AAAALAAAADAAAAAEAAAACAAAABAAAAAgAAAAQAAAABQAAAAoAAAAUAAAADQAAABoAAAARAAAABwAAAA4AAAAcAAAAHQAAAB8AAAAbAAAAEwAAAAMAAAAGAAAADAAAABgAAAAVAAAADwAAAB4AAAAZAAAAFwAAAAsAAAAWAAAACQAAABIAAAAAAAAA/////wAAAAABAAAAEgAAAAIAAAAFAAAAEwAAAAsAAAADAAAAHQAAAAYAAAAbAAAAFAAAAAgAAAAMAAAAFwAAAAQAAAAKAAAAHgAAABEAAAAHAAAAFgAAABwAAAAaAAAAFQAAABkAAAAJAAAAEAAAAA0AAAAOAAAAGAAAAA8AAAABAAAAAgAAAAQAAAAIAAAAEAAAACAAAABAAAAAAwAAAAYAAAAMAAAAGAAAADAAAABgAAAAQwAAAAUAAAAKAAAAFAAAACgAAABQAAAAIwAAAEYAAAAPAAAAHgAAADwAAAB4AAAAcwAAAGUAAABJAAAAEQAAACIAAABEAAAACwAAABYAAAAsAAAAWAAAADMAAABmAAAATwAAAB0AAAA6AAAAdAAAAGsAAABVAAAAKQAAAFIAAAAnAAAATgAAAB8AAAA+AAAAfAAAAHsAAAB1AAAAaQAAAFEAAAAhAAAAQgAAAAcAAAAOAAAAHAAAADgAAABwAAAAYwAAAEUAAAAJAAAAEgAAACQAAABIAAAAEwAAACYAAABMAAAAGwAAADYAAABsAAAAWwAAADUAAABqAAAAVwAAAC0AAABaAAAANwAAAG4AAABfAAAAPQAAAHoAAAB3AAAAbQAAAFkAAAAxAAAAYgAAAEcAAAANAAAAGgAAADQAAABoAAAAUwAAACUAAABKAAAAFwAAAC4AAABcAAAAOwAAAHYAAABvAAAAXQAAADkAAAByAAAAZwAAAE0AAAAZAAAAMgAAAGQAAABLAAAAFQAAACoAAABUAAAAKwAAAFYAAAAvAAAAXgAAAD8AAAB+AAAAfwAAAH0AAAB5AAAAcQAAAGEAAABBAAAAAAAAAP////8AAAAAAQAAAAcAAAACAAAADgAAAAgAAAA4AAAAAwAAAD8AAAAPAAAAHwAAAAkAAABaAAAAOQAAABUAAAAEAAAAHAAAAEAAAABDAAAAEAAAAHAAAAAgAAAAYQAAAAoAAABsAAAAWwAAAEYAAAA6AAAAJgAAABYAAAAvAAAABQAAADYAAAAdAAAAEwAAAEEAAABfAAAARAAAAC0AAAARAAAAKwAAAHEAAABzAAAAIQAAAE0AAABiAAAAdQAAAAsAAABXAAAAbQAAACMAAABcAAAASgAAAEcAAABPAAAAOwAAAGgAAAAnAAAAZAAAABcAAABSAAAAMAAAAHcAAAAGAAAAfgAAADcAAAANAAAAHgAAAD4AAAAUAAAAWQAAAEIAAAAbAAAAYAAAAG8AAABFAAAAawAAAC4AAAAlAAAAEgAAADUAAAAsAAAAXgAAAHIAAAAqAAAAdAAAAEwAAAAiAAAAVgAAAE4AAABJAAAAYwAAAGcAAAB2AAAAUQAAAAwAAAB9AAAAWAAAAD0AAABuAAAAGgAAACQAAABqAAAAXQAAADQAAABLAAAAKQAAAEgAAABVAAAAUAAAAGYAAAA8AAAAfAAAAGkAAAAZAAAAKAAAADMAAABlAAAAVAAAABgAAAB7AAAAUwAAADIAAAAxAAAAegAAAHgAAAB5AAAAT2N0YXZlIG11c3QgYmUgbGVzcyB0aGFuIG51bWJlciBvZiBvY3RhdmVzAEFSX1BJWEVMX0ZPUk1BVF80MjBmAEFSX1BJWEVMX0ZPUk1BVF9OVjIxAEFzc2VydGlvbiBgcFswXSA+IHBbLTFdYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0LnR5cGUoKSA9PSBJTUFHRV9GMzJgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBkLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1heF9oZWlnaHQgPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0X3dpZHRoID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHNpemUgPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgcHlyYW1pZC0+aW1hZ2VzKCkuc2l6ZSgpID4gMGAgZmFpbGVkIGluIABQYWdlWyVkXSAgcHJlOiUzZCwgYWZ0OiUzZCwgZXJyb3IgPSAlZgoAJTNkLCAlM2Q6IG1heF9zaW0gPSAlZiwgKG1heCxtaW4pID0gJWYsICVmLCBzZCA9ICVmCgAgIFJlYWQgTWFya2VyU2V0LgoARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnLCBtYXJrZXIgZGVmaW5pdGlvbiAlM2Q6IExpbmVzIDIgLSA0IG11c3QgYmUgbWFya2VyIHRyYW5zZm9ybS4KAEVycm9yIGxvYWRpbmcgS1BNIGRhdGE6IHVuYWJsZSB0byBvcGVuIGZpbGUgJyVzJXMlcycgZm9yIHJlYWRpbmcuCgBQeXJhbWlkIGlzIGVtcHR5AERlc3RpbmF0aW9uIGltYWdlIHNob3VsZCBiZSBhIGZsb2F0AG1yawBzaXplIG11c3QgYmUgcG9zaXRpdmUATWF4aW11bSBiaW4gc2hvdWxkIGJlIHBvc2l0aXZlAE9ubHkgc2luZ2xlIGNoYW5uZWwgaW1hZ2VzIHN1cHBvcnRlZABBUl9QSVhFTF9GT1JNQVRfTlYyMQBBc3NlcnRpb24gYHBbMF0gPiBwWzFdYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0X3N0ZXAgPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgc2NhbGUgPj0gMGAgZmFpbGVkIGluIABKUEVHIGZpbGUgaGFzIHVuc3VwcG9ydGVkICVkLWNvbXBvbmVudCBwaXhlbHMKAEVycm9yIGxvYWRpbmcgS1BNIGRhdGE6IGVycm9yIHJlYWRpbmcgZGF0YS4KAGFyVXRpbEdldFBpeGVsRm9ybWF0TmFtZTogRXJyb3IsIHVucmVjb2duaXNlZCBwaXhlbCBmb3JtYXQgKCVkKS4KAFNjYWxlIG11c3QgYmUgcG9zaXRpdmUAVW5rbm93biBpbWFnZSB0eXBlAEFzc2VydGlvbiBgcFswXSA+IHBwMVstMV1gIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBoaXN0ICE9IE5VTExgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoc3JjX3dpZHRoJTIpID09IDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTEuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbVJlZkltYWdlV2lkdGggPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgcHlyYW1pZC0+aW1hZ2VzKClbMF0ud2lkdGgoKSA9PSBkZXRlY3Rvci0+d2lkdGgoKWAgZmFpbGVkIGluIABPdXQgb2YgbWVtb3J5LgoAa3BtQ2hhbmdlUGFnZU5vT2ZSZWZEYXRhU2V0KCk6IE5VTEwgcmVmRGF0YVNldC4KAGFyVmlkZW9VdGlsR2V0UGl4ZWxGb3JtYXROYW1lOiBFcnJvciwgdW5yZWNvZ25pc2VkIHBpeGVsIGZvcm1hdCAoJWQpLgoARXJyb3Igb3BlbmluZyBmaWxlICclcy5tcmsnLgoAJSUlMDJ4AHZlY3RvcgBQeXJhbWlkIGFuZCBkZXRlY3RvciBzaXplIG1pc21hdGNoAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvb3JpZW50YXRpb25fYXNzaWdubWVudC5oACVmICVmICVmICVmAHdpZHRoIG11c3QgYmUgcG9zaXRpdmUAVW5zdXBwb3J0ZWQgaW1hZ2UgdHlwZQBTb3VyY2Ugd2lkdGggbXVzdCBiZSBvZGQAQXNzZXJ0aW9uIGBzY2FsZSA8IG1OdW1TY2FsZXNQZXJPY3RhdmVgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBwWzBdID4gcHAxWzBdYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0yLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIAAvcHJvYy9zZWxmL2V4ZQBTY2FsZSBtdXN0IGJlIGxlc3MgdGhhbiBudW1iZXIgb2Ygc2NhbGUgcGVyIG9jdGF2ZQBIaXN0b2dyYW0gcG9pbnRlciBpcyBOVUxMAEFzc2VydGlvbiBgcFswXSA+IHBwMVsxXWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChjaHVua19zaXplJTIpPT0wYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbVJlZkltYWdlSGVpZ2h0ID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHB5cmFtaWQtPmltYWdlcygpWzBdLmhlaWdodCgpID09IGRldGVjdG9yLT5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGQud2lkdGgoKSA9PSBpbTIud2lkdGgoKWAgZmFpbGVkIGluIABUcmFuc2Zvcm1hdGlvbiBtYXRyaXggcmVhZCBlcnJvciEhCgB2ZWN0b3IASW1hZ2VzIG11c3QgaGF2ZSB0aGUgc2FtZSB3aWR0aABqcGcAVW50ZXN0ZWQgYmVoYXZpb3IgZm9yIG9kZCBjaHVuayBzaXplAGhlaWdodCBtdXN0IGJlIHBvc2l0aXZlAE9jdGF2ZSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGAoZmJpbiswLjVmKSA+IDAgJiYgKGZiaW4tMC41ZikgPCBudW1fYmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGFzc2lnbm1lbnQuc2l6ZSgpID09IG51bV9pbmRpY2VzYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgIWlzaW5mKHVbMF0pYCBmYWlsZWQgaW4gACVzJXMKAFdpZHRoIGlzIHplcm8AL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2hvdWdoX3NpbWlsYXJpdHlfdm90aW5nLmgAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2JpbmFyeV9oaWVyYXJjaGljYWxfY2x1c3RlcmluZy5oAERlY2ltYWwgYmluIHBvc2l0aW9uIGluZGV4IG91dCBvZiByYW5nZQBTY2FsZSBvdXQgb2YgcmFuZ2UASU5GAEFzc2VydGlvbiBgZC5oZWlnaHQoKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAASW1hZ2VzIG11c3QgaGF2ZSB0aGUgc2FtZSBoZWlnaHQALy4uL3NoYXJlLyVzAEhlaWdodCBpcyB6ZXJvAEFzc2lnbm1lbnQgc2l6ZSB3cm9uZwBBc3NlcnRpb24gYChpbnQpc3RkOjpmbG9vcih4KSA9PSAoaW50KXhgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbmRleCA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbWFnbml0dWRlID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAhaXNpbmYodVsxXSlgIGZhaWxlZCBpbiAAU3RlcCBpcyB6ZXJvAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvaW50ZXJwb2xhdGUuaABNYWduaXR1ZGUgY2Fubm90IGJlIG5lZ2F0aXZlAGluZGV4IG91dCBvZiByYW5nZQBIT01FAEFzc2VydGlvbiBgYXNzaWdubWVudFtpXSAhPSAtMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltMS53aWR0aCgpID09IGltMi53aWR0aCgpYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvaGFycmlzLWlubGluZS5oAC9wcm9jL3NlbGYvY21kbGluZQBmbG9vcigpIGFuZCBjYXN0IG5vdCB0aGUgc2FtZQBBc3NpZ25tZW50IGlzIGludmFsaWQAQXNzZXJ0aW9uIGBudW1fYmlucyA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYmluWCA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGk+PjEpIDwgc3RkOjpjZWlsKChzcmNfaGVpZ2h0LTEpLzIuZilgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTEuaGVpZ2h0KCkgPT0gaW0yLmhlaWdodCgpYCBmYWlsZWQgaW4gAEluZGV4IGlzIG91dCBvZiBib3VuZHMATnVtYmVyIGJpbnMgbXVzdCBiZSBwb3NpdGl2ZQBiaW5YIG91dCBvZiByYW5nZQBPdXQgb2YgcmFuZ2UARG9HIFB5cmFtaWQAcmIAQXNzZXJ0aW9uIGAoaW50KXN0ZDo6Zmxvb3IoeSkgPT0gKGludCl5YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYXNzaWdubWVudFtpXSA8IG51bV9pbmRpY2VzYCBmYWlsZWQgaW4gAE5vbi1tYXggc3VwcHJlc3Npb24AQXNzaWdubWVudCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGB5cCA+PSAwICYmIHlwIDwgaGVpZ2h0YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYmluWCA8IG1OdW1YQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGltYWdlLnR5cGUoKSA9PSBJTUFHRV9VSU5UOGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHcxID49IDBgIGZhaWxlZCBpbiAAJXM6ICVzCgB5cCBvdXQgb2YgYm91bmRzAFN1YnBpeGVsAHcxIG11c3QgYmUgcG9zaXRpdmUAVW5hYmxlIHRvIGRldGVybWluZSBwcm9jZXNzIG5hbWUAT25seSBncmF5IHNjYWxlIGltYWdlcyBhcmUgc3VwcG9ydGVkAEFzc2VydGlvbiBgaW5kaWNlc1thc3NpZ25tZW50W2ldXSA8IG51bV9mZWF0dXJlc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpblkgPj0gMGAgZmFpbGVkIGluIABwcnVuZUZlYXR1cmVzACVzJXMAYmluWSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGB5cF9wbHVzXzEgPj0gMCAmJiB5cF9wbHVzXzEgPCBoZWlnaHRgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBvY3RhdmUgPCBtTnVtT2N0YXZlc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYHcyID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpdC0+c2Vjb25kLnNpemUoKSAhPSAwYCBmYWlsZWQgaW4gAEZpbmQgT3JpZW50YXRpb25zAHlwX3BsdXNfMSBvdXQgb2YgYm91bmRzAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvZ2F1c3NpYW5fc2NhbGVfc3BhY2VfcHlyYW1pZC5oAHcyIG11c3QgYmUgcG9zaXRpdmUAQ2x1c3RlciBtdXN0IGhhdmUgYXRsZWFzZXQgMSBmZWF0dXJlAC92YXIvY2FjaGUAQXNzZXJ0aW9uIGBiaW5ZIDwgbU51bVlCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0W2ldID49IC0yNTgwNjRgIGZhaWxlZCBpbiAALy5jYWNoZQBPY3RhdmUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYjEgPj0gMCAmJiBiMSA8IG51bV9iaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeHAgPj0gMCAmJiB4cCA8IHdpZHRoYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0W2ldIDw9IDI1ODA2NGAgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpbkFuZ2xlID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTAuaGVpZ2h0KCkgPT0gaW0xLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbUsgPT0gbUNlbnRlcnMuc2l6ZSgpYCBmYWlsZWQgaW4gAEhlaWdodCBpcyBpbmNvbnNpc3RlbnQAeHAgb3V0IG9mIGJvdW5kcwAlcy8lcwAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMva21lZG9pZHMuaABiMSBiaW4gaW5kZXggb3V0IG9mIHJhbmdlAGJpbkFuZ2xlIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYHNjYWxlIDwgbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGRzdFtpXSA8PSA0MTI5MDI0YCBmYWlsZWQgaW4gAGsgc2hvdWxkIG1hdGNoIHRoZSBudW1iZXIgb2YgY2x1c3RlciBjZW50ZXJzAFNjYWxlIG91dCBvZiByYW5nZQAvdmFyL2xpYgBBc3NlcnRpb24gYGIyID49IDAgJiYgYjIgPCBudW1fYmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpbkFuZ2xlIDwgbU51bUFuZ2xlQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYHhwX3BsdXNfMSA+PSAwICYmIHhwX3BsdXNfMSA8IHdpZHRoYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0W2ldID49IC00MTI5MDI0YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0wLmhlaWdodCgpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIAB4cF9wbHVzXzEgb3V0IG9mIGJvdW5kcwAvLmNvbmZpZwBiMiBiaW4gaW5kZXggb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgbnVtX2ZlYXR1cmVzID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpblNjYWxlID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoaW0xLmhlaWdodCgpPj4xKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAdmVjdG9yAE51bWJlciBvZiBmZWF0dXJlcyBtdXN0IGJlIHBvc2l0aXZlAGJpblNjYWxlIG91dCBvZiByYW5nZQBUTVBESVIAQXNzZXJ0aW9uIGBneHggPD0gNDEyOTAyNGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHcwID49IDAgJiYgdzAgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGltMC5oZWlnaHQoKT4+MSkgPT0gaW0xLmhlaWdodCgpYCBmYWlsZWQgaW4gAHZlY3RvcgAvdG1wAE91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblNjYWxlIDwgbU51bVNjYWxlQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYG51bV9pbmRpY2VzIDw9IG51bV9mZWF0dXJlc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGd4eCA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGltMC5oZWlnaHQoKT4+MSkgPT0gaW0yLmhlaWdodCgpYCBmYWlsZWQgaW4gAE1vcmUgaW5kaWNlcyB0aGFuIGZlYXR1cmVzAEVycm9yIGxvb2tpbmcgZm9yIHJlc291cmNlcyBkaXJlY3RvcnkgcGF0aABBc3NlcnRpb24gYHJvdyA8IG1IZWlnaHRgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBtQnVja2V0cy5zaXplKCkgPT0gbU51bUJ1Y2tldHNYYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZ3l5IDw9IDQxMjkwMjRgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3MSA+PSAwICYmIHcxIDw9IDEuMDAwMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGluZGV4IDw9IChiaW5YICsgYmluWSptTnVtWEJpbnMgKyBiaW5BbmdsZSptTnVtWEJpbnMqbU51bVlCaW5zICsgYmluU2NhbGUqbU51bVhCaW5zKm1OdW1ZQmlucyptTnVtQW5nbGVCaW5zKWAgZmFpbGVkIGluIABFcnJvciBjcmVhdGluZyByZXNvdXJjZXMgZGlyZWN0b3J5IHBhdGgAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2ZyYW1ld29yay9pbWFnZS5oAEJ1Y2tldHMgYXJlIG5vdCBhbGxvY2F0ZWQAQXNzZXJ0aW9uIGBudW1faW5kaWNlcyA+PSBtS2AgZmFpbGVkIGluIABBc3NlcnRpb24gYHcyID49IDAgJiYgdzIgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZ3l5ID49IDBgIGZhaWxlZCBpbiAATm90IGVub3VnaCBmZWF0dXJlcwByb3cgb3V0IG9mIGJvdW5kcwB2ZWN0b3IAQXNzZXJ0aW9uIGBtQnVja2V0c1swXS5zaXplKCkgPT0gbU51bUJ1Y2tldHNZYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZ3h5IDw9IDQxMjkwMjRgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3MyA+PSAwICYmIHczIDw9IDEuMDAwMWAgZmFpbGVkIGluIABFcnJvcjogVW5hYmxlIHRvIGNoYW5nZSB3b3JraW5nIGRpcmVjdG9yeSB0byAnJXMnLgoAQXNzaWdubWVudCBzaXplIGlzIGluY29ycmVjdABBc3NlcnRpb24gYG1GZWF0dXJlUG9pbnRzLnNpemUoKSA8PSBtTWF4TnVtRmVhdHVyZVBvaW50c2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGd4eSA+PSAtNDEyOTAyNGAgZmFpbGVkIGluIABBc3NlcnRpb24gYCh3MCt3MSt3Mit3MykgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbiA+IDBgIGZhaWxlZCBpbiAAWyUgLjNmICUgLjNmICUgLjNmXSBbJSA2LjFmXQoAAAMAAAADAAAABAAAAAQAAAAEAAAAAQAAAAQAAAACAAAAAgAAAAIAAAACAAAAAgAAAAEAAAABAAAAAQAAAAQAAACIAAAABQAAAJAAAAAGAAAAmAAAAAkAAACwAAAAGAQAANsJAABfDAAALA4AAC5pc2V0AHJiAE42dmlzaW9uMjVHYXVzc2lhblNjYWxlU3BhY2VQeXJhbWlkRQAAANj+AAA5UwAAVG9vIG1hbnkgZmVhdHVyZSBwb2ludHMAdmVjdG9yAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci91dGlscy9wYXJ0aWFsX3NvcnQuaABBc3NlcnRpb24gYHBvcyA9PSA2NjZgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBudW1fY2VudGVycyA+IDBgIGZhaWxlZCBpbiAAVGhlcmUgbXVzdCBiZSBhdCBsZWFzdCAxIGNlbnRlcgBuIG11c3QgYmUgcG9zaXRpdmUAUG9zaXRpb24gaXMgbm90IHdpdGhpbiByYW5nZQBBc3NlcnRpb24gYGtwLnNjYWxlIDwgbUxhcGxhY2lhblB5cmFtaWQubnVtU2NhbGVQZXJPY3RhdmUoKWAgZmFpbGVkIGluIABbJXNdIFslc10gWyVzXSA6IEZvdW5kICVkIGZlYXR1cmVzIGluIHF1ZXJ5AEZlYXR1cmUgcG9pbnQgc2NhbGUgaXMgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYGsgPiAwYCBmYWlsZWQgaW4gAGsgbXVzdCBiZSBwb3NpdGl2ZQBGaW5kIE1hdGNoZXMgKDEpAEFzc2VydGlvbiBga3Auc2NvcmUgPT0gbGFwMS5nZXQ8ZmxvYXQ+KHkpW3hdYCBmYWlsZWQgaW4gAFNjb3JlIGlzIG5vdCBjb25zaXN0ZW50IHdpdGggdGhlIERvRyBpbWFnZQBIb3VnaCBWb3RpbmcgKDEpAEZpbmQgSG91Z2ggTWF0Y2hlcyAoMSkAQXNzZXJ0aW9uIGBidWNrZXRbMF0uZmlyc3QgPj0gYnVja2V0W25dLmZpcnN0YCBmYWlsZWQgaW4gAG50aF9lbGVtZW50IGZhaWxlZABFc3RpbWF0ZSBIb21vZ3JhcGh5ICgxKQBGaW5kIElubGllcnMgKDEpAEFzc2VydGlvbiBgb2N0YXZlIDwgbU51bU9jdGF2ZXNgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9nYXVzc2lhbl9zY2FsZV9zcGFjZV9weXJhbWlkLmgARmluZCBNYXRjaGVzICgyKQBPY3RhdmUgb3V0IG9mIHJhbmdlAEhvdWdoIFZvdGluZyAoMikARmluZCBIb3VnaCBNYXRjaGVzICgyKQBBc3NlcnRpb24gYHNjYWxlIDwgbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIABTY2FsZSBvdXQgb2YgcmFuZ2UARXN0aW1hdGUgSG9tb2dyYXBoeSAoMikARmluZCBJbmxpZXJzICgyKQBBc3NlcnRpb24gYGluZGV4IDwgbUltYWdlcy5zaXplKClgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9Eb0dfc2NhbGVfaW52YXJpYW50X2RldGVjdG9yLmgAQXNzZXJ0aW9uIGBiZXN0X2luZGV4ICE9IHN0ZDo6bnVtZXJpY19saW1pdHM8c2l6ZV90Pjo6bWF4KClgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2ZlYXR1cmVfbWF0Y2hlci1pbmxpbmUuaABJbmRleCBpcyBvdXQgb2YgcmFuZ2UAU29tZXRoaW5nIHN0cmFuZ2UAQXNzZXJ0aW9uIGBzY2FsZSA+PSAwYCBmYWlsZWQgaW4gAFNjYWxlIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBtTWF0Y2hlcy5zaXplKCkgPD0gZmVhdHVyZXMxLT5zaXplKClgIGZhaWxlZCBpbiAATnVtYmVyIG9mIG1hdGNoZXMgc2hvdWxkIGJlIGxvd2VyAFNjYWxlIG11c3QgYmUgbGVzcyB0aGFuIG51bWJlciBvZiBzY2FsZSBwZXIgb2N0YXZlAEFzc2VydGlvbiBgbGFwMC5oZWlnaHQoKSA9PSBsYXAxLmhlaWdodCgpID09IGxhcDIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBtUm9vdC5nZXQoKWAgZmFpbGVkIGluIABXaWR0aC9oZWlnaHQgYXJlIG5vdCBjb25zaXN0ZW50AFJvb3QgY2Fubm90IGJlIE5VTEwAQXNzZXJ0aW9uIGBtaW5pICE9IC0xYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGxhcDAuaGVpZ2h0KCkgPT0gbGFwMS5oZWlnaHQoKSkgJiYgKChsYXAxLmhlaWdodCgpPj4xKSA9PSBsYXAyLmhlaWdodCgpKWAgZmFpbGVkIGluIABNaW5pbXVtIGluZGV4IG5vdCBzZXQAQXNzZXJ0aW9uIGAoKGxhcDAud2lkdGgoKT4+MSkgPT0gbGFwMS53aWR0aCgpKSAmJiAobGFwMS53aWR0aCgpID09IGxhcDIud2lkdGgoKSlgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbiA8PSBpbl9tYXRjaGVzLnNpemUoKWAgZmFpbGVkIGluIABJbWFnZSBzaXplcyBhcmUgaW5jb25zaXN0ZW50AFNob3VsZCBiZSB0aGUgc2FtZQBBc3NlcnRpb24gYGJpblggPj0gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYCh4LTEpID49IDAgJiYgKHgrMSkgPCBsYXAxLndpZHRoKClgIGZhaWxlZCBpbiAAeCBvdXQgb2YgYm91bmRzAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9ob3VnaF9zaW1pbGFyaXR5X3ZvdGluZy5oAGJpblggb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgKHktMSkgPj0gMCAmJiAoeSsxKSA8IGxhcDEuaGVpZ2h0KClgIGZhaWxlZCBpbiAAeSBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgYmluWCA8IG1OdW1YQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpblkgPj0gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYGxhcDAud2lkdGgoKSA9PSBsYXAxLndpZHRoKClgIGZhaWxlZCBpbiAASW1hZ2UgZGltZW5zaW9ucyBpbmNvbnNpc3RlbnQAYmluWSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiaW5ZIDwgbU51bVlCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbGFwMC53aWR0aCgpID09IGxhcDIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpbkFuZ2xlID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBsYXAwLmhlaWdodCgpID09IGxhcDEuaGVpZ2h0KClgIGZhaWxlZCBpbiAAYmluQW5nbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgbGFwMC5oZWlnaHQoKSA9PSBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYmluQW5nbGUgPCBtTnVtQW5nbGVCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKHgtMSkgPj0gMCAmJiAoeCsxKSA8IGltLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBiaW5TY2FsZSA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKHktMSkgPj0gMCAmJiAoeSsxKSA8IGltLmhlaWdodCgpYCBmYWlsZWQgaW4gAGJpblNjYWxlIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYChsYXAwLndpZHRoKCk+PjEpID09IGxhcDIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpblNjYWxlIDwgbU51bVNjYWxlQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYChsYXAwLmhlaWdodCgpPj4xKSA9PSBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeF9kaXZfMi0wLjVmID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBkaXN0QmluQW5nbGUgPj0gMGAgZmFpbGVkIGluIAB4X2Rpdl8yIG91dCBvZiBib3VuZHMgb3V0IG9mIGJvdW5kcyBmb3IgaW50ZXJwb2xhdGlvbgBkaXN0QmluQW5nbGUgbXVzdCBub3QgYmUgbmVnYXRpdmUAQXNzZXJ0aW9uIGBoeXAuc2l6ZSgpID49IDkqbWF4X251bV9oeXBvdGhlc2VzYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeV9kaXZfMi0wLjVmID49IDBgIGZhaWxlZCBpbiAAeV9kaXZfMiBvdXQgb2YgYm91bmRzIG91dCBvZiBib3VuZHMgZm9yIGludGVycG9sYXRpb24AL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2hvbW9ncmFwaHlfZXN0aW1hdGlvbi9yb2J1c3RfaG9tb2dyYXBoeS5oAGh5cCB2ZWN0b3Igc2hvdWxkIGJlIG9mIHNpemUgOSptYXhfbnVtX2h5cG90aGVzZXMAQXNzZXJ0aW9uIGB4X2Rpdl8yKzAuNWYgPCBsYXAyLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB0bXBfaS5zaXplKCkgPj0gbnVtX3BvaW50c2AgZmFpbGVkIGluIABBc3NlcnRpb24gYHlfZGl2XzIrMC41ZiA8IGxhcDIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAdG1wX2kgdmVjdG9yIHNob3VsZCBiZSBvZiBzaXplIG51bV9wb2ludHMAQXNzZXJ0aW9uIGAobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAxLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBoeXBfY29zdHMuc2l6ZSgpID49IG1heF9udW1faHlwb3RoZXNlc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYChsYXAwLmhlaWdodCgpPj4xKSA9PSBsYXAxLmhlaWdodCgpYCBmYWlsZWQgaW4gAHZlY3RvcgBBc3NlcnRpb24gYG4gPiAwYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci91dGlscy9wYXJ0aWFsX3NvcnQuaABBc3NlcnRpb24gYHJvdyA8IG1IZWlnaHRgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2ZyYW1ld29yay9pbWFnZS5oAG4gbXVzdCBiZSBwb3NpdGl2ZQByb3cgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYGsgPiAwYCBmYWlsZWQgaW4gAGsgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYChpbnQpc3RkOjpmbG9vcih4KSA9PSAoaW50KXhgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9pbnRlcnBvbGF0ZS5oAEFzc2VydGlvbiBgMGAgZmFpbGVkIGluIABGYWlsZWQgdG8gY29tcHV0ZSBtYXRyaXggaW52ZXJzZQBmbG9vcigpIGFuZCBjYXN0IG5vdCB0aGUgc2FtZQBBc3NlcnRpb24gYChpbnQpc3RkOjpmbG9vcih5KSA9PSAoaW50KXlgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB5cCA+PSAwICYmIHlwIDwgaGVpZ2h0YCBmYWlsZWQgaW4gAHlwIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGB5cF9wbHVzXzEgPj0gMCAmJiB5cF9wbHVzXzEgPCBoZWlnaHRgIGZhaWxlZCBpbiAAeXBfcGx1c18xIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGB4cCA+PSAwICYmIHhwIDwgd2lkdGhgIGZhaWxlZCBpbiAAeHAgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYHhwX3BsdXNfMSA+PSAwICYmIHhwX3BsdXNfMSA8IHdpZHRoYCBmYWlsZWQgaW4gAHhwX3BsdXNfMSBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgdzAgPj0gMCAmJiB3MCA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAT3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgdzEgPj0gMCAmJiB3MSA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3MiA+PSAwICYmIHcyIDw9IDEuMDAwMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHczID49IDAgJiYgdzMgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKHcwK3cxK3cyK3czKSA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAAAAAAGBTAAATAAAAFAAAAAAAAAD8ZwAAFQAAABYAAABONnZpc2lvbjlFeGNlcHRpb25FAAD/AAC8ZwAA/P8AAE42dmlzaW9uMThCaW5vbWlhbFB5cmFtaWQzMmZFAAAAAP8AANxnAABgUwAAAAAAANBnAAARAAAAFwAAABgAAAC5Uow+jlrnPrlSjD4AAAAAAAAAANBoAAAZAAAAGgAAABsAAAAcAAAAHQAAAE5TdDNfXzIyMF9fc2hhcmVkX3B0cl9wb2ludGVySVBONnZpc2lvbjhLZXlmcmFtZUlMaTk2RUVFTlNfMTBzaGFyZWRfcHRySVMzX0UyN19fc2hhcmVkX3B0cl9kZWZhdWx0X2RlbGV0ZUlTM19TM19FRU5TXzlhbGxvY2F0b3JJUzNfRUVFRQAA/wAASGgAAPT8AABOU3QzX18yMTBzaGFyZWRfcHRySU42dmlzaW9uOEtleWZyYW1lSUxpOTZFRUVFMjdfX3NoYXJlZF9wdHJfZGVmYXVsdF9kZWxldGVJUzNfUzNfRUUAYm9vbCB2aXNpb246OlZpc3VhbERhdGFiYXNlPHZpc2lvbjo6RlJFQUtFeHRyYWN0b3IsIHZpc2lvbjo6QmluYXJ5RmVhdHVyZVN0b3JlLCB2aXNpb246OkJpbmFyeUZlYXR1cmVNYXRjaGVyPDk2Pj46OnF1ZXJ5KGNvbnN0IEdhdXNzaWFuU2NhbGVTcGFjZVB5cmFtaWQgKikgW0ZFQVRVUkVfRVhUUkFDVE9SID0gdmlzaW9uOjpGUkVBS0V4dHJhY3RvciwgU1RPUkUgPSB2aXNpb246OkJpbmFyeUZlYXR1cmVTdG9yZSwgTUFUQ0hFUiA9IHZpc2lvbjo6QmluYXJ5RmVhdHVyZU1hdGNoZXI8OTY+XQBoeXBfY29zdHMgdmVjdG9yIHNob3VsZCBiZSBvZiBzaXplIG1heF9udW1faHlwb3RoZXNlcwAAAAAAsr65PhLcoL6Qvjk+EtygvpC+Ob4AAACAsr65vhLcoD6Qvjm+EtygPpC+OT7Schi/AAAAANJymL46BgS/0nKYPjoGBL/Schg/AAAAgNJymD46BgQ/0nKYvjoGBD8AAACAVrg9v2ZNJD9WuL2+Zk0kP1a4vT4AAAAAVrg9P2ZNJL9WuL0+Zk0kv1a4vb4M6Vg/AAAAgAzp2D6Z2Ts/DOnYvpnZOz8M6Vi/AAAAAAzp2L6Z2Tu/DOnYPpnZO78AAAAA/FNuP/FlTr8NVO4+8WVOvw1U7r4AAACA/FNuv/FlTj8NVO6+8WVOPw1U7j4AAIC/AAAAAAAAAL/Qs12/AAAAP9CzXb8AAIA/AAAAgAAAAD/Qs10/AAAAv9CzXT8AAAAACGwAABkAAAAeAAAAHwAAACAAAAAhAAAATlN0M19fMjIwX19zaGFyZWRfcHRyX3BvaW50ZXJJUGgxNk51bGxBcnJheURlbGV0ZXJJaEVOU185YWxsb2NhdG9ySWhFRUVFAAAAAAD/AAC8awAA9PwAADE2TnVsbEFycmF5RGVsZXRlckloRQAAAAAAAACwbAAAGQAAACIAAAAjAAAAJAAAACUAAABOU3QzX18yMjBfX3NoYXJlZF9wdHJfcG9pbnRlcklQaE5TXzEwc2hhcmVkX3B0ckloRTI3X19zaGFyZWRfcHRyX2RlZmF1bHRfZGVsZXRlSWhoRUVOU185YWxsb2NhdG9ySWhFRUVFAAD/AABIbAAA9PwAAE5TdDNfXzIxMHNoYXJlZF9wdHJJaEUyN19fc2hhcmVkX3B0cl9kZWZhdWx0X2RlbGV0ZUloaEVFAHZpc2lvbjo6U2NvcGVkVGltZXI6On5TY29wZWRUaW1lcigpAG9wZXJhdG9yfgB7Li4ufQBvcGVyYXRvcnx8AG9wZXJhdG9yfABpbmZpbml0eQBNaXNzaW5nIEh1ZmZtYW4gY29kZSB0YWJsZSBlbnRyeQBGZWJydWFyeQBKYW51YXJ5ACBpbWFnaW5hcnkASnVseQBUaHVyc2RheQBUdWVzZGF5AFdlZG5lc2RheQBTYXR1cmRheQBTdW5kYXkATW9uZGF5AEZyaWRheQBNYXkAVHkAJW0vJWQvJXkATUFYX0FMTE9DX0NIVU5LIGlzIHdyb25nLCBwbGVhc2UgZml4AEFMSUdOX1RZUEUgaXMgd3JvbmcsIHBsZWFzZSBmaXgAc2V0TWFya2VySW5mb1ZlcnRleAAgY29tcGxleABEeABOb3QgYSBKUEVHIGZpbGU6IHN0YXJ0cyB3aXRoIDB4JTAyeCAweCUwMngAQ29ycnVwdCBKUEVHIGRhdGE6ICV1IGV4dHJhbmVvdXMgYnl0ZXMgYmVmb3JlIG1hcmtlciAweCUwMngAVW5leHBlY3RlZCBtYXJrZXIgMHglMDJ4AFVuc3VwcG9ydGVkIG1hcmtlciB0eXBlIDB4JTAyeABVbnN1cHBvcnRlZCBKUEVHIHByb2Nlc3M6IFNPRiB0eXBlIDB4JTAyeABEZWZpbmUgSHVmZm1hbiBUYWJsZSAweCUwMngARGVmaW5lIEFyaXRobWV0aWMgVGFibGUgMHglMDJ4OiAweCUwMngALSsgICAwWDB4AC0wWCswWCAwWC0weCsweCAweABCb2d1cyBEQUMgdmFsdWUgMHgleAB0aHJvdwBfX25leHRfcHJpbWUgb3ZlcmZsb3cASHVmZm1hbiBjb2RlIHNpemUgdGFibGUgb3ZlcmZsb3cAbncAb3BlcmF0b3IgbmV3AER3AE5vdgBkdgBjdgBEdgBUaHUAVHUAICAgICAgICAlNHUgJTR1ICU0dSAlNHUgJTR1ICU0dSAlNHUgJTR1AEpQRUcgcGFyYW1ldGVyIHN0cnVjdCBtaXNtYXRjaDogbGlicmFyeSB0aGlua3Mgc2l6ZSBpcyAldSwgY2FsbGVyIGV4cGVjdHMgJXUARGVmaW5lIFJlc3RhcnQgSW50ZXJ2YWwgJXUAV2FybmluZzogdGh1bWJuYWlsIGltYWdlIHNpemUgZG9lcyBub3QgbWF0Y2ggZGF0YSBsZW5ndGggJXUATWlzY2VsbGFuZW91cyBtYXJrZXIgMHglMDJ4LCBsZW5ndGggJXUASkZJRiBleHRlbnNpb24gbWFya2VyOiB0eXBlIDB4JTAyeCwgbGVuZ3RoICV1AEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogcGFsZXR0ZSB0aHVtYm5haWwgaW1hZ2UsIGxlbmd0aCAldQBKRklGIGV4dGVuc2lvbiBtYXJrZXI6IEpQRUctY29tcHJlc3NlZCB0aHVtYm5haWwgaW1hZ2UsIGxlbmd0aCAldQBKRklGIGV4dGVuc2lvbiBtYXJrZXI6IFJHQiB0aHVtYm5haWwgaW1hZ2UsIGxlbmd0aCAldQBVbmtub3duIEFQUDE0IG1hcmtlciAobm90IEFkb2JlKSwgbGVuZ3RoICV1AFVua25vd24gQVBQMCBtYXJrZXIgKG5vdCBKRklGKSwgbGVuZ3RoICV1AE9idGFpbmVkIFhNUyBoYW5kbGUgJXUARnJlZWQgWE1TIGhhbmRsZSAldQBPYnRhaW5lZCBFTVMgaGFuZGxlICV1AEZyZWVkIEVNUyBoYW5kbGUgJXUAdW5zdXBwb3J0ZWQgbG9jYWxlIGZvciBzdGFuZGFyZCBpbnB1dABBdWd1c3QAZ2V0VHJhbnNNYXRNdWx0aVNxdWFyZVJvYnVzdAAgY29uc3QASW52YWxpZCBjcm9wIHJlcXVlc3QAVW5zdXBwb3J0ZWQgY29sb3IgY29udmVyc2lvbiByZXF1ZXN0AGNvbnN0X2Nhc3QAcmVpbnRlcnByZXRfY2FzdABzdGF0aWNfY2FzdABkeW5hbWljX2Nhc3QAdW5zaWduZWQgc2hvcnQAbm9leGNlcHQAZ2V0TXVsdGlNYXJrZXJDb3VudABnZXRUcmFuc01hdFNxdWFyZUNvbnQAdW5zaWduZWQgaW50AENvcnJ1cHQgSlBFRyBkYXRhOiBwcmVtYXR1cmUgZW5kIG9mIGRhdGEgc2VnbWVudABsdABndABGcmFjdGlvbmFsIHNhbXBsaW5nIG5vdCBpbXBsZW1lbnRlZCB5ZXQAQ0NJUjYwMSBzYW1wbGluZyBub3QgaW1wbGVtZW50ZWQgeWV0AE5vdCBpbXBsZW1lbnRlZCB5ZXQAZnNldABzdHJ1Y3QAIHJlc3RyaWN0AG9iamNfb2JqZWN0AE9jdABmbG9hdABfRmxvYXQAU2F0AHN0ZDo6bnVsbHB0cl90AHdjaGFyX3QAY2hhcjhfdABjaGFyMTZfdAB1aW50NjRfdABjaGFyMzJfdABVdABUdABTdABDYW5ub3QgcXVhbnRpemUgbW9yZSB0aGFuICVkIGNvbG9yIGNvbXBvbmVudHMAU3RhcnQgT2YgU2NhbjogJWQgY29tcG9uZW50cwBCb2d1cyB2aXJ0dWFsIGFycmF5IGFjY2VzcwBCb2d1cyBzYW1wbGluZyBmYWN0b3JzAFF1YW50aXppbmcgdG8gJWQgPSAlZColZColZCBjb2xvcnMAUXVhbnRpemluZyB0byAlZCBjb2xvcnMAQ2Fubm90IHF1YW50aXplIHRvIGZld2VyIHRoYW4gJWQgY29sb3JzAENhbm5vdCBxdWFudGl6ZSB0byBtb3JlIHRoYW4gJWQgY29sb3JzAEludmFsaWQgSlBFRyBmaWxlIHN0cnVjdHVyZTogdHdvIFNPSSBtYXJrZXJzAEludmFsaWQgSlBFRyBmaWxlIHN0cnVjdHVyZTogdHdvIFNPRiBtYXJrZXJzAFNtb290aGluZyBub3Qgc3VwcG9ydGVkIHdpdGggbm9uc3RhbmRhcmQgc2FtcGxpbmcgcmF0aW9zAE1heGltdW0gc3VwcG9ydGVkIGltYWdlIGRpbWVuc2lvbiBpcyAldSBwaXhlbHMAdGhpcwBncwBBcHBsaWNhdGlvbiB0cmFuc2ZlcnJlZCB0b28gbWFueSBzY2FubGluZXMAQXBwbGljYXRpb24gdHJhbnNmZXJyZWQgdG9vIGZldyBzY2FubGluZXMAc2V0dXBBUjJUaHJlYWRzAFRzAEZhaWxlZCB0byBjcmVhdGUgdGVtcG9yYXJ5IGZpbGUgJXMAQ2xvc2VkIHRlbXBvcmFyeSBmaWxlICVzAE9wZW5lZCB0ZW1wb3JhcnkgZmlsZSAlcwBudWxscHRyAHNyAEFwcgB2ZWN0b3IAc3RkOjphbGxvY2F0b3IASW5wdXQgZmlsZSByZWFkIGVycm9yAHNldE1hcmtlckluZm9EaXIASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiBtaXNzaW5nIFNPUyBtYXJrZXIAZ2V0TWFya2VyAGRldGVjdE1hcmtlcgBfYWRkTXVsdGlNYXJrZXIAZ2V0TXVsdGlFYWNoTWFya2VyAF9hZGRNYXJrZXIAZ2V0TkZUTWFya2VyAGRldGVjdE5GVE1hcmtlcgBfYWRkTkZUTWFya2VyAE9jdG9iZXIATm92ZW1iZXIAU2VwdGVtYmVyAERlY2VtYmVyAHVuc2lnbmVkIGNoYXIAaW9zX2Jhc2U6OmNsZWFyAE1hcgBVbnJlY29nbml6ZWQgY29tcG9uZW50IElEcyAlZCAlZCAlZCwgYXNzdW1pbmcgWUNiQ3IAZXEAc2V0dXAAVmlydHVhbCBhcnJheSBjb250cm9sbGVyIG1lc3NlZCB1cABmcABTZXAAVHAAJUk6JU06JVMgJXAAYXV0bwBvYmpjcHJvdG8Ab28Ac2V0UGF0dFJhdGlvAGdldFBhdHRSYXRpbwBlbwBEbwB0ZWFyZG93bgBTdW4ASnVuAHlwdG4Ac3RkOjpleGNlcHRpb24AQm9ndXMgSHVmZm1hbiB0YWJsZSBkZWZpbml0aW9uAFNlbGVjdGVkICVkIGNvbG9ycyBmb3IgcXVhbnRpemF0aW9uAF9fY3hhX2d1YXJkX2FjcXVpcmUgZGV0ZWN0ZWQgcmVjdXJzaXZlIGluaXRpYWxpemF0aW9uAEltYWdlIHRvbyB3aWRlIGZvciB0aGlzIGltcGxlbWVudGF0aW9uAHVuaW9uAE1vbgBkbgBuYW4ARGlkbid0IGV4cGVjdCBtb3JlIHRoYW4gb25lIHNjYW4AU2FtcGxpbmcgZmFjdG9ycyB0b28gbGFyZ2UgZm9yIGludGVybGVhdmVkIHNjYW4ASmFuAFRuAGVudW0AZ2V0TWFya2VyTnVtAGdldE11bHRpTWFya2VyTnVtAHJtAGNtAGJhc2ljX2lvc3RyZWFtAHN0ZDo6aW9zdHJlYW0AYmFzaWNfb3N0cmVhbQBzdGQ6Om9zdHJlYW0AYmFzaWNfaXN0cmVhbQBzdGQ6OmlzdHJlYW0ASnVsAHBsAGJvb2wAbWwAdWxsAEJ1ZmZlciBwYXNzZWQgdG8gSlBFRyBsaWJyYXJ5IGlzIHRvbyBzbWFsbABBcHJpbABzZXRMb2dMZXZlbABnZXRMb2dMZXZlbABlbXNjcmlwdGVuOjp2YWwAc3RyaW5nIGxpdGVyYWwAVWwARnJpAHBpAG1pAGJhZF9hcnJheV9uZXdfbGVuZ3RoAEJvZ3VzIG1hcmtlciBsZW5ndGgATWFyY2gAQXVnAHVuc2lnbmVkIGxvbmcgbG9uZwB1bnNpZ25lZCBsb25nAHRlcm1pbmF0aW5nAHN0ZDo6d3N0cmluZwBzdGQ6OmJhc2ljX3N0cmluZwBzdGQ6OnN0cmluZwBzdGQ6OnUxNnN0cmluZwBzdGQ6OnUzMnN0cmluZwBDb3B5cmlnaHQgKEMpIDIwMTgsIFRob21hcyBHLiBMYW5lLCBHdWlkbyBWb2xsYmVkaW5nAF9fdXVpZG9mAGluZgBoYWxmACVhZgAlLjBMZgAlTGYAdHJ1ZQBUdWUAb3BlcmF0b3IgZGVsZXRlAGZhbHNlAFN1c3BlbnNpb24gbm90IGFsbG93ZWQgaGVyZQBnZXRUcmFuc01hdFNxdWFyZQBnZXRUcmFuc01hdE11bHRpU3F1YXJlAHNldE1hdHJpeENvZGVUeXBlAGdldE1hdHJpeENvZGVUeXBlAEp1bmUAc2V0UHJvamVjdGlvbk5lYXJQbGFuZQBnZXRQcm9qZWN0aW9uTmVhclBsYW5lAHNldFByb2plY3Rpb25GYXJQbGFuZQBnZXRQcm9qZWN0aW9uRmFyUGxhbmUAUmVxdWVzdGVkIGZlYXR1cmUgd2FzIG9taXR0ZWQgYXQgY29tcGlsZSB0aW1lACB2b2xhdGlsZQBTZWVrIGZhaWxlZCBvbiB0ZW1wb3JhcnkgZmlsZQBSZWFkIGZhaWxlZCBvbiB0ZW1wb3JhcnkgZmlsZQBFbXB0eSBpbnB1dCBmaWxlAFByZW1hdHVyZSBlbmQgb2YgaW5wdXQgZmlsZQBQcmVtYXR1cmUgZW5kIG9mIEpQRUcgZmlsZQBzZXRDYW1lcmEoKTogRXJyb3IgY3JlYXRpbmcgM0QgaGFuZGxlAGxvbmcgZG91YmxlAF9ibG9ja19pbnZva2UARENUIGNvZWZmaWNpZW50IG91dCBvZiByYW5nZQBJbnZhbGlkIGNvbG9yIHF1YW50aXphdGlvbiBtb2RlIGNoYW5nZQBKUEVHIGRhdGFzdHJlYW0gY29udGFpbnMgbm8gaW1hZ2UAICAgIHdpdGggJWQgeCAlZCB0aHVtYm5haWwgaW1hZ2UAZ2V0UHJvY2Vzc2luZ0ltYWdlAFN0YXJ0IG9mIEltYWdlAEVuZCBPZiBJbWFnZQBCb2d1cyBidWZmZXIgY29udHJvbCBtb2RlAENvcnJ1cHQgSlBFRyBkYXRhOiBiYWQgSHVmZm1hbiBjb2RlAENvcnJ1cHQgSlBFRyBkYXRhOiBiYWQgYXJpdGhtZXRpYyBjb2RlAHNldFBhdHRlcm5EZXRlY3Rpb25Nb2RlAGdldFBhdHRlcm5EZXRlY3Rpb25Nb2RlAHNldERlYnVnTW9kZQBnZXREZWJ1Z01vZGUAc2V0TGFiZWxpbmdNb2RlAGdldExhYmVsaW5nTW9kZQBzZXRUaHJlc2hvbGRNb2RlAGdldFRocmVzaG9sZE1vZGUAc2V0SW1hZ2VQcm9jTW9kZQBnZXRJbWFnZVByb2NNb2RlAEJvZ3VzIGlucHV0IGNvbG9yc3BhY2UAQm9ndXMgSlBFRyBjb2xvcnNwYWNlAFRlAHN0ZABzZXRUaHJlc2hvbGQAZ2V0VGhyZXNob2xkAHZvaWQAQmFja2luZyBzdG9yZSBub3Qgc3VwcG9ydGVkAERDVCBzY2FsZWQgYmxvY2sgc2l6ZSAlZHglZCBub3Qgc3VwcG9ydGVkAHRlcm1pbmF0ZV9oYW5kbGVyIHVuZXhwZWN0ZWRseSByZXR1cm5lZABRdWFudGl6YXRpb24gdGFibGUgMHglMDJ4IHdhcyBub3QgZGVmaW5lZABIdWZmbWFuIHRhYmxlIDB4JTAyeCB3YXMgbm90IGRlZmluZWQAQXJpdGhtZXRpYyB0YWJsZSAweCUwMnggd2FzIG5vdCBkZWZpbmVkACd1bm5hbWVkAFdyaXRlIHRvIFhNUyBmYWlsZWQAUmVhZCBmcm9tIFhNUyBmYWlsZWQAV3JpdGUgdG8gRU1TIGZhaWxlZABSZWFkIGZyb20gRU1TIGZhaWxlZABXZWQAICAgICAgICAlM2QgJTNkICUzZCAlM2QgJTNkICUzZCAlM2QgJTNkAFdhcm5pbmc6IHVua25vd24gSkZJRiByZXZpc2lvbiBudW1iZXIgJWQuJTAyZABDb3JydXB0IEpQRUcgZGF0YTogZm91bmQgbWFya2VyIDB4JTAyeCBpbnN0ZWFkIG9mIFJTVCVkAFN0YXJ0IE9mIEZyYW1lIDB4JTAyeDogd2lkdGg9JXUsIGhlaWdodD0ldSwgY29tcG9uZW50cz0lZAAgICAgQ29tcG9uZW50ICVkOiAlZGh4JWR2IHE9JWQASW52YWxpZCBwcm9ncmVzc2l2ZSBwYXJhbWV0ZXJzIFNzPSVkIFNlPSVkIEFoPSVkIEFsPSVkACAgU3M9JWQsIFNlPSVkLCBBaD0lZCwgQWw9JWQAICAgIENvbXBvbmVudCAlZDogZGM9JWQgYWM9JWQASW52YWxpZCBwcm9ncmVzc2l2ZSBwYXJhbWV0ZXJzIGF0IHNjYW4gc2NyaXB0IGVudHJ5ICVkAEludmFsaWQgc2NhbiBzY3JpcHQgYXQgZW50cnkgJWQAQm9ndXMgRFFUIGluZGV4ICVkAEJvZ3VzIERIVCBpbmRleCAlZABCb2d1cyBEQUMgaW5kZXggJWQAVG9vIG1hbnkgY29sb3IgY29tcG9uZW50czogJWQsIG1heCAlZABJbmNvbnNpc3RlbnQgcHJvZ3Jlc3Npb24gc2VxdWVuY2UgZm9yIGNvbXBvbmVudCAlZCBjb2VmZmljaWVudCAlZABXcm9uZyBKUEVHIGxpYnJhcnkgdmVyc2lvbjogbGlicmFyeSBpcyAlZCwgY2FsbGVyIGV4cGVjdHMgJWQAQXQgbWFya2VyIDB4JTAyeCwgcmVjb3ZlcnkgYWN0aW9uICVkAFVuc3VwcG9ydGVkIEpQRUcgZGF0YSBwcmVjaXNpb24gJWQARGVmaW5lIFF1YW50aXphdGlvbiBUYWJsZSAlZCAgcHJlY2lzaW9uICVkAEFkb2JlIEFQUDE0IG1hcmtlcjogdmVyc2lvbiAlZCwgZmxhZ3MgMHglMDR4IDB4JTA0eCwgdHJhbnNmb3JtICVkAEltcHJvcGVyIGNhbGwgdG8gSlBFRyBsaWJyYXJ5IGluIHN0YXRlICVkAENhbm5vdCB0cmFuc2NvZGUgZHVlIHRvIG11bHRpcGxlIHVzZSBvZiBxdWFudGl6YXRpb24gdGFibGUgJWQAVW5rbm93biBBZG9iZSBjb2xvciB0cmFuc2Zvcm0gY29kZSAlZABJbnZhbGlkIG1lbW9yeSBwb29sIGNvZGUgJWQAQm9ndXMgbWVzc2FnZSBjb2RlICVkAEpGSUYgQVBQMCBtYXJrZXI6IHZlcnNpb24gJWQuJTAyZCwgZGVuc2l0eSAlZHglZCAgJWQAc3RkOjpiYWRfYWxsb2MARGVjACVsZCVjAENvbXBvbmVudCBpbmRleCAlZDogbWlzbWF0Y2hpbmcgc2FtcGxpbmcgcmF0aW8gJWQ6JWQsICVkOiVkLCAlYwBGZWIAVWIAcndhAFNjYW4gc2NyaXB0IGRvZXMgbm90IHRyYW5zbWl0IGFsbCBkYXRhAF9sb2FkQ2FtZXJhAG5hACdsYW1iZGEAYWEAJWEAb3BlcmF0b3JeAG9wZXJhdG9yIG5ld1tdAG9wZXJhdG9yW10Ab3BlcmF0b3IgZGVsZXRlW10AcGl4ZWwgdmVjdG9yWwApWwBfX19fWgBBUl9VU0VfVFJBQ0tJTkdfSElTVE9SWQBBUl9OT1VTRV9UUkFDS0lOR19ISVNUT1JZACVhICViICVkICVIOiVNOiVTICVZAFBPU0lYAEFSX1RFTVBMQVRFX01BVENISU5HX0NPTE9SX0FORF9NQVRSSVgAQVJfVEVNUExBVEVfTUFUQ0hJTkdfTU9OT19BTkRfTUFUUklYAGRWAEFSX0xBQkVMSU5HX1RIUkVTSF9NT0RFX0FVVE9fT1RTVQBmcFQAJFRUAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9DT05UUkFTVABBUl9NQVhfTE9PUF9DT1VOVAAkVAByUwBsUwBhUwBJbnZhbGlkIGNvbXBvbmVudCBJRCAlZCBpbiBTT1MAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX0hFVVJJU1RJQ19UUk9VQkxFU09NRV9NQVRSSVhfQ09ERVMARVJST1JfTUFSS0VSX0lOREVYX09VVF9PRl9CT1VORFMAJUg6JU06JVMAb1IAQVJfTE9HX0xFVkVMX0VSUk9SAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9QT1NFX0VSUk9SAEFSX1RFTVBMQVRFX01BVENISU5HX0NPTE9SAGVPAEFSX1RFTVBMQVRFX01BVENISU5HX01PTk8AQVJfTE9HX0xFVkVMX0lORk8AQVJfTE9HX0xFVkVMX1JFTF9JTkZPAERPAHNyTgBhTgBfR0xPQkFMX19OAEFSX0xPR19MRVZFTF9XQVJOAEFSX01BVFJJWF9DT0RFX0RFVEVDVElPTgBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfUEFUVEVSTl9FWFRSQUNUSU9OAEFSX0xBQkVMSU5HX0JMQUNLX1JFR0lPTgBBUl9MQUJFTElOR19XSElURV9SRUdJT04ATkFOAEFSX0xBQkVMSU5HX1RIUkVTSF9NT0RFX0FVVE9fTUVESUFOACROAHJNAFBNAEpQRUdNRU0AQU0AcEwAbUwAZkwAJUxhTABMQ19BTEwAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX01BVENIX0JBUkNPREVfRURDX0ZBSUwAQVJfTEFCRUxJTkdfVEhSRVNIX01PREVfTUFOVUFMAG1JAFVhOWVuYWJsZV9pZkkAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX1BPU0VfRVJST1JfTVVMVEkAQVJfTE9PUF9CUkVBS19USFJFU0gAQVJfREVGQVVMVF9MQUJFTElOR19USFJFU0gAQVJfTE9HX0xFVkVMX0RFQlVHAExBTkcASW52YWxpZCBTT1MgcGFyYW1ldGVycyBmb3Igc2VxdWVudGlhbCBKUEVHAENhdXRpb246IHF1YW50aXphdGlvbiB0YWJsZXMgYXJlIHRvbyBjb2Fyc2UgZm9yIGJhc2VsaW5lIEpQRUcASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiAlcyBiZWZvcmUgU09GAElORgB2RQBEbkUAQVJfTEFCRUxJTkdfVEhSRVNIX01PREVfQVVUT19BREFQVElWRQBSRQBPRQBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTk9ORQBBUl9ERUJVR19ESVNBQkxFAEFSX0RFQlVHX0VOQUJMRQBBUl9JTUFHRV9QUk9DX0ZSQU1FX0lNQUdFAEFSX0lNQUdFX1BST0NfRklFTERfSU1BR0UAQVJfREVGQVVMVF9QQVRURVJOX0RFVEVDVElPTl9NT0RFAEFSX0RFRkFVTFRfTUFSS0VSX0VYVFJBQ1RJT05fTU9ERQBBUl9ERUZBVUxUX0RFQlVHX01PREUAQVJfREVGQVVMVF9MQUJFTElOR19NT0RFAEFSX0RFRkFVTFRfSU1BR0VfUFJPQ19NT0RFAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9DT05GSURFTkNFAGIxRQBiMEUARVJST1JfQVJDT05UUk9MTEVSX05PVF9GT1VORABFUlJPUl9NVUxUSU1BUktFUl9OT1RfRk9VTkQAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX01BVENIX0JBUkNPREVfTk9UX0ZPVU5EAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9HRU5FUklDAERDAG9wZXJhdG9yPwBPdXRwdXQgZmlsZSB3cml0ZSBlcnJvciAtLS0gb3V0IG9mIGRpc2sgc3BhY2U/AFdyaXRlIGZhaWxlZCBvbiB0ZW1wb3JhcnkgZmlsZSAtLS0gb3V0IG9mIGRpc2sgc3BhY2U/AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHNob3J0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBzaG9ydD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBpbnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGZsb2F0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50OF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ4X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50MzJfdD4Ab3BlcmF0b3I+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGNoYXI+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIGNoYXI+AHN0ZDo6YmFzaWNfc3RyaW5nPHVuc2lnbmVkIGNoYXI+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHNpZ25lZCBjaGFyPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxsb25nPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBsb25nPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxkb3VibGU+AG9wZXJhdG9yPj4Ab3BlcmF0b3I8PT4Ab3BlcmF0b3ItPgBzdGQ6OmJhc2ljX2lvc3RyZWFtPGNoYXIsIHN0ZDo6Y2hhcl90cmFpdHM8Y2hhcj4gPgBzdGQ6OmJhc2ljX29zdHJlYW08Y2hhciwgc3RkOjpjaGFyX3RyYWl0czxjaGFyPiA+AHN0ZDo6YmFzaWNfaXN0cmVhbTxjaGFyLCBzdGQ6OmNoYXJfdHJhaXRzPGNoYXI+ID4Ac3RkOjpiYXNpY19zdHJpbmc8Y2hhciwgc3RkOjpjaGFyX3RyYWl0czxjaGFyPiwgc3RkOjphbGxvY2F0b3I8Y2hhcj4gPgBvcGVyYXRvcnw9AG9wZXJhdG9yPQBvcGVyYXRvcl49AG9wZXJhdG9yPj0Ab3BlcmF0b3I+Pj0Ab3BlcmF0b3I9PQBvcGVyYXRvcjw9AG9wZXJhdG9yPDw9AG9wZXJhdG9yLz0Ab3BlcmF0b3ItPQBvcGVyYXRvcis9AG9wZXJhdG9yKj0Ab3BlcmF0b3ImPQBvcGVyYXRvciU9AG9wZXJhdG9yIT0Ab3BlcmF0b3I8AHRlbXBsYXRlPABpZDwAb3BlcmF0b3I8PAAuPAAiPABbYWJpOgAgW2VuYWJsZV9pZjoAc3RkOjoAMDEyMzQ1Njc4OQB1bnNpZ25lZCBfX2ludDEyOABfX2Zsb2F0MTI4AGRlY2ltYWwxMjgAOWMgIDE0LUphbi0yMDE4AEMuVVRGLTgAQVJfTUFUUklYX0NPREVfNHg0X0JDSF8xM181XzUAQVJfTUFUUklYX0NPREVfM3gzX1BBUklUWTY1AEFSX01BVFJJWF9DT0RFXzR4NABkZWNpbWFsNjQAQVJfTUFUUklYX0NPREVfM3gzAGZzZXQzAEFSX01BVFJJWF9DT0RFXzR4NF9CQ0hfMTNfOV8zAEFSX01BVFJJWF9DT0RFXzN4M19IQU1NSU5HNjMAQVJfVVNFX1RSQUNLSU5HX0hJU1RPUllfVjIAc2V0dXBBUjIAZGVjaW1hbDMyADAAb3BlcmF0b3IvAG9uLgBvZmYuACAuLi4Ab3BlcmF0b3ItAC1pbi0Ab3BlcmF0b3ItLQBvcGVyYXRvciwAb3BlcmF0b3IrAG9wZXJhdG9yKysAb3BlcmF0b3IqAG9wZXJhdG9yLT4qADo6KgAuKgBkZWNsdHlwZShhdXRvKQAobnVsbCkAKGFub255bW91cyBuYW1lc3BhY2UpAEVtcHR5IEpQRUcgaW1hZ2UgKEROTCBub3Qgc3VwcG9ydGVkKQBJbnN1ZmZpY2llbnQgbWVtb3J5IChjYXNlICVkKQBvcGVyYXRvcigpAHRocm93KABub2V4Y2VwdCgAZGVjbHR5cGUoAD4oAHNpemVvZi4uLigAKSgAbm9leGNlcHQgKABhbGlnbm9mICgAc2l6ZW9mICgAdHlwZWlkICgAKSA/ICgAKSA6ICgAc2l6ZW9mLi4uICgAJ2Jsb2NrLWxpdGVyYWwnAG9wZXJhdG9yJgBvcGVyYXRvciYmACAmJgAgJgBvcGVyYXRvciUAPiIAb3BlcmF0b3IhAFB1cmUgdmlydHVhbCBmdW5jdGlvbiBjYWxsZWQhAHRocm93IAAgYXQgb2Zmc2V0IAA6Om9wZXJhdG9yIAByZWZlcmVuY2UgdGVtcG9yYXJ5IGZvciAAdGVtcGxhdGUgcGFyYW1ldGVyIG9iamVjdCBmb3IgAHR5cGVpbmZvIGZvciAAdGhyZWFkLWxvY2FsIHdyYXBwZXIgcm91dGluZSBmb3IgAHRocmVhZC1sb2NhbCBpbml0aWFsaXphdGlvbiByb3V0aW5lIGZvciAAdHlwZWluZm8gbmFtZSBmb3IgAGNvbnN0cnVjdGlvbiB2dGFibGUgZm9yIABndWFyZCB2YXJpYWJsZSBmb3IgAFZUVCBmb3IgAGNvdmFyaWFudCByZXR1cm4gdGh1bmsgdG8gAG5vbi12aXJ0dWFsIHRodW5rIHRvIABpbnZvY2F0aW9uIGZ1bmN0aW9uIGZvciBibG9jayBpbiAAPiB0eXBlbmFtZSAAW10gACA9IAAgLi4uIAAsIAApIABvcGVyYXRvciIiIABFcnJvciByZWFkaW5nIGRhdGEgZnJvbSAlcy5mc2V0CgBSZWFkaW5nICVzLmZzZXQKAEVycm9yOiBrcG1TZXRSZWZEYXRhU2V0CgBFcnJvcjoga3BtQ2hhbmdlUGFnZU5vT2ZSZWZEYXRhU2V0CgBFcnJvcjoga3BtTWVyZ2VSZWZEYXRhU2V0CgBEZWJ1ZyBtb2RlIHNldCB0byAlcwoARXJyb3I6IHRocmVhZEhhbmRsZQoATGFiZWxpbmcgbW9kZSBzZXQgdG8gJWQKAFRocmVzaG9sZCBtb2RlIHNldCB0byAlZAoAVGhyZXNob2xkIHNldCB0byAlZAoAQWxsb2NhdGVkIHZpZGVvRnJhbWVTaXplICVkCgBFcnJvciByZWFkaW5nIEtQTSBkYXRhIGZyb20gJXMuZnNldDMKAFJlYWRpbmcgJXMuZnNldDMKAFRyYWNraW5nIGxvc3QuCgBsb2FkTWFya2VyKCk6IEVycm9yIGxvYWRpbmcgcGF0dGVybiBmaWxlICVzLgoAdHJhY2tpbmdJbml0U3RhcnQoKTogRXJyb3I6IE5VTEwgdGhyZWFkSGFuZGxlIG9yIGltYWdlUHRyLgoARXJyb3Igc3RhcnRpbmcgdHJhY2tpbmcgdGhyZWFkOiBlbXB0eSBrcG1IYW5kbGUvaW1hZ2VMdW1hUHRyLgoAQVJUb29sS2l0SlMoKTogVW5hYmxlIHRvIHNldCB1cCBBUiBtdWx0aW1hcmtlci4KAEFSVG9vbEtpdEpTKCk6IFVuYWJsZSB0byBzZXQgdXAgTkZUIG1hcmtlci4KAEFSVG9vbEtpdEpTKCk6IFVuYWJsZSB0byBzZXQgdXAgQVIgbWFya2VyLgoAdHJhY2tpbmdJbml0UXVpdCgpOiBFcnJvcjogTlVMTCB0aHJlYWRIYW5kbGVfcC4KAFBhdHRlcm4gcmF0aW8gc2l6ZSBzZXQgdG8gJWYuCgBMb2FkaW5nIG9mIE5GVCBkYXRhIGNvbXBsZXRlLgoAc2V0Q2FtZXJhKCk6IEVycm9yOiBhclBhcmFtTFRDcmVhdGUuCgAgIERvbmUuCgB0cmFja2luZ0luaXRTdGFydCgpOiBFcnJvcjogTlVMTCB0cmFja2luZ0luaXRIYW5kbGUuCgB0cmFja2luZ0luaXRJbml0KCk6IEVycm9yOiBOVUxMIEtwbUhhbmRsZS4KAHNldHVwKCk6IEVycm9yOiBhclBhdHRDcmVhdGVIYW5kbGUuCgBzZXRDYW1lcmEoKTogRXJyb3I6IGFyQ3JlYXRlSGFuZGxlLgoARXJyb3I6IGFyMkNyZWF0ZUhhbmRsZS4KAHRyYWNraW5nSW5pdEdldFJlc3VsdCgpOiBFcnJvcjogTlVMTCB0aHJlYWRIYW5kbGUgb3IgdHJhbnMgb3IgcGFnZS4KAE5vIHBhZ2UgZGV0ZWN0ZWQuCgBTdGFydCB0cmFja2luZyB0aHJlYWQuCgBFbmQgdHJhY2tpbmcgdGhyZWFkLgoAUGF0dGVybiBkZXRlY3Rpb24gbW9kZSBzZXQgdG8gJWQuCgBJbWFnZSBwcm9jLiBtb2RlIHNldCB0byAlZC4KAERldGVjdGVkIHBhZ2UgJWQuCgBEZXRlY3RlZCBiYWQgcGFnZSAlZC4KACAgQXNzaWduZWQgcGFnZSBuby4gJWQuCgBsb2FkQ2FtZXJhKCk6IEVycm9yIGxvYWRpbmcgcGFyYW1ldGVyIGZpbGUgJXMgZm9yIGNhbWVyYS4KAFVzaW5nIE5GVCB0cmFja2luZyBzZXR0aW5ncyBmb3IgbW9yZSB0aGFuIG9uZSBDUFUuCgBVc2luZyBORlQgdHJhY2tpbmcgc2V0dGluZ3MgZm9yIGEgc2luZ2xlIENQVS4KAEVycm9yIHN0YXJ0aW5nIHRyYWNraW5nIHRocmVhZDogZW1wdHkgVEhSRUFEX0hBTkRMRV9ULgoAVHJhY2tlZCBwYWdlICVkIChtYXggJWQpLgoAKioqIENhbWVyYSBQYXJhbWV0ZXIgcmVzaXplZCBmcm9tICVkLCAlZC4gKioqCgBjb25maWcgZGF0YSBsb2FkIGVycm9yICEhCgBwYWdlIGRldGVjdGVkIHJldDogJWQgCgBpZGRkZGRkZGRkZGRkZABpAGlpaWQAAAAAAAAAaWlpaWlpaWRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRpAGlpaWlpaQAAAAAAAAAAdP4AAHT+AAB0/gAAdP4AAGlpaWlpAAAAdP4AAHT+AABpaWkAdP4AAHT+AABAnQAATlN0M19fMjEyYmFzaWNfc3RyaW5nSWNOU18xMWNoYXJfdHJhaXRzSWNFRU5TXzlhbGxvY2F0b3JJY0VFRUUAANj+AAAAnQAAaWlpaQAAAAB0/gAAdP4AAHT+AAB0/gAAQJ0AACD+AAB0/gAAdmlpAHT+AABpaQAAIP4AAHT+AADI/gAAdmlpZAAAAADI/gAAdP4AAGRpaQAg/gAAdP4AAHT+AAB2aWlpAAAAACD+AAB0/gAAvP4AAHZpaWYAAAAAgQEdWg4ChiUQAxQREgQLCBQF2AMXBtoBGQflABwIbwAeCTYAIQoaACMLDQAJDAYACg0DAAwNAQCPD39aJBAlPyYR8iwnEnwgKBO5FyoUghErFe8MLRahCS4XLwcwGFwFMRkGBDMaAwM0G0ACNhyxATgdRAE5HvUAOx+3ADwgigA+IWgAPyJOACAjOwAhCSwApSXhWkAmTEhBJw06QyjxLkQpHyZFKjMfRiuoGUgsGBVJLXcRSi50Dksv+wtNMPgJTjFhCE8yBgcwM80FMjTeBDI1DwQzNmMDNDfUAjU4XAI2OfgBNzqkATg7YAE5PCUBOj32ADs+ywA9P6sAPSCPAMFBEltQQgRNUUMsQVJE2DdTRegvVEY8KVZHeSNXSN8eV0mpGkhKThdISyQUSkycEUpNaw9LTlENTU+2C00wQArQUTJYWFIcTVlTjkNaVN07W1XuNFxWri5dV5opVkcWJdhZcFVfWqlMYFvZRGFcIj5jXSQ4Y160Ml1WFy7fYKhWZWFGT2Zi5UdnY89BaGQ9PGNdXjdpZjFSamcPTGtoOUZnY15B6WonVmxr51BtZ4VLbm2XVW9rT1DubxBacG0iVfBv61lxcR1aU09T"); + base64DecodeToExistingUint8Array(bufferView, 40921, "TFNF"); + base64DecodeToExistingUint8Array(bufferView, 41009, "QMVYn1NCSwBASTKjIqgRxVghe/xzYmjFWL9FCzB+GJ9T/HNBbVRin1OzQUEtEhdCS2JoVGJ+WEJLITu6KMMUAEDFWJ9TQksAQEkyoyKoEUkyv0WzQSE7STKCJzcb4A2jIgswQS26KKMiNxu/Eo4JqBF+GBIXwxSoEeANjgnfBAAAAAAAAPA/72FIsVAx9j/Kb02Rruf0P6oRbO9i0PI/AAAAAAAA8D87v6fAaSTpP7sgx3t6UeE/Xaty3lWo0T+aAAAAmwAAAJw="); + base64DecodeToExistingUint8Array(bufferView, 41220, "AQAAAAIAAAADAAAAAAAAAAEAAAAFAAAAAgAAAAQAAAAGAAAAAwAAAAcAAAAI"); + base64DecodeToExistingUint8Array(bufferView, 41284, "AQAAAAUAAAAGAAAAAgAAAAQAAAAHAAAADAAAAAMAAAAIAAAACwAAAA0AAAAJAAAACgAAAA4AAAAPAAAAAAAAAAEAAAAFAAAABgAAAA4AAAACAAAABAAAAAcAAAANAAAADwAAAAMAAAAIAAAADAAAABAAAAAVAAAACQAAAAsAAAARAAAAFAAAABYAAAAKAAAAEgAAABMAAAAXAAAAGA=="); + base64DecodeToExistingUint8Array(bufferView, 41460, "AQAAAAUAAAAGAAAADgAAAA8AAAACAAAABAAAAAcAAAANAAAAEAAAABkAAAADAAAACAAAAAwAAAARAAAAGAAAABoAAAAJAAAACwAAABIAAAAXAAAAGwAAACAAAAAKAAAAEwAAABYAAAAcAAAAHwAAACEAAAAUAAAAFQAAAB0AAAAeAAAAIgAAACMAAAAAAAAAAQAAAAUAAAAGAAAADgAAAA8AAAAbAAAAAgAAAAQAAAAHAAAADQAAABAAAAAaAAAAHAAAAAMAAAAIAAAADAAAABEAAAAZAAAAHQAAACYAAAAJAAAACwAAABIAAAAYAAAAHgAAACUAAAAnAAAACgAAABMAAAAXAAAAHwAAACQAAAAoAAAALQAAABQAAAAWAAAAIAAAACMAAAApAAAALAAAAC4AAAAVAAAAIQAAACIAAAAqAAAAKwAAAC8AAAAw"); + base64DecodeToExistingUint8Array(bufferView, 41812, "AQAAAAUAAAAGAAAADgAAAA8AAAAbAAAAHAAAAAIAAAAEAAAABwAAAA0AAAAQAAAAGgAAAB0AAAAqAAAAAwAAAAgAAAAMAAAAEQAAABkAAAAeAAAAKQAAACsAAAAJAAAACwAAABIAAAAYAAAAHwAAACgAAAAsAAAANQAAAAoAAAATAAAAFwAAACAAAAAnAAAALQAAADQAAAA2AAAAFAAAABYAAAAhAAAAJgAAAC4AAAAzAAAANwAAADwAAAAVAAAAIgAAACUAAAAvAAAAMgAAADgAAAA7AAAAPQAAACMAAAAkAAAAMAAAADEAAAA5AAAAOgAAAD4AAAA/AAAAAAAAAAEAAAADAAAABwAAAA8AAAAfAAAAPwAAAH8AAAD/AAAA/wEAAP8DAAD/BwAA/w8AAP8fAAD/PwAA/38AAAEAAAADAAAAAwAAAAQAAAAEAAAAAwAAAAMAAAAAAAAAQoUAAPdtAADSbQAAq34AAJCHAACpcgAA9X0AAC2AAACmhQAABnkAAL5/AADVfwAAKXsAAKaDAADYeQAAJoUAAAiEAAA8ggAAroIAAN90AADlggAAmIQAAAFwAADEdAAAn3oAADF8AADGcwAAPoMAAL5yAAArgwAAYG8AABiDAAAFgwAAnpMAADyBAAAogQAAt3kAACx3AAAnjQAAnnMAAJFvAABHbQAAE3YAAG19AAB+fQAAwoQAAPGFAAASfgAA63MAAPl8AADOgAAAEYAAAKmAAAA5fgAAf4AAADduAADDkwAAeXQAADF1AABZdQAA6IoAAK11AABTdwAA1m4AAIB1AACydgAAT30AADF9AABWjQAAdXYAALduAAB2eAAAf3kAABOBAAD/gAAAvXsAABGSAACqigAAVoQAANhxAACscQAAHG8AAABvAAArhAAATnAAAERyAAAtcgAAnn4AAFWBAABYhQAAaXAAAMxwAABbfgAApXAAAJ5uAADZbwAA9nQAABl1AAAleQAA44MAAN2BAADadQAA44EAAB2CAACPfgAAp3QAAJCCAABzggAA1XYAAO52AAA0cQAA+nAAAHZxAAA5eAAAGXIAAAJyAAAAhQAA6X4AAGSDAABibgAAZ3MAAMV+AAB9gQAAmn0AAKuBAAB/igAASnYAAAAAAABABgAAgD4AAAAAAACIEwAAAMAw8AzMPPwDwzPzD88//4BAsHCMTLx8g0Ozc49Pv38g4BDQLOwc3CPjE9Mv7x/foGCQUKxsnFyjY5NTr2+fXwjIOPgExDT0C8s7+wfHN/eISLh4hES0dItLu3uHR7d3KOgY2CTkFNQr6xvbJ+cX16homFikZJRUq2ubW6dnl1cCwjLyDs4+/gHBMfENzT39gkKyco5Ovn6BQbFxjU29fSLiEtIu7h7eIeER0S3tHd2iYpJSrm6eXqFhkVGtbZ1dCso6+gbGNvYJyTn5BcU19YpKunqGRrZ2iUm5eYVFtXUq6hraJuYW1inpGdkl5RXVqmqaWqZmllapaZlZpWWVVQEAAAAAAAAAAg=="); + base64DecodeToExistingUint8Array(bufferView, 42964, "AQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAIAAAABkAAAASAAAACwAAAAQAAAAFAAAADAAAABMAAAAaAAAAIQAAACgAAAAwAAAAKQAAACIAAAAbAAAAFAAAAA0AAAAGAAAABwAAAA4AAAAVAAAAHAAAACMAAAAqAAAAMQAAADgAAAA5AAAAMgAAACsAAAAkAAAAHQAAABYAAAAPAAAAFwAAAB4AAAAlAAAALAAAADMAAAA6AAAAOwAAADQAAAAtAAAAJgAAAB8AAAAnAAAALgAAADUAAAA8AAAAPQAAADYAAAAvAAAANwAAAD4AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAABAAAACAAAABAAAAAJAAAAAgAAAAMAAAAKAAAAEQAAABgAAAAgAAAAGQAAABIAAAALAAAABAAAAAUAAAAMAAAAEwAAABoAAAAhAAAAKAAAADAAAAApAAAAIgAAABsAAAAUAAAADQAAAAYAAAAOAAAAFQAAABwAAAAjAAAAKgAAADEAAAAyAAAAKwAAACQAAAAdAAAAFgAAAB4AAAAlAAAALAAAADMAAAA0AAAALQAAACYAAAAuAAAANQAAADYAAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/"); + base64DecodeToExistingUint8Array(bufferView, 43556, "AQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAIAAAABkAAAASAAAACwAAAAQAAAAFAAAADAAAABMAAAAaAAAAIQAAACgAAAApAAAAIgAAABsAAAAUAAAADQAAABUAAAAcAAAAIwAAACoAAAArAAAAJAAAAB0AAAAlAAAALAAAAC0AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAAAAAAAEAAAAIAAAAEAAAAAkAAAACAAAAAwAAAAoAAAARAAAAGAAAACAAAAAZAAAAEgAAAAsAAAAEAAAADAAAABMAAAAaAAAAIQAAACIAAAAbAAAAFAAAABwAAAAjAAAAJAAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8="); + base64DecodeToExistingUint8Array(bufferView, 43940, "AQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAGQAAABIAAAALAAAAEwAAABoAAAAbAAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAABAAAACAAAABAAAAAJAAAAAgAAAAoAAAARAAAAEgAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8="); + base64DecodeToExistingUint8Array(bufferView, 44180, "AQAAAAgAAAAJAAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAE5TdDNfXzIxMmJhc2ljX3N0cmluZ0loTlNfMTFjaGFyX3RyYWl0c0loRUVOU185YWxsb2NhdG9ySWhFRUVFAADY/gAA4KwAAE5TdDNfXzIxMmJhc2ljX3N0cmluZ0l3TlNfMTFjaGFyX3RyYWl0c0l3RUVOU185YWxsb2NhdG9ySXdFRUVFAADY/gAAKK0AAE5TdDNfXzIxMmJhc2ljX3N0cmluZ0lEc05TXzExY2hhcl90cmFpdHNJRHNFRU5TXzlhbGxvY2F0b3JJRHNFRUVFAAAA2P4AAHCtAABOU3QzX18yMTJiYXNpY19zdHJpbmdJRGlOU18xMWNoYXJfdHJhaXRzSURpRUVOU185YWxsb2NhdG9ySURpRUVFRQAAANj+AAC8rQAATjEwZW1zY3JpcHRlbjN2YWxFAADY/gAACK4AAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWNFRQAA2P4AACSuAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lhRUUAANj+AABMrgAATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJaEVFAADY/gAAdK4AAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SXNFRQAA2P4AAJyuAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0l0RUUAANj+AADErgAATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJaUVFAADY/gAA7K4AAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWpFRQAA2P4AABSvAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lsRUUAANj+AAA8rwAATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJbUVFAADY/gAAZK8AAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWZFRQAA2P4AAIyvAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lkRUUAANj+AAC0rw=="); + base64DecodeToExistingUint8Array(bufferView, 45030, "8D8AAAAAAAD4PwAAAAAAAAAABtDPQ+v9TD4="); + base64DecodeToExistingUint8Array(bufferView, 45067, "QAO44j/bD0k/2w9Jv+TLFkDkyxbAAAAAAAAAAIDbD0lA2w9JwDhj7T7aD0k/Xph7P9oPyT9pN6wxaCEiM7QPFDNoIaIzAwAAAAQAAAAEAAAABgAAAIP5ogBETm4A/CkVANFXJwDdNPUAYtvAADyZlQBBkEMAY1H+ALveqwC3YcUAOm4kANJNQgBJBuAACeouAByS0QDrHf4AKbEcAOg+pwD1NYIARLsuAJzphAC0JnAAQX5fANaROQBTgzkAnPQ5AItfhAAo+b0A+B87AN7/lwAPmAUAES/vAApaiwBtH20Az342AAnLJwBGT7cAnmY/AC3qXwC6J3UA5evHAD178QD3OQcAklKKAPtr6gAfsV8ACF2NADADVgB7/EYA8KtrACC8zwA29JoA46kdAF5hkQAIG+YAhZllAKAUXwCNQGgAgNj/ACdzTQAGBjEAylYVAMmocwB74mAAa4zAABnERwDNZ8MACejcAFmDKgCLdsQAphyWAESv3QAZV9EApT4FAAUH/wAzfj8AwjLoAJhP3gC7fTIAJj3DAB5r7wCf+F4ANR86AH/yygDxhx0AfJAhAGokfADVbvoAMC13ABU7QwC1FMYAwxmdAK3EwgAsTUEADABdAIZ9RgDjcS0Am8aaADNiAAC00nwAtKeXADdV1QDXPvYAoxAYAE12/ABknSoAcNerAGN8+AB6sFcAFxXnAMBJVgA71tkAp4Q4ACQjywDWincAWlQjAAAfuQDxChsAGc7fAJ8x/wBmHmoAmVdhAKz7RwB+f9gAImW3ADLoiQDmv2AA78TNAGw2CQBdP9QAFt7XAFg73gDem5IA0iIoACiG6ADiWE0AxsoyAAjjFgDgfcsAF8BQAPMdpwAY4FsALhM0AIMSYgCDSAEA9Y5bAK2wfwAe6fIASEpDABBn0wCq3dgArl9CAGphzgAKKKQA05m0AAam8gBcd38Ao8KDAGE8iACKc3gAr4xaAG/XvQAtpmMA9L/LAI2B7wAmwWcAVcpFAMrZNgAoqNIAwmGNABLJdwAEJhQAEkabAMRZxADIxUQATbKRAAAX8wDUQ60AKUnlAP3VEAAAvvwAHpTMAHDO7gATPvUA7PGAALPnwwDH+CgAkwWUAMFxPgAuCbMAC0XzAIgSnACrIHsALrWfAEeSwgB7Mi8ADFVtAHKnkABr5x8AMcuWAHkWSgBBeeIA9N+JAOiUlwDi5oQAmTGXAIjtawBfXzYAu/0OAEiatABnpGwAcXJCAI1dMgCfFbgAvOUJAI0xJQD3dDkAMAUcAA0MAQBLCGgALO5YAEeqkAB05wIAvdYkAPd9pgBuSHIAnxbvAI6UpgC0kfYA0VNRAM8K8gAgmDMA9Ut+ALJjaADdPl8AQF0DAIWJfwBVUikAN2TAAG3YEAAySDIAW0x1AE5x1ABFVG4ACwnBACr1aQAUZtUAJwedAF0EUAC0O9sA6nbFAIf5FwBJa30AHSe6AJZpKQDGzKwArRRUAJDiagCI2YkALHJQAASkvgB3B5QA8zBwAAD8JwDqcagAZsJJAGTgPQCX3YMAoz+XAEOU/QANhowAMUHeAJI5nQDdcIwAF7fnAAjfOwAVNysAXICgAFqAkwAQEZIAD+jYAGyArwDb/0sAOJAPAFkYdgBipRUAYcu7AMeJuQAQQL0A0vIEAEl1JwDrtvYA2yK7AAoUqgCJJi8AZIN2AAk7MwAOlBoAUTqqAB2jwgCv7a4AXCYSAG3CTQAtepwAwFaXAAM/gwAJ8PYAK0CMAG0xmQA5tAcADCAVANjDWwD1ksQAxq1LAE7KpQCnN80A5qk2AKuSlADdQmgAGWPeAHaM7wBoi1IA/Ns3AK6hqwDfFTEAAK6hAAz72gBkTWYA7QW3ACllMABXVr8AR/86AGr5uQB1vvMAKJPfAKuAMABmjPYABMsVAPoiBgDZ5B0APbOkAFcbjwA2zQkATkLpABO+pAAzI7UA8KoaAE9lqADSwaUACz8PAFt4zQAj+XYAe4sEAIkXcgDGplMAb27iAO/rAACbSlgAxNq3AKpmugB2z88A0QIdALHxLQCMmcEAw613AIZI2gD3XaAAxoD0AKzwLwDd7JoAP1y8ANDebQCQxx8AKtu2AKMlOgAAr5oArVOTALZXBAApLbQAS4B+ANoHpwB2qg4Ae1mhABYSKgDcty0A+uX9AInb/gCJvv0A5HZsAAap/AA+gHAAhW4VAP2H/wAoPgcAYWczACoYhgBNveoAs+evAI9tbgCVZzkAMb9bAITXSAAw3xYAxy1DACVhNQDJcM4AMMu4AL9s/QCkAKIABWzkAFrdoAAhb0cAYhLSALlchABwYUkAa1bgAJlSAQBQVTcAHtW3ADPxxAATbl8AXTDkAIUuqQAdssMAoTI2AAi3pADqsdQAFvchAI9p5AAn/3cADAOAAI1ALQBPzaAAIKWZALOi0wAvXQoAtPlCABHaywB9vtAAm9vBAKsXvQDKooEACGpcAC5VFwAnAFUAfxTwAOEHhgAUC2QAlkGNAIe+3gDa/SoAayW2AHuJNAAF8/4Aub+eAGhqTwBKKqgAT8RaAC34vADXWpgA9MeVAA1NjQAgOqYApFdfABQ/sQCAOJUAzCABAHHdhgDJ3rYAv2D1AE1lEQABB2sAjLCsALLA0ABRVUgAHvsOAJVywwCjBjsAwEA1AAbcewDgRcwATin6ANbKyADo80EAfGTeAJtk2ADZvjEApJfDAHdY1ABp48UA8NoTALo6PABGGEYAVXVfANK99QBuksYArC5dAA5E7QAcPkIAYcSHACn96QDn1vMAInzKAG+RNQAI4MUA/9eNAG5q4gCw/cYAkwjBAHxddABrrbIAzW6dAD5yewDGEWoA98+pAClz3wC1yboAtwBRAOKyDQB0uiQA5X1gAHTYigANFSwAgRgMAH5mlAABKRYAn3p2AP39vgBWRe8A2X42AOzZEwCLurkAxJf8ADGoJwDxbsMAlMU2ANioVgC0qLUAz8wOABKJLQBvVzQALFaJAJnO4wDWILkAa16qAD4qnAARX8wA/QtKAOH0+wCOO20A4oYsAOnUhAD8tKkA7+7RAC41yQAvOWEAOCFEABvZyACB/AoA+0pqAC8c2ABTtIQATpmMAFQizAAqVdwAwMbWAAsZlgAacLgAaZVkACZaYAA/Uu4AfxEPAPS1EQD8y/UANLwtADS87gDoXcwA3V5gAGeOmwCSM+8AyRe4AGFYmwDhV7wAUYPGANg+EADdcUgALRzdAK8YoQAhLEYAWfPXANl6mACeVMAAT4b6AFYG/ADlea4AiSI2ADitIgBnk9wAVeiqAIImOADK55sAUQ2kAJkzsQCp1w4AaQVIAGWy8AB/iKcAiEyXAPnRNgAhkrMAe4JKAJjPIQBAn9wA3EdVAOF0OgBn60IA/p3fAF7UXwB7Z6QAuqx6AFX2ogAriCMAQbpVAFluCAAhKoYAOUeDAInj5gDlntQASftAAP9W6QAcD8oAxVmKAJT6KwDTwcUAD8XPANtargBHxYYAhUNiACGGOwAseZQAEGGHACpMewCALBoAQ78SAIgmkAB4PIkAqMTkAOXbewDEOsIAJvTqAPdnigANkr8AZaMrAD2TsQC9fAsApFHcACfdYwBp4d0AmpQZAKgplQBozigACe20AESfIABOmMoAcIJjAH58IwAPuTIAp/WOABRW5wAh8QgAtZ0qAG9+TQClGVEAtfmrAILf1gCW3WEAFjYCAMQ6nwCDoqEAcu1tADmNegCCuKkAazJcAEYnWwAANO0A0gB3APz0VQABWU0A4HGA"); + base64DecodeToExistingUint8Array(bufferView, 47923, "QPsh+T8AAAAALUR0PgAAAICYRvg8AAAAYFHMeDsAAACAgxvwOQAAAEAgJXo4AAAAgCKC4zYAAAAAHfNpNb7z+HnsYfY/3qqMgPd71b89iK9K7XH1P9ttwKfwvtK/sBDw8DmV9D9nOlF/rh7Qv4UDuLCVyfM/6SSCptgxy7+lZIgMGQ3zP1h3wApPV8a/oI4LeyJe8j8AgZzHK6rBvz80GkpKu/E/Xg6MznZOur+65YrwWCPxP8wcYVo8l7G/pwCZQT+V8D8eDOE49FKivwAAAAAAAPA/AAAAAAAAAACsR5r9jGDuP4RZ8l2qpao/oGoCH7Ok7D+0LjaqU168P+b8alc2IOs/CNsgd+UmxT8tqqFj0cLpP3BHIg2Gwss/7UF4A+aG6D/hfqDIiwXRP2JIU/XcZ+c/Ce62VzAE1D/vOfr+Qi7mPzSDuEijDtC/agvgC1tX1T8jQQry/v/fvwAAAAAAAPA/dIUV07DZ7z8PiflsWLXvP1FbEtABk+8/e1F9PLhy7z+quWgxh1TvPzhidW56OO8/4d4f9Z0e7z8VtzEK/gbvP8upOjen8e4/IjQSTKbe7j8tiWFgCM7uPycqNtXav+4/gk+dViu07j8pVEjdB6vuP4VVOrB+pO4/zTt/Zp6g7j90X+zodZ/uP4cB63MUoe4/E85MmYml7j/boCpC5azuP+XFzbA3t+4/kPCjgpHE7j9dJT6yA9XuP63TWpmf6O4/R1778nb/7j+cUoXdmxnvP2mQ79wgN+8/h6T73BhY7z9fm3szl3zvP9qQpKKvpO8/QEVuW3bQ7z8AAAAAAADoQpQjkUv4aqw/88T6UM6/zj/WUgz/Qi7mPwAAAAAAADhD/oIrZUcVR0CUI5FL+Gq8PvPE+lDOvy4/1lIM/0Iulj++8/h57GH2PxkwllvG/t6/PYivSu1x9T+k/NQyaAvbv7AQ8PA5lfQ/e7cfCotB17+FA7iwlcnzP3vPbRrpndO/pWSIDBkN8z8xtvLzmx3Qv6COC3siXvI/8Ho7Gx18yb8/NBpKSrvxP588r5Pj+cK/uuWK8Fgj8T9cjXi/y2C5v6cAmUE/lfA/zl9Htp1vqr8AAAAAAADwPwAAAAAAAAAArEea/Yxg7j899SSfyjizP6BqAh+zpOw/upE4VKl2xD/m/GpXNiDrP9LkxEoLhM4/LaqhY9HC6T8cZcbwRQbUP+1BeAPmhug/+J8bLJyO2D9iSFP13GfnP8x7sU6k4Nw/C25JyRZ20j96xnWgaRnXv926p2wKx94/yPa+SEcV578ruCplRxX3PwABFwIdGBMDHhsZCxQIBA0fFhwSGgoHDBURCQYQBQ8OKCIBAMAiAQBObyBlcnJvciBpbmZvcm1hdGlvbgBJbGxlZ2FsIGJ5dGUgc2VxdWVuY2UARG9tYWluIGVycm9yAFJlc3VsdCBub3QgcmVwcmVzZW50YWJsZQBOb3QgYSB0dHkAUGVybWlzc2lvbiBkZW5pZWQAT3BlcmF0aW9uIG5vdCBwZXJtaXR0ZWQATm8gc3VjaCBmaWxlIG9yIGRpcmVjdG9yeQBObyBzdWNoIHByb2Nlc3MARmlsZSBleGlzdHMAVmFsdWUgdG9vIGxhcmdlIGZvciBkYXRhIHR5cGUATm8gc3BhY2UgbGVmdCBvbiBkZXZpY2UAT3V0IG9mIG1lbW9yeQBSZXNvdXJjZSBidXN5AEludGVycnVwdGVkIHN5c3RlbSBjYWxsAFJlc291cmNlIHRlbXBvcmFyaWx5IHVuYXZhaWxhYmxlAEludmFsaWQgc2VlawBDcm9zcy1kZXZpY2UgbGluawBSZWFkLW9ubHkgZmlsZSBzeXN0ZW0ARGlyZWN0b3J5IG5vdCBlbXB0eQBDb25uZWN0aW9uIHJlc2V0IGJ5IHBlZXIAT3BlcmF0aW9uIHRpbWVkIG91dABDb25uZWN0aW9uIHJlZnVzZWQASG9zdCBpcyBkb3duAEhvc3QgaXMgdW5yZWFjaGFibGUAQWRkcmVzcyBpbiB1c2UAQnJva2VuIHBpcGUASS9PIGVycm9yAE5vIHN1Y2ggZGV2aWNlIG9yIGFkZHJlc3MAQmxvY2sgZGV2aWNlIHJlcXVpcmVkAE5vIHN1Y2ggZGV2aWNlAE5vdCBhIGRpcmVjdG9yeQBJcyBhIGRpcmVjdG9yeQBUZXh0IGZpbGUgYnVzeQBFeGVjIGZvcm1hdCBlcnJvcgBJbnZhbGlkIGFyZ3VtZW50AEFyZ3VtZW50IGxpc3QgdG9vIGxvbmcAU3ltYm9saWMgbGluayBsb29wAEZpbGVuYW1lIHRvbyBsb25nAFRvbyBtYW55IG9wZW4gZmlsZXMgaW4gc3lzdGVtAE5vIGZpbGUgZGVzY3JpcHRvcnMgYXZhaWxhYmxlAEJhZCBmaWxlIGRlc2NyaXB0b3IATm8gY2hpbGQgcHJvY2VzcwBCYWQgYWRkcmVzcwBGaWxlIHRvbyBsYXJnZQBUb28gbWFueSBsaW5rcwBObyBsb2NrcyBhdmFpbGFibGUAUmVzb3VyY2UgZGVhZGxvY2sgd291bGQgb2NjdXIAU3RhdGUgbm90IHJlY292ZXJhYmxlAFByZXZpb3VzIG93bmVyIGRpZWQAT3BlcmF0aW9uIGNhbmNlbGVkAEZ1bmN0aW9uIG5vdCBpbXBsZW1lbnRlZABObyBtZXNzYWdlIG9mIGRlc2lyZWQgdHlwZQBJZGVudGlmaWVyIHJlbW92ZWQARGV2aWNlIG5vdCBhIHN0cmVhbQBObyBkYXRhIGF2YWlsYWJsZQBEZXZpY2UgdGltZW91dABPdXQgb2Ygc3RyZWFtcyByZXNvdXJjZXMATGluayBoYXMgYmVlbiBzZXZlcmVkAFByb3RvY29sIGVycm9yAEJhZCBtZXNzYWdlAEZpbGUgZGVzY3JpcHRvciBpbiBiYWQgc3RhdGUATm90IGEgc29ja2V0AERlc3RpbmF0aW9uIGFkZHJlc3MgcmVxdWlyZWQATWVzc2FnZSB0b28gbGFyZ2UAUHJvdG9jb2wgd3JvbmcgdHlwZSBmb3Igc29ja2V0AFByb3RvY29sIG5vdCBhdmFpbGFibGUAUHJvdG9jb2wgbm90IHN1cHBvcnRlZABTb2NrZXQgdHlwZSBub3Qgc3VwcG9ydGVkAE5vdCBzdXBwb3J0ZWQAUHJvdG9jb2wgZmFtaWx5IG5vdCBzdXBwb3J0ZWQAQWRkcmVzcyBmYW1pbHkgbm90IHN1cHBvcnRlZCBieSBwcm90b2NvbABBZGRyZXNzIG5vdCBhdmFpbGFibGUATmV0d29yayBpcyBkb3duAE5ldHdvcmsgdW5yZWFjaGFibGUAQ29ubmVjdGlvbiByZXNldCBieSBuZXR3b3JrAENvbm5lY3Rpb24gYWJvcnRlZABObyBidWZmZXIgc3BhY2UgYXZhaWxhYmxlAFNvY2tldCBpcyBjb25uZWN0ZWQAU29ja2V0IG5vdCBjb25uZWN0ZWQAQ2Fubm90IHNlbmQgYWZ0ZXIgc29ja2V0IHNodXRkb3duAE9wZXJhdGlvbiBhbHJlYWR5IGluIHByb2dyZXNzAE9wZXJhdGlvbiBpbiBwcm9ncmVzcwBTdGFsZSBmaWxlIGhhbmRsZQBSZW1vdGUgSS9PIGVycm9yAFF1b3RhIGV4Y2VlZGVkAE5vIG1lZGl1bSBmb3VuZABXcm9uZyBtZWRpdW0gdHlwZQBNdWx0aWhvcCBhdHRlbXB0ZWQ="); + base64DecodeToExistingUint8Array(bufferView, 50770, "pQJbAPABtQWMBSUBgwYdA5QE/wDHAzEDCwa8AY8BfwPKBCsA2gavAEIDTgPcAQ4EFQChBg0BlAILAjgGZAK8Av8CXQPnBAsHzwLLBe8F2wXhAh4GRQKFAIICbANvBPEA8wMYBdkA2gNMBlQCewGdA70EAABRABUCuwCzA20A/wGFBC8F+QQ4AGUBRgGfALcGqAFzAlMB"); + base64DecodeToExistingUint8Array(bufferView, 50968, "IQQAAAAAAAAAAC8C"); + base64DecodeToExistingUint8Array(bufferView, 51000, "NQRHBFYE"); + base64DecodeToExistingUint8Array(bufferView, 51022, "oAQ="); + base64DecodeToExistingUint8Array(bufferView, 51042, "RgVgBW4FYQYAAM8BAAAAAAAAAADJBukG+QYAAAAAAv8ABGQAIAAABP//BgABAAEAAQD//wH/Af//////Af8B/wH/Af8B/wH/Af8B//////8K/yAA//8D/wH/BP8eAAABBf//////YwAACGMA6AMCAAAA//////8AAAAB/wH//////////////w=="); + base64DecodeToExistingUint8Array(bufferView, 51193, "BA=="); + base64DecodeToExistingUint8Array(bufferView, 51206, "Af8B//////8AASAABACAAAAI//8B/wH/////////Af8G/wf/CP8J//////+8ArwCAQD//wEAAQD//wAA//////////8="); + base64DecodeToExistingUint8Array(bufferView, 51290, "FA=="); + base64DecodeToExistingUint8Array(bufferView, 51322, "//8BAAr///////////8B/wH/AAAAAAAAAf8B/wH/"); + base64DecodeToExistingUint8Array(bufferView, 51370, "Af8AAAAAAAAB/wH/AQAAAAEAAAAB//////8AAAAAAf///wAAAAD/////////////KAAK//////8BAAr/////AP//////////"); + base64DecodeToExistingUint8Array(bufferView, 51542, "Af8B////AQD//////////////////wr//////w=="); + base64DecodeToExistingUint8Array(bufferView, 51584, "GQAKABkZGQAAAAAFAAAAAAAACQAAAAALAAAAAAAAAAAZABEKGRkZAwoHAAEACQsYAAAJBgsAAAsABhkAAAAZGRk="); + base64DecodeToExistingUint8Array(bufferView, 51665, "DgAAAAAAAAAAGQAKDRkZGQANAAACAAkOAAAACQAOAAAO"); + base64DecodeToExistingUint8Array(bufferView, 51723, "DA=="); + base64DecodeToExistingUint8Array(bufferView, 51735, "EwAAAAATAAAAAAkMAAAAAAAMAAAM"); + base64DecodeToExistingUint8Array(bufferView, 51781, "EA=="); + base64DecodeToExistingUint8Array(bufferView, 51793, "DwAAAAQPAAAAAAkQAAAAAAAQAAAQ"); + base64DecodeToExistingUint8Array(bufferView, 51839, "Eg=="); + base64DecodeToExistingUint8Array(bufferView, 51851, "EQAAAAARAAAAAAkSAAAAAAASAAASAAAaAAAAGhoa"); + base64DecodeToExistingUint8Array(bufferView, 51906, "GgAAABoaGgAAAAAAAAk="); + base64DecodeToExistingUint8Array(bufferView, 51955, "FA=="); + base64DecodeToExistingUint8Array(bufferView, 51967, "FwAAAAAXAAAAAAkUAAAAAAAUAAAU"); + base64DecodeToExistingUint8Array(bufferView, 52013, "Fg=="); + base64DecodeToExistingUint8Array(bufferView, 52025, "FQAAAAAVAAAAAAkWAAAAAAAWAAAWAAAwMTIzNDU2Nzg5QUJDREVG"); + base64DecodeToExistingUint8Array(bufferView, 52100, "8Q=="); + base64DecodeToExistingUint8Array(bufferView, 52140, "//////////8="); + base64DecodeToExistingUint8Array(bufferView, 52208, "0XSeAFedvSqAcFIP//8+JwoAAABkAAAA6AMAABAnAACghgEAQEIPAICWmAAA4fUFGAAAADUAAABxAAAAa////877//+Sv///AAAAAAAAAAD/////////////////////////////////////////////////////////////////AAECAwQFBgcICf////////8KCwwNDg8QERITFBUWFxgZGhscHR4fICEiI////////woLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIj/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wABAgQHAwYFAAAAAAAAAAIAAMADAADABAAAwAUAAMAGAADABwAAwAgAAMAJAADACgAAwAsAAMAMAADADQAAwA4AAMAPAADAEAAAwBEAAMASAADAEwAAwBQAAMAVAADAFgAAwBcAAMAYAADAGQAAwBoAAMAbAADAHAAAwB0AAMAeAADAHwAAwAAAALMBAADDAgAAwwMAAMMEAADDBQAAwwYAAMMHAADDCAAAwwkAAMMKAADDCwAAwwwAAMMNAADTDgAAww8AAMMAAAy7AQAMwwIADMMDAAzDBAAM2wAAAAAAAAAAAgAAAAMAAAAFAAAABwAAAAsAAAANAAAAEQAAABMAAAAXAAAAHQAAAB8AAAAlAAAAKQAAACsAAAAvAAAANQAAADsAAAA9AAAAQwAAAEcAAABJAAAATwAAAFMAAABZAAAAYQAAAGUAAABnAAAAawAAAG0AAABxAAAAfwAAAIMAAACJAAAAiwAAAJUAAACXAAAAnQAAAKMAAACnAAAArQAAALMAAAC1AAAAvwAAAMEAAADFAAAAxwAAANMAAAABAAAACwAAAA0AAAARAAAAEwAAABcAAAAdAAAAHwAAACUAAAApAAAAKwAAAC8AAAA1AAAAOwAAAD0AAABDAAAARwAAAEkAAABPAAAAUwAAAFkAAABhAAAAZQAAAGcAAABrAAAAbQAAAHEAAAB5AAAAfwAAAIMAAACJAAAAiwAAAI8AAACVAAAAlwAAAJ0AAACjAAAApwAAAKkAAACtAAAAswAAALUAAAC7AAAAvwAAAMEAAADFAAAAxwAAANEAAAAAAAAAXNEAAPMAAAD0AAAA9QAAAPYAAAD3AAAA+AAAAPkAAAD6AAAA+wAAAPwAAAD9AAAA/gAAAP8AAAAAAQAACAAAAAAAAACU0QAAAQEAAAIBAAD4////+P///5TRAAADAQAABAEAAOzPAAAA0AAABAAAAAAAAADc0QAABQEAAAYBAAD8/////P///9zRAAAHAQAACAEAABzQAAAw0AAAAAAAAHDSAAAJAQAACgEAAAsBAAAMAQAADQEAAA4BAAAPAQAAEAEAABEBAAASAQAAEwEAABQBAAAVAQAAFgEAAAgAAAAAAAAAqNIAABcBAAAYAQAA+P////j///+o0gAAGQEAABoBAACM0AAAoNAAAAQAAAAAAAAA8NIAABsBAAAcAQAA/P////z////w0gAAHQEAAB4BAAC80AAA0NAAAAAAAAAc0QAAHwEAACABAABOU3QzX18yOWJhc2ljX2lvc0ljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRQAAAAD/AADw0AAALNMAAE5TdDNfXzIxNWJhc2ljX3N0cmVhbWJ1ZkljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRQAAAADY/gAAKNEAAE5TdDNfXzIxM2Jhc2ljX2lzdHJlYW1JY05TXzExY2hhcl90cmFpdHNJY0VFRUUAAFz/AABk0QAAAAAAAAEAAAAc0QAAA/T//05TdDNfXzIxM2Jhc2ljX29zdHJlYW1JY05TXzExY2hhcl90cmFpdHNJY0VFRUUAAFz/AACs0QAAAAAAAAEAAAAc0QAAA/T//wAAAAAw0gAAIQEAACIBAABOU3QzX18yOWJhc2ljX2lvc0l3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRQAAAAD/AAAE0gAALNMAAE5TdDNfXzIxNWJhc2ljX3N0cmVhbWJ1Zkl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRQAAAADY/gAAPNIAAE5TdDNfXzIxM2Jhc2ljX2lzdHJlYW1Jd05TXzExY2hhcl90cmFpdHNJd0VFRUUAAFz/AAB40gAAAAAAAAEAAAAw0gAAA/T//05TdDNfXzIxM2Jhc2ljX29zdHJlYW1Jd05TXzExY2hhcl90cmFpdHNJd0VFRUUAAFz/AADA0gAAAAAAAAEAAAAw0gAAA/T//wAAAAAs0wAAIwEAACQBAABOU3QzX18yOGlvc19iYXNlRQAAANj+AAAY0wAAWCMBAAAAAACQ0wAA8wAAACcBAAAoAQAA9gAAAPcAAAD4AAAA+QAAAPoAAAD7AAAAKQEAACoBAAArAQAA/wAAAAABAABOU3QzX18yMTBfX3N0ZGluYnVmSWNFRQAA/wAAeNMAAFzRAAAAAAAA+NMAAPMAAAAsAQAALQEAAPYAAAD3AAAA+AAAAC4BAAD6AAAA+wAAAPwAAAD9AAAA/gAAAC8BAAAwAQAATlN0M19fMjExX19zdGRvdXRidWZJY0VFAAAAAAD/AADc0wAAXNEAAAAAAABc1AAACQEAADEBAAAyAQAADAEAAA0BAAAOAQAADwEAABABAAARAQAAMwEAADQBAAA1AQAAFQEAABYBAABOU3QzX18yMTBfX3N0ZGluYnVmSXdFRQAA/wAARNQAAHDSAAAAAAAAxNQAAAkBAAA2AQAANwEAAAwBAAANAQAADgEAADgBAAAQAQAAEQEAABIBAAATAQAAFAEAADkBAAA6AQAATlN0M19fMjExX19zdGRvdXRidWZJd0VFAAAAAAD/AACo1AAAcNIAAN4SBJUAAAAA////////////////0NQAABQAAABDLlVURi04"); + base64DecodeToExistingUint8Array(bufferView, 54560, "5NQ="); + base64DecodeToExistingUint8Array(bufferView, 54592, "TENfQ1RZUEUAAAAATENfTlVNRVJJQwAATENfVElNRQAAAAAATENfQ09MTEFURQAATENfTU9ORVRBUlkATENfTUVTU0FHRVMAkNc="); + base64DecodeToExistingUint8Array(bufferView, 55188, "AQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAEEAAABCAAAAQwAAAEQAAABFAAAARgAAAEcAAABIAAAASQAAAEoAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAABRAAAAUgAAAFMAAABUAAAAVQAAAFYAAABXAAAAWAAAAFkAAABaAAAAWwAAAFwAAABdAAAAXgAAAF8AAABgAAAAQQAAAEIAAABDAAAARAAAAEUAAABGAAAARwAAAEgAAABJAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAFEAAABSAAAAUwAAAFQAAABVAAAAVgAAAFcAAABYAAAAWQAAAFoAAAB7AAAAfAAAAH0AAAB+AAAAfw=="); + base64DecodeToExistingUint8Array(bufferView, 56208, "oN0="); + base64DecodeToExistingUint8Array(bufferView, 56740, "AQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAGEAAABiAAAAYwAAAGQAAABlAAAAZgAAAGcAAABoAAAAaQAAAGoAAABrAAAAbAAAAG0AAABuAAAAbwAAAHAAAABxAAAAcgAAAHMAAAB0AAAAdQAAAHYAAAB3AAAAeAAAAHkAAAB6AAAAWwAAAFwAAABdAAAAXgAAAF8AAABgAAAAYQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAagAAAGsAAABsAAAAbQAAAG4AAABvAAAAcAAAAHEAAAByAAAAcwAAAHQAAAB1AAAAdgAAAHcAAAB4AAAAeQAAAHoAAAB7AAAAfAAAAH0AAAB+AAAAfw=="); + base64DecodeToExistingUint8Array(bufferView, 57760, "MDEyMzQ1Njc4OWFiY2RlZkFCQ0RFRnhYKy1wUGlJbk4AJUk6JU06JVMgJXAlSDolTQ=="); + base64DecodeToExistingUint8Array(bufferView, 57824, "JQAAAG0AAAAvAAAAJQAAAGQAAAAvAAAAJQAAAHkAAAAlAAAAWQAAAC0AAAAlAAAAbQAAAC0AAAAlAAAAZAAAACUAAABJAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAAIAAAACUAAABwAAAAAAAAACUAAABIAAAAOgAAACUAAABN"); + base64DecodeToExistingUint8Array(bufferView, 57968, "JQAAAEgAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAAAAAA5OsAAE0BAABOAQAATwEAAAAAAABE7AAAUAEAAFEBAABPAQAAUgEAAFMBAABUAQAAVQEAAFYBAABXAQAAWAEAAFkB"); + base64DecodeToExistingUint8Array(bufferView, 58080, "BAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABQIAAAUAAAAFAAAABQAAAAUAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAADAgAAggAAAIIAAACCAAAAggAAAIIAAACCAAAAggAAAIIAAACCAAAAggAAAIIAAACCAAAAggAAAIIAAACCAAAAQgEAAEIBAABCAQAAQgEAAEIBAABCAQAAQgEAAEIBAABCAQAAQgEAAIIAAACCAAAAggAAAIIAAACCAAAAggAAAIIAAAAqAQAAKgEAACoBAAAqAQAAKgEAACoBAAAqAAAAKgAAACoAAAAqAAAAKgAAACoAAAAqAAAAKgAAACoAAAAqAAAAKgAAACoAAAAqAAAAKgAAACoAAAAqAAAAKgAAACoAAAAqAAAAKgAAAIIAAACCAAAAggAAAIIAAACCAAAAggAAADIBAAAyAQAAMgEAADIBAAAyAQAAMgEAADIAAAAyAAAAMgAAADIAAAAyAAAAMgAAADIAAAAyAAAAMgAAADIAAAAyAAAAMgAAADIAAAAyAAAAMgAAADIAAAAyAAAAMgAAADIAAAAyAAAAggAAAIIAAACCAAAAggAAAAQ="); + base64DecodeToExistingUint8Array(bufferView, 59108, "rOsAAFoBAABbAQAATwEAAFwBAABdAQAAXgEAAF8BAABgAQAAYQEAAGIBAAAAAAAAfOwAAGMBAABkAQAATwEAAGUBAABmAQAAZwEAAGgBAABpAQAAAAAAAKDsAABqAQAAawEAAE8BAABsAQAAbQEAAG4BAABvAQAAcAEAAHQAAAByAAAAdQAAAGUAAAAAAAAAZgAAAGEAAABsAAAAcwAAAGUAAAAAAAAAJQAAAG0AAAAvAAAAJQAAAGQAAAAvAAAAJQAAAHkAAAAAAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAAAAAAJQAAAGEAAAAgAAAAJQAAAGIAAAAgAAAAJQAAAGQAAAAgAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAgAAAAJQAAAFkAAAAAAAAAJQAAAEkAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAgAAAAJQAAAHA="); + base64DecodeToExistingUint8Array(bufferView, 59484, "hOgAAHEBAAByAQAATwEAAE5TdDNfXzI2bG9jYWxlNWZhY2V0RQAAAAD/AABs6AAAsPwAAAAAAAAE6QAAcQEAAHMBAABPAQAAdAEAAHUBAAB2AQAAdwEAAHgBAAB5AQAAegEAAHsBAAB8AQAAfQEAAH4BAAB/AQAATlN0M19fMjVjdHlwZUl3RUUATlN0M19fMjEwY3R5cGVfYmFzZUUAANj+AADm6AAAXP8AANToAAAAAAAAAgAAAIToAAACAAAA/OgAAAIAAAAAAAAAmOkAAHEBAACAAQAATwEAAIEBAACCAQAAgwEAAIQBAACFAQAAhgEAAIcBAABOU3QzX18yN2NvZGVjdnRJY2MxMV9fbWJzdGF0ZV90RUUATlN0M19fMjEyY29kZWN2dF9iYXNlRQAAAADY/gAAdukAAFz/AABU6QAAAAAAAAIAAACE6AAAAgAAAJDpAAACAAAAAAAAAAzqAABxAQAAiAEAAE8BAACJAQAAigEAAIsBAACMAQAAjQEAAI4BAACPAQAATlN0M19fMjdjb2RlY3Z0SURzYzExX19tYnN0YXRlX3RFRQAAXP8AAOjpAAAAAAAAAgAAAIToAAACAAAAkOkAAAIAAAAAAAAAgOoAAHEBAACQAQAATwEAAJEBAACSAQAAkwEAAJQBAACVAQAAlgEAAJcBAABOU3QzX18yN2NvZGVjdnRJRHNEdTExX19tYnN0YXRlX3RFRQBc/wAAXOoAAAAAAAACAAAAhOgAAAIAAACQ6QAAAgAAAAAAAAD06gAAcQEAAJgBAABPAQAAmQEAAJoBAACbAQAAnAEAAJ0BAACeAQAAnwEAAE5TdDNfXzI3Y29kZWN2dElEaWMxMV9fbWJzdGF0ZV90RUUAAFz/AADQ6gAAAAAAAAIAAACE6AAAAgAAAJDpAAACAAAAAAAAAGjrAABxAQAAoAEAAE8BAAChAQAAogEAAKMBAACkAQAApQEAAKYBAACnAQAATlN0M19fMjdjb2RlY3Z0SURpRHUxMV9fbWJzdGF0ZV90RUUAXP8AAETrAAAAAAAAAgAAAIToAAACAAAAkOkAAAIAAABOU3QzX18yN2NvZGVjdnRJd2MxMV9fbWJzdGF0ZV90RUUAAABc/wAAiOsAAAAAAAACAAAAhOgAAAIAAACQ6QAAAgAAAE5TdDNfXzI2bG9jYWxlNV9faW1wRQAAAAD/AADM6wAAhOgAAE5TdDNfXzI3Y29sbGF0ZUljRUUAAP8AAPDrAACE6AAATlN0M19fMjdjb2xsYXRlSXdFRQAA/wAAEOwAAIToAABOU3QzX18yNWN0eXBlSWNFRQAAAFz/AAAw7AAAAAAAAAIAAACE6AAAAgAAAPzoAAACAAAATlN0M19fMjhudW1wdW5jdEljRUUAAAAAAP8AAGTsAACE6AAATlN0M19fMjhudW1wdW5jdEl3RUUAAAAAAP8AAIjsAACE6AAAAAAAAATsAACoAQAAqQEAAE8BAACqAQAAqwEAAKwBAAAAAAAAJOwAAK0BAACuAQAATwEAAK8BAACwAQAAsQEAAAAAAADA7QAAcQEAALIBAABPAQAAswEAALQBAAC1AQAAtgEAALcBAAC4AQAAuQEAALoBAAC7AQAAvAEAAL0BAABOU3QzX18yN251bV9nZXRJY05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzI5X19udW1fZ2V0SWNFRQBOU3QzX18yMTRfX251bV9nZXRfYmFzZUUAANj+AACG7QAAXP8AAHDtAAAAAAAAAQAAAKDtAAAAAAAAXP8AACztAAAAAAAAAgAAAIToAAACAAAAqO0="); + base64DecodeToExistingUint8Array(bufferView, 60900, "lO4AAHEBAAC+AQAATwEAAL8BAADAAQAAwQEAAMIBAADDAQAAxAEAAMUBAADGAQAAxwEAAMgBAADJAQAATlN0M19fMjdudW1fZ2V0SXdOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yOV9fbnVtX2dldEl3RUUAAABc/wAAZO4AAAAAAAABAAAAoO0AAAAAAABc/wAAIO4AAAAAAAACAAAAhOgAAAIAAAB87g=="); + base64DecodeToExistingUint8Array(bufferView, 61112, "fO8AAHEBAADKAQAATwEAAMsBAADMAQAAzQEAAM4BAADPAQAA0AEAANEBAADSAQAATlN0M19fMjdudW1fcHV0SWNOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yOV9fbnVtX3B1dEljRUUATlN0M19fMjE0X19udW1fcHV0X2Jhc2VFAADY/gAAQu8AAFz/AAAs7wAAAAAAAAEAAABc7wAAAAAAAFz/AADo7gAAAAAAAAIAAACE6AAAAgAAAGTv"); + base64DecodeToExistingUint8Array(bufferView, 61344, "RPAAAHEBAADTAQAATwEAANQBAADVAQAA1gEAANcBAADYAQAA2QEAANoBAADbAQAATlN0M19fMjdudW1fcHV0SXdOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yOV9fbnVtX3B1dEl3RUUAAABc/wAAFPAAAAAAAAABAAAAXO8AAAAAAABc/wAA0O8AAAAAAAACAAAAhOgAAAIAAAAs8A=="); + base64DecodeToExistingUint8Array(bufferView, 61544, "RPEAANwBAADdAQAATwEAAN4BAADfAQAA4AEAAOEBAADiAQAA4wEAAOQBAAD4////RPEAAOUBAADmAQAA5wEAAOgBAADpAQAA6gEAAOsBAABOU3QzX18yOHRpbWVfZ2V0SWNOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yOXRpbWVfYmFzZUUA2P4AAP3wAABOU3QzX18yMjBfX3RpbWVfZ2V0X2Nfc3RvcmFnZUljRUUAAADY/gAAGPEAAFz/AAC48AAAAAAAAAMAAACE6AAAAgAAABDxAAACAAAAPPEAAAAIAAAAAAAAMPIAAOwBAADtAQAATwEAAO4BAADvAQAA8AEAAPEBAADyAQAA8wEAAPQBAAD4////MPIAAPUBAAD2AQAA9wEAAPgBAAD5AQAA+gEAAPsBAABOU3QzX18yOHRpbWVfZ2V0SXdOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yMjBfX3RpbWVfZ2V0X2Nfc3RvcmFnZUl3RUUAANj+AAAF8gAAXP8AAMDxAAAAAAAAAwAAAIToAAACAAAAEPEAAAIAAAAo8gAAAAgAAAAAAADU8gAA/AEAAP0BAABPAQAA/gEAAE5TdDNfXzI4dGltZV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMF9fdGltZV9wdXRFAAAA2P4AALXyAABc/wAAcPIAAAAAAAACAAAAhOgAAAIAAADM8gAAAAgAAAAAAABU8wAA/wEAAAACAABPAQAAAQIAAE5TdDNfXzI4dGltZV9wdXRJd05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAAAAAFz/AAAM8wAAAAAAAAIAAACE6AAAAgAAAMzyAAAACAAAAAAAAOjzAABxAQAAAgIAAE8BAAADAgAABAIAAAUCAAAGAgAABwIAAAgCAAAJAgAACgIAAAsCAABOU3QzX18yMTBtb25leXB1bmN0SWNMYjBFRUUATlN0M19fMjEwbW9uZXlfYmFzZUUAAAAA2P4AAMjzAABc/wAArPMAAAAAAAACAAAAhOgAAAIAAADg8wAAAgAAAAAAAABc9AAAcQEAAAwCAABPAQAADQIAAA4CAAAPAgAAEAIAABECAAASAgAAEwIAABQCAAAVAgAATlN0M19fMjEwbW9uZXlwdW5jdEljTGIxRUVFAFz/AABA9AAAAAAAAAIAAACE6AAAAgAAAODzAAACAAAAAAAAAND0AABxAQAAFgIAAE8BAAAXAgAAGAIAABkCAAAaAgAAGwIAABwCAAAdAgAAHgIAAB8CAABOU3QzX18yMTBtb25leXB1bmN0SXdMYjBFRUUAXP8AALT0AAAAAAAAAgAAAIToAAACAAAA4PMAAAIAAAAAAAAARPUAAHEBAAAgAgAATwEAACECAAAiAgAAIwIAACQCAAAlAgAAJgIAACcCAAAoAgAAKQIAAE5TdDNfXzIxMG1vbmV5cHVuY3RJd0xiMUVFRQBc/wAAKPUAAAAAAAACAAAAhOgAAAIAAADg8wAAAgAAAAAAAADo9QAAcQEAACoCAABPAQAAKwIAACwCAABOU3QzX18yOW1vbmV5X2dldEljTlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFRUUATlN0M19fMjExX19tb25leV9nZXRJY0VFAADY/gAAxvUAAFz/AACA9QAAAAAAAAIAAACE6AAAAgAAAOD1"); + base64DecodeToExistingUint8Array(bufferView, 62988, "jPYAAHEBAAAtAgAATwEAAC4CAAAvAgAATlN0M19fMjltb25leV9nZXRJd05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfZ2V0SXdFRQAA2P4AAGr2AABc/wAAJPYAAAAAAAACAAAAhOgAAAIAAACE9g=="); + base64DecodeToExistingUint8Array(bufferView, 63152, "MPcAAHEBAAAwAgAATwEAADECAAAyAgAATlN0M19fMjltb25leV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfcHV0SWNFRQAA2P4AAA73AABc/wAAyPYAAAAAAAACAAAAhOgAAAIAAAAo9w=="); + base64DecodeToExistingUint8Array(bufferView, 63316, "1PcAAHEBAAAzAgAATwEAADQCAAA1AgAATlN0M19fMjltb25leV9wdXRJd05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfcHV0SXdFRQAA2P4AALL3AABc/wAAbPcAAAAAAAACAAAAhOgAAAIAAADM9w=="); + base64DecodeToExistingUint8Array(bufferView, 63480, "TPgAAHEBAAA2AgAATwEAADcCAAA4AgAAOQIAAE5TdDNfXzI4bWVzc2FnZXNJY0VFAE5TdDNfXzIxM21lc3NhZ2VzX2Jhc2VFAAAAANj+AAAp+AAAXP8AABT4AAAAAAAAAgAAAIToAAACAAAARPgAAAIAAAAAAAAApPgAAHEBAAA6AgAATwEAADsCAAA8AgAAPQIAAE5TdDNfXzI4bWVzc2FnZXNJd0VFAAAAAFz/AACM+AAAAAAAAAIAAACE6AAAAgAAAET4AAACAAAAUwAAAHUAAABuAAAAZAAAAGEAAAB5AAAAAAAAAE0AAABvAAAAbgAAAGQAAABhAAAAeQAAAAAAAABUAAAAdQAAAGUAAABzAAAAZAAAAGEAAAB5AAAAAAAAAFcAAABlAAAAZAAAAG4AAABlAAAAcwAAAGQAAABhAAAAeQAAAAAAAABUAAAAaAAAAHUAAAByAAAAcwAAAGQAAABhAAAAeQAAAAAAAABGAAAAcgAAAGkAAABkAAAAYQAAAHkAAAAAAAAAUwAAAGEAAAB0AAAAdQAAAHIAAABkAAAAYQAAAHkAAAAAAAAAUwAAAHUAAABuAAAAAAAAAE0AAABvAAAAbgAAAAAAAABUAAAAdQAAAGUAAAAAAAAAVwAAAGUAAABkAAAAAAAAAFQAAABoAAAAdQAAAAAAAABGAAAAcgAAAGkAAAAAAAAAUwAAAGEAAAB0AAAAAAAAAEoAAABhAAAAbgAAAHUAAABhAAAAcgAAAHkAAAAAAAAARgAAAGUAAABiAAAAcgAAAHUAAABhAAAAcgAAAHkAAAAAAAAATQAAAGEAAAByAAAAYwAAAGgAAAAAAAAAQQAAAHAAAAByAAAAaQAAAGwAAAAAAAAATQAAAGEAAAB5AAAAAAAAAEoAAAB1AAAAbgAAAGUAAAAAAAAASgAAAHUAAABsAAAAeQAAAAAAAABBAAAAdQAAAGcAAAB1AAAAcwAAAHQAAAAAAAAAUwAAAGUAAABwAAAAdAAAAGUAAABtAAAAYgAAAGUAAAByAAAAAAAAAE8AAABjAAAAdAAAAG8AAABiAAAAZQAAAHIAAAAAAAAATgAAAG8AAAB2AAAAZQAAAG0AAABiAAAAZQAAAHIAAAAAAAAARAAAAGUAAABjAAAAZQAAAG0AAABiAAAAZQAAAHIAAAAAAAAASgAAAGEAAABuAAAAAAAAAEYAAABlAAAAYgAAAAAAAABNAAAAYQAAAHIAAAAAAAAAQQAAAHAAAAByAAAAAAAAAEoAAAB1AAAAbgAAAAAAAABKAAAAdQAAAGwAAAAAAAAAQQAAAHUAAABnAAAAAAAAAFMAAABlAAAAcAAAAAAAAABPAAAAYwAAAHQAAAAAAAAATgAAAG8AAAB2AAAAAAAAAEQAAABlAAAAYwAAAAAAAABBAAAATQAAAAAAAABQAAAATQ=="); + base64DecodeToExistingUint8Array(bufferView, 64572, "PPEAAOUBAADmAQAA5wEAAOgBAADpAQAA6gEAAOsBAAAAAAAAKPIAAPUBAAD2AQAA9wEAAPgBAAD5AQAA+gEAAPsBAAAAAAAAsPwAABkAAAA+AgAAPwIAAE5TdDNfXzIxNF9fc2hhcmVkX2NvdW50RQAAAADY/gAAlPwAAAAAAAD0/AAAGQAAAEACAAA/AgAAQQIAAD8CAABOU3QzX18yMTlfX3NoYXJlZF93ZWFrX2NvdW50RQAAAFz/AADU/AAAAAAAAAEAAACw/AAAAAAAAE4xMF9fY3h4YWJpdjExNl9fc2hpbV90eXBlX2luZm9FAAAAAAD/AAAM/QAAvAABAE4xMF9fY3h4YWJpdjExN19fY2xhc3NfdHlwZV9pbmZvRQAAAAD/AAA8/QAAMP0AAE4xMF9fY3h4YWJpdjExN19fcGJhc2VfdHlwZV9pbmZvRQAAAAD/AABs/QAAMP0AAE4xMF9fY3h4YWJpdjExOV9fcG9pbnRlcl90eXBlX2luZm9FAAD/AACc/QAAkP0AAAAAAAAQ/gAAQwIAAEQCAABFAgAARgIAAEcCAABOMTBfX2N4eGFiaXYxMjNfX2Z1bmRhbWVudGFsX3R5cGVfaW5mb0UAAP8AAOj9AAAw/QAAdgAAANT9AAAc/gAAYgAAANT9AAAo/gAAYwAAANT9AAA0/gAAaAAAANT9AABA/gAAYQAAANT9AABM/gAAcwAAANT9AABY/gAAdAAAANT9AABk/gAAaQAAANT9AABw/gAAagAAANT9AAB8/gAAbAAAANT9AACI/gAAbQAAANT9AACU/gAAeAAAANT9AACg/gAAeQAAANT9AACs/gAAZgAAANT9AAC4/gAAZAAAANT9AADE/gAAAAAAAGD9AABDAgAASAIAAEUCAABGAgAASQIAAEoCAABLAgAATAIAAAAAAABI/wAAQwIAAE0CAABFAgAARgIAAEkCAABOAgAATwIAAFACAABOMTBfX2N4eGFiaXYxMjBfX3NpX2NsYXNzX3R5cGVfaW5mb0UAAAAAAP8AACD/AABg/QAAAAAAAKT/AABDAgAAUQIAAEUCAABGAgAASQIAAFICAABTAgAAVAIAAE4xMF9fY3h4YWJpdjEyMV9fdm1pX2NsYXNzX3R5cGVfaW5mb0UAAAAA/wAAfP8AAGD9AAAAAAAAFAABAA8AAABVAgAAVgIAAAAAAAA8AAEADwAAAFcCAABYAgAAAAAAAPz/AAAPAAAAWQIAAFoCAABTdDlleGNlcHRpb24AAAAA2P4AAOz/AABTdDliYWRfYWxsb2MAAAAAAP8AAAQAAQD8/wAAU3QyMGJhZF9hcnJheV9uZXdfbGVuZ3RoAAAAAAD/AAAgAAEAFAABAAAAAABsAAEADgAAAFsCAABcAgAAU3QxMWxvZ2ljX2Vycm9yAAD/AABcAAEA/P8AAAAAAACgAAEADgAAAF0CAABcAgAAU3QxMmxlbmd0aF9lcnJvcgAAAAAA/wAAjAABAGwAAQBTdDl0eXBlX2luZm8AAAAA2P4AAKwAAQAAAAAAUAEBAF4CAABfAgAAYAIAAGECAABiAgAAYwIAAGQCAABlAgAAZgIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTExU3BlY2lhbE5hbWVFAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTROb2RlRQDY/gAAIAEBAAD/AADwAAEASAEBAAAAAABIAQEAXgIAAF8CAABgAgAAYQIAAD8CAABjAgAAZAIAAGUCAABnAgAAAAAAAPABAQBeAgAAXwIAAGACAABhAgAAaAIAAGMCAABkAgAAZQIAAGkCAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyMUN0b3JWdGFibGVTcGVjaWFsTmFtZUUAAAAA/wAAtAEBAEgBAQAAAAAAVAIBAF4CAABfAgAAYAIAAGECAABqAgAAYwIAAGsCAABlAgAAbAIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZThOYW1lVHlwZUUAAP8AACgCAQBIAQEAAAAAALwCAQBeAgAAXwIAAGACAABhAgAAbQIAAGMCAABuAgAAZQIAAG8CAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxME5lc3RlZE5hbWVFAAAA/wAAjAIBAEgBAQAAAAAANAMBAHACAABxAgAAcgIAAHMCAAB0AgAAdQIAAGQCAABlAgAAdgIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTI0Rm9yd2FyZFRlbXBsYXRlUmVmZXJlbmNlRQAAAAAA/wAA9AIBAEgBAQAAAAAAoAMBAF4CAABfAgAAYAIAAGECAAB3AgAAYwIAAGQCAABlAgAAeAIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE0SW50ZWdlckxpdGVyYWxFAAAA/wAAbAMBAEgBAQAAAAAABAQBAF4CAABfAgAAYAIAAGECAAB5AgAAYwIAAGQCAABlAgAAegIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZThCb29sRXhwckUAAP8AANgDAQBIAQEAAAAAAHQEAQBeAgAAXwIAAGACAABhAgAAewIAAGMCAABkAgAAZQIAAHwCAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNkZsb2F0TGl0ZXJhbEltcGxJZkVFAAD/AAA8BAEASAEBAAAAAADkBAEAXgIAAF8CAABgAgAAYQIAAH0CAABjAgAAZAIAAGUCAAB+AgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTZGbG9hdExpdGVyYWxJbXBsSWRFRQAA/wAArAQBAEgBAQAAAAAAVAUBAF4CAABfAgAAYAIAAGECAAB/AgAAYwIAAGQCAABlAgAAgAIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE2RmxvYXRMaXRlcmFsSW1wbEllRUUAAP8AABwFAQBIAQEAAAAAAMAFAQBeAgAAXwIAAGACAABhAgAAgQIAAGMCAABkAgAAZQIAAIICAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxM1N0cmluZ0xpdGVyYWxFAAAAAP8AAIwFAQBIAQEAAAAAACwGAQBeAgAAXwIAAGACAABhAgAAgwIAAGMCAABkAgAAZQIAAIQCAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNVVubmFtZWRUeXBlTmFtZUUAAP8AAPgFAQBIAQEAAAAAAKQGAQBeAgAAXwIAAGACAABhAgAAhQIAAGMCAABkAgAAZQIAAIYCAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyNlN5bnRoZXRpY1RlbXBsYXRlUGFyYW1OYW1lRQAAAP8AAGQGAQBIAQEAAAAAABgHAQBeAgAAXwIAAGACAABhAgAAhwIAAIgCAABkAgAAZQIAAIkCAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyMVR5cGVUZW1wbGF0ZVBhcmFtRGVjbEUAAAAA/wAA3AYBAEgBAQAAAAAAkAcBAF4CAABfAgAAYAIAAGECAACKAgAAiwIAAGQCAABlAgAAjAIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTI0Tm9uVHlwZVRlbXBsYXRlUGFyYW1EZWNsRQAAAAAA/wAAUAcBAEgBAQAAAAAACAgBAF4CAABfAgAAYAIAAGECAACNAgAAjgIAAGQCAABlAgAAjwIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTI1VGVtcGxhdGVUZW1wbGF0ZVBhcmFtRGVjbEUAAAAA/wAAyAcBAEgBAQAAAAAAfAgBAF4CAABfAgAAYAIAAGECAACQAgAAkQIAAGQCAABlAgAAkgIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTIxVGVtcGxhdGVQYXJhbVBhY2tEZWNsRQAAAAD/AABACAEASAEBAAAAAADoCAEAXgIAAF8CAABgAgAAYQIAAJMCAABjAgAAZAIAAGUCAACUAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTVDbG9zdXJlVHlwZU5hbWVFAAD/AAC0CAEASAEBAAAAAABQCQEAXgIAAF8CAABgAgAAYQIAAJUCAABjAgAAZAIAAGUCAACWAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTBMYW1iZGFFeHByRQAAAP8AACAJAQBIAQEAAAAAALgJAQBeAgAAXwIAAGACAABhAgAAlwIAAGMCAABkAgAAZQIAAJgCAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMUVudW1MaXRlcmFsRQAA/wAAiAkBAEgBAQAAAAAAJAoBAF4CAABfAgAAYAIAAGECAACZAgAAYwIAAGQCAABlAgAAmgIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEzRnVuY3Rpb25QYXJhbUUAAAAA/wAA8AkBAEgBAQAAAAAAiAoBAF4CAABfAgAAYAIAAGECAACbAgAAYwIAAGQCAABlAgAAnAIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZThGb2xkRXhwckUAAP8AAFwKAQBIAQEAAAAAAPwKAQBeAgAAXwIAAGACAABhAgAAnQIAAGMCAABkAgAAZQIAAJ4CAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyMlBhcmFtZXRlclBhY2tFeHBhbnNpb25FAAAA/wAAwAoBAEgBAQAAAAAAZAsBAF4CAABfAgAAYAIAAGECAACfAgAAYwIAAGQCAABlAgAAoAIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwQmluYXJ5RXhwckUAAAD/AAA0CwEASAEBAAAAAADMCwEAXgIAAF8CAABgAgAAYQIAAKECAABjAgAAZAIAAGUCAACiAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTBQcmVmaXhFeHByRQAAAP8AAJwLAQBIAQEAAAAAADAMAQBeAgAAXwIAAGACAABhAgAAowIAAGMCAABkAgAAZQIAAKQCAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGU4Q2FzdEV4cHJFAAD/AAAEDAEASAEBAAAAAACUDAEAXgIAAF8CAABgAgAAYQIAAKUCAABjAgAAZAIAAGUCAACmAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlOENhbGxFeHByRQAA/wAAaAwBAEgBAQAAAAAAAA0BAF4CAABfAgAAYAIAAGECAACnAgAAYwIAAGQCAABlAgAAqAIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE0Q29udmVyc2lvbkV4cHJFAAAA/wAAzAwBAEgBAQAAAAAAaA0BAF4CAABfAgAAYAIAAGECAACpAgAAYwIAAGQCAABlAgAAqgIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwRGVsZXRlRXhwckUAAAD/AAA4DQEASAEBAAAAAADUDQEAXgIAAF8CAABgAgAAYQIAAKsCAABjAgAArAIAAGUCAACtAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTNRdWFsaWZpZWROYW1lRQAAAAD/AACgDQEASAEBAAAAAAA4DgEAXgIAAF8CAABgAgAAYQIAAK4CAABjAgAAZAIAAGUCAACvAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlOER0b3JOYW1lRQAA/wAADA4BAEgBAQAAAAAArA4BAF4CAABfAgAAYAIAAGECAACwAgAAYwIAAGQCAABlAgAAsQIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTIyQ29udmVyc2lvbk9wZXJhdG9yVHlwZUUAAAD/AABwDgEASAEBAAAAAAAYDwEAXgIAAF8CAABgAgAAYQIAALICAABjAgAAZAIAAGUCAACzAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTVMaXRlcmFsT3BlcmF0b3JFAAD/AADkDgEASAEBAAAAAACIDwEAXgIAAF8CAABgAgAAYQIAALQCAABjAgAAtQIAAGUCAAC2AgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTlHbG9iYWxRdWFsaWZpZWROYW1lRQAA/wAAUA8BAEgBAQAAAAAA8A8BAF4CAABfAgAAYAIAAGECAAC3AgAAYwIAAGQCAABlAgAAuAIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwTWVtYmVyRXhwckUAAAD/AADADwEASAEBAAAAAABgEAEAXgIAAF8CAABgAgAAYQIAALkCAABjAgAAZAIAAGUCAAC6AgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMThBcnJheVN1YnNjcmlwdEV4cHJFAAAA/wAAKBABAEgBAQAAAAAAyBABAF4CAABfAgAAYAIAAGECAAC7AgAAYwIAAGQCAABlAgAAvAIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwQnJhY2VkRXhwckUAAAD/AACYEAEASAEBAAAAAAA0EQEAXgIAAF8CAABgAgAAYQIAAL0CAABjAgAAZAIAAGUCAAC+AgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTVCcmFjZWRSYW5nZUV4cHJFAAD/AAAAEQEASAEBAAAAAACgEQEAXgIAAF8CAABgAgAAYQIAAL8CAABjAgAAZAIAAGUCAADAAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTJJbml0TGlzdEV4cHJFAAAAAAD/AABsEQEASAEBAAAAAAAcEgEAXgIAAF8CAABgAgAAYQIAAMECAABjAgAAZAIAAGUCAADCAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMjlQb2ludGVyVG9NZW1iZXJDb252ZXJzaW9uRXhwckUAAAAA/wAA2BEBAEgBAQAAAAAAhBIBAF4CAABfAgAAYAIAAGECAADDAgAAYwIAAGQCAABlAgAAxAIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTExUG9zdGZpeEV4cHJFAAD/AABUEgEASAEBAAAAAADoEgEAXgIAAF8CAABgAgAAYQIAAMUCAABjAgAAZAIAAGUCAADGAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlN05ld0V4cHJFAAAA/wAAvBIBAEgBAQAAAAAAVBMBAF4CAABfAgAAYAIAAGECAADHAgAAYwIAAGQCAABlAgAAyAIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEzRW5jbG9zaW5nRXhwckUAAAAA/wAAIBMBAEgBAQAAAAAAwBMBAF4CAABfAgAAYAIAAGECAADJAgAAYwIAAGQCAABlAgAAygIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE1Q29uZGl0aW9uYWxFeHByRQAA/wAAjBMBAEgBAQAAAAAALBQBAF4CAABfAgAAYAIAAGECAADLAgAAYwIAAGQCAABlAgAAzAIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEzU3Vib2JqZWN0RXhwckUAAAAA/wAA+BMBAEgBAQAAAAAAnBQBAF4CAABfAgAAYAIAAGECAADNAgAAYwIAAGQCAABlAgAAzgIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE5U2l6ZW9mUGFyYW1QYWNrRXhwckUAAP8AAGQUAQBIAQEAAAAAAAgVAQBeAgAAXwIAAGACAABhAgAAzwIAAGMCAABkAgAAZQIAANACAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxM05vZGVBcnJheU5vZGVFAAAAAP8AANQUAQBIAQEAAAAAAHAVAQBeAgAAXwIAAGACAABhAgAA0QIAAGMCAABkAgAAZQIAANICAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGU5VGhyb3dFeHByRQAAAAAA/wAAQBUBAEgBAQAAAAAA6BUBAF4CAABfAgAAYAIAAGECAADTAgAAYwIAANQCAABlAgAA1QIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTI3RXhwYW5kZWRTcGVjaWFsU3Vic3RpdHV0aW9uRQAA/wAAqBUBAEgBAQAAAAAAVBYBAF4CAABfAgAAYAIAAGECAADWAgAAYwIAAGQCAABlAgAA1wIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEyQ3RvckR0b3JOYW1lRQAAAAAA/wAAIBYBAEgBAQAAAAAAvBYBAF4CAABfAgAAYAIAAGECAADYAgAAYwIAAGQCAABlAgAA2QIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEwQWJpVGFnQXR0ckUAAAD/AACMFgEASAEBAAAAAAAwFwEAXgIAAF8CAABgAgAAYQIAANoCAABjAgAAZAIAAGUCAADbAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMjFTdHJ1Y3R1cmVkQmluZGluZ05hbWVFAAAAAP8AAPQWAQBIAQEAAAAAAJgXAQBeAgAAXwIAAGACAABhAgAA3AIAAGMCAABkAgAAZQIAAN0CAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGU5TG9jYWxOYW1lRQAAAAAA/wAAaBcBAEgBAQAAAAAACBgBAF4CAABfAgAAYAIAAGECAADeAgAAYwIAAN8CAABlAgAA4AIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE5U3BlY2lhbFN1YnN0aXR1dGlvbkUAAP8AANAXAQBIAQEAAAAAAHgYAQBeAgAAXwIAAGACAABhAgAA4QIAAGMCAADiAgAAZQIAAOMCAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNlN0ZFF1YWxpZmllZE5hbWVFAAAAAAD/AABAGAEASAEBAAAAAADkGAEA5AIAAOUCAADmAgAA5wIAAOgCAADpAgAAZAIAAGUCAADqAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTNQYXJhbWV0ZXJQYWNrRQAAAAD/AACwGAEASAEBAAAAAABQGQEAXgIAAF8CAABgAgAAYQIAAOsCAABjAgAAZAIAAGUCAADsAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTJUZW1wbGF0ZUFyZ3NFAAAAAAD/AAAcGQEASAEBAAAAAADEGQEAXgIAAF8CAABgAgAAYQIAAO0CAABjAgAA7gIAAGUCAADvAgAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMjBOYW1lV2l0aFRlbXBsYXRlQXJnc0UAAAAAAP8AAIgZAQBIAQEAAAAAADgaAQBeAgAAXwIAAGACAABhAgAA8AIAAGMCAABkAgAAZQIAAPECAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyMFRlbXBsYXRlQXJndW1lbnRQYWNrRQAAAAAA/wAA/BkBAEgBAQAAAAAApBoBAF4CAABfAgAAYAIAAGECAADyAgAAYwIAAGQCAABlAgAA8wIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEyRW5hYmxlSWZBdHRyRQAAAAAA/wAAcBoBAEgBAQAAAAAAFBsBAPQCAABfAgAA9QIAAGECAAD2AgAA9wIAAGQCAABlAgAA+AIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTE2RnVuY3Rpb25FbmNvZGluZ0UAAAAAAP8AANwaAQBIAQEAAAAAAHwbAQBeAgAAXwIAAGACAABhAgAA+QIAAGMCAABkAgAAZQIAAPoCAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGU5RG90U3VmZml4RQAAAAAA/wAATBsBAEgBAQAAAAAA6BsBAF4CAABfAgAAYAIAAGECAAD7AgAAYwIAAGQCAABlAgAA/AIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTEyTm9leGNlcHRTcGVjRQAAAAAA/wAAtBsBAEgBAQAAAAAAXBwBAF4CAABfAgAAYAIAAGECAAD9AgAAYwIAAGQCAABlAgAA/gIAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTIwRHluYW1pY0V4Y2VwdGlvblNwZWNFAAAAAAD/AAAgHAEASAEBAAAAAADIHAEA/wIAAF8CAAAAAwAAYQIAAAEDAAACAwAAZAIAAGUCAAADAwAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTJGdW5jdGlvblR5cGVFAAAAAAD/AACUHAEASAEBAAAAAAA0HQEAXgIAAF8CAABgAgAAYQIAAAQDAABjAgAAZAIAAGUCAAAFAwAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTNPYmpDUHJvdG9OYW1lRQAAAAD/AAAAHQEASAEBAAAAAACkHQEAXgIAAF8CAABgAgAAYQIAAAYDAABjAgAAZAIAAGUCAAAHAwAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTdWZW5kb3JFeHRRdWFsVHlwZUUAAAAA/wAAbB0BAEgBAQAAAAAACB4BAAgDAAAJAwAACgMAAGECAAALAwAADAMAAGQCAABlAgAADQMAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZThRdWFsVHlwZUUAAP8AANwdAQBIAQEAAAAAAHQeAQBeAgAAXwIAAGACAABhAgAADgMAAGMCAABkAgAAZQIAAA8DAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMkJpbmFyeUZQVHlwZUUAAAAAAP8AAEAeAQBIAQEAAAAAAOAeAQBeAgAAXwIAAGACAABhAgAAEAMAAGMCAABkAgAAZQIAABEDAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxNVBpeGVsVmVjdG9yVHlwZUUAAP8AAKweAQBIAQEAAAAAAEgfAQBeAgAAXwIAAGACAABhAgAAEgMAAGMCAABkAgAAZQIAABMDAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxMFZlY3RvclR5cGVFAAAA/wAAGB8BAEgBAQAAAAAAsB8BABQDAAAVAwAAYAIAAGECAAAWAwAAFwMAAGQCAABlAgAAGAMAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTlBcnJheVR5cGVFAAAAAAD/AACAHwEASAEBAAAAAAAgIAEAGQMAAF8CAABgAgAAYQIAABoDAAAbAwAAZAIAAGUCAAAcAwAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTlQb2ludGVyVG9NZW1iZXJUeXBlRQAA/wAA6B8BAEgBAQAAAAAAlCABAF4CAABfAgAAYAIAAGECAAAdAwAAYwIAAGQCAABlAgAAHgMAAE4xMl9HTE9CQUxfX05fMTE2aXRhbml1bV9kZW1hbmdsZTIyRWxhYm9yYXRlZFR5cGVTcGVmVHlwZUUAAAD/AABYIAEASAEBAAAAAAD8IAEAHwMAAF8CAABgAgAAYQIAACADAAAhAwAAZAIAAGUCAAAiAwAATjEyX0dMT0JBTF9fTl8xMTZpdGFuaXVtX2RlbWFuZ2xlMTFQb2ludGVyVHlwZUUAAP8AAMwgAQBIAQEAAAAAAGghAQAjAwAAXwIAAGACAABhAgAAJAMAACUDAABkAgAAZQIAACYDAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUxM1JlZmVyZW5jZVR5cGVFAAAAAP8AADQhAQBIAQEAAAAAANwhAQBeAgAAXwIAAGACAABhAgAAJwMAAGMCAABkAgAAZQIAACgDAABOMTJfR0xPQkFMX19OXzExNml0YW5pdW1fZGVtYW5nbGUyMFBvc3RmaXhRdWFsaWZpZWRUeXBlRQAAAAAA/wAAoCEBAEgBAQAidwAAhnsAAIZ7AABxegAAVnoAADl6AAAidwAAhnsAALZ7AACEegAAaXoAAE16"); + base64DecodeToExistingUint8Array(bufferView, 74264, "AQAAAP/////9/////v///wU="); + base64DecodeToExistingUint8Array(bufferView, 74292, "7A=="); + base64DecodeToExistingUint8Array(bufferView, 74316, "6gAAAOkAAABQMwE="); + base64DecodeToExistingUint8Array(bufferView, 74340, "Ag=="); + base64DecodeToExistingUint8Array(bufferView, 74356, "//////////8="); + base64DecodeToExistingUint8Array(bufferView, 74424, "KCIBAAAAAAAF"); + base64DecodeToExistingUint8Array(bufferView, 74444, "7Q=="); + base64DecodeToExistingUint8Array(bufferView, 74468, "6gAAAO4AAABYMwEAAAQ="); + base64DecodeToExistingUint8Array(bufferView, 74492, "AQ=="); + base64DecodeToExistingUint8Array(bufferView, 74508, "/////wo="); + base64DecodeToExistingUint8Array(bufferView, 74576, "wCIBAMBJUQAJ"); + base64DecodeToExistingUint8Array(bufferView, 74596, "7A=="); + base64DecodeToExistingUint8Array(bufferView, 74616, "6wAAAAAAAADpAAAAaDkBAAAE"); + base64DecodeToExistingUint8Array(bufferView, 74660, "/////w=="); + base64DecodeToExistingUint8Array(bufferView, 74728, "QgI="); +} + + var scratchBuffer = new ArrayBuffer(16); + var i32ScratchView = new Int32Array(scratchBuffer); + var f32ScratchView = new Float32Array(scratchBuffer); + var f64ScratchView = new Float64Array(scratchBuffer); + + function wasm2js_scratch_load_i32(index) { + return i32ScratchView[index]; + } + + function wasm2js_scratch_store_i32(index, value) { + i32ScratchView[index] = value; + } + + function wasm2js_scratch_load_f64() { + return f64ScratchView[0]; + } + + function wasm2js_scratch_store_f64(value) { + f64ScratchView[0] = value; + } + + function wasm2js_memory_fill(dest, value, size) { + dest = dest >>> 0; + size = size >>> 0; + if (dest + size > bufferView.length) throw "trap: invalid memory.fill"; + bufferView.fill(value, dest, dest + size); + } + + function wasm2js_memory_copy(dest, source, size) { + // TODO: traps on invalid things + bufferView.copyWithin(dest, source, source + size); + } + + function wasm2js_scratch_store_f32(value) { + f32ScratchView[2] = value; + } + + function wasm2js_scratch_load_f32() { + return f32ScratchView[2]; + } + +function asmFunc(env) { + var memory = env.memory; + var buffer = memory.buffer; + memory.grow = __wasm_memory_grow; + var HEAP8 = new Int8Array(buffer); + var HEAP16 = new Int16Array(buffer); + var HEAP32 = new Int32Array(buffer); + var HEAPU8 = new Uint8Array(buffer); + var HEAPU16 = new Uint16Array(buffer); + var HEAPU32 = new Uint32Array(buffer); + var HEAPF32 = new Float32Array(buffer); + var HEAPF64 = new Float64Array(buffer); + var Math_imul = Math.imul; + var Math_fround = Math.fround; + var Math_abs = Math.abs; + var Math_clz32 = Math.clz32; + var Math_min = Math.min; + var Math_max = Math.max; + var Math_floor = Math.floor; + var Math_ceil = Math.ceil; + var Math_trunc = Math.trunc; + var Math_sqrt = Math.sqrt; + var abort = env.abort; + var nan = NaN; + var infinity = Infinity; + var exit = env.exit; + var invoke_ii = env.invoke_ii; + var invoke_vi = env.invoke_vi; + var invoke_viiii = env.invoke_viiii; + var invoke_viii = env.invoke_viii; + var invoke_vii = env.invoke_vii; + var invoke_iii = env.invoke_iii; + var invoke_iiii = env.invoke_iiii; + var __cxa_allocate_exception = env.__cxa_allocate_exception; + var __cxa_throw = env.__cxa_throw; + var abort = env.abort; + var strftime = env.strftime; + var emscripten_asm_const_int = env.emscripten_asm_const_int; + var _embind_register_function = env._embind_register_function; + var _embind_register_constant = env._embind_register_constant; + var _embind_register_void = env._embind_register_void; + var _embind_register_bool = env._embind_register_bool; + var _embind_register_integer = env._embind_register_integer; + var _embind_register_float = env._embind_register_float; + var _embind_register_std_string = env._embind_register_std_string; + var _embind_register_std_wstring = env._embind_register_std_wstring; + var _embind_register_emval = env._embind_register_emval; + var _embind_register_memory_view = env._embind_register_memory_view; + var _tzset_js = env._tzset_js; + var _localtime_js = env._localtime_js; + var _emscripten_date_now = env._emscripten_date_now; + var __syscall_openat = env.__syscall_openat; + var __syscall_fcntl64 = env.__syscall_fcntl64; + var __syscall_ioctl = env.__syscall_ioctl; + var __wasi_fd_write = env.fd_write; + var __wasi_fd_read = env.fd_read; + var __wasi_fd_close = env.fd_close; + var __wasi_environ_sizes_get = env.environ_sizes_get; + var __wasi_environ_get = env.environ_get; + var emscripten_get_heap_max = env.emscripten_get_heap_max; + var emscripten_resize_heap = env.emscripten_resize_heap; + var _emscripten_throw_longjmp = env._emscripten_throw_longjmp; + var strftime_l = env.strftime_l; + var legalimport$_embind_register_bigint = env._embind_register_bigint; + var legalimport$__wasi_fd_seek = env.fd_seek; + var __stack_pointer = 5327296; + var tempRet0 = 0; + var __stack_end = 0; + var __stack_base = 0; + var i64toi32_i32$HIGH_BITS = 0; + // EMSCRIPTEN_START_FUNCS +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 672 | 0; + __stack_pointer = $1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 656 | 0, 30279); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 312 >> 2] = $4; + HEAP32[$1 + 316 >> 2] = $5; + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 312 | 0), + HEAP8[wasm2js_i32$0 + 671 | 0] = wasm2js_i32$1; + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($0) >>> 0 < 2) { + break label$1; + } + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + label$10: { + label$11: { + label$12: { + label$13: { + label$14: { + label$15: { + label$16: { + label$17: { + label$18: { + label$19: { + label$20: { + label$21: { + label$22: { + label$23: { + label$24: { + label$25: { + label$26: { + $2 = HEAP32[$0 >> 2]; + switch (HEAP8[$2 | 0] - 49 | 0) { + case 62: + break label$14; + + case 61: + break label$15; + + case 60: + break label$16; + + case 59: + break label$17; + + case 56: + break label$18; + + case 54: + break label$19; + + case 52: + break label$20; + + case 51: + break label$21; + + case 50: + break label$22; + + case 48: + break label$23; + + case 53: + break label$24; + + case 35: + break label$25; + + case 27: + break label$26; + + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + break label$3; + + case 68: + break label$4; + + case 67: + break label$5; + + case 66: + break label$6; + + case 65: + break label$7; + + case 64: + break label$8; + + case 63: + break label$9; + + default: + break label$1; + } + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExprPrimary_28_29($0); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParam_28_29($0); + break label$1; + } + label$27: { + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + if (($3 | 0) != 112) { + if (($3 & 255) != 76) { + break label$27; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 2) - 48 >>> 0 > 9) { + break label$27; + } + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFunctionParam_28_29($0); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFoldExpr_28_29($0); + break label$1; + } + label$29: { + label$30: { + label$31: { + label$32: { + label$33: { + label$34: { + label$35: { + $4 = HEAP8[$2 + 1 | 0]; + switch ($4 - 97 | 0) { + case 1: + case 2: + break label$1; + + case 3: + break label$33; + + case 0: + break label$34; + + default: + break label$35; + } + } + if (($4 | 0) == 78) { + break label$31; + } + if (($4 | 0) == 83) { + break label$30; + } + if (($4 | 0) == 110) { + break label$32; + } + if (($4 | 0) == 116) { + break label$29; + } + if (($4 | 0) != 122) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b10_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b10_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, 37923, $1 + 608 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 648 | 0, 38013); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = $5; + HEAP32[$1 + 4 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 640 | 0, 38017); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 8 >> 2] = $4; + HEAP32[$1 + 12 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePrefixExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 8 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 632 | 0, 38017); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 16 >> 2] = $5; + HEAP32[$1 + 20 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 16 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 624 | 0, 37251); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 24 >> 2] = $4; + HEAP32[$1 + 28 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 24 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 616 | 0, 37274); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 32 >> 2] = $5; + HEAP32[$1 + 36 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 32 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b10_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b10_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, 37923, $1 + 608 | 0); + break label$1; + } + label$36: { + label$37: { + label$38: { + label$39: { + label$40: { + $4 = HEAP8[$2 + 1 | 0]; + switch ($4 - 108 | 0) { + case 2: + break label$1; + + case 3: + break label$37; + + case 1: + break label$38; + + case 0: + break label$39; + + default: + break label$40; + } + } + if (($4 | 0) == 118) { + break label$36; + } + if (($4 | 0) != 99) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 320 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 608 | 0, $1 + 320 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 320 >> 2] = $2; + if (!$2) { + break label$1; + } + $4 = $0 + 8 | 0; + $5 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($4); + while (1) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $2; + if (!$2) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($4, $1 + 608 | 0); + continue; + } + break; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 + 608 | 0, $0, $5); + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CallExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1 + 320 | 0, $1 + 608 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 600 | 0, 37694); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 40 >> 2] = $4; + HEAP32[$1 + 44 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 40 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 592 | 0, 27937); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 48 >> 2] = $5; + HEAP32[$1 + 52 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePrefixExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 48 | 0); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseConversionExpr_28_29($0); + break label$1; + } + label$43: { + label$44: { + label$45: { + label$46: { + label$47: { + label$48: { + $4 = HEAP8[$2 + 1 | 0]; + switch ($4 - 108 | 0) { + case 1: + case 3: + case 4: + case 5: + case 6: + case 9: + break label$1; + + case 2: + break label$13; + + case 10: + break label$44; + + case 8: + break label$45; + + case 7: + break label$46; + + case 0: + break label$47; + + default: + break label$48; + } + } + label$49: { + switch ($4 - 97 | 0) { + case 0: + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + HEAP8[$1 + 320 | 0] = 1; + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__DeleteExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__2c_20bool__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__2c_20bool___29($0, $1 + 608 | 0, $1 + 671 | 0, $1 + 320 | 0); + break label$1; + + case 2: + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 320 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b13_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b13_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 608 | 0, $1 + 320 | 0); + break label$1; + + case 1: + case 3: + break label$1; + + case 4: + break label$49; + + default: + break label$43; + } + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 584 | 0, 37744); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 56 >> 2] = $4; + HEAP32[$1 + 60 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePrefixExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 56 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + HEAP8[$1 + 320 | 0] = 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__DeleteExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__2c_20bool__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__2c_20bool___29($0, $1 + 608 | 0, $1 + 671 | 0, $1 + 320 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 320 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__MemberExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 608 | 0, 37743, $1 + 320 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 320 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__MemberExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 608 | 0, $1 + 320 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 576 | 0, 37644); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 64 >> 2] = $5; + HEAP32[$1 + 68 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 - -64 | 0); + break label$1; + } + if (($4 | 0) != 86) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 568 | 0, 37207); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 72 >> 2] = $4; + HEAP32[$1 + 76 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 72 | 0); + break label$1; + } + label$52: { + label$53: { + label$54: { + $4 = HEAP8[$2 + 1 | 0]; + switch ($4 - 111 | 0) { + case 1: + break label$1; + + case 2: + break label$52; + + case 0: + break label$54; + + default: + break label$53; + } + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 560 | 0, 34365); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 80 >> 2] = $5; + HEAP32[$1 + 84 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 80 | 0); + break label$1; + } + if (($4 | 0) != 79) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 552 | 0, 37139); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 88 >> 2] = $4; + HEAP32[$1 + 92 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 88 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 544 | 0, 37173); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 96 >> 2] = $5; + HEAP32[$1 + 100 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 96 | 0); + break label$1; + } + $4 = HEAP8[$2 + 1 | 0]; + if (($4 | 0) != 116) { + if (($4 | 0) != 101) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 536 | 0, 37162); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 104 >> 2] = $4; + HEAP32[$1 + 108 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 104 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 528 | 0, 37108); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 112 >> 2] = $5; + HEAP32[$1 + 116 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 112 | 0); + break label$1; + } + $4 = HEAP8[$2 + 1 | 0]; + if (($4 | 0) != 108) { + if (($4 | 0) != 120) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 320 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ArraySubscriptExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 608 | 0, $1 + 320 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $4 = $0 + 8 | 0; + $5 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($4); + while (1) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBracedExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $2; + if (!$2) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($4, $1 + 608 | 0); + continue; + } + break; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 + 608 | 0, $0, $5); + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__InitListExpr_2c_20std__nullptr_t_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28std__nullptr_t___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1 + 608 | 0); + break label$1; + } + label$59: { + label$60: { + label$61: { + label$62: { + $4 = HEAP8[$2 + 1 | 0]; + switch ($4 - 115 | 0) { + case 1: + break label$59; + + case 0: + break label$61; + + default: + break label$62; + } + } + if (($4 | 0) == 83) { + break label$60; + } + if (($4 | 0) != 101) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 520 | 0, 37196); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 120 >> 2] = $4; + HEAP32[$1 + 124 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 120 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 512 | 0, 37308); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 128 >> 2] = $5; + HEAP32[$1 + 132 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 128 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 504 | 0, 37195); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 136 >> 2] = $4; + HEAP32[$1 + 140 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 136 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 496 | 0, 37315); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 144 >> 2] = $5; + HEAP32[$1 + 148 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 144 | 0); + break label$1; + } + label$63: { + label$64: { + label$65: { + label$66: { + label$67: { + label$68: { + $4 = HEAP8[$2 + 1 | 0]; + switch ($4 - 105 | 0) { + case 1: + case 2: + break label$1; + + case 4: + break label$63; + + case 3: + break label$65; + + case 0: + break label$67; + + default: + break label$68; + } + } + label$69: { + switch ($4 - 73 | 0) { + case 1: + case 2: + break label$1; + + case 3: + break label$64; + + case 0: + break label$66; + + default: + break label$69; + } + } + if (($4 | 0) != 99) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePointerToMemberConversionExpr_28_29($0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 488 | 0, 37684); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 152 >> 2] = $4; + HEAP32[$1 + 156 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 152 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 480 | 0, 37218); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 160 >> 2] = $5; + HEAP32[$1 + 164 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 160 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 472 | 0, 37744); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 168 >> 2] = $4; + HEAP32[$1 + 172 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 168 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 464 | 0, 37240); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 176 >> 2] = $5; + HEAP32[$1 + 180 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 176 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 456 | 0, 37683); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 184 >> 2] = $4; + HEAP32[$1 + 188 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePrefixExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 184 | 0); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PostfixExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_29($0, $1 + 608 | 0, 37683); + break label$1; + } + label$71: { + label$72: { + label$73: { + label$74: { + label$75: { + label$76: { + $4 = HEAP8[$2 + 1 | 0]; + switch ($4 - 97 | 0) { + case 1: + case 2: + case 3: + case 5: + break label$1; + + case 6: + break label$73; + + case 4: + break label$74; + + case 0: + break label$75; + + default: + break label$76; + } + } + switch ($4 - 116 | 0) { + case 4: + break label$71; + + case 0: + break label$72; + + case 3: + break label$75; + + default: + break label$1; + } + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNewExpr_28_29($0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 448 | 0, 37273); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 192 >> 2] = $5; + HEAP32[$1 + 196 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 192 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 440 | 0, 37684); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 200 >> 2] = $4; + HEAP32[$1 + 204 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePrefixExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 200 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 432 | 0, 38070); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 208 >> 2] = $5; + HEAP32[$1 + 212 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePrefixExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 208 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, $1 + 608 | 0); + break label$1; + } + $4 = HEAP8[$2 + 1 | 0]; + switch ($4 - 110 | 0) { + case 2: + case 3: + break label$1; + + case 4: + break label$11; + + case 1: + break label$12; + + case 0: + break label$13; + + default: + break label$10; + } + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnresolvedName_28_29($0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 424 | 0, 27953); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 216 >> 2] = $4; + HEAP32[$1 + 220 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 216 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 416 | 0, 27964); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 224 >> 2] = $5; + HEAP32[$1 + 228 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 224 | 0); + break label$1; + } + if (($4 | 0) != 82) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 408 | 0, 37118); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 232 >> 2] = $4; + HEAP32[$1 + 236 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 232 | 0); + break label$1; + } + label$77: { + label$78: { + label$79: { + label$80: { + label$81: { + label$82: { + $4 = HEAP8[$2 + 1 | 0]; + switch ($4 - 108 | 0) { + case 2: + case 3: + case 5: + case 6: + break label$1; + + case 8: + break label$77; + + case 7: + break label$78; + + case 4: + break label$79; + + case 0: + break label$81; + + case 1: + break label$82; + + default: + break label$80; + } + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 400 | 0, 37735); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 240 >> 2] = $5; + HEAP32[$1 + 244 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 240 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 392 | 0, 37715); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 248 >> 2] = $4; + HEAP32[$1 + 252 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 248 | 0); + break label$1; + } + if (($4 | 0) != 76) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 384 | 0, 37229); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 256 >> 2] = $5; + HEAP32[$1 + 260 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 256 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 376 | 0, 37714); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 264 >> 2] = $4; + HEAP32[$1 + 268 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePrefixExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 264 | 0); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PostfixExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_29($0, $1 + 608 | 0, 37714); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 368 | 0, 37715); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 272 >> 2] = $5; + HEAP32[$1 + 276 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePrefixExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 272 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 320 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__MemberExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 608 | 0, 36885, $1 + 320 | 0); + break label$1; + } + if (HEAPU8[$2 + 1 | 0] != 117) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 320 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 364 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ConditionalExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 608 | 0, $1 + 320 | 0, $1 + 364 | 0); + break label$1; + } + label$84: { + label$85: { + $4 = HEAP8[$2 + 1 | 0]; + if (($4 | 0) != 77) { + if (($4 | 0) == 83) { + break label$84; + } + if (($4 | 0) == 115) { + break label$85; + } + if (($4 | 0) != 109) { + if (($4 | 0) != 99) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 320 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b17_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b17_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 608 | 0, $1 + 320 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 352 | 0, 38027); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 280 >> 2] = $4; + HEAP32[$1 + 284 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 280 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 344 | 0, 37262); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 288 >> 2] = $5; + HEAP32[$1 + 292 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 288 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 336 | 0, 36862); + $4 = HEAP32[$2 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 296 >> 2] = $4; + HEAP32[$1 + 300 >> 2] = $5; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 296 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 328 | 0, 37161); + $5 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 304 >> 2] = $5; + HEAP32[$1 + 308 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 304 | 0); + break label$1; + } + label$88: { + label$89: { + label$90: { + label$91: { + label$92: { + label$93: { + label$94: { + label$95: { + $4 = HEAP8[$2 + 1 | 0]; + switch ($4 - 111 | 0) { + case 2: + case 4: + case 6: + case 7: + case 8: + case 9: + case 10: + break label$1; + + case 11: + break label$90; + + case 5: + break label$91; + + case 3: + break label$92; + + case 1: + break label$93; + + case 0: + break label$94; + + default: + break label$95; + } + } + if (($4 | 0) == 80) { + break label$88; + } + if (($4 | 0) == 90) { + break label$89; + } + if (($4 | 0) != 99) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 320 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 608 | 0, $1 + 320 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSubobjectExpr_28_29($0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 608 | 0); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnresolvedName_28_29($0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, 37933, $1 + 608 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, 37933, $1 + 608 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + if (($2 | 0) != 102) { + if (($2 & 255) != 84) { + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParam_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SizeofParamPackExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 608 | 0); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFunctionParam_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, $1 + 608 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $4 = $0 + 8 | 0; + $5 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($4); + while (1) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArg_28_29($0); + HEAP32[$1 + 608 >> 2] = $2; + if (!$2) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($4, $1 + 608 | 0); + continue; + } + break; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 + 608 | 0, $0, $5); + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NodeArrayNode_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1 + 608 | 0), + HEAP32[wasm2js_i32$0 + 320 >> 2] = wasm2js_i32$1; + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, $1 + 320 | 0); + break label$1; + } + label$99: { + label$100: { + label$101: { + label$102: { + label$103: { + $4 = HEAP8[$2 + 1 | 0]; + switch ($4 - 105 | 0) { + case 1: + case 2: + break label$1; + + case 3: + break label$101; + + case 0: + break label$102; + + default: + break label$103; + } + } + if (($4 | 0) == 119) { + break label$99; + } + if (($4 | 0) == 114) { + break label$100; + } + if (($4 | 0) != 101) { + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, 37942, $1 + 608 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, 37942, $1 + 608 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 320 >> 2] = $3; + if (!$3) { + break label$2; + } + $2 = $0 + 8 | 0; + $4 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($2); + while (1) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBracedExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($2, $1 + 608 | 0); + continue; + } + break; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 + 608 | 0, $0, $4); + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__InitListExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1 + 320 | 0, $1 + 608 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b6_5d__28char_20const_20_28__29_20_5b6_5d_29($0, 28533); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ThrowExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 608 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 1; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSourceName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0); + HEAP32[$1 + 364 >> 2] = $3; + if (!$3) { + break label$2; + } + FUNCTION_TABLE[HEAP32[HEAP32[$3 >> 2] + 24 >> 2]]($1 + 608 | 0, $3); + label$106: { + if (!$28anonymous_20namespace_29__itanium_demangle__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_20const__29($1 + 608 | 0, $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 320 | 0, 31730))) { + break label$106; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($0) >>> 0 < 2) { + break label$2; + } + $2 = HEAP32[$0 >> 2]; + $3 = HEAPU8[$2 | 0]; + if (($3 | 0) != 122) { + if (($3 | 0) != 116) { + break label$106; + } + HEAP32[$0 >> 2] = $2 + 1; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 320 >> 2] = $3; + if (!$3) { + break label$2; + } + $28anonymous_20namespace_29__itanium_demangle__NodeArray_20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___makeNodeArray__28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($1 + 608 | 0, $0, $1 + 320 | 0, $1 + 324 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CallExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1 + 364 | 0, $1 + 608 | 0); + break label$1; + } + HEAP32[$0 >> 2] = $2 + 1; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 320 >> 2] = $3; + if (!$3) { + break label$2; + } + $28anonymous_20namespace_29__itanium_demangle__NodeArray_20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___makeNodeArray__28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($1 + 608 | 0, $0, $1 + 320 | 0, $1 + 324 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CallExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1 + 364 | 0, $1 + 608 | 0); + break label$1; + } + $2 = $0 + 8 | 0; + $4 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($2); + while (1) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArg_28_29($0); + HEAP32[$1 + 608 >> 2] = $3; + if (!$3) { + break label$2; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($2, $1 + 608 | 0); + continue; + } + break; } - } - } - return adjusted; - }, - addRef: function(ptr) { - if (!ptr) return; - var info = EXCEPTIONS.infos[ptr]; - info.refcount++; - }, - decRef: function(ptr) { - if (!ptr) return; - var info = EXCEPTIONS.infos[ptr]; - assert(info.refcount > 0); - info.refcount--; - if (info.refcount === 0 && !info.rethrown) { - if (info.destructor) { - Module["dynCall_vi"](info.destructor, ptr); - } - delete EXCEPTIONS.infos[ptr]; - ___cxa_free_exception(ptr); + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 + 608 | 0, $0, $4); + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CallExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1 + 364 | 0, $1 + 608 | 0); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnresolvedName_28_29($0); + break label$1; + } + $3 = 0; + } + __stack_pointer = $1 + 672 | 0; + return $3; +} + +function arPattGetImage2($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) { + var $12 = 0, $13 = 0, $14 = Math_fround(0), $15 = 0, $16 = Math_fround(0), $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, $25 = 0, $26 = 0, $27 = Math_fround(0), $28 = 0, $29 = 0, $30 = 0, $31 = Math_fround(0), $32 = 0, $33 = 0, $34 = 0; + $13 = __stack_pointer - 224 | 0; + __stack_pointer = $13; + HEAP32[$13 + 216 >> 2] = 0; + HEAP32[$13 + 220 >> 2] = 1079738368; + HEAP32[$13 + 200 >> 2] = 0; + HEAP32[$13 + 204 >> 2] = 1079738368; + HEAP32[$13 + 184 >> 2] = 0; + HEAP32[$13 + 188 >> 2] = 1079574528; + HEAP32[$13 + 208 >> 2] = 0; + HEAP32[$13 + 212 >> 2] = 1079574528; + HEAP32[$13 + 192 >> 2] = 0; + HEAP32[$13 + 196 >> 2] = 1079738368; + HEAP32[$13 + 176 >> 2] = 0; + HEAP32[$13 + 180 >> 2] = 1079738368; + HEAP32[$13 + 168 >> 2] = 0; + HEAP32[$13 + 172 >> 2] = 1079574528; + HEAP32[$13 + 160 >> 2] = 0; + HEAP32[$13 + 164 >> 2] = 1079574528; + while (1) { + if (($15 | 0) != 4) { + $12 = $15 << 4; + $24 = $12 + ($13 + 96 | 0) | 0; + $12 = $9 + $12 | 0; + HEAPF64[$24 >> 3] = HEAPF64[$12 >> 3]; + HEAPF64[$24 + 8 >> 3] = HEAPF64[$12 + 8 >> 3]; + $15 = $15 + 1 | 0; + continue; } - }, - clearRef: function(ptr) { - if (!ptr) return; - var info = EXCEPTIONS.infos[ptr]; - info.refcount = 0; - } -}; - -function ___cxa_begin_catch(ptr) { - var info = EXCEPTIONS.infos[ptr]; - if (info && !info.caught) { - info.caught = true; - __ZSt18uncaught_exceptionv.uncaught_exception--; - } - if (info) info.rethrown = false; - EXCEPTIONS.caught.push(ptr); - EXCEPTIONS.addRef(EXCEPTIONS.deAdjust(ptr)); - return ptr; -} - -function ___resumeException(ptr) { - if (!EXCEPTIONS.last) { - EXCEPTIONS.last = ptr; - } - throw ptr + " - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."; -} - -function ___cxa_find_matching_catch() { - var thrown = EXCEPTIONS.last; - if (!thrown) { - return (setTempRet0(0), 0) | 0; - } - var info = EXCEPTIONS.infos[thrown]; - var throwntype = info.type; - if (!throwntype) { - return (setTempRet0(0), thrown) | 0; - } - var typeArray = Array.prototype.slice.call(arguments); - var pointer = Module["___cxa_is_pointer_type"](throwntype); - if (!___cxa_find_matching_catch.buffer) ___cxa_find_matching_catch.buffer = _malloc(4); - HEAP32[___cxa_find_matching_catch.buffer >> 2] = thrown; - thrown = ___cxa_find_matching_catch.buffer; - for (var i = 0; i < typeArray.length; i++) { - if (typeArray[i] && Module["___cxa_can_catch"](typeArray[i], throwntype, thrown)) { - thrown = HEAP32[thrown >> 2]; - info.adjusted.push(thrown); - return (setTempRet0(typeArray[i]), thrown) | 0; - } - } - thrown = HEAP32[thrown >> 2]; - return (setTempRet0(throwntype), thrown) | 0; -} - -function ___cxa_throw(ptr, type, destructor) { - EXCEPTIONS.infos[ptr] = { - ptr: ptr, - adjusted: [ ptr ], - type: type, - destructor: destructor, - refcount: 0, - caught: false, - rethrown: false - }; - EXCEPTIONS.last = ptr; - if (!("uncaught_exception" in __ZSt18uncaught_exceptionv)) { - __ZSt18uncaught_exceptionv.uncaught_exception = 1; - } else { - __ZSt18uncaught_exceptionv.uncaught_exception++; + break; } - throw ptr + " - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."; -} - -function ___cxa_uncaught_exception() { - return !!__ZSt18uncaught_exceptionv.uncaught_exception; -} - -function ___gxx_personality_v0() {} - -function ___lock() {} - -function ___map_file(pathname, size) { - ___setErrNo(1); - return -1; -} - -var PATH = { - splitPath: function(filename) { - var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/; - return splitPathRe.exec(filename).slice(1); - }, - normalizeArray: function(parts, allowAboveRoot) { - var up = 0; - for (var i = parts.length - 1; i >= 0; i--) { - var last = parts[i]; - if (last === ".") { - parts.splice(i, 1); - } else if (last === "..") { - parts.splice(i, 1); - up++; - } else if (up) { - parts.splice(i, 1); - up--; - } - } - if (allowAboveRoot) { - for (;up; up--) { - parts.unshift(".."); - } - } - return parts; - }, - normalize: function(path) { - var isAbsolute = path.charAt(0) === "/", trailingSlash = path.substr(-1) === "/"; - path = PATH.normalizeArray(path.split("/").filter(function(p) { - return !!p; - }), !isAbsolute).join("/"); - if (!path && !isAbsolute) { - path = "."; - } - if (path && trailingSlash) { - path += "/"; - } - return (isAbsolute ? "/" : "") + path; - }, - dirname: function(path) { - var result = PATH.splitPath(path), root = result[0], dir = result[1]; - if (!root && !dir) { - return "."; - } - if (dir) { - dir = dir.substr(0, dir.length - 1); - } - return root + dir; - }, - basename: function(path) { - if (path === "/") return "/"; - var lastSlash = path.lastIndexOf("/"); - if (lastSlash === -1) return path; - return path.substr(lastSlash + 1); - }, - extname: function(path) { - return PATH.splitPath(path)[3]; - }, - join: function() { - var paths = Array.prototype.slice.call(arguments, 0); - return PATH.normalize(paths.join("/")); - }, - join2: function(l, r) { - return PATH.normalize(l + "/" + r); - }, - resolve: function() { - var resolvedPath = "", resolvedAbsolute = false; - for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { - var path = i >= 0 ? arguments[i] : FS.cwd(); - if (typeof path !== "string") { - throw new TypeError("Arguments to path.resolve must be strings"); - } else if (!path) { - return ""; - } - resolvedPath = path + "/" + resolvedPath; - resolvedAbsolute = path.charAt(0) === "/"; - } - resolvedPath = PATH.normalizeArray(resolvedPath.split("/").filter(function(p) { - return !!p; - }), !resolvedAbsolute).join("/"); - return (resolvedAbsolute ? "/" : "") + resolvedPath || "."; - }, - relative: function(from, to) { - from = PATH.resolve(from).substr(1); - to = PATH.resolve(to).substr(1); - function trim(arr) { - var start = 0; - for (;start < arr.length; start++) { - if (arr[start] !== "") break; - } - var end = arr.length - 1; - for (;end >= 0; end--) { - if (arr[end] !== "") break; - } - if (start > end) return []; - return arr.slice(start, end - start + 1); - } - var fromParts = trim(from.split("/")); - var toParts = trim(to.split("/")); - var length = Math.min(fromParts.length, toParts.length); - var samePartsLength = length; - for (var i = 0; i < length; i++) { - if (fromParts[i] !== toParts[i]) { - samePartsLength = i; + get_cpara($13 + 160 | 0, $13 + 96 | 0, $13 + 16 | 0); + $19 = HEAPF64[$13 + 112 >> 3]; + $18 = HEAPF64[$13 + 128 >> 3]; + $17 = $19 - $18; + $22 = $17 * $17; + $17 = HEAPF64[$13 + 120 >> 3]; + $20 = HEAPF64[$13 + 136 >> 3]; + $21 = $17 - $20; + $21 = $22 + $21 * $21; + label$3: { + if (Math_abs($21) < 2147483648) { + $15 = ~~$21; + break label$3; + } + $15 = -2147483648; + } + $21 = HEAPF64[$13 + 144 >> 3]; + $22 = HEAPF64[$13 + 96 >> 3]; + $30 = $21 - $22; + $34 = $30 * $30; + $30 = HEAPF64[$13 + 152 >> 3]; + $33 = HEAPF64[$13 + 104 >> 3]; + $28 = $30 - $33; + $28 = $34 + $28 * $28; + label$6: { + if (Math_abs($28) < 2147483648) { + $12 = ~~$28; + break label$6; + } + $12 = -2147483648; + } + $28 = +((($12 | 0) > ($15 | 0) ? $12 : $15) | 0) * $10 * $10; + label$5: { + if (Math_abs($28) < 2147483648) { + $9 = ~~$28; + break label$5; + } + $9 = -2147483648; + } + $19 = $22 - $19; + $22 = $19 * $19; + $19 = $33 - $17; + $19 = $22 + $19 * $19; + label$9: { + if (Math_abs($19) < 2147483648) { + $15 = ~~$19; + break label$9; + } + $15 = -2147483648; + } + $19 = $18 - $21; + $17 = $19 * $19; + $19 = $20 - $30; + $19 = $17 + $19 * $19; + label$12: { + if (Math_abs($19) < 2147483648) { + $12 = ~~$19; + break label$12; + } + $12 = -2147483648; + } + $19 = +((($12 | 0) > ($15 | 0) ? $12 : $15) | 0) * $10 * $10; + label$11: { + if (Math_abs($19) < 2147483648) { + $24 = ~~$19; + break label$11; + } + $24 = -2147483648; + } + label$15: { + if (!$0) { + $12 = $2; + while (1) { + $15 = $12; + if (($12 | 0) < ($3 | 0)) { + $12 = $15 << 1; + if ((Math_imul($15, $15) | 0) < ($24 | 0)) { + continue; + } + } break; } - } - var outputParts = []; - for (var i = samePartsLength; i < fromParts.length; i++) { - outputParts.push(".."); - } - outputParts = outputParts.concat(toParts.slice(samePartsLength)); - return outputParts.join("/"); - } -}; - -var TTY = { - ttys: [], - init: function() {}, - shutdown: function() {}, - register: function(dev, ops) { - TTY.ttys[dev] = { - input: [], - output: [], - ops: ops - }; - FS.registerDevice(dev, TTY.stream_ops); - }, - stream_ops: { - open: function(stream) { - var tty = TTY.ttys[stream.node.rdev]; - if (!tty) { - throw new FS.ErrnoError(19); - } - stream.tty = tty; - stream.seekable = false; - }, - close: function(stream) { - stream.tty.ops.flush(stream.tty); - }, - flush: function(stream) { - stream.tty.ops.flush(stream.tty); - }, - read: function(stream, buffer, offset, length, pos) { - if (!stream.tty || !stream.tty.ops.get_char) { - throw new FS.ErrnoError(6); - } - var bytesRead = 0; - for (var i = 0; i < length; i++) { - var result; - try { - result = stream.tty.ops.get_char(stream.tty); - } catch (e) { - throw new FS.ErrnoError(5); + $24 = $2; + while (1) { + $12 = $24; + if (($12 | 0) >= ($3 | 0)) { + break label$15; } - if (result === undefined && bytesRead === 0) { - throw new FS.ErrnoError(11); + $24 = $12 << 1; + if ((Math_imul($12, $12) | 0) < ($9 | 0)) { + continue; } - if (result === null || result === undefined) break; - bytesRead++; - buffer[offset + i] = result; - } - if (bytesRead) { - stream.node.timestamp = Date.now(); + break; } - return bytesRead; - }, - write: function(stream, buffer, offset, length, pos) { - if (!stream.tty || !stream.tty.ops.put_char) { - throw new FS.ErrnoError(6); - } - try { - for (var i = 0; i < length; i++) { - stream.tty.ops.put_char(stream.tty, buffer[offset + i]); - } - } catch (e) { - throw new FS.ErrnoError(5); - } - if (length) { - stream.node.timestamp = Date.now(); - } - return i; - } - }, - default_tty_ops: { - get_char: function(tty) { - if (!tty.input.length) { - var result = null; - if (ENVIRONMENT_IS_NODE) { - var BUFSIZE = 256; - var buf = new Buffer(BUFSIZE); - var bytesRead = 0; - var isPosixPlatform = process.platform != "win32"; - var fd = process.stdin.fd; - if (isPosixPlatform) { - var usingDevice = false; - try { - fd = fs.openSync("/dev/stdin", "r"); - usingDevice = true; - } catch (e) {} - } - try { - bytesRead = fs.readSync(fd, buf, 0, BUFSIZE, null); - } catch (e) { - if (e.toString().indexOf("EOF") != -1) bytesRead = 0; else throw e; - } - if (usingDevice) { - fs.closeSync(fd); - } - if (bytesRead > 0) { - result = buf.slice(0, bytesRead).toString("utf-8"); - } else { - result = null; - } - } else if (typeof window != "undefined" && typeof window.prompt == "function") { - result = window.prompt("Input: "); - if (result !== null) { - result += "\n"; - } - } else if (typeof readline == "function") { - result = readline(); - if (result !== null) { - result += "\n"; - } - } - if (!result) { - return null; + break label$15; + } + $12 = $2; + while (1) { + $15 = $12; + if (Math_imul($12, $12) << 2 < ($24 | 0)) { + $12 = $15 << 1; + if (($3 | 0) > ($15 | 0)) { + continue; } - tty.input = intArrayFromString(result, true); } - return tty.input.shift(); - }, - put_char: function(tty, val) { - if (val === null || val === 10) { - out(UTF8ArrayToString(tty.output, 0)); - tty.output = []; - } else { - if (val != 0) tty.output.push(val); - } - }, - flush: function(tty) { - if (tty.output && tty.output.length > 0) { - out(UTF8ArrayToString(tty.output, 0)); - tty.output = []; - } - } - }, - default_tty1_ops: { - put_char: function(tty, val) { - if (val === null || val === 10) { - err(UTF8ArrayToString(tty.output, 0)); - tty.output = []; - } else { - if (val != 0) tty.output.push(val); + break; + } + $24 = $2; + while (1) { + $12 = $24; + if (Math_imul($12, $12) << 2 >= ($9 | 0)) { + break label$15; } - }, - flush: function(tty) { - if (tty.output && tty.output.length > 0) { - err(UTF8ArrayToString(tty.output, 0)); - tty.output = []; + $24 = $12 << 1; + if (($3 | 0) > ($12 | 0)) { + continue; } + break; } } -}; - -var MEMFS = { - ops_table: null, - mount: function(mount) { - return MEMFS.createNode(null, "/", 16384 | 511, 0); - }, - createNode: function(parent, name, mode, dev) { - if (FS.isBlkdev(mode) || FS.isFIFO(mode)) { - throw new FS.ErrnoError(1); - } - if (!MEMFS.ops_table) { - MEMFS.ops_table = { - dir: { - node: { - getattr: MEMFS.node_ops.getattr, - setattr: MEMFS.node_ops.setattr, - lookup: MEMFS.node_ops.lookup, - mknod: MEMFS.node_ops.mknod, - rename: MEMFS.node_ops.rename, - unlink: MEMFS.node_ops.unlink, - rmdir: MEMFS.node_ops.rmdir, - readdir: MEMFS.node_ops.readdir, - symlink: MEMFS.node_ops.symlink - }, - stream: { - llseek: MEMFS.stream_ops.llseek - } - }, - file: { - node: { - getattr: MEMFS.node_ops.getattr, - setattr: MEMFS.node_ops.setattr - }, - stream: { - llseek: MEMFS.stream_ops.llseek, - read: MEMFS.stream_ops.read, - write: MEMFS.stream_ops.write, - allocate: MEMFS.stream_ops.allocate, - mmap: MEMFS.stream_ops.mmap, - msync: MEMFS.stream_ops.msync - } - }, - link: { - node: { - getattr: MEMFS.node_ops.getattr, - setattr: MEMFS.node_ops.setattr, - readlink: MEMFS.node_ops.readlink - }, - stream: {} - }, - chrdev: { - node: { - getattr: MEMFS.node_ops.getattr, - setattr: MEMFS.node_ops.setattr - }, - stream: FS.chrdev_stream_ops - } - }; - } - var node = FS.createNode(parent, name, mode, dev); - if (FS.isDir(node.mode)) { - node.node_ops = MEMFS.ops_table.dir.node; - node.stream_ops = MEMFS.ops_table.dir.stream; - node.contents = {}; - } else if (FS.isFile(node.mode)) { - node.node_ops = MEMFS.ops_table.file.node; - node.stream_ops = MEMFS.ops_table.file.stream; - node.usedBytes = 0; - node.contents = null; - } else if (FS.isLink(node.mode)) { - node.node_ops = MEMFS.ops_table.link.node; - node.stream_ops = MEMFS.ops_table.link.stream; - } else if (FS.isChrdev(node.mode)) { - node.node_ops = MEMFS.ops_table.chrdev.node; - node.stream_ops = MEMFS.ops_table.chrdev.stream; - } - node.timestamp = Date.now(); - if (parent) { - parent.contents[name] = node; - } - return node; - }, - getFileDataAsRegularArray: function(node) { - if (node.contents && node.contents.subarray) { - var arr = []; - for (var i = 0; i < node.usedBytes; ++i) arr.push(node.contents[i]); - return arr; - } - return node.contents; - }, - getFileDataAsTypedArray: function(node) { - if (!node.contents) return new Uint8Array(); - if (node.contents.subarray) return node.contents.subarray(0, node.usedBytes); - return new Uint8Array(node.contents); - }, - expandFileStorage: function(node, newCapacity) { - var prevCapacity = node.contents ? node.contents.length : 0; - if (prevCapacity >= newCapacity) return; - var CAPACITY_DOUBLING_MAX = 1024 * 1024; - newCapacity = Math.max(newCapacity, prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2 : 1.125) | 0); - if (prevCapacity != 0) newCapacity = Math.max(newCapacity, 256); - var oldContents = node.contents; - node.contents = new Uint8Array(newCapacity); - if (node.usedBytes > 0) node.contents.set(oldContents.subarray(0, node.usedBytes), 0); - return; - }, - resizeFileStorage: function(node, newSize) { - if (node.usedBytes == newSize) return; - if (newSize == 0) { - node.contents = null; - node.usedBytes = 0; - return; - } - if (!node.contents || node.contents.subarray) { - var oldContents = node.contents; - node.contents = new Uint8Array(new ArrayBuffer(newSize)); - if (oldContents) { - node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes))); - } - node.usedBytes = newSize; - return; - } - if (!node.contents) node.contents = []; - if (node.contents.length > newSize) node.contents.length = newSize; else while (node.contents.length < newSize) node.contents.push(0); - node.usedBytes = newSize; - }, - node_ops: { - getattr: function(node) { - var attr = {}; - attr.dev = FS.isChrdev(node.mode) ? node.id : 1; - attr.ino = node.id; - attr.mode = node.mode; - attr.nlink = 1; - attr.uid = 0; - attr.gid = 0; - attr.rdev = node.rdev; - if (FS.isDir(node.mode)) { - attr.size = 4096; - } else if (FS.isFile(node.mode)) { - attr.size = node.usedBytes; - } else if (FS.isLink(node.mode)) { - attr.size = node.link.length; - } else { - attr.size = 0; - } - attr.atime = new Date(node.timestamp); - attr.mtime = new Date(node.timestamp); - attr.ctime = new Date(node.timestamp); - attr.blksize = 4096; - attr.blocks = Math.ceil(attr.size / attr.blksize); - return attr; - }, - setattr: function(node, attr) { - if (attr.mode !== undefined) { - node.mode = attr.mode; - } - if (attr.timestamp !== undefined) { - node.timestamp = attr.timestamp; - } - if (attr.size !== undefined) { - MEMFS.resizeFileStorage(node, attr.size); - } - }, - lookup: function(parent, name) { - throw FS.genericErrors[2]; - }, - mknod: function(parent, name, mode, dev) { - return MEMFS.createNode(parent, name, mode, dev); - }, - rename: function(old_node, new_dir, new_name) { - if (FS.isDir(old_node.mode)) { - var new_node; - try { - new_node = FS.lookupNode(new_dir, new_name); - } catch (e) {} - if (new_node) { - for (var i in new_node.contents) { - throw new FS.ErrnoError(39); - } - } - } - delete old_node.parent.contents[old_node.name]; - old_node.name = new_name; - new_dir.contents[new_name] = old_node; - old_node.parent = new_dir; - }, - unlink: function(parent, name) { - delete parent.contents[name]; - }, - rmdir: function(parent, name) { - var node = FS.lookupNode(parent, name); - for (var i in node.contents) { - throw new FS.ErrnoError(39); - } - delete parent.contents[name]; - }, - readdir: function(node) { - var entries = [ ".", ".." ]; - for (var key in node.contents) { - if (!node.contents.hasOwnProperty(key)) { - continue; - } - entries.push(key); - } - return entries; - }, - symlink: function(parent, newname, oldpath) { - var node = MEMFS.createNode(parent, newname, 511 | 40960, 0); - node.link = oldpath; - return node; - }, - readlink: function(node) { - if (!FS.isLink(node.mode)) { - throw new FS.ErrnoError(22); - } - return node.link; - } - }, - stream_ops: { - read: function(stream, buffer, offset, length, position) { - var contents = stream.node.contents; - if (position >= stream.node.usedBytes) return 0; - var size = Math.min(stream.node.usedBytes - position, length); - assert(size >= 0); - if (size > 8 && contents.subarray) { - buffer.set(contents.subarray(position, position + size), offset); - } else { - for (var i = 0; i < size; i++) buffer[offset + i] = contents[position + i]; - } - return size; - }, - write: function(stream, buffer, offset, length, position, canOwn) { - if (canOwn) { - warnOnce("file packager has copied file data into memory, but in memory growth we are forced to copy it again (see --no-heap-copy)"); - } - canOwn = false; - if (!length) return 0; - var node = stream.node; - node.timestamp = Date.now(); - if (buffer.subarray && (!node.contents || node.contents.subarray)) { - if (canOwn) { - assert(position === 0, "canOwn must imply no weird position inside the file"); - node.contents = buffer.subarray(offset, offset + length); - node.usedBytes = length; - return length; - } else if (node.usedBytes === 0 && position === 0) { - node.contents = new Uint8Array(buffer.subarray(offset, offset + length)); - node.usedBytes = length; - return length; - } else if (position + length <= node.usedBytes) { - node.contents.set(buffer.subarray(offset, offset + length), position); - return length; - } - } - MEMFS.expandFileStorage(node, position + length); - if (node.contents.subarray && buffer.subarray) node.contents.set(buffer.subarray(offset, offset + length), position); else { - for (var i = 0; i < length; i++) { - node.contents[position + i] = buffer[offset + i]; - } - } - node.usedBytes = Math.max(node.usedBytes, position + length); - return length; - }, - llseek: function(stream, offset, whence) { - var position = offset; - if (whence === 1) { - position += stream.position; - } else if (whence === 2) { - if (FS.isFile(stream.node.mode)) { - position += stream.node.usedBytes; - } - } - if (position < 0) { - throw new FS.ErrnoError(22); - } - return position; - }, - allocate: function(stream, offset, length) { - MEMFS.expandFileStorage(stream.node, offset + length); - stream.node.usedBytes = Math.max(stream.node.usedBytes, offset + length); - }, - mmap: function(stream, buffer, offset, length, position, prot, flags) { - if (!FS.isFile(stream.node.mode)) { - throw new FS.ErrnoError(19); - } - var ptr; - var allocated; - var contents = stream.node.contents; - if (!(flags & 2) && (contents.buffer === buffer || contents.buffer === buffer.buffer)) { - allocated = false; - ptr = contents.byteOffset; - } else { - if (position > 0 || position + length < stream.node.usedBytes) { - if (contents.subarray) { - contents = contents.subarray(position, position + length); - } else { - contents = Array.prototype.slice.call(contents, position, position + length); - } - } - allocated = true; - ptr = _malloc(length); - if (!ptr) { - throw new FS.ErrnoError(12); - } - buffer.set(contents, ptr); - } - return { - ptr: ptr, - allocated: allocated - }; - }, - msync: function(stream, buffer, offset, length, mmapFlags) { - if (!FS.isFile(stream.node.mode)) { - throw new FS.ErrnoError(19); - } - if (mmapFlags & 2) { - return 0; - } - var bytesWritten = MEMFS.stream_ops.write(stream, buffer, 0, length, offset, false); - return 0; - } - } -}; + $19 = $10 * 10; + $10 = (1 - $10) * .5 * 10; + $12 = ($3 | 0) > ($12 | 0) ? $12 : $3; + $25 = ($12 | 0) / ($2 | 0) | 0; + $15 = ($3 | 0) > ($15 | 0) ? $15 : $3; + $26 = ($15 | 0) / ($2 | 0) | 0; + $29 = Math_imul($2, $2); + label$23: { + label$24: { + label$25: { + label$26: { + if (!$1) { + $29 = Math_imul($29, 3); + $24 = dlcalloc($29, 4); + if (!$24) { + break label$23; + } + label$28: { + label$29: { + switch ($7 | 0) { + case 0: + $23 = ($12 | 0) > 0 ? $12 : 0; + $7 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$28; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($7 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$44: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$46: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$46; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$48: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $9 = ~~$14; + break label$48; + } + $9 = -2147483648; + } + $12 = ($9 | 0) / 2 << 1; + break label$44; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$50: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$50; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$44; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $9 = Math_imul(Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) | 0, 12) + $24 | 0; + $12 = Math_imul(Math_imul($3, $5) + $12 | 0, 3) + $4 | 0; + HEAP32[$9 >> 2] = HEAP32[$9 >> 2] + HEAPU8[$12 + 2 | 0]; + $3 = $9 + 4 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 4 >> 2] + HEAPU8[$12 + 1 | 0]; + $3 = $9 + 8 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 8 >> 2] + HEAPU8[$12 | 0]; + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; + + case 1: + $23 = ($12 | 0) > 0 ? $12 : 0; + $7 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$28; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($7 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$57: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$59: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$59; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$61: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $9 = ~~$14; + break label$61; + } + $9 = -2147483648; + } + $12 = ($9 | 0) / 2 << 1; + break label$57; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$63: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$63; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$57; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $9 = Math_imul(Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) | 0, 12) + $24 | 0; + $12 = Math_imul(Math_imul($3, $5) + $12 | 0, 3) + $4 | 0; + HEAP32[$9 >> 2] = HEAP32[$9 >> 2] + HEAPU8[$12 | 0]; + $3 = $9 + 4 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 4 >> 2] + HEAPU8[$12 + 1 | 0]; + $3 = $9 + 8 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 8 >> 2] + HEAPU8[$12 + 2 | 0]; + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; + + case 2: + $23 = ($12 | 0) > 0 ? $12 : 0; + $7 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$28; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($7 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$70: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$72: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$72; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$74: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $9 = ~~$14; + break label$74; + } + $9 = -2147483648; + } + $12 = ($9 | 0) / 2 << 1; + break label$70; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$76: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$76; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$70; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $9 = Math_imul(Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) | 0, 12) + $24 | 0; + $12 = (Math_imul($3, $5) + $12 << 2) + $4 | 0; + HEAP32[$9 >> 2] = HEAP32[$9 >> 2] + HEAPU8[$12 + 2 | 0]; + $3 = $9 + 4 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 4 >> 2] + HEAPU8[$12 + 1 | 0]; + $3 = $9 + 8 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 8 >> 2] + HEAPU8[$12 | 0]; + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; + + case 3: + $23 = ($12 | 0) > 0 ? $12 : 0; + $7 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$28; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($7 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$83: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$85: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$85; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$87: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $9 = ~~$14; + break label$87; + } + $9 = -2147483648; + } + $12 = ($9 | 0) / 2 << 1; + break label$83; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$89: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$89; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$83; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $9 = Math_imul(Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) | 0, 12) + $24 | 0; + $12 = (Math_imul($3, $5) + $12 << 2) + $4 | 0; + HEAP32[$9 >> 2] = HEAP32[$9 >> 2] + HEAPU8[$12 | 0]; + $3 = $9 + 4 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 4 >> 2] + HEAPU8[$12 + 1 | 0]; + $3 = $9 + 8 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 8 >> 2] + HEAPU8[$12 + 2 | 0]; + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; + + case 4: + $23 = ($12 | 0) > 0 ? $12 : 0; + $7 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$28; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($7 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$96: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$98: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$98; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$100: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $9 = ~~$14; + break label$100; + } + $9 = -2147483648; + } + $12 = ($9 | 0) / 2 << 1; + break label$96; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$102: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$102; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$96; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $9 = Math_imul(Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) | 0, 12) + $24 | 0; + $12 = (Math_imul($3, $5) + $12 << 2) + $4 | 0; + HEAP32[$9 >> 2] = HEAP32[$9 >> 2] + HEAPU8[$12 + 1 | 0]; + $3 = $9 + 4 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 4 >> 2] + HEAPU8[$12 + 2 | 0]; + $3 = $9 + 8 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 8 >> 2] + HEAPU8[$12 + 3 | 0]; + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; + + case 5: + case 12: + case 13: + case 14: + $23 = ($12 | 0) > 0 ? $12 : 0; + $7 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$28; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($7 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$109: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$111: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$111; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$113: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $9 = ~~$14; + break label$113; + } + $9 = -2147483648; + } + $12 = ($9 | 0) / 2 << 1; + break label$109; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$115: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$115; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$109; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $9 = Math_imul(Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) | 0, 12) + $24 | 0; + $12 = HEAPU8[(Math_imul($3, $5) + $12 | 0) + $4 | 0]; + HEAP32[$9 >> 2] = $12 + HEAP32[$9 >> 2]; + $3 = $9 + 4 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 4 >> 2] + $12; + $3 = $9 + 8 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 8 >> 2] + $12; + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; + + case 6: + $23 = ($12 | 0) > 0 ? $12 : 0; + $7 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$28; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($7 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$122: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$124: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$124; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$126: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $9 = ~~$14; + break label$126; + } + $9 = -2147483648; + } + $12 = ($9 | 0) / 2 << 1; + break label$122; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$128: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$128; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$122; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $9 = Math_imul(Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) | 0, 12) + $24 | 0; + $12 = (Math_imul($3, $5) + $12 << 2) + $4 | 0; + HEAP32[$9 >> 2] = HEAP32[$9 >> 2] + HEAPU8[$12 + 3 | 0]; + $3 = $9 + 4 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 4 >> 2] + HEAPU8[$12 + 2 | 0]; + $3 = $9 + 8 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 8 >> 2] + HEAPU8[$12 + 1 | 0]; + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; + + case 7: + $23 = ($12 | 0) > 0 ? $12 : 0; + $9 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$28; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($9 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$135: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$137: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$137; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$139: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $7 = ~~$14; + break label$139; + } + $7 = -2147483648; + } + $12 = ($7 | 0) / 2 << 1; + break label$135; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$141: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$141; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$135; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $3 = Math_imul($3, $5); + $14 = Math_fround(Math_fround(HEAPU8[(($12 + $3 << 1) + $4 | 0) + 1 | 0] - 16 | 0) * Math_fround(298.0820007324219)); + $12 = (($12 & 65534) + $3 << 1) + $4 | 0; + $16 = Math_fround(HEAPU8[$12 | 0] - 128 | 0); + $27 = Math_fround($14 + Math_fround($16 * Math_fround(516.4110107421875))); + label$145: { + if (Math_fround(Math_abs($27)) < Math_fround(2147483648)) { + $7 = ~~$27; + break label$145; + } + $7 = -2147483648; + } + $3 = HEAPU8[$12 + 2 | 0]; + $12 = Math_imul(Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) | 0, 12) + $24 | 0; + $7 = $7 >> 8; + $7 = ($7 | 0) > 0 ? $7 : 0; + HEAP32[$12 >> 2] = HEAP32[$12 >> 2] + ($7 >>> 0 < 255 ? $7 : 255); + $27 = Math_fround($3 - 128 | 0); + $31 = Math_fround($14 + Math_fround($27 * Math_fround(408.5830078125))); + label$147: { + if (Math_fround(Math_abs($31)) < Math_fround(2147483648)) { + $7 = ~~$31; + break label$147; + } + $7 = -2147483648; + } + $3 = $12 + 8 | 0; + $7 = $7 >> 8; + $7 = ($7 | 0) > 0 ? $7 : 0; + HEAP32[$3 >> 2] = HEAP32[$12 + 8 >> 2] + ($7 >>> 0 < 255 ? $7 : 255); + $3 = $12; + $12 = $12 + 4 | 0; + $7 = HEAP32[$3 + 4 >> 2]; + $14 = Math_fround(Math_fround($27 * Math_fround(-208.1199951171875)) + Math_fround($14 + Math_fround($16 * Math_fround(-100.29100036621094)))); + label$149: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $3 = ~~$14; + break label$149; + } + $3 = -2147483648; + } + $3 = $3 >> 8; + $3 = ($3 | 0) > 0 ? $3 : 0; + HEAP32[$12 >> 2] = $7 + ($3 >>> 0 < 255 ? $3 : 255); + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; + + case 8: + $23 = ($12 | 0) > 0 ? $12 : 0; + $9 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$28; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($9 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$154: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$156: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$156; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$158: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $7 = ~~$14; + break label$158; + } + $7 = -2147483648; + } + $12 = ($7 | 0) / 2 << 1; + break label$154; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$160: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$160; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$154; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $3 = Math_imul($3, $5); + $14 = Math_fround(Math_fround(HEAPU8[($12 + $3 << 1) + $4 | 0] - 16 | 0) * Math_fround(298.0820007324219)); + $12 = (($12 & 65534) + $3 << 1) + $4 | 0; + $16 = Math_fround(HEAPU8[$12 + 1 | 0] - 128 | 0); + $27 = Math_fround($14 + Math_fround($16 * Math_fround(516.4110107421875))); + label$164: { + if (Math_fround(Math_abs($27)) < Math_fround(2147483648)) { + $7 = ~~$27; + break label$164; + } + $7 = -2147483648; + } + $3 = HEAPU8[$12 + 3 | 0]; + $12 = Math_imul(Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) | 0, 12) + $24 | 0; + $7 = $7 >> 8; + $7 = ($7 | 0) > 0 ? $7 : 0; + HEAP32[$12 >> 2] = HEAP32[$12 >> 2] + ($7 >>> 0 < 255 ? $7 : 255); + $27 = Math_fround($3 - 128 | 0); + $31 = Math_fround($14 + Math_fround($27 * Math_fround(408.5830078125))); + label$166: { + if (Math_fround(Math_abs($31)) < Math_fround(2147483648)) { + $7 = ~~$31; + break label$166; + } + $7 = -2147483648; + } + $3 = $12 + 8 | 0; + $7 = $7 >> 8; + $7 = ($7 | 0) > 0 ? $7 : 0; + HEAP32[$3 >> 2] = HEAP32[$12 + 8 >> 2] + ($7 >>> 0 < 255 ? $7 : 255); + $3 = $12; + $12 = $12 + 4 | 0; + $7 = HEAP32[$3 + 4 >> 2]; + $14 = Math_fround(Math_fround($27 * Math_fround(-208.1199951171875)) + Math_fround($14 + Math_fround($16 * Math_fround(-100.29100036621094)))); + label$168: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $3 = ~~$14; + break label$168; + } + $3 = -2147483648; + } + $3 = $3 >> 8; + $3 = ($3 | 0) > 0 ? $3 : 0; + HEAP32[$12 >> 2] = $7 + ($3 >>> 0 < 255 ? $3 : 255); + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; + + case 9: + $32 = ($12 | 0) > 0 ? $12 : 0; + $7 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + while (1) { + if (($23 | 0) == ($32 | 0)) { + break label$28; + } + $10 = $20 + $19 * (+($23 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($7 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$173: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$175: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$175; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$177: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $9 = ~~$14; + break label$177; + } + $9 = -2147483648; + } + $12 = ($9 | 0) / 2 << 1; + break label$173; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$179: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$179; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$173; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $9 = Math_imul(Math_imul(($23 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) | 0, 12) + $24 | 0; + $12 = (Math_imul($3, $5) + $12 << 1) + $4 | 0; + $3 = HEAPU8[$12 + 1 | 0]; + HEAP32[$9 >> 2] = HEAP32[$9 >> 2] + (($3 << 3 | 4) & 252); + $1 = $9 + 8 | 0; + $12 = HEAPU8[$12 | 0]; + HEAP32[$1 >> 2] = HEAP32[$9 + 8 >> 2] + (($12 | 4) & 252); + $1 = $9; + $9 = $9 + 4 | 0; + HEAP32[$9 >> 2] = HEAP32[$1 + 4 >> 2] + (($12 << 5 | $3 >>> 3 | 2) & 254); + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $23 = $23 + 1 | 0; + continue; + } + ; + + case 10: + $32 = ($12 | 0) > 0 ? $12 : 0; + $7 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + while (1) { + if (($23 | 0) == ($32 | 0)) { + break label$28; + } + $10 = $20 + $19 * (+($23 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($7 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$186: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$188: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$188; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$190: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $9 = ~~$14; + break label$190; + } + $9 = -2147483648; + } + $12 = ($9 | 0) / 2 << 1; + break label$186; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$192: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$192; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$186; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $9 = Math_imul(Math_imul(($23 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) | 0, 12) + $24 | 0; + $12 = (Math_imul($3, $5) + $12 << 1) + $4 | 0; + $3 = HEAPU8[$12 + 1 | 0]; + HEAP32[$9 >> 2] = HEAP32[$9 >> 2] + (($3 << 2 | 4) & 252); + $1 = $9 + 8 | 0; + $12 = HEAPU8[$12 | 0]; + HEAP32[$1 >> 2] = HEAP32[$9 + 8 >> 2] + (($12 | 4) & 252); + $1 = $9; + $9 = $9 + 4 | 0; + HEAP32[$9 >> 2] = HEAP32[$1 + 4 >> 2] + (($12 << 5 | $3 >>> 3 | 4) & 252); + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $23 = $23 + 1 | 0; + continue; + } + ; -var IDBFS = { - dbs: {}, - indexedDB: function() { - if (typeof indexedDB !== "undefined") return indexedDB; - var ret = null; - if (typeof window === "object") ret = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB; - assert(ret, "IDBFS used, but indexedDB not supported"); - return ret; - }, - DB_VERSION: 21, - DB_STORE_NAME: "FILE_DATA", - mount: function(mount) { - return MEMFS.mount.apply(null, arguments); - }, - syncfs: function(mount, populate, callback) { - IDBFS.getLocalSet(mount, function(err, local) { - if (err) return callback(err); - IDBFS.getRemoteSet(mount, function(err, remote) { - if (err) return callback(err); - var src = populate ? remote : local; - var dst = populate ? local : remote; - IDBFS.reconcile(src, dst, callback); - }); - }); - }, - getDB: function(name, callback) { - var db = IDBFS.dbs[name]; - if (db) { - return callback(null, db); - } - var req; - try { - req = IDBFS.indexedDB().open(name, IDBFS.DB_VERSION); - } catch (e) { - return callback(e); - } - if (!req) { - return callback("Unable to connect to IndexedDB"); - } - req.onupgradeneeded = function(e) { - var db = e.target.result; - var transaction = e.target.transaction; - var fileStore; - if (db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)) { - fileStore = transaction.objectStore(IDBFS.DB_STORE_NAME); - } else { - fileStore = db.createObjectStore(IDBFS.DB_STORE_NAME); - } - if (!fileStore.indexNames.contains("timestamp")) { - fileStore.createIndex("timestamp", "timestamp", { - unique: false - }); - } - }; - req.onsuccess = function() { - db = req.result; - IDBFS.dbs[name] = db; - callback(null, db); - }; - req.onerror = function(e) { - callback(this.error); - e.preventDefault(); - }; - }, - getLocalSet: function(mount, callback) { - var entries = {}; - function isRealDir(p) { - return p !== "." && p !== ".."; - } - function toAbsolute(root) { - return function(p) { - return PATH.join2(root, p); - }; - } - var check = FS.readdir(mount.mountpoint).filter(isRealDir).map(toAbsolute(mount.mountpoint)); - while (check.length) { - var path = check.pop(); - var stat; - try { - stat = FS.stat(path); - } catch (e) { - return callback(e); - } - if (FS.isDir(stat.mode)) { - check.push.apply(check, FS.readdir(path).filter(isRealDir).map(toAbsolute(path))); - } - entries[path] = { - timestamp: stat.mtime - }; - } - return callback(null, { - type: "local", - entries: entries - }); - }, - getRemoteSet: function(mount, callback) { - var entries = {}; - IDBFS.getDB(mount.mountpoint, function(err, db) { - if (err) return callback(err); - try { - var transaction = db.transaction([ IDBFS.DB_STORE_NAME ], "readonly"); - transaction.onerror = function(e) { - callback(this.error); - e.preventDefault(); - }; - var store = transaction.objectStore(IDBFS.DB_STORE_NAME); - var index = store.index("timestamp"); - index.openKeyCursor().onsuccess = function(event) { - var cursor = event.target.result; - if (!cursor) { - return callback(null, { - type: "remote", - db: db, - entries: entries - }); - } - entries[cursor.primaryKey] = { - timestamp: cursor.key - }; - cursor.continue(); - }; - } catch (e) { - return callback(e); - } - }); - }, - loadLocalEntry: function(path, callback) { - var stat, node; - try { - var lookup = FS.lookupPath(path); - node = lookup.node; - stat = FS.stat(path); - } catch (e) { - return callback(e); - } - if (FS.isDir(stat.mode)) { - return callback(null, { - timestamp: stat.mtime, - mode: stat.mode - }); - } else if (FS.isFile(stat.mode)) { - node.contents = MEMFS.getFileDataAsTypedArray(node); - return callback(null, { - timestamp: stat.mtime, - mode: stat.mode, - contents: node.contents - }); - } else { - return callback(new Error("node type not supported")); - } - }, - storeLocalEntry: function(path, entry, callback) { - try { - if (FS.isDir(entry.mode)) { - FS.mkdir(path, entry.mode); - } else if (FS.isFile(entry.mode)) { - FS.writeFile(path, entry.contents, { - canOwn: true - }); - } else { - return callback(new Error("node type not supported")); - } - FS.chmod(path, entry.mode); - FS.utime(path, entry.timestamp, entry.timestamp); - } catch (e) { - return callback(e); - } - callback(null); - }, - removeLocalEntry: function(path, callback) { - try { - var lookup = FS.lookupPath(path); - var stat = FS.stat(path); - if (FS.isDir(stat.mode)) { - FS.rmdir(path); - } else if (FS.isFile(stat.mode)) { - FS.unlink(path); - } - } catch (e) { - return callback(e); - } - callback(null); - }, - loadRemoteEntry: function(store, path, callback) { - var req = store.get(path); - req.onsuccess = function(event) { - callback(null, event.target.result); - }; - req.onerror = function(e) { - callback(this.error); - e.preventDefault(); - }; - }, - storeRemoteEntry: function(store, path, entry, callback) { - var req = store.put(entry, path); - req.onsuccess = function() { - callback(null); - }; - req.onerror = function(e) { - callback(this.error); - e.preventDefault(); - }; - }, - removeRemoteEntry: function(store, path, callback) { - var req = store.delete(path); - req.onsuccess = function() { - callback(null); - }; - req.onerror = function(e) { - callback(this.error); - e.preventDefault(); - }; - }, - reconcile: function(src, dst, callback) { - var total = 0; - var create = []; - Object.keys(src.entries).forEach(function(key) { - var e = src.entries[key]; - var e2 = dst.entries[key]; - if (!e2 || e.timestamp > e2.timestamp) { - create.push(key); - total++; - } - }); - var remove = []; - Object.keys(dst.entries).forEach(function(key) { - var e = dst.entries[key]; - var e2 = src.entries[key]; - if (!e2) { - remove.push(key); - total++; - } - }); - if (!total) { - return callback(null); - } - var errored = false; - var completed = 0; - var db = src.type === "remote" ? src.db : dst.db; - var transaction = db.transaction([ IDBFS.DB_STORE_NAME ], "readwrite"); - var store = transaction.objectStore(IDBFS.DB_STORE_NAME); - function done(err) { - if (err) { - if (!done.errored) { - done.errored = true; - return callback(err); - } - return; - } - if (++completed >= total) { - return callback(null); - } - } - transaction.onerror = function(e) { - done(this.error); - e.preventDefault(); - }; - create.sort().forEach(function(path) { - if (dst.type === "local") { - IDBFS.loadRemoteEntry(store, path, function(err, entry) { - if (err) return done(err); - IDBFS.storeLocalEntry(path, entry, done); - }); - } else { - IDBFS.loadLocalEntry(path, function(err, entry) { - if (err) return done(err); - IDBFS.storeRemoteEntry(store, path, entry, done); - }); - } - }); - remove.sort().reverse().forEach(function(path) { - if (dst.type === "local") { - IDBFS.removeLocalEntry(path, done); - } else { - IDBFS.removeRemoteEntry(store, path, done); - } - }); - } -}; + case 11: + break label$29; -var NODEFS = { - isWindows: false, - staticInit: function() { - NODEFS.isWindows = !!process.platform.match(/^win/); - var flags = process["binding"]("constants"); - if (flags["fs"]) { - flags = flags["fs"]; - } - NODEFS.flagsForNodeMap = { - 1024: flags["O_APPEND"], - 64: flags["O_CREAT"], - 128: flags["O_EXCL"], - 0: flags["O_RDONLY"], - 2: flags["O_RDWR"], - 4096: flags["O_SYNC"], - 512: flags["O_TRUNC"], - 1: flags["O_WRONLY"] - }; - }, - bufferFrom: function(arrayBuffer) { - return Buffer.alloc ? Buffer.from(arrayBuffer) : new Buffer(arrayBuffer); - }, - mount: function(mount) { - assert(ENVIRONMENT_IS_NODE); - return NODEFS.createNode(null, "/", NODEFS.getMode(mount.opts.root), 0); - }, - createNode: function(parent, name, mode, dev) { - if (!FS.isDir(mode) && !FS.isFile(mode) && !FS.isLink(mode)) { - throw new FS.ErrnoError(22); - } - var node = FS.createNode(parent, name, mode); - node.node_ops = NODEFS.node_ops; - node.stream_ops = NODEFS.stream_ops; - return node; - }, - getMode: function(path) { - var stat; - try { - stat = fs.lstatSync(path); - if (NODEFS.isWindows) { - stat.mode = stat.mode | (stat.mode & 292) >> 2; - } - } catch (e) { - if (!e.code) throw e; - throw new FS.ErrnoError(-e.errno); - } - return stat.mode; - }, - realPath: function(node) { - var parts = []; - while (node.parent !== node) { - parts.push(node.name); - node = node.parent; - } - parts.push(node.mount.opts.root); - parts.reverse(); - return PATH.join.apply(null, parts); - }, - flagsForNode: function(flags) { - flags &= ~2097152; - flags &= ~2048; - flags &= ~32768; - flags &= ~524288; - var newFlags = 0; - for (var k in NODEFS.flagsForNodeMap) { - if (flags & k) { - newFlags |= NODEFS.flagsForNodeMap[k]; - flags ^= k; - } - } - if (!flags) { - return newFlags; - } else { - throw new FS.ErrnoError(22); - } - }, - node_ops: { - getattr: function(node) { - var path = NODEFS.realPath(node); - var stat; - try { - stat = fs.lstatSync(path); - } catch (e) { - if (!e.code) throw e; - throw new FS.ErrnoError(-e.errno); - } - if (NODEFS.isWindows && !stat.blksize) { - stat.blksize = 4096; - } - if (NODEFS.isWindows && !stat.blocks) { - stat.blocks = (stat.size + stat.blksize - 1) / stat.blksize | 0; - } - return { - dev: stat.dev, - ino: stat.ino, - mode: stat.mode, - nlink: stat.nlink, - uid: stat.uid, - gid: stat.gid, - rdev: stat.rdev, - size: stat.size, - atime: stat.atime, - mtime: stat.mtime, - ctime: stat.ctime, - blksize: stat.blksize, - blocks: stat.blocks - }; - }, - setattr: function(node, attr) { - var path = NODEFS.realPath(node); - try { - if (attr.mode !== undefined) { - fs.chmodSync(path, attr.mode); - node.mode = attr.mode; - } - if (attr.timestamp !== undefined) { - var date = new Date(attr.timestamp); - fs.utimesSync(path, date, date); - } - if (attr.size !== undefined) { - fs.truncateSync(path, attr.size); - } - } catch (e) { - if (!e.code) throw e; - throw new FS.ErrnoError(-e.errno); - } - }, - lookup: function(parent, name) { - var path = PATH.join2(NODEFS.realPath(parent), name); - var mode = NODEFS.getMode(path); - return NODEFS.createNode(parent, name, mode); - }, - mknod: function(parent, name, mode, dev) { - var node = NODEFS.createNode(parent, name, mode, dev); - var path = NODEFS.realPath(node); - try { - if (FS.isDir(node.mode)) { - fs.mkdirSync(path, node.mode); - } else { - fs.writeFileSync(path, "", { - mode: node.mode - }); - } - } catch (e) { - if (!e.code) throw e; - throw new FS.ErrnoError(-e.errno); - } - return node; - }, - rename: function(oldNode, newDir, newName) { - var oldPath = NODEFS.realPath(oldNode); - var newPath = PATH.join2(NODEFS.realPath(newDir), newName); - try { - fs.renameSync(oldPath, newPath); - } catch (e) { - if (!e.code) throw e; - throw new FS.ErrnoError(-e.errno); - } - }, - unlink: function(parent, name) { - var path = PATH.join2(NODEFS.realPath(parent), name); - try { - fs.unlinkSync(path); - } catch (e) { - if (!e.code) throw e; - throw new FS.ErrnoError(-e.errno); - } - }, - rmdir: function(parent, name) { - var path = PATH.join2(NODEFS.realPath(parent), name); - try { - fs.rmdirSync(path); - } catch (e) { - if (!e.code) throw e; - throw new FS.ErrnoError(-e.errno); - } - }, - readdir: function(node) { - var path = NODEFS.realPath(node); - try { - return fs.readdirSync(path); - } catch (e) { - if (!e.code) throw e; - throw new FS.ErrnoError(-e.errno); - } - }, - symlink: function(parent, newName, oldPath) { - var newPath = PATH.join2(NODEFS.realPath(parent), newName); - try { - fs.symlinkSync(oldPath, newPath); - } catch (e) { - if (!e.code) throw e; - throw new FS.ErrnoError(-e.errno); - } - }, - readlink: function(node) { - var path = NODEFS.realPath(node); - try { - path = fs.readlinkSync(path); - path = NODEJS_PATH.relative(NODEJS_PATH.resolve(node.mount.opts.root), path); - return path; - } catch (e) { - if (!e.code) throw e; - throw new FS.ErrnoError(-e.errno); - } - } - }, - stream_ops: { - open: function(stream) { - var path = NODEFS.realPath(stream.node); - try { - if (FS.isFile(stream.node.mode)) { - stream.nfd = fs.openSync(path, NODEFS.flagsForNode(stream.flags)); - } - } catch (e) { - if (!e.code) throw e; - throw new FS.ErrnoError(-e.errno); - } - }, - close: function(stream) { - try { - if (FS.isFile(stream.node.mode) && stream.nfd) { - fs.closeSync(stream.nfd); - } - } catch (e) { - if (!e.code) throw e; - throw new FS.ErrnoError(-e.errno); - } - }, - read: function(stream, buffer, offset, length, position) { - if (length === 0) return 0; - try { - return fs.readSync(stream.nfd, NODEFS.bufferFrom(buffer.buffer), offset, length, position); - } catch (e) { - throw new FS.ErrnoError(-e.errno); - } - }, - write: function(stream, buffer, offset, length, position) { - try { - return fs.writeSync(stream.nfd, NODEFS.bufferFrom(buffer.buffer), offset, length, position); - } catch (e) { - throw new FS.ErrnoError(-e.errno); - } - }, - llseek: function(stream, offset, whence) { - var position = offset; - if (whence === 1) { - position += stream.position; - } else if (whence === 2) { - if (FS.isFile(stream.node.mode)) { - try { - var stat = fs.fstatSync(stream.nfd); - position += stat.size; - } catch (e) { - throw new FS.ErrnoError(-e.errno); + default: + break label$26; + } + } + $23 = ($12 | 0) > 0 ? $12 : 0; + $7 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$28; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($7 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$199: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$201: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$201; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$203: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $9 = ~~$14; + break label$203; + } + $9 = -2147483648; + } + $12 = ($9 | 0) / 2 << 1; + break label$199; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$205: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$205; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$199; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $9 = Math_imul(Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) | 0, 12) + $24 | 0; + $12 = (Math_imul($3, $5) + $12 << 1) + $4 | 0; + HEAP32[$9 >> 2] = (HEAP32[$9 >> 2] + (HEAPU8[$12 + 1 | 0] & 240) | 0) + 8; + $3 = $9 + 8 | 0; + $12 = HEAPU8[$12 | 0]; + HEAP32[$3 >> 2] = HEAP32[$9 + 8 >> 2] + (($12 | 8) & 248); + $3 = $9 + 4 | 0; + HEAP32[$3 >> 2] = HEAP32[$9 + 4 >> 2] + (($12 << 4 | 8) & 248); + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + } + $3 = Math_imul($25, $26); + $12 = 0; + $15 = 0; + while (1) { + if (($15 | 0) == ($29 | 0)) { + break label$24; + } + HEAP8[$11 + $15 | 0] = HEAPU32[($15 << 2) + $24 >> 2] / ($3 >>> 0); + $15 = $15 + 1 | 0; + continue; + } } - } - } - if (position < 0) { - throw new FS.ErrnoError(22); - } - return position; - } - } -}; - -var WORKERFS = { - DIR_MODE: 16895, - FILE_MODE: 33279, - reader: null, - mount: function(mount) { - assert(ENVIRONMENT_IS_WORKER); - if (!WORKERFS.reader) WORKERFS.reader = new FileReaderSync(); - var root = WORKERFS.createNode(null, "/", WORKERFS.DIR_MODE, 0); - var createdParents = {}; - function ensureParent(path) { - var parts = path.split("/"); - var parent = root; - for (var i = 0; i < parts.length - 1; i++) { - var curr = parts.slice(0, i + 1).join("/"); - if (!createdParents[curr]) { - createdParents[curr] = WORKERFS.createNode(parent, parts[i], WORKERFS.DIR_MODE, 0); - } - parent = createdParents[curr]; - } - return parent; - } - function base(path) { - var parts = path.split("/"); - return parts[parts.length - 1]; - } - Array.prototype.forEach.call(mount.opts["files"] || [], function(file) { - WORKERFS.createNode(ensureParent(file.name), base(file.name), WORKERFS.FILE_MODE, 0, file, file.lastModifiedDate); - }); - (mount.opts["blobs"] || []).forEach(function(obj) { - WORKERFS.createNode(ensureParent(obj["name"]), base(obj["name"]), WORKERFS.FILE_MODE, 0, obj["data"]); - }); - (mount.opts["packages"] || []).forEach(function(pack) { - pack["metadata"].files.forEach(function(file) { - var name = file.filename.substr(1); - WORKERFS.createNode(ensureParent(name), base(name), WORKERFS.FILE_MODE, 0, pack["blob"].slice(file.start, file.end)); - }); - }); - return root; - }, - createNode: function(parent, name, mode, dev, contents, mtime) { - var node = FS.createNode(parent, name, mode); - node.mode = mode; - node.node_ops = WORKERFS.node_ops; - node.stream_ops = WORKERFS.stream_ops; - node.timestamp = (mtime || new Date()).getTime(); - assert(WORKERFS.FILE_MODE !== WORKERFS.DIR_MODE); - if (mode === WORKERFS.FILE_MODE) { - node.size = contents.size; - node.contents = contents; - } else { - node.size = 4096; - node.contents = {}; - } - if (parent) { - parent.contents[name] = node; - } - return node; - }, - node_ops: { - getattr: function(node) { - return { - dev: 1, - ino: undefined, - mode: node.mode, - nlink: 1, - uid: 0, - gid: 0, - rdev: undefined, - size: node.size, - atime: new Date(node.timestamp), - mtime: new Date(node.timestamp), - ctime: new Date(node.timestamp), - blksize: 4096, - blocks: Math.ceil(node.size / 4096) - }; - }, - setattr: function(node, attr) { - if (attr.mode !== undefined) { - node.mode = attr.mode; - } - if (attr.timestamp !== undefined) { - node.timestamp = attr.timestamp; - } - }, - lookup: function(parent, name) { - throw new FS.ErrnoError(2); - }, - mknod: function(parent, name, mode, dev) { - throw new FS.ErrnoError(1); - }, - rename: function(oldNode, newDir, newName) { - throw new FS.ErrnoError(1); - }, - unlink: function(parent, name) { - throw new FS.ErrnoError(1); - }, - rmdir: function(parent, name) { - throw new FS.ErrnoError(1); - }, - readdir: function(node) { - var entries = [ ".", ".." ]; - for (var key in node.contents) { - if (!node.contents.hasOwnProperty(key)) { - continue; - } - entries.push(key); - } - return entries; - }, - symlink: function(parent, newName, oldPath) { - throw new FS.ErrnoError(1); - }, - readlink: function(node) { - throw new FS.ErrnoError(1); - } - }, - stream_ops: { - read: function(stream, buffer, offset, length, position) { - if (position >= stream.node.size) return 0; - var chunk = stream.node.contents.slice(position, position + length); - var ab = WORKERFS.reader.readAsArrayBuffer(chunk); - buffer.set(new Uint8Array(ab), offset); - return chunk.size; - }, - write: function(stream, buffer, offset, length, position) { - throw new FS.ErrnoError(5); - }, - llseek: function(stream, offset, whence) { - var position = offset; - if (whence === 1) { - position += stream.position; - } else if (whence === 2) { - if (FS.isFile(stream.node.mode)) { - position += stream.node.size; - } - } - if (position < 0) { - throw new FS.ErrnoError(22); - } - return position; - } - } -}; + $24 = dlcalloc($29, 4); + if (!$24) { + break label$23; + } + label$210: { + if ($7 >>> 0 <= 1) { + $23 = ($12 | 0) > 0 ? $12 : 0; + $9 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$210; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($9 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$215: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$217: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$217; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$219: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $7 = ~~$14; + break label$219; + } + $7 = -2147483648; + } + $12 = ($7 | 0) / 2 << 1; + break label$215; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$221: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$221; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$215; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $7 = (Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) << 2) + $24 | 0; + $12 = Math_imul(Math_imul($3, $5) + $12 | 0, 3) + $4 | 0; + HEAP32[$7 >> 2] = HEAP32[$7 >> 2] + (((HEAPU8[$12 + 1 | 0] + HEAPU8[$12 | 0] | 0) + HEAPU8[$12 + 2 | 0] >>> 0) / 3 | 0); + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + } + if (($7 & -2) == 2) { + $23 = ($12 | 0) > 0 ? $12 : 0; + $9 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$210; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($9 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$229: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$231: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$231; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$233: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $7 = ~~$14; + break label$233; + } + $7 = -2147483648; + } + $12 = ($7 | 0) / 2 << 1; + break label$229; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$235: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$235; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$229; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $7 = (Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) << 2) + $24 | 0; + $12 = (Math_imul($3, $5) + $12 << 2) + $4 | 0; + HEAP32[$7 >> 2] = HEAP32[$7 >> 2] + (((HEAPU8[$12 + 1 | 0] + HEAPU8[$12 | 0] | 0) + HEAPU8[$12 + 2 | 0] >>> 0) / 3 | 0); + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + } + if (($7 & -3) == 4) { + $23 = ($12 | 0) > 0 ? $12 : 0; + $9 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$210; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($9 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$243: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$245: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$245; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$247: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $7 = ~~$14; + break label$247; + } + $7 = -2147483648; + } + $12 = ($7 | 0) / 2 << 1; + break label$243; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$249: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$249; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$243; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $7 = (Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) << 2) + $24 | 0; + $12 = (Math_imul($3, $5) + $12 << 2) + $4 | 0; + HEAP32[$7 >> 2] = HEAP32[$7 >> 2] + (((HEAPU8[$12 + 2 | 0] + HEAPU8[$12 + 1 | 0] | 0) + HEAPU8[$12 + 3 | 0] >>> 0) / 3 | 0); + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + } + label$253: { + switch ($7 - 5 | 0) { + case 0: + case 7: + case 8: + case 9: + $23 = ($12 | 0) > 0 ? $12 : 0; + $9 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$210; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($9 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$262: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$264: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$264; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$266: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $7 = ~~$14; + break label$266; + } + $7 = -2147483648; + } + $12 = ($7 | 0) / 2 << 1; + break label$262; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$268: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$268; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$262; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $7 = (Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) << 2) + $24 | 0; + HEAP32[$7 >> 2] = HEAP32[$7 >> 2] + HEAPU8[(Math_imul($3, $5) + $12 | 0) + $4 | 0]; + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; -var ERRNO_MESSAGES = { - 0: "Success", - 1: "Not super-user", - 2: "No such file or directory", - 3: "No such process", - 4: "Interrupted system call", - 5: "I/O error", - 6: "No such device or address", - 7: "Arg list too long", - 8: "Exec format error", - 9: "Bad file number", - 10: "No children", - 11: "No more processes", - 12: "Not enough core", - 13: "Permission denied", - 14: "Bad address", - 15: "Block device required", - 16: "Mount device busy", - 17: "File exists", - 18: "Cross-device link", - 19: "No such device", - 20: "Not a directory", - 21: "Is a directory", - 22: "Invalid argument", - 23: "Too many open files in system", - 24: "Too many open files", - 25: "Not a typewriter", - 26: "Text file busy", - 27: "File too large", - 28: "No space left on device", - 29: "Illegal seek", - 30: "Read only file system", - 31: "Too many links", - 32: "Broken pipe", - 33: "Math arg out of domain of func", - 34: "Math result not representable", - 35: "File locking deadlock error", - 36: "File or path name too long", - 37: "No record locks available", - 38: "Function not implemented", - 39: "Directory not empty", - 40: "Too many symbolic links", - 42: "No message of desired type", - 43: "Identifier removed", - 44: "Channel number out of range", - 45: "Level 2 not synchronized", - 46: "Level 3 halted", - 47: "Level 3 reset", - 48: "Link number out of range", - 49: "Protocol driver not attached", - 50: "No CSI structure available", - 51: "Level 2 halted", - 52: "Invalid exchange", - 53: "Invalid request descriptor", - 54: "Exchange full", - 55: "No anode", - 56: "Invalid request code", - 57: "Invalid slot", - 59: "Bad font file fmt", - 60: "Device not a stream", - 61: "No data (for no delay io)", - 62: "Timer expired", - 63: "Out of streams resources", - 64: "Machine is not on the network", - 65: "Package not installed", - 66: "The object is remote", - 67: "The link has been severed", - 68: "Advertise error", - 69: "Srmount error", - 70: "Communication error on send", - 71: "Protocol error", - 72: "Multihop attempted", - 73: "Cross mount point (not really error)", - 74: "Trying to read unreadable message", - 75: "Value too large for defined data type", - 76: "Given log. name not unique", - 77: "f.d. invalid for this operation", - 78: "Remote address changed", - 79: "Can access a needed shared lib", - 80: "Accessing a corrupted shared lib", - 81: ".lib section in a.out corrupted", - 82: "Attempting to link in too many libs", - 83: "Attempting to exec a shared library", - 84: "Illegal byte sequence", - 86: "Streams pipe error", - 87: "Too many users", - 88: "Socket operation on non-socket", - 89: "Destination address required", - 90: "Message too long", - 91: "Protocol wrong type for socket", - 92: "Protocol not available", - 93: "Unknown protocol", - 94: "Socket type not supported", - 95: "Not supported", - 96: "Protocol family not supported", - 97: "Address family not supported by protocol family", - 98: "Address already in use", - 99: "Address not available", - 100: "Network interface is not configured", - 101: "Network is unreachable", - 102: "Connection reset by network", - 103: "Connection aborted", - 104: "Connection reset by peer", - 105: "No buffer space available", - 106: "Socket is already connected", - 107: "Socket is not connected", - 108: "Can't send after socket shutdown", - 109: "Too many references", - 110: "Connection timed out", - 111: "Connection refused", - 112: "Host is down", - 113: "Host is unreachable", - 114: "Socket already connected", - 115: "Connection already in progress", - 116: "Stale file handle", - 122: "Quota exceeded", - 123: "No medium (in tape drive)", - 125: "Operation canceled", - 130: "Previous owner died", - 131: "State not recoverable" -}; + case 2: + $23 = ($12 | 0) > 0 ? $12 : 0; + $9 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$210; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($9 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$275: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$277: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$277; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$279: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $7 = ~~$14; + break label$279; + } + $7 = -2147483648; + } + $12 = ($7 | 0) / 2 << 1; + break label$275; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$281: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$281; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$275; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $7 = (Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) << 2) + $24 | 0; + HEAP32[$7 >> 2] = HEAP32[$7 >> 2] + HEAPU8[((Math_imul($3, $5) + $12 << 1) + $4 | 0) + 1 | 0]; + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; + + case 3: + $23 = ($12 | 0) > 0 ? $12 : 0; + $9 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$210; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($9 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$288: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$290: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$290; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$292: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $7 = ~~$14; + break label$292; + } + $7 = -2147483648; + } + $12 = ($7 | 0) / 2 << 1; + break label$288; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$294: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$294; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$288; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $7 = (Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) << 2) + $24 | 0; + HEAP32[$7 >> 2] = HEAP32[$7 >> 2] + HEAPU8[(Math_imul($3, $5) + $12 << 1) + $4 | 0]; + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; + + case 4: + $23 = ($12 | 0) > 0 ? $12 : 0; + $9 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$210; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($9 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$301: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$303: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$303; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$305: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $7 = ~~$14; + break label$305; + } + $7 = -2147483648; + } + $12 = ($7 | 0) / 2 << 1; + break label$301; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$307: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$307; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$301; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $7 = (Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) << 2) + $24 | 0; + $12 = (Math_imul($3, $5) + $12 << 1) + $4 | 0; + $3 = HEAPU8[$12 | 0]; + $12 = HEAPU8[$12 + 1 | 0]; + HEAP32[$7 >> 2] = HEAP32[$7 >> 2] + ((((($3 & 248) + ($12 << 3 & 248) | 0) + (($3 << 5 | $12 >>> 3) & 252) | 0) + 10 >>> 0) / 3 | 0); + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; + + case 5: + $23 = ($12 | 0) > 0 ? $12 : 0; + $9 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$210; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($9 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$314: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$316: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$316; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$318: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $7 = ~~$14; + break label$318; + } + $7 = -2147483648; + } + $12 = ($7 | 0) / 2 << 1; + break label$314; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$320: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$320; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$314; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $7 = (Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) << 2) + $24 | 0; + $12 = (Math_imul($3, $5) + $12 << 1) + $4 | 0; + $3 = HEAPU8[$12 | 0]; + $12 = HEAPU8[$12 + 1 | 0]; + HEAP32[$7 >> 2] = HEAP32[$7 >> 2] + ((((($3 & 248) + ($12 << 2 & 248) | 0) + (($3 << 5 | $12 >>> 3) & 248) | 0) + 12 >>> 0) / 3 | 0); + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + ; -var ERRNO_CODES = { - EPERM: 1, - ENOENT: 2, - ESRCH: 3, - EINTR: 4, - EIO: 5, - ENXIO: 6, - E2BIG: 7, - ENOEXEC: 8, - EBADF: 9, - ECHILD: 10, - EAGAIN: 11, - EWOULDBLOCK: 11, - ENOMEM: 12, - EACCES: 13, - EFAULT: 14, - ENOTBLK: 15, - EBUSY: 16, - EEXIST: 17, - EXDEV: 18, - ENODEV: 19, - ENOTDIR: 20, - EISDIR: 21, - EINVAL: 22, - ENFILE: 23, - EMFILE: 24, - ENOTTY: 25, - ETXTBSY: 26, - EFBIG: 27, - ENOSPC: 28, - ESPIPE: 29, - EROFS: 30, - EMLINK: 31, - EPIPE: 32, - EDOM: 33, - ERANGE: 34, - ENOMSG: 42, - EIDRM: 43, - ECHRNG: 44, - EL2NSYNC: 45, - EL3HLT: 46, - EL3RST: 47, - ELNRNG: 48, - EUNATCH: 49, - ENOCSI: 50, - EL2HLT: 51, - EDEADLK: 35, - ENOLCK: 37, - EBADE: 52, - EBADR: 53, - EXFULL: 54, - ENOANO: 55, - EBADRQC: 56, - EBADSLT: 57, - EDEADLOCK: 35, - EBFONT: 59, - ENOSTR: 60, - ENODATA: 61, - ETIME: 62, - ENOSR: 63, - ENONET: 64, - ENOPKG: 65, - EREMOTE: 66, - ENOLINK: 67, - EADV: 68, - ESRMNT: 69, - ECOMM: 70, - EPROTO: 71, - EMULTIHOP: 72, - EDOTDOT: 73, - EBADMSG: 74, - ENOTUNIQ: 76, - EBADFD: 77, - EREMCHG: 78, - ELIBACC: 79, - ELIBBAD: 80, - ELIBSCN: 81, - ELIBMAX: 82, - ELIBEXEC: 83, - ENOSYS: 38, - ENOTEMPTY: 39, - ENAMETOOLONG: 36, - ELOOP: 40, - EOPNOTSUPP: 95, - EPFNOSUPPORT: 96, - ECONNRESET: 104, - ENOBUFS: 105, - EAFNOSUPPORT: 97, - EPROTOTYPE: 91, - ENOTSOCK: 88, - ENOPROTOOPT: 92, - ESHUTDOWN: 108, - ECONNREFUSED: 111, - EADDRINUSE: 98, - ECONNABORTED: 103, - ENETUNREACH: 101, - ENETDOWN: 100, - ETIMEDOUT: 110, - EHOSTDOWN: 112, - EHOSTUNREACH: 113, - EINPROGRESS: 115, - EALREADY: 114, - EDESTADDRREQ: 89, - EMSGSIZE: 90, - EPROTONOSUPPORT: 93, - ESOCKTNOSUPPORT: 94, - EADDRNOTAVAIL: 99, - ENETRESET: 102, - EISCONN: 106, - ENOTCONN: 107, - ETOOMANYREFS: 109, - EUSERS: 87, - EDQUOT: 122, - ESTALE: 116, - ENOTSUP: 95, - ENOMEDIUM: 123, - EILSEQ: 84, - EOVERFLOW: 75, - ECANCELED: 125, - ENOTRECOVERABLE: 131, - EOWNERDEAD: 130, - ESTRPIPE: 86 -}; + case 6: + break label$253; -var FS = { - root: null, - mounts: [], - devices: {}, - streams: [], - nextInode: 1, - nameTable: null, - currentPath: "/", - initialized: false, - ignorePermissions: true, - trackingDelegate: {}, - tracking: { - openFlags: { - READ: 1, - WRITE: 2 - } - }, - ErrnoError: null, - genericErrors: {}, - filesystems: null, - syncFSRequests: 0, - handleFSError: function(e) { - if (!(e instanceof FS.ErrnoError)) throw e + " : " + stackTrace(); - return ___setErrNo(e.errno); - }, - lookupPath: function(path, opts) { - path = PATH.resolve(FS.cwd(), path); - opts = opts || {}; - if (!path) return { - path: "", - node: null - }; - var defaults = { - follow_mount: true, - recurse_count: 0 - }; - for (var key in defaults) { - if (opts[key] === undefined) { - opts[key] = defaults[key]; - } - } - if (opts.recurse_count > 8) { - throw new FS.ErrnoError(40); - } - var parts = PATH.normalizeArray(path.split("/").filter(function(p) { - return !!p; - }), false); - var current = FS.root; - var current_path = "/"; - for (var i = 0; i < parts.length; i++) { - var islast = i === parts.length - 1; - if (islast && opts.parent) { - break; - } - current = FS.lookupNode(current, parts[i]); - current_path = PATH.join2(current_path, parts[i]); - if (FS.isMountpoint(current)) { - if (!islast || islast && opts.follow_mount) { - current = current.mounted.root; - } - } - if (!islast || opts.follow) { - var count = 0; - while (FS.isLink(current.mode)) { - var link = FS.readlink(current_path); - current_path = PATH.resolve(PATH.dirname(current_path), link); - var lookup = FS.lookupPath(current_path, { - recurse_count: opts.recurse_count - }); - current = lookup.node; - if (count++ > 40) { - throw new FS.ErrnoError(40); - } - } - } - } - return { - path: current_path, - node: current - }; - }, - getPath: function(node) { - var path; - while (true) { - if (FS.isRoot(node)) { - var mount = node.mount.mountpoint; - if (!path) return mount; - return mount[mount.length - 1] !== "/" ? mount + "/" + path : mount + path; - } - path = path ? node.name + "/" + path : node.name; - node = node.parent; - } - }, - hashName: function(parentid, name) { - var hash = 0; - for (var i = 0; i < name.length; i++) { - hash = (hash << 5) - hash + name.charCodeAt(i) | 0; - } - return (parentid + hash >>> 0) % FS.nameTable.length; - }, - hashAddNode: function(node) { - var hash = FS.hashName(node.parent.id, node.name); - node.name_next = FS.nameTable[hash]; - FS.nameTable[hash] = node; - }, - hashRemoveNode: function(node) { - var hash = FS.hashName(node.parent.id, node.name); - if (FS.nameTable[hash] === node) { - FS.nameTable[hash] = node.name_next; - } else { - var current = FS.nameTable[hash]; - while (current) { - if (current.name_next === node) { - current.name_next = node.name_next; - break; - } - current = current.name_next; - } - } - }, - lookupNode: function(parent, name) { - var err = FS.mayLookup(parent); - if (err) { - throw new FS.ErrnoError(err, parent); - } - var hash = FS.hashName(parent.id, name); - for (var node = FS.nameTable[hash]; node; node = node.name_next) { - var nodeName = node.name; - if (node.parent.id === parent.id && nodeName === name) { - return node; - } - } - return FS.lookup(parent, name); - }, - createNode: function(parent, name, mode, rdev) { - if (!FS.FSNode) { - FS.FSNode = function(parent, name, mode, rdev) { - if (!parent) { - parent = this; - } - this.parent = parent; - this.mount = parent.mount; - this.mounted = null; - this.id = FS.nextInode++; - this.name = name; - this.mode = mode; - this.node_ops = {}; - this.stream_ops = {}; - this.rdev = rdev; - }; - FS.FSNode.prototype = {}; - var readMode = 292 | 73; - var writeMode = 146; - Object.defineProperties(FS.FSNode.prototype, { - read: { - get: function() { - return (this.mode & readMode) === readMode; - }, - set: function(val) { - val ? this.mode |= readMode : this.mode &= ~readMode; - } - }, - write: { - get: function() { - return (this.mode & writeMode) === writeMode; - }, - set: function(val) { - val ? this.mode |= writeMode : this.mode &= ~writeMode; + default: + break label$26; + } + } + $23 = ($12 | 0) > 0 ? $12 : 0; + $9 = ($15 | 0) > 0 ? $15 : 0; + $20 = $10 + 100; + $21 = +($15 | 0); + $22 = +($12 | 0); + $1 = 0; + while (1) { + if (($1 | 0) == ($23 | 0)) { + break label$210; + } + $10 = $20 + $19 * (+($1 | 0) + .5) / $22; + $15 = 0; + while (1) { + if (($9 | 0) != ($15 | 0)) { + $18 = $20 + $19 * (+($15 | 0) + .5) / $21; + $17 = HEAPF64[$13 + 80 >> 3] + (HEAPF64[$13 + 64 >> 3] * $18 + $10 * HEAPF64[$13 + 72 >> 3]); + if ($17 == 0) { + break label$25; + } + $14 = Math_fround((HEAPF64[$13 + 32 >> 3] + (HEAPF64[$13 + 16 >> 3] * $18 + $10 * HEAPF64[$13 + 24 >> 3])) / $17); + HEAPF32[$13 + 12 >> 2] = $14; + $16 = Math_fround((HEAPF64[$13 + 56 >> 3] + (HEAPF64[$13 + 40 >> 3] * $18 + $10 * HEAPF64[$13 + 48 >> 3])) / $17); + HEAPF32[$13 + 8 >> 2] = $16; + arParamIdeal2ObservLTf($8, $14, $16, $13 + 12 | 0, $13 + 8 | 0); + $14 = HEAPF32[$13 + 12 >> 2]; + label$327: { + if (($0 | 0) == 1) { + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(1)); + label$329: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $12 = ~~$16; + break label$329; + } + $12 = -2147483648; + } + $12 = ($12 | 0) / 2 | 0; + $3 = $12 << 1; + $14 = Math_fround($14 + Math_fround(1)); + label$331: { + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $7 = ~~$14; + break label$331; + } + $7 = -2147483648; + } + $12 = ($7 | 0) / 2 << 1; + break label$327; + } + $16 = Math_fround(HEAPF32[$13 + 8 >> 2] + Math_fround(.5)); + label$333: { + if (Math_fround(Math_abs($16)) < Math_fround(2147483648)) { + $3 = ~~$16; + break label$333; + } + $3 = -2147483648; + } + $14 = Math_fround($14 + Math_fround(.5)); + if (Math_fround(Math_abs($14)) < Math_fround(2147483648)) { + $12 = ~~$14; + break label$327; + } + $12 = -2147483648; + } + if (!(($12 | 0) < 0 | ($5 | 0) <= ($12 | 0) | (($3 | 0) < 0 | ($3 | 0) >= ($6 | 0)))) { + $7 = (Math_imul(($1 | 0) / ($25 | 0) | 0, $2) + (($15 | 0) / ($26 | 0) | 0) << 2) + $24 | 0; + $12 = (Math_imul($3, $5) + $12 << 1) + $4 | 0; + $3 = HEAPU8[$12 | 0]; + HEAP32[$7 >> 2] = HEAP32[$7 >> 2] + ((((($3 & 240) + ($3 << 4 & 240) | 0) + ((HEAPU8[$12 + 1 | 0] | 8) & 248) | 0) + 16 >>> 0) / 3 | 0); + } + $15 = $15 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } } - }, - isFolder: { - get: function() { - return FS.isDir(this.mode); + $3 = Math_imul($25, $26); + $12 = 0; + $15 = 0; + while (1) { + if (($15 | 0) == ($29 | 0)) { + break label$24; + } + HEAP8[$11 + $15 | 0] = HEAPU32[($15 << 2) + $24 >> 2] / ($3 >>> 0); + $15 = $15 + 1 | 0; + continue; } - }, - isDevice: { - get: function() { - return FS.isChrdev(this.mode); - } - } - }); - } - var node = new FS.FSNode(parent, name, mode, rdev); - FS.hashAddNode(node); - return node; - }, - destroyNode: function(node) { - FS.hashRemoveNode(node); - }, - isRoot: function(node) { - return node === node.parent; - }, - isMountpoint: function(node) { - return !!node.mounted; - }, - isFile: function(mode) { - return (mode & 61440) === 32768; - }, - isDir: function(mode) { - return (mode & 61440) === 16384; - }, - isLink: function(mode) { - return (mode & 61440) === 40960; - }, - isChrdev: function(mode) { - return (mode & 61440) === 8192; - }, - isBlkdev: function(mode) { - return (mode & 61440) === 24576; - }, - isFIFO: function(mode) { - return (mode & 61440) === 4096; - }, - isSocket: function(mode) { - return (mode & 49152) === 49152; - }, - flagModes: { - "r": 0, - "rs": 1052672, - "r+": 2, - "w": 577, - "wx": 705, - "xw": 705, - "w+": 578, - "wx+": 706, - "xw+": 706, - "a": 1089, - "ax": 1217, - "xa": 1217, - "a+": 1090, - "ax+": 1218, - "xa+": 1218 - }, - modeStringToFlags: function(str) { - var flags = FS.flagModes[str]; - if (typeof flags === "undefined") { - throw new Error("Unknown file open mode: " + str); - } - return flags; - }, - flagsToPermissionString: function(flag) { - var perms = [ "r", "w", "rw" ][flag & 3]; - if (flag & 512) { - perms += "w"; - } - return perms; - }, - nodePermissions: function(node, perms) { - if (FS.ignorePermissions) { - return 0; - } - if (perms.indexOf("r") !== -1 && !(node.mode & 292)) { - return 13; - } else if (perms.indexOf("w") !== -1 && !(node.mode & 146)) { - return 13; - } else if (perms.indexOf("x") !== -1 && !(node.mode & 73)) { - return 13; - } - return 0; - }, - mayLookup: function(dir) { - var err = FS.nodePermissions(dir, "x"); - if (err) return err; - if (!dir.node_ops.lookup) return 13; - return 0; - }, - mayCreate: function(dir, name) { - try { - var node = FS.lookupNode(dir, name); - return 17; - } catch (e) {} - return FS.nodePermissions(dir, "wx"); - }, - mayDelete: function(dir, name, isdir) { - var node; - try { - node = FS.lookupNode(dir, name); - } catch (e) { - return e.errno; - } - var err = FS.nodePermissions(dir, "wx"); - if (err) { - return err; - } - if (isdir) { - if (!FS.isDir(node.mode)) { - return 20; - } - if (FS.isRoot(node) || FS.getPath(node) === FS.cwd()) { - return 16; - } - } else { - if (FS.isDir(node.mode)) { - return 21; + } + arLog(0, 3, 2702, 0); } + $12 = -1; } - return 0; - }, - mayOpen: function(node, flags) { - if (!node) { - return 2; - } - if (FS.isLink(node.mode)) { - return 40; - } else if (FS.isDir(node.mode)) { - if (FS.flagsToPermissionString(flags) !== "r" || flags & 512) { - return 21; - } - } - return FS.nodePermissions(node, FS.flagsToPermissionString(flags)); - }, - MAX_OPEN_FDS: 4096, - nextfd: function(fd_start, fd_end) { - fd_start = fd_start || 0; - fd_end = fd_end || FS.MAX_OPEN_FDS; - for (var fd = fd_start; fd <= fd_end; fd++) { - if (!FS.streams[fd]) { - return fd; - } - } - throw new FS.ErrnoError(24); - }, - getStream: function(fd) { - return FS.streams[fd]; - }, - createStream: function(stream, fd_start, fd_end) { - if (!FS.FSStream) { - FS.FSStream = function() {}; - FS.FSStream.prototype = {}; - Object.defineProperties(FS.FSStream.prototype, { - object: { - get: function() { - return this.node; - }, - set: function(val) { - this.node = val; - } - }, - isRead: { - get: function() { - return (this.flags & 2097155) !== 1; - } - }, - isWrite: { - get: function() { - return (this.flags & 2097155) !== 0; + dlfree($24); + __stack_pointer = $13 + 224 | 0; + return $12; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + HEAP32[$3 + 28 >> 2] = 0; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + label$10: { + label$11: { + label$12: { + label$13: { + label$14: { + label$15: { + label$16: { + label$17: { + label$18: { + label$19: { + label$20: { + label$21: { + label$22: { + label$23: { + label$24: { + label$25: { + label$26: { + label$27: { + label$28: { + label$29: { + label$30: { + label$31: { + label$32: { + label$33: { + label$34: { + label$35: { + label$36: { + label$37: { + label$38: { + label$39: { + label$40: { + label$41: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + switch ($1 - 65 | 0) { + case 6: + break label$10; + + case 2: + break label$11; + + case 14: + break label$12; + + case 17: + break label$13; + + case 15: + break label$14; + + case 19: + break label$15; + + case 12: + break label$16; + + case 0: + break label$17; + + case 3: + break label$18; + + case 52: + break label$19; + + case 57: + break label$20; + + case 38: + break label$21; + + case 36: + break label$22; + + case 35: + break label$23; + + case 37: + break label$24; + + case 46: + break label$25; + + case 45: + break label$26; + + case 56: + break label$27; + + case 55: + break label$28; + + case 44: + break label$29; + + case 43: + break label$30; + + case 41: + break label$31; + + case 40: + break label$32; + + case 51: + break label$33; + + case 50: + break label$34; + + case 39: + break label$35; + + case 32: + break label$36; + + case 34: + break label$37; + + case 33: + break label$38; + + case 54: + break label$39; + + case 5: + break label$4; + + case 53: + break label$40; + + case 10: + case 21: + case 49: + break label$41; + + case 20: + break label$5; + + case 18: + break label$9; + + default: + break label$8; + } + } + label$42: { + $1 = ($1 | 0) == 114; + $1 = ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, $1) | 0) == 86 ? $1 ? 2 : 1 : $1; + $1 = $1 + (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, $1) | 0) == 75) | 0; + switch (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, $1) & 255) - 68 | 0) { + case 2: + break label$4; + + case 0: + break label$42; + + default: + break label$5; + } + } + $4 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, $1 + 1 | 0) & 255; + $1 = $4 - 111 | 0; + if ($1 >>> 0 > 9 | !(1 << $1 & 769)) { + break label$6; + } + break label$4; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b5_5d__28char_20const_20_28__29_20_5b5_5d_29($0, 32780); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b8_5d__28char_20const_20_28__29_20_5b8_5d_29($0, 29765); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b5_5d__28char_20const_20_28__29_20_5b5_5d_29($0, 31379); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b5_5d__28char_20const_20_28__29_20_5b5_5d_29($0, 30752); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b12_5d__28char_20const_20_28__29_20_5b12_5d_29($0, 30745); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b14_5d__28char_20const_20_28__29_20_5b14_5d_29($0, 30743); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b6_5d__28char_20const_20_28__29_20_5b6_5d_29($0, 29473); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b15_5d__28char_20const_20_28__29_20_5b15_5d_29($0, 29464); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b4_5d__28char_20const_20_28__29_20_5b4_5d_29($0, 29539); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b13_5d__28char_20const_20_28__29_20_5b13_5d_29($0, 29530); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b5_5d__28char_20const_20_28__29_20_5b5_5d_29($0, 31587); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b14_5d__28char_20const_20_28__29_20_5b14_5d_29($0, 31578); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 31568); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b19_5d__28char_20const_20_28__29_20_5b19_5d_29($0); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b9_5d__28char_20const_20_28__29_20_5b9_5d_29($0, 37362); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b18_5d__28char_20const_20_28__29_20_5b18_5d_29($0, 37353); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b6_5d__28char_20const_20_28__29_20_5b6_5d_29($0, 29733); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b7_5d__28char_20const_20_28__29_20_5b7_5d_29($0); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b12_5d__28char_20const_20_28__29_20_5b12_5d_29($0, 32219); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37371); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b4_5d__28char_20const_20_28__29_20_5b4_5d_29($0, 37656); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBareSourceName_28_29($3 + 16 | 0, $0); + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($3 + 16 | 0)) { + break label$7; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $3 + 16 | 0); + HEAP32[$3 + 28 >> 2] = $1; + break label$2; + } + label$43: { + label$44: { + label$45: { + label$46: { + label$47: { + label$48: { + label$49: { + label$50: { + label$51: { + label$52: { + label$53: { + label$54: { + label$55: { + label$56: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + switch ($1 - 79 | 0) { + case 1: + case 2: + case 3: + case 4: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 19: + case 24: + case 27: + case 28: + case 29: + case 30: + case 34: + case 35: + break label$1; + + case 0: + case 32: + case 40: + case 41: + break label$4; + + case 33: + break label$43; + + case 39: + break label$44; + + case 5: + case 37: + break label$45; + + case 31: + break label$46; + + case 20: + break label$47; + + case 18: + break label$48; + + case 38: + break label$49; + + case 36: + break label$50; + + case 26: + break label$51; + + case 25: + break label$53; + + case 23: + break label$54; + + case 22: + break label$55; + + case 21: + break label$56; + + default: + break label$52; + } + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37494); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37382); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37624); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b5_5d__28char_20const_20_28__29_20_5b5_5d_29($0, 31743); + break label$1; + } + if (($1 | 0) != 70) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($3 + 16 | 0, $0, 0); + wasm2js_i32$0 = $3, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__28_28anonymous_20namespace_29__itanium_demangle__StringView___29($0, $3 + 16 | 0), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__BinaryFPType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $3 + 12 | 0); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b9_5d__28char_20const_20_28__29_20_5b9_5d_29($0, 29799); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b9_5d__28char_20const_20_28__29_20_5b9_5d_29($0, 29781); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b8_5d__28char_20const_20_28__29_20_5b8_5d_29($0, 29773); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b5_5d__28char_20const_20_28__29_20_5b5_5d_29($0, 30895); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b15_5d__28char_20const_20_28__29_20_5b15_5d_29($0, 37746); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b15_5d__28char_20const_20_28__29_20_5b15_5d_29($0, 29750); + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseDecltype_28_29($0); + break label$3; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseVectorType_28_29($0); + break label$3; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$3 + 16 >> 2] = $1; + if (!$1) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $3 + 16 | 0); + HEAP32[$3 + 28 >> 2] = $1; + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseArrayType_28_29($0); + break label$3; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePointerToMemberType_28_29($0); + break label$3; + } + label$57: { + label$58: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1) & 255; + switch ($1 - 115 | 0) { + case 1: + break label$57; + + case 0: + case 2: + break label$8; + + default: + break label$58; + } + } + if (($1 | 0) == 101) { + break label$8; + } + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParam_28_29($0); + HEAP32[$3 + 28 >> 2] = $1; + if (!$1) { + break label$7; + } + if (!HEAPU8[$0 + 388 | 0]) { + break label$2; + } + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) != 73) { + break label$2; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArgs_28bool_29($0, 0); + HEAP32[$3 + 16 >> 2] = $2; + if (!$2) { + break label$7; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $3 + 28 | 0, $3 + 16 | 0); + HEAP32[$3 + 28 >> 2] = $1; + break label$2; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$3 + 16 >> 2] = $2; + if (!$2) { + break label$7; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PointerType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $3 + 16 | 0); + HEAP32[$3 + 28 >> 2] = $1; + break label$2; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$3 + 16 >> 2] = $2; + if (!$2) { + break label$7; + } + HEAP32[$3 + 12 >> 2] = 0; + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ReferenceType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind___29($0, $3 + 16 | 0, $3 + 12 | 0); + HEAP32[$3 + 28 >> 2] = $1; + break label$2; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$3 + 16 >> 2] = $2; + if (!$2) { + break label$7; + } + HEAP32[$3 + 12 >> 2] = 1; + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ReferenceType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind___29($0, $3 + 16 | 0, $3 + 12 | 0); + HEAP32[$3 + 28 >> 2] = $1; + break label$2; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$3 + 16 >> 2] = $1; + if (!$1) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b9_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b9_5d_29($0, $3 + 16 | 0); + HEAP32[$3 + 28 >> 2] = $1; + break label$2; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$3 + 16 >> 2] = $2; + if (!$2) { + break label$7; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b11_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b11_5d_29($0, $3 + 16 | 0); + HEAP32[$3 + 28 >> 2] = $1; + break label$2; + } + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1) | 0) == 116) { + break label$8; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSubstitution_28_29($0); + HEAP32[$3 + 28 >> 2] = $2; + if (!$2) { + break label$7; + } + if (!HEAPU8[$0 + 388 | 0]) { + break label$1; + } + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) != 73) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArgs_28bool_29($0, 0); + HEAP32[$3 + 16 >> 2] = $2; + if (!$2) { + break label$7; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $3 + 28 | 0, $3 + 16 | 0); + HEAP32[$3 + 28 >> 2] = $1; + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseClassEnumType_28_29($0); + break label$3; + } + $2 = 0; + break label$1; + } + if (($4 | 0) == 79) { + break label$4; + } } - }, - isAppend: { - get: function() { - return this.flags & 1024; - } - } - }); - } - var newStream = new FS.FSStream(); - for (var p in stream) { - newStream[p] = stream[p]; - } - stream = newStream; - var fd = FS.nextfd(fd_start, fd_end); - stream.fd = fd; - FS.streams[fd] = stream; - return stream; - }, - closeStream: function(fd) { - FS.streams[fd] = null; - }, - chrdev_stream_ops: { - open: function(stream) { - var device = FS.getDevice(stream.node.rdev); - stream.stream_ops = device.stream_ops; - if (stream.stream_ops.open) { - stream.stream_ops.open(stream); - } - }, - llseek: function() { - throw new FS.ErrnoError(29); - } - }, - major: function(dev) { - return dev >> 8; - }, - minor: function(dev) { - return dev & 255; - }, - makedev: function(ma, mi) { - return ma << 8 | mi; - }, - registerDevice: function(dev, ops) { - FS.devices[dev] = { - stream_ops: ops - }; - }, - getDevice: function(dev) { - return FS.devices[dev]; - }, - getMounts: function(mount) { - var mounts = []; - var check = [ mount ]; - while (check.length) { - var m = check.pop(); - mounts.push(m); - check.push.apply(check, m.mounts); - } - return mounts; - }, - syncfs: function(populate, callback) { - if (typeof populate === "function") { - callback = populate; - populate = false; - } - FS.syncFSRequests++; - if (FS.syncFSRequests > 1) { - console.log("warning: " + FS.syncFSRequests + " FS.syncfs operations in flight at once, probably just doing extra work"); - } - var mounts = FS.getMounts(FS.root.mount); - var completed = 0; - function doCallback(err) { - assert(FS.syncFSRequests > 0); - FS.syncFSRequests--; - return callback(err); - } - function done(err) { - if (err) { - if (!done.errored) { - done.errored = true; - return doCallback(err); + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseQualifiedType_28_29($0); + break label$3; } - return; - } - if (++completed >= mounts.length) { - doCallback(null); + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFunctionType_28_29($0); } - } - mounts.forEach(function(mount) { - if (!mount.type.syncfs) { - return done(null); + HEAP32[$3 + 28 >> 2] = $1; + if (!$1) { + break label$1; } - mount.type.syncfs(mount, populate, done); - }); - }, - mount: function(type, opts, mountpoint) { - var root = mountpoint === "/"; - var pseudo = !mountpoint; - var node; - if (root && FS.root) { - throw new FS.ErrnoError(16); - } else if (!root && !pseudo) { - var lookup = FS.lookupPath(mountpoint, { - follow_mount: false - }); - mountpoint = lookup.path; - node = lookup.node; - if (FS.isMountpoint(node)) { - throw new FS.ErrnoError(16); - } - if (!FS.isDir(node.mode)) { - throw new FS.ErrnoError(20); - } - } - var mount = { - type: type, - opts: opts, - mountpoint: mountpoint, - mounts: [] - }; - var mountRoot = type.mount(mount); - mountRoot.mount = mount; - mount.root = mountRoot; - if (root) { - FS.root = mountRoot; - } else if (node) { - node.mounted = mount; - if (node.mount) { - node.mount.mounts.push(mount); - } - } - return mountRoot; - }, - unmount: function(mountpoint) { - var lookup = FS.lookupPath(mountpoint, { - follow_mount: false - }); - if (!FS.isMountpoint(lookup.node)) { - throw new FS.ErrnoError(22); } - var node = lookup.node; - var mount = node.mounted; - var mounts = FS.getMounts(mount); - Object.keys(FS.nameTable).forEach(function(hash) { - var current = FS.nameTable[hash]; - while (current) { - var next = current.name_next; - if (mounts.indexOf(current.mount) !== -1) { - FS.destroyNode(current); - } - current = next; - } - }); - node.mounted = null; - var idx = node.mount.mounts.indexOf(mount); - assert(idx !== -1); - node.mount.mounts.splice(idx, 1); - }, - lookup: function(parent, name) { - return parent.node_ops.lookup(parent, name); - }, - mknod: function(path, mode, dev) { - var lookup = FS.lookupPath(path, { - parent: true - }); - var parent = lookup.node; - var name = PATH.basename(path); - if (!name || name === "." || name === "..") { - throw new FS.ErrnoError(22); - } - var err = FS.mayCreate(parent, name); - if (err) { - throw new FS.ErrnoError(err); - } - if (!parent.node_ops.mknod) { - throw new FS.ErrnoError(1); - } - return parent.node_ops.mknod(parent, name, mode, dev); - }, - create: function(path, mode) { - mode = mode !== undefined ? mode : 438; - mode &= 4095; - mode |= 32768; - return FS.mknod(path, mode, 0); - }, - mkdir: function(path, mode) { - mode = mode !== undefined ? mode : 511; - mode &= 511 | 512; - mode |= 16384; - return FS.mknod(path, mode, 0); - }, - mkdirTree: function(path, mode) { - var dirs = path.split("/"); - var d = ""; - for (var i = 0; i < dirs.length; ++i) { - if (!dirs[i]) continue; - d += "/" + dirs[i]; - try { - FS.mkdir(d, mode); - } catch (e) { - if (e.errno != 17) throw e; - } - } - }, - mkdev: function(path, mode, dev) { - if (typeof dev === "undefined") { - dev = mode; - mode = 438; - } - mode |= 8192; - return FS.mknod(path, mode, dev); - }, - symlink: function(oldpath, newpath) { - if (!PATH.resolve(oldpath)) { - throw new FS.ErrnoError(2); - } - var lookup = FS.lookupPath(newpath, { - parent: true - }); - var parent = lookup.node; - if (!parent) { - throw new FS.ErrnoError(2); - } - var newname = PATH.basename(newpath); - var err = FS.mayCreate(parent, newname); - if (err) { - throw new FS.ErrnoError(err); - } - if (!parent.node_ops.symlink) { - throw new FS.ErrnoError(1); - } - return parent.node_ops.symlink(parent, newname, oldpath); - }, - rename: function(old_path, new_path) { - var old_dirname = PATH.dirname(old_path); - var new_dirname = PATH.dirname(new_path); - var old_name = PATH.basename(old_path); - var new_name = PATH.basename(new_path); - var lookup, old_dir, new_dir; - try { - lookup = FS.lookupPath(old_path, { - parent: true - }); - old_dir = lookup.node; - lookup = FS.lookupPath(new_path, { - parent: true - }); - new_dir = lookup.node; - } catch (e) { - throw new FS.ErrnoError(16); - } - if (!old_dir || !new_dir) throw new FS.ErrnoError(2); - if (old_dir.mount !== new_dir.mount) { - throw new FS.ErrnoError(18); - } - var old_node = FS.lookupNode(old_dir, old_name); - var relative = PATH.relative(old_path, new_dirname); - if (relative.charAt(0) !== ".") { - throw new FS.ErrnoError(22); - } - relative = PATH.relative(new_path, old_dirname); - if (relative.charAt(0) !== ".") { - throw new FS.ErrnoError(39); - } - var new_node; - try { - new_node = FS.lookupNode(new_dir, new_name); - } catch (e) {} - if (old_node === new_node) { - return; - } - var isdir = FS.isDir(old_node.mode); - var err = FS.mayDelete(old_dir, old_name, isdir); - if (err) { - throw new FS.ErrnoError(err); - } - err = new_node ? FS.mayDelete(new_dir, new_name, isdir) : FS.mayCreate(new_dir, new_name); - if (err) { - throw new FS.ErrnoError(err); - } - if (!old_dir.node_ops.rename) { - throw new FS.ErrnoError(1); - } - if (FS.isMountpoint(old_node) || new_node && FS.isMountpoint(new_node)) { - throw new FS.ErrnoError(16); - } - if (new_dir !== old_dir) { - err = FS.nodePermissions(old_dir, "w"); - if (err) { - throw new FS.ErrnoError(err); - } - } - try { - if (FS.trackingDelegate["willMovePath"]) { - FS.trackingDelegate["willMovePath"](old_path, new_path); - } - } catch (e) { - console.log("FS.trackingDelegate['willMovePath']('" + old_path + "', '" + new_path + "') threw an exception: " + e.message); - } - FS.hashRemoveNode(old_node); - try { - old_dir.node_ops.rename(old_node, new_dir, new_name); - } catch (e) { - throw e; - } finally { - FS.hashAddNode(old_node); - } - try { - if (FS.trackingDelegate["onMovePath"]) FS.trackingDelegate["onMovePath"](old_path, new_path); - } catch (e) { - console.log("FS.trackingDelegate['onMovePath']('" + old_path + "', '" + new_path + "') threw an exception: " + e.message); - } - }, - rmdir: function(path) { - var lookup = FS.lookupPath(path, { - parent: true - }); - var parent = lookup.node; - var name = PATH.basename(path); - var node = FS.lookupNode(parent, name); - var err = FS.mayDelete(parent, name, true); - if (err) { - throw new FS.ErrnoError(err); - } - if (!parent.node_ops.rmdir) { - throw new FS.ErrnoError(1); - } - if (FS.isMountpoint(node)) { - throw new FS.ErrnoError(16); - } - try { - if (FS.trackingDelegate["willDeletePath"]) { - FS.trackingDelegate["willDeletePath"](path); - } - } catch (e) { - console.log("FS.trackingDelegate['willDeletePath']('" + path + "') threw an exception: " + e.message); - } - parent.node_ops.rmdir(parent, name); - FS.destroyNode(node); - try { - if (FS.trackingDelegate["onDeletePath"]) FS.trackingDelegate["onDeletePath"](path); - } catch (e) { - console.log("FS.trackingDelegate['onDeletePath']('" + path + "') threw an exception: " + e.message); - } - }, - readdir: function(path) { - var lookup = FS.lookupPath(path, { - follow: true - }); - var node = lookup.node; - if (!node.node_ops.readdir) { - throw new FS.ErrnoError(20); - } - return node.node_ops.readdir(node); - }, - unlink: function(path) { - var lookup = FS.lookupPath(path, { - parent: true - }); - var parent = lookup.node; - var name = PATH.basename(path); - var node = FS.lookupNode(parent, name); - var err = FS.mayDelete(parent, name, false); - if (err) { - throw new FS.ErrnoError(err); - } - if (!parent.node_ops.unlink) { - throw new FS.ErrnoError(1); - } - if (FS.isMountpoint(node)) { - throw new FS.ErrnoError(16); - } - try { - if (FS.trackingDelegate["willDeletePath"]) { - FS.trackingDelegate["willDeletePath"](path); - } - } catch (e) { - console.log("FS.trackingDelegate['willDeletePath']('" + path + "') threw an exception: " + e.message); - } - parent.node_ops.unlink(parent, name); - FS.destroyNode(node); - try { - if (FS.trackingDelegate["onDeletePath"]) FS.trackingDelegate["onDeletePath"](path); - } catch (e) { - console.log("FS.trackingDelegate['onDeletePath']('" + path + "') threw an exception: " + e.message); - } - }, - readlink: function(path) { - var lookup = FS.lookupPath(path); - var link = lookup.node; - if (!link) { - throw new FS.ErrnoError(2); - } - if (!link.node_ops.readlink) { - throw new FS.ErrnoError(22); - } - return PATH.resolve(FS.getPath(link.parent), link.node_ops.readlink(link)); - }, - stat: function(path, dontFollow) { - var lookup = FS.lookupPath(path, { - follow: !dontFollow - }); - var node = lookup.node; - if (!node) { - throw new FS.ErrnoError(2); - } - if (!node.node_ops.getattr) { - throw new FS.ErrnoError(1); - } - return node.node_ops.getattr(node); - }, - lstat: function(path) { - return FS.stat(path, true); - }, - chmod: function(path, mode, dontFollow) { - var node; - if (typeof path === "string") { - var lookup = FS.lookupPath(path, { - follow: !dontFollow - }); - node = lookup.node; - } else { - node = path; - } - if (!node.node_ops.setattr) { - throw new FS.ErrnoError(1); - } - node.node_ops.setattr(node, { - mode: mode & 4095 | node.mode & ~4095, - timestamp: Date.now() - }); - }, - lchmod: function(path, mode) { - FS.chmod(path, mode, true); - }, - fchmod: function(fd, mode) { - var stream = FS.getStream(fd); - if (!stream) { - throw new FS.ErrnoError(9); - } - FS.chmod(stream.node, mode); - }, - chown: function(path, uid, gid, dontFollow) { - var node; - if (typeof path === "string") { - var lookup = FS.lookupPath(path, { - follow: !dontFollow - }); - node = lookup.node; - } else { - node = path; - } - if (!node.node_ops.setattr) { - throw new FS.ErrnoError(1); - } - node.node_ops.setattr(node, { - timestamp: Date.now() - }); - }, - lchown: function(path, uid, gid) { - FS.chown(path, uid, gid, true); - }, - fchown: function(fd, uid, gid) { - var stream = FS.getStream(fd); - if (!stream) { - throw new FS.ErrnoError(9); - } - FS.chown(stream.node, uid, gid); - }, - truncate: function(path, len) { - if (len < 0) { - throw new FS.ErrnoError(22); - } - var node; - if (typeof path === "string") { - var lookup = FS.lookupPath(path, { - follow: true - }); - node = lookup.node; - } else { - node = path; - } - if (!node.node_ops.setattr) { - throw new FS.ErrnoError(1); - } - if (FS.isDir(node.mode)) { - throw new FS.ErrnoError(21); - } - if (!FS.isFile(node.mode)) { - throw new FS.ErrnoError(22); - } - var err = FS.nodePermissions(node, "w"); - if (err) { - throw new FS.ErrnoError(err); - } - node.node_ops.setattr(node, { - size: len, - timestamp: Date.now() - }); - }, - ftruncate: function(fd, len) { - var stream = FS.getStream(fd); - if (!stream) { - throw new FS.ErrnoError(9); - } - if ((stream.flags & 2097155) === 0) { - throw new FS.ErrnoError(22); - } - FS.truncate(stream.node, len); - }, - utime: function(path, atime, mtime) { - var lookup = FS.lookupPath(path, { - follow: true - }); - var node = lookup.node; - node.node_ops.setattr(node, { - timestamp: Math.max(atime, mtime) - }); - }, - open: function(path, flags, mode, fd_start, fd_end) { - if (path === "") { - throw new FS.ErrnoError(2); - } - flags = typeof flags === "string" ? FS.modeStringToFlags(flags) : flags; - mode = typeof mode === "undefined" ? 438 : mode; - if (flags & 64) { - mode = mode & 4095 | 32768; - } else { - mode = 0; - } - var node; - if (typeof path === "object") { - node = path; - } else { - path = PATH.normalize(path); - try { - var lookup = FS.lookupPath(path, { - follow: !(flags & 131072) - }); - node = lookup.node; - } catch (e) {} - } - var created = false; - if (flags & 64) { - if (node) { - if (flags & 128) { - throw new FS.ErrnoError(17); - } - } else { - node = FS.mknod(path, mode, 0); - created = true; - } - } - if (!node) { - throw new FS.ErrnoError(2); - } - if (FS.isChrdev(node.mode)) { - flags &= ~512; - } - if (flags & 65536 && !FS.isDir(node.mode)) { - throw new FS.ErrnoError(20); - } - if (!created) { - var err = FS.mayOpen(node, flags); - if (err) { - throw new FS.ErrnoError(err); - } - } - if (flags & 512) { - FS.truncate(node, 0); - } - flags &= ~(128 | 512); - var stream = FS.createStream({ - node: node, - path: FS.getPath(node), - flags: flags, - seekable: true, - position: 0, - stream_ops: node.stream_ops, - ungotten: [], - error: false - }, fd_start, fd_end); - if (stream.stream_ops.open) { - stream.stream_ops.open(stream); - } - if (Module["logReadFiles"] && !(flags & 1)) { - if (!FS.readFiles) FS.readFiles = {}; - if (!(path in FS.readFiles)) { - FS.readFiles[path] = 1; - console.log("FS.trackingDelegate error on read file: " + path); - } - } - try { - if (FS.trackingDelegate["onOpenFile"]) { - var trackingFlags = 0; - if ((flags & 2097155) !== 1) { - trackingFlags |= FS.tracking.openFlags.READ; - } - if ((flags & 2097155) !== 0) { - trackingFlags |= FS.tracking.openFlags.WRITE; - } - FS.trackingDelegate["onOpenFile"](path, trackingFlags); - } - } catch (e) { - console.log("FS.trackingDelegate['onOpenFile']('" + path + "', flags) threw an exception: " + e.message); - } - return stream; - }, - close: function(stream) { - if (FS.isClosed(stream)) { - throw new FS.ErrnoError(9); - } - if (stream.getdents) stream.getdents = null; - try { - if (stream.stream_ops.close) { - stream.stream_ops.close(stream); - } - } catch (e) { - throw e; - } finally { - FS.closeStream(stream.fd); - } - stream.fd = null; - }, - isClosed: function(stream) { - return stream.fd === null; - }, - llseek: function(stream, offset, whence) { - if (FS.isClosed(stream)) { - throw new FS.ErrnoError(9); - } - if (!stream.seekable || !stream.stream_ops.llseek) { - throw new FS.ErrnoError(29); - } - if (whence != 0 && whence != 1 && whence != 2) { - throw new FS.ErrnoError(22); - } - stream.position = stream.stream_ops.llseek(stream, offset, whence); - stream.ungotten = []; - return stream.position; - }, - read: function(stream, buffer, offset, length, position) { - if (length < 0 || position < 0) { - throw new FS.ErrnoError(22); - } - if (FS.isClosed(stream)) { - throw new FS.ErrnoError(9); - } - if ((stream.flags & 2097155) === 1) { - throw new FS.ErrnoError(9); - } - if (FS.isDir(stream.node.mode)) { - throw new FS.ErrnoError(21); - } - if (!stream.stream_ops.read) { - throw new FS.ErrnoError(22); - } - var seeking = typeof position !== "undefined"; - if (!seeking) { - position = stream.position; - } else if (!stream.seekable) { - throw new FS.ErrnoError(29); - } - var bytesRead = stream.stream_ops.read(stream, buffer, offset, length, position); - if (!seeking) stream.position += bytesRead; - return bytesRead; - }, - write: function(stream, buffer, offset, length, position, canOwn) { - if (length < 0 || position < 0) { - throw new FS.ErrnoError(22); - } - if (FS.isClosed(stream)) { - throw new FS.ErrnoError(9); - } - if ((stream.flags & 2097155) === 0) { - throw new FS.ErrnoError(9); - } - if (FS.isDir(stream.node.mode)) { - throw new FS.ErrnoError(21); - } - if (!stream.stream_ops.write) { - throw new FS.ErrnoError(22); - } - if (stream.flags & 1024) { - FS.llseek(stream, 0, 2); - } - var seeking = typeof position !== "undefined"; - if (!seeking) { - position = stream.position; - } else if (!stream.seekable) { - throw new FS.ErrnoError(29); - } - var bytesWritten = stream.stream_ops.write(stream, buffer, offset, length, position, canOwn); - if (!seeking) stream.position += bytesWritten; - try { - if (stream.path && FS.trackingDelegate["onWriteToFile"]) FS.trackingDelegate["onWriteToFile"](stream.path); - } catch (e) { - console.log("FS.trackingDelegate['onWriteToFile']('" + stream.path + "') threw an exception: " + e.message); - } - return bytesWritten; - }, - allocate: function(stream, offset, length) { - if (FS.isClosed(stream)) { - throw new FS.ErrnoError(9); - } - if (offset < 0 || length <= 0) { - throw new FS.ErrnoError(22); - } - if ((stream.flags & 2097155) === 0) { - throw new FS.ErrnoError(9); - } - if (!FS.isFile(stream.node.mode) && !FS.isDir(stream.node.mode)) { - throw new FS.ErrnoError(19); - } - if (!stream.stream_ops.allocate) { - throw new FS.ErrnoError(95); - } - stream.stream_ops.allocate(stream, offset, length); - }, - mmap: function(stream, buffer, offset, length, position, prot, flags) { - if ((stream.flags & 2097155) === 1) { - throw new FS.ErrnoError(13); - } - if (!stream.stream_ops.mmap) { - throw new FS.ErrnoError(19); - } - return stream.stream_ops.mmap(stream, buffer, offset, length, position, prot, flags); - }, - msync: function(stream, buffer, offset, length, mmapFlags) { - if (!stream || !stream.stream_ops.msync) { - return 0; - } - return stream.stream_ops.msync(stream, buffer, offset, length, mmapFlags); - }, - munmap: function(stream) { - return 0; - }, - ioctl: function(stream, cmd, arg) { - if (!stream.stream_ops.ioctl) { - throw new FS.ErrnoError(25); - } - return stream.stream_ops.ioctl(stream, cmd, arg); - }, - readFile: function(path, opts) { - opts = opts || {}; - opts.flags = opts.flags || "r"; - opts.encoding = opts.encoding || "binary"; - if (opts.encoding !== "utf8" && opts.encoding !== "binary") { - throw new Error('Invalid encoding type "' + opts.encoding + '"'); - } - var ret; - var stream = FS.open(path, opts.flags); - var stat = FS.stat(path); - var length = stat.size; - var buf = new Uint8Array(length); - FS.read(stream, buf, 0, length, 0); - if (opts.encoding === "utf8") { - ret = UTF8ArrayToString(buf, 0); - } else if (opts.encoding === "binary") { - ret = buf; - } - FS.close(stream); - return ret; - }, - writeFile: function(path, data, opts) { - opts = opts || {}; - opts.flags = opts.flags || "w"; - var stream = FS.open(path, opts.flags, opts.mode); - if (typeof data === "string") { - var buf = new Uint8Array(lengthBytesUTF8(data) + 1); - var actualNumBytes = stringToUTF8Array(data, buf, 0, buf.length); - FS.write(stream, buf, 0, actualNumBytes, undefined, opts.canOwn); - } else if (ArrayBuffer.isView(data)) { - FS.write(stream, data, 0, data.byteLength, undefined, opts.canOwn); - } else { - throw new Error("Unsupported data type"); - } - FS.close(stream); - }, - cwd: function() { - return FS.currentPath; - }, - chdir: function(path) { - var lookup = FS.lookupPath(path, { - follow: true - }); - if (lookup.node === null) { - throw new FS.ErrnoError(2); - } - if (!FS.isDir(lookup.node.mode)) { - throw new FS.ErrnoError(20); - } - var err = FS.nodePermissions(lookup.node, "x"); - if (err) { - throw new FS.ErrnoError(err); - } - FS.currentPath = lookup.path; - }, - createDefaultDirectories: function() { - FS.mkdir("/tmp"); - FS.mkdir("/home"); - FS.mkdir("/home/web_user"); - }, - createDefaultDevices: function() { - FS.mkdir("/dev"); - FS.registerDevice(FS.makedev(1, 3), { - read: function() { - return 0; - }, - write: function(stream, buffer, offset, length, pos) { - return length; - } - }); - FS.mkdev("/dev/null", FS.makedev(1, 3)); - TTY.register(FS.makedev(5, 0), TTY.default_tty_ops); - TTY.register(FS.makedev(6, 0), TTY.default_tty1_ops); - FS.mkdev("/dev/tty", FS.makedev(5, 0)); - FS.mkdev("/dev/tty1", FS.makedev(6, 0)); - var random_device; - if (typeof crypto === "object" && typeof crypto["getRandomValues"] === "function") { - var randomBuffer = new Uint8Array(1); - random_device = function() { - crypto.getRandomValues(randomBuffer); - return randomBuffer[0]; - }; - } else if (ENVIRONMENT_IS_NODE) { - try { - var crypto_module = require("crypto"); - random_device = function() { - return crypto_module["randomBytes"](1)[0]; - }; - } catch (e) {} - } else {} - if (!random_device) { - random_device = function() { - abort("no cryptographic support found for random_device. consider polyfilling it if you want to use something insecure like Math.random(), e.g. put this in a --pre-js: var crypto = { getRandomValues: function(array) { for (var i = 0; i < array.length; i++) array[i] = (Math.random()*256)|0 } };"); - }; - } - FS.createDevice("/dev", "random", random_device); - FS.createDevice("/dev", "urandom", random_device); - FS.mkdir("/dev/shm"); - FS.mkdir("/dev/shm/tmp"); - }, - createSpecialDirectories: function() { - FS.mkdir("/proc"); - FS.mkdir("/proc/self"); - FS.mkdir("/proc/self/fd"); - FS.mount({ - mount: function() { - var node = FS.createNode("/proc/self", "fd", 16384 | 511, 73); - node.node_ops = { - lookup: function(parent, name) { - var fd = +name; - var stream = FS.getStream(fd); - if (!stream) throw new FS.ErrnoError(9); - var ret = { - parent: null, - mount: { - mountpoint: "fake" - }, - node_ops: { - readlink: function() { - return stream.path; - } - } - }; - ret.parent = ret; - return ret; - } - }; - return node; - } - }, {}, "/proc/self/fd"); - }, - createStandardStreams: function() { - if (Module["stdin"]) { - FS.createDevice("/dev", "stdin", Module["stdin"]); - } else { - FS.symlink("/dev/tty", "/dev/stdin"); - } - if (Module["stdout"]) { - FS.createDevice("/dev", "stdout", null, Module["stdout"]); - } else { - FS.symlink("/dev/tty", "/dev/stdout"); - } - if (Module["stderr"]) { - FS.createDevice("/dev", "stderr", null, Module["stderr"]); - } else { - FS.symlink("/dev/tty1", "/dev/stderr"); - } - var stdin = FS.open("/dev/stdin", "r"); - var stdout = FS.open("/dev/stdout", "w"); - var stderr = FS.open("/dev/stderr", "w"); - assert(stdin.fd === 0, "invalid handle for stdin (" + stdin.fd + ")"); - assert(stdout.fd === 1, "invalid handle for stdout (" + stdout.fd + ")"); - assert(stderr.fd === 2, "invalid handle for stderr (" + stderr.fd + ")"); - }, - ensureErrnoError: function() { - if (FS.ErrnoError) return; - FS.ErrnoError = function ErrnoError(errno, node) { - this.node = node; - this.setErrno = function(errno) { - this.errno = errno; - for (var key in ERRNO_CODES) { - if (ERRNO_CODES[key] === errno) { - this.code = key; - break; - } - } - }; - this.setErrno(errno); - this.message = ERRNO_MESSAGES[errno]; - if (this.stack) Object.defineProperty(this, "stack", { - value: new Error().stack, - writable: true - }); - if (this.stack) this.stack = demangleAll(this.stack); - }; - FS.ErrnoError.prototype = new Error(); - FS.ErrnoError.prototype.constructor = FS.ErrnoError; - [ 2 ].forEach(function(code) { - FS.genericErrors[code] = new FS.ErrnoError(code); - FS.genericErrors[code].stack = ""; - }); - }, - staticInit: function() { - FS.ensureErrnoError(); - FS.nameTable = new Array(4096); - FS.mount(MEMFS, {}, "/"); - FS.createDefaultDirectories(); - FS.createDefaultDevices(); - FS.createSpecialDirectories(); - FS.filesystems = { - "MEMFS": MEMFS, - "IDBFS": IDBFS, - "NODEFS": NODEFS, - "WORKERFS": WORKERFS - }; - }, - init: function(input, output, error) { - assert(!FS.init.initialized, "FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"); - FS.init.initialized = true; - FS.ensureErrnoError(); - Module["stdin"] = input || Module["stdin"]; - Module["stdout"] = output || Module["stdout"]; - Module["stderr"] = error || Module["stderr"]; - FS.createStandardStreams(); - }, - quit: function() { - FS.init.initialized = false; - var fflush = Module["_fflush"]; - if (fflush) fflush(0); - for (var i = 0; i < FS.streams.length; i++) { - var stream = FS.streams[i]; - if (!stream) { - continue; - } - FS.close(stream); - } - }, - getMode: function(canRead, canWrite) { - var mode = 0; - if (canRead) mode |= 292 | 73; - if (canWrite) mode |= 146; - return mode; - }, - joinPath: function(parts, forceRelative) { - var path = PATH.join.apply(null, parts); - if (forceRelative && path[0] == "/") path = path.substr(1); - return path; - }, - absolutePath: function(relative, base) { - return PATH.resolve(base, relative); - }, - standardizePath: function(path) { - return PATH.normalize(path); - }, - findObject: function(path, dontResolveLastLink) { - var ret = FS.analyzePath(path, dontResolveLastLink); - if (ret.exists) { - return ret.object; - } else { - ___setErrNo(ret.error); - return null; - } - }, - analyzePath: function(path, dontResolveLastLink) { - try { - var lookup = FS.lookupPath(path, { - follow: !dontResolveLastLink - }); - path = lookup.path; - } catch (e) {} - var ret = { - isRoot: false, - exists: false, - error: 0, - name: null, - path: null, - object: null, - parentExists: false, - parentPath: null, - parentObject: null - }; - try { - var lookup = FS.lookupPath(path, { - parent: true - }); - ret.parentExists = true; - ret.parentPath = lookup.path; - ret.parentObject = lookup.node; - ret.name = PATH.basename(path); - lookup = FS.lookupPath(path, { - follow: !dontResolveLastLink - }); - ret.exists = true; - ret.path = lookup.path; - ret.object = lookup.node; - ret.name = lookup.node.name; - ret.isRoot = lookup.path === "/"; - } catch (e) { - ret.error = e.errno; - } - return ret; - }, - createFolder: function(parent, name, canRead, canWrite) { - var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name); - var mode = FS.getMode(canRead, canWrite); - return FS.mkdir(path, mode); - }, - createPath: function(parent, path, canRead, canWrite) { - parent = typeof parent === "string" ? parent : FS.getPath(parent); - var parts = path.split("/").reverse(); - while (parts.length) { - var part = parts.pop(); - if (!part) continue; - var current = PATH.join2(parent, part); - try { - FS.mkdir(current); - } catch (e) {} - parent = current; - } - return current; - }, - createFile: function(parent, name, properties, canRead, canWrite) { - var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name); - var mode = FS.getMode(canRead, canWrite); - return FS.create(path, mode); - }, - createDataFile: function(parent, name, data, canRead, canWrite, canOwn) { - var path = name ? PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name) : parent; - var mode = FS.getMode(canRead, canWrite); - var node = FS.create(path, mode); - if (data) { - if (typeof data === "string") { - var arr = new Array(data.length); - for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i); - data = arr; - } - FS.chmod(node, mode | 146); - var stream = FS.open(node, "w"); - FS.write(stream, data, 0, data.length, 0, canOwn); - FS.close(stream); - FS.chmod(node, mode); - } - return node; - }, - createDevice: function(parent, name, input, output) { - var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name); - var mode = FS.getMode(!!input, !!output); - if (!FS.createDevice.major) FS.createDevice.major = 64; - var dev = FS.makedev(FS.createDevice.major++, 0); - FS.registerDevice(dev, { - open: function(stream) { - stream.seekable = false; - }, - close: function(stream) { - if (output && output.buffer && output.buffer.length) { - output(10); - } - }, - read: function(stream, buffer, offset, length, pos) { - var bytesRead = 0; - for (var i = 0; i < length; i++) { - var result; - try { - result = input(); - } catch (e) { - throw new FS.ErrnoError(5); - } - if (result === undefined && bytesRead === 0) { - throw new FS.ErrnoError(11); - } - if (result === null || result === undefined) break; - bytesRead++; - buffer[offset + i] = result; - } - if (bytesRead) { - stream.node.timestamp = Date.now(); - } - return bytesRead; - }, - write: function(stream, buffer, offset, length, pos) { - for (var i = 0; i < length; i++) { - try { - output(buffer[offset + i]); - } catch (e) { - throw new FS.ErrnoError(5); - } - } - if (length) { - stream.node.timestamp = Date.now(); - } - return i; - } - }); - return FS.mkdev(path, mode, dev); - }, - createLink: function(parent, name, target, canRead, canWrite) { - var path = PATH.join2(typeof parent === "string" ? parent : FS.getPath(parent), name); - return FS.symlink(target, path); - }, - forceLoadFile: function(obj) { - if (obj.isDevice || obj.isFolder || obj.link || obj.contents) return true; - var success = true; - if (typeof XMLHttpRequest !== "undefined") { - throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread."); - } else if (Module["read"]) { - try { - obj.contents = intArrayFromString(Module["read"](obj.url), true); - obj.usedBytes = obj.contents.length; - } catch (e) { - success = false; - } - } else { - throw new Error("Cannot load without read() or XMLHttpRequest."); - } - if (!success) ___setErrNo(5); - return success; - }, - createLazyFile: function(parent, name, url, canRead, canWrite) { - function LazyUint8Array() { - this.lengthKnown = false; - this.chunks = []; - } - LazyUint8Array.prototype.get = function LazyUint8Array_get(idx) { - if (idx > this.length - 1 || idx < 0) { - return undefined; - } - var chunkOffset = idx % this.chunkSize; - var chunkNum = idx / this.chunkSize | 0; - return this.getter(chunkNum)[chunkOffset]; - }; - LazyUint8Array.prototype.setDataGetter = function LazyUint8Array_setDataGetter(getter) { - this.getter = getter; - }; - LazyUint8Array.prototype.cacheLength = function LazyUint8Array_cacheLength() { - var xhr = new XMLHttpRequest(); - xhr.open("HEAD", url, false); - xhr.send(null); - if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status); - var datalength = Number(xhr.getResponseHeader("Content-length")); - var header; - var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes"; - var usesGzip = (header = xhr.getResponseHeader("Content-Encoding")) && header === "gzip"; - var chunkSize = 1024 * 1024; - if (!hasByteServing) chunkSize = datalength; - var doXHR = function(from, to) { - if (from > to) throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!"); - if (to > datalength - 1) throw new Error("only " + datalength + " bytes available! programmer error!"); - var xhr = new XMLHttpRequest(); - xhr.open("GET", url, false); - if (datalength !== chunkSize) xhr.setRequestHeader("Range", "bytes=" + from + "-" + to); - if (typeof Uint8Array != "undefined") xhr.responseType = "arraybuffer"; - if (xhr.overrideMimeType) { - xhr.overrideMimeType("text/plain; charset=x-user-defined"); - } - xhr.send(null); - if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status); - if (xhr.response !== undefined) { - return new Uint8Array(xhr.response || []); - } else { - return intArrayFromString(xhr.responseText || "", true); - } - }; - var lazyArray = this; - lazyArray.setDataGetter(function(chunkNum) { - var start = chunkNum * chunkSize; - var end = (chunkNum + 1) * chunkSize - 1; - end = Math.min(end, datalength - 1); - if (typeof lazyArray.chunks[chunkNum] === "undefined") { - lazyArray.chunks[chunkNum] = doXHR(start, end); - } - if (typeof lazyArray.chunks[chunkNum] === "undefined") throw new Error("doXHR failed!"); - return lazyArray.chunks[chunkNum]; - }); - if (usesGzip || !datalength) { - chunkSize = datalength = 1; - datalength = this.getter(0).length; - chunkSize = datalength; - console.log("LazyFiles on gzip forces download of the whole file when length is accessed"); - } - this._length = datalength; - this._chunkSize = chunkSize; - this.lengthKnown = true; - }; - if (typeof XMLHttpRequest !== "undefined") { - if (!ENVIRONMENT_IS_WORKER) throw "Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc"; - var lazyArray = new LazyUint8Array(); - Object.defineProperties(lazyArray, { - length: { - get: function() { - if (!this.lengthKnown) { - this.cacheLength(); - } - return this._length; - } - }, - chunkSize: { - get: function() { - if (!this.lengthKnown) { - this.cacheLength(); - } - return this._chunkSize; - } - } - }); - var properties = { - isDevice: false, - contents: lazyArray - }; - } else { - var properties = { - isDevice: false, - url: url - }; - } - var node = FS.createFile(parent, name, properties, canRead, canWrite); - if (properties.contents) { - node.contents = properties.contents; - } else if (properties.url) { - node.contents = null; - node.url = properties.url; - } - Object.defineProperties(node, { - usedBytes: { - get: function() { - return this.contents.length; - } - } - }); - var stream_ops = {}; - var keys = Object.keys(node.stream_ops); - keys.forEach(function(key) { - var fn = node.stream_ops[key]; - stream_ops[key] = function forceLoadLazyFile() { - if (!FS.forceLoadFile(node)) { - throw new FS.ErrnoError(5); - } - return fn.apply(null, arguments); - }; - }); - stream_ops.read = function stream_ops_read(stream, buffer, offset, length, position) { - if (!FS.forceLoadFile(node)) { - throw new FS.ErrnoError(5); - } - var contents = stream.node.contents; - if (position >= contents.length) return 0; - var size = Math.min(contents.length - position, length); - assert(size >= 0); - if (contents.slice) { - for (var i = 0; i < size; i++) { - buffer[offset + i] = contents[position + i]; - } - } else { - for (var i = 0; i < size; i++) { - buffer[offset + i] = contents.get(position + i); - } - } - return size; - }; - node.stream_ops = stream_ops; - return node; - }, - createPreloadedFile: function(parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish) { - Browser.init(); - var fullname = name ? PATH.resolve(PATH.join2(parent, name)) : parent; - var dep = getUniqueRunDependency("cp " + fullname); - function processData(byteArray) { - function finish(byteArray) { - if (preFinish) preFinish(); - if (!dontCreateFile) { - FS.createDataFile(parent, name, byteArray, canRead, canWrite, canOwn); - } - if (onload) onload(); - removeRunDependency(dep); - } - var handled = false; - Module["preloadPlugins"].forEach(function(plugin) { - if (handled) return; - if (plugin["canHandle"](fullname)) { - plugin["handle"](byteArray, fullname, finish, function() { - if (onerror) onerror(); - removeRunDependency(dep); - }); - handled = true; - } - }); - if (!handled) finish(byteArray); - } - addRunDependency(dep); - if (typeof url == "string") { - Browser.asyncLoad(url, function(byteArray) { - processData(byteArray); - }, onerror); - } else { - processData(url); - } - }, - indexedDB: function() { - return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB; - }, - DB_NAME: function() { - return "EM_FS_" + window.location.pathname; - }, - DB_VERSION: 20, - DB_STORE_NAME: "FILE_DATA", - saveFilesToDB: function(paths, onload, onerror) { - onload = onload || function() {}; - onerror = onerror || function() {}; - var indexedDB = FS.indexedDB(); - try { - var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION); - } catch (e) { - return onerror(e); - } - openRequest.onupgradeneeded = function openRequest_onupgradeneeded() { - console.log("creating db"); - var db = openRequest.result; - db.createObjectStore(FS.DB_STORE_NAME); - }; - openRequest.onsuccess = function openRequest_onsuccess() { - var db = openRequest.result; - var transaction = db.transaction([ FS.DB_STORE_NAME ], "readwrite"); - var files = transaction.objectStore(FS.DB_STORE_NAME); - var ok = 0, fail = 0, total = paths.length; - function finish() { - if (fail == 0) onload(); else onerror(); - } - paths.forEach(function(path) { - var putRequest = files.put(FS.analyzePath(path).object.contents, path); - putRequest.onsuccess = function putRequest_onsuccess() { - ok++; - if (ok + fail == total) finish(); - }; - putRequest.onerror = function putRequest_onerror() { - fail++; - if (ok + fail == total) finish(); - }; - }); - transaction.onerror = onerror; - }; - openRequest.onerror = onerror; - }, - loadFilesFromDB: function(paths, onload, onerror) { - onload = onload || function() {}; - onerror = onerror || function() {}; - var indexedDB = FS.indexedDB(); - try { - var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION); - } catch (e) { - return onerror(e); - } - openRequest.onupgradeneeded = onerror; - openRequest.onsuccess = function openRequest_onsuccess() { - var db = openRequest.result; - try { - var transaction = db.transaction([ FS.DB_STORE_NAME ], "readonly"); - } catch (e) { - onerror(e); - return; - } - var files = transaction.objectStore(FS.DB_STORE_NAME); - var ok = 0, fail = 0, total = paths.length; - function finish() { - if (fail == 0) onload(); else onerror(); - } - paths.forEach(function(path) { - var getRequest = files.get(path); - getRequest.onsuccess = function getRequest_onsuccess() { - if (FS.analyzePath(path).exists) { - FS.unlink(path); - } - FS.createDataFile(PATH.dirname(path), PATH.basename(path), getRequest.result, true, true, true); - ok++; - if (ok + fail == total) finish(); - }; - getRequest.onerror = function getRequest_onerror() { - fail++; - if (ok + fail == total) finish(); - }; - }); - transaction.onerror = onerror; - }; - openRequest.onerror = onerror; - } -}; - -var SYSCALLS = { - DEFAULT_POLLMASK: 5, - mappings: {}, - umask: 511, - calculateAt: function(dirfd, path) { - if (path[0] !== "/") { - var dir; - if (dirfd === -100) { - dir = FS.cwd(); - } else { - var dirstream = FS.getStream(dirfd); - if (!dirstream) throw new FS.ErrnoError(ERRNO_CODES.EBADF); - dir = dirstream.path; - } - path = PATH.join2(dir, path); - } - return path; - }, - doStat: function(func, path, buf) { - try { - var stat = func(path); - } catch (e) { - if (e && e.node && PATH.normalize(path) !== PATH.normalize(FS.getPath(e.node))) { - return -ERRNO_CODES.ENOTDIR; - } - throw e; - } - HEAP32[buf >> 2] = stat.dev; - HEAP32[buf + 4 >> 2] = 0; - HEAP32[buf + 8 >> 2] = stat.ino; - HEAP32[buf + 12 >> 2] = stat.mode; - HEAP32[buf + 16 >> 2] = stat.nlink; - HEAP32[buf + 20 >> 2] = stat.uid; - HEAP32[buf + 24 >> 2] = stat.gid; - HEAP32[buf + 28 >> 2] = stat.rdev; - HEAP32[buf + 32 >> 2] = 0; - tempI64 = [ stat.size >>> 0, (tempDouble = stat.size, +Math_abs(tempDouble) >= +1 ? tempDouble > +0 ? (Math_min(+Math_floor(tempDouble / +4294967296), +4294967295) | 0) >>> 0 : ~~+Math_ceil((tempDouble - +(~~tempDouble >>> 0)) / +4294967296) >>> 0 : 0) ], - HEAP32[buf + 40 >> 2] = tempI64[0], HEAP32[buf + 44 >> 2] = tempI64[1]; - HEAP32[buf + 48 >> 2] = 4096; - HEAP32[buf + 52 >> 2] = stat.blocks; - HEAP32[buf + 56 >> 2] = stat.atime.getTime() / 1e3 | 0; - HEAP32[buf + 60 >> 2] = 0; - HEAP32[buf + 64 >> 2] = stat.mtime.getTime() / 1e3 | 0; - HEAP32[buf + 68 >> 2] = 0; - HEAP32[buf + 72 >> 2] = stat.ctime.getTime() / 1e3 | 0; - HEAP32[buf + 76 >> 2] = 0; - tempI64 = [ stat.ino >>> 0, (tempDouble = stat.ino, +Math_abs(tempDouble) >= +1 ? tempDouble > +0 ? (Math_min(+Math_floor(tempDouble / +4294967296), +4294967295) | 0) >>> 0 : ~~+Math_ceil((tempDouble - +(~~tempDouble >>> 0)) / +4294967296) >>> 0 : 0) ], - HEAP32[buf + 80 >> 2] = tempI64[0], HEAP32[buf + 84 >> 2] = tempI64[1]; - return 0; - }, - doMsync: function(addr, stream, len, flags) { - var buffer = new Uint8Array(HEAPU8.subarray(addr, addr + len)); - FS.msync(stream, buffer, 0, len, flags); - }, - doMkdir: function(path, mode) { - path = PATH.normalize(path); - if (path[path.length - 1] === "/") path = path.substr(0, path.length - 1); - FS.mkdir(path, mode, 0); - return 0; - }, - doMknod: function(path, mode, dev) { - switch (mode & 61440) { - case 32768: - case 8192: - case 24576: - case 4096: - case 49152: - break; - - default: - return -ERRNO_CODES.EINVAL; - } - FS.mknod(path, mode, dev); - return 0; - }, - doReadlink: function(path, buf, bufsize) { - if (bufsize <= 0) return -ERRNO_CODES.EINVAL; - var ret = FS.readlink(path); - var len = Math.min(bufsize, lengthBytesUTF8(ret)); - var endChar = HEAP8[buf + len]; - stringToUTF8(ret, buf, bufsize + 1); - HEAP8[buf + len] = endChar; - return len; - }, - doAccess: function(path, amode) { - if (amode & ~7) { - return -ERRNO_CODES.EINVAL; - } - var node; - var lookup = FS.lookupPath(path, { - follow: true - }); - node = lookup.node; - var perms = ""; - if (amode & 4) perms += "r"; - if (amode & 2) perms += "w"; - if (amode & 1) perms += "x"; - if (perms && FS.nodePermissions(node, perms)) { - return -ERRNO_CODES.EACCES; - } - return 0; - }, - doDup: function(path, flags, suggestFD) { - var suggest = FS.getStream(suggestFD); - if (suggest) FS.close(suggest); - return FS.open(path, flags, 0, suggestFD, suggestFD).fd; - }, - doReadv: function(stream, iov, iovcnt, offset) { - var ret = 0; - for (var i = 0; i < iovcnt; i++) { - var ptr = HEAP32[iov + i * 8 >> 2]; - var len = HEAP32[iov + (i * 8 + 4) >> 2]; - var curr = FS.read(stream, HEAP8, ptr, len, offset); - if (curr < 0) return -1; - ret += curr; - if (curr < len) break; - } - return ret; - }, - doWritev: function(stream, iov, iovcnt, offset) { - var ret = 0; - for (var i = 0; i < iovcnt; i++) { - var ptr = HEAP32[iov + i * 8 >> 2]; - var len = HEAP32[iov + (i * 8 + 4) >> 2]; - var curr = FS.write(stream, HEAP8, ptr, len, offset); - if (curr < 0) return -1; - ret += curr; - } - return ret; - }, - varargs: 0, - get: function(varargs) { - SYSCALLS.varargs += 4; - var ret = HEAP32[SYSCALLS.varargs - 4 >> 2]; - return ret; - }, - getStr: function() { - var ret = UTF8ToString(SYSCALLS.get()); - return ret; - }, - getStreamFromFD: function() { - var stream = FS.getStream(SYSCALLS.get()); - if (!stream) throw new FS.ErrnoError(ERRNO_CODES.EBADF); - return stream; - }, - getSocketFromFD: function() { - var socket = SOCKFS.getSocket(SYSCALLS.get()); - if (!socket) throw new FS.ErrnoError(ERRNO_CODES.EBADF); - return socket; - }, - getSocketAddress: function(allowNull) { - var addrp = SYSCALLS.get(), addrlen = SYSCALLS.get(); - if (allowNull && addrp === 0) return null; - var info = __read_sockaddr(addrp, addrlen); - if (info.errno) throw new FS.ErrnoError(info.errno); - info.addr = DNS.lookup_addr(info.addr) || info.addr; - return info; - }, - get64: function() { - var low = SYSCALLS.get(), high = SYSCALLS.get(); - if (low >= 0) assert(high === 0); else assert(high === -1); - return low; - }, - getZero: function() { - assert(SYSCALLS.get() === 0); - } -}; - -function ___syscall10(which, varargs) { - SYSCALLS.varargs = varargs; - try { - var path = SYSCALLS.getStr(); - FS.unlink(path); - return 0; - } catch (e) { - if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e); - return -e.errno; - } -} - -function ___syscall140(which, varargs) { - SYSCALLS.varargs = varargs; - try { - var stream = SYSCALLS.getStreamFromFD(), offset_high = SYSCALLS.get(), offset_low = SYSCALLS.get(), result = SYSCALLS.get(), whence = SYSCALLS.get(); - if (!(offset_high == -1 && offset_low < 0) && !(offset_high == 0 && offset_low >= 0)) { - return -ERRNO_CODES.EOVERFLOW; - } - var offset = offset_low; - FS.llseek(stream, offset, whence); - tempI64 = [ stream.position >>> 0, (tempDouble = stream.position, +Math_abs(tempDouble) >= +1 ? tempDouble > +0 ? (Math_min(+Math_floor(tempDouble / +4294967296), +4294967295) | 0) >>> 0 : ~~+Math_ceil((tempDouble - +(~~tempDouble >>> 0)) / +4294967296) >>> 0 : 0) ], - HEAP32[result >> 2] = tempI64[0], HEAP32[result + 4 >> 2] = tempI64[1]; - if (stream.getdents && offset === 0 && whence === 0) stream.getdents = null; - return 0; - } catch (e) { - if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e); - return -e.errno; - } -} - -function ___syscall145(which, varargs) { - SYSCALLS.varargs = varargs; - try { - var stream = SYSCALLS.getStreamFromFD(), iov = SYSCALLS.get(), iovcnt = SYSCALLS.get(); - return SYSCALLS.doReadv(stream, iov, iovcnt); - } catch (e) { - if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e); - return -e.errno; - } -} - -function ___syscall146(which, varargs) { - SYSCALLS.varargs = varargs; - try { - var stream = SYSCALLS.getStreamFromFD(), iov = SYSCALLS.get(), iovcnt = SYSCALLS.get(); - return SYSCALLS.doWritev(stream, iov, iovcnt); - } catch (e) { - if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e); - return -e.errno; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($0 + 148 | 0, $3 + 28 | 0); + $2 = $1; } + __stack_pointer = $3 + 32 | 0; + return $2; } -function ___syscall221(which, varargs) { - SYSCALLS.varargs = varargs; - try { - var stream = SYSCALLS.getStreamFromFD(), cmd = SYSCALLS.get(); - switch (cmd) { - case 0: - { - var arg = SYSCALLS.get(); - if (arg < 0) { - return -ERRNO_CODES.EINVAL; - } - var newStream; - newStream = FS.open(stream.path, stream.flags, 0, arg); - return newStream.fd; - } - - case 1: - case 2: - return 0; - - case 3: - return stream.flags; - - case 4: - { - var arg = SYSCALLS.get(); - stream.flags |= arg; - return 0; - } - - case 12: - { - var arg = SYSCALLS.get(); - var offset = 0; - HEAP16[arg + offset >> 1] = 2; - return 0; - } - - case 13: - case 14: - return 0; - - case 16: - case 8: - return -ERRNO_CODES.EINVAL; - - case 9: - ___setErrNo(ERRNO_CODES.EINVAL); - return -1; +function read_markers($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + $10 = __stack_pointer - 288 | 0; + __stack_pointer = $10; + $1 = HEAP32[$0 + 440 >> 2]; + while (1) { + label$2: { + label$3: { + label$4: { + if ($1) { + break label$4; + } + if (!HEAP32[HEAP32[$0 + 464 >> 2] + 12 >> 2]) { + $2 = HEAP32[$0 + 24 >> 2]; + $1 = HEAP32[$2 + 4 >> 2]; + if (!$1) { + if (!(FUNCTION_TABLE[HEAP32[$2 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $1 = HEAP32[$2 + 4 >> 2]; + } + $5 = HEAP32[$2 >> 2]; + $3 = HEAPU8[$5 | 0]; + $4 = $1 - 1 | 0; + if ($4) { + $1 = $5 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$2 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $4 = HEAP32[$2 + 4 >> 2]; + $1 = HEAP32[$2 >> 2]; + } + $5 = $1 + 1 | 0; + $4 = $4 - 1 | 0; + $1 = HEAPU8[$1 | 0]; + if (!(($3 | 0) == 255 & ($1 | 0) == 216)) { + $6 = HEAP32[$0 >> 2]; + HEAP32[$6 + 24 >> 2] = $3; + HEAP32[$6 + 20 >> 2] = 55; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = $1; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + HEAP32[$0 + 440 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $4; + HEAP32[$2 >> 2] = $5; + break label$4; + } + if (!next_marker($0)) { + $1 = 0; + break label$3; + } + $1 = HEAP32[$0 + 440 >> 2]; + } + label$13: { + label$14: { + switch ($1 - 1 | 0) { + case 215: + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 104; + FUNCTION_TABLE[HEAP32[$1 + 4 >> 2]]($0, 1); + $1 = HEAP32[$0 + 464 >> 2]; + if (HEAP32[$1 + 12 >> 2]) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 64; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + $1 = HEAP32[$0 + 464 >> 2]; + } + $4 = $0; + HEAP8[$4 + 232 | 0] = 0; + HEAP8[$4 + 233 | 0] = 0; + HEAP8[$4 + 234 | 0] = 0; + HEAP8[$4 + 235 | 0] = 0; + HEAP8[$4 + 236 | 0] = 0; + HEAP8[$4 + 237 | 0] = 0; + HEAP8[$4 + 238 | 0] = 0; + HEAP8[$4 + 239 | 0] = 0; + HEAP8[$4 + 240 | 0] = 0; + HEAP8[$4 + 241 | 0] = 0; + HEAP8[$4 + 242 | 0] = 0; + HEAP8[$4 + 243 | 0] = 0; + HEAP8[$4 + 244 | 0] = 0; + HEAP8[$4 + 245 | 0] = 0; + HEAP8[$4 + 246 | 0] = 0; + HEAP8[$4 + 247 | 0] = 0; + HEAP8[$0 + 256 | 0] = 1; + HEAP8[$4 + 257 | 0] = 1; + HEAP8[$4 + 258 | 0] = 1; + HEAP8[$4 + 259 | 0] = 1; + HEAP8[$4 + 260 | 0] = 1; + HEAP8[$4 + 261 | 0] = 1; + HEAP8[$4 + 262 | 0] = 1; + HEAP8[$4 + 263 | 0] = 1; + HEAP8[$4 + 248 | 0] = 1; + HEAP8[$4 + 249 | 0] = 1; + HEAP8[$4 + 250 | 0] = 1; + HEAP8[$4 + 251 | 0] = 1; + HEAP8[$4 + 252 | 0] = 1; + HEAP8[$4 + 253 | 0] = 1; + HEAP8[$4 + 254 | 0] = 1; + HEAP8[$4 + 255 | 0] = 1; + HEAP8[$0 + 272 | 0] = 5; + HEAP8[$4 + 273 | 0] = 5; + HEAP8[$4 + 274 | 0] = 5; + HEAP8[$4 + 275 | 0] = 5; + HEAP8[$4 + 276 | 0] = 5; + HEAP8[$4 + 277 | 0] = 5; + HEAP8[$4 + 278 | 0] = 5; + HEAP8[$4 + 279 | 0] = 5; + HEAP8[$4 + 264 | 0] = 5; + HEAP8[$4 + 265 | 0] = 5; + HEAP8[$4 + 266 | 0] = 5; + HEAP8[$4 + 267 | 0] = 5; + HEAP8[$4 + 268 | 0] = 5; + HEAP8[$4 + 269 | 0] = 5; + HEAP8[$4 + 270 | 0] = 5; + HEAP8[$4 + 271 | 0] = 5; + HEAP32[$0 + 304 >> 2] = 0; + HEAP32[$0 + 308 >> 2] = 0; + HEAP32[$0 + 40 >> 2] = 0; + HEAP32[$0 + 280 >> 2] = 0; + HEAP32[$0 + 284 >> 2] = 0; + HEAP8[$0 + 300 | 0] = 0; + HEAP32[$0 + 292 >> 2] = 65537; + HEAP32[$0 + 296 >> 2] = 0; + HEAP8[$0 + 290 | 0] = 0; + HEAP16[$0 + 288 >> 1] = 257; + HEAP32[$1 + 12 >> 2] = 1; + break label$2; + + case 192: + $1 = 0; + if (get_sof($0, 0, 0, 0)) { + break label$2; + } + break label$3; - default: - { - return -ERRNO_CODES.EINVAL; - } - } - } catch (e) { - if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e); - return -e.errno; - } -} + case 193: + $1 = 0; + if (get_sof($0, 0, 1, 0)) { + break label$2; + } + break label$3; -function ___syscall5(which, varargs) { - SYSCALLS.varargs = varargs; - try { - var pathname = SYSCALLS.getStr(), flags = SYSCALLS.get(), mode = SYSCALLS.get(); - var stream = FS.open(pathname, flags, mode); - return stream.fd; - } catch (e) { - if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e); - return -e.errno; - } -} + case 200: + $1 = 0; + if (get_sof($0, 0, 0, 1)) { + break label$2; + } + break label$3; -function ___syscall54(which, varargs) { - SYSCALLS.varargs = varargs; - try { - var stream = SYSCALLS.getStreamFromFD(), op = SYSCALLS.get(); - switch (op) { - case 21509: - case 21505: - { - if (!stream.tty) return -ERRNO_CODES.ENOTTY; - return 0; - } - - case 21510: - case 21511: - case 21512: - case 21506: - case 21507: - case 21508: - { - if (!stream.tty) return -ERRNO_CODES.ENOTTY; - return 0; - } - - case 21519: - { - if (!stream.tty) return -ERRNO_CODES.ENOTTY; - var argp = SYSCALLS.get(); - HEAP32[argp >> 2] = 0; - return 0; - } + case 201: + $1 = 0; + if (get_sof($0, 0, 1, 1)) { + break label$2; + } + break label$3; + + case 194: + case 196: + case 197: + case 198: + case 199: + case 202: + case 204: + case 205: + case 206: + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = 63; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + break label$2; + + case 217: + $8 = HEAP32[$0 + 24 >> 2]; + $1 = HEAP32[$8 + 4 >> 2]; + $2 = HEAP32[$8 >> 2]; + if (!HEAP32[HEAP32[$0 + 464 >> 2] + 16 >> 2]) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 60; + __memcpy($3 + 24 | 0, 40840, 80); + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + if (!$1) { + if (!(FUNCTION_TABLE[HEAP32[$8 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$8 >> 2]; + $1 = HEAP32[$8 + 4 >> 2]; + } + $4 = HEAPU8[$2 | 0]; + $3 = $1 - 1 | 0; + if ($3) { + $1 = $2 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$8 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $3 = HEAP32[$8 + 4 >> 2]; + $1 = HEAP32[$8 >> 2]; + } + $5 = HEAPU8[$1 | 0]; + $2 = $3 - 1 | 0; + if ($2) { + $1 = $1 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$8 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$8 + 4 >> 2]; + $1 = HEAP32[$8 >> 2]; + } + $3 = HEAP32[$0 >> 2]; + $12 = HEAPU8[$1 | 0]; + HEAP32[$3 + 24 >> 2] = $12; + HEAP32[$3 + 20 >> 2] = 105; + $3 = 1; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 1); + label$43: { + label$44: { + label$45: { + if ((($12 << 1) + 6 | 0) != ($4 << 8 | $5) | $12 >>> 0 > 4) { + break label$45; + } + if ($12) { + HEAP32[$0 + 340 >> 2] = $12; + $13 = $1 + 1 | 0; + $11 = $2 - 1 | 0; + break label$44; + } + if (!HEAP32[$0 + 224 >> 2]) { + break label$45; + } + HEAP32[$0 + 340 >> 2] = $12; + $13 = $1 + 1 | 0; + $11 = $2 - 1 | 0; + break label$43; + } + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 12; + FUNCTION_TABLE[HEAP32[$4 >> 2]]($0); + HEAP32[$0 + 340 >> 2] = $12; + $13 = $1 + 1 | 0; + $11 = $2 - 1 | 0; + if (!$12) { + break label$43; + } + } + $4 = 0; + while (1) { + if (!$11) { + if (!(FUNCTION_TABLE[HEAP32[$8 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $13 = HEAP32[$8 >> 2]; + $11 = HEAP32[$8 + 4 >> 2]; + } + $2 = HEAPU8[$13 | 0]; + label$50: { + if (!$4) { + break label$50; + } + $5 = $4 - 2 | 0; + $3 = $4 - 1 | 0; + $1 = 0; + while (1) { + if (HEAP32[HEAP32[(($1 << 2) + $0 | 0) + 344 >> 2] >> 2] != ($2 | 0)) { + $1 = $1 + 1 | 0; + if (($4 | 0) != ($1 | 0)) { + continue; + } + break label$50; + } + break; + } + $1 = HEAP32[HEAP32[$0 + 344 >> 2] >> 2]; + label$53: { + if ($4 >>> 0 < 2) { + break label$53; + } + $15 = $3 & 3; + $2 = 1; + if ($5 >>> 0 >= 3) { + $14 = $3 & -4; + $5 = 0; + while (1) { + $3 = ($2 << 2) + $0 | 0; + $6 = HEAP32[HEAP32[$3 + 356 >> 2] >> 2]; + $7 = HEAP32[HEAP32[$3 + 352 >> 2] >> 2]; + $9 = HEAP32[HEAP32[$3 + 348 >> 2] >> 2]; + $3 = HEAP32[HEAP32[$3 + 344 >> 2] >> 2]; + $1 = ($1 | 0) < ($3 | 0) ? $3 : $1; + $1 = ($1 | 0) < ($9 | 0) ? $9 : $1; + $1 = ($1 | 0) < ($7 | 0) ? $7 : $1; + $1 = ($1 | 0) < ($6 | 0) ? $6 : $1; + $2 = $2 + 4 | 0; + $5 = $5 + 4 | 0; + if (($14 | 0) != ($5 | 0)) { + continue; + } + break; + } + } + $3 = 0; + if (!$15) { + break label$53; + } + while (1) { + $5 = HEAP32[HEAP32[(($2 << 2) + $0 | 0) + 344 >> 2] >> 2]; + $1 = ($1 | 0) < ($5 | 0) ? $5 : $1; + $2 = $2 + 1 | 0; + $3 = $3 + 1 | 0; + if (($15 | 0) != ($3 | 0)) { + continue; + } + break; + } + } + $2 = $1 + 1 | 0; + } + $6 = $11 - 1 | 0; + $1 = HEAP32[$0 + 216 >> 2]; + $5 = HEAP32[$0 + 36 >> 2]; + label$57: { + if (($5 | 0) > 0) { + $7 = Math_imul($5, 88) + $1 | 0; + $3 = 0; + while (1) { + if (HEAP32[$1 >> 2] == ($2 | 0)) { + break label$57; + } + $1 = $1 + 88 | 0; + $3 = $3 + 1 | 0; + if (($5 | 0) != ($3 | 0)) { + continue; + } + break; + } + $1 = $7; + } + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 24 >> 2] = $2; + HEAP32[$3 + 20 >> 2] = 4; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + HEAP32[(($4 << 2) + $0 | 0) + 344 >> 2] = $1; + if ($6) { + $3 = $13 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$8 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $6 = HEAP32[$8 + 4 >> 2]; + $3 = HEAP32[$8 >> 2]; + } + $2 = HEAPU8[$3 | 0]; + HEAP32[$1 + 24 >> 2] = $2 & 15; + HEAP32[$1 + 20 >> 2] = $2 >>> 4; + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 28 >> 2] = HEAP32[$1 + 20 >> 2]; + $1 = HEAP32[$1 + 24 >> 2]; + HEAP32[$2 + 20 >> 2] = 106; + HEAP32[$2 + 32 >> 2] = $1; + FUNCTION_TABLE[HEAP32[$2 + 4 >> 2]]($0, 1); + $13 = $3 + 1 | 0; + $11 = $6 - 1 | 0; + $4 = $4 + 1 | 0; + if (($12 | 0) != ($4 | 0)) { + continue; + } + break; + } + $3 = 0; + } + if (!$11) { + if (!(FUNCTION_TABLE[HEAP32[$8 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $13 = HEAP32[$8 >> 2]; + $11 = HEAP32[$8 + 4 >> 2]; + } + HEAP32[$0 + 412 >> 2] = HEAPU8[$13 | 0]; + $2 = $11 - 1 | 0; + if ($2) { + $1 = $13 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$8 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$8 + 4 >> 2]; + $1 = HEAP32[$8 >> 2]; + } + HEAP32[$0 + 416 >> 2] = HEAPU8[$1 | 0]; + $5 = $2 - 1 | 0; + if ($5) { + $4 = $1 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$8 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $5 = HEAP32[$8 + 4 >> 2]; + $4 = HEAP32[$8 >> 2]; + } + $1 = HEAPU8[$4 | 0]; + HEAP32[$0 + 424 >> 2] = $1 & 15; + HEAP32[$0 + 420 >> 2] = $1 >>> 4; + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = HEAP32[$0 + 412 >> 2]; + HEAP32[$2 + 28 >> 2] = HEAP32[$0 + 416 >> 2]; + HEAP32[$2 + 32 >> 2] = HEAP32[$0 + 420 >> 2]; + HEAP32[$2 + 36 >> 2] = HEAP32[$0 + 424 >> 2]; + HEAP32[$2 + 20 >> 2] = 107; + $1 = 1; + FUNCTION_TABLE[HEAP32[$2 + 4 >> 2]]($0, 1); + HEAP32[HEAP32[$0 + 464 >> 2] + 20 >> 2] = 0; + $2 = $4 + 1 | 0; + $4 = $5 - 1 | 0; + if (!$3) { + HEAP32[$0 + 144 >> 2] = HEAP32[$0 + 144 >> 2] + 1; + } + HEAP32[$8 + 4 >> 2] = $4; + HEAP32[$8 >> 2] = $2; + HEAP32[$0 + 440 >> 2] = 0; + break label$3; + + case 216: + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 87; + FUNCTION_TABLE[HEAP32[$1 + 4 >> 2]]($0, 1); + HEAP32[$0 + 440 >> 2] = 0; + $1 = 2; + break label$3; + + case 203: + $5 = HEAP32[$0 + 24 >> 2]; + $1 = HEAP32[$5 + 4 >> 2]; + if (!$1) { + if (!(FUNCTION_TABLE[HEAP32[$5 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $1 = HEAP32[$5 + 4 >> 2]; + } + $3 = HEAP32[$5 >> 2]; + $4 = HEAPU8[$3 | 0]; + $2 = $1 - 1 | 0; + if ($2) { + $1 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$5 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$5 + 4 >> 2]; + $1 = HEAP32[$5 >> 2]; + } + $3 = $1 + 1 | 0; + $2 = $2 - 1 | 0; + $4 = HEAPU8[$1 | 0] | $4 << 8; + $1 = $4 - 2 | 0; + if ($4 >>> 0 >= 3) { + while (1) { + $4 = $1; + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$5 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $3 = HEAP32[$5 >> 2]; + $2 = HEAP32[$5 + 4 >> 2]; + } + $1 = HEAPU8[$3 | 0]; + $6 = $2 - 1 | 0; + if ($6) { + $3 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$5 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $6 = HEAP32[$5 + 4 >> 2]; + $3 = HEAP32[$5 >> 2]; + } + $2 = HEAPU8[$3 | 0]; + $7 = HEAP32[$0 >> 2]; + HEAP32[$7 + 24 >> 2] = $1; + HEAP32[$7 + 20 >> 2] = 81; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = $2; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 1); + label$84: { + label$85: { + label$86: { + if ($1 >>> 0 >= 32) { + $7 = HEAP32[$0 >> 2]; + HEAP32[$7 + 24 >> 2] = $1; + HEAP32[$7 + 20 >> 2] = 29; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + break label$86; + } + if ($1 >>> 0 < 16) { + break label$85; + } + } + HEAP8[($0 + $1 | 0) + 248 | 0] = $2; + break label$84; + } + $1 = $0 + $1 | 0; + $7 = $2 >>> 4 | 0; + HEAP8[$1 + 248 | 0] = $7; + $9 = $1; + $1 = $2 & 15; + HEAP8[$9 + 232 | 0] = $1; + if ($1 >>> 0 <= $7 >>> 0) { + break label$84; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $2; + HEAP32[$1 + 20 >> 2] = 30; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $3 = $3 + 1 | 0; + $2 = $6 - 1 | 0; + $1 = $4 - 2 | 0; + if ($4 >>> 0 > 2) { + continue; + } + break; + } + } + if ($1) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 12; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + HEAP32[$5 + 4 >> 2] = $2; + HEAP32[$5 >> 2] = $3; + break label$2; + + case 195: + $6 = HEAP32[$0 + 24 >> 2]; + $1 = HEAP32[$6 + 4 >> 2]; + if (!$1) { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$13; + } + $1 = HEAP32[$6 + 4 >> 2]; + } + $2 = HEAP32[$6 >> 2]; + $4 = HEAPU8[$2 | 0]; + $1 = $1 - 1 | 0; + if ($1) { + $3 = $2 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$13; + } + $1 = HEAP32[$6 + 4 >> 2]; + $3 = HEAP32[$6 >> 2]; + } + $2 = $3 + 1 | 0; + $1 = $1 - 1 | 0; + $3 = HEAPU8[$3 | 0] | $4 << 8; + $9 = $3 - 2 | 0; + if ($3 >>> 0 >= 19) { + while (1) { + if (!$1) { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$13; + } + $2 = HEAP32[$6 >> 2]; + $1 = HEAP32[$6 + 4 >> 2]; + } + $3 = HEAP32[$0 >> 2]; + $7 = HEAPU8[$2 | 0]; + HEAP32[$3 + 24 >> 2] = $7; + HEAP32[$3 + 20 >> 2] = 82; + $3 = 1; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 1); + $4 = 0; + HEAP8[$10 + 256 | 0] = 0; + $2 = $2 + 1 | 0; + $1 = $1 - 1 | 0; + while (1) { + if (!$1) { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$13; + } + $2 = HEAP32[$6 >> 2]; + $1 = HEAP32[$6 + 4 >> 2]; + } + $5 = HEAPU8[$2 | 0]; + HEAP8[($10 + 256 | 0) + $3 | 0] = $5; + $2 = $2 + 1 | 0; + $1 = $1 - 1 | 0; + $4 = $4 + $5 | 0; + $3 = $3 + 1 | 0; + if (($3 | 0) != 17) { + continue; + } + break; + } + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 24 >> 2] = HEAPU8[$10 + 257 | 0]; + HEAP32[$3 + 28 >> 2] = HEAPU8[$10 + 258 | 0]; + HEAP32[$3 + 32 >> 2] = HEAPU8[$10 + 259 | 0]; + HEAP32[$3 + 36 >> 2] = HEAPU8[$10 + 260 | 0]; + HEAP32[$3 + 40 >> 2] = HEAPU8[$10 + 261 | 0]; + HEAP32[$3 + 44 >> 2] = HEAPU8[$10 + 262 | 0]; + HEAP32[$3 + 48 >> 2] = HEAPU8[$10 + 263 | 0]; + $5 = HEAPU8[$10 + 264 | 0]; + HEAP32[$3 + 20 >> 2] = 88; + HEAP32[$3 + 52 >> 2] = $5; + FUNCTION_TABLE[HEAP32[$3 + 4 >> 2]]($0, 2); + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 24 >> 2] = HEAPU8[$10 + 265 | 0]; + HEAP32[$3 + 28 >> 2] = HEAPU8[$10 + 266 | 0]; + HEAP32[$3 + 32 >> 2] = HEAPU8[$10 + 267 | 0]; + HEAP32[$3 + 36 >> 2] = HEAPU8[$10 + 268 | 0]; + HEAP32[$3 + 40 >> 2] = HEAPU8[$10 + 269 | 0]; + HEAP32[$3 + 44 >> 2] = HEAPU8[$10 + 270 | 0]; + HEAP32[$3 + 48 >> 2] = HEAPU8[$10 + 271 | 0]; + $5 = HEAPU8[$10 + 272 | 0]; + HEAP32[$3 + 20 >> 2] = 88; + HEAP32[$3 + 52 >> 2] = $5; + FUNCTION_TABLE[HEAP32[$3 + 4 >> 2]]($0, 2); + $9 = $9 - 17 | 0; + if (!($4 >>> 0 <= 256 & ($9 | 0) >= ($4 | 0))) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 9; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + } + $3 = 0; + $5 = memset($10, 0, 256); + if ($4) { + while (1) { + if (!$1) { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$13; + } + $2 = HEAP32[$6 >> 2]; + $1 = HEAP32[$6 + 4 >> 2]; + } + HEAP8[$3 + $5 | 0] = HEAPU8[$2 | 0]; + $2 = $2 + 1 | 0; + $1 = $1 - 1 | 0; + $3 = $3 + 1 | 0; + if (($4 | 0) != ($3 | 0)) { + continue; + } + break; + } + } + $3 = $7 - 16 | 0; + $14 = $7 & 16; + $11 = $14 ? (($3 << 2) + $0 | 0) + 196 | 0 : (($7 << 2) + $0 | 0) + 180 | 0; + $3 = $14 ? $3 : $7; + if ($3 >>> 0 >= 4) { + $7 = HEAP32[$0 >> 2]; + HEAP32[$7 + 24 >> 2] = $3; + HEAP32[$7 + 20 >> 2] = 31; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $9 = $9 - $4 | 0; + $3 = HEAP32[$11 >> 2]; + if (!$3) { + $3 = jpeg_alloc_huff_table($0); + HEAP32[$11 >> 2] = $3; + } + $4 = HEAP32[$5 + 260 >> 2]; + $7 = HEAP32[$5 + 256 >> 2]; + HEAP32[$3 >> 2] = $7; + HEAP32[$3 + 4 >> 2] = $4; + $7 = HEAP32[$5 + 268 >> 2]; + $4 = HEAP32[$5 + 264 >> 2]; + HEAP32[$3 + 8 >> 2] = $4; + HEAP32[$3 + 12 >> 2] = $7; + HEAP8[$3 + 16 | 0] = HEAPU8[$5 + 272 | 0]; + __memcpy(HEAP32[$11 >> 2] + 17 | 0, $5, 256); + if (($9 | 0) > 16) { + continue; + } + break; + } + } + if ($9) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 12; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + } + HEAP32[$6 + 4 >> 2] = $1; + HEAP32[$6 >> 2] = $2; + break label$2; + + case 218: + $7 = HEAP32[$0 + 24 >> 2]; + $1 = HEAP32[$7 + 4 >> 2]; + if (!$1) { + if (!(FUNCTION_TABLE[HEAP32[$7 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $1 = HEAP32[$7 + 4 >> 2]; + } + $3 = HEAP32[$7 >> 2]; + $5 = HEAPU8[$3 | 0]; + $2 = $1 - 1 | 0; + if ($2) { + $1 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$7 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$7 + 4 >> 2]; + $1 = HEAP32[$7 >> 2]; + } + $3 = $1 + 1 | 0; + $4 = $2 - 1 | 0; + $1 = HEAPU8[$1 | 0] | $5 << 8; + $6 = $1 - 2 | 0; + if ($1 >>> 0 >= 3) { + while (1) { + if (!$4) { + if (!(FUNCTION_TABLE[HEAP32[$7 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $4 = HEAP32[$7 + 4 >> 2]; + $3 = HEAP32[$7 >> 2]; + } + $2 = HEAPU8[$3 | 0]; + $5 = HEAP32[$0 >> 2]; + HEAP32[$5 + 20 >> 2] = 83; + $1 = $2 & 15; + HEAP32[$5 + 24 >> 2] = $1; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = $2 >>> 4; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 1); + if ($1 >>> 0 >= 4) { + $5 = HEAP32[$0 >> 2]; + HEAP32[$5 + 24 >> 2] = $1; + HEAP32[$5 + 20 >> 2] = 32; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $9 = ($1 << 2) + $0 | 0; + $5 = $9 + 164 | 0; + $1 = HEAP32[$5 >> 2]; + if (!$1) { + $1 = jpeg_alloc_quant_table($0); + HEAP32[$9 + 164 >> 2] = $1; + } + $14 = $6 - 1 | 0; + label$115: { + label$116: { + label$117: { + label$118: { + $11 = $2 >>> 0 < 16; + label$119: { + if (!$11) { + $5 = 0; + if ($6 >>> 0 > 128) { + break label$118; + } + while (1) { + $2 = $5 << 1; + HEAP16[$2 + $1 >> 1] = 1; + HEAP16[($2 | 2) + $1 >> 1] = 1; + HEAP16[($2 | 4) + $1 >> 1] = 1; + HEAP16[($2 | 6) + $1 >> 1] = 1; + HEAP16[($2 | 8) + $1 >> 1] = 1; + HEAP16[($2 | 10) + $1 >> 1] = 1; + HEAP16[($2 | 12) + $1 >> 1] = 1; + HEAP16[($2 | 14) + $1 >> 1] = 1; + $5 = $5 + 8 | 0; + if (($5 | 0) != 64) { + continue; + } + break; + } + $2 = $14 >> 1; + break label$119; + } + $5 = 0; + if ($6 >>> 0 > 64) { + break label$118; + } + while (1) { + $2 = $5 << 1; + HEAP16[$2 + $1 >> 1] = 1; + HEAP16[($2 | 2) + $1 >> 1] = 1; + HEAP16[($2 | 4) + $1 >> 1] = 1; + HEAP16[($2 | 6) + $1 >> 1] = 1; + HEAP16[($2 | 8) + $1 >> 1] = 1; + HEAP16[($2 | 10) + $1 >> 1] = 1; + HEAP16[($2 | 12) + $1 >> 1] = 1; + HEAP16[($2 | 14) + $1 >> 1] = 1; + $5 = $5 + 8 | 0; + if (($5 | 0) != 64) { + continue; + } + break; + } + $2 = $14; + } + $6 = 44176; + label$123: { + label$124: { + label$125: { + label$126: { + label$127: { + label$128: { + $9 = $2; + switch ($9 - 4 | 0) { + case 0: + break label$123; + + case 45: + break label$124; + + case 32: + break label$125; + + case 21: + break label$126; + + case 12: + break label$127; + + case 5: + break label$128; + + default: + break label$117; + } + } + $6 = 44064; + break label$123; + } + $6 = 43936; + break label$123; + } + $6 = 43760; + break label$123; + } + $6 = 43552; + break label$123; + } + $6 = 43280; + } + $3 = $3 + 1 | 0; + $4 = $4 - 1 | 0; + break label$116; + } + $3 = $3 + 1 | 0; + $4 = $4 - 1 | 0; + $9 = 64; + $6 = 42960; + break label$116; + } + $3 = $3 + 1 | 0; + $4 = $4 - 1 | 0; + $6 = 42960; + if (($9 | 0) <= 0) { + break label$115; + } + } + $2 = 0; + while (1) { + label$130: { + if (!$11) { + if (!$4) { + if (!(FUNCTION_TABLE[HEAP32[$7 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $4 = HEAP32[$7 + 4 >> 2]; + $3 = HEAP32[$7 >> 2]; + } + $5 = HEAPU8[$3 | 0]; + $4 = $4 - 1 | 0; + if ($4) { + $3 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$7 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $4 = HEAP32[$7 + 4 >> 2]; + $3 = HEAP32[$7 >> 2]; + } + $5 = HEAPU8[$3 | 0] | $5 << 8; + break label$130; + } + if (!$4) { + if (!(FUNCTION_TABLE[HEAP32[$7 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $4 = HEAP32[$7 + 4 >> 2]; + $3 = HEAP32[$7 >> 2]; + } + $5 = HEAPU8[$3 | 0]; + } + HEAP16[(HEAP32[($2 << 2) + $6 >> 2] << 1) + $1 >> 1] = $5; + $3 = $3 + 1 | 0; + $4 = $4 - 1 | 0; + $2 = $2 + 1 | 0; + if (($9 | 0) != ($2 | 0)) { + continue; + } + break; + } + } + $6 = 0; + if (HEAP32[HEAP32[$0 >> 2] + 104 >> 2] >= 2) { + while (1) { + $2 = HEAP32[$0 >> 2]; + $5 = $6 << 1; + HEAP32[$2 + 24 >> 2] = HEAPU16[$5 + $1 >> 1]; + HEAP32[$2 + 28 >> 2] = HEAPU16[($5 | 2) + $1 >> 1]; + HEAP32[$2 + 32 >> 2] = HEAPU16[($5 | 4) + $1 >> 1]; + HEAP32[$2 + 36 >> 2] = HEAPU16[($5 | 6) + $1 >> 1]; + HEAP32[$2 + 40 >> 2] = HEAPU16[($5 | 8) + $1 >> 1]; + HEAP32[$2 + 44 >> 2] = HEAPU16[($5 | 10) + $1 >> 1]; + HEAP32[$2 + 48 >> 2] = HEAPU16[($5 | 12) + $1 >> 1]; + $5 = HEAPU16[($5 | 14) + $1 >> 1]; + HEAP32[$2 + 20 >> 2] = 95; + HEAP32[$2 + 52 >> 2] = $5; + FUNCTION_TABLE[HEAP32[$2 + 4 >> 2]]($0, 2); + $2 = $6 >>> 0 < 56; + $6 = $6 + 8 | 0; + if ($2) { + continue; + } + break; + } + } + $6 = $14 - (($11 ? 0 : $9) + $9 | 0) | 0; + if (($6 | 0) > 0) { + continue; + } + break; + } + } + if ($6) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 12; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + HEAP32[$7 + 4 >> 2] = $4; + HEAP32[$7 >> 2] = $3; + break label$2; + + case 220: + $1 = HEAP32[$0 + 24 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + } + $3 = HEAP32[$1 >> 2]; + $4 = HEAPU8[$3 | 0]; + $2 = $2 - 1 | 0; + if ($2) { + $3 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + $3 = HEAP32[$1 >> 2]; + } + $2 = $2 - 1 | 0; + if ((HEAPU8[$3 | 0] | $4 << 8) != 4) { + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 12; + FUNCTION_TABLE[HEAP32[$4 >> 2]]($0); + } + if ($2) { + $3 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + $3 = HEAP32[$1 >> 2]; + } + $5 = HEAPU8[$3 | 0]; + $4 = $2 - 1 | 0; + if ($4) { + $2 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $4 = HEAP32[$1 + 4 >> 2]; + $2 = HEAP32[$1 >> 2]; + } + $3 = HEAPU8[$2 | 0]; + $6 = HEAP32[$0 >> 2]; + HEAP32[$6 + 20 >> 2] = 84; + $3 = $5 << 8 | $3; + HEAP32[$6 + 24 >> 2] = $3; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 1); + HEAP32[$0 + 280 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $4 - 1; + HEAP32[$1 >> 2] = $2 + 1; + break label$2; + + case 247: + $1 = HEAP32[$0 + 24 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $3 = HEAP32[$1 >> 2]; + if (!HEAP32[HEAP32[$0 + 464 >> 2] + 16 >> 2]) { + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 60; + __memcpy($4 + 24 | 0, 40921, 80); + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + label$155: { + label$156: { + if (HEAP32[$0 + 36 >> 2] < 3) { + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $4 = HEAPU8[$3 | 0]; + $2 = $2 - 1 | 0; + if ($2) { + $3 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + $3 = HEAP32[$1 >> 2]; + } + $2 = $2 - 1 | 0; + if ((HEAPU8[$3 | 0] | $4 << 8) != 24) { + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 12; + FUNCTION_TABLE[HEAP32[$4 >> 2]]($0); + } + if ($2) { + $3 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + $3 = HEAP32[$1 >> 2]; + } + $2 = $2 - 1 | 0; + if (HEAPU8[$3 | 0] != 13) { + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 70; + HEAP32[$4 + 24 >> 2] = HEAP32[$0 + 440 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + if ($2) { + $3 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + $3 = HEAP32[$1 >> 2]; + } + $5 = HEAPU8[$3 | 0]; + $2 = $2 - 1 | 0; + if ($2) { + $4 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + $4 = HEAP32[$1 >> 2]; + } + $3 = $4 + 1 | 0; + $2 = $2 - 1 | 0; + if ((HEAPU8[$4 | 0] | $5 << 8) != 255) { + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $4 = $3 + 1 | 0; + $2 = $2 - 1 | 0; + if (HEAPU8[$3 | 0] != 3) { + $3 = $4; + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $4 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $3 = $4 + 1 | 0; + $2 = $2 - 1 | 0; + $5 = HEAP32[$0 + 216 >> 2]; + if (HEAP32[$5 + 88 >> 2] != HEAPU8[$4 | 0]) { + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $5 = HEAP32[$0 + 216 >> 2]; + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $4 = $3 + 1 | 0; + $2 = $2 - 1 | 0; + if (HEAP32[$5 >> 2] != HEAPU8[$3 | 0]) { + $3 = $4; + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $5 = HEAP32[$0 + 216 >> 2]; + $4 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $3 = $4 + 1 | 0; + $2 = $2 - 1 | 0; + if (HEAP32[$5 + 176 >> 2] != HEAPU8[$4 | 0]) { + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $4 = $3 + 1 | 0; + $2 = $2 - 1 | 0; + if (HEAPU8[$3 | 0] != 128) { + $3 = $4; + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $4 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $5 = HEAPU8[$4 | 0]; + $2 = $2 - 1 | 0; + if ($2) { + $4 = $4 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + $4 = HEAP32[$1 >> 2]; + } + $3 = $4 + 1 | 0; + $2 = $2 - 1 | 0; + if (HEAPU8[$4 | 0] | $5 << 8) { + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $5 = HEAPU8[$3 | 0]; + $2 = $2 - 1 | 0; + if ($2) { + $4 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + $4 = HEAP32[$1 >> 2]; + } + $3 = $4 + 1 | 0; + $2 = $2 - 1 | 0; + if (HEAPU8[$4 | 0] | $5 << 8) { + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $4 = $3 + 1 | 0; + $2 = $2 - 1 | 0; + if (HEAPU8[$3 | 0]) { + $3 = $4; + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $4 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $5 = HEAPU8[$4 | 0]; + $2 = $2 - 1 | 0; + if ($2) { + $4 = $4 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + $4 = HEAP32[$1 >> 2]; + } + $3 = $4 + 1 | 0; + $2 = $2 - 1 | 0; + if ((HEAPU8[$4 | 0] | $5 << 8) != 1) { + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $5 = HEAPU8[$3 | 0]; + $2 = $2 - 1 | 0; + if ($2) { + $4 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + $4 = HEAP32[$1 >> 2]; + } + $3 = $4 + 1 | 0; + $2 = $2 - 1 | 0; + if (HEAPU8[$4 | 0] | $5 << 8) { + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $4 = $3 + 1 | 0; + $2 = $2 - 1 | 0; + if (HEAPU8[$3 | 0]) { + $3 = $4; + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $4 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $5 = HEAPU8[$4 | 0]; + $2 = $2 - 1 | 0; + if ($2) { + $4 = $4 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + $4 = HEAP32[$1 >> 2]; + } + $3 = $4 + 1 | 0; + $2 = $2 - 1 | 0; + if ((HEAPU8[$4 | 0] | $5 << 8) != 1) { + break label$156; + } + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $5 = HEAPU8[$3 | 0]; + $2 = $2 - 1 | 0; + if ($2) { + $4 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + $4 = HEAP32[$1 >> 2]; + } + $3 = $4 + 1 | 0; + $2 = $2 - 1 | 0; + if (!(HEAPU8[$4 | 0] | $5 << 8)) { + break label$155; + } + } + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 28; + FUNCTION_TABLE[HEAP32[$4 >> 2]]($0); + } + HEAP32[$0 + 304 >> 2] = 1; + HEAP32[$1 + 4 >> 2] = $2; + HEAP32[$1 >> 2] = $3; + break label$2; + + case 223: + case 224: + case 225: + case 226: + case 227: + case 228: + case 229: + case 230: + case 231: + case 232: + case 233: + case 234: + case 235: + case 236: + case 237: + case 238: + if (FUNCTION_TABLE[HEAP32[(HEAP32[$0 + 464 >> 2] + ($1 << 2) | 0) - 864 >> 2]]($0) | 0) { + break label$2; + } + $1 = 0; + break label$3; - case 21520: - { - if (!stream.tty) return -ERRNO_CODES.ENOTTY; - return -ERRNO_CODES.EINVAL; - } + case 253: + if (FUNCTION_TABLE[HEAP32[HEAP32[$0 + 464 >> 2] + 28 >> 2]]($0) | 0) { + break label$2; + } + $1 = 0; + break label$3; + + case 0: + case 207: + case 208: + case 209: + case 210: + case 211: + case 212: + case 213: + case 214: + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = 94; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 1); + break label$2; + + case 219: + $1 = HEAP32[$0 + 24 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $2 = HEAP32[$1 + 4 >> 2]; + } + $5 = HEAP32[$1 >> 2]; + $4 = HEAPU8[$5 | 0]; + $3 = $2 - 1 | 0; + if ($3) { + $2 = $5 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + $1 = 0; + break label$3; + } + $3 = HEAP32[$1 + 4 >> 2]; + $2 = HEAP32[$1 >> 2]; + } + $5 = HEAPU8[$2 | 0]; + $6 = HEAP32[$0 >> 2]; + HEAP32[$6 + 20 >> 2] = 93; + HEAP32[$6 + 24 >> 2] = HEAP32[$0 + 440 >> 2]; + $4 = $4 << 8 | $5; + $5 = $4 - 2 | 0; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = $5; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 1); + HEAP32[$1 + 4 >> 2] = $3 - 1; + HEAP32[$1 >> 2] = $2 + 1; + if ($4 >>> 0 < 3) { + break label$2; + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 24 >> 2] + 16 >> 2]]($0, $5); + break label$2; - case 21531: - { - var argp = SYSCALLS.get(); - return FS.ioctl(stream, op, argp); + default: + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = 70; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + break label$2; + + case 191: + break label$14; + } + } + $1 = 0; + if (get_sof($0, 1, 0, 0)) { + break label$2; + } + break label$3; + } + $1 = 0; } + __stack_pointer = $10 + 288 | 0; + return $1 | 0; + } + $1 = 0; + HEAP32[$0 + 440 >> 2] = 0; + continue; + } +} - case 21523: - { - if (!stream.tty) return -ERRNO_CODES.ENOTTY; - return 0; - } - - case 21524: - { - if (!stream.tty) return -ERRNO_CODES.ENOTTY; - return 0; - } - - default: - abort("bad ioctl syscall " + op); - } - } catch (e) { - if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e); - return -e.errno; - } -} - -function ___syscall6(which, varargs) { - SYSCALLS.varargs = varargs; - try { - var stream = SYSCALLS.getStreamFromFD(); - FS.close(stream); - return 0; - } catch (e) { - if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e); - return -e.errno; - } -} - -function ___syscall91(which, varargs) { - SYSCALLS.varargs = varargs; - try { - var addr = SYSCALLS.get(), len = SYSCALLS.get(); - var info = SYSCALLS.mappings[addr]; - if (!info) return 0; - if (len === info.len) { - var stream = FS.getStream(info.fd); - SYSCALLS.doMsync(addr, stream, len, info.flags); - FS.munmap(stream); - SYSCALLS.mappings[addr] = null; - if (info.allocated) { - _free(info.malloc); - } - } - return 0; - } catch (e) { - if (typeof FS === "undefined" || !(e instanceof FS.ErrnoError)) abort(e); - return -e.errno; - } -} - -function ___unlock() {} +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseOperatorName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + label$2: { + label$3: { + label$4: { + switch ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) - 97 | 0) { + case 0: + label$19: { + label$20: { + label$21: { + label$22: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + switch ($1 - 97 | 0) { + case 1: + case 2: + break label$1; + + case 3: + break label$21; + + case 0: + break label$3; + + default: + break label$22; + } + } + if (($1 | 0) == 78) { + break label$20; + } + if (($1 | 0) == 83) { + break label$19; + } + if (($1 | 0) != 110) { + break label$1; + } + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37991); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37243); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37121); + break label$1; -function getShiftFromSize(size) { - switch (size) { - case 1: - return 0; + case 2: + label$23: { + label$24: { + label$25: { + label$26: { + $4 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + switch ($4 - 108 | 0) { + case 2: + break label$1; + + case 3: + break label$24; + + case 1: + break label$25; + + case 0: + break label$26; + + default: + break label$23; + } + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37857); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37686); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 27929); + break label$1; + } + if (($4 | 0) != 118) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $4 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool___SwapAndRestore_28bool__2c_20bool_29($3 + 24 | 0, $0 + 388 | 0, 0); + $6 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool___SwapAndRestore_28bool__2c_20bool_29($3 + 16 | 0, $0 + 389 | 0, (HEAPU8[$0 + 389 | 0] | $1) != 0); + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$3 + 12 >> 2] = $5; + if ($5) { + if ($1) { + HEAP8[$1 | 0] = 1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $3 + 12 | 0); + } + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool____SwapAndRestore_28_29($6); + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool____SwapAndRestore_28_29($4); + break label$1; - case 2: - return 1; + case 3: + label$29: { + label$30: { + label$31: { + label$32: { + label$33: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + switch ($1 - 97 | 0) { + case 1: + case 2: + case 3: + break label$1; + + case 4: + break label$31; - case 4: - return 2; + case 0: + break label$32; - case 8: - return 3; + default: + break label$33; + } + } + if (($1 | 0) == 86) { + break label$29; + } + if (($1 | 0) == 108) { + break label$30; + } + if (($1 | 0) != 118) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37636); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b18_5d__28char_20const_20_28__29_20_5b18_5d_29($0, 34393); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37717); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b16_5d__28char_20const_20_28__29_20_5b16_5d_29($0, 31771); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37199); + break label$1; + + case 4: + label$34: { + label$35: { + label$36: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + switch ($1 - 111 | 0) { + case 1: + break label$1; - default: - throw new TypeError("Unknown type size: " + size); - } -} + case 2: + break label$34; -function embind_init_charCodes() { - var codes = new Array(256); - for (var i = 0; i < 256; ++i) { - codes[i] = String.fromCharCode(i); - } - embind_charCodes = codes; -} + case 0: + break label$36; -var embind_charCodes = undefined; + default: + break label$35; + } + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 34357); + break label$1; + } + if (($1 | 0) != 79) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37131); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37165); + break label$1; + + case 6: + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + if (($1 | 0) != 116) { + if (($1 | 0) != 101) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37142); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 36604); + break label$1; -function readLatin1String(ptr) { - var ret = ""; - var c = ptr; - while (HEAPU8[c]) { - ret += embind_charCodes[HEAPU8[c++]]; - } - return ret; -} + case 8: + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1) | 0) != 120) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 34382); + break label$1; + + case 11: + label$38: { + label$39: { + label$40: { + label$41: { + label$42: { + label$43: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + switch ($1 - 101 | 0) { + case 1: + case 2: + case 3: + break label$1; + + case 4: + break label$41; + + case 0: + break label$42; + + default: + break label$43; + } + } + switch ($1 - 115 | 0) { + case 1: + break label$38; -var awaitingDependencies = {}; + case 0: + break label$40; -var registeredTypes = {}; + default: + break label$39; + } + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37176); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSourceName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0); + HEAP32[$3 + 24 >> 2] = $2; + if (!$2) { + break label$2; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__LiteralOperator_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $3 + 24 | 0); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37300); + break label$1; + } + if (($1 | 0) != 83) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b12_5d__28char_20const_20_28__29_20_5b12_5d_29($0, 37187); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37276); + break label$1; + + case 12: + label$44: { + label$45: { + label$46: { + label$47: { + label$48: { + label$49: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + switch ($1 - 105 | 0) { + case 1: + case 2: + break label$1; + + case 4: + break label$44; + + case 3: + break label$46; + + case 0: + break label$48; + + default: + break label$49; + } + } + switch ($1 - 73 | 0) { + case 3: + break label$45; -var typeDependencies = {}; + case 0: + break label$47; -var char_0 = 48; + default: + break label$1; + } + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37660); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37210); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37717); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37232); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37675); + break label$1; + + case 13: + label$50: { + label$51: { + label$52: { + label$53: { + label$54: { + label$55: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + switch ($1 - 97 | 0) { + case 1: + case 2: + case 3: + case 5: + break label$1; + + case 6: + break label$52; + + case 4: + break label$53; + + case 0: + break label$54; + + default: + break label$55; + } + } + switch ($1 - 116 | 0) { + case 3: + break label$50; -var char_9 = 57; + case 0: + break label$51; -function makeLegalFunctionName(name) { - if (undefined === name) { - return "_unknown"; - } - name = name.replace(/[^a-zA-Z0-9_]/g, "$"); - var f = name.charCodeAt(0); - if (f >= char_0 && f <= char_9) { - return "_" + name; - } else { - return name; - } -} + default: + break label$1; + } + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b15_5d__28char_20const_20_28__29_20_5b15_5d_29($0, 34367); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37265); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37660); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 38032); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b13_5d__28char_20const_20_28__29_20_5b13_5d_29($0, 28597); + break label$1; + + case 14: + label$56: { + label$57: { + label$58: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + switch ($1 - 111 | 0) { + case 1: + case 2: + break label$1; -function createNamedFunction(name, body) { - name = makeLegalFunctionName(name); - return new Function("body", "return function " + name + "() {\n" + ' "use strict";' + " return body.apply(this, arguments);\n" + "};\n")(body); -} + case 3: + break label$57; -function extendError(baseErrorType, errorName) { - var errorClass = createNamedFunction(errorName, function(message) { - this.name = errorName; - this.message = message; - var stack = new Error(message).stack; - if (stack !== undefined) { - this.stack = this.toString() + "\n" + stack.replace(/^Error(:[^\n]*)?\n/, ""); - } - }); - errorClass.prototype = Object.create(baseErrorType.prototype); - errorClass.prototype.constructor = errorClass; - errorClass.prototype.toString = function() { - if (this.message === undefined) { - return this.name; - } else { - return this.name + ": " + this.message; - } - }; - return errorClass; -} + case 0: + break label$58; -var BindingError = undefined; + default: + break label$56; + } + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 27945); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 27956); + break label$1; + } + if (($1 | 0) != 82) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37110); + break label$1; + + case 15: + label$59: { + label$60: { + label$61: { + label$62: { + label$63: { + label$64: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + switch ($1 - 108 | 0) { + case 2: + case 3: + case 5: + case 6: + break label$1; + + case 8: + break label$59; + + case 7: + break label$60; + + case 4: + break label$61; + + case 0: + break label$63; + + case 1: + break label$64; + + default: + break label$62; + } + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b12_5d__28char_20const_20_28__29_20_5b12_5d_29($0, 37727); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37696); + break label$1; + } + if (($1 | 0) != 76) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37221); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37706); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 37696); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 36877); + break label$1; -function throwBindingError(message) { - throw new BindingError(message); -} + case 16: + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1) | 0) != 117) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 36125); + break label$1; + + case 17: + label$65: { + label$66: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + if (($1 | 0) != 77) { + if (($1 | 0) == 83) { + break label$65; + } + if (($1 | 0) == 115) { + break label$66; + } + if (($1 | 0) != 109) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, 38019); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 37254); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 36854); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b12_5d__28char_20const_20_28__29_20_5b12_5d_29($0, 37153); + break label$1; -var InternalError = undefined; + case 18: + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1) | 0) != 115) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b12_5d__28char_20const_20_28__29_20_5b12_5d_29($0, 36865); + break label$1; -function throwInternalError(message) { - throw new InternalError(message); -} + case 21: + break label$4; -function whenDependentTypesAreResolved(myTypes, dependentTypes, getTypeConverters) { - myTypes.forEach(function(type) { - typeDependencies[type] = dependentTypes; - }); - function onComplete(typeConverters) { - var myTypeConverters = getTypeConverters(typeConverters); - if (myTypeConverters.length !== myTypes.length) { - throwInternalError("Mismatched type converter count"); - } - for (var i = 0; i < myTypes.length; ++i) { - registerType(myTypes[i], myTypeConverters[i]); - } - } - var typeConverters = new Array(dependentTypes.length); - var unregisteredTypes = []; - var registered = 0; - dependentTypes.forEach(function(dt, i) { - if (registeredTypes.hasOwnProperty(dt)) { - typeConverters[i] = registeredTypes[dt]; - } else { - unregisteredTypes.push(dt); - if (!awaitingDependencies.hasOwnProperty(dt)) { - awaitingDependencies[dt] = []; - } - awaitingDependencies[dt].push(function() { - typeConverters[i] = registeredTypes[dt]; - ++registered; - if (registered === unregisteredTypes.length) { - onComplete(typeConverters); + default: + break label$1; + } } - }); - } - }); - if (0 === unregisteredTypes.length) { - onComplete(typeConverters); - } -} - -function registerType(rawType, registeredInstance, options) { - options = options || {}; - if (!("argPackAdvance" in registeredInstance)) { - throw new TypeError("registerType registeredInstance requires argPackAdvance"); - } - var name = registeredInstance.name; - if (!rawType) { - throwBindingError('type "' + name + '" must have a positive integer typeid pointer'); - } - if (registeredTypes.hasOwnProperty(rawType)) { - if (options.ignoreDuplicateRegistrations) { - return; - } else { - throwBindingError("Cannot register type '" + name + "' twice"); - } - } - registeredTypes[rawType] = registeredInstance; - delete typeDependencies[rawType]; - if (awaitingDependencies.hasOwnProperty(rawType)) { - var callbacks = awaitingDependencies[rawType]; - delete awaitingDependencies[rawType]; - callbacks.forEach(function(cb) { - cb(); - }); - } -} - -function __embind_register_bool(rawType, name, size, trueValue, falseValue) { - var shift = getShiftFromSize(size); - name = readLatin1String(name); - registerType(rawType, { - name: name, - "fromWireType": function(wt) { - return !!wt; - }, - "toWireType": function(destructors, o) { - return o ? trueValue : falseValue; - }, - "argPackAdvance": 8, - "readValueFromPointer": function(pointer) { - var heap; - if (size === 1) { - heap = HEAP8; - } else if (size === 2) { - heap = HEAP16; - } else if (size === 4) { - heap = HEAP32; - } else { - throw new TypeError("Unknown boolean type size: " + name); + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1) - 48 >>> 0 > 9) { + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSourceName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0); + HEAP32[$3 + 24 >> 2] = $2; + if (!$2) { + break label$2; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $3 + 24 | 0); + break label$1; } - return this["fromWireType"](heap[pointer >> shift]); - }, - destructorFunction: null - }); -} - -function __embind_register_constant(name, type, value) { - name = readLatin1String(name); - whenDependentTypesAreResolved([], [ type ], function(type) { - type = type[0]; - Module[name] = type["fromWireType"](value); - return []; - }); -} - -var emval_free_list = []; - -var emval_handle_array = [ {}, { - value: undefined -}, { - value: null -}, { - value: true -}, { - value: false -} ]; - -function __emval_decref(handle) { - if (handle > 4 && 0 === --emval_handle_array[handle].refcount) { - emval_handle_array[handle] = undefined; - emval_free_list.push(handle); - } -} - -function count_emval_handles() { - var count = 0; - for (var i = 5; i < emval_handle_array.length; ++i) { - if (emval_handle_array[i] !== undefined) { - ++count; - } - } - return count; -} - -function get_first_emval() { - for (var i = 5; i < emval_handle_array.length; ++i) { - if (emval_handle_array[i] !== undefined) { - return emval_handle_array[i]; + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, 38001); + break label$1; } + $2 = 0; } - return null; -} - -function init_emval() { - Module["count_emval_handles"] = count_emval_handles; - Module["get_first_emval"] = get_first_emval; + __stack_pointer = $3 + 32 | 0; + return $2; } -function __emval_register(value) { - switch (value) { - case undefined: - { - return 1; - } - - case null: - { - return 2; - } - - case true: - { - return 3; - } - - case false: - { - return 4; - } - - default: - { - var handle = emval_free_list.length ? emval_free_list.pop() : emval_handle_array.length; - emval_handle_array[handle] = { - refcount: 1, - value: value - }; - return handle; +function vision__DoGScaleInvariantDetector__extractFeatures_28vision__GaussianScaleSpacePyramid_20const__2c_20vision__DoGPyramid_20const__29($0, $1, $2) { + var $3 = Math_fround(0), $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = Math_fround(0), $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = Math_fround(0), $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = Math_fround(0), $23 = 0, $24 = Math_fround(0), $25 = 0, $26 = 0, $27 = Math_fround(0), $28 = Math_fround(0), $29 = Math_fround(0), $30 = 0, $31 = 0, $32 = 0, $33 = Math_fround(0), $34 = 0, $35 = Math_fround(0), $36 = 0, $37 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $11 = __stack_pointer - 48 | 0; + __stack_pointer = $11; + $32 = $0 + 60 | 0; + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____clear_28_29($32); + $37 = $0 + 32 | 0; + $34 = $11 + 8 | 4; + $35 = float_20vision__sqr_float__28float_29(HEAPF32[$0 + 52 >> 2]); + $0 = 1; + while (1) { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + if (vision__DoGPyramid__size_28_29_20const($37) - 1 >>> 0 > $0 >>> 0) { + $7 = vision__DoGPyramid__get_28unsigned_20long_29_20const($2, $0 - 1 | 0); + $12 = vision__DoGPyramid__get_28unsigned_20long_29_20const($2, $0); + $36 = $0 + 1 | 0; + $8 = vision__DoGPyramid__get_28unsigned_20long_29_20const($2, $36); + $25 = vision__DoGPyramid__octaveFromIndex_28int_29_20const($2, $0); + $30 = vision__DoGPyramid__scaleFromIndex_28int_29_20const($2, $0); + label$11: { + if ((vision__Image__width_28_29_20const($7) | 0) != (vision__Image__width_28_29_20const($12) | 0)) { + break label$11; + } + if ((vision__Image__width_28_29_20const($7) | 0) != (vision__Image__width_28_29_20const($8) | 0)) { + break label$11; + } + if ((vision__Image__height_28_29_20const($7) | 0) != (vision__Image__height_28_29_20const($12) | 0)) { + break label$9; + } + if ((vision__Image__height_28_29_20const($7) | 0) != (vision__Image__height_28_29_20const($8) | 0)) { + break label$8; + } + $4 = 1; + $0 = vision__Image__width_28_29_20const($12) - 1 | 0; + $26 = $0 >>> 0 > 1 ? $0 : 1; + $0 = vision__Image__height_28_29_20const($12) - 1 | 0; + $19 = $0 >>> 0 > 1 ? $0 : 1; + $16 = Math_fround($30 | 0); + label$12: while (1) { + if (($4 | 0) == ($19 | 0)) { + break label$3; + } + $0 = 1; + $22 = Math_fround($4 >>> 0); + $5 = $4 - 1 | 0; + $14 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($7, $5); + $9 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($7, $4); + $15 = $4 + 1 | 0; + $17 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($7, $15); + $18 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($12, $5); + $23 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($12, $4); + $20 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($12, $15); + $21 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($8, $5); + $13 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($8, $4); + $31 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($8, $15); + while (1) if (($0 | 0) == ($26 | 0)) { + $4 = $15; + continue label$12; + } else { + $4 = $0 << 2; + $5 = $23 + $4 | 0; + label$16: { + if (float_20vision__sqr_float__28float_29(HEAPF32[$5 >> 2]) < $35) { + break label$16; + } + $3 = HEAPF32[$5 >> 2]; + $5 = $0 - 1 << 2; + $10 = HEAPF32[$14 + $5 >> 2]; + label$17: { + label$18: { + if (!($3 > $10) | !(HEAPF32[$4 + $14 >> 2] < $3)) { + break label$18; + } + $6 = $0 + 1 << 2; + if (!(HEAPF32[$14 + $6 >> 2] < $3) | !(HEAPF32[$5 + $9 >> 2] < $3) | (!(HEAPF32[$4 + $9 >> 2] < $3) | !(HEAPF32[$6 + $9 >> 2] < $3))) { + break label$18; + } + if (!(HEAPF32[$5 + $17 >> 2] < $3) | !(HEAPF32[$4 + $17 >> 2] < $3) | (!(HEAPF32[$6 + $17 >> 2] < $3) | !(HEAPF32[$5 + $18 >> 2] < $3))) { + break label$18; + } + if (!(HEAPF32[$4 + $18 >> 2] < $3) | !(HEAPF32[$6 + $18 >> 2] < $3) | (!(HEAPF32[$5 + $23 >> 2] < $3) | !(HEAPF32[$6 + $23 >> 2] < $3))) { + break label$18; + } + if (!(HEAPF32[$5 + $20 >> 2] < $3) | !(HEAPF32[$4 + $20 >> 2] < $3) | (!(HEAPF32[$6 + $20 >> 2] < $3) | !(HEAPF32[$5 + $21 >> 2] < $3))) { + break label$18; + } + if (!(HEAPF32[$4 + $21 >> 2] < $3) | !(HEAPF32[$6 + $21 >> 2] < $3) | (!(HEAPF32[$5 + $13 >> 2] < $3) | !(HEAPF32[$4 + $13 >> 2] < $3))) { + break label$18; + } + if (!(HEAPF32[$4 + $31 >> 2] < $3) | (!(HEAPF32[$6 + $13 >> 2] < $3) | !(HEAPF32[$5 + $31 >> 2] < $3))) { + break label$18; + } + if (HEAPF32[$6 + $31 >> 2] < $3) { + break label$17; + } + } + if (!($3 < $10) | !(HEAPF32[$4 + $14 >> 2] > $3)) { + break label$16; + } + $6 = $0 + 1 << 2; + if (!(HEAPF32[$14 + $6 >> 2] > $3) | !(HEAPF32[$5 + $9 >> 2] > $3) | (!(HEAPF32[$4 + $9 >> 2] > $3) | !(HEAPF32[$6 + $9 >> 2] > $3))) { + break label$16; + } + if (!(HEAPF32[$5 + $17 >> 2] > $3) | !(HEAPF32[$4 + $17 >> 2] > $3) | (!(HEAPF32[$6 + $17 >> 2] > $3) | !(HEAPF32[$5 + $18 >> 2] > $3))) { + break label$16; + } + if (!(HEAPF32[$4 + $18 >> 2] > $3) | !(HEAPF32[$6 + $18 >> 2] > $3) | (!(HEAPF32[$5 + $23 >> 2] > $3) | !(HEAPF32[$6 + $23 >> 2] > $3))) { + break label$16; + } + if (!(HEAPF32[$5 + $20 >> 2] > $3) | !(HEAPF32[$4 + $20 >> 2] > $3) | (!(HEAPF32[$6 + $20 >> 2] > $3) | !(HEAPF32[$5 + $21 >> 2] > $3))) { + break label$16; + } + if (!(HEAPF32[$4 + $21 >> 2] > $3) | !(HEAPF32[$6 + $21 >> 2] > $3) | (!(HEAPF32[$5 + $13 >> 2] > $3) | !(HEAPF32[$4 + $13 >> 2] > $3))) { + break label$16; + } + if (!(HEAPF32[$6 + $13 >> 2] > $3) | !(HEAPF32[$5 + $31 >> 2] > $3) | (!(HEAPF32[$4 + $31 >> 2] > $3) | !(HEAPF32[$6 + $31 >> 2] > $3))) { + break label$16; + } + } + HEAPF32[$11 + 32 >> 2] = $3; + HEAP32[$11 + 24 >> 2] = $30; + HEAP32[$11 + 20 >> 2] = $25; + wasm2js_i32$0 = $11, wasm2js_f32$0 = vision__GaussianScaleSpacePyramid__effectiveSigma_28unsigned_20long_2c_20float_29_20const($1, $25, $16), + HEAPF32[wasm2js_i32$0 + 36 >> 2] = wasm2js_f32$0; + vision__bilinear_upsample_point_28float__2c_20float__2c_20float_2c_20float_2c_20int_29($11 + 8 | 0, $34, Math_fround($0 >>> 0), $22, $25); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____push_back_28vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($32, $11 + 8 | 0); + } + $0 = $0 + 1 | 0; + continue; + } + } + } + label$19: { + if ((vision__Image__width_28_29_20const($7) | 0) != (vision__Image__width_28_29_20const($12) | 0)) { + break label$19; + } + if ((vision__Image__width_28_29_20const($12) >>> 1 | 0) != (vision__Image__width_28_29_20const($8) | 0)) { + break label$19; + } + if ((vision__Image__height_28_29_20const($7) | 0) != (vision__Image__height_28_29_20const($12) | 0)) { + break label$7; + } + if ((vision__Image__height_28_29_20const($12) >>> 1 | 0) != (vision__Image__height_28_29_20const($8) | 0)) { + break label$6; + } + $4 = 2; + $3 = Math_fround(Math_fround(vision__Image__width_28_29_20const($8) - 1 >>> 0) + Math_fround(-.5)); + $3 = floor_28float_29(Math_fround(Math_fround($3 + $3) + Math_fround(.5))); + label$20: { + if ($3 < Math_fround(4294967296) & $3 >= Math_fround(0)) { + $0 = ~~$3 >>> 0; + break label$20; + } + $0 = 0; + } + $14 = $0 >>> 0 > 2; + $26 = $14 ? $0 : 2; + $3 = Math_fround(Math_fround(vision__Image__height_28_29_20const($8) - 1 >>> 0) + Math_fround(-.5)); + $3 = floor_28float_29(Math_fround(Math_fround($3 + $3) + Math_fround(.5))); + label$22: { + if ($3 < Math_fround(4294967296) & $3 >= Math_fround(0)) { + $5 = ~~$3 >>> 0; + break label$22; + } + $5 = 0; + } + $21 = $5 >>> 0 > 2 ? $5 : 2; + $27 = Math_fround($30 | 0); + label$24: while (1) { + if (($4 | 0) == ($21 | 0)) { + break label$3; + } + $33 = Math_fround($4 >>> 0); + $16 = Math_fround(Math_fround($33 * Math_fround(.5)) + Math_fround(-.25)); + $28 = Math_fround($16 + Math_fround(.5)); + $24 = Math_fround($16 + Math_fround(-.5)); + $0 = 2; + $5 = $4 - 1 | 0; + $14 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($7, $5); + $15 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($7, $4); + $18 = $4 + 1 | 0; + $19 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($7, $18); + $20 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($12, $5); + $23 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($12, $4); + $13 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($12, $18); + while (1) if (($0 | 0) == ($26 | 0)) { + $4 = $18; + continue label$24; + } else { + $5 = $0 << 2; + $4 = $23 + $5 | 0; + label$28: { + if (float_20vision__sqr_float__28float_29(HEAPF32[$4 >> 2]) < $35) { + break label$28; + } + $22 = Math_fround($0 >>> 0); + $10 = Math_fround(Math_fround($22 * Math_fround(.5)) + Math_fround(-.25)); + $3 = HEAPF32[$4 >> 2]; + $6 = $0 - 1 << 2; + $9 = $14 + $6 | 0; + label$29: { + label$30: { + if (!($3 > HEAPF32[$9 >> 2]) | !(HEAPF32[$5 + $14 >> 2] < $3)) { + break label$30; + } + $17 = $0 + 1 << 2; + if (!(HEAPF32[$17 + $14 >> 2] < $3) | !(HEAPF32[$6 + $15 >> 2] < $3) | (!(HEAPF32[$5 + $15 >> 2] < $3) | !(HEAPF32[$15 + $17 >> 2] < $3))) { + break label$30; + } + if (!(HEAPF32[$6 + $19 >> 2] < $3) | !(HEAPF32[$5 + $19 >> 2] < $3) | (!(HEAPF32[$19 + $17 >> 2] < $3) | !(HEAPF32[$6 + $20 >> 2] < $3))) { + break label$30; + } + if (!(HEAPF32[$5 + $20 >> 2] < $3) | !(HEAPF32[$17 + $20 >> 2] < $3) | (!(HEAPF32[$6 + $23 >> 2] < $3) | !(HEAPF32[$17 + $23 >> 2] < $3))) { + break label$30; + } + if (!(HEAPF32[$13 + $17 >> 2] < $3) | (!(HEAPF32[$6 + $13 >> 2] < $3) | !(HEAPF32[$5 + $13 >> 2] < $3))) { + break label$30; + } + $29 = Math_fround($10 + Math_fround(-.5)); + if (!(float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $29, $24) < $3)) { + break label$30; + } + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $10, $24))) { + break label$30; + } + $3 = Math_fround($10 + Math_fround(.5)); + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $3, $24))) { + break label$30; + } + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $29, $16))) { + break label$30; + } + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $10, $16))) { + break label$30; + } + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $3, $16))) { + break label$30; + } + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $29, $28))) { + break label$30; + } + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $10, $28))) { + break label$30; + } + if (HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $3, $28)) { + break label$29; + } + } + $3 = HEAPF32[$4 >> 2]; + if (!($3 < HEAPF32[$9 >> 2]) | !(HEAPF32[$5 + $14 >> 2] > $3)) { + break label$28; + } + $9 = $0 + 1 << 2; + if (!(HEAPF32[$14 + $9 >> 2] > $3) | !(HEAPF32[$6 + $15 >> 2] > $3) | (!(HEAPF32[$5 + $15 >> 2] > $3) | !(HEAPF32[$9 + $15 >> 2] > $3))) { + break label$28; + } + if (!(HEAPF32[$6 + $19 >> 2] > $3) | !(HEAPF32[$5 + $19 >> 2] > $3) | (!(HEAPF32[$9 + $19 >> 2] > $3) | !(HEAPF32[$6 + $20 >> 2] > $3))) { + break label$28; + } + if (!(HEAPF32[$5 + $20 >> 2] > $3) | !(HEAPF32[$9 + $20 >> 2] > $3) | (!(HEAPF32[$6 + $23 >> 2] > $3) | !(HEAPF32[$9 + $23 >> 2] > $3))) { + break label$28; + } + if (!(HEAPF32[$9 + $13 >> 2] > $3) | (!(HEAPF32[$6 + $13 >> 2] > $3) | !(HEAPF32[$5 + $13 >> 2] > $3))) { + break label$28; + } + $29 = Math_fround($10 + Math_fround(-.5)); + if (!(float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $29, $24) > $3)) { + break label$28; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $10, $24))) { + break label$28; + } + $3 = Math_fround($10 + Math_fround(.5)); + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $3, $24))) { + break label$28; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $29, $16))) { + break label$28; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $10, $16))) { + break label$28; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $3, $16))) { + break label$28; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $29, $28))) { + break label$28; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $10, $28))) { + break label$28; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($8, $3, $28))) { + break label$28; + } + } + HEAP32[$11 + 24 >> 2] = $30; + HEAP32[$11 + 20 >> 2] = $25; + HEAPF32[$11 + 32 >> 2] = HEAPF32[$4 >> 2]; + wasm2js_i32$0 = $11, wasm2js_f32$0 = vision__GaussianScaleSpacePyramid__effectiveSigma_28unsigned_20long_2c_20float_29_20const($1, $25, $27), + HEAPF32[wasm2js_i32$0 + 36 >> 2] = wasm2js_f32$0; + vision__bilinear_upsample_point_28float__2c_20float__2c_20float_2c_20float_2c_20int_29($11 + 8 | 0, $34, $22, $33, $25); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____push_back_28vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($32, $11 + 8 | 0); + } + $0 = $0 + 1 | 0; + continue; + } + } + } + $0 = $36; + if ((vision__Image__width_28_29_20const($7) >>> 1 | 0) != (vision__Image__width_28_29_20const($12) | 0)) { + continue; + } + if ((vision__Image__width_28_29_20const($7) >>> 1 | 0) != (vision__Image__width_28_29_20const($8) | 0)) { + continue; + } + if ((vision__Image__height_28_29_20const($7) >>> 1 | 0) != (vision__Image__height_28_29_20const($12) | 0)) { + break label$5; + } + if ((vision__Image__height_28_29_20const($7) >>> 1 | 0) != (vision__Image__height_28_29_20const($8) | 0)) { + break label$4; + } + $4 = 1; + $0 = vision__Image__width_28_29_20const($12) - 1 | 0; + $23 = $0 >>> 0 > 1 ? $0 : 1; + $0 = vision__Image__height_28_29_20const($12) - 1 | 0; + $20 = $0 >>> 0 > 1 ? $0 : 1; + $33 = Math_fround($30 | 0); + label$31: while (1) { + if (($4 | 0) == ($20 | 0)) { + break label$3; + } + $0 = 1; + $22 = Math_fround(Math_fround($4 << 1 >>> 0) + Math_fround(.5)); + $24 = Math_fround($22 + Math_fround(2)); + $16 = Math_fround($22 + Math_fround(-2)); + $28 = Math_fround($4 >>> 0); + $5 = $4 - 1 | 0; + $14 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($12, $5); + $26 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($12, $4); + $17 = $4 + 1 | 0; + $18 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($12, $17); + $19 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($8, $5); + $21 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($8, $4); + $13 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($8, $17); + while (1) if (($0 | 0) == ($23 | 0)) { + $4 = $17; + continue label$31; + } else { + $5 = $0 << 2; + $4 = $26 + $5 | 0; + label$35: { + if (float_20vision__sqr_float__28float_29(HEAPF32[$4 >> 2]) < $35) { + break label$35; + } + $10 = Math_fround(Math_fround($0 << 1 >>> 0) + Math_fround(.5)); + $3 = HEAPF32[$4 >> 2]; + $6 = $0 - 1 << 2; + $9 = $14 + $6 | 0; + label$36: { + label$37: { + if (!($3 > HEAPF32[$9 >> 2]) | !(HEAPF32[$5 + $14 >> 2] < $3)) { + break label$37; + } + $15 = $0 + 1 << 2; + if (!(HEAPF32[$15 + $14 >> 2] < $3) | !(HEAPF32[$6 + $26 >> 2] < $3) | (!(HEAPF32[$15 + $26 >> 2] < $3) | !(HEAPF32[$6 + $18 >> 2] < $3))) { + break label$37; + } + if (!(HEAPF32[$5 + $18 >> 2] < $3) | !(HEAPF32[$15 + $18 >> 2] < $3) | (!(HEAPF32[$6 + $19 >> 2] < $3) | !(HEAPF32[$5 + $19 >> 2] < $3))) { + break label$37; + } + if (!(HEAPF32[$15 + $19 >> 2] < $3) | !(HEAPF32[$6 + $21 >> 2] < $3) | (!(HEAPF32[$5 + $21 >> 2] < $3) | !(HEAPF32[$15 + $21 >> 2] < $3))) { + break label$37; + } + if (!(HEAPF32[$13 + $15 >> 2] < $3) | (!(HEAPF32[$6 + $13 >> 2] < $3) | !(HEAPF32[$5 + $13 >> 2] < $3))) { + break label$37; + } + $27 = Math_fround($10 + Math_fround(-2)); + if (!(float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $27, $16) < $3)) { + break label$37; + } + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $10, $16))) { + break label$37; + } + $3 = Math_fround($10 + Math_fround(2)); + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $3, $16))) { + break label$37; + } + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $27, $22))) { + break label$37; + } + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $10, $22))) { + break label$37; + } + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $3, $22))) { + break label$37; + } + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $27, $24))) { + break label$37; + } + if (!(HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $10, $24))) { + break label$37; + } + if (HEAPF32[$4 >> 2] > float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $3, $24)) { + break label$36; + } + } + $3 = HEAPF32[$4 >> 2]; + if (!($3 < HEAPF32[$9 >> 2]) | !(HEAPF32[$5 + $14 >> 2] > $3)) { + break label$35; + } + $9 = $0 + 1 << 2; + if (!(HEAPF32[$14 + $9 >> 2] > $3) | !(HEAPF32[$6 + $26 >> 2] > $3) | (!(HEAPF32[$9 + $26 >> 2] > $3) | !(HEAPF32[$6 + $18 >> 2] > $3))) { + break label$35; + } + if (!(HEAPF32[$5 + $18 >> 2] > $3) | !(HEAPF32[$9 + $18 >> 2] > $3) | (!(HEAPF32[$6 + $19 >> 2] > $3) | !(HEAPF32[$5 + $19 >> 2] > $3))) { + break label$35; + } + if (!(HEAPF32[$9 + $19 >> 2] > $3) | !(HEAPF32[$6 + $21 >> 2] > $3) | (!(HEAPF32[$5 + $21 >> 2] > $3) | !(HEAPF32[$9 + $21 >> 2] > $3))) { + break label$35; + } + if (!(HEAPF32[$9 + $13 >> 2] > $3) | (!(HEAPF32[$6 + $13 >> 2] > $3) | !(HEAPF32[$5 + $13 >> 2] > $3))) { + break label$35; + } + $27 = Math_fround($10 + Math_fround(-2)); + if (!(float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $27, $16) > $3)) { + break label$35; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $10, $16))) { + break label$35; + } + $3 = Math_fround($10 + Math_fround(2)); + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $3, $16))) { + break label$35; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $27, $22))) { + break label$35; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $10, $22))) { + break label$35; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $3, $22))) { + break label$35; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $27, $24))) { + break label$35; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $10, $24))) { + break label$35; + } + if (!(HEAPF32[$4 >> 2] < float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($7, $3, $24))) { + break label$35; + } + } + HEAP32[$11 + 24 >> 2] = $30; + HEAP32[$11 + 20 >> 2] = $25; + HEAPF32[$11 + 32 >> 2] = HEAPF32[$4 >> 2]; + wasm2js_i32$0 = $11, wasm2js_f32$0 = vision__GaussianScaleSpacePyramid__effectiveSigma_28unsigned_20long_2c_20float_29_20const($1, $25, $33), + HEAPF32[wasm2js_i32$0 + 36 >> 2] = wasm2js_f32$0; + vision__bilinear_upsample_point_28float__2c_20float__2c_20float_2c_20float_2c_20int_29($11 + 8 | 0, $34, Math_fround($0 >>> 0), $28, $25); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____push_back_28vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($32, $11 + 8 | 0); + } + $0 = $0 + 1 | 0; + continue; + } + } + } + __stack_pointer = $11 + 48 | 0; + return; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 18772), 2098), 3289), 192), 3786), 18869), 16); + break label$2; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 19397), 2098), 3289), 193), 3786), 18869), 16); + break label$2; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 18772), 2098), 3289), 277), 3786), 18869), 16); + break label$2; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 19585), 2098), 3289), 278), 3786), 18869), 16); + break label$2; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 19799), 2098), 3289), 362), 3786), 18869), 16); + break label$2; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 20012), 2098), 3289), 363), 3786), 18869), 16); + break label$2; + } + $0 = $36; + continue; } + break; } + abort(); + abort(); } -function simpleReadValueFromPointer(pointer) { - return this["fromWireType"](HEAPU32[pointer >> 2]); -} - -function __embind_register_emval(rawType, name) { - name = readLatin1String(name); - registerType(rawType, { - name: name, - "fromWireType": function(handle) { - var rv = emval_handle_array[handle].value; - __emval_decref(handle); - return rv; - }, - "toWireType": function(destructors, value) { - return __emval_register(value); - }, - "argPackAdvance": 8, - "readValueFromPointer": simpleReadValueFromPointer, - destructorFunction: null - }); -} - -function _embind_repr(v) { - if (v === null) { - return "null"; - } - var t = typeof v; - if (t === "object" || t === "array" || t === "function") { - return v.toString(); - } else { - return "" + v; - } -} - -function floatReadValueFromPointer(name, shift) { - switch (shift) { - case 2: - return function(pointer) { - return this["fromWireType"](HEAPF32[pointer >> 2]); - }; - - case 3: - return function(pointer) { - return this["fromWireType"](HEAPF64[pointer >> 3]); - }; - - default: - throw new TypeError("Unknown float type: " + name); - } -} - -function __embind_register_float(rawType, name, size) { - var shift = getShiftFromSize(size); - name = readLatin1String(name); - registerType(rawType, { - name: name, - "fromWireType": function(value) { - return value; - }, - "toWireType": function(destructors, value) { - if (typeof value !== "number" && typeof value !== "boolean") { - throw new TypeError('Cannot convert "' + _embind_repr(value) + '" to ' + this.name); - } - return value; - }, - "argPackAdvance": 8, - "readValueFromPointer": floatReadValueFromPointer(name, shift), - destructorFunction: null - }); -} - -function new_(constructor, argumentList) { - if (!(constructor instanceof Function)) { - throw new TypeError("new_ called with constructor type " + typeof constructor + " which is not a function"); - } - var dummy = createNamedFunction(constructor.name || "unknownFunctionName", function() {}); - dummy.prototype = constructor.prototype; - var obj = new dummy(); - var r = constructor.apply(obj, argumentList); - return r instanceof Object ? r : obj; -} - -function runDestructors(destructors) { - while (destructors.length) { - var ptr = destructors.pop(); - var del = destructors.pop(); - del(ptr); - } -} - -function craftInvokerFunction(humanName, argTypes, classType, cppInvokerFunc, cppTargetFunc) { - var argCount = argTypes.length; - if (argCount < 2) { - throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!"); - } - var isClassMethodFunc = argTypes[1] !== null && classType !== null; - var needsDestructorStack = false; - for (var i = 1; i < argTypes.length; ++i) { - if (argTypes[i] !== null && argTypes[i].destructorFunction === undefined) { - needsDestructorStack = true; - break; - } - } - var returns = argTypes[0].name !== "void"; - var argsList = ""; - var argsListWired = ""; - for (var i = 0; i < argCount - 2; ++i) { - argsList += (i !== 0 ? ", " : "") + "arg" + i; - argsListWired += (i !== 0 ? ", " : "") + "arg" + i + "Wired"; - } - var invokerFnBody = "return function " + makeLegalFunctionName(humanName) + "(" + argsList + ") {\n" + "if (arguments.length !== " + (argCount - 2) + ") {\n" + "throwBindingError('function " + humanName + " called with ' + arguments.length + ' arguments, expected " + (argCount - 2) + " args!');\n" + "}\n"; - if (needsDestructorStack) { - invokerFnBody += "var destructors = [];\n"; - } - var dtorStack = needsDestructorStack ? "destructors" : "null"; - var args1 = [ "throwBindingError", "invoker", "fn", "runDestructors", "retType", "classParam" ]; - var args2 = [ throwBindingError, cppInvokerFunc, cppTargetFunc, runDestructors, argTypes[0], argTypes[1] ]; - if (isClassMethodFunc) { - invokerFnBody += "var thisWired = classParam.toWireType(" + dtorStack + ", this);\n"; - } - for (var i = 0; i < argCount - 2; ++i) { - invokerFnBody += "var arg" + i + "Wired = argType" + i + ".toWireType(" + dtorStack + ", arg" + i + "); // " + argTypes[i + 2].name + "\n"; - args1.push("argType" + i); - args2.push(argTypes[i + 2]); - } - if (isClassMethodFunc) { - argsListWired = "thisWired" + (argsListWired.length > 0 ? ", " : "") + argsListWired; - } - invokerFnBody += (returns ? "var rv = " : "") + "invoker(fn" + (argsListWired.length > 0 ? ", " : "") + argsListWired + ");\n"; - if (needsDestructorStack) { - invokerFnBody += "runDestructors(destructors);\n"; - } else { - for (var i = isClassMethodFunc ? 1 : 2; i < argTypes.length; ++i) { - var paramName = i === 1 ? "thisWired" : "arg" + (i - 2) + "Wired"; - if (argTypes[i].destructorFunction !== null) { - invokerFnBody += paramName + "_dtor(" + paramName + "); // " + argTypes[i].name + "\n"; - args1.push(paramName + "_dtor"); - args2.push(argTypes[i].destructorFunction); - } - } - } - if (returns) { - invokerFnBody += "var ret = retType.fromWireType(rv);\n" + "return ret;\n"; - } else {} - invokerFnBody += "}\n"; - args1.push(invokerFnBody); - var invokerFunction = new_(Function, args1).apply(null, args2); - return invokerFunction; -} - -function ensureOverloadTable(proto, methodName, humanName) { - if (undefined === proto[methodName].overloadTable) { - var prevFunc = proto[methodName]; - proto[methodName] = function() { - if (!proto[methodName].overloadTable.hasOwnProperty(arguments.length)) { - throwBindingError("Function '" + humanName + "' called with an invalid number of arguments (" + arguments.length + ") - expects one of (" + proto[methodName].overloadTable + ")!"); +function dlmalloc($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $11 = __stack_pointer - 16 | 0; + __stack_pointer = $11; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + label$10: { + label$11: { + if ($0 >>> 0 <= 244) { + $6 = HEAP32[19928]; + $5 = $0 >>> 0 < 11 ? 16 : $0 + 11 & -8; + $1 = $5 >>> 3 | 0; + $0 = $6 >>> $1 | 0; + if ($0 & 3) { + $2 = (($0 ^ -1) & 1) + $1 | 0; + $1 = $2 << 3; + $0 = $1 + 79752 | 0; + $1 = HEAP32[$1 + 79760 >> 2]; + $5 = HEAP32[$1 + 8 >> 2]; + label$14: { + if (($0 | 0) == ($5 | 0)) { + wasm2js_i32$0 = 79712, wasm2js_i32$1 = __wasm_rotl_i32(-2, $2) & $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$14; + } + HEAP32[$5 + 12 >> 2] = $0; + HEAP32[$0 + 8 >> 2] = $5; + } + $0 = $1 + 8 | 0; + $2 = $2 << 3; + HEAP32[$1 + 4 >> 2] = $2 | 3; + $1 = $1 + $2 | 0; + HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] | 1; + break label$1; + } + $8 = HEAP32[19930]; + if ($8 >>> 0 >= $5 >>> 0) { + break label$11; + } + if ($0) { + $2 = $0 << $1; + $0 = 2 << $1; + $0 = $2 & ($0 | 0 - $0); + $0 = ($0 & 0 - $0) - 1 | 0; + $2 = $0; + $0 = $0 >>> 12 & 16; + $1 = $2 >>> $0 | 0; + $2 = $1 >>> 5 & 8; + $3 = $0 | $2; + $0 = $1 >>> $2 | 0; + $1 = $0 >>> 2 & 4; + $2 = $3 | $1; + $0 = $0 >>> $1 | 0; + $1 = $0 >>> 1 & 2; + $2 = $2 | $1; + $0 = $0 >>> $1 | 0; + $1 = $0 >>> 1 & 1; + $1 = ($2 | $1) + ($0 >>> $1 | 0) | 0; + $0 = $1 << 3; + $2 = $0 + 79752 | 0; + $0 = HEAP32[$0 + 79760 >> 2]; + $3 = HEAP32[$0 + 8 >> 2]; + label$17: { + if (($2 | 0) == ($3 | 0)) { + $6 = __wasm_rotl_i32(-2, $1) & $6; + HEAP32[19928] = $6; + break label$17; + } + HEAP32[$3 + 12 >> 2] = $2; + HEAP32[$2 + 8 >> 2] = $3; + } + HEAP32[$0 + 4 >> 2] = $5 | 3; + $3 = $0 + $5 | 0; + $1 = $1 << 3; + $2 = $1 - $5 | 0; + HEAP32[$3 + 4 >> 2] = $2 | 1; + HEAP32[$0 + $1 >> 2] = $2; + if ($8) { + $5 = ($8 & -8) + 79752 | 0; + $1 = HEAP32[19933]; + $4 = 1 << ($8 >>> 3); + label$20: { + if (!($6 & $4)) { + HEAP32[19928] = $4 | $6; + $4 = $5; + break label$20; + } + $4 = HEAP32[$5 + 8 >> 2]; + } + HEAP32[$5 + 8 >> 2] = $1; + HEAP32[$4 + 12 >> 2] = $1; + HEAP32[$1 + 12 >> 2] = $5; + HEAP32[$1 + 8 >> 2] = $4; + } + $0 = $0 + 8 | 0; + HEAP32[19933] = $3; + HEAP32[19930] = $2; + break label$1; + } + $9 = HEAP32[19929]; + if (!$9) { + break label$11; + } + $0 = (0 - $9 & $9) - 1 | 0; + $2 = $0; + $0 = $0 >>> 12 & 16; + $1 = $2 >>> $0 | 0; + $2 = $1 >>> 5 & 8; + $3 = $0 | $2; + $0 = $1 >>> $2 | 0; + $1 = $0 >>> 2 & 4; + $2 = $3 | $1; + $0 = $0 >>> $1 | 0; + $1 = $0 >>> 1 & 2; + $2 = $2 | $1; + $0 = $0 >>> $1 | 0; + $1 = $0 >>> 1 & 1; + $3 = HEAP32[(($2 | $1) + ($0 >>> $1 | 0) << 2) + 80016 >> 2]; + $1 = (HEAP32[$3 + 4 >> 2] & -8) - $5 | 0; + $2 = $3; + while (1) { + label$23: { + $0 = HEAP32[$2 + 16 >> 2]; + if (!$0) { + $0 = HEAP32[$2 + 20 >> 2]; + if (!$0) { + break label$23; + } + } + $2 = (HEAP32[$0 + 4 >> 2] & -8) - $5 | 0; + $4 = $2; + $2 = $1 >>> 0 > $2 >>> 0; + $1 = $2 ? $4 : $1; + $3 = $2 ? $0 : $3; + $2 = $0; + continue; + } + break; + } + $10 = HEAP32[$3 + 24 >> 2]; + $4 = HEAP32[$3 + 12 >> 2]; + if (($4 | 0) != ($3 | 0)) { + $0 = HEAP32[$3 + 8 >> 2]; + HEAP32[$0 + 12 >> 2] = $4; + HEAP32[$4 + 8 >> 2] = $0; + break label$2; + } + $2 = $3 + 20 | 0; + $0 = HEAP32[$2 >> 2]; + if (!$0) { + $0 = HEAP32[$3 + 16 >> 2]; + if (!$0) { + break label$10; + } + $2 = $3 + 16 | 0; + } + while (1) { + $7 = $2; + $4 = $0; + $2 = $0 + 20 | 0; + $0 = HEAP32[$2 >> 2]; + if ($0) { + continue; + } + $2 = $4 + 16 | 0; + $0 = HEAP32[$4 + 16 >> 2]; + if ($0) { + continue; + } + break; + } + HEAP32[$7 >> 2] = 0; + break label$2; + } + $5 = -1; + if ($0 >>> 0 > 4294967231) { + break label$11; + } + $0 = $0 + 11 | 0; + $5 = $0 & -8; + $8 = HEAP32[19929]; + if (!$8) { + break label$11; + } + $7 = 0; + label$28: { + if ($5 >>> 0 < 256) { + break label$28; + } + $7 = 31; + if ($5 >>> 0 > 16777215) { + break label$28; + } + $0 = $0 >>> 8 | 0; + $2 = $0; + $0 = $0 + 1048320 >>> 16 & 8; + $1 = $2 << $0; + $2 = $1; + $1 = $1 + 520192 >>> 16 & 4; + $2 = $2 << $1; + $3 = $2; + $2 = $2 + 245760 >>> 16 & 2; + $0 = ($3 << $2 >>> 15 | 0) - ($0 | $1 | $2) | 0; + $7 = ($0 << 1 | $5 >>> $0 + 21 & 1) + 28 | 0; + } + $1 = 0 - $5 | 0; + $2 = HEAP32[($7 << 2) + 80016 >> 2]; + label$29: { + label$30: { + label$31: { + if (!$2) { + $0 = 0; + break label$31; + } + $0 = 0; + $3 = $5 << (($7 | 0) == 31 ? 0 : 25 - ($7 >>> 1 | 0) | 0); + while (1) { + label$34: { + $6 = (HEAP32[$2 + 4 >> 2] & -8) - $5 | 0; + if ($6 >>> 0 >= $1 >>> 0) { + break label$34; + } + $4 = $2; + $1 = $6; + if ($1) { + break label$34; + } + $1 = 0; + $0 = $2; + break label$30; + } + $6 = HEAP32[$2 + 20 >> 2]; + $2 = HEAP32[(($3 >>> 29 & 4) + $2 | 0) + 16 >> 2]; + $0 = $6 ? ($6 | 0) == ($2 | 0) ? $0 : $6 : $0; + $3 = $3 << 1; + if ($2) { + continue; + } + break; + } + } + if (!($0 | $4)) { + $4 = 0; + $0 = 2 << $7; + $0 = ($0 | 0 - $0) & $8; + if (!$0) { + break label$11; + } + $0 = (0 - $0 & $0) - 1 | 0; + $2 = $0; + $0 = $0 >>> 12 & 16; + $2 = $2 >>> $0 | 0; + $3 = $2 >>> 5 & 8; + $6 = $0 | $3; + $0 = $2 >>> $3 | 0; + $2 = $0 >>> 2 & 4; + $3 = $6 | $2; + $0 = $0 >>> $2 | 0; + $2 = $0 >>> 1 & 2; + $3 = $3 | $2; + $0 = $0 >>> $2 | 0; + $2 = $0 >>> 1 & 1; + $0 = HEAP32[(($3 | $2) + ($0 >>> $2 | 0) << 2) + 80016 >> 2]; + } + if (!$0) { + break label$29; + } + } + while (1) { + $6 = (HEAP32[$0 + 4 >> 2] & -8) - $5 | 0; + $3 = $6 >>> 0 < $1 >>> 0; + $1 = $3 ? $6 : $1; + $4 = $3 ? $0 : $4; + $2 = HEAP32[$0 + 16 >> 2]; + if (!$2) { + $2 = HEAP32[$0 + 20 >> 2]; + } + $0 = $2; + if ($0) { + continue; + } + break; + } + } + if (!$4 | HEAP32[19930] - $5 >>> 0 <= $1 >>> 0) { + break label$11; + } + $7 = HEAP32[$4 + 24 >> 2]; + $3 = HEAP32[$4 + 12 >> 2]; + if (($4 | 0) != ($3 | 0)) { + $0 = HEAP32[$4 + 8 >> 2]; + HEAP32[$0 + 12 >> 2] = $3; + HEAP32[$3 + 8 >> 2] = $0; + break label$3; + } + $2 = $4 + 20 | 0; + $0 = HEAP32[$2 >> 2]; + if (!$0) { + $0 = HEAP32[$4 + 16 >> 2]; + if (!$0) { + break label$9; + } + $2 = $4 + 16 | 0; + } + while (1) { + $6 = $2; + $3 = $0; + $2 = $0 + 20 | 0; + $0 = HEAP32[$2 >> 2]; + if ($0) { + continue; + } + $2 = $3 + 16 | 0; + $0 = HEAP32[$3 + 16 >> 2]; + if ($0) { + continue; + } + break; + } + HEAP32[$6 >> 2] = 0; + break label$3; + } + $0 = HEAP32[19930]; + if ($5 >>> 0 <= $0 >>> 0) { + $1 = HEAP32[19933]; + $2 = $0 - $5 | 0; + label$42: { + if ($2 >>> 0 >= 16) { + HEAP32[19930] = $2; + $3 = $1 + $5 | 0; + HEAP32[19933] = $3; + HEAP32[$3 + 4 >> 2] = $2 | 1; + HEAP32[$0 + $1 >> 2] = $2; + HEAP32[$1 + 4 >> 2] = $5 | 3; + break label$42; + } + HEAP32[19933] = 0; + HEAP32[19930] = 0; + HEAP32[$1 + 4 >> 2] = $0 | 3; + $0 = $0 + $1 | 0; + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] | 1; + } + $0 = $1 + 8 | 0; + break label$1; + } + $3 = HEAP32[19931]; + if ($5 >>> 0 < $3 >>> 0) { + $1 = $3 - $5 | 0; + HEAP32[19931] = $1; + $0 = HEAP32[19934]; + $2 = $5 + $0 | 0; + HEAP32[19934] = $2; + HEAP32[$2 + 4 >> 2] = $1 | 1; + HEAP32[$0 + 4 >> 2] = $5 | 3; + $0 = $0 + 8 | 0; + break label$1; + } + $0 = 0; + $8 = $5 + 47 | 0; + if (HEAP32[20046]) { + $1 = HEAP32[20048]; + } else { + HEAP32[20049] = -1; + HEAP32[20050] = -1; + HEAP32[20047] = 4096; + HEAP32[20048] = 4096; + HEAP32[20046] = $11 + 12 & -16 ^ 1431655768; + HEAP32[20051] = 0; + HEAP32[20039] = 0; + $1 = 4096; + } + $6 = $8 + $1 | 0; + $7 = 0 - $1 | 0; + $4 = $6 & $7; + if ($5 >>> 0 >= $4 >>> 0) { + break label$1; + } + $1 = HEAP32[20038]; + if ($1) { + $2 = HEAP32[20036]; + $9 = $4 + $2 | 0; + if ($1 >>> 0 < $9 >>> 0 | $2 >>> 0 >= $9 >>> 0) { + break label$1; + } + } + if (HEAPU8[80156] & 4) { + break label$6; + } + label$48: { + label$49: { + $1 = HEAP32[19934]; + if ($1) { + $0 = 80160; + while (1) { + $2 = HEAP32[$0 >> 2]; + if ($2 >>> 0 <= $1 >>> 0 & HEAP32[$0 + 4 >> 2] + $2 >>> 0 > $1 >>> 0) { + break label$49; + } + $0 = HEAP32[$0 + 8 >> 2]; + if ($0) { + continue; + } + break; + } + } + $3 = sbrk(0); + if (($3 | 0) == -1) { + break label$7; + } + $6 = $4; + $0 = HEAP32[20047]; + $1 = $0 - 1 | 0; + if ($3 & $1) { + $6 = ($4 - $3 | 0) + ($1 + $3 & 0 - $0) | 0; + } + if ($6 >>> 0 > 2147483646 | $5 >>> 0 >= $6 >>> 0) { + break label$7; + } + $0 = HEAP32[20038]; + if ($0) { + $1 = HEAP32[20036]; + $2 = $6 + $1 | 0; + if ($0 >>> 0 < $2 >>> 0 | $1 >>> 0 >= $2 >>> 0) { + break label$7; + } + } + $0 = sbrk($6); + if (($3 | 0) != ($0 | 0)) { + break label$48; + } + break label$5; + } + $6 = $6 - $3 & $7; + if ($6 >>> 0 > 2147483646) { + break label$7; + } + $3 = sbrk($6); + if (($3 | 0) == (HEAP32[$0 >> 2] + HEAP32[$0 + 4 >> 2] | 0)) { + break label$8; + } + $0 = $3; + } + if (!(($0 | 0) == -1 | $5 + 48 >>> 0 <= $6 >>> 0)) { + $1 = HEAP32[20048]; + $1 = $1 + ($8 - $6 | 0) & 0 - $1; + if ($1 >>> 0 > 2147483646) { + $3 = $0; + break label$5; + } + if ((sbrk($1) | 0) != -1) { + $6 = $1 + $6 | 0; + $3 = $0; + break label$5; + } + sbrk(0 - $6 | 0); + break label$7; + } + $3 = $0; + if (($0 | 0) != -1) { + break label$5; + } + break label$7; + } + $4 = 0; + break label$2; + } + $3 = 0; + break label$3; + } + if (($3 | 0) != -1) { + break label$5; + } + } + HEAP32[20039] = HEAP32[20039] | 4; + } + if ($4 >>> 0 > 2147483646) { + break label$4; + } + $3 = sbrk($4); + $0 = sbrk(0); + if (($3 | 0) == -1 | ($0 | 0) == -1 | $0 >>> 0 <= $3 >>> 0) { + break label$4; + } + $6 = $0 - $3 | 0; + if ($6 >>> 0 <= $5 + 40 >>> 0) { + break label$4; + } + } + $0 = HEAP32[20036] + $6 | 0; + HEAP32[20036] = $0; + if (HEAPU32[20037] < $0 >>> 0) { + HEAP32[20037] = $0; + } + label$59: { + label$60: { + label$61: { + $1 = HEAP32[19934]; + if ($1) { + $0 = 80160; + while (1) { + $2 = HEAP32[$0 >> 2]; + $4 = HEAP32[$0 + 4 >> 2]; + if (($2 + $4 | 0) == ($3 | 0)) { + break label$61; + } + $0 = HEAP32[$0 + 8 >> 2]; + if ($0) { + continue; + } + break; + } + break label$60; + } + $0 = HEAP32[19932]; + if (!($0 >>> 0 <= $3 >>> 0 ? $0 : 0)) { + HEAP32[19932] = $3; + } + $0 = 0; + HEAP32[20041] = $6; + HEAP32[20040] = $3; + HEAP32[19936] = -1; + HEAP32[19937] = HEAP32[20046]; + HEAP32[20043] = 0; + while (1) { + $1 = $0 << 3; + $2 = $1 + 79752 | 0; + HEAP32[$1 + 79760 >> 2] = $2; + HEAP32[$1 + 79764 >> 2] = $2; + $0 = $0 + 1 | 0; + if (($0 | 0) != 32) { + continue; + } + break; + } + $0 = $6 - 40 | 0; + $1 = $3 + 8 & 7 ? -8 - $3 & 7 : 0; + $2 = $0 - $1 | 0; + HEAP32[19931] = $2; + $1 = $1 + $3 | 0; + HEAP32[19934] = $1; + HEAP32[$1 + 4 >> 2] = $2 | 1; + HEAP32[($0 + $3 | 0) + 4 >> 2] = 40; + HEAP32[19935] = HEAP32[20050]; + break label$59; + } + if (HEAPU8[$0 + 12 | 0] & 8 | $1 >>> 0 < $2 >>> 0 | $1 >>> 0 >= $3 >>> 0) { + break label$60; + } + HEAP32[$0 + 4 >> 2] = $4 + $6; + $0 = $1 + 8 & 7 ? -8 - $1 & 7 : 0; + $2 = $1 + $0 | 0; + HEAP32[19934] = $2; + $3 = HEAP32[19931] + $6 | 0; + $0 = $3 - $0 | 0; + HEAP32[19931] = $0; + HEAP32[$2 + 4 >> 2] = $0 | 1; + HEAP32[($1 + $3 | 0) + 4 >> 2] = 40; + HEAP32[19935] = HEAP32[20050]; + break label$59; + } + $4 = HEAP32[19932]; + if ($4 >>> 0 > $3 >>> 0) { + HEAP32[19932] = $3; + } + $2 = $3 + $6 | 0; + $0 = 80160; + label$67: { + label$68: { + label$69: { + label$70: { + label$71: { + label$72: { + while (1) { + if (HEAP32[$0 >> 2] != ($2 | 0)) { + $0 = HEAP32[$0 + 8 >> 2]; + if ($0) { + continue; + } + break label$72; + } + break; + } + if (!(HEAPU8[$0 + 12 | 0] & 8)) { + break label$71; + } + } + $0 = 80160; + while (1) { + $2 = HEAP32[$0 >> 2]; + if ($2 >>> 0 <= $1 >>> 0) { + $2 = HEAP32[$0 + 4 >> 2] + $2 | 0; + if ($2 >>> 0 > $1 >>> 0) { + break label$70; + } + } + $0 = HEAP32[$0 + 8 >> 2]; + continue; + } + } + HEAP32[$0 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] + $6; + $7 = ($3 + 8 & 7 ? -8 - $3 & 7 : 0) + $3 | 0; + HEAP32[$7 + 4 >> 2] = $5 | 3; + $6 = ($2 + 8 & 7 ? -8 - $2 & 7 : 0) + $2 | 0; + $5 = $5 + $7 | 0; + $0 = $6 - $5 | 0; + if (($1 | 0) == ($6 | 0)) { + HEAP32[19934] = $5; + $0 = HEAP32[19931] + $0 | 0; + HEAP32[19931] = $0; + HEAP32[$5 + 4 >> 2] = $0 | 1; + break label$68; + } + if (HEAP32[19933] == ($6 | 0)) { + HEAP32[19933] = $5; + $0 = HEAP32[19930] + $0 | 0; + HEAP32[19930] = $0; + HEAP32[$5 + 4 >> 2] = $0 | 1; + HEAP32[$0 + $5 >> 2] = $0; + break label$68; + } + $1 = HEAP32[$6 + 4 >> 2]; + if (($1 & 3) == 1) { + $8 = $1 & -8; + label$80: { + if ($1 >>> 0 <= 255) { + $2 = HEAP32[$6 + 8 >> 2]; + $4 = $1 >>> 3 | 0; + $3 = ($4 << 3) + 79752 | 0; + $1 = HEAP32[$6 + 12 >> 2]; + if (($2 | 0) == ($1 | 0)) { + wasm2js_i32$0 = 79712, wasm2js_i32$1 = HEAP32[19928] & __wasm_rotl_i32(-2, $4), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$80; + } + HEAP32[$2 + 12 >> 2] = $1; + HEAP32[$1 + 8 >> 2] = $2; + break label$80; + } + $9 = HEAP32[$6 + 24 >> 2]; + $3 = HEAP32[$6 + 12 >> 2]; + label$83: { + if (($6 | 0) != ($3 | 0)) { + $1 = HEAP32[$6 + 8 >> 2]; + HEAP32[$1 + 12 >> 2] = $3; + HEAP32[$3 + 8 >> 2] = $1; + break label$83; + } + label$85: { + $1 = $6 + 20 | 0; + $2 = HEAP32[$1 >> 2]; + if ($2) { + break label$85; + } + $1 = $6 + 16 | 0; + $2 = HEAP32[$1 >> 2]; + if ($2) { + break label$85; + } + $3 = 0; + break label$83; + } + while (1) { + $4 = $1; + $3 = $2; + $1 = $3 + 20 | 0; + $2 = HEAP32[$1 >> 2]; + if ($2) { + continue; + } + $1 = $3 + 16 | 0; + $2 = HEAP32[$3 + 16 >> 2]; + if ($2) { + continue; + } + break; + } + HEAP32[$4 >> 2] = 0; + } + if (!$9) { + break label$80; + } + $2 = HEAP32[$6 + 28 >> 2]; + $1 = ($2 << 2) + 80016 | 0; + label$87: { + if (HEAP32[$1 >> 2] == ($6 | 0)) { + HEAP32[$1 >> 2] = $3; + if ($3) { + break label$87; + } + wasm2js_i32$0 = 79716, wasm2js_i32$1 = HEAP32[19929] & __wasm_rotl_i32(-2, $2), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$80; + } + HEAP32[(HEAP32[$9 + 16 >> 2] == ($6 | 0) ? 16 : 20) + $9 >> 2] = $3; + if (!$3) { + break label$80; + } + } + HEAP32[$3 + 24 >> 2] = $9; + $1 = HEAP32[$6 + 16 >> 2]; + if ($1) { + HEAP32[$3 + 16 >> 2] = $1; + HEAP32[$1 + 24 >> 2] = $3; + } + $1 = HEAP32[$6 + 20 >> 2]; + if (!$1) { + break label$80; + } + HEAP32[$3 + 20 >> 2] = $1; + HEAP32[$1 + 24 >> 2] = $3; + } + $6 = $6 + $8 | 0; + $1 = HEAP32[$6 + 4 >> 2]; + $0 = $0 + $8 | 0; + } + HEAP32[$6 + 4 >> 2] = $1 & -2; + HEAP32[$5 + 4 >> 2] = $0 | 1; + HEAP32[$0 + $5 >> 2] = $0; + if ($0 >>> 0 <= 255) { + $1 = ($0 & -8) + 79752 | 0; + $0 = 1 << ($0 >>> 3); + $2 = HEAP32[19928]; + label$91: { + if (!($0 & $2)) { + HEAP32[19928] = $0 | $2; + $0 = $1; + break label$91; + } + $0 = HEAP32[$1 + 8 >> 2]; + } + HEAP32[$1 + 8 >> 2] = $5; + HEAP32[$0 + 12 >> 2] = $5; + HEAP32[$5 + 12 >> 2] = $1; + HEAP32[$5 + 8 >> 2] = $0; + break label$68; + } + $1 = 31; + if ($0 >>> 0 <= 16777215) { + $1 = $0 >>> 8 | 0; + $2 = $1; + $1 = $1 + 1048320 >>> 16 & 8; + $2 = $2 << $1; + $3 = $2; + $2 = $2 + 520192 >>> 16 & 4; + $3 = $3 << $2; + $4 = $3; + $3 = $3 + 245760 >>> 16 & 2; + $1 = ($4 << $3 >>> 15 | 0) - ($1 | $2 | $3) | 0; + $1 = ($1 << 1 | $0 >>> $1 + 21 & 1) + 28 | 0; + } + HEAP32[$5 + 28 >> 2] = $1; + HEAP32[$5 + 16 >> 2] = 0; + HEAP32[$5 + 20 >> 2] = 0; + $2 = ($1 << 2) + 80016 | 0; + $3 = HEAP32[19929]; + $4 = 1 << $1; + label$94: { + if (!($3 & $4)) { + HEAP32[19929] = $3 | $4; + HEAP32[$2 >> 2] = $5; + break label$94; + } + $1 = $0 << (($1 | 0) == 31 ? 0 : 25 - ($1 >>> 1 | 0) | 0); + $3 = HEAP32[$2 >> 2]; + while (1) { + $2 = $3; + if ((HEAP32[$3 + 4 >> 2] & -8) == ($0 | 0)) { + break label$69; + } + $3 = $1 >>> 29 | 0; + $1 = $1 << 1; + $6 = ($3 & 4) + $2 | 0; + $4 = $6 + 16 | 0; + $3 = HEAP32[$4 >> 2]; + if ($3) { + continue; + } + break; + } + HEAP32[$6 + 16 >> 2] = $5; + } + HEAP32[$5 + 24 >> 2] = $2; + HEAP32[$5 + 12 >> 2] = $5; + HEAP32[$5 + 8 >> 2] = $5; + break label$68; + } + $0 = $6 - 40 | 0; + $4 = $3 + 8 & 7 ? -8 - $3 & 7 : 0; + $7 = $0 - $4 | 0; + HEAP32[19931] = $7; + $4 = $3 + $4 | 0; + HEAP32[19934] = $4; + HEAP32[$4 + 4 >> 2] = $7 | 1; + HEAP32[($0 + $3 | 0) + 4 >> 2] = 40; + HEAP32[19935] = HEAP32[20050]; + $0 = (($2 - 39 & 7 ? 39 - $2 & 7 : 0) + $2 | 0) - 47 | 0; + $4 = $1 + 16 >>> 0 > $0 >>> 0 ? $1 : $0; + HEAP32[$4 + 4 >> 2] = 27; + $0 = HEAP32[20043]; + $7 = HEAP32[20042]; + HEAP32[$4 + 16 >> 2] = $7; + HEAP32[$4 + 20 >> 2] = $0; + $7 = HEAP32[20041]; + $0 = HEAP32[20040]; + HEAP32[$4 + 8 >> 2] = $0; + HEAP32[$4 + 12 >> 2] = $7; + HEAP32[20042] = $4 + 8; + HEAP32[20041] = $6; + HEAP32[20040] = $3; + HEAP32[20043] = 0; + $0 = $4 + 24 | 0; + while (1) { + HEAP32[$0 + 4 >> 2] = 7; + $3 = $0 + 8 | 0; + $0 = $0 + 4 | 0; + if ($2 >>> 0 > $3 >>> 0) { + continue; + } + break; + } + if (($1 | 0) == ($4 | 0)) { + break label$59; + } + HEAP32[$4 + 4 >> 2] = HEAP32[$4 + 4 >> 2] & -2; + $3 = $4 - $1 | 0; + HEAP32[$1 + 4 >> 2] = $3 | 1; + HEAP32[$4 >> 2] = $3; + if ($3 >>> 0 <= 255) { + $0 = ($3 & -8) + 79752 | 0; + $2 = HEAP32[19928]; + $3 = 1 << ($3 >>> 3); + label$99: { + if (!($2 & $3)) { + HEAP32[19928] = $2 | $3; + $2 = $0; + break label$99; + } + $2 = HEAP32[$0 + 8 >> 2]; + } + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $1; + HEAP32[$1 + 12 >> 2] = $0; + HEAP32[$1 + 8 >> 2] = $2; + break label$59; + } + $0 = 31; + if ($3 >>> 0 <= 16777215) { + $0 = $3 >>> 8 | 0; + $2 = $0; + $0 = $0 + 1048320 >>> 16 & 8; + $2 = $2 << $0; + $4 = $2; + $2 = $2 + 520192 >>> 16 & 4; + $4 = $4 << $2; + $6 = $4; + $4 = $4 + 245760 >>> 16 & 2; + $0 = ($6 << $4 >>> 15 | 0) - ($0 | $2 | $4) | 0; + $0 = ($0 << 1 | $3 >>> $0 + 21 & 1) + 28 | 0; + } + HEAP32[$1 + 28 >> 2] = $0; + HEAP32[$1 + 16 >> 2] = 0; + HEAP32[$1 + 20 >> 2] = 0; + $2 = ($0 << 2) + 80016 | 0; + $4 = HEAP32[19929]; + $6 = 1 << $0; + label$102: { + if (!($4 & $6)) { + HEAP32[19929] = $4 | $6; + HEAP32[$2 >> 2] = $1; + break label$102; + } + $0 = $3 << (($0 | 0) == 31 ? 0 : 25 - ($0 >>> 1 | 0) | 0); + $4 = HEAP32[$2 >> 2]; + while (1) { + $2 = $4; + if ((HEAP32[$2 + 4 >> 2] & -8) == ($3 | 0)) { + break label$67; + } + $4 = $0 >>> 29 | 0; + $0 = $0 << 1; + $7 = ($4 & 4) + $2 | 0; + $6 = $7 + 16 | 0; + $4 = HEAP32[$6 >> 2]; + if ($4) { + continue; + } + break; + } + HEAP32[$7 + 16 >> 2] = $1; + } + HEAP32[$1 + 24 >> 2] = $2; + HEAP32[$1 + 12 >> 2] = $1; + HEAP32[$1 + 8 >> 2] = $1; + break label$59; + } + $0 = HEAP32[$2 + 8 >> 2]; + HEAP32[$0 + 12 >> 2] = $5; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$5 + 24 >> 2] = 0; + HEAP32[$5 + 12 >> 2] = $2; + HEAP32[$5 + 8 >> 2] = $0; + } + $0 = $7 + 8 | 0; + break label$1; + } + $0 = HEAP32[$2 + 8 >> 2]; + HEAP32[$0 + 12 >> 2] = $1; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$1 + 24 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = $2; + HEAP32[$1 + 8 >> 2] = $0; + } + $0 = HEAP32[19931]; + if ($5 >>> 0 >= $0 >>> 0) { + break label$4; + } + $1 = $0 - $5 | 0; + HEAP32[19931] = $1; + $0 = HEAP32[19934]; + $2 = $5 + $0 | 0; + HEAP32[19934] = $2; + HEAP32[$2 + 4 >> 2] = $1 | 1; + HEAP32[$0 + 4 >> 2] = $5 | 3; + $0 = $0 + 8 | 0; + break label$1; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 48, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = 0; + break label$1; + } + label$105: { + if (!$7) { + break label$105; + } + $2 = HEAP32[$4 + 28 >> 2]; + $0 = ($2 << 2) + 80016 | 0; + label$106: { + if (HEAP32[$0 >> 2] == ($4 | 0)) { + HEAP32[$0 >> 2] = $3; + if ($3) { + break label$106; + } + $8 = __wasm_rotl_i32(-2, $2) & $8; + HEAP32[19929] = $8; + break label$105; + } + HEAP32[(HEAP32[$7 + 16 >> 2] == ($4 | 0) ? 16 : 20) + $7 >> 2] = $3; + if (!$3) { + break label$105; + } + } + HEAP32[$3 + 24 >> 2] = $7; + $0 = HEAP32[$4 + 16 >> 2]; + if ($0) { + HEAP32[$3 + 16 >> 2] = $0; + HEAP32[$0 + 24 >> 2] = $3; + } + $0 = HEAP32[$4 + 20 >> 2]; + if (!$0) { + break label$105; + } + HEAP32[$3 + 20 >> 2] = $0; + HEAP32[$0 + 24 >> 2] = $3; + } + label$109: { + if ($1 >>> 0 <= 15) { + $0 = $1 + $5 | 0; + HEAP32[$4 + 4 >> 2] = $0 | 3; + $0 = $0 + $4 | 0; + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] | 1; + break label$109; + } + HEAP32[$4 + 4 >> 2] = $5 | 3; + $3 = $5 + $4 | 0; + HEAP32[$3 + 4 >> 2] = $1 | 1; + HEAP32[$1 + $3 >> 2] = $1; + if ($1 >>> 0 <= 255) { + $0 = ($1 & -8) + 79752 | 0; + $1 = 1 << ($1 >>> 3); + $2 = HEAP32[19928]; + label$112: { + if (!($1 & $2)) { + HEAP32[19928] = $1 | $2; + $1 = $0; + break label$112; + } + $1 = HEAP32[$0 + 8 >> 2]; + } + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$1 + 12 >> 2] = $3; + HEAP32[$3 + 12 >> 2] = $0; + HEAP32[$3 + 8 >> 2] = $1; + break label$109; + } + $0 = 31; + if ($1 >>> 0 <= 16777215) { + $0 = $1 >>> 8 | 0; + $2 = $0; + $0 = $0 + 1048320 >>> 16 & 8; + $2 = $2 << $0; + $5 = $2; + $2 = $2 + 520192 >>> 16 & 4; + $5 = $5 << $2; + $6 = $5; + $5 = $5 + 245760 >>> 16 & 2; + $0 = ($6 << $5 >>> 15 | 0) - ($0 | $2 | $5) | 0; + $0 = ($0 << 1 | $1 >>> $0 + 21 & 1) + 28 | 0; + } + HEAP32[$3 + 28 >> 2] = $0; + HEAP32[$3 + 16 >> 2] = 0; + HEAP32[$3 + 20 >> 2] = 0; + $2 = ($0 << 2) + 80016 | 0; + label$115: { + $5 = 1 << $0; + label$116: { + if (!($8 & $5)) { + HEAP32[19929] = $5 | $8; + HEAP32[$2 >> 2] = $3; + break label$116; + } + $0 = $1 << (($0 | 0) == 31 ? 0 : 25 - ($0 >>> 1 | 0) | 0); + $5 = HEAP32[$2 >> 2]; + while (1) { + $2 = $5; + if ((HEAP32[$2 + 4 >> 2] & -8) == ($1 | 0)) { + break label$115; + } + $5 = $0 >>> 29 | 0; + $0 = $0 << 1; + $7 = ($5 & 4) + $2 | 0; + $6 = $7 + 16 | 0; + $5 = HEAP32[$6 >> 2]; + if ($5) { + continue; + } + break; + } + HEAP32[$7 + 16 >> 2] = $3; + } + HEAP32[$3 + 24 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $3; + HEAP32[$3 + 8 >> 2] = $3; + break label$109; + } + $0 = HEAP32[$2 + 8 >> 2]; + HEAP32[$0 + 12 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $3; + HEAP32[$3 + 24 >> 2] = 0; + HEAP32[$3 + 12 >> 2] = $2; + HEAP32[$3 + 8 >> 2] = $0; + } + $0 = $4 + 8 | 0; + break label$1; + } + label$119: { + if (!$10) { + break label$119; + } + $2 = HEAP32[$3 + 28 >> 2]; + $0 = ($2 << 2) + 80016 | 0; + label$120: { + if (HEAP32[$0 >> 2] == ($3 | 0)) { + HEAP32[$0 >> 2] = $4; + if ($4) { + break label$120; + } + wasm2js_i32$0 = 79716, wasm2js_i32$1 = __wasm_rotl_i32(-2, $2) & $9, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$119; + } + HEAP32[(HEAP32[$10 + 16 >> 2] == ($3 | 0) ? 16 : 20) + $10 >> 2] = $4; + if (!$4) { + break label$119; + } + } + HEAP32[$4 + 24 >> 2] = $10; + $0 = HEAP32[$3 + 16 >> 2]; + if ($0) { + HEAP32[$4 + 16 >> 2] = $0; + HEAP32[$0 + 24 >> 2] = $4; + } + $0 = HEAP32[$3 + 20 >> 2]; + if (!$0) { + break label$119; + } + HEAP32[$4 + 20 >> 2] = $0; + HEAP32[$0 + 24 >> 2] = $4; + } + label$123: { + if ($1 >>> 0 <= 15) { + $0 = $1 + $5 | 0; + HEAP32[$3 + 4 >> 2] = $0 | 3; + $0 = $0 + $3 | 0; + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] | 1; + break label$123; + } + HEAP32[$3 + 4 >> 2] = $5 | 3; + $2 = $3 + $5 | 0; + HEAP32[$2 + 4 >> 2] = $1 | 1; + HEAP32[$1 + $2 >> 2] = $1; + if ($8) { + $5 = ($8 & -8) + 79752 | 0; + $0 = HEAP32[19933]; + $4 = 1 << ($8 >>> 3); + label$126: { + if (!($6 & $4)) { + HEAP32[19928] = $4 | $6; + $4 = $5; + break label$126; + } + $4 = HEAP32[$5 + 8 >> 2]; + } + HEAP32[$5 + 8 >> 2] = $0; + HEAP32[$4 + 12 >> 2] = $0; + HEAP32[$0 + 12 >> 2] = $5; + HEAP32[$0 + 8 >> 2] = $4; + } + HEAP32[19933] = $2; + HEAP32[19930] = $1; + } + $0 = $3 + 8 | 0; + } + __stack_pointer = $11 + 16 | 0; + return $0 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFoldExpr_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $4 = __stack_pointer - 528 | 0; + __stack_pointer = $4; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 102)) { + break label$1; + } + $6 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + label$2: { + if (($6 | 0) == 76) { + $5 = 1; + $7 = 1; + break label$2; + } + $3 = $6 & 255; + if (($3 | 0) != 114) { + $5 = 1; + $7 = 1; + if (($3 | 0) == 108) { + break label$2; + } + if (($3 | 0) != 82) { + break label$1; + } + } + $5 = 0; + $7 = 0; + } + HEAP8[$4 + 527 | 0] = $5; + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $5 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28_29($4 + 512 | 0); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 504 | 0, 34351); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 240 >> 2] = $1; + HEAP32[$2 + 244 >> 2] = $3; + label$5: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 240 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 38013); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 488 | 0, 31241); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 232 >> 2] = $1; + HEAP32[$2 + 236 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 232 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 38017); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 480 | 0, 35004); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 224 >> 2] = $1; + HEAP32[$2 + 228 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 224 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37251); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 472 | 0, 34701); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 216 >> 2] = $1; + HEAP32[$2 + 220 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 216 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37274); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 464 | 0, 31286); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 208 >> 2] = $1; + HEAP32[$2 + 212 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 208 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37694); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 456 | 0, 30380); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 200 >> 2] = $1; + HEAP32[$2 + 204 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 200 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37743); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 448 | 0, 28617); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 192 >> 2] = $1; + HEAP32[$2 + 196 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 192 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37644); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 440 | 0, 34586); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 184 >> 2] = $1; + HEAP32[$2 + 188 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 184 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37207); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 432 | 0, 30939); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 176 >> 2] = $1; + HEAP32[$2 + 180 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 176 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 34365); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 424 | 0, 34928); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 168 >> 2] = $1; + HEAP32[$2 + 172 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 168 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37139); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 416 | 0, 30829); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 160 >> 2] = $1; + HEAP32[$2 + 164 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 160 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37173); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 408 | 0, 32424); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 152 >> 2] = $1; + HEAP32[$2 + 156 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 152 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37162); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 400 | 0, 29595); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 144 >> 2] = $1; + HEAP32[$2 + 148 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 144 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37108); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 392 | 0, 32228); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 136 >> 2] = $1; + HEAP32[$2 + 140 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 136 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37196); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 384 | 0, 30271); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 128 >> 2] = $1; + HEAP32[$2 + 132 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 128 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37308); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 376 | 0, 34698); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 120 >> 2] = $1; + HEAP32[$2 + 124 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 120 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37195); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 368 | 0, 29592); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 112 >> 2] = $1; + HEAP32[$2 + 116 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 112 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37315); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 360 | 0, 31505); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 104 >> 2] = $1; + HEAP32[$2 + 108 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 104 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37684); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 352 | 0, 35321); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 96 >> 2] = $1; + HEAP32[$2 + 100 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 96 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37218); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 344 | 0, 31384); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 88 >> 2] = $1; + HEAP32[$2 + 92 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 88 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37744); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 336 | 0, 35221); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 80 >> 2] = $1; + HEAP32[$2 + 84 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 80 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37240); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 328 | 0, 31990); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 72 >> 2] = $1; + HEAP32[$2 + 76 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 72 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37273); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 320 | 0, 30910); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 64 >> 2] = $1; + HEAP32[$2 + 68 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 - -64 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 27953); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 312 | 0, 30527); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 56 >> 2] = $1; + HEAP32[$2 + 60 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 56 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 27964); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 304 | 0, 34840); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 48 >> 2] = $1; + HEAP32[$2 + 52 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 48 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37118); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 296 | 0, 31376); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 40 >> 2] = $1; + HEAP32[$2 + 44 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 40 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37715); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 288 | 0, 35218); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 32 >> 2] = $1; + HEAP32[$2 + 36 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 32 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37229); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 280 | 0, 31283); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 28 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 24 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 38027); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 272 | 0, 35201); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 16 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 16 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37262); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 264 | 0, 30167); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 8 | 0)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 36862); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 256 | 0, 34695); + $2 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $2; + $2 = $4; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2)) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 496 | 0, 37161); + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $3 = $5; + HEAP32[$3 >> 2] = $1; + HEAP32[$3 + 4 >> 2] = $2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$4 + 496 >> 2] = $3; + HEAP32[$4 + 252 >> 2] = 0; + if (!$3) { + break label$1; + } + label$36: { + if (($6 | 0) != 82 & ($6 & 255) != 76) { + break label$36; + } + $6 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$4 + 252 >> 2] = $6; + if (!$6) { + break label$1; + } + if (!$7) { + break label$36; + } + std____2__enable_if_is_move_constructible__28anonymous_20namespace_29__itanium_demangle__Node____value_20___20is_move_assignable__28anonymous_20namespace_29__itanium_demangle__Node____value_2c_20void___type_20std____2__swap__28anonymous_20namespace_29__itanium_demangle__Node___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($4 + 496 | 0, $4 + 252 | 0); + } + $8 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FoldExpr_2c_20bool__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28bool__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $4 + 527 | 0, $5, $4 + 496 | 0, $4 + 252 | 0); + } + __stack_pointer = $4 + 528 | 0; + return $8; +} + +function __divtf3($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var $9 = 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, $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; + $15 = __stack_pointer - 336 | 0; + __stack_pointer = $15; + $12 = $7; + $20 = $12; + $10 = $8; + $9 = $10 & 65535; + $18 = $9; + $10 = $3; + $30 = $10; + $9 = $4; + $12 = $9 & 65535; + $27 = $12; + $12 = $9; + $9 = $10; + $10 = $8; + $10 = $12 ^ $10; + $13 = $7; + $9 = $10 & -2147483648; + $23 = $9; + $9 = $8; + $25 = $9 >>> 16 & 32767; + $12 = $4; + $22 = $12 >>> 16 & 32767; + label$1: { + label$2: { + if ($25 - 32767 >>> 0 > 4294934529 & $22 - 32767 >>> 0 >= 4294934530) { + break label$2; + } + $10 = $2; + $11 = !($10 | $1); + $10 = $4; + $9 = $10 & 2147483647; + $16 = $9; + $14 = $9 >>> 0 < 2147418112; + $10 = $9; + $12 = $3; + $17 = $12; + $13 = $12; + if (!(!$13 & ($10 | 0) == 2147418112 ? $11 : $14)) { + $12 = $3; + $21 = $12; + $13 = $4; + $10 = $13 | 32768; + $23 = $10; + break label$1; + } + $10 = $6; + $11 = !($10 | $5); + $10 = $8; + $12 = $10 & 2147483647; + $4 = $12; + $14 = $12 >>> 0 < 2147418112; + $10 = $12; + $13 = $7; + $3 = $13; + $9 = $13; + if (!(!$9 & ($10 | 0) == 2147418112 ? $11 : $14)) { + $13 = $7; + $21 = $13; + $9 = $8; + $10 = $9 | 32768; + $23 = $10; + $1 = $5; + $10 = $6; + $2 = $10; + break label$1; + } + $10 = $16; + $13 = $10 ^ 2147418112; + $10 = $1; + $9 = $17; + $12 = $9; + $9 = $13; + $13 = $2; + $9 = $9 | $13; + if (!($10 | $12 | $9)) { + $9 = $4; + $10 = $9 ^ 2147418112; + $1 = $10; + $9 = $5; + $13 = $3; + $12 = $13; + $10 = $6; + $13 = $1; + $13 = $10 | $13; + if (!($9 | $12 | $13)) { + $1 = 0; + $2 = 0; + $23 = 2147450880; + break label$1; + } + $10 = $21; + $21 = $10; + $13 = $23; + $9 = $13 | 2147418112; + $23 = $9; + $1 = 0; + $2 = 0; + break label$1; + } + $9 = $4; + $10 = $9 ^ 2147418112; + $7 = $10; + $9 = $5; + $13 = $3; + $12 = $13; + $10 = $6; + $13 = $7; + $13 = $10 | $13; + if (!($9 | $12 | $13)) { + $1 = 0; + $2 = 0; + break label$1; + } + $9 = $16; + $13 = $2; + $9 = $9 | $13; + $10 = $1; + $12 = $17; + if (!($9 | ($10 | $12))) { + $10 = $6; + $9 = $4; + $10 = $10 | $9; + $12 = $5; + $13 = $3; + $11 = !($10 | ($12 | $13)); + $12 = $11 ? 0 : $21; + $21 = $12; + $13 = $23; + $9 = $11 ? 2147450880 : $13; + $23 = $9; + $1 = 0; + $2 = 0; + break label$1; + } + $9 = $4; + $12 = $6; + $12 = $9 | $12; + $10 = $5; + $11 = $3; + if (!($12 | ($10 | $11))) { + $9 = $21; + $21 = $9; + $12 = $23; + $11 = $12 | 2147418112; + $23 = $11; + $1 = 0; + $2 = 0; + break label$1; + } + $11 = $16; + if (($11 | 0) == 65535 | $11 >>> 0 < 65535) { + $12 = $27; + $19 = !($12 | $30); + $13 = $19; + $9 = $13 ? $1 : $30; + $12 = $2; + $11 = $27; + $10 = $13 ? $12 : $11; + $12 = Math_clz32($10); + $9 = ($12 | 0) == 32 ? Math_clz32($9) + 32 | 0 : $12; + $12 = $19 << 6; + $11 = $9 + $12 | 0; + $14 = $2; + $9 = $27; + __ashlti3($15 + 320 | 0, $1, $14, $30, $9, $11 - 15 | 0); + $19 = 16 - $11 | 0; + $13 = $15; + $9 = HEAP32[$13 + 328 >> 2]; + $30 = $9; + $14 = HEAP32[$13 + 332 >> 2]; + $27 = $14; + $9 = HEAP32[$13 + 324 >> 2]; + $2 = $9; + $14 = HEAP32[$13 + 320 >> 2]; + $1 = $14; + } + $9 = $4; + if ($9 >>> 0 > 65535) { + break label$2; + } + $13 = $18; + $10 = !($13 | $20); + $14 = $10 ? $5 : $20; + $13 = $6; + $9 = $18; + $12 = $10 ? $13 : $9; + $13 = Math_clz32($12); + $14 = ($13 | 0) == 32 ? Math_clz32($14) + 32 | 0 : $13; + $11 = 0; + $13 = $10 << 6; + $9 = $13 + $14 | 0; + $11 = $6; + $14 = $18; + __ashlti3($15 + 304 | 0, $5, $11, $20, $14, $9 - 15 | 0); + $19 = ($19 + $9 | 0) - 16 | 0; + $10 = $15; + $14 = HEAP32[$10 + 312 >> 2]; + $20 = $14; + $11 = HEAP32[$10 + 316 >> 2]; + $18 = $11; + $11 = HEAP32[$10 + 304 >> 2]; + $5 = $11; + $14 = HEAP32[$10 + 308 >> 2]; + $6 = $14; + } + $14 = $18; + $11 = $14 | 65536; + $34 = $11; + $10 = $20; + $32 = $10; + $14 = $10; + $10 = $11 << 15 | $10 >>> 17; + $4 = $10; + $10 = $6; + $13 = $10 >>> 17 | 0; + $10 = $14 << 15; + $3 = $10 | $13; + $13 = $3; + $12 = 0 - $13 | 0; + $7 = $12; + $14 = 0; + $11 = $14; + $14 = $4; + $11 = $11 | $14; + $4 = $11; + $10 = $11; + $9 = $10 + (($13 | 0) != 0) | 0; + $9 = 1963258675 - $9 | 0; + $8 = $9; + __multi3($15 + 288 | 0, $13, $10, 0, 0, $12, $9, 0, 0); + $14 = $15; + $13 = HEAP32[$14 + 296 >> 2]; + $9 = $13; + $10 = 0 - $9 | 0; + $11 = HEAP32[$14 + 300 >> 2]; + $12 = $11 + (($9 | 0) != 0) | 0; + $12 = 0 - $12 | 0; + $11 = $8; + __multi3($14 + 272 | 0, $10, $12, 0, 0, $7, $11, 0, 0); + $10 = $14 + 256 | 0; + $11 = HEAP32[$14 + 284 >> 2]; + $9 = HEAP32[$14 + 280 >> 2]; + $7 = $9 << 1; + $9 = $11 << 1 | $9 >>> 31; + $8 = $9; + $11 = $15; + $9 = HEAP32[$11 + 272 >> 2]; + $14 = HEAP32[$11 + 276 >> 2]; + $9 = 0; + $11 = $9; + $12 = $14 >>> 31 | 0; + $14 = $7; + $7 = $12 | $14; + $9 = $8; + $11 = $9 | $11; + $8 = $11; + $9 = $4; + __multi3($10, $7, $11, 0, 0, $3, $9, 0, 0); + $14 = $15; + $12 = HEAP32[$14 + 264 >> 2]; + $11 = $12; + $13 = 0 - $11 | 0; + $9 = HEAP32[$14 + 268 >> 2]; + $10 = $9 + (($11 | 0) != 0) | 0; + $10 = 0 - $10 | 0; + $9 = $10; + $10 = $8; + __multi3($14 + 240 | 0, $7, $10, 0, 0, $13, $9, 0, 0); + $12 = $14 + 224 | 0; + $9 = HEAP32[$14 + 252 >> 2]; + $11 = HEAP32[$14 + 248 >> 2]; + $7 = $11 << 1; + $11 = $9 << 1 | $11 >>> 31; + $8 = $11; + $9 = $15; + $11 = HEAP32[$9 + 240 >> 2]; + $14 = HEAP32[$9 + 244 >> 2]; + $10 = $14 >>> 31 | 0; + $14 = $7; + $7 = $10 | $14; + $11 = 0; + $9 = $11; + $11 = $8; + $9 = $9 | $11; + $8 = $9; + $11 = $4; + __multi3($12, $7, $9, 0, 0, $3, $11, 0, 0); + $14 = $15; + $10 = HEAP32[$14 + 232 >> 2]; + $9 = $10; + $12 = 0 - $9 | 0; + $11 = HEAP32[$14 + 236 >> 2]; + $10 = $11; + $13 = $10 + (($9 | 0) != 0) | 0; + $13 = 0 - $13 | 0; + $11 = $13; + $13 = $8; + __multi3($14 + 208 | 0, $7, $13, 0, 0, $12, $11, 0, 0); + $10 = $14 + 192 | 0; + $11 = HEAP32[$14 + 220 >> 2]; + $9 = HEAP32[$14 + 216 >> 2]; + $7 = $9 << 1; + $9 = $11 << 1 | $9 >>> 31; + $8 = $9; + $11 = $15; + $9 = HEAP32[$11 + 208 >> 2]; + $14 = HEAP32[$11 + 212 >> 2]; + $9 = 0; + $11 = $9; + $13 = $14 >>> 31 | 0; + $14 = $7; + $7 = $13 | $14; + $9 = $8; + $11 = $9 | $11; + $8 = $11; + $9 = $4; + __multi3($10, $7, $11, 0, 0, $3, $9, 0, 0); + $14 = $15; + $13 = HEAP32[$14 + 200 >> 2]; + $11 = $13; + $10 = 0 - $11 | 0; + $9 = HEAP32[$14 + 204 >> 2]; + $12 = $9 + (($11 | 0) != 0) | 0; + $12 = 0 - $12 | 0; + $9 = $12; + $12 = $8; + __multi3($14 + 176 | 0, $7, $12, 0, 0, $10, $9, 0, 0); + $16 = $14 + 160 | 0; + $9 = HEAP32[$14 + 188 >> 2]; + $11 = HEAP32[$14 + 184 >> 2]; + $8 = $11 << 1; + $11 = $9 << 1 | $11 >>> 31; + $7 = $11; + $9 = $15; + $11 = HEAP32[$9 + 176 >> 2]; + $14 = HEAP32[$9 + 180 >> 2]; + $11 = 0; + $9 = $11; + $11 = $7; + $9 = $9 | $11; + $12 = $14 >>> 31 | 0; + $14 = $8; + $11 = $12 | $14; + $13 = $11 - 1 | 0; + $7 = $13; + $10 = !$11; + $10 = $9 - $10 | 0; + $8 = $10; + $10 = $4; + $9 = $8; + __multi3($16, $3, $10, 0, 0, $13, $9, 0, 0); + $11 = $5; + $12 = $6; + $9 = $12 << 15 | $11 >>> 17; + $12 = $8; + __multi3($15 + 144 | 0, $11 << 15, $9, 0, 0, $13, $12, 0, 0); + $11 = $15; + $10 = HEAP32[$11 + 168 >> 2]; + $16 = $10; + $12 = HEAP32[$11 + 172 >> 2]; + $17 = $12; + $12 = HEAP32[$11 + 160 >> 2]; + $20 = $12; + $10 = HEAP32[$11 + 164 >> 2]; + $18 = $10; + $12 = HEAP32[$11 + 156 >> 2]; + $10 = HEAP32[$11 + 152 >> 2]; + $9 = $10; + $11 = $20; + $14 = $9 + $11 | 0; + $10 = $12; + $12 = $18; + $13 = $10 + $12 | 0; + $3 = $14; + $13 = $9 >>> 0 > $14 >>> 0 ? $13 + 1 | 0 : $13; + $4 = $13; + $11 = $12; + $9 = $20; + $12 = $14; + $11 = ($13 | 0) == ($11 | 0) & $9 >>> 0 > $12 >>> 0 | $11 >>> 0 > $13 >>> 0; + $12 = $17; + $9 = $16; + $10 = $9 + $11 | 0; + $14 = $10 >>> 0 < $11 >>> 0 ? $12 + 1 | 0 : $12; + $11 = $14; + $14 = $4; + $12 = $3; + $9 = !$14 & $12 >>> 0 > 1 | ($14 | 0) != 0; + $13 = $9 + $10 | 0; + $12 = $11; + $10 = $12; + $10 = $9 >>> 0 > $13 >>> 0 ? $10 + 1 | 0 : $10; + $9 = $13; + $14 = 0 - $9 | 0; + $13 = $10 + (($9 | 0) != 0) | 0; + $13 = 0 - $13 | 0; + $10 = $13; + $13 = $8; + __multi3($15 + 112 | 0, $7, $13, 0, 0, $14, $10, 0, 0); + $13 = $3; + $11 = 1 - $13 | 0; + $10 = $4; + $14 = $10 + ($13 >>> 0 > 1) | 0; + $14 = 0 - $14 | 0; + $9 = $8; + __multi3($15 + 128 | 0, $11, $14, 0, 0, $7, $9, 0, 0); + $25 = ($22 - $25 | 0) + $19 | 0; + $12 = $15; + $13 = HEAP32[$12 + 112 >> 2]; + $9 = HEAP32[$12 + 116 >> 2]; + $19 = $9; + $12 = $13; + $13 = $9 << 1 | $12 >>> 31; + $28 = $12 << 1; + $22 = $13; + $9 = $15; + $13 = HEAP32[$9 + 136 >> 2]; + $12 = HEAP32[$9 + 140 >> 2]; + $31 = $12; + $9 = $13; + $13 = $12 << 1 | $9 >>> 31; + $4 = $9 << 1; + $3 = $13; + $12 = $15; + $13 = HEAP32[$12 + 128 >> 2]; + $9 = HEAP32[$12 + 132 >> 2]; + $14 = $9 >>> 31 | 0; + $13 = 0; + $12 = $13; + $13 = $3; + $12 = $12 | $13; + $13 = $28; + $9 = $4; + $14 = $9 | $14; + $10 = $13 + $14 | 0; + $9 = $12; + $12 = $22; + $11 = $9 + $12 | 0; + $17 = $10; + $11 = $10 >>> 0 < $14 >>> 0 ? $11 + 1 | 0 : $11; + $16 = $11; + $9 = $10 - 13927 | 0; + $35 = $9; + $10 = $10 >>> 0 < 13927; + $10 = $11 - $10 | 0; + $3 = $10; + $12 = 0; + $4 = $12; + $12 = $27; + $11 = $12 | 65536; + $41 = $11; + $10 = $30; + $42 = $10; + $45 = $10 << 1; + $10 = $11 << 1 | $10 >>> 31; + $46 = $10; + $12 = 0; + $8 = $12; + $7 = $10; + $11 = $12; + $11 = __wasm_i64_mul($3, $21, $10, $11); + $24 = $11; + $12 = i64toi32_i32$HIGH_BITS; + $26 = $12; + $10 = $1; + $38 = $10 << 1; + $12 = $2; + $11 = $12 << 1 | $10 >>> 31; + $43 = $11; + $10 = 0; + $18 = $10; + $20 = $11; + $10 = $16; + $12 = $3; + $11 = $17; + $16 = ($10 | 0) == ($12 | 0) & $11 >>> 0 > $9 >>> 0 | $10 >>> 0 > $12 >>> 0; + $11 = $10; + $14 = $17; + $10 = $22; + $12 = $13; + $17 = ($11 | 0) == ($10 | 0) & $14 >>> 0 < $12 >>> 0 | $10 >>> 0 > $11 >>> 0; + $12 = $15; + $14 = HEAP32[$12 + 120 >> 2]; + $11 = HEAP32[$12 + 124 >> 2]; + $12 = $14; + $13 = $12 << 1; + $14 = $11 << 1 | $12 >>> 31; + $9 = $14; + $12 = 0; + $11 = $12; + $14 = $19; + $10 = $14 >>> 31 | 0; + $14 = $13; + $13 = $10 | $14; + $12 = $9; + $11 = $12 | $11; + $14 = 0; + $12 = $14; + $9 = $12 + $11 | 0; + $11 = $31; + $10 = $11 >>> 31 | 0; + $11 = $13; + $13 = $10 + $11 | 0; + $9 = $10 >>> 0 > $13 >>> 0 ? $9 + 1 | 0 : $9; + $11 = $9; + $10 = $13; + $14 = $17; + $12 = $10 + $14 | 0; + $9 = $12; + $13 = $10 >>> 0 > $12 >>> 0 ? $11 + 1 | 0 : $11; + $12 = $13; + $10 = $9; + $9 = $16; + $11 = $10 + $9 | 0; + $14 = $11 - 1 | 0; + $29 = $14; + $12 = $10 >>> 0 > $11 >>> 0 ? $12 + 1 | 0 : $12; + $11 = !$11; + $11 = $12 - $11 | 0; + $13 = 0; + $16 = $13; + $17 = $11; + $12 = $13; + $12 = __wasm_i64_mul($20, $21, $11, $12); + $10 = $12; + $11 = $24; + $9 = $10 + $11 | 0; + $13 = i64toi32_i32$HIGH_BITS; + $12 = $13; + $13 = $26; + $14 = $12 + $13 | 0; + $28 = $9; + $11 = $13; + $14 = $9 >>> 0 < $10 >>> 0 ? $14 + 1 | 0 : $14; + $22 = $14; + $10 = $24; + $26 = ($11 | 0) == ($14 | 0) & $10 >>> 0 > $9 >>> 0 | $11 >>> 0 > $14 >>> 0; + $10 = $29; + $29 = $10; + $14 = 0; + $19 = $14; + $14 = $2; + $44 = $14 >>> 31 | 0; + $10 = 0; + $18 = $10; + $14 = $30; + $11 = $14 << 1; + $10 = $27; + $13 = $10 << 1 | $14 >>> 31; + $14 = $13; + $13 = $21; + $10 = $44; + $13 = $10 | $11; + $30 = $13; + $10 = 0; + $27 = $10; + $13 = __wasm_i64_mul($29, $21, $30, $10); + $11 = $13; + $10 = i64toi32_i32$HIGH_BITS; + $13 = $10; + $10 = $22; + $9 = $10 + $13 | 0; + $14 = $28; + $12 = $11 + $14 | 0; + $9 = $12 >>> 0 < $11 >>> 0 ? $9 + 1 | 0 : $9; + $33 = $12; + $31 = $9; + $14 = $10; + $10 = $12; + $11 = $28; + $14 = ($9 | 0) == ($14 | 0) & $10 >>> 0 < $11 >>> 0 | $9 >>> 0 < $14 >>> 0; + $12 = 0; + $11 = $26; + $13 = $11 + $14 | 0; + $12 = $13 >>> 0 < $14 >>> 0 ? 1 : $12; + $10 = $13; + $9 = $12; + $12 = $8; + $11 = $16; + $11 = __wasm_i64_mul($7, $12, $17, $11); + $14 = $11; + $12 = i64toi32_i32$HIGH_BITS; + $11 = $12; + $12 = $9; + $13 = $12 + $11 | 0; + $9 = $10 + $14 | 0; + $13 = $9 >>> 0 < $14 >>> 0 ? $13 + 1 | 0 : $13; + $36 = $9; + $37 = $13; + $13 = $8; + $10 = $19; + $10 = __wasm_i64_mul($7, $13, $29, $10); + $24 = $10; + $13 = i64toi32_i32$HIGH_BITS; + $26 = $13; + $13 = $16; + $10 = $27; + $10 = __wasm_i64_mul($17, $13, $30, $10); + $14 = $10; + $13 = i64toi32_i32$HIGH_BITS; + $10 = $13; + $13 = $26; + $9 = $10 + $13 | 0; + $12 = $24; + $11 = $12 + $14 | 0; + $9 = $11 >>> 0 < $14 >>> 0 ? $9 + 1 | 0 : $9; + $28 = $11; + $22 = $9; + $12 = $13; + $14 = $24; + $14 = ($9 | 0) == ($12 | 0) & $11 >>> 0 < $14 >>> 0 | $9 >>> 0 < $12 >>> 0; + $9 = $14; + $14 = 0; + $13 = $14; + $14 = $9; + $13 = $13 | $14; + $9 = 0; + $12 = $22; + $12 = $9 | $12; + $14 = $36; + $10 = $12 + $14 | 0; + $9 = $13; + $13 = $37; + $11 = $9 + $13 | 0; + $26 = $10; + $11 = $10 >>> 0 < $12 >>> 0 ? $11 + 1 | 0 : $11; + $24 = $11; + $13 = $28; + $11 = $31; + $14 = $11; + $10 = $13 + $11 | 0; + $12 = 0; + $11 = $33; + $9 = $12 + $11 | 0; + $10 = $9 >>> 0 < $12 >>> 0 ? $10 + 1 | 0 : $10; + $28 = $9; + $22 = $10; + $11 = $14; + $12 = $33; + $11 = ($10 | 0) == ($11 | 0) & $12 >>> 0 > $9 >>> 0 | $10 >>> 0 < $11 >>> 0; + $14 = $24; + $9 = $14; + $12 = $26; + $13 = $12 + $11 | 0; + $9 = $13 >>> 0 < $11 >>> 0 ? $9 + 1 | 0 : $9; + $39 = $13; + $40 = $9; + $9 = $3; + $14 = $35; + $35 = $14; + $12 = 0; + $18 = $12; + $14 = $27; + $14 = __wasm_i64_mul($35, $12, $30, $14); + $24 = $14; + $12 = i64toi32_i32$HIGH_BITS; + $26 = $12; + $12 = $4; + $14 = $18; + $14 = __wasm_i64_mul($9, $12, $20, $14); + $11 = $14; + $12 = i64toi32_i32$HIGH_BITS; + $14 = $12; + $12 = $26; + $13 = $12 + $14 | 0; + $9 = $24; + $10 = $9 + $11 | 0; + $13 = $10 >>> 0 < $11 >>> 0 ? $13 + 1 | 0 : $13; + $33 = $10; + $9 = $12; + $31 = $13; + $12 = $10; + $11 = $24; + $47 = ($9 | 0) == ($13 | 0) & $10 >>> 0 < $11 >>> 0 | $9 >>> 0 > $13 >>> 0; + $13 = 0; + $26 = $13; + $13 = $19; + $11 = $38; + $24 = $11 & -2; + $11 = $26; + $11 = __wasm_i64_mul($29, $13, $24, $11); + $9 = $11; + $13 = i64toi32_i32$HIGH_BITS; + $11 = $13; + $13 = $31; + $10 = $13 + $11 | 0; + $14 = $12 + $9 | 0; + $36 = $14; + $10 = $9 >>> 0 > $14 >>> 0 ? $10 + 1 | 0 : $10; + $37 = $10; + $12 = $13; + $9 = $33; + $13 = $14; + $12 = ($10 | 0) == ($12 | 0) & $9 >>> 0 > $13 >>> 0 | $10 >>> 0 < $12 >>> 0; + $14 = 0; + $9 = $47; + $11 = $9 + $12 | 0; + $10 = $11; + $14 = $11 >>> 0 < $12 >>> 0 ? 1 : $14; + $9 = $14; + $14 = $22; + $11 = $9 + $14 | 0; + $12 = $10; + $13 = $28; + $10 = $12 + $13 | 0; + $11 = $10 >>> 0 < $12 >>> 0 ? $11 + 1 | 0 : $11; + $33 = $10; + $13 = $14; + $31 = $11; + $12 = $28; + $13 = ($13 | 0) == ($11 | 0) & $12 >>> 0 > $10 >>> 0 | $11 >>> 0 < $13 >>> 0; + $14 = $40; + $10 = $14; + $12 = $39; + $9 = $12 + $13 | 0; + $10 = $9 >>> 0 < $13 >>> 0 ? $10 + 1 | 0 : $10; + $39 = $9; + $40 = $10; + $10 = $8; + $12 = $18; + $12 = __wasm_i64_mul($7, $10, $35, $12); + $28 = $12; + $10 = i64toi32_i32$HIGH_BITS; + $22 = $10; + $10 = $16; + $12 = $26; + $12 = __wasm_i64_mul($17, $10, $24, $12); + $13 = $12; + $10 = i64toi32_i32$HIGH_BITS; + $12 = $10; + $10 = $22; + $9 = $10 + $12 | 0; + $14 = $28; + $11 = $13 + $14 | 0; + $7 = $11; + $9 = $11 >>> 0 < $13 >>> 0 ? $9 + 1 | 0 : $9; + $8 = $9; + $9 = $4; + $14 = $27; + $14 = __wasm_i64_mul($3, $9, $30, $14); + $13 = $14; + $9 = i64toi32_i32$HIGH_BITS; + $14 = $9; + $9 = $8; + $11 = $9 + $14 | 0; + $10 = $7; + $12 = $10 + $13 | 0; + $11 = $12 >>> 0 < $13 >>> 0 ? $11 + 1 | 0 : $11; + $17 = $12; + $16 = $11; + $9 = $12; + $11 = $18; + $10 = $19; + $10 = __wasm_i64_mul($20, $11, $29, $10); + $13 = $10; + $14 = $9 + $10 | 0; + $11 = i64toi32_i32$HIGH_BITS; + $10 = $11; + $11 = $16; + $12 = $10 + $11 | 0; + $29 = $14; + $12 = $13 >>> 0 > $14 >>> 0 ? $12 + 1 | 0 : $12; + $9 = 0; + $4 = $9; + $9 = $11; + $19 = $12; + $11 = $12; + $12 = $17; + $13 = $14; + $27 = ($9 | 0) == ($11 | 0) & $12 >>> 0 > $13 >>> 0 | $9 >>> 0 > $11 >>> 0; + $9 = $22; + $12 = $8; + $13 = $7; + $11 = $28; + $8 = ($9 | 0) == ($12 | 0) & $13 >>> 0 < $11 >>> 0 | $9 >>> 0 > $12 >>> 0; + $13 = $12; + $11 = $7; + $12 = $16; + $9 = $17; + $12 = ($13 | 0) == ($12 | 0) & $11 >>> 0 > $9 >>> 0 | $12 >>> 0 < $13 >>> 0; + $14 = 0; + $9 = $8; + $10 = $9 + $12 | 0; + $14 = $10 >>> 0 < $12 >>> 0 ? 1 : $14; + $9 = $14; + $11 = $27; + $13 = $10 + $11 | 0; + $11 = $4; + $14 = $11 | $13; + $10 = $19; + $12 = $21; + $12 = $10 | $12; + $11 = $33; + $9 = $12 + $11 | 0; + $10 = $14; + $14 = $31; + $13 = $10 + $14 | 0; + $7 = $9; + $13 = $9 >>> 0 < $12 >>> 0 ? $13 + 1 | 0 : $13; + $8 = $13; + $11 = $14; + $12 = $33; + $11 = ($13 | 0) == ($11 | 0) & $12 >>> 0 > $9 >>> 0 | $11 >>> 0 > $13 >>> 0; + $14 = $40; + $9 = $14; + $12 = $39; + $10 = $12 + $11 | 0; + $9 = $10 >>> 0 < $11 >>> 0 ? $9 + 1 | 0 : $9; + $16 = $10; + $17 = $9; + $9 = $4; + $12 = $26; + $12 = __wasm_i64_mul($3, $9, $24, $12); + $3 = $12; + $9 = i64toi32_i32$HIGH_BITS; + $4 = $9; + $9 = $18; + $12 = $18; + $12 = __wasm_i64_mul($20, $9, $35, $12); + $11 = $12; + $9 = i64toi32_i32$HIGH_BITS; + $12 = $9; + $9 = $4; + $10 = $9 + $12 | 0; + $14 = $3; + $13 = $11 + $14 | 0; + $10 = $13 >>> 0 < $11 >>> 0 ? $10 + 1 | 0 : $10; + $14 = 0; + $12 = $14; + $9 = $10; + $14 = $4; + $10 = $3; + $11 = $13; + $11 = ($9 | 0) == ($14 | 0) & $10 >>> 0 > $11 >>> 0 | $9 >>> 0 < $14 >>> 0; + $14 = $12; + $11 = $11 | $14; + $10 = $9; + $9 = 0; + $9 = $10 | $9; + $14 = $36; + $12 = $9 + $14 | 0; + $10 = $11; + $11 = $37; + $13 = $10 + $11 | 0; + $3 = $12; + $13 = $9 >>> 0 > $12 >>> 0 ? $13 + 1 | 0 : $13; + $4 = $13; + $14 = $11; + $9 = $36; + $11 = $12; + $19 = ($13 | 0) == ($14 | 0) & $9 >>> 0 > $11 >>> 0 | $13 >>> 0 < $14 >>> 0; + $9 = $29; + $13 = $4; + $12 = $9 + $13 | 0; + $14 = 0; + $10 = $14 + $11 | 0; + $12 = $10 >>> 0 < $14 >>> 0 ? $12 + 1 | 0 : $12; + $11 = $13; + $14 = $3; + $11 = ($11 | 0) == ($12 | 0) & $10 >>> 0 < $14 >>> 0 | $11 >>> 0 > $12 >>> 0; + $10 = 0; + $14 = $19; + $9 = $11 + $14 | 0; + $10 = $9 >>> 0 < $11 >>> 0 ? 1 : $10; + $11 = $9; + $14 = $10; + $10 = $8; + $9 = $10 + $14 | 0; + $13 = $7; + $12 = $13 + $11 | 0; + $9 = $12 >>> 0 < $11 >>> 0 ? $9 + 1 | 0 : $9; + $3 = $12; + $4 = $9; + $13 = $10; + $10 = $12; + $11 = $7; + $13 = ($9 | 0) == ($13 | 0) & $10 >>> 0 < $11 >>> 0 | $9 >>> 0 < $13 >>> 0; + $10 = $17; + $11 = $16; + $14 = $13 + $11 | 0; + $7 = $14; + $12 = $13 >>> 0 > $14 >>> 0 ? $10 + 1 | 0 : $10; + $8 = $12; + label$12: { + if (($12 | 0) == 131071 | $12 >>> 0 < 131071) { + $13 = $45; + $11 = $44; + $42 = $13 | $11; + $10 = $46; + $12 = $18; + $12 = $10 | $12; + $41 = $12; + $12 = $4; + $13 = $8; + $10 = $6; + $11 = $34; + __multi3($15 + 80 | 0, $3, $12, $7, $13, $5, $10, $32, $11); + $13 = $1; + $10 = $13 << 17; + $1 = $10; + $11 = $15; + $10 = HEAP32[$11 + 88 >> 2]; + $13 = HEAP32[$11 + 92 >> 2]; + $2 = $13; + $11 = 0; + $12 = $10; + $9 = $11 - $10 | 0; + $13 = $1; + $10 = $2; + $14 = $10 + ($11 >>> 0 < $12 >>> 0) | 0; + $14 = $13 - $14 | 0; + $12 = $14; + $13 = $15; + $14 = HEAP32[$13 + 80 >> 2]; + $1 = $14; + $11 = HEAP32[$13 + 84 >> 2]; + $2 = $11; + $13 = $14; + $14 = ($11 | $13) != 0; + $10 = $9 - $14 | 0; + $17 = $10; + $13 = $12; + $9 = $9 >>> 0 < $14 >>> 0; + $9 = $13 - $9 | 0; + $16 = $9; + $25 = $25 + 16382 | 0; + $14 = $1; + $11 = 0 - $14 | 0; + $20 = $11; + $12 = $2; + $10 = $12 + (($14 | 0) != 0) | 0; + $10 = 0 - $10 | 0; + $9 = 0; + break label$12; + } + $9 = $7; + $13 = $9 << 31; + $12 = $13; + $13 = $4; + $9 = $13 >>> 1 | 0; + $10 = $3; + $14 = ($13 & 1) << 31 | $10 >>> 1; + $10 = $9; + $9 = $12; + $10 = $10 | $9; + $4 = $10; + $13 = 0; + $3 = $13 | $14; + $10 = $8; + $13 = $10 >>> 1 | 0; + $9 = $7; + $7 = ($10 & 1) << 31 | $9 >>> 1; + $8 = $13; + $13 = $4; + $9 = $8; + $10 = $6; + $14 = $34; + __multi3($15 + 96 | 0, $3, $13, $7, $9, $5, $10, $32, $14); + $9 = $1; + $10 = $9 << 16; + $11 = $10; + $14 = $15; + $10 = HEAP32[$14 + 104 >> 2]; + $9 = HEAP32[$14 + 108 >> 2]; + $16 = $9; + $14 = 0; + $13 = $10; + $12 = $14 - $10 | 0; + $9 = $11; + $10 = $16; + $11 = $10 + ($13 >>> 0 > $14 >>> 0) | 0; + $11 = $9 - $11 | 0; + $13 = $11; + $9 = $15; + $11 = HEAP32[$9 + 96 >> 2]; + $20 = $11; + $14 = HEAP32[$9 + 100 >> 2]; + $18 = $14; + $9 = $11; + $11 = ($14 | $9) != 0; + $10 = $12 - $11 | 0; + $17 = $10; + $9 = $13; + $12 = $11 >>> 0 > $12 >>> 0; + $12 = $9 - $12 | 0; + $16 = $12; + $25 = $25 + 16383 | 0; + $38 = $1; + $12 = $2; + $43 = $12; + $11 = $20; + $14 = 0 - $11 | 0; + $20 = $14; + $13 = $18; + $10 = $13 + (($11 | 0) != 0) | 0; + $10 = 0 - $10 | 0; + $9 = 0; + } + $18 = $10; + if (($25 | 0) >= 32767) { + $12 = $21; + $21 = $12; + $10 = $23; + $9 = $10 | 2147418112; + $23 = $9; + $1 = 0; + $2 = 0; + break label$1; + } + label$15: { + if (($25 | 0) > 0) { + $10 = $17; + $2 = $10 << 1; + $9 = $16; + $12 = $9 << 1 | $10 >>> 31; + $1 = $12; + $12 = $18; + $11 = $12 >>> 31 | 0; + $10 = 0; + $9 = $10; + $12 = $2; + $17 = $12 | $11; + $10 = $1; + $9 = $10 | $9; + $16 = $9; + $9 = $8; + $12 = $9 & 65535; + $1 = $12; + $9 = $25; + $10 = $9 << 16; + $9 = $10; + $12 = $7; + $11 = 0; + $29 = $12 | $11; + $10 = $1; + $9 = $10 | $9; + $19 = $9; + $10 = $20; + $7 = $10 << 1; + $9 = $18; + $12 = $9 << 1 | $10 >>> 31; + $10 = $12; + break label$15; + } + if (($25 | 0) <= -113) { + $1 = 0; + $2 = 0; + break label$1; + } + $12 = $4; + $10 = $8; + __lshrti3($15 - -64 | 0, $3, $12, $7, $10, 1 - $25 | 0); + $10 = $43; + $12 = $41; + __ashlti3($15 + 48 | 0, $38, $10, $42, $12, $25 + 112 | 0); + $9 = $15; + $12 = HEAP32[$9 + 64 >> 2]; + $3 = $12; + $10 = HEAP32[$9 + 68 >> 2]; + $4 = $10; + $10 = HEAP32[$9 + 72 >> 2]; + $29 = $10; + $12 = HEAP32[$9 + 76 >> 2]; + $19 = $12; + $1 = $9 + 32 | 0; + $12 = $6; + $10 = $34; + $9 = $4; + $11 = $19; + __multi3($1, $5, $12, $32, $10, $3, $9, $29, $11); + $10 = $15; + $11 = HEAP32[$10 + 56 >> 2]; + $7 = $11; + $9 = HEAP32[$10 + 60 >> 2]; + $8 = $9; + $11 = HEAP32[$10 + 44 >> 2]; + $9 = HEAP32[$10 + 40 >> 2]; + $10 = $9; + $13 = $10 << 1; + $9 = $11 << 1 | $10 >>> 31; + $12 = $9; + $11 = $15; + $9 = HEAP32[$11 + 32 >> 2]; + $1 = $9; + $10 = HEAP32[$11 + 36 >> 2]; + $2 = $10; + $16 = $10 >>> 31 | 0; + $9 = 0; + $11 = $9; + $9 = $12; + $11 = $9 | $11; + $14 = $11; + $9 = $7; + $10 = $13; + $12 = $16; + $12 = $10 | $12; + $13 = $9 - $12 | 0; + $11 = $8; + $10 = $14; + $14 = $10 + ($9 >>> 0 < $12 >>> 0) | 0; + $14 = $11 - $14 | 0; + $16 = $14; + $11 = $15; + $14 = HEAP32[$11 + 48 >> 2]; + $7 = $14; + $9 = HEAP32[$11 + 52 >> 2]; + $8 = $9; + $11 = $1; + $1 = $11 << 1; + $9 = $2; + $14 = $9 << 1 | $11 >>> 31; + $2 = $14; + $11 = $14; + $14 = $8; + $9 = $7; + $12 = $1; + $11 = ($11 | 0) == ($14 | 0) & $9 >>> 0 < $12 >>> 0 | $11 >>> 0 > $14 >>> 0; + $12 = $13; + $10 = $12 - $11 | 0; + $17 = $10; + $9 = $16; + $13 = $11 >>> 0 > $12 >>> 0; + $13 = $9 - $13 | 0; + $16 = $13; + $9 = $7; + $11 = $1; + $14 = $9 - $11 | 0; + $7 = $14; + $13 = $8; + $12 = $2; + $10 = $12 + ($9 >>> 0 < $11 >>> 0) | 0; + $10 = $13 - $10 | 0; + } + $8 = $10; + $10 = $6; + $9 = $34; + __multi3($15 + 16 | 0, $5, $10, $32, $9, 3, 0, 0, 0); + __multi3($15, $5, $10, $32, $9, 5, 0, 0, 0); + $13 = $3; + $1 = $13 & 1; + $10 = $1; + $11 = $7; + $12 = $10 + $11 | 0; + $9 = 0; + $2 = $9; + $13 = $8; + $14 = $9 + $13 | 0; + $7 = $12; + $10 = $6; + $14 = $11 >>> 0 > $12 >>> 0 ? $14 + 1 | 0 : $14; + $8 = $14; + $9 = $12; + $11 = $5; + $5 = ($10 | 0) == ($14 | 0) & $9 >>> 0 > $11 >>> 0 | $10 >>> 0 < $14 >>> 0; + $9 = $2; + $10 = $12; + $11 = $1; + $14 = ($14 | 0) == ($9 | 0) & $10 >>> 0 < $11 >>> 0 | $9 >>> 0 > $14 >>> 0; + $11 = $16; + $10 = $17; + $13 = $10 + $14 | 0; + $12 = $13 >>> 0 < $14 >>> 0 ? $11 + 1 | 0 : $11; + $1 = $13; + $10 = $34; + $2 = $12; + $11 = $13; + $14 = $32; + $6 = ($10 | 0) == ($12 | 0) & $11 >>> 0 > $14 >>> 0 | $10 >>> 0 < $12 >>> 0; + $11 = $12; + $12 = $10; + $10 = $32; + $12 = ($13 | 0) == ($10 | 0) & ($11 | 0) == ($12 | 0) ? $5 : $6; + $14 = $4; + $13 = $14; + $10 = $3; + $9 = $10 + $12 | 0; + $13 = $9 >>> 0 < $12 >>> 0 ? $13 + 1 | 0 : $13; + $5 = $9; + $10 = $14; + $6 = $13; + $12 = $3; + $10 = ($10 | 0) == ($13 | 0) & $12 >>> 0 > $9 >>> 0 | $10 >>> 0 > $13 >>> 0; + $14 = $19; + $9 = $14; + $12 = $29; + $11 = $10 + $12 | 0; + $16 = $11; + $9 = $10 >>> 0 > $11 >>> 0 ? $9 + 1 | 0 : $9; + $18 = $9; + $4 = $9 >>> 0 < 2147418112; + $10 = $15; + $14 = HEAP32[$10 + 16 >> 2]; + $12 = $14; + $9 = HEAP32[$10 + 20 >> 2]; + $14 = $9; + $9 = $8; + $10 = $7; + $13 = ($9 | 0) == ($14 | 0) & $10 >>> 0 > $12 >>> 0 | $9 >>> 0 > $14 >>> 0; + $12 = $15; + $10 = HEAP32[$12 + 24 >> 2]; + $3 = $10; + $9 = HEAP32[$12 + 28 >> 2]; + $10 = $9; + $9 = $2; + $12 = $1; + $14 = $3; + $11 = ($10 | 0) == ($9 | 0) & $12 >>> 0 > $14 >>> 0 | $9 >>> 0 > $10 >>> 0; + $12 = $9; + $14 = $1; + $9 = $10; + $10 = $3; + $9 = (($14 | 0) == ($10 | 0) & ($9 | 0) == ($12 | 0) ? $13 : $11) & $4; + $10 = $5; + $13 = $10 + $9 | 0; + $3 = $13; + $14 = $6; + $11 = $14; + $10 = $11; + $11 = $9 >>> 0 > $13 >>> 0 ? $10 + 1 | 0 : $10; + $4 = $11; + $9 = $5; + $10 = ($10 | 0) == ($11 | 0) & $9 >>> 0 > $13 >>> 0 | $10 >>> 0 > $11 >>> 0; + $14 = $18; + $13 = $14; + $9 = $16; + $12 = $10 + $9 | 0; + $5 = $12; + $13 = $10 >>> 0 > $12 >>> 0 ? $13 + 1 | 0 : $13; + $6 = $13; + $10 = $15; + $14 = HEAP32[$10 >> 2]; + $9 = $14; + $13 = HEAP32[$10 + 4 >> 2]; + $14 = $13; + $13 = $8; + $10 = $7; + $8 = ($13 | 0) == ($14 | 0) & $10 >>> 0 > $9 >>> 0 | $13 >>> 0 > $14 >>> 0; + $9 = $15; + $10 = HEAP32[$9 + 8 >> 2]; + $7 = $10; + $13 = HEAP32[$9 + 12 >> 2]; + $10 = $13; + $13 = $2; + $9 = $1; + $14 = $7; + $2 = ($10 | 0) == ($13 | 0) & $9 >>> 0 > $14 >>> 0 | $10 >>> 0 < $13 >>> 0; + $9 = $13; + $14 = $1; + $13 = $10; + $10 = $7; + $13 = (($14 | 0) == ($10 | 0) & ($9 | 0) == ($13 | 0) ? $8 : $2) & $6 >>> 0 < 2147418112; + $14 = $4; + $12 = $14; + $10 = $3; + $11 = $10 + $13 | 0; + $1 = $11; + $10 = $12; + $12 = $11 >>> 0 < $13 >>> 0 ? $10 + 1 | 0 : $10; + $2 = $12; + $13 = $3; + $10 = ($10 | 0) == ($12 | 0) & $13 >>> 0 > $11 >>> 0 | $10 >>> 0 > $12 >>> 0; + $13 = $5; + $9 = $10 + $13 | 0; + $14 = $6; + $11 = $14; + $11 = $9 >>> 0 < $10 >>> 0 ? $11 + 1 | 0 : $11; + $10 = $21; + $21 = $10 | $9; + $13 = $23; + $13 = $11 | $13; + $23 = $13; + } + $14 = $0; + HEAP32[$14 >> 2] = $1; + $13 = $2; + HEAP32[$14 + 4 >> 2] = $13; + HEAP32[$14 + 8 >> 2] = $21; + $13 = $23; + HEAP32[$14 + 12 >> 2] = $13; + __stack_pointer = $15 + 336 | 0; +} + +function decfloat($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 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, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $7 = __stack_pointer - 8976 | 0; + __stack_pointer = $7; + $28 = $3 + $4 | 0; + $34 = 0 - $28 | 0; + label$1: { + label$2: { + while (1) { + label$4: { + if (($2 | 0) != 48) { + if (($2 | 0) != 46) { + break label$1; + } + $2 = HEAP32[$1 + 4 >> 2]; + if (($2 | 0) == HEAP32[$1 + 104 >> 2]) { + break label$4; + } + HEAP32[$1 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$2; + } + $2 = HEAP32[$1 + 4 >> 2]; + if (($2 | 0) != HEAP32[$1 + 104 >> 2]) { + $19 = 1; + HEAP32[$1 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + } else { + $19 = 1; + $2 = __shgetc($1); + } + continue; + } + break; } - return proto[methodName].overloadTable[arguments.length].apply(this, arguments); - }; - proto[methodName].overloadTable = []; - proto[methodName].overloadTable[prevFunc.argCount] = prevFunc; - } -} - -function exposePublicSymbol(name, value, numArguments) { - if (Module.hasOwnProperty(name)) { - if (undefined === numArguments || undefined !== Module[name].overloadTable && undefined !== Module[name].overloadTable[numArguments]) { - throwBindingError("Cannot register public name '" + name + "' twice"); + $2 = __shgetc($1); } - ensureOverloadTable(Module, name, name); - if (Module.hasOwnProperty(numArguments)) { - throwBindingError("Cannot register multiple overloads of a function with the same number of arguments (" + numArguments + ")!"); + $20 = 1; + if (($2 | 0) != 48) { + break label$1; } - Module[name].overloadTable[numArguments] = value; - } else { - Module[name] = value; - if (undefined !== numArguments) { - Module[name].numArguments = numArguments; - } - } -} - -function heap32VectorToArray(count, firstElement) { - var array = []; - for (var i = 0; i < count; i++) { - array.push(HEAP32[(firstElement >> 2) + i]); - } - return array; -} - -function replacePublicSymbol(name, value, numArguments) { - if (!Module.hasOwnProperty(name)) { - throwInternalError("Replacing nonexistant public symbol"); - } - if (undefined !== Module[name].overloadTable && undefined !== numArguments) { - Module[name].overloadTable[numArguments] = value; - } else { - Module[name] = value; - Module[name].argCount = numArguments; - } -} - -function embind__requireFunction(signature, rawFunction) { - signature = readLatin1String(signature); - function makeDynCaller(dynCall) { - var args = []; - for (var i = 1; i < signature.length; ++i) { - args.push("a" + i); - } - var name = "dynCall_" + signature + "_" + rawFunction; - var body = "return function " + name + "(" + args.join(", ") + ") {\n"; - body += " return dynCall(rawFunction" + (args.length ? ", " : "") + args.join(", ") + ");\n"; - body += "};\n"; - return new Function("dynCall", "rawFunction", body)(dynCall, rawFunction); - } - var fp; - if (Module["FUNCTION_TABLE_" + signature] !== undefined) { - fp = Module["FUNCTION_TABLE_" + signature][rawFunction]; - } else if (typeof FUNCTION_TABLE !== "undefined") { - fp = FUNCTION_TABLE[rawFunction]; - } else { - var dc = Module["dynCall_" + signature]; - if (dc === undefined) { - dc = Module["dynCall_" + signature.replace(/f/g, "d")]; - if (dc === undefined) { - throwBindingError("No dynCall invoker for signature: " + signature); + while (1) { + $12 = $15; + $8 = $12 - 1 | 0; + $15 = $8; + $10 = !$12; + $10 = $16 - $10 | 0; + $16 = $10; + $2 = HEAP32[$1 + 4 >> 2]; + label$9: { + if (($2 | 0) != HEAP32[$1 + 104 >> 2]) { + HEAP32[$1 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$9; + } + $2 = __shgetc($1); + } + if (($2 | 0) == 48) { + continue; } + break; } - fp = makeDynCaller(dc); - } - if (typeof fp !== "function") { - throwBindingError("unknown function pointer with signature " + signature + ": " + rawFunction); + $19 = 1; } - return fp; -} - -var UnboundTypeError = undefined; - -function getTypeName(type) { - var ptr = ___getTypeName(type); - var rv = readLatin1String(ptr); - _free(ptr); - return rv; -} - -function throwUnboundTypeError(message, types) { - var unboundTypes = []; - var seen = {}; - function visit(type) { - if (seen[type]) { - return; - } - if (registeredTypes[type]) { - return; - } - if (typeDependencies[type]) { - typeDependencies[type].forEach(visit); - return; + HEAP32[$7 + 784 >> 2] = 0; + label$11: { + label$12: { + $13 = ($2 | 0) == 46; + $17 = $2 - 48 | 0; + label$13: { + label$14: { + label$15: { + label$16: { + if ($13 | $17 >>> 0 <= 9) { + while (1) { + label$20: { + if ($13 & 1) { + if (!$20) { + $15 = $14; + $10 = $18; + $16 = $10; + $20 = 1; + break label$20; + } + $13 = !$19; + break label$16; + } + $10 = $18; + $8 = $10; + $9 = $14 + 1 | 0; + $8 = $9 ? $8 : $8 + 1 | 0; + $14 = $9; + $18 = $8; + if (($21 | 0) <= 2044) { + $19 = ($2 | 0) == 48; + $27 = $19 ? $27 : $14; + $13 = ($7 + 784 | 0) + ($21 << 2) | 0; + $17 = $24 ? (Math_imul(HEAP32[$13 >> 2], 10) + $2 | 0) - 48 | 0 : $17; + HEAP32[$13 >> 2] = $17; + $19 = 1; + $2 = $24 + 1 | 0; + $8 = $2; + $2 = ($2 | 0) == 9; + $24 = $2 ? 0 : $8; + $21 = $2 + $21 | 0; + break label$20; + } + if (($2 | 0) == 48) { + break label$20; + } + HEAP32[$7 + 8960 >> 2] = HEAP32[$7 + 8960 >> 2] | 1; + $27 = 18396; + } + $2 = HEAP32[$1 + 4 >> 2]; + label$25: { + if (($2 | 0) != HEAP32[$1 + 104 >> 2]) { + HEAP32[$1 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$25; + } + $2 = __shgetc($1); + } + $13 = ($2 | 0) == 46; + $17 = $2 - 48 | 0; + if ($13 | $17 >>> 0 < 10) { + continue; + } + break; + } + } + $12 = $20; + $11 = $12 ? $15 : $14; + $15 = $11; + $8 = $16; + $10 = $12 ? $8 : $18; + $16 = $10; + if (!(!$19 | ($2 & -33) != 69)) { + $10 = scanexp($1, $6); + $25 = $10; + $11 = i64toi32_i32$HIGH_BITS; + $22 = $11; + $12 = $25; + label$28: { + if ($12 | ($11 | 0) != -2147483648) { + break label$28; + } + if (!$6) { + break label$13; + } + $25 = 0; + $22 = 0; + $8 = $1; + $12 = HEAP32[$8 + 112 >> 2]; + $11 = HEAP32[$1 + 116 >> 2]; + if (($11 | 0) < 0) { + break label$28; + } + HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] - 1; + } + if (!$19) { + break label$14; + } + $11 = $22; + $8 = $16; + $9 = $11 + $8 | 0; + $12 = $25; + $10 = $15; + $22 = $12 + $10 | 0; + $9 = $12 >>> 0 > $22 >>> 0 ? $9 + 1 | 0 : $9; + $15 = $22; + $16 = $9; + break label$12; + } + $13 = !$19; + if (($2 | 0) < 0) { + break label$15; + } + } + $8 = $1; + $9 = HEAP32[$8 + 112 >> 2]; + $10 = HEAP32[$1 + 116 >> 2]; + if (($10 | 0) < 0) { + break label$15; + } + HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] - 1; + } + if (!$13) { + break label$12; + } + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 28, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $14 = 0; + $18 = 0; + __shlim($1, 0, 0); + $8 = 0; + break label$11; + } + $1 = HEAP32[$7 + 784 >> 2]; + if (!$1) { + __extenddftf2($7, +($5 | 0) * 0); + $8 = HEAP32[$7 >> 2]; + $14 = $8; + $10 = HEAP32[$7 + 4 >> 2]; + $18 = $10; + $8 = HEAP32[$7 + 12 >> 2]; + $23 = $8; + $10 = HEAP32[$7 + 8 >> 2]; + $8 = $10; + break label$11; + } + $9 = $14; + $12 = $15; + $8 = $16; + $10 = $18; + $2 = ($9 | 0) != ($12 | 0) | ($8 | 0) != ($10 | 0); + $12 = $18; + if (!($2 | ($9 >>> 0 > 9 & ($12 | 0) >= 0 | ($12 | 0) > 0) | ($1 >>> $3 | 0 ? ($3 | 0) <= 30 : 0))) { + __floatsitf($7 + 48 | 0, $5); + __floatunsitf($7 + 32 | 0, $1); + $9 = HEAP32[$7 + 48 >> 2]; + $6 = $9; + $12 = HEAP32[$7 + 52 >> 2]; + $2 = $12; + $12 = HEAP32[$7 + 56 >> 2]; + $5 = $12; + $9 = HEAP32[$7 + 60 >> 2]; + $1 = $9; + $9 = HEAP32[$7 + 32 >> 2]; + $4 = $9; + $12 = HEAP32[$7 + 36 >> 2]; + $10 = $12; + $12 = HEAP32[$7 + 40 >> 2]; + $3 = $12; + $9 = HEAP32[$7 + 44 >> 2]; + $8 = $9; + $9 = $2; + $12 = $1; + __multf3($7 + 16 | 0, $6, $9, $5, $12, $4, $10, $3, $8); + $8 = HEAP32[$7 + 16 >> 2]; + $14 = $8; + $10 = HEAP32[$7 + 20 >> 2]; + $18 = $10; + $8 = HEAP32[$7 + 28 >> 2]; + $23 = $8; + $10 = HEAP32[$7 + 24 >> 2]; + $8 = $10; + break label$11; + } + $9 = $15; + $12 = ($4 | 0) / -2 | 0; + $10 = $16; + if ($9 >>> 0 > $12 >>> 0 & ($10 | 0) >= 0 | ($10 | 0) > 0) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 68, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __floatsitf($7 + 96 | 0, $5); + $12 = HEAP32[$7 + 96 >> 2]; + $3 = $12; + $12 = HEAP32[$7 + 108 >> 2]; + $1 = $12; + $8 = HEAP32[$7 + 100 >> 2]; + $12 = $8; + $8 = HEAP32[$7 + 104 >> 2]; + $2 = $8; + $8 = $1; + __multf3($7 + 80 | 0, $3, $12, $2, $8, -1, -1, -1, 2147418111); + $10 = HEAP32[$7 + 80 >> 2]; + $3 = $10; + $10 = HEAP32[$7 + 92 >> 2]; + $1 = $10; + $9 = HEAP32[$7 + 84 >> 2]; + $10 = $9; + $9 = HEAP32[$7 + 88 >> 2]; + $2 = $9; + $9 = $1; + __multf3($7 - -64 | 0, $3, $10, $2, $9, -1, -1, -1, 2147418111); + $12 = HEAP32[$7 + 64 >> 2]; + $14 = $12; + $8 = HEAP32[$7 + 68 >> 2]; + $18 = $8; + $12 = HEAP32[$7 + 76 >> 2]; + $23 = $12; + $8 = HEAP32[$7 + 72 >> 2]; + break label$11; + } + $8 = $4 - 226 | 0; + $12 = $8 >> 31; + $9 = $8; + $10 = $15; + $8 = $16; + if ($9 >>> 0 > $10 >>> 0 & ($8 | 0) <= ($12 | 0) | ($12 | 0) > ($8 | 0)) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 68, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __floatsitf($7 + 144 | 0, $5); + $9 = HEAP32[$7 + 144 >> 2]; + $3 = $9; + $9 = HEAP32[$7 + 156 >> 2]; + $1 = $9; + $12 = HEAP32[$7 + 148 >> 2]; + $9 = $12; + $12 = HEAP32[$7 + 152 >> 2]; + $2 = $12; + $12 = $1; + __multf3($7 + 128 | 0, $3, $9, $2, $12, 0, 0, 0, 65536); + $8 = HEAP32[$7 + 128 >> 2]; + $3 = $8; + $8 = HEAP32[$7 + 140 >> 2]; + $1 = $8; + $10 = HEAP32[$7 + 132 >> 2]; + $8 = $10; + $10 = HEAP32[$7 + 136 >> 2]; + $2 = $10; + $10 = $1; + __multf3($7 + 112 | 0, $3, $8, $2, $10, 0, 0, 0, 65536); + $9 = HEAP32[$7 + 112 >> 2]; + $14 = $9; + $12 = HEAP32[$7 + 116 >> 2]; + $18 = $12; + $9 = HEAP32[$7 + 124 >> 2]; + $23 = $9; + $12 = HEAP32[$7 + 120 >> 2]; + $8 = $12; + break label$11; + } + if ($24) { + if (($24 | 0) <= 8) { + $2 = ($7 + 784 | 0) + ($21 << 2) | 0; + $1 = HEAP32[$2 >> 2]; + while (1) { + $1 = Math_imul($1, 10); + $24 = $24 + 1 | 0; + if (($24 | 0) != 9) { + continue; + } + break; + } + HEAP32[$2 >> 2] = $1; + } + $21 = $21 + 1 | 0; + } + label$36: { + $20 = $15; + if (($27 | 0) > ($20 | 0) | ($27 | 0) >= 9 | ($20 | 0) > 17) { + break label$36; + } + if (($20 | 0) == 9) { + __floatsitf($7 + 192 | 0, $5); + __floatunsitf($7 + 176 | 0, HEAP32[$7 + 784 >> 2]); + $9 = HEAP32[$7 + 192 >> 2]; + $6 = $9; + $12 = HEAP32[$7 + 196 >> 2]; + $2 = $12; + $12 = HEAP32[$7 + 200 >> 2]; + $5 = $12; + $9 = HEAP32[$7 + 204 >> 2]; + $1 = $9; + $9 = HEAP32[$7 + 176 >> 2]; + $4 = $9; + $12 = HEAP32[$7 + 180 >> 2]; + $10 = $12; + $12 = HEAP32[$7 + 184 >> 2]; + $3 = $12; + $9 = HEAP32[$7 + 188 >> 2]; + $8 = $9; + $9 = $2; + $12 = $1; + __multf3($7 + 160 | 0, $6, $9, $5, $12, $4, $10, $3, $8); + $8 = HEAP32[$7 + 160 >> 2]; + $14 = $8; + $10 = HEAP32[$7 + 164 >> 2]; + $18 = $10; + $8 = HEAP32[$7 + 172 >> 2]; + $23 = $8; + $10 = HEAP32[$7 + 168 >> 2]; + $8 = $10; + break label$11; + } + if (($20 | 0) <= 8) { + __floatsitf($7 + 272 | 0, $5); + __floatunsitf($7 + 256 | 0, HEAP32[$7 + 784 >> 2]); + $8 = HEAP32[$7 + 272 >> 2]; + $6 = $8; + $10 = HEAP32[$7 + 276 >> 2]; + $2 = $10; + $10 = HEAP32[$7 + 280 >> 2]; + $5 = $10; + $8 = HEAP32[$7 + 284 >> 2]; + $1 = $8; + $8 = HEAP32[$7 + 256 >> 2]; + $4 = $8; + $10 = HEAP32[$7 + 260 >> 2]; + $12 = $10; + $10 = HEAP32[$7 + 264 >> 2]; + $3 = $10; + $8 = HEAP32[$7 + 268 >> 2]; + $9 = $8; + $8 = $2; + $10 = $1; + __multf3($7 + 240 | 0, $6, $8, $5, $10, $4, $12, $3, $9); + __floatsitf($7 + 224 | 0, HEAP32[(0 - $20 << 2) + 52256 >> 2]); + $9 = HEAP32[$7 + 240 >> 2]; + $6 = $9; + $12 = HEAP32[$7 + 244 >> 2]; + $2 = $12; + $12 = HEAP32[$7 + 248 >> 2]; + $5 = $12; + $9 = HEAP32[$7 + 252 >> 2]; + $1 = $9; + $9 = HEAP32[$7 + 224 >> 2]; + $4 = $9; + $12 = HEAP32[$7 + 228 >> 2]; + $10 = $12; + $12 = HEAP32[$7 + 232 >> 2]; + $3 = $12; + $9 = HEAP32[$7 + 236 >> 2]; + $8 = $9; + $9 = $2; + $12 = $1; + __divtf3($7 + 208 | 0, $6, $9, $5, $12, $4, $10, $3, $8); + $8 = HEAP32[$7 + 208 >> 2]; + $14 = $8; + $10 = HEAP32[$7 + 212 >> 2]; + $18 = $10; + $8 = HEAP32[$7 + 220 >> 2]; + $23 = $8; + $10 = HEAP32[$7 + 216 >> 2]; + $8 = $10; + break label$11; + } + $2 = (Math_imul($20, -3) + $3 | 0) + 27 | 0; + $1 = HEAP32[$7 + 784 >> 2]; + if ($1 >>> $2 | 0 ? ($2 | 0) <= 30 : 0) { + break label$36; + } + __floatsitf($7 + 352 | 0, $5); + __floatunsitf($7 + 336 | 0, $1); + $8 = HEAP32[$7 + 352 >> 2]; + $6 = $8; + $10 = HEAP32[$7 + 356 >> 2]; + $2 = $10; + $10 = HEAP32[$7 + 360 >> 2]; + $5 = $10; + $8 = HEAP32[$7 + 364 >> 2]; + $1 = $8; + $8 = HEAP32[$7 + 336 >> 2]; + $4 = $8; + $10 = HEAP32[$7 + 340 >> 2]; + $12 = $10; + $10 = HEAP32[$7 + 344 >> 2]; + $3 = $10; + $8 = HEAP32[$7 + 348 >> 2]; + $9 = $8; + $8 = $2; + $10 = $1; + __multf3($7 + 320 | 0, $6, $8, $5, $10, $4, $12, $3, $9); + __floatsitf($7 + 304 | 0, HEAP32[($20 << 2) + 52184 >> 2]); + $9 = HEAP32[$7 + 320 >> 2]; + $6 = $9; + $12 = HEAP32[$7 + 324 >> 2]; + $2 = $12; + $12 = HEAP32[$7 + 328 >> 2]; + $5 = $12; + $9 = HEAP32[$7 + 332 >> 2]; + $1 = $9; + $9 = HEAP32[$7 + 304 >> 2]; + $4 = $9; + $12 = HEAP32[$7 + 308 >> 2]; + $10 = $12; + $12 = HEAP32[$7 + 312 >> 2]; + $3 = $12; + $9 = HEAP32[$7 + 316 >> 2]; + $8 = $9; + $9 = $2; + $12 = $1; + __multf3($7 + 288 | 0, $6, $9, $5, $12, $4, $10, $3, $8); + $8 = HEAP32[$7 + 288 >> 2]; + $14 = $8; + $10 = HEAP32[$7 + 292 >> 2]; + $18 = $10; + $8 = HEAP32[$7 + 300 >> 2]; + $23 = $8; + $10 = HEAP32[$7 + 296 >> 2]; + $8 = $10; + break label$11; } - unboundTypes.push(type); - seen[type] = true; - } - types.forEach(visit); - throw new UnboundTypeError(message + ": " + unboundTypes.map(getTypeName).join([ ", " ])); -} - -function __embind_register_function(name, argCount, rawArgTypesAddr, signature, rawInvoker, fn) { - var argTypes = heap32VectorToArray(argCount, rawArgTypesAddr); - name = readLatin1String(name); - rawInvoker = embind__requireFunction(signature, rawInvoker); - exposePublicSymbol(name, function() { - throwUnboundTypeError("Cannot call " + name + " due to unbound types", argTypes); - }, argCount - 1); - whenDependentTypesAreResolved([], argTypes, function(argTypes) { - var invokerArgsArray = [ argTypes[0], null ].concat(argTypes.slice(1)); - replacePublicSymbol(name, craftInvokerFunction(name, invokerArgsArray, null, rawInvoker, fn), argCount - 1); - return []; - }); -} - -function integerReadValueFromPointer(name, shift, signed) { - switch (shift) { - case 0: - return signed ? function readS8FromPointer(pointer) { - return HEAP8[pointer]; - } : function readU8FromPointer(pointer) { - return HEAPU8[pointer]; - }; - - case 1: - return signed ? function readS16FromPointer(pointer) { - return HEAP16[pointer >> 1]; - } : function readU16FromPointer(pointer) { - return HEAPU16[pointer >> 1]; - }; - - case 2: - return signed ? function readS32FromPointer(pointer) { - return HEAP32[pointer >> 2]; - } : function readU32FromPointer(pointer) { - return HEAPU32[pointer >> 2]; - }; - - default: - throw new TypeError("Unknown integer type: " + name); - } -} - -function __embind_register_integer(primitiveType, name, size, minRange, maxRange) { - name = readLatin1String(name); - if (maxRange === -1) { - maxRange = 4294967295; - } - var shift = getShiftFromSize(size); - var fromWireType = function(value) { - return value; - }; - if (minRange === 0) { - var bitshift = 32 - 8 * size; - fromWireType = function(value) { - return value << bitshift >>> bitshift; - }; - } - var isUnsignedType = name.indexOf("unsigned") != -1; - registerType(primitiveType, { - name: name, - "fromWireType": fromWireType, - "toWireType": function(destructors, value) { - if (typeof value !== "number" && typeof value !== "boolean") { - throw new TypeError('Cannot convert "' + _embind_repr(value) + '" to ' + this.name); + while (1) { + $2 = $21; + $21 = $2 - 1 | 0; + if (!HEAP32[($7 + 784 | 0) + ($21 << 2) >> 2]) { + continue; } - if (value < minRange || value > maxRange) { - throw new TypeError('Passing a number "' + _embind_repr(value) + '" from JS side to C/C++ side to an argument of type "' + name + '", which is outside the valid range [' + minRange + ", " + maxRange + "]!"); + break; + } + $24 = 0; + $1 = ($20 | 0) % 9 | 0; + label$40: { + if (!$1) { + $13 = 0; + break label$40; } - return isUnsignedType ? value >>> 0 : value | 0; - }, - "argPackAdvance": 8, - "readValueFromPointer": integerReadValueFromPointer(name, shift, minRange !== 0), - destructorFunction: null - }); -} - -function __embind_register_memory_view(rawType, dataTypeIndex, name) { - var typeMapping = [ Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array ]; - var TA = typeMapping[dataTypeIndex]; - function decodeMemoryView(handle) { - handle = handle >> 2; - var heap = HEAPU32; - var size = heap[handle]; - var data = heap[handle + 1]; - return new TA(heap["buffer"], data, size); - } - name = readLatin1String(name); - registerType(rawType, { - name: name, - "fromWireType": decodeMemoryView, - "argPackAdvance": 8, - "readValueFromPointer": decodeMemoryView - }, { - ignoreDuplicateRegistrations: true - }); -} - -function __embind_register_std_string(rawType, name) { - name = readLatin1String(name); - var stdStringIsUTF8 = name === "std::string"; - registerType(rawType, { - name: name, - "fromWireType": function(value) { - var length = HEAPU32[value >> 2]; - var str; - if (stdStringIsUTF8) { - var endChar = HEAPU8[value + 4 + length]; - var endCharSwap = 0; - if (endChar != 0) { - endCharSwap = endChar; - HEAPU8[value + 4 + length] = 0; - } - var decodeStartPtr = value + 4; - for (var i = 0; i <= length; ++i) { - var currentBytePtr = value + 4 + i; - if (HEAPU8[currentBytePtr] == 0) { - var stringSegment = UTF8ToString(decodeStartPtr); - if (str === undefined) str = stringSegment; else { - str += String.fromCharCode(0); - str += stringSegment; - } - decodeStartPtr = currentBytePtr + 1; - } - } - if (endCharSwap != 0) HEAPU8[value + 4 + length] = endCharSwap; - } else { - var a = new Array(length); - for (var i = 0; i < length; ++i) { - a[i] = String.fromCharCode(HEAPU8[value + 4 + i]); + $13 = 0; + $6 = ($20 | 0) < 0 ? $1 + 9 | 0 : $1; + label$42: { + if (!$2) { + $2 = 0; + break label$42; } - str = a.join(""); - } - _free(value); - return str; - }, - "toWireType": function(destructors, value) { - if (value instanceof ArrayBuffer) { - value = new Uint8Array(value); - } - var getLength; - var valueIsOfTypeString = typeof value === "string"; - if (!(valueIsOfTypeString || value instanceof Uint8Array || value instanceof Uint8ClampedArray || value instanceof Int8Array)) { - throwBindingError("Cannot pass non-string to std::string"); - } - if (stdStringIsUTF8 && valueIsOfTypeString) { - getLength = function() { - return lengthBytesUTF8(value); - }; - } else { - getLength = function() { - return value.length; - }; + $19 = HEAP32[(0 - $6 << 2) + 52256 >> 2]; + $14 = 1e9 / ($19 | 0) | 0; + $17 = 0; + $1 = 0; + while (1) { + $21 = ($7 + 784 | 0) + ($1 << 2) | 0; + $8 = $21; + $21 = HEAP32[$21 >> 2]; + $27 = ($21 >>> 0) / ($19 >>> 0) | 0; + $17 = $27 + $17 | 0; + HEAP32[$8 >> 2] = $17; + $17 = !$17 & ($1 | 0) == ($13 | 0); + $13 = $17 ? $13 + 1 & 2047 : $13; + $20 = $17 ? $20 - 9 | 0 : $20; + $17 = Math_imul($21 - Math_imul($19, $27) | 0, $14); + $1 = $1 + 1 | 0; + if (($2 | 0) != ($1 | 0)) { + continue; + } + break; + } + if (!$17) { + break label$42; + } + HEAP32[($7 + 784 | 0) + ($2 << 2) >> 2] = $17; + $2 = $2 + 1 | 0; } - var length = getLength(); - var ptr = _malloc(4 + length + 1); - HEAPU32[ptr >> 2] = length; - if (stdStringIsUTF8 && valueIsOfTypeString) { - stringToUTF8(value, ptr + 4, length + 1); - } else { - if (valueIsOfTypeString) { - for (var i = 0; i < length; ++i) { - var charCode = value.charCodeAt(i); - if (charCode > 255) { - _free(ptr); - throwBindingError("String has UTF-16 code units that do not fit in 8 bits"); + $20 = ($20 - $6 | 0) + 9 | 0; + } + while (1) { + $27 = ($7 + 784 | 0) + ($13 << 2) | 0; + label$46: { + while (1) { + if ((($20 | 0) != 36 | HEAPU32[$27 >> 2] >= 10384593) & ($20 | 0) >= 36) { + break label$46; + } + $19 = $2 + 2047 | 0; + $17 = 0; + while (1) { + $1 = $19 & 2047; + $19 = ($7 + 784 | 0) + ($1 << 2) | 0; + $12 = $19; + $8 = HEAP32[$12 >> 2]; + $12 = $8; + $8 = $8 >>> 3 | 0; + $9 = $12 << 29; + $10 = $17; + $11 = $9 + $10 | 0; + $12 = $8; + $22 = $9 >>> 0 > $11 >>> 0 ? $12 + 1 | 0 : $12; + $15 = $11; + $16 = $22; + $8 = $11; + if (!$16 & $8 >>> 0 < 1000000001) { + $14 = 0; + } else { + $8 = $16; + $22 = __wasm_i64_udiv($15, $8, 1e9, 0); + $14 = $22; + $8 = i64toi32_i32$HIGH_BITS; + $18 = $8; + $22 = __wasm_i64_mul($14, $8, 1e9, 0); + $8 = i64toi32_i32$HIGH_BITS; + $6 = $8; + $9 = $15; + $10 = $22; + $12 = $9 - $10 | 0; + $15 = $12; + $8 = $16; + $22 = $6; + $11 = $22 + ($9 >>> 0 < $10 >>> 0) | 0; + $11 = $8 - $11 | 0; + $16 = $11; } - HEAPU8[ptr + 4 + i] = charCode; + $17 = $14; + HEAP32[$19 >> 2] = $15; + $2 = ($2 - 1 & 2047) != ($1 | 0) ? $2 : ($1 | 0) == ($13 | 0) ? $2 : $15 ? $2 : $1; + $19 = $1 - 1 | 0; + if (($1 | 0) != ($13 | 0)) { + continue; + } + break; } - } else { - for (var i = 0; i < length; ++i) { - HEAPU8[ptr + 4 + i] = value[i]; + $24 = $24 - 29 | 0; + if (!$17) { + continue; } + break; } + $13 = $13 - 1 & 2047; + if (($13 | 0) == ($2 | 0)) { + $1 = ($7 + 784 | 0) + (($2 + 2046 & 2047) << 2) | 0; + $6 = $1; + $8 = HEAP32[$1 >> 2]; + $1 = $2 - 1 & 2047; + HEAP32[$6 >> 2] = $8 | HEAP32[($7 + 784 | 0) + ($1 << 2) >> 2]; + $2 = $1; + } + $20 = $20 + 9 | 0; + HEAP32[($7 + 784 | 0) + ($13 << 2) >> 2] = $17; + continue; } - if (destructors !== null) { - destructors.push(_free, ptr); - } - return ptr; - }, - "argPackAdvance": 8, - "readValueFromPointer": simpleReadValueFromPointer, - destructorFunction: function(ptr) { - _free(ptr); - } - }); -} - -function __embind_register_std_wstring(rawType, charSize, name) { - name = readLatin1String(name); - var getHeap, shift; - if (charSize === 2) { - getHeap = function() { - return HEAPU16; - }; - shift = 1; - } else if (charSize === 4) { - getHeap = function() { - return HEAPU32; - }; - shift = 2; - } - registerType(rawType, { - name: name, - "fromWireType": function(value) { - var HEAP = getHeap(); - var length = HEAPU32[value >> 2]; - var a = new Array(length); - var start = value + 4 >> shift; - for (var i = 0; i < length; ++i) { - a[i] = String.fromCharCode(HEAP[start + i]); - } - _free(value); - return a.join(""); - }, - "toWireType": function(destructors, value) { - var HEAP = getHeap(); - var length = value.length; - var ptr = _malloc(4 + length * charSize); - HEAPU32[ptr >> 2] = length; - var start = ptr + 4 >> shift; - for (var i = 0; i < length; ++i) { - HEAP[start + i] = value.charCodeAt(i); - } - if (destructors !== null) { - destructors.push(_free, ptr); - } - return ptr; - }, - "argPackAdvance": 8, - "readValueFromPointer": simpleReadValueFromPointer, - destructorFunction: function(ptr) { - _free(ptr); - } - }); -} - -function __embind_register_void(rawType, name) { - name = readLatin1String(name); - registerType(rawType, { - isVoid: true, - name: name, - "argPackAdvance": 0, - "fromWireType": function() { - return undefined; - }, - "toWireType": function(destructors, o) { - return undefined; + break; } - }); -} - -function _abort() { - Module["abort"](); -} - -function _emscripten_get_heap_size() { - return HEAP8.length; -} - -function abortOnCannotGrowMemory(requestedSize) { - abort("Cannot enlarge memory arrays to size " + requestedSize + " bytes (OOM). Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value " + HEAP8.length + ", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 "); -} - -function emscripten_realloc_buffer(size) { - try { - var newBuffer = new ArrayBuffer(size); - if (newBuffer.byteLength != size) return false; - new Int8Array(newBuffer).set(HEAP8); - } catch (e) { - return false; - } - buffer = newBuffer; - Module["_emscripten_replace_memory"](newBuffer); - return true; -} - -function _emscripten_resize_heap(requestedSize) { - var oldSize = _emscripten_get_heap_size(); - assert(requestedSize > oldSize); - var PAGE_MULTIPLE = 16777216; - var LIMIT = 2147483648 - PAGE_MULTIPLE; - if (requestedSize > LIMIT) { - err("Cannot enlarge memory, asked to go up to " + requestedSize + " bytes, but the limit is " + LIMIT + " bytes!"); - return false; - } - var MIN_TOTAL_MEMORY = 16777216; - var newSize = Math.max(oldSize, MIN_TOTAL_MEMORY); - while (newSize < requestedSize) { - if (newSize <= 536870912) { - newSize = alignUp(2 * newSize, PAGE_MULTIPLE); - } else { - newSize = Math.min(alignUp((3 * newSize + 2147483648) / 4, PAGE_MULTIPLE), LIMIT); - if (newSize === oldSize) { - warnOnce("Cannot ask for more memory since we reached the practical limit in browsers (which is just below 2GB), so the request would have failed. Requesting only " + HEAP8.length); + label$53: { + label$54: while (1) { + $8 = $2 + 1 & 2047; + $6 = ($7 + 784 | 0) + (($2 - 1 & 2047) << 2) | 0; + while (1) { + $21 = ($20 | 0) > 45 ? 9 : 1; + label$56: { + while (1) { + $19 = $13; + $1 = 0; + label$58: { + while (1) { + label$60: { + $13 = $1 + $19 & 2047; + if (($13 | 0) == ($2 | 0)) { + break label$60; + } + $13 = HEAP32[($7 + 784 | 0) + ($13 << 2) >> 2]; + $17 = HEAP32[($1 << 2) + 52208 >> 2]; + if ($13 >>> 0 < $17 >>> 0) { + break label$60; + } + if ($13 >>> 0 > $17 >>> 0) { + break label$58; + } + $1 = $1 + 1 | 0; + if (($1 | 0) != 4) { + continue; + } + } + break; + } + if (($20 | 0) != 36) { + break label$58; + } + $15 = 0; + $16 = 0; + $1 = 0; + $14 = 0; + $18 = 0; + while (1) { + $13 = $1 + $19 & 2047; + if (($13 | 0) == ($2 | 0)) { + $2 = $2 + 1 & 2047; + HEAP32[(($2 << 2) + $7 | 0) + 780 >> 2] = 0; + } + __floatunsitf($7 + 768 | 0, HEAP32[($7 + 784 | 0) + ($13 << 2) >> 2]); + $11 = $16; + $9 = $18; + __multf3($7 + 752 | 0, $15, $11, $14, $9, 0, 0, 1342177280, 1075633366); + $10 = HEAP32[$7 + 752 >> 2]; + $14 = $10; + $8 = HEAP32[$7 + 756 >> 2]; + $12 = $8; + $8 = HEAP32[$7 + 760 >> 2]; + $15 = $8; + $10 = HEAP32[$7 + 764 >> 2]; + $6 = $10; + $10 = HEAP32[$7 + 768 >> 2]; + $18 = $10; + $8 = HEAP32[$7 + 772 >> 2]; + $9 = $8; + $8 = HEAP32[$7 + 776 >> 2]; + $16 = $8; + $10 = HEAP32[$7 + 780 >> 2]; + $11 = $10; + $10 = $12; + $8 = $6; + __addtf3($7 + 736 | 0, $14, $10, $15, $8, $18, $9, $16, $11); + $11 = HEAP32[$7 + 744 >> 2]; + $14 = $11; + $9 = HEAP32[$7 + 748 >> 2]; + $18 = $9; + $9 = HEAP32[$7 + 736 >> 2]; + $15 = $9; + $11 = HEAP32[$7 + 740 >> 2]; + $16 = $11; + $1 = $1 + 1 | 0; + if (($1 | 0) != 4) { + continue; + } + break; + } + __floatsitf($7 + 720 | 0, $5); + $11 = HEAP32[$7 + 720 >> 2]; + $6 = $11; + $9 = HEAP32[$7 + 724 >> 2]; + $8 = $9; + $9 = HEAP32[$7 + 728 >> 2]; + $1 = $9; + $11 = HEAP32[$7 + 732 >> 2]; + $10 = $11; + $11 = $16; + $9 = $18; + __multf3($7 + 704 | 0, $15, $11, $14, $9, $6, $8, $1, $10); + $10 = HEAP32[$7 + 712 >> 2]; + $14 = $10; + $8 = HEAP32[$7 + 716 >> 2]; + $18 = $8; + $15 = 0; + $16 = 0; + $8 = HEAP32[$7 + 704 >> 2]; + $25 = $8; + $10 = HEAP32[$7 + 708 >> 2]; + $22 = $10; + $17 = $24 + 113 | 0; + $1 = $17 - $4 | 0; + $21 = ($3 | 0) > ($1 | 0); + $13 = $21 ? ($1 | 0) > 0 ? $1 : 0 : $3; + if (($13 | 0) <= 112) { + break label$56; + } + break label$53; + } + $24 = $21 + $24 | 0; + $13 = $2; + if (($2 | 0) == ($19 | 0)) { + continue; + } + break; + } + $27 = 1e9 >>> $21 | 0; + $14 = -1 << $21 ^ -1; + $1 = 0; + $13 = $19; + while (1) { + $17 = ($7 + 784 | 0) + ($19 << 2) | 0; + $9 = $17; + $17 = HEAP32[$17 >> 2]; + $1 = ($17 >>> $21 | 0) + $1 | 0; + HEAP32[$9 >> 2] = $1; + $1 = !$1 & ($13 | 0) == ($19 | 0); + $13 = $1 ? $13 + 1 & 2047 : $13; + $20 = $1 ? $20 - 9 | 0 : $20; + $1 = Math_imul($17 & $14, $27); + $19 = $19 + 1 & 2047; + if (($19 | 0) != ($2 | 0)) { + continue; + } + break; + } + if (!$1) { + continue; + } + if (($13 | 0) != ($8 | 0)) { + HEAP32[($7 + 784 | 0) + ($2 << 2) >> 2] = $1; + $2 = $8; + continue label$54; + } + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] | 1; + continue; + } + break; + } + break; + } + __extenddftf2($7 + 656 | 0, scalbn(1, 225 - $13 | 0)); + $10 = HEAP32[$7 + 656 >> 2]; + $6 = $10; + $10 = HEAP32[$7 + 668 >> 2]; + $3 = $10; + $8 = HEAP32[$7 + 660 >> 2]; + $10 = $8; + $8 = HEAP32[$7 + 664 >> 2]; + $4 = $8; + $8 = $3; + $9 = $22; + $11 = $18; + copysignl($7 + 688 | 0, $6, $10, $4, $8, $25, $9, $14, $11); + $11 = HEAP32[$7 + 696 >> 2]; + $29 = $11; + $9 = HEAP32[$7 + 700 >> 2]; + $30 = $9; + $9 = HEAP32[$7 + 688 >> 2]; + $31 = $9; + $11 = HEAP32[$7 + 692 >> 2]; + $32 = $11; + __extenddftf2($7 + 640 | 0, scalbn(1, 113 - $13 | 0)); + $11 = HEAP32[$7 + 640 >> 2]; + $4 = $11; + $9 = HEAP32[$7 + 644 >> 2]; + $8 = $9; + $9 = HEAP32[$7 + 648 >> 2]; + $3 = $9; + $11 = HEAP32[$7 + 652 >> 2]; + $10 = $11; + $11 = $22; + $9 = $18; + fmodl($7 + 672 | 0, $25, $11, $14, $9, $4, $8, $3, $10); + $10 = HEAP32[$7 + 672 >> 2]; + $15 = $10; + $8 = HEAP32[$7 + 676 >> 2]; + $16 = $8; + $8 = HEAP32[$7 + 680 >> 2]; + $26 = $8; + $10 = HEAP32[$7 + 684 >> 2]; + $23 = $10; + $10 = $11; + $8 = $9; + $9 = $16; + $11 = $23; + __subtf3($7 + 624 | 0, $25, $10, $14, $8, $15, $9, $26, $11); + $11 = HEAP32[$7 + 624 >> 2]; + $4 = $11; + $9 = HEAP32[$7 + 628 >> 2]; + $8 = $9; + $9 = HEAP32[$7 + 632 >> 2]; + $3 = $9; + $11 = HEAP32[$7 + 636 >> 2]; + $10 = $11; + $11 = $32; + $9 = $30; + __addtf3($7 + 608 | 0, $31, $11, $29, $9, $4, $8, $3, $10); + $10 = HEAP32[$7 + 616 >> 2]; + $14 = $10; + $8 = HEAP32[$7 + 620 >> 2]; + $18 = $8; + $8 = HEAP32[$7 + 608 >> 2]; + $25 = $8; + $10 = HEAP32[$7 + 612 >> 2]; + $22 = $10; + } + $20 = $19 + 4 & 2047; + label$65: { + if (($20 | 0) == ($2 | 0)) { + break label$65; + } + $20 = HEAP32[($7 + 784 | 0) + ($20 << 2) >> 2]; + label$66: { + if ($20 >>> 0 <= 499999999) { + if (!$20 & ($19 + 5 & 2047) == ($2 | 0)) { + break label$66; + } + __extenddftf2($7 + 496 | 0, +($5 | 0) * .25); + $10 = HEAP32[$7 + 496 >> 2]; + $3 = $10; + $8 = HEAP32[$7 + 500 >> 2]; + $9 = $8; + $8 = HEAP32[$7 + 504 >> 2]; + $2 = $8; + $10 = HEAP32[$7 + 508 >> 2]; + $11 = $10; + $10 = $16; + $8 = $23; + __addtf3($7 + 480 | 0, $15, $10, $26, $8, $3, $9, $2, $11); + $11 = HEAP32[$7 + 488 >> 2]; + $26 = $11; + $9 = HEAP32[$7 + 492 >> 2]; + $23 = $9; + $9 = HEAP32[$7 + 480 >> 2]; + $15 = $9; + $11 = HEAP32[$7 + 484 >> 2]; + $16 = $11; + break label$66; + } + if (($20 | 0) != 5e8) { + __extenddftf2($7 + 592 | 0, +($5 | 0) * .75); + $11 = HEAP32[$7 + 592 >> 2]; + $3 = $11; + $9 = HEAP32[$7 + 596 >> 2]; + $8 = $9; + $9 = HEAP32[$7 + 600 >> 2]; + $2 = $9; + $11 = HEAP32[$7 + 604 >> 2]; + $10 = $11; + $11 = $16; + $9 = $23; + __addtf3($7 + 576 | 0, $15, $11, $26, $9, $3, $8, $2, $10); + $10 = HEAP32[$7 + 584 >> 2]; + $26 = $10; + $8 = HEAP32[$7 + 588 >> 2]; + $23 = $8; + $8 = HEAP32[$7 + 576 >> 2]; + $15 = $8; + $10 = HEAP32[$7 + 580 >> 2]; + $16 = $10; + break label$66; + } + $33 = +($5 | 0); + if (($19 + 5 & 2047) == ($2 | 0)) { + __extenddftf2($7 + 528 | 0, $33 * .5); + $10 = HEAP32[$7 + 528 >> 2]; + $3 = $10; + $8 = HEAP32[$7 + 532 >> 2]; + $9 = $8; + $8 = HEAP32[$7 + 536 >> 2]; + $2 = $8; + $10 = HEAP32[$7 + 540 >> 2]; + $11 = $10; + $10 = $16; + $8 = $23; + __addtf3($7 + 512 | 0, $15, $10, $26, $8, $3, $9, $2, $11); + $11 = HEAP32[$7 + 520 >> 2]; + $26 = $11; + $9 = HEAP32[$7 + 524 >> 2]; + $23 = $9; + $9 = HEAP32[$7 + 512 >> 2]; + $15 = $9; + $11 = HEAP32[$7 + 516 >> 2]; + $16 = $11; + break label$66; + } + __extenddftf2($7 + 560 | 0, $33 * .75); + $11 = HEAP32[$7 + 560 >> 2]; + $3 = $11; + $9 = HEAP32[$7 + 564 >> 2]; + $8 = $9; + $9 = HEAP32[$7 + 568 >> 2]; + $2 = $9; + $11 = HEAP32[$7 + 572 >> 2]; + $10 = $11; + $11 = $16; + $9 = $23; + __addtf3($7 + 544 | 0, $15, $11, $26, $9, $3, $8, $2, $10); + $10 = HEAP32[$7 + 552 >> 2]; + $26 = $10; + $8 = HEAP32[$7 + 556 >> 2]; + $23 = $8; + $8 = HEAP32[$7 + 544 >> 2]; + $15 = $8; + $10 = HEAP32[$7 + 548 >> 2]; + $16 = $10; + } + if (($13 | 0) > 111) { + break label$65; + } + $10 = $16; + $8 = $23; + fmodl($7 + 464 | 0, $15, $10, $26, $8, 0, 0, 0, 1073676288); + $11 = HEAP32[$7 + 464 >> 2]; + $4 = $11; + $11 = HEAP32[$7 + 476 >> 2]; + $2 = $11; + $9 = HEAP32[$7 + 468 >> 2]; + $11 = $9; + $9 = HEAP32[$7 + 472 >> 2]; + $3 = $9; + $9 = $2; + if (__letf2($4, $11, $3, $9, 0, 0, 0, 0)) { + break label$65; + } + $10 = $16; + $8 = $23; + __addtf3($7 + 448 | 0, $15, $10, $26, $8, 0, 0, 0, 1073676288); + $11 = HEAP32[$7 + 456 >> 2]; + $26 = $11; + $9 = HEAP32[$7 + 460 >> 2]; + $23 = $9; + $9 = HEAP32[$7 + 448 >> 2]; + $15 = $9; + $11 = HEAP32[$7 + 452 >> 2]; + $16 = $11; + } + $11 = $22; + $9 = $18; + $8 = $16; + $10 = $23; + __addtf3($7 + 432 | 0, $25, $11, $14, $9, $15, $8, $26, $10); + $10 = HEAP32[$7 + 432 >> 2]; + $4 = $10; + $10 = HEAP32[$7 + 444 >> 2]; + $2 = $10; + $8 = HEAP32[$7 + 436 >> 2]; + $10 = $8; + $8 = HEAP32[$7 + 440 >> 2]; + $3 = $8; + $8 = $2; + $9 = $32; + $11 = $30; + __subtf3($7 + 416 | 0, $4, $10, $3, $8, $31, $9, $29, $11); + $11 = HEAP32[$7 + 424 >> 2]; + $14 = $11; + $9 = HEAP32[$7 + 428 >> 2]; + $18 = $9; + $9 = HEAP32[$7 + 416 >> 2]; + $25 = $9; + $11 = HEAP32[$7 + 420 >> 2]; + $22 = $11; + label$70: { + if ((-2 - $28 | 0) >= ($17 & 2147483647)) { + break label$70; + } + $11 = $22; + $9 = $18; + fabsl($7 + 400 | 0, $25, $11, $14, $9); + $9 = $11; + $11 = $18; + __multf3($7 + 384 | 0, $25, $9, $14, $11, 0, 0, 0, 1073610752); + $10 = HEAP32[$7 + 400 >> 2]; + $4 = $10; + $10 = HEAP32[$7 + 412 >> 2]; + $2 = $10; + $8 = HEAP32[$7 + 404 >> 2]; + $10 = $8; + $8 = HEAP32[$7 + 408 >> 2]; + $3 = $8; + $8 = $2; + $2 = __getf2($4, $10, $3, $8, 0, 0, 0, 1081081856); + $11 = HEAP32[$7 + 396 >> 2]; + $3 = $11; + $17 = ($2 | 0) < 0; + $9 = HEAP32[$7 + 392 >> 2]; + $10 = $17 ? $14 : $9; + $14 = $10; + $11 = $18; + $9 = $3; + $8 = $17 ? $11 : $9; + $18 = $8; + $10 = HEAP32[$7 + 388 >> 2]; + $3 = $10; + $8 = HEAP32[$7 + 384 >> 2]; + $9 = $17; + $11 = $9 ? $25 : $8; + $25 = $11; + $10 = $22; + $8 = $3; + $22 = $9 ? $10 : $8; + $24 = (($2 | 0) >= 0) + $24 | 0; + $11 = $23; + $19 = __letf2($15, $16, $26, $11, 0, 0, 0, 0); + if (($19 | 0) != 0 & ($17 ? $21 : ($1 | 0) != ($13 | 0) & $21) ? 0 : ($24 + 110 | 0) <= ($34 | 0)) { + break label$70; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 68, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $10 = $22; + $9 = $18; + scalbnl($7 + 368 | 0, $25, $10, $14, $9, $24); + $9 = HEAP32[$7 + 368 >> 2]; + $14 = $9; + $10 = HEAP32[$7 + 372 >> 2]; + $18 = $10; + $9 = HEAP32[$7 + 380 >> 2]; + $23 = $9; + $10 = HEAP32[$7 + 376 >> 2]; + $8 = $10; + } + $10 = $0; + $15 = $8; + HEAP32[$10 + 8 >> 2] = $15; + $9 = $23; + HEAP32[$10 + 12 >> 2] = $9; + HEAP32[$0 >> 2] = $14; + $9 = $18; + HEAP32[$10 + 4 >> 2] = $9; + __stack_pointer = $7 + 8976 | 0; +} + +function vfscanf($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0), wasm2js_f64$0 = 0; + $11 = __stack_pointer - 304 | 0; + __stack_pointer = $11; + if (HEAP32[$0 + 76 >> 2] >= 0) { + $24 = __lockfile($0); + } + label$2: { + label$3: { + label$4: { + label$5: { + if (HEAP32[$0 + 4 >> 2]) { + break label$5; + } + __toread($0); + if (HEAP32[$0 + 4 >> 2]) { + break label$5; + } + break label$4; + } + $5 = HEAPU8[$1 | 0]; + if (!$5) { + break label$2; + } + label$7: { + label$8: { + label$9: { + label$10: { + while (1) { + label$12: { + label$13: { + if (isspace($5 & 255)) { + while (1) { + $5 = $1; + $1 = $5 + 1 | 0; + if (isspace(HEAPU8[$5 + 1 | 0])) { + continue; + } + break; + } + __shlim($0, 0, 0); + while (1) { + $1 = HEAP32[$0 + 4 >> 2]; + label$17: { + if (($1 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $1 + 1; + $1 = HEAPU8[$1 | 0]; + break label$17; + } + $1 = __shgetc($0); + } + if (isspace($1)) { + continue; + } + break; + } + $1 = HEAP32[$0 + 4 >> 2]; + $10 = HEAP32[$0 + 112 >> 2]; + $4 = HEAP32[$0 + 116 >> 2]; + if (($4 | 0) > 0 | ($4 | 0) >= 0) { + $1 = $1 - 1 | 0; + HEAP32[$0 + 4 >> 2] = $1; + } + $4 = $1 - HEAP32[$0 + 44 >> 2] | 0; + $3 = $4 >> 31; + $1 = $4; + $14 = $3; + $10 = $20; + $3 = HEAP32[$0 + 120 >> 2]; + $6 = $10 + $3 | 0; + $4 = HEAP32[$0 + 124 >> 2]; + $3 = $21; + $7 = $4 + $3 | 0; + $7 = $6 >>> 0 < $10 >>> 0 ? $7 + 1 | 0 : $7; + $10 = $6; + $4 = $1; + $3 = $6 + $4 | 0; + $8 = $7; + $7 = $14; + $6 = $8 + $7 | 0; + $20 = $3; + $6 = $3 >>> 0 < $10 >>> 0 ? $6 + 1 | 0 : $6; + $21 = $6; + break label$13; + } + label$20: { + label$21: { + label$22: { + if (HEAPU8[$1 | 0] == 37) { + $5 = HEAPU8[$1 + 1 | 0]; + if (($5 | 0) == 42) { + break label$22; + } + if (($5 | 0) != 37) { + break label$21; + } + } + __shlim($0, 0, 0); + label$24: { + if (HEAPU8[$1 | 0] == 37) { + while (1) { + $5 = HEAP32[$0 + 4 >> 2]; + label$27: { + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$27; + } + $5 = __shgetc($0); + } + if (isspace($5)) { + continue; + } + break; + } + $1 = $1 + 1 | 0; + break label$24; + } + $5 = HEAP32[$0 + 4 >> 2]; + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$24; + } + $5 = __shgetc($0); + } + if (HEAPU8[$1 | 0] != ($5 | 0)) { + $6 = HEAP32[$0 + 112 >> 2]; + $4 = HEAP32[$0 + 116 >> 2]; + if (($4 | 0) > 0 | ($4 | 0) >= 0) { + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] - 1; + } + if (($5 | 0) >= 0) { + break label$2; + } + $16 = 0; + if ($23) { + break label$2; + } + break label$4; + } + $4 = HEAP32[$0 + 4 >> 2] - HEAP32[$0 + 44 >> 2] | 0; + $7 = $4 >> 31; + $14 = $4; + $5 = $7; + $7 = HEAP32[$0 + 120 >> 2]; + $6 = $20; + $8 = $7 + $6 | 0; + $4 = HEAP32[$0 + 124 >> 2]; + $7 = $21; + $3 = $4 + $7 | 0; + $7 = $8; + $3 = $6 >>> 0 > $8 >>> 0 ? $3 + 1 | 0 : $3; + $10 = $3; + $3 = $5; + $8 = $10 + $3 | 0; + $4 = $14; + $6 = $7; + $7 = $4 + $6 | 0; + $20 = $7; + $8 = $6 >>> 0 > $7 >>> 0 ? $8 + 1 | 0 : $8; + $21 = $8; + $5 = $1; + break label$13; + } + $12 = 0; + $5 = $1 + 2 | 0; + break label$20; + } + if (!(!isdigit($5) | HEAPU8[$1 + 2 | 0] != 36)) { + $12 = arg_n($2, HEAPU8[$1 + 1 | 0] - 48 | 0); + $5 = $1 + 3 | 0; + break label$20; + } + $12 = HEAP32[$2 >> 2]; + $2 = $2 + 4 | 0; + $5 = $1 + 1 | 0; + } + $22 = 0; + $1 = 0; + if (isdigit(HEAPU8[$5 | 0])) { + while (1) { + $1 = (HEAPU8[$5 | 0] + Math_imul($1, 10) | 0) - 48 | 0; + $3 = HEAPU8[$5 + 1 | 0]; + $5 = $5 + 1 | 0; + if (isdigit($3)) { + continue; + } + break; + } + } + $15 = HEAPU8[$5 | 0]; + if (($15 | 0) != 109) { + $3 = $5; + } else { + $17 = 0; + $22 = ($12 | 0) != 0; + $15 = HEAPU8[$5 + 1 | 0]; + $13 = 0; + $3 = $5 + 1 | 0; + } + $5 = $3 + 1 | 0; + $9 = 3; + $16 = $22; + label$37: { + label$38: { + switch (($15 & 255) - 65 | 0) { + case 39: + $4 = $3 + 2 | 0; + $3 = HEAPU8[$3 + 1 | 0] == 104; + $5 = $3 ? $4 : $5; + $9 = $3 ? -2 : -1; + break label$37; + + case 43: + $4 = $3 + 2 | 0; + $3 = HEAPU8[$3 + 1 | 0] == 108; + $5 = $3 ? $4 : $5; + $9 = $3 ? 3 : 1; + break label$37; + + case 51: + case 57: + $9 = 1; + break label$37; + + case 11: + $9 = 2; + break label$37; + + case 41: + break label$37; + + case 0: + case 2: + case 4: + case 5: + case 6: + case 18: + case 23: + case 26: + case 32: + case 34: + case 35: + case 36: + case 37: + case 38: + case 40: + case 45: + case 46: + case 47: + case 50: + case 52: + case 55: + break label$38; + + default: + break label$7; + } + } + $9 = 0; + $5 = $3; + } + $3 = HEAPU8[$5 | 0]; + $15 = ($3 & 47) == 3; + $16 = $15 ? 1 : $9; + $18 = $15 ? $3 | 32 : $3; + label$43: { + if (($18 | 0) == 91) { + break label$43; + } + label$44: { + if (($18 | 0) != 110) { + if (($18 | 0) != 99) { + break label$44; + } + $1 = ($1 | 0) > 1 ? $1 : 1; + break label$43; + } + $8 = $21; + store_int($12, $16, $20, $8); + break label$13; + } + __shlim($0, 0, 0); + while (1) { + $3 = HEAP32[$0 + 4 >> 2]; + label$47: { + if (($3 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $3 + 1; + $3 = HEAPU8[$3 | 0]; + break label$47; + } + $3 = __shgetc($0); + } + if (isspace($3)) { + continue; + } + break; + } + $3 = HEAP32[$0 + 4 >> 2]; + $8 = HEAP32[$0 + 112 >> 2]; + $4 = HEAP32[$0 + 116 >> 2]; + if (($4 | 0) > 0 | ($4 | 0) >= 0) { + $3 = $3 - 1 | 0; + HEAP32[$0 + 4 >> 2] = $3; + } + $4 = $3 - HEAP32[$0 + 44 >> 2] | 0; + $3 = $4 >> 31; + $14 = $4; + $19 = $3; + $8 = $20; + $3 = HEAP32[$0 + 120 >> 2]; + $6 = $3; + $10 = $8 + $6 | 0; + $4 = HEAP32[$0 + 124 >> 2]; + $3 = $21; + $7 = $4 + $3 | 0; + $3 = $10; + $7 = $8 >>> 0 > $10 >>> 0 ? $7 + 1 | 0 : $7; + $6 = $7; + $7 = $19; + $10 = $6 + $7 | 0; + $4 = $14; + $8 = $3; + $3 = $4 + $8 | 0; + $10 = $3 >>> 0 < $8 >>> 0 ? $10 + 1 | 0 : $10; + $20 = $3; + $21 = $10; + } + $10 = $1 >> 31; + $14 = $10; + $19 = $1; + __shlim($0, $1, $10); + $3 = HEAP32[$0 + 4 >> 2]; + label$50: { + if (($3 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $3 + 1; + break label$50; + } + if ((__shgetc($0) | 0) < 0) { + break label$8; + } + } + $10 = HEAP32[$0 + 112 >> 2]; + $4 = HEAP32[$0 + 116 >> 2]; + if (($4 | 0) > 0 | ($4 | 0) >= 0) { + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] - 1; + } + $3 = 16; + label$53: { + label$54: { + label$55: { + label$56: { + label$57: { + switch ($18 - 88 | 0) { + default: + $1 = $18 - 65 | 0; + if ($1 >>> 0 > 6 | !(1 << $1 & 113)) { + break label$53; + } + + case 9: + case 13: + case 14: + case 15: + __floatscan($11 + 8 | 0, $0, $16, 0); + $7 = HEAP32[$0 + 120 >> 2]; + $1 = $7; + $4 = HEAP32[$0 + 124 >> 2]; + $8 = $4; + $7 = HEAP32[$0 + 4 >> 2] - HEAP32[$0 + 44 >> 2] | 0; + $4 = $7 >> 31; + $10 = $7; + $6 = 0 - $7 | 0; + $3 = $4 + (($10 | 0) != 0) | 0; + $3 = 0 - $3 | 0; + $7 = $3; + $4 = $1; + $3 = $8; + $8 = $7; + if (($6 | 0) != ($4 | 0) | ($3 | 0) != ($8 | 0)) { + break label$55; + } + break label$9; + + case 3: + case 11: + case 27: + if (($18 | 16) == 115) { + memset($11 + 32 | 0, -1, 257); + HEAP8[$11 + 32 | 0] = 0; + if (($18 | 0) != 115) { + break label$54; + } + HEAP8[$11 + 65 | 0] = 0; + HEAP8[$11 + 46 | 0] = 0; + HEAP16[$11 + 42 >> 1] = 0; + HEAP16[$11 + 44 >> 1] = 0; + break label$54; + } + $9 = HEAPU8[$5 + 1 | 0]; + $3 = ($9 | 0) == 94; + memset($11 + 32 | 0, $3, 257); + HEAP8[$11 + 32 | 0] = 0; + $15 = $3 ? $5 + 2 | 0 : $5 + 1 | 0; + label$64: { + label$65: { + label$66: { + $5 = HEAPU8[($3 ? 2 : 1) + $5 | 0]; + if (($5 | 0) != 45) { + if (($5 | 0) == 93) { + break label$66; + } + $9 = ($9 | 0) != 94; + $5 = $15; + break label$64; + } + $9 = ($9 | 0) != 94; + HEAP8[$11 + 78 | 0] = $9; + break label$65; + } + $9 = ($9 | 0) != 94; + HEAP8[$11 + 126 | 0] = $9; + } + $5 = $15 + 1 | 0; + } + while (1) { + $3 = HEAPU8[$5 | 0]; + label$69: { + if (($3 | 0) != 45) { + if (!$3) { + break label$8; + } + if (($3 | 0) == 93) { + break label$54; + } + break label$69; + } + $3 = 45; + $4 = HEAPU8[$5 + 1 | 0]; + if (!$4 | ($4 | 0) == 93) { + break label$69; + } + $15 = $5 + 1 | 0; + $5 = HEAPU8[$5 - 1 | 0]; + label$71: { + if ($4 >>> 0 <= $5 >>> 0) { + $3 = $4; + break label$71; + } + while (1) { + $5 = $5 + 1 | 0; + HEAP8[$5 + ($11 + 32 | 0) | 0] = $9; + $3 = HEAPU8[$15 | 0]; + if ($5 >>> 0 < $3 >>> 0) { + continue; + } + break; + } + } + $5 = $15; + } + HEAP8[($3 + $11 | 0) + 33 | 0] = $9; + $5 = $5 + 1 | 0; + continue; + } + ; + + case 23: + $3 = 8; + break label$56; + + case 12: + case 29: + $3 = 10; + break label$56; + + case 1: + case 2: + case 4: + case 5: + case 6: + case 7: + case 8: + case 10: + case 16: + case 18: + case 19: + case 20: + case 21: + case 22: + case 25: + case 26: + case 28: + case 30: + case 31: + break label$53; + + case 0: + case 24: + case 32: + break label$56; + + case 17: + break label$57; + } + } + $3 = 0; + } + $4 = __intscan($0, $3, 0, -1, -1); + $19 = $4; + $3 = i64toi32_i32$HIGH_BITS; + $14 = $3; + $3 = HEAP32[$0 + 120 >> 2]; + $1 = $3; + $4 = HEAP32[$0 + 124 >> 2]; + $9 = $4; + $3 = HEAP32[$0 + 4 >> 2] - HEAP32[$0 + 44 >> 2] | 0; + $4 = $3 >> 31; + $8 = $3; + $7 = 0 - $3 | 0; + $6 = $4 + (($8 | 0) != 0) | 0; + $6 = 0 - $6 | 0; + $4 = $1; + $10 = $6; + $6 = $9; + if (($4 | 0) == ($7 | 0) & ($10 | 0) == ($6 | 0)) { + break label$9; + } + if (!(!$12 | ($18 | 0) != 112)) { + HEAP32[$12 >> 2] = $19; + break label$53; + } + $4 = $14; + store_int($12, $16, $19, $4); + break label$53; + } + if (!$12) { + break label$53; + } + $4 = HEAP32[$11 + 16 >> 2]; + $19 = $4; + $6 = HEAP32[$11 + 20 >> 2]; + $14 = $6; + $6 = HEAP32[$11 + 8 >> 2]; + $3 = $6; + $4 = HEAP32[$11 + 12 >> 2]; + label$75: { + switch ($16 | 0) { + case 0: + $6 = $14; + wasm2js_i32$0 = $12, wasm2js_f32$0 = __trunctfsf2($3, $4, $19, $6), HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + break label$53; + + case 1: + $6 = $4; + $4 = $14; + wasm2js_i32$0 = $12, wasm2js_f64$0 = __trunctfdf2($3, $6, $19, $4), HEAPF64[wasm2js_i32$0 >> 3] = wasm2js_f64$0; + break label$53; + + case 2: + break label$75; + + default: + break label$53; + } + } + $6 = $12; + HEAP32[$6 >> 2] = $3; + HEAP32[$6 + 4 >> 2] = $4; + HEAP32[$6 + 8 >> 2] = $19; + $4 = $14; + HEAP32[$6 + 12 >> 2] = $4; + break label$53; + } + $15 = ($18 | 0) == 99; + $9 = $15 ? $1 + 1 | 0 : 31; + label$78: { + if (($16 | 0) == 1) { + $3 = $12; + if ($22) { + $3 = dlmalloc($9 << 2); + if (!$3) { + break label$10; + } + } + $6 = $11; + HEAP32[$6 + 296 >> 2] = 0; + HEAP32[$6 + 300 >> 2] = 0; + $1 = 0; + $4 = $22; + while (1) { + $13 = $3; + label$82: { + while (1) { + $3 = HEAP32[$0 + 4 >> 2]; + label$84: { + if (($3 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $3 + 1; + $3 = HEAPU8[$3 | 0]; + break label$84; + } + $3 = __shgetc($0); + } + if (!HEAPU8[($11 + $3 | 0) + 33 | 0]) { + break label$82; + } + HEAP8[$11 + 27 | 0] = $3; + $3 = mbrtowc($11 + 28 | 0, $11 + 27 | 0, 1, $11 + 296 | 0); + if (($3 | 0) == -2) { + continue; + } + $17 = 0; + if (($3 | 0) == -1) { + break label$8; + } + if ($13) { + HEAP32[($1 << 2) + $13 >> 2] = HEAP32[$11 + 28 >> 2]; + $1 = $1 + 1 | 0; + } + if (!(($1 | 0) == ($9 | 0) & $4)) { + continue; + } + break; + } + $16 = 1; + $9 = $9 << 1 | 1; + $3 = dlrealloc($13, $9 << 2); + if ($3) { + continue; + } + break label$7; + } + break; + } + $17 = 0; + $9 = $13; + if (!mbsinit($11 + 296 | 0)) { + break label$8; + } + break label$78; + } + if ($22) { + $1 = 0; + $3 = dlmalloc($9); + if (!$3) { + break label$10; + } + while (1) { + $13 = $3; + while (1) { + $3 = HEAP32[$0 + 4 >> 2]; + label$90: { + if (($3 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $3 + 1; + $3 = HEAPU8[$3 | 0]; + break label$90; + } + $3 = __shgetc($0); + } + if (!HEAPU8[($11 + $3 | 0) + 33 | 0]) { + $9 = 0; + $17 = $13; + break label$78; + } + HEAP8[$1 + $13 | 0] = $3; + $1 = $1 + 1 | 0; + if (($9 | 0) != ($1 | 0)) { + continue; + } + break; + } + $16 = 1; + $9 = $9 << 1 | 1; + $3 = dlrealloc($13, $9); + if ($3) { + continue; + } + break; + } + $17 = $13; + $13 = 0; + break label$7; + } + $1 = 0; + if ($12) { + while (1) { + $3 = HEAP32[$0 + 4 >> 2]; + label$95: { + if (($3 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $3 + 1; + $3 = HEAPU8[$3 | 0]; + break label$95; + } + $3 = __shgetc($0); + } + if (HEAPU8[($11 + $3 | 0) + 33 | 0]) { + HEAP8[$1 + $12 | 0] = $3; + $1 = $1 + 1 | 0; + continue; + } else { + $9 = 0; + $13 = $12; + $17 = $12; + break label$78; + } + } + } + while (1) { + $1 = HEAP32[$0 + 4 >> 2]; + label$100: { + if (($1 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $1 + 1; + $1 = HEAPU8[$1 | 0]; + break label$100; + } + $1 = __shgetc($0); + } + if (HEAPU8[($11 + $1 | 0) + 33 | 0]) { + continue; + } + break; + } + $13 = 0; + $17 = 0; + $9 = 0; + $1 = 0; + } + $3 = HEAP32[$0 + 4 >> 2]; + $4 = HEAP32[$0 + 112 >> 2]; + $6 = HEAP32[$0 + 116 >> 2]; + if (($6 | 0) > 0 | ($6 | 0) >= 0) { + $3 = $3 - 1 | 0; + HEAP32[$0 + 4 >> 2] = $3; + } + $6 = HEAP32[$0 + 124 >> 2]; + $7 = $6; + $8 = HEAP32[$0 + 120 >> 2]; + $10 = $8; + $8 = $3 - HEAP32[$0 + 44 >> 2] | 0; + $6 = $8 >> 31; + $4 = $8; + $3 = $10 + $4 | 0; + $8 = $6; + $6 = $7; + $7 = $8 + $6 | 0; + $7 = $4 >>> 0 > $3 >>> 0 ? $7 + 1 | 0 : $7; + $8 = !($3 | $7); + $4 = $3; + $6 = $19; + $10 = $7; + $7 = $14; + if ($8 | (($4 | 0) != ($6 | 0) | ($10 | 0) != ($7 | 0)) & ($18 | 0) == 99) { + break label$12; + } + if ($22) { + HEAP32[$12 >> 2] = $13; + } + label$104: { + if ($15) { + break label$104; + } + if ($9) { + HEAP32[($1 << 2) + $9 >> 2] = 0; + } + if (!$17) { + $17 = 0; + break label$104; + } + HEAP8[$1 + $17 | 0] = 0; + } + $13 = $9; + } + $7 = HEAP32[$0 + 4 >> 2] - HEAP32[$0 + 44 >> 2] | 0; + $6 = $7 >> 31; + $1 = $7; + $14 = $6; + $10 = $20; + $6 = HEAP32[$0 + 120 >> 2]; + $4 = $6; + $8 = $10 + $4 | 0; + $6 = $21; + $7 = HEAP32[$0 + 124 >> 2]; + $3 = $6 + $7 | 0; + $3 = $8 >>> 0 < $10 >>> 0 ? $3 + 1 | 0 : $3; + $10 = $8; + $7 = $1; + $6 = $8 + $7 | 0; + $4 = $3; + $3 = $14; + $8 = $4 + $3 | 0; + $20 = $6; + $8 = $6 >>> 0 < $10 >>> 0 ? $8 + 1 | 0 : $8; + $21 = $8; + $23 = (($12 | 0) != 0) + $23 | 0; + } + $1 = $5 + 1 | 0; + $5 = HEAPU8[$5 + 1 | 0]; + if ($5) { + continue; + } + break label$2; + } + break; + } + $13 = $9; + break label$9; + } + $16 = 1; + $17 = 0; + $13 = 0; + break label$7; + } + $16 = $22; + break label$3; + } + $16 = $22; + } + if ($23) { + break label$3; + } } + $23 = -1; } + if (!$16) { + break label$2; + } + dlfree($17); + dlfree($13); } - var start = Date.now(); - if (!emscripten_realloc_buffer(newSize)) { - err("Failed to grow the heap from " + oldSize + " bytes to " + newSize + " bytes, not enough memory!"); - return false; - } - updateGlobalBufferViews(); - err("Warning: Enlarging memory arrays, this is not fast! " + [ oldSize, newSize ]); - return true; -} - -function _exit(status) { - exit(status); -} - -function _getenv(name) { - if (name === 0) return 0; - name = UTF8ToString(name); - if (!ENV.hasOwnProperty(name)) return 0; - if (_getenv.ret) _free(_getenv.ret); - _getenv.ret = allocateUTF8(ENV[name]); - return _getenv.ret; -} - -function _gettimeofday(ptr) { - var now = Date.now(); - HEAP32[ptr >> 2] = now / 1e3 | 0; - HEAP32[ptr + 4 >> 2] = now % 1e3 * 1e3 | 0; - return 0; -} - -function _llvm_exp2_f32(x) { - return Math.pow(2, x); -} - -function _llvm_stackrestore(p) { - var self = _llvm_stacksave; - var ret = self.LLVM_SAVEDSTACKS[p]; - self.LLVM_SAVEDSTACKS.splice(p, 1); - stackRestore(ret); -} - -function _llvm_stacksave() { - var self = _llvm_stacksave; - if (!self.LLVM_SAVEDSTACKS) { - self.LLVM_SAVEDSTACKS = []; - } - self.LLVM_SAVEDSTACKS.push(stackSave()); - return self.LLVM_SAVEDSTACKS.length - 1; -} - -var ___tm_current = 58416; - -var ___tm_timezone = (stringToUTF8("GMT", 58464, 4), 58464); - -function _tzset() { - if (_tzset.called) return; - _tzset.called = true; - HEAP32[__get_timezone() >> 2] = new Date().getTimezoneOffset() * 60; - var winter = new Date(2e3, 0, 1); - var summer = new Date(2e3, 6, 1); - HEAP32[__get_daylight() >> 2] = Number(winter.getTimezoneOffset() != summer.getTimezoneOffset()); - function extractZone(date) { - var match = date.toTimeString().match(/\(([A-Za-z ]+)\)$/); - return match ? match[1] : "GMT"; - } - var winterName = extractZone(winter); - var summerName = extractZone(summer); - var winterNamePtr = allocate(intArrayFromString(winterName), "i8", ALLOC_NORMAL); - var summerNamePtr = allocate(intArrayFromString(summerName), "i8", ALLOC_NORMAL); - if (summer.getTimezoneOffset() < winter.getTimezoneOffset()) { - HEAP32[__get_tzname() >> 2] = winterNamePtr; - HEAP32[__get_tzname() + 4 >> 2] = summerNamePtr; - } else { - HEAP32[__get_tzname() >> 2] = summerNamePtr; - HEAP32[__get_tzname() + 4 >> 2] = winterNamePtr; + if ($24) { + __unlockfile($0); } + __stack_pointer = $11 + 304 | 0; + return $23; } -function _localtime_r(time, tmPtr) { - _tzset(); - var date = new Date(HEAP32[time >> 2] * 1e3); - HEAP32[tmPtr >> 2] = date.getSeconds(); - HEAP32[tmPtr + 4 >> 2] = date.getMinutes(); - HEAP32[tmPtr + 8 >> 2] = date.getHours(); - HEAP32[tmPtr + 12 >> 2] = date.getDate(); - HEAP32[tmPtr + 16 >> 2] = date.getMonth(); - HEAP32[tmPtr + 20 >> 2] = date.getFullYear() - 1900; - HEAP32[tmPtr + 24 >> 2] = date.getDay(); - var start = new Date(date.getFullYear(), 0, 1); - var yday = (date.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24) | 0; - HEAP32[tmPtr + 28 >> 2] = yday; - HEAP32[tmPtr + 36 >> 2] = -(date.getTimezoneOffset() * 60); - var summerOffset = new Date(2e3, 6, 1).getTimezoneOffset(); - var winterOffset = start.getTimezoneOffset(); - var dst = (summerOffset != winterOffset && date.getTimezoneOffset() == Math.min(winterOffset, summerOffset)) | 0; - HEAP32[tmPtr + 32 >> 2] = dst; - var zonePtr = HEAP32[__get_tzname() + (dst ? 4 : 0) >> 2]; - HEAP32[tmPtr + 40 >> 2] = zonePtr; - return tmPtr; -} - -function _localtime(time) { - return _localtime_r(time, ___tm_current); -} - -function _longjmp(env, value) { - _setThrew(env, value || 1); - throw "longjmp"; -} - -function _emscripten_memcpy_big(dest, src, num) { - HEAPU8.set(HEAPU8.subarray(src, src + num), dest); -} - -function _pthread_cond_wait() { - return 0; -} - -function __isLeapYear(year) { - return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); -} - -function __arraySum(array, index) { - var sum = 0; - for (var i = 0; i <= index; sum += array[i++]) ; - return sum; -} - -var __MONTH_DAYS_LEAP = [ 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ]; - -var __MONTH_DAYS_REGULAR = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ]; - -function __addDays(date, days) { - var newDate = new Date(date.getTime()); - while (days > 0) { - var leap = __isLeapYear(newDate.getFullYear()); - var currentMonth = newDate.getMonth(); - var daysInCurrentMonth = (leap ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR)[currentMonth]; - if (days > daysInCurrentMonth - newDate.getDate()) { - days -= daysInCurrentMonth - newDate.getDate() + 1; - newDate.setDate(1); - if (currentMonth < 11) { - newDate.setMonth(currentMonth + 1); - } else { - newDate.setMonth(0); - newDate.setFullYear(newDate.getFullYear() + 1); +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________emplace_unique_key_args_int_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28int_20const__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $7 = __stack_pointer - 32 | 0; + __stack_pointer = $7; + $9 = std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________hash_function_28_29($1), $2); + $8 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________bucket_count_28_29_20const($1); + HEAP8[$7 + 31 | 0] = 0; + label$1: { + label$2: { + if (!$8) { + break label$2; } - } else { - newDate.setDate(newDate.getDate() + days); - return newDate; - } - } - return newDate; -} - -function _strftime(s, maxsize, format, tm) { - var tm_zone = HEAP32[tm + 40 >> 2]; - var date = { - tm_sec: HEAP32[tm >> 2], - tm_min: HEAP32[tm + 4 >> 2], - tm_hour: HEAP32[tm + 8 >> 2], - tm_mday: HEAP32[tm + 12 >> 2], - tm_mon: HEAP32[tm + 16 >> 2], - tm_year: HEAP32[tm + 20 >> 2], - tm_wday: HEAP32[tm + 24 >> 2], - tm_yday: HEAP32[tm + 28 >> 2], - tm_isdst: HEAP32[tm + 32 >> 2], - tm_gmtoff: HEAP32[tm + 36 >> 2], - tm_zone: tm_zone ? UTF8ToString(tm_zone) : "" - }; - var pattern = UTF8ToString(format); - var EXPANSION_RULES_1 = { - "%c": "%a %b %d %H:%M:%S %Y", - "%D": "%m/%d/%y", - "%F": "%Y-%m-%d", - "%h": "%b", - "%r": "%I:%M:%S %p", - "%R": "%H:%M", - "%T": "%H:%M:%S", - "%x": "%m/%d/%y", - "%X": "%H:%M:%S" - }; - for (var rule in EXPANSION_RULES_1) { - pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_1[rule]); - } - var WEEKDAYS = [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ]; - var MONTHS = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ]; - function leadingSomething(value, digits, character) { - var str = typeof value === "number" ? value.toString() : value || ""; - while (str.length < digits) { - str = character[0] + str; - } - return str; - } - function leadingNulls(value, digits) { - return leadingSomething(value, digits, "0"); - } - function compareByDay(date1, date2) { - function sgn(value) { - return value < 0 ? -1 : value > 0 ? 1 : 0; - } - var compare; - if ((compare = sgn(date1.getFullYear() - date2.getFullYear())) === 0) { - if ((compare = sgn(date1.getMonth() - date2.getMonth())) === 0) { - compare = sgn(date1.getDate() - date2.getDate()); + $10 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($9, $8); + $6 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10) >> 2]; + if (!$6) { + break label$2; } - } - return compare; - } - function getFirstWeekStartDate(janFourth) { - switch (janFourth.getDay()) { - case 0: - return new Date(janFourth.getFullYear() - 1, 11, 29); - - case 1: - return janFourth; - - case 2: - return new Date(janFourth.getFullYear(), 0, 3); - - case 3: - return new Date(janFourth.getFullYear(), 0, 2); - - case 4: - return new Date(janFourth.getFullYear(), 0, 1); - - case 5: - return new Date(janFourth.getFullYear() - 1, 11, 31); - - case 6: - return new Date(janFourth.getFullYear() - 1, 11, 30); - } - } - function getWeekBasedYear(date) { - var thisDate = __addDays(new Date(date.tm_year + 1900, 0, 1), date.tm_yday); - var janFourthThisYear = new Date(thisDate.getFullYear(), 0, 4); - var janFourthNextYear = new Date(thisDate.getFullYear() + 1, 0, 4); - var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear); - var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear); - if (compareByDay(firstWeekStartThisYear, thisDate) <= 0) { - if (compareByDay(firstWeekStartNextYear, thisDate) <= 0) { - return thisDate.getFullYear() + 1; - } else { - return thisDate.getFullYear(); + while (1) { + $6 = HEAP32[$6 >> 2]; + if (!$6) { + break label$2; + } + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________hash_28_29_20const($6) | 0) != ($9 | 0)) { + if ((std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________hash_28_29_20const($6), $8) | 0) != ($10 | 0)) { + break label$2; + } + } + if (!std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____20const__2c_20int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________key_eq_28_29($1), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________upcast_28_29($6) + 8 | 0, $2)) { + continue; + } + break; } - } else { - return thisDate.getFullYear() - 1; + break label$1; + } + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________construct_node_hash_std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28unsigned_20long_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($7 + 16 | 0, $1, $9, $3, $4, $5); + $6 = HEAP32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________size_28_29($1) >> 2]; + $2 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________max_load_factor_28_29($1); + if (!(Math_fround($6 + 1 >>> 0) > Math_fround(HEAPF32[$2 >> 2] * Math_fround($8 >>> 0)) ? 0 : $8)) { + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2____is_hash_power2_28unsigned_20long_29($8) ^ 1 | $8 << 1, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $11 = ceil_28float_29(Math_fround(Math_fround(HEAP32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________size_28_29($1) >> 2] + 1 >>> 0) / HEAPF32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________max_load_factor_28_29($1) >> 2])); + label$7: { + if ($11 < Math_fround(4294967296) & $11 >= Math_fround(0)) { + $6 = ~~$11 >>> 0; + break label$7; + } + $6 = 0; + } + HEAP32[$7 + 8 >> 2] = $6; + std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________rehash_28unsigned_20long_29($1, HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($7 + 12 | 0, $7 + 8 | 0) >> 2]); + $8 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________bucket_count_28_29_20const($1); + $10 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($9, $8); + } + $6 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10) >> 2]; + label$9: { + if (!$6) { + $6 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______first_28_29($1 + 8 | 0)); + $9 = HEAP32[$6 >> 2]; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______operator___28_29_20const($7 + 16 | 0), + wasm2js_i32$1 = $9, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $6, wasm2js_i32$1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________ptr_28_29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______get_28_29_20const($7 + 16 | 0)), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!HEAP32[std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______operator___28_29_20const($7 + 16 | 0) >> 2]) { + break label$9; + } + $6 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________ptr_28_29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______get_28_29_20const($7 + 16 | 0)); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________hash_28_29_20const(HEAP32[std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______operator___28_29_20const($7 + 16 | 0) >> 2]), $8)), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$9; + } + $8 = HEAP32[$6 >> 2]; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______operator___28_29_20const($7 + 16 | 0), + wasm2js_i32$1 = $8, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $6, wasm2js_i32$1 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______get_28_29_20const($7 + 16 | 0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $6 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______release_28_29($7 + 16 | 0); + $1 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________size_28_29($1); + HEAP32[$1 >> 2] = HEAP32[$1 >> 2] + 1; + HEAP8[$7 + 31 | 0] = 1; + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________unique_ptr_28_29($7 + 16 | 0); + } + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20bool__2c_20_28void__290__28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20bool__29($0, std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______29($7 + 16 | 0, $6), $7 + 31 | 0); + __stack_pointer = $7 + 32 | 0; +} + +function std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20bool_2c_20std____2__locale_20const__2c_20unsigned_20int_2c_20unsigned_20int__2c_20bool__2c_20std____2__ctype_wchar_t__20const__2c_20std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___2c_20wchar_t___2c_20wchar_t__29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10) { + var $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $11 = __stack_pointer - 560 | 0; + __stack_pointer = $11; + HEAP32[$11 + 548 >> 2] = $10; + HEAP32[$11 + 552 >> 2] = $1; + label$1: { + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0, $11 + 552 | 0)) { + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$1; + } + HEAP32[$11 + 96 >> 2] = 316; + $15 = std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28unsigned_20int__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($11 + 136 | 0, $11 + 144 | 0, $11 + 96 | 0); + $10 = std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($15); + HEAP32[$11 + 132 >> 2] = $10; + HEAP32[$11 + 128 >> 2] = $10 + 400; + $17 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($11 + 96 | 0); + $12 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($11 + 80 | 0); + $14 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($11 - -64 | 0); + $13 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($11 + 48 | 0); + $16 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($11 + 32 | 0); + std____2____money_get_wchar_t_____gather_info_28bool_2c_20std____2__locale_20const__2c_20std____2__money_base__pattern__2c_20wchar_t__2c_20wchar_t__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20int__29($2, $3, $11 + 120 | 0, $11 + 116 | 0, $11 + 112 | 0, $17, $12, $14, $13, $11 + 28 | 0); + wasm2js_i32$0 = $9, wasm2js_i32$1 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($8), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $18 = $4 & 512; + $19 = $18 >>> 9 | 0; + $3 = 0; + $1 = 0; + while (1) { + $2 = $1; + label$4: { + label$5: { + label$6: { + label$7: { + if (($3 | 0) == 4) { + break label$7; + } + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($0, $11 + 552 | 0)) { + break label$7; + } + $10 = 0; + label$8: { + label$9: { + label$10: { + label$11: { + label$12: { + switch (HEAP8[($11 + 120 | 0) + $3 | 0]) { + case 1: + if (($3 | 0) == 3) { + break label$5; + } + if (std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($7, 1, std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0))) { + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28int_29($11 + 16 | 0, $0, 0); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____push_back_28wchar_t_29($16, std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______proxy__operator__28_29_20const($11 + 16 | 0)); + break label$11; + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + + case 3: + break label$10; + + case 0: + break label$12; + + case 4: + break label$8; + + case 2: + break label$9; + + default: + break label$4; + } + } + if (($3 | 0) == 3) { + break label$5; + } + } + while (1) { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($0, $11 + 552 | 0)) { + break label$5; + } + if (!std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($7, 1, std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0))) { + break label$5; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28int_29($11 + 16 | 0, $0, 0); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____push_back_28wchar_t_29($16, std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______proxy__operator__28_29_20const($11 + 16 | 0)); + continue; + } + } + label$16: { + if (!std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($14)) { + break label$16; + } + if ((std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0) | 0) != HEAP32[std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator_5b_5d_28unsigned_20long_29($14, 0) >> 2]) { + break label$16; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0); + HEAP8[$6 | 0] = 0; + $1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($14) >>> 0 > 1 ? $14 : $2; + break label$4; + } + label$17: { + if (!std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($13)) { + break label$17; + } + if ((std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0) | 0) != HEAP32[std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator_5b_5d_28unsigned_20long_29($13, 0) >> 2]) { + break label$17; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0); + HEAP8[$6 | 0] = 1; + $1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($13) >>> 0 > 1 ? $13 : $2; + break label$4; + } + label$18: { + if (!std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($14)) { + break label$18; + } + if (!std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($13)) { + break label$18; + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + } + if (!std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($14)) { + if (!std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($13)) { + break label$5; + } + } + wasm2js_i32$0 = $6, wasm2js_i32$1 = !std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($13), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + break label$5; + } + if (!($3 >>> 0 < 2 | $2)) { + $1 = 0; + if (!(($3 | 0) == 2 & HEAPU8[$11 + 123 | 0] != 0 | $19)) { + break label$4; + } + } + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____begin_28_29($12), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $10 = std____2____wrap_iter_wchar_t_20const______wrap_iter_wchar_t___28std____2____wrap_iter_wchar_t___20const__2c_20std____2__enable_if_is_convertible_wchar_t__2c_20wchar_t_20const____value_2c_20void___type__29($11 + 16 | 0, $11 + 8 | 0, 0); + label$21: { + if (!$3 | HEAPU8[($3 + $11 | 0) + 119 | 0] > 1) { + break label$21; + } + while (1) { + label$23: { + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____end_28_29($12), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + if (!bool_20std____2__operator___wchar_t_20const__2c_20wchar_t___28std____2____wrap_iter_wchar_t_20const___20const__2c_20std____2____wrap_iter_wchar_t___20const__29($10, $11 + 8 | 0)) { + break label$23; + } + if (!std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($7, 1, HEAP32[std____2____wrap_iter_wchar_t_20const____operator__28_29_20const($10) >> 2])) { + break label$23; + } + std____2____wrap_iter_wchar_t_20const____operator___28_29($10); + continue; + } + break; + } + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____begin_28_29($12), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $1 = decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__wchar_t_20const__2c_20wchar_t___28std____2____wrap_iter_wchar_t_20const___20const__2c_20std____2____wrap_iter_wchar_t___20const__29($10, $11 + 8 | 0); + if ($1 >>> 0 <= std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($16) >>> 0) { + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____end_28_29($16), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + if (bool_20std____2__equal_std____2____wrap_iter_wchar_t___2c_20std____2____wrap_iter_wchar_t____28std____2____wrap_iter_wchar_t___2c_20std____2____wrap_iter_wchar_t___2c_20std____2____wrap_iter_wchar_t___29(std____2____wrap_iter_wchar_t____operator__28long_29_20const($11 + 8 | 0, $1), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____end_28_29($16), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____begin_28_29($12))) { + break label$21; + } + } + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____begin_28_29($12), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $10, wasm2js_i32$1 = HEAP32[std____2____wrap_iter_wchar_t_20const______wrap_iter_wchar_t___28std____2____wrap_iter_wchar_t___20const__2c_20std____2__enable_if_is_convertible_wchar_t__2c_20wchar_t_20const____value_2c_20void___type__29($11 + 8 | 0, $11, 0) >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + HEAP32[$11 + 8 >> 2] = HEAP32[$10 >> 2]; + while (1) { + label$26: { + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____end_28_29($12), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!bool_20std____2__operator___wchar_t_20const__2c_20wchar_t___28std____2____wrap_iter_wchar_t_20const___20const__2c_20std____2____wrap_iter_wchar_t___20const__29($11 + 8 | 0, $11)) { + break label$26; + } + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($0, $11 + 552 | 0)) { + break label$26; + } + if ((std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0) | 0) != HEAP32[std____2____wrap_iter_wchar_t_20const____operator__28_29_20const($11 + 8 | 0) >> 2]) { + break label$26; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0); + std____2____wrap_iter_wchar_t_20const____operator___28_29($11 + 8 | 0); + continue; + } + break; + } + if (!$18) { + break label$5; + } + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____end_28_29($12), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!bool_20std____2__operator___wchar_t_20const__2c_20wchar_t___28std____2____wrap_iter_wchar_t_20const___20const__2c_20std____2____wrap_iter_wchar_t___20const__29($11 + 8 | 0, $11)) { + break label$5; + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + } + while (1) { + label$28: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($0, $11 + 552 | 0)) { + break label$28; + } + $1 = std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0); + label$29: { + if (std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($7, 64, $1)) { + $4 = HEAP32[$9 >> 2]; + if (($4 | 0) == HEAP32[$11 + 548 >> 2]) { + void_20std____2____double_or_nothing_wchar_t__28std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___2c_20wchar_t___2c_20wchar_t___29($8, $9, $11 + 548 | 0); + $4 = HEAP32[$9 >> 2]; + } + HEAP32[$9 >> 2] = $4 + 4; + HEAP32[$4 >> 2] = $1; + $10 = $10 + 1 | 0; + break label$29; + } + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($17) | !$10 | HEAP32[$11 + 112 >> 2] != ($1 | 0)) { + break label$28; + } + $1 = HEAP32[$11 + 132 >> 2]; + if (($1 | 0) == HEAP32[$11 + 128 >> 2]) { + void_20std____2____double_or_nothing_unsigned_20int__28std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___2c_20unsigned_20int___2c_20unsigned_20int___29($15, $11 + 132 | 0, $11 + 128 | 0); + $1 = HEAP32[$11 + 132 >> 2]; + } + HEAP32[$11 + 132 >> 2] = $1 + 4; + HEAP32[$1 >> 2] = $10; + $10 = 0; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0); + continue; + } + break; + } + $4 = std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($15); + $1 = HEAP32[$11 + 132 >> 2]; + if (!(!$10 | ($4 | 0) == ($1 | 0))) { + if (HEAP32[$11 + 128 >> 2] == ($1 | 0)) { + void_20std____2____double_or_nothing_unsigned_20int__28std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___2c_20unsigned_20int___2c_20unsigned_20int___29($15, $11 + 132 | 0, $11 + 128 | 0); + $1 = HEAP32[$11 + 132 >> 2]; + } + HEAP32[$11 + 132 >> 2] = $1 + 4; + HEAP32[$1 >> 2] = $10; + } + label$35: { + if (HEAP32[$11 + 28 >> 2] <= 0) { + break label$35; + } + label$36: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0, $11 + 552 | 0)) { + if ((std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0) | 0) == HEAP32[$11 + 116 >> 2]) { + break label$36; + } + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + } + while (1) { + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0); + if (HEAP32[$11 + 28 >> 2] <= 0) { + break label$35; + } + label$39: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0, $11 + 552 | 0)) { + if (std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($7, 64, std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0))) { + break label$39; + } + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + } + if (HEAP32[$9 >> 2] == HEAP32[$11 + 548 >> 2]) { + void_20std____2____double_or_nothing_wchar_t__28std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___2c_20wchar_t___2c_20wchar_t___29($8, $9, $11 + 548 | 0); + } + $10 = std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0); + $1 = HEAP32[$9 >> 2]; + HEAP32[$9 >> 2] = $1 + 4; + HEAP32[$1 >> 2] = $10; + HEAP32[$11 + 28 >> 2] = HEAP32[$11 + 28 >> 2] - 1; + continue; + } + } + $1 = $2; + if (HEAP32[$9 >> 2] != (std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($8) | 0)) { + break label$4; + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + } + label$42: { + if (!$2) { + break label$42; + } + $10 = 1; + while (1) { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($2) >>> 0 <= $10 >>> 0) { + break label$42; + } + label$44: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0, $11 + 552 | 0)) { + if ((std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0) | 0) == HEAP32[std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator_5b_5d_28unsigned_20long_29_20const($2, $10) >> 2]) { + break label$44; + } + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0); + $10 = $10 + 1 | 0; + continue; + } + } + $0 = 1; + if ((std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($15) | 0) == HEAP32[$11 + 132 >> 2]) { + break label$6; + } + $0 = 0; + HEAP32[$11 + 16 >> 2] = 0; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($17, std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($15), HEAP32[$11 + 132 >> 2], $11 + 16 | 0); + if (HEAP32[$11 + 16 >> 2]) { + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + break label$6; + } + $0 = 1; + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($16); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($13); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($14); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($12); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($17); + std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29____unique_ptr_28_29($15); + break label$1; + } + $1 = $2; + } + $3 = $3 + 1 | 0; + continue; } } - var EXPANSION_RULES_2 = { - "%a": function(date) { - return WEEKDAYS[date.tm_wday].substring(0, 3); - }, - "%A": function(date) { - return WEEKDAYS[date.tm_wday]; - }, - "%b": function(date) { - return MONTHS[date.tm_mon].substring(0, 3); - }, - "%B": function(date) { - return MONTHS[date.tm_mon]; - }, - "%C": function(date) { - var year = date.tm_year + 1900; - return leadingNulls(year / 100 | 0, 2); - }, - "%d": function(date) { - return leadingNulls(date.tm_mday, 2); - }, - "%e": function(date) { - return leadingSomething(date.tm_mday, 2, " "); - }, - "%g": function(date) { - return getWeekBasedYear(date).toString().substring(2); - }, - "%G": function(date) { - return getWeekBasedYear(date); - }, - "%H": function(date) { - return leadingNulls(date.tm_hour, 2); - }, - "%I": function(date) { - var twelveHour = date.tm_hour; - if (twelveHour == 0) twelveHour = 12; else if (twelveHour > 12) twelveHour -= 12; - return leadingNulls(twelveHour, 2); - }, - "%j": function(date) { - return leadingNulls(date.tm_mday + __arraySum(__isLeapYear(date.tm_year + 1900) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, date.tm_mon - 1), 3); - }, - "%m": function(date) { - return leadingNulls(date.tm_mon + 1, 2); - }, - "%M": function(date) { - return leadingNulls(date.tm_min, 2); - }, - "%n": function() { - return "\n"; - }, - "%p": function(date) { - if (date.tm_hour >= 0 && date.tm_hour < 12) { - return "AM"; - } else { - return "PM"; - } - }, - "%S": function(date) { - return leadingNulls(date.tm_sec, 2); - }, - "%t": function() { - return "\t"; - }, - "%u": function(date) { - var day = new Date(date.tm_year + 1900, date.tm_mon + 1, date.tm_mday, 0, 0, 0, 0); - return day.getDay() || 7; - }, - "%U": function(date) { - var janFirst = new Date(date.tm_year + 1900, 0, 1); - var firstSunday = janFirst.getDay() === 0 ? janFirst : __addDays(janFirst, 7 - janFirst.getDay()); - var endDate = new Date(date.tm_year + 1900, date.tm_mon, date.tm_mday); - if (compareByDay(firstSunday, endDate) < 0) { - var februaryFirstUntilEndMonth = __arraySum(__isLeapYear(endDate.getFullYear()) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, endDate.getMonth() - 1) - 31; - var firstSundayUntilEndJanuary = 31 - firstSunday.getDate(); - var days = firstSundayUntilEndJanuary + februaryFirstUntilEndMonth + endDate.getDate(); - return leadingNulls(Math.ceil(days / 7), 2); - } - return compareByDay(firstSunday, janFirst) === 0 ? "01" : "00"; - }, - "%V": function(date) { - var janFourthThisYear = new Date(date.tm_year + 1900, 0, 4); - var janFourthNextYear = new Date(date.tm_year + 1901, 0, 4); - var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear); - var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear); - var endDate = __addDays(new Date(date.tm_year + 1900, 0, 1), date.tm_yday); - if (compareByDay(endDate, firstWeekStartThisYear) < 0) { - return "53"; - } - if (compareByDay(firstWeekStartNextYear, endDate) <= 0) { - return "01"; - } - var daysDifference; - if (firstWeekStartThisYear.getFullYear() < date.tm_year + 1900) { - daysDifference = date.tm_yday + 32 - firstWeekStartThisYear.getDate(); - } else { - daysDifference = date.tm_yday + 1 - firstWeekStartThisYear.getDate(); + __stack_pointer = $11 + 560 | 0; + return $0; +} + +function std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20bool_2c_20std____2__locale_20const__2c_20unsigned_20int_2c_20unsigned_20int__2c_20bool__2c_20std____2__ctype_char__20const__2c_20std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___2c_20char___2c_20char__29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10) { + var $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $11 = __stack_pointer - 560 | 0; + __stack_pointer = $11; + HEAP32[$11 + 548 >> 2] = $10; + HEAP32[$11 + 552 >> 2] = $1; + label$1: { + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0, $11 + 552 | 0)) { + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$1; + } + HEAP32[$11 + 104 >> 2] = 316; + $15 = std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28unsigned_20int__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($11 + 136 | 0, $11 + 144 | 0, $11 + 104 | 0); + $10 = std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($15); + HEAP32[$11 + 132 >> 2] = $10; + HEAP32[$11 + 128 >> 2] = $10 + 400; + $17 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($11 + 104 | 0); + $12 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($11 + 88 | 0); + $14 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($11 + 72 | 0); + $13 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($11 + 56 | 0); + $16 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($11 + 40 | 0); + std____2____money_get_char_____gather_info_28bool_2c_20std____2__locale_20const__2c_20std____2__money_base__pattern__2c_20char__2c_20char__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20int__29($2, $3, $11 + 120 | 0, $11 + 119 | 0, $11 + 118 | 0, $17, $12, $14, $13, $11 + 36 | 0); + wasm2js_i32$0 = $9, wasm2js_i32$1 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($8), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $18 = $4 & 512; + $19 = $18 >>> 9 | 0; + $3 = 0; + $1 = 0; + while (1) { + $2 = $1; + label$4: { + label$5: { + label$6: { + label$7: { + if (($3 | 0) == 4) { + break label$7; + } + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($0, $11 + 552 | 0)) { + break label$7; + } + $10 = 0; + label$8: { + label$9: { + label$10: { + label$11: { + label$12: { + switch (HEAP8[($11 + 120 | 0) + $3 | 0]) { + case 1: + if (($3 | 0) == 3) { + break label$5; + } + if (std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($7, 1, std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0))) { + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28int_29($11 + 24 | 0, $0, 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____push_back_28char_29($16, std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______proxy__operator__28_29_20const($11 + 24 | 0)); + break label$11; + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + + case 3: + break label$10; + + case 0: + break label$12; + + case 4: + break label$8; + + case 2: + break label$9; + + default: + break label$4; + } + } + if (($3 | 0) == 3) { + break label$5; + } + } + while (1) { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($0, $11 + 552 | 0)) { + break label$5; + } + if (!std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($7, 1, std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0))) { + break label$5; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28int_29($11 + 24 | 0, $0, 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____push_back_28char_29($16, std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______proxy__operator__28_29_20const($11 + 24 | 0)); + continue; + } + } + label$16: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($14)) { + break label$16; + } + if ((std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0) & 255) != HEAPU8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($14, 0) | 0]) { + break label$16; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0); + HEAP8[$6 | 0] = 0; + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($14) >>> 0 > 1 ? $14 : $2; + break label$4; + } + label$17: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($13)) { + break label$17; + } + if ((std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0) & 255) != HEAPU8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($13, 0) | 0]) { + break label$17; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0); + HEAP8[$6 | 0] = 1; + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($13) >>> 0 > 1 ? $13 : $2; + break label$4; + } + label$18: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($14)) { + break label$18; + } + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($13)) { + break label$18; + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + } + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($14)) { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($13)) { + break label$5; + } + } + wasm2js_i32$0 = $6, wasm2js_i32$1 = !std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($13), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + break label$5; + } + if (!($3 >>> 0 < 2 | $2)) { + $1 = 0; + if (!(($3 | 0) == 2 & HEAPU8[$11 + 123 | 0] != 0 | $19)) { + break label$4; + } + } + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____begin_28_29($12), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + $10 = std____2____wrap_iter_char_20const______wrap_iter_char___28std____2____wrap_iter_char___20const__2c_20std____2__enable_if_is_convertible_char__2c_20char_20const____value_2c_20void___type__29($11 + 24 | 0, $11 + 16 | 0, 0); + label$21: { + if (!$3 | HEAPU8[($3 + $11 | 0) + 119 | 0] > 1) { + break label$21; + } + while (1) { + label$23: { + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____end_28_29($12), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + if (!bool_20std____2__operator___char_20const__2c_20char___28std____2____wrap_iter_char_20const___20const__2c_20std____2____wrap_iter_char___20const__29($10, $11 + 16 | 0)) { + break label$23; + } + if (!std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($7, 1, HEAP8[std____2____wrap_iter_char_20const____operator__28_29_20const($10) | 0])) { + break label$23; + } + std____2____wrap_iter_char_20const____operator___28_29($10); + continue; + } + break; + } + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____begin_28_29($12), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + $1 = decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__char_20const__2c_20char___28std____2____wrap_iter_char_20const___20const__2c_20std____2____wrap_iter_char___20const__29($10, $11 + 16 | 0); + if ($1 >>> 0 <= std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($16) >>> 0) { + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____end_28_29($16), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + if (bool_20std____2__equal_std____2____wrap_iter_char___2c_20std____2____wrap_iter_char____28std____2____wrap_iter_char___2c_20std____2____wrap_iter_char___2c_20std____2____wrap_iter_char___29(std____2____wrap_iter_char____operator__28long_29_20const($11 + 16 | 0, $1), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____end_28_29($16), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____begin_28_29($12))) { + break label$21; + } + } + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____begin_28_29($12), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $10, wasm2js_i32$1 = HEAP32[std____2____wrap_iter_char_20const______wrap_iter_char___28std____2____wrap_iter_char___20const__2c_20std____2__enable_if_is_convertible_char__2c_20char_20const____value_2c_20void___type__29($11 + 16 | 0, $11 + 8 | 0, 0) >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + HEAP32[$11 + 16 >> 2] = HEAP32[$10 >> 2]; + while (1) { + label$26: { + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____end_28_29($12), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + if (!bool_20std____2__operator___char_20const__2c_20char___28std____2____wrap_iter_char_20const___20const__2c_20std____2____wrap_iter_char___20const__29($11 + 16 | 0, $11 + 8 | 0)) { + break label$26; + } + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($0, $11 + 552 | 0)) { + break label$26; + } + if ((std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0) & 255) != HEAPU8[std____2____wrap_iter_char_20const____operator__28_29_20const($11 + 16 | 0) | 0]) { + break label$26; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0); + std____2____wrap_iter_char_20const____operator___28_29($11 + 16 | 0); + continue; + } + break; + } + if (!$18) { + break label$5; + } + wasm2js_i32$0 = $11, wasm2js_i32$1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____end_28_29($12), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + if (!bool_20std____2__operator___char_20const__2c_20char___28std____2____wrap_iter_char_20const___20const__2c_20std____2____wrap_iter_char___20const__29($11 + 16 | 0, $11 + 8 | 0)) { + break label$5; + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + } + while (1) { + label$28: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($0, $11 + 552 | 0)) { + break label$28; + } + $1 = std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0); + label$29: { + if (std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($7, 64, $1)) { + $4 = HEAP32[$9 >> 2]; + if (($4 | 0) == HEAP32[$11 + 548 >> 2]) { + void_20std____2____double_or_nothing_char__28std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___2c_20char___2c_20char___29($8, $9, $11 + 548 | 0); + $4 = HEAP32[$9 >> 2]; + } + HEAP32[$9 >> 2] = $4 + 1; + HEAP8[$4 | 0] = $1; + $10 = $10 + 1 | 0; + break label$29; + } + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($17) | !$10 | HEAPU8[$11 + 118 | 0] != ($1 & 255)) { + break label$28; + } + $1 = HEAP32[$11 + 132 >> 2]; + if (($1 | 0) == HEAP32[$11 + 128 >> 2]) { + void_20std____2____double_or_nothing_unsigned_20int__28std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___2c_20unsigned_20int___2c_20unsigned_20int___29($15, $11 + 132 | 0, $11 + 128 | 0); + $1 = HEAP32[$11 + 132 >> 2]; + } + HEAP32[$11 + 132 >> 2] = $1 + 4; + HEAP32[$1 >> 2] = $10; + $10 = 0; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0); + continue; + } + break; + } + $4 = std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($15); + $1 = HEAP32[$11 + 132 >> 2]; + if (!(!$10 | ($4 | 0) == ($1 | 0))) { + if (HEAP32[$11 + 128 >> 2] == ($1 | 0)) { + void_20std____2____double_or_nothing_unsigned_20int__28std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___2c_20unsigned_20int___2c_20unsigned_20int___29($15, $11 + 132 | 0, $11 + 128 | 0); + $1 = HEAP32[$11 + 132 >> 2]; + } + HEAP32[$11 + 132 >> 2] = $1 + 4; + HEAP32[$1 >> 2] = $10; + } + label$35: { + if (HEAP32[$11 + 36 >> 2] <= 0) { + break label$35; + } + label$36: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0, $11 + 552 | 0)) { + if ((std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0) & 255) == HEAPU8[$11 + 119 | 0]) { + break label$36; + } + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + } + while (1) { + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0); + if (HEAP32[$11 + 36 >> 2] <= 0) { + break label$35; + } + label$39: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0, $11 + 552 | 0)) { + if (std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($7, 64, std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0))) { + break label$39; + } + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + } + if (HEAP32[$9 >> 2] == HEAP32[$11 + 548 >> 2]) { + void_20std____2____double_or_nothing_char__28std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___2c_20char___2c_20char___29($8, $9, $11 + 548 | 0); + } + $10 = std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0); + $1 = HEAP32[$9 >> 2]; + HEAP32[$9 >> 2] = $1 + 1; + HEAP8[$1 | 0] = $10; + HEAP32[$11 + 36 >> 2] = HEAP32[$11 + 36 >> 2] - 1; + continue; + } + } + $1 = $2; + if (HEAP32[$9 >> 2] != (std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($8) | 0)) { + break label$4; + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + } + label$42: { + if (!$2) { + break label$42; + } + $10 = 1; + while (1) { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) >>> 0 <= $10 >>> 0) { + break label$42; + } + label$44: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0, $11 + 552 | 0)) { + if ((std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0) & 255) == HEAPU8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29_20const($2, $10) | 0]) { + break label$44; + } + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + $0 = 0; + break label$6; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0); + $10 = $10 + 1 | 0; + continue; + } + } + $0 = 1; + if ((std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($15) | 0) == HEAP32[$11 + 132 >> 2]) { + break label$6; + } + $0 = 0; + HEAP32[$11 + 24 >> 2] = 0; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($17, std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($15), HEAP32[$11 + 132 >> 2], $11 + 24 | 0); + if (HEAP32[$11 + 24 >> 2]) { + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; + break label$6; + } + $0 = 1; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($16); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($13); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($14); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($12); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($17); + std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29____unique_ptr_28_29($15); + break label$1; + } + $1 = $2; } - return leadingNulls(Math.ceil(daysDifference / 7), 2); - }, - "%w": function(date) { - var day = new Date(date.tm_year + 1900, date.tm_mon + 1, date.tm_mday, 0, 0, 0, 0); - return day.getDay(); - }, - "%W": function(date) { - var janFirst = new Date(date.tm_year, 0, 1); - var firstMonday = janFirst.getDay() === 1 ? janFirst : __addDays(janFirst, janFirst.getDay() === 0 ? 1 : 7 - janFirst.getDay() + 1); - var endDate = new Date(date.tm_year + 1900, date.tm_mon, date.tm_mday); - if (compareByDay(firstMonday, endDate) < 0) { - var februaryFirstUntilEndMonth = __arraySum(__isLeapYear(endDate.getFullYear()) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, endDate.getMonth() - 1) - 31; - var firstMondayUntilEndJanuary = 31 - firstMonday.getDate(); - var days = firstMondayUntilEndJanuary + februaryFirstUntilEndMonth + endDate.getDate(); - return leadingNulls(Math.ceil(days / 7), 2); - } - return compareByDay(firstMonday, janFirst) === 0 ? "01" : "00"; - }, - "%y": function(date) { - return (date.tm_year + 1900).toString().substring(2); - }, - "%Y": function(date) { - return date.tm_year + 1900; - }, - "%z": function(date) { - var off = date.tm_gmtoff; - var ahead = off >= 0; - off = Math.abs(off) / 60; - off = off / 60 * 100 + off % 60; - return (ahead ? "+" : "-") + String("0000" + off).slice(-4); - }, - "%Z": function(date) { - return date.tm_zone; - }, - "%%": function() { - return "%"; - } - }; - for (var rule in EXPANSION_RULES_2) { - if (pattern.indexOf(rule) >= 0) { - pattern = pattern.replace(new RegExp(rule, "g"), EXPANSION_RULES_2[rule](date)); + $3 = $3 + 1 | 0; + continue; } } - var bytes = intArrayFromString(pattern, false); - if (bytes.length > maxsize) { - return 0; - } - writeArrayToMemory(bytes, s); - return bytes.length - 1; -} - -function _strftime_l(s, maxsize, format, tm) { - return _strftime(s, maxsize, format, tm); -} - -function _time(ptr) { - var ret = Date.now() / 1e3 | 0; - if (ptr) { - HEAP32[ptr >> 2] = ret; - } - return ret; -} - -if (ENVIRONMENT_IS_NODE) { - _emscripten_get_now = function _emscripten_get_now_actual() { - var t = process["hrtime"](); - return t[0] * 1e3 + t[1] / 1e6; - }; -} else if (typeof dateNow !== "undefined") { - _emscripten_get_now = dateNow; -} else if (typeof performance === "object" && performance && typeof performance["now"] === "function") { - _emscripten_get_now = function() { - return performance["now"](); - }; -} else { - _emscripten_get_now = Date.now; -} - -FS.staticInit(); - -if (ENVIRONMENT_IS_NODE) { - var fs = require("fs"); - var NODEJS_PATH = require("path"); - NODEFS.staticInit(); -} + __stack_pointer = $11 + 560 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExprPrimary_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $1 = __stack_pointer - 304 | 0; + __stack_pointer = $1; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 76)) { + break label$1; + } + label$2: { + label$3: { + switch ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) - 65 | 0) { + case 54: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 296 | 0, 29765); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = $4; + HEAP32[$1 + 4 >> 2] = $3; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1); + break label$1; + + case 33: + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 288 | 0, 35967); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 16 >> 2] = $3; + HEAP32[$1 + 20 >> 2] = $4; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 16 | 0)) { + HEAP32[$1 + 144 >> 2] = 0; + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__BoolExpr_2c_20int__28int___29($0, $1 + 144 | 0); + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 280 | 0, 35963); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 8 >> 2] = $4; + HEAP32[$1 + 12 >> 2] = $3; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 8 | 0)) { + break label$1; + } + HEAP32[$1 + 144 >> 2] = 1; + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__BoolExpr_2c_20int__28int___29($0, $1 + 144 | 0); + break label$1; + + case 34: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 272 | 0, 30752); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 24 >> 2] = $3; + HEAP32[$1 + 28 >> 2] = $4; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 24 | 0); + break label$1; + + case 32: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 264 | 0, 30745); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 32 >> 2] = $4; + HEAP32[$1 + 36 >> 2] = $3; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 32 | 0); + break label$1; + + case 39: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 256 | 0, 30743); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 40 >> 2] = $3; + HEAP32[$1 + 44 >> 2] = $4; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 40 | 0); + break label$1; -embind_init_charCodes(); + case 50: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 248 | 0, 29473); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 48 >> 2] = $4; + HEAP32[$1 + 52 >> 2] = $3; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 48 | 0); + break label$1; -BindingError = Module["BindingError"] = extendError(Error, "BindingError"); + case 51: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 240 | 0, 29464); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 56 >> 2] = $3; + HEAP32[$1 + 60 >> 2] = $4; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 56 | 0); + break label$1; + + case 40: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 232 | 0, 40067); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 64 >> 2] = $4; + HEAP32[$1 + 68 >> 2] = $3; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 - -64 | 0); + break label$1; + + case 41: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 224 | 0, 29270); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 72 >> 2] = $3; + HEAP32[$1 + 76 >> 2] = $4; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 72 | 0); + break label$1; + + case 43: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 216 | 0, 31496); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 80 >> 2] = $4; + HEAP32[$1 + 84 >> 2] = $3; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 80 | 0); + break label$1; + + case 44: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 208 | 0, 31373); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 88 >> 2] = $3; + HEAP32[$1 + 92 >> 2] = $4; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 88 | 0); + break label$1; + + case 55: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 200 | 0, 31431); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 96 >> 2] = $4; + HEAP32[$1 + 100 >> 2] = $3; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 96 | 0); + break label$1; + + case 56: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 192 | 0, 31387); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 104 >> 2] = $3; + HEAP32[$1 + 108 >> 2] = $4; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 104 | 0); + break label$1; + + case 45: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 184 | 0, 37362); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 112 >> 2] = $4; + HEAP32[$1 + 116 >> 2] = $3; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 112 | 0); + break label$1; + + case 46: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 176 | 0, 37353); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 120 >> 2] = $3; + HEAP32[$1 + 124 >> 2] = $4; + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 120 | 0); + break label$1; -InternalError = Module["InternalError"] = extendError(Error, "InternalError"); + case 37: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFloatingLiteral_float__28_29($0); + break label$1; + + case 35: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFloatingLiteral_double__28_29($0); + break label$1; + + case 36: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFloatingLiteral_long_20double__28_29($0); + break label$1; + + case 30: + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 168 | 0, 34431); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 128 >> 2] = $4; + HEAP32[$1 + 132 >> 2] = $3; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 128 | 0)) { + break label$2; + } + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29($0); + if (!$5) { + break label$2; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + break label$2; -init_emval(); + case 0: + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 144 >> 2] = $3; + if (!$3) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__StringLiteral_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 144 | 0); + break label$1; -UnboundTypeError = Module["UnboundTypeError"] = extendError(Error, "UnboundTypeError"); + case 3: + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 160 | 0, 35610); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 136 >> 2] = $3; + HEAP32[$1 + 140 >> 2] = $4; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 136 | 0)) { + break label$1; + } + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b8_5d__28char_20const_20_28__29_20_5b8_5d_29($0, 30471); + break label$1; -var ASSERTIONS = true; + case 20: + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1) | 0) != 108) { + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnnamedTypeName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, 0); + HEAP32[$1 + 144 >> 2] = $3; + if (!$3) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__LambdaExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 144 | 0); + break label$1; -function intArrayFromString(stringy, dontAddNull, length) { - var len = length > 0 ? length : lengthBytesUTF8(stringy) + 1; - var u8array = new Array(len); - var numBytesWritten = stringToUTF8Array(stringy, u8array, 0, u8array.length); - if (dontAddNull) u8array.length = numBytesWritten; - return u8array; -} - -function intArrayToString(array) { - var ret = []; - for (var i = 0; i < array.length; i++) { - var chr = array[i]; - if (chr > 255) { - if (ASSERTIONS) { - assert(false, "Character code " + chr + " (" + String.fromCharCode(chr) + ") at offset " + i + " not in 0x00-0xFF."); - } - chr &= 255; - } - ret.push(String.fromCharCode(chr)); - } - return ret.join(""); -} - -var decodeBase64 = typeof atob === "function" ? atob : function(input) { - var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; - var output = ""; - var chr1, chr2, chr3; - var enc1, enc2, enc3, enc4; - var i = 0; - input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); - do { - enc1 = keyStr.indexOf(input.charAt(i++)); - enc2 = keyStr.indexOf(input.charAt(i++)); - enc3 = keyStr.indexOf(input.charAt(i++)); - enc4 = keyStr.indexOf(input.charAt(i++)); - chr1 = enc1 << 2 | enc2 >> 4; - chr2 = (enc2 & 15) << 4 | enc3 >> 2; - chr3 = (enc3 & 3) << 6 | enc4; - output = output + String.fromCharCode(chr1); - if (enc3 !== 64) { - output = output + String.fromCharCode(chr2); - } - if (enc4 !== 64) { - output = output + String.fromCharCode(chr3); - } - } while (i < input.length); - return output; -}; + case 19: + break label$1; -function intArrayFromBase64(s) { - if (typeof ENVIRONMENT_IS_NODE === "boolean" && ENVIRONMENT_IS_NODE) { - var buf; - try { - buf = Buffer.from(s, "base64"); - } catch (_) { - buf = new Buffer(s, "base64"); - } - return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength); - } - try { - var decoded = decodeBase64(s); - var bytes = new Uint8Array(decoded.length); - for (var i = 0; i < decoded.length; ++i) { - bytes[i] = decoded.charCodeAt(i); + default: + break label$3; + } + } + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 156 >> 2] = $5; + if (!$5) { + break label$2; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($1 + 144 | 0, $0, 1); + $5 = 0; + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($1 + 144 | 0)) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnumLiteral_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1 + 156 | 0, $1 + 144 | 0); + break label$1; + } + $5 = 0; + } + __stack_pointer = $1 + 304 | 0; + return $5; +} + +function printf_core($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 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, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $8 = __stack_pointer - 80 | 0; + __stack_pointer = $8; + HEAP32[$8 + 76 >> 2] = $1; + $25 = $8 + 55 | 0; + $21 = $8 + 56 | 0; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: while (1) { + $15 = $1; + if (($17 ^ 2147483647) < ($7 | 0)) { + break label$4; + } + $17 = $7 + $17 | 0; + label$6: { + label$8: { + label$9: { + $7 = $15; + $12 = HEAPU8[$7 | 0]; + if ($12) { + while (1) { + label$12: { + $12 = $12 & 255; + label$13: { + if (!$12) { + $1 = $7; + break label$13; + } + if (($12 | 0) != 37) { + break label$12; + } + $12 = $7; + while (1) { + if (HEAPU8[$12 + 1 | 0] != 37) { + $1 = $12; + break label$13; + } + $7 = $7 + 1 | 0; + $9 = HEAPU8[$12 + 2 | 0]; + $1 = $12 + 2 | 0; + $12 = $1; + if (($9 | 0) == 37) { + continue; + } + break; + } + } + $7 = $7 - $15 | 0; + $12 = $17 ^ 2147483647; + if (($7 | 0) > ($12 | 0)) { + break label$4; + } + if ($0) { + out($0, $15, $7); + } + if ($7) { + continue label$5; + } + HEAP32[$8 + 76 >> 2] = $1; + $7 = $1 + 1 | 0; + $19 = -1; + if (!(!isdigit(HEAP8[$1 + 1 | 0]) | HEAPU8[$1 + 2 | 0] != 36)) { + $19 = HEAP8[$1 + 1 | 0] - 48 | 0; + $22 = 1; + $7 = $1 + 3 | 0; + } + HEAP32[$8 + 76 >> 2] = $7; + $14 = 0; + $13 = HEAP8[$7 | 0]; + $1 = $13 - 32 | 0; + label$19: { + if ($1 >>> 0 > 31) { + $9 = $7; + break label$19; + } + $9 = $7; + $1 = 1 << $1; + if (!($1 & 75913)) { + break label$19; + } + while (1) { + $9 = $7 + 1 | 0; + HEAP32[$8 + 76 >> 2] = $9; + $14 = $1 | $14; + $13 = HEAP8[$7 + 1 | 0]; + $1 = $13 - 32 | 0; + if ($1 >>> 0 >= 32) { + break label$19; + } + $7 = $9; + $1 = 1 << $1; + if ($1 & 75913) { + continue; + } + break; + } + } + label$22: { + if (($13 | 0) == 42) { + label$24: { + if (!(!isdigit(HEAP8[$9 + 1 | 0]) | HEAPU8[$9 + 2 | 0] != 36)) { + HEAP32[((HEAP8[$9 + 1 | 0] << 2) + $4 | 0) - 192 >> 2] = 10; + $13 = $9 + 3 | 0; + $18 = HEAP32[((HEAP8[$9 + 1 | 0] << 3) + $3 | 0) - 384 >> 2]; + $22 = 1; + break label$24; + } + if ($22) { + break label$9; + } + $13 = $9 + 1 | 0; + if (!$0) { + HEAP32[$8 + 76 >> 2] = $13; + $22 = 0; + $18 = 0; + break label$22; + } + $7 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $7 + 4; + $18 = HEAP32[$7 >> 2]; + $22 = 0; + } + HEAP32[$8 + 76 >> 2] = $13; + if (($18 | 0) >= 0) { + break label$22; + } + $18 = 0 - $18 | 0; + $14 = $14 | 8192; + break label$22; + } + $18 = getint($8 + 76 | 0); + if (($18 | 0) < 0) { + break label$4; + } + $13 = HEAP32[$8 + 76 >> 2]; + } + $7 = 0; + $11 = -1; + label$27: { + if (HEAPU8[$13 | 0] != 46) { + $1 = $13; + $10 = 0; + break label$27; + } + if (HEAPU8[$13 + 1 | 0] == 42) { + label$30: { + if (!(!isdigit(HEAP8[$13 + 2 | 0]) | HEAPU8[$13 + 3 | 0] != 36)) { + HEAP32[((HEAP8[$13 + 2 | 0] << 2) + $4 | 0) - 192 >> 2] = 10; + $1 = $13 + 4 | 0; + $11 = HEAP32[((HEAP8[$13 + 2 | 0] << 3) + $3 | 0) - 384 >> 2]; + break label$30; + } + if ($22) { + break label$9; + } + $1 = $13 + 2 | 0; + $11 = 0; + if (!$0) { + break label$30; + } + $9 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $9 + 4; + $11 = HEAP32[$9 >> 2]; + } + HEAP32[$8 + 76 >> 2] = $1; + $10 = ($11 ^ -1) >>> 31 | 0; + break label$27; + } + HEAP32[$8 + 76 >> 2] = $13 + 1; + $11 = getint($8 + 76 | 0); + $1 = HEAP32[$8 + 76 >> 2]; + $10 = 1; + } + $23 = $10; + label$32: { + while (1) { + $13 = $7; + $9 = $1; + $7 = HEAP8[$9 | 0]; + if ($7 - 123 >>> 0 < 4294967238) { + break label$32; + } + $1 = $9 + 1 | 0; + $7 = HEAPU8[(Math_imul($13, 58) + $7 | 0) + 51519 | 0]; + if ($7 - 1 >>> 0 < 8) { + continue; + } + break; + } + HEAP32[$8 + 76 >> 2] = $1; + $20 = 28; + label$34: { + label$35: { + if (($7 | 0) != 27) { + if (!$7) { + break label$3; + } + if (($19 | 0) >= 0) { + HEAP32[($19 << 2) + $4 >> 2] = $7; + $7 = ($19 << 3) + $3 | 0; + $16 = HEAP32[$7 >> 2]; + $10 = HEAP32[$7 + 4 >> 2]; + HEAP32[$8 + 64 >> 2] = $16; + HEAP32[$8 + 68 >> 2] = $10; + break label$35; + } + if (!$0) { + break label$6; + } + pop_arg($8 - -64 | 0, $7, $2, $6); + break label$34; + } + if (($19 | 0) >= 0) { + break label$3; + } + } + $7 = 0; + if (!$0) { + continue label$5; + } + } + $10 = $14 & -65537; + $14 = $14 & 8192 ? $10 : $14; + $19 = 0; + $24 = 28483; + $20 = $21; + label$38: { + label$39: { + label$40: { + label$41: { + label$42: { + label$43: { + label$44: { + label$45: { + label$46: { + label$47: { + label$48: { + label$49: { + label$50: { + label$51: { + label$52: { + label$53: { + $7 = HEAP8[$9 | 0]; + $7 = $13 ? ($7 & 15) == 3 ? $7 & -33 : $7 : $7; + switch ($7 - 88 | 0) { + case 11: + break label$38; + + case 9: + case 13: + case 14: + case 15: + break label$39; + + case 27: + break label$44; + + case 12: + case 17: + break label$47; + + case 23: + break label$48; + + case 0: + case 32: + break label$49; + + case 24: + break label$50; + + case 22: + break label$51; + + case 29: + break label$52; + + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 10: + case 16: + case 18: + case 19: + case 20: + case 21: + case 25: + case 26: + case 28: + case 30: + case 31: + break label$8; + + default: + break label$53; + } + } + label$54: { + switch ($7 - 65 | 0) { + case 0: + case 4: + case 5: + case 6: + break label$39; + + case 2: + break label$42; + + case 1: + case 3: + break label$8; + + default: + break label$54; + } + } + if (($7 | 0) == 83) { + break label$43; + } + break label$8; + } + $10 = HEAP32[$8 + 64 >> 2]; + $9 = $10; + $16 = HEAP32[$8 + 68 >> 2]; + $7 = $16; + $10 = 28483; + break label$46; + } + $7 = 0; + label$55: { + switch ($13 & 255) { + case 0: + HEAP32[HEAP32[$8 + 64 >> 2] >> 2] = $17; + continue label$5; + + case 1: + HEAP32[HEAP32[$8 + 64 >> 2] >> 2] = $17; + continue label$5; + + case 2: + $10 = $17; + $16 = $10 >> 31; + $10 = HEAP32[$8 + 64 >> 2]; + HEAP32[$10 >> 2] = $17; + HEAP32[$10 + 4 >> 2] = $16; + continue label$5; + + case 3: + HEAP16[HEAP32[$8 + 64 >> 2] >> 1] = $17; + continue label$5; + + case 4: + HEAP8[HEAP32[$8 + 64 >> 2]] = $17; + continue label$5; + + case 6: + HEAP32[HEAP32[$8 + 64 >> 2] >> 2] = $17; + continue label$5; + + case 7: + break label$55; + + default: + continue label$5; + } + } + $10 = $17; + $16 = $10 >> 31; + $10 = HEAP32[$8 + 64 >> 2]; + HEAP32[$10 >> 2] = $17; + HEAP32[$10 + 4 >> 2] = $16; + continue label$5; + } + $11 = $11 >>> 0 > 8 ? $11 : 8; + $14 = $14 | 8; + $7 = 120; + } + $16 = HEAP32[$8 + 64 >> 2]; + $10 = HEAP32[$8 + 68 >> 2]; + $15 = fmt_x($16, $10, $21, $7 & 32); + $10 = HEAP32[$8 + 64 >> 2]; + $16 = HEAP32[$8 + 68 >> 2]; + if (!($14 & 8) | !($10 | $16)) { + break label$45; + } + $24 = ($7 >>> 4 | 0) + 28483 | 0; + $19 = 2; + break label$45; + } + $16 = HEAP32[$8 + 64 >> 2]; + $10 = HEAP32[$8 + 68 >> 2]; + $15 = fmt_o($16, $10, $21); + if (!($14 & 8)) { + break label$45; + } + $7 = $21 - $15 | 0; + $11 = ($7 | 0) < ($11 | 0) ? $11 : $7 + 1 | 0; + break label$45; + } + $16 = HEAP32[$8 + 68 >> 2]; + $7 = $16; + $10 = HEAP32[$8 + 64 >> 2]; + $9 = $10; + if (($16 | 0) < 0) { + $10 = $9; + $9 = 0 - $10 | 0; + $16 = $7; + $7 = $16 + (($10 | 0) != 0) | 0; + $7 = 0 - $7 | 0; + HEAP32[$8 + 64 >> 2] = $9; + HEAP32[$8 + 68 >> 2] = $7; + $19 = 1; + $10 = 28483; + break label$46; + } + if ($14 & 2048) { + $19 = 1; + $10 = 28484; + break label$46; + } + $19 = $14 & 1; + $10 = $19 ? 28485 : 28483; + } + $24 = $10; + $15 = fmt_u($9, $7, $21); + } + if (($11 | 0) < 0 ? $23 : 0) { + break label$4; + } + $14 = $23 ? $14 & -65537 : $14; + $7 = HEAP32[$8 + 64 >> 2]; + $9 = $7; + $7 = HEAP32[$8 + 68 >> 2]; + if (!(($7 | $9) != 0 | $11)) { + $15 = $21; + $20 = $15; + $11 = 0; + break label$8; + } + $7 = !($7 | $9) + ($21 - $15 | 0) | 0; + $11 = ($7 | 0) < ($11 | 0) ? $11 : $7; + break label$8; + } + $7 = HEAP32[$8 + 64 >> 2]; + $15 = $7 ? $7 : 37761; + $7 = strnlen($15, $11 >>> 0 < 2147483647 ? $11 : 2147483647); + $20 = $7 + $15 | 0; + if (($11 | 0) >= 0) { + $14 = $10; + $11 = $7; + break label$8; + } + $14 = $10; + $11 = $7; + if (HEAPU8[$20 | 0]) { + break label$4; + } + break label$8; + } + $12 = HEAP32[$8 + 64 >> 2]; + if ($11) { + break label$41; + } + $7 = 0; + pad($0, 32, $18, 0, $14); + break label$40; + } + HEAP32[$8 + 12 >> 2] = 0; + $7 = HEAP32[$8 + 64 >> 2]; + HEAP32[$8 + 8 >> 2] = $7; + HEAP32[$8 + 64 >> 2] = $8 + 8; + $11 = -1; + $12 = $8 + 8 | 0; + } + $7 = 0; + label$67: { + while (1) { + $9 = HEAP32[$12 >> 2]; + if (!$9) { + break label$67; + } + $9 = wctomb($8 + 4 | 0, $9); + $15 = ($9 | 0) < 0; + if (!($15 | $11 - $7 >>> 0 < $9 >>> 0)) { + $12 = $12 + 4 | 0; + $7 = $7 + $9 | 0; + if ($11 >>> 0 > $7 >>> 0) { + continue; + } + break label$67; + } + break; + } + if ($15) { + break label$2; + } + } + $20 = 61; + if (($7 | 0) < 0) { + break label$3; + } + pad($0, 32, $18, $7, $14); + if (!$7) { + $7 = 0; + break label$40; + } + $9 = 0; + $12 = HEAP32[$8 + 64 >> 2]; + while (1) { + $15 = HEAP32[$12 >> 2]; + if (!$15) { + break label$40; + } + $15 = wctomb($8 + 4 | 0, $15); + $9 = $15 + $9 | 0; + if ($9 >>> 0 > $7 >>> 0) { + break label$40; + } + out($0, $8 + 4 | 0, $15); + $12 = $12 + 4 | 0; + if ($7 >>> 0 > $9 >>> 0) { + continue; + } + break; + } + } + pad($0, 32, $18, $7, $14 ^ 8192); + $7 = ($7 | 0) < ($18 | 0) ? $18 : $7; + continue label$5; + } + if (($11 | 0) < 0 ? $23 : 0) { + break label$4; + } + $20 = 61; + $7 = FUNCTION_TABLE[$5 | 0]($0, HEAPF64[$8 + 64 >> 3], $18, $11, $14, $7) | 0; + if (($7 | 0) >= 0) { + continue label$5; + } + break label$3; + } + $7 = HEAP32[$8 + 64 >> 2]; + HEAP8[$8 + 55 | 0] = $7; + $11 = 1; + $15 = $25; + $14 = $10; + break label$8; + } + HEAP32[$8 + 76 >> 2] = $9; + break label$9; + } + $12 = HEAPU8[$7 + 1 | 0]; + $7 = $7 + 1 | 0; + continue; + } + } + if ($0) { + break label$1; + } + if (!$22) { + break label$6; + } + $7 = 1; + while (1) { + $12 = HEAP32[($7 << 2) + $4 >> 2]; + if ($12) { + pop_arg(($7 << 3) + $3 | 0, $12, $2, $6); + $17 = 1; + $7 = $7 + 1 | 0; + if (($7 | 0) != 10) { + continue; + } + break label$1; + } + break; + } + $17 = 1; + if ($7 >>> 0 >= 10) { + break label$1; + } + while (1) { + if (HEAP32[($7 << 2) + $4 >> 2]) { + break label$9; + } + $7 = $7 + 1 | 0; + if (($7 | 0) != 10) { + continue; + } + break; + } + break label$1; + } + $20 = 28; + break label$3; + } + $13 = $20 - $15 | 0; + $11 = ($11 | 0) > ($13 | 0) ? $11 : $13; + if (($11 | 0) > ($19 ^ 2147483647)) { + break label$4; + } + $20 = 61; + $9 = $11 + $19 | 0; + $7 = ($9 | 0) < ($18 | 0) ? $18 : $9; + if (($12 | 0) < ($7 | 0)) { + break label$3; + } + pad($0, 32, $7, $9, $14); + out($0, $24, $19); + pad($0, 48, $7, $9, $14 ^ 65536); + pad($0, 48, $11, $13, 0); + out($0, $15, $13); + pad($0, 32, $7, $9, $14 ^ 8192); + continue; + } + break; + } + $17 = 0; + break label$1; + } + $20 = 61; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = $20, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; } - return bytes; - } catch (_) { - throw new Error("Converting base64 string to bytes failed."); + $17 = -1; } + __stack_pointer = $8 + 80 | 0; + return $17; } -function tryParseAsDataURI(filename) { - if (!isDataURI(filename)) { - return; +function vision__ComputeSubpixelHessianFineOctavePair_28float__2c_20float__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = Math_fround(0), $9 = Math_fround(0), $10 = 0, $11 = Math_fround(0), $12 = Math_fround(0), $13 = Math_fround(0), $14 = Math_fround(0), $15 = 0, $16 = 0, $17 = 0, $18 = Math_fround(0), $19 = Math_fround(0), $20 = Math_fround(0), $21 = Math_fround(0), $22 = Math_fround(0), $23 = Math_fround(0); + $7 = __stack_pointer - 32 | 0; + __stack_pointer = $7; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + label$10: { + label$11: { + if (($5 | 0) <= 0) { + break label$11; + } + if (vision__Image__width_28_29_20const($3) >>> 0 <= $5 + 1 >>> 0) { + break label$11; + } + if (($6 | 0) <= 0) { + break label$10; + } + $10 = $6 + 1 | 0; + if (vision__Image__height_28_29_20const($3) >>> 0 <= $10 >>> 0) { + break label$10; + } + if ((vision__Image__width_28_29_20const($2) | 0) != (vision__Image__width_28_29_20const($3) | 0)) { + break label$9; + } + if ((vision__Image__width_28_29_20const($2) >>> 1 | 0) != (vision__Image__width_28_29_20const($4) | 0)) { + break label$8; + } + if ((vision__Image__height_28_29_20const($2) | 0) != (vision__Image__height_28_29_20const($3) | 0)) { + break label$7; + } + if ((vision__Image__height_28_29_20const($2) >>> 1 | 0) != (vision__Image__height_28_29_20const($4) | 0)) { + break label$6; + } + $15 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($2, $6 - 1 | 0); + $16 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($2, $6); + $10 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($2, $10); + $17 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($3, $6); + vision__bilinear_downsample_point_28float__2c_20float__2c_20float_2c_20float_2c_20int_29($7 + 28 | 0, $7 + 24 | 0, Math_fround($5 | 0), Math_fround($6 | 0), 1); + $9 = HEAPF32[$7 + 28 >> 2]; + if (!(Math_fround($9 + Math_fround(-.5)) >= Math_fround(0))) { + break label$5; + } + if (!(Math_fround(HEAPF32[$7 + 24 >> 2] + Math_fround(-.5)) >= Math_fround(0))) { + break label$4; + } + if (!(Math_fround(vision__Image__width_28_29_20const($4) >>> 0) > Math_fround($9 + Math_fround(.5)))) { + break label$3; + } + if (!(Math_fround(HEAPF32[$7 + 24 >> 2] + Math_fround(.5)) < Math_fround(vision__Image__height_28_29_20const($4) >>> 0))) { + break label$2; + } + vision__ComputeSubpixelDerivatives_28float__2c_20float__2c_20float__2c_20float__2c_20float__2c_20vision__Image_20const__2c_20int_2c_20int_29($7 + 20 | 0, $7 + 16 | 0, $7 + 12 | 0, $7 + 8 | 0, $7 + 4 | 0, $3, $5, $6); + $9 = float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($4, HEAPF32[$7 + 28 >> 2], HEAPF32[$7 + 24 >> 2]); + $2 = $5 << 2; + $6 = $16 + $2 | 0; + $13 = HEAPF32[$6 >> 2]; + $8 = HEAPF32[$2 + $17 >> 2]; + $11 = HEAPF32[$6 - 4 >> 2]; + $12 = float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($4, Math_fround(HEAPF32[$7 + 28 >> 2] + Math_fround(.5)), HEAPF32[$7 + 24 >> 2]); + $18 = HEAPF32[$6 + 4 >> 2]; + $19 = float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($4, Math_fround(HEAPF32[$7 + 28 >> 2] + Math_fround(-.5)), HEAPF32[$7 + 24 >> 2]); + $20 = HEAPF32[$2 + $15 >> 2]; + $21 = float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($4, HEAPF32[$7 + 28 >> 2], Math_fround(HEAPF32[$7 + 24 >> 2] + Math_fround(.5))); + $22 = HEAPF32[$2 + $10 >> 2]; + $23 = float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($4, HEAPF32[$7 + 28 >> 2], Math_fround(HEAPF32[$7 + 24 >> 2] + Math_fround(-.5))); + HEAPF32[$0 >> 2] = HEAPF32[$7 + 12 >> 2]; + $14 = HEAPF32[$7 + 4 >> 2]; + HEAPF32[$0 + 12 >> 2] = $14; + $11 = Math_fround(Math_fround(Math_fround($11 + $12) - Math_fround($18 + $19)) * Math_fround(.25)); + HEAPF32[$0 + 8 >> 2] = $11; + HEAPF32[$0 + 4 >> 2] = $14; + $12 = HEAPF32[$7 + 8 >> 2]; + HEAPF32[$0 + 32 >> 2] = $9 + Math_fround($13 - Math_fround($8 + $8)); + $8 = Math_fround(Math_fround(Math_fround($20 + $21) - Math_fround($22 + $23)) * Math_fround(.25)); + HEAPF32[$0 + 28 >> 2] = $8; + HEAPF32[$0 + 24 >> 2] = $11; + HEAPF32[$0 + 20 >> 2] = $8; + HEAPF32[$0 + 16 >> 2] = $12; + HEAPF32[$1 >> 2] = -HEAPF32[$7 + 20 >> 2]; + $8 = HEAPF32[$7 + 16 >> 2]; + HEAPF32[$1 + 8 >> 2] = Math_fround($9 - $13) * Math_fround(-.5); + HEAPF32[$1 + 4 >> 2] = -$8; + __stack_pointer = $7 + 32 | 0; + return; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23505), 22456), 3289), 413), 3786), 23563), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23684), 22456), 3289), 414), 3786), 23743), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23832), 22456), 3289), 415), 3786), 23884), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24411), 22456), 3289), 416), 3786), 23884), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24061), 22456), 3289), 417), 3786), 23884), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24516), 22456), 3289), 418), 3786), 23884), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24575), 22456), 3289), 428), 3786), 24657), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24803), 22456), 3289), 429), 3786), 24844), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25042), 22456), 3289), 430), 3786), 24657), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25143), 22456), 3289), 431), 3786), 24844), 16); } - return intArrayFromBase64(filename.slice(dataURIPrefix.length)); -} - -function nullFunc_di(x) { - err("Invalid function pointer called with signature 'di'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_dii(x) { - err("Invalid function pointer called with signature 'dii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_i(x) { - err("Invalid function pointer called with signature 'i'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_ii(x) { - err("Invalid function pointer called with signature 'ii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_iidiiii(x) { - err("Invalid function pointer called with signature 'iidiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_iii(x) { - err("Invalid function pointer called with signature 'iii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_iiii(x) { - err("Invalid function pointer called with signature 'iiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); + abort(); + abort(); } -function nullFunc_iiiii(x) { - err("Invalid function pointer called with signature 'iiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________emplace_unique_key_args_int_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28int_20const__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $7 = __stack_pointer - 32 | 0; + __stack_pointer = $7; + $9 = std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______hash_function_28_29($1), $2); + $8 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______bucket_count_28_29_20const($1); + HEAP8[$7 + 31 | 0] = 0; + label$1: { + label$2: { + if (!$8) { + break label$2; + } + $10 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($9, $8); + $6 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10) >> 2]; + if (!$6) { + break label$2; + } + while (1) { + $6 = HEAP32[$6 >> 2]; + if (!$6) { + break label$2; + } + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_28_29_20const($6) | 0) != ($9 | 0)) { + if ((std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_28_29_20const($6), $8) | 0) != ($10 | 0)) { + break label$2; + } + } + if (!std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const__2c_20int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______key_eq_28_29($1), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________upcast_28_29($6) + 8 | 0, $2)) { + continue; + } + break; + } + break label$1; + } + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________construct_node_hash_std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28unsigned_20long_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($7 + 16 | 0, $1, $9, $3, $4, $5); + $6 = HEAP32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______size_28_29($1) >> 2]; + $2 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______max_load_factor_28_29($1); + if (!(Math_fround($6 + 1 >>> 0) > Math_fround(HEAPF32[$2 >> 2] * Math_fround($8 >>> 0)) ? 0 : $8)) { + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2____is_hash_power2_28unsigned_20long_29($8) ^ 1 | $8 << 1, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $11 = ceil_28float_29(Math_fround(Math_fround(HEAP32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______size_28_29($1) >> 2] + 1 >>> 0) / HEAPF32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______max_load_factor_28_29($1) >> 2])); + label$7: { + if ($11 < Math_fround(4294967296) & $11 >= Math_fround(0)) { + $6 = ~~$11 >>> 0; + break label$7; + } + $6 = 0; + } + HEAP32[$7 + 8 >> 2] = $6; + std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______rehash_28unsigned_20long_29($1, HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($7 + 12 | 0, $7 + 8 | 0) >> 2]); + $8 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______bucket_count_28_29_20const($1); + $10 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($9, $8); + } + $6 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10) >> 2]; + label$9: { + if (!$6) { + $6 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______first_28_29($1 + 8 | 0)); + $9 = HEAP32[$6 >> 2]; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29_20const($7 + 16 | 0), + wasm2js_i32$1 = $9, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $6, wasm2js_i32$1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________ptr_28_29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______get_28_29_20const($7 + 16 | 0)), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!HEAP32[std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29_20const($7 + 16 | 0) >> 2]) { + break label$9; + } + $6 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________ptr_28_29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______get_28_29_20const($7 + 16 | 0)); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_28_29_20const(HEAP32[std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29_20const($7 + 16 | 0) >> 2]), $8)), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$9; + } + $8 = HEAP32[$6 >> 2]; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29_20const($7 + 16 | 0), + wasm2js_i32$1 = $8, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $6, wasm2js_i32$1 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______get_28_29_20const($7 + 16 | 0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $6 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______release_28_29($7 + 16 | 0); + $1 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______size_28_29($1); + HEAP32[$1 >> 2] = HEAP32[$1 >> 2] + 1; + HEAP8[$7 + 31 | 0] = 1; + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________unique_ptr_28_29($7 + 16 | 0); + } + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20bool__2c_20_28void__290__28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20bool__29($0, std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______29($7 + 16 | 0, $6), $7 + 31 | 0); + __stack_pointer = $7 + 32 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSpecialName_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + label$3: { + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + if (($3 | 0) != 71) { + if (($3 | 0) != 84) { + break label$1; + } + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + label$10: { + label$11: { + label$12: { + label$13: { + label$14: { + label$15: { + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + switch ($3 - 65 | 0) { + case 8: + break label$11; + + case 0: + break label$14; + + case 1: + case 3: + case 4: + case 5: + case 6: + break label$5; + + case 7: + break label$7; + + case 2: + break label$9; + + default: + break label$15; + } + } + switch ($3 - 83 | 0) { + case 0: + break label$10; + + case 1: + break label$12; + + case 3: + break label$13; + + case 2: + break label$5; + + case 4: + break label$8; + + default: + break label$6; + } + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArg_28_29($0); + HEAP32[$2 >> 2] = $1; + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b31_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b31_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$2 >> 2] = $1; + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$2 >> 2] = $1; + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$2 >> 2] = $1; + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b14_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b14_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$2 >> 2] = $1; + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b19_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b19_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$2 + 12 >> 2] = $3; + if (!$3) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($2, $0, 1); + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($2)) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$2 >> 2] = $1; + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CtorVtableSpecialName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2, $2 + 12 | 0); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, 0); + HEAP32[$2 >> 2] = $3; + if (!$3) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b34_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b34_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, 38173, $2); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, 0); + HEAP32[$2 >> 2] = $3; + if (!$3) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b41_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b41_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2); + break label$1; + } + if (($3 | 0) == 99) { + break label$3; + } + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseCallOffset_28_29($0)) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29($0); + HEAP32[$2 >> 2] = $1; + if (!$1) { + break label$2; + } + if (($3 | 0) == 118) { + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b18_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b18_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2); + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b22_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b22_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2); + break label$1; + } + label$17: { + switch ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1) - 82 | 0) { + case 4: + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, 0); + HEAP32[$2 >> 2] = $3; + if (!$3) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b20_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b20_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2); + break label$1; -function nullFunc_iiiiid(x) { - err("Invalid function pointer called with signature 'iiiiid'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} + case 0: + break label$17; -function nullFunc_iiiiii(x) { - err("Invalid function pointer called with signature 'iiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); + default: + break label$1; + } + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, 0); + HEAP32[$2 >> 2] = $3; + if (!$3) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSeqId_28unsigned_20long__29($0, $2 + 12 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95); + if (!$1) { + $1 = 0; + if (!$3) { + break label$1; + } + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b25_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b25_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseCallOffset_28_29($0)) { + break label$1; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseCallOffset_28_29($0)) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29($0); + HEAP32[$2 >> 2] = $1; + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b27_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b27_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2); + break label$1; + } + $1 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $1; } -function nullFunc_iiiiiid(x) { - err("Invalid function pointer called with signature 'iiiiiid'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_iiiiiii(x) { - err("Invalid function pointer called with signature 'iiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_iiiiiiii(x) { - err("Invalid function pointer called with signature 'iiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_iiiiiiiii(x) { - err("Invalid function pointer called with signature 'iiiiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_v(x) { - err("Invalid function pointer called with signature 'v'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_vi(x) { - err("Invalid function pointer called with signature 'vi'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_vid(x) { - err("Invalid function pointer called with signature 'vid'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_vii(x) { - err("Invalid function pointer called with signature 'vii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_viid(x) { - err("Invalid function pointer called with signature 'viid'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_viii(x) { - err("Invalid function pointer called with signature 'viii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_viiii(x) { - err("Invalid function pointer called with signature 'viiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_viiiii(x) { - err("Invalid function pointer called with signature 'viiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_viiiiii(x) { - err("Invalid function pointer called with signature 'viiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function nullFunc_viiiiiii(x) { - err("Invalid function pointer called with signature 'viiiiiii'. Perhaps this is an invalid value (e.g. caused by calling a virtual method on a NULL pointer)? Or calling a function with an incorrect type, which will fail? (it is worth building your source files with -Werror (warnings are errors), as warnings can indicate undefined behavior which can cause this)"); - err("Build with ASSERTIONS=2 for more info."); - abort(x); -} - -function invoke_ii(index, a1) { - var sp = stackSave(); - try { - return dynCall_ii(index, a1); - } catch (e) { - stackRestore(sp); - if (e !== e + 0 && e !== "longjmp") throw e; - _setThrew(1, 0); - } -} - -function invoke_iii(index, a1, a2) { - var sp = stackSave(); - try { - return dynCall_iii(index, a1, a2); - } catch (e) { - stackRestore(sp); - if (e !== e + 0 && e !== "longjmp") throw e; - _setThrew(1, 0); - } -} - -function invoke_iiii(index, a1, a2, a3) { - var sp = stackSave(); - try { - return dynCall_iiii(index, a1, a2, a3); - } catch (e) { - stackRestore(sp); - if (e !== e + 0 && e !== "longjmp") throw e; - _setThrew(1, 0); - } -} - -function invoke_vi(index, a1) { - var sp = stackSave(); - try { - dynCall_vi(index, a1); - } catch (e) { - stackRestore(sp); - if (e !== e + 0 && e !== "longjmp") throw e; - _setThrew(1, 0); - } -} - -function invoke_vii(index, a1, a2) { - var sp = stackSave(); - try { - dynCall_vii(index, a1, a2); - } catch (e) { - stackRestore(sp); - if (e !== e + 0 && e !== "longjmp") throw e; - _setThrew(1, 0); - } -} - -function invoke_viii(index, a1, a2, a3) { - var sp = stackSave(); - try { - dynCall_viii(index, a1, a2, a3); - } catch (e) { - stackRestore(sp); - if (e !== e + 0 && e !== "longjmp") throw e; - _setThrew(1, 0); - } -} - -function invoke_viiii(index, a1, a2, a3, a4) { - var sp = stackSave(); - try { - dynCall_viiii(index, a1, a2, a3, a4); - } catch (e) { - stackRestore(sp); - if (e !== e + 0 && e !== "longjmp") throw e; - _setThrew(1, 0); +function float_20vision__bilinear_interpolation_float_2c_20float__28float_20const__2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20float_2c_20float_29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = Math_fround(0), $8 = 0, $9 = Math_fround(0), $10 = 0, $11 = Math_fround(0), $12 = Math_fround(0); + if (Math_fround(Math_abs($4)) < Math_fround(2147483648)) { + $6 = ~~$4; + } else { + $6 = -2147483648; + } + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + label$10: { + label$11: { + $7 = floor_28float_29($4); + label$14: { + if (Math_fround(Math_abs($7)) < Math_fround(2147483648)) { + $8 = ~~$7; + break label$14; + } + $8 = -2147483648; + } + if (($6 | 0) == ($8 | 0)) { + if (Math_fround(Math_abs($5)) < Math_fround(2147483648)) { + $10 = ~~$5; + } else { + $10 = -2147483648; + } + $7 = floor_28float_29($5); + label$19: { + if (Math_fround(Math_abs($7)) < Math_fround(2147483648)) { + $6 = ~~$7; + break label$19; + } + $6 = -2147483648; + } + if (($10 | 0) != ($6 | 0)) { + break label$11; + } + if (($6 | 0) < 0 | $2 >>> 0 <= $6 >>> 0) { + break label$10; + } + $10 = $6 + 1 | 0; + if ($10 >>> 0 >= $2 >>> 0) { + break label$9; + } + if (($8 | 0) < 0 | $1 >>> 0 <= $8 >>> 0) { + break label$8; + } + $2 = $8 + 1 | 0; + if ($2 >>> 0 >= $1 >>> 0) { + break label$7; + } + $11 = Math_fround(Math_fround($2 | 0) - $4); + $9 = Math_fround(Math_fround($10 | 0) - $5); + $7 = Math_fround($11 * $9); + if (!($7 >= Math_fround(0)) | !(+$7 <= 1.0001)) { + break label$6; + } + $12 = Math_fround($4 - Math_fround($8 | 0)); + $4 = Math_fround($12 * $9); + if (!($4 >= Math_fround(0)) | !(+$4 <= 1.0001)) { + break label$5; + } + $9 = Math_fround($5 - Math_fround($6 | 0)); + $5 = Math_fround($11 * $9); + if (!($5 >= Math_fround(0)) | !(+$5 <= 1.0001)) { + break label$4; + } + $9 = Math_fround($12 * $9); + if (!($9 >= Math_fround(0)) | !(+$9 <= 1.0001)) { + break label$3; + } + if (!(+Math_fround($9 + Math_fround($5 + Math_fround($7 + $4))) <= 1.0001)) { + break label$2; + } + $6 = Math_imul($3, $6) + $0 | 0; + $1 = $6 + $3 | 0; + $2 = $2 << 2; + $8 = $8 << 2; + return Math_fround(Math_fround($9 * HEAPF32[$1 + $2 >> 2]) + Math_fround(Math_fround($5 * HEAPF32[$8 + $1 >> 2]) + Math_fround(Math_fround($7 * HEAPF32[$6 + $8 >> 2]) + Math_fround($4 * HEAPF32[$2 + $6 >> 2])))); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25716), 25768), 3289), 69), 3786), 25902), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25932), 25768), 3289), 70), 3786), 25902), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25984), 25768), 3289), 79), 3786), 26030), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 26047), 25768), 3289), 80), 3786), 26107), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 26131), 25768), 3289), 81), 3786), 26176), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 26193), 25768), 3289), 82), 3786), 26252), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 26276), 25768), 3289), 94), 3786), 26323), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 26336), 25768), 3289), 95), 3786), 26323), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 26383), 25768), 3289), 96), 3786), 26323), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 26430), 25768), 3289), 97), 3786), 26323), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 26477), 25768), 3289), 98), 3786), 26323), 16); } + abort(); + abort(); } -var asmGlobalArg = { - "Math": Math, - "Int8Array": Int8Array, - "Int16Array": Int16Array, - "Int32Array": Int32Array, - "Uint8Array": Uint8Array, - "Uint16Array": Uint16Array, - "Float32Array": Float32Array, - "Float64Array": Float64Array, - "NaN": NaN, - Infinity: Infinity -}; - -var asmLibraryArg = { - "abort": abort, - "setTempRet0": setTempRet0, - "getTempRet0": getTempRet0, - "abortStackOverflow": abortStackOverflow, - "nullFunc_di": nullFunc_di, - "nullFunc_dii": nullFunc_dii, - "nullFunc_i": nullFunc_i, - "nullFunc_ii": nullFunc_ii, - "nullFunc_iidiiii": nullFunc_iidiiii, - "nullFunc_iii": nullFunc_iii, - "nullFunc_iiii": nullFunc_iiii, - "nullFunc_iiiii": nullFunc_iiiii, - "nullFunc_iiiiid": nullFunc_iiiiid, - "nullFunc_iiiiii": nullFunc_iiiiii, - "nullFunc_iiiiiid": nullFunc_iiiiiid, - "nullFunc_iiiiiii": nullFunc_iiiiiii, - "nullFunc_iiiiiiii": nullFunc_iiiiiiii, - "nullFunc_iiiiiiiii": nullFunc_iiiiiiiii, - "nullFunc_v": nullFunc_v, - "nullFunc_vi": nullFunc_vi, - "nullFunc_vid": nullFunc_vid, - "nullFunc_vii": nullFunc_vii, - "nullFunc_viid": nullFunc_viid, - "nullFunc_viii": nullFunc_viii, - "nullFunc_viiii": nullFunc_viiii, - "nullFunc_viiiii": nullFunc_viiiii, - "nullFunc_viiiiii": nullFunc_viiiiii, - "nullFunc_viiiiiii": nullFunc_viiiiiii, - "invoke_ii": invoke_ii, - "invoke_iii": invoke_iii, - "invoke_iiii": invoke_iiii, - "invoke_vi": invoke_vi, - "invoke_vii": invoke_vii, - "invoke_viii": invoke_viii, - "invoke_viiii": invoke_viiii, - "___buildEnvironment": ___buildEnvironment, - "___clock_gettime": ___clock_gettime, - "___cxa_allocate_exception": ___cxa_allocate_exception, - "___cxa_begin_catch": ___cxa_begin_catch, - "___cxa_find_matching_catch": ___cxa_find_matching_catch, - "___cxa_free_exception": ___cxa_free_exception, - "___cxa_throw": ___cxa_throw, - "___cxa_uncaught_exception": ___cxa_uncaught_exception, - "___gxx_personality_v0": ___gxx_personality_v0, - "___lock": ___lock, - "___map_file": ___map_file, - "___resumeException": ___resumeException, - "___setErrNo": ___setErrNo, - "___syscall10": ___syscall10, - "___syscall140": ___syscall140, - "___syscall145": ___syscall145, - "___syscall146": ___syscall146, - "___syscall221": ___syscall221, - "___syscall5": ___syscall5, - "___syscall54": ___syscall54, - "___syscall6": ___syscall6, - "___syscall91": ___syscall91, - "___unlock": ___unlock, - "__addDays": __addDays, - "__arraySum": __arraySum, - "__embind_register_bool": __embind_register_bool, - "__embind_register_constant": __embind_register_constant, - "__embind_register_emval": __embind_register_emval, - "__embind_register_float": __embind_register_float, - "__embind_register_function": __embind_register_function, - "__embind_register_integer": __embind_register_integer, - "__embind_register_memory_view": __embind_register_memory_view, - "__embind_register_std_string": __embind_register_std_string, - "__embind_register_std_wstring": __embind_register_std_wstring, - "__embind_register_void": __embind_register_void, - "__emval_decref": __emval_decref, - "__emval_register": __emval_register, - "__isLeapYear": __isLeapYear, - "_abort": _abort, - "_clock_gettime": _clock_gettime, - "_embind_repr": _embind_repr, - "_emscripten_asm_const_ii": _emscripten_asm_const_ii, - "_emscripten_asm_const_iiddddddddddddd": _emscripten_asm_const_iiddddddddddddd, - "_emscripten_asm_const_iiiid": _emscripten_asm_const_iiiid, - "_emscripten_asm_const_iiiiiii": _emscripten_asm_const_iiiiiii, - "_emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi": _emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi, - "_emscripten_get_heap_size": _emscripten_get_heap_size, - "_emscripten_get_now": _emscripten_get_now, - "_emscripten_get_now_is_monotonic": _emscripten_get_now_is_monotonic, - "_emscripten_memcpy_big": _emscripten_memcpy_big, - "_emscripten_resize_heap": _emscripten_resize_heap, - "_exit": _exit, - "_getenv": _getenv, - "_gettimeofday": _gettimeofday, - "_llvm_exp2_f32": _llvm_exp2_f32, - "_llvm_stackrestore": _llvm_stackrestore, - "_llvm_stacksave": _llvm_stacksave, - "_localtime": _localtime, - "_localtime_r": _localtime_r, - "_longjmp": _longjmp, - "_pthread_cond_wait": _pthread_cond_wait, - "_strftime": _strftime, - "_strftime_l": _strftime_l, - "_time": _time, - "_tzset": _tzset, - "abortOnCannotGrowMemory": abortOnCannotGrowMemory, - "count_emval_handles": count_emval_handles, - "craftInvokerFunction": craftInvokerFunction, - "createNamedFunction": createNamedFunction, - "embind__requireFunction": embind__requireFunction, - "embind_init_charCodes": embind_init_charCodes, - "emscripten_realloc_buffer": emscripten_realloc_buffer, - "ensureOverloadTable": ensureOverloadTable, - "exposePublicSymbol": exposePublicSymbol, - "extendError": extendError, - "floatReadValueFromPointer": floatReadValueFromPointer, - "getShiftFromSize": getShiftFromSize, - "getTypeName": getTypeName, - "get_first_emval": get_first_emval, - "heap32VectorToArray": heap32VectorToArray, - "init_emval": init_emval, - "integerReadValueFromPointer": integerReadValueFromPointer, - "makeLegalFunctionName": makeLegalFunctionName, - "new_": new_, - "readLatin1String": readLatin1String, - "registerType": registerType, - "replacePublicSymbol": replacePublicSymbol, - "runDestructors": runDestructors, - "simpleReadValueFromPointer": simpleReadValueFromPointer, - "throwBindingError": throwBindingError, - "throwInternalError": throwInternalError, - "throwUnboundTypeError": throwUnboundTypeError, - "whenDependentTypesAreResolved": whenDependentTypesAreResolved, - "tempDoublePtr": tempDoublePtr, - "DYNAMICTOP_PTR": DYNAMICTOP_PTR -}; - -// EMSCRIPTEN_START_ASM - - -var asm = (/** @suppress {uselessCode} */ function(global,env,buffer) { - -'almost asm'; - - var HEAP8 = new global.Int8Array(buffer), - HEAP16 = new global.Int16Array(buffer), - HEAP32 = new global.Int32Array(buffer), - HEAPU8 = new global.Uint8Array(buffer), - HEAPU16 = new global.Uint16Array(buffer), - HEAPF32 = new global.Float32Array(buffer), - HEAPF64 = new global.Float64Array(buffer), - tempDoublePtr=env.tempDoublePtr|0, - DYNAMICTOP_PTR=env.DYNAMICTOP_PTR|0, - __THREW__ = 0, - threwValue = 0, - setjmpId = 0, - tempInt = 0, - tempBigInt = 0, - tempBigIntS = 0, - tempValue = 0, - tempDouble = 0.0, - nan = global.NaN, - inf = global.Infinity, - Math_floor=global.Math.floor, - Math_abs=global.Math.abs, - Math_sqrt=global.Math.sqrt, - Math_pow=global.Math.pow, - Math_cos=global.Math.cos, - Math_sin=global.Math.sin, - Math_atan2=global.Math.atan2, - Math_log=global.Math.log, - Math_ceil=global.Math.ceil, - Math_imul=global.Math.imul, - Math_clz32=global.Math.clz32, - abort=env.abort, - setTempRet0=env.setTempRet0, - getTempRet0=env.getTempRet0, - abortStackOverflow=env.abortStackOverflow, - nullFunc_di=env.nullFunc_di, - nullFunc_dii=env.nullFunc_dii, - nullFunc_i=env.nullFunc_i, - nullFunc_ii=env.nullFunc_ii, - nullFunc_iidiiii=env.nullFunc_iidiiii, - nullFunc_iii=env.nullFunc_iii, - nullFunc_iiii=env.nullFunc_iiii, - nullFunc_iiiii=env.nullFunc_iiiii, - nullFunc_iiiiid=env.nullFunc_iiiiid, - nullFunc_iiiiii=env.nullFunc_iiiiii, - nullFunc_iiiiiid=env.nullFunc_iiiiiid, - nullFunc_iiiiiii=env.nullFunc_iiiiiii, - nullFunc_iiiiiiii=env.nullFunc_iiiiiiii, - nullFunc_iiiiiiiii=env.nullFunc_iiiiiiiii, - nullFunc_v=env.nullFunc_v, - nullFunc_vi=env.nullFunc_vi, - nullFunc_vid=env.nullFunc_vid, - nullFunc_vii=env.nullFunc_vii, - nullFunc_viid=env.nullFunc_viid, - nullFunc_viii=env.nullFunc_viii, - nullFunc_viiii=env.nullFunc_viiii, - nullFunc_viiiii=env.nullFunc_viiiii, - nullFunc_viiiiii=env.nullFunc_viiiiii, - nullFunc_viiiiiii=env.nullFunc_viiiiiii, - invoke_ii=env.invoke_ii, - invoke_iii=env.invoke_iii, - invoke_iiii=env.invoke_iiii, - invoke_vi=env.invoke_vi, - invoke_vii=env.invoke_vii, - invoke_viii=env.invoke_viii, - invoke_viiii=env.invoke_viiii, - ___buildEnvironment=env.___buildEnvironment, - ___clock_gettime=env.___clock_gettime, - ___cxa_allocate_exception=env.___cxa_allocate_exception, - ___cxa_begin_catch=env.___cxa_begin_catch, - ___cxa_find_matching_catch=env.___cxa_find_matching_catch, - ___cxa_free_exception=env.___cxa_free_exception, - ___cxa_throw=env.___cxa_throw, - ___cxa_uncaught_exception=env.___cxa_uncaught_exception, - ___gxx_personality_v0=env.___gxx_personality_v0, - ___lock=env.___lock, - ___map_file=env.___map_file, - ___resumeException=env.___resumeException, - ___setErrNo=env.___setErrNo, - ___syscall10=env.___syscall10, - ___syscall140=env.___syscall140, - ___syscall145=env.___syscall145, - ___syscall146=env.___syscall146, - ___syscall221=env.___syscall221, - ___syscall5=env.___syscall5, - ___syscall54=env.___syscall54, - ___syscall6=env.___syscall6, - ___syscall91=env.___syscall91, - ___unlock=env.___unlock, - __addDays=env.__addDays, - __arraySum=env.__arraySum, - __embind_register_bool=env.__embind_register_bool, - __embind_register_constant=env.__embind_register_constant, - __embind_register_emval=env.__embind_register_emval, - __embind_register_float=env.__embind_register_float, - __embind_register_function=env.__embind_register_function, - __embind_register_integer=env.__embind_register_integer, - __embind_register_memory_view=env.__embind_register_memory_view, - __embind_register_std_string=env.__embind_register_std_string, - __embind_register_std_wstring=env.__embind_register_std_wstring, - __embind_register_void=env.__embind_register_void, - __emval_decref=env.__emval_decref, - __emval_register=env.__emval_register, - __isLeapYear=env.__isLeapYear, - _abort=env._abort, - _clock_gettime=env._clock_gettime, - _embind_repr=env._embind_repr, - _emscripten_asm_const_ii=env._emscripten_asm_const_ii, - _emscripten_asm_const_iiddddddddddddd=env._emscripten_asm_const_iiddddddddddddd, - _emscripten_asm_const_iiiid=env._emscripten_asm_const_iiiid, - _emscripten_asm_const_iiiiiii=env._emscripten_asm_const_iiiiiii, - _emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi=env._emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi, - _emscripten_get_heap_size=env._emscripten_get_heap_size, - _emscripten_get_now=env._emscripten_get_now, - _emscripten_get_now_is_monotonic=env._emscripten_get_now_is_monotonic, - _emscripten_memcpy_big=env._emscripten_memcpy_big, - _emscripten_resize_heap=env._emscripten_resize_heap, - _exit=env._exit, - _getenv=env._getenv, - _gettimeofday=env._gettimeofday, - _llvm_exp2_f32=env._llvm_exp2_f32, - _llvm_stackrestore=env._llvm_stackrestore, - _llvm_stacksave=env._llvm_stacksave, - _localtime=env._localtime, - _localtime_r=env._localtime_r, - _longjmp=env._longjmp, - _pthread_cond_wait=env._pthread_cond_wait, - _strftime=env._strftime, - _strftime_l=env._strftime_l, - _time=env._time, - _tzset=env._tzset, - abortOnCannotGrowMemory=env.abortOnCannotGrowMemory, - count_emval_handles=env.count_emval_handles, - craftInvokerFunction=env.craftInvokerFunction, - createNamedFunction=env.createNamedFunction, - embind__requireFunction=env.embind__requireFunction, - embind_init_charCodes=env.embind_init_charCodes, - emscripten_realloc_buffer=env.emscripten_realloc_buffer, - ensureOverloadTable=env.ensureOverloadTable, - exposePublicSymbol=env.exposePublicSymbol, - extendError=env.extendError, - floatReadValueFromPointer=env.floatReadValueFromPointer, - getShiftFromSize=env.getShiftFromSize, - getTypeName=env.getTypeName, - get_first_emval=env.get_first_emval, - heap32VectorToArray=env.heap32VectorToArray, - init_emval=env.init_emval, - integerReadValueFromPointer=env.integerReadValueFromPointer, - makeLegalFunctionName=env.makeLegalFunctionName, - new_=env.new_, - readLatin1String=env.readLatin1String, - registerType=env.registerType, - replacePublicSymbol=env.replacePublicSymbol, - runDestructors=env.runDestructors, - simpleReadValueFromPointer=env.simpleReadValueFromPointer, - throwBindingError=env.throwBindingError, - throwInternalError=env.throwInternalError, - throwUnboundTypeError=env.throwUnboundTypeError, - whenDependentTypesAreResolved=env.whenDependentTypesAreResolved, - STACKTOP = 58592, - STACK_MAX = 5301472, - tempFloat = 0.0; - -function _emscripten_replace_memory(newBuffer) { - HEAP8 = new Int8Array(newBuffer); - HEAPU8 = new Uint8Array(newBuffer); - HEAP16 = new Int16Array(newBuffer); - HEAPU16 = new Uint16Array(newBuffer); - HEAP32 = new Int32Array(newBuffer); - HEAPF32 = new Float32Array(newBuffer); - HEAPF64 = new Float64Array(newBuffer); - - buffer = newBuffer; - return true; -} - -// EMSCRIPTEN_START_FUNCS - -function __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) { - i1 = i1 | 0; - i4 = i4 | 0; - i13 = i13 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 208 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); - i17 = i20 + 176 | 0; - i18 = i20 + 112 | 0; - i19 = i20 + 88 | 0; - i15 = i20 + 64 | 0; - i16 = i20 + 48 | 0; - i8 = i20 + 160 | 0; - i14 = i20 + 36 | 0; - i6 = i20 + 148 | 0; - i7 = i20 + 136 | 0; - i9 = i20 + 124 | 0; - i10 = i20 + 24 | 0; - i11 = i20 + 12 | 0; - i12 = i20; - i3 = i4; - i2 = i3 - i1 | 0; - L1 : do if ((i2 | 0) > 1) { - if ((i2 | 0) > 3 ? (HEAP8[i1 >> 0] | 0) == 103 : 0) { - i5 = (HEAP8[i1 + 1 >> 0] | 0) == 115; - i2 = i5 ? i1 + 2 | 0 : i1; - } else { - i2 = i1; - i5 = 0; - } - do switch (HEAP8[i2 >> 0] | 0) { - case 76: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_118parse_expr_primaryINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 84: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_120parse_template_paramINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 102: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_120parse_function_paramINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 97: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 97: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49671, __ZNSt3__211char_traitsIcE6lengthEPKc(49671) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 100: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49689, __ZNSt3__211char_traitsIcE6lengthEPKc(49689) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_prefix_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 110: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49689, __ZNSt3__211char_traitsIcE6lengthEPKc(49689) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 78: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49732, __ZNSt3__211char_traitsIcE6lengthEPKc(49732) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 83: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49735, __ZNSt3__211char_traitsIcE6lengthEPKc(49735) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 116: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_118parse_alignof_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 122: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_118parse_alignof_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - default: - break L1; - } - case 99: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 99: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_121parse_const_cast_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 108: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_115parse_call_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 109: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49737, __ZNSt3__211char_traitsIcE6lengthEPKc(49737) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 111: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49739, __ZNSt3__211char_traitsIcE6lengthEPKc(49739) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_prefix_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 118: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_121parse_conversion_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - default: - break L1; - } - case 100: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 97: - { - i14 = i2 + 2 | 0; - i4 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i14, i4, i13) | 0; - if ((i4 | 0) == (i14 | 0)) break L1; - i2 = i13 + 4 | 0; - if ((HEAP32[i13 >> 2] | 0) == (HEAP32[i2 >> 2] | 0)) break L1; - HEAP32[i15 >> 2] = 0; - HEAP32[i15 + 4 >> 2] = 0; - HEAP32[i15 + 8 >> 2] = 0; - L32 : do if (i5) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i15, 49741, __ZNSt3__211char_traitsIcE6lengthEPKc(49741) | 0); else { - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break L32; - HEAP32[i15 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - } while (0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i15, 49744) | 0; - HEAP32[i19 >> 2] = HEAP32[i15 >> 2]; - HEAP32[i19 + 4 >> 2] = HEAP32[i15 + 4 >> 2]; - HEAP32[i19 + 8 >> 2] = HEAP32[i15 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i15 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i16, (HEAP32[i2 >> 2] | 0) + -24 | 0); - i1 = HEAP8[i16 + 11 >> 0] | 0; - i14 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i19, i14 ? HEAP32[i16 >> 2] | 0 : i16, i14 ? HEAP32[i16 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i18 + 4 >> 2] = HEAP32[i19 + 4 >> 2]; - HEAP32[i18 + 8 >> 2] = HEAP32[i19 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i19 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i2 >> 2] | 0; - i2 = i1 + -24 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i14 = HEAP32[i2 >> 2] | 0; - HEAP8[i17 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i14, i17); - HEAP32[i1 + -20 >> 2] = 0; - } else { - HEAP8[i17 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i17); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i18 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i18 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i18 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i18 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i18); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i16); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i19); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - i1 = i4; - break L1; - } - case 99: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_123parse_dynamic_cast_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 101: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49687, __ZNSt3__211char_traitsIcE6lengthEPKc(49687) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_prefix_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 108: - { - i14 = i2 + 2 | 0; - i4 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i14, i4, i13) | 0; - if ((i4 | 0) == (i14 | 0)) break L1; - i2 = i13 + 4 | 0; - if ((HEAP32[i13 >> 2] | 0) == (HEAP32[i2 >> 2] | 0)) break L1; - HEAP32[i15 >> 2] = 0; - HEAP32[i15 + 4 >> 2] = 0; - HEAP32[i15 + 8 >> 2] = 0; - L60 : do if (i5) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i15, 49741, __ZNSt3__211char_traitsIcE6lengthEPKc(49741) | 0); else { - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break L60; - HEAP32[i15 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - } while (0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i15, 49754) | 0; - HEAP32[i19 >> 2] = HEAP32[i15 >> 2]; - HEAP32[i19 + 4 >> 2] = HEAP32[i15 + 4 >> 2]; - HEAP32[i19 + 8 >> 2] = HEAP32[i15 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i15 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i16, (HEAP32[i2 >> 2] | 0) + -24 | 0); - i1 = HEAP8[i16 + 11 >> 0] | 0; - i14 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i19, i14 ? HEAP32[i16 >> 2] | 0 : i16, i14 ? HEAP32[i16 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i18 + 4 >> 2] = HEAP32[i19 + 4 >> 2]; - HEAP32[i18 + 8 >> 2] = HEAP32[i19 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i19 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i2 >> 2] | 0; - i2 = i1 + -24 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i14 = HEAP32[i2 >> 2] | 0; - HEAP8[i17 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i14, i17); - HEAP32[i1 + -20 >> 2] = 0; - } else { - HEAP8[i17 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i17); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i18 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i18 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i18 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i18 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i18); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i16); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i19); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - i1 = i4; - break L1; - } - case 110: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_121parse_unresolved_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 115: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_119parse_dot_star_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 116: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_114parse_dot_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 118: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49762, __ZNSt3__211char_traitsIcE6lengthEPKc(49762) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 86: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49764, __ZNSt3__211char_traitsIcE6lengthEPKc(49764) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - default: - break L1; - } - case 101: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 111: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49767, __ZNSt3__211char_traitsIcE6lengthEPKc(49767) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 79: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49769, __ZNSt3__211char_traitsIcE6lengthEPKc(49769) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 113: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49772, __ZNSt3__211char_traitsIcE6lengthEPKc(49772) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - default: - break L1; - } - case 103: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 101: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49775, __ZNSt3__211char_traitsIcE6lengthEPKc(49775) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 116: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49705, __ZNSt3__211char_traitsIcE6lengthEPKc(49705) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - default: - break L1; - } - case 105: - { - if ((HEAP8[i2 + 1 >> 0] | 0) != 120) break L1; - i12 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i12, i4, i13) | 0; - if ((i2 | 0) == (i12 | 0)) break L1; - i3 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i2, i4, i13) | 0; - i4 = i13 + 4 | 0; - if ((i3 | 0) == (i2 | 0)) { - i3 = HEAP32[i4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i19 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i19 * 24 | 0) | 0); - i2 = i19; - } - HEAP32[i4 >> 2] = i3 + -24; - break L1; - } - i2 = HEAP32[i4 >> 2] | 0; - if (((i2 - (HEAP32[i13 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i17, i2 + -24 | 0); - i2 = HEAP32[i4 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i13 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i13 * 24 | 0) | 0); - i1 = i13; - } - HEAP32[i4 >> 2] = i2 + -24; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i18, i2 + -48 | 0); - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i14, 49669, i18); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i14, 49778) | 0; - HEAP32[i16 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i16 + 4 >> 2] = HEAP32[i14 + 4 >> 2]; - HEAP32[i16 + 8 >> 2] = HEAP32[i14 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i14 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i17 + 11 >> 0] | 0; - i13 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i16, i13 ? HEAP32[i17 >> 2] | 0 : i17, i13 ? HEAP32[i17 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i15 >> 2] = HEAP32[i16 >> 2]; - HEAP32[i15 + 4 >> 2] = HEAP32[i16 + 4 >> 2]; - HEAP32[i15 + 8 >> 2] = HEAP32[i16 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i16 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i15, 49716) | 0; - HEAP32[i8 >> 2] = HEAP32[i15 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i15 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i15 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i15 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i19, i8); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i4 >> 2] | 0) + -24 | 0, i19); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i19); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i16); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i18); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = i3; - break L1; - } - case 108: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 101: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49781, __ZNSt3__211char_traitsIcE6lengthEPKc(49781) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 115: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49784, __ZNSt3__211char_traitsIcE6lengthEPKc(49784) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 83: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49787, __ZNSt3__211char_traitsIcE6lengthEPKc(49787) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 116: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49703, __ZNSt3__211char_traitsIcE6lengthEPKc(49703) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - default: - break L1; - } - case 109: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 105: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49791, __ZNSt3__211char_traitsIcE6lengthEPKc(49791) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 73: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49793, __ZNSt3__211char_traitsIcE6lengthEPKc(49793) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 108: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49687, __ZNSt3__211char_traitsIcE6lengthEPKc(49687) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 76: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49796, __ZNSt3__211char_traitsIcE6lengthEPKc(49796) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 109: - { - i2 = i1 + 2 | 0; - if ((i2 | 0) != (i4 | 0) ? (HEAP8[i2 >> 0] | 0) == 95 : 0) { - i18 = i1 + 3 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49799, __ZNSt3__211char_traitsIcE6lengthEPKc(49799) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_prefix_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - i4 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i2, i4, i13) | 0; - if ((i4 | 0) == (i2 | 0)) break L1; - i3 = i13 + 4 | 0; - i2 = HEAP32[i3 >> 2] | 0; - if ((HEAP32[i13 >> 2] | 0) == (i2 | 0)) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i19, i2 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i19, 0, 49669) | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i18 + 4 >> 2] = HEAP32[i19 + 4 >> 2]; - HEAP32[i18 + 8 >> 2] = HEAP32[i19 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i19 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i18, 49802) | 0; - HEAP32[i6 >> 2] = HEAP32[i18 >> 2]; - HEAP32[i6 + 4 >> 2] = HEAP32[i18 + 4 >> 2]; - HEAP32[i6 + 8 >> 2] = HEAP32[i18 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i18 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i17, i6); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i3 >> 2] | 0) + -24 | 0, i17); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i17); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i18); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i19); - i1 = i4; - break L1; - } - default: - break L1; - } - case 110: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 119: - case 97: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_114parse_new_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 101: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49806, __ZNSt3__211char_traitsIcE6lengthEPKc(49806) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 103: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49791, __ZNSt3__211char_traitsIcE6lengthEPKc(49791) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_prefix_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 116: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49809, __ZNSt3__211char_traitsIcE6lengthEPKc(49809) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_prefix_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 120: - { - i18 = i1 + 2 | 0; - i19 = __ZN10__cxxabiv112_GLOBAL__N_125parse_noexcept_expressionINS0_2DbEEEPKcS4_S4_RT_(i18, i4, i13) | 0; - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - default: - break L1; - } - case 111: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 110: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_121parse_unresolved_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 111: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49811, __ZNSt3__211char_traitsIcE6lengthEPKc(49811) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 114: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49814, __ZNSt3__211char_traitsIcE6lengthEPKc(49814) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 82: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49816, __ZNSt3__211char_traitsIcE6lengthEPKc(49816) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - default: - break L1; - } - case 112: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 109: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49819, __ZNSt3__211char_traitsIcE6lengthEPKc(49819) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 108: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49823, __ZNSt3__211char_traitsIcE6lengthEPKc(49823) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 76: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49825, __ZNSt3__211char_traitsIcE6lengthEPKc(49825) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 112: - { - i2 = i1 + 2 | 0; - if ((i2 | 0) != (i4 | 0) ? (HEAP8[i2 >> 0] | 0) == 95 : 0) { - i18 = i1 + 3 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49828, __ZNSt3__211char_traitsIcE6lengthEPKc(49828) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_prefix_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - i4 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i2, i4, i13) | 0; - if ((i4 | 0) == (i2 | 0)) break L1; - i3 = i13 + 4 | 0; - i2 = HEAP32[i3 >> 2] | 0; - if ((HEAP32[i13 >> 2] | 0) == (i2 | 0)) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i19, i2 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i19, 0, 49669) | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i18 + 4 >> 2] = HEAP32[i19 + 4 >> 2]; - HEAP32[i18 + 8 >> 2] = HEAP32[i19 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i19 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i18, 49831) | 0; - HEAP32[i7 >> 2] = HEAP32[i18 >> 2]; - HEAP32[i7 + 4 >> 2] = HEAP32[i18 + 4 >> 2]; - HEAP32[i7 + 8 >> 2] = HEAP32[i18 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i18 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i17, i7); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i3 >> 2] | 0) + -24 | 0, i17); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i17); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i18); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i19); - i1 = i4; - break L1; - } - case 115: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49823, __ZNSt3__211char_traitsIcE6lengthEPKc(49823) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_prefix_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 116: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_116parse_arrow_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - default: - break L1; - } - case 113: - { - if ((HEAP8[i2 + 1 >> 0] | 0) != 117) break L1; - i8 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i8, i4, i13) | 0; - if ((i2 | 0) == (i8 | 0)) break L1; - i3 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i2, i4, i13) | 0; - if ((i3 | 0) == (i2 | 0)) { - i3 = i13 + 4 | 0; - i4 = HEAP32[i3 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i19 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4 + (i19 * 24 | 0) | 0); - i2 = i19; - } - HEAP32[i3 >> 2] = i4 + -24; - break L1; - } - i4 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i3, i4, i13) | 0; - i5 = i13 + 4 | 0; - if ((i4 | 0) == (i3 | 0)) { - i4 = HEAP32[i5 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i19 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4 + (i19 * 24 | 0) | 0); - i2 = i19; - } - i3 = i4 + -24 | 0; - HEAP32[i5 >> 2] = i3; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i19 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i19 * 24 | 0) | 0); - i2 = i19; - } - HEAP32[i5 >> 2] = i4 + -48; - break L1; - } - i2 = HEAP32[i5 >> 2] | 0; - if (((i2 - (HEAP32[i13 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 3) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i17, i2 + -24 | 0); - i2 = HEAP32[i5 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i13 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i13 * 24 | 0) | 0); - i1 = i13; - } - HEAP32[i5 >> 2] = i2 + -24; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i18, i2 + -48 | 0); - i2 = HEAP32[i5 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i13 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i13 * 24 | 0) | 0); - i1 = i13; - } - HEAP32[i5 >> 2] = i2 + -24; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i19, i2 + -48 | 0); - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i12, 49669, i19); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i12, 49835) | 0; - HEAP32[i11 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i18 + 11 >> 0] | 0; - i13 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i11, i13 ? HEAP32[i18 >> 2] | 0 : i18, i13 ? HEAP32[i18 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i10, 49841) | 0; - HEAP32[i14 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i14 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i14 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i17 + 11 >> 0] | 0; - i13 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i14, i13 ? HEAP32[i17 >> 2] | 0 : i17, i13 ? HEAP32[i17 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i16 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i16 + 4 >> 2] = HEAP32[i14 + 4 >> 2]; - HEAP32[i16 + 8 >> 2] = HEAP32[i14 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i14 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i16, 49667) | 0; - HEAP32[i9 >> 2] = HEAP32[i16 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i16 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i16 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i16 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i15, i9); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i5 >> 2] | 0) + -24 | 0, i15); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i15); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i16); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i19); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i18); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = i4; - break L1; - } - case 114: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 99: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_127parse_reinterpret_cast_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 109: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49847, __ZNSt3__211char_traitsIcE6lengthEPKc(49847) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 77: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49849, __ZNSt3__211char_traitsIcE6lengthEPKc(49849) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 115: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49852, __ZNSt3__211char_traitsIcE6lengthEPKc(49852) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; - } - case 83: - { - i18 = i1 + 2 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49855, __ZNSt3__211char_traitsIcE6lengthEPKc(49855) | 0); - i19 = __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i18, i4, i17, i13) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = (i19 | 0) == (i18 | 0) ? i1 : i19; - break L1; +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________emplace_unique_key_args_int_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28int_20const__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $7 = __stack_pointer - 32 | 0; + __stack_pointer = $7; + $9 = std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______hash_function_28_29($1), $2); + $8 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______bucket_count_28_29_20const($1); + HEAP8[$7 + 31 | 0] = 0; + label$1: { + label$2: { + if (!$8) { + break label$2; + } + $10 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($9, $8); + $6 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10) >> 2]; + if (!$6) { + break label$2; + } + while (1) { + $6 = HEAP32[$6 >> 2]; + if (!$6) { + break label$2; } - default: - break L1; - } - case 115: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 99: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_122parse_static_cast_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 112: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_120parse_pack_expansionINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 114: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_121parse_unresolved_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 116: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_122parse_sizeof_type_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 122: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_122parse_sizeof_expr_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 90: - { - if ((i3 - i2 | 0) <= 2) break L1; - switch (HEAP8[i2 + 2 >> 0] | 0) { - case 84: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_128parse_sizeof_param_pack_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 102: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_137parse_sizeof_function_param_pack_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - default: - break L1; + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_28_29_20const($6) | 0) != ($9 | 0)) { + if ((std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_28_29_20const($6), $8) | 0) != ($10 | 0)) { + break label$2; } } - default: - break L1; - } - case 116: - switch (HEAP8[i2 + 1 >> 0] | 0) { - case 105: - case 101: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_117parse_typeid_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; - } - case 114: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm6EEERAT__Kc(i17, 49859); - i2 = i13 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i13 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i17); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i13, i17); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i17); - i1 = i1 + 2 | 0; - break L1; - } - case 119: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_116parse_throw_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; + if (!std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____20const__2c_20int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______key_eq_28_29($1), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________upcast_28_29($6) + 8 | 0, $2)) { + continue; } - default: - break L1; - } - case 57: - case 56: - case 55: - case 54: - case 53: - case 52: - case 51: - case 50: - case 49: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_121parse_unresolved_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - break L1; + break; } - default: - break L1; - } while (0); - } while (0); - STACKTOP = i20; - return i1 | 0; -} -function __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i16, i21) { - i1 = i1 | 0; - i16 = i16 | 0; - i21 = i21 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0; - i22 = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - i20 = i22 + 128 | 0; - i19 = i22 + 104 | 0; - i17 = i22 + 40 | 0; - i5 = i22 + 88 | 0; - i11 = i22 + 24 | 0; - i9 = i22 + 76 | 0; - i10 = i22 + 12 | 0; - i6 = i22; - i7 = i22 + 64 | 0; - L1 : do if ((i1 | 0) != (i16 | 0)) { - switch (HEAP8[i1 >> 0] | 0) { - case 75: - case 86: - case 114: - { - HEAP32[i20 >> 2] = 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_119parse_cv_qualifiersEPKcS2_Rj(i1, i16, i20) | 0; - L5 : do if ((i2 | 0) != (i1 | 0) ? (i13 = (HEAP8[i2 >> 0] | 0) == 70, i15 = i21 + 4 | 0, i8 = ((HEAP32[i15 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0, i14 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i2, i16, i21) | 0, i15 = ((HEAP32[i15 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0, (i14 | 0) != (i2 | 0)) : 0) { - i12 = i21 + 20 | 0; - i2 = HEAP32[i12 >> 2] | 0; - if (i13) { - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i18 = i1 + -1 | 0; - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i2 + (i18 << 4) | 0); - i1 = i18; - } - i2 = i2 + -16 | 0; - HEAP32[i12 >> 2] = i2; - } - i1 = HEAP32[i21 + 12 >> 2] | 0; - HEAP32[i19 >> 2] = i1; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = i1; - HEAP32[i12 >> 2] = (HEAP32[i12 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE24__emplace_back_slow_pathIJS5_EEEvDpOT_(i21 + 16 | 0, i19); - i11 = HEAP32[i20 >> 2] | 0; - i9 = (i11 & 1 | 0) == 0; - i10 = (i11 & 2 | 0) == 0; - i11 = (i11 & 4 | 0) == 0; - while (1) { - if (i8 >>> 0 >= i15 >>> 0) { - i1 = i14; - break L5; - } - if (i13) { - i3 = HEAP32[i21 >> 2] | 0; - i7 = i3 + (i8 * 24 | 0) + 12 | 0; - i4 = HEAP8[i7 + 11 >> 0] | 0; - i1 = i4 << 24 >> 24 < 0; - if (i1) { - i5 = HEAP32[i3 + (i8 * 24 | 0) + 16 >> 2] | 0; - i2 = HEAP32[i7 >> 2] | 0; - } else { - i5 = i4 & 255; - i2 = i7; - } - i6 = i5 + -2 | 0; - if ((HEAP8[i2 + i6 >> 0] | 0) == 38) i1 = i5 + -3 | 0; else { - if (i1) { - i2 = HEAP32[i7 >> 2] | 0; - i1 = HEAP32[i3 + (i8 * 24 | 0) + 16 >> 2] | 0; - } else { - i2 = i7; - i1 = i4 & 255; + break label$1; + } + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________construct_node_hash_std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28unsigned_20long_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($7 + 16 | 0, $1, $9, $3, $4, $5); + $6 = HEAP32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______size_28_29($1) >> 2]; + $2 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______max_load_factor_28_29($1); + if (!(Math_fround($6 + 1 >>> 0) > Math_fround(HEAPF32[$2 >> 2] * Math_fround($8 >>> 0)) ? 0 : $8)) { + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2____is_hash_power2_28unsigned_20long_29($8) ^ 1 | $8 << 1, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $11 = ceil_28float_29(Math_fround(Math_fround(HEAP32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______size_28_29($1) >> 2] + 1 >>> 0) / HEAPF32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______max_load_factor_28_29($1) >> 2])); + label$7: { + if ($11 < Math_fround(4294967296) & $11 >= Math_fround(0)) { + $6 = ~~$11 >>> 0; + break label$7; + } + $6 = 0; + } + HEAP32[$7 + 8 >> 2] = $6; + std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______rehash_28unsigned_20long_29($1, HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($7 + 12 | 0, $7 + 8 | 0) >> 2]); + $8 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______bucket_count_28_29_20const($1); + $10 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($9, $8); + } + $6 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10) >> 2]; + label$9: { + if (!$6) { + $6 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______first_28_29($1 + 8 | 0)); + $9 = HEAP32[$6 >> 2]; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($7 + 16 | 0), + wasm2js_i32$1 = $9, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $6, wasm2js_i32$1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________ptr_28_29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______get_28_29_20const($7 + 16 | 0)), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!HEAP32[std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($7 + 16 | 0) >> 2]) { + break label$9; + } + $6 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________ptr_28_29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______get_28_29_20const($7 + 16 | 0)); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_28_29_20const(HEAP32[std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($7 + 16 | 0) >> 2]), $8)), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$9; + } + $8 = HEAP32[$6 >> 2]; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($7 + 16 | 0), + wasm2js_i32$1 = $8, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $6, wasm2js_i32$1 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______get_28_29_20const($7 + 16 | 0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $6 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______release_28_29($7 + 16 | 0); + $1 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______size_28_29($1); + HEAP32[$1 >> 2] = HEAP32[$1 >> 2] + 1; + HEAP8[$7 + 31 | 0] = 1; + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________unique_ptr_28_29($7 + 16 | 0); + } + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20bool__2c_20_28void__290__28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20bool__29($0, std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($7 + 16 | 0, $6), $7 + 31 | 0); + __stack_pointer = $7 + 32 | 0; +} + +function start_pass($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + if (HEAP32[$0 + 36 >> 2] > 0) { + $11 = HEAP32[$0 + 472 >> 2]; + $8 = HEAP32[$0 + 216 >> 2]; + while (1) { + $4 = $3; + $7 = $2; + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + label$10: { + label$11: { + label$12: { + label$13: { + label$14: { + label$15: { + label$16: { + label$17: { + label$18: { + label$19: { + label$20: { + label$21: { + label$22: { + label$23: { + label$24: { + label$25: { + label$26: { + label$27: { + label$28: { + label$29: { + label$30: { + label$31: { + label$32: { + label$33: { + label$34: { + label$35: { + label$36: { + label$37: { + label$38: { + $5 = HEAP32[$8 + 36 >> 2]; + $1 = HEAP32[$8 + 40 >> 2] + ($5 << 8) | 0; + if (($1 | 0) <= 2051) { + if (($1 | 0) <= 1025) { + label$41: { + switch ($1 - 513 | 0) { + case 3: + break label$11; + + case 0: + break label$18; + + case 1: + break label$38; + + case 2: + break label$7; + + default: + break label$41; + } + } + $3 = 123; + $2 = 0; + label$42: { + switch ($1 - 257 | 0) { + case 1: + break label$10; + + case 0: + break label$3; + + default: + break label$42; + } + } + switch ($1 - 771 | 0) { + case 3: + break label$12; + + case 0: + break label$37; + + default: + break label$7; + } + } + if (($1 | 0) <= 1538) { + label$44: { + switch ($1 - 1026 | 0) { + case 6: + break label$13; + + case 0: + break label$19; + + case 2: + break label$36; + + case 1: + case 3: + case 4: + case 5: + break label$7; + + default: + break label$44; + } + } + switch ($1 - 1285 | 0) { + case 5: + break label$14; + + case 0: + break label$35; + + default: + break label$7; + } + } + label$45: { + switch ($1 - 1539 | 0) { + case 9: + break label$15; + + case 0: + break label$20; + + case 3: + break label$34; + + case 1: + case 2: + case 4: + case 5: + case 6: + case 7: + case 8: + break label$7; + + default: + break label$45; + } + } + switch ($1 - 1799 | 0) { + case 7: + break label$16; + + case 0: + break label$33; + + default: + break label$7; + } + } + if (($1 | 0) <= 3077) { + if (($1 | 0) <= 2564) { + switch ($1 - 2052 | 0) { + case 12: + break label$17; + + case 0: + break label$21; + + case 1: + case 2: + case 3: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + break label$7; + + case 4: + break label$9; + + default: + break label$8; + } + } + switch ($1 - 2565 | 0) { + case 0: + break label$22; + + case 5: + break label$32; + + case 1: + case 2: + case 3: + case 4: + break label$7; + + default: + break label$31; + } + } + if (($1 | 0) <= 3590) { + switch ($1 - 3078 | 0) { + case 0: + break label$23; + + case 6: + break label$30; + + case 1: + case 2: + case 3: + case 4: + case 5: + break label$7; + + default: + break label$29; + } + } + label$49: { + switch ($1 - 3591 | 0) { + case 0: + break label$24; + + case 7: + break label$28; + + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + break label$7; + + default: + break label$49; + } + } + switch ($1 - 4104 | 0) { + case 0: + break label$25; + + case 8: + break label$26; + + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + break label$7; + + default: + break label$27; + } + } + $3 = 124; + $2 = 0; + break label$3; + } + $3 = 125; + break label$3; + } + $3 = 126; + $2 = 0; + break label$3; + } + $3 = 127; + $2 = 0; + break label$3; + } + $3 = 128; + $2 = 0; + break label$3; + } + $3 = 129; + $2 = 0; + break label$3; + } + $3 = 130; + $2 = 0; + break label$3; + } + if (($1 | 0) != 2827) { + break label$7; + } + $3 = 131; + $2 = 0; + break label$3; + } + $3 = 132; + $2 = 0; + break label$3; + } + if (($1 | 0) != 3341) { + break label$7; + } + $3 = 133; + $2 = 0; + break label$3; + } + $3 = 134; + $2 = 0; + break label$3; + } + if (($1 | 0) != 3855) { + break label$7; + } + $3 = 135; + $2 = 0; + break label$3; + } + $3 = 136; + $2 = 0; + break label$3; + } + $3 = 137; + $2 = 0; + break label$3; + } + $3 = 138; + $2 = 0; + break label$3; + } + $3 = 139; + $2 = 0; + break label$3; + } + $3 = 140; + $2 = 0; + break label$3; + } + $3 = 141; + $2 = 0; + break label$3; + } + $3 = 142; + $2 = 0; + break label$3; + } + $3 = 143; + $2 = 0; + break label$3; + } + $3 = 144; + $2 = 0; + break label$3; + } + $3 = 145; + $2 = 0; + break label$3; + } + $3 = 146; + $2 = 0; + break label$3; + } + $3 = 147; + $2 = 0; + break label$3; + } + $3 = 148; + $2 = 0; + break label$3; + } + $3 = 149; + $2 = 0; + break label$3; + } + $3 = 150; + break label$3; + } + $3 = 151; + $2 = 0; + break label$3; + } + $3 = 152; + break label$3; + } + $2 = HEAP32[$0 + 72 >> 2]; + if ($2 >>> 0 < 3) { + break label$6; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 49; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + break label$5; + } + if (($1 | 0) == 2313) { + break label$4; } - i1 = (HEAP8[i2 + i1 + -1 >> 0] | 0) == 38 ? i6 : i5; - } - if (!i9) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i7, i1, 49614) | 0; - i1 = i1 + 6 | 0; - } - if (!i10) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc((HEAP32[i21 >> 2] | 0) + (i8 * 24 | 0) + 12 | 0, i1, 49621) | 0; - i1 = i1 + 9 | 0; } - if (!i11) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc((HEAP32[i21 >> 2] | 0) + (i8 * 24 | 0) + 12 | 0, i1, 49631) | 0; - } else { - if (!i9) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc((HEAP32[i21 >> 2] | 0) + (i8 * 24 | 0) | 0, 49614) | 0; - if (!i10) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc((HEAP32[i21 >> 2] | 0) + (i8 * 24 | 0) | 0, 49621) | 0; - if (!i11) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc((HEAP32[i21 >> 2] | 0) + (i8 * 24 | 0) | 0, 49631) | 0; + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $5; + HEAP32[$1 + 20 >> 2] = 7; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = HEAP32[$8 + 40 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + break label$5; } - i1 = HEAP32[i12 >> 2] | 0; - i2 = (HEAP32[i21 >> 2] | 0) + (i8 * 24 | 0) | 0; - i3 = i1 + -12 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i1 + -8 >> 2] | 0)) __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIRKS3_EEvOT_(i1 + -16 | 0, i2); else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i4, i2); - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 24; - } - i8 = i8 + 1 | 0; - } - } while (0); - break L1; - } - default: - {} - } - i2 = __ZN10__cxxabiv112_GLOBAL__N_118parse_builtin_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i16, i21) | 0; - if ((i2 | 0) == (i1 | 0)) { - L59 : do switch (HEAP8[i1 >> 0] | 0) { - case 65: - { - i3 = __ZN10__cxxabiv112_GLOBAL__N_116parse_array_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i16, i21) | 0; - if ((i3 | 0) == (i1 | 0)) break L1; - i2 = HEAP32[i21 + 4 >> 2] | 0; - if ((HEAP32[i21 >> 2] | 0) == (i2 | 0)) break L1; - HEAP32[i19 >> 2] = HEAP32[i21 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i20, i2 + -24 | 0, i19); - i1 = i21 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i19 = i2 + 4 | 0; - HEAP32[i19 >> 2] = 0; - i18 = i2 + 8 | 0; - HEAP32[i18 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i20 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i20 >> 2]; - i21 = i20 + 4 | 0; - HEAP32[i19 >> 2] = HEAP32[i21 >> 2]; - i19 = i20 + 8 | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i19 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i20 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i21 + 16 | 0, i20); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i20); - i1 = i3; - break L1; - } - case 67: - { - i18 = i1 + 1 | 0; - i4 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i18, i16, i21) | 0; - if ((i4 | 0) == (i18 | 0)) break L1; - i2 = i21 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((HEAP32[i21 >> 2] | 0) == (i3 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i3 + -24 | 0, 49641) | 0; - i1 = (HEAP32[i2 >> 2] | 0) + -24 | 0; - HEAP32[i19 >> 2] = HEAP32[i21 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i20, i1, i19); - i1 = i21 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i19 = i2 + 4 | 0; - HEAP32[i19 >> 2] = 0; - i18 = i2 + 8 | 0; - HEAP32[i18 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i20 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i20 >> 2]; - i21 = i20 + 4 | 0; - HEAP32[i19 >> 2] = HEAP32[i21 >> 2]; - i19 = i20 + 8 | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i19 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i20 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i21 + 16 | 0, i20); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i20); - i1 = i4; - break L1; - } - case 70: - { - i3 = __ZN10__cxxabiv112_GLOBAL__N_119parse_function_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i16, i21) | 0; - if ((i3 | 0) == (i1 | 0)) break L1; - i2 = HEAP32[i21 + 4 >> 2] | 0; - if ((HEAP32[i21 >> 2] | 0) == (i2 | 0)) break L1; - HEAP32[i19 >> 2] = HEAP32[i21 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i20, i2 + -24 | 0, i19); - i1 = i21 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i19 = i2 + 4 | 0; - HEAP32[i19 >> 2] = 0; - i18 = i2 + 8 | 0; - HEAP32[i18 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i20 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i20 >> 2]; - i21 = i20 + 4 | 0; - HEAP32[i19 >> 2] = HEAP32[i21 >> 2]; - i19 = i20 + 8 | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i19 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i20 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i21 + 16 | 0, i20); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i20); - i1 = i3; - break L1; - } - case 71: - { - i18 = i1 + 1 | 0; - i4 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i18, i16, i21) | 0; - if ((i4 | 0) == (i18 | 0)) break L1; - i2 = i21 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((HEAP32[i21 >> 2] | 0) == (i3 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i3 + -24 | 0, 49650) | 0; - i1 = (HEAP32[i2 >> 2] | 0) + -24 | 0; - HEAP32[i19 >> 2] = HEAP32[i21 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i20, i1, i19); - i1 = i21 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i19 = i2 + 4 | 0; - HEAP32[i19 >> 2] = 0; - i18 = i2 + 8 | 0; - HEAP32[i18 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i20 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i20 >> 2]; - i21 = i20 + 4 | 0; - HEAP32[i19 >> 2] = HEAP32[i21 >> 2]; - i19 = i20 + 8 | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i19 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i20 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i21 + 16 | 0, i20); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i20); - i1 = i4; - break L1; - } - case 77: - { - i3 = __ZN10__cxxabiv112_GLOBAL__N_128parse_pointer_to_member_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i16, i21) | 0; - if ((i3 | 0) == (i1 | 0)) break L1; - i2 = HEAP32[i21 + 4 >> 2] | 0; - if ((HEAP32[i21 >> 2] | 0) == (i2 | 0)) break L1; - HEAP32[i19 >> 2] = HEAP32[i21 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i20, i2 + -24 | 0, i19); - i1 = i21 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i19 = i2 + 4 | 0; - HEAP32[i19 >> 2] = 0; - i18 = i2 + 8 | 0; - HEAP32[i18 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i20 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i20 >> 2]; - i21 = i20 + 4 | 0; - HEAP32[i19 >> 2] = HEAP32[i21 >> 2]; - i19 = i20 + 8 | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i19 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i20 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i21 + 16 | 0, i20); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i20); - i1 = i3; - break L1; - } - case 79: - { - i10 = i21 + 4 | 0; - i3 = ((HEAP32[i10 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0; - i19 = i1 + 1 | 0; - i9 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i19, i16, i21) | 0; - i10 = ((HEAP32[i10 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0; - if ((i9 | 0) == (i19 | 0)) break L1; - i1 = HEAP32[i21 + 12 >> 2] | 0; - HEAP32[i20 >> 2] = i1; - i8 = i21 + 20 | 0; - i2 = HEAP32[i8 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = i1; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE24__emplace_back_slow_pathIJS5_EEEvDpOT_(i21 + 16 | 0, i20); - i6 = i20 + 11 | 0; - i7 = i20 + 4 | 0; - while (1) { - if (i3 >>> 0 >= i10 >>> 0) { - i1 = i9; - break L1; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_mmRKS6_(i20, (HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) + 12 | 0, 2); - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(49661) | 0; - i19 = HEAP8[i6 >> 0] | 0; - if ((i1 | 0) == ((i19 << 24 >> 24 < 0 ? HEAP32[i7 >> 2] | 0 : i19 & 255) | 0)) i1 = (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i20, 49661, i1) | 0) == 0; else i1 = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i20); - i2 = HEAP32[i21 >> 2] | 0; - i4 = i2 + (i3 * 24 | 0) | 0; - if (!i1) { - i1 = i2 + (i3 * 24 | 0) + 12 | 0; - if ((HEAP8[i1 + 11 >> 0] | 0) < 0) i1 = HEAP32[i1 >> 2] | 0; - if ((HEAP8[i1 >> 0] | 0) == 40) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i4, 49669) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc((HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) + 12 | 0, 0, 49667) | 0; - } - } else { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i4, 49664) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc((HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) + 12 | 0, 0, 49667) | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc((HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) | 0, 49671) | 0; - i1 = HEAP32[i8 >> 2] | 0; - i2 = (HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) | 0; - i4 = i1 + -12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - if ((i5 | 0) == (HEAP32[i1 + -8 >> 2] | 0)) __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIRKS3_EEvOT_(i1 + -16 | 0, i2); else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i5, i2); - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 24; - } - i3 = i3 + 1 | 0; - } - } - case 80: - { - i12 = i21 + 4 | 0; - i3 = ((HEAP32[i12 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0; - i13 = i1 + 1 | 0; - i11 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i13, i16, i21) | 0; - i12 = ((HEAP32[i12 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0; - if ((i11 | 0) == (i13 | 0)) break L1; - i1 = HEAP32[i21 + 12 >> 2] | 0; - HEAP32[i20 >> 2] = i1; - i10 = i21 + 20 | 0; - i2 = HEAP32[i10 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = i1; - HEAP32[i10 >> 2] = (HEAP32[i10 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE24__emplace_back_slow_pathIJS5_EEEvDpOT_(i21 + 16 | 0, i20); - i6 = i20 + 11 | 0; - i7 = i20 + 4 | 0; - i8 = i20 + 11 | 0; - i9 = i20 + 4 | 0; - while (1) { - if (i3 >>> 0 >= i12 >>> 0) { - i1 = i11; - break L1; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_mmRKS6_(i20, (HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) + 12 | 0, 2); - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(49661) | 0; - i19 = HEAP8[i6 >> 0] | 0; - if ((i1 | 0) == ((i19 << 24 >> 24 < 0 ? HEAP32[i7 >> 2] | 0 : i19 & 255) | 0)) i1 = (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i20, 49661, i1) | 0) == 0; else i1 = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i20); - i2 = HEAP32[i21 >> 2] | 0; - i4 = i2 + (i3 * 24 | 0) | 0; - if (!i1) { - i1 = i2 + (i3 * 24 | 0) + 12 | 0; - if ((HEAP8[i1 + 11 >> 0] | 0) < 0) i1 = HEAP32[i1 >> 2] | 0; - if ((HEAP8[i1 >> 0] | 0) == 40) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i4, 49669) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc((HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) + 12 | 0, 0, 49667) | 0; + $3 = HEAP32[($2 << 2) + 41200 >> 2]; + break label$3; + } + $3 = $4; + $2 = $7; + break label$3; + } + $3 = 153; + $2 = 0; + } + $1 = ($10 << 2) + $11 | 0; + HEAP32[$1 + 4 >> 2] = $3; + label$50: { + if (!HEAP32[$8 + 52 >> 2]) { + break label$50; + } + $4 = $1 + 44 | 0; + if (HEAP32[$4 >> 2] == ($2 | 0)) { + break label$50; + } + $4 = $1; + $1 = HEAP32[$8 + 80 >> 2]; + if (!$1) { + break label$50; + } + HEAP32[$4 + 44 >> 2] = $2; + label$51: { + switch ($2 | 0) { + case 0: + $7 = HEAP32[$8 + 84 >> 2]; + $4 = 0; + while (1) { + HEAP32[($4 << 2) + $7 >> 2] = HEAPU16[($4 << 1) + $1 >> 1]; + $5 = $4 | 1; + HEAP32[($5 << 2) + $7 >> 2] = HEAPU16[($5 << 1) + $1 >> 1]; + $5 = $4 | 2; + HEAP32[($5 << 2) + $7 >> 2] = HEAPU16[($5 << 1) + $1 >> 1]; + $5 = $4 | 3; + HEAP32[($5 << 2) + $7 >> 2] = HEAPU16[($5 << 1) + $1 >> 1]; + $4 = $4 + 4 | 0; + if (($4 | 0) != 64) { + continue; } - } else { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i4, 49664) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc((HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) + 12 | 0, 0, 49667) | 0; - } - if ((HEAP8[i13 >> 0] | 0) == 85) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_mmRKS6_(i20, (HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) | 0, 12); - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(49674) | 0; - i19 = HEAP8[i8 >> 0] | 0; - if ((i1 | 0) == ((i19 << 24 >> 24 < 0 ? HEAP32[i9 >> 2] | 0 : i19 & 255) | 0)) i2 = (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i20, 49674, i1) | 0) != 0; else i2 = 1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i20); - i1 = (HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) | 0; - if (i2) i18 = 113; else __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7replaceEmmPKc(i1); - } else { - i1 = (HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) | 0; - i18 = 113; - } - if ((i18 | 0) == 113) { - i18 = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i1, 49687) | 0; - } - i1 = HEAP32[i10 >> 2] | 0; - i2 = (HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) | 0; - i4 = i1 + -12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - if ((i5 | 0) == (HEAP32[i1 + -8 >> 2] | 0)) __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIRKS3_EEvOT_(i1 + -16 | 0, i2); else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i5, i2); - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 24; - } - i3 = i3 + 1 | 0; - } - } - case 82: - { - i10 = i21 + 4 | 0; - i3 = ((HEAP32[i10 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0; - i19 = i1 + 1 | 0; - i9 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i19, i16, i21) | 0; - i10 = ((HEAP32[i10 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0; - if ((i9 | 0) == (i19 | 0)) break L1; - i1 = HEAP32[i21 + 12 >> 2] | 0; - HEAP32[i20 >> 2] = i1; - i8 = i21 + 20 | 0; - i2 = HEAP32[i8 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = i1; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE24__emplace_back_slow_pathIJS5_EEEvDpOT_(i21 + 16 | 0, i20); - i6 = i20 + 11 | 0; - i7 = i20 + 4 | 0; - while (1) { - if (i3 >>> 0 >= i10 >>> 0) { - i1 = i9; - break L1; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_mmRKS6_(i20, (HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) + 12 | 0, 2); - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(49661) | 0; - i19 = HEAP8[i6 >> 0] | 0; - if ((i1 | 0) == ((i19 << 24 >> 24 < 0 ? HEAP32[i7 >> 2] | 0 : i19 & 255) | 0)) i1 = (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i20, 49661, i1) | 0) == 0; else i1 = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i20); - i2 = HEAP32[i21 >> 2] | 0; - i4 = i2 + (i3 * 24 | 0) | 0; - if (!i1) { - i1 = i2 + (i3 * 24 | 0) + 12 | 0; - if ((HEAP8[i1 + 11 >> 0] | 0) < 0) i1 = HEAP32[i1 >> 2] | 0; - if ((HEAP8[i1 >> 0] | 0) == 40) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i4, 49669) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc((HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) + 12 | 0, 0, 49667) | 0; + break; + } + ; + break label$50; + + case 1: + $7 = HEAP32[$8 + 84 >> 2]; + $4 = 0; + while (1) { + $5 = $4 << 1; + HEAP32[($4 << 2) + $7 >> 2] = Math_imul(HEAP16[$5 + 41008 >> 1], HEAPU16[$1 + $5 >> 1]) + 2048 >> 12; + $5 = $4 | 1; + $6 = ($5 << 2) + $7 | 0; + $5 = $5 << 1; + HEAP32[$6 >> 2] = Math_imul(HEAP16[$5 + 41008 >> 1], HEAPU16[$1 + $5 >> 1]) + 2048 >> 12; + $4 = $4 + 2 | 0; + if (($4 | 0) != 64) { + continue; } - } else { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i4, 49664) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc((HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) + 12 | 0, 0, 49667) | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc((HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) | 0, 49689) | 0; - i1 = HEAP32[i8 >> 2] | 0; - i2 = (HEAP32[i21 >> 2] | 0) + (i3 * 24 | 0) | 0; - i4 = i1 + -12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - if ((i5 | 0) == (HEAP32[i1 + -8 >> 2] | 0)) __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIRKS3_EEvOT_(i1 + -16 | 0, i2); else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i5, i2); - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 24; - } - i3 = i3 + 1 | 0; - } - } - case 84: - { - i10 = i21 + 4 | 0; - i6 = ((HEAP32[i10 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0; - i8 = __ZN10__cxxabiv112_GLOBAL__N_120parse_template_paramINS0_2DbEEEPKcS4_S4_RT_(i1, i16, i21) | 0; - i7 = ((HEAP32[i10 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0; - if ((i8 | 0) == (i1 | 0)) break L1; - i11 = i21 + 16 | 0; - i9 = i21 + 12 | 0; - i1 = HEAP32[i9 >> 2] | 0; - HEAP32[i20 >> 2] = i1; - i12 = i21 + 20 | 0; - i2 = HEAP32[i12 >> 2] | 0; - i13 = i21 + 24 | 0; - if (i2 >>> 0 < (HEAP32[i13 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = i1; - HEAP32[i12 >> 2] = (HEAP32[i12 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE24__emplace_back_slow_pathIJS5_EEEvDpOT_(i11, i20); - i1 = i6; - while (1) { - if (i1 >>> 0 >= i7 >>> 0) break; - i2 = HEAP32[i12 >> 2] | 0; - i3 = (HEAP32[i21 >> 2] | 0) + (i1 * 24 | 0) | 0; - i4 = i2 + -12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - if ((i5 | 0) == (HEAP32[i2 + -8 >> 2] | 0)) __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIRKS3_EEvOT_(i2 + -16 | 0, i3); else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i5, i3); - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 24; - } - i1 = i1 + 1 | 0; - } - if (!((i7 | 0) == (i6 + 1 | 0) & (HEAP8[i21 + 63 >> 0] | 0) != 0)) { - i1 = i8; - break L1; - } - i1 = __ZN10__cxxabiv112_GLOBAL__N_119parse_template_argsINS0_2DbEEEPKcS4_S4_RT_(i8, i16, i21) | 0; - if ((i1 | 0) == (i8 | 0)) { - i1 = i8; - break L1; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i20, (HEAP32[i10 >> 2] | 0) + -24 | 0); - i3 = HEAP32[i10 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i21 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i21 * 24 | 0) | 0); - i2 = i21; - } - HEAP32[i10 >> 2] = i3 + -24; - i2 = HEAP8[i20 + 11 >> 0] | 0; - i21 = i2 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i3 + -48 | 0, i21 ? HEAP32[i20 >> 2] | 0 : i20, i21 ? HEAP32[i20 + 4 >> 2] | 0 : i2 & 255) | 0; - i2 = (HEAP32[i10 >> 2] | 0) + -24 | 0; - HEAP32[i17 >> 2] = HEAP32[i9 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i19, i2, i17); - i2 = HEAP32[i12 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i13 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i18 = i2 + 4 | 0; - HEAP32[i18 >> 2] = 0; - i17 = i2 + 8 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i19 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i19 >> 2]; - i21 = i19 + 4 | 0; - HEAP32[i18 >> 2] = HEAP32[i21 >> 2]; - i18 = i19 + 8 | 0; - HEAP32[i17 >> 2] = HEAP32[i18 >> 2]; - HEAP32[i18 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i19 >> 2] = 0; - HEAP32[i12 >> 2] = (HEAP32[i12 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i11, i19); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i19); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i20); - break L1; - } - case 85: - { - i2 = i1 + 1 | 0; - if ((i2 | 0) == (i16 | 0)) break L1; - i3 = __ZN10__cxxabiv112_GLOBAL__N_117parse_source_nameINS0_2DbEEEPKcS4_S4_RT_(i2, i16, i21) | 0; - if ((i3 | 0) == (i2 | 0)) break L1; - i4 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i3, i16, i21) | 0; - if ((i4 | 0) == (i3 | 0)) break L1; - i3 = i21 + 4 | 0; - i2 = HEAP32[i3 >> 2] | 0; - if (((i2 - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i20, i2 + -24 | 0); - i2 = HEAP32[i3 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i16 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i16 * 24 | 0) | 0); - i1 = i16; - } - HEAP32[i3 >> 2] = i2 + -24; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_mmRKS6_(i19, i2 + -48 | 0, 9); - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(49691) | 0; - i16 = HEAP8[i19 + 11 >> 0] | 0; - if ((i1 | 0) == ((i16 << 24 >> 24 < 0 ? HEAP32[i19 + 4 >> 2] | 0 : i16 & 255) | 0)) { - i16 = (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i19, 49691, i1) | 0) == 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i19); - if (i16) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i19, (HEAP32[i3 >> 2] | 0) + -24 | 0); - i2 = HEAP32[i3 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i16 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i16 * 24 | 0) | 0); - i1 = i16; - } - HEAP32[i3 >> 2] = i2 + -24; - i1 = i19 + 11 | 0; - i16 = HEAP8[i1 >> 0] | 0; - i15 = i16 << 24 >> 24 < 0; - i2 = i19 + 4 | 0; - i14 = i15 ? HEAP32[i19 >> 2] | 0 : i19; - i16 = __ZN10__cxxabiv112_GLOBAL__N_117parse_source_nameINS0_2DbEEEPKcS4_S4_RT_(i14 + 9 | 0, i14 + (i15 ? HEAP32[i2 >> 2] | 0 : i16 & 255) | 0, i21) | 0; - if ((i16 | 0) == (((HEAP8[i1 >> 0] | 0) < 0 ? HEAP32[i19 >> 2] | 0 : i19) + 9 | 0)) { - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EERKSB_PKS8_(i11, i20, 49701); - i1 = HEAP8[i1 >> 0] | 0; - i16 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i11, i16 ? HEAP32[i19 >> 2] | 0 : i19, i16 ? HEAP32[i2 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i7 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i7 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i7 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i17, i7); - i1 = HEAP32[i3 >> 2] | 0; - if (i1 >>> 0 < (HEAP32[i21 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i1, i17); - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i21, i17); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i17); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - } else { - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EERKSB_PKS8_(i10, i20, 49703); - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i6, (HEAP32[i3 >> 2] | 0) + -24 | 0); - i1 = HEAP8[i6 + 11 >> 0] | 0; - i16 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i10, i16 ? HEAP32[i6 >> 2] | 0 : i6, i16 ? HEAP32[i6 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i11 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i11, 49705) | 0; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i17, i9); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i3 >> 2] | 0) + -24 | 0, i17); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i17); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i19); - } else i18 = 167; - } else { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i19); - i18 = 167; - } - if ((i18 | 0) == 167) { - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EERKSB_PKS8_(i17, i20, 49701); - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i11, (HEAP32[i3 >> 2] | 0) + -24 | 0); - i1 = HEAP8[i11 + 11 >> 0] | 0; - i18 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i17, i18 ? HEAP32[i11 >> 2] | 0 : i11, i18 ? HEAP32[i11 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i5 >> 2] = HEAP32[i17 >> 2]; - HEAP32[i5 + 4 >> 2] = HEAP32[i17 + 4 >> 2]; - HEAP32[i5 + 8 >> 2] = HEAP32[i17 + 8 >> 2]; - i1 = 0; + break; + } + ; + break label$50; + + case 2: + $7 = HEAP32[$8 + 84 >> 2]; + $5 = 0; + $4 = 0; while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i17 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i19, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i3 >> 2] | 0) + -24 | 0, i19); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i19); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i5); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - } - i1 = (HEAP32[i3 >> 2] | 0) + -24 | 0; - HEAP32[i17 >> 2] = HEAP32[i21 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i19, i1, i17); - i1 = i21 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i18 = i2 + 4 | 0; - HEAP32[i18 >> 2] = 0; - i17 = i2 + 8 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i19 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i19 >> 2]; - i21 = i19 + 4 | 0; - HEAP32[i18 >> 2] = HEAP32[i21 >> 2]; - i18 = i19 + 8 | 0; - HEAP32[i17 >> 2] = HEAP32[i18 >> 2]; - HEAP32[i18 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i19 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i21 + 16 | 0, i19); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i19); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i20); - i1 = i4; - break L1; - } - case 83: - { - i18 = i1 + 1 | 0; - if ((i18 | 0) != (i16 | 0) ? (HEAP8[i18 >> 0] | 0) == 116 : 0) { - i3 = __ZN10__cxxabiv112_GLOBAL__N_110parse_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i16, i21) | 0; - if ((i3 | 0) == (i1 | 0)) break L1; - i2 = HEAP32[i21 + 4 >> 2] | 0; - if ((HEAP32[i21 >> 2] | 0) == (i2 | 0)) break L1; - HEAP32[i19 >> 2] = HEAP32[i21 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i20, i2 + -24 | 0, i19); - i1 = i21 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i19 = i2 + 4 | 0; - HEAP32[i19 >> 2] = 0; - i18 = i2 + 8 | 0; - HEAP32[i18 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i20 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i20 >> 2]; - i21 = i20 + 4 | 0; - HEAP32[i19 >> 2] = HEAP32[i21 >> 2]; - i19 = i20 + 8 | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i19 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i20 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i21 + 16 | 0, i20); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i20); - i1 = i3; - break L1; - } - i3 = __ZN10__cxxabiv112_GLOBAL__N_118parse_substitutionINS0_2DbEEEPKcS4_S4_RT_(i1, i16, i21) | 0; - if ((i3 | 0) == (i1 | 0)) break L1; - i1 = __ZN10__cxxabiv112_GLOBAL__N_119parse_template_argsINS0_2DbEEEPKcS4_S4_RT_(i3, i16, i21) | 0; - if ((i1 | 0) == (i3 | 0)) { - i1 = i3; - break L1; - } - i4 = i21 + 4 | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (((i2 - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) { - i1 = i3; - break L1; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i20, i2 + -24 | 0); - i3 = HEAP32[i4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i18 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i18 * 24 | 0) | 0); - i2 = i18; - } - HEAP32[i4 >> 2] = i3 + -24; - i2 = HEAP8[i20 + 11 >> 0] | 0; - i18 = i2 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i3 + -48 | 0, i18 ? HEAP32[i20 >> 2] | 0 : i20, i18 ? HEAP32[i20 + 4 >> 2] | 0 : i2 & 255) | 0; - i2 = (HEAP32[i4 >> 2] | 0) + -24 | 0; - HEAP32[i17 >> 2] = HEAP32[i21 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i19, i2, i17); - i2 = i21 + 20 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i3 >> 2] = 0; - i18 = i3 + 4 | 0; - HEAP32[i18 >> 2] = 0; - i17 = i3 + 8 | 0; - HEAP32[i17 >> 2] = 0; - HEAP32[i3 + 12 >> 2] = HEAP32[i19 + 12 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i19 >> 2]; - i21 = i19 + 4 | 0; - HEAP32[i18 >> 2] = HEAP32[i21 >> 2]; - i18 = i19 + 8 | 0; - HEAP32[i17 >> 2] = HEAP32[i18 >> 2]; - HEAP32[i18 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i19 >> 2] = 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i21 + 16 | 0, i19); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i19); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i20); - break L1; - } - case 68: - { - i2 = i1 + 1 | 0; - if ((i2 | 0) != (i16 | 0)) switch (HEAP8[i2 >> 0] | 0) { - case 112: - { - i8 = i21 + 4 | 0; - i3 = ((HEAP32[i8 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0; - i18 = i1 + 2 | 0; - i7 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i18, i16, i21) | 0; - i8 = ((HEAP32[i8 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) | 0) / 24 | 0; - if ((i7 | 0) == (i18 | 0)) break L59; - i1 = HEAP32[i21 + 12 >> 2] | 0; - HEAP32[i20 >> 2] = i1; - i6 = i21 + 20 | 0; - i2 = HEAP32[i6 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = i1; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE24__emplace_back_slow_pathIJS5_EEEvDpOT_(i21 + 16 | 0, i20); - i1 = i3; - while (1) { - if (i1 >>> 0 >= i8 >>> 0) { - i1 = i7; - break L1; - } - i2 = HEAP32[i6 >> 2] | 0; - i3 = (HEAP32[i21 >> 2] | 0) + (i1 * 24 | 0) | 0; - i4 = i2 + -12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - if ((i5 | 0) == (HEAP32[i2 + -8 >> 2] | 0)) __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIRKS3_EEvOT_(i2 + -16 | 0, i3); else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i5, i3); - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 24; - } - i1 = i1 + 1 | 0; - } - } - case 84: - case 116: - { - i3 = __ZN10__cxxabiv112_GLOBAL__N_114parse_decltypeINS0_2DbEEEPKcS4_S4_RT_(i1, i16, i21) | 0; - if ((i3 | 0) == (i1 | 0)) break L59; - i2 = HEAP32[i21 + 4 >> 2] | 0; - if ((HEAP32[i21 >> 2] | 0) == (i2 | 0)) break L1; - HEAP32[i19 >> 2] = HEAP32[i21 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i20, i2 + -24 | 0, i19); - i1 = i21 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i19 = i2 + 4 | 0; - HEAP32[i19 >> 2] = 0; - i18 = i2 + 8 | 0; - HEAP32[i18 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i20 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i20 >> 2]; - i21 = i20 + 4 | 0; - HEAP32[i19 >> 2] = HEAP32[i21 >> 2]; - i19 = i20 + 8 | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i19 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i20 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i21 + 16 | 0, i20); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i20); - i1 = i3; - break L1; - } - case 118: - { - i3 = __ZN10__cxxabiv112_GLOBAL__N_117parse_vector_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i16, i21) | 0; - if ((i3 | 0) == (i1 | 0)) break L59; - i2 = HEAP32[i21 + 4 >> 2] | 0; - if ((HEAP32[i21 >> 2] | 0) == (i2 | 0)) break L1; - HEAP32[i19 >> 2] = HEAP32[i21 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i20, i2 + -24 | 0, i19); - i1 = i21 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i19 = i2 + 4 | 0; - HEAP32[i19 >> 2] = 0; - i18 = i2 + 8 | 0; - HEAP32[i18 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i20 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i20 >> 2]; - i21 = i20 + 4 | 0; - HEAP32[i19 >> 2] = HEAP32[i21 >> 2]; - i19 = i20 + 8 | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i19 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i20 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i21 + 16 | 0, i20); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i20); - i1 = i3; - break L1; + $9 = HEAPF64[($5 << 3) + 41136 >> 3]; + HEAPF32[($4 << 2) + $7 >> 2] = $9 * +HEAPU16[($4 << 1) + $1 >> 1] * .125; + $6 = $4 | 1; + HEAPF32[($6 << 2) + $7 >> 2] = $9 * +HEAPU16[($6 << 1) + $1 >> 1] * 1.387039845 * .125; + $6 = $4 | 2; + HEAPF32[($6 << 2) + $7 >> 2] = $9 * +HEAPU16[($6 << 1) + $1 >> 1] * 1.306562965 * .125; + $6 = $4 | 3; + HEAPF32[($6 << 2) + $7 >> 2] = $9 * +HEAPU16[($6 << 1) + $1 >> 1] * 1.175875602 * .125; + $6 = $4 | 4; + HEAPF32[($6 << 2) + $7 >> 2] = $9 * +HEAPU16[($6 << 1) + $1 >> 1] * .125; + $6 = $4 | 5; + HEAPF32[($6 << 2) + $7 >> 2] = $9 * +HEAPU16[($6 << 1) + $1 >> 1] * .785694958 * .125; + $6 = $4 | 6; + HEAPF32[($6 << 2) + $7 >> 2] = $9 * +HEAPU16[($6 << 1) + $1 >> 1] * .5411961 * .125; + $6 = $4 | 7; + HEAPF32[($6 << 2) + $7 >> 2] = $9 * +HEAPU16[($6 << 1) + $1 >> 1] * .275899379 * .125; + $4 = $4 + 8 | 0; + $5 = $5 + 1 | 0; + if (($5 | 0) != 8) { + continue; + } + break; } + ; + break label$50; + default: - break L59; + break label$51; } - break; } - default: - {} - } while (0); - i2 = __ZN10__cxxabiv112_GLOBAL__N_118parse_builtin_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i16, i21) | 0; - if ((i2 | 0) == (i1 | 0)) { - i3 = __ZN10__cxxabiv112_GLOBAL__N_110parse_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i16, i21) | 0; - if ((i3 | 0) != (i1 | 0) ? (i4 = HEAP32[i21 + 4 >> 2] | 0, (HEAP32[i21 >> 2] | 0) != (i4 | 0)) : 0) { - HEAP32[i19 >> 2] = HEAP32[i21 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i20, i4 + -24 | 0, i19); - i1 = i21 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i19 = i2 + 4 | 0; - HEAP32[i19 >> 2] = 0; - i18 = i2 + 8 | 0; - HEAP32[i18 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i20 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i20 >> 2]; - i21 = i20 + 4 | 0; - HEAP32[i19 >> 2] = HEAP32[i21 >> 2]; - i19 = i20 + 8 | 0; - HEAP32[i18 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i19 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i20 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i21 + 16 | 0, i20); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i20); - i1 = i3; - } - } else i1 = i2; - } else i1 = i2; - } while (0); - STACKTOP = i22; - return i1 | 0; -} - -function _arPattGetImage2(i22, i8, i31, i6, i32, i33, i34, i17, i35, i4, d7, i36) { - i22 = i22 | 0; - i8 = i8 | 0; - i31 = i31 | 0; - i6 = i6 | 0; - i32 = i32 | 0; - i33 = i33 | 0; - i34 = i34 | 0; - i17 = i17 | 0; - i35 = i35 | 0; - i4 = i4 | 0; - d7 = +d7; - i36 = i36 | 0; - var i1 = 0, i2 = 0, i3 = 0, d5 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, d23 = 0.0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i37 = 0, i38 = 0, d39 = 0.0, d40 = 0.0, d41 = 0.0, d42 = 0.0, i43 = 0, i44 = 0; - i38 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - i14 = i38 + 232 | 0; - i13 = i38 + 224 | 0; - i16 = i38 + 216 | 0; - i15 = i38 + 208 | 0; - i2 = i38 + 144 | 0; - i3 = i38 + 80 | 0; - i28 = i38; - i29 = i38 + 240 | 0; - i30 = i38 + 236 | 0; - HEAPF64[i2 >> 3] = 100.0; - HEAPF64[i2 + 8 >> 3] = 100.0; - HEAPF64[i2 + 16 >> 3] = 110.0; - HEAPF64[i2 + 24 >> 3] = 100.0; - HEAPF64[i2 + 32 >> 3] = 110.0; - HEAPF64[i2 + 40 >> 3] = 110.0; - HEAPF64[i2 + 48 >> 3] = 100.0; - HEAPF64[i2 + 56 >> 3] = 110.0; - i1 = 0; + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 49; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + $8 = $8 + 88 | 0; + $10 = $10 + 1 | 0; + if (($10 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; + } + break; + } + } +} + +function void_20std____2____nth_element_std____2__greater_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2, $3) { + var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer + -64 | 0; + __stack_pointer = $4; + HEAP32[$4 + 48 >> 2] = $1; + HEAP32[$4 + 56 >> 2] = $0; + HEAP32[$4 + 40 >> 2] = $2; while (1) { - if ((i1 | 0) == 4) break; - HEAPF64[i3 + (i1 << 4) >> 3] = +HEAPF64[i4 + (i1 << 4) >> 3]; - HEAPF64[i3 + (i1 << 4) + 8 >> 3] = +HEAPF64[i4 + (i1 << 4) + 8 >> 3]; - i1 = i1 + 1 | 0; - } - _get_cpara(i2, i3, i28); - d12 = +HEAPF64[i3 >> 3]; - d40 = +HEAPF64[i3 + 16 >> 3]; - d10 = d12 - d40; - d23 = +HEAPF64[i3 + 8 >> 3]; - d39 = +HEAPF64[i3 + 24 >> 3]; - d5 = d23 - d39; - i1 = ~~(d10 * d10 + d5 * d5); - d5 = +HEAPF64[i3 + 32 >> 3]; - d10 = +HEAPF64[i3 + 48 >> 3]; - d42 = d5 - d10; - d9 = +HEAPF64[i3 + 40 >> 3]; - d11 = +HEAPF64[i3 + 56 >> 3]; - d41 = d9 - d11; - i26 = ~~(d42 * d42 + d41 * d41); - d5 = d40 - d5; - d9 = d39 - d9; - i3 = ~~(d5 * d5 + d9 * d9); - d12 = d10 - d12; - d23 = d11 - d23; - i27 = ~~(d12 * d12 + d23 * d23); - i1 = ~~(+(((i26 | 0) > (i1 | 0) ? i26 : i1) | 0) * d7 * d7); - i3 = ~~(+(((i27 | 0) > (i3 | 0) ? i27 : i3) | 0) * d7 * d7); - if (!i22) { - i2 = i31; - while (1) if ((i2 | 0) < (i6 | 0) & (Math_imul(i2, i2) | 0) < (i1 | 0)) i2 = i2 << 1; else break; - i1 = i31; - while (1) if ((i1 | 0) < (i6 | 0) & (Math_imul(i1, i1) | 0) < (i3 | 0)) i1 = i1 << 1; else break; - } else { - i2 = i31; - while (1) if ((i2 | 0) < (i6 | 0) & (Math_imul(i2 << 2, i2) | 0) < (i1 | 0)) i2 = i2 << 1; else break; - i1 = i31; - while (1) if ((i1 | 0) < (i6 | 0) & (Math_imul(i1 << 2, i1) | 0) < (i3 | 0)) i1 = i1 << 1; else break; - } - i27 = (i2 | 0) > (i6 | 0) ? i6 : i2; - i24 = (i1 | 0) > (i6 | 0) ? i6 : i1; - i25 = (i27 | 0) / (i31 | 0) | 0; - i26 = (i24 | 0) / (i31 | 0) | 0; - d5 = (1.0 - d7) * .5 * 10.0; - d23 = d7 * 10.0; - i21 = Math_imul(i31, i31) | 0; - L19 : do if (!i8) { - i21 = i21 * 3 | 0; - i1 = _calloc(i21, 4) | 0; - if (!i1) { - _arLog(0, 3, 20454, i15); - _exit(1); - } - L24 : do switch (i17 | 0) { - case 0: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L24; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i3 = ((Math_imul(i3, i33) | 0) + i2 | 0) * 3 | 0; - i22 = ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) | 0) * 3 | 0; - i2 = i1 + (i22 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (HEAPU8[i32 + (i3 + 2) >> 0] | 0); - i2 = i1 + (i22 + 1 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (HEAPU8[i32 + (i3 + 1) >> 0] | 0); - i22 = i1 + (i22 + 2 << 2) | 0; - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + (HEAPU8[i32 + i3 >> 0] | 0); + label$2: { + if (bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_1($4 + 48 | 0, $4 + 40 | 0)) { + break label$2; + } + label$3: { + label$4: { + label$5: { + $1 = decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($4 + 40 | 0, $4 + 56 | 0); + switch ($1 | 0) { + case 0: + case 1: + break label$2; + + case 3: + break label$4; + + case 2: + break label$5; + + default: + break label$3; } - i6 = i6 + 1 | 0; } - i4 = i4 + 1 | 0; + if (!std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29($4 + 40 | 0)), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 56 | 0))) { + break label$2; + } + std____2__enable_if___is_swappable_float___value_20___20__is_swappable_unsigned_20long___value_2c_20void___type_20std____2__swap_float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___29(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 56 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 40 | 0)); + break label$2; } + $1 = HEAP32[$4 + 56 >> 2]; + HEAP32[$4 + 32 >> 2] = $1; + unsigned_20int_20std____2____sort3_std____2__greater_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____29($1, HEAP32[std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($4 + 32 | 0) >> 2], HEAP32[std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29($4 + 40 | 0) >> 2], $3); + break label$2; } - case 1: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L24; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i3 = ((Math_imul(i3, i33) | 0) + i2 | 0) * 3 | 0; - i22 = ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) | 0) * 3 | 0; - i2 = i1 + (i22 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (HEAPU8[i32 + i3 >> 0] | 0); - i2 = i1 + (i22 + 1 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (HEAPU8[i32 + (i3 + 1) >> 0] | 0); - i22 = i1 + (i22 + 2 << 2) | 0; - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + (HEAPU8[i32 + (i3 + 2) >> 0] | 0); - } - i6 = i6 + 1 | 0; + if (($1 | 0) <= 7) { + void_20std____2____selection_sort_std____2__greater_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____29(HEAP32[$4 + 56 >> 2], HEAP32[$4 + 40 >> 2], $3); + break label$2; + } + $1 = std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28long_29_20const($4 + 56 | 0, $1 >>> 1 | 0); + HEAP32[$4 + 32 >> 2] = $1; + HEAP32[$4 + 24 >> 2] = HEAP32[$4 + 40 >> 2]; + $1 = unsigned_20int_20std____2____sort3_std____2__greater_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____29(HEAP32[$4 + 56 >> 2], $1, HEAP32[std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29($4 + 24 | 0) >> 2], $3); + HEAP32[$4 + 16 >> 2] = HEAP32[$4 + 56 >> 2]; + HEAP32[$4 + 8 >> 2] = HEAP32[$4 + 24 >> 2]; + label$7: { + if (!std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 32 | 0))) { + if (!bool_20std____2____nth_element_find_guard_std____2__greater_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____29($4 + 16 | 0, $4 + 8 | 0, HEAP32[$4 + 32 >> 2], $3)) { + break label$7; } - i4 = i4 + 1 | 0; + std____2__enable_if___is_swappable_float___value_20___20__is_swappable_unsigned_20long___value_2c_20void___type_20std____2__swap_float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___29(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 8 | 0)); + $1 = $1 + 1 | 0; } - } - case 2: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L24; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; + std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($4 + 16 | 0); + label$9: { + if (!bool_20std____2__operator__std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($4 + 16 | 0, $4 + 8 | 0)) { + break label$9; + } while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); + if (std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 32 | 0))) { + std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($4 + 16 | 0); + continue; } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i3 = (Math_imul(i3, i33) | 0) + i2 << 2; - i22 = ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) | 0) * 3 | 0; - i2 = i1 + (i22 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (HEAPU8[i32 + (i3 | 2) >> 0] | 0); - i2 = i1 + (i22 + 1 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (HEAPU8[i32 + (i3 | 1) >> 0] | 0); - i22 = i1 + (i22 + 2 << 2) | 0; - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + (HEAPU8[i32 + i3 >> 0] | 0); + while (1) { + if (!std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29($4 + 8 | 0)), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 32 | 0))) { + continue; + } + break; } - i6 = i6 + 1 | 0; - } - i4 = i4 + 1 | 0; - } - } - case 3: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L24; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); + if (bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_2($4 + 16 | 0, $4 + 8 | 0)) { + break label$9; } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i3 = (Math_imul(i3, i33) | 0) + i2 << 2; - i22 = ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) | 0) * 3 | 0; - i2 = i1 + (i22 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (HEAPU8[i32 + i3 >> 0] | 0); - i2 = i1 + (i22 + 1 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (HEAPU8[i32 + (i3 | 1) >> 0] | 0); - i22 = i1 + (i22 + 2 << 2) | 0; - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + (HEAPU8[i32 + (i3 | 2) >> 0] | 0); + std____2__enable_if___is_swappable_float___value_20___20__is_swappable_unsigned_20long___value_2c_20void___type_20std____2__swap_float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___29(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 8 | 0)); + if (bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_1($4 + 32 | 0, $4 + 16 | 0)) { + HEAP32[$4 + 32 >> 2] = HEAP32[$4 + 8 >> 2]; } - i6 = i6 + 1 | 0; + $1 = $1 + 1 | 0; + std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($4 + 16 | 0); + continue; } - i4 = i4 + 1 | 0; } - } - case 4: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L24; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i3 = (Math_imul(i3, i33) | 0) + i2 << 2; - i22 = ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) | 0) * 3 | 0; - i2 = i1 + (i22 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (HEAPU8[i32 + (i3 | 1) >> 0] | 0); - i2 = i1 + (i22 + 1 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (HEAPU8[i32 + (i3 | 2) >> 0] | 0); - i22 = i1 + (i22 + 2 << 2) | 0; - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + (HEAPU8[i32 + (i3 | 3) >> 0] | 0); - } - i6 = i6 + 1 | 0; + label$14: { + if (!bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($4 + 16 | 0, $4 + 32 | 0)) { + break label$14; } - i4 = i4 + 1 | 0; + if (!std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 32 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0))) { + break label$14; + } + std____2__enable_if___is_swappable_float___value_20___20__is_swappable_unsigned_20long___value_2c_20void___type_20std____2__swap_float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___29(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 32 | 0)); + $1 = $1 + 1 | 0; } - } - case 5: - case 12: - case 13: - case 14: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L24; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i3 = i32 + ((Math_imul(i3, i33) | 0) + i2) | 0; - i3 = HEAPU8[i3 >> 0] | 0; - i22 = ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) | 0) * 3 | 0; - i2 = i1 + (i22 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + i3; - i2 = i1 + (i22 + 1 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + i3; - i22 = i1 + (i22 + 2 << 2) | 0; - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + i3; + if (bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_1($4 + 48 | 0, $4 + 16 | 0)) { + break label$2; + } + label$15: { + if ($1) { + break label$15; + } + if (bool_20std____2__operator__std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($4 + 48 | 0, $4 + 16 | 0)) { + $1 = HEAP32[$4 + 56 >> 2]; + HEAP32[$4 + 32 >> 2] = $1; + HEAP32[$4 + 8 >> 2] = $1; + while (1) { + if (bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_1(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($4 + 8 | 0), $4 + 16 | 0)) { + break label$2; + } + if (std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 8 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 32 | 0))) { + break label$15; + } + HEAP32[$4 + 32 >> 2] = HEAP32[$4 + 8 >> 2]; + continue; } - i6 = i6 + 1 | 0; } - i4 = i4 + 1 | 0; - } - } - case 6: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L24; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; + $1 = HEAP32[$4 + 16 >> 2]; + HEAP32[$4 + 32 >> 2] = $1; + HEAP32[$4 + 8 >> 2] = $1; while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); + if (bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_1(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($4 + 8 | 0), $4 + 40 | 0)) { + break label$2; } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i3 = (Math_imul(i3, i33) | 0) + i2 << 2; - i22 = ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) | 0) * 3 | 0; - i2 = i1 + (i22 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (HEAPU8[i32 + (i3 | 3) >> 0] | 0); - i2 = i1 + (i22 + 1 << 2) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (HEAPU8[i32 + (i3 | 2) >> 0] | 0); - i22 = i1 + (i22 + 2 << 2) | 0; - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + (HEAPU8[i32 + (i3 | 1) >> 0] | 0); + if (std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 8 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 32 | 0))) { + break label$15; } - i6 = i6 + 1 | 0; + HEAP32[$4 + 32 >> 2] = HEAP32[$4 + 8 >> 2]; + continue; } - i4 = i4 + 1 | 0; } + if (bool_20std____2__operator__std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($4 + 48 | 0, $4 + 16 | 0)) { + HEAP32[$4 + 40 >> 2] = HEAP32[$4 + 16 >> 2]; + continue; + } + wasm2js_i32$0 = $4, wasm2js_i32$1 = HEAP32[std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($4 + 16 | 0) >> 2], + HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; + continue; } - case 7: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; + std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($4 + 16 | 0); + HEAP32[$4 + 8 >> 2] = HEAP32[$4 + 40 >> 2]; + if (!std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 56 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29($4 + 8 | 0)))) { while (1) { - if ((i4 | 0) >= (i24 | 0)) break L24; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i44 = Math_imul(i3, i33) | 0; - i43 = (i2 & 65534) + i44 << 1; - d40 = +((HEAPU8[i32 + i43 >> 0] | 0) + -128 | 0); - d42 = +((HEAPU8[i32 + (i43 + 2) >> 0] | 0) + -128 | 0); - d41 = +((HEAPU8[i32 + (i44 + i2 << 1 | 1) >> 0] | 0) + -16 | 0) * 298.0820007324219; - i44 = ~~(d40 * 516.4110107421875 + d41) >> 8; - i43 = ~~(d41 - d40 * 100.29100036621094 - d42 * 208.1199951171875) >> 8; - i3 = ~~(d41 + d42 * 408.5830078125) >> 8; - i44 = (i44 | 0) > 0 ? i44 : 0; - i22 = ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) | 0) * 3 | 0; - i2 = i1 + (i22 << 2) | 0; - HEAP32[i2 >> 2] = ((i44 | 0) < 255 ? i44 : 255) + (HEAP32[i2 >> 2] | 0); - i43 = (i43 | 0) > 0 ? i43 : 0; - i2 = i1 + (i22 + 1 << 2) | 0; - HEAP32[i2 >> 2] = ((i43 | 0) < 255 ? i43 : 255) + (HEAP32[i2 >> 2] | 0); - i3 = (i3 | 0) > 0 ? i3 : 0; - i22 = i1 + (i22 + 2 << 2) | 0; - HEAP32[i22 >> 2] = ((i3 | 0) < 255 ? i3 : 255) + (HEAP32[i22 >> 2] | 0); - } - i6 = i6 + 1 | 0; - } - i4 = i4 + 1 | 0; + if (bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_1($4 + 16 | 0, $4 + 8 | 0)) { + break label$2; + } + if (std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 56 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0))) { + std____2__enable_if___is_swappable_float___value_20___20__is_swappable_unsigned_20long___value_2c_20void___type_20std____2__swap_float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___29(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 8 | 0)); + std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($4 + 16 | 0); + } else { + std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($4 + 16 | 0); + continue; + } + break; } } - case 8: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L24; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i3 = Math_imul(i3, i33) | 0; - i43 = (i2 & 65534) + i3 << 1; - d40 = +((HEAPU8[i32 + (i43 | 1) >> 0] | 0) + -128 | 0); - d42 = +((HEAPU8[i32 + (i43 + 3) >> 0] | 0) + -128 | 0); - d41 = +((HEAPU8[i32 + (i3 + i2 << 1) >> 0] | 0) + -16 | 0) * 298.0820007324219; - i2 = ~~(d41 + d40 * 516.4110107421875) >> 8; - i3 = ~~(d41 - d40 * 100.29100036621094 - d42 * 208.1199951171875) >> 8; - i43 = ~~(d41 + d42 * 408.5830078125) >> 8; - i2 = (i2 | 0) > 0 ? i2 : 0; - i44 = ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) | 0) * 3 | 0; - i22 = i1 + (i44 << 2) | 0; - HEAP32[i22 >> 2] = ((i2 | 0) < 255 ? i2 : 255) + (HEAP32[i22 >> 2] | 0); - i3 = (i3 | 0) > 0 ? i3 : 0; - i22 = i1 + (i44 + 1 << 2) | 0; - HEAP32[i22 >> 2] = ((i3 | 0) < 255 ? i3 : 255) + (HEAP32[i22 >> 2] | 0); - i43 = (i43 | 0) > 0 ? i43 : 0; - i44 = i1 + (i44 + 2 << 2) | 0; - HEAP32[i44 >> 2] = ((i43 | 0) < 255 ? i43 : 255) + (HEAP32[i44 >> 2] | 0); - } - i6 = i6 + 1 | 0; - } - i4 = i4 + 1 | 0; - } + if (bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_1($4 + 16 | 0, $4 + 8 | 0)) { + break label$2; } - case 9: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i24 | 0)) break L24; - d9 = d10 + d23 * (+(i6 | 0) + .5) / d11; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i4 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); + while (1) { + label$25: { + if (std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 56 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0))) { + while (1) { + if (std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 56 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29($4 + 8 | 0)))) { + continue; + } + break; } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i43 = (Math_imul(i3, i33) | 0) + i2 << 1; - i3 = HEAP8[i32 + (i43 | 1) >> 0] | 0; - i44 = ((Math_imul((i6 | 0) / (i26 | 0) | 0, i31) | 0) + ((i4 | 0) / (i25 | 0) | 0) | 0) * 3 | 0; - i22 = i1 + (i44 << 2) | 0; - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + ((i3 << 3 & 255 | 4) & 255); - i43 = HEAP8[i32 + i43 >> 0] | 0; - i22 = i1 + (i44 + 1 << 2) | 0; - HEAP32[i22 >> 2] = ((i3 & -32 & 255) >>> 3 | i43 << 5 & 255 | 2) + (HEAP32[i22 >> 2] | 0); - i44 = i1 + (i44 + 2 << 2) | 0; - HEAP32[i44 >> 2] = (HEAP32[i44 >> 2] | 0) + ((i43 & -8 | 4) & 255); + if (bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_2($4 + 16 | 0, $4 + 8 | 0)) { + break label$25; } - i4 = i4 + 1 | 0; + std____2__enable_if___is_swappable_float___value_20___20__is_swappable_unsigned_20long___value_2c_20void___type_20std____2__swap_float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___29(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 8 | 0)); } - i6 = i6 + 1 | 0; + std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($4 + 16 | 0); + continue; } + break; } - case 10: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L24; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i43 = (Math_imul(i3, i33) | 0) + i2 << 1; - i3 = HEAP8[i32 + (i43 | 1) >> 0] | 0; - i44 = ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) | 0) * 3 | 0; - i22 = i1 + (i44 << 2) | 0; - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + ((i3 << 2 & 255 | 4) & 255); - i43 = HEAP8[i32 + i43 >> 0] | 0; - i22 = i1 + (i44 + 1 << 2) | 0; - HEAP32[i22 >> 2] = ((i3 & -64 & 255) >>> 3 | i43 << 5 & 255 | 4) + (HEAP32[i22 >> 2] | 0); - i44 = i1 + (i44 + 2 << 2) | 0; - HEAP32[i44 >> 2] = (HEAP32[i44 >> 2] | 0) + ((i43 & -8 | 4) & 255); - } - i6 = i6 + 1 | 0; - } - i4 = i4 + 1 | 0; - } + if (bool_20std____2__operator__std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($4 + 48 | 0, $4 + 16 | 0)) { + break label$2; } - case 11: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L24; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i43 = (Math_imul(i3, i33) | 0) + i2 << 1; - i44 = ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) | 0) * 3 | 0; - i22 = i1 + (i44 << 2) | 0; - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + ((HEAP8[i32 + (i43 | 1) >> 0] & -16 | 8) & 255); - i43 = HEAP8[i32 + i43 >> 0] | 0; - i22 = i1 + (i44 + 1 << 2) | 0; - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + ((i43 << 4 & 255 | 8) & 255); - i44 = i1 + (i44 + 2 << 2) | 0; - HEAP32[i44 >> 2] = (HEAP32[i44 >> 2] | 0) + ((i43 & -16 | 8) & 255); + HEAP32[$4 + 56 >> 2] = HEAP32[$4 + 16 >> 2]; + continue; + } + break; + } + __stack_pointer = $4 - -64 | 0; +} + +function vision__SamplePyramidFREAK84_28float__2c_20vision__GaussianScaleSpacePyramid_20const__2c_20vision__FeaturePoint_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16) { + var $17 = 0, $18 = Math_fround(0), $19 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $17 = __stack_pointer - 352 | 0; + __stack_pointer = $17; + $16 = Math_fround(Math_max(Math_fround(HEAPF32[$2 + 12 >> 2] * $16), Math_fround(1))); + void_20vision__Similarity_float__28float__2c_20float_2c_20float_2c_20float_2c_20float_29($17 + 304 | 0, HEAPF32[$2 >> 2], HEAPF32[$2 + 4 >> 2], HEAPF32[$2 + 8 >> 2], $16); + $18 = HEAPF32[$17 + 324 >> 2]; + $19 = HEAPF32[$17 + 312 >> 2]; + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 256 | 0, $17 + 304 | 0, $3); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 256 | 8, $17 + 304 | 0, $3 + 8 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 272 | 0, $17 + 304 | 0, $3 + 16 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 280 | 0, $17 + 304 | 0, $3 + 24 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 288 | 0, $17 + 304 | 0, $3 + 32 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 296 | 0, $17 + 304 | 0, $3 + 40 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 208 | 0, $17 + 304 | 0, $4); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 208 | 8, $17 + 304 | 0, $4 + 8 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 224 | 0, $17 + 304 | 0, $4 + 16 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 232 | 0, $17 + 304 | 0, $4 + 24 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 240 | 0, $17 + 304 | 0, $4 + 32 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 248 | 0, $17 + 304 | 0, $4 + 40 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 160 | 0, $17 + 304 | 0, $5); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 160 | 8, $17 + 304 | 0, $5 + 8 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 176 | 0, $17 + 304 | 0, $5 + 16 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 184 | 0, $17 + 304 | 0, $5 + 24 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 192 | 0, $17 + 304 | 0, $5 + 32 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 200 | 0, $17 + 304 | 0, $5 + 40 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 112 | 0, $17 + 304 | 0, $6); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 112 | 8, $17 + 304 | 0, $6 + 8 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 128 | 0, $17 + 304 | 0, $6 + 16 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 136 | 0, $17 + 304 | 0, $6 + 24 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 144 | 0, $17 + 304 | 0, $6 + 32 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 152 | 0, $17 + 304 | 0, $6 + 40 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 - -64 | 0, $17 + 304 | 0, $7); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 - -64 | 8, $17 + 304 | 0, $7 + 8 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 80 | 0, $17 + 304 | 0, $7 + 16 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 88 | 0, $17 + 304 | 0, $7 + 24 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 96 | 0, $17 + 304 | 0, $7 + 32 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 104 | 0, $17 + 304 | 0, $7 + 40 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 16 | 0, $17 + 304 | 0, $8); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 16 | 8, $17 + 304 | 0, $8 + 8 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 32 | 0, $17 + 304 | 0, $8 + 16 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 40 | 0, $17 + 304 | 0, $8 + 24 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 48 | 0, $17 + 304 | 0, $8 + 32 | 0); + void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($17 + 56 | 0, $17 + 304 | 0, $8 + 40 | 0); + vision__GaussianScaleSpacePyramid__locate_28int__2c_20int__2c_20float_29_20const($1, $17 + 12 | 0, $17 + 8 | 0, Math_fround($16 * $15)); + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 16 >> 2], HEAPF32[$17 + 20 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 24 >> 2], HEAPF32[$17 + 28 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 32 >> 2], HEAPF32[$17 + 36 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 40 >> 2], HEAPF32[$17 + 44 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 48 >> 2], HEAPF32[$17 + 52 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 56 >> 2], HEAPF32[$17 + 60 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 20 >> 2] = wasm2js_f32$0; + vision__GaussianScaleSpacePyramid__locate_28int__2c_20int__2c_20float_29_20const($1, $17 + 12 | 0, $17 + 8 | 0, Math_fround($16 * $14)); + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 64 >> 2], HEAPF32[$17 + 68 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 24 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 72 >> 2], HEAPF32[$17 + 76 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 80 >> 2], HEAPF32[$17 + 84 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 32 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 88 >> 2], HEAPF32[$17 + 92 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 36 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 96 >> 2], HEAPF32[$17 + 100 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 40 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 104 >> 2], HEAPF32[$17 + 108 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 44 >> 2] = wasm2js_f32$0; + vision__GaussianScaleSpacePyramid__locate_28int__2c_20int__2c_20float_29_20const($1, $17 + 12 | 0, $17 + 8 | 0, Math_fround($16 * $13)); + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 112 >> 2], HEAPF32[$17 + 116 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 48 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 120 >> 2], HEAPF32[$17 + 124 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 52 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 128 >> 2], HEAPF32[$17 + 132 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 56 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 136 >> 2], HEAPF32[$17 + 140 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 60 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 144 >> 2], HEAPF32[$17 + 148 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 64 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 152 >> 2], HEAPF32[$17 + 156 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 68 >> 2] = wasm2js_f32$0; + vision__GaussianScaleSpacePyramid__locate_28int__2c_20int__2c_20float_29_20const($1, $17 + 12 | 0, $17 + 8 | 0, Math_fround($16 * $12)); + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 160 >> 2], HEAPF32[$17 + 164 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 72 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 168 >> 2], HEAPF32[$17 + 172 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 76 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 176 >> 2], HEAPF32[$17 + 180 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 80 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 184 >> 2], HEAPF32[$17 + 188 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 84 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 192 >> 2], HEAPF32[$17 + 196 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 88 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 200 >> 2], HEAPF32[$17 + 204 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 92 >> 2] = wasm2js_f32$0; + vision__GaussianScaleSpacePyramid__locate_28int__2c_20int__2c_20float_29_20const($1, $17 + 12 | 0, $17 + 8 | 0, Math_fround($16 * $11)); + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 208 >> 2], HEAPF32[$17 + 212 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 96 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 216 >> 2], HEAPF32[$17 + 220 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 100 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 224 >> 2], HEAPF32[$17 + 228 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 104 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 232 >> 2], HEAPF32[$17 + 236 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 108 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 240 >> 2], HEAPF32[$17 + 244 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 112 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 248 >> 2], HEAPF32[$17 + 252 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 116 >> 2] = wasm2js_f32$0; + vision__GaussianScaleSpacePyramid__locate_28int__2c_20int__2c_20float_29_20const($1, $17 + 12 | 0, $17 + 8 | 0, Math_fround($16 * $10)); + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 256 >> 2], HEAPF32[$17 + 260 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 120 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 264 >> 2], HEAPF32[$17 + 268 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 124 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 272 >> 2], HEAPF32[$17 + 276 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 128 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 280 >> 2], HEAPF32[$17 + 284 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 132 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 288 >> 2], HEAPF32[$17 + 292 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 136 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, HEAPF32[$17 + 296 >> 2], HEAPF32[$17 + 300 >> 2], HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 140 >> 2] = wasm2js_f32$0; + vision__GaussianScaleSpacePyramid__locate_28int__2c_20int__2c_20float_29_20const($1, $17 + 12 | 0, $17 + 8 | 0, Math_fround($16 * $9)); + wasm2js_i32$0 = $0, wasm2js_f32$0 = vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($1, $19, $18, HEAP32[$17 + 12 >> 2], HEAP32[$17 + 8 >> 2]), + HEAPF32[wasm2js_i32$0 + 144 >> 2] = wasm2js_f32$0; + __stack_pointer = $17 + 352 | 0; + return 1; +} + +function vision__HoughSimilarityVoting__vote_28float_2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = Math_fround(0), $16 = Math_fround(0), $17 = Math_fround(0), $18 = Math_fround(0), $19 = Math_fround(0), $20 = Math_fround(0); + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + $15 = HEAPF32[$0 + 20 >> 2]; + label$10: { + if ($15 > $1) { + break label$10; + } + $16 = HEAPF32[$0 + 24 >> 2]; + if ($16 <= $1) { + break label$10; + } + $17 = HEAPF32[$0 + 28 >> 2]; + if ($17 > $2) { + break label$10; + } + $18 = HEAPF32[$0 + 32 >> 2]; + if ($18 <= $2) { + break label$10; + } + $13 = +$3; + if ($13 <= -3.141592653589793 | $13 > 3.141592653589793) { + break label$10; + } + $19 = HEAPF32[$0 + 36 >> 2]; + if ($19 > $4) { + break label$10; + } + $20 = HEAPF32[$0 + 40 >> 2]; + if ($20 <= $4) { + break label$10; + } + if (!($1 >= $15)) { + break label$9; + } + if (!($1 < $16)) { + break label$8; + } + if (!($2 >= $17)) { + break label$7; + } + if (!($2 < $18)) { + break label$6; + } + if (!($13 > -3.141592653589793)) { + break label$5; + } + if (!($13 <= 3.141592653589793)) { + break label$4; + } + if (!($4 >= $19)) { + break label$3; + } + if (!($4 < $20)) { + break label$2; + } + vision__HoughSimilarityVoting__mapVoteToBin_28float__2c_20float__2c_20float__2c_20float__2c_20float_2c_20float_2c_20float_2c_20float_29_20const($0, $0 + 68 | 0, $0 + 72 | 0, $0 + 76 | 0, $0 + 80 | 0, $1, $2, $3, $4); + $1 = floor_28float_29(Math_fround(HEAPF32[$0 + 68 >> 2] + Math_fround(-.5))); + $2 = floor_28float_29(Math_fround(HEAPF32[$0 + 72 >> 2] + Math_fround(-.5))); + $4 = floor_28float_29(Math_fround(HEAPF32[$0 + 76 >> 2] + Math_fround(-.5))); + label$11: { + if (Math_fround(Math_abs($4)) < Math_fround(2147483648)) { + $5 = ~~$4; + break label$11; + } + $5 = -2147483648; + } + $4 = floor_28float_29(Math_fround(HEAPF32[$0 + 80 >> 2] + Math_fround(-.5))); + $14 = HEAP32[$0 + 60 >> 2]; + $6 = $5 + $14 | 0; + if (Math_fround(Math_abs($1)) < Math_fround(2147483648)) { + $7 = ~~$1; + } else { + $7 = -2147483648; + } + $5 = 0; + if (Math_fround(Math_abs($2)) < Math_fround(2147483648)) { + $8 = ~~$2; + } else { + $8 = -2147483648; + } + $9 = ($7 | 0) < 0; + if (Math_fround(Math_abs($4)) < Math_fround(2147483648)) { + $10 = ~~$4; + } else { + $10 = -2147483648; + } + if ($9) { + break label$10; + } + $9 = $7 + 1 | 0; + if (($8 | 0) < 0 | ($9 | 0) >= HEAP32[$0 + 52 >> 2]) { + break label$10; + } + $6 = ($6 | 0) % ($14 | 0) | 0; + $11 = $8 + 1 | 0; + if (($11 | 0) >= HEAP32[$0 + 56 >> 2]) { + return 0; + } + if (($10 | 0) < 0) { + break label$10; + } + $12 = $10 + 1 | 0; + if (($12 | 0) >= HEAP32[$0 + 64 >> 2]) { + break label$10; + } + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $7, $8, $6, $10), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $9, $8, $6, $10), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $9, $11, $6, $10), 1); + $5 = ($6 + 1 | 0) % ($14 | 0) | 0; + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $9, $11, $5, $10), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $9, $11, $5, $12), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $9, $11, $6, $12), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $9, $8, $5, $10), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $9, $8, $5, $12), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $9, $8, $6, $12), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $7, $11, $6, $10), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $7, $11, $5, $10), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $7, $11, $5, $12), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $7, $11, $6, $12), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $7, $8, $5, $10), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $7, $8, $5, $12), 1); + vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $7, $8, $6, $12), 1); + $5 = 1; + } + return $5; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 1088), 16336), 3289), 360), 3786), 4186), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 4945), 16336), 3289), 361), 3786), 4186), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 5955), 16336), 3289), 362), 3786), 6563), 16); + break label$1; } - i6 = i6 + 1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 7590), 16336), 3289), 363), 3786), 6563), 16); + break label$1; } - i4 = i4 + 1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 8374), 16336), 3289), 364), 3786), 9005), 16); + break label$1; } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 9771), 16336), 3289), 365), 3786), 9005), 16); + break label$1; } - default: - { - _arLog(0, 3, 17978, i16); - i37 = 306; - break L19; - } - } while (0); - i3 = Math_imul(i26, i25) | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == (i21 | 0)) break; - HEAP8[i36 + i2 >> 0] = ((HEAP32[i1 + (i2 << 2) >> 2] | 0) >>> 0) / (i3 >>> 0) | 0; - i2 = i2 + 1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 10560), 16336), 3289), 366), 3786), 11107), 16); + break label$1; } - _free(i1); - i1 = 0; - } else { - i1 = _calloc(i21, 4) | 0; - if (!i1) { - _arLog(0, 3, 20454, i13); - _exit(1); - } - L239 : do if (i17 >>> 0 < 2) { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 11787), 16336), 3289), 367), 3786), 11107), 16); + } + abort(); + abort(); +} + +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______emplace_unique_key_args_unsigned_20int_2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int___28unsigned_20int_20const__2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int____29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = __stack_pointer - 32 | 0; + __stack_pointer = $5; + $7 = std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true___operator_28_29_28unsigned_20int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____hash_function_28_29($1), $2); + $6 = std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____bucket_count_28_29_20const($1); + HEAP8[$5 + 31 | 0] = 0; + label$1: { + label$2: { + if (!$6) { + break label$2; + } + $8 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($7, $6); + $4 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $8) >> 2]; + if (!$4) { + break label$2; + } while (1) { - if ((i4 | 0) >= (i24 | 0)) break L239; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i43 = ((Math_imul(i3, i33) | 0) + i2 | 0) * 3 | 0; - i44 = i1 + ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) << 2) | 0; - HEAP32[i44 >> 2] = (HEAP32[i44 >> 2] | 0) + ((((HEAPU8[i32 + (i43 + 1) >> 0] | 0) + (HEAPU8[i32 + i43 >> 0] | 0) + (HEAPU8[i32 + (i43 + 2) >> 0] | 0) | 0) >>> 0) / 3 | 0); + $4 = HEAP32[$4 >> 2]; + if (!$4) { + break label$2; + } + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_28_29_20const($4) | 0) != ($7 | 0)) { + if ((std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_28_29_20const($4), $6) | 0) != ($8 | 0)) { + break label$2; } - i6 = i6 + 1 | 0; } - i4 = i4 + 1 | 0; + if (!std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true___operator_28_29_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__20const__2c_20unsigned_20int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____key_eq_28_29($1), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________upcast_28_29($4) + 8 | 0, $2)) { + continue; + } + break; } - } else { - if ((i17 | 1 | 0) == 3) { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L239; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i43 = (Math_imul(i3, i33) | 0) + i2 << 2; - i44 = i1 + ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) << 2) | 0; - HEAP32[i44 >> 2] = (HEAP32[i44 >> 2] | 0) + ((((HEAPU8[i32 + (i43 | 1) >> 0] | 0) + (HEAPU8[i32 + i43 >> 0] | 0) + (HEAPU8[i32 + (i43 | 2) >> 0] | 0) | 0) >>> 0) / 3 | 0); - } - i6 = i6 + 1 | 0; - } - i4 = i4 + 1 | 0; - } - } - if ((i17 | 2 | 0) == 6) { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L239; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i43 = (Math_imul(i3, i33) | 0) + i2 << 2; - i44 = i1 + ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) << 2) | 0; - HEAP32[i44 >> 2] = (HEAP32[i44 >> 2] | 0) + ((((HEAPU8[i32 + (i43 | 2) >> 0] | 0) + (HEAPU8[i32 + (i43 | 1) >> 0] | 0) + (HEAPU8[i32 + (i43 | 3) >> 0] | 0) | 0) >>> 0) / 3 | 0); + break label$1; + } + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______construct_node_hash_std____2__pair_unsigned_20int_2c_20unsigned_20int___28unsigned_20long_2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int____29($5 + 16 | 0, $1, $7, $3); + $4 = HEAP32[std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____size_28_29($1) >> 2]; + $2 = std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____max_load_factor_28_29($1); + if (!(Math_fround($4 + 1 >>> 0) > Math_fround(HEAPF32[$2 >> 2] * Math_fround($6 >>> 0)) ? 0 : $6)) { + wasm2js_i32$0 = $5, wasm2js_i32$1 = std____2____is_hash_power2_28unsigned_20long_29($6) ^ 1 | $6 << 1, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $9 = ceil_28float_29(Math_fround(Math_fround(HEAP32[std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____size_28_29($1) >> 2] + 1 >>> 0) / HEAPF32[std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____max_load_factor_28_29($1) >> 2])); + label$7: { + if ($9 < Math_fround(4294967296) & $9 >= Math_fround(0)) { + $4 = ~~$9 >>> 0; + break label$7; + } + $4 = 0; + } + HEAP32[$5 + 8 >> 2] = $4; + std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____rehash_28unsigned_20long_29($1, HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($5 + 12 | 0, $5 + 8 | 0) >> 2]); + $6 = std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____bucket_count_28_29_20const($1); + $8 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($7, $6); + } + $4 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $8) >> 2]; + label$9: { + if (!$4) { + $4 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______first_28_29($1 + 8 | 0)); + $7 = HEAP32[$4 >> 2]; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($5 + 16 | 0), + wasm2js_i32$1 = $7, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________ptr_28_29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______get_28_29_20const($5 + 16 | 0)), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $8), + wasm2js_i32$1 = $4, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!HEAP32[std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($5 + 16 | 0) >> 2]) { + break label$9; + } + $4 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________ptr_28_29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______get_28_29_20const($5 + 16 | 0)); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_28_29_20const(HEAP32[std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($5 + 16 | 0) >> 2]), $6)), + wasm2js_i32$1 = $4, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$9; + } + $6 = HEAP32[$4 >> 2]; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($5 + 16 | 0), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______get_28_29_20const($5 + 16 | 0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $4 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______release_28_29($5 + 16 | 0); + $1 = std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____size_28_29($1); + HEAP32[$1 >> 2] = HEAP32[$1 >> 2] + 1; + HEAP8[$5 + 31 | 0] = 1; + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________unique_ptr_28_29($5 + 16 | 0); + } + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool__2c_20_28void__290__28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20bool__29($0, std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($5 + 16 | 0, $4), $5 + 31 | 0); + __stack_pointer = $5 + 32 | 0; +} + +function __multf3($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var $9 = 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, $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; + $19 = __stack_pointer - 96 | 0; + __stack_pointer = $19; + $13 = $7; + $25 = $13; + $9 = $8; + $12 = $9 & 65535; + $24 = $12; + $12 = $4; + $13 = $12 ^ $9; + $9 = $3; + $11 = $7; + $9 = $13 & -2147483648; + $15 = $9; + $9 = $4; + $12 = $9 & 65535; + $22 = $12; + $13 = $3; + $23 = $13; + $9 = $13; + $32 = $12; + $13 = 0; + $33 = $13; + $13 = $8; + $20 = $13 >>> 16 & 32767; + $9 = $4; + $29 = $9 >>> 16 & 32767; + label$1: { + label$2: { + if ($20 - 32767 >>> 0 > 4294934529 & $29 - 32767 >>> 0 >= 4294934530) { + break label$2; + } + $12 = $2; + $10 = !($12 | $1); + $12 = $4; + $13 = $12 & 2147483647; + $17 = $13; + $14 = $13 >>> 0 < 2147418112; + $12 = $13; + $9 = $3; + $16 = $9; + $11 = $9; + if (!(!$11 & ($12 | 0) == 2147418112 ? $10 : $14)) { + $9 = $3; + $18 = $9; + $11 = $4; + $12 = $11 | 32768; + $15 = $12; + break label$1; + } + $12 = $6; + $10 = !($12 | $5); + $12 = $8; + $9 = $12 & 2147483647; + $4 = $9; + $14 = $9 >>> 0 < 2147418112; + $12 = $9; + $11 = $7; + $3 = $11; + $13 = $11; + if (!(!$13 & ($12 | 0) == 2147418112 ? $10 : $14)) { + $11 = $7; + $18 = $11; + $13 = $8; + $12 = $13 | 32768; + $15 = $12; + $1 = $5; + $12 = $6; + $2 = $12; + break label$1; + } + $12 = $17; + $11 = $12 ^ 2147418112; + $13 = $16; + $9 = $13; + $12 = $1; + $13 = $11; + $11 = $2; + $13 = $13 | $11; + if (!($9 | $12 | $13)) { + $12 = $6; + $13 = $4; + $12 = $12 | $13; + $9 = $5; + $11 = $3; + if (!($12 | ($9 | $11))) { + $15 = 2147450880; + $1 = 0; + $2 = 0; + break label$1; + } + $13 = $18; + $18 = $13; + $12 = $15; + $11 = $12 | 2147418112; + $15 = $11; + $1 = 0; + $2 = 0; + break label$1; + } + $11 = $4; + $13 = $11 ^ 2147418112; + $12 = $3; + $9 = $12; + $11 = $5; + $12 = $13; + $13 = $6; + $12 = $12 | $13; + if (!($9 | $11 | $12)) { + $9 = $16; + $13 = $1; + $3 = $9 | $13; + $12 = $2; + $11 = $17; + $11 = $12 | $11; + $1 = 0; + $2 = 0; + if (!($11 | $3)) { + $15 = 2147450880; + break label$1; + } + $12 = $18; + $18 = $12; + $11 = $15; + $13 = $11 | 2147418112; + $15 = $13; + break label$1; + } + $12 = $17; + $13 = $2; + $12 = $12 | $13; + $9 = $16; + $11 = $1; + if (!($12 | ($9 | $11))) { + $1 = 0; + $2 = 0; + break label$1; + } + $12 = $4; + $11 = $6; + $11 = $12 | $11; + $9 = $5; + $13 = $3; + if (!($11 | ($9 | $13))) { + $1 = 0; + $2 = 0; + break label$1; + } + $11 = $17; + if (($11 | 0) == 65535 | $11 >>> 0 < 65535) { + $12 = $22; + $21 = !($12 | $23); + $14 = $21; + $13 = $14 ? $1 : $23; + $12 = $2; + $11 = $22; + $9 = $14 ? $12 : $11; + $12 = Math_clz32($9); + $13 = ($12 | 0) == 32 ? Math_clz32($13) + 32 | 0 : $12; + $12 = $21 << 6; + $11 = $12 + $13 | 0; + $10 = $2; + $13 = $22; + __ashlti3($19 + 80 | 0, $1, $10, $23, $13, $11 - 15 | 0); + $21 = 16 - $11 | 0; + $14 = $19; + $13 = HEAP32[$14 + 88 >> 2]; + $23 = $13; + $10 = HEAP32[$14 + 92 >> 2]; + $22 = $10; + $32 = $10; + $13 = 0; + $33 = $13; + $10 = $14; + $13 = HEAP32[$10 + 80 >> 2]; + $1 = $13; + $14 = HEAP32[$10 + 84 >> 2]; + $2 = $14; + } + $14 = $4; + if ($14 >>> 0 > 65535) { + break label$2; + } + $10 = $24; + $9 = !($10 | $25); + $13 = $9 ? $5 : $25; + $10 = $6; + $14 = $24; + $12 = $9 ? $10 : $14; + $10 = Math_clz32($12); + $11 = 0; + $13 = ($10 | 0) == 32 ? Math_clz32($13) + 32 | 0 : $10; + $10 = $9 << 6; + $14 = $13 + $10 | 0; + $11 = $6; + $13 = $24; + __ashlti3($19 - -64 | 0, $5, $11, $25, $13, $14 - 15 | 0); + $21 = ($21 - $14 | 0) + 16 | 0; + $9 = $19; + $13 = HEAP32[$9 + 72 >> 2]; + $25 = $13; + $11 = HEAP32[$9 + 76 >> 2]; + $24 = $11; + $11 = HEAP32[$9 + 64 >> 2]; + $5 = $11; + $13 = HEAP32[$9 + 68 >> 2]; + $6 = $13; + } + $9 = $5; + $16 = $9 << 15; + $13 = $6; + $11 = $13 << 15 | $9 >>> 17; + $17 = $11; + $9 = 0; + $4 = $9; + $13 = $16; + $3 = $13 & -32768; + $13 = 0; + $8 = $13; + $9 = $2; + $7 = $9; + $11 = $13; + $11 = __wasm_i64_mul($3, $4, $9, $11); + $34 = $11; + $13 = i64toi32_i32$HIGH_BITS; + $35 = $13; + $13 = $17; + $16 = $13; + $11 = 0; + $17 = $11; + $13 = $1; + $1 = $13; + $9 = 0; + $2 = $9; + $9 = $17; + $13 = $2; + $13 = __wasm_i64_mul($16, $9, $1, $13); + $10 = $13; + $9 = i64toi32_i32$HIGH_BITS; + $13 = $9; + $9 = $35; + $14 = $9 + $13 | 0; + $11 = $34; + $12 = $11 + $10 | 0; + $14 = $12 >>> 0 < $10 >>> 0 ? $14 + 1 | 0 : $14; + $30 = $12; + $27 = $14; + $9 = $12; + $11 = $2; + $9 = $4; + $9 = __wasm_i64_mul($1, $11, $3, $9); + $10 = $9; + $11 = i64toi32_i32$HIGH_BITS; + $9 = $11; + $11 = $12; + $12 = $9 + $11 | 0; + $14 = 0; + $13 = $14 + $10 | 0; + $12 = $13 >>> 0 < $10 >>> 0 ? $12 + 1 | 0 : $12; + $28 = $13; + $26 = $12; + $14 = $11; + $11 = $13; + $10 = $37; + $38 = ($12 | 0) == ($14 | 0) & $11 >>> 0 < $10 >>> 0 | $12 >>> 0 < $14 >>> 0; + $10 = $23; + $23 = $10; + $12 = 0; + $22 = $12; + $12 = $4; + $10 = $22; + $10 = __wasm_i64_mul($3, $12, $23, $10); + $39 = $10; + $12 = i64toi32_i32$HIGH_BITS; + $40 = $12; + $12 = $8; + $10 = $17; + $10 = __wasm_i64_mul($7, $12, $16, $10); + $14 = $10; + $12 = i64toi32_i32$HIGH_BITS; + $10 = $12; + $12 = $40; + $13 = $12 + $10 | 0; + $11 = $39; + $9 = $11 + $14 | 0; + $13 = $9 >>> 0 < $14 >>> 0 ? $13 + 1 | 0 : $13; + $37 = $9; + $41 = $13; + $12 = $25; + $36 = $12 << 15; + $13 = $24; + $11 = $13 << 15 | $12 >>> 17; + $31 = $11; + $11 = $6; + $14 = $11 >>> 17 | 0; + $12 = 0; + $13 = $12; + $12 = $31; + $11 = $36; + $12 = $11 | $14; + $5 = $12; + $11 = 0; + $6 = $11; + $12 = $2; + $12 = __wasm_i64_mul($5, $11, $1, $12); + $14 = $12; + $11 = i64toi32_i32$HIGH_BITS; + $12 = $11; + $11 = $41; + $9 = $12 + $11 | 0; + $13 = $37; + $10 = $13 + $14 | 0; + $25 = $10; + $9 = $10 >>> 0 < $14 >>> 0 ? $9 + 1 | 0 : $9; + $24 = $9; + $9 = $27; + $13 = $35; + $11 = $30; + $14 = $34; + $14 = ($9 | 0) == ($13 | 0) & $11 >>> 0 < $14 >>> 0 | $9 >>> 0 < $13 >>> 0; + $9 = $14; + $14 = 0; + $11 = $14; + $14 = $9; + $11 = $11 | $14; + $9 = 0; + $13 = $27; + $13 = $9 | $13; + $12 = $13 + $10 | 0; + $9 = $11; + $11 = $24; + $10 = $9 + $11 | 0; + $34 = $12; + $10 = $12 >>> 0 < $13 >>> 0 ? $10 + 1 | 0 : $10; + $35 = $10; + $10 = $33; + $27 = $10; + $14 = $4; + $11 = $32; + $30 = $11 | 65536; + $11 = __wasm_i64_mul($3, $14, $30, $10); + $42 = $11; + $14 = i64toi32_i32$HIGH_BITS; + $43 = $14; + $14 = $17; + $11 = $22; + $11 = __wasm_i64_mul($16, $14, $23, $11); + $13 = $11; + $14 = i64toi32_i32$HIGH_BITS; + $11 = $14; + $14 = $43; + $12 = $11 + $14 | 0; + $10 = $42; + $9 = $13 + $10 | 0; + $12 = $9 >>> 0 < $13 >>> 0 ? $12 + 1 | 0 : $12; + $32 = $9; + $33 = $12; + $12 = $31; + $3 = $12 | -2147483648; + $10 = 0; + $4 = $10; + $12 = $2; + $12 = __wasm_i64_mul($3, $10, $1, $12); + $13 = $12; + $11 = $13 + $9 | 0; + $14 = i64toi32_i32$HIGH_BITS; + $12 = $14; + $14 = $33; + $9 = $12 + $14 | 0; + $36 = $11; + $9 = $11 >>> 0 < $13 >>> 0 ? $9 + 1 | 0 : $9; + $31 = $9; + $9 = $6; + $10 = $8; + $10 = __wasm_i64_mul($5, $9, $7, $10); + $13 = $10; + $9 = i64toi32_i32$HIGH_BITS; + $10 = $9; + $9 = $31; + $11 = $9 + $10 | 0; + $14 = $36; + $12 = $13 + $14 | 0; + $11 = $12 >>> 0 < $13 >>> 0 ? $11 + 1 | 0 : $11; + $46 = $12; + $44 = $11; + $9 = $12; + $14 = $35; + $12 = $9 + $14 | 0; + $13 = 0; + $11 = $34; + $10 = $13 + $11 | 0; + $45 = $10; + $12 = $10 >>> 0 < $13 >>> 0 ? $12 + 1 | 0 : $12; + $47 = $12; + $11 = $12; + $10 = $11; + $13 = $45; + $14 = $38; + $9 = $13 + $14 | 0; + $10 = $9 >>> 0 < $13 >>> 0 ? $10 + 1 | 0 : $10; + $1 = $9; + $2 = $10; + $20 = (($20 + $29 | 0) + $21 | 0) - 16383 | 0; + $10 = $4; + $14 = $8; + $14 = __wasm_i64_mul($3, $10, $7, $14); + $21 = $14; + $10 = i64toi32_i32$HIGH_BITS; + $7 = $10; + $12 = $14; + $10 = $17; + $14 = $27; + $14 = __wasm_i64_mul($16, $10, $30, $14); + $13 = $14; + $11 = $12 + $13 | 0; + $10 = i64toi32_i32$HIGH_BITS; + $14 = $10; + $10 = $7; + $9 = $14 + $10 | 0; + $7 = $11; + $9 = $11 >>> 0 < $13 >>> 0 ? $9 + 1 | 0 : $9; + $8 = $9; + $12 = $10; + $13 = $21; + $10 = $11; + $21 = ($9 | 0) == ($12 | 0) & $13 >>> 0 > $10 >>> 0 | $9 >>> 0 < $12 >>> 0; + $10 = $6; + $9 = $22; + $9 = __wasm_i64_mul($5, $10, $23, $9); + $12 = $9; + $14 = $9 + $11 | 0; + $10 = i64toi32_i32$HIGH_BITS; + $9 = $10; + $10 = $8; + $11 = $9 + $10 | 0; + $16 = $14; + $13 = $10; + $11 = $12 >>> 0 > $14 >>> 0 ? $11 + 1 | 0 : $11; + $17 = $11; + $12 = $7; + $10 = $14; + $13 = ($13 | 0) == ($11 | 0) & $12 >>> 0 > $10 >>> 0 | $11 >>> 0 < $13 >>> 0; + $14 = 0; + $12 = $21; + $9 = $12 + $13 | 0; + $14 = $9 >>> 0 < $13 >>> 0 ? 1 : $14; + $7 = $14; + $14 = $4; + $12 = $27; + $12 = __wasm_i64_mul($3, $14, $30, $12); + $13 = $12; + $11 = $13 + $9 | 0; + $14 = i64toi32_i32$HIGH_BITS; + $12 = $14; + $14 = $7; + $9 = $12 + $14 | 0; + $21 = $11; + $9 = $11 >>> 0 < $13 >>> 0 ? $9 + 1 | 0 : $9; + $38 = $9; + $9 = $41; + $10 = $40; + $13 = $39; + $14 = $37; + $7 = ($9 | 0) == ($10 | 0) & $13 >>> 0 > $14 >>> 0 | $9 >>> 0 < $10 >>> 0; + $14 = $24; + $13 = $25; + $10 = $37; + $9 = ($14 | 0) == ($9 | 0) & $13 >>> 0 < $10 >>> 0 | $9 >>> 0 > $14 >>> 0; + $11 = 0; + $10 = $7; + $12 = $9 + $10 | 0; + $7 = $12; + $11 = $9 >>> 0 > $12 >>> 0 ? 1 : $11; + $10 = $11; + $11 = $17; + $12 = $11 + $10 | 0; + $9 = $7; + $13 = $16; + $14 = $9 + $13 | 0; + $7 = $14; + $12 = $9 >>> 0 > $14 >>> 0 ? $12 + 1 | 0 : $12; + $8 = $12; + $13 = $11; + $9 = $16; + $11 = $14; + $13 = ($12 | 0) == ($13 | 0) & $9 >>> 0 > $11 >>> 0 | $12 >>> 0 < $13 >>> 0; + $11 = $38; + $9 = $21; + $10 = $9 + $13 | 0; + $17 = $10; + $14 = $10 >>> 0 < $13 >>> 0 ? $11 + 1 | 0 : $11; + $16 = $14; + $14 = $6; + $9 = $27; + $9 = __wasm_i64_mul($5, $14, $30, $9); + $5 = $9; + $14 = i64toi32_i32$HIGH_BITS; + $6 = $14; + $14 = $4; + $9 = $22; + $9 = __wasm_i64_mul($3, $14, $23, $9); + $13 = $9; + $14 = i64toi32_i32$HIGH_BITS; + $9 = $14; + $14 = $6; + $10 = $9 + $14 | 0; + $11 = $5; + $12 = $13 + $11 | 0; + $10 = $12 >>> 0 < $13 >>> 0 ? $10 + 1 | 0 : $10; + $3 = $12; + $11 = $14; + $4 = $10; + $13 = $5; + $13 = ($11 | 0) == ($10 | 0) & $13 >>> 0 > $12 >>> 0 | $10 >>> 0 < $11 >>> 0; + $10 = $13; + $13 = 0; + $14 = $13; + $14 = $10 | $14; + $5 = $14; + $13 = $17; + $10 = $4; + $11 = $10; + $10 = 0; + $11 = $11 | $10; + $9 = $13 + $11 | 0; + $14 = $16; + $10 = $5; + $12 = $14 + $10 | 0; + $5 = $9; + $12 = $9 >>> 0 < $11 >>> 0 ? $12 + 1 | 0 : $12; + $6 = $12; + $14 = $3; + $12 = $8; + $13 = $12; + $9 = $12 + $14 | 0; + $12 = $7; + $11 = 0; + $10 = $12 + $11 | 0; + $3 = $10; + $9 = $10 >>> 0 < $11 >>> 0 ? $9 + 1 | 0 : $9; + $4 = $9; + $12 = $13; + $11 = $7; + $12 = ($9 | 0) == ($12 | 0) & $10 >>> 0 < $11 >>> 0 | $9 >>> 0 < $12 >>> 0; + $13 = $6; + $10 = $13; + $11 = $5; + $14 = $12 + $11 | 0; + $5 = $14; + $10 = $12 >>> 0 > $14 >>> 0 ? $10 + 1 | 0 : $10; + $6 = $10; + $11 = $44; + $10 = $31; + $12 = $46; + $13 = $36; + $7 = ($11 | 0) == ($10 | 0) & $12 >>> 0 < $13 >>> 0 | $10 >>> 0 > $11 >>> 0; + $13 = $33; + $10 = $43; + $12 = $32; + $11 = $42; + $8 = ($13 | 0) == ($10 | 0) & $12 >>> 0 < $11 >>> 0 | $10 >>> 0 > $13 >>> 0; + $12 = $13; + $13 = $31; + $11 = $32; + $10 = $36; + $13 = ($12 | 0) == ($13 | 0) & $11 >>> 0 > $10 >>> 0 | $12 >>> 0 > $13 >>> 0; + $14 = 0; + $10 = $8; + $9 = $13 + $10 | 0; + $14 = $9 >>> 0 < $13 >>> 0 ? 1 : $14; + $13 = $9; + $10 = $14; + $9 = $10; + $11 = $7; + $12 = $13 + $11 | 0; + $11 = $12; + $14 = 0; + $9 = $14; + $9 = $9 | $11; + $7 = $9; + $11 = $44; + $13 = $11; + $11 = $18; + $13 = $13 | $11; + $14 = $3; + $10 = $13 + $14 | 0; + $9 = $4; + $11 = $7; + $12 = $9 + $11 | 0; + $7 = $10; + $12 = $10 >>> 0 < $13 >>> 0 ? $12 + 1 | 0 : $12; + $8 = $12; + $14 = $9; + $9 = $10; + $13 = $3; + $14 = ($12 | 0) == ($14 | 0) & $9 >>> 0 < $13 >>> 0 | $12 >>> 0 < $14 >>> 0; + $9 = $6; + $13 = $5; + $11 = $13 + $14 | 0; + $10 = $11 >>> 0 < $14 >>> 0 ? $9 + 1 | 0 : $9; + $5 = $11; + $6 = $10; + $13 = $35; + $10 = $24; + $9 = $25; + $14 = $34; + $3 = ($13 | 0) == ($10 | 0) & $9 >>> 0 > $14 >>> 0 | $10 >>> 0 > $13 >>> 0; + $9 = $13; + $10 = $47; + $13 = $45; + $10 = ($9 | 0) == ($10 | 0) & $14 >>> 0 > $13 >>> 0 | $9 >>> 0 > $10 >>> 0; + $11 = 0; + $13 = $3; + $12 = $13 + $10 | 0; + $11 = $12 >>> 0 < $10 >>> 0 ? 1 : $11; + $10 = $12; + $13 = $11; + $11 = $8; + $12 = $13 + $11 | 0; + $14 = $7; + $9 = $14 + $10 | 0; + $12 = $9 >>> 0 < $10 >>> 0 ? $12 + 1 | 0 : $12; + $3 = $9; + $4 = $12; + $14 = $11; + $10 = $7; + $14 = ($12 | 0) == ($14 | 0) & $9 >>> 0 < $10 >>> 0 | $12 >>> 0 < $14 >>> 0; + $11 = $6; + $9 = $11; + $10 = $5; + $13 = $14 + $10 | 0; + $9 = $13 >>> 0 < $14 >>> 0 ? $9 + 1 | 0 : $9; + $7 = $13; + $8 = $9; + $10 = $9 & 65536; + label$13: { + if ($10) { + $20 = $20 + 1 | 0; + break label$13; + } + $10 = $26; + $5 = $10 >>> 31 | 0; + $11 = 0; + $6 = $11; + $10 = $7; + $11 = $8; + $9 = $11 << 1 | $10 >>> 31; + $8 = $9; + $9 = $4; + $14 = $9 >>> 31 | 0; + $9 = $10 << 1; + $7 = $9 | $14; + $10 = 0; + $11 = $10; + $10 = $8; + $11 = $11 | $10; + $8 = $11; + $10 = $3; + $11 = $4; + $9 = $11 << 1 | $10 >>> 31; + $4 = $9; + $9 = $2; + $14 = $9 >>> 31 | 0; + $9 = $10 << 1; + $3 = $9 | $14; + $10 = 0; + $11 = $10; + $10 = $4; + $11 = $11 | $10; + $4 = $11; + $10 = $28; + $28 = $10 << 1; + $11 = $26; + $9 = $11 << 1 | $10 >>> 31; + $26 = $9; + $9 = $2; + $11 = $1; + $10 = $9 << 1 | $11 >>> 31; + $9 = $5; + $14 = $11 << 1; + $1 = $9 | $14; + $11 = $10; + $10 = $6; + $11 = $11 | $10; + $2 = $11; + } + if (($20 | 0) >= 32767) { + $10 = $18; + $18 = $10; + $11 = $15; + $9 = $11 | 2147418112; + $15 = $9; + $1 = 0; + $2 = 0; + break label$1; + } + $9 = $15; + $5 = $9; + label$16: { + if (($20 | 0) <= 0) { + $29 = 1 - $20 | 0; + if ($29 >>> 0 >= 128) { + $1 = 0; + $2 = 0; + break label$1; + } + $9 = $26; + $10 = $2; + $20 = $20 + 127 | 0; + __ashlti3($19 + 48 | 0, $28, $9, $1, $10, $20); + $10 = $4; + $9 = $8; + __ashlti3($19 + 32 | 0, $3, $10, $7, $9, $20); + $9 = $26; + $10 = $2; + __lshrti3($19 + 16 | 0, $28, $9, $1, $10, $29); + $10 = $4; + $9 = $8; + __lshrti3($19, $3, $10, $7, $9, $29); + $11 = $19; + $9 = HEAP32[$11 + 48 >> 2]; + $1 = $9; + $10 = HEAP32[$11 + 52 >> 2]; + $2 = $10; + $10 = HEAP32[$11 + 56 >> 2]; + $14 = $10; + $9 = HEAP32[$11 + 60 >> 2]; + $10 = $9; + $9 = $2; + $10 = $9 | $10; + $11 = $1; + $9 = $11 | $14; + $3 = ($10 | $9) != 0; + $14 = $19; + $9 = HEAP32[$14 + 32 >> 2]; + $1 = $9; + $10 = HEAP32[$14 + 36 >> 2]; + $2 = $10; + $10 = HEAP32[$14 + 16 >> 2]; + $11 = $10; + $9 = HEAP32[$14 + 20 >> 2]; + $10 = $9; + $9 = $2; + $10 = $9 | $10; + $9 = $3; + $14 = $1; + $11 = $11 | $14; + $28 = $9 | $11; + $26 = $10; + $10 = $19; + $14 = HEAP32[$10 + 40 >> 2]; + $1 = $14; + $9 = HEAP32[$10 + 44 >> 2]; + $2 = $9; + $14 = HEAP32[$10 + 28 >> 2]; + $9 = HEAP32[$10 + 24 >> 2]; + $10 = $1; + $1 = $9 | $10; + $9 = $14; + $14 = $2; + $9 = $9 | $14; + $2 = $9; + $14 = $19; + $9 = HEAP32[$14 >> 2]; + $3 = $9; + $10 = HEAP32[$14 + 4 >> 2]; + $4 = $10; + $10 = HEAP32[$14 + 8 >> 2]; + $7 = $10; + $9 = HEAP32[$14 + 12 >> 2]; + break label$16; + } + $9 = $8; + $10 = $9 & 65535; + $6 = $10; + $11 = 0; + $14 = $7; + $10 = $14; + $7 = $11 | $10; + $9 = $20; + $14 = $9 << 16; + $9 = $14; + $14 = $6; + $9 = $9 | $14; + } + $8 = $9; + $11 = $7; + $14 = $18; + $18 = $11 | $14; + $9 = $5; + $10 = $8; + $10 = $9 | $10; + $15 = $10; + $10 = $26; + $5 = !($10 | $28); + $10 = $2; + $6 = ($10 | 0) > 0 | ($10 | 0) >= 0; + $11 = $1; + $9 = $2; + if (!(!$11 & ($9 | 0) == -2147483648 ? $5 : $6)) { + $11 = $4; + $14 = $3; + $12 = $14 + 1 | 0; + $13 = $12 ? $11 : $11 + 1 | 0; + $1 = $12; + $2 = $13; + $14 = $11; + $11 = $12; + $10 = $3; + $14 = ($13 | 0) == ($14 | 0) & $11 >>> 0 < $10 >>> 0 | $13 >>> 0 < $14 >>> 0; + $11 = $15; + $10 = $18; + $9 = $14 + $10 | 0; + $12 = $9 >>> 0 < $14 >>> 0 ? $11 + 1 | 0 : $11; + $18 = $9; + $15 = $12; + break label$1; + } + $12 = $2; + $10 = $12 ^ -2147483648; + $12 = $28; + $14 = $1; + $11 = $10; + $10 = $26; + $11 = $11 | $10; + if ($12 | $14 | $11) { + $1 = $3; + $11 = $4; + $2 = $11; + break label$1; + } + $12 = 0; + $1 = $12; + $11 = $4; + $12 = $11; + $11 = $3; + $10 = $11; + $14 = $10 & 1; + $13 = $10 + $14 | 0; + $10 = $1; + $9 = $10 + $12 | 0; + $1 = $13; + $9 = $13 >>> 0 < $14 >>> 0 ? $9 + 1 | 0 : $9; + $2 = $9; + $11 = $12; + $12 = $13; + $14 = $3; + $11 = ($9 | 0) == ($11 | 0) & $12 >>> 0 < $14 >>> 0 | $9 >>> 0 < $11 >>> 0; + $12 = $15; + $14 = $18; + $10 = $11 + $14 | 0; + $18 = $10; + $13 = $10 >>> 0 < $11 >>> 0 ? $12 + 1 | 0 : $12; + $15 = $13; + } + $14 = $0; + HEAP32[$14 >> 2] = $1; + $13 = $2; + HEAP32[$14 + 4 >> 2] = $13; + HEAP32[$14 + 8 >> 2] = $18; + $13 = $15; + HEAP32[$14 + 12 >> 2] = $13; + __stack_pointer = $19 + 96 | 0; +} + +function vision__OrientationAssignment__compute_28float__2c_20int__2c_20int_2c_20int_2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0, $9 = 0, $10 = Math_fround(0), $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = Math_fround(0), $16 = 0, $17 = 0, $18 = Math_fround(0), $19 = 0, $20 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $8 = __stack_pointer - 48 | 0; + __stack_pointer = $8; + label$1: { + label$2: { + if ($5 >= Math_fround(0)) { + $9 = $0 + 40 | 0; + if (Math_fround(vision__Image__width_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($9, Math_imul(HEAP32[$0 + 4 >> 2], $3) + $4 | 0)) >>> 0) > $5) { + if ($6 >= Math_fround(0)) { + if (Math_fround(vision__Image__height_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($9, Math_imul(HEAP32[$0 + 4 >> 2], $3) + $4 | 0)) >>> 0) > $6) { + $13 = std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($9, Math_imul(HEAP32[$0 + 4 >> 2], $3) + $4 | 0); + if ((vision__Image__channels_28_29_20const($13) | 0) == 2) { + HEAP32[$2 >> 2] = 0; + $10 = Math_fround($5 + Math_fround(.5)); + label$8: { + if (Math_fround(Math_abs($10)) < Math_fround(2147483648)) { + $4 = ~~$10; + break label$8; + } + $4 = -2147483648; + } + $3 = ($4 | 0) < 0; + $10 = Math_fround($6 + Math_fround(.5)); + label$10: { + if (Math_fround(Math_abs($10)) < Math_fround(2147483648)) { + $9 = ~~$10; + break label$10; + } + $9 = -2147483648; + } + if ($3) { + break label$2; + } + if (($9 | 0) < 0 | vision__Image__width_28_29_20const($13) >>> 0 <= $4 >>> 0) { + break label$2; + } + if (vision__Image__height_28_29_20const($13) >>> 0 <= $9 >>> 0) { + break label$2; + } + $11 = $0 + 28 | 0; + $7 = float_20vision__max2_float__28float_2c_20float_29(Math_fround(1), Math_fround(HEAPF32[$0 + 12 >> 2] * $7)); + $10 = float_20vision__sqr_float__28float_29($7); + $7 = Math_fround($7 * HEAPF32[$0 + 16 >> 2]); + $15 = Math_fround($7 + Math_fround(.5)); + label$12: { + if (Math_fround(Math_abs($15)) < Math_fround(2147483648)) { + $12 = ~~$15; + break label$12; + } + $12 = -2147483648; + } + $15 = ceil_28float_29(float_20vision__sqr_float__28float_29($7)); + $16 = int_20vision__max2_int__28int_2c_20int_29(0, $4 - $12 | 0); + $3 = int_20vision__min2_int__28int_2c_20int_29($4 + $12 | 0, vision__Image__width_28_29_20const($13) - 1 | 0); + $14 = int_20vision__max2_int__28int_2c_20int_29(0, $9 - $12 | 0); + $17 = int_20vision__min2_int__28int_2c_20int_29($9 + $12 | 0, vision__Image__height_28_29_20const($13) - 1 | 0); + void_20vision__ZeroVector_float__28float__2c_20unsigned_20long_29(std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($11, 0), std____2__vector_float_2c_20std____2__allocator_float____size_28_29_20const($11)); + $18 = Math_fround(Math_fround(-1) / Math_fround($10 + $10)); + label$14: while (1) { + if (($14 | 0) > ($17 | 0)) { + $4 = 0; + $3 = 0; + while (1) if (HEAP32[$0 + 20 >> 2] <= ($3 | 0)) { + $10 = Math_fround(0); + while (1) { + $3 = HEAP32[$0 + 8 >> 2]; + if (($4 | 0) >= ($3 | 0)) { + if ($10 == Math_fround(0)) { + break label$2; + } + } else { + if (HEAPF32[std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($11, $4) >> 2] > $10) { + $10 = HEAPF32[std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($11, $4) >> 2]; + } + $4 = $4 + 1 | 0; + continue; + } + break; + } + if ($10 > Math_fround(0)) { + $9 = 0; + while (1) { + $4 = $9; + if (($4 | 0) >= ($3 | 0)) { + break label$2; + } + $7 = Math_fround($4 | 0); + HEAPF32[$8 + 32 >> 2] = $7; + wasm2js_i32$0 = $8, wasm2js_f32$0 = HEAPF32[std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($11, $4) >> 2], + HEAPF32[wasm2js_i32$0 + 36 >> 2] = wasm2js_f32$0; + $3 = $4 - 1 | 0; + HEAPF32[$8 + 24 >> 2] = $3 | 0; + $9 = HEAP32[$0 + 8 >> 2]; + wasm2js_i32$0 = $8, wasm2js_f32$0 = HEAPF32[std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($11, ($9 + $3 | 0) % ($9 | 0) | 0) >> 2], + HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; + $9 = $4 + 1 | 0; + HEAPF32[$8 + 16 >> 2] = $9 | 0; + $3 = HEAP32[$0 + 8 >> 2]; + wasm2js_i32$0 = $8, wasm2js_f32$0 = HEAPF32[std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($11, ($9 + $3 | 0) % ($3 | 0) | 0) >> 2], + HEAPF32[wasm2js_i32$0 + 20 >> 2] = wasm2js_f32$0; + label$25: { + if (!(HEAPF32[std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($11, $4) >> 2] > Math_fround($10 * HEAPF32[$0 + 24 >> 2]))) { + break label$25; + } + $5 = HEAPF32[$8 + 36 >> 2]; + if (!($5 > HEAPF32[$8 + 28 >> 2]) | !(HEAPF32[$8 + 20 >> 2] < $5)) { + break label$25; + } + HEAPF32[$8 >> 2] = $7; + if (bool_20vision__Quadratic3Points_float__28float__2c_20float__2c_20float__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($8 + 12 | 0, $8 + 8 | 0, $8 + 4 | 0, $8 + 24 | 0, $8 + 32 | 0, $8 + 16 | 0)) { + bool_20vision__QuadraticCriticalPoint_float__28float__2c_20float_2c_20float_2c_20float_29($8, HEAPF32[$8 + 12 >> 2], HEAPF32[$8 + 8 >> 2], HEAPF32[$8 + 4 >> 2]); + } + $4 = HEAP32[$2 >> 2]; + $7 = Math_fround(HEAP32[$0 + 8 >> 2]); + wasm2js_i32$0 = ($4 << 2) + $1 | 0, wasm2js_f32$0 = Math_fround(fmod(+Math_fround(Math_fround(Math_fround(HEAPF32[$8 >> 2] + Math_fround(.5)) + $7) / $7) * 6.283185307179586, 6.283185307179586)), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + HEAP32[$2 >> 2] = $4 + 1; + } + $3 = HEAP32[$0 + 8 >> 2]; + continue; + } + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 13953), 1863), 3289), 218), 3786), 14479), 16); + break label$1; + } else { + HEAP32[$8 + 40 >> 2] = HEAP32[6665]; + $9 = HEAP32[6664]; + HEAP32[$8 + 32 >> 2] = HEAP32[6663]; + HEAP32[$8 + 36 >> 2] = $9; + void_20vision__SmoothOrientationHistogram_float__28float__2c_20float_20const__2c_20unsigned_20long_2c_20float_20const__29(std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($11, 0), std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($11, 0), HEAP32[$0 + 8 >> 2], $8 + 32 | 0); + $3 = $3 + 1 | 0; + continue; + } + } + $7 = float_20vision__sqr_float__28float_29(Math_fround(Math_fround($14 | 0) - $6)); + $19 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($13, $14); + $4 = $16; + while (1) { + if (($3 | 0) < ($4 | 0)) { + $14 = $14 + 1 | 0; + continue label$14; + } + $10 = Math_fround($7 + float_20vision__sqr_float__28float_29(Math_fround(Math_fround($4 | 0) - $5))); + if (!($15 < $10)) { + $10 = float_20vision__fastexp6_float__28float_29(Math_fround($18 * $10)); + $9 = ($4 << 3) + $19 | 0; + $20 = HEAPF32[$9 >> 2]; + $12 = HEAP32[$0 + 8 >> 2]; + vision__bilinear_histogram_update_28float__2c_20float_2c_20float_2c_20int_29(std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($11, 0), Math_fround(+Math_fround($20 * Math_fround($12 | 0)) * .159154943091895), Math_fround($10 * HEAPF32[$9 + 4 >> 2]), HEAP32[$0 + 8 >> 2]); + } + $4 = $4 + 1 | 0; + continue; + } + } + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 11330), 1863), 3289), 126), 3786), 11712), 16); + break label$1; } - i6 = i6 + 1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 9924), 1863), 3289), 122), 3786), 10274), 16); + break label$1; } - i4 = i4 + 1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 8482), 1863), 3289), 121), 3786), 8963), 16); + break label$1; } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 6873), 1863), 3289), 120), 3786), 7359), 16); + break label$1; } - switch (i17 | 0) { - case 5: - case 12: - case 13: - case 14: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L239; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i43 = i32 + ((Math_imul(i3, i33) | 0) + i2) | 0; - i44 = i1 + ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) << 2) | 0; - HEAP32[i44 >> 2] = (HEAP32[i44 >> 2] | 0) + (HEAPU8[i43 >> 0] | 0); - } - i6 = i6 + 1 | 0; - } - i4 = i4 + 1 | 0; - } - } - case 7: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L239; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i43 = i32 + ((Math_imul(i3, i33) | 0) + i2 << 1 | 1) | 0; - i44 = i1 + ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) << 2) | 0; - HEAP32[i44 >> 2] = (HEAP32[i44 >> 2] | 0) + (HEAPU8[i43 >> 0] | 0); - } - i6 = i6 + 1 | 0; - } - i4 = i4 + 1 | 0; - } - } - case 8: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L239; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i43 = i32 + ((Math_imul(i3, i33) | 0) + i2 << 1) | 0; - i44 = i1 + ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) << 2) | 0; - HEAP32[i44 >> 2] = (HEAP32[i44 >> 2] | 0) + (HEAPU8[i43 >> 0] | 0); - } - i6 = i6 + 1 | 0; - } - i4 = i4 + 1 | 0; - } - } - case 9: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L239; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i43 = (Math_imul(i3, i33) | 0) + i2 << 1; - i22 = HEAPU8[i32 + i43 >> 0] | 0; - i43 = HEAPU8[i32 + (i43 | 1) >> 0] | 0; - i44 = i1 + ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) << 2) | 0; - HEAP32[i44 >> 2] = ((((i22 << 5 & 224 | i43 >>> 3 & 28 | 2) + (i22 & 248 | 4) + (i43 << 3 & 248 | 4) | 0) >>> 0) / 3 | 0) + (HEAP32[i44 >> 2] | 0); - } - i6 = i6 + 1 | 0; - } - i4 = i4 + 1 | 0; - } - } - case 10: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L239; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); - } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i43 = (Math_imul(i3, i33) | 0) + i2 << 1; - i22 = HEAPU8[i32 + i43 >> 0] | 0; - i43 = HEAPU8[i32 + (i43 | 1) >> 0] | 0; - i44 = i1 + ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) << 2) | 0; - HEAP32[i44 >> 2] = ((((i22 << 5 & 224 | i43 >>> 3 & 24 | 4) + (i22 & 248 | 4) + (i43 << 2 & 248 | 4) | 0) >>> 0) / 3 | 0) + (HEAP32[i44 >> 2] | 0); - } - i6 = i6 + 1 | 0; - } - i4 = i4 + 1 | 0; - } - } - case 11: - { - d10 = d5 + 100.0; - d11 = +(i24 | 0); - d12 = +(i27 | 0); - i13 = i28 + 48 | 0; - i14 = i28 + 56 | 0; - i15 = i28 + 64 | 0; - i16 = i28 + 8 | 0; - i17 = i28 + 16 | 0; - i18 = i28 + 24 | 0; - i19 = i28 + 32 | 0; - i20 = i28 + 40 | 0; - i8 = (i22 | 0) == 1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i24 | 0)) break L239; - d9 = d10 + d23 * (+(i4 | 0) + .5) / d11; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i27 | 0)) break; - d5 = d10 + d23 * (+(i6 | 0) + .5) / d12; - d7 = +HEAPF64[i15 >> 3] + (d5 * +HEAPF64[i13 >> 3] + d9 * +HEAPF64[i14 >> 3]); - if (d7 == 0.0) { - i37 = 306; - break L19; - } - d42 = (+HEAPF64[i17 >> 3] + (d5 * +HEAPF64[i28 >> 3] + d9 * +HEAPF64[i16 >> 3])) / d7; - HEAPF32[i29 >> 2] = d42; - d5 = (+HEAPF64[i20 >> 3] + (d5 * +HEAPF64[i18 >> 3] + d9 * +HEAPF64[i19 >> 3])) / d7; - HEAPF32[i30 >> 2] = d5; - _arParamIdeal2ObservLTf(i35, d42, d5, i29, i30) | 0; - d5 = +HEAPF32[i29 >> 2]; - if (i8) { - i2 = ((~~(d5 + 1.0) | 0) / 2 | 0) << 1; - i3 = ((~~(+HEAPF32[i30 >> 2] + 1.0) | 0) / 2 | 0) << 1; - } else { - i2 = ~~(d5 + .5); - i3 = ~~(+HEAPF32[i30 >> 2] + .5); + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 5124), 1863), 3289), 119), 3786), 5677), 16); + break label$1; + } + __stack_pointer = $8 + 48 | 0; + return; + } + abort(); + abort(); +} + +function vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____query_28vision__Keyframe_96__20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 112 | 0; + __stack_pointer = $2; + $12 = $0 + 12 | 0; + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____clear_28_29($12); + HEAP32[$0 + 24 >> 2] = -1; + $16 = $0 + 28 | 0; + $13 = $0 + 788 | 0; + $11 = $0 + 652 | 0; + $9 = $0 + 636 | 0; + $10 = vision__BinaryFeatureStore__points_28_29_20const(vision__Keyframe_96___store_28_29_20const($1)); + $14 = $0 + 72 | 0; + $4 = std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________hash_map_const_iterator_28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($2 + 104 | 0, std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______begin_28_29($14)); + while (1) { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + if (std____2__operator___28std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20const__2c_20std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20const__29($4, std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________hash_map_const_iterator_28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($2 + 48 | 0, std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______end_28_29($14)))) { + $5 = vision__ScopedTimer__ScopedTimer_28char_20const__29($2 + 48 | 0, 21810); + label$11: { + if (!vision__ScopedTimer__operator_20bool_28_29($5)) { + break label$11; + } + $6 = HEAPU8[$0 + 8 | 0]; + $8 = vision__Keyframe_96___store_28_29_20const($1); + $3 = vision__Keyframe_96___store_28_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) + 4 | 0)); + if ($6) { + if (vision__BinaryFeatureMatcher_96___match_28vision__BinaryFeatureStore_20const__2c_20vision__BinaryFeatureStore_20const__2c_20vision__BinaryHierarchicalClustering_96__20const__29($9, $8, $3, vision__Keyframe_96___index_28_29_20const(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) + 4 | 0))) >>> 0 >= HEAPU32[$0 >> 2]) { + break label$11; + } + break label$3; + } + if (vision__BinaryFeatureMatcher_96___match_28vision__BinaryFeatureStore_20const__2c_20vision__BinaryFeatureStore_20const__29($9, $8, $3) >>> 0 < HEAPU32[$0 >> 2]) { + break label$3; + } + } + vision__ScopedTimer___ScopedTimer_28_29($5); + $8 = vision__BinaryFeatureStore__points_28_29(vision__Keyframe_96___store_28_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) + 4 | 0))); + $6 = -1; + $3 = vision__ScopedTimer__ScopedTimer_28char_20const__29($2 + 48 | 0, 21927); + label$13: { + if (vision__ScopedTimer__operator_20bool_28_29($3)) { + $6 = vision__FindHoughSimilarity_28vision__HoughSimilarityVoting__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20int_2c_20int_2c_20int_2c_20int_29($11, $10, $8, vision__BinaryFeatureMatcher_96___matches_28_29_20const($9), vision__Keyframe_96___width_28_29_20const($1), vision__Keyframe_96___height_28_29_20const($1), vision__Keyframe_96___width_28_29_20const(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) + 4 | 0)), vision__Keyframe_96___height_28_29_20const(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) + 4 | 0))); + $5 = 0; + if (($6 | 0) < 0) { + break label$13; + } + } + $5 = 1; + } + vision__ScopedTimer___ScopedTimer_28_29($3); + if (!$5) { + break label$2; + } + $5 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____vector_28_29($2 + 88 | 0); + $3 = vision__ScopedTimer__ScopedTimer_28char_20const__29($2 + 48 | 0, 21944); + if (vision__ScopedTimer__operator_20bool_28_29($3)) { + vision__FindHoughMatches_28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____2c_20vision__HoughSimilarityVoting_20const__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20int_2c_20float_29($5, $11, vision__BinaryFeatureMatcher_96___matches_28_29_20const($9), $6, Math_fround(1)); + } + vision__ScopedTimer___ScopedTimer_28_29($3); + $3 = vision__ScopedTimer__ScopedTimer_28char_20const__29($2 + 16 | 0, 22044); + if (vision__ScopedTimer__operator_20bool_28_29($3)) { + if (!vision__EstimateHomography_28float__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20vision__RobustHomography_float___2c_20int_2c_20int_29($2 + 48 | 0, $10, $8, $5, $13, vision__Keyframe_96___width_28_29_20const(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) + 4 | 0)), vision__Keyframe_96___height_28_29_20const(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) + 4 | 0)))) { + break label$9; + } + } + vision__ScopedTimer___ScopedTimer_28_29($3); + $3 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____vector_28_29($2); + $7 = vision__ScopedTimer__ScopedTimer_28char_20const__29($2 + 16 | 0, 22068); + if (vision__ScopedTimer__operator_20bool_28_29($7)) { + vision__FindInliers_28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____2c_20float_20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20float_29($3, $2 + 48 | 0, $10, $8, $5, HEAPF32[$0 + 4 >> 2]); + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($3) >>> 0 < HEAPU32[$0 >> 2]) { + break label$8; + } + } + vision__ScopedTimer___ScopedTimer_28_29($7); + $7 = vision__ScopedTimer__ScopedTimer_28char_20const__29($2 + 16 | 0, 22222); + if (vision__ScopedTimer__operator_20bool_28_29($7)) { + if (vision__BinaryFeatureMatcher_96___match_28vision__BinaryFeatureStore_20const__2c_20vision__BinaryFeatureStore_20const__2c_20float_20const__2c_20float_29($9, vision__Keyframe_96___store_28_29_20const($1), vision__Keyframe_96___store_28_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) + 4 | 0)), $2 + 48 | 0, Math_fround(10)) >>> 0 < HEAPU32[$0 >> 2]) { + break label$7; + } + } + vision__ScopedTimer___ScopedTimer_28_29($7); + $15 = vision__ScopedTimer__ScopedTimer_28char_20const__29($2 + 16 | 0, 22259); + label$19: { + if (vision__ScopedTimer__operator_20bool_28_29($15)) { + $6 = vision__FindHoughSimilarity_28vision__HoughSimilarityVoting__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20int_2c_20int_2c_20int_2c_20int_29($11, $10, $8, vision__BinaryFeatureMatcher_96___matches_28_29_20const($9), vision__Keyframe_96___width_28_29_20const($1), vision__Keyframe_96___height_28_29_20const($1), vision__Keyframe_96___width_28_29_20const(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) + 4 | 0)), vision__Keyframe_96___height_28_29_20const(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) + 4 | 0))); + $7 = 0; + if (($6 | 0) < 0) { + break label$19; + } + } + $7 = 1; + } + vision__ScopedTimer___ScopedTimer_28_29($15); + if (!$7) { + break label$5; + } + $7 = vision__ScopedTimer__ScopedTimer_28char_20const__29($2 + 16 | 0, 22276); + if (vision__ScopedTimer__operator_20bool_28_29($7)) { + vision__FindHoughMatches_28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____2c_20vision__HoughSimilarityVoting_20const__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20int_2c_20float_29($5, $11, vision__BinaryFeatureMatcher_96___matches_28_29_20const($9), $6, Math_fround(1)); + } + vision__ScopedTimer___ScopedTimer_28_29($7); + $6 = vision__ScopedTimer__ScopedTimer_28char_20const__29($2 + 16 | 0, 22369); + if (vision__ScopedTimer__operator_20bool_28_29($6)) { + if (!vision__EstimateHomography_28float__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20vision__RobustHomography_float___2c_20int_2c_20int_29($2 + 48 | 0, $10, $8, $5, $13, vision__Keyframe_96___width_28_29_20const(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) + 4 | 0)), vision__Keyframe_96___height_28_29_20const(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) + 4 | 0)))) { + break label$6; + } + } + vision__ScopedTimer___ScopedTimer_28_29($6); + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____clear_28_29($3); + $6 = vision__ScopedTimer__ScopedTimer_28char_20const__29($2 + 16 | 0, 22393); + if (vision__ScopedTimer__operator_20bool_28_29($6)) { + vision__FindInliers_28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____2c_20float_20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20float_29($3, $2 + 48 | 0, $10, $8, $5, HEAPF32[$0 + 4 >> 2]); + } + vision__ScopedTimer___ScopedTimer_28_29($6); + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($3) >>> 0 < HEAPU32[$0 >> 2]) { + break label$5; + } + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($3) >>> 0 <= std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($12) >>> 0) { + break label$5; + } + void_20vision__CopyVector9_float__28float__2c_20float_20const__29($16, $2 + 48 | 0); + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____swap_28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____29($12, $3); + wasm2js_i32$0 = $0, wasm2js_i32$1 = HEAP32[std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($4) >> 2], + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + break label$5; + } + __stack_pointer = $2 + 112 | 0; + $4 = HEAP32[$0 + 24 >> 2]; + return ($4 ^ -1) >>> 31 | 0; + } + vision__ScopedTimer___ScopedTimer_28_29($3); + break label$4; + } + vision__ScopedTimer___ScopedTimer_28_29($7); + break label$5; } - if ((i2 | 0) > -1 ? (i3 | 0) < (i34 | 0) & ((i3 | 0) > -1 & (i2 | 0) < (i33 | 0)) : 0) { - i43 = (Math_imul(i3, i33) | 0) + i2 << 1; - i22 = HEAPU8[i32 + i43 >> 0] | 0; - i44 = i1 + ((Math_imul((i4 | 0) / (i26 | 0) | 0, i31) | 0) + ((i6 | 0) / (i25 | 0) | 0) << 2) | 0; - HEAP32[i44 >> 2] = ((((i22 << 4 & 240 | 8) + (i22 & 240 | 8) + ((HEAP8[i32 + (i43 | 1) >> 0] & -16 | 8) & 255) | 0) >>> 0) / 3 | 0) + (HEAP32[i44 >> 2] | 0); + vision__ScopedTimer___ScopedTimer_28_29($7); + break label$5; + } + vision__ScopedTimer___ScopedTimer_28_29($6); + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t_____vector_28_29($3); + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t_____vector_28_29($5); + break label$2; + } + vision__ScopedTimer___ScopedTimer_28_29($5); + } + std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28int_29($4, 0); + continue; + } +} + +function vision__DoGPyramid__difference_image_binomial_28vision__Image__2c_20vision__Image_20const__2c_20vision__Image_20const__29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + label$10: { + label$11: { + if ((vision__Image__type_28_29_20const($1) | 0) == 2) { + if ((vision__Image__type_28_29_20const($2) | 0) != 2) { + break label$11; + } + if ((vision__Image__type_28_29_20const($3) | 0) != 2) { + break label$10; + } + if ((vision__Image__channels_28_29_20const($1) | 0) != 1) { + break label$9; + } + if ((vision__Image__channels_28_29_20const($2) | 0) != 1) { + break label$8; + } + if ((vision__Image__channels_28_29_20const($3) | 0) != 1) { + break label$7; + } + if ((vision__Image__width_28_29_20const($1) | 0) != (vision__Image__width_28_29_20const($3) | 0)) { + break label$6; + } + if ((vision__Image__height_28_29_20const($1) | 0) != (vision__Image__height_28_29_20const($3) | 0)) { + break label$5; + } + if ((vision__Image__width_28_29_20const($2) | 0) != (vision__Image__width_28_29_20const($3) | 0)) { + break label$4; + } + if ((vision__Image__height_28_29_20const($2) | 0) != (vision__Image__height_28_29_20const($3) | 0)) { + break label$3; + } + label$13: while (1) { + if (vision__Image__height_28_29_20const($2) >>> 0 <= $4 >>> 0) { + break label$2; + } + $0 = 0; + $6 = float__20vision__Image__get_float__28unsigned_20long_29($1, $4); + $7 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($2, $4); + $8 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($3, $4); + while (1) if (vision__Image__width_28_29_20const($2) >>> 0 <= $0 >>> 0) { + $4 = $4 + 1 | 0; + continue label$13; + } else { + $5 = $0 << 2; + HEAPF32[$6 + $5 >> 2] = HEAPF32[$5 + $7 >> 2] - HEAPF32[$5 + $8 >> 2]; + $0 = $0 + 1 | 0; + continue; + } + } + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 9806), 2098), 3289), 86), 3786), 10428), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 11283), 2098), 3289), 87), 3786), 10428), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 11865), 2098), 3289), 88), 3786), 10428), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 13912), 2098), 3289), 89), 3786), 14510), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 14989), 2098), 3289), 90), 3786), 14510), 16); + break label$1; } - i6 = i6 + 1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 15620), 2098), 3289), 91), 3786), 14510), 16); + break label$1; } - i4 = i4 + 1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 15951), 2098), 3289), 92), 3786), 16042), 16); + break label$1; } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 16580), 2098), 3289), 93), 3786), 16630), 16); + break label$1; } - default: - { - _arLog(0, 3, 17978, i14); - i37 = 306; - break L19; - } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 17058), 2098), 3289), 94), 3786), 16042), 16); + break label$1; } - } while (0); - i3 = Math_imul(i26, i25) | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == (i21 | 0)) break; - HEAP8[i36 + i2 >> 0] = ((HEAP32[i1 + (i2 << 2) >> 2] | 0) >>> 0) / (i3 >>> 0) | 0; - i2 = i2 + 1 | 0; - } - _free(i1); - i1 = 0; - } while (0); - if ((i37 | 0) == 306) { - _free(i1); - i1 = -1; - } - STACKTOP = i38; - return i1 | 0; -} - -function __ZN6vision25DoGScaleInvariantDetector15extractFeaturesEPKNS_25GaussianScaleSpacePyramidEPKNS_10DoGPyramidE(i1, i43, i51) { - i1 = i1 | 0; - i43 = i43 | 0; - i51 = i51 | 0; - var d2 = 0.0, d3 = 0.0, i4 = 0, i5 = 0, d6 = 0.0, i7 = 0, i8 = 0, d9 = 0.0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, d57 = 0.0, i58 = 0, i59 = 0, d60 = 0.0; - i59 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i52 = i59; - i54 = i1 + 60 | 0; - i55 = i1 + 64 | 0; - HEAP32[i55 >> 2] = HEAP32[i54 >> 2]; - d57 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i1 + 52 >> 2]); - i44 = i1 + 32 | 0; - i45 = i52 + 12 | 0; - i47 = i52 + 16 | 0; - i48 = i52 + 24 | 0; - i49 = i52 + 28 | 0; - i50 = i52 + 4 | 0; - i27 = i1 + 68 | 0; - i28 = i52 + 12 | 0; - i29 = i52 + 16 | 0; - i30 = i52 + 24 | 0; - i31 = i52 + 28 | 0; - i32 = i52 + 4 | 0; - i33 = i52 + 12 | 0; - i34 = i52 + 16 | 0; - i35 = i52 + 24 | 0; - i36 = i52 + 28 | 0; - i37 = i52 + 4 | 0; - i1 = 1; - L1 : while (1) { - if (i1 >>> 0 >= ((__ZNK6vision10DoGPyramid4sizeEv(i44) | 0) + -1 | 0) >>> 0) { - i58 = 3; - break; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 17389), 2098), 3289), 95), 3786), 16630), 16); + break label$1; } - i38 = __ZNK6vision10DoGPyramid3getEm(i51, i1 + -1 | 0) | 0; - i39 = __ZNK6vision10DoGPyramid3getEm(i51, i1) | 0; - i40 = i1 + 1 | 0; - i41 = __ZNK6vision10DoGPyramid3getEm(i51, i40) | 0; - i42 = __ZNK6vision10DoGPyramid15octaveFromIndexEi(i51, i1) | 0; - i26 = __ZNK6vision10DoGPyramid14scaleFromIndexEi(i51, i1) | 0; - i25 = __ZNK6vision5Image5widthEv(i38) | 0; - L4 : do if ((i25 | 0) == (__ZNK6vision5Image5widthEv(i39) | 0) ? (i25 = __ZNK6vision5Image5widthEv(i38) | 0, (i25 | 0) == (__ZNK6vision5Image5widthEv(i41) | 0)) : 0) { - i25 = __ZNK6vision5Image6heightEv(i38) | 0; - if ((i25 | 0) != (__ZNK6vision5Image6heightEv(i39) | 0)) { - i58 = 7; - break L1; - } - i25 = __ZNK6vision5Image6heightEv(i38) | 0; - if ((i25 | 0) != (__ZNK6vision5Image6heightEv(i41) | 0)) { - i58 = 9; - break L1; - } - i7 = (__ZNK6vision5Image5widthEv(i39) | 0) + -1 | 0; - i8 = (__ZNK6vision5Image6heightEv(i39) | 0) + -1 | 0; - d9 = +(i26 | 0); - i1 = 1; - while (1) { - if (i1 >>> 0 >= i8 >>> 0) break L4; - i17 = i1 + -1 | 0; - i10 = __ZNK6vision5Image3getIfEEPKT_m(i38, i17) | 0; - i11 = __ZNK6vision5Image3getIfEEPKT_m(i38, i1) | 0; - i12 = i1 + 1 | 0; - i13 = __ZNK6vision5Image3getIfEEPKT_m(i38, i12) | 0; - i14 = __ZNK6vision5Image3getIfEEPKT_m(i39, i17) | 0; - i15 = __ZNK6vision5Image3getIfEEPKT_m(i39, i1) | 0; - i16 = __ZNK6vision5Image3getIfEEPKT_m(i39, i12) | 0; - i17 = __ZNK6vision5Image3getIfEEPKT_m(i41, i17) | 0; - i18 = __ZNK6vision5Image3getIfEEPKT_m(i41, i1) | 0; - i19 = __ZNK6vision5Image3getIfEEPKT_m(i41, i12) | 0; - d6 = +(i1 >>> 0); - i5 = 1; - while (1) { - if (i5 >>> 0 >= i7 >>> 0) break; - i1 = i15 + (i5 << 2) | 0; - do if (!(+__ZN6vision3sqrIfEET_S1_(+HEAPF32[i1 >> 2]) < d57)) { - d3 = +HEAPF32[i1 >> 2]; - i4 = i5 + -1 | 0; - d2 = +HEAPF32[i10 + (i4 << 2) >> 2]; - do if (((((d3 > d2 ? d3 > +HEAPF32[i10 + (i5 << 2) >> 2] : 0) ? (i46 = i5 + 1 | 0, d3 > +HEAPF32[i10 + (i46 << 2) >> 2]) : 0) ? d3 > +HEAPF32[i11 + (i4 << 2) >> 2] : 0) ? d3 > +HEAPF32[i11 + (i5 << 2) >> 2] : 0) ? d3 > +HEAPF32[i11 + (i46 << 2) >> 2] : 0) { - if (!(d3 > +HEAPF32[i13 + (i4 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i13 + (i5 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i13 + (i46 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i14 + (i4 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i14 + (i5 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i14 + (i46 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i15 + (i4 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i15 + (i46 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i16 + (i4 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i16 + (i5 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i16 + (i46 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i17 + (i4 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i17 + (i5 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i17 + (i46 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i18 + (i4 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i18 + (i5 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i18 + (i46 << 2) >> 2])) { - i58 = 42; - break; - } - if (!(d3 > +HEAPF32[i19 + (i4 << 2) >> 2])) { - i58 = 42; - break; + return; + } + abort(); + abort(); +} + +function vision__BinaryHierarchicalClustering_96___build_28vision__Node_96___2c_20unsigned_20char_20const__2c_20int_2c_20int_20const__2c_20int_29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $8 = __stack_pointer - 48 | 0; + __stack_pointer = $8; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + $6 = $0 + 12 | 0; + label$6: { + if ((int_20vision__max2_int__28int_2c_20int_29(vision__BinarykMedoids_96___k_28_29_20const($6), HEAP32[$0 + 108 >> 2]) | 0) >= ($5 | 0)) { + vision__Node_96___leaf_28bool_29($1, 1); + std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_29(vision__Node_96___reverseIndex_28_29($1), $5); + $6 = 0; + $9 = ($5 | 0) > 0 ? $5 : 0; + while (1) { + if (($6 | 0) == ($9 | 0)) { + break label$6; + } + $7 = HEAP32[($6 << 2) + $4 >> 2]; + wasm2js_i32$0 = std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29(vision__Node_96___reverseIndex_28_29($1), $6), + wasm2js_i32$1 = $7, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $6 = $6 + 1 | 0; + continue; + } } - if (!(d3 > +HEAPF32[i19 + (i5 << 2) >> 2])) { - i58 = 42; - break; + $9 = std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______unordered_map_28_29($8 + 24 | 0); + vision__BinarykMedoids_96___assign_28unsigned_20char_20const__2c_20int_2c_20int_20const__2c_20int_29($6, $2, $3, $4, $5); + $7 = vision__BinarykMedoids_96___assignment_28_29_20const($6); + if ((std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($7) | 0) != ($5 | 0)) { + break label$5; } - if (!(d3 > +HEAPF32[i19 + (i46 << 2) >> 2])) i58 = 42; - } else i58 = 42; while (0); - if ((i58 | 0) == 42) { - i58 = 0; - if (!(d3 < d2)) break; - if (!(d3 < +HEAPF32[i10 + (i5 << 2) >> 2])) break; - i1 = i5 + 1 | 0; - if (!(d3 < +HEAPF32[i10 + (i1 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i11 + (i4 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i11 + (i5 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i11 + (i1 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i13 + (i4 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i13 + (i5 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i13 + (i1 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i14 + (i4 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i14 + (i5 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i14 + (i1 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i15 + (i4 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i15 + (i1 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i16 + (i4 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i16 + (i5 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i16 + (i1 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i17 + (i4 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i17 + (i5 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i17 + (i1 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i18 + (i4 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i18 + (i5 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i18 + (i1 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i19 + (i4 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i19 + (i5 << 2) >> 2])) break; - if (!(d3 < +HEAPF32[i19 + (i1 << 2) >> 2])) break; - } - HEAP32[i45 >> 2] = i42; - HEAP32[i47 >> 2] = i26; - HEAPF32[i48 >> 2] = d3; - d24 = +__ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf(i43, i42, d9); - HEAPF32[i49 >> 2] = d24; - __ZN6vision23bilinear_upsample_pointERfS0_ffi(i52, i50, +(i5 >>> 0), d6, i42); - i1 = HEAP32[i55 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i27 >> 2] | 0)) { - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_(i54, i52); - break; - } else { - i4 = i52; - i25 = i1 + 36 | 0; - do { - HEAP32[i1 >> 2] = HEAP32[i4 >> 2]; - i1 = i1 + 4 | 0; - i4 = i4 + 4 | 0; - } while ((i1 | 0) < (i25 | 0)); - HEAP32[i55 >> 2] = (HEAP32[i55 >> 2] | 0) + 36; - break; - } - } while (0); - i5 = i5 + 1 | 0; - } - i1 = i12; - } - } else i58 = 72; while (0); - L76 : do if ((i58 | 0) == 72) { - i58 = 0; - i25 = __ZNK6vision5Image5widthEv(i38) | 0; - if ((i25 | 0) == (__ZNK6vision5Image5widthEv(i39) | 0) ? (i25 = (__ZNK6vision5Image5widthEv(i39) | 0) >>> 1, (i25 | 0) == (__ZNK6vision5Image5widthEv(i41) | 0)) : 0) { - i25 = __ZNK6vision5Image6heightEv(i38) | 0; - if ((i25 | 0) != (__ZNK6vision5Image6heightEv(i39) | 0)) { - i58 = 75; - break L1; - } - i25 = (__ZNK6vision5Image6heightEv(i39) | 0) >>> 1; - if ((i25 | 0) != (__ZNK6vision5Image6heightEv(i41) | 0)) { - i58 = 77; - break L1; - } - i8 = ~~+Math_floor(+((+(((__ZNK6vision5Image5widthEv(i41) | 0) + -1 | 0) >>> 0) + -.5) * 2.0 + .5)) >>> 0; - i10 = ~~+Math_floor(+((+(((__ZNK6vision5Image6heightEv(i41) | 0) + -1 | 0) >>> 0) + -.5) * 2.0 + .5)) >>> 0; - d24 = +(i26 | 0); - i1 = 2; - while (1) { - if (i1 >>> 0 >= i10 >>> 0) break L76; - i15 = i1 + -1 | 0; - i11 = __ZNK6vision5Image3getIfEEPKT_m(i38, i15) | 0; - i12 = __ZNK6vision5Image3getIfEEPKT_m(i38, i1) | 0; - i13 = i1 + 1 | 0; - i14 = __ZNK6vision5Image3getIfEEPKT_m(i38, i13) | 0; - i15 = __ZNK6vision5Image3getIfEEPKT_m(i39, i15) | 0; - i16 = __ZNK6vision5Image3getIfEEPKT_m(i39, i1) | 0; - i17 = __ZNK6vision5Image3getIfEEPKT_m(i39, i13) | 0; - d20 = +(i1 >>> 0); - d21 = d20 * .5 + -.25; - d22 = d21 + -.5; - d23 = d21 + .5; - i7 = 2; - while (1) { - if (i7 >>> 0 >= i8 >>> 0) break; - i5 = i16 + (i7 << 2) | 0; - do if (!(+__ZN6vision3sqrIfEET_S1_(+HEAPF32[i5 >> 2]) < d57)) { - d6 = +(i7 >>> 0); - d9 = d6 * .5 + -.25; - d2 = +HEAPF32[i5 >> 2]; - i4 = i7 + -1 | 0; - i1 = i11 + (i4 << 2) | 0; - do if (((d2 > +HEAPF32[i1 >> 2] ? d2 > +HEAPF32[i11 + (i7 << 2) >> 2] : 0) ? (i53 = i7 + 1 | 0, d2 > +HEAPF32[i11 + (i53 << 2) >> 2]) : 0) ? d2 > +HEAPF32[i12 + (i4 << 2) >> 2] : 0) { - if (!(d2 > +HEAPF32[i12 + (i7 << 2) >> 2])) { - i58 = 110; - break; - } - if (!(d2 > +HEAPF32[i12 + (i53 << 2) >> 2])) { - i58 = 110; + $6 = 0; + label$9: { + while (1) { + label$11: { + if (std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($7) >>> 0 <= $6 >>> 0) { + if ((std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______size_28_29_20const($9) | 0) != 1) { + break label$11; + } + vision__Node_96___leaf_28bool_29($1, 1); + std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_29(vision__Node_96___reverseIndex_28_29($1), $5); + $6 = 0; + $3 = ($5 | 0) > 0 ? $5 : 0; + while (1) { + if (($3 | 0) == ($6 | 0)) { + break label$9; + } + $7 = HEAP32[($6 << 2) + $4 >> 2]; + wasm2js_i32$0 = std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29(vision__Node_96___reverseIndex_28_29($1), $6), + wasm2js_i32$1 = $7, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $6 = $6 + 1 | 0; + continue; + } + } + if (HEAP32[std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29_20const($7, $6) >> 2] == -1) { + break label$4; + } + if (HEAP32[std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29_20const($7, $6) >> 2] >= ($5 | 0)) { + break label$3; + } + if (HEAP32[(HEAP32[std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29_20const($7, $6) >> 2] << 2) + $4 >> 2] >= ($3 | 0)) { + break label$2; + } + std____2__vector_int_2c_20std____2__allocator_int____push_back_28int_20const__29(std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______operator_5b_5d_28int_20const__29($9, (HEAP32[std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29_20const($7, $6) >> 2] << 2) + $4 | 0), ($6 << 2) + $4 | 0); + $6 = $6 + 1 | 0; + continue; + } break; } - if (!(d2 > +HEAPF32[i14 + (i4 << 2) >> 2])) { - i58 = 110; - break; + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______reserve_28unsigned_20long_29(vision__Node_96___children_28_29($1), std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______size_28_29_20const($9)); + $6 = std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________hash_map_const_iterator_28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______29($8 + 16 | 0, std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______begin_28_29($9)); + while (1) { + if (!std____2__operator___28std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20const__2c_20std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20const__29($6, std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________hash_map_const_iterator_28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______29($8 + 8 | 0, std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______end_28_29($9)))) { + break label$9; + } + if (!std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const(std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29_20const($6) + 4 | 0)) { + break label$1; + } + $7 = vision__Node_96___Node_28int_2c_20unsigned_20char_20const__29(operator_20new_28unsigned_20long_29(128), vision__BinaryHierarchicalClustering_96___nextNodeId_28_29($0), Math_imul(HEAP32[std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29_20const($6) >> 2], 96) + $2 | 0); + HEAP32[$8 + 8 >> 2] = $7; + vision__Node_96___leaf_28bool_29($7, 0); + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______push_back_28vision__Node_96___20const__29(vision__Node_96___children_28_29($1), $8 + 8 | 0); + $7 = std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29_20const($6); + $7 = $7 + 4 | 0; + vision__BinaryHierarchicalClustering_96___build_28vision__Node_96___2c_20unsigned_20char_20const__2c_20int_2c_20int_20const__2c_20int_29($0, HEAP32[$8 + 8 >> 2], $2, $3, std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29_20const($7, 0), std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($7)); + std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28int_29($6, 0); + continue; } - if (!(d2 > +HEAPF32[i14 + (i7 << 2) >> 2])) { - i58 = 110; - break; - } - if (!(d2 > +HEAPF32[i14 + (i53 << 2) >> 2])) { - i58 = 110; - break; - } - if (!(d2 > +HEAPF32[i15 + (i4 << 2) >> 2])) { - i58 = 110; - break; - } - if (!(d2 > +HEAPF32[i15 + (i7 << 2) >> 2])) { - i58 = 110; - break; - } - if (!(d2 > +HEAPF32[i15 + (i53 << 2) >> 2])) { - i58 = 110; - break; - } - if (!(d2 > +HEAPF32[i16 + (i4 << 2) >> 2])) { - i58 = 110; - break; - } - if (!(d2 > +HEAPF32[i16 + (i53 << 2) >> 2])) { - i58 = 110; - break; - } - if (!(d2 > +HEAPF32[i17 + (i4 << 2) >> 2])) { - i58 = 110; - break; - } - if (!(d2 > +HEAPF32[i17 + (i7 << 2) >> 2])) { - i58 = 110; - break; - } - if (!(d2 > +HEAPF32[i17 + (i53 << 2) >> 2])) { - i58 = 110; - break; - } - d3 = d9 + -.5; - if (!(d2 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d3, d22))) { - i58 = 110; - break; - } - d2 = +HEAPF32[i5 >> 2]; - if (!(d2 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d9, d22))) { - i58 = 110; - break; - } - d60 = +HEAPF32[i5 >> 2]; - d2 = d9 + .5; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d2, d22))) { - i58 = 110; - break; - } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d3, d21))) { - i58 = 110; - break; - } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d9, d21))) { - i58 = 110; - break; - } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d2, d21))) { - i58 = 110; - break; - } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d3, d23))) { - i58 = 110; - break; - } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d9, d23))) { - i58 = 110; - break; - } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d2, d23))) i58 = 110; - } else i58 = 110; while (0); - if ((i58 | 0) == 110) { - i58 = 0; - d2 = +HEAPF32[i5 >> 2]; - if (!(d2 < +HEAPF32[i1 >> 2])) break; - if (!(d2 < +HEAPF32[i11 + (i7 << 2) >> 2])) break; - i1 = i7 + 1 | 0; - if (!(d2 < +HEAPF32[i11 + (i1 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i12 + (i4 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i12 + (i7 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i12 + (i1 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i14 + (i4 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i14 + (i7 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i14 + (i1 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i15 + (i4 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i15 + (i7 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i15 + (i1 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i16 + (i4 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i16 + (i1 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i17 + (i4 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i17 + (i7 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i17 + (i1 << 2) >> 2])) break; - d3 = d9 + -.5; - if (!(d2 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d3, d22))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d9, d22))) break; - d60 = +HEAPF32[i5 >> 2]; - d2 = d9 + .5; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d2, d22))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d3, d21))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d9, d21))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d2, d21))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d3, d23))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d9, d23))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i41, d2, d23))) break; - } - HEAP32[i28 >> 2] = i42; - HEAP32[i29 >> 2] = i26; - HEAP32[i30 >> 2] = HEAP32[i5 >> 2]; - d60 = +__ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf(i43, i42, d24); - HEAPF32[i31 >> 2] = d60; - __ZN6vision23bilinear_upsample_pointERfS0_ffi(i52, i32, d6, d20, i42); - i1 = HEAP32[i55 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i27 >> 2] | 0)) { - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_(i54, i52); - break; - } else { - i4 = i52; - i25 = i1 + 36 | 0; - do { - HEAP32[i1 >> 2] = HEAP32[i4 >> 2]; - i1 = i1 + 4 | 0; - i4 = i4 + 4 | 0; - } while ((i1 | 0) < (i25 | 0)); - HEAP32[i55 >> 2] = (HEAP32[i55 >> 2] | 0) + 36; - break; } - } while (0); - i7 = i7 + 1 | 0; + std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int________unordered_map_28_29($9); + } + __stack_pointer = $8 + 48 | 0; + return; } - i1 = i13; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 16224), 16423), 9176), 363), 10040), 16691), 16); + abort(); + abort(); } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 17015), 16423), 9176), 365), 10040), 17235), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 17591), 16423), 9176), 366), 10040), 17662), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 17978), 16423), 9176), 367), 10040), 17662), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 18244), 16423), 9176), 387), 10040), 18445), 16); + abort(); + abort(); +} + +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______emplace_unique_key_args_int_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28int_20const__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $7 = __stack_pointer - 32 | 0; + __stack_pointer = $7; + $9 = std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____hash_function_28_29($1), $2); + $8 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____bucket_count_28_29_20const($1); + HEAP8[$7 + 31 | 0] = 0; + label$1: { + label$2: { + if (!$8) { + break label$2; } - i25 = (__ZNK6vision5Image5widthEv(i38) | 0) >>> 1; - if ((i25 | 0) == (__ZNK6vision5Image5widthEv(i39) | 0) ? (i25 = (__ZNK6vision5Image5widthEv(i38) | 0) >>> 1, (i25 | 0) == (__ZNK6vision5Image5widthEv(i41) | 0)) : 0) { - i25 = (__ZNK6vision5Image6heightEv(i38) | 0) >>> 1; - if ((i25 | 0) != (__ZNK6vision5Image6heightEv(i39) | 0)) { - i58 = 144; - break L1; + $10 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($9, $8); + $6 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10) >> 2]; + if (!$6) { + break label$2; + } + while (1) { + $6 = HEAP32[$6 >> 2]; + if (!$6) { + break label$2; } - i25 = (__ZNK6vision5Image6heightEv(i38) | 0) >>> 1; - if ((i25 | 0) != (__ZNK6vision5Image6heightEv(i41) | 0)) { - i58 = 146; - break L1; + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const($6) | 0) != ($9 | 0)) { + if ((std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const($6), $8) | 0) != ($10 | 0)) { + break label$2; + } } - i8 = (__ZNK6vision5Image5widthEv(i39) | 0) + -1 | 0; - i10 = (__ZNK6vision5Image6heightEv(i39) | 0) + -1 | 0; - d22 = +(i26 | 0); - i1 = 1; - while (1) { - if (i1 >>> 0 >= i10 >>> 0) break L76; - i15 = i1 + -1 | 0; - i11 = __ZNK6vision5Image3getIfEEPKT_m(i39, i15) | 0; - i12 = __ZNK6vision5Image3getIfEEPKT_m(i39, i1) | 0; - i13 = i1 + 1 | 0; - i14 = __ZNK6vision5Image3getIfEEPKT_m(i39, i13) | 0; - i15 = __ZNK6vision5Image3getIfEEPKT_m(i41, i15) | 0; - i16 = __ZNK6vision5Image3getIfEEPKT_m(i41, i1) | 0; - i17 = __ZNK6vision5Image3getIfEEPKT_m(i41, i13) | 0; - d23 = +(i1 << 1 >>> 0) + .5; - d9 = +(i1 >>> 0); - d20 = d23 + -2.0; - d21 = d23 + 2.0; - i7 = 1; - while (1) { - if (i7 >>> 0 >= i8 >>> 0) break; - i5 = i12 + (i7 << 2) | 0; - do if (!(+__ZN6vision3sqrIfEET_S1_(+HEAPF32[i5 >> 2]) < d57)) { - d6 = +(i7 << 1 >>> 0) + .5; - d2 = +HEAPF32[i5 >> 2]; - i4 = i7 + -1 | 0; - i1 = i11 + (i4 << 2) | 0; - do if (((d2 > +HEAPF32[i1 >> 2] ? d2 > +HEAPF32[i11 + (i7 << 2) >> 2] : 0) ? (i56 = i7 + 1 | 0, d2 > +HEAPF32[i11 + (i56 << 2) >> 2]) : 0) ? d2 > +HEAPF32[i12 + (i4 << 2) >> 2] : 0) { - if (!(d2 > +HEAPF32[i12 + (i56 << 2) >> 2])) { - i58 = 179; - break; - } - if (!(d2 > +HEAPF32[i14 + (i4 << 2) >> 2])) { - i58 = 179; - break; - } - if (!(d2 > +HEAPF32[i14 + (i7 << 2) >> 2])) { - i58 = 179; - break; - } - if (!(d2 > +HEAPF32[i14 + (i56 << 2) >> 2])) { - i58 = 179; - break; - } - if (!(d2 > +HEAPF32[i15 + (i4 << 2) >> 2])) { - i58 = 179; - break; - } - if (!(d2 > +HEAPF32[i15 + (i7 << 2) >> 2])) { - i58 = 179; - break; - } - if (!(d2 > +HEAPF32[i15 + (i56 << 2) >> 2])) { - i58 = 179; - break; - } - if (!(d2 > +HEAPF32[i16 + (i4 << 2) >> 2])) { - i58 = 179; - break; - } - if (!(d2 > +HEAPF32[i16 + (i7 << 2) >> 2])) { - i58 = 179; - break; - } - if (!(d2 > +HEAPF32[i16 + (i56 << 2) >> 2])) { - i58 = 179; - break; - } - if (!(d2 > +HEAPF32[i17 + (i4 << 2) >> 2])) { - i58 = 179; - break; - } - if (!(d2 > +HEAPF32[i17 + (i7 << 2) >> 2])) { - i58 = 179; - break; - } - if (!(d2 > +HEAPF32[i17 + (i56 << 2) >> 2])) { - i58 = 179; - break; - } - d3 = d6 + -2.0; - if (!(d2 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d3, d20))) { - i58 = 179; - break; - } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d6, d20))) { - i58 = 179; - break; - } - d60 = +HEAPF32[i5 >> 2]; - d2 = d6 + 2.0; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d2, d20))) { - i58 = 179; - break; - } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d3, d23))) { - i58 = 179; - break; - } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d6, d23))) { - i58 = 179; - break; - } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d2, d23))) { - i58 = 179; - break; + if (!std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20arController__20const__2c_20int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____key_eq_28_29($1), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________upcast_28_29($6) + 8 | 0, $2)) { + continue; + } + break; + } + break label$1; + } + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______construct_node_hash_std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28unsigned_20long_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($7 + 16 | 0, $1, $9, $3, $4, $5); + $6 = HEAP32[std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____size_28_29($1) >> 2]; + $2 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____max_load_factor_28_29($1); + if (!(Math_fround($6 + 1 >>> 0) > Math_fround(HEAPF32[$2 >> 2] * Math_fround($8 >>> 0)) ? 0 : $8)) { + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2____is_hash_power2_28unsigned_20long_29($8) ^ 1 | $8 << 1, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $11 = ceil_28float_29(Math_fround(Math_fround(HEAP32[std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____size_28_29($1) >> 2] + 1 >>> 0) / HEAPF32[std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____max_load_factor_28_29($1) >> 2])); + label$7: { + if ($11 < Math_fround(4294967296) & $11 >= Math_fround(0)) { + $6 = ~~$11 >>> 0; + break label$7; + } + $6 = 0; + } + HEAP32[$7 + 8 >> 2] = $6; + std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____rehash_28unsigned_20long_29($1, HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($7 + 12 | 0, $7 + 8 | 0) >> 2]); + $8 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____bucket_count_28_29_20const($1); + $10 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($9, $8); + } + $6 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10) >> 2]; + label$9: { + if (!$6) { + $6 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______first_28_29($1 + 8 | 0)); + $9 = HEAP32[$6 >> 2]; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______operator___28_29_20const($7 + 16 | 0), + wasm2js_i32$1 = $9, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $6, wasm2js_i32$1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________ptr_28_29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______get_28_29_20const($7 + 16 | 0)), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!HEAP32[std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______operator___28_29_20const($7 + 16 | 0) >> 2]) { + break label$9; + } + $6 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________ptr_28_29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______get_28_29_20const($7 + 16 | 0)); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const(HEAP32[std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______operator___28_29_20const($7 + 16 | 0) >> 2]), $8)), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$9; + } + $8 = HEAP32[$6 >> 2]; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______operator___28_29_20const($7 + 16 | 0), + wasm2js_i32$1 = $8, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $6, wasm2js_i32$1 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______get_28_29_20const($7 + 16 | 0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $6 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______release_28_29($7 + 16 | 0); + $1 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____size_28_29($1); + HEAP32[$1 >> 2] = HEAP32[$1 >> 2] + 1; + HEAP8[$7 + 31 | 0] = 1; + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________unique_ptr_28_29($7 + 16 | 0); + } + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20bool__2c_20_28void__290__28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20bool__29($0, std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______29($7 + 16 | 0, $6), $7 + 31 | 0); + __stack_pointer = $7 + 32 | 0; +} + +function vision__PruneDoGFeatures_28std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________2c_20std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____2c_20std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___20const__2c_20int_2c_20int_2c_20int_2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0, $9 = Math_fround(0), $10 = Math_fround(0), $11 = Math_fround(0), $12 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f32$0 = Math_fround(0); + $8 = __stack_pointer - 32 | 0; + __stack_pointer = $8; + $9 = ceil_28float_29(Math_fround(Math_fround($5 | 0) / Math_fround($3 | 0))); + $10 = ceil_28float_29(Math_fround(Math_fround($6 | 0) / Math_fround($4 | 0))); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____clear_28_29($1); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____reserve_28unsigned_20long_29($1, $7); + $5 = Math_imul($3, $4); + $3 = 0; + while (1) { + $4 = 0; + if (std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________size_28_29_20const($0) >>> 0 <= $3 >>> 0) { + if (Math_fround(Math_abs($10)) < Math_fround(2147483648)) { + $4 = ~~$10; + } else { + $4 = -2147483648; + } + $10 = Math_fround($4 | 0); + if (Math_fround(Math_abs($9)) < Math_fround(2147483648)) { + $3 = ~~$9; + } else { + $3 = -2147483648; + } + $11 = Math_fround($3 | 0); + $4 = 0; + while (1) { + HEAP32[$8 + 28 >> 2] = $4; + if (std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($2) >>> 0 <= $4 >>> 0) { + $12 = ($7 | 0) / ($5 | 0) | 0; + $5 = 0; + label$9: while (1) { + $7 = 0; + if (std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________size_28_29_20const($0) >>> 0 <= $5 >>> 0) { + __stack_pointer = $8 + 32 | 0; + return; + } + while (1) { + if (std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______size_28_29_20const(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________operator_5b_5d_28unsigned_20long_29($0, $5)) >>> 0 <= $7 >>> 0) { + $5 = $5 + 1 | 0; + continue label$9; + } + $3 = std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______operator_5b_5d_28unsigned_20long_29(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________operator_5b_5d_28unsigned_20long_29($0, $5), $7); + wasm2js_i32$0 = $8, wasm2js_i32$1 = std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____size_28_29_20const($3), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + HEAP32[$8 + 28 >> 2] = $12; + label$13: { + $6 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($8 + 16 | 0, $8 + 28 | 0) >> 2]; + if (!$6) { + break label$13; } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d3, d21))) { - i58 = 179; - break; + $4 = std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____begin_28_29($3); + wasm2js_i32$0 = $8, wasm2js_i32$1 = std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____begin_28_29($3), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + void_20std____2__nth_element_std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long___29($4, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28long_29_20const($8 + 16 | 0, $6), std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____end_28_29($3)); + label$14: { + if (std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____size_28_29_20const($3) >>> 0 >= $6 >>> 0) { + break label$14; + } + if (HEAPF32[std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____operator_5b_5d_28unsigned_20long_29($3, 0) >> 2] >= HEAPF32[std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____operator_5b_5d_28unsigned_20long_29($3, $6) >> 2]) { + break label$14; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 21967), 2098), 3289), 661), 3786), 22025), 16); + abort(); + abort(); } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d6, d21))) { - i58 = 179; - break; + $4 = 0; + while (1) { + if (($4 | 0) == ($6 | 0)) { + break label$13; + } + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____push_back_28vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($1, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($2, HEAP32[std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____operator_5b_5d_28unsigned_20long_29($3, $4) + 4 >> 2])); + $4 = $4 + 1 | 0; + continue; } - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 > +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d2, d21))) i58 = 179; - } else i58 = 179; while (0); - if ((i58 | 0) == 179) { - i58 = 0; - d2 = +HEAPF32[i5 >> 2]; - if (!(d2 < +HEAPF32[i1 >> 2])) break; - if (!(d2 < +HEAPF32[i11 + (i7 << 2) >> 2])) break; - i1 = i7 + 1 | 0; - if (!(d2 < +HEAPF32[i11 + (i1 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i12 + (i4 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i12 + (i1 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i14 + (i4 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i14 + (i7 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i14 + (i1 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i15 + (i4 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i15 + (i7 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i15 + (i1 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i16 + (i4 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i16 + (i7 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i16 + (i1 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i17 + (i4 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i17 + (i7 << 2) >> 2])) break; - if (!(d2 < +HEAPF32[i17 + (i1 << 2) >> 2])) break; - d3 = d6 + -2.0; - if (!(d2 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d3, d20))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d6, d20))) break; - d60 = +HEAPF32[i5 >> 2]; - d2 = d6 + 2.0; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d2, d20))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d3, d23))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d6, d23))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d2, d23))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d3, d21))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d6, d21))) break; - d60 = +HEAPF32[i5 >> 2]; - if (!(d60 < +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i38, d2, d21))) break; - } - HEAP32[i33 >> 2] = i42; - HEAP32[i34 >> 2] = i26; - HEAP32[i35 >> 2] = HEAP32[i5 >> 2]; - d60 = +__ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf(i43, i42, d22); - HEAPF32[i36 >> 2] = d60; - __ZN6vision23bilinear_upsample_pointERfS0_ffi(i52, i37, +(i7 >>> 0), d9, i42); - i1 = HEAP32[i55 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i27 >> 2] | 0)) { - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_(i54, i52); - break; - } else { - i4 = i52; - i25 = i1 + 36 | 0; - do { - HEAP32[i1 >> 2] = HEAP32[i4 >> 2]; - i1 = i1 + 4 | 0; - i4 = i4 + 4 | 0; - } while ((i1 | 0) < (i25 | 0)); - HEAP32[i55 >> 2] = (HEAP32[i55 >> 2] | 0) + 36; - break; } - } while (0); - i7 = i7 + 1 | 0; + $7 = $7 + 1 | 0; + continue; + } + } + } else { + $4 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($2, HEAP32[$8 + 28 >> 2]); + $9 = Math_fround(HEAPF32[$4 + 4 >> 2] / $10); + label$17: { + if (Math_fround(Math_abs($9)) < Math_fround(2147483648)) { + $3 = ~~$9; + break label$17; + } + $3 = -2147483648; } - i1 = i13; + $9 = Math_fround(HEAPF32[$4 >> 2] / $11); + label$19: { + if (Math_fround(Math_abs($9)) < Math_fround(2147483648)) { + $6 = ~~$9; + break label$19; + } + $6 = -2147483648; + } + $3 = std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______operator_5b_5d_28unsigned_20long_29(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________operator_5b_5d_28unsigned_20long_29($0, $6), $3); + wasm2js_i32$0 = $8, wasm2js_f32$0 = abs_28float_29(HEAPF32[$4 + 24 >> 2]), HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + std____2__pair_std____2____unwrap_ref_decay_float___type_2c_20std____2____unwrap_ref_decay_unsigned_20long____type__20std____2__make_pair_float_2c_20unsigned_20long___28float___2c_20unsigned_20long__29($8 + 16 | 0, $8 + 12 | 0, $8 + 28 | 0); + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____push_back_28std____2__pair_float_2c_20unsigned_20long____29($3, $8 + 16 | 0); + $4 = HEAP32[$8 + 28 >> 2] + 1 | 0; + continue; } } - } while (0); - i1 = i40; - } - if ((i58 | 0) == 3) { - STACKTOP = i59; - return; - } else if ((i58 | 0) == 7) { - i59 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24639) | 0, 20520) | 0, 33528) | 0, 192) | 0, 33535) | 0, 24691) | 0; - __ZNKSt3__28ios_base6getlocEv(i52, i59 + (HEAP32[(HEAP32[i59 >> 2] | 0) + -12 >> 2] | 0) | 0); - i58 = __ZNKSt3__26locale9use_facetERNS0_2idE(i52, 57916) | 0; - i58 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i58 >> 2] | 0) + 28 >> 2] & 63](i58, 10) | 0; - __ZNSt3__26localeD2Ev(i52); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i59, i58) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i59) | 0; - _abort(); - } else if ((i58 | 0) == 9) { - i59 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24714) | 0, 20520) | 0, 33528) | 0, 193) | 0, 33535) | 0, 24691) | 0; - __ZNKSt3__28ios_base6getlocEv(i52, i59 + (HEAP32[(HEAP32[i59 >> 2] | 0) + -12 >> 2] | 0) | 0); - i58 = __ZNKSt3__26locale9use_facetERNS0_2idE(i52, 57916) | 0; - i58 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i58 >> 2] | 0) + 28 >> 2] & 63](i58, 10) | 0; - __ZNSt3__26localeD2Ev(i52); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i59, i58) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i59) | 0; - _abort(); - } else if ((i58 | 0) == 75) { - i59 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24639) | 0, 20520) | 0, 33528) | 0, 277) | 0, 33535) | 0, 24691) | 0; - __ZNKSt3__28ios_base6getlocEv(i52, i59 + (HEAP32[(HEAP32[i59 >> 2] | 0) + -12 >> 2] | 0) | 0); - i58 = __ZNKSt3__26locale9use_facetERNS0_2idE(i52, 57916) | 0; - i58 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i58 >> 2] | 0) + 28 >> 2] & 63](i58, 10) | 0; - __ZNSt3__26localeD2Ev(i52); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i59, i58) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i59) | 0; - _abort(); - } else if ((i58 | 0) == 77) { - i59 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24766) | 0, 20520) | 0, 33528) | 0, 278) | 0, 33535) | 0, 24691) | 0; - __ZNKSt3__28ios_base6getlocEv(i52, i59 + (HEAP32[(HEAP32[i59 >> 2] | 0) + -12 >> 2] | 0) | 0); - i58 = __ZNKSt3__26locale9use_facetERNS0_2idE(i52, 57916) | 0; - i58 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i58 >> 2] | 0) + 28 >> 2] & 63](i58, 10) | 0; - __ZNSt3__26localeD2Ev(i52); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i59, i58) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i59) | 0; - _abort(); - } else if ((i58 | 0) == 144) { - i59 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24823) | 0, 20520) | 0, 33528) | 0, 362) | 0, 33535) | 0, 24691) | 0; - __ZNKSt3__28ios_base6getlocEv(i52, i59 + (HEAP32[(HEAP32[i59 >> 2] | 0) + -12 >> 2] | 0) | 0); - i58 = __ZNKSt3__26locale9use_facetERNS0_2idE(i52, 57916) | 0; - i58 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i58 >> 2] | 0) + 28 >> 2] & 63](i58, 10) | 0; - __ZNSt3__26localeD2Ev(i52); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i59, i58) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i59) | 0; - _abort(); - } else if ((i58 | 0) == 146) { - i59 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24880) | 0, 20520) | 0, 33528) | 0, 363) | 0, 33535) | 0, 24691) | 0; - __ZNKSt3__28ios_base6getlocEv(i52, i59 + (HEAP32[(HEAP32[i59 >> 2] | 0) + -12 >> 2] | 0) | 0); - i58 = __ZNKSt3__26locale9use_facetERNS0_2idE(i52, 57916) | 0; - i58 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i58 >> 2] | 0) + 28 >> 2] & 63](i58, 10) | 0; - __ZNSt3__26localeD2Ev(i52); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i59, i58) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i59) | 0; - _abort(); - } -} -function __ZN10__cxxabiv112_GLOBAL__N_119parse_operator_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i5 = i5 | 0; - var i3 = 0, i4 = 0, i6 = 0, i7 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i4 = i6; - L1 : do if ((i2 - i1 | 0) > 1) do switch (HEAP8[i1 >> 0] | 0) { - case 97: - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 97: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 49969); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 110: - case 100: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 49980); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 78: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 49990); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 83: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50001); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - default: - break L1; - } - case 99: - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 108: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50011); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 109: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50022); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 111: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50032); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 118: - { - i3 = i5 + 63 | 0; - i7 = HEAP8[i3 >> 0] | 0; - HEAP8[i3 >> 0] = 0; - i4 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i4, i2, i5) | 0; - HEAP8[i3 >> 0] = i7; - if ((i2 | 0) == (i4 | 0)) break L1; - i3 = HEAP32[i5 + 4 >> 2] | 0; - if ((HEAP32[i5 >> 2] | 0) == (i3 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3 + -24 | 0, 0, 50042) | 0; - HEAP8[i5 + 60 >> 0] = 1; - i1 = i2; - break L1; - } - default: - break L1; - } - case 100: - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 97: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm18EEERAT__Kc(i4, 50052); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 101: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50070); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 108: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm16EEERAT__Kc(i4); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 118: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50080); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 86: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50090); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - default: - break L1; - } - case 101: - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 111: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50101); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 79: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50111); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 113: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50122); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - default: - break L1; - } - case 103: - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 101: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50133); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 116: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50144); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; + } else { + while (1) { + if (std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______size_28_29_20const(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________operator_5b_5d_28unsigned_20long_29($0, $3)) >>> 0 > $4 >>> 0) { + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____clear_28_29(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______operator_5b_5d_28unsigned_20long_29(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________operator_5b_5d_28unsigned_20long_29($0, $3), $4)); + $4 = $4 + 1 | 0; + continue; + } + break; } - default: - break L1; + $3 = $3 + 1 | 0; + continue; } - case 105: - { - if ((HEAP8[i1 + 1 >> 0] | 0) != 120) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50154); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 108: - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 101: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50165); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 105: - { - i7 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_117parse_source_nameINS0_2DbEEEPKcS4_S4_RT_(i7, i2, i5) | 0; - if ((i2 | 0) == (i7 | 0)) break L1; - i3 = HEAP32[i5 + 4 >> 2] | 0; - if ((HEAP32[i5 >> 2] | 0) == (i3 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3 + -24 | 0, 0, 50176) | 0; - i1 = i2; - break L1; - } - case 115: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50188); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 83: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm12EEERAT__Kc(i4, 50199); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 116: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50211); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - default: - break L1; - } - case 109: - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 105: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50221); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 73: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50231); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 108: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50070); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 76: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50242); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 109: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50253); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; + } +} + +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______emplace_unique_key_args_int_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28int_20const__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $7 = __stack_pointer - 32 | 0; + __stack_pointer = $7; + $9 = std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____hash_function_28_29($1), $2); + $8 = std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____bucket_count_28_29_20const($1); + HEAP8[$7 + 31 | 0] = 0; + label$1: { + label$2: { + if (!$8) { + break label$2; } - default: - break L1; - } - case 110: - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 97: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm15EEERAT__Kc(i4, 50264); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 101: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50279); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 103: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50221); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 116: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50290); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 119: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm13EEERAT__Kc(i4, 50300); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; + $10 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($9, $8); + $6 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10) >> 2]; + if (!$6) { + break label$2; } - default: - break L1; - } - case 111: - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 111: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50313); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 114: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50324); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 82: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50334); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; + while (1) { + $6 = HEAP32[$6 >> 2]; + if (!$6) { + break label$2; + } + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_28_29_20const($6) | 0) != ($9 | 0)) { + if ((std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_28_29_20const($6), $8) | 0) != ($10 | 0)) { + break label$2; + } + } + if (!std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20ARParam__20const__2c_20int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____key_eq_28_29($1), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________upcast_28_29($6) + 8 | 0, $2)) { + continue; + } + break; } - default: - break L1; - } - case 112: - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 109: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm12EEERAT__Kc(i4, 50345); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 108: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50357); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 76: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50367); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 112: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50378); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 115: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50357); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 116: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50389); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; + break label$1; + } + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______construct_node_hash_std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28unsigned_20long_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($7 + 16 | 0, $1, $9, $3, $4, $5); + $6 = HEAP32[std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____size_28_29($1) >> 2]; + $2 = std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____max_load_factor_28_29($1); + if (!(Math_fround($6 + 1 >>> 0) > Math_fround(HEAPF32[$2 >> 2] * Math_fround($8 >>> 0)) ? 0 : $8)) { + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2____is_hash_power2_28unsigned_20long_29($8) ^ 1 | $8 << 1, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $11 = ceil_28float_29(Math_fround(Math_fround(HEAP32[std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____size_28_29($1) >> 2] + 1 >>> 0) / HEAPF32[std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____max_load_factor_28_29($1) >> 2])); + label$7: { + if ($11 < Math_fround(4294967296) & $11 >= Math_fround(0)) { + $6 = ~~$11 >>> 0; + break label$7; + } + $6 = 0; + } + HEAP32[$7 + 8 >> 2] = $6; + std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____rehash_28unsigned_20long_29($1, HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($7 + 12 | 0, $7 + 8 | 0) >> 2]); + $8 = std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____bucket_count_28_29_20const($1); + $10 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($9, $8); + } + $6 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10) >> 2]; + label$9: { + if (!$6) { + $6 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______first_28_29($1 + 8 | 0)); + $9 = HEAP32[$6 >> 2]; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______operator___28_29_20const($7 + 16 | 0), + wasm2js_i32$1 = $9, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $6, wasm2js_i32$1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________ptr_28_29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______get_28_29_20const($7 + 16 | 0)), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $10), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!HEAP32[std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______operator___28_29_20const($7 + 16 | 0) >> 2]) { + break label$9; + } + $6 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________ptr_28_29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______get_28_29_20const($7 + 16 | 0)); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_28_29_20const(HEAP32[std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______operator___28_29_20const($7 + 16 | 0) >> 2]), $8)), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$9; + } + $8 = HEAP32[$6 >> 2]; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______operator___28_29_20const($7 + 16 | 0), + wasm2js_i32$1 = $8, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $6, wasm2js_i32$1 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______get_28_29_20const($7 + 16 | 0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $6 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______release_28_29($7 + 16 | 0); + $1 = std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____size_28_29($1); + HEAP32[$1 >> 2] = HEAP32[$1 >> 2] + 1; + HEAP8[$7 + 31 | 0] = 1; + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________unique_ptr_28_29($7 + 16 | 0); + } + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20bool__2c_20_28void__290__28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20bool__29($0, std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______29($7 + 16 | 0, $6), $7 + 31 | 0); + __stack_pointer = $7 + 32 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNestedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + HEAP32[$2 + 44 >> 2] = $1; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 78)) { + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseCVQualifiers_28_29($0); + if ($1) { + HEAP32[$1 + 4 >> 2] = $3; + } + label$3: { + label$4: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 79)) { + $3 = 2; + if ($1) { + break label$4; + } + break label$3; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 82); + if (!$1) { + break label$3; + } + } + HEAP8[$1 + 8 | 0] = $3; + } + HEAP32[$2 + 40 >> 2] = 0; + HEAP32[$2 + 28 >> 2] = $0; + HEAP32[$2 + 32 >> 2] = $2 + 44; + HEAP32[$2 + 24 >> 2] = $2 + 40; + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 29814); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2)) { + wasm2js_i32$0 = $2, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b4_5d__28char_20const_20_28__29_20_5b4_5d_29($0, 32750), + HEAP32[wasm2js_i32$0 + 40 >> 2] = wasm2js_i32$1; + } + $3 = $0 + 148 | 0; + label$7: { + while (1) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 76); + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 77)) { + if (HEAP32[$2 + 40 >> 2]) { + continue; + } + break label$7; + } + label$11: { + label$12: { + label$13: { + label$14: { + label$15: { + label$16: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) & 255; + switch ($1 - 67 | 0) { + case 2: + case 3: + case 4: + case 5: + break label$11; + + case 0: + break label$12; + + case 1: + break label$14; + + case 6: + break label$15; + + default: + break label$16; + } + } + label$17: { + switch ($1 - 83 | 0) { + case 0: + break label$13; + + case 1: + break label$17; + + default: + break label$11; + } + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNestedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29___lambda__28_28anonymous_20namespace_29__itanium_demangle__Node__29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__Node__29_20const($2 + 24 | 0, $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParam_28_29($0))) { + break label$7; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($3, $2 + 40 | 0); + continue; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArgs_28bool_29($0, HEAP32[$2 + 44 >> 2] != 0); + HEAP32[$2 + 12 >> 2] = $1; + if (!$1 | !HEAP32[$2 + 40 >> 2]) { + break label$7; + } + wasm2js_i32$0 = $2, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2 + 40 | 0, $2 + 12 | 0), + HEAP32[wasm2js_i32$0 + 40 >> 2] = wasm2js_i32$1; + $1 = HEAP32[$2 + 44 >> 2]; + if ($1) { + HEAP8[$1 + 1 | 0] = 1; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($3, $2 + 40 | 0); + continue; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + if (($1 | 0) == 67) { + break label$11; + } + $1 = $1 & 255; + if (($1 | 0) != 116 & ($1 | 0) != 84) { + break label$12; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNestedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29___lambda__28_28anonymous_20namespace_29__itanium_demangle__Node__29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__Node__29_20const($2 + 24 | 0, $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseDecltype_28_29($0))) { + break label$7; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($3, $2 + 40 | 0); + continue; + } + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1) | 0) == 116) { + break label$11; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSubstitution_28_29($0); + HEAP32[$2 + 12 >> 2] = $1; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNestedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29___lambda__28_28anonymous_20namespace_29__itanium_demangle__Node__29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__Node__29_20const($2 + 24 | 0, $1)) { + break label$7; + } + if (HEAP32[$2 + 40 >> 2] == ($1 | 0)) { + continue; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($3, $2 + 12 | 0); + continue; + } + if (!HEAP32[$2 + 40 >> 2]) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNestedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29___lambda__28_28anonymous_20namespace_29__itanium_demangle__Node__29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__Node__29_20const($2 + 24 | 0, $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseCtorDtorName_28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $2 + 40 | 0, HEAP32[$2 + 44 >> 2]))) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseAbiTags_28_28anonymous_20namespace_29__itanium_demangle__Node__29($0, HEAP32[$2 + 40 >> 2]); + HEAP32[$2 + 40 >> 2] = $1; + if (!$1) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($3, $2 + 40 | 0); + continue; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNestedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29___lambda__28_28anonymous_20namespace_29__itanium_demangle__Node__29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__Node__29_20const($2 + 24 | 0, $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnqualifiedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, HEAP32[$2 + 44 >> 2]))) { + break label$7; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($3, $2 + 40 | 0); + continue; + } + break; } - default: - break L1; - } - case 113: - { - if ((HEAP8[i1 + 1 >> 0] | 0) != 117) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50400); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 114: - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 109: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i4, 50410); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 77: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50420); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 115: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i4, 50431); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; - } - case 83: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm12EEERAT__Kc(i4, 50442); - i2 = i5 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i5 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i5, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - i1 = i1 + 2 | 0; - break L1; + $0 = HEAP32[$2 + 40 >> 2]; + if (!$0) { + break label$1; + } + if ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___empty_28_29_20const($3)) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___pop_back_28_29($3); + $4 = $0; + } + } + __stack_pointer = $2 + 48 | 0; + return $4; +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_2c_20char_29_20const($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 $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $7 = __stack_pointer + -64 | 0; + __stack_pointer = $7; + HEAP32[$7 + 56 >> 2] = $1; + HEAP32[$4 >> 2] = 0; + std____2__ios_base__getloc_28_29_20const($7, $3); + $8 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($7); + std____2__locale___locale_28_29($7); + label$1: { + label$2: { + label$3: { + label$4: { + switch ($6 - 65 | 0) { + case 0: + case 32: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_weekdayname_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 24 | 0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 1: + case 33: + case 39: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_monthname_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 16 | 0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 34: + $6 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 8 >> 2] + 12 >> 2]]($0 + 8 | 0) | 0; + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3, $4, $5, std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($6), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($6) + (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($6) << 2) | 0), + HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; + break label$2; + + case 35: + case 36: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_day_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 12 | 0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 3: + $6 = HEAP32[14463]; + $8 = HEAP32[14462]; + HEAP32[$7 + 24 >> 2] = $8; + HEAP32[$7 + 28 >> 2] = $6; + $8 = HEAP32[14461]; + $6 = HEAP32[14460]; + HEAP32[$7 + 16 >> 2] = $6; + HEAP32[$7 + 20 >> 2] = $8; + $6 = HEAP32[14459]; + $8 = HEAP32[14458]; + HEAP32[$7 + 8 >> 2] = $8; + HEAP32[$7 + 12 >> 2] = $6; + $8 = HEAP32[14457]; + $6 = HEAP32[14456]; + HEAP32[$7 >> 2] = $6; + HEAP32[$7 + 4 >> 2] = $8; + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3, $4, $5, $7, $7 + 32 | 0), + HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; + break label$2; + + case 5: + $6 = HEAP32[14471]; + $8 = HEAP32[14470]; + HEAP32[$7 + 24 >> 2] = $8; + HEAP32[$7 + 28 >> 2] = $6; + $8 = HEAP32[14469]; + $6 = HEAP32[14468]; + HEAP32[$7 + 16 >> 2] = $6; + HEAP32[$7 + 20 >> 2] = $8; + $6 = HEAP32[14467]; + $8 = HEAP32[14466]; + HEAP32[$7 + 8 >> 2] = $8; + HEAP32[$7 + 12 >> 2] = $6; + $8 = HEAP32[14465]; + $6 = HEAP32[14464]; + HEAP32[$7 >> 2] = $6; + HEAP32[$7 + 4 >> 2] = $8; + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3, $4, $5, $7, $7 + 32 | 0), + HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; + break label$2; + + case 7: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_hour_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 8 | 0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 8: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_12_hour_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 8 | 0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 41: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_day_year_num_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 28 | 0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 44: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_month_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 16 | 0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 12: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_minute_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 4 | 0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 45: + case 51: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_white_space_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 47: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_am_pm_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 8 | 0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 49: + $6 = __memcpy($7, 57888, 44); + wasm2js_i32$0 = $6, wasm2js_i32$1 = std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3, $4, $5, $6, $6 + 44 | 0), + HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; + break label$2; + + case 17: + HEAP32[$7 + 16 >> 2] = HEAP32[14488]; + $6 = HEAP32[14487]; + $8 = HEAP32[14486]; + HEAP32[$7 + 8 >> 2] = $8; + HEAP32[$7 + 12 >> 2] = $6; + $8 = HEAP32[14485]; + $6 = HEAP32[14484]; + HEAP32[$7 >> 2] = $6; + HEAP32[$7 + 4 >> 2] = $8; + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3, $4, $5, $7, $7 + 20 | 0), + HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; + break label$2; + + case 18: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_second_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 19: + $6 = HEAP32[14499]; + $8 = HEAP32[14498]; + HEAP32[$7 + 24 >> 2] = $8; + HEAP32[$7 + 28 >> 2] = $6; + $8 = HEAP32[14497]; + $6 = HEAP32[14496]; + HEAP32[$7 + 16 >> 2] = $6; + HEAP32[$7 + 20 >> 2] = $8; + $6 = HEAP32[14495]; + $8 = HEAP32[14494]; + HEAP32[$7 + 8 >> 2] = $8; + HEAP32[$7 + 12 >> 2] = $6; + $8 = HEAP32[14493]; + $6 = HEAP32[14492]; + HEAP32[$7 >> 2] = $6; + HEAP32[$7 + 4 >> 2] = $8; + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3, $4, $5, $7, $7 + 32 | 0), + HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; + break label$2; + + case 54: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_weekday_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 24 | 0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 55: + $4 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1, $2, $3, $4, $5) | 0; + break label$1; + + case 23: + $6 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 8 >> 2] + 24 >> 2]]($0 + 8 | 0) | 0; + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3, $4, $5, std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($6), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($6) + (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($6) << 2) | 0), + HEAP32[wasm2js_i32$0 + 56 >> 2] = wasm2js_i32$1; + break label$2; + + case 56: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_year_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 20 | 0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + case 24: + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_year4_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 20 | 0, $7 + 56 | 0, $2, $4, $8); + break label$2; + + default: + if (($6 | 0) == 37) { + break label$3; + } + break; + + case 2: + case 4: + case 6: + case 9: + case 10: + case 11: + case 13: + case 14: + case 15: + case 16: + case 20: + case 21: + case 22: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 37: + case 38: + case 40: + case 42: + case 43: + case 46: + case 48: + case 50: + case 52: + case 53: + break label$4; + } + } + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 4; + break label$2; + } + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_percent_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $7 + 56 | 0, $2, $4, $8); + } + $4 = HEAP32[$7 + 56 >> 2]; + } + __stack_pointer = $7 - -64 | 0; + return $4 | 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 $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $12 = __stack_pointer - 560 | 0; + __stack_pointer = $12; + HEAP32[$12 + 44 >> 2] = 0; + $14 = __DOUBLE_BITS($1); + $11 = i64toi32_i32$HIGH_BITS; + $10 = $11; + label$1: { + if (($11 | 0) < 0) { + $19 = 1; + $24 = 28493; + $1 = -$1; + $8 = __DOUBLE_BITS($1); + $11 = i64toi32_i32$HIGH_BITS; + $10 = $11; + break label$1; + } + if ($4 & 2048) { + $19 = 1; + $24 = 28496; + break label$1; + } + $19 = $4 & 1; + $24 = $19 ? 28499 : 28494; + $25 = !$19; + } + $11 = $10; + $8 = $11 & 2146435072; + $11 = 0; + label$4: { + if (!$11 & ($8 | 0) == 2146435072) { + $6 = $19 + 3 | 0; + pad($0, 32, $2, $6, $4 & -65537); + out($0, $24, $19); + $7 = $5 & 32; + out($0, $1 != $1 ? $7 ? 31155 : 35158 : $7 ? 31739 : 35603, 3); + pad($0, 32, $2, $6, $4 ^ 8192); + $8 = ($2 | 0) < ($6 | 0) ? $6 : $2; + break label$4; + } + $21 = $12 + 16 | 0; + label$6: { + label$7: { + label$8: { + $1 = frexp($1, $12 + 44 | 0); + $1 = $1 + $1; + if ($1 != 0) { + $6 = HEAP32[$12 + 44 >> 2]; + HEAP32[$12 + 44 >> 2] = $6 - 1; + $22 = $5 | 32; + if (($22 | 0) != 97) { + break label$8; + } + break label$6; + } + $22 = $5 | 32; + if (($22 | 0) == 97) { + break label$6; + } + $23 = HEAP32[$12 + 44 >> 2]; + $13 = ($3 | 0) < 0 ? 6 : $3; + break label$7; + } + $23 = $6 - 29 | 0; + HEAP32[$12 + 44 >> 2] = $23; + $1 = $1 * 268435456; + $13 = ($3 | 0) < 0 ? 6 : $3; } - default: - break L1; - } - case 118: - { - if (((HEAP8[i1 + 1 >> 0] | 0) + -48 | 0) >>> 0 >= 10) break L1; - i7 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_117parse_source_nameINS0_2DbEEEPKcS4_S4_RT_(i7, i2, i5) | 0; - if ((i2 | 0) == (i7 | 0)) break L1; - i3 = HEAP32[i5 + 4 >> 2] | 0; - if ((HEAP32[i5 >> 2] | 0) == (i3 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3 + -24 | 0, 0, 50042) | 0; - i1 = i2; - break L1; - } - default: - break L1; - } while (0); while (0); - STACKTOP = i6; - return i1 | 0; -} - -function _malloc(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0; - i22 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i13 = i22; - do if (i2 >>> 0 < 245) { - i10 = i2 >>> 0 < 11 ? 16 : i2 + 11 & -8; - i2 = i10 >>> 3; - i12 = HEAP32[14088] | 0; - i3 = i12 >>> i2; - if (i3 & 3 | 0) { - i1 = (i3 & 1 ^ 1) + i2 | 0; - i2 = 56392 + (i1 << 1 << 2) | 0; - i3 = i2 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - i5 = i4 + 8 | 0; - i6 = HEAP32[i5 >> 2] | 0; - if ((i6 | 0) == (i2 | 0)) HEAP32[14088] = i12 & ~(1 << i1); else { - HEAP32[i6 + 12 >> 2] = i2; - HEAP32[i3 >> 2] = i6; - } - i21 = i1 << 3; - HEAP32[i4 + 4 >> 2] = i21 | 3; - i21 = i4 + i21 + 4 | 0; - HEAP32[i21 >> 2] = HEAP32[i21 >> 2] | 1; - i21 = i5; - STACKTOP = i22; - return i21 | 0; - } - i11 = HEAP32[14090] | 0; - if (i10 >>> 0 > i11 >>> 0) { - if (i3 | 0) { - i1 = 2 << i2; - i1 = i3 << i2 & (i1 | 0 - i1); - i1 = (i1 & 0 - i1) + -1 | 0; - i8 = i1 >>> 12 & 16; - i1 = i1 >>> i8; - i3 = i1 >>> 5 & 8; - i1 = i1 >>> i3; - i6 = i1 >>> 2 & 4; - i1 = i1 >>> i6; - i2 = i1 >>> 1 & 2; - i1 = i1 >>> i2; - i4 = i1 >>> 1 & 1; - i4 = (i3 | i8 | i6 | i2 | i4) + (i1 >>> i4) | 0; - i1 = 56392 + (i4 << 1 << 2) | 0; - i2 = i1 + 8 | 0; - i6 = HEAP32[i2 >> 2] | 0; - i8 = i6 + 8 | 0; - i3 = HEAP32[i8 >> 2] | 0; - if ((i3 | 0) == (i1 | 0)) { - i2 = i12 & ~(1 << i4); - HEAP32[14088] = i2; + $16 = ($12 + 48 | 0) + (($23 | 0) < 0 ? 0 : 288) | 0; + $7 = $16; + while (1) { + if ($1 < 4294967296 & $1 >= 0) { + $6 = ~~$1 >>> 0; } else { - HEAP32[i3 + 12 >> 2] = i1; - HEAP32[i2 >> 2] = i3; - i2 = i12; - } - i21 = i4 << 3; - i7 = i21 - i10 | 0; - HEAP32[i6 + 4 >> 2] = i10 | 3; - i5 = i6 + i10 | 0; - HEAP32[i5 + 4 >> 2] = i7 | 1; - HEAP32[i6 + i21 >> 2] = i7; - if (i11 | 0) { - i4 = HEAP32[14093] | 0; - i1 = i11 >>> 3; - i3 = 56392 + (i1 << 1 << 2) | 0; - i1 = 1 << i1; - if (!(i2 & i1)) { - HEAP32[14088] = i2 | i1; - i1 = i3; - i2 = i3 + 8 | 0; - } else { - i2 = i3 + 8 | 0; - i1 = HEAP32[i2 >> 2] | 0; - } - HEAP32[i2 >> 2] = i4; - HEAP32[i1 + 12 >> 2] = i4; - HEAP32[i4 + 8 >> 2] = i1; - HEAP32[i4 + 12 >> 2] = i3; - } - HEAP32[14090] = i7; - HEAP32[14093] = i5; - i21 = i8; - STACKTOP = i22; - return i21 | 0; - } - i6 = HEAP32[14089] | 0; - if (i6) { - i3 = (i6 & 0 - i6) + -1 | 0; - i5 = i3 >>> 12 & 16; - i3 = i3 >>> i5; - i4 = i3 >>> 5 & 8; - i3 = i3 >>> i4; - i7 = i3 >>> 2 & 4; - i3 = i3 >>> i7; - i8 = i3 >>> 1 & 2; - i3 = i3 >>> i8; - i9 = i3 >>> 1 & 1; - i9 = HEAP32[56656 + ((i4 | i5 | i7 | i8 | i9) + (i3 >>> i9) << 2) >> 2] | 0; - i3 = i9; - i8 = i9; - i9 = (HEAP32[i9 + 4 >> 2] & -8) - i10 | 0; + $6 = 0; + } + HEAP32[$7 >> 2] = $6; + $7 = $7 + 4 | 0; + $1 = ($1 - +($6 >>> 0)) * 1e9; + if ($1 != 0) { + continue; + } + break; + } + label$13: { + if (($23 | 0) <= 0) { + $3 = $23; + $6 = $7; + $9 = $16; + break label$13; + } + $9 = $16; + $3 = $23; while (1) { - i2 = HEAP32[i3 + 16 >> 2] | 0; - if (!i2) { - i2 = HEAP32[i3 + 20 >> 2] | 0; - if (!i2) break; - } - i7 = (HEAP32[i2 + 4 >> 2] & -8) - i10 | 0; - i5 = i7 >>> 0 < i9 >>> 0; - i3 = i2; - i8 = i5 ? i2 : i8; - i9 = i5 ? i7 : i9; - } - i7 = i8 + i10 | 0; - if (i7 >>> 0 > i8 >>> 0) { - i5 = HEAP32[i8 + 24 >> 2] | 0; - i1 = HEAP32[i8 + 12 >> 2] | 0; - do if ((i1 | 0) == (i8 | 0)) { - i2 = i8 + 20 | 0; - i1 = HEAP32[i2 >> 2] | 0; - if (!i1) { - i2 = i8 + 16 | 0; - i1 = HEAP32[i2 >> 2] | 0; - if (!i1) { - i3 = 0; - break; - } + $3 = ($3 | 0) < 29 ? $3 : 29; + $6 = $7 - 4 | 0; + label$16: { + if ($9 >>> 0 > $6 >>> 0) { + break label$16; } + $14 = 0; while (1) { - i4 = i1 + 20 | 0; - i3 = HEAP32[i4 >> 2] | 0; - if (!i3) { - i4 = i1 + 16 | 0; - i3 = HEAP32[i4 >> 2] | 0; - if (!i3) break; else { - i1 = i3; - i2 = i4; - } + $8 = 0; + $10 = $8; + $8 = HEAP32[$6 >> 2]; + $11 = $8; + $20 = $3; + $15 = $20 & 31; + if (($20 & 63) >>> 0 >= 32) { + $8 = $11 << $15; + $20 = 0; } else { - i1 = i3; - i2 = i4; + $8 = (1 << $15) - 1 & $11 >>> 32 - $15; + $20 = $11 << $15; } - } - HEAP32[i2 >> 2] = 0; - i3 = i1; - } else { - i3 = HEAP32[i8 + 8 >> 2] | 0; - HEAP32[i3 + 12 >> 2] = i1; - HEAP32[i1 + 8 >> 2] = i3; - i3 = i1; - } while (0); - do if (i5 | 0) { - i1 = HEAP32[i8 + 28 >> 2] | 0; - i2 = 56656 + (i1 << 2) | 0; - if ((i8 | 0) == (HEAP32[i2 >> 2] | 0)) { - HEAP32[i2 >> 2] = i3; - if (!i3) { - HEAP32[14089] = i6 & ~(1 << i1); - break; + $15 = $20 + $14 | 0; + $11 = $8; + $8 = $10; + $8 = $11 + $8 | 0; + $8 = $15 >>> 0 < $20 >>> 0 ? $8 + 1 | 0 : $8; + $26 = $8; + $14 = __wasm_i64_udiv($15, $8, 1e9, 0); + $8 = i64toi32_i32$HIGH_BITS; + $10 = $8; + $20 = __wasm_i64_mul($14, $8, 1e9, 0); + $8 = i64toi32_i32$HIGH_BITS; + $27 = $8; + $11 = $15 - $20 | 0; + $8 = $26; + $15 = ($15 >>> 0 < $20 >>> 0) + $27 | 0; + HEAP32[$6 >> 2] = $11; + $6 = $6 - 4 | 0; + if ($9 >>> 0 <= $6 >>> 0) { + continue; } - } else { - i21 = i5 + 16 | 0; - HEAP32[((HEAP32[i21 >> 2] | 0) == (i8 | 0) ? i21 : i5 + 20 | 0) >> 2] = i3; - if (!i3) break; - } - HEAP32[i3 + 24 >> 2] = i5; - i1 = HEAP32[i8 + 16 >> 2] | 0; - if (i1 | 0) { - HEAP32[i3 + 16 >> 2] = i1; - HEAP32[i1 + 24 >> 2] = i3; - } - i1 = HEAP32[i8 + 20 >> 2] | 0; - if (i1 | 0) { - HEAP32[i3 + 20 >> 2] = i1; - HEAP32[i1 + 24 >> 2] = i3; - } - } while (0); - if (i9 >>> 0 < 16) { - i21 = i9 + i10 | 0; - HEAP32[i8 + 4 >> 2] = i21 | 3; - i21 = i8 + i21 + 4 | 0; - HEAP32[i21 >> 2] = HEAP32[i21 >> 2] | 1; - } else { - HEAP32[i8 + 4 >> 2] = i10 | 3; - HEAP32[i7 + 4 >> 2] = i9 | 1; - HEAP32[i7 + i9 >> 2] = i9; - if (i11 | 0) { - i4 = HEAP32[14093] | 0; - i1 = i11 >>> 3; - i3 = 56392 + (i1 << 1 << 2) | 0; - i1 = 1 << i1; - if (!(i1 & i12)) { - HEAP32[14088] = i1 | i12; - i1 = i3; - i2 = i3 + 8 | 0; - } else { - i2 = i3 + 8 | 0; - i1 = HEAP32[i2 >> 2] | 0; - } - HEAP32[i2 >> 2] = i4; - HEAP32[i1 + 12 >> 2] = i4; - HEAP32[i4 + 8 >> 2] = i1; - HEAP32[i4 + 12 >> 2] = i3; - } - HEAP32[14090] = i9; - HEAP32[14093] = i7; - } - i21 = i8 + 8 | 0; - STACKTOP = i22; - return i21 | 0; - } else i12 = i10; - } else i12 = i10; - } else i12 = i10; - } else if (i2 >>> 0 <= 4294967231) { - i2 = i2 + 11 | 0; - i10 = i2 & -8; - i4 = HEAP32[14089] | 0; - if (i4) { - i5 = 0 - i10 | 0; - i2 = i2 >>> 8; - if (i2) if (i10 >>> 0 > 16777215) i9 = 31; else { - i12 = (i2 + 1048320 | 0) >>> 16 & 8; - i16 = i2 << i12; - i8 = (i16 + 520192 | 0) >>> 16 & 4; - i16 = i16 << i8; - i9 = (i16 + 245760 | 0) >>> 16 & 2; - i9 = 14 - (i8 | i12 | i9) + (i16 << i9 >>> 15) | 0; - i9 = i10 >>> (i9 + 7 | 0) & 1 | i9 << 1; - } else i9 = 0; - i3 = HEAP32[56656 + (i9 << 2) >> 2] | 0; - L79 : do if (!i3) { - i3 = 0; - i2 = 0; - i16 = 61; - } else { - i2 = 0; - i8 = i10 << ((i9 | 0) == 31 ? 0 : 25 - (i9 >>> 1) | 0); - i6 = 0; - while (1) { - i7 = (HEAP32[i3 + 4 >> 2] & -8) - i10 | 0; - if (i7 >>> 0 < i5 >>> 0) if (!i7) { - i2 = i3; - i5 = 0; - i16 = 65; - break L79; - } else { - i2 = i3; - i5 = i7; - } - i16 = HEAP32[i3 + 20 >> 2] | 0; - i3 = HEAP32[i3 + 16 + (i8 >>> 31 << 2) >> 2] | 0; - i6 = (i16 | 0) == 0 | (i16 | 0) == (i3 | 0) ? i6 : i16; - if (!i3) { - i3 = i6; - i16 = 61; - break; - } else i8 = i8 << 1; - } - } while (0); - if ((i16 | 0) == 61) { - if ((i3 | 0) == 0 & (i2 | 0) == 0) { - i2 = 2 << i9; - i2 = (i2 | 0 - i2) & i4; - if (!i2) { - i12 = i10; - break; - } - i12 = (i2 & 0 - i2) + -1 | 0; - i7 = i12 >>> 12 & 16; - i12 = i12 >>> i7; - i6 = i12 >>> 5 & 8; - i12 = i12 >>> i6; - i8 = i12 >>> 2 & 4; - i12 = i12 >>> i8; - i9 = i12 >>> 1 & 2; - i12 = i12 >>> i9; - i3 = i12 >>> 1 & 1; - i2 = 0; - i3 = HEAP32[56656 + ((i6 | i7 | i8 | i9 | i3) + (i12 >>> i3) << 2) >> 2] | 0; - } - if (!i3) { - i8 = i2; - i7 = i5; - } else i16 = 65; - } - if ((i16 | 0) == 65) { - i6 = i3; - while (1) { - i12 = (HEAP32[i6 + 4 >> 2] & -8) - i10 | 0; - i3 = i12 >>> 0 < i5 >>> 0; - i5 = i3 ? i12 : i5; - i2 = i3 ? i6 : i2; - i3 = HEAP32[i6 + 16 >> 2] | 0; - if (!i3) i3 = HEAP32[i6 + 20 >> 2] | 0; - if (!i3) { - i8 = i2; - i7 = i5; - break; - } else i6 = i3; - } - } - if (((i8 | 0) != 0 ? i7 >>> 0 < ((HEAP32[14090] | 0) - i10 | 0) >>> 0 : 0) ? (i11 = i8 + i10 | 0, i11 >>> 0 > i8 >>> 0) : 0) { - i6 = HEAP32[i8 + 24 >> 2] | 0; - i1 = HEAP32[i8 + 12 >> 2] | 0; - do if ((i1 | 0) == (i8 | 0)) { - i2 = i8 + 20 | 0; - i1 = HEAP32[i2 >> 2] | 0; - if (!i1) { - i2 = i8 + 16 | 0; - i1 = HEAP32[i2 >> 2] | 0; - if (!i1) { - i1 = 0; break; } + $6 = $14; + if (!$6) { + break label$16; + } + $9 = $9 - 4 | 0; + HEAP32[$9 >> 2] = $6; } while (1) { - i5 = i1 + 20 | 0; - i3 = HEAP32[i5 >> 2] | 0; - if (!i3) { - i5 = i1 + 16 | 0; - i3 = HEAP32[i5 >> 2] | 0; - if (!i3) break; else { - i1 = i3; - i2 = i5; + $6 = $7; + if ($9 >>> 0 < $6 >>> 0) { + $7 = $6 - 4 | 0; + if (!HEAP32[$7 >> 2]) { + continue; } - } else { - i1 = i3; - i2 = i5; } + break; } - HEAP32[i2 >> 2] = 0; - } else { - i21 = HEAP32[i8 + 8 >> 2] | 0; - HEAP32[i21 + 12 >> 2] = i1; - HEAP32[i1 + 8 >> 2] = i21; - } while (0); - do if (i6) { - i2 = HEAP32[i8 + 28 >> 2] | 0; - i3 = 56656 + (i2 << 2) | 0; - if ((i8 | 0) == (HEAP32[i3 >> 2] | 0)) { - HEAP32[i3 >> 2] = i1; - if (!i1) { - i4 = i4 & ~(1 << i2); - HEAP32[14089] = i4; + $3 = HEAP32[$12 + 44 >> 2] - $3 | 0; + HEAP32[$12 + 44 >> 2] = $3; + $7 = $6; + if (($3 | 0) > 0) { + continue; + } + break; + } + } + if (($3 | 0) < 0) { + $17 = (($13 + 25 >>> 0) / 9 | 0) + 1 | 0; + $15 = ($22 | 0) == 102; + while (1) { + $7 = 0 - $3 | 0; + $10 = ($7 | 0) < 9 ? $7 : 9; + label$22: { + if ($6 >>> 0 <= $9 >>> 0) { + $7 = HEAP32[$9 >> 2]; + break label$22; + } + $11 = 1e9 >>> $10 | 0; + $14 = -1 << $10 ^ -1; + $3 = 0; + $7 = $9; + while (1) { + $8 = HEAP32[$7 >> 2]; + HEAP32[$7 >> 2] = ($8 >>> $10 | 0) + $3; + $3 = Math_imul($8 & $14, $11); + $7 = $7 + 4 | 0; + if ($7 >>> 0 < $6 >>> 0) { + continue; + } break; } - } else { - i21 = i6 + 16 | 0; - HEAP32[((HEAP32[i21 >> 2] | 0) == (i8 | 0) ? i21 : i6 + 20 | 0) >> 2] = i1; - if (!i1) break; - } - HEAP32[i1 + 24 >> 2] = i6; - i2 = HEAP32[i8 + 16 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 16 >> 2] = i2; - HEAP32[i2 + 24 >> 2] = i1; - } - i2 = HEAP32[i8 + 20 >> 2] | 0; - if (i2) { - HEAP32[i1 + 20 >> 2] = i2; - HEAP32[i2 + 24 >> 2] = i1; - } - } while (0); - L128 : do if (i7 >>> 0 < 16) { - i21 = i7 + i10 | 0; - HEAP32[i8 + 4 >> 2] = i21 | 3; - i21 = i8 + i21 + 4 | 0; - HEAP32[i21 >> 2] = HEAP32[i21 >> 2] | 1; - } else { - HEAP32[i8 + 4 >> 2] = i10 | 3; - HEAP32[i11 + 4 >> 2] = i7 | 1; - HEAP32[i11 + i7 >> 2] = i7; - i1 = i7 >>> 3; - if (i7 >>> 0 < 256) { - i3 = 56392 + (i1 << 1 << 2) | 0; - i2 = HEAP32[14088] | 0; - i1 = 1 << i1; - if (!(i2 & i1)) { - HEAP32[14088] = i2 | i1; - i1 = i3; - i2 = i3 + 8 | 0; - } else { - i2 = i3 + 8 | 0; - i1 = HEAP32[i2 >> 2] | 0; + $7 = HEAP32[$9 >> 2]; + if (!$3) { + break label$22; } - HEAP32[i2 >> 2] = i11; - HEAP32[i1 + 12 >> 2] = i11; - HEAP32[i11 + 8 >> 2] = i1; - HEAP32[i11 + 12 >> 2] = i3; - break; + HEAP32[$6 >> 2] = $3; + $6 = $6 + 4 | 0; } - i1 = i7 >>> 8; - if (i1) if (i7 >>> 0 > 16777215) i3 = 31; else { - i20 = (i1 + 1048320 | 0) >>> 16 & 8; - i21 = i1 << i20; - i19 = (i21 + 520192 | 0) >>> 16 & 4; - i21 = i21 << i19; - i3 = (i21 + 245760 | 0) >>> 16 & 2; - i3 = 14 - (i19 | i20 | i3) + (i21 << i3 >>> 15) | 0; - i3 = i7 >>> (i3 + 7 | 0) & 1 | i3 << 1; - } else i3 = 0; - i1 = 56656 + (i3 << 2) | 0; - HEAP32[i11 + 28 >> 2] = i3; - i2 = i11 + 16 | 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 >> 2] = 0; - i2 = 1 << i3; - if (!(i4 & i2)) { - HEAP32[14089] = i4 | i2; - HEAP32[i1 >> 2] = i11; - HEAP32[i11 + 24 >> 2] = i1; - HEAP32[i11 + 12 >> 2] = i11; - HEAP32[i11 + 8 >> 2] = i11; - break; + $3 = HEAP32[$12 + 44 >> 2] + $10 | 0; + HEAP32[$12 + 44 >> 2] = $3; + $9 = (!$7 << 2) + $9 | 0; + $7 = $15 ? $16 : $9; + $6 = $6 - $7 >> 2 > ($17 | 0) ? $7 + ($17 << 2) | 0 : $6; + if (($3 | 0) < 0) { + continue; } - i1 = HEAP32[i1 >> 2] | 0; - L145 : do if ((HEAP32[i1 + 4 >> 2] & -8 | 0) != (i7 | 0)) { - i4 = i7 << ((i3 | 0) == 31 ? 0 : 25 - (i3 >>> 1) | 0); - while (1) { - i3 = i1 + 16 + (i4 >>> 31 << 2) | 0; - i2 = HEAP32[i3 >> 2] | 0; - if (!i2) break; - if ((HEAP32[i2 + 4 >> 2] & -8 | 0) == (i7 | 0)) { - i1 = i2; - break L145; - } else { - i4 = i4 << 1; - i1 = i2; - } - } - HEAP32[i3 >> 2] = i11; - HEAP32[i11 + 24 >> 2] = i1; - HEAP32[i11 + 12 >> 2] = i11; - HEAP32[i11 + 8 >> 2] = i11; - break L128; - } while (0); - i20 = i1 + 8 | 0; - i21 = HEAP32[i20 >> 2] | 0; - HEAP32[i21 + 12 >> 2] = i11; - HEAP32[i20 >> 2] = i11; - HEAP32[i11 + 8 >> 2] = i21; - HEAP32[i11 + 12 >> 2] = i1; - HEAP32[i11 + 24 >> 2] = 0; - } while (0); - i21 = i8 + 8 | 0; - STACKTOP = i22; - return i21 | 0; - } else i12 = i10; - } else i12 = i10; - } else i12 = -1; while (0); - i3 = HEAP32[14090] | 0; - if (i3 >>> 0 >= i12 >>> 0) { - i1 = i3 - i12 | 0; - i2 = HEAP32[14093] | 0; - if (i1 >>> 0 > 15) { - i21 = i2 + i12 | 0; - HEAP32[14093] = i21; - HEAP32[14090] = i1; - HEAP32[i21 + 4 >> 2] = i1 | 1; - HEAP32[i2 + i3 >> 2] = i1; - HEAP32[i2 + 4 >> 2] = i12 | 3; - } else { - HEAP32[14090] = 0; - HEAP32[14093] = 0; - HEAP32[i2 + 4 >> 2] = i3 | 3; - i21 = i2 + i3 + 4 | 0; - HEAP32[i21 >> 2] = HEAP32[i21 >> 2] | 1; - } - i21 = i2 + 8 | 0; - STACKTOP = i22; - return i21 | 0; - } - i7 = HEAP32[14091] | 0; - if (i7 >>> 0 > i12 >>> 0) { - i19 = i7 - i12 | 0; - HEAP32[14091] = i19; - i21 = HEAP32[14094] | 0; - i20 = i21 + i12 | 0; - HEAP32[14094] = i20; - HEAP32[i20 + 4 >> 2] = i19 | 1; - HEAP32[i21 + 4 >> 2] = i12 | 3; - i21 = i21 + 8 | 0; - STACKTOP = i22; - return i21 | 0; - } - if (!(HEAP32[14206] | 0)) { - HEAP32[14208] = 4096; - HEAP32[14207] = 4096; - HEAP32[14209] = -1; - HEAP32[14210] = -1; - HEAP32[14211] = 0; - HEAP32[14199] = 0; - HEAP32[14206] = i13 & -16 ^ 1431655768; - i2 = 4096; - } else i2 = HEAP32[14208] | 0; - i8 = i12 + 48 | 0; - i9 = i12 + 47 | 0; - i6 = i2 + i9 | 0; - i5 = 0 - i2 | 0; - i10 = i6 & i5; - if (i10 >>> 0 <= i12 >>> 0) { - i21 = 0; - STACKTOP = i22; - return i21 | 0; - } - i2 = HEAP32[14198] | 0; - if (i2 | 0 ? (i11 = HEAP32[14196] | 0, i13 = i11 + i10 | 0, i13 >>> 0 <= i11 >>> 0 | i13 >>> 0 > i2 >>> 0) : 0) { - i21 = 0; - STACKTOP = i22; - return i21 | 0; - } - L178 : do if (!(HEAP32[14199] & 4)) { - i3 = HEAP32[14094] | 0; - L180 : do if (i3) { - i4 = 56800; - while (1) { - i13 = HEAP32[i4 >> 2] | 0; - if (i13 >>> 0 <= i3 >>> 0 ? (i13 + (HEAP32[i4 + 4 >> 2] | 0) | 0) >>> 0 > i3 >>> 0 : 0) break; - i2 = HEAP32[i4 + 8 >> 2] | 0; - if (!i2) { - i16 = 128; - break L180; - } else i4 = i2; - } - i1 = i6 - i7 & i5; - if (i1 >>> 0 < 2147483647) { - i2 = _sbrk(i1 | 0) | 0; - if ((i2 | 0) == ((HEAP32[i4 >> 2] | 0) + (HEAP32[i4 + 4 >> 2] | 0) | 0)) { - if ((i2 | 0) != (-1 | 0)) { - i7 = i1; - i6 = i2; - i16 = 145; - break L178; - } - } else { - i4 = i2; - i16 = 136; - } - } else i1 = 0; - } else i16 = 128; while (0); - do if ((i16 | 0) == 128) { - i3 = _sbrk(0) | 0; - if ((i3 | 0) != (-1 | 0) ? (i1 = i3, i14 = HEAP32[14207] | 0, i15 = i14 + -1 | 0, i1 = ((i15 & i1 | 0) == 0 ? 0 : (i15 + i1 & 0 - i14) - i1 | 0) + i10 | 0, i14 = HEAP32[14196] | 0, i15 = i1 + i14 | 0, i1 >>> 0 > i12 >>> 0 & i1 >>> 0 < 2147483647) : 0) { - i13 = HEAP32[14198] | 0; - if (i13 | 0 ? i15 >>> 0 <= i14 >>> 0 | i15 >>> 0 > i13 >>> 0 : 0) { - i1 = 0; break; } - i2 = _sbrk(i1 | 0) | 0; - if ((i2 | 0) == (i3 | 0)) { - i7 = i1; - i6 = i3; - i16 = 145; - break L178; - } else { - i4 = i2; - i16 = 136; - } - } else i1 = 0; - } while (0); - do if ((i16 | 0) == 136) { - i3 = 0 - i1 | 0; - if (!(i8 >>> 0 > i1 >>> 0 & (i1 >>> 0 < 2147483647 & (i4 | 0) != (-1 | 0)))) if ((i4 | 0) == (-1 | 0)) { - i1 = 0; - break; - } else { - i7 = i1; - i6 = i4; - i16 = 145; - break L178; - } - i2 = HEAP32[14208] | 0; - i2 = i9 - i1 + i2 & 0 - i2; - if (i2 >>> 0 >= 2147483647) { - i7 = i1; - i6 = i4; - i16 = 145; - break L178; - } - if ((_sbrk(i2 | 0) | 0) == (-1 | 0)) { - _sbrk(i3 | 0) | 0; - i1 = 0; - break; - } else { - i7 = i2 + i1 | 0; - i6 = i4; - i16 = 145; - break L178; - } - } while (0); - HEAP32[14199] = HEAP32[14199] | 4; - i16 = 143; - } else { - i1 = 0; - i16 = 143; - } while (0); - if (((i16 | 0) == 143 ? i10 >>> 0 < 2147483647 : 0) ? (i19 = _sbrk(i10 | 0) | 0, i15 = _sbrk(0) | 0, i17 = i15 - i19 | 0, i18 = i17 >>> 0 > (i12 + 40 | 0) >>> 0, !((i19 | 0) == (-1 | 0) | i18 ^ 1 | i19 >>> 0 < i15 >>> 0 & ((i19 | 0) != (-1 | 0) & (i15 | 0) != (-1 | 0)) ^ 1)) : 0) { - i7 = i18 ? i17 : i1; - i6 = i19; - i16 = 145; - } - if ((i16 | 0) == 145) { - i1 = (HEAP32[14196] | 0) + i7 | 0; - HEAP32[14196] = i1; - if (i1 >>> 0 > (HEAP32[14197] | 0) >>> 0) HEAP32[14197] = i1; - i9 = HEAP32[14094] | 0; - L215 : do if (i9) { - i1 = 56800; - while (1) { - i2 = HEAP32[i1 >> 2] | 0; - i3 = HEAP32[i1 + 4 >> 2] | 0; - if ((i6 | 0) == (i2 + i3 | 0)) { - i16 = 154; + } + $3 = 0; + label$25: { + if ($6 >>> 0 <= $9 >>> 0) { + break label$25; + } + $3 = Math_imul($16 - $9 >> 2, 9); + $7 = 10; + $8 = HEAP32[$9 >> 2]; + if ($8 >>> 0 < 10) { + break label$25; + } + while (1) { + $3 = $3 + 1 | 0; + $7 = Math_imul($7, 10); + if ($8 >>> 0 >= $7 >>> 0) { + continue; + } break; } - i4 = HEAP32[i1 + 8 >> 2] | 0; - if (!i4) break; else i1 = i4; - } - if (((i16 | 0) == 154 ? (i20 = i1 + 4 | 0, (HEAP32[i1 + 12 >> 2] & 8 | 0) == 0) : 0) ? i6 >>> 0 > i9 >>> 0 & i2 >>> 0 <= i9 >>> 0 : 0) { - HEAP32[i20 >> 2] = i3 + i7; - i21 = (HEAP32[14091] | 0) + i7 | 0; - i19 = i9 + 8 | 0; - i19 = (i19 & 7 | 0) == 0 ? 0 : 0 - i19 & 7; - i20 = i9 + i19 | 0; - i19 = i21 - i19 | 0; - HEAP32[14094] = i20; - HEAP32[14091] = i19; - HEAP32[i20 + 4 >> 2] = i19 | 1; - HEAP32[i9 + i21 + 4 >> 2] = 40; - HEAP32[14095] = HEAP32[14210]; - break; } - if (i6 >>> 0 < (HEAP32[14092] | 0) >>> 0) HEAP32[14092] = i6; - i3 = i6 + i7 | 0; - i1 = 56800; + $7 = ($13 - (($22 | 0) == 102 ? 0 : $3) | 0) - (($22 | 0) == 103 & ($13 | 0) != 0) | 0; + if (($7 | 0) < (Math_imul($6 - $16 >> 2, 9) - 9 | 0)) { + $8 = $7 + 9216 | 0; + $11 = ($8 | 0) / 9 | 0; + $10 = (((($23 | 0) < 0 ? 4 : 292) + $12 | 0) + ($11 << 2) | 0) - 4048 | 0; + $7 = 10; + $8 = $8 - Math_imul($11, 9) | 0; + if (($8 | 0) <= 7) { + while (1) { + $7 = Math_imul($7, 10); + $8 = $8 + 1 | 0; + if (($8 | 0) != 8) { + continue; + } + break; + } + } + $8 = HEAP32[$10 >> 2]; + $17 = ($8 >>> 0) / ($7 >>> 0) | 0; + $11 = $8 - Math_imul($7, $17) | 0; + $14 = $10 + 4 | 0; + label$30: { + if (!$11 & ($14 | 0) == ($6 | 0)) { + break label$30; + } + label$31: { + if (!($17 & 1)) { + $1 = 9007199254740992; + if (!(HEAP8[$10 - 4 | 0] & 1) | (($7 | 0) != 1e9 | $9 >>> 0 >= $10 >>> 0)) { + break label$31; + } + } + $1 = 9007199254740994; + } + $18 = ($6 | 0) == ($14 | 0) ? 1 : 1.5; + $14 = $7 >>> 1 | 0; + $18 = $11 >>> 0 < $14 >>> 0 ? .5 : ($14 | 0) == ($11 | 0) ? $18 : 1.5; + if (!(HEAPU8[$24 | 0] != 45 | $25)) { + $18 = -$18; + $1 = -$1; + } + $8 = $8 - $11 | 0; + HEAP32[$10 >> 2] = $8; + if ($1 + $18 == $1) { + break label$30; + } + $7 = $7 + $8 | 0; + HEAP32[$10 >> 2] = $7; + if ($7 >>> 0 >= 1e9) { + while (1) { + HEAP32[$10 >> 2] = 0; + $10 = $10 - 4 | 0; + if ($10 >>> 0 < $9 >>> 0) { + $9 = $9 - 4 | 0; + HEAP32[$9 >> 2] = 0; + } + $7 = HEAP32[$10 >> 2] + 1 | 0; + HEAP32[$10 >> 2] = $7; + if ($7 >>> 0 > 999999999) { + continue; + } + break; + } + } + $3 = Math_imul($16 - $9 >> 2, 9); + $7 = 10; + $8 = HEAP32[$9 >> 2]; + if ($8 >>> 0 < 10) { + break label$30; + } + while (1) { + $3 = $3 + 1 | 0; + $7 = Math_imul($7, 10); + if ($8 >>> 0 >= $7 >>> 0) { + continue; + } + break; + } + } + $7 = $10 + 4 | 0; + $6 = $6 >>> 0 > $7 >>> 0 ? $7 : $6; + } while (1) { - if ((HEAP32[i1 >> 2] | 0) == (i3 | 0)) { - i16 = 162; - break; + $7 = $6; + $8 = $6 >>> 0 <= $9 >>> 0; + if (!$8) { + $6 = $7 - 4 | 0; + if (!HEAP32[$6 >> 2]) { + continue; + } } - i2 = HEAP32[i1 + 8 >> 2] | 0; - if (!i2) break; else i1 = i2; - } - if ((i16 | 0) == 162 ? (HEAP32[i1 + 12 >> 2] & 8 | 0) == 0 : 0) { - HEAP32[i1 >> 2] = i6; - i11 = i1 + 4 | 0; - HEAP32[i11 >> 2] = (HEAP32[i11 >> 2] | 0) + i7; - i11 = i6 + 8 | 0; - i11 = i6 + ((i11 & 7 | 0) == 0 ? 0 : 0 - i11 & 7) | 0; - i1 = i3 + 8 | 0; - i1 = i3 + ((i1 & 7 | 0) == 0 ? 0 : 0 - i1 & 7) | 0; - i10 = i11 + i12 | 0; - i8 = i1 - i11 - i12 | 0; - HEAP32[i11 + 4 >> 2] = i12 | 3; - L238 : do if ((i9 | 0) == (i1 | 0)) { - i21 = (HEAP32[14091] | 0) + i8 | 0; - HEAP32[14091] = i21; - HEAP32[14094] = i10; - HEAP32[i10 + 4 >> 2] = i21 | 1; - } else { - if ((HEAP32[14093] | 0) == (i1 | 0)) { - i21 = (HEAP32[14090] | 0) + i8 | 0; - HEAP32[14090] = i21; - HEAP32[14093] = i10; - HEAP32[i10 + 4 >> 2] = i21 | 1; - HEAP32[i10 + i21 >> 2] = i21; + break; + } + label$40: { + if (($22 | 0) != 103) { + $10 = $4 & 8; + break label$40; + } + $6 = $13 ? $13 : 1; + $10 = ($6 | 0) > ($3 | 0) & ($3 | 0) > -5; + $13 = ($10 ? $3 ^ -1 : -1) + $6 | 0; + $5 = ($10 ? -1 : -2) + $5 | 0; + $10 = $4 & 8; + if ($10) { + break label$40; + } + $6 = -9; + label$42: { + if ($8) { + break label$42; + } + $10 = HEAP32[$7 - 4 >> 2]; + if (!$10) { + break label$42; + } + $8 = 10; + $6 = 0; + if (($10 >>> 0) % 10 | 0) { + break label$42; + } + while (1) { + $11 = $6; + $6 = $6 + 1 | 0; + $8 = Math_imul($8, 10); + if (!(($10 >>> 0) % ($8 >>> 0) | 0)) { + continue; + } break; } - i2 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 & 3 | 0) == 1) { - i7 = i2 & -8; - i4 = i2 >>> 3; - L246 : do if (i2 >>> 0 < 256) { - i2 = HEAP32[i1 + 8 >> 2] | 0; - i3 = HEAP32[i1 + 12 >> 2] | 0; - if ((i3 | 0) == (i2 | 0)) { - HEAP32[14088] = HEAP32[14088] & ~(1 << i4); - break; - } else { - HEAP32[i2 + 12 >> 2] = i3; - HEAP32[i3 + 8 >> 2] = i2; + $6 = $11 ^ -1; + } + $8 = Math_imul($7 - $16 >> 2, 9); + if (($5 & -33) == 70) { + $10 = 0; + $6 = ($6 + $8 | 0) - 9 | 0; + $6 = ($6 | 0) > 0 ? $6 : 0; + $13 = ($6 | 0) > ($13 | 0) ? $13 : $6; + break label$40; + } + $10 = 0; + $6 = (($3 + $8 | 0) + $6 | 0) - 9 | 0; + $6 = ($6 | 0) > 0 ? $6 : 0; + $13 = ($6 | 0) > ($13 | 0) ? $13 : $6; + } + $8 = -1; + $11 = $10 | $13; + if ((($11 ? 2147483645 : 2147483646) | 0) < ($13 | 0)) { + break label$4; + } + $14 = ((($11 | 0) != 0) + $13 | 0) + 1 | 0; + $15 = $5 & -33; + label$45: { + if (($15 | 0) == 70) { + if (($14 ^ 2147483647) < ($3 | 0)) { + break label$4; + } + $6 = ($3 | 0) > 0 ? $3 : 0; + break label$45; + } + $6 = $3 >> 31; + $6 = fmt_u(($6 ^ $3) - $6 | 0, 0, $21); + if (($21 - $6 | 0) <= 1) { + while (1) { + $6 = $6 - 1 | 0; + HEAP8[$6 | 0] = 48; + if (($21 - $6 | 0) < 2) { + continue; + } + break; + } + } + $17 = $6 - 2 | 0; + HEAP8[$17 | 0] = $5; + HEAP8[$6 - 1 | 0] = ($3 | 0) < 0 ? 45 : 43; + $6 = $21 - $17 | 0; + if (($6 | 0) > ($14 ^ 2147483647)) { + break label$4; + } + } + $6 = $6 + $14 | 0; + if (($6 | 0) > ($19 ^ 2147483647)) { + break label$4; + } + $14 = $6 + $19 | 0; + pad($0, 32, $2, $14, $4); + out($0, $24, $19); + pad($0, 48, $2, $14, $4 ^ 65536); + label$49: { + label$50: { + label$51: { + if (($15 | 0) == 70) { + $10 = $12 + 16 | 8; + $3 = $12 + 16 | 9; + $8 = $9 >>> 0 > $16 >>> 0 ? $16 : $9; + $9 = $8; + while (1) { + $15 = HEAP32[$9 >> 2]; + $6 = fmt_u($15, 0, $3); + label$54: { + if (($9 | 0) != ($8 | 0)) { + if ($12 + 16 >>> 0 >= $6 >>> 0) { + break label$54; + } + while (1) { + $6 = $6 - 1 | 0; + HEAP8[$6 | 0] = 48; + if ($12 + 16 >>> 0 < $6 >>> 0) { + continue; + } + break; + } + break label$54; + } + if (($3 | 0) != ($6 | 0)) { + break label$54; + } + HEAP8[$12 + 24 | 0] = 48; + $6 = $10; + } + out($0, $6, $3 - $6 | 0); + $9 = $9 + 4 | 0; + if ($16 >>> 0 >= $9 >>> 0) { + continue; + } break; } - } else { - i6 = HEAP32[i1 + 24 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - do if ((i2 | 0) == (i1 | 0)) { - i3 = i1 + 16 | 0; - i4 = i3 + 4 | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (!i2) { - i2 = HEAP32[i3 >> 2] | 0; - if (!i2) { - i2 = 0; + if ($11) { + out($0, 37658, 1); + } + if (($13 | 0) <= 0 | $7 >>> 0 <= $9 >>> 0) { + break label$51; + } + while (1) { + $8 = HEAP32[$9 >> 2]; + $6 = fmt_u($8, 0, $3); + if ($6 >>> 0 > $12 + 16 >>> 0) { + while (1) { + $6 = $6 - 1 | 0; + HEAP8[$6 | 0] = 48; + if ($12 + 16 >>> 0 < $6 >>> 0) { + continue; + } break; } - } else i3 = i4; - while (1) { - i5 = i2 + 20 | 0; - i4 = HEAP32[i5 >> 2] | 0; - if (!i4) { - i5 = i2 + 16 | 0; - i4 = HEAP32[i5 >> 2] | 0; - if (!i4) break; else { - i2 = i4; - i3 = i5; + } + out($0, $6, ($13 | 0) < 9 ? $13 : 9); + $6 = $13 - 9 | 0; + $9 = $9 + 4 | 0; + if ($9 >>> 0 >= $7 >>> 0) { + break label$50; + } + $8 = ($13 | 0) > 9; + $13 = $6; + if ($8) { + continue; + } + break; + } + break label$50; + } + label$61: { + if (($13 | 0) < 0) { + break label$61; + } + $11 = $7 >>> 0 > $9 >>> 0 ? $7 : $9 + 4 | 0; + $16 = $12 + 16 | 8; + $3 = $12 + 16 | 9; + $7 = $9; + while (1) { + $15 = HEAP32[$7 >> 2]; + $6 = fmt_u($15, 0, $3); + if (($6 | 0) == ($3 | 0)) { + HEAP8[$12 + 24 | 0] = 48; + $6 = $16; + } + label$64: { + if (($7 | 0) != ($9 | 0)) { + if ($12 + 16 >>> 0 >= $6 >>> 0) { + break label$64; } - } else { - i2 = i4; - i3 = i5; + while (1) { + $6 = $6 - 1 | 0; + HEAP8[$6 | 0] = 48; + if ($12 + 16 >>> 0 < $6 >>> 0) { + continue; + } + break; + } + break label$64; + } + out($0, $6, 1); + $6 = $6 + 1 | 0; + if (!($10 | $13)) { + break label$64; } + out($0, 37658, 1); } - HEAP32[i3 >> 2] = 0; - } else { - i21 = HEAP32[i1 + 8 >> 2] | 0; - HEAP32[i21 + 12 >> 2] = i2; - HEAP32[i2 + 8 >> 2] = i21; - } while (0); - if (!i6) break; - i3 = HEAP32[i1 + 28 >> 2] | 0; - i4 = 56656 + (i3 << 2) | 0; - do if ((HEAP32[i4 >> 2] | 0) != (i1 | 0)) { - i21 = i6 + 16 | 0; - HEAP32[((HEAP32[i21 >> 2] | 0) == (i1 | 0) ? i21 : i6 + 20 | 0) >> 2] = i2; - if (!i2) break L246; - } else { - HEAP32[i4 >> 2] = i2; - if (i2 | 0) break; - HEAP32[14089] = HEAP32[14089] & ~(1 << i3); - break L246; - } while (0); - HEAP32[i2 + 24 >> 2] = i6; - i3 = i1 + 16 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if (i4 | 0) { - HEAP32[i2 + 16 >> 2] = i4; - HEAP32[i4 + 24 >> 2] = i2; - } - i3 = HEAP32[i3 + 4 >> 2] | 0; - if (!i3) break; - HEAP32[i2 + 20 >> 2] = i3; - HEAP32[i3 + 24 >> 2] = i2; - } while (0); - i1 = i1 + i7 | 0; - i5 = i7 + i8 | 0; - } else i5 = i8; - i1 = i1 + 4 | 0; - HEAP32[i1 >> 2] = HEAP32[i1 >> 2] & -2; - HEAP32[i10 + 4 >> 2] = i5 | 1; - HEAP32[i10 + i5 >> 2] = i5; - i1 = i5 >>> 3; - if (i5 >>> 0 < 256) { - i3 = 56392 + (i1 << 1 << 2) | 0; - i2 = HEAP32[14088] | 0; - i1 = 1 << i1; - if (!(i2 & i1)) { - HEAP32[14088] = i2 | i1; - i1 = i3; - i2 = i3 + 8 | 0; - } else { - i2 = i3 + 8 | 0; - i1 = HEAP32[i2 >> 2] | 0; - } - HEAP32[i2 >> 2] = i10; - HEAP32[i1 + 12 >> 2] = i10; - HEAP32[i10 + 8 >> 2] = i1; - HEAP32[i10 + 12 >> 2] = i3; - break; - } - i1 = i5 >>> 8; - do if (!i1) i4 = 0; else { - if (i5 >>> 0 > 16777215) { - i4 = 31; - break; + $8 = $3 - $6 | 0; + out($0, $6, ($8 | 0) > ($13 | 0) ? $13 : $8); + $13 = $13 - $8 | 0; + $7 = $7 + 4 | 0; + if ($11 >>> 0 <= $7 >>> 0) { + break label$61; + } + if (($13 | 0) >= 0) { + continue; + } + break; + } } - i20 = (i1 + 1048320 | 0) >>> 16 & 8; - i21 = i1 << i20; - i19 = (i21 + 520192 | 0) >>> 16 & 4; - i21 = i21 << i19; - i4 = (i21 + 245760 | 0) >>> 16 & 2; - i4 = 14 - (i19 | i20 | i4) + (i21 << i4 >>> 15) | 0; - i4 = i5 >>> (i4 + 7 | 0) & 1 | i4 << 1; - } while (0); - i1 = 56656 + (i4 << 2) | 0; - HEAP32[i10 + 28 >> 2] = i4; - i2 = i10 + 16 | 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 >> 2] = 0; - i2 = HEAP32[14089] | 0; - i3 = 1 << i4; - if (!(i2 & i3)) { - HEAP32[14089] = i2 | i3; - HEAP32[i1 >> 2] = i10; - HEAP32[i10 + 24 >> 2] = i1; - HEAP32[i10 + 12 >> 2] = i10; - HEAP32[i10 + 8 >> 2] = i10; - break; - } - i1 = HEAP32[i1 >> 2] | 0; - L291 : do if ((HEAP32[i1 + 4 >> 2] & -8 | 0) != (i5 | 0)) { - i4 = i5 << ((i4 | 0) == 31 ? 0 : 25 - (i4 >>> 1) | 0); - while (1) { - i3 = i1 + 16 + (i4 >>> 31 << 2) | 0; - i2 = HEAP32[i3 >> 2] | 0; - if (!i2) break; - if ((HEAP32[i2 + 4 >> 2] & -8 | 0) == (i5 | 0)) { - i1 = i2; - break L291; - } else { - i4 = i4 << 1; - i1 = i2; - } - } - HEAP32[i3 >> 2] = i10; - HEAP32[i10 + 24 >> 2] = i1; - HEAP32[i10 + 12 >> 2] = i10; - HEAP32[i10 + 8 >> 2] = i10; - break L238; - } while (0); - i20 = i1 + 8 | 0; - i21 = HEAP32[i20 >> 2] | 0; - HEAP32[i21 + 12 >> 2] = i10; - HEAP32[i20 >> 2] = i10; - HEAP32[i10 + 8 >> 2] = i21; - HEAP32[i10 + 12 >> 2] = i1; - HEAP32[i10 + 24 >> 2] = 0; - } while (0); - i21 = i11 + 8 | 0; - STACKTOP = i22; - return i21 | 0; - } - i1 = 56800; - while (1) { - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 <= i9 >>> 0 ? (i21 = i2 + (HEAP32[i1 + 4 >> 2] | 0) | 0, i21 >>> 0 > i9 >>> 0) : 0) break; - i1 = HEAP32[i1 + 8 >> 2] | 0; - } - i5 = i21 + -47 | 0; - i2 = i5 + 8 | 0; - i2 = i5 + ((i2 & 7 | 0) == 0 ? 0 : 0 - i2 & 7) | 0; - i5 = i9 + 16 | 0; - i2 = i2 >>> 0 < i5 >>> 0 ? i9 : i2; - i1 = i2 + 8 | 0; - i3 = i7 + -40 | 0; - i19 = i6 + 8 | 0; - i19 = (i19 & 7 | 0) == 0 ? 0 : 0 - i19 & 7; - i20 = i6 + i19 | 0; - i19 = i3 - i19 | 0; - HEAP32[14094] = i20; - HEAP32[14091] = i19; - HEAP32[i20 + 4 >> 2] = i19 | 1; - HEAP32[i6 + i3 + 4 >> 2] = 40; - HEAP32[14095] = HEAP32[14210]; - i3 = i2 + 4 | 0; - HEAP32[i3 >> 2] = 27; - HEAP32[i1 >> 2] = HEAP32[14200]; - HEAP32[i1 + 4 >> 2] = HEAP32[14201]; - HEAP32[i1 + 8 >> 2] = HEAP32[14202]; - HEAP32[i1 + 12 >> 2] = HEAP32[14203]; - HEAP32[14200] = i6; - HEAP32[14201] = i7; - HEAP32[14203] = 0; - HEAP32[14202] = i1; - i1 = i2 + 24 | 0; - do { - i20 = i1; - i1 = i1 + 4 | 0; - HEAP32[i1 >> 2] = 7; - } while ((i20 + 8 | 0) >>> 0 < i21 >>> 0); - if ((i2 | 0) != (i9 | 0)) { - i6 = i2 - i9 | 0; - HEAP32[i3 >> 2] = HEAP32[i3 >> 2] & -2; - HEAP32[i9 + 4 >> 2] = i6 | 1; - HEAP32[i2 >> 2] = i6; - i1 = i6 >>> 3; - if (i6 >>> 0 < 256) { - i3 = 56392 + (i1 << 1 << 2) | 0; - i2 = HEAP32[14088] | 0; - i1 = 1 << i1; - if (!(i2 & i1)) { - HEAP32[14088] = i2 | i1; - i1 = i3; - i2 = i3 + 8 | 0; - } else { - i2 = i3 + 8 | 0; - i1 = HEAP32[i2 >> 2] | 0; + pad($0, 48, $13 + 18 | 0, 18, 0); + out($0, $17, $21 - $17 | 0); + break label$49; } - HEAP32[i2 >> 2] = i9; - HEAP32[i1 + 12 >> 2] = i9; - HEAP32[i9 + 8 >> 2] = i1; - HEAP32[i9 + 12 >> 2] = i3; - break; + $6 = $13; } - i1 = i6 >>> 8; - if (i1) if (i6 >>> 0 > 16777215) i4 = 31; else { - i20 = (i1 + 1048320 | 0) >>> 16 & 8; - i21 = i1 << i20; - i19 = (i21 + 520192 | 0) >>> 16 & 4; - i21 = i21 << i19; - i4 = (i21 + 245760 | 0) >>> 16 & 2; - i4 = 14 - (i19 | i20 | i4) + (i21 << i4 >>> 15) | 0; - i4 = i6 >>> (i4 + 7 | 0) & 1 | i4 << 1; - } else i4 = 0; - i3 = 56656 + (i4 << 2) | 0; - HEAP32[i9 + 28 >> 2] = i4; - HEAP32[i9 + 20 >> 2] = 0; - HEAP32[i5 >> 2] = 0; - i1 = HEAP32[14089] | 0; - i2 = 1 << i4; - if (!(i1 & i2)) { - HEAP32[14089] = i1 | i2; - HEAP32[i3 >> 2] = i9; - HEAP32[i9 + 24 >> 2] = i3; - HEAP32[i9 + 12 >> 2] = i9; - HEAP32[i9 + 8 >> 2] = i9; - break; - } - i1 = HEAP32[i3 >> 2] | 0; - L325 : do if ((HEAP32[i1 + 4 >> 2] & -8 | 0) != (i6 | 0)) { - i4 = i6 << ((i4 | 0) == 31 ? 0 : 25 - (i4 >>> 1) | 0); - while (1) { - i3 = i1 + 16 + (i4 >>> 31 << 2) | 0; - i2 = HEAP32[i3 >> 2] | 0; - if (!i2) break; - if ((HEAP32[i2 + 4 >> 2] & -8 | 0) == (i6 | 0)) { - i1 = i2; - break L325; - } else { - i4 = i4 << 1; - i1 = i2; - } - } - HEAP32[i3 >> 2] = i9; - HEAP32[i9 + 24 >> 2] = i1; - HEAP32[i9 + 12 >> 2] = i9; - HEAP32[i9 + 8 >> 2] = i9; - break L215; - } while (0); - i20 = i1 + 8 | 0; - i21 = HEAP32[i20 >> 2] | 0; - HEAP32[i21 + 12 >> 2] = i9; - HEAP32[i20 >> 2] = i9; - HEAP32[i9 + 8 >> 2] = i21; - HEAP32[i9 + 12 >> 2] = i1; - HEAP32[i9 + 24 >> 2] = 0; + pad($0, 48, $6 + 9 | 0, 9, 0); } - } else { - i21 = HEAP32[14092] | 0; - if ((i21 | 0) == 0 | i6 >>> 0 < i21 >>> 0) HEAP32[14092] = i6; - HEAP32[14200] = i6; - HEAP32[14201] = i7; - HEAP32[14203] = 0; - HEAP32[14097] = HEAP32[14206]; - HEAP32[14096] = -1; - HEAP32[14101] = 56392; - HEAP32[14100] = 56392; - HEAP32[14103] = 56400; - HEAP32[14102] = 56400; - HEAP32[14105] = 56408; - HEAP32[14104] = 56408; - HEAP32[14107] = 56416; - HEAP32[14106] = 56416; - HEAP32[14109] = 56424; - HEAP32[14108] = 56424; - HEAP32[14111] = 56432; - HEAP32[14110] = 56432; - HEAP32[14113] = 56440; - HEAP32[14112] = 56440; - HEAP32[14115] = 56448; - HEAP32[14114] = 56448; - HEAP32[14117] = 56456; - HEAP32[14116] = 56456; - HEAP32[14119] = 56464; - HEAP32[14118] = 56464; - HEAP32[14121] = 56472; - HEAP32[14120] = 56472; - HEAP32[14123] = 56480; - HEAP32[14122] = 56480; - HEAP32[14125] = 56488; - HEAP32[14124] = 56488; - HEAP32[14127] = 56496; - HEAP32[14126] = 56496; - HEAP32[14129] = 56504; - HEAP32[14128] = 56504; - HEAP32[14131] = 56512; - HEAP32[14130] = 56512; - HEAP32[14133] = 56520; - HEAP32[14132] = 56520; - HEAP32[14135] = 56528; - HEAP32[14134] = 56528; - HEAP32[14137] = 56536; - HEAP32[14136] = 56536; - HEAP32[14139] = 56544; - HEAP32[14138] = 56544; - HEAP32[14141] = 56552; - HEAP32[14140] = 56552; - HEAP32[14143] = 56560; - HEAP32[14142] = 56560; - HEAP32[14145] = 56568; - HEAP32[14144] = 56568; - HEAP32[14147] = 56576; - HEAP32[14146] = 56576; - HEAP32[14149] = 56584; - HEAP32[14148] = 56584; - HEAP32[14151] = 56592; - HEAP32[14150] = 56592; - HEAP32[14153] = 56600; - HEAP32[14152] = 56600; - HEAP32[14155] = 56608; - HEAP32[14154] = 56608; - HEAP32[14157] = 56616; - HEAP32[14156] = 56616; - HEAP32[14159] = 56624; - HEAP32[14158] = 56624; - HEAP32[14161] = 56632; - HEAP32[14160] = 56632; - HEAP32[14163] = 56640; - HEAP32[14162] = 56640; - i21 = i7 + -40 | 0; - i19 = i6 + 8 | 0; - i19 = (i19 & 7 | 0) == 0 ? 0 : 0 - i19 & 7; - i20 = i6 + i19 | 0; - i19 = i21 - i19 | 0; - HEAP32[14094] = i20; - HEAP32[14091] = i19; - HEAP32[i20 + 4 >> 2] = i19 | 1; - HEAP32[i6 + i21 + 4 >> 2] = 40; - HEAP32[14095] = HEAP32[14210]; - } while (0); - i1 = HEAP32[14091] | 0; - if (i1 >>> 0 > i12 >>> 0) { - i19 = i1 - i12 | 0; - HEAP32[14091] = i19; - i21 = HEAP32[14094] | 0; - i20 = i21 + i12 | 0; - HEAP32[14094] = i20; - HEAP32[i20 + 4 >> 2] = i19 | 1; - HEAP32[i21 + 4 >> 2] = i12 | 3; - i21 = i21 + 8 | 0; - STACKTOP = i22; - return i21 | 0; - } - } - i21 = ___errno_location() | 0; - HEAP32[i21 >> 2] = 12; - i21 = 0; - STACKTOP = i22; - return i21 | 0; -} -function __ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_(i36, i37, i2, i3, i5, i40, i31, i4, i32, i33, i1) { - i36 = i36 | 0; - i37 = i37 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - i40 = i40 | 0; - i31 = i31 | 0; - i4 = i4 | 0; - i32 = i32 | 0; - i33 = i33 | 0; - i1 = i1 | 0; - var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i34 = 0, i35 = 0, i38 = 0, i39 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0; - i47 = STACKTOP; - STACKTOP = STACKTOP + 512 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(512); - i25 = i47 + 488 | 0; - i34 = i47; - i46 = i47 + 480 | 0; - i38 = i47 + 472 | 0; - i26 = i47 + 468 | 0; - i27 = i47 + 496 | 0; - i28 = i47 + 493 | 0; - i29 = i47 + 492 | 0; - i41 = i47 + 456 | 0; - i42 = i47 + 444 | 0; - i43 = i47 + 432 | 0; - i44 = i47 + 420 | 0; - i45 = i47 + 408 | 0; - i30 = i47 + 404 | 0; - i39 = i47 + 400 | 0; - HEAP32[i25 >> 2] = i1; - HEAP32[i46 >> 2] = i34; - HEAP32[i46 + 4 >> 2] = 143; - HEAP32[i38 >> 2] = i34; - HEAP32[i26 >> 2] = i34 + 400; - HEAP32[i41 >> 2] = 0; - HEAP32[i41 + 4 >> 2] = 0; - HEAP32[i41 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i41 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i42 >> 2] = 0; - HEAP32[i42 + 4 >> 2] = 0; - HEAP32[i42 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i42 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i43 >> 2] = 0; - HEAP32[i43 + 4 >> 2] = 0; - HEAP32[i43 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i43 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i44 >> 2] = 0; - HEAP32[i44 + 4 >> 2] = 0; - HEAP32[i44 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i44 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i45 >> 2] = 0; - HEAP32[i45 + 4 >> 2] = 0; - HEAP32[i45 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i45 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__211__money_getIcE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_SF_Ri(i2, i3, i27, i28, i29, i41, i42, i43, i44, i30); - HEAP32[i33 >> 2] = HEAP32[i32 >> 2]; - i18 = i4 + 8 | 0; - i19 = i43 + 11 | 0; - i20 = i43 + 4 | 0; - i21 = i44 + 11 | 0; - i22 = i44 + 4 | 0; - i23 = i41 + 11 | 0; - i24 = i41 + 4 | 0; - i12 = (i5 & 512 | 0) != 0; - i13 = i42 + 11 | 0; - i14 = i27 + 3 | 0; - i15 = i42 + 4 | 0; - i16 = i45 + 11 | 0; - i17 = i45 + 4 | 0; - i34 = 0; - i11 = 0; - L21 : while (1) { - if (i11 >>> 0 >= 4) { - i35 = 243; - break; + pad($0, 32, $2, $14, $4 ^ 8192); + $8 = ($2 | 0) < ($14 | 0) ? $14 : $2; + break label$4; } - i1 = HEAP32[i36 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i36 >> 2] | 0) == 0; - break; + $14 = ($5 << 26 >> 31 & 9) + $24 | 0; + label$67: { + if ($3 >>> 0 > 11) { + break label$67; } - } else i3 = 1; while (0); - i2 = HEAP32[i37 >> 2] | 0; - do if (i2) { - i1 = HEAP32[i2 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i3) { - i10 = i2; + $6 = 12 - $3 | 0; + $18 = 16; + while (1) { + $18 = $18 * 16; + $6 = $6 - 1 | 0; + if ($6) { + continue; + } break; + } + if (HEAPU8[$14 | 0] == 45) { + $1 = -($18 + (-$1 - $18)); + break label$67; + } + $1 = $1 + $18 - $18; + } + $6 = HEAP32[$12 + 44 >> 2]; + $7 = $6; + $6 = $6 >> 31; + $6 = fmt_u(($7 ^ $6) - $6 | 0, 0, $21); + if (($21 | 0) == ($6 | 0)) { + HEAP8[$12 + 15 | 0] = 48; + $6 = $12 + 15 | 0; + } + $10 = $19 | 2; + $9 = $5 & 32; + $7 = HEAP32[$12 + 44 >> 2]; + $11 = $6 - 2 | 0; + HEAP8[$11 | 0] = $5 + 15; + HEAP8[$6 - 1 | 0] = ($7 | 0) < 0 ? 45 : 43; + $8 = $4 & 8; + $7 = $12 + 16 | 0; + while (1) { + $6 = $7; + if (Math_abs($1) < 2147483648) { + $7 = ~~$1; } else { - i35 = 243; - break L21; - } else { - HEAP32[i37 >> 2] = 0; - i35 = 31; - break; + $7 = -2147483648; } - } else i35 = 31; while (0); - if ((i35 | 0) == 31) { - i35 = 0; - if (i3) { - i35 = 243; - break; - } else i10 = 0; - } - L46 : do switch (HEAP8[i27 + i11 >> 0] | 0) { - case 1: - { - if ((i11 | 0) == 3) i1 = i34; else { - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if ((i1 & 255) << 24 >> 24 <= -1) { - i35 = 45; - break L21; - } - if (!(HEAP16[(HEAP32[i18 >> 2] | 0) + (i1 << 24 >> 24 << 1) >> 1] & 8192)) { - i35 = 45; - break L21; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 1; - i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(i45, i1 & 255); - i35 = 47; - } - break; + HEAP8[$6 | 0] = HEAPU8[$7 + 52048 | 0] | $9; + $1 = ($1 - +($7 | 0)) * 16; + $7 = $6 + 1 | 0; + if (!(!(($3 | 0) > 0 | $8) & $1 == 0 | ($7 - ($12 + 16 | 0) | 0) != 1)) { + HEAP8[$6 + 1 | 0] = 46; + $7 = $6 + 2 | 0; } - case 0: - { - if ((i11 | 0) == 3) i1 = i34; else i35 = 47; - break; + if ($1 != 0) { + continue; } - case 3: - { - i1 = HEAP8[i19 >> 0] | 0; - i1 = i1 << 24 >> 24 < 0 ? HEAP32[i20 >> 2] | 0 : i1 & 255; - i4 = HEAP8[i21 >> 0] | 0; - i4 = i4 << 24 >> 24 < 0 ? HEAP32[i22 >> 2] | 0 : i4 & 255; - if ((i1 | 0) == (0 - i4 | 0)) i1 = i34; else { - i5 = (i1 | 0) == 0; - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - i3 = (i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0); - if (i5 | (i4 | 0) == 0) { - if (i3) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - i1 = i1 & 255; - if (i5) { - if ((HEAP8[((HEAP8[i21 >> 0] | 0) < 0 ? HEAP32[i44 >> 2] | 0 : i44) >> 0] | 0) != i1 << 24 >> 24) { - i1 = i34; - break L46; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - HEAP8[i31 >> 0] = 1; - i1 = HEAP8[i21 >> 0] | 0; - i1 = (i1 << 24 >> 24 < 0 ? HEAP32[i22 >> 2] | 0 : i1 & 255) >>> 0 > 1 ? i44 : i34; - break L46; - } - if ((HEAP8[((HEAP8[i19 >> 0] | 0) < 0 ? HEAP32[i43 >> 2] | 0 : i43) >> 0] | 0) != i1 << 24 >> 24) { - HEAP8[i31 >> 0] = 1; - i1 = i34; - break L46; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - i1 = HEAP8[i19 >> 0] | 0; - i1 = (i1 << 24 >> 24 < 0 ? HEAP32[i20 >> 2] | 0 : i1 & 255) >>> 0 > 1 ? i43 : i34; - break L46; - } - if (i3) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - i2 = HEAP32[i36 >> 2] | 0; - i3 = i2 + 12 | 0; - i4 = HEAP32[i3 >> 2] | 0; - i5 = (i4 | 0) == (HEAP32[i2 + 16 >> 2] | 0); - if ((HEAP8[((HEAP8[i19 >> 0] | 0) < 0 ? HEAP32[i43 >> 2] | 0 : i43) >> 0] | 0) == (i1 & 255) << 24 >> 24) { - if (i5) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 40 >> 2] & 127](i2) | 0; else { - HEAP32[i3 >> 2] = i4 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i4 >> 0] | 0) | 0; - } - i1 = HEAP8[i19 >> 0] | 0; - i1 = (i1 << 24 >> 24 < 0 ? HEAP32[i20 >> 2] | 0 : i1 & 255) >>> 0 > 1 ? i43 : i34; - break L46; - } - if (i5) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i4 >> 0] | 0) | 0; - if ((HEAP8[((HEAP8[i21 >> 0] | 0) < 0 ? HEAP32[i44 >> 2] | 0 : i44) >> 0] | 0) != (i1 & 255) << 24 >> 24) { - i35 = 105; - break L21; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - HEAP8[i31 >> 0] = 1; - i1 = HEAP8[i21 >> 0] | 0; - i1 = (i1 << 24 >> 24 < 0 ? HEAP32[i22 >> 2] | 0 : i1 & 255) >>> 0 > 1 ? i44 : i34; + break; + } + $8 = -1; + $17 = $21 - $11 | 0; + $6 = $17 + $10 | 0; + if ((2147483645 - $6 | 0) < ($3 | 0)) { + break label$4; + } + label$75: { + label$76: { + if (!$3) { + break label$76; } - break; - } - case 2: - { - if (i11 >>> 0 < 2 | (i34 | 0) != 0) { - i1 = HEAP8[i13 >> 0] | 0; - i3 = i1 << 24 >> 24 < 0; - i2 = HEAP32[i42 >> 2] | 0; - i4 = i3 ? i2 : i42; - i5 = i4; - if (!i11) i3 = i5; else { - i9 = i5; - i35 = 110; - } - } else { - if (!(i12 | (i11 | 0) == 2 & (HEAP8[i14 >> 0] | 0) != 0)) { - i1 = 0; - break L46; - } - i1 = HEAP8[i13 >> 0] | 0; - i3 = i1 << 24 >> 24 < 0; - i2 = HEAP32[i42 >> 2] | 0; - i9 = i3 ? i2 : i42; - i4 = i9; - i35 = 110; - } - L109 : do if ((i35 | 0) == 110) { - i35 = 0; - if ((HEAPU8[i27 + (i11 + -1) >> 0] | 0) < 2) { - i5 = i4 + (i3 ? HEAP32[i15 >> 2] | 0 : i1 & 255) | 0; - i3 = i9; - while (1) { - i6 = i3; - if ((i5 | 0) == (i6 | 0)) break; - i7 = HEAP8[i6 >> 0] | 0; - if (i7 << 24 >> 24 <= -1) break; - if (!(HEAP16[(HEAP32[i18 >> 2] | 0) + (i7 << 24 >> 24 << 1) >> 1] & 8192)) break; - i3 = i6 + 1 | 0; - } - i7 = i3 - i9 | 0; - i6 = HEAP8[i16 >> 0] | 0; - i8 = i6 << 24 >> 24 < 0; - i5 = HEAP32[i17 >> 2] | 0; - i6 = i6 & 255; - if (i7 >>> 0 <= (i8 ? i5 : i6) >>> 0) { - i48 = (HEAP32[i45 >> 2] | 0) + i5 | 0; - i5 = i45 + i6 | 0; - i6 = i8 ? i48 : i5; - i5 = i8 ? i48 + (0 - i7) | 0 : i5 + (0 - i7) | 0; - while (1) { - if ((i5 | 0) == (i6 | 0)) break L109; - if ((HEAP8[i5 >> 0] | 0) != (HEAP8[i4 >> 0] | 0)) { - i3 = i9; - break L109; - } - i4 = i4 + 1 | 0; - i5 = i5 + 1 | 0; - } - } else i3 = i9; - } else i3 = i9; - } while (0); - i5 = i3; - i3 = i10; - L124 : while (1) { - i48 = i1 << 24 >> 24 < 0; - if ((i5 | 0) == ((i48 ? i2 : i42) + (i48 ? HEAP32[i15 >> 2] | 0 : i1 & 255) | 0)) break; - i1 = HEAP32[i36 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i36 >> 2] | 0) == 0; - break; - } - } else i2 = 1; while (0); - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) { - i4 = i3; - break; - } else break L124; else { - HEAP32[i37 >> 2] = 0; - i35 = 136; - break; - } - } else i35 = 136; while (0); - if ((i35 | 0) == 136) { - i35 = 0; - if (i2) break; else i4 = 0; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if ((HEAP8[i5 >> 0] | 0) != (i1 & 255) << 24 >> 24) break; - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - i5 = i5 + 1 | 0; - i1 = HEAP8[i13 >> 0] | 0; - i2 = HEAP32[i42 >> 2] | 0; - i3 = i4; - } - if (i12 ? (i48 = HEAP8[i13 >> 0] | 0, i10 = i48 << 24 >> 24 < 0, (i5 | 0) != ((i10 ? HEAP32[i42 >> 2] | 0 : i42) + (i10 ? HEAP32[i15 >> 2] | 0 : i48 & 255) | 0)) : 0) { - i35 = 148; - break L21; - } else i1 = i34; - break; + $9 = $7 - ($12 + 16 | 0) | 0; + if (($9 - 2 | 0) >= ($3 | 0)) { + break label$76; + } + $7 = $3 + 2 | 0; + break label$75; } - case 4: - { - i5 = 0; - i4 = i10; - i1 = i10; - L161 : while (1) { - i2 = HEAP32[i36 >> 2] | 0; - do if (i2) { - i3 = HEAP32[i2 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i36 >> 2] | 0) == 0; - break; - } - } else i3 = 1; while (0); - do if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i3) { - i6 = i4; - break; - } else { - i4 = i1; - break L161; - } else { - HEAP32[i37 >> 2] = 0; - i1 = 0; - i35 = 162; - break; - } - } else i35 = 162; while (0); - if ((i35 | 0) == 162) { - i35 = 0; - if (i3) { - i4 = i1; - break; - } else i6 = 0; - } - i2 = HEAP32[i36 >> 2] | 0; - i3 = HEAP32[i2 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - i3 = i2 & 255; - if (i3 << 24 >> 24 > -1 ? (HEAP16[(HEAP32[i18 >> 2] | 0) + (i2 << 24 >> 24 << 1) >> 1] & 2048) != 0 : 0) { - i2 = HEAP32[i33 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i25 >> 2] | 0)) { - __ZNSt3__219__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(i32, i33, i25); - i2 = HEAP32[i33 >> 2] | 0; - } - HEAP32[i33 >> 2] = i2 + 1; - HEAP8[i2 >> 0] = i3; - i2 = i5 + 1 | 0; - } else { - i48 = HEAP8[i23 >> 0] | 0; - if (!((HEAP8[i29 >> 0] | 0) == i3 << 24 >> 24 & (i5 | 0 ? ((i48 << 24 >> 24 < 0 ? HEAP32[i24 >> 2] | 0 : i48 & 255) | 0) != 0 : 0))) { - i4 = i1; - break; - } - i2 = HEAP32[i38 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i26 >> 2] | 0)) { - __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(i46, i38, i26); - i2 = HEAP32[i38 >> 2] | 0; - } - HEAP32[i38 >> 2] = i2 + 4; - HEAP32[i2 >> 2] = i5; - i2 = 0; - } - i3 = HEAP32[i36 >> 2] | 0; - i4 = i3 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - if ((i5 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 40 >> 2] & 127](i3) | 0; else { - HEAP32[i4 >> 2] = i5 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i5 >> 0] | 0) | 0; - } - i5 = i2; - i4 = i6; - } - i1 = HEAP32[i38 >> 2] | 0; - if (i5 | 0 ? (HEAP32[i46 >> 2] | 0) != (i1 | 0) : 0) { - if ((i1 | 0) == (HEAP32[i26 >> 2] | 0)) { - __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(i46, i38, i26); - i1 = HEAP32[i38 >> 2] | 0; - } - HEAP32[i38 >> 2] = i1 + 4; - HEAP32[i1 >> 2] = i5; - } - L213 : do if ((HEAP32[i30 >> 2] | 0) > 0) { - i1 = HEAP32[i36 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i36 >> 2] | 0) == 0; - break; + $9 = $7 - ($12 + 16 | 0) | 0; + $7 = $9; + } + $6 = $7 + $6 | 0; + pad($0, 32, $2, $6, $4); + out($0, $14, $10); + pad($0, 48, $2, $6, $4 ^ 65536); + out($0, $12 + 16 | 0, $9); + pad($0, 48, $7 - $9 | 0, 0, 0); + out($0, $11, $17); + pad($0, 32, $2, $6, $4 ^ 8192); + $8 = ($2 | 0) < ($6 | 0) ? $6 : $2; + } + __stack_pointer = $12 + 560 | 0; + return $8 | 0; +} + +function hexfloat($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 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, $29 = 0, $30 = 0, $31 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 432 | 0; + __stack_pointer = $6; + $13 = HEAP32[$1 + 4 >> 2]; + label$1: { + if (($13 | 0) != HEAP32[$1 + 104 >> 2]) { + HEAP32[$1 + 4 >> 2] = $13 + 1; + $13 = HEAPU8[$13 | 0]; + break label$1; + } + $13 = __shgetc($1); + } + label$3: { + label$4: { + while (1) { + label$6: { + if (($13 | 0) != 48) { + if (($13 | 0) != 46) { + break label$3; } - } else i2 = 1; while (0); - do if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i35 = 204; - break L21; - } else { - HEAP32[i37 >> 2] = 0; - i35 = 198; - break; + $13 = HEAP32[$1 + 4 >> 2]; + if (($13 | 0) == HEAP32[$1 + 104 >> 2]) { + break label$6; } - } else i35 = 198; while (0); - if ((i35 | 0) == 198) { - i35 = 0; - if (i2) { - i35 = 204; - break L21; - } else i4 = 0; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if ((HEAP8[i28 >> 0] | 0) != (i1 & 255) << 24 >> 24) { - i35 = 204; - break L21; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - i3 = i4; - while (1) { - if ((HEAP32[i30 >> 2] | 0) <= 0) break L213; - i1 = HEAP32[i36 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i36 >> 2] | 0) == 0; - break; - } - } else i2 = 1; while (0); - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) { - i4 = i3; - break; - } else { - i35 = 230; - break L21; - } else { - HEAP32[i37 >> 2] = 0; - i35 = 223; - break; - } - } else i35 = 223; while (0); - if ((i35 | 0) == 223) { - i35 = 0; - if (i2) { - i35 = 230; - break L21; - } else i4 = 0; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if ((i1 & 255) << 24 >> 24 <= -1) { - i35 = 230; - break L21; - } - if (!(HEAP16[(HEAP32[i18 >> 2] | 0) + (i1 << 24 >> 24 << 1) >> 1] & 2048)) { - i35 = 230; - break L21; - } - if ((HEAP32[i33 >> 2] | 0) == (HEAP32[i25 >> 2] | 0)) __ZNSt3__219__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(i32, i33, i25); - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - i2 = HEAP32[i33 >> 2] | 0; - HEAP32[i33 >> 2] = i2 + 1; - HEAP8[i2 >> 0] = i1; - HEAP32[i30 >> 2] = (HEAP32[i30 >> 2] | 0) + -1; - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - i3 = i4; - } - } while (0); - if ((HEAP32[i33 >> 2] | 0) == (HEAP32[i32 >> 2] | 0)) { - i35 = 241; - break L21; - } else i1 = i34; - break; - } - default: - i1 = i34; - } while (0); - L289 : do if ((i35 | 0) == 47) { - i35 = 0; - i3 = i10; - while (1) { - i1 = HEAP32[i36 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i36 >> 2] | 0) == 0; - break; - } - } else i2 = 1; while (0); - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) { - i4 = i3; - break; - } else { - i1 = i34; - break L289; - } else { - HEAP32[i37 >> 2] = 0; - i35 = 61; - break; - } - } else i35 = 61; while (0); - if ((i35 | 0) == 61) { - i35 = 0; - if (i2) { - i1 = i34; - break L289; - } else i4 = 0; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if ((i1 & 255) << 24 >> 24 <= -1) { - i1 = i34; - break L289; - } - if (!(HEAP16[(HEAP32[i18 >> 2] | 0) + (i1 << 24 >> 24 << 1) >> 1] & 8192)) { - i1 = i34; - break L289; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 1; - i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(i45, i1 & 255); - i3 = i4; - } - } while (0); - i34 = i1; - i11 = i11 + 1 | 0; - } - L326 : do if ((i35 | 0) == 45) { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - } else if ((i35 | 0) == 105) { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - } else if ((i35 | 0) == 148) { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - } else if ((i35 | 0) == 204) { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - } else if ((i35 | 0) == 230) { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - } else if ((i35 | 0) == 241) { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - } else if ((i35 | 0) == 243) { - L328 : do if (i34 | 0) { - i5 = i34 + 11 | 0; - i6 = i34 + 4 | 0; - i4 = 1; - L330 : while (1) { - i1 = HEAP8[i5 >> 0] | 0; - if (i1 << 24 >> 24 < 0) i1 = HEAP32[i6 >> 2] | 0; else i1 = i1 & 255; - if (i4 >>> 0 >= i1 >>> 0) break L328; - i1 = HEAP32[i36 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i3 = 1; - break; + HEAP32[$1 + 4 >> 2] = $13 + 1; + $13 = HEAPU8[$13 | 0]; + break label$4; + } + $13 = HEAP32[$1 + 4 >> 2]; + if (($13 | 0) != HEAP32[$1 + 104 >> 2]) { + $8 = 1; + HEAP32[$1 + 4 >> 2] = $13 + 1; + $13 = HEAPU8[$13 | 0]; } else { - i3 = (HEAP32[i36 >> 2] | 0) == 0; - break; + $8 = 1; + $13 = __shgetc($1); } - } else i3 = 1; while (0); - i1 = HEAP32[i37 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i3) break; else break L330; else { - HEAP32[i37 >> 2] = 0; - i35 = 262; - break; - } - } else i35 = 262; while (0); - if ((i35 | 0) == 262 ? (i35 = 0, i3) : 0) break; - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if ((HEAP8[i5 >> 0] | 0) < 0) i2 = HEAP32[i34 >> 2] | 0; else i2 = i34; - if ((HEAP8[i2 + i4 >> 0] | 0) != (i1 & 255) << 24 >> 24) break; - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - i4 = i4 + 1 | 0; - } - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - break L326; - } while (0); - i2 = HEAP32[i46 >> 2] | 0; - i1 = HEAP32[i38 >> 2] | 0; - if ((i2 | 0) != (i1 | 0)) { - HEAP32[i39 >> 2] = 0; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i41, i2, i1, i39); - if (!(HEAP32[i39 >> 2] | 0)) { - i2 = 1; - break; - } else { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; + continue; + } break; } - } else i2 = 1; - } while (0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i45); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i44); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i43); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i42); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i41); - i1 = HEAP32[i46 >> 2] | 0; - HEAP32[i46 >> 2] = 0; - if (i1 | 0) FUNCTION_TABLE_vi[HEAP32[i46 + 4 >> 2] & 255](i1); - STACKTOP = i47; - return i2 | 0; -} - -function __ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_(i36, i37, i2, i3, i4, i40, i30, i31, i32, i33, i1) { - i36 = i36 | 0; - i37 = i37 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i40 = i40 | 0; - i30 = i30 | 0; - i31 = i31 | 0; - i32 = i32 | 0; - i33 = i33 | 0; - i1 = i1 | 0; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i34 = 0, i35 = 0, i38 = 0, i39 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0; - i47 = STACKTOP; - STACKTOP = STACKTOP + 512 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(512); - i24 = i47 + 496 | 0; - i34 = i47; - i46 = i47 + 488 | 0; - i38 = i47 + 480 | 0; - i25 = i47 + 476 | 0; - i26 = i47 + 500 | 0; - i27 = i47 + 472 | 0; - i28 = i47 + 468 | 0; - i41 = i47 + 456 | 0; - i42 = i47 + 444 | 0; - i43 = i47 + 432 | 0; - i44 = i47 + 420 | 0; - i45 = i47 + 408 | 0; - i29 = i47 + 404 | 0; - i39 = i47 + 400 | 0; - HEAP32[i24 >> 2] = i1; - HEAP32[i46 >> 2] = i34; - HEAP32[i46 + 4 >> 2] = 143; - HEAP32[i38 >> 2] = i34; - HEAP32[i25 >> 2] = i34 + 400; - HEAP32[i41 >> 2] = 0; - HEAP32[i41 + 4 >> 2] = 0; - HEAP32[i41 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i41 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i42 >> 2] = 0; - HEAP32[i42 + 4 >> 2] = 0; - HEAP32[i42 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i42 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i43 >> 2] = 0; - HEAP32[i43 + 4 >> 2] = 0; - HEAP32[i43 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i43 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i44 >> 2] = 0; - HEAP32[i44 + 4 >> 2] = 0; - HEAP32[i44 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i44 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i45 >> 2] = 0; - HEAP32[i45 + 4 >> 2] = 0; - HEAP32[i45 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i45 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__211__money_getIwE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_SJ_Ri(i2, i3, i26, i27, i28, i41, i42, i43, i44, i29); - HEAP32[i33 >> 2] = HEAP32[i32 >> 2]; - i18 = i43 + 8 + 3 | 0; - i19 = i43 + 4 | 0; - i20 = i44 + 8 + 3 | 0; - i21 = i44 + 4 | 0; - i22 = i41 + 11 | 0; - i23 = i41 + 4 | 0; - i12 = (i4 & 512 | 0) != 0; - i13 = i42 + 8 + 3 | 0; - i14 = i26 + 3 | 0; - i15 = i42 + 4 | 0; - i16 = i45 + 8 + 3 | 0; - i17 = i45 + 4 | 0; - i34 = 0; - i11 = 0; - L21 : while (1) { - if (i11 >>> 0 >= 4) { - i35 = 239; - break; + $13 = __shgetc($1); } - i1 = HEAP32[i36 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i36 >> 2] | 0) == 0; - break; + $28 = 1; + if (($13 | 0) != 48) { + break label$3; + } + while (1) { + $12 = $23; + $8 = $12 - 1 | 0; + $23 = $8; + $9 = $24; + $11 = !$12; + $11 = $9 - $11 | 0; + $24 = $11; + $13 = HEAP32[$1 + 4 >> 2]; + label$11: { + if (($13 | 0) != HEAP32[$1 + 104 >> 2]) { + HEAP32[$1 + 4 >> 2] = $13 + 1; + $13 = HEAPU8[$13 | 0]; + break label$11; + } + $13 = __shgetc($1); + } + if (($13 | 0) == 48) { + continue; } - } else i3 = 1; while (0); - i2 = HEAP32[i37 >> 2] | 0; - do if (i2) { - i1 = HEAP32[i2 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i3) { - i10 = i2; - break; - } else { - i35 = 239; - break L21; + break; + } + $8 = 1; + } + $16 = 1073676288; + while (1) { + label$14: { + $9 = $13 | 32; + label$15: { + label$16: { + $7 = $13 - 48 | 0; + if ($7 >>> 0 < 10) { + break label$16; + } + if (($13 | 0) != 46 & $9 - 97 >>> 0 >= 6) { + break label$14; + } + if (($13 | 0) != 46) { + break label$16; + } + if ($28) { + break label$14; + } + $28 = 1; + $23 = $17; + $11 = $19; + $24 = $11; + break label$15; + } + $13 = ($13 | 0) > 57 ? $9 - 87 | 0 : $7; + $11 = $19; + $9 = $17; + label$17: { + if (($11 | 0) <= 0 & $9 >>> 0 <= 7 | ($11 | 0) < 0) { + $22 = ($22 << 4) + $13 | 0; + break label$17; + } + $9 = $19; + $7 = $17; + if (!$9 & $7 >>> 0 <= 28) { + __floatsitf($6 + 48 | 0, $13); + $7 = $25; + $9 = $16; + __multf3($6 + 32 | 0, $26, $7, $18, $9, 0, 0, 0, 1073414144); + $11 = HEAP32[$6 + 48 >> 2]; + $10 = $11; + $12 = HEAP32[$6 + 52 >> 2]; + $9 = $12; + $12 = HEAP32[$6 + 56 >> 2]; + $8 = $12; + $11 = HEAP32[$6 + 60 >> 2]; + $7 = $11; + $11 = HEAP32[$6 + 32 >> 2]; + $26 = $11; + $12 = HEAP32[$6 + 36 >> 2]; + $25 = $12; + $12 = HEAP32[$6 + 40 >> 2]; + $18 = $12; + $11 = HEAP32[$6 + 44 >> 2]; + $16 = $11; + $11 = $9; + $12 = $7; + $9 = $25; + $7 = $16; + __multf3($6 + 16 | 0, $10, $11, $8, $12, $26, $9, $18, $7); + $7 = HEAP32[$6 + 16 >> 2]; + $13 = $7; + $7 = HEAP32[$6 + 28 >> 2]; + $8 = $7; + $9 = HEAP32[$6 + 20 >> 2]; + $7 = $9; + $9 = HEAP32[$6 + 24 >> 2]; + $10 = $9; + $9 = $8; + $12 = $15; + $11 = $21; + __addtf3($6, $13, $7, $10, $9, $14, $12, $20, $11); + $11 = HEAP32[$6 + 8 >> 2]; + $20 = $11; + $12 = HEAP32[$6 + 12 >> 2]; + $21 = $12; + $12 = HEAP32[$6 >> 2]; + $14 = $12; + $11 = HEAP32[$6 + 4 >> 2]; + $15 = $11; + break label$17; + } + if (!$13 | $30) { + break label$17; + } + $11 = $25; + $12 = $16; + __multf3($6 + 80 | 0, $26, $11, $18, $12, 0, 0, 0, 1073610752); + $7 = HEAP32[$6 + 80 >> 2]; + $13 = $7; + $7 = HEAP32[$6 + 92 >> 2]; + $8 = $7; + $9 = HEAP32[$6 + 84 >> 2]; + $7 = $9; + $9 = HEAP32[$6 + 88 >> 2]; + $10 = $9; + $9 = $8; + $12 = $15; + $11 = $21; + __addtf3($6 - -64 | 0, $13, $7, $10, $9, $14, $12, $20, $11); + $11 = HEAP32[$6 + 72 >> 2]; + $20 = $11; + $12 = HEAP32[$6 + 76 >> 2]; + $21 = $12; + $30 = 1; + $12 = HEAP32[$6 + 64 >> 2]; + $14 = $12; + $11 = HEAP32[$6 + 68 >> 2]; + $15 = $11; + } + $11 = $19; + $8 = $11; + $9 = $17; + $10 = $9 + 1 | 0; + $8 = $10 ? $8 : $8 + 1 | 0; + $17 = $10; + $19 = $8; + $8 = 1; + } + $13 = HEAP32[$1 + 4 >> 2]; + if (($13 | 0) != HEAP32[$1 + 104 >> 2]) { + HEAP32[$1 + 4 >> 2] = $13 + 1; + $13 = HEAPU8[$13 | 0]; } else { - HEAP32[i37 >> 2] = 0; - i35 = 31; - break; + $13 = __shgetc($1); } - } else i35 = 31; while (0); - if ((i35 | 0) == 31) { - i35 = 0; - if (i3) { - i35 = 239; - break; - } else i10 = 0; + continue; } - L46 : do switch (HEAP8[i26 + i11 >> 0] | 0) { - case 1: - { - if ((i11 | 0) == 3) i1 = i34; else { - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i31 >> 2] | 0) + 12 >> 2] & 63](i31, 8192, i1) | 0)) { - i35 = 44; - break L21; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 4; - i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw(i45, i1); - i35 = 46; + break; + } + label$22: { + if (!$8) { + $11 = $1; + $8 = HEAP32[$11 + 112 >> 2]; + $9 = HEAP32[$1 + 116 >> 2]; + label$24: { + label$25: { + if (($9 | 0) > 0 | ($9 | 0) >= 0) { + $13 = HEAP32[$1 + 4 >> 2]; + HEAP32[$1 + 4 >> 2] = $13 - 1; + if (!$5) { + break label$25; + } + HEAP32[$1 + 4 >> 2] = $13 - 2; + if (!$28) { + break label$24; + } + HEAP32[$1 + 4 >> 2] = $13 - 3; + break label$24; + } + if ($5) { + break label$24; + } + } + __shlim($1, 0, 0); + } + __extenddftf2($6 + 96 | 0, +($4 | 0) * 0); + $11 = HEAP32[$6 + 96 >> 2]; + $14 = $11; + $9 = HEAP32[$6 + 100 >> 2]; + $15 = $9; + $11 = HEAP32[$6 + 108 >> 2]; + $27 = $11; + $9 = HEAP32[$6 + 104 >> 2]; + break label$22; + } + $11 = $19; + $7 = $17; + if (($11 | 0) <= 0 & $7 >>> 0 <= 7 | ($11 | 0) < 0) { + $18 = $17; + $7 = $19; + $16 = $7; + while (1) { + $22 = $22 << 4; + $7 = $16; + $8 = $18; + $12 = $8 + 1 | 0; + $10 = $12 ? $7 : $7 + 1 | 0; + $18 = $12; + $7 = $12; + $16 = $10; + if (($7 | 0) != 8 | $10) { + continue; } break; } - case 0: - { - if ((i11 | 0) == 3) i1 = i34; else i35 = 46; - break; - } - case 3: - { - i1 = HEAP8[i18 >> 0] | 0; - i1 = i1 << 24 >> 24 < 0 ? HEAP32[i19 >> 2] | 0 : i1 & 255; - i4 = HEAP8[i20 >> 0] | 0; - i4 = i4 << 24 >> 24 < 0 ? HEAP32[i21 >> 2] | 0 : i4 & 255; - if ((i1 | 0) == (0 - i4 | 0)) i1 = i34; else { - i5 = (i1 | 0) == 0; - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - i3 = (i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0); - if (i5 | (i4 | 0) == 0) { - if (i3) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (i5) { - if ((i1 | 0) != (HEAP32[((HEAP8[i20 >> 0] | 0) < 0 ? HEAP32[i44 >> 2] | 0 : i44) >> 2] | 0)) { - i1 = i34; - break L46; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - } - HEAP8[i30 >> 0] = 1; - i1 = HEAP8[i20 >> 0] | 0; - i1 = (i1 << 24 >> 24 < 0 ? HEAP32[i21 >> 2] | 0 : i1 & 255) >>> 0 > 1 ? i44 : i34; - break L46; - } - if ((i1 | 0) != (HEAP32[((HEAP8[i18 >> 0] | 0) < 0 ? HEAP32[i43 >> 2] | 0 : i43) >> 2] | 0)) { - HEAP8[i30 >> 0] = 1; - i1 = i34; - break L46; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - } - i1 = HEAP8[i18 >> 0] | 0; - i1 = (i1 << 24 >> 24 < 0 ? HEAP32[i19 >> 2] | 0 : i1 & 255) >>> 0 > 1 ? i43 : i34; - break L46; - } - if (i3) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - i2 = HEAP32[i36 >> 2] | 0; - i3 = i2 + 12 | 0; - i4 = HEAP32[i3 >> 2] | 0; - i5 = (i4 | 0) == (HEAP32[i2 + 16 >> 2] | 0); - if ((i1 | 0) == (HEAP32[((HEAP8[i18 >> 0] | 0) < 0 ? HEAP32[i43 >> 2] | 0 : i43) >> 2] | 0)) { - if (i5) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 40 >> 2] & 127](i2) | 0; else { - HEAP32[i3 >> 2] = i4 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i4 >> 2] | 0) | 0; - } - i1 = HEAP8[i18 >> 0] | 0; - i1 = (i1 << 24 >> 24 < 0 ? HEAP32[i19 >> 2] | 0 : i1 & 255) >>> 0 > 1 ? i43 : i34; - break L46; - } - if (i5) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i4 >> 2] | 0) | 0; - if ((i1 | 0) != (HEAP32[((HEAP8[i20 >> 0] | 0) < 0 ? HEAP32[i44 >> 2] | 0 : i44) >> 2] | 0)) { - i35 = 103; - break L21; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - } - HEAP8[i30 >> 0] = 1; - i1 = HEAP8[i20 >> 0] | 0; - i1 = (i1 << 24 >> 24 < 0 ? HEAP32[i21 >> 2] | 0 : i1 & 255) >>> 0 > 1 ? i44 : i34; + } + label$29: { + label$30: { + label$31: { + if (($13 & -33) == 80) { + $7 = scanexp($1, $5); + $18 = $7; + $10 = i64toi32_i32$HIGH_BITS; + $16 = $10; + $9 = $18; + if ($9 | ($10 | 0) != -2147483648) { + break label$29; + } + if ($5) { + $8 = $1; + $9 = HEAP32[$8 + 112 >> 2]; + $10 = HEAP32[$1 + 116 >> 2]; + if (($10 | 0) > 0 | ($10 | 0) >= 0) { + break label$31; + } + break label$30; + } + $14 = 0; + $15 = 0; + __shlim($1, 0, 0); + $9 = 0; + break label$22; + } + $18 = 0; + $16 = 0; + $7 = $1; + $8 = HEAP32[$7 + 112 >> 2]; + $10 = HEAP32[$1 + 116 >> 2]; + if (($10 | 0) < 0) { + break label$29; + } + } + HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] - 1; + } + $18 = 0; + $16 = 0; + } + if (!$22) { + __extenddftf2($6 + 112 | 0, +($4 | 0) * 0); + $7 = HEAP32[$6 + 112 >> 2]; + $14 = $7; + $10 = HEAP32[$6 + 116 >> 2]; + $15 = $10; + $7 = HEAP32[$6 + 124 >> 2]; + $27 = $7; + $10 = HEAP32[$6 + 120 >> 2]; + $9 = $10; + break label$22; + } + $11 = $28; + $8 = $11 ? $23 : $17; + $7 = $24; + $10 = $19; + $9 = $11 ? $7 : $10; + $1 = $8 << 2; + $8 = $9 << 2 | $8 >>> 30; + $11 = $16; + $12 = $8 + $11 | 0; + $9 = $1; + $7 = $18; + $10 = $9 + $7 | 0; + $12 = $7 >>> 0 > $10 >>> 0 ? $12 + 1 | 0 : $12; + $8 = $10; + $11 = $8 - 32 | 0; + $17 = $11; + $10 = $8 >>> 0 < 32; + $10 = $12 - $10 | 0; + $19 = $10; + $7 = 0 - $3 | 0; + if ($11 >>> 0 > $7 >>> 0 & ($10 | 0) >= 0 | ($10 | 0) > 0) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 68, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __floatsitf($6 + 160 | 0, $4); + $12 = HEAP32[$6 + 160 >> 2]; + $3 = $12; + $12 = HEAP32[$6 + 172 >> 2]; + $1 = $12; + $10 = HEAP32[$6 + 164 >> 2]; + $12 = $10; + $10 = HEAP32[$6 + 168 >> 2]; + $2 = $10; + $10 = $1; + __multf3($6 + 144 | 0, $3, $12, $2, $10, -1, -1, -1, 2147418111); + $8 = HEAP32[$6 + 144 >> 2]; + $3 = $8; + $8 = HEAP32[$6 + 156 >> 2]; + $1 = $8; + $7 = HEAP32[$6 + 148 >> 2]; + $8 = $7; + $7 = HEAP32[$6 + 152 >> 2]; + $2 = $7; + $7 = $1; + __multf3($6 + 128 | 0, $3, $8, $2, $7, -1, -1, -1, 2147418111); + $12 = HEAP32[$6 + 128 >> 2]; + $14 = $12; + $10 = HEAP32[$6 + 132 >> 2]; + $15 = $10; + $12 = HEAP32[$6 + 140 >> 2]; + $27 = $12; + $10 = HEAP32[$6 + 136 >> 2]; + $9 = $10; + break label$22; + } + $10 = $3 - 226 | 0; + $12 = $10 >> 31; + $7 = $10; + $8 = $17; + $10 = $19; + if ($7 >>> 0 <= $8 >>> 0 & ($12 | 0) <= ($10 | 0) | ($12 | 0) < ($10 | 0)) { + if (($22 | 0) >= 0) { + while (1) { + $7 = $15; + $12 = $21; + __addtf3($6 + 416 | 0, $14, $7, $20, $12, 0, 0, 0, -1073807360); + $8 = $12; + $13 = __getf2($14, $7, $20, $8, 0, 0, 0, 1073610752); + $12 = HEAP32[$6 + 420 >> 2]; + $5 = $12; + $12 = $7; + $7 = HEAP32[$6 + 416 >> 2]; + $1 = ($13 | 0) < 0; + $9 = $1; + $10 = $9 ? $14 : $7; + $16 = $10; + $7 = $5; + $8 = $9 ? $12 : $7; + $11 = $8; + $10 = HEAP32[$6 + 428 >> 2]; + $5 = $10; + $8 = HEAP32[$6 + 424 >> 2]; + $7 = $1; + $12 = $7 ? $20 : $8; + $10 = $21; + $8 = $5; + $9 = $7 ? $10 : $8; + $10 = $9; + $9 = $15; + $7 = $11; + __addtf3($6 + 400 | 0, $14, $9, $20, $21, $16, $7, $12, $10); + $12 = $17; + $8 = $12 - 1 | 0; + $17 = $8; + $10 = $19; + $11 = !$12; + $11 = $10 - $11 | 0; + $19 = $11; + $11 = HEAP32[$6 + 408 >> 2]; + $20 = $11; + $12 = HEAP32[$6 + 412 >> 2]; + $21 = $12; + $12 = HEAP32[$6 + 400 >> 2]; + $14 = $12; + $11 = HEAP32[$6 + 404 >> 2]; + $15 = $11; + $22 = $22 << 1 | ($13 | 0) >= 0; + if (($22 | 0) >= 0) { + continue; + } + break; } - break; } - case 2: - { - if (i11 >>> 0 < 2 | (i34 | 0) != 0) { - i2 = HEAP8[i13 >> 0] | 0; - i3 = HEAP32[i42 >> 2] | 0; - i1 = i2 << 24 >> 24 < 0 ? i3 : i42; - if (i11) i35 = 108; - } else { - if (!(i12 | (i11 | 0) == 2 & (HEAP8[i14 >> 0] | 0) != 0)) { - i1 = 0; - break L46; - } - i2 = HEAP8[i13 >> 0] | 0; - i3 = HEAP32[i42 >> 2] | 0; - i1 = i2 << 24 >> 24 < 0 ? i3 : i42; - i35 = 108; - } - L108 : do if ((i35 | 0) == 108) { - i35 = 0; - if ((HEAPU8[i26 + (i11 + -1) >> 0] | 0) < 2) { - i4 = i2; - while (1) { - i9 = i4 << 24 >> 24 < 0; - i2 = i1; - if (((i9 ? i3 : i42) + ((i9 ? HEAP32[i15 >> 2] | 0 : i4 & 255) << 2) | 0) == (i2 | 0)) { - i2 = i4; - break; - } - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i31 >> 2] | 0) + 12 >> 2] & 63](i31, 8192, HEAP32[i2 >> 2] | 0) | 0)) { - i35 = 112; - break; + $12 = $3; + $11 = $12 >> 31; + $1 = $11; + $10 = $17; + $9 = $12; + $7 = $10 - $9 | 0; + $11 = $19; + $12 = $1; + $8 = $12 + ($9 >>> 0 > $10 >>> 0) | 0; + $8 = $11 - $8 | 0; + $11 = $7; + $7 = $8; + $12 = $11 + 32 | 0; + $7 = $12 >>> 0 < 32 ? $7 + 1 | 0 : $7; + $13 = $12; + $9 = $2; + $8 = $13; + $13 = ($7 | 0) <= 0 & $9 >>> 0 > $8 >>> 0 | ($7 | 0) < 0 ? ($8 | 0) > 0 ? $8 : 0 : $9; + label$39: { + if (($13 | 0) >= 113) { + __floatsitf($6 + 384 | 0, $4); + $8 = HEAP32[$6 + 392 >> 2]; + $23 = $8; + $7 = HEAP32[$6 + 396 >> 2]; + $24 = $7; + $7 = HEAP32[$6 + 384 >> 2]; + $26 = $7; + $8 = HEAP32[$6 + 388 >> 2]; + $25 = $8; + $18 = 0; + break label$39; + } + __extenddftf2($6 + 352 | 0, scalbn(1, 144 - $13 | 0)); + __floatsitf($6 + 336 | 0, $4); + $8 = HEAP32[$6 + 352 >> 2]; + $4 = $8; + $7 = HEAP32[$6 + 356 >> 2]; + $2 = $7; + $7 = HEAP32[$6 + 360 >> 2]; + $3 = $7; + $8 = HEAP32[$6 + 364 >> 2]; + $1 = $8; + $8 = HEAP32[$6 + 336 >> 2]; + $26 = $8; + $7 = HEAP32[$6 + 340 >> 2]; + $25 = $7; + $7 = HEAP32[$6 + 344 >> 2]; + $23 = $7; + $8 = HEAP32[$6 + 348 >> 2]; + $24 = $8; + $8 = $2; + $7 = $1; + $9 = $25; + $11 = $24; + copysignl($6 + 368 | 0, $4, $8, $3, $7, $26, $9, $23, $11); + $11 = HEAP32[$6 + 376 >> 2]; + $29 = $11; + $9 = HEAP32[$6 + 380 >> 2]; + $27 = $9; + $11 = HEAP32[$6 + 372 >> 2]; + $31 = $11; + $9 = HEAP32[$6 + 368 >> 2]; + $18 = $9; + } + $11 = $31; + $16 = $11; + $11 = $15; + $9 = $21; + $13 = !($22 & 1) & ((__letf2($14, $11, $20, $9, 0, 0, 0, 0) | 0) != 0 & ($13 | 0) < 32); + __floatunsitf($6 + 320 | 0, $22 + $13 | 0); + $8 = HEAP32[$6 + 320 >> 2]; + $2 = $8; + $7 = HEAP32[$6 + 324 >> 2]; + $9 = $7; + $7 = HEAP32[$6 + 328 >> 2]; + $1 = $7; + $8 = HEAP32[$6 + 332 >> 2]; + $11 = $8; + $8 = $25; + $7 = $24; + __multf3($6 + 304 | 0, $26, $8, $23, $7, $2, $9, $1, $11); + $11 = HEAP32[$6 + 304 >> 2]; + $3 = $11; + $11 = HEAP32[$6 + 316 >> 2]; + $1 = $11; + $9 = HEAP32[$6 + 308 >> 2]; + $11 = $9; + $9 = HEAP32[$6 + 312 >> 2]; + $2 = $9; + $9 = $1; + $7 = $16; + $8 = $27; + __addtf3($6 + 272 | 0, $3, $11, $2, $9, $18, $7, $29, $8); + $10 = $13; + $11 = $10 ? 0 : $14; + $3 = $11; + $7 = $15; + $9 = $10 ? 0 : $7; + $7 = $10; + $8 = $7 ? 0 : $20; + $2 = $8; + $11 = $21; + $10 = $7 ? 0 : $11; + $1 = $10; + $10 = $25; + $8 = $24; + $7 = $9; + $9 = $1; + __multf3($6 + 288 | 0, $26, $10, $23, $8, $3, $7, $2, $9); + $9 = HEAP32[$6 + 288 >> 2]; + $11 = $9; + $7 = HEAP32[$6 + 292 >> 2]; + $2 = $7; + $7 = HEAP32[$6 + 296 >> 2]; + $5 = $7; + $9 = HEAP32[$6 + 300 >> 2]; + $1 = $9; + $9 = HEAP32[$6 + 272 >> 2]; + $4 = $9; + $7 = HEAP32[$6 + 276 >> 2]; + $8 = $7; + $7 = HEAP32[$6 + 280 >> 2]; + $3 = $7; + $9 = HEAP32[$6 + 284 >> 2]; + $10 = $9; + $9 = $2; + $7 = $1; + __addtf3($6 + 256 | 0, $11, $9, $5, $7, $4, $8, $3, $10); + $10 = HEAP32[$6 + 256 >> 2]; + $3 = $10; + $10 = HEAP32[$6 + 268 >> 2]; + $1 = $10; + $8 = HEAP32[$6 + 260 >> 2]; + $10 = $8; + $8 = HEAP32[$6 + 264 >> 2]; + $2 = $8; + $8 = $1; + $7 = $16; + $9 = $27; + __subtf3($6 + 240 | 0, $3, $10, $2, $8, $18, $7, $29, $9); + $9 = HEAP32[$6 + 240 >> 2]; + $14 = $9; + $9 = HEAP32[$6 + 252 >> 2]; + $21 = $9; + $7 = HEAP32[$6 + 244 >> 2]; + $15 = $7; + $9 = $7; + $7 = HEAP32[$6 + 248 >> 2]; + $20 = $7; + $7 = $21; + if (!__letf2($14, $9, $20, $7, 0, 0, 0, 0)) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 68, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $10 = $15; + $8 = $21; + scalbnl($6 + 224 | 0, $14, $10, $20, $8, $17); + $8 = HEAP32[$6 + 224 >> 2]; + $14 = $8; + $10 = HEAP32[$6 + 228 >> 2]; + $15 = $10; + $8 = HEAP32[$6 + 236 >> 2]; + $27 = $8; + $10 = HEAP32[$6 + 232 >> 2]; + $9 = $10; + break label$22; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 68, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __floatsitf($6 + 208 | 0, $4); + $8 = HEAP32[$6 + 208 >> 2]; + $3 = $8; + $8 = HEAP32[$6 + 220 >> 2]; + $1 = $8; + $10 = HEAP32[$6 + 212 >> 2]; + $8 = $10; + $10 = HEAP32[$6 + 216 >> 2]; + $2 = $10; + $10 = $1; + __multf3($6 + 192 | 0, $3, $8, $2, $10, 0, 0, 0, 65536); + $9 = HEAP32[$6 + 192 >> 2]; + $3 = $9; + $9 = HEAP32[$6 + 204 >> 2]; + $1 = $9; + $7 = HEAP32[$6 + 196 >> 2]; + $9 = $7; + $7 = HEAP32[$6 + 200 >> 2]; + $2 = $7; + $7 = $1; + __multf3($6 + 176 | 0, $3, $9, $2, $7, 0, 0, 0, 65536); + $8 = HEAP32[$6 + 176 >> 2]; + $14 = $8; + $10 = HEAP32[$6 + 180 >> 2]; + $15 = $10; + $8 = HEAP32[$6 + 188 >> 2]; + $27 = $8; + $10 = HEAP32[$6 + 184 >> 2]; + $9 = $10; + } + $8 = $27; + $19 = $8; + $10 = $0; + HEAP32[$10 >> 2] = $14; + $8 = $15; + HEAP32[$10 + 4 >> 2] = $8; + $17 = $9; + HEAP32[$10 + 8 >> 2] = $17; + $8 = $19; + HEAP32[$10 + 12 >> 2] = $8; + __stack_pointer = $6 + 432 | 0; +} + +function vision__HoughSimilarityVoting__getBinIndex_28int_2c_20int_2c_20int_2c_20int_29_20const($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + if (($1 | 0) >= 0) { + $5 = HEAP32[$0 + 52 >> 2]; + if (($5 | 0) <= ($1 | 0)) { + break label$9; + } + if (($2 | 0) < 0) { + break label$8; + } + $6 = HEAP32[$0 + 56 >> 2]; + if (($6 | 0) <= ($2 | 0)) { + break label$7; + } + if (($3 | 0) < 0) { + break label$6; + } + $7 = HEAP32[$0 + 60 >> 2]; + if (($7 | 0) <= ($3 | 0)) { + break label$5; + } + if (($4 | 0) < 0) { + break label$4; + } + if (HEAP32[$0 + 64 >> 2] <= ($4 | 0)) { + break label$3; + } + $1 = Math_imul($2, $5) + $1 | 0; + $0 = ($1 + Math_imul(HEAP32[$0 + 84 >> 2], $3) | 0) + Math_imul(HEAP32[$0 + 88 >> 2], $4) | 0; + if (($0 | 0) > (Math_imul(Math_imul($4, $7) + $3 | 0, Math_imul($5, $6)) + $1 | 0)) { + break label$2; + } + return $0; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 17294), 16336), 3289), 165), 3786), 17493), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 17732), 16336), 3289), 166), 3786), 17493), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 18039), 16336), 3289), 167), 3786), 18091), 16); + break label$1; } - i1 = i2 + 4 | 0; - i4 = HEAP8[i13 >> 0] | 0; - i3 = HEAP32[i42 >> 2] | 0; - } - if ((i35 | 0) == 112) { - i35 = 0; - i2 = HEAP8[i13 >> 0] | 0; - i3 = HEAP32[i42 >> 2] | 0; - } - i5 = i2 << 24 >> 24 < 0 ? i3 : i42; - i9 = i5; - i7 = i1 - i9 >> 2; - i6 = HEAP8[i16 >> 0] | 0; - i8 = i6 << 24 >> 24 < 0; - i4 = HEAP32[i17 >> 2] | 0; - i6 = i6 & 255; - if (i7 >>> 0 > (i8 ? i4 : i6) >>> 0) i1 = i9; else { - i48 = (HEAP32[i45 >> 2] | 0) + (i4 << 2) | 0; - i4 = i45 + (i6 << 2) | 0; - i6 = i8 ? i48 : i4; - i4 = (i8 ? i48 : i4) + (0 - i7 << 2) | 0; - while (1) { - if ((i4 | 0) == (i6 | 0)) break L108; - if ((HEAP32[i4 >> 2] | 0) != (HEAP32[i5 >> 2] | 0)) { - i1 = i9; - break L108; - } - i5 = i5 + 4 | 0; - i4 = i4 + 4 | 0; - } - } - } - } while (0); - i5 = i1; - i4 = i10; - L124 : while (1) { - i48 = i2 << 24 >> 24 < 0; - if ((i5 | 0) == ((i48 ? i3 : i42) + ((i48 ? HEAP32[i15 >> 2] | 0 : i2 & 255) << 2) | 0)) break; - i1 = HEAP32[i36 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i36 >> 2] | 0) == 0; - break; - } - } else i2 = 1; while (0); - do if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else break L124; else { - HEAP32[i37 >> 2] = 0; - i35 = 134; - break; - } - } else i35 = 134; while (0); - if ((i35 | 0) == 134) { - i35 = 0; - if (i2) break; else i4 = 0; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if ((i1 | 0) != (HEAP32[i5 >> 2] | 0)) break; - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - } - i5 = i5 + 4 | 0; - i2 = HEAP8[i13 >> 0] | 0; - i3 = HEAP32[i42 >> 2] | 0; - } - if (i12 ? (i48 = HEAP8[i13 >> 0] | 0, i10 = i48 << 24 >> 24 < 0, (i5 | 0) != ((i10 ? HEAP32[i42 >> 2] | 0 : i42) + ((i10 ? HEAP32[i15 >> 2] | 0 : i48 & 255) << 2) | 0)) : 0) { - i35 = 146; - break L21; - } else i1 = i34; - break; - } - case 4: - { - i5 = 0; - i4 = i10; - i1 = i10; - L161 : while (1) { - i2 = HEAP32[i36 >> 2] | 0; - do if (i2) { - i3 = HEAP32[i2 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i36 >> 2] | 0) == 0; - break; - } - } else i3 = 1; while (0); - do if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i3) { - i6 = i4; - break; - } else { - i4 = i1; - break L161; - } else { - HEAP32[i37 >> 2] = 0; - i1 = 0; - i35 = 160; - break; - } - } else i35 = 160; while (0); - if ((i35 | 0) == 160) { - i35 = 0; - if (i3) { - i4 = i1; - break; - } else i6 = 0; - } - i2 = HEAP32[i36 >> 2] | 0; - i3 = HEAP32[i2 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i3 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i31 >> 2] | 0) + 12 >> 2] & 63](i31, 2048, i3) | 0) { - i2 = HEAP32[i33 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i24 >> 2] | 0)) { - __ZNSt3__219__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(i32, i33, i24); - i2 = HEAP32[i33 >> 2] | 0; - } - HEAP32[i33 >> 2] = i2 + 4; - HEAP32[i2 >> 2] = i3; - i2 = i5 + 1 | 0; - } else { - i48 = HEAP8[i22 >> 0] | 0; - if (!((i3 | 0) == (HEAP32[i28 >> 2] | 0) & (i5 | 0 ? ((i48 << 24 >> 24 < 0 ? HEAP32[i23 >> 2] | 0 : i48 & 255) | 0) != 0 : 0))) { - i4 = i1; - break; - } - i2 = HEAP32[i38 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i25 >> 2] | 0)) { - __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(i46, i38, i25); - i2 = HEAP32[i38 >> 2] | 0; - } - HEAP32[i38 >> 2] = i2 + 4; - HEAP32[i2 >> 2] = i5; - i2 = 0; - } - i3 = HEAP32[i36 >> 2] | 0; - i4 = i3 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - if ((i5 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 40 >> 2] & 127](i3) | 0; else { - HEAP32[i4 >> 2] = i5 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i5 >> 2] | 0) | 0; - } - i5 = i2; - i4 = i6; - } - i1 = HEAP32[i38 >> 2] | 0; - if (i5 | 0 ? (HEAP32[i46 >> 2] | 0) != (i1 | 0) : 0) { - if ((i1 | 0) == (HEAP32[i25 >> 2] | 0)) { - __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(i46, i38, i25); - i1 = HEAP32[i38 >> 2] | 0; - } - HEAP32[i38 >> 2] = i1 + 4; - HEAP32[i1 >> 2] = i5; - } - L211 : do if ((HEAP32[i29 >> 2] | 0) > 0) { - i1 = HEAP32[i36 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i36 >> 2] | 0) == 0; - break; - } - } else i2 = 1; while (0); - do if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i35 = 201; - break L21; - } else { - HEAP32[i37 >> 2] = 0; - i35 = 195; - break; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 18493), 16336), 3289), 168), 3786), 18091), 16); + break label$1; } - } else i35 = 195; while (0); - if ((i35 | 0) == 195) { - i35 = 0; - if (i2) { - i35 = 201; - break L21; - } else i4 = 0; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if ((i1 | 0) != (HEAP32[i27 >> 2] | 0)) { - i35 = 201; - break L21; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - } - i3 = i4; - while (1) { - if ((HEAP32[i29 >> 2] | 0) <= 0) break L211; - i1 = HEAP32[i36 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i36 >> 2] | 0) == 0; - break; - } - } else i2 = 1; while (0); - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) { - i4 = i3; - break; - } else { - i35 = 226; - break L21; - } else { - HEAP32[i37 >> 2] = 0; - i35 = 220; - break; - } - } else i35 = 220; while (0); - if ((i35 | 0) == 220) { - i35 = 0; - if (i2) { - i35 = 226; - break L21; - } else i4 = 0; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i31 >> 2] | 0) + 12 >> 2] & 63](i31, 2048, i1) | 0)) { - i35 = 226; - break L21; - } - if ((HEAP32[i33 >> 2] | 0) == (HEAP32[i24 >> 2] | 0)) __ZNSt3__219__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(i32, i33, i24); - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - i2 = HEAP32[i33 >> 2] | 0; - HEAP32[i33 >> 2] = i2 + 4; - HEAP32[i2 >> 2] = i1; - HEAP32[i29 >> 2] = (HEAP32[i29 >> 2] | 0) + -1; - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - } - i3 = i4; - } - } while (0); - if ((HEAP32[i33 >> 2] | 0) == (HEAP32[i32 >> 2] | 0)) { - i35 = 237; - break L21; - } else i1 = i34; - break; - } - default: - i1 = i34; - } while (0); - L286 : do if ((i35 | 0) == 46) { - i35 = 0; - i3 = i10; - while (1) { - i1 = HEAP32[i36 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i36 >> 2] | 0) == 0; - break; - } - } else i2 = 1; while (0); - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) { - i4 = i3; - break; - } else { - i1 = i34; - break L286; - } else { - HEAP32[i37 >> 2] = 0; - i35 = 60; - break; - } - } else i35 = 60; while (0); - if ((i35 | 0) == 60) { - i35 = 0; - if (i2) { - i1 = i34; - break L286; - } else i4 = 0; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i31 >> 2] | 0) + 12 >> 2] & 63](i31, 8192, i1) | 0)) { - i1 = i34; - break L286; - } - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 4; - i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw(i45, i1); - i3 = i4; - } - } while (0); - i34 = i1; - i11 = i11 + 1 | 0; - } - L322 : do if ((i35 | 0) == 44) { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - } else if ((i35 | 0) == 103) { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - } else if ((i35 | 0) == 146) { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - } else if ((i35 | 0) == 201) { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - } else if ((i35 | 0) == 226) { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - } else if ((i35 | 0) == 237) { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - } else if ((i35 | 0) == 239) { - L324 : do if (i34 | 0) { - i5 = i34 + 8 + 3 | 0; - i6 = i34 + 4 | 0; - i4 = 1; - L326 : while (1) { - i1 = HEAP8[i5 >> 0] | 0; - if (i1 << 24 >> 24 < 0) i1 = HEAP32[i6 >> 2] | 0; else i1 = i1 & 255; - if (i4 >>> 0 >= i1 >>> 0) break L324; - i1 = HEAP32[i36 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i36 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i36 >> 2] | 0) == 0; - break; - } - } else i3 = 1; while (0); - i1 = HEAP32[i37 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i3) break; else break L326; else { - HEAP32[i37 >> 2] = 0; - i35 = 258; - break; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 18735), 16336), 3289), 169), 3786), 19013), 16); + break label$1; } - } else i35 = 258; while (0); - if ((i35 | 0) == 258 ? (i35 = 0, i3) : 0) break; - i1 = HEAP32[i36 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if ((HEAP8[i5 >> 0] | 0) < 0) i2 = HEAP32[i34 >> 2] | 0; else i2 = i34; - if ((i1 | 0) != (HEAP32[i2 + (i4 << 2) >> 2] | 0)) break; - i1 = HEAP32[i36 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - } - i4 = i4 + 1 | 0; - } - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - break L322; - } while (0); - i2 = HEAP32[i46 >> 2] | 0; - i1 = HEAP32[i38 >> 2] | 0; - if ((i2 | 0) != (i1 | 0)) { - HEAP32[i39 >> 2] = 0; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i41, i2, i1, i39); - if (!(HEAP32[i39 >> 2] | 0)) { - i2 = 1; - break; - } else { - HEAP32[i40 >> 2] = HEAP32[i40 >> 2] | 4; - i2 = 0; - break; - } - } else i2 = 1; - } while (0); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i45); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i44); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i43); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i42); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i41); - i1 = HEAP32[i46 >> 2] | 0; - HEAP32[i46 >> 2] = 0; - if (i1 | 0) FUNCTION_TABLE_vi[HEAP32[i46 + 4 >> 2] & 255](i1); - STACKTOP = i47; - return i2 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_118parse_builtin_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i3 = 0, i5 = 0, i6 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i6; - L1 : do if ((i1 | 0) != (i2 | 0)) do switch (HEAP8[i1 >> 0] | 0) { - case 118: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm5EEERAT__Kc(i5, 51106); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 119: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm8EEERAT__Kc(i5); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 98: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm5EEERAT__Kc(i5, 51111); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 99: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm5EEERAT__Kc(i5, 50880); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 97: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm12EEERAT__Kc(i5, 50885); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 104: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm14EEERAT__Kc(i5, 50897); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 115: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm6EEERAT__Kc(i5, 50911); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 116: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm15EEERAT__Kc(i5, 50917); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 105: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm4EEERAT__Kc(i5, 51116); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 106: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm13EEERAT__Kc(i5, 51120); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 108: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm5EEERAT__Kc(i5, 51133); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 109: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm14EEERAT__Kc(i5, 51138); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 120: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i5, 51152); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 121: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm19EEERAT__Kc(i5); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 110: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm9EEERAT__Kc(i5, 50946); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 111: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm18EEERAT__Kc(i5, 50955); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 102: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm6EEERAT__Kc(i5, 51162); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 100: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm7EEERAT__Kc(i5); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 101: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm12EEERAT__Kc(i5, 51168); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 103: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i5, 51180); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 122: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm4EEERAT__Kc(i5, 51191); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 1 | 0; - break L1; - } - case 117: - { - i3 = i1 + 1 | 0; - i5 = __ZN10__cxxabiv112_GLOBAL__N_117parse_source_nameINS0_2DbEEEPKcS4_S4_RT_(i3, i2, i4) | 0; - i1 = (i5 | 0) == (i3 | 0) ? i1 : i5; - break L1; - } - case 68: - { - i3 = i1 + 1 | 0; - if ((i3 | 0) == (i2 | 0)) break L1; - switch (HEAP8[i3 >> 0] | 0) { - case 100: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i5, 51195); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 101: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i5, 51205); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 102: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i5, 51216); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 104: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i5, 51226); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 105: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm9EEERAT__Kc(i5, 51236); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 115: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm9EEERAT__Kc(i5, 51245); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 97: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm5EEERAT__Kc(i5, 51254); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 110: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm15EEERAT__Kc(i5, 51259); - i2 = i4 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i4, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 19248), 16336), 3289), 170), 3786), 19013), 16); + break label$1; } - default: - break L1; - } - } - default: - break L1; - } while (0); while (0); - STACKTOP = i6; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_117parse_nested_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i37, i41) { - i1 = i1 | 0; - i37 = i37 | 0; - i41 = i41 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i38 = 0, i39 = 0, i40 = 0, i42 = 0, i43 = 0, i44 = 0; - i44 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i42 = i44 + 36 | 0; - i38 = i44 + 24 | 0; - i39 = i44 + 8 | 0; - i40 = i44; - L1 : do if ((i1 | 0) != (i37 | 0) ? (HEAP8[i1 >> 0] | 0) == 78 : 0) { - i3 = __ZN10__cxxabiv112_GLOBAL__N_119parse_cv_qualifiersEPKcS2_Rj(i1 + 1 | 0, i37, i42) | 0; - L4 : do if ((i3 | 0) != (i37 | 0)) { - i4 = i41 + 52 | 0; - HEAP32[i4 >> 2] = 0; - switch (HEAP8[i3 >> 0] | 0) { - case 82: - { - i2 = 1; - i6 = 6; - break; - } - case 79: - { - i2 = 2; - i6 = 6; - break; - } - default: - {} - } - if ((i6 | 0) == 6) { - HEAP32[i4 >> 2] = i2; - i3 = i3 + 1 | 0; - } - i36 = i41 + 4 | 0; - i2 = HEAP32[i36 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i41 + 8 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = 0; - HEAP32[i2 + 20 >> 2] = 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2Ev(i2); - HEAP32[i36 >> 2] = (HEAP32[i36 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE24__emplace_back_slow_pathIJEEEvDpOT_(i41); - if (((i37 - i3 | 0) > 1 ? (HEAP8[i3 >> 0] | 0) == 83 : 0) ? (HEAP8[i3 + 1 >> 0] | 0) == 116 : 0) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6assignEPKc((HEAP32[i36 >> 2] | 0) + -24 | 0, 51045); - i3 = i3 + 2 | 0; - } - if ((i3 | 0) == (i37 | 0)) { - i3 = HEAP32[i36 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i43 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i43 * 24 | 0) | 0); - i2 = i43; - } - HEAP32[i36 >> 2] = i3 + -24; - break; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 19548), 16336), 3289), 171), 3786), 19685), 16); + break label$1; } - i8 = i38 + 11 | 0; - i9 = i38 + 4 | 0; - i7 = i41 + 12 | 0; - i35 = i41 + 20 | 0; - i10 = i41 + 24 | 0; - i11 = i39 + 11 | 0; - i12 = i39 + 4 | 0; - i13 = i39 + 11 | 0; - i14 = i39 + 4 | 0; - i15 = i39 + 12 | 0; - i16 = i39 + 4 | 0; - i17 = i39 + 8 | 0; - i18 = i41 + 16 | 0; - i19 = i39 + 12 | 0; - i20 = i39 + 4 | 0; - i21 = i39 + 8 | 0; - i22 = i39 + 11 | 0; - i23 = i39 + 4 | 0; - i24 = i39 + 12 | 0; - i25 = i39 + 4 | 0; - i26 = i39 + 8 | 0; - i27 = i39 + 11 | 0; - i28 = i39 + 4 | 0; - i29 = i39 + 12 | 0; - i30 = i39 + 4 | 0; - i31 = i39 + 8 | 0; - i32 = i39 + 12 | 0; - i33 = i39 + 4 | 0; - i34 = i39 + 8 | 0; - i5 = 0; - L27 : while (1) { - L29 : while (1) { - i2 = HEAP8[i3 >> 0] | 0; - if (i2 << 24 >> 24 == 69) break L27; - switch (i2 << 24 >> 24 | 0) { - case 83: - { - i6 = 23; - break L29; - } - case 84: - { - i6 = 39; - break L29; - } - case 68: - { - i6 = 53; - break L29; - } - case 73: - { - i4 = __ZN10__cxxabiv112_GLOBAL__N_119parse_template_argsINS0_2DbEEEPKcS4_S4_RT_(i3, i37, i41) | 0; - if ((i4 | 0) == (i3 | 0) | (i4 | 0) == (i37 | 0)) break L4; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i38, (HEAP32[i36 >> 2] | 0) + -24 | 0); - i3 = HEAP32[i36 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i6 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i6 * 24 | 0) | 0); - i2 = i6; - } - HEAP32[i36 >> 2] = i3 + -24; - i2 = HEAP8[i8 >> 0] | 0; - i6 = i2 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i3 + -48 | 0, i6 ? HEAP32[i38 >> 2] | 0 : i38, i6 ? HEAP32[i9 >> 2] | 0 : i2 & 255) | 0; - i2 = (HEAP32[i36 >> 2] | 0) + -24 | 0; - HEAP32[i40 >> 2] = HEAP32[i7 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i39, i2, i40); - i2 = HEAP32[i35 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i3 = i2 + 4 | 0; - HEAP32[i3 >> 2] = 0; - i6 = i2 + 8 | 0; - HEAP32[i6 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i15 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i39 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i16 >> 2]; - HEAP32[i6 >> 2] = HEAP32[i17 >> 2]; - HEAP32[i17 >> 2] = 0; - HEAP32[i16 >> 2] = 0; - HEAP32[i39 >> 2] = 0; - HEAP32[i35 >> 2] = (HEAP32[i35 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i18, i39); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i39); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i38); - i3 = i4; - break; - } - case 76: - { - i3 = i3 + 1 | 0; - if ((i3 | 0) == (i37 | 0)) break L4; - break; - } - default: - { - i6 = 79; - break L29; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 19881), 16336), 3289), 172), 3786), 19685), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 20316), 16336), 3289), 176), 3786), 16991), 16); + } + abort(); + abort(); +} + +function __addtf3($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var $9 = 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; + $19 = __stack_pointer - 112 | 0; + __stack_pointer = $19; + $14 = $7; + $20 = $14; + $11 = $8; + $12 = $11 & 2147483647; + $21 = $12; + $12 = $2; + $17 = !($12 | $1); + $11 = $3; + $15 = $11; + $12 = $4; + $14 = $12 & 2147483647; + $16 = $14; + $10 = 2147418112; + $10 = $14 - $10 | 0; + $12 = $15; + $9 = $12; + label$1: { + label$2: { + $14 = $16; + if (!($14 | $9 ? $10 >>> 0 < 2147549184 : $17)) { + $13 = $5; + $14 = $6; + $14 = ($13 | $14) != 0; + $13 = $21; + $9 = 2147418112; + $9 = $13 - $9 | 0; + $12 = $20; + $11 = $12; + $12 = ($9 | 0) == -2147418112 & ($11 | 0) != 0 | $9 >>> 0 > 2147549184; + $13 = $9; + $10 = $11; + if (!$10 & ($13 | 0) == -2147418112 ? $14 : $12) { + break label$2; + } + } + $10 = $16; + $13 = $10 >>> 0 < 2147418112; + $12 = $10; + $9 = $15; + if (!(!$9 & ($12 | 0) == 2147418112 ? $17 : $13)) { + $13 = $3; + $7 = $13; + $9 = $4; + $12 = $9 | 32768; + $8 = $12; + $5 = $1; + $12 = $2; + $6 = $12; + break label$1; + } + $12 = $6; + $11 = !($12 | $5); + $12 = $21; + $13 = $12 >>> 0 < 2147418112; + $9 = $12; + $10 = $20; + if (!(!$10 & ($9 | 0) == 2147418112 ? $11 : $13)) { + $13 = $7; + $7 = $13; + $10 = $8; + $9 = $10 | 32768; + $8 = $9; + break label$1; + } + $9 = $16; + $13 = $9 ^ 2147418112; + $11 = $13; + $10 = $15; + $12 = $10; + $9 = $1; + $13 = $2; + $10 = $11; + $10 = $13 | $10; + if (!($12 | $9 | $10)) { + $12 = $5; + $13 = $1; + $11 = $12 ^ $13; + $9 = $6; + $10 = $2; + $9 = $9 ^ $10; + $5 = $9; + $13 = $8; + $9 = $4; + $13 = $13 ^ $9; + $12 = $7; + $10 = $3; + $9 = $12 ^ $10; + $12 = $9; + $10 = $13 ^ -2147483648; + $9 = $10; + $10 = $5; + $9 = $9 | $10; + $13 = $11; + $17 = !($9 | ($12 | $13)); + $14 = $17; + $12 = $14 ? 0 : $3; + $7 = $12; + $13 = $4; + $10 = $14 ? 2147450880 : $13; + $8 = $10; + $13 = $14; + $9 = $13 ? 0 : $1; + $5 = $9; + $12 = $2; + $14 = $13 ? 0 : $12; + $6 = $14; + break label$1; + } + $14 = $21; + $9 = $14 ^ 2147418112; + $14 = $5; + $13 = $20; + $10 = $13; + $13 = $9; + $9 = $6; + $13 = $13 | $9; + if (!($14 | $10 | $13)) { + break label$1; + } + $14 = $16; + $13 = $2; + $14 = $14 | $13; + $9 = $1; + $10 = $15; + if (!($14 | ($9 | $10))) { + $14 = $6; + $9 = $21; + $9 = $14 | $9; + $13 = $5; + $10 = $20; + $14 = $13 | $10; + if ($9 | $14) { + break label$1; + } + $13 = $5; + $10 = $1; + $5 = $13 & $10; + $14 = $2; + $9 = $6; + $9 = $14 & $9; + $6 = $9; + $14 = $3; + $13 = $7; + $7 = $14 & $13; + $9 = $4; + $10 = $8; + $10 = $9 & $10; + $8 = $10; + break label$1; + } + $14 = $21; + $10 = $6; + $14 = $14 | $10; + $13 = $20; + $9 = $5; + if ($14 | ($13 | $9)) { + break label$2; + } + $5 = $1; + $14 = $2; + $6 = $14; + $7 = $3; + $14 = $4; + $8 = $14; + break label$1; + } + $14 = $2; + $9 = $6; + $13 = $5; + $10 = $1; + $11 = ($14 | 0) == ($9 | 0) & $13 >>> 0 > $10 >>> 0 | $14 >>> 0 < $9 >>> 0; + $14 = $21; + $10 = $16; + $13 = $15; + $9 = $20; + $12 = ($14 | 0) == ($10 | 0) & $13 >>> 0 < $9 >>> 0 | $10 >>> 0 < $14 >>> 0; + $13 = $10; + $9 = $15; + $10 = $14; + $14 = $20; + $18 = ($9 | 0) == ($14 | 0) & ($10 | 0) == ($13 | 0) ? $11 : $12; + $12 = $18; + $10 = $12 ? $5 : $1; + $15 = $10; + $9 = $6; + $13 = $2; + $14 = $12 ? $9 : $13; + $16 = $14; + $9 = $12 ? $7 : $3; + $20 = $9; + $14 = $8; + $10 = $4; + $12 = $12 ? $14 : $10; + $21 = $12; + $22 = $9; + $9 = $12 & 65535; + $23 = $9; + $10 = $18; + $14 = $10 ? $3 : $7; + $24 = $14; + $9 = $4; + $13 = $8; + $12 = $10 ? $9 : $13; + $25 = $12; + $26 = $12 >>> 16 & 32767; + $14 = $21; + $17 = $14 >>> 16 & 32767; + if (!$17) { + $10 = $23; + $17 = !($10 | $22); + $13 = $17; + $9 = $13 ? $15 : $22; + $10 = $16; + $12 = $23; + $14 = $13 ? $10 : $12; + $10 = Math_clz32($14); + $11 = 0; + $9 = ($10 | 0) == 32 ? Math_clz32($9) + 32 | 0 : $10; + $10 = $17 << 6; + $12 = $9 + $10 | 0; + $11 = $16; + $9 = $23; + __ashlti3($19 + 96 | 0, $15, $11, $22, $9, $12 - 15 | 0); + $17 = 16 - $12 | 0; + $13 = $19; + $9 = HEAP32[$13 + 104 >> 2]; + $22 = $9; + $11 = HEAP32[$13 + 108 >> 2]; + $23 = $11; + $9 = HEAP32[$13 + 100 >> 2]; + $16 = $9; + $11 = HEAP32[$13 + 96 >> 2]; + $15 = $11; + } + $14 = $18; + $10 = $14 ? $1 : $5; + $5 = $10; + $9 = $2; + $11 = $6; + $13 = $14 ? $9 : $11; + $6 = $13; + $14 = $24; + $7 = $14; + $13 = $25; + $10 = $13 & 65535; + $8 = $10; + if (!$26) { + $10 = $8; + $18 = !($7 | $10); + $11 = $18; + $9 = $11 ? $5 : $7; + $10 = $6; + $14 = $8; + $13 = $11 ? $10 : $14; + $10 = Math_clz32($13); + $12 = 0; + $9 = ($10 | 0) == 32 ? Math_clz32($9) + 32 | 0 : $10; + $10 = $18 << 6; + $14 = $9 + $10 | 0; + $12 = $6; + $9 = $8; + __ashlti3($19 + 80 | 0, $5, $12, $7, $9, $14 - 15 | 0); + $26 = 16 - $14 | 0; + $11 = $19; + $9 = HEAP32[$11 + 88 >> 2]; + $7 = $9; + $12 = HEAP32[$11 + 92 >> 2]; + $8 = $12; + $9 = HEAP32[$11 + 84 >> 2]; + $6 = $9; + $12 = HEAP32[$11 + 80 >> 2]; + $5 = $12; + } + $11 = $7; + $2 = $11 << 3; + $9 = $8; + $12 = $9 << 3 | $11 >>> 29; + $1 = $12; + $12 = $6; + $10 = $12 >>> 29 | 0; + $11 = 0; + $9 = $11; + $11 = $1; + $9 = $11 | $9; + $12 = $2; + $11 = $12 | $10; + $3 = $11; + $12 = $9 | 524288; + $4 = $12; + $9 = $22; + $12 = $23; + $11 = $12 << 3 | $9 >>> 29; + $1 = $11; + $11 = $16; + $10 = $11 >>> 29 | 0; + $11 = $9 << 3; + $7 = $11 | $10; + $9 = 0; + $12 = $9; + $9 = $1; + $12 = $12 | $9; + $8 = $12; + $9 = $5; + $1 = $9 << 3; + $12 = $6; + $11 = $12 << 3 | $9 >>> 29; + $2 = $11; + $12 = $20; + $10 = $24; + $5 = $12 ^ $10; + $11 = $21; + $9 = $25; + $9 = $11 ^ $9; + $6 = $9; + label$10: { + if (($17 | 0) == ($26 | 0)) { + break label$10; + } + $18 = $17 - $26 | 0; + if ($18 >>> 0 > 127) { + $3 = 0; + $4 = 0; + $1 = 1; + $2 = 0; + break label$10; + } + $9 = $2; + $12 = $4; + __ashlti3($19 - -64 | 0, $1, $9, $3, $12, 128 - $18 | 0); + $12 = $9; + $9 = $4; + __lshrti3($19 + 48 | 0, $1, $12, $3, $9, $18); + $11 = $19; + $9 = HEAP32[$11 + 48 >> 2]; + $4 = $9; + $12 = HEAP32[$11 + 52 >> 2]; + $3 = $12; + $12 = HEAP32[$11 + 64 >> 2]; + $2 = $12; + $9 = HEAP32[$11 + 68 >> 2]; + $1 = $9; + $9 = HEAP32[$11 + 72 >> 2]; + $10 = $9; + $12 = HEAP32[$11 + 76 >> 2]; + $9 = $12; + $12 = $1; + $9 = $12 | $9; + $11 = $2; + $12 = $11 | $10; + $11 = ($9 | $12) != 0; + $10 = $4; + $1 = $11 | $10; + $12 = $3; + $9 = $12; + $2 = $9; + $12 = $19; + $9 = HEAP32[$12 + 56 >> 2]; + $3 = $9; + $10 = HEAP32[$12 + 60 >> 2]; + $4 = $10; + } + $12 = $7; + $24 = $12; + $10 = $8; + $9 = $10 | 524288; + $25 = $9; + $10 = $15; + $22 = $10 << 3; + $9 = $16; + $12 = $9 << 3 | $10 >>> 29; + $23 = $12; + $12 = $6; + label$12: { + if (($12 | 0) < 0) { + $5 = 0; + $6 = 0; + $7 = 0; + $8 = 0; + $11 = $1; + $10 = $22; + $10 = $11 ^ $10; + $12 = $23; + $9 = $2; + $12 = $12 ^ $9; + $14 = $12; + $11 = $25; + $12 = $4; + $11 = $11 ^ $12; + $13 = $11; + $12 = $10; + $9 = $3; + $10 = $24; + $10 = $9 ^ $10; + $11 = $14; + $9 = $13; + $9 = $11 | $9; + if (!($12 | $10 | $9)) { + break label$1; + } + $11 = $22; + $10 = $1; + $13 = $11 - $10 | 0; + $15 = $13; + $9 = $23; + $12 = $2; + $14 = $12 + ($10 >>> 0 > $11 >>> 0) | 0; + $14 = $9 - $14 | 0; + $16 = $14; + $9 = $24; + $10 = $3; + $12 = $9 - $10 | 0; + $14 = $25; + $11 = $4; + $13 = $11 + ($10 >>> 0 > $9 >>> 0) | 0; + $13 = $14 - $13 | 0; + $3 = $13; + $13 = $2; + $9 = $23; + $14 = $1; + $10 = $22; + $9 = ($13 | 0) == ($9 | 0) & $14 >>> 0 > $10 >>> 0 | $13 >>> 0 > $9 >>> 0; + $10 = $12; + $11 = $10 - $9 | 0; + $7 = $11; + $14 = $3; + $12 = $10 >>> 0 < $9 >>> 0; + $12 = $14 - $12 | 0; + $8 = $12; + if ($12 >>> 0 > 524287) { + break label$12; + } + $14 = $8; + $18 = !($7 | $14); + $13 = $18; + $10 = $13 ? $15 : $7; + $14 = $16; + $12 = $8; + $9 = $13 ? $14 : $12; + $14 = Math_clz32($9); + $10 = ($14 | 0) == 32 ? Math_clz32($10) + 32 | 0 : $14; + $11 = 0; + $14 = $18 << 6; + $12 = $14 + $10 | 0; + $18 = $12 - 12 | 0; + $11 = $16; + $10 = $8; + __ashlti3($19 + 32 | 0, $15, $11, $7, $10, $18); + $17 = $17 - $18 | 0; + $13 = $19; + $10 = HEAP32[$13 + 40 >> 2]; + $7 = $10; + $11 = HEAP32[$13 + 44 >> 2]; + $8 = $11; + $11 = HEAP32[$13 + 32 >> 2]; + $15 = $11; + $10 = HEAP32[$13 + 36 >> 2]; + $16 = $10; + break label$12; + } + $11 = $23; + $10 = $2; + $12 = $11 + $10 | 0; + $14 = $22; + $13 = $1; + $9 = $14 + $13 | 0; + $15 = $9; + $12 = $9 >>> 0 < $14 >>> 0 ? $12 + 1 | 0 : $12; + $16 = $12; + $13 = $10; + $14 = $1; + $1 = ($12 | 0) == ($13 | 0) & $14 >>> 0 > $9 >>> 0 | $13 >>> 0 > $12 >>> 0; + $12 = $25; + $10 = $4; + $9 = $12 + $10 | 0; + $14 = $3; + $13 = $24; + $11 = $14 + $13 | 0; + $9 = $11 >>> 0 < $13 >>> 0 ? $9 + 1 | 0 : $9; + $13 = $11; + $11 = $9; + $10 = $1; + $12 = $13 + $10 | 0; + $11 = $12 >>> 0 < $13 >>> 0 ? $11 + 1 | 0 : $11; + $7 = $12; + $8 = $11; + $10 = $11 & 1048576; + if (!$10) { + break label$12; + } + $11 = $15; + $3 = $11 & 1; + $9 = 0; + $2 = $9; + $10 = $7; + $11 = $10 << 31; + $1 = $11; + $11 = $16; + $10 = $11 >>> 1 | 0; + $9 = $15; + $13 = ($11 & 1) << 31 | $9 >>> 1; + $9 = $10; + $10 = $1; + $9 = $9 | $10; + $11 = 0; + $13 = $11 | $13; + $10 = $3; + $15 = $13 | $10; + $11 = $9; + $9 = $2; + $11 = $11 | $9; + $16 = $11; + $17 = $17 + 1 | 0; + $11 = $8; + $10 = $11 >>> 1 | 0; + $9 = $7; + $7 = ($11 & 1) << 31 | $9 >>> 1; + $8 = $10; + } + $1 = 0; + $10 = $21; + $9 = $10 & -2147483648; + $2 = $9; + if (($17 | 0) >= 32767) { + $10 = $1; + $7 = $10; + $9 = $2; + $11 = $9 | 2147418112; + $8 = $11; + $5 = 0; + $6 = 0; + break label$1; + } + $18 = 0; + label$15: { + if (($17 | 0) > 0) { + $18 = $17; + break label$15; + } + $11 = $16; + $10 = $8; + __ashlti3($19 + 16 | 0, $15, $11, $7, $10, $17 + 127 | 0); + $10 = $11; + $11 = $8; + __lshrti3($19, $15, $10, $7, $11, 1 - $17 | 0); + $9 = $19; + $11 = HEAP32[$9 >> 2]; + $6 = $11; + $10 = HEAP32[$9 + 4 >> 2]; + $5 = $10; + $10 = HEAP32[$9 + 16 >> 2]; + $4 = $10; + $11 = HEAP32[$9 + 20 >> 2]; + $3 = $11; + $11 = HEAP32[$9 + 24 >> 2]; + $13 = $11; + $10 = HEAP32[$9 + 28 >> 2]; + $11 = $10; + $10 = $3; + $11 = $11 | $10; + $9 = $4; + $10 = $13 | $9; + $13 = $6; + $9 = ($11 | $10) != 0; + $15 = $13 | $9; + $10 = $5; + $16 = $10; + $10 = $19; + $11 = HEAP32[$10 + 8 >> 2]; + $7 = $11; + $13 = HEAP32[$10 + 12 >> 2]; + $8 = $13; + } + $10 = $7; + $11 = $10 << 29; + $3 = $11; + $11 = $16; + $10 = $11 >>> 3 | 0; + $13 = $15; + $9 = ($11 & 7) << 29 | $13 >>> 3; + $11 = 0; + $5 = $11 | $9; + $13 = $10; + $10 = $3; + $13 = $13 | $10; + $6 = $13; + $13 = $8; + $11 = $13 >>> 3 | 0; + $10 = $7; + $13 = ($13 & 7) << 29 | $10 >>> 3; + $3 = $13; + $10 = $11 & 65535; + $11 = $18; + $13 = $11 << 16; + $11 = $13; + $11 = $11 | $10; + $9 = 0; + $10 = $3; + $13 = $9 | $10; + $7 = $13 | $1; + $10 = $2; + $10 = $11 | $10; + $8 = $10; + $17 = $15 & 7; + label$17: { + label$18: { + label$19: { + switch (__fe_getround() | 0) { + case 0: + $10 = $6; + $11 = $5; + $9 = $17 >>> 0 > 4; + $14 = $11 + $9 | 0; + $12 = $14 >>> 0 < $9 >>> 0 ? $10 + 1 | 0 : $10; + $15 = $14; + $11 = $10; + $16 = $12; + $9 = $5; + $10 = $14; + $11 = ($11 | 0) == ($12 | 0) & $9 >>> 0 > $10 >>> 0 | $11 >>> 0 > $12 >>> 0; + $10 = $8; + $9 = $7; + $13 = $11 + $9 | 0; + $7 = $13; + $14 = $11 >>> 0 > $13 >>> 0 ? $10 + 1 | 0 : $10; + $8 = $14; + if (($17 | 0) != 4) { + $5 = $15; + $14 = $16; + $6 = $14; + break label$18; } - } - } - L45 : do if ((i6 | 0) == 23) { - i6 = 0; - i5 = i3 + 1 | 0; - if ((i5 | 0) != (i37 | 0) ? (HEAP8[i5 >> 0] | 0) == 116 : 0) { - i6 = 79; - break; - } - i5 = __ZN10__cxxabiv112_GLOBAL__N_118parse_substitutionINS0_2DbEEEPKcS4_S4_RT_(i3, i37, i41) | 0; - if ((i5 | 0) == (i3 | 0) | (i5 | 0) == (i37 | 0)) break L4; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i38, (HEAP32[i36 >> 2] | 0) + -24 | 0); - i3 = HEAP32[i36 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i4 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i4 * 24 | 0) | 0); - i2 = i4; - } - HEAP32[i36 >> 2] = i3 + -24; - i4 = i3 + -48 | 0; - i2 = HEAP8[i4 + 11 >> 0] | 0; - if (i2 << 24 >> 24 < 0) i2 = HEAP32[i3 + -44 >> 2] | 0; else i2 = i2 & 255; - if (!i2) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEaSERKS7_(i4, i38); else { - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i39, 49741, i38); - i2 = HEAP8[i22 >> 0] | 0; - i4 = i2 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i36 >> 2] | 0) + -24 | 0, i4 ? HEAP32[i39 >> 2] | 0 : i39, i4 ? HEAP32[i23 >> 2] | 0 : i2 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i39); - i2 = (HEAP32[i36 >> 2] | 0) + -24 | 0; - HEAP32[i40 >> 2] = HEAP32[i7 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i39, i2, i40); - i2 = HEAP32[i35 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i3 = i2 + 4 | 0; - HEAP32[i3 >> 2] = 0; - i4 = i2 + 8 | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i32 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i39 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i33 >> 2]; - HEAP32[i4 >> 2] = HEAP32[i34 >> 2]; - HEAP32[i34 >> 2] = 0; - HEAP32[i33 >> 2] = 0; - HEAP32[i39 >> 2] = 0; - HEAP32[i35 >> 2] = (HEAP32[i35 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i18, i39); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i39); - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i38); - i3 = i5; - } else if ((i6 | 0) == 39) { - i6 = 0; - i5 = __ZN10__cxxabiv112_GLOBAL__N_120parse_template_paramINS0_2DbEEEPKcS4_S4_RT_(i3, i37, i41) | 0; - if ((i5 | 0) == (i3 | 0) | (i5 | 0) == (i37 | 0)) break L4; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i38, (HEAP32[i36 >> 2] | 0) + -24 | 0); - i3 = HEAP32[i36 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i4 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i4 * 24 | 0) | 0); - i2 = i4; - } - HEAP32[i36 >> 2] = i3 + -24; - i4 = i3 + -48 | 0; - i2 = HEAP8[i4 + 11 >> 0] | 0; - if (i2 << 24 >> 24 < 0) i2 = HEAP32[i3 + -44 >> 2] | 0; else i2 = i2 & 255; - if (!i2) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEaSERKS7_(i4, i38); else { - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i39, 49741, i38); - i4 = HEAP8[i13 >> 0] | 0; - i3 = i4 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i36 >> 2] | 0) + -24 | 0, i3 ? HEAP32[i39 >> 2] | 0 : i39, i3 ? HEAP32[i14 >> 2] | 0 : i4 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i39); - } - i2 = (HEAP32[i36 >> 2] | 0) + -24 | 0; - HEAP32[i40 >> 2] = HEAP32[i7 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i39, i2, i40); - i2 = HEAP32[i35 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i3 = i2 + 4 | 0; - HEAP32[i3 >> 2] = 0; - i4 = i2 + 8 | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i24 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i39 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i25 >> 2]; - HEAP32[i4 >> 2] = HEAP32[i26 >> 2]; - HEAP32[i26 >> 2] = 0; - HEAP32[i25 >> 2] = 0; - HEAP32[i39 >> 2] = 0; - HEAP32[i35 >> 2] = (HEAP32[i35 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i18, i39); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i39); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i38); - i3 = i5; - } else if ((i6 | 0) == 53) { - i6 = 0; - i2 = i3 + 1 | 0; - if ((i2 | 0) != (i37 | 0)) switch (HEAP8[i2 >> 0] | 0) { - case 84: - case 116: - break; + $11 = $15; + $10 = $11; + $1 = $10 & 1; + $14 = $1; + $12 = $10 + $14 | 0; + $9 = 0; + $10 = $16; + $13 = $9 + $10 | 0; + $5 = $12; + $14 = $9; + $13 = $11 >>> 0 > $12 >>> 0 ? $13 + 1 | 0 : $13; + $6 = $13; + $11 = $1; + $9 = $12; + $14 = ($14 | 0) == ($13 | 0) & $11 >>> 0 > $9 >>> 0 | $14 >>> 0 > $13 >>> 0; + $9 = $8; + $11 = $7; + $10 = $11 + $14 | 0; + $7 = $10; + $12 = $10 >>> 0 < $14 >>> 0 ? $9 + 1 | 0 : $9; + $8 = $12; + break label$17; + + case 1: + $12 = $2; + $11 = ($17 | 0) != 0 & ($1 | $12) != 0; + $14 = $5; + $13 = $11 + $14 | 0; + $15 = $13; + $9 = $6; + $10 = $9; + $14 = $10; + $10 = $11 >>> 0 > $13 >>> 0 ? $10 + 1 | 0 : $10; + $16 = $10; + $11 = $5; + $9 = $13; + $14 = ($14 | 0) == ($10 | 0) & $11 >>> 0 > $9 >>> 0 | $14 >>> 0 > $10 >>> 0; + $9 = $8; + $11 = $7; + $12 = $11 + $14 | 0; + $13 = $12 >>> 0 < $14 >>> 0 ? $9 + 1 | 0 : $9; + $7 = $12; + $8 = $13; + $5 = $15; + $13 = $16; + $6 = $13; + break label$18; + + case 2: + break label$19; + default: - { - i6 = 79; - break L45; - } - } - i5 = __ZN10__cxxabiv112_GLOBAL__N_114parse_decltypeINS0_2DbEEEPKcS4_S4_RT_(i3, i37, i41) | 0; - if ((i5 | 0) == (i3 | 0) | (i5 | 0) == (i37 | 0)) break L4; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i38, (HEAP32[i36 >> 2] | 0) + -24 | 0); - i3 = HEAP32[i36 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i4 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i4 * 24 | 0) | 0); - i2 = i4; - } - HEAP32[i36 >> 2] = i3 + -24; - i4 = i3 + -48 | 0; - i2 = HEAP8[i4 + 11 >> 0] | 0; - if (i2 << 24 >> 24 < 0) i2 = HEAP32[i3 + -44 >> 2] | 0; else i2 = i2 & 255; - if (!i2) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEaSERKS7_(i4, i38); else { - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i39, 49741, i38); - i4 = HEAP8[i27 >> 0] | 0; - i3 = i4 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i36 >> 2] | 0) + -24 | 0, i3 ? HEAP32[i39 >> 2] | 0 : i39, i3 ? HEAP32[i28 >> 2] | 0 : i4 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i39); - } - i2 = (HEAP32[i36 >> 2] | 0) + -24 | 0; - HEAP32[i40 >> 2] = HEAP32[i7 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i39, i2, i40); - i2 = HEAP32[i35 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i3 = i2 + 4 | 0; - HEAP32[i3 >> 2] = 0; - i4 = i2 + 8 | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i29 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i39 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i30 >> 2]; - HEAP32[i4 >> 2] = HEAP32[i31 >> 2]; - HEAP32[i31 >> 2] = 0; - HEAP32[i30 >> 2] = 0; - HEAP32[i39 >> 2] = 0; - HEAP32[i35 >> 2] = (HEAP32[i35 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i18, i39); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i39); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i38); - i3 = i5; - } while (0); - if ((i6 | 0) == 79) { - i5 = __ZN10__cxxabiv112_GLOBAL__N_122parse_unqualified_nameINS0_2DbEEEPKcS4_S4_RT_(i3, i37, i41) | 0; - if ((i5 | 0) == (i3 | 0) | (i5 | 0) == (i37 | 0)) break L4; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i38, (HEAP32[i36 >> 2] | 0) + -24 | 0); - i3 = HEAP32[i36 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i6 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i6 * 24 | 0) | 0); - i2 = i6; - } - HEAP32[i36 >> 2] = i3 + -24; - i4 = i3 + -48 | 0; - i2 = HEAP8[i4 + 11 >> 0] | 0; - if (i2 << 24 >> 24 < 0) i2 = HEAP32[i3 + -44 >> 2] | 0; else i2 = i2 & 255; - if (!i2) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEaSERKS7_(i4, i38); else { - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i39, 49741, i38); - i6 = HEAP8[i11 >> 0] | 0; - i4 = i6 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i36 >> 2] | 0) + -24 | 0, i4 ? HEAP32[i39 >> 2] | 0 : i39, i4 ? HEAP32[i12 >> 2] | 0 : i6 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i39); - } - i2 = (HEAP32[i36 >> 2] | 0) + -24 | 0; - HEAP32[i40 >> 2] = HEAP32[i7 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i39, i2, i40); - i2 = HEAP32[i35 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i4 = i2 + 4 | 0; - HEAP32[i4 >> 2] = 0; - i6 = i2 + 8 | 0; - HEAP32[i6 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i39 >> 2]; - HEAP32[i4 >> 2] = HEAP32[i20 >> 2]; - HEAP32[i6 >> 2] = HEAP32[i21 >> 2]; - HEAP32[i21 >> 2] = 0; - HEAP32[i20 >> 2] = 0; - HEAP32[i39 >> 2] = 0; - HEAP32[i35 >> 2] = (HEAP32[i35 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i18, i39); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i39); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i38); - i3 = i5; - } - i5 = 1; - } - i1 = i3 + 1 | 0; - HEAP32[i41 + 48 >> 2] = HEAP32[i42 >> 2]; - if (i5 ? (i43 = HEAP32[i35 >> 2] | 0, (HEAP32[i41 + 16 >> 2] | 0) != (i43 | 0)) : 0) { - i2 = 0; + break label$18; + } + } + $13 = $2; + $14 = !($13 | $1) & ($17 | 0) != 0; + $9 = $5; + $10 = $14 + $9 | 0; + $13 = $6; + $12 = $13; + $15 = $10; + $12 = $10 >>> 0 < $14 >>> 0 ? $12 + 1 | 0 : $12; + $16 = $12; + $9 = $13; + $14 = $5; + $9 = ($12 | 0) == ($9 | 0) & $14 >>> 0 > $10 >>> 0 | $9 >>> 0 > $12 >>> 0; + $13 = $8; + $10 = $13; + $14 = $7; + $11 = $14 + $9 | 0; + $10 = $11 >>> 0 < $9 >>> 0 ? $10 + 1 | 0 : $10; + $7 = $11; + $8 = $10; + $5 = $15; + $10 = $16; + $6 = $10; + } + if (!$17) { + break label$1; + } + } + __fe_raise_inexact(); + } + $14 = $0; + HEAP32[$14 >> 2] = $5; + $10 = $6; + HEAP32[$14 + 4 >> 2] = $10; + HEAP32[$14 + 8 >> 2] = $7; + $10 = $8; + HEAP32[$14 + 12 >> 2] = $10; + __stack_pointer = $19 + 112 | 0; +} + +function arGetTransMatMultiSquare2($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0; + $10 = __stack_pointer - 192 | 0; + __stack_pointer = $10; + $9 = ($2 | 0) > 0 ? $2 : 0; + $11 = HEAP32[$3 + 4 >> 2]; + $13 = ($11 | 0) > 0 ? $11 : 0; + while (1) { + label$2: { + if (($13 | 0) == ($17 | 0)) { + $9 = 0; while (1) { - if ((i2 | 0) == -1) break; - i42 = i2 + -1 | 0; - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i43 + (i42 << 4) | 0); - i2 = i42; - } - HEAP32[i35 >> 2] = i43 + -16; - } - break L1; - } while (0); - } while (0); - STACKTOP = i44; - return i1 | 0; -} - -function __ZNSt3__212__next_primeEm(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i10; - i8 = i10 + 8 | 0; - i4 = i10 + 4 | 0; - HEAP32[i8 >> 2] = i1; - do if (i1 >>> 0 >= 212) { - i7 = (i1 >>> 0) / 210 | 0; - i2 = i7 * 210 | 0; - HEAP32[i4 >> 2] = i1 - i2; - i1 = 0; - i6 = (__ZNSt3__213__lower_boundIRNS_6__lessIjmEEPKjmEET0_S6_S6_RKT1_T_(10544, 10736, i4, i3) | 0) - 10544 >> 2; - L4 : while (1) { - i5 = (HEAP32[10544 + (i6 << 2) >> 2] | 0) + i2 | 0; - i2 = 5; - while (1) { - if (i2 >>> 0 >= 47) { - i9 = 6; - break; - } - i3 = HEAP32[10352 + (i2 << 2) >> 2] | 0; - i4 = (i5 >>> 0) / (i3 >>> 0) | 0; - if (i4 >>> 0 < i3 >>> 0) { - i9 = 107; - break L4; - } - if ((i5 | 0) == (Math_imul(i4, i3) | 0)) break; else i2 = i2 + 1 | 0; - } - L10 : do if ((i9 | 0) == 6) { - i9 = 0; - i4 = 211; - L12 : while (1) { - i2 = (i5 >>> 0) / (i4 >>> 0) | 0; - do if (i2 >>> 0 >= i4 >>> 0) if ((i5 | 0) != (Math_imul(i2, i4) | 0)) { - i2 = i4 + 10 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 >= i2 >>> 0) if ((i5 | 0) != (Math_imul(i3, i2) | 0)) { - i2 = i4 + 12 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 >= i2 >>> 0) if ((i5 | 0) != (Math_imul(i3, i2) | 0)) { - i2 = i4 + 16 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 >= i2 >>> 0) if ((i5 | 0) != (Math_imul(i3, i2) | 0)) { - i2 = i4 + 18 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 >= i2 >>> 0) if ((i5 | 0) != (Math_imul(i3, i2) | 0)) { - i2 = i4 + 22 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 >= i2 >>> 0) if ((i5 | 0) != (Math_imul(i3, i2) | 0)) { - i2 = i4 + 28 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 >= i2 >>> 0) if ((i5 | 0) == (Math_imul(i3, i2) | 0)) i3 = 9; else { - i2 = i4 + 30 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 36 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 40 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 42 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 46 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 52 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 58 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 60 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; + label$5: { + label$6: { + if (($9 | 0) < ($11 | 0)) { + $6 = Math_imul($9, 320); + $2 = $6 + HEAP32[$3 >> 2] | 0; + $5 = HEAP32[$2 + 304 >> 2]; + if (($5 | 0) < 0) { + break label$5; + } + $5 = ($5 << 8) + $1 | 0; + if (arGetTransMatSquare($0, $5, HEAPF64[$2 + 8 >> 3], $10) > 4) { + HEAP32[(HEAP32[$3 >> 2] + $6 | 0) + 304 >> 2] = -1; + if (HEAP32[$5 + 236 >> 2]) { + break label$5; + } + HEAP32[$5 + 236 >> 2] = 7; + break label$5; + } + $7 = 0; + $14 = HEAP32[$5 >> 2]; + if (($16 | 0) >= ($14 | 0) ? $12 : 0) { + break label$6; + } + while (1) { + $2 = 0; + if (($7 | 0) == 3) { + $17 = $9; + $16 = $14; + break label$6; + } else { + while (1) { + if (($2 | 0) != 4) { + $6 = $2 << 3; + $5 = $7 << 5; + HEAPF64[$6 + ($5 + ($10 + 96 | 0) | 0) >> 3] = HEAPF64[($5 + $10 | 0) + $6 >> 3]; + $2 = $2 + 1 | 0; + continue; + } + break; + } + $7 = $7 + 1 | 0; + continue; + } + } + } + label$14: { + if (!(HEAP32[$3 + 128 >> 2] <= ($12 | 0) ? $12 : 0)) { + HEAP32[$3 + 104 >> 2] = 0; + $8 = -1; + break label$14; + } + arUtilMatMul($10 + 96 | 0, (HEAP32[$3 >> 2] + Math_imul($17, 320) | 0) + 112 | 0, $10); + label$17: { + label$18: { + $11 = dlmalloc($12 << 6); + if ($11) { + $13 = dlmalloc(Math_imul($12, 96)); + if (!$13) { + break label$2; + } + $12 = $12 << 2; + $2 = HEAP32[$3 + 4 >> 2]; + $17 = ($2 | 0) > 0 ? $2 : 0; + $6 = 0; + $7 = 0; + while (1) { + if (($6 | 0) != ($17 | 0)) { + $2 = HEAP32[$3 >> 2] + Math_imul($6, 320) | 0; + $9 = HEAP32[$2 + 304 >> 2]; + if (($9 | 0) >= 0) { + $5 = ($7 << 6) + $11 | 0; + $14 = ($9 << 8) + $1 | 0; + $9 = $14 + 168 | 0; + $14 = HEAP32[$14 + 16 >> 2]; + $16 = $9 + ((4 - $14 | 0) % 4 << 4) | 0; + HEAPF64[$5 >> 3] = HEAPF64[$16 >> 3]; + HEAPF64[$5 + 8 >> 3] = HEAPF64[$16 + 8 >> 3]; + $16 = ((5 - $14 | 0) % 4 << 4) + $9 | 0; + HEAPF64[$5 + 16 >> 3] = HEAPF64[$16 >> 3]; + HEAPF64[$5 + 24 >> 3] = HEAPF64[$16 + 8 >> 3]; + $16 = ((6 - $14 | 0) % 4 << 4) + $9 | 0; + HEAPF64[$5 + 32 >> 3] = HEAPF64[$16 >> 3]; + HEAPF64[$5 + 40 >> 3] = HEAPF64[$16 + 8 >> 3]; + $9 = ((7 - $14 | 0) % 4 << 4) + $9 | 0; + HEAPF64[$5 + 48 >> 3] = HEAPF64[$9 >> 3]; + HEAPF64[$5 + 56 >> 3] = HEAPF64[$9 + 8 >> 3]; + $5 = Math_imul($7, 96) + $13 | 0; + HEAPF64[$5 >> 3] = HEAPF64[$2 + 208 >> 3]; + HEAPF64[$5 + 8 >> 3] = HEAPF64[$2 + 216 >> 3]; + HEAPF64[$5 + 16 >> 3] = HEAPF64[$2 + 224 >> 3]; + HEAPF64[$5 + 24 >> 3] = HEAPF64[$2 + 232 >> 3]; + HEAPF64[$5 + 32 >> 3] = HEAPF64[$2 + 240 >> 3]; + HEAPF64[$5 + 40 >> 3] = HEAPF64[$2 + 248 >> 3]; + HEAPF64[$5 + 48 >> 3] = HEAPF64[$2 + 256 >> 3]; + HEAPF64[$5 + 56 >> 3] = HEAPF64[$2 + 264 >> 3]; + HEAPF64[$5 - -64 >> 3] = HEAPF64[$2 + 272 >> 3]; + HEAPF64[$5 + 72 >> 3] = HEAPF64[$2 + 280 >> 3]; + HEAPF64[$5 + 80 >> 3] = HEAPF64[$2 + 288 >> 3]; + HEAPF64[$5 + 88 >> 3] = HEAPF64[$2 + 296 >> 3]; + $7 = $7 + 1 | 0; + } + $6 = $6 + 1 | 0; + continue; } - i2 = i4 + 66 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; + break; + } + if (!HEAP32[$3 + 104 >> 2]) { + $2 = $3 + 8 | 0; + $8 = arGetTransMat($0, $10, $11, $13, $12, $2); + if (!$4 | !($8 >= 20)) { + break label$17; } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; + icpSetInlierProbability(HEAP32[$0 >> 2], .8); + $8 = arGetTransMatRobust($0, $10, $11, $13, $12, $2); + if (!($8 >= 20)) { + break label$17; } - i2 = i4 + 70 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; + icpSetInlierProbability(HEAP32[$0 >> 2], .6); + $8 = arGetTransMatRobust($0, $10, $11, $13, $12, $2); + if (!($8 >= 20)) { + break label$17; } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; + icpSetInlierProbability(HEAP32[$0 >> 2], .4); + $8 = arGetTransMatRobust($0, $10, $11, $13, $12, $2); + if (!($8 >= 20)) { + break label$17; } - i2 = i4 + 72 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; + icpSetInlierProbability(HEAP32[$0 >> 2], 0); + $8 = arGetTransMatRobust($0, $10, $11, $13, $12, $2); + break label$17; + } + $15 = arGetTransMat($0, $10, $11, $13, $12, $10 + 96 | 0); + $9 = $3 + 8 | 0; + $8 = arGetTransMat($0, $9, $11, $13, $12, $9); + if ($4) { + if (!($8 > $15)) { + break label$18; } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; + $7 = 0; + while (1) { + $2 = 0; + if (($7 | 0) == 3) { + $8 = $15; + break label$18; + } else { + while (1) { + if (($2 | 0) != 4) { + $6 = $2 << 3; + $5 = $7 << 5; + HEAPF64[($6 + ($5 + $3 | 0) | 0) + 8 >> 3] = HEAPF64[(($10 + 96 | 0) + $5 | 0) + $6 >> 3]; + $2 = $2 + 1 | 0; + continue; + } + break; + } + $7 = $7 + 1 | 0; + continue; + } } - i2 = i4 + 78 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; + } + if (!($8 > $15)) { + break label$17; + } + $7 = 0; + while (1) { + $2 = 0; + if (($7 | 0) == 3) { + $8 = $15; + break label$17; + } else { + while (1) { + if (($2 | 0) != 4) { + $6 = $2 << 3; + $5 = $7 << 5; + HEAPF64[($6 + ($5 + $3 | 0) | 0) + 8 >> 3] = HEAPF64[(($10 + 96 | 0) + $5 | 0) + $6 >> 3]; + $2 = $2 + 1 | 0; + continue; + } + break; + } + $7 = $7 + 1 | 0; + continue; } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; + } + } + break label$2; + } + if (!($8 >= 20)) { + break label$17; + } + icpSetInlierProbability(HEAP32[$0 >> 2], .8); + $15 = arGetTransMatRobust($0, $10, $11, $13, $12, $10 + 96 | 0); + $8 = arGetTransMatRobust($0, $9, $11, $13, $12, $9); + if ($15 < $8) { + $7 = 0; + while (1) { + $2 = 0; + if (($7 | 0) == 3) { + $8 = $15; + } else { + while (1) { + if (($2 | 0) != 4) { + $6 = $2 << 3; + $5 = $7 << 5; + HEAPF64[($6 + ($5 + $3 | 0) | 0) + 8 >> 3] = HEAPF64[(($10 + 96 | 0) + $5 | 0) + $6 >> 3]; + $2 = $2 + 1 | 0; + continue; + } break; } - i2 = i4 + 82 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; + $7 = $7 + 1 | 0; + continue; + } + break; + } + } + if (!($8 >= 20)) { + break label$17; + } + icpSetInlierProbability(HEAP32[$0 >> 2], .6); + $15 = arGetTransMatRobust($0, $10, $11, $13, $12, $10 + 96 | 0); + $8 = arGetTransMatRobust($0, $9, $11, $13, $12, $9); + if ($15 < $8) { + $7 = 0; + while (1) { + $2 = 0; + if (($7 | 0) == 3) { + $8 = $15; + } else { + while (1) { + if (($2 | 0) != 4) { + $6 = $2 << 3; + $5 = $7 << 5; + HEAPF64[($6 + ($5 + $3 | 0) | 0) + 8 >> 3] = HEAPF64[(($10 + 96 | 0) + $5 | 0) + $6 >> 3]; + $2 = $2 + 1 | 0; + continue; + } break; } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; + $7 = $7 + 1 | 0; + continue; + } + break; + } + } + if (!($8 >= 20)) { + break label$17; + } + icpSetInlierProbability(HEAP32[$0 >> 2], .4); + $15 = arGetTransMatRobust($0, $10, $11, $13, $12, $10 + 96 | 0); + $8 = arGetTransMatRobust($0, $9, $11, $13, $12, $9); + if ($15 < $8) { + $7 = 0; + while (1) { + $2 = 0; + if (($7 | 0) == 3) { + $8 = $15; + } else { + while (1) { + if (($2 | 0) != 4) { + $6 = $2 << 3; + $5 = $7 << 5; + HEAPF64[($6 + ($5 + $3 | 0) | 0) + 8 >> 3] = HEAPF64[(($10 + 96 | 0) + $5 | 0) + $6 >> 3]; + $2 = $2 + 1 | 0; + continue; + } break; } - i2 = i4 + 88 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; + $7 = $7 + 1 | 0; + continue; + } + break; + } + } + if (!($8 >= 20)) { + break label$17; + } + icpSetInlierProbability(HEAP32[$0 >> 2], 0); + $15 = arGetTransMatRobust($0, $10, $11, $13, $12, $10 + 96 | 0); + $8 = arGetTransMatRobust($0, $9, $11, $13, $12, $9); + if (!($15 < $8)) { + break label$17; + } + $7 = 0; + while (1) { + $2 = 0; + if (($7 | 0) == 3) { + $8 = $15; + } else { + while (1) { + if (($2 | 0) != 4) { + $6 = $2 << 3; + $5 = $7 << 5; + HEAPF64[($6 + ($5 + $3 | 0) | 0) + 8 >> 3] = HEAPF64[(($10 + 96 | 0) + $5 | 0) + $6 >> 3]; + $2 = $2 + 1 | 0; + continue; } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; + break; + } + $7 = $7 + 1 | 0; + continue; + } + break; + } + } + dlfree($13); + dlfree($11); + if ($8 < 20) { + HEAP32[$3 + 104 >> 2] = 1; + break label$14; + } + HEAP32[$3 + 104 >> 2] = 0; + $2 = HEAP32[$3 + 4 >> 2]; + $6 = ($2 | 0) > 0 ? $2 : 0; + $2 = 0; + while (1) { + if (($2 | 0) == ($6 | 0)) { + break label$14; + } + $5 = HEAP32[(HEAP32[$3 >> 2] + Math_imul($2, 320) | 0) + 304 >> 2]; + label$60: { + if (($5 | 0) < 0) { + break label$60; + } + $5 = ($5 << 8) + $1 | 0; + if (HEAP32[$5 + 236 >> 2]) { + break label$60; + } + HEAP32[$5 + 236 >> 2] = 8; + } + $2 = $2 + 1 | 0; + continue; + } + } + __stack_pointer = $10 + 192 | 0; + return $8; + } + $12 = $12 + 1 | 0; + } + $9 = $9 + 1 | 0; + $11 = HEAP32[$3 + 4 >> 2]; + continue; + } + } + label$61: { + label$62: { + $14 = HEAP32[$3 >> 2] + Math_imul($17, 320) | 0; + if (HEAP32[$14 + 4 >> 2]) { + $16 = $14 + 312 | 0; + $6 = -1; + $2 = 0; + while (1) { + $5 = $6; + label$65: { + label$66: { + if (($2 | 0) != ($9 | 0)) { + label$68: { + label$69: { + $6 = ($2 << 8) + $1 | 0; + $7 = HEAP32[$6 + 12 >> 2]; + if ($7) { + break label$69; } - i2 = i4 + 96 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; + $18 = HEAP32[$6 + 252 >> 2]; + $20 = $18; + $19 = HEAP32[$6 + 248 >> 2]; + if (!($18 | $19)) { + break label$69; } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; + $18 = HEAP32[$16 >> 2]; + $7 = ($18 | 0) == ($19 | 0); + $18 = HEAP32[$16 + 4 >> 2]; + if ($7 & ($18 | 0) == ($20 | 0)) { + break label$68; } - i2 = i4 + 100 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 102 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 106 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 108 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 112 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 120 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 126 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 130 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 136 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 138 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 142 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 148 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 150 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 156 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 162 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 166 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 168 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 172 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 178 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 180 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 186 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 190 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 192 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 196 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 198 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - if (i3 >>> 0 < i2 >>> 0) { - i3 = 1; - i1 = i5; - break; - } - if ((i5 | 0) == (Math_imul(i3, i2) | 0)) { - i3 = 9; - break; - } - i2 = i4 + 208 | 0; - i3 = (i5 >>> 0) / (i2 >>> 0) | 0; - i11 = i3 >>> 0 < i2 >>> 0; - i3 = (i5 | 0) == (Math_imul(i3, i2) | 0); - i2 = i11 | i3 ? i2 : i4 + 210 | 0; - i3 = i11 ? 1 : i3 ? 9 : 0; - i1 = i11 ? i5 : i1; - } else { - i3 = 1; - i1 = i5; + break label$66; + } + if (HEAP32[$14 >> 2] != ($7 | 0)) { + break label$66; } - } else i3 = 9; else { - i3 = 1; - i1 = i5; } - } else i3 = 9; else { - i3 = 1; - i1 = i5; + $8 = HEAPF64[$6 + 48 >> 3]; + if ($8 < HEAPF64[$3 + 120 >> 3]) { + break label$66; + } + $6 = $2; + if (($5 | 0) == -1) { + break label$65; + } + $6 = $5; + if (!(HEAPF64[(($5 << 8) + $1 | 0) + 48 >> 3] < $8)) { + break label$65; + } + $6 = $2; + break label$65; + } + HEAP32[$14 + 304 >> 2] = $5; + if (($5 | 0) < 0) { + break label$61; } - } else i3 = 9; else { - i3 = 1; - i1 = i5; + $2 = (($5 << 8) + $1 | 0) + 24 | 0; + break label$62; } - } else i3 = 9; else { - i3 = 1; - i1 = i5; + $6 = $5; } - } else i3 = 9; else { - i3 = 1; - i1 = i5; + $2 = $2 + 1 | 0; + continue; } - } else { - i2 = i4; - i3 = 9; - } else { - i2 = i4; - i3 = 1; - i1 = i5; - } while (0); - switch (i3 & 15) { - case 9: - break L10; - case 0: - { - i4 = i2; - break; + } + $6 = -1; + $2 = 0; + while (1) { + $5 = $6; + label$71: { + label$72: { + if (($2 | 0) != ($9 | 0)) { + $6 = ($2 << 8) + $1 | 0; + if (HEAP32[$6 + 8 >> 2] != HEAP32[$14 >> 2]) { + break label$72; + } + $8 = HEAPF64[$6 + 40 >> 3]; + if ($8 < HEAPF64[$3 + 112 >> 3]) { + break label$72; + } + $6 = $2; + if (($5 | 0) == -1) { + break label$71; + } + $6 = $5; + if (!(HEAPF64[(($5 << 8) + $1 | 0) + 40 >> 3] < $8)) { + break label$71; + } + $6 = $2; + break label$71; + } + HEAP32[$14 + 304 >> 2] = $5; + if (($5 | 0) < 0) { + break label$61; + } + $2 = (($5 << 8) + $1 | 0) + 20 | 0; + break label$62; + } + $6 = $5; } - default: - break L12; + $2 = $2 + 1 | 0; + continue; } } - if (i3) { - i9 = 108; - break L4; - } - } while (0); - i11 = i6 + 1 | 0; - i5 = (i11 | 0) == 48; - i2 = i7 + (i5 & 1) | 0; - i7 = i2; - i2 = i2 * 210 | 0; - i6 = i5 ? 0 : i11; - } - if ((i9 | 0) == 107) { - HEAP32[i8 >> 2] = i5; - i1 = i5; - break; - } else if ((i9 | 0) == 108) { - HEAP32[i8 >> 2] = i5; - break; + HEAP32[(($5 << 8) + $1 | 0) + 16 >> 2] = HEAP32[$2 >> 2]; + } + $17 = $17 + 1 | 0; + continue; } - } else { - i1 = __ZNSt3__213__lower_boundIRNS_6__lessIjmEEPKjmEET0_S6_S6_RKT1_T_(10352, 10544, i8, i3) | 0; - i1 = HEAP32[i1 >> 2] | 0; - } while (0); - STACKTOP = i10; - return i1 | 0; -} - -function _vfscanf(i34, i1, i27) { - i34 = i34 | 0; - i1 = i1 | 0; - i27 = i27 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, d8 = 0.0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i35 = 0, i36 = 0; - i36 = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - i29 = i36 + 264 | 0; - i30 = i36; - i31 = i36 + 260 | 0; - i32 = i36 + 272 | 0; - if ((HEAP32[i34 + 76 >> 2] | 0) > -1) i35 = ___lockfile(i34) | 0; else i35 = 0; - i2 = HEAP8[i1 >> 0] | 0; - L4 : do if (i2 << 24 >> 24) { - i20 = i34 + 4 | 0; - i21 = i34 + 104 | 0; - i22 = i34 + 120 | 0; - i23 = i34 + 8 | 0; - i24 = i30 + 10 | 0; - i25 = i30 + 33 | 0; - i26 = i30 + 46 | 0; - i28 = i30 + 94 | 0; - i19 = i29 + 4 | 0; - i5 = i1; - i1 = 0; - i3 = 0; - i4 = i2; - i2 = 0; - i13 = 0; - i14 = 0; - L6 : while (1) { - L8 : do if (!(_isspace(i4 & 255) | 0)) { - i6 = (HEAP8[i5 >> 0] | 0) == 37; - L10 : do if (i6) { - i4 = i5 + 1 | 0; - i7 = HEAP8[i4 >> 0] | 0; - L12 : do switch (i7 << 24 >> 24) { - case 37: - break L10; - case 42: - { - i18 = 0; - i4 = i5 + 2 | 0; - break; - } - default: - { - if (_isdigit(i7 & 255) | 0 ? (HEAP8[i5 + 2 >> 0] | 0) == 36 : 0) { - i18 = _arg_n_668(i27, (HEAPU8[i4 >> 0] | 0) + -48 | 0) | 0; - i4 = i5 + 3 | 0; - break L12; - } - i17 = (HEAP32[i27 >> 2] | 0) + (4 - 1) & ~(4 - 1); - i18 = HEAP32[i17 >> 2] | 0; - HEAP32[i27 >> 2] = i17 + 4; - } - } while (0); - if (!(_isdigit(HEAPU8[i4 >> 0] | 0) | 0)) { - i10 = 0; - i7 = i4; - } else { - i5 = 0; - do { - i5 = (i5 * 10 | 0) + -48 + (HEAPU8[i4 >> 0] | 0) | 0; - i4 = i4 + 1 | 0; - } while ((_isdigit(HEAPU8[i4 >> 0] | 0) | 0) != 0); - i10 = i5; - i7 = i4; - } - i6 = HEAP8[i7 >> 0] | 0; - i9 = i7 + 1 | 0; - if (i6 << 24 >> 24 == 109) { - i4 = (i18 | 0) != 0 & 1; - i3 = 0; - i5 = i9; - i7 = i7 + 2 | 0; - i6 = HEAP8[i9 >> 0] | 0; - i2 = 0; - } else { - i4 = 0; - i5 = i7; - i7 = i9; - } - switch (i6 << 24 >> 24) { - case 104: - { - i17 = (HEAP8[i7 >> 0] | 0) == 104; - i6 = i17 ? -2 : -1; - i5 = i17 ? i5 + 2 | 0 : i7; - break; - } - case 108: - { - i17 = (HEAP8[i7 >> 0] | 0) == 108; - i6 = i17 ? 3 : 1; - i5 = i17 ? i5 + 2 | 0 : i7; - break; - } - case 106: - { - i6 = 3; - i5 = i7; - break; - } - case 116: - case 122: - { - i6 = 1; - i5 = i7; - break; - } - case 76: - { - i6 = 2; - i5 = i7; - break; - } - case 110: - case 112: - case 67: - case 83: - case 91: - case 99: - case 115: - case 88: - case 71: - case 70: - case 69: - case 65: - case 103: - case 102: - case 101: - case 97: - case 120: - case 117: - case 111: - case 105: - case 100: - { - i6 = 0; - break; + break; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________rehash_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___________alloc_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________get_deleter_28_29($0)); + label$1: { + if ($1) { + std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______29($0, std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________allocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________2c_20unsigned_20long_29($2, $1)); + wasm2js_i32$0 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________size_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________get_deleter_28_29($0)), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = 0; + while (1) if (($1 | 0) == ($2 | 0)) { + $2 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______first_28_29($0 + 8 | 0)); + $3 = HEAP32[$2 >> 2]; + if (!$3) { + break label$1; + } + $7 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________hash_28_29_20const($3), $1); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $7), + wasm2js_i32$1 = $2, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + while (1) { + $4 = HEAP32[$3 >> 2]; + if (!$4) { + break label$1; + } + label$6: { + $5 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________hash_28_29_20const($4), $1); + if (($7 | 0) == ($5 | 0)) { + break label$6; } - default: - { - i33 = 143; - break L6; - } - } - i11 = HEAPU8[i5 >> 0] | 0; - i12 = (i11 & 47 | 0) == 3; - i11 = i12 ? i11 | 32 : i11; - i12 = i12 ? 1 : i6; - i9 = i11 & 255; - switch (i9 << 24 >> 24) { - case 99: - { - i17 = (i10 | 0) > 1 ? i10 : 1; - break; + $6 = $4; + if (!HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2]) { + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5), + wasm2js_i32$1 = $3, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $7 = $5; + break label$6; } - case 91: - { - i17 = i10; + while (1) { + label$9: { + $2 = $6; + if (!HEAP32[$2 >> 2]) { + $6 = 0; + break label$9; + } + $8 = std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____20const__2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________key_eq_28_29($0), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________upcast_28_29($4) + 8 | 0, std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________upcast_28_29(HEAP32[$2 >> 2]) + 8 | 0); + $6 = HEAP32[$2 >> 2]; + if ($8) { + continue; + } + } break; } - case 110: - { - _store_int_669(i18, i12, i13, i14); - i6 = i13; - i7 = i14; - break L8; - } - default: - { - ___shlim(i34, 0, 0); - do { - i6 = HEAP32[i20 >> 2] | 0; - if (i6 >>> 0 < (HEAP32[i21 >> 2] | 0) >>> 0) { - HEAP32[i20 >> 2] = i6 + 1; - i6 = HEAPU8[i6 >> 0] | 0; - } else i6 = ___shgetc(i34) | 0; - } while ((_isspace(i6) | 0) != 0); - if (!(HEAP32[i21 >> 2] | 0)) i6 = HEAP32[i20 >> 2] | 0; else { - i6 = (HEAP32[i20 >> 2] | 0) + -1 | 0; - HEAP32[i20 >> 2] = i6; - } - i16 = i22; - i17 = i6 - (HEAP32[i23 >> 2] | 0) | 0; - i13 = _i64Add(HEAP32[i16 >> 2] | 0, HEAP32[i16 + 4 >> 2] | 0, i13 | 0, i14 | 0) | 0; - i13 = _i64Add(i13 | 0, getTempRet0() | 0, i17 | 0, ((i17 | 0) < 0) << 31 >> 31 | 0) | 0; - i17 = i10; - i14 = getTempRet0() | 0; - } - } - i16 = ((i17 | 0) < 0) << 31 >> 31; - ___shlim(i34, i17, i16); - i7 = HEAP32[i20 >> 2] | 0; - i6 = HEAP32[i21 >> 2] | 0; - if (i7 >>> 0 < i6 >>> 0) HEAP32[i20 >> 2] = i7 + 1; else { - if ((___shgetc(i34) | 0) < 0) { - i33 = 143; - break L6; - } - i6 = HEAP32[i21 >> 2] | 0; - } - if (i6 | 0) HEAP32[i20 >> 2] = (HEAP32[i20 >> 2] | 0) + -1; - L59 : do switch (i9 << 24 >> 24) { - case 91: - case 99: - case 115: - { - i15 = (i11 | 0) == 99; - L61 : do if ((i11 | 16 | 0) == 115) { - _memset(i30 | 0, -1, 257) | 0; - HEAP8[i30 >> 0] = 0; - if ((i11 | 0) == 115) { - HEAP8[i25 >> 0] = 0; - HEAP16[i24 >> 1] = 0; - HEAP16[i24 + 2 >> 1] = 0; - HEAP8[i24 + 4 >> 0] = 0; - } - } else { - i11 = i5 + 1 | 0; - i10 = (HEAP8[i11 >> 0] | 0) == 94; - i6 = i10 & 1; - i5 = i10 ? i5 + 2 | 0 : i11; - _memset(i30 | 0, i6 | 0, 257) | 0; - HEAP8[i30 >> 0] = 0; - switch (HEAP8[i5 >> 0] | 0) { - case 45: - { - i9 = (i6 ^ 1) & 255; - HEAP8[i26 >> 0] = i9; - i5 = i5 + 1 | 0; - break; - } - case 93: - { - i9 = (i6 ^ 1) & 255; - HEAP8[i28 >> 0] = i9; - i5 = i5 + 1 | 0; - break; - } - default: - i9 = (i6 ^ 1) & 255; + HEAP32[$3 >> 2] = $6; + wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2] >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2], + wasm2js_i32$1 = $4, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + continue; + } + $3 = $4; + continue; + } + } else { + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $2), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = $2 + 1 | 0; + continue; + } + } + std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______29($0, 0); + wasm2js_i32$0 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________size_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________get_deleter_28_29($0)), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } +} + +function arDetectMarker($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0; + $7 = __stack_pointer - 80 | 0; + __stack_pointer = $7; + label$1: { + label$2: { + label$3: { + label$4: { + if (!$0 | !$1) { + break label$4; + } + HEAP32[$0 + 44 >> 2] = 0; + $8 = $0 + 44 | 0; + $2 = HEAP32[$0 + 7062388 >> 2]; + label$5: { + label$6: { + if (($2 | 0) == 4) { + $2 = HEAP32[$0 + 7062396 >> 2]; + if (($2 | 0) > 0) { + HEAP32[$0 + 7062396 >> 2] = $2 - 1; + break label$6; } + $13 = HEAP32[$0 + 16 >> 2]; + $2 = $13 + HEAP32[$0 + 7062400 >> 2] | 0; + $16 = ($2 | 0) < 255 ? $2 : 255; + HEAP32[$7 + 68 >> 2] = $16; + $2 = HEAP32[$0 + 7062404 >> 2]; + HEAP32[$7 + 76 >> 2] = $13; + $2 = $13 - $2 | 0; + $15 = ($2 | 0) > 0 ? $2 : 0; + HEAP32[$7 + 72 >> 2] = $15; + $11 = $0 + 48 | 0; + $10 = $0 + 15408 | 0; + $3 = $0 + 15416 | 0; + $5 = $0 + 4834144 | 0; + $2 = 0; while (1) { - i6 = HEAP8[i5 >> 0] | 0; - L72 : do switch (i6 << 24 >> 24) { - case 0: - { - i33 = 143; - break L6; - } - case 93: - break L61; - case 45: - { - i7 = i5 + 1 | 0; - i6 = HEAP8[i7 >> 0] | 0; - switch (i6 << 24 >> 24) { - case 93: - case 0: - { - i6 = 45; - break L72; - } - default: - {} - } - i5 = HEAP8[i5 + -1 >> 0] | 0; - if ((i5 & 255) < (i6 & 255)) { - i5 = i5 & 255; - do { - i5 = i5 + 1 | 0; - HEAP8[i30 + i5 >> 0] = i9; - i6 = HEAP8[i7 >> 0] | 0; - } while (i5 >>> 0 < (i6 & 255) >>> 0); - i5 = i7; - } else i5 = i7; - break; + if (($2 | 0) != 3) { + $4 = $2 << 2; + if ((arLabeling(HEAP32[$1 + 12 >> 2], HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], HEAP32[$0 >> 2], HEAP32[$0 + 12 >> 2], HEAP32[$4 + ($7 + 68 | 0) >> 2], HEAP32[$0 + 20 >> 2], $5, 0) | 0) < 0) { + break label$4; } - default: - {} - } while (0); - HEAP8[i30 + ((i6 & 255) + 1) >> 0] = i9; - i5 = i5 + 1 | 0; - } - } while (0); - i6 = i15 ? i17 + 1 | 0 : 31; - i11 = (i12 | 0) == 1; - i12 = (i4 | 0) != 0; - L80 : do if (i11) { - if (i12) { - i2 = _malloc(i6 << 2) | 0; - if (!i2) { - i3 = 0; - i2 = 0; - i33 = 143; - break L6; - } - } else i2 = i18; - HEAP32[i29 >> 2] = 0; - HEAP32[i19 >> 2] = 0; - i3 = 0; - L85 : while (1) { - i9 = (i2 | 0) == 0; - do { - L89 : while (1) { - i7 = HEAP32[i20 >> 2] | 0; - if (i7 >>> 0 < (HEAP32[i21 >> 2] | 0) >>> 0) { - HEAP32[i20 >> 2] = i7 + 1; - i7 = HEAPU8[i7 >> 0] | 0; - } else i7 = ___shgetc(i34) | 0; - if (!(HEAP8[i30 + (i7 + 1) >> 0] | 0)) break L85; - HEAP8[i32 >> 0] = i7; - switch (_mbrtowc(i31, i32, 1, i29) | 0) { - case -1: - { - i3 = 0; - i33 = 143; - break L6; - } - case -2: - break; - default: - break L89; - } + if ((arDetectMarker2(HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], $5, HEAP32[$0 + 20 >> 2], 1e6, 70, 1, $3, $10) | 0) < 0) { + break label$4; } - if (!i9) { - HEAP32[i2 + (i3 << 2) >> 2] = HEAP32[i31 >> 2]; - i3 = i3 + 1 | 0; - } - } while (!(i12 & (i3 | 0) == (i6 | 0))); - i6 = i6 << 1 | 1; - i7 = _realloc(i2, i6 << 2) | 0; - if (!i7) { - i3 = 0; - i33 = 143; - break L6; - } else i2 = i7; - } - if (!(_mbsinit(i29) | 0)) { - i3 = 0; - i33 = 143; - break L6; - } else { - i9 = i3; - i3 = 0; - i10 = i2; + if ((arGetMarkerInfo(HEAP32[$1 >> 2], HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], HEAP32[$0 + 4 >> 2], $3, HEAP32[$0 + 15408 >> 2], HEAP32[$0 + 7062384 >> 2], HEAP32[$0 + 20 >> 2], HEAP32[$0 + 24 >> 2], HEAP32[$0 + 32 >> 2] + 184 | 0, HEAPF64[$0 + 7062416 >> 3], $11, $8, HEAP32[$0 + 7062424 >> 2]) | 0) < 0) { + break label$4; + } + HEAP32[($7 + 56 | 0) + $4 >> 2] = HEAP32[$8 >> 2]; + $2 = $2 + 1 | 0; + continue; + } + break; } - } else { - if (i12) { - i3 = _malloc(i6) | 0; - if (!i3) { - i3 = 0; - i2 = 0; - i33 = 143; - break L6; + label$11: { + if (HEAP32[$0 >> 2] != 1) { + $3 = HEAP32[$7 + 60 >> 2]; + $2 = HEAP32[$7 + 64 >> 2]; + $5 = HEAP32[$7 + 56 >> 2]; + break label$11; } - i2 = 0; - while (1) { - i9 = i2; - do { - i2 = HEAP32[i20 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 >> 2] | 0) >>> 0) { - HEAP32[i20 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i34) | 0; - if (!(HEAP8[i30 + (i2 + 1) >> 0] | 0)) { - i10 = 0; - i2 = 0; - break L80; + HEAP32[$7 + 48 >> 2] = $16; + $5 = HEAP32[$7 + 56 >> 2]; + HEAP32[$7 + 52 >> 2] = $5; + HEAP32[$7 + 32 >> 2] = $15; + $3 = HEAP32[$7 + 60 >> 2]; + HEAP32[$7 + 36 >> 2] = $3; + HEAP32[$7 + 40 >> 2] = $13; + $2 = HEAP32[$7 + 64 >> 2]; + HEAP32[$7 + 44 >> 2] = $2; + arLog(0, 3, 9472, $7 + 32 | 0); + } + if (!(($2 | 0) < ($5 | 0) | ($2 | 0) < ($3 | 0))) { + $1 = HEAP32[$0 + 7062400 >> 2]; + $2 = HEAP32[$0 + 7062404 >> 2]; + label$14: { + label$15: { + if (($1 | 0) < ($2 | 0)) { + $1 = $1 + 1 | 0; + break label$15; } - i10 = i9; - i9 = i9 + 1 | 0; - HEAP8[i3 + i10 >> 0] = i2; - } while ((i9 | 0) != (i6 | 0)); - i6 = i6 << 1 | 1; - i7 = _realloc(i3, i6) | 0; - if (!i7) { - i2 = 0; - i33 = 143; - break L6; - } else { - i2 = i9; - i3 = i7; + if (($1 | 0) > ($2 | 0)) { + HEAP32[$0 + 7062404 >> 2] = $2 + 1; + break label$14; + } + HEAP32[$0 + 7062404 >> 2] = $2 + 1; + $1 = $1 + 1 | 0; } + HEAP32[$0 + 7062400 >> 2] = $1; + } + if (($1 + $13 | 0) >= 255) { + HEAP32[$0 + 7062400 >> 2] = 1; + $1 = 1; + } + if (($1 | 0) >= ($13 | 0)) { + HEAP32[$0 + 7062404 >> 2] = 1; } + HEAP32[$0 + 7062396 >> 2] = HEAP32[$0 + 7062392 >> 2]; + break label$2; } - if (!i18) while (1) { - i2 = HEAP32[i20 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 >> 2] | 0) >>> 0) { - HEAP32[i20 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i34) | 0; - if (!(HEAP8[i30 + (i2 + 1) >> 0] | 0)) { - i9 = 0; - i3 = 0; - i10 = 0; - i2 = 0; - break L80; + $2 = ($3 | 0) > ($5 | 0) ? $15 : $16; + HEAP32[$0 + 16 >> 2] = $2; + $5 = 1; + $3 = $2 - $13 | 0; + label$20: { + if (($3 | 0) > 0) { + HEAP32[$0 + 7062400 >> 2] = $3; + break label$20; } + HEAP32[$0 + 7062400 >> 2] = 1; + $5 = 0 - $3 | 0; } - i3 = 0; - while (1) { - i2 = HEAP32[i20 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 >> 2] | 0) >>> 0) { - HEAP32[i20 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i34) | 0; - if (!(HEAP8[i30 + (i2 + 1) >> 0] | 0)) { - i9 = i3; - i3 = i18; - i10 = 0; - i2 = 0; - break L80; + HEAP32[$0 + 7062404 >> 2] = $5; + if (HEAP32[$0 >> 2] == 1) { + HEAP32[$7 + 16 >> 2] = $2; + arLog(0, 3, 10167, $7 + 16 | 0); + } + HEAP32[$0 + 7062396 >> 2] = HEAP32[$0 + 7062392 >> 2]; + $2 = HEAP32[$0 + 7062388 >> 2]; + } + label$23: { + switch ($2 - 1 | 0) { + case 2: + $4 = arImageProcLumaHistAndBoxFilterWithBias(HEAP32[$0 + 7062408 >> 2], HEAP32[$1 + 12 >> 2], 9, -7); + if (($4 | 0) < 0) { + break label$1; } - HEAP8[i18 + i3 >> 0] = i2; - i3 = i3 + 1 | 0; - } - } while (0); - if (!(HEAP32[i21 >> 2] | 0)) i6 = HEAP32[i20 >> 2] | 0; else { - i6 = (HEAP32[i20 >> 2] | 0) + -1 | 0; - HEAP32[i20 >> 2] = i6; - } - i7 = i22; - i6 = i6 - (HEAP32[i23 >> 2] | 0) | 0; - i6 = _i64Add(HEAP32[i7 >> 2] | 0, HEAP32[i7 + 4 >> 2] | 0, i6 | 0, ((i6 | 0) < 0) << 31 >> 31 | 0) | 0; - i7 = getTempRet0() | 0; - if ((i6 | 0) == 0 & (i7 | 0) == 0) break L6; - if (!((i6 | 0) == (i17 | 0) & (i7 | 0) == (i16 | 0) | i15 ^ 1)) break L6; - do if (i12) if (i11) { - HEAP32[i18 >> 2] = i10; - break; - } else { - HEAP32[i18 >> 2] = i3; - break; - } while (0); - if (!i15) { - if (i10 | 0) HEAP32[i10 + (i9 << 2) >> 2] = 0; - if (!i3) { - i3 = 0; - break L59; + $2 = HEAP32[$0 + 7062408 >> 2]; + $4 = arLabeling(HEAP32[$1 + 12 >> 2], HEAP32[$2 + 4 >> 2], HEAP32[$2 + 8 >> 2], HEAP32[$0 >> 2], HEAP32[$0 + 12 >> 2], 0, 0, $0 + 4834144 | 0, HEAP32[$2 >> 2]); + if (($4 | 0) >= 0) { + break label$5; + } + break label$1; + + case 0: + case 1: + break label$23; + + default: + break label$6; } - HEAP8[i3 + i9 >> 0] = 0; } - break; - } - case 120: - case 88: - case 112: - { - i6 = 16; - i33 = 131; - break; - } - case 111: - { - i6 = 8; - i33 = 131; - break; - } - case 117: - case 100: - { - i6 = 10; - i33 = 131; - break; - } - case 105: - { - i6 = 0; - i33 = 131; - break; - } - case 71: - case 103: - case 70: - case 102: - case 69: - case 101: - case 65: - case 97: - { - d8 = +___floatscan(i34, i12, 0); - i17 = i22; - i15 = HEAP32[i17 >> 2] | 0; - i17 = HEAP32[i17 + 4 >> 2] | 0; - i16 = (HEAP32[i20 >> 2] | 0) - (HEAP32[i23 >> 2] | 0) | 0; - i16 = _i64Subtract(0, 0, i16 | 0, ((i16 | 0) < 0) << 31 >> 31 | 0) | 0; - if ((i15 | 0) == (i16 | 0) & (i17 | 0) == (getTempRet0() | 0)) break L6; - if (i18) switch (i12 | 0) { - case 0: - { - HEAPF32[i18 >> 2] = d8; - break L59; + $5 = HEAP32[$0 + 7062396 >> 2]; + if (($5 | 0) > 0) { + HEAP32[$0 + 7062396 >> 2] = $5 - 1; + break label$6; + } + $5 = HEAP32[$1 + 12 >> 2]; + $3 = HEAP32[$0 + 7062408 >> 2]; + label$26: { + if (($2 | 0) == 1) { + $4 = arImageProcLumaHistAndCDFAndMedian($3, $5, $7 + 68 | 0); + break label$26; } - case 1: - { - HEAPF64[i18 >> 3] = d8; - break L59; + $4 = arImageProcLumaHistAndOtsu($3, $5, $7 + 68 | 0); + } + if (($4 | 0) < 0) { + break label$1; + } + label$28: { + if (HEAP32[$0 >> 2] != 1) { + break label$28; } - case 2: - { - HEAPF64[i18 >> 3] = d8; - break L59; + $2 = HEAPU8[$7 + 68 | 0]; + if (($2 | 0) == HEAP32[$0 + 16 >> 2]) { + break label$28; } - default: - break L59; + $5 = HEAP32[$0 + 7062388 >> 2]; + HEAP32[$7 + 4 >> 2] = $2; + HEAP32[$7 >> 2] = ($5 | 0) == 1 ? 11060 : 11622; + arLog(0, 3, 10927, $7); } - break; + HEAP32[$0 + 16 >> 2] = HEAPU8[$7 + 68 | 0]; + HEAP32[$0 + 7062396 >> 2] = HEAP32[$0 + 7062392 >> 2]; } - default: - {} - } while (0); - do if ((i33 | 0) == 131) { - i33 = 0; - i6 = ___intscan(i34, i6, 0, -1, -1) | 0; - i7 = getTempRet0() | 0; - i17 = i22; - i15 = HEAP32[i17 >> 2] | 0; - i17 = HEAP32[i17 + 4 >> 2] | 0; - i16 = (HEAP32[i20 >> 2] | 0) - (HEAP32[i23 >> 2] | 0) | 0; - i16 = _i64Subtract(0, 0, i16 | 0, ((i16 | 0) < 0) << 31 >> 31 | 0) | 0; - if ((i15 | 0) == (i16 | 0) & (i17 | 0) == (getTempRet0() | 0)) break L6; - if ((i18 | 0) != 0 & (i11 | 0) == 112) { - HEAP32[i18 >> 2] = i6; - break; - } else { - _store_int_669(i18, i12, i6, i7); - break; + if ((arLabeling(HEAP32[$1 + 12 >> 2], HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], HEAP32[$0 >> 2], HEAP32[$0 + 12 >> 2], HEAP32[$0 + 16 >> 2], HEAP32[$0 + 20 >> 2], $0 + 4834144 | 0, 0) | 0) < 0) { + break label$4; } - } while (0); - i7 = i22; - i6 = (HEAP32[i20 >> 2] | 0) - (HEAP32[i23 >> 2] | 0) | 0; - i7 = _i64Add(HEAP32[i7 >> 2] | 0, HEAP32[i7 + 4 >> 2] | 0, i13 | 0, i14 | 0) | 0; - i6 = _i64Add(i7 | 0, getTempRet0() | 0, i6 | 0, ((i6 | 0) < 0) << 31 >> 31 | 0) | 0; - i1 = i1 + ((i18 | 0) != 0 & 1) | 0; - i7 = getTempRet0() | 0; - break L8; - } while (0); - i5 = i5 + (i6 & 1) | 0; - ___shlim(i34, 0, 0); - i4 = HEAP32[i20 >> 2] | 0; - if (i4 >>> 0 < (HEAP32[i21 >> 2] | 0) >>> 0) { - HEAP32[i20 >> 2] = i4 + 1; - i4 = HEAPU8[i4 >> 0] | 0; - } else i4 = ___shgetc(i34) | 0; - if ((i4 | 0) != (HEAPU8[i5 >> 0] | 0)) { - i33 = 23; - break L6; - } - i6 = _i64Add(i13 | 0, i14 | 0, 1, 0) | 0; - i7 = getTempRet0() | 0; - } else { - while (1) { - i4 = i5 + 1 | 0; - if (!(_isspace(HEAPU8[i4 >> 0] | 0) | 0)) break; else i5 = i4; - } - ___shlim(i34, 0, 0); - do { - i4 = HEAP32[i20 >> 2] | 0; - if (i4 >>> 0 < (HEAP32[i21 >> 2] | 0) >>> 0) { - HEAP32[i20 >> 2] = i4 + 1; - i4 = HEAPU8[i4 >> 0] | 0; - } else i4 = ___shgetc(i34) | 0; - } while ((_isspace(i4) | 0) != 0); - if (!(HEAP32[i21 >> 2] | 0)) i4 = HEAP32[i20 >> 2] | 0; else { - i4 = (HEAP32[i20 >> 2] | 0) + -1 | 0; - HEAP32[i20 >> 2] = i4; - } - i7 = i22; - i6 = i4 - (HEAP32[i23 >> 2] | 0) | 0; - i7 = _i64Add(HEAP32[i7 >> 2] | 0, HEAP32[i7 + 4 >> 2] | 0, i13 | 0, i14 | 0) | 0; - i6 = _i64Add(i7 | 0, getTempRet0() | 0, i6 | 0, ((i6 | 0) < 0) << 31 >> 31 | 0) | 0; - i7 = getTempRet0() | 0; - } while (0); - i5 = i5 + 1 | 0; - i4 = HEAP8[i5 >> 0] | 0; - if (!(i4 << 24 >> 24)) break L4; else { - i13 = i6; - i14 = i7; - } - } - if ((i33 | 0) == 23) { - if (HEAP32[i21 >> 2] | 0) HEAP32[i20 >> 2] = (HEAP32[i20 >> 2] | 0) + -1; - if ((i1 | 0) != 0 | (i4 | 0) > -1) break; else { - i4 = 0; - i1 = i3; - i33 = 144; - } - } else if ((i33 | 0) == 143) if (!i1) { - i1 = i3; - i33 = 144; - } - if ((i33 | 0) == 144) { - i3 = i1; - i1 = -1; - } - if (i4) { - _free(i3); - _free(i2); - } - } else i1 = 0; while (0); - if (i35 | 0) ___unlockfile(i34); - STACKTOP = i36; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_118parse_expr_primaryINS0_2DbEEEPKcS4_S4_RT_(i1, i3, i11) { - i1 = i1 | 0; - i3 = i3 | 0; - i11 = i11 | 0; - var i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - i12 = i13 + 64 | 0; - i6 = i13 + 48 | 0; - i7 = i13 + 36 | 0; - i8 = i13 + 24 | 0; - i9 = i13 + 12 | 0; - i10 = i13; - L1 : do if ((i3 - i1 | 0) > 3 ? (HEAP8[i1 >> 0] | 0) == 76 : 0) { - i2 = i1 + 1 | 0; - do switch (HEAP8[i2 >> 0] | 0) { - case 84: - break L1; - case 119: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50861, __ZNSt3__211char_traitsIcE6lengthEPKc(50861) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 98: - { - if ((HEAP8[i1 + 3 >> 0] | 0) != 69) break L1; - switch (HEAP8[i1 + 2 >> 0] | 0) { - case 48: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm6EEERAT__Kc(i12, 50869); - i2 = i11 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i11 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i12); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i11, i12); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i12); - i1 = i1 + 4 | 0; - break L1; - } - case 49: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm5EEERAT__Kc(i12, 50875); - i2 = i11 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i11 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i12); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i11, i12); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i12); - i1 = i1 + 4 | 0; - break L1; } - default: - break L1; - } - } - case 99: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50880, __ZNSt3__211char_traitsIcE6lengthEPKc(50880) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 97: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50885, __ZNSt3__211char_traitsIcE6lengthEPKc(50885) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 104: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50897, __ZNSt3__211char_traitsIcE6lengthEPKc(50897) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 115: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50911, __ZNSt3__211char_traitsIcE6lengthEPKc(50911) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 116: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50917, __ZNSt3__211char_traitsIcE6lengthEPKc(50917) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 105: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 58366, __ZNSt3__211char_traitsIcE6lengthEPKc(58366) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 106: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50932, __ZNSt3__211char_traitsIcE6lengthEPKc(50932) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 108: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50934, __ZNSt3__211char_traitsIcE6lengthEPKc(50934) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 109: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50936, __ZNSt3__211char_traitsIcE6lengthEPKc(50936) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 120: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50939, __ZNSt3__211char_traitsIcE6lengthEPKc(50939) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 121: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50942, __ZNSt3__211char_traitsIcE6lengthEPKc(50942) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 110: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50946, __ZNSt3__211char_traitsIcE6lengthEPKc(50946) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 111: - { - i10 = i1 + 2 | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i12, 50955, __ZNSt3__211char_traitsIcE6lengthEPKc(50955) | 0); - i11 = __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i10, i3, i12, i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = (i11 | 0) == (i10 | 0) ? i1 : i11; - break L1; - } - case 102: - { - i10 = i1 + 2 | 0; - i12 = __ZN10__cxxabiv112_GLOBAL__N_121parse_floating_numberIfNS0_2DbEEEPKcS4_S4_RT0_(i10, i3, i11) | 0; - i1 = (i12 | 0) == (i10 | 0) ? i1 : i12; - break L1; - } - case 100: - { - i10 = i1 + 2 | 0; - i12 = __ZN10__cxxabiv112_GLOBAL__N_121parse_floating_numberIdNS0_2DbEEEPKcS4_S4_RT0_(i10, i3, i11) | 0; - i1 = (i12 | 0) == (i10 | 0) ? i1 : i12; - break L1; - } - case 101: - { - i10 = i1 + 2 | 0; - i12 = __ZN10__cxxabiv112_GLOBAL__N_121parse_floating_numberIeNS0_2DbEEEPKcS4_S4_RT0_(i10, i3, i11) | 0; - i1 = (i12 | 0) == (i10 | 0) ? i1 : i12; - break L1; - } - case 95: - { - if ((HEAP8[i1 + 2 >> 0] | 0) != 90) break L1; - i12 = i1 + 3 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_114parse_encodingINS0_2DbEEEPKcS4_S4_RT_(i12, i3, i11) | 0; - if ((i2 | 0) == (i12 | 0) | (i2 | 0) == (i3 | 0)) break L1; - i1 = (HEAP8[i2 >> 0] | 0) == 69 ? i2 + 1 | 0 : i1; - break L1; + $2 = $0 + 15416 | 0; + if ((arDetectMarker2(HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], $0 + 4834144 | 0, HEAP32[$0 + 20 >> 2], 1e6, 70, 1, $2, $0 + 15408 | 0) | 0) >= 0) { + break label$3; + } + } + $4 = -1; + break label$1; } - default: - { - i5 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i2, i3, i11) | 0; - if ((i5 | 0) == (i2 | 0) | (i5 | 0) == (i3 | 0)) break L1; - if ((HEAP8[i5 >> 0] | 0) == 69) { - i1 = i5 + 1 | 0; - break L1; - } - i4 = i5; - while (1) { - if ((i4 | 0) == (i3 | 0)) break L1; - i2 = HEAP8[i4 >> 0] | 0; - if (((i2 << 24 >> 24) + -48 | 0) >>> 0 >= 10) break; - i4 = i4 + 1 | 0; - } - if (!((i4 | 0) != (i5 | 0) & i2 << 24 >> 24 == 69)) break L1; - i3 = i11 + 4 | 0; - i2 = HEAP32[i3 >> 2] | 0; - if ((HEAP32[i11 >> 2] | 0) == (i2 | 0)) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i9, i2 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i9, 0, 49669) | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i8, 49667) | 0; - HEAP32[i7 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i7 + 4 >> 2] = HEAP32[i8 + 4 >> 2]; - HEAP32[i7 + 8 >> 2] = HEAP32[i8 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i8 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i10 >> 2] = 0; - HEAP32[i10 + 4 >> 2] = 0; - HEAP32[i10 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(i10, i5, i4); - i1 = HEAP8[i10 + 11 >> 0] | 0; - i11 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i7, i11 ? HEAP32[i10 >> 2] | 0 : i10, i11 ? HEAP32[i10 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i6 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i6 + 4 >> 2] = HEAP32[i7 + 4 >> 2]; - HEAP32[i6 + 8 >> 2] = HEAP32[i7 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i7 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i12, i6); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i3 >> 2] | 0) + -24 | 0, i12); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - i1 = i4 + 1 | 0; - break L1; - } - } while (0); - } while (0); - STACKTOP = i13; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_121parse_unresolved_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i9, i10) { - i1 = i1 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i12 = i13 + 12 | 0; - i11 = i13; - i2 = i9; - L1 : do if ((i2 - i1 | 0) > 2) { - if ((HEAP8[i1 >> 0] | 0) == 103) { - i3 = (HEAP8[i1 + 1 >> 0] | 0) == 115; - i5 = i3; - i3 = i3 ? i1 + 2 | 0 : i1; - } else { - i5 = 0; - i3 = i1; - } - i4 = __ZN10__cxxabiv112_GLOBAL__N_126parse_base_unresolved_nameINS0_2DbEEEPKcS4_S4_RT_(i3, i9, i10) | 0; - if ((i4 | 0) != (i3 | 0)) { - if (!i5) { - i1 = i4; - break; + $4 = -1; + if ((arGetMarkerInfo(HEAP32[$1 >> 2], HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], HEAP32[$0 + 4 >> 2], $2, HEAP32[$0 + 15408 >> 2], HEAP32[$0 + 7062384 >> 2], HEAP32[$0 + 20 >> 2], HEAP32[$0 + 24 >> 2], HEAP32[$0 + 32 >> 2] + 184 | 0, HEAPF64[$0 + 7062416 >> 3], $0 + 48 | 0, $8, HEAP32[$0 + 7062424 >> 2]) | 0) < 0) { + break label$1; } - i2 = HEAP32[i10 + 4 >> 2] | 0; - if ((HEAP32[i10 >> 2] | 0) == (i2 | 0)) break; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i2 + -24 | 0, 0, 49741) | 0; - i1 = i4; - break; } - if (((i2 - i3 | 0) > 2 ? (HEAP8[i3 >> 0] | 0) == 115 : 0) ? (HEAP8[i3 + 1 >> 0] | 0) == 114 : 0) { - i4 = i3 + 2 | 0; - if ((HEAP8[i4 >> 0] | 0) == 78) { - i8 = i3 + 3 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_121parse_unresolved_typeINS0_2DbEEEPKcS4_S4_RT_(i8, i9, i10) | 0; - if ((i2 | 0) == (i8 | 0) | (i2 | 0) == (i9 | 0)) break; - i4 = __ZN10__cxxabiv112_GLOBAL__N_119parse_template_argsINS0_2DbEEEPKcS4_S4_RT_(i2, i9, i10) | 0; - i8 = i10 + 4 | 0; - do if ((i4 | 0) == (i2 | 0)) i7 = i10; else { - i2 = HEAP32[i8 >> 2] | 0; - if (((i2 - (HEAP32[i10 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i12, i2 + -24 | 0); - i3 = HEAP32[i8 >> 2] | 0; - i2 = 0; + if (HEAP32[$0 + 28 >> 2] != 1) { + $1 = HEAP32[$0 + 4818296 >> 2]; + $13 = ($1 | 0) > 0 ? $1 : 0; + $11 = 0; + while (1) { + if (($11 | 0) != ($13 | 0)) { + $1 = 0; + $2 = HEAP32[$0 + 44 >> 2]; + $5 = ($2 | 0) > 0 ? $2 : 0; + $2 = (Math_imul($11, 264) + $0 | 0) + 4818304 | 0; + $3 = -1; + $12 = .5; while (1) { - if ((i2 | 0) == -1) break; - i7 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i7 * 24 | 0) | 0); - i2 = i7; - } - HEAP32[i8 >> 2] = i3 + -24; - i7 = HEAP8[i12 + 11 >> 0] | 0; - i6 = i7 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i3 + -48 | 0, i6 ? HEAP32[i12 >> 2] | 0 : i12, i6 ? HEAP32[i12 + 4 >> 2] | 0 : i7 & 255) | 0; - if ((i4 | 0) != (i9 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i2 = i4; - i7 = i10; + if (($1 | 0) != ($5 | 0)) { + $8 = ($1 << 8) + $0 | 0; + $9 = +HEAP32[$8 + 48 >> 2]; + $6 = +HEAP32[$2 >> 2] / $9; + label$34: { + if ($6 < .7 | $6 > 1.43) { + break label$34; + } + $6 = HEAPF64[$8 + 104 >> 3] - HEAPF64[$2 + 56 >> 3]; + $14 = $6 * $6; + $6 = HEAPF64[$8 + 112 >> 3] - HEAPF64[$2 + 64 >> 3]; + $6 = ($14 + $6 * $6) / $9; + if (!($12 > $6)) { + break label$34; + } + $12 = $6; + $3 = $1; + } + $1 = $1 + 1 | 0; + continue; + } break; } - i3 = HEAP32[i8 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i11 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i11 * 24 | 0) | 0); - i2 = i11; - } - HEAP32[i8 >> 2] = i3 + -24; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - break L1; - } while (0); - i5 = i11 + 11 | 0; - i6 = i11 + 4 | 0; - while (1) { - if ((HEAP8[i2 >> 0] | 0) == 69) break; - i4 = __ZN10__cxxabiv112_GLOBAL__N_132parse_unresolved_qualifier_levelINS0_2DbEEEPKcS4_S4_RT_(i2, i9, i10) | 0; - if ((i4 | 0) == (i2 | 0) | (i4 | 0) == (i9 | 0)) break L1; - i2 = HEAP32[i8 >> 2] | 0; - if (((i2 - (HEAP32[i7 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i12, i2 + -24 | 0); - i3 = HEAP32[i8 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i14 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i14 * 24 | 0) | 0); - i2 = i14; - } - HEAP32[i8 >> 2] = i3 + -24; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i12, 0, 49741) | 0; - HEAP32[i11 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i12 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - i2 = HEAP8[i5 >> 0] | 0; - i14 = i2 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i8 >> 2] | 0) + -24 | 0, i14 ? HEAP32[i11 >> 2] | 0 : i11, i14 ? HEAP32[i6 >> 2] | 0 : i2 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i2 = i4; - } - i14 = i2 + 1 | 0; - i3 = __ZN10__cxxabiv112_GLOBAL__N_126parse_base_unresolved_nameINS0_2DbEEEPKcS4_S4_RT_(i14, i9, i10) | 0; - if ((i3 | 0) == (i14 | 0)) { - i3 = HEAP32[i8 >> 2] | 0; - if ((HEAP32[i10 >> 2] | 0) == (i3 | 0)) break; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i14 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i14 * 24 | 0) | 0); - i2 = i14; - } - HEAP32[i8 >> 2] = i3 + -24; - break; - } - i2 = HEAP32[i8 >> 2] | 0; - if (((i2 - (HEAP32[i7 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i12, i2 + -24 | 0); - i2 = HEAP32[i8 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i14 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i14 * 24 | 0) | 0); - i1 = i14; - } - HEAP32[i8 >> 2] = i2 + -24; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i12, 0, 49741) | 0; - HEAP32[i11 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i11 + 11 >> 0] | 0; - i14 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i8 >> 2] | 0) + -24 | 0, i14 ? HEAP32[i11 >> 2] | 0 : i11, i14 ? HEAP32[i11 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = i3; - break; - } - i2 = __ZN10__cxxabiv112_GLOBAL__N_121parse_unresolved_typeINS0_2DbEEEPKcS4_S4_RT_(i4, i9, i10) | 0; - if ((i2 | 0) != (i4 | 0)) { - i5 = __ZN10__cxxabiv112_GLOBAL__N_119parse_template_argsINS0_2DbEEEPKcS4_S4_RT_(i2, i9, i10) | 0; - if ((i5 | 0) != (i2 | 0)) { - i4 = i10 + 4 | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (((i2 - (HEAP32[i10 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i12, i2 + -24 | 0); - i3 = HEAP32[i4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i14 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i14 * 24 | 0) | 0); - i2 = i14; - } - HEAP32[i4 >> 2] = i3 + -24; - i2 = HEAP8[i12 + 11 >> 0] | 0; - i14 = i2 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i3 + -48 | 0, i14 ? HEAP32[i12 >> 2] | 0 : i12, i14 ? HEAP32[i12 + 4 >> 2] | 0 : i2 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i2 = i5; - } - i4 = __ZN10__cxxabiv112_GLOBAL__N_126parse_base_unresolved_nameINS0_2DbEEEPKcS4_S4_RT_(i2, i9, i10) | 0; - if ((i4 | 0) == (i2 | 0)) { - i3 = i10 + 4 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if ((HEAP32[i10 >> 2] | 0) == (i4 | 0)) break; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i14 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4 + (i14 * 24 | 0) | 0); - i2 = i14; + label$35: { + if (($3 | 0) < 0) { + break label$35; + } + $4 = -1; + label$36: { + label$37: { + $16 = HEAP32[$0 + 24 >> 2]; + switch ($16 | 0) { + case 3: + case 4: + break label$36; + + case 0: + case 1: + case 2: + break label$37; + + default: + break label$1; + } + } + $14 = HEAPF64[$2 + 32 >> 3]; + $4 = ($3 << 8) + $0 | 0; + $1 = $4 + 80 | 0; + if (!($14 > HEAPF64[$1 >> 3])) { + break label$35; + } + HEAPF64[$4 + 80 >> 3] = $14; + $15 = HEAP32[$2 + 4 >> 2]; + HEAP32[$4 + 52 >> 2] = $15; + $3 = 0; + $10 = -1; + $12 = 1e8; + while (1) { + $6 = 0; + $1 = 0; + if (($3 | 0) != 4) { + while (1) { + if (($1 | 0) != 4) { + $8 = ($1 << 4) + $2 | 0; + $5 = (($1 + $3 & 3) << 4) + $4 | 0; + $9 = HEAPF64[$8 + 168 >> 3] - HEAPF64[$5 + 216 >> 3]; + $17 = $9 * $9; + $9 = HEAPF64[$8 + 176 >> 3] - HEAPF64[$5 + 224 >> 3]; + $6 = $6 + ($17 + $9 * $9); + $1 = $1 + 1 | 0; + continue; + } + break; + } + if ($6 < $12) { + $12 = $6; + $10 = ((HEAP32[$2 + 16 >> 2] - $3 | 0) + 4 | 0) % 4 | 0; + } + $3 = $3 + 1 | 0; + continue; + } + break; + } + HEAP32[$4 - -64 >> 2] = $10; + if ($16 >>> 0 <= 1) { + HEAPF64[$4 + 88 >> 3] = $14; + HEAP32[$4 + 56 >> 2] = $15; + HEAP32[$4 + 68 >> 2] = $10; + break label$35; + } + HEAPF64[$4 + 96 >> 3] = $14; + HEAP32[$4 + 60 >> 2] = $15; + HEAP32[$4 + 72 >> 2] = $10; + break label$35; + } + $4 = ($3 << 8) + $0 | 0; + $6 = HEAPF64[$2 + 40 >> 3]; + $1 = $4 + 88 | 0; + label$44: { + if ($6 > HEAPF64[$1 >> 3]) { + $9 = HEAPF64[$2 + 48 >> 3]; + break label$44; + } + $9 = HEAPF64[$2 + 48 >> 3]; + if (!($9 > HEAPF64[$4 + 96 >> 3])) { + break label$35; + } + } + HEAPF64[$4 + 88 >> 3] = $6; + $1 = HEAP32[$2 + 8 >> 2]; + HEAPF64[$4 + 96 >> 3] = $9; + HEAP32[$4 + 56 >> 2] = $1; + HEAP32[$4 + 60 >> 2] = HEAP32[$2 + 12 >> 2]; + $3 = 0; + $10 = -1; + $12 = 1e8; + while (1) { + $6 = 0; + $1 = 0; + if (($3 | 0) != 4) { + while (1) { + if (($1 | 0) != 4) { + $8 = ($1 << 4) + $2 | 0; + $5 = (($1 + $3 & 3) << 4) + $4 | 0; + $9 = HEAPF64[$8 + 168 >> 3] - HEAPF64[$5 + 216 >> 3]; + $14 = $9 * $9; + $9 = HEAPF64[$8 + 176 >> 3] - HEAPF64[$5 + 224 >> 3]; + $6 = $6 + ($14 + $9 * $9); + $1 = $1 + 1 | 0; + continue; + } + break; + } + $1 = $6 < $12; + $10 = $1 ? $3 : $10; + $12 = $1 ? $6 : $12; + $3 = $3 + 1 | 0; + continue; + } + break; + } + $1 = 4 - $10 | 0; + HEAP32[$4 + 68 >> 2] = ($1 + HEAP32[$2 + 20 >> 2] | 0) % 4; + HEAP32[$4 + 72 >> 2] = (HEAP32[$2 + 24 >> 2] + $1 | 0) % 4; } - HEAP32[i3 >> 2] = i4 + -24; - break; + $11 = $11 + 1 | 0; + continue; } - i3 = i10 + 4 | 0; - i2 = HEAP32[i3 >> 2] | 0; - if (((i2 - (HEAP32[i10 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i12, i2 + -24 | 0); - i2 = HEAP32[i3 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i14 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i14 * 24 | 0) | 0); - i1 = i14; - } - HEAP32[i3 >> 2] = i2 + -24; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i12, 0, 49741) | 0; - HEAP32[i11 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i11 + 11 >> 0] | 0; - i14 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i3 >> 2] | 0) + -24 | 0, i14 ? HEAP32[i11 >> 2] | 0 : i11, i14 ? HEAP32[i11 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = i4; break; } - i6 = __ZN10__cxxabiv112_GLOBAL__N_132parse_unresolved_qualifier_levelINS0_2DbEEEPKcS4_S4_RT_(i4, i9, i10) | 0; - if (!((i6 | 0) == (i4 | 0) | (i6 | 0) == (i9 | 0))) { - if (i5) { - i2 = i10 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((HEAP32[i10 >> 2] | 0) == (i3 | 0)) break; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3 + -24 | 0, 0, 49741) | 0; - i8 = i2; - } else i8 = i10 + 4 | 0; - i5 = i11 + 11 | 0; - i7 = i11 + 4 | 0; - i2 = i6; - while (1) { - if ((HEAP8[i2 >> 0] | 0) == 69) break; - i4 = __ZN10__cxxabiv112_GLOBAL__N_132parse_unresolved_qualifier_levelINS0_2DbEEEPKcS4_S4_RT_(i2, i9, i10) | 0; - if ((i4 | 0) == (i2 | 0) | (i4 | 0) == (i9 | 0)) break L1; - i2 = HEAP32[i8 >> 2] | 0; - if (((i2 - (HEAP32[i10 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i12, i2 + -24 | 0); - i3 = HEAP32[i8 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i14 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i14 * 24 | 0) | 0); - i2 = i14; - } - HEAP32[i8 >> 2] = i3 + -24; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i12, 0, 49741) | 0; - HEAP32[i11 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i12 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - i2 = HEAP8[i5 >> 0] | 0; - i14 = i2 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i8 >> 2] | 0) + -24 | 0, i14 ? HEAP32[i11 >> 2] | 0 : i11, i14 ? HEAP32[i7 >> 2] | 0 : i2 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i2 = i4; - } - i14 = i2 + 1 | 0; - i3 = __ZN10__cxxabiv112_GLOBAL__N_126parse_base_unresolved_nameINS0_2DbEEEPKcS4_S4_RT_(i14, i9, i10) | 0; - if ((i3 | 0) == (i14 | 0)) { - i3 = HEAP32[i8 >> 2] | 0; - if ((HEAP32[i10 >> 2] | 0) == (i3 | 0)) break; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i14 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i14 * 24 | 0) | 0); - i2 = i14; - } - HEAP32[i8 >> 2] = i3 + -24; - break; - } - i2 = HEAP32[i8 >> 2] | 0; - if (((i2 - (HEAP32[i10 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i12, i2 + -24 | 0); - i2 = HEAP32[i8 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i14 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i14 * 24 | 0) | 0); - i1 = i14; - } - HEAP32[i8 >> 2] = i2 + -24; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i12, 0, 49741) | 0; - HEAP32[i11 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i11 + 11 >> 0] | 0; - i14 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i8 >> 2] | 0) + -24 | 0, i14 ? HEAP32[i11 >> 2] | 0 : i11, i14 ? HEAP32[i11 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i1 = i3; - } - } - } - } while (0); - STACKTOP = i13; - return i1 | 0; -} - -function _arDetectMarker(i37, i35) { - i37 = i37 | 0; - i35 = i35 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, d8 = 0.0, i9 = 0, d10 = 0.0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, d36 = 0.0, i38 = 0, i39 = 0, d40 = 0.0, d41 = 0.0; - i39 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i33 = i39 + 32 | 0; - i27 = i39 + 24 | 0; - i20 = i39; - i31 = i39 + 52 | 0; - i24 = i39 + 40 | 0; - L1 : do if ((i37 | 0) != 0 & (i35 | 0) != 0) { - i38 = i37 + 44 | 0; - HEAP32[i38 >> 2] = 0; - i32 = i37 + 7062388 | 0; - i1 = HEAP32[i32 >> 2] | 0; - L3 : do if ((i1 | 0) == 4) { - i29 = i37 + 7062396 | 0; - i1 = HEAP32[i29 >> 2] | 0; - do if ((i1 | 0) > 0) HEAP32[i29 >> 2] = i1 + -1; else { - i23 = i37 + 16 | 0; - i25 = HEAP32[i23 >> 2] | 0; - i26 = i37 + 7062400 | 0; - i21 = (HEAP32[i26 >> 2] | 0) + i25 | 0; - i21 = (i21 | 0) < 255 ? i21 : 255; - HEAP32[i31 >> 2] = i21; - i28 = i37 + 7062404 | 0; - i22 = i25 - (HEAP32[i28 >> 2] | 0) | 0; - i22 = (i22 | 0) > 0 ? i22 : 0; - HEAP32[i31 + 4 >> 2] = i22; - HEAP32[i31 + 8 >> 2] = i25; - i2 = i35 + 12 | 0; - i3 = i37 + 36 | 0; - i4 = i37 + 40 | 0; - i5 = i37 + 12 | 0; - i6 = i37 + 20 | 0; - i9 = i37 + 4834144 | 0; - i11 = i37 + 15416 | 0; - i12 = i37 + 15408 | 0; - i13 = i37 + 4 | 0; - i14 = i37 + 7062384 | 0; - i15 = i37 + 24 | 0; - i16 = i37 + 32 | 0; - i17 = i37 + 7062416 | 0; - i18 = i37 + 48 | 0; - i19 = i37 + 7062424 | 0; - i1 = 0; - while (1) { - if (i1 >>> 0 >= 3) break; - if ((_arLabeling(HEAP32[i2 >> 2] | 0, HEAP32[i3 >> 2] | 0, HEAP32[i4 >> 2] | 0, HEAP32[i37 >> 2] | 0, HEAP32[i5 >> 2] | 0, HEAP32[i31 + (i1 << 2) >> 2] | 0, HEAP32[i6 >> 2] | 0, i9, 0) | 0) < 0) { - i34 = 29; - break; - } - if ((_arDetectMarker2(HEAP32[i3 >> 2] | 0, HEAP32[i4 >> 2] | 0, i9, HEAP32[i6 >> 2] | 0, 1e6, 70, 1.0, i11, i12) | 0) < 0) { - i34 = 29; - break; - } - if ((_arGetMarkerInfo(HEAP32[i35 >> 2] | 0, HEAP32[i3 >> 2] | 0, HEAP32[i4 >> 2] | 0, HEAP32[i13 >> 2] | 0, i11, HEAP32[i12 >> 2] | 0, HEAP32[i14 >> 2] | 0, HEAP32[i6 >> 2] | 0, HEAP32[i15 >> 2] | 0, (HEAP32[i16 >> 2] | 0) + 184 | 0, +HEAPF64[i17 >> 3], i18, i38, HEAP32[i19 >> 2] | 0) | 0) < 0) { - i34 = 29; - break; - } - HEAP32[i24 + (i1 << 2) >> 2] = HEAP32[i38 >> 2]; - i1 = i1 + 1 | 0; - } - if ((i34 | 0) == 29) { - i1 = -1; - break L1; - } - if ((HEAP32[i37 >> 2] | 0) == 1) { - i19 = HEAP32[i24 + 4 >> 2] | 0; - i3 = HEAP32[i24 + 8 >> 2] | 0; - i2 = HEAP32[i24 >> 2] | 0; - HEAP32[i20 >> 2] = i22; - HEAP32[i20 + 4 >> 2] = i19; - HEAP32[i20 + 8 >> 2] = i25; - HEAP32[i20 + 12 >> 2] = i3; - HEAP32[i20 + 16 >> 2] = i21; - HEAP32[i20 + 20 >> 2] = i2; - _arLog(0, 3, 17770, i20); - } else { - i2 = HEAP32[i24 >> 2] | 0; - i3 = HEAP32[i24 + 8 >> 2] | 0; - } - i1 = HEAP32[i24 + 4 >> 2] | 0; - if ((i2 | 0) > (i3 | 0) | (i1 | 0) > (i3 | 0)) { - i2 = (i2 | 0) < (i1 | 0) ? i22 : i21; - HEAP32[i23 >> 2] = i2; - i1 = i2 - i25 | 0; - if ((i1 | 0) > 0) { - HEAP32[i26 >> 2] = i1; - i1 = 1; - } else { - HEAP32[i26 >> 2] = 1; - i1 = 0 - i1 | 0; - } - HEAP32[i28 >> 2] = i1; - if ((HEAP32[i37 >> 2] | 0) == 1) { - HEAP32[i27 >> 2] = i2; - _arLog(0, 3, 17846, i27); - HEAP32[i29 >> 2] = HEAP32[i37 + 7062392 >> 2]; - break; - } else { - HEAP32[i29 >> 2] = HEAP32[i37 + 7062392 >> 2]; - break; + confidenceCutoff($0); + $1 = 0; + $3 = 0; + while (1) { + if (($1 | 0) < HEAP32[$0 + 4818296 >> 2]) { + $8 = Math_imul($1, 264) + $0 | 0; + $2 = $8 + 4818560 | 0; + $4 = $2; + $2 = HEAP32[$2 >> 2]; + HEAP32[$4 >> 2] = $2 + 1; + if (($2 | 0) <= 2) { + if (($1 | 0) != ($3 | 0)) { + wasm2js_memory_copy((Math_imul($3, 264) + $0 | 0) + 4818304 | 0, $8 + 4818304 | 0, 264); + } + $3 = $3 + 1 | 0; } + $1 = $1 + 1 | 0; + continue; } - i1 = HEAP32[i26 >> 2] | 0; - i2 = HEAP32[i28 >> 2] | 0; - do if ((i1 | 0) >= (i2 | 0)) if ((i1 | 0) > (i2 | 0)) { - HEAP32[i28 >> 2] = i2 + 1; - break; - } else { - i1 = i1 + 1 | 0; - HEAP32[i26 >> 2] = i1; - HEAP32[i28 >> 2] = i2 + 1; - break; - } else { - i1 = i1 + 1 | 0; - HEAP32[i26 >> 2] = i1; - } while (0); - if ((i1 + i25 | 0) > 254) { - HEAP32[i26 >> 2] = 1; - i1 = 1; - } - if ((i25 | 0) <= (i1 | 0)) HEAP32[i28 >> 2] = 1; - HEAP32[i29 >> 2] = HEAP32[i37 + 7062392 >> 2]; - break L3; - } while (0); - i3 = HEAP32[i32 >> 2] | 0; - i34 = 33; - } else { - i3 = i1; - i34 = 33; - } while (0); - if ((i34 | 0) == 33) { - L47 : do switch (i3 | 0) { - case 3: - { - i2 = i37 + 7062408 | 0; - i3 = i35 + 12 | 0; - i1 = _arImageProcLumaHistAndBoxFilterWithBias(HEAP32[i2 >> 2] | 0, HEAP32[i3 >> 2] | 0, 9, -7) | 0; - if ((i1 | 0) < 0) break L1; - i1 = HEAP32[i2 >> 2] | 0; - i6 = i37 + 4834144 | 0; - i1 = _arLabeling(HEAP32[i3 >> 2] | 0, HEAP32[i1 + 4 >> 2] | 0, HEAP32[i1 + 8 >> 2] | 0, HEAP32[i37 >> 2] | 0, HEAP32[i37 + 12 >> 2] | 0, 0, 0, i6, HEAP32[i1 >> 2] | 0) | 0; - if ((i1 | 0) < 0) break L1; - i1 = i37 + 36 | 0; - i2 = i37 + 40 | 0; - i3 = i37 + 20 | 0; - break; - } - case 2: - case 1: - { - i4 = i37 + 7062396 | 0; - i1 = HEAP32[i4 >> 2] | 0; - if ((i1 | 0) > 0) { - HEAP32[i4 >> 2] = i1 + -1; - i34 = 48; - break L47; - } - i1 = HEAP32[i37 + 7062408 >> 2] | 0; - i2 = HEAP32[i35 + 12 >> 2] | 0; - if ((i3 | 0) == 1) i1 = _arImageProcLumaHistAndCDFAndMedian(i1, i2, i31) | 0; else i1 = _arImageProcLumaHistAndOtsu(i1, i2, i31) | 0; - if ((i1 | 0) < 0) break L1; - i1 = i37 + 16 | 0; - if ((HEAP32[i37 >> 2] | 0) == 1 ? (i30 = HEAPU8[i31 >> 0] | 0, (HEAP32[i1 >> 2] | 0) != (i30 | 0)) : 0) { - HEAP32[i33 >> 2] = (HEAP32[i32 >> 2] | 0) == 1 ? 17898 : 17905; - HEAP32[i33 + 4 >> 2] = i30; - _arLog(0, 3, 17910, i33); - } - HEAP32[i1 >> 2] = HEAPU8[i31 >> 0]; - HEAP32[i4 >> 2] = HEAP32[i37 + 7062392 >> 2]; - i34 = 48; - break; - } - default: - i34 = 48; - } while (0); - if ((i34 | 0) == 48) { - i1 = i37 + 36 | 0; - i2 = i37 + 40 | 0; - i3 = i37 + 20 | 0; - i6 = i37 + 4834144 | 0; - if ((_arLabeling(HEAP32[i35 + 12 >> 2] | 0, HEAP32[i1 >> 2] | 0, HEAP32[i2 >> 2] | 0, HEAP32[i37 >> 2] | 0, HEAP32[i37 + 12 >> 2] | 0, HEAP32[i37 + 16 >> 2] | 0, HEAP32[i3 >> 2] | 0, i6, 0) | 0) < 0) { - i1 = -1; - break; - } - } - i4 = i37 + 15416 | 0; - i5 = i37 + 15408 | 0; - if ((_arDetectMarker2(HEAP32[i1 >> 2] | 0, HEAP32[i2 >> 2] | 0, i6, HEAP32[i3 >> 2] | 0, 1e6, 70, 1.0, i4, i5) | 0) < 0) { - i1 = -1; - break; - } - if ((_arGetMarkerInfo(HEAP32[i35 >> 2] | 0, HEAP32[i1 >> 2] | 0, HEAP32[i2 >> 2] | 0, HEAP32[i37 + 4 >> 2] | 0, i4, HEAP32[i5 >> 2] | 0, HEAP32[i37 + 7062384 >> 2] | 0, HEAP32[i3 >> 2] | 0, HEAP32[i37 + 24 >> 2] | 0, (HEAP32[i37 + 32 >> 2] | 0) + 184 | 0, +HEAPF64[i37 + 7062416 >> 3], i37 + 48 | 0, i38, HEAP32[i37 + 7062424 >> 2] | 0) | 0) < 0) { - i1 = -1; break; } - } - i14 = i37 + 28 | 0; - if ((HEAP32[i14 >> 2] | 0) == 1) { - _confidenceCutoff(i37); - i1 = 0; - break; - } - i15 = i37 + 4818296 | 0; - i12 = HEAP32[i15 >> 2] | 0; - i13 = i37 + 24 | 0; - i11 = 0; - while (1) { - if ((i11 | 0) >= (i12 | 0)) break; - i3 = HEAP32[i38 >> 2] | 0; - i4 = i37 + 4818304 + (i11 * 264 | 0) | 0; - i5 = i37 + 4818304 + (i11 * 264 | 0) + 56 | 0; - i6 = i37 + 4818304 + (i11 * 264 | 0) + 64 | 0; - i2 = 0; - i9 = -1; - d7 = .5; + HEAP32[$0 + 4818296 >> 2] = $3; + $1 = HEAP32[$0 + 44 >> 2]; + $10 = ($1 | 0) > 0 ? $1 : 0; + $5 = 0; while (1) { - if ((i2 | 0) >= (i3 | 0)) break; - d8 = +(HEAP32[i37 + 48 + (i2 << 8) >> 2] | 0); - d10 = +(HEAP32[i4 >> 2] | 0) / d8; - if (!(d10 < .7 | d10 > 1.43) ? (d10 = +HEAPF64[i37 + 48 + (i2 << 8) + 56 >> 3] - +HEAPF64[i5 >> 3], d36 = +HEAPF64[i37 + 48 + (i2 << 8) + 64 >> 3] - +HEAPF64[i6 >> 3], d36 = (d10 * d10 + d36 * d36) / d8, d36 < d7) : 0) { - i1 = i2; - d7 = d36; - } else i1 = i9; - i2 = i2 + 1 | 0; - i9 = i1; - } - L85 : do if ((i9 | 0) > -1) { - i6 = HEAP32[i13 >> 2] | 0; - switch (i6 | 0) { - case 2: - case 1: - case 0: - break; - case 4: - case 3: - { - i2 = i37 + 48 + (i9 << 8) + 40 | 0; - d8 = +HEAPF64[i37 + 4818304 + (i11 * 264 | 0) + 40 >> 3]; - if (!(+HEAPF64[i2 >> 3] < d8)) { - i1 = i37 + 48 + (i9 << 8) + 48 | 0; - d7 = +HEAPF64[i37 + 4818304 + (i11 * 264 | 0) + 48 >> 3]; - if (!(+HEAPF64[i1 >> 3] < d7)) break L85; - } else { - i1 = i37 + 48 + (i9 << 8) + 48 | 0; - d7 = +HEAPF64[i37 + 4818304 + (i11 * 264 | 0) + 48 >> 3]; - } - HEAPF64[i2 >> 3] = d8; - HEAP32[i37 + 48 + (i9 << 8) + 8 >> 2] = HEAP32[i37 + 4818304 + (i11 * 264 | 0) + 8 >> 2]; - HEAPF64[i1 >> 3] = d7; - HEAP32[i37 + 48 + (i9 << 8) + 12 >> 2] = HEAP32[i37 + 4818304 + (i11 * 264 | 0) + 12 >> 2]; - i2 = 0; - i3 = -1; - d8 = 1.0e8; + label$55: { + label$56: { + if (($5 | 0) == ($10 | 0)) { + break label$56; + } + $1 = ($5 << 8) + $0 | 0; + $8 = HEAP32[$1 + 52 >> 2]; + if (($8 | 0) < 0) { + break label$55; + } + $4 = $1 + 48 | 0; + $1 = 0; + $2 = ($3 | 0) > 0 ? $3 : 0; while (1) { - if ((i2 | 0) == 4) break; - i1 = 0; - d7 = 0.0; - while (1) { - if ((i1 | 0) == 4) break; - i35 = i1 + i2 & 3; - d40 = +HEAPF64[i37 + 4818304 + (i11 * 264 | 0) + 168 + (i1 << 4) >> 3] - +HEAPF64[i37 + 48 + (i9 << 8) + 168 + (i35 << 4) >> 3]; - d10 = +HEAPF64[i37 + 4818304 + (i11 * 264 | 0) + 168 + (i1 << 4) + 8 >> 3] - +HEAPF64[i37 + 48 + (i9 << 8) + 168 + (i35 << 4) + 8 >> 3]; - i1 = i1 + 1 | 0; - d7 = d7 + (d40 * d40 + d10 * d10); - } - i35 = d7 < d8; - i34 = i35 ? i2 : i3; - i2 = i2 + 1 | 0; - i3 = i34; - d8 = i35 ? d7 : d8; - } - i35 = 4 - i3 | 0; - HEAP32[i37 + 48 + (i9 << 8) + 20 >> 2] = (i35 + (HEAP32[i37 + 4818304 + (i11 * 264 | 0) + 20 >> 2] | 0) | 0) % 4 | 0; - HEAP32[i37 + 48 + (i9 << 8) + 24 >> 2] = (i35 + (HEAP32[i37 + 4818304 + (i11 * 264 | 0) + 24 >> 2] | 0) | 0) % 4 | 0; - break L85; + label$58: { + if (($1 | 0) != ($2 | 0)) { + if (HEAP32[(Math_imul($1, 264) + $0 | 0) + 4818308 >> 2] != ($8 | 0)) { + break label$58; + } + $2 = $1; + } + if (($2 | 0) == ($3 | 0)) { + if (($3 | 0) == 60) { + break label$56; + } + $3 = $3 + 1 | 0; + HEAP32[$0 + 4818296 >> 2] = $3; + } + $1 = Math_imul($2, 264) + $0 | 0; + wasm2js_memory_copy($1 + 4818304 | 0, $4, 256); + HEAP32[$1 + 4818560 >> 2] = 1; + break label$55; + } + $1 = $1 + 1 | 0; + continue; + } } - default: - { - i1 = -1; - break L1; - } - } - i1 = i37 + 48 + (i9 << 8) + 32 | 0; - d10 = +HEAPF64[i37 + 4818304 + (i11 * 264 | 0) + 32 >> 3]; - if (+HEAPF64[i1 >> 3] < d10) { - HEAPF64[i1 >> 3] = d10; - i4 = HEAP32[i37 + 4818304 + (i11 * 264 | 0) + 4 >> 2] | 0; - HEAP32[i37 + 48 + (i9 << 8) + 4 >> 2] = i4; - i5 = i37 + 4818304 + (i11 * 264 | 0) + 16 | 0; - i2 = -1; - d7 = 1.0e8; - i3 = 0; - while (1) { - if ((i3 | 0) == 4) break; - i1 = 0; - d8 = 0.0; + $4 = 0; + if (HEAP32[$0 + 28 >> 2] == 2) { + break label$1; + } + $10 = 0; + label$61: while (1) { + if (($3 | 0) <= ($10 | 0)) { + break label$1; + } + $1 = 0; + $11 = HEAP32[$0 + 44 >> 2]; + $5 = ($11 | 0) > 0 ? $11 : 0; + $2 = (Math_imul($10, 264) + $0 | 0) + 4818304 | 0; while (1) { - if ((i1 | 0) == 4) break; - i35 = i1 + i3 & 3; - d41 = +HEAPF64[i37 + 4818304 + (i11 * 264 | 0) + 168 + (i1 << 4) >> 3] - +HEAPF64[i37 + 48 + (i9 << 8) + 168 + (i35 << 4) >> 3]; - d40 = +HEAPF64[i37 + 4818304 + (i11 * 264 | 0) + 168 + (i1 << 4) + 8 >> 3] - +HEAPF64[i37 + 48 + (i9 << 8) + 168 + (i35 << 4) + 8 >> 3]; - i1 = i1 + 1 | 0; - d8 = d8 + (d41 * d41 + d40 * d40); - } - if (d8 < d7) { - i1 = (4 - i3 + (HEAP32[i5 >> 2] | 0) | 0) % 4 | 0; - d7 = d8; - } else i1 = i2; - i2 = i1; - i3 = i3 + 1 | 0; - } - HEAP32[i37 + 48 + (i9 << 8) + 16 >> 2] = i2; - if (i6 >>> 0 < 2) { - HEAP32[i37 + 48 + (i9 << 8) + 8 >> 2] = i4; - HEAPF64[i37 + 48 + (i9 << 8) + 40 >> 3] = d10; - HEAP32[i37 + 48 + (i9 << 8) + 20 >> 2] = i2; - break; - } else { - HEAP32[i37 + 48 + (i9 << 8) + 12 >> 2] = i4; - HEAPF64[i37 + 48 + (i9 << 8) + 48 >> 3] = d10; - HEAP32[i37 + 48 + (i9 << 8) + 24 >> 2] = i2; - break; + label$63: { + if (($1 | 0) != ($5 | 0)) { + $8 = ($1 << 8) + $0 | 0; + $9 = +HEAP32[$8 + 48 >> 2]; + $6 = +HEAP32[$2 >> 2] / $9; + if ($6 < .7 | $6 > 1.43) { + break label$63; + } + $6 = HEAPF64[$8 + 104 >> 3] - HEAPF64[$2 + 56 >> 3]; + $12 = $6 * $6; + $6 = HEAPF64[$8 + 112 >> 3] - HEAPF64[$2 + 64 >> 3]; + if (!(($12 + $6 * $6) / $9 < .5)) { + break label$63; + } + $5 = $1; + } + if (($5 | 0) == ($11 | 0)) { + wasm2js_memory_copy((($11 << 8) + $0 | 0) + 48 | 0, $2, 256); + HEAP32[$0 + 44 >> 2] = HEAP32[$0 + 44 >> 2] + 1; + $3 = HEAP32[$0 + 4818296 >> 2]; + } + $10 = $10 + 1 | 0; + continue label$61; + } + $1 = $1 + 1 | 0; + continue; + } } } - } while (0); - i11 = i11 + 1 | 0; + $5 = $5 + 1 | 0; + continue; + } } - _confidenceCutoff(i37); - i2 = 0; - i1 = 0; - while (1) { - if ((i2 | 0) >= (HEAP32[i15 >> 2] | 0)) break; - i34 = i37 + 4818304 + (i2 * 264 | 0) + 256 | 0; - i35 = HEAP32[i34 >> 2] | 0; - HEAP32[i34 >> 2] = i35 + 1; - if ((i35 | 0) < 3) { - if ((i2 | 0) != (i1 | 0)) _memcpy(i37 + 4818304 + (i1 * 264 | 0) | 0, i37 + 4818304 + (i2 * 264 | 0) | 0, 264) | 0; - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - HEAP32[i15 >> 2] = i1; - i2 = HEAP32[i38 >> 2] | 0; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i2 | 0)) break; - i5 = i37 + 48 + (i6 << 8) | 0; - i3 = HEAP32[i37 + 48 + (i6 << 8) + 4 >> 2] | 0; - if ((i3 | 0) >= 0) { - i4 = 0; - while (1) { - if ((i4 | 0) >= (i1 | 0)) break; - if ((HEAP32[i37 + 4818304 + (i4 * 264 | 0) + 4 >> 2] | 0) == (i3 | 0)) break; - i4 = i4 + 1 | 0; - } - if ((i4 | 0) == (i1 | 0)) { - if ((i1 | 0) == 60) break; - i1 = i1 + 1 | 0; - HEAP32[i15 >> 2] = i1; + confidenceCutoff($0); + $4 = 0; + } + __stack_pointer = $7 + 80 | 0; + return $4; +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_2c_20char_29_20const($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 $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $7 = __stack_pointer - 32 | 0; + __stack_pointer = $7; + HEAP32[$7 + 24 >> 2] = $1; + HEAP32[$4 >> 2] = 0; + std____2__ios_base__getloc_28_29_20const($7 + 8 | 0, $3); + $8 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($7 + 8 | 0); + std____2__locale___locale_28_29($7 + 8 | 0); + label$1: { + label$2: { + label$3: { + label$4: { + switch ($6 - 65 | 0) { + case 0: + case 32: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_weekdayname_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 24 | 0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 1: + case 33: + case 39: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_monthname_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 16 | 0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 34: + $6 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 8 >> 2] + 12 >> 2]]($0 + 8 | 0) | 0; + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_20const__2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($6), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($6) + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6) | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + break label$2; + + case 35: + case 36: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_day_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 12 | 0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 3: + HEAP32[$7 + 8 >> 2] = 623865125; + HEAP32[$7 + 12 >> 2] = 2032480100; + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_20const__2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $7 + 8 | 0, $7 + 16 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + break label$2; + + case 5: + HEAP32[$7 + 8 >> 2] = 623728933; + HEAP32[$7 + 12 >> 2] = 1680158061; + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_20const__2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $7 + 8 | 0, $7 + 16 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + break label$2; + + case 7: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_hour_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 8 | 0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 8: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_12_hour_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 8 | 0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 41: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_day_year_num_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 28 | 0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 44: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_month_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 16 | 0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 12: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_minute_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 4 | 0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 45: + case 51: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_white_space_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 47: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_am_pm_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 8 | 0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 49: + $6 = HEAPU8[57800] | HEAPU8[57801] << 8 | (HEAPU8[57802] << 16 | HEAPU8[57803] << 24); + HEAP8[$7 + 15 | 0] = $6; + HEAP8[$7 + 16 | 0] = $6 >>> 8; + HEAP8[$7 + 17 | 0] = $6 >>> 16; + HEAP8[$7 + 18 | 0] = $6 >>> 24; + $6 = HEAPU8[57797] | HEAPU8[57798] << 8 | (HEAPU8[57799] << 16 | HEAPU8[57800] << 24); + HEAP32[$7 + 8 >> 2] = HEAPU8[57793] | HEAPU8[57794] << 8 | (HEAPU8[57795] << 16 | HEAPU8[57796] << 24); + HEAP32[$7 + 12 >> 2] = $6; + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_20const__2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $7 + 8 | 0, $7 + 19 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + break label$2; + + case 17: + HEAP8[$7 + 12 | 0] = HEAPU8[57808]; + HEAP32[$7 + 8 >> 2] = HEAPU8[57804] | HEAPU8[57805] << 8 | (HEAPU8[57806] << 16 | HEAPU8[57807] << 24); + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_20const__2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $7 + 8 | 0, $7 + 13 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + break label$2; + + case 18: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_second_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 19: + HEAP32[$7 + 8 >> 2] = 624576549; + HEAP32[$7 + 12 >> 2] = 1394948685; + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_20const__2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $7 + 8 | 0, $7 + 16 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + break label$2; + + case 54: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_weekday_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 24 | 0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 55: + $4 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1, $2, $3, $4, $5) | 0; + break label$1; + + case 23: + $6 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 8 >> 2] + 24 >> 2]]($0 + 8 | 0) | 0; + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_20const__2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($6), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($6) + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6) | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + break label$2; + + case 56: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_year_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 20 | 0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + case 24: + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_year4_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 20 | 0, $7 + 24 | 0, $2, $4, $8); + break label$2; + + default: + if (($6 | 0) == 37) { + break label$3; + } + break; + + case 2: + case 4: + case 6: + case 9: + case 10: + case 11: + case 13: + case 14: + case 15: + case 16: + case 20: + case 21: + case 22: + case 25: + case 26: + case 27: + case 28: + case 29: + case 30: + case 31: + case 37: + case 38: + case 40: + case 42: + case 43: + case 46: + case 48: + case 50: + case 52: + case 53: + break label$4; + } + } + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 4; + break label$2; + } + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_percent_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $7 + 24 | 0, $2, $4, $8); + } + $4 = HEAP32[$7 + 24 >> 2]; + } + __stack_pointer = $7 + 32 | 0; + return $4 | 0; +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________swap_out_circular_buffer_28std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________29($0, $1) { + var $2 = 0; + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________value_20___20is_move_assignable_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________value_2c_20void___type_20std____2__swap_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, $2); + std____2__enable_if_is_move_constructible_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________value_20___20is_move_assignable_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________value_2c_20void___type_20std____2__swap_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________value_20___20is_move_assignable_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________value_2c_20void___type_20std____2__swap_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________end_cap_28_29($0), std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________annotate_new_28unsigned_20long_29_20const($0, std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________size_28_29_20const($0)); + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________invalidate_all_iterators_28_29($0); +} + +function vision__ComputeSubpixelHessianCoarseOctavePair_28float__2c_20float__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = Math_fround(0), $9 = Math_fround(0), $10 = Math_fround(0), $11 = 0, $12 = Math_fround(0), $13 = Math_fround(0), $14 = Math_fround(0), $15 = 0, $16 = 0, $17 = 0, $18 = Math_fround(0), $19 = Math_fround(0), $20 = Math_fround(0), $21 = Math_fround(0), $22 = Math_fround(0), $23 = Math_fround(0); + $7 = __stack_pointer - 32 | 0; + __stack_pointer = $7; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + if (($5 | 0) <= 0) { + break label$7; + } + if (vision__Image__width_28_29_20const($3) >>> 0 <= $5 + 1 >>> 0) { + break label$7; + } + if (($6 | 0) <= 0) { + break label$6; + } + $11 = $6 + 1 | 0; + if (vision__Image__height_28_29_20const($3) >>> 0 <= $11 >>> 0) { + break label$6; + } + if ((vision__Image__width_28_29_20const($2) >>> 1 | 0) != (vision__Image__width_28_29_20const($3) | 0)) { + break label$5; + } + if ((vision__Image__width_28_29_20const($2) >>> 1 | 0) != (vision__Image__width_28_29_20const($4) | 0)) { + break label$4; + } + if ((vision__Image__height_28_29_20const($2) >>> 1 | 0) != (vision__Image__height_28_29_20const($3) | 0)) { + break label$3; + } + if ((vision__Image__height_28_29_20const($2) >>> 1 | 0) != (vision__Image__height_28_29_20const($4) | 0)) { + break label$2; + } + $15 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($3, $6); + $16 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($4, $6 - 1 | 0); + $17 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($4, $6); + $4 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($4, $11); + vision__bilinear_upsample_point_28float__2c_20float__2c_20float_2c_20float_2c_20int_29($7 + 28 | 0, $7 + 24 | 0, Math_fround($5 | 0), Math_fround($6 | 0), 1); + vision__ComputeSubpixelDerivatives_28float__2c_20float__2c_20float__2c_20float__2c_20float__2c_20vision__Image_20const__2c_20int_2c_20int_29($7 + 20 | 0, $7 + 16 | 0, $7 + 12 | 0, $7 + 8 | 0, $7 + 4 | 0, $3, $5, $6); + $12 = float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($2, HEAPF32[$7 + 28 >> 2], HEAPF32[$7 + 24 >> 2]); + $6 = $5 << 2; + $3 = $17 + $6 | 0; + $13 = HEAPF32[$3 >> 2]; + $8 = HEAPF32[$6 + $15 >> 2]; + $9 = float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($2, Math_fround(HEAPF32[$7 + 28 >> 2] + Math_fround(-2)), HEAPF32[$7 + 24 >> 2]); + $10 = HEAPF32[$3 + 4 >> 2]; + $18 = float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($2, Math_fround(HEAPF32[$7 + 28 >> 2] + Math_fround(2)), HEAPF32[$7 + 24 >> 2]); + $19 = HEAPF32[$3 - 4 >> 2]; + $20 = float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($2, HEAPF32[$7 + 28 >> 2], Math_fround(HEAPF32[$7 + 24 >> 2] + Math_fround(-2))); + $21 = HEAPF32[$4 + $6 >> 2]; + $22 = float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($2, HEAPF32[$7 + 28 >> 2], Math_fround(HEAPF32[$7 + 24 >> 2] + Math_fround(2))); + $23 = HEAPF32[$6 + $16 >> 2]; + HEAPF32[$0 >> 2] = HEAPF32[$7 + 12 >> 2]; + $14 = HEAPF32[$7 + 4 >> 2]; + HEAPF32[$0 + 12 >> 2] = $14; + $9 = Math_fround(Math_fround(Math_fround($9 + $10) - Math_fround($18 + $19)) * Math_fround(.25)); + HEAPF32[$0 + 8 >> 2] = $9; + HEAPF32[$0 + 4 >> 2] = $14; + $10 = HEAPF32[$7 + 8 >> 2]; + HEAPF32[$0 + 32 >> 2] = $13 + Math_fround($12 - Math_fround($8 + $8)); + $8 = Math_fround(Math_fround(Math_fround($20 + $21) - Math_fround($22 + $23)) * Math_fround(.25)); + HEAPF32[$0 + 28 >> 2] = $8; + HEAPF32[$0 + 24 >> 2] = $9; + HEAPF32[$0 + 20 >> 2] = $8; + HEAPF32[$0 + 16 >> 2] = $10; + HEAPF32[$1 >> 2] = -HEAPF32[$7 + 20 >> 2]; + $8 = HEAPF32[$7 + 16 >> 2]; + HEAPF32[$1 + 8 >> 2] = Math_fround($13 - $12) * Math_fround(-.5); + HEAPF32[$1 + 4 >> 2] = -$8; + __stack_pointer = $7 + 32 | 0; + return; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23505), 22456), 3289), 359), 3786), 23563), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23684), 22456), 3289), 360), 3786), 23743), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25237), 22456), 3289), 361), 3786), 23884), 16); + break label$1; } - _memcpy(i37 + 4818304 + (i4 * 264 | 0) | 0, i5 | 0, 256) | 0; - HEAP32[i37 + 4818304 + (i4 * 264 | 0) + 256 >> 2] = 1; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24411), 22456), 3289), 362), 3786), 23884), 16); + break label$1; } - i6 = i6 + 1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25356), 22456), 3289), 363), 3786), 23884), 16); + break label$1; } - if ((HEAP32[i14 >> 2] | 0) == 2) i1 = 0; else { - i9 = 0; - while (1) { - if ((i9 | 0) >= (i1 | 0)) { - i1 = 0; - break L1; - } - i4 = i37 + 4818304 + (i9 * 264 | 0) | 0; - i5 = i37 + 4818304 + (i9 * 264 | 0) + 56 | 0; - i6 = i37 + 4818304 + (i9 * 264 | 0) + 64 | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i2 | 0)) break; - d7 = +(HEAP32[i37 + 48 + (i3 << 8) >> 2] | 0); - d41 = +(HEAP32[i4 >> 2] | 0) / d7; - if (!(d41 < .7 | d41 > 1.43) ? (d40 = +HEAPF64[i37 + 48 + (i3 << 8) + 56 >> 3] - +HEAPF64[i5 >> 3], d41 = +HEAPF64[i37 + 48 + (i3 << 8) + 64 >> 3] - +HEAPF64[i6 >> 3], (d40 * d40 + d41 * d41) / d7 < .5) : 0) break; - i3 = i3 + 1 | 0; - } - if ((i3 | 0) == (i2 | 0)) { - _memcpy(i37 + 48 + (i2 << 8) | 0, i37 + 4818304 + (i9 * 264 | 0) | 0, 256) | 0; - i2 = i2 + 1 | 0; - HEAP32[i38 >> 2] = i2; - i1 = HEAP32[i15 >> 2] | 0; - } - i9 = i9 + 1 | 0; - } - } - } else i1 = -1; while (0); - STACKTOP = i39; - return i1 | 0; -} - -function __ZN6vision20SamplePyramidFREAK84EPfPKNS_25GaussianScaleSpacePyramidERKNS_12FeaturePointEPKfS8_S8_S8_S8_S8_ffffffff(i1, i2, i10, i11, i12, i13, i14, i15, i16, d17, d3, d4, d5, d6, d7, d8, d9) { - i1 = i1 | 0; - i2 = i2 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - d17 = +d17; - d3 = +d3; - d4 = +d4; - d5 = +d5; - d6 = +d6; - d7 = +d7; - d8 = +d8; - d9 = +d9; - var i18 = 0, i19 = 0, i20 = 0, d21 = 0.0, d22 = 0.0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0; - i18 = STACKTOP; - STACKTOP = STACKTOP + 336 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(336); - i53 = i18 + 288 | 0; - i23 = i18 + 240 | 0; - i28 = i18 + 192 | 0; - i33 = i18 + 144 | 0; - i38 = i18 + 96 | 0; - i43 = i18 + 48 | 0; - i48 = i18; - i20 = i18 + 328 | 0; - i19 = i18 + 324 | 0; - d22 = +HEAPF32[i10 + 12 >> 2] * d9; - d22 = d22 < 1.0 ? 1.0 : d22; - __ZN6vision10SimilarityIfEEvPT_S1_S1_S1_S1_(i53, +HEAPF32[i10 >> 2], +HEAPF32[i10 + 4 >> 2], +HEAPF32[i10 + 8 >> 2], d22); - d21 = +HEAPF32[i53 + 8 >> 2]; - d9 = +HEAPF32[i53 + 20 >> 2]; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i23, i53, i11); - i27 = i23 + 8 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i27, i53, i11 + 8 | 0); - i26 = i23 + 16 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i26, i53, i11 + 16 | 0); - i25 = i23 + 24 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i25, i53, i11 + 24 | 0); - i24 = i23 + 32 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i24, i53, i11 + 32 | 0); - i10 = i23 + 40 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i10, i53, i11 + 40 | 0); - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i28, i53, i12); - i32 = i28 + 8 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i32, i53, i12 + 8 | 0); - i31 = i28 + 16 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i31, i53, i12 + 16 | 0); - i30 = i28 + 24 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i30, i53, i12 + 24 | 0); - i29 = i28 + 32 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i29, i53, i12 + 32 | 0); - i11 = i28 + 40 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i11, i53, i12 + 40 | 0); - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i33, i53, i13); - i37 = i33 + 8 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i37, i53, i13 + 8 | 0); - i36 = i33 + 16 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i36, i53, i13 + 16 | 0); - i35 = i33 + 24 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i35, i53, i13 + 24 | 0); - i34 = i33 + 32 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i34, i53, i13 + 32 | 0); - i12 = i33 + 40 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i12, i53, i13 + 40 | 0); - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i38, i53, i14); - i42 = i38 + 8 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i42, i53, i14 + 8 | 0); - i41 = i38 + 16 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i41, i53, i14 + 16 | 0); - i40 = i38 + 24 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i40, i53, i14 + 24 | 0); - i39 = i38 + 32 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i39, i53, i14 + 32 | 0); - i13 = i38 + 40 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i13, i53, i14 + 40 | 0); - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i43, i53, i15); - i47 = i43 + 8 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i47, i53, i15 + 8 | 0); - i46 = i43 + 16 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i46, i53, i15 + 16 | 0); - i45 = i43 + 24 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i45, i53, i15 + 24 | 0); - i44 = i43 + 32 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i44, i53, i15 + 32 | 0); - i14 = i43 + 40 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i14, i53, i15 + 40 | 0); - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i48, i53, i16); - i52 = i48 + 8 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i52, i53, i16 + 8 | 0); - i51 = i48 + 16 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i51, i53, i16 + 16 | 0); - i50 = i48 + 24 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i50, i53, i16 + 24 | 0); - i49 = i48 + 32 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i49, i53, i16 + 32 | 0); - i15 = i48 + 40 | 0; - __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i15, i53, i16 + 40 | 0); - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f(i2, i20, i19, d22 * d8); - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i48 >> 2], +HEAPF32[i48 + 4 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i52 >> 2], +HEAPF32[i48 + 12 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 4 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i51 >> 2], +HEAPF32[i48 + 20 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 8 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i50 >> 2], +HEAPF32[i48 + 28 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 12 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i49 >> 2], +HEAPF32[i48 + 36 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 16 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i15 >> 2], +HEAPF32[i48 + 44 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 20 >> 2] = d8; - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f(i2, i20, i19, d22 * d7); - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i43 >> 2], +HEAPF32[i43 + 4 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 24 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i47 >> 2], +HEAPF32[i43 + 12 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 28 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i46 >> 2], +HEAPF32[i43 + 20 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 32 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i45 >> 2], +HEAPF32[i43 + 28 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 36 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i44 >> 2], +HEAPF32[i43 + 36 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 40 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i14 >> 2], +HEAPF32[i43 + 44 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 44 >> 2] = d8; - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f(i2, i20, i19, d22 * d6); - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i38 >> 2], +HEAPF32[i38 + 4 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 48 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i42 >> 2], +HEAPF32[i38 + 12 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 52 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i41 >> 2], +HEAPF32[i38 + 20 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 56 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i40 >> 2], +HEAPF32[i38 + 28 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 60 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i39 >> 2], +HEAPF32[i38 + 36 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 64 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i13 >> 2], +HEAPF32[i38 + 44 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 68 >> 2] = d8; - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f(i2, i20, i19, d22 * d5); - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i33 >> 2], +HEAPF32[i33 + 4 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 72 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i37 >> 2], +HEAPF32[i33 + 12 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 76 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i36 >> 2], +HEAPF32[i33 + 20 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 80 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i35 >> 2], +HEAPF32[i33 + 28 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 84 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i34 >> 2], +HEAPF32[i33 + 36 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 88 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i12 >> 2], +HEAPF32[i33 + 44 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 92 >> 2] = d8; - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f(i2, i20, i19, d22 * d4); - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i28 >> 2], +HEAPF32[i28 + 4 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 96 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i32 >> 2], +HEAPF32[i28 + 12 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 100 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i31 >> 2], +HEAPF32[i28 + 20 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 104 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i30 >> 2], +HEAPF32[i28 + 28 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 108 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i29 >> 2], +HEAPF32[i28 + 36 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 112 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i11 >> 2], +HEAPF32[i28 + 44 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 116 >> 2] = d8; - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f(i2, i20, i19, d22 * d3); - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i23 >> 2], +HEAPF32[i23 + 4 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 120 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i27 >> 2], +HEAPF32[i23 + 12 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 124 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i26 >> 2], +HEAPF32[i23 + 20 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 128 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i25 >> 2], +HEAPF32[i23 + 28 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 132 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i24 >> 2], +HEAPF32[i23 + 36 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 136 >> 2] = d8; - d8 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, +HEAPF32[i10 >> 2], +HEAPF32[i23 + 44 >> 2], HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 140 >> 2] = d8; - __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f(i2, i20, i19, d22 * d17); - d17 = +__ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i2, d21, d9, HEAP32[i20 >> 2] | 0, HEAP32[i19 >> 2] | 0); - HEAPF32[i1 + 144 >> 2] = d17; - STACKTOP = i18; - return 1; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24516), 22456), 3289), 364), 3786), 23884), 16); + } + abort(); + abort(); } -function __ZN6vision36ComputeSubpixelHessianFineOctavePairEPfS0_RKNS_5ImageES3_S3_ii(i7, i8, i2, i14, i15, i16, i17) { - i7 = i7 | 0; - i8 = i8 | 0; - i2 = i2 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - i17 = i17 | 0; - var i1 = 0, d3 = 0.0, i4 = 0, i5 = 0, i6 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i18 = i21 + 28 | 0; - i19 = i21 + 24 | 0; - i20 = i21 + 20 | 0; - i9 = i21 + 16 | 0; - i10 = i21 + 12 | 0; - i11 = i21 + 8 | 0; - i12 = i21 + 4 | 0; - i13 = i21; - if ((i16 | 0) > 0 ? (i16 + 1 | 0) >>> 0 < (__ZNK6vision5Image5widthEv(i14) | 0) >>> 0 : 0) { - i1 = i17 + -1 | 0; - if ((i17 | 0) > 0 ? (i4 = i17 + 1 | 0, i4 >>> 0 < (__ZNK6vision5Image6heightEv(i14) | 0) >>> 0) : 0) { - i6 = __ZNK6vision5Image5widthEv(i2) | 0; - if ((i6 | 0) != (__ZNK6vision5Image5widthEv(i14) | 0)) { - i6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24134) | 0, 22444) | 0, 33528) | 0, 415) | 0, 33535) | 0, 23030) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i6 + (HEAP32[(HEAP32[i6 >> 2] | 0) + -12 >> 2] | 0) | 0); - i5 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 28 >> 2] & 63](i5, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i6, i5) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i6) | 0; - _abort(); - } - i6 = (__ZNK6vision5Image5widthEv(i2) | 0) >>> 1; - if ((i6 | 0) != (__ZNK6vision5Image5widthEv(i15) | 0)) { - i6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23060) | 0, 22444) | 0, 33528) | 0, 416) | 0, 33535) | 0, 23030) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i6 + (HEAP32[(HEAP32[i6 >> 2] | 0) + -12 >> 2] | 0) | 0); - i5 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 28 >> 2] & 63](i5, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i6, i5) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i6) | 0; - _abort(); - } - i6 = __ZNK6vision5Image6heightEv(i2) | 0; - if ((i6 | 0) != (__ZNK6vision5Image6heightEv(i14) | 0)) { - i6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24186) | 0, 22444) | 0, 33528) | 0, 417) | 0, 33535) | 0, 23030) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i6 + (HEAP32[(HEAP32[i6 >> 2] | 0) + -12 >> 2] | 0) | 0); - i5 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 28 >> 2] & 63](i5, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i6, i5) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i6) | 0; - _abort(); - } - i6 = (__ZNK6vision5Image6heightEv(i2) | 0) >>> 1; - if ((i6 | 0) != (__ZNK6vision5Image6heightEv(i15) | 0)) { - i6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23176) | 0, 22444) | 0, 33528) | 0, 418) | 0, 33535) | 0, 23030) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i6 + (HEAP32[(HEAP32[i6 >> 2] | 0) + -12 >> 2] | 0) | 0); - i5 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 28 >> 2] & 63](i5, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i6, i5) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i6) | 0; - _abort(); - } - i5 = (__ZNK6vision5Image3getIfEEPKT_m(i2, i1) | 0) + (i16 << 2) | 0; - i6 = (__ZNK6vision5Image3getIfEEPKT_m(i2, i17) | 0) + (i16 << 2) | 0; - i1 = (__ZNK6vision5Image3getIfEEPKT_m(i2, i4) | 0) + (i16 << 2) | 0; - i2 = (__ZNK6vision5Image3getIfEEPKT_m(i14, i17) | 0) + (i16 << 2) | 0; - __ZN6vision25bilinear_downsample_pointERfS0_ffi(i19, i20, +(i16 | 0), +(i17 | 0), 1); - d3 = +HEAPF32[i19 >> 2]; - if (!(d3 + -.5 >= 0.0)) { - i4 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24240) | 0, 22444) | 0, 33528) | 0, 428) | 0, 33535) | 0, 24281) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i4 + (HEAP32[(HEAP32[i4 >> 2] | 0) + -12 >> 2] | 0) | 0); - i22 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i22 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i22 >> 2] | 0) + 28 >> 2] & 63](i22, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i4, i22) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i4) | 0; - _abort(); - } - if (!(+HEAPF32[i20 >> 2] + -.5 >= 0.0)) { - i22 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24335) | 0, 22444) | 0, 33528) | 0, 429) | 0, 33535) | 0, 24376) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i22 + (HEAP32[(HEAP32[i22 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i22, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i22) | 0; - _abort(); - } - if (!(d3 + .5 < +((__ZNK6vision5Image5widthEv(i15) | 0) >>> 0))) { - i22 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24430) | 0, 22444) | 0, 33528) | 0, 430) | 0, 33535) | 0, 24281) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i22 + (HEAP32[(HEAP32[i22 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i22, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i22) | 0; - _abort(); - } - d3 = +HEAPF32[i20 >> 2] + .5; - if (d3 < +((__ZNK6vision5Image6heightEv(i15) | 0) >>> 0)) { - __ZN6vision26ComputeSubpixelDerivativesERfS0_S0_S0_S0_RKNS_5ImageEii(i9, i10, i11, i12, i13, i14, i16, i17); - d23 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i15, +HEAPF32[i19 >> 2], +HEAPF32[i20 >> 2]); - d3 = +HEAPF32[i6 >> 2]; - d24 = d23 + (d3 - +HEAPF32[i2 >> 2] * 2.0); - d27 = +HEAPF32[i6 + -4 >> 2]; - d27 = d27 + +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i15, +HEAPF32[i19 >> 2] + .5, +HEAPF32[i20 >> 2]); - d26 = +HEAPF32[i6 + 4 >> 2]; - d26 = (d27 - (d26 + +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i15, +HEAPF32[i19 >> 2] + -.5, +HEAPF32[i20 >> 2]))) * .25; - d27 = +HEAPF32[i5 >> 2]; - d27 = d27 + +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i15, +HEAPF32[i19 >> 2], +HEAPF32[i20 >> 2] + .5); - d25 = +HEAPF32[i1 >> 2]; - d25 = (d27 - (d25 + +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i15, +HEAPF32[i19 >> 2], +HEAPF32[i20 >> 2] + -.5))) * .25; - HEAP32[i7 >> 2] = HEAP32[i11 >> 2]; - i22 = HEAP32[i13 >> 2] | 0; - HEAP32[i7 + 4 >> 2] = i22; - HEAPF32[i7 + 8 >> 2] = d26; - HEAP32[i7 + 12 >> 2] = i22; - HEAP32[i7 + 16 >> 2] = HEAP32[i12 >> 2]; - HEAPF32[i7 + 20 >> 2] = d25; - HEAPF32[i7 + 24 >> 2] = d26; - HEAPF32[i7 + 28 >> 2] = d25; - HEAPF32[i7 + 32 >> 2] = d24; - HEAPF32[i8 >> 2] = -+HEAPF32[i9 >> 2]; - HEAPF32[i8 + 4 >> 2] = -+HEAPF32[i10 >> 2]; - HEAPF32[i8 + 8 >> 2] = -((d23 - d3) * .5); - STACKTOP = i21; - return; - } else { - i22 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24481) | 0, 22444) | 0, 33528) | 0, 431) | 0, 33535) | 0, 24376) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i22 + (HEAP32[(HEAP32[i22 >> 2] | 0) + -12 >> 2] | 0) | 0); - i21 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i21 >> 2] | 0) + 28 >> 2] & 63](i21, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i22, i21) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i22) | 0; - _abort(); - } - } - i22 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22898) | 0, 22444) | 0, 33528) | 0, 414) | 0, 33535) | 0, 22957) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i22 + (HEAP32[(HEAP32[i22 >> 2] | 0) + -12 >> 2] | 0) | 0); - i21 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i21 >> 2] | 0) + 28 >> 2] & 63](i21, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i22, i21) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i22) | 0; - _abort(); - } - i22 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22824) | 0, 22444) | 0, 33528) | 0, 413) | 0, 33535) | 0, 22882) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i22 + (HEAP32[(HEAP32[i22 >> 2] | 0) + -12 >> 2] | 0) | 0); - i21 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i21 >> 2] | 0) + 28 >> 2] & 63](i21, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i22, i21) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i22) | 0; - _abort(); -} - -function __ZN10__cxxabiv112_GLOBAL__N_114parse_encodingINS0_2DbEEEPKcS4_S4_RT_(i21, i1, i15) { - i21 = i21 | 0; - i1 = i1 | 0; - i15 = i15 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, i23 = 0, i24 = 0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i13 = i24 + 48 | 0; - i22 = i24 + 40 | 0; - i23 = i24 + 32 | 0; - i19 = i24 + 24 | 0; - i20 = i24 + 12 | 0; - i14 = i24; - if ((i21 | 0) != (i1 | 0)) { - i18 = i15 + 56 | 0; - __ZN10__cxxabiv112_GLOBAL__N_110save_valueIjEC2ERj(i22, i18); - HEAP32[i18 >> 2] = (HEAP32[i18 >> 2] | 0) + 1; - i2 = i15 + 61 | 0; - __ZN10__cxxabiv112_GLOBAL__N_110save_valueIbEC2ERb(i23, i2); - if ((HEAP32[i18 >> 2] | 0) >>> 0 > 1) HEAP8[i2 >> 0] = 1; - L6 : do switch (HEAP8[i21 >> 0] | 0) { - case 84: - case 71: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_118parse_special_nameINS0_2DbEEEPKcS4_S4_RT_(i21, i1, i15) | 0; - i2 = 1; - break; - } - default: - { - i8 = __ZN10__cxxabiv112_GLOBAL__N_110parse_nameINS0_2DbEEEPKcS4_S4_RT_(i21, i1, i15) | 0; - i17 = HEAP32[i15 + 48 >> 2] | 0; - i18 = HEAP32[i15 + 52 >> 2] | 0; - L8 : do if ((i8 | 0) != (i21 | 0)) { - if ((i8 | 0) != (i1 | 0)) { - switch (HEAP8[i8 >> 0] | 0) { - case 46: - case 69: - { - i1 = i8; - break L8; - } - default: - {} - } - __ZN10__cxxabiv112_GLOBAL__N_110save_valueIbEC2ERb(i19, i2); - HEAP8[i2 >> 0] = 0; - HEAP32[i20 >> 2] = 0; - HEAP32[i20 + 4 >> 2] = 0; - HEAP32[i20 + 8 >> 2] = 0; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i20 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - i16 = i15 + 4 | 0; - i5 = HEAP32[i16 >> 2] | 0; - L16 : do if ((HEAP32[i15 >> 2] | 0) != (i5 | 0)) { - i2 = i5 + -24 | 0; - i6 = HEAP8[i2 + 11 >> 0] | 0; - i7 = i6 << 24 >> 24 < 0; - if (i7) i3 = HEAP32[i5 + -20 >> 2] | 0; else i3 = i6 & 255; - if (i3) { - if (!(HEAP8[i15 + 60 >> 0] | 0)) { - if (i7) { - i3 = HEAP32[i2 >> 2] | 0; - i4 = HEAP32[i5 + -20 >> 2] | 0; - } else { - i3 = i2; - i4 = i6 & 255; - } - if ((HEAP8[i3 + i4 + -1 >> 0] | 0) == 62) { - if (i7) { - i3 = HEAP32[i5 + -20 >> 2] | 0; - i4 = HEAP32[i2 >> 2] | 0; - } else { - i3 = i6 & 255; - i4 = i2; +function vision__bilinear_histogram_update_28float__2c_20float_2c_20float_2c_20int_29($0, $1, $2, $3) { + var $4 = Math_fround(0), $5 = 0, $6 = 0; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + if ($0) { + if (!(Math_fround($1 + Math_fround(.5)) > Math_fround(0))) { + break label$8; } - if ((HEAP8[i4 + (i3 + -2) >> 0] | 0) != 45) { - if (i7) { - i3 = HEAP32[i5 + -20 >> 2] | 0; - i4 = HEAP32[i2 >> 2] | 0; - } else { - i3 = i6 & 255; - i4 = i2; - } - if ((HEAP8[i4 + (i3 + -2) >> 0] | 0) != 62) { - i5 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i8, i1, i15) | 0; - if ((i5 | 0) == (i8 | 0)) { - i1 = i21; - i2 = 0; - break; - } - i12 = HEAP32[i16 >> 2] | 0; - i3 = i12; - if (((i12 - (HEAP32[i15 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) { - i1 = i21; - i2 = 0; - break; - } - i4 = i3 + -24 | 0; - HEAP32[i14 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i14 + 4 >> 2] = HEAP32[i4 + 4 >> 2]; - HEAP32[i14 + 8 >> 2] = HEAP32[i4 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i4 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - i3 = i3 + -12 | 0; - i4 = i20 + 11 | 0; - if ((HEAP8[i4 >> 0] | 0) < 0) { - i12 = HEAP32[i20 >> 2] | 0; - HEAP8[i13 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i12, i13); - HEAP32[i20 + 4 >> 2] = 0; - } else { - HEAP8[i13 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i20, i13); - HEAP8[i4 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i20); - HEAP32[i20 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i20 + 4 >> 2] = HEAP32[i3 + 4 >> 2]; - HEAP32[i20 + 8 >> 2] = HEAP32[i3 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i3 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - i12 = HEAP8[i4 >> 0] | 0; - if (!((i12 << 24 >> 24 < 0 ? HEAP32[i20 + 4 >> 2] | 0 : i12 & 255) | 0)) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9push_backEc(i14, 32); - i3 = HEAP32[i16 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i12 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i12 * 24 | 0) | 0); - i2 = i12; - } - HEAP32[i16 >> 2] = i3 + -24; - i2 = HEAP8[i14 + 11 >> 0] | 0; - i12 = i2 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKcm(i3 + -48 | 0, 0, i12 ? HEAP32[i14 >> 2] | 0 : i14, i12 ? HEAP32[i14 + 4 >> 2] | 0 : i2 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - i3 = i5; - i2 = (HEAP32[i16 >> 2] | 0) + -24 | 0; - } else i3 = i8; - } else i3 = i8; - } else i3 = i8; - } else i3 = i8; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9push_backEc(i2, 40); - if ((i3 | 0) != (i1 | 0) ? (HEAP8[i3 >> 0] | 0) == 118 : 0) { - i1 = i3 + 1 | 0; - i3 = HEAP32[i15 >> 2] | 0; - i2 = HEAP32[i16 >> 2] | 0; - } else i9 = 50; - do if ((i9 | 0) == 50) { - i9 = i13 + 11 | 0; - i10 = i13 + 4 | 0; - i11 = i14 + 11 | 0; - i12 = i14 + 4 | 0; - i7 = 1; - i2 = i3; - L67 : while (1) { - i4 = i2; - while (1) { - i5 = ((HEAP32[i16 >> 2] | 0) - (HEAP32[i15 >> 2] | 0) | 0) / 24 | 0; - i8 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i4, i1, i15) | 0; - i2 = HEAP32[i16 >> 2] | 0; - i3 = HEAP32[i15 >> 2] | 0; - i6 = (i2 - i3 | 0) / 24 | 0; - if ((i8 | 0) == (i4 | 0)) { - i9 = 74; - break L67; - } - if (i6 >>> 0 > i5 >>> 0) break; else i4 = i8; + $4 = Math_fround($1 + Math_fround(-.5)); + if (!($4 < Math_fround($3 | 0))) { + break label$8; } - HEAP32[i13 >> 2] = 0; - HEAP32[i13 + 4 >> 2] = 0; - HEAP32[i13 + 8 >> 2] = 0; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i13 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; + if (!($2 >= Math_fround(0))) { + break label$7; } - i2 = i5; - while (1) { - if (i2 >>> 0 >= i6 >>> 0) break; - i4 = HEAP8[i9 >> 0] | 0; - if ((i4 << 24 >> 24 < 0 ? HEAP32[i10 >> 2] | 0 : i4 & 255) | 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i13, 49891) | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i14, (HEAP32[i15 >> 2] | 0) + (i2 * 24 | 0) | 0); - i4 = HEAP8[i11 >> 0] | 0; - i3 = i4 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i13, i3 ? HEAP32[i14 >> 2] | 0 : i14, i3 ? HEAP32[i12 >> 2] | 0 : i4 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - i2 = i2 + 1 | 0; - } - i2 = i5; - while (1) { - if (i2 >>> 0 >= i6 >>> 0) break; - i4 = HEAP32[i16 >> 2] | 0; - i3 = 0; - while (1) { - if ((i3 | 0) == -1) break; - i5 = i3 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4 + (i5 * 24 | 0) | 0); - i3 = i5; - } - HEAP32[i16 >> 2] = i4 + -24; - i2 = i2 + 1 | 0; - } - i4 = HEAP8[i9 >> 0] | 0; - i2 = HEAP32[i10 >> 2] | 0; - i3 = i4 & 255; - if (!((i4 << 24 >> 24 < 0 ? i2 : i3) | 0)) i2 = i7; else { - i5 = HEAP32[i16 >> 2] | 0; - if ((HEAP32[i15 >> 2] | 0) == (i5 | 0)) { - i9 = 86; - break; - } - if (!i7) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i5 + -24 | 0, 49891) | 0; - i4 = HEAP8[i9 >> 0] | 0; - i3 = i4 & 255; - i5 = HEAP32[i16 >> 2] | 0; - i2 = HEAP32[i10 >> 2] | 0; + if (($3 | 0) < 0) { + break label$6; + } + $4 = floor_28float_29($4); + label$10: { + if (Math_fround(Math_abs($4)) < Math_fround(2147483648)) { + $5 = ~~$4; + break label$10; } - i7 = i4 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i5 + -24 | 0, i7 ? HEAP32[i13 >> 2] | 0 : i13, i7 ? i2 : i3) | 0; - i2 = 0; + $5 = -2147483648; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - i7 = i2; - i2 = i8; - } - if ((i9 | 0) == 74) { - i1 = i4; - break; - } else if ((i9 | 0) == 86) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - i1 = i21; - i2 = 0; - break L16; - } - } while (0); - if ((i3 | 0) != (i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9push_backEc(i2 + -24 | 0, 41); - if (i17 & 1 | 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc((HEAP32[i16 >> 2] | 0) + -24 | 0, 49614) | 0; - if (i17 & 2 | 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc((HEAP32[i16 >> 2] | 0) + -24 | 0, 49621) | 0; - if (i17 & 4 | 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc((HEAP32[i16 >> 2] | 0) + -24 | 0, 49631) | 0; - switch (i18 | 0) { - case 1: - { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc((HEAP32[i16 >> 2] | 0) + -24 | 0, 51095) | 0; - break; + $6 = ($5 + 1 | 0) % ($3 | 0) | 0; + $3 = ($3 + $5 | 0) % ($3 | 0) | 0; + $1 = Math_fround(Math_fround($1 - Math_fround($5 | 0)) + Math_fround(-.5)); + $4 = Math_fround(Math_fround(1) - $1); + if (!($4 >= Math_fround(0))) { + break label$5; } - case 2: - { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc((HEAP32[i16 >> 2] | 0) + -24 | 0, 51098) | 0; - break; + if (!($1 >= Math_fround(0))) { + break label$4; } - default: - {} + if (($3 | 0) < 0) { + break label$3; + } + if (($6 | 0) < 0) { + break label$2; + } + $3 = ($3 << 2) + $0 | 0; + HEAPF32[$3 >> 2] = Math_fround($4 * $2) + HEAPF32[$3 >> 2]; + $3 = ($6 << 2) + $0 | 0; + HEAPF32[$3 >> 2] = Math_fround($1 * $2) + HEAPF32[$3 >> 2]; + return; } - i2 = HEAP8[i20 + 11 >> 0] | 0; - i18 = i2 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i16 >> 2] | 0) + -24 | 0, i18 ? HEAP32[i20 >> 2] | 0 : i20, i18 ? HEAP32[i20 + 4 >> 2] | 0 : i2 & 255) | 0; - i2 = 1; - } else { - i1 = i21; - i2 = 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 14911), 15362), 3289), 139), 3786), 15729), 16); + break label$1; } - } else { - i1 = i21; - i2 = 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 16159), 15362), 3289), 140), 3786), 16517), 16); + break label$1; } - } else { - i1 = i21; - i2 = 0; - } while (0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i20); - __ZN10__cxxabiv112_GLOBAL__N_110save_valueIbED2Ev(i19); - if (!i2) { - i2 = 0; - break L6; - } - } - } else i1 = i21; while (0); - i2 = 1; - } - } while (0); - __ZN10__cxxabiv112_GLOBAL__N_110save_valueIbED2Ev(i23); - __ZN10__cxxabiv112_GLOBAL__N_110save_valueIjED2Ev(i22); - if (i2) i9 = 90; else i1 = i21; - } else { - i1 = i21; - i9 = 90; - } - STACKTOP = i24; - return i1 | 0; -} - -function _fmt_fp(i26, d5, i28, i11, i27, i19) { - i26 = i26 | 0; - d5 = +d5; - i28 = i28 | 0; - i11 = i11 | 0; - i27 = i27 | 0; - i19 = i19 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, d9 = 0.0, i10 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i29 = 0; - i29 = STACKTOP; - STACKTOP = STACKTOP + 560 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(560); - i3 = i29 + 32 | 0; - i14 = i29 + 536 | 0; - i25 = i29; - i24 = i25; - i4 = i29 + 540 | 0; - HEAP32[i14 >> 2] = 0; - i23 = i4 + 12 | 0; - ___DOUBLE_BITS_737(d5) | 0; - i1 = getTempRet0() | 0; - if ((i1 | 0) < 0) { - d5 = -d5; - ___DOUBLE_BITS_737(d5) | 0; - i22 = 1; - i21 = 46116; - i1 = getTempRet0() | 0; - } else { - i22 = (i27 & 2049 | 0) != 0 & 1; - i21 = (i27 & 2048 | 0) == 0 ? ((i27 & 1 | 0) == 0 ? 46117 : 46122) : 46119; - } - do if (0 == 0 & (i1 & 2146435072 | 0) == 2146435072) { - i25 = (i19 & 32 | 0) != 0; - i1 = i22 + 3 | 0; - _pad_734(i26, 32, i28, i1, i27 & -65537); - _out_728(i26, i21, i22); - _out_728(i26, d5 != d5 | 0.0 != 0.0 ? (i25 ? 46156 : 46143) : i25 ? 46135 : 46139, 3); - _pad_734(i26, 32, i28, i1, i27 ^ 8192); - } else { - d9 = +_frexp(d5, i14) * 2.0; - i1 = d9 != 0.0; - if (i1) HEAP32[i14 >> 2] = (HEAP32[i14 >> 2] | 0) + -1; - i13 = i19 | 32; - if ((i13 | 0) == 97) { - i7 = i19 & 32; - i10 = (i7 | 0) == 0 ? i21 : i21 + 9 | 0; - i8 = i22 | 2; - i1 = 12 - i11 | 0; - do if (!(i11 >>> 0 > 11 | (i1 | 0) == 0)) { - d5 = 8.0; - do { - i1 = i1 + -1 | 0; - d5 = d5 * 16.0; - } while ((i1 | 0) != 0); - if ((HEAP8[i10 >> 0] | 0) == 45) { - d5 = -(d5 + (-d9 - d5)); - break; - } else { - d5 = d9 + d5 - d5; - break; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 16799), 15362), 3289), 141), 3786), 16962), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 17257), 15362), 3289), 142), 3786), 17464), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 17823), 15362), 3289), 150), 3786), 17888), 16); + break label$1; } - } else d5 = d9; while (0); - i2 = HEAP32[i14 >> 2] | 0; - i1 = (i2 | 0) < 0 ? 0 - i2 | 0 : i2; - i1 = _fmt_u(i1, ((i1 | 0) < 0) << 31 >> 31, i23) | 0; - if ((i1 | 0) == (i23 | 0)) { - i1 = i4 + 11 | 0; - HEAP8[i1 >> 0] = 48; - } - HEAP8[i1 + -1 >> 0] = (i2 >> 31 & 2) + 43; - i6 = i1 + -2 | 0; - HEAP8[i6 >> 0] = i19 + 15; - i2 = (i11 | 0) < 1; - i3 = (i27 & 8 | 0) == 0; - i4 = i25; - do { - i22 = ~~d5; - i1 = i4 + 1 | 0; - HEAP8[i4 >> 0] = i7 | HEAPU8[4448 + i22 >> 0]; - d5 = (d5 - +(i22 | 0)) * 16.0; - if ((i1 - i24 | 0) == 1 ? !(i3 & (i2 & d5 == 0.0)) : 0) { - HEAP8[i1 >> 0] = 46; - i4 = i4 + 2 | 0; - } else i4 = i1; - } while (d5 != 0.0); - if ((i11 | 0) != 0 ? (-2 - i24 + i4 | 0) < (i11 | 0) : 0) { - i2 = i23; - i3 = i6; - i1 = i11 + 2 + i2 - i3 | 0; - } else { - i2 = i23; - i3 = i6; - i1 = i2 - i24 - i3 + i4 | 0; - } - i23 = i1 + i8 | 0; - _pad_734(i26, 32, i28, i23, i27); - _out_728(i26, i10, i8); - _pad_734(i26, 48, i28, i23, i27 ^ 65536); - i24 = i4 - i24 | 0; - _out_728(i26, i25, i24); - i25 = i2 - i3 | 0; - _pad_734(i26, 48, i1 - (i24 + i25) | 0, 0, 0); - _out_728(i26, i6, i25); - _pad_734(i26, 32, i28, i23, i27 ^ 8192); - i1 = i23; - break; - } - i2 = (i11 | 0) < 0 ? 6 : i11; - if (i1) { - i1 = (HEAP32[i14 >> 2] | 0) + -28 | 0; - HEAP32[i14 >> 2] = i1; - d5 = d9 * 268435456.0; - } else { - d5 = d9; - i1 = HEAP32[i14 >> 2] | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 18213), 15362), 3289), 151), 3786), 18425), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 18602), 15362), 3289), 152), 3786), 18987), 16); + break label$1; } - i20 = (i1 | 0) < 0 ? i3 : i3 + 288 | 0; - i3 = i20; - do { - i17 = ~~d5 >>> 0; - HEAP32[i3 >> 2] = i17; - i3 = i3 + 4 | 0; - d5 = (d5 - +(i17 >>> 0)) * 1.0e9; - } while (d5 != 0.0); - i17 = i20; - if ((i1 | 0) > 0) { - i7 = i20; - while (1) { - i6 = (i1 | 0) < 29 ? i1 : 29; - i1 = i3 + -4 | 0; - if (i1 >>> 0 >= i7 >>> 0) { - i4 = 0; - do { - i12 = _bitshift64Shl(HEAP32[i1 >> 2] | 0, 0, i6 | 0) | 0; - i12 = _i64Add(i12 | 0, getTempRet0() | 0, i4 | 0, 0) | 0; - i15 = getTempRet0() | 0; - i4 = ___udivdi3(i12 | 0, i15 | 0, 1e9, 0) | 0; - i16 = ___muldi3(i4 | 0, getTempRet0() | 0, 1e9, 0) | 0; - i16 = _i64Subtract(i12 | 0, i15 | 0, i16 | 0, getTempRet0() | 0) | 0; - getTempRet0() | 0; - HEAP32[i1 >> 2] = i16; - i1 = i1 + -4 | 0; - } while (i1 >>> 0 >= i7 >>> 0); - if (i4) { - i16 = i7 + -4 | 0; - HEAP32[i16 >> 2] = i4; - i4 = i16; - } else i4 = i7; - } else i4 = i7; - L57 : do if (i3 >>> 0 > i4 >>> 0) { - i1 = i3; - while (1) { - i3 = i1 + -4 | 0; - if (HEAP32[i3 >> 2] | 0) { - i3 = i1; - break L57; - } - if (i3 >>> 0 > i4 >>> 0) i1 = i3; else break; - } - } while (0); - i1 = (HEAP32[i14 >> 2] | 0) - i6 | 0; - HEAP32[i14 >> 2] = i1; - if ((i1 | 0) > 0) i7 = i4; else break; - } - } else i4 = i20; - if ((i1 | 0) < 0) { - i11 = ((i2 + 25 | 0) / 9 | 0) + 1 | 0; - i12 = (i13 | 0) == 102; - do { - i10 = 0 - i1 | 0; - i10 = (i10 | 0) < 9 ? i10 : 9; - if (i4 >>> 0 < i3 >>> 0) { - i6 = (1 << i10) + -1 | 0; - i7 = 1e9 >>> i10; - i8 = 0; - i1 = i4; - do { - i16 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = (i16 >>> i10) + i8; - i8 = Math_imul(i16 & i6, i7) | 0; - i1 = i1 + 4 | 0; - } while (i1 >>> 0 < i3 >>> 0); - i4 = (HEAP32[i4 >> 2] | 0) == 0 ? i4 + 4 | 0 : i4; - if (i8) { - HEAP32[i3 >> 2] = i8; - i3 = i3 + 4 | 0; - } - } else i4 = (HEAP32[i4 >> 2] | 0) == 0 ? i4 + 4 | 0 : i4; - i1 = i12 ? i20 : i4; - i3 = (i3 - i1 >> 2 | 0) > (i11 | 0) ? i1 + (i11 << 2) | 0 : i3; - i1 = (HEAP32[i14 >> 2] | 0) + i10 | 0; - HEAP32[i14 >> 2] = i1; - } while ((i1 | 0) < 0); - i12 = i4; - } else i12 = i4; - if (i12 >>> 0 < i3 >>> 0) { - i1 = (i17 - i12 >> 2) * 9 | 0; - i6 = HEAP32[i12 >> 2] | 0; - if (i6 >>> 0 >= 10) { - i4 = 10; - do { - i4 = i4 * 10 | 0; - i1 = i1 + 1 | 0; - } while (i6 >>> 0 >= i4 >>> 0); - } - } else i1 = 0; - i15 = (i13 | 0) == 103; - i16 = (i2 | 0) != 0; - i4 = i2 - ((i13 | 0) == 102 ? 0 : i1) + ((i16 & i15) << 31 >> 31) | 0; - if ((i4 | 0) < (((i3 - i17 >> 2) * 9 | 0) + -9 | 0)) { - i14 = i4 + 9216 | 0; - i4 = (i14 | 0) / 9 | 0; - i11 = i20 + 4 + (i4 + -1024 << 2) | 0; - i4 = i14 - (i4 * 9 | 0) | 0; - if ((i4 | 0) < 8) { - i6 = 10; - while (1) { - i6 = i6 * 10 | 0; - if ((i4 | 0) < 7) i4 = i4 + 1 | 0; else break; - } - } else i6 = 10; - i8 = HEAP32[i11 >> 2] | 0; - i4 = (i8 >>> 0) / (i6 >>> 0) | 0; - i10 = i8 - (Math_imul(i4, i6) | 0) | 0; - i7 = (i11 + 4 | 0) == (i3 | 0); - if (!(i7 & (i10 | 0) == 0)) { - d9 = (i4 & 1 | 0) == 0 ? 9007199254740992.0 : 9007199254740994.0; - i14 = i6 >>> 1; - d5 = i10 >>> 0 < i14 >>> 0 ? .5 : i7 & (i10 | 0) == (i14 | 0) ? 1.0 : 1.5; - if (i22) { - i14 = (HEAP8[i21 >> 0] | 0) == 45; - d5 = i14 ? -d5 : d5; - d9 = i14 ? -d9 : d9; - } - i4 = i8 - i10 | 0; - HEAP32[i11 >> 2] = i4; - if (d9 + d5 != d9) { - i14 = i4 + i6 | 0; - HEAP32[i11 >> 2] = i14; - if (i14 >>> 0 > 999999999) { - i6 = i11; - i1 = i12; - while (1) { - i4 = i6 + -4 | 0; - HEAP32[i6 >> 2] = 0; - if (i4 >>> 0 < i1 >>> 0) { - i1 = i1 + -4 | 0; - HEAP32[i1 >> 2] = 0; - } - i14 = (HEAP32[i4 >> 2] | 0) + 1 | 0; - HEAP32[i4 >> 2] = i14; - if (i14 >>> 0 > 999999999) i6 = i4; else { - i6 = i1; - break; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 19200), 15362), 3289), 153), 3786), 19482), 16); + } + abort(); + abort(); +} + +function std____2__locale____imp____imp_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + HEAP32[$1 >> 2] = 58008; + $0 = std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____vector_28unsigned_20long_29($1 + 8 | 0, 30); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($1 + 152 | 0, 36123); + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____clear_28_29($0); + std____2__collate_char___20std____2___28anonymous_20namespace_29__make_std____2__collate_char__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__collate_char___28std____2__collate_char___29($1, 83840); + std____2__collate_wchar_t___20std____2___28anonymous_20namespace_29__make_std____2__collate_wchar_t__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__collate_wchar_t___28std____2__collate_wchar_t___29($1, 83848); + std____2__ctype_char___20std____2___28anonymous_20namespace_29__make_std____2__ctype_char__2c_20std__nullptr_t_2c_20bool_2c_20unsigned_20int__28std__nullptr_t_2c_20bool_2c_20unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__ctype_char___28std____2__ctype_char___29($1, 83856); + std____2__ctype_wchar_t___20std____2___28anonymous_20namespace_29__make_std____2__ctype_wchar_t__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__ctype_wchar_t___28std____2__ctype_wchar_t___29($1, 83872); + std____2__codecvt_char_2c_20char_2c_20__mbstate_t___20std____2___28anonymous_20namespace_29__make_std____2__codecvt_char_2c_20char_2c_20__mbstate_t__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__codecvt_char_2c_20char_2c_20__mbstate_t___28std____2__codecvt_char_2c_20char_2c_20__mbstate_t___29($1, 83880); + std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___20std____2___28anonymous_20namespace_29__make_std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___28std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___29($1, 83888); + std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___20std____2___28anonymous_20namespace_29__make_std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___28std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___29($1, 83904); + std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___20std____2___28anonymous_20namespace_29__make_std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___28std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___29($1, 83912); + std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___20std____2___28anonymous_20namespace_29__make_std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___28std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___29($1, 83920); + std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___20std____2___28anonymous_20namespace_29__make_std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___28std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___29($1, 83928); + std____2__numpunct_char___20std____2___28anonymous_20namespace_29__make_std____2__numpunct_char__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__numpunct_char___28std____2__numpunct_char___29($1, 83936); + std____2__numpunct_wchar_t___20std____2___28anonymous_20namespace_29__make_std____2__numpunct_wchar_t__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__numpunct_wchar_t___28std____2__numpunct_wchar_t___29($1, 83960); + std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____20std____2___28anonymous_20namespace_29__make_std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____29($1, 83992); + std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____20std____2___28anonymous_20namespace_29__make_std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____28std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____29($1, 84e3); + std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____20std____2___28anonymous_20namespace_29__make_std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____29($1, 84008); + std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____20std____2___28anonymous_20namespace_29__make_std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____28std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____29($1, 84016); + std____2__moneypunct_char_2c_20false___20std____2___28anonymous_20namespace_29__make_std____2__moneypunct_char_2c_20false__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__moneypunct_char_2c_20false___28std____2__moneypunct_char_2c_20false___29($1, 84024); + std____2__moneypunct_char_2c_20true___20std____2___28anonymous_20namespace_29__make_std____2__moneypunct_char_2c_20true__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__moneypunct_char_2c_20true___28std____2__moneypunct_char_2c_20true___29($1, 84032); + std____2__moneypunct_wchar_t_2c_20false___20std____2___28anonymous_20namespace_29__make_std____2__moneypunct_wchar_t_2c_20false__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__moneypunct_wchar_t_2c_20false___28std____2__moneypunct_wchar_t_2c_20false___29($1, 84040); + std____2__moneypunct_wchar_t_2c_20true___20std____2___28anonymous_20namespace_29__make_std____2__moneypunct_wchar_t_2c_20true__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__moneypunct_wchar_t_2c_20true___28std____2__moneypunct_wchar_t_2c_20true___29($1, 84048); + std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____20std____2___28anonymous_20namespace_29__make_std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____29($1, 84056); + std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____20std____2___28anonymous_20namespace_29__make_std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____28std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____29($1, 84064); + std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____20std____2___28anonymous_20namespace_29__make_std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____29($1, 84072); + std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____20std____2___28anonymous_20namespace_29__make_std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____28std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____29($1, 84080); + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____20std____2___28anonymous_20namespace_29__make_std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____29($1, 84088); + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____20std____2___28anonymous_20namespace_29__make_std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____28std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____29($1, 84104); + std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____20std____2___28anonymous_20namespace_29__make_std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____29($1, 84120); + std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____20std____2___28anonymous_20namespace_29__make_std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____28std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____29($1, 84136); + std____2__messages_char___20std____2___28anonymous_20namespace_29__make_std____2__messages_char__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__messages_char___28std____2__messages_char___29($1, 84152); + std____2__messages_wchar_t___20std____2___28anonymous_20namespace_29__make_std____2__messages_wchar_t__2c_20unsigned_20int__28unsigned_20int_29(); + void_20std____2__locale____imp__install_std____2__messages_wchar_t___28std____2__messages_wchar_t___29($1, 84160); + return $1; +} + +function vision__HoughSimilarityVoting__getBinsFromIndex_28int__2c_20int__2c_20int__2c_20int__2c_20int_29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0; + $6 = ((($5 | 0) % HEAP32[$0 + 88 >> 2] | 0) % HEAP32[$0 + 84 >> 2] | 0) % HEAP32[$0 + 52 >> 2] | 0; + HEAP32[$1 >> 2] = $6; + $6 = ((($5 - $6 | 0) % HEAP32[$0 + 88 >> 2] | 0) % HEAP32[$0 + 84 >> 2] | 0) / HEAP32[$0 + 52 >> 2] | 0; + HEAP32[$2 >> 2] = $6; + $6 = (($5 - (HEAP32[$1 >> 2] + Math_imul(HEAP32[$0 + 52 >> 2], $6) | 0) | 0) % HEAP32[$0 + 88 >> 2] | 0) / HEAP32[$0 + 84 >> 2] | 0; + HEAP32[$3 >> 2] = $6; + $5 = ($5 - (HEAP32[$1 >> 2] + (Math_imul(HEAP32[$0 + 84 >> 2], $6) + Math_imul(HEAP32[$0 + 52 >> 2], HEAP32[$2 >> 2]) | 0) | 0) | 0) / HEAP32[$0 + 88 >> 2] | 0; + HEAP32[$4 >> 2] = $5; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + $1 = HEAP32[$1 >> 2]; + if (($1 | 0) >= 0) { + if (HEAP32[$0 + 52 >> 2] <= ($1 | 0)) { + break label$8; + } + $1 = HEAP32[$2 >> 2]; + if (($1 | 0) < 0) { + break label$7; + } + if (HEAP32[$0 + 56 >> 2] <= ($1 | 0)) { + break label$6; + } + $1 = HEAP32[$3 >> 2]; + if (($1 | 0) < 0) { + break label$5; + } + if (HEAP32[$0 + 60 >> 2] <= ($1 | 0)) { + break label$4; + } + if (($5 | 0) < 0) { + break label$3; + } + if (HEAP32[$0 + 64 >> 2] <= ($5 | 0)) { + break label$2; + } + return; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23472), 23579), 9176), 190), 10040), 23666), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23759), 23579), 9176), 191), 10040), 23666), 16); + break label$1; } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23799), 23579), 9176), 192), 10040), 23914), 16); + break label$1; } - } else { - i4 = i11; - i6 = i12; - } - i1 = (i17 - i6 >> 2) * 9 | 0; - i8 = HEAP32[i6 >> 2] | 0; - if (i8 >>> 0 >= 10) { - i7 = 10; - do { - i7 = i7 * 10 | 0; - i1 = i1 + 1 | 0; - } while (i8 >>> 0 >= i7 >>> 0); + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23932), 23579), 9176), 193), 10040), 23914), 16); + break label$1; } - } else { - i4 = i11; - i6 = i12; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24024), 23579), 9176), 194), 10040), 24115), 16); + break label$1; } - } else { - i4 = i11; - i6 = i12; - } - i14 = i4 + 4 | 0; - i3 = i3 >>> 0 > i14 >>> 0 ? i14 : i3; - } else i6 = i12; - i11 = 0 - i1 | 0; - L109 : do if (i3 >>> 0 > i6 >>> 0) while (1) { - i4 = i3 + -4 | 0; - if (HEAP32[i4 >> 2] | 0) { - i14 = i3; - i13 = 1; - break L109; - } - if (i4 >>> 0 > i6 >>> 0) i3 = i4; else { - i14 = i4; - i13 = 0; - break; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24191), 23579), 9176), 195), 10040), 24115), 16); + break label$1; } - } else { - i14 = i3; - i13 = 0; - } while (0); - do if (i15) { - i2 = i2 + ((i16 ^ 1) & 1) | 0; - if ((i2 | 0) > (i1 | 0) & (i1 | 0) > -5) { - i7 = i19 + -1 | 0; - i2 = i2 + -1 - i1 | 0; - } else { - i7 = i19 + -2 | 0; - i2 = i2 + -1 | 0; - } - if (!(i27 & 8)) { - if (i13 ? (i18 = HEAP32[i14 + -4 >> 2] | 0, (i18 | 0) != 0) : 0) if (!((i18 >>> 0) % 10 | 0)) { - i4 = 0; - i3 = 10; - do { - i3 = i3 * 10 | 0; - i4 = i4 + 1 | 0; - } while (!((i18 >>> 0) % (i3 >>> 0) | 0 | 0)); - } else i4 = 0; else i4 = 9; - i3 = ((i14 - i17 >> 2) * 9 | 0) + -9 | 0; - if ((i7 | 32 | 0) == 102) { - i19 = i3 - i4 | 0; - i19 = (i19 | 0) > 0 ? i19 : 0; - i2 = (i2 | 0) < (i19 | 0) ? i2 : i19; - break; - } else { - i19 = i3 + i1 - i4 | 0; - i19 = (i19 | 0) > 0 ? i19 : 0; - i2 = (i2 | 0) < (i19 | 0) ? i2 : i19; - break; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24295), 23579), 9176), 196), 10040), 24389), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24468), 23579), 9176), 197), 10040), 24389), 16); + } + abort(); + abort(); +} + +function vision__ComputeSubpixelHessianSameOctave_28float__2c_20float__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = Math_fround(0), $9 = 0, $10 = Math_fround(0), $11 = 0, $12 = Math_fround(0), $13 = Math_fround(0), $14 = Math_fround(0), $15 = Math_fround(0), $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = Math_fround(0), $21 = Math_fround(0), $22 = Math_fround(0), $23 = Math_fround(0), $24 = Math_fround(0), $25 = Math_fround(0); + $7 = __stack_pointer - 32 | 0; + __stack_pointer = $7; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + if (($5 | 0) <= 0) { + break label$7; + } + if (vision__Image__width_28_29_20const($3) >>> 0 <= $5 + 1 >>> 0) { + break label$7; + } + if (($6 | 0) <= 0) { + break label$6; + } + $11 = $6 + 1 | 0; + if (vision__Image__height_28_29_20const($3) >>> 0 <= $11 >>> 0) { + break label$6; + } + if ((vision__Image__width_28_29_20const($2) | 0) != (vision__Image__width_28_29_20const($3) | 0)) { + break label$5; + } + if ((vision__Image__width_28_29_20const($2) | 0) != (vision__Image__width_28_29_20const($4) | 0)) { + break label$4; + } + if ((vision__Image__height_28_29_20const($2) | 0) != (vision__Image__height_28_29_20const($3) | 0)) { + break label$3; + } + if ((vision__Image__height_28_29_20const($2) | 0) != (vision__Image__height_28_29_20const($4) | 0)) { + break label$2; + } + $9 = $6 - 1 | 0; + $16 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($2, $9); + $17 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($2, $6); + $2 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($2, $11); + $18 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($3, $6); + $9 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($4, $9); + $19 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($4, $6); + $4 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($4, $11); + vision__ComputeSubpixelDerivatives_28float__2c_20float__2c_20float__2c_20float__2c_20float__2c_20vision__Image_20const__2c_20int_2c_20int_29($7 + 28 | 0, $7 + 24 | 0, $7 + 20 | 0, $7 + 16 | 0, $7 + 12 | 0, $3, $5, $6); + $6 = $5 << 2; + $20 = HEAPF32[$6 + $2 >> 2]; + $21 = HEAPF32[$6 + $16 >> 2]; + $22 = HEAPF32[$4 + $6 >> 2]; + $23 = HEAPF32[$6 + $9 >> 2]; + $2 = $6 + $19 | 0; + $13 = HEAPF32[$2 >> 2]; + $3 = $6 + $17 | 0; + $14 = HEAPF32[$3 >> 2]; + $8 = HEAPF32[$6 + $18 >> 2]; + $10 = HEAPF32[$3 + 4 >> 2]; + $12 = HEAPF32[$3 - 4 >> 2]; + $24 = HEAPF32[$2 + 4 >> 2]; + $25 = HEAPF32[$2 - 4 >> 2]; + HEAPF32[$0 >> 2] = HEAPF32[$7 + 20 >> 2]; + $15 = HEAPF32[$7 + 12 >> 2]; + HEAPF32[$0 + 12 >> 2] = $15; + HEAPF32[$0 + 4 >> 2] = $15; + $10 = Math_fround(Math_fround(Math_fround($12 - $10) + Math_fround($24 - $25)) * Math_fround(.25)); + HEAPF32[$0 + 8 >> 2] = $10; + $12 = HEAPF32[$7 + 16 >> 2]; + HEAPF32[$0 + 32 >> 2] = $13 + Math_fround($14 - Math_fround($8 + $8)); + $8 = Math_fround(Math_fround(Math_fround($21 - $20) + Math_fround($22 - $23)) * Math_fround(.25)); + HEAPF32[$0 + 28 >> 2] = $8; + HEAPF32[$0 + 24 >> 2] = $10; + HEAPF32[$0 + 20 >> 2] = $8; + HEAPF32[$0 + 16 >> 2] = $12; + HEAPF32[$1 >> 2] = -HEAPF32[$7 + 28 >> 2]; + $8 = HEAPF32[$7 + 24 >> 2]; + HEAPF32[$1 + 8 >> 2] = Math_fround($13 - $14) * Math_fround(-.5); + HEAPF32[$1 + 4 >> 2] = -$8; + __stack_pointer = $7 + 32 | 0; + return; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23505), 22456), 3289), 309), 3786), 23563), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23684), 22456), 3289), 310), 3786), 23743), 16); + break label$1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23832), 22456), 3289), 311), 3786), 23884), 16); + break label$1; } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23972), 22456), 3289), 312), 3786), 23884), 16); + break label$1; } - } else i7 = i19; while (0); - i12 = (i2 | 0) != 0; - i8 = i12 ? 1 : i27 >>> 3 & 1; - i10 = (i7 | 32 | 0) == 102; - if (i10) { - i15 = 0; - i1 = (i1 | 0) > 0 ? i1 : 0; - } else { - i3 = (i1 | 0) < 0 ? i11 : i1; - i3 = _fmt_u(i3, ((i3 | 0) < 0) << 31 >> 31, i23) | 0; - i4 = i23; - if ((i4 - i3 | 0) < 2) do { - i3 = i3 + -1 | 0; - HEAP8[i3 >> 0] = 48; - } while ((i4 - i3 | 0) < 2); - HEAP8[i3 + -1 >> 0] = (i1 >> 31 & 2) + 43; - i1 = i3 + -2 | 0; - HEAP8[i1 >> 0] = i7; - i15 = i1; - i1 = i4 - i1 | 0; - } - i1 = i22 + 1 + i2 + i8 + i1 | 0; - _pad_734(i26, 32, i28, i1, i27); - _out_728(i26, i21, i22); - _pad_734(i26, 48, i28, i1, i27 ^ 65536); - if (i10) { - i8 = i6 >>> 0 > i20 >>> 0 ? i20 : i6; - i10 = i25 + 9 | 0; - i6 = i10; - i7 = i25 + 8 | 0; - i4 = i8; - do { - i3 = _fmt_u(HEAP32[i4 >> 2] | 0, 0, i10) | 0; - if ((i4 | 0) == (i8 | 0)) { - if ((i3 | 0) == (i10 | 0)) { - HEAP8[i7 >> 0] = 48; - i3 = i7; - } - } else if (i3 >>> 0 > i25 >>> 0) { - _memset(i25 | 0, 48, i3 - i24 | 0) | 0; - do i3 = i3 + -1 | 0; while (i3 >>> 0 > i25 >>> 0); - } - _out_728(i26, i3, i6 - i3 | 0); - i4 = i4 + 4 | 0; - } while (i4 >>> 0 <= i20 >>> 0); - if (!((i27 & 8 | 0) == 0 & (i12 ^ 1))) _out_728(i26, 49958, 1); - if (i4 >>> 0 < i14 >>> 0 & (i2 | 0) > 0) while (1) { - i3 = _fmt_u(HEAP32[i4 >> 2] | 0, 0, i10) | 0; - if (i3 >>> 0 > i25 >>> 0) { - _memset(i25 | 0, 48, i3 - i24 | 0) | 0; - do i3 = i3 + -1 | 0; while (i3 >>> 0 > i25 >>> 0); - } - _out_728(i26, i3, (i2 | 0) < 9 ? i2 : 9); - i4 = i4 + 4 | 0; - i3 = i2 + -9 | 0; - if (!(i4 >>> 0 < i14 >>> 0 & (i2 | 0) > 9)) { - i2 = i3; - break; - } else i2 = i3; - } - _pad_734(i26, 48, i2 + 9 | 0, 9, 0); - } else { - i14 = i13 ? i14 : i6 + 4 | 0; - if (i6 >>> 0 < i14 >>> 0 & (i2 | 0) > -1) { - i11 = i25 + 9 | 0; - i12 = (i27 & 8 | 0) == 0; - i13 = i11; - i8 = 0 - i24 | 0; - i10 = i25 + 8 | 0; - i7 = i6; - do { - i3 = _fmt_u(HEAP32[i7 >> 2] | 0, 0, i11) | 0; - if ((i3 | 0) == (i11 | 0)) { - HEAP8[i10 >> 0] = 48; - i3 = i10; - } - do if ((i7 | 0) == (i6 | 0)) { - i4 = i3 + 1 | 0; - _out_728(i26, i3, 1); - if (i12 & (i2 | 0) < 1) { - i3 = i4; - break; - } - _out_728(i26, 49958, 1); - i3 = i4; - } else { - if (i3 >>> 0 <= i25 >>> 0) break; - _memset(i25 | 0, 48, i3 + i8 | 0) | 0; - do i3 = i3 + -1 | 0; while (i3 >>> 0 > i25 >>> 0); - } while (0); - i24 = i13 - i3 | 0; - _out_728(i26, i3, (i2 | 0) > (i24 | 0) ? i24 : i2); - i2 = i2 - i24 | 0; - i7 = i7 + 4 | 0; - } while (i7 >>> 0 < i14 >>> 0 & (i2 | 0) > -1); - } - _pad_734(i26, 48, i2 + 18 | 0, 18, 0); - _out_728(i26, i15, i23 - i15 | 0); - } - _pad_734(i26, 32, i28, i1, i27 ^ 8192); - } while (0); - STACKTOP = i29; - return ((i1 | 0) < (i28 | 0) ? i28 : i1) | 0; -} - -function __ZN6vision21HoughSimilarityVoting4voteEffff(i17, d6, d11, d14, d15) { - i17 = i17 | 0; - d6 = +d6; - d11 = +d11; - d14 = +d14; - d15 = +d15; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d12 = 0.0, d13 = 0.0, d16 = 0.0, i18 = 0, i19 = 0, i20 = 0, i21 = 0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i21; - d16 = +HEAPF32[i17 + 20 >> 2]; - if ((((((!(d16 > d6) ? (d7 = +HEAPF32[i17 + 24 >> 2], !(d7 <= d6)) : 0) ? (d8 = +HEAPF32[i17 + 28 >> 2], !(d8 > d11)) : 0) ? (d9 = +HEAPF32[i17 + 32 >> 2], !(d9 <= d11)) : 0) ? (d10 = d14, !(d10 <= -3.141592653589793 | d10 > 3.141592653589793)) : 0) ? (d12 = +HEAPF32[i17 + 36 >> 2], !(d12 > d15)) : 0) ? (d13 = +HEAPF32[i17 + 40 >> 2], !(d13 <= d15)) : 0) { - if (!(d16 <= d6)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30397) | 0, 30431) | 0, 33528) | 0, 360) | 0, 33535) | 0, 30554) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - if (!(d7 > d6)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30569) | 0, 30431) | 0, 33528) | 0, 361) | 0, 33535) | 0, 30554) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - if (!(d8 <= d11)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30602) | 0, 30431) | 0, 33528) | 0, 362) | 0, 33535) | 0, 30636) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - if (!(d9 > d11)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30651) | 0, 30431) | 0, 33528) | 0, 363) | 0, 33535) | 0, 30636) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - if (!(d10 > -3.141592653589793)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30684) | 0, 30431) | 0, 33528) | 0, 364) | 0, 33535) | 0, 30719) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - if (!(d10 <= 3.141592653589793)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30738) | 0, 30431) | 0, 33528) | 0, 365) | 0, 33535) | 0, 30719) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - if (!(d12 <= d15)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30773) | 0, 30431) | 0, 33528) | 0, 366) | 0, 33535) | 0, 30815) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - if (!(d13 > d15)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30834) | 0, 30431) | 0, 33528) | 0, 367) | 0, 33535) | 0, 30815) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - i1 = i17 + 68 | 0; - i2 = i17 + 72 | 0; - i5 = i17 + 76 | 0; - i3 = i17 + 80 | 0; - __ZNK6vision21HoughSimilarityVoting12mapVoteToBinERfS1_S1_S1_ffff(i17, i1, i2, i5, i3, d6, d11, d14, d15); - i1 = ~~+Math_floor(+(+HEAPF32[i1 >> 2] + -.5)); - i2 = ~~+Math_floor(+(+HEAPF32[i2 >> 2] + -.5)); - i5 = ~~+Math_floor(+(+HEAPF32[i5 >> 2] + -.5)); - i3 = ~~+Math_floor(+(+HEAPF32[i3 >> 2] + -.5)); - i4 = HEAP32[i17 + 60 >> 2] | 0; - i5 = (i4 + i5 | 0) % (i4 | 0) | 0; - if ((((i1 | 0) >= 0 ? (i18 = i1 + 1 | 0, !((i2 | 0) < 0 ? 1 : (i18 | 0) >= (HEAP32[i17 + 52 >> 2] | 0))) : 0) ? (i19 = i2 + 1 | 0, !((i3 | 0) < 0 ? 1 : (i19 | 0) >= (HEAP32[i17 + 56 >> 2] | 0))) : 0) ? (i20 = i3 + 1 | 0, (i20 | 0) < (HEAP32[i17 + 64 >> 2] | 0)) : 0) { - i4 = (i5 + 1 | 0) % (i4 | 0) | 0; - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i1, i2, i5, i3) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i18, i2, i5, i3) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i18, i19, i5, i3) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i18, i19, i4, i3) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i18, i19, i4, i20) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i18, i19, i5, i20) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i18, i2, i4, i3) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i18, i2, i4, i20) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i18, i2, i5, i20) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i1, i19, i5, i3) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i1, i19, i4, i3) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i1, i19, i4, i20) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i1, i19, i5, i20) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i1, i2, i4, i3) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i1, i2, i4, i20) | 0, 1); - __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i17, __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i17, i1, i2, i5, i20) | 0, 1); - i1 = 1; - } else i1 = 0; - } else i1 = 0; - STACKTOP = i21; - return i1 | 0; -} - -function _printf_core(i19, i1, i27, i28, i30, i23, i29) { - i19 = i19 | 0; - i1 = i1 | 0; - i27 = i27 | 0; - i28 = i28 | 0; - i30 = i30 | 0; - i23 = i23 | 0; - i29 = i29 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i20 = 0, i21 = 0, i22 = 0, i24 = 0, i25 = 0, i26 = 0, i31 = 0, i32 = 0; - i31 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i24 = i31 + 56 | 0; - i26 = i31 + 40 | 0; - i17 = i31; - i20 = i31 + 48 | 0; - i21 = i31 + 60 | 0; - HEAP32[i24 >> 2] = i1; - i14 = (i19 | 0) != 0; - i15 = i17 + 40 | 0; - i16 = i15; - i17 = i17 + 39 | 0; - i18 = i20 + 4 | 0; - i2 = 0; - i1 = 0; - i4 = 0; - L1 : while (1) { - do { - do if ((i1 | 0) > -1) if ((i2 | 0) > (2147483647 - i1 | 0)) { - i1 = ___errno_location() | 0; - HEAP32[i1 >> 2] = 75; - i1 = -1; - break; - } else { - i1 = i2 + i1 | 0; - break; - } while (0); - i8 = HEAP32[i24 >> 2] | 0; - i2 = HEAP8[i8 >> 0] | 0; - if (!(i2 << 24 >> 24)) { - i13 = 92; - break L1; - } - i3 = i8; - L12 : while (1) { - switch (i2 << 24 >> 24) { - case 37: - { - i13 = 10; - break L12; - } - case 0: - { - i2 = i3; - break L12; - } - default: - {} - } - i12 = i3 + 1 | 0; - HEAP32[i24 >> 2] = i12; - i2 = HEAP8[i12 >> 0] | 0; - i3 = i12; - } - L15 : do if ((i13 | 0) == 10) { - i13 = 0; - i2 = i3; - do { - if ((HEAP8[i3 + 1 >> 0] | 0) != 37) break L15; - i2 = i2 + 1 | 0; - i3 = i3 + 2 | 0; - HEAP32[i24 >> 2] = i3; - } while ((HEAP8[i3 >> 0] | 0) == 37); - } while (0); - i2 = i2 - i8 | 0; - if (i14) _out_728(i19, i8, i2); - } while ((i2 | 0) != 0); - i12 = (_isdigit(HEAP8[(HEAP32[i24 >> 2] | 0) + 1 >> 0] | 0) | 0) == 0; - i3 = HEAP32[i24 >> 2] | 0; - if (!i12 ? (HEAP8[i3 + 2 >> 0] | 0) == 36 : 0) { - i10 = (HEAP8[i3 + 1 >> 0] | 0) + -48 | 0; - i6 = 1; - i2 = 3; - } else { - i10 = -1; - i6 = i4; - i2 = 1; - } - i2 = i3 + i2 | 0; - HEAP32[i24 >> 2] = i2; - i3 = HEAP8[i2 >> 0] | 0; - i4 = (i3 << 24 >> 24) + -32 | 0; - if (i4 >>> 0 > 31 | (1 << i4 & 75913 | 0) == 0) i5 = 0; else { - i5 = 0; - do { - i5 = 1 << i4 | i5; - i2 = i2 + 1 | 0; - HEAP32[i24 >> 2] = i2; - i3 = HEAP8[i2 >> 0] | 0; - i4 = (i3 << 24 >> 24) + -32 | 0; - } while (!(i4 >>> 0 > 31 | (1 << i4 & 75913 | 0) == 0)); - } - if (i3 << 24 >> 24 == 42) { - if ((_isdigit(HEAP8[i2 + 1 >> 0] | 0) | 0) != 0 ? (i25 = HEAP32[i24 >> 2] | 0, (HEAP8[i25 + 2 >> 0] | 0) == 36) : 0) { - i2 = i25 + 1 | 0; - HEAP32[i30 + ((HEAP8[i2 >> 0] | 0) + -48 << 2) >> 2] = 10; - i2 = HEAP32[i28 + ((HEAP8[i2 >> 0] | 0) + -48 << 3) >> 2] | 0; - i4 = 1; - i3 = i25 + 3 | 0; - } else { - if (i6 | 0) { - i1 = -1; - break; - } - if (i14) { - i12 = (HEAP32[i27 >> 2] | 0) + (4 - 1) & ~(4 - 1); - i2 = HEAP32[i12 >> 2] | 0; - HEAP32[i27 >> 2] = i12 + 4; - } else i2 = 0; - i4 = 0; - i3 = (HEAP32[i24 >> 2] | 0) + 1 | 0; - } - HEAP32[i24 >> 2] = i3; - i12 = (i2 | 0) < 0; - i11 = i12 ? 0 - i2 | 0 : i2; - i5 = i12 ? i5 | 8192 : i5; - i12 = i4; - } else { - i2 = _getint_729(i24) | 0; - if ((i2 | 0) < 0) { - i1 = -1; - break; - } - i11 = i2; - i12 = i6; - i3 = HEAP32[i24 >> 2] | 0; - } - do if ((HEAP8[i3 >> 0] | 0) == 46) { - i2 = i3 + 1 | 0; - if ((HEAP8[i2 >> 0] | 0) != 42) { - HEAP32[i24 >> 2] = i2; - i2 = _getint_729(i24) | 0; - i3 = HEAP32[i24 >> 2] | 0; - break; - } - if (_isdigit(HEAP8[i3 + 2 >> 0] | 0) | 0 ? (i22 = HEAP32[i24 >> 2] | 0, (HEAP8[i22 + 3 >> 0] | 0) == 36) : 0) { - i2 = i22 + 2 | 0; - HEAP32[i30 + ((HEAP8[i2 >> 0] | 0) + -48 << 2) >> 2] = 10; - i2 = HEAP32[i28 + ((HEAP8[i2 >> 0] | 0) + -48 << 3) >> 2] | 0; - i3 = i22 + 4 | 0; - HEAP32[i24 >> 2] = i3; - break; - } - if (i12 | 0) { - i1 = -1; - break L1; - } - if (i14) { - i9 = (HEAP32[i27 >> 2] | 0) + (4 - 1) & ~(4 - 1); - i2 = HEAP32[i9 >> 2] | 0; - HEAP32[i27 >> 2] = i9 + 4; - } else i2 = 0; - i3 = (HEAP32[i24 >> 2] | 0) + 2 | 0; - HEAP32[i24 >> 2] = i3; - } else i2 = -1; while (0); - i9 = 0; - while (1) { - if (((HEAP8[i3 >> 0] | 0) + -65 | 0) >>> 0 > 57) { - i1 = -1; - break L1; - } - i4 = i3; - i3 = i3 + 1 | 0; - HEAP32[i24 >> 2] = i3; - i4 = HEAP8[(HEAP8[i4 >> 0] | 0) + -65 + (3984 + (i9 * 58 | 0)) >> 0] | 0; - i6 = i4 & 255; - if ((i6 + -1 | 0) >>> 0 >= 8) break; else i9 = i6; - } - if (!(i4 << 24 >> 24)) { - i1 = -1; - break; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24061), 22456), 3289), 313), 3786), 23884), 16); + break label$1; } - i7 = (i10 | 0) > -1; - do if (i4 << 24 >> 24 == 19) if (i7) { - i1 = -1; - break L1; - } else i13 = 54; else { - if (i7) { - HEAP32[i30 + (i10 << 2) >> 2] = i6; - i7 = i28 + (i10 << 3) | 0; - i10 = HEAP32[i7 + 4 >> 2] | 0; - i13 = i26; - HEAP32[i13 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i13 + 4 >> 2] = i10; - i13 = 54; - break; - } - if (!i14) { - i1 = 0; - break L1; - } - _pop_arg_731(i26, i6, i27, i29); - i3 = HEAP32[i24 >> 2] | 0; - i13 = 55; - } while (0); - if ((i13 | 0) == 54) { - i13 = 0; - if (i14) i13 = 55; else i2 = 0; - } - L77 : do if ((i13 | 0) == 55) { - i13 = 0; - i3 = HEAP8[i3 + -1 >> 0] | 0; - i3 = (i9 | 0) != 0 & (i3 & 15 | 0) == 3 ? i3 & -33 : i3; - i4 = i5 & -65537; - i10 = (i5 & 8192 | 0) == 0 ? i5 : i4; - L79 : do switch (i3 | 0) { - case 110: - switch ((i9 & 255) << 24 >> 24) { - case 0: - { - HEAP32[HEAP32[i26 >> 2] >> 2] = i1; - i2 = 0; - break L77; - } - case 1: - { - HEAP32[HEAP32[i26 >> 2] >> 2] = i1; - i2 = 0; - break L77; - } - case 2: - { - i2 = HEAP32[i26 >> 2] | 0; - HEAP32[i2 >> 2] = i1; - HEAP32[i2 + 4 >> 2] = ((i1 | 0) < 0) << 31 >> 31; - i2 = 0; - break L77; - } - case 3: - { - HEAP16[HEAP32[i26 >> 2] >> 1] = i1; - i2 = 0; - break L77; - } - case 4: - { - HEAP8[HEAP32[i26 >> 2] >> 0] = i1; - i2 = 0; - break L77; - } - case 6: - { - HEAP32[HEAP32[i26 >> 2] >> 2] = i1; - i2 = 0; - break L77; - } - case 7: - { - i2 = HEAP32[i26 >> 2] | 0; - HEAP32[i2 >> 2] = i1; - HEAP32[i2 + 4 >> 2] = ((i1 | 0) < 0) << 31 >> 31; - i2 = 0; - break L77; - } - default: - { - i2 = 0; - break L77; - } - } - case 112: - { - i3 = 120; - i2 = i2 >>> 0 > 8 ? i2 : 8; - i4 = i10 | 8; - i13 = 67; - break; - } - case 88: - case 120: - { - i4 = i10; - i13 = 67; - break; - } - case 111: - { - i7 = i26; - i7 = _fmt_o(HEAP32[i7 >> 2] | 0, HEAP32[i7 + 4 >> 2] | 0, i15) | 0; - i4 = i16 - i7 | 0; - i5 = 0; - i6 = 46099; - i2 = (i10 & 8 | 0) == 0 | (i2 | 0) > (i4 | 0) ? i2 : i4 + 1 | 0; - i4 = i10; - i13 = 73; - break; - } - case 105: - case 100: - { - i4 = i26; - i3 = HEAP32[i4 >> 2] | 0; - i4 = HEAP32[i4 + 4 >> 2] | 0; - if ((i4 | 0) < 0) { - i3 = _i64Subtract(0, 0, i3 | 0, i4 | 0) | 0; - i4 = getTempRet0() | 0; - i5 = i26; - HEAP32[i5 >> 2] = i3; - HEAP32[i5 + 4 >> 2] = i4; - i5 = 1; - i6 = 46099; - i13 = 72; - break L79; - } else { - i5 = (i10 & 2049 | 0) != 0 & 1; - i6 = (i10 & 2048 | 0) == 0 ? ((i10 & 1 | 0) == 0 ? 46099 : 46101) : 46100; - i13 = 72; - break L79; - } - } - case 117: - { - i4 = i26; - i5 = 0; - i6 = 46099; - i3 = HEAP32[i4 >> 2] | 0; - i4 = HEAP32[i4 + 4 >> 2] | 0; - i13 = 72; - break; - } - case 99: - { - HEAP8[i17 >> 0] = HEAP32[i26 >> 2]; - i8 = i17; - i5 = 0; - i6 = 46099; - i7 = 1; - i3 = i4; - i2 = i16; - break; - } - case 115: - { - i9 = HEAP32[i26 >> 2] | 0; - i9 = (i9 | 0) == 0 ? 46109 : i9; - i10 = _memchr(i9, 0, i2) | 0; - i32 = (i10 | 0) == 0; - i8 = i9; - i5 = 0; - i6 = 46099; - i7 = i32 ? i2 : i10 - i9 | 0; - i3 = i4; - i2 = i32 ? i9 + i2 | 0 : i10; - break; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24137), 22456), 3289), 314), 3786), 23884), 16); + } + abort(); + abort(); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnresolvedName_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer + -64 | 0; + __stack_pointer = $1; + HEAP32[$1 + 60 >> 2] = 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 48 | 0, 35e3); + $5 = HEAP32[$3 >> 2]; + $6 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 16 >> 2] = $5; + HEAP32[$1 + 20 >> 2] = $6; + label$1: { + label$2: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 16 | 0)) { + $4 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnresolvedType_28_29($0); + HEAP32[$1 + 60 >> 2] = $4; + if (!$4) { + break label$1; + } + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) == 73) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArgs_28bool_29($0, 0); + HEAP32[$1 + 44 >> 2] = $2; + if (!$2) { + break label$2; + } + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 60 | 0, $1 + 44 | 0), + HEAP32[wasm2js_i32$0 + 60 >> 2] = wasm2js_i32$1; } - case 67: - { - HEAP32[i20 >> 2] = HEAP32[i26 >> 2]; - HEAP32[i18 >> 2] = 0; - HEAP32[i26 >> 2] = i20; - i6 = -1; - i13 = 79; + while (1) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSimpleId_28_29($0); + HEAP32[$1 + 44 >> 2] = $2; + if (!$2) { + break label$2; + } + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__QualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 60 | 0, $1 + 44 | 0), + HEAP32[wasm2js_i32$0 + 60 >> 2] = wasm2js_i32$1; + continue; + } break; } - case 83: - { - if (!i2) { - _pad_734(i19, 32, i11, 0, i10); - i2 = 0; - i13 = 89; - } else { - i6 = i2; - i13 = 79; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBaseUnresolvedName_28_29($0); + HEAP32[$1 + 44 >> 2] = $2; + if (!$2) { + break label$2; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__QualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 60 | 0, $1 + 44 | 0); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 32 | 0, 30279); + $6 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 8 >> 2] = $6; + HEAP32[$1 + 12 >> 2] = $5; + $7 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 8 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 24 | 0, 30479); + $5 = HEAP32[$3 >> 2]; + $6 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 >> 2] = $5; + HEAP32[$1 + 4 >> 2] = $6; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBaseUnresolvedName_28_29($0); + HEAP32[$1 + 60 >> 2] = $2; + if (!$2 | $7 ^ 1) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 60 | 0); + break label$1; + } + label$8: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) - 48 >>> 0 <= 9) { + while (1) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSimpleId_28_29($0); + HEAP32[$1 + 44 >> 2] = $2; + if (!$2) { + break label$2; + } + label$11: { + if ($4) { + $4 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__QualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 60 | 0, $1 + 44 | 0); + HEAP32[$1 + 60 >> 2] = $4; + break label$11; + } + if ($7) { + $4 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 44 | 0); + HEAP32[$1 + 60 >> 2] = $4; + break label$11; + } + HEAP32[$1 + 60 >> 2] = $2; + $4 = $2; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + continue; + } + break label$8; } - break; } - case 65: - case 71: - case 70: - case 69: - case 97: - case 103: - case 102: - case 101: - { - i2 = FUNCTION_TABLE_iidiiii[i23 & 1](i19, +HEAPF64[i26 >> 3], i11, i2, i10, i3) | 0; - break L77; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnresolvedType_28_29($0); + HEAP32[$1 + 60 >> 2] = $2; + if (!$2) { + break label$2; } - default: - { - i5 = 0; - i6 = 46099; - i7 = i2; - i3 = i10; - i2 = i16; - } - } while (0); - L102 : do if ((i13 | 0) == 67) { - i7 = i26; - i7 = _fmt_x(HEAP32[i7 >> 2] | 0, HEAP32[i7 + 4 >> 2] | 0, i15, i3 & 32) | 0; - i6 = i26; - i6 = (i4 & 8 | 0) == 0 | (HEAP32[i6 >> 2] | 0) == 0 & (HEAP32[i6 + 4 >> 2] | 0) == 0; - i5 = i6 ? 0 : 2; - i6 = i6 ? 46099 : 46099 + (i3 >>> 4) | 0; - i13 = 73; - } else if ((i13 | 0) == 72) { - i7 = _fmt_u(i3, i4, i15) | 0; - i4 = i10; - i13 = 73; - } else if ((i13 | 0) == 79) { - i13 = 0; - i5 = HEAP32[i26 >> 2] | 0; - i2 = 0; - while (1) { - i3 = HEAP32[i5 >> 2] | 0; - if (!i3) break; - i3 = _wctomb(i21, i3) | 0; - i4 = (i3 | 0) < 0; - if (i4 | i3 >>> 0 > (i6 - i2 | 0) >>> 0) { - i13 = 83; - break; - } - i2 = i3 + i2 | 0; - if (i6 >>> 0 > i2 >>> 0) i5 = i5 + 4 | 0; else break; + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) != 73) { + break label$8; } - if ((i13 | 0) == 83) { - i13 = 0; - if (i4) { - i1 = -1; - break L1; - } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArgs_28bool_29($0, 0); + HEAP32[$1 + 44 >> 2] = $2; + if (!$2) { + break label$2; } - _pad_734(i19, 32, i11, i2, i10); - if (!i2) { - i2 = 0; - i13 = 89; - } else { - i4 = HEAP32[i26 >> 2] | 0; - i5 = 0; - while (1) { - i3 = HEAP32[i4 >> 2] | 0; - if (!i3) { - i13 = 89; - break L102; - } - i3 = _wctomb(i21, i3) | 0; - i5 = i3 + i5 | 0; - if ((i5 | 0) > (i2 | 0)) { - i13 = 89; - break L102; - } - _out_728(i19, i21, i3); - if (i5 >>> 0 >= i2 >>> 0) { - i13 = 89; - break; - } else i4 = i4 + 4 | 0; - } - } - } while (0); - if ((i13 | 0) == 73) { - i13 = 0; - i3 = i26; - i3 = (HEAP32[i3 >> 2] | 0) != 0 | (HEAP32[i3 + 4 >> 2] | 0) != 0; - i32 = (i2 | 0) != 0 | i3; - i3 = i16 - i7 + ((i3 ^ 1) & 1) | 0; - i8 = i32 ? i7 : i15; - i7 = i32 ? ((i2 | 0) > (i3 | 0) ? i2 : i3) : 0; - i3 = (i2 | 0) > -1 ? i4 & -65537 : i4; - i2 = i16; - } else if ((i13 | 0) == 89) { - i13 = 0; - _pad_734(i19, 32, i11, i2, i10 ^ 8192); - i2 = (i11 | 0) > (i2 | 0) ? i11 : i2; - break; + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 60 | 0, $1 + 44 | 0), + HEAP32[wasm2js_i32$0 + 60 >> 2] = wasm2js_i32$1; } - i10 = i2 - i8 | 0; - i9 = (i7 | 0) < (i10 | 0) ? i10 : i7; - i32 = i9 + i5 | 0; - i2 = (i11 | 0) < (i32 | 0) ? i32 : i11; - _pad_734(i19, 32, i2, i32, i3); - _out_728(i19, i6, i5); - _pad_734(i19, 48, i2, i32, i3 ^ 65536); - _pad_734(i19, 48, i9, i10, 0); - _out_728(i19, i8, i10); - _pad_734(i19, 32, i2, i32, i3 ^ 8192); - } while (0); - i4 = i12; - } - L123 : do if ((i13 | 0) == 92) if (!i19) if (!i4) i1 = 0; else { - i1 = 1; - while (1) { - i2 = HEAP32[i30 + (i1 << 2) >> 2] | 0; - if (!i2) break; - _pop_arg_731(i28 + (i1 << 3) | 0, i2, i27, i29); - i1 = i1 + 1 | 0; - if (i1 >>> 0 >= 10) { - i1 = 1; - break L123; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBaseUnresolvedName_28_29($0); + HEAP32[$1 + 44 >> 2] = $2; + if (!$2) { + break label$2; } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__QualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 60 | 0, $1 + 44 | 0); + break label$1; } - while (1) { - if (HEAP32[i30 + (i1 << 2) >> 2] | 0) { - i1 = -1; - break L123; - } - i1 = i1 + 1 | 0; - if (i1 >>> 0 >= 10) { - i1 = 1; - break; - } + $2 = 0; + } + __stack_pointer = $1 - -64 | 0; + return $2; +} + +function std____2____next_prime_28unsigned_20long_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = $0; + label$1: { + if ($0 >>> 0 <= 211) { + $3 = HEAP32[unsigned_20int_20const__20std____2__lower_bound_unsigned_20int_20const__2c_20unsigned_20long__28unsigned_20int_20const__2c_20unsigned_20int_20const__2c_20unsigned_20long_20const__29(52768, 52960, $4 + 12 | 0) >> 2]; + break label$1; } - } while (0); - STACKTOP = i31; - return i1 | 0; -} - -function __ZN6vision22bilinear_interpolationIffEET0_PKT_mmmff(i3, i4, i6, i8, d1, d2) { - i3 = i3 | 0; - i4 = i4 | 0; - i6 = i6 | 0; - i8 = i8 | 0; - d1 = +d1; - d2 = +d2; - var d5 = 0.0, d7 = 0.0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, d17 = 0.0, d18 = 0.0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i12 = i14; - i13 = ~~+Math_floor(+d1); - if ((i13 | 0) != (~~d1 | 0)) { - i11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23235) | 0, 23287) | 0, 33528) | 0, 69) | 0, 33535) | 0, 23399) | 0; - __ZNKSt3__28ios_base6getlocEv(i12, i11 + (HEAP32[(HEAP32[i11 >> 2] | 0) + -12 >> 2] | 0) | 0); - i10 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57916) | 0; - i10 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i10 >> 2] | 0) + 28 >> 2] & 63](i10, 10) | 0; - __ZNSt3__26localeD2Ev(i12); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i11, i10) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i11) | 0; - _abort(); - } - i10 = ~~+Math_floor(+d2); - if ((i10 | 0) != (~~d2 | 0)) { - i11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23429) | 0, 23287) | 0, 33528) | 0, 70) | 0, 33535) | 0, 23399) | 0; - __ZNKSt3__28ios_base6getlocEv(i12, i11 + (HEAP32[(HEAP32[i11 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i12); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i11, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i11) | 0; - _abort(); - } - i11 = i13 + 1 | 0; - i9 = i10 + 1 | 0; - if (!((i10 | 0) > -1 & i10 >>> 0 < i6 >>> 0)) { - i15 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23481) | 0, 23287) | 0, 33528) | 0, 79) | 0, 33535) | 0, 23527) | 0; - __ZNKSt3__28ios_base6getlocEv(i12, i15 + (HEAP32[(HEAP32[i15 >> 2] | 0) + -12 >> 2] | 0) | 0); - i16 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57916) | 0; - i16 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i16 >> 2] | 0) + 28 >> 2] & 63](i16, 10) | 0; - __ZNSt3__26localeD2Ev(i12); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i15, i16) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i15) | 0; - _abort(); - } - if (i9 >>> 0 >= i6 >>> 0) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23544) | 0, 23287) | 0, 33528) | 0, 80) | 0, 33535) | 0, 23604) | 0; - __ZNKSt3__28ios_base6getlocEv(i12, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i15 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57916) | 0; - i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i15 >> 2] | 0) + 28 >> 2] & 63](i15, 10) | 0; - __ZNSt3__26localeD2Ev(i12); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i15) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } - if (!((i13 | 0) > -1 & i13 >>> 0 < i4 >>> 0)) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23628) | 0, 23287) | 0, 33528) | 0, 81) | 0, 33535) | 0, 23673) | 0; - __ZNKSt3__28ios_base6getlocEv(i12, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i15 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57916) | 0; - i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i15 >> 2] | 0) + 28 >> 2] & 63](i15, 10) | 0; - __ZNSt3__26localeD2Ev(i12); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i15) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } - if (i11 >>> 0 >= i4 >>> 0) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23690) | 0, 23287) | 0, 33528) | 0, 82) | 0, 33535) | 0, 23749) | 0; - __ZNKSt3__28ios_base6getlocEv(i12, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i15 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57916) | 0; - i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i15 >> 2] | 0) + 28 >> 2] & 63](i15, 10) | 0; - __ZNSt3__26localeD2Ev(i12); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i15) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } - i4 = i3 + (Math_imul(i10, i8) | 0) | 0; - i3 = i4 + i8 | 0; - d18 = +(i11 | 0) - d1; - d5 = +(i9 | 0) - d2; - d7 = d18 * d5; - d17 = d1 - +(i13 | 0); - d5 = d17 * d5; - d2 = d2 - +(i10 | 0); - d1 = d18 * d2; - d2 = d17 * d2; - if (!(d7 >= 0.0) | !(d7 <= 1.0001)) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23773) | 0, 23287) | 0, 33528) | 0, 94) | 0, 33535) | 0, 23820) | 0; - __ZNKSt3__28ios_base6getlocEv(i12, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i15 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57916) | 0; - i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i15 >> 2] | 0) + 28 >> 2] & 63](i15, 10) | 0; - __ZNSt3__26localeD2Ev(i12); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i15) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } - if (!(d5 >= 0.0) | !(d5 <= 1.0001)) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23833) | 0, 23287) | 0, 33528) | 0, 95) | 0, 33535) | 0, 23820) | 0; - __ZNKSt3__28ios_base6getlocEv(i12, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i15 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57916) | 0; - i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i15 >> 2] | 0) + 28 >> 2] & 63](i15, 10) | 0; - __ZNSt3__26localeD2Ev(i12); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i15) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } - if (!(d1 >= 0.0) | !(d1 <= 1.0001)) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23880) | 0, 23287) | 0, 33528) | 0, 96) | 0, 33535) | 0, 23820) | 0; - __ZNKSt3__28ios_base6getlocEv(i12, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i15 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57916) | 0; - i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i15 >> 2] | 0) + 28 >> 2] & 63](i15, 10) | 0; - __ZNSt3__26localeD2Ev(i12); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i15) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } - if (!(d2 >= 0.0) | !(d2 <= 1.0001)) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23927) | 0, 23287) | 0, 33528) | 0, 97) | 0, 33535) | 0, 23820) | 0; - __ZNKSt3__28ios_base6getlocEv(i12, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i15 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57916) | 0; - i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i15 >> 2] | 0) + 28 >> 2] & 63](i15, 10) | 0; - __ZNSt3__26localeD2Ev(i12); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i15) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } - if (!(d2 + (d1 + (d7 + d5)) <= 1.0001)) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23974) | 0, 23287) | 0, 33528) | 0, 98) | 0, 33535) | 0, 23820) | 0; - __ZNKSt3__28ios_base6getlocEv(i12, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i15 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57916) | 0; - i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i15 >> 2] | 0) + 28 >> 2] & 63](i15, 10) | 0; - __ZNSt3__26localeD2Ev(i12); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i15) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } else { - STACKTOP = i14; - return +(d7 * +HEAPF32[i4 + (i13 << 2) >> 2] + d5 * +HEAPF32[i4 + (i11 << 2) >> 2] + d1 * +HEAPF32[i3 + (i13 << 2) >> 2] + d2 * +HEAPF32[i3 + (i11 << 2) >> 2]); - } - return +(0.0); -} - -function _decfloat(i23, i2, i26, i25, i24, i20) { - i23 = i23 | 0; - i2 = i2 | 0; - i26 = i26 | 0; - i25 = i25 | 0; - i24 = i24 | 0; - i20 = i20 | 0; - var d1 = 0.0, i3 = 0, d4 = 0.0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, d10 = 0.0, d11 = 0.0, i12 = 0, d13 = 0.0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i21 = 0, i22 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, d31 = 0.0; - i30 = STACKTOP; - STACKTOP = STACKTOP + 512 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(512); - i27 = i30; - i28 = i25 + i26 | 0; - i29 = 0 - i28 | 0; - i22 = i23 + 4 | 0; - i21 = i23 + 104 | 0; - i3 = 0; - L1 : while (1) { - switch (i2 | 0) { - case 46: - { - i18 = 7; - break L1; - } - case 48: - break; - default: - { - i14 = 0; - i9 = i3; - i3 = 0; - i8 = 0; - break L1; - } - } - i2 = HEAP32[i22 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 >> 2] | 0) >>> 0) { - HEAP32[i22 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i23) | 0; - i3 = 1; - } - if ((i18 | 0) == 7) { - i2 = HEAP32[i22 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 >> 2] | 0) >>> 0) { - HEAP32[i22 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i23) | 0; - if ((i2 | 0) == 48) { - i3 = 0; - i2 = 0; - while (1) { - i3 = _i64Add(i3 | 0, i2 | 0, -1, -1) | 0; - i8 = getTempRet0() | 0; - i2 = HEAP32[i22 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 >> 2] | 0) >>> 0) { - HEAP32[i22 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i23) | 0; - if ((i2 | 0) == 48) i2 = i8; else { - i14 = 1; - i9 = 1; - break; - } - } - } else { - i14 = 1; - i9 = i3; - i3 = 0; - i8 = 0; - } - } - HEAP32[i27 >> 2] = 0; - i7 = i2 + -48 | 0; - i6 = (i2 | 0) == 46; - L22 : do if (i6 | i7 >>> 0 < 10) { - i19 = i27 + 496 | 0; - i15 = 0; - i5 = 0; - i12 = 0; - i16 = i14; - i17 = i9; - i18 = i7; - i9 = 0; - i7 = 0; - L24 : while (1) { - do if (i6) if (!i16) { - i16 = 1; - i3 = i9; - i8 = i7; - } else break L24; else { - i9 = _i64Add(i9 | 0, i7 | 0, 1, 0) | 0; - i7 = getTempRet0() | 0; - i14 = (i2 | 0) != 48; - if ((i5 | 0) >= 125) { - if (!i14) break; - HEAP32[i19 >> 2] = HEAP32[i19 >> 2] | 1; + std____2__enable_if_4ul_20___204_2c_20void___type_20std____2____check_for_overflow_4ul__28unsigned_20long_29($0); + $5 = ($0 >>> 0) / 210 | 0; + $3 = Math_imul($5, 210); + HEAP32[$4 + 8 >> 2] = $0 - $3; + $6 = unsigned_20int_20const__20std____2__lower_bound_unsigned_20int_20const__2c_20unsigned_20long__28unsigned_20int_20const__2c_20unsigned_20int_20const__2c_20unsigned_20long_20const__29(52960, 53152, $4 + 8 | 0) - 52960 >> 2; + while (1) { + $3 = HEAP32[($6 << 2) + 52960 >> 2] + $3 | 0; + $0 = 5; + label$4: { + while (1) { + label$6: { + if (($0 | 0) == 47) { + $0 = 211; + while (1) { + $1 = ($3 >>> 0) / ($0 >>> 0) | 0; + if ($1 >>> 0 < $0 >>> 0) { + break label$4; + } + if ((Math_imul($0, $1) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 10 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 12 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 16 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 18 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 22 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 28 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 30 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 36 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 40 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 42 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 46 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 52 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 58 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 60 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 66 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 70 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 72 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 78 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 82 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 88 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 96 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 100 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 102 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 106 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 108 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 112 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 120 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 126 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 130 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 136 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 138 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 142 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 148 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 150 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 156 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 162 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 166 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 168 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 172 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 178 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 180 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 186 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 190 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 192 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 196 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 198 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + if ((Math_imul($1, $2) | 0) == ($3 | 0)) { + break label$6; + } + $1 = $0 + 208 | 0; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + $0 = $0 + 210 | 0; + if ((Math_imul($1, $2) | 0) != ($3 | 0)) { + continue; + } + break; + } + break label$6; + } + $1 = HEAP32[($0 << 2) + 52768 >> 2]; + $2 = ($3 >>> 0) / ($1 >>> 0) | 0; + if ($1 >>> 0 > $2 >>> 0) { + break label$4; + } + $0 = $0 + 1 | 0; + if ((Math_imul($1, $2) | 0) != ($3 | 0)) { + continue; + } + } break; } - i6 = i27 + (i5 << 2) | 0; - if (!i15) i2 = i18; else i2 = i2 + -48 + ((HEAP32[i6 >> 2] | 0) * 10 | 0) | 0; - HEAP32[i6 >> 2] = i2; - i15 = i15 + 1 | 0; - i17 = (i15 | 0) == 9; - i15 = i17 ? 0 : i15; - i5 = i5 + (i17 & 1) | 0; - i12 = i14 ? i9 : i12; - i17 = 1; - } while (0); - i2 = HEAP32[i22 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i21 >> 2] | 0) >>> 0) { - HEAP32[i22 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i23) | 0; - i18 = i2 + -48 | 0; - i6 = (i2 | 0) == 46; - if (!(i6 | i18 >>> 0 < 10)) { - i14 = i16; - i6 = i17; - i18 = 31; - break L22; - } - } - i2 = i15; - i6 = (i17 | 0) != 0; - i18 = 39; - } else { - i15 = 0; - i5 = 0; - i12 = 0; - i6 = i9; - i9 = 0; - i7 = 0; - i18 = 31; - } while (0); - do if ((i18 | 0) == 31) { - i19 = (i14 | 0) == 0; - i3 = i19 ? i9 : i3; - i8 = i19 ? i7 : i8; - i6 = (i6 | 0) != 0; - if (!(i6 & (i2 | 32 | 0) == 101)) if ((i2 | 0) > -1) { - i2 = i15; - i18 = 39; - break; - } else { - i2 = i15; - i18 = 41; - break; - } - i6 = _scanexp(i23, i20) | 0; - i2 = getTempRet0() | 0; - if ((i6 | 0) == 0 & (i2 | 0) == -2147483648) { - if (!i20) { - ___shlim(i23, 0, 0); - d1 = 0.0; - break; + $0 = $6 + 1 | 0; + $1 = $0; + $0 = ($0 | 0) == 48; + $6 = $0 ? 0 : $1; + $5 = $0 + $5 | 0; + $3 = Math_imul($5, 210); + continue; } - if (!(HEAP32[i21 >> 2] | 0)) { - i6 = 0; - i2 = 0; - } else { - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + -1; - i6 = 0; - i2 = 0; - } - } - i3 = _i64Add(i6 | 0, i2 | 0, i3 | 0, i8 | 0) | 0; - i2 = i15; - i8 = getTempRet0() | 0; - i18 = 43; - } while (0); - if ((i18 | 0) == 39) if (HEAP32[i21 >> 2] | 0) { - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + -1; - if (i6) i18 = 43; else i18 = 42; - } else i18 = 41; - if ((i18 | 0) == 41) if (i6) i18 = 43; else i18 = 42; - do if ((i18 | 0) == 42) { - i29 = ___errno_location() | 0; - HEAP32[i29 >> 2] = 22; - ___shlim(i23, 0, 0); - d1 = 0.0; - } else if ((i18 | 0) == 43) { - i6 = HEAP32[i27 >> 2] | 0; - if (!i6) { - d1 = +(i24 | 0) * 0.0; - break; - } - if (((i7 | 0) < 0 | (i7 | 0) == 0 & i9 >>> 0 < 10) & ((i3 | 0) == (i9 | 0) & (i8 | 0) == (i7 | 0)) ? (i26 | 0) > 30 | (i6 >>> i26 | 0) == 0 : 0) { - d1 = +(i24 | 0) * +(i6 >>> 0); - break; - } - i23 = (i25 | 0) / -2 | 0; - i22 = ((i23 | 0) < 0) << 31 >> 31; - if ((i8 | 0) > (i22 | 0) | (i8 | 0) == (i22 | 0) & i3 >>> 0 > i23 >>> 0) { - i29 = ___errno_location() | 0; - HEAP32[i29 >> 2] = 34; - d1 = +(i24 | 0) * 1797693134862315708145274.0e284 * 1797693134862315708145274.0e284; - break; - } - i23 = i25 + -106 | 0; - i22 = ((i23 | 0) < 0) << 31 >> 31; - if ((i8 | 0) < (i22 | 0) | (i8 | 0) == (i22 | 0) & i3 >>> 0 < i23 >>> 0) { - i29 = ___errno_location() | 0; - HEAP32[i29 >> 2] = 34; - d1 = +(i24 | 0) * 2.2250738585072014e-308 * 2.2250738585072014e-308; break; } - if (i2) { - if ((i2 | 0) < 9) { - i7 = i27 + (i5 << 2) | 0; - i6 = HEAP32[i7 >> 2] | 0; + HEAP32[$4 + 12 >> 2] = $3; + } + __stack_pointer = $4 + 16 | 0; + return $3; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFunctionType_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 128 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseCVQualifiers_28_29($0), + HEAP32[wasm2js_i32$0 + 124 >> 2] = wasm2js_i32$1; + HEAP32[$1 + 120 >> 2] = 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 112 | 0, 30942); + $4 = HEAP32[$3 >> 2]; + $2 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 48 >> 2] = $4; + HEAP32[$1 + 52 >> 2] = $2; + label$1: { + label$2: { + label$3: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 48 | 0)) { + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b9_5d__28char_20const_20_28__29_20_5b9_5d_29($0, 29479), + HEAP32[wasm2js_i32$0 + 120 >> 2] = wasm2js_i32$1; + break label$3; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 104 | 0, 34997); + $2 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 40 >> 2] = $2; + HEAP32[$1 + 44 >> 2] = $4; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 40 | 0)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 88 >> 2] = $2; + if (!$2) { + break label$2; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$2; + } + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NoexceptSpec_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 88 | 0), + HEAP32[wasm2js_i32$0 + 120 >> 2] = wasm2js_i32$1; + break label$3; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 96 | 0, 28610); + $4 = HEAP32[$3 >> 2]; + $2 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 32 >> 2] = $4; + HEAP32[$1 + 36 >> 2] = $2; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 32 | 0)) { + break label$3; + } + $5 = $0 + 8 | 0; + $6 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($5); while (1) { - i6 = i6 * 10 | 0; - if ((i2 | 0) >= 8) break; else i2 = i2 + 1 | 0; - } - HEAP32[i7 >> 2] = i6; - } - i5 = i5 + 1 | 0; - } - if ((i12 | 0) < 9 ? (i12 | 0) <= (i3 | 0) & (i3 | 0) < 18 : 0) { - if ((i3 | 0) == 9) { - d1 = +(i24 | 0) * +((HEAP32[i27 >> 2] | 0) >>> 0); - break; - } - if ((i3 | 0) < 9) { - d1 = +(i24 | 0) * +((HEAP32[i27 >> 2] | 0) >>> 0) / +(HEAP32[4464 + (8 - i3 << 2) >> 2] | 0); - break; - } - i23 = i26 + 27 + (Math_imul(i3, -3) | 0) | 0; - i2 = HEAP32[i27 >> 2] | 0; - if ((i23 | 0) > 30 | (i2 >>> i23 | 0) == 0) { - d1 = +(i24 | 0) * +(i2 >>> 0) * +(HEAP32[4464 + (i3 + -10 << 2) >> 2] | 0); - break; - } - } - i2 = (i3 | 0) % 9 | 0; - if (!i2) i6 = 0; else { - i12 = (i3 | 0) > -1 ? i2 : i2 + 9 | 0; - i8 = HEAP32[4464 + (8 - i12 << 2) >> 2] | 0; - if (i5) { - i9 = 1e9 / (i8 | 0) | 0; - i7 = 0; - i6 = 0; - i2 = 0; - do { - i21 = i27 + (i2 << 2) | 0; - i22 = HEAP32[i21 >> 2] | 0; - i23 = (i22 >>> 0) / (i8 >>> 0) | 0; - i22 = i22 - (Math_imul(i23, i8) | 0) | 0; - i23 = i23 + i7 | 0; - HEAP32[i21 >> 2] = i23; - i7 = Math_imul(i9, i22) | 0; - i23 = (i2 | 0) == (i6 | 0) & (i23 | 0) == 0; - i3 = i23 ? i3 + -9 | 0 : i3; - i6 = i23 ? i6 + 1 & 127 : i6; - i2 = i2 + 1 | 0; - } while ((i2 | 0) != (i5 | 0)); - if (!i7) i2 = i5; else { - HEAP32[i27 + (i5 << 2) >> 2] = i7; - i2 = i5 + 1 | 0; - } - } else { - i6 = 0; - i2 = 0; - } - i5 = i2; - i3 = 9 - i12 + i3 | 0; - } - i2 = 0; - L104 : while (1) { - i14 = (i3 | 0) < 18; - i15 = (i3 | 0) == 18; - i16 = i27 + (i6 << 2) | 0; - while (1) { - if (!i14) { - if (!i15) break L104; - if ((HEAP32[i16 >> 2] | 0) >>> 0 >= 9007199) { - i3 = 18; - break L104; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 88 >> 2] = $2; + if (!$2) { + break label$2; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($5, $1 + 88 | 0); + continue; } + break; } - i7 = 0; - i17 = i5; - i5 = i5 + 127 | 0; - while (1) { - i9 = i5 & 127; - i8 = i27 + (i9 << 2) | 0; - i5 = _bitshift64Shl(HEAP32[i8 >> 2] | 0, 0, 29) | 0; - i5 = _i64Add(i5 | 0, getTempRet0() | 0, i7 | 0, 0) | 0; - i7 = getTempRet0() | 0; - if (i7 >>> 0 > 0 | (i7 | 0) == 0 & i5 >>> 0 > 1e9) { - i12 = ___udivdi3(i5 | 0, i7 | 0, 1e9, 0) | 0; - i23 = ___muldi3(i12 | 0, getTempRet0() | 0, 1e9, 0) | 0; - i5 = _i64Subtract(i5 | 0, i7 | 0, i23 | 0, getTempRet0() | 0) | 0; - getTempRet0() | 0; - } else i12 = 0; - HEAP32[i8 >> 2] = i5; - i23 = (i9 | 0) == (i6 | 0); - i8 = (i9 | 0) != (i17 + 127 & 127 | 0) | i23 ? i17 : (i5 | 0) == 0 ? i9 : i17; - if (i23) break; else { - i7 = i12; - i17 = i8; - i5 = i9 + -1 | 0; - } - } - i2 = i2 + -29 | 0; - if (!i12) i5 = i17; else break; - } - i6 = i6 + 127 & 127; - i5 = i8 + 127 & 127; - i7 = i27 + ((i8 + 126 & 127) << 2) | 0; - if ((i6 | 0) == (i8 | 0)) HEAP32[i7 >> 2] = HEAP32[i7 >> 2] | HEAP32[i27 + (i5 << 2) >> 2]; else i5 = i17; - HEAP32[i27 + (i6 << 2) >> 2] = i12; - i3 = i3 + 9 | 0; - } - L123 : while (1) { - i15 = i5 + 1 & 127; - i16 = i27 + ((i5 + 127 & 127) << 2) | 0; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 + 88 | 0, $0, $6); + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__DynamicExceptionSpec_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1 + 88 | 0), + HEAP32[wasm2js_i32$0 + 120 >> 2] = wasm2js_i32$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 80 | 0, 28212); + $2 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 24 >> 2] = $2; + HEAP32[$1 + 28 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 24 | 0); + $2 = 0; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 70)) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 89); + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 76 >> 2] = $2; + if (!$2) { + break label$2; + } + HEAP8[$1 + 75 | 0] = 0; + $5 = $0 + 8 | 0; + $6 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($5); while (1) { - i9 = (i3 | 0) == 18; - i14 = (i3 | 0) > 27 ? 9 : 1; - i17 = i6; - while (1) { - i8 = 0; - while (1) { - i6 = i8 + i17 & 127; - if ((i6 | 0) == (i5 | 0)) { - i18 = 92; - break; + label$9: { + label$10: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$10; } - i6 = HEAP32[i27 + (i6 << 2) >> 2] | 0; - i7 = HEAP32[14072 + (i8 << 2) >> 2] | 0; - if (i6 >>> 0 < i7 >>> 0) { - i18 = 92; - break; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 118)) { + continue; } - if (i6 >>> 0 > i7 >>> 0) break; - if ((i8 + 1 | 0) >>> 0 < 2) i8 = 1; else { - i18 = 92; - break; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 - -64 | 0, 35652); + $4 = HEAP32[$3 >> 2]; + $2 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 16 >> 2] = $4; + HEAP32[$1 + 20 >> 2] = $2; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 16 | 0)) { + HEAP8[$1 + 75 | 0] = 1; + break label$10; } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 56 | 0, 35655); + $2 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 8 >> 2] = $2; + HEAP32[$1 + 12 >> 2] = $4; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 8 | 0)) { + break label$9; + } + HEAP8[$1 + 75 | 0] = 2; } - if ((i18 | 0) == 92 ? (i18 = 0, i9) : 0) break L123; - i2 = i14 + i2 | 0; - if ((i17 | 0) == (i5 | 0)) i17 = i5; else break; - } - i9 = (1 << i14) + -1 | 0; - i12 = 1e9 >>> i14; - i8 = 0; - i6 = i17; - i7 = i17; - do { - i21 = i27 + (i7 << 2) | 0; - i22 = HEAP32[i21 >> 2] | 0; - i23 = (i22 >>> i14) + i8 | 0; - HEAP32[i21 >> 2] = i23; - i8 = Math_imul(i22 & i9, i12) | 0; - i23 = (i7 | 0) == (i6 | 0) & (i23 | 0) == 0; - i3 = i23 ? i3 + -9 | 0 : i3; - i6 = i23 ? i6 + 1 & 127 : i6; - i7 = i7 + 1 & 127; - } while ((i7 | 0) != (i5 | 0)); - if (i8 | 0) { - if ((i15 | 0) != (i6 | 0)) break; - HEAP32[i16 >> 2] = HEAP32[i16 >> 2] | 1; - } - } - HEAP32[i27 + (i5 << 2) >> 2] = i8; - i5 = i15; - } - d1 = 0.0; - i3 = i5; - i6 = 0; - do { - i7 = i6 + i17 & 127; - i5 = i3 + 1 & 127; - if ((i7 | 0) == (i3 | 0)) { - HEAP32[i27 + (i5 + -1 << 2) >> 2] = 0; - i3 = i5; - } - d1 = d1 * 1.0e9 + +((HEAP32[i27 + (i7 << 2) >> 2] | 0) >>> 0); - i6 = i6 + 1 | 0; - } while ((i6 | 0) != 2); - d13 = +(i24 | 0); - d4 = d1 * d13; - i7 = i2 + 53 | 0; - i8 = i7 - i25 | 0; - i9 = (i8 | 0) < (i26 | 0); - i6 = i9 ? ((i8 | 0) > 0 ? i8 : 0) : i26; - if ((i6 | 0) < 53) { - d31 = +_copysignl(+_scalbn(1.0, 105 - i6 | 0), d4); - d10 = +_fmodl(d4, +_scalbn(1.0, 53 - i6 | 0)); - d11 = d31; - d1 = d10; - d10 = d31 + (d4 - d10); - } else { - d11 = 0.0; - d1 = 0.0; - d10 = d4; - } - i5 = i17 + 2 & 127; - if ((i5 | 0) != (i3 | 0)) { - i5 = HEAP32[i27 + (i5 << 2) >> 2] | 0; - do if (i5 >>> 0 >= 5e8) { - if ((i5 | 0) != 5e8) { - d1 = d13 * .75 + d1; - break; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 + 88 | 0, $0, $6); + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FunctionType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 76 | 0, $1 + 88 | 0, $1 + 124 | 0, $1 + 75 | 0, $1 + 120 | 0); + break label$1; } - if ((i17 + 3 & 127 | 0) == (i3 | 0)) { - d1 = d13 * .5 + d1; - break; - } else { - d1 = d13 * .75 + d1; - break; - } - } else { - if ((i5 | 0) == 0 ? (i17 + 3 & 127 | 0) == (i3 | 0) : 0) break; - d1 = d13 * .25 + d1; - } while (0); - if ((53 - i6 | 0) > 1 ? !(+_fmodl(d1, 1.0) != 0.0) : 0) d4 = d1 + 1.0; else d4 = d1; - } else d4 = d1; - d1 = d10 + d4 - d11; - do if ((i7 & 2147483647 | 0) > (-2 - i28 | 0)) { - i28 = !(+Math_abs(+d1) >= 9007199254740992.0); - i2 = i2 + ((i28 ^ 1) & 1) | 0; - d1 = i28 ? d1 : d1 * .5; - if ((i2 + 50 | 0) <= (i29 | 0) ? !(d4 != 0.0 & (i9 & ((i6 | 0) != (i8 | 0) | i28))) : 0) break; - i29 = ___errno_location() | 0; - HEAP32[i29 >> 2] = 34; - } while (0); - d1 = +_scalbnl(d1, i2); - } while (0); - STACKTOP = i30; - return +d1; -} - -function __ZN10__cxxabiv112_GLOBAL__N_114parse_new_exprINS0_2DbEEEPKcS4_S4_RT_(i19, i4, i13) { - i19 = i19 | 0; - i4 = i4 | 0; - i13 = i13 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i20 = 0, i21 = 0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - i14 = i21 + 88 | 0; - i20 = i21 + 76 | 0; - i17 = i21 + 64 | 0; - i18 = i21 + 40 | 0; - i15 = i21 + 16 | 0; - i12 = i21; - i16 = i21 + 52 | 0; - i3 = i4; - L1 : do if ((i3 - i19 | 0) > 3) { - i1 = HEAP8[i19 >> 0] | 0; - if (i1 << 24 >> 24 == 103) { - i11 = (HEAP8[i19 + 1 >> 0] | 0) == 115; - i1 = i11 ? i19 + 2 | 0 : i19; - i2 = i1; - i1 = HEAP8[i1 >> 0] | 0; - } else { - i11 = 0; - i2 = i19; - } - if (i1 << 24 >> 24 == 110) { - i1 = HEAP8[i2 + 1 >> 0] | 0; - switch (i1 << 24 >> 24) { - case 97: - case 119: - break; - default: - { - i1 = i19; - break L1; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 88 >> 2] = $2; + if (!$2) { + break label$2; } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($5, $1 + 88 | 0); + continue; } - i10 = i1 << 24 >> 24 == 97; - i1 = i2 + 2 | 0; - L8 : do if ((i1 | 0) != (i4 | 0)) { - i9 = 0; + } + $2 = 0; + } + __stack_pointer = $1 + 128 | 0; + return $2; +} + +function embind_init_constant_bindings_28_29() { + var $0 = 0; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + void_20emscripten__function_int_2c_20int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_2c_20int_29_29(30832, 42); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(30945, 43); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(37615, 44); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(30367, 45); + void_20emscripten__function_int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28char_20const__2c_20int_20_28__29_28int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___29_29(30653, 46); + void_20emscripten__function_int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28char_20const__2c_20int_20_28__29_28int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___29_29(30618, 47); + void_20emscripten__function_int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28char_20const__2c_20int_20_28__29_28int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___29_29(30693, 48); + void_20emscripten__function_int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_29_29(31265, 49); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(29488, 50); + void_20emscripten__function_int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28char_20const__2c_20int_20_28__29_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___29_29(34328, 51); + void_20emscripten__function_int_2c_20int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_2c_20int_29_29(30530, 52); + void_20emscripten__function_int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_29_29(28183, 53); + void_20emscripten__function_int_2c_20int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_2c_20int_29_29(31821, 54); + void_20emscripten__function_int_2c_20int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_2c_20int_29_29(29508, 55); + void_20emscripten__function_int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_29_29(31839, 56); + void_20emscripten__function_int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_29_29(29317, 57); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(30605, 58); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(31252, 59); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(30677, 60); + void_20emscripten__function_int_2c_20int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_2c_20int_29_29(30634, 61); + void_20emscripten__function_int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_29_29(30595, 62); + void_20emscripten__function_int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_29_29(30664, 63); + void_20emscripten__function_int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_29_29(32576, 64); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(32589, 65); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(32380, 66); + void_20emscripten__function_void_2c_20int__28char_20const__2c_20void_20_28__29_28int_29_29(31440, 67); + void_20emscripten__function_int__28char_20const__2c_20int_20_28__29_28_29_29(31452, 68); + void_20emscripten__function_void_2c_20int_2c_20double__28char_20const__2c_20void_20_28__29_28int_2c_20double_29_29(31903, 69); + void_20emscripten__function_double_2c_20int__28char_20const__2c_20double_20_28__29_28int_29_29(31926, 70); + void_20emscripten__function_void_2c_20int_2c_20double__28char_20const__2c_20void_20_28__29_28int_2c_20double_29_29(31949, 71); + void_20emscripten__function_double_2c_20int__28char_20const__2c_20double_20_28__29_28int_29_29(31971, 72); + void_20emscripten__function_void_2c_20int_2c_20int__28char_20const__2c_20void_20_28__29_28int_2c_20int_29_29(32634, 73); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(32651, 74); + void_20emscripten__function_void_2c_20int_2c_20int__28char_20const__2c_20void_20_28__29_28int_2c_20int_29_29(32754, 75); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(32767, 76); + void_20emscripten__function_void_2c_20int_2c_20int__28char_20const__2c_20void_20_28__29_28int_2c_20int_29_29(32528, 77); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(32552, 78); + void_20emscripten__function_void_2c_20int_2c_20float__28char_20const__2c_20void_20_28__29_28int_2c_20float_29_29(30913, 79); + void_20emscripten__function_double_2c_20int__28char_20const__2c_20double_20_28__29_28int_29_29(30926, 80); + void_20emscripten__function_void_2c_20int_2c_20int__28char_20const__2c_20void_20_28__29_28int_2c_20int_29_29(31862, 81); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(31880, 82); + void_20emscripten__function_void_2c_20int_2c_20int__28char_20const__2c_20void_20_28__29_28int_2c_20int_29_29(32602, 83); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(32618, 84); + void_20emscripten__function_void_2c_20int_2c_20int__28char_20const__2c_20void_20_28__29_28int_2c_20int_29_29(32668, 85); + void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29(32685, 86); + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35971, 74268); + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(36e3, 74276); + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34798, 74272); + HEAP32[$0 + 8 >> 2] = 0; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35691, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 1; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35708, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 0; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35844, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 0; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35133, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 1; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35108, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 1; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35866, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 100; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35404, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 0; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35724, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 1; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35750, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 0; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35891, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 0; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34901, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 1; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34931, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 2; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35036, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 3; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34511, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 4; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34549, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 0; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35776, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 0; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34434, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 1; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34458, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 2; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(37588, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 2; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35810, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 5; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34674, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 + 12 >> 2] = 1071644672; + void_20emscripten__constant_double__28char_20const__2c_20double_20const__29(35383, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 0; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35431, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 1; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34957, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 2; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35018, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 3; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34843, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 4; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34975, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 3; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(37504, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 515; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(37559, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 259; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(37447, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 4; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(37475, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 772; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(37529, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 1028; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(37417, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 0; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35290, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 1; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35162, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 2; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34589, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 3; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35614, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 0; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35658, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 1; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35061, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 2; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(36080, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 3; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34631, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 4; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(36028, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 5; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35239, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 6; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35918, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 7; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34862, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 8; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(35338, $0 + 8 | 0); + HEAP32[$0 + 8 >> 2] = 9; + void_20emscripten__constant_int__28char_20const__2c_20int_20const__29(34735, $0 + 8 | 0); + __stack_pointer = $0 + 16 | 0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________rehash_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___________alloc_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________get_deleter_28_29($0)); + label$1: { + if ($1) { + std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______29($0, std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________allocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________2c_20unsigned_20long_29($2, $1)); + wasm2js_i32$0 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________size_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________get_deleter_28_29($0)), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = 0; + while (1) if (($1 | 0) == ($2 | 0)) { + $2 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______first_28_29($0 + 8 | 0)); + $3 = HEAP32[$2 >> 2]; + if (!$3) { + break label$1; + } + $7 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_28_29_20const($3), $1); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $7), + wasm2js_i32$1 = $2, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; while (1) { - if ((HEAP8[i1 >> 0] | 0) == 95) break; - i2 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - if ((i2 | 0) == (i1 | 0) | (i2 | 0) == (i4 | 0)) break L8; else { - i9 = 1; - i1 = i2; - } - } - i7 = i1 + 1 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i7, i4, i13) | 0; - if (!((i2 | 0) == (i7 | 0) | (i2 | 0) == (i4 | 0))) { - i1 = HEAP8[i2 >> 0] | 0; - L15 : do if (!((i3 - i2 | 0) > 2 & i1 << 24 >> 24 == 112)) if (i1 << 24 >> 24 == 69) { - i6 = 0; - i7 = i2; - } else break L8; else { - if ((HEAP8[i2 + 1 >> 0] | 0) != 105) break L8; - i1 = i2 + 2 | 0; + $4 = HEAP32[$3 >> 2]; + if (!$4) { + break label$1; + } + label$6: { + $5 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_28_29_20const($4), $1); + if (($7 | 0) == ($5 | 0)) { + break label$6; + } + $6 = $4; + if (!HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2]) { + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5), + wasm2js_i32$1 = $3, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $7 = $5; + break label$6; + } while (1) { - if ((HEAP8[i1 >> 0] | 0) == 69) { - i6 = 1; - i7 = i1; - break L15; - } - i7 = i1; - i1 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i13) | 0; - if ((i1 | 0) == (i7 | 0) | (i1 | 0) == (i4 | 0)) break L8; - } - } while (0); - HEAP32[i20 >> 2] = 0; - HEAP32[i20 + 4 >> 2] = 0; - HEAP32[i20 + 8 >> 2] = 0; - i1 = 0; + label$9: { + $2 = $6; + if (!HEAP32[$2 >> 2]) { + $6 = 0; + break label$9; + } + $8 = std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const__2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______key_eq_28_29($0), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________upcast_28_29($4) + 8 | 0, std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________upcast_28_29(HEAP32[$2 >> 2]) + 8 | 0); + $6 = HEAP32[$2 >> 2]; + if ($8) { + continue; + } + } + break; + } + HEAP32[$3 >> 2] = $6; + wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2] >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2], + wasm2js_i32$1 = $4, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + continue; + } + $3 = $4; + continue; + } + } else { + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $2), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = $2 + 1 | 0; + continue; + } + } + std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______29($0, 0); + wasm2js_i32$0 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________size_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________get_deleter_28_29($0)), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnnamedTypeName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $2 = __stack_pointer - 160 | 0; + __stack_pointer = $2; + if ($1) { + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___clear_28_29($0 + 332 | 0); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 152 | 0, 29808); + $4 = HEAP32[$3 >> 2]; + $1 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 24 >> 2] = $4; + HEAP32[$2 + 28 >> 2] = $1; + label$2: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 24 | 0)) { + $1 = 0; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($2 + 72 | 0, $0, 0); + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__UnnamedTypeName_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $2 + 72 | 0); + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 144 | 0, 31495); + $1 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = $4; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 16 | 0)) { + $4 = $0 + 332 | 0; + $7 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_unsigned_20long___SwapAndRestore_28unsigned_20long__2c_20unsigned_20long_29($2 + 128 | 0, $0 + 392 | 0, $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___size_28_29_20const($4)); + $8 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___ScopedTemplateParamList__ScopedTemplateParamList_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___29($2 + 72 | 0, $0); + $5 = $0 + 8 | 0; + $6 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($5); + label$5: { + label$6: { while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i20 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - if (i6) { - i3 = i13 + 4 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if ((HEAP32[i13 >> 2] | 0) == (i1 | 0)) { - i1 = i19; - i2 = 1; - } else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i17, i1 + -24 | 0); - i1 = i20 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i8 = HEAP32[i20 >> 2] | 0; - HEAP8[i14 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i8, i14); - HEAP32[i20 + 4 >> 2] = 0; - } else { - HEAP8[i14 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i20, i14); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i20); - HEAP32[i20 >> 2] = HEAP32[i17 >> 2]; - HEAP32[i20 + 4 >> 2] = HEAP32[i17 + 4 >> 2]; - HEAP32[i20 + 8 >> 2] = HEAP32[i17 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i17 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; + label$8: { + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) != 84) { + break label$8; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i2 = HEAP32[i3 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i8 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i8 * 24 | 0) | 0); - i1 = i8; + if (($28anonymous_20namespace_29__itanium_demangle__StringView__find_28char_2c_20unsigned_20long_29_20const($28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 - -64 | 0, 30962), $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1)) | 0) == -1) { + break label$8; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParamDecl_28_29($0); + HEAP32[$2 + 64 >> 2] = $1; + if (!$1) { + break label$6; } - i1 = i2 + -24 | 0; - HEAP32[i3 >> 2] = i1; - i5 = i13; - i8 = 33; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($5, $2 - -64 | 0); + continue; } - } else { - i1 = i13 + 4 | 0; - i3 = i1; - i5 = i13; - i1 = HEAP32[i1 >> 2] | 0; - i8 = 33; - } - if ((i8 | 0) == 33) if ((HEAP32[i5 >> 2] | 0) == (i1 | 0)) { - i1 = i19; - i2 = 1; - } else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i17, i1 + -24 | 0); - i4 = HEAP32[i3 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i2 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4 + (i2 * 24 | 0) | 0); - i1 = i2; - } - i2 = i4 + -24 | 0; - HEAP32[i3 >> 2] = i2; - HEAP32[i18 >> 2] = 0; - HEAP32[i18 + 4 >> 2] = 0; - HEAP32[i18 + 8 >> 2] = 0; - i1 = 0; + break; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($2 - -64 | 0, $0, $6); + if ($28anonymous_20namespace_29__itanium_demangle__NodeArray__empty_28_29_20const($2 - -64 | 0)) { + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___pop_back_28_29($4); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 56 | 0, 35607); + $4 = HEAP32[$3 >> 2]; + $1 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $1; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2)) { while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i18 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - if (i9) if ((HEAP32[i5 >> 2] | 0) == (i2 | 0)) { - i1 = i19; - i2 = 1; - } else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i15, i4 + -48 | 0); - i1 = i18 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i8 = HEAP32[i18 >> 2] | 0; - HEAP8[i14 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i8, i14); - HEAP32[i18 + 4 >> 2] = 0; - } else { - HEAP8[i14 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i18, i14); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i18); - HEAP32[i18 >> 2] = HEAP32[i15 >> 2]; - HEAP32[i18 + 4 >> 2] = HEAP32[i15 + 4 >> 2]; - HEAP32[i18 + 8 >> 2] = HEAP32[i15 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i15 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$2 + 48 >> 2] = $1; + if (!$1) { + break label$6; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - i2 = HEAP32[i3 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i8 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i8 * 24 | 0) | 0); - i1 = i8; - } - HEAP32[i3 >> 2] = i2 + -24; - i8 = 52; - } else i8 = 52; - if ((i8 | 0) == 52) { - HEAP32[i14 >> 2] = 0; - HEAP32[i14 + 4 >> 2] = 0; - HEAP32[i14 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i14 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - if (i11) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6assignEPKc(i14, 49741); - if (i10) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i14, 49951) | 0; else __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i14, 49701) | 0; - if (i9) { - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i12, 49669, i18); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i12, 49955) | 0; - HEAP32[i15 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i15 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i15 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i11 = HEAP8[i15 + 11 >> 0] | 0; - i10 = i11 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i14, i10 ? HEAP32[i15 >> 2] | 0 : i15, i10 ? HEAP32[i15 + 4 >> 2] | 0 : i11 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - } - i11 = HEAP8[i17 + 11 >> 0] | 0; - i10 = i11 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i14, i10 ? HEAP32[i17 >> 2] | 0 : i17, i10 ? HEAP32[i17 + 4 >> 2] | 0 : i11 & 255) | 0; - if (i6) { - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i12, 49664, i20); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i12, 49667) | 0; - HEAP32[i15 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i15 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i15 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i11 = HEAP8[i15 + 11 >> 0] | 0; - i10 = i11 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i14, i10 ? HEAP32[i15 >> 2] | 0 : i15, i10 ? HEAP32[i15 + 4 >> 2] | 0 : i11 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - }; - HEAP32[i16 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i16 + 4 >> 2] = HEAP32[i14 + 4 >> 2]; - HEAP32[i16 + 8 >> 2] = HEAP32[i14 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i14 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i15, i16); - i1 = HEAP32[i3 >> 2] | 0; - if (i1 >>> 0 < (HEAP32[i13 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i1, i15); - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i13, i15); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i15); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i16); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - i1 = i7 + 1 | 0; - i2 = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i18); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i20); - if (!i2) break L1; - } - } while (0); - i1 = i19; - } else i1 = i19; - } else i1 = i19; while (0); - STACKTOP = i21; - return i1 | 0; -} - -function _arGetTransMatMultiSquare2(i20, i23, i12, i25, i18) { - i20 = i20 | 0; - i23 = i23 | 0; - i12 = i12 | 0; - i25 = i25 | 0; - i18 = i18 | 0; - var d1 = 0.0, i2 = 0, i3 = 0, i4 = 0, d5 = 0.0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i19 = 0, i21 = 0, i22 = 0, i24 = 0, i26 = 0, i27 = 0; - i27 = STACKTOP; - STACKTOP = STACKTOP + 208 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); - i17 = i27 + 200 | 0; - i16 = i27 + 192 | 0; - i21 = i27 + 96 | 0; - i19 = i27; - i22 = i25 + 4 | 0; - i2 = HEAP32[i22 >> 2] | 0; - i15 = i25 + 112 | 0; - i9 = i25 + 120 | 0; - i8 = 0; - while (1) { - if ((i8 | 0) >= (i2 | 0)) break; - i10 = HEAP32[i25 >> 2] | 0; - i11 = i10 + (i8 * 320 | 0) | 0; - if (!(HEAP32[i10 + (i8 * 320 | 0) + 4 >> 2] | 0)) { - i3 = -1; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i12 | 0)) break; - if ((HEAP32[i23 + (i4 << 8) + 8 >> 2] | 0) == (HEAP32[i11 >> 2] | 0) ? (d5 = +HEAPF64[i23 + (i4 << 8) + 40 >> 3], !(d5 < +HEAPF64[i15 >> 3])) : 0) if (!((i3 | 0) != -1 ? !(+HEAPF64[i23 + (i3 << 8) + 40 >> 3] < d5) : 0)) i3 = i4; - i4 = i4 + 1 | 0; - } - HEAP32[i10 + (i8 * 320 | 0) + 304 >> 2] = i3; - if ((i3 | 0) > -1) HEAP32[i23 + (i3 << 8) + 16 >> 2] = HEAP32[i23 + (i3 << 8) + 20 >> 2]; - } else { - i7 = i10 + (i8 * 320 | 0) + 312 | 0; - i6 = 0; - i3 = -1; - while (1) { - if ((i6 | 0) >= (i12 | 0)) break; - i4 = HEAP32[i23 + (i6 << 8) + 12 >> 2] | 0; - if ((i4 | 0) == 0 ? (i14 = i23 + (i6 << 8) + 248 | 0, i13 = HEAP32[i14 >> 2] | 0, i14 = HEAP32[i14 + 4 >> 2] | 0, !((i13 | 0) == 0 & (i14 | 0) == 0)) : 0) { - i4 = i7; - if ((i13 | 0) == (HEAP32[i4 >> 2] | 0) ? (i14 | 0) == (HEAP32[i4 + 4 >> 2] | 0) : 0) i26 = 20; - } else if ((i4 | 0) == (HEAP32[i11 >> 2] | 0)) i26 = 20; - if ((i26 | 0) == 20) { - i26 = 0; - d1 = +HEAPF64[i23 + (i6 << 8) + 48 >> 3]; - if (!(d1 < +HEAPF64[i9 >> 3])) if (!((i3 | 0) != -1 ? !(+HEAPF64[i23 + (i3 << 8) + 48 >> 3] < d1) : 0)) i3 = i6; - } - i6 = i6 + 1 | 0; - } - HEAP32[i10 + (i8 * 320 | 0) + 304 >> 2] = i3; - if ((i3 | 0) > -1) HEAP32[i23 + (i3 << 8) + 16 >> 2] = HEAP32[i23 + (i3 << 8) + 24 >> 2]; - } - i8 = i8 + 1 | 0; - } - i9 = 0; - i7 = 0; - i3 = 0; - i8 = 0; - while (1) { - if ((i8 | 0) >= (i2 | 0)) break; - i2 = HEAP32[i25 >> 2] | 0; - i4 = HEAP32[i2 + (i8 * 320 | 0) + 304 >> 2] | 0; - do if ((i4 | 0) < 0) { - i4 = i9; - i2 = i7; - } else { - i6 = i23 + (i4 << 8) | 0; - if (+_arGetTransMatSquare(i20, i6, +HEAPF64[i2 + (i8 * 320 | 0) + 8 >> 3], i19) > 4.0) { - HEAP32[(HEAP32[i25 >> 2] | 0) + (i8 * 320 | 0) + 304 >> 2] = -1; - i2 = i23 + (i4 << 8) + 236 | 0; - if (HEAP32[i2 >> 2] | 0) { - i4 = i9; - i2 = i7; - break; - } - HEAP32[i2 >> 2] = 7; - i4 = i9; - i2 = i7; - break; - } - i4 = HEAP32[i6 >> 2] | 0; - L45 : do if ((i9 | 0) == 0 | (i7 | 0) < (i4 | 0)) { - i2 = 0; - while (1) { - if ((i2 | 0) == 3) { - i2 = i4; - i3 = i8; - break L45; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($5, $2 + 48 | 0); + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + continue; + } + break; + } } - i3 = 0; - while (1) { - if ((i3 | 0) == 4) break; - HEAPF64[i21 + (i2 << 5) + (i3 << 3) >> 3] = +HEAPF64[i19 + (i2 << 5) + (i3 << 3) >> 3]; - i3 = i3 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - } else i2 = i7; while (0); - i4 = i9 + 1 | 0; - } while (0); - i9 = i4; - i7 = i2; - i8 = i8 + 1 | 0; - i2 = HEAP32[i22 >> 2] | 0; - } - L57 : do if ((i9 | 0) != 0 ? (i9 | 0) >= (HEAP32[i25 + 128 >> 2] | 0) : 0) { - _arUtilMatMul(i21, (HEAP32[i25 >> 2] | 0) + (i3 * 320 | 0) + 112 | 0, i19) | 0; - i8 = i9 << 2; - i10 = _malloc(i9 << 6) | 0; - if (!i10) { - _arLog(0, 3, 20454, i16); - _exit(1); - } - i9 = _malloc(i9 * 96 | 0) | 0; - if (!i9) { - _arLog(0, 3, 20454, i17); - _exit(1); - } - i7 = HEAP32[i22 >> 2] | 0; - i6 = 0; - i2 = 0; - while (1) { - if ((i6 | 0) >= (i7 | 0)) break; - i3 = HEAP32[i25 >> 2] | 0; - i4 = HEAP32[i3 + (i6 * 320 | 0) + 304 >> 2] | 0; - if ((i4 | 0) >= 0) { - i16 = HEAP32[i23 + (i4 << 8) + 16 >> 2] | 0; - i15 = (4 - i16 | 0) % 4 | 0; - i17 = i2 << 3; - HEAPF64[i10 + (i17 << 3) >> 3] = +HEAPF64[i23 + (i4 << 8) + 168 + (i15 << 4) >> 3]; - HEAPF64[i10 + ((i17 | 1) << 3) >> 3] = +HEAPF64[i23 + (i4 << 8) + 168 + (i15 << 4) + 8 >> 3]; - i15 = (5 - i16 | 0) % 4 | 0; - HEAPF64[i10 + ((i17 | 2) << 3) >> 3] = +HEAPF64[i23 + (i4 << 8) + 168 + (i15 << 4) >> 3]; - HEAPF64[i10 + ((i17 | 3) << 3) >> 3] = +HEAPF64[i23 + (i4 << 8) + 168 + (i15 << 4) + 8 >> 3]; - i15 = (6 - i16 | 0) % 4 | 0; - HEAPF64[i10 + ((i17 | 4) << 3) >> 3] = +HEAPF64[i23 + (i4 << 8) + 168 + (i15 << 4) >> 3]; - HEAPF64[i10 + ((i17 | 5) << 3) >> 3] = +HEAPF64[i23 + (i4 << 8) + 168 + (i15 << 4) + 8 >> 3]; - i16 = (7 - i16 | 0) % 4 | 0; - HEAPF64[i10 + ((i17 | 6) << 3) >> 3] = +HEAPF64[i23 + (i4 << 8) + 168 + (i16 << 4) >> 3]; - HEAPF64[i10 + ((i17 | 7) << 3) >> 3] = +HEAPF64[i23 + (i4 << 8) + 168 + (i16 << 4) + 8 >> 3]; - i17 = i2 * 12 | 0; - HEAPF64[i9 + (i17 << 3) >> 3] = +HEAPF64[i3 + (i6 * 320 | 0) + 208 >> 3]; - HEAPF64[i9 + ((i17 | 1) << 3) >> 3] = +HEAPF64[i3 + (i6 * 320 | 0) + 216 >> 3]; - HEAPF64[i9 + ((i17 | 2) << 3) >> 3] = +HEAPF64[i3 + (i6 * 320 | 0) + 224 >> 3]; - HEAPF64[i9 + ((i17 | 3) << 3) >> 3] = +HEAPF64[i3 + (i6 * 320 | 0) + 232 >> 3]; - HEAPF64[i9 + (i17 + 4 << 3) >> 3] = +HEAPF64[i3 + (i6 * 320 | 0) + 240 >> 3]; - HEAPF64[i9 + (i17 + 5 << 3) >> 3] = +HEAPF64[i3 + (i6 * 320 | 0) + 248 >> 3]; - HEAPF64[i9 + (i17 + 6 << 3) >> 3] = +HEAPF64[i3 + (i6 * 320 | 0) + 256 >> 3]; - HEAPF64[i9 + (i17 + 7 << 3) >> 3] = +HEAPF64[i3 + (i6 * 320 | 0) + 264 >> 3]; - HEAPF64[i9 + (i17 + 8 << 3) >> 3] = +HEAPF64[i3 + (i6 * 320 | 0) + 272 >> 3]; - HEAPF64[i9 + (i17 + 9 << 3) >> 3] = +HEAPF64[i3 + (i6 * 320 | 0) + 280 >> 3]; - HEAPF64[i9 + (i17 + 10 << 3) >> 3] = +HEAPF64[i3 + (i6 * 320 | 0) + 288 >> 3]; - HEAPF64[i9 + (i17 + 11 << 3) >> 3] = +HEAPF64[i3 + (i6 * 320 | 0) + 296 >> 3]; - i2 = i2 + 1 | 0; - } - i6 = i6 + 1 | 0; - } - i6 = i25 + 104 | 0; - i3 = (i18 | 0) != 0; - if (!(HEAP32[i6 >> 2] | 0)) { - i2 = i25 + 8 | 0; - d1 = +_arGetTransMat(i20, i19, i10, i9, i8, i2); - if (i3 & d1 >= 20.0) { - _icpSetInlierProbability(HEAP32[i20 >> 2] | 0, .8) | 0; - d1 = +_arGetTransMatRobust(i20, i19, i10, i9, i8, i2); - if (d1 >= 20.0) { - _icpSetInlierProbability(HEAP32[i20 >> 2] | 0, .6) | 0; - d1 = +_arGetTransMatRobust(i20, i19, i10, i9, i8, i2); - if (d1 >= 20.0) { - _icpSetInlierProbability(HEAP32[i20 >> 2] | 0, .4) | 0; - d1 = +_arGetTransMatRobust(i20, i19, i10, i9, i8, i2); - if (d1 >= 20.0) { - _icpSetInlierProbability(HEAP32[i20 >> 2] | 0, 0.0) | 0; - d1 = +_arGetTransMatRobust(i20, i19, i10, i9, i8, i2); - } - } - } - } - _free(i9); - _free(i10); - } else { - d1 = +_arGetTransMat(i20, i19, i10, i9, i8, i21); - i4 = i25 + 8 | 0; - d5 = +_arGetTransMat(i20, i4, i10, i9, i8, i4); - i2 = d1 < d5; - L82 : do if (i3) { - L84 : do if (i2) { - i3 = 0; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($2 + 48 | 0, $0, $6); + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($2 + 40 | 0, $0, 0); + $1 = 0; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$5; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ClosureTypeName_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $2 - -64 | 0, $2 + 48 | 0, $2 + 40 | 0); + break label$5; + } + $1 = 0; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___ScopedTemplateParamList___ScopedTemplateParamList_28_29($8); + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_unsigned_20long____SwapAndRestore_28_29($7); + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 34282); + $1 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $4; + $1 = 0; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 8 | 0)) { + break label$2; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($2 + 72 | 0, $0, 0); + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b16_5d__28char_20const_20_28__29_20_5b16_5d_29($0, 37975); + } + __stack_pointer = $2 + 160 | 0; + return $1; +} + +function bool_20vision__PreemptiveRobustHomography_float__28float__2c_20float_20const__2c_20float_20const__2c_20int_2c_20float_20const__2c_20int_2c_20std____2__vector_float_2c_20std____2__allocator_float____2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____2c_20float_2c_20int_2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) { + var $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $18 = __stack_pointer - 16 | 0; + __stack_pointer = $18; + label$1: { + if (std____2__vector_float_2c_20std____2__allocator_float____size_28_29_20const($6) >>> 0 >= Math_imul($10, 9) >>> 0) { + if (std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($7) >>> 0 >= $3 >>> 0) { + if (std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____size_28_29_20const($8) >>> 0 >= $10 >>> 0) { + if (($3 | 0) < 4) { + break label$1; + } + HEAP32[$18 + 12 >> 2] = 1234; + $15 = std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29($7, 0); + $9 = float_20vision__sqr_float__28float_29($9); + $20 = int_20vision__min2_int__28int_2c_20int_29($12, $3); + void_20vision__SequentialVector_int__28int__2c_20int_2c_20int_29($15, $3, 0); + void_20vision__ArrayShuffle_int__28int__2c_20int_2c_20int_2c_20int__29($15, $3, $3, $18 + 12 | 0); + $21 = ($5 | 0) <= 0; + $7 = 0; while (1) { - if ((i3 | 0) == 3) break L84; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i25 + 8 + (i3 << 5) + (i2 << 3) >> 3] = +HEAPF64[i21 + (i3 << 5) + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; - } - i3 = i3 + 1 | 0; - } - } else d1 = d5; while (0); - if (d1 >= 20.0) { - _icpSetInlierProbability(HEAP32[i20 >> 2] | 0, .8) | 0; - d1 = +_arGetTransMatRobust(i20, i19, i10, i9, i8, i21); - d5 = +_arGetTransMatRobust(i20, i4, i10, i9, i8, i4); - L95 : do if (d1 < d5) { - i3 = 0; - while (1) { - if ((i3 | 0) == 3) break L95; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i25 + 8 + (i3 << 5) + (i2 << 3) >> 3] = +HEAPF64[i21 + (i3 << 5) + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; - } - i3 = i3 + 1 | 0; - } - } else d1 = d5; while (0); - if (d1 >= 20.0) { - _icpSetInlierProbability(HEAP32[i20 >> 2] | 0, .6) | 0; - d1 = +_arGetTransMatRobust(i20, i19, i10, i9, i8, i21); - d5 = +_arGetTransMatRobust(i20, i4, i10, i9, i8, i4); - L106 : do if (d1 < d5) { - i3 = 0; - while (1) { - if ((i3 | 0) == 3) break L106; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i25 + 8 + (i3 << 5) + (i2 << 3) >> 3] = +HEAPF64[i21 + (i3 << 5) + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; - } - i3 = i3 + 1 | 0; - } - } else d1 = d5; while (0); - if (d1 >= 20.0) { - _icpSetInlierProbability(HEAP32[i20 >> 2] | 0, .4) | 0; - d1 = +_arGetTransMatRobust(i20, i19, i10, i9, i8, i21); - d5 = +_arGetTransMatRobust(i20, i4, i10, i9, i8, i4); - L117 : do if (d1 < d5) { - i3 = 0; - while (1) { - if ((i3 | 0) == 3) break L117; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i25 + 8 + (i3 << 5) + (i2 << 3) >> 3] = +HEAPF64[i21 + (i3 << 5) + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; - } - i3 = i3 + 1 | 0; - } - } else d1 = d5; while (0); - if (d1 >= 20.0) { - _icpSetInlierProbability(HEAP32[i20 >> 2] | 0, 0.0) | 0; - d1 = +_arGetTransMatRobust(i20, i19, i10, i9, i8, i21); - d5 = +_arGetTransMatRobust(i20, i4, i10, i9, i8, i4); - if (d1 < d5) { - i3 = 0; - while (1) { - if ((i3 | 0) == 3) break L82; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i25 + 8 + (i3 << 5) + (i2 << 3) >> 3] = +HEAPF64[i21 + (i3 << 5) + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; - } - i3 = i3 + 1 | 0; + if (!(($10 | 0) <= ($14 | 0) | ($7 | 0) >= ($11 | 0))) { + void_20vision__ArrayShuffle_int__28int__2c_20int_2c_20int_2c_20int__29($15, $3, 4, $18 + 12 | 0); + $13 = HEAP32[$15 >> 2] << 3; + $12 = HEAP32[$15 + 4 >> 2] << 3; + $16 = HEAP32[$15 + 8 >> 2] << 3; + $17 = HEAP32[$15 + 12 >> 2] << 3; + label$7: { + if (!bool_20vision__Homography4PointsGeometricallyConsistent_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($13 + $1 | 0, $12 + $1 | 0, $16 + $1 | 0, $17 + $1 | 0, $2 + $13 | 0, $2 + $12 | 0, $2 + $16 | 0, $2 + $17 | 0)) { + break label$7; + } + $19 = Math_imul($14, 9); + $22 = std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($6, $19); + $13 = HEAP32[$15 >> 2] << 3; + $12 = HEAP32[$15 + 4 >> 2] << 3; + $16 = HEAP32[$15 + 8 >> 2] << 3; + $17 = HEAP32[$15 + 12 >> 2] << 3; + if (!bool_20vision__SolveHomography4Points_float__28float__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($22, $13 + $1 | 0, $12 + $1 | 0, $16 + $1 | 0, $17 + $1 | 0, $2 + $13 | 0, $2 + $12 | 0, $2 + $16 | 0, $2 + $17 | 0)) { + break label$7; + } + if (!$21) { + if (!bool_20vision__HomographyPointsGeometricallyConsistent_float__28float_20const__2c_20float_20const__2c_20int_29(std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($6, $19), $4, $5)) { + break label$7; } - } else d1 = d5; + } + $14 = $14 + 1 | 0; } + $7 = $7 + 1 | 0; + continue; } + break; } - } - } else if (i2) { - i2 = 0; + if (!$14) { + $13 = 0; + break label$1; + } + $23 = Math_fround(Math_fround(1) / $9); + $10 = 0; + $13 = ($14 | 0) > 0 ? $14 : 0; + $7 = 0; + while (1) if (($7 | 0) == ($13 | 0)) { + label$12: while (1) { + if (!(($3 | 0) > ($10 | 0) & ($14 | 0) > 2)) { + $13 = ($14 | 0) > 1 ? $14 : 1; + $12 = HEAP32[std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____operator_5b_5d_28unsigned_20long_29($8, 0) + 4 >> 2]; + $9 = HEAPF32[std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____operator_5b_5d_28unsigned_20long_29($8, 0) >> 2]; + $7 = 1; + while (1) if (($7 | 0) == ($13 | 0)) { + void_20vision__CopyVector9_float__28float__2c_20float_20const__29($0, std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($6, Math_imul($12, 9))); + void_20vision__NormalizeHomography_float__28float__29($0); + $13 = 1; + break label$1; + } else { + if (HEAPF32[std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____operator_5b_5d_28unsigned_20long_29($8, $7) >> 2] < $9) { + $9 = HEAPF32[std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____operator_5b_5d_28unsigned_20long_29($8, $7) >> 2]; + $12 = HEAP32[std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____operator_5b_5d_28unsigned_20long_29($8, $7) + 4 >> 2]; + } + $7 = $7 + 1 | 0; + continue; + } + } + $11 = int_20vision__min2_int__28int_2c_20int_29($20, $3 - $10 | 0) + $10 | 0; + $16 = ($10 | 0) > ($11 | 0) ? $10 : $11; + $12 = 0; + label$18: while (1) { + if (($12 | 0) == ($14 | 0)) { + std____2__pair_float_2c_20int__20vision__FastMedian_float_2c_20int__28std____2__pair_float_2c_20int___2c_20int_29($18, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____operator_5b_5d_28unsigned_20long_29($8, 0), $14); + $14 = $14 >> 1; + $10 = $11; + continue label$12; + } + $17 = std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($6, Math_imul(HEAP32[std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____operator_5b_5d_28unsigned_20long_29($8, $12) + 4 >> 2], 9)); + $7 = $10; + while (1) if (($7 | 0) == ($16 | 0)) { + $12 = $12 + 1 | 0; + continue label$18; + } else { + $13 = HEAP32[($7 << 2) + $15 >> 2] << 3; + $9 = float_20vision__CauchyProjectiveReprojectionCost_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_29($17, $13 + $1 | 0, $2 + $13 | 0, $23); + $13 = std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____operator_5b_5d_28unsigned_20long_29($8, $12); + HEAPF32[$13 >> 2] = $9 + HEAPF32[$13 >> 2]; + $7 = $7 + 1 | 0; + continue; + } + } + } + } else { + wasm2js_i32$0 = std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____operator_5b_5d_28unsigned_20long_29($8, $7), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____operator_5b_5d_28unsigned_20long_29($8, $7), + wasm2js_i32$1 = $7, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + $7 = $7 + 1 | 0; + continue; + } + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25294), 24898), 9176), 121), 10040), 27210), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25093), 24898), 9176), 120), 10040), 25195), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24745), 24898), 9176), 119), 10040), 24992), 16); + abort(); + abort(); + } + __stack_pointer = $18 + 16 | 0; + return $13; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________rehash_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___________alloc_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________get_deleter_28_29($0)); + label$1: { + if ($1) { + std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______29($0, std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________allocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________2c_20unsigned_20long_29($2, $1)); + wasm2js_i32$0 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________size_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________get_deleter_28_29($0)), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = 0; + while (1) if (($1 | 0) == ($2 | 0)) { + $2 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______first_28_29($0 + 8 | 0)); + $3 = HEAP32[$2 >> 2]; + if (!$3) { + break label$1; + } + $7 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_28_29_20const($3), $1); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $7), + wasm2js_i32$1 = $2, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; while (1) { - if ((i2 | 0) == 3) break L82; - i3 = 0; - while (1) { - if ((i3 | 0) == 4) break; - HEAPF64[i25 + 8 + (i2 << 5) + (i3 << 3) >> 3] = +HEAPF64[i21 + (i2 << 5) + (i3 << 3) >> 3]; - i3 = i3 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - } else d1 = d5; while (0); - _free(i9); - _free(i10); - } - if (d1 < 20.0) { - HEAP32[i6 >> 2] = 1; - break; - } - HEAP32[i6 >> 2] = 0; - i3 = HEAP32[i22 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i3 | 0)) break L57; - i4 = HEAP32[(HEAP32[i25 >> 2] | 0) + (i2 * 320 | 0) + 304 >> 2] | 0; - if ((i4 | 0) >= 0 ? (i24 = i23 + (i4 << 8) + 236 | 0, (HEAP32[i24 >> 2] | 0) == 0) : 0) HEAP32[i24 >> 2] = 8; - i2 = i2 + 1 | 0; - } - } else i26 = 45; while (0); - if ((i26 | 0) == 45) { - HEAP32[i25 + 104 >> 2] = 0; - d1 = -1.0; - } - STACKTOP = i27; - return +d1; -} - -function __ZN6vision10DoGPyramid25difference_image_binomialERNS_5ImageERKS1_S4_(i1, i7, i8, i9) { - i1 = i1 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i6; - if ((__ZNK6vision5Image4typeEv(i7) | 0) != 2) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 20990) | 0, 20520) | 0, 33528) | 0, 86) | 0, 33535) | 0, 21035) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - if ((__ZNK6vision5Image4typeEv(i8) | 0) != 2) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21061) | 0, 20520) | 0, 33528) | 0, 87) | 0, 33535) | 0, 21035) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - if ((__ZNK6vision5Image4typeEv(i9) | 0) != 2) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21108) | 0, 20520) | 0, 33528) | 0, 88) | 0, 33535) | 0, 21035) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - if ((__ZNK6vision5Image8channelsEv(i7) | 0) != 1) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21155) | 0, 20520) | 0, 33528) | 0, 89) | 0, 33535) | 0, 21196) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - if ((__ZNK6vision5Image8channelsEv(i8) | 0) != 1) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21233) | 0, 20520) | 0, 33528) | 0, 90) | 0, 33535) | 0, 21196) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - if ((__ZNK6vision5Image8channelsEv(i9) | 0) != 1) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21276) | 0, 20520) | 0, 33528) | 0, 91) | 0, 33535) | 0, 21196) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - i5 = __ZNK6vision5Image5widthEv(i7) | 0; - if ((i5 | 0) != (__ZNK6vision5Image5widthEv(i9) | 0)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21319) | 0, 20520) | 0, 33528) | 0, 92) | 0, 33535) | 0, 21367) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - i5 = __ZNK6vision5Image6heightEv(i7) | 0; - if ((i5 | 0) != (__ZNK6vision5Image6heightEv(i9) | 0)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21399) | 0, 20520) | 0, 33528) | 0, 93) | 0, 33535) | 0, 21449) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - i5 = __ZNK6vision5Image5widthEv(i8) | 0; - if ((i5 | 0) != (__ZNK6vision5Image5widthEv(i9) | 0)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21482) | 0, 20520) | 0, 33528) | 0, 94) | 0, 33535) | 0, 21367) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - i5 = __ZNK6vision5Image6heightEv(i8) | 0; - if ((i5 | 0) != (__ZNK6vision5Image6heightEv(i9) | 0)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21532) | 0, 20520) | 0, 33528) | 0, 95) | 0, 33535) | 0, 21449) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - i2 = 0; - while (1) { - if (i2 >>> 0 >= (__ZNK6vision5Image6heightEv(i8) | 0) >>> 0) break; - i3 = __ZN6vision5Image3getIfEEPT_m(i7, i2) | 0; - i4 = __ZNK6vision5Image3getIfEEPKT_m(i8, i2) | 0; - i5 = __ZNK6vision5Image3getIfEEPKT_m(i9, i2) | 0; - i1 = 0; - while (1) { - if (i1 >>> 0 >= (__ZNK6vision5Image5widthEv(i8) | 0) >>> 0) break; - HEAPF32[i3 + (i1 << 2) >> 2] = +HEAPF32[i4 + (i1 << 2) >> 2] - +HEAPF32[i5 + (i1 << 2) >> 2]; - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - STACKTOP = i6; - return; -} - -function __ZN6vision21OrientationAssignment7computeEPfRiiifff(i15, i18, i24, i1, i4, d13, d14, d5) { - i15 = i15 | 0; - i18 = i18 | 0; - i24 = i24 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - d13 = +d13; - d14 = +d14; - d5 = +d5; - var i2 = 0, i3 = 0, d6 = 0.0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, d11 = 0.0, d12 = 0.0, i16 = 0, i17 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0; - i27 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i25 = i27 + 32 | 0; - i26 = i27 + 24 | 0; - i19 = i27 + 16 | 0; - i20 = i27 + 12 | 0; - i21 = i27 + 8 | 0; - i22 = i27 + 4 | 0; - i23 = i27; - if (!(d13 >= 0.0)) { - i17 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 26035) | 0, 25869) | 0, 33528) | 0, 119) | 0, 33535) | 0, 26065) | 0; - __ZNKSt3__28ios_base6getlocEv(i25, i17 + (HEAP32[(HEAP32[i17 >> 2] | 0) + -12 >> 2] | 0) | 0); - i16 = __ZNKSt3__26locale9use_facetERNS0_2idE(i25, 57916) | 0; - i16 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i16 >> 2] | 0) + 28 >> 2] & 63](i16, 10) | 0; - __ZNSt3__26localeD2Ev(i25); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i17, i16) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i17) | 0; - _abort(); - } - i2 = i15 + 4 | 0; - i17 = (Math_imul(HEAP32[i2 >> 2] | 0, i1) | 0) + i4 | 0; - i3 = i15 + 40 | 0; - if (!(+((__ZNK6vision5Image5widthEv((HEAP32[i3 >> 2] | 0) + (i17 << 5) | 0) | 0) >>> 0) > d13)) { - i17 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 26084) | 0, 25869) | 0, 33528) | 0, 120) | 0, 33535) | 0, 26164) | 0; - __ZNKSt3__28ios_base6getlocEv(i25, i17 + (HEAP32[(HEAP32[i17 >> 2] | 0) + -12 >> 2] | 0) | 0); - i16 = __ZNKSt3__26locale9use_facetERNS0_2idE(i25, 57916) | 0; - i16 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i16 >> 2] | 0) + 28 >> 2] & 63](i16, 10) | 0; - __ZNSt3__26localeD2Ev(i25); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i17, i16) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i17) | 0; - _abort(); - } - if (!(d14 >= 0.0)) { - i17 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 26200) | 0, 25869) | 0, 33528) | 0, 121) | 0, 33535) | 0, 26230) | 0; - __ZNKSt3__28ios_base6getlocEv(i25, i17 + (HEAP32[(HEAP32[i17 >> 2] | 0) + -12 >> 2] | 0) | 0); - i16 = __ZNKSt3__26locale9use_facetERNS0_2idE(i25, 57916) | 0; - i16 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i16 >> 2] | 0) + 28 >> 2] & 63](i16, 10) | 0; - __ZNSt3__26localeD2Ev(i25); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i17, i16) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i17) | 0; - _abort(); - } - i17 = (Math_imul(HEAP32[i2 >> 2] | 0, i1) | 0) + i4 | 0; - if (!(+((__ZNK6vision5Image6heightEv((HEAP32[i3 >> 2] | 0) + (i17 << 5) | 0) | 0) >>> 0) > d14)) { - i17 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 26249) | 0, 25869) | 0, 33528) | 0, 122) | 0, 33535) | 0, 26330) | 0; - __ZNKSt3__28ios_base6getlocEv(i25, i17 + (HEAP32[(HEAP32[i17 >> 2] | 0) + -12 >> 2] | 0) | 0); - i16 = __ZNKSt3__26locale9use_facetERNS0_2idE(i25, 57916) | 0; - i16 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i16 >> 2] | 0) + 28 >> 2] & 63](i16, 10) | 0; - __ZNSt3__26localeD2Ev(i25); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i17, i16) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i17) | 0; - _abort(); - } - i9 = (Math_imul(HEAP32[i2 >> 2] | 0, i1) | 0) + i4 | 0; - i9 = (HEAP32[i3 >> 2] | 0) + (i9 << 5) | 0; - if ((__ZNK6vision5Image8channelsEv(i9) | 0) != 2) { - i17 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 26367) | 0, 25869) | 0, 33528) | 0, 126) | 0, 33535) | 0, 26408) | 0; - __ZNKSt3__28ios_base6getlocEv(i25, i17 + (HEAP32[(HEAP32[i17 >> 2] | 0) + -12 >> 2] | 0) | 0); - i16 = __ZNKSt3__26locale9use_facetERNS0_2idE(i25, 57916) | 0; - i16 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i16 >> 2] | 0) + 28 >> 2] & 63](i16, 10) | 0; - __ZNSt3__26localeD2Ev(i25); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i17, i16) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i17) | 0; - _abort(); - } - HEAP32[i24 >> 2] = 0; - i1 = ~~(d13 + .5); - i2 = ~~(d14 + .5); - L16 : do if (((i1 | 0) >= 0 ? !((i2 | 0) < 0 | (__ZNK6vision5Image5widthEv(i9) | 0) >>> 0 <= i1 >>> 0) : 0) ? (__ZNK6vision5Image6heightEv(i9) | 0) >>> 0 > i2 >>> 0 : 0) { - d6 = +__ZN6vision4max2IfEET_S1_S1_(1.0, +HEAPF32[i15 + 12 >> 2] * d5); - d11 = -1.0 / (+__ZN6vision3sqrIfEET_S1_(d6) * 2.0); - d6 = d6 * +HEAPF32[i15 + 16 >> 2]; - d12 = +Math_ceil(+(+__ZN6vision3sqrIfEET_S1_(d6))); - i3 = ~~(d6 + .5); - i8 = __ZN6vision4max2IiEET_S1_S1_(0, i1 - i3 | 0) | 0; - i7 = __ZN6vision4min2IiEET_S1_S1_(i3 + i1 | 0, (__ZNK6vision5Image5widthEv(i9) | 0) + -1 | 0) | 0; - i1 = __ZN6vision4max2IiEET_S1_S1_(0, i2 - i3 | 0) | 0; - i3 = __ZN6vision4min2IiEET_S1_S1_(i3 + i2 | 0, (__ZNK6vision5Image6heightEv(i9) | 0) + -1 | 0) | 0; - i16 = i15 + 28 | 0; - i17 = HEAP32[i16 >> 2] | 0; - __ZN6vision10ZeroVectorIfEEvPT_m(i17, (HEAP32[i15 + 32 >> 2] | 0) - i17 >> 2); - i17 = i15 + 8 | 0; - while (1) { - if ((i1 | 0) > (i3 | 0)) break; - d5 = +__ZN6vision3sqrIfEET_S1_(+(i1 | 0) - d14); - i4 = __ZNK6vision5Image3getIfEEPKT_m(i9, i1) | 0; - i2 = i8; - while (1) { - if ((i2 | 0) > (i7 | 0)) break; - d6 = d5 + +__ZN6vision3sqrIfEET_S1_(+(i2 | 0) - d13); - if (!(d6 > d12)) { - i28 = i4 + (i2 << 1 << 2) | 0; - d6 = +__ZN6vision8fastexp6IfEET_S1_(d11 * d6); - i10 = HEAP32[i17 >> 2] | 0; - __ZN6vision25bilinear_histogram_updateEPfffi(HEAP32[i16 >> 2] | 0, +HEAPF32[i28 >> 2] * +(i10 | 0) * .159154943091895, d6 * +HEAPF32[i28 + 4 >> 2], i10); + $4 = HEAP32[$3 >> 2]; + if (!$4) { + break label$1; + } + label$6: { + $5 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_28_29_20const($4), $1); + if (($7 | 0) == ($5 | 0)) { + break label$6; + } + $6 = $4; + if (!HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2]) { + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5), + wasm2js_i32$1 = $3, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $7 = $5; + break label$6; + } + while (1) { + label$9: { + $2 = $6; + if (!HEAP32[$2 >> 2]) { + $6 = 0; + break label$9; + } + $8 = std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____20const__2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______key_eq_28_29($0), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________upcast_28_29($4) + 8 | 0, std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________upcast_28_29(HEAP32[$2 >> 2]) + 8 | 0); + $6 = HEAP32[$2 >> 2]; + if ($8) { + continue; + } + } + break; + } + HEAP32[$3 >> 2] = $6; + wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2] >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2], + wasm2js_i32$1 = $4, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + continue; + } + $3 = $4; + continue; } - i2 = i2 + 1 | 0; + } else { + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $2), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = $2 + 1 | 0; + continue; } - i1 = i1 + 1 | 0; - } - i2 = i15 + 20 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i2 >> 2] | 0)) break; - i28 = HEAP32[i16 >> 2] | 0; - __ZN6vision26SmoothOrientationHistogramIfEEvPT_PKS1_mS4_(i28, i28, HEAP32[i17 >> 2] | 0, 13528); - i1 = i1 + 1 | 0; - } - i2 = HEAP32[i17 >> 2] | 0; - i1 = 0; - d11 = 0.0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - d14 = +HEAPF32[(HEAP32[i16 >> 2] | 0) + (i1 << 2) >> 2]; - i1 = i1 + 1 | 0; - d11 = d14 > d11 ? d14 : d11; - } - if (!(d11 == 0.0)) { - if (!(d11 > 0.0)) { - i28 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 26439) | 0, 25869) | 0, 33528) | 0, 218) | 0, 33535) | 0, 26477) | 0; - __ZNKSt3__28ios_base6getlocEv(i25, i28 + (HEAP32[(HEAP32[i28 >> 2] | 0) + -12 >> 2] | 0) | 0); - i10 = __ZNKSt3__26locale9use_facetERNS0_2idE(i25, 57916) | 0; - i10 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i10 >> 2] | 0) + 28 >> 2] & 63](i10, 10) | 0; - __ZNSt3__26localeD2Ev(i25); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i28, i10) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i28) | 0; - _abort(); - } - i8 = i25 + 4 | 0; - i9 = i26 + 4 | 0; - i10 = i19 + 4 | 0; - i7 = i15 + 24 | 0; - i3 = 0; - i1 = i2; - while (1) { - if ((i3 | 0) >= (i1 | 0)) break L16; - d6 = +(i3 | 0); - HEAPF32[i25 >> 2] = d6; - i2 = HEAP32[i16 >> 2] | 0; - i28 = i2 + (i3 << 2) | 0; - i15 = HEAP32[i28 >> 2] | 0; - HEAP32[i8 >> 2] = i15; - i4 = i3 + -1 | 0; - HEAPF32[i26 >> 2] = +(i4 | 0); - i4 = HEAP32[i2 + (((i4 + i1 | 0) % (i1 | 0) | 0) << 2) >> 2] | 0; - HEAP32[i9 >> 2] = i4; - i3 = i3 + 1 | 0; - HEAPF32[i19 >> 2] = +(i3 | 0); - i2 = HEAP32[i2 + (((i3 + i1 | 0) % (i1 | 0) | 0) << 2) >> 2] | 0; - HEAP32[i10 >> 2] = i2; - d5 = (HEAP32[tempDoublePtr >> 2] = i15, +HEAPF32[tempDoublePtr >> 2]); - if (+HEAPF32[i28 >> 2] > d11 * +HEAPF32[i7 >> 2] ? (d14 = (HEAP32[tempDoublePtr >> 2] = i2, +HEAPF32[tempDoublePtr >> 2]), d5 > (HEAP32[tempDoublePtr >> 2] = i4, +HEAPF32[tempDoublePtr >> 2]) & d5 > d14) : 0) { - HEAPF32[i23 >> 2] = d6; - if (__ZN6vision16Quadratic3PointsIfEEbRT_S2_S2_PKS1_S4_S4_(i20, i21, i22, i26, i25, i19) | 0) __ZN6vision22QuadraticCriticalPointIfEEbRT_S1_S1_S1_(i23, +HEAPF32[i20 >> 2], +HEAPF32[i21 >> 2], +HEAPF32[i22 >> 2]) | 0; - d14 = +(HEAP32[i17 >> 2] | 0); - i1 = HEAP32[i24 >> 2] | 0; - HEAPF32[i18 + (i1 << 2) >> 2] = (+HEAPF32[i23 >> 2] + .5 + d14) / d14 * 6.283185307179586 % 6.283185307179586; - HEAP32[i24 >> 2] = i1 + 1; - i1 = HEAP32[i17 >> 2] | 0; - } - } - } - } while (0); - STACKTOP = i27; - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_116parse_array_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i5, i7) { - i1 = i1 | 0; - i5 = i5 | 0; - i7 = i7 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - i15 = i16 + 96 | 0; - i13 = i16 + 72 | 0; - i14 = i16 + 48 | 0; - i8 = i16 + 36 | 0; - i9 = i16 + 24 | 0; - i10 = i16 + 12 | 0; - i12 = i16; - do if (((i1 | 0) != (i5 | 0) ? (HEAP8[i1 >> 0] | 0) == 65 : 0) ? (i6 = i1 + 1 | 0, (i6 | 0) != (i5 | 0)) : 0) { - i2 = HEAP8[i6 >> 0] | 0; - if (i2 << 24 >> 24 == 95) { - i14 = i1 + 2 | 0; - i3 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i14, i5, i7) | 0; - if ((i3 | 0) == (i14 | 0)) break; - i4 = i7 + 4 | 0; - i2 = HEAP32[i4 >> 2] | 0; - if ((HEAP32[i7 >> 2] | 0) == (i2 | 0)) break; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_mmRKS6_(i15, i2 + -12 | 0, 2); - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(49661) | 0; - i14 = HEAP8[i15 + 11 >> 0] | 0; - if ((i1 | 0) == ((i14 << 24 >> 24 < 0 ? HEAP32[i15 + 4 >> 2] | 0 : i14 & 255) | 0)) { - i14 = (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i15, 49661, i1) | 0) == 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - if (i14) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE5eraseEmm((HEAP32[i4 >> 2] | 0) + -12 | 0); - } else __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc((HEAP32[i4 >> 2] | 0) + -12 | 0, 0, 51102) | 0; - i1 = i3; - break; - } - if ((i2 + -49 & 255) < 9) { - i4 = __ZN10__cxxabiv112_GLOBAL__N_112parse_numberEPKcS2_(i6, i5) | 0; - if ((i4 | 0) == (i5 | 0)) break; - if ((HEAP8[i4 >> 0] | 0) != 95) break; - i12 = i4 + 1 | 0; - i5 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i12, i5, i7) | 0; - if ((i5 | 0) == (i12 | 0)) break; - i3 = i7 + 4 | 0; - i2 = HEAP32[i3 >> 2] | 0; - if ((HEAP32[i7 >> 2] | 0) == (i2 | 0)) break; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_mmRKS6_(i15, i2 + -12 | 0, 2); - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(49661) | 0; - i12 = HEAP8[i15 + 11 >> 0] | 0; - if ((i1 | 0) == ((i12 << 24 >> 24 < 0 ? HEAP32[i15 + 4 >> 2] | 0 : i12 & 255) | 0)) { - i12 = (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i15, 49661, i1) | 0) == 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - if (i12) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE5eraseEmm((HEAP32[i3 >> 2] | 0) + -12 | 0); - } else __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - i2 = (HEAP32[i3 >> 2] | 0) + -12 | 0; - HEAP32[i14 >> 2] = 0; - HEAP32[i14 + 4 >> 2] = 0; - HEAP32[i14 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(i14, i6, i4); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i14, 0, 49661) | 0; - HEAP32[i13 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i13 + 4 >> 2] = HEAP32[i14 + 4 >> 2]; - HEAP32[i13 + 8 >> 2] = HEAP32[i14 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i14 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i13, 49716) | 0; - HEAP32[i15 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i15 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i15 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i13 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i15 + 11 >> 0] | 0; - i12 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKcm(i2, 0, i12 ? HEAP32[i15 >> 2] | 0 : i15, i12 ? HEAP32[i15 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - i1 = i5; - break; } - i2 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i6, i5, i7) | 0; - if (((!((i2 | 0) == (i6 | 0) | (i2 | 0) == (i5 | 0)) ? (HEAP8[i2 >> 0] | 0) == 95 : 0) ? (i6 = i2 + 1 | 0, i11 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i6, i5, i7) | 0, (i11 | 0) != (i6 | 0)) : 0) ? (i4 = i7 + 4 | 0, i3 = HEAP32[i4 >> 2] | 0, ((i3 - (HEAP32[i7 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i13, i3 + -24 | 0); - i2 = HEAP32[i4 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i7 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i7 * 24 | 0) | 0); - i1 = i7; - } - HEAP32[i4 >> 2] = i2 + -24; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i14, i2 + -48 | 0); - i1 = HEAP32[i4 >> 2] | 0; - i2 = i1 + -24 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i7 = HEAP32[i2 >> 2] | 0; - HEAP8[i15 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i7, i15); - HEAP32[i1 + -20 >> 2] = 0; - } else { - HEAP8[i15 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i15); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i13 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i2 = i13 + 12 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_mmRKS6_(i15, i2, 2); - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(49661) | 0; - i7 = HEAP8[i15 + 11 >> 0] | 0; - if ((i1 | 0) == ((i7 << 24 >> 24 < 0 ? HEAP32[i15 + 4 >> 2] | 0 : i7 & 255) | 0)) { - i7 = (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i15, 49661, i1) | 0) == 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - if (i7) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE5eraseEmm(i2); - } else __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i12, i14); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i12, 0, 49661) | 0; - HEAP32[i10 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i10, 49716) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i2 + 11 >> 0] | 0; - i7 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i9, i7 ? HEAP32[i2 >> 2] | 0 : i2, i7 ? HEAP32[i13 + 16 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i4 >> 2] | 0; - i2 = i1 + -12 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i7 = HEAP32[i2 >> 2] | 0; - HEAP8[i15 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i7, i15); - HEAP32[i1 + -8 >> 2] = 0; - } else { - HEAP8[i15 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i15); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i8 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i8 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i8 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i14); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i13); - i1 = i11; - } - } while (0); - STACKTOP = i16; - return i1 | 0; -} - -function _arLabelingSubEWZ(i5, i18, i19, i6, i20) { - i5 = i5 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - i6 = i6 | 0; - i20 = i20 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i21 = 0, d22 = 0.0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i17 = i21; - i8 = HEAP32[i20 >> 2] | 0; - i16 = i19 + -1 | 0; - i1 = i8; - i2 = 0; - i3 = i8 + ((Math_imul(i16, i18) | 0) << 1) | 0; - while (1) { - if ((i2 | 0) >= (i18 | 0)) break; - HEAP16[i3 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + 2 | 0; - i2 = i2 + 1 | 0; - i3 = i3 + 2 | 0; - } - i15 = i18 + -1 | 0; - i1 = i8; - i2 = 0; - i3 = i8 + (i15 << 1) | 0; - while (1) { - if ((i2 | 0) >= (i19 | 0)) break; - HEAP16[i3 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + (i18 << 1) | 0; - i2 = i2 + 1 | 0; - i3 = i3 + (i18 << 1) | 0; - } - i4 = i20 + 1179664 | 0; - i12 = i18 + 1 | 0; - i14 = 0 - i18 | 0; - i7 = i5 + i12 | 0; - i2 = i6 + i12 | 0; - i13 = 1; - i9 = 0; - i3 = (HEAP32[i20 + 4 >> 2] | 0) + i12 | 0; - i5 = i8 + (i12 << 1) | 0; - L9 : while (1) { - if ((i13 | 0) >= (i16 | 0)) { - i2 = 59; - break; + std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______29($0, 0); + wasm2js_i32$0 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________size_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________get_deleter_28_29($0)), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } +} + +function consume_markers($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = 2; + label$1: { + $5 = HEAP32[$0 + 460 >> 2]; + if (HEAP32[$5 + 20 >> 2]) { + break label$1; } - i10 = i2; - i1 = i9; - i11 = i3; - i9 = 1; - i12 = i5; while (1) { - if ((i9 | 0) >= (i15 | 0)) break; - do if ((HEAPU8[i7 >> 0] | 0) > (HEAPU8[i10 >> 0] | 0)) { - HEAP8[i11 >> 0] = -1; - i3 = i12 + (i14 << 1) | 0; - i2 = HEAP16[i3 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i12 >> 1] = i2; - i8 = (i2 << 16 >> 16) * 7 | 0; - i6 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 1; - i6 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + i9; - i6 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + i13; - HEAP32[i20 + 1310736 + (i8 + -1 << 2) >> 2] = i13; - break; - } - i6 = HEAP16[i3 + 2 >> 1] | 0; - i8 = i6 << 16 >> 16; - i2 = HEAP16[i3 + -2 >> 1] | 0; - i5 = i2 << 16 >> 16; - i3 = i2 << 16 >> 16 > 0; - if (i6 << 16 >> 16 <= 0) { - if (i3) { - HEAP16[i12 >> 1] = i2; - i2 = i5 * 7 | 0; - i3 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i13; - i3 = i20 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) < (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i20 + 1310736 + (i2 + -1 << 2) >> 2] = i13; - break; - } - i2 = HEAP16[i12 + -2 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i12 >> 1] = i2; - i2 = (i2 << 16 >> 16) * 7 | 0; - i8 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - i8 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i9; - i8 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i13; - i2 = i20 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) >= (i9 | 0)) break; - HEAP32[i2 >> 2] = i9; - break; - } else { - i2 = i1 + 1 | 0; - if ((i1 | 0) > 32767) { - i2 = 54; - break L9; - } - HEAP16[i12 >> 1] = i2; - HEAP32[i20 + 1179664 + (i1 << 2) >> 2] = i2 << 16 >> 16; - i1 = i1 * 7 | 0; - HEAP32[i20 + 1310736 + (i1 << 2) >> 2] = 1; - HEAP32[i20 + 1310736 + (i1 + 1 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 2 << 2) >> 2] = i13; - HEAP32[i20 + 1310736 + (i1 + 3 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 4 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 5 << 2) >> 2] = i13; - HEAP32[i20 + 1310736 + (i1 + 6 << 2) >> 2] = i13; - i1 = i2; - break; - } - } - if (i3) { - i2 = HEAP32[i20 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i6 = HEAP32[i20 + 1179664 + (i5 + -1 << 2) >> 2] | 0; - L36 : do if ((i2 | 0) <= (i6 | 0)) { - HEAP16[i12 >> 1] = i2; - if ((i2 | 0) < (i6 | 0)) { - i3 = i4; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i1 | 0)) break L36; - if ((HEAP32[i3 >> 2] | 0) == (i6 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i5 = i5 + 1 | 0; + label$3: { + label$4: { + label$5: { + label$6: { + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 464 >> 2] + 4 >> 2]]($0) | 0; + if (($1 | 0) != 1) { + if (($1 | 0) != 2) { + break label$1; + } + HEAP32[$5 + 20 >> 2] = 1; + if (!HEAP32[$5 + 24 >> 2]) { + break label$6; + } + $1 = 2; + if (!HEAP32[HEAP32[$0 + 464 >> 2] + 16 >> 2]) { + break label$1; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 62; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + return 2; + } + label$8: { + switch (HEAP32[$5 + 24 >> 2]) { + default: + $1 = HEAP32[$0 + 340 >> 2]; + break label$3; + + case 1: + if (!(HEAP32[$0 + 28 >> 2] < 65501 & HEAP32[$0 + 32 >> 2] <= 65500)) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 42; + HEAP32[$1 + 24 >> 2] = 65500; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $1 = HEAP32[$0 + 212 >> 2]; + if ($1 - 13 >>> 0 <= 4294967290) { + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = 16; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $4 = HEAP32[$0 + 36 >> 2]; + if (($4 | 0) >= 11) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $4; + HEAP32[$1 + 20 >> 2] = 27; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = 10; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + $4 = HEAP32[$0 + 36 >> 2]; + } + HEAP32[$0 + 316 >> 2] = 1; + HEAP32[$0 + 320 >> 2] = 1; + if (($4 | 0) > 0) { + $1 = HEAP32[$0 + 216 >> 2]; + $8 = 0; + $2 = 1; + $3 = 1; + while (1) { + $6 = HEAP32[$1 + 8 >> 2]; + label$17: { + if ($6 - 5 >>> 0 >= 4294967292) { + $7 = HEAP32[$1 + 12 >> 2]; + if ($7 - 5 >>> 0 > 4294967291) { + break label$17; + } + } + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 19; + FUNCTION_TABLE[HEAP32[$2 >> 2]]($0); + $4 = HEAP32[$0 + 36 >> 2]; + $7 = HEAP32[$1 + 12 >> 2]; + $2 = HEAP32[$0 + 320 >> 2]; + $6 = HEAP32[$1 + 8 >> 2]; + $3 = HEAP32[$0 + 316 >> 2]; + } + $2 = ($2 | 0) > ($7 | 0) ? $2 : $7; + HEAP32[$0 + 320 >> 2] = $2; + $3 = ($3 | 0) > ($6 | 0) ? $3 : $6; + HEAP32[$0 + 316 >> 2] = $3; + $1 = $1 + 88 | 0; + $8 = $8 + 1 | 0; + if (($8 | 0) < ($4 | 0)) { + continue; + } + break; + } + } + if (HEAP32[$0 + 220 >> 2] | (HEAP32[$0 + 340 >> 2] ? HEAP32[$0 + 224 >> 2] : 0)) { + break label$5; + } + label$20: { + label$21: { + label$22: { + label$23: { + label$24: { + label$25: { + label$26: { + label$27: { + label$28: { + label$29: { + label$30: { + label$31: { + label$32: { + label$33: { + $1 = HEAP32[$0 + 416 >> 2]; + if (($1 | 0) <= 119) { + switch ($1 | 0) { + case 99: + break label$25; + + case 80: + break label$26; + + case 48: + break label$27; + + case 35: + break label$28; + + case 24: + break label$29; + + case 15: + break label$30; + + case 8: + break label$31; + + case 3: + break label$32; + + case 0: + break label$33; + + case 63: + break label$5; + + default: + break label$20; + } + } + if (($1 | 0) <= 194) { + if (($1 | 0) == 120) { + break label$24; + } + if (($1 | 0) == 143) { + break label$23; + } + if (($1 | 0) != 168) { + break label$20; + } + HEAP32[$0 + 436 >> 2] = 63; + HEAP32[$0 + 432 >> 2] = 42960; + HEAP32[$0 + 428 >> 2] = 13; + $1 = 13; + break label$4; + } + if (($1 | 0) == 195) { + break label$22; + } + if (($1 | 0) == 224) { + break label$21; + } + if (($1 | 0) != 255) { + break label$20; + } + HEAP32[$0 + 436 >> 2] = 63; + HEAP32[$0 + 432 >> 2] = 42960; + HEAP32[$0 + 428 >> 2] = 16; + $1 = 16; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 0; + HEAP32[$0 + 432 >> 2] = 42960; + HEAP32[$0 + 428 >> 2] = 1; + $1 = 1; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 3; + HEAP32[$0 + 432 >> 2] = 44176; + HEAP32[$0 + 428 >> 2] = 2; + $1 = 2; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 8; + HEAP32[$0 + 432 >> 2] = 44064; + HEAP32[$0 + 428 >> 2] = 3; + $1 = 3; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 15; + HEAP32[$0 + 432 >> 2] = 43936; + HEAP32[$0 + 428 >> 2] = 4; + $1 = 4; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 24; + HEAP32[$0 + 432 >> 2] = 43760; + HEAP32[$0 + 428 >> 2] = 5; + $1 = 5; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 35; + HEAP32[$0 + 432 >> 2] = 43552; + HEAP32[$0 + 428 >> 2] = 6; + $1 = 6; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 48; + HEAP32[$0 + 432 >> 2] = 43280; + HEAP32[$0 + 428 >> 2] = 7; + $1 = 7; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 63; + HEAP32[$0 + 432 >> 2] = 42960; + HEAP32[$0 + 428 >> 2] = 9; + $1 = 9; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 63; + HEAP32[$0 + 432 >> 2] = 42960; + HEAP32[$0 + 428 >> 2] = 10; + $1 = 10; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 63; + HEAP32[$0 + 432 >> 2] = 42960; + HEAP32[$0 + 428 >> 2] = 11; + $1 = 11; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 63; + HEAP32[$0 + 432 >> 2] = 42960; + HEAP32[$0 + 428 >> 2] = 12; + $1 = 12; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 63; + HEAP32[$0 + 432 >> 2] = 42960; + HEAP32[$0 + 428 >> 2] = 14; + $1 = 14; + break label$4; + } + HEAP32[$0 + 436 >> 2] = 63; + HEAP32[$0 + 432 >> 2] = 42960; + HEAP32[$0 + 428 >> 2] = 15; + $1 = 15; + break label$4; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 17; + HEAP32[$1 + 24 >> 2] = HEAP32[$0 + 412 >> 2]; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = HEAP32[$0 + 416 >> 2]; + HEAP32[HEAP32[$0 >> 2] + 32 >> 2] = HEAP32[$0 + 420 >> 2]; + HEAP32[HEAP32[$0 >> 2] + 36 >> 2] = HEAP32[$0 + 424 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + $4 = HEAP32[$0 + 36 >> 2]; + $1 = HEAP32[$0 + 428 >> 2]; + break label$4; + + case 0: + break label$8; + } + } + if (!HEAP32[$5 + 16 >> 2]) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 36; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); } + if (!HEAP32[$0 + 340 >> 2]) { + continue; + } + start_input_pass($0); + return 1; } - } else { - HEAP16[i12 >> 1] = i6; - i3 = i4; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i1 | 0)) { - i2 = i6; - break L36; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i6; - i3 = i3 + 4 | 0; - i5 = i5 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i6 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 1; - i6 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + i9; - i6 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + i13; - HEAP32[i20 + 1310736 + (i8 + -1 << 2) >> 2] = i13; - break; - } - i3 = HEAP16[i12 + -2 >> 1] | 0; - if (i3 << 16 >> 16 <= 0) { - HEAP16[i12 >> 1] = i6; - i2 = i8 * 7 | 0; - i3 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i13; - i3 = i20 + 1310736 + (i2 + -4 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) > (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i20 + 1310736 + (i2 + -1 << 2) >> 2] = i13; - break; - } - i2 = HEAP32[i20 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i6 = HEAP32[i20 + 1179664 + ((i3 << 16 >> 16) + -1 << 2) >> 2] | 0; - L60 : do if ((i2 | 0) <= (i6 | 0)) { - HEAP16[i12 >> 1] = i2; - if ((i2 | 0) < (i6 | 0)) { - i3 = i4; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i1 | 0)) break L60; - if ((HEAP32[i3 >> 2] | 0) == (i6 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i5 = i5 + 1 | 0; + $1 = 2; + $2 = HEAP32[$0 + 144 >> 2]; + if (($2 | 0) >= HEAP32[$0 + 152 >> 2]) { + break label$1; } - } - } else { - HEAP16[i12 >> 1] = i6; - i3 = i4; - i5 = 0; + HEAP32[$0 + 152 >> 2] = $2; + break label$1; + } + HEAP32[$0 + 436 >> 2] = 63; + HEAP32[$0 + 432 >> 2] = 42960; + HEAP32[$0 + 428 >> 2] = 8; + $1 = 8; + } + HEAP32[$0 + 328 >> 2] = $1; + HEAP32[$0 + 324 >> 2] = $1; + if (($4 | 0) > 0) { + $1 = HEAP32[$0 + 216 >> 2]; + $3 = 0; while (1) { - if ((i5 | 0) >= (i1 | 0)) { - i2 = i6; - break L60; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i6; - i3 = i3 + 4 | 0; - i5 = i5 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i6 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 1; - i6 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + i9; - i8 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i13; - } else { - HEAP16[i12 >> 1] = 0; - HEAP8[i11 >> 0] = 0; - } while (0); - i7 = i7 + 1 | 0; - i10 = i10 + 1 | 0; - i11 = i11 + 1 | 0; - i9 = i9 + 1 | 0; - i12 = i12 + 2 | 0; - } - i7 = i7 + 2 | 0; - i2 = i10 + 2 | 0; - i13 = i13 + 1 | 0; - i9 = i1; - i3 = i11 + 2 | 0; - i5 = i12 + 4 | 0; - } - L80 : do if ((i2 | 0) == 54) { - _arLog(0, 3, 17520, i17); - i1 = -1; - } else if ((i2 | 0) == 59) { - i6 = i20 + 12 | 0; - i1 = 1; - i5 = 1; - while (1) { - if ((i5 | 0) > (i9 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (i5 | 0)) i3 = i1 + 1 | 0; else { - i3 = i1; - i1 = HEAP32[i20 + 1179664 + (i2 + -1 << 2) >> 2] | 0; - } - HEAP32[i4 >> 2] = i1; - i1 = i3; - i5 = i5 + 1 | 0; - i4 = i4 + 4 | 0; - } - i7 = i20 + 8 | 0; - i2 = i1 + -1 | 0; - HEAP32[i7 >> 2] = i2; - if (!i2) i1 = 0; else { - _memset(i6 | 0, 0, i2 << 2 | 0) | 0; - _memset(i20 + 655376 | 0, 0, i2 << 4 | 0) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i17 = i1 << 2; - HEAP32[i20 + 131084 + (i17 << 2) >> 2] = i18; - HEAP32[i20 + 131084 + ((i17 | 1) << 2) >> 2] = 0; - HEAP32[i20 + 131084 + ((i17 | 2) << 2) >> 2] = i19; - HEAP32[i20 + 131084 + ((i17 | 3) << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i9 | 0)) break; - i3 = (HEAP32[i20 + 1179664 + (i5 << 2) >> 2] | 0) + -1 | 0; - i4 = i5 * 7 | 0; - i1 = i20 + 12 + (i3 << 2) | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + (HEAP32[i20 + 1310736 + (i4 << 2) >> 2] | 0); - i1 = i3 << 1; - i2 = i20 + 655376 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] + +(HEAP32[i20 + 1310736 + (i4 + 1 << 2) >> 2] | 0); - i1 = i20 + 655376 + ((i1 | 1) << 3) | 0; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] + +(HEAP32[i20 + 1310736 + (i4 + 2 << 2) >> 2] | 0); - i3 = i3 << 2; - i1 = i20 + 131084 + (i3 << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 3 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i20 + 131084 + ((i3 | 1) << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 4 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) < (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i20 + 131084 + ((i3 | 2) << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 5 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i2 = i20 + 131084 + ((i3 | 3) << 2) | 0; - i1 = HEAP32[i20 + 1310736 + (i4 + 6 << 2) >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) < (i1 | 0)) HEAP32[i2 >> 2] = i1; - i5 = i5 + 1 | 0; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) { - i1 = 0; - break L80; - } - d22 = +(HEAP32[i20 + 12 + (i1 << 2) >> 2] | 0); - i19 = i1 << 1; - i18 = i20 + 655376 + (i19 << 3) | 0; - HEAPF64[i18 >> 3] = +HEAPF64[i18 >> 3] / d22; - i19 = i20 + 655376 + ((i19 | 1) << 3) | 0; - HEAPF64[i19 >> 3] = +HEAPF64[i19 >> 3] / d22; - i1 = i1 + 1 | 0; - } - } - } while (0); - STACKTOP = i21; - return i1 | 0; -} - -function _arLabelingSubEBZ(i5, i18, i19, i6, i20) { - i5 = i5 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - i6 = i6 | 0; - i20 = i20 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i21 = 0, d22 = 0.0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i17 = i21; - i8 = HEAP32[i20 >> 2] | 0; - i16 = i19 + -1 | 0; - i1 = i8; - i2 = 0; - i3 = i8 + ((Math_imul(i16, i18) | 0) << 1) | 0; - while (1) { - if ((i2 | 0) >= (i18 | 0)) break; - HEAP16[i3 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + 2 | 0; - i2 = i2 + 1 | 0; - i3 = i3 + 2 | 0; - } - i15 = i18 + -1 | 0; - i1 = i8; - i2 = 0; - i3 = i8 + (i15 << 1) | 0; - while (1) { - if ((i2 | 0) >= (i19 | 0)) break; - HEAP16[i3 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + (i18 << 1) | 0; - i2 = i2 + 1 | 0; - i3 = i3 + (i18 << 1) | 0; - } - i4 = i20 + 1179664 | 0; - i12 = i18 + 1 | 0; - i14 = 0 - i18 | 0; - i7 = i5 + i12 | 0; - i2 = i6 + i12 | 0; - i13 = 1; - i9 = 0; - i3 = (HEAP32[i20 + 4 >> 2] | 0) + i12 | 0; - i5 = i8 + (i12 << 1) | 0; - L9 : while (1) { - if ((i13 | 0) >= (i16 | 0)) { - i2 = 59; - break; - } - i10 = i2; - i1 = i9; - i11 = i3; - i9 = 1; - i12 = i5; - while (1) { - if ((i9 | 0) >= (i15 | 0)) break; - do if ((HEAPU8[i7 >> 0] | 0) > (HEAPU8[i10 >> 0] | 0)) { - HEAP16[i12 >> 1] = 0; - HEAP8[i11 >> 0] = 0; - } else { - HEAP8[i11 >> 0] = -1; - i3 = i12 + (i14 << 1) | 0; - i2 = HEAP16[i3 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i12 >> 1] = i2; - i8 = (i2 << 16 >> 16) * 7 | 0; - i6 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 1; - i6 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + i9; - i6 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + i13; - HEAP32[i20 + 1310736 + (i8 + -1 << 2) >> 2] = i13; - break; - } - i6 = HEAP16[i3 + 2 >> 1] | 0; - i8 = i6 << 16 >> 16; - i2 = HEAP16[i3 + -2 >> 1] | 0; - i5 = i2 << 16 >> 16; - i3 = i2 << 16 >> 16 > 0; - if (i6 << 16 >> 16 <= 0) { - if (i3) { - HEAP16[i12 >> 1] = i2; - i2 = i5 * 7 | 0; - i3 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i13; - i3 = i20 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) < (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i20 + 1310736 + (i2 + -1 << 2) >> 2] = i13; - break; - } - i2 = HEAP16[i12 + -2 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i12 >> 1] = i2; - i2 = (i2 << 16 >> 16) * 7 | 0; - i8 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - i8 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i9; - i8 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i13; - i2 = i20 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) >= (i9 | 0)) break; - HEAP32[i2 >> 2] = i9; - break; - } else { - i2 = i1 + 1 | 0; - if ((i1 | 0) > 32767) { - i2 = 54; - break L9; - } - HEAP16[i12 >> 1] = i2; - HEAP32[i20 + 1179664 + (i1 << 2) >> 2] = i2 << 16 >> 16; - i1 = i1 * 7 | 0; - HEAP32[i20 + 1310736 + (i1 << 2) >> 2] = 1; - HEAP32[i20 + 1310736 + (i1 + 1 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 2 << 2) >> 2] = i13; - HEAP32[i20 + 1310736 + (i1 + 3 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 4 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 5 << 2) >> 2] = i13; - HEAP32[i20 + 1310736 + (i1 + 6 << 2) >> 2] = i13; - i1 = i2; + $2 = HEAP32[$0 + 428 >> 2]; + HEAP32[$1 + 40 >> 2] = $2; + HEAP32[$1 + 36 >> 2] = $2; + wasm2js_i32$0 = $1, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$1 + 8 >> 2], HEAP32[$0 + 28 >> 2]), Math_imul(HEAP32[$0 + 316 >> 2], $2)), + HEAP32[wasm2js_i32$0 + 28 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$1 + 12 >> 2], HEAP32[$0 + 32 >> 2]), Math_imul(HEAP32[$0 + 428 >> 2], HEAP32[$0 + 320 >> 2])), + HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$1 + 8 >> 2], HEAP32[$0 + 28 >> 2]), HEAP32[$0 + 316 >> 2]), + HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; + $2 = jdiv_round_up(Math_imul(HEAP32[$1 + 12 >> 2], HEAP32[$0 + 32 >> 2]), HEAP32[$0 + 320 >> 2]); + HEAP32[$1 + 80 >> 2] = 0; + HEAP32[$1 + 52 >> 2] = 1; + HEAP32[$1 + 48 >> 2] = $2; + $1 = $1 + 88 | 0; + $3 = $3 + 1 | 0; + if (($3 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; + } break; } + $1 = HEAP32[$0 + 428 >> 2]; } - if (i3) { - i2 = HEAP32[i20 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i6 = HEAP32[i20 + 1179664 + (i5 + -1 << 2) >> 2] | 0; - L37 : do if ((i2 | 0) <= (i6 | 0)) { - HEAP16[i12 >> 1] = i2; - if ((i2 | 0) < (i6 | 0)) { - i3 = i4; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i1 | 0)) break L37; - if ((HEAP32[i3 >> 2] | 0) == (i6 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i5 = i5 + 1 | 0; - } + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(HEAP32[$0 + 32 >> 2], Math_imul(HEAP32[$0 + 320 >> 2], $1)), + HEAP32[wasm2js_i32$0 + 332 >> 2] = wasm2js_i32$1; + $2 = 1; + $1 = HEAP32[$0 + 340 >> 2]; + $2 = ($1 | 0) >= HEAP32[$0 + 36 >> 2] ? HEAP32[$0 + 224 >> 2] != 0 : $2; + HEAP32[HEAP32[$0 + 460 >> 2] + 16 >> 2] = $2; + } + if (!$1) { + HEAP32[$5 + 24 >> 2] = 2; + continue; + } + break; + } + HEAP32[$5 + 24 >> 2] = 0; + return 1; + } + return $1 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 144 | 0; + __stack_pointer = $1; + $6 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29__SaveTemplateParams__SaveTemplateParams_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___29($1 - -64 | 0, $0); + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + label$1: { + if (!(($2 | 0) != 84 & ($2 & 255) != 71)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSpecialName_28_29($0); + break label$1; + } + HEAP32[$1 + 56 >> 2] = $0; + $4 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__NameState_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___29($1 + 40 | 0, $0); + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $4); + HEAP32[$1 + 36 >> 2] = $3; + $2 = 0; + if (!$3) { + break label$1; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___resolveForwardTemplateRefs_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $4)) { + break label$1; + } + $2 = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29___lambda__28_29__operator_28_29_28_29_20const($1 + 56 | 0)) { + break label$1; + } + HEAP32[$1 + 32 >> 2] = 0; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 24 | 0, 35324); + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$1 + 4 >> 2] = $3; + label$3: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1)) { + $3 = $0 + 8 | 0; + $5 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($3); + while (1) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArg_28_29($0); + HEAP32[$1 + 16 >> 2] = $2; + if (!$2) { + break label$3; } - } else { - HEAP16[i12 >> 1] = i6; - i3 = i4; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i1 | 0)) { - i2 = i6; - break L37; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i6; - i3 = i3 + 4 | 0; - i5 = i5 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i6 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 1; - i6 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + i9; - i6 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + i13; - HEAP32[i20 + 1310736 + (i8 + -1 << 2) >> 2] = i13; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($3, $1 + 16 | 0); + continue; + } break; } - i3 = HEAP16[i12 + -2 >> 1] | 0; - if (i3 << 16 >> 16 <= 0) { - HEAP16[i12 >> 1] = i6; - i2 = i8 * 7 | 0; - i3 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i13; - i3 = i20 + 1310736 + (i2 + -4 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) > (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i20 + 1310736 + (i2 + -1 << 2) >> 2] = i13; - break; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 + 16 | 0, $0, $5); + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnableIfAttr_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1 + 16 | 0), + HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; + } + HEAP32[$1 + 12 >> 2] = 0; + if (!(HEAPU8[$4 | 0] | !HEAPU8[$4 + 1 | 0])) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 12 >> 2] = $2; + if (!$2) { + break label$3; } - i2 = HEAP32[i20 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i6 = HEAP32[i20 + 1179664 + ((i3 << 16 >> 16) + -1 << 2) >> 2] | 0; - L61 : do if ((i2 | 0) <= (i6 | 0)) { - HEAP16[i12 >> 1] = i2; - if ((i2 | 0) < (i6 | 0)) { - i3 = i4; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i1 | 0)) break L61; - if ((HEAP32[i3 >> 2] | 0) == (i6 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i5 = i5 + 1 | 0; - } - } - } else { - HEAP16[i12 >> 1] = i6; - i3 = i4; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i1 | 0)) { - i2 = i6; - break L61; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i6; - i3 = i3 + 4 | 0; - i5 = i5 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i6 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 1; - i6 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + i9; - i8 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i13; - } while (0); - i7 = i7 + 1 | 0; - i10 = i10 + 1 | 0; - i11 = i11 + 1 | 0; - i9 = i9 + 1 | 0; - i12 = i12 + 2 | 0; - } - i7 = i7 + 2 | 0; - i2 = i10 + 2 | 0; - i13 = i13 + 1 | 0; - i9 = i1; - i3 = i11 + 2 | 0; - i5 = i12 + 4 | 0; - } - L80 : do if ((i2 | 0) == 54) { - _arLog(0, 3, 17520, i17); - i1 = -1; - } else if ((i2 | 0) == 59) { - i6 = i20 + 12 | 0; - i1 = 1; - i5 = 1; - while (1) { - if ((i5 | 0) > (i9 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (i5 | 0)) i3 = i1 + 1 | 0; else { - i3 = i1; - i1 = HEAP32[i20 + 1179664 + (i2 + -1 << 2) >> 2] | 0; - } - HEAP32[i4 >> 2] = i1; - i1 = i3; - i5 = i5 + 1 | 0; - i4 = i4 + 4 | 0; - } - i7 = i20 + 8 | 0; - i2 = i1 + -1 | 0; - HEAP32[i7 >> 2] = i2; - if (!i2) i1 = 0; else { - _memset(i6 | 0, 0, i2 << 2 | 0) | 0; - _memset(i20 + 655376 | 0, 0, i2 << 4 | 0) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i17 = i1 << 2; - HEAP32[i20 + 131084 + (i17 << 2) >> 2] = i18; - HEAP32[i20 + 131084 + ((i17 | 1) << 2) >> 2] = 0; - HEAP32[i20 + 131084 + ((i17 | 2) << 2) >> 2] = i19; - HEAP32[i20 + 131084 + ((i17 | 3) << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i9 | 0)) break; - i3 = (HEAP32[i20 + 1179664 + (i5 << 2) >> 2] | 0) + -1 | 0; - i4 = i5 * 7 | 0; - i1 = i20 + 12 + (i3 << 2) | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + (HEAP32[i20 + 1310736 + (i4 << 2) >> 2] | 0); - i1 = i3 << 1; - i2 = i20 + 655376 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] + +(HEAP32[i20 + 1310736 + (i4 + 1 << 2) >> 2] | 0); - i1 = i20 + 655376 + ((i1 | 1) << 3) | 0; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] + +(HEAP32[i20 + 1310736 + (i4 + 2 << 2) >> 2] | 0); - i3 = i3 << 2; - i1 = i20 + 131084 + (i3 << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 3 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i20 + 131084 + ((i3 | 1) << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 4 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) < (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i20 + 131084 + ((i3 | 2) << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 5 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i2 = i20 + 131084 + ((i3 | 3) << 2) | 0; - i1 = HEAP32[i20 + 1310736 + (i4 + 6 << 2) >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) < (i1 | 0)) HEAP32[i2 >> 2] = i1; - i5 = i5 + 1 | 0; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 118)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FunctionEncoding_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__29($0, $1 + 12 | 0, $1 + 36 | 0, $28anonymous_20namespace_29__itanium_demangle__NodeArray__NodeArray_28_29($1 + 16 | 0), $1 + 32 | 0, $4 + 4 | 0, $4 + 8 | 0); + break label$1; + } + $3 = $0 + 8 | 0; + $5 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($3); while (1) { - if ((i1 | 0) >= (i2 | 0)) { - i1 = 0; - break L80; - } - d22 = +(HEAP32[i20 + 12 + (i1 << 2) >> 2] | 0); - i19 = i1 << 1; - i18 = i20 + 655376 + (i19 << 3) | 0; - HEAPF64[i18 >> 3] = +HEAPF64[i18 >> 3] / d22; - i19 = i20 + 655376 + ((i19 | 1) << 3) | 0; - HEAPF64[i19 >> 3] = +HEAPF64[i19 >> 3] / d22; - i1 = i1 + 1 | 0; - } - } - } while (0); - STACKTOP = i21; - return i1 | 0; -} - -function _arLabelingSubEWIC(i5, i16, i1, i17, i21) { - i5 = i5 | 0; - i16 = i16 | 0; - i1 = i1 | 0; - i17 = i17 | 0; - i21 = i21 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, d23 = 0.0; - i22 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i18 = i22; - i20 = (i16 | 0) / 2 | 0; - i19 = (i1 | 0) / 2 | 0; - i6 = HEAP32[i21 >> 2] | 0; - i15 = i19 + -1 | 0; - i1 = i6; - i2 = i6 + ((Math_imul(i15, i20) | 0) << 1) | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i20 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + 2 | 0; - i2 = i2 + 2 | 0; - i3 = i3 + 1 | 0; - } - i14 = i20 + -1 | 0; - i1 = i6; - i2 = i6 + (i14 << 1) | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i19 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + (i20 << 1) | 0; - i2 = i2 + (i20 << 1) | 0; - i3 = i3 + 1 | 0; - } - i4 = i21 + 1179664 | 0; - i11 = i20 + 1 | 0; - i13 = 0 - i20 | 0; - i2 = i5 + ((i16 << 1) + 2) | 0; - i12 = 1; - i8 = 0; - i3 = (HEAP32[i21 + 4 >> 2] | 0) + i11 | 0; - i5 = i6 + (i11 << 1) | 0; - L9 : while (1) { - if ((i12 | 0) >= (i15 | 0)) { - i2 = 59; - break; - } - i10 = i2; - i1 = i8; - i11 = i3; - i9 = 1; - while (1) { - if ((i9 | 0) >= (i14 | 0)) break; - do if ((HEAPU8[i10 >> 0] | 0 | 0) > (i17 | 0)) { - HEAP8[i11 >> 0] = -1; - i3 = i5 + (i13 << 1) | 0; - i2 = HEAP16[i3 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i5 >> 1] = i2; - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i21 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i21 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i21 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i12; - HEAP32[i21 + 1310736 + (i8 + -1 << 2) >> 2] = i12; - break; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 16 >> 2] = $2; + if (!$2) { + break label$3; } - i7 = HEAP16[i3 + 2 >> 1] | 0; - i8 = i7 << 16 >> 16; - i2 = HEAP16[i3 + -2 >> 1] | 0; - i6 = i2 << 16 >> 16; - i3 = i2 << 16 >> 16 > 0; - if (i7 << 16 >> 16 <= 0) { - if (i3) { - HEAP16[i5 >> 1] = i2; - i2 = i6 * 7 | 0; - i3 = i21 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i21 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i21 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i12; - i3 = i21 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) < (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i21 + 1310736 + (i2 + -1 << 2) >> 2] = i12; - break; - } - i2 = HEAP16[i5 + -2 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i5 >> 1] = i2; - i2 = (i2 << 16 >> 16) * 7 | 0; - i8 = i21 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - i8 = i21 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i9; - i8 = i21 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i12; - i2 = i21 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) >= (i9 | 0)) break; - HEAP32[i2 >> 2] = i9; - break; - } else { - i2 = i1 + 1 | 0; - if ((i1 | 0) > 32767) { - i2 = 54; - break L9; - } - HEAP16[i5 >> 1] = i2; - HEAP32[i21 + 1179664 + (i1 << 2) >> 2] = i2 << 16 >> 16; - i1 = i1 * 7 | 0; - HEAP32[i21 + 1310736 + (i1 << 2) >> 2] = 1; - HEAP32[i21 + 1310736 + (i1 + 1 << 2) >> 2] = i9; - HEAP32[i21 + 1310736 + (i1 + 2 << 2) >> 2] = i12; - HEAP32[i21 + 1310736 + (i1 + 3 << 2) >> 2] = i9; - HEAP32[i21 + 1310736 + (i1 + 4 << 2) >> 2] = i9; - HEAP32[i21 + 1310736 + (i1 + 5 << 2) >> 2] = i12; - HEAP32[i21 + 1310736 + (i1 + 6 << 2) >> 2] = i12; - i1 = i2; - break; - } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($3, $1 + 16 | 0); + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29___lambda__28_29__operator_28_29_28_29_20const($1 + 56 | 0)) { + continue; } - if (i3) { - i2 = HEAP32[i21 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i21 + 1179664 + (i6 + -1 << 2) >> 2] | 0; - L36 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i5 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i3 = i4; - i6 = 0; + break; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 + 16 | 0, $0, $5); + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FunctionEncoding_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__29($0, $1 + 12 | 0, $1 + 36 | 0, $1 + 16 | 0, $1 + 32 | 0, $4 + 4 | 0, $4 + 8 | 0); + break label$1; + } + $2 = 0; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29__SaveTemplateParams___SaveTemplateParams_28_29($6); + __stack_pointer = $1 + 144 | 0; + return $2; +} + +function vision__BinomialPyramid32f__build_28vision__Image_20const__29($0, $1) { + var $2 = 0; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + if ((vision__Image__type_28_29_20const($1) | 0) == 1) { + if ((vision__Image__channels_28_29_20const($1) | 0) != 1) { + break label$5; + } + $2 = $0 + 4 | 0; + if ((std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($2) | 0) != (Math_imul(HEAP32[$0 + 20 >> 2], HEAP32[$0 + 16 >> 2]) | 0)) { + break label$4; + } + if ((vision__Image__width_28_29_20const($1) | 0) != (vision__Image__width_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, 0)) | 0)) { + break label$3; + } + if ((vision__Image__height_28_29_20const($1) | 0) != (vision__Image__height_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, 0)) | 0)) { + break label$2; + } + vision__BinomialPyramid32f__apply_filter_28vision__Image__2c_20vision__Image_20const__29($0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, 0), $1); + vision__BinomialPyramid32f__apply_filter_28vision__Image__2c_20vision__Image_20const__29($0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, 1), std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, 0)); + vision__BinomialPyramid32f__apply_filter_twice_28vision__Image__2c_20vision__Image_20const__29($0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, 2), std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, 1)); + $1 = 1; while (1) { - if ((i6 | 0) >= (i1 | 0)) break L36; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; + if (HEAPU32[$0 + 16 >> 2] <= $1 >>> 0) { + break label$1; + } + vision__downsample_bilinear_28float__2c_20float_20const__2c_20unsigned_20long_2c_20unsigned_20long_29(vision__Image__get_28_29(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, Math_imul(HEAP32[$0 + 20 >> 2], $1))), vision__Image__get_28_29(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, Math_imul(HEAP32[$0 + 20 >> 2], $1) - 1 | 0)), vision__Image__width_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, Math_imul(HEAP32[$0 + 20 >> 2], $1) - 1 | 0)), vision__Image__height_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, Math_imul(HEAP32[$0 + 20 >> 2], $1) - 1 | 0))); + vision__BinomialPyramid32f__apply_filter_28vision__Image__2c_20vision__Image_20const__29($0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, Math_imul(HEAP32[$0 + 20 >> 2], $1) + 1 | 0), std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, Math_imul(HEAP32[$0 + 20 >> 2], $1))); + vision__BinomialPyramid32f__apply_filter_twice_28vision__Image__2c_20vision__Image_20const__29($0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, Math_imul(HEAP32[$0 + 20 >> 2], $1) + 2 | 0), std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($2, Math_imul(HEAP32[$0 + 20 >> 2], $1) + 1 | 0)); + $1 = $1 + 1 | 0; + continue; } } - } else { - HEAP16[i5 >> 1] = i7; - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L36; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i7; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i21 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i21 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i21 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i12; - HEAP32[i21 + 1310736 + (i8 + -1 << 2) >> 2] = i12; - break; - } - i3 = HEAP16[i5 + -2 >> 1] | 0; - if (i3 << 16 >> 16 <= 0) { - HEAP16[i5 >> 1] = i7; - i2 = i8 * 7 | 0; - i3 = i21 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i21 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i21 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i12; - i3 = i21 + 1310736 + (i2 + -4 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) > (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i21 + 1310736 + (i2 + -1 << 2) >> 2] = i12; - break; - } - i2 = HEAP32[i21 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i21 + 1179664 + ((i3 << 16 >> 16) + -1 << 2) >> 2] | 0; - L60 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i5 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i3 = i4; - i6 = 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 5989), 2354), 3289), 330), 3786), 6539), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 7623), 2354), 3289), 331), 3786), 8142), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 9102), 2354), 3289), 333), 3786), 9642), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 10602), 2354), 3289), 334), 3786), 11126), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 11912), 2354), 3289), 335), 3786), 11126), 16); + abort(); + abort(); + } +} + +function void_20vision__FindFeatures_vision__FREAKExtractor_2c_2096__28vision__Keyframe_96___2c_20vision__GaussianScaleSpacePyramid_20const__2c_20vision__DoGScaleInvariantDetector__2c_20vision__FREAKExtractor__29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $6 = __stack_pointer - 48 | 0; + __stack_pointer = $6; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + if ($1) { + if (!$2) { + break label$5; + } + if (!std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1))) { + break label$4; + } + if ((vision__Image__width_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1), 0)) | 0) != (vision__DoGScaleInvariantDetector__width_28_29_20const($2) | 0)) { + break label$3; + } + if ((vision__Image__height_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1), 0)) | 0) != (vision__DoGScaleInvariantDetector__height_28_29_20const($2) | 0)) { + break label$2; + } + vision__DoGScaleInvariantDetector__detect_28vision__GaussianScaleSpacePyramid_20const__29($2, $1); + $8 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____vector_28unsigned_20long_29($6 + 32 | 0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const(vision__DoGScaleInvariantDetector__features_28_29_20const($2))); + while (1) { + if (std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const(vision__DoGScaleInvariantDetector__features_28_29_20const($2)) >>> 0 <= $7 >>> 0) { + break label$1; + } + $4 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const(vision__DoGScaleInvariantDetector__features_28_29_20const($2), $7); + $4 = vision__FeaturePoint__FeaturePoint_28float_2c_20float_2c_20float_2c_20float_2c_20bool_29($6 + 8 | 0, HEAPF32[$4 >> 2], HEAPF32[$4 + 4 >> 2], HEAPF32[$4 + 8 >> 2], HEAPF32[$4 + 28 >> 2], HEAPF32[$4 + 24 >> 2] > Math_fround(0)); + $5 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29($8, $7); + HEAP8[$5 + 16 | 0] = HEAPU8[$4 + 16 | 0]; + $9 = HEAP32[$4 + 12 >> 2]; + $10 = HEAP32[$4 + 8 >> 2]; + HEAP32[$5 + 8 >> 2] = $10; + HEAP32[$5 + 12 >> 2] = $9; + $10 = HEAP32[$4 + 4 >> 2]; + $9 = HEAP32[$4 >> 2]; + HEAP32[$5 >> 2] = $9; + HEAP32[$5 + 4 >> 2] = $10; + vision__FeaturePoint___FeaturePoint_28_29($4); + $7 = $7 + 1 | 0; + continue; + } + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 7559), 8168), 9176), 212), 10040), 10492), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 11214), 8168), 9176), 213), 10040), 11695), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 14060), 8168), 9176), 214), 10040), 14400), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 15074), 8168), 9176), 215), 10040), 15327), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 15876), 8168), 9176), 216), 10040), 15327), 16); + abort(); + abort(); + } + vision__FREAKExtractor__extract_28vision__BinaryFeatureStore__2c_20vision__GaussianScaleSpacePyramid_20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__29($3, vision__Keyframe_96___store_28_29($0), $1, $8); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____vector_28_29($8); + __stack_pointer = $6 + 48 | 0; +} + +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______rehash_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___________alloc_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________get_deleter_28_29($0)); + label$1: { + if ($1) { + std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______29($0, std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________allocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________2c_20unsigned_20long_29($2, $1)); + wasm2js_i32$0 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________size_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________get_deleter_28_29($0)), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = 0; + while (1) if (($1 | 0) == ($2 | 0)) { + $2 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______first_28_29($0 + 8 | 0)); + $3 = HEAP32[$2 >> 2]; + if (!$3) { + break label$1; + } + $7 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_28_29_20const($3), $1); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $7), + wasm2js_i32$1 = $2, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + while (1) { + $4 = HEAP32[$3 >> 2]; + if (!$4) { + break label$1; + } + label$6: { + $5 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_28_29_20const($4), $1); + if (($7 | 0) == ($5 | 0)) { + break label$6; + } + $6 = $4; + if (!HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2]) { + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5), + wasm2js_i32$1 = $3, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $7 = $5; + break label$6; + } while (1) { - if ((i6 | 0) >= (i1 | 0)) break L60; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; + label$9: { + $2 = $6; + if (!HEAP32[$2 >> 2]) { + $6 = 0; + break label$9; + } + $8 = std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true___operator_28_29_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__20const__2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__20const__29_20const(std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____key_eq_28_29($0), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________upcast_28_29($4) + 8 | 0, std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________upcast_28_29(HEAP32[$2 >> 2]) + 8 | 0); + $6 = HEAP32[$2 >> 2]; + if ($8) { + continue; + } + } + break; } - } - } else { - HEAP16[i5 >> 1] = i7; - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L60; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i7; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i21 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i21 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i8 = i21 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i12; + HEAP32[$3 >> 2] = $6; + wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2] >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2], + wasm2js_i32$1 = $4, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + continue; + } + $3 = $4; + continue; + } } else { - HEAP16[i5 >> 1] = 0; - HEAP8[i11 >> 0] = 0; - } while (0); - i10 = i10 + 2 | 0; - i11 = i11 + 1 | 0; - i9 = i9 + 1 | 0; - i5 = i5 + 2 | 0; - } - i2 = i10 + i16 + 4 | 0; - i12 = i12 + 1 | 0; - i8 = i1; - i3 = i11 + 2 | 0; - i5 = i5 + 4 | 0; - } - L80 : do if ((i2 | 0) == 54) { - _arLog(0, 3, 17520, i18); - i1 = -1; - } else if ((i2 | 0) == 59) { - i6 = i21 + 12 | 0; - i1 = 1; - i5 = 1; - while (1) { - if ((i5 | 0) > (i8 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (i5 | 0)) i3 = i1 + 1 | 0; else { - i3 = i1; - i1 = HEAP32[i21 + 1179664 + (i2 + -1 << 2) >> 2] | 0; - } - HEAP32[i4 >> 2] = i1; - i1 = i3; - i5 = i5 + 1 | 0; - i4 = i4 + 4 | 0; - } - i7 = i21 + 8 | 0; - i2 = i1 + -1 | 0; - HEAP32[i7 >> 2] = i2; - if (!i2) i1 = 0; else { - _memset(i6 | 0, 0, i2 << 2 | 0) | 0; - _memset(i21 + 655376 | 0, 0, i2 << 4 | 0) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i18 = i1 << 2; - HEAP32[i21 + 131084 + (i18 << 2) >> 2] = i20; - HEAP32[i21 + 131084 + ((i18 | 1) << 2) >> 2] = 0; - HEAP32[i21 + 131084 + ((i18 | 2) << 2) >> 2] = i19; - HEAP32[i21 + 131084 + ((i18 | 3) << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i8 | 0)) break; - i3 = (HEAP32[i21 + 1179664 + (i5 << 2) >> 2] | 0) + -1 | 0; - i4 = i5 * 7 | 0; - i1 = i21 + 12 + (i3 << 2) | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + (HEAP32[i21 + 1310736 + (i4 << 2) >> 2] | 0); - i1 = i3 << 1; - i2 = i21 + 655376 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] + +(HEAP32[i21 + 1310736 + (i4 + 1 << 2) >> 2] | 0); - i1 = i21 + 655376 + ((i1 | 1) << 3) | 0; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] + +(HEAP32[i21 + 1310736 + (i4 + 2 << 2) >> 2] | 0); - i3 = i3 << 2; - i1 = i21 + 131084 + (i3 << 2) | 0; - i2 = HEAP32[i21 + 1310736 + (i4 + 3 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i21 + 131084 + ((i3 | 1) << 2) | 0; - i2 = HEAP32[i21 + 1310736 + (i4 + 4 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) < (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i21 + 131084 + ((i3 | 2) << 2) | 0; - i2 = HEAP32[i21 + 1310736 + (i4 + 5 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i2 = i21 + 131084 + ((i3 | 3) << 2) | 0; - i1 = HEAP32[i21 + 1310736 + (i4 + 6 << 2) >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) < (i1 | 0)) HEAP32[i2 >> 2] = i1; - i5 = i5 + 1 | 0; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) { - i1 = 0; - break L80; - } - d23 = +(HEAP32[i21 + 12 + (i1 << 2) >> 2] | 0); - i20 = i1 << 1; - i19 = i21 + 655376 + (i20 << 3) | 0; - HEAPF64[i19 >> 3] = +HEAPF64[i19 >> 3] / d23; - i20 = i21 + 655376 + ((i20 | 1) << 3) | 0; - HEAPF64[i20 >> 3] = +HEAPF64[i20 >> 3] / d23; - i1 = i1 + 1 | 0; - } - } - } while (0); - STACKTOP = i22; - return i1 | 0; -} - -function _arLabelingSubEBIC(i5, i16, i1, i17, i21) { - i5 = i5 | 0; - i16 = i16 | 0; - i1 = i1 | 0; - i17 = i17 | 0; - i21 = i21 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, d23 = 0.0; - i22 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i18 = i22; - i20 = (i16 | 0) / 2 | 0; - i19 = (i1 | 0) / 2 | 0; - i6 = HEAP32[i21 >> 2] | 0; - i15 = i19 + -1 | 0; - i1 = i6; - i2 = i6 + ((Math_imul(i15, i20) | 0) << 1) | 0; - i3 = 0; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $2), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = $2 + 1 | 0; + continue; + } + } + std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______29($0, 0); + wasm2js_i32$0 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________size_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________get_deleter_28_29($0)), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } +} + +function arLabelingSubEBZ($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $6 = ($1 | 0) > 0 ? $1 : 0; + $8 = HEAP32[$4 >> 2]; + $13 = $2 - 1 | 0; + $7 = $8 + (Math_imul($13, $1) << 1) | 0; + $9 = $8; while (1) { - if ((i3 | 0) >= (i20 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + 2 | 0; - i2 = i2 + 2 | 0; - i3 = i3 + 1 | 0; - } - i14 = i20 + -1 | 0; - i1 = i6; - i2 = i6 + (i14 << 1) | 0; - i3 = 0; + if (($5 | 0) != ($6 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$9 >> 1] = 0; + $5 = $5 + 1 | 0; + $9 = $9 + 2 | 0; + $7 = $7 + 2 | 0; + continue; + } + break; + } + $14 = ($2 | 0) > 0 ? $2 : 0; + $10 = $1 - 1 | 0; + $7 = ($10 << 1) + $8 | 0; + $5 = 0; + $9 = $8; while (1) { - if ((i3 | 0) >= (i19 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + (i20 << 1) | 0; - i2 = i2 + (i20 << 1) | 0; - i3 = i3 + 1 | 0; - } - i4 = i21 + 1179664 | 0; - i11 = i20 + 1 | 0; - i13 = 0 - i20 | 0; - i2 = i5 + ((i16 << 1) + 2) | 0; - i12 = 1; - i8 = 0; - i3 = (HEAP32[i21 + 4 >> 2] | 0) + i11 | 0; - i5 = i6 + (i11 << 1) | 0; - L9 : while (1) { - if ((i12 | 0) >= (i15 | 0)) { - i2 = 59; - break; + if (($5 | 0) != ($14 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$9 >> 1] = 0; + $5 = $5 + 1 | 0; + $6 = $1 << 1; + $7 = $7 + $6 | 0; + $9 = $6 + $9 | 0; + continue; } - i10 = i2; - i1 = i8; - i11 = i3; - i9 = 1; - while (1) { - if ((i9 | 0) >= (i14 | 0)) break; - do if ((HEAPU8[i10 >> 0] | 0 | 0) > (i17 | 0)) { - HEAP16[i5 >> 1] = 0; - HEAP8[i11 >> 0] = 0; - } else { - HEAP8[i11 >> 0] = -1; - i3 = i5 + (i13 << 1) | 0; - i2 = HEAP16[i3 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i5 >> 1] = i2; - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i21 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i21 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i21 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i12; - HEAP32[i21 + 1310736 + (i8 + -1 << 2) >> 2] = i12; - break; - } - i7 = HEAP16[i3 + 2 >> 1] | 0; - i8 = i7 << 16 >> 16; - i2 = HEAP16[i3 + -2 >> 1] | 0; - i6 = i2 << 16 >> 16; - i3 = i2 << 16 >> 16 > 0; - if (i7 << 16 >> 16 <= 0) { - if (i3) { - HEAP16[i5 >> 1] = i2; - i2 = i6 * 7 | 0; - i3 = i21 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i21 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i21 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i12; - i3 = i21 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) < (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i21 + 1310736 + (i2 + -1 << 2) >> 2] = i12; - break; - } - i2 = HEAP16[i5 + -2 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i5 >> 1] = i2; - i2 = (i2 << 16 >> 16) * 7 | 0; - i8 = i21 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - i8 = i21 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i9; - i8 = i21 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i12; - i2 = i21 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) >= (i9 | 0)) break; - HEAP32[i2 >> 2] = i9; - break; - } else { - i2 = i1 + 1 | 0; - if ((i1 | 0) > 32767) { - i2 = 54; - break L9; - } - HEAP16[i5 >> 1] = i2; - HEAP32[i21 + 1179664 + (i1 << 2) >> 2] = i2 << 16 >> 16; - i1 = i1 * 7 | 0; - HEAP32[i21 + 1310736 + (i1 << 2) >> 2] = 1; - HEAP32[i21 + 1310736 + (i1 + 1 << 2) >> 2] = i9; - HEAP32[i21 + 1310736 + (i1 + 2 << 2) >> 2] = i12; - HEAP32[i21 + 1310736 + (i1 + 3 << 2) >> 2] = i9; - HEAP32[i21 + 1310736 + (i1 + 4 << 2) >> 2] = i9; - HEAP32[i21 + 1310736 + (i1 + 5 << 2) >> 2] = i12; - HEAP32[i21 + 1310736 + (i1 + 6 << 2) >> 2] = i12; - i1 = i2; - break; - } - } - if (i3) { - i2 = HEAP32[i21 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i21 + 1179664 + (i6 + -1 << 2) >> 2] | 0; - L37 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i5 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L37; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; + break; + } + $20 = ($13 | 0) > 1 ? $13 : 1; + $16 = $4 + 1310736 | 0; + $15 = $4 + 1179664 | 0; + $5 = $1 + 1 | 0; + $14 = $5 + $3 | 0; + $13 = $0 + $5 | 0; + $3 = HEAP32[$4 + 4 >> 2] + $5 | 0; + $17 = ($10 | 0) > 1 ? $10 : 1; + $18 = $17 - 1 | 0; + $9 = ($5 << 1) + $8 | 0; + $21 = 0 - $1 << 1; + $11 = 1; + label$5: { + label$6: while (1) { + if (($11 | 0) != ($20 | 0)) { + $22 = $13 + $18 | 0; + $23 = $14 + $18 | 0; + $7 = 1; + while (1) { + label$9: { + label$10: { + label$11: { + if (($7 | 0) != ($17 | 0)) { + if (HEAPU8[$13 | 0] <= HEAPU8[$14 | 0]) { + HEAP8[$3 | 0] = 255; + $5 = $9 + $21 | 0; + $6 = HEAPU16[$5 >> 1]; + $8 = $6 << 16 >> 16; + if (($8 | 0) > 0) { + HEAP16[$9 >> 1] = $8; + $5 = Math_imul($6, 28) + $16 | 0; + HEAP32[$5 - 4 >> 2] = $11; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $11; + break label$9; + } + $10 = HEAPU16[$5 - 2 >> 1]; + $6 = $10 << 16 >> 16; + $5 = HEAP16[$5 + 2 >> 1]; + if (($5 | 0) > 0) { + if (($6 | 0) > 0) { + $8 = HEAP32[(($5 << 2) + $15 | 0) - 4 >> 2]; + $10 = HEAP32[(($10 << 2) + $15 | 0) - 4 >> 2]; + if (($8 | 0) > ($10 | 0)) { + HEAP16[$9 >> 1] = $10; + $6 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + $8 = $10; + break label$10; + } + if (HEAP32[$5 >> 2] == ($8 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $8; + if (($8 | 0) >= ($10 | 0)) { + break label$10; + } + $6 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + break label$10; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $8; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + $6 = HEAP16[$9 - 2 >> 1]; + if (($6 | 0) > 0) { + $8 = HEAP32[(($5 << 2) + $15 | 0) - 4 >> 2]; + $10 = HEAP32[((($6 & 65535) << 2) + $15 | 0) - 4 >> 2]; + if (($8 | 0) > ($10 | 0)) { + HEAP16[$9 >> 1] = $10; + $6 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + $8 = $10; + break label$11; + } + if (HEAP32[$5 >> 2] == ($8 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $8; + if (($8 | 0) >= ($10 | 0)) { + break label$11; + } + $6 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + break label$11; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $8; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $5; + $5 = Math_imul($5, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $11; + $6 = $5 - 16 | 0; + if (HEAP32[$6 >> 2] > ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $11; + break label$9; + } + if (($6 | 0) > 0) { + HEAP16[$9 >> 1] = $6; + $5 = Math_imul($10, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $11; + $6 = $5 - 12 | 0; + if (HEAP32[$6 >> 2] < ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $11; + break label$9; + } + $5 = HEAPU16[$9 - 2 >> 1]; + $6 = $5 << 16 >> 16; + if (($6 | 0) > 0) { + HEAP16[$9 >> 1] = $6; + $5 = Math_imul($5, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $11; + $5 = $5 - 12 | 0; + if (HEAP32[$5 >> 2] >= ($7 | 0)) { + break label$9; + } + HEAP32[$5 >> 2] = $7; + break label$9; + } + if (($12 | 0) >= 32768) { + arLog(0, 3, 1508, 0); + $6 = -1; + break label$5; + } + $6 = $12 + 1 | 0; + HEAP16[$9 >> 1] = $6; + HEAP32[($12 << 2) + $15 >> 2] = $6 << 16 >> 16; + $5 = Math_imul($12, 28) + $16 | 0; + HEAP32[$5 + 24 >> 2] = $11; + HEAP32[$5 + 20 >> 2] = $11; + HEAP32[$5 + 16 >> 2] = $7; + HEAP32[$5 + 12 >> 2] = $7; + HEAP32[$5 + 8 >> 2] = $11; + HEAP32[$5 + 4 >> 2] = $7; + HEAP32[$5 >> 2] = 1; + $12 = $6; + break label$9; + } + HEAP16[$9 >> 1] = 0; + HEAP8[$3 | 0] = 0; + break label$9; + } + $3 = $3 + 2 | 0; + $9 = $9 + 4 | 0; + $14 = $23 + 2 | 0; + $13 = $22 + 2 | 0; + $11 = $11 + 1 | 0; + continue label$6; } + $5 = Math_imul($8 << 16 >> 16, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $11; + break label$9; } - } else { - HEAP16[i5 >> 1] = i7; - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L37; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i7; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i21 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i21 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i21 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i12; - HEAP32[i21 + 1310736 + (i8 + -1 << 2) >> 2] = i12; - break; - } - i3 = HEAP16[i5 + -2 >> 1] | 0; - if (i3 << 16 >> 16 <= 0) { - HEAP16[i5 >> 1] = i7; - i2 = i8 * 7 | 0; - i3 = i21 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i21 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i21 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i12; - i3 = i21 + 1310736 + (i2 + -4 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) > (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i21 + 1310736 + (i2 + -1 << 2) >> 2] = i12; - break; + $5 = Math_imul($8 << 16 >> 16, 28) + $16 | 0; + HEAP32[$5 - 4 >> 2] = $11; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $11; + } + $3 = $3 + 1 | 0; + $9 = $9 + 2 | 0; + $14 = $14 + 1 | 0; + $13 = $13 + 1 | 0; + $7 = $7 + 1 | 0; + continue; } - i2 = HEAP32[i21 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i21 + 1179664 + ((i3 << 16 >> 16) + -1 << 2) >> 2] | 0; - L61 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i5 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L61; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } - } else { - HEAP16[i5 >> 1] = i7; - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L61; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i7; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i21 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i21 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i8 = i21 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i12; - } while (0); - i10 = i10 + 2 | 0; - i11 = i11 + 1 | 0; - i9 = i9 + 1 | 0; - i5 = i5 + 2 | 0; - } - i2 = i10 + i16 + 4 | 0; - i12 = i12 + 1 | 0; - i8 = i1; - i3 = i11 + 2 | 0; - i5 = i5 + 4 | 0; - } - L80 : do if ((i2 | 0) == 54) { - _arLog(0, 3, 17520, i18); - i1 = -1; - } else if ((i2 | 0) == 59) { - i6 = i21 + 12 | 0; - i1 = 1; - i5 = 1; + } + break; + } + $9 = $4 + 131084 | 0; + $13 = (($12 | 0) > 0 ? $12 : 0) + 1 | 0; + $5 = 1; + $14 = 1; + $7 = $15; while (1) { - if ((i5 | 0) > (i8 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (i5 | 0)) i3 = i1 + 1 | 0; else { - i3 = i1; - i1 = HEAP32[i21 + 1179664 + (i2 + -1 << 2) >> 2] | 0; - } - HEAP32[i4 >> 2] = i1; - i1 = i3; - i5 = i5 + 1 | 0; - i4 = i4 + 4 | 0; - } - i7 = i21 + 8 | 0; - i2 = i1 + -1 | 0; - HEAP32[i7 >> 2] = i2; - if (!i2) i1 = 0; else { - _memset(i6 | 0, 0, i2 << 2 | 0) | 0; - _memset(i21 + 655376 | 0, 0, i2 << 4 | 0) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i18 = i1 << 2; - HEAP32[i21 + 131084 + (i18 << 2) >> 2] = i20; - HEAP32[i21 + 131084 + ((i18 | 1) << 2) >> 2] = 0; - HEAP32[i21 + 131084 + ((i18 | 2) << 2) >> 2] = i19; - HEAP32[i21 + 131084 + ((i18 | 3) << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i8 | 0)) break; - i3 = (HEAP32[i21 + 1179664 + (i5 << 2) >> 2] | 0) + -1 | 0; - i4 = i5 * 7 | 0; - i1 = i21 + 12 + (i3 << 2) | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + (HEAP32[i21 + 1310736 + (i4 << 2) >> 2] | 0); - i1 = i3 << 1; - i2 = i21 + 655376 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] + +(HEAP32[i21 + 1310736 + (i4 + 1 << 2) >> 2] | 0); - i1 = i21 + 655376 + ((i1 | 1) << 3) | 0; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] + +(HEAP32[i21 + 1310736 + (i4 + 2 << 2) >> 2] | 0); - i3 = i3 << 2; - i1 = i21 + 131084 + (i3 << 2) | 0; - i2 = HEAP32[i21 + 1310736 + (i4 + 3 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i21 + 131084 + ((i3 | 1) << 2) | 0; - i2 = HEAP32[i21 + 1310736 + (i4 + 4 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) < (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i21 + 131084 + ((i3 | 2) << 2) | 0; - i2 = HEAP32[i21 + 1310736 + (i4 + 5 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i2 = i21 + 131084 + ((i3 | 3) << 2) | 0; - i1 = HEAP32[i21 + 1310736 + (i4 + 6 << 2) >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) < (i1 | 0)) HEAP32[i2 >> 2] = i1; - i5 = i5 + 1 | 0; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; + if (($5 | 0) != ($13 | 0)) { + $6 = HEAP32[$7 >> 2]; + label$37: { + if (($6 | 0) == ($5 | 0)) { + $6 = $14; + $14 = $6 + 1 | 0; + break label$37; + } + $6 = HEAP32[(($6 << 2) + $15 | 0) - 4 >> 2]; + } + HEAP32[$7 >> 2] = $6; + $7 = $7 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } + break; + } + $7 = $14 - 1 | 0; + HEAP32[$4 + 8 >> 2] = $7; + if (!$7) { + return 0; + } + $14 = $4 + 12 | 0; + wasm2js_memory_fill($14, 0, $7 << 2); + $13 = $4 + 655376 | 0; + wasm2js_memory_fill($13, 0, $7 << 4); + $5 = 0; + while (1) if (($5 | 0) >= ($7 | 0)) { + $7 = 0; + $10 = ($12 | 0) > 0 ? $12 : 0; while (1) { - if ((i1 | 0) >= (i2 | 0)) { - i1 = 0; - break L80; - } - d23 = +(HEAP32[i21 + 12 + (i1 << 2) >> 2] | 0); - i20 = i1 << 1; - i19 = i21 + 655376 + (i20 << 3) | 0; - HEAPF64[i19 >> 3] = +HEAPF64[i19 >> 3] / d23; - i20 = i21 + 655376 + ((i20 | 1) << 3) | 0; - HEAPF64[i20 >> 3] = +HEAPF64[i20 >> 3] / d23; - i1 = i1 + 1 | 0; - } - } - } while (0); - STACKTOP = i22; - return i1 | 0; -} - -function _arLabelingSubEWRC(i5, i18, i19, i15, i20) { - i5 = i5 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - i15 = i15 | 0; - i20 = i20 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0, i21 = 0, d22 = 0.0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i17 = i21; - i6 = HEAP32[i20 >> 2] | 0; - i16 = i19 + -1 | 0; - i1 = i6; - i2 = i6 + ((Math_imul(i16, i18) | 0) << 1) | 0; - i3 = 0; + if (($7 | 0) == ($10 | 0)) { + $6 = 0; + $5 = HEAP32[$4 + 8 >> 2]; + $9 = ($5 | 0) > 0 ? $5 : 0; + $5 = 0; + while (1) { + if (($5 | 0) == ($9 | 0)) { + break label$5; + } + $7 = ($5 << 4) + $13 | 0; + $19 = +HEAP32[($5 << 2) + $14 >> 2]; + HEAPF64[$7 >> 3] = HEAPF64[$7 >> 3] / $19; + $0 = $7; + $7 = $7 + 8 | 0; + HEAPF64[$7 >> 3] = HEAPF64[$0 + 8 >> 3] / $19; + $5 = $5 + 1 | 0; + continue; + } + } + $6 = HEAP32[($7 << 2) + $15 >> 2] - 1 | 0; + $3 = $6 << 2; + $5 = $14 + $3 | 0; + $0 = $5; + $1 = HEAP32[$5 >> 2]; + $5 = Math_imul($7, 28) + $16 | 0; + HEAP32[$0 >> 2] = $1 + HEAP32[$5 >> 2]; + $8 = $6 << 4; + $6 = $13 + $8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] + +HEAP32[$5 + 4 >> 2]; + $0 = $6; + $6 = $6 + 8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$0 + 8 >> 3] + +HEAP32[$5 + 8 >> 2]; + $6 = $9 + $8 | 0; + $8 = HEAP32[$5 + 12 >> 2]; + if (($8 | 0) < HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $8; + } + $8 = HEAP32[$5 + 16 >> 2]; + $6 = $3 << 2; + $3 = ($6 | 4) + $9 | 0; + if (($8 | 0) > HEAP32[$3 >> 2]) { + HEAP32[$3 >> 2] = $8; + } + $8 = HEAP32[$5 + 20 >> 2]; + $3 = ($6 | 8) + $9 | 0; + if (($8 | 0) < HEAP32[$3 >> 2]) { + HEAP32[$3 >> 2] = $8; + } + $5 = HEAP32[$5 + 24 >> 2]; + $6 = ($6 | 12) + $9 | 0; + if (($5 | 0) > HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $5; + } + $7 = $7 + 1 | 0; + continue; + } + } else { + $7 = ($5 << 4) + $9 | 0; + HEAP32[$7 >> 2] = $1; + HEAP32[$7 + 4 >> 2] = 0; + HEAP32[$7 + 8 >> 2] = $2; + HEAP32[$7 + 12 >> 2] = 0; + $5 = $5 + 1 | 0; + $7 = HEAP32[$4 + 8 >> 2]; + continue; + } + } + return $6; +} + +function arLabelingSubEWZ($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $6 = ($1 | 0) > 0 ? $1 : 0; + $8 = HEAP32[$4 >> 2]; + $13 = $2 - 1 | 0; + $7 = $8 + (Math_imul($13, $1) << 1) | 0; + $9 = $8; while (1) { - if ((i3 | 0) >= (i18 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + 2 | 0; - i2 = i2 + 2 | 0; - i3 = i3 + 1 | 0; - } - i14 = i18 + -1 | 0; - i1 = i6; - i2 = i6 + (i14 << 1) | 0; - i3 = 0; + if (($5 | 0) != ($6 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$9 >> 1] = 0; + $5 = $5 + 1 | 0; + $9 = $9 + 2 | 0; + $7 = $7 + 2 | 0; + continue; + } + break; + } + $14 = ($2 | 0) > 0 ? $2 : 0; + $10 = $1 - 1 | 0; + $7 = ($10 << 1) + $8 | 0; + $5 = 0; + $9 = $8; while (1) { - if ((i3 | 0) >= (i19 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + (i18 << 1) | 0; - i2 = i2 + (i18 << 1) | 0; - i3 = i3 + 1 | 0; - } - i4 = i20 + 1179664 | 0; - i11 = i18 + 1 | 0; - i13 = 0 - i18 | 0; - i2 = i5 + i11 | 0; - i12 = 1; - i8 = 0; - i3 = (HEAP32[i20 + 4 >> 2] | 0) + i11 | 0; - i5 = i6 + (i11 << 1) | 0; - L9 : while (1) { - if ((i12 | 0) >= (i16 | 0)) { - i2 = 59; + if (($5 | 0) != ($14 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$9 >> 1] = 0; + $5 = $5 + 1 | 0; + $6 = $1 << 1; + $7 = $7 + $6 | 0; + $9 = $6 + $9 | 0; + continue; + } + break; + } + $20 = ($13 | 0) > 1 ? $13 : 1; + $16 = $4 + 1310736 | 0; + $15 = $4 + 1179664 | 0; + $5 = $1 + 1 | 0; + $14 = $5 + $3 | 0; + $13 = $0 + $5 | 0; + $3 = HEAP32[$4 + 4 >> 2] + $5 | 0; + $17 = ($10 | 0) > 1 ? $10 : 1; + $18 = $17 - 1 | 0; + $9 = ($5 << 1) + $8 | 0; + $21 = 0 - $1 << 1; + $11 = 1; + label$5: { + label$6: while (1) { + if (($11 | 0) != ($20 | 0)) { + $22 = $13 + $18 | 0; + $23 = $14 + $18 | 0; + $7 = 1; + while (1) { + label$9: { + label$10: { + label$11: { + if (($7 | 0) != ($17 | 0)) { + if (HEAPU8[$13 | 0] > HEAPU8[$14 | 0]) { + HEAP8[$3 | 0] = 255; + $5 = $9 + $21 | 0; + $6 = HEAPU16[$5 >> 1]; + $8 = $6 << 16 >> 16; + if (($8 | 0) > 0) { + HEAP16[$9 >> 1] = $8; + $5 = Math_imul($6, 28) + $16 | 0; + HEAP32[$5 - 4 >> 2] = $11; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $11; + break label$9; + } + $10 = HEAPU16[$5 - 2 >> 1]; + $6 = $10 << 16 >> 16; + $5 = HEAP16[$5 + 2 >> 1]; + if (($5 | 0) > 0) { + if (($6 | 0) > 0) { + $8 = HEAP32[(($5 << 2) + $15 | 0) - 4 >> 2]; + $10 = HEAP32[(($10 << 2) + $15 | 0) - 4 >> 2]; + if (($8 | 0) > ($10 | 0)) { + HEAP16[$9 >> 1] = $10; + $6 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + $8 = $10; + break label$10; + } + if (HEAP32[$5 >> 2] == ($8 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $8; + if (($8 | 0) >= ($10 | 0)) { + break label$10; + } + $6 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + break label$10; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $8; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + $6 = HEAP16[$9 - 2 >> 1]; + if (($6 | 0) > 0) { + $8 = HEAP32[(($5 << 2) + $15 | 0) - 4 >> 2]; + $10 = HEAP32[((($6 & 65535) << 2) + $15 | 0) - 4 >> 2]; + if (($8 | 0) > ($10 | 0)) { + HEAP16[$9 >> 1] = $10; + $6 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + $8 = $10; + break label$11; + } + if (HEAP32[$5 >> 2] == ($8 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $8; + if (($8 | 0) >= ($10 | 0)) { + break label$11; + } + $6 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + break label$11; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $8; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $5; + $5 = Math_imul($5, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $11; + $6 = $5 - 16 | 0; + if (HEAP32[$6 >> 2] > ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $11; + break label$9; + } + if (($6 | 0) > 0) { + HEAP16[$9 >> 1] = $6; + $5 = Math_imul($10, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $11; + $6 = $5 - 12 | 0; + if (HEAP32[$6 >> 2] < ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $11; + break label$9; + } + $5 = HEAPU16[$9 - 2 >> 1]; + $6 = $5 << 16 >> 16; + if (($6 | 0) > 0) { + HEAP16[$9 >> 1] = $6; + $5 = Math_imul($5, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $11; + $5 = $5 - 12 | 0; + if (HEAP32[$5 >> 2] >= ($7 | 0)) { + break label$9; + } + HEAP32[$5 >> 2] = $7; + break label$9; + } + if (($12 | 0) >= 32768) { + arLog(0, 3, 1508, 0); + $6 = -1; + break label$5; + } + $6 = $12 + 1 | 0; + HEAP16[$9 >> 1] = $6; + HEAP32[($12 << 2) + $15 >> 2] = $6 << 16 >> 16; + $5 = Math_imul($12, 28) + $16 | 0; + HEAP32[$5 + 24 >> 2] = $11; + HEAP32[$5 + 20 >> 2] = $11; + HEAP32[$5 + 16 >> 2] = $7; + HEAP32[$5 + 12 >> 2] = $7; + HEAP32[$5 + 8 >> 2] = $11; + HEAP32[$5 + 4 >> 2] = $7; + HEAP32[$5 >> 2] = 1; + $12 = $6; + break label$9; + } + HEAP16[$9 >> 1] = 0; + HEAP8[$3 | 0] = 0; + break label$9; + } + $3 = $3 + 2 | 0; + $9 = $9 + 4 | 0; + $14 = $23 + 2 | 0; + $13 = $22 + 2 | 0; + $11 = $11 + 1 | 0; + continue label$6; + } + $5 = Math_imul($8 << 16 >> 16, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $11; + break label$9; + } + $5 = Math_imul($8 << 16 >> 16, 28) + $16 | 0; + HEAP32[$5 - 4 >> 2] = $11; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $11; + } + $3 = $3 + 1 | 0; + $9 = $9 + 2 | 0; + $14 = $14 + 1 | 0; + $13 = $13 + 1 | 0; + $7 = $7 + 1 | 0; + continue; + } + } break; } - i10 = i2; - i1 = i8; - i11 = i3; - i9 = 1; + $9 = $4 + 131084 | 0; + $13 = (($12 | 0) > 0 ? $12 : 0) + 1 | 0; + $5 = 1; + $14 = 1; + $7 = $15; while (1) { - if ((i9 | 0) >= (i14 | 0)) break; - do if ((HEAPU8[i10 >> 0] | 0 | 0) > (i15 | 0)) { - HEAP8[i11 >> 0] = -1; - i3 = i5 + (i13 << 1) | 0; - i2 = HEAP16[i3 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i5 >> 1] = i2; - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i12; - HEAP32[i20 + 1310736 + (i8 + -1 << 2) >> 2] = i12; - break; - } - i7 = HEAP16[i3 + 2 >> 1] | 0; - i8 = i7 << 16 >> 16; - i2 = HEAP16[i3 + -2 >> 1] | 0; - i6 = i2 << 16 >> 16; - i3 = i2 << 16 >> 16 > 0; - if (i7 << 16 >> 16 <= 0) { - if (i3) { - HEAP16[i5 >> 1] = i2; - i2 = i6 * 7 | 0; - i3 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i12; - i3 = i20 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) < (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i20 + 1310736 + (i2 + -1 << 2) >> 2] = i12; + if (($5 | 0) != ($13 | 0)) { + $6 = HEAP32[$7 >> 2]; + label$37: { + if (($6 | 0) == ($5 | 0)) { + $6 = $14; + $14 = $6 + 1 | 0; + break label$37; + } + $6 = HEAP32[(($6 << 2) + $15 | 0) - 4 >> 2]; + } + HEAP32[$7 >> 2] = $6; + $7 = $7 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } + break; + } + $7 = $14 - 1 | 0; + HEAP32[$4 + 8 >> 2] = $7; + if (!$7) { + return 0; + } + $14 = $4 + 12 | 0; + wasm2js_memory_fill($14, 0, $7 << 2); + $13 = $4 + 655376 | 0; + wasm2js_memory_fill($13, 0, $7 << 4); + $5 = 0; + while (1) if (($5 | 0) >= ($7 | 0)) { + $7 = 0; + $10 = ($12 | 0) > 0 ? $12 : 0; + while (1) { + if (($7 | 0) == ($10 | 0)) { + $6 = 0; + $5 = HEAP32[$4 + 8 >> 2]; + $9 = ($5 | 0) > 0 ? $5 : 0; + $5 = 0; + while (1) { + if (($5 | 0) == ($9 | 0)) { + break label$5; + } + $7 = ($5 << 4) + $13 | 0; + $19 = +HEAP32[($5 << 2) + $14 >> 2]; + HEAPF64[$7 >> 3] = HEAPF64[$7 >> 3] / $19; + $0 = $7; + $7 = $7 + 8 | 0; + HEAPF64[$7 >> 3] = HEAPF64[$0 + 8 >> 3] / $19; + $5 = $5 + 1 | 0; + continue; + } + } + $6 = HEAP32[($7 << 2) + $15 >> 2] - 1 | 0; + $3 = $6 << 2; + $5 = $14 + $3 | 0; + $0 = $5; + $1 = HEAP32[$5 >> 2]; + $5 = Math_imul($7, 28) + $16 | 0; + HEAP32[$0 >> 2] = $1 + HEAP32[$5 >> 2]; + $8 = $6 << 4; + $6 = $13 + $8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] + +HEAP32[$5 + 4 >> 2]; + $0 = $6; + $6 = $6 + 8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$0 + 8 >> 3] + +HEAP32[$5 + 8 >> 2]; + $6 = $9 + $8 | 0; + $8 = HEAP32[$5 + 12 >> 2]; + if (($8 | 0) < HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $8; + } + $8 = HEAP32[$5 + 16 >> 2]; + $6 = $3 << 2; + $3 = ($6 | 4) + $9 | 0; + if (($8 | 0) > HEAP32[$3 >> 2]) { + HEAP32[$3 >> 2] = $8; + } + $8 = HEAP32[$5 + 20 >> 2]; + $3 = ($6 | 8) + $9 | 0; + if (($8 | 0) < HEAP32[$3 >> 2]) { + HEAP32[$3 >> 2] = $8; + } + $5 = HEAP32[$5 + 24 >> 2]; + $6 = ($6 | 12) + $9 | 0; + if (($5 | 0) > HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $5; + } + $7 = $7 + 1 | 0; + continue; + } + } else { + $7 = ($5 << 4) + $9 | 0; + HEAP32[$7 >> 2] = $1; + HEAP32[$7 + 4 >> 2] = 0; + HEAP32[$7 + 8 >> 2] = $2; + HEAP32[$7 + 12 >> 2] = 0; + $5 = $5 + 1 | 0; + $7 = HEAP32[$4 + 8 >> 2]; + continue; + } + } + return $6; +} + +function ar2SelectTemplate($0, $1, $2, $3, $4, $5) { + var $6 = Math_fround(0), $7 = Math_fround(0), $8 = 0, $9 = Math_fround(0), $10 = 0, $11 = Math_fround(0), $12 = Math_fround(0), $13 = Math_fround(0), $14 = Math_fround(0), $15 = Math_fround(0), $16 = Math_fround(0), $17 = Math_fround(0), $18 = 0, $19 = Math_fround(0), $20 = Math_fround(0), $21 = 0, $22 = 0, $23 = 0, $24 = Math_fround(0), $25 = Math_fround(0), $26 = Math_fround(0); + $8 = __stack_pointer - 32 | 0; + __stack_pointer = $8; + label$1: { + label$2: { + if (($2 | 0) < 0) { + break label$2; + } + label$3: { + switch ($2 | 0) { + case 0: + $12 = Math_fround(($5 | 0) / 2 | 0); + $17 = Math_fround(($4 | 0) / 2 | 0); + $14 = Math_fround(($5 | 0) / 8 | 0); + $9 = Math_fround(($4 | 0) / 8 | 0); + $13 = Math_fround((Math_imul($5, 7) | 0) / 8 | 0); + $15 = Math_fround((Math_imul($4, 7) | 0) / 8 | 0); + $2 = 0; + $4 = -1; + while (1) { + label$9: { + label$10: { + label$11: { + $5 = Math_imul($2, 24) + $0 | 0; + switch (HEAP32[$5 + 12 >> 2] + 1 | 0) { + case 1: + break label$11; + + case 0: + break label$9; + + default: + break label$10; + } + } + $6 = HEAPF32[$5 + 16 >> 2]; + if ($9 > $6 | $6 > $15) { + break label$10; + } + $7 = HEAPF32[$5 + 20 >> 2]; + if ($14 > $7 | $7 > $13) { + break label$10; + } + $6 = Math_fround($6 - $17); + $16 = Math_fround($6 * $6); + $6 = Math_fround($7 - $12); + $6 = Math_fround($16 + Math_fround($6 * $6)); + if (!($11 < $6)) { + break label$10; + } + $4 = $2; + $11 = $6; + } + $2 = $2 + 1 | 0; + continue; + } break; } - i2 = HEAP16[i5 + -2 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i5 >> 1] = i2; - i2 = (i2 << 16 >> 16) * 7 | 0; - i8 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - i8 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i9; - i8 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i12; - i2 = i20 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) >= (i9 | 0)) break; - HEAP32[i2 >> 2] = i9; - break; - } else { - i2 = i1 + 1 | 0; - if ((i1 | 0) > 32767) { - i2 = 54; - break L9; - } - HEAP16[i5 >> 1] = i2; - HEAP32[i20 + 1179664 + (i1 << 2) >> 2] = i2 << 16 >> 16; - i1 = i1 * 7 | 0; - HEAP32[i20 + 1310736 + (i1 << 2) >> 2] = 1; - HEAP32[i20 + 1310736 + (i1 + 1 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 2 << 2) >> 2] = i12; - HEAP32[i20 + 1310736 + (i1 + 3 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 4 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 5 << 2) >> 2] = i12; - HEAP32[i20 + 1310736 + (i1 + 6 << 2) >> 2] = i12; - i1 = i2; - break; + ; + $2 = -1; + if (($4 | 0) == -1) { + break label$1; } - } - if (i3) { - i2 = HEAP32[i20 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i20 + 1179664 + (i6 + -1 << 2) >> 2] | 0; - L36 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i5 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L36; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; + HEAP32[(Math_imul($4, 24) + $0 | 0) + 12 >> 2] = 1; + $2 = $4; + break label$1; + + case 1: + $14 = Math_fround(($5 | 0) / 8 | 0); + $9 = Math_fround(($4 | 0) / 8 | 0); + $13 = Math_fround((Math_imul($5, 7) | 0) / 8 | 0); + $15 = Math_fround((Math_imul($4, 7) | 0) / 8 | 0); + $4 = -1; + $2 = 0; + while (1) { + label$13: { + label$14: { + label$15: { + $5 = Math_imul($2, 24) + $0 | 0; + switch (HEAP32[$5 + 12 >> 2] + 1 | 0) { + case 0: + break label$13; + + case 1: + break label$15; + + default: + break label$14; + } + } + $6 = HEAPF32[$5 + 16 >> 2]; + if ($9 > $6 | $6 > $15) { + break label$14; + } + $7 = HEAPF32[$5 + 20 >> 2]; + if ($14 > $7 | $7 > $13) { + break label$14; + } + $6 = Math_fround($6 - HEAPF32[$3 >> 2]); + $16 = Math_fround($6 * $6); + $6 = Math_fround($7 - HEAPF32[$3 + 4 >> 2]); + $6 = Math_fround($16 + Math_fround($6 * $6)); + if (!($11 < $6)) { + break label$14; + } + $11 = $6; + $4 = $2; } + $2 = $2 + 1 | 0; + continue; } - } else { - HEAP16[i5 >> 1] = i7; - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L36; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i7; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i12; - HEAP32[i20 + 1310736 + (i8 + -1 << 2) >> 2] = i12; - break; - } - i3 = HEAP16[i5 + -2 >> 1] | 0; - if (i3 << 16 >> 16 <= 0) { - HEAP16[i5 >> 1] = i7; - i2 = i8 * 7 | 0; - i3 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i12; - i3 = i20 + 1310736 + (i2 + -4 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) > (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i20 + 1310736 + (i2 + -1 << 2) >> 2] = i12; - break; - } - i2 = HEAP32[i20 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i20 + 1179664 + ((i3 << 16 >> 16) + -1 << 2) >> 2] | 0; - L60 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i5 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L60; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } + break; } - } else { - HEAP16[i5 >> 1] = i7; - i3 = i4; - i6 = 0; + ; + $2 = -1; + if (($4 | 0) == -1) { + break label$1; + } + HEAP32[(Math_imul($4, 24) + $0 | 0) + 12 >> 2] = 1; + $2 = $4; + break label$1; + + case 2: + $14 = Math_fround(($5 | 0) / 8 | 0); + $9 = Math_fround(($4 | 0) / 8 | 0); + $11 = Math_fround((Math_imul($5, 7) | 0) / 8 | 0); + $15 = Math_fround((Math_imul($4, 7) | 0) / 8 | 0); + $4 = -1; + $2 = 0; while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L60; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i7; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i8 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i12; - } else { - HEAP16[i5 >> 1] = 0; - HEAP8[i11 >> 0] = 0; - } while (0); - i10 = i10 + 1 | 0; - i11 = i11 + 1 | 0; - i9 = i9 + 1 | 0; - i5 = i5 + 2 | 0; - } - i2 = i10 + 2 | 0; - i12 = i12 + 1 | 0; - i8 = i1; - i3 = i11 + 2 | 0; - i5 = i5 + 4 | 0; - } - L80 : do if ((i2 | 0) == 54) { - _arLog(0, 3, 17520, i17); - i1 = -1; - } else if ((i2 | 0) == 59) { - i6 = i20 + 12 | 0; - i1 = 1; - i5 = 1; - while (1) { - if ((i5 | 0) > (i8 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (i5 | 0)) i3 = i1 + 1 | 0; else { - i3 = i1; - i1 = HEAP32[i20 + 1179664 + (i2 + -1 << 2) >> 2] | 0; - } - HEAP32[i4 >> 2] = i1; - i1 = i3; - i5 = i5 + 1 | 0; - i4 = i4 + 4 | 0; - } - i7 = i20 + 8 | 0; - i2 = i1 + -1 | 0; - HEAP32[i7 >> 2] = i2; - if (!i2) i1 = 0; else { - _memset(i6 | 0, 0, i2 << 2 | 0) | 0; - _memset(i20 + 655376 | 0, 0, i2 << 4 | 0) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i17 = i1 << 2; - HEAP32[i20 + 131084 + (i17 << 2) >> 2] = i18; - HEAP32[i20 + 131084 + ((i17 | 1) << 2) >> 2] = 0; - HEAP32[i20 + 131084 + ((i17 | 2) << 2) >> 2] = i19; - HEAP32[i20 + 131084 + ((i17 | 3) << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i8 | 0)) break; - i3 = (HEAP32[i20 + 1179664 + (i5 << 2) >> 2] | 0) + -1 | 0; - i4 = i5 * 7 | 0; - i1 = i20 + 12 + (i3 << 2) | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + (HEAP32[i20 + 1310736 + (i4 << 2) >> 2] | 0); - i1 = i3 << 1; - i2 = i20 + 655376 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] + +(HEAP32[i20 + 1310736 + (i4 + 1 << 2) >> 2] | 0); - i1 = i20 + 655376 + ((i1 | 1) << 3) | 0; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] + +(HEAP32[i20 + 1310736 + (i4 + 2 << 2) >> 2] | 0); - i3 = i3 << 2; - i1 = i20 + 131084 + (i3 << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 3 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i20 + 131084 + ((i3 | 1) << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 4 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) < (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i20 + 131084 + ((i3 | 2) << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 5 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i2 = i20 + 131084 + ((i3 | 3) << 2) | 0; - i1 = HEAP32[i20 + 1310736 + (i4 + 6 << 2) >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) < (i1 | 0)) HEAP32[i2 >> 2] = i1; - i5 = i5 + 1 | 0; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) { - i1 = 0; - break L80; - } - d22 = +(HEAP32[i20 + 12 + (i1 << 2) >> 2] | 0); - i19 = i1 << 1; - i18 = i20 + 655376 + (i19 << 3) | 0; - HEAPF64[i18 >> 3] = +HEAPF64[i18 >> 3] / d22; - i19 = i20 + 655376 + ((i19 | 1) << 3) | 0; - HEAPF64[i19 >> 3] = +HEAPF64[i19 >> 3] / d22; - i1 = i1 + 1 | 0; - } - } - } while (0); - STACKTOP = i21; - return i1 | 0; -} - -function _arLabelingSubEBRC(i5, i18, i19, i15, i20) { - i5 = i5 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - i15 = i15 | 0; - i20 = i20 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0, i21 = 0, d22 = 0.0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i17 = i21; - i6 = HEAP32[i20 >> 2] | 0; - i16 = i19 + -1 | 0; - i1 = i6; - i2 = i6 + ((Math_imul(i16, i18) | 0) << 1) | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i18 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + 2 | 0; - i2 = i2 + 2 | 0; - i3 = i3 + 1 | 0; - } - i14 = i18 + -1 | 0; - i1 = i6; - i2 = i6 + (i14 << 1) | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i19 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + (i18 << 1) | 0; - i2 = i2 + (i18 << 1) | 0; - i3 = i3 + 1 | 0; - } - i4 = i20 + 1179664 | 0; - i11 = i18 + 1 | 0; - i13 = 0 - i18 | 0; - i2 = i5 + i11 | 0; - i12 = 1; - i8 = 0; - i3 = (HEAP32[i20 + 4 >> 2] | 0) + i11 | 0; - i5 = i6 + (i11 << 1) | 0; - L9 : while (1) { - if ((i12 | 0) >= (i16 | 0)) { - i2 = 59; - break; - } - i10 = i2; - i1 = i8; - i11 = i3; - i9 = 1; - while (1) { - if ((i9 | 0) >= (i14 | 0)) break; - do if ((HEAPU8[i10 >> 0] | 0 | 0) > (i15 | 0)) { - HEAP16[i5 >> 1] = 0; - HEAP8[i11 >> 0] = 0; - } else { - HEAP8[i11 >> 0] = -1; - i3 = i5 + (i13 << 1) | 0; - i2 = HEAP16[i3 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i5 >> 1] = i2; - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i12; - HEAP32[i20 + 1310736 + (i8 + -1 << 2) >> 2] = i12; - break; - } - i7 = HEAP16[i3 + 2 >> 1] | 0; - i8 = i7 << 16 >> 16; - i2 = HEAP16[i3 + -2 >> 1] | 0; - i6 = i2 << 16 >> 16; - i3 = i2 << 16 >> 16 > 0; - if (i7 << 16 >> 16 <= 0) { - if (i3) { - HEAP16[i5 >> 1] = i2; - i2 = i6 * 7 | 0; - i3 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i12; - i3 = i20 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) < (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i20 + 1310736 + (i2 + -1 << 2) >> 2] = i12; + label$17: { + label$18: { + label$19: { + $5 = Math_imul($2, 24) + $0 | 0; + switch (HEAP32[$5 + 12 >> 2] + 1 | 0) { + case 0: + break label$17; + + case 1: + break label$19; + + default: + break label$18; + } + } + $6 = HEAPF32[$5 + 16 >> 2]; + if ($9 > $6 | $6 > $15) { + break label$18; + } + $7 = HEAPF32[$5 + 20 >> 2]; + if ($14 > $7 | $7 > $11) { + break label$18; + } + $13 = HEAPF32[$3 >> 2]; + $16 = Math_fround($6 - $13); + $6 = HEAPF32[$3 + 4 >> 2]; + $6 = Math_fround(Math_fround($16 * Math_fround(HEAPF32[$3 + 12 >> 2] - $6)) - Math_fround(Math_fround(HEAPF32[$3 + 8 >> 2] - $13) * Math_fround($7 - $6))); + $6 = Math_fround($6 * $6); + if (!($12 < $6)) { + break label$18; + } + $12 = $6; + $4 = $2; + } + $2 = $2 + 1 | 0; + continue; + } break; } - i2 = HEAP16[i5 + -2 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i5 >> 1] = i2; - i2 = (i2 << 16 >> 16) * 7 | 0; - i8 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - i8 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i9; - i8 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i12; - i2 = i20 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) >= (i9 | 0)) break; - HEAP32[i2 >> 2] = i9; - break; - } else { - i2 = i1 + 1 | 0; - if ((i1 | 0) > 32767) { - i2 = 54; - break L9; - } - HEAP16[i5 >> 1] = i2; - HEAP32[i20 + 1179664 + (i1 << 2) >> 2] = i2 << 16 >> 16; - i1 = i1 * 7 | 0; - HEAP32[i20 + 1310736 + (i1 << 2) >> 2] = 1; - HEAP32[i20 + 1310736 + (i1 + 1 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 2 << 2) >> 2] = i12; - HEAP32[i20 + 1310736 + (i1 + 3 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 4 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 5 << 2) >> 2] = i12; - HEAP32[i20 + 1310736 + (i1 + 6 << 2) >> 2] = i12; - i1 = i2; + ; + $2 = -1; + if (($4 | 0) == -1) { + break label$1; + } + HEAP32[(Math_imul($4, 24) + $0 | 0) + 12 >> 2] = 1; + $2 = $4; + break label$1; + + case 3: + ar2GetVectorAngle($3, $3 + 8 | 0, $8 + 28 | 0, $8 + 24 | 0); + ar2GetVectorAngle($3, $3 + 16 | 0, $8 + 20 | 0, $8 + 16 | 0); + $17 = HEAPF32[$8 + 20 >> 2]; + $19 = HEAPF32[$8 + 24 >> 2]; + $6 = Math_fround($17 * $19); + $12 = HEAPF32[$8 + 28 >> 2]; + $20 = HEAPF32[$8 + 16 >> 2]; + $7 = Math_fround($12 * $20); + $18 = Math_fround($6 - $7) >= Math_fround(0); + $22 = $18 ? 2 : 1; + $23 = $18 ? 1 : 2; + $24 = Math_fround($7 - $6); + $1 = $3 + 24 | 0; + $14 = Math_fround(($5 | 0) / 8 | 0); + $7 = Math_fround(($4 | 0) / 8 | 0); + $13 = Math_fround((Math_imul($5, 7) | 0) / 8 | 0); + $15 = Math_fround((Math_imul($4, 7) | 0) / 8 | 0); + $25 = Math_fround(-$19); + $26 = Math_fround(-$20); + $2 = -1; + $5 = 0; + while (1) { + label$21: { + label$22: { + label$23: { + $4 = Math_imul($5, 24) + $0 | 0; + switch (HEAP32[$4 + 12 >> 2] + 1 | 0) { + case 0: + break label$21; + + case 1: + break label$23; + + default: + break label$22; + } + } + $6 = HEAPF32[$4 + 16 >> 2]; + if ($7 > $6 | $6 > $15) { + break label$22; + } + $9 = HEAPF32[$4 + 20 >> 2]; + if ($14 > $9 | $9 > $13) { + break label$22; + } + HEAPF32[$3 + 24 >> 2] = $6; + HEAPF32[$3 + 28 >> 2] = HEAPF32[$4 + 20 >> 2]; + ar2GetVectorAngle($3, $1, $8 + 12 | 0, $8 + 8 | 0); + $6 = HEAPF32[$8 + 12 >> 2]; + $11 = HEAPF32[$8 + 8 >> 2]; + $9 = Math_fround(-$11); + label$24: { + if (!(!$18 | !(Math_fround(Math_fround($6 * $19) + Math_fround($12 * $9)) >= Math_fround(0)))) { + $10 = Math_fround(Math_fround($6 * $20) + Math_fround($17 * $9)) >= Math_fround(0); + $4 = $10 ? 3 : 2; + $10 = $10 ? 2 : 3; + $21 = 1; + break label$24; + } + if (!(!(Math_fround(Math_fround($6 * $20) + Math_fround($17 * $9)) >= Math_fround(0)) | !($24 >= Math_fround(0)))) { + $10 = Math_fround(Math_fround($6 * $19) + Math_fround($12 * $9)) >= Math_fround(0); + $4 = $10 ? 3 : 1; + $10 = $10 ? 1 : 3; + $21 = 2; + break label$24; + } + if (!(Math_fround(Math_fround($12 * $11) + Math_fround($6 * $25)) >= Math_fround(0))) { + break label$22; + } + $21 = 3; + $10 = $23; + $4 = $22; + if (!(Math_fround(Math_fround($17 * $11) + Math_fround($6 * $26)) >= Math_fround(0))) { + break label$22; + } + } + $6 = ar2GetRegionArea($3, $21, $10, $4); + if (!($16 < $6)) { + break label$22; + } + $16 = $6; + $2 = $5; + } + $5 = $5 + 1 | 0; + continue; + } break; } + ; + if (($2 | 0) == -1) { + break label$1; + } + HEAP32[(Math_imul($2, 24) + $0 | 0) + 12 >> 2] = 1; + break label$1; + + default: + break label$3; } - if (i3) { - i2 = HEAP32[i20 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i20 + 1179664 + (i6 + -1 << 2) >> 2] | 0; - L37 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i5 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i3 = i4; - i6 = 0; + } + label$27: { + while (1) { + label$29: { + label$30: { + label$31: { + $4 = Math_imul($18, 24) + $1 | 0; + switch (HEAP32[$4 + 12 >> 2] + 1 | 0) { + case 0: + break label$29; + + case 1: + break label$31; + + default: + break label$30; + } + } + HEAP32[$4 + 12 >> 2] = 1; + $2 = 0; while (1) { - if ((i6 | 0) >= (i1 | 0)) break L37; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; + label$33: { + label$34: { + $5 = Math_imul($2, 24) + $0 | 0; + switch (HEAP32[$5 + 12 >> 2] + 1 | 0) { + case 0: + break label$30; + + case 1: + break label$34; + + default: + break label$33; + } + } + if (HEAP32[$4 >> 2] != HEAP32[$5 >> 2]) { + break label$33; + } + $3 = Math_imul($2, 24) + $0 | 0; + if (HEAP32[$4 + 4 >> 2] != HEAP32[$3 + 4 >> 2]) { + break label$33; + } + if (HEAP32[$4 + 8 >> 2] == HEAP32[$3 + 8 >> 2]) { + break label$27; + } + } + $2 = $2 + 1 | 0; + continue; } } - } else { - HEAP16[i5 >> 1] = i7; - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L37; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i7; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i12; - HEAP32[i20 + 1310736 + (i8 + -1 << 2) >> 2] = i12; + $18 = $18 + 1 | 0; + continue; + } break; } - i3 = HEAP16[i5 + -2 >> 1] | 0; - if (i3 << 16 >> 16 <= 0) { - HEAP16[i5 >> 1] = i7; - i2 = i8 * 7 | 0; - i3 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i12; - i3 = i20 + 1310736 + (i2 + -4 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) > (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i20 + 1310736 + (i2 + -1 << 2) >> 2] = i12; - break; + HEAP32[$1 + 12 >> 2] = -1; + $2 = 0; + $5 = HEAP32[19490]; + if (!$5) { + srand(__time(0)); + $5 = HEAP32[19490]; } - i2 = HEAP32[i20 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i20 + 1179664 + ((i3 << 16 >> 16) + -1 << 2) >> 2] | 0; - L61 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i5 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L61; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } - } else { - HEAP16[i5 >> 1] = i7; - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L61; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i7; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i8 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i12; - } while (0); - i10 = i10 + 1 | 0; - i11 = i11 + 1 | 0; - i9 = i9 + 1 | 0; - i5 = i5 + 2 | 0; - } - i2 = i10 + 2 | 0; - i12 = i12 + 1 | 0; - i8 = i1; - i3 = i11 + 2 | 0; - i5 = i5 + 4 | 0; - } - L80 : do if ((i2 | 0) == 54) { - _arLog(0, 3, 17520, i17); - i1 = -1; - } else if ((i2 | 0) == 59) { - i6 = i20 + 12 | 0; - i1 = 1; - i5 = 1; - while (1) { - if ((i5 | 0) > (i8 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (i5 | 0)) i3 = i1 + 1 | 0; else { - i3 = i1; - i1 = HEAP32[i20 + 1179664 + (i2 + -1 << 2) >> 2] | 0; - } - HEAP32[i4 >> 2] = i1; - i1 = i3; - i5 = i5 + 1 | 0; - i4 = i4 + 4 | 0; - } - i7 = i20 + 8 | 0; - i2 = i1 + -1 | 0; - HEAP32[i7 >> 2] = i2; - if (!i2) i1 = 0; else { - _memset(i6 | 0, 0, i2 << 2 | 0) | 0; - _memset(i20 + 655376 | 0, 0, i2 << 4 | 0) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i17 = i1 << 2; - HEAP32[i20 + 131084 + (i17 << 2) >> 2] = i18; - HEAP32[i20 + 131084 + ((i17 | 1) << 2) >> 2] = 0; - HEAP32[i20 + 131084 + ((i17 | 2) << 2) >> 2] = i19; - HEAP32[i20 + 131084 + ((i17 | 3) << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i8 | 0)) break; - i3 = (HEAP32[i20 + 1179664 + (i5 << 2) >> 2] | 0) + -1 | 0; - i4 = i5 * 7 | 0; - i1 = i20 + 12 + (i3 << 2) | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + (HEAP32[i20 + 1310736 + (i4 << 2) >> 2] | 0); - i1 = i3 << 1; - i2 = i20 + 655376 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] + +(HEAP32[i20 + 1310736 + (i4 + 1 << 2) >> 2] | 0); - i1 = i20 + 655376 + ((i1 | 1) << 3) | 0; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] + +(HEAP32[i20 + 1310736 + (i4 + 2 << 2) >> 2] | 0); - i3 = i3 << 2; - i1 = i20 + 131084 + (i3 << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 3 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i20 + 131084 + ((i3 | 1) << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 4 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) < (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i20 + 131084 + ((i3 | 2) << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 5 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i2 = i20 + 131084 + ((i3 | 3) << 2) | 0; - i1 = HEAP32[i20 + 1310736 + (i4 + 6 << 2) >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) < (i1 | 0)) HEAP32[i2 >> 2] = i1; - i5 = i5 + 1 | 0; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) { - i1 = 0; - break L80; - } - d22 = +(HEAP32[i20 + 12 + (i1 << 2) >> 2] | 0); - i19 = i1 << 1; - i18 = i20 + 655376 + (i19 << 3) | 0; - HEAPF64[i18 >> 3] = +HEAPF64[i18 >> 3] / d22; - i19 = i20 + 655376 + ((i19 | 1) << 3) | 0; - HEAPF64[i19 >> 3] = +HEAPF64[i19 >> 3] / d22; - i1 = i1 + 1 | 0; - } - } - } while (0); - STACKTOP = i21; - return i1 | 0; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc(i35, i36, i37, i38, i39, i40, i41, i1) { - i35 = i35 | 0; - i36 = i36 | 0; - i37 = i37 | 0; - i38 = i38 | 0; - i39 = i39 | 0; - i40 = i40 | 0; - i41 = i41 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i42 = 0, i43 = 0; - i42 = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - i2 = i42 + 128 | 0; - i1 = i42 + 112 | 0; - i33 = i42 + 124 | 0; - i34 = i42 + 120 | 0; - i3 = i42 + 116 | 0; - i4 = i42 + 108 | 0; - i5 = i42 + 104 | 0; - i6 = i42 + 100 | 0; - i7 = i42 + 96 | 0; - i8 = i42 + 92 | 0; - i9 = i42 + 88 | 0; - i10 = i42 + 84 | 0; - i11 = i42 + 80 | 0; - i12 = i42 + 76 | 0; - i13 = i42 + 72 | 0; - i14 = i42 + 68 | 0; - i15 = i42 + 64 | 0; - i16 = i42 + 60 | 0; - i17 = i42 + 56 | 0; - i18 = i42 + 52 | 0; - i19 = i42 + 48 | 0; - i20 = i42 + 44 | 0; - i21 = i42 + 40 | 0; - i22 = i42 + 36 | 0; - i23 = i42 + 32 | 0; - i24 = i42 + 28 | 0; - i25 = i42 + 24 | 0; - i26 = i42 + 20 | 0; - i27 = i42 + 16 | 0; - i28 = i42 + 12 | 0; - i29 = i42 + 8 | 0; - i30 = i42 + 4 | 0; - i31 = i42; - HEAP32[i39 >> 2] = 0; - __ZNKSt3__28ios_base6getlocEv(i2, i38); - i32 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 57948) | 0; - __ZNSt3__26localeD2Ev(i2); - do switch (i41 << 24 >> 24 | 0) { - case 65: - case 97: - { - HEAP32[i33 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i33 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40 + 24 | 0, i36, i2, i39, i32); - i43 = 26; - break; + $5 = $5 + 1 | 0; + HEAP32[19490] = ($5 | 0) == 128 ? 0 : $5; + $5 = 0; + while (1) { + label$37: { + switch (HEAP32[(Math_imul($2, 24) + $0 | 0) + 12 >> 2] + 1 | 0) { + case 1: + $5 = $5 + 1 | 0; + + default: + $2 = $2 + 1 | 0; + continue; + + case 0: + break label$37; + } + } + break; + } + if (!$5) { + break label$2; + } + $6 = Math_fround(Math_fround(Math_fround($5 | 0) * Math_fround(rand() | 0)) * Math_fround(4.656612873077393e-10)); + label$40: { + if (Math_fround(Math_abs($6)) < Math_fround(2147483648)) { + $10 = ~~$6; + break label$40; + } + $10 = -2147483648; + } + $5 = 0; + $4 = 0; + while (1) { + label$43: { + label$44: { + $3 = Math_imul($5, 24) + $0 | 0; + $2 = HEAP32[$3 + 12 >> 2]; + switch ($2 + 1 | 0) { + case 0: + break label$1; + + case 1: + break label$44; + + default: + break label$43; + } + } + if (($4 | 0) == ($10 | 0)) { + HEAP32[$3 + 12 >> 2] = 1; + $2 = $5; + break label$1; + } + $4 = $4 + 1 | 0; + } + $5 = $5 + 1 | 0; + continue; + } + } + HEAP32[$5 + 12 >> 2] = 1; + break label$1; + } + $2 = -1; + } + __stack_pointer = $8 + 32 | 0; + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParamDecl_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $1 = __stack_pointer - 160 | 0; + __stack_pointer = $1; + HEAP32[$1 + 152 >> 2] = $0; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 144 | 0, 28102); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 40 >> 2] = $4; + HEAP32[$1 + 44 >> 2] = $5; + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 40 | 0)) { + $6 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParamDecl_28_29___lambda__28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind_29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind_29_20const($1 + 152 | 0, 0); + HEAP32[$1 + 72 >> 2] = $6; + if (!$6) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 72 | 0); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 136 | 0, 31244); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 32 >> 2] = $5; + HEAP32[$1 + 36 >> 2] = $4; + label$3: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 32 | 0)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParamDecl_28_29___lambda__28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind_29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind_29_20const($1 + 152 | 0, 1); + HEAP32[$1 + 72 >> 2] = $2; + if (!$2) { + break label$3; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 56 >> 2] = $2; + if (!$2) { + break label$3; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 72 | 0, $1 + 56 | 0); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 128 | 0, 29811); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 24 >> 2] = $4; + HEAP32[$1 + 28 >> 2] = $5; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 24 | 0)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParamDecl_28_29___lambda__28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind_29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind_29_20const($1 + 152 | 0, 2); + HEAP32[$1 + 124 >> 2] = $2; + if (!$2) { + break label$3; + } + $6 = $0 + 8 | 0; + $7 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($6); + $8 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___ScopedTemplateParamList__ScopedTemplateParamList_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___29($1 + 72 | 0, $0); + label$6: { + label$7: { + while (1) { + label$9: { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 - -64 | 0, 35969); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 8 >> 2] = $5; + HEAP32[$1 + 12 >> 2] = $4; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 8 | 0)) { + break label$9; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParamDecl_28_29($0); + HEAP32[$1 + 56 >> 2] = $2; + if (!$2) { + break label$7; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($6, $1 + 56 | 0); + continue; + } + break; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 + 56 | 0, $0, $7); + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__29($0, $1 + 124 | 0, $1 + 56 | 0); + break label$6; + } + $2 = 0; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___ScopedTemplateParamList___ScopedTemplateParamList_28_29($8); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 48 | 0, 30880); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 16 >> 2] = $4; + HEAP32[$1 + 20 >> 2] = $5; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 16 | 0)) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParamDecl_28_29($0); + HEAP32[$1 + 72 >> 2] = $2; + if (!$2) { + break label$3; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 72 | 0); + break label$1; + } + $2 = 0; + } + __stack_pointer = $1 + 160 | 0; + return $2; +} + +function arLabelingSubEBIC($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $15 = ($1 | 0) / 2 | 0; + $5 = ($15 | 0) > 0 ? $15 : 0; + $7 = HEAP32[$4 >> 2]; + $17 = ($2 | 0) / 2 | 0; + $13 = $17 - 1 | 0; + $6 = $7 + (Math_imul($15, $13) << 1) | 0; + $2 = 0; + $8 = $7; + while (1) { + if (($2 | 0) != ($5 | 0)) { + HEAP16[$6 >> 1] = 0; + HEAP16[$8 >> 1] = 0; + $2 = $2 + 1 | 0; + $8 = $8 + 2 | 0; + $6 = $6 + 2 | 0; + continue; } - case 104: - case 66: - case 98: - { - HEAP32[i34 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i34 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40 + 16 | 0, i36, i2, i39, i32); - i43 = 26; - break; + break; + } + $10 = ($17 | 0) > 0 ? $17 : 0; + $9 = $15 - 1 | 0; + $6 = ($9 << 1) + $7 | 0; + $2 = 0; + $8 = $7; + while (1) { + if (($2 | 0) != ($10 | 0)) { + HEAP16[$6 >> 1] = 0; + HEAP16[$8 >> 1] = 0; + $2 = $2 + 1 | 0; + $5 = $15 << 1; + $6 = $6 + $5 | 0; + $8 = $5 + $8 | 0; + continue; } - case 99: - { - i34 = i35 + 8 | 0; - i34 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i34 >> 2] | 0) + 12 >> 2] & 127](i34) | 0; - HEAP32[i3 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i4 >> 2] = HEAP32[i37 >> 2]; - i43 = HEAP8[i34 + 8 + 3 >> 0] | 0; - i37 = i43 << 24 >> 24 < 0; - i41 = i37 ? HEAP32[i34 >> 2] | 0 : i34; - i43 = i41 + ((i37 ? HEAP32[i34 + 4 >> 2] | 0 : i43 & 255) << 2) | 0; - HEAP32[i1 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i4 >> 2]; - i43 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(i35, i1, i2, i38, i39, i40, i41, i43) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; + break; + } + $19 = ($13 | 0) > 1 ? $13 : 1; + $20 = ($9 | 0) > 1 ? $9 : 1; + $16 = $4 + 1310736 | 0; + $14 = $4 + 1179664 | 0; + $2 = $15 + 1 | 0; + $10 = $2 + HEAP32[$4 + 4 >> 2] | 0; + $13 = (($1 << 1) + $0 | 0) + 2 | 0; + $8 = ($2 << 1) + $7 | 0; + $21 = 0 - $15 << 1; + $11 = 1; + label$5: { + label$6: while (1) { + if (($11 | 0) != ($19 | 0)) { + $6 = 1; + while (1) { + label$9: { + label$10: { + label$11: { + if (($6 | 0) != ($20 | 0)) { + if (HEAPU8[$13 | 0] <= ($3 | 0)) { + HEAP8[$10 | 0] = 255; + $2 = $8 + $21 | 0; + $5 = HEAPU16[$2 >> 1]; + $7 = $5 << 16 >> 16; + if (($7 | 0) > 0) { + HEAP16[$8 >> 1] = $7; + $2 = Math_imul($5, 28) + $16 | 0; + HEAP32[$2 - 4 >> 2] = $11; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $2 = $2 - 20 | 0; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $11; + break label$9; + } + $9 = HEAPU16[$2 - 2 >> 1]; + $5 = $9 << 16 >> 16; + $2 = HEAP16[$2 + 2 >> 1]; + if (($2 | 0) > 0) { + if (($5 | 0) > 0) { + $7 = HEAP32[(($2 << 2) + $14 | 0) - 4 >> 2]; + $9 = HEAP32[(($9 << 2) + $14 | 0) - 4 >> 2]; + if (($7 | 0) > ($9 | 0)) { + HEAP16[$8 >> 1] = $9; + $5 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $2 = $14; + while (1) { + if (($0 | 0) == ($5 | 0)) { + $7 = $9; + break label$10; + } + if (HEAP32[$2 >> 2] == ($7 | 0)) { + HEAP32[$2 >> 2] = $9; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + HEAP16[$8 >> 1] = $7; + if (($7 | 0) >= ($9 | 0)) { + break label$10; + } + $5 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $2 = $14; + while (1) { + if (($0 | 0) == ($5 | 0)) { + break label$10; + } + if (HEAP32[$2 >> 2] == ($9 | 0)) { + HEAP32[$2 >> 2] = $7; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + $5 = HEAP16[$8 - 2 >> 1]; + if (($5 | 0) > 0) { + $7 = HEAP32[(($2 << 2) + $14 | 0) - 4 >> 2]; + $9 = HEAP32[((($5 & 65535) << 2) + $14 | 0) - 4 >> 2]; + if (($7 | 0) > ($9 | 0)) { + HEAP16[$8 >> 1] = $9; + $5 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $2 = $14; + while (1) { + if (($0 | 0) == ($5 | 0)) { + $7 = $9; + break label$11; + } + if (HEAP32[$2 >> 2] == ($7 | 0)) { + HEAP32[$2 >> 2] = $9; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + HEAP16[$8 >> 1] = $7; + if (($7 | 0) >= ($9 | 0)) { + break label$11; + } + $5 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $2 = $14; + while (1) { + if (($0 | 0) == ($5 | 0)) { + break label$11; + } + if (HEAP32[$2 >> 2] == ($9 | 0)) { + HEAP32[$2 >> 2] = $7; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + HEAP16[$8 >> 1] = $2; + $2 = Math_imul($2, 28) + $16 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $5 = $2 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $11; + $5 = $2 - 16 | 0; + if (HEAP32[$5 >> 2] > ($6 | 0)) { + HEAP32[$5 >> 2] = $6; + } + HEAP32[$2 - 4 >> 2] = $11; + break label$9; + } + if (($5 | 0) > 0) { + HEAP16[$8 >> 1] = $5; + $2 = Math_imul($9, 28) + $16 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $5 = $2 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $11; + $5 = $2 - 12 | 0; + if (HEAP32[$5 >> 2] < ($6 | 0)) { + HEAP32[$5 >> 2] = $6; + } + HEAP32[$2 - 4 >> 2] = $11; + break label$9; + } + $2 = HEAPU16[$8 - 2 >> 1]; + $5 = $2 << 16 >> 16; + if (($5 | 0) > 0) { + HEAP16[$8 >> 1] = $5; + $2 = Math_imul($2, 28) + $16 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $5 = $2 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $11; + $2 = $2 - 12 | 0; + if (HEAP32[$2 >> 2] >= ($6 | 0)) { + break label$9; + } + HEAP32[$2 >> 2] = $6; + break label$9; + } + if (($12 | 0) >= 32768) { + arLog(0, 3, 1508, 0); + $5 = -1; + break label$5; + } + $5 = $12 + 1 | 0; + HEAP16[$8 >> 1] = $5; + HEAP32[($12 << 2) + $14 >> 2] = $5 << 16 >> 16; + $2 = Math_imul($12, 28) + $16 | 0; + HEAP32[$2 + 24 >> 2] = $11; + HEAP32[$2 + 20 >> 2] = $11; + HEAP32[$2 + 16 >> 2] = $6; + HEAP32[$2 + 12 >> 2] = $6; + HEAP32[$2 + 8 >> 2] = $11; + HEAP32[$2 + 4 >> 2] = $6; + HEAP32[$2 >> 2] = 1; + $12 = $5; + break label$9; + } + HEAP16[$8 >> 1] = 0; + HEAP8[$10 | 0] = 0; + break label$9; + } + $10 = $10 + 2 | 0; + $8 = $8 + 4 | 0; + $11 = $11 + 1 | 0; + $13 = ($1 + $13 | 0) + 4 | 0; + continue label$6; + } + $2 = Math_imul($7 << 16 >> 16, 28) + $16 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $2 = $2 - 20 | 0; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $11; + break label$9; + } + $2 = Math_imul($7 << 16 >> 16, 28) + $16 | 0; + HEAP32[$2 - 4 >> 2] = $11; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $2 = $2 - 20 | 0; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $11; + } + $10 = $10 + 1 | 0; + $8 = $8 + 2 | 0; + $13 = $13 + 2 | 0; + $6 = $6 + 1 | 0; + continue; + } + } break; } - case 101: - case 100: - { - HEAP32[i5 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i5 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40 + 12 | 0, i36, i2, i39, i32); - i43 = 26; + $8 = $4 + 131084 | 0; + $13 = (($12 | 0) > 0 ? $12 : 0) + 1 | 0; + $2 = 1; + $10 = 1; + $6 = $14; + while (1) { + if (($2 | 0) != ($13 | 0)) { + $5 = HEAP32[$6 >> 2]; + label$37: { + if (($5 | 0) == ($2 | 0)) { + $5 = $10; + $10 = $5 + 1 | 0; + break label$37; + } + $5 = HEAP32[(($5 << 2) + $14 | 0) - 4 >> 2]; + } + HEAP32[$6 >> 2] = $5; + $6 = $6 + 4 | 0; + $2 = $2 + 1 | 0; + continue; + } break; } - case 68: - { - HEAP32[i6 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i7 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i7 >> 2]; - i43 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(i35, i1, i2, i38, i39, i40, 10784, 10816) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; - break; + $6 = $10 - 1 | 0; + HEAP32[$4 + 8 >> 2] = $6; + if (!$6) { + return 0; } - case 70: - { - HEAP32[i8 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i9 >> 2]; - i43 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(i35, i1, i2, i38, i39, i40, 10816, 10848) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; - break; + $10 = $4 + 12 | 0; + wasm2js_memory_fill($10, 0, $6 << 2); + $13 = $4 + 655376 | 0; + wasm2js_memory_fill($13, 0, $6 << 4); + $2 = 0; + while (1) if (($2 | 0) >= ($6 | 0)) { + $6 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + while (1) { + if (($0 | 0) == ($6 | 0)) { + $5 = 0; + $2 = HEAP32[$4 + 8 >> 2]; + $8 = ($2 | 0) > 0 ? $2 : 0; + $2 = 0; + while (1) { + if (($2 | 0) == ($8 | 0)) { + break label$5; + } + $6 = ($2 << 4) + $13 | 0; + $18 = +HEAP32[($2 << 2) + $10 >> 2]; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] / $18; + $0 = $6; + $6 = $6 + 8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$0 + 8 >> 3] / $18; + $2 = $2 + 1 | 0; + continue; + } + } + $5 = HEAP32[($6 << 2) + $14 >> 2] - 1 | 0; + $7 = $5 << 2; + $2 = $10 + $7 | 0; + $1 = $2; + $3 = HEAP32[$2 >> 2]; + $2 = Math_imul($6, 28) + $16 | 0; + HEAP32[$1 >> 2] = $3 + HEAP32[$2 >> 2]; + $9 = $5 << 4; + $5 = $13 + $9 | 0; + HEAPF64[$5 >> 3] = HEAPF64[$5 >> 3] + +HEAP32[$2 + 4 >> 2]; + $1 = $5; + $5 = $5 + 8 | 0; + HEAPF64[$5 >> 3] = HEAPF64[$1 + 8 >> 3] + +HEAP32[$2 + 8 >> 2]; + $5 = $8 + $9 | 0; + $9 = HEAP32[$2 + 12 >> 2]; + if (($9 | 0) < HEAP32[$5 >> 2]) { + HEAP32[$5 >> 2] = $9; + } + $9 = HEAP32[$2 + 16 >> 2]; + $5 = $7 << 2; + $7 = ($5 | 4) + $8 | 0; + if (($9 | 0) > HEAP32[$7 >> 2]) { + HEAP32[$7 >> 2] = $9; + } + $9 = HEAP32[$2 + 20 >> 2]; + $7 = ($5 | 8) + $8 | 0; + if (($9 | 0) < HEAP32[$7 >> 2]) { + HEAP32[$7 >> 2] = $9; + } + $2 = HEAP32[$2 + 24 >> 2]; + $5 = ($5 | 12) + $8 | 0; + if (($2 | 0) > HEAP32[$5 >> 2]) { + HEAP32[$5 >> 2] = $2; + } + $6 = $6 + 1 | 0; + continue; + } + } else { + $6 = ($2 << 4) + $8 | 0; + HEAP32[$6 >> 2] = $15; + HEAP32[$6 + 4 >> 2] = 0; + HEAP32[$6 + 8 >> 2] = $17; + HEAP32[$6 + 12 >> 2] = 0; + $2 = $2 + 1 | 0; + $6 = HEAP32[$4 + 8 >> 2]; + continue; } - case 72: - { - HEAP32[i10 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i10 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40 + 8 | 0, i36, i2, i39, i32); - i43 = 26; - break; + } + return $5; +} + +function arLabelingSubEWIC($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $15 = ($1 | 0) / 2 | 0; + $5 = ($15 | 0) > 0 ? $15 : 0; + $7 = HEAP32[$4 >> 2]; + $17 = ($2 | 0) / 2 | 0; + $13 = $17 - 1 | 0; + $6 = $7 + (Math_imul($15, $13) << 1) | 0; + $2 = 0; + $8 = $7; + while (1) { + if (($2 | 0) != ($5 | 0)) { + HEAP16[$6 >> 1] = 0; + HEAP16[$8 >> 1] = 0; + $2 = $2 + 1 | 0; + $8 = $8 + 2 | 0; + $6 = $6 + 2 | 0; + continue; } - case 73: - { - HEAP32[i11 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i11 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40 + 8 | 0, i36, i2, i39, i32); - i43 = 26; - break; + break; + } + $10 = ($17 | 0) > 0 ? $17 : 0; + $9 = $15 - 1 | 0; + $6 = ($9 << 1) + $7 | 0; + $2 = 0; + $8 = $7; + while (1) { + if (($2 | 0) != ($10 | 0)) { + HEAP16[$6 >> 1] = 0; + HEAP16[$8 >> 1] = 0; + $2 = $2 + 1 | 0; + $5 = $15 << 1; + $6 = $6 + $5 | 0; + $8 = $5 + $8 | 0; + continue; } - case 106: - { - HEAP32[i12 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i12 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40 + 28 | 0, i36, i2, i39, i32); - i43 = 26; + break; + } + $19 = ($13 | 0) > 1 ? $13 : 1; + $20 = ($9 | 0) > 1 ? $9 : 1; + $16 = $4 + 1310736 | 0; + $14 = $4 + 1179664 | 0; + $2 = $15 + 1 | 0; + $10 = $2 + HEAP32[$4 + 4 >> 2] | 0; + $13 = (($1 << 1) + $0 | 0) + 2 | 0; + $8 = ($2 << 1) + $7 | 0; + $21 = 0 - $15 << 1; + $11 = 1; + label$5: { + label$6: while (1) { + if (($11 | 0) != ($19 | 0)) { + $6 = 1; + while (1) { + label$9: { + label$10: { + label$11: { + if (($6 | 0) != ($20 | 0)) { + if (HEAPU8[$13 | 0] > ($3 | 0)) { + HEAP8[$10 | 0] = 255; + $2 = $8 + $21 | 0; + $5 = HEAPU16[$2 >> 1]; + $7 = $5 << 16 >> 16; + if (($7 | 0) > 0) { + HEAP16[$8 >> 1] = $7; + $2 = Math_imul($5, 28) + $16 | 0; + HEAP32[$2 - 4 >> 2] = $11; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $2 = $2 - 20 | 0; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $11; + break label$9; + } + $9 = HEAPU16[$2 - 2 >> 1]; + $5 = $9 << 16 >> 16; + $2 = HEAP16[$2 + 2 >> 1]; + if (($2 | 0) > 0) { + if (($5 | 0) > 0) { + $7 = HEAP32[(($2 << 2) + $14 | 0) - 4 >> 2]; + $9 = HEAP32[(($9 << 2) + $14 | 0) - 4 >> 2]; + if (($7 | 0) > ($9 | 0)) { + HEAP16[$8 >> 1] = $9; + $5 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $2 = $14; + while (1) { + if (($0 | 0) == ($5 | 0)) { + $7 = $9; + break label$10; + } + if (HEAP32[$2 >> 2] == ($7 | 0)) { + HEAP32[$2 >> 2] = $9; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + HEAP16[$8 >> 1] = $7; + if (($7 | 0) >= ($9 | 0)) { + break label$10; + } + $5 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $2 = $14; + while (1) { + if (($0 | 0) == ($5 | 0)) { + break label$10; + } + if (HEAP32[$2 >> 2] == ($9 | 0)) { + HEAP32[$2 >> 2] = $7; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + $5 = HEAP16[$8 - 2 >> 1]; + if (($5 | 0) > 0) { + $7 = HEAP32[(($2 << 2) + $14 | 0) - 4 >> 2]; + $9 = HEAP32[((($5 & 65535) << 2) + $14 | 0) - 4 >> 2]; + if (($7 | 0) > ($9 | 0)) { + HEAP16[$8 >> 1] = $9; + $5 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $2 = $14; + while (1) { + if (($0 | 0) == ($5 | 0)) { + $7 = $9; + break label$11; + } + if (HEAP32[$2 >> 2] == ($7 | 0)) { + HEAP32[$2 >> 2] = $9; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + HEAP16[$8 >> 1] = $7; + if (($7 | 0) >= ($9 | 0)) { + break label$11; + } + $5 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + $2 = $14; + while (1) { + if (($0 | 0) == ($5 | 0)) { + break label$11; + } + if (HEAP32[$2 >> 2] == ($9 | 0)) { + HEAP32[$2 >> 2] = $7; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + HEAP16[$8 >> 1] = $2; + $2 = Math_imul($2, 28) + $16 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $5 = $2 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $11; + $5 = $2 - 16 | 0; + if (HEAP32[$5 >> 2] > ($6 | 0)) { + HEAP32[$5 >> 2] = $6; + } + HEAP32[$2 - 4 >> 2] = $11; + break label$9; + } + if (($5 | 0) > 0) { + HEAP16[$8 >> 1] = $5; + $2 = Math_imul($9, 28) + $16 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $5 = $2 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $11; + $5 = $2 - 12 | 0; + if (HEAP32[$5 >> 2] < ($6 | 0)) { + HEAP32[$5 >> 2] = $6; + } + HEAP32[$2 - 4 >> 2] = $11; + break label$9; + } + $2 = HEAPU16[$8 - 2 >> 1]; + $5 = $2 << 16 >> 16; + if (($5 | 0) > 0) { + HEAP16[$8 >> 1] = $5; + $2 = Math_imul($2, 28) + $16 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $5 = $2 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $11; + $2 = $2 - 12 | 0; + if (HEAP32[$2 >> 2] >= ($6 | 0)) { + break label$9; + } + HEAP32[$2 >> 2] = $6; + break label$9; + } + if (($12 | 0) >= 32768) { + arLog(0, 3, 1508, 0); + $5 = -1; + break label$5; + } + $5 = $12 + 1 | 0; + HEAP16[$8 >> 1] = $5; + HEAP32[($12 << 2) + $14 >> 2] = $5 << 16 >> 16; + $2 = Math_imul($12, 28) + $16 | 0; + HEAP32[$2 + 24 >> 2] = $11; + HEAP32[$2 + 20 >> 2] = $11; + HEAP32[$2 + 16 >> 2] = $6; + HEAP32[$2 + 12 >> 2] = $6; + HEAP32[$2 + 8 >> 2] = $11; + HEAP32[$2 + 4 >> 2] = $6; + HEAP32[$2 >> 2] = 1; + $12 = $5; + break label$9; + } + HEAP16[$8 >> 1] = 0; + HEAP8[$10 | 0] = 0; + break label$9; + } + $10 = $10 + 2 | 0; + $8 = $8 + 4 | 0; + $11 = $11 + 1 | 0; + $13 = ($1 + $13 | 0) + 4 | 0; + continue label$6; + } + $2 = Math_imul($7 << 16 >> 16, 28) + $16 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $2 = $2 - 20 | 0; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $11; + break label$9; + } + $2 = Math_imul($7 << 16 >> 16, 28) + $16 | 0; + HEAP32[$2 - 4 >> 2] = $11; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $2 = $2 - 20 | 0; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $11; + } + $10 = $10 + 1 | 0; + $8 = $8 + 2 | 0; + $13 = $13 + 2 | 0; + $6 = $6 + 1 | 0; + continue; + } + } break; } - case 109: - { - HEAP32[i13 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i13 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40 + 16 | 0, i36, i2, i39, i32); - i43 = 26; + $8 = $4 + 131084 | 0; + $13 = (($12 | 0) > 0 ? $12 : 0) + 1 | 0; + $2 = 1; + $10 = 1; + $6 = $14; + while (1) { + if (($2 | 0) != ($13 | 0)) { + $5 = HEAP32[$6 >> 2]; + label$37: { + if (($5 | 0) == ($2 | 0)) { + $5 = $10; + $10 = $5 + 1 | 0; + break label$37; + } + $5 = HEAP32[(($5 << 2) + $14 | 0) - 4 >> 2]; + } + HEAP32[$6 >> 2] = $5; + $6 = $6 + 4 | 0; + $2 = $2 + 1 | 0; + continue; + } break; } - case 77: - { - HEAP32[i14 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i14 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40 + 4 | 0, i36, i2, i39, i32); - i43 = 26; - break; + $6 = $10 - 1 | 0; + HEAP32[$4 + 8 >> 2] = $6; + if (!$6) { + return 0; } - case 116: - case 110: - { - HEAP32[i15 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i15 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIwEE(i35, i36, i2, i39, i32); - i43 = 26; - break; + $10 = $4 + 12 | 0; + wasm2js_memory_fill($10, 0, $6 << 2); + $13 = $4 + 655376 | 0; + wasm2js_memory_fill($13, 0, $6 << 4); + $2 = 0; + while (1) if (($2 | 0) >= ($6 | 0)) { + $6 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + while (1) { + if (($0 | 0) == ($6 | 0)) { + $5 = 0; + $2 = HEAP32[$4 + 8 >> 2]; + $8 = ($2 | 0) > 0 ? $2 : 0; + $2 = 0; + while (1) { + if (($2 | 0) == ($8 | 0)) { + break label$5; + } + $6 = ($2 << 4) + $13 | 0; + $18 = +HEAP32[($2 << 2) + $10 >> 2]; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] / $18; + $0 = $6; + $6 = $6 + 8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$0 + 8 >> 3] / $18; + $2 = $2 + 1 | 0; + continue; + } + } + $5 = HEAP32[($6 << 2) + $14 >> 2] - 1 | 0; + $7 = $5 << 2; + $2 = $10 + $7 | 0; + $1 = $2; + $3 = HEAP32[$2 >> 2]; + $2 = Math_imul($6, 28) + $16 | 0; + HEAP32[$1 >> 2] = $3 + HEAP32[$2 >> 2]; + $9 = $5 << 4; + $5 = $13 + $9 | 0; + HEAPF64[$5 >> 3] = HEAPF64[$5 >> 3] + +HEAP32[$2 + 4 >> 2]; + $1 = $5; + $5 = $5 + 8 | 0; + HEAPF64[$5 >> 3] = HEAPF64[$1 + 8 >> 3] + +HEAP32[$2 + 8 >> 2]; + $5 = $8 + $9 | 0; + $9 = HEAP32[$2 + 12 >> 2]; + if (($9 | 0) < HEAP32[$5 >> 2]) { + HEAP32[$5 >> 2] = $9; + } + $9 = HEAP32[$2 + 16 >> 2]; + $5 = $7 << 2; + $7 = ($5 | 4) + $8 | 0; + if (($9 | 0) > HEAP32[$7 >> 2]) { + HEAP32[$7 >> 2] = $9; + } + $9 = HEAP32[$2 + 20 >> 2]; + $7 = ($5 | 8) + $8 | 0; + if (($9 | 0) < HEAP32[$7 >> 2]) { + HEAP32[$7 >> 2] = $9; + } + $2 = HEAP32[$2 + 24 >> 2]; + $5 = ($5 | 12) + $8 | 0; + if (($2 | 0) > HEAP32[$5 >> 2]) { + HEAP32[$5 >> 2] = $2; + } + $6 = $6 + 1 | 0; + continue; + } + } else { + $6 = ($2 << 4) + $8 | 0; + HEAP32[$6 >> 2] = $15; + HEAP32[$6 + 4 >> 2] = 0; + HEAP32[$6 + 8 >> 2] = $17; + HEAP32[$6 + 12 >> 2] = 0; + $2 = $2 + 1 | 0; + $6 = HEAP32[$4 + 8 >> 2]; + continue; } - case 112: - { - HEAP32[i16 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i16 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40 + 8 | 0, i36, i2, i39, i32); - i43 = 26; - break; + } + return $5; +} + +function arLabelingSubEBRC($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $6 = ($1 | 0) > 0 ? $1 : 0; + $8 = HEAP32[$4 >> 2]; + $11 = $2 - 1 | 0; + $7 = $8 + (Math_imul($11, $1) << 1) | 0; + $9 = $8; + while (1) { + if (($5 | 0) != ($6 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$9 >> 1] = 0; + $5 = $5 + 1 | 0; + $9 = $9 + 2 | 0; + $7 = $7 + 2 | 0; + continue; } - case 114: - { - HEAP32[i17 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i18 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i17 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i18 >> 2]; - i43 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(i35, i1, i2, i38, i39, i40, 10848, 10892) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; - break; + break; + } + $14 = ($2 | 0) > 0 ? $2 : 0; + $10 = $1 - 1 | 0; + $7 = ($10 << 1) + $8 | 0; + $5 = 0; + $9 = $8; + while (1) { + if (($5 | 0) != ($14 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$9 >> 1] = 0; + $5 = $5 + 1 | 0; + $6 = $1 << 1; + $7 = $7 + $6 | 0; + $9 = $6 + $9 | 0; + continue; } - case 82: - { - HEAP32[i19 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i20 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i20 >> 2]; - i43 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(i35, i1, i2, i38, i39, i40, 10896, 10916) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; + break; + } + $19 = ($11 | 0) > 1 ? $11 : 1; + $16 = $4 + 1310736 | 0; + $15 = $4 + 1179664 | 0; + $5 = $1 + 1 | 0; + $14 = $5 + $0 | 0; + $11 = HEAP32[$4 + 4 >> 2] + $5 | 0; + $17 = ($10 | 0) > 1 ? $10 : 1; + $20 = $17 - 1 | 0; + $9 = ($5 << 1) + $8 | 0; + $21 = 0 - $1 << 1; + $12 = 1; + label$5: { + label$6: while (1) { + if (($12 | 0) != ($19 | 0)) { + $22 = $14 + $20 | 0; + $7 = 1; + while (1) { + label$9: { + label$10: { + label$11: { + if (($7 | 0) != ($17 | 0)) { + if (HEAPU8[$14 | 0] <= ($3 | 0)) { + HEAP8[$11 | 0] = 255; + $5 = $9 + $21 | 0; + $6 = HEAPU16[$5 >> 1]; + $8 = $6 << 16 >> 16; + if (($8 | 0) > 0) { + HEAP16[$9 >> 1] = $8; + $5 = Math_imul($6, 28) + $16 | 0; + HEAP32[$5 - 4 >> 2] = $12; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $12; + break label$9; + } + $10 = HEAPU16[$5 - 2 >> 1]; + $6 = $10 << 16 >> 16; + $5 = HEAP16[$5 + 2 >> 1]; + if (($5 | 0) > 0) { + if (($6 | 0) > 0) { + $8 = HEAP32[(($5 << 2) + $15 | 0) - 4 >> 2]; + $10 = HEAP32[(($10 << 2) + $15 | 0) - 4 >> 2]; + if (($8 | 0) > ($10 | 0)) { + HEAP16[$9 >> 1] = $10; + $6 = 0; + $0 = ($13 | 0) > 0 ? $13 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + $8 = $10; + break label$10; + } + if (HEAP32[$5 >> 2] == ($8 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $8; + if (($8 | 0) >= ($10 | 0)) { + break label$10; + } + $6 = 0; + $0 = ($13 | 0) > 0 ? $13 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + break label$10; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $8; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + $6 = HEAP16[$9 - 2 >> 1]; + if (($6 | 0) > 0) { + $8 = HEAP32[(($5 << 2) + $15 | 0) - 4 >> 2]; + $10 = HEAP32[((($6 & 65535) << 2) + $15 | 0) - 4 >> 2]; + if (($8 | 0) > ($10 | 0)) { + HEAP16[$9 >> 1] = $10; + $6 = 0; + $0 = ($13 | 0) > 0 ? $13 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + $8 = $10; + break label$11; + } + if (HEAP32[$5 >> 2] == ($8 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $8; + if (($8 | 0) >= ($10 | 0)) { + break label$11; + } + $6 = 0; + $0 = ($13 | 0) > 0 ? $13 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + break label$11; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $8; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $5; + $5 = Math_imul($5, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $12; + $6 = $5 - 16 | 0; + if (HEAP32[$6 >> 2] > ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $12; + break label$9; + } + if (($6 | 0) > 0) { + HEAP16[$9 >> 1] = $6; + $5 = Math_imul($10, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $12; + $6 = $5 - 12 | 0; + if (HEAP32[$6 >> 2] < ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $12; + break label$9; + } + $5 = HEAPU16[$9 - 2 >> 1]; + $6 = $5 << 16 >> 16; + if (($6 | 0) > 0) { + HEAP16[$9 >> 1] = $6; + $5 = Math_imul($5, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $12; + $5 = $5 - 12 | 0; + if (HEAP32[$5 >> 2] >= ($7 | 0)) { + break label$9; + } + HEAP32[$5 >> 2] = $7; + break label$9; + } + if (($13 | 0) >= 32768) { + arLog(0, 3, 1508, 0); + $6 = -1; + break label$5; + } + $6 = $13 + 1 | 0; + HEAP16[$9 >> 1] = $6; + HEAP32[($13 << 2) + $15 >> 2] = $6 << 16 >> 16; + $5 = Math_imul($13, 28) + $16 | 0; + HEAP32[$5 + 24 >> 2] = $12; + HEAP32[$5 + 20 >> 2] = $12; + HEAP32[$5 + 16 >> 2] = $7; + HEAP32[$5 + 12 >> 2] = $7; + HEAP32[$5 + 8 >> 2] = $12; + HEAP32[$5 + 4 >> 2] = $7; + HEAP32[$5 >> 2] = 1; + $13 = $6; + break label$9; + } + HEAP16[$9 >> 1] = 0; + HEAP8[$11 | 0] = 0; + break label$9; + } + $11 = $11 + 2 | 0; + $9 = $9 + 4 | 0; + $14 = $22 + 2 | 0; + $12 = $12 + 1 | 0; + continue label$6; + } + $5 = Math_imul($8 << 16 >> 16, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $12; + break label$9; + } + $5 = Math_imul($8 << 16 >> 16, 28) + $16 | 0; + HEAP32[$5 - 4 >> 2] = $12; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $12; + } + $11 = $11 + 1 | 0; + $9 = $9 + 2 | 0; + $14 = $14 + 1 | 0; + $7 = $7 + 1 | 0; + continue; + } + } break; } - case 83: - { - HEAP32[i21 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i21 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40, i36, i2, i39, i32); - i43 = 26; + $9 = $4 + 131084 | 0; + $11 = (($13 | 0) > 0 ? $13 : 0) + 1 | 0; + $5 = 1; + $14 = 1; + $7 = $15; + while (1) { + if (($5 | 0) != ($11 | 0)) { + $6 = HEAP32[$7 >> 2]; + label$37: { + if (($6 | 0) == ($5 | 0)) { + $6 = $14; + $14 = $6 + 1 | 0; + break label$37; + } + $6 = HEAP32[(($6 << 2) + $15 | 0) - 4 >> 2]; + } + HEAP32[$7 >> 2] = $6; + $7 = $7 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } break; } - case 84: - { - HEAP32[i22 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i23 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i22 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i23 >> 2]; - i43 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(i35, i1, i2, i38, i39, i40, 10928, 10960) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; - break; + $7 = $14 - 1 | 0; + HEAP32[$4 + 8 >> 2] = $7; + if (!$7) { + return 0; } - case 119: - { - HEAP32[i24 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i24 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40 + 24 | 0, i36, i2, i39, i32); - i43 = 26; - break; + $14 = $4 + 12 | 0; + wasm2js_memory_fill($14, 0, $7 << 2); + $11 = $4 + 655376 | 0; + wasm2js_memory_fill($11, 0, $7 << 4); + $5 = 0; + while (1) if (($5 | 0) >= ($7 | 0)) { + $7 = 0; + $0 = ($13 | 0) > 0 ? $13 : 0; + while (1) { + if (($0 | 0) == ($7 | 0)) { + $6 = 0; + $5 = HEAP32[$4 + 8 >> 2]; + $9 = ($5 | 0) > 0 ? $5 : 0; + $5 = 0; + while (1) { + if (($5 | 0) == ($9 | 0)) { + break label$5; + } + $7 = ($5 << 4) + $11 | 0; + $18 = +HEAP32[($5 << 2) + $14 >> 2]; + HEAPF64[$7 >> 3] = HEAPF64[$7 >> 3] / $18; + $0 = $7; + $7 = $7 + 8 | 0; + HEAPF64[$7 >> 3] = HEAPF64[$0 + 8 >> 3] / $18; + $5 = $5 + 1 | 0; + continue; + } + } + $6 = HEAP32[($7 << 2) + $15 >> 2] - 1 | 0; + $8 = $6 << 2; + $5 = $14 + $8 | 0; + $1 = $5; + $2 = HEAP32[$5 >> 2]; + $5 = Math_imul($7, 28) + $16 | 0; + HEAP32[$1 >> 2] = $2 + HEAP32[$5 >> 2]; + $10 = $6 << 4; + $6 = $11 + $10 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] + +HEAP32[$5 + 4 >> 2]; + $1 = $6; + $6 = $6 + 8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$1 + 8 >> 3] + +HEAP32[$5 + 8 >> 2]; + $6 = $9 + $10 | 0; + $10 = HEAP32[$5 + 12 >> 2]; + if (($10 | 0) < HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $10; + } + $10 = HEAP32[$5 + 16 >> 2]; + $6 = $8 << 2; + $8 = ($6 | 4) + $9 | 0; + if (($10 | 0) > HEAP32[$8 >> 2]) { + HEAP32[$8 >> 2] = $10; + } + $10 = HEAP32[$5 + 20 >> 2]; + $8 = ($6 | 8) + $9 | 0; + if (($10 | 0) < HEAP32[$8 >> 2]) { + HEAP32[$8 >> 2] = $10; + } + $5 = HEAP32[$5 + 24 >> 2]; + $6 = ($6 | 12) + $9 | 0; + if (($5 | 0) > HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $5; + } + $7 = $7 + 1 | 0; + continue; + } + } else { + $7 = ($5 << 4) + $9 | 0; + HEAP32[$7 >> 2] = $1; + HEAP32[$7 + 4 >> 2] = 0; + HEAP32[$7 + 8 >> 2] = $2; + HEAP32[$7 + 12 >> 2] = 0; + $5 = $5 + 1 | 0; + $7 = HEAP32[$4 + 8 >> 2]; + continue; } - case 120: - { - i41 = HEAP32[(HEAP32[i35 >> 2] | 0) + 20 >> 2] | 0; - HEAP32[i25 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i26 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i25 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i26 >> 2]; - i1 = FUNCTION_TABLE_iiiiiii[i41 & 63](i35, i1, i2, i38, i39, i40) | 0; - break; + } + return $6; +} + +function arLabelingSubEWRC($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $6 = ($1 | 0) > 0 ? $1 : 0; + $8 = HEAP32[$4 >> 2]; + $11 = $2 - 1 | 0; + $7 = $8 + (Math_imul($11, $1) << 1) | 0; + $9 = $8; + while (1) { + if (($5 | 0) != ($6 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$9 >> 1] = 0; + $5 = $5 + 1 | 0; + $9 = $9 + 2 | 0; + $7 = $7 + 2 | 0; + continue; } - case 88: - { - i34 = i35 + 8 | 0; - i34 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i34 >> 2] | 0) + 24 >> 2] & 127](i34) | 0; - HEAP32[i27 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i28 >> 2] = HEAP32[i37 >> 2]; - i43 = HEAP8[i34 + 8 + 3 >> 0] | 0; - i37 = i43 << 24 >> 24 < 0; - i41 = i37 ? HEAP32[i34 >> 2] | 0 : i34; - i43 = i41 + ((i37 ? HEAP32[i34 + 4 >> 2] | 0 : i43 & 255) << 2) | 0; - HEAP32[i1 >> 2] = HEAP32[i27 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i28 >> 2]; - i43 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(i35, i1, i2, i38, i39, i40, i41, i43) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; - break; + break; + } + $14 = ($2 | 0) > 0 ? $2 : 0; + $10 = $1 - 1 | 0; + $7 = ($10 << 1) + $8 | 0; + $5 = 0; + $9 = $8; + while (1) { + if (($5 | 0) != ($14 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$9 >> 1] = 0; + $5 = $5 + 1 | 0; + $6 = $1 << 1; + $7 = $7 + $6 | 0; + $9 = $6 + $9 | 0; + continue; } - case 121: - { - HEAP32[i29 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i29 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40 + 20 | 0, i36, i2, i39, i32); - i43 = 26; + break; + } + $19 = ($11 | 0) > 1 ? $11 : 1; + $16 = $4 + 1310736 | 0; + $15 = $4 + 1179664 | 0; + $5 = $1 + 1 | 0; + $14 = $5 + $0 | 0; + $11 = HEAP32[$4 + 4 >> 2] + $5 | 0; + $17 = ($10 | 0) > 1 ? $10 : 1; + $20 = $17 - 1 | 0; + $9 = ($5 << 1) + $8 | 0; + $21 = 0 - $1 << 1; + $12 = 1; + label$5: { + label$6: while (1) { + if (($12 | 0) != ($19 | 0)) { + $22 = $14 + $20 | 0; + $7 = 1; + while (1) { + label$9: { + label$10: { + label$11: { + if (($7 | 0) != ($17 | 0)) { + if (HEAPU8[$14 | 0] > ($3 | 0)) { + HEAP8[$11 | 0] = 255; + $5 = $9 + $21 | 0; + $6 = HEAPU16[$5 >> 1]; + $8 = $6 << 16 >> 16; + if (($8 | 0) > 0) { + HEAP16[$9 >> 1] = $8; + $5 = Math_imul($6, 28) + $16 | 0; + HEAP32[$5 - 4 >> 2] = $12; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $12; + break label$9; + } + $10 = HEAPU16[$5 - 2 >> 1]; + $6 = $10 << 16 >> 16; + $5 = HEAP16[$5 + 2 >> 1]; + if (($5 | 0) > 0) { + if (($6 | 0) > 0) { + $8 = HEAP32[(($5 << 2) + $15 | 0) - 4 >> 2]; + $10 = HEAP32[(($10 << 2) + $15 | 0) - 4 >> 2]; + if (($8 | 0) > ($10 | 0)) { + HEAP16[$9 >> 1] = $10; + $6 = 0; + $0 = ($13 | 0) > 0 ? $13 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + $8 = $10; + break label$10; + } + if (HEAP32[$5 >> 2] == ($8 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $8; + if (($8 | 0) >= ($10 | 0)) { + break label$10; + } + $6 = 0; + $0 = ($13 | 0) > 0 ? $13 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + break label$10; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $8; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + $6 = HEAP16[$9 - 2 >> 1]; + if (($6 | 0) > 0) { + $8 = HEAP32[(($5 << 2) + $15 | 0) - 4 >> 2]; + $10 = HEAP32[((($6 & 65535) << 2) + $15 | 0) - 4 >> 2]; + if (($8 | 0) > ($10 | 0)) { + HEAP16[$9 >> 1] = $10; + $6 = 0; + $0 = ($13 | 0) > 0 ? $13 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + $8 = $10; + break label$11; + } + if (HEAP32[$5 >> 2] == ($8 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $8; + if (($8 | 0) >= ($10 | 0)) { + break label$11; + } + $6 = 0; + $0 = ($13 | 0) > 0 ? $13 : 0; + $5 = $15; + while (1) { + if (($0 | 0) == ($6 | 0)) { + break label$11; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $8; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $5; + $5 = Math_imul($5, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $12; + $6 = $5 - 16 | 0; + if (HEAP32[$6 >> 2] > ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $12; + break label$9; + } + if (($6 | 0) > 0) { + HEAP16[$9 >> 1] = $6; + $5 = Math_imul($10, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $12; + $6 = $5 - 12 | 0; + if (HEAP32[$6 >> 2] < ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $12; + break label$9; + } + $5 = HEAPU16[$9 - 2 >> 1]; + $6 = $5 << 16 >> 16; + if (($6 | 0) > 0) { + HEAP16[$9 >> 1] = $6; + $5 = Math_imul($5, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $12; + $5 = $5 - 12 | 0; + if (HEAP32[$5 >> 2] >= ($7 | 0)) { + break label$9; + } + HEAP32[$5 >> 2] = $7; + break label$9; + } + if (($13 | 0) >= 32768) { + arLog(0, 3, 1508, 0); + $6 = -1; + break label$5; + } + $6 = $13 + 1 | 0; + HEAP16[$9 >> 1] = $6; + HEAP32[($13 << 2) + $15 >> 2] = $6 << 16 >> 16; + $5 = Math_imul($13, 28) + $16 | 0; + HEAP32[$5 + 24 >> 2] = $12; + HEAP32[$5 + 20 >> 2] = $12; + HEAP32[$5 + 16 >> 2] = $7; + HEAP32[$5 + 12 >> 2] = $7; + HEAP32[$5 + 8 >> 2] = $12; + HEAP32[$5 + 4 >> 2] = $7; + HEAP32[$5 >> 2] = 1; + $13 = $6; + break label$9; + } + HEAP16[$9 >> 1] = 0; + HEAP8[$11 | 0] = 0; + break label$9; + } + $11 = $11 + 2 | 0; + $9 = $9 + 4 | 0; + $14 = $22 + 2 | 0; + $12 = $12 + 1 | 0; + continue label$6; + } + $5 = Math_imul($8 << 16 >> 16, 28) + $16 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $12; + break label$9; + } + $5 = Math_imul($8 << 16 >> 16, 28) + $16 | 0; + HEAP32[$5 - 4 >> 2] = $12; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $12; + } + $11 = $11 + 1 | 0; + $9 = $9 + 2 | 0; + $14 = $14 + 1 | 0; + $7 = $7 + 1 | 0; + continue; + } + } break; } - case 89: - { - HEAP32[i30 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i30 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIwEE(i35, i40 + 20 | 0, i36, i2, i39, i32); - i43 = 26; + $9 = $4 + 131084 | 0; + $11 = (($13 | 0) > 0 ? $13 : 0) + 1 | 0; + $5 = 1; + $14 = 1; + $7 = $15; + while (1) { + if (($5 | 0) != ($11 | 0)) { + $6 = HEAP32[$7 >> 2]; + label$37: { + if (($6 | 0) == ($5 | 0)) { + $6 = $14; + $14 = $6 + 1 | 0; + break label$37; + } + $6 = HEAP32[(($6 << 2) + $15 | 0) - 4 >> 2]; + } + HEAP32[$7 >> 2] = $6; + $7 = $7 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } break; } - case 37: - { - HEAP32[i31 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i31 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIwEE(i35, i36, i2, i39, i32); - i43 = 26; - break; + $7 = $14 - 1 | 0; + HEAP32[$4 + 8 >> 2] = $7; + if (!$7) { + return 0; } - default: - { - HEAP32[i39 >> 2] = HEAP32[i39 >> 2] | 4; - i43 = 26; - } - } while (0); - if ((i43 | 0) == 26) i1 = HEAP32[i36 >> 2] | 0; - STACKTOP = i42; - return i1 | 0; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc(i35, i36, i37, i38, i39, i40, i41, i1) { - i35 = i35 | 0; - i36 = i36 | 0; - i37 = i37 | 0; - i38 = i38 | 0; - i39 = i39 | 0; - i40 = i40 | 0; - i41 = i41 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i42 = 0, i43 = 0; - i42 = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - i2 = i42 + 128 | 0; - i1 = i42 + 112 | 0; - i33 = i42 + 124 | 0; - i34 = i42 + 120 | 0; - i3 = i42 + 116 | 0; - i4 = i42 + 108 | 0; - i5 = i42 + 104 | 0; - i6 = i42 + 100 | 0; - i7 = i42 + 96 | 0; - i8 = i42 + 92 | 0; - i9 = i42 + 88 | 0; - i10 = i42 + 84 | 0; - i11 = i42 + 80 | 0; - i12 = i42 + 76 | 0; - i13 = i42 + 72 | 0; - i14 = i42 + 68 | 0; - i15 = i42 + 64 | 0; - i16 = i42 + 60 | 0; - i17 = i42 + 56 | 0; - i18 = i42 + 52 | 0; - i19 = i42 + 48 | 0; - i20 = i42 + 44 | 0; - i21 = i42 + 40 | 0; - i22 = i42 + 36 | 0; - i23 = i42 + 32 | 0; - i24 = i42 + 28 | 0; - i25 = i42 + 24 | 0; - i26 = i42 + 20 | 0; - i27 = i42 + 16 | 0; - i28 = i42 + 12 | 0; - i29 = i42 + 8 | 0; - i30 = i42 + 4 | 0; - i31 = i42; - HEAP32[i39 >> 2] = 0; - __ZNKSt3__28ios_base6getlocEv(i2, i38); - i32 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 57916) | 0; - __ZNSt3__26localeD2Ev(i2); - do switch (i41 << 24 >> 24 | 0) { - case 65: - case 97: - { - HEAP32[i33 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i33 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40 + 24 | 0, i36, i2, i39, i32); - i43 = 26; - break; - } - case 104: - case 66: - case 98: - { - HEAP32[i34 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i34 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40 + 16 | 0, i36, i2, i39, i32); - i43 = 26; - break; - } - case 99: - { - i34 = i35 + 8 | 0; - i34 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i34 >> 2] | 0) + 12 >> 2] & 127](i34) | 0; - HEAP32[i3 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i4 >> 2] = HEAP32[i37 >> 2]; - i43 = HEAP8[i34 + 11 >> 0] | 0; - i37 = i43 << 24 >> 24 < 0; - i41 = i37 ? HEAP32[i34 >> 2] | 0 : i34; - i43 = i41 + (i37 ? HEAP32[i34 + 4 >> 2] | 0 : i43 & 255) | 0; - HEAP32[i1 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i4 >> 2]; - i43 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(i35, i1, i2, i38, i39, i40, i41, i43) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; - break; - } - case 101: - case 100: - { - HEAP32[i5 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i5 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40 + 12 | 0, i36, i2, i39, i32); - i43 = 26; - break; - } - case 68: - { - HEAP32[i6 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i7 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i7 >> 2]; - i43 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(i35, i1, i2, i38, i39, i40, 47493, 47501) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; - break; - } - case 70: - { - HEAP32[i8 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i9 >> 2]; - i43 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(i35, i1, i2, i38, i39, i40, 47501, 47509) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; - break; - } - case 72: - { - HEAP32[i10 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i10 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40 + 8 | 0, i36, i2, i39, i32); - i43 = 26; - break; - } - case 73: - { - HEAP32[i11 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i11 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40 + 8 | 0, i36, i2, i39, i32); - i43 = 26; - break; - } - case 106: - { - HEAP32[i12 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i12 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40 + 28 | 0, i36, i2, i39, i32); - i43 = 26; - break; - } - case 109: - { - HEAP32[i13 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i13 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40 + 16 | 0, i36, i2, i39, i32); - i43 = 26; - break; - } - case 77: - { - HEAP32[i14 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i14 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40 + 4 | 0, i36, i2, i39, i32); - i43 = 26; - break; + $14 = $4 + 12 | 0; + wasm2js_memory_fill($14, 0, $7 << 2); + $11 = $4 + 655376 | 0; + wasm2js_memory_fill($11, 0, $7 << 4); + $5 = 0; + while (1) if (($5 | 0) >= ($7 | 0)) { + $7 = 0; + $0 = ($13 | 0) > 0 ? $13 : 0; + while (1) { + if (($0 | 0) == ($7 | 0)) { + $6 = 0; + $5 = HEAP32[$4 + 8 >> 2]; + $9 = ($5 | 0) > 0 ? $5 : 0; + $5 = 0; + while (1) { + if (($5 | 0) == ($9 | 0)) { + break label$5; + } + $7 = ($5 << 4) + $11 | 0; + $18 = +HEAP32[($5 << 2) + $14 >> 2]; + HEAPF64[$7 >> 3] = HEAPF64[$7 >> 3] / $18; + $0 = $7; + $7 = $7 + 8 | 0; + HEAPF64[$7 >> 3] = HEAPF64[$0 + 8 >> 3] / $18; + $5 = $5 + 1 | 0; + continue; + } + } + $6 = HEAP32[($7 << 2) + $15 >> 2] - 1 | 0; + $8 = $6 << 2; + $5 = $14 + $8 | 0; + $1 = $5; + $2 = HEAP32[$5 >> 2]; + $5 = Math_imul($7, 28) + $16 | 0; + HEAP32[$1 >> 2] = $2 + HEAP32[$5 >> 2]; + $10 = $6 << 4; + $6 = $11 + $10 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] + +HEAP32[$5 + 4 >> 2]; + $1 = $6; + $6 = $6 + 8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$1 + 8 >> 3] + +HEAP32[$5 + 8 >> 2]; + $6 = $9 + $10 | 0; + $10 = HEAP32[$5 + 12 >> 2]; + if (($10 | 0) < HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $10; + } + $10 = HEAP32[$5 + 16 >> 2]; + $6 = $8 << 2; + $8 = ($6 | 4) + $9 | 0; + if (($10 | 0) > HEAP32[$8 >> 2]) { + HEAP32[$8 >> 2] = $10; + } + $10 = HEAP32[$5 + 20 >> 2]; + $8 = ($6 | 8) + $9 | 0; + if (($10 | 0) < HEAP32[$8 >> 2]) { + HEAP32[$8 >> 2] = $10; + } + $5 = HEAP32[$5 + 24 >> 2]; + $6 = ($6 | 12) + $9 | 0; + if (($5 | 0) > HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $5; + } + $7 = $7 + 1 | 0; + continue; + } + } else { + $7 = ($5 << 4) + $9 | 0; + HEAP32[$7 >> 2] = $1; + HEAP32[$7 + 4 >> 2] = 0; + HEAP32[$7 + 8 >> 2] = $2; + HEAP32[$7 + 12 >> 2] = 0; + $5 = $5 + 1 | 0; + $7 = HEAP32[$4 + 8 >> 2]; + continue; } - case 116: - case 110: - { - HEAP32[i15 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i15 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIcEE(i35, i36, i2, i39, i32); - i43 = 26; - break; + } + return $6; +} + +function arLabelingSubDBZ($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $6 = ($1 | 0) > 0 ? $1 : 0; + $8 = HEAP32[$4 >> 2]; + $12 = $2 - 1 | 0; + $7 = $8 + (Math_imul($12, $1) << 1) | 0; + $9 = $8; + while (1) { + if (($5 | 0) != ($6 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$9 >> 1] = 0; + $5 = $5 + 1 | 0; + $9 = $9 + 2 | 0; + $7 = $7 + 2 | 0; + continue; } - case 112: - { - HEAP32[i16 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i16 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40 + 8 | 0, i36, i2, i39, i32); - i43 = 26; - break; + break; + } + $13 = ($2 | 0) > 0 ? $2 : 0; + $10 = $1 - 1 | 0; + $7 = ($10 << 1) + $8 | 0; + $5 = 0; + $9 = $8; + while (1) { + if (($5 | 0) != ($13 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$9 >> 1] = 0; + $5 = $5 + 1 | 0; + $6 = $1 << 1; + $7 = $7 + $6 | 0; + $9 = $6 + $9 | 0; + continue; } - case 114: - { - HEAP32[i17 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i18 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i17 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i18 >> 2]; - i43 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(i35, i1, i2, i38, i39, i40, 47509, 47520) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; + break; + } + $19 = ($12 | 0) > 1 ? $12 : 1; + $15 = $4 + 1310736 | 0; + $14 = $4 + 1179664 | 0; + $5 = $1 + 1 | 0; + $13 = $5 + $3 | 0; + $12 = $0 + $5 | 0; + $16 = ($10 | 0) > 1 ? $10 : 1; + $17 = $16 - 1 | 0; + $9 = ($5 << 1) + $8 | 0; + $20 = 0 - $1 << 1; + $0 = 1; + label$5: { + label$6: while (1) { + if (($0 | 0) != ($19 | 0)) { + $21 = $12 + $17 | 0; + $22 = $13 + $17 | 0; + $7 = 1; + while (1) { + label$9: { + label$10: { + label$11: { + if (($7 | 0) != ($16 | 0)) { + if (HEAPU8[$12 | 0] <= HEAPU8[$13 | 0]) { + $5 = $9 + $20 | 0; + $6 = HEAPU16[$5 >> 1]; + $8 = $6 << 16 >> 16; + if (($8 | 0) > 0) { + HEAP16[$9 >> 1] = $8; + $5 = Math_imul($6, 28) + $15 | 0; + HEAP32[$5 - 4 >> 2] = $0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + break label$9; + } + $10 = HEAPU16[$5 - 2 >> 1]; + $6 = $10 << 16 >> 16; + $5 = HEAP16[$5 + 2 >> 1]; + if (($5 | 0) > 0) { + if (($6 | 0) > 0) { + $8 = HEAP32[(($5 << 2) + $14 | 0) - 4 >> 2]; + $10 = HEAP32[(($10 << 2) + $14 | 0) - 4 >> 2]; + if (($8 | 0) > ($10 | 0)) { + HEAP16[$9 >> 1] = $10; + $6 = 0; + $3 = ($11 | 0) > 0 ? $11 : 0; + $5 = $14; + while (1) { + if (($3 | 0) == ($6 | 0)) { + $8 = $10; + break label$10; + } + if (HEAP32[$5 >> 2] == ($8 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $8; + if (($8 | 0) >= ($10 | 0)) { + break label$10; + } + $6 = 0; + $3 = ($11 | 0) > 0 ? $11 : 0; + $5 = $14; + while (1) { + if (($3 | 0) == ($6 | 0)) { + break label$10; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $8; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + $6 = HEAP16[$9 - 2 >> 1]; + if (($6 | 0) > 0) { + $8 = HEAP32[(($5 << 2) + $14 | 0) - 4 >> 2]; + $10 = HEAP32[((($6 & 65535) << 2) + $14 | 0) - 4 >> 2]; + if (($8 | 0) > ($10 | 0)) { + HEAP16[$9 >> 1] = $10; + $6 = 0; + $3 = ($11 | 0) > 0 ? $11 : 0; + $5 = $14; + while (1) { + if (($3 | 0) == ($6 | 0)) { + $8 = $10; + break label$11; + } + if (HEAP32[$5 >> 2] == ($8 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $8; + if (($8 | 0) >= ($10 | 0)) { + break label$11; + } + $6 = 0; + $3 = ($11 | 0) > 0 ? $11 : 0; + $5 = $14; + while (1) { + if (($3 | 0) == ($6 | 0)) { + break label$11; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $8; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $5; + $5 = Math_imul($5, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $0; + $6 = $5 - 16 | 0; + if (HEAP32[$6 >> 2] > ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $0; + break label$9; + } + if (($6 | 0) > 0) { + HEAP16[$9 >> 1] = $6; + $5 = Math_imul($10, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $0; + $6 = $5 - 12 | 0; + if (HEAP32[$6 >> 2] < ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $0; + break label$9; + } + $5 = HEAPU16[$9 - 2 >> 1]; + $6 = $5 << 16 >> 16; + if (($6 | 0) > 0) { + HEAP16[$9 >> 1] = $6; + $5 = Math_imul($5, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $0; + $5 = $5 - 12 | 0; + if (HEAP32[$5 >> 2] >= ($7 | 0)) { + break label$9; + } + HEAP32[$5 >> 2] = $7; + break label$9; + } + if (($11 | 0) >= 32768) { + arLog(0, 3, 1508, 0); + $6 = -1; + break label$5; + } + $6 = $11 + 1 | 0; + HEAP16[$9 >> 1] = $6; + HEAP32[($11 << 2) + $14 >> 2] = $6 << 16 >> 16; + $5 = Math_imul($11, 28) + $15 | 0; + HEAP32[$5 + 24 >> 2] = $0; + HEAP32[$5 + 20 >> 2] = $0; + HEAP32[$5 + 16 >> 2] = $7; + HEAP32[$5 + 12 >> 2] = $7; + HEAP32[$5 + 8 >> 2] = $0; + HEAP32[$5 + 4 >> 2] = $7; + HEAP32[$5 >> 2] = 1; + $11 = $6; + break label$9; + } + HEAP16[$9 >> 1] = 0; + break label$9; + } + $9 = $9 + 4 | 0; + $13 = $22 + 2 | 0; + $12 = $21 + 2 | 0; + $0 = $0 + 1 | 0; + continue label$6; + } + $5 = Math_imul($8 << 16 >> 16, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + break label$9; + } + $5 = Math_imul($8 << 16 >> 16, 28) + $15 | 0; + HEAP32[$5 - 4 >> 2] = $0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + } + $9 = $9 + 2 | 0; + $13 = $13 + 1 | 0; + $12 = $12 + 1 | 0; + $7 = $7 + 1 | 0; + continue; + } + } break; } - case 82: - { - HEAP32[i19 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i20 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i20 >> 2]; - i43 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(i35, i1, i2, i38, i39, i40, 47520, 47525) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; + $9 = $4 + 131084 | 0; + $12 = (($11 | 0) > 0 ? $11 : 0) + 1 | 0; + $5 = 1; + $13 = 1; + $7 = $14; + while (1) { + if (($5 | 0) != ($12 | 0)) { + $6 = HEAP32[$7 >> 2]; + label$37: { + if (($6 | 0) == ($5 | 0)) { + $6 = $13; + $13 = $6 + 1 | 0; + break label$37; + } + $6 = HEAP32[(($6 << 2) + $14 | 0) - 4 >> 2]; + } + HEAP32[$7 >> 2] = $6; + $7 = $7 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } break; } - case 83: - { - HEAP32[i21 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i21 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40, i36, i2, i39, i32); - i43 = 26; - break; + $7 = $13 - 1 | 0; + HEAP32[$4 + 8 >> 2] = $7; + if (!$7) { + return 0; } - case 84: - { - HEAP32[i22 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i23 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i22 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i23 >> 2]; - i43 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(i35, i1, i2, i38, i39, i40, 47525, 47533) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; - break; + $13 = $4 + 12 | 0; + wasm2js_memory_fill($13, 0, $7 << 2); + $12 = $4 + 655376 | 0; + wasm2js_memory_fill($12, 0, $7 << 4); + $5 = 0; + while (1) if (($5 | 0) >= ($7 | 0)) { + $7 = 0; + $3 = ($11 | 0) > 0 ? $11 : 0; + while (1) { + if (($3 | 0) == ($7 | 0)) { + $6 = 0; + $5 = HEAP32[$4 + 8 >> 2]; + $9 = ($5 | 0) > 0 ? $5 : 0; + $5 = 0; + while (1) { + if (($5 | 0) == ($9 | 0)) { + break label$5; + } + $7 = ($5 << 4) + $12 | 0; + $18 = +HEAP32[($5 << 2) + $13 >> 2]; + HEAPF64[$7 >> 3] = HEAPF64[$7 >> 3] / $18; + $0 = $7; + $7 = $7 + 8 | 0; + HEAPF64[$7 >> 3] = HEAPF64[$0 + 8 >> 3] / $18; + $5 = $5 + 1 | 0; + continue; + } + } + $6 = HEAP32[($7 << 2) + $14 >> 2] - 1 | 0; + $8 = $6 << 2; + $5 = $13 + $8 | 0; + $0 = $5; + $1 = HEAP32[$5 >> 2]; + $5 = Math_imul($7, 28) + $15 | 0; + HEAP32[$0 >> 2] = $1 + HEAP32[$5 >> 2]; + $10 = $6 << 4; + $6 = $12 + $10 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] + +HEAP32[$5 + 4 >> 2]; + $0 = $6; + $6 = $6 + 8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$0 + 8 >> 3] + +HEAP32[$5 + 8 >> 2]; + $6 = $9 + $10 | 0; + $10 = HEAP32[$5 + 12 >> 2]; + if (($10 | 0) < HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $10; + } + $10 = HEAP32[$5 + 16 >> 2]; + $6 = $8 << 2; + $8 = ($6 | 4) + $9 | 0; + if (($10 | 0) > HEAP32[$8 >> 2]) { + HEAP32[$8 >> 2] = $10; + } + $10 = HEAP32[$5 + 20 >> 2]; + $8 = ($6 | 8) + $9 | 0; + if (($10 | 0) < HEAP32[$8 >> 2]) { + HEAP32[$8 >> 2] = $10; + } + $5 = HEAP32[$5 + 24 >> 2]; + $6 = ($6 | 12) + $9 | 0; + if (($5 | 0) > HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $5; + } + $7 = $7 + 1 | 0; + continue; + } + } else { + $7 = ($5 << 4) + $9 | 0; + HEAP32[$7 >> 2] = $1; + HEAP32[$7 + 4 >> 2] = 0; + HEAP32[$7 + 8 >> 2] = $2; + HEAP32[$7 + 12 >> 2] = 0; + $5 = $5 + 1 | 0; + $7 = HEAP32[$4 + 8 >> 2]; + continue; } - case 119: - { - HEAP32[i24 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i24 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40 + 24 | 0, i36, i2, i39, i32); - i43 = 26; - break; + } + return $6; +} + +function arLabelingSubDWZ($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $6 = ($1 | 0) > 0 ? $1 : 0; + $8 = HEAP32[$4 >> 2]; + $12 = $2 - 1 | 0; + $7 = $8 + (Math_imul($12, $1) << 1) | 0; + $9 = $8; + while (1) { + if (($5 | 0) != ($6 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$9 >> 1] = 0; + $5 = $5 + 1 | 0; + $9 = $9 + 2 | 0; + $7 = $7 + 2 | 0; + continue; } - case 120: - { - i41 = HEAP32[(HEAP32[i35 >> 2] | 0) + 20 >> 2] | 0; - HEAP32[i25 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i26 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i25 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i26 >> 2]; - i1 = FUNCTION_TABLE_iiiiiii[i41 & 63](i35, i1, i2, i38, i39, i40) | 0; - break; + break; + } + $13 = ($2 | 0) > 0 ? $2 : 0; + $10 = $1 - 1 | 0; + $7 = ($10 << 1) + $8 | 0; + $5 = 0; + $9 = $8; + while (1) { + if (($5 | 0) != ($13 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$9 >> 1] = 0; + $5 = $5 + 1 | 0; + $6 = $1 << 1; + $7 = $7 + $6 | 0; + $9 = $6 + $9 | 0; + continue; } - case 88: - { - i34 = i35 + 8 | 0; - i34 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i34 >> 2] | 0) + 24 >> 2] & 127](i34) | 0; - HEAP32[i27 >> 2] = HEAP32[i36 >> 2]; - HEAP32[i28 >> 2] = HEAP32[i37 >> 2]; - i43 = HEAP8[i34 + 11 >> 0] | 0; - i37 = i43 << 24 >> 24 < 0; - i41 = i37 ? HEAP32[i34 >> 2] | 0 : i34; - i43 = i41 + (i37 ? HEAP32[i34 + 4 >> 2] | 0 : i43 & 255) | 0; - HEAP32[i1 >> 2] = HEAP32[i27 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i28 >> 2]; - i43 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(i35, i1, i2, i38, i39, i40, i41, i43) | 0; - HEAP32[i36 >> 2] = i43; - i43 = 26; + break; + } + $19 = ($12 | 0) > 1 ? $12 : 1; + $15 = $4 + 1310736 | 0; + $14 = $4 + 1179664 | 0; + $5 = $1 + 1 | 0; + $13 = $5 + $3 | 0; + $12 = $0 + $5 | 0; + $16 = ($10 | 0) > 1 ? $10 : 1; + $17 = $16 - 1 | 0; + $9 = ($5 << 1) + $8 | 0; + $20 = 0 - $1 << 1; + $0 = 1; + label$5: { + label$6: while (1) { + if (($0 | 0) != ($19 | 0)) { + $21 = $12 + $17 | 0; + $22 = $13 + $17 | 0; + $7 = 1; + while (1) { + label$9: { + label$10: { + label$11: { + if (($7 | 0) != ($16 | 0)) { + if (HEAPU8[$12 | 0] > HEAPU8[$13 | 0]) { + $5 = $9 + $20 | 0; + $6 = HEAPU16[$5 >> 1]; + $8 = $6 << 16 >> 16; + if (($8 | 0) > 0) { + HEAP16[$9 >> 1] = $8; + $5 = Math_imul($6, 28) + $15 | 0; + HEAP32[$5 - 4 >> 2] = $0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + break label$9; + } + $10 = HEAPU16[$5 - 2 >> 1]; + $6 = $10 << 16 >> 16; + $5 = HEAP16[$5 + 2 >> 1]; + if (($5 | 0) > 0) { + if (($6 | 0) > 0) { + $8 = HEAP32[(($5 << 2) + $14 | 0) - 4 >> 2]; + $10 = HEAP32[(($10 << 2) + $14 | 0) - 4 >> 2]; + if (($8 | 0) > ($10 | 0)) { + HEAP16[$9 >> 1] = $10; + $6 = 0; + $3 = ($11 | 0) > 0 ? $11 : 0; + $5 = $14; + while (1) { + if (($3 | 0) == ($6 | 0)) { + $8 = $10; + break label$10; + } + if (HEAP32[$5 >> 2] == ($8 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $8; + if (($8 | 0) >= ($10 | 0)) { + break label$10; + } + $6 = 0; + $3 = ($11 | 0) > 0 ? $11 : 0; + $5 = $14; + while (1) { + if (($3 | 0) == ($6 | 0)) { + break label$10; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $8; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + $6 = HEAP16[$9 - 2 >> 1]; + if (($6 | 0) > 0) { + $8 = HEAP32[(($5 << 2) + $14 | 0) - 4 >> 2]; + $10 = HEAP32[((($6 & 65535) << 2) + $14 | 0) - 4 >> 2]; + if (($8 | 0) > ($10 | 0)) { + HEAP16[$9 >> 1] = $10; + $6 = 0; + $3 = ($11 | 0) > 0 ? $11 : 0; + $5 = $14; + while (1) { + if (($3 | 0) == ($6 | 0)) { + $8 = $10; + break label$11; + } + if (HEAP32[$5 >> 2] == ($8 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $8; + if (($8 | 0) >= ($10 | 0)) { + break label$11; + } + $6 = 0; + $3 = ($11 | 0) > 0 ? $11 : 0; + $5 = $14; + while (1) { + if (($3 | 0) == ($6 | 0)) { + break label$11; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $8; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$9 >> 1] = $5; + $5 = Math_imul($5, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $0; + $6 = $5 - 16 | 0; + if (HEAP32[$6 >> 2] > ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $0; + break label$9; + } + if (($6 | 0) > 0) { + HEAP16[$9 >> 1] = $6; + $5 = Math_imul($10, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $0; + $6 = $5 - 12 | 0; + if (HEAP32[$6 >> 2] < ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $0; + break label$9; + } + $5 = HEAPU16[$9 - 2 >> 1]; + $6 = $5 << 16 >> 16; + if (($6 | 0) > 0) { + HEAP16[$9 >> 1] = $6; + $5 = Math_imul($5, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $0; + $5 = $5 - 12 | 0; + if (HEAP32[$5 >> 2] >= ($7 | 0)) { + break label$9; + } + HEAP32[$5 >> 2] = $7; + break label$9; + } + if (($11 | 0) >= 32768) { + arLog(0, 3, 1508, 0); + $6 = -1; + break label$5; + } + $6 = $11 + 1 | 0; + HEAP16[$9 >> 1] = $6; + HEAP32[($11 << 2) + $14 >> 2] = $6 << 16 >> 16; + $5 = Math_imul($11, 28) + $15 | 0; + HEAP32[$5 + 24 >> 2] = $0; + HEAP32[$5 + 20 >> 2] = $0; + HEAP32[$5 + 16 >> 2] = $7; + HEAP32[$5 + 12 >> 2] = $7; + HEAP32[$5 + 8 >> 2] = $0; + HEAP32[$5 + 4 >> 2] = $7; + HEAP32[$5 >> 2] = 1; + $11 = $6; + break label$9; + } + HEAP16[$9 >> 1] = 0; + break label$9; + } + $9 = $9 + 4 | 0; + $13 = $22 + 2 | 0; + $12 = $21 + 2 | 0; + $0 = $0 + 1 | 0; + continue label$6; + } + $5 = Math_imul($8 << 16 >> 16, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + break label$9; + } + $5 = Math_imul($8 << 16 >> 16, 28) + $15 | 0; + HEAP32[$5 - 4 >> 2] = $0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + } + $9 = $9 + 2 | 0; + $13 = $13 + 1 | 0; + $12 = $12 + 1 | 0; + $7 = $7 + 1 | 0; + continue; + } + } break; } - case 121: - { - HEAP32[i29 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i29 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40 + 20 | 0, i36, i2, i39, i32); - i43 = 26; + $9 = $4 + 131084 | 0; + $12 = (($11 | 0) > 0 ? $11 : 0) + 1 | 0; + $5 = 1; + $13 = 1; + $7 = $14; + while (1) { + if (($5 | 0) != ($12 | 0)) { + $6 = HEAP32[$7 >> 2]; + label$37: { + if (($6 | 0) == ($5 | 0)) { + $6 = $13; + $13 = $6 + 1 | 0; + break label$37; + } + $6 = HEAP32[(($6 << 2) + $14 | 0) - 4 >> 2]; + } + HEAP32[$7 >> 2] = $6; + $7 = $7 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } break; } - case 89: - { - HEAP32[i30 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i30 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIcEE(i35, i40 + 20 | 0, i36, i2, i39, i32); - i43 = 26; - break; + $7 = $13 - 1 | 0; + HEAP32[$4 + 8 >> 2] = $7; + if (!$7) { + return 0; } - case 37: - { - HEAP32[i31 >> 2] = HEAP32[i37 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i31 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIcEE(i35, i36, i2, i39, i32); - i43 = 26; - break; + $13 = $4 + 12 | 0; + wasm2js_memory_fill($13, 0, $7 << 2); + $12 = $4 + 655376 | 0; + wasm2js_memory_fill($12, 0, $7 << 4); + $5 = 0; + while (1) if (($5 | 0) >= ($7 | 0)) { + $7 = 0; + $3 = ($11 | 0) > 0 ? $11 : 0; + while (1) { + if (($3 | 0) == ($7 | 0)) { + $6 = 0; + $5 = HEAP32[$4 + 8 >> 2]; + $9 = ($5 | 0) > 0 ? $5 : 0; + $5 = 0; + while (1) { + if (($5 | 0) == ($9 | 0)) { + break label$5; + } + $7 = ($5 << 4) + $12 | 0; + $18 = +HEAP32[($5 << 2) + $13 >> 2]; + HEAPF64[$7 >> 3] = HEAPF64[$7 >> 3] / $18; + $0 = $7; + $7 = $7 + 8 | 0; + HEAPF64[$7 >> 3] = HEAPF64[$0 + 8 >> 3] / $18; + $5 = $5 + 1 | 0; + continue; + } + } + $6 = HEAP32[($7 << 2) + $14 >> 2] - 1 | 0; + $8 = $6 << 2; + $5 = $13 + $8 | 0; + $0 = $5; + $1 = HEAP32[$5 >> 2]; + $5 = Math_imul($7, 28) + $15 | 0; + HEAP32[$0 >> 2] = $1 + HEAP32[$5 >> 2]; + $10 = $6 << 4; + $6 = $12 + $10 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] + +HEAP32[$5 + 4 >> 2]; + $0 = $6; + $6 = $6 + 8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$0 + 8 >> 3] + +HEAP32[$5 + 8 >> 2]; + $6 = $9 + $10 | 0; + $10 = HEAP32[$5 + 12 >> 2]; + if (($10 | 0) < HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $10; + } + $10 = HEAP32[$5 + 16 >> 2]; + $6 = $8 << 2; + $8 = ($6 | 4) + $9 | 0; + if (($10 | 0) > HEAP32[$8 >> 2]) { + HEAP32[$8 >> 2] = $10; + } + $10 = HEAP32[$5 + 20 >> 2]; + $8 = ($6 | 8) + $9 | 0; + if (($10 | 0) < HEAP32[$8 >> 2]) { + HEAP32[$8 >> 2] = $10; + } + $5 = HEAP32[$5 + 24 >> 2]; + $6 = ($6 | 12) + $9 | 0; + if (($5 | 0) > HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $5; + } + $7 = $7 + 1 | 0; + continue; + } + } else { + $7 = ($5 << 4) + $9 | 0; + HEAP32[$7 >> 2] = $1; + HEAP32[$7 + 4 >> 2] = 0; + HEAP32[$7 + 8 >> 2] = $2; + HEAP32[$7 + 12 >> 2] = 0; + $5 = $5 + 1 | 0; + $7 = HEAP32[$4 + 8 >> 2]; + continue; } - default: - { - HEAP32[i39 >> 2] = HEAP32[i39 >> 2] | 4; - i43 = 26; - } - } while (0); - if ((i43 | 0) == 26) i1 = HEAP32[i36 >> 2] | 0; - STACKTOP = i42; - return i1 | 0; -} - -function _arLabelingSubDWZ(i5, i17, i18, i6, i19) { - i5 = i5 | 0; - i17 = i17 | 0; - i18 = i18 | 0; - i6 = i6 | 0; - i19 = i19 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i20 = 0, d21 = 0.0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i16 = i20; - i7 = HEAP32[i19 >> 2] | 0; - i15 = i18 + -1 | 0; - i1 = i7; - i2 = 0; - i3 = i7 + ((Math_imul(i15, i17) | 0) << 1) | 0; - while (1) { - if ((i2 | 0) >= (i17 | 0)) break; - HEAP16[i3 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + 2 | 0; - i2 = i2 + 1 | 0; - i3 = i3 + 2 | 0; - } - i14 = i17 + -1 | 0; - i1 = i7; - i2 = 0; - i3 = i7 + (i14 << 1) | 0; - while (1) { - if ((i2 | 0) >= (i18 | 0)) break; - HEAP16[i3 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + (i17 << 1) | 0; - i2 = i2 + 1 | 0; - i3 = i3 + (i17 << 1) | 0; - } - i4 = i19 + 1179664 | 0; - i3 = i17 + 1 | 0; - i13 = 0 - i17 | 0; - i5 = i5 + i3 | 0; - i2 = i6 + i3 | 0; - i12 = 1; - i8 = 0; - i3 = i7 + (i3 << 1) | 0; - L9 : while (1) { - if ((i12 | 0) >= (i15 | 0)) { - i2 = 59; - break; + } + return $6; +} + +function __intscan($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $16 = __stack_pointer - 16 | 0; + __stack_pointer = $16; + label$1: { + if (!(($1 | 0) != 1 & $1 >>> 0 <= 36)) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 28, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $3 = 0; + $4 = 0; + break label$1; } - i10 = i2; - i1 = i8; - i9 = 1; - i11 = i3; while (1) { - if ((i9 | 0) >= (i14 | 0)) break; - do if ((HEAPU8[i5 >> 0] | 0) > (HEAPU8[i10 >> 0] | 0)) { - i3 = i11 + (i13 << 1) | 0; - i2 = HEAP16[i3 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i11 >> 1] = i2; - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i19 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i19 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i19 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i12; - HEAP32[i19 + 1310736 + (i8 + -1 << 2) >> 2] = i12; - break; + $5 = HEAP32[$0 + 4 >> 2]; + label$4: { + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$4; } - i7 = HEAP16[i3 + 2 >> 1] | 0; - i8 = i7 << 16 >> 16; - i2 = HEAP16[i3 + -2 >> 1] | 0; - i6 = i2 << 16 >> 16; - i3 = i2 << 16 >> 16 > 0; - if (i7 << 16 >> 16 <= 0) { - if (i3) { - HEAP16[i11 >> 1] = i2; - i2 = i6 * 7 | 0; - i3 = i19 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i19 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i19 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i12; - i3 = i19 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) < (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i19 + 1310736 + (i2 + -1 << 2) >> 2] = i12; - break; + $5 = __shgetc($0); + } + if (isspace($5)) { + continue; + } + break; + } + label$6: { + label$7: { + switch ($5 - 43 | 0) { + case 0: + case 2: + break label$7; + + default: + break label$6; + } + } + $17 = ($5 | 0) == 45 ? -1 : 0; + $5 = HEAP32[$0 + 4 >> 2]; + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$6; + } + $5 = __shgetc($0); + } + label$9: { + label$10: { + label$11: { + label$12: { + if (!(($1 | 0) != 0 & ($1 | 0) != 16 | ($5 | 0) != 48)) { + $5 = HEAP32[$0 + 4 >> 2]; + label$14: { + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$14; + } + $5 = __shgetc($0); + } + if (($5 & -33) == 88) { + $1 = 16; + $5 = HEAP32[$0 + 4 >> 2]; + label$17: { + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$17; + } + $5 = __shgetc($0); + } + if (HEAPU8[$5 + 52289 | 0] < 16) { + break label$11; + } + $3 = 0; + $4 = 0; + $8 = HEAP32[$0 + 112 >> 2]; + $5 = HEAP32[$0 + 116 >> 2]; + label$19: { + if (($5 | 0) > 0 | ($5 | 0) >= 0) { + $5 = HEAP32[$0 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $5 - 1; + if (!$2) { + break label$19; + } + HEAP32[$0 + 4 >> 2] = $5 - 2; + break label$1; + } + if ($2) { + break label$1; + } + } + __shlim($0, 0, 0); + break label$1; + } + if ($1) { + break label$12; + } + $1 = 8; + break label$11; + } + $1 = $1 ? $1 : 10; + if ($1 >>> 0 > HEAPU8[$5 + 52289 | 0]) { + break label$12; + } + $3 = 0; + $4 = 0; + $9 = HEAP32[$0 + 112 >> 2]; + $5 = HEAP32[$0 + 116 >> 2]; + if (($5 | 0) > 0 | ($5 | 0) >= 0) { + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] - 1; + } + __shlim($0, 0, 0); + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 28, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$1; } - i2 = HEAP16[i11 + -2 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i11 >> 1] = i2; - i2 = (i2 << 16 >> 16) * 7 | 0; - i8 = i19 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - i8 = i19 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i9; - i8 = i19 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i12; - i2 = i19 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) >= (i9 | 0)) break; - HEAP32[i2 >> 2] = i9; - break; - } else { - i2 = i1 + 1 | 0; - if ((i1 | 0) > 32767) { - i2 = 54; - break L9; - } - HEAP16[i11 >> 1] = i2; - HEAP32[i19 + 1179664 + (i1 << 2) >> 2] = i2 << 16 >> 16; - i1 = i1 * 7 | 0; - HEAP32[i19 + 1310736 + (i1 << 2) >> 2] = 1; - HEAP32[i19 + 1310736 + (i1 + 1 << 2) >> 2] = i9; - HEAP32[i19 + 1310736 + (i1 + 2 << 2) >> 2] = i12; - HEAP32[i19 + 1310736 + (i1 + 3 << 2) >> 2] = i9; - HEAP32[i19 + 1310736 + (i1 + 4 << 2) >> 2] = i9; - HEAP32[i19 + 1310736 + (i1 + 5 << 2) >> 2] = i12; - HEAP32[i19 + 1310736 + (i1 + 6 << 2) >> 2] = i12; - i1 = i2; - break; + if (($1 | 0) != 10) { + break label$11; } - } - if (i3) { - i2 = HEAP32[i19 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i19 + 1179664 + (i6 + -1 << 2) >> 2] | 0; - L36 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i11 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L36; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; + $2 = $5 - 48 | 0; + if ($2 >>> 0 <= 9) { + $1 = 0; + while (1) { + $1 = Math_imul($1, 10); + $1 = $2 + $1 | 0; + $6 = $1 >>> 0 < 429496729; + $5 = HEAP32[$0 + 4 >> 2]; + label$24: { + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$24; + } + $5 = __shgetc($0); + } + $2 = $5 - 48 | 0; + if ($6 & $2 >>> 0 <= 9) { + continue; } + break; } - } else { - HEAP16[i11 >> 1] = i7; - i3 = i4; - i6 = 0; + $11 = $1; + } + label$26: { + if ($2 >>> 0 > 9) { + break label$26; + } + $5 = __wasm_i64_mul($11, 0, 10, 0); + $13 = $5; + $6 = i64toi32_i32$HIGH_BITS; + $1 = $6; + $14 = $2; while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L36; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i7; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i19 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i19 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i19 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i12; - HEAP32[i19 + 1310736 + (i8 + -1 << 2) >> 2] = i12; - break; - } - i3 = HEAP16[i11 + -2 >> 1] | 0; - if (i3 << 16 >> 16 <= 0) { - HEAP16[i11 >> 1] = i7; - i2 = i8 * 7 | 0; - i3 = i19 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i19 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i19 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i12; - i3 = i19 + 1310736 + (i2 + -4 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) > (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i19 + 1310736 + (i2 + -1 << 2) >> 2] = i12; - break; + $5 = HEAP32[$0 + 4 >> 2]; + label$28: { + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$28; + } + $5 = __shgetc($0); + } + $2 = $5 - 48 | 0; + $8 = $13; + $9 = $14; + $10 = $8 + $9 | 0; + $6 = $1; + $7 = $6; + $7 = $9 >>> 0 > $10 >>> 0 ? $7 + 1 | 0 : $7; + $11 = $10; + $12 = $7; + $6 = $10; + if (($7 | 0) == 429496729 & $6 >>> 0 >= 2576980378 | $7 >>> 0 > 429496729 | $2 >>> 0 > 9) { + break label$26; + } + $6 = $12; + $7 = __wasm_i64_mul($11, $6, 10, 0); + $13 = $7; + $14 = $2; + $6 = i64toi32_i32$HIGH_BITS; + $1 = $6; + $7 = $6; + $8 = $2 ^ -1; + $6 = $13; + if (($7 | 0) == -1 & $8 >>> 0 >= $6 >>> 0 | ($7 | 0) != -1) { + continue; + } + break; + } + $1 = 10; + break label$10; + } + $1 = 10; + if ($2 >>> 0 <= 9) { + break label$10; + } + break label$9; } - i2 = HEAP32[i19 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i19 + 1179664 + ((i3 << 16 >> 16) + -1 << 2) >> 2] | 0; - L60 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i11 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i3 = i4; - i6 = 0; + if ($1 - 1 & $1) { + $8 = HEAPU8[$5 + 52289 | 0]; + if ($8 >>> 0 < $1 >>> 0) { + $2 = 0; while (1) { - if ((i6 | 0) >= (i1 | 0)) break L60; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; + $2 = Math_imul($1, $2); + $2 = $8 + $2 | 0; + $5 = HEAP32[$0 + 4 >> 2]; + label$33: { + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$33; + } + $5 = __shgetc($0); + } + $8 = HEAPU8[$5 + 52289 | 0]; + if ($8 >>> 0 < $1 >>> 0 & $2 >>> 0 < 119304647) { + continue; + } + break; } + $11 = $2; } - } else { - HEAP16[i11 >> 1] = i7; - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L60; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i7; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i19 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i19 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i8 = i19 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i12; - } else HEAP16[i11 >> 1] = 0; while (0); - i5 = i5 + 1 | 0; - i10 = i10 + 1 | 0; - i9 = i9 + 1 | 0; - i11 = i11 + 2 | 0; - } - i5 = i5 + 2 | 0; - i2 = i10 + 2 | 0; - i12 = i12 + 1 | 0; - i8 = i1; - i3 = i11 + 4 | 0; - } - L80 : do if ((i2 | 0) == 54) { - _arLog(0, 3, 17520, i16); - i1 = -1; - } else if ((i2 | 0) == 59) { - i6 = i19 + 12 | 0; - i1 = 1; - i5 = 1; - while (1) { - if ((i5 | 0) > (i8 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (i5 | 0)) i3 = i1 + 1 | 0; else { - i3 = i1; - i1 = HEAP32[i19 + 1179664 + (i2 + -1 << 2) >> 2] | 0; - } - HEAP32[i4 >> 2] = i1; - i1 = i3; - i5 = i5 + 1 | 0; - i4 = i4 + 4 | 0; - } - i7 = i19 + 8 | 0; - i2 = i1 + -1 | 0; - HEAP32[i7 >> 2] = i2; - if (!i2) i1 = 0; else { - _memset(i6 | 0, 0, i2 << 2 | 0) | 0; - _memset(i19 + 655376 | 0, 0, i2 << 4 | 0) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i16 = i1 << 2; - HEAP32[i19 + 131084 + (i16 << 2) >> 2] = i17; - HEAP32[i19 + 131084 + ((i16 | 1) << 2) >> 2] = 0; - HEAP32[i19 + 131084 + ((i16 | 2) << 2) >> 2] = i18; - HEAP32[i19 + 131084 + ((i16 | 3) << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i8 | 0)) break; - i3 = (HEAP32[i19 + 1179664 + (i5 << 2) >> 2] | 0) + -1 | 0; - i4 = i5 * 7 | 0; - i1 = i19 + 12 + (i3 << 2) | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + (HEAP32[i19 + 1310736 + (i4 << 2) >> 2] | 0); - i1 = i3 << 1; - i2 = i19 + 655376 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] + +(HEAP32[i19 + 1310736 + (i4 + 1 << 2) >> 2] | 0); - i1 = i19 + 655376 + ((i1 | 1) << 3) | 0; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] + +(HEAP32[i19 + 1310736 + (i4 + 2 << 2) >> 2] | 0); - i3 = i3 << 2; - i1 = i19 + 131084 + (i3 << 2) | 0; - i2 = HEAP32[i19 + 1310736 + (i4 + 3 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i19 + 131084 + ((i3 | 1) << 2) | 0; - i2 = HEAP32[i19 + 1310736 + (i4 + 4 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) < (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i19 + 131084 + ((i3 | 2) << 2) | 0; - i2 = HEAP32[i19 + 1310736 + (i4 + 5 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i2 = i19 + 131084 + ((i3 | 3) << 2) | 0; - i1 = HEAP32[i19 + 1310736 + (i4 + 6 << 2) >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) < (i1 | 0)) HEAP32[i2 >> 2] = i1; - i5 = i5 + 1 | 0; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) { - i1 = 0; - break L80; - } - d21 = +(HEAP32[i19 + 12 + (i1 << 2) >> 2] | 0); - i18 = i1 << 1; - i17 = i19 + 655376 + (i18 << 3) | 0; - HEAPF64[i17 >> 3] = +HEAPF64[i17 >> 3] / d21; - i18 = i19 + 655376 + ((i18 | 1) << 3) | 0; - HEAPF64[i18 >> 3] = +HEAPF64[i18 >> 3] / d21; - i1 = i1 + 1 | 0; - } - } - } while (0); - STACKTOP = i20; - return i1 | 0; -} - -function _arLabelingSubDBZ(i5, i17, i18, i6, i19) { - i5 = i5 | 0; - i17 = i17 | 0; - i18 = i18 | 0; - i6 = i6 | 0; - i19 = i19 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i20 = 0, d21 = 0.0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i16 = i20; - i7 = HEAP32[i19 >> 2] | 0; - i15 = i18 + -1 | 0; - i1 = i7; - i2 = 0; - i3 = i7 + ((Math_imul(i15, i17) | 0) << 1) | 0; - while (1) { - if ((i2 | 0) >= (i17 | 0)) break; - HEAP16[i3 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + 2 | 0; - i2 = i2 + 1 | 0; - i3 = i3 + 2 | 0; - } - i14 = i17 + -1 | 0; - i1 = i7; - i2 = 0; - i3 = i7 + (i14 << 1) | 0; - while (1) { - if ((i2 | 0) >= (i18 | 0)) break; - HEAP16[i3 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + (i17 << 1) | 0; - i2 = i2 + 1 | 0; - i3 = i3 + (i17 << 1) | 0; - } - i4 = i19 + 1179664 | 0; - i3 = i17 + 1 | 0; - i13 = 0 - i17 | 0; - i5 = i5 + i3 | 0; - i2 = i6 + i3 | 0; - i12 = 1; - i8 = 0; - i3 = i7 + (i3 << 1) | 0; - L9 : while (1) { - if ((i12 | 0) >= (i15 | 0)) { - i2 = 59; - break; - } - i10 = i2; - i1 = i8; - i9 = 1; - i11 = i3; - while (1) { - if ((i9 | 0) >= (i14 | 0)) break; - do if ((HEAPU8[i5 >> 0] | 0) > (HEAPU8[i10 >> 0] | 0)) HEAP16[i11 >> 1] = 0; else { - i3 = i11 + (i13 << 1) | 0; - i2 = HEAP16[i3 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i11 >> 1] = i2; - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i19 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i19 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i19 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i12; - HEAP32[i19 + 1310736 + (i8 + -1 << 2) >> 2] = i12; - break; - } - i7 = HEAP16[i3 + 2 >> 1] | 0; - i8 = i7 << 16 >> 16; - i2 = HEAP16[i3 + -2 >> 1] | 0; - i6 = i2 << 16 >> 16; - i3 = i2 << 16 >> 16 > 0; - if (i7 << 16 >> 16 <= 0) { - if (i3) { - HEAP16[i11 >> 1] = i2; - i2 = i6 * 7 | 0; - i3 = i19 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i19 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i19 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i12; - i3 = i19 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) < (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i19 + 1310736 + (i2 + -1 << 2) >> 2] = i12; - break; + if ($1 >>> 0 <= $8 >>> 0) { + break label$10; } - i2 = HEAP16[i11 + -2 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i11 >> 1] = i2; - i2 = (i2 << 16 >> 16) * 7 | 0; - i8 = i19 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - i8 = i19 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i9; - i8 = i19 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i12; - i2 = i19 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) >= (i9 | 0)) break; - HEAP32[i2 >> 2] = i9; - break; - } else { - i2 = i1 + 1 | 0; - if ((i1 | 0) > 32767) { - i2 = 54; - break L9; - } - HEAP16[i11 >> 1] = i2; - HEAP32[i19 + 1179664 + (i1 << 2) >> 2] = i2 << 16 >> 16; - i1 = i1 * 7 | 0; - HEAP32[i19 + 1310736 + (i1 << 2) >> 2] = 1; - HEAP32[i19 + 1310736 + (i1 + 1 << 2) >> 2] = i9; - HEAP32[i19 + 1310736 + (i1 + 2 << 2) >> 2] = i12; - HEAP32[i19 + 1310736 + (i1 + 3 << 2) >> 2] = i9; - HEAP32[i19 + 1310736 + (i1 + 4 << 2) >> 2] = i9; - HEAP32[i19 + 1310736 + (i1 + 5 << 2) >> 2] = i12; - HEAP32[i19 + 1310736 + (i1 + 6 << 2) >> 2] = i12; - i1 = i2; + $13 = $1; + while (1) { + $6 = $12; + $7 = __wasm_i64_mul($11, $6, $13, 0); + $14 = $7; + $6 = i64toi32_i32$HIGH_BITS; + $2 = $6; + $15 = $8 & 255; + $6 = $15; + $9 = $6 ^ -1; + $8 = $2; + if (($8 | 0) == -1 & $9 >>> 0 < $7 >>> 0) { + break label$10; + } + $7 = $2; + $9 = $14; + $6 = $15; + $5 = $9 + $6 | 0; + $10 = $5 >>> 0 < $6 >>> 0 ? $7 + 1 | 0 : $7; + $11 = $5; + $12 = $10; + $5 = HEAP32[$0 + 4 >> 2]; + label$36: { + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$36; + } + $5 = __shgetc($0); + } + $8 = HEAPU8[$5 + 52289 | 0]; + if ($1 >>> 0 <= $8 >>> 0) { + break label$10; + } + $7 = $12; + __multi3($16, $13, 0, 0, 0, $11, $7, 0, 0); + $9 = $16; + $6 = HEAP32[$9 + 8 >> 2]; + $7 = HEAP32[$9 + 12 >> 2]; + if (!($6 | $7)) { + continue; + } break; } + break label$10; } - if (i3) { - i2 = HEAP32[i19 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i19 + 1179664 + (i6 + -1 << 2) >> 2] | 0; - L37 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i11 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L37; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; + $14 = HEAP8[(Math_imul($1, 23) >>> 5 & 7) + 52545 | 0]; + $2 = HEAPU8[$5 + 52289 | 0]; + if ($2 >>> 0 < $1 >>> 0) { + while (1) { + $8 = $8 << $14; + $8 = $8 | $2; + $5 = HEAP32[$0 + 4 >> 2]; + label$40: { + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$40; } + $5 = __shgetc($0); } - } else { - HEAP16[i11 >> 1] = i7; - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L37; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i7; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i19 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i19 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i19 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i12; - HEAP32[i19 + 1310736 + (i8 + -1 << 2) >> 2] = i12; - break; + $2 = HEAPU8[$5 + 52289 | 0]; + if ($2 >>> 0 < $1 >>> 0 & $8 >>> 0 < 134217728) { + continue; + } + break; + } + $11 = $8; } - i3 = HEAP16[i11 + -2 >> 1] | 0; - if (i3 << 16 >> 16 <= 0) { - HEAP16[i11 >> 1] = i7; - i2 = i8 * 7 | 0; - i3 = i19 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i19 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i9; - i3 = i19 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i12; - i3 = i19 + 1310736 + (i2 + -4 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) > (i9 | 0)) HEAP32[i3 >> 2] = i9; - HEAP32[i19 + 1310736 + (i2 + -1 << 2) >> 2] = i12; - break; + if ($1 >>> 0 <= $2 >>> 0) { + break label$10; } - i2 = HEAP32[i19 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i19 + 1179664 + ((i3 << 16 >> 16) + -1 << 2) >> 2] | 0; - L61 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i11 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L61; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) HEAP32[i3 >> 2] = i2; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; + $10 = $14; + $8 = $10 & 31; + if (($10 & 63) >>> 0 >= 32) { + $15 = -1 >>> $8 | 0; + } else { + $6 = -1 >>> $8 | 0; + $15 = (1 << $8) - 1 << 32 - $8 | -1 >>> $8; + } + $18 = $6; + $10 = $11; + $7 = $15; + if (!$6 & $10 >>> 0 > $7 >>> 0) { + break label$10; + } + while (1) { + $7 = $12; + $10 = $11; + $9 = $14; + $8 = $9 & 31; + if (($9 & 63) >>> 0 >= 32) { + $6 = $10 << $8; + $11 = 0; + } else { + $6 = (1 << $8) - 1 & $10 >>> 32 - $8 | $7 << $8; + $11 = $10 << $8; + } + $12 = $6; + $7 = $2; + $13 = $7 & 255; + $9 = $13; + $6 = $11; + $11 = $9 | $6; + $10 = $12; + $5 = HEAP32[$0 + 4 >> 2]; + label$43: { + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$43; } + $5 = __shgetc($0); } - } else { - HEAP16[i11 >> 1] = i7; - i3 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L61; - } - if ((HEAP32[i3 >> 2] | 0) == (i2 | 0)) HEAP32[i3 >> 2] = i7; - i3 = i3 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i19 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i19 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i8 = i19 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i12; - } while (0); - i5 = i5 + 1 | 0; - i10 = i10 + 1 | 0; - i9 = i9 + 1 | 0; - i11 = i11 + 2 | 0; - } - i5 = i5 + 2 | 0; - i2 = i10 + 2 | 0; - i12 = i12 + 1 | 0; - i8 = i1; - i3 = i11 + 4 | 0; - } - L80 : do if ((i2 | 0) == 54) { - _arLog(0, 3, 17520, i16); - i1 = -1; - } else if ((i2 | 0) == 59) { - i6 = i19 + 12 | 0; - i1 = 1; - i5 = 1; - while (1) { - if ((i5 | 0) > (i8 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (i5 | 0)) i3 = i1 + 1 | 0; else { - i3 = i1; - i1 = HEAP32[i19 + 1179664 + (i2 + -1 << 2) >> 2] | 0; - } - HEAP32[i4 >> 2] = i1; - i1 = i3; - i5 = i5 + 1 | 0; - i4 = i4 + 4 | 0; - } - i7 = i19 + 8 | 0; - i2 = i1 + -1 | 0; - HEAP32[i7 >> 2] = i2; - if (!i2) i1 = 0; else { - _memset(i6 | 0, 0, i2 << 2 | 0) | 0; - _memset(i19 + 655376 | 0, 0, i2 << 4 | 0) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i16 = i1 << 2; - HEAP32[i19 + 131084 + (i16 << 2) >> 2] = i17; - HEAP32[i19 + 131084 + ((i16 | 1) << 2) >> 2] = 0; - HEAP32[i19 + 131084 + ((i16 | 2) << 2) >> 2] = i18; - HEAP32[i19 + 131084 + ((i16 | 3) << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i8 | 0)) break; - i3 = (HEAP32[i19 + 1179664 + (i5 << 2) >> 2] | 0) + -1 | 0; - i4 = i5 * 7 | 0; - i1 = i19 + 12 + (i3 << 2) | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + (HEAP32[i19 + 1310736 + (i4 << 2) >> 2] | 0); - i1 = i3 << 1; - i2 = i19 + 655376 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] + +(HEAP32[i19 + 1310736 + (i4 + 1 << 2) >> 2] | 0); - i1 = i19 + 655376 + ((i1 | 1) << 3) | 0; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] + +(HEAP32[i19 + 1310736 + (i4 + 2 << 2) >> 2] | 0); - i3 = i3 << 2; - i1 = i19 + 131084 + (i3 << 2) | 0; - i2 = HEAP32[i19 + 1310736 + (i4 + 3 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i19 + 131084 + ((i3 | 1) << 2) | 0; - i2 = HEAP32[i19 + 1310736 + (i4 + 4 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) < (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i19 + 131084 + ((i3 | 2) << 2) | 0; - i2 = HEAP32[i19 + 1310736 + (i4 + 5 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i2 = i19 + 131084 + ((i3 | 3) << 2) | 0; - i1 = HEAP32[i19 + 1310736 + (i4 + 6 << 2) >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) < (i1 | 0)) HEAP32[i2 >> 2] = i1; - i5 = i5 + 1 | 0; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) { - i1 = 0; - break L80; - } - d21 = +(HEAP32[i19 + 12 + (i1 << 2) >> 2] | 0); - i18 = i1 << 1; - i17 = i19 + 655376 + (i18 << 3) | 0; - HEAPF64[i17 >> 3] = +HEAPF64[i17 >> 3] / d21; - i18 = i19 + 655376 + ((i18 | 1) << 3) | 0; - HEAPF64[i18 >> 3] = +HEAPF64[i18 >> 3] / d21; - i1 = i1 + 1 | 0; - } - } - } while (0); - STACKTOP = i20; - return i1 | 0; -} - -function _arLabelingSubDWIC(i5, i15, i1, i16, i20) { - i5 = i5 | 0; - i15 = i15 | 0; - i1 = i1 | 0; - i16 = i16 | 0; - i20 = i20 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i17 = 0, i18 = 0, i19 = 0, i21 = 0, d22 = 0.0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i17 = i21; - i19 = (i15 | 0) / 2 | 0; - i18 = (i1 | 0) / 2 | 0; - i6 = HEAP32[i20 >> 2] | 0; - i14 = i18 + -1 | 0; - i1 = i6; - i2 = i6 + ((Math_imul(i14, i19) | 0) << 1) | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i19 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + 2 | 0; - i2 = i2 + 2 | 0; - i3 = i3 + 1 | 0; - } - i13 = i19 + -1 | 0; - i1 = i6; - i2 = i6 + (i13 << 1) | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i18 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + (i19 << 1) | 0; - i2 = i2 + (i19 << 1) | 0; - i3 = i3 + 1 | 0; - } - i4 = i20 + 1179664 | 0; - i12 = 0 - i19 | 0; - i2 = i5 + ((i15 << 1) + 2) | 0; - i11 = 1; - i8 = 0; - i3 = i6 + (i19 + 1 << 1) | 0; - L9 : while (1) { - if ((i11 | 0) >= (i14 | 0)) { - i2 = 59; - break; - } - i10 = i2; - i1 = i8; - i9 = 1; - while (1) { - if ((i9 | 0) >= (i13 | 0)) break; - do if ((HEAPU8[i10 >> 0] | 0 | 0) > (i16 | 0)) { - i5 = i3 + (i12 << 1) | 0; - i2 = HEAP16[i5 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i3 >> 1] = i2; - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i11; - HEAP32[i20 + 1310736 + (i8 + -1 << 2) >> 2] = i11; - break; - } - i7 = HEAP16[i5 + 2 >> 1] | 0; - i8 = i7 << 16 >> 16; - i2 = HEAP16[i5 + -2 >> 1] | 0; - i6 = i2 << 16 >> 16; - i5 = i2 << 16 >> 16 > 0; - if (i7 << 16 >> 16 <= 0) { - if (i5) { - HEAP16[i3 >> 1] = i2; - i2 = i6 * 7 | 0; - i5 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1; - i5 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i9; - i5 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i11; - i5 = i20 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i5 >> 2] | 0) < (i9 | 0)) HEAP32[i5 >> 2] = i9; - HEAP32[i20 + 1310736 + (i2 + -1 << 2) >> 2] = i11; - break; + $2 = HEAPU8[$5 + 52289 | 0]; + if ($1 >>> 0 <= $2 >>> 0) { + break label$10; } - i2 = HEAP16[i3 + -2 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i3 >> 1] = i2; - i2 = (i2 << 16 >> 16) * 7 | 0; - i8 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - i8 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i9; - i8 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i11; - i2 = i20 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) >= (i9 | 0)) break; - HEAP32[i2 >> 2] = i9; - break; - } else { - i2 = i1 + 1 | 0; - if ((i1 | 0) > 32767) { - i2 = 54; - break L9; - } - HEAP16[i3 >> 1] = i2; - HEAP32[i20 + 1179664 + (i1 << 2) >> 2] = i2 << 16 >> 16; - i1 = i1 * 7 | 0; - HEAP32[i20 + 1310736 + (i1 << 2) >> 2] = 1; - HEAP32[i20 + 1310736 + (i1 + 1 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 2 << 2) >> 2] = i11; - HEAP32[i20 + 1310736 + (i1 + 3 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 4 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 5 << 2) >> 2] = i11; - HEAP32[i20 + 1310736 + (i1 + 6 << 2) >> 2] = i11; - i1 = i2; - break; + $6 = $18; + $7 = $12; + $9 = $15; + $10 = $11; + if (($6 | 0) == ($7 | 0) & $9 >>> 0 >= $10 >>> 0 | $6 >>> 0 > $7 >>> 0) { + continue; } - } - if (i5) { - i2 = HEAP32[i20 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i20 + 1179664 + (i6 + -1 << 2) >> 2] | 0; - L36 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i3 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L36; - if ((HEAP32[i5 >> 2] | 0) == (i7 | 0)) HEAP32[i5 >> 2] = i2; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } - } else { - HEAP16[i3 >> 1] = i7; - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L36; - } - if ((HEAP32[i5 >> 2] | 0) == (i2 | 0)) HEAP32[i5 >> 2] = i7; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i11; - HEAP32[i20 + 1310736 + (i8 + -1 << 2) >> 2] = i11; - break; - } - i5 = HEAP16[i3 + -2 >> 1] | 0; - if (i5 << 16 >> 16 <= 0) { - HEAP16[i3 >> 1] = i7; - i2 = i8 * 7 | 0; - i5 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1; - i5 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i9; - i5 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i11; - i5 = i20 + 1310736 + (i2 + -4 << 2) | 0; - if ((HEAP32[i5 >> 2] | 0) > (i9 | 0)) HEAP32[i5 >> 2] = i9; - HEAP32[i20 + 1310736 + (i2 + -1 << 2) >> 2] = i11; break; } - i2 = HEAP32[i20 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i20 + 1179664 + ((i5 << 16 >> 16) + -1 << 2) >> 2] | 0; - L60 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i3 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L60; - if ((HEAP32[i5 >> 2] | 0) == (i7 | 0)) HEAP32[i5 >> 2] = i2; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } - } else { - HEAP16[i3 >> 1] = i7; - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L60; - } - if ((HEAP32[i5 >> 2] | 0) == (i2 | 0)) HEAP32[i5 >> 2] = i7; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i8 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i11; - } else HEAP16[i3 >> 1] = 0; while (0); - i10 = i10 + 2 | 0; - i9 = i9 + 1 | 0; - i3 = i3 + 2 | 0; - } - i2 = i10 + i15 + 4 | 0; - i11 = i11 + 1 | 0; - i8 = i1; - i3 = i3 + 4 | 0; - } - L80 : do if ((i2 | 0) == 54) { - _arLog(0, 3, 17520, i17); - i1 = -1; - } else if ((i2 | 0) == 59) { - i6 = i20 + 12 | 0; - i1 = 1; - i5 = 1; - while (1) { - if ((i5 | 0) > (i8 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (i5 | 0)) i3 = i1 + 1 | 0; else { - i3 = i1; - i1 = HEAP32[i20 + 1179664 + (i2 + -1 << 2) >> 2] | 0; - } - HEAP32[i4 >> 2] = i1; - i1 = i3; - i5 = i5 + 1 | 0; - i4 = i4 + 4 | 0; - } - i7 = i20 + 8 | 0; - i2 = i1 + -1 | 0; - HEAP32[i7 >> 2] = i2; - if (!i2) i1 = 0; else { - _memset(i6 | 0, 0, i2 << 2 | 0) | 0; - _memset(i20 + 655376 | 0, 0, i2 << 4 | 0) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i17 = i1 << 2; - HEAP32[i20 + 131084 + (i17 << 2) >> 2] = i19; - HEAP32[i20 + 131084 + ((i17 | 1) << 2) >> 2] = 0; - HEAP32[i20 + 131084 + ((i17 | 2) << 2) >> 2] = i18; - HEAP32[i20 + 131084 + ((i17 | 3) << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i8 | 0)) break; - i3 = (HEAP32[i20 + 1179664 + (i5 << 2) >> 2] | 0) + -1 | 0; - i4 = i5 * 7 | 0; - i1 = i20 + 12 + (i3 << 2) | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + (HEAP32[i20 + 1310736 + (i4 << 2) >> 2] | 0); - i1 = i3 << 1; - i2 = i20 + 655376 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] + +(HEAP32[i20 + 1310736 + (i4 + 1 << 2) >> 2] | 0); - i1 = i20 + 655376 + ((i1 | 1) << 3) | 0; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] + +(HEAP32[i20 + 1310736 + (i4 + 2 << 2) >> 2] | 0); - i3 = i3 << 2; - i1 = i20 + 131084 + (i3 << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 3 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i20 + 131084 + ((i3 | 1) << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 4 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) < (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i20 + 131084 + ((i3 | 2) << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 5 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i2 = i20 + 131084 + ((i3 | 3) << 2) | 0; - i1 = HEAP32[i20 + 1310736 + (i4 + 6 << 2) >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) < (i1 | 0)) HEAP32[i2 >> 2] = i1; - i5 = i5 + 1 | 0; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; + } + if (HEAPU8[$5 + 52289 | 0] >= $1 >>> 0) { + break label$9; + } while (1) { - if ((i1 | 0) >= (i2 | 0)) { - i1 = 0; - break L80; - } - d22 = +(HEAP32[i20 + 12 + (i1 << 2) >> 2] | 0); - i19 = i1 << 1; - i18 = i20 + 655376 + (i19 << 3) | 0; - HEAPF64[i18 >> 3] = +HEAPF64[i18 >> 3] / d22; - i19 = i20 + 655376 + ((i19 | 1) << 3) | 0; - HEAPF64[i19 >> 3] = +HEAPF64[i19 >> 3] / d22; - i1 = i1 + 1 | 0; - } - } - } while (0); - STACKTOP = i21; - return i1 | 0; -} - -function _arLabelingSubDBIC(i5, i15, i1, i16, i20) { - i5 = i5 | 0; - i15 = i15 | 0; - i1 = i1 | 0; - i16 = i16 | 0; - i20 = i20 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i17 = 0, i18 = 0, i19 = 0, i21 = 0, d22 = 0.0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i17 = i21; - i19 = (i15 | 0) / 2 | 0; - i18 = (i1 | 0) / 2 | 0; - i6 = HEAP32[i20 >> 2] | 0; - i14 = i18 + -1 | 0; - i1 = i6; - i2 = i6 + ((Math_imul(i14, i19) | 0) << 1) | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i19 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + 2 | 0; - i2 = i2 + 2 | 0; - i3 = i3 + 1 | 0; - } - i13 = i19 + -1 | 0; - i1 = i6; - i2 = i6 + (i13 << 1) | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i18 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + (i19 << 1) | 0; - i2 = i2 + (i19 << 1) | 0; - i3 = i3 + 1 | 0; - } - i4 = i20 + 1179664 | 0; - i12 = 0 - i19 | 0; - i2 = i5 + ((i15 << 1) + 2) | 0; - i11 = 1; - i8 = 0; - i3 = i6 + (i19 + 1 << 1) | 0; - L9 : while (1) { - if ((i11 | 0) >= (i14 | 0)) { - i2 = 59; - break; - } - i10 = i2; - i1 = i8; - i9 = 1; - while (1) { - if ((i9 | 0) >= (i13 | 0)) break; - do if ((HEAPU8[i10 >> 0] | 0 | 0) > (i16 | 0)) HEAP16[i3 >> 1] = 0; else { - i5 = i3 + (i12 << 1) | 0; - i2 = HEAP16[i5 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i3 >> 1] = i2; - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i11; - HEAP32[i20 + 1310736 + (i8 + -1 << 2) >> 2] = i11; - break; - } - i7 = HEAP16[i5 + 2 >> 1] | 0; - i8 = i7 << 16 >> 16; - i2 = HEAP16[i5 + -2 >> 1] | 0; - i6 = i2 << 16 >> 16; - i5 = i2 << 16 >> 16 > 0; - if (i7 << 16 >> 16 <= 0) { - if (i5) { - HEAP16[i3 >> 1] = i2; - i2 = i6 * 7 | 0; - i5 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1; - i5 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i9; - i5 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i11; - i5 = i20 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i5 >> 2] | 0) < (i9 | 0)) HEAP32[i5 >> 2] = i9; - HEAP32[i20 + 1310736 + (i2 + -1 << 2) >> 2] = i11; - break; - } - i2 = HEAP16[i3 + -2 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i3 >> 1] = i2; - i2 = (i2 << 16 >> 16) * 7 | 0; - i8 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - i8 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i9; - i8 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i11; - i2 = i20 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) >= (i9 | 0)) break; - HEAP32[i2 >> 2] = i9; - break; - } else { - i2 = i1 + 1 | 0; - if ((i1 | 0) > 32767) { - i2 = 54; - break L9; - } - HEAP16[i3 >> 1] = i2; - HEAP32[i20 + 1179664 + (i1 << 2) >> 2] = i2 << 16 >> 16; - i1 = i1 * 7 | 0; - HEAP32[i20 + 1310736 + (i1 << 2) >> 2] = 1; - HEAP32[i20 + 1310736 + (i1 + 1 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 2 << 2) >> 2] = i11; - HEAP32[i20 + 1310736 + (i1 + 3 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 4 << 2) >> 2] = i9; - HEAP32[i20 + 1310736 + (i1 + 5 << 2) >> 2] = i11; - HEAP32[i20 + 1310736 + (i1 + 6 << 2) >> 2] = i11; - i1 = i2; - break; - } - } - if (i5) { - i2 = HEAP32[i20 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i20 + 1179664 + (i6 + -1 << 2) >> 2] | 0; - L37 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i3 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L37; - if ((HEAP32[i5 >> 2] | 0) == (i7 | 0)) HEAP32[i5 >> 2] = i2; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } - } else { - HEAP16[i3 >> 1] = i7; - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L37; - } - if ((HEAP32[i5 >> 2] | 0) == (i2 | 0)) HEAP32[i5 >> 2] = i7; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i11; - HEAP32[i20 + 1310736 + (i8 + -1 << 2) >> 2] = i11; - break; - } - i5 = HEAP16[i3 + -2 >> 1] | 0; - if (i5 << 16 >> 16 <= 0) { - HEAP16[i3 >> 1] = i7; - i2 = i8 * 7 | 0; - i5 = i20 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1; - i5 = i20 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i9; - i5 = i20 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i11; - i5 = i20 + 1310736 + (i2 + -4 << 2) | 0; - if ((HEAP32[i5 >> 2] | 0) > (i9 | 0)) HEAP32[i5 >> 2] = i9; - HEAP32[i20 + 1310736 + (i2 + -1 << 2) >> 2] = i11; - break; - } - i2 = HEAP32[i20 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i20 + 1179664 + ((i5 << 16 >> 16) + -1 << 2) >> 2] | 0; - L61 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i3 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L61; - if ((HEAP32[i5 >> 2] | 0) == (i7 | 0)) HEAP32[i5 >> 2] = i2; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } + $5 = HEAP32[$0 + 4 >> 2]; + label$46: { + if (($5 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + $5 = HEAPU8[$5 | 0]; + break label$46; } - } else { - HEAP16[i3 >> 1] = i7; - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L61; - } - if ((HEAP32[i5 >> 2] | 0) == (i2 | 0)) HEAP32[i5 >> 2] = i7; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i20 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i20 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i8 = i20 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i11; - } while (0); - i10 = i10 + 2 | 0; - i9 = i9 + 1 | 0; - i3 = i3 + 2 | 0; - } - i2 = i10 + i15 + 4 | 0; - i11 = i11 + 1 | 0; - i8 = i1; - i3 = i3 + 4 | 0; - } - L80 : do if ((i2 | 0) == 54) { - _arLog(0, 3, 17520, i17); - i1 = -1; - } else if ((i2 | 0) == 59) { - i6 = i20 + 12 | 0; - i1 = 1; - i5 = 1; - while (1) { - if ((i5 | 0) > (i8 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (i5 | 0)) i3 = i1 + 1 | 0; else { - i3 = i1; - i1 = HEAP32[i20 + 1179664 + (i2 + -1 << 2) >> 2] | 0; - } - HEAP32[i4 >> 2] = i1; - i1 = i3; - i5 = i5 + 1 | 0; - i4 = i4 + 4 | 0; - } - i7 = i20 + 8 | 0; - i2 = i1 + -1 | 0; - HEAP32[i7 >> 2] = i2; - if (!i2) i1 = 0; else { - _memset(i6 | 0, 0, i2 << 2 | 0) | 0; - _memset(i20 + 655376 | 0, 0, i2 << 4 | 0) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i17 = i1 << 2; - HEAP32[i20 + 131084 + (i17 << 2) >> 2] = i19; - HEAP32[i20 + 131084 + ((i17 | 1) << 2) >> 2] = 0; - HEAP32[i20 + 131084 + ((i17 | 2) << 2) >> 2] = i18; - HEAP32[i20 + 131084 + ((i17 | 3) << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i8 | 0)) break; - i3 = (HEAP32[i20 + 1179664 + (i5 << 2) >> 2] | 0) + -1 | 0; - i4 = i5 * 7 | 0; - i1 = i20 + 12 + (i3 << 2) | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + (HEAP32[i20 + 1310736 + (i4 << 2) >> 2] | 0); - i1 = i3 << 1; - i2 = i20 + 655376 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] + +(HEAP32[i20 + 1310736 + (i4 + 1 << 2) >> 2] | 0); - i1 = i20 + 655376 + ((i1 | 1) << 3) | 0; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] + +(HEAP32[i20 + 1310736 + (i4 + 2 << 2) >> 2] | 0); - i3 = i3 << 2; - i1 = i20 + 131084 + (i3 << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 3 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i20 + 131084 + ((i3 | 1) << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 4 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) < (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i20 + 131084 + ((i3 | 2) << 2) | 0; - i2 = HEAP32[i20 + 1310736 + (i4 + 5 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i2 = i20 + 131084 + ((i3 | 3) << 2) | 0; - i1 = HEAP32[i20 + 1310736 + (i4 + 6 << 2) >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) < (i1 | 0)) HEAP32[i2 >> 2] = i1; - i5 = i5 + 1 | 0; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) { - i1 = 0; - break L80; - } - d22 = +(HEAP32[i20 + 12 + (i1 << 2) >> 2] | 0); - i19 = i1 << 1; - i18 = i20 + 655376 + (i19 << 3) | 0; - HEAPF64[i18 >> 3] = +HEAPF64[i18 >> 3] / d22; - i19 = i20 + 655376 + ((i19 | 1) << 3) | 0; - HEAPF64[i19 >> 3] = +HEAPF64[i19 >> 3] / d22; - i1 = i1 + 1 | 0; - } - } - } while (0); - STACKTOP = i21; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_118parse_special_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i5, i12) { - i1 = i1 | 0; - i5 = i5 | 0; - i12 = i12 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i13 = 0, i14 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i6 = i14 + 60 | 0; - i7 = i14 + 48 | 0; - i8 = i14 + 36 | 0; - i9 = i14 + 24 | 0; - i10 = i14 + 12 | 0; - i11 = i14; - L1 : do if ((i5 - i1 | 0) > 2) { - switch (HEAP8[i1 >> 0] | 0) { - case 84: - break; - case 71: - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 86: - { - i11 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_110parse_nameINS0_2DbEEEPKcS4_S4_RT_(i11, i5, i12) | 0; - if ((i2 | 0) == (i11 | 0)) { - i13 = 60; - break L1; - } - i3 = HEAP32[i12 + 4 >> 2] | 0; - if ((HEAP32[i12 >> 2] | 0) == (i3 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3 + -24 | 0, 0, 51499) | 0; - i1 = i2; - i13 = 60; - break L1; - } - case 82: - { - i11 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_110parse_nameINS0_2DbEEEPKcS4_S4_RT_(i11, i5, i12) | 0; - if ((i2 | 0) == (i11 | 0)) { - i13 = 60; - break L1; - } - i3 = HEAP32[i12 + 4 >> 2] | 0; - if ((HEAP32[i12 >> 2] | 0) == (i3 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3 + -24 | 0, 0, 51519) | 0; - i1 = i2; - i13 = 60; - break L1; + $5 = __shgetc($0); } - default: - { - i13 = 60; - break L1; + if (HEAPU8[$5 + 52289 | 0] < $1 >>> 0) { + continue; } + break; } - default: - { - i13 = 60; - break L1; - } - } - i2 = i1 + 1 | 0; - switch (HEAP8[i2 >> 0] | 0) { - case 86: - { - i11 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i11, i5, i12) | 0; - if ((i2 | 0) == (i11 | 0)) { - i13 = 60; - break L1; - } - i3 = HEAP32[i12 + 4 >> 2] | 0; - if ((HEAP32[i12 >> 2] | 0) == (i3 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3 + -24 | 0, 0, 51348) | 0; - i1 = i2; - i13 = 60; - break L1; - } - case 84: - { - i11 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i11, i5, i12) | 0; - if ((i2 | 0) == (i11 | 0)) { - i13 = 60; - break L1; - } - i3 = HEAP32[i12 + 4 >> 2] | 0; - if ((HEAP32[i12 >> 2] | 0) == (i3 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3 + -24 | 0, 0, 51360) | 0; - i1 = i2; - i13 = 60; - break L1; - } - case 73: - { - i11 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i11, i5, i12) | 0; - if ((i2 | 0) == (i11 | 0)) { - i13 = 60; - break L1; - } - i3 = HEAP32[i12 + 4 >> 2] | 0; - if ((HEAP32[i12 >> 2] | 0) == (i3 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3 + -24 | 0, 0, 51369) | 0; - i1 = i2; - i13 = 60; - break L1; - } - case 83: - { - i11 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i11, i5, i12) | 0; - if ((i2 | 0) == (i11 | 0)) { - i13 = 60; - break L1; - } - i3 = HEAP32[i12 + 4 >> 2] | 0; - if ((HEAP32[i12 >> 2] | 0) == (i3 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3 + -24 | 0, 0, 51383) | 0; - i1 = i2; - i13 = 60; - break L1; - } - case 99: - { - i11 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_117parse_call_offsetEPKcS2_(i11, i5) | 0; - if ((i2 | 0) == (i11 | 0)) { - i13 = 60; - break L1; - } - i4 = __ZN10__cxxabiv112_GLOBAL__N_117parse_call_offsetEPKcS2_(i2, i5) | 0; - if ((i4 | 0) == (i2 | 0)) { - i13 = 60; - break L1; - } - i3 = __ZN10__cxxabiv112_GLOBAL__N_114parse_encodingINS0_2DbEEEPKcS4_S4_RT_(i4, i5, i12) | 0; - if ((i3 | 0) == (i4 | 0)) { - i13 = 60; - break L1; - } - i2 = HEAP32[i12 + 4 >> 2] | 0; - if ((HEAP32[i12 >> 2] | 0) == (i2 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i2 + -24 | 0, 0, 51402) | 0; - i1 = i3; - i13 = 60; - break L1; - } - case 67: - { - i4 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i4, i5, i12) | 0; - if ((i2 | 0) == (i4 | 0)) { - i13 = 60; - break L1; - } - i3 = __ZN10__cxxabiv112_GLOBAL__N_112parse_numberEPKcS2_(i2, i5) | 0; - if ((i3 | 0) == (i2 | 0) | (i3 | 0) == (i5 | 0)) { - i13 = 60; - break L1; - } - if ((HEAP8[i3 >> 0] | 0) != 95) { - i13 = 60; - break L1; - } - i3 = i3 + 1 | 0; - i4 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i3, i5, i12) | 0; - if ((i4 | 0) == (i3 | 0)) { - i13 = 60; - break L1; - } - i3 = i12 + 4 | 0; - i2 = HEAP32[i3 >> 2] | 0; - if (((i2 - (HEAP32[i12 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i7, i2 + -24 | 0); - i2 = HEAP32[i3 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i13 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i13 * 24 | 0) | 0); - i1 = i13; - } - HEAP32[i3 >> 2] = i2 + -24; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i7, 0, 51429) | 0; - HEAP32[i10 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i7 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i7 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i7 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i10, 51454) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i11, (HEAP32[i3 >> 2] | 0) + -24 | 0); - i1 = HEAP8[i11 + 11 >> 0] | 0; - i13 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i9, i13 ? HEAP32[i11 >> 2] | 0 : i11, i13 ? HEAP32[i11 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i3 >> 2] | 0; - i2 = i1 + -24 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i13 = HEAP32[i2 >> 2] | 0; - HEAP8[i6 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i13, i6); - HEAP32[i1 + -20 >> 2] = 0; - } else { - HEAP8[i6 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i6); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i8 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i8 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i8 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i7); - i1 = i4; - i13 = 60; - break L1; - } - default: - { - i3 = __ZN10__cxxabiv112_GLOBAL__N_117parse_call_offsetEPKcS2_(i2, i5) | 0; - do if ((i3 | 0) != (i2 | 0)) { - i2 = __ZN10__cxxabiv112_GLOBAL__N_114parse_encodingINS0_2DbEEEPKcS4_S4_RT_(i3, i5, i12) | 0; - if ((i2 | 0) != (i3 | 0)) { - i3 = HEAP32[i12 + 4 >> 2] | 0; - if ((HEAP32[i12 >> 2] | 0) != (i3 | 0)) { - i3 = i3 + -24 | 0; - if ((HEAP8[i1 + 2 >> 0] | 0) == 118) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3, 0, 51459) | 0; - i3 = 0; - break; - } else { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3, 0, 51477) | 0; - i3 = 0; - break; - } - } else { - i3 = 1; - i2 = i1; - } - } else { - i3 = 0; - i2 = i1; - } - } else { - i3 = 3; - i2 = i1; - } while (0); - switch (i3 & 3) { - case 3: - case 0: - { - i1 = i2; - i13 = 60; - break L1; - } - default: - {} - } - if (!i3) { - i1 = i2; - i13 = 60; - break L1; - } else break L1; - } - } - } else i13 = 60; while (0); - STACKTOP = i14; - return i1 | 0; -} - -function _arLabelingSubDWRC(i5, i17, i18, i14, i19) { - i5 = i5 | 0; - i17 = i17 | 0; - i18 = i18 | 0; - i14 = i14 | 0; - i19 = i19 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i15 = 0, i16 = 0, i20 = 0, d21 = 0.0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i16 = i20; - i6 = HEAP32[i19 >> 2] | 0; - i15 = i18 + -1 | 0; - i1 = i6; - i2 = i6 + ((Math_imul(i15, i17) | 0) << 1) | 0; - i3 = 0; + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 68, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $7 = 0; + $9 = $3; + $17 = $7 | $9 & 1 ? 0 : $17; + $11 = $9; + $10 = $4; + $7 = $10; + $12 = $7; + } + $7 = HEAP32[$0 + 112 >> 2]; + $9 = HEAP32[$0 + 116 >> 2]; + if (($9 | 0) > 0 | ($9 | 0) >= 0) { + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] - 1; + } + label$49: { + $9 = $12; + $10 = $4; + $6 = $3; + $7 = $11; + if (($9 | 0) == ($10 | 0) & $6 >>> 0 > $7 >>> 0 | $10 >>> 0 > $9 >>> 0) { + break label$49; + } + if (!($3 & 1 | $17)) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 68, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $7 = $3; + $8 = $7 - 1 | 0; + $3 = $8; + $5 = !$7; + $5 = $4 - $5 | 0; + $4 = $5; + break label$1; + } + $5 = $4; + $7 = $12; + $9 = $11; + $6 = $3; + if (($5 | 0) == ($7 | 0) & $9 >>> 0 <= $6 >>> 0 | $5 >>> 0 > $7 >>> 0) { + break label$49; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 68, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$1; + } + $5 = $17; + $6 = $5 >> 31; + $3 = $5; + $4 = $6; + $5 = $6; + $6 = $12; + $5 = $5 ^ $6; + $9 = $11; + $7 = $3; + $6 = $9 ^ $7; + $10 = $6 - $7 | 0; + $3 = $10; + $9 = $4; + $8 = $9 + ($6 >>> 0 < $7 >>> 0) | 0; + $8 = $5 - $8 | 0; + $4 = $8; + } + __stack_pointer = $16 + 16 | 0; + $8 = $4; + i64toi32_i32$HIGH_BITS = $8; + $6 = $3; + return $6; +} + +function arLabelingSubDBIC($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0; + $14 = ($1 | 0) / 2 | 0; + $5 = ($14 | 0) > 0 ? $14 : 0; + $8 = HEAP32[$4 >> 2]; + $16 = ($2 | 0) / 2 | 0; + $9 = $16 - 1 | 0; + $6 = $8 + (Math_imul($14, $9) << 1) | 0; + $2 = 0; + $7 = $8; while (1) { - if ((i3 | 0) >= (i17 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + 2 | 0; - i2 = i2 + 2 | 0; - i3 = i3 + 1 | 0; - } - i13 = i17 + -1 | 0; - i1 = i6; - i2 = i6 + (i13 << 1) | 0; - i3 = 0; + if (($2 | 0) != ($5 | 0)) { + HEAP16[$6 >> 1] = 0; + HEAP16[$7 >> 1] = 0; + $2 = $2 + 1 | 0; + $7 = $7 + 2 | 0; + $6 = $6 + 2 | 0; + continue; + } + break; + } + $12 = ($16 | 0) > 0 ? $16 : 0; + $10 = $14 - 1 | 0; + $6 = ($10 << 1) + $8 | 0; + $2 = 0; + $7 = $8; while (1) { - if ((i3 | 0) >= (i18 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + (i17 << 1) | 0; - i2 = i2 + (i17 << 1) | 0; - i3 = i3 + 1 | 0; - } - i4 = i19 + 1179664 | 0; - i3 = i17 + 1 | 0; - i12 = 0 - i17 | 0; - i2 = i5 + i3 | 0; - i11 = 1; - i8 = 0; - i3 = i6 + (i3 << 1) | 0; - L9 : while (1) { - if ((i11 | 0) >= (i15 | 0)) { - i2 = 59; - break; + if (($2 | 0) != ($12 | 0)) { + HEAP16[$6 >> 1] = 0; + HEAP16[$7 >> 1] = 0; + $2 = $2 + 1 | 0; + $5 = $14 << 1; + $6 = $6 + $5 | 0; + $7 = $5 + $7 | 0; + continue; } - i10 = i2; - i1 = i8; - i9 = 1; - while (1) { - if ((i9 | 0) >= (i13 | 0)) break; - do if ((HEAPU8[i10 >> 0] | 0 | 0) > (i14 | 0)) { - i5 = i3 + (i12 << 1) | 0; - i2 = HEAP16[i5 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i3 >> 1] = i2; - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i19 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i19 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i19 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i11; - HEAP32[i19 + 1310736 + (i8 + -1 << 2) >> 2] = i11; - break; - } - i7 = HEAP16[i5 + 2 >> 1] | 0; - i8 = i7 << 16 >> 16; - i2 = HEAP16[i5 + -2 >> 1] | 0; - i6 = i2 << 16 >> 16; - i5 = i2 << 16 >> 16 > 0; - if (i7 << 16 >> 16 <= 0) { - if (i5) { - HEAP16[i3 >> 1] = i2; - i2 = i6 * 7 | 0; - i5 = i19 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1; - i5 = i19 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i9; - i5 = i19 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i11; - i5 = i19 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i5 >> 2] | 0) < (i9 | 0)) HEAP32[i5 >> 2] = i9; - HEAP32[i19 + 1310736 + (i2 + -1 << 2) >> 2] = i11; - break; - } - i2 = HEAP16[i3 + -2 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i3 >> 1] = i2; - i2 = (i2 << 16 >> 16) * 7 | 0; - i8 = i19 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - i8 = i19 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i9; - i8 = i19 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i11; - i2 = i19 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) >= (i9 | 0)) break; - HEAP32[i2 >> 2] = i9; - break; - } else { - i2 = i1 + 1 | 0; - if ((i1 | 0) > 32767) { - i2 = 54; - break L9; - } - HEAP16[i3 >> 1] = i2; - HEAP32[i19 + 1179664 + (i1 << 2) >> 2] = i2 << 16 >> 16; - i1 = i1 * 7 | 0; - HEAP32[i19 + 1310736 + (i1 << 2) >> 2] = 1; - HEAP32[i19 + 1310736 + (i1 + 1 << 2) >> 2] = i9; - HEAP32[i19 + 1310736 + (i1 + 2 << 2) >> 2] = i11; - HEAP32[i19 + 1310736 + (i1 + 3 << 2) >> 2] = i9; - HEAP32[i19 + 1310736 + (i1 + 4 << 2) >> 2] = i9; - HEAP32[i19 + 1310736 + (i1 + 5 << 2) >> 2] = i11; - HEAP32[i19 + 1310736 + (i1 + 6 << 2) >> 2] = i11; - i1 = i2; - break; - } - } - if (i5) { - i2 = HEAP32[i19 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i19 + 1179664 + (i6 + -1 << 2) >> 2] | 0; - L36 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i3 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L36; - if ((HEAP32[i5 >> 2] | 0) == (i7 | 0)) HEAP32[i5 >> 2] = i2; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; + break; + } + $18 = ($9 | 0) > 1 ? $9 : 1; + $19 = ($10 | 0) > 1 ? $10 : 1; + $15 = $4 + 1310736 | 0; + $13 = $4 + 1179664 | 0; + $12 = (($1 << 1) + $0 | 0) + 2 | 0; + $7 = (($14 << 1) + $8 | 0) + 2 | 0; + $20 = 0 - $14 << 1; + $0 = 1; + label$5: { + label$6: while (1) { + if (($0 | 0) != ($18 | 0)) { + $6 = 1; + while (1) { + label$9: { + label$10: { + label$11: { + if (($6 | 0) != ($19 | 0)) { + if (HEAPU8[$12 | 0] <= ($3 | 0)) { + $2 = $7 + $20 | 0; + $5 = HEAPU16[$2 >> 1]; + $8 = $5 << 16 >> 16; + if (($8 | 0) > 0) { + HEAP16[$7 >> 1] = $8; + $2 = Math_imul($5, 28) + $15 | 0; + HEAP32[$2 - 4 >> 2] = $0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $2 = $2 - 20 | 0; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $0; + break label$9; + } + $9 = HEAPU16[$2 - 2 >> 1]; + $5 = $9 << 16 >> 16; + $2 = HEAP16[$2 + 2 >> 1]; + if (($2 | 0) > 0) { + if (($5 | 0) > 0) { + $8 = HEAP32[(($2 << 2) + $13 | 0) - 4 >> 2]; + $9 = HEAP32[(($9 << 2) + $13 | 0) - 4 >> 2]; + if (($8 | 0) > ($9 | 0)) { + HEAP16[$7 >> 1] = $9; + $5 = 0; + $10 = ($11 | 0) > 0 ? $11 : 0; + $2 = $13; + while (1) { + if (($5 | 0) == ($10 | 0)) { + $8 = $9; + break label$10; + } + if (HEAP32[$2 >> 2] == ($8 | 0)) { + HEAP32[$2 >> 2] = $9; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + HEAP16[$7 >> 1] = $8; + if (($8 | 0) >= ($9 | 0)) { + break label$10; + } + $5 = 0; + $10 = ($11 | 0) > 0 ? $11 : 0; + $2 = $13; + while (1) { + if (($5 | 0) == ($10 | 0)) { + break label$10; + } + if (HEAP32[$2 >> 2] == ($9 | 0)) { + HEAP32[$2 >> 2] = $8; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + $5 = HEAP16[$7 - 2 >> 1]; + if (($5 | 0) > 0) { + $8 = HEAP32[(($2 << 2) + $13 | 0) - 4 >> 2]; + $9 = HEAP32[((($5 & 65535) << 2) + $13 | 0) - 4 >> 2]; + if (($8 | 0) > ($9 | 0)) { + HEAP16[$7 >> 1] = $9; + $5 = 0; + $10 = ($11 | 0) > 0 ? $11 : 0; + $2 = $13; + while (1) { + if (($5 | 0) == ($10 | 0)) { + $8 = $9; + break label$11; + } + if (HEAP32[$2 >> 2] == ($8 | 0)) { + HEAP32[$2 >> 2] = $9; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + HEAP16[$7 >> 1] = $8; + if (($8 | 0) >= ($9 | 0)) { + break label$11; + } + $5 = 0; + $10 = ($11 | 0) > 0 ? $11 : 0; + $2 = $13; + while (1) { + if (($5 | 0) == ($10 | 0)) { + break label$11; + } + if (HEAP32[$2 >> 2] == ($9 | 0)) { + HEAP32[$2 >> 2] = $8; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + HEAP16[$7 >> 1] = $2; + $2 = Math_imul($2, 28) + $15 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $5 = $2 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + $5 = $2 - 16 | 0; + if (HEAP32[$5 >> 2] > ($6 | 0)) { + HEAP32[$5 >> 2] = $6; + } + HEAP32[$2 - 4 >> 2] = $0; + break label$9; + } + if (($5 | 0) > 0) { + HEAP16[$7 >> 1] = $5; + $2 = Math_imul($9, 28) + $15 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $5 = $2 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + $5 = $2 - 12 | 0; + if (HEAP32[$5 >> 2] < ($6 | 0)) { + HEAP32[$5 >> 2] = $6; + } + HEAP32[$2 - 4 >> 2] = $0; + break label$9; + } + $2 = HEAPU16[$7 - 2 >> 1]; + $5 = $2 << 16 >> 16; + if (($5 | 0) > 0) { + HEAP16[$7 >> 1] = $5; + $2 = Math_imul($2, 28) + $15 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $5 = $2 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + $2 = $2 - 12 | 0; + if (HEAP32[$2 >> 2] >= ($6 | 0)) { + break label$9; + } + HEAP32[$2 >> 2] = $6; + break label$9; + } + if (($11 | 0) >= 32768) { + arLog(0, 3, 1508, 0); + $5 = -1; + break label$5; + } + $5 = $11 + 1 | 0; + HEAP16[$7 >> 1] = $5; + HEAP32[($11 << 2) + $13 >> 2] = $5 << 16 >> 16; + $2 = Math_imul($11, 28) + $15 | 0; + HEAP32[$2 + 24 >> 2] = $0; + HEAP32[$2 + 20 >> 2] = $0; + HEAP32[$2 + 16 >> 2] = $6; + HEAP32[$2 + 12 >> 2] = $6; + HEAP32[$2 + 8 >> 2] = $0; + HEAP32[$2 + 4 >> 2] = $6; + HEAP32[$2 >> 2] = 1; + $11 = $5; + break label$9; + } + HEAP16[$7 >> 1] = 0; + break label$9; + } + $7 = $7 + 4 | 0; + $0 = $0 + 1 | 0; + $12 = ($1 + $12 | 0) + 4 | 0; + continue label$6; } + $2 = Math_imul($8 << 16 >> 16, 28) + $15 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $2 = $2 - 20 | 0; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $0; + break label$9; } - } else { - HEAP16[i3 >> 1] = i7; - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L36; - } - if ((HEAP32[i5 >> 2] | 0) == (i2 | 0)) HEAP32[i5 >> 2] = i7; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i19 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i19 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i19 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i11; - HEAP32[i19 + 1310736 + (i8 + -1 << 2) >> 2] = i11; - break; - } - i2 = HEAP16[i3 + -2 >> 1] | 0; - if (i2 << 16 >> 16 <= 0) { - HEAP16[i3 >> 1] = i7; - i2 = i8 * 7 | 0; - i5 = i19 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1; - i5 = i19 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i9; - i5 = i19 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i11; - i5 = i19 + 1310736 + (i2 + -4 << 2) | 0; - if ((HEAP32[i5 >> 2] | 0) > (i9 | 0)) HEAP32[i5 >> 2] = i9; - HEAP32[i19 + 1310736 + (i2 + -1 << 2) >> 2] = i11; - break; + $2 = Math_imul($8 << 16 >> 16, 28) + $15 | 0; + HEAP32[$2 - 4 >> 2] = $0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $2 = $2 - 20 | 0; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $0; + } + $7 = $7 + 2 | 0; + $12 = $12 + 2 | 0; + $6 = $6 + 1 | 0; + continue; } - i7 = HEAP32[i19 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i2 = HEAP32[i19 + 1179664 + ((i2 << 16 >> 16) + -1 << 2) >> 2] | 0; - L60 : do if ((i7 | 0) <= (i2 | 0)) { - HEAP16[i3 >> 1] = i7; - if ((i7 | 0) < (i2 | 0)) { - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L60; - } - if ((HEAP32[i5 >> 2] | 0) == (i2 | 0)) HEAP32[i5 >> 2] = i7; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } else i2 = i7; - } else { - HEAP16[i3 >> 1] = i2; - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L60; - if ((HEAP32[i5 >> 2] | 0) == (i7 | 0)) HEAP32[i5 >> 2] = i2; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i19 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i19 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i8 = i19 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i11; - } else HEAP16[i3 >> 1] = 0; while (0); - i10 = i10 + 1 | 0; - i9 = i9 + 1 | 0; - i3 = i3 + 2 | 0; - } - i2 = i10 + 2 | 0; - i11 = i11 + 1 | 0; - i8 = i1; - i3 = i3 + 4 | 0; - } - L80 : do if ((i2 | 0) == 54) { - _arLog(0, 3, 17520, i16); - i1 = -1; - } else if ((i2 | 0) == 59) { - i6 = i19 + 12 | 0; - i1 = 1; - i5 = 1; - while (1) { - if ((i5 | 0) > (i8 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (i5 | 0)) i3 = i1 + 1 | 0; else { - i3 = i1; - i1 = HEAP32[i19 + 1179664 + (i2 + -1 << 2) >> 2] | 0; - } - HEAP32[i4 >> 2] = i1; - i1 = i3; - i5 = i5 + 1 | 0; - i4 = i4 + 4 | 0; - } - i7 = i19 + 8 | 0; - i2 = i1 + -1 | 0; - HEAP32[i7 >> 2] = i2; - if (!i2) i1 = 0; else { - _memset(i6 | 0, 0, i2 << 2 | 0) | 0; - _memset(i19 + 655376 | 0, 0, i2 << 4 | 0) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i16 = i1 << 2; - HEAP32[i19 + 131084 + (i16 << 2) >> 2] = i17; - HEAP32[i19 + 131084 + ((i16 | 1) << 2) >> 2] = 0; - HEAP32[i19 + 131084 + ((i16 | 2) << 2) >> 2] = i18; - HEAP32[i19 + 131084 + ((i16 | 3) << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i8 | 0)) break; - i3 = (HEAP32[i19 + 1179664 + (i5 << 2) >> 2] | 0) + -1 | 0; - i4 = i5 * 7 | 0; - i1 = i19 + 12 + (i3 << 2) | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + (HEAP32[i19 + 1310736 + (i4 << 2) >> 2] | 0); - i1 = i3 << 1; - i2 = i19 + 655376 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] + +(HEAP32[i19 + 1310736 + (i4 + 1 << 2) >> 2] | 0); - i1 = i19 + 655376 + ((i1 | 1) << 3) | 0; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] + +(HEAP32[i19 + 1310736 + (i4 + 2 << 2) >> 2] | 0); - i3 = i3 << 2; - i1 = i19 + 131084 + (i3 << 2) | 0; - i2 = HEAP32[i19 + 1310736 + (i4 + 3 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i19 + 131084 + ((i3 | 1) << 2) | 0; - i2 = HEAP32[i19 + 1310736 + (i4 + 4 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) < (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i19 + 131084 + ((i3 | 2) << 2) | 0; - i2 = HEAP32[i19 + 1310736 + (i4 + 5 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i2 = i19 + 131084 + ((i3 | 3) << 2) | 0; - i1 = HEAP32[i19 + 1310736 + (i4 + 6 << 2) >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) < (i1 | 0)) HEAP32[i2 >> 2] = i1; - i5 = i5 + 1 | 0; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) { - i1 = 0; - break L80; - } - d21 = +(HEAP32[i19 + 12 + (i1 << 2) >> 2] | 0); - i18 = i1 << 1; - i17 = i19 + 655376 + (i18 << 3) | 0; - HEAPF64[i17 >> 3] = +HEAPF64[i17 >> 3] / d21; - i18 = i19 + 655376 + ((i18 | 1) << 3) | 0; - HEAPF64[i18 >> 3] = +HEAPF64[i18 >> 3] / d21; - i1 = i1 + 1 | 0; - } - } - } while (0); - STACKTOP = i20; - return i1 | 0; -} - -function _arLabelingSubDBRC(i5, i17, i18, i14, i19) { - i5 = i5 | 0; - i17 = i17 | 0; - i18 = i18 | 0; - i14 = i14 | 0; - i19 = i19 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i15 = 0, i16 = 0, i20 = 0, d21 = 0.0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i16 = i20; - i6 = HEAP32[i19 >> 2] | 0; - i15 = i18 + -1 | 0; - i1 = i6; - i2 = i6 + ((Math_imul(i15, i17) | 0) << 1) | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i17 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + 2 | 0; - i2 = i2 + 2 | 0; - i3 = i3 + 1 | 0; - } - i13 = i17 + -1 | 0; - i1 = i6; - i2 = i6 + (i13 << 1) | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i18 | 0)) break; - HEAP16[i2 >> 1] = 0; - HEAP16[i1 >> 1] = 0; - i1 = i1 + (i17 << 1) | 0; - i2 = i2 + (i17 << 1) | 0; - i3 = i3 + 1 | 0; - } - i4 = i19 + 1179664 | 0; - i3 = i17 + 1 | 0; - i12 = 0 - i17 | 0; - i2 = i5 + i3 | 0; - i11 = 1; - i8 = 0; - i3 = i6 + (i3 << 1) | 0; - L9 : while (1) { - if ((i11 | 0) >= (i15 | 0)) { - i2 = 59; + } break; } - i10 = i2; - i1 = i8; - i9 = 1; - while (1) { - if ((i9 | 0) >= (i13 | 0)) break; - do if ((HEAPU8[i10 >> 0] | 0 | 0) > (i14 | 0)) HEAP16[i3 >> 1] = 0; else { - i5 = i3 + (i12 << 1) | 0; - i2 = HEAP16[i5 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i3 >> 1] = i2; - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i19 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i19 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i19 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i11; - HEAP32[i19 + 1310736 + (i8 + -1 << 2) >> 2] = i11; - break; - } - i7 = HEAP16[i5 + 2 >> 1] | 0; - i8 = i7 << 16 >> 16; - i2 = HEAP16[i5 + -2 >> 1] | 0; - i6 = i2 << 16 >> 16; - i5 = i2 << 16 >> 16 > 0; - if (i7 << 16 >> 16 <= 0) { - if (i5) { - HEAP16[i3 >> 1] = i2; - i2 = i6 * 7 | 0; - i5 = i19 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1; - i5 = i19 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i9; - i5 = i19 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i11; - i5 = i19 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i5 >> 2] | 0) < (i9 | 0)) HEAP32[i5 >> 2] = i9; - HEAP32[i19 + 1310736 + (i2 + -1 << 2) >> 2] = i11; - break; - } - i2 = HEAP16[i3 + -2 >> 1] | 0; - if (i2 << 16 >> 16 > 0) { - HEAP16[i3 >> 1] = i2; - i2 = (i2 << 16 >> 16) * 7 | 0; - i8 = i19 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - i8 = i19 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i9; - i8 = i19 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i11; - i2 = i19 + 1310736 + (i2 + -3 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) >= (i9 | 0)) break; - HEAP32[i2 >> 2] = i9; - break; - } else { - i2 = i1 + 1 | 0; - if ((i1 | 0) > 32767) { - i2 = 54; - break L9; - } - HEAP16[i3 >> 1] = i2; - HEAP32[i19 + 1179664 + (i1 << 2) >> 2] = i2 << 16 >> 16; - i1 = i1 * 7 | 0; - HEAP32[i19 + 1310736 + (i1 << 2) >> 2] = 1; - HEAP32[i19 + 1310736 + (i1 + 1 << 2) >> 2] = i9; - HEAP32[i19 + 1310736 + (i1 + 2 << 2) >> 2] = i11; - HEAP32[i19 + 1310736 + (i1 + 3 << 2) >> 2] = i9; - HEAP32[i19 + 1310736 + (i1 + 4 << 2) >> 2] = i9; - HEAP32[i19 + 1310736 + (i1 + 5 << 2) >> 2] = i11; - HEAP32[i19 + 1310736 + (i1 + 6 << 2) >> 2] = i11; - i1 = i2; - break; - } - } - if (i5) { - i2 = HEAP32[i19 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i7 = HEAP32[i19 + 1179664 + (i6 + -1 << 2) >> 2] | 0; - L37 : do if ((i2 | 0) <= (i7 | 0)) { - HEAP16[i3 >> 1] = i2; - if ((i2 | 0) < (i7 | 0)) { - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L37; - if ((HEAP32[i5 >> 2] | 0) == (i7 | 0)) HEAP32[i5 >> 2] = i2; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } - } else { - HEAP16[i3 >> 1] = i7; - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L37; - } - if ((HEAP32[i5 >> 2] | 0) == (i2 | 0)) HEAP32[i5 >> 2] = i7; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i19 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i19 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i7 = i19 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i11; - HEAP32[i19 + 1310736 + (i8 + -1 << 2) >> 2] = i11; - break; - } - i2 = HEAP16[i3 + -2 >> 1] | 0; - if (i2 << 16 >> 16 <= 0) { - HEAP16[i3 >> 1] = i7; - i2 = i8 * 7 | 0; - i5 = i19 + 1310736 + (i2 + -7 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1; - i5 = i19 + 1310736 + (i2 + -6 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i9; - i5 = i19 + 1310736 + (i2 + -5 << 2) | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + i11; - i5 = i19 + 1310736 + (i2 + -4 << 2) | 0; - if ((HEAP32[i5 >> 2] | 0) > (i9 | 0)) HEAP32[i5 >> 2] = i9; - HEAP32[i19 + 1310736 + (i2 + -1 << 2) >> 2] = i11; - break; - } - i7 = HEAP32[i19 + 1179664 + (i8 + -1 << 2) >> 2] | 0; - i2 = HEAP32[i19 + 1179664 + ((i2 << 16 >> 16) + -1 << 2) >> 2] | 0; - L61 : do if ((i7 | 0) <= (i2 | 0)) { - HEAP16[i3 >> 1] = i7; - if ((i7 | 0) < (i2 | 0)) { - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) { - i2 = i7; - break L61; - } - if ((HEAP32[i5 >> 2] | 0) == (i2 | 0)) HEAP32[i5 >> 2] = i7; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } else i2 = i7; - } else { - HEAP16[i3 >> 1] = i2; - i5 = i4; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i1 | 0)) break L61; - if ((HEAP32[i5 >> 2] | 0) == (i7 | 0)) HEAP32[i5 >> 2] = i2; - i5 = i5 + 4 | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i8 = (i2 << 16 >> 16) * 7 | 0; - i7 = i19 + 1310736 + (i8 + -7 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - i7 = i19 + 1310736 + (i8 + -6 << 2) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i9; - i8 = i19 + 1310736 + (i8 + -5 << 2) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i11; - } while (0); - i10 = i10 + 1 | 0; - i9 = i9 + 1 | 0; - i3 = i3 + 2 | 0; - } - i2 = i10 + 2 | 0; - i11 = i11 + 1 | 0; - i8 = i1; - i3 = i3 + 4 | 0; - } - L80 : do if ((i2 | 0) == 54) { - _arLog(0, 3, 17520, i16); - i1 = -1; - } else if ((i2 | 0) == 59) { - i6 = i19 + 12 | 0; - i1 = 1; - i5 = 1; + $7 = $4 + 131084 | 0; + $8 = (($11 | 0) > 0 ? $11 : 0) + 1 | 0; + $2 = 1; + $12 = 1; + $6 = $13; while (1) { - if ((i5 | 0) > (i8 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (i5 | 0)) i3 = i1 + 1 | 0; else { - i3 = i1; - i1 = HEAP32[i19 + 1179664 + (i2 + -1 << 2) >> 2] | 0; - } - HEAP32[i4 >> 2] = i1; - i1 = i3; - i5 = i5 + 1 | 0; - i4 = i4 + 4 | 0; - } - i7 = i19 + 8 | 0; - i2 = i1 + -1 | 0; - HEAP32[i7 >> 2] = i2; - if (!i2) i1 = 0; else { - _memset(i6 | 0, 0, i2 << 2 | 0) | 0; - _memset(i19 + 655376 | 0, 0, i2 << 4 | 0) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i16 = i1 << 2; - HEAP32[i19 + 131084 + (i16 << 2) >> 2] = i17; - HEAP32[i19 + 131084 + ((i16 | 1) << 2) >> 2] = 0; - HEAP32[i19 + 131084 + ((i16 | 2) << 2) >> 2] = i18; - HEAP32[i19 + 131084 + ((i16 | 3) << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i8 | 0)) break; - i3 = (HEAP32[i19 + 1179664 + (i5 << 2) >> 2] | 0) + -1 | 0; - i4 = i5 * 7 | 0; - i1 = i19 + 12 + (i3 << 2) | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + (HEAP32[i19 + 1310736 + (i4 << 2) >> 2] | 0); - i1 = i3 << 1; - i2 = i19 + 655376 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] + +(HEAP32[i19 + 1310736 + (i4 + 1 << 2) >> 2] | 0); - i1 = i19 + 655376 + ((i1 | 1) << 3) | 0; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] + +(HEAP32[i19 + 1310736 + (i4 + 2 << 2) >> 2] | 0); - i3 = i3 << 2; - i1 = i19 + 131084 + (i3 << 2) | 0; - i2 = HEAP32[i19 + 1310736 + (i4 + 3 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i19 + 131084 + ((i3 | 1) << 2) | 0; - i2 = HEAP32[i19 + 1310736 + (i4 + 4 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) < (i2 | 0)) HEAP32[i1 >> 2] = i2; - i1 = i19 + 131084 + ((i3 | 2) << 2) | 0; - i2 = HEAP32[i19 + 1310736 + (i4 + 5 << 2) >> 2] | 0; - if ((HEAP32[i1 >> 2] | 0) > (i2 | 0)) HEAP32[i1 >> 2] = i2; - i2 = i19 + 131084 + ((i3 | 3) << 2) | 0; - i1 = HEAP32[i19 + 1310736 + (i4 + 6 << 2) >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) < (i1 | 0)) HEAP32[i2 >> 2] = i1; - i5 = i5 + 1 | 0; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) { - i1 = 0; - break L80; - } - d21 = +(HEAP32[i19 + 12 + (i1 << 2) >> 2] | 0); - i18 = i1 << 1; - i17 = i19 + 655376 + (i18 << 3) | 0; - HEAPF64[i17 >> 3] = +HEAPF64[i17 >> 3] / d21; - i18 = i19 + 655376 + ((i18 | 1) << 3) | 0; - HEAPF64[i18 >> 3] = +HEAPF64[i18 >> 3] / d21; - i1 = i1 + 1 | 0; - } - } - } while (0); - STACKTOP = i20; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_123parse_unnamed_type_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i12, i9) { - i1 = i1 | 0; - i12 = i12 | 0; - i9 = i9 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0, i13 = 0, i14 = 0, i15 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - i11 = i14 + 56 | 0; - i3 = i14 + 40 | 0; - i4 = i14 + 28 | 0; - i8 = i14 + 12 | 0; - i7 = i14; - i10 = i14 + 24 | 0; - L1 : do if ((i12 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 85 : 0) { - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 116: - { - HEAP32[i3 >> 2] = 0; - HEAP32[i3 + 4 >> 2] = 0; - HEAP32[i3 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i3, 50470, __ZNSt3__211char_traitsIcE6lengthEPKc(50470) | 0); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i11, i3); - i4 = i9 + 4 | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i2, i11); - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i11); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i3); - i3 = i1 + 2 | 0; - if ((i3 | 0) == (i12 | 0)) { - i3 = HEAP32[i4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i13 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i13 * 24 | 0) | 0); - i2 = i13; - } - HEAP32[i4 >> 2] = i3 + -24; - break L1; - } - if (((HEAP8[i3 >> 0] | 0) + -48 | 0) >>> 0 < 10) { - i2 = i1 + 3 | 0; - while (1) { - if ((i2 | 0) == (i12 | 0)) { - i2 = i12; - break; - } - if (((HEAP8[i2 >> 0] | 0) + -48 | 0) >>> 0 >= 10) break; - i2 = i2 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE23__append_forward_unsafeIPKcEERS7_T_SC_((HEAP32[i4 >> 2] | 0) + -24 | 0, i3, i2); - } else i2 = i3; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9push_backEc((HEAP32[i4 >> 2] | 0) + -24 | 0, 39); - if ((i2 | 0) != (i12 | 0) ? (HEAP8[i2 >> 0] | 0) == 95 : 0) { - i1 = i2 + 1 | 0; - break L1; - } - i3 = HEAP32[i4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i13 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i13 * 24 | 0) | 0); - i2 = i13; - } - HEAP32[i4 >> 2] = i3 + -24; - break L1; + if (($2 | 0) != ($8 | 0)) { + $5 = HEAP32[$6 >> 2]; + label$37: { + if (($5 | 0) == ($2 | 0)) { + $5 = $12; + $12 = $5 + 1 | 0; + break label$37; + } + $5 = HEAP32[(($5 << 2) + $13 | 0) - 4 >> 2]; + } + HEAP32[$6 >> 2] = $5; + $6 = $6 + 4 | 0; + $2 = $2 + 1 | 0; + continue; } - case 108: break; - default: - break L1; - } - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - HEAP32[i4 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i4, 50479, __ZNSt3__211char_traitsIcE6lengthEPKc(50479) | 0); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i11, i4); - i13 = i9 + 4 | 0; - i2 = HEAP32[i13 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i2, i11); - HEAP32[i13 >> 2] = (HEAP32[i13 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i11); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i4); - i3 = i1 + 2 | 0; - do if ((HEAP8[i3 >> 0] | 0) != 118) { - i2 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i3, i12, i9) | 0; - if ((i2 | 0) == (i3 | 0)) { - i3 = HEAP32[i13 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i12 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i12 * 24 | 0) | 0); - i2 = i12; - } - HEAP32[i13 >> 2] = i3 + -24; - break L1; - } - i3 = HEAP32[i13 >> 2] | 0; - if (((i3 - (HEAP32[i9 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i8, i3 + -24 | 0); - i4 = HEAP32[i13 >> 2] | 0; - i3 = 0; - while (1) { - if ((i3 | 0) == -1) break; - i6 = i3 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4 + (i6 * 24 | 0) | 0); - i3 = i6; - } - HEAP32[i13 >> 2] = i4 + -24; - i5 = i8 + 11 | 0; - i3 = HEAP8[i5 >> 0] | 0; - i15 = i3 << 24 >> 24 < 0; - i6 = i8 + 4 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i4 + -48 | 0, i15 ? HEAP32[i8 >> 2] | 0 : i8, i15 ? HEAP32[i6 >> 2] | 0 : i3 & 255) | 0; + } + $6 = $12 - 1 | 0; + HEAP32[$4 + 8 >> 2] = $6; + if (!$6) { + return 0; + } + $12 = $4 + 12 | 0; + wasm2js_memory_fill($12, 0, $6 << 2); + $8 = $4 + 655376 | 0; + wasm2js_memory_fill($8, 0, $6 << 4); + $2 = 0; + while (1) if (($2 | 0) >= ($6 | 0)) { + $6 = 0; + $0 = ($11 | 0) > 0 ? $11 : 0; while (1) { - i4 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i2, i12, i9) | 0; - if ((i4 | 0) == (i2 | 0)) { - i3 = 54; - break; - } - i2 = HEAP32[i13 >> 2] | 0; - if (((i2 - (HEAP32[i9 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) { - i3 = 82; - break; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i7, i2 + -24 | 0); - if ((HEAP8[i5 >> 0] | 0) < 0) { - i15 = HEAP32[i8 >> 2] | 0; - HEAP8[i11 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i15, i11); - HEAP32[i6 >> 2] = 0; - } else { - HEAP8[i11 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i8, i11); - HEAP8[i5 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i8); - HEAP32[i8 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i7 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i7 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i7 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i7); - i3 = HEAP32[i13 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i15 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i15 * 24 | 0) | 0); - i2 = i15; - } - HEAP32[i13 >> 2] = i3 + -24; - i15 = HEAP8[i5 >> 0] | 0; - if ((i15 << 24 >> 24 < 0 ? HEAP32[i6 >> 2] | 0 : i15 & 255) | 0) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i3 + -48 | 0, 49891) | 0; - i15 = HEAP8[i5 >> 0] | 0; - i3 = i15 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i13 >> 2] | 0) + -24 | 0, i3 ? HEAP32[i8 >> 2] | 0 : i8, i3 ? HEAP32[i6 >> 2] | 0 : i15 & 255) | 0; - } - i2 = i4; - } - if ((i3 | 0) == 54) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc((HEAP32[i13 >> 2] | 0) + -24 | 0, 49667) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - break; - } else if ((i3 | 0) == 82) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - break L1; + if (($0 | 0) == ($6 | 0)) { + $5 = 0; + $2 = HEAP32[$4 + 8 >> 2]; + $7 = ($2 | 0) > 0 ? $2 : 0; + $2 = 0; + while (1) { + if (($2 | 0) == ($7 | 0)) { + break label$5; + } + $6 = ($2 << 4) + $8 | 0; + $17 = +HEAP32[($2 << 2) + $12 >> 2]; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] / $17; + $0 = $6; + $6 = $6 + 8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$0 + 8 >> 3] / $17; + $2 = $2 + 1 | 0; + continue; + } + } + $5 = HEAP32[($6 << 2) + $13 >> 2] - 1 | 0; + $9 = $5 << 2; + $2 = $12 + $9 | 0; + $1 = $2; + $3 = HEAP32[$2 >> 2]; + $2 = Math_imul($6, 28) + $15 | 0; + HEAP32[$1 >> 2] = $3 + HEAP32[$2 >> 2]; + $10 = $5 << 4; + $5 = $10 + $8 | 0; + HEAPF64[$5 >> 3] = HEAPF64[$5 >> 3] + +HEAP32[$2 + 4 >> 2]; + $1 = $5; + $5 = $5 + 8 | 0; + HEAPF64[$5 >> 3] = HEAPF64[$1 + 8 >> 3] + +HEAP32[$2 + 8 >> 2]; + $5 = $7 + $10 | 0; + $10 = HEAP32[$2 + 12 >> 2]; + if (($10 | 0) < HEAP32[$5 >> 2]) { + HEAP32[$5 >> 2] = $10; + } + $10 = HEAP32[$2 + 16 >> 2]; + $5 = $9 << 2; + $9 = ($5 | 4) + $7 | 0; + if (($10 | 0) > HEAP32[$9 >> 2]) { + HEAP32[$9 >> 2] = $10; + } + $10 = HEAP32[$2 + 20 >> 2]; + $9 = ($5 | 8) + $7 | 0; + if (($10 | 0) < HEAP32[$9 >> 2]) { + HEAP32[$9 >> 2] = $10; + } + $2 = HEAP32[$2 + 24 >> 2]; + $5 = ($5 | 12) + $7 | 0; + if (($2 | 0) > HEAP32[$5 >> 2]) { + HEAP32[$5 >> 2] = $2; + } + $6 = $6 + 1 | 0; + continue; } } else { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9push_backEc((HEAP32[i13 >> 2] | 0) + -24 | 0, 41); - i2 = i1 + 3 | 0; - } while (0); - if ((i2 | 0) != (i12 | 0) ? (HEAP8[i2 >> 0] | 0) == 69 : 0) { - i5 = i2 + 1 | 0; - if ((i5 | 0) == (i12 | 0)) { - i3 = HEAP32[i13 >> 2] | 0; - i2 = 0; + $6 = ($2 << 4) + $7 | 0; + HEAP32[$6 >> 2] = $14; + HEAP32[$6 + 4 >> 2] = 0; + HEAP32[$6 + 8 >> 2] = $16; + HEAP32[$6 + 12 >> 2] = 0; + $2 = $2 + 1 | 0; + $6 = HEAP32[$4 + 8 >> 2]; + continue; + } + } + return $5; +} + +function arLabelingSubDWIC($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0; + $14 = ($1 | 0) / 2 | 0; + $5 = ($14 | 0) > 0 ? $14 : 0; + $8 = HEAP32[$4 >> 2]; + $16 = ($2 | 0) / 2 | 0; + $9 = $16 - 1 | 0; + $6 = $8 + (Math_imul($14, $9) << 1) | 0; + $2 = 0; + $7 = $8; + while (1) { + if (($2 | 0) != ($5 | 0)) { + HEAP16[$6 >> 1] = 0; + HEAP16[$7 >> 1] = 0; + $2 = $2 + 1 | 0; + $7 = $7 + 2 | 0; + $6 = $6 + 2 | 0; + continue; + } + break; + } + $12 = ($16 | 0) > 0 ? $16 : 0; + $10 = $14 - 1 | 0; + $6 = ($10 << 1) + $8 | 0; + $2 = 0; + $7 = $8; + while (1) { + if (($2 | 0) != ($12 | 0)) { + HEAP16[$6 >> 1] = 0; + HEAP16[$7 >> 1] = 0; + $2 = $2 + 1 | 0; + $5 = $14 << 1; + $6 = $6 + $5 | 0; + $7 = $5 + $7 | 0; + continue; + } + break; + } + $18 = ($9 | 0) > 1 ? $9 : 1; + $19 = ($10 | 0) > 1 ? $10 : 1; + $15 = $4 + 1310736 | 0; + $13 = $4 + 1179664 | 0; + $12 = (($1 << 1) + $0 | 0) + 2 | 0; + $7 = (($14 << 1) + $8 | 0) + 2 | 0; + $20 = 0 - $14 << 1; + $0 = 1; + label$5: { + label$6: while (1) { + if (($0 | 0) != ($18 | 0)) { + $6 = 1; while (1) { - if ((i2 | 0) == -1) break; - i15 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i15 * 24 | 0) | 0); - i2 = i15; + label$9: { + label$10: { + label$11: { + if (($6 | 0) != ($19 | 0)) { + if (HEAPU8[$12 | 0] > ($3 | 0)) { + $2 = $7 + $20 | 0; + $5 = HEAPU16[$2 >> 1]; + $8 = $5 << 16 >> 16; + if (($8 | 0) > 0) { + HEAP16[$7 >> 1] = $8; + $2 = Math_imul($5, 28) + $15 | 0; + HEAP32[$2 - 4 >> 2] = $0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $2 = $2 - 20 | 0; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $0; + break label$9; + } + $9 = HEAPU16[$2 - 2 >> 1]; + $5 = $9 << 16 >> 16; + $2 = HEAP16[$2 + 2 >> 1]; + if (($2 | 0) > 0) { + if (($5 | 0) > 0) { + $8 = HEAP32[(($2 << 2) + $13 | 0) - 4 >> 2]; + $9 = HEAP32[(($9 << 2) + $13 | 0) - 4 >> 2]; + if (($8 | 0) > ($9 | 0)) { + HEAP16[$7 >> 1] = $9; + $5 = 0; + $10 = ($11 | 0) > 0 ? $11 : 0; + $2 = $13; + while (1) { + if (($5 | 0) == ($10 | 0)) { + $8 = $9; + break label$10; + } + if (HEAP32[$2 >> 2] == ($8 | 0)) { + HEAP32[$2 >> 2] = $9; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + HEAP16[$7 >> 1] = $8; + if (($8 | 0) >= ($9 | 0)) { + break label$10; + } + $5 = 0; + $10 = ($11 | 0) > 0 ? $11 : 0; + $2 = $13; + while (1) { + if (($5 | 0) == ($10 | 0)) { + break label$10; + } + if (HEAP32[$2 >> 2] == ($9 | 0)) { + HEAP32[$2 >> 2] = $8; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + $5 = HEAP16[$7 - 2 >> 1]; + if (($5 | 0) > 0) { + $8 = HEAP32[(($2 << 2) + $13 | 0) - 4 >> 2]; + $9 = HEAP32[((($5 & 65535) << 2) + $13 | 0) - 4 >> 2]; + if (($8 | 0) > ($9 | 0)) { + HEAP16[$7 >> 1] = $9; + $5 = 0; + $10 = ($11 | 0) > 0 ? $11 : 0; + $2 = $13; + while (1) { + if (($5 | 0) == ($10 | 0)) { + $8 = $9; + break label$11; + } + if (HEAP32[$2 >> 2] == ($8 | 0)) { + HEAP32[$2 >> 2] = $9; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + HEAP16[$7 >> 1] = $8; + if (($8 | 0) >= ($9 | 0)) { + break label$11; + } + $5 = 0; + $10 = ($11 | 0) > 0 ? $11 : 0; + $2 = $13; + while (1) { + if (($5 | 0) == ($10 | 0)) { + break label$11; + } + if (HEAP32[$2 >> 2] == ($9 | 0)) { + HEAP32[$2 >> 2] = $8; + } + $5 = $5 + 1 | 0; + $2 = $2 + 4 | 0; + continue; + } + } + HEAP16[$7 >> 1] = $2; + $2 = Math_imul($2, 28) + $15 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $5 = $2 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + $5 = $2 - 16 | 0; + if (HEAP32[$5 >> 2] > ($6 | 0)) { + HEAP32[$5 >> 2] = $6; + } + HEAP32[$2 - 4 >> 2] = $0; + break label$9; + } + if (($5 | 0) > 0) { + HEAP16[$7 >> 1] = $5; + $2 = Math_imul($9, 28) + $15 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $5 = $2 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + $5 = $2 - 12 | 0; + if (HEAP32[$5 >> 2] < ($6 | 0)) { + HEAP32[$5 >> 2] = $6; + } + HEAP32[$2 - 4 >> 2] = $0; + break label$9; + } + $2 = HEAPU16[$7 - 2 >> 1]; + $5 = $2 << 16 >> 16; + if (($5 | 0) > 0) { + HEAP16[$7 >> 1] = $5; + $2 = Math_imul($2, 28) + $15 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $5 = $2 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + $2 = $2 - 12 | 0; + if (HEAP32[$2 >> 2] >= ($6 | 0)) { + break label$9; + } + HEAP32[$2 >> 2] = $6; + break label$9; + } + if (($11 | 0) >= 32768) { + arLog(0, 3, 1508, 0); + $5 = -1; + break label$5; + } + $5 = $11 + 1 | 0; + HEAP16[$7 >> 1] = $5; + HEAP32[($11 << 2) + $13 >> 2] = $5 << 16 >> 16; + $2 = Math_imul($11, 28) + $15 | 0; + HEAP32[$2 + 24 >> 2] = $0; + HEAP32[$2 + 20 >> 2] = $0; + HEAP32[$2 + 16 >> 2] = $6; + HEAP32[$2 + 12 >> 2] = $6; + HEAP32[$2 + 8 >> 2] = $0; + HEAP32[$2 + 4 >> 2] = $6; + HEAP32[$2 >> 2] = 1; + $11 = $5; + break label$9; + } + HEAP16[$7 >> 1] = 0; + break label$9; + } + $7 = $7 + 4 | 0; + $0 = $0 + 1 | 0; + $12 = ($1 + $12 | 0) + 4 | 0; + continue label$6; + } + $2 = Math_imul($8 << 16 >> 16, 28) + $15 | 0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $2 = $2 - 20 | 0; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $0; + break label$9; + } + $2 = Math_imul($8 << 16 >> 16, 28) + $15 | 0; + HEAP32[$2 - 4 >> 2] = $0; + $5 = $2 - 28 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + $5 = $2 - 24 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $2 = $2 - 20 | 0; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $0; + } + $7 = $7 + 2 | 0; + $12 = $12 + 2 | 0; + $6 = $6 + 1 | 0; + continue; } - HEAP32[i13 >> 2] = i3 + -24; - break; - } - if (((HEAP8[i5 >> 0] | 0) + -48 | 0) >>> 0 < 10) { - i2 = i2 + 2 | 0; - while (1) { - if ((i2 | 0) == (i12 | 0)) { - i2 = i12; - break; - } - if (((HEAP8[i2 >> 0] | 0) + -48 | 0) >>> 0 >= 10) break; - i2 = i2 + 1 | 0; - } - i3 = (HEAP32[i13 >> 2] | 0) + -24 | 0; - if ((HEAP8[i3 + 11 >> 0] | 0) < 0) i4 = HEAP32[i3 >> 2] | 0; else i4 = i3; - HEAP32[i10 >> 2] = i4 + 7; - HEAP32[i11 >> 2] = HEAP32[i10 >> 2]; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertIPKcEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr38__libcpp_string_gets_noexcept_iteratorISC_EE5valueENS_11__wrap_iterIPcEEE4typeENSD_ISA_EESC_SC_(i3, i11, i5, i2) | 0; - } else i2 = i5; - if ((i2 | 0) != (i12 | 0) ? (HEAP8[i2 >> 0] | 0) == 95 : 0) { - i1 = i2 + 1 | 0; - break; - } - i3 = HEAP32[i13 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i15 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i15 * 24 | 0) | 0); - i2 = i15; } - HEAP32[i13 >> 2] = i3 + -24; break; } - i3 = HEAP32[i13 >> 2] | 0; - i2 = 0; + $7 = $4 + 131084 | 0; + $8 = (($11 | 0) > 0 ? $11 : 0) + 1 | 0; + $2 = 1; + $12 = 1; + $6 = $13; while (1) { - if ((i2 | 0) == -1) break; - i15 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i15 * 24 | 0) | 0); - i2 = i15; - } - HEAP32[i13 >> 2] = i3 + -24; - } while (0); - STACKTOP = i14; - return i1 | 0; -} - -function __ZNK6vision21HoughSimilarityVoting11getBinIndexEiiii(i1, i2, i3, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i4 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i10; - if ((i2 | 0) <= -1) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30928) | 0, 30431) | 0, 33528) | 0, 165) | 0, 33535) | 0, 30961) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i8 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 63](i8, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i8) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - i4 = HEAP32[i1 + 52 >> 2] | 0; - if ((i4 | 0) <= (i2 | 0)) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30979) | 0, 30431) | 0, 33528) | 0, 166) | 0, 33535) | 0, 30961) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i8 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 63](i8, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i8) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - if ((i3 | 0) <= -1) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31019) | 0, 30431) | 0, 33528) | 0, 167) | 0, 33535) | 0, 31052) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i8 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 63](i8, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i8) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - i8 = HEAP32[i1 + 56 >> 2] | 0; - if ((i8 | 0) <= (i3 | 0)) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31070) | 0, 30431) | 0, 33528) | 0, 168) | 0, 33535) | 0, 31052) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i11 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i11 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 63](i11, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i11) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - if ((i5 | 0) <= -1) { - i11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31110) | 0, 30431) | 0, 33528) | 0, 169) | 0, 33535) | 0, 31147) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i11 + (HEAP32[(HEAP32[i11 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i11, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i11) | 0; - _abort(); - } - i9 = HEAP32[i1 + 60 >> 2] | 0; - if ((i9 | 0) <= (i5 | 0)) { - i11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31169) | 0, 30431) | 0, 33528) | 0, 170) | 0, 33535) | 0, 31147) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i11 + (HEAP32[(HEAP32[i11 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i11, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i11) | 0; - _abort(); - } - if ((i6 | 0) <= -1) { - i12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31217) | 0, 30431) | 0, 33528) | 0, 171) | 0, 33535) | 0, 31254) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i12 + (HEAP32[(HEAP32[i12 >> 2] | 0) + -12 >> 2] | 0) | 0); - i11 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i11 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 63](i11, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i12, i11) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i12) | 0; - _abort(); - } - if ((HEAP32[i1 + 64 >> 2] | 0) <= (i6 | 0)) { - i12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31276) | 0, 30431) | 0, 33528) | 0, 172) | 0, 33535) | 0, 31254) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i12 + (HEAP32[(HEAP32[i12 >> 2] | 0) + -12 >> 2] | 0) | 0); - i11 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i11 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 63](i11, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i12, i11) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i12) | 0; - _abort(); - } - i12 = (Math_imul(i4, i3) | 0) + i2 | 0; - i11 = (Math_imul(HEAP32[i1 + 84 >> 2] | 0, i5) | 0) + i12 | 0; - i1 = i11 + (Math_imul(HEAP32[i1 + 88 >> 2] | 0, i6) | 0) | 0; - if ((i1 | 0) > ((Math_imul(Math_imul(i8, i4) | 0, (Math_imul(i9, i6) | 0) + i5 | 0) | 0) + i12 | 0)) { - i12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31324) | 0, 30431) | 0, 33528) | 0, 176) | 0, 33535) | 0, 30909) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i12 + (HEAP32[(HEAP32[i12 >> 2] | 0) + -12 >> 2] | 0) | 0); - i11 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i11 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 63](i11, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i12, i11) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i12) | 0; - _abort(); - } else { - STACKTOP = i10; - return i1 | 0; - } - return 0; -} - -function __ZNSt3__211__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri(i1, i3, i2, i4, i7, i8, i9, i11, i5, i13) { - i1 = i1 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i11 = i11 | 0; - i5 = i5 | 0; - i13 = i13 | 0; - var i6 = 0, i10 = 0, i12 = 0, i14 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i10 = i14 + 12 | 0; - i12 = i14; - if (i1) { - i6 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 58148) | 0; - if (i3) { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i6 >> 2] | 0) + 44 >> 2] & 63](i10, i6); - i1 = HEAP32[i10 >> 2] | 0; - HEAP8[i4 >> 0] = i1; - HEAP8[i4 + 1 >> 0] = i1 >> 8; - HEAP8[i4 + 2 >> 0] = i1 >> 16; - HEAP8[i4 + 3 >> 0] = i1 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i6 >> 2] | 0) + 32 >> 2] & 63](i12, i6); - i1 = i5 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i5 >> 2] | 0; - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i10); - HEAP32[i5 + 4 >> 2] = 0; - i1 = i5; - } else { - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5, i10); - HEAP8[i1 >> 0] = 0; - i1 = i5; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i5, 0); - HEAP32[i1 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; + if (($2 | 0) != ($8 | 0)) { + $5 = HEAP32[$6 >> 2]; + label$37: { + if (($5 | 0) == ($2 | 0)) { + $5 = $12; + $12 = $5 + 1 | 0; + break label$37; + } + $5 = HEAP32[(($5 << 2) + $13 | 0) - 4 >> 2]; + } + HEAP32[$6 >> 2] = $5; + $6 = $6 + 4 | 0; + $2 = $2 + 1 | 0; + continue; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i12); - i2 = i6; - } else { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i6 >> 2] | 0) + 40 >> 2] & 63](i10, i6); - i1 = HEAP32[i10 >> 2] | 0; - HEAP8[i4 >> 0] = i1; - HEAP8[i4 + 1 >> 0] = i1 >> 8; - HEAP8[i4 + 2 >> 0] = i1 >> 16; - HEAP8[i4 + 3 >> 0] = i1 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 63](i12, i6); - i1 = i5 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i5 >> 2] | 0; - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i10); - HEAP32[i5 + 4 >> 2] = 0; - i1 = i5; - } else { - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5, i10); - HEAP8[i1 >> 0] = 0; - i1 = i5; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i5, 0); - HEAP32[i1 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i12); - i2 = i6; - } - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 12 >> 2] & 127](i6) | 0; - HEAP8[i7 >> 0] = i1; - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 16 >> 2] & 127](i6) | 0; - HEAP8[i8 >> 0] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i12, i6); - i1 = i9 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i9 >> 2] | 0; - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i10); - HEAP32[i9 + 4 >> 2] = 0; - i1 = i9; - } else { - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i9, i10); - HEAP8[i1 >> 0] = 0; - i1 = i9; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i9, 0); - HEAP32[i1 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i12); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 63](i12, i6); - i1 = i11 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i11 >> 2] | 0; - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i10); - HEAP32[i11 + 4 >> 2] = 0; - i1 = i11; - } else { - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i11, i10); - HEAP8[i1 >> 0] = 0; - i1 = i11; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i11, 0); - HEAP32[i1 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; + break; } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i12); - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0; - } else { - i6 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 58140) | 0; - if (i3) { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i6 >> 2] | 0) + 44 >> 2] & 63](i10, i6); - i1 = HEAP32[i10 >> 2] | 0; - HEAP8[i4 >> 0] = i1; - HEAP8[i4 + 1 >> 0] = i1 >> 8; - HEAP8[i4 + 2 >> 0] = i1 >> 16; - HEAP8[i4 + 3 >> 0] = i1 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i6 >> 2] | 0) + 32 >> 2] & 63](i12, i6); - i1 = i5 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i5 >> 2] | 0; - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i10); - HEAP32[i5 + 4 >> 2] = 0; - i1 = i5; - } else { - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5, i10); - HEAP8[i1 >> 0] = 0; - i1 = i5; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i5, 0); - HEAP32[i1 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i12); - i2 = i6; - } else { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i6 >> 2] | 0) + 40 >> 2] & 63](i10, i6); - i1 = HEAP32[i10 >> 2] | 0; - HEAP8[i4 >> 0] = i1; - HEAP8[i4 + 1 >> 0] = i1 >> 8; - HEAP8[i4 + 2 >> 0] = i1 >> 16; - HEAP8[i4 + 3 >> 0] = i1 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 63](i12, i6); - i1 = i5 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i5 >> 2] | 0; - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i10); - HEAP32[i5 + 4 >> 2] = 0; - i1 = i5; - } else { - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5, i10); - HEAP8[i1 >> 0] = 0; - i1 = i5; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i5, 0); - HEAP32[i1 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i12); - i2 = i6; - } - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 12 >> 2] & 127](i6) | 0; - HEAP8[i7 >> 0] = i1; - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 16 >> 2] & 127](i6) | 0; - HEAP8[i8 >> 0] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i12, i6); - i1 = i9 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i9 >> 2] | 0; - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i10); - HEAP32[i9 + 4 >> 2] = 0; - i1 = i9; - } else { - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i9, i10); - HEAP8[i1 >> 0] = 0; - i1 = i9; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i9, 0); - HEAP32[i1 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i12); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 63](i12, i6); - i1 = i11 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i11 >> 2] | 0; - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i10); - HEAP32[i11 + 4 >> 2] = 0; - i1 = i11; - } else { - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i11, i10); - HEAP8[i1 >> 0] = 0; - i1 = i11; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i11, 0); - HEAP32[i1 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i12); - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0; - } - HEAP32[i13 >> 2] = i1; - STACKTOP = i14; - return; -} - -function __ZNK6vision21HoughSimilarityVoting16getBinsFromIndexERiS1_S1_S1_i(i8, i2, i5, i6, i3, i1) { - i8 = i8 | 0; - i2 = i2 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i3 = i3 | 0; - i1 = i1 | 0; - var i4 = 0, i7 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i10; - i7 = i8 + 88 | 0; - i13 = i8 + 84 | 0; - i4 = i8 + 52 | 0; - i12 = (((i1 | 0) % (HEAP32[i7 >> 2] | 0) | 0 | 0) % (HEAP32[i13 >> 2] | 0) | 0 | 0) % (HEAP32[i4 >> 2] | 0) | 0; - HEAP32[i2 >> 2] = i12; - i12 = (((i1 - i12 | 0) % (HEAP32[i7 >> 2] | 0) | 0 | 0) % (HEAP32[i13 >> 2] | 0) | 0 | 0) / (HEAP32[i4 >> 2] | 0) | 0; - HEAP32[i5 >> 2] = i12; - i12 = i1 - (HEAP32[i2 >> 2] | 0) - (Math_imul(HEAP32[i4 >> 2] | 0, i12) | 0) | 0; - i12 = ((i12 | 0) % (HEAP32[i7 >> 2] | 0) | 0 | 0) / (HEAP32[i13 >> 2] | 0) | 0; - HEAP32[i6 >> 2] = i12; - i11 = Math_imul(HEAP32[i4 >> 2] | 0, HEAP32[i5 >> 2] | 0) | 0; - i1 = i1 - (HEAP32[i2 >> 2] | 0) - ((Math_imul(HEAP32[i13 >> 2] | 0, i12) | 0) + i11) | 0; - i7 = (i1 | 0) / (HEAP32[i7 >> 2] | 0) | 0; - HEAP32[i3 >> 2] = i7; - i1 = HEAP32[i2 >> 2] | 0; - if ((i1 | 0) <= -1) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30928) | 0, 30431) | 0, 33528) | 0, 190) | 0, 33535) | 0, 30961) | 0; - __ZNKSt3__28ios_base6getlocEv(i9, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i9, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i9); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } - if ((i1 | 0) >= (HEAP32[i4 >> 2] | 0)) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30979) | 0, 30431) | 0, 33528) | 0, 191) | 0, 33535) | 0, 30961) | 0; - __ZNKSt3__28ios_base6getlocEv(i9, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i9, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i9); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } - i1 = HEAP32[i5 >> 2] | 0; - if ((i1 | 0) <= -1) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31019) | 0, 30431) | 0, 33528) | 0, 192) | 0, 33535) | 0, 31052) | 0; - __ZNKSt3__28ios_base6getlocEv(i9, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i9, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i9); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } - if ((i1 | 0) >= (HEAP32[i8 + 56 >> 2] | 0)) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31070) | 0, 30431) | 0, 33528) | 0, 193) | 0, 33535) | 0, 31052) | 0; - __ZNKSt3__28ios_base6getlocEv(i9, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i9, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i9); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } - i1 = HEAP32[i6 >> 2] | 0; - if ((i1 | 0) <= -1) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31110) | 0, 30431) | 0, 33528) | 0, 194) | 0, 33535) | 0, 31147) | 0; - __ZNKSt3__28ios_base6getlocEv(i9, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i9, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i9); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } - if ((i1 | 0) >= (HEAP32[i8 + 60 >> 2] | 0)) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31169) | 0, 30431) | 0, 33528) | 0, 195) | 0, 33535) | 0, 31147) | 0; - __ZNKSt3__28ios_base6getlocEv(i9, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i9, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i9); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } - if ((i7 | 0) <= -1) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31217) | 0, 30431) | 0, 33528) | 0, 196) | 0, 33535) | 0, 31254) | 0; - __ZNKSt3__28ios_base6getlocEv(i9, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i9, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i9); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } - if ((i7 | 0) < (HEAP32[i8 + 64 >> 2] | 0)) { - STACKTOP = i10; - return; - } else { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31276) | 0, 30431) | 0, 33528) | 0, 197) | 0, 33535) | 0, 31254) | 0; - __ZNKSt3__28ios_base6getlocEv(i9, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i9, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i9); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } -} - -function __ZNSt3__211__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri(i1, i3, i2, i4, i6, i7, i8, i10, i5, i12) { - i1 = i1 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i10 = i10 | 0; - i5 = i5 | 0; - i12 = i12 | 0; - var i9 = 0, i11 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i13 + 12 | 0; - i11 = i13; - if (i1) { - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 58164) | 0; - if (i3) { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 44 >> 2] & 63](i9, i2); - i1 = HEAP32[i9 >> 2] | 0; - HEAP8[i4 >> 0] = i1; - HEAP8[i4 + 1 >> 0] = i1 >> 8; - HEAP8[i4 + 2 >> 0] = i1 >> 16; - HEAP8[i4 + 3 >> 0] = i1 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 32 >> 2] & 63](i11, i2); - i1 = i5 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i4, i9); - HEAP32[i5 + 4 >> 2] = 0; - } else { - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i5, i9); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i5, 0); - HEAP32[i5 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i5 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i5 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i11); - } else { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 40 >> 2] & 63](i9, i2); - i1 = HEAP32[i9 >> 2] | 0; - HEAP8[i4 >> 0] = i1; - HEAP8[i4 + 1 >> 0] = i1 >> 8; - HEAP8[i4 + 2 >> 0] = i1 >> 16; - HEAP8[i4 + 3 >> 0] = i1 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i11, i2); - i1 = i5 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i4, i9); - HEAP32[i5 + 4 >> 2] = 0; - } else { - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i5, i9); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i5, 0); - HEAP32[i5 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i5 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i5 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i11); - } - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 12 >> 2] & 127](i2) | 0; - HEAP32[i6 >> 2] = i1; - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] & 127](i2) | 0; - HEAP32[i7 >> 2] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i11, i2); - i1 = i8 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i8 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i9); - HEAP32[i8 + 4 >> 2] = 0; - i1 = i8; - } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i8, i9); - HEAP8[i1 >> 0] = 0; - i1 = i8; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i8, 0); - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 63](i11, i2); - i1 = i10 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i8 = HEAP32[i10 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i8, i9); - HEAP32[i10 + 4 >> 2] = 0; - } else { - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i10, i9); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i10, 0); - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; + $6 = $12 - 1 | 0; + HEAP32[$4 + 8 >> 2] = $6; + if (!$6) { + return 0; } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i11); - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; - } else { - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 58156) | 0; - if (i3) { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 44 >> 2] & 63](i9, i2); - i1 = HEAP32[i9 >> 2] | 0; - HEAP8[i4 >> 0] = i1; - HEAP8[i4 + 1 >> 0] = i1 >> 8; - HEAP8[i4 + 2 >> 0] = i1 >> 16; - HEAP8[i4 + 3 >> 0] = i1 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 32 >> 2] & 63](i11, i2); - i1 = i5 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i4, i9); - HEAP32[i5 + 4 >> 2] = 0; - } else { - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i5, i9); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i5, 0); - HEAP32[i5 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i5 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i5 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; + $12 = $4 + 12 | 0; + wasm2js_memory_fill($12, 0, $6 << 2); + $8 = $4 + 655376 | 0; + wasm2js_memory_fill($8, 0, $6 << 4); + $2 = 0; + while (1) if (($2 | 0) >= ($6 | 0)) { + $6 = 0; + $0 = ($11 | 0) > 0 ? $11 : 0; while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; + if (($0 | 0) == ($6 | 0)) { + $5 = 0; + $2 = HEAP32[$4 + 8 >> 2]; + $7 = ($2 | 0) > 0 ? $2 : 0; + $2 = 0; + while (1) { + if (($2 | 0) == ($7 | 0)) { + break label$5; + } + $6 = ($2 << 4) + $8 | 0; + $17 = +HEAP32[($2 << 2) + $12 >> 2]; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] / $17; + $0 = $6; + $6 = $6 + 8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$0 + 8 >> 3] / $17; + $2 = $2 + 1 | 0; + continue; + } + } + $5 = HEAP32[($6 << 2) + $13 >> 2] - 1 | 0; + $9 = $5 << 2; + $2 = $12 + $9 | 0; + $1 = $2; + $3 = HEAP32[$2 >> 2]; + $2 = Math_imul($6, 28) + $15 | 0; + HEAP32[$1 >> 2] = $3 + HEAP32[$2 >> 2]; + $10 = $5 << 4; + $5 = $10 + $8 | 0; + HEAPF64[$5 >> 3] = HEAPF64[$5 >> 3] + +HEAP32[$2 + 4 >> 2]; + $1 = $5; + $5 = $5 + 8 | 0; + HEAPF64[$5 >> 3] = HEAPF64[$1 + 8 >> 3] + +HEAP32[$2 + 8 >> 2]; + $5 = $7 + $10 | 0; + $10 = HEAP32[$2 + 12 >> 2]; + if (($10 | 0) < HEAP32[$5 >> 2]) { + HEAP32[$5 >> 2] = $10; + } + $10 = HEAP32[$2 + 16 >> 2]; + $5 = $9 << 2; + $9 = ($5 | 4) + $7 | 0; + if (($10 | 0) > HEAP32[$9 >> 2]) { + HEAP32[$9 >> 2] = $10; + } + $10 = HEAP32[$2 + 20 >> 2]; + $9 = ($5 | 8) + $7 | 0; + if (($10 | 0) < HEAP32[$9 >> 2]) { + HEAP32[$9 >> 2] = $10; + } + $2 = HEAP32[$2 + 24 >> 2]; + $5 = ($5 | 12) + $7 | 0; + if (($2 | 0) > HEAP32[$5 >> 2]) { + HEAP32[$5 >> 2] = $2; + } + $6 = $6 + 1 | 0; + continue; } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i11); - } else { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 40 >> 2] & 63](i9, i2); - i1 = HEAP32[i9 >> 2] | 0; - HEAP8[i4 >> 0] = i1; - HEAP8[i4 + 1 >> 0] = i1 >> 8; - HEAP8[i4 + 2 >> 0] = i1 >> 16; - HEAP8[i4 + 3 >> 0] = i1 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i11, i2); - i1 = i5 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i4, i9); - HEAP32[i5 + 4 >> 2] = 0; - } else { - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i5, i9); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i5, 0); - HEAP32[i5 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i5 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i5 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i11); - } - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 12 >> 2] & 127](i2) | 0; - HEAP32[i6 >> 2] = i1; - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] & 127](i2) | 0; - HEAP32[i7 >> 2] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i11, i2); - i1 = i8 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i8 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i9); - HEAP32[i8 + 4 >> 2] = 0; - i1 = i8; } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i8, i9); - HEAP8[i1 >> 0] = 0; - i1 = i8; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i8, 0); - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 63](i11, i2); - i1 = i10 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i8 = HEAP32[i10 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i8, i9); - HEAP32[i10 + 4 >> 2] = 0; - } else { - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i10, i9); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i10, 0); - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i11); - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; - } - HEAP32[i12 >> 2] = i1; - STACKTOP = i13; - return; -} - -function __ZN6vision38ComputeSubpixelHessianCoarseOctavePairEPfS0_RKNS_5ImageES3_S3_ii(i1, i2, i8, i9, i12, i13, i14) { - i1 = i1 | 0; - i2 = i2 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i10 = 0, i11 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, i27 = 0; - i18 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i15 = i18 + 28 | 0; - i16 = i18 + 24 | 0; - i17 = i18 + 20 | 0; - i3 = i18 + 16 | 0; - i4 = i18 + 12 | 0; - i5 = i18 + 8 | 0; - i6 = i18 + 4 | 0; - i7 = i18; - if ((i13 | 0) > 0 ? (i13 + 1 | 0) >>> 0 < (__ZNK6vision5Image5widthEv(i9) | 0) >>> 0 : 0) { - i10 = i14 + -1 | 0; - if ((i14 | 0) > 0 ? (i11 = i14 + 1 | 0, i11 >>> 0 < (__ZNK6vision5Image6heightEv(i9) | 0) >>> 0) : 0) { - i19 = (__ZNK6vision5Image5widthEv(i8) | 0) >>> 1; - if ((i19 | 0) != (__ZNK6vision5Image5widthEv(i9) | 0)) { - i19 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22973) | 0, 22444) | 0, 33528) | 0, 361) | 0, 33535) | 0, 23030) | 0; - __ZNKSt3__28ios_base6getlocEv(i15, i19 + (HEAP32[(HEAP32[i19 >> 2] | 0) + -12 >> 2] | 0) | 0); - i20 = __ZNKSt3__26locale9use_facetERNS0_2idE(i15, 57916) | 0; - i20 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i20 >> 2] | 0) + 28 >> 2] & 63](i20, 10) | 0; - __ZNSt3__26localeD2Ev(i15); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i19, i20) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i19) | 0; - _abort(); - } - i20 = (__ZNK6vision5Image5widthEv(i8) | 0) >>> 1; - if ((i20 | 0) != (__ZNK6vision5Image5widthEv(i12) | 0)) { - i20 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23060) | 0, 22444) | 0, 33528) | 0, 362) | 0, 33535) | 0, 23030) | 0; - __ZNKSt3__28ios_base6getlocEv(i15, i20 + (HEAP32[(HEAP32[i20 >> 2] | 0) + -12 >> 2] | 0) | 0); - i19 = __ZNKSt3__26locale9use_facetERNS0_2idE(i15, 57916) | 0; - i19 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i19 >> 2] | 0) + 28 >> 2] & 63](i19, 10) | 0; - __ZNSt3__26localeD2Ev(i15); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i20, i19) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i20) | 0; - _abort(); - } - i20 = (__ZNK6vision5Image6heightEv(i8) | 0) >>> 1; - if ((i20 | 0) != (__ZNK6vision5Image6heightEv(i9) | 0)) { - i20 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23117) | 0, 22444) | 0, 33528) | 0, 363) | 0, 33535) | 0, 23030) | 0; - __ZNKSt3__28ios_base6getlocEv(i15, i20 + (HEAP32[(HEAP32[i20 >> 2] | 0) + -12 >> 2] | 0) | 0); - i19 = __ZNKSt3__26locale9use_facetERNS0_2idE(i15, 57916) | 0; - i19 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i19 >> 2] | 0) + 28 >> 2] & 63](i19, 10) | 0; - __ZNSt3__26localeD2Ev(i15); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i20, i19) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i20) | 0; - _abort(); - } - i20 = (__ZNK6vision5Image6heightEv(i8) | 0) >>> 1; - if ((i20 | 0) == (__ZNK6vision5Image6heightEv(i12) | 0)) { - i27 = (__ZNK6vision5Image3getIfEEPKT_m(i9, i14) | 0) + (i13 << 2) | 0; - i20 = (__ZNK6vision5Image3getIfEEPKT_m(i12, i10) | 0) + (i13 << 2) | 0; - i15 = (__ZNK6vision5Image3getIfEEPKT_m(i12, i14) | 0) + (i13 << 2) | 0; - i19 = (__ZNK6vision5Image3getIfEEPKT_m(i12, i11) | 0) + (i13 << 2) | 0; - __ZN6vision23bilinear_upsample_pointERfS0_ffi(i16, i17, +(i13 | 0), +(i14 | 0), 1); - __ZN6vision26ComputeSubpixelDerivativesERfS0_S0_S0_S0_RKNS_5ImageEii(i3, i4, i5, i6, i7, i9, i13, i14); - d21 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i8, +HEAPF32[i16 >> 2], +HEAPF32[i17 >> 2]); - d22 = +HEAPF32[i15 >> 2]; - d23 = d22 + (d21 - +HEAPF32[i27 >> 2] * 2.0); - d26 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i8, +HEAPF32[i16 >> 2] + -2.0, +HEAPF32[i17 >> 2]); - d26 = d26 + +HEAPF32[i15 + 4 >> 2]; - d25 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i8, +HEAPF32[i16 >> 2] + 2.0, +HEAPF32[i17 >> 2]); - d25 = (d26 - (d25 + +HEAPF32[i15 + -4 >> 2])) * .25; - d26 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i8, +HEAPF32[i16 >> 2], +HEAPF32[i17 >> 2] + -2.0); - d26 = d26 + +HEAPF32[i19 >> 2]; - d24 = +__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i8, +HEAPF32[i16 >> 2], +HEAPF32[i17 >> 2] + 2.0); - d24 = (d26 - (d24 + +HEAPF32[i20 >> 2])) * .25; - HEAP32[i1 >> 2] = HEAP32[i5 >> 2]; - i20 = HEAP32[i7 >> 2] | 0; - HEAP32[i1 + 4 >> 2] = i20; - HEAPF32[i1 + 8 >> 2] = d25; - HEAP32[i1 + 12 >> 2] = i20; - HEAP32[i1 + 16 >> 2] = HEAP32[i6 >> 2]; - HEAPF32[i1 + 20 >> 2] = d24; - HEAPF32[i1 + 24 >> 2] = d25; - HEAPF32[i1 + 28 >> 2] = d24; - HEAPF32[i1 + 32 >> 2] = d23; - HEAPF32[i2 >> 2] = -+HEAPF32[i3 >> 2]; - HEAPF32[i2 + 4 >> 2] = -+HEAPF32[i4 >> 2]; - HEAPF32[i2 + 8 >> 2] = -((d22 - d21) * .5); - STACKTOP = i18; - return; - } else { - i27 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 23176) | 0, 22444) | 0, 33528) | 0, 364) | 0, 33535) | 0, 23030) | 0; - __ZNKSt3__28ios_base6getlocEv(i15, i27 + (HEAP32[(HEAP32[i27 >> 2] | 0) + -12 >> 2] | 0) | 0); - i20 = __ZNKSt3__26locale9use_facetERNS0_2idE(i15, 57916) | 0; - i20 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i20 >> 2] | 0) + 28 >> 2] & 63](i20, 10) | 0; - __ZNSt3__26localeD2Ev(i15); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i27, i20) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i27) | 0; - _abort(); - } - } - i27 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22898) | 0, 22444) | 0, 33528) | 0, 360) | 0, 33535) | 0, 22957) | 0; - __ZNKSt3__28ios_base6getlocEv(i15, i27 + (HEAP32[(HEAP32[i27 >> 2] | 0) + -12 >> 2] | 0) | 0); - i20 = __ZNKSt3__26locale9use_facetERNS0_2idE(i15, 57916) | 0; - i20 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i20 >> 2] | 0) + 28 >> 2] & 63](i20, 10) | 0; - __ZNSt3__26localeD2Ev(i15); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i27, i20) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i27) | 0; - _abort(); - } - i27 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22824) | 0, 22444) | 0, 33528) | 0, 359) | 0, 33535) | 0, 22882) | 0; - __ZNKSt3__28ios_base6getlocEv(i15, i27 + (HEAP32[(HEAP32[i27 >> 2] | 0) + -12 >> 2] | 0) | 0); - i20 = __ZNKSt3__26locale9use_facetERNS0_2idE(i15, 57916) | 0; - i20 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i20 >> 2] | 0) + 28 >> 2] & 63](i20, 10) | 0; - __ZNSt3__26localeD2Ev(i15); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i27, i20) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i27) | 0; - _abort(); -} - -function __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPNS_4NodeILi96EEEPKhiPKii(i10, i15, i11, i12, i8, i9) { - i10 = i10 | 0; - i15 = i15 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i13 = 0, i14 = 0, i16 = 0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i13 = i16 + 20 | 0; - i14 = i16; - i1 = i10 + 12 | 0; - i7 = __ZNK6vision14BinarykMedoidsILi96EE1kEv(i1) | 0; - if ((__ZN6vision4max2IiEET_S1_S1_(i7, HEAP32[i10 + 108 >> 2] | 0) | 0) >= (i9 | 0)) { - __ZN6vision4NodeILi96EE4leafEb(i15, 1); - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm(__ZN6vision4NodeILi96EE12reverseIndexEv(i15) | 0, i9); - i1 = 0; - while (1) { - if ((i1 | 0) >= (i9 | 0)) break; - i13 = HEAP32[i8 + (i1 << 2) >> 2] | 0; - i14 = __ZN6vision4NodeILi96EE12reverseIndexEv(i15) | 0; - HEAP32[(HEAP32[i14 >> 2] | 0) + (i1 << 2) >> 2] = i13; - i1 = i1 + 1 | 0; + $6 = ($2 << 4) + $7 | 0; + HEAP32[$6 >> 2] = $14; + HEAP32[$6 + 4 >> 2] = 0; + HEAP32[$6 + 8 >> 2] = $16; + HEAP32[$6 + 12 >> 2] = 0; + $2 = $2 + 1 | 0; + $6 = HEAP32[$4 + 8 >> 2]; + continue; } - STACKTOP = i16; - return; } - HEAP32[i14 >> 2] = 0; - HEAP32[i14 + 4 >> 2] = 0; - HEAP32[i14 + 8 >> 2] = 0; - HEAP32[i14 + 12 >> 2] = 0; - HEAP32[i14 + 16 >> 2] = 1065353216; - __ZN6vision14BinarykMedoidsILi96EE6assignEPKhiPKii(i1, i11, i12, i8, i9); - i6 = __ZNK6vision14BinarykMedoidsILi96EE10assignmentEv(i1) | 0; - i7 = i6 + 4 | 0; - i2 = HEAP32[i7 >> 2] | 0; - i1 = HEAP32[i6 >> 2] | 0; - if ((i2 - i1 >> 2 | 0) != (i9 | 0)) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27230) | 0, 27286) | 0, 33528) | 0, 363) | 0, 33535) | 0, 27416) | 0; - __ZNKSt3__28ios_base6getlocEv(i13, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i13, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - i5 = 0; + return $5; +} + +function arLabelingSubDBRC($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $6 = ($1 | 0) > 0 ? $1 : 0; + $9 = HEAP32[$4 >> 2]; + $10 = $2 - 1 | 0; + $7 = $9 + (Math_imul($10, $1) << 1) | 0; + $8 = $9; while (1) { - if (i5 >>> 0 >= i2 - i1 >> 2 >>> 0) { - i1 = 10; - break; - } - i1 = HEAP32[i1 + (i5 << 2) >> 2] | 0; - if ((i1 | 0) == -1) { - i1 = 12; - break; + if (($5 | 0) != ($6 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$8 >> 1] = 0; + $5 = $5 + 1 | 0; + $8 = $8 + 2 | 0; + $7 = $7 + 2 | 0; + continue; } - if ((i1 | 0) >= (i9 | 0)) { - i1 = 14; - break; + break; + } + $13 = ($2 | 0) > 0 ? $2 : 0; + $11 = $1 - 1 | 0; + $7 = ($11 << 1) + $9 | 0; + $5 = 0; + $8 = $9; + while (1) { + if (($5 | 0) != ($13 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$8 >> 1] = 0; + $5 = $5 + 1 | 0; + $6 = $1 << 1; + $7 = $7 + $6 | 0; + $8 = $6 + $8 | 0; + continue; } - i1 = i8 + (i1 << 2) | 0; - if ((HEAP32[i1 >> 2] | 0) >= (i12 | 0)) { - i1 = 16; + break; + } + $18 = ($10 | 0) > 1 ? $10 : 1; + $15 = $4 + 1310736 | 0; + $14 = $4 + 1179664 | 0; + $5 = $1 + 1 | 0; + $13 = $5 + $0 | 0; + $16 = ($11 | 0) > 1 ? $11 : 1; + $19 = $16 - 1 | 0; + $8 = ($5 << 1) + $9 | 0; + $20 = 0 - $1 << 1; + $0 = 1; + label$5: { + label$6: while (1) { + if (($0 | 0) != ($18 | 0)) { + $21 = $13 + $19 | 0; + $7 = 1; + while (1) { + label$9: { + label$10: { + label$11: { + if (($7 | 0) != ($16 | 0)) { + if (HEAPU8[$13 | 0] <= ($3 | 0)) { + $5 = $8 + $20 | 0; + $6 = HEAPU16[$5 >> 1]; + $9 = $6 << 16 >> 16; + if (($9 | 0) > 0) { + HEAP16[$8 >> 1] = $9; + $5 = Math_imul($6, 28) + $15 | 0; + HEAP32[$5 - 4 >> 2] = $0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + break label$9; + } + $10 = HEAPU16[$5 - 2 >> 1]; + $6 = $10 << 16 >> 16; + $5 = HEAP16[$5 + 2 >> 1]; + if (($5 | 0) > 0) { + if (($6 | 0) > 0) { + $9 = HEAP32[(($5 << 2) + $14 | 0) - 4 >> 2]; + $10 = HEAP32[(($10 << 2) + $14 | 0) - 4 >> 2]; + if (($9 | 0) > ($10 | 0)) { + HEAP16[$8 >> 1] = $10; + $6 = 0; + $11 = ($12 | 0) > 0 ? $12 : 0; + $5 = $14; + while (1) { + if (($6 | 0) == ($11 | 0)) { + $9 = $10; + break label$10; + } + if (HEAP32[$5 >> 2] == ($9 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$8 >> 1] = $9; + if (($9 | 0) >= ($10 | 0)) { + break label$10; + } + $6 = 0; + $11 = ($12 | 0) > 0 ? $12 : 0; + $5 = $14; + while (1) { + if (($6 | 0) == ($11 | 0)) { + break label$10; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $9; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + $6 = HEAP16[$8 - 2 >> 1]; + if (($6 | 0) > 0) { + $9 = HEAP32[(($5 << 2) + $14 | 0) - 4 >> 2]; + $10 = HEAP32[((($6 & 65535) << 2) + $14 | 0) - 4 >> 2]; + if (($9 | 0) > ($10 | 0)) { + HEAP16[$8 >> 1] = $10; + $6 = 0; + $11 = ($12 | 0) > 0 ? $12 : 0; + $5 = $14; + while (1) { + if (($6 | 0) == ($11 | 0)) { + $9 = $10; + break label$11; + } + if (HEAP32[$5 >> 2] == ($9 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$8 >> 1] = $9; + if (($9 | 0) >= ($10 | 0)) { + break label$11; + } + $6 = 0; + $11 = ($12 | 0) > 0 ? $12 : 0; + $5 = $14; + while (1) { + if (($6 | 0) == ($11 | 0)) { + break label$11; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $9; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$8 >> 1] = $5; + $5 = Math_imul($5, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $0; + $6 = $5 - 16 | 0; + if (HEAP32[$6 >> 2] > ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $0; + break label$9; + } + if (($6 | 0) > 0) { + HEAP16[$8 >> 1] = $6; + $5 = Math_imul($10, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $0; + $6 = $5 - 12 | 0; + if (HEAP32[$6 >> 2] < ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $0; + break label$9; + } + $5 = HEAPU16[$8 - 2 >> 1]; + $6 = $5 << 16 >> 16; + if (($6 | 0) > 0) { + HEAP16[$8 >> 1] = $6; + $5 = Math_imul($5, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $0; + $5 = $5 - 12 | 0; + if (HEAP32[$5 >> 2] >= ($7 | 0)) { + break label$9; + } + HEAP32[$5 >> 2] = $7; + break label$9; + } + if (($12 | 0) >= 32768) { + arLog(0, 3, 1508, 0); + $6 = -1; + break label$5; + } + $6 = $12 + 1 | 0; + HEAP16[$8 >> 1] = $6; + HEAP32[($12 << 2) + $14 >> 2] = $6 << 16 >> 16; + $5 = Math_imul($12, 28) + $15 | 0; + HEAP32[$5 + 24 >> 2] = $0; + HEAP32[$5 + 20 >> 2] = $0; + HEAP32[$5 + 16 >> 2] = $7; + HEAP32[$5 + 12 >> 2] = $7; + HEAP32[$5 + 8 >> 2] = $0; + HEAP32[$5 + 4 >> 2] = $7; + HEAP32[$5 >> 2] = 1; + $12 = $6; + break label$9; + } + HEAP16[$8 >> 1] = 0; + break label$9; + } + $8 = $8 + 4 | 0; + $13 = $21 + 2 | 0; + $0 = $0 + 1 | 0; + continue label$6; + } + $5 = Math_imul($9 << 16 >> 16, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + break label$9; + } + $5 = Math_imul($9 << 16 >> 16, 28) + $15 | 0; + HEAP32[$5 - 4 >> 2] = $0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + } + $8 = $8 + 2 | 0; + $13 = $13 + 1 | 0; + $7 = $7 + 1 | 0; + continue; + } + } break; } - i1 = __ZNSt3__213unordered_mapIiNS_6vectorIiNS_9allocatorIiEEEENS_4hashIiEENS_8equal_toIiEENS2_INS_4pairIKiS4_EEEEEixERSA_(i14, i1) | 0; - i2 = i8 + (i5 << 2) | 0; - i3 = i1 + 4 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i1 + 8 >> 2] | 0)) __ZNSt3__26vectorIiNS_9allocatorIiEEE21__push_back_slow_pathIRKiEEvOT_(i1, i2); else { - HEAP32[i4 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i3 >> 2] = i4 + 4; - } - i5 = i5 + 1 | 0; - i1 = HEAP32[i6 >> 2] | 0; - i2 = HEAP32[i7 >> 2] | 0; - } - if ((i1 | 0) == 10) { - i1 = i14 + 12 | 0; - L23 : do if ((HEAP32[i1 >> 2] | 0) == 1) { - __ZN6vision4NodeILi96EE4leafEb(i15, 1); - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm(__ZN6vision4NodeILi96EE12reverseIndexEv(i15) | 0, i9); - i1 = 0; - while (1) { - if ((i1 | 0) >= (i9 | 0)) break L23; - i12 = HEAP32[i8 + (i1 << 2) >> 2] | 0; - i13 = __ZN6vision4NodeILi96EE12reverseIndexEv(i15) | 0; - HEAP32[(HEAP32[i13 >> 2] | 0) + (i1 << 2) >> 2] = i12; - i1 = i1 + 1 | 0; - } - } else { - i9 = __ZN6vision4NodeILi96EE8childrenEv(i15) | 0; - __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE7reserveEm(i9, HEAP32[i1 >> 2] | 0); - i1 = i14 + 8 | 0; - while (1) { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) break L23; - i2 = i1; - i5 = i2 + 12 | 0; - i6 = i2 + 16 | 0; - if ((HEAP32[i6 >> 2] | 0) == (HEAP32[i5 >> 2] | 0)) break; - i3 = __Znwm(128) | 0; - i4 = __ZN6vision28BinaryHierarchicalClusteringILi96EE10nextNodeIdEv(i10) | 0; - __ZN6vision4NodeILi96EEC2EiPKh(i3, i4, i11 + ((HEAP32[i2 + 8 >> 2] | 0) * 96 | 0) | 0); - HEAP32[i13 >> 2] = i3; - __ZN6vision4NodeILi96EE4leafEb(i3, 0); - i2 = __ZN6vision4NodeILi96EE8childrenEv(i15) | 0; - i3 = i2 + 4 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i2 + 8 >> 2] | 0)) __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE21__push_back_slow_pathIRKS4_EEvOT_(i2, i13); else { - HEAP32[i4 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 4; - } - i9 = HEAP32[i5 >> 2] | 0; - __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPNS_4NodeILi96EEEPKhiPKii(i10, HEAP32[i13 >> 2] | 0, i11, i12, i9, (HEAP32[i6 >> 2] | 0) - i9 >> 2); - } - i15 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27639) | 0, 27286) | 0, 33528) | 0, 387) | 0, 33535) | 0, 27685) | 0; - __ZNKSt3__28ios_base6getlocEv(i13, i15 + (HEAP32[(HEAP32[i15 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i13, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i15, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i15) | 0; - _abort(); - } while (0); - __ZNSt3__213unordered_mapIiNS_6vectorIiNS_9allocatorIiEEEENS_4hashIiEENS_8equal_toIiEENS2_INS_4pairIKiS4_EEEEED2Ev(i14); - STACKTOP = i16; - return; - } else if ((i1 | 0) == 12) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27438) | 0, 27286) | 0, 33528) | 0, 365) | 0, 33535) | 0, 27481) | 0; - __ZNKSt3__28ios_base6getlocEv(i13, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i15 = __ZNKSt3__26locale9use_facetERNS0_2idE(i13, 57916) | 0; - i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i15 >> 2] | 0) + 28 >> 2] & 63](i15, 10) | 0; - __ZNSt3__26localeD2Ev(i13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i15) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } else if ((i1 | 0) == 14) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27503) | 0, 27286) | 0, 33528) | 0, 366) | 0, 33535) | 0, 27554) | 0; - __ZNKSt3__28ios_base6getlocEv(i13, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i15 = __ZNKSt3__26locale9use_facetERNS0_2idE(i13, 57916) | 0; - i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i15 >> 2] | 0) + 28 >> 2] & 63](i15, 10) | 0; - __ZNSt3__26localeD2Ev(i13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i15) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } else if ((i1 | 0) == 16) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27578) | 0, 27286) | 0, 33528) | 0, 367) | 0, 33535) | 0, 27554) | 0; - __ZNKSt3__28ios_base6getlocEv(i13, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i15 = __ZNKSt3__26locale9use_facetERNS0_2idE(i13, 57916) | 0; - i15 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i15 >> 2] | 0) + 28 >> 2] & 63](i15, 10) | 0; - __ZNSt3__26localeD2Ev(i13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i15) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } -} - -function __ZN10__cxxabiv112_GLOBAL__N_128parse_pointer_to_member_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i5 = i5 | 0; - var i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - i11 = i15 + 96 | 0; - i13 = i15 + 72 | 0; - i14 = i15 + 48 | 0; - i10 = i15 + 36 | 0; - i6 = i15 + 24 | 0; - i7 = i15 + 12 | 0; - i8 = i15; - if (((((i1 | 0) != (i2 | 0) ? (HEAP8[i1 >> 0] | 0) == 77 : 0) ? (i16 = i1 + 1 | 0, i3 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i16, i2, i5) | 0, (i3 | 0) != (i16 | 0)) : 0) ? (i12 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i3, i2, i5) | 0, (i12 | 0) != (i3 | 0)) : 0) ? (i9 = i5 + 4 | 0, i4 = HEAP32[i9 >> 2] | 0, ((i4 - (HEAP32[i5 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i13, i4 + -24 | 0); - i2 = HEAP32[i9 >> 2] | 0; - i1 = 0; + $8 = $4 + 131084 | 0; + $9 = (($12 | 0) > 0 ? $12 : 0) + 1 | 0; + $5 = 1; + $13 = 1; + $7 = $14; while (1) { - if ((i1 | 0) == -1) break; - i16 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i16 * 24 | 0) | 0); - i1 = i16; - } - HEAP32[i9 >> 2] = i2 + -24; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i14, i2 + -48 | 0); - i4 = i13 + 12 | 0; - L11 : do if ((HEAP8[((HEAP8[i4 + 11 >> 0] | 0) < 0 ? HEAP32[i4 >> 2] | 0 : i4) >> 0] | 0) == 40) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i13, 49669) | 0; - HEAP32[i7 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i7 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i7 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i13 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i8, i14); - i1 = HEAP8[i8 + 11 >> 0] | 0; - i16 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i7, i16 ? HEAP32[i8 >> 2] | 0 : i8, i16 ? HEAP32[i8 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i6 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i6 + 4 >> 2] = HEAP32[i7 + 4 >> 2]; - HEAP32[i6 + 8 >> 2] = HEAP32[i7 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i7 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i6, 51091) | 0; - HEAP32[i10 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i6 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i6 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i6 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i9 >> 2] | 0; - i2 = i1 + -24 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i16 = HEAP32[i2 >> 2] | 0; - HEAP8[i11 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i16, i11); - HEAP32[i1 + -20 >> 2] = 0; - } else { - HEAP8[i11 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i11); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i4, 0, 49667) | 0; - HEAP32[i10 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i4 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i4 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i4 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i9 >> 2] | 0; - i2 = i1 + -12 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i16 = HEAP32[i2 >> 2] | 0; - HEAP8[i11 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i16, i11); - HEAP32[i1 + -8 >> 2] = 0; - } else { - HEAP8[i11 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i11); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - } else { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i13, 49701) | 0; - HEAP32[i7 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i7 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i7 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i13 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i8, i14); - i1 = HEAP8[i8 + 11 >> 0] | 0; - i16 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i7, i16 ? HEAP32[i8 >> 2] | 0 : i8, i16 ? HEAP32[i8 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i6 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i6 + 4 >> 2] = HEAP32[i7 + 4 >> 2]; - HEAP32[i6 + 8 >> 2] = HEAP32[i7 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i7 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i6, 51091) | 0; - HEAP32[i10 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i6 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i6 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i6 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i9 >> 2] | 0; - i2 = i1 + -24 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i16 = HEAP32[i2 >> 2] | 0; - HEAP8[i11 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i16, i11); - HEAP32[i1 + -20 >> 2] = 0; - } else { - HEAP8[i11 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i11); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i7); - i1 = HEAP32[i9 >> 2] | 0; - i2 = i1 + -12 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i16 = HEAP32[i2 >> 2] | 0; - HEAP8[i11 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i16, i11); - HEAP32[i1 + -8 >> 2] = 0; - } else { - HEAP8[i11 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i11); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i4 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i4 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break L11; - HEAP32[i4 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - } while (0); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i14); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i13); - i1 = i12; - } - STACKTOP = i15; - return i1 | 0; -} - -function _jpgread(i12, i18, i19, i20, i21) { - i12 = i12 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i22 = 0, i23 = 0, i24 = 0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 800 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(800); - i16 = i24 + 504 | 0; - i15 = i24 + 496 | 0; - i14 = i24 + 488 | 0; - i17 = 4; - i23 = _malloc(40) | 0; - HEAP32[i23 >> 2] = 0; - i22 = i24 + 24 | 0; - i3 = i24 + 512 | 0; - i13 = i24; - _memset(i22 | 0, 0, 464) | 0; - __THREW__ = 0; - i4 = invoke_ii(62, i3 | 0) | 0; - i1 = __THREW__; - __THREW__ = 0; - if ((i1 | 0) != 0 & (threwValue | 0) != 0) { - i2 = _testSetjmp(HEAP32[i1 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i2) _longjmp(i1 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i2 = -1; - i1 = getTempRet0() | 0; - if ((i2 | 0) != 1) { - HEAP32[i22 >> 2] = i4; - HEAP32[i3 >> 2] = 112; - i23 = _saveSetjmp(i3 + 132 | 0, 1, i23 | 0, i17 | 0) | 0; - i17 = getTempRet0() | 0; - __THREW__ = 0; - i1 = __THREW__; - __THREW__ = 0; - if ((i1 | 0) != 0 & (threwValue | 0) != 0) { - i2 = _testSetjmp(HEAP32[i1 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i2) _longjmp(i1 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i2 = -1; - i1 = getTempRet0() | 0; - if ((i2 | 0) == 1) i2 = i1; else i2 = 0; - } else i2 = i1; - L4 : while (1) { - if (i2 | 0) { - __THREW__ = 0; - invoke_vi(113, i22 | 0); - i1 = __THREW__; - __THREW__ = 0; - if ((i1 | 0) != 0 & (threwValue | 0) != 0) { - i2 = _testSetjmp(HEAP32[i1 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i2) _longjmp(i1 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i2 = -1; - i1 = getTempRet0() | 0; - if ((i2 | 0) == 1) { - i2 = i1; + if (($5 | 0) != ($9 | 0)) { + $6 = HEAP32[$7 >> 2]; + label$37: { + if (($6 | 0) == ($5 | 0)) { + $6 = $13; + $13 = $6 + 1 | 0; + break label$37; + } + $6 = HEAP32[(($6 << 2) + $14 | 0) - 4 >> 2]; + } + HEAP32[$7 >> 2] = $6; + $7 = $7 + 4 | 0; + $5 = $5 + 1 | 0; continue; } - __THREW__ = 0; - invoke_viiii(8, 0, 3, 19583, i14 | 0); - i1 = __THREW__; - __THREW__ = 0; - if ((i1 | 0) != 0 & (threwValue | 0) != 0) { - i2 = _testSetjmp(HEAP32[i1 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i2) _longjmp(i1 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i2 = -1; - i1 = getTempRet0() | 0; - if ((i2 | 0) == 1) { - i2 = i1; + break; + } + $7 = $13 - 1 | 0; + HEAP32[$4 + 8 >> 2] = $7; + if (!$7) { + return 0; + } + $13 = $4 + 12 | 0; + wasm2js_memory_fill($13, 0, $7 << 2); + $9 = $4 + 655376 | 0; + wasm2js_memory_fill($9, 0, $7 << 4); + $5 = 0; + while (1) if (($5 | 0) >= ($7 | 0)) { + $7 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + while (1) { + if (($0 | 0) == ($7 | 0)) { + $6 = 0; + $5 = HEAP32[$4 + 8 >> 2]; + $8 = ($5 | 0) > 0 ? $5 : 0; + $5 = 0; + while (1) { + if (($5 | 0) == ($8 | 0)) { + break label$5; + } + $7 = ($5 << 4) + $9 | 0; + $17 = +HEAP32[($5 << 2) + $13 >> 2]; + HEAPF64[$7 >> 3] = HEAPF64[$7 >> 3] / $17; + $0 = $7; + $7 = $7 + 8 | 0; + HEAPF64[$7 >> 3] = HEAPF64[$0 + 8 >> 3] / $17; + $5 = $5 + 1 | 0; + continue; + } + } + $6 = HEAP32[($7 << 2) + $14 >> 2] - 1 | 0; + $10 = $6 << 2; + $5 = $13 + $10 | 0; + $1 = $5; + $2 = HEAP32[$5 >> 2]; + $5 = Math_imul($7, 28) + $15 | 0; + HEAP32[$1 >> 2] = $2 + HEAP32[$5 >> 2]; + $11 = $6 << 4; + $6 = $11 + $9 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] + +HEAP32[$5 + 4 >> 2]; + $1 = $6; + $6 = $6 + 8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$1 + 8 >> 3] + +HEAP32[$5 + 8 >> 2]; + $6 = $8 + $11 | 0; + $11 = HEAP32[$5 + 12 >> 2]; + if (($11 | 0) < HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $11; + } + $11 = HEAP32[$5 + 16 >> 2]; + $6 = $10 << 2; + $10 = ($6 | 4) + $8 | 0; + if (($11 | 0) > HEAP32[$10 >> 2]) { + HEAP32[$10 >> 2] = $11; + } + $11 = HEAP32[$5 + 20 >> 2]; + $10 = ($6 | 8) + $8 | 0; + if (($11 | 0) < HEAP32[$10 >> 2]) { + HEAP32[$10 >> 2] = $11; + } + $5 = HEAP32[$5 + 24 >> 2]; + $6 = ($6 | 12) + $8 | 0; + if (($5 | 0) > HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $5; + } + $7 = $7 + 1 | 0; continue; - } else { - i2 = 7; - break; } - } - __THREW__ = 0; - invoke_viii(1, i22 | 0, 62, 464); - i1 = __THREW__; - __THREW__ = 0; - if ((i1 | 0) != 0 & (threwValue | 0) != 0) { - i2 = _testSetjmp(HEAP32[i1 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i2) _longjmp(i1 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i2 = -1; - i1 = getTempRet0() | 0; - if ((i2 | 0) == 1) { - i2 = i1; + } else { + $7 = ($5 << 4) + $8 | 0; + HEAP32[$7 >> 2] = $1; + HEAP32[$7 + 4 >> 2] = 0; + HEAP32[$7 + 8 >> 2] = $2; + HEAP32[$7 + 12 >> 2] = 0; + $5 = $5 + 1 | 0; + $7 = HEAP32[$4 + 8 >> 2]; continue; } - __THREW__ = 0; - invoke_vii(39, i22 | 0, i12 | 0); - i1 = __THREW__; - __THREW__ = 0; - if ((i1 | 0) != 0 & (threwValue | 0) != 0) { - i2 = _testSetjmp(HEAP32[i1 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i2) _longjmp(i1 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i2 = -1; - i1 = getTempRet0() | 0; - if ((i2 | 0) == 1) { - i2 = i1; + } + return $6; +} + +function arLabelingSubDWRC($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $6 = ($1 | 0) > 0 ? $1 : 0; + $9 = HEAP32[$4 >> 2]; + $10 = $2 - 1 | 0; + $7 = $9 + (Math_imul($10, $1) << 1) | 0; + $8 = $9; + while (1) { + if (($5 | 0) != ($6 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$8 >> 1] = 0; + $5 = $5 + 1 | 0; + $8 = $8 + 2 | 0; + $7 = $7 + 2 | 0; continue; } - __THREW__ = 0; - i2 = invoke_iii(19, i22 | 0, 1) | 0; - i1 = __THREW__; - __THREW__ = 0; - if ((i1 | 0) != 0 & (threwValue | 0) != 0) { - i3 = _testSetjmp(HEAP32[i1 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i3) _longjmp(i1 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i3 = -1; - i1 = getTempRet0() | 0; - if ((i3 | 0) == 1) { - i2 = i1; + break; + } + $13 = ($2 | 0) > 0 ? $2 : 0; + $11 = $1 - 1 | 0; + $7 = ($11 << 1) + $9 | 0; + $5 = 0; + $8 = $9; + while (1) { + if (($5 | 0) != ($13 | 0)) { + HEAP16[$7 >> 1] = 0; + HEAP16[$8 >> 1] = 0; + $5 = $5 + 1 | 0; + $6 = $1 << 1; + $7 = $7 + $6 | 0; + $8 = $6 + $8 | 0; continue; } - if ((i2 | 0) != 1) { - __THREW__ = 0; - invoke_viiii(8, 0, 3, 19609, i15 | 0); - i1 = __THREW__; - __THREW__ = 0; - if ((i1 | 0) != 0 & (threwValue | 0) != 0) { - i2 = _testSetjmp(HEAP32[i1 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i2) _longjmp(i1 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i2 = -1; - i1 = getTempRet0() | 0; - if ((i2 | 0) == 1) { - i2 = i1; - continue; + break; + } + $18 = ($10 | 0) > 1 ? $10 : 1; + $15 = $4 + 1310736 | 0; + $14 = $4 + 1179664 | 0; + $5 = $1 + 1 | 0; + $13 = $5 + $0 | 0; + $16 = ($11 | 0) > 1 ? $11 : 1; + $19 = $16 - 1 | 0; + $8 = ($5 << 1) + $9 | 0; + $20 = 0 - $1 << 1; + $0 = 1; + label$5: { + label$6: while (1) { + if (($0 | 0) != ($18 | 0)) { + $21 = $13 + $19 | 0; + $7 = 1; + while (1) { + label$9: { + label$10: { + label$11: { + if (($7 | 0) != ($16 | 0)) { + if (HEAPU8[$13 | 0] > ($3 | 0)) { + $5 = $8 + $20 | 0; + $6 = HEAPU16[$5 >> 1]; + $9 = $6 << 16 >> 16; + if (($9 | 0) > 0) { + HEAP16[$8 >> 1] = $9; + $5 = Math_imul($6, 28) + $15 | 0; + HEAP32[$5 - 4 >> 2] = $0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + break label$9; + } + $10 = HEAPU16[$5 - 2 >> 1]; + $6 = $10 << 16 >> 16; + $5 = HEAP16[$5 + 2 >> 1]; + if (($5 | 0) > 0) { + if (($6 | 0) > 0) { + $9 = HEAP32[(($5 << 2) + $14 | 0) - 4 >> 2]; + $10 = HEAP32[(($10 << 2) + $14 | 0) - 4 >> 2]; + if (($9 | 0) > ($10 | 0)) { + HEAP16[$8 >> 1] = $10; + $6 = 0; + $11 = ($12 | 0) > 0 ? $12 : 0; + $5 = $14; + while (1) { + if (($6 | 0) == ($11 | 0)) { + $9 = $10; + break label$10; + } + if (HEAP32[$5 >> 2] == ($9 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$8 >> 1] = $9; + if (($9 | 0) >= ($10 | 0)) { + break label$10; + } + $6 = 0; + $11 = ($12 | 0) > 0 ? $12 : 0; + $5 = $14; + while (1) { + if (($6 | 0) == ($11 | 0)) { + break label$10; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $9; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + $6 = HEAP16[$8 - 2 >> 1]; + if (($6 | 0) > 0) { + $9 = HEAP32[(($5 << 2) + $14 | 0) - 4 >> 2]; + $10 = HEAP32[((($6 & 65535) << 2) + $14 | 0) - 4 >> 2]; + if (($9 | 0) > ($10 | 0)) { + HEAP16[$8 >> 1] = $10; + $6 = 0; + $11 = ($12 | 0) > 0 ? $12 : 0; + $5 = $14; + while (1) { + if (($6 | 0) == ($11 | 0)) { + $9 = $10; + break label$11; + } + if (HEAP32[$5 >> 2] == ($9 | 0)) { + HEAP32[$5 >> 2] = $10; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$8 >> 1] = $9; + if (($9 | 0) >= ($10 | 0)) { + break label$11; + } + $6 = 0; + $11 = ($12 | 0) > 0 ? $12 : 0; + $5 = $14; + while (1) { + if (($6 | 0) == ($11 | 0)) { + break label$11; + } + if (HEAP32[$5 >> 2] == ($10 | 0)) { + HEAP32[$5 >> 2] = $9; + } + $6 = $6 + 1 | 0; + $5 = $5 + 4 | 0; + continue; + } + } + HEAP16[$8 >> 1] = $5; + $5 = Math_imul($5, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $0; + $6 = $5 - 16 | 0; + if (HEAP32[$6 >> 2] > ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $0; + break label$9; + } + if (($6 | 0) > 0) { + HEAP16[$8 >> 1] = $6; + $5 = Math_imul($10, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $0; + $6 = $5 - 12 | 0; + if (HEAP32[$6 >> 2] < ($7 | 0)) { + HEAP32[$6 >> 2] = $7; + } + HEAP32[$5 - 4 >> 2] = $0; + break label$9; + } + $5 = HEAPU16[$8 - 2 >> 1]; + $6 = $5 << 16 >> 16; + if (($6 | 0) > 0) { + HEAP16[$8 >> 1] = $6; + $5 = Math_imul($5, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $6 = $5 - 20 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $0; + $5 = $5 - 12 | 0; + if (HEAP32[$5 >> 2] >= ($7 | 0)) { + break label$9; + } + HEAP32[$5 >> 2] = $7; + break label$9; + } + if (($12 | 0) >= 32768) { + arLog(0, 3, 1508, 0); + $6 = -1; + break label$5; + } + $6 = $12 + 1 | 0; + HEAP16[$8 >> 1] = $6; + HEAP32[($12 << 2) + $14 >> 2] = $6 << 16 >> 16; + $5 = Math_imul($12, 28) + $15 | 0; + HEAP32[$5 + 24 >> 2] = $0; + HEAP32[$5 + 20 >> 2] = $0; + HEAP32[$5 + 16 >> 2] = $7; + HEAP32[$5 + 12 >> 2] = $7; + HEAP32[$5 + 8 >> 2] = $0; + HEAP32[$5 + 4 >> 2] = $7; + HEAP32[$5 >> 2] = 1; + $12 = $6; + break label$9; + } + HEAP16[$8 >> 1] = 0; + break label$9; + } + $8 = $8 + 4 | 0; + $13 = $21 + 2 | 0; + $0 = $0 + 1 | 0; + continue label$6; + } + $5 = Math_imul($9 << 16 >> 16, 28) + $15 | 0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + break label$9; + } + $5 = Math_imul($9 << 16 >> 16, 28) + $15 | 0; + HEAP32[$5 - 4 >> 2] = $0; + $6 = $5 - 28 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + $6 = $5 - 24 | 0; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $7; + $5 = $5 - 20 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $0; + } + $8 = $8 + 2 | 0; + $13 = $13 + 1 | 0; + $7 = $7 + 1 | 0; + continue; + } } - __THREW__ = 0; - invoke_vi(113, i22 | 0); - i1 = __THREW__; - __THREW__ = 0; - if ((i1 | 0) != 0 & (threwValue | 0) != 0) { - i2 = _testSetjmp(HEAP32[i1 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i2) _longjmp(i1 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i2 = -1; - i1 = getTempRet0() | 0; - if ((i2 | 0) == 1) { - i2 = i1; + break; + } + $8 = $4 + 131084 | 0; + $9 = (($12 | 0) > 0 ? $12 : 0) + 1 | 0; + $5 = 1; + $13 = 1; + $7 = $14; + while (1) { + if (($5 | 0) != ($9 | 0)) { + $6 = HEAP32[$7 >> 2]; + label$37: { + if (($6 | 0) == ($5 | 0)) { + $6 = $13; + $13 = $6 + 1 | 0; + break label$37; + } + $6 = HEAP32[(($6 << 2) + $14 | 0) - 4 >> 2]; + } + HEAP32[$7 >> 2] = $6; + $7 = $7 + 4 | 0; + $5 = $5 + 1 | 0; continue; - } else { - i2 = 14; - break; } + break; } - __THREW__ = 0; - invoke_ii(63, i22 | 0) | 0; - i1 = __THREW__; - __THREW__ = 0; - if ((i1 | 0) != 0 & (threwValue | 0) != 0) { - i2 = _testSetjmp(HEAP32[i1 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i2) _longjmp(i1 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i2 = -1; - i1 = getTempRet0() | 0; - if ((i2 | 0) == 1) { - i2 = i1; - continue; + $7 = $13 - 1 | 0; + HEAP32[$4 + 8 >> 2] = $7; + if (!$7) { + return 0; } - i9 = i22 + 36 | 0; - i10 = i22 + 28 | 0; - i8 = Math_imul(HEAP32[i10 >> 2] | 0, HEAP32[i9 >> 2] | 0) | 0; - i11 = i22 + 32 | 0; - i1 = Math_imul(i8, HEAP32[i11 >> 2] | 0) | 0; - __THREW__ = 0; - i1 = invoke_ii(64, i1 | 0) | 0; - i2 = __THREW__; - __THREW__ = 0; - if ((i2 | 0) != 0 & (threwValue | 0) != 0) { - i3 = _testSetjmp(HEAP32[i2 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i3) _longjmp(i2 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i3 = -1; - i2 = getTempRet0() | 0; - if ((i3 | 0) == 1) continue; - if (!i1) { - __THREW__ = 0; - invoke_viiii(8, 0, 3, 20454, i16 | 0); - i1 = __THREW__; - __THREW__ = 0; - if ((i1 | 0) != 0 & (threwValue | 0) != 0) { - i2 = _testSetjmp(HEAP32[i1 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i2) _longjmp(i1 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i2 = -1; - i1 = getTempRet0() | 0; - if ((i2 | 0) == 1) { - i2 = i1; + $13 = $4 + 12 | 0; + wasm2js_memory_fill($13, 0, $7 << 2); + $9 = $4 + 655376 | 0; + wasm2js_memory_fill($9, 0, $7 << 4); + $5 = 0; + while (1) if (($5 | 0) >= ($7 | 0)) { + $7 = 0; + $0 = ($12 | 0) > 0 ? $12 : 0; + while (1) { + if (($0 | 0) == ($7 | 0)) { + $6 = 0; + $5 = HEAP32[$4 + 8 >> 2]; + $8 = ($5 | 0) > 0 ? $5 : 0; + $5 = 0; + while (1) { + if (($5 | 0) == ($8 | 0)) { + break label$5; + } + $7 = ($5 << 4) + $9 | 0; + $17 = +HEAP32[($5 << 2) + $13 >> 2]; + HEAPF64[$7 >> 3] = HEAPF64[$7 >> 3] / $17; + $0 = $7; + $7 = $7 + 8 | 0; + HEAPF64[$7 >> 3] = HEAPF64[$0 + 8 >> 3] / $17; + $5 = $5 + 1 | 0; + continue; + } + } + $6 = HEAP32[($7 << 2) + $14 >> 2] - 1 | 0; + $10 = $6 << 2; + $5 = $13 + $10 | 0; + $1 = $5; + $2 = HEAP32[$5 >> 2]; + $5 = Math_imul($7, 28) + $15 | 0; + HEAP32[$1 >> 2] = $2 + HEAP32[$5 >> 2]; + $11 = $6 << 4; + $6 = $11 + $9 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] + +HEAP32[$5 + 4 >> 2]; + $1 = $6; + $6 = $6 + 8 | 0; + HEAPF64[$6 >> 3] = HEAPF64[$1 + 8 >> 3] + +HEAP32[$5 + 8 >> 2]; + $6 = $8 + $11 | 0; + $11 = HEAP32[$5 + 12 >> 2]; + if (($11 | 0) < HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $11; + } + $11 = HEAP32[$5 + 16 >> 2]; + $6 = $10 << 2; + $10 = ($6 | 4) + $8 | 0; + if (($11 | 0) > HEAP32[$10 >> 2]) { + HEAP32[$10 >> 2] = $11; + } + $11 = HEAP32[$5 + 20 >> 2]; + $10 = ($6 | 8) + $8 | 0; + if (($11 | 0) < HEAP32[$10 >> 2]) { + HEAP32[$10 >> 2] = $11; + } + $5 = HEAP32[$5 + 24 >> 2]; + $6 = ($6 | 12) + $8 | 0; + if (($5 | 0) > HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $5; + } + $7 = $7 + 1 | 0; continue; } - __THREW__ = 0; - invoke_vi(113, i22 | 0); - i1 = __THREW__; - __THREW__ = 0; - if ((i1 | 0) != 0 & (threwValue | 0) != 0) { - i2 = _testSetjmp(HEAP32[i1 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i2) _longjmp(i1 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i2 = -1; - i1 = getTempRet0() | 0; - if ((i2 | 0) == 1) { - i2 = i1; - continue; - } else { - i2 = 20; - break; + } else { + $7 = ($5 << 4) + $8 | 0; + HEAP32[$7 >> 2] = $1; + HEAP32[$7 + 4 >> 2] = 0; + HEAP32[$7 + 8 >> 2] = $2; + HEAP32[$7 + 12 >> 2] = 0; + $5 = $5 + 1 | 0; + $7 = HEAP32[$4 + 8 >> 2]; + continue; + } + } + return $6; +} + +function vision__BinarykMedoids_96___assign_28unsigned_20char_20const__2c_20int_2c_20int_20const__2c_20int_29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + label$1: { + label$2: { + label$3: { + $7 = $0 + 12 | 0; + if (HEAP32[$0 + 4 >> 2] == (std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($7) | 0)) { + if (($2 | 0) <= 0) { + break label$3; + } + if (($2 | 0) < ($4 | 0)) { + break label$2; + } + if (HEAP32[$0 + 4 >> 2] > ($4 | 0)) { + break label$1; + } + HEAP32[$6 + 12 >> 2] = -1; + $9 = $0 + 24 | 0; + std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_2c_20int_20const__29($9, $4, $6 + 12 | 0); + HEAP32[$6 + 8 >> 2] = -1; + $8 = $0 + 36 | 0; + std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_2c_20int_20const__29($8, $4, $6 + 8 | 0); + $5 = $0 + 48 | 0; + std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_29($5, $4); + void_20vision__SequentialVector_int__28int__2c_20int_2c_20int_29(std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29($5, 0), std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($5), 0); + $10 = std____2__numeric_limits_unsigned_20int___max_28_29(); + while (1) { + if (HEAP32[$0 + 8 >> 2] <= ($11 | 0)) { + if (HEAP32[$0 + 4 >> 2] != (std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($7) | 0)) { + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 18824), 18915), 9176), 187), 10040), 19127), 16); + abort(); + abort(); + } + } else { + void_20vision__ArrayShuffle_int__28int__2c_20int_2c_20int_2c_20int__29(std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29($5, 0), std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($5), HEAP32[$0 + 4 >> 2], HEAP32[$0 >> 2]); + $12 = vision__BinarykMedoids_96___assign_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20char_20const__2c_20int_2c_20int_20const__2c_20int_2c_20int_20const__2c_20int_29($0, $8, $1, $2, $3, $4, std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29($5, 0), HEAP32[$0 + 4 >> 2]); + if ($12 >>> 0 < $10 >>> 0) { + std____2__vector_int_2c_20std____2__allocator_int____swap_28std____2__vector_int_2c_20std____2__allocator_int____29($9, $8); + void_20vision__CopyVector_int__28int__2c_20int_20const__2c_20unsigned_20long_29(std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29($7, 0), std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29($5, 0), HEAP32[$0 + 4 >> 2]); + $10 = $12; + } + $11 = $11 + 1 | 0; + continue; + } + break; + } + __stack_pointer = $6 + 16 | 0; + return; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 18824), 18915), 9176), 154), 10040), 19127), 16); + abort(); + abort(); } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 19508), 18915), 9176), 155), 10040), 19649), 16); + abort(); + abort(); } - i6 = i22 + 140 | 0; - i7 = i22 + 116 | 0; - i5 = 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 19929), 18915), 9176), 156), 10040), 20069), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 20584), 18915), 9176), 157), 10040), 20704), 16); + abort(); + abort(); +} + +function fill_inverse_cmap($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $14 = __stack_pointer - 1408 | 0; + __stack_pointer = $14; + $5 = $3 << 3; + $19 = $5 & -32 | 4; + $6 = $2 << 2; + $21 = $6 & -32 | 2; + $7 = $1 << 3; + $22 = $7 & -32 | 4; + $24 = HEAP32[HEAP32[$0 + 484 >> 2] + 24 >> 2]; + $10 = HEAP32[$0 + 132 >> 2]; + label$1: { + if (($10 | 0) <= 0) { + break label$1; + } + $11 = $5 | 28; + $15 = $19 + $11 >> 1; + $18 = $6 | 30; + $17 = $21 + $18 >> 1; + $16 = $7 | 28; + $23 = $22 + $16 >> 1; + $5 = HEAP32[$0 + 136 >> 2]; + $9 = HEAP32[$5 + 8 >> 2]; + $8 = HEAP32[$5 + 4 >> 2]; + $20 = HEAP32[$5 >> 2]; + $5 = 0; + $7 = 2147483647; while (1) { - if ((HEAP32[i6 >> 2] | 0) >>> 0 >= (HEAP32[i7 >> 2] | 0) >>> 0) break; - i2 = 0; - while (1) { - if ((i2 | 0) == 5) break; - i4 = i1 + (Math_imul(i2 + i5 | 0, i8) | 0) | 0; - HEAP32[i13 + (i2 << 2) >> 2] = i4; - i2 = i2 + 1 | 0; - } - __THREW__ = 0; - i3 = invoke_iiii(26, i22 | 0, i13 | 0, 5) | 0; - i2 = __THREW__; - __THREW__ = 0; - if ((i2 | 0) != 0 & (threwValue | 0) != 0) { - i4 = _testSetjmp(HEAP32[i2 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i4) _longjmp(i2 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i4 = -1; - i2 = getTempRet0() | 0; - if ((i4 | 0) == 1) continue L4; - i5 = i3 + i5 | 0; - } - __THREW__ = 0; - invoke_ii(65, i22 | 0) | 0; - i2 = __THREW__; - __THREW__ = 0; - if ((i2 | 0) != 0 & (threwValue | 0) != 0) { - i3 = _testSetjmp(HEAP32[i2 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i3) _longjmp(i2 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i3 = -1; - i2 = getTempRet0() | 0; - if ((i3 | 0) == 1) continue; - __THREW__ = 0; - invoke_vi(113, i22 | 0); - i2 = __THREW__; - __THREW__ = 0; - if ((i2 | 0) != 0 & (threwValue | 0) != 0) { - i3 = _testSetjmp(HEAP32[i2 >> 2] | 0, i23 | 0, i17 | 0) | 0; - if (!i3) _longjmp(i2 | 0, threwValue | 0); - setTempRet0(threwValue | 0); - } else i3 = -1; - i2 = getTempRet0() | 0; - if ((i3 | 0) != 1) { - i2 = 30; + $6 = HEAPU8[$5 + $20 | 0]; + label$4: { + if (($22 | 0) > ($6 | 0)) { + $4 = $6 - $16 << 1; + $12 = Math_imul($4, $4); + $6 = $6 - $22 << 1; + $6 = Math_imul($6, $6); + break label$4; + } + if (($6 | 0) > ($16 | 0)) { + $4 = $6 - $22 << 1; + $12 = Math_imul($4, $4); + $6 = $6 - $16 << 1; + $6 = Math_imul($6, $6); + break label$4; + } + label$7: { + if (($6 | 0) <= ($23 | 0)) { + $6 = $6 - $16 << 1; + $12 = Math_imul($6, $6); + break label$7; + } + $6 = $6 - $22 << 1; + $12 = Math_imul($6, $6); + } + $6 = 0; + } + $4 = HEAPU8[$5 + $8 | 0]; + label$9: { + if (($21 | 0) > ($4 | 0)) { + $13 = Math_imul($4 - $21 | 0, 3); + $6 = Math_imul($13, $13) + $6 | 0; + $4 = Math_imul($4 - $18 | 0, 3); + $4 = Math_imul($4, $4); + break label$9; + } + if (($4 | 0) > ($18 | 0)) { + $13 = Math_imul($4 - $18 | 0, 3); + $6 = Math_imul($13, $13) + $6 | 0; + $4 = Math_imul($4 - $21 | 0, 3); + $4 = Math_imul($4, $4); + break label$9; + } + if (($4 | 0) <= ($17 | 0)) { + $4 = Math_imul($4 - $18 | 0, 3); + $4 = Math_imul($4, $4); + break label$9; + } + $4 = Math_imul($4 - $21 | 0, 3); + $4 = Math_imul($4, $4); + } + $12 = $12 + $4 | 0; + $4 = HEAPU8[$5 + $9 | 0]; + label$13: { + if (($19 | 0) > ($4 | 0)) { + $13 = $4 - $19 | 0; + $6 = Math_imul($13, $13) + $6 | 0; + $4 = $4 - $11 | 0; + $4 = Math_imul($4, $4); + break label$13; + } + if (($4 | 0) > ($11 | 0)) { + $13 = $4 - $11 | 0; + $6 = Math_imul($13, $13) + $6 | 0; + $4 = $4 - $19 | 0; + $4 = Math_imul($4, $4); + break label$13; + } + if (($4 | 0) <= ($15 | 0)) { + $4 = $4 - $11 | 0; + $4 = Math_imul($4, $4); + break label$13; + } + $4 = $4 - $19 | 0; + $4 = Math_imul($4, $4); + } + HEAP32[($14 + 384 | 0) + ($5 << 2) >> 2] = $6; + $6 = $12 + $4 | 0; + $7 = ($6 | 0) < ($7 | 0) ? $6 : $7; + $5 = $5 + 1 | 0; + if (($10 | 0) != ($5 | 0)) { + continue; + } break; } - } - L33 : do if ((i2 | 0) == 7) i1 = 0; else if ((i2 | 0) == 14) i1 = 0; else if ((i2 | 0) == 20) i1 = 0; else if ((i2 | 0) == 30) { - if (i18 | 0) HEAP32[i18 >> 2] = HEAP32[i10 >> 2]; - if (i19 | 0) HEAP32[i19 >> 2] = HEAP32[i11 >> 2]; - if (i20 | 0) HEAP32[i20 >> 2] = HEAP32[i9 >> 2]; - if (i21) { - i2 = HEAP8[i22 + 286 >> 0] | 0; - switch (i2 << 24 >> 24) { - case 1: - { - i2 = HEAP16[i22 + 288 >> 1] | 0; - if (i2 << 16 >> 16 == (HEAP16[i22 + 290 >> 1] | 0)) { - HEAPF32[i21 >> 2] = +(i2 & 65535); - break L33; - } - break; - } - case 2: - { - i2 = HEAP16[i22 + 288 >> 1] | 0; - if (i2 << 16 >> 16 == (HEAP16[i22 + 290 >> 1] | 0)) { - HEAPF32[i21 >> 2] = +(i2 & 65535) * 2.5399999618530273; - break L33; - } - break; - } - default: - if (((i2 & 255) > 2 ? (HEAP16[i22 + 288 >> 1] | 0) == 0 : 0) ? (HEAP16[i22 + 290 >> 1] | 0) == 0 : 0) { - HEAPF32[i21 >> 2] = +(i2 & 255); - break L33; - } - } - HEAPF32[i21 >> 2] = 0.0; - } - } while (0); - _free(i23 | 0); - STACKTOP = i24; - return i1 | 0; -} - -function __ZNSt3__213__nth_elementIRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEvT0_S9_S9_T_(i21, i1, i25, i26) { - i21 = i21 | 0; - i1 = i1 | 0; - i25 = i25 | 0; - i26 = i26 | 0; - var i2 = 0, i3 = 0, d4 = 0.0, d5 = 0.0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, d10 = 0.0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, i23 = 0, i24 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0; - i35 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i20 = i35 + 40 | 0; - i19 = i35 + 36 | 0; - i18 = i35 + 32 | 0; - i27 = i35 + 28 | 0; - i28 = i35 + 24 | 0; - i29 = i35 + 20 | 0; - i31 = i35 + 16 | 0; - i32 = i35 + 12 | 0; - i33 = i35 + 8 | 0; - i22 = i35 + 4 | 0; - i23 = i35; - i17 = HEAP32[i1 >> 2] | 0; - L1 : while (1) { - i16 = HEAP32[i25 >> 2] | 0; - i9 = i16; - i15 = i16 + -8 | 0; - i12 = i15; - i14 = i16 + -4 | 0; - if ((i17 | 0) == (i16 | 0)) break; - i13 = HEAP32[i21 >> 2] | 0; - i6 = i13; - L4 : while (1) { - i1 = i9 - i6 | 0; - i2 = i1 >> 3; - switch (i2 | 0) { - case 1: - case 0: - break L1; - case 2: - { - i34 = 5; - break L1; - } - case 3: - { - i34 = 10; - break L1; + $11 = $10 & 1; + label$17: { + if (($10 | 0) == 1) { + $15 = 0; + $5 = 0; + break label$17; + } + $12 = $10 & -2; + $15 = 0; + $5 = 0; + $6 = 0; + while (1) { + if (HEAP32[($14 + 384 | 0) + ($5 << 2) >> 2] <= ($7 | 0)) { + HEAP8[($14 + 128 | 0) + $15 | 0] = $5; + $15 = $15 + 1 | 0; + } + $4 = $5 | 1; + if (HEAP32[($14 + 384 | 0) + ($4 << 2) >> 2] <= ($7 | 0)) { + HEAP8[($14 + 128 | 0) + $15 | 0] = $4; + $15 = $15 + 1 | 0; + } + $5 = $5 + 2 | 0; + $6 = $6 + 2 | 0; + if (($12 | 0) != ($6 | 0)) { + continue; } - default: - {} - } - if ((i1 | 0) < 64) { - i34 = 12; - break L1; - } - i2 = i2 >>> 1; - i11 = i13 + (i2 << 3) | 0; - HEAP32[i33 >> 2] = i6; - HEAP32[i22 >> 2] = i11; - HEAP32[i23 >> 2] = i12; - HEAP32[i18 >> 2] = HEAP32[i33 >> 2]; - HEAP32[i19 >> 2] = HEAP32[i22 >> 2]; - HEAP32[i20 >> 2] = HEAP32[i23 >> 2]; - i1 = __ZNSt3__27__sort3IRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEjT0_S9_S9_T_(i18, i19, i20, i26) | 0; - i7 = i6; - d5 = +HEAPF32[i11 >> 2]; - d4 = +HEAPF32[i7 >> 2]; - if (d5 < d4) { - i34 = 53; break; } - i3 = i13 + (i2 << 3) + 4 | 0; - if (!(d4 < d5) ? (HEAP32[i3 >> 2] | 0) >>> 0 < (HEAP32[i7 + 4 >> 2] | 0) >>> 0 : 0) { - i34 = 53; + } + if (!$11 | HEAP32[($14 + 384 | 0) + ($5 << 2) >> 2] > ($7 | 0)) { + break label$1; + } + HEAP8[($14 + 128 | 0) + $15 | 0] = $5; + $15 = $15 + 1 | 0; + } + $6 = 127; + $5 = $14 + 384 | 0; + while (1) { + HEAP32[$5 + 24 >> 2] = 2147483647; + HEAP32[$5 + 28 >> 2] = 2147483647; + HEAP32[$5 + 16 >> 2] = 2147483647; + HEAP32[$5 + 20 >> 2] = 2147483647; + HEAP32[$5 + 8 >> 2] = 2147483647; + HEAP32[$5 + 12 >> 2] = 2147483647; + HEAP32[$5 >> 2] = 2147483647; + HEAP32[$5 + 4 >> 2] = 2147483647; + $5 = $5 + 32 | 0; + $7 = ($6 | 0) == 7; + $6 = $6 - 8 | 0; + if (!$7) { + continue; + } + break; + } + if (($15 | 0) > 0) { + $20 = 0; + while (1) { + $7 = HEAPU8[($14 + 128 | 0) + $20 | 0]; + $4 = HEAP32[$0 + 136 >> 2]; + $9 = $19 - HEAPU8[$7 + HEAP32[$4 + 8 >> 2] | 0] | 0; + $5 = $9 << 4; + $12 = $5 + 320 | 0; + $11 = $5 + 192 | 0; + $18 = $5 - -64 | 0; + $17 = $22 - HEAPU8[HEAP32[$4 >> 2] + $7 | 0] | 0; + $13 = $17 << 6; + $23 = $13 + 256 | 0; + $8 = 7; + $5 = $14 + 384 | 0; + $6 = $14; + $4 = $21 - HEAPU8[HEAP32[$4 + 4 >> 2] + $7 | 0] | 0; + $16 = Math_imul($4, 72) + 144 | 0; + $10 = $16; + $4 = Math_imul($4, 3); + $25 = Math_imul($4, $4); + $4 = $17 << 1; + $17 = ($25 + Math_imul($4, $4) | 0) + Math_imul($9, $9) | 0; + $4 = $17; + while (1) { + $9 = $8; + if (HEAP32[$5 >> 2] > ($4 | 0)) { + HEAP32[$5 >> 2] = $4; + HEAP8[$6 | 0] = $7; + } + $8 = $4 + $18 | 0; + if (($8 | 0) < HEAP32[$5 + 4 >> 2]) { + HEAP32[$5 + 4 >> 2] = $8; + HEAP8[$6 + 1 | 0] = $7; + } + $8 = $8 + $11 | 0; + if (($8 | 0) < HEAP32[$5 + 8 >> 2]) { + HEAP32[$5 + 8 >> 2] = $8; + HEAP8[$6 + 2 | 0] = $7; + } + $8 = $8 + $12 | 0; + if (($8 | 0) < HEAP32[$5 + 12 >> 2]) { + HEAP32[$5 + 12 >> 2] = $8; + HEAP8[$6 + 3 | 0] = $7; + } + $8 = $9 - 1 | 0; + $4 = $4 + $10 | 0; + $6 = $6 + 4 | 0; + $5 = $5 + 16 | 0; + $10 = $10 + 288 | 0; + if ($9) { + continue; + } break; } - i2 = i15; - while (1) { - i8 = i2 + -8 | 0; - if ((i8 | 0) == (i7 | 0)) break; - d4 = +HEAPF32[i8 >> 2]; - if (d5 < d4) { - i34 = 47; - break L4; - } - if (!(d4 < d5) ? (i24 = HEAP32[i2 + -4 >> 2] | 0, (HEAP32[i3 >> 2] | 0) >>> 0 < i24 >>> 0) : 0) { - i34 = 51; - break L4; - } - i2 = i8; - } - i3 = i7 + 8 | 0; - i1 = i3; - d10 = +HEAPF32[i15 >> 2]; - d5 = +HEAPF32[i13 >> 2]; - do if (!(d10 < d5)) { - if (!(d5 < d10)) { - i2 = i13 + 4 | 0; - if ((HEAP32[i14 >> 2] | 0) >>> 0 < (HEAP32[i2 >> 2] | 0) >>> 0) break; - } else i2 = i13 + 4 | 0; - while (1) { - if ((i3 | 0) == (i15 | 0)) break L1; - d4 = +HEAPF32[i3 >> 2]; - if (d4 < d5) { - i34 = 25; - break; - } - if (!(d5 < d4) ? (i30 = HEAP32[i3 + 4 >> 2] | 0, i30 >>> 0 < (HEAP32[i2 >> 2] | 0) >>> 0) : 0) { - i34 = 28; - break; - } - i3 = i3 + 8 | 0; - } - if ((i34 | 0) == 25) { - i34 = 0; - i2 = i3 + 4 | 0; - i1 = i2; - i2 = HEAP32[i2 >> 2] | 0; - } else if ((i34 | 0) == 28) { - i34 = 0; - i1 = i3 + 4 | 0; - i2 = i30; - } - HEAPF32[i3 >> 2] = d10; - HEAPF32[i15 >> 2] = d4; - HEAP32[i1 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i14 >> 2] = i2; - i1 = i3 + 8 | 0; - } while (0); - if ((i15 | 0) == (i1 | 0)) break L1; - i7 = i13 + 4 | 0; - i2 = i12; + $8 = 7; + $10 = $16; + $17 = $17 + $23 | 0; + $4 = $17; while (1) { - d5 = +HEAPF32[i13 >> 2]; - i6 = i1; - while (1) { - i1 = i6; - d4 = +HEAPF32[i1 >> 2]; - if (d4 < d5) break; - if (!(d5 < d4) ? (HEAP32[i1 + 4 >> 2] | 0) >>> 0 < (HEAP32[i7 >> 2] | 0) >>> 0 : 0) break; - i6 = i1 + 8 | 0; + $9 = $8; + if (HEAP32[$5 >> 2] > ($4 | 0)) { + HEAP32[$5 >> 2] = $4; + HEAP8[$6 | 0] = $7; + } + $8 = $4 + $18 | 0; + if (($8 | 0) < HEAP32[$5 + 4 >> 2]) { + HEAP32[$5 + 4 >> 2] = $8; + HEAP8[$6 + 1 | 0] = $7; + } + $8 = $8 + $11 | 0; + if (($8 | 0) < HEAP32[$5 + 8 >> 2]) { + HEAP32[$5 + 8 >> 2] = $8; + HEAP8[$6 + 2 | 0] = $7; + } + $8 = $8 + $12 | 0; + if (($8 | 0) < HEAP32[$5 + 12 >> 2]) { + HEAP32[$5 + 12 >> 2] = $8; + HEAP8[$6 + 3 | 0] = $7; + } + $8 = $9 - 1 | 0; + $4 = $4 + $10 | 0; + $6 = $6 + 4 | 0; + $5 = $5 + 16 | 0; + $10 = $10 + 288 | 0; + if ($9) { + continue; } - i3 = i6; - while (1) { - i1 = i2 + -8 | 0; - d4 = +HEAPF32[i1 >> 2]; - if (!(d4 < d5)) { - if (d5 < d4) break; - if ((HEAP32[i2 + -4 >> 2] | 0) >>> 0 >= (HEAP32[i7 >> 2] | 0) >>> 0) break; - } - i2 = i1; - } - if (i1 >>> 0 <= i3 >>> 0) break; - i8 = HEAP32[i6 >> 2] | 0; - HEAPF32[i6 >> 2] = d4; - HEAP32[i1 >> 2] = i8; - i8 = i3 + 4 | 0; - i2 = i2 + -4 | 0; - i11 = HEAP32[i8 >> 2] | 0; - HEAP32[i8 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = i11; - i2 = i1; - i1 = i3 + 8 | 0; - } - i1 = i6; - if (i17 >>> 0 < i1 >>> 0) break L1; - HEAP32[i21 >> 2] = i6; - i13 = i1; - } - if ((i34 | 0) == 47) { - i3 = i2 + -4 | 0; - i2 = i3; - i3 = HEAP32[i3 >> 2] | 0; - i34 = 52; - } else if ((i34 | 0) == 51) { - i2 = i2 + -4 | 0; - i3 = i24; - i34 = 52; - } else if ((i34 | 0) == 53) { - i34 = 0; - i3 = i15; - i14 = i6; - } - if ((i34 | 0) == 52) { - i34 = 0; - i14 = i6; - i13 = HEAP32[i6 >> 2] | 0; - HEAPF32[i6 >> 2] = d4; - HEAP32[i8 >> 2] = i13; - i13 = i14 + 4 | 0; - i15 = HEAP32[i13 >> 2] | 0; - HEAP32[i13 >> 2] = i3; - HEAP32[i2 >> 2] = i15; - i1 = i1 + 1 | 0; - i3 = i8; - } - i2 = i14 + 8 | 0; - i6 = i2; - if (i2 >>> 0 < i3 >>> 0) { - i12 = i11; - i2 = i6; + break; + } + $8 = 7; + $10 = $16; + $17 = ($13 + $17 | 0) + 768 | 0; + $4 = $17; while (1) { - i11 = i12; - i9 = i11 + 4 | 0; - d5 = +HEAPF32[i11 >> 2]; - while (1) { - i6 = i2; - d4 = +HEAPF32[i6 >> 2]; - if (!(d5 < d4)) { - if (d4 < d5) break; - if ((HEAP32[i9 >> 2] | 0) >>> 0 >= (HEAP32[i6 + 4 >> 2] | 0) >>> 0) break; - } - i2 = i6 + 8 | 0; + $9 = $8; + if (HEAP32[$5 >> 2] > ($4 | 0)) { + HEAP32[$5 >> 2] = $4; + HEAP8[$6 | 0] = $7; + } + $8 = $4 + $18 | 0; + if (($8 | 0) < HEAP32[$5 + 4 >> 2]) { + HEAP32[$5 + 4 >> 2] = $8; + HEAP8[$6 + 1 | 0] = $7; + } + $8 = $8 + $11 | 0; + if (($8 | 0) < HEAP32[$5 + 8 >> 2]) { + HEAP32[$5 + 8 >> 2] = $8; + HEAP8[$6 + 2 | 0] = $7; + } + $8 = $8 + $12 | 0; + if (($8 | 0) < HEAP32[$5 + 12 >> 2]) { + HEAP32[$5 + 12 >> 2] = $8; + HEAP8[$6 + 3 | 0] = $7; + } + $8 = $9 - 1 | 0; + $4 = $4 + $10 | 0; + $6 = $6 + 4 | 0; + $5 = $5 + 16 | 0; + $10 = $10 + 288 | 0; + if ($9) { + continue; } - i8 = i2; - while (1) { - i7 = i3 + -8 | 0; - d4 = +HEAPF32[i7 >> 2]; - if (d5 < d4) break; - if (!(d4 < d5) ? (HEAP32[i9 >> 2] | 0) >>> 0 < (HEAP32[i3 + -4 >> 2] | 0) >>> 0 : 0) break; - i3 = i7; - } - i6 = i7; - if (i7 >>> 0 <= i8 >>> 0) break; - i15 = HEAP32[i2 >> 2] | 0; - HEAPF32[i2 >> 2] = d4; - HEAP32[i7 >> 2] = i15; - i15 = i8 + 4 | 0; - i3 = i3 + -4 | 0; - i2 = HEAP32[i15 >> 2] | 0; - HEAP32[i15 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = i2; - i1 = i1 + 1 | 0; - i3 = i6; - i12 = (i11 | 0) == (i8 | 0) ? i6 : i12; - i2 = i8 + 8 | 0; - } - i13 = i2; - i11 = i12; - i6 = i2; - } else i13 = i2; - i9 = i6; - do if ((i11 | 0) != (i13 | 0)) { - d4 = +HEAPF32[i13 >> 2]; - d5 = +HEAPF32[i11 >> 2]; - if (!(d4 < d5)) { - if (d5 < d4) break; - i7 = i13 + 4 | 0; - i3 = HEAP32[i7 >> 2] | 0; - i2 = i11 + 4 | 0; - i8 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 >= i8 >>> 0) break; - } else { - i3 = i13 + 4 | 0; - i8 = i11 + 4 | 0; - i2 = i8; - i7 = i3; - i8 = HEAP32[i8 >> 2] | 0; - i3 = HEAP32[i3 >> 2] | 0; - } - i15 = HEAP32[i6 >> 2] | 0; - HEAPF32[i6 >> 2] = d5; - HEAP32[i11 >> 2] = i15; - HEAP32[i7 >> 2] = i8; - HEAP32[i2 >> 2] = i3; - i1 = i1 + 1 | 0; - } while (0); - if ((i17 | 0) == (i13 | 0)) break; - L95 : do if (!i1) if (i17 >>> 0 < i13 >>> 0) { - i1 = i14; - while (1) { - i2 = i1 + 8 | 0; - if ((i2 | 0) == (i13 | 0)) break L1; - d4 = +HEAPF32[i1 >> 2]; - d5 = +HEAPF32[i2 >> 2]; - if (d4 < d5) break L95; - if (!(d5 < d4) ? (HEAP32[i1 + 4 >> 2] | 0) >>> 0 < (HEAP32[i1 + 12 >> 2] | 0) >>> 0 : 0) break L95; - i1 = i2; + break; } - } else { - i1 = i9; + $4 = ($13 + $17 | 0) + 1280 | 0; + $9 = 7; while (1) { - i2 = i1 + 8 | 0; - if ((i2 | 0) == (i16 | 0)) break L1; - d4 = +HEAPF32[i1 >> 2]; - d5 = +HEAPF32[i2 >> 2]; - if (d4 < d5) break L95; - if (!(d5 < d4) ? (HEAP32[i1 + 4 >> 2] | 0) >>> 0 < (HEAP32[i1 + 12 >> 2] | 0) >>> 0 : 0) break L95; - i1 = i2; - } - } while (0); - if (i17 >>> 0 < i13 >>> 0) HEAP32[i25 >> 2] = i6; else HEAP32[i21 >> 2] = i13 + 8; - } - do if ((i34 | 0) == 5) { - HEAP32[i25 >> 2] = i15; - d4 = +HEAPF32[i13 >> 2]; - d5 = +HEAPF32[i15 >> 2]; - if (!(d4 < d5)) { - if (d5 < d4) break; - i1 = i13 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - i3 = HEAP32[i14 >> 2] | 0; - if (i2 >>> 0 >= i3 >>> 0) break; - } else { - i2 = i13 + 4 | 0; - i1 = i2; - i3 = HEAP32[i14 >> 2] | 0; - i2 = HEAP32[i2 >> 2] | 0; - } - HEAPF32[i13 >> 2] = d5; - HEAPF32[i15 >> 2] = d4; - HEAP32[i1 >> 2] = i3; - HEAP32[i14 >> 2] = i2; - } else if ((i34 | 0) == 10) { - HEAP32[i27 >> 2] = i6; - HEAP32[i28 >> 2] = i6 + 8; - HEAP32[i25 >> 2] = i15; - HEAP32[i29 >> 2] = i15; - HEAP32[i18 >> 2] = HEAP32[i27 >> 2]; - HEAP32[i19 >> 2] = HEAP32[i28 >> 2]; - HEAP32[i20 >> 2] = HEAP32[i29 >> 2]; - __ZNSt3__27__sort3IRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEjT0_S9_S9_T_(i18, i19, i20, i26) | 0; - } else if ((i34 | 0) == 12) { - HEAP32[i31 >> 2] = i6; - HEAP32[i32 >> 2] = i16; - HEAP32[i19 >> 2] = HEAP32[i31 >> 2]; - HEAP32[i20 >> 2] = HEAP32[i32 >> 2]; - __ZNSt3__216__selection_sortIRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEvT0_S9_T_(i19, i20, i26); - } while (0); - STACKTOP = i35; - return; -} - -function __ZN6vision32ComputeSubpixelHessianSameOctaveEPfS0_RKNS_5ImageES3_S3_ii(i1, i2, i6, i7, i10, i11, i12) { - i1 = i1 | 0; - i2 = i2 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - var i3 = 0, i4 = 0, i5 = 0, i8 = 0, i9 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, i24 = 0, i25 = 0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i13 = i16 + 20 | 0; - i14 = i16 + 16 | 0; - i15 = i16 + 12 | 0; - i3 = i16 + 8 | 0; - i4 = i16 + 4 | 0; - i5 = i16; - if ((i11 | 0) > 0 ? (i11 + 1 | 0) >>> 0 < (__ZNK6vision5Image5widthEv(i7) | 0) >>> 0 : 0) { - i8 = i12 + -1 | 0; - if ((i12 | 0) > 0 ? (i9 = i12 + 1 | 0, i9 >>> 0 < (__ZNK6vision5Image6heightEv(i7) | 0) >>> 0) : 0) { - i17 = __ZNK6vision5Image5widthEv(i6) | 0; - if ((i17 | 0) != (__ZNK6vision5Image5widthEv(i7) | 0)) { - i17 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24134) | 0, 22444) | 0, 33528) | 0, 311) | 0, 33535) | 0, 23030) | 0; - __ZNKSt3__28ios_base6getlocEv(i13, i17 + (HEAP32[(HEAP32[i17 >> 2] | 0) + -12 >> 2] | 0) | 0); - i18 = __ZNKSt3__26locale9use_facetERNS0_2idE(i13, 57916) | 0; - i18 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i18 >> 2] | 0) + 28 >> 2] & 63](i18, 10) | 0; - __ZNSt3__26localeD2Ev(i13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i17, i18) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i17) | 0; - _abort(); - } - i18 = __ZNK6vision5Image5widthEv(i6) | 0; - if ((i18 | 0) != (__ZNK6vision5Image5widthEv(i10) | 0)) { - i18 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24533) | 0, 22444) | 0, 33528) | 0, 312) | 0, 33535) | 0, 23030) | 0; - __ZNKSt3__28ios_base6getlocEv(i13, i18 + (HEAP32[(HEAP32[i18 >> 2] | 0) + -12 >> 2] | 0) | 0); - i17 = __ZNKSt3__26locale9use_facetERNS0_2idE(i13, 57916) | 0; - i17 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i17 >> 2] | 0) + 28 >> 2] & 63](i17, 10) | 0; - __ZNSt3__26localeD2Ev(i13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i18, i17) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i18) | 0; - _abort(); - } - i18 = __ZNK6vision5Image6heightEv(i6) | 0; - if ((i18 | 0) != (__ZNK6vision5Image6heightEv(i7) | 0)) { - i18 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24186) | 0, 22444) | 0, 33528) | 0, 313) | 0, 33535) | 0, 23030) | 0; - __ZNKSt3__28ios_base6getlocEv(i13, i18 + (HEAP32[(HEAP32[i18 >> 2] | 0) + -12 >> 2] | 0) | 0); - i17 = __ZNKSt3__26locale9use_facetERNS0_2idE(i13, 57916) | 0; - i17 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i17 >> 2] | 0) + 28 >> 2] & 63](i17, 10) | 0; - __ZNSt3__26localeD2Ev(i13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i18, i17) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i18) | 0; - _abort(); - } - i18 = __ZNK6vision5Image6heightEv(i6) | 0; - if ((i18 | 0) == (__ZNK6vision5Image6heightEv(i10) | 0)) { - i24 = (__ZNK6vision5Image3getIfEEPKT_m(i6, i8) | 0) + (i11 << 2) | 0; - i25 = (__ZNK6vision5Image3getIfEEPKT_m(i6, i12) | 0) + (i11 << 2) | 0; - i13 = (__ZNK6vision5Image3getIfEEPKT_m(i6, i9) | 0) + (i11 << 2) | 0; - i6 = (__ZNK6vision5Image3getIfEEPKT_m(i7, i12) | 0) + (i11 << 2) | 0; - i18 = (__ZNK6vision5Image3getIfEEPKT_m(i10, i8) | 0) + (i11 << 2) | 0; - i8 = (__ZNK6vision5Image3getIfEEPKT_m(i10, i12) | 0) + (i11 << 2) | 0; - i17 = (__ZNK6vision5Image3getIfEEPKT_m(i10, i9) | 0) + (i11 << 2) | 0; - __ZN6vision26ComputeSubpixelDerivativesERfS0_S0_S0_S0_RKNS_5ImageEii(i14, i15, i3, i4, i5, i7, i11, i12); - d20 = +HEAPF32[i8 >> 2]; - d19 = +HEAPF32[i25 >> 2]; - d21 = d20 + (d19 - +HEAPF32[i6 >> 2] * 2.0); - d23 = (+HEAPF32[i25 + -4 >> 2] - +HEAPF32[i25 + 4 >> 2] + (+HEAPF32[i8 + 4 >> 2] - +HEAPF32[i8 + -4 >> 2])) * .25; - d22 = (+HEAPF32[i24 >> 2] - +HEAPF32[i13 >> 2] + (+HEAPF32[i17 >> 2] - +HEAPF32[i18 >> 2])) * .25; - HEAP32[i1 >> 2] = HEAP32[i3 >> 2]; - i18 = HEAP32[i5 >> 2] | 0; - HEAP32[i1 + 4 >> 2] = i18; - HEAPF32[i1 + 8 >> 2] = d23; - HEAP32[i1 + 12 >> 2] = i18; - HEAP32[i1 + 16 >> 2] = HEAP32[i4 >> 2]; - HEAPF32[i1 + 20 >> 2] = d22; - HEAPF32[i1 + 24 >> 2] = d23; - HEAPF32[i1 + 28 >> 2] = d22; - HEAPF32[i1 + 32 >> 2] = d21; - HEAPF32[i2 >> 2] = -+HEAPF32[i14 >> 2]; - HEAPF32[i2 + 4 >> 2] = -+HEAPF32[i15 >> 2]; - HEAPF32[i2 + 8 >> 2] = -((d20 - d19) * .5); - STACKTOP = i16; - return; - } else { - i25 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24585) | 0, 22444) | 0, 33528) | 0, 314) | 0, 33535) | 0, 23030) | 0; - __ZNKSt3__28ios_base6getlocEv(i13, i25 + (HEAP32[(HEAP32[i25 >> 2] | 0) + -12 >> 2] | 0) | 0); - i24 = __ZNKSt3__26locale9use_facetERNS0_2idE(i13, 57916) | 0; - i24 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i24 >> 2] | 0) + 28 >> 2] & 63](i24, 10) | 0; - __ZNSt3__26localeD2Ev(i13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i25, i24) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i25) | 0; - _abort(); - } - } - i25 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22898) | 0, 22444) | 0, 33528) | 0, 310) | 0, 33535) | 0, 22957) | 0; - __ZNKSt3__28ios_base6getlocEv(i13, i25 + (HEAP32[(HEAP32[i25 >> 2] | 0) + -12 >> 2] | 0) | 0); - i24 = __ZNKSt3__26locale9use_facetERNS0_2idE(i13, 57916) | 0; - i24 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i24 >> 2] | 0) + 28 >> 2] & 63](i24, 10) | 0; - __ZNSt3__26localeD2Ev(i13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i25, i24) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i25) | 0; - _abort(); - } - i25 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22824) | 0, 22444) | 0, 33528) | 0, 309) | 0, 33535) | 0, 22882) | 0; - __ZNKSt3__28ios_base6getlocEv(i13, i25 + (HEAP32[(HEAP32[i25 >> 2] | 0) + -12 >> 2] | 0) | 0); - i24 = __ZNKSt3__26locale9use_facetERNS0_2idE(i13, 57916) | 0; - i24 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i24 >> 2] | 0) + 28 >> 2] & 63](i24, 10) | 0; - __ZNSt3__26localeD2Ev(i13); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i25, i24) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i25) | 0; - _abort(); -} - -function __ZNSt3__211__money_getIcE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_SF_Ri(i1, i2, i3, i6, i7, i8, i10, i5, i4, i12) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i10 = i10 | 0; - i5 = i5 | 0; - i4 = i4 | 0; - i12 = i12 | 0; - var i9 = 0, i11 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i13 + 12 | 0; - i11 = i13; - if (i1) { - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 58148) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 44 >> 2] & 63](i9, i2); - i1 = HEAP32[i9 >> 2] | 0; - HEAP8[i3 >> 0] = i1; - HEAP8[i3 + 1 >> 0] = i1 >> 8; - HEAP8[i3 + 2 >> 0] = i1 >> 16; - HEAP8[i3 + 3 >> 0] = i1 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 32 >> 2] & 63](i11, i2); - i1 = i4 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i4 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i9); - HEAP32[i4 + 4 >> 2] = 0; - i1 = i4; - } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i4, i9); - HEAP8[i1 >> 0] = 0; - i1 = i4; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i4, 0); - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i11, i2); - i1 = i5 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i5 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i9); - HEAP32[i5 + 4 >> 2] = 0; - i1 = i5; - } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5, i9); - HEAP8[i1 >> 0] = 0; - i1 = i5; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i5, 0); - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 12 >> 2] & 127](i2) | 0; - HEAP8[i6 >> 0] = i1; - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] & 127](i2) | 0; - HEAP8[i7 >> 0] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i11, i2); - i1 = i8 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i8 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i9); - HEAP32[i8 + 4 >> 2] = 0; - i1 = i8; - } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i8, i9); - HEAP8[i1 >> 0] = 0; - i1 = i8; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i8, 0); - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 63](i11, i2); - i1 = i10 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i10 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i9); - HEAP32[i10 + 4 >> 2] = 0; - i1 = i10; - } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i10, i9); - HEAP8[i1 >> 0] = 0; - i1 = i10; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i10, 0); - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; - } else { - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 58140) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 44 >> 2] & 63](i9, i2); - i1 = HEAP32[i9 >> 2] | 0; - HEAP8[i3 >> 0] = i1; - HEAP8[i3 + 1 >> 0] = i1 >> 8; - HEAP8[i3 + 2 >> 0] = i1 >> 16; - HEAP8[i3 + 3 >> 0] = i1 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 32 >> 2] & 63](i11, i2); - i1 = i4 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i4 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i9); - HEAP32[i4 + 4 >> 2] = 0; - i1 = i4; - } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i4, i9); - HEAP8[i1 >> 0] = 0; - i1 = i4; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i4, 0); - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i11, i2); - i1 = i5 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i5 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i9); - HEAP32[i5 + 4 >> 2] = 0; - i1 = i5; - } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5, i9); - HEAP8[i1 >> 0] = 0; - i1 = i5; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i5, 0); - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 12 >> 2] & 127](i2) | 0; - HEAP8[i6 >> 0] = i1; - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] & 127](i2) | 0; - HEAP8[i7 >> 0] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i11, i2); - i1 = i8 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i8 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i9); - HEAP32[i8 + 4 >> 2] = 0; - i1 = i8; - } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i8, i9); - HEAP8[i1 >> 0] = 0; - i1 = i8; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i8, 0); - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 63](i11, i2); - i1 = i10 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i10 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i9); - HEAP32[i10 + 4 >> 2] = 0; - i1 = i10; - } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i10, i9); - HEAP8[i1 >> 0] = 0; - i1 = i10; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i10, 0); - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; - } - HEAP32[i12 >> 2] = i1; - STACKTOP = i13; - return; -} - -function __ZNSt3__211__money_getIwE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_SJ_Ri(i1, i2, i3, i6, i7, i8, i10, i5, i4, i12) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i10 = i10 | 0; - i5 = i5 | 0; - i4 = i4 | 0; - i12 = i12 | 0; - var i9 = 0, i11 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i13 + 12 | 0; - i11 = i13; - if (i1) { - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 58164) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 44 >> 2] & 63](i9, i2); - i1 = HEAP32[i9 >> 2] | 0; - HEAP8[i3 >> 0] = i1; - HEAP8[i3 + 1 >> 0] = i1 >> 8; - HEAP8[i3 + 2 >> 0] = i1 >> 16; - HEAP8[i3 + 3 >> 0] = i1 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 32 >> 2] & 63](i11, i2); - i1 = i4 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i3 = HEAP32[i4 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i3, i9); - HEAP32[i4 + 4 >> 2] = 0; - } else { - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i4, i9); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i4, 0); - HEAP32[i4 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i4 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i4 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i11, i2); - i1 = i5 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i4, i9); - HEAP32[i5 + 4 >> 2] = 0; - } else { - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i5, i9); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i5, 0); - HEAP32[i5 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i5 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i5 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i11); - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 12 >> 2] & 127](i2) | 0; - HEAP32[i6 >> 2] = i1; - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] & 127](i2) | 0; - HEAP32[i7 >> 2] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i11, i2); - i1 = i8 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i8 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i9); - HEAP32[i8 + 4 >> 2] = 0; - i1 = i8; - } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i8, i9); - HEAP8[i1 >> 0] = 0; - i1 = i8; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i8, 0); - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 63](i11, i2); - i1 = i10 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i8 = HEAP32[i10 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i8, i9); - HEAP32[i10 + 4 >> 2] = 0; - } else { - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i10, i9); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i10, 0); - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i11); - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; - } else { - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 58156) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 44 >> 2] & 63](i9, i2); - i1 = HEAP32[i9 >> 2] | 0; - HEAP8[i3 >> 0] = i1; - HEAP8[i3 + 1 >> 0] = i1 >> 8; - HEAP8[i3 + 2 >> 0] = i1 >> 16; - HEAP8[i3 + 3 >> 0] = i1 >> 24; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 32 >> 2] & 63](i11, i2); - i1 = i4 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i3 = HEAP32[i4 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i3, i9); - HEAP32[i4 + 4 >> 2] = 0; - } else { - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i4, i9); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i4, 0); - HEAP32[i4 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i4 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i4 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i11, i2); - i1 = i5 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i4, i9); - HEAP32[i5 + 4 >> 2] = 0; - } else { - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i5, i9); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i5, 0); - HEAP32[i5 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i5 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i5 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i11); - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 12 >> 2] & 127](i2) | 0; - HEAP32[i6 >> 2] = i1; - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] & 127](i2) | 0; - HEAP32[i7 >> 2] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i11, i2); - i1 = i8 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i8 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i9); - HEAP32[i8 + 4 >> 2] = 0; - i1 = i8; - } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i8, i9); - HEAP8[i1 >> 0] = 0; - i1 = i8; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i8, 0); - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 63](i11, i2); - i1 = i10 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i8 = HEAP32[i10 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i8, i9); - HEAP32[i10 + 4 >> 2] = 0; - } else { - HEAP32[i9 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i10, i9); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i10, 0); - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i11); - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; - } - HEAP32[i12 >> 2] = i1; - STACKTOP = i13; - return; -} - -function __ZN6vision25bilinear_histogram_updateEPfffi(i5, d1, d6, i3) { - i5 = i5 | 0; - d1 = +d1; - d6 = +d6; - i3 = i3 | 0; - var d2 = 0.0, i4 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i8; - if (!i5) { - i4 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 26508) | 0, 26544) | 0, 33528) | 0, 139) | 0, 33535) | 0, 26667) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i4 + (HEAP32[(HEAP32[i4 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i4, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i4) | 0; - _abort(); - } - if (d1 + .5 > 0.0 ? (d2 = d1 + -.5, d2 < +(i3 | 0)) : 0) { - if (!(d6 >= 0.0)) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 26798) | 0, 26544) | 0, 33528) | 0, 141) | 0, 33535) | 0, 26836) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - if ((i3 | 0) <= -1) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 26865) | 0, 26544) | 0, 33528) | 0, 142) | 0, 33535) | 0, 26902) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - i9 = ~~+Math_floor(+d2); - d1 = d1 - +(i9 | 0) + -.5; - d2 = 1.0 - d1; - i4 = (i9 + i3 | 0) % (i3 | 0) | 0; - i3 = (i9 + 1 | 0) % (i3 | 0) | 0; - if (!(d2 >= 0.0)) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 26931) | 0, 26544) | 0, 33528) | 0, 150) | 0, 33535) | 0, 26962) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i10 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i10 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i10 >> 2] | 0) + 28 >> 2] & 63](i10, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i10) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - if (!(d1 >= 0.0)) { - i10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 26982) | 0, 26544) | 0, 33528) | 0, 151) | 0, 33535) | 0, 27013) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i10 + (HEAP32[(HEAP32[i10 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i10, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i10) | 0; - _abort(); - } - if ((i4 | 0) <= -1) { - i10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27033) | 0, 26544) | 0, 33528) | 0, 152) | 0, 33535) | 0, 27081) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i10 + (HEAP32[(HEAP32[i10 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i10, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i10) | 0; - _abort(); - } - if ((i3 | 0) > -1) { - i10 = i5 + (i4 << 2) | 0; - HEAPF32[i10 >> 2] = d2 * d6 + +HEAPF32[i10 >> 2]; - i10 = i5 + (i3 << 2) | 0; - HEAPF32[i10 >> 2] = d1 * d6 + +HEAPF32[i10 >> 2]; - STACKTOP = i8; - return; - } else { - i10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27107) | 0, 26544) | 0, 33528) | 0, 153) | 0, 33535) | 0, 27155) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i10 + (HEAP32[(HEAP32[i10 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i10, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i10) | 0; - _abort(); - } - } - i10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 26693) | 0, 26544) | 0, 33528) | 0, 140) | 0, 33535) | 0, 26758) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i10 + (HEAP32[(HEAP32[i10 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i10, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i10) | 0; - _abort(); -} - -function __ZN10__cxxabiv112_GLOBAL__N_117parse_vector_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i10, i11) { - i1 = i1 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i12 = i15 + 40 | 0; - i14 = i15 + 12 | 0; - i13 = i15; - i7 = i15 + 24 | 0; - L1 : do if (((i10 - i1 | 0) > 3 ? (HEAP8[i1 >> 0] | 0) == 68 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 118 : 0) { - i2 = i1 + 2 | 0; - i4 = HEAP8[i2 >> 0] | 0; - if ((i4 + -49 & 255) < 9) { - i3 = __ZN10__cxxabiv112_GLOBAL__N_112parse_numberEPKcS2_(i2, i10) | 0; - if ((i3 | 0) == (i10 | 0)) break; - if ((HEAP8[i3 >> 0] | 0) != 95) break; - i6 = i3 - i2 | 0; - i4 = i3 + 1 | 0; - if ((i4 | 0) == (i10 | 0)) break; - if ((HEAP8[i4 >> 0] | 0) != 112) { - i5 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i4, i10, i11) | 0; - if ((i5 | 0) == (i4 | 0)) break; - i3 = i11 + 4 | 0; - if ((HEAP32[i11 >> 2] | 0) == (HEAP32[i3 >> 2] | 0)) break; - HEAP32[i13 >> 2] = 0; - HEAP32[i13 + 4 >> 2] = 0; - HEAP32[i13 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i13, i2, i6); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i13, 0, 49707) | 0; - HEAP32[i14 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i14 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i14 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i13 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i14, 49716) | 0; - HEAP32[i12 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i12 + 4 >> 2] = HEAP32[i14 + 4 >> 2]; - HEAP32[i12 + 8 >> 2] = HEAP32[i14 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i14 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i12 + 11 >> 0] | 0; - i11 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i3 >> 2] | 0) + -24 | 0, i11 ? HEAP32[i12 >> 2] | 0 : i12, i11 ? HEAP32[i12 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - i1 = i5; + $10 = $9; + if (HEAP32[$5 >> 2] > ($4 | 0)) { + HEAP32[$5 >> 2] = $4; + HEAP8[$6 | 0] = $7; + } + $9 = $4 + $18 | 0; + if (($9 | 0) < HEAP32[$5 + 4 >> 2]) { + HEAP32[$5 + 4 >> 2] = $9; + HEAP8[$6 + 1 | 0] = $7; + } + $9 = $9 + $11 | 0; + if (($9 | 0) < HEAP32[$5 + 8 >> 2]) { + HEAP32[$5 + 8 >> 2] = $9; + HEAP8[$6 + 2 | 0] = $7; + } + $9 = $9 + $12 | 0; + if (($9 | 0) < HEAP32[$5 + 12 >> 2]) { + HEAP32[$5 + 12 >> 2] = $9; + HEAP8[$6 + 3 | 0] = $7; + } + $9 = $10 - 1 | 0; + $4 = $4 + $16 | 0; + $6 = $6 + 4 | 0; + $5 = $5 + 16 | 0; + $16 = $16 + 288 | 0; + if ($10) { + continue; + } break; } - i1 = i3 + 2 | 0; - HEAP32[i13 >> 2] = 0; - HEAP32[i13 + 4 >> 2] = 0; - HEAP32[i13 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i13, i2, i6); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i13, 0, 49718) | 0; - HEAP32[i14 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i14 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i14 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i13 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i14, 49716) | 0; - HEAP32[i7 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i7 + 4 >> 2] = HEAP32[i14 + 4 >> 2]; - HEAP32[i7 + 8 >> 2] = HEAP32[i14 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i14 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i12, i7); - i2 = i11 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i11 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i12); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i11, i12); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); + $20 = $20 + 1 | 0; + if (($20 | 0) != ($15 | 0)) { + continue; + } break; - }; - HEAP32[i14 >> 2] = 0; - HEAP32[i14 + 4 >> 2] = 0; - HEAP32[i14 + 8 >> 2] = 0; - i3 = 0; - while (1) { - if ((i3 | 0) == 3) break; - HEAP32[i14 + (i3 << 2) >> 2] = 0; - i3 = i3 + 1 | 0; - } - if (i4 << 24 >> 24 != 95 ? (i6 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i2, i10, i11) | 0, (i6 | 0) != (i2 | 0)) : 0) { - i4 = i11 + 4 | 0; - i2 = HEAP32[i4 >> 2] | 0; - if ((HEAP32[i11 >> 2] | 0) != (i2 | 0)) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i13, i2 + -24 | 0); - i2 = i14 + 11 | 0; - if ((HEAP8[i2 >> 0] | 0) < 0) { - i7 = HEAP32[i14 >> 2] | 0; - HEAP8[i12 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i7, i12); - HEAP32[i14 + 4 >> 2] = 0; - } else { - HEAP8[i12 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i14, i12); - HEAP8[i2 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i14); - HEAP32[i14 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i14 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i14 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i13 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - i3 = HEAP32[i4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i7 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i7 * 24 | 0) | 0); - i2 = i7; - } - HEAP32[i4 >> 2] = i3 + -24; - i2 = i6; - i5 = 44; - } - } else i5 = 44; - do if ((i5 | 0) == 44) { - if ((((i2 | 0) != (i10 | 0) ? (HEAP8[i2 >> 0] | 0) == 95 : 0) ? (i8 = i2 + 1 | 0, (i8 | 0) != (i10 | 0)) : 0) ? (i9 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i8, i10, i11) | 0, (i9 | 0) != (i8 | 0)) : 0) { - i2 = i11 + 4 | 0; - if ((HEAP32[i11 >> 2] | 0) == (HEAP32[i2 >> 2] | 0)) break; - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i13, 49707, i14); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i13, 49716) | 0; - HEAP32[i12 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i12 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i12 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i1 = 0; + } + } + $18 = $1 & -4; + $12 = 0; + $5 = $14; + $6 = ($3 & -4) << 1; + $11 = $2 & -8; + $16 = ($11 | 1) << 6; + $10 = ($11 | 2) << 6; + $9 = ($11 | 3) << 6; + $8 = ($11 | 4) << 6; + $20 = ($11 | 5) << 6; + $13 = ($11 | 6) << 6; + $19 = ($2 | 7) << 6; + while (1) { + $7 = HEAP32[($12 + $18 << 2) + $24 >> 2]; + $4 = ($7 + ($11 << 6) | 0) + $6 | 0; + HEAP16[$4 >> 1] = HEAPU8[$5 | 0] + 1; + HEAP16[$4 + 2 >> 1] = HEAPU8[$5 + 1 | 0] + 1; + HEAP16[$4 + 4 >> 1] = HEAPU8[$5 + 2 | 0] + 1; + HEAP16[$4 + 6 >> 1] = HEAPU8[$5 + 3 | 0] + 1; + $4 = ($7 + $16 | 0) + $6 | 0; + HEAP16[$4 >> 1] = HEAPU8[$5 + 4 | 0] + 1; + HEAP16[$4 + 2 >> 1] = HEAPU8[$5 + 5 | 0] + 1; + HEAP16[$4 + 4 >> 1] = HEAPU8[$5 + 6 | 0] + 1; + HEAP16[$4 + 6 >> 1] = HEAPU8[$5 + 7 | 0] + 1; + $4 = ($7 + $10 | 0) + $6 | 0; + HEAP16[$4 >> 1] = HEAPU8[$5 + 8 | 0] + 1; + HEAP16[$4 + 2 >> 1] = HEAPU8[$5 + 9 | 0] + 1; + HEAP16[$4 + 4 >> 1] = HEAPU8[$5 + 10 | 0] + 1; + HEAP16[$4 + 6 >> 1] = HEAPU8[$5 + 11 | 0] + 1; + $4 = ($7 + $9 | 0) + $6 | 0; + HEAP16[$4 >> 1] = HEAPU8[$5 + 12 | 0] + 1; + HEAP16[$4 + 2 >> 1] = HEAPU8[$5 + 13 | 0] + 1; + HEAP16[$4 + 4 >> 1] = HEAPU8[$5 + 14 | 0] + 1; + HEAP16[$4 + 6 >> 1] = HEAPU8[$5 + 15 | 0] + 1; + $4 = ($7 + $8 | 0) + $6 | 0; + HEAP16[$4 >> 1] = HEAPU8[$5 + 16 | 0] + 1; + HEAP16[$4 + 2 >> 1] = HEAPU8[$5 + 17 | 0] + 1; + HEAP16[$4 + 4 >> 1] = HEAPU8[$5 + 18 | 0] + 1; + HEAP16[$4 + 6 >> 1] = HEAPU8[$5 + 19 | 0] + 1; + $4 = ($7 + $20 | 0) + $6 | 0; + HEAP16[$4 >> 1] = HEAPU8[$5 + 20 | 0] + 1; + HEAP16[$4 + 2 >> 1] = HEAPU8[$5 + 21 | 0] + 1; + HEAP16[$4 + 4 >> 1] = HEAPU8[$5 + 22 | 0] + 1; + HEAP16[$4 + 6 >> 1] = HEAPU8[$5 + 23 | 0] + 1; + $4 = ($7 + $13 | 0) + $6 | 0; + HEAP16[$4 >> 1] = HEAPU8[$5 + 24 | 0] + 1; + HEAP16[$4 + 2 >> 1] = HEAPU8[$5 + 25 | 0] + 1; + HEAP16[$4 + 4 >> 1] = HEAPU8[$5 + 26 | 0] + 1; + HEAP16[$4 + 6 >> 1] = HEAPU8[$5 + 27 | 0] + 1; + $7 = ($7 + $19 | 0) + $6 | 0; + HEAP16[$7 >> 1] = HEAPU8[$5 + 28 | 0] + 1; + HEAP16[$7 + 2 >> 1] = HEAPU8[$5 + 29 | 0] + 1; + HEAP16[$7 + 4 >> 1] = HEAPU8[$5 + 30 | 0] + 1; + HEAP16[$7 + 6 >> 1] = HEAPU8[$5 + 31 | 0] + 1; + $5 = $5 + 32 | 0; + $12 = $12 + 1 | 0; + if (($12 | 0) != 4) { + continue; + } + break; + } + __stack_pointer = $14 + 1408 | 0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______rehash_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___________alloc_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________get_deleter_28_29($0)); + label$1: { + if ($1) { + std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______29($0, std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________allocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________2c_20unsigned_20long_29($2, $1)); + wasm2js_i32$0 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________size_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________get_deleter_28_29($0)), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = 0; + while (1) if (($1 | 0) == ($2 | 0)) { + $2 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______first_28_29($0 + 8 | 0)); + $3 = HEAP32[$2 >> 2]; + if (!$3) { + break label$1; + } + $7 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const($3), $1); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $7), + wasm2js_i32$1 = $2, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i13 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i12 + 11 >> 0] | 0; - i11 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i2 >> 2] | 0) + -24 | 0, i11 ? HEAP32[i12 >> 2] | 0 : i12, i11 ? HEAP32[i12 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - i1 = i9; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - break L1; - } while (0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - } while (0); - STACKTOP = i15; - return i1 | 0; -} - -function ___intscan(i13, i4, i6, i1, i2) { - i13 = i13 | 0; - i4 = i4 | 0; - i6 = i6 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i14 = 0, i15 = 0; - L1 : do if (i4 >>> 0 > 36) { - i2 = ___errno_location() | 0; - HEAP32[i2 >> 2] = 22; - i2 = 0; - i1 = 0; - } else { - i15 = i13 + 4 | 0; - i14 = i13 + 104 | 0; - do { - i3 = HEAP32[i15 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i14 >> 2] | 0) >>> 0) { - HEAP32[i15 >> 2] = i3 + 1; - i3 = HEAPU8[i3 >> 0] | 0; - } else i3 = ___shgetc(i13) | 0; - } while ((_isspace(i3) | 0) != 0); - L11 : do switch (i3 | 0) { - case 43: - case 45: - { - i3 = ((i3 | 0) == 45) << 31 >> 31; - i5 = HEAP32[i15 >> 2] | 0; - if (i5 >>> 0 < (HEAP32[i14 >> 2] | 0) >>> 0) { - HEAP32[i15 >> 2] = i5 + 1; - i12 = i3; - i3 = HEAPU8[i5 >> 0] | 0; - break L11; - } else { - i12 = i3; - i3 = ___shgetc(i13) | 0; - break L11; + $4 = HEAP32[$3 >> 2]; + if (!$4) { + break label$1; + } + label$6: { + $5 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const($4), $1); + if (($7 | 0) == ($5 | 0)) { + break label$6; + } + $6 = $4; + if (!HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2]) { + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5), + wasm2js_i32$1 = $3, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $7 = $5; + break label$6; + } + while (1) { + label$9: { + $2 = $6; + if (!HEAP32[$2 >> 2]) { + $6 = 0; + break label$9; + } + $8 = std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20arController__20const__2c_20std____2____hash_value_type_int_2c_20arController__20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____key_eq_28_29($0), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________upcast_28_29($4) + 8 | 0, std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________upcast_28_29(HEAP32[$2 >> 2]) + 8 | 0); + $6 = HEAP32[$2 >> 2]; + if ($8) { + continue; + } + } + break; + } + HEAP32[$3 >> 2] = $6; + wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2] >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2], + wasm2js_i32$1 = $4, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + continue; + } + $3 = $4; + continue; } - } - default: - i12 = 0; - } while (0); - i5 = (i4 | 0) == 0; - do if ((i4 | 16 | 0) == 16 & (i3 | 0) == 48) { - i3 = HEAP32[i15 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i14 >> 2] | 0) >>> 0) { - HEAP32[i15 >> 2] = i3 + 1; - i3 = HEAPU8[i3 >> 0] | 0; - } else i3 = ___shgetc(i13) | 0; - if ((i3 | 32 | 0) != 120) if (i5) { - i11 = 8; - i10 = 47; - break; - } else { - i10 = 32; - break; - } - i3 = HEAP32[i15 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i14 >> 2] | 0) >>> 0) { - HEAP32[i15 >> 2] = i3 + 1; - i3 = HEAPU8[i3 >> 0] | 0; - } else i3 = ___shgetc(i13) | 0; - if ((HEAPU8[3713 + i3 >> 0] | 0) > 15) { - i1 = (HEAP32[i14 >> 2] | 0) == 0; - if (!i1) HEAP32[i15 >> 2] = (HEAP32[i15 >> 2] | 0) + -1; - if (!i6) { - ___shlim(i13, 0, 0); - i2 = 0; - i1 = 0; - break L1; - } - if (i1) { - i2 = 0; - i1 = 0; - break L1; - } - HEAP32[i15 >> 2] = (HEAP32[i15 >> 2] | 0) + -1; - i2 = 0; - i1 = 0; - break L1; } else { - i11 = 16; - i10 = 47; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $2), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = $2 + 1 | 0; + continue; } - } else { - i4 = i5 ? 10 : i4; - if (i4 >>> 0 > (HEAPU8[3713 + i3 >> 0] | 0) >>> 0) i10 = 32; else { - if (HEAP32[i14 >> 2] | 0) HEAP32[i15 >> 2] = (HEAP32[i15 >> 2] | 0) + -1; - ___shlim(i13, 0, 0); - i2 = ___errno_location() | 0; - HEAP32[i2 >> 2] = 22; - i2 = 0; - i1 = 0; - break L1; - } - } while (0); - L43 : do if ((i10 | 0) == 32) if ((i4 | 0) == 10) { - i4 = i3 + -48 | 0; - if (i4 >>> 0 < 10) { - i3 = 0; - do { - i3 = (i3 * 10 | 0) + i4 | 0; - i4 = HEAP32[i15 >> 2] | 0; - if (i4 >>> 0 < (HEAP32[i14 >> 2] | 0) >>> 0) { - HEAP32[i15 >> 2] = i4 + 1; - i5 = HEAPU8[i4 >> 0] | 0; - } else i5 = ___shgetc(i13) | 0; - i4 = i5 + -48 | 0; - } while (i4 >>> 0 < 10 & i3 >>> 0 < 429496729); - if (i4 >>> 0 < 10) { - i9 = 0; - do { - i6 = ___muldi3(i3 | 0, i9 | 0, 10, 0) | 0; - i7 = getTempRet0() | 0; - i8 = ((i4 | 0) < 0) << 31 >> 31; - i11 = ~i8; - if (i7 >>> 0 > i11 >>> 0 | (i7 | 0) == (i11 | 0) & i6 >>> 0 > ~i4 >>> 0) { - i6 = 10; - i4 = i9; - i10 = 76; - break L43; - } - i3 = _i64Add(i6 | 0, i7 | 0, i4 | 0, i8 | 0) | 0; - i9 = getTempRet0() | 0; - i4 = HEAP32[i15 >> 2] | 0; - if (i4 >>> 0 < (HEAP32[i14 >> 2] | 0) >>> 0) { - HEAP32[i15 >> 2] = i4 + 1; - i5 = HEAPU8[i4 >> 0] | 0; - } else i5 = ___shgetc(i13) | 0; - i4 = i5 + -48 | 0; - } while (i4 >>> 0 < 10 & (i9 >>> 0 < 429496729 | (i9 | 0) == 429496729 & i3 >>> 0 < 2576980378)); - if (i4 >>> 0 > 9) { - i5 = i12; - i4 = i9; - } else { - i6 = 10; - i4 = i9; - i10 = 76; + } + std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______29($0, 0); + wasm2js_i32$0 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________size_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________get_deleter_28_29($0)), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } +} + +function pow($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $3 = 1; + wasm2js_scratch_store_f64(+$1); + $2 = wasm2js_scratch_load_i32(1) | 0; + $10 = wasm2js_scratch_load_i32(0) | 0; + $7 = $2; + label$1: { + label$2: { + $12 = $2; + $5 = $2 & 2147483647; + $8 = $10; + label$3: { + if (!($5 | $8)) { + break label$3; + } + wasm2js_scratch_store_f64(+$0); + $6 = wasm2js_scratch_load_i32(1) | 0; + $2 = wasm2js_scratch_load_i32(0) | 0; + $4 = $6; + $11 = $4; + if (!$2 & ($4 | 0) == 1072693248) { + break label$3; + } + $14 = $4 & 2147483647; + if (!(!($14 >>> 0 > 2146435072 | ($14 | 0) == 2146435072 & ($2 | 0) != 0 | $5 >>> 0 > 2146435072) & (!$8 | ($5 | 0) != 2146435072))) { + return $0 + $1; + } + label$5: { + label$6: { + label$7: { + $6 = 0; + label$8: { + if (($11 | 0) > 0 | ($11 | 0) >= 0) { + break label$8; + } + $6 = 2; + if ($5 >>> 0 > 1128267775) { + break label$8; + } + $6 = 0; + if ($5 >>> 0 < 1072693248) { + break label$8; + } + $15 = $5 >>> 20 | 0; + if ($5 >>> 0 < 1094713344) { + break label$7; + } + $15 = 1075 - $15 | 0; + $19 = $8 >>> $15 | 0; + $6 = 0; + if ($19 << $15 != ($8 | 0)) { + break label$8; + } + $6 = 2 - ($19 & 1) | 0; + } + if (!$8) { + break label$6; + } + break label$5; + } + $6 = 0; + if ($8) { + break label$5; + } + $8 = 1043 - $15 | 0; + $15 = $5 >>> $8 | 0; + $6 = 0; + if ($15 << $8 != ($5 | 0)) { + break label$6; + } + $6 = 2 - ($15 & 1) | 0; } - } else { - i5 = i12; - i4 = 0; + if (($5 | 0) == 2146435072) { + if (!($14 - 1072693248 | $2)) { + break label$3; + } + if ($14 >>> 0 >= 1072693248) { + return ($7 | 0) > 0 | ($7 | 0) >= 0 ? $1 : 0; + } + return ($7 | 0) > 0 | ($7 | 0) >= 0 ? 0 : -$1; + } + if (($5 | 0) == 1072693248) { + $2 = $7; + if (($2 | 0) > 0 | ($2 | 0) >= 0) { + return $0; + } + return 1 / $0; + } + if (($12 | 0) == 1073741824) { + return $0 * $0; + } + if (($12 | 0) != 1071644672 | ($11 | 0) < 0) { + break label$5; + } + return sqrt($0); } - } else { - i5 = i12; - i4 = 0; - i3 = 0; - } - } else { - i11 = i4; - i10 = 47; - } while (0); - L63 : do if ((i10 | 0) == 47) { - if (!(i11 + -1 & i11)) { - i10 = HEAP8[46090 + ((i11 * 23 | 0) >>> 5 & 7) >> 0] | 0; - i6 = HEAP8[3713 + i3 >> 0] | 0; - i4 = i6 & 255; - if (i11 >>> 0 > i4 >>> 0) { - i3 = 0; - do { - i3 = i4 | i3 << i10; - i4 = HEAP32[i15 >> 2] | 0; - if (i4 >>> 0 < (HEAP32[i14 >> 2] | 0) >>> 0) { - HEAP32[i15 >> 2] = i4 + 1; - i5 = HEAPU8[i4 >> 0] | 0; - } else i5 = ___shgetc(i13) | 0; - i6 = HEAP8[3713 + i5 >> 0] | 0; - i4 = i6 & 255; - } while (i3 >>> 0 < 134217728 & i11 >>> 0 > i4 >>> 0); - i7 = i4; - i4 = 0; - } else { - i5 = i3; - i7 = i4; - i4 = 0; - i3 = 0; - } - i8 = _bitshift64Lshr(-1, -1, i10 | 0) | 0; - i9 = getTempRet0() | 0; - if (i11 >>> 0 <= i7 >>> 0 | (i9 >>> 0 < i4 >>> 0 | (i9 | 0) == (i4 | 0) & i8 >>> 0 < i3 >>> 0)) { - i6 = i11; - i10 = 76; - break; + $3 = fabs($0); + label$14: { + if ($2) { + break label$14; + } + label$15: { + if (($4 | 0) < 0) { + if (($4 | 0) == -2147483648 | ($4 | 0) == -1074790400) { + break label$15; + } + if (($4 | 0) != -1048576) { + break label$14; + } + break label$15; + } + if (!$4 | ($4 | 0) == 2146435072) { + break label$15; + } + if (($4 | 0) != 1072693248) { + break label$14; + } + } + $3 = ($7 | 0) < 0 ? 1 / $3 : $3; + $2 = $11; + if (($2 | 0) > 0 | ($2 | 0) >= 0) { + break label$3; + } + if (!($14 - 1072693248 | $6)) { + $1 = $3 - $3; + return $1 / $1; + } + return ($6 | 0) == 1 ? -$3 : $3; } - while (1) { - i3 = _bitshift64Shl(i3 | 0, i4 | 0, i10 | 0) | 0; - i4 = getTempRet0() | 0; - i3 = i3 | i6 & 255; - i5 = HEAP32[i15 >> 2] | 0; - if (i5 >>> 0 < (HEAP32[i14 >> 2] | 0) >>> 0) { - HEAP32[i15 >> 2] = i5 + 1; - i5 = HEAPU8[i5 >> 0] | 0; - } else i5 = ___shgetc(i13) | 0; - i6 = HEAP8[3713 + i5 >> 0] | 0; - if (i11 >>> 0 <= (i6 & 255) >>> 0 | (i4 >>> 0 > i9 >>> 0 | (i4 | 0) == (i9 | 0) & i3 >>> 0 > i8 >>> 0)) { - i6 = i11; - i10 = 76; - break L63; - } - } - } - i4 = HEAP8[3713 + i3 >> 0] | 0; - i6 = i4 & 255; - if (i11 >>> 0 > i6 >>> 0) { - i3 = 0; - do { - i3 = i6 + (Math_imul(i3, i11) | 0) | 0; - i4 = HEAP32[i15 >> 2] | 0; - if (i4 >>> 0 < (HEAP32[i14 >> 2] | 0) >>> 0) { - HEAP32[i15 >> 2] = i4 + 1; - i5 = HEAPU8[i4 >> 0] | 0; - } else i5 = ___shgetc(i13) | 0; - i4 = HEAP8[3713 + i5 >> 0] | 0; - i6 = i4 & 255; - } while (i3 >>> 0 < 119304647 & i11 >>> 0 > i6 >>> 0); - i7 = i4; - i4 = 0; - } else { - i5 = i3; - i7 = i4; - i3 = 0; - i4 = 0; - } - if (i11 >>> 0 > i6 >>> 0) { - i9 = ___udivdi3(-1, -1, i11 | 0, 0) | 0; - i10 = getTempRet0() | 0; - i6 = i7; - while (1) { - if (i4 >>> 0 > i10 >>> 0 | (i4 | 0) == (i10 | 0) & i3 >>> 0 > i9 >>> 0) { - i6 = i11; - i10 = 76; - break L63; - } - i7 = ___muldi3(i3 | 0, i4 | 0, i11 | 0, 0) | 0; - i8 = getTempRet0() | 0; - i6 = i6 & 255; - if (i8 >>> 0 > 4294967295 | (i8 | 0) == -1 & i7 >>> 0 > ~i6 >>> 0) { - i6 = i11; - i10 = 76; - break L63; - } - i3 = _i64Add(i7 | 0, i8 | 0, i6 | 0, 0) | 0; - i4 = getTempRet0() | 0; - i5 = HEAP32[i15 >> 2] | 0; - if (i5 >>> 0 < (HEAP32[i14 >> 2] | 0) >>> 0) { - HEAP32[i15 >> 2] = i5 + 1; - i5 = HEAPU8[i5 >> 0] | 0; - } else i5 = ___shgetc(i13) | 0; - i6 = HEAP8[3713 + i5 >> 0] | 0; - if (i11 >>> 0 <= (i6 & 255) >>> 0) { - i6 = i11; - i10 = 76; - break; + $16 = 1; + $2 = $11; + label$18: { + if (($2 | 0) > 0 | ($2 | 0) >= 0) { + break label$18; } + label$19: { + switch ($6 | 0) { + case 0: + $1 = $0 - $0; + return $1 / $1; + + case 1: + break label$19; + + default: + break label$18; + } + } + $16 = -1; } - } else { - i6 = i11; - i10 = 76; - } - } while (0); - if ((i10 | 0) == 76) if (i6 >>> 0 > (HEAPU8[3713 + i5 >> 0] | 0) >>> 0) { - do { - i3 = HEAP32[i15 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i14 >> 2] | 0) >>> 0) { - HEAP32[i15 >> 2] = i3 + 1; - i3 = HEAPU8[i3 >> 0] | 0; - } else i3 = ___shgetc(i13) | 0; - } while (i6 >>> 0 > (HEAPU8[3713 + i3 >> 0] | 0) >>> 0); - i5 = ___errno_location() | 0; - HEAP32[i5 >> 2] = 34; - i5 = (i1 & 1 | 0) == 0 & 0 == 0 ? i12 : 0; - i4 = i2; - i3 = i1; - } else i5 = i12; - if (HEAP32[i14 >> 2] | 0) HEAP32[i15 >> 2] = (HEAP32[i15 >> 2] | 0) + -1; - if (!(i4 >>> 0 < i2 >>> 0 | (i4 | 0) == (i2 | 0) & i3 >>> 0 < i1 >>> 0)) { - if (!((i1 & 1 | 0) != 0 | 0 != 0 | (i5 | 0) != 0)) { - i15 = ___errno_location() | 0; - HEAP32[i15 >> 2] = 34; - i1 = _i64Add(i1 | 0, i2 | 0, -1, -1) | 0; - i2 = getTempRet0() | 0; - break; - } - if (i4 >>> 0 > i2 >>> 0 | (i4 | 0) == (i2 | 0) & i3 >>> 0 > i1 >>> 0) { - i15 = ___errno_location() | 0; - HEAP32[i15 >> 2] = 34; - break; + label$21: { + if ($5 >>> 0 >= 1105199105) { + if ($5 >>> 0 >= 1139802113) { + if ($14 >>> 0 <= 1072693247) { + return ($7 | 0) < 0 ? infinity : 0; + } + return ($12 | 0) > 0 ? infinity : 0; + } + if ($14 >>> 0 <= 1072693246) { + return ($7 | 0) < 0 ? $16 * 1e300 * 1e300 : $16 * 1e-300 * 1e-300; + } + if ($14 >>> 0 >= 1072693249) { + return ($12 | 0) > 0 ? $16 * 1e300 * 1e300 : $16 * 1e-300 * 1e-300; + } + $0 = $3 + -1; + $3 = $0 * 1.9259629911266175e-8 + $0 * $0 * (.5 - $0 * ($0 * -.25 + .3333333333333333)) * -1.4426950408889634; + $9 = $0 * 1.4426950216293335; + wasm2js_scratch_store_f64(+($3 + $9)); + $2 = wasm2js_scratch_load_i32(1) | 0; + wasm2js_scratch_load_i32(0) | 0; + wasm2js_scratch_store_i32(0, 0); + wasm2js_scratch_store_i32(1, $2 | 0); + $0 = +wasm2js_scratch_load_f64(); + $3 = $3 - ($0 - $9); + $11 = 0; + break label$21; + } + $0 = $3 * 9007199254740992; + $5 = $14 >>> 0 < 1048576; + $3 = $5 ? $0 : $3; + wasm2js_scratch_store_f64(+$0); + $6 = wasm2js_scratch_load_i32(1) | 0; + wasm2js_scratch_load_i32(0) | 0; + $12 = $5 ? $6 : $14; + $8 = $12 & 1048575; + $4 = $8 | 1072693248; + $12 = ($12 >> 20) + ($5 ? -1076 : -1023) | 0; + $5 = 0; + label$27: { + if ($8 >>> 0 < 235663) { + break label$27; + } + if ($8 >>> 0 < 767610) { + $5 = 1; + break label$27; + } + $4 = $8 | 1071644672; + $12 = $12 + 1 | 0; + } + $2 = 0; + $11 = $2; + $8 = $5 << 3; + $23 = HEAPF64[$8 + 45040 >> 3]; + wasm2js_scratch_store_f64(+$3); + wasm2js_scratch_load_i32(1) | 0; + $11 = 0; + $6 = wasm2js_scratch_load_i32(0) | 0; + $2 = $6; + wasm2js_scratch_store_i32(0, $11 | $2); + $6 = $11; + $2 = $4 | $6; + wasm2js_scratch_store_i32(1, $2 | 0); + $9 = +wasm2js_scratch_load_f64(); + $13 = HEAPF64[$8 + 45024 >> 3]; + $17 = $9 - $13; + $20 = 1 / ($13 + $9); + $3 = $17 * $20; + wasm2js_scratch_store_f64(+$3); + $2 = wasm2js_scratch_load_i32(1) | 0; + wasm2js_scratch_load_i32(0) | 0; + wasm2js_scratch_store_i32(0, 0); + wasm2js_scratch_store_i32(1, $2 | 0); + $0 = +wasm2js_scratch_load_f64(); + $18 = $0; + wasm2js_scratch_store_i32(0, 0); + $2 = (($5 << 18) + ($4 >>> 1 | 0) | 0) + 537395200 | 0; + wasm2js_scratch_store_i32(1, $2 | 0); + $21 = $0 * $0; + $22 = +wasm2js_scratch_load_f64(); + $9 = $20 * ($17 - $0 * $22 - $0 * ($9 - ($22 - $13))); + $13 = $9 * ($3 + $0); + $0 = $3 * $3; + $13 = $13 + $0 * $0 * ($0 * ($0 * ($0 * ($0 * ($0 * .20697501780033842 + .23066074577556175) + .272728123808534) + .33333332981837743) + .4285714285785502) + .5999999999999946); + wasm2js_scratch_store_f64(+($21 + 3 + $13)); + $6 = wasm2js_scratch_load_i32(1) | 0; + wasm2js_scratch_load_i32(0) | 0; + wasm2js_scratch_store_i32(0, 0); + $2 = $6; + wasm2js_scratch_store_i32(1, $2 | 0); + $0 = +wasm2js_scratch_load_f64(); + $17 = $18 * $0; + $3 = $9 * $0 + $3 * ($13 - ($0 + -3 - $21)); + wasm2js_scratch_store_f64(+($17 + $3)); + $2 = wasm2js_scratch_load_i32(1) | 0; + wasm2js_scratch_load_i32(0) | 0; + wasm2js_scratch_store_i32(0, 0); + wasm2js_scratch_store_i32(1, $2 | 0); + $0 = +wasm2js_scratch_load_f64(); + $3 = $23 + ($0 * -7.028461650952758e-9 + ($3 - ($0 - $17)) * .9617966939259756); + $18 = $3; + $9 = HEAPF64[$8 + 45056 >> 3]; + $13 = $0 * .9617967009544373; + $0 = $9 + ($3 + $13); + $3 = +($12 | 0); + wasm2js_scratch_store_f64(+($0 + $3)); + $2 = wasm2js_scratch_load_i32(1) | 0; + wasm2js_scratch_load_i32(0) | 0; + wasm2js_scratch_store_i32(0, 0); + wasm2js_scratch_store_i32(1, $2 | 0); + $0 = +wasm2js_scratch_load_f64(); + $3 = $18 - ($0 - $3 - $9 - $13); + $11 = 0; + } + wasm2js_scratch_store_i32(0, 0); + $2 = $7; + wasm2js_scratch_store_i32(1, $2 | 0); + $9 = +wasm2js_scratch_load_f64(); + $3 = ($1 - $9) * $0 + $3 * $1; + $1 = $0 * $9; + $0 = $3 + $1; + wasm2js_scratch_store_f64(+$0); + $2 = wasm2js_scratch_load_i32(1) | 0; + $10 = wasm2js_scratch_load_i32(0) | 0; + $5 = $10; + label$29: { + $7 = $2; + $4 = $2; + if (($4 | 0) >= 1083179008) { + if ($4 - 1083179008 | $5) { + break label$2; + } + if (!($3 + 8008566259537294e-32 > $0 - $1)) { + break label$29; + } + break label$2; + } + if (($4 & 2147482624) >>> 0 < 1083231232) { + break label$29; + } + if ($4 + 1064252416 | $5) { + break label$1; + } + if (!($0 - $1 >= $3)) { + break label$29; + } + break label$1; + } + $5 = 0; + $8 = $4 & 2147483647; + if ($8 >>> 0 >= 1071644673) { + $4 = (1048576 >>> ($8 >>> 20 | 0) - 1022 | 0) + $4 | 0; + $8 = $4 >>> 20 & 2047; + $5 = ($4 & 1048575 | 1048576) >>> 1043 - $8 | 0; + $5 = ($7 | 0) < 0 ? 0 - $5 | 0 : $5; + wasm2js_scratch_store_i32(0, 0); + $11 = -1048576 >> $8 - 1023 & $4; + $2 = $11; + wasm2js_scratch_store_i32(1, $2 | 0); + $1 = $1 - +wasm2js_scratch_load_f64(); + wasm2js_scratch_store_f64(+($3 + $1)); + $2 = wasm2js_scratch_load_i32(1) | 0; + $10 = wasm2js_scratch_load_i32(0) | 0; + $7 = $2; + } + wasm2js_scratch_store_i32(0, 0); + wasm2js_scratch_store_i32(1, $7 | 0); + $0 = +wasm2js_scratch_load_f64(); + $9 = $0 * .6931471824645996; + $3 = ($3 - ($0 - $1)) * .6931471805599453 + $0 * -1.904654299957768e-9; + $1 = $9 + $3; + $0 = $1 * $1; + $0 = $1 - $0 * ($0 * ($0 * ($0 * ($0 * 4.1381367970572385e-8 + -16533902205465252e-22) + 6613756321437934e-20) + -.0027777777777015593) + .16666666666666602); + $18 = $1 * $0 / ($0 + -2); + $0 = $3 - ($1 - $9); + $1 = $1 - ($18 - ($1 * $0 + $0)) + 1; + wasm2js_scratch_store_f64(+$1); + $11 = wasm2js_scratch_load_i32(1) | 0; + $10 = wasm2js_scratch_load_i32(0) | 0; + $7 = $11; + $4 = $7 + ($5 << 20) | 0; + label$31: { + if (($4 | 0) <= 1048575) { + $1 = scalbn($1, $5); + break label$31; + } + $2 = 0; + $6 = 0; + wasm2js_scratch_store_i32(0, $6 | $10); + $11 = $2; + $2 = $4 | $11; + wasm2js_scratch_store_i32(1, $2 | 0); + $1 = +wasm2js_scratch_load_f64(); + } + $3 = $16 * $1; + } + return $3; + } + return $16 * 1e300 * 1e300; + } + return $16 * 1e-300 * 1e-300; +} + +function jpgread($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + $8 = __stack_pointer - 800 | 0; + __stack_pointer = $8; + $9 = dlmalloc(40); + HEAP32[$9 >> 2] = 0; + wasm2js_memory_fill($8 + 312 | 0, 0, 488); + HEAP32[20052] = 0; + $11 = jpeg_std_error($8 + 24 | 0); + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + $10 = 4; + label$1: { + label$2: { + label$3: { + label$4: { + if (!$5) { + break label$4; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$4; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, 4); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) != 1) { + HEAP32[$8 + 24 >> 2] = 4; + HEAP32[$8 + 312 >> 2] = $11; + $9 = saveSetjmp($8 + 156 | 0, 1, $9, 4); + $10 = getTempRet0(); + $5 = 0; + } + label$6: while (1) { + if ($5) { + HEAP32[20052] = 0; + invoke_vi(5, $8 + 312 | 0); + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + label$8: { + if (!$5) { + break label$8; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$8; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) == 1) { + continue; + } + HEAP32[20052] = 0; + invoke_viiii(6, 0, 3, 6309, 0); + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + label$9: { + if (!$5) { + break label$9; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$9; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) == 1) { + continue; + } + break label$2; + } + HEAP32[20052] = 0; + invoke_viii(7, $8 + 312 | 0, 90, 488); + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + label$10: { + if (!$5) { + break label$10; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$10; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) == 1) { + continue; + } + HEAP32[20052] = 0; + invoke_vii(8, $8 + 312 | 0, $0 | 0); + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + label$11: { + if (!$5) { + break label$11; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$11; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) == 1) { + continue; + } + HEAP32[20052] = 0; + $11 = invoke_iii(9, $8 + 312 | 0, 1) | 0; + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + label$12: { + if (!$5) { + break label$12; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$12; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) == 1) { + continue; + } + if (($11 | 0) != 1) { + HEAP32[20052] = 0; + invoke_viiii(6, 0, 3, 7057, 0); + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + label$14: { + if (!$5) { + break label$14; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$14; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) == 1) { + continue; + } + HEAP32[20052] = 0; + invoke_vi(5, $8 + 312 | 0); + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + label$15: { + if (!$5) { + break label$15; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$15; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) == 1) { + continue; + } + break label$2; + } + HEAP32[20052] = 0; + invoke_ii(10, $8 + 312 | 0) | 0; + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + label$16: { + if (!$5) { + break label$16; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$16; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) == 1) { + continue; + } + $11 = Math_imul(HEAP32[$8 + 340 >> 2], HEAP32[$8 + 348 >> 2]); + $12 = dlmalloc(Math_imul($11, HEAP32[$8 + 344 >> 2])); + if ($12) { + $6 = 0; + label$18: { + label$19: { + label$20: { + while (1) { + label$22: { + $5 = 0; + if (HEAPU32[$8 + 452 >> 2] >= HEAPU32[$8 + 428 >> 2]) { + HEAP32[20052] = 0; + invoke_ii(11, $8 + 312 | 0) | 0; + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + label$24: { + if (!$5) { + break label$24; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$24; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) == 1) { + continue label$6; + } + HEAP32[20052] = 0; + invoke_vi(5, $8 + 312 | 0); + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + label$25: { + if (!$5) { + break label$25; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$25; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) == 1) { + continue label$6; + } + if ($1) { + HEAP32[$1 >> 2] = HEAP32[$8 + 340 >> 2]; + } + if ($2) { + HEAP32[$2 >> 2] = HEAP32[$8 + 344 >> 2]; + } + if ($3) { + HEAP32[$3 >> 2] = HEAP32[$8 + 348 >> 2]; + } + if (!$4) { + break label$1; + } + $5 = HEAPU8[$8 + 602 | 0]; + switch ($5 - 1 | 0) { + case 1: + break label$20; + + case 0: + break label$22; + + default: + break label$19; + } + } + while (1) { + if (($5 | 0) != 5) { + HEAP32[($5 << 2) + $8 >> 2] = Math_imul($5 + $6 | 0, $11) + $12; + $5 = $5 + 1 | 0; + continue; + } + break; + } + HEAP32[20052] = 0; + $14 = invoke_iiii(12, $8 + 312 | 0, $8 | 0, 5) | 0; + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $13 = -1; + label$31: { + if (!$5) { + break label$31; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$31; + } + $13 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$13) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($13 | 0) == 1) { + continue label$6; + } + $6 = $6 + $14 | 0; + continue; + } + break; + } + $6 = HEAPU16[$8 + 604 >> 1]; + $11 = HEAPU16[$8 + 606 >> 1]; + if (($6 | 0) != ($11 | 0)) { + break label$18; + } + HEAPF32[$4 >> 2] = $6 >>> 0; + break label$1; + } + $6 = HEAPU16[$8 + 604 >> 1]; + $11 = HEAPU16[$8 + 606 >> 1]; + if (($6 | 0) != ($11 | 0)) { + break label$18; + } + HEAPF32[$4 >> 2] = Math_fround($6 >>> 0) * Math_fround(2.5399999618530273); + break label$1; + } + $11 = HEAPU16[$8 + 606 >> 1]; + $6 = HEAPU16[$8 + 604 >> 1]; + } + if (!($11 & 65535 | ($6 & 65535 | $5 >>> 0 < 3))) { + HEAPF32[$4 >> 2] = $5 >>> 0; + break label$1; + } + HEAP32[$4 >> 2] = 0; + break label$1; + } + HEAP32[20052] = 0; + invoke_viiii(6, 0, 3, 1790, 0); + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + label$33: { + if (!$5) { + break label$33; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$33; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) == 1) { + continue; + } + HEAP32[20052] = 0; + invoke_vi(5, $8 + 312 | 0); + $5 = HEAP32[20052]; + HEAP32[20052] = 0; + $6 = -1; + label$34: { + if (!$5) { + break label$34; + } + $7 = HEAP32[20053]; + if (!$7) { + break label$34; + } + $6 = testSetjmp(HEAP32[$5 >> 2], $9, $10); + if (!$6) { + break label$3; + } + setTempRet0($7); + } + $5 = getTempRet0(); + if (($6 | 0) == 1) { + continue; + } + break; + } + break label$2; } + dlfree($9); + emscripten_longjmp($5, $7); + abort(); } - i1 = ((i5 | 0) < 0) << 31 >> 31; - i1 = _i64Subtract(i3 ^ i5 | 0, i4 ^ i1 | 0, i5 | 0, i1 | 0) | 0; - i2 = getTempRet0() | 0; - } while (0); - setTempRet0(i2 | 0); - return i1 | 0; -} - -function _decompress_smooth_data(i57, i58) { - i57 = i57 | 0; - i58 = i58 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, i45 = 0, i46 = 0, i47 = 0, i48 = 0, i49 = 0, i50 = 0, i51 = 0, i52 = 0, i53 = 0, i54 = 0, i55 = 0, i56 = 0, i59 = 0, i60 = 0, i61 = 0, i62 = 0, i63 = 0, i64 = 0, i65 = 0; - i64 = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - i60 = i64; - i61 = HEAP32[i57 + 428 >> 2] | 0; - i62 = i57 + 320 | 0; - i63 = (HEAP32[i62 >> 2] | 0) + -1 | 0; - i7 = i57 + 144 | 0; - i8 = i57 + 152 | 0; - i1 = i57 + 436 | 0; - i2 = i57 + 400 | 0; - i3 = i57 + 148 | 0; - i59 = i57 + 156 | 0; - while (1) { - i4 = HEAP32[i7 >> 2] | 0; - i5 = HEAP32[i8 >> 2] | 0; - if ((i4 | 0) > (i5 | 0)) { - i9 = 7; - break; - } - i6 = HEAP32[i1 >> 2] | 0; - if (HEAP32[i6 + 20 >> 2] | 0) { - i9 = 7; + $12 = 0; + } + dlfree($9); + __stack_pointer = $8 + 800 | 0; + return $12; +} + +function __rem_pio2_large($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $8 = __stack_pointer - 560 | 0; + __stack_pointer = $8; + $7 = ($2 - 3 | 0) / 24 | 0; + $18 = ($7 | 0) > 0 ? $7 : 0; + $13 = Math_imul($18, -24) + $2 | 0; + $12 = HEAP32[($4 << 2) + 45136 >> 2]; + $15 = $3 - 1 | 0; + if (($12 + $15 | 0) >= 0) { + $6 = $3 + $12 | 0; + $2 = $18 - $15 | 0; + $7 = 0; + while (1) { + $5 = ($2 | 0) < 0 ? 0 : +HEAP32[($2 << 2) + 45152 >> 2]; + HEAPF64[($8 + 320 | 0) + ($7 << 3) >> 3] = $5; + $2 = $2 + 1 | 0; + $7 = $7 + 1 | 0; + if (($7 | 0) != ($6 | 0)) { + continue; + } break; } - if ((i4 | 0) == (i5 | 0) ? (HEAP32[i3 >> 2] | 0) >>> 0 > ((HEAP32[i59 >> 2] | 0) + ((HEAP32[i2 >> 2] | 0) == 0 & 1) | 0) >>> 0 : 0) { - i9 = 7; - break; + } + $17 = $13 - 24 | 0; + $6 = 0; + $10 = ($12 | 0) > 0 ? $12 : 0; + $11 = ($3 | 0) <= 0; + while (1) { + label$6: { + if ($11) { + $5 = 0; + break label$6; + } + $7 = $6 + $15 | 0; + $2 = 0; + $5 = 0; + while (1) { + $5 = HEAPF64[($2 << 3) + $0 >> 3] * HEAPF64[($8 + 320 | 0) + ($7 - $2 << 3) >> 3] + $5; + $2 = $2 + 1 | 0; + if (($3 | 0) != ($2 | 0)) { + continue; + } + break; + } } - if (!(FUNCTION_TABLE_ii[HEAP32[i6 >> 2] & 127](i57) | 0)) { - i1 = 0; - break; + HEAPF64[($6 << 3) + $8 >> 3] = $5; + $2 = ($6 | 0) == ($10 | 0); + $6 = $6 + 1 | 0; + if (!$2) { + continue; } + break; } - if ((i9 | 0) == 7) { - i48 = i57 + 36 | 0; - i49 = i57 + 4 | 0; - i50 = i61 + 112 | 0; - i51 = i57 + 448 | 0; - i52 = i60 + 2 | 0; - i53 = i60 + 16 | 0; - i54 = i60 + 32 | 0; - i55 = i60 + 18 | 0; - i56 = i60 + 4 | 0; - i45 = 0; - i46 = HEAP32[i57 + 216 >> 2] | 0; + $23 = 47 - $13 | 0; + $21 = 48 - $13 | 0; + $24 = $13 - 25 | 0; + $6 = $12; + label$9: { while (1) { - if ((i45 | 0) >= (HEAP32[i48 >> 2] | 0)) break; - L13 : do if (HEAP32[i46 + 48 >> 2] | 0) { - i2 = HEAP32[i59 >> 2] | 0; - if (i2 >>> 0 < i63 >>> 0) { - i3 = HEAP32[i46 + 12 >> 2] | 0; - i1 = i3 << 1; - i4 = 0; - i47 = i3; - } else { - i3 = HEAP32[i46 + 12 >> 2] | 0; - i47 = ((HEAP32[i46 + 32 >> 2] | 0) >>> 0) % (i3 >>> 0) | 0; - i47 = (i47 | 0) == 0 ? i3 : i47; - i1 = i47; - i4 = 1; - } - if (!i2) { - i42 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[i49 >> 2] | 0) + 32 >> 2] & 31](i57, HEAP32[i61 + 72 + (i45 << 2) >> 2] | 0, 0, i1, 0) | 0; - i43 = 1; - } else { - i42 = Math_imul(i3, i2 + -1 | 0) | 0; - i42 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[i49 >> 2] | 0) + 32 >> 2] & 31](i57, HEAP32[i61 + 72 + (i45 << 2) >> 2] | 0, i42, i3 + i1 | 0, 0) | 0; - i42 = i42 + (HEAP32[i46 + 12 >> 2] << 2) | 0; - i43 = 0; - } - i30 = (HEAP32[i50 >> 2] | 0) + (i45 * 6 << 2) | 0; - i40 = HEAP32[i46 + 76 >> 2] | 0; - i35 = HEAPU16[i40 >> 1] | 0; - i29 = HEAPU16[i40 + 2 >> 1] | 0; - i33 = HEAPU16[i40 + 16 >> 1] | 0; - i37 = HEAPU16[i40 + 32 >> 1] | 0; - i39 = HEAPU16[i40 + 18 >> 1] | 0; - i40 = HEAPU16[i40 + 4 >> 1] | 0; - i44 = HEAP32[(HEAP32[i51 >> 2] | 0) + 4 + (i45 << 2) >> 2] | 0; - i19 = (i4 | 0) != 0; - i20 = i47 + -1 | 0; - i21 = i46 + 28 | 0; - i22 = i30 + 4 | 0; - i23 = i30 + 8 | 0; - i24 = i30 + 12 | 0; - i25 = i35 * 36 | 0; - i26 = i29 << 7; - i27 = i30 + 16 | 0; - i28 = i33 << 7; - i29 = i29 << 8; - i30 = i30 + 20 | 0; - i31 = i35 * 9 | 0; - i32 = i37 << 7; - i33 = i33 << 8; - i34 = i46 + 36 | 0; - i35 = i35 * 5 | 0; - i36 = i39 << 7; - i37 = i37 << 8; - i38 = i40 << 7; - i39 = i39 << 8; - i40 = i40 << 8; - i17 = 0; - i18 = HEAP32[i58 + (i45 << 2) >> 2] | 0; + $5 = HEAPF64[($6 << 3) + $8 >> 3]; + $2 = 0; + $7 = $6; + $15 = ($6 | 0) <= 0; + if (!$15) { while (1) { - if ((i17 | 0) >= (i47 | 0)) break L13; - i1 = HEAP32[i42 + (i17 << 2) >> 2] | 0; - if (i43 & (i17 | 0) == 0) i2 = i1; else i2 = HEAP32[i42 + (i17 + -1 << 2) >> 2] | 0; - if (i19 & (i17 | 0) == (i20 | 0)) i3 = i1; else i3 = HEAP32[i42 + (i17 + 1 << 2) >> 2] | 0; - i6 = HEAP16[i2 >> 1] | 0; - i11 = HEAP16[i1 >> 1] | 0; - i5 = HEAP16[i3 >> 1] | 0; - i41 = (HEAP32[i21 >> 2] | 0) + -1 | 0; - i13 = i5; - i14 = i11; - i15 = i6; - i16 = 0; - i12 = 0; - i10 = i3; - while (1) { - if (i16 >>> 0 > i41 >>> 0) break; - _jcopy_block_row(i1, i60, 1); - if (i16 >>> 0 < i41 >>> 0) { - i7 = HEAP16[i10 + 128 >> 1] | 0; - i8 = HEAP16[i1 + 128 >> 1] | 0; - i9 = HEAP16[i2 + 128 >> 1] | 0; - } else { - i7 = i13; - i8 = i14; - i9 = i15; - } - i3 = HEAP32[i22 >> 2] | 0; - if ((i3 | 0) != 0 & (HEAP16[i52 >> 1] | 0) == 0) { - i4 = Math_imul(i25, i11 - i8 | 0) | 0; - if ((i4 | 0) > -1) { - i4 = (i4 + i26 | 0) / (i29 | 0) | 0; - i65 = 1 << i3; - i3 = (i3 | 0) > 0 ? ((i4 | 0) < (i65 | 0) ? i4 : i65 + -1 | 0) : i4; - } else { - i65 = (i26 - i4 | 0) / (i29 | 0) | 0; - i4 = 1 << i3; - i3 = 0 - ((i3 | 0) > 0 ? ((i65 | 0) < (i4 | 0) ? i65 : i4 + -1 | 0) : i65) | 0; - } - HEAP16[i52 >> 1] = i3; - } - i3 = HEAP32[i23 >> 2] | 0; - if ((i3 | 0) != 0 & (HEAP16[i53 >> 1] | 0) == 0) { - i4 = Math_imul(i25, i15 - i13 | 0) | 0; - if ((i4 | 0) > -1) { - i65 = (i4 + i28 | 0) / (i33 | 0) | 0; - i4 = 1 << i3; - i3 = (i3 | 0) > 0 ? ((i65 | 0) < (i4 | 0) ? i65 : i4 + -1 | 0) : i65; - } else { - i65 = (i28 - i4 | 0) / (i33 | 0) | 0; - i4 = 1 << i3; - i3 = 0 - ((i3 | 0) > 0 ? ((i65 | 0) < (i4 | 0) ? i65 : i4 + -1 | 0) : i65) | 0; - } - HEAP16[i53 >> 1] = i3; - } - i3 = HEAP32[i24 >> 2] | 0; - if ((i3 | 0) != 0 & (HEAP16[i54 >> 1] | 0) == 0) { - i4 = Math_imul(i31, i15 - (i14 << 1) + i13 | 0) | 0; - if ((i4 | 0) > -1) { - i65 = (i4 + i32 | 0) / (i37 | 0) | 0; - i4 = 1 << i3; - i3 = (i3 | 0) > 0 ? ((i65 | 0) < (i4 | 0) ? i65 : i4 + -1 | 0) : i65; - } else { - i65 = (i32 - i4 | 0) / (i37 | 0) | 0; - i4 = 1 << i3; - i3 = 0 - ((i3 | 0) > 0 ? ((i65 | 0) < (i4 | 0) ? i65 : i4 + -1 | 0) : i65) | 0; - } - HEAP16[i54 >> 1] = i3; - } - i4 = HEAP32[i27 >> 2] | 0; - if ((i4 | 0) != 0 & (HEAP16[i55 >> 1] | 0) == 0) { - i3 = Math_imul(i35, i6 - i5 - i9 + i7 | 0) | 0; - if ((i3 | 0) > -1) { - i3 = (i3 + i36 | 0) / (i39 | 0) | 0; - i65 = 1 << i4; - i3 = (i4 | 0) > 0 ? ((i3 | 0) < (i65 | 0) ? i3 : i65 + -1 | 0) : i3; - } else { - i3 = (i36 - i3 | 0) / (i39 | 0) | 0; - i65 = 1 << i4; - i3 = 0 - ((i4 | 0) > 0 ? ((i3 | 0) < (i65 | 0) ? i3 : i65 + -1 | 0) : i3) | 0; - } - HEAP16[i55 >> 1] = i3; - } - i4 = HEAP32[i30 >> 2] | 0; - if ((i4 | 0) != 0 & (HEAP16[i56 >> 1] | 0) == 0) { - i3 = Math_imul(i31, i11 - (i14 << 1) + i8 | 0) | 0; - if ((i3 | 0) > -1) { - i3 = (i3 + i38 | 0) / (i40 | 0) | 0; - i65 = 1 << i4; - i3 = (i4 | 0) > 0 ? ((i3 | 0) < (i65 | 0) ? i3 : i65 + -1 | 0) : i3; - } else { - i3 = (i38 - i3 | 0) / (i40 | 0) | 0; - i65 = 1 << i4; - i3 = 0 - ((i4 | 0) > 0 ? ((i3 | 0) < (i65 | 0) ? i3 : i65 + -1 | 0) : i3) | 0; - } - HEAP16[i56 >> 1] = i3; - } - FUNCTION_TABLE_viiiii[i44 & 31](i57, i46, i60, i18, i12); - i6 = i15; - i11 = i14; - i5 = i13; - i13 = i7; - i14 = i8; - i15 = i9; - i16 = i16 + 1 | 0; - i1 = i1 + 128 | 0; - i12 = (HEAP32[i34 >> 2] | 0) + i12 | 0; - i2 = i2 + 128 | 0; - i10 = i10 + 128 | 0; - } - i17 = i17 + 1 | 0; - i18 = i18 + (HEAP32[i34 >> 2] << 2) | 0; - } - } while (0); - i45 = i45 + 1 | 0; - i46 = i46 + 84 | 0; - } - i1 = (HEAP32[i59 >> 2] | 0) + 1 | 0; - HEAP32[i59 >> 2] = i1; - i1 = i1 >>> 0 < (HEAP32[i62 >> 2] | 0) >>> 0 ? 3 : 4; - } - STACKTOP = i64; - return i1 | 0; -} - -function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryEPKNS_8KeyframeILi96EEE(i6, i7) { - i6 = i6 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0; - i27 = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - i16 = i27 + 104 | 0; - i20 = i27; - i21 = i27 + 72 | 0; - i22 = i27 + 40 | 0; - i23 = i6 + 12 | 0; - i24 = i6 + 16 | 0; - HEAP32[i24 >> 2] = HEAP32[i23 >> 2]; - i25 = i6 + 24 | 0; - HEAP32[i25 >> 2] = -1; - i8 = __ZNK6vision18BinaryFeatureStore6pointsEv(__ZNK6vision8KeyframeILi96EE5storeEv(i7) | 0) | 0; - i9 = i6 + 8 | 0; - i10 = i6 + 636 | 0; - i11 = i6 + 652 | 0; - i12 = i16 + 4 | 0; - i13 = i16 + 8 | 0; - i14 = i6 + 788 | 0; - i15 = i21 + 4 | 0; - i17 = i21 + 8 | 0; - i18 = i6 + 4 | 0; - i19 = i6 + 28 | 0; - i1 = i6 + 80 | 0; - while (1) { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) break; - __ZN6vision11ScopedTimerC2EPKc(i16, 29140); - do if (__ZN6vision11ScopedTimercvbEv(i16) | 0) { - i28 = (HEAP8[i9 >> 0] | 0) == 0; - i2 = __ZNK6vision8KeyframeILi96EE5storeEv(i7) | 0; - i5 = i1; - i3 = i5 + 12 | 0; - i4 = __ZN6vision8KeyframeILi96EE5storeEv(HEAP32[i3 >> 2] | 0) | 0; - if (i28) { - i28 = __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_(i10, i2, i4) | 0; - if (i28 >>> 0 >= (HEAP32[i6 >> 2] | 0) >>> 0) { - i26 = 9; - break; - } - } else { - i28 = __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_RKNS_28BinaryHierarchicalClusteringILi96EEE(i10, i2, i4, __ZNK6vision8KeyframeILi96EE5indexEv(HEAP32[i3 >> 2] | 0) | 0) | 0; - if (i28 >>> 0 >= (HEAP32[i6 >> 2] | 0) >>> 0) { - i26 = 9; + $10 = $2 << 2; + $10 = $10 + ($8 + 480 | 0) | 0; + $9 = $5 * 5.960464477539063e-8; + label$14: { + if (Math_abs($9) < 2147483648) { + $11 = ~~$9; + break label$14; + } + $11 = -2147483648; + } + $9 = +($11 | 0); + $5 = $9 * -16777216 + $5; + label$13: { + if (Math_abs($5) < 2147483648) { + $11 = ~~$5; + break label$13; + } + $11 = -2147483648; + } + HEAP32[$10 >> 2] = $11; + $7 = $7 - 1 | 0; + $5 = HEAPF64[($7 << 3) + $8 >> 3] + $9; + $2 = $2 + 1 | 0; + if (($6 | 0) != ($2 | 0)) { + continue; + } break; } } - __ZN6vision11ScopedTimerD2Ev(i16); - } else { - i5 = i1; - i3 = i5 + 12 | 0; - i26 = 9; - } while (0); - do if ((i26 | 0) == 9) { - i26 = 0; - __ZN6vision11ScopedTimerD2Ev(i16); - i4 = __ZN6vision18BinaryFeatureStore6pointsEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[i3 >> 2] | 0) | 0) | 0; - __ZN6vision11ScopedTimerC2EPKc(i16, 29157); - if (__ZN6vision11ScopedTimercvbEv(i16) | 0) { - i30 = __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv(i10) | 0; - i29 = __ZNK6vision8KeyframeILi96EE5widthEv(i7) | 0; - i28 = __ZNK6vision8KeyframeILi96EE6heightEv(i7) | 0; - i2 = __ZNK6vision8KeyframeILi96EE5widthEv(HEAP32[i3 >> 2] | 0) | 0; - i2 = __ZN6vision19FindHoughSimilarityERNS_21HoughSimilarityVotingERKNSt3__26vectorINS_12FeaturePointENS2_9allocatorIS4_EEEES9_RKNS3_INS_7match_tENS5_ISA_EEEEiiii(i11, i8, i4, i30, i29, i28, i2, __ZNK6vision8KeyframeILi96EE6heightEv(HEAP32[i3 >> 2] | 0) | 0) | 0; - if ((i2 | 0) < 0) { - __ZN6vision11ScopedTimerD2Ev(i16); - break; - } - } else i2 = -1; - __ZN6vision11ScopedTimerD2Ev(i16); - HEAP32[i16 >> 2] = 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i13 >> 2] = 0; - __ZN6vision11ScopedTimerC2EPKc(i20, 29174); - if (__ZN6vision11ScopedTimercvbEv(i20) | 0) __ZN6vision16FindHoughMatchesERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEERKNS_21HoughSimilarityVotingERKS5_if(i16, i11, __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv(i10) | 0, i2, 1.0); - __ZN6vision11ScopedTimerD2Ev(i20); - __ZN6vision11ScopedTimerC2EPKc(i21, 29197); - if (__ZN6vision11ScopedTimercvbEv(i21) | 0 ? (i30 = __ZNK6vision8KeyframeILi96EE5widthEv(HEAP32[i3 >> 2] | 0) | 0, !(__ZN6vision18EstimateHomographyEPfRKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEES8_RKNS2_INS_7match_tENS4_IS9_EEEERNS_16RobustHomographyIfEEii(i20, i8, i4, i16, i14, i30, __ZNK6vision8KeyframeILi96EE6heightEv(HEAP32[i3 >> 2] | 0) | 0) | 0)) : 0) __ZN6vision11ScopedTimerD2Ev(i21); else { - __ZN6vision11ScopedTimerD2Ev(i21); - HEAP32[i21 >> 2] = 0; - HEAP32[i15 >> 2] = 0; - HEAP32[i17 >> 2] = 0; - __ZN6vision11ScopedTimerC2EPKc(i22, 29221); - if (__ZN6vision11ScopedTimercvbEv(i22) | 0 ? (__ZN6vision11FindInliersERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEEPKfRKNS1_INS_12FeaturePointENS3_IS9_EEEESD_RKS5_f(i21, i20, i8, i4, i16, +HEAPF32[i18 >> 2]), (HEAP32[i15 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) >> 3 >>> 0 < (HEAP32[i6 >> 2] | 0) >>> 0) : 0) __ZN6vision11ScopedTimerD2Ev(i22); else i26 = 20; - do if ((i26 | 0) == 20) { - i26 = 0; - __ZN6vision11ScopedTimerD2Ev(i22); - __ZN6vision11ScopedTimerC2EPKc(i22, 29238); - if (__ZN6vision11ScopedTimercvbEv(i22) | 0 ? (i30 = __ZNK6vision8KeyframeILi96EE5storeEv(i7) | 0, i30 = __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_PKff(i10, i30, __ZN6vision8KeyframeILi96EE5storeEv(HEAP32[i3 >> 2] | 0) | 0, i20, 10.0) | 0, i30 >>> 0 < (HEAP32[i6 >> 2] | 0) >>> 0) : 0) { - __ZN6vision11ScopedTimerD2Ev(i22); - break; - } - __ZN6vision11ScopedTimerD2Ev(i22); - __ZN6vision11ScopedTimerC2EPKc(i22, 29255); - if (__ZN6vision11ScopedTimercvbEv(i22) | 0) { - i28 = __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv(i10) | 0; - i29 = __ZNK6vision8KeyframeILi96EE5widthEv(i7) | 0; - i30 = __ZNK6vision8KeyframeILi96EE6heightEv(i7) | 0; - i2 = __ZNK6vision8KeyframeILi96EE5widthEv(HEAP32[i3 >> 2] | 0) | 0; - i2 = __ZN6vision19FindHoughSimilarityERNS_21HoughSimilarityVotingERKNSt3__26vectorINS_12FeaturePointENS2_9allocatorIS4_EEEES9_RKNS3_INS_7match_tENS5_ISA_EEEEiiii(i11, i8, i4, i28, i29, i30, i2, __ZNK6vision8KeyframeILi96EE6heightEv(HEAP32[i3 >> 2] | 0) | 0) | 0; - if ((i2 | 0) < 0) { - __ZN6vision11ScopedTimerD2Ev(i22); - break; + $5 = scalbn($5, $17); + $5 = $5 + floor($5 * .125) * -8; + label$17: { + if (Math_abs($5) < 2147483648) { + $16 = ~~$5; + break label$17; + } + $16 = -2147483648; + } + $5 = $5 - +($16 | 0); + label$19: { + label$20: { + label$21: { + $22 = ($17 | 0) <= 0; + label$22: { + if (!$22) { + $7 = ($6 << 2) + $8 | 0; + $2 = $7 + 476 | 0; + $11 = $2; + $2 = HEAP32[$7 + 476 >> 2]; + $7 = $2; + $2 = $2 >> $21; + $7 = $7 - ($2 << $21) | 0; + HEAP32[$11 >> 2] = $7; + $16 = $2 + $16 | 0; + $14 = $7 >> $23; + break label$22; + } + if ($17) { + break label$21; + } + $14 = HEAP32[(($6 << 2) + $8 | 0) + 476 >> 2] >> 23; + } + if (($14 | 0) <= 0) { + break label$19; } + break label$20; } - __ZN6vision11ScopedTimerD2Ev(i22); - __ZN6vision11ScopedTimerC2EPKc(i22, 29272); - if (__ZN6vision11ScopedTimercvbEv(i22) | 0) __ZN6vision16FindHoughMatchesERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEERKNS_21HoughSimilarityVotingERKS5_if(i16, i11, __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv(i10) | 0, i2, 1.0); - __ZN6vision11ScopedTimerD2Ev(i22); - __ZN6vision11ScopedTimerC2EPKc(i22, 29295); - if (__ZN6vision11ScopedTimercvbEv(i22) | 0 ? (i30 = __ZNK6vision8KeyframeILi96EE5widthEv(HEAP32[i3 >> 2] | 0) | 0, !(__ZN6vision18EstimateHomographyEPfRKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEES8_RKNS2_INS_7match_tENS4_IS9_EEEERNS_16RobustHomographyIfEEii(i20, i8, i4, i16, i14, i30, __ZNK6vision8KeyframeILi96EE6heightEv(HEAP32[i3 >> 2] | 0) | 0) | 0)) : 0) { - __ZN6vision11ScopedTimerD2Ev(i22); - break; + $14 = 2; + if ($5 >= .5) { + break label$20; } - __ZN6vision11ScopedTimerD2Ev(i22); - HEAP32[i15 >> 2] = HEAP32[i21 >> 2]; - __ZN6vision11ScopedTimerC2EPKc(i22, 29319); - if (__ZN6vision11ScopedTimercvbEv(i22) | 0) __ZN6vision11FindInliersERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEEPKfRKNS1_INS_12FeaturePointENS3_IS9_EEEESD_RKS5_f(i21, i20, i8, i4, i16, +HEAPF32[i18 >> 2]); - __ZN6vision11ScopedTimerD2Ev(i22); - i30 = (HEAP32[i15 >> 2] | 0) - (HEAP32[i21 >> 2] | 0) >> 3; - if (i30 >>> 0 >= (HEAP32[i6 >> 2] | 0) >>> 0 ? i30 >>> 0 > (HEAP32[i24 >> 2] | 0) - (HEAP32[i23 >> 2] | 0) >> 3 >>> 0 : 0) { - __ZN6vision11CopyVector9IfEEvPT_PKS1_(i19, i20); - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE4swapERS5_(i23, i21); - HEAP32[i25 >> 2] = HEAP32[i5 + 8 >> 2]; - } - } while (0); - __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev(i21); - } - __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev(i16); - } while (0); - } - STACKTOP = i27; - return (HEAP32[i25 >> 2] | 0) > -1 | 0; -} - -function _kpmSetRefDataSet(i18, i6) { - i18 = i18 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - i23 = i24 + 48 | 0; - i12 = i24 + 40 | 0; - i10 = i24 + 32 | 0; - i8 = i24 + 24 | 0; - i3 = i24 + 16 | 0; - i2 = i24 + 8 | 0; - i1 = i24; - i19 = i24 + 96 | 0; - i20 = i24 + 84 | 0; - i21 = i24 + 72 | 0; - i22 = i24 + 52 | 0; - L1 : do if ((i18 | 0) != 0 & (i6 | 0) != 0) { - i4 = i6 + 4 | 0; - i1 = HEAP32[i4 >> 2] | 0; - if (!i1) { - _arLog(0, 3, 20326, i2); - i1 = -1; - break; - } - i17 = i18 + 28 | 0; - i2 = HEAP32[i17 >> 2] | 0; - if (i2) { - _free(i2); - i1 = HEAP32[i4 >> 2] | 0; - if (!i1) { - HEAP32[i17 >> 2] = 0; - i1 = 0; - } else i5 = 7; - } else i5 = 7; - L9 : do if ((i5 | 0) == 7) { - i16 = _malloc(i1 * 132 | 0) | 0; - HEAP32[i17 >> 2] = i16; - if (!i16) { - _arLog(0, 3, 20454, i3); - _exit(1); - } - i2 = 0; - while (1) { - if ((i2 | 0) >= (i1 | 0)) break L9; - _memcpy((HEAP32[i17 >> 2] | 0) + (i2 * 132 | 0) | 0, (HEAP32[i6 >> 2] | 0) + (i2 * 132 | 0) | 0, 132) | 0; - i2 = i2 + 1 | 0; - i1 = HEAP32[i4 >> 2] | 0; - } - } while (0); - i9 = i18 + 32 | 0; - HEAP32[i9 >> 2] = i1; - i16 = i18 + 36 | 0; - i1 = HEAP32[i16 >> 2] | 0; - if (i1 | 0) { - i4 = i18 + 40 | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (HEAP32[i4 >> 2] | 0)) break; - i2 = HEAP32[i1 + (i3 * 12 | 0) >> 2] | 0; - if (i2) { - _free(i2); - i1 = HEAP32[i16 >> 2] | 0; - } - i3 = i3 + 1 | 0; - } - _free(i1); - } - i7 = i6 + 12 | 0; - i1 = HEAP32[i7 >> 2] | 0; - L28 : do if (!i1) { - HEAP32[i16 >> 2] = 0; - i11 = 0; - } else { - i15 = _malloc(i1 * 12 | 0) | 0; - HEAP32[i16 >> 2] = i15; - if (!i15) { - _arLog(0, 3, 20454, i8); - _exit(1); - } - i6 = i6 + 8 | 0; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i1 | 0)) { - i11 = i1; - break L28; - } - i4 = HEAP32[i6 >> 2] | 0; - i2 = HEAP32[i16 >> 2] | 0; - HEAP32[i2 + (i5 * 12 | 0) + 8 >> 2] = HEAP32[i4 + (i5 * 12 | 0) + 8 >> 2]; - i3 = i4 + (i5 * 12 | 0) + 4 | 0; - HEAP32[i2 + (i5 * 12 | 0) + 4 >> 2] = HEAP32[i3 >> 2]; - i3 = HEAP32[i3 >> 2] | 0; - if (!i3) HEAP32[i4 + (i5 * 12 | 0) >> 2] = 0; else { - i15 = _malloc(i3 * 12 | 0) | 0; - HEAP32[i2 + (i5 * 12 | 0) >> 2] = i15; - if (!i15) break; - i2 = 0; - i1 = i4; - while (1) { - if ((i2 | 0) >= (HEAP32[i1 + (i5 * 12 | 0) + 4 >> 2] | 0)) break; - i14 = (HEAP32[i1 + (i5 * 12 | 0) >> 2] | 0) + (i2 * 12 | 0) | 0; - i15 = (HEAP32[(HEAP32[i16 >> 2] | 0) + (i5 * 12 | 0) >> 2] | 0) + (i2 * 12 | 0) | 0; - HEAP32[i15 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i15 + 4 >> 2] = HEAP32[i14 + 4 >> 2]; - HEAP32[i15 + 8 >> 2] = HEAP32[i14 + 8 >> 2]; - i2 = i2 + 1 | 0; - i1 = HEAP32[i6 >> 2] | 0; - } - i1 = HEAP32[i7 >> 2] | 0; - } - i5 = i5 + 1 | 0; - } - _arLog(0, 3, 20454, i10); - _exit(1); - } while (0); - i15 = i18 + 40 | 0; - HEAP32[i15 >> 2] = i11; - i4 = i18 + 52 | 0; - i1 = HEAP32[i4 >> 2] | 0; - if (i1 | 0) { - _free(i1); - HEAP32[i4 >> 2] = 0; - HEAP32[i18 + 56 >> 2] = 0; - } - i2 = HEAP32[i7 >> 2] | 0; - L51 : do if ((i2 | 0) > 0) { - HEAP32[i18 + 56 >> 2] = i2; - i3 = _malloc(i2 * 68 | 0) | 0; - HEAP32[i4 >> 2] = i3; - if (!i3) { - _arLog(0, 3, 20454, i12); - _exit(1); - } - i1 = 0; - while (1) { - if ((i1 | 0) == (i2 | 0)) break L51; - HEAP32[i3 + (i1 * 68 | 0) + 64 >> 2] = 0; - i1 = i1 + 1 | 0; - } - } while (0); - i8 = HEAP32[i9 >> 2] | 0; - if (!i8) i1 = 0; else { - i9 = i19 + 4 | 0; - i10 = i19 + 8 | 0; - i11 = i20 + 4 | 0; - i12 = i20 + 8 | 0; - i13 = i21 + 4 | 0; - i14 = i21 + 8 | 0; - i7 = 0; - i1 = 0; - while (1) { - if ((i7 | 0) >= (HEAP32[i15 >> 2] | 0)) { - i1 = 0; - break L1; + $14 = 0; + break label$19; } - i6 = 0; - while (1) { - if ((i6 | 0) >= (HEAP32[(HEAP32[i16 >> 2] | 0) + (i7 * 12 | 0) + 4 >> 2] | 0)) break; - HEAP32[i19 >> 2] = 0; - HEAP32[i9 >> 2] = 0; - HEAP32[i10 >> 2] = 0; - HEAP32[i20 >> 2] = 0; - HEAP32[i11 >> 2] = 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i21 >> 2] = 0; - HEAP32[i13 >> 2] = 0; - HEAP32[i14 >> 2] = 0; - i5 = 0; + $2 = 0; + $11 = 0; + if (!$15) { while (1) { - if ((i5 | 0) >= (i8 | 0)) break; - i2 = HEAP32[i17 >> 2] | 0; - i4 = HEAP32[i16 >> 2] | 0; - L70 : do if ((HEAP32[i2 + (i5 * 132 | 0) + 128 >> 2] | 0) == (HEAP32[(HEAP32[i4 + (i7 * 12 | 0) >> 2] | 0) + (i6 * 12 | 0) + 8 >> 2] | 0) ? (HEAP32[i2 + (i5 * 132 | 0) + 124 >> 2] | 0) == (HEAP32[i4 + (i7 * 12 | 0) + 8 >> 2] | 0) : 0) { - __ZN6vision12FeaturePointC2Effffb(i22, +HEAPF32[i2 + (i5 * 132 | 0) >> 2], +HEAPF32[i2 + (i5 * 132 | 0) + 4 >> 2], +HEAPF32[i2 + (i5 * 132 | 0) + 112 >> 2], +HEAPF32[i2 + (i5 * 132 | 0) + 116 >> 2], (HEAP32[i2 + (i5 * 132 | 0) + 120 >> 2] | 0) != 0); - i2 = HEAP32[i9 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = HEAP32[i22 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i22 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i22 + 8 >> 2]; - HEAP32[i2 + 12 >> 2] = HEAP32[i22 + 12 >> 2]; - HEAP32[i2 + 16 >> 2] = HEAP32[i22 + 16 >> 2]; - HEAP32[i9 >> 2] = i2 + 20; - } else __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_(i19, i22); - __ZN6vision12FeaturePointD2Ev(i22); - i2 = HEAP32[i17 >> 2] | 0; - __ZN6vision7Point3dIfEC2Efff(i22, +HEAPF32[i2 + (i5 * 132 | 0) + 8 >> 2], +HEAPF32[i2 + (i5 * 132 | 0) + 12 >> 2], 0.0); - i2 = HEAP32[i11 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i12 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = HEAP32[i22 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i22 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i22 + 8 >> 2]; - HEAP32[i11 >> 2] = (HEAP32[i11 >> 2] | 0) + 12; - } else __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE21__push_back_slow_pathIS3_EEvOT_(i20, i22); - i2 = 0; - while (1) { - if (i2 >>> 0 >= 96) break L70; - i3 = (HEAP32[i17 >> 2] | 0) + (i5 * 132 | 0) + 16 + i2 | 0; - i4 = HEAP32[i13 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i14 >> 2] | 0)) __ZNSt3__26vectorIhNS_9allocatorIhEEE21__push_back_slow_pathIRKhEEvOT_(i21, i3); else { - HEAP8[i4 >> 0] = HEAP8[i3 >> 0] | 0; - HEAP32[i13 >> 2] = (HEAP32[i13 >> 2] | 0) + 1; + $15 = ($8 + 480 | 0) + ($2 << 2) | 0; + $7 = HEAP32[$15 >> 2]; + $10 = 16777215; + label$26: { + label$27: { + if ($11) { + break label$27; + } + $10 = 16777216; + if ($7) { + break label$27; } - i2 = i2 + 1 | 0; + $11 = 0; + break label$26; } - } while (0); - i5 = i5 + 1 | 0; + HEAP32[$15 >> 2] = $10 - $7; + $11 = 1; + } + $2 = $2 + 1 | 0; + if (($6 | 0) != ($2 | 0)) { + continue; + } + break; } - HEAP32[i23 >> 2] = ((HEAP32[i9 >> 2] | 0) - (HEAP32[i19 >> 2] | 0) | 0) / 20 | 0; - _arLog(0, 1, 20359, i23); - i5 = HEAP32[i16 >> 2] | 0; - HEAP32[i18 + 60 + (i1 << 2) >> 2] = HEAP32[i5 + (i7 * 12 | 0) + 8 >> 2]; - i5 = HEAP32[i5 + (i7 * 12 | 0) >> 2] | 0; - __ZN6vision20VisualDatabaseFacade30addFreakFeaturesAndDescriptorsERKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEERKNS2_IhNS4_IhEEEERKNS2_INS_7Point3dIfEENS4_ISE_EEEEmmi(HEAP32[i18 >> 2] | 0, i19, i21, i20, HEAP32[i5 + (i6 * 12 | 0) >> 2] | 0, HEAP32[i5 + (i6 * 12 | 0) + 4 >> 2] | 0, i1); - __ZNSt3__213__vector_baseIhNS_9allocatorIhEEED2Ev(i21); - __ZNSt3__213__vector_baseIN6vision7Point3dIfEENS_9allocatorIS3_EEED2Ev(i20); - __ZNSt3__213__vector_baseIN6vision12FeaturePointENS_9allocatorIS2_EEED2Ev(i19); - i6 = i6 + 1 | 0; - i1 = i1 + 1 | 0; } - i7 = i7 + 1 | 0; - } - } - } else { - _arLog(0, 3, 20278, i1); - i1 = -1; - } while (0); - STACKTOP = i24; - return i1 | 0; -} - -function _decode_bch(i1, i3, i6, i2, i28) { - i1 = i1 | 0; - i3 = i3 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i28 = i28 | 0; - var i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i29 = 0, i30 = 0; - i30 = STACKTOP; - STACKTOP = STACKTOP + 2384 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2384); - i8 = i30 + 2320 | 0; - i25 = i30 + 880 | 0; - i23 = i30 + 800 | 0; - i29 = i30 + 720 | 0; - i24 = i30 + 640 | 0; - i21 = i30 + 560 | 0; - i27 = i30 + 48 | 0; - i26 = i30; - switch (i1 | 0) { - case 2830: - { - i8 = i2; - i17 = 1200; - i20 = 688; - i9 = 120; - i10 = 127; - i19 = 64; - i11 = 9; - i4 = 8; - break; - } - case 772: - { - i5 = 624; - i7 = 432; - i9 = 13; - i10 = 15; - i1 = 9; - i11 = 1; - i4 = 5; - break; - } - case 1028: - { - i5 = 624; - i7 = 432; - i9 = 13; - i10 = 15; - i1 = 5; - i11 = 2; - i4 = 5; - break; - } - case 1029: - { - i1 = 12; - i2 = 2; - i4 = 4; - break; - } - case 1285: - { - i1 = 7; - i2 = 3; - i4 = 4; - break; - } - default: - i1 = -1; - } - if ((i4 | 0) == 4) { - i5 = 496; - i7 = 304; - i9 = 22; - i10 = 31; - i11 = i2; - i4 = 5; - } - L6 : do if ((i4 | 0) == 5) { - i4 = 0; - i2 = i6; - while (1) { - if ((i4 | 0) == (i9 | 0)) { - i17 = i5; - i20 = i7; - i19 = i1; - i4 = 8; - break L6; - } - HEAP8[i8 + i4 >> 0] = i3 & 1; - i20 = _bitshift64Lshr(i3 | 0, i2 | 0, 1) | 0; - i4 = i4 + 1 | 0; - i3 = i20; - i2 = getTempRet0() | 0; - } - } while (0); - L11 : do if ((i4 | 0) == 8) { - i16 = i11 << 1; - i2 = 0; - i4 = 1; - while (1) { - if ((i4 | 0) > (i16 | 0)) break; - i5 = i21 + (i4 << 2) | 0; - HEAP32[i5 >> 2] = 0; - i3 = 0; - i1 = 0; - while (1) { - if ((i3 | 0) >= (i9 | 0)) break; - if (HEAP8[i8 + i3 >> 0] | 0) { - i18 = i20 + (((Math_imul(i3, i4) | 0) % (i10 | 0) | 0) << 2) | 0; - i1 = i1 ^ HEAP32[i18 >> 2]; - HEAP32[i5 >> 2] = i1; - } - i3 = i3 + 1 | 0; - } - HEAP32[i5 >> 2] = HEAP32[i17 + (i1 << 2) >> 2]; - i2 = (i1 | 0) == 0 ? i2 : 1; - i4 = i4 + 1 | 0; - } - i18 = (i2 | 0) != 0; - L24 : do if (i18) { - HEAP32[i23 >> 2] = 0; - i2 = HEAP32[i21 + 4 >> 2] | 0; - HEAP32[i23 + 4 >> 2] = i2; - HEAP32[i25 >> 2] = 0; - HEAP32[i25 + 72 >> 2] = 1; - i1 = 1; - while (1) { - if ((i1 | 0) >= (i16 | 0)) break; - HEAP32[i25 + (i1 << 2) >> 2] = -1; - HEAP32[i25 + 72 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i29 >> 2] = 0; - HEAP32[i29 + 4 >> 2] = 0; - HEAP32[i24 >> 2] = -1; - HEAP32[i24 + 4 >> 2] = 0; - i15 = 0; - i14 = 0; - while (1) { - i6 = i15; - i15 = i15 + 1 | 0; - L32 : do if ((i2 | 0) == -1) { - i6 = i6 + 2 | 0; - HEAP32[i29 + (i6 << 2) >> 2] = i14; - i1 = 0; - while (1) { - if ((i1 | 0) > (i14 | 0)) { - i13 = i14; - break L32; + label$28: { + if ($22) { + break label$28; + } + $2 = 8388607; + label$29: { + switch ($24 | 0) { + case 1: + $2 = 4194303; + break; + + case 0: + break label$29; + + default: + break label$28; } - i13 = i25 + (i15 * 72 | 0) + (i1 << 2) | 0; - i12 = HEAP32[i13 >> 2] | 0; - HEAP32[i25 + (i6 * 72 | 0) + (i1 << 2) >> 2] = i12; - HEAP32[i13 >> 2] = HEAP32[i17 + (i12 << 2) >> 2]; - i1 = i1 + 1 | 0; } - } else { - i3 = i6; - while (1) { - i1 = (i3 | 0) > 0; - if (i1 & (HEAP32[i23 + (i3 << 2) >> 2] | 0) == -1) i3 = i3 + -1 | 0; else break; + $10 = ($6 << 2) + $8 | 0; + $7 = $10 + 476 | 0; + HEAP32[$7 >> 2] = HEAP32[$10 + 476 >> 2] & $2; + } + $16 = $16 + 1 | 0; + if (($14 | 0) != 2) { + break label$19; + } + $5 = 1 - $5; + $14 = 2; + if (!$11) { + break label$19; + } + $5 = $5 - scalbn(1, $17); + } + if ($5 == 0) { + $7 = 0; + label$32: { + $2 = $6; + if (($12 | 0) >= ($2 | 0)) { + break label$32; } - if (i1) { - i1 = i3; - i4 = i3; - while (1) { - i5 = i4; - i4 = i4 + -1 | 0; - if ((HEAP32[i23 + (i4 << 2) >> 2] | 0) == -1) i3 = i1; else i3 = (HEAP32[i24 + (i1 << 2) >> 2] | 0) < (HEAP32[i24 + (i4 << 2) >> 2] | 0) ? i4 : i1; - if ((i5 | 0) <= 1) break; else i1 = i3; - } - } - i4 = i29 + (i3 << 2) | 0; - i12 = i15 - i3 | 0; - i13 = i12 + (HEAP32[i4 >> 2] | 0) | 0; - i6 = i6 + 2 | 0; - i13 = (i14 | 0) > (i13 | 0) ? i14 : i13; - HEAP32[i29 + (i6 << 2) >> 2] = i13; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i16 | 0)) break; - HEAP32[i25 + (i6 * 72 | 0) + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = i2 + i10 | 0; - i7 = i23 + (i3 << 2) | 0; - i2 = HEAP32[i4 >> 2] | 0; - i1 = 0; while (1) { - if ((i1 | 0) > (i2 | 0)) break; - i4 = HEAP32[i25 + (i3 * 72 | 0) + (i1 << 2) >> 2] | 0; - if ((i4 | 0) != -1) HEAP32[i25 + (i6 * 72 | 0) + (i12 + i1 << 2) >> 2] = HEAP32[i20 + (((i5 + i4 - (HEAP32[i7 >> 2] | 0) | 0) % (i10 | 0) | 0) << 2) >> 2]; - i1 = i1 + 1 | 0; + $2 = $2 - 1 | 0; + $7 = HEAP32[($8 + 480 | 0) + ($2 << 2) >> 2] | $7; + if (($2 | 0) > ($12 | 0)) { + continue; + } + break; } - i1 = 0; + if (!$7) { + break label$32; + } + $13 = $17; while (1) { - if ((i1 | 0) > (i14 | 0)) break L32; - i12 = i25 + (i15 * 72 | 0) + (i1 << 2) | 0; - i7 = HEAP32[i12 >> 2] | 0; - i5 = i25 + (i6 * 72 | 0) + (i1 << 2) | 0; - HEAP32[i5 >> 2] = HEAP32[i5 >> 2] ^ i7; - HEAP32[i12 >> 2] = HEAP32[i17 + (i7 << 2) >> 2]; - i1 = i1 + 1 | 0; - } - } while (0); - HEAP32[i24 + (i6 << 2) >> 2] = i15 - i13; - if ((i15 | 0) >= (i16 | 0)) break; - i1 = HEAP32[i21 + (i6 << 2) >> 2] | 0; - if ((i1 | 0) == -1) i1 = 0; else i1 = HEAP32[i20 + (i1 << 2) >> 2] | 0; - i4 = i23 + (i6 << 2) | 0; - HEAP32[i4 >> 2] = i1; - i3 = 1; - while (1) { - if ((i3 | 0) > (i13 | 0)) break; - i2 = HEAP32[i21 + (i6 - i3 << 2) >> 2] | 0; - if ((i2 | 0) != -1 ? (i22 = HEAP32[i25 + (i6 * 72 | 0) + (i3 << 2) >> 2] | 0, (i22 | 0) != 0) : 0) { - i1 = i1 ^ HEAP32[i20 + ((((HEAP32[i17 + (i22 << 2) >> 2] | 0) + i2 | 0) % (i10 | 0) | 0) << 2) >> 2]; - HEAP32[i4 >> 2] = i1; + $13 = $13 - 24 | 0; + $6 = $6 - 1 | 0; + if (!HEAP32[($8 + 480 | 0) + ($6 << 2) >> 2]) { + continue; + } + break; } - i3 = i3 + 1 | 0; + break label$9; } - i2 = HEAP32[i17 + (i1 << 2) >> 2] | 0; - HEAP32[i4 >> 2] = i2; - if ((i13 | 0) > (i11 | 0)) break; else i14 = i13; - } - if ((i13 | 0) > (i11 | 0)) { - i1 = -1; - break L11; - } - i1 = 0; - while (1) { - if ((i1 | 0) > (i13 | 0)) break; - i24 = i25 + (i6 * 72 | 0) + (i1 << 2) | 0; - HEAP32[i24 >> 2] = HEAP32[i17 + (HEAP32[i24 >> 2] << 2) >> 2]; - i1 = i1 + 1 | 0; - } - i1 = 1; - while (1) { - if ((i1 | 0) > (i13 | 0)) break; - HEAP32[i26 + (i1 << 2) >> 2] = HEAP32[i25 + (i6 * 72 | 0) + (i1 << 2) >> 2]; - i1 = i1 + 1 | 0; - } - i1 = 0; - i7 = 1; - while (1) { - if ((i10 | 0) < (i7 | 0)) break; - i5 = 1; - i2 = 1; + $2 = 1; while (1) { - if ((i5 | 0) > (i13 | 0)) break; - i3 = i26 + (i5 << 2) | 0; - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) != -1) { - i25 = (i4 + i5 | 0) % (i10 | 0) | 0; - HEAP32[i3 >> 2] = i25; - i2 = HEAP32[i20 + (i25 << 2) >> 2] ^ i2; + $7 = $2; + $2 = $2 + 1 | 0; + if (!HEAP32[($8 + 480 | 0) + ($12 - $7 << 2) >> 2]) { + continue; } - i5 = i5 + 1 | 0; - } - if (!i2) { - HEAP32[i27 + (i1 << 2) >> 2] = i10 - i7; - i1 = i1 + 1 | 0; - } - i7 = i7 + 1 | 0; - } - if ((i1 | 0) != (i13 | 0)) { - i1 = -1; - break L11; - } - i1 = 0; - while (1) { - if ((i1 | 0) >= (i13 | 0)) break L24; - i26 = i8 + (HEAP32[i27 + (i1 << 2) >> 2] | 0) | 0; - HEAP8[i26 >> 0] = HEAP8[i26 >> 0] ^ 1; - i1 = i1 + 1 | 0; - } - } else i6 = 0; while (0); - i1 = i28; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - i1 = i9 - i19 | 0; - i2 = 1; - i3 = 0; - i4 = 0; - i5 = 0; - while (1) { - if ((i1 | 0) >= (i9 | 0)) break; - i26 = ___muldi3(i2 | 0, i3 | 0, HEAPU8[i8 + i1 >> 0] | 0, 0) | 0; - i26 = _i64Add(i26 | 0, getTempRet0() | 0, i4 | 0, i5 | 0) | 0; - i27 = getTempRet0() | 0; - i25 = i28; - HEAP32[i25 >> 2] = i26; - HEAP32[i25 + 4 >> 2] = i27; - i25 = _bitshift64Shl(i2 | 0, i3 | 0, 1) | 0; - i1 = i1 + 1 | 0; - i2 = i25; - i3 = getTempRet0() | 0; - i4 = i26; - i5 = i27; - } - if (i18) i1 = HEAP32[i29 + (i6 << 2) >> 2] | 0; else i1 = 0; - } while (0); - STACKTOP = i30; - return i1 | 0; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(i10, i19, i20, i13, i21, i14, i1, i15) { - i10 = i10 | 0; - i19 = i19 | 0; - i20 = i20 | 0; - i13 = i13 | 0; - i21 = i21 | 0; - i14 = i14 | 0; - i1 = i1 | 0; - i15 = i15 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i11 = 0, i12 = 0, i16 = 0, i17 = 0, i18 = 0, i22 = 0, i23 = 0; - i23 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i23 + 12 | 0; - i8 = i23 + 8 | 0; - i17 = i23 + 4 | 0; - i18 = i23; - __ZNKSt3__28ios_base6getlocEv(i9, i13); - i11 = __ZNKSt3__26locale9use_facetERNS0_2idE(i9, 57916) | 0; - __ZNSt3__26localeD2Ev(i9); - HEAP32[i21 >> 2] = 0; - i12 = i11 + 8 | 0; - i3 = 0; - L1 : while (1) { - i2 = HEAP32[i19 >> 2] | 0; - if (!((i1 | 0) != (i15 | 0) & (i3 | 0) == 0)) break; - i4 = i2; - if (i2) { - i3 = HEAP32[i2 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i3 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i3, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i19 >> 2] = 0; - i2 = 0; - i5 = 1; - i7 = 0; - } else { - i5 = 0; - i7 = i4; - } - } else { - i2 = 0; - i5 = 1; - i7 = i4; - } - i6 = HEAP32[i20 >> 2] | 0; - i3 = i6; - do if (i6) { - i4 = HEAP32[i6 + 12 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i6 + 16 >> 2] | 0)) i4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0; else i4 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i4 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i4, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i5) break; else { - i22 = 63; - break L1; - } else { - HEAP32[i20 >> 2] = 0; - i3 = 0; - i22 = 15; - break; - } - } else i22 = 15; while (0); - if ((i22 | 0) == 15) { - i22 = 0; - if (i5) { - i22 = 63; - break; - } else i6 = 0; - } - L24 : do if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i11 >> 2] | 0) + 36 >> 2] & 63](i11, HEAP8[i1 >> 0] | 0, 0) | 0) << 24 >> 24 == 37) { - i6 = i1 + 1 | 0; - if ((i6 | 0) == (i15 | 0)) { - i22 = 63; - break L1; - } - i4 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i11 >> 2] | 0) + 36 >> 2] & 63](i11, HEAP8[i6 >> 0] | 0, 0) | 0; - switch (i4 << 24 >> 24) { - case 48: - case 69: - { - i1 = i1 + 2 | 0; - if ((i1 | 0) == (i15 | 0)) { - i22 = 63; - break L1; - } - i5 = i4; - i2 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i11 >> 2] | 0) + 36 >> 2] & 63](i11, HEAP8[i1 >> 0] | 0, 0) | 0; - i1 = i6; break; } - default: - { - i5 = 0; - i2 = i4; - } - } - i6 = HEAP32[(HEAP32[i10 >> 2] | 0) + 36 >> 2] | 0; - HEAP32[i17 >> 2] = i7; - HEAP32[i18 >> 2] = i3; - HEAP32[i8 >> 2] = HEAP32[i17 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i18 >> 2]; - i7 = FUNCTION_TABLE_iiiiiiiii[i6 & 15](i10, i8, i9, i13, i21, i14, i2, i5) | 0; - HEAP32[i19 >> 2] = i7; - i1 = i1 + 2 | 0; - } else { - i3 = HEAP8[i1 >> 0] | 0; - if (i3 << 24 >> 24 > -1 ? (i16 = HEAP32[i12 >> 2] | 0, HEAP16[i16 + (i3 << 24 >> 24 << 1) >> 1] & 8192) : 0) { - do { - i1 = i1 + 1 | 0; - if ((i1 | 0) == (i15 | 0)) { - i1 = i15; - break; - } - i3 = HEAP8[i1 >> 0] | 0; - if (i3 << 24 >> 24 <= -1) break; - } while ((HEAP16[i16 + (i3 << 24 >> 24 << 1) >> 1] & 8192) != 0); + $10 = $6 + $7 | 0; while (1) { - if (i2) { - i3 = HEAP32[i2 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i3 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i3, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i19 >> 2] = 0; - i2 = 0; - i4 = 1; - } else i4 = 0; - } else { - i2 = 0; - i4 = 1; - } - do if (i6) { - i3 = HEAP32[i6 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i6 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0; else i3 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i3, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i4) break; else break L24; else { - HEAP32[i20 >> 2] = 0; - i22 = 42; + $7 = $3 + $6 | 0; + $6 = $6 + 1 | 0; + HEAPF64[($8 + 320 | 0) + ($7 << 3) >> 3] = HEAP32[($18 + $6 << 2) + 45152 >> 2]; + $2 = 0; + $5 = 0; + if (($3 | 0) > 0) { + while (1) { + $5 = HEAPF64[($2 << 3) + $0 >> 3] * HEAPF64[($8 + 320 | 0) + ($7 - $2 << 3) >> 3] + $5; + $2 = $2 + 1 | 0; + if (($3 | 0) != ($2 | 0)) { + continue; + } break; } - } else i22 = 42; while (0); - if ((i22 | 0) == 42) { - i22 = 0; - if (i4) break L24; else i6 = 0; - } - i4 = i2 + 12 | 0; - i3 = HEAP32[i4 >> 2] | 0; - i5 = i2 + 16 | 0; - if ((i3 | 0) == (HEAP32[i5 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i3 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - if ((i3 & 255) << 24 >> 24 <= -1) break L24; - if (!(HEAP16[(HEAP32[i12 >> 2] | 0) + (i3 << 24 >> 24 << 1) >> 1] & 8192)) break L24; - i3 = HEAP32[i4 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i5 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 40 >> 2] & 127](i2) | 0; else { - HEAP32[i4 >> 2] = i3 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - } - } - i4 = i2 + 12 | 0; - i3 = HEAP32[i4 >> 2] | 0; - i5 = i2 + 16 | 0; - if ((i3 | 0) == (HEAP32[i5 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i3 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 12 >> 2] & 63](i11, i3 & 255) | 0; - if (i7 << 24 >> 24 != (FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 12 >> 2] & 63](i11, HEAP8[i1 >> 0] | 0) | 0) << 24 >> 24) { - HEAP32[i21 >> 2] = 4; - break; + } + HEAPF64[($6 << 3) + $8 >> 3] = $5; + if (($6 | 0) < ($10 | 0)) { + continue; + } + break; + } + $6 = $10; + continue; } - i3 = HEAP32[i4 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i5 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 40 >> 2] & 127](i2) | 0; else { - HEAP32[i4 >> 2] = i3 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - i1 = i1 + 1 | 0; - } while (0); - i3 = HEAP32[i21 >> 2] | 0; - } - if ((i22 | 0) == 63) HEAP32[i21 >> 2] = 4; - if (i2) { - i1 = HEAP32[i2 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i19 >> 2] = 0; - i2 = 0; - i4 = 1; - } else i4 = 0; - } else { - i2 = 0; - i4 = 1; - } - i1 = HEAP32[i20 >> 2] | 0; - do if (i1) { - i3 = HEAP32[i1 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i4) break; else { - i22 = 78; - break; - } else { - HEAP32[i20 >> 2] = 0; - i22 = 76; break; } - } else i22 = 76; while (0); - if ((i22 | 0) == 76 ? i4 : 0) i22 = 78; - if ((i22 | 0) == 78) HEAP32[i21 >> 2] = HEAP32[i21 >> 2] | 2; - STACKTOP = i23; - return i2 | 0; -} - -function _free(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - if (!i1) return; - i3 = i1 + -8 | 0; - i5 = HEAP32[14092] | 0; - i1 = HEAP32[i1 + -4 >> 2] | 0; - i2 = i1 & -8; - i9 = i3 + i2 | 0; - do if (!(i1 & 1)) { - i4 = HEAP32[i3 >> 2] | 0; - if (!(i1 & 3)) return; - i7 = i3 + (0 - i4) | 0; - i6 = i4 + i2 | 0; - if (i7 >>> 0 < i5 >>> 0) return; - if ((HEAP32[14093] | 0) == (i7 | 0)) { - i1 = i9 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if ((i2 & 3 | 0) != 3) { - i8 = i7; - i2 = i6; - break; - } - HEAP32[14090] = i6; - HEAP32[i1 >> 2] = i2 & -2; - HEAP32[i7 + 4 >> 2] = i6 | 1; - HEAP32[i7 + i6 >> 2] = i6; - return; - } - i3 = i4 >>> 3; - if (i4 >>> 0 < 256) { - i1 = HEAP32[i7 + 8 >> 2] | 0; - i2 = HEAP32[i7 + 12 >> 2] | 0; - if ((i2 | 0) == (i1 | 0)) { - HEAP32[14088] = HEAP32[14088] & ~(1 << i3); - i8 = i7; - i2 = i6; - break; - } else { - HEAP32[i1 + 12 >> 2] = i2; - HEAP32[i2 + 8 >> 2] = i1; - i8 = i7; - i2 = i6; - break; - } - } - i5 = HEAP32[i7 + 24 >> 2] | 0; - i1 = HEAP32[i7 + 12 >> 2] | 0; - do if ((i1 | 0) == (i7 | 0)) { - i2 = i7 + 16 | 0; - i3 = i2 + 4 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) { - i1 = HEAP32[i2 >> 2] | 0; - if (!i1) { - i1 = 0; - break; - } - } else i2 = i3; - while (1) { - i4 = i1 + 20 | 0; - i3 = HEAP32[i4 >> 2] | 0; - if (!i3) { - i4 = i1 + 16 | 0; - i3 = HEAP32[i4 >> 2] | 0; - if (!i3) break; else { - i1 = i3; - i2 = i4; + $5 = scalbn($5, 24 - $13 | 0); + label$39: { + if ($5 >= 16777216) { + $3 = $6 << 2; + $3 = $3 + ($8 + 480 | 0) | 0; + $9 = $5 * 5.960464477539063e-8; + label$42: { + if (Math_abs($9) < 2147483648) { + $2 = ~~$9; + break label$42; } - } else { - i1 = i3; - i2 = i4; - } - } - HEAP32[i2 >> 2] = 0; - } else { - i8 = HEAP32[i7 + 8 >> 2] | 0; - HEAP32[i8 + 12 >> 2] = i1; - HEAP32[i1 + 8 >> 2] = i8; - } while (0); - if (i5) { - i2 = HEAP32[i7 + 28 >> 2] | 0; - i3 = 56656 + (i2 << 2) | 0; - if ((HEAP32[i3 >> 2] | 0) == (i7 | 0)) { - HEAP32[i3 >> 2] = i1; - if (!i1) { - HEAP32[14089] = HEAP32[14089] & ~(1 << i2); - i8 = i7; - i2 = i6; - break; + $2 = -2147483648; } - } else { - i8 = i5 + 16 | 0; - HEAP32[((HEAP32[i8 >> 2] | 0) == (i7 | 0) ? i8 : i5 + 20 | 0) >> 2] = i1; - if (!i1) { - i8 = i7; - i2 = i6; - break; + $5 = +($2 | 0) * -16777216 + $5; + label$41: { + if (Math_abs($5) < 2147483648) { + $7 = ~~$5; + break label$41; + } + $7 = -2147483648; } + HEAP32[$3 >> 2] = $7; + $6 = $6 + 1 | 0; + break label$39; } - HEAP32[i1 + 24 >> 2] = i5; - i2 = i7 + 16 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) { - HEAP32[i1 + 16 >> 2] = i3; - HEAP32[i3 + 24 >> 2] = i1; - } - i2 = HEAP32[i2 + 4 >> 2] | 0; - if (i2) { - HEAP32[i1 + 20 >> 2] = i2; - HEAP32[i2 + 24 >> 2] = i1; - i8 = i7; - i2 = i6; + if (Math_abs($5) < 2147483648) { + $2 = ~~$5; } else { - i8 = i7; - i2 = i6; + $2 = -2147483648; } - } else { - i8 = i7; - i2 = i6; - } - } else { - i8 = i3; - i7 = i3; - } while (0); - if (i7 >>> 0 >= i9 >>> 0) return; - i1 = i9 + 4 | 0; - i4 = HEAP32[i1 >> 2] | 0; - if (!(i4 & 1)) return; - if (!(i4 & 2)) { - if ((HEAP32[14094] | 0) == (i9 | 0)) { - i9 = (HEAP32[14091] | 0) + i2 | 0; - HEAP32[14091] = i9; - HEAP32[14094] = i8; - HEAP32[i8 + 4 >> 2] = i9 | 1; - if ((i8 | 0) != (HEAP32[14093] | 0)) return; - HEAP32[14093] = 0; - HEAP32[14090] = 0; - return; + $13 = $17; } - if ((HEAP32[14093] | 0) == (i9 | 0)) { - i9 = (HEAP32[14090] | 0) + i2 | 0; - HEAP32[14090] = i9; - HEAP32[14093] = i7; - HEAP32[i8 + 4 >> 2] = i9 | 1; - HEAP32[i7 + i9 >> 2] = i9; - return; + HEAP32[($8 + 480 | 0) + ($6 << 2) >> 2] = $2; + } + $5 = scalbn(1, $13); + label$47: { + if (($6 | 0) < 0) { + break label$47; } - i5 = (i4 & -8) + i2 | 0; - i3 = i4 >>> 3; - do if (i4 >>> 0 < 256) { - i2 = HEAP32[i9 + 8 >> 2] | 0; - i1 = HEAP32[i9 + 12 >> 2] | 0; - if ((i1 | 0) == (i2 | 0)) { - HEAP32[14088] = HEAP32[14088] & ~(1 << i3); - break; - } else { - HEAP32[i2 + 12 >> 2] = i1; - HEAP32[i1 + 8 >> 2] = i2; - break; + $3 = $6; + while (1) { + $2 = $3; + HEAPF64[($2 << 3) + $8 >> 3] = $5 * +HEAP32[($8 + 480 | 0) + ($2 << 2) >> 2]; + $3 = $2 - 1 | 0; + $5 = $5 * 5.960464477539063e-8; + if ($2) { + continue; } - } else { - i6 = HEAP32[i9 + 24 >> 2] | 0; - i1 = HEAP32[i9 + 12 >> 2] | 0; - do if ((i1 | 0) == (i9 | 0)) { - i2 = i9 + 16 | 0; - i3 = i2 + 4 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) { - i1 = HEAP32[i2 >> 2] | 0; - if (!i1) { - i3 = 0; - break; - } - } else i2 = i3; - while (1) { - i4 = i1 + 20 | 0; - i3 = HEAP32[i4 >> 2] | 0; - if (!i3) { - i4 = i1 + 16 | 0; - i3 = HEAP32[i4 >> 2] | 0; - if (!i3) break; else { - i1 = i3; - i2 = i4; - } - } else { - i1 = i3; - i2 = i4; - } - } - HEAP32[i2 >> 2] = 0; - i3 = i1; - } else { - i3 = HEAP32[i9 + 8 >> 2] | 0; - HEAP32[i3 + 12 >> 2] = i1; - HEAP32[i1 + 8 >> 2] = i3; - i3 = i1; - } while (0); - if (i6 | 0) { - i1 = HEAP32[i9 + 28 >> 2] | 0; - i2 = 56656 + (i1 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) == (i9 | 0)) { - HEAP32[i2 >> 2] = i3; - if (!i3) { - HEAP32[14089] = HEAP32[14089] & ~(1 << i1); - break; - } - } else { - i4 = i6 + 16 | 0; - HEAP32[((HEAP32[i4 >> 2] | 0) == (i9 | 0) ? i4 : i6 + 20 | 0) >> 2] = i3; - if (!i3) break; - } - HEAP32[i3 + 24 >> 2] = i6; - i1 = i9 + 16 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i3 + 16 >> 2] = i2; - HEAP32[i2 + 24 >> 2] = i3; - } - i1 = HEAP32[i1 + 4 >> 2] | 0; - if (i1 | 0) { - HEAP32[i3 + 20 >> 2] = i1; - HEAP32[i1 + 24 >> 2] = i3; - } - } - } while (0); - HEAP32[i8 + 4 >> 2] = i5 | 1; - HEAP32[i7 + i5 >> 2] = i5; - if ((i8 | 0) == (HEAP32[14093] | 0)) { - HEAP32[14090] = i5; - return; + break; } - } else { - HEAP32[i1 >> 2] = i4 & -2; - HEAP32[i8 + 4 >> 2] = i2 | 1; - HEAP32[i7 + i2 >> 2] = i2; - i5 = i2; - } - i1 = i5 >>> 3; - if (i5 >>> 0 < 256) { - i3 = 56392 + (i1 << 1 << 2) | 0; - i2 = HEAP32[14088] | 0; - i1 = 1 << i1; - if (!(i2 & i1)) { - HEAP32[14088] = i2 | i1; - i1 = i3; - i2 = i3 + 8 | 0; - } else { - i2 = i3 + 8 | 0; - i1 = HEAP32[i2 >> 2] | 0; + $10 = 0; + if (($6 | 0) < 0) { + break label$47; } - HEAP32[i2 >> 2] = i8; - HEAP32[i1 + 12 >> 2] = i8; - HEAP32[i8 + 8 >> 2] = i1; - HEAP32[i8 + 12 >> 2] = i3; - return; - } - i1 = i5 >>> 8; - if (i1) if (i5 >>> 0 > 16777215) i4 = 31; else { - i7 = (i1 + 1048320 | 0) >>> 16 & 8; - i9 = i1 << i7; - i6 = (i9 + 520192 | 0) >>> 16 & 4; - i9 = i9 << i6; - i4 = (i9 + 245760 | 0) >>> 16 & 2; - i4 = 14 - (i6 | i7 | i4) + (i9 << i4 >>> 15) | 0; - i4 = i5 >>> (i4 + 7 | 0) & 1 | i4 << 1; - } else i4 = 0; - i1 = 56656 + (i4 << 2) | 0; - HEAP32[i8 + 28 >> 2] = i4; - HEAP32[i8 + 20 >> 2] = 0; - HEAP32[i8 + 16 >> 2] = 0; - i2 = HEAP32[14089] | 0; - i3 = 1 << i4; - L112 : do if (!(i2 & i3)) { - HEAP32[14089] = i2 | i3; - HEAP32[i1 >> 2] = i8; - HEAP32[i8 + 24 >> 2] = i1; - HEAP32[i8 + 12 >> 2] = i8; - HEAP32[i8 + 8 >> 2] = i8; - } else { - i1 = HEAP32[i1 >> 2] | 0; - L115 : do if ((HEAP32[i1 + 4 >> 2] & -8 | 0) != (i5 | 0)) { - i4 = i5 << ((i4 | 0) == 31 ? 0 : 25 - (i4 >>> 1) | 0); + $12 = ($12 | 0) > 0 ? $12 : 0; + $7 = $6; + while (1) { + $0 = $10 >>> 0 > $12 >>> 0 ? $12 : $10; + $11 = $6 - $7 | 0; + $2 = 0; + $5 = 0; while (1) { - i3 = i1 + 16 + (i4 >>> 31 << 2) | 0; - i2 = HEAP32[i3 >> 2] | 0; - if (!i2) break; - if ((HEAP32[i2 + 4 >> 2] & -8 | 0) == (i5 | 0)) { - i1 = i2; - break L115; - } else { - i4 = i4 << 1; - i1 = i2; - } - } - HEAP32[i3 >> 2] = i8; - HEAP32[i8 + 24 >> 2] = i1; - HEAP32[i8 + 12 >> 2] = i8; - HEAP32[i8 + 8 >> 2] = i8; - break L112; - } while (0); - i7 = i1 + 8 | 0; - i9 = HEAP32[i7 >> 2] | 0; - HEAP32[i9 + 12 >> 2] = i8; - HEAP32[i7 >> 2] = i8; - HEAP32[i8 + 8 >> 2] = i9; - HEAP32[i8 + 12 >> 2] = i1; - HEAP32[i8 + 24 >> 2] = 0; - } while (0); - i9 = (HEAP32[14096] | 0) + -1 | 0; - HEAP32[14096] = i9; - if (i9 | 0) return; - i1 = 56808; - while (1) { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) break; else i1 = i1 + 8 | 0; - } - HEAP32[14096] = -1; - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(i10, i17, i18, i12, i19, i13, i1, i14) { - i10 = i10 | 0; - i17 = i17 | 0; - i18 = i18 | 0; - i12 = i12 | 0; - i19 = i19 | 0; - i13 = i13 | 0; - i1 = i1 | 0; - i14 = i14 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i11 = 0, i15 = 0, i16 = 0, i20 = 0, i21 = 0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i21 + 12 | 0; - i8 = i21 + 8 | 0; - i15 = i21 + 4 | 0; - i16 = i21; - __ZNKSt3__28ios_base6getlocEv(i9, i12); - i11 = __ZNKSt3__26locale9use_facetERNS0_2idE(i9, 57948) | 0; - __ZNSt3__26localeD2Ev(i9); - HEAP32[i19 >> 2] = 0; - i3 = 0; - L1 : while (1) { - i2 = HEAP32[i17 >> 2] | 0; - if (!((i1 | 0) != (i14 | 0) & (i3 | 0) == 0)) break; - i4 = i2; - if (i2) { - i3 = HEAP32[i2 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i3 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i3, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i17 >> 2] = 0; - i2 = 0; - i5 = 1; - i7 = 0; - } else { - i5 = 0; - i7 = i4; - } - } else { - i2 = 0; - i5 = 1; - i7 = i4; - } - i6 = HEAP32[i18 >> 2] | 0; - i3 = i6; - do if (i6) { - i4 = HEAP32[i6 + 12 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i6 + 16 >> 2] | 0)) i4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0; else i4 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i4 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i4, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i5) break; else { - i20 = 60; - break L1; - } else { - HEAP32[i18 >> 2] = 0; - i3 = 0; - i20 = 15; - break; - } - } else i20 = 15; while (0); - if ((i20 | 0) == 15) { - i20 = 0; - if (i5) { - i20 = 60; - break; - } else i6 = 0; - } - L24 : do if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i11 >> 2] | 0) + 52 >> 2] & 63](i11, HEAP32[i1 >> 2] | 0, 0) | 0) << 24 >> 24 == 37) { - i6 = i1 + 4 | 0; - if ((i6 | 0) == (i14 | 0)) { - i20 = 60; - break L1; - } - i4 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i11 >> 2] | 0) + 52 >> 2] & 63](i11, HEAP32[i6 >> 2] | 0, 0) | 0; - switch (i4 << 24 >> 24) { - case 48: - case 69: - { - i1 = i1 + 8 | 0; - if ((i1 | 0) == (i14 | 0)) { - i20 = 60; - break L1; - } - i5 = i4; - i2 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i11 >> 2] | 0) + 52 >> 2] & 63](i11, HEAP32[i1 >> 2] | 0, 0) | 0; - i1 = i6; - break; - } - default: - { - i5 = 0; - i2 = i4; - } - } - i6 = HEAP32[(HEAP32[i10 >> 2] | 0) + 36 >> 2] | 0; - HEAP32[i15 >> 2] = i7; - HEAP32[i16 >> 2] = i3; - HEAP32[i8 >> 2] = HEAP32[i15 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i16 >> 2]; - i7 = FUNCTION_TABLE_iiiiiiiii[i6 & 15](i10, i8, i9, i12, i19, i13, i2, i5) | 0; - HEAP32[i17 >> 2] = i7; - i1 = i1 + 8 | 0; - } else { - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i11 >> 2] | 0) + 12 >> 2] & 63](i11, 8192, HEAP32[i1 >> 2] | 0) | 0)) { - i4 = i2 + 12 | 0; - i3 = HEAP32[i4 >> 2] | 0; - i5 = i2 + 16 | 0; - if ((i3 | 0) == (HEAP32[i5 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i3 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 63](i11, i3) | 0; - if ((i7 | 0) != (FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 63](i11, HEAP32[i1 >> 2] | 0) | 0)) { - HEAP32[i19 >> 2] = 4; - break; - } - i3 = HEAP32[i4 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i5 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 40 >> 2] & 127](i2) | 0; else { - HEAP32[i4 >> 2] = i3 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; + $5 = HEAPF64[($2 << 3) + 47920 >> 3] * HEAPF64[($2 + $7 << 3) + $8 >> 3] + $5; + $3 = ($0 | 0) != ($2 | 0); + $2 = $2 + 1 | 0; + if ($3) { + continue; } - i1 = i1 + 4 | 0; break; } - do { - i1 = i1 + 4 | 0; - if ((i1 | 0) == (i14 | 0)) { - i1 = i14; - break; - } - } while (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i11 >> 2] | 0) + 12 >> 2] & 63](i11, 8192, HEAP32[i1 >> 2] | 0) | 0); - while (1) { - if (i2) { - i3 = HEAP32[i2 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i3 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i3, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i17 >> 2] = 0; - i2 = 0; - i4 = 1; - } else i4 = 0; - } else { - i2 = 0; - i4 = 1; - } - do if (i6) { - i3 = HEAP32[i6 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i6 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0; else i3 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i3, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i4) break; else break L24; else { - HEAP32[i18 >> 2] = 0; - i20 = 40; - break; - } - } else i20 = 40; while (0); - if ((i20 | 0) == 40) { - i20 = 0; - if (i4) break L24; else i6 = 0; - } - i4 = i2 + 12 | 0; - i3 = HEAP32[i4 >> 2] | 0; - i5 = i2 + 16 | 0; - if ((i3 | 0) == (HEAP32[i5 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i3 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i11 >> 2] | 0) + 12 >> 2] & 63](i11, 8192, i3) | 0)) break L24; - i3 = HEAP32[i4 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i5 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 40 >> 2] & 127](i2) | 0; else { - HEAP32[i4 >> 2] = i3 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - } - } - } while (0); - i3 = HEAP32[i19 >> 2] | 0; - } - if ((i20 | 0) == 60) HEAP32[i19 >> 2] = 4; - if (i2) { - i1 = HEAP32[i2 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i17 >> 2] = 0; - i2 = 0; - i4 = 1; - } else i4 = 0; - } else { - i2 = 0; - i4 = 1; - } - i1 = HEAP32[i18 >> 2] | 0; - do if (i1) { - i3 = HEAP32[i1 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i4) break; else { - i20 = 75; - break; - } else { - HEAP32[i18 >> 2] = 0; - i20 = 73; - break; - } - } else i20 = 73; while (0); - if ((i20 | 0) == 73 ? i4 : 0) i20 = 75; - if ((i20 | 0) == 75) HEAP32[i19 >> 2] = HEAP32[i19 >> 2] | 2; - STACKTOP = i21; - return i2 | 0; -} - -function __ZN46EmscriptenBindingInitializer_constant_bindingsC2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i1; - __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(38285, 29); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38291, 74); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38300, 75); - __ZN10emscripten8functionIiJiNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(38309, 29); - __ZN10emscripten8functionIiJiNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(38320, 30); - __ZN10emscripten8functionIiJiNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(38336, 31); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(38350, 32); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38368, 76); - __ZN10emscripten8functionIiJNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(38388, 77); - __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(38400, 30); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(38417, 33); - __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(38437, 31); - __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(38455, 32); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(38477, 34); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(38500, 35); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38529, 78); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38542, 79); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38555, 80); - __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(38571, 33); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(38590, 36); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(38600, 37); - __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(38613, 38); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38626, 81); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38639, 82); - __ZN10emscripten8functionIvJiEJEEEvPKcPFT_DpT0_EDpT1_(38658, 140); - __ZN10emscripten8functionIiJEJEEEvPKcPFT_DpT0_EDpT1_(38670, 1); - __ZN10emscripten8functionIvJidEJEEEvPKcPFT_DpT0_EDpT1_(38682, 1); - __ZN10emscripten8functionIdJiEJEEEvPKcPFT_DpT0_EDpT1_(38705, 1); - __ZN10emscripten8functionIvJidEJEEEvPKcPFT_DpT0_EDpT1_(38728, 2); - __ZN10emscripten8functionIdJiEJEEEvPKcPFT_DpT0_EDpT1_(38750, 2); - __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(38772, 49); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38789, 83); - __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(38806, 50); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38819, 84); - __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(38832, 51); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38856, 85); - __ZN10emscripten8functionIvJifEJEEEvPKcPFT_DpT0_EDpT1_(38880, 3); - __ZN10emscripten8functionIdJiEJEEEvPKcPFT_DpT0_EDpT1_(38893, 3); - __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(38906, 52); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38924, 86); - __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(38942, 53); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38958, 87); - __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(38974, 54); - __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(38991, 88); - __ZN10emscripten8constantIiEEvPKcRKT_(39008, 13652); - __ZN10emscripten8constantIiEEvPKcRKT_(39037, 13656); - __ZN10emscripten8constantIiEEvPKcRKT_(39065, 13660); - HEAP32[i2 >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(39098, i2); - HEAP32[i2 >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(39115, i2); - HEAP32[i2 >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(39131, i2); - HEAP32[i2 >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(39153, i2); - HEAP32[i2 >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(39178, i2); - HEAP32[i2 >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(39203, i2); - HEAP32[i2 >> 2] = 100; - __ZN10emscripten8constantIiEEvPKcRKT_(39228, i2); - HEAP32[i2 >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(39255, i2); - HEAP32[i2 >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(39281, i2); - HEAP32[i2 >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(39307, i2); - HEAP32[i2 >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(39334, i2); - HEAP32[i2 >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(39361, i2); - HEAP32[i2 >> 2] = 2; - __ZN10emscripten8constantIiEEvPKcRKT_(39387, i2); - HEAP32[i2 >> 2] = 3; - __ZN10emscripten8constantIiEEvPKcRKT_(39412, i2); - HEAP32[i2 >> 2] = 4; - __ZN10emscripten8constantIiEEvPKcRKT_(39450, i2); - HEAP32[i2 >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(39487, i2); - HEAP32[i2 >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(39521, i2); - HEAP32[i2 >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(39545, i2); - HEAP32[i2 >> 2] = 2; - __ZN10emscripten8constantIiEEvPKcRKT_(39571, i2); - HEAP32[i2 >> 2] = 2; - __ZN10emscripten8constantIiEEvPKcRKT_(39598, i2); - HEAP32[i2 >> 2] = 5; - __ZN10emscripten8constantIiEEvPKcRKT_(39632, i2); - HEAPF64[i2 >> 3] = .5; - __ZN10emscripten8constantIdEEvPKcRKT_(39650, i2); - HEAP32[i2 >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(39671, i2); - HEAP32[i2 >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(39690, i2); - HEAP32[i2 >> 2] = 2; - __ZN10emscripten8constantIiEEvPKcRKT_(39708, i2); - HEAP32[i2 >> 2] = 3; - __ZN10emscripten8constantIiEEvPKcRKT_(39726, i2); - HEAP32[i2 >> 2] = 4; - __ZN10emscripten8constantIiEEvPKcRKT_(39745, i2); - HEAP32[i2 >> 2] = 3; - __ZN10emscripten8constantIiEEvPKcRKT_(39767, i2); - HEAP32[i2 >> 2] = 515; - __ZN10emscripten8constantIiEEvPKcRKT_(39786, i2); - HEAP32[i2 >> 2] = 259; - __ZN10emscripten8constantIiEEvPKcRKT_(39815, i2); - HEAP32[i2 >> 2] = 4; - __ZN10emscripten8constantIiEEvPKcRKT_(39843, i2); - HEAP32[i2 >> 2] = 772; - __ZN10emscripten8constantIiEEvPKcRKT_(39862, i2); - HEAP32[i2 >> 2] = 1028; - __ZN10emscripten8constantIiEEvPKcRKT_(39892, i2); - HEAP32[i2 >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(39922, i2); - HEAP32[i2 >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(39953, i2); - HEAP32[i2 >> 2] = 2; - __ZN10emscripten8constantIiEEvPKcRKT_(39989, i2); - HEAP32[i2 >> 2] = 3; - __ZN10emscripten8constantIiEEvPKcRKT_(40023, i2); - HEAP32[i2 >> 2] = 0; - __ZN10emscripten8constantIiEEvPKcRKT_(40061, i2); - HEAP32[i2 >> 2] = 1; - __ZN10emscripten8constantIiEEvPKcRKT_(40094, i2); - HEAP32[i2 >> 2] = 2; - __ZN10emscripten8constantIiEEvPKcRKT_(40141, i2); - HEAP32[i2 >> 2] = 3; - __ZN10emscripten8constantIiEEvPKcRKT_(40183, i2); - HEAP32[i2 >> 2] = 4; - __ZN10emscripten8constantIiEEvPKcRKT_(40226, i2); - HEAP32[i2 >> 2] = 5; - __ZN10emscripten8constantIiEEvPKcRKT_(40278, i2); - HEAP32[i2 >> 2] = 6; - __ZN10emscripten8constantIiEEvPKcRKT_(40329, i2); - HEAP32[i2 >> 2] = 7; - __ZN10emscripten8constantIiEEvPKcRKT_(40374, i2); - HEAP32[i2 >> 2] = 8; - __ZN10emscripten8constantIiEEvPKcRKT_(40413, i2); - HEAP32[i2 >> 2] = 9; - __ZN10emscripten8constantIiEEvPKcRKT_(40458, i2); - STACKTOP = i1; - return; -} - -function _ar2ReadSurfaceSet(i4, i1, i14) { - i4 = i4 | 0; - i1 = i1 | 0; - i14 = i14 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0; - i36 = STACKTOP; - STACKTOP = STACKTOP + 1248 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1248); - i35 = i36 + 1232 | 0; - i34 = i36 + 1224 | 0; - i33 = i36 + 1208 | 0; - i32 = i36 + 1200 | 0; - i31 = i36 + 1184 | 0; - i30 = i36 + 1176 | 0; - i29 = i36 + 1160 | 0; - i28 = i36 + 1152 | 0; - i27 = i36 + 1144 | 0; - i26 = i36 + 1136 | 0; - i25 = i36 + 1128 | 0; - i24 = i36 + 1120 | 0; - i23 = i36 + 1112 | 0; - i22 = i36 + 1104 | 0; - i21 = i36 + 1096 | 0; - i20 = i36 + 1088 | 0; - i19 = i36 + 1080 | 0; - i18 = i36 + 1072 | 0; - i12 = i36 + 1064 | 0; - i8 = i36 + 1056 | 0; - i7 = i36 + 1048 | 0; - i6 = i36 + 1040 | 0; - i5 = i36 + 1032 | 0; - i3 = i36 + 1024 | 0; - i15 = i36 + 768 | 0; - i16 = i36 + 512 | 0; - i17 = i36 + 1236 | 0; - i2 = i36; - do if (((i1 | 0) != 0 ? (HEAP8[i1 >> 0] | 0) != 0 : 0) ? (_strcmp(i1, 44129) | 0) != 0 : 0) { - HEAP32[i3 >> 2] = i4; - HEAP32[i3 + 4 >> 2] = i1; - _sprintf(i2, 20471, i3) | 0; - i1 = _fopen(i2, 19680) | 0; - if (!i1) { - HEAP32[i5 >> 2] = i4; - _arLog(0, 3, 19682, i5); - i13 = ___errno_location() | 0; - i13 = _strerror(HEAP32[i13 >> 2] | 0) | 0; - HEAP32[i6 >> 2] = 58366; - HEAP32[i6 + 4 >> 2] = i13; - _arLog(0, 3, 19708, i6); - i13 = 0; - break; - } else { - i10 = i1; - i1 = 1; - i9 = 8; + HEAPF64[($8 + 160 | 0) + ($11 << 3) >> 3] = $5; + $7 = $7 - 1 | 0; + $2 = ($6 | 0) != ($10 | 0); + $10 = $10 + 1 | 0; + if ($2) { + continue; + } break; } - } else i9 = 4; while (0); - if ((i9 | 0) == 4) { - _strncpy(i16, i4, 255) | 0; - HEAP8[i16 + 255 >> 0] = 0; - i10 = 0; - i1 = 0; - i9 = 8; - } - do if ((i9 | 0) == 8) { - i11 = _malloc(1140) | 0; - if (!i11) { - _arLog(0, 3, 20454, i7); - _exit(1); - } - i7 = (i1 | 0) != 0; - if (i7) { - if (!(_get_buff_380(i15, i10) | 0)) { - _fclose(i10) | 0; - _free(i11); - i13 = 0; - break; - } - HEAP32[i8 >> 2] = i17; - if ((_sscanf(i15, 19714, i8) | 0) != 1) { - _fclose(i10) | 0; - _free(i11); - i13 = 0; - break; - } - i1 = HEAP32[i17 >> 2] | 0; - if ((i1 | 0) < 1) { - _fclose(i10) | 0; - _free(i11); - i13 = 0; - break; - } - } else i1 = 1; - HEAP32[i11 + 4 >> 2] = i1; - HEAP32[i11 + 152 >> 2] = 0; - i6 = _malloc(i1 * 112 | 0) | 0; - HEAP32[i11 >> 2] = i6; - if (!i6) { - _arLog(0, 3, 20454, i12); - _exit(1); - } - i5 = (i14 | 0) == 0; - i2 = 0; - L28 : while (1) { - HEAP32[i17 >> 2] = i2; - if ((i2 | 0) >= (i1 | 0)) { - i9 = 57; - break; + } + label$51: { + label$52: { + label$53: { + switch ($4 | 0) { + case 3: + label$56: { + if (($6 | 0) <= 0) { + break label$56; + } + $5 = HEAPF64[($8 + 160 | 0) + ($6 << 3) >> 3]; + $2 = $6; + while (1) { + $3 = $2 - 1 | 0; + $7 = ($8 + 160 | 0) + ($3 << 3) | 0; + $9 = HEAPF64[$7 >> 3]; + $19 = $9; + $9 = $9 + $5; + HEAPF64[($8 + 160 | 0) + ($2 << 3) >> 3] = $5 + ($19 - $9); + HEAPF64[$7 >> 3] = $9; + $7 = $2 >>> 0 > 1; + $5 = $9; + $2 = $3; + if ($7) { + continue; + } + break; + } + if (($6 | 0) < 2) { + break label$56; + } + $5 = HEAPF64[($8 + 160 | 0) + ($6 << 3) >> 3]; + $2 = $6; + while (1) { + $3 = $2 - 1 | 0; + $7 = ($8 + 160 | 0) + ($3 << 3) | 0; + $9 = HEAPF64[$7 >> 3]; + $19 = $9; + $9 = $9 + $5; + HEAPF64[($8 + 160 | 0) + ($2 << 3) >> 3] = $5 + ($19 - $9); + HEAPF64[$7 >> 3] = $9; + $7 = $2 >>> 0 > 2; + $5 = $9; + $2 = $3; + if ($7) { + continue; + } + break; + } + if (($6 | 0) <= 1) { + break label$56; + } + while (1) { + $20 = $20 + HEAPF64[($8 + 160 | 0) + ($6 << 3) >> 3]; + $2 = ($6 | 0) > 2; + $6 = $6 - 1 | 0; + if ($2) { + continue; + } + break; + } + } + $5 = HEAPF64[$8 + 160 >> 3]; + if ($14) { + break label$52; + } + HEAPF64[$1 >> 3] = $5; + $5 = HEAPF64[$8 + 168 >> 3]; + HEAPF64[$1 + 16 >> 3] = $20; + HEAPF64[$1 + 8 >> 3] = $5; + break label$51; + + case 0: + $5 = 0; + if (($6 | 0) >= 0) { + while (1) { + $2 = $6; + $6 = $2 - 1 | 0; + $5 = $5 + HEAPF64[($8 + 160 | 0) + ($2 << 3) >> 3]; + if ($2) { + continue; + } + break; + } + } + HEAPF64[$1 >> 3] = $14 ? -$5 : $5; + break label$51; + + case 1: + case 2: + break label$53; + + default: + break label$51; + } } - HEAP32[i18 >> 2] = i2 + 1; - _arLog(0, 1, 19717, i18); - if (i7) { - if (!(_get_buff_380(i15, i10) | 0)) { - i9 = 57; + $5 = 0; + if (($6 | 0) >= 0) { + $3 = $6; + while (1) { + $2 = $3; + $3 = $2 - 1 | 0; + $5 = $5 + HEAPF64[($8 + 160 | 0) + ($2 << 3) >> 3]; + if ($2) { + continue; + } break; } - HEAP32[i19 >> 2] = i16; - if ((_sscanf(i15, 19741, i19) | 0) != 1) { - i9 = 57; + } + HEAPF64[$1 >> 3] = $14 ? -$5 : $5; + $5 = HEAPF64[$8 + 160 >> 3] - $5; + $2 = 1; + if (($6 | 0) > 0) { + while (1) { + $5 = $5 + HEAPF64[($8 + 160 | 0) + ($2 << 3) >> 3]; + $3 = ($2 | 0) != ($6 | 0); + $2 = $2 + 1 | 0; + if ($3) { + continue; + } break; } - _ar2UtilRemoveExt(i16) | 0; - } - _arLog(0, 1, 19744, i20); - i12 = _ar2ReadImageSet(i16) | 0; - HEAP32[i6 + ((HEAP32[i17 >> 2] | 0) * 112 | 0) >> 2] = i12; - if (!i12) { - i9 = 26; - break; - } - _arLog(0, 1, 19793, i22); - _arLog(0, 1, 19803, i23); - i12 = _ar2ReadFeatureSet(i16, 44129) | 0; - HEAP32[i6 + ((HEAP32[i17 >> 2] | 0) * 112 | 0) + 4 >> 2] = i12; - if (!i12) { - i9 = 29; - break; } - _arLog(0, 1, 19793, i25); - if (i5) HEAP32[i6 + ((HEAP32[i17 >> 2] | 0) * 112 | 0) + 8 >> 2] = 0; else { - _arLog(0, 1, 19854, i26); - _ar2UtilRemoveExt(i16) | 0; - i12 = _ar2ReadMarkerSet(i16, 19873, i14) | 0; - HEAP32[i6 + ((HEAP32[i17 >> 2] | 0) * 112 | 0) + 8 >> 2] = i12; - if (!i12) { - i9 = 33; - break; + HEAPF64[$1 + 8 >> 3] = $14 ? -$5 : $5; + break label$51; + } + HEAPF64[$1 >> 3] = -$5; + $5 = HEAPF64[$8 + 168 >> 3]; + HEAPF64[$1 + 16 >> 3] = -$20; + HEAPF64[$1 + 8 >> 3] = -$5; + } + __stack_pointer = $8 + 560 | 0; + return $16 & 7; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______rehash_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___________alloc_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________get_deleter_28_29($0)); + label$1: { + if ($1) { + std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______29($0, std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________allocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________2c_20unsigned_20long_29($2, $1)); + wasm2js_i32$0 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________size_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________get_deleter_28_29($0)), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = 0; + while (1) if (($1 | 0) == ($2 | 0)) { + $2 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______first_28_29($0 + 8 | 0)); + $3 = HEAP32[$2 >> 2]; + if (!$3) { + break label$1; + } + $7 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_28_29_20const($3), $1); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $7), + wasm2js_i32$1 = $2, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + while (1) { + $4 = HEAP32[$3 >> 2]; + if (!$4) { + break label$1; + } + label$6: { + $5 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_28_29_20const($4), $1); + if (($7 | 0) == ($5 | 0)) { + break label$6; + } + $6 = $4; + if (!HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2]) { + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5), + wasm2js_i32$1 = $3, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $7 = $5; + break label$6; + } + while (1) { + label$9: { + $2 = $6; + if (!HEAP32[$2 >> 2]) { + $6 = 0; + break label$9; + } + $8 = std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20ARParam__20const__2c_20std____2____hash_value_type_int_2c_20ARParam__20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____key_eq_28_29($0), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________upcast_28_29($4) + 8 | 0, std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________upcast_28_29(HEAP32[$2 >> 2]) + 8 | 0); + $6 = HEAP32[$2 >> 2]; + if ($8) { + continue; + } + } + break; + } + HEAP32[$3 >> 2] = $6; + wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2] >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $5) >> 2], + wasm2js_i32$1 = $4, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + continue; + } + $3 = $4; + continue; } - _arLog(0, 1, 19793, i28); - } - L43 : do if (i7) { - if (!(_get_buff_380(i15, i10) | 0)) { - i9 = 57; - break L28; - } - i12 = HEAP32[i17 >> 2] | 0; - HEAP32[i29 >> 2] = i6 + (i12 * 112 | 0) + 12; - HEAP32[i29 + 4 >> 2] = i6 + (i12 * 112 | 0) + 16; - HEAP32[i29 + 8 >> 2] = i6 + (i12 * 112 | 0) + 20; - HEAP32[i29 + 12 >> 2] = i6 + (i12 * 112 | 0) + 24; - if ((_sscanf(i15, 19907, i29) | 0) != 4) { - i9 = 40; - break L28; - } - if (!(_get_buff_380(i15, i10) | 0)) { - i9 = 57; - break L28; - } - i12 = HEAP32[i17 >> 2] | 0; - HEAP32[i31 >> 2] = i6 + (i12 * 112 | 0) + 28; - HEAP32[i31 + 4 >> 2] = i6 + (i12 * 112 | 0) + 32; - HEAP32[i31 + 8 >> 2] = i6 + (i12 * 112 | 0) + 36; - HEAP32[i31 + 12 >> 2] = i6 + (i12 * 112 | 0) + 40; - if ((_sscanf(i15, 19907, i31) | 0) != 4) { - i9 = 43; - break L28; - } - if (!(_get_buff_380(i15, i10) | 0)) { - i9 = 57; - break L28; - } - i12 = HEAP32[i17 >> 2] | 0; - HEAP32[i33 >> 2] = i6 + (i12 * 112 | 0) + 44; - HEAP32[i33 + 4 >> 2] = i6 + (i12 * 112 | 0) + 48; - HEAP32[i33 + 8 >> 2] = i6 + (i12 * 112 | 0) + 52; - HEAP32[i33 + 12 >> 2] = i6 + (i12 * 112 | 0) + 56; - if ((_sscanf(i15, 19907, i33) | 0) != 4) { - i9 = 47; - break L28; - } - i2 = HEAP32[i17 >> 2] | 0; } else { - i2 = HEAP32[i17 >> 2] | 0; - i4 = 0; - while (1) { - if ((i4 | 0) == 3) break L43; - i3 = 0; - while (1) { - if ((i3 | 0) == 4) break; - HEAPF32[i6 + (i2 * 112 | 0) + 12 + (i4 << 4) + (i3 << 2) >> 2] = (i4 | 0) == (i3 | 0) ? 1.0 : 0.0; - i3 = i3 + 1 | 0; - } - i4 = i4 + 1 | 0; - } - } while (0); - _arUtilMatInvf(i6 + (i2 * 112 | 0) + 12 | 0, i6 + (i2 * 112 | 0) + 60 | 0) | 0; - _ar2UtilReplaceExt(i16, 256, 19955) | 0; - i2 = _malloc(256) | 0; - HEAP32[i6 + ((HEAP32[i17 >> 2] | 0) * 112 | 0) + 108 >> 2] = i2; - if (!i2) { - i9 = 55; - break; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $2), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = $2 + 1 | 0; + continue; } - _strncpy(i2, i16, 256) | 0; - i2 = (HEAP32[i17 >> 2] | 0) + 1 | 0; } - if ((i9 | 0) == 26) { - HEAP32[i21 >> 2] = i16; - _arLog(0, 3, 19762, i21); - _free(i6); - _free(i11); - if (!i10) { - i13 = 0; - break; - } - _fclose(i10) | 0; - i13 = 0; - break; - } else if ((i9 | 0) == 29) { - HEAP32[i24 >> 2] = i16; - _arLog(0, 3, 19823, i24); - _ar2FreeImageSet(i6 + ((HEAP32[i17 >> 2] | 0) * 112 | 0) | 0) | 0; - _free(i6); - _free(i11); - if (!i10) { - i13 = 0; - break; - } - _fclose(i10) | 0; - i13 = 0; - break; - } else if ((i9 | 0) == 33) { - HEAP32[i27 >> 2] = i16; - _arLog(0, 3, 19877, i27); - _ar2FreeFeatureSet(i6 + ((HEAP32[i17 >> 2] | 0) * 112 | 0) + 4 | 0) | 0; - _ar2FreeImageSet(i6 + ((HEAP32[i17 >> 2] | 0) * 112 | 0) | 0) | 0; - _free(i6); - _free(i11); - if (!i10) { - i13 = 0; - break; - } - _fclose(i10) | 0; - i13 = 0; - break; - } else if ((i9 | 0) == 40) { - _arLog(0, 3, 19919, i30); - _fclose(i10) | 0; - _exit(0); - } else if ((i9 | 0) == 43) { - _arLog(0, 3, 19919, i32); - _fclose(i10) | 0; - _exit(0); - } else if ((i9 | 0) == 47) { - _arLog(0, 3, 19919, i34); - _fclose(i10) | 0; - _exit(0); - } else if ((i9 | 0) == 55) { - _arLog(0, 3, 20454, i35); - _exit(1); - } else if ((i9 | 0) == 57) { - if (i10 | 0) _fclose(i10) | 0; - if ((HEAP32[i17 >> 2] | 0) >= (i1 | 0)) { - i13 = i11; + std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______29($0, 0); + wasm2js_i32$0 = std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________size_28_29(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________get_deleter_28_29($0)), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } +} + +function ar2GetBestMatching($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) { + 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, $32 = 0, $33 = 0; + $15 = __stack_pointer + -64 | 0; + __stack_pointer = $15; + $21 = $3 - 1 | 0; + $20 = $2 - 1 | 0; + $22 = HEAP32[$5 + 20 >> 2]; + $23 = HEAP32[$5 + 16 >> 2]; + while (1) { + label$2: { + if (($18 | 0) == 3) { + break label$2; + } + $12 = ($18 << 3) + $8 | 0; + $13 = HEAP32[$12 >> 2]; + if (($13 | 0) < 0) { + break label$2; + } + $13 = $13 & -4 | 2; + $14 = $13 + $6 | 0; + $14 = ($2 | 0) > ($14 | 0) ? $14 : $20; + $13 = $13 - $6 | 0; + $16 = ($13 | 0) > 0 ? $13 : 0; + $12 = HEAP32[$12 + 4 >> 2] / 4 << 2 | 2; + $13 = $12 + $7 | 0; + $17 = ($3 | 0) > ($13 | 0) ? $13 : $21; + $12 = $12 - $7 | 0; + $19 = ($12 | 0) > 0 ? $12 : 0; + while (1) { + if (($17 | 0) >= ($19 | 0)) { + $13 = (Math_imul($2, $19) + $16 | 0) + $1 | 0; + $12 = $16; + while (1) { + if (($12 | 0) <= ($14 | 0)) { + HEAP8[$13 | 0] = 0; + $12 = $12 + 1 | 0; + $13 = $13 + 1 | 0; + continue; + } + break; + } + $19 = $19 + 1 | 0; + continue; + } break; } - _exit(0); - } - } while (0); - STACKTOP = i36; - return i13 | 0; -} - -function __ZN6vision26PreemptiveRobustHomographyIfEEbPT_PKS1_S4_iS4_iRNSt3__26vectorIS1_NS5_9allocatorIS1_EEEERNS6_IiNS7_IiEEEERNS6_INS5_4pairIS1_iEENS7_ISF_EEEES1_iii(i23, i17, i19, i20, i14, i15, i24, i1, i22, d2, i10, i12, i4) { - i23 = i23 | 0; - i17 = i17 | 0; - i19 = i19 | 0; - i20 = i20 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i24 = i24 | 0; - i1 = i1 | 0; - i22 = i22 | 0; - d2 = +d2; - i10 = i10 | 0; - i12 = i12 | 0; - i4 = i4 | 0; - var d3 = 0.0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i11 = 0, i13 = 0, i16 = 0, i18 = 0, i21 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0; - i25 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i18 = i25 + 8 | 0; - i13 = i25; - if ((HEAP32[i24 + 4 >> 2] | 0) - (HEAP32[i24 >> 2] | 0) >> 2 >>> 0 < (i10 * 9 | 0) >>> 0) { - i21 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 29700) | 0, 29758) | 0, 33528) | 0, 119) | 0, 33535) | 0, 29888) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i21 + (HEAP32[(HEAP32[i21 >> 2] | 0) + -12 >> 2] | 0) | 0); - i16 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i16 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i16 >> 2] | 0) + 28 >> 2] & 63](i16, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i21, i16) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i21) | 0; - _abort(); - } - i16 = HEAP32[i1 >> 2] | 0; - i21 = i16; - if ((HEAP32[i1 + 4 >> 2] | 0) - i16 >> 2 >>> 0 < i20 >>> 0) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 29938) | 0, 29758) | 0, 33528) | 0, 120) | 0, 33535) | 0, 29988) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } - if ((HEAP32[i22 + 4 >> 2] | 0) - (HEAP32[i22 >> 2] | 0) >> 3 >>> 0 < i10 >>> 0) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30030) | 0, 29758) | 0, 33528) | 0, 121) | 0, 33535) | 0, 30092) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } - if ((i20 | 0) >= 4) { - HEAP32[i13 >> 2] = 1234; - d2 = +__ZN6vision3sqrIfEET_S1_(d2); - i16 = __ZN6vision4min2IiEET_S1_S1_(i4, i20) | 0; - __ZN6vision16SequentialVectorIiEEvPT_iS1_(i21, i20, 0); - __ZN6vision12ArrayShuffleIiEEvPT_iiRi(i21, i20, i20, i13); - i5 = i21 + 4 | 0; - i6 = i21 + 8 | 0; - i7 = i21 + 12 | 0; - i8 = (i15 | 0) > 0; - i4 = 0; - i9 = 0; - while (1) { - if (!((i9 | 0) < (i10 | 0) & (i4 | 0) < (i12 | 0))) break; - __ZN6vision12ArrayShuffleIiEEvPT_iiRi(i21, i20, 4, i13); - i28 = HEAP32[i21 >> 2] << 1; - i27 = HEAP32[i5 >> 2] << 1; - i26 = HEAP32[i6 >> 2] << 1; - i1 = HEAP32[i7 >> 2] << 1; - do if (__ZN6vision40Homography4PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_S3_S3_(i17 + (i28 << 2) | 0, i17 + (i27 << 2) | 0, i17 + (i26 << 2) | 0, i17 + (i1 << 2) | 0, i19 + (i28 << 2) | 0, i19 + (i27 << 2) | 0, i19 + (i26 << 2) | 0, i19 + (i1 << 2) | 0) | 0 ? (i11 = i9 * 9 | 0, i1 = HEAP32[i21 >> 2] << 1, i26 = HEAP32[i5 >> 2] << 1, i27 = HEAP32[i6 >> 2] << 1, i28 = HEAP32[i7 >> 2] << 1, __ZN6vision22SolveHomography4PointsIfEEbPT_PKS1_S4_S4_S4_S4_S4_S4_S4_((HEAP32[i24 >> 2] | 0) + (i11 << 2) | 0, i17 + (i1 << 2) | 0, i17 + (i26 << 2) | 0, i17 + (i27 << 2) | 0, i17 + (i28 << 2) | 0, i19 + (i1 << 2) | 0, i19 + (i26 << 2) | 0, i19 + (i27 << 2) | 0, i19 + (i28 << 2) | 0) | 0) : 0) { - if (i8 ? !(__ZN6vision39HomographyPointsGeometricallyConsistentIfEEbPKT_S3_i((HEAP32[i24 >> 2] | 0) + (i11 << 2) | 0, i14, i15) | 0) : 0) { - i1 = i9; - break; - } - i1 = i9 + 1 | 0; - } else i1 = i9; while (0); - i4 = i4 + 1 | 0; - i9 = i1; + $18 = $18 + 1 | 0; + continue; } - d2 = 1.0 / d2; - if (i9) { - i4 = HEAP32[i22 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i9 | 0)) break; - HEAPF32[i4 + (i1 << 3) >> 2] = 0.0; - HEAP32[i4 + (i1 << 3) + 4 >> 2] = i1; - i1 = i1 + 1 | 0; - } - i8 = 0; - while (1) { - if (!((i9 | 0) > 2 & (i8 | 0) < (i20 | 0))) break; - i6 = (__ZN6vision4min2IiEET_S1_S1_(i16, i20 - i8 | 0) | 0) + i8 | 0; - i5 = 0; - i1 = HEAP32[i22 >> 2] | 0; - while (1) { - if ((i5 | 0) == (i9 | 0)) break; - i7 = (HEAP32[i24 >> 2] | 0) + ((HEAP32[i1 + (i5 << 3) + 4 >> 2] | 0) * 9 << 2) | 0; - i4 = i8; - while (1) { - if ((i4 | 0) >= (i6 | 0)) break; - i1 = HEAP32[i21 + (i4 << 2) >> 2] << 1; - d3 = +__ZN6vision32CauchyProjectiveReprojectionCostIfEET_PKS1_S3_S3_S1_(i7, i17 + (i1 << 2) | 0, i19 + (i1 << 2) | 0, d2); - i1 = HEAP32[i22 >> 2] | 0; - i28 = i1 + (i5 << 3) | 0; - HEAPF32[i28 >> 2] = d3 + +HEAPF32[i28 >> 2]; - i4 = i4 + 1 | 0; - } - i5 = i5 + 1 | 0; - } - __ZN6vision10FastMedianIfiEENSt3__24pairIT_T0_EEPS5_i(i18, i1, i9); - i8 = i6; - i9 = i9 >> 1; - } - i5 = HEAP32[i22 >> 2] | 0; - i4 = 1; - d2 = +HEAPF32[i5 >> 2]; - i1 = HEAP32[i5 + 4 >> 2] | 0; - while (1) { - if ((i4 | 0) >= (i9 | 0)) break; - d3 = +HEAPF32[i5 + (i4 << 3) >> 2]; - if (d3 < d2) { - d2 = d3; - i1 = HEAP32[i5 + (i4 << 3) + 4 >> 2] | 0; - } - i4 = i4 + 1 | 0; - } - __ZN6vision11CopyVector9IfEEvPT_PKS1_(i23, (HEAP32[i24 >> 2] | 0) + (i1 * 9 << 2) | 0); - __ZN6vision19NormalizeHomographyIfEEvPT_(i23); - i1 = 1; - } else i1 = 0; - } else i1 = 0; - STACKTOP = i25; - return i1 | 0; -} - -function __ZN6vision12FindFeaturesINS_14FREAKExtractorELi96EEEvPNS_8KeyframeIXT0_EEEPKNS_25GaussianScaleSpacePyramidEPNS_25DoGScaleInvariantDetectorEPT_(i2, i3, i4, i5) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i1 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i6 = i8 + 20 | 0; - i7 = i8; - if (!i3) { - i1 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31972) | 0, 28235) | 0, 33528) | 0, 212) | 0, 33535) | 0, 32108) | 0; - __ZNKSt3__28ios_base6getlocEv(i6, i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i6, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i1, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i1) | 0; - _abort(); - } - if (!i4) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 28350) | 0, 28235) | 0, 33528) | 0, 213) | 0, 33535) | 0, 28382) | 0; - __ZNKSt3__28ios_base6getlocEv(i6, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i1 = __ZNKSt3__26locale9use_facetERNS0_2idE(i6, 57916) | 0; - i1 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i1 >> 2] | 0) + 28 >> 2] & 63](i1, 10) | 0; - __ZNSt3__26localeD2Ev(i6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i1) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - i9 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i3) | 0; - if ((HEAP32[i9 + 4 >> 2] | 0) == (HEAP32[i9 >> 2] | 0)) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 28399) | 0, 28235) | 0, 33528) | 0, 214) | 0, 33535) | 0, 28451) | 0; - __ZNKSt3__28ios_base6getlocEv(i6, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i1 = __ZNKSt3__26locale9use_facetERNS0_2idE(i6, 57916) | 0; - i1 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i1 >> 2] | 0) + 28 >> 2] & 63](i1, 10) | 0; - __ZNSt3__26localeD2Ev(i6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i1) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - i9 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i3) | 0; - i9 = __ZNK6vision5Image5widthEv(HEAP32[i9 >> 2] | 0) | 0; - if ((i9 | 0) != (__ZNK6vision25DoGScaleInvariantDetector5widthEv(i4) | 0)) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 28468) | 0, 28235) | 0, 33528) | 0, 215) | 0, 33535) | 0, 28541) | 0; - __ZNKSt3__28ios_base6getlocEv(i6, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i1 = __ZNKSt3__26locale9use_facetERNS0_2idE(i6, 57916) | 0; - i1 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i1 >> 2] | 0) + 28 >> 2] & 63](i1, 10) | 0; - __ZNSt3__26localeD2Ev(i6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i1) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - i9 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i3) | 0; - i9 = __ZNK6vision5Image6heightEv(HEAP32[i9 >> 2] | 0) | 0; - if ((i9 | 0) != (__ZNK6vision25DoGScaleInvariantDetector6heightEv(i4) | 0)) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 28576) | 0, 28235) | 0, 33528) | 0, 216) | 0, 33535) | 0, 28541) | 0; - __ZNKSt3__28ios_base6getlocEv(i6, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i1 = __ZNKSt3__26locale9use_facetERNS0_2idE(i6, 57916) | 0; - i1 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i1 >> 2] | 0) + 28 >> 2] & 63](i1, 10) | 0; - __ZNSt3__26localeD2Ev(i6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i1) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - __ZN6vision25DoGScaleInvariantDetector6detectEPKNS_25GaussianScaleSpacePyramidE(i4, i3); - i1 = __ZNK6vision25DoGScaleInvariantDetector8featuresEv(i4) | 0; - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEEC2Em(i6, ((HEAP32[i1 + 4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) | 0) / 36 | 0); - i1 = 0; + break; + } + HEAP32[$15 + 60 >> 2] = 0; + $22 = $22 << 1; + $21 = 0 - ($23 << 1) | 0; + $23 = 0; + $17 = 1; while (1) { - i9 = __ZNK6vision25DoGScaleInvariantDetector8featuresEv(i4) | 0; - if (i1 >>> 0 >= (((HEAP32[i9 + 4 >> 2] | 0) - (HEAP32[i9 >> 2] | 0) | 0) / 36 | 0) >>> 0) break; - i9 = __ZNK6vision25DoGScaleInvariantDetector8featuresEv(i4) | 0; - i9 = HEAP32[i9 >> 2] | 0; - __ZN6vision12FeaturePointC2Effffb(i7, +HEAPF32[i9 + (i1 * 36 | 0) >> 2], +HEAPF32[i9 + (i1 * 36 | 0) + 4 >> 2], +HEAPF32[i9 + (i1 * 36 | 0) + 8 >> 2], +HEAPF32[i9 + (i1 * 36 | 0) + 28 >> 2], +HEAPF32[i9 + (i1 * 36 | 0) + 24 >> 2] > 0.0); - i9 = (HEAP32[i6 >> 2] | 0) + (i1 * 20 | 0) | 0; - HEAP32[i9 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i7 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i7 + 8 >> 2]; - HEAP32[i9 + 12 >> 2] = HEAP32[i7 + 12 >> 2]; - HEAP8[i9 + 16 >> 0] = HEAP8[i7 + 16 >> 0] | 0; - __ZN6vision12FeaturePointD2Ev(i7); - i1 = i1 + 1 | 0; - } - __ZN6vision14FREAKExtractor7extractERNS_18BinaryFeatureStoreEPKNS_25GaussianScaleSpacePyramidERKNSt3__26vectorINS_12FeaturePointENS6_9allocatorIS8_EEEE(i5, __ZN6vision8KeyframeILi96EE5storeEv(i2) | 0, i3, i6); - __ZNSt3__213__vector_baseIN6vision12FeaturePointENS_9allocatorIS2_EEED2Ev(i6); - STACKTOP = i8; - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_119parse_template_argsINS0_2DbEEEPKcS4_S4_RT_(i1, i18, i23) { - i1 = i1 | 0; - i18 = i18 | 0; - i23 = i23 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0; - i27 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i24 = i27 + 32 | 0; - i25 = i27 + 16 | 0; - i21 = i27 + 12 | 0; - i26 = i27; - do if ((i18 - i1 | 0) > 1 ? (HEAP8[i1 >> 0] | 0) == 73 : 0) { - i19 = i23 + 61 | 0; - i17 = i23 + 36 | 0; - if (HEAP8[i19 >> 0] | 0) { - i4 = HEAP32[i17 >> 2] | 0; - i3 = HEAP32[i4 + -16 >> 2] | 0; - i4 = i4 + -12 | 0; - i2 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i2 | 0) == (i3 | 0)) break; - i20 = i2 + -16 | 0; - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i20); - i2 = i20; - } - HEAP32[i4 >> 2] = i3; - } - HEAP32[i25 >> 2] = 0; - HEAP32[i25 + 4 >> 2] = 0; - HEAP32[i25 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i25, 49703, __ZNSt3__211char_traitsIcE6lengthEPKc(49703) | 0); - i20 = i23 + 4 | 0; - i10 = i23 + 12 | 0; - i11 = i23 + 40 | 0; - i12 = i23 + 32 | 0; - i15 = i25 + 11 | 0; - i16 = i25 + 4 | 0; - i13 = i24 + 11 | 0; - i14 = i24 + 4 | 0; - i5 = i1 + 1 | 0; - while (1) { - if ((HEAP8[i5 >> 0] | 0) == 69) break; - if (HEAP8[i19 >> 0] | 0) { - HEAP32[i21 >> 2] = HEAP32[i10 >> 2]; - i2 = HEAP32[i17 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i11 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS0_11string_pairENS1_IS4_Lm4096EEEEELm4096EEC2IS4_EERKNS1_IT_Lm4096EEE(i24, i21); - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i24 >> 2]; - HEAP32[i17 >> 2] = (HEAP32[i17 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_INS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEENS4_IS8_Lm4096EEEE24__emplace_back_slow_pathIJS5_EEEvDpOT_(i12, i21); - } - i8 = ((HEAP32[i20 >> 2] | 0) - (HEAP32[i23 >> 2] | 0) | 0) / 24 | 0; - i9 = __ZN10__cxxabiv112_GLOBAL__N_118parse_template_argINS0_2DbEEEPKcS4_S4_RT_(i5, i18, i23) | 0; - i3 = ((HEAP32[i20 >> 2] | 0) - (HEAP32[i23 >> 2] | 0) | 0) / 24 | 0; - if (HEAP8[i19 >> 0] | 0) { - i4 = HEAP32[i17 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i7 = i2 + -1 | 0; - __ZNSt3__213__vector_baseINS_6vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEED2Ev(i4 + (i7 << 4) | 0); - i2 = i7; + label$8: { + label$9: { + label$10: { + if (($23 | 0) != 3) { + $12 = ($23 << 3) + $8 | 0; + $13 = HEAP32[$12 >> 2]; + if (($13 | 0) >= 0) { + break label$9; + } + $21 = -1; + if ($17) { + break label$10; + } + } + $12 = Math_imul((HEAP32[$5 >> 2] << 3) + 32 | 0, (HEAP32[$5 + 4 >> 2] << 1) + 8 | 0); + $6 = dlmalloc($12); + if ($6) { + $8 = dlmalloc($12); + if ($8) { + $21 = -1; + $31 = $4 >>> 0 > 14; + $19 = 0; + while (1) { + label$15: { + if (HEAP32[$15 + 60 >> 2] > ($25 | 0)) { + label$17: { + $12 = HEAP32[$5 + 4 >> 2]; + $16 = HEAP32[$5 >> 2]; + label$18: { + if (!(1 << $4 & 28704) | (HEAP32[$5 + 36 >> 2] != (Math_imul($12, $16) | 0) | $31)) { + break label$18; + } + $14 = $25 << 2; + $29 = $14 + ($15 + 36 | 0) | 0; + $13 = HEAP32[$29 >> 2]; + $26 = ($13 - (HEAP32[$5 + 16 >> 2] << 1) | 0) - 3 | 0; + if (($26 | 0) < 0 | (((HEAP32[$5 + 20 >> 2] << 1) + $13 | 0) + 3 | 0) >= ($3 | 0)) { + break label$18; + } + $30 = ($15 + 48 | 0) + $14 | 0; + $13 = HEAP32[$30 >> 2]; + $7 = ($13 - (HEAP32[$5 + 8 >> 2] << 1) | 0) - 3 | 0; + if (($7 | 0) < 0) { + break label$18; + } + if ((((HEAP32[$5 + 12 >> 2] << 1) + $13 | 0) + 3 | 0) < ($2 | 0)) { + break label$17; + } + } + $12 = $25 << 2; + $13 = HEAP32[$12 + ($15 + 36 | 0) >> 2]; + $16 = $13 + 3 | 0; + $13 = $13 - 3 | 0; + $17 = ($15 + 48 | 0) + $12 | 0; + while (1) { + if (($13 | 0) > ($16 | 0)) { + break label$15; + } + label$20: { + if (($13 - (HEAP32[$5 + 16 >> 2] << 1) | 0) < 0) { + break label$20; + } + if (((HEAP32[$5 + 20 >> 2] << 1) + $13 | 0) >= ($3 | 0)) { + break label$15; + } + $12 = HEAP32[$17 >> 2]; + $1 = $12 + 3 | 0; + $12 = $12 - 3 | 0; + while (1) { + if (($1 | 0) < ($12 | 0)) { + break label$20; + } + label$22: { + if (($12 - (HEAP32[$5 + 8 >> 2] << 1) | 0) < 0) { + break label$22; + } + if (((HEAP32[$5 + 12 >> 2] << 1) + $12 | 0) >= ($2 | 0)) { + break label$20; + } + ar2GetBestMatchingSubFine($0, $2, $4, $5, $12, $13, $15 + 20 | 0); + $14 = HEAP32[$15 + 20 >> 2]; + if (($19 | 0) >= ($14 | 0)) { + break label$22; + } + HEAP32[$9 >> 2] = $12; + HEAP32[$10 >> 2] = $13; + HEAPF32[$11 >> 2] = Math_fround($14 | 0) / Math_fround(1e4); + $21 = 0; + $19 = $14; + } + $12 = $12 + 1 | 0; + continue; + } + } + $13 = $13 + 1 | 0; + continue; + } + } + $14 = 0; + $13 = ($16 << 2) + 16 | 0; + $1 = ($13 | 0) > 0 ? $13 : 0; + $17 = ($12 << 1) + 6 | 0; + $12 = $6; + $13 = $8; + while (1) { + if (($1 | 0) != ($14 | 0)) { + HEAP32[$12 >> 2] = 0; + HEAP32[$13 >> 2] = 0; + $14 = $14 + 1 | 0; + $13 = $13 + 4 | 0; + $12 = $12 + 4 | 0; + continue; + } + break; + } + $24 = 0; + $14 = ($16 << 1) + 6 | 0; + $23 = ($14 | 0) > 0 ? $14 : 0; + $32 = ($17 | 0) > 0 ? $17 : 0; + $27 = (Math_imul($2, $26) + $7 | 0) + $0 | 0; + $28 = 0; + $1 = $6; + $16 = $8; + while (1) { + $14 = 0; + if (($28 | 0) != ($32 | 0)) { + while (1) { + if (($14 | 0) != 2) { + HEAP32[$12 >> 2] = 0; + HEAP32[$13 >> 2] = 0; + $17 = $14 << 2; + HEAP32[$17 + ($15 + 4 | 0) >> 2] = 0; + HEAP32[($15 + 12 | 0) + $17 >> 2] = 0; + $14 = $14 + 1 | 0; + $13 = $13 + 4 | 0; + $12 = $12 + 4 | 0; + continue; + } + break; + } + $16 = $16 + 8 | 0; + $1 = $1 + 8 | 0; + $14 = 0; + $17 = $27; + while (1) { + if (($14 | 0) != ($23 | 0)) { + $20 = $14 << 2 & 4; + $18 = $20 + ($15 + 12 | 0) | 0; + $33 = $18; + $22 = HEAP32[$18 >> 2]; + $18 = HEAPU8[$17 | 0]; + $22 = $22 + $18 | 0; + HEAP32[$33 >> 2] = $22; + $20 = ($15 + 4 | 0) + $20 | 0; + $18 = HEAP32[$20 >> 2] + Math_imul($18, $18) | 0; + HEAP32[$20 >> 2] = $18; + HEAP32[$12 >> 2] = HEAP32[$1 >> 2] + $22; + HEAP32[$13 >> 2] = HEAP32[$16 >> 2] + $18; + $14 = $14 + 1 | 0; + $13 = $13 + 4 | 0; + $16 = $16 + 4 | 0; + $12 = $12 + 4 | 0; + $1 = $1 + 4 | 0; + $17 = $17 + 1 | 0; + continue; + } + break; + } + $28 = $28 + 1 | 0; + $27 = $2 + $27 | 0; + continue; + } + break; + } + while (1) { + if (($24 | 0) == 7) { + break label$15; + } + $16 = $24 - 3 | 0; + $14 = $24 + 2 | 0; + $1 = $24 + $26 | 0; + $12 = 0; + while (1) { + if (($12 | 0) != 7) { + ar2GetBestMatchingSubFineOpt($0, $2, $7 + $12 | 0, $1, $5, $6, $8, $12 + 2 | 0, $14, $15 + 20 | 0); + $13 = HEAP32[$15 + 20 >> 2]; + if (($19 | 0) < ($13 | 0)) { + HEAP32[$9 >> 2] = (HEAP32[$30 >> 2] + $12 | 0) - 3; + HEAP32[$10 >> 2] = HEAP32[$29 >> 2] + $16; + HEAPF32[$11 >> 2] = Math_fround($13 | 0) / Math_fround(1e4); + $21 = 0; + $19 = $13; + } + $12 = $12 + 1 | 0; + continue; + } + break; + } + $24 = $24 + 1 | 0; + continue; + } + } + dlfree($6); + dlfree($8); + break label$10; + } + $25 = $25 + 1 | 0; + continue; + } + } + break label$8; + } + break label$8; } - HEAP32[i17 >> 2] = i4 + -16; - } - if ((i9 | 0) == (i5 | 0) | (i9 | 0) == (i18 | 0)) { - i22 = 53; - break; - } - L29 : do if (HEAP8[i19 >> 0] | 0) { - i4 = HEAP32[i17 >> 2] | 0; - i2 = HEAP32[i10 >> 2] | 0; - HEAP32[i24 >> 2] = i2; - i5 = i4 + -12 | 0; - i6 = HEAP32[i5 >> 2] | 0; - if (i6 >>> 0 < (HEAP32[i4 + -8 >> 2] | 0) >>> 0) { - HEAP32[i6 >> 2] = 0; - HEAP32[i6 + 4 >> 2] = 0; - HEAP32[i6 + 8 >> 2] = 0; - HEAP32[i6 + 12 >> 2] = i2; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE24__emplace_back_slow_pathIJS5_EEEvDpOT_(i4 + -16 | 0, i24); - i2 = i8; - while (1) { - if (i2 >>> 0 >= i3 >>> 0) break L29; - i4 = HEAP32[(HEAP32[i17 >> 2] | 0) + -12 >> 2] | 0; - i5 = (HEAP32[i23 >> 2] | 0) + (i2 * 24 | 0) | 0; - i6 = i4 + -12 | 0; - i7 = HEAP32[i6 >> 2] | 0; - if ((i7 | 0) == (HEAP32[i4 + -8 >> 2] | 0)) __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIRKS3_EEvOT_(i4 + -16 | 0, i5); else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i7, i5); - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 24; - } - i2 = i2 + 1 | 0; - } - } while (0); - i2 = i8; - while (1) { - if (i2 >>> 0 >= i3 >>> 0) break; - i7 = HEAP8[i15 >> 0] | 0; - if ((i7 << 24 >> 24 < 0 ? HEAP32[i16 >> 2] | 0 : i7 & 255) >>> 0 > 1) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i25, 49891) | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i24, (HEAP32[i23 >> 2] | 0) + (i2 * 24 | 0) | 0); - i7 = HEAP8[i13 >> 0] | 0; - i6 = i7 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i25, i6 ? HEAP32[i24 >> 2] | 0 : i24, i6 ? HEAP32[i14 >> 2] | 0 : i7 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i24); - i2 = i2 + 1 | 0; + __stack_pointer = $15 - -64 | 0; + return $21; } + $14 = $13 & -4 | 2; + $13 = $14 + $6 | 0; + $20 = $14 - $6 | 0; + $12 = HEAP32[$12 + 4 >> 2] / 4 << 2 | 2; + $18 = $12 + $7 | 0; + $14 = $12 - $7 | 0; while (1) { - if ((i3 | 0) == (i8 | 0)) break; - i4 = HEAP32[i20 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i7 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4 + (i7 * 24 | 0) | 0); - i2 = i7; + label$36: { + if (($14 | 0) > ($18 | 0)) { + break label$36; + } + label$37: { + if (($14 + $21 | 0) < 0) { + break label$37; + } + if (($14 + $22 | 0) >= ($3 | 0)) { + break label$36; + } + $16 = Math_imul($2, $14); + $12 = $20; + while (1) { + if (($12 | 0) > ($13 | 0)) { + break label$37; + } + label$39: { + if (($12 - (HEAP32[$5 + 8 >> 2] << 1) | 0) < 0) { + break label$39; + } + if (((HEAP32[$5 + 12 >> 2] << 1) + $12 | 0) >= ($2 | 0)) { + break label$37; + } + $19 = ($12 + $16 | 0) + $1 | 0; + if (HEAPU8[$19 | 0]) { + break label$39; + } + HEAP8[$19 | 0] = 1; + ar2GetBestMatchingSubFine($0, $2, $4, $5, $12, $14, $15 + 20 | 0); + updateCandidate($12, $14, HEAP32[$15 + 20 >> 2], $15 + 60 | 0, $15 + 48 | 0, $15 + 36 | 0, $15 + 24 | 0); + $17 = 0; + } + $12 = $12 + 4 | 0; + continue; + } + } + $14 = $14 + 4 | 0; + continue; } - HEAP32[i20 >> 2] = i4 + -24; - i3 = i3 + -1 | 0; - } - i5 = i9; - } - if ((i22 | 0) == 53) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i25); - break; - } - i1 = i5 + 1 | 0; - i22 = HEAP8[i15 >> 0] | 0; - i21 = i22 << 24 >> 24 < 0; - if ((HEAP8[(i21 ? HEAP32[i25 >> 2] | 0 : i25) + (i21 ? HEAP32[i16 >> 2] | 0 : i22 & 255) + -1 >> 0] | 0) == 62) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i25, 51082) | 0; else __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i25, 49705) | 0; - HEAP32[i26 >> 2] = HEAP32[i25 >> 2]; - HEAP32[i26 + 4 >> 2] = HEAP32[i25 + 4 >> 2]; - HEAP32[i26 + 8 >> 2] = HEAP32[i25 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i25 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i24, i26); - i2 = HEAP32[i20 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i23 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i2, i24); - HEAP32[i20 >> 2] = (HEAP32[i20 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i23, i24); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i26); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i25); - } while (0); - STACKTOP = i27; - return i1 | 0; -} - -function _kpmMatching(i17, i2) { - i17 = i17 | 0; - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, d8 = 0.0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i18 = 0; - i18 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i14 = i18 + 16 | 0; - i11 = i18 + 8 | 0; - i1 = i18; - i3 = i18 + 44 | 0; - i4 = i18 + 40 | 0; - do if ((i17 | 0) != 0 & (i2 | 0) != 0) { - i5 = HEAP32[i17 + 12 >> 2] | 0; - i6 = HEAP32[i17 + 16 >> 2] | 0; - i9 = HEAP32[i17 + 20 >> 2] | 0; - i10 = (i9 | 0) == 1; - if (!i10) { - i1 = _kpmUtilResizeImage(i2, i5, i6, i9, i3, i4) | 0; - if (!i1) { - i1 = -1; break; - } else { - i15 = i1; - i16 = 1; - } - } else { - i15 = i2; - i16 = 0; - } - __ZN6vision20VisualDatabaseFacade5queryEPhmm(HEAP32[i17 >> 2] | 0, i15, i5, i6) | 0; - i6 = __ZNK6vision20VisualDatabaseFacade21getQueryFeaturePointsEv(HEAP32[i17 >> 2] | 0) | 0; - i6 = (HEAP32[i6 + 4 >> 2] | 0) - (HEAP32[i6 >> 2] | 0) | 0; - i1 = (i6 | 0) / 20 | 0; - i5 = i17 + 48 | 0; - HEAP32[i5 >> 2] = i1; - L6 : do if (!i6) { - i3 = HEAP32[i17 + 56 >> 2] | 0; - i2 = i17 + 52 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i3 | 0)) break L6; - HEAP32[(HEAP32[i2 >> 2] | 0) + (i1 * 68 | 0) + 60 >> 2] = -1; - i1 = i1 + 1 | 0; } - } else { - i6 = i17 + 44 | 0; - i2 = HEAP32[i6 >> 2] | 0; - if (i2) { - _free(i2); - i1 = HEAP32[i5 >> 2] | 0; - } - i4 = _malloc(i1 << 3) | 0; - HEAP32[i6 >> 2] = i4; - if (!i4) { - _arLog(0, 3, 20454, i11); - _exit(1); - } - i3 = __ZNK6vision20VisualDatabaseFacade21getQueryFeaturePointsEv(HEAP32[i17 >> 2] | 0) | 0; - L18 : do if (i10) { - i4 = i17 + 4 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i5 >> 2] | 0)) break L18; - i2 = HEAP32[i3 >> 2] | 0; - d7 = +HEAPF32[i2 + (i1 * 20 | 0) >> 2]; - d8 = +HEAPF32[i2 + (i1 * 20 | 0) + 4 >> 2]; - i2 = HEAP32[i4 >> 2] | 0; - if (!i2) { - i11 = HEAP32[i6 >> 2] | 0; - HEAPF32[i11 + (i1 << 3) >> 2] = d7; - HEAPF32[i11 + (i1 << 3) + 4 >> 2] = d8; - } else { - i11 = HEAP32[i6 >> 2] | 0; - _arParamObserv2IdealLTf(i2 + 184 | 0, d7, d8, i11 + (i1 << 3) | 0, i11 + (i1 << 3) + 4 | 0) | 0; - } - i1 = i1 + 1 | 0; - } - } else switch (i9 | 0) { - case 5: - { - i4 = i17 + 4 | 0; - i1 = 0; + $23 = $23 + 1 | 0; + continue; + } + break; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); +} + +function kpmMatching($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), $6 = Math_fround(0), $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $8 = __stack_pointer - 32 | 0; + __stack_pointer = $8; + label$1: { + label$2: { + label$3: { + label$4: { + if (!($1 ? $0 : 0)) { + arLog(0, 3, 12032, 0); + break label$4; + } + $2 = HEAP32[$0 + 16 >> 2]; + $4 = HEAP32[$0 + 12 >> 2]; + $9 = HEAP32[$0 + 20 >> 2]; + if (($9 | 0) == 1) { + break label$3; + } + $1 = kpmUtilResizeImage($1, $4, $2, $9, $8 + 28 | 0, $8 + 24 | 0); + if ($1) { + break label$3; + } + } + $0 = -1; + break label$2; + } + vision__VisualDatabaseFacade__query_28unsigned_20char__2c_20unsigned_20long_2c_20unsigned_20long_29(HEAP32[$0 >> 2], $1, $4, $2); + $2 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const(vision__VisualDatabaseFacade__getQueryFeaturePoints_28_29_20const(HEAP32[$0 >> 2])); + HEAP32[$0 + 48 >> 2] = $2; + label$6: { + if (!$2) { + $2 = 0; + $4 = HEAP32[$0 + 56 >> 2]; + $4 = ($4 | 0) > 0 ? $4 : 0; while (1) { - if ((i1 | 0) >= (HEAP32[i5 >> 2] | 0)) break L18; - i2 = HEAP32[i3 >> 2] | 0; - d7 = +HEAPF32[i2 + (i1 * 20 | 0) >> 2]; - d8 = +HEAPF32[i2 + (i1 * 20 | 0) + 4 >> 2]; - i2 = HEAP32[i4 >> 2] | 0; - if (!i2) { - i11 = HEAP32[i6 >> 2] | 0; - HEAPF32[i11 + (i1 << 3) >> 2] = d7 * 1.5; - HEAPF32[i11 + (i1 << 3) + 4 >> 2] = d8 * 1.5; - } else { - i11 = HEAP32[i6 >> 2] | 0; - _arParamObserv2IdealLTf(i2 + 184 | 0, d7 * 1.5, d8 * 1.5, i11 + (i1 << 3) | 0, i11 + (i1 << 3) + 4 | 0) | 0; + if (($2 | 0) == ($4 | 0)) { + break label$6; } - i1 = i1 + 1 | 0; + HEAP32[(HEAP32[$0 + 52 >> 2] + Math_imul($2, 68) | 0) + 60 >> 2] = -1; + $2 = $2 + 1 | 0; + continue; } } - case 2: - { - i4 = i17 + 4 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i5 >> 2] | 0)) break L18; - i2 = HEAP32[i3 >> 2] | 0; - d7 = +HEAPF32[i2 + (i1 * 20 | 0) >> 2]; - d8 = +HEAPF32[i2 + (i1 * 20 | 0) + 4 >> 2]; - i2 = HEAP32[i4 >> 2] | 0; - if (!i2) { - i11 = HEAP32[i6 >> 2] | 0; - HEAPF32[i11 + (i1 << 3) >> 2] = d7 * 2.0; - HEAPF32[i11 + (i1 << 3) + 4 >> 2] = d8 * 2.0; - } else { - i11 = HEAP32[i6 >> 2] | 0; - _arParamObserv2IdealLTf(i2 + 184 | 0, d7 * 2.0, d8 * 2.0, i11 + (i1 << 3) | 0, i11 + (i1 << 3) + 4 | 0) | 0; + dlfree(HEAP32[$0 + 44 >> 2]); + $2 = dlmalloc(HEAP32[$0 + 48 >> 2] << 3); + HEAP32[$0 + 44 >> 2] = $2; + if (!$2) { + break label$1; + } + $4 = vision__VisualDatabaseFacade__getQueryFeaturePoints_28_29_20const(HEAP32[$0 >> 2]); + label$9: { + if (($9 | 0) == 1) { + $2 = 0; + while (1) { + if (HEAP32[$0 + 48 >> 2] <= ($2 | 0)) { + break label$9; + } + $5 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($4, $2) >> 2]; + $6 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($4, $2) + 4 >> 2]; + $3 = HEAP32[$0 + 4 >> 2]; + label$12: { + if ($3) { + $7 = $3 + 184 | 0; + $3 = HEAP32[$0 + 44 >> 2] + ($2 << 3) | 0; + arParamObserv2IdealLTf($7, $5, $6, $3, $3 + 4 | 0); + break label$12; + } + $3 = HEAP32[$0 + 44 >> 2] + ($2 << 3) | 0; + HEAPF32[$3 + 4 >> 2] = $6; + HEAPF32[$3 >> 2] = $5; + } + $2 = $2 + 1 | 0; + continue; } - i1 = i1 + 1 | 0; } - } - case 4: - { - i4 = i17 + 4 | 0; - i1 = 0; + label$14: { + switch ($9 - 2 | 0) { + case 3: + $2 = 0; + while (1) { + if (HEAP32[$0 + 48 >> 2] <= ($2 | 0)) { + break label$9; + } + $5 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($4, $2) >> 2]; + $6 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($4, $2) + 4 >> 2]; + $3 = HEAP32[$0 + 4 >> 2]; + label$19: { + if ($3) { + $7 = $3 + 184 | 0; + $3 = HEAP32[$0 + 44 >> 2] + ($2 << 3) | 0; + arParamObserv2IdealLTf($7, Math_fround($5 * Math_fround(1.5)), Math_fround($6 * Math_fround(1.5)), $3, $3 + 4 | 0); + break label$19; + } + $3 = HEAP32[$0 + 44 >> 2] + ($2 << 3) | 0; + HEAPF32[$3 + 4 >> 2] = $6 * Math_fround(1.5); + HEAPF32[$3 >> 2] = $5 * Math_fround(1.5); + } + $2 = $2 + 1 | 0; + continue; + } + ; + + case 0: + $2 = 0; + while (1) { + if (HEAP32[$0 + 48 >> 2] <= ($2 | 0)) { + break label$9; + } + $5 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($4, $2) >> 2]; + $6 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($4, $2) + 4 >> 2]; + $3 = HEAP32[$0 + 4 >> 2]; + label$22: { + if ($3) { + $7 = $3 + 184 | 0; + $3 = HEAP32[$0 + 44 >> 2] + ($2 << 3) | 0; + arParamObserv2IdealLTf($7, Math_fround($5 + $5), Math_fround($6 + $6), $3, $3 + 4 | 0); + break label$22; + } + $3 = HEAP32[$0 + 44 >> 2] + ($2 << 3) | 0; + HEAPF32[$3 + 4 >> 2] = $6 + $6; + HEAPF32[$3 >> 2] = $5 + $5; + } + $2 = $2 + 1 | 0; + continue; + } + ; + + case 2: + $2 = 0; + while (1) { + if (HEAP32[$0 + 48 >> 2] <= ($2 | 0)) { + break label$9; + } + $5 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($4, $2) >> 2]; + $6 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($4, $2) + 4 >> 2]; + $3 = HEAP32[$0 + 4 >> 2]; + label$25: { + if ($3) { + $7 = $3 + 184 | 0; + $3 = HEAP32[$0 + 44 >> 2] + ($2 << 3) | 0; + arParamObserv2IdealLTf($7, Math_fround($5 * Math_fround(3)), Math_fround($6 * Math_fround(3)), $3, $3 + 4 | 0); + break label$25; + } + $3 = HEAP32[$0 + 44 >> 2] + ($2 << 3) | 0; + HEAPF32[$3 + 4 >> 2] = $6 * Math_fround(3); + HEAPF32[$3 >> 2] = $5 * Math_fround(3); + } + $2 = $2 + 1 | 0; + continue; + } + ; + + default: + break label$14; + } + } + $2 = 0; while (1) { - if ((i1 | 0) >= (HEAP32[i5 >> 2] | 0)) break L18; - i2 = HEAP32[i3 >> 2] | 0; - d7 = +HEAPF32[i2 + (i1 * 20 | 0) >> 2]; - d8 = +HEAPF32[i2 + (i1 * 20 | 0) + 4 >> 2]; - i2 = HEAP32[i4 >> 2] | 0; - if (!i2) { - i11 = HEAP32[i6 >> 2] | 0; - HEAPF32[i11 + (i1 << 3) >> 2] = d7 * 3.0; - HEAPF32[i11 + (i1 << 3) + 4 >> 2] = d8 * 3.0; - } else { - i11 = HEAP32[i6 >> 2] | 0; - _arParamObserv2IdealLTf(i2 + 184 | 0, d7 * 3.0, d8 * 3.0, i11 + (i1 << 3) | 0, i11 + (i1 << 3) + 4 | 0) | 0; + if (HEAP32[$0 + 48 >> 2] <= ($2 | 0)) { + break label$9; + } + $5 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($4, $2) >> 2]; + $6 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($4, $2) + 4 >> 2]; + $3 = HEAP32[$0 + 4 >> 2]; + label$28: { + if ($3) { + $7 = $3 + 184 | 0; + $3 = HEAP32[$0 + 44 >> 2] + ($2 << 3) | 0; + arParamObserv2IdealLTf($7, Math_fround($5 * Math_fround(4)), Math_fround($6 * Math_fround(4)), $3, $3 + 4 | 0); + break label$28; + } + $3 = HEAP32[$0 + 44 >> 2] + ($2 << 3) | 0; + HEAPF32[$3 + 4 >> 2] = $6 * Math_fround(4); + HEAPF32[$3 >> 2] = $5 * Math_fround(4); } - i1 = i1 + 1 | 0; + $2 = $2 + 1 | 0; + continue; } } - default: - { - i4 = i17 + 4 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i5 >> 2] | 0)) break L18; - i2 = HEAP32[i3 >> 2] | 0; - d7 = +HEAPF32[i2 + (i1 * 20 | 0) >> 2]; - d8 = +HEAPF32[i2 + (i1 * 20 | 0) + 4 >> 2]; - i2 = HEAP32[i4 >> 2] | 0; - if (!i2) { - i11 = HEAP32[i6 >> 2] | 0; - HEAPF32[i11 + (i1 << 3) >> 2] = d7 * 4.0; - HEAPF32[i11 + (i1 << 3) + 4 >> 2] = d8 * 4.0; - } else { - i11 = HEAP32[i6 >> 2] | 0; - _arParamObserv2IdealLTf(i2 + 184 | 0, d7 * 4.0, d8 * 4.0, i11 + (i1 << 3) | 0, i11 + (i1 << 3) + 4 | 0) | 0; + $2 = 0; + while (1) { + $4 = HEAP32[$0 + 56 >> 2]; + if (($2 | 0) < ($4 | 0)) { + $3 = HEAP32[(HEAP32[$0 + 36 >> 2] + Math_imul($2, 12) | 0) + 8 >> 2]; + $7 = Math_imul($2, 68); + $4 = $7 + HEAP32[$0 + 52 >> 2] | 0; + HEAP32[$4 + 60 >> 2] = -1; + HEAP32[$4 + 48 >> 2] = $3; + label$32: { + if (HEAP32[$4 + 64 >> 2]) { + break label$32; + } + $4 = vision__VisualDatabaseFacade__inliers_28_29_20const(HEAP32[$0 >> 2]); + $3 = vision__VisualDatabaseFacade__matchedId_28_29(HEAP32[$0 >> 2]); + if (($3 | 0) < 0) { + break label$32; + } + $10 = HEAP32[$0 + 4 >> 2]; + $12 = vision__VisualDatabaseFacade__get3DFeaturePoints_28int_29_20const(HEAP32[$0 >> 2], $3); + $13 = vision__VisualDatabaseFacade__getQueryFeaturePoints_28_29_20const(HEAP32[$0 >> 2]); + $11 = HEAP32[$0 + 52 >> 2] + $7 | 0; + if (kpmUtilGetPose_binary_28ARParamLT__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20float_20_28__29_20_5b4_5d_2c_20float__29($10, $4, $12, $13, $11, $11 + 52 | 0)) { + break label$32; + } + HEAP32[(HEAP32[$0 + 52 >> 2] + $7 | 0) + 60 >> 2] = 0; + $11 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($4); + $10 = HEAP32[$0 + 52 >> 2] + $7 | 0; + HEAP32[$10 + 56 >> 2] = $11; + HEAP32[$10 + 48 >> 2] = HEAP32[(($3 << 2) + $0 | 0) + 60 >> 2]; + $3 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($4); + $4 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($4); + HEAPF64[$8 + 16 >> 3] = HEAPF32[(HEAP32[$0 + 52 >> 2] + $7 | 0) + 52 >> 2]; + HEAP32[$8 + 8 >> 2] = $4; + HEAP32[$8 + 4 >> 2] = $3; + HEAP32[$8 >> 2] = $2; + arLog(0, 1, 14112, $8); } - i1 = i1 + 1 | 0; + $2 = $2 + 1 | 0; + continue; } + break; } - } while (0); - i5 = i17 + 56 | 0; - i6 = i17 + 36 | 0; - i2 = i17 + 52 | 0; - i1 = 0; - while (1) { - i3 = HEAP32[i5 >> 2] | 0; - if ((i1 | 0) >= (i3 | 0)) break L6; - i11 = HEAP32[i2 >> 2] | 0; - HEAP32[i11 + (i1 * 68 | 0) + 48 >> 2] = HEAP32[(HEAP32[i6 >> 2] | 0) + (i1 * 12 | 0) + 8 >> 2]; - HEAP32[i11 + (i1 * 68 | 0) + 60 >> 2] = -1; - if (((HEAP32[i11 + (i1 * 68 | 0) + 64 >> 2] | 0) == 0 ? (i12 = __ZNK6vision20VisualDatabaseFacade7inliersEv(HEAP32[i17 >> 2] | 0) | 0, i13 = __ZN6vision20VisualDatabaseFacade9matchedIdEv(HEAP32[i17 >> 2] | 0) | 0, (i13 | 0) >= 0) : 0) ? (i3 = HEAP32[i4 >> 2] | 0, i9 = __ZNK6vision20VisualDatabaseFacade18get3DFeaturePointsEi(HEAP32[i17 >> 2] | 0, i13) | 0, i10 = __ZNK6vision20VisualDatabaseFacade21getQueryFeaturePointsEv(HEAP32[i17 >> 2] | 0) | 0, i11 = HEAP32[i2 >> 2] | 0, (__Z21kpmUtilGetPose_binaryP9ARParamLTRKNSt3__26vectorIN6vision7match_tENS1_9allocatorIS4_EEEERKNS2_INS3_7Point3dIfEENS5_ISB_EEEERKNS2_INS3_12FeaturePointENS5_ISG_EEEEPA4_fPf(i3, i12, i9, i10, i11 + (i1 * 68 | 0) | 0, i11 + (i1 * 68 | 0) + 52 | 0) | 0) == 0) : 0) { - i10 = HEAP32[i2 >> 2] | 0; - HEAP32[i10 + (i1 * 68 | 0) + 60 >> 2] = 0; - i11 = (HEAP32[i12 + 4 >> 2] | 0) - (HEAP32[i12 >> 2] | 0) >> 3; - HEAP32[i10 + (i1 * 68 | 0) + 56 >> 2] = i11; - HEAP32[i10 + (i1 * 68 | 0) + 48 >> 2] = HEAP32[i17 + 60 + (i13 << 2) >> 2]; - d8 = +HEAPF32[i10 + (i1 * 68 | 0) + 52 >> 2]; - HEAP32[i14 >> 2] = i1; - HEAP32[i14 + 4 >> 2] = i11; - HEAP32[i14 + 8 >> 2] = i11; - HEAPF64[i14 + 16 >> 3] = d8; - _arLog(0, 1, 20414, i14); - } - i1 = i1 + 1 | 0; - } - } while (0); - i1 = 0; - while (1) { - if ((i1 | 0) >= (i3 | 0)) break; - HEAP32[(HEAP32[i2 >> 2] | 0) + (i1 * 68 | 0) + 64 >> 2] = 0; - i1 = i1 + 1 | 0; - } - if (!i16) i1 = 0; else { - _free(i15); - i1 = 0; - } - } else { - _arLog(0, 3, 20370, i1); - i1 = -1; - } while (0); - STACKTOP = i18; - return i1 | 0; -} - -function __ZN6vision18BinomialPyramid32f5buildERKNS_5ImageE(i3, i1) { - i3 = i3 | 0; - i1 = i1 | 0; - var i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i7; - if ((__ZNK6vision5Image4typeEv(i1) | 0) != 1) { - i6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 25254) | 0, 25069) | 0, 33528) | 0, 330) | 0, 33535) | 0, 25305) | 0; - __ZNKSt3__28ios_base6getlocEv(i2, i6 + (HEAP32[(HEAP32[i6 >> 2] | 0) + -12 >> 2] | 0) | 0); - i5 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 57916) | 0; - i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 28 >> 2] & 63](i5, 10) | 0; - __ZNSt3__26localeD2Ev(i2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i6, i5) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i6) | 0; - _abort(); - } - if ((__ZNK6vision5Image8channelsEv(i1) | 0) != 1) { - i6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 25329) | 0, 25069) | 0, 33528) | 0, 331) | 0, 33535) | 0, 25374) | 0; - __ZNKSt3__28ios_base6getlocEv(i2, i6 + (HEAP32[(HEAP32[i6 >> 2] | 0) + -12 >> 2] | 0) | 0); - i5 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 57916) | 0; - i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 28 >> 2] & 63](i5, 10) | 0; - __ZNSt3__26localeD2Ev(i2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i6, i5) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i6) | 0; - _abort(); - } - i4 = i3 + 4 | 0; - i5 = i3 + 16 | 0; - i6 = i3 + 20 | 0; - if (((HEAP32[i3 + 8 >> 2] | 0) - (HEAP32[i4 >> 2] | 0) >> 5 | 0) != (Math_imul(HEAP32[i6 >> 2] | 0, HEAP32[i5 >> 2] | 0) | 0)) { - i8 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 25400) | 0, 25069) | 0, 33528) | 0, 333) | 0, 33535) | 0, 25474) | 0; - __ZNKSt3__28ios_base6getlocEv(i2, i8 + (HEAP32[(HEAP32[i8 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i8, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i8) | 0; - _abort(); - } - i9 = __ZNK6vision5Image5widthEv(i1) | 0; - if ((i9 | 0) != (__ZNK6vision5Image5widthEv(HEAP32[i4 >> 2] | 0) | 0)) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 25509) | 0, 25069) | 0, 33528) | 0, 334) | 0, 33535) | 0, 25569) | 0; - __ZNKSt3__28ios_base6getlocEv(i2, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i8 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 57916) | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 63](i8, 10) | 0; - __ZNSt3__26localeD2Ev(i2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i8) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - i9 = __ZNK6vision5Image6heightEv(i1) | 0; - if ((i9 | 0) != (__ZNK6vision5Image6heightEv(HEAP32[i4 >> 2] | 0) | 0)) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 25601) | 0, 25069) | 0, 33528) | 0, 335) | 0, 33535) | 0, 25569) | 0; - __ZNKSt3__28ios_base6getlocEv(i2, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i8 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 57916) | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 63](i8, 10) | 0; - __ZNSt3__26localeD2Ev(i2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i8) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_(i3, HEAP32[i4 >> 2] | 0, i1); - i1 = HEAP32[i4 >> 2] | 0; - __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_(i3, i1 + 32 | 0, i1); - i1 = HEAP32[i4 >> 2] | 0; - __ZN6vision18BinomialPyramid32f18apply_filter_twiceERNS_5ImageERKS1_(i3, i1 + 64 | 0, i1 + 32 | 0); - i1 = 1; - while (1) { - if (i1 >>> 0 >= (HEAP32[i5 >> 2] | 0) >>> 0) break; - i10 = Math_imul(HEAP32[i6 >> 2] | 0, i1) | 0; - i10 = __ZN6vision5Image3getEv((HEAP32[i4 >> 2] | 0) + (i10 << 5) | 0) | 0; - i2 = (Math_imul(HEAP32[i6 >> 2] | 0, i1) | 0) + -1 | 0; - i2 = __ZN6vision5Image3getEv((HEAP32[i4 >> 2] | 0) + (i2 << 5) | 0) | 0; - i8 = (Math_imul(HEAP32[i6 >> 2] | 0, i1) | 0) + -1 | 0; - i8 = __ZNK6vision5Image5widthEv((HEAP32[i4 >> 2] | 0) + (i8 << 5) | 0) | 0; - i9 = (Math_imul(HEAP32[i6 >> 2] | 0, i1) | 0) + -1 | 0; - __ZN6vision19downsample_bilinearEPfPKfmm(i10, i2, i8, __ZNK6vision5Image6heightEv((HEAP32[i4 >> 2] | 0) + (i9 << 5) | 0) | 0); - i9 = Math_imul(HEAP32[i6 >> 2] | 0, i1) | 0; - i8 = HEAP32[i4 >> 2] | 0; - __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_(i3, i8 + (i9 + 1 << 5) | 0, i8 + (i9 << 5) | 0); - i9 = Math_imul(HEAP32[i6 >> 2] | 0, i1) | 0; - i8 = HEAP32[i4 >> 2] | 0; - __ZN6vision18BinomialPyramid32f18apply_filter_twiceERNS_5ImageERKS1_(i3, i8 + (i9 + 2 << 5) | 0, i8 + (i9 + 1 << 5) | 0); - i1 = i1 + 1 | 0; - } - STACKTOP = i7; - return; -} - -function _kpmMergeRefDataSet(i16, i17) { - i16 = i16 | 0; - i17 = i17 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i18 = 0, i19 = 0; - i18 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i15 = i18 + 40 | 0; - i13 = i18 + 32 | 0; - i10 = i18 + 24 | 0; - i8 = i18 + 16 | 0; - i3 = i18 + 8 | 0; - i2 = i18; - if ((i16 | 0) != 0 & (i17 | 0) != 0) { - i2 = HEAP32[i16 >> 2] | 0; - do if (!i2) { - i2 = _malloc(16) | 0; - HEAP32[i16 >> 2] = i2; - if (!i2) { - _arLog(0, 3, 20454, i3); - _exit(1); - } else { - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i9 = i2; - i1 = i2; - break; + $4 = ($4 | 0) > 0 ? $4 : 0; } - } else { - i9 = i2; - i1 = i2; - } while (0); - i3 = HEAP32[i17 >> 2] | 0; - if (!i3) i1 = 0; else { - i4 = HEAP32[i9 + 4 >> 2] | 0; - i5 = HEAP32[i3 + 4 >> 2] | 0; - i6 = i5 + i4 | 0; - i7 = _malloc(i6 * 132 | 0) | 0; - if (!i7) { - _arLog(0, 3, 20454, i8); - _exit(1); - } - i2 = 0; - while (1) { - if ((i2 | 0) >= (i4 | 0)) break; - _memcpy(i7 + (i2 * 132 | 0) | 0, (HEAP32[i9 >> 2] | 0) + (i2 * 132 | 0) | 0, 132) | 0; - i2 = i2 + 1 | 0; - } - i2 = 0; - while (1) { - if ((i2 | 0) >= (i5 | 0)) break; - _memcpy(i7 + ((i2 + i4 | 0) * 132 | 0) | 0, (HEAP32[i3 >> 2] | 0) + (i2 * 132 | 0) | 0, 132) | 0; - i2 = i2 + 1 | 0; - } - i2 = HEAP32[i9 >> 2] | 0; - if (i2) { - _free(i2); - i1 = HEAP32[i16 >> 2] | 0; - } - HEAP32[i1 >> 2] = i7; - i5 = HEAP32[i16 >> 2] | 0; - HEAP32[i5 + 4 >> 2] = i6; - i8 = HEAP32[i5 + 12 >> 2] | 0; - i4 = HEAP32[i17 >> 2] | 0; - i9 = HEAP32[i4 + 12 >> 2] | 0; - i4 = i4 + 8 | 0; - i5 = i5 + 8 | 0; - i1 = 0; - i3 = 0; + $2 = 0; while (1) { - if ((i3 | 0) >= (i9 | 0)) break; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i8 | 0)) break; - if ((HEAP32[(HEAP32[i4 >> 2] | 0) + (i3 * 12 | 0) + 8 >> 2] | 0) == (HEAP32[(HEAP32[i5 >> 2] | 0) + (i2 * 12 | 0) + 8 >> 2] | 0)) { - i14 = 23; - break; - } else i2 = i2 + 1 | 0; - } - if ((i14 | 0) == 23) { - i14 = 0; - i1 = i1 + 1 | 0; + if (($2 | 0) != ($4 | 0)) { + HEAP32[(HEAP32[$0 + 52 >> 2] + Math_imul($2, 68) | 0) + 64 >> 2] = 0; + $2 = $2 + 1 | 0; + continue; } - i3 = i3 + 1 | 0; + break; } - i11 = i9 + i8 - i1 | 0; - i12 = _malloc(i11 * 12 | 0) | 0; - if (!i12) { - _arLog(0, 3, 20454, i10); - _exit(1); + $0 = 0; + if (($9 | 0) == 1) { + break label$2; } - i7 = 0; - while (1) { - if ((i7 | 0) >= (i8 | 0)) break; - i5 = (HEAP32[i16 >> 2] | 0) + 8 | 0; - i1 = HEAP32[i5 >> 2] | 0; - i4 = i1 + (i7 * 12 | 0) + 8 | 0; - HEAP32[i12 + (i7 * 12 | 0) + 8 >> 2] = HEAP32[i4 >> 2]; - i1 = HEAP32[i1 + (i7 * 12 | 0) + 4 >> 2] | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i9 | 0)) break; - i2 = HEAP32[(HEAP32[i17 >> 2] | 0) + 8 >> 2] | 0; - if ((HEAP32[i2 + (i3 * 12 | 0) + 8 >> 2] | 0) == (HEAP32[i4 >> 2] | 0)) i1 = (HEAP32[i2 + (i3 * 12 | 0) + 4 >> 2] | 0) + i1 | 0; - i3 = i3 + 1 | 0; - } - i6 = i12 + (i7 * 12 | 0) | 0; - i10 = _malloc(i1 * 12 | 0) | 0; - HEAP32[i6 >> 2] = i10; - if (!i10) { - i14 = 36; - break; - } - i5 = HEAP32[(HEAP32[i5 >> 2] | 0) + (i7 * 12 | 0) + 4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i5 | 0)) break; - i4 = (HEAP32[(HEAP32[(HEAP32[i16 >> 2] | 0) + 8 >> 2] | 0) + (i7 * 12 | 0) >> 2] | 0) + (i2 * 12 | 0) | 0; - i10 = (HEAP32[i6 >> 2] | 0) + (i2 * 12 | 0) | 0; - HEAP32[i10 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i4 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i4 + 8 >> 2]; - i2 = i2 + 1 | 0; - } - i4 = 0; - while (1) { - if ((i4 | 0) >= (i9 | 0)) break; - i2 = HEAP32[(HEAP32[i17 >> 2] | 0) + 8 >> 2] | 0; - if ((HEAP32[i2 + (i4 * 12 | 0) + 8 >> 2] | 0) == (HEAP32[(HEAP32[(HEAP32[i16 >> 2] | 0) + 8 >> 2] | 0) + (i7 * 12 | 0) + 8 >> 2] | 0)) { - i14 = 43; - break; + dlfree($1); + } + __stack_pointer = $8 + 32 | 0; + return $0; + } + arLog(0, 3, 9625, 0); + exit(1); + abort(); +} + +function decode_bch($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $5 = __stack_pointer - 3792 | 0; + __stack_pointer = $5; + wasm2js_memory_copy($5 + 3664 | 0, 12336, 60); + wasm2js_memory_copy($5 + 3600 | 0, 12400, 64); + wasm2js_memory_copy($5 + 3472 | 0, 12464, 124); + wasm2js_memory_copy($5 + 3344 | 0, 12592, 128); + wasm2js_memory_copy($5 + 2832 | 0, 12720, 508); + wasm2js_memory_copy($5 + 2320 | 0, 13232, 512); + $18 = -12; + $15 = 2; + $11 = $5 + 3600 | 0; + $14 = $5 + 3664 | 0; + $16 = 13; + $12 = 15; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + switch ($0 - 1028 | 0) { + default: + if (($0 | 0) == 772) { + $15 = 1; + $18 = -9; + break label$3; + } + if (($0 | 0) == 1285) { + break label$5; + } + $1 = -1; + if (($0 | 0) != 2830) { + break label$1; + } + $11 = $5 + 2320 | 0; + $14 = $5 + 2832 | 0; + $18 = -64; + $16 = 120; + $12 = 127; + $15 = 9; + break label$2; + + case 1: + break label$4; + + case 0: + break label$6; + } + } + $18 = -5; + break label$3; } - i4 = i4 + 1 | 0; + $18 = -7; + $15 = 3; } - L56 : do if ((i14 | 0) == 43) { - i14 = 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (HEAP32[i2 + (i4 * 12 | 0) + 4 >> 2] | 0)) break L56; - i19 = (HEAP32[i2 + (i4 * 12 | 0) >> 2] | 0) + (i3 * 12 | 0) | 0; - i10 = (HEAP32[i6 >> 2] | 0) + ((i3 + i5 | 0) * 12 | 0) | 0; - HEAP32[i10 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i19 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i19 + 8 >> 2]; - i3 = i3 + 1 | 0; - i2 = HEAP32[(HEAP32[i17 >> 2] | 0) + 8 >> 2] | 0; - } - } while (0); - HEAP32[i12 + (i7 * 12 | 0) + 4 >> 2] = i1; - i7 = i7 + 1 | 0; - } - if ((i14 | 0) == 36) { - _arLog(0, 3, 20454, i13); - _exit(1); - } - i1 = 0; - i7 = 0; + $11 = $5 + 3344 | 0; + $14 = $5 + 3472 | 0; + $16 = 22; + $12 = 31; + } + $0 = 0; while (1) { - if ((i7 | 0) >= (i9 | 0)) break; - i3 = HEAP32[(HEAP32[i17 >> 2] | 0) + 8 >> 2] | 0; - i4 = HEAP32[i3 + (i7 * 12 | 0) + 8 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i8 | 0)) { - i14 = 53; - break; - } - if ((i4 | 0) == (HEAP32[(HEAP32[(HEAP32[i16 >> 2] | 0) + 8 >> 2] | 0) + (i2 * 12 | 0) + 8 >> 2] | 0)) { - i14 = 52; - break; - } else i2 = i2 + 1 | 0; - } - if ((i14 | 0) == 52) { - i14 = 0; - i1 = i1 + 1 | 0; - } else if ((i14 | 0) == 53) { - i14 = 0; - i5 = i7 + i8 - i1 | 0; - i6 = i12 + (i5 * 12 | 0) | 0; - HEAP32[i12 + (i5 * 12 | 0) + 8 >> 2] = i4; - i3 = HEAP32[i3 + (i7 * 12 | 0) + 4 >> 2] | 0; - i19 = _malloc(i3 * 12 | 0) | 0; - HEAP32[i6 >> 2] = i19; - if (!i19) { - i14 = 55; - break; - } - i2 = 0; - while (1) { - if ((i2 | 0) >= (i3 | 0)) break; - i13 = (HEAP32[(HEAP32[(HEAP32[i17 >> 2] | 0) + 8 >> 2] | 0) + (i7 * 12 | 0) >> 2] | 0) + (i2 * 12 | 0) | 0; - i19 = (HEAP32[i6 >> 2] | 0) + (i2 * 12 | 0) | 0; - HEAP32[i19 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i19 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i19 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i2 = i2 + 1 | 0; - } - HEAP32[i12 + (i5 * 12 | 0) + 4 >> 2] = i3; - } - i7 = i7 + 1 | 0; - } - if ((i14 | 0) == 55) { - _arLog(0, 3, 20454, i15); - _exit(1); - } - i2 = HEAP32[i16 >> 2] | 0; - i1 = i2 + 8 | 0; - i4 = HEAP32[i1 >> 2] | 0; - if (i4) { - i3 = 0; - i1 = i4; - while (1) { - if ((i3 | 0) >= (HEAP32[i2 + 12 >> 2] | 0)) break; - _free(HEAP32[i1 + (i3 * 12 | 0) >> 2] | 0); - i19 = HEAP32[i16 >> 2] | 0; - i3 = i3 + 1 | 0; - i2 = i19; - i1 = HEAP32[i19 + 8 >> 2] | 0; + if (($0 | 0) == ($16 | 0)) { + $3 = $5 + 3728 | 0; + } else { + HEAP8[($5 + 3728 | 0) + $0 | 0] = $1 & 1; + $0 = $0 + 1 | 0; + $6 = $1; + $1 = ($2 & 1) << 31 | $6 >>> 1; + $2 = $2 >>> 1 | 0; + continue; } - _free(i1); - i1 = (HEAP32[i16 >> 2] | 0) + 8 | 0; - } - HEAP32[i1 >> 2] = i12; - HEAP32[(HEAP32[i16 >> 2] | 0) + 12 >> 2] = i11; - _kpmDeleteRefDataSet(i17) | 0; - i1 = 0; - } - } else { - _arLog(0, 3, 19959, i2); - i1 = -1; - } - STACKTOP = i18; - return i1 | 0; -} - -function _dispose_chunk(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = i2 + i1 | 0; - i3 = HEAP32[i2 + 4 >> 2] | 0; - do if (!(i3 & 1)) { - i5 = HEAP32[i2 >> 2] | 0; - if (!(i3 & 3)) return; - i7 = i2 + (0 - i5) | 0; - i1 = i5 + i1 | 0; - if ((HEAP32[14093] | 0) == (i7 | 0)) { - i2 = i8 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 & 3 | 0) != 3) break; - HEAP32[14090] = i1; - HEAP32[i2 >> 2] = i3 & -2; - HEAP32[i7 + 4 >> 2] = i1 | 1; - HEAP32[i8 >> 2] = i1; - return; - } - i4 = i5 >>> 3; - if (i5 >>> 0 < 256) { - i2 = HEAP32[i7 + 8 >> 2] | 0; - i3 = HEAP32[i7 + 12 >> 2] | 0; - if ((i3 | 0) == (i2 | 0)) { - HEAP32[14088] = HEAP32[14088] & ~(1 << i4); - break; - } else { - HEAP32[i2 + 12 >> 2] = i3; - HEAP32[i3 + 8 >> 2] = i2; break; } } - i6 = HEAP32[i7 + 24 >> 2] | 0; - i2 = HEAP32[i7 + 12 >> 2] | 0; - do if ((i2 | 0) == (i7 | 0)) { - i3 = i7 + 16 | 0; - i4 = i3 + 4 | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (!i2) { - i2 = HEAP32[i3 >> 2] | 0; - if (!i2) { - i2 = 0; - break; - } - } else i3 = i4; - while (1) { - i5 = i2 + 20 | 0; - i4 = HEAP32[i5 >> 2] | 0; - if (!i4) { - i5 = i2 + 16 | 0; - i4 = HEAP32[i5 >> 2] | 0; - if (!i4) break; else { - i2 = i4; - i3 = i5; + $17 = $15 << 1; + $10 = $17 | 1; + $1 = 1; + while (1) { + if (($1 | 0) != ($10 | 0)) { + $7 = 0; + $2 = ($5 + 560 | 0) + ($1 << 2) | 0; + HEAP32[$2 >> 2] = 0; + $0 = 0; + while (1) { + if (($0 | 0) != ($16 | 0)) { + if (HEAPU8[$0 + $3 | 0]) { + $7 = HEAP32[((Math_imul($0, $1) >>> 0) % ($12 >>> 0) << 2) + $14 >> 2] ^ $7; + HEAP32[$2 >> 2] = $7; + } + $0 = $0 + 1 | 0; + continue; } - } else { - i2 = i4; - i3 = i5; - } - } - HEAP32[i3 >> 2] = 0; - } else { - i5 = HEAP32[i7 + 8 >> 2] | 0; - HEAP32[i5 + 12 >> 2] = i2; - HEAP32[i2 + 8 >> 2] = i5; - } while (0); - if (i6) { - i3 = HEAP32[i7 + 28 >> 2] | 0; - i4 = 56656 + (i3 << 2) | 0; - if ((HEAP32[i4 >> 2] | 0) == (i7 | 0)) { - HEAP32[i4 >> 2] = i2; - if (!i2) { - HEAP32[14089] = HEAP32[14089] & ~(1 << i3); break; } - } else { - i5 = i6 + 16 | 0; - HEAP32[((HEAP32[i5 >> 2] | 0) == (i7 | 0) ? i5 : i6 + 20 | 0) >> 2] = i2; - if (!i2) break; - } - HEAP32[i2 + 24 >> 2] = i6; - i3 = i7 + 16 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if (i4 | 0) { - HEAP32[i2 + 16 >> 2] = i4; - HEAP32[i4 + 24 >> 2] = i2; - } - i3 = HEAP32[i3 + 4 >> 2] | 0; - if (i3) { - HEAP32[i2 + 20 >> 2] = i3; - HEAP32[i3 + 24 >> 2] = i2; - } - } - } else i7 = i2; while (0); - i2 = i8 + 4 | 0; - i4 = HEAP32[i2 >> 2] | 0; - if (!(i4 & 2)) { - if ((HEAP32[14094] | 0) == (i8 | 0)) { - i8 = (HEAP32[14091] | 0) + i1 | 0; - HEAP32[14091] = i8; - HEAP32[14094] = i7; - HEAP32[i7 + 4 >> 2] = i8 | 1; - if ((i7 | 0) != (HEAP32[14093] | 0)) return; - HEAP32[14093] = 0; - HEAP32[14090] = 0; - return; - } - if ((HEAP32[14093] | 0) == (i8 | 0)) { - i8 = (HEAP32[14090] | 0) + i1 | 0; - HEAP32[14090] = i8; - HEAP32[14093] = i7; - HEAP32[i7 + 4 >> 2] = i8 | 1; - HEAP32[i7 + i8 >> 2] = i8; - return; + HEAP32[$2 >> 2] = HEAP32[($7 << 2) + $11 >> 2]; + $22 = $7 ? 1 : $22; + $1 = $1 + 1 | 0; + continue; + } + break; } - i5 = (i4 & -8) + i1 | 0; - i3 = i4 >>> 3; - do if (i4 >>> 0 < 256) { - i2 = HEAP32[i8 + 8 >> 2] | 0; - i1 = HEAP32[i8 + 12 >> 2] | 0; - if ((i1 | 0) == (i2 | 0)) { - HEAP32[14088] = HEAP32[14088] & ~(1 << i3); - break; - } else { - HEAP32[i2 + 12 >> 2] = i1; - HEAP32[i1 + 8 >> 2] = i2; + label$17: { + if (!$22) { + break label$17; + } + HEAP32[$5 + 800 >> 2] = 0; + HEAP32[$5 + 804 >> 2] = HEAP32[$5 + 564 >> 2]; + HEAP32[$5 + 952 >> 2] = 1; + HEAP32[$5 + 880 >> 2] = 0; + $0 = 1; + while (1) { + if (($0 | 0) != ($17 | 0)) { + $7 = ($5 + 880 | 0) + ($0 << 2) | 0; + HEAP32[$7 >> 2] = -1; + HEAP32[$7 + 72 >> 2] = 0; + $0 = $0 + 1 | 0; + continue; + } break; } - } else { - i6 = HEAP32[i8 + 24 >> 2] | 0; - i1 = HEAP32[i8 + 12 >> 2] | 0; - do if ((i1 | 0) == (i8 | 0)) { - i2 = i8 + 16 | 0; - i3 = i2 + 4 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) { - i1 = HEAP32[i2 >> 2] | 0; - if (!i1) { - i3 = 0; + HEAP32[$5 + 640 >> 2] = -1; + HEAP32[$5 + 644 >> 2] = 0; + HEAP32[$5 + 720 >> 2] = 0; + HEAP32[$5 + 724 >> 2] = 0; + $24 = $17 - 1 | 0; + while (1) { + label$21: { + $7 = $13; + $10 = $7 + 1 | 0; + $8 = HEAP32[($5 + 800 | 0) + ($10 << 2) >> 2]; + if (($8 | 0) == -1) { + $7 = $13 + 2 | 0; + HEAP32[($5 + 720 | 0) + ($7 << 2) >> 2] = $9; + $8 = (($9 | 0) >= 0 ? $9 : -1) + 1 | 0; + $0 = 0; + while (1) { + if (($0 | 0) == ($8 | 0)) { + break label$21; + } + $1 = $0 << 2; + $6 = $1 + (($5 + 880 | 0) + Math_imul($7, 72) | 0) | 0; + $1 = (($5 + 880 | 0) + Math_imul($10, 72) | 0) + $1 | 0; + $2 = HEAP32[$1 >> 2]; + HEAP32[$6 >> 2] = $2; + HEAP32[$1 >> 2] = HEAP32[($2 << 2) + $11 >> 2]; + $0 = $0 + 1 | 0; + continue; + } + } + while (1) { + $0 = $7; + if (HEAP32[($5 + 800 | 0) + ($0 << 2) >> 2] == -1) { + $7 = $0 - 1 | 0; + if (($0 | 0) > 0) { + continue; + } + } break; } - } else i2 = i3; - while (1) { - i4 = i1 + 20 | 0; - i3 = HEAP32[i4 >> 2] | 0; - if (!i3) { - i4 = i1 + 16 | 0; - i3 = HEAP32[i4 >> 2] | 0; - if (!i3) break; else { - i1 = i3; - i2 = i4; + $1 = $0; + if (($0 | 0) > 0) { + while (1) { + $7 = $0 - 1 | 0; + $2 = $7 << 2; + if (HEAP32[$2 + ($5 + 800 | 0) >> 2] != -1) { + $1 = HEAP32[($5 + 640 | 0) + ($1 << 2) >> 2] < HEAP32[($5 + 640 | 0) + $2 >> 2] ? $7 : $1; + } + $2 = $0 >>> 0 > 1; + $0 = $7; + if ($2) { + continue; + } + break; + } + } + $7 = $13 + 2 | 0; + $6 = $10 - $1 | 0; + $2 = $1 << 2; + $20 = $2 + ($5 + 720 | 0) | 0; + $0 = $6 + HEAP32[$20 >> 2] | 0; + $23 = ($0 | 0) < ($9 | 0) ? $9 : $0; + HEAP32[($5 + 720 | 0) + ($7 << 2) >> 2] = $23; + $0 = 0; + while (1) if (($0 | 0) == ($17 | 0)) { + $19 = $8 + $12 | 0; + $0 = HEAP32[$20 >> 2]; + $8 = (($0 | 0) >= 0 ? $0 : -1) + 1 | 0; + $20 = ($5 + 800 | 0) + $2 | 0; + $0 = 0; + while (1) { + if (($0 | 0) == ($8 | 0)) { + $8 = (($9 | 0) >= 0 ? $9 : -1) + 1 | 0; + $0 = 0; + while (1) if (($0 | 0) == ($8 | 0)) { + $9 = $23; + break label$21; + } else { + $1 = $0 << 2; + $2 = $1 + (($5 + 880 | 0) + Math_imul($7, 72) | 0) | 0; + $6 = $2; + $9 = HEAP32[$2 >> 2]; + $1 = (($5 + 880 | 0) + Math_imul($10, 72) | 0) + $1 | 0; + $2 = HEAP32[$1 >> 2]; + HEAP32[$6 >> 2] = $9 ^ $2; + HEAP32[$1 >> 2] = HEAP32[($2 << 2) + $11 >> 2]; + $0 = $0 + 1 | 0; + continue; + } + } + $2 = HEAP32[(($5 + 880 | 0) + Math_imul($1, 72) | 0) + ($0 << 2) >> 2]; + if (($2 | 0) != -1) { + HEAP32[(($5 + 880 | 0) + Math_imul($7, 72) | 0) + ($0 + $6 << 2) >> 2] = HEAP32[((($2 + $19 | 0) - HEAP32[$20 >> 2] | 0) % ($12 | 0) << 2) + $14 >> 2]; + } + $0 = $0 + 1 | 0; + continue; } } else { - i1 = i3; - i2 = i4; + HEAP32[(($5 + 880 | 0) + Math_imul($7, 72) | 0) + ($0 << 2) >> 2] = 0; + $0 = $0 + 1 | 0; + continue; + } + } + $0 = $7 << 2; + HEAP32[$0 + ($5 + 640 | 0) >> 2] = $10 - $9; + if (($13 | 0) != ($24 | 0)) { + $19 = ($5 + 800 | 0) + $0 | 0; + $1 = HEAP32[($5 + 560 | 0) + $0 >> 2]; + if (($1 | 0) == -1) { + $6 = 0; + } else { + $6 = HEAP32[($1 << 2) + $14 >> 2]; + } + HEAP32[$19 >> 2] = $6; + $0 = 1; + $2 = (($9 | 0) > 0 ? $9 : 0) + 1 | 0; + while (1) { + if (($0 | 0) != ($2 | 0)) { + $1 = HEAP32[($5 + 560 | 0) + ($7 - $0 << 2) >> 2]; + label$43: { + if (($1 | 0) == -1) { + break label$43; + } + $8 = HEAP32[(($5 + 880 | 0) + Math_imul($7, 72) | 0) + ($0 << 2) >> 2]; + if (!$8) { + break label$43; + } + $6 = HEAP32[((HEAP32[($8 << 2) + $11 >> 2] + $1 | 0) % ($12 | 0) << 2) + $14 >> 2] ^ $6; + HEAP32[$19 >> 2] = $6; + } + $0 = $0 + 1 | 0; + continue; + } + break; + } + HEAP32[$19 >> 2] = HEAP32[($6 << 2) + $11 >> 2]; + $13 = $10; + if (($9 | 0) <= ($15 | 0)) { + continue; } } - HEAP32[i2 >> 2] = 0; - i3 = i1; - } else { - i3 = HEAP32[i8 + 8 >> 2] | 0; - HEAP32[i3 + 12 >> 2] = i1; - HEAP32[i1 + 8 >> 2] = i3; - i3 = i1; - } while (0); - if (i6 | 0) { - i1 = HEAP32[i8 + 28 >> 2] | 0; - i2 = 56656 + (i1 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) == (i8 | 0)) { - HEAP32[i2 >> 2] = i3; - if (!i3) { - HEAP32[14089] = HEAP32[14089] & ~(1 << i1); + break; + } + $1 = -1; + if (($9 | 0) > ($15 | 0)) { + break label$1; + } + $0 = 0; + $8 = $9 + 1 | 0; + $2 = ($8 | 0) > 0 ? $8 : 0; + $10 = ($5 + 880 | 0) + Math_imul($7, 72) | 0; + while (1) if (($0 | 0) == ($2 | 0)) { + $10 = ($8 | 0) > 1 ? $8 : 1; + $2 = ($5 + 880 | 0) + Math_imul($7, 72) | 0; + $0 = 1; + while (1) if (($0 | 0) == ($10 | 0)) { + $17 = $12 + 1 | 0; + $6 = 0; + $8 = 1; + while (1) { + $0 = 1; + $11 = 1; + if (($8 | 0) != ($17 | 0)) { + while (1) { + if (($0 | 0) != ($10 | 0)) { + $1 = ($0 << 2) + $5 | 0; + $2 = HEAP32[$1 >> 2]; + if (($2 | 0) != -1) { + $2 = ($0 + $2 | 0) % ($12 | 0) | 0; + HEAP32[$1 >> 2] = $2; + $11 = HEAP32[($2 << 2) + $14 >> 2] ^ $11; + } + $0 = $0 + 1 | 0; + continue; + } + break; + } + if (!$11) { + HEAP32[($5 + 48 | 0) + ($6 << 2) >> 2] = $12 - $8; + $6 = $6 + 1 | 0; + } + $8 = $8 + 1 | 0; + continue; + } break; } + $1 = -1; + if (($9 | 0) != ($6 | 0)) { + break label$1; + } + $0 = 0; + $14 = ($9 | 0) > 0 ? $9 : 0; + while (1) { + if (($0 | 0) == ($14 | 0)) { + break label$17; + } + $12 = HEAP32[($5 + 48 | 0) + ($0 << 2) >> 2] + $3 | 0; + HEAP8[$12 | 0] = HEAPU8[$12 | 0] ^ 1; + $0 = $0 + 1 | 0; + continue; + } } else { - i4 = i6 + 16 | 0; - HEAP32[((HEAP32[i4 >> 2] | 0) == (i8 | 0) ? i4 : i6 + 20 | 0) >> 2] = i3; - if (!i3) break; - } - HEAP32[i3 + 24 >> 2] = i6; - i1 = i8 + 16 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i3 + 16 >> 2] = i2; - HEAP32[i2 + 24 >> 2] = i3; - } - i1 = HEAP32[i1 + 4 >> 2] | 0; - if (i1 | 0) { - HEAP32[i3 + 20 >> 2] = i1; - HEAP32[i1 + 24 >> 2] = i3; - } - } - } while (0); - HEAP32[i7 + 4 >> 2] = i5 | 1; - HEAP32[i7 + i5 >> 2] = i5; - if ((i7 | 0) == (HEAP32[14093] | 0)) { - HEAP32[14090] = i5; - return; - } - } else { - HEAP32[i2 >> 2] = i4 & -2; - HEAP32[i7 + 4 >> 2] = i1 | 1; - HEAP32[i7 + i1 >> 2] = i1; - i5 = i1; - } - i1 = i5 >>> 3; - if (i5 >>> 0 < 256) { - i3 = 56392 + (i1 << 1 << 2) | 0; - i2 = HEAP32[14088] | 0; - i1 = 1 << i1; - if (!(i2 & i1)) { - HEAP32[14088] = i2 | i1; - i1 = i3; - i2 = i3 + 8 | 0; - } else { - i2 = i3 + 8 | 0; - i1 = HEAP32[i2 >> 2] | 0; - } - HEAP32[i2 >> 2] = i7; - HEAP32[i1 + 12 >> 2] = i7; - HEAP32[i7 + 8 >> 2] = i1; - HEAP32[i7 + 12 >> 2] = i3; - return; - } - i1 = i5 >>> 8; - if (i1) if (i5 >>> 0 > 16777215) i4 = 31; else { - i6 = (i1 + 1048320 | 0) >>> 16 & 8; - i8 = i1 << i6; - i3 = (i8 + 520192 | 0) >>> 16 & 4; - i8 = i8 << i3; - i4 = (i8 + 245760 | 0) >>> 16 & 2; - i4 = 14 - (i3 | i6 | i4) + (i8 << i4 >>> 15) | 0; - i4 = i5 >>> (i4 + 7 | 0) & 1 | i4 << 1; - } else i4 = 0; - i1 = 56656 + (i4 << 2) | 0; - HEAP32[i7 + 28 >> 2] = i4; - HEAP32[i7 + 20 >> 2] = 0; - HEAP32[i7 + 16 >> 2] = 0; - i2 = HEAP32[14089] | 0; - i3 = 1 << i4; - if (!(i2 & i3)) { - HEAP32[14089] = i2 | i3; - HEAP32[i1 >> 2] = i7; - HEAP32[i7 + 24 >> 2] = i1; - HEAP32[i7 + 12 >> 2] = i7; - HEAP32[i7 + 8 >> 2] = i7; - return; - } - i1 = HEAP32[i1 >> 2] | 0; - L104 : do if ((HEAP32[i1 + 4 >> 2] & -8 | 0) != (i5 | 0)) { - i4 = i5 << ((i4 | 0) == 31 ? 0 : 25 - (i4 >>> 1) | 0); - while (1) { - i3 = i1 + 16 + (i4 >>> 31 << 2) | 0; - i2 = HEAP32[i3 >> 2] | 0; - if (!i2) break; - if ((HEAP32[i2 + 4 >> 2] & -8 | 0) == (i5 | 0)) { - i1 = i2; - break L104; - } else { - i4 = i4 << 1; - i1 = i2; - } - } - HEAP32[i3 >> 2] = i7; - HEAP32[i7 + 24 >> 2] = i1; - HEAP32[i7 + 12 >> 2] = i7; - HEAP32[i7 + 8 >> 2] = i7; - return; - } while (0); - i6 = i1 + 8 | 0; - i8 = HEAP32[i6 >> 2] | 0; - HEAP32[i8 + 12 >> 2] = i7; - HEAP32[i6 >> 2] = i7; - HEAP32[i7 + 8 >> 2] = i8; - HEAP32[i7 + 12 >> 2] = i1; - HEAP32[i7 + 24 >> 2] = 0; - return; -} - -function _arMultiReadConfigFile(i32, i22) { - i32 = i32 | 0; - i22 = i22 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i33 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0, i41 = 0, i42 = 0, i43 = 0, i44 = 0, d45 = 0.0, d46 = 0.0; - i44 = STACKTOP; - STACKTOP = STACKTOP + 2528 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2528); - i43 = i44 + 2512 | 0; - i41 = i44 + 2504 | 0; - i30 = i44 + 2488 | 0; - i40 = i44 + 2480 | 0; - i29 = i44 + 2472 | 0; - i28 = i44 + 2456 | 0; - i39 = i44 + 2448 | 0; - i27 = i44 + 2440 | 0; - i38 = i44 + 2432 | 0; - i37 = i44 + 2424 | 0; - i36 = i44 + 2416 | 0; - i26 = i44 + 2408 | 0; - i4 = i44 + 2400 | 0; - i3 = i44 + 2392 | 0; - i31 = i44 + 2384 | 0; - i2 = i44 + 2376 | 0; - i1 = i44 + 2368 | 0; - i23 = i44 + 2304 | 0; - i33 = i44 + 2048 | 0; - i34 = i44; - i24 = i44 + 2524 | 0; - i42 = i44 + 2520 | 0; - i25 = i44 + 2516 | 0; - i35 = _fopen(i32, 19680) | 0; - do if (!i35) { - HEAP32[i1 >> 2] = i32; - _arLog(0, 3, 18690, i1); - i1 = ___errno_location() | 0; - i1 = _strerror(HEAP32[i1 >> 2] | 0) | 0; - HEAP32[i2 >> 2] = 58366; - HEAP32[i2 + 4 >> 2] = i1; - _arLog(0, 3, 19708, i2); - i1 = 0; - } else { - _get_buff(i33, i35); - HEAP32[i31 >> 2] = i42; - if ((_sscanf(i33, 19714, i31) | 0) != 1) { - HEAP32[i3 >> 2] = i32; - _arLog(0, 3, 18743, i3); - _fclose(i35) | 0; - i1 = 0; - break; - } - i1 = HEAP32[i42 >> 2] | 0; - i21 = _malloc(i1 * 320 | 0) | 0; - if (!i21) { - _arLog(0, 3, 20454, i4); - _exit(1); - } - i12 = (i22 | 0) == 0; - i13 = i23 + 8 | 0; - i14 = i23 + 16 | 0; - i15 = i23 + 24 | 0; - i16 = i23 + 32 | 0; - i17 = i23 + 40 | 0; - i18 = i23 + 48 | 0; - i19 = i23 + 56 | 0; - i20 = 0; - i3 = 0; - L10 : while (1) { - if ((i20 | 0) >= (i1 | 0)) { - i1 = 31; - break; - } - _get_buff(i33, i35); - i1 = i21 + (i20 * 320 | 0) | 0; - i2 = i21 + (i20 * 320 | 0) + 312 | 0; - HEAP32[i26 >> 2] = i2; - HEAP32[i26 + 4 >> 2] = i24; - if ((_sscanf(i33, 18844, i26) | 0) != 1) { - if (i12) { - i1 = 11; - break; - } - if (!(_arUtilGetDirectoryNameFromPath(i34, i32, 2048, 1) | 0)) { - i1 = 13; - break; - } - _strncat(i34, i33, 2047 - (_strlen(i34) | 0) | 0) | 0; - i11 = _arPattLoad(i22, i34) | 0; - HEAP32[i1 >> 2] = i11; - if ((i11 | 0) < 0) { - i1 = 15; - break; - } else { - i1 = 1; - i2 = 0; + $1 = $0 << 2; + HEAP32[$1 + $5 >> 2] = HEAP32[$1 + $2 >> 2]; + $0 = $0 + 1 | 0; + continue; } } else { - i2 = HEAP32[i2 >> 2] | 0; - HEAP32[i1 >> 2] = (i2 & -32768 | 0) == 0 & 0 == 0 ? i2 & 32767 : 0; - i1 = 2; - i2 = 1; - } - HEAP32[i21 + (i20 * 320 | 0) + 4 >> 2] = i2; - i3 = i3 | i1; - _get_buff(i33, i35); - i2 = i21 + (i20 * 320 | 0) + 8 | 0; - HEAP32[i27 >> 2] = i2; - if ((_sscanf(i33, 19140, i27) | 0) != 1) { - i1 = 18; - break; + $1 = ($0 << 2) + $10 | 0; + HEAP32[$1 >> 2] = HEAP32[(HEAP32[$1 >> 2] << 2) + $11 >> 2]; + $0 = $0 + 1 | 0; + continue; } - _get_buff(i33, i35); - i9 = i21 + (i20 * 320 | 0) + 16 | 0; - i10 = i21 + (i20 * 320 | 0) + 24 | 0; - i11 = i21 + (i20 * 320 | 0) + 40 | 0; - HEAP32[i28 >> 2] = i9; - HEAP32[i28 + 4 >> 2] = i10; - HEAP32[i28 + 8 >> 2] = i21 + (i20 * 320 | 0) + 32; - HEAP32[i28 + 12 >> 2] = i11; - if ((_sscanf(i33, 19249, i28) | 0) == 4) i1 = 1; else { - HEAP32[i29 >> 2] = i31; - HEAP32[i29 + 4 >> 2] = i25; - if ((_sscanf(i33, 19265, i29) | 0) != 2) { - i1 = 23; - break; - } - i1 = 0; - } - do { - _get_buff(i33, i35); - HEAP32[i30 >> 2] = i21 + (i20 * 320 | 0) + 16 + (i1 << 5); - HEAP32[i30 + 4 >> 2] = i21 + (i20 * 320 | 0) + 16 + (i1 << 5) + 8; - HEAP32[i30 + 8 >> 2] = i21 + (i20 * 320 | 0) + 16 + (i1 << 5) + 16; - HEAP32[i30 + 12 >> 2] = i21 + (i20 * 320 | 0) + 16 + (i1 << 5) + 24; - if ((_sscanf(i33, 19249, i30) | 0) != 4) { - i1 = 25; - break L10; - } - i1 = i1 + 1 | 0; - } while (i1 >>> 0 < 3); - _arUtilMatInv(i9, i21 + (i20 * 320 | 0) + 112 | 0) | 0; - d46 = +HEAPF64[i2 >> 3]; - d45 = d46 * -.5; - HEAPF64[i23 >> 3] = d45; - d46 = d46 * .5; - HEAPF64[i13 >> 3] = d46; - HEAPF64[i14 >> 3] = d46; - HEAPF64[i15 >> 3] = d46; - HEAPF64[i16 >> 3] = d46; - HEAPF64[i17 >> 3] = d45; - HEAPF64[i18 >> 3] = d45; - HEAPF64[i19 >> 3] = d45; - i2 = i21 + (i20 * 320 | 0) + 48 | 0; - i4 = i21 + (i20 * 320 | 0) + 56 | 0; - i5 = i21 + (i20 * 320 | 0) + 72 | 0; - i6 = i21 + (i20 * 320 | 0) + 80 | 0; - i7 = i21 + (i20 * 320 | 0) + 88 | 0; - i8 = i21 + (i20 * 320 | 0) + 104 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - d45 = +HEAPF64[i23 + (i1 << 4) >> 3]; - d46 = +HEAPF64[i23 + (i1 << 4) + 8 >> 3]; - HEAPF64[i21 + (i20 * 320 | 0) + 208 + (i1 * 24 | 0) >> 3] = +HEAPF64[i11 >> 3] + (+HEAPF64[i9 >> 3] * d45 + +HEAPF64[i10 >> 3] * d46); - HEAPF64[i21 + (i20 * 320 | 0) + 208 + (i1 * 24 | 0) + 8 >> 3] = +HEAPF64[i5 >> 3] + (d45 * +HEAPF64[i2 >> 3] + d46 * +HEAPF64[i4 >> 3]); - HEAPF64[i21 + (i20 * 320 | 0) + 208 + (i1 * 24 | 0) + 16 >> 3] = +HEAPF64[i8 >> 3] + (d45 * +HEAPF64[i6 >> 3] + d46 * +HEAPF64[i7 >> 3]); - i1 = i1 + 1 | 0; - } - i20 = i20 + 1 | 0; - i1 = HEAP32[i42 >> 2] | 0; - } - if ((i1 | 0) == 11) { - HEAP32[i36 >> 2] = i32; - HEAP32[i36 + 4 >> 2] = i33; - _arLog(0, 3, 18851, i36); - } else if ((i1 | 0) == 13) { - HEAP32[i37 >> 2] = i32; - _arLog(0, 3, 18979, i37); - } else if ((i1 | 0) == 15) { - HEAP32[i38 >> 2] = i32; - HEAP32[i38 + 4 >> 2] = i34; - _arLog(0, 3, 19063, i38); - } else if ((i1 | 0) == 18) { - HEAP32[i39 >> 2] = i32; - HEAP32[i39 + 4 >> 2] = i20 + 1; - _arLog(0, 3, 19144, i39); - } else if ((i1 | 0) == 23) { - HEAP32[i40 >> 2] = i32; - HEAP32[i40 + 4 >> 2] = i20 + 1; - _arLog(0, 3, 19271, i40); - } else if ((i1 | 0) == 25) { - HEAP32[i41 >> 2] = i32; - HEAP32[i41 + 4 >> 2] = i20 + 1; - _arLog(0, 3, 19271, i41); - } else if ((i1 | 0) == 31) { - _fclose(i35) | 0; - i1 = _malloc(136) | 0; - if (!i1) { - _arLog(0, 3, 20454, i43); - _exit(1); - } - HEAP32[i1 >> 2] = i21; - HEAP32[i1 + 4 >> 2] = HEAP32[i42 >> 2]; - HEAP32[i1 + 128 >> 2] = 0; - HEAP32[i1 + 104 >> 2] = 0; - do if ((i3 & 3 | 0) != 3) { - i2 = i1 + 108 | 0; - if (!(i3 & 1)) { - HEAP32[i2 >> 2] = 1; - break; - } else { - HEAP32[i2 >> 2] = 0; - break; - } - } else HEAP32[i1 + 108 >> 2] = 2; while (0); - HEAPF64[i1 + 112 >> 3] = .5; - HEAPF64[i1 + 120 >> 3] = .5; - break; - } - _fclose(i35) | 0; - _free(i21); - i1 = 0; - } while (0); - STACKTOP = i44; - return i1 | 0; -} - -function __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_PKff(i14, i15, i17, i2, d1) { - i14 = i14 | 0; - i15 = i15 | 0; - i17 = i17 | 0; - i2 = i2 | 0; - d1 = +d1; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i16 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, d24 = 0.0, i25 = 0; - i23 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i18 = i23 + 40 | 0; - i19 = i23; - i20 = i23 + 52 | 0; - i21 = i23 + 48 | 0; - i16 = i14 + 4 | 0; - HEAP32[i16 >> 2] = HEAP32[i14 >> 2]; - do if ((__ZNK6vision18BinaryFeatureStore4sizeEv(i15) | 0) != 0 ? (__ZNK6vision18BinaryFeatureStore4sizeEv(i17) | 0) != 0 : 0) { - d1 = +__ZN6vision3sqrIfEET_S1_(d1); - if (!(__ZN6vision16MatrixInverse3x3IfEEbPT_PKS1_S1_(i19, i2, 0.0) | 0)) { - i12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 29336) | 0, 29361) | 0, 33528) | 0, 196) | 0, 33535) | 0, 29483) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i12 + (HEAP32[(HEAP32[i12 >> 2] | 0) + -12 >> 2] | 0) | 0); - i11 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i11 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 63](i11, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i12, i11) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i12) | 0; - _abort(); - } - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm(i14, __ZNK6vision18BinaryFeatureStore4sizeEv(i15) | 0); - i11 = i14 + 8 | 0; - i12 = i14 + 12 | 0; - i10 = 0; - L7 : while (1) { - if (i10 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv(i15) | 0) >>> 0) break; - i8 = __ZNK6vision18BinaryFeatureStore7featureEm(i15, i10) | 0; - i9 = __ZNK6vision18BinaryFeatureStore5pointEm(i15, i10) | 0; - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvRT_S2_PKS1_S1_S1_(i20, i21, i19, +HEAPF32[i9 >> 2], +HEAPF32[i9 + 4 >> 2]); - i9 = i9 + 16 | 0; - i6 = 0; - i7 = -1; - i4 = -1; - i3 = 2147483647; - while (1) { - if (i6 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv(i17) | 0) >>> 0) break; - i2 = __ZNK6vision18BinaryFeatureStore5pointEm(i17, i6) | 0; - if ((HEAP8[i9 >> 0] | 0) == (HEAP8[i2 + 16 >> 0] | 0) ? (d24 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i20 >> 2] - +HEAPF32[i2 >> 2]), !(d24 + +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i21 >> 2] - +HEAPF32[i2 + 4 >> 2]) > d1)) : 0) { - i2 = __ZN6vision18HammingDistance768EPKjS1_(i8, __ZNK6vision18BinaryFeatureStore7featureEm(i17, i6) | 0) | 0; - i25 = i2 >>> 0 < i7 >>> 0; - i5 = i25 ? i2 : i7; - i2 = i25 ? i7 : i2 >>> 0 < i4 >>> 0 ? i2 : i4; - i3 = i25 ? i6 : i3; - } else { - i5 = i7; - i2 = i4; - } - i6 = i6 + 1 | 0; - i7 = i5; - i4 = i2; - } - do if ((i7 | 0) != -1) { - if ((i3 | 0) == -1) { - i22 = 16; - break L7; - } - if ((i4 | 0) == -1) { - __ZN6vision7match_tC2Eii(i18, i10, i3); - i2 = HEAP32[i16 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i11 >> 2] | 0) >>> 0) { - i8 = i18; - i9 = HEAP32[i8 + 4 >> 2] | 0; - i25 = i2; - HEAP32[i25 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i25 + 4 >> 2] = i9; - HEAP32[i16 >> 2] = (HEAP32[i16 >> 2] | 0) + 8; - } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_(i14, i18); - break; - } - if (+(i7 >>> 0) / +(i4 >>> 0) < +HEAPF32[i12 >> 2]) { - __ZN6vision7match_tC2Eii(i18, i10, i3); - i2 = HEAP32[i16 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i11 >> 2] | 0) >>> 0) { - i8 = i18; - i9 = HEAP32[i8 + 4 >> 2] | 0; - i25 = i2; - HEAP32[i25 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i25 + 4 >> 2] = i9; - HEAP32[i16 >> 2] = (HEAP32[i16 >> 2] | 0) + 8; - } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_(i14, i18); - } - } while (0); - i10 = i10 + 1 | 0; - } - if ((i22 | 0) == 16) { - i25 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 29516) | 0, 29361) | 0, 33528) | 0, 241) | 0, 33535) | 0, 29588) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i25 + (HEAP32[(HEAP32[i25 >> 2] | 0) + -12 >> 2] | 0) | 0); - i22 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i22 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i22 >> 2] | 0) + 28 >> 2] & 63](i22, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i25, i22) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i25) | 0; - _abort(); - } - i25 = (HEAP32[i16 >> 2] | 0) - (HEAP32[i14 >> 2] | 0) >> 3; - if (i25 >>> 0 > (__ZNK6vision18BinaryFeatureStore4sizeEv(i15) | 0) >>> 0) { - i25 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 29606) | 0, 29361) | 0, 33528) | 0, 256) | 0, 33535) | 0, 29666) | 0; - __ZNKSt3__28ios_base6getlocEv(i18, i25 + (HEAP32[(HEAP32[i25 >> 2] | 0) + -12 >> 2] | 0) | 0); - i22 = __ZNKSt3__26locale9use_facetERNS0_2idE(i18, 57916) | 0; - i22 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i22 >> 2] | 0) + 28 >> 2] & 63](i22, 10) | 0; - __ZNSt3__26localeD2Ev(i18); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i25, i22) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i25) | 0; - _abort(); - } else { - i13 = (HEAP32[i16 >> 2] | 0) - (HEAP32[i14 >> 2] | 0) >> 3; - break; } - } else i13 = 0; while (0); - STACKTOP = i23; - return i13 | 0; -} - -function _icpGetInitXw2Xc_from_PlanarData(i13, i4, i5, i6, i15) { - i13 = i13 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i15 = i15 | 0; - var i1 = 0, i2 = 0, i3 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i14 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, d34 = 0.0, d35 = 0.0, d36 = 0.0, d37 = 0.0, d38 = 0.0; - i18 = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - i17 = i18 + 120 | 0; - i12 = i18 + 112 | 0; - i11 = i18 + 104 | 0; - i9 = i18 + 96 | 0; - i8 = i18 + 88 | 0; - i3 = i18 + 80 | 0; - i2 = i18 + 72 | 0; - i16 = i18; - L1 : do if ((i6 | 0) >= 4) { - i1 = 0; + $6 = $4; + HEAP32[$6 >> 2] = 0; + HEAP32[$6 + 4 >> 2] = 0; + $0 = $16 + $18 | 0; + $1 = 1; + $2 = 0; while (1) { - if ((i1 | 0) >= (i6 | 0)) break; - if (+HEAPF64[i5 + (i1 * 24 | 0) + 16 >> 3] != 0.0) { - i1 = -1; - break L1; - } else i1 = i1 + 1 | 0; - } - if ((((((((!(+HEAPF64[i13 >> 3] == 0.0) ? !(+HEAPF64[i13 + 32 >> 3] != 0.0) : 0) ? (i14 = i13 + 40 | 0, !(+HEAPF64[i14 >> 3] == 0.0)) : 0) ? !(+HEAPF64[i13 + 64 >> 3] != 0.0) : 0) ? !(+HEAPF64[i13 + 72 >> 3] != 0.0) : 0) ? !(+HEAPF64[i13 + 80 >> 3] != 1.0) : 0) ? !(+HEAPF64[i13 + 24 >> 3] != 0.0) : 0) ? !(+HEAPF64[i13 + 56 >> 3] != 0.0) : 0) ? !(+HEAPF64[i13 + 88 >> 3] != 0.0) : 0) { - i1 = i6 << 1; - i10 = _arMatrixAlloc(i1, 8) | 0; - if (!i10) { - _arLog(0, 3, 18508, i2); - i1 = -1; - break; - } - i7 = _arMatrixAlloc(i1, 1) | 0; - if (!i7) { - _arMatrixFree(i10) | 0; - _arLog(0, 3, 18534, i3); - i1 = -1; - break; - } - i1 = 0; - while (1) { - if ((i1 | 0) == (i6 | 0)) break; - i22 = i5 + (i1 * 24 | 0) | 0; - i3 = HEAP32[i10 >> 2] | 0; - i2 = i1 << 4; - HEAPF64[i3 + (i2 << 3) >> 3] = +HEAPF64[i22 >> 3]; - i21 = i5 + (i1 * 24 | 0) + 8 | 0; - HEAPF64[i3 + ((i2 | 1) << 3) >> 3] = +HEAPF64[i21 >> 3]; - HEAPF64[i3 + ((i2 | 2) << 3) >> 3] = 1.0; - HEAPF64[i3 + ((i2 | 3) << 3) >> 3] = 0.0; - HEAPF64[i3 + ((i2 | 4) << 3) >> 3] = 0.0; - HEAPF64[i3 + ((i2 | 5) << 3) >> 3] = 0.0; - i20 = i4 + (i1 << 4) | 0; - HEAPF64[i3 + ((i2 | 6) << 3) >> 3] = -(+HEAPF64[i22 >> 3] * +HEAPF64[i20 >> 3]); - HEAPF64[i3 + ((i2 | 7) << 3) >> 3] = -(+HEAPF64[i21 >> 3] * +HEAPF64[i20 >> 3]); - HEAPF64[i3 + ((i2 | 8) << 3) >> 3] = 0.0; - HEAPF64[i3 + ((i2 | 9) << 3) >> 3] = 0.0; - HEAPF64[i3 + ((i2 | 10) << 3) >> 3] = 0.0; - HEAPF64[i3 + ((i2 | 11) << 3) >> 3] = +HEAPF64[i22 >> 3]; - HEAPF64[i3 + ((i2 | 12) << 3) >> 3] = +HEAPF64[i21 >> 3]; - HEAPF64[i3 + ((i2 | 13) << 3) >> 3] = 1.0; - i19 = i4 + (i1 << 4) + 8 | 0; - HEAPF64[i3 + ((i2 | 14) << 3) >> 3] = -(+HEAPF64[i22 >> 3] * +HEAPF64[i19 >> 3]); - HEAPF64[i3 + ((i2 | 15) << 3) >> 3] = -(+HEAPF64[i21 >> 3] * +HEAPF64[i19 >> 3]); - i2 = HEAP32[i7 >> 2] | 0; - i3 = i1 << 1; - HEAPF64[i2 + (i3 << 3) >> 3] = +HEAPF64[i20 >> 3]; - HEAPF64[i2 + ((i3 | 1) << 3) >> 3] = +HEAPF64[i19 >> 3]; - i1 = i1 + 1 | 0; - } - i4 = _arMatrixAllocTrans(i10) | 0; - if (!i4) { - _arMatrixFree(i10) | 0; - _arMatrixFree(i7) | 0; - _arLog(0, 3, 18560, i8); - i1 = -1; - break; - } - i3 = _arMatrixAllocMul(i4, i10) | 0; - if (!i3) { - _arMatrixFree(i10) | 0; - _arMatrixFree(i7) | 0; - _arMatrixFree(i4) | 0; - _arLog(0, 3, 18586, i9); - i1 = -1; - break; - } - i2 = _arMatrixAllocMul(i4, i7) | 0; - if (!i2) { - _arMatrixFree(i10) | 0; - _arMatrixFree(i7) | 0; - _arMatrixFree(i4) | 0; - _arMatrixFree(i3) | 0; - _arLog(0, 3, 18612, i11); - i1 = -1; - break; - } - if ((_arMatrixSelfInv(i3) | 0) < 0) { - _arMatrixFree(i10) | 0; - _arMatrixFree(i7) | 0; - _arMatrixFree(i4) | 0; - _arMatrixFree(i3) | 0; - _arMatrixFree(i2) | 0; - _arLog(0, 3, 18638, i12); - i1 = -1; - break; - } - i1 = _arMatrixAllocMul(i3, i2) | 0; - if (!i1) { - _arMatrixFree(i10) | 0; - _arMatrixFree(i7) | 0; - _arMatrixFree(i4) | 0; - _arMatrixFree(i3) | 0; - _arMatrixFree(i2) | 0; - _arLog(0, 3, 18664, i17); - i1 = -1; - break; - } else { - i12 = HEAP32[i1 >> 2] | 0; - d31 = +HEAPF64[i12 + 48 >> 3]; - i20 = i16 + 16 | 0; - d28 = +HEAPF64[i13 + 48 >> 3]; - d24 = +HEAPF64[i14 >> 3]; - d34 = (+HEAPF64[i12 + 24 >> 3] - d31 * d28) / d24; - i17 = i16 + 8 | 0; - d27 = +HEAPF64[i13 + 16 >> 3]; - d26 = +HEAPF64[i13 + 8 >> 3]; - d25 = +HEAPF64[i13 >> 3]; - d37 = (+HEAPF64[i12 >> 3] - d31 * d27 - d34 * d26) / d25; - d32 = +HEAPF64[i12 + 56 >> 3]; - i19 = i16 + 40 | 0; - d35 = (+HEAPF64[i12 + 32 >> 3] - d28 * d32) / d24; - i21 = i16 + 32 | 0; - d33 = (+HEAPF64[i12 + 8 >> 3] - d27 * d32 - d26 * d35) / d25; - i22 = i16 + 24 | 0; - d24 = (+HEAPF64[i12 + 40 >> 3] - d28) / d24; - d28 = +HEAPF64[i12 + 16 >> 3]; - _arMatrixFree(i10) | 0; - _arMatrixFree(i7) | 0; - _arMatrixFree(i4) | 0; - _arMatrixFree(i3) | 0; - _arMatrixFree(i2) | 0; - _arMatrixFree(i1) | 0; - d36 = +Math_sqrt(+(d31 * d31 + (d34 * d34 + d37 * d37))); - d23 = +Math_sqrt(+(d32 * d32 + (d35 * d35 + d33 * d33))); - HEAPF64[i16 >> 3] = d37 / d36; - HEAPF64[i17 >> 3] = d34 / d36; - HEAPF64[i20 >> 3] = d31 / d36; - HEAPF64[i22 >> 3] = d33 / d23; - HEAPF64[i21 >> 3] = d35 / d23; - HEAPF64[i19 >> 3] = d32 / d23; - d23 = (d36 + d23) * .5; - _check_rotation(i16); - d36 = +HEAPF64[i17 >> 3]; - d32 = +HEAPF64[i19 >> 3]; - d35 = +HEAPF64[i20 >> 3]; - d33 = +HEAPF64[i21 >> 3]; - d31 = d36 * d32 - d35 * d33; - d34 = +HEAPF64[i22 >> 3]; - d37 = +HEAPF64[i16 >> 3]; - d30 = d35 * d34 - d32 * d37; - d38 = d33 * d37 - d36 * d34; - d29 = +Math_sqrt(+(d38 * d38 + (d31 * d31 + d30 * d30))); - d31 = d31 / d29; - HEAPF64[i16 + 48 >> 3] = d31; - d30 = d30 / d29; - HEAPF64[i16 + 56 >> 3] = d30; - d29 = d38 / d29; - HEAPF64[i16 + 64 >> 3] = d29; - HEAPF64[i15 >> 3] = d37; - HEAPF64[i15 + 32 >> 3] = d36; - HEAPF64[i15 + 64 >> 3] = d35; - HEAPF64[i15 + 8 >> 3] = d34; - HEAPF64[i15 + 40 >> 3] = d33; - HEAPF64[i15 + 72 >> 3] = d32; - HEAPF64[i15 + 16 >> 3] = d31; - HEAPF64[i15 + 48 >> 3] = d30; - HEAPF64[i15 + 80 >> 3] = d29; - HEAPF64[i15 + 24 >> 3] = (d28 - d27 - d26 * d24) / d25 / d23; - HEAPF64[i15 + 56 >> 3] = d24 / d23; - HEAPF64[i15 + 88 >> 3] = 1.0 / d23; - i1 = 0; - break; + if (($0 | 0) != ($16 | 0)) { + $6 = $2; + $9 = $21; + $21 = __wasm_i64_mul($1, $6, HEAPU8[$0 + $3 | 0], 0) + $21 | 0; + $6 = i64toi32_i32$HIGH_BITS; + $13 = $6 + $25 | 0; + $13 = $9 >>> 0 > $21 >>> 0 ? $13 + 1 | 0 : $13; + $25 = $13; + HEAP32[$4 >> 2] = $21; + HEAP32[$4 + 4 >> 2] = $13; + $0 = $0 + 1 | 0; + $6 = $1; + $1 = $6 << 1; + $13 = $2; + $2 = $13 << 1 | $6 >>> 31; + continue; } - } else i1 = -1; - } else i1 = -1; while (0); - STACKTOP = i18; - return i1 | 0; -} - -function __ZN6vision25DoGScaleInvariantDetector21findSubpixelLocationsEPKNS_25GaussianScaleSpacePyramidE(i1, i16) { - i1 = i1 | 0; - i16 = i16 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0, d35 = 0.0, d36 = 0.0; - i32 = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - i31 = i32 + 68 | 0; - i24 = i32; - i25 = i32 + 56 | 0; - i26 = i32 + 44 | 0; - i27 = i32 + 40 | 0; - i28 = i32 + 36 | 0; - d17 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i1 + 52 >> 2]); - i30 = i1 + 56 | 0; - d20 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i30 >> 2] + 1.0); - d20 = d20 / +HEAPF32[i30 >> 2]; - i30 = i1 + 60 | 0; - i21 = i1 + 64 | 0; - i22 = i1 + 32 | 0; - i23 = i26 + 4 | 0; - i12 = i1 + 88 | 0; - i13 = i25 + 4 | 0; - i14 = i25 + 8 | 0; - i15 = i26 + 8 | 0; - i10 = 0; - i11 = 0; - while (1) { - i9 = HEAP32[i30 >> 2] | 0; - i6 = i9; - if (i11 >>> 0 >= (((HEAP32[i21 >> 2] | 0) - i9 | 0) / 36 | 0) >>> 0) { - i1 = 3; break; } - i2 = i6 + (i11 * 36 | 0) | 0; - i1 = i6 + (i11 * 36 | 0) + 16 | 0; - i9 = HEAP32[i1 >> 2] | 0; - if ((i9 | 0) >= (__ZNK6vision10DoGPyramid17numScalePerOctaveEv(i22) | 0)) { - i1 = 5; - break; + $1 = 0; + if (!$22) { + break label$1; } - i7 = i6 + (i11 * 36 | 0) + 12 | 0; - i9 = HEAP32[i7 >> 2] | 0; - i9 = Math_imul(__ZNK6vision10DoGPyramid17numScalePerOctaveEv(i22) | 0, i9) | 0; - i9 = i9 + (HEAP32[i1 >> 2] | 0) | 0; - i8 = i6 + (i11 * 36 | 0) + 4 | 0; - __ZN6vision25bilinear_downsample_pointERfS0_ffi(i27, i28, +HEAPF32[i2 >> 2], +HEAPF32[i8 >> 2], HEAP32[i7 >> 2] | 0); - i3 = ~~(+HEAPF32[i27 >> 2] + .5); - i4 = ~~(+HEAPF32[i28 >> 2] + .5); - i34 = __ZNK6vision10DoGPyramid6imagesEv(i22) | 0; - i34 = (HEAP32[i34 >> 2] | 0) + (i9 + -1 << 5) | 0; - i5 = __ZNK6vision10DoGPyramid6imagesEv(i22) | 0; - i5 = (HEAP32[i5 >> 2] | 0) + (i9 << 5) | 0; - i33 = __ZNK6vision10DoGPyramid6imagesEv(i22) | 0; - if (((__ZN6vision22ComputeSubpixelHessianEPfS0_RKNS_5ImageES3_S3_ii(i24, i25, i34, i5, (HEAP32[i33 >> 2] | 0) + (i9 + 1 << 5) | 0, i3, i4) | 0 ? __ZN6vision29SolveSymmetricLinearSystem3x3IfEEbPT_PKS1_S4_(i26, i24, i25) | 0 : 0) ? (d35 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i26 >> 2]), d35 = d35 + +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i23 >> 2]), !(d35 > +HEAPF32[i12 >> 2])) : 0) ? (i29 = i6 + (i11 * 36 | 0) + 32 | 0, __ZN6vision16ComputeEdgeScoreERfPKf(i29, i24) | 0) : 0) { - i9 = i6 + (i11 * 36 | 0) + 24 | 0; - d35 = +HEAPF32[i9 >> 2]; - i34 = (__ZNK6vision5Image3getIfEEPKT_m(i5, i4) | 0) + (i3 << 2) | 0; - if (!(d35 == +HEAPF32[i34 >> 2])) { - i1 = 11; - break; - } - i34 = (__ZNK6vision5Image3getIfEEPKT_m(i5, i4) | 0) + (i3 << 2) | 0; - d36 = +HEAPF32[i26 >> 2]; - d35 = +HEAPF32[i23 >> 2]; - HEAPF32[i9 >> 2] = +HEAPF32[i34 >> 2] - (+HEAPF32[i25 >> 2] * d36 + +HEAPF32[i13 >> 2] * d35 + +HEAPF32[i14 >> 2] * +HEAPF32[i15 >> 2]); - __ZN6vision23bilinear_upsample_pointERfS0_ffi(i2, i8, d36 + +HEAPF32[i27 >> 2], d35 + +HEAPF32[i28 >> 2], HEAP32[i7 >> 2] | 0); - d35 = +HEAPF32[i15 >> 2] + +(HEAP32[i1 >> 2] | 0); - i1 = i6 + (i11 * 36 | 0) + 20 | 0; - HEAPF32[i1 >> 2] = d35; - d35 = +__ZN6vision10ClipScalarIfEET_S1_S1_S1_(d35, 0.0, +(__ZNK6vision10DoGPyramid17numScalePerOctaveEv(i22) | 0)); - HEAPF32[i1 >> 2] = d35; - if (((((+Math_abs(+(+HEAPF32[i29 >> 2])) < d20 ? +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i9 >> 2]) >= d17 : 0) ? (d18 = +HEAPF32[i2 >> 2], d18 >= 0.0) : 0) ? (i34 = __ZNK6vision10DoGPyramid6imagesEv(i22) | 0, d18 < +((__ZNK6vision5Image5widthEv(HEAP32[i34 >> 2] | 0) | 0) >>> 0)) : 0) ? (d19 = +HEAPF32[i8 >> 2], d19 >= 0.0) : 0) ? (i34 = __ZNK6vision10DoGPyramid6imagesEv(i22) | 0, d19 < +((__ZNK6vision5Image6heightEv(HEAP32[i34 >> 2] | 0) | 0) >>> 0)) : 0) { - d36 = +__ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf(i16, HEAP32[i7 >> 2] | 0, +HEAPF32[i1 >> 2]); - HEAPF32[i6 + (i11 * 36 | 0) + 28 >> 2] = d36; - i1 = i10 + 1 | 0; - i4 = (HEAP32[i30 >> 2] | 0) + (i10 * 36 | 0) | 0; - i3 = i4 + 36 | 0; - do { - HEAP32[i4 >> 2] = HEAP32[i2 >> 2]; - i4 = i4 + 4 | 0; - i2 = i2 + 4 | 0; - } while ((i4 | 0) < (i3 | 0)); - } else i1 = i10; - } else i1 = i10; - i10 = i1; - i11 = i11 + 1 | 0; - } - if ((i1 | 0) == 3) { - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE6resizeEm(i30, i10); - STACKTOP = i32; - return; - } else if ((i1 | 0) == 5) { - i34 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22164) | 0, 20520) | 0, 33528) | 0, 489) | 0, 33535) | 0, 22236) | 0; - __ZNKSt3__28ios_base6getlocEv(i31, i34 + (HEAP32[(HEAP32[i34 >> 2] | 0) + -12 >> 2] | 0) | 0); - i33 = __ZNKSt3__26locale9use_facetERNS0_2idE(i31, 57916) | 0; - i33 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i33 >> 2] | 0) + 28 >> 2] & 63](i33, 10) | 0; - __ZNSt3__26localeD2Ev(i31); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i34, i33) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i34) | 0; - _abort(); - } else if ((i1 | 0) == 11) { - i34 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22273) | 0, 20520) | 0, 33528) | 0, 526) | 0, 33535) | 0, 22330) | 0; - __ZNKSt3__28ios_base6getlocEv(i31, i34 + (HEAP32[(HEAP32[i34 >> 2] | 0) + -12 >> 2] | 0) | 0); - i33 = __ZNKSt3__26locale9use_facetERNS0_2idE(i31, 57916) | 0; - i33 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i33 >> 2] | 0) + 28 >> 2] & 63](i33, 10) | 0; - __ZNSt3__26localeD2Ev(i31); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i34, i33) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i34) | 0; - _abort(); - } -} - -function __ZN6vision14BinarykMedoidsILi96EE6assignEPKhiPKii(i9, i10, i11, i12, i13) { - i9 = i9 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0; - i18 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i14 = i18; - i15 = i9 + 4 | 0; - i1 = HEAP32[i15 >> 2] | 0; - i16 = i9 + 12 | 0; - i17 = i9 + 16 | 0; - if ((i1 | 0) != ((HEAP32[i17 >> 2] | 0) - (HEAP32[i16 >> 2] | 0) >> 2 | 0)) { - i8 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27722) | 0, 27767) | 0, 33528) | 0, 154) | 0, 33535) | 0, 27875) | 0; - __ZNKSt3__28ios_base6getlocEv(i14, i8 + (HEAP32[(HEAP32[i8 >> 2] | 0) + -12 >> 2] | 0) | 0); - i7 = __ZNKSt3__26locale9use_facetERNS0_2idE(i14, 57916) | 0; - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i7 >> 2] | 0) + 28 >> 2] & 63](i7, 10) | 0; - __ZNSt3__26localeD2Ev(i14); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i8, i7) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i8) | 0; - _abort(); - } - if ((i11 | 0) <= 0) { - i8 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27920) | 0, 27767) | 0, 33528) | 0, 155) | 0, 33535) | 0, 27960) | 0; - __ZNKSt3__28ios_base6getlocEv(i14, i8 + (HEAP32[(HEAP32[i8 >> 2] | 0) + -12 >> 2] | 0) | 0); - i7 = __ZNKSt3__26locale9use_facetERNS0_2idE(i14, 57916) | 0; - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i7 >> 2] | 0) + 28 >> 2] & 63](i7, 10) | 0; - __ZNSt3__26localeD2Ev(i14); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i8, i7) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i8) | 0; - _abort(); - } - if ((i13 | 0) > (i11 | 0)) { - i8 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27996) | 0, 27767) | 0, 33528) | 0, 156) | 0, 33535) | 0, 28047) | 0; - __ZNKSt3__28ios_base6getlocEv(i14, i8 + (HEAP32[(HEAP32[i8 >> 2] | 0) + -12 >> 2] | 0) | 0); - i7 = __ZNKSt3__26locale9use_facetERNS0_2idE(i14, 57916) | 0; - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i7 >> 2] | 0) + 28 >> 2] & 63](i7, 10) | 0; - __ZNSt3__26localeD2Ev(i14); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i8, i7) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i8) | 0; - _abort(); - } - if ((i1 | 0) > (i13 | 0)) { - i8 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 28074) | 0, 27767) | 0, 33528) | 0, 157) | 0, 33535) | 0, 28115) | 0; - __ZNKSt3__28ios_base6getlocEv(i14, i8 + (HEAP32[(HEAP32[i8 >> 2] | 0) + -12 >> 2] | 0) | 0); - i7 = __ZNKSt3__26locale9use_facetERNS0_2idE(i14, 57916) | 0; - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i7 >> 2] | 0) + 28 >> 2] & 63](i7, 10) | 0; - __ZNSt3__26localeD2Ev(i14); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i8, i7) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i8) | 0; - _abort(); - } - i4 = i9 + 24 | 0; - HEAP32[i14 >> 2] = -1; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEmRKi(i4, i13, i14); - i5 = i9 + 36 | 0; - HEAP32[i14 >> 2] = -1; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEmRKi(i5, i13, i14); - i6 = i9 + 48 | 0; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm(i6, i13); - i8 = HEAP32[i6 >> 2] | 0; - i7 = i9 + 52 | 0; - __ZN6vision16SequentialVectorIiEEvPT_iS1_(i8, (HEAP32[i7 >> 2] | 0) - i8 >> 2, 0); - i8 = i9 + 8 | 0; - i1 = -1; - i3 = 0; - while (1) { - if ((i3 | 0) >= (HEAP32[i8 >> 2] | 0)) break; - i2 = HEAP32[i6 >> 2] | 0; - __ZN6vision12ArrayShuffleIiEEvPT_iiRi(i2, (HEAP32[i7 >> 2] | 0) - i2 >> 2, HEAP32[i15 >> 2] | 0, HEAP32[i9 >> 2] | 0); - i2 = __ZN6vision14BinarykMedoidsILi96EE6assignERNSt3__26vectorIiNS2_9allocatorIiEEEEPKhiPKiiSB_i(i9, i5, i10, i11, i12, i13, HEAP32[i6 >> 2] | 0, HEAP32[i15 >> 2] | 0) | 0; - if (i2 >>> 0 < i1 >>> 0) { - __ZNSt3__26vectorIiNS_9allocatorIiEEE4swapERS3_(i4, i5); - __ZN6vision10CopyVectorIiEEvPT_PKS1_m(HEAP32[i16 >> 2] | 0, HEAP32[i6 >> 2] | 0, HEAP32[i15 >> 2] | 0); - i1 = i2; - } - i3 = i3 + 1 | 0; - } - if ((HEAP32[i15 >> 2] | 0) == ((HEAP32[i17 >> 2] | 0) - (HEAP32[i16 >> 2] | 0) >> 2 | 0)) { - STACKTOP = i18; - return; - } else { - i18 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27722) | 0, 27767) | 0, 33528) | 0, 187) | 0, 33535) | 0, 27875) | 0; - __ZNKSt3__28ios_base6getlocEv(i14, i18 + (HEAP32[(HEAP32[i18 >> 2] | 0) + -12 >> 2] | 0) | 0); - i17 = __ZNKSt3__26locale9use_facetERNS0_2idE(i14, 57916) | 0; - i17 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i17 >> 2] | 0) + 28 >> 2] & 63](i17, 10) | 0; - __ZNSt3__26localeD2Ev(i14); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i18, i17) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i18) | 0; - _abort(); - } -} - -function _decode_mcu(i11, i12) { - i11 = i11 | 0; - i12 = i12 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i14 = i24 + 16 | 0; - i20 = i24; - i23 = HEAP32[i11 + 444 >> 2] | 0; - if (((HEAP32[i11 + 276 >> 2] | 0) != 0 ? (HEAP32[i23 + 36 >> 2] | 0) == 0 : 0) ? (_process_restart(i11) | 0) == 0 : 0) i1 = 0; else i7 = 4; - L4 : do if ((i7 | 0) == 4) { - if (!(HEAP32[i23 + 8 >> 2] | 0)) { - HEAP32[i14 + 16 >> 2] = i11; - i13 = i11 + 24 | 0; - i16 = HEAP32[i13 >> 2] | 0; - HEAP32[i14 >> 2] = HEAP32[i16 >> 2]; - i15 = i14 + 4 | 0; - HEAP32[i15 >> 2] = HEAP32[i16 + 4 >> 2]; - i16 = i23 + 12 | 0; - i2 = HEAP32[i16 >> 2] | 0; - i17 = i23 + 16 | 0; - i1 = HEAP32[i17 >> 2] | 0; - i18 = i23 + 20 | 0; - HEAP32[i20 >> 2] = HEAP32[i18 >> 2]; - HEAP32[i20 + 4 >> 2] = HEAP32[i18 + 4 >> 2]; - HEAP32[i20 + 8 >> 2] = HEAP32[i18 + 8 >> 2]; - HEAP32[i20 + 12 >> 2] = HEAP32[i18 + 12 >> 2]; - i19 = i11 + 356 | 0; - i21 = i14 + 8 | 0; - i22 = i14 + 12 | 0; - i10 = 0; + $1 = HEAP32[($5 + 720 | 0) + ($7 << 2) >> 2]; + } + __stack_pointer = $5 + 3792 | 0; + return $1; +} + +function vision__DoGScaleInvariantDetector__findSubpixelLocations_28vision__GaussianScaleSpacePyramid_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = Math_fround(0), $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = Math_fround(0), $15 = Math_fround(0), $16 = Math_fround(0), $17 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $2 = __stack_pointer - 80 | 0; + __stack_pointer = $2; + $6 = $0 + 32 | 0; + $8 = $0 + 60 | 0; + $15 = float_20vision__sqr_float__28float_29(HEAPF32[$0 + 52 >> 2]); + $16 = Math_fround(float_20vision__sqr_float__28float_29(Math_fround(HEAPF32[$0 + 56 >> 2] + Math_fround(1))) / HEAPF32[$0 + 56 >> 2]); + label$1: { + label$2: { while (1) { - if ((i10 | 0) >= (HEAP32[i19 >> 2] | 0)) break; - i8 = HEAP32[i12 + (i10 << 2) >> 2] | 0; - i5 = HEAP32[i23 + 72 + (i10 << 2) >> 2] | 0; - i9 = HEAP32[i23 + 112 + (i10 << 2) >> 2] | 0; - if ((i1 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer(i14, i2, i1, 0) | 0)) { - i1 = 0; - break L4; - } - i2 = HEAP32[i21 >> 2] | 0; - i1 = HEAP32[i22 >> 2] | 0; - if ((i1 | 0) < 8) { - i3 = 1; - i7 = 12; - } else i7 = 10; - } else i7 = 10; - if ((i7 | 0) == 10) { - i7 = 0; - i3 = i2 >> i1 + -8 & 255; - i4 = HEAP32[i5 + 144 + (i3 << 2) >> 2] | 0; - if (!i4) { - i3 = 9; - i7 = 12; - } else { - i5 = HEAPU8[i5 + 1168 + i3 >> 0] | 0; - i1 = i1 - i4 | 0; - } - } - if ((i7 | 0) == 12) { - i1 = _jpeg_huff_decode(i14, i2, i1, i5, i3) | 0; - if ((i1 | 0) < 0) { - i1 = 0; - break L4; - } - i5 = i1; - i2 = HEAP32[i21 >> 2] | 0; - i1 = HEAP32[i22 >> 2] | 0; - } - if (i5) { - if ((i1 | 0) < (i5 | 0)) { - if (!(_jpeg_fill_bit_buffer(i14, i2, i1, i5) | 0)) { - i1 = 0; - break L4; - } - i2 = HEAP32[i21 >> 2] | 0; - i1 = HEAP32[i22 >> 2] | 0; - } - i1 = i1 - i5 | 0; - i3 = i2 >> i1 & (1 << i5) + -1; - if ((i3 | 0) < (HEAP32[2880 + (i5 << 2) >> 2] | 0)) i3 = (HEAP32[2944 + (i5 << 2) >> 2] | 0) + i3 | 0; - } else i3 = 0; - if (HEAP32[i23 + 152 + (i10 << 2) >> 2] | 0) { - i6 = i20 + (HEAP32[i11 + 360 + (i10 << 2) >> 2] << 2) | 0; - i7 = (HEAP32[i6 >> 2] | 0) + i3 | 0; - HEAP32[i6 >> 2] = i7; - HEAP16[i8 >> 1] = i7; - } - L32 : do if (!(HEAP32[i23 + 192 + (i10 << 2) >> 2] | 0)) { - i6 = 1; - while (1) { - if ((i6 | 0) >= 64) break L32; - if ((i1 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer(i14, i2, i1, 0) | 0)) { - i1 = 0; - break L4; - } - i2 = HEAP32[i21 >> 2] | 0; - i1 = HEAP32[i22 >> 2] | 0; - if ((i1 | 0) < 8) { - i3 = 1; - i7 = 49; - } else i7 = 47; - } else i7 = 47; - if ((i7 | 0) == 47) { - i7 = 0; - i3 = i2 >> i1 + -8 & 255; - i4 = HEAP32[i9 + 144 + (i3 << 2) >> 2] | 0; - if (!i4) { - i3 = 9; - i7 = 49; - } else { - i5 = HEAPU8[i9 + 1168 + i3 >> 0] | 0; - i1 = i1 - i4 | 0; - } + if (std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($8) >>> 0 > $10 >>> 0) { + $3 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($8, $10); + if (HEAP32[$3 + 16 >> 2] >= (vision__DoGPyramid__numScalePerOctave_28_29_20const($6) | 0)) { + break label$2; + } + $5 = HEAP32[$3 + 12 >> 2]; + $7 = vision__DoGPyramid__numScalePerOctave_28_29_20const($6); + $11 = HEAP32[$3 + 16 >> 2]; + vision__bilinear_downsample_point_28float__2c_20float__2c_20float_2c_20float_2c_20int_29($2 + 4 | 0, $2, HEAPF32[$3 >> 2], HEAPF32[$3 + 4 >> 2], HEAP32[$3 + 12 >> 2]); + $4 = Math_fround(HEAPF32[$2 >> 2] + Math_fround(.5)); + label$5: { + if (Math_fround(Math_abs($4)) < Math_fround(2147483648)) { + $9 = ~~$4; + break label$5; } - if ((i7 | 0) == 49) { - i1 = _jpeg_huff_decode(i14, i2, i1, i9, i3) | 0; - if ((i1 | 0) < 0) { - i1 = 0; - break L4; - } - i5 = i1; - i2 = HEAP32[i21 >> 2] | 0; - i1 = HEAP32[i22 >> 2] | 0; + $9 = -2147483648; + } + $4 = Math_fround(HEAPF32[$2 + 4 >> 2] + Math_fround(.5)); + label$7: { + if (Math_fround(Math_abs($4)) < Math_fround(2147483648)) { + $12 = ~~$4; + break label$7; } - i3 = i5 >>> 4; - i4 = i5 & 15; - if (!i4) if ((i3 | 0) == 15) i3 = 15; else break L32; else { - if ((i1 | 0) < (i4 | 0)) { - if (!(_jpeg_fill_bit_buffer(i14, i2, i1, i4) | 0)) { - i1 = 0; - break L4; - } - i2 = HEAP32[i21 >> 2] | 0; - i1 = HEAP32[i22 >> 2] | 0; - } - i1 = i1 - i4 | 0; + $12 = -2147483648; + } + $5 = Math_imul($5, $7) + $11 | 0; + $11 = std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__DoGPyramid__images_28_29_20const($6), $5 - 1 | 0); + $7 = std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__DoGPyramid__images_28_29_20const($6), $5); + label$9: { + if (!vision__ComputeSubpixelHessian_28float__2c_20float__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20int_2c_20int_29($2 + 32 | 0, $2 + 20 | 0, $11, $7, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__DoGPyramid__images_28_29_20const($6), $5 + 1 | 0), $12, $9)) { + break label$9; } - i6 = i6 + 1 + i3 | 0; - } - } else { - i6 = 1; - while (1) { - if ((i6 | 0) >= 64) break L32; - if ((i1 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer(i14, i2, i1, 0) | 0)) { - i1 = 0; - break L4; - } - i2 = HEAP32[i21 >> 2] | 0; - i1 = HEAP32[i22 >> 2] | 0; - if ((i1 | 0) < 8) { - i3 = 1; - i7 = 31; - } else i7 = 29; - } else i7 = 29; - if ((i7 | 0) == 29) { - i7 = 0; - i4 = i2 >> i1 + -8 & 255; - i3 = HEAP32[i9 + 144 + (i4 << 2) >> 2] | 0; - if (!i3) { - i3 = 9; - i7 = 31; - } else { - i1 = i1 - i3 | 0; - i3 = HEAPU8[i9 + 1168 + i4 >> 0] | 0; - } + if (!bool_20vision__SolveSymmetricLinearSystem3x3_float__28float__2c_20float_20const__2c_20float_20const__29($2 + 8 | 0, $2 + 32 | 0, $2 + 20 | 0)) { + break label$9; } - if ((i7 | 0) == 31) { - i3 = _jpeg_huff_decode(i14, i2, i1, i9, i3) | 0; - if ((i3 | 0) < 0) { - i1 = 0; - break L4; - } - i2 = HEAP32[i21 >> 2] | 0; - i1 = HEAP32[i22 >> 2] | 0; + if (Math_fround(float_20vision__sqr_float__28float_29(HEAPF32[$2 + 8 >> 2]) + float_20vision__sqr_float__28float_29(HEAPF32[$2 + 12 >> 2])) > HEAPF32[$0 + 88 >> 2]) { + break label$9; } - i4 = i3 >>> 4; - i5 = i3 & 15; - if (!i5) { - if ((i4 | 0) != 15) break L32; - i3 = i6 + 15 | 0; - } else { - i4 = i4 + i6 | 0; - if ((i1 | 0) < (i5 | 0)) { - if (!(_jpeg_fill_bit_buffer(i14, i2, i1, i5) | 0)) { - i1 = 0; - break L4; - } - i2 = HEAP32[i21 >> 2] | 0; - i1 = HEAP32[i22 >> 2] | 0; - } - i1 = i1 - i5 | 0; - i3 = i2 >> i1 & (1 << i5) + -1; - if ((i3 | 0) < (HEAP32[2880 + (i5 << 2) >> 2] | 0)) i3 = (HEAP32[2944 + (i5 << 2) >> 2] | 0) + i3 | 0; - HEAP16[i8 + (HEAP32[2560 + (i4 << 2) >> 2] << 1) >> 1] = i3; - i3 = i4; - } - i6 = i3 + 1 | 0; - } - } while (0); - i10 = i10 + 1 | 0; - } - i22 = HEAP32[i13 >> 2] | 0; - HEAP32[i22 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i22 + 4 >> 2] = HEAP32[i15 >> 2]; - HEAP32[i16 >> 2] = i2; - HEAP32[i17 >> 2] = i1; - HEAP32[i18 >> 2] = HEAP32[i20 >> 2]; - HEAP32[i18 + 4 >> 2] = HEAP32[i20 + 4 >> 2]; - HEAP32[i18 + 8 >> 2] = HEAP32[i20 + 8 >> 2]; - HEAP32[i18 + 12 >> 2] = HEAP32[i20 + 12 >> 2]; - } - i1 = i23 + 36 | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + -1; - i1 = 1; - } while (0); - STACKTOP = i24; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_123parse_binary_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i1, i2, i13, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i13 = i13 | 0; - i4 = i4 | 0; - var i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i14 = 0, i15 = 0, i16 = 0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - i9 = i16 + 84 | 0; - i14 = i16 + 72 | 0; - i15 = i16 + 60 | 0; - i10 = i16 + 48 | 0; - i11 = i16 + 36 | 0; - i12 = i16 + 24 | 0; - i6 = i16 + 12 | 0; - i7 = i16; - i3 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i4) | 0; - do if ((i3 | 0) != (i1 | 0)) { - i8 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i3, i2, i4) | 0; - i5 = i4 + 4 | 0; - if ((i8 | 0) == (i3 | 0)) { - i3 = HEAP32[i5 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i15 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i15 * 24 | 0) | 0); - i2 = i15; + if (!vision__ComputeEdgeScore_28float__2c_20float_20const__29($3 + 32 | 0, $2 + 32 | 0)) { + break label$9; + } + $5 = $12 << 2; + if (HEAPF32[$3 + 24 >> 2] != HEAPF32[float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($7, $9) + $5 >> 2]) { + break label$1; + } + $17 = HEAPF32[float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($7, $9) + $5 >> 2]; + $4 = HEAPF32[$2 + 8 >> 2]; + $14 = HEAPF32[$2 + 12 >> 2]; + HEAPF32[$3 + 24 >> 2] = $17 - Math_fround(Math_fround(HEAPF32[$2 + 28 >> 2] * HEAPF32[$2 + 16 >> 2]) + Math_fround(Math_fround(HEAPF32[$2 + 20 >> 2] * $4) + Math_fround(HEAPF32[$2 + 24 >> 2] * $14))); + $5 = $3 + 4 | 0; + vision__bilinear_upsample_point_28float__2c_20float__2c_20float_2c_20float_2c_20int_29($3, $5, Math_fround($4 + HEAPF32[$2 + 4 >> 2]), Math_fround($14 + HEAPF32[$2 >> 2]), HEAP32[$3 + 12 >> 2]); + $4 = Math_fround(HEAPF32[$2 + 16 >> 2] + Math_fround(HEAP32[$3 + 16 >> 2])); + HEAPF32[$3 + 20 >> 2] = $4; + wasm2js_i32$0 = $3, wasm2js_f32$0 = float_20vision__ClipScalar_float__28float_2c_20float_2c_20float_29($4, Math_fround(0), Math_fround(vision__DoGPyramid__numScalePerOctave_28_29_20const($6) | 0)), + HEAPF32[wasm2js_i32$0 + 20 >> 2] = wasm2js_f32$0; + if (!(abs_28float_29(HEAPF32[$3 + 32 >> 2]) < $16)) { + break label$9; + } + if (!(float_20vision__sqr_float__28float_29(HEAPF32[$3 + 24 >> 2]) >= $15)) { + break label$9; + } + $4 = HEAPF32[$3 >> 2]; + if (!($4 >= Math_fround(0))) { + break label$9; + } + if (!(Math_fround(vision__Image__width_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__DoGPyramid__images_28_29_20const($6), 0)) >>> 0) > $4)) { + break label$9; + } + $4 = HEAPF32[$3 + 4 >> 2]; + if (!($4 >= Math_fround(0))) { + break label$9; + } + if (!(Math_fround(vision__Image__height_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__DoGPyramid__images_28_29_20const($6), 0)) >>> 0) > $4)) { + break label$9; + } + wasm2js_i32$0 = $3, wasm2js_f32$0 = vision__GaussianScaleSpacePyramid__effectiveSigma_28unsigned_20long_2c_20float_29_20const($1, HEAP32[$3 + 12 >> 2], HEAPF32[$3 + 20 >> 2]), + HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; + wasm2js_memory_copy(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($8, $13), $3, 36); + $13 = $13 + 1 | 0; + } + $10 = $10 + 1 | 0; + continue; + } + break; } - HEAP32[i5 >> 2] = i3 + -24; - break; + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____resize_28unsigned_20long_29($8, $13); + __stack_pointer = $2 + 80 | 0; + return; } - i2 = HEAP32[i5 >> 2] | 0; - if (((i2 - (HEAP32[i4 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i14, i2 + -24 | 0); - i2 = HEAP32[i5 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i4 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i4 * 24 | 0) | 0); - i1 = i4; - } - HEAP32[i5 >> 2] = i2 + -24; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i15, i2 + -48 | 0); - i1 = HEAP32[i5 >> 2] | 0; - i4 = i1 + -24 | 0; - i2 = i4 + 11 | 0; - if ((HEAP8[i2 >> 0] | 0) < 0) { - i5 = HEAP32[i4 >> 2] | 0; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5, i9); - HEAP32[i1 + -20 >> 2] = 0; - } else { - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i4, i9); - HEAP8[i2 >> 0] = 0; - } - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(49705) | 0; - i2 = i13 + 11 | 0; - i5 = HEAP8[i2 >> 0] | 0; - i3 = i13 + 4 | 0; - if ((i1 | 0) == ((i5 << 24 >> 24 < 0 ? HEAP32[i3 >> 2] | 0 : i5 & 255) | 0) ? (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i13, 49705, i1) | 0) == 0 : 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9push_backEc(i4, 40); - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i7, 49669, i15); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i7, 49955) | 0; - HEAP32[i6 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i6 + 4 >> 2] = HEAP32[i7 + 4 >> 2]; - HEAP32[i6 + 8 >> 2] = HEAP32[i7 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i7 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i2 >> 0] | 0; - i5 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i6, i5 ? HEAP32[i13 >> 2] | 0 : i13, i5 ? HEAP32[i3 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i12 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i12 + 4 >> 2] = HEAP32[i6 + 4 >> 2]; - HEAP32[i12 + 8 >> 2] = HEAP32[i6 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i6 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i12, 49664) | 0; - HEAP32[i11 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i14 + 11 >> 0] | 0; - i5 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i11, i5 ? HEAP32[i14 >> 2] | 0 : i14, i5 ? HEAP32[i14 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i10, 49667) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i9 + 11 >> 0] | 0; - i5 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i4, i5 ? HEAP32[i9 >> 2] | 0 : i9, i5 ? HEAP32[i9 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i7); - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(49705) | 0; - i12 = HEAP8[i2 >> 0] | 0; - if ((i1 | 0) == ((i12 << 24 >> 24 < 0 ? HEAP32[i3 >> 2] | 0 : i12 & 255) | 0) ? (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i13, 49705, i1) | 0) == 0 : 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9push_backEc(i4, 41); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i15); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - i1 = i8; - } - } while (0); - STACKTOP = i16; - return i1 | 0; -} - -function __ZN6vision18binomial_4th_orderEPfPtPKhmm(i12, i11, i10, i14, i13) { - i12 = i12 | 0; - i11 = i11 | 0; - i10 = i10 | 0; - i14 = i14 | 0; - i13 = i13 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i15; - if (i14 >>> 0 <= 4) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 25035) | 0, 25069) | 0, 33528) | 0, 55) | 0, 33535) | 0, 25200) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i8 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 63](i8, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i8) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - if (i13 >>> 0 <= 4) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 25219) | 0, 25069) | 0, 33528) | 0, 56) | 0, 33535) | 0, 25200) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i8 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 63](i8, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i8) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - i5 = i14 + -1 | 0; - i6 = i14 + -2 | 0; - i7 = i14 + -3 | 0; - i8 = i14 + -4 | 0; - i2 = i11; - i3 = 0; - while (1) { - if ((i3 | 0) == (i13 | 0)) break; - i9 = i10 + (Math_imul(i3, i14) | 0) | 0; - i1 = HEAPU8[i9 >> 0] | 0; - i16 = i9 + 1 | 0; - i4 = i9 + 2 | 0; - HEAP16[i2 >> 1] = (i1 * 7 | 0) + (HEAPU8[i4 >> 0] | 0) + ((HEAPU8[i16 >> 0] | 0) + i1 << 2); - i1 = HEAPU8[i9 >> 0] | 0; - HEAP16[i2 + 2 >> 1] = ((HEAPU8[i16 >> 0] | 0) * 6 | 0) + i1 + (HEAPU8[i9 + 3 >> 0] | 0) + ((HEAPU8[i4 >> 0] | 0) + i1 << 2); - i1 = 2; - i4 = i2 + 4 | 0; - while (1) { - if ((i1 | 0) == (i6 | 0)) break; - i16 = i1 + 1 | 0; - HEAP16[i4 >> 1] = ((HEAPU8[i9 + i1 >> 0] | 0) * 6 | 0) + (HEAPU8[i9 + (i1 + -2) >> 0] | 0) + ((HEAPU8[i9 + i16 >> 0] | 0) + (HEAPU8[i9 + (i1 + -1) >> 0] | 0) << 2) + (HEAPU8[i9 + (i1 + 2) >> 0] | 0); - i1 = i16; - i4 = i4 + 2 | 0; - } - i16 = i2 + (i6 << 1) | 0; - i4 = i9 + i6 | 0; - i1 = i9 + i7 | 0; - i17 = i9 + i5 | 0; - i18 = HEAPU8[i17 >> 0] | 0; - HEAP16[i16 >> 1] = ((HEAPU8[i4 >> 0] | 0) * 6 | 0) + i18 + (HEAPU8[i9 + i8 >> 0] | 0) + (i18 + (HEAPU8[i1 >> 0] | 0) << 2); - i9 = HEAPU8[i17 >> 0] | 0; - HEAP16[i16 + 2 >> 1] = (i9 * 7 | 0) + (HEAPU8[i1 >> 0] | 0) + ((HEAPU8[i4 >> 0] | 0) + i9 << 2); - i2 = i2 + (i14 << 1) | 0; - i3 = i3 + 1 | 0; - } - i9 = i13 + -2 | 0; - i1 = i11 + (i14 << 1) | 0; - i7 = i1 + (i14 << 1) | 0; - i2 = 0; - i3 = i7; - i4 = i1; - i5 = i11; - i6 = i12; - while (1) { - if ((i2 | 0) == (i14 | 0)) break; - i18 = HEAPU16[i5 >> 1] | 0; - HEAPF32[i6 >> 2] = +((i18 * 7 | 0) + ((HEAPU16[i4 >> 1] | 0) + i18 << 2) + (HEAPU16[i3 >> 1] | 0) | 0) * .00390625; - i2 = i2 + 1 | 0; - i3 = i3 + 2 | 0; - i4 = i4 + 2 | 0; - i5 = i5 + 2 | 0; - i6 = i6 + 4 | 0; - } - i5 = 0; - i6 = i7 + (i14 << 1) | 0; - i4 = i7; - i2 = i11; - i3 = i12 + (i14 << 2) | 0; - while (1) { - if ((i5 | 0) == (i14 | 0)) break; - i18 = HEAPU16[i2 >> 1] | 0; - HEAPF32[i3 >> 2] = +(((HEAPU16[i1 >> 1] | 0) * 6 | 0) + i18 + ((HEAPU16[i4 >> 1] | 0) + i18 << 2) + (HEAPU16[i6 >> 1] | 0) | 0) * .00390625; - i5 = i5 + 1 | 0; - i6 = i6 + 2 | 0; - i4 = i4 + 2 | 0; - i1 = i1 + 2 | 0; - i2 = i2 + 2 | 0; - i3 = i3 + 4 | 0; - } - i2 = 2; - while (1) { - if ((i2 | 0) == (i9 | 0)) break; - i7 = i11 + ((Math_imul(i2 + -2 | 0, i14) | 0) << 1) | 0; - i6 = i7 + (i14 << 1) | 0; - i5 = i6 + (i14 << 1) | 0; - i4 = i5 + (i14 << 1) | 0; - i1 = 0; - i3 = i4 + (i14 << 1) | 0; - i8 = i12 + ((Math_imul(i2, i14) | 0) << 2) | 0; - while (1) { - if ((i1 | 0) == (i14 | 0)) break; - HEAPF32[i8 >> 2] = +(((HEAPU16[i5 >> 1] | 0) * 6 | 0) + (HEAPU16[i7 >> 1] | 0) + ((HEAPU16[i4 >> 1] | 0) + (HEAPU16[i6 >> 1] | 0) << 2) + (HEAPU16[i3 >> 1] | 0) | 0) * .00390625; - i1 = i1 + 1 | 0; - i3 = i3 + 2 | 0; - i4 = i4 + 2 | 0; - i5 = i5 + 2 | 0; - i6 = i6 + 2 | 0; - i7 = i7 + 2 | 0; - i8 = i8 + 4 | 0; - } - i2 = i2 + 1 | 0; - } - i6 = i11 + ((Math_imul(i13 + -4 | 0, i14) | 0) << 1) | 0; - i5 = i6 + (i14 << 1) | 0; - i4 = i5 + (i14 << 1) | 0; - i2 = 0; - i3 = i4 + (i14 << 1) | 0; - i1 = i12 + ((Math_imul(i9, i14) | 0) << 2) | 0; - while (1) { - if ((i2 | 0) == (i14 | 0)) break; - i18 = HEAPU16[i3 >> 1] | 0; - HEAPF32[i1 >> 2] = +(((HEAPU16[i4 >> 1] | 0) * 6 | 0) + (HEAPU16[i6 >> 1] | 0) + (i18 + (HEAPU16[i5 >> 1] | 0) << 2) + i18 | 0) * .00390625; - i2 = i2 + 1 | 0; - i3 = i3 + 2 | 0; - i4 = i4 + 2 | 0; - i5 = i5 + 2 | 0; - i6 = i6 + 2 | 0; - i1 = i1 + 4 | 0; - } - i5 = i11 + ((Math_imul(i13 + -3 | 0, i14) | 0) << 1) | 0; - i4 = i5 + (i14 << 1) | 0; - i2 = 0; - i3 = i4 + (i14 << 1) | 0; - i1 = i12 + ((Math_imul(i13 + -1 | 0, i14) | 0) << 2) | 0; - while (1) { - if ((i2 | 0) == (i14 | 0)) break; - i18 = HEAPU16[i3 >> 1] | 0; - HEAPF32[i1 >> 2] = +((i18 * 6 | 0) + (HEAPU16[i5 >> 1] | 0) + (i18 + (HEAPU16[i4 >> 1] | 0) << 2) + i18 | 0) * .00390625; - i2 = i2 + 1 | 0; - i3 = i3 + 2 | 0; - i4 = i4 + 2 | 0; - i5 = i5 + 2 | 0; - i1 = i1 + 4 | 0; - } - STACKTOP = i15; - return; -} - -function __ZN6vision18binomial_4th_orderEPfS0_PKfmm(i12, i11, i10, i14, i13) { - i12 = i12 | 0; - i11 = i11 | 0; - i10 = i10 | 0; - i14 = i14 | 0; - i13 = i13 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i15 = 0, d16 = 0.0, i17 = 0, i18 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i15; - if (i14 >>> 0 <= 4) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 25035) | 0, 25069) | 0, 33528) | 0, 168) | 0, 33535) | 0, 25200) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i8 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 63](i8, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i8) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - if (i13 >>> 0 <= 4) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 25219) | 0, 25069) | 0, 33528) | 0, 169) | 0, 33535) | 0, 25200) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i8 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 63](i8, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i8) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - i5 = i14 + -1 | 0; - i6 = i14 + -2 | 0; - i7 = i14 + -3 | 0; - i8 = i14 + -4 | 0; - i2 = i11; - i3 = 0; - while (1) { - if ((i3 | 0) == (i13 | 0)) break; - i9 = i10 + ((Math_imul(i3, i14) | 0) << 2) | 0; - d16 = +HEAPF32[i9 >> 2]; - i4 = i9 + 4 | 0; - i1 = i9 + 8 | 0; - HEAPF32[i2 >> 2] = +HEAPF32[i1 >> 2] + (d16 + (d16 * 6.0 + (d16 + +HEAPF32[i4 >> 2]) * 4.0)); - d16 = +HEAPF32[i9 >> 2]; - HEAPF32[i2 + 4 >> 2] = +HEAPF32[i9 + 12 >> 2] + (d16 + (+HEAPF32[i4 >> 2] * 6.0 + (d16 + +HEAPF32[i1 >> 2]) * 4.0)); - i1 = 2; - i4 = i2 + 8 | 0; - while (1) { - if ((i1 | 0) == (i6 | 0)) break; - i17 = i1 + 1 | 0; - HEAPF32[i4 >> 2] = +HEAPF32[i9 + (i1 + 2 << 2) >> 2] + (+HEAPF32[i9 + (i1 + -2 << 2) >> 2] + (+HEAPF32[i9 + (i1 << 2) >> 2] * 6.0 + (+HEAPF32[i9 + (i1 + -1 << 2) >> 2] + +HEAPF32[i9 + (i17 << 2) >> 2]) * 4.0)); - i1 = i17; - i4 = i4 + 4 | 0; - } - i17 = i2 + (i6 << 2) | 0; - i4 = i9 + (i6 << 2) | 0; - i1 = i9 + (i7 << 2) | 0; - i18 = i9 + (i5 << 2) | 0; - d16 = +HEAPF32[i18 >> 2]; - HEAPF32[i17 >> 2] = d16 + (+HEAPF32[i9 + (i8 << 2) >> 2] + (+HEAPF32[i4 >> 2] * 6.0 + (+HEAPF32[i1 >> 2] + d16) * 4.0)); - d16 = +HEAPF32[i18 >> 2]; - HEAPF32[i17 + 4 >> 2] = d16 + (+HEAPF32[i1 >> 2] + (d16 * 6.0 + (d16 + +HEAPF32[i4 >> 2]) * 4.0)); - i2 = i2 + (i14 << 2) | 0; - i3 = i3 + 1 | 0; - } - i9 = i13 + -2 | 0; - i1 = i11 + (i14 << 2) | 0; - i7 = i1 + (i14 << 2) | 0; - i2 = 0; - i3 = i7; - i4 = i1; - i5 = i11; - i6 = i12; - while (1) { - if ((i2 | 0) == (i14 | 0)) break; - d16 = +HEAPF32[i5 >> 2]; - HEAPF32[i6 >> 2] = (+HEAPF32[i3 >> 2] + (d16 + (d16 * 6.0 + (d16 + +HEAPF32[i4 >> 2]) * 4.0))) * .00390625; - i2 = i2 + 1 | 0; - i3 = i3 + 4 | 0; - i4 = i4 + 4 | 0; - i5 = i5 + 4 | 0; - i6 = i6 + 4 | 0; - } - i5 = 0; - i6 = i7 + (i14 << 2) | 0; - i4 = i7; - i2 = i11; - i3 = i12 + (i14 << 2) | 0; - while (1) { - if ((i5 | 0) == (i14 | 0)) break; - d16 = +HEAPF32[i2 >> 2]; - HEAPF32[i3 >> 2] = (+HEAPF32[i6 >> 2] + (d16 + (+HEAPF32[i1 >> 2] * 6.0 + (d16 + +HEAPF32[i4 >> 2]) * 4.0))) * .00390625; - i5 = i5 + 1 | 0; - i6 = i6 + 4 | 0; - i4 = i4 + 4 | 0; - i1 = i1 + 4 | 0; - i2 = i2 + 4 | 0; - i3 = i3 + 4 | 0; - } - i2 = 2; - while (1) { - if ((i2 | 0) == (i9 | 0)) break; - i7 = i11 + ((Math_imul(i2 + -2 | 0, i14) | 0) << 2) | 0; - i6 = i7 + (i14 << 2) | 0; - i5 = i6 + (i14 << 2) | 0; - i4 = i5 + (i14 << 2) | 0; - i1 = 0; - i3 = i4 + (i14 << 2) | 0; - i8 = i12 + ((Math_imul(i2, i14) | 0) << 2) | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 21609), 2098), 3289), 489), 3786), 21725), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 21827), 2098), 3289), 526), 3786), 21884), 16); + abort(); + abort(); +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________append_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + if ((HEAP32[std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] | 0) / 12 >>> 0 >= $1 >>> 0) { + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________construct_at_end_28unsigned_20long_29($0, $1); + break label$1; + } + $2 = std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________alloc_28_29($0); + $2 = std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($3 + 8 | 0, std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________recommend_28unsigned_20long_29_20const($0, std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________size_28_29_20const($0) + $1 | 0), std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________size_28_29_20const($0), $2); + std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________construct_at_end_28unsigned_20long_29($2, $1); + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________swap_out_circular_buffer_28std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________29($0, $2); + std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____________split_buffer_28_29($2); + } + __stack_pointer = $3 + 32 | 0; +} + +function ar2Tracking($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = Math_fround(0), $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0; + $14 = __stack_pointer - 48 | 0; + __stack_pointer = $14; + $5 = -1; + label$1: { + if (!$4 | (!$0 | !$1 | (!$2 | !$3))) { + break label$1; + } + if (HEAP32[$1 + 152 >> 2] <= 0) { + $5 = -2; + break label$1; + } + $5 = 0; + HEAP32[$4 >> 2] = 0; + $10 = $1 + 104 | 0; + $9 = $1 + 56 | 0; + $15 = $1 + 8 | 0; while (1) { - if ((i1 | 0) == (i14 | 0)) break; - HEAPF32[i8 >> 2] = (+HEAPF32[i3 >> 2] + (+HEAPF32[i7 >> 2] + (+HEAPF32[i5 >> 2] * 6.0 + (+HEAPF32[i6 >> 2] + +HEAPF32[i4 >> 2]) * 4.0))) * .00390625; - i1 = i1 + 1 | 0; - i3 = i3 + 4 | 0; - i4 = i4 + 4 | 0; - i5 = i5 + 4 | 0; - i6 = i6 + 4 | 0; - i7 = i7 + 4 | 0; - i8 = i8 + 4 | 0; - } - i2 = i2 + 1 | 0; - } - i6 = i11 + ((Math_imul(i13 + -4 | 0, i14) | 0) << 2) | 0; - i5 = i6 + (i14 << 2) | 0; - i4 = i5 + (i14 << 2) | 0; - i2 = 0; - i3 = i4 + (i14 << 2) | 0; - i1 = i12 + ((Math_imul(i9, i14) | 0) << 2) | 0; - while (1) { - if ((i2 | 0) == (i14 | 0)) break; - d16 = +HEAPF32[i3 >> 2]; - HEAPF32[i1 >> 2] = (d16 + (+HEAPF32[i6 >> 2] + (+HEAPF32[i4 >> 2] * 6.0 + (+HEAPF32[i5 >> 2] + d16) * 4.0))) * .00390625; - i2 = i2 + 1 | 0; - i3 = i3 + 4 | 0; - i4 = i4 + 4 | 0; - i5 = i5 + 4 | 0; - i6 = i6 + 4 | 0; - i1 = i1 + 4 | 0; - } - i5 = i11 + ((Math_imul(i13 + -3 | 0, i14) | 0) << 2) | 0; - i4 = i5 + (i14 << 2) | 0; - i2 = 0; - i3 = i4 + (i14 << 2) | 0; - i1 = i12 + ((Math_imul(i13 + -1 | 0, i14) | 0) << 2) | 0; - while (1) { - if ((i2 | 0) == (i14 | 0)) break; - d16 = +HEAPF32[i3 >> 2]; - HEAPF32[i1 >> 2] = (d16 + (+HEAPF32[i5 >> 2] + (d16 * 6.0 + (+HEAPF32[i4 >> 2] + d16) * 4.0))) * .00390625; - i2 = i2 + 1 | 0; - i3 = i3 + 4 | 0; - i4 = i4 + 4 | 0; - i5 = i5 + 4 | 0; - i1 = i1 + 4 | 0; - } - STACKTOP = i15; - return; -} - -function _hexfloat(i18, i22, i21, i23, i19) { - i18 = i18 | 0; - i22 = i22 | 0; - i21 = i21 | 0; - i23 = i23 | 0; - i19 = i19 | 0; - var d1 = 0.0, i2 = 0, i3 = 0, d4 = 0.0, i5 = 0, i6 = 0, d7 = 0.0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i20 = 0; - i20 = i18 + 4 | 0; - i2 = HEAP32[i20 >> 2] | 0; - i17 = i18 + 104 | 0; - if (i2 >>> 0 < (HEAP32[i17 >> 2] | 0) >>> 0) { - HEAP32[i20 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i18) | 0; - i3 = 0; - L5 : while (1) { - switch (i2 | 0) { - case 46: - { - i16 = 10; - break L5; - } - case 48: - break; - default: - { - i9 = 0; - i6 = i3; - i5 = 0; - i3 = 0; - break L5; - } - } - i2 = HEAP32[i20 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i17 >> 2] | 0) >>> 0) { - HEAP32[i20 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i18) | 0; - i3 = 1; - } - if ((i16 | 0) == 10) { - i2 = HEAP32[i20 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i17 >> 2] | 0) >>> 0) { - HEAP32[i20 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i18) | 0; - if ((i2 | 0) == 48) { - i5 = 0; - i3 = 0; - do { - i2 = HEAP32[i20 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i17 >> 2] | 0) >>> 0) { - HEAP32[i20 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i18) | 0; - i5 = _i64Add(i5 | 0, i3 | 0, -1, -1) | 0; - i3 = getTempRet0() | 0; - } while ((i2 | 0) == 48); - i9 = 1; - i6 = 1; - } else { - i9 = 1; - i6 = i3; - i5 = 0; - i3 = 0; - } - } - i8 = 0; - d7 = 1.0; - d1 = 0.0; - i15 = 0; - i12 = i9; - i13 = i6; - i14 = 0; - i6 = 0; - while (1) { - i10 = i2 + -48 | 0; - i9 = i2 | 32; - if (i10 >>> 0 >= 10) { - i11 = (i2 | 0) == 46; - if (!(i11 | (i9 + -97 | 0) >>> 0 < 6)) break; - if (i11) if (!i12) { - i12 = 1; - d4 = d7; - i10 = i15; - i11 = i13; - i5 = i6; - i3 = i14; - i9 = i14; - } else { - i2 = 46; - break; - } else i16 = 24; - } else i16 = 24; - if ((i16 | 0) == 24) { - i16 = 0; - i2 = (i2 | 0) > 57 ? i9 + -87 | 0 : i10; - do if (!((i14 | 0) < 0 | (i14 | 0) == 0 & i6 >>> 0 < 8)) if ((i14 | 0) < 0 | (i14 | 0) == 0 & i6 >>> 0 < 14) { - d7 = d7 * .0625; - d4 = d7; - d1 = d1 + d7 * +(i2 | 0); - i2 = i15; - break; - } else { - i2 = (i8 | 0) != 0 | (i2 | 0) == 0; - i8 = i2 ? i8 : 1; - d4 = d7; - d1 = i2 ? d1 : d1 + d7 * .5; - i2 = i15; - break; - } else { - d4 = d7; - i2 = i2 + (i15 << 4) | 0; - } while (0); - i6 = _i64Add(i6 | 0, i14 | 0, 1, 0) | 0; - i10 = i2; - i11 = 1; - i9 = getTempRet0() | 0; - } - i2 = HEAP32[i20 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i17 >> 2] | 0) >>> 0) { - HEAP32[i20 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i18) | 0; - d7 = d4; - i15 = i10; - i13 = i11; - i14 = i9; - } - do if (!i13) { - i2 = (HEAP32[i17 >> 2] | 0) == 0; - if (!i2) HEAP32[i20 >> 2] = (HEAP32[i20 >> 2] | 0) + -1; - if (i19) { - if (!i2 ? (HEAP32[i20 >> 2] = (HEAP32[i20 >> 2] | 0) + -1, !((i12 | 0) == 0 | i2)) : 0) HEAP32[i20 >> 2] = (HEAP32[i20 >> 2] | 0) + -1; - } else ___shlim(i18, 0, 0); - d1 = +(i23 | 0) * 0.0; - } else { - i8 = (i12 | 0) == 0; - i9 = i8 ? i6 : i5; - i8 = i8 ? i14 : i3; - if ((i14 | 0) < 0 | (i14 | 0) == 0 & i6 >>> 0 < 8) { - i3 = i15; - i5 = i14; - do { - i3 = i3 << 4; - i16 = i6; - i6 = _i64Add(i6 | 0, i5 | 0, 1, 0) | 0; - i15 = i5; - i5 = getTempRet0() | 0; - } while ((i15 | 0) < 0 | (i15 | 0) == 0 & i16 >>> 0 < 7); - i6 = i3; - } else i6 = i15; - if ((i2 | 32 | 0) == 112) { - i3 = _scanexp(i18, i19) | 0; - i2 = getTempRet0() | 0; - if ((i3 | 0) == 0 & (i2 | 0) == -2147483648) { - if (!i19) { - ___shlim(i18, 0, 0); - d1 = 0.0; - break; - } - if (!(HEAP32[i17 >> 2] | 0)) { - i3 = 0; - i2 = 0; - } else { - HEAP32[i20 >> 2] = (HEAP32[i20 >> 2] | 0) + -1; - i3 = 0; - i2 = 0; + if (($5 | 0) < HEAP32[$1 + 4 >> 2]) { + $7 = Math_imul($5, 112); + $6 = Math_imul($5, 48) + $0 | 0; + arUtilMatMulf($15, ($7 + HEAP32[$1 >> 2] | 0) + 12 | 0, $6 + 48 | 0); + label$5: { + if (HEAP32[$1 + 152 >> 2] < 2) { + break label$5; + } + arUtilMatMulf($9, (HEAP32[$1 >> 2] + $7 | 0) + 12 | 0, $6 + 528 | 0); + if (HEAP32[$1 + 152 >> 2] < 3) { + break label$5; + } + arUtilMatMulf($10, (HEAP32[$1 >> 2] + $7 | 0) + 12 | 0, $6 + 1008 | 0); } + $5 = $5 + 1 | 0; + continue; } - } else if (!(HEAP32[i17 >> 2] | 0)) { - i3 = 0; - i2 = 0; - } else { - HEAP32[i20 >> 2] = (HEAP32[i20 >> 2] | 0) + -1; - i3 = 0; - i2 = 0; - } - i5 = _bitshift64Shl(i9 | 0, i8 | 0, 2) | 0; - i5 = _i64Add(i5 | 0, getTempRet0() | 0, -32, -1) | 0; - i5 = _i64Add(i5 | 0, getTempRet0() | 0, i3 | 0, i2 | 0) | 0; - i2 = getTempRet0() | 0; - if (!i6) { - d1 = +(i23 | 0) * 0.0; - break; - } - i20 = 0 - i21 | 0; - i19 = ((i20 | 0) < 0) << 31 >> 31; - if ((i2 | 0) > (i19 | 0) | (i2 | 0) == (i19 | 0) & i5 >>> 0 > i20 >>> 0) { - i22 = ___errno_location() | 0; - HEAP32[i22 >> 2] = 34; - d1 = +(i23 | 0) * 1797693134862315708145274.0e284 * 1797693134862315708145274.0e284; - break; - } - i20 = i21 + -106 | 0; - i19 = ((i20 | 0) < 0) << 31 >> 31; - if ((i2 | 0) < (i19 | 0) | (i2 | 0) == (i19 | 0) & i5 >>> 0 < i20 >>> 0) { - i22 = ___errno_location() | 0; - HEAP32[i22 >> 2] = 34; - d1 = +(i23 | 0) * 2.2250738585072014e-308 * 2.2250738585072014e-308; break; } - if ((i6 | 0) > -1) { - i3 = i6; - do { - i20 = !(d1 >= .5); - i3 = i3 << 1 | (i20 ^ 1) & 1; - d1 = d1 + (i20 ? d1 : d1 + -1.0); - i5 = _i64Add(i5 | 0, i2 | 0, -1, -1) | 0; - i2 = getTempRet0() | 0; - } while ((i3 | 0) > -1); - d7 = d1; - i6 = i3; - } else d7 = d1; - i20 = ((i22 | 0) < 0) << 31 >> 31; - i21 = _i64Subtract(32, 0, i21 | 0, ((i21 | 0) < 0) << 31 >> 31 | 0) | 0; - i2 = _i64Add(i21 | 0, getTempRet0() | 0, i5 | 0, i2 | 0) | 0; - i21 = getTempRet0() | 0; - if ((i21 | 0) < (i20 | 0) | (i21 | 0) == (i20 | 0) & i2 >>> 0 < i22 >>> 0) if ((i2 | 0) > 0) i16 = 65; else { - i3 = 0; - i2 = 84; - i16 = 67; - } else { - i2 = i22; - i16 = 65; + label$6: { + if (HEAP32[$0 >> 2] == 1) { + extractVisibleFeatures(HEAP32[$0 + 12 >> 2], $0 + 48 | 0, $1, $0 + 2672 | 0, $0 + 7496 | 0); + break label$6; + } + extractVisibleFeaturesHomography(HEAP32[$0 + 4 >> 2], HEAP32[$0 + 8 >> 2], $0 + 48 | 0, $1, $0 + 2672 | 0, $0 + 7496 | 0); } - if ((i16 | 0) == 65) if ((i2 | 0) < 53) { - i3 = i2; - i2 = 84 - i2 | 0; - i16 = 67; - } else { - d4 = 0.0; - d1 = +(i23 | 0); - } - if ((i16 | 0) == 67) { - d1 = +(i23 | 0); - d4 = +_copysignl(+_scalbn(1.0, i2), d1); - i2 = i3; - } - i23 = (i6 & 1 | 0) == 0 & (d7 != 0.0 & (i2 | 0) < 32); - d1 = (i23 ? 0.0 : d7) * d1 + (d4 + d1 * +((i6 + (i23 & 1) | 0) >>> 0)) - d4; - if (!(d1 != 0.0)) { - i23 = ___errno_location() | 0; - HEAP32[i23 >> 2] = 34; - } - d1 = +_scalbnl(d1, i5); - } while (0); - return +d1; -} - -function __ZN6vision5Image5allocENS_9ImageTypeEmmim(i4, i5, i6, i7, i1, i8) { - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i1 = i1 | 0; - i8 = i8 | 0; - var i2 = 0, i3 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i11 + 16 | 0; - i9 = i11 + 8 | 0; - i10 = i11; - if (!i6) { - i2 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32737) | 0, 32770) | 0, 33528) | 0, 127) | 0, 33535) | 0, 32878) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i2 + (HEAP32[(HEAP32[i2 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i2, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i2) | 0; - _abort(); - } - if (!i7) { - i12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32899) | 0, 32770) | 0, 33528) | 0, 128) | 0, 33535) | 0, 32933) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i12 + (HEAP32[(HEAP32[i12 >> 2] | 0) + -12 >> 2] | 0) | 0); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i2 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i2, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i12, i2) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i12) | 0; - _abort(); - } - if (i1 >>> 0 < i6 >>> 0) { - i12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32955) | 0, 32770) | 0, 33528) | 0, 129) | 0, 33535) | 0, 32992) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i12 + (HEAP32[(HEAP32[i12 >> 2] | 0) + -12 >> 2] | 0) | 0); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i2 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i2, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i12, i2) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i12) | 0; - _abort(); - } - if (!i8) { - i12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 33037) | 0, 32770) | 0, 33528) | 0, 130) | 0, 33535) | 0, 33073) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i12 + (HEAP32[(HEAP32[i12 >> 2] | 0) + -12 >> 2] | 0) | 0); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i2 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i2, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i12, i2) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i12) | 0; - _abort(); - } - if ((i1 | 0) < 0) i1 = Math_imul(Math_imul(i8, i6) | 0, __ZN6vision5Image19calculate_unit_sizeENS_9ImageTypeE(i5) | 0) | 0; - HEAP32[i4 + 12 >> 2] = i1; - i1 = Math_imul(i1, i7) | 0; - i2 = i4 + 20 | 0; - if ((HEAP32[i2 >> 2] | 0) != (i1 | 0) ? (i12 = i4 + 24 | 0, i14 = __Znam(i1) | 0, HEAP32[i10 >> 2] = 0, HEAP32[i3 >> 2] = HEAP32[i10 >> 2], __ZNSt3__210shared_ptrIhEC2IhEEPT_NS_9enable_ifIXsr14is_convertibleIS4_PhEE5valueENS1_5__natEE4typeE(i9, i14, i3), i14 = HEAP32[i9 >> 2] | 0, HEAP32[i9 >> 2] = HEAP32[i12 >> 2], HEAP32[i12 >> 2] = i14, i14 = i9 + 4 | 0, i10 = i4 + 28 | 0, i13 = HEAP32[i14 >> 2] | 0, HEAP32[i14 >> 2] = HEAP32[i10 >> 2], HEAP32[i10 >> 2] = i13, __ZNSt3__210shared_ptrIhED2Ev(i9), (HEAP32[i12 >> 2] | 0) == 0) : 0) { - i14 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 33107) | 0, 32770) | 0, 33528) | 0, 149) | 0, 33535) | 0, 33142) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i14 + (HEAP32[(HEAP32[i14 >> 2] | 0) + -12 >> 2] | 0) | 0); - i13 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i13 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i13 >> 2] | 0) + 28 >> 2] & 63](i13, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i14, i13) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i14) | 0; - _abort(); - } - HEAP32[i4 >> 2] = i5; - HEAP32[i4 + 4 >> 2] = i6; - HEAP32[i4 + 8 >> 2] = i7; - HEAP32[i4 + 16 >> 2] = i8; - HEAP32[i2 >> 2] = i1; - STACKTOP = i11; - return; -} - -function _get_matrix_code(i9, i10, i13, i7, i14, i12, i15) { - i9 = i9 | 0; - i10 = i10 | 0; - i13 = i13 | 0; - i7 = i7 | 0; - i14 = i14 | 0; - i12 = i12 | 0; - i15 = i15 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i11 = 0, i16 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i17 + 24 | 0; - i4 = i17; - i16 = i17 + 16 | 0; - L1 : do if ((i10 + -3 | 0) >>> 0 > 5) { - HEAP32[i13 >> 2] = -1; - HEAP32[i7 >> 2] = 0; - HEAPF64[i14 >> 3] = -1.0; - i1 = -1; - } else { - HEAP32[i4 >> 2] = 0; - i11 = i10 + -1 | 0; - i6 = Math_imul(i11, i10) | 0; - HEAP32[i4 + 4 >> 2] = i6; - i6 = Math_imul(i10, i10) | 0; - HEAP32[i4 + 8 >> 2] = i6 + -1; - HEAP32[i4 + 12 >> 2] = i11; - i1 = 0; - i2 = 0; - i3 = -1; - while (1) { - if ((i1 | 0) == 4) break; - i8 = HEAP8[i9 + (HEAP32[i4 + (i1 << 2) >> 2] | 0) >> 0] | 0; - i1 = i1 + 1 | 0; - i2 = (i8 & 255) > (i2 & 255) ? i8 : i2; - i3 = (i8 & 255) < (i3 & 255) ? i8 : i3; - } - i2 = i2 & 255; - i1 = i3 & 255; - if ((i2 - i1 | 0) < 30) { - HEAP32[i13 >> 2] = -1; - HEAP32[i7 >> 2] = 0; - HEAPF64[i14 >> 3] = -1.0; - i1 = -2; + $18 = $0 + 1488 | 0; + $19 = $1 + 156 | 0; + $12 = $0 + 7496 | 0; + $20 = $0 + 2672 | 0; + $11 = $20; + $9 = 0; + label$8: while (1) { + label$9: { + $5 = $9; + $7 = 0; + if (HEAP32[$0 + 36 >> 2] <= ($16 | 0)) { + break label$9; + } + while (1) { + label$11: { + label$12: { + if (HEAP32[$0 + 36 >> 2] == ($16 | 0) | HEAP32[$0 + 13280 >> 2] <= ($7 | 0)) { + break label$12; + } + $6 = ar2SelectTemplate($11, $19, $5, $18, HEAP32[$0 + 4 >> 2], HEAP32[$0 + 8 >> 2]); + if (($6 | 0) >= 0) { + break label$11; + } + if (($11 | 0) != ($20 | 0)) { + break label$12; + } + $11 = $12; + $6 = ar2SelectTemplate($11, $19, $5, $18, HEAP32[$0 + 4 >> 2], HEAP32[$0 + 8 >> 2]); + if (($6 | 0) >= 0) { + break label$11; + } + } + $5 = 0; + if (!$7) { + break label$9; + } + while (1) { + if (($5 | 0) == ($7 | 0)) { + continue label$8; + } + $10 = $5 << 2; + threadEndWait(HEAP32[($10 + $0 | 0) + 13700 >> 2]); + $6 = Math_imul($5, 52) + $0 | 0; + if (!(HEAP32[$6 + 13332 >> 2] | !(HEAPF32[$6 + 13308 >> 2] > HEAPF32[$0 + 40 >> 2]))) { + label$15: { + if (HEAP32[$0 >> 2] == 1) { + $13 = HEAP32[$0 + 12 >> 2]; + arParamObserv2Ideal($13 + 104 | 0, +HEAPF32[$6 + 13312 >> 2], +HEAPF32[$6 + 13316 >> 2], $14 + 8 | 0, $14, HEAP32[$13 + 176 >> 2]); + HEAPF32[(($9 << 3) + $0 | 0) + 1872 >> 2] = HEAPF64[$14 + 8 >> 3]; + $8 = Math_fround(HEAPF64[$14 >> 3]); + break label$15; + } + HEAPF32[(($9 << 3) + $0 | 0) + 1872 >> 2] = HEAPF32[$6 + 13312 >> 2]; + $8 = HEAPF32[$6 + 13316 >> 2]; + } + $13 = ($9 << 3) + $0 | 0; + HEAPF32[$13 + 1876 >> 2] = $8; + $17 = Math_imul($9, 12) + $0 | 0; + HEAPF32[$17 + 2192 >> 2] = HEAPF32[$6 + 13320 >> 2]; + HEAPF32[$17 + 2196 >> 2] = HEAPF32[$6 + 13324 >> 2]; + HEAPF32[$17 + 2200 >> 2] = HEAPF32[$6 + 13328 >> 2]; + $6 = HEAP32[($14 + 16 | 0) + $10 >> 2]; + HEAPF32[$13 + 1488 >> 2] = HEAPF32[$6 + 16 >> 2]; + HEAPF32[$13 + 1492 >> 2] = HEAPF32[$6 + 20 >> 2]; + $10 = Math_imul($9, 24) + $0 | 0; + HEAP32[$10 + 12320 >> 2] = HEAP32[$6 >> 2]; + HEAP32[$10 + 12324 >> 2] = HEAP32[$6 + 4 >> 2]; + $6 = HEAP32[$6 + 8 >> 2]; + HEAP32[$10 + 12332 >> 2] = 0; + HEAP32[$10 + 12328 >> 2] = $6; + $9 = $9 + 1 | 0; + } + $5 = $5 + 1 | 0; + continue; + } + } + $13 = $7 << 2; + $6 = Math_imul($6, 24) + $11 | 0; + HEAP32[$13 + ($14 + 16 | 0) >> 2] = $6; + $10 = ($5 << 3) + $0 | 0; + HEAPF32[$10 + 1488 >> 2] = HEAPF32[$6 + 16 >> 2]; + HEAPF32[$10 + 1492 >> 2] = HEAPF32[$6 + 20 >> 2]; + $10 = Math_imul($7, 52) + $0 | 0; + HEAP32[$10 + 13296 >> 2] = $2; + HEAP32[$10 + 13292 >> 2] = $6; + HEAP32[$10 + 13288 >> 2] = $1; + HEAP32[$10 + 13284 >> 2] = $0; + threadStartSignal(HEAP32[($0 + $13 | 0) + 13700 >> 2]); + $5 = $5 + 1 | 0; + $5 = ($5 | 0) == 5 ? $9 : $5; + $7 = $7 + 1 | 0; + $16 = $16 + 1 | 0; + continue; + } + } break; } - i3 = (i2 + i1 | 0) >>> 1; - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - HEAP8[i5 + i1 >> 0] = i3 >>> 0 > (HEAPU8[i9 + (HEAP32[i4 + (i1 << 2) >> 2] | 0) >> 0] | 0) >>> 0 & 1; - i1 = i1 + 1 | 0; - } - i2 = 0; + $5 = 0; + $10 = ($9 | 0) > 0 ? $9 : 0; while (1) { - if (i2 >>> 0 >= 4) { - i1 = 18; - break; - } - i1 = i2 + 1 | 0; - if (((HEAP8[i5 + i2 >> 0] | 0) == 1 ? (HEAP8[i5 + (i1 & 3) >> 0] | 0) == 1 : 0) ? (HEAP8[i5 + (i2 + 2 & 3) >> 0] | 0) == 0 : 0) { - i1 = 17; - break; + if (($5 | 0) != ($10 | 0)) { + $6 = Math_imul($5, 24); + $7 = $6 + $1 | 0; + $6 = $0 + $6 | 0; + $12 = $6 + 12336 | 0; + $2 = HEAP32[$12 >> 2]; + $11 = HEAP32[$12 + 4 >> 2]; + HEAP32[$7 + 172 >> 2] = $2; + HEAP32[$7 + 176 >> 2] = $11; + $12 = $6 + 12328 | 0; + $11 = HEAP32[$12 >> 2]; + $2 = HEAP32[$12 + 4 >> 2]; + HEAP32[$7 + 164 >> 2] = $11; + HEAP32[$7 + 168 >> 2] = $2; + $12 = $6 + 12320 | 0; + $2 = HEAP32[$12 >> 2]; + $11 = HEAP32[$12 + 4 >> 2]; + HEAP32[$7 + 156 >> 2] = $2; + HEAP32[$7 + 160 >> 2] = $11; + $5 = $5 + 1 | 0; + continue; } - i2 = i1; - } - if ((i1 | 0) == 17) HEAP32[i7 >> 2] = i2; else if ((i1 | 0) == 18 ? (i2 | 0) == 4 : 0) { - HEAP32[i13 >> 2] = -1; - HEAP32[i7 >> 2] = 0; - HEAPF64[i14 >> 3] = -1.0; - i1 = -3; break; } - i8 = 255; - i1 = 0; - while (1) { - if ((i1 | 0) == (i6 | 0)) break; - i4 = i9 + i1 | 0; - i2 = HEAPU8[i4 >> 0] | 0; - i5 = i2 - i3 | 0; - i5 = (i5 | 0) < 0 ? 0 - i5 | 0 : i5; - HEAP8[i4 >> 0] = i3 >>> 0 > i2 >>> 0 & 1; - i8 = (i5 | 0) < (i8 | 0) ? i5 : i8; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i7 >> 2] | 0; - L31 : do switch (i1 | 0) { - case 0: - { - i3 = i1; - i2 = 0; - i1 = 0; - while (1) { - if ((i3 | 0) >= (i10 | 0)) break L31; - i5 = (i3 | 0) == (i11 | 0); - i6 = Math_imul(i3, i10) | 0; - i4 = 0; + HEAP32[(Math_imul($9, 24) + $1 | 0) + 168 >> 2] = -1; + label$19: { + label$20: { + if (HEAP32[$0 >> 2] == 1) { + $5 = -3; + if (($9 | 0) < 3) { + break label$19; + } + $5 = $0 + 1872 | 0; + $7 = $0 + 2192 | 0; + $8 = ar2GetTransMat(HEAP32[$0 + 16 >> 2], $15, $5, $7, $9, $3, 0); + HEAPF32[$4 >> 2] = $8; + if (!(HEAPF32[$0 + 44 >> 2] < $8)) { + break label$20; + } + icpSetInlierProbability(HEAP32[$0 + 16 >> 2], .800000011920929); + $8 = ar2GetTransMat(HEAP32[$0 + 16 >> 2], $3, $5, $7, $9, $3, 1); + HEAPF32[$4 >> 2] = $8; + if (!(HEAPF32[$0 + 44 >> 2] < $8)) { + break label$20; + } + icpSetInlierProbability(HEAP32[$0 + 16 >> 2], .6000000238418579); + $8 = ar2GetTransMat(HEAP32[$0 + 16 >> 2], $3, $5, $7, $9, $3, 1); + HEAPF32[$4 >> 2] = $8; + if (!(HEAPF32[$0 + 44 >> 2] < $8)) { + break label$20; + } + icpSetInlierProbability(HEAP32[$0 + 16 >> 2], .4000000059604645); + $8 = ar2GetTransMat(HEAP32[$0 + 16 >> 2], $3, $5, $7, $9, $3, 1); + HEAPF32[$4 >> 2] = $8; + if (!(HEAPF32[$0 + 44 >> 2] < $8)) { + break label$20; + } + icpSetInlierProbability(HEAP32[$0 + 16 >> 2], 0); + $8 = ar2GetTransMat(HEAP32[$0 + 16 >> 2], $3, $5, $7, $9, $3, 1); + HEAPF32[$4 >> 2] = $8; + $5 = -4; + if (!(HEAPF32[$0 + 44 >> 2] < $8)) { + break label$20; + } + break label$19; + } + $5 = -3; + if (($9 | 0) < 3) { + break label$19; + } + $5 = $0 + 1872 | 0; + $7 = $0 + 2192 | 0; + $8 = ar2GetTransMatHomography($15, $5, $7, $9, $3, 0, Math_fround(1)); + HEAPF32[$4 >> 2] = $8; + if (!(HEAPF32[$0 + 44 >> 2] < $8)) { + break label$20; + } + $8 = ar2GetTransMatHomography($3, $5, $7, $9, $3, 1, Math_fround(.800000011920929)); + HEAPF32[$4 >> 2] = $8; + if (!(HEAPF32[$0 + 44 >> 2] < $8)) { + break label$20; + } + $8 = ar2GetTransMatHomography($3, $5, $7, $9, $3, 1, Math_fround(.6000000238418579)); + HEAPF32[$4 >> 2] = $8; + if (!(HEAPF32[$0 + 44 >> 2] < $8)) { + break label$20; + } + $8 = ar2GetTransMatHomography($3, $5, $7, $9, $3, 1, Math_fround(.4000000059604645)); + HEAPF32[$4 >> 2] = $8; + if (!(HEAPF32[$0 + 44 >> 2] < $8)) { + break label$20; + } + $8 = ar2GetTransMatHomography($3, $5, $7, $9, $3, 1, Math_fround(0)); + HEAPF32[$4 >> 2] = $8; + $5 = -4; + if (HEAPF32[$0 + 44 >> 2] < $8) { + break label$19; + } + } + HEAP32[$1 + 152 >> 2] = HEAP32[$1 + 152 >> 2] + 1; + $7 = 0; + $6 = 0; + while (1) { + $0 = 0; + if (($6 | 0) == 3) { while (1) { - if ((i4 | 0) == (i10 | 0)) break; - if ((i4 | i3 | 0) != 0 ? !(i5 & ((i4 | 0) == 0 | (i4 | 0) == (i11 | 0))) : 0) { - i2 = _bitshift64Shl(i2 | 0, i1 | 0, 1) | 0; - i1 = getTempRet0() | 0; - i2 = i2 | (HEAP8[i9 + (i4 + i6) >> 0] | 0) != 0; + $0 = 0; + if (($7 | 0) == 3) { + while (1) { + $5 = 0; + if (($0 | 0) == 3) { + break label$1; + } + while (1) { + if (($5 | 0) != 4) { + $6 = $5 << 2; + $7 = $0 << 4; + HEAPF32[($6 + ($7 + $1 | 0) | 0) + 8 >> 2] = HEAPF32[($3 + $7 | 0) + $6 >> 2]; + $5 = $5 + 1 | 0; + continue; + } + break; + } + $0 = $0 + 1 | 0; + continue; + } + } else { + while (1) { + if (($0 | 0) != 4) { + $5 = (($7 << 4) + $1 | 0) + ($0 << 2) | 0; + HEAPF32[$5 + 56 >> 2] = HEAPF32[$5 + 8 >> 2]; + $0 = $0 + 1 | 0; + continue; + } + break; + } + $7 = $7 + 1 | 0; + continue; } - i4 = i4 + 1 | 0; } - i3 = i3 + 1 | 0; - } - } - case 1: - { - i4 = 0; - i2 = 0; - i1 = 0; - while (1) { - if ((i4 | 0) >= (i10 | 0)) break L31; - i5 = (i4 | 0) == 0; - i6 = (i4 | 0) == (i11 | 0); - i3 = i11; + } else { while (1) { - if ((i3 | 0) <= -1) break; - i7 = (i3 | 0) == (i11 | 0); - if (!(i5 & i7) ? !(i6 & (i7 | (i3 | 0) == 0)) : 0) { - i7 = _bitshift64Shl(i2 | 0, i1 | 0, 1) | 0; - i1 = getTempRet0() | 0; - i2 = i9 + ((Math_imul(i3, i10) | 0) + i4) | 0; - i2 = i7 | (HEAP8[i2 >> 0] | 0) != 0; + if (($0 | 0) != 4) { + $5 = (($6 << 4) + $1 | 0) + ($0 << 2) | 0; + HEAPF32[$5 + 104 >> 2] = HEAPF32[$5 + 56 >> 2]; + $0 = $0 + 1 | 0; + continue; } - i3 = i3 + -1 | 0; + break; } - i4 = i4 + 1 | 0; + $6 = $6 + 1 | 0; + continue; } } - case 2: - { - i3 = i11; - i2 = 0; - i1 = 0; - while (1) { - if ((i3 | 0) <= -1) break L31; - i6 = (i3 | 0) == (i11 | 0) | (i3 | 0) == 0; - i5 = Math_imul(i3, i10) | 0; - i4 = i11; - while (1) { - if ((i4 | 0) <= -1) break; - if (!(i6 & (i4 | 0) == (i11 | 0) | (i4 | i3 | 0) == 0)) { - i2 = _bitshift64Shl(i2 | 0, i1 | 0, 1) | 0; - i1 = getTempRet0() | 0; - i2 = i2 | (HEAP8[i9 + (i4 + i5) >> 0] | 0) != 0; + } + HEAP32[$1 + 152 >> 2] = 0; + } + __stack_pointer = $14 + 48 | 0; + return $5; +} + +function vision__Image__alloc_28vision__ImageType_2c_20unsigned_20long_2c_20unsigned_20long_2c_20int_2c_20unsigned_20long_29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + if ($2) { + if (!$3) { + break label$5; + } + if ($2 >>> 0 > $4 >>> 0) { + break label$4; + } + if (!$5) { + break label$3; + } + if (($4 | 0) < 0) { + $4 = Math_imul(vision__Image__calculate_unit_size_28vision__ImageType_29($1), Math_imul($2, $5)); + } + HEAP32[$0 + 12 >> 2] = $4; + $4 = Math_imul($3, $4); + if (($4 | 0) != HEAP32[$0 + 20 >> 2]) { + $7 = $0 + 24 | 0; + void_20std____2__shared_ptr_unsigned_20char___reset_unsigned_20char_2c_20void__28unsigned_20char__29($7, operator_20new_5b_5d_28unsigned_20long_29($4)); + if (!std____2__shared_ptr_unsigned_20char___get_28_29_20const($7)) { + break label$2; + } + if (!std____2__shared_ptr_unsigned_20char___get_28_29_20const($7)) { + break label$1; + } + } + HEAP32[$0 + 20 >> 2] = $4; + HEAP32[$0 + 16 >> 2] = $5; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $2; + HEAP32[$0 >> 2] = $1; + __stack_pointer = $6 + 16 | 0; + return; } - i4 = i4 + -1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 1190), 2282), 3289), 127), 3786), 4120), 16); + abort(); + abort(); } - i3 = i3 + -1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 5048), 2282), 3289), 128), 3786), 5643), 16); + abort(); + abort(); } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 6709), 2282), 3289), 129), 3786), 7314), 16); + abort(); + abort(); } - case 3: - { - i4 = i11; - i2 = 0; - i1 = 0; - while (1) { - if ((i4 | 0) <= -1) break L31; - i5 = (i4 | 0) == (i11 | 0); - i6 = (i4 | 0) == 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i10 | 0)) break; - if (!(i5 & (i3 | 0) == 0 | (i3 | i4 | 0) == 0 | i6 & (i3 | 0) == (i11 | 0))) { - i7 = _bitshift64Shl(i2 | 0, i1 | 0, 1) | 0; - i1 = getTempRet0() | 0; - i2 = i9 + ((Math_imul(i3, i10) | 0) + i4) | 0; - i2 = i7 | (HEAP8[i2 >> 0] | 0) != 0; - } - i3 = i3 + 1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 8409), 2282), 3289), 130), 3786), 8929), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 10005), 2282), 3289), 149), 3786), 10471), 16); + abort(); + abort(); + } + __cxa_throw(vision__Exception__Exception_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29(__cxa_allocate_exception(16) | 0, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($6, 11158)) | 0, 26576, 17); + abort(); +} + +function vision__DoGScaleInvariantDetector__pruneFeatures_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + label$3: { + $1 = $0 + 60 | 0; + if (std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($1) >>> 0 > HEAPU32[$0 + 84 >> 2]) { + $3 = $0 + 16 | 0; + if ((std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________size_28_29_20const($3) | 0) != HEAP32[$0 + 8 >> 2]) { + break label$3; } - i4 = i4 + -1 | 0; + if ((std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______size_28_29_20const(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________operator_5b_5d_28unsigned_20long_29($3, 0)) | 0) != HEAP32[$0 + 12 >> 2]) { + break label$2; + } + $4 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____vector_28_29($2); + vision__PruneDoGFeatures_28std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________2c_20std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____2c_20std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___20const__2c_20int_2c_20int_2c_20int_2c_20int_2c_20int_29($3, $4, $1, HEAP32[$0 + 8 >> 2], HEAP32[$0 + 12 >> 2], HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], HEAP32[$0 + 84 >> 2]); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____swap_28std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____29($1, $4); + if (std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($1) >>> 0 > HEAPU32[$0 + 84 >> 2]) { + break label$1; + } + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____vector_28_29($4); } + __stack_pointer = $2 + 16 | 0; + return; } - default: - { - i2 = 0; - i1 = 0; - } - } while (0); - HEAPF64[i14 >> 3] = (i8 | 0) > 30 ? 1.0 : +(i8 | 0) / 30.0; - switch (i12 | 0) { - case 259: - { - i15 = HEAP8[240 + i2 >> 0] | 0; - i11 = i15 << 24 >> 24; - i12 = i16; - HEAP32[i12 >> 2] = i11; - HEAP32[i12 + 4 >> 2] = ((i11 | 0) < 0) << 31 >> 31; - if (i15 << 24 >> 24 < 0) { - HEAP32[i13 >> 2] = -1; - HEAPF64[i14 >> 3] = -1.0; - i1 = -4; - break L1; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 20176), 2098), 3289), 454), 3786), 20558), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 20749), 2098), 3289), 455), 3786), 20558), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 20973), 2098), 3289), 469), 3786), 21352), 16); + abort(); + abort(); +} + +function vision__binomial_4th_order_28float__2c_20float__2c_20float_20const__2c_20unsigned_20long_2c_20unsigned_20long_29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = Math_fround(0), $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = Math_fround(0); + if ($3 >>> 0 > 4) { + if ($4 >>> 0 > 4) { + $10 = $3 - 2 | 0; + $12 = $3 - 1 << 2; + $13 = $3 - 3 << 2; + $14 = $3 - 4 << 2; + $7 = $1; + label$3: while (1) { + label$4: { + if (($4 | 0) == ($11 | 0)) { + $5 = 0; + $6 = $0; + $8 = $3 << 2; + $10 = $1; + $7 = $8 + $10 | 0; + $11 = $7; + $8 = $8 + $7 | 0; + $2 = $8; + break label$4; + } + $5 = 2; + $6 = (Math_imul($3, $11) << 2) + $2 | 0; + $9 = HEAPF32[$6 >> 2]; + HEAPF32[$7 >> 2] = HEAPF32[$6 + 8 >> 2] + Math_fround($9 + Math_fround(Math_fround($9 * Math_fround(6)) + Math_fround(Math_fround($9 + HEAPF32[$6 + 4 >> 2]) * Math_fround(4)))); + $9 = HEAPF32[$6 >> 2]; + HEAPF32[$7 + 4 >> 2] = HEAPF32[$6 + 12 >> 2] + Math_fround($9 + Math_fround(Math_fround(HEAPF32[$6 + 4 >> 2] * Math_fround(6)) + Math_fround(Math_fround($9 + HEAPF32[$6 + 8 >> 2]) * Math_fround(4)))); + $8 = $7 + 8 | 0; + while (1) if (($5 | 0) == ($10 | 0)) { + $5 = $6 + $12 | 0; + $9 = HEAPF32[$5 >> 2]; + $15 = HEAPF32[$6 + $14 >> 2]; + $7 = ($10 << 2) + $6 | 0; + $6 = $6 + $13 | 0; + HEAPF32[$8 >> 2] = $9 + Math_fround($15 + Math_fround(Math_fround(HEAPF32[$7 >> 2] * Math_fround(6)) + Math_fround(Math_fround($9 + HEAPF32[$6 >> 2]) * Math_fround(4)))); + $9 = HEAPF32[$5 >> 2]; + HEAPF32[$8 + 4 >> 2] = $9 + Math_fround(HEAPF32[$6 >> 2] + Math_fround(Math_fround($9 * Math_fround(6)) + Math_fround(Math_fround($9 + HEAPF32[$7 >> 2]) * Math_fround(4)))); + $11 = $11 + 1 | 0; + $7 = $8 + 8 | 0; + continue label$3; + } else { + $7 = ($5 << 2) + $6 | 0; + $5 = $5 + 1 | 0; + HEAPF32[$8 >> 2] = HEAPF32[$7 + 8 >> 2] + Math_fround(HEAPF32[$7 - 8 >> 2] + Math_fround(Math_fround(HEAPF32[$7 >> 2] * Math_fround(6)) + Math_fround(Math_fround(HEAPF32[$7 - 4 >> 2] + HEAPF32[($5 << 2) + $6 >> 2]) * Math_fround(4)))); + $8 = $8 + 4 | 0; + continue; + } } break; } - case 515: - { - i1 = HEAP8[112 + i2 >> 0] | 0; - i11 = i1 << 24 >> 24; - i12 = i16; - HEAP32[i12 >> 2] = i11; - HEAP32[i12 + 4 >> 2] = ((i11 | 0) < 0) << 31 >> 31; - if (i15 | 0) HEAP32[i15 >> 2] = HEAPU8[176 + i2 >> 0]; - if (i1 << 24 >> 24 < 0) { - HEAP32[i13 >> 2] = -1; - HEAPF64[i14 >> 3] = -1.0; - i1 = -4; - break L1; + while (1) { + if (($3 | 0) != ($5 | 0)) { + $9 = HEAPF32[$10 >> 2]; + HEAPF32[$6 >> 2] = Math_fround(HEAPF32[$2 >> 2] + Math_fround($9 + Math_fround(Math_fround($9 * Math_fround(6)) + Math_fround(Math_fround($9 + HEAPF32[$11 >> 2]) * Math_fround(4))))) * Math_fround(.00390625); + $2 = $2 + 4 | 0; + $11 = $11 + 4 | 0; + $10 = $10 + 4 | 0; + $6 = $6 + 4 | 0; + $5 = $5 + 1 | 0; + continue; } break; } - case 772: - case 1028: - case 1029: - case 1285: - { - i1 = _decode_bch(i12, i2, i1, 0, i16) | 0; - if ((i1 | 0) < 0) { - HEAP32[i13 >> 2] = -1; - HEAPF64[i14 >> 3] = -1.0; - i1 = -4; - break L1; - } - if ((i15 | 0) != 0 & (i1 | 0) != 0) HEAP32[i15 >> 2] = i1; - break; - } - default: - { - i15 = i16; - HEAP32[i15 >> 2] = i2; - HEAP32[i15 + 4 >> 2] = i1; - } - } - HEAP32[i13 >> 2] = HEAP32[i16 >> 2]; - i1 = 0; - } while (0); - STACKTOP = i17; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_118parse_substitutionINS0_2DbEEEPKcS4_S4_RT_(i1, i7, i9) { - i1 = i1 | 0; - i7 = i7 | 0; - i9 = i9 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i10 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i10; - L1 : do if ((i7 - i1 | 0) > 1 ? (HEAP8[i1 >> 0] | 0) == 83 : 0) { - i4 = HEAP8[i1 + 1 >> 0] | 0; - switch (i4 | 0) { - case 97: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm15EEERAT__Kc(i5, 50995); - i2 = i9 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 98: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm18EEERAT__Kc(i5, 51010); - i2 = i9 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 115: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm12EEERAT__Kc(i5, 50489); - i2 = i9 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 105: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm13EEERAT__Kc(i5, 50585); - i2 = i9 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 111: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm13EEERAT__Kc(i5, 50662); - i2 = i9 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 100: - { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm14EEERAT__Kc(i5, 50739); - i2 = i9 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i5); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i1 + 2 | 0; - break L1; - } - case 95: - { - i2 = HEAP32[i9 + 16 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i9 + 20 >> 2] | 0)) break L1; - i4 = HEAP32[i2 + 4 >> 2] | 0; - i5 = i9 + 4 | 0; - i6 = i9 + 8 | 0; - i2 = HEAP32[i2 >> 2] | 0; - while (1) { - if ((i2 | 0) == (i4 | 0)) break; - i3 = HEAP32[i5 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i6 >> 2] | 0)) __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIRKS3_EEvOT_(i9, i2); else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i3, i2); - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 24; - } - i2 = i2 + 24 | 0; - } - i1 = i1 + 2 | 0; - break L1; - } - default: - { - i3 = i4 + -48 | 0; - i2 = i3 >>> 0 < 10; - if (!i2 ? (_isupper(i4) | 0) == 0 : 0) break L1; - i8 = i1 + 2 | 0; - i2 = i2 ? i3 : i4 + -55 | 0; - while (1) { - if ((i8 | 0) == (i7 | 0)) break L1; - i3 = HEAP8[i8 >> 0] | 0; - i4 = i3 << 24 >> 24; - i6 = i4 + -48 | 0; - i5 = i6 >>> 0 < 10; - if (!i5 ? (_isupper(i4) | 0) == 0 : 0) break; - i8 = i8 + 1 | 0; - i2 = (i5 ? i6 : i4 + -55 | 0) + (i2 * 36 | 0) | 0; - } - if (i3 << 24 >> 24 != 95) break L1; - i3 = i2 + 1 | 0; - i7 = HEAP32[i9 + 16 >> 2] | 0; - i2 = i7; - if (i3 >>> 0 >= (HEAP32[i9 + 20 >> 2] | 0) - i7 >> 4 >>> 0) break L1; - i4 = HEAP32[i2 + (i3 << 4) + 4 >> 2] | 0; - i5 = i9 + 4 | 0; - i6 = i9 + 8 | 0; - i1 = HEAP32[i2 + (i3 << 4) >> 2] | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIRKS3_EEvOT_(i9, i1); else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i2, i1); - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 24; - } - i1 = i1 + 24 | 0; - } - i1 = i8 + 1 | 0; - break L1; - } - } - } while (0); - STACKTOP = i10; - return i1 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIfEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i25, i26, i2, i27, i21) { - i1 = i1 | 0; - i25 = i25 | 0; - i26 = i26 | 0; - i2 = i2 | 0; - i27 = i27 | 0; - i21 = i21 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, i23 = 0, i24 = 0, i28 = 0, d29 = 0.0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 336 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(336); - i12 = i24 + 160 | 0; - i13 = i24 + 328 | 0; - i14 = i24 + 324 | 0; - i23 = i24 + 312 | 0; - i22 = i24 + 300 | 0; - i15 = i24 + 296 | 0; - i16 = i24; - i17 = i24 + 292 | 0; - i18 = i24 + 288 | 0; - i19 = i24 + 333 | 0; - i11 = i24 + 332 | 0; - __ZNSt3__29__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_(i23, i2, i12, i13, i14); - HEAP32[i22 >> 2] = 0; - HEAP32[i22 + 4 >> 2] = 0; - HEAP32[i22 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i22 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i22 + 11 | 0; - i10 = i22 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i22 >> 2] | 0 : i22; - HEAP32[i15 >> 2] = i1; - HEAP32[i17 >> 2] = i16; - HEAP32[i18 >> 2] = 0; - HEAP8[i19 >> 0] = 1; - HEAP8[i11 >> 0] = 69; - i8 = i22 + 4 | 0; - i4 = HEAP32[i25 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i25 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i26 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i26 >> 2] = 0; - i28 = 19; - break; - } - } else i28 = 19; while (0); - if ((i28 | 0) == 19) { - i28 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i15 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i22 >> 2] | 0 : i22; - HEAP32[i15 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw(i2, i19, i11, i1, i15, HEAP32[i13 >> 2] | 0, HEAP32[i14 >> 2] | 0, i23, i16, i17, i18, i12) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - } - i3 = i7; - } - i14 = HEAP8[i23 + 11 >> 0] | 0; - if (!((HEAP8[i19 >> 0] | 0) == 0 ? 1 : ((i14 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i14 & 255) | 0) == 0) ? (i20 = HEAP32[i17 >> 2] | 0, (i20 - i16 | 0) < 160) : 0) { - i19 = HEAP32[i18 >> 2] | 0; - HEAP32[i17 >> 2] = i20 + 4; - HEAP32[i20 >> 2] = i19; - } - d29 = +__ZNSt3__215__num_get_floatIfEET_PKcS3_Rj(i1, HEAP32[i15 >> 2] | 0, i27); - HEAPF32[i21 >> 2] = d29; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i16, HEAP32[i17 >> 2] | 0, i27); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i25 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i28 = 50; - break; - } else { - HEAP32[i26 >> 2] = 0; - i28 = 48; - break; - } - } else i28 = 48; while (0); - if ((i28 | 0) == 48 ? i2 : 0) i28 = 50; - if ((i28 | 0) == 50) HEAP32[i27 >> 2] = HEAP32[i27 >> 2] | 2; - i28 = HEAP32[i25 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i22); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i24; - return i28 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIeEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i25, i26, i2, i27, i21) { - i1 = i1 | 0; - i25 = i25 | 0; - i26 = i26 | 0; - i2 = i2 | 0; - i27 = i27 | 0; - i21 = i21 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, i23 = 0, i24 = 0, i28 = 0, d29 = 0.0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 336 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(336); - i12 = i24 + 160 | 0; - i13 = i24 + 328 | 0; - i14 = i24 + 324 | 0; - i23 = i24 + 312 | 0; - i22 = i24 + 300 | 0; - i15 = i24 + 296 | 0; - i16 = i24; - i17 = i24 + 292 | 0; - i18 = i24 + 288 | 0; - i19 = i24 + 333 | 0; - i11 = i24 + 332 | 0; - __ZNSt3__29__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_(i23, i2, i12, i13, i14); - HEAP32[i22 >> 2] = 0; - HEAP32[i22 + 4 >> 2] = 0; - HEAP32[i22 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i22 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i22 + 11 | 0; - i10 = i22 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i22 >> 2] | 0 : i22; - HEAP32[i15 >> 2] = i1; - HEAP32[i17 >> 2] = i16; - HEAP32[i18 >> 2] = 0; - HEAP8[i19 >> 0] = 1; - HEAP8[i11 >> 0] = 69; - i8 = i22 + 4 | 0; - i4 = HEAP32[i25 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i25 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i26 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i26 >> 2] = 0; - i28 = 19; - break; - } - } else i28 = 19; while (0); - if ((i28 | 0) == 19) { - i28 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i15 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i22 >> 2] | 0 : i22; - HEAP32[i15 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw(i2, i19, i11, i1, i15, HEAP32[i13 >> 2] | 0, HEAP32[i14 >> 2] | 0, i23, i16, i17, i18, i12) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - } - i3 = i7; - } - i14 = HEAP8[i23 + 11 >> 0] | 0; - if (!((HEAP8[i19 >> 0] | 0) == 0 ? 1 : ((i14 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i14 & 255) | 0) == 0) ? (i20 = HEAP32[i17 >> 2] | 0, (i20 - i16 | 0) < 160) : 0) { - i19 = HEAP32[i18 >> 2] | 0; - HEAP32[i17 >> 2] = i20 + 4; - HEAP32[i20 >> 2] = i19; - } - d29 = +__ZNSt3__215__num_get_floatIeEET_PKcS3_Rj(i1, HEAP32[i15 >> 2] | 0, i27); - HEAPF64[i21 >> 3] = d29; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i16, HEAP32[i17 >> 2] | 0, i27); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i25 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i28 = 50; - break; - } else { - HEAP32[i26 >> 2] = 0; - i28 = 48; - break; - } - } else i28 = 48; while (0); - if ((i28 | 0) == 48 ? i2 : 0) i28 = 50; - if ((i28 | 0) == 50) HEAP32[i27 >> 2] = HEAP32[i27 >> 2] | 2; - i28 = HEAP32[i25 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i22); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i24; - return i28 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIdEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i25, i26, i2, i27, i21) { - i1 = i1 | 0; - i25 = i25 | 0; - i26 = i26 | 0; - i2 = i2 | 0; - i27 = i27 | 0; - i21 = i21 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, i23 = 0, i24 = 0, i28 = 0, d29 = 0.0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 336 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(336); - i12 = i24 + 160 | 0; - i13 = i24 + 328 | 0; - i14 = i24 + 324 | 0; - i23 = i24 + 312 | 0; - i22 = i24 + 300 | 0; - i15 = i24 + 296 | 0; - i16 = i24; - i17 = i24 + 292 | 0; - i18 = i24 + 288 | 0; - i19 = i24 + 333 | 0; - i11 = i24 + 332 | 0; - __ZNSt3__29__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_(i23, i2, i12, i13, i14); - HEAP32[i22 >> 2] = 0; - HEAP32[i22 + 4 >> 2] = 0; - HEAP32[i22 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i22 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i22 + 11 | 0; - i10 = i22 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i22 >> 2] | 0 : i22; - HEAP32[i15 >> 2] = i1; - HEAP32[i17 >> 2] = i16; - HEAP32[i18 >> 2] = 0; - HEAP8[i19 >> 0] = 1; - HEAP8[i11 >> 0] = 69; - i8 = i22 + 4 | 0; - i4 = HEAP32[i25 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i25 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i26 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i26 >> 2] = 0; - i28 = 19; - break; - } - } else i28 = 19; while (0); - if ((i28 | 0) == 19) { - i28 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i15 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i22 >> 2] | 0 : i22; - HEAP32[i15 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw(i2, i19, i11, i1, i15, HEAP32[i13 >> 2] | 0, HEAP32[i14 >> 2] | 0, i23, i16, i17, i18, i12) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - } - i3 = i7; - } - i14 = HEAP8[i23 + 11 >> 0] | 0; - if (!((HEAP8[i19 >> 0] | 0) == 0 ? 1 : ((i14 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i14 & 255) | 0) == 0) ? (i20 = HEAP32[i17 >> 2] | 0, (i20 - i16 | 0) < 160) : 0) { - i19 = HEAP32[i18 >> 2] | 0; - HEAP32[i17 >> 2] = i20 + 4; - HEAP32[i20 >> 2] = i19; - } - d29 = +__ZNSt3__215__num_get_floatIdEET_PKcS3_Rj(i1, HEAP32[i15 >> 2] | 0, i27); - HEAPF64[i21 >> 3] = d29; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i16, HEAP32[i17 >> 2] | 0, i27); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i25 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i28 = 50; - break; - } else { - HEAP32[i26 >> 2] = 0; - i28 = 48; - break; - } - } else i28 = 48; while (0); - if ((i28 | 0) == 48 ? i2 : 0) i28 = 50; - if ((i28 | 0) == 50) HEAP32[i27 >> 2] = HEAP32[i27 >> 2] | 2; - i28 = HEAP32[i25 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i22); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i24; - return i28 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIeEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i25, i26, i2, i27, i21) { - i1 = i1 | 0; - i25 = i25 | 0; - i26 = i26 | 0; - i2 = i2 | 0; - i27 = i27 | 0; - i21 = i21 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, i23 = 0, i24 = 0, i28 = 0, d29 = 0.0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i12 = i24 + 160 | 0; - i13 = i24 + 231 | 0; - i14 = i24 + 230 | 0; - i23 = i24 + 216 | 0; - i22 = i24 + 204 | 0; - i15 = i24 + 200 | 0; - i16 = i24; - i17 = i24 + 196 | 0; - i18 = i24 + 192 | 0; - i19 = i24 + 229 | 0; - i11 = i24 + 228 | 0; - __ZNSt3__29__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_(i23, i2, i12, i13, i14); - HEAP32[i22 >> 2] = 0; - HEAP32[i22 + 4 >> 2] = 0; - HEAP32[i22 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i22 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i22 + 11 | 0; - i10 = i22 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i22 >> 2] | 0 : i22; - HEAP32[i15 >> 2] = i1; - HEAP32[i17 >> 2] = i16; - HEAP32[i18 >> 2] = 0; - HEAP8[i19 >> 0] = 1; - HEAP8[i11 >> 0] = 69; - i8 = i22 + 4 | 0; - i4 = HEAP32[i25 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i25 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i26 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i26 >> 2] = 0; - i28 = 19; - break; - } - } else i28 = 19; while (0); - if ((i28 | 0) == 19) { - i28 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i15 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i22 >> 2] | 0 : i22; - HEAP32[i15 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_(i2 & 255, i19, i11, i1, i15, HEAP8[i13 >> 0] | 0, HEAP8[i14 >> 0] | 0, i23, i16, i17, i18, i12) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - } - i3 = i7; - } - i14 = HEAP8[i23 + 11 >> 0] | 0; - if (!((HEAP8[i19 >> 0] | 0) == 0 ? 1 : ((i14 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i14 & 255) | 0) == 0) ? (i20 = HEAP32[i17 >> 2] | 0, (i20 - i16 | 0) < 160) : 0) { - i19 = HEAP32[i18 >> 2] | 0; - HEAP32[i17 >> 2] = i20 + 4; - HEAP32[i20 >> 2] = i19; - } - d29 = +__ZNSt3__215__num_get_floatIeEET_PKcS3_Rj(i1, HEAP32[i15 >> 2] | 0, i27); - HEAPF64[i21 >> 3] = d29; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i16, HEAP32[i17 >> 2] | 0, i27); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i25 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i28 = 50; - break; - } else { - HEAP32[i26 >> 2] = 0; - i28 = 48; - break; - } - } else i28 = 48; while (0); - if ((i28 | 0) == 48 ? i2 : 0) i28 = 50; - if ((i28 | 0) == 50) HEAP32[i27 >> 2] = HEAP32[i27 >> 2] | 2; - i28 = HEAP32[i25 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i22); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i24; - return i28 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIdEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i25, i26, i2, i27, i21) { - i1 = i1 | 0; - i25 = i25 | 0; - i26 = i26 | 0; - i2 = i2 | 0; - i27 = i27 | 0; - i21 = i21 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, i23 = 0, i24 = 0, i28 = 0, d29 = 0.0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i12 = i24 + 160 | 0; - i13 = i24 + 231 | 0; - i14 = i24 + 230 | 0; - i23 = i24 + 216 | 0; - i22 = i24 + 204 | 0; - i15 = i24 + 200 | 0; - i16 = i24; - i17 = i24 + 196 | 0; - i18 = i24 + 192 | 0; - i19 = i24 + 229 | 0; - i11 = i24 + 228 | 0; - __ZNSt3__29__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_(i23, i2, i12, i13, i14); - HEAP32[i22 >> 2] = 0; - HEAP32[i22 + 4 >> 2] = 0; - HEAP32[i22 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i22 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i22 + 11 | 0; - i10 = i22 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i22 >> 2] | 0 : i22; - HEAP32[i15 >> 2] = i1; - HEAP32[i17 >> 2] = i16; - HEAP32[i18 >> 2] = 0; - HEAP8[i19 >> 0] = 1; - HEAP8[i11 >> 0] = 69; - i8 = i22 + 4 | 0; - i4 = HEAP32[i25 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i25 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i26 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i26 >> 2] = 0; - i28 = 19; - break; - } - } else i28 = 19; while (0); - if ((i28 | 0) == 19) { - i28 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i15 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i22 >> 2] | 0 : i22; - HEAP32[i15 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_(i2 & 255, i19, i11, i1, i15, HEAP8[i13 >> 0] | 0, HEAP8[i14 >> 0] | 0, i23, i16, i17, i18, i12) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - } - i3 = i7; - } - i14 = HEAP8[i23 + 11 >> 0] | 0; - if (!((HEAP8[i19 >> 0] | 0) == 0 ? 1 : ((i14 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i14 & 255) | 0) == 0) ? (i20 = HEAP32[i17 >> 2] | 0, (i20 - i16 | 0) < 160) : 0) { - i19 = HEAP32[i18 >> 2] | 0; - HEAP32[i17 >> 2] = i20 + 4; - HEAP32[i20 >> 2] = i19; - } - d29 = +__ZNSt3__215__num_get_floatIdEET_PKcS3_Rj(i1, HEAP32[i15 >> 2] | 0, i27); - HEAPF64[i21 >> 3] = d29; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i16, HEAP32[i17 >> 2] | 0, i27); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i25 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i28 = 50; - break; - } else { - HEAP32[i26 >> 2] = 0; - i28 = 48; - break; - } - } else i28 = 48; while (0); - if ((i28 | 0) == 48 ? i2 : 0) i28 = 50; - if ((i28 | 0) == 50) HEAP32[i27 >> 2] = HEAP32[i27 >> 2] | 2; - i28 = HEAP32[i25 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i22); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i24; - return i28 | 0; -} -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIfEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i25, i26, i2, i27, i21) { - i1 = i1 | 0; - i25 = i25 | 0; - i26 = i26 | 0; - i2 = i2 | 0; - i27 = i27 | 0; - i21 = i21 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, i23 = 0, i24 = 0, i28 = 0, d29 = 0.0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i12 = i24 + 160 | 0; - i13 = i24 + 231 | 0; - i14 = i24 + 230 | 0; - i23 = i24 + 216 | 0; - i22 = i24 + 204 | 0; - i15 = i24 + 200 | 0; - i16 = i24; - i17 = i24 + 196 | 0; - i18 = i24 + 192 | 0; - i19 = i24 + 229 | 0; - i11 = i24 + 228 | 0; - __ZNSt3__29__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_(i23, i2, i12, i13, i14); - HEAP32[i22 >> 2] = 0; - HEAP32[i22 + 4 >> 2] = 0; - HEAP32[i22 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i22 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i22 + 11 | 0; - i10 = i22 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i22 >> 2] | 0 : i22; - HEAP32[i15 >> 2] = i1; - HEAP32[i17 >> 2] = i16; - HEAP32[i18 >> 2] = 0; - HEAP8[i19 >> 0] = 1; - HEAP8[i11 >> 0] = 69; - i8 = i22 + 4 | 0; - i4 = HEAP32[i25 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i25 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i26 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i26 >> 2] = 0; - i28 = 19; - break; - } - } else i28 = 19; while (0); - if ((i28 | 0) == 19) { - i28 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i15 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i22, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i22 >> 2] | 0 : i22; - HEAP32[i15 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_(i2 & 255, i19, i11, i1, i15, HEAP8[i13 >> 0] | 0, HEAP8[i14 >> 0] | 0, i23, i16, i17, i18, i12) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - } - i3 = i7; - } - i14 = HEAP8[i23 + 11 >> 0] | 0; - if (!((HEAP8[i19 >> 0] | 0) == 0 ? 1 : ((i14 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i14 & 255) | 0) == 0) ? (i20 = HEAP32[i17 >> 2] | 0, (i20 - i16 | 0) < 160) : 0) { - i19 = HEAP32[i18 >> 2] | 0; - HEAP32[i17 >> 2] = i20 + 4; - HEAP32[i20 >> 2] = i19; - } - d29 = +__ZNSt3__215__num_get_floatIfEET_PKcS3_Rj(i1, HEAP32[i15 >> 2] | 0, i27); - HEAPF32[i21 >> 2] = d29; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i16, HEAP32[i17 >> 2] | 0, i27); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i25 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i28 = 50; - break; - } else { - HEAP32[i26 >> 2] = 0; - i28 = 48; - break; - } - } else i28 = 48; while (0); - if ((i28 | 0) == 48 ? i2 : 0) i28 = 50; - if ((i28 | 0) == 50) HEAP32[i27 >> 2] = HEAP32[i27 >> 2] | 2; - i28 = HEAP32[i25 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i22); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i24; - return i28 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedIyEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i20, i21, i2, i22, i19) { - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i2 = i2 | 0; - i22 = i22 | 0; - i19 = i19 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i26 = STACKTOP; - STACKTOP = STACKTOP + 304 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - i12 = i26 + 300 | 0; - i23 = i26 + 288 | 0; - i24 = i26 + 276 | 0; - i13 = i26 + 272 | 0; - i14 = i26; - i16 = i26 + 268 | 0; - i17 = i26 + 264 | 0; - i18 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i2) | 0; - i11 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw(i1, i2, i26 + 160 | 0) | 0; - __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw(i23, i2, i12); - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i24 + 11 | 0; - i10 = i24 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1; - HEAP32[i16 >> 2] = i14; - HEAP32[i17 >> 2] = 0; - i8 = i24 + 4 | 0; - i4 = HEAP32[i20 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i21 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i21 >> 2] = 0; - i25 = 19; - break; - } - } else i25 = 19; while (0); - if ((i25 | 0) == 19) { - i25 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i13 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw(i2, i18, i1, i13, i17, HEAP32[i12 >> 2] | 0, i23, i14, i16, i11) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - } - i3 = i7; - } - i12 = HEAP8[i23 + 11 >> 0] | 0; - if ((i12 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i12 & 255) | 0 ? (i15 = HEAP32[i16 >> 2] | 0, (i15 - i14 | 0) < 160) : 0) { - i17 = HEAP32[i17 >> 2] | 0; - HEAP32[i16 >> 2] = i15 + 4; - HEAP32[i15 >> 2] = i17; - } - i17 = __ZNSt3__227__num_get_unsigned_integralIyEET_PKcS3_Rji(i1, HEAP32[i13 >> 2] | 0, i22, i18) | 0; - i18 = getTempRet0() | 0; - HEAP32[i19 >> 2] = i17; - HEAP32[i19 + 4 >> 2] = i18; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i14, HEAP32[i16 >> 2] | 0, i22); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i25 = 50; - break; - } else { - HEAP32[i21 >> 2] = 0; - i25 = 48; - break; - } - } else i25 = 48; while (0); - if ((i25 | 0) == 48 ? i2 : 0) i25 = 50; - if ((i25 | 0) == 50) HEAP32[i22 >> 2] = HEAP32[i22 >> 2] | 2; - i25 = HEAP32[i20 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i26; - return i25 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedIyEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i20, i21, i2, i22, i19) { - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i2 = i2 | 0; - i22 = i22 | 0; - i19 = i19 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i26 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i12 = i26 + 224 | 0; - i23 = i26 + 212 | 0; - i24 = i26 + 200 | 0; - i13 = i26 + 196 | 0; - i14 = i26; - i16 = i26 + 192 | 0; - i17 = i26 + 188 | 0; - i18 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i2) | 0; - i11 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc(i1, i2, i26 + 160 | 0) | 0; - __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc(i23, i2, i12); - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i24 + 11 | 0; - i10 = i24 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1; - HEAP32[i16 >> 2] = i14; - HEAP32[i17 >> 2] = 0; - i8 = i24 + 4 | 0; - i4 = HEAP32[i20 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i21 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i21 >> 2] = 0; - i25 = 19; - break; - } - } else i25 = 19; while (0); - if ((i25 | 0) == 19) { - i25 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i13 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc(i2 & 255, i18, i1, i13, i17, HEAP8[i12 >> 0] | 0, i23, i14, i16, i11) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - } - i3 = i7; - } - i12 = HEAP8[i23 + 11 >> 0] | 0; - if ((i12 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i12 & 255) | 0 ? (i15 = HEAP32[i16 >> 2] | 0, (i15 - i14 | 0) < 160) : 0) { - i17 = HEAP32[i17 >> 2] | 0; - HEAP32[i16 >> 2] = i15 + 4; - HEAP32[i15 >> 2] = i17; - } - i17 = __ZNSt3__227__num_get_unsigned_integralIyEET_PKcS3_Rji(i1, HEAP32[i13 >> 2] | 0, i22, i18) | 0; - i18 = getTempRet0() | 0; - HEAP32[i19 >> 2] = i17; - HEAP32[i19 + 4 >> 2] = i18; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i14, HEAP32[i16 >> 2] | 0, i22); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i25 = 50; - break; - } else { - HEAP32[i21 >> 2] = 0; - i25 = 48; - break; - } - } else i25 = 48; while (0); - if ((i25 | 0) == 48 ? i2 : 0) i25 = 50; - if ((i25 | 0) == 50) HEAP32[i22 >> 2] = HEAP32[i22 >> 2] | 2; - i25 = HEAP32[i20 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i26; - return i25 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__do_get_signedIxEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i20, i21, i2, i22, i19) { - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i2 = i2 | 0; - i22 = i22 | 0; - i19 = i19 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i26 = STACKTOP; - STACKTOP = STACKTOP + 304 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - i12 = i26 + 300 | 0; - i23 = i26 + 288 | 0; - i24 = i26 + 276 | 0; - i13 = i26 + 272 | 0; - i14 = i26; - i16 = i26 + 268 | 0; - i17 = i26 + 264 | 0; - i18 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i2) | 0; - i11 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw(i1, i2, i26 + 160 | 0) | 0; - __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw(i23, i2, i12); - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i24 + 11 | 0; - i10 = i24 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1; - HEAP32[i16 >> 2] = i14; - HEAP32[i17 >> 2] = 0; - i8 = i24 + 4 | 0; - i4 = HEAP32[i20 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i21 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i21 >> 2] = 0; - i25 = 19; - break; - } - } else i25 = 19; while (0); - if ((i25 | 0) == 19) { - i25 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i13 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw(i2, i18, i1, i13, i17, HEAP32[i12 >> 2] | 0, i23, i14, i16, i11) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - } - i3 = i7; - } - i12 = HEAP8[i23 + 11 >> 0] | 0; - if ((i12 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i12 & 255) | 0 ? (i15 = HEAP32[i16 >> 2] | 0, (i15 - i14 | 0) < 160) : 0) { - i17 = HEAP32[i17 >> 2] | 0; - HEAP32[i16 >> 2] = i15 + 4; - HEAP32[i15 >> 2] = i17; - } - i17 = __ZNSt3__225__num_get_signed_integralIxEET_PKcS3_Rji(i1, HEAP32[i13 >> 2] | 0, i22, i18) | 0; - i18 = getTempRet0() | 0; - HEAP32[i19 >> 2] = i17; - HEAP32[i19 + 4 >> 2] = i18; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i14, HEAP32[i16 >> 2] | 0, i22); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i25 = 50; - break; - } else { - HEAP32[i21 >> 2] = 0; - i25 = 48; - break; - } - } else i25 = 48; while (0); - if ((i25 | 0) == 48 ? i2 : 0) i25 = 50; - if ((i25 | 0) == 50) HEAP32[i22 >> 2] = HEAP32[i22 >> 2] | 2; - i25 = HEAP32[i20 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i26; - return i25 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__do_get_signedIxEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i20, i21, i2, i22, i19) { - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i2 = i2 | 0; - i22 = i22 | 0; - i19 = i19 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i26 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i12 = i26 + 224 | 0; - i23 = i26 + 212 | 0; - i24 = i26 + 200 | 0; - i13 = i26 + 196 | 0; - i14 = i26; - i16 = i26 + 192 | 0; - i17 = i26 + 188 | 0; - i18 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i2) | 0; - i11 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc(i1, i2, i26 + 160 | 0) | 0; - __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc(i23, i2, i12); - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i24 + 11 | 0; - i10 = i24 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1; - HEAP32[i16 >> 2] = i14; - HEAP32[i17 >> 2] = 0; - i8 = i24 + 4 | 0; - i4 = HEAP32[i20 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i21 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i21 >> 2] = 0; - i25 = 19; + $5 = $3 << 2; + $6 = $5 + $0 | 0; + $10 = $5 + $8 | 0; + $5 = 0; + $11 = $1; + while (1) { + if (($3 | 0) == ($5 | 0)) { + label$13: { + $13 = $4 - 2 | 0; + $12 = 2; + label$14: while (1) { + label$15: { + if (($12 | 0) == ($13 | 0)) { + $5 = $3 << 2; + $7 = (Math_imul($4 - 4 | 0, $3) << 2) + $1 | 0; + $8 = $5 + $7 | 0; + $6 = $5 + $8 | 0; + $10 = $6 + $5 | 0; + $11 = (Math_imul($3, $13) << 2) + $0 | 0; + $5 = 0; + break label$15; + } + $5 = $3 << 2; + $7 = (Math_imul($12 - 2 | 0, $3) << 2) + $1 | 0; + $8 = $5 + $7 | 0; + $6 = $5 + $8 | 0; + $10 = $6 + $5 | 0; + $11 = $10 + $5 | 0; + $2 = (Math_imul($3, $12) << 2) + $0 | 0; + $5 = 0; + while (1) if (($3 | 0) == ($5 | 0)) { + $12 = $12 + 1 | 0; + continue label$14; + } else { + HEAPF32[$2 >> 2] = Math_fround(HEAPF32[$11 >> 2] + Math_fround(HEAPF32[$7 >> 2] + Math_fround(Math_fround(HEAPF32[$6 >> 2] * Math_fround(6)) + Math_fround(Math_fround(HEAPF32[$8 >> 2] + HEAPF32[$10 >> 2]) * Math_fround(4))))) * Math_fround(.00390625); + $11 = $11 + 4 | 0; + $10 = $10 + 4 | 0; + $6 = $6 + 4 | 0; + $8 = $8 + 4 | 0; + $7 = $7 + 4 | 0; + $2 = $2 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } + } + break; + } + while (1) { + if (($3 | 0) != ($5 | 0)) { + $9 = HEAPF32[$10 >> 2]; + HEAPF32[$11 >> 2] = Math_fround($9 + Math_fround(HEAPF32[$7 >> 2] + Math_fround(Math_fround(HEAPF32[$6 >> 2] * Math_fround(6)) + Math_fround(Math_fround($9 + HEAPF32[$8 >> 2]) * Math_fround(4))))) * Math_fround(.00390625); + $10 = $10 + 4 | 0; + $6 = $6 + 4 | 0; + $8 = $8 + 4 | 0; + $7 = $7 + 4 | 0; + $11 = $11 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } + break; + } + $5 = $3 << 2; + $7 = (Math_imul($4 - 3 | 0, $3) << 2) + $1 | 0; + $8 = $5 + $7 | 0; + $6 = $5 + $8 | 0; + $10 = (Math_imul($4 - 1 | 0, $3) << 2) + $0 | 0; + $5 = 0; + while (1) { + if (($3 | 0) == ($5 | 0)) { + break label$13; + } + $9 = HEAPF32[$6 >> 2]; + HEAPF32[$10 >> 2] = Math_fround($9 + Math_fround(HEAPF32[$7 >> 2] + Math_fround(Math_fround($9 * Math_fround(6)) + Math_fround(Math_fround($9 + HEAPF32[$8 >> 2]) * Math_fround(4))))) * Math_fround(.00390625); + $6 = $6 + 4 | 0; + $8 = $8 + 4 | 0; + $7 = $7 + 4 | 0; + $10 = $10 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } + } + } else { + $9 = HEAPF32[$11 >> 2]; + HEAPF32[$6 >> 2] = Math_fround(HEAPF32[$10 >> 2] + Math_fround($9 + Math_fround(Math_fround(HEAPF32[$7 >> 2] * Math_fround(6)) + Math_fround(Math_fround($9 + HEAPF32[$8 >> 2]) * Math_fround(4))))) * Math_fround(.00390625); + $10 = $10 + 4 | 0; + $8 = $8 + 4 | 0; + $7 = $7 + 4 | 0; + $11 = $11 + 4 | 0; + $6 = $6 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } break; } - } else i25 = 19; while (0); - if ((i25 | 0) == 19) { - i25 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i13 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc(i2 & 255, i18, i1, i13, i17, HEAP8[i12 >> 0] | 0, i23, i14, i16, i11) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - } - i3 = i7; - } - i12 = HEAP8[i23 + 11 >> 0] | 0; - if ((i12 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i12 & 255) | 0 ? (i15 = HEAP32[i16 >> 2] | 0, (i15 - i14 | 0) < 160) : 0) { - i17 = HEAP32[i17 >> 2] | 0; - HEAP32[i16 >> 2] = i15 + 4; - HEAP32[i15 >> 2] = i17; - } - i17 = __ZNSt3__225__num_get_signed_integralIxEET_PKcS3_Rji(i1, HEAP32[i13 >> 2] | 0, i22, i18) | 0; - i18 = getTempRet0() | 0; - HEAP32[i19 >> 2] = i17; - HEAP32[i19 + 4 >> 2] = i18; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i14, HEAP32[i16 >> 2] | 0, i22); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i25 = 50; - break; - } else { - HEAP32[i21 >> 2] = 0; - i25 = 48; - break; - } - } else i25 = 48; while (0); - if ((i25 | 0) == 48 ? i2 : 0) i25 = 50; - if ((i25 | 0) == 50) HEAP32[i22 >> 2] = HEAP32[i22 >> 2] | 2; - i25 = HEAP32[i20 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i26; - return i25 | 0; -} - -function __ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb(i15, i16, i1, i17, i13, i18, i14) { - i15 = i15 | 0; - i16 = i16 | 0; - i1 = i1 | 0; - i17 = i17 | 0; - i13 = i13 | 0; - i18 = i18 | 0; - i14 = i14 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i19 = 0, i20 = 0, i21 = 0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - i3 = i21; - i4 = (i17 - i1 | 0) / 12 | 0; - if (i4 >>> 0 > 100) { - i3 = _malloc(i4) | 0; - if (!i3) __ZSt17__throw_bad_allocv(); else { - i2 = i3; - i19 = i3; + return; } - } else { - i2 = i3; - i19 = 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 4978), 2354), 3289), 169), 3786), 4167), 16); + abort(); + abort(); } - i6 = i1; - i7 = i2; - i3 = 0; - while (1) { - if ((i6 | 0) == (i17 | 0)) break; - i5 = HEAP8[i6 + 11 >> 0] | 0; - if (i5 << 24 >> 24 < 0) i5 = HEAP32[i6 + 4 >> 2] | 0; else i5 = i5 & 255; - if (!i5) { - HEAP8[i7 >> 0] = 2; - i4 = i4 + -1 | 0; - i3 = i3 + 1 | 0; - } else HEAP8[i7 >> 0] = 1; - i6 = i6 + 12 | 0; - i7 = i7 + 1 | 0; - } - i12 = 0; - i10 = i3; - while (1) { - i3 = HEAP32[i15 >> 2] | 0; - do if (i3) { - i5 = HEAP32[i3 + 12 >> 2] | 0; - if ((i5 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i3 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i5 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i3, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i15 >> 2] = 0; - i7 = 1; - break; - } else { - i7 = (HEAP32[i15 >> 2] | 0) == 0; - break; - } - } else i7 = 1; while (0); - i5 = HEAP32[i16 >> 2] | 0; - if (i5) { - i3 = HEAP32[i5 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i5 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 36 >> 2] & 127](i5) | 0; else i3 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i3, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i16 >> 2] = 0; - i3 = 1; - i5 = 0; - } else i3 = 0; - } else { - i3 = 1; - i5 = 0; - } - i6 = HEAP32[i15 >> 2] | 0; - if (!((i4 | 0) != 0 & (i7 ^ i3))) break; - i3 = HEAP32[i6 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i6 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0; else i3 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - i3 = i3 & 255; - if (!i14) i3 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i13 >> 2] | 0) + 12 >> 2] & 63](i13, i3) | 0; - i11 = i12 + 1 | 0; - i8 = i1; - i7 = 0; - i9 = i2; - while (1) { - if ((i8 | 0) == (i17 | 0)) break; - do if ((HEAP8[i9 >> 0] | 0) == 1) { - i6 = i8 + 11 | 0; - if ((HEAP8[i6 >> 0] | 0) < 0) i5 = HEAP32[i8 >> 2] | 0; else i5 = i8; - i5 = HEAP8[i5 + i12 >> 0] | 0; - if (!i14) i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i13 >> 2] | 0) + 12 >> 2] & 63](i13, i5) | 0; - if (i3 << 24 >> 24 != i5 << 24 >> 24) { - HEAP8[i9 >> 0] = 0; - i5 = i7; - i6 = i10; - i4 = i4 + -1 | 0; - break; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 1122), 2354), 3289), 168), 3786), 4167), 16); + abort(); + abort(); +} + +function vision__BinaryFeatureMatcher_96___match_28vision__BinaryFeatureStore_20const__2c_20vision__BinaryFeatureStore_20const__2c_20float_20const__2c_20float_29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $5 = __stack_pointer + -64 | 0; + __stack_pointer = $5; + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____clear_28_29($0); + label$1: { + label$2: { + label$3: { + if (!vision__BinaryFeatureStore__size_28_29_20const($1)) { + break label$3; } - i5 = HEAP8[i6 >> 0] | 0; - if (i5 << 24 >> 24 < 0) i5 = HEAP32[i8 + 4 >> 2] | 0; else i5 = i5 & 255; - if ((i5 | 0) == (i11 | 0)) { - HEAP8[i9 >> 0] = 2; - i5 = 1; - i6 = i10 + 1 | 0; - i4 = i4 + -1 | 0; - } else { - i5 = 1; - i6 = i10; + if (!vision__BinaryFeatureStore__size_28_29_20const($2)) { + break label$3; } - } else { - i5 = i7; - i6 = i10; - } while (0); - i8 = i8 + 12 | 0; - i7 = i5; - i9 = i9 + 1 | 0; - i10 = i6; - } - L67 : do if (i7) { - i3 = HEAP32[i15 >> 2] | 0; - i5 = i3 + 12 | 0; - i6 = HEAP32[i5 >> 2] | 0; - if ((i6 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 40 >> 2] & 127](i3) | 0; else { - HEAP32[i5 >> 2] = i6 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i6 >> 0] | 0) | 0; - } - if ((i10 + i4 | 0) >>> 0 > 1) { - i6 = i1; - i7 = i2; - i3 = i10; + $4 = float_20vision__sqr_float__28float_29($4); + if (!bool_20vision__MatrixInverse3x3_float__28float__2c_20float_20const__2c_20float_29($5 + 16 | 0, $3, Math_fround(0))) { + break label$2; + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____reserve_28unsigned_20long_29($0, vision__BinaryFeatureStore__size_28_29_20const($1)); while (1) { - if ((i6 | 0) == (i17 | 0)) break L67; - if ((HEAP8[i7 >> 0] | 0) == 2) { - i5 = HEAP8[i6 + 11 >> 0] | 0; - if (i5 << 24 >> 24 < 0) i5 = HEAP32[i6 + 4 >> 2] | 0; else i5 = i5 & 255; - if ((i5 | 0) != (i11 | 0)) { - HEAP8[i7 >> 0] = 0; - i3 = i3 + -1 | 0; - } - } - i6 = i6 + 12 | 0; - i7 = i7 + 1 | 0; - } - } else i3 = i10; - } else i3 = i10; while (0); - i12 = i11; - i10 = i3; - } - do if (i6) { - i3 = HEAP32[i6 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i6 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0; else i3 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i3, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i15 >> 2] = 0; - i4 = 1; - break; - } else { - i4 = (HEAP32[i15 >> 2] | 0) == 0; - break; - } - } else i4 = 1; while (0); - do if (i5) { - i3 = HEAP32[i5 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i5 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 36 >> 2] & 127](i5) | 0; else i3 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i3, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i4) break; else { - i20 = 79; - break; - } else { - HEAP32[i16 >> 2] = 0; - i20 = 41; - break; - } - } else i20 = 41; while (0); - if ((i20 | 0) == 41 ? i4 : 0) i20 = 79; - if ((i20 | 0) == 79) HEAP32[i18 >> 2] = HEAP32[i18 >> 2] | 2; - while (1) { - if ((i1 | 0) == (i17 | 0)) { - i20 = 84; - break; - } - if ((HEAP8[i2 >> 0] | 0) == 2) break; - i1 = i1 + 12 | 0; - i2 = i2 + 1 | 0; - } - if ((i20 | 0) == 84) { - HEAP32[i18 >> 2] = HEAP32[i18 >> 2] | 4; - i1 = i17; - } - _free(i19); - STACKTOP = i21; - return i1 | 0; -} - -function __ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb(i15, i16, i1, i17, i13, i18, i14) { - i15 = i15 | 0; - i16 = i16 | 0; - i1 = i1 | 0; - i17 = i17 | 0; - i13 = i13 | 0; - i18 = i18 | 0; - i14 = i14 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i19 = 0, i20 = 0, i21 = 0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - i3 = i21; - i4 = (i17 - i1 | 0) / 12 | 0; - if (i4 >>> 0 > 100) { - i3 = _malloc(i4) | 0; - if (!i3) __ZSt17__throw_bad_allocv(); else { - i2 = i3; - i19 = i3; + label$5: { + if (vision__BinaryFeatureStore__size_28_29_20const($1) >>> 0 <= $7 >>> 0) { + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0) >>> 0 <= vision__BinaryFeatureStore__size_28_29_20const($1) >>> 0) { + break label$5; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 22804), 22621), 9176), 256), 10040), 22864), 16); + abort(); + abort(); + } + $9 = std____2__numeric_limits_unsigned_20int___max_28_29(); + $8 = std____2__numeric_limits_unsigned_20int___max_28_29(); + $10 = std____2__numeric_limits_int___max_28_29(); + $12 = vision__BinaryFeatureStore__feature_28unsigned_20long_29_20const($1, $7); + $11 = vision__BinaryFeatureStore__point_28unsigned_20long_29_20const($1, $7); + void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float__2c_20float_20const__2c_20float_2c_20float_29($5 + 12 | 0, $5 + 8 | 0, $5 + 16 | 0, HEAPF32[$11 >> 2], HEAPF32[$11 + 4 >> 2]); + $6 = 0; + label$7: { + while (1) { + if (vision__BinaryFeatureStore__size_28_29_20const($2) >>> 0 <= $6 >>> 0) { + label$10: { + if ((std____2__numeric_limits_unsigned_20int___max_28_29() | 0) == ($9 | 0)) { + break label$7; + } + if ((std____2__numeric_limits_unsigned_20long___max_28_29() | 0) == ($10 | 0)) { + break label$1; + } + if ((std____2__numeric_limits_unsigned_20int___max_28_29() | 0) != ($8 | 0)) { + break label$10; + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____push_back_28vision__match_t___29($0, vision__match_t__match_t_28int_2c_20int_29($5, $7, $10)); + break label$7; + } + } else { + $3 = vision__BinaryFeatureStore__point_28unsigned_20long_29_20const($2, $6); + label$12: { + if (HEAPU8[$11 + 16 | 0] != HEAPU8[$3 + 16 | 0]) { + break label$12; + } + if (Math_fround(float_20vision__sqr_float__28float_29(Math_fround(HEAPF32[$5 + 12 >> 2] - HEAPF32[$3 >> 2])) + float_20vision__sqr_float__28float_29(Math_fround(HEAPF32[$5 + 8 >> 2] - HEAPF32[$3 + 4 >> 2]))) > $4) { + break label$12; + } + $3 = vision__HammingDistance768_28unsigned_20int_20const__2c_20unsigned_20int_20const__29($12, vision__BinaryFeatureStore__feature_28unsigned_20long_29_20const($2, $6)); + if ($9 >>> 0 > $3 >>> 0) { + $10 = $6; + $8 = $9; + $9 = $3; + break label$12; + } + $8 = $3 >>> 0 < $8 >>> 0 ? $3 : $8; + } + $6 = $6 + 1 | 0; + continue; + } + break; + } + if (!(HEAPF32[$0 + 12 >> 2] > Math_fround(Math_fround($9 >>> 0) / Math_fround($8 >>> 0)))) { + break label$7; + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____push_back_28vision__match_t___29($0, vision__match_t__match_t_28int_2c_20int_29($5, $7, $10)); + } + $7 = $7 + 1 | 0; + continue; + } + break; + } + $6 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0); + } + __stack_pointer = $5 - -64 | 0; + return $6; } - } else { - i2 = i3; - i19 = 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25844), 22621), 9176), 196), 10040), 25869), 16); + abort(); + abort(); } - i3 = 0; - i6 = i1; - i7 = i2; - while (1) { - if ((i6 | 0) == (i17 | 0)) break; - i5 = HEAP8[i6 + 8 + 3 >> 0] | 0; - if (i5 << 24 >> 24 < 0) i5 = HEAP32[i6 + 4 >> 2] | 0; else i5 = i5 & 255; - if (!i5) { - HEAP8[i7 >> 0] = 2; - i3 = i3 + 1 | 0; - i4 = i4 + -1 | 0; - } else HEAP8[i7 >> 0] = 1; - i6 = i6 + 12 | 0; - i7 = i7 + 1 | 0; - } - i12 = 0; - i10 = i3; - while (1) { - i3 = HEAP32[i15 >> 2] | 0; - do if (i3) { - i5 = HEAP32[i3 + 12 >> 2] | 0; - if ((i5 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i3 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i5 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i3, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i15 >> 2] = 0; - i7 = 1; - break; - } else { - i7 = (HEAP32[i15 >> 2] | 0) == 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 22549), 22621), 9176), 241), 10040), 22729), 16); + abort(); + abort(); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNewExpr_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 112 | 0; + __stack_pointer = $1; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 96 | 0, 30279); + $4 = HEAP32[$3 >> 2]; + $2 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 32 >> 2] = $4; + HEAP32[$1 + 36 >> 2] = $2; + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 32 | 0), + HEAP8[wasm2js_i32$0 + 111 | 0] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1) | 0) == 97, + HEAP8[wasm2js_i32$0 + 95 | 0] = wasm2js_i32$1; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 80 | 0, 28594); + $2 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 24 >> 2] = $2; + HEAP32[$1 + 28 >> 2] = $4; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 24 | 0)) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 72 | 0, 34340); + $4 = HEAP32[$3 >> 2]; + $2 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 16 >> 2] = $4; + HEAP32[$1 + 20 >> 2] = $2; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 16 | 0)) { + break label$1; + } + } + $6 = $0 + 8 | 0; + $5 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($6); + label$3: { + while (1) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 64 >> 2] = $2; + if (!$2) { + break label$3; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($6, $1 - -64 | 0); + continue; + } break; } - } else i7 = 1; while (0); - i5 = HEAP32[i16 >> 2] | 0; - if (i5) { - i3 = HEAP32[i5 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i5 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 36 >> 2] & 127](i5) | 0; else i3 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i3, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i16 >> 2] = 0; - i3 = 1; - i5 = 0; - } else i3 = 0; - } else { - i3 = 1; - i5 = 0; - } - i6 = HEAP32[i15 >> 2] | 0; - if (!((i4 | 0) != 0 & (i7 ^ i3))) break; - i3 = HEAP32[i6 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i6 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0; else i3 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (!i14) i3 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i13 >> 2] | 0) + 28 >> 2] & 63](i13, i3) | 0; - i11 = i12 + 1 | 0; - i8 = i1; - i7 = 0; - i9 = i2; - while (1) { - if ((i8 | 0) == (i17 | 0)) break; - do if ((HEAP8[i9 >> 0] | 0) == 1) { - i6 = i8 + 8 + 3 | 0; - if ((HEAP8[i6 >> 0] | 0) < 0) i5 = HEAP32[i8 >> 2] | 0; else i5 = i8; - i5 = HEAP32[i5 + (i12 << 2) >> 2] | 0; - if (!i14) i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i13 >> 2] | 0) + 28 >> 2] & 63](i13, i5) | 0; - if ((i3 | 0) != (i5 | 0)) { - HEAP8[i9 >> 0] = 0; - i5 = i7; - i6 = i10; - i4 = i4 + -1 | 0; - break; - } - i5 = HEAP8[i6 >> 0] | 0; - if (i5 << 24 >> 24 < 0) i5 = HEAP32[i8 + 4 >> 2] | 0; else i5 = i5 & 255; - if ((i5 | 0) == (i11 | 0)) { - HEAP8[i9 >> 0] = 2; - i5 = 1; - i6 = i10 + 1 | 0; - i4 = i4 + -1 | 0; - } else { - i5 = 1; - i6 = i10; - } - } else { - i5 = i7; - i6 = i10; - } while (0); - i8 = i8 + 12 | 0; - i7 = i5; - i9 = i9 + 1 | 0; - i10 = i6; - } - L67 : do if (i7) { - i3 = HEAP32[i15 >> 2] | 0; - i5 = i3 + 12 | 0; - i6 = HEAP32[i5 >> 2] | 0; - if ((i6 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 40 >> 2] & 127](i3) | 0; else { - HEAP32[i5 >> 2] = i6 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i6 >> 2] | 0) | 0; - } - if ((i10 + i4 | 0) >>> 0 > 1) { - i6 = i1; - i7 = i2; - i3 = i10; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 - -64 | 0, $0, $5); + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 60 >> 2] = $2; + $5 = 0; + if (!$2) { + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 48 | 0, 31502); + $2 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 + 8 >> 2] = $2; + HEAP32[$1 + 12 >> 2] = $4; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 8 | 0)) { + $4 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($6); while (1) { - if ((i6 | 0) == (i17 | 0)) break L67; - if ((HEAP8[i7 >> 0] | 0) == 2) { - i5 = HEAP8[i6 + 8 + 3 >> 0] | 0; - if (i5 << 24 >> 24 < 0) i5 = HEAP32[i6 + 4 >> 2] | 0; else i5 = i5 & 255; - if ((i5 | 0) != (i11 | 0)) { - HEAP8[i7 >> 0] = 0; - i3 = i3 + -1 | 0; - } - } - i6 = i6 + 12 | 0; - i7 = i7 + 1 | 0; - } - } else i3 = i10; - } else i3 = i10; while (0); - i12 = i11; - i10 = i3; - } - do if (i6) { - i3 = HEAP32[i6 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i6 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0; else i3 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i3, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i15 >> 2] = 0; - i4 = 1; - break; - } else { - i4 = (HEAP32[i15 >> 2] | 0) == 0; - break; - } - } else i4 = 1; while (0); - do if (i5) { - i3 = HEAP32[i5 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i5 + 16 >> 2] | 0)) i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 36 >> 2] & 127](i5) | 0; else i3 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i3, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i4) break; else { - i20 = 79; - break; - } else { - HEAP32[i16 >> 2] = 0; - i20 = 41; - break; - } - } else i20 = 41; while (0); - if ((i20 | 0) == 41 ? i4 : 0) i20 = 79; - if ((i20 | 0) == 79) HEAP32[i18 >> 2] = HEAP32[i18 >> 2] | 2; - while (1) { - if ((i1 | 0) == (i17 | 0)) { - i20 = 84; - break; - } - if ((HEAP8[i2 >> 0] | 0) == 2) break; - i1 = i1 + 12 | 0; - i2 = i2 + 1 | 0; - } - if ((i20 | 0) == 84) { - HEAP32[i18 >> 2] = HEAP32[i18 >> 2] | 4; - i1 = i17; - } - _free(i19); - STACKTOP = i21; - return i1 | 0; -} - -function _decode_mcu_AC_refine(i9, i1) { - i9 = i9 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0; - i29 = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - i22 = i29 + 256 | 0; - i21 = i29; - i28 = HEAP32[i9 + 444 >> 2] | 0; - i19 = HEAP32[i9 + 404 >> 2] | 0; - i16 = HEAP32[i9 + 412 >> 2] | 0; - i15 = 1 << i16; - i16 = -1 << i16; - if (((HEAP32[i9 + 276 >> 2] | 0) != 0 ? (HEAP32[i28 + 40 >> 2] | 0) == 0 : 0) ? (_process_restart_49(i9) | 0) == 0 : 0) i1 = 0; else i14 = 4; - L4 : do if ((i14 | 0) == 4) { - do if (!(HEAP32[i28 + 8 >> 2] | 0)) { - HEAP32[i22 + 16 >> 2] = i9; - i23 = i9 + 24 | 0; - i25 = HEAP32[i23 >> 2] | 0; - HEAP32[i22 >> 2] = HEAP32[i25 >> 2]; - i24 = i22 + 4 | 0; - HEAP32[i24 >> 2] = HEAP32[i25 + 4 >> 2]; - i25 = i28 + 12 | 0; - i4 = HEAP32[i25 >> 2] | 0; - i26 = i28 + 16 | 0; - i2 = HEAP32[i26 >> 2] | 0; - i27 = i28 + 20 | 0; - i3 = HEAP32[i27 >> 2] | 0; - i20 = HEAP32[i1 >> 2] | 0; - i8 = HEAP32[i28 + 60 >> 2] | 0; - i5 = HEAP32[i9 + 400 >> 2] | 0; - i12 = i22 + 8 | 0; - i13 = i22 + 12 | 0; - L8 : do if (!i3) { - i1 = 0; - L10 : while (1) { - if ((i5 | 0) > (i19 | 0)) { - i3 = 0; - i1 = i4; - i14 = 56; - break L8; - } - if ((i2 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer(i22, i4, i2, 0) | 0)) break L8; - i4 = HEAP32[i12 >> 2] | 0; - i2 = HEAP32[i13 >> 2] | 0; - if ((i2 | 0) < 8) { - i3 = 1; - i14 = 13; - } else i14 = 11; - } else i14 = 11; - if ((i14 | 0) == 11) { - i14 = 0; - i3 = i4 >> i2 + -8 & 255; - i6 = HEAP32[i8 + 144 + (i3 << 2) >> 2] | 0; - if (!i6) { - i3 = 9; - i14 = 13; - } else { - i3 = HEAPU8[i8 + 1168 + i3 >> 0] | 0; - i2 = i2 - i6 | 0; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 40 >> 2] = $2; + if (!$2) { + break label$1; } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($6, $1 + 40 | 0); + continue; } - if ((i14 | 0) == 13) { - i14 = 0; - i2 = _jpeg_huff_decode(i22, i4, i2, i8, i3) | 0; - if ((i2 | 0) < 0) break L8; - i3 = i2; - i2 = HEAP32[i13 >> 2] | 0; - i4 = HEAP32[i12 >> 2] | 0; - } - i6 = i3 >>> 4; - switch (i3 & 15) { - case 0: - { - if ((i6 | 0) == 15) i7 = 0; else break L10; - break; - } - case 1: - { - i14 = 17; - break; - } - default: - { - i14 = HEAP32[i9 >> 2] | 0; - HEAP32[i14 + 20 >> 2] = 118; - FUNCTION_TABLE_vii[HEAP32[i14 + 4 >> 2] & 63](i9, -1); - i14 = 17; - } - } - if ((i14 | 0) == 17) { - i14 = 0; - if ((i2 | 0) < 1) { - if (!(_jpeg_fill_bit_buffer(i22, i4, i2, 1) | 0)) break L8; - i2 = HEAP32[i13 >> 2] | 0; - i4 = HEAP32[i12 >> 2] | 0; - } - i2 = i2 + -1 | 0; - i7 = (1 << i2 & i4 | 0) == 0 ? i16 : i15; - } - i3 = i6; - L33 : while (1) { - i6 = i20 + (HEAP32[2560 + (i5 << 2) >> 2] << 1) | 0; - do if (!(HEAP16[i6 >> 1] | 0)) if ((i3 | 0) < 1) break L33; else i3 = i3 + -1 | 0; else { - if ((i2 | 0) < 1) { - if (!(_jpeg_fill_bit_buffer(i22, i4, i2, 1) | 0)) break L8; - i2 = HEAP32[i13 >> 2] | 0; - i4 = HEAP32[i12 >> 2] | 0; - } - i2 = i2 + -1 | 0; - if ((1 << i2 & i4 | 0) != 0 ? (i10 = HEAP16[i6 >> 1] | 0, i11 = i10 << 16 >> 16, (i15 & i11 | 0) == 0) : 0) if (i10 << 16 >> 16 > -1) { - HEAP16[i6 >> 1] = i15 + i11; + break; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 + 40 | 0, $0, $4); + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NewExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20bool__2c_20bool___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20bool__2c_20bool__29($0, $1 - -64 | 0, $1 + 60 | 0, $1 + 40 | 0, $1 + 111 | 0, $1 + 95 | 0); + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NewExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool__2c_20bool___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20bool__2c_20bool__29($0, $1 - -64 | 0, $1 + 60 | 0, $28anonymous_20namespace_29__itanium_demangle__NodeArray__NodeArray_28_29($1 + 40 | 0), $1 + 111 | 0, $1 + 95 | 0); + break label$1; + } + $5 = 0; + } + __stack_pointer = $1 + 112 | 0; + return $5; +} + +function ar2GetTransMatHomographyRobust($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = Math_fround(0), $8 = 0, $9 = Math_fround(0), $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = Math_fround(0), $15 = 0, $16 = 0, $17 = Math_fround(0), $18 = 0, $19 = Math_fround(0), $20 = Math_fround(0), $21 = Math_fround(0), $22 = 0, $23 = Math_fround(0), $24 = Math_fround(0), $25 = Math_fround(0), $26 = Math_fround(0), $27 = Math_fround(0); + $10 = __stack_pointer - 32 | 0; + __stack_pointer = $10; + $7 = Math_fround(1e8); + label$1: { + if (($3 | 0) < 4 | HEAPF32[$0 + 44 >> 2] == Math_fround(0)) { + break label$1; + } + $23 = Math_fround($3 | 0); + $5 = Math_fround($23 * $5); + label$2: { + if (Math_fround(Math_abs($5)) < Math_fround(2147483648)) { + $6 = ~~$5; + break label$2; + } + $6 = -2147483648; + } + $11 = dlmalloc($3 << 6); + if (!$11) { + arLog(0, 3, 3386, 0); + $7 = Math_fround(-1); + break label$1; + } + $12 = dlmalloc($3 << 3); + if (!$12) { + arLog(0, 3, 3386, 0); + dlfree($11); + $7 = Math_fround(-1); + break label$1; + } + $8 = $3 << 2; + $18 = dlmalloc($8); + if (!$18) { + arLog(0, 3, 3386, 0); + dlfree($11); + dlfree($12); + $7 = Math_fround(-1); + break label$1; + } + $16 = dlmalloc($8); + if ($16) { + $22 = (($6 | 0) > 5 ? $6 : 5) - 1 | 0; + while (1) { + $6 = 0; + if (($13 | 0) == 3) { + $22 = ($22 << 2) + $16 | 0; + $13 = 0; + label$10: { + while (1) { + $24 = HEAPF32[$4 + 36 >> 2]; + $25 = HEAPF32[$4 + 32 >> 2]; + $0 = 0; + while (1) { + if (($0 | 0) != ($3 | 0)) { + $6 = Math_imul($0, 12) + $2 | 0; + $9 = HEAPF32[$6 >> 2]; + $7 = HEAPF32[$6 + 4 >> 2]; + $5 = Math_fround(Math_fround(Math_fround($25 * $9) + Math_fround($7 * $24)) + Math_fround(1)); + if ($5 == Math_fround(0)) { + break label$10; + } + $6 = $0 << 3; + $8 = $6 + $1 | 0; + $17 = HEAPF32[$8 >> 2]; + $20 = HEAPF32[$4 + 12 >> 2]; + $21 = HEAPF32[$4 >> 2]; + $26 = HEAPF32[$4 + 4 >> 2]; + $6 = $6 + $12 | 0; + $19 = Math_fround(HEAPF32[$4 + 28 >> 2] + Math_fround(Math_fround(HEAPF32[$4 + 16 >> 2] * $9) + Math_fround($7 * HEAPF32[$4 + 20 >> 2]))); + $14 = Math_fround(HEAPF32[$8 + 4 >> 2] - Math_fround($19 / $5)); + HEAPF32[$6 + 4 >> 2] = $14; + $20 = Math_fround($20 + Math_fround(Math_fround($21 * $9) + Math_fround($7 * $26))); + $17 = Math_fround($17 - Math_fround($20 / $5)); + HEAPF32[$6 >> 2] = $17; + $6 = $0 << 2; + $14 = Math_fround(Math_fround($17 * $17) + Math_fround($14 * $14)); + HEAPF32[$16 + $6 >> 2] = $14; + HEAPF32[$6 + $18 >> 2] = $14; + $6 = ($0 << 6) + $11 | 0; + $14 = Math_fround($7 / $5); + HEAPF32[$6 + 4 >> 2] = $14; + $17 = Math_fround($9 / $5); + HEAPF32[$6 >> 2] = $17; + $21 = Math_fround(Math_fround(1) / $5); + HEAPF32[$6 + 8 >> 2] = $21; + HEAP32[$6 + 12 >> 2] = 0; + HEAP32[$6 + 16 >> 2] = 0; + HEAP32[$6 + 20 >> 2] = 0; + $9 = Math_fround(-$9); + $5 = Math_fround($5 * $5); + HEAPF32[$6 + 24 >> 2] = Math_fround($20 * $9) / $5; + $7 = Math_fround(-$7); + HEAPF32[$6 + 28 >> 2] = Math_fround($20 * $7) / $5; + HEAP32[$6 + 32 >> 2] = 0; + HEAP32[$6 + 36 >> 2] = 0; + HEAP32[$6 + 40 >> 2] = 0; + HEAPF32[$6 + 44 >> 2] = $17; + HEAPF32[$6 + 48 >> 2] = $14; + HEAPF32[$6 + 52 >> 2] = $21; + HEAPF32[$6 + 56 >> 2] = Math_fround($19 * $9) / $5; + HEAPF32[$6 + 60 >> 2] = Math_fround($19 * $7) / $5; + $0 = $0 + 1 | 0; + continue; + } break; - } else { - HEAP16[i6 >> 1] = i16 + i11; + } + qsort($16, $3, 4, 13); + $9 = Math_fround(Math_max(Math_fround(HEAPF32[$22 >> 2] * Math_fround(4)), Math_fround(16))); + $19 = Math_fround($9 / Math_fround(6)); + $6 = 0; + $5 = Math_fround(0); + while (1) { + if (($3 | 0) != ($6 | 0)) { + $7 = HEAPF32[($6 << 2) + $16 >> 2]; + if ($9 < $7) { + $5 = Math_fround($19 + $5); + } else { + $7 = Math_fround(Math_fround(1) - Math_fround($7 / $9)); + $5 = Math_fround(Math_fround($19 * Math_fround(Math_fround(1) - Math_fround(Math_fround($7 * $7) * $7))) + $5); + } + $6 = $6 + 1 | 0; + continue; + } break; } - } while (0); - i6 = i5 + 1 | 0; - if ((i5 | 0) < (i19 | 0)) i5 = i6; else { - i5 = i6; + label$18: { + $7 = Math_fround($5 / $23); + if ($7 < Math_fround(.10000000149011612)) { + break label$18; + } + label$19: { + if (!(!$13 | !($7 < Math_fround(4)))) { + if (Math_fround($7 / $27) > Math_fround(.9900000095367432)) { + break label$18; + } + if (($13 | 0) != 10) { + break label$19; + } + break label$18; + } + if (($13 | 0) == 10) { + break label$18; + } + } + $8 = 0; + $15 = 0; + while (1) { + if (($3 | 0) != ($8 | 0)) { + $5 = HEAPF32[($8 << 2) + $18 >> 2]; + if ($9 >= $5) { + $6 = ($15 << 5) + $11 | 0; + $5 = Math_fround(Math_fround(1) - Math_fround($5 / $9)); + $5 = Math_fround($5 * $5); + $0 = ($8 << 6) + $11 | 0; + HEAPF32[$6 >> 2] = $5 * HEAPF32[$0 >> 2]; + HEAPF32[$6 + 4 >> 2] = $5 * HEAPF32[$0 + 4 >> 2]; + HEAPF32[$6 + 8 >> 2] = $5 * HEAPF32[$0 + 8 >> 2]; + HEAPF32[$6 + 12 >> 2] = $5 * HEAPF32[$0 + 12 >> 2]; + HEAPF32[$6 + 16 >> 2] = $5 * HEAPF32[$0 + 16 >> 2]; + HEAPF32[$6 + 20 >> 2] = $5 * HEAPF32[$0 + 20 >> 2]; + HEAPF32[$6 + 24 >> 2] = $5 * HEAPF32[$0 + 24 >> 2]; + HEAPF32[$6 + 28 >> 2] = $5 * HEAPF32[$0 + 28 >> 2]; + HEAPF32[$6 + 32 >> 2] = $5 * HEAPF32[$0 + 32 >> 2]; + HEAPF32[$6 + 36 >> 2] = $5 * HEAPF32[$0 + 36 >> 2]; + HEAPF32[$6 + 40 >> 2] = $5 * HEAPF32[$0 + 40 >> 2]; + HEAPF32[$6 + 44 >> 2] = $5 * HEAPF32[$0 + 44 >> 2]; + HEAPF32[$6 + 48 >> 2] = $5 * HEAPF32[$0 + 48 >> 2]; + HEAPF32[$6 + 52 >> 2] = $5 * HEAPF32[$0 + 52 >> 2]; + HEAPF32[$6 + 56 >> 2] = $5 * HEAPF32[$0 + 56 >> 2]; + HEAPF32[$6 + 60 >> 2] = $5 * HEAPF32[$0 + 60 >> 2]; + $6 = ($15 << 2) + $12 | 0; + $0 = ($8 << 3) + $12 | 0; + HEAPF32[$6 >> 2] = $5 * HEAPF32[$0 >> 2]; + HEAPF32[$6 + 4 >> 2] = $5 * HEAPF32[$0 + 4 >> 2]; + $15 = $15 + 2 | 0; + } + $8 = $8 + 1 | 0; + continue; + } + break; + } + if (($15 | 0) <= 5) { + dlfree($11); + dlfree($12); + dlfree($18); + dlfree($16); + $7 = Math_fround(-1); + break label$1; + } + if ((getDeltaS($10, $12, $11, $15) | 0) < 0) { + break label$10; + } + HEAPF32[$4 >> 2] = HEAPF32[$10 >> 2] + HEAPF32[$4 >> 2]; + HEAPF32[$4 + 4 >> 2] = HEAPF32[$10 + 4 >> 2] + HEAPF32[$4 + 4 >> 2]; + HEAPF32[$4 + 12 >> 2] = HEAPF32[$10 + 8 >> 2] + HEAPF32[$4 + 12 >> 2]; + HEAPF32[$4 + 16 >> 2] = HEAPF32[$10 + 12 >> 2] + HEAPF32[$4 + 16 >> 2]; + HEAPF32[$4 + 20 >> 2] = HEAPF32[$10 + 16 >> 2] + HEAPF32[$4 + 20 >> 2]; + HEAPF32[$4 + 28 >> 2] = HEAPF32[$10 + 20 >> 2] + HEAPF32[$4 + 28 >> 2]; + HEAPF32[$4 + 32 >> 2] = HEAPF32[$10 + 24 >> 2] + HEAPF32[$4 + 32 >> 2]; + HEAPF32[$4 + 36 >> 2] = HEAPF32[$10 + 28 >> 2] + HEAPF32[$4 + 36 >> 2]; + $13 = $13 + 1 | 0; + $27 = $7; + continue; + } break; } - } - if (i7) { - i6 = HEAP32[2560 + (i5 << 2) >> 2] | 0; - HEAP16[i20 + (i6 << 1) >> 1] = i7; - HEAP32[i21 + (i1 << 2) >> 2] = i6; - i1 = i1 + 1 | 0; - } - i5 = i5 + 1 | 0; - } - i3 = 1 << i6; - if (i6) { - if ((i2 | 0) < (i6 | 0)) { - if (!(_jpeg_fill_bit_buffer(i22, i4, i2, i6) | 0)) break; - i2 = HEAP32[i13 >> 2] | 0; - i4 = HEAP32[i12 >> 2] | 0; - } - i2 = i2 - i6 | 0; - i3 = (i4 >> i2 & i3 + -1) + i3 | 0; - if (!i3) { - i3 = 0; - i1 = i4; - i14 = 56; - } else i14 = 43; + dlfree($11); + dlfree($12); + dlfree($18); + dlfree($16); + break label$1; + } + dlfree($11); + dlfree($12); + dlfree($18); + dlfree($16); + $7 = Math_fround(1e8); + break label$1; } else { - i3 = 1; - i14 = 43; - } - } else { - i1 = 0; - i14 = 43; - } while (0); - L58 : do if ((i14 | 0) == 43) { - while (1) { - if ((i5 | 0) > (i19 | 0)) break; - i6 = i20 + (HEAP32[2560 + (i5 << 2) >> 2] << 1) | 0; - do if (HEAP16[i6 >> 1] | 0) { - if ((i2 | 0) < 1) { - if (!(_jpeg_fill_bit_buffer(i22, i4, i2, 1) | 0)) break L58; - i2 = HEAP32[i13 >> 2] | 0; - i4 = HEAP32[i12 >> 2] | 0; - } - i2 = i2 + -1 | 0; - if ((1 << i2 & i4 | 0) != 0 ? (i17 = HEAP16[i6 >> 1] | 0, i18 = i17 << 16 >> 16, (i15 & i18 | 0) == 0) : 0) if (i17 << 16 >> 16 > -1) { - HEAP16[i6 >> 1] = i15 + i18; - break; - } else { - HEAP16[i6 >> 1] = i16 + i18; - break; + while (1) { + if (($6 | 0) != 4) { + $15 = $6 << 2; + $8 = $13 << 4; + HEAPF32[$15 + ($8 + $4 | 0) >> 2] = HEAPF32[($0 + $8 | 0) + $15 >> 2] / HEAPF32[$0 + 44 >> 2]; + $6 = $6 + 1 | 0; + continue; } - } while (0); - i5 = i5 + 1 | 0; - } - i3 = i3 + -1 | 0; - i1 = i4; - i14 = 56; - } while (0); - if ((i14 | 0) == 56) { - i23 = HEAP32[i23 >> 2] | 0; - HEAP32[i23 >> 2] = HEAP32[i22 >> 2]; - HEAP32[i23 + 4 >> 2] = HEAP32[i24 >> 2]; - HEAP32[i25 >> 2] = i1; - HEAP32[i26 >> 2] = i2; - HEAP32[i27 >> 2] = i3; - break; - } - while (1) { - if ((i1 | 0) <= 0) { - i1 = 0; - break L4; - } - i28 = i1 + -1 | 0; - HEAP16[i20 + (HEAP32[i21 + (i28 << 2) >> 2] << 1) >> 1] = 0; - i1 = i28; - } - } while (0); - i1 = i28 + 40 | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + -1; - i1 = 1; - } while (0); - STACKTOP = i29; - return i1 | 0; -} - -function _check_rotation(i34) { - i34 = i34 | 0; - var d1 = 0.0, d2 = 0.0, d3 = 0.0, d4 = 0.0, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, i12 = 0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d23 = 0.0, d24 = 0.0, d25 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0, d29 = 0.0, d30 = 0.0, d31 = 0.0, d32 = 0.0, d33 = 0.0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i40 = 0; - d10 = +HEAPF64[i34 >> 3]; - i36 = i34 + 8 | 0; - d13 = +HEAPF64[i36 >> 3]; - i37 = i34 + 16 | 0; - d14 = +HEAPF64[i37 >> 3]; - i38 = i34 + 24 | 0; - d25 = +HEAPF64[i38 >> 3]; - i39 = i34 + 32 | 0; - d26 = +HEAPF64[i39 >> 3]; - i35 = i34 + 40 | 0; - d5 = +HEAPF64[i35 >> 3]; - d1 = d13 * d5 - d14 * d26; - d2 = d14 * d25 - d10 * d5; - d3 = d10 * d26 - d13 * d25; - d4 = +Math_sqrt(+(d3 * d3 + (d1 * d1 + d2 * d2))); - do if (!(d4 == 0.0)) { - d11 = d1 / d4; - d9 = d2 / d4; - d8 = d3 / d4; - d24 = d10 * d25 + d13 * d26 + d14 * d5; - d24 = d24 < 0.0 ? -d24 : d24; - d24 = (+Math_sqrt(+(d24 + 1.0)) + +Math_sqrt(+(1.0 - d24))) * .5; - d3 = d10 * d9; - d1 = d13 * d11; - d2 = d3 - d1; - if (d2 != 0.0) { - i12 = 0; - d22 = d11; - d6 = d10; - d7 = d13; - d23 = d9; - d4 = d14; - } else { - i40 = d10 * d8 - d14 * d11 != 0.0; - d7 = i40 ? d14 : d13; - d6 = i40 ? d10 : d14; - d23 = i40 ? d8 : d9; - d22 = i40 ? d11 : d8; - d3 = d6 * d23; - d2 = d7 * d22; - i12 = i40 ? 1 : 2; - d1 = d2; - d2 = d3 - d2; - d4 = i40 ? d13 : d10; - d8 = i40 ? d9 : d11; - } - if (!(d2 == 0.0) ? (d18 = (d7 * d8 - d4 * d23) / d2, d19 = d24 * d23 / d2, d21 = d1 - d3, d20 = (d6 * d8 - d4 * d22) / d21, d21 = d24 * d22 / d21, d16 = d18 * d18 + d20 * d20 + 1.0, d17 = d18 * d19 + d20 * d21, d15 = d17 * d17 - d16 * (d19 * d19 + d21 * d21 + -1.0), !(d15 < 0.0)) : 0) { - d3 = +Math_sqrt(+d15); - d6 = (d3 - d17) / d16; - d7 = d19 + d18 * d6; - d4 = d21 + d20 * d6; - d3 = (-d17 - d3) / d16; - d2 = d19 + d18 * d3; - d1 = d21 + d20 * d3; - switch (i12 & 3) { - case 1: - { - d18 = d1; - d17 = d3; - d15 = d2; - d16 = d4; - d14 = d6; - d13 = d7; - d10 = d22; - d11 = d8; - d1 = d23; - break; + break; + } + $13 = $13 + 1 | 0; + continue; } - case 2: - { - d18 = d2; - d17 = d1; - d15 = d3; - d16 = d7; - d14 = d4; - d13 = d6; - d10 = d8; - d11 = d23; - d1 = d22; - break; - } - default: - { - d18 = d3; - d17 = d1; - d15 = d2; - d16 = d6; - d14 = d4; - d13 = d7; - d10 = d22; - d11 = d23; - d1 = d8; - } - } - d2 = d25 * d11; - d3 = d26 * d10; - d4 = d2 - d3; - if (d4 != 0.0) { - i12 = 0; - d6 = d10; - d7 = d25; - d8 = d26; - d9 = d11; - } else { - i40 = d25 * d1 - d5 * d10 != 0.0; - d8 = i40 ? d5 : d26; - d7 = i40 ? d25 : d5; - d9 = i40 ? d1 : d11; - d6 = i40 ? d10 : d1; - d5 = d7 * d9; - d4 = d8 * d6; - i12 = i40 ? 1 : 2; - d2 = d5; - d3 = d4; - d4 = d5 - d4; - d5 = i40 ? d26 : d25; - d1 = i40 ? d11 : d10; - } - if (!(d4 == 0.0) ? (d30 = (d8 * d1 - d5 * d9) / d4, d31 = d24 * d9 / d4, d33 = d3 - d2, d32 = (d7 * d1 - d5 * d6) / d33, d33 = d24 * d6 / d33, d28 = d30 * d30 + d32 * d32 + 1.0, d29 = d30 * d31 + d32 * d33, d27 = d29 * d29 - d28 * (d31 * d31 + d33 * d33 + -1.0), !(d27 < 0.0)) : 0) { - d8 = +Math_sqrt(+d27); - d6 = (d8 - d29) / d28; - d3 = d31 + d30 * d6; - d7 = d33 + d32 * d6; - d8 = (-d29 - d8) / d28; - d2 = d31 + d30 * d8; - d1 = d33 + d32 * d8; - switch (i12 & 3) { - case 1: - { - d10 = d1; - d1 = d8; - d8 = d2; - d9 = d7; - d7 = d6; - d6 = d3; - break; - } - case 2: - { - d10 = d2; - d9 = d3; - break; - } - default: - { - d10 = d8; - d8 = d2; - d9 = d6; - d6 = d3; - } - } - d5 = d13 * d6 + d14 * d7 + d16 * d9; - d5 = d5 < 0.0 ? -d5 : d5; - d4 = d13 * d8 + d14 * d1 + d16 * d10; - d4 = d4 < 0.0 ? -d4 : d4; - d3 = d15 * d6 + d17 * d7 + d18 * d9; - d3 = d3 < 0.0 ? -d3 : d3; - d2 = d15 * d8 + d17 * d1 + d18 * d10; - d2 = d2 < 0.0 ? -d2 : d2; - if (d5 < d4) if (d5 < d3) if (d5 < d2) { - HEAPF64[i34 >> 3] = d13; - HEAPF64[i36 >> 3] = d14; - HEAPF64[i37 >> 3] = d16; - HEAPF64[i38 >> 3] = d6; - HEAPF64[i39 >> 3] = d7; - HEAPF64[i35 >> 3] = d9; - break; - } else { - HEAPF64[i34 >> 3] = d15; - HEAPF64[i36 >> 3] = d17; - HEAPF64[i37 >> 3] = d18; - HEAPF64[i38 >> 3] = d8; - HEAPF64[i39 >> 3] = d1; - HEAPF64[i35 >> 3] = d10; - break; - } else { - HEAPF64[i34 >> 3] = d15; - HEAPF64[i36 >> 3] = d17; - HEAPF64[i37 >> 3] = d18; - if (d3 < d2) { - HEAPF64[i38 >> 3] = d6; - HEAPF64[i39 >> 3] = d7; - HEAPF64[i35 >> 3] = d9; - break; - } else { - HEAPF64[i38 >> 3] = d8; - HEAPF64[i39 >> 3] = d1; - HEAPF64[i35 >> 3] = d10; - break; - } - } else if (d4 < d3) if (d4 < d2) { - HEAPF64[i34 >> 3] = d13; - HEAPF64[i36 >> 3] = d14; - HEAPF64[i37 >> 3] = d16; - HEAPF64[i38 >> 3] = d8; - HEAPF64[i39 >> 3] = d1; - HEAPF64[i35 >> 3] = d10; - break; - } else { - HEAPF64[i34 >> 3] = d15; - HEAPF64[i36 >> 3] = d17; - HEAPF64[i37 >> 3] = d18; - HEAPF64[i38 >> 3] = d8; - HEAPF64[i39 >> 3] = d1; - HEAPF64[i35 >> 3] = d10; - break; - } else { - HEAPF64[i34 >> 3] = d15; - HEAPF64[i36 >> 3] = d17; - HEAPF64[i37 >> 3] = d18; - if (d3 < d2) { - HEAPF64[i38 >> 3] = d6; - HEAPF64[i39 >> 3] = d7; - HEAPF64[i35 >> 3] = d9; - break; - } else { - HEAPF64[i38 >> 3] = d8; - HEAPF64[i39 >> 3] = d1; - HEAPF64[i35 >> 3] = d10; - break; - } - } - } - } - } while (0); - return; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedItEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i20, i21, i2, i22, i19) { - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i2 = i2 | 0; - i22 = i22 | 0; - i19 = i19 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i26 = STACKTOP; - STACKTOP = STACKTOP + 304 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - i12 = i26 + 300 | 0; - i23 = i26 + 288 | 0; - i24 = i26 + 276 | 0; - i13 = i26 + 272 | 0; - i14 = i26; - i16 = i26 + 268 | 0; - i17 = i26 + 264 | 0; - i18 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i2) | 0; - i11 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw(i1, i2, i26 + 160 | 0) | 0; - __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw(i23, i2, i12); - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i24 + 11 | 0; - i10 = i24 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1; - HEAP32[i16 >> 2] = i14; - HEAP32[i17 >> 2] = 0; - i8 = i24 + 4 | 0; - i4 = HEAP32[i20 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i21 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i21 >> 2] = 0; - i25 = 19; - break; - } - } else i25 = 19; while (0); - if ((i25 | 0) == 19) { - i25 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i13 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw(i2, i18, i1, i13, i17, HEAP32[i12 >> 2] | 0, i23, i14, i16, i11) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - } - i3 = i7; - } - i12 = HEAP8[i23 + 11 >> 0] | 0; - if ((i12 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i12 & 255) | 0 ? (i15 = HEAP32[i16 >> 2] | 0, (i15 - i14 | 0) < 160) : 0) { - i17 = HEAP32[i17 >> 2] | 0; - HEAP32[i16 >> 2] = i15 + 4; - HEAP32[i15 >> 2] = i17; - } - i18 = __ZNSt3__227__num_get_unsigned_integralItEET_PKcS3_Rji(i1, HEAP32[i13 >> 2] | 0, i22, i18) | 0; - HEAP16[i19 >> 1] = i18; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i14, HEAP32[i16 >> 2] | 0, i22); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i25 = 50; - break; - } else { - HEAP32[i21 >> 2] = 0; - i25 = 48; - break; - } - } else i25 = 48; while (0); - if ((i25 | 0) == 48 ? i2 : 0) i25 = 50; - if ((i25 | 0) == 50) HEAP32[i22 >> 2] = HEAP32[i22 >> 2] | 2; - i25 = HEAP32[i20 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i26; - return i25 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedImEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i20, i21, i2, i22, i19) { - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i2 = i2 | 0; - i22 = i22 | 0; - i19 = i19 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i26 = STACKTOP; - STACKTOP = STACKTOP + 304 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - i12 = i26 + 300 | 0; - i23 = i26 + 288 | 0; - i24 = i26 + 276 | 0; - i13 = i26 + 272 | 0; - i14 = i26; - i16 = i26 + 268 | 0; - i17 = i26 + 264 | 0; - i18 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i2) | 0; - i11 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw(i1, i2, i26 + 160 | 0) | 0; - __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw(i23, i2, i12); - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i24 + 11 | 0; - i10 = i24 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1; - HEAP32[i16 >> 2] = i14; - HEAP32[i17 >> 2] = 0; - i8 = i24 + 4 | 0; - i4 = HEAP32[i20 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i21 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i21 >> 2] = 0; - i25 = 19; - break; - } - } else i25 = 19; while (0); - if ((i25 | 0) == 19) { - i25 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i13 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw(i2, i18, i1, i13, i17, HEAP32[i12 >> 2] | 0, i23, i14, i16, i11) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - } - i3 = i7; - } - i12 = HEAP8[i23 + 11 >> 0] | 0; - if ((i12 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i12 & 255) | 0 ? (i15 = HEAP32[i16 >> 2] | 0, (i15 - i14 | 0) < 160) : 0) { - i17 = HEAP32[i17 >> 2] | 0; - HEAP32[i16 >> 2] = i15 + 4; - HEAP32[i15 >> 2] = i17; - } - i18 = __ZNSt3__227__num_get_unsigned_integralImEET_PKcS3_Rji(i1, HEAP32[i13 >> 2] | 0, i22, i18) | 0; - HEAP32[i19 >> 2] = i18; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i14, HEAP32[i16 >> 2] | 0, i22); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i25 = 50; - break; - } else { - HEAP32[i21 >> 2] = 0; - i25 = 48; - break; - } - } else i25 = 48; while (0); - if ((i25 | 0) == 48 ? i2 : 0) i25 = 50; - if ((i25 | 0) == 50) HEAP32[i22 >> 2] = HEAP32[i22 >> 2] | 2; - i25 = HEAP32[i20 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i26; - return i25 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedIjEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i20, i21, i2, i22, i19) { - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i2 = i2 | 0; - i22 = i22 | 0; - i19 = i19 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i26 = STACKTOP; - STACKTOP = STACKTOP + 304 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - i12 = i26 + 300 | 0; - i23 = i26 + 288 | 0; - i24 = i26 + 276 | 0; - i13 = i26 + 272 | 0; - i14 = i26; - i16 = i26 + 268 | 0; - i17 = i26 + 264 | 0; - i18 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i2) | 0; - i11 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw(i1, i2, i26 + 160 | 0) | 0; - __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw(i23, i2, i12); - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i24 + 11 | 0; - i10 = i24 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1; - HEAP32[i16 >> 2] = i14; - HEAP32[i17 >> 2] = 0; - i8 = i24 + 4 | 0; - i4 = HEAP32[i20 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i21 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i21 >> 2] = 0; - i25 = 19; - break; - } - } else i25 = 19; while (0); - if ((i25 | 0) == 19) { - i25 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i13 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw(i2, i18, i1, i13, i17, HEAP32[i12 >> 2] | 0, i23, i14, i16, i11) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - } - i3 = i7; - } - i12 = HEAP8[i23 + 11 >> 0] | 0; - if ((i12 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i12 & 255) | 0 ? (i15 = HEAP32[i16 >> 2] | 0, (i15 - i14 | 0) < 160) : 0) { - i17 = HEAP32[i17 >> 2] | 0; - HEAP32[i16 >> 2] = i15 + 4; - HEAP32[i15 >> 2] = i17; - } - i18 = __ZNSt3__227__num_get_unsigned_integralIjEET_PKcS3_Rji(i1, HEAP32[i13 >> 2] | 0, i22, i18) | 0; - HEAP32[i19 >> 2] = i18; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i14, HEAP32[i16 >> 2] | 0, i22); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i25 = 50; - break; - } else { - HEAP32[i21 >> 2] = 0; - i25 = 48; - break; - } - } else i25 = 48; while (0); - if ((i25 | 0) == 48 ? i2 : 0) i25 = 50; - if ((i25 | 0) == 50) HEAP32[i22 >> 2] = HEAP32[i22 >> 2] | 2; - i25 = HEAP32[i20 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i26; - return i25 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedItEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i20, i21, i2, i22, i19) { - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i2 = i2 | 0; - i22 = i22 | 0; - i19 = i19 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i26 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i12 = i26 + 224 | 0; - i23 = i26 + 212 | 0; - i24 = i26 + 200 | 0; - i13 = i26 + 196 | 0; - i14 = i26; - i16 = i26 + 192 | 0; - i17 = i26 + 188 | 0; - i18 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i2) | 0; - i11 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc(i1, i2, i26 + 160 | 0) | 0; - __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc(i23, i2, i12); - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i24 + 11 | 0; - i10 = i24 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1; - HEAP32[i16 >> 2] = i14; - HEAP32[i17 >> 2] = 0; - i8 = i24 + 4 | 0; - i4 = HEAP32[i20 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i21 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i21 >> 2] = 0; - i25 = 19; - break; - } - } else i25 = 19; while (0); - if ((i25 | 0) == 19) { - i25 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i13 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc(i2 & 255, i18, i1, i13, i17, HEAP8[i12 >> 0] | 0, i23, i14, i16, i11) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - } - i3 = i7; - } - i12 = HEAP8[i23 + 11 >> 0] | 0; - if ((i12 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i12 & 255) | 0 ? (i15 = HEAP32[i16 >> 2] | 0, (i15 - i14 | 0) < 160) : 0) { - i17 = HEAP32[i17 >> 2] | 0; - HEAP32[i16 >> 2] = i15 + 4; - HEAP32[i15 >> 2] = i17; - } - i18 = __ZNSt3__227__num_get_unsigned_integralItEET_PKcS3_Rji(i1, HEAP32[i13 >> 2] | 0, i22, i18) | 0; - HEAP16[i19 >> 1] = i18; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i14, HEAP32[i16 >> 2] | 0, i22); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i25 = 50; - break; - } else { - HEAP32[i21 >> 2] = 0; - i25 = 48; - break; - } - } else i25 = 48; while (0); - if ((i25 | 0) == 48 ? i2 : 0) i25 = 50; - if ((i25 | 0) == 50) HEAP32[i22 >> 2] = HEAP32[i22 >> 2] | 2; - i25 = HEAP32[i20 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i26; - return i25 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedImEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i20, i21, i2, i22, i19) { - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i2 = i2 | 0; - i22 = i22 | 0; - i19 = i19 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i26 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i12 = i26 + 224 | 0; - i23 = i26 + 212 | 0; - i24 = i26 + 200 | 0; - i13 = i26 + 196 | 0; - i14 = i26; - i16 = i26 + 192 | 0; - i17 = i26 + 188 | 0; - i18 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i2) | 0; - i11 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc(i1, i2, i26 + 160 | 0) | 0; - __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc(i23, i2, i12); - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i24 + 11 | 0; - i10 = i24 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1; - HEAP32[i16 >> 2] = i14; - HEAP32[i17 >> 2] = 0; - i8 = i24 + 4 | 0; - i4 = HEAP32[i20 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i21 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i21 >> 2] = 0; - i25 = 19; - break; - } - } else i25 = 19; while (0); - if ((i25 | 0) == 19) { - i25 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i13 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc(i2 & 255, i18, i1, i13, i17, HEAP8[i12 >> 0] | 0, i23, i14, i16, i11) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - } - i3 = i7; - } - i12 = HEAP8[i23 + 11 >> 0] | 0; - if ((i12 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i12 & 255) | 0 ? (i15 = HEAP32[i16 >> 2] | 0, (i15 - i14 | 0) < 160) : 0) { - i17 = HEAP32[i17 >> 2] | 0; - HEAP32[i16 >> 2] = i15 + 4; - HEAP32[i15 >> 2] = i17; - } - i18 = __ZNSt3__227__num_get_unsigned_integralImEET_PKcS3_Rji(i1, HEAP32[i13 >> 2] | 0, i22, i18) | 0; - HEAP32[i19 >> 2] = i18; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i14, HEAP32[i16 >> 2] | 0, i22); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i25 = 50; - break; - } else { - HEAP32[i21 >> 2] = 0; - i25 = 48; - break; - } - } else i25 = 48; while (0); - if ((i25 | 0) == 48 ? i2 : 0) i25 = 50; - if ((i25 | 0) == 50) HEAP32[i22 >> 2] = HEAP32[i22 >> 2] | 2; - i25 = HEAP32[i20 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i26; - return i25 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedIjEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i20, i21, i2, i22, i19) { - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i2 = i2 | 0; - i22 = i22 | 0; - i19 = i19 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i26 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i12 = i26 + 224 | 0; - i23 = i26 + 212 | 0; - i24 = i26 + 200 | 0; - i13 = i26 + 196 | 0; - i14 = i26; - i16 = i26 + 192 | 0; - i17 = i26 + 188 | 0; - i18 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i2) | 0; - i11 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc(i1, i2, i26 + 160 | 0) | 0; - __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc(i23, i2, i12); - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i24 + 11 | 0; - i10 = i24 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1; - HEAP32[i16 >> 2] = i14; - HEAP32[i17 >> 2] = 0; - i8 = i24 + 4 | 0; - i4 = HEAP32[i20 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i21 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i21 >> 2] = 0; - i25 = 19; - break; - } - } else i25 = 19; while (0); - if ((i25 | 0) == 19) { - i25 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i13 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc(i2 & 255, i18, i1, i13, i17, HEAP8[i12 >> 0] | 0, i23, i14, i16, i11) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - } - i3 = i7; - } - i12 = HEAP8[i23 + 11 >> 0] | 0; - if ((i12 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i12 & 255) | 0 ? (i15 = HEAP32[i16 >> 2] | 0, (i15 - i14 | 0) < 160) : 0) { - i17 = HEAP32[i17 >> 2] | 0; - HEAP32[i16 >> 2] = i15 + 4; - HEAP32[i15 >> 2] = i17; - } - i18 = __ZNSt3__227__num_get_unsigned_integralIjEET_PKcS3_Rji(i1, HEAP32[i13 >> 2] | 0, i22, i18) | 0; - HEAP32[i19 >> 2] = i18; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i14, HEAP32[i16 >> 2] | 0, i22); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i25 = 50; - break; - } else { - HEAP32[i21 >> 2] = 0; - i25 = 48; - break; - } - } else i25 = 48; while (0); - if ((i25 | 0) == 48 ? i2 : 0) i25 = 50; - if ((i25 | 0) == 50) HEAP32[i22 >> 2] = HEAP32[i22 >> 2] | 2; - i25 = HEAP32[i20 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i26; - return i25 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__do_get_signedIlEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i20, i21, i2, i22, i19) { - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i2 = i2 | 0; - i22 = i22 | 0; - i19 = i19 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i26 = STACKTOP; - STACKTOP = STACKTOP + 304 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - i12 = i26 + 300 | 0; - i23 = i26 + 288 | 0; - i24 = i26 + 276 | 0; - i13 = i26 + 272 | 0; - i14 = i26; - i16 = i26 + 268 | 0; - i17 = i26 + 264 | 0; - i18 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i2) | 0; - i11 = __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw(i1, i2, i26 + 160 | 0) | 0; - __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw(i23, i2, i12); - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i24 + 11 | 0; - i10 = i24 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1; - HEAP32[i16 >> 2] = i14; - HEAP32[i17 >> 2] = 0; - i8 = i24 + 4 | 0; - i4 = HEAP32[i20 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i21 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i21 >> 2] = 0; - i25 = 19; - break; - } - } else i25 = 19; while (0); - if ((i25 | 0) == 19) { - i25 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i13 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw(i2, i18, i1, i13, i17, HEAP32[i12 >> 2] | 0, i23, i14, i16, i11) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - } - i3 = i7; - } - i12 = HEAP8[i23 + 11 >> 0] | 0; - if ((i12 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i12 & 255) | 0 ? (i15 = HEAP32[i16 >> 2] | 0, (i15 - i14 | 0) < 160) : 0) { - i17 = HEAP32[i17 >> 2] | 0; - HEAP32[i16 >> 2] = i15 + 4; - HEAP32[i15 >> 2] = i17; - } - i18 = __ZNSt3__225__num_get_signed_integralIlEET_PKcS3_Rji(i1, HEAP32[i13 >> 2] | 0, i22, i18) | 0; - HEAP32[i19 >> 2] = i18; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i14, HEAP32[i16 >> 2] | 0, i22); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i25 = 50; - break; - } else { - HEAP32[i21 >> 2] = 0; - i25 = 48; - break; - } - } else i25 = 48; while (0); - if ((i25 | 0) == 48 ? i2 : 0) i25 = 50; - if ((i25 | 0) == 50) HEAP32[i22 >> 2] = HEAP32[i22 >> 2] | 2; - i25 = HEAP32[i20 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i26; - return i25 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__do_get_signedIlEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i20, i21, i2, i22, i19) { - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i2 = i2 | 0; - i22 = i22 | 0; - i19 = i19 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i26 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i12 = i26 + 224 | 0; - i23 = i26 + 212 | 0; - i24 = i26 + 200 | 0; - i13 = i26 + 196 | 0; - i14 = i26; - i16 = i26 + 192 | 0; - i17 = i26 + 188 | 0; - i18 = __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i2) | 0; - i11 = __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc(i1, i2, i26 + 160 | 0) | 0; - __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc(i23, i2, i12); - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = i24 + 11 | 0; - i10 = i24 + 8 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1; - HEAP32[i16 >> 2] = i14; - HEAP32[i17 >> 2] = 0; - i8 = i24 + 4 | 0; - i4 = HEAP32[i20 >> 2] | 0; - i3 = i4; - L8 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i21 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i5) break; else break L8; else { - HEAP32[i21 >> 2] = 0; - i25 = 19; - break; - } - } else i25 = 19; while (0); - if ((i25 | 0) == 19) { - i25 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i9 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i13 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i2 << 1, 0); - if ((HEAP8[i9 >> 0] | 0) < 0) i1 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i24, i1, 0); - i1 = (HEAP8[i9 >> 0] | 0) < 0 ? HEAP32[i24 >> 2] | 0 : i24; - HEAP32[i13 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc(i2 & 255, i18, i1, i13, i17, HEAP8[i12 >> 0] | 0, i23, i14, i16, i11) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - } - i3 = i7; - } - i12 = HEAP8[i23 + 11 >> 0] | 0; - if ((i12 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i12 & 255) | 0 ? (i15 = HEAP32[i16 >> 2] | 0, (i15 - i14 | 0) < 160) : 0) { - i17 = HEAP32[i17 >> 2] | 0; - HEAP32[i16 >> 2] = i15 + 4; - HEAP32[i15 >> 2] = i17; - } - i18 = __ZNSt3__225__num_get_signed_integralIlEET_PKcS3_Rji(i1, HEAP32[i13 >> 2] | 0, i22, i18) | 0; - HEAP32[i19 >> 2] = i18; - __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i23, i14, HEAP32[i16 >> 2] | 0, i22); - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i20 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i25 = 50; - break; - } else { - HEAP32[i21 >> 2] = 0; - i25 = 48; - break; - } - } else i25 = 48; while (0); - if ((i25 | 0) == 48 ? i2 : 0) i25 = 50; - if ((i25 | 0) == 50) HEAP32[i22 >> 2] = HEAP32[i22 >> 2] | 2; - i25 = HEAP32[i20 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - STACKTOP = i26; - return i25 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv(i1, i21, i22, i2, i23, i17) { - i1 = i1 | 0; - i21 = i21 | 0; - i22 = i22 | 0; - i2 = i2 | 0; - i23 = i23 | 0; - i17 = i17 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i18 = 0, i19 = 0, i20 = 0, i24 = 0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 304 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(304); - i16 = i20 + 264 | 0; - i14 = i20 + 160 | 0; - i18 = i20 + 292 | 0; - i19 = i20 + 280 | 0; - i15 = i20 + 276 | 0; - i11 = i20; - i12 = i20 + 272 | 0; - i13 = i20 + 268 | 0; - HEAP32[i18 >> 2] = 0; - HEAP32[i18 + 4 >> 2] = 0; - HEAP32[i18 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i18 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNKSt3__28ios_base6getlocEv(i19, i2); - i1 = __ZNKSt3__26locale9use_facetERNS0_2idE(i19, 57948) | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 15](i1, 10736, 10762, i14) | 0; - __ZNSt3__26localeD2Ev(i19); - HEAP32[i19 >> 2] = 0; - HEAP32[i19 + 4 >> 2] = 0; - HEAP32[i19 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i19 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i10 = i19 + 11 | 0; - i9 = i19 + 8 | 0; - if ((HEAP8[i10 >> 0] | 0) < 0) i1 = (HEAP32[i9 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i19, i1, 0); - i1 = (HEAP8[i10 >> 0] | 0) < 0 ? HEAP32[i19 >> 2] | 0 : i19; - HEAP32[i15 >> 2] = i1; - HEAP32[i12 >> 2] = i11; - HEAP32[i13 >> 2] = 0; - i8 = i19 + 4 | 0; - i4 = HEAP32[i21 >> 2] | 0; - i3 = i4; - L12 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i21 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i22 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i5) break; else break L12; else { - HEAP32[i22 >> 2] = 0; - i24 = 22; - break; } - } else i24 = 22; while (0); - if ((i24 | 0) == 22) { - i24 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i10 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i15 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i19, i2 << 1, 0); - if ((HEAP8[i10 >> 0] | 0) < 0) i1 = (HEAP32[i9 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i19, i1, 0); - i1 = (HEAP8[i10 >> 0] | 0) < 0 ? HEAP32[i19 >> 2] | 0 : i19; - HEAP32[i15 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw(i2, 16, i1, i15, i13, 0, i18, i11, i12, i14) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - } - i3 = i7; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i19, (HEAP32[i15 >> 2] | 0) - i1 | 0, 0); - i14 = (HEAP8[i10 >> 0] | 0) < 0 ? HEAP32[i19 >> 2] | 0 : i19; - i15 = __ZNSt3__26__clocEv() | 0; - HEAP32[i16 >> 2] = i17; - if ((__ZNSt3__217__libcpp_sscanf_lEPKcP15__locale_structS1_z(i14, i15, 46792, i16) | 0) != 1) HEAP32[i23 >> 2] = 4; - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i21 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i24 = 52; - break; - } else { - HEAP32[i22 >> 2] = 0; - i24 = 50; - break; } - } else i24 = 50; while (0); - if ((i24 | 0) == 50 ? i2 : 0) i24 = 52; - if ((i24 | 0) == 52) HEAP32[i23 >> 2] = HEAP32[i23 >> 2] | 2; - i24 = HEAP32[i21 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i19); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i18); - STACKTOP = i20; - return i24 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv(i1, i21, i22, i2, i23, i17) { - i1 = i1 | 0; - i21 = i21 | 0; - i22 = i22 | 0; - i2 = i2 | 0; - i23 = i23 | 0; - i17 = i17 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i18 = 0, i19 = 0, i20 = 0, i24 = 0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i16 = i20 + 192 | 0; - i14 = i20 + 160 | 0; - i18 = i20 + 220 | 0; - i19 = i20 + 208 | 0; - i15 = i20 + 204 | 0; - i11 = i20; - i12 = i20 + 200 | 0; - i13 = i20 + 196 | 0; - HEAP32[i18 >> 2] = 0; - HEAP32[i18 + 4 >> 2] = 0; - HEAP32[i18 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i18 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNKSt3__28ios_base6getlocEv(i19, i2); - i1 = __ZNKSt3__26locale9use_facetERNS0_2idE(i19, 57916) | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 32 >> 2] & 15](i1, 10736, 10762, i14) | 0; - __ZNSt3__26localeD2Ev(i19); - HEAP32[i19 >> 2] = 0; - HEAP32[i19 + 4 >> 2] = 0; - HEAP32[i19 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i19 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i10 = i19 + 11 | 0; - i9 = i19 + 8 | 0; - if ((HEAP8[i10 >> 0] | 0) < 0) i1 = (HEAP32[i9 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i19, i1, 0); - i1 = (HEAP8[i10 >> 0] | 0) < 0 ? HEAP32[i19 >> 2] | 0 : i19; - HEAP32[i15 >> 2] = i1; - HEAP32[i12 >> 2] = i11; - HEAP32[i13 >> 2] = 0; - i8 = i19 + 4 | 0; - i4 = HEAP32[i21 >> 2] | 0; - i3 = i4; - L12 : while (1) { - if (i4) { - i2 = HEAP32[i4 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i21 >> 2] = 0; - i7 = 0; - i5 = 1; - i4 = 0; - } else { - i7 = i3; - i5 = 0; - } - } else { - i7 = 0; - i5 = 1; - i4 = 0; - } - i3 = HEAP32[i22 >> 2] | 0; - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i5) break; else break L12; else { - HEAP32[i22 >> 2] = 0; - i24 = 22; - break; + arLog(0, 3, 3386, 0); + dlfree($11); + dlfree($12); + dlfree($18); + $7 = Math_fround(-1); + } + __stack_pointer = $10 + 32 | 0; + return $7; +} + +function vision__ComputeSubpixelHessian_28float__2c_20float__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0; + $7 = vision__Image__width_28_29_20const($2); + $8 = vision__Image__width_28_29_20const($3); + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + if ((vision__Image__width_28_29_20const($4) | 0) == (($7 | 0) == ($8 | 0) | 0)) { + $7 = vision__Image__height_28_29_20const($2); + $8 = vision__Image__height_28_29_20const($3); + if ((vision__Image__height_28_29_20const($4) | 0) != (($7 | 0) == ($8 | 0) | 0)) { + break label$4; + } + vision__ComputeSubpixelHessianSameOctave_28float__2c_20float__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6); + break label$5; + } + label$7: { + if ((vision__Image__width_28_29_20const($2) | 0) != (vision__Image__width_28_29_20const($3) | 0)) { + break label$7; + } + if ((vision__Image__width_28_29_20const($3) >>> 1 | 0) != (vision__Image__width_28_29_20const($4) | 0)) { + break label$7; + } + if ((vision__Image__height_28_29_20const($2) | 0) != (vision__Image__height_28_29_20const($3) | 0)) { + break label$3; + } + if ((vision__Image__height_28_29_20const($3) >>> 1 | 0) != (vision__Image__height_28_29_20const($4) | 0)) { + break label$3; + } + vision__ComputeSubpixelHessianFineOctavePair_28float__2c_20float__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6); + break label$5; + } + if ((vision__Image__width_28_29_20const($2) >>> 1 | 0) != (vision__Image__width_28_29_20const($3) | 0)) { + break label$1; + } + if ((vision__Image__width_28_29_20const($3) | 0) != (vision__Image__width_28_29_20const($4) | 0)) { + break label$1; + } + if ((vision__Image__width_28_29_20const($2) >>> 1 | 0) != (vision__Image__width_28_29_20const($3) | 0)) { + break label$2; + } + if ((vision__Image__width_28_29_20const($3) | 0) != (vision__Image__width_28_29_20const($4) | 0)) { + break label$2; + } + vision__ComputeSubpixelHessianCoarseOctavePair_28float__2c_20float__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20vision__Image_20const__2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6); + } + return 1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 22949), 22456), 3289), 466), 3786), 23055), 16); + abort(); + abort(); } - } else i24 = 22; while (0); - if ((i24 | 0) == 22) { - i24 = 0; - if (i5) { - i3 = 0; - break; - } else i3 = 0; - } - i2 = HEAP8[i10 >> 0] | 0; - i2 = i2 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i2 & 255; - if ((HEAP32[i15 >> 2] | 0) == (i1 + i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i19, i2 << 1, 0); - if ((HEAP8[i10 >> 0] | 0) < 0) i1 = (HEAP32[i9 >> 2] & 2147483647) + -1 | 0; else i1 = 10; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i19, i1, 0); - i1 = (HEAP8[i10 >> 0] | 0) < 0 ? HEAP32[i19 >> 2] | 0 : i19; - HEAP32[i15 >> 2] = i1 + i2; - } - i5 = i4 + 12 | 0; - i2 = HEAP32[i5 >> 2] | 0; - i6 = i4 + 16 | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc(i2 & 255, 16, i1, i15, i13, 0, i18, i11, i12, i14) | 0) break; - i2 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 40 >> 2] & 127](i4) | 0; else { - HEAP32[i5 >> 2] = i2 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - } - i3 = i7; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i19, (HEAP32[i15 >> 2] | 0) - i1 | 0, 0); - i14 = (HEAP8[i10 >> 0] | 0) < 0 ? HEAP32[i19 >> 2] | 0 : i19; - i15 = __ZNSt3__26__clocEv() | 0; - HEAP32[i16 >> 2] = i17; - if ((__ZNSt3__217__libcpp_sscanf_lEPKcP15__locale_structS1_z(i14, i15, 46792, i16) | 0) != 1) HEAP32[i23 >> 2] = 4; - if (i4) { - i1 = HEAP32[i4 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i4 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 36 >> 2] & 127](i4) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i21 >> 2] = 0; - i2 = 1; - } else i2 = 0; - } else i2 = 1; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i24 = 52; - break; - } else { - HEAP32[i22 >> 2] = 0; - i24 = 50; - break; - } - } else i24 = 50; while (0); - if ((i24 | 0) == 50 ? i2 : 0) i24 = 52; - if ((i24 | 0) == 52) HEAP32[i23 >> 2] = HEAP32[i23 >> 2] | 2; - i24 = HEAP32[i21 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i19); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i18); - STACKTOP = i20; - return i24 | 0; -} - -function __ZN6vision22ComputeSubpixelHessianEPfS0_RKNS_5ImageES3_S3_ii(i1, i2, i3, i4, i5, i6, i7) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - var i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i9; - i10 = __ZNK6vision5Image5widthEv(i3) | 0; - i10 = (i10 | 0) == (__ZNK6vision5Image5widthEv(i4) | 0) & 1; - do if ((__ZNK6vision5Image5widthEv(i5) | 0) == (i10 | 0)) { - i10 = __ZNK6vision5Image6heightEv(i3) | 0; - i10 = (i10 | 0) == (__ZNK6vision5Image6heightEv(i4) | 0) & 1; - if ((__ZNK6vision5Image6heightEv(i5) | 0) == (i10 | 0)) { - __ZN6vision32ComputeSubpixelHessianSameOctaveEPfS0_RKNS_5ImageES3_S3_ii(i1, i2, i3, i4, i5, i6, i7); - break; - } else { - i10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22373) | 0, 22444) | 0, 33528) | 0, 466) | 0, 33535) | 0, 22573) | 0; - __ZNKSt3__28ios_base6getlocEv(i8, i10 + (HEAP32[(HEAP32[i10 >> 2] | 0) + -12 >> 2] | 0) | 0); - i7 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57916) | 0; - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i7 >> 2] | 0) + 28 >> 2] & 63](i7, 10) | 0; - __ZNSt3__26localeD2Ev(i8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i10, i7) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i10) | 0; - _abort(); + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23141), 22456), 3289), 469), 3786), 23055), 16); + abort(); + abort(); } - } else { - i10 = __ZNK6vision5Image5widthEv(i3) | 0; - if ((i10 | 0) == (__ZNK6vision5Image5widthEv(i4) | 0) ? (i10 = (__ZNK6vision5Image5widthEv(i4) | 0) >>> 1, (i10 | 0) == (__ZNK6vision5Image5widthEv(i5) | 0)) : 0) { - i10 = __ZNK6vision5Image6heightEv(i3) | 0; - if ((i10 | 0) == (__ZNK6vision5Image6heightEv(i4) | 0) ? (i10 = (__ZNK6vision5Image6heightEv(i4) | 0) >>> 1, (i10 | 0) == (__ZNK6vision5Image6heightEv(i5) | 0)) : 0) { - __ZN6vision36ComputeSubpixelHessianFineOctavePairEPfS0_RKNS_5ImageES3_S3_ii(i1, i2, i3, i4, i5, i6, i7); - break; - } - i10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22605) | 0, 22444) | 0, 33528) | 0, 469) | 0, 33535) | 0, 22573) | 0; - __ZNKSt3__28ios_base6getlocEv(i8, i10 + (HEAP32[(HEAP32[i10 >> 2] | 0) + -12 >> 2] | 0) | 0); - i11 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57916) | 0; - i11 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 63](i11, 10) | 0; - __ZNSt3__26localeD2Ev(i8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i10, i11) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i10) | 0; - _abort(); - } - i11 = (__ZNK6vision5Image5widthEv(i3) | 0) >>> 1; - if ((i11 | 0) == (__ZNK6vision5Image5widthEv(i4) | 0) ? (i11 = __ZNK6vision5Image5widthEv(i4) | 0, (i11 | 0) == (__ZNK6vision5Image5widthEv(i5) | 0)) : 0) { - i11 = (__ZNK6vision5Image5widthEv(i3) | 0) >>> 1; - if ((i11 | 0) == (__ZNK6vision5Image5widthEv(i4) | 0) ? (i11 = __ZNK6vision5Image5widthEv(i4) | 0, (i11 | 0) == (__ZNK6vision5Image5widthEv(i5) | 0)) : 0) { - __ZN6vision38ComputeSubpixelHessianCoarseOctavePairEPfS0_RKNS_5ImageES3_S3_ii(i1, i2, i3, i4, i5, i6, i7); - break; - } - i11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22702) | 0, 22444) | 0, 33528) | 0, 472) | 0, 33535) | 0, 22573) | 0; - __ZNKSt3__28ios_base6getlocEv(i8, i11 + (HEAP32[(HEAP32[i11 >> 2] | 0) + -12 >> 2] | 0) | 0); - i10 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57916) | 0; - i10 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i10 >> 2] | 0) + 28 >> 2] & 63](i10, 10) | 0; - __ZNSt3__26localeD2Ev(i8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i11, i10) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i11) | 0; - _abort(); - } - i11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 29336) | 0, 22444) | 0, 33528) | 0, 475) | 0, 33535) | 0, 22795) | 0; - __ZNKSt3__28ios_base6getlocEv(i8, i11 + (HEAP32[(HEAP32[i11 >> 2] | 0) + -12 >> 2] | 0) | 0); - i10 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57916) | 0; - i10 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i10 >> 2] | 0) + 28 >> 2] & 63](i10, 10) | 0; - __ZNSt3__26localeD2Ev(i8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i11, i10) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i11) | 0; - _abort(); - } while (0); - STACKTOP = i9; - return 1; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23260), 22456), 3289), 472), 3786), 23055), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23353), 22456), 3289), 475), 3786), 23424), 16); + abort(); + abort(); } -function __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i12, i13, i14, i9, i7) { - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i9 = i9 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i10 = 0, i11 = 0; - i1 = HEAP32[i12 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i12 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i12 >> 2] | 0) == 0; - break; - } - } else i3 = 1; while (0); - i2 = HEAP32[i13 >> 2] | 0; - do if (i2) { - i1 = HEAP32[i2 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i3) { - i11 = 17; - break; - } else { - i11 = 16; - break; - } else { - HEAP32[i13 >> 2] = 0; - i11 = 14; - break; - } - } else i11 = 14; while (0); - if ((i11 | 0) == 14) if (i3) i11 = 16; else { - i2 = 0; - i11 = 17; - } - L22 : do if ((i11 | 0) == 16) { - HEAP32[i14 >> 2] = HEAP32[i14 >> 2] | 6; - i1 = 0; - } else if ((i11 | 0) == 17) { - i1 = HEAP32[i12 >> 2] | 0; - i3 = HEAP32[i1 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - i3 = i1 & 255; - if (i3 << 24 >> 24 > -1 ? (i10 = i9 + 8 | 0, HEAP16[(HEAP32[i10 >> 2] | 0) + (i1 << 24 >> 24 << 1) >> 1] & 2048) : 0) { - i1 = (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 36 >> 2] & 63](i9, i3, 0) | 0) << 24 >> 24; - i3 = HEAP32[i12 >> 2] | 0; - i4 = i3 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - if ((i5 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 40 >> 2] & 127](i3) | 0; else { - HEAP32[i4 >> 2] = i5 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i5 >> 0] | 0) | 0; - } - i6 = i2; - i5 = i2; - while (1) { - i1 = i1 + -48 | 0; - i8 = i7 + -1 | 0; - i2 = HEAP32[i12 >> 2] | 0; - do if (i2) { - i3 = HEAP32[i2 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i12 >> 2] = 0; - i4 = 1; - break; - } else { - i4 = (HEAP32[i12 >> 2] | 0) == 0; - break; +function decode_mcu_sub($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0; + $4 = __stack_pointer - 48 | 0; + __stack_pointer = $4; + $9 = HEAP32[$0 + 468 >> 2]; + label$1: { + label$2: { + if (HEAP32[$9 + 44 >> 2] | !HEAP32[$0 + 280 >> 2]) { + break label$2; + } + $3 = HEAP32[$0 + 464 >> 2]; + $8 = $9 + 16 | 0; + HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 24 >> 2] + (HEAP32[$8 >> 2] / 8 | 0); + HEAP32[$9 + 16 >> 2] = 0; + $5 = 0; + if (!(FUNCTION_TABLE[HEAP32[$3 + 8 >> 2]]($0) | 0)) { + break label$1; + } + if (HEAP32[$0 + 340 >> 2] > 0) { + $3 = 0; + while (1) { + HEAP32[(($3 << 2) + $9 | 0) + 24 >> 2] = 0; + $3 = $3 + 1 | 0; + if (($3 | 0) < HEAP32[$0 + 340 >> 2]) { + continue; } - } else i4 = 1; while (0); - if (i5) { - i2 = HEAP32[i5 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i5 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 36 >> 2] & 127](i5) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i13 >> 2] = 0; - i2 = 1; - i6 = 0; - i5 = 0; - } else i2 = 0; - } else { - i2 = 1; - i5 = 0; - } - i3 = HEAP32[i12 >> 2] | 0; - if (!((i7 | 0) > 1 & (i4 ^ i2))) break; - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - i3 = i2 & 255; - if (i3 << 24 >> 24 <= -1) break L22; - if (!(HEAP16[(HEAP32[i10 >> 2] | 0) + (i2 << 24 >> 24 << 1) >> 1] & 2048)) break L22; - i1 = (i1 * 10 | 0) + ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 36 >> 2] & 63](i9, i3, 0) | 0) << 24 >> 24) | 0; - i2 = HEAP32[i12 >> 2] | 0; - i3 = i2 + 12 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 40 >> 2] & 127](i2) | 0; else { - HEAP32[i3 >> 2] = i4 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i4 >> 0] | 0) | 0; - } - i7 = i8; - } - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i12 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i12 >> 2] | 0) == 0; break; } - } else i3 = 1; while (0); - do if (i6) { - i2 = HEAP32[i6 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0; else i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i3) break L22; else break; else { - HEAP32[i13 >> 2] = 0; - i11 = 63; + } + HEAP32[$9 + 20 >> 2] = 0; + HEAP32[$9 + 44 >> 2] = HEAP32[$0 + 280 >> 2]; + if (HEAP32[$0 + 440 >> 2]) { + break label$2; + } + HEAP32[$9 + 40 >> 2] = 0; + } + if (!HEAP32[$9 + 40 >> 2]) { + $14 = HEAP32[$0 + 436 >> 2]; + $16 = HEAP32[$0 + 432 >> 2]; + HEAP32[$4 + 40 >> 2] = $0; + $7 = HEAP32[$0 + 24 >> 2]; + $10 = HEAP32[$7 >> 2]; + HEAP32[$4 + 24 >> 2] = $10; + $2 = HEAP32[$7 + 4 >> 2]; + HEAP32[$4 + 28 >> 2] = $2; + $3 = HEAP32[$9 + 16 >> 2]; + $8 = HEAP32[$9 + 12 >> 2]; + HEAP32[$4 + 16 >> 2] = HEAP32[$9 + 36 >> 2]; + $6 = HEAP32[$9 + 32 >> 2]; + $5 = HEAP32[$9 + 28 >> 2]; + HEAP32[$4 + 8 >> 2] = $5; + HEAP32[$4 + 12 >> 2] = $6; + $5 = HEAP32[$9 + 24 >> 2]; + $6 = HEAP32[$9 + 20 >> 2]; + HEAP32[$4 >> 2] = $6; + HEAP32[$4 + 4 >> 2] = $5; + if (HEAP32[$0 + 368 >> 2] > 0) { + while (1) { + $11 = $12 << 2; + $15 = HEAP32[$11 + $1 >> 2]; + $7 = $9 + $11 | 0; + $10 = HEAP32[$7 + 100 >> 2]; + label$8: { + label$9: { + label$10: { + if (($3 | 0) <= 7) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $8, $3, 0)) { + break label$1; + } + $8 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + $2 = 1; + if (($3 | 0) < 8) { + break label$10; + } + } + $2 = $8 >> $3 - 8 & 255; + $6 = HEAP32[(($2 << 2) + $10 | 0) + 144 >> 2]; + if ($6) { + break label$9; + } + $2 = 9; + } + $2 = jpeg_huff_decode($4 + 24 | 0, $8, $3, $10, $2); + $5 = 0; + if (($2 | 0) < 0) { + break label$1; + } + $8 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + break label$8; + } + $2 = HEAPU8[($2 + $10 | 0) + 1168 | 0]; + $3 = $3 - $6 | 0; + } + $10 = HEAP32[$7 + 140 >> 2]; + $13 = HEAP32[$7 + 180 >> 2]; + label$12: { + label$13: { + if ($13) { + if ($2) { + if (($3 | 0) < ($2 | 0)) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $8, $3, $2)) { + break label$1; + } + $8 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + } + $3 = $3 - $2 | 0; + $7 = $2 << 2; + $2 = HEAP32[$7 + 42064 >> 2]; + $6 = $2 & $8 >> $3; + $2 = $6 - (HEAP32[$7 + 42060 >> 2] < ($6 | 0) ? 0 : $2) | 0; + } else { + $2 = 0; + } + $5 = (HEAP32[($0 + $11 | 0) + 372 >> 2] << 2) + $4 | 0; + $7 = $5 + 4 | 0; + $6 = $7; + $7 = $2 + HEAP32[$5 + 4 >> 2] | 0; + HEAP32[$6 >> 2] = $7; + HEAP16[$15 >> 1] = $7; + $7 = 1; + if (($13 | 0) < 2) { + break label$13; + } + while (1) { + label$19: { + label$20: { + label$21: { + if (($3 | 0) <= 7) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $8, $3, 0)) { + break label$1; + } + $8 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + $2 = 1; + if (($3 | 0) < 8) { + break label$21; + } + } + $2 = $8 >> $3 - 8 & 255; + $6 = HEAP32[(($2 << 2) + $10 | 0) + 144 >> 2]; + if ($6) { + break label$20; + } + $2 = 9; + } + $2 = jpeg_huff_decode($4 + 24 | 0, $8, $3, $10, $2); + $5 = 0; + if (($2 | 0) < 0) { + break label$1; + } + $8 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + break label$19; + } + $2 = HEAPU8[($2 + $10 | 0) + 1168 | 0]; + $3 = $3 - $6 | 0; + } + $6 = $2 >>> 4 | 0; + $2 = $2 & 15; + label$23: { + if ($2) { + if (($3 | 0) < ($2 | 0)) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $8, $3, $2)) { + break label$1; + } + $8 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + } + $3 = $3 - $2 | 0; + $7 = $7 + $6 | 0; + $2 = $2 << 2; + $6 = HEAP32[$2 + 42064 >> 2]; + $11 = $6 & $8 >> $3; + HEAP16[(HEAP32[($7 << 2) + $16 >> 2] << 1) + $15 >> 1] = $11 - (HEAP32[$2 + 42060 >> 2] < ($11 | 0) ? 0 : $6); + break label$23; + } + if (($6 | 0) != 15) { + break label$12; + } + $7 = $7 + 15 | 0; + } + $7 = $7 + 1 | 0; + if (($13 | 0) > ($7 | 0)) { + continue; + } + break; + } + break label$13; + } + $7 = 1; + if (!$2) { + break label$13; + } + if (($3 | 0) < ($2 | 0)) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $8, $3, $2)) { + break label$1; + } + $8 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + } + $3 = $3 - $2 | 0; + } + if (($7 | 0) > ($14 | 0)) { + break label$12; + } + while (1) { + label$28: { + label$29: { + label$30: { + if (($3 | 0) <= 7) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $8, $3, 0)) { + break label$1; + } + $8 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + $2 = 1; + if (($3 | 0) < 8) { + break label$30; + } + } + $2 = $8 >> $3 - 8 & 255; + $6 = HEAP32[(($2 << 2) + $10 | 0) + 144 >> 2]; + if ($6) { + break label$29; + } + $2 = 9; + } + $2 = jpeg_huff_decode($4 + 24 | 0, $8, $3, $10, $2); + $5 = 0; + if (($2 | 0) < 0) { + break label$1; + } + $8 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + break label$28; + } + $2 = HEAPU8[($2 + $10 | 0) + 1168 | 0]; + $3 = $3 - $6 | 0; + } + $6 = $2 >>> 4 | 0; + $2 = $2 & 15; + label$32: { + if ($2) { + if (($3 | 0) < ($2 | 0)) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $8, $3, $2)) { + break label$1; + } + $8 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + } + $3 = $3 - $2 | 0; + break label$32; + } + if (($6 | 0) != 15) { + break label$12; + } + } + $7 = ($7 + $6 | 0) + 1 | 0; + if (($14 | 0) >= ($7 | 0)) { + continue; + } + break; + } + } + $12 = $12 + 1 | 0; + if (($12 | 0) < HEAP32[$0 + 368 >> 2]) { + continue; + } break; } - } else i11 = 63; while (0); - if ((i11 | 0) == 63 ? !i3 : 0) break; - HEAP32[i14 >> 2] = HEAP32[i14 >> 2] | 2; - break; - } - HEAP32[i14 >> 2] = HEAP32[i14 >> 2] | 4; - i1 = 0; - } while (0); - return i1 | 0; -} - -function _icpPointRobust(i20, i21, i6, i23, i29) { - i20 = i20 | 0; - i21 = i21 | 0; - i6 = i6 | 0; - i23 = i23 | 0; - i29 = i29 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i22 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i30 = 0; - i30 = STACKTOP; - STACKTOP = STACKTOP + 192 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(192); - i5 = i30 + 184 | 0; - i4 = i30 + 176 | 0; - i3 = i30 + 168 | 0; - i1 = i30 + 160 | 0; - i24 = i30 + 144 | 0; - i25 = i30 + 48 | 0; - i26 = i30; - i27 = i21 + 8 | 0; - i2 = HEAP32[i27 >> 2] | 0; - do if ((i2 | 0) >= 4) { - i7 = ~~(+HEAPF64[i20 + 128 >> 3] * +(i2 | 0)) + -1 | 0; - i7 = (i7 | 0) > 3 ? i7 : 3; - i28 = _malloc(i2 * 96 | 0) | 0; - if (!i28) { - _arLog(0, 3, 18493, i1); - i1 = -1; - break; - } - i22 = _malloc(i2 << 4) | 0; - if (!i22) { - _arLog(0, 3, 18493, i3); - _free(i28); - i1 = -1; - break; - } - i1 = i2 << 3; - i19 = _malloc(i1) | 0; - if (!i19) { - _arLog(0, 3, 18493, i4); - _free(i28); - _free(i22); - i1 = -1; + $7 = HEAP32[$0 + 24 >> 2]; + $10 = HEAP32[$4 + 24 >> 2]; + $2 = HEAP32[$4 + 28 >> 2]; + } + HEAP32[$7 + 4 >> 2] = $2; + HEAP32[$7 >> 2] = $10; + HEAP32[$9 + 16 >> 2] = $3; + HEAP32[$9 + 12 >> 2] = $8; + $3 = $9 + 20 | 0; + HEAP32[$3 + 16 >> 2] = HEAP32[$4 + 16 >> 2]; + $6 = HEAP32[$4 + 12 >> 2]; + $5 = HEAP32[$4 + 8 >> 2]; + HEAP32[$9 + 28 >> 2] = $5; + HEAP32[$9 + 32 >> 2] = $6; + $5 = HEAP32[$4 + 4 >> 2]; + $6 = HEAP32[$4 >> 2]; + HEAP32[$9 + 20 >> 2] = $6; + HEAP32[$9 + 24 >> 2] = $5; + } + HEAP32[$9 + 44 >> 2] = HEAP32[$9 + 44 >> 2] - 1; + $5 = 1; + } + __stack_pointer = $4 + 48 | 0; + $6 = $5; + return $6 | 0; +} + +function get_matrix_code($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0; + $12 = __stack_pointer - 48 | 0; + __stack_pointer = $12; + label$1: { + if ($1 - 9 >>> 0 <= 4294967289) { + HEAP32[$2 >> 2] = -1; + HEAP32[$3 >> 2] = 0; + $9 = $4; + HEAP32[$9 >> 2] = 0; + HEAP32[$9 + 4 >> 2] = -1074790400; + $10 = -1; + break label$1; + } + HEAP32[$12 + 16 >> 2] = 0; + $10 = $1 - 1 | 0; + HEAP32[$12 + 28 >> 2] = $10; + $18 = Math_imul($1, $1); + HEAP32[$12 + 24 >> 2] = $18 - 1; + HEAP32[$12 + 20 >> 2] = Math_imul($1, $10); + $16 = 255; + while (1) { + if (($7 | 0) != 4) { + $8 = HEAPU8[HEAP32[($12 + 16 | 0) + ($7 << 2) >> 2] + $0 | 0]; + $16 = $16 & 255; + $16 = $8 >>> 0 < $16 >>> 0 ? $8 : $16; + $14 = $14 & 255; + $14 = $8 >>> 0 > $14 >>> 0 ? $8 : $14; + $7 = $7 + 1 | 0; + continue; + } break; } - i18 = _malloc(i1) | 0; - if (!i18) { - _arLog(0, 3, 18493, i5); - _free(i28); - _free(i22); - _free(i19); - i1 = -1; - break; + $7 = $14 & 255; + $8 = $16 & 255; + if (($7 - $8 | 0) <= 29) { + HEAP32[$2 >> 2] = -1; + HEAP32[$3 >> 2] = 0; + $9 = $4; + HEAP32[$9 >> 2] = 0; + HEAP32[$9 + 4 >> 2] = -1074790400; + $10 = -2; + break label$1; } - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i23 + (i1 << 5) + (i2 << 3) >> 3] = +HEAPF64[i6 + (i1 << 5) + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; - } - i1 = i1 + 1 | 0; - } - i16 = i21 + 4 | 0; - i17 = i24 + 8 | 0; - i6 = i18 + (i7 << 3) | 0; - i7 = i20 + 104 | 0; - i13 = i20 + 96 | 0; - i14 = i20 + 120 | 0; - i15 = i20 + 112 | 0; - d11 = 0.0; - i5 = 0; - L23 : while (1) { - _arUtilMatMul(i20, i23, i25) | 0; - i1 = 0; - while (1) { - i2 = HEAP32[i27 >> 2] | 0; - if ((i1 | 0) >= (i2 | 0)) break; - if ((_icpGetU_from_X_by_MatX2U(i24, i25, (HEAP32[i16 >> 2] | 0) + (i1 * 24 | 0) | 0) | 0) < 0) { - i2 = 20; - break L23; - } - i4 = HEAP32[i21 >> 2] | 0; - d10 = +HEAPF64[i4 + (i1 << 4) >> 3] - +HEAPF64[i24 >> 3]; - d12 = +HEAPF64[i4 + (i1 << 4) + 8 >> 3] - +HEAPF64[i17 >> 3]; - i4 = i1 << 1; - HEAPF64[i22 + (i4 << 3) >> 3] = d10; - HEAPF64[i22 + ((i4 | 1) << 3) >> 3] = d12; - d12 = d10 * d10 + d12 * d12; - HEAPF64[i18 + (i1 << 3) >> 3] = d12; - HEAPF64[i19 + (i1 << 3) >> 3] = d12; - i1 = i1 + 1 | 0; - } - _qsort(i18, i2, 8, 18); - d12 = +HEAPF64[i6 >> 3] * 4.0; - d12 = d12 < 16.0 ? 16.0 : d12; - i2 = HEAP32[i27 >> 2] | 0; - d10 = d12 / 6.0; - d9 = 0.0; - i1 = 0; + $14 = $7 + $8 >>> 1 | 0; + $8 = 0; + $7 = 0; + label$6: { while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - d8 = +HEAPF64[i18 + (i1 << 3) >> 3]; - if (d8 > d12) d8 = d10; else { - d8 = 1.0 - d8 / d12; - d8 = d10 * (1.0 - d8 * (d8 * d8)); - } - d9 = d9 + d8; - i1 = i1 + 1 | 0; - } - d9 = d9 / +(i2 | 0); - if (d9 < +HEAPF64[i7 >> 3]) { - i2 = 44; - break; - } - if ((i5 | 0 ? d9 < +HEAPF64[i14 >> 3] : 0) ? d9 / d11 > +HEAPF64[i15 >> 3] : 0) { - i2 = 44; - break; - } - if ((i5 | 0) == (HEAP32[i13 >> 2] | 0)) { - i2 = 44; - break; - } - i1 = 0; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i2 | 0)) break; - d8 = +HEAPF64[i19 + (i4 << 3) >> 3]; - if (d8 <= d12) { - i3 = i1 * 6 | 0; - i2 = i28 + (i3 << 3) | 0; - if ((_icpGetJ_U_S(i2, i20, i23, (HEAP32[i16 >> 2] | 0) + (i4 * 24 | 0) | 0) | 0) < 0) { - i2 = 36; - break L23; - } - d11 = 1.0 - d8 / d12; - d11 = d11 * d11; - HEAPF64[i2 >> 3] = d11 * +HEAPF64[i2 >> 3]; - i2 = i28 + ((i3 | 1) << 3) | 0; - HEAPF64[i2 >> 3] = d11 * +HEAPF64[i2 >> 3]; - i2 = i28 + (i3 + 2 << 3) | 0; - HEAPF64[i2 >> 3] = d11 * +HEAPF64[i2 >> 3]; - i2 = i28 + (i3 + 3 << 3) | 0; - HEAPF64[i2 >> 3] = d11 * +HEAPF64[i2 >> 3]; - i2 = i28 + (i3 + 4 << 3) | 0; - HEAPF64[i2 >> 3] = d11 * +HEAPF64[i2 >> 3]; - i2 = i28 + (i3 + 5 << 3) | 0; - HEAPF64[i2 >> 3] = d11 * +HEAPF64[i2 >> 3]; - i2 = i28 + (i3 + 6 << 3) | 0; - HEAPF64[i2 >> 3] = d11 * +HEAPF64[i2 >> 3]; - i2 = i28 + (i3 + 7 << 3) | 0; - HEAPF64[i2 >> 3] = d11 * +HEAPF64[i2 >> 3]; - i2 = i28 + (i3 + 8 << 3) | 0; - HEAPF64[i2 >> 3] = d11 * +HEAPF64[i2 >> 3]; - i2 = i28 + (i3 + 9 << 3) | 0; - HEAPF64[i2 >> 3] = d11 * +HEAPF64[i2 >> 3]; - i2 = i28 + (i3 + 10 << 3) | 0; - HEAPF64[i2 >> 3] = d11 * +HEAPF64[i2 >> 3]; - i2 = i28 + (i3 + 11 << 3) | 0; - HEAPF64[i2 >> 3] = d11 * +HEAPF64[i2 >> 3]; - i2 = i4 << 1; - HEAPF64[i22 + (i1 << 3) >> 3] = d11 * +HEAPF64[i22 + (i2 << 3) >> 3]; - HEAPF64[i22 + (i1 + 1 << 3) >> 3] = d11 * +HEAPF64[i22 + ((i2 | 1) << 3) >> 3]; - i1 = i1 + 2 | 0; - i2 = HEAP32[i27 >> 2] | 0; - } - i4 = i4 + 1 | 0; - } - if ((i1 | 0) < 6) { - i2 = 40; - break; - } - if ((_icpGetDeltaS(i26, i22, i28, i1) | 0) < 0) { - i2 = 42; - break; - } - _icpUpdateMat(i23, i26) | 0; - d11 = d9; - i5 = i5 + 1 | 0; - } - if ((i2 | 0) == 20) { - _icpGetXw2XcCleanup_221(i28, i22, i19, i18); - i1 = -1; - break; - } else if ((i2 | 0) == 36) { - _icpGetXw2XcCleanup_221(i28, i22, i19, i18); - i1 = -1; - break; - } else if ((i2 | 0) == 40) { - _icpGetXw2XcCleanup_221(i28, i22, i19, i18); - i1 = -1; - break; - } else if ((i2 | 0) == 42) { - _icpGetXw2XcCleanup_221(i28, i22, i19, i18); - i1 = -1; - break; - } else if ((i2 | 0) == 44) { - HEAPF64[i29 >> 3] = d9; - _free(i28); - _free(i22); - _free(i19); - _free(i18); - i1 = 0; - break; - } - } else i1 = -1; while (0); - STACKTOP = i30; - return i1 | 0; -} - -function __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i11, i12, i13, i9, i7) { - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i9 = i9 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i10 = 0; - i1 = HEAP32[i11 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i11 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i11 >> 2] | 0) == 0; - break; - } - } else i3 = 1; while (0); - i2 = HEAP32[i12 >> 2] | 0; - do if (i2) { - i1 = HEAP32[i2 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i3) { - i10 = 17; - break; - } else { - i10 = 16; - break; - } else { - HEAP32[i12 >> 2] = 0; - i10 = 14; - break; - } - } else i10 = 14; while (0); - if ((i10 | 0) == 14) if (i3) i10 = 16; else { - i2 = 0; - i10 = 17; - } - L22 : do if ((i10 | 0) == 16) { - HEAP32[i13 >> 2] = HEAP32[i13 >> 2] | 6; - i1 = 0; - } else if ((i10 | 0) == 17) { - i1 = HEAP32[i11 >> 2] | 0; - i3 = HEAP32[i1 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 12 >> 2] & 63](i9, 2048, i1) | 0)) { - HEAP32[i13 >> 2] = HEAP32[i13 >> 2] | 4; - i1 = 0; - break; - } - i1 = (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 52 >> 2] & 63](i9, i1, 0) | 0) << 24 >> 24; - i3 = HEAP32[i11 >> 2] | 0; - i4 = i3 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - if ((i5 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 40 >> 2] & 127](i3) | 0; else { - HEAP32[i4 >> 2] = i5 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i5 >> 2] | 0) | 0; - } - i6 = i2; - i5 = i2; - while (1) { - i1 = i1 + -48 | 0; - i8 = i7 + -1 | 0; - i2 = HEAP32[i11 >> 2] | 0; - do if (i2) { - i3 = HEAP32[i2 + 12 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i11 >> 2] = 0; - i4 = 1; - break; - } else { - i4 = (HEAP32[i11 >> 2] | 0) == 0; - break; - } - } else i4 = 1; while (0); - if (i5) { - i2 = HEAP32[i5 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i5 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 36 >> 2] & 127](i5) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i12 >> 2] = 0; - i2 = 1; - i6 = 0; - i5 = 0; - } else i2 = 0; - } else { - i2 = 1; - i5 = 0; - } - i3 = HEAP32[i11 >> 2] | 0; - if (!((i7 | 0) > 1 & (i4 ^ i2))) break; - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 12 >> 2] & 63](i9, 2048, i2) | 0)) break L22; - i1 = (i1 * 10 | 0) + ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 52 >> 2] & 63](i9, i2, 0) | 0) << 24 >> 24) | 0; - i2 = HEAP32[i11 >> 2] | 0; - i3 = i2 + 12 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 40 >> 2] & 127](i2) | 0; else { - HEAP32[i3 >> 2] = i4 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i4 >> 2] | 0) | 0; - } - i7 = i8; - } - do if (i3) { - i2 = HEAP32[i3 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i11 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i11 >> 2] | 0) == 0; - break; - } - } else i3 = 1; while (0); - do if (i6) { - i2 = HEAP32[i6 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i6 + 16 >> 2] | 0)) i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i6 >> 2] | 0) + 36 >> 2] & 127](i6) | 0; else i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i3) break L22; else break; else { - HEAP32[i12 >> 2] = 0; - i10 = 61; - break; - } - } else i10 = 61; while (0); - if ((i10 | 0) == 61 ? !i3 : 0) break; - HEAP32[i13 >> 2] = HEAP32[i13 >> 2] | 2; - } while (0); - return i1 | 0; -} - -function __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_RKNS_28BinaryHierarchicalClusteringILi96EEE(i13, i14, i17, i18) { - i13 = i13 | 0; - i14 = i14 | 0; - i17 = i17 | 0; - i18 = i18 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i15 = 0, i16 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0; - i22 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i19 = i22; - i20 = i13 + 4 | 0; - HEAP32[i20 >> 2] = HEAP32[i13 >> 2]; - do if ((__ZNK6vision18BinaryFeatureStore4sizeEv(i14) | 0) != 0 ? (__ZNK6vision18BinaryFeatureStore4sizeEv(i17) | 0) != 0 : 0) { - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm(i13, __ZNK6vision18BinaryFeatureStore4sizeEv(i14) | 0); - i15 = i13 + 8 | 0; - i16 = i13 + 12 | 0; - i12 = 0; - L4 : while (1) { - if (i12 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv(i14) | 0) >>> 0) break; - i7 = __ZNK6vision18BinaryFeatureStore7featureEm(i14, i12) | 0; - __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryEPKh(i18, i7) | 0; - i10 = __ZNK6vision18BinaryFeatureStore5pointEm(i14, i12) | 0; - i8 = __ZNK6vision28BinaryHierarchicalClusteringILi96EE12reverseIndexEv(i18) | 0; - i9 = i8 + 4 | 0; - i10 = i10 + 16 | 0; - i5 = 0; - i6 = -1; - i3 = -1; - i2 = 2147483647; - while (1) { - i1 = HEAP32[i8 >> 2] | 0; - if (i5 >>> 0 >= (HEAP32[i9 >> 2] | 0) - i1 >> 2 >>> 0) break; - i23 = HEAP8[i10 >> 0] | 0; - i4 = (__ZNK6vision18BinaryFeatureStore5pointEm(i17, HEAP32[i1 + (i5 << 2) >> 2] | 0) | 0) + 16 | 0; - do if (i23 << 24 >> 24 == (HEAP8[i4 >> 0] | 0)) { - i1 = __ZN6vision15HammingDistanceILi96EEEjPKhS2_(i7, __ZNK6vision18BinaryFeatureStore7featureEm(i17, HEAP32[(HEAP32[i8 >> 2] | 0) + (i5 << 2) >> 2] | 0) | 0) | 0; - if (i1 >>> 0 < i6 >>> 0) { - i4 = i1; - i1 = i6; - i2 = HEAP32[(HEAP32[i8 >> 2] | 0) + (i5 << 2) >> 2] | 0; - break; - } else { - i4 = i6; - i1 = i1 >>> 0 < i3 >>> 0 ? i1 : i3; - break; + if (($7 | 0) == 4) { + label$9: { + label$10: { + while (1) { + $7 = $8; + if (($7 | 0) == 4) { + break label$10; + } + $8 = $7 + 1 | 0; + if (HEAPU8[($12 + 44 | 0) + ($7 + 2 & 3) | 0] | (HEAPU8[($12 + 44 | 0) + $7 | 0] != 1 | HEAPU8[($12 + 44 | 0) + ($8 & 3) | 0] != 1)) { + continue; + } + break; + } + HEAP32[$3 >> 2] = $7; + $7 = 0; + $17 = 255; + while (1) { + if (($7 | 0) != ($18 | 0)) { + $8 = $0 + $7 | 0; + $9 = $8; + $8 = HEAPU8[$8 | 0]; + HEAP8[$9 | 0] = $14 >>> 0 > $8 >>> 0; + $8 = $8 - $14 | 0; + $9 = $8; + $8 = $8 >> 31; + $8 = ($9 ^ $8) - $8 | 0; + $17 = ($8 | 0) < ($17 | 0) ? $8 : $17; + $7 = $7 + 1 | 0; + continue; + } + break; + } + $8 = $10; + label$14: { + switch (HEAP32[$3 >> 2]) { + case 0: + $18 = ($1 | 0) > 0 ? $1 : 0; + $8 = 0; + while (1) { + if (($8 | 0) == ($18 | 0)) { + break label$6; + } + $16 = Math_imul($1, $8); + $7 = 0; + while (1) { + if (($1 | 0) != ($7 | 0)) { + label$20: { + if (!($7 | $8)) { + break label$20; + } + $14 = ($8 | 0) == ($10 | 0); + if ($14 & !$7 | ($7 | 0) == ($10 | 0) & $14) { + break label$20; + } + $3 = $11; + $13 = $15; + $9 = $13 << 1 | $3 >>> 31; + $13 = HEAPU8[($7 + $16 | 0) + $0 | 0] != 0; + $11 = $3 << 1; + $11 = $13 | $11; + $3 = $9; + $15 = $3; + } + $7 = $7 + 1 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + ; + + case 1: + $16 = ($1 | 0) > 0 ? $1 : 0; + $8 = 0; + while (1) { + if (($8 | 0) == ($16 | 0)) { + break label$6; + } + $7 = $10; + while (1) { + if (($7 | 0) >= 0) { + label$24: { + if (!$8 & ($7 | 0) == ($10 | 0)) { + break label$24; + } + $14 = ($8 | 0) == ($10 | 0); + if ($14 & ($7 | 0) == ($10 | 0) | !$7 & $14) { + break label$24; + } + $9 = $11; + $3 = $15; + $13 = $3 << 1 | $9 >>> 31; + $3 = HEAPU8[(Math_imul($1, $7) + $8 | 0) + $0 | 0] != 0; + $11 = $9 << 1; + $11 = $3 | $11; + $9 = $13; + $15 = $9; + } + $7 = $7 - 1 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + ; + + case 2: + break label$14; + + case 3: + break label$9; + + default: + break label$6; + } + } + while (1) { + if (($8 | 0) < 0) { + break label$6; + } + $14 = Math_imul($1, $8); + $7 = $10; + while (1) { + if (($7 | 0) >= 0) { + if (!(($7 | 0) == ($10 | 0) & ($8 | 0) == ($10 | 0) | (!($7 | $8) | !$8 & ($7 | 0) == ($10 | 0)))) { + $13 = $11; + $9 = $15; + $3 = $9 << 1 | $13 >>> 31; + $9 = HEAPU8[($7 + $14 | 0) + $0 | 0] != 0; + $11 = $13 << 1; + $11 = $9 | $11; + $15 = $3; + } + $7 = $7 - 1 | 0; + continue; + } + break; + } + $8 = $8 - 1 | 0; + continue; + } + } + HEAP32[$2 >> 2] = -1; + HEAP32[$3 >> 2] = 0; + $9 = $4; + HEAP32[$9 >> 2] = 0; + HEAP32[$9 + 4 >> 2] = -1074790400; + $10 = -3; + break label$1; } } else { - i4 = i6; - i1 = i3; - } while (0); - i5 = i5 + 1 | 0; - i6 = i4; - i3 = i1; - } - do if ((i6 | 0) != -1) { - if ((i2 | 0) == -1) { - i21 = 15; - break L4; - } - if ((i3 | 0) == -1) { - __ZN6vision7match_tC2Eii(i19, i12, i2); - i1 = HEAP32[i20 >> 2] | 0; - if (i1 >>> 0 < (HEAP32[i15 >> 2] | 0) >>> 0) { - i9 = i19; - i10 = HEAP32[i9 + 4 >> 2] | 0; - i23 = i1; - HEAP32[i23 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i23 + 4 >> 2] = i10; - HEAP32[i20 >> 2] = (HEAP32[i20 >> 2] | 0) + 8; - } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_(i13, i19); - break; - } - if (+(i6 >>> 0) / +(i3 >>> 0) < +HEAPF32[i16 >> 2]) { - __ZN6vision7match_tC2Eii(i19, i12, i2); - i1 = HEAP32[i20 >> 2] | 0; - if (i1 >>> 0 < (HEAP32[i15 >> 2] | 0) >>> 0) { - i9 = i19; - i10 = HEAP32[i9 + 4 >> 2] | 0; - i23 = i1; - HEAP32[i23 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i23 + 4 >> 2] = i10; - HEAP32[i20 >> 2] = (HEAP32[i20 >> 2] | 0) + 8; - } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_(i13, i19); - } - } while (0); - i12 = i12 + 1 | 0; - } - if ((i21 | 0) == 15) { - i23 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 29516) | 0, 29361) | 0, 33528) | 0, 160) | 0, 33535) | 0, 29588) | 0; - __ZNKSt3__28ios_base6getlocEv(i19, i23 + (HEAP32[(HEAP32[i23 >> 2] | 0) + -12 >> 2] | 0) | 0); - i21 = __ZNKSt3__26locale9use_facetERNS0_2idE(i19, 57916) | 0; - i21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i21 >> 2] | 0) + 28 >> 2] & 63](i21, 10) | 0; - __ZNSt3__26localeD2Ev(i19); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i23, i21) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i23) | 0; - _abort(); - } - i23 = (HEAP32[i20 >> 2] | 0) - (HEAP32[i13 >> 2] | 0) >> 3; - if (i23 >>> 0 > (__ZNK6vision18BinaryFeatureStore4sizeEv(i14) | 0) >>> 0) { - i23 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 29606) | 0, 29361) | 0, 33528) | 0, 175) | 0, 33535) | 0, 29666) | 0; - __ZNKSt3__28ios_base6getlocEv(i19, i23 + (HEAP32[(HEAP32[i23 >> 2] | 0) + -12 >> 2] | 0) | 0); - i21 = __ZNKSt3__26locale9use_facetERNS0_2idE(i19, 57916) | 0; - i21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i21 >> 2] | 0) + 28 >> 2] & 63](i21, 10) | 0; - __ZNSt3__26localeD2Ev(i19); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i23, i21) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i23) | 0; - _abort(); - } else { - i11 = (HEAP32[i20 >> 2] | 0) - (HEAP32[i13 >> 2] | 0) >> 3; - break; - } - } else i11 = 0; while (0); - STACKTOP = i22; - return i11 | 0; -} - -function __ZNSt3__26locale5__impC2Em(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - HEAP32[i1 + 4 >> 2] = i2 + -1; - HEAP32[i1 >> 2] = 16836; - i2 = i1 + 8 | 0; - __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEEC2Em(i2, 28); - i3 = i1 + 144 | 0; - HEAP32[i3 >> 2] = 0; - HEAP32[i3 + 4 >> 2] = 0; - HEAP32[i3 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i3, 46795, __ZNSt3__211char_traitsIcE6lengthEPKc(46795) | 0); - HEAP32[i1 + 12 >> 2] = HEAP32[i2 >> 2]; - __ZNSt3__212_GLOBAL__N_14makeINS_7collateIcEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7collateIcEEEEvPT_(i1, 55664); - __ZNSt3__212_GLOBAL__N_14makeINS_7collateIwEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7collateIwEEEEvPT_(i1, 55672); - __ZNSt3__212_GLOBAL__N_14makeINS_5ctypeIcEEDnbjEERT_T0_T1_T2_(); - __ZNSt3__26locale5__imp7installINS_5ctypeIcEEEEvPT_(i1, 55680); - __ZNSt3__212_GLOBAL__N_14makeINS_5ctypeIwEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_5ctypeIwEEEEvPT_(i1, 55696); - __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIcc11__mbstate_tEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7codecvtIcc11__mbstate_tEEEEvPT_(i1, 55704); - __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIwc11__mbstate_tEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7codecvtIwc11__mbstate_tEEEEvPT_(i1, 55712); - __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIDsc11__mbstate_tEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7codecvtIDsc11__mbstate_tEEEEvPT_(i1, 55728); - __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIDic11__mbstate_tEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7codecvtIDic11__mbstate_tEEEEvPT_(i1, 55736); - __ZNSt3__212_GLOBAL__N_14makeINS_8numpunctIcEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8numpunctIcEEEEvPT_(i1, 55744); - __ZNSt3__212_GLOBAL__N_14makeINS_8numpunctIwEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8numpunctIwEEEEvPT_(i1, 55768); - __ZNSt3__212_GLOBAL__N_14makeINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(i1, 55800); - __ZNSt3__212_GLOBAL__N_14makeINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(i1, 55808); - __ZNSt3__212_GLOBAL__N_14makeINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(i1, 55816); - __ZNSt3__212_GLOBAL__N_14makeINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(i1, 55824); - __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIcLb0EEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_10moneypunctIcLb0EEEEEvPT_(i1, 55832); - __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIcLb1EEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_10moneypunctIcLb1EEEEEvPT_(i1, 55840); - __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIwLb0EEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_10moneypunctIwLb0EEEEEvPT_(i1, 55848); - __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIwLb1EEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_10moneypunctIwLb1EEEEEvPT_(i1, 55856); - __ZNSt3__212_GLOBAL__N_14makeINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(i1, 55864); - __ZNSt3__212_GLOBAL__N_14makeINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(i1, 55872); - __ZNSt3__212_GLOBAL__N_14makeINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(i1, 55880); - __ZNSt3__212_GLOBAL__N_14makeINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(i1, 55888); - __ZNSt3__212_GLOBAL__N_14makeINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(i1, 55896); - __ZNSt3__212_GLOBAL__N_14makeINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(i1, 55912); - __ZNSt3__212_GLOBAL__N_14makeINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(i1, 55928); - __ZNSt3__212_GLOBAL__N_14makeINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(i1, 55944); - __ZNSt3__212_GLOBAL__N_14makeINS_8messagesIcEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8messagesIcEEEEvPT_(i1, 55960); - __ZNSt3__212_GLOBAL__N_14makeINS_8messagesIwEEjEERT_T0_(); - __ZNSt3__26locale5__imp7installINS_8messagesIwEEEEvPT_(i1, 55968); - return; -} - -function __ZN6vision16PruneDoGFeaturesERNSt3__26vectorINS1_INS1_INS0_4pairIfmEENS0_9allocatorIS3_EEEENS4_IS6_EEEENS4_IS8_EEEERNS1_INS_25DoGScaleInvariantDetector12FeaturePointENS4_ISD_EEEERKSF_iiiii(i17, i18, i21, i1, i3, i2, i4, i10) { - i17 = i17 | 0; - i18 = i18 | 0; - i21 = i21 | 0; - i1 = i1 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - i10 = i10 | 0; - var i5 = 0, i6 = 0, d7 = 0.0, d8 = 0.0, i9 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i19 = 0, i20 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, d26 = 0.0; - i25 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i24 = i25 + 8 | 0; - i16 = i25 + 32 | 0; - i15 = i25 + 28 | 0; - i22 = i25 + 24 | 0; - i23 = i25 + 20 | 0; - i19 = i25 + 16 | 0; - i20 = i25; - i9 = Math_imul(i3, i1) | 0; - d8 = +Math_ceil(+(+(i2 | 0) / +(i1 | 0))); - d7 = +Math_ceil(+(+(i4 | 0) / +(i3 | 0))); - i13 = i18 + 4 | 0; - HEAP32[i13 >> 2] = HEAP32[i18 >> 2]; - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE7reserveEm(i18, i10); - i14 = i17 + 4 | 0; - i3 = HEAP32[i17 >> 2] | 0; - i4 = ((HEAP32[i14 >> 2] | 0) - i3 | 0) / 12 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i6 = HEAP32[i3 + (i1 * 12 | 0) >> 2] | 0; - i5 = ((HEAP32[i3 + (i1 * 12 | 0) + 4 >> 2] | 0) - i6 | 0) / 12 | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == (i5 | 0)) break; - HEAP32[i6 + (i2 * 12 | 0) + 4 >> 2] = HEAP32[i6 + (i2 * 12 | 0) >> 2]; - i2 = i2 + 1 | 0; - } - i1 = i1 + 1 | 0; - } - i12 = (i10 | 0) / (i9 | 0) | 0; - i9 = i21 + 4 | 0; - d8 = +(~~d8 | 0); - d7 = +(~~d7 | 0); - i3 = i24 + 4 | 0; - i6 = 0; - while (1) { - i11 = HEAP32[i21 >> 2] | 0; - i1 = i11; - if (i6 >>> 0 >= (((HEAP32[i9 >> 2] | 0) - i11 | 0) / 36 | 0) >>> 0) break; - i4 = ~~(+HEAPF32[i1 + (i6 * 36 | 0) + 4 >> 2] / d7); - i5 = HEAP32[(HEAP32[i17 >> 2] | 0) + (~~(+HEAPF32[i1 + (i6 * 36 | 0) >> 2] / d8) * 12 | 0) >> 2] | 0; - d26 = +Math_abs(+(+HEAPF32[i1 + (i6 * 36 | 0) + 24 >> 2])); - HEAPF32[i24 >> 2] = d26; - HEAP32[i3 >> 2] = i6; - i1 = i5 + (i4 * 12 | 0) + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i5 + (i4 * 12 | 0) + 8 >> 2] | 0) >>> 0) { - i5 = i24; - i10 = HEAP32[i5 + 4 >> 2] | 0; - i11 = i2; - HEAP32[i11 >> 2] = HEAP32[i5 >> 2]; - HEAP32[i11 + 4 >> 2] = i10; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 8; - } else __ZNSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_(i5 + (i4 * 12 | 0) | 0, i24); - i6 = i6 + 1 | 0; - } - i11 = i18 + 8 | 0; - i1 = HEAP32[i17 >> 2] | 0; - i3 = i1; - i10 = 0; - i2 = i3; - L17 : while (1) { - if (i10 >>> 0 >= (((HEAP32[i14 >> 2] | 0) - i1 | 0) / 12 | 0) >>> 0) { - i1 = 16; - break; - } - i9 = 0; - i4 = i3; - while (1) { - i6 = HEAP32[i4 + (i10 * 12 | 0) >> 2] | 0; - i1 = i6; - if (i9 >>> 0 >= (((HEAP32[i4 + (i10 * 12 | 0) + 4 >> 2] | 0) - i6 | 0) / 12 | 0) >>> 0) break; - i6 = i1 + (i9 * 12 | 0) | 0; - i1 = i1 + (i9 * 12 | 0) + 4 | 0; - i3 = HEAP32[i1 >> 2] | 0; - i4 = HEAP32[i6 >> 2] | 0; - i5 = i3 - i4 >> 3; - i5 = i12 >>> 0 < i5 >>> 0 ? i12 : i5; - if (!i5) i1 = i2; else { - HEAP32[i22 >> 2] = i4; - HEAP32[i23 >> 2] = i4 + (i5 << 3); - HEAP32[i19 >> 2] = i3; - HEAP32[i15 >> 2] = HEAP32[i22 >> 2]; - HEAP32[i16 >> 2] = HEAP32[i23 >> 2]; - HEAP32[i24 >> 2] = HEAP32[i19 >> 2]; - __ZNSt3__213__nth_elementIRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEvT0_S9_S9_T_(i15, i16, i24, i20); - i3 = HEAP32[i6 >> 2] | 0; - i4 = i3; - if (i5 >>> 0 > (HEAP32[i1 >> 2] | 0) - i3 >> 3 >>> 0 ? !(+HEAPF32[i4 >> 2] >= +HEAPF32[i4 + (i5 << 3) >> 2]) : 0) { - i1 = 23; - break L17; - } - i4 = 0; - while (1) { - if (i4 >>> 0 >= i5 >>> 0) break; - i2 = (HEAP32[i21 >> 2] | 0) + ((HEAP32[(HEAP32[i6 >> 2] | 0) + (i4 << 3) + 4 >> 2] | 0) * 36 | 0) | 0; - i1 = HEAP32[i13 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i11 >> 2] | 0)) __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_(i18, i2); else { - i3 = i1 + 36 | 0; - do { - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - i1 = i1 + 4 | 0; - i2 = i2 + 4 | 0; - } while ((i1 | 0) < (i3 | 0)); - HEAP32[i13 >> 2] = (HEAP32[i13 >> 2] | 0) + 36; - } - i4 = i4 + 1 | 0; - } - i1 = HEAP32[i17 >> 2] | 0; - } - i9 = i9 + 1 | 0; - i2 = i1; - i4 = i1; - } - i10 = i10 + 1 | 0; - i3 = i4; - i1 = i4; - } - if ((i1 | 0) == 16) { - STACKTOP = i25; - return; - } else if ((i1 | 0) == 23) { - i25 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 22087) | 0, 20520) | 0, 33528) | 0, 661) | 0, 33535) | 0, 22145) | 0; - __ZNKSt3__28ios_base6getlocEv(i24, i25 + (HEAP32[(HEAP32[i25 >> 2] | 0) + -12 >> 2] | 0) | 0); - i23 = __ZNKSt3__26locale9use_facetERNS0_2idE(i24, 57916) | 0; - i23 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i23 >> 2] | 0) + 28 >> 2] & 63](i23, 10) | 0; - __ZNSt3__26localeD2Ev(i24); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i25, i23) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i25) | 0; - _abort(); - } -} - -function __ZNSt3__211__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i(i28, i29, i30, i31, i1, i21, i22, i23, i24, i25, i10, i11, i12, i26, i13) { - i28 = i28 | 0; - i29 = i29 | 0; - i30 = i30 | 0; - i31 = i31 | 0; - i1 = i1 | 0; - i21 = i21 | 0; - i22 = i22 | 0; - i23 = i23 | 0; - i24 = i24 | 0; - i25 = i25 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i26 = i26 | 0; - i13 = i13 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i27 = 0, i32 = 0; - HEAP32[i30 >> 2] = i28; - i14 = i26 + 8 + 3 | 0; - i27 = i26 + 4 | 0; - i15 = i12 + 8 + 3 | 0; - i16 = i12 + 4 | 0; - i17 = (i31 & 512 | 0) == 0; - i18 = (i13 | 0) > 0; - i19 = i11 + 11 | 0; - i20 = i11 + 4 | 0; - i9 = 0; - while (1) { - if ((i9 | 0) == 4) break; - L4 : do switch (HEAP8[i24 + i9 >> 0] | 0) { - case 0: - { - HEAP32[i29 >> 2] = HEAP32[i30 >> 2]; - break; - } - case 1: - { - HEAP32[i29 >> 2] = HEAP32[i30 >> 2]; - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i22 >> 2] | 0) + 44 >> 2] & 63](i22, 32) | 0; - i8 = HEAP32[i30 >> 2] | 0; - HEAP32[i30 >> 2] = i8 + 4; - HEAP32[i8 >> 2] = i7; - break; - } - case 3: - { - i8 = HEAP8[i14 >> 0] | 0; - i2 = i8 << 24 >> 24 < 0; - if ((i2 ? HEAP32[i27 >> 2] | 0 : i8 & 255) | 0) { - i7 = HEAP32[(i2 ? HEAP32[i26 >> 2] | 0 : i26) >> 2] | 0; - i8 = HEAP32[i30 >> 2] | 0; - HEAP32[i30 >> 2] = i8 + 4; - HEAP32[i8 >> 2] = i7; + HEAP8[($12 + 44 | 0) + $7 | 0] = HEAPU8[HEAP32[($12 + 16 | 0) + ($7 << 2) >> 2] + $0 | 0] < $14 >>> 0; + $7 = $7 + 1 | 0; + continue; } break; } - case 2: - { - i6 = HEAP8[i15 >> 0] | 0; - i2 = i6 << 24 >> 24 < 0; - i6 = i2 ? HEAP32[i16 >> 2] | 0 : i6 & 255; - if (!(i17 | (i6 | 0) == 0)) { - i5 = i2 ? HEAP32[i12 >> 2] | 0 : i12; - i3 = i5 + (i6 << 2) | 0; - i4 = HEAP32[i30 >> 2] | 0; - i2 = i4; - while (1) { - if ((i5 | 0) == (i3 | 0)) break; - HEAP32[i2 >> 2] = HEAP32[i5 >> 2]; - i2 = i2 + 4 | 0; - i5 = i5 + 4 | 0; - } - HEAP32[i30 >> 2] = i4 + (i6 << 2); + $14 = ($1 | 0) > 0 ? $1 : 0; + while (1) { + if (($8 | 0) < 0) { + break label$6; } - break; - } - case 4: - { - i3 = HEAP32[i30 >> 2] | 0; - i1 = i23 ? i1 + 4 | 0 : i1; - i2 = i1; + $7 = 0; while (1) { - if (i2 >>> 0 >= i21 >>> 0) break; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i22 >> 2] | 0) + 12 >> 2] & 63](i22, 2048, HEAP32[i2 >> 2] | 0) | 0)) break; - i2 = i2 + 4 | 0; - } - if (i18) { - i5 = i13; - while (1) { - i4 = (i5 | 0) > 0; - if (!(i2 >>> 0 > i1 >>> 0 & i4)) break; - i8 = i2 + -4 | 0; - i6 = HEAP32[i8 >> 2] | 0; - i7 = HEAP32[i30 >> 2] | 0; - HEAP32[i30 >> 2] = i7 + 4; - HEAP32[i7 >> 2] = i6; - i5 = i5 + -1 | 0; - i2 = i8; - } - if (i4) i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i22 >> 2] | 0) + 44 >> 2] & 63](i22, 48) | 0; else i7 = 0; - i6 = HEAP32[i30 >> 2] | 0; - while (1) { - i4 = i6 + 4 | 0; - if ((i5 | 0) <= 0) break; - HEAP32[i6 >> 2] = i7; - i5 = i5 + -1 | 0; - i6 = i4; - } - HEAP32[i30 >> 2] = i4; - HEAP32[i6 >> 2] = i25; - i4 = i2; - } else i4 = i2; - if ((i4 | 0) == (i1 | 0)) { - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i22 >> 2] | 0) + 44 >> 2] & 63](i22, 48) | 0; - i8 = HEAP32[i30 >> 2] | 0; - i2 = i8 + 4 | 0; - HEAP32[i30 >> 2] = i2; - HEAP32[i8 >> 2] = i7; - } else { - i8 = HEAP8[i19 >> 0] | 0; - i2 = i8 << 24 >> 24 < 0; - if (!((i2 ? HEAP32[i20 >> 2] | 0 : i8 & 255) | 0)) i2 = -1; else i2 = HEAP8[(i2 ? HEAP32[i11 >> 2] | 0 : i11) >> 0] | 0; - i5 = 0; - i6 = 0; - i8 = i4; - while (1) { - if ((i8 | 0) == (i1 | 0)) break; - i4 = HEAP32[i30 >> 2] | 0; - if ((i6 | 0) == (i2 | 0)) { - i7 = i4 + 4 | 0; - HEAP32[i30 >> 2] = i7; - HEAP32[i4 >> 2] = i10; - i4 = i5 + 1 | 0; - i5 = HEAP8[i19 >> 0] | 0; - i2 = i5 << 24 >> 24 < 0; - if (i4 >>> 0 < (i2 ? HEAP32[i20 >> 2] | 0 : i5 & 255) >>> 0) { - i2 = HEAP8[(i2 ? HEAP32[i11 >> 2] | 0 : i11) + i4 >> 0] | 0; - i2 = i2 << 24 >> 24 == 127 ? -1 : i2 << 24 >> 24; - i5 = i4; - i6 = 0; - i4 = i7; - } else { - i2 = i6; - i5 = i4; - i6 = 0; - i4 = i7; - } + if (($7 | 0) != ($14 | 0)) { + if (!(!($7 | $8) | !$8 & ($7 | 0) == ($10 | 0) | ($7 ? 0 : ($8 | 0) == ($10 | 0)))) { + $3 = $11; + $13 = $15; + $9 = $13 << 1 | $3 >>> 31; + $13 = HEAPU8[(Math_imul($1, $7) + $8 | 0) + $0 | 0] != 0; + $11 = $3 << 1; + $11 = $13 | $11; + $15 = $9; } - i7 = i8 + -4 | 0; - i32 = HEAP32[i7 >> 2] | 0; - HEAP32[i30 >> 2] = i4 + 4; - HEAP32[i4 >> 2] = i32; - i6 = i6 + 1 | 0; - i8 = i7; + $7 = $7 + 1 | 0; + continue; } - i2 = HEAP32[i30 >> 2] | 0; - } - if ((i3 | 0) != (i2 | 0)) while (1) { - i2 = i2 + -4 | 0; - if (i3 >>> 0 >= i2 >>> 0) break L4; - i32 = HEAP32[i3 >> 2] | 0; - HEAP32[i3 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = i32; - i3 = i3 + 4 | 0; - } - break; - } - default: - {} - } while (0); - i9 = i9 + 1 | 0; - } - i2 = HEAP8[i14 >> 0] | 0; - i1 = i2 << 24 >> 24 < 0; - i2 = i1 ? HEAP32[i27 >> 2] | 0 : i2 & 255; - if (i2 >>> 0 > 1) { - i3 = HEAP32[i26 >> 2] | 0; - i5 = i1 ? i3 + 4 | 0 : i27; - i2 = (i1 ? i3 : i26) + (i2 << 2) | 0; - i3 = HEAP32[i30 >> 2] | 0; - i4 = i2 - i5 | 0; - i1 = i3; - while (1) { - if ((i5 | 0) == (i2 | 0)) break; - HEAP32[i1 >> 2] = HEAP32[i5 >> 2]; - i1 = i1 + 4 | 0; - i5 = i5 + 4 | 0; - } - HEAP32[i30 >> 2] = i3 + (i4 >>> 2 << 2); - } - switch ((i31 & 176) << 24 >> 24) { - case 32: - { - HEAP32[i29 >> 2] = HEAP32[i30 >> 2]; - break; - } - case 16: - break; - default: - HEAP32[i29 >> 2] = i28; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_121parse_unresolved_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i3, i9) { - i1 = i1 | 0; - i3 = i3 | 0; - i9 = i9 | 0; - var i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i10 = i11 + 8 | 0; - i8 = i11; - L1 : do if ((i1 | 0) != (i3 | 0)) switch (HEAP8[i1 >> 0] | 0) { - case 84: - { - i7 = i9 + 4 | 0; - i6 = ((HEAP32[i7 >> 2] | 0) - (HEAP32[i9 >> 2] | 0) | 0) / 24 | 0; - i5 = __ZN10__cxxabiv112_GLOBAL__N_120parse_template_paramINS0_2DbEEEPKcS4_S4_RT_(i1, i3, i9) | 0; - i3 = HEAP32[i7 >> 2] | 0; - i4 = (i3 - (HEAP32[i9 >> 2] | 0) | 0) / 24 | 0; - if ((i5 | 0) != (i1 | 0) & (i4 | 0) == (i6 + 1 | 0)) { - HEAP32[i8 >> 2] = HEAP32[i9 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i10, i3 + -24 | 0, i8); - i1 = i9 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i9 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i8 = i2 + 4 | 0; - HEAP32[i8 >> 2] = 0; - i7 = i2 + 8 | 0; - HEAP32[i7 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i10 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i10 >> 2]; - i9 = i10 + 4 | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - i8 = i10 + 8 | 0; - HEAP32[i7 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i8 >> 2] = 0; - HEAP32[i9 >> 2] = 0; - HEAP32[i10 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i9 + 16 | 0, i10); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i10); - i1 = i5; - break L1; - } - while (1) { - if ((i4 | 0) == (i6 | 0)) break L1; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i10 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i10 * 24 | 0) | 0); - i2 = i10; - } - i10 = i3 + -24 | 0; - HEAP32[i7 >> 2] = i10; - i4 = i4 + -1 | 0; - i3 = i10; - } - } - case 68: - { - i3 = __ZN10__cxxabiv112_GLOBAL__N_114parse_decltypeINS0_2DbEEEPKcS4_S4_RT_(i1, i3, i9) | 0; - if ((i3 | 0) == (i1 | 0)) break L1; - i2 = HEAP32[i9 + 4 >> 2] | 0; - if ((HEAP32[i9 >> 2] | 0) == (i2 | 0)) break L1; - HEAP32[i8 >> 2] = HEAP32[i9 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i10, i2 + -24 | 0, i8); - i1 = i9 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i9 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i8 = i2 + 4 | 0; - HEAP32[i8 >> 2] = 0; - i7 = i2 + 8 | 0; - HEAP32[i7 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i10 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i10 >> 2]; - i9 = i10 + 4 | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - i8 = i10 + 8 | 0; - HEAP32[i7 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i8 >> 2] = 0; - HEAP32[i9 >> 2] = 0; - HEAP32[i10 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i9 + 16 | 0, i10); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i10); - i1 = i3; - break L1; - } - case 83: - { - i2 = __ZN10__cxxabiv112_GLOBAL__N_118parse_substitutionINS0_2DbEEEPKcS4_S4_RT_(i1, i3, i9) | 0; - if ((i2 | 0) != (i1 | 0)) { - i1 = i2; - break L1; - } - if ((i3 - i1 | 0) <= 2) break L1; - if ((HEAP8[i1 + 1 >> 0] | 0) != 116) break L1; - i7 = i1 + 2 | 0; - i4 = __ZN10__cxxabiv112_GLOBAL__N_122parse_unqualified_nameINS0_2DbEEEPKcS4_S4_RT_(i7, i3, i9) | 0; - if ((i4 | 0) == (i7 | 0)) break L1; - i2 = i9 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((HEAP32[i9 >> 2] | 0) == (i3 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i3 + -24 | 0, 0, 49963) | 0; - i1 = (HEAP32[i2 >> 2] | 0) + -24 | 0; - HEAP32[i8 >> 2] = HEAP32[i9 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i10, i1, i8); - i1 = i9 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i9 + 24 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = 0; - i8 = i2 + 4 | 0; - HEAP32[i8 >> 2] = 0; - i7 = i2 + 8 | 0; - HEAP32[i7 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i10 + 12 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i10 >> 2]; - i9 = i10 + 4 | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - i8 = i10 + 8 | 0; - HEAP32[i7 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i8 >> 2] = 0; - HEAP32[i9 >> 2] = 0; - HEAP32[i10 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i9 + 16 | 0, i10); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i10); - i1 = i4; - break L1; - } - default: - break L1; - } while (0); - STACKTOP = i11; - return i1 | 0; -} - -function _get_sof(i11, i3, i4) { - i11 = i11 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i12 = 0, i13 = 0, i14 = 0; - i12 = HEAP32[i11 + 24 >> 2] | 0; - i2 = HEAP32[i12 >> 2] | 0; - i13 = i12 + 4 | 0; - i1 = HEAP32[i13 >> 2] | 0; - HEAP32[i11 + 220 >> 2] = i3; - HEAP32[i11 + 224 >> 2] = i4; - if (!i1) if (!(FUNCTION_TABLE_ii[HEAP32[i12 + 12 >> 2] & 127](i11) | 0)) i1 = 0; else { - i1 = HEAP32[i13 >> 2] | 0; - i2 = HEAP32[i12 >> 2] | 0; - i5 = 4; - } else i5 = 4; - L4 : do if ((i5 | 0) == 4) { - i1 = i1 + -1 | 0; - i3 = i2 + 1 | 0; - i4 = (HEAPU8[i2 >> 0] | 0) << 8; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i12 + 12 >> 2] & 127](i11) | 0)) { - i1 = 0; - break; - } - i1 = HEAP32[i13 >> 2] | 0; - i2 = HEAP32[i12 >> 2] | 0; - } else i2 = i3; - i1 = i1 + -1 | 0; - i3 = i2 + 1 | 0; - i7 = i4 | (HEAPU8[i2 >> 0] | 0); - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i12 + 12 >> 2] & 127](i11) | 0)) { - i1 = 0; - break; - } - i1 = HEAP32[i13 >> 2] | 0; - i2 = HEAP32[i12 >> 2] | 0; - } else i2 = i3; - i1 = i1 + -1 | 0; - i3 = i2 + 1 | 0; - HEAP32[i11 + 212 >> 2] = HEAPU8[i2 >> 0]; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i12 + 12 >> 2] & 127](i11) | 0)) { - i1 = 0; - break; - } - i1 = HEAP32[i13 >> 2] | 0; - i2 = HEAP32[i12 >> 2] | 0; - } else i2 = i3; - i1 = i1 + -1 | 0; - i3 = i2 + 1 | 0; - i2 = (HEAPU8[i2 >> 0] | 0) << 8; - i6 = i11 + 32 | 0; - HEAP32[i6 >> 2] = i2; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i12 + 12 >> 2] & 127](i11) | 0)) { - i1 = 0; - break; - } - i1 = HEAP32[i13 >> 2] | 0; - i3 = HEAP32[i12 >> 2] | 0; - i4 = HEAP32[i6 >> 2] | 0; - } else i4 = i2; - i1 = i1 + -1 | 0; - i2 = i3 + 1 | 0; - HEAP32[i6 >> 2] = i4 + (HEAPU8[i3 >> 0] | 0); - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i12 + 12 >> 2] & 127](i11) | 0)) { - i1 = 0; - break; - } - i1 = HEAP32[i13 >> 2] | 0; - i2 = HEAP32[i12 >> 2] | 0; - } - i1 = i1 + -1 | 0; - i3 = i2 + 1 | 0; - i2 = (HEAPU8[i2 >> 0] | 0) << 8; - i5 = i11 + 28 | 0; - HEAP32[i5 >> 2] = i2; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i12 + 12 >> 2] & 127](i11) | 0)) { - i1 = 0; - break; - } - i1 = HEAP32[i13 >> 2] | 0; - i4 = HEAP32[i12 >> 2] | 0; - i2 = HEAP32[i5 >> 2] | 0; - } else i4 = i3; - i1 = i1 + -1 | 0; - i3 = i4 + 1 | 0; - HEAP32[i5 >> 2] = i2 + (HEAPU8[i4 >> 0] | 0); - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i12 + 12 >> 2] & 127](i11) | 0)) { - i1 = 0; - break; - } - i4 = HEAP32[i13 >> 2] | 0; - i3 = HEAP32[i12 >> 2] | 0; - } else i4 = i1; - i10 = i11 + 36 | 0; - HEAP32[i10 >> 2] = HEAPU8[i3 >> 0]; - i2 = i7 + -8 | 0; - i9 = HEAP32[i11 >> 2] | 0; - HEAP32[i9 + 24 >> 2] = HEAP32[i11 + 416 >> 2]; - HEAP32[i9 + 28 >> 2] = HEAP32[i5 >> 2]; - HEAP32[i9 + 32 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i9 + 36 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 20 >> 2] = 100; - FUNCTION_TABLE_vii[HEAP32[i9 + 4 >> 2] & 63](i11, 1); - i9 = i11 + 440 | 0; - if (HEAP32[(HEAP32[i9 >> 2] | 0) + 16 >> 2] | 0) { - i7 = HEAP32[i11 >> 2] | 0; - HEAP32[i7 + 20 >> 2] = 58; - FUNCTION_TABLE_vi[HEAP32[i7 >> 2] & 255](i11); - } - if (((HEAP32[i6 >> 2] | 0) != 0 ? (HEAP32[i5 >> 2] | 0) != 0 : 0) ? (i8 = HEAP32[i10 >> 2] | 0, (i8 | 0) >= 1) : 0) i1 = i8; else { - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 32; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i11); - i1 = HEAP32[i10 >> 2] | 0; - } - if ((i2 | 0) != (i1 * 3 | 0)) { - i8 = HEAP32[i11 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 11; - FUNCTION_TABLE_vi[HEAP32[i8 >> 2] & 255](i11); - } - i1 = i11 + 216 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (!i2) { - i2 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i11 + 4 >> 2] >> 2] & 63](i11, 1, (HEAP32[i10 >> 2] | 0) * 84 | 0) | 0; - HEAP32[i1 >> 2] = i2; - } - i8 = i12 + 12 | 0; - i7 = 0; - i1 = i4; - while (1) { - i1 = i1 + -1 | 0; - i3 = i3 + 1 | 0; - if ((i7 | 0) >= (HEAP32[i10 >> 2] | 0)) break; - HEAP32[i2 + 4 >> 2] = i7; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i8 >> 2] & 127](i11) | 0)) { - i1 = 0; - break L4; - } - i1 = HEAP32[i13 >> 2] | 0; - i3 = HEAP32[i12 >> 2] | 0; - } - i1 = i1 + -1 | 0; - i4 = i3 + 1 | 0; - HEAP32[i2 >> 2] = HEAPU8[i3 >> 0]; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i8 >> 2] & 127](i11) | 0)) { - i1 = 0; - break L4; - } - i1 = HEAP32[i13 >> 2] | 0; - i3 = HEAP32[i12 >> 2] | 0; - } else i3 = i4; - i1 = i1 + -1 | 0; - i4 = i3 + 1 | 0; - i3 = HEAPU8[i3 >> 0] | 0; - i5 = i2 + 8 | 0; - HEAP32[i5 >> 2] = i3 >>> 4; - i6 = i2 + 12 | 0; - HEAP32[i6 >> 2] = i3 & 15; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i8 >> 2] & 127](i11) | 0)) { - i1 = 0; - break L4; - } - i1 = HEAP32[i13 >> 2] | 0; - i3 = HEAP32[i12 >> 2] | 0; - } else i3 = i4; - i14 = i2 + 16 | 0; - HEAP32[i14 >> 2] = HEAPU8[i3 >> 0]; - i4 = HEAP32[i11 >> 2] | 0; - HEAP32[i4 + 24 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i4 + 28 >> 2] = HEAP32[i5 >> 2]; - HEAP32[i4 + 32 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i4 + 36 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i4 + 20 >> 2] = 101; - FUNCTION_TABLE_vii[HEAP32[i4 + 4 >> 2] & 63](i11, 1); - i7 = i7 + 1 | 0; - i2 = i2 + 84 | 0; - } - HEAP32[(HEAP32[i9 >> 2] | 0) + 16 >> 2] = 1; - HEAP32[i12 >> 2] = i3; - HEAP32[i13 >> 2] = i1; - i1 = 1; - } while (0); - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_121parse_conversion_exprINS0_2DbEEEPKcS4_S4_RT_(i5, i3, i6) { - i5 = i5 | 0; - i3 = i3 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - i7 = i14 + 88 | 0; - i8 = i14 + 64 | 0; - i9 = i14 + 36 | 0; - i10 = i14 + 48 | 0; - i11 = i14 + 24 | 0; - i12 = i14 + 12 | 0; - i13 = i14; - L1 : do if ((((i3 - i5 | 0) > 2 ? (HEAP8[i5 >> 0] | 0) == 99 : 0) ? (HEAP8[i5 + 1 >> 0] | 0) == 118 : 0) ? (i1 = i6 + 63 | 0, i15 = HEAP8[i1 >> 0] | 0, HEAP8[i1 >> 0] = 0, i4 = i5 + 2 | 0, i2 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i4, i3, i6) | 0, HEAP8[i1 >> 0] = i15, !((i2 | 0) == (i4 | 0) | (i2 | 0) == (i3 | 0))) : 0) { - if ((HEAP8[i2 >> 0] | 0) != 95) { - i1 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i2, i3, i6) | 0; - if ((i1 | 0) == (i2 | 0)) { - i1 = i5; - break; - } - } else { - i1 = i2 + 1 | 0; - if ((i1 | 0) == (i3 | 0)) { - i1 = i5; - break; - } - i2 = HEAP8[i1 >> 0] | 0; - L9 : do if (i2 << 24 >> 24 == 69) { - i2 = i6 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i6 + 8 >> 2] | 0) >>> 0) { - HEAP32[i3 >> 2] = 0; - HEAP32[i3 + 4 >> 2] = 0; - HEAP32[i3 + 8 >> 2] = 0; - HEAP32[i3 + 12 >> 2] = 0; - HEAP32[i3 + 16 >> 2] = 0; - HEAP32[i3 + 20 >> 2] = 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2Ev(i3); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - break; - } else { - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE24__emplace_back_slow_pathIJEEEvDpOT_(i6); break; } - } else while (1) { - if (i2 << 24 >> 24 == 69) break L9; - i2 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i1, i3, i6) | 0; - if ((i2 | 0) == (i1 | 0) | (i2 | 0) == (i3 | 0)) { - i1 = i5; - break L1; - } - i1 = i2; - i2 = HEAP8[i2 >> 0] | 0; - } while (0); - i1 = i1 + 1 | 0; - } - i4 = i6 + 4 | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (((i2 - (HEAP32[i6 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i7, i2 + -24 | 0); - i3 = HEAP32[i4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i15 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i15 * 24 | 0) | 0); - i2 = i15; - } - HEAP32[i4 >> 2] = i3 + -24; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i13, i3 + -48 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i13, 0, 49669) | 0; - HEAP32[i12 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i12 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i12 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i13 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i12, 50833) | 0; - HEAP32[i11 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i12 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - i2 = HEAP8[i7 + 11 >> 0] | 0; - i15 = i2 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i11, i15 ? HEAP32[i7 >> 2] | 0 : i7, i15 ? HEAP32[i7 + 4 >> 2] | 0 : i2 & 255) | 0; - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i11 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i10, 49667) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i10 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i8, i9); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i4 >> 2] | 0) + -24 | 0, i8); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i7); - } else i1 = i5; - } else i1 = i5; while (0); - STACKTOP = i14; - return i1 | 0; -} - -function _jpeg_idct_islow(i1, i3, i4, i9, i10) { - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - var i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - i2 = i12; - i8 = HEAP32[i1 + 324 >> 2] | 0; - i6 = 8; - i7 = i2; - i5 = HEAP32[i3 + 80 >> 2] | 0; - while (1) { - if (!i6) break; - i3 = HEAP16[i4 + 16 >> 1] | 0; - i1 = HEAP16[i4 + 32 >> 1] | 0; - if (!((i3 | i1) << 16 >> 16)) if (((((HEAP16[i4 + 48 >> 1] | 0) == 0 ? (HEAP16[i4 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[i4 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[i4 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[i4 + 112 >> 1] | 0) == 0 : 0) { - i1 = Math_imul(HEAP16[i4 >> 1] << 2, HEAP32[i5 >> 2] | 0) | 0; - HEAP32[i7 >> 2] = i1; - HEAP32[i7 + 32 >> 2] = i1; - HEAP32[i7 + 64 >> 2] = i1; - HEAP32[i7 + 96 >> 2] = i1; - HEAP32[i7 + 128 >> 2] = i1; - HEAP32[i7 + 160 >> 2] = i1; - HEAP32[i7 + 192 >> 2] = i1; - i3 = 56; - } else { - i1 = 0; - i11 = 10; - } else i11 = 10; - if ((i11 | 0) == 10) { - i11 = 0; - i13 = Math_imul(HEAP32[i5 + 64 >> 2] | 0, i1 << 16 >> 16) | 0; - i15 = Math_imul(HEAP32[i5 + 192 >> 2] | 0, HEAP16[i4 + 96 >> 1] | 0) | 0; - i1 = (i15 + i13 | 0) * 4433 | 0; - i15 = i1 + (Math_imul(i15, -15137) | 0) | 0; - i13 = i1 + (i13 * 6270 | 0) | 0; - i1 = Math_imul(HEAP32[i5 >> 2] | 0, HEAP16[i4 >> 1] | 0) | 0; - i16 = Math_imul(HEAP32[i5 + 128 >> 2] | 0, HEAP16[i4 + 64 >> 1] | 0) | 0; - i14 = i16 + i1 << 13; - i16 = i1 - i16 << 13; - i1 = Math_imul(HEAP32[i5 + 224 >> 2] | 0, HEAP16[i4 + 112 >> 1] | 0) | 0; - i23 = Math_imul(HEAP32[i5 + 160 >> 2] | 0, HEAP16[i4 + 80 >> 1] | 0) | 0; - i21 = Math_imul(HEAP32[i5 + 96 >> 2] | 0, HEAP16[i4 + 48 >> 1] | 0) | 0; - i19 = Math_imul(HEAP32[i5 + 32 >> 2] | 0, i3 << 16 >> 16) | 0; - i17 = i21 + i1 | 0; - i18 = i19 + i23 | 0; - i3 = (i18 + i17 | 0) * 9633 | 0; - i20 = Math_imul(i19 + i1 | 0, -7373) | 0; - i22 = Math_imul(i21 + i23 | 0, -20995) | 0; - i17 = i3 + (Math_imul(i17, -16069) | 0) | 0; - i18 = i3 + (Math_imul(i18, -3196) | 0) | 0; - i1 = i20 + (i1 * 2446 | 0) + i17 | 0; - i3 = i22 + (i23 * 16819 | 0) + i18 | 0; - i17 = i22 + (i21 * 25172 | 0) + i17 | 0; - i18 = i20 + (i19 * 12299 | 0) + i18 | 0; - i19 = i14 + i13 + 1024 | 0; - HEAP32[i7 >> 2] = i19 + i18 >> 11; - HEAP32[i7 + 224 >> 2] = i19 - i18 >> 11; - i18 = i16 + i15 + 1024 | 0; - HEAP32[i7 + 32 >> 2] = i18 + i17 >> 11; - HEAP32[i7 + 192 >> 2] = i18 - i17 >> 11; - i15 = i16 - i15 + 1024 | 0; - HEAP32[i7 + 64 >> 2] = i15 + i3 >> 11; - HEAP32[i7 + 160 >> 2] = i15 - i3 >> 11; - i3 = i14 - i13 + 1024 | 0; - HEAP32[i7 + 96 >> 2] = i3 + i1 >> 11; - i1 = i3 - i1 >> 11; - i3 = 32; - } - HEAP32[i7 + (i3 << 2) >> 2] = i1; - i6 = i6 + -1 | 0; - i7 = i7 + 4 | 0; - i5 = i5 + 4 | 0; - i4 = i4 + 2 | 0; - } - i6 = i8 + 128 | 0; - i5 = 0; - while (1) { - if ((i5 | 0) == 8) break; - i3 = (HEAP32[i9 + (i5 << 2) >> 2] | 0) + i10 | 0; - i4 = HEAP32[i2 + 4 >> 2] | 0; - i1 = HEAP32[i2 + 8 >> 2] | 0; - if (!(i4 | i1)) if (((((HEAP32[i2 + 12 >> 2] | 0) == 0 ? (HEAP32[i2 + 16 >> 2] | 0) == 0 : 0) ? (HEAP32[i2 + 20 >> 2] | 0) == 0 : 0) ? (HEAP32[i2 + 24 >> 2] | 0) == 0 : 0) ? (HEAP32[i2 + 28 >> 2] | 0) == 0 : 0) { - i23 = HEAP8[i6 + (((HEAP32[i2 >> 2] | 0) + 16 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[i3 >> 0] = i23; - _memset(i3 + 1 | 0, i23 | 0, 7) | 0; - } else { - i1 = 0; - i11 = 21; - } else i11 = 21; - if ((i11 | 0) == 21) { - i11 = 0; - i19 = HEAP32[i2 + 24 >> 2] | 0; - i22 = (i19 + i1 | 0) * 4433 | 0; - i19 = i22 + (Math_imul(i19, -15137) | 0) | 0; - i22 = i22 + (i1 * 6270 | 0) | 0; - i23 = HEAP32[i2 >> 2] | 0; - i18 = HEAP32[i2 + 16 >> 2] | 0; - i21 = i18 + i23 << 13; - i18 = i23 - i18 << 13; - i23 = HEAP32[i2 + 28 >> 2] | 0; - i20 = HEAP32[i2 + 20 >> 2] | 0; - i14 = HEAP32[i2 + 12 >> 2] | 0; - i17 = i14 + i23 | 0; - i16 = i20 + i4 | 0; - i8 = (i17 + i16 | 0) * 9633 | 0; - i15 = Math_imul(i23 + i4 | 0, -7373) | 0; - i13 = Math_imul(i14 + i20 | 0, -20995) | 0; - i17 = i8 + (Math_imul(i17, -16069) | 0) | 0; - i16 = i8 + (Math_imul(i16, -3196) | 0) | 0; - i23 = i15 + (i23 * 2446 | 0) + i17 | 0; - i20 = i13 + (i20 * 16819 | 0) + i16 | 0; - i17 = i13 + (i14 * 25172 | 0) + i17 | 0; - i16 = i15 + (i4 * 12299 | 0) + i16 | 0; - i15 = i21 + i22 + 131072 | 0; - HEAP8[i3 >> 0] = HEAP8[i6 + ((i15 + i16 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[i3 + 7 >> 0] = HEAP8[i6 + ((i15 - i16 | 0) >>> 18 & 1023) >> 0] | 0; - i16 = i18 + i19 + 131072 | 0; - HEAP8[i3 + 1 >> 0] = HEAP8[i6 + ((i16 + i17 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[i3 + 6 >> 0] = HEAP8[i6 + ((i16 - i17 | 0) >>> 18 & 1023) >> 0] | 0; - i19 = i18 - i19 + 131072 | 0; - HEAP8[i3 + 2 >> 0] = HEAP8[i6 + ((i19 + i20 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[i3 + 5 >> 0] = HEAP8[i6 + ((i19 - i20 | 0) >>> 18 & 1023) >> 0] | 0; - i22 = i21 - i22 + 131072 | 0; - HEAP8[i3 + 3 >> 0] = HEAP8[i6 + ((i22 + i23 | 0) >>> 18 & 1023) >> 0] | 0; - HEAP8[i3 + 4 >> 0] = HEAP8[i6 + ((i22 - i23 | 0) >>> 18 & 1023) >> 0] | 0; - } - i5 = i5 + 1 | 0; - i2 = i2 + 32 | 0; - } - STACKTOP = i12; - return; -} - -function _mbsrtowcs(i5, i9, i1, i3) { - i5 = i5 | 0; - i9 = i9 | 0; - i1 = i1 | 0; - i3 = i3 | 0; - var i2 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0; - i2 = HEAP32[i9 >> 2] | 0; - if ((i3 | 0) != 0 ? (i4 = HEAP32[i3 >> 2] | 0, (i4 | 0) != 0) : 0) if (!i5) { - i6 = i2; - i3 = i1; - i8 = 26; - } else { - HEAP32[i3 >> 2] = 0; - i7 = i1; - i6 = i2; - i8 = 48; - } else i8 = 5; - L5 : do if ((i8 | 0) == 5) { - i8 = (___pthread_self_300() | 0) + 188 | 0; - i3 = (i5 | 0) != 0; - if (HEAP32[HEAP32[i8 >> 2] >> 2] | 0) if (i3) { - i3 = i1; - i8 = 33; - break; - } else { - i3 = i1; - i8 = 15; - break; - } - if (!i3) { - i1 = _strlen(i2) | 0; - i8 = 63; - break; + $8 = $8 - 1 | 0; + continue; + } } - L13 : do if (i1) { - i3 = i1; - while (1) { - i4 = HEAP8[i2 >> 0] | 0; - if (!(i4 << 24 >> 24)) break; - i2 = i2 + 1 | 0; - HEAP32[i5 >> 2] = i4 << 24 >> 24 & 57343; - i3 = i3 + -1 | 0; - if (!i3) break L13; else i5 = i5 + 4 | 0; - } - HEAP32[i5 >> 2] = 0; - HEAP32[i9 >> 2] = 0; - i1 = i1 - i3 | 0; - i8 = 63; - break L5; - } while (0); - HEAP32[i9 >> 2] = i2; - i8 = 63; - } while (0); - L20 : while (1) { - L21 : do if ((i8 | 0) == 15) { - while (1) { - i4 = HEAP8[i2 >> 0] | 0; - if (((i4 & 255) + -1 | 0) >>> 0 < 127 ? (i2 & 3 | 0) == 0 : 0) { - i8 = HEAP32[i2 >> 2] | 0; - i4 = i8 & 255; - if (!((i8 + -16843009 | i8) & -2139062144)) { - do { - i2 = i2 + 4 | 0; - i3 = i3 + -4 | 0; - i4 = HEAP32[i2 >> 2] | 0; - } while (!((i4 + -16843009 | i4) & -2139062144 | 0)); - i4 = i4 & 255; - } - } - i4 = i4 & 255; - if ((i4 + -1 | 0) >>> 0 >= 127) break; - i3 = i3 + -1 | 0; - i2 = i2 + 1 | 0; - } - i4 = i4 + -194 | 0; - if (i4 >>> 0 > 50) i8 = 57; else { - i4 = HEAP32[3472 + (i4 << 2) >> 2] | 0; - i6 = i2 + 1 | 0; - i8 = 26; - continue L20; - } - } else if ((i8 | 0) == 26) { - i8 = (HEAPU8[i6 >> 0] | 0) >>> 3; - if ((i8 + -16 | i8 + (i4 >> 26)) >>> 0 > 7) { - i2 = i6; - i8 = 56; - } else { - i2 = i6 + 1 | 0; - if (i4 & 33554432) { - if ((HEAP8[i2 >> 0] & -64) << 24 >> 24 != -128) { - i2 = i6; - i8 = 56; - break; + HEAPF64[$4 >> 3] = ($17 | 0) <= 30 ? +($17 | 0) / 30 : 1; + label$34: { + label$35: { + label$36: { + if (($5 | 0) == 1285 | $5 - 1028 >>> 0 < 2) { + break label$36; } - i2 = i6 + 2 | 0; - if (i4 & 524288) { - if ((HEAP8[i2 >> 0] & -64) << 24 >> 24 != -128) { - i2 = i6; - i8 = 56; - break; + if (($5 | 0) != 515) { + if (($5 | 0) == 772) { + break label$36; + } + if (($5 | 0) != 259) { + break label$35; + } + $9 = $11 + 12272 | 0; + $3 = HEAP8[$9 | 0]; + $13 = $3 >> 31; + HEAP32[$12 + 8 >> 2] = $3; + HEAP32[$12 + 12 >> 2] = $13; + $0 = $11 & 31; + if (($11 & 63) >>> 0 >= 32) { + $13 = 1771476585 >>> $0 | 0; + } else { + $13 = ((1 << $0) - 1 & 1771476585) << 32 - $0 | -1771476586 >>> $0; } - i2 = i6 + 3 | 0; + $9 = 0; + if (!($9 | $13 & 1)) { + break label$34; + } + HEAP32[$2 >> 2] = -1; + $13 = $4; + HEAP32[$13 >> 2] = 0; + HEAP32[$13 + 4 >> 2] = -1074790400; + $10 = -4; + break label$1; + } + $3 = $11 + 12208 | 0; + $9 = HEAP8[$3 | 0]; + $13 = $9 >> 31; + $0 = $9; + $9 = $12; + HEAP32[$9 + 8 >> 2] = $0; + HEAP32[$9 + 12 >> 2] = $13; + $3 = $11; + $11 = $3; + $9 = 0; + $15 = $9; + if ($6) { + $0 = $11 & 31; + if (($11 & 63) >>> 0 >= 32) { + $0 = 2129124285 >>> $0 | 0; + } else { + $0 = ((1 << $0) - 1 & 2129124285) << 32 - $0 | -1109661826 >>> $0; + } + HEAP32[$6 >> 2] = $0 & 1; + } + $0 = $11 & 31; + if (($11 & 63) >>> 0 >= 32) { + $3 = -2130706366 >>> $0 | 0; + } else { + $3 = ((1 << $0) - 1 & -2130706366) << 32 - $0 | 2365440 >>> $0; + } + $9 = 0; + if (!($9 | $3 & 1)) { + break label$34; + } + HEAP32[$2 >> 2] = -1; + $3 = $4; + HEAP32[$3 >> 2] = 0; + HEAP32[$3 + 4 >> 2] = -1074790400; + $10 = -4; + break label$1; + } + $9 = $15; + $10 = decode_bch($5, $11, $9, 0, $12 + 8 | 0); + if (($10 | 0) < 0) { + HEAP32[$2 >> 2] = -1; + $3 = $4; + HEAP32[$3 >> 2] = 0; + HEAP32[$3 + 4 >> 2] = -1074790400; + $10 = -4; + break label$1; + } + if (!$6 | !$10) { + break label$34; + } + HEAP32[$6 >> 2] = $10; + break label$34; + } + HEAP32[$12 + 8 >> 2] = $11; + $9 = $15; + HEAP32[$12 + 12 >> 2] = $9; + } + $9 = HEAP32[$12 + 8 >> 2]; + HEAP32[$2 >> 2] = $9; + $10 = 0; + } + __stack_pointer = $12 + 48 | 0; + return $10; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parse_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_i32$2 = 0; + $1 = __stack_pointer - 96 | 0; + __stack_pointer = $1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 88 | 0, 34431); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 32 >> 2] = $3; + HEAP32[$1 + 36 >> 2] = $4; + label$1: { + label$2: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 32 | 0)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 80 | 0, 34430); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 24 >> 2] = $4; + HEAP32[$1 + 28 >> 2] = $3; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 24 | 0)) { + break label$2; + } + } + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29($0); + HEAP32[$1 + 76 >> 2] = $5; + if (!$5) { + $5 = 0; + break label$1; + } + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) == 46) { + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__DotSuffix_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___29($0, $1 + 76 | 0, $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($1 - -64 | 0, HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2])); + HEAP32[$0 >> 2] = HEAP32[$0 + 4 >> 2]; + } + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($0) ? 0 : $5; + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 56 | 0, 34429); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 16 >> 2] = $3; + HEAP32[$1 + 20 >> 2] = $4; + label$6: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 16 | 0)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 48 | 0, 34428); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 8 >> 2] = $4; + HEAP32[$1 + 12 >> 2] = $3; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 8 | 0)) { + break label$6; + } + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29($0); + HEAP32[$1 + 76 >> 2] = $3; + if (!$3) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 40 | 0, 32231); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $4; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1)) { + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95); + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($1 - -64 | 0, $0, 0); + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($1 - -64 | 0) ? $3 : 0) { + break label$1; + } + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) == 46) { + HEAP32[$0 >> 2] = HEAP32[$0 + 4 >> 2]; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($0)) { + break label$1; + } + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b34_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b34_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, 38370, $1 + 76 | 0); + break label$1; + } + $5 = (wasm2js_i32$0 = 0, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0), + wasm2js_i32$2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($0), + wasm2js_i32$2 ? wasm2js_i32$0 : wasm2js_i32$1); + } + __stack_pointer = $1 + 96 | 0; + return $5; +} + +function decode_mcu_1($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + $4 = __stack_pointer - 48 | 0; + __stack_pointer = $4; + $8 = HEAP32[$0 + 468 >> 2]; + label$1: { + label$2: { + if (HEAP32[$8 + 44 >> 2] | !HEAP32[$0 + 280 >> 2]) { + break label$2; + } + $3 = HEAP32[$0 + 464 >> 2]; + $7 = $8 + 16 | 0; + HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 24 >> 2] + (HEAP32[$7 >> 2] / 8 | 0); + HEAP32[$8 + 16 >> 2] = 0; + $5 = 0; + if (!(FUNCTION_TABLE[HEAP32[$3 + 8 >> 2]]($0) | 0)) { + break label$1; + } + if (HEAP32[$0 + 340 >> 2] > 0) { + $3 = 0; + while (1) { + HEAP32[(($3 << 2) + $8 | 0) + 24 >> 2] = 0; + $3 = $3 + 1 | 0; + if (($3 | 0) < HEAP32[$0 + 340 >> 2]) { + continue; } + break; } - i3 = i3 + -1 | 0; - i8 = 15; - continue L20; } - } else if ((i8 | 0) == 33) { - i8 = 0; - L23 : do if (i3) { + HEAP32[$8 + 20 >> 2] = 0; + HEAP32[$8 + 44 >> 2] = HEAP32[$0 + 280 >> 2]; + if (HEAP32[$0 + 440 >> 2]) { + break label$2; + } + HEAP32[$8 + 40 >> 2] = 0; + } + if (!HEAP32[$8 + 40 >> 2]) { + HEAP32[$4 + 40 >> 2] = $0; + $2 = HEAP32[$0 + 24 >> 2]; + $9 = HEAP32[$2 >> 2]; + HEAP32[$4 + 24 >> 2] = $9; + $10 = HEAP32[$2 + 4 >> 2]; + HEAP32[$4 + 28 >> 2] = $10; + $3 = HEAP32[$8 + 16 >> 2]; + $7 = HEAP32[$8 + 12 >> 2]; + HEAP32[$4 + 16 >> 2] = HEAP32[$8 + 36 >> 2]; + $6 = HEAP32[$8 + 32 >> 2]; + $5 = HEAP32[$8 + 28 >> 2]; + HEAP32[$4 + 8 >> 2] = $5; + HEAP32[$4 + 12 >> 2] = $6; + $5 = HEAP32[$8 + 24 >> 2]; + $6 = HEAP32[$8 + 20 >> 2]; + HEAP32[$4 >> 2] = $6; + HEAP32[$4 + 4 >> 2] = $5; + if (HEAP32[$0 + 368 >> 2] > 0) { while (1) { - i4 = HEAPU8[i2 >> 0] | 0; - i6 = i4 + -1 | 0; - if (i6 >>> 0 < 127) { - if ((i2 & 3 | 0) == 0 & i3 >>> 0 > 4) { - while (1) { - i4 = HEAP32[i2 >> 2] | 0; - if ((i4 + -16843009 | i4) & -2139062144 | 0) { - i8 = 42; - break; + $11 = $12 << 2; + $14 = HEAP32[$11 + $1 >> 2]; + $9 = $8 + $11 | 0; + $2 = HEAP32[$9 + 100 >> 2]; + label$8: { + label$9: { + label$10: { + if (($3 | 0) <= 7) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $7, $3, 0)) { + break label$1; + } + $7 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + $10 = 1; + if (($3 | 0) < 8) { + break label$10; + } + } + $10 = $7 >> $3 - 8 & 255; + $6 = HEAP32[(($10 << 2) + $2 | 0) + 144 >> 2]; + if ($6) { + break label$9; } - HEAP32[i5 >> 2] = i4 & 255; - HEAP32[i5 + 4 >> 2] = HEAPU8[i2 + 1 >> 0]; - HEAP32[i5 + 8 >> 2] = HEAPU8[i2 + 2 >> 0]; - i6 = i2 + 4 | 0; - i4 = i5 + 16 | 0; - HEAP32[i5 + 12 >> 2] = HEAPU8[i2 + 3 >> 0]; - i3 = i3 + -4 | 0; - if (i3 >>> 0 > 4) { - i5 = i4; - i2 = i6; + $10 = 9; + } + $2 = jpeg_huff_decode($4 + 24 | 0, $7, $3, $2, $10); + $5 = 0; + if (($2 | 0) < 0) { + break label$1; + } + $7 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + break label$8; + } + $2 = HEAPU8[($2 + $10 | 0) + 1168 | 0]; + $3 = $3 - $6 | 0; + } + $10 = HEAP32[$9 + 140 >> 2]; + $13 = HEAP32[$9 + 180 >> 2]; + label$12: { + label$13: { + if ($13) { + if ($2) { + if (($3 | 0) < ($2 | 0)) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $7, $3, $2)) { + break label$1; + } + $7 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + } + $3 = $3 - $2 | 0; + $2 = $2 << 2; + $9 = HEAP32[$2 + 42064 >> 2]; + $6 = $9 & $7 >> $3; + $9 = $6 - (HEAP32[$2 + 42060 >> 2] < ($6 | 0) ? 0 : $9) | 0; } else { - i8 = 41; + $9 = 0; + } + $5 = (HEAP32[($0 + $11 | 0) + 372 >> 2] << 2) + $4 | 0; + $2 = $5 + 4 | 0; + $6 = $2; + $2 = $9 + HEAP32[$5 + 4 >> 2] | 0; + HEAP32[$6 >> 2] = $2; + HEAP16[$14 >> 1] = $2; + $9 = 1; + if (($13 | 0) < 2) { + break label$13; + } + while (1) { + label$19: { + label$20: { + label$21: { + if (($3 | 0) <= 7) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $7, $3, 0)) { + break label$1; + } + $7 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + $2 = 1; + if (($3 | 0) < 8) { + break label$21; + } + } + $2 = $7 >> $3 - 8 & 255; + $6 = HEAP32[(($2 << 2) + $10 | 0) + 144 >> 2]; + if ($6) { + break label$20; + } + $2 = 9; + } + $2 = jpeg_huff_decode($4 + 24 | 0, $7, $3, $10, $2); + $5 = 0; + if (($2 | 0) < 0) { + break label$1; + } + $7 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + break label$19; + } + $2 = HEAPU8[($2 + $10 | 0) + 1168 | 0]; + $3 = $3 - $6 | 0; + } + $6 = $2 >>> 4 | 0; + $2 = $2 & 15; + label$23: { + if ($2) { + if (($3 | 0) < ($2 | 0)) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $7, $3, $2)) { + break label$1; + } + $7 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + } + $3 = $3 - $2 | 0; + $6 = $6 + $9 | 0; + $2 = $2 << 2; + $9 = HEAP32[$2 + 42064 >> 2]; + $11 = $9 & $7 >> $3; + HEAP16[(HEAP32[($6 << 2) + 42960 >> 2] << 1) + $14 >> 1] = $11 - (HEAP32[$2 + 42060 >> 2] < ($11 | 0) ? 0 : $9); + break label$23; + } + if (($6 | 0) != 15) { + break label$12; + } + $6 = $9 + 15 | 0; + } + $9 = $6 + 1 | 0; + if (($13 | 0) > ($9 | 0)) { + continue; + } break; } + if (($6 | 0) <= 62) { + break label$13; + } + break label$12; + } + $9 = 1; + if (!$2) { + break label$13; + } + if (($3 | 0) < ($2 | 0)) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $7, $3, $2)) { + break label$1; + } + $7 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + } + $3 = $3 - $2 | 0; + } + while (1) { + label$28: { + label$29: { + label$30: { + if (($3 | 0) <= 7) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $7, $3, 0)) { + break label$1; + } + $7 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + $2 = 1; + if (($3 | 0) < 8) { + break label$30; + } + } + $2 = $7 >> $3 - 8 & 255; + $6 = HEAP32[(($2 << 2) + $10 | 0) + 144 >> 2]; + if ($6) { + break label$29; + } + $2 = 9; + } + $2 = jpeg_huff_decode($4 + 24 | 0, $7, $3, $10, $2); + $5 = 0; + if (($2 | 0) < 0) { + break label$1; + } + $7 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + break label$28; + } + $2 = HEAPU8[($2 + $10 | 0) + 1168 | 0]; + $3 = $3 - $6 | 0; + } + $6 = $2 >>> 4 | 0; + $2 = $2 & 15; + label$32: { + if ($2) { + if (($3 | 0) < ($2 | 0)) { + $5 = 0; + if (!jpeg_fill_bit_buffer($4 + 24 | 0, $7, $3, $2)) { + break label$1; + } + $7 = HEAP32[$4 + 32 >> 2]; + $3 = HEAP32[$4 + 36 >> 2]; + } + $3 = $3 - $2 | 0; + break label$32; + } + if (($6 | 0) != 15) { + break label$12; + } + } + $9 = ($6 + $9 | 0) + 1 | 0; + if (($9 | 0) < 64) { + continue; } - if ((i8 | 0) == 41) { - i5 = i4; - i2 = i6; - i4 = HEAP8[i6 >> 0] | 0; - } else if ((i8 | 0) == 42) i4 = i4 & 255; - i4 = i4 & 255; - i6 = i4 + -1 | 0; - i8 = 44; - } - } else i8 = 44; - if ((i8 | 0) == 44) { - i8 = 0; - if (i6 >>> 0 >= 127) break; - } - i2 = i2 + 1 | 0; - HEAP32[i5 >> 2] = i4; - i3 = i3 + -1 | 0; - if (!i3) break L23; else i5 = i5 + 4 | 0; - } - i4 = i4 + -194 | 0; - if (i4 >>> 0 > 50) { - i8 = 57; - break L21; - } - i4 = HEAP32[3472 + (i4 << 2) >> 2] | 0; - i7 = i3; - i6 = i2 + 1 | 0; - i8 = 48; - continue L20; - } while (0); - HEAP32[i9 >> 2] = i2; - i8 = 63; - continue L20; - } else if ((i8 | 0) == 48) { - i8 = 0; - i3 = HEAPU8[i6 >> 0] | 0; - i2 = i3 >>> 3; - if ((i2 + -16 | i2 + (i4 >> 26)) >>> 0 > 7) { - i2 = i6; - i3 = i7; - i8 = 56; - } else { - i2 = i6 + 1 | 0; - i3 = i3 + -128 | i4 << 6; - do if ((i3 | 0) < 0) { - i4 = (HEAPU8[i2 >> 0] | 0) + -128 | 0; - if (i4 >>> 0 <= 63) { - i2 = i6 + 2 | 0; - i3 = i4 | i3 << 6; - if ((i3 | 0) >= 0) break; - i4 = (HEAPU8[i2 >> 0] | 0) + -128 | 0; - if (i4 >>> 0 <= 63) { - i2 = i6 + 3 | 0; - i3 = i4 | i3 << 6; break; } } - i2 = ___errno_location() | 0; - HEAP32[i2 >> 2] = 84; - i2 = i6 + -1 | 0; - break L21; - } while (0); - HEAP32[i5 >> 2] = i3; - i5 = i5 + 4 | 0; - i3 = i7 + -1 | 0; - i8 = 33; - continue L20; - } - } else if ((i8 | 0) == 63) return i1 | 0; while (0); - if ((i8 | 0) == 56) { - i2 = i2 + -1 | 0; - if (!i4) i8 = 57; else { - i1 = i5; - i8 = 61; - } - } - if ((i8 | 0) == 57) if (!(HEAP8[i2 >> 0] | 0)) { - if (i5 | 0) { - HEAP32[i5 >> 2] = 0; - HEAP32[i9 >> 2] = 0; - } - i1 = i1 - i3 | 0; - i8 = 63; - continue; - } else { - i1 = i5; - i8 = 61; - } - if ((i8 | 0) == 61) { - i8 = ___errno_location() | 0; - HEAP32[i8 >> 2] = 84; - if (!i1) { - i1 = -1; - i8 = 63; - continue; - } - } - HEAP32[i9 >> 2] = i2; - i1 = -1; - i8 = 63; - } - return 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_119parse_function_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i12, i16) { - i1 = i1 | 0; - i12 = i12 | 0; - i16 = i16 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i13 = 0, i14 = 0, i15 = 0, i17 = 0, i18 = 0, i19 = 0; - i18 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i17 = i18 + 12 | 0; - i13 = i18; - do if (((i1 | 0) != (i12 | 0) ? (HEAP8[i1 >> 0] | 0) == 70 : 0) ? (i2 = i1 + 1 | 0, (i2 | 0) != (i12 | 0)) : 0) { - if ((HEAP8[i2 >> 0] | 0) == 89) { - i2 = i1 + 2 | 0; - if ((i2 | 0) == (i12 | 0)) break; - } - i3 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i2, i12, i16) | 0; - if ((i3 | 0) != (i2 | 0)) { - HEAP32[i17 >> 2] = 0; - HEAP32[i17 + 4 >> 2] = 0; - HEAP32[i17 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i17, 49669, __ZNSt3__211char_traitsIcE6lengthEPKc(49669) | 0); - i15 = i16 + 4 | 0; - i10 = i17 + 11 | 0; - i11 = i17 + 4 | 0; - i8 = i13 + 11 | 0; - i9 = i13 + 4 | 0; - i7 = 0; - i2 = i3; - L9 : while (1) { - L11 : while (1) { - if ((i2 | 0) == (i12 | 0)) { - i14 = 11; - break L9; - } - switch (HEAP8[i2 >> 0] | 0) { - case 69: - { - i14 = 16; - break L9; - } - case 118: - { - i2 = i2 + 1 | 0; - break; + $12 = $12 + 1 | 0; + if (($12 | 0) < HEAP32[$0 + 368 >> 2]) { + continue; + } + break; + } + $10 = HEAP32[$4 + 28 >> 2]; + $9 = HEAP32[$4 + 24 >> 2]; + $2 = HEAP32[$0 + 24 >> 2]; + } + HEAP32[$2 + 4 >> 2] = $10; + HEAP32[$2 >> 2] = $9; + HEAP32[$8 + 16 >> 2] = $3; + HEAP32[$8 + 12 >> 2] = $7; + $3 = $8 + 20 | 0; + HEAP32[$3 + 16 >> 2] = HEAP32[$4 + 16 >> 2]; + $6 = HEAP32[$4 + 12 >> 2]; + $5 = HEAP32[$4 + 8 >> 2]; + HEAP32[$8 + 28 >> 2] = $5; + HEAP32[$8 + 32 >> 2] = $6; + $5 = HEAP32[$4 + 4 >> 2]; + $6 = HEAP32[$4 >> 2]; + HEAP32[$8 + 20 >> 2] = $6; + HEAP32[$8 + 24 >> 2] = $5; + } + HEAP32[$8 + 44 >> 2] = HEAP32[$8 + 44 >> 2] - 1; + $5 = 1; + } + __stack_pointer = $4 + 48 | 0; + $6 = $5; + return $6 | 0; +} + +function dlfree($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + label$1: { + label$2: { + if (!$0) { + break label$2; + } + $3 = $0 - 8 | 0; + $1 = HEAP32[$0 - 4 >> 2]; + $0 = $1 & -8; + $5 = $3 + $0 | 0; + label$3: { + if ($1 & 1) { + break label$3; + } + if (!($1 & 3)) { + break label$2; + } + $1 = HEAP32[$3 >> 2]; + $3 = $3 - $1 | 0; + $4 = HEAP32[19932]; + if ($3 >>> 0 < $4 >>> 0) { + break label$2; + } + $0 = $0 + $1 | 0; + if (HEAP32[19933] != ($3 | 0)) { + if ($1 >>> 0 <= 255) { + $6 = $1 >>> 3 | 0; + $2 = ($6 << 3) + 79752 | 0; + $4 = HEAP32[$3 + 8 >> 2]; + $1 = HEAP32[$3 + 12 >> 2]; + if (($4 | 0) == ($1 | 0)) { + wasm2js_i32$0 = 79712, wasm2js_i32$1 = HEAP32[19928] & __wasm_rotl_i32(-2, $6), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$3; } - case 82: - { - i4 = i2 + 1 | 0; - if ((i4 | 0) != (i12 | 0) ? (HEAP8[i4 >> 0] | 0) == 69 : 0) { - i3 = 1; - i2 = i4; - break L11; - } else i14 = 23; - break; + HEAP32[$4 + 12 >> 2] = $1; + HEAP32[$1 + 8 >> 2] = $4; + break label$3; + } + $7 = HEAP32[$3 + 24 >> 2]; + $2 = HEAP32[$3 + 12 >> 2]; + label$7: { + if (($2 | 0) != ($3 | 0)) { + $1 = HEAP32[$3 + 8 >> 2]; + HEAP32[$1 + 12 >> 2] = $2; + HEAP32[$2 + 8 >> 2] = $1; + break label$7; } - case 79: - { - i4 = i2 + 1 | 0; - if ((i4 | 0) != (i12 | 0) ? (HEAP8[i4 >> 0] | 0) == 69 : 0) { - i3 = 2; - i2 = i4; - break L11; - } else i14 = 23; - break; + label$9: { + $1 = $3 + 20 | 0; + $4 = HEAP32[$1 >> 2]; + if ($4) { + break label$9; + } + $1 = $3 + 16 | 0; + $4 = HEAP32[$1 >> 2]; + if ($4) { + break label$9; + } + $2 = 0; + break label$7; } - default: - i14 = 23; - } - L20 : do if ((i14 | 0) == 23) { - i14 = 0; - i3 = ((HEAP32[i15 >> 2] | 0) - (HEAP32[i16 >> 2] | 0) | 0) / 24 | 0; - i5 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i2, i12, i16) | 0; - i6 = ((HEAP32[i15 >> 2] | 0) - (HEAP32[i16 >> 2] | 0) | 0) / 24 | 0; - if ((i5 | 0) == (i2 | 0) | (i5 | 0) == (i12 | 0)) break L9; - i2 = i3; - while (1) { - if (i2 >>> 0 >= i6 >>> 0) break; - i4 = HEAP8[i10 >> 0] | 0; - if ((i4 << 24 >> 24 < 0 ? HEAP32[i11 >> 2] | 0 : i4 & 255) >>> 0 > 1) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i17, 49891) | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i13, (HEAP32[i16 >> 2] | 0) + (i2 * 24 | 0) | 0); - i4 = HEAP8[i8 >> 0] | 0; - i19 = i4 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i17, i19 ? HEAP32[i13 >> 2] | 0 : i13, i19 ? HEAP32[i9 >> 2] | 0 : i4 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - i2 = i2 + 1 | 0; - } - i2 = i3; while (1) { - if (i2 >>> 0 >= i6 >>> 0) { - i2 = i5; - break L20; + $6 = $1; + $2 = $4; + $1 = $2 + 20 | 0; + $4 = HEAP32[$1 >> 2]; + if ($4) { + continue; + } + $1 = $2 + 16 | 0; + $4 = HEAP32[$2 + 16 >> 2]; + if ($4) { + continue; + } + break; + } + HEAP32[$6 >> 2] = 0; + } + if (!$7) { + break label$3; + } + $4 = HEAP32[$3 + 28 >> 2]; + $1 = ($4 << 2) + 80016 | 0; + label$11: { + if (HEAP32[$1 >> 2] == ($3 | 0)) { + HEAP32[$1 >> 2] = $2; + if ($2) { + break label$11; + } + wasm2js_i32$0 = 79716, wasm2js_i32$1 = HEAP32[19929] & __wasm_rotl_i32(-2, $4), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$3; + } + HEAP32[(HEAP32[$7 + 16 >> 2] == ($3 | 0) ? 16 : 20) + $7 >> 2] = $2; + if (!$2) { + break label$3; + } + } + HEAP32[$2 + 24 >> 2] = $7; + $1 = HEAP32[$3 + 16 >> 2]; + if ($1) { + HEAP32[$2 + 16 >> 2] = $1; + HEAP32[$1 + 24 >> 2] = $2; + } + $1 = HEAP32[$3 + 20 >> 2]; + if (!$1) { + break label$3; + } + HEAP32[$2 + 20 >> 2] = $1; + HEAP32[$1 + 24 >> 2] = $2; + break label$3; + } + $1 = HEAP32[$5 + 4 >> 2]; + if (($1 & 3) != 3) { + break label$3; + } + HEAP32[19930] = $0; + HEAP32[$5 + 4 >> 2] = $1 & -2; + break label$1; + } + if ($3 >>> 0 >= $5 >>> 0) { + break label$2; + } + $1 = HEAP32[$5 + 4 >> 2]; + if (!($1 & 1)) { + break label$2; + } + label$14: { + if (!($1 & 2)) { + if (HEAP32[19934] == ($5 | 0)) { + HEAP32[19934] = $3; + $0 = HEAP32[19931] + $0 | 0; + HEAP32[19931] = $0; + HEAP32[$3 + 4 >> 2] = $0 | 1; + if (HEAP32[19933] != ($3 | 0)) { + break label$2; + } + HEAP32[19930] = 0; + HEAP32[19933] = 0; + return; + } + if (HEAP32[19933] == ($5 | 0)) { + HEAP32[19933] = $3; + $0 = HEAP32[19930] + $0 | 0; + HEAP32[19930] = $0; + break label$1; + } + $0 = ($1 & -8) + $0 | 0; + label$18: { + if ($1 >>> 0 <= 255) { + $6 = $1 >>> 3 | 0; + $2 = ($6 << 3) + 79752 | 0; + $4 = HEAP32[$5 + 8 >> 2]; + $1 = HEAP32[$5 + 12 >> 2]; + if (($4 | 0) == ($1 | 0)) { + wasm2js_i32$0 = 79712, wasm2js_i32$1 = HEAP32[19928] & __wasm_rotl_i32(-2, $6), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$18; + } + HEAP32[$4 + 12 >> 2] = $1; + HEAP32[$1 + 8 >> 2] = $4; + break label$18; + } + $7 = HEAP32[$5 + 24 >> 2]; + $2 = HEAP32[$5 + 12 >> 2]; + label$21: { + if (($5 | 0) != ($2 | 0)) { + $1 = HEAP32[$5 + 8 >> 2]; + HEAP32[$1 + 12 >> 2] = $2; + HEAP32[$2 + 8 >> 2] = $1; + break label$21; + } + label$23: { + $1 = $5 + 20 | 0; + $4 = HEAP32[$1 >> 2]; + if ($4) { + break label$23; + } + $1 = $5 + 16 | 0; + $4 = HEAP32[$1 >> 2]; + if ($4) { + break label$23; + } + $2 = 0; + break label$21; } - i4 = HEAP32[i15 >> 2] | 0; - i3 = 0; while (1) { - if ((i3 | 0) == -1) break; - i19 = i3 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4 + (i19 * 24 | 0) | 0); - i3 = i19; + $6 = $1; + $2 = $4; + $1 = $2 + 20 | 0; + $4 = HEAP32[$1 >> 2]; + if ($4) { + continue; + } + $1 = $2 + 16 | 0; + $4 = HEAP32[$2 + 16 >> 2]; + if ($4) { + continue; + } + break; } - HEAP32[i15 >> 2] = i4 + -24; - i2 = i2 + 1 | 0; + HEAP32[$6 >> 2] = 0; } - } while (0); - } - i7 = i3; - } - if ((i14 | 0) == 11) { - i3 = HEAP32[i15 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i19 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i19 * 24 | 0) | 0); - i2 = i19; - } - HEAP32[i15 >> 2] = i3 + -24; - } else if ((i14 | 0) == 16) { - i3 = i2 + 1 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i17, 49667) | 0; - switch (i7 & 3) { - case 1: - { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i17, 51095) | 0; - break; + if (!$7) { + break label$18; + } + $4 = HEAP32[$5 + 28 >> 2]; + $1 = ($4 << 2) + 80016 | 0; + label$25: { + if (HEAP32[$1 >> 2] == ($5 | 0)) { + HEAP32[$1 >> 2] = $2; + if ($2) { + break label$25; + } + wasm2js_i32$0 = 79716, wasm2js_i32$1 = HEAP32[19929] & __wasm_rotl_i32(-2, $4), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$18; + } + HEAP32[(HEAP32[$7 + 16 >> 2] == ($5 | 0) ? 16 : 20) + $7 >> 2] = $2; + if (!$2) { + break label$18; + } + } + HEAP32[$2 + 24 >> 2] = $7; + $1 = HEAP32[$5 + 16 >> 2]; + if ($1) { + HEAP32[$2 + 16 >> 2] = $1; + HEAP32[$1 + 24 >> 2] = $2; + } + $1 = HEAP32[$5 + 20 >> 2]; + if (!$1) { + break label$18; + } + HEAP32[$2 + 20 >> 2] = $1; + HEAP32[$1 + 24 >> 2] = $2; } - case 2: - { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i17, 51098) | 0; - break; + HEAP32[$3 + 4 >> 2] = $0 | 1; + HEAP32[$0 + $3 >> 2] = $0; + if (HEAP32[19933] != ($3 | 0)) { + break label$14; } - default: - {} - } - i2 = HEAP32[i15 >> 2] | 0; - if ((HEAP32[i16 >> 2] | 0) != (i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i2 + -24 | 0, 49701) | 0; - i1 = HEAP8[i10 >> 0] | 0; - i19 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKcm((HEAP32[i15 >> 2] | 0) + -12 | 0, 0, i19 ? HEAP32[i17 >> 2] | 0 : i17, i19 ? HEAP32[i11 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - i1 = i3; - break; - } - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i17); - } - } while (0); - STACKTOP = i18; - return i1 | 0; -} - -function __ZNSt3__211__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i(i27, i28, i29, i30, i1, i20, i21, i22, i23, i24, i8, i9, i10, i26, i11) { - i27 = i27 | 0; - i28 = i28 | 0; - i29 = i29 | 0; - i30 = i30 | 0; - i1 = i1 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i22 = i22 | 0; - i23 = i23 | 0; - i24 = i24 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - i26 = i26 | 0; - i11 = i11 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i25 = 0, i31 = 0, i32 = 0, i33 = 0; - HEAP32[i29 >> 2] = i27; - i12 = i26 + 11 | 0; - i25 = i26 + 4 | 0; - i13 = i10 + 11 | 0; - i14 = i10 + 4 | 0; - i15 = (i30 & 512 | 0) == 0; - i16 = i21 + 8 | 0; - i17 = (i11 | 0) > 0; - i18 = i9 + 11 | 0; - i19 = i9 + 4 | 0; - i7 = 0; - while (1) { - if ((i7 | 0) == 4) break; - L4 : do switch (HEAP8[i23 + i7 >> 0] | 0) { - case 0: - { - HEAP32[i28 >> 2] = HEAP32[i29 >> 2]; - break; - } - case 1: - { - HEAP32[i28 >> 2] = HEAP32[i29 >> 2]; - i5 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i21 >> 2] | 0) + 28 >> 2] & 63](i21, 32) | 0; - i6 = HEAP32[i29 >> 2] | 0; - HEAP32[i29 >> 2] = i6 + 1; - HEAP8[i6 >> 0] = i5; - break; - } - case 3: - { - i6 = HEAP8[i12 >> 0] | 0; - i2 = i6 << 24 >> 24 < 0; - if ((i2 ? HEAP32[i25 >> 2] | 0 : i6 & 255) | 0) { - i5 = HEAP8[(i2 ? HEAP32[i26 >> 2] | 0 : i26) >> 0] | 0; - i6 = HEAP32[i29 >> 2] | 0; - HEAP32[i29 >> 2] = i6 + 1; - HEAP8[i6 >> 0] = i5; + HEAP32[19930] = $0; + return; } - break; + HEAP32[$5 + 4 >> 2] = $1 & -2; + HEAP32[$3 + 4 >> 2] = $0 | 1; + HEAP32[$0 + $3 >> 2] = $0; + } + if ($0 >>> 0 <= 255) { + $1 = ($0 & -8) + 79752 | 0; + $0 = 1 << ($0 >>> 3); + $4 = HEAP32[19928]; + label$29: { + if (!($0 & $4)) { + HEAP32[19928] = $0 | $4; + $0 = $1; + break label$29; + } + $0 = HEAP32[$1 + 8 >> 2]; + } + HEAP32[$1 + 8 >> 2] = $3; + HEAP32[$0 + 12 >> 2] = $3; + HEAP32[$3 + 12 >> 2] = $1; + HEAP32[$3 + 8 >> 2] = $0; + return; } - case 2: - { - i3 = HEAP8[i13 >> 0] | 0; - i2 = i3 << 24 >> 24 < 0; - i3 = i2 ? HEAP32[i14 >> 2] | 0 : i3 & 255; - if (!(i15 | (i3 | 0) == 0)) { - i6 = i2 ? HEAP32[i10 >> 2] | 0 : i10; - i4 = i6 + i3 | 0; - i2 = HEAP32[i29 >> 2] | 0; - i3 = i6; - while (1) { - if ((i3 | 0) == (i4 | 0)) break; - HEAP8[i2 >> 0] = HEAP8[i3 >> 0] | 0; - i2 = i2 + 1 | 0; - i3 = i3 + 1 | 0; + $1 = 31; + if ($0 >>> 0 <= 16777215) { + $1 = $0 >>> 8 | 0; + $2 = $1; + $1 = $1 + 1048320 >>> 16 & 8; + $4 = $2 << $1; + $2 = $4; + $4 = $4 + 520192 >>> 16 & 4; + $2 = $2 << $4; + $6 = $2; + $2 = $2 + 245760 >>> 16 & 2; + $1 = ($6 << $2 >>> 15 | 0) - ($1 | $4 | $2) | 0; + $1 = ($1 << 1 | $0 >>> $1 + 21 & 1) + 28 | 0; + } + HEAP32[$3 + 28 >> 2] = $1; + HEAP32[$3 + 16 >> 2] = 0; + HEAP32[$3 + 20 >> 2] = 0; + $4 = ($1 << 2) + 80016 | 0; + label$32: { + label$33: { + $2 = HEAP32[19929]; + $5 = 1 << $1; + label$34: { + if (!($2 & $5)) { + HEAP32[19929] = $2 | $5; + HEAP32[$4 >> 2] = $3; + break label$34; + } + $1 = $0 << (($1 | 0) == 31 ? 0 : 25 - ($1 >>> 1 | 0) | 0); + $2 = HEAP32[$4 >> 2]; + while (1) { + $4 = $2; + if ((HEAP32[$2 + 4 >> 2] & -8) == ($0 | 0)) { + break label$33; + } + $2 = $1 >>> 29 | 0; + $1 = $1 << 1; + $6 = ($2 & 4) + $4 | 0; + $5 = $6 + 16 | 0; + $2 = HEAP32[$5 >> 2]; + if ($2) { + continue; + } + break; + } + HEAP32[$6 + 16 >> 2] = $3; } - HEAP32[i29 >> 2] = i2; - } - break; - } - case 4: - { - i3 = HEAP32[i29 >> 2] | 0; - i1 = i22 ? i1 + 1 | 0 : i1; - i4 = i1; - while (1) { - if (i4 >>> 0 >= i20 >>> 0) break; - i2 = HEAP8[i4 >> 0] | 0; - if (i2 << 24 >> 24 <= -1) break; - if (!(HEAP16[(HEAP32[i16 >> 2] | 0) + (i2 << 24 >> 24 << 1) >> 1] & 2048)) break; - i4 = i4 + 1 | 0; - } - if (i17) { - i5 = i11; - while (1) { - i2 = (i5 | 0) > 0; - if (!(i4 >>> 0 > i1 >>> 0 & i2)) break; - i6 = i4 + -1 | 0; - i31 = HEAP8[i6 >> 0] | 0; - i2 = HEAP32[i29 >> 2] | 0; - HEAP32[i29 >> 2] = i2 + 1; - HEAP8[i2 >> 0] = i31; - i5 = i5 + -1 | 0; - i4 = i6; - } - if (i2) i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i21 >> 2] | 0) + 28 >> 2] & 63](i21, 48) | 0; else i6 = 0; - i2 = i5; - while (1) { - i5 = HEAP32[i29 >> 2] | 0; - HEAP32[i29 >> 2] = i5 + 1; - if ((i2 | 0) <= 0) break; - HEAP8[i5 >> 0] = i6; - i2 = i2 + -1 | 0; - } - HEAP8[i5 >> 0] = i24; - } - L36 : do if ((i4 | 0) == (i1 | 0)) { - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i21 >> 2] | 0) + 28 >> 2] & 63](i21, 48) | 0; - i31 = HEAP32[i29 >> 2] | 0; - HEAP32[i29 >> 2] = i31 + 1; - HEAP8[i31 >> 0] = i6; - } else { - i31 = HEAP8[i18 >> 0] | 0; - i2 = i31 << 24 >> 24 < 0; - if (!((i2 ? HEAP32[i19 >> 2] | 0 : i31 & 255) | 0)) i2 = -1; else i2 = HEAP8[(i2 ? HEAP32[i9 >> 2] | 0 : i9) >> 0] | 0; - i5 = 0; - i6 = 0; - while (1) { - if ((i4 | 0) == (i1 | 0)) break L36; - if ((i6 | 0) == (i2 | 0)) { - i31 = HEAP32[i29 >> 2] | 0; - HEAP32[i29 >> 2] = i31 + 1; - HEAP8[i31 >> 0] = i8; - i5 = i5 + 1 | 0; - i31 = HEAP8[i18 >> 0] | 0; - i2 = i31 << 24 >> 24 < 0; - if (i5 >>> 0 < (i2 ? HEAP32[i19 >> 2] | 0 : i31 & 255) >>> 0) { - i2 = HEAP8[(i2 ? HEAP32[i9 >> 2] | 0 : i9) + i5 >> 0] | 0; - i2 = i2 << 24 >> 24 == 127 ? -1 : i2 << 24 >> 24; - i6 = 0; - } else { - i2 = i6; - i6 = 0; - } - } - i31 = i4 + -1 | 0; - i33 = HEAP8[i31 >> 0] | 0; - i32 = HEAP32[i29 >> 2] | 0; - HEAP32[i29 >> 2] = i32 + 1; - HEAP8[i32 >> 0] = i33; - i6 = i6 + 1 | 0; - i4 = i31; - } - } while (0); - i2 = HEAP32[i29 >> 2] | 0; - if ((i3 | 0) != (i2 | 0)) while (1) { - i2 = i2 + -1 | 0; - if (i3 >>> 0 >= i2 >>> 0) break L4; - i33 = HEAP8[i3 >> 0] | 0; - HEAP8[i3 >> 0] = HEAP8[i2 >> 0] | 0; - HEAP8[i2 >> 0] = i33; - i3 = i3 + 1 | 0; + HEAP32[$3 + 24 >> 2] = $4; + HEAP32[$3 + 12 >> 2] = $3; + HEAP32[$3 + 8 >> 2] = $3; + break label$32; } - break; + $0 = HEAP32[$4 + 8 >> 2]; + HEAP32[$0 + 12 >> 2] = $3; + HEAP32[$4 + 8 >> 2] = $3; + HEAP32[$3 + 24 >> 2] = 0; + HEAP32[$3 + 12 >> 2] = $4; + HEAP32[$3 + 8 >> 2] = $0; } - default: - {} - } while (0); - i7 = i7 + 1 | 0; - } - i1 = HEAP8[i12 >> 0] | 0; - i2 = i1 << 24 >> 24 < 0; - i1 = i2 ? HEAP32[i25 >> 2] | 0 : i1 & 255; - if (i1 >>> 0 > 1) { - i33 = i2 ? HEAP32[i26 >> 2] | 0 : i26; - i3 = i33 + i1 | 0; - i2 = HEAP32[i29 >> 2] | 0; - i1 = i33; - while (1) { - i1 = i1 + 1 | 0; - if ((i1 | 0) == (i3 | 0)) break; - HEAP8[i2 >> 0] = HEAP8[i1 >> 0] | 0; - i2 = i2 + 1 | 0; + $3 = HEAP32[19936] - 1 | 0; + HEAP32[19936] = $3 ? $3 : -1; } - HEAP32[i29 >> 2] = i2; + return; } - switch ((i30 & 176) << 24 >> 24) { - case 32: - { - HEAP32[i28 >> 2] = HEAP32[i29 >> 2]; - break; - } - case 16: - break; - default: - HEAP32[i28 >> 2] = i27; - } - return; -} - -function _pattern_match(i7, i1, i5, i6, i18, i19, i20) { - i7 = i7 | 0; - i1 = i1 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - i20 = i20 | 0; - var i2 = 0, i3 = 0, d4 = 0.0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, d15 = 0.0, i16 = 0, i17 = 0, i21 = 0, i22 = 0, d23 = 0.0; - i22 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i22 + 8 | 0; - i2 = i22; - L1 : do if ((i7 | 0) == 0 | (i6 | 0) < 1) { - HEAP32[i18 >> 2] = 0; - HEAP32[i19 >> 2] = 0; - HEAPF64[i20 >> 3] = -1.0; - i1 = -1; - } else switch (i1 | 0) { - case 0: - { - i17 = Math_imul(i6, i6) | 0; - i16 = i17 * 3 | 0; - i17 = _malloc(i17 * 12 | 0) | 0; - if (!i17) { - _arLog(0, 3, 20454, i2); - _exit(1); - } - i1 = 0; - i2 = 0; - while (1) { - if ((i1 | 0) == (i16 | 0)) break; - i14 = i2 + (~HEAP8[i5 + i1 >> 0] & 255) | 0; - i1 = i1 + 1 | 0; - i2 = i14; - } - i3 = (i2 >>> 0) / (i16 >>> 0) | 0; - i1 = 0; - i2 = 0; - while (1) { - if ((i2 | 0) == (i16 | 0)) break; - i14 = (~HEAP8[i5 + i2 >> 0] & 255) - i3 | 0; - HEAP32[i17 + (i2 << 2) >> 2] = i14; - i1 = (Math_imul(i14, i14) | 0) + i1 | 0; - i2 = i2 + 1 | 0; - } - d15 = +Math_sqrt(+(+(i1 | 0))); - if (d15 / (+(i6 | 0) * 1.7320508) < 15.0) { - HEAP32[i18 >> 2] = 0; - HEAP32[i19 >> 2] = 0; - HEAPF64[i20 >> 3] = -1.0; - _free(i17); - i1 = -2; - break L1; - } - i12 = HEAP32[i7 >> 2] | 0; - i13 = i7 + 8 | 0; - i14 = i7 + 12 | 0; - i11 = i7 + 16 | 0; - d4 = 0.0; - i10 = 0; - i1 = -1; - i5 = -1; - i2 = -1; - while (1) { - if ((i10 | 0) >= (i12 | 0)) break; - i3 = HEAP32[i13 >> 2] | 0; - L23 : while (1) { - i1 = i1 + 1 | 0; - switch (HEAP32[i3 + (i1 << 2) >> 2] | 0) { - case 0: - break; - case 2: - { - i3 = i5; - break L23; - } - default: - { - i21 = 18; - break L23; + HEAP32[$3 + 4 >> 2] = $0 | 1; + HEAP32[$0 + $3 >> 2] = $0; +} + +function jinit_color_deconverter($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 28) | 0; + HEAP32[$0 + 480 >> 2] = $1; + HEAP32[$1 >> 2] = 112; + label$1: { + label$2: { + label$3: { + $2 = HEAP32[$0 + 40 >> 2]; + if ($2 >>> 0 > 7) { + break label$3; + } + label$4: { + if (!(1 << $2 & 204)) { + if (1 << $2 & 48) { + break label$4; } - } - } - L25 : do if ((i21 | 0) == 18) { - i21 = 0; - i9 = i1 << 2; - i8 = 0; - i3 = i5; - while (1) { - if ((i8 | 0) == 4) break L25; - i7 = i8 + i9 | 0; - i5 = 0; - i6 = 0; - while (1) { - if ((i6 | 0) == (i16 | 0)) break; - i5 = (Math_imul(HEAP32[(HEAP32[(HEAP32[i14 >> 2] | 0) + (i7 << 2) >> 2] | 0) + (i6 << 2) >> 2] | 0, HEAP32[i17 + (i6 << 2) >> 2] | 0) | 0) + i5 | 0; - i6 = i6 + 1 | 0; - } - d23 = +(i5 | 0) / +HEAPF64[(HEAP32[i11 >> 2] | 0) + (i7 << 3) >> 3] / d15; - i6 = d23 > d4; - i7 = i6 ? i8 : i2; - i8 = i8 + 1 | 0; - d4 = i6 ? d23 : d4; - i3 = i6 ? i1 : i3; - i2 = i7; - } - } while (0); - i10 = i10 + 1 | 0; - i5 = i3; - } - HEAP32[i19 >> 2] = i2; - HEAP32[i18 >> 2] = i5; - HEAPF64[i20 >> 3] = d4; - _free(i17); - i1 = 0; - break L1; - } - case 1: - { - i16 = Math_imul(i6, i6) | 0; - i17 = _malloc(i16 << 2) | 0; - if (!i17) { - _arLog(0, 3, 20454, i3); - _exit(1); - } - i1 = 0; - i2 = 0; - while (1) { - if ((i2 | 0) == (i16 | 0)) break; - i1 = i1 + (~HEAP8[i5 + i2 >> 0] & 255) | 0; - i2 = i2 + 1 | 0; - } - i3 = (i1 >>> 0) / (i16 >>> 0) | 0; - i1 = 0; - i2 = 0; - while (1) { - if ((i2 | 0) == (i16 | 0)) break; - i14 = (~HEAP8[i5 + i2 >> 0] & 255) - i3 | 0; - HEAP32[i17 + (i2 << 2) >> 2] = i14; - i1 = (Math_imul(i14, i14) | 0) + i1 | 0; - i2 = i2 + 1 | 0; - } - d15 = +Math_sqrt(+(+(i1 | 0))); - if (d15 / +(i6 | 0) < 15.0) { - HEAP32[i18 >> 2] = 0; - HEAP32[i19 >> 2] = 0; - HEAPF64[i20 >> 3] = -1.0; - _free(i17); - i1 = -2; - break L1; - } - i12 = HEAP32[i7 >> 2] | 0; - i13 = i7 + 8 | 0; - i14 = i7 + 20 | 0; - i11 = i7 + 24 | 0; - i10 = 0; - i1 = -1; - d4 = 0.0; - i5 = -1; - i2 = -1; - while (1) { - if ((i10 | 0) >= (i12 | 0)) break; - i3 = HEAP32[i13 >> 2] | 0; - L54 : while (1) { - i1 = i1 + 1 | 0; - switch (HEAP32[i3 + (i1 << 2) >> 2] | 0) { - case 0: - break; - case 2: - { - i3 = i5; - break L54; + if (($2 | 0) != 1) { + break label$3; } - default: - { - i21 = 40; - break L54; + if (HEAP32[$0 + 36 >> 2] != 1) { + break label$2; } + break label$1; } + if (HEAP32[$0 + 36 >> 2] != 3) { + break label$2; + } + break label$1; } - L56 : do if ((i21 | 0) == 40) { - i21 = 0; - i9 = i1 << 2; - i8 = 0; - i3 = i5; - while (1) { - if ((i8 | 0) == 4) break L56; - i7 = i8 + i9 | 0; - i5 = 0; - i6 = 0; - while (1) { - if ((i6 | 0) == (i16 | 0)) break; - i5 = (Math_imul(HEAP32[(HEAP32[(HEAP32[i14 >> 2] | 0) + (i7 << 2) >> 2] | 0) + (i6 << 2) >> 2] | 0, HEAP32[i17 + (i6 << 2) >> 2] | 0) | 0) + i5 | 0; - i6 = i6 + 1 | 0; - } - d23 = +(i5 | 0) / +HEAPF64[(HEAP32[i11 >> 2] | 0) + (i7 << 3) >> 3] / d15; - i6 = d23 > d4; - i7 = i6 ? i8 : i2; - i8 = i8 + 1 | 0; - d4 = i6 ? d23 : d4; - i3 = i6 ? i1 : i3; - i2 = i7; - } - } while (0); - i10 = i10 + 1 | 0; - i5 = i3; - } - HEAP32[i19 >> 2] = i2; - HEAP32[i18 >> 2] = i5; - HEAPF64[i20 >> 3] = d4; - _free(i17); - i1 = 0; - break L1; - } - default: - { - i1 = -1; - break L1; - } - } while (0); - STACKTOP = i22; - return i1 | 0; -} - -function _get_global_id_code(i14, i18, i15, i16, i19) { - i14 = i14 | 0; - i18 = i18 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - i19 = i19 | 0; - var i1 = 0, d2 = 0.0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i17 = 0, i20 = 0, i21 = 0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 160 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(160); - i6 = i21 + 152 | 0; - i5 = i21 + 128 | 0; - i20 = i21 + 144 | 0; - i17 = i21; - HEAP32[i5 >> 2] = 0; - HEAP32[i5 + 4 >> 2] = 182; - HEAP32[i5 + 8 >> 2] = 195; - HEAP32[i5 + 12 >> 2] = 13; - i1 = 0; - i3 = 0; - i4 = -1; - while (1) { - if ((i1 | 0) == 4) break; - i13 = HEAP8[i14 + (HEAP32[i5 + (i1 << 2) >> 2] | 0) >> 0] | 0; - i1 = i1 + 1 | 0; - i3 = (i13 & 255) > (i3 & 255) ? i13 : i3; - i4 = (i13 & 255) < (i4 & 255) ? i13 : i4; - } - i3 = i3 & 255; - i1 = i4 & 255; - L5 : do if ((i3 - i1 | 0) >= 30) { - i13 = (i3 + i1 | 0) >>> 1; - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - HEAP8[i6 + i1 >> 0] = i13 >>> 0 > (HEAPU8[i14 + (HEAP32[i5 + (i1 << 2) >> 2] | 0) >> 0] | 0) >>> 0 & 1; - i1 = i1 + 1 | 0; + if (HEAP32[$0 + 36 >> 2] != 4) { + break label$2; + } + break label$1; + } + if (HEAP32[$0 + 36 >> 2] > 0) { + break label$1; + } } - i12 = 0; - while (1) { - if (i12 >>> 0 >= 4) break; - i1 = i12 + 1 | 0; - if (((HEAP8[i6 + i12 >> 0] | 0) == 1 ? (HEAP8[i6 + (i1 & 3) >> 0] | 0) == 1 : 0) ? (HEAP8[i6 + (i12 + 2 & 3) >> 0] | 0) == 0 : 0) break; - i12 = i1; + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 11; + FUNCTION_TABLE[HEAP32[$2 >> 2]]($0); + } + label$6: { + if (!HEAP32[$0 + 304 >> 2]) { + break label$6; } - L20 : do switch (i12 & 2147483647 | 0) { - case 4: - { - HEAP32[i15 >> 2] = 0; - HEAPF64[i16 >> 3] = -1.0; - i1 = -3; - break L5; + label$7: { + switch (HEAP32[$0 + 40 >> 2] - 2 | 0) { + case 0: + case 4: + break label$6; + + default: + break label$7; } - case 0: - { - i3 = 119; - i5 = 0; - i1 = 255; - while (1) { - if ((i5 | 0) == 14) { - i7 = 57; - break L20; - } - i6 = i5 + -3 | 0; - i7 = (i5 & 2147483646 | 0) == 12; - i8 = i5 * 14 | 0; - i4 = 0; - while (1) { - if ((i4 | 0) == 14) break; - if (((i4 + -3 | i6) >>> 0 >= 8 ? (i9 = i4 & 2147483646, ((i4 | i5) & 2147483646 | 0) != 0) : 0) ? !(i7 & ((i9 | 0) == 0 | (i9 | 0) == 12)) : 0) { - i11 = (HEAPU8[i14 + (i4 + i8) >> 0] | 0) - i13 | 0; - HEAP8[i17 + i3 >> 0] = i11 >>> 31; - i11 = (i11 | 0) > -1 ? i11 : 0 - i11 | 0; - i3 = i3 + -1 | 0; - i1 = (i11 | 0) < (i1 | 0) ? i11 : i1; + } + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 28; + FUNCTION_TABLE[HEAP32[$2 >> 2]]($0); + } + label$8: { + label$9: { + label$10: { + label$11: { + label$12: { + label$13: { + $2 = HEAP32[$0 + 44 >> 2]; + switch ($2 - 1 | 0) { + case 3: + break label$10; + + case 5: + break label$11; + + case 1: + break label$12; + + case 0: + break label$13; + + default: + break label$9; + } } - i4 = i4 + 1 | 0; - } - i5 = i5 + 1 | 0; - } - } - case 1: - { - i3 = 119; - i1 = 255; - i5 = 0; - while (1) { - if ((i5 | 0) == 14) { - i7 = 57; - break L20; - } - i6 = i5 + -3 | 0; - i8 = i5 & 2147483646; - i7 = (i8 | 0) == 0; - i8 = (i8 | 0) == 12; - i4 = 13; - while (1) { - if ((i4 | 0) <= -1) break; - if (((i4 + -3 | i6) >>> 0 >= 8 ? (i10 = (i4 & -2 | 0) == 12, !(i7 & i10)) : 0) ? !(i8 & (i4 >>> 0 < 2 | i10)) : 0) { - i11 = (HEAPU8[i14 + ((i4 * 14 | 0) + i5) >> 0] | 0) - i13 | 0; - HEAP8[i17 + i3 >> 0] = i11 >>> 31; - i11 = (i11 | 0) > -1 ? i11 : 0 - i11 | 0; - i3 = i3 + -1 | 0; - i1 = (i11 | 0) < (i1 | 0) ? i11 : i1; + HEAP32[$0 + 120 >> 2] = 1; + label$14: { + switch (HEAP32[$0 + 40 >> 2] - 1 | 0) { + case 0: + case 2: + case 6: + HEAP32[$1 + 4 >> 2] = 113; + $1 = HEAP32[$0 + 36 >> 2]; + if (($1 | 0) < 2) { + break label$8; + } + $3 = $1 - 1 | 0; + $5 = $3 & 7; + $4 = HEAP32[$0 + 216 >> 2]; + $2 = 1; + if ($1 - 2 >>> 0 >= 7) { + $6 = $3 & -8; + $3 = 0; + while (1) { + $1 = Math_imul($2, 88) + $4 | 0; + HEAP32[$1 + 52 >> 2] = 0; + HEAP32[$1 + 140 >> 2] = 0; + HEAP32[$1 + 228 >> 2] = 0; + HEAP32[$1 + 316 >> 2] = 0; + HEAP32[$1 + 404 >> 2] = 0; + HEAP32[$1 + 492 >> 2] = 0; + HEAP32[$1 + 580 >> 2] = 0; + HEAP32[$1 + 668 >> 2] = 0; + $2 = $2 + 8 | 0; + $3 = $3 + 8 | 0; + if (($6 | 0) != ($3 | 0)) { + continue; + } + break; + } + } + if (!$5) { + break label$8; + } + $1 = 0; + while (1) { + HEAP32[(Math_imul($2, 88) + $4 | 0) + 52 >> 2] = 0; + $2 = $2 + 1 | 0; + $1 = $1 + 1 | 0; + if (($5 | 0) != ($1 | 0)) { + continue; + } + break; + } + ; + break label$8; + + case 1: + label$20: { + label$21: { + switch (HEAP32[$0 + 304 >> 2]) { + case 0: + HEAP32[$1 + 4 >> 2] = 114; + break label$20; + + case 1: + HEAP32[$1 + 4 >> 2] = 115; + break label$20; + + default: + break label$21; + } + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 28; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + $1 = HEAP32[$0 + 480 >> 2]; + $3 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 3072) | 0; + HEAP32[$1 + 24 >> 2] = $3; + $1 = 0; + while (1) { + $2 = ($1 << 2) + $3 | 0; + HEAP32[$2 >> 2] = Math_imul($1, 19595); + HEAP32[$2 + 2048 >> 2] = Math_imul($1, 7471) + 32768; + HEAP32[$2 + 1024 >> 2] = Math_imul($1, 38470); + $4 = $1 | 1; + HEAP32[($4 << 2) + $3 >> 2] = Math_imul($4, 19595); + HEAP32[$2 + 2052 >> 2] = Math_imul($4, 7471) + 32768; + HEAP32[$2 + 1028 >> 2] = Math_imul($4, 38470); + $1 = $1 + 2 | 0; + if (($1 | 0) != 256) { + continue; + } + break; + } + ; + break label$8; + + default: + break label$14; + } } - i4 = i4 + -1 | 0; - } - i5 = i5 + 1 | 0; - } - } - case 2: - { - i4 = 13; - i3 = 119; - i1 = 255; - while (1) { - if ((i4 | 0) <= -1) { - i7 = 57; - break L20; - } - i5 = i4 + -3 | 0; - i8 = i4 >>> 0 < 2 | (i4 & -2 | 0) == 12; - i7 = i4 * 14 | 0; - i6 = 13; - while (1) { - if ((i6 | 0) <= -1) break; - if ((i6 + -3 | i5) >>> 0 >= 8 ? !((i6 | i4) >>> 0 < 2 | i8 & (i6 & -2 | 0) == 12) : 0) { - i11 = (HEAPU8[i14 + (i6 + i7) >> 0] | 0) - i13 | 0; - HEAP8[i17 + i3 >> 0] = i11 >>> 31; - i11 = (i11 | 0) > -1 ? i11 : 0 - i11 | 0; - i3 = i3 + -1 | 0; - i1 = (i11 | 0) < (i1 | 0) ? i11 : i1; + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 28; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + break label$8; + } + HEAP32[$0 + 120 >> 2] = 3; + label$25: { + switch (HEAP32[$0 + 40 >> 2] - 1 | 0) { + case 0: + HEAP32[$1 + 4 >> 2] = 116; + break label$8; + + case 2: + HEAP32[$1 + 4 >> 2] = 117; + build_ycc_rgb_table($0); + break label$8; + + case 6: + HEAP32[$1 + 4 >> 2] = 117; + $1 = HEAP32[$0 + 480 >> 2]; + wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0, + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0, + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + $3 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0; + HEAP32[$1 + 20 >> 2] = $3; + $5 = HEAP32[$1 + 16 >> 2]; + $6 = HEAP32[$1 + 12 >> 2]; + $7 = HEAP32[$1 + 8 >> 2]; + $1 = -128; + while (1) { + $2 = $4 << 2; + HEAP32[$7 + $2 >> 2] = Math_imul($1, 183763) + 32768 >> 16; + HEAP32[$2 + $6 >> 2] = Math_imul($1, 232260) + 32768 >> 16; + HEAP32[$2 + $5 >> 2] = Math_imul($1, -93603); + HEAP32[$2 + $3 >> 2] = Math_imul($1, -45107) + 32768; + $1 = $1 + 1 | 0; + $4 = $4 + 1 | 0; + if (($4 | 0) != 256) { + continue; + } + break; + } + ; + break label$8; + + case 1: + label$31: { + switch (HEAP32[$0 + 304 >> 2]) { + case 0: + HEAP32[$1 + 4 >> 2] = 118; + break label$8; + + case 1: + HEAP32[$1 + 4 >> 2] = 119; + break label$8; + + default: + break label$31; + } + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 28; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + break label$8; + + default: + break label$25; } - i6 = i6 + -1 | 0; } - i4 = i4 + -1 | 0; + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 28; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + break label$8; } - } - case 3: - { - i5 = 13; - i3 = 119; - i1 = 255; - while (1) { - if ((i5 | 0) <= -1) { - i7 = 57; - break L20; - } - i6 = i5 + -3 | 0; - i7 = i5 & -2; - i8 = (i7 | 0) == 12; - i9 = (i7 | 0) == 0; - i4 = 0; - while (1) { - if ((i4 | 0) == 14) break; - if (((i4 + -3 | i6) >>> 0 >= 8 ? (i11 = i4 & 2147483646, !(i8 & (i11 | 0) == 0)) : 0) ? !((i11 | i7 | 0) == 0 | i9 & (i11 | 0) == 12) : 0) { - i10 = (HEAPU8[i14 + ((i4 * 14 | 0) + i5) >> 0] | 0) - i13 | 0; - HEAP8[i17 + i3 >> 0] = i10 >>> 31; - i10 = (i10 | 0) > -1 ? i10 : 0 - i10 | 0; - i3 = i3 + -1 | 0; - i1 = (i10 | 0) < (i1 | 0) ? i10 : i1; + HEAP32[$0 + 120 >> 2] = 3; + if (HEAP32[$0 + 40 >> 2] == 6) { + label$35: { + switch (HEAP32[$0 + 304 >> 2]) { + case 0: + HEAP32[$1 + 4 >> 2] = 118; + break label$8; + + case 1: + HEAP32[$1 + 4 >> 2] = 119; + break label$8; + + default: + break label$35; } - i4 = i4 + 1 | 0; } - i5 = i5 + -1 | 0; - } - } - default: - { - HEAP32[i15 >> 2] = i12; - d2 = 1.0; - } - } while (0); - if ((i7 | 0) == 57) { - HEAP32[i15 >> 2] = i12; - d2 = (i1 | 0) > 30 ? 1.0 : +(i1 | 0) / 30.0; - } - HEAPF64[i16 >> 3] = d2; - i1 = _decode_bch(2830, 0, 0, i17, i20) | 0; - if ((i1 | 0) < 0) i1 = -4; else { - if (i19 | 0) HEAP32[i19 >> 2] = i1; - i19 = i20; - i20 = HEAP32[i19 + 4 >> 2] | 0; - i1 = i18; - HEAP32[i1 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i1 + 4 >> 2] = i20; - i1 = 0; - } - } else { - HEAP32[i15 >> 2] = 0; - HEAPF64[i16 >> 3] = -1.0; - i1 = -2; - } while (0); - STACKTOP = i21; - return i1 | 0; -} - -function ___floatscan(i11, i2, i9) { - i11 = i11 | 0; - i2 = i2 | 0; - i9 = i9 | 0; - var d1 = 0.0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i12 = 0; - switch (i2 | 0) { - case 0: - { - i7 = -149; - i8 = 24; - i5 = 4; - break; - } - case 1: - { - i7 = -1074; - i8 = 53; - i5 = 4; - break; - } - case 2: - { - i7 = -1074; - i8 = 53; - i5 = 4; - break; - } - default: - d1 = 0.0; - } - L4 : do if ((i5 | 0) == 4) { - i12 = i11 + 4 | 0; - i10 = i11 + 104 | 0; - do { - i2 = HEAP32[i12 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i12 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i11) | 0; - } while ((_isspace(i2) | 0) != 0); - L13 : do switch (i2 | 0) { - case 43: - case 45: - { - i4 = 1 - (((i2 | 0) == 45 & 1) << 1) | 0; - i2 = HEAP32[i12 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i12 >> 2] = i2 + 1; - i3 = HEAPU8[i2 >> 0] | 0; - break L13; - } else { - i3 = ___shgetc(i11) | 0; - break L13; + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 28; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + break label$8; } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 28; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + break label$8; } - default: - { - i3 = i2; - i4 = 1; - } - } while (0); - i2 = 0; - while (1) { - if ((i3 | 32 | 0) != (HEAP8[46147 + i2 >> 0] | 0)) break; - do if (i2 >>> 0 < 7) { - i3 = HEAP32[i12 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i12 >> 2] = i3 + 1; - i3 = HEAPU8[i3 >> 0] | 0; - break; - } else { - i3 = ___shgetc(i11) | 0; - break; + HEAP32[$0 + 120 >> 2] = 4; + label$38: { + switch (HEAP32[$0 + 40 >> 2] - 4 | 0) { + case 1: + HEAP32[$1 + 4 >> 2] = 120; + build_ycc_rgb_table($0); + break label$8; + + case 0: + HEAP32[$1 + 4 >> 2] = 121; + break label$8; + + default: + break label$38; + } + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 28; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + break label$8; + } + if (HEAP32[$0 + 40 >> 2] == ($2 | 0)) { + HEAP32[$0 + 120 >> 2] = HEAP32[$0 + 36 >> 2]; + HEAP32[$1 + 4 >> 2] = 121; + break label$8; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 28; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + $1 = 1; + $1 = HEAP32[$0 + 84 >> 2] ? $1 : HEAP32[$0 + 120 >> 2]; + HEAP32[$0 + 124 >> 2] = $1; +} + +function vision__binomial_4th_order_28float__2c_20unsigned_20short__2c_20unsigned_20char_20const__2c_20unsigned_20long_2c_20unsigned_20long_29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + if ($3 >>> 0 > 4) { + if ($4 >>> 0 > 4) { + $12 = $3 - 4 | 0; + $13 = $3 - 3 | 0; + $9 = $3 - 2 | 0; + $14 = $3 - 1 | 0; + $7 = $1; + label$3: while (1) { + label$4: { + if (($4 | 0) == ($10 | 0)) { + $5 = 0; + $6 = $0; + $8 = $3 << 1; + $9 = $1; + $7 = $8 + $9 | 0; + $10 = $7; + $8 = $8 + $7 | 0; + $11 = $8; + break label$4; + } + $5 = 2; + $6 = Math_imul($3, $10) + $2 | 0; + $8 = HEAPU8[$6 | 0]; + HEAP16[$7 >> 1] = (Math_imul($8, 7) + HEAPU8[$6 + 2 | 0] | 0) + (HEAPU8[$6 + 1 | 0] + $8 << 2); + $8 = HEAPU8[$6 | 0]; + HEAP16[$7 + 2 >> 1] = (HEAPU8[$6 + 3 | 0] + ($8 + Math_imul(HEAPU8[$6 + 1 | 0], 6) | 0) | 0) + (HEAPU8[$6 + 2 | 0] + $8 << 2); + $8 = $7 + 4 | 0; + while (1) if (($5 | 0) == ($9 | 0)) { + $7 = $6 + $14 | 0; + $11 = HEAPU8[$7 | 0]; + $5 = $6 + $9 | 0; + $15 = HEAPU8[$6 + $12 | 0] + ($11 + Math_imul(HEAPU8[$5 | 0], 6) | 0) | 0; + $6 = $6 + $13 | 0; + HEAP16[$8 >> 1] = $15 + (HEAPU8[$6 | 0] + $11 << 2); + $7 = HEAPU8[$7 | 0]; + HEAP16[$8 + 2 >> 1] = (HEAPU8[$6 | 0] + Math_imul($7, 7) | 0) + (HEAPU8[$5 | 0] + $7 << 2); + $10 = $10 + 1 | 0; + $7 = $8 + 4 | 0; + continue label$3; + } else { + $7 = $5 + $6 | 0; + $5 = $5 + 1 | 0; + HEAP16[$8 >> 1] = ((Math_imul(HEAPU8[$7 | 0], 6) + HEAPU8[$7 - 2 | 0] | 0) + (HEAPU8[$6 + $5 | 0] + HEAPU8[$7 - 1 | 0] << 2) | 0) + HEAPU8[$7 + 2 | 0]; + $8 = $8 + 2 | 0; + continue; + } } - } while (0); - i2 = i2 + 1 | 0; - if (i2 >>> 0 >= 8) { - i2 = 8; break; } - } - L29 : do switch (i2 & 2147483647 | 0) { - case 8: - break; - case 3: - { - i5 = 23; + while (1) { + if (($3 | 0) != ($5 | 0)) { + $2 = HEAPU16[$9 >> 1]; + HEAPF32[$6 >> 2] = Math_fround(HEAPU16[$11 >> 1] + (Math_imul($2, 7) + (HEAPU16[$10 >> 1] + $2 << 2) | 0) | 0) * Math_fround(.00390625); + $11 = $11 + 2 | 0; + $10 = $10 + 2 | 0; + $9 = $9 + 2 | 0; + $6 = $6 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } break; } - default: - { - i6 = (i9 | 0) != 0; - if (i6 & i2 >>> 0 > 3) if ((i2 | 0) == 8) break L29; else { - i5 = 23; - break L29; - } - L34 : do if (!i2) { - i2 = 0; - while (1) { - if ((i3 | 32 | 0) != (HEAP8[46156 + i2 >> 0] | 0)) break L34; - do if (i2 >>> 0 < 2) { - i3 = HEAP32[i12 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i12 >> 2] = i3 + 1; - i3 = HEAPU8[i3 >> 0] | 0; - break; - } else { - i3 = ___shgetc(i11) | 0; - break; + $6 = ($3 << 2) + $0 | 0; + $9 = ($3 << 1) + $8 | 0; + $5 = 0; + $10 = $1; + while (1) { + if (($3 | 0) == ($5 | 0)) { + label$13: { + $12 = $4 - 2 | 0; + $2 = 2; + label$14: while (1) { + label$15: { + if (($2 | 0) == ($12 | 0)) { + $5 = $3 << 1; + $7 = (Math_imul($4 - 4 | 0, $3) << 1) + $1 | 0; + $8 = $5 + $7 | 0; + $6 = $5 + $8 | 0; + $9 = $6 + $5 | 0; + $10 = (Math_imul($3, $12) << 2) + $0 | 0; + $5 = 0; + break label$15; + } + $5 = $3 << 1; + $7 = (Math_imul($2 - 2 | 0, $3) << 1) + $1 | 0; + $8 = $5 + $7 | 0; + $6 = $5 + $8 | 0; + $9 = $6 + $5 | 0; + $10 = $9 + $5 | 0; + $11 = (Math_imul($2, $3) << 2) + $0 | 0; + $5 = 0; + while (1) if (($3 | 0) == ($5 | 0)) { + $2 = $2 + 1 | 0; + continue label$14; + } else { + HEAPF32[$11 >> 2] = Math_fround(HEAPU16[$10 >> 1] + ((HEAPU16[$7 >> 1] + Math_imul(HEAPU16[$6 >> 1], 6) | 0) + (HEAPU16[$9 >> 1] + HEAPU16[$8 >> 1] << 2) | 0) | 0) * Math_fround(.00390625); + $10 = $10 + 2 | 0; + $9 = $9 + 2 | 0; + $6 = $6 + 2 | 0; + $8 = $8 + 2 | 0; + $7 = $7 + 2 | 0; + $11 = $11 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } } - } while (0); - i2 = i2 + 1 | 0; - if (i2 >>> 0 >= 3) { - i2 = 3; break; } - } - } while (0); - switch (i2 | 0) { - case 3: - { - i2 = HEAP32[i12 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i12 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i11) | 0; - if ((i2 | 0) != 40) { - if (!(HEAP32[i10 >> 2] | 0)) { - d1 = nan; - break L4; - } - HEAP32[i12 >> 2] = (HEAP32[i12 >> 2] | 0) + -1; - d1 = nan; - break L4; - } - i2 = 1; while (1) { - i3 = HEAP32[i12 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i12 >> 2] = i3 + 1; - i3 = HEAPU8[i3 >> 0] | 0; - } else i3 = ___shgetc(i11) | 0; - if (!((i3 + -48 | 0) >>> 0 < 10 | (i3 + -65 | 0) >>> 0 < 26) ? !((i3 | 0) == 95 | (i3 + -97 | 0) >>> 0 < 26) : 0) break; - i2 = i2 + 1 | 0; - } - if ((i3 | 0) == 41) { - d1 = nan; - break L4; - } - i3 = (HEAP32[i10 >> 2] | 0) == 0; - if (!i3) HEAP32[i12 >> 2] = (HEAP32[i12 >> 2] | 0) + -1; - if (!i6) { - i12 = ___errno_location() | 0; - HEAP32[i12 >> 2] = 22; - ___shlim(i11, 0, 0); - d1 = 0.0; - break L4; - } - if (!i2) { - d1 = nan; - break L4; + if (($3 | 0) != ($5 | 0)) { + $11 = HEAPU16[$9 >> 1]; + HEAPF32[$10 >> 2] = Math_fround($11 + ((HEAPU16[$7 >> 1] + Math_imul(HEAPU16[$6 >> 1], 6) | 0) + (HEAPU16[$8 >> 1] + $11 << 2) | 0) | 0) * Math_fround(.00390625); + $9 = $9 + 2 | 0; + $6 = $6 + 2 | 0; + $8 = $8 + 2 | 0; + $7 = $7 + 2 | 0; + $10 = $10 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } + break; } + $5 = $3 << 1; + $7 = (Math_imul($4 - 3 | 0, $3) << 1) + $1 | 0; + $8 = $5 + $7 | 0; + $6 = $5 + $8 | 0; + $9 = (Math_imul($4 - 1 | 0, $3) << 2) + $0 | 0; + $5 = 0; while (1) { - i2 = i2 + -1 | 0; - if (!i3) HEAP32[i12 >> 2] = (HEAP32[i12 >> 2] | 0) + -1; - if (!i2) { - d1 = nan; - break L4; + if (($3 | 0) == ($5 | 0)) { + break label$13; } + $10 = HEAPU16[$6 >> 1]; + HEAPF32[$9 >> 2] = Math_fround($10 + ((HEAPU16[$7 >> 1] + Math_imul($10, 6) | 0) + (HEAPU16[$8 >> 1] + $10 << 2) | 0) | 0) * Math_fround(.00390625); + $6 = $6 + 2 | 0; + $8 = $8 + 2 | 0; + $7 = $7 + 2 | 0; + $9 = $9 + 4 | 0; + $5 = $5 + 1 | 0; + continue; } } - case 0: - { - if ((i3 | 0) == 48) { - i2 = HEAP32[i12 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i10 >> 2] | 0) >>> 0) { - HEAP32[i12 >> 2] = i2 + 1; - i2 = HEAPU8[i2 >> 0] | 0; - } else i2 = ___shgetc(i11) | 0; - if ((i2 | 32 | 0) == 120) { - d1 = +_hexfloat(i11, i8, i7, i4, i9); - break L4; - } - if (!(HEAP32[i10 >> 2] | 0)) i2 = 48; else { - HEAP32[i12 >> 2] = (HEAP32[i12 >> 2] | 0) + -1; - i2 = 48; - } - } else i2 = i3; - d1 = +_decfloat(i11, i2, i8, i7, i4, i9); - break L4; - } - default: - { - if (HEAP32[i10 >> 2] | 0) HEAP32[i12 >> 2] = (HEAP32[i12 >> 2] | 0) + -1; - i12 = ___errno_location() | 0; - HEAP32[i12 >> 2] = 22; - ___shlim(i11, 0, 0); - d1 = 0.0; - break L4; - } - } - } - } while (0); - if ((i5 | 0) == 23) { - i3 = (HEAP32[i10 >> 2] | 0) == 0; - if (!i3) HEAP32[i12 >> 2] = (HEAP32[i12 >> 2] | 0) + -1; - if ((i9 | 0) != 0 & i2 >>> 0 > 3) do { - if (!i3) HEAP32[i12 >> 2] = (HEAP32[i12 >> 2] | 0) + -1; - i2 = i2 + -1 | 0; - } while (i2 >>> 0 > 3); - } - d1 = +(i4 | 0) * inf; - } while (0); - return +d1; -} - -function _get_dht(i25) { - i25 = i25 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0; - i30 = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - i26 = i30 + 256 | 0; - i27 = i30; - i28 = HEAP32[i25 + 24 >> 2] | 0; - i29 = i28 + 4 | 0; - i1 = HEAP32[i29 >> 2] | 0; - if (!i1) if (!(FUNCTION_TABLE_ii[HEAP32[i28 + 12 >> 2] & 127](i25) | 0)) i1 = 0; else { - i1 = HEAP32[i29 >> 2] | 0; - i2 = 4; - } else i2 = 4; - L4 : do if ((i2 | 0) == 4) { - i2 = HEAP32[i28 >> 2] | 0; - i1 = i1 + -1 | 0; - i3 = (HEAPU8[i2 >> 0] | 0) << 8; - if (!i1) { - i2 = i28 + 12 | 0; - if (!(FUNCTION_TABLE_ii[HEAP32[i2 >> 2] & 127](i25) | 0)) { - i1 = 0; + } else { + $11 = HEAPU16[$10 >> 1]; + HEAPF32[$6 >> 2] = Math_fround(HEAPU16[$9 >> 1] + (($11 + Math_imul(HEAPU16[$7 >> 1], 6) | 0) + (HEAPU16[$8 >> 1] + $11 << 2) | 0) | 0) * Math_fround(.00390625); + $9 = $9 + 2 | 0; + $8 = $8 + 2 | 0; + $7 = $7 + 2 | 0; + $10 = $10 + 2 | 0; + $6 = $6 + 4 | 0; + $5 = $5 + 1 | 0; + continue; + } break; } - i1 = HEAP32[i29 >> 2] | 0; - i4 = HEAP32[i28 >> 2] | 0; - } else { - i4 = i2 + 1 | 0; - i2 = i28 + 12 | 0; - } - i9 = i26 + 1 | 0; - i10 = i26 + 2 | 0; - i11 = i26 + 3 | 0; - i12 = i26 + 4 | 0; - i13 = i26 + 5 | 0; - i14 = i26 + 6 | 0; - i15 = i26 + 7 | 0; - i16 = i26 + 8 | 0; - i17 = i26 + 9 | 0; - i18 = i26 + 10 | 0; - i19 = i26 + 11 | 0; - i20 = i26 + 12 | 0; - i21 = i26 + 13 | 0; - i22 = i26 + 14 | 0; - i23 = i26 + 15 | 0; - i24 = i26 + 16 | 0; - i5 = (i3 | (HEAPU8[i4 >> 0] | 0)) + -2 | 0; - i3 = i1 + -1 | 0; - i1 = i4 + 1 | 0; - while (1) { - if ((i5 | 0) <= 16) break; - if (!i3) { - if (!(FUNCTION_TABLE_ii[HEAP32[i2 >> 2] & 127](i25) | 0)) { - i1 = 0; - break L4; - } - i3 = HEAP32[i29 >> 2] | 0; - i1 = HEAP32[i28 >> 2] | 0; - } - i7 = HEAPU8[i1 >> 0] | 0; - i4 = HEAP32[i25 >> 2] | 0; - HEAP32[i4 + 20 >> 2] = 80; - HEAP32[i4 + 24 >> 2] = i7; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i25 >> 2] | 0) + 4 >> 2] & 63](i25, 1); - HEAP8[i26 >> 0] = 0; - i4 = 1; - i8 = 0; - while (1) { - i3 = i3 + -1 | 0; - i1 = i1 + 1 | 0; - if (i4 >>> 0 >= 17) break; - if (!i3) { - if (!(FUNCTION_TABLE_ii[HEAP32[i2 >> 2] & 127](i25) | 0)) { - i1 = 0; - break L4; - } - i3 = HEAP32[i29 >> 2] | 0; - i1 = HEAP32[i28 >> 2] | 0; - } - i6 = HEAP8[i1 >> 0] | 0; - HEAP8[i26 + i4 >> 0] = i6; - i4 = i4 + 1 | 0; - i8 = i8 + (i6 & 255) | 0; - } - i6 = i5 + -17 | 0; - i5 = HEAP32[i25 >> 2] | 0; - HEAP32[i5 + 24 >> 2] = HEAPU8[i9 >> 0]; - HEAP32[i5 + 28 >> 2] = HEAPU8[i10 >> 0]; - HEAP32[i5 + 32 >> 2] = HEAPU8[i11 >> 0]; - HEAP32[i5 + 36 >> 2] = HEAPU8[i12 >> 0]; - HEAP32[i5 + 40 >> 2] = HEAPU8[i13 >> 0]; - HEAP32[i5 + 44 >> 2] = HEAPU8[i14 >> 0]; - HEAP32[i5 + 48 >> 2] = HEAPU8[i15 >> 0]; - HEAP32[i5 + 52 >> 2] = HEAPU8[i16 >> 0]; - HEAP32[i5 + 20 >> 2] = 86; - FUNCTION_TABLE_vii[HEAP32[i5 + 4 >> 2] & 63](i25, 2); - i5 = HEAP32[i25 >> 2] | 0; - HEAP32[i5 + 24 >> 2] = HEAPU8[i17 >> 0]; - HEAP32[i5 + 28 >> 2] = HEAPU8[i18 >> 0]; - HEAP32[i5 + 32 >> 2] = HEAPU8[i19 >> 0]; - HEAP32[i5 + 36 >> 2] = HEAPU8[i20 >> 0]; - HEAP32[i5 + 40 >> 2] = HEAPU8[i21 >> 0]; - HEAP32[i5 + 44 >> 2] = HEAPU8[i22 >> 0]; - HEAP32[i5 + 48 >> 2] = HEAPU8[i23 >> 0]; - HEAP32[i5 + 52 >> 2] = HEAPU8[i24 >> 0]; - HEAP32[i5 + 20 >> 2] = 86; - FUNCTION_TABLE_vii[HEAP32[i5 + 4 >> 2] & 63](i25, 2); - if (i8 >>> 0 > 256 | (i6 | 0) < (i8 | 0)) { - i5 = HEAP32[i25 >> 2] | 0; - HEAP32[i5 + 20 >> 2] = 8; - FUNCTION_TABLE_vi[HEAP32[i5 >> 2] & 255](i25); - } - i4 = 0; - while (1) { - if (i4 >>> 0 >= i8 >>> 0) break; - if (!i3) { - if (!(FUNCTION_TABLE_ii[HEAP32[i2 >> 2] & 127](i25) | 0)) { - i1 = 0; - break L4; - } - i3 = HEAP32[i29 >> 2] | 0; - i1 = HEAP32[i28 >> 2] | 0; - } - HEAP8[i27 + i4 >> 0] = HEAP8[i1 >> 0] | 0; - i4 = i4 + 1 | 0; - i3 = i3 + -1 | 0; - i1 = i1 + 1 | 0; - } - i31 = (i7 & 16 | 0) == 0; - i5 = i7 + -16 | 0; - i4 = i31 ? i7 : i5; - i5 = i31 ? i25 + 180 + (i7 << 2) | 0 : i25 + 196 + (i5 << 2) | 0; - if (i4 >>> 0 > 3) { - i31 = HEAP32[i25 >> 2] | 0; - HEAP32[i31 + 20 >> 2] = 30; - HEAP32[i31 + 24 >> 2] = i4; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i25 >> 2] >> 2] & 255](i25); - } - i4 = HEAP32[i5 >> 2] | 0; - if (!i4) { - i4 = _jpeg_alloc_huff_table(i25) | 0; - HEAP32[i5 >> 2] = i4; - }; - HEAP32[i4 >> 2] = HEAP32[i26 >> 2]; - HEAP32[i4 + 4 >> 2] = HEAP32[i26 + 4 >> 2]; - HEAP32[i4 + 8 >> 2] = HEAP32[i26 + 8 >> 2]; - HEAP32[i4 + 12 >> 2] = HEAP32[i26 + 12 >> 2]; - HEAP8[i4 + 16 >> 0] = HEAP8[i26 + 16 >> 0] | 0; - _memcpy((HEAP32[i5 >> 2] | 0) + 17 | 0, i27 | 0, 256) | 0; - i5 = i6 - i8 | 0; - } - if (i5 | 0) { - i31 = HEAP32[i25 >> 2] | 0; - HEAP32[i31 + 20 >> 2] = 11; - FUNCTION_TABLE_vi[HEAP32[i31 >> 2] & 255](i25); - } - HEAP32[i28 >> 2] = i1; - HEAP32[i29 >> 2] = i3; - i1 = 1; - } while (0); - STACKTOP = i30; - return i1 | 0; -} - -function __ZNK6vision25GaussianScaleSpacePyramid6locateERiS1_f(i9, i6, i5, d2) { - i9 = i9 | 0; - i6 = i6 | 0; - i5 = i5 | 0; - d2 = +d2; - var i1 = 0, i3 = 0, i4 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i10 = i11; - i1 = ~~+Math_floor(+(+__ZN6vision4log2IfEET_S1_(d2))); - HEAP32[i6 >> 2] = i1; - d2 = +Math_log(+(d2 / +(1 << i1 | 0))); - i1 = ~~+__ZN6vision5roundIfEET_S1_(+HEAPF32[i9 + 28 >> 2] * d2); - HEAP32[i5 >> 2] = i1; - i7 = i9 + 20 | 0; - if (((HEAP32[i7 >> 2] | 0) + -1 | 0) == (i1 | 0)) { - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 1; - HEAP32[i5 >> 2] = 0; - i1 = 0; - } - i3 = HEAP32[i6 >> 2] | 0; - if ((i3 | 0) >= 0) { - i4 = HEAP32[i9 + 16 >> 2] | 0; - if ((i3 | 0) < (i4 | 0)) i3 = i1; else { - HEAP32[i6 >> 2] = i4 + -1; - i1 = (HEAP32[i7 >> 2] | 0) + -1 | 0; - i8 = 7; - } - } else { - HEAP32[i6 >> 2] = 0; - i1 = 0; - i8 = 7; - } - if ((i8 | 0) == 7) { - HEAP32[i5 >> 2] = i1; - i3 = i1; - } - i1 = HEAP32[i6 >> 2] | 0; - if ((i1 | 0) <= -1) { - i8 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32285) | 0, 32320) | 0, 33528) | 0, 268) | 0, 33535) | 0, 32449) | 0; - __ZNKSt3__28ios_base6getlocEv(i10, i8 + (HEAP32[(HEAP32[i8 >> 2] | 0) + -12 >> 2] | 0) | 0); - i6 = __ZNKSt3__26locale9use_facetERNS0_2idE(i10, 57916) | 0; - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 63](i6, 10) | 0; - __ZNSt3__26localeD2Ev(i10); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i8, i6) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i8) | 0; - _abort(); - } - if ((i1 | 0) >= (HEAP32[i9 + 16 >> 2] | 0)) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32473) | 0, 32320) | 0, 33528) | 0, 269) | 0, 33535) | 0, 32517) | 0; - __ZNKSt3__28ios_base6getlocEv(i10, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i8 = __ZNKSt3__26locale9use_facetERNS0_2idE(i10, 57916) | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 63](i8, 10) | 0; - __ZNSt3__26localeD2Ev(i10); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i8) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - if ((i3 | 0) <= -1) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32560) | 0, 32320) | 0, 33528) | 0, 270) | 0, 33535) | 0, 32594) | 0; - __ZNKSt3__28ios_base6getlocEv(i10, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i8 = __ZNKSt3__26locale9use_facetERNS0_2idE(i10, 57916) | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 63](i8, 10) | 0; - __ZNSt3__26localeD2Ev(i10); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i8) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } - if ((i3 | 0) < (HEAP32[i7 >> 2] | 0)) { - STACKTOP = i11; - return; - } else { - i11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32617) | 0, 32320) | 0, 33528) | 0, 271) | 0, 33535) | 0, 32668) | 0; - __ZNKSt3__28ios_base6getlocEv(i10, i11 + (HEAP32[(HEAP32[i11 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i10, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i10); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i11, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i11) | 0; - _abort(); - } -} - -function __ZN10__cxxabiv112_GLOBAL__N_19base_nameINSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEEEET_RS9_(i9, i7) { - i9 = i9 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0; - i5 = i7 + 11 | 0; - i4 = HEAP8[i5 >> 0] | 0; - i6 = i7 + 4 | 0; - L1 : do if (!((i4 << 24 >> 24 < 0 ? HEAP32[i6 >> 2] | 0 : i4 & 255) | 0)) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_(i9, i7); else { - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(50489) | 0; - i4 = HEAP8[i5 >> 0] | 0; - if ((i1 | 0) == ((i4 << 24 >> 24 < 0 ? HEAP32[i6 >> 2] | 0 : i4 & 255) | 0) ? (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i7, 50489, i1) | 0) == 0 : 0) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6assignEPKc(i7, 50501); - HEAP32[i9 >> 2] = 0; - HEAP32[i9 + 4 >> 2] = 0; - HEAP32[i9 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i9, 50572, __ZNSt3__211char_traitsIcE6lengthEPKc(50572) | 0); - break; - } - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(50585) | 0; - i4 = HEAP8[i5 >> 0] | 0; - if ((i1 | 0) == ((i4 << 24 >> 24 < 0 ? HEAP32[i6 >> 2] | 0 : i4 & 255) | 0) ? (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i7, 50585, i1) | 0) == 0 : 0) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6assignEPKc(i7, 50598); - HEAP32[i9 >> 2] = 0; - HEAP32[i9 + 4 >> 2] = 0; - HEAP32[i9 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i9, 50648, __ZNSt3__211char_traitsIcE6lengthEPKc(50648) | 0); - break; - } - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(50662) | 0; - i4 = HEAP8[i5 >> 0] | 0; - if ((i1 | 0) == ((i4 << 24 >> 24 < 0 ? HEAP32[i6 >> 2] | 0 : i4 & 255) | 0) ? (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i7, 50662, i1) | 0) == 0 : 0) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6assignEPKc(i7, 50675); - HEAP32[i9 >> 2] = 0; - HEAP32[i9 + 4 >> 2] = 0; - HEAP32[i9 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i9, 50725, __ZNSt3__211char_traitsIcE6lengthEPKc(50725) | 0); - break; + return; } - i3 = __ZNSt3__211char_traitsIcE6lengthEPKc(50739) | 0; - i2 = HEAP8[i5 >> 0] | 0; - i1 = HEAP32[i6 >> 2] | 0; - i4 = i2 & 255; - do if ((i3 | 0) == ((i2 << 24 >> 24 < 0 ? i1 : i4) | 0)) if (!(__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i7, 50739, i3) | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6assignEPKc(i7, 50753); - HEAP32[i9 >> 2] = 0; - HEAP32[i9 + 4 >> 2] = 0; - HEAP32[i9 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i9, 50804, __ZNSt3__211char_traitsIcE6lengthEPKc(50804) | 0); - break L1; - } else { - i2 = HEAP8[i5 >> 0] | 0; - i4 = i2 & 255; - i1 = HEAP32[i6 >> 2] | 0; - break; - } while (0); - i2 = i2 << 24 >> 24 < 0; - i5 = i2 ? HEAP32[i7 >> 2] | 0 : i7; - i2 = i5 + (i2 ? i1 : i4) | 0; - do if ((HEAP8[i2 + -1 >> 0] | 0) == 62) { - i1 = 1; - L24 : while (1) { - L26 : while (1) { - i3 = i2 + -1 | 0; - if ((i3 | 0) == (i5 | 0)) break L24; - switch (HEAP8[i2 + -2 >> 0] | 0) { - case 60: - { - i8 = 24; - break L26; - } - case 62: - { - i8 = 25; - break L26; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 4978), 2354), 3289), 56), 3786), 4167), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 1122), 2354), 3289), 55), 3786), 4167), 16); + abort(); + abort(); +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________construct_node_hash_std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28unsigned_20long_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4, $5) { + var $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + $1 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________node_alloc_28_29($1); + $0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______2c_20true_____good_rval_ref_type_29($0, std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______allocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20unsigned_20long_29($1, 1), std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20bool_29($6 + 8 | 0, $1, 0)); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______construct_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple___2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($1, std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_________get_ptr_28std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______operator___28_29_20const($0) + 8 | 0), $3, $4, $5); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______get_deleter_28_29($0), + wasm2js_i32$1 = 1, HEAP8[wasm2js_i32$0 + 4 | 0] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______operator___28_29_20const($0), + wasm2js_i32$1 = $2, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______operator___28_29_20const($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $6 + 16 | 0; +} + +function dispose_chunk($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = $0 + $1 | 0; + $2 = HEAP32[$0 + 4 >> 2]; + label$1: { + label$2: { + if ($2 & 1) { + break label$2; + } + if (!($2 & 3)) { + break label$1; + } + $2 = HEAP32[$0 >> 2]; + $1 = $2 + $1 | 0; + label$3: { + $0 = $0 - $2 | 0; + if (($0 | 0) != HEAP32[19933]) { + if ($2 >>> 0 <= 255) { + $6 = $2 >>> 3 | 0; + $3 = ($6 << 3) + 79752 | 0; + $4 = HEAP32[$0 + 8 >> 2]; + $2 = HEAP32[$0 + 12 >> 2]; + if (($4 | 0) != ($2 | 0)) { + break label$3; + } + wasm2js_i32$0 = 79712, wasm2js_i32$1 = HEAP32[19928] & __wasm_rotl_i32(-2, $6), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$2; + } + $7 = HEAP32[$0 + 24 >> 2]; + $3 = HEAP32[$0 + 12 >> 2]; + label$6: { + if (($3 | 0) != ($0 | 0)) { + $2 = HEAP32[$0 + 8 >> 2]; + HEAP32[$2 + 12 >> 2] = $3; + HEAP32[$3 + 8 >> 2] = $2; + break label$6; + } + label$8: { + $2 = $0 + 20 | 0; + $4 = HEAP32[$2 >> 2]; + if ($4) { + break label$8; + } + $2 = $0 + 16 | 0; + $4 = HEAP32[$2 >> 2]; + if ($4) { + break label$8; + } + $3 = 0; + break label$6; + } + while (1) { + $6 = $2; + $3 = $4; + $2 = $3 + 20 | 0; + $4 = HEAP32[$2 >> 2]; + if ($4) { + continue; + } + $2 = $3 + 16 | 0; + $4 = HEAP32[$3 + 16 >> 2]; + if ($4) { + continue; + } + break; + } + HEAP32[$6 >> 2] = 0; + } + if (!$7) { + break label$2; + } + $4 = HEAP32[$0 + 28 >> 2]; + $2 = ($4 << 2) + 80016 | 0; + label$10: { + if (HEAP32[$2 >> 2] == ($0 | 0)) { + HEAP32[$2 >> 2] = $3; + if ($3) { + break label$10; + } + wasm2js_i32$0 = 79716, wasm2js_i32$1 = HEAP32[19929] & __wasm_rotl_i32(-2, $4), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$2; + } + HEAP32[(HEAP32[$7 + 16 >> 2] == ($0 | 0) ? 16 : 20) + $7 >> 2] = $3; + if (!$3) { + break label$2; } - default: - i2 = i3; } - } - if ((i8 | 0) == 24) { - i8 = 0; - i1 = i1 + -1 | 0; - if (!i1) { - i8 = 27; - break; + HEAP32[$3 + 24 >> 2] = $7; + $2 = HEAP32[$0 + 16 >> 2]; + if ($2) { + HEAP32[$3 + 16 >> 2] = $2; + HEAP32[$2 + 24 >> 2] = $3; + } + $2 = HEAP32[$0 + 20 >> 2]; + if (!$2) { + break label$2; } - } else if ((i8 | 0) == 25) { - i8 = 0; - i1 = i1 + 1 | 0; + HEAP32[$3 + 20 >> 2] = $2; + HEAP32[$2 + 24 >> 2] = $3; + break label$2; } - i2 = i3; - } - if ((i8 | 0) == 27) { - i3 = i2 + -2 | 0; - break; - }; - HEAP32[i9 >> 2] = 0; - HEAP32[i9 + 4 >> 2] = 0; - HEAP32[i9 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break L1; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; + $2 = HEAP32[$5 + 4 >> 2]; + if (($2 & 3) != 3) { + break label$2; + } + HEAP32[19930] = $1; + HEAP32[$5 + 4 >> 2] = $2 & -2; + HEAP32[$0 + 4 >> 2] = $1 | 1; + HEAP32[$5 >> 2] = $1; + return; } - } else i3 = i2; while (0); - i1 = i3; - while (1) { - i2 = i1 + -1 | 0; - if ((i2 | 0) == (i5 | 0)) { - i1 = i5; - break; + HEAP32[$4 + 12 >> 2] = $2; + HEAP32[$2 + 8 >> 2] = $4; + } + $2 = HEAP32[$5 + 4 >> 2]; + label$13: { + if (!($2 & 2)) { + if (HEAP32[19934] == ($5 | 0)) { + HEAP32[19934] = $0; + $1 = HEAP32[19931] + $1 | 0; + HEAP32[19931] = $1; + HEAP32[$0 + 4 >> 2] = $1 | 1; + if (HEAP32[19933] != ($0 | 0)) { + break label$1; + } + HEAP32[19930] = 0; + HEAP32[19933] = 0; + return; + } + if (HEAP32[19933] == ($5 | 0)) { + HEAP32[19933] = $0; + $1 = HEAP32[19930] + $1 | 0; + HEAP32[19930] = $1; + HEAP32[$0 + 4 >> 2] = $1 | 1; + HEAP32[$0 + $1 >> 2] = $1; + return; + } + $1 = ($2 & -8) + $1 | 0; + label$17: { + if ($2 >>> 0 <= 255) { + $6 = $2 >>> 3 | 0; + $3 = ($6 << 3) + 79752 | 0; + $4 = HEAP32[$5 + 8 >> 2]; + $2 = HEAP32[$5 + 12 >> 2]; + if (($4 | 0) == ($2 | 0)) { + wasm2js_i32$0 = 79712, wasm2js_i32$1 = HEAP32[19928] & __wasm_rotl_i32(-2, $6), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$17; + } + HEAP32[$4 + 12 >> 2] = $2; + HEAP32[$2 + 8 >> 2] = $4; + break label$17; + } + $7 = HEAP32[$5 + 24 >> 2]; + $3 = HEAP32[$5 + 12 >> 2]; + label$20: { + if (($5 | 0) != ($3 | 0)) { + $2 = HEAP32[$5 + 8 >> 2]; + HEAP32[$2 + 12 >> 2] = $3; + HEAP32[$3 + 8 >> 2] = $2; + break label$20; + } + label$22: { + $4 = $5 + 20 | 0; + $2 = HEAP32[$4 >> 2]; + if ($2) { + break label$22; + } + $4 = $5 + 16 | 0; + $2 = HEAP32[$4 >> 2]; + if ($2) { + break label$22; + } + $3 = 0; + break label$20; + } + while (1) { + $6 = $4; + $3 = $2; + $4 = $2 + 20 | 0; + $2 = HEAP32[$4 >> 2]; + if ($2) { + continue; + } + $4 = $3 + 16 | 0; + $2 = HEAP32[$3 + 16 >> 2]; + if ($2) { + continue; + } + break; + } + HEAP32[$6 >> 2] = 0; + } + if (!$7) { + break label$17; + } + $4 = HEAP32[$5 + 28 >> 2]; + $2 = ($4 << 2) + 80016 | 0; + label$24: { + if (HEAP32[$2 >> 2] == ($5 | 0)) { + HEAP32[$2 >> 2] = $3; + if ($3) { + break label$24; + } + wasm2js_i32$0 = 79716, wasm2js_i32$1 = HEAP32[19929] & __wasm_rotl_i32(-2, $4), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$17; + } + HEAP32[(HEAP32[$7 + 16 >> 2] == ($5 | 0) ? 16 : 20) + $7 >> 2] = $3; + if (!$3) { + break label$17; + } + } + HEAP32[$3 + 24 >> 2] = $7; + $2 = HEAP32[$5 + 16 >> 2]; + if ($2) { + HEAP32[$3 + 16 >> 2] = $2; + HEAP32[$2 + 24 >> 2] = $3; + } + $2 = HEAP32[$5 + 20 >> 2]; + if (!$2) { + break label$17; + } + HEAP32[$3 + 20 >> 2] = $2; + HEAP32[$2 + 24 >> 2] = $3; + } + HEAP32[$0 + 4 >> 2] = $1 | 1; + HEAP32[$0 + $1 >> 2] = $1; + if (HEAP32[19933] != ($0 | 0)) { + break label$13; + } + HEAP32[19930] = $1; + return; } - if ((HEAP8[i2 >> 0] | 0) == 58) break; else i1 = i2; - } - HEAP32[i9 >> 2] = 0; - HEAP32[i9 + 4 >> 2] = 0; - HEAP32[i9 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(i9, i1, i3); - } while (0); - return; -} - -function __ZNSt3__29__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE(i11, i12, i13, i14, i15, i16, i1) { - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i17 = i20; - i18 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57948) | 0; - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57956) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i9 >> 2] | 0) + 20 >> 2] & 63](i17, i9); - HEAP32[i16 >> 2] = i14; - i1 = HEAP8[i11 >> 0] | 0; - switch (i1 << 24 >> 24) { - case 43: - case 45: - { - i10 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i18 >> 2] | 0) + 44 >> 2] & 63](i18, i1) | 0; - i1 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = i1 + 4; - HEAP32[i1 >> 2] = i10; - i1 = i11 + 1 | 0; - break; + HEAP32[$5 + 4 >> 2] = $2 & -2; + HEAP32[$0 + 4 >> 2] = $1 | 1; + HEAP32[$0 + $1 >> 2] = $1; + } + if ($1 >>> 0 <= 255) { + $2 = ($1 & -8) + 79752 | 0; + $1 = 1 << ($1 >>> 3); + $4 = HEAP32[19928]; + label$28: { + if (!($1 & $4)) { + HEAP32[19928] = $1 | $4; + $1 = $2; + break label$28; + } + $1 = HEAP32[$2 + 8 >> 2]; + } + HEAP32[$2 + 8 >> 2] = $0; + HEAP32[$1 + 12 >> 2] = $0; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + return; } - default: - i1 = i11; - } - i10 = i13; - L4 : do if ((i10 - i1 | 0) > 1 ? (HEAP8[i1 >> 0] | 0) == 48 : 0) { - i2 = i1 + 1 | 0; - switch (HEAP8[i2 >> 0] | 0) { - case 88: - case 120: - break; - default: - { - i19 = 4; - break L4; - } - } - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i18 >> 2] | 0) + 44 >> 2] & 63](i18, 48) | 0; - i8 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = i8 + 4; - HEAP32[i8 >> 2] = i7; - i1 = i1 + 2 | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i18 >> 2] | 0) + 44 >> 2] & 63](i18, HEAP8[i2 >> 0] | 0) | 0; - i2 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = i2 + 4; - HEAP32[i2 >> 2] = i8; - i2 = i1; - while (1) { - if (i2 >>> 0 >= i13 >>> 0) break L4; - i8 = HEAP8[i2 >> 0] | 0; - if (!(_isxdigit_l(i8, __ZNSt3__26__clocEv() | 0) | 0)) break L4; - i2 = i2 + 1 | 0; - } - } else i19 = 4; while (0); - L12 : do if ((i19 | 0) == 4) { - i2 = i1; - while (1) { - if (i2 >>> 0 >= i13 >>> 0) break L12; - i8 = HEAP8[i2 >> 0] | 0; - if (!(_isdigit_l(i8, __ZNSt3__26__clocEv() | 0) | 0)) break L12; - i2 = i2 + 1 | 0; - } - } while (0); - i7 = i17 + 11 | 0; - i6 = HEAP8[i7 >> 0] | 0; - i8 = i17 + 4 | 0; - L19 : do if ((i6 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i6 & 255) | 0) { - L22 : do if ((i1 | 0) != (i2 | 0)) { - i3 = i2; - i4 = i1; - while (1) { - i3 = i3 + -1 | 0; - if (i4 >>> 0 >= i3 >>> 0) break L22; - i6 = HEAP8[i4 >> 0] | 0; - HEAP8[i4 >> 0] = HEAP8[i3 >> 0] | 0; - HEAP8[i3 >> 0] = i6; - i4 = i4 + 1 | 0; - } - } while (0); - i6 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i9 >> 2] | 0) + 16 >> 2] & 127](i9) | 0; - i5 = i1; - i3 = 0; - i4 = 0; - while (1) { - if (i5 >>> 0 >= i2 >>> 0) break; - i21 = HEAP8[((HEAP8[i7 >> 0] | 0) < 0 ? HEAP32[i17 >> 2] | 0 : i17) + i3 >> 0] | 0; - if (i21 << 24 >> 24 > 0 & (i4 | 0) == (i21 << 24 >> 24 | 0)) { - i4 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = i4 + 4; - HEAP32[i4 >> 2] = i6; - i4 = HEAP8[i7 >> 0] | 0; - i3 = i3 + (i3 >>> 0 < ((i4 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i4 & 255) + -1 | 0) >>> 0 & 1) | 0; - i4 = 0; - } - i22 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i18 >> 2] | 0) + 44 >> 2] & 63](i18, HEAP8[i5 >> 0] | 0) | 0; - i21 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = i21 + 4; - HEAP32[i21 >> 2] = i22; - i5 = i5 + 1 | 0; - i4 = i4 + 1 | 0; - } - i1 = i14 + (i1 - i11 << 2) | 0; - i4 = HEAP32[i16 >> 2] | 0; - if ((i1 | 0) == (i4 | 0)) i3 = i18; else { - i3 = i4; - while (1) { - i3 = i3 + -4 | 0; - if (i1 >>> 0 >= i3 >>> 0) { - i3 = i18; - i1 = i4; - break L19; + $2 = 31; + if ($1 >>> 0 <= 16777215) { + $2 = $1 >>> 8 | 0; + $3 = $2; + $2 = $2 + 1048320 >>> 16 & 8; + $4 = $3 << $2; + $3 = $4; + $4 = $4 + 520192 >>> 16 & 4; + $3 = $3 << $4; + $6 = $3; + $3 = $3 + 245760 >>> 16 & 2; + $2 = ($6 << $3 >>> 15 | 0) - ($2 | $4 | $3) | 0; + $2 = ($2 << 1 | $1 >>> $2 + 21 & 1) + 28 | 0; + } + HEAP32[$0 + 28 >> 2] = $2; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + $4 = ($2 << 2) + 80016 | 0; + label$31: { + $3 = HEAP32[19929]; + $5 = 1 << $2; + label$32: { + if (!($3 & $5)) { + HEAP32[19929] = $3 | $5; + HEAP32[$4 >> 2] = $0; + break label$32; + } + $2 = $1 << (($2 | 0) == 31 ? 0 : 25 - ($2 >>> 1 | 0) | 0); + $3 = HEAP32[$4 >> 2]; + while (1) { + $4 = $3; + if ((HEAP32[$3 + 4 >> 2] & -8) == ($1 | 0)) { + break label$31; + } + $3 = $2 >>> 29 | 0; + $2 = $2 << 1; + $6 = ($3 & 4) + $4 | 0; + $5 = $6 + 16 | 0; + $3 = HEAP32[$5 >> 2]; + if ($3) { + continue; + } + break; } - i22 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = i22; - i1 = i1 + 4 | 0; + HEAP32[$6 + 16 >> 2] = $0; } + HEAP32[$0 + 24 >> 2] = $4; + HEAP32[$0 + 12 >> 2] = $0; + HEAP32[$0 + 8 >> 2] = $0; + return; } - } else { - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i18 >> 2] | 0) + 48 >> 2] & 15](i18, i1, i2, HEAP32[i16 >> 2] | 0) | 0; - i1 = (HEAP32[i16 >> 2] | 0) + (i2 - i1 << 2) | 0; - HEAP32[i16 >> 2] = i1; - i3 = i18; - } while (0); - while (1) { - if (i2 >>> 0 >= i13 >>> 0) break; - i1 = HEAP8[i2 >> 0] | 0; - if (i1 << 24 >> 24 == 46) { - i19 = 32; - break; - } - i21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i3 >> 2] | 0) + 44 >> 2] & 63](i18, i1) | 0; - i22 = HEAP32[i16 >> 2] | 0; - i1 = i22 + 4 | 0; - HEAP32[i16 >> 2] = i1; - HEAP32[i22 >> 2] = i21; - i2 = i2 + 1 | 0; - } - if ((i19 | 0) == 32) { - i21 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i9 >> 2] | 0) + 12 >> 2] & 127](i9) | 0; - i22 = HEAP32[i16 >> 2] | 0; - i1 = i22 + 4 | 0; - HEAP32[i16 >> 2] = i1; - HEAP32[i22 >> 2] = i21; - i2 = i2 + 1 | 0; - } - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i18 >> 2] | 0) + 48 >> 2] & 15](i18, i2, i13, i1) | 0; - i22 = (HEAP32[i16 >> 2] | 0) + (i10 - i2 << 2) | 0; - HEAP32[i16 >> 2] = i22; - HEAP32[i15 >> 2] = (i12 | 0) == (i13 | 0) ? i22 : i14 + (i12 - i11 << 2) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i17); - STACKTOP = i20; - return; -} - -function __ZN6vision14BinarykMedoidsILi96EE6assignERNSt3__26vectorIiNS2_9allocatorIiEEEEPKhiPKiiSB_i(i1, i9, i10, i2, i11, i12, i13, i14) { - i1 = i1 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - i2 = i2 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i8; - if (((HEAP32[i9 + 4 >> 2] | 0) - (HEAP32[i9 >> 2] | 0) >> 2 | 0) != (i12 | 0)) { - i7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27230) | 0, 27767) | 0, 33528) | 0, 198) | 0, 33535) | 0, 28135) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i7 + (HEAP32[(HEAP32[i7 >> 2] | 0) + -12 >> 2] | 0) | 0); - i6 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 63](i6, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i7, i6) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i7) | 0; - _abort(); - } - if ((i2 | 0) <= 0) { - i7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27920) | 0, 27767) | 0, 33528) | 0, 199) | 0, 33535) | 0, 27960) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i7 + (HEAP32[(HEAP32[i7 >> 2] | 0) + -12 >> 2] | 0) | 0); - i6 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 63](i6, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i7, i6) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i7) | 0; - _abort(); - } - if ((i12 | 0) > (i2 | 0)) { - i7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 27996) | 0, 27767) | 0, 33528) | 0, 200) | 0, 33535) | 0, 28047) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i7 + (HEAP32[(HEAP32[i7 >> 2] | 0) + -12 >> 2] | 0) | 0); - i6 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 63](i6, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i7, i6) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i7) | 0; - _abort(); - } - if ((i14 | 0) <= 0) { - i7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 28164) | 0, 27767) | 0, 33528) | 0, 201) | 0, 33535) | 0, 28203) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i7 + (HEAP32[(HEAP32[i7 >> 2] | 0) + -12 >> 2] | 0) | 0); - i6 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 63](i6, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i7, i6) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i7) | 0; - _abort(); - } - i4 = 0; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i12 | 0)) break; - i7 = i11 + (i6 << 2) | 0; - i5 = 0; - i1 = -1; - while (1) { - if ((i5 | 0) == (i14 | 0)) break; - i2 = i13 + (i5 << 2) | 0; - i3 = __ZN6vision15HammingDistanceILi96EEEjPKhS2_(i10 + ((HEAP32[i7 >> 2] | 0) * 96 | 0) | 0, i10 + ((HEAP32[i11 + (HEAP32[i2 >> 2] << 2) >> 2] | 0) * 96 | 0) | 0) | 0; - if (i3 >>> 0 < i1 >>> 0) { - HEAP32[(HEAP32[i9 >> 2] | 0) + (i6 << 2) >> 2] = HEAP32[i2 >> 2]; - i1 = i3; - } - i5 = i5 + 1 | 0; - } - i4 = i1 + i4 | 0; - i6 = i6 + 1 | 0; - } - STACKTOP = i8; - return i4 | 0; -} - -function _QRM(i22, i23) { - i22 = i22 | 0; - i23 = i23 | 0; - var i1 = 0, i2 = 0, i3 = 0, d4 = 0.0, i5 = 0, d6 = 0.0, i7 = 0, i8 = 0, d9 = 0.0, d10 = 0.0, d11 = 0.0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, d28 = 0.0, d29 = 0.0, d30 = 0.0, i31 = 0, i32 = 0; - i27 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i27; - i26 = HEAP32[i22 + 4 >> 2] | 0; - do if ((!((i26 | 0) < 2 ? 1 : (i26 | 0) != (HEAP32[i22 + 8 >> 2] | 0)) ? (HEAP32[i23 + 4 >> 2] | 0) == (i26 | 0) : 0) ? (i24 = _arVecAlloc(i26) | 0, (i24 | 0) != 0) : 0) { - i25 = i26 + -1 | 0; - HEAP32[i1 + 4 >> 2] = i25; - HEAP32[i1 >> 2] = (HEAP32[i24 >> 2] | 0) + 8; - if ((_arVecTridiagonalize(i22, i23, i1) | 0) < 0) { - _arVecFree(i24) | 0; - i1 = -1; - break; - } - i21 = HEAP32[i24 >> 2] | 0; - HEAPF64[i21 >> 3] = 0.0; - i19 = i25; - while (1) { - if ((i19 | 0) <= 0) break; - i20 = i19; - while (1) { - if ((i20 | 0) <= 0) break; - d10 = +Math_abs(+(+HEAPF64[i21 + (i20 << 3) >> 3])); - i18 = HEAP32[i23 >> 2] | 0; - i1 = i20 + -1 | 0; - d11 = +Math_abs(+(+HEAPF64[i18 + (i1 << 3) >> 3])); - if (d10 > (d11 + +Math_abs(+(+HEAPF64[i18 + (i20 << 3) >> 3]))) * 1.0e-06) i20 = i1; else break; - } - i13 = i19 + -1 | 0; - L15 : do if ((i20 | 0) != (i19 | 0)) { - i14 = i21 + (i19 << 3) | 0; - i15 = i21 + (i20 + 1 << 3) | 0; - i12 = 0; - do { - if (i12 >>> 0 > 99) break L15; - i12 = i12 + 1 | 0; - i16 = HEAP32[i23 >> 2] | 0; - i17 = i16 + (i13 << 3) | 0; - i18 = i16 + (i19 << 3) | 0; - d4 = +HEAPF64[i18 >> 3]; - d11 = (+HEAPF64[i17 >> 3] - d4) * .5; - d9 = +HEAPF64[i14 >> 3]; - d9 = d9 * d9; - d6 = +Math_sqrt(+(d9 + d11 * d11)); - i8 = i20; - d10 = +HEAPF64[i15 >> 3]; - d6 = +HEAPF64[i16 + (i20 << 3) >> 3] - d4 + d9 / (d11 + (d11 < 0.0 ? -d6 : d6)); - while (1) { - if ((i8 | 0) >= (i19 | 0)) break; - d4 = +Math_abs(+d6); - if (d4 >= +Math_abs(+d10)) if (d4 > 1.0e-16) { - d4 = -d10 / d6; - d11 = 1.0 / +Math_sqrt(+(d4 * d4 + 1.0)); - d9 = d11; - d11 = d4 * d11; - } else { - d9 = 1.0; - d11 = 0.0; - } else { - d9 = -d6 / d10; - d11 = 1.0 / +Math_sqrt(+(d9 * d9 + 1.0)); - d9 = d9 * d11; - } - i3 = i16 + (i8 << 3) | 0; - d30 = +HEAPF64[i3 >> 3]; - i7 = i8 + 1 | 0; - i1 = i16 + (i7 << 3) | 0; - d29 = +HEAPF64[i1 >> 3]; - d4 = d30 - d29; - i5 = i21 + (i7 << 3) | 0; - d28 = d11 * (d11 * d4 + d9 * 2.0 * +HEAPF64[i5 >> 3]); - HEAPF64[i3 >> 3] = d30 - d28; - HEAPF64[i1 >> 3] = d29 + d28; - i1 = i21 + (i8 << 3) | 0; - if ((i8 | 0) > (i20 | 0)) HEAPF64[i1 >> 3] = d9 * +HEAPF64[i1 >> 3] - d10 * d11; - d30 = +HEAPF64[i5 >> 3]; - HEAPF64[i5 >> 3] = d30 + d11 * (d9 * d4 - d11 * 2.0 * d30); - i2 = Math_imul(i8, i26) | 0; - i3 = Math_imul(i7, i26) | 0; - i1 = 0; - d4 = d10; - while (1) { - if ((i1 | 0) == (i26 | 0)) break; - i31 = HEAP32[i22 >> 2] | 0; - i32 = i31 + (i1 + i2 << 3) | 0; - d6 = +HEAPF64[i32 >> 3]; - i31 = i31 + (i1 + i3 << 3) | 0; - d4 = +HEAPF64[i31 >> 3]; - HEAPF64[i32 >> 3] = d9 * d6 - d11 * d4; - HEAPF64[i31 >> 3] = d11 * d6 + d9 * d4; - i1 = i1 + 1 | 0; - } - if ((i8 | 0) < (i13 | 0)) { - d6 = +HEAPF64[i5 >> 3]; - i32 = i21 + (i8 + 2 << 3) | 0; - d4 = +HEAPF64[i32 >> 3]; - HEAPF64[i32 >> 3] = d9 * d4; - d4 = -(d11 * d4); - } - i8 = i7; - d10 = d4; - } - d29 = +Math_abs(+(+HEAPF64[i14 >> 3])); - d30 = +Math_abs(+(+HEAPF64[i17 >> 3])); - } while (d29 > (d30 + +Math_abs(+(+HEAPF64[i18 >> 3]))) * 1.0e-06); - } while (0); - i19 = i13; - } - i1 = 0; - while (1) { - if ((i1 | 0) == (i25 | 0)) break; - i3 = HEAP32[i23 >> 2] | 0; - i5 = i3 + (i1 << 3) | 0; - d6 = +HEAPF64[i5 >> 3]; - i8 = i1 + 1 | 0; - d4 = d6; - i7 = i1; - i2 = i8; - while (1) { - if ((i2 | 0) >= (i26 | 0)) break; - d30 = +HEAPF64[i3 + (i2 << 3) >> 3]; - i32 = d30 > d4; - d4 = i32 ? d30 : d4; - i7 = i32 ? i2 : i7; - i2 = i2 + 1 | 0; - } - HEAPF64[i3 + (i7 << 3) >> 3] = d6; - HEAPF64[i5 >> 3] = d4; - i2 = HEAP32[i22 >> 2] | 0; - i3 = i2 + ((Math_imul(i1, i26) | 0) << 3) | 0; - i1 = i2 + ((Math_imul(i7, i26) | 0) << 3) | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == (i26 | 0)) break; - d30 = +HEAPF64[i1 >> 3]; - HEAPF64[i1 >> 3] = +HEAPF64[i3 >> 3]; - HEAPF64[i3 >> 3] = d30; - i3 = i3 + 8 | 0; - i1 = i1 + 8 | 0; - i2 = i2 + 1 | 0; - } - i1 = i8; - } - _arVecFree(i24) | 0; - i1 = 0; - } else i1 = -1; while (0); - STACKTOP = i27; - return i1 | 0; -} - -function _jpeg_idct_ifast(i1, i3, i4, i9, i10) { - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - var i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - i2 = i12; - i8 = HEAP32[i1 + 324 >> 2] | 0; - i6 = 8; - i7 = i2; - i5 = HEAP32[i3 + 80 >> 2] | 0; - while (1) { - if (!i6) break; - i3 = HEAP16[i4 + 16 >> 1] | 0; - i1 = HEAP16[i4 + 32 >> 1] | 0; - if (!((i3 | i1) << 16 >> 16)) if (((((HEAP16[i4 + 48 >> 1] | 0) == 0 ? (HEAP16[i4 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[i4 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[i4 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[i4 + 112 >> 1] | 0) == 0 : 0) { - i1 = Math_imul(HEAP32[i5 >> 2] | 0, HEAP16[i4 >> 1] | 0) | 0; - HEAP32[i7 >> 2] = i1; - HEAP32[i7 + 32 >> 2] = i1; - HEAP32[i7 + 64 >> 2] = i1; - HEAP32[i7 + 96 >> 2] = i1; - HEAP32[i7 + 128 >> 2] = i1; - HEAP32[i7 + 160 >> 2] = i1; - HEAP32[i7 + 192 >> 2] = i1; - i3 = 56; - } else { - i1 = 0; - i11 = 10; - } else i11 = 10; - if ((i11 | 0) == 10) { - i11 = 0; - i13 = Math_imul(HEAP32[i5 >> 2] | 0, HEAP16[i4 >> 1] | 0) | 0; - i18 = Math_imul(HEAP32[i5 + 64 >> 2] | 0, i1 << 16 >> 16) | 0; - i17 = Math_imul(HEAP32[i5 + 128 >> 2] | 0, HEAP16[i4 + 64 >> 1] | 0) | 0; - i14 = Math_imul(HEAP32[i5 + 192 >> 2] | 0, HEAP16[i4 + 96 >> 1] | 0) | 0; - i16 = i17 + i13 | 0; - i17 = i13 - i17 | 0; - i13 = i14 + i18 | 0; - i14 = ((i18 - i14 | 0) * 362 >> 8) - i13 | 0; - i18 = i13 + i16 | 0; - i13 = i16 - i13 | 0; - i16 = i14 + i17 | 0; - i14 = i17 - i14 | 0; - i17 = Math_imul(HEAP32[i5 + 32 >> 2] | 0, i3 << 16 >> 16) | 0; - i15 = Math_imul(HEAP32[i5 + 96 >> 2] | 0, HEAP16[i4 + 48 >> 1] | 0) | 0; - i20 = Math_imul(HEAP32[i5 + 160 >> 2] | 0, HEAP16[i4 + 80 >> 1] | 0) | 0; - i19 = Math_imul(HEAP32[i5 + 224 >> 2] | 0, HEAP16[i4 + 112 >> 1] | 0) | 0; - i3 = i20 + i15 | 0; - i15 = i20 - i15 | 0; - i20 = i19 + i17 | 0; - i19 = i17 - i19 | 0; - i17 = i20 + i3 | 0; - i1 = (i19 + i15 | 0) * 473 >> 8; - i15 = ((Math_imul(i15, -669) | 0) >> 8) - i17 + i1 | 0; - i3 = ((i20 - i3 | 0) * 362 >> 8) - i15 | 0; - i1 = i3 + ((i19 * 277 >> 8) - i1) | 0; - HEAP32[i7 >> 2] = i17 + i18; - HEAP32[i7 + 224 >> 2] = i18 - i17; - HEAP32[i7 + 32 >> 2] = i15 + i16; - HEAP32[i7 + 192 >> 2] = i16 - i15; - HEAP32[i7 + 64 >> 2] = i3 + i14; - HEAP32[i7 + 160 >> 2] = i14 - i3; - HEAP32[i7 + 128 >> 2] = i1 + i13; - i1 = i13 - i1 | 0; - i3 = 24; - } - HEAP32[i7 + (i3 << 2) >> 2] = i1; - i6 = i6 + -1 | 0; - i7 = i7 + 4 | 0; - i5 = i5 + 4 | 0; - i4 = i4 + 2 | 0; - } - i6 = i8 + 128 | 0; - i5 = 0; - while (1) { - if ((i5 | 0) == 8) break; - i3 = (HEAP32[i9 + (i5 << 2) >> 2] | 0) + i10 | 0; - i4 = HEAP32[i2 + 4 >> 2] | 0; - i1 = HEAP32[i2 + 8 >> 2] | 0; - if (!(i4 | i1)) if (((((HEAP32[i2 + 12 >> 2] | 0) == 0 ? (HEAP32[i2 + 16 >> 2] | 0) == 0 : 0) ? (HEAP32[i2 + 20 >> 2] | 0) == 0 : 0) ? (HEAP32[i2 + 24 >> 2] | 0) == 0 : 0) ? (HEAP32[i2 + 28 >> 2] | 0) == 0 : 0) { - i20 = HEAP8[i6 + ((HEAP32[i2 >> 2] | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[i3 >> 0] = i20; - _memset(i3 + 1 | 0, i20 | 0, 7) | 0; + $1 = HEAP32[$4 + 8 >> 2]; + HEAP32[$1 + 12 >> 2] = $0; + HEAP32[$4 + 8 >> 2] = $0; + HEAP32[$0 + 24 >> 2] = 0; + HEAP32[$0 + 12 >> 2] = $4; + HEAP32[$0 + 8 >> 2] = $1; + } +} + +function fmodl($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var $9 = 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; + $15 = __stack_pointer - 128 | 0; + __stack_pointer = $15; + label$1: { + label$2: { + $11 = $6; + $12 = $8; + label$3: { + if (!__letf2($5, $11, $7, $12, 0, 0, 0, 0)) { + break label$3; + } + $10 = $6; + $9 = $8; + $18 = __fpclassifyl($5, $10, $7, $9); + $9 = $4; + $21 = $9 >>> 16 | 0; + $16 = $21 & 32767; + if (($16 | 0) == 32767) { + break label$3; + } + if ($18) { + break label$2; + } + } + $10 = $2; + $12 = $4; + $9 = $6; + $11 = $8; + __multf3($15 + 16 | 0, $1, $10, $3, $12, $5, $9, $7, $11); + $12 = $15; + $11 = HEAP32[$12 + 16 >> 2]; + $7 = $11; + $9 = HEAP32[$12 + 20 >> 2]; + $8 = $9; + $11 = HEAP32[$12 + 28 >> 2]; + $6 = $11; + $9 = HEAP32[$12 + 24 >> 2]; + $5 = $9; + $11 = $8; + $9 = $6; + __divtf3($12, $7, $11, $5, $9, $7, $11, $5, $9); + $9 = $12; + $10 = HEAP32[$9 + 8 >> 2]; + $3 = $10; + $12 = HEAP32[$9 + 12 >> 2]; + $4 = $12; + $12 = HEAP32[$9 >> 2]; + $7 = $12; + $10 = HEAP32[$9 + 4 >> 2]; + $8 = $10; + break label$1; + } + $10 = $4; + $12 = $10 & 65535; + $10 = $16; + $9 = $10 << 16; + $10 = $9; + $9 = $12; + $10 = $9 | $10; + $19 = $10; + $11 = 0; + $12 = $3; + $17 = $11 | $12; + $10 = $8; + $12 = $10 & 65535; + $8 = $12; + $9 = $7; + $14 = 0 | $9; + $18 = $10 >>> 16 & 32767; + $12 = $18; + $10 = $12 << 16; + $12 = $10; + $10 = $8; + $12 = $12 | $10; + $13 = $12; + $12 = $2; + $9 = $19; + $10 = $6; + $11 = $13; + if ((__letf2($1, $12, $17, $9, $5, $10, $14, $11) | 0) <= 0) { + $11 = $2; + $10 = $19; + $9 = $6; + $12 = $13; + if (__letf2($1, $11, $17, $10, $5, $9, $14, $12)) { + $7 = $1; + $12 = $2; + $8 = $12; + break label$1; + } + $12 = $2; + $9 = $4; + __multf3($15 + 112 | 0, $1, $12, $3, $9, 0, 0, 0, 0); + $9 = $15; + $11 = HEAP32[$9 + 120 >> 2]; + $3 = $11; + $10 = HEAP32[$9 + 124 >> 2]; + $4 = $10; + $10 = HEAP32[$9 + 112 >> 2]; + $7 = $10; + $11 = HEAP32[$9 + 116 >> 2]; + $8 = $11; + break label$1; + } + if ($16) { + $7 = $1; + $11 = $2; + $10 = $11; } else { - i1 = 0; - i11 = 21; - } else i11 = 21; - if ((i11 | 0) == 21) { - i11 = 0; - i17 = HEAP32[i2 >> 2] | 0; - i8 = HEAP32[i2 + 16 >> 2] | 0; - i15 = i8 + i17 | 0; - i8 = i17 - i8 | 0; - i17 = HEAP32[i2 + 24 >> 2] | 0; - i19 = i17 + i1 | 0; - i17 = ((i1 - i17 | 0) * 362 >> 8) - i19 | 0; - i13 = i19 + i15 | 0; - i19 = i15 - i19 | 0; - i15 = i17 + i8 | 0; - i17 = i8 - i17 | 0; - i8 = HEAP32[i2 + 20 >> 2] | 0; - i16 = HEAP32[i2 + 12 >> 2] | 0; - i18 = i16 + i8 | 0; - i16 = i8 - i16 | 0; - i8 = HEAP32[i2 + 28 >> 2] | 0; - i7 = i8 + i4 | 0; - i8 = i4 - i8 | 0; - i14 = i7 + i18 | 0; - i20 = (i8 + i16 | 0) * 473 >> 8; - i16 = ((Math_imul(i16, -669) | 0) >> 8) - i14 + i20 | 0; - i18 = ((i7 - i18 | 0) * 362 >> 8) - i16 | 0; - i20 = i18 + ((i8 * 277 >> 8) - i20) | 0; - HEAP8[i3 >> 0] = HEAP8[i6 + ((i14 + i13 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[i3 + 7 >> 0] = HEAP8[i6 + ((i13 - i14 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[i3 + 1 >> 0] = HEAP8[i6 + ((i16 + i15 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[i3 + 6 >> 0] = HEAP8[i6 + ((i15 - i16 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[i3 + 2 >> 0] = HEAP8[i6 + ((i18 + i17 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[i3 + 5 >> 0] = HEAP8[i6 + ((i17 - i18 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[i3 + 4 >> 0] = HEAP8[i6 + ((i20 + i19 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[i3 + 3 >> 0] = HEAP8[i6 + ((i19 - i20 | 0) >>> 5 & 1023) >> 0] | 0; - } - i5 = i5 + 1 | 0; - i2 = i2 + 32 | 0; - } - STACKTOP = i12; - return; -} - -function __ZNSt3__29__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE(i11, i12, i13, i14, i15, i16, i1) { - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i17 = i20; - i18 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i10 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57932) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i10 >> 2] | 0) + 20 >> 2] & 63](i17, i10); - HEAP32[i16 >> 2] = i14; - i1 = HEAP8[i11 >> 0] | 0; - switch (i1 << 24 >> 24) { - case 43: - case 45: - { - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i18 >> 2] | 0) + 28 >> 2] & 63](i18, i1) | 0; - i2 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = i2 + 1; - HEAP8[i2 >> 0] = i9; - i2 = i11 + 1 | 0; - break; - } - default: - i2 = i11; - } - i9 = i13; - L4 : do if ((i9 - i2 | 0) > 1 ? (HEAP8[i2 >> 0] | 0) == 48 : 0) { - i1 = i2 + 1 | 0; - switch (HEAP8[i1 >> 0] | 0) { - case 88: - case 120: - break; - default: - { - i19 = 4; - break L4; - } - } - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i18 >> 2] | 0) + 28 >> 2] & 63](i18, 48) | 0; - i8 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = i8 + 1; - HEAP8[i8 >> 0] = i7; - i2 = i2 + 2 | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i18 >> 2] | 0) + 28 >> 2] & 63](i18, HEAP8[i1 >> 0] | 0) | 0; - i1 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i8; - i1 = i2; - while (1) { - if (i1 >>> 0 >= i13 >>> 0) break L4; - i8 = HEAP8[i1 >> 0] | 0; - if (!(_isxdigit_l(i8, __ZNSt3__26__clocEv() | 0) | 0)) break L4; - i1 = i1 + 1 | 0; - } - } else i19 = 4; while (0); - L12 : do if ((i19 | 0) == 4) { - i1 = i2; - while (1) { - if (i1 >>> 0 >= i13 >>> 0) break L12; - i8 = HEAP8[i1 >> 0] | 0; - if (!(_isdigit_l(i8, __ZNSt3__26__clocEv() | 0) | 0)) break L12; - i1 = i1 + 1 | 0; - } - } while (0); - i7 = i17 + 11 | 0; - i6 = HEAP8[i7 >> 0] | 0; - i8 = i17 + 4 | 0; - L19 : do if ((i6 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i6 & 255) | 0) { - L22 : do if ((i2 | 0) != (i1 | 0)) { - i3 = i1; - i4 = i2; + $11 = $2; + $10 = $19; + __multf3($15 + 96 | 0, $1, $11, $17, $10, 0, 0, 0, 1081540608); + $9 = HEAP32[$15 + 108 >> 2]; + $19 = $9; + $10 = $15; + $12 = HEAP32[$10 + 104 >> 2]; + $17 = $12; + $16 = ($9 >>> 16 | 0) - 120 | 0; + $9 = $10; + $12 = HEAP32[$9 + 96 >> 2]; + $7 = $12; + $10 = HEAP32[$9 + 100 >> 2]; + } + $8 = $10; + if (!$18) { + $10 = $6; + $12 = $13; + __multf3($15 + 80 | 0, $5, $10, $14, $12, 0, 0, 0, 1081540608); + $9 = HEAP32[$15 + 92 >> 2]; + $13 = $9; + $12 = $15; + $11 = HEAP32[$12 + 88 >> 2]; + $14 = $11; + $18 = ($9 >>> 16 | 0) - 120 | 0; + $9 = $12; + $11 = HEAP32[$9 + 80 >> 2]; + $5 = $11; + $12 = HEAP32[$9 + 84 >> 2]; + $6 = $12; + } + $12 = $13; + $11 = $12 & 65535; + $9 = $14; + $22 = $9; + $9 = $11 | 65536; + $20 = $9; + $9 = $19; + $12 = $9 & 65535; + $11 = $17; + $9 = $11; + $17 = $9; + $11 = $12 | 65536; + $19 = $11; + if (($16 | 0) > ($18 | 0)) { while (1) { - i3 = i3 + -1 | 0; - if (i4 >>> 0 >= i3 >>> 0) break L22; - i6 = HEAP8[i4 >> 0] | 0; - HEAP8[i4 >> 0] = HEAP8[i3 >> 0] | 0; - HEAP8[i3 >> 0] = i6; - i4 = i4 + 1 | 0; - } - } while (0); - i6 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i10 >> 2] | 0) + 16 >> 2] & 127](i10) | 0; - i5 = i2; - i4 = 0; - i3 = 0; - while (1) { - if (i5 >>> 0 >= i1 >>> 0) break; - i21 = HEAP8[((HEAP8[i7 >> 0] | 0) < 0 ? HEAP32[i17 >> 2] | 0 : i17) + i3 >> 0] | 0; - if (i21 << 24 >> 24 > 0 & (i4 | 0) == (i21 << 24 >> 24 | 0)) { - i4 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i6; - i4 = HEAP8[i7 >> 0] | 0; - i3 = i3 + (i3 >>> 0 < ((i4 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i4 & 255) + -1 | 0) >>> 0 & 1) | 0; - i4 = 0; - } - i22 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i18 >> 2] | 0) + 28 >> 2] & 63](i18, HEAP8[i5 >> 0] | 0) | 0; - i21 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = i21 + 1; - HEAP8[i21 >> 0] = i22; - i5 = i5 + 1 | 0; - i4 = i4 + 1 | 0; - } - i3 = i14 + (i2 - i11) | 0; - i2 = HEAP32[i16 >> 2] | 0; - if ((i3 | 0) == (i2 | 0)) i3 = i18; else while (1) { - i2 = i2 + -1 | 0; - if (i3 >>> 0 >= i2 >>> 0) { - i3 = i18; - break L19; - } - i22 = HEAP8[i3 >> 0] | 0; - HEAP8[i3 >> 0] = HEAP8[i2 >> 0] | 0; - HEAP8[i2 >> 0] = i22; - i3 = i3 + 1 | 0; - } - } else { - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i18 >> 2] | 0) + 32 >> 2] & 15](i18, i2, i1, HEAP32[i16 >> 2] | 0) | 0; - HEAP32[i16 >> 2] = (HEAP32[i16 >> 2] | 0) + (i1 - i2); - i3 = i18; - } while (0); - while (1) { - if (i1 >>> 0 >= i13 >>> 0) break; - i2 = HEAP8[i1 >> 0] | 0; - if (i2 << 24 >> 24 == 46) { - i19 = 32; - break; - } - i21 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i3 >> 2] | 0) + 28 >> 2] & 63](i18, i2) | 0; - i22 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = i22 + 1; - HEAP8[i22 >> 0] = i21; - i1 = i1 + 1 | 0; - } - if ((i19 | 0) == 32) { - i21 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i10 >> 2] | 0) + 12 >> 2] & 127](i10) | 0; - i22 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = i22 + 1; - HEAP8[i22 >> 0] = i21; - i1 = i1 + 1 | 0; - } - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i18 >> 2] | 0) + 32 >> 2] & 15](i18, i1, i13, HEAP32[i16 >> 2] | 0) | 0; - i22 = (HEAP32[i16 >> 2] | 0) + (i9 - i1) | 0; - HEAP32[i16 >> 2] = i22; - HEAP32[i15 >> 2] = (i12 | 0) == (i13 | 0) ? i22 : i14 + (i12 - i11) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i17); - STACKTOP = i20; - return; -} - -function __ZNK6vision4NodeILi96EE7nearestERNSt3__26vectorIPKS1_NS2_9allocatorIS5_EEEERNS2_14priority_queueINS_17PriorityQueueItemILi96EEENS3_ISC_NS6_ISC_EEEENS2_4lessISC_EEEEPKh(i1, i12, i13, i3) { - i1 = i1 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i3 = i3 | 0; - var i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0; - i19 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i11 = i19 + 8 | 0; - i10 = i19 + 36 | 0; - i14 = i19 + 32 | 0; - i15 = i19 + 28 | 0; - i16 = i19; - i17 = i19 + 16 | 0; - i18 = i1 + 104 | 0; - __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEEC2Em(i17, (HEAP32[i1 + 108 >> 2] | 0) - (HEAP32[i18 >> 2] | 0) >> 2); - i9 = i17 + 4 | 0; - i1 = -1; - i2 = 0; - i8 = -1; - while (1) { - if (i2 >>> 0 >= (HEAP32[i9 >> 2] | 0) - (HEAP32[i17 >> 2] | 0) >> 3 >>> 0) break; - i6 = __ZN6vision15HammingDistanceILi96EEEjPKhS2_((HEAP32[(HEAP32[i18 >> 2] | 0) + (i2 << 2) >> 2] | 0) + 4 | 0, i3) | 0; - __ZN6vision17PriorityQueueItemILi96EEC2EPKNS_4NodeILi96EEEj(i11, HEAP32[(HEAP32[i18 >> 2] | 0) + (i2 << 2) >> 2] | 0, i6); - i4 = i11; - i7 = HEAP32[i4 + 4 >> 2] | 0; - i5 = (HEAP32[i17 >> 2] | 0) + (i2 << 3) | 0; - HEAP32[i5 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i5 + 4 >> 2] = i7; - __ZN6vision17PriorityQueueItemILi96EED2Ev(i11); - i5 = i6 >>> 0 < i1 >>> 0; - i7 = i5 ? i2 : i8; - i1 = i5 ? i6 : i1; - i2 = i2 + 1 | 0; - i8 = i7; - } - if ((i8 | 0) == -1) { - i7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30341) | 0, 27286) | 0, 33528) | 0, 155) | 0, 33535) | 0, 30375) | 0; - __ZNKSt3__28ios_base6getlocEv(i11, i7 + (HEAP32[(HEAP32[i7 >> 2] | 0) + -12 >> 2] | 0) | 0); - i6 = __ZNKSt3__26locale9use_facetERNS0_2idE(i11, 57916) | 0; - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 63](i6, 10) | 0; - __ZNSt3__26localeD2Ev(i11); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i7, i6) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i7) | 0; - _abort(); - } - i1 = HEAP32[(HEAP32[i18 >> 2] | 0) + (i8 << 2) >> 2] | 0; - HEAP32[i11 >> 2] = i1; - i6 = i12 + 4 | 0; - i2 = HEAP32[i6 >> 2] | 0; - i7 = i12 + 8 | 0; - if (i2 >>> 0 < (HEAP32[i7 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = i1; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 4; - } else __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE21__push_back_slow_pathIS5_EEvOT_(i12, i11); - i4 = i13 + 4 | 0; - i5 = i13 + 8 | 0; - i3 = 0; - while (1) { - i1 = HEAP32[i17 >> 2] | 0; - if (i3 >>> 0 >= (HEAP32[i9 >> 2] | 0) - i1 >> 3 >>> 0) break; - do if ((i3 | 0) != (i8 | 0)) { - i2 = __ZNK6vision17PriorityQueueItemILi96EE4distEv(i1 + (i3 << 3) | 0) | 0; - if ((i2 | 0) == (__ZNK6vision17PriorityQueueItemILi96EE4distEv((HEAP32[i17 >> 2] | 0) + (i8 << 3) | 0) | 0)) { - i1 = HEAP32[(HEAP32[i18 >> 2] | 0) + (i3 << 2) >> 2] | 0; - HEAP32[i11 >> 2] = i1; - i2 = HEAP32[i6 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i7 >> 2] | 0) >>> 0) { - HEAP32[i2 >> 2] = i1; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 4; - } else __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE21__push_back_slow_pathIS5_EEvOT_(i12, i11); - break; - } else { - i1 = (HEAP32[i17 >> 2] | 0) + (i3 << 3) | 0; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i5 >> 2] | 0)) { - __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_(i13, i1); - i1 = HEAP32[i4 >> 2] | 0; - } else { - i21 = i1; - i20 = HEAP32[i21 + 4 >> 2] | 0; - i1 = i2; - HEAP32[i1 >> 2] = HEAP32[i21 >> 2]; - HEAP32[i1 + 4 >> 2] = i20; - i1 = (HEAP32[i4 >> 2] | 0) + 8 | 0; - HEAP32[i4 >> 2] = i1; - } - i21 = HEAP32[i13 >> 2] | 0; - HEAP32[i14 >> 2] = i21; - HEAP32[i15 >> 2] = i1; - HEAP32[i10 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i11 >> 2] = HEAP32[i15 >> 2]; - __ZNSt3__29__sift_upIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeE(i10, i11, i16, i1 - i21 >> 3); - break; - } - } while (0); - i3 = i3 + 1 | 0; - } - __ZNSt3__213__vector_baseIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEED2Ev(i17); - STACKTOP = i19; - return; -} - -function __ZN6vision14ExtractFREAK84ERNS_18BinaryFeatureStoreEPKNS_25GaussianScaleSpacePyramidERKNSt3__26vectorINS_12FeaturePointENS5_9allocatorIS7_EEEEPKfSE_SE_SE_SE_SE_ffffffff(i5, i6, i15, i16, i18, i19, i20, i21, i22, d23, d7, d8, d9, d10, d11, d12, d13) { - i5 = i5 | 0; - i6 = i6 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i22 = i22 | 0; - d23 = +d23; - d7 = +d7; - d8 = +d8; - d9 = +d9; - d10 = +d10; - d11 = +d11; - d12 = +d12; - d13 = +d13; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i14 = 0, i17 = 0, i24 = 0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i14 = i24; - if (!i6) { - i17 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31972) | 0, 32003) | 0, 33528) | 0, 537) | 0, 33535) | 0, 32108) | 0; - __ZNKSt3__28ios_base6getlocEv(i14, i17 + (HEAP32[(HEAP32[i17 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i14, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i14); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i17, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i17) | 0; - _abort(); - } - i4 = __ZNK6vision18BinaryFeatureStore4sizeEv(i5) | 0; - i17 = i15 + 4 | 0; - i3 = HEAP32[i17 >> 2] | 0; - i2 = HEAP32[i15 >> 2] | 0; - if ((i4 | 0) != ((i3 - i2 | 0) / 20 | 0 | 0)) { - i4 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32124) | 0, 32003) | 0, 33528) | 0, 538) | 0, 33535) | 0, 32177) | 0; - __ZNKSt3__28ios_base6getlocEv(i14, i4 + (HEAP32[(HEAP32[i4 >> 2] | 0) + -12 >> 2] | 0) | 0); - i1 = __ZNKSt3__26locale9use_facetERNS0_2idE(i14, 57916) | 0; - i1 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i1 >> 2] | 0) + 28 >> 2] & 63](i1, 10) | 0; - __ZNSt3__26localeD2Ev(i14); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i4, i1) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i4) | 0; - _abort(); - } - i4 = 0; - i1 = 0; - while (1) { - i2 = (i3 - i2 | 0) / 20 | 0; - if (i4 >>> 0 >= i2 >>> 0) break; - i3 = __ZN6vision18BinaryFeatureStore7featureEm(i5, i1) | 0; - if (__ZN6vision14ExtractFREAK84EPhPKNS_25GaussianScaleSpacePyramidERKNS_12FeaturePointEPKfS8_S8_S8_S8_S8_ffffffff(i3, i6, (HEAP32[i15 >> 2] | 0) + (i4 * 20 | 0) | 0, i16, i18, i19, i20, i21, i22, d23, d7, d8, d9, d10, d11, d12, d13) | 0) { - i2 = (HEAP32[i15 >> 2] | 0) + (i4 * 20 | 0) | 0; - i3 = __ZN6vision18BinaryFeatureStore5pointEm(i5, i1) | 0; - HEAP32[i3 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i3 + 4 >> 2] = HEAP32[i2 + 4 >> 2]; - HEAP32[i3 + 8 >> 2] = HEAP32[i2 + 8 >> 2]; - HEAP32[i3 + 12 >> 2] = HEAP32[i2 + 12 >> 2]; - HEAP8[i3 + 16 >> 0] = HEAP8[i2 + 16 >> 0] | 0; - i1 = i1 + 1 | 0; - } - i4 = i4 + 1 | 0; - i2 = HEAP32[i15 >> 2] | 0; - i3 = HEAP32[i17 >> 2] | 0; - } - if ((i1 | 0) == (i2 | 0)) { - __ZN6vision18BinaryFeatureStore6resizeEm(i5, i1); - STACKTOP = i24; - return; - } else { - i24 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32214) | 0, 32003) | 0, 33528) | 0, 617) | 0, 33535) | 0, 32265) | 0; - __ZNKSt3__28ios_base6getlocEv(i14, i24 + (HEAP32[(HEAP32[i24 >> 2] | 0) + -12 >> 2] | 0) | 0); - i22 = __ZNKSt3__26locale9use_facetERNS0_2idE(i14, 57916) | 0; - i22 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i22 >> 2] | 0) + 28 >> 2] & 63](i22, 10) | 0; - __ZNSt3__26localeD2Ev(i14); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i24, i22) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i24) | 0; - _abort(); - } -} - -function __ZN10__cxxabiv112_GLOBAL__N_110parse_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i5, i8) { - i1 = i1 | 0; - i5 = i5 | 0; - i8 = i8 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i9 = i10 + 8 | 0; - i4 = i10; - L1 : do if ((i5 - i1 | 0) > 1) { - i3 = (HEAP8[i1 >> 0] | 0) == 76 ? i1 + 1 | 0 : i1; - switch (HEAP8[i3 >> 0] | 0) { - case 78: - { - i9 = __ZN10__cxxabiv112_GLOBAL__N_117parse_nested_nameINS0_2DbEEEPKcS4_S4_RT_(i3, i5, i8) | 0; - i1 = (i9 | 0) == (i3 | 0) ? i1 : i9; - break L1; - } - case 90: - { - i9 = __ZN10__cxxabiv112_GLOBAL__N_116parse_local_nameINS0_2DbEEEPKcS4_S4_RT_(i3, i5, i8) | 0; - i1 = (i9 | 0) == (i3 | 0) ? i1 : i9; - break L1; - } - default: - { - i6 = __ZN10__cxxabiv112_GLOBAL__N_119parse_unscoped_nameINS0_2DbEEEPKcS4_S4_RT_(i3, i5, i8) | 0; - if ((i6 | 0) == (i3 | 0)) { - i2 = __ZN10__cxxabiv112_GLOBAL__N_118parse_substitutionINS0_2DbEEEPKcS4_S4_RT_(i3, i5, i8) | 0; - if ((i2 | 0) == (i3 | 0) | (i2 | 0) == (i5 | 0)) break L1; - if ((HEAP8[i2 >> 0] | 0) != 73) break L1; - i4 = __ZN10__cxxabiv112_GLOBAL__N_119parse_template_argsINS0_2DbEEEPKcS4_S4_RT_(i2, i5, i8) | 0; - if ((i4 | 0) == (i2 | 0)) break L1; - i3 = i8 + 4 | 0; - i2 = HEAP32[i3 >> 2] | 0; - if (((i2 - (HEAP32[i8 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i9, i2 + -24 | 0); - i2 = HEAP32[i3 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i8 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i8 * 24 | 0) | 0); - i1 = i8; - } - HEAP32[i3 >> 2] = i2 + -24; - i1 = HEAP8[i9 + 11 >> 0] | 0; - i8 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i2 + -48 | 0, i8 ? HEAP32[i9 >> 2] | 0 : i9, i8 ? HEAP32[i9 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - i1 = i4; - break L1; - } - if ((i6 | 0) == (i5 | 0)) { - i1 = i5; - break L1; - } - if ((HEAP8[i6 >> 0] | 0) != 73) { - i1 = i6; - break L1; - } - i7 = i8 + 4 | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((HEAP32[i8 >> 2] | 0) == (i2 | 0)) break L1; - HEAP32[i4 >> 2] = HEAP32[i8 + 12 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i9, i2 + -24 | 0, i4); - i2 = i8 + 20 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i8 + 24 >> 2] | 0) >>> 0) { - HEAP32[i3 >> 2] = 0; - i12 = i3 + 4 | 0; - HEAP32[i12 >> 2] = 0; - i11 = i3 + 8 | 0; - HEAP32[i11 >> 2] = 0; - HEAP32[i3 + 12 >> 2] = HEAP32[i9 + 12 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i9 >> 2]; - i4 = i9 + 4 | 0; - HEAP32[i12 >> 2] = HEAP32[i4 >> 2]; - i3 = i9 + 8 | 0; - HEAP32[i11 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i9 >> 2] = 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i8 + 16 | 0, i9); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i9); - i3 = __ZN10__cxxabiv112_GLOBAL__N_119parse_template_argsINS0_2DbEEEPKcS4_S4_RT_(i6, i5, i8) | 0; - if ((i3 | 0) == (i6 | 0)) break L1; - i2 = HEAP32[i7 >> 2] | 0; - if (((i2 - (HEAP32[i8 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i9, i2 + -24 | 0); - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i12 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i12 * 24 | 0) | 0); - i1 = i12; - } - HEAP32[i7 >> 2] = i2 + -24; - i1 = HEAP8[i9 + 11 >> 0] | 0; - i12 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i2 + -48 | 0, i12 ? HEAP32[i9 >> 2] | 0 : i9, i12 ? HEAP32[i9 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - i1 = i3; - break L1; - } - } - } while (0); - STACKTOP = i10; - return i1 | 0; -} - -function _get_sos(i14) { - i14 = i14 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0; - i15 = HEAP32[i14 + 24 >> 2] | 0; - i2 = HEAP32[i15 >> 2] | 0; - i16 = i15 + 4 | 0; - i1 = HEAP32[i16 >> 2] | 0; - i17 = i14 + 440 | 0; - if (!(HEAP32[(HEAP32[i17 >> 2] | 0) + 16 >> 2] | 0)) { - i12 = HEAP32[i14 >> 2] | 0; - HEAP32[i12 + 20 >> 2] = 62; - FUNCTION_TABLE_vi[HEAP32[i12 >> 2] & 255](i14); - } - if (!i1) if (!(FUNCTION_TABLE_ii[HEAP32[i15 + 12 >> 2] & 127](i14) | 0)) i1 = 0; else { - i1 = HEAP32[i16 >> 2] | 0; - i2 = HEAP32[i15 >> 2] | 0; - i13 = 6; - } else i13 = 6; - L7 : do if ((i13 | 0) == 6) { - i1 = i1 + -1 | 0; - i3 = i2 + 1 | 0; - i4 = (HEAPU8[i2 >> 0] | 0) << 8; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i15 + 12 >> 2] & 127](i14) | 0)) { - i1 = 0; + $12 = $17; + $10 = $22; + $13 = $12 - $10 | 0; + $11 = $19; + $9 = $20; + $23 = $11 - ($9 + ($10 >>> 0 > $12 >>> 0) | 0) | 0; + $12 = $8; + $11 = $5; + $10 = $7; + $12 = ($12 | 0) == ($6 | 0) & $11 >>> 0 > $10 >>> 0 | $6 >>> 0 > $12 >>> 0; + $10 = $13; + $9 = $10 - $12 | 0; + $14 = $9; + $11 = $23; + $13 = $10 >>> 0 < $12 >>> 0; + $13 = $11 - $13 | 0; + label$11: { + if (($13 | 0) > 0 | ($13 | 0) >= 0) { + $12 = $7; + $10 = $5; + $7 = $12 - $10 | 0; + $11 = $8; + $9 = $6 + ($10 >>> 0 > $12 >>> 0) | 0; + $9 = $11 - $9 | 0; + $8 = $9; + $12 = $9; + $9 = $13; + $12 = $12 | $9; + $11 = $14; + $10 = $7; + if (!($12 | ($11 | $10))) { + $12 = $2; + $11 = $4; + __multf3($15 + 32 | 0, $1, $12, $3, $11, 0, 0, 0, 0); + $11 = $15; + $10 = HEAP32[$11 + 40 >> 2]; + $3 = $10; + $9 = HEAP32[$11 + 44 >> 2]; + $4 = $9; + $9 = HEAP32[$11 + 32 >> 2]; + $7 = $9; + $10 = HEAP32[$11 + 36 >> 2]; + $8 = $10; + break label$1; + } + $10 = $13; + $9 = $10 << 1 | $11 >>> 31; + $13 = $9; + $11 = 0; + $10 = $11; + $9 = $8; + $12 = $9 >>> 31 | 0; + $9 = $14 << 1; + $17 = $12 | $9; + $11 = $13; + $10 = $11 | $10; + $13 = 31; + break label$11; + } + $11 = $17; + $14 = $11 << 1; + $10 = $19; + $9 = $10 << 1 | $11 >>> 31; + $13 = $9; + $11 = 0; + $10 = $11; + $9 = $8; + $12 = $9 >>> 31 | 0; + $9 = $14; + $17 = $12 | $9; + $11 = $13; + $10 = $11 | $10; + $13 = 31; + } + $19 = $10; + $11 = $7; + $7 = $11 << 1; + $10 = $8; + $9 = $10 << 1 | $11 >>> 31; + $8 = $9; + $16 = $16 - 1 | 0; + if (($18 | 0) < ($16 | 0)) { + continue; + } break; } - i1 = HEAP32[i16 >> 2] | 0; - i2 = HEAP32[i15 >> 2] | 0; - } else i2 = i3; - i1 = i1 + -1 | 0; - i3 = i2 + 1 | 0; - i2 = i4 | (HEAPU8[i2 >> 0] | 0); - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i15 + 12 >> 2] & 127](i14) | 0)) { - i1 = 0; + $16 = $18; + } + $10 = $17; + $12 = $22; + $13 = $10 - $12 | 0; + $9 = $19; + $11 = $20; + $20 = $9 - ($11 + ($10 >>> 0 < $12 >>> 0) | 0) | 0; + $10 = $8; + $12 = $7; + $9 = $5; + $10 = ($10 | 0) == ($6 | 0) & $12 >>> 0 < $9 >>> 0 | $6 >>> 0 > $10 >>> 0; + $12 = $13; + $11 = $12 - $10 | 0; + $14 = $11; + $9 = $20; + $13 = $10 >>> 0 > $12 >>> 0; + $13 = $9 - $13 | 0; + label$14: { + if (($13 | 0) < 0) { + $14 = $17; + $9 = $19; + $13 = $9; + break label$14; + } + $10 = $7; + $12 = $5; + $7 = $10 - $12 | 0; + $9 = $8; + $11 = $6 + ($12 >>> 0 > $10 >>> 0) | 0; + $11 = $9 - $11 | 0; + $8 = $11; + $11 = $13; + $10 = $8; + $10 = $11 | $10; + $12 = $7; + $9 = $14; + $11 = $12 | $9; + if ($10 | $11) { + break label$14; + } + $11 = $2; + $10 = $4; + __multf3($15 + 48 | 0, $1, $11, $3, $10, 0, 0, 0, 0); + $10 = $15; + $9 = HEAP32[$10 + 56 >> 2]; + $3 = $9; + $12 = HEAP32[$10 + 60 >> 2]; + $4 = $12; + $12 = HEAP32[$10 + 48 >> 2]; + $7 = $12; + $9 = HEAP32[$10 + 52 >> 2]; + $8 = $9; + break label$1; + } + $9 = $13; + if (($9 | 0) == 65535 | $9 >>> 0 < 65535) { + while (1) { + $11 = $7; + $10 = $8; + $5 = $10 >>> 31 | 0; + $9 = 0; + $6 = $9; + $16 = $16 - 1 | 0; + $10 = $11; + $7 = $10 << 1; + $9 = $8; + $11 = $9 << 1 | $10 >>> 31; + $8 = $11; + $9 = $14; + $12 = $9 << 1; + $11 = $13; + $10 = $11 << 1 | $9 >>> 31; + $9 = $10; + $10 = $6; + $9 = $9 | $10; + $13 = $9; + $11 = $5; + $14 = $11 | $12; + if ($9 >>> 0 < 65536) { + continue; + } break; } - i1 = HEAP32[i16 >> 2] | 0; - i3 = HEAP32[i15 >> 2] | 0; - } - i12 = HEAP8[i3 >> 0] | 0; - i11 = i12 & 255; - i10 = HEAP32[i14 >> 2] | 0; - HEAP32[i10 + 20 >> 2] = 103; - HEAP32[i10 + 24 >> 2] = i11; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i14 >> 2] | 0) + 4 >> 2] & 63](i14, 1); - if ((i12 + -1 & 255) > 3 | (i2 | 0) != ((i11 << 1) + 6 | 0)) { - i12 = HEAP32[i14 >> 2] | 0; - HEAP32[i12 + 20 >> 2] = 11; - FUNCTION_TABLE_vi[HEAP32[i12 >> 2] & 255](i14); - } - HEAP32[i14 + 328 >> 2] = i11; - i12 = i15 + 12 | 0; - i9 = i14 + 216 | 0; - i10 = i14 + 36 | 0; - i8 = 0; - while (1) { - i1 = i1 + -1 | 0; - i2 = i3 + 1 | 0; - i3 = (i1 | 0) == 0; - if (i8 >>> 0 >= i11 >>> 0) break; - if (i3) { - if (!(FUNCTION_TABLE_ii[HEAP32[i12 >> 2] & 127](i14) | 0)) { - i1 = 0; - break L7; - } - i1 = HEAP32[i16 >> 2] | 0; - i2 = HEAP32[i15 >> 2] | 0; - } - i1 = i1 + -1 | 0; - i3 = i2 + 1 | 0; - i7 = HEAPU8[i2 >> 0] | 0; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i12 >> 2] & 127](i14) | 0)) { - i1 = 0; - break L7; - } - i1 = HEAP32[i16 >> 2] | 0; - i3 = HEAP32[i15 >> 2] | 0; - } - i5 = HEAPU8[i3 >> 0] | 0; - i6 = HEAP32[i10 >> 2] | 0; - i2 = HEAP32[i9 >> 2] | 0; - i4 = 0; + } + $18 = $21 & 32768; + if (($16 | 0) <= 0) { + $10 = $13; + $9 = $10 & 65535; + $10 = $16 + 120 | $18; + $12 = $10 << 16; + $10 = $12; + $10 = $9 | $10; + $1 = $10; + $10 = $8; + $11 = 0; + $9 = $14; + $2 = $11 | $9; + $9 = $1; + __multf3($15 - -64 | 0, $7, $10, $2, $9, 0, 0, 0, 1065811968); + $9 = $15; + $11 = HEAP32[$9 + 72 >> 2]; + $3 = $11; + $12 = HEAP32[$9 + 76 >> 2]; + $4 = $12; + $12 = HEAP32[$9 + 64 >> 2]; + $7 = $12; + $11 = HEAP32[$9 + 68 >> 2]; + $8 = $11; + break label$1; + } + $11 = $13; + $12 = $11 & 65535; + $9 = $14; + $10 = 0; + $3 = $9 | $10; + $11 = $16 | $18; + $9 = $11 << 16; + $11 = $9; + $9 = $12; + $11 = $11 | $9; + $4 = $11; + } + $12 = $0; + HEAP32[$12 >> 2] = $7; + $11 = $8; + HEAP32[$12 + 4 >> 2] = $11; + HEAP32[$12 + 8 >> 2] = $3; + $11 = $4; + HEAP32[$12 + 12 >> 2] = $11; + __stack_pointer = $15 + 128 | 0; +} + +function decompress_smooth_data($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, $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, $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; + $8 = __stack_pointer - 128 | 0; + __stack_pointer = $8; + $41 = HEAP32[$0 + 332 >> 2] - 1 | 0; + $24 = HEAP32[$0 + 452 >> 2]; + label$1: { + label$2: { while (1) { - if ((i4 | 0) >= (i6 | 0)) { - i13 = 26; - break; + $4 = HEAP32[$0 + 152 >> 2]; + $5 = HEAP32[$0 + 144 >> 2]; + if (($4 | 0) < ($5 | 0)) { + break label$2; + } + $6 = HEAP32[$0 + 460 >> 2]; + if (HEAP32[$6 + 20 >> 2] | ($4 | 0) == ($5 | 0) & HEAPU32[$0 + 148 >> 2] > HEAP32[$0 + 156 >> 2] + !HEAP32[$0 + 412 >> 2] >>> 0) { + break label$2; + } + if (FUNCTION_TABLE[HEAP32[$6 >> 2]]($0) | 0) { + continue; } - if ((HEAP32[i2 >> 2] | 0) == (i7 | 0)) break; - i2 = i2 + 84 | 0; - i4 = i4 + 1 | 0; - } - if ((i13 | 0) == 26) { - i13 = 0; - i6 = HEAP32[i14 >> 2] | 0; - HEAP32[i6 + 20 >> 2] = 5; - HEAP32[i6 + 24 >> 2] = i7; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i14 >> 2] >> 2] & 255](i14); - } - HEAP32[i14 + 332 + (i8 << 2) >> 2] = i2; - i18 = i2 + 20 | 0; - HEAP32[i18 >> 2] = i5 >>> 4; - i4 = i2 + 24 | 0; - HEAP32[i4 >> 2] = i5 & 15; - i6 = HEAP32[i14 >> 2] | 0; - HEAP32[i6 + 24 >> 2] = i7; - HEAP32[i6 + 28 >> 2] = HEAP32[i18 >> 2]; - HEAP32[i6 + 32 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i6 + 20 >> 2] = 104; - FUNCTION_TABLE_vii[HEAP32[i6 + 4 >> 2] & 63](i14, 1); - i8 = i8 + 1 | 0; - } - if (i3) { - if (!(FUNCTION_TABLE_ii[HEAP32[i12 >> 2] & 127](i14) | 0)) { - i1 = 0; break; } - i1 = HEAP32[i16 >> 2] | 0; - i2 = HEAP32[i15 >> 2] | 0; + $5 = 0; + break label$1; } - i1 = i1 + -1 | 0; - i3 = i2 + 1 | 0; - i5 = i14 + 400 | 0; - HEAP32[i5 >> 2] = HEAPU8[i2 >> 0]; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i12 >> 2] & 127](i14) | 0)) { - i1 = 0; + if (HEAP32[$0 + 36 >> 2] > 0) { + $9 = HEAP32[$0 + 216 >> 2]; + while (1) { + label$7: { + if (!HEAP32[$9 + 52 >> 2]) { + break label$7; + } + $16 = HEAP32[$0 + 156 >> 2]; + $27 = $41 >>> 0 <= $16 >>> 0; + label$8: { + if (!$27) { + $5 = HEAP32[$9 + 12 >> 2]; + $4 = $5 << 1; + $2 = $5; + break label$8; + } + $5 = HEAP32[$9 + 12 >> 2]; + $4 = HEAPU32[$9 + 32 >> 2] % ($5 >>> 0) | 0; + $4 = $4 ? $4 : $5; + $2 = $4; + } + $25 = $2; + label$10: { + if ($16) { + $2 = (FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 32 >> 2]]($0, HEAP32[(($12 << 2) + $24 | 0) + 72 >> 2], Math_imul($16 - 1 | 0, $5), $4 + $5 | 0, 0) | 0) + (HEAP32[$9 + 12 >> 2] << 2) | 0; + break label$10; + } + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 32 >> 2]]($0, HEAP32[(($12 << 2) + $24 | 0) + 72 >> 2], 0, $4, 0) | 0; + } + if (($25 | 0) <= 0) { + break label$7; + } + $42 = $2; + $13 = $12 << 2; + $43 = HEAP32[($13 + HEAP32[$0 + 472 >> 2] | 0) + 4 >> 2]; + $44 = $25 - 1 | 0; + $5 = HEAP32[$24 + 112 >> 2] + Math_imul($12, 24) | 0; + $4 = HEAP32[$9 + 80 >> 2]; + $6 = HEAPU16[$4 + 4 >> 1]; + $28 = $6 << 8; + $29 = $6 << 7; + $6 = HEAPU16[$4 + 18 >> 1]; + $30 = $6 << 8; + $31 = $6 << 7; + $6 = HEAPU16[$4 >> 1]; + $45 = Math_imul($6, 5); + $10 = HEAPU16[$4 + 32 >> 1]; + $32 = $10 << 8; + $33 = $10 << 7; + $34 = Math_imul($6, 9); + $10 = HEAPU16[$4 + 16 >> 1]; + $35 = $10 << 8; + $36 = $10 << 7; + $4 = HEAPU16[$4 + 2 >> 1]; + $37 = $4 << 8; + $38 = $4 << 7; + $39 = Math_imul($6, 36); + $26 = HEAP32[$1 + $13 >> 2]; + $14 = 0; + while (1) { + $6 = ($14 << 2) + $42 | 0; + $4 = HEAP32[$6 >> 2]; + $17 = $14 | $16 ? HEAP32[$6 - 4 >> 2] : $4; + $18 = ($14 | 0) == ($44 | 0) & $27 ? $4 : HEAP32[$6 + 4 >> 2]; + $40 = HEAP32[$9 + 28 >> 2] - 1 | 0; + $6 = 0; + $19 = HEAP16[$18 >> 1]; + $10 = $19; + $15 = HEAP16[$4 >> 1]; + $20 = $15; + $21 = HEAP16[$17 >> 1]; + $22 = $21; + $13 = 0; + while (1) { + $23 = $22; + $22 = $21; + $7 = $20; + $20 = $15; + $46 = $10; + $10 = $19; + jcopy_block_row($4, $8, 1); + if ($6 >>> 0 < $40 >>> 0) { + $19 = HEAP16[$18 + 128 >> 1]; + $21 = HEAP16[$17 + 128 >> 1]; + $15 = HEAP16[$4 + 128 >> 1]; + } + $3 = HEAP32[$5 + 4 >> 2]; + if (!(HEAPU16[$8 + 2 >> 1] | !$3)) { + $2 = Math_imul($7 - $15 | 0, $39); + label$18: { + if (($2 | 0) >= 0) { + $2 = ($2 + $38 | 0) / ($37 | 0) | 0; + if (($3 | 0) <= 0) { + break label$18; + } + $3 = 1 << $3; + $2 = ($2 | 0) < ($3 | 0) ? $2 : $3 - 1 | 0; + break label$18; + } + $2 = ($38 - $2 | 0) / ($37 | 0) | 0; + $11 = 1 << $3; + $2 = 0 - (($3 | 0) > 0 ? ($2 | 0) < ($11 | 0) ? $2 : $11 - 1 | 0 : $2) | 0; + } + HEAP16[$8 + 2 >> 1] = $2; + } + $3 = HEAP32[$5 + 8 >> 2]; + if (!(HEAPU16[$8 + 16 >> 1] | !$3)) { + $2 = Math_imul($22 - $10 | 0, $39); + label$21: { + if (($2 | 0) >= 0) { + $2 = ($2 + $36 | 0) / ($35 | 0) | 0; + if (($3 | 0) <= 0) { + break label$21; + } + $3 = 1 << $3; + $2 = ($2 | 0) < ($3 | 0) ? $2 : $3 - 1 | 0; + break label$21; + } + $2 = ($36 - $2 | 0) / ($35 | 0) | 0; + $11 = 1 << $3; + $2 = 0 - (($3 | 0) > 0 ? ($2 | 0) < ($11 | 0) ? $2 : $11 - 1 | 0 : $2) | 0; + } + HEAP16[$8 + 16 >> 1] = $2; + } + $3 = HEAP32[$5 + 12 >> 2]; + if (!(HEAPU16[$8 + 32 >> 1] | !$3)) { + $2 = Math_imul(($22 - ($20 << 1) | 0) + $10 | 0, $34); + label$24: { + if (($2 | 0) >= 0) { + $2 = ($2 + $33 | 0) / ($32 | 0) | 0; + if (($3 | 0) <= 0) { + break label$24; + } + $3 = 1 << $3; + $2 = ($2 | 0) < ($3 | 0) ? $2 : $3 - 1 | 0; + break label$24; + } + $2 = ($33 - $2 | 0) / ($32 | 0) | 0; + $11 = 1 << $3; + $2 = 0 - (($3 | 0) > 0 ? ($2 | 0) < ($11 | 0) ? $2 : $11 - 1 | 0 : $2) | 0; + } + HEAP16[$8 + 32 >> 1] = $2; + } + $3 = HEAP32[$5 + 16 >> 2]; + if (!(HEAPU16[$8 + 18 >> 1] | !$3)) { + $2 = Math_imul(($23 - ($21 + $46 | 0) | 0) + $19 | 0, $45); + label$27: { + if (($2 | 0) >= 0) { + $2 = ($2 + $31 | 0) / ($30 | 0) | 0; + if (($3 | 0) <= 0) { + break label$27; + } + $3 = 1 << $3; + $2 = ($2 | 0) < ($3 | 0) ? $2 : $3 - 1 | 0; + break label$27; + } + $2 = ($31 - $2 | 0) / ($30 | 0) | 0; + $23 = 1 << $3; + $2 = 0 - (($3 | 0) > 0 ? ($2 | 0) < ($23 | 0) ? $2 : $23 - 1 | 0 : $2) | 0; + } + HEAP16[$8 + 18 >> 1] = $2; + } + $3 = HEAP32[$5 + 20 >> 2]; + if (!(HEAPU16[$8 + 4 >> 1] | !$3)) { + $7 = Math_imul(($7 - ($20 << 1) | 0) + $15 | 0, $34); + label$30: { + if (($7 | 0) >= 0) { + $7 = ($7 + $29 | 0) / ($28 | 0) | 0; + if (($3 | 0) <= 0) { + break label$30; + } + $3 = 1 << $3; + $7 = ($3 | 0) > ($7 | 0) ? $7 : $3 - 1 | 0; + break label$30; + } + $7 = ($29 - $7 | 0) / ($28 | 0) | 0; + $2 = 1 << $3; + $7 = 0 - (($3 | 0) > 0 ? ($2 | 0) > ($7 | 0) ? $7 : $2 - 1 | 0 : $7) | 0; + } + HEAP16[$8 + 4 >> 1] = $7; + } + FUNCTION_TABLE[$43 | 0]($0, $9, $8, $26, $13); + $18 = $18 + 128 | 0; + $17 = $17 + 128 | 0; + $4 = $4 + 128 | 0; + $13 = HEAP32[$9 + 36 >> 2] + $13 | 0; + $6 = $6 + 1 | 0; + if ($40 >>> 0 >= $6 >>> 0) { + continue; + } + break; + } + $26 = (HEAP32[$9 + 40 >> 2] << 2) + $26 | 0; + $14 = $14 + 1 | 0; + if (($25 | 0) != ($14 | 0)) { + continue; + } + break; + } + } + $9 = $9 + 88 | 0; + $12 = $12 + 1 | 0; + if (($12 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; + } break; } - i1 = HEAP32[i16 >> 2] | 0; - i3 = HEAP32[i15 >> 2] | 0; } - i2 = i1 + -1 | 0; - i1 = i3 + 1 | 0; - i4 = i14 + 404 | 0; - HEAP32[i4 >> 2] = HEAPU8[i3 >> 0]; - if (!i2) { - if (!(FUNCTION_TABLE_ii[HEAP32[i12 >> 2] & 127](i14) | 0)) { - i1 = 0; - break; + $5 = HEAP32[$0 + 156 >> 2] + 1 | 0; + HEAP32[$0 + 156 >> 2] = $5; + $5 = HEAPU32[$0 + 332 >> 2] > $5 >>> 0 ? 3 : 4; + } + __stack_pointer = $8 + 128 | 0; + return $5 | 0; +} + +function vision__BinarykMedoids_96___assign_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20char_20const__2c_20int_2c_20int_20const__2c_20int_2c_20int_20const__2c_20int_29($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + label$1: { + label$2: { + label$3: { + label$4: { + if ((std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($1) | 0) == ($5 | 0)) { + if (($3 | 0) <= 0) { + break label$4; + } + if (($3 | 0) < ($5 | 0)) { + break label$3; + } + if (($7 | 0) <= 0) { + break label$2; + } + $11 = ($5 | 0) > 0 ? $5 : 0; + label$6: while (1) { + if (($8 | 0) == ($11 | 0)) { + break label$1; + } + $12 = ($8 << 2) + $4 | 0; + $5 = 0; + $3 = std____2__numeric_limits_unsigned_20int___max_28_29(); + while (1) if (($5 | 0) == ($7 | 0)) { + $8 = $8 + 1 | 0; + $9 = $3 + $9 | 0; + continue label$6; + } else { + $10 = ($5 << 2) + $6 | 0; + $0 = unsigned_20int_20vision__HammingDistance_96__28unsigned_20char_20const__2c_20unsigned_20char_20const__29(Math_imul(HEAP32[$12 >> 2], 96) + $2 | 0, Math_imul(HEAP32[(HEAP32[$10 >> 2] << 2) + $4 >> 2], 96) + $2 | 0); + if ($0 >>> 0 < $3 >>> 0) { + $3 = HEAP32[$10 >> 2]; + wasm2js_i32$0 = std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29($1, $8), + wasm2js_i32$1 = $3, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $3 = $0; + } + $5 = $5 + 1 | 0; + continue; + } + } + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 16224), 18915), 9176), 198), 10040), 20944), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 19508), 18915), 9176), 199), 10040), 19649), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 19929), 18915), 9176), 200), 10040), 20069), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 21490), 18915), 9176), 201), 10040), 21529), 16); + abort(); + abort(); + } + return $9; +} + +function finish_pass1($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $18 = HEAP32[$0 + 484 >> 2]; + HEAP32[$0 + 136 >> 2] = HEAP32[$18 + 16 >> 2]; + $9 = HEAP32[$18 + 20 >> 2]; + $10 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, $9 << 5) | 0; + HEAP32[$10 + 16 >> 2] = 0; + HEAP32[$10 + 20 >> 2] = 31; + HEAP32[$10 + 8 >> 2] = 0; + HEAP32[$10 + 12 >> 2] = 63; + HEAP32[$10 >> 2] = 0; + HEAP32[$10 + 4 >> 2] = 31; + update_box($0, $10); + $11 = 1; + label$1: { + label$2: { + if (($9 | 0) < 2) { + break label$2; } - i2 = HEAP32[i16 >> 2] | 0; - i1 = HEAP32[i15 >> 2] | 0; - } - i18 = HEAPU8[i1 >> 0] | 0; - i12 = i14 + 408 | 0; - HEAP32[i12 >> 2] = i18 >>> 4; - i13 = i14 + 412 | 0; - HEAP32[i13 >> 2] = i18 & 15; - i18 = HEAP32[i14 >> 2] | 0; - HEAP32[i18 + 24 >> 2] = HEAP32[i5 >> 2]; - HEAP32[i18 + 28 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i18 + 32 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i18 + 36 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i18 + 20 >> 2] = 105; - FUNCTION_TABLE_vii[HEAP32[i18 + 4 >> 2] & 63](i14, 1); - HEAP32[(HEAP32[i17 >> 2] | 0) + 20 >> 2] = 0; - i18 = i14 + 144 | 0; - HEAP32[i18 >> 2] = (HEAP32[i18 >> 2] | 0) + 1; - HEAP32[i15 >> 2] = i1 + 1; - HEAP32[i16 >> 2] = i2 + -1; - i1 = 1; - } while (0); - return i1 | 0; -} - -function __ZN6vision21HoughSimilarityVoting11voteAtIndexEij(i15, i14, i2) { - i15 = i15 | 0; - i14 = i14 | 0; - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, d5 = 0.0, d6 = 0.0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i16 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i1 = i17 + 8 | 0; - i10 = i17; - if ((i14 | 0) <= -1) { - i16 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30875) | 0, 30431) | 0, 33528) | 0, 290) | 0, 33535) | 0, 30909) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i16 + (HEAP32[(HEAP32[i16 >> 2] | 0) + -12 >> 2] | 0) | 0); - i13 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i13 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i13 >> 2] | 0) + 28 >> 2] & 63](i13, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i16, i13) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i16) | 0; - _abort(); - } - i16 = i15 + 92 | 0; - HEAP32[i1 >> 2] = i14; - i3 = __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE4findIjEENS_15__hash_iteratorIPNS_11__hash_nodeIS2_PvEEEERKT_(i16, i1) | 0; - if (!i3) { - HEAP32[i10 >> 2] = i14; - HEAP32[i10 + 4 >> 2] = i2; - i12 = i15 + 96 | 0; - i7 = HEAP32[i12 >> 2] | 0; - i13 = (i7 | 0) == 0; - L6 : do if (!i13) { - i8 = i7 + -1 | 0; - i9 = (i8 & i7 | 0) == 0; - if (!i9) if (i7 >>> 0 > i14 >>> 0) i2 = i14; else i2 = (i14 >>> 0) % (i7 >>> 0) | 0; else i2 = i8 & i14; - i3 = HEAP32[(HEAP32[i16 >> 2] | 0) + (i2 << 2) >> 2] | 0; - if (!i3) i11 = 19; else do { - i3 = HEAP32[i3 >> 2] | 0; - if (!i3) { - i11 = 19; - break L6; - } - i4 = HEAP32[i3 + 4 >> 2] | 0; - if ((i4 | 0) != (i14 | 0)) { - if (!i9) { - if (i4 >>> 0 >= i7 >>> 0) i4 = (i4 >>> 0) % (i7 >>> 0) | 0; - } else i4 = i4 & i8; - if ((i4 | 0) != (i2 | 0)) { - i11 = 19; - break L6; - } - } - } while ((HEAP32[i3 + 8 >> 2] | 0) != (i14 | 0)); - } else { - i2 = 0; - i11 = 19; - } while (0); - if ((i11 | 0) == 19) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE21__construct_node_hashINS_4pairIjjEEJEEENS_10unique_ptrINS_11__hash_nodeIS2_PvEENS_22__hash_node_destructorINSB_ISK_EEEEEEmOT_DpOT0_(i1, i16, i14, i10); - i8 = i15 + 104 | 0; - d5 = +(((HEAP32[i8 >> 2] | 0) + 1 | 0) >>> 0); - d6 = +HEAPF32[i15 + 108 >> 2]; - do if (i13 | d6 * +(i7 >>> 0) < d5) { - i2 = i7 << 1 | (i7 >>> 0 < 3 | (i7 + -1 & i7 | 0) != 0) & 1; - i3 = ~~+Math_ceil(+(d5 / d6)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE6rehashEm(i16, i2 >>> 0 < i3 >>> 0 ? i3 : i2); - i2 = HEAP32[i12 >> 2] | 0; - i3 = i2 + -1 | 0; - if (!(i3 & i2)) { - i7 = i2; - i2 = i3 & i14; - break; + while (1) { + label$4: { + label$5: { + label$6: { + if ($11 << 1 <= ($9 | 0)) { + $8 = $11 & 1; + if ($14) { + break label$6; + } + $2 = 0; + $3 = 0; + $1 = $10; + break label$5; + } + $8 = $11 & 3; + $7 = 0; + $2 = 0; + $3 = 0; + $1 = $10; + if ($14 >>> 0 >= 3) { + $13 = $11 & 2147483644; + $4 = 0; + while (1) { + $6 = HEAP32[$1 + 24 >> 2]; + $5 = ($6 | 0) > ($3 | 0); + $12 = $5 ? $1 : $2; + $2 = HEAP32[$1 + 56 >> 2]; + $3 = $5 ? $6 : $3; + $6 = ($2 | 0) > ($3 | 0); + $2 = $6 ? $2 : $3; + $5 = HEAP32[$1 + 88 >> 2]; + $3 = ($2 | 0) < ($5 | 0); + $12 = $3 ? $1 - -64 | 0 : $6 ? $1 + 32 | 0 : $12; + $3 = $3 ? $5 : $2; + $6 = HEAP32[$1 + 120 >> 2]; + $5 = ($3 | 0) < ($6 | 0); + $2 = $5 ? $1 + 96 | 0 : $12; + $3 = $5 ? $6 : $3; + $1 = $1 + 128 | 0; + $4 = $4 + 4 | 0; + if (($13 | 0) != ($4 | 0)) { + continue; + } + break; + } + } + if (!$8) { + break label$4; + } + while (1) { + $4 = HEAP32[$1 + 24 >> 2]; + $6 = ($4 | 0) > ($3 | 0); + $2 = $6 ? $1 : $2; + $3 = $6 ? $4 : $3; + $1 = $1 + 32 | 0; + $7 = $7 + 1 | 0; + if (($7 | 0) != ($8 | 0)) { + continue; + } + break; + } + break label$4; + } + $6 = $11 & 2147483646; + $2 = 0; + $3 = 0; + $1 = $10; + $7 = 0; + while (1) { + $4 = HEAP32[$1 + 28 >> 2]; + if (($4 | 0) > ($3 | 0)) { + $5 = HEAP32[$1 + 24 >> 2] > 0; + $2 = $5 ? $1 : $2; + $3 = $5 ? $4 : $3; + } + $4 = HEAP32[$1 + 60 >> 2]; + if (($4 | 0) > ($3 | 0)) { + $5 = HEAP32[$1 + 56 >> 2] > 0; + $2 = $5 ? $1 + 32 | 0 : $2; + $3 = $5 ? $4 : $3; + } + $1 = $1 - -64 | 0; + $7 = $7 + 2 | 0; + if (($7 | 0) != ($6 | 0)) { + continue; + } + break; + } + } + if (!$8 | HEAP32[$1 + 28 >> 2] <= ($3 | 0)) { + break label$4; + } + $2 = HEAP32[$1 + 24 >> 2] > 0 ? $1 : $2; + } + if (!$2) { + break label$2; + } + $1 = ($11 << 5) + $10 | 0; + HEAP32[$1 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 12 >> 2] = HEAP32[$2 + 12 >> 2]; + HEAP32[$1 + 20 >> 2] = HEAP32[$2 + 20 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$1 + 8 >> 2] = HEAP32[$2 + 8 >> 2]; + HEAP32[$1 + 16 >> 2] = HEAP32[$2 + 16 >> 2]; + label$14: { + label$15: { + label$16: { + label$17: { + label$18: { + $4 = HEAP32[$2 + 4 >> 2]; + $6 = HEAP32[$2 >> 2]; + $3 = $4 - $6 << 4; + $5 = HEAP32[$2 + 12 >> 2]; + $8 = HEAP32[$2 + 8 >> 2]; + $7 = Math_imul($5 - $8 | 0, 12); + $13 = HEAP32[$2 + 20 >> 2]; + $12 = HEAP32[$2 + 16 >> 2]; + switch (($13 - $12 << 3 > ((($3 | 0) > ($7 | 0) ? $3 : $7) | 0) ? 2 : ($3 | 0) <= ($7 | 0)) | 0) { + case 2: + break label$16; + + case 1: + break label$17; + + case 0: + break label$18; + + default: + break label$14; + } + } + $3 = ($4 + $6 | 0) / 2 | 0; + HEAP32[$2 + 4 >> 2] = $3; + $7 = $1; + break label$15; + } + $3 = ($5 + $8 | 0) / 2 | 0; + HEAP32[$2 + 12 >> 2] = $3; + $7 = $1 + 8 | 0; + break label$15; + } + $3 = ($13 + $12 | 0) / 2 | 0; + HEAP32[$2 + 20 >> 2] = $3; + $7 = $1 + 16 | 0; + } + HEAP32[$7 >> 2] = $3 + 1; } - if (i2 >>> 0 > i14 >>> 0) { - i7 = i2; - i2 = i14; - } else { - i7 = i2; - i2 = (i14 >>> 0) % (i2 >>> 0) | 0; - } - } while (0); - i3 = HEAP32[(HEAP32[i16 >> 2] | 0) + (i2 << 2) >> 2] | 0; - if (!i3) { - i4 = i15 + 100 | 0; - HEAP32[HEAP32[i1 >> 2] >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = HEAP32[i1 >> 2]; - HEAP32[(HEAP32[i16 >> 2] | 0) + (i2 << 2) >> 2] = i4; - i4 = HEAP32[i1 >> 2] | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (i2) { - i2 = HEAP32[i2 + 4 >> 2] | 0; - i3 = i7 + -1 | 0; - if (i3 & i7) { - if (i2 >>> 0 >= i7 >>> 0) i2 = (i2 >>> 0) % (i7 >>> 0) | 0; - } else i2 = i2 & i3; - HEAP32[(HEAP32[i16 >> 2] | 0) + (i2 << 2) >> 2] = i4; + update_box($0, $2); + update_box($0, $1); + $14 = $14 + 1 | 0; + $11 = $11 + 1 | 0; + if (($11 | 0) != ($9 | 0)) { + continue; } - } else { - HEAP32[HEAP32[i1 >> 2] >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i1 >> 2]; + break; + } + $11 = $9; + if (($9 | 0) <= 0) { + break label$1; } - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - HEAP32[i1 >> 2] = 0; - } - } else { - i16 = i3 + 12 | 0; - HEAP32[i16 >> 2] = (HEAP32[i16 >> 2] | 0) + i2; - } - STACKTOP = i17; - return; -} - -function _arVecTridiagonalize(i15, i13, i8) { - i15 = i15 | 0; - i13 = i13 | 0; - i8 = i8 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, d5 = 0.0, i6 = 0, i7 = 0, i9 = 0, d10 = 0.0, d11 = 0.0, i12 = 0, i14 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0; - i22 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i19 = i22 + 8 | 0; - i20 = i22; - i21 = HEAP32[i15 + 8 >> 2] | 0; - L1 : do if (((i21 | 0) == (HEAP32[i15 + 4 >> 2] | 0) ? (i21 | 0) == (HEAP32[i13 + 4 >> 2] | 0) : 0) ? (i21 | 0) == ((HEAP32[i8 + 4 >> 2] | 0) + 1 | 0) : 0) { - i16 = i21 + -2 | 0; - i17 = i19 + 4 | 0; - i18 = i20 + 4 | 0; - i7 = 0; - while (1) { - if ((i7 | 0) >= (i16 | 0)) break; - i9 = (HEAP32[i15 >> 2] | 0) + ((Math_imul(i7, i21) | 0) << 3) | 0; - HEAPF64[(HEAP32[i13 >> 2] | 0) + (i7 << 3) >> 3] = +HEAPF64[i9 + (i7 << 3) >> 3]; - i4 = i21 - i7 + -1 | 0; - HEAP32[i17 >> 2] = i4; - i12 = i7 + 1 | 0; - i6 = i9 + (i12 << 3) | 0; - HEAP32[i19 >> 2] = i6; - d11 = +_arVecHousehold(i19); - HEAPF64[(HEAP32[i8 >> 2] | 0) + (i7 << 3) >> 3] = d11; - L8 : do if (!(d11 == 0.0)) { - i3 = i12; - while (1) { - if ((i3 | 0) >= (i21 | 0)) break; - i1 = i12; - d5 = 0.0; - while (1) { - if (i1 >>> 0 >= i3 >>> 0) break; - i2 = (HEAP32[i15 >> 2] | 0) + ((Math_imul(i1, i21) | 0) + i3 << 3) | 0; - d11 = d5 + +HEAPF64[i2 >> 3] * +HEAPF64[i9 + (i1 << 3) >> 3]; - i1 = i1 + 1 | 0; - d5 = d11; - } - i2 = Math_imul(i3, i21) | 0; - i1 = i3; - while (1) { - if ((i1 | 0) >= (i21 | 0)) break; - d11 = d5 + +HEAPF64[(HEAP32[i15 >> 2] | 0) + (i1 + i2 << 3) >> 3] * +HEAPF64[i9 + (i1 << 3) >> 3]; - i1 = i1 + 1 | 0; - d5 = d11; - } - HEAPF64[(HEAP32[i13 >> 2] | 0) + (i3 << 3) >> 3] = d5; - i3 = i3 + 1 | 0; - } - HEAP32[i18 >> 2] = i4; - HEAP32[i17 >> 2] = i4; - HEAP32[i19 >> 2] = i6; - HEAP32[i20 >> 2] = (HEAP32[i13 >> 2] | 0) + (i12 << 3); - d11 = +_arVecInnerproduct(i19, i20) * .5; - i1 = i21; - while (1) { - i1 = i1 + -1 | 0; - if ((i1 | 0) <= (i7 | 0)) break L8; - d5 = +HEAPF64[i9 + (i1 << 3) >> 3]; - i3 = HEAP32[i13 >> 2] | 0; - i4 = i3 + (i1 << 3) | 0; - d10 = +HEAPF64[i4 >> 3] - d11 * d5; - HEAPF64[i4 >> 3] = d10; - i4 = Math_imul(i1, i21) | 0; - i2 = i1; - while (1) { - if ((i2 | 0) >= (i21 | 0)) break; - i6 = (HEAP32[i15 >> 2] | 0) + (i2 + i4 << 3) | 0; - HEAPF64[i6 >> 3] = +HEAPF64[i6 >> 3] - (d5 * +HEAPF64[i3 + (i2 << 3) >> 3] + d10 * +HEAPF64[i9 + (i2 << 3) >> 3]); - i2 = i2 + 1 | 0; - } - } - } while (0); - i7 = i12; - } - if ((i21 | 0) <= 1) if ((i21 | 0) == 1) { - i3 = 0; - i1 = HEAP32[i15 >> 2] | 0; - i2 = HEAP32[i13 >> 2] | 0; - i14 = 27; - } else i4 = i21; else { - i1 = HEAP32[i15 >> 2] | 0; - i14 = Math_imul(i16, i21) | 0; - i2 = HEAP32[i13 >> 2] | 0; - HEAPF64[i2 + (i16 << 3) >> 3] = +HEAPF64[i1 + (i14 + i16 << 3) >> 3]; - i3 = i21 + -1 | 0; - HEAPF64[(HEAP32[i8 >> 2] | 0) + (i16 << 3) >> 3] = +HEAPF64[i1 + (i3 + i14 << 3) >> 3]; - i14 = 27; - } - if ((i14 | 0) == 27) { - i1 = i1 + ((Math_imul(i3, i21) | 0) + i3 << 3) | 0; - i4 = i21; - d5 = +HEAPF64[i1 >> 3]; - i1 = i2 + (i3 << 3) | 0; - i14 = 28; } while (1) { - if ((i14 | 0) == 28) HEAPF64[i1 >> 3] = d5; - i8 = i4 + -1 | 0; - if ((i4 | 0) <= 0) { - i1 = 0; - break L1; - } - i9 = (HEAP32[i15 >> 2] | 0) + ((Math_imul(i8, i21) | 0) << 3) | 0; - L42 : do if ((i4 | 0) <= (i16 | 0)) { - i3 = i21 - i8 + -1 | 0; - i6 = i9 + (i4 << 3) | 0; - i1 = i4; + $4 = 0; + $6 = 0; + $5 = 0; + $8 = 0; + $1 = ($16 << 5) + $10 | 0; + $17 = HEAP32[$1 >> 2]; + $19 = HEAP32[$1 + 4 >> 2]; + if (($17 | 0) <= ($19 | 0)) { + $20 = HEAP32[$1 + 8 >> 2]; + $22 = HEAP32[HEAP32[$0 + 484 >> 2] + 24 >> 2]; + $15 = HEAP32[$1 + 16 >> 2]; + $23 = $15 + 1 | 0; + $24 = $15 << 3 | 4; + $9 = HEAP32[$1 + 20 >> 2]; + $25 = ($9 - $15 | 0) + 1 & 1; + $21 = HEAP32[$1 + 12 >> 2]; while (1) { - if ((i1 | 0) >= (i21 | 0)) break L42; - HEAP32[i18 >> 2] = i3; - HEAP32[i17 >> 2] = i3; - HEAP32[i19 >> 2] = i6; - i7 = Math_imul(i1, i21) | 0; - HEAP32[i20 >> 2] = (HEAP32[i15 >> 2] | 0) + (i7 + i4 << 3); - d5 = +_arVecInnerproduct(i19, i20); - i2 = i4; - while (1) { - if ((i2 | 0) >= (i21 | 0)) break; - i14 = (HEAP32[i15 >> 2] | 0) + (i2 + i7 << 3) | 0; - HEAPF64[i14 >> 3] = +HEAPF64[i14 >> 3] - d5 * +HEAPF64[i9 + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; + if (($20 | 0) <= ($21 | 0)) { + $14 = $17 << 3 | 4; + $26 = HEAP32[($17 << 2) + $22 >> 2]; + $1 = $20; + while (1) { + $12 = $1; + label$24: { + if (($9 | 0) < ($15 | 0)) { + break label$24; + } + $2 = (($12 << 6) + $26 | 0) + ($15 << 1) | 0; + $13 = $12 << 2 | 2; + label$25: { + if (!$25) { + $1 = $2; + $2 = $15; + break label$25; + } + $1 = $2 + 2 | 0; + $2 = HEAPU16[$2 >> 1]; + if ($2) { + $8 = Math_imul($2, $24) + $8 | 0; + $5 = Math_imul($2, $13) + $5 | 0; + $6 = Math_imul($2, $14) + $6 | 0; + $4 = $2 + $4 | 0; + } + $2 = $23; + } + if (($9 | 0) == ($15 | 0)) { + break label$24; + } + while (1) { + $3 = HEAPU16[$1 >> 1]; + if ($3) { + $5 = Math_imul($3, $13) + $5 | 0; + $6 = Math_imul($3, $14) + $6 | 0; + $8 = Math_imul($2 << 3 | 4, $3) + $8 | 0; + $4 = $3 + $4 | 0; + } + $7 = $2 + 1 | 0; + $3 = HEAPU16[$1 + 2 >> 1]; + if ($3) { + $5 = Math_imul($3, $13) + $5 | 0; + $6 = Math_imul($3, $14) + $6 | 0; + $8 = Math_imul($7 << 3 | 4, $3) + $8 | 0; + $4 = $3 + $4 | 0; + } + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + if (($9 | 0) != ($7 | 0)) { + continue; + } + break; + } + } + $1 = $12 + 1 | 0; + if (($12 | 0) != ($21 | 0)) { + continue; + } + break; + } } - i1 = i1 + 1 | 0; + $1 = ($17 | 0) != ($19 | 0); + $17 = $17 + 1 | 0; + if ($1) { + continue; + } + break; } - } while (0); - i1 = 0; - while (1) { - if ((i1 | 0) >= (i21 | 0)) break; - HEAPF64[i9 + (i1 << 3) >> 3] = 0.0; - i1 = i1 + 1 | 0; - } - i4 = i8; - d5 = 1.0; - i1 = i9 + (i8 << 3) | 0; - i14 = 28; - } - } else i1 = -1; while (0); - STACKTOP = i22; - return i1 | 0; -} - -function __ZN6vision21HoughSimilarityVoting19autoAdjustXYNumBinsEPKfS2_i(i5, i6, i7, i8) { - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - var i1 = 0, d2 = 0.0, i3 = 0, i4 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, d13 = 0.0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i10 + 12 | 0; - i9 = i10; - i3 = i5 + 4 | 0; - i4 = __ZN6vision4max2IiEET_S1_S1_(HEAP32[i5 >> 2] | 0, HEAP32[i3 >> 2] | 0) | 0; - __ZNSt3__26vectorIfNS_9allocatorIfEEEC2Em(i9, i8); - if ((i8 | 0) <= 0) { - i11 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31456) | 0, 31488) | 0, 33528) | 0, 208) | 0, 33535) | 0, 31613) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i11 + (HEAP32[(HEAP32[i11 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i11, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i11) | 0; - _abort(); - } - if ((HEAP32[i5 >> 2] | 0) <= 0) { - i12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31635) | 0, 31488) | 0, 33528) | 0, 209) | 0, 33535) | 0, 31677) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i12 + (HEAP32[(HEAP32[i12 >> 2] | 0) + -12 >> 2] | 0) | 0); - i11 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i11 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 63](i11, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i12, i11) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i12) | 0; - _abort(); - } - if ((HEAP32[i3 >> 2] | 0) <= 0) { - i12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31700) | 0, 31488) | 0, 33528) | 0, 210) | 0, 33535) | 0, 31743) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i12 + (HEAP32[(HEAP32[i12 >> 2] | 0) + -12 >> 2] | 0) | 0); - i11 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i11 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 63](i11, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i12, i11) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i12) | 0; - _abort(); - } - d2 = +(i4 | 0); - i1 = 0; - while (1) { - if ((i1 | 0) == (i8 | 0)) break; - i12 = i1 << 2; - d13 = +__ZN6vision12SafeDivisionIfEET_S1_S1_(+HEAPF32[i6 + (i12 << 2) + 12 >> 2], +HEAPF32[i7 + (i12 << 2) + 12 >> 2]) * d2; - HEAPF32[(HEAP32[i9 >> 2] | 0) + (i1 << 2) >> 2] = d13; - i1 = i1 + 1 | 0; - } - i12 = HEAP32[i9 >> 2] | 0; - d13 = +__ZN6vision10FastMedianIfEET_PS1_i(i12, (HEAP32[i9 + 4 >> 2] | 0) - i12 >> 2) * .25; - i12 = __ZN6vision4max2IiEET_S1_S1_(5, ~~+Math_ceil(+((+HEAPF32[i5 + 24 >> 2] - +HEAPF32[i5 + 20 >> 2]) / d13))) | 0; - i11 = i5 + 52 | 0; - HEAP32[i11 >> 2] = i12; - i12 = __ZN6vision4max2IiEET_S1_S1_(5, ~~+Math_ceil(+((+HEAPF32[i5 + 32 >> 2] - +HEAPF32[i5 + 28 >> 2]) / d13))) | 0; - HEAP32[i5 + 56 >> 2] = i12; - i12 = Math_imul(HEAP32[i11 >> 2] | 0, i12) | 0; - HEAP32[i5 + 84 >> 2] = i12; - i12 = Math_imul(HEAP32[i5 + 60 >> 2] | 0, i12) | 0; - HEAP32[i5 + 88 >> 2] = i12; - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev(i9); - STACKTOP = i10; - return; -} - -function _update_box(i1, i18) { - i1 = i1 | 0; - i18 = i18 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0; - i17 = HEAP32[(HEAP32[i1 + 460 >> 2] | 0) + 24 >> 2] | 0; - i5 = HEAP32[i18 >> 2] | 0; - i7 = i18 + 4 | 0; - i9 = HEAP32[i7 >> 2] | 0; - i12 = i18 + 8 | 0; - i11 = HEAP32[i12 >> 2] | 0; - i13 = i18 + 12 | 0; - i10 = HEAP32[i13 >> 2] | 0; - i14 = i18 + 16 | 0; - i8 = HEAP32[i14 >> 2] | 0; - i15 = i18 + 20 | 0; - i16 = HEAP32[i15 >> 2] | 0; - L1 : do if ((i9 | 0) > (i5 | 0)) { - i6 = i5; - L3 : while (1) { - if ((i6 | 0) > (i9 | 0)) { - i6 = i5; - break L1; - } - i4 = i17 + (i6 << 2) | 0; - i2 = i11; - while (1) { - if ((i2 | 0) > (i10 | 0)) break; - i1 = (HEAP32[i4 >> 2] | 0) + (i2 << 6) + (i8 << 1) | 0; - i3 = i8; - while (1) { - if ((i3 | 0) > (i16 | 0)) break; - if (HEAP16[i1 >> 1] | 0) break L3; - i1 = i1 + 2 | 0; - i3 = i3 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - i6 = i6 + 1 | 0; - } - HEAP32[i18 >> 2] = i6; - } else i6 = i5; while (0); - L17 : do if ((i9 | 0) > (i6 | 0)) { - i2 = i9; - L19 : while (1) { - if ((i2 | 0) < (i6 | 0)) break L17; - i5 = i17 + (i2 << 2) | 0; - i3 = i11; - while (1) { - if ((i3 | 0) > (i10 | 0)) break; - i1 = (HEAP32[i5 >> 2] | 0) + (i3 << 6) + (i8 << 1) | 0; - i4 = i8; - while (1) { - if ((i4 | 0) > (i16 | 0)) break; - if (HEAP16[i1 >> 1] | 0) break L19; - i1 = i1 + 2 | 0; - i4 = i4 + 1 | 0; - } - i3 = i3 + 1 | 0; - } - i2 = i2 + -1 | 0; - } - HEAP32[i7 >> 2] = i2; - i9 = i2; - } while (0); - L33 : do if ((i10 | 0) > (i11 | 0)) { - i3 = i11; - L35 : while (1) { - if ((i3 | 0) > (i10 | 0)) break L33; - i2 = i6; - while (1) { - if ((i2 | 0) > (i9 | 0)) break; - i1 = (HEAP32[i17 + (i2 << 2) >> 2] | 0) + (i3 << 6) + (i8 << 1) | 0; - i4 = i8; - while (1) { - if ((i4 | 0) > (i16 | 0)) break; - if (HEAP16[i1 >> 1] | 0) break L35; - i1 = i1 + 2 | 0; - i4 = i4 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - i3 = i3 + 1 | 0; - } - HEAP32[i12 >> 2] = i3; - i11 = i3; - } while (0); - L49 : do if ((i10 | 0) > (i11 | 0)) { - i3 = i10; - L51 : while (1) { - if ((i3 | 0) < (i11 | 0)) break L49; - i2 = i6; - while (1) { - if ((i2 | 0) > (i9 | 0)) break; - i1 = (HEAP32[i17 + (i2 << 2) >> 2] | 0) + (i3 << 6) + (i8 << 1) | 0; - i4 = i8; - while (1) { - if ((i4 | 0) > (i16 | 0)) break; - if (HEAP16[i1 >> 1] | 0) break L51; - i1 = i1 + 2 | 0; - i4 = i4 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - i3 = i3 + -1 | 0; - } - HEAP32[i13 >> 2] = i3; - i10 = i3; - } while (0); - L65 : do if ((i16 | 0) > (i8 | 0)) { - i4 = i8; - L67 : while (1) { - if ((i4 | 0) > (i16 | 0)) break L65; - i2 = i6; - while (1) { - if ((i2 | 0) > (i9 | 0)) break; - i1 = (HEAP32[i17 + (i2 << 2) >> 2] | 0) + (i11 << 6) + (i4 << 1) | 0; - i3 = i11; - while (1) { - if ((i3 | 0) > (i10 | 0)) break; - if (HEAP16[i1 >> 1] | 0) break L67; - i1 = i1 + 64 | 0; - i3 = i3 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - i4 = i4 + 1 | 0; - } - HEAP32[i14 >> 2] = i4; - i8 = i4; - } while (0); - L81 : do if ((i16 | 0) > (i8 | 0)) { - i4 = i16; - L83 : while (1) { - if ((i4 | 0) < (i8 | 0)) { - i4 = i16; - break L81; - } - i2 = i6; - while (1) { - if ((i2 | 0) > (i9 | 0)) break; - i1 = (HEAP32[i17 + (i2 << 2) >> 2] | 0) + (i11 << 6) + (i4 << 1) | 0; - i3 = i11; - while (1) { - if ((i3 | 0) > (i10 | 0)) break; - if (HEAP16[i1 >> 1] | 0) break L83; - i1 = i1 + 64 | 0; - i3 = i3 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - i4 = i4 + -1 | 0; - } - HEAP32[i15 >> 2] = i4; - } else i4 = i16; while (0); - i16 = i9 - i6 << 4; - i15 = (i10 - i11 | 0) * 12 | 0; - i1 = i4 - i8 << 3; - i1 = (Math_imul(i15, i15) | 0) + (Math_imul(i16, i16) | 0) + (Math_imul(i1, i1) | 0) | 0; - HEAP32[i18 + 24 >> 2] = i1; - i1 = 0; - while (1) { - if ((i6 | 0) > (i9 | 0)) break; - i7 = i17 + (i6 << 2) | 0; - i5 = i11; - while (1) { - if ((i5 | 0) > (i10 | 0)) break; - i2 = (HEAP32[i7 >> 2] | 0) + (i5 << 6) + (i8 << 1) | 0; - i3 = i8; - while (1) { - if ((i3 | 0) > (i4 | 0)) break; - i1 = i1 + ((HEAP16[i2 >> 1] | 0) != 0 & 1) | 0; - i2 = i2 + 2 | 0; - i3 = i3 + 1 | 0; - } - i5 = i5 + 1 | 0; - } - i6 = i6 + 1 | 0; - } - HEAP32[i18 + 28 >> 2] = i1; - return; -} - -function ___udivmoddi4(i5, i6, i8, i11, i13) { - i5 = i5 | 0; - i6 = i6 | 0; - i8 = i8 | 0; - i11 = i11 | 0; - i13 = i13 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0, i9 = 0, i10 = 0, i12 = 0, i14 = 0, i15 = 0; - i9 = i5; - i4 = i6; - i7 = i4; - i2 = i8; - i12 = i11; - i3 = i12; - if (!i7) { - i1 = (i13 | 0) != 0; - if (!i3) { - if (i1) { - HEAP32[i13 >> 2] = (i9 >>> 0) % (i2 >>> 0); - HEAP32[i13 + 4 >> 2] = 0; - } - i12 = 0; - i13 = (i9 >>> 0) / (i2 >>> 0) >>> 0; - return (setTempRet0(i12 | 0), i13) | 0; - } else { - if (!i1) { - i12 = 0; - i13 = 0; - return (setTempRet0(i12 | 0), i13) | 0; - } - HEAP32[i13 >> 2] = i5 | 0; - HEAP32[i13 + 4 >> 2] = i6 & 0; - i12 = 0; - i13 = 0; - return (setTempRet0(i12 | 0), i13) | 0; - } - } - i1 = (i3 | 0) == 0; - do if (i2) { - if (!i1) { - i1 = (Math_clz32(i3 | 0) | 0) - (Math_clz32(i7 | 0) | 0) | 0; - if (i1 >>> 0 <= 31) { - i10 = i1 + 1 | 0; - i3 = 31 - i1 | 0; - i6 = i1 - 31 >> 31; - i2 = i10; - i5 = i9 >>> (i10 >>> 0) & i6 | i7 << i3; - i6 = i7 >>> (i10 >>> 0) & i6; - i1 = 0; - i3 = i9 << i3; - break; } - if (!i13) { - i12 = 0; - i13 = 0; - return (setTempRet0(i12 | 0), i13) | 0; - } - HEAP32[i13 >> 2] = i5 | 0; - HEAP32[i13 + 4 >> 2] = i4 | i6 & 0; - i12 = 0; - i13 = 0; - return (setTempRet0(i12 | 0), i13) | 0; - } - i1 = i2 - 1 | 0; - if (i1 & i2 | 0) { - i3 = (Math_clz32(i2 | 0) | 0) + 33 - (Math_clz32(i7 | 0) | 0) | 0; - i15 = 64 - i3 | 0; - i10 = 32 - i3 | 0; - i4 = i10 >> 31; - i14 = i3 - 32 | 0; - i6 = i14 >> 31; - i2 = i3; - i5 = i10 - 1 >> 31 & i7 >>> (i14 >>> 0) | (i7 << i10 | i9 >>> (i3 >>> 0)) & i6; - i6 = i6 & i7 >>> (i3 >>> 0); - i1 = i9 << i15 & i4; - i3 = (i7 << i15 | i9 >>> (i14 >>> 0)) & i4 | i9 << i10 & i3 - 33 >> 31; - break; - } - if (i13 | 0) { - HEAP32[i13 >> 2] = i1 & i9; - HEAP32[i13 + 4 >> 2] = 0; - } - if ((i2 | 0) == 1) { - i14 = i4 | i6 & 0; - i15 = i5 | 0 | 0; - return (setTempRet0(i14 | 0), i15) | 0; - } else { - i15 = _llvm_cttz_i32(i2 | 0) | 0; - i14 = i7 >>> (i15 >>> 0) | 0; - i15 = i7 << 32 - i15 | i9 >>> (i15 >>> 0) | 0; - return (setTempRet0(i14 | 0), i15) | 0; - } - } else { - if (i1) { - if (i13 | 0) { - HEAP32[i13 >> 2] = (i7 >>> 0) % (i2 >>> 0); - HEAP32[i13 + 4 >> 2] = 0; - } - i14 = 0; - i15 = (i7 >>> 0) / (i2 >>> 0) >>> 0; - return (setTempRet0(i14 | 0), i15) | 0; - } - if (!i9) { - if (i13 | 0) { - HEAP32[i13 >> 2] = 0; - HEAP32[i13 + 4 >> 2] = (i7 >>> 0) % (i3 >>> 0); - } - i14 = 0; - i15 = (i7 >>> 0) / (i3 >>> 0) >>> 0; - return (setTempRet0(i14 | 0), i15) | 0; - } - i1 = i3 - 1 | 0; - if (!(i1 & i3)) { - if (i13 | 0) { - HEAP32[i13 >> 2] = i5 | 0; - HEAP32[i13 + 4 >> 2] = i1 & i7 | i6 & 0; - } - i14 = 0; - i15 = i7 >>> ((_llvm_cttz_i32(i3 | 0) | 0) >>> 0); - return (setTempRet0(i14 | 0), i15) | 0; - } - i1 = (Math_clz32(i3 | 0) | 0) - (Math_clz32(i7 | 0) | 0) | 0; - if (i1 >>> 0 <= 30) { - i6 = i1 + 1 | 0; - i3 = 31 - i1 | 0; - i2 = i6; - i5 = i7 << i3 | i9 >>> (i6 >>> 0); - i6 = i7 >>> (i6 >>> 0); - i1 = 0; - i3 = i9 << i3; - break; - } - if (!i13) { - i14 = 0; - i15 = 0; - return (setTempRet0(i14 | 0), i15) | 0; - } - HEAP32[i13 >> 2] = i5 | 0; - HEAP32[i13 + 4 >> 2] = i4 | i6 & 0; - i14 = 0; - i15 = 0; - return (setTempRet0(i14 | 0), i15) | 0; - } while (0); - if (!i2) { - i7 = i3; - i4 = 0; - i3 = 0; - } else { - i10 = i8 | 0 | 0; - i9 = i12 | i11 & 0; - i7 = _i64Add(i10 | 0, i9 | 0, -1, -1) | 0; - i8 = getTempRet0() | 0; - i4 = i3; - i3 = 0; - do { - i11 = i4; - i4 = i1 >>> 31 | i4 << 1; - i1 = i3 | i1 << 1; - i11 = i5 << 1 | i11 >>> 31 | 0; - i12 = i5 >>> 31 | i6 << 1 | 0; - _i64Subtract(i7 | 0, i8 | 0, i11 | 0, i12 | 0) | 0; - i15 = getTempRet0() | 0; - i14 = i15 >> 31 | ((i15 | 0) < 0 ? -1 : 0) << 1; - i3 = i14 & 1; - i5 = _i64Subtract(i11 | 0, i12 | 0, i14 & i10 | 0, (((i15 | 0) < 0 ? -1 : 0) >> 31 | ((i15 | 0) < 0 ? -1 : 0) << 1) & i9 | 0) | 0; - i6 = getTempRet0() | 0; - i2 = i2 - 1 | 0; - } while ((i2 | 0) != 0); - i7 = i4; - i4 = 0; - } - i2 = 0; - if (i13 | 0) { - HEAP32[i13 >> 2] = i5; - HEAP32[i13 + 4 >> 2] = i6; - } - i14 = (i1 | 0) >>> 31 | (i7 | i2) << 1 | (i2 << 1 | i1 >>> 31) & 0 | i4; - i15 = (i1 << 1 | 0 >>> 31) & -2 | i3; - return (setTempRet0(i14 | 0), i15) | 0; -} -function __ZN6vision25DoGScaleInvariantDetector13pruneFeaturesEv(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i11 + 12 | 0; - i7 = i11; - i8 = i2 + 60 | 0; - i9 = i2 + 64 | 0; - i10 = i2 + 84 | 0; - i4 = HEAP32[i10 >> 2] | 0; - do if ((((HEAP32[i9 >> 2] | 0) - (HEAP32[i8 >> 2] | 0) | 0) / 36 | 0) >>> 0 > i4 >>> 0) { - i5 = i2 + 16 | 0; - i1 = HEAP32[i5 >> 2] | 0; - i6 = ((HEAP32[i2 + 20 >> 2] | 0) - i1 | 0) / 12 | 0; - if ((i6 | 0) != (HEAP32[i2 + 8 >> 2] | 0)) { - i12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21855) | 0, 20520) | 0, 33528) | 0, 454) | 0, 33535) | 0, 21910) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i12 + (HEAP32[(HEAP32[i12 >> 2] | 0) + -12 >> 2] | 0) | 0); - i13 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i13 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i13 >> 2] | 0) + 28 >> 2] & 63](i13, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i12, i13) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i12) | 0; - _abort(); - } - i1 = ((HEAP32[i1 + 4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) | 0) / 12 | 0; - if ((i1 | 0) != (HEAP32[i2 + 12 >> 2] | 0)) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21936) | 0, 20520) | 0, 33528) | 0, 455) | 0, 33535) | 0, 21910) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } - HEAP32[i7 >> 2] = 0; - HEAP32[i7 + 4 >> 2] = 0; - HEAP32[i7 + 8 >> 2] = 0; - __ZN6vision16PruneDoGFeaturesERNSt3__26vectorINS1_INS1_INS0_4pairIfmEENS0_9allocatorIS3_EEEENS4_IS6_EEEENS4_IS8_EEEERNS1_INS_25DoGScaleInvariantDetector12FeaturePointENS4_ISD_EEEERKSF_iiiii(i5, i7, i8, i6, i1, HEAP32[i2 >> 2] | 0, HEAP32[i2 + 4 >> 2] | 0, i4); - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE4swapERS6_(i8, i7); - if ((((HEAP32[i9 >> 2] | 0) - (HEAP32[i8 >> 2] | 0) | 0) / 36 | 0) >>> 0 > (HEAP32[i10 >> 2] | 0) >>> 0) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21994) | 0, 20520) | 0, 33528) | 0, 469) | 0, 33535) | 0, 22063) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } else { - __ZNSt3__213__vector_baseIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEED2Ev(i7); + $1 = $4 >> 1; + HEAP8[HEAP32[HEAP32[$0 + 136 >> 2] >> 2] + $16 | 0] = ($6 + $1 | 0) / ($4 | 0); + HEAP8[HEAP32[HEAP32[$0 + 136 >> 2] + 4 >> 2] + $16 | 0] = ($1 + $5 | 0) / ($4 | 0); + HEAP8[HEAP32[HEAP32[$0 + 136 >> 2] + 8 >> 2] + $16 | 0] = ($1 + $8 | 0) / ($4 | 0); + $16 = $16 + 1 | 0; + if (($16 | 0) != ($11 | 0)) { + continue; + } break; } - } while (0); - STACKTOP = i11; - return; -} - -function __ZNKSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwe(i1, i21, i9, i25, i26, d5) { - i1 = i1 | 0; - i21 = i21 | 0; - i9 = i9 | 0; - i25 = i25 | 0; - i26 = i26 | 0; - d5 = +d5; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, i23 = 0, i24 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0; - i28 = STACKTOP; - STACKTOP = STACKTOP + 992 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(992); - i11 = i28 + 912 | 0; - i3 = i28 + 904 | 0; - i1 = i28 + 800 | 0; - i4 = i28 + 984 | 0; - i2 = i28 + 400 | 0; - i27 = i28 + 980 | 0; - i12 = i28 + 988 | 0; - i13 = i28 + 976 | 0; - i14 = i28 + 972 | 0; - i22 = i28 + 960 | 0; - i23 = i28 + 948 | 0; - i24 = i28 + 936 | 0; - i8 = i28 + 932 | 0; - i10 = i28; - i15 = i28 + 928 | 0; - i16 = i28 + 920 | 0; - i17 = i28 + 924 | 0; - HEAP32[i4 >> 2] = i1; - HEAPF64[i11 >> 3] = d5; - i1 = _snprintf(i1, 100, 48274, i11) | 0; - if (i1 >>> 0 > 99) { - i1 = __ZNSt3__26__clocEv() | 0; - HEAPF64[i3 >> 3] = d5; - i1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz(i4, i1, 48274, i3) | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (!i2) __ZSt17__throw_bad_allocv(); - i3 = _malloc(i1 << 2) | 0; - if (!i3) __ZSt17__throw_bad_allocv(); else { - i18 = i3; - i20 = i1; - i30 = i3; - i31 = i2; - } - } else { - i18 = i2; - i20 = i1; - i30 = 0; - i31 = 0; - } - __ZNKSt3__28ios_base6getlocEv(i27, i25); - i7 = __ZNKSt3__26locale9use_facetERNS0_2idE(i27, 57948) | 0; - i6 = HEAP32[i4 >> 2] | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 48 >> 2] & 15](i7, i6, i6 + i20 | 0, i18) | 0; - if (!i20) i6 = 0; else i6 = (HEAP8[HEAP32[i4 >> 2] >> 0] | 0) == 45; - HEAP32[i22 >> 2] = 0; - HEAP32[i22 + 4 >> 2] = 0; - HEAP32[i22 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i22 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i23 >> 2] = 0; - HEAP32[i23 + 4 >> 2] = 0; - HEAP32[i23 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i23 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__211__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri(i9, i6, i27, i12, i13, i14, i22, i23, i24, i8); - i4 = HEAP32[i8 >> 2] | 0; - if ((i20 | 0) > (i4 | 0)) { - i3 = HEAP8[i24 + 8 + 3 >> 0] | 0; - i1 = HEAP8[i23 + 8 + 3 >> 0] | 0; - i1 = i1 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i1 & 255; - i2 = i4 + 1 + (i20 - i4 << 1) | 0; - i3 = i3 << 24 >> 24 < 0 ? HEAP32[i24 + 4 >> 2] | 0 : i3 & 255; - } else { - i3 = HEAP8[i24 + 8 + 3 >> 0] | 0; - i1 = HEAP8[i23 + 8 + 3 >> 0] | 0; - i1 = i1 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i1 & 255; - i2 = i4 + 2 | 0; - i3 = i3 << 24 >> 24 < 0 ? HEAP32[i24 + 4 >> 2] | 0 : i3 & 255; - } - i1 = i2 + i3 + i1 | 0; - if (i1 >>> 0 > 100) { - i1 = _malloc(i1 << 2) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i19 = i1; - i29 = i1; + $9 = $11; + } + HEAP32[$0 + 132 >> 2] = $9; + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $9; + HEAP32[$1 + 20 >> 2] = 98; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 1); + HEAP32[$18 + 28 >> 2] = 1; +} + +function ar2ReadSurfaceSet($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 976 | 0; + __stack_pointer = $3; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + if (!(!$1 | !HEAPU8[$1 | 0])) { + if (strcmp($1, 1024)) { + break label$5; + } + } + wasm2js_i32$0 = strncpy($3 + 720 | 0, $0, 255), wasm2js_i32$1 = 0, HEAP8[wasm2js_i32$0 + 255 | 0] = wasm2js_i32$1; + $8 = 1; + break label$4; + } + HEAP32[$3 + 176 >> 2] = $0; + HEAP32[$3 + 180 >> 2] = $1; + siprintf($3 + 192 | 0, 1850, $3 + 176 | 0); + $5 = fopen($3 + 192 | 0, 3096); + if (!$5) { + HEAP32[$3 + 160 >> 2] = $0; + arLog(0, 3, 3763, $3 + 160 | 0); + wasm2js_i32$0 = $3, wasm2js_i32$1 = strerror(HEAP32[__errno_location() >> 2]), HEAP32[wasm2js_i32$0 + 148 >> 2] = wasm2js_i32$1; + HEAP32[$3 + 144 >> 2] = 5642; + arLog(0, 3, 4407, $3 + 144 | 0); + break label$3; + } + $8 = 0; + } + label$8: { + label$9: { + $6 = dlmalloc(1140); + if ($6) { + $7 = 1; + label$11: { + if ($8) { + break label$11; + } + if (!get_buff_2($3 + 192 | 0, $5)) { + break label$9; + } + HEAP32[$3 + 128 >> 2] = $3 + 716; + if ((sscanf($3 + 192 | 0, 6615, $3 + 128 | 0) | 0) != 1) { + break label$9; + } + $7 = HEAP32[$3 + 716 >> 2]; + if (($7 | 0) > 0) { + break label$11; + } + break label$9; + } + HEAP32[$6 + 152 >> 2] = 0; + HEAP32[$6 + 4 >> 2] = $7; + $4 = dlmalloc(Math_imul($7, 112)); + HEAP32[$6 >> 2] = $4; + if ($4) { + $1 = 0; + label$17: { + while (1) { + HEAP32[$3 + 716 >> 2] = $1; + if (($1 | 0) >= ($7 | 0)) { + break label$17; + } + HEAP32[$3 + 112 >> 2] = $1 + 1; + arLog(0, 1, 8073, $3 + 112 | 0); + if (!$8) { + if (!get_buff_2($3 + 192 | 0, $5)) { + break label$17; + } + HEAP32[$3 + 96 >> 2] = $3 + 720; + if ((sscanf($3 + 192 | 0, 8139, $3 + 96 | 0) | 0) != 1) { + break label$17; + } + ar2UtilRemoveExt($3 + 720 | 0); + } + arLog(0, 1, 9280, 0); + $1 = ar2ReadImageSet($3 + 720 | 0); + HEAP32[Math_imul(HEAP32[$3 + 716 >> 2], 112) + $4 >> 2] = $1; + if (!$1) { + HEAP32[$3 >> 2] = $3 + 720; + arLog(0, 3, 10219, $3); + dlfree($4); + dlfree($6); + if (!$5) { + break label$8; + } + fclose($5); + break label$8; + } + arLog(0, 1, 10917, 0); + arLog(0, 1, 11431, 0); + $1 = ar2ReadFeatureSet($3 + 720 | 0, 1024); + HEAP32[(Math_imul(HEAP32[$3 + 716 >> 2], 112) + $4 | 0) + 4 >> 2] = $1; + if (!$1) { + HEAP32[$3 + 16 >> 2] = $3 + 720; + arLog(0, 3, 12076, $3 + 16 | 0); + ar2FreeImageSet(Math_imul(HEAP32[$3 + 716 >> 2], 112) + $4 | 0); + dlfree($4); + dlfree($6); + if (!$5) { + break label$8; + } + fclose($5); + break label$8; + } + arLog(0, 1, 10917, 0); + label$22: { + if ($2) { + arLog(0, 1, 14205, 0); + ar2UtilRemoveExt($3 + 720 | 0); + $1 = ar2ReadMarkerSet($3 + 720 | 0, 14453, $2); + HEAP32[(Math_imul(HEAP32[$3 + 716 >> 2], 112) + $4 | 0) + 8 >> 2] = $1; + if (!$1) { + HEAP32[$3 + 80 >> 2] = $3 + 720; + arLog(0, 3, 15283, $3 + 80 | 0); + ar2FreeFeatureSet((Math_imul(HEAP32[$3 + 716 >> 2], 112) + $4 | 0) + 4 | 0); + ar2FreeImageSet(Math_imul(HEAP32[$3 + 716 >> 2], 112) + $4 | 0); + dlfree($4); + dlfree($6); + if (!$5) { + break label$8; + } + fclose($5); + break label$8; + } + arLog(0, 1, 10917, 0); + break label$22; + } + HEAP32[(Math_imul(HEAP32[$3 + 716 >> 2], 112) + $4 | 0) + 8 >> 2] = 0; + } + label$25: { + label$26: { + if ($8) { + $0 = 0; + $9 = HEAP32[$3 + 716 >> 2]; + while (1) { + $1 = 0; + if (($0 | 0) == 3) { + break label$26; + } + while (1) { + if (($1 | 0) != 4) { + HEAPF32[(((Math_imul($9, 112) + $4 | 0) + ($0 << 4) | 0) + ($1 << 2) | 0) + 12 >> 2] = ($0 | 0) == ($1 | 0) ? Math_fround(1) : Math_fround(0); + $1 = $1 + 1 | 0; + continue; + } + break; + } + $0 = $0 + 1 | 0; + continue; + } + } + if (!get_buff_2($3 + 192 | 0, $5)) { + break label$17; + } + $1 = Math_imul(HEAP32[$3 + 716 >> 2], 112) + $4 | 0; + HEAP32[$3 + 64 >> 2] = $1 + 12; + HEAP32[$3 + 68 >> 2] = $1 + 16; + HEAP32[$3 + 72 >> 2] = $1 + 20; + HEAP32[$3 + 76 >> 2] = $1 + 24; + if ((sscanf($3 + 192 | 0, 15449, $3 - -64 | 0) | 0) != 4) { + break label$2; + } + if (!get_buff_2($3 + 192 | 0, $5)) { + break label$17; + } + $1 = Math_imul(HEAP32[$3 + 716 >> 2], 112) + $4 | 0; + HEAP32[$3 + 48 >> 2] = $1 + 28; + HEAP32[$3 + 52 >> 2] = $1 + 32; + HEAP32[$3 + 56 >> 2] = $1 + 36; + HEAP32[$3 + 60 >> 2] = $1 + 40; + if ((sscanf($3 + 192 | 0, 15449, $3 + 48 | 0) | 0) != 4) { + break label$2; + } + if (!get_buff_2($3 + 192 | 0, $5)) { + break label$17; + } + $1 = Math_imul(HEAP32[$3 + 716 >> 2], 112) + $4 | 0; + HEAP32[$3 + 32 >> 2] = $1 + 44; + HEAP32[$3 + 36 >> 2] = $1 + 48; + HEAP32[$3 + 40 >> 2] = $1 + 52; + HEAP32[$3 + 44 >> 2] = $1 + 56; + if ((sscanf($3 + 192 | 0, 15449, $3 + 32 | 0) | 0) != 4) { + break label$25; + } + $9 = HEAP32[$3 + 716 >> 2]; + } + $1 = Math_imul($9, 112) + $4 | 0; + arUtilMatInvf($1 + 12 | 0, $1 + 60 | 0); + ar2UtilReplaceExt($3 + 720 | 0, 256, 16074); + $1 = dlmalloc(256); + $0 = HEAP32[$3 + 716 >> 2]; + HEAP32[(Math_imul($0, 112) + $4 | 0) + 108 >> 2] = $1; + if (!$1) { + break label$1; + } + strncpy($1, $3 + 720 | 0, 256); + $1 = $0 + 1 | 0; + continue; + } + break; + } + break label$2; + } + if ($5) { + fclose($5); + } + if (($7 | 0) <= HEAP32[$3 + 716 >> 2]) { + break label$3; + } + exit(0); + abort(); + } + break label$1; + } + break label$1; + } + fclose($5); + dlfree($6); + } + $6 = 0; + } + __stack_pointer = $3 + 976 | 0; + return $6; } - } else { - i19 = i10; - i29 = 0; - } - __ZNSt3__211__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i(i19, i15, i16, HEAP32[i25 + 4 >> 2] | 0, i18, i18 + (i20 << 2) | 0, i7, i6, i12, HEAP32[i13 >> 2] | 0, HEAP32[i14 >> 2] | 0, i22, i23, i24, i4); - HEAP32[i17 >> 2] = HEAP32[i21 >> 2]; - i21 = HEAP32[i15 >> 2] | 0; - i1 = HEAP32[i16 >> 2] | 0; - HEAP32[i11 >> 2] = HEAP32[i17 >> 2]; - i1 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i11, i19, i21, i1, i25, i26) | 0; - if (i29 | 0) _free(i29); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i24); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i23); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i22); - __ZNSt3__26localeD2Ev(i27); - if (i30 | 0) _free(i30); - if (i31 | 0) _free(i31); - STACKTOP = i28; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_128parse_sizeof_param_pack_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i3, i9) { - i1 = i1 | 0; - i3 = i3 | 0; - i9 = i9 | 0; - var i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i11 = i14 + 48 | 0; - i12 = i14 + 24 | 0; - i6 = i14; - i13 = i14 + 12 | 0; - if (((((i3 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 115 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 90 : 0) ? (i4 = i1 + 2 | 0, (HEAP8[i4 >> 0] | 0) == 84) : 0) ? (i8 = i9 + 4 | 0, i7 = ((HEAP32[i8 >> 2] | 0) - (HEAP32[i9 >> 2] | 0) | 0) / 24 | 0, i10 = __ZN10__cxxabiv112_GLOBAL__N_120parse_template_paramINS0_2DbEEEPKcS4_S4_RT_(i4, i3, i9) | 0, i2 = ((HEAP32[i8 >> 2] | 0) - (HEAP32[i9 >> 2] | 0) | 0) / 24 | 0, (i10 | 0) != (i4 | 0)) : 0) { - HEAP32[i11 >> 2] = 0; - HEAP32[i11 + 4 >> 2] = 0; - HEAP32[i11 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i11, 49880, __ZNSt3__211char_traitsIcE6lengthEPKc(49880) | 0); - L7 : do if ((i7 | 0) != (i2 | 0)) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i12, (HEAP32[i9 >> 2] | 0) + (i7 * 24 | 0) | 0); - i4 = HEAP8[i12 + 11 >> 0] | 0; - i5 = i4 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i11, i5 ? HEAP32[i12 >> 2] | 0 : i12, i5 ? HEAP32[i12 + 4 >> 2] | 0 : i4 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - i4 = i12 + 11 | 0; - i5 = i12 + 4 | 0; - i1 = i7; - while (1) { - i1 = i1 + 1 | 0; - if ((i1 | 0) == (i2 | 0)) break L7; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i6, (HEAP32[i9 >> 2] | 0) + (i1 * 24 | 0) | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i6, 0, 49891) | 0; - HEAP32[i12 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i12 + 4 >> 2] = HEAP32[i6 + 4 >> 2]; - HEAP32[i12 + 8 >> 2] = HEAP32[i6 + 8 >> 2]; - i3 = 0; - while (1) { - if ((i3 | 0) == 3) break; - HEAP32[i6 + (i3 << 2) >> 2] = 0; - i3 = i3 + 1 | 0; - } - i3 = HEAP8[i4 >> 0] | 0; - i15 = i3 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i11, i15 ? HEAP32[i12 >> 2] | 0 : i12, i15 ? HEAP32[i5 >> 2] | 0 : i3 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - } - } while (0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i11, 49667) | 0; - while (1) { - if ((i2 | 0) == (i7 | 0)) break; - i3 = HEAP32[i8 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i15 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i15 * 24 | 0) | 0); - i1 = i15; - } - HEAP32[i8 >> 2] = i3 + -24; - i2 = i2 + -1 | 0; - } - HEAP32[i13 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i13 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i13 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i12, i13); - i1 = HEAP32[i8 >> 2] | 0; - if (i1 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i1, i12); - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i12); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - i1 = i10; - } - STACKTOP = i14; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_120parse_function_paramINS0_2DbEEEPKcS4_S4_RT_(i1, i5, i9) { - i1 = i1 | 0; - i5 = i5 | 0; - i9 = i9 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - i3 = i12 + 64 | 0; - i10 = i12 + 40 | 0; - i8 = i12 + 12 | 0; - i11 = i12 + 24 | 0; - i7 = i12; - L1 : do if ((i5 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 102 : 0) { - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 112: - { - i2 = __ZN10__cxxabiv112_GLOBAL__N_119parse_cv_qualifiersEPKcS2_Rj(i1 + 2 | 0, i5, i3) | 0; - i3 = __ZN10__cxxabiv112_GLOBAL__N_112parse_numberEPKcS2_(i2, i5) | 0; - if ((i3 | 0) != (i5 | 0) ? (HEAP8[i3 >> 0] | 0) == 95 : 0) { - HEAP32[i11 >> 2] = 0; - HEAP32[i11 + 4 >> 2] = 0; - HEAP32[i11 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(i11, i2, i3); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i11, 0, 50858) | 0; - HEAP32[i8 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; + arLog(0, 3, 15999, 0); + fclose($5); + exit(0); + abort(); + } + arLog(0, 3, 6451, 0); + exit(1); + abort(); +} + +function kpmSetRefDataSet($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $7 = __stack_pointer - 80 | 0; + __stack_pointer = $7; + $2 = 7734; + label$1: { + label$2: { + label$3: { + if (!(!$0 | !$1)) { + if (HEAP32[$1 + 4 >> 2]) { + break label$3; + } + $2 = 8632; + } + arLog(0, 3, $2, 0); + $14 = -1; + break label$2; + } + dlfree(HEAP32[$0 + 28 >> 2]); + $3 = HEAP32[$1 + 4 >> 2]; + label$7: { + if ($3) { + $2 = dlmalloc(Math_imul($3, 132)); + HEAP32[$0 + 28 >> 2] = $2; + if (!$2) { + break label$1; + } + $2 = 0; while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i10, i8); - i1 = i9 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i2, i10); - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i10); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - i1 = i3 + 1 | 0; - } - break L1; - } - case 76: - break; - default: - break L1; - } - i2 = __ZN10__cxxabiv112_GLOBAL__N_112parse_numberEPKcS2_(i1 + 2 | 0, i5) | 0; - if ((((i2 | 0) != (i5 | 0) ? (HEAP8[i2 >> 0] | 0) == 112 : 0) ? (i4 = __ZN10__cxxabiv112_GLOBAL__N_119parse_cv_qualifiersEPKcS2_Rj(i2 + 1 | 0, i5, i3) | 0, i6 = __ZN10__cxxabiv112_GLOBAL__N_112parse_numberEPKcS2_(i4, i5) | 0, (i6 | 0) != (i5 | 0)) : 0) ? (HEAP8[i6 >> 0] | 0) == 95 : 0) { - HEAP32[i11 >> 2] = 0; - HEAP32[i11 + 4 >> 2] = 0; - HEAP32[i11 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(i11, i4, i6); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i11, 0, 50858) | 0; - HEAP32[i7 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i7 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i7 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i10, i7); - i1 = i9 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i2, i10); - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i10); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - i1 = i6 + 1 | 0; - } - } while (0); - STACKTOP = i12; - return i1 | 0; -} - -function _arParamObserv2Ideal(i23, d2, d3, i24, i25, i1) { - i23 = i23 | 0; - d2 = +d2; - d3 = +d3; - i24 = i24 | 0; - i25 = i25 | 0; - i1 = i1 | 0; - var i4 = 0, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0, d26 = 0.0, d27 = 0.0, d28 = 0.0; - switch (i1 | 0) { - case 4: - { - d16 = +HEAPF64[i23 >> 3]; - d17 = +HEAPF64[i23 + 8 >> 3]; - d14 = +HEAPF64[i23 + 16 >> 3]; - d15 = +HEAPF64[i23 + 24 >> 3]; - d19 = +HEAPF64[i23 + 32 >> 3]; - d20 = +HEAPF64[i23 + 40 >> 3]; - d21 = +HEAPF64[i23 + 48 >> 3]; - d22 = +HEAPF64[i23 + 56 >> 3]; - d18 = +HEAPF64[i23 + 64 >> 3]; - d13 = (d2 - d21) / d19; - d8 = (d3 - d22) / d20; - d9 = d14 * 2.0; - d10 = d15 * 6.0; - d11 = d15 * 2.0; - d12 = d14 * 6.0; - d5 = d13; - d6 = d8; - d7 = d13 * d13; - d2 = d8 * d8; - i1 = 1; - while (1) { - if (!(d2 != 0.0 | d7 != 0.0)) { - d3 = 0.0; - d2 = 0.0; - break; + if (($2 | 0) >= ($3 | 0)) { + break label$7; + } + $3 = Math_imul($2, 132); + wasm2js_memory_copy($3 + HEAP32[$0 + 28 >> 2] | 0, HEAP32[$1 >> 2] + $3 | 0, 132); + $2 = $2 + 1 | 0; + $3 = HEAP32[$1 + 4 >> 2]; + continue; + } } - d28 = d2 + d7; - d27 = d16 * d28 + 1.0 + d28 * (d17 * d28); - d3 = d7 * 3.0; - d26 = d2 * d3; - d3 = d5 - (d15 * (d28 + d7 * 2.0) + (d6 * (d9 * d5) + d5 * d27) - d13) / (d10 * d5 + (d9 * d6 + (d16 * (d2 + d3) + 1.0 + d17 * (d2 * d2 + (d7 * (d7 * 5.0) + d26))))); - d5 = d11 * d3; - d2 = d6 - (d14 * (d2 * 2.0 + d28) + d6 * d27 + d6 * d5 - d8) / (d12 * d6 + (d16 * (d7 + d2 * 3.0) + 1.0 + d17 * (d2 * (d2 * 5.0) + (d7 * d7 + d26))) + d5); - if ((i1 | 0) == 4) break; - d5 = d3; - d6 = d2; - d7 = d3 * d3; - d2 = d2 * d2; - i1 = i1 + 1 | 0; - } - HEAPF64[i24 >> 3] = d21 + d19 * d3 / d18; - d2 = d22 + d20 * d2 / d18; - i4 = 22; - break; - } - case 3: - { - d12 = +HEAPF64[i23 >> 3]; - d2 = (d2 - d12) / +HEAPF64[i23 + 24 >> 3]; - i4 = i23 + 8 | 0; - d3 = d3 - +HEAPF64[i4 >> 3]; - d7 = +HEAPF64[i23 + 32 >> 3] / 1.0e8; - d8 = +HEAPF64[i23 + 40 >> 3] / 1.0e8 / 1.0e5; - d5 = d2 * d2 + d3 * d3; - d9 = +Math_sqrt(+d5); - d10 = d7 * 3.0; - d11 = d8 * 5.0; - i1 = 1; - d6 = d9; - while (1) { - if (!(d6 != 0.0)) { - d3 = 0.0; - d2 = 0.0; + $3 = 0; + HEAP32[$0 + 28 >> 2] = 0; + } + HEAP32[$0 + 32 >> 2] = $3; + if (HEAP32[$0 + 36 >> 2]) { + $2 = 0; + while (1) { + $3 = HEAP32[$0 + 36 >> 2]; + if (($2 | 0) < HEAP32[$0 + 40 >> 2]) { + dlfree(HEAP32[Math_imul($2, 12) + $3 >> 2]); + $2 = $2 + 1 | 0; + continue; + } break; } - d28 = d6 - (d6 * (1.0 - d7 * d5 - d5 * (d8 * d5)) - d9) / (1.0 - d10 * d5 - d5 * (d11 * d5)); - d2 = d2 * d28 / d6; - d3 = d3 * d28 / d6; - if ((i1 | 0) == 3) break; - d6 = d2 * d2 + d3 * d3; - d5 = d6; - i1 = i1 + 1 | 0; - d6 = +Math_sqrt(+d6); - } - i23 = i23 + 16 | 0; - HEAPF64[i24 >> 3] = d12 + d2 / +HEAPF64[i23 >> 3]; - d2 = d3 / +HEAPF64[i23 >> 3] + +HEAPF64[i4 >> 3]; - i4 = 22; - break; - } - case 2: - { - d12 = +HEAPF64[i23 >> 3]; - d2 = d2 - d12; - i4 = i23 + 8 | 0; - d3 = d3 - +HEAPF64[i4 >> 3]; - d7 = +HEAPF64[i23 + 24 >> 3] / 1.0e8; - d8 = +HEAPF64[i23 + 32 >> 3] / 1.0e8 / 1.0e5; - d5 = d2 * d2 + d3 * d3; - d9 = +Math_sqrt(+d5); - d10 = d7 * 3.0; - d11 = d8 * 5.0; - i1 = 1; - d6 = d9; - while (1) { - if (!(d6 != 0.0)) { - d3 = 0.0; - d2 = 0.0; - break; + dlfree($3); + } + $6 = HEAP32[$1 + 12 >> 2]; + label$13: { + if ($6) { + $2 = dlmalloc(Math_imul($6, 12)); + HEAP32[$0 + 36 >> 2] = $2; + if (!$2) { + break label$1; + } + while (1) { + if (($6 | 0) <= ($9 | 0)) { + break label$13; + } + $3 = Math_imul($9, 12); + $4 = $3 + HEAP32[$0 + 36 >> 2] | 0; + $8 = HEAP32[$1 + 8 >> 2]; + $2 = $8 + $3 | 0; + HEAP32[$4 + 8 >> 2] = HEAP32[$2 + 8 >> 2]; + HEAP32[$4 + 4 >> 2] = HEAP32[$2 + 4 >> 2]; + label$16: { + label$17: { + $5 = HEAP32[$2 + 4 >> 2]; + if ($5) { + $6 = dlmalloc(Math_imul($5, 12)); + HEAP32[$4 >> 2] = $6; + $2 = 0; + if (!$6) { + break label$1; + } + while (1) { + if (($2 | 0) >= ($5 | 0)) { + break label$17; + } + $5 = Math_imul($2, 12); + $4 = $5 + HEAP32[HEAP32[$0 + 36 >> 2] + $3 >> 2] | 0; + $5 = HEAP32[$3 + $8 >> 2] + $5 | 0; + $6 = HEAP32[$5 + 4 >> 2]; + HEAP32[$4 >> 2] = HEAP32[$5 >> 2]; + HEAP32[$4 + 4 >> 2] = $6; + HEAP32[$4 + 8 >> 2] = HEAP32[$5 + 8 >> 2]; + $2 = $2 + 1 | 0; + $8 = HEAP32[$1 + 8 >> 2]; + $5 = HEAP32[($8 + $3 | 0) + 4 >> 2]; + continue; + } + } + HEAP32[$2 >> 2] = 0; + break label$16; + } + $6 = HEAP32[$1 + 12 >> 2]; + } + $9 = $9 + 1 | 0; + continue; + } } - d28 = d6 - (d6 * (1.0 - d7 * d5 - d5 * (d8 * d5)) - d9) / (1.0 - d10 * d5 - d5 * (d11 * d5)); - d2 = d2 * d28 / d6; - d3 = d3 * d28 / d6; - if ((i1 | 0) == 3) break; - d5 = d2 * d2 + d3 * d3; - i1 = i1 + 1 | 0; - d6 = +Math_sqrt(+d5); - } - i23 = i23 + 16 | 0; - HEAPF64[i24 >> 3] = d12 + d2 / +HEAPF64[i23 >> 3]; - d2 = d3 / +HEAPF64[i23 >> 3] + +HEAPF64[i4 >> 3]; - i4 = 22; - break; + $6 = 0; + HEAP32[$0 + 36 >> 2] = 0; + } + HEAP32[$0 + 40 >> 2] = $6; + $2 = HEAP32[$0 + 52 >> 2]; + if ($2) { + dlfree($2); + HEAP32[$0 + 52 >> 2] = 0; + HEAP32[$0 + 56 >> 2] = 0; + } + label$5: { + label$21: { + $3 = HEAP32[$1 + 12 >> 2]; + if (($3 | 0) <= 0) { + break label$21; + } + HEAP32[$0 + 56 >> 2] = $3; + $5 = dlmalloc(Math_imul($3, 68)); + HEAP32[$0 + 52 >> 2] = $5; + if (!$5) { + break label$5; + } + $2 = 0; + while (1) { + if (($2 | 0) == ($3 | 0)) { + break label$21; + } + HEAP32[(Math_imul($2, 68) + $5 | 0) + 64 >> 2] = 0; + $2 = $2 + 1 | 0; + continue; + } + } + $2 = HEAP32[$0 + 32 >> 2]; + if (!$2) { + break label$2; + } + $6 = ($2 | 0) > 0 ? $2 : 0; + label$24: while (1) { + $1 = 0; + if (HEAP32[$0 + 40 >> 2] <= ($11 | 0)) { + break label$2; + } + label$25: while (1) { + $9 = Math_imul($11, 12); + if (HEAP32[($9 + HEAP32[$0 + 36 >> 2] | 0) + 4 >> 2] <= ($1 | 0)) { + $11 = $11 + 1 | 0; + continue label$24; + } + $10 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____vector_28_29($7 - -64 | 0); + $12 = std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____vector_28_29($7 + 48 | 0); + $8 = 0; + $5 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____vector_28_29($7 + 32 | 0); + while (1) { + if (($6 | 0) == ($8 | 0)) { + wasm2js_i32$0 = $7, wasm2js_i32$1 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($10), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + arLog(0, 1, 10085, $7); + $2 = HEAP32[$0 + 36 >> 2] + $9 | 0; + HEAP32[(($13 << 2) + $0 | 0) + 60 >> 2] = HEAP32[$2 + 8 >> 2]; + $2 = HEAP32[$2 >> 2] + Math_imul($1, 12) | 0; + vision__VisualDatabaseFacade__addFreakFeaturesAndDescriptors_28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char___20const__2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____20const__2c_20unsigned_20long_2c_20unsigned_20long_2c_20int_29(HEAP32[$0 >> 2], $10, $5, $12, HEAP32[$2 >> 2], HEAP32[$2 + 4 >> 2], $13); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____vector_28_29($5); + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______vector_28_29($12); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____vector_28_29($10); + $1 = $1 + 1 | 0; + $13 = $13 + 1 | 0; + continue label$25; + } + label$29: { + $3 = Math_imul($8, 132); + $4 = $3 + HEAP32[$0 + 28 >> 2] | 0; + $2 = HEAP32[$0 + 36 >> 2] + $9 | 0; + if (HEAP32[$4 + 128 >> 2] != HEAP32[(HEAP32[$2 >> 2] + Math_imul($1, 12) | 0) + 8 >> 2] | HEAP32[$4 + 124 >> 2] != HEAP32[$2 + 8 >> 2]) { + break label$29; + } + $2 = 0; + $4 = vision__FeaturePoint__FeaturePoint_28float_2c_20float_2c_20float_2c_20float_2c_20bool_29($7 + 8 | 0, HEAPF32[$4 >> 2], HEAPF32[$4 + 4 >> 2], HEAPF32[$4 + 112 >> 2], HEAPF32[$4 + 116 >> 2], HEAP32[$4 + 120 >> 2] != 0); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____push_back_28vision__FeaturePoint___29($10, $4); + vision__FeaturePoint___FeaturePoint_28_29($4); + $4 = HEAP32[$0 + 28 >> 2] + $3 | 0; + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____push_back_28vision__Point3d_float____29($12, vision__Point3d_float___Point3d_28float_2c_20float_2c_20float_29($7 + 8 | 0, HEAPF32[$4 + 8 >> 2], HEAPF32[$4 + 12 >> 2], Math_fround(0))); + while (1) { + if (($2 | 0) == 96) { + break label$29; + } + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____push_back_28unsigned_20char_20const__29($5, ((HEAP32[$0 + 28 >> 2] + $3 | 0) + $2 | 0) + 16 | 0); + $2 = $2 + 1 | 0; + continue; + } + } + $8 = $8 + 1 | 0; + continue; + } + } + } + } + break label$1; } - case 1: - { - d10 = +HEAPF64[i23 >> 3]; - d2 = d2 - d10; - i4 = i23 + 8 | 0; - d3 = d3 - +HEAPF64[i4 >> 3]; - d7 = +HEAPF64[i23 + 24 >> 3] / 1.0e8; - d5 = d2 * d2 + d3 * d3; - d8 = +Math_sqrt(+d5); - d9 = d7 * 3.0; - i1 = 1; - d6 = d8; - while (1) { - if (!(d6 != 0.0)) { - d3 = 0.0; - d2 = 0.0; + __stack_pointer = $7 + 80 | 0; + return $14; + } + arLog(0, 3, 9625, 0); + exit(1); + abort(); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseQualifiedType_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $1 = __stack_pointer - 80 | 0; + __stack_pointer = $1; + label$1: { + label$2: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 85)) { + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBareSourceName_28_29($1 + 72 | 0, $0); + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($1 + 72 | 0)) { + break label$1; + } + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 - -64 | 0, 30900); + $6 = HEAP32[$4 >> 2]; + $4 = HEAP32[$4 + 4 >> 2]; + HEAP32[$1 >> 2] = $6; + HEAP32[$1 + 4 >> 2] = $4; + if ($28anonymous_20namespace_29__itanium_demangle__StringView__startsWith_28_28anonymous_20namespace_29__itanium_demangle__StringView_29_20const($1 + 72 | 0, $1)) { + $28anonymous_20namespace_29__itanium_demangle__StringView__dropFront_28unsigned_20long_29_20const($1 + 56 | 0, $1 + 72 | 0, 9); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28_29($1 + 48 | 0); + $2 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_char_20const____SwapAndRestore_28char_20const___2c_20char_20const__29($1 + 32 | 0, $0, $28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($1 + 56 | 0)); + $5 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_char_20const____SwapAndRestore_28char_20const___2c_20char_20const__29($1 + 16 | 0, $0 + 4 | 0, $28anonymous_20namespace_29__itanium_demangle__StringView__end_28_29_20const($1 + 56 | 0)); + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBareSourceName_28_29($1 + 8 | 0, $0); + $6 = HEAP32[$1 + 12 >> 2]; + $4 = HEAP32[$1 + 8 >> 2]; + HEAP32[$3 >> 2] = $4; + HEAP32[$3 + 4 >> 2] = $6; + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_char_20const_____SwapAndRestore_28_29($5); + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_char_20const_____SwapAndRestore_28_29($2); + $2 = 0; + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($3)) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseQualifiedType_28_29($0); + HEAP32[$1 + 32 >> 2] = $2; + if (!$2) { + break label$2; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ObjCProtoName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1 + 32 | 0, $3); + break label$1; + } + HEAP32[$1 + 32 >> 2] = 0; + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) == 73) { + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArgs_28bool_29($0, 0); + HEAP32[$1 + 32 >> 2] = $5; + if (!$5) { + break label$1; + } + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseQualifiedType_28_29($0); + HEAP32[$1 + 16 >> 2] = $2; + if ($2) { + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__VendorExtQualType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 16 | 0, $1 + 72 | 0, $1 + 32 | 0); + } + $2 = $3; + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseCVQualifiers_28_29($0); + HEAP32[$1 + 32 >> 2] = $3; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 16 >> 2] = $2; + if (!$2) { + break label$2; + } + if (!$3) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__QualType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__29($0, $1 + 16 | 0, $1 + 32 | 0); + break label$1; + } + $2 = 0; + } + __stack_pointer = $1 + 80 | 0; + return $2; +} + +function decode_mcu_AC_refine_1($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0; + $4 = __stack_pointer - 288 | 0; + __stack_pointer = $4; + $6 = HEAP32[$0 + 468 >> 2]; + label$1: { + label$2: { + if (HEAP32[$6 + 44 >> 2] | !HEAP32[$0 + 280 >> 2]) { + break label$2; + } + $2 = HEAP32[$0 + 464 >> 2]; + $9 = $6 + 16 | 0; + HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 24 >> 2] + (HEAP32[$9 >> 2] / 8 | 0); + HEAP32[$6 + 16 >> 2] = 0; + if (!(FUNCTION_TABLE[HEAP32[$2 + 8 >> 2]]($0) | 0)) { + break label$1; + } + if (HEAP32[$0 + 340 >> 2] > 0) { + $2 = 0; + while (1) { + HEAP32[(($2 << 2) + $6 | 0) + 24 >> 2] = 0; + $2 = $2 + 1 | 0; + if (($2 | 0) < HEAP32[$0 + 340 >> 2]) { + continue; + } break; } - d28 = d6 - (d6 * (1.0 - d7 * d5) - d8) / (1.0 - d9 * d5); - d2 = d2 * d28 / d6; - d3 = d3 * d28 / d6; - if ((i1 | 0) == 3) break; - d5 = d2 * d2 + d3 * d3; - i1 = i1 + 1 | 0; - d6 = +Math_sqrt(+d5); - } - i23 = i23 + 16 | 0; - HEAPF64[i24 >> 3] = d10 + d2 / +HEAPF64[i23 >> 3]; - d2 = d3 / +HEAPF64[i23 >> 3] + +HEAPF64[i4 >> 3]; - i4 = 22; - break; - } - default: - i1 = -1; - } - if ((i4 | 0) == 22) { - HEAPF64[i25 >> 3] = d2; - i1 = 0; - } - return i1 | 0; -} - -function __ZNKSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEce(i1, i21, i9, i25, i26, d5) { - i1 = i1 | 0; - i21 = i21 | 0; - i9 = i9 | 0; - i25 = i25 | 0; - i26 = i26 | 0; - d5 = +d5; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, i23 = 0, i24 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0; - i28 = STACKTOP; - STACKTOP = STACKTOP + 416 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(416); - i11 = i28 + 336 | 0; - i3 = i28 + 328 | 0; - i1 = i28 + 224 | 0; - i4 = i28 + 400 | 0; - i2 = i28 + 112 | 0; - i27 = i28 + 396 | 0; - i12 = i28 + 408 | 0; - i13 = i28 + 405 | 0; - i14 = i28 + 404 | 0; - i22 = i28 + 384 | 0; - i23 = i28 + 372 | 0; - i24 = i28 + 360 | 0; - i8 = i28 + 356 | 0; - i10 = i28; - i15 = i28 + 352 | 0; - i16 = i28 + 344 | 0; - i17 = i28 + 348 | 0; - HEAP32[i4 >> 2] = i1; - HEAPF64[i11 >> 3] = d5; - i1 = _snprintf(i1, 100, 48274, i11) | 0; - if (i1 >>> 0 > 99) { - i1 = __ZNSt3__26__clocEv() | 0; - HEAPF64[i3 >> 3] = d5; - i1 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz(i4, i1, 48274, i3) | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (!i2) __ZSt17__throw_bad_allocv(); - i3 = _malloc(i1) | 0; - if (!i3) __ZSt17__throw_bad_allocv(); else { - i18 = i3; - i20 = i1; - i30 = i3; - i31 = i2; - } - } else { - i18 = i2; - i20 = i1; - i30 = 0; - i31 = 0; - } - __ZNKSt3__28ios_base6getlocEv(i27, i25); - i7 = __ZNKSt3__26locale9use_facetERNS0_2idE(i27, 57916) | 0; - i6 = HEAP32[i4 >> 2] | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 32 >> 2] & 15](i7, i6, i6 + i20 | 0, i18) | 0; - if (!i20) i6 = 0; else i6 = (HEAP8[HEAP32[i4 >> 2] >> 0] | 0) == 45; - HEAP32[i22 >> 2] = 0; - HEAP32[i22 + 4 >> 2] = 0; - HEAP32[i22 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i22 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i23 >> 2] = 0; - HEAP32[i23 + 4 >> 2] = 0; - HEAP32[i23 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i23 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i24 >> 2] = 0; - HEAP32[i24 + 4 >> 2] = 0; - HEAP32[i24 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__211__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri(i9, i6, i27, i12, i13, i14, i22, i23, i24, i8); - i4 = HEAP32[i8 >> 2] | 0; - if ((i20 | 0) > (i4 | 0)) { - i3 = HEAP8[i24 + 11 >> 0] | 0; - i1 = HEAP8[i23 + 11 >> 0] | 0; - i1 = i1 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i1 & 255; - i2 = i4 + 1 + (i20 - i4 << 1) | 0; - i3 = i3 << 24 >> 24 < 0 ? HEAP32[i24 + 4 >> 2] | 0 : i3 & 255; - } else { - i3 = HEAP8[i24 + 11 >> 0] | 0; - i1 = HEAP8[i23 + 11 >> 0] | 0; - i1 = i1 << 24 >> 24 < 0 ? HEAP32[i23 + 4 >> 2] | 0 : i1 & 255; - i2 = i4 + 2 | 0; - i3 = i3 << 24 >> 24 < 0 ? HEAP32[i24 + 4 >> 2] | 0 : i3 & 255; - } - i1 = i2 + i3 + i1 | 0; - if (i1 >>> 0 > 100) { - i1 = _malloc(i1) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i19 = i1; - i29 = i1; - } - } else { - i19 = i10; - i29 = 0; - } - __ZNSt3__211__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i(i19, i15, i16, HEAP32[i25 + 4 >> 2] | 0, i18, i18 + i20 | 0, i7, i6, i12, HEAP8[i13 >> 0] | 0, HEAP8[i14 >> 0] | 0, i22, i23, i24, i4); - HEAP32[i17 >> 2] = HEAP32[i21 >> 2]; - i21 = HEAP32[i15 >> 2] | 0; - i1 = HEAP32[i16 >> 2] | 0; - HEAP32[i11 >> 2] = HEAP32[i17 >> 2]; - i1 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i11, i19, i21, i1, i25, i26) | 0; - if (i29 | 0) _free(i29); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i24); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i23); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i22); - __ZNSt3__26localeD2Ev(i27); - if (i30 | 0) _free(i30); - if (i31 | 0) _free(i31); - STACKTOP = i28; - return i1 | 0; -} - -function _arGetContour(i10, i11, i1, i3, i4, i2, i20) { - i10 = i10 | 0; - i11 = i11 | 0; - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i2 = i2 | 0; - i20 = i20 | 0; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i21 = 0, i22 = 0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 80032 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80032); - i9 = i21 + 80016 | 0; - i8 = i21 + 80008 | 0; - i5 = i21 + 8e4 | 0; - i18 = i21 + 4e4 | 0; - i19 = i21; - i16 = HEAP32[i2 + 8 >> 2] | 0; - i17 = Math_imul(i16, i11) | 0; - i1 = HEAP32[i2 >> 2] | 0; - i2 = HEAP32[i2 + 4 >> 2] | 0; - i15 = i1; - i1 = i10 + (i17 + i1 << 1) | 0; - while (1) { - if ((i15 | 0) > (i2 | 0)) { - i17 = 7; - break; + } + HEAP32[$6 + 20 >> 2] = 0; + HEAP32[$6 + 44 >> 2] = HEAP32[$0 + 280 >> 2]; + if (HEAP32[$0 + 440 >> 2]) { + break label$2; + } + HEAP32[$6 + 40 >> 2] = 0; + } + label$5: { + if (!HEAP32[$6 + 40 >> 2]) { + $14 = HEAP32[$0 + 432 >> 2]; + $12 = HEAP32[$0 + 416 >> 2]; + $2 = HEAP32[$0 + 424 >> 2]; + HEAP32[$4 + 280 >> 2] = $0; + $3 = HEAP32[$0 + 24 >> 2]; + HEAP32[$4 + 264 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$4 + 268 >> 2] = HEAP32[$3 + 4 >> 2]; + $15 = -1 << $2; + $13 = 1 << $2; + $2 = HEAP32[$6 + 16 >> 2]; + $3 = HEAP32[$0 + 412 >> 2]; + $9 = HEAP32[$1 >> 2]; + $5 = HEAP32[$6 + 12 >> 2]; + label$7: { + label$8: { + $10 = HEAP32[$6 + 20 >> 2]; + if ($10) { + break label$8; + } + $16 = HEAP32[$6 + 64 >> 2]; + while (1) { + label$11: { + label$12: { + label$13: { + if (($2 | 0) <= 7) { + if (!jpeg_fill_bit_buffer($4 + 264 | 0, $5, $2, 0)) { + break label$5; + } + $5 = HEAP32[$4 + 272 >> 2]; + $2 = HEAP32[$4 + 276 >> 2]; + $1 = 1; + if (($2 | 0) < 8) { + break label$13; + } + } + $1 = $5 >> $2 - 8 & 255; + $7 = HEAP32[(($1 << 2) + $16 | 0) + 144 >> 2]; + if ($7) { + break label$12; + } + $1 = 9; + } + $1 = jpeg_huff_decode($4 + 264 | 0, $5, $2, $16, $1); + if (($1 | 0) < 0) { + break label$5; + } + $5 = HEAP32[$4 + 272 >> 2]; + $2 = HEAP32[$4 + 276 >> 2]; + break label$11; + } + $1 = HEAPU8[($1 + $16 | 0) + 1168 | 0]; + $2 = $2 - $7 | 0; + } + $7 = $1 >>> 4 | 0; + label$15: { + label$16: { + label$17: { + switch ($1 & 15) { + default: + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 121; + FUNCTION_TABLE[HEAP32[$1 + 4 >> 2]]($0, -1); + + case 1: + if (($2 | 0) <= 0) { + if (!jpeg_fill_bit_buffer($4 + 264 | 0, $5, $2, 1)) { + break label$5; + } + $5 = HEAP32[$4 + 272 >> 2]; + $2 = HEAP32[$4 + 276 >> 2]; + } + $2 = $2 - 1 | 0; + $17 = $5 >>> $2 & 1 ? $13 : $15; + break label$16; + + case 0: + break label$17; + } + } + $17 = 0; + if (($7 | 0) == 15) { + break label$16; + } + $10 = 1 << $7; + if ($1 >>> 0 < 16) { + break label$8; + } + if (($2 | 0) < ($7 | 0)) { + if (!jpeg_fill_bit_buffer($4 + 264 | 0, $5, $2, $7)) { + break label$5; + } + $5 = HEAP32[$4 + 272 >> 2]; + $2 = HEAP32[$4 + 276 >> 2]; + } + $2 = $2 - $7 | 0; + $10 = (HEAP32[($7 << 2) + 42064 >> 2] & $5 >> $2) + $10 | 0; + if ($10) { + break label$8; + } + break label$15; + } + $11 = ($3 | 0) > ($12 | 0) ? $3 : $12; + $18 = $11 + 1 | 0; + label$22: { + while (1) { + $1 = $3; + $3 = (HEAP32[($3 << 2) + $14 >> 2] << 1) + $9 | 0; + label$24: { + if (HEAPU16[$3 >> 1]) { + if (($2 | 0) <= 0) { + if (!jpeg_fill_bit_buffer($4 + 264 | 0, $5, $2, 1)) { + break label$5; + } + $5 = HEAP32[$4 + 272 >> 2]; + $2 = HEAP32[$4 + 276 >> 2]; + } + $2 = $2 - 1 | 0; + if (!($5 >>> $2 & 1)) { + break label$24; + } + $10 = HEAP16[$3 >> 1]; + if ($13 & $10) { + break label$24; + } + HEAP16[$3 >> 1] = (($10 | 0) < 0 ? $15 : $13) + $10; + break label$24; + } + if (($7 | 0) <= 0) { + break label$22; + } + $7 = $7 - 1 | 0; + } + $3 = $1 + 1 | 0; + if (($1 | 0) != ($11 | 0)) { + continue; + } + break; + } + $1 = $18; + } + if ($17) { + $3 = HEAP32[($1 << 2) + $14 >> 2]; + HEAP16[($3 << 1) + $9 >> 1] = $17; + HEAP32[($8 << 2) + $4 >> 2] = $3; + $8 = $8 + 1 | 0; + } + $3 = $1 + 1 | 0; + if (($1 | 0) < ($12 | 0)) { + continue; + } + } + break; + } + $1 = 0; + break label$7; + } + $7 = ($3 | 0) > ($12 | 0) ? $3 : $12; + while (1) { + $1 = $3; + $3 = (HEAP32[($3 << 2) + $14 >> 2] << 1) + $9 | 0; + label$29: { + if (!HEAPU16[$3 >> 1]) { + break label$29; + } + if (($2 | 0) <= 0) { + if (!jpeg_fill_bit_buffer($4 + 264 | 0, $5, $2, 1)) { + break label$5; + } + $5 = HEAP32[$4 + 272 >> 2]; + $2 = HEAP32[$4 + 276 >> 2]; + } + $2 = $2 - 1 | 0; + if (!($5 >>> $2 & 1)) { + break label$29; + } + $11 = HEAP16[$3 >> 1]; + if ($11 & $13) { + break label$29; + } + HEAP16[$3 >> 1] = (($11 | 0) < 0 ? $15 : $13) + $11; + } + $3 = $1 + 1 | 0; + if (($1 | 0) != ($7 | 0)) { + continue; + } + break; + } + $1 = $10 - 1 | 0; + } + $3 = HEAP32[$0 + 24 >> 2]; + HEAP32[$3 >> 2] = HEAP32[$4 + 264 >> 2]; + HEAP32[$3 + 4 >> 2] = HEAP32[$4 + 268 >> 2]; + HEAP32[$6 + 20 >> 2] = $1; + HEAP32[$6 + 16 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $5; + } + HEAP32[$6 + 44 >> 2] = HEAP32[$6 + 44 >> 2] - 1; + $3 = 1; + break label$1; } - i17 = HEAP16[i1 >> 1] | 0; - if (i17 << 16 >> 16 > 0 ? (HEAP32[i3 + ((i17 << 16 >> 16) + -1 << 2) >> 2] | 0) == (i4 | 0) : 0) { - i17 = 6; - break; + if (!$8) { + $3 = 0; + break label$1; } - i15 = i15 + 1 | 0; - i1 = i1 + 2 | 0; - } - do if ((i17 | 0) == 6) if ((i15 | 0) != -1) { - i12 = i20 + 24 | 0; - HEAP32[i12 >> 2] = 1; - i13 = i20 + 28 | 0; - HEAP32[i13 >> 2] = i15; - i14 = i20 + 40028 | 0; - HEAP32[i14 >> 2] = i16; - i4 = 5; - i1 = i16; - i7 = i15; - i3 = 1; - while (1) { - i6 = i10 + ((Math_imul(i1, i11) | 0) + i7 << 1) | 0; - i5 = 0; - i1 = i4 + 5 | 0; + $1 = $8 - 1 | 0; + $3 = $8 & 3; + if ($3) { + $2 = 0; while (1) { - i4 = (i1 | 0) % 8 | 0; - if (i5 >>> 0 >= 8) { - i17 = 13; - break; - } - i1 = HEAP32[48 + (i4 << 2) >> 2] | 0; - i22 = Math_imul(i1, i11) | 0; - i2 = HEAP32[80 + (i4 << 2) >> 2] | 0; - if ((HEAP16[i6 + (i22 + i2 << 1) >> 1] | 0) > 0) break; - i5 = i5 + 1 | 0; - i1 = i4 + 1 | 0; - } - if ((i17 | 0) == 13) { - i17 = 0; - if ((i5 | 0) == 8) { - i17 = 15; - break; + $8 = $8 - 1 | 0; + HEAP16[(HEAP32[($8 << 2) + $4 >> 2] << 1) + $9 >> 1] = 0; + $2 = $2 + 1 | 0; + if (($3 | 0) != ($2 | 0)) { + continue; } - i2 = HEAP32[80 + (i4 << 2) >> 2] | 0; - i1 = HEAP32[48 + (i4 << 2) >> 2] | 0; - } - HEAP32[i20 + 28 + (i3 << 2) >> 2] = i2 + i7; - i5 = HEAP32[i12 >> 2] | 0; - HEAP32[i20 + 40028 + (i5 << 2) >> 2] = i1 + (HEAP32[i20 + 40028 + (i5 + -1 << 2) >> 2] | 0); - i5 = HEAP32[i12 >> 2] | 0; - i2 = i20 + 28 + (i5 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) == (i15 | 0) ? (HEAP32[i20 + 40028 + (i5 << 2) >> 2] | 0) == (i16 | 0) : 0) { - i17 = 18; - break; - } - i3 = i5 + 1 | 0; - HEAP32[i12 >> 2] = i3; - if ((i3 | 0) == 9999) { - i17 = 21; break; } - i1 = HEAP32[i20 + 40028 + (i5 << 2) >> 2] | 0; - i7 = HEAP32[i2 >> 2] | 0; } - if ((i17 | 0) == 15) { - _arLog(0, 3, 17964, i8); - i1 = -1; - break; - } else if ((i17 | 0) == 18) { - i3 = 0; - i1 = 0; - i2 = 1; - while (1) { - if ((i2 | 0) >= (i5 | 0)) break; - i22 = (HEAP32[i20 + 28 + (i2 << 2) >> 2] | 0) - i15 | 0; - i22 = Math_imul(i22, i22) | 0; - i11 = (HEAP32[i20 + 40028 + (i2 << 2) >> 2] | 0) - i16 | 0; - i22 = (Math_imul(i11, i11) | 0) + i22 | 0; - i11 = (i22 | 0) > (i1 | 0); - i3 = i11 ? i2 : i3; - i1 = i11 ? i22 : i1; - i2 = i2 + 1 | 0; - } - i1 = 0; - while (1) { - if ((i1 | 0) >= (i3 | 0)) break; - HEAP32[i18 + (i1 << 2) >> 2] = HEAP32[i20 + 28 + (i1 << 2) >> 2]; - HEAP32[i19 + (i1 << 2) >> 2] = HEAP32[i20 + 40028 + (i1 << 2) >> 2]; - i1 = i1 + 1 | 0; + $3 = 0; + if ($1 >>> 0 < 3) { + break label$1; + } + while (1) { + $2 = ($8 << 2) + $4 | 0; + HEAP16[(HEAP32[$2 - 4 >> 2] << 1) + $9 >> 1] = 0; + HEAP16[(HEAP32[$2 - 8 >> 2] << 1) + $9 >> 1] = 0; + HEAP16[(HEAP32[$2 - 12 >> 2] << 1) + $9 >> 1] = 0; + $8 = $8 - 4 | 0; + HEAP16[(HEAP32[($8 << 2) + $4 >> 2] << 1) + $9 >> 1] = 0; + if ($8) { + continue; } - i2 = i3; - i1 = i5; - while (1) { - if ((i2 | 0) >= (i1 | 0)) break; - i1 = i2 - i3 | 0; - HEAP32[i20 + 28 + (i1 << 2) >> 2] = HEAP32[i20 + 28 + (i2 << 2) >> 2]; - HEAP32[i20 + 40028 + (i1 << 2) >> 2] = HEAP32[i20 + 40028 + (i2 << 2) >> 2]; - i2 = i2 + 1 | 0; - i1 = HEAP32[i12 >> 2] | 0; - } - i1 = 0; - while (1) { - if ((i1 | 0) >= (i3 | 0)) break; - i22 = i1 - i3 | 0; - HEAP32[i20 + 28 + ((HEAP32[i12 >> 2] | 0) + i22 << 2) >> 2] = HEAP32[i18 + (i1 << 2) >> 2]; - HEAP32[i20 + 40028 + ((HEAP32[i12 >> 2] | 0) + i22 << 2) >> 2] = HEAP32[i19 + (i1 << 2) >> 2]; - i1 = i1 + 1 | 0; - } - HEAP32[i20 + 28 + (HEAP32[i12 >> 2] << 2) >> 2] = HEAP32[i13 >> 2]; - HEAP32[i20 + 40028 + (HEAP32[i12 >> 2] << 2) >> 2] = HEAP32[i14 >> 2]; - HEAP32[i12 >> 2] = (HEAP32[i12 >> 2] | 0) + 1; - i1 = 0; - break; - } else if ((i17 | 0) == 21) { - _arLog(0, 3, 17971, i9); - i1 = -1; break; } - } else i17 = 7; while (0); - if ((i17 | 0) == 7) { - _arLog(0, 3, 17957, i5); - i1 = -1; - } - STACKTOP = i21; - return i1 | 0; -} - -function _jpeg_idct_float(i2, i3, i5, i11, i12) { - i2 = i2 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - var i1 = 0, d4 = 0.0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i13 = 0, d14 = 0.0, d15 = 0.0, d16 = 0.0, d17 = 0.0, d18 = 0.0, d19 = 0.0, d20 = 0.0, d21 = 0.0, d22 = 0.0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - i1 = i13; - i9 = HEAP32[i2 + 324 >> 2] | 0; - i7 = 8; - i8 = i1; - i6 = HEAP32[i3 + 80 >> 2] | 0; - while (1) { - if (!i7) break; - i3 = HEAP16[i5 + 16 >> 1] | 0; - i2 = HEAP16[i5 + 32 >> 1] | 0; - if (!((i3 | i2) << 16 >> 16)) if (((((HEAP16[i5 + 48 >> 1] | 0) == 0 ? (HEAP16[i5 + 64 >> 1] | 0) == 0 : 0) ? (HEAP16[i5 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[i5 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[i5 + 112 >> 1] | 0) == 0 : 0) { - d4 = +HEAPF32[i6 >> 2] * +(HEAP16[i5 >> 1] | 0); - HEAPF32[i8 >> 2] = d4; - HEAPF32[i8 + 32 >> 2] = d4; - HEAPF32[i8 + 64 >> 2] = d4; - HEAPF32[i8 + 96 >> 2] = d4; - HEAPF32[i8 + 128 >> 2] = d4; - HEAPF32[i8 + 160 >> 2] = d4; - HEAPF32[i8 + 192 >> 2] = d4; - i2 = 56; - } else { - i2 = 0; - i10 = 10; - } else i10 = 10; - if ((i10 | 0) == 10) { - i10 = 0; - d14 = +HEAPF32[i6 >> 2] * +(HEAP16[i5 >> 1] | 0); - d20 = +HEAPF32[i6 + 64 >> 2] * +(i2 << 16 >> 16); - d19 = +HEAPF32[i6 + 128 >> 2] * +(HEAP16[i5 + 64 >> 1] | 0); - d16 = +HEAPF32[i6 + 192 >> 2] * +(HEAP16[i5 + 96 >> 1] | 0); - d18 = d14 + d19; - d19 = d14 - d19; - d14 = d20 + d16; - d16 = (d20 - d16) * 1.4142135381698608 - d14; - d20 = d18 + d14; - d14 = d18 - d14; - d18 = d19 + d16; - d16 = d19 - d16; - d19 = +HEAPF32[i6 + 32 >> 2] * +(i3 << 16 >> 16); - d17 = +HEAPF32[i6 + 96 >> 2] * +(HEAP16[i5 + 48 >> 1] | 0); - d22 = +HEAPF32[i6 + 160 >> 2] * +(HEAP16[i5 + 80 >> 1] | 0); - d21 = +HEAPF32[i6 + 224 >> 2] * +(HEAP16[i5 + 112 >> 1] | 0); - d15 = d17 + d22; - d17 = d22 - d17; - d22 = d19 + d21; - d21 = d19 - d21; - d19 = d15 + d22; - d4 = (d17 + d21) * 1.8477590084075928; - d17 = d4 - d17 * 2.613126039505005 - d19; - d15 = (d22 - d15) * 1.4142135381698608 - d17; - d4 = d21 * 1.0823922157287598 - d4 + d15; - HEAPF32[i8 >> 2] = d20 + d19; - HEAPF32[i8 + 224 >> 2] = d20 - d19; - HEAPF32[i8 + 32 >> 2] = d18 + d17; - HEAPF32[i8 + 192 >> 2] = d18 - d17; - HEAPF32[i8 + 64 >> 2] = d16 + d15; - HEAPF32[i8 + 160 >> 2] = d16 - d15; - HEAPF32[i8 + 128 >> 2] = d14 + d4; - d4 = d14 - d4; - i2 = 24; - } - HEAPF32[i8 + (i2 << 2) >> 2] = d4; - i7 = i7 + -1 | 0; - i8 = i8 + 4 | 0; - i6 = i6 + 4 | 0; - i5 = i5 + 2 | 0; - } - i3 = i9 + 128 | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == 8) break; - i10 = (HEAP32[i11 + (i2 << 2) >> 2] | 0) + i12 | 0; - d15 = +HEAPF32[i1 >> 2]; - d16 = +HEAPF32[i1 + 16 >> 2]; - d17 = d15 + d16; - d16 = d15 - d16; - d15 = +HEAPF32[i1 + 8 >> 2]; - d19 = +HEAPF32[i1 + 24 >> 2]; - d21 = d15 + d19; - d19 = (d15 - d19) * 1.4142135381698608 - d21; - d15 = d17 + d21; - d21 = d17 - d21; - d17 = d16 + d19; - d19 = d16 - d19; - d16 = +HEAPF32[i1 + 20 >> 2]; - d18 = +HEAPF32[i1 + 12 >> 2]; - d20 = d16 + d18; - d18 = d16 - d18; - d16 = +HEAPF32[i1 + 4 >> 2]; - d14 = +HEAPF32[i1 + 28 >> 2]; - d4 = d16 + d14; - d14 = d16 - d14; - d16 = d20 + d4; - d22 = (d18 + d14) * 1.8477590084075928; - d18 = d22 - d18 * 2.613126039505005 - d16; - d20 = (d4 - d20) * 1.4142135381698608 - d18; - d22 = d14 * 1.0823922157287598 - d22 + d20; - HEAP8[i10 >> 0] = HEAP8[i3 + ((~~(d15 + d16) + 4 | 0) >>> 3 & 1023) >> 0] | 0; - HEAP8[i10 + 7 >> 0] = HEAP8[i3 + ((~~(d15 - d16) + 4 | 0) >>> 3 & 1023) >> 0] | 0; - HEAP8[i10 + 1 >> 0] = HEAP8[i3 + ((~~(d17 + d18) + 4 | 0) >>> 3 & 1023) >> 0] | 0; - HEAP8[i10 + 6 >> 0] = HEAP8[i3 + ((~~(d17 - d18) + 4 | 0) >>> 3 & 1023) >> 0] | 0; - HEAP8[i10 + 2 >> 0] = HEAP8[i3 + ((~~(d19 + d20) + 4 | 0) >>> 3 & 1023) >> 0] | 0; - HEAP8[i10 + 5 >> 0] = HEAP8[i3 + ((~~(d19 - d20) + 4 | 0) >>> 3 & 1023) >> 0] | 0; - HEAP8[i10 + 4 >> 0] = HEAP8[i3 + ((~~(d21 + d22) + 4 | 0) >>> 3 & 1023) >> 0] | 0; - HEAP8[i10 + 3 >> 0] = HEAP8[i3 + ((~~(d21 - d22) + 4 | 0) >>> 3 & 1023) >> 0] | 0; - i2 = i2 + 1 | 0; - i1 = i1 + 32 | 0; - } - STACKTOP = i13; - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_116parse_local_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i5) { - i1 = i1 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i6 = 0, i7 = 0, i8 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i7; - L1 : do if (((((i1 | 0) != (i4 | 0) ? (HEAP8[i1 >> 0] | 0) == 90 : 0) ? (i8 = i1 + 1 | 0, i2 = __ZN10__cxxabiv112_GLOBAL__N_114parse_encodingINS0_2DbEEEPKcS4_S4_RT_(i8, i4, i5) | 0, !((i2 | 0) == (i8 | 0) | (i2 | 0) == (i4 | 0))) : 0) ? (HEAP8[i2 >> 0] | 0) == 69 : 0) ? (i3 = i2 + 1 | 0, (i3 | 0) != (i4 | 0)) : 0) switch (HEAP8[i3 >> 0] | 0) { - case 115: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_119parse_discriminatorEPKcS2_(i2 + 2 | 0, i4) | 0; - i2 = HEAP32[i5 + 4 >> 2] | 0; - if ((HEAP32[i5 >> 2] | 0) == (i2 | 0)) break L1; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i2 + -24 | 0, 51028) | 0; - break L1; + } + __stack_pointer = $4 + 288 | 0; + return $3 | 0; +} + +function vision__GaussianScaleSpacePyramid__locate_28int__2c_20int__2c_20float_29_20const($0, $1, $2, $3) { + var $4 = 0, $5 = Math_fround(0), $6 = 0, $7 = 0; + $5 = floor_28float_29(float_20vision__log2_float__28float_29($3)); + label$1: { + if (Math_fround(Math_abs($5)) < Math_fround(2147483648)) { + $4 = ~~$5; + break label$1; } - case 100: - { - i2 = i2 + 2 | 0; - if ((i2 | 0) == (i4 | 0)) break L1; - i2 = __ZN10__cxxabiv112_GLOBAL__N_112parse_numberEPKcS2_(i2, i4) | 0; - if ((i2 | 0) == (i4 | 0)) break L1; - if ((HEAP8[i2 >> 0] | 0) != 95) break L1; - i8 = i2 + 1 | 0; - i3 = __ZN10__cxxabiv112_GLOBAL__N_110parse_nameINS0_2DbEEEPKcS4_S4_RT_(i8, i4, i5) | 0; - i4 = i5 + 4 | 0; - if ((i3 | 0) == (i8 | 0)) { - i3 = HEAP32[i4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i8 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i8 * 24 | 0) | 0); - i2 = i8; - } - HEAP32[i4 >> 2] = i3 + -24; - break L1; - } - i2 = HEAP32[i4 >> 2] | 0; - if (((i2 - (HEAP32[i5 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i6, i2 + -24 | 0); - i2 = HEAP32[i4 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i8 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i8 * 24 | 0) | 0); - i1 = i8; - } - HEAP32[i4 >> 2] = i2 + -24; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i2 + -48 | 0, 49741) | 0; - i1 = HEAP8[i6 + 11 >> 0] | 0; - i8 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i4 >> 2] | 0) + -24 | 0, i8 ? HEAP32[i6 >> 2] | 0 : i6, i8 ? HEAP32[i6 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - i1 = i3; - break L1; - } - default: - { - i2 = __ZN10__cxxabiv112_GLOBAL__N_110parse_nameINS0_2DbEEEPKcS4_S4_RT_(i3, i4, i5) | 0; - if ((i2 | 0) == (i3 | 0)) { - i3 = i5 + 4 | 0; - i4 = HEAP32[i3 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i8 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4 + (i8 * 24 | 0) | 0); - i2 = i8; - } - HEAP32[i3 >> 2] = i4 + -24; - break L1; - } - i1 = __ZN10__cxxabiv112_GLOBAL__N_119parse_discriminatorEPKcS2_(i2, i4) | 0; - i4 = i5 + 4 | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (((i2 - (HEAP32[i5 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i6, i2 + -24 | 0); - i3 = HEAP32[i4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i8 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i8 * 24 | 0) | 0); - i2 = i8; - } - HEAP32[i4 >> 2] = i3 + -24; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i3 + -48 | 0, 49741) | 0; - i8 = HEAP8[i6 + 11 >> 0] | 0; - i5 = i8 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i4 >> 2] | 0) + -24 | 0, i5 ? HEAP32[i6 >> 2] | 0 : i6, i5 ? HEAP32[i6 + 4 >> 2] | 0 : i8 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - break L1; - } - } while (0); - STACKTOP = i7; - return i1 | 0; -} - -function ___cxa_demangle(i8, i1, i11, i14) { - i8 = i8 | 0; - i1 = i1 | 0; - i11 = i11 | 0; - i14 = i14 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i12 = 0, i13 = 0, i15 = 0, i16 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 4192 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(4192); - i12 = i17 + 4176 | 0; - i15 = i17; - i16 = i17 + 4112 | 0; - if ((i8 | 0) != 0 ? (i2 = (i1 | 0) != 0, i13 = (i11 | 0) == 0, !(i2 & i13)) : 0) { - if (i2) i9 = HEAP32[i11 >> 2] | 0; else i9 = 0; - __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EEC2Ev(i15); - __ZN10__cxxabiv112_GLOBAL__N_12DbC2ILm4096EEERNS0_5arenaIXT_EEE(i16, i15); - i4 = i16 + 48 | 0; - i3 = i16 + 61 | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - HEAP32[i4 + 8 >> 2] = 0; - HEAP8[i4 + 12 >> 0] = 0; - HEAP8[i3 >> 0] = 1; - i4 = i16 + 32 | 0; - i5 = i16 + 36 | 0; - i2 = HEAP32[i5 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i16 + 40 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS0_11string_pairENS1_IS4_Lm4096EEEEELm4096EEC2ERNS0_5arenaILm4096EEE(i12, i15); - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 16; - } else __ZNSt3__26vectorINS0_INS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEENS4_IS8_Lm4096EEEE24__emplace_back_slow_pathIJRNS2_5arenaILm4096EEEEEEvDpOT_(i4, i15); - i6 = i16 + 62 | 0; - HEAP8[i6 >> 0] = 0; - HEAP8[i16 + 63 >> 0] = 1; - HEAP32[i12 >> 2] = 0; - i7 = i8 + (_strlen(i8) | 0) | 0; - __ZN10__cxxabiv112_GLOBAL__N_18demangleINS0_2DbEEEvPKcS4_RT_Ri(i8, i7, i16, i12); - i2 = HEAP32[i12 >> 2] | 0; - do if (!((i2 | 0) != 0 | (HEAP8[i6 >> 0] | 0) == 0)) { - i4 = HEAP32[i4 >> 2] | 0; - if ((i4 | 0) != (HEAP32[i5 >> 2] | 0) ? (HEAP32[i4 >> 2] | 0) != (HEAP32[i4 + 4 >> 2] | 0) : 0) { - HEAP8[i6 >> 0] = 0; - HEAP8[i3 >> 0] = 0; - i3 = HEAP32[i16 >> 2] | 0; - i4 = i16 + 4 | 0; - i2 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i2 | 0) == (i3 | 0)) break; - i5 = i2 + -24 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i2 = i5; - } - HEAP32[i4 >> 2] = i3; - i3 = HEAP32[i16 + 16 >> 2] | 0; - i4 = i16 + 20 | 0; - i2 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i2 | 0) == (i3 | 0)) break; - i5 = i2 + -16 | 0; - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i5); - i2 = i5; - } - HEAP32[i4 >> 2] = i3; - __ZN10__cxxabiv112_GLOBAL__N_18demangleINS0_2DbEEEvPKcS4_RT_Ri(i8, i7, i16, i12); - if (!(HEAP8[i6 >> 0] | 0)) { - i2 = HEAP32[i12 >> 2] | 0; - i10 = 22; - break; - } else { - HEAP32[i12 >> 2] = -2; - i1 = 0; - i2 = -2; - break; - } - } else i10 = 23; - } else i10 = 22; while (0); - if ((i10 | 0) == 22) if (!i2) i10 = 23; else i1 = 0; - do if ((i10 | 0) == 23) { - i3 = i16 + 4 | 0; - i4 = __ZNK10__cxxabiv112_GLOBAL__N_111string_pair4sizeEv((HEAP32[i3 >> 2] | 0) + -24 | 0) | 0; - i2 = i4 + 1 | 0; - if (i2 >>> 0 > i9 >>> 0) { - i1 = _realloc(i1, i2) | 0; - if (!i1) { - HEAP32[i12 >> 2] = -1; - i1 = 0; - i2 = -1; - break; - } - if (!i13) HEAP32[i11 >> 2] = i2; - } else if (!i1) { - i1 = 0; - i2 = 0; - break; + $4 = -2147483648; + } + HEAP32[$1 >> 2] = $4; + $3 = float_20vision__round_float__28float_29(Math_fround(log_28float_29(Math_fround($3 / Math_fround(1 << $4))) * HEAPF32[$0 + 28 >> 2])); + label$3: { + if (Math_fround(Math_abs($3)) < Math_fround(2147483648)) { + $4 = ~~$3; + break label$3; + } + $4 = -2147483648; + } + HEAP32[$2 >> 2] = $4; + if ((HEAP32[$0 + 20 >> 2] - 1 | 0) == ($4 | 0)) { + HEAP32[$1 >> 2] = HEAP32[$1 >> 2] + 1; + HEAP32[$2 >> 2] = 0; + $4 = 0; + } + $6 = HEAP32[$1 >> 2]; + label$6: { + label$7: { + if (($6 | 0) < 0) { + HEAP32[$1 >> 2] = 0; + $4 = 0; + break label$7; } - i13 = HEAP32[i3 >> 2] | 0; - i11 = i13 + -12 | 0; - i2 = HEAP8[i11 + 11 >> 0] | 0; - i12 = i2 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i13 + -24 | 0, i12 ? HEAP32[i11 >> 2] | 0 : i11, i12 ? HEAP32[i13 + -8 >> 2] | 0 : i2 & 255) | 0; - i2 = (HEAP32[i3 >> 2] | 0) + -24 | 0; - if ((HEAP8[i2 + 11 >> 0] | 0) < 0) i2 = HEAP32[i2 >> 2] | 0; - _memcpy(i1 | 0, i2 | 0, i4 | 0) | 0; - HEAP8[i1 + i4 >> 0] = 0; - i2 = 0; - } while (0); - if (i14 | 0) HEAP32[i14 >> 2] = i2; - __ZN10__cxxabiv112_GLOBAL__N_12DbD2Ev(i16); - __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EED2Ev(i15); - } else if (!i14) i1 = 0; else { - HEAP32[i14 >> 2] = -3; - i1 = 0; - } - STACKTOP = i17; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_120parse_template_paramINS0_2DbEEEPKcS4_S4_RT_(i1, i5, i11) { - i1 = i1 | 0; - i5 = i5 | 0; - i11 = i11 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i10 = i12 + 16 | 0; - i9 = i12; - L1 : do if ((i5 - i1 | 0) > 1 ? (HEAP8[i1 >> 0] | 0) == 84 : 0) { - i2 = HEAP8[i1 + 1 >> 0] | 0; - if (i2 << 24 >> 24 == 95) { - i2 = HEAP32[i11 + 36 >> 2] | 0; - if ((HEAP32[i11 + 32 >> 2] | 0) == (i2 | 0)) break; - i3 = HEAP32[i2 + -16 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i2 + -12 >> 2] | 0)) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm3EEERAT__Kc(i10); - i2 = i11 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i11 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i10); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i11, i10); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i10); - HEAP8[i11 + 62 >> 0] = 1; - i1 = i1 + 2 | 0; - break; + $7 = HEAP32[$0 + 16 >> 2]; + if (($7 | 0) > ($6 | 0)) { + break label$6; } - i4 = HEAP32[i3 + 4 >> 2] | 0; - i5 = i11 + 4 | 0; - i6 = i11 + 8 | 0; - i2 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i2 | 0) == (i4 | 0)) break; - i3 = HEAP32[i5 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i6 >> 2] | 0)) __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIRKS3_EEvOT_(i11, i2); else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i3, i2); - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 24; + HEAP32[$1 >> 2] = $7 - 1; + $4 = HEAP32[$0 + 20 >> 2] - 1 | 0; + } + HEAP32[$2 >> 2] = $4; + } + label$9: { + label$10: { + label$11: { + $1 = HEAP32[$1 >> 2]; + if (($1 | 0) >= 0) { + if (HEAP32[$0 + 16 >> 2] <= ($1 | 0)) { + break label$11; + } + if (($4 | 0) < 0) { + break label$10; + } + if (HEAP32[$0 + 20 >> 2] <= ($4 | 0)) { + break label$9; + } + return; } - i2 = i2 + 24 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 9889), 10311), 3756), 268), 4404), 11083), 16); + abort(); + abort(); } - i1 = i1 + 2 | 0; - break; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 11743), 10311), 3756), 269), 4404), 13744), 16); + abort(); + abort(); } - i2 = (i2 << 24 >> 24) + -48 | 0; - if (i2 >>> 0 < 10) { - i8 = i1 + 2 | 0; - while (1) { - if ((i8 | 0) == (i5 | 0)) break L1; - i3 = HEAP8[i8 >> 0] | 0; - i4 = (i3 << 24 >> 24) + -48 | 0; - if (i4 >>> 0 >= 10) break; - i2 = i4 + (i2 * 10 | 0) | 0; - i8 = i8 + 1 | 0; - } - if (i3 << 24 >> 24 == 95 ? (i7 = HEAP32[i11 + 36 >> 2] | 0, (HEAP32[i11 + 32 >> 2] | 0) != (i7 | 0)) : 0) { - i2 = i2 + 1 | 0; - i5 = HEAP32[i7 + -16 >> 2] | 0; - i6 = i5; - if (i2 >>> 0 >= (HEAP32[i7 + -12 >> 2] | 0) - i5 >> 4 >>> 0) { - i3 = i8 + 1 | 0; - HEAP32[i9 >> 2] = 0; - HEAP32[i9 + 4 >> 2] = 0; - HEAP32[i9 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(i9, i1, i3); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i10, i9); - i1 = i11 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i11 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i2, i10); - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i11, i10); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - HEAP8[i11 + 62 >> 0] = 1; - i1 = i3; - break; - } - i3 = HEAP32[i6 + (i2 << 4) + 4 >> 2] | 0; - i4 = i11 + 4 | 0; - i5 = i11 + 8 | 0; - i1 = HEAP32[i6 + (i2 << 4) >> 2] | 0; - while (1) { - if ((i1 | 0) == (i3 | 0)) break; - i2 = HEAP32[i4 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i5 >> 2] | 0)) __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIRKS3_EEvOT_(i11, i1); else { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i2, i1); - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 24; - } - i1 = i1 + 24 | 0; - } - i1 = i8 + 1 | 0; - } - } - } while (0); - STACKTOP = i12; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_127parse_reinterpret_cast_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - i8 = i15 + 88 | 0; - i9 = i15 + 64 | 0; - i10 = i15 + 36 | 0; - i11 = i15 + 48 | 0; - i12 = i15 + 24 | 0; - i13 = i15 + 12 | 0; - i14 = i15; - if ((((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 114 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 99 : 0) ? (i16 = i1 + 2 | 0, i4 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i16, i2, i3) | 0, (i4 | 0) != (i16 | 0)) : 0) ? (i6 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i4, i2, i3) | 0, (i6 | 0) != (i4 | 0)) : 0) ? (i7 = i3 + 4 | 0, i5 = HEAP32[i7 >> 2] | 0, ((i5 - (HEAP32[i3 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i8, i5 + -24 | 0); - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i16 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i16 * 24 | 0) | 0); - i1 = i16; - } - HEAP32[i7 >> 2] = i2 + -24; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i14, i2 + -48 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i14, 0, 49919) | 0; - HEAP32[i13 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i13 + 4 >> 2] = HEAP32[i14 + 4 >> 2]; - HEAP32[i13 + 8 >> 2] = HEAP32[i14 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i14 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i13, 49916) | 0; - HEAP32[i12 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i12 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i12 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i13 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i8 + 11 >> 0] | 0; - i16 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i12, i16 ? HEAP32[i8 >> 2] | 0 : i8, i16 ? HEAP32[i8 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i11 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i11, 49667) | 0; - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i9, i10); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i7 >> 2] | 0) + -24 | 0, i9); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - i1 = i6; - } - STACKTOP = i15; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_123parse_dynamic_cast_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - i8 = i15 + 88 | 0; - i9 = i15 + 64 | 0; - i10 = i15 + 36 | 0; - i11 = i15 + 48 | 0; - i12 = i15 + 24 | 0; - i13 = i15 + 12 | 0; - i14 = i15; - if ((((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 100 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 99 : 0) ? (i16 = i1 + 2 | 0, i4 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i16, i2, i3) | 0, (i4 | 0) != (i16 | 0)) : 0) ? (i6 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i4, i2, i3) | 0, (i6 | 0) != (i4 | 0)) : 0) ? (i7 = i3 + 4 | 0, i5 = HEAP32[i7 >> 2] | 0, ((i5 - (HEAP32[i3 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i8, i5 + -24 | 0); - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i16 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i16 * 24 | 0) | 0); - i1 = i16; - } - HEAP32[i7 >> 2] = i2 + -24; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i14, i2 + -48 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i14, 0, 50819) | 0; - HEAP32[i13 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i13 + 4 >> 2] = HEAP32[i14 + 4 >> 2]; - HEAP32[i13 + 8 >> 2] = HEAP32[i14 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i14 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i13, 49916) | 0; - HEAP32[i12 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i12 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i12 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i13 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i8 + 11 >> 0] | 0; - i16 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i12, i16 ? HEAP32[i8 >> 2] | 0 : i8, i16 ? HEAP32[i8 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i11 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i11, 49667) | 0; - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i9, i10); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i7 >> 2] | 0) + -24 | 0, i9); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - i1 = i6; - } - STACKTOP = i15; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_122parse_static_cast_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - i8 = i15 + 88 | 0; - i9 = i15 + 64 | 0; - i10 = i15 + 36 | 0; - i11 = i15 + 48 | 0; - i12 = i15 + 24 | 0; - i13 = i15 + 12 | 0; - i14 = i15; - if ((((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 115 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 99 : 0) ? (i16 = i1 + 2 | 0, i4 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i16, i2, i3) | 0, (i4 | 0) != (i16 | 0)) : 0) ? (i6 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i4, i2, i3) | 0, (i6 | 0) != (i4 | 0)) : 0) ? (i7 = i3 + 4 | 0, i5 = HEAP32[i7 >> 2] | 0, ((i5 - (HEAP32[i3 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i8, i5 + -24 | 0); - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i16 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i16 * 24 | 0) | 0); - i1 = i16; - } - HEAP32[i7 >> 2] = i2 + -24; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i14, i2 + -48 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i14, 0, 49903) | 0; - HEAP32[i13 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i13 + 4 >> 2] = HEAP32[i14 + 4 >> 2]; - HEAP32[i13 + 8 >> 2] = HEAP32[i14 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i14 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i13, 49916) | 0; - HEAP32[i12 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i12 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i12 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i13 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i8 + 11 >> 0] | 0; - i16 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i12, i16 ? HEAP32[i8 >> 2] | 0 : i8, i16 ? HEAP32[i8 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i11 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i11, 49667) | 0; - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i9, i10); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i7 >> 2] | 0) + -24 | 0, i9); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - i1 = i6; - } - STACKTOP = i15; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_121parse_const_cast_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - i8 = i15 + 88 | 0; - i9 = i15 + 64 | 0; - i10 = i15 + 36 | 0; - i11 = i15 + 48 | 0; - i12 = i15 + 24 | 0; - i13 = i15 + 12 | 0; - i14 = i15; - if ((((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 99 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 99 : 0) ? (i16 = i1 + 2 | 0, i4 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i16, i2, i3) | 0, (i4 | 0) != (i16 | 0)) : 0) ? (i6 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i4, i2, i3) | 0, (i6 | 0) != (i4 | 0)) : 0) ? (i7 = i3 + 4 | 0, i5 = HEAP32[i7 >> 2] | 0, ((i5 - (HEAP32[i3 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i8, i5 + -24 | 0); - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i16 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i16 * 24 | 0) | 0); - i1 = i16; - } - HEAP32[i7 >> 2] = i2 + -24; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i14, i2 + -48 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i14, 0, 50836) | 0; - HEAP32[i13 >> 2] = HEAP32[i14 >> 2]; - HEAP32[i13 + 4 >> 2] = HEAP32[i14 + 4 >> 2]; - HEAP32[i13 + 8 >> 2] = HEAP32[i14 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i14 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i13, 49916) | 0; - HEAP32[i12 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i12 + 4 >> 2] = HEAP32[i13 + 4 >> 2]; - HEAP32[i12 + 8 >> 2] = HEAP32[i13 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i13 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i8 + 11 >> 0] | 0; - i16 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i12, i16 ? HEAP32[i8 >> 2] | 0 : i8, i16 ? HEAP32[i8 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i11 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i11 + 4 >> 2] = HEAP32[i12 + 4 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i12 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i12 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i11, 49667) | 0; - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i9, i10); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i7 >> 2] | 0) + -24 | 0, i9); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i13); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i14); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - i1 = i6; - } - STACKTOP = i15; - return i1 | 0; -} - -function __ZN6vision20BinaryFeatureMatcherILi96EE5matchEPKNS_18BinaryFeatureStoreES4_(i10, i11, i14) { - i10 = i10 | 0; - i11 = i11 | 0; - i14 = i14 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i12 = 0, i13 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i15 = i17; - i16 = i10 + 4 | 0; - HEAP32[i16 >> 2] = HEAP32[i10 >> 2]; - do if ((__ZNK6vision18BinaryFeatureStore4sizeEv(i11) | 0) != 0 ? (__ZNK6vision18BinaryFeatureStore4sizeEv(i14) | 0) != 0 : 0) { - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm(i10, __ZNK6vision18BinaryFeatureStore4sizeEv(i11) | 0); - i12 = i10 + 8 | 0; - i13 = i10 + 12 | 0; - i9 = 0; - while (1) { - if (i9 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv(i11) | 0) >>> 0) break; - i6 = __ZNK6vision18BinaryFeatureStore7featureEm(i11, i9) | 0; - i7 = (__ZNK6vision18BinaryFeatureStore5pointEm(i11, i9) | 0) + 16 | 0; - i3 = 0; - i4 = -1; - i1 = 2147483647; - i2 = -1; - while (1) { - if (i3 >>> 0 >= (__ZNK6vision18BinaryFeatureStore4sizeEv(i14) | 0) >>> 0) break; - i18 = HEAP8[i7 >> 0] | 0; - i5 = (__ZNK6vision18BinaryFeatureStore5pointEm(i14, i3) | 0) + 16 | 0; - if (i18 << 24 >> 24 == (HEAP8[i5 >> 0] | 0)) { - i18 = __ZN6vision15HammingDistanceILi96EEEjPKhS2_(i6, __ZNK6vision18BinaryFeatureStore7featureEm(i14, i3) | 0) | 0; - i19 = i18 >>> 0 < i4 >>> 0; - i5 = i19 ? i18 : i4; - i1 = i19 ? i3 : i1; - i2 = i19 ? i4 : i18 >>> 0 < i2 >>> 0 ? i18 : i2; - } else i5 = i4; - i3 = i3 + 1 | 0; - i4 = i5; - } - do if ((i4 | 0) != -1) { - if ((i2 | 0) == -1) { - __ZN6vision7match_tC2Eii(i15, i9, i1); - i1 = HEAP32[i16 >> 2] | 0; - if (i1 >>> 0 < (HEAP32[i12 >> 2] | 0) >>> 0) { - i7 = i15; - i18 = HEAP32[i7 + 4 >> 2] | 0; - i19 = i1; - HEAP32[i19 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i19 + 4 >> 2] = i18; - HEAP32[i16 >> 2] = (HEAP32[i16 >> 2] | 0) + 8; - } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_(i10, i15); - break; - } - if (+(i4 >>> 0) / +(i2 >>> 0) < +HEAPF32[i13 >> 2]) { - __ZN6vision7match_tC2Eii(i15, i9, i1); - i1 = HEAP32[i16 >> 2] | 0; - if (i1 >>> 0 < (HEAP32[i12 >> 2] | 0) >>> 0) { - i7 = i15; - i18 = HEAP32[i7 + 4 >> 2] | 0; - i19 = i1; - HEAP32[i19 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i19 + 4 >> 2] = i18; - HEAP32[i16 >> 2] = (HEAP32[i16 >> 2] | 0) + 8; - } else __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_(i10, i15); - } - } while (0); - i9 = i9 + 1 | 0; - } - i19 = (HEAP32[i16 >> 2] | 0) - (HEAP32[i10 >> 2] | 0) >> 3; - if (i19 >>> 0 > (__ZNK6vision18BinaryFeatureStore4sizeEv(i11) | 0) >>> 0) { - i19 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 29606) | 0, 29361) | 0, 33528) | 0, 112) | 0, 33535) | 0, 29666) | 0; - __ZNKSt3__28ios_base6getlocEv(i15, i19 + (HEAP32[(HEAP32[i19 >> 2] | 0) + -12 >> 2] | 0) | 0); - i18 = __ZNKSt3__26locale9use_facetERNS0_2idE(i15, 57916) | 0; - i18 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i18 >> 2] | 0) + 28 >> 2] & 63](i18, 10) | 0; - __ZNSt3__26localeD2Ev(i15); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i19, i18) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i19) | 0; - _abort(); - } else { - i8 = (HEAP32[i16 >> 2] | 0) - (HEAP32[i10 >> 2] | 0) >> 3; - break; - } - } else i8 = 0; while (0); - STACKTOP = i17; - return i8 | 0; -} - -function _try_realloc_chunk(i12, i9) { - i12 = i12 | 0; - i9 = i9 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0; - i10 = i12 + 4 | 0; - i11 = HEAP32[i10 >> 2] | 0; - i1 = i11 & -8; - i6 = i12 + i1 | 0; - if (!(i11 & 3)) { - if (i9 >>> 0 < 256) { - i12 = 0; - return i12 | 0; - } - if (i1 >>> 0 >= (i9 + 4 | 0) >>> 0 ? (i1 - i9 | 0) >>> 0 <= HEAP32[14208] << 1 >>> 0 : 0) return i12 | 0; - i12 = 0; - return i12 | 0; - } - if (i1 >>> 0 >= i9 >>> 0) { - i1 = i1 - i9 | 0; - if (i1 >>> 0 <= 15) return i12 | 0; - i8 = i12 + i9 | 0; - HEAP32[i10 >> 2] = i11 & 1 | i9 | 2; - HEAP32[i8 + 4 >> 2] = i1 | 3; - i11 = i6 + 4 | 0; - HEAP32[i11 >> 2] = HEAP32[i11 >> 2] | 1; - _dispose_chunk(i8, i1); - return i12 | 0; - } - if ((HEAP32[14094] | 0) == (i6 | 0)) { - i8 = (HEAP32[14091] | 0) + i1 | 0; - i1 = i8 - i9 | 0; - i2 = i12 + i9 | 0; - if (i8 >>> 0 <= i9 >>> 0) { - i12 = 0; - return i12 | 0; - } - HEAP32[i10 >> 2] = i11 & 1 | i9 | 2; - HEAP32[i2 + 4 >> 2] = i1 | 1; - HEAP32[14094] = i2; - HEAP32[14091] = i1; - return i12 | 0; - } - if ((HEAP32[14093] | 0) == (i6 | 0)) { - i2 = (HEAP32[14090] | 0) + i1 | 0; - if (i2 >>> 0 < i9 >>> 0) { - i12 = 0; - return i12 | 0; - } - i1 = i2 - i9 | 0; - if (i1 >>> 0 > 15) { - i8 = i12 + i9 | 0; - i2 = i12 + i2 | 0; - HEAP32[i10 >> 2] = i11 & 1 | i9 | 2; - HEAP32[i8 + 4 >> 2] = i1 | 1; - HEAP32[i2 >> 2] = i1; - i2 = i2 + 4 | 0; - HEAP32[i2 >> 2] = HEAP32[i2 >> 2] & -2; - i2 = i8; - } else { - HEAP32[i10 >> 2] = i11 & 1 | i2 | 2; - i2 = i12 + i2 + 4 | 0; - HEAP32[i2 >> 2] = HEAP32[i2 >> 2] | 1; - i2 = 0; - i1 = 0; - } - HEAP32[14090] = i1; - HEAP32[14093] = i2; - return i12 | 0; - } - i2 = HEAP32[i6 + 4 >> 2] | 0; - if (i2 & 2 | 0) { - i12 = 0; - return i12 | 0; - } - i7 = (i2 & -8) + i1 | 0; - if (i7 >>> 0 < i9 >>> 0) { - i12 = 0; - return i12 | 0; - } - i8 = i7 - i9 | 0; - i3 = i2 >>> 3; - do if (i2 >>> 0 < 256) { - i2 = HEAP32[i6 + 8 >> 2] | 0; - i1 = HEAP32[i6 + 12 >> 2] | 0; - if ((i1 | 0) == (i2 | 0)) { - HEAP32[14088] = HEAP32[14088] & ~(1 << i3); - break; - } else { - HEAP32[i2 + 12 >> 2] = i1; - HEAP32[i1 + 8 >> 2] = i2; - break; - } - } else { - i5 = HEAP32[i6 + 24 >> 2] | 0; - i1 = HEAP32[i6 + 12 >> 2] | 0; - do if ((i1 | 0) == (i6 | 0)) { - i2 = i6 + 16 | 0; - i3 = i2 + 4 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) { - i1 = HEAP32[i2 >> 2] | 0; - if (!i1) { - i3 = 0; - break; - } - } else i2 = i3; - while (1) { - i4 = i1 + 20 | 0; - i3 = HEAP32[i4 >> 2] | 0; - if (!i3) { - i4 = i1 + 16 | 0; - i3 = HEAP32[i4 >> 2] | 0; - if (!i3) break; else { - i1 = i3; - i2 = i4; - } - } else { - i1 = i3; - i2 = i4; - } - } - HEAP32[i2 >> 2] = 0; - i3 = i1; - } else { - i3 = HEAP32[i6 + 8 >> 2] | 0; - HEAP32[i3 + 12 >> 2] = i1; - HEAP32[i1 + 8 >> 2] = i3; - i3 = i1; - } while (0); - if (i5 | 0) { - i1 = HEAP32[i6 + 28 >> 2] | 0; - i2 = 56656 + (i1 << 2) | 0; - if ((HEAP32[i2 >> 2] | 0) == (i6 | 0)) { - HEAP32[i2 >> 2] = i3; - if (!i3) { - HEAP32[14089] = HEAP32[14089] & ~(1 << i1); - break; - } - } else { - i4 = i5 + 16 | 0; - HEAP32[((HEAP32[i4 >> 2] | 0) == (i6 | 0) ? i4 : i5 + 20 | 0) >> 2] = i3; - if (!i3) break; - } - HEAP32[i3 + 24 >> 2] = i5; - i1 = i6 + 16 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i3 + 16 >> 2] = i2; - HEAP32[i2 + 24 >> 2] = i3; - } - i1 = HEAP32[i1 + 4 >> 2] | 0; - if (i1 | 0) { - HEAP32[i3 + 20 >> 2] = i1; - HEAP32[i1 + 24 >> 2] = i3; - } - } - } while (0); - if (i8 >>> 0 < 16) { - HEAP32[i10 >> 2] = i11 & 1 | i7 | 2; - i11 = i12 + i7 + 4 | 0; - HEAP32[i11 >> 2] = HEAP32[i11 >> 2] | 1; - return i12 | 0; - } else { - i6 = i12 + i9 | 0; - HEAP32[i10 >> 2] = i11 & 1 | i9 | 2; - HEAP32[i6 + 4 >> 2] = i8 | 3; - i11 = i12 + i7 + 4 | 0; - HEAP32[i11 >> 2] = HEAP32[i11 >> 2] | 1; - _dispose_chunk(i6, i8); - return i12 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 14639), 10311), 3756), 270), 4404), 14831), 16); + abort(); + abort(); } - return 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 15532), 10311), 3756), 271), 4404), 15678), 16); + abort(); + abort(); } -function _examine_app0(i14, i11, i2, i1) { - i14 = i14 | 0; - i11 = i11 | 0; - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i12 = 0, i13 = 0, i15 = 0; - i13 = i1 + i2 | 0; - if (i2 >>> 0 > 13) if ((HEAP8[i11 >> 0] | 0) == 74) if ((((HEAP8[i11 + 1 >> 0] | 0) == 70 ? (HEAP8[i11 + 2 >> 0] | 0) == 73 : 0) ? (HEAP8[i11 + 3 >> 0] | 0) == 70 : 0) ? (HEAP8[i11 + 4 >> 0] | 0) == 0 : 0) { - HEAP32[i14 + 280 >> 2] = 1; - i3 = HEAP8[i11 + 5 >> 0] | 0; - i4 = i14 + 284 | 0; - HEAP8[i4 >> 0] = i3; - i5 = HEAP8[i11 + 6 >> 0] | 0; - i6 = i14 + 285 | 0; - HEAP8[i6 >> 0] = i5; - i1 = HEAP8[i11 + 7 >> 0] | 0; - i10 = i14 + 286 | 0; - HEAP8[i10 >> 0] = i1; - i7 = (HEAPU8[i11 + 8 >> 0] << 8 | HEAPU8[i11 + 9 >> 0]) & 65535; - i8 = i14 + 288 | 0; - HEAP16[i8 >> 1] = i7; - i2 = (HEAPU8[i11 + 10 >> 0] << 8 | HEAPU8[i11 + 11 >> 0]) & 65535; - i9 = i14 + 290 | 0; - HEAP16[i9 >> 1] = i2; - if (i3 << 24 >> 24 == 1) { - i12 = i14; - i4 = 1; - i3 = i7; - } else { - i12 = HEAP32[i14 >> 2] | 0; - HEAP32[i12 + 20 >> 2] = 119; - HEAP32[i12 + 24 >> 2] = i3 & 255; - HEAP32[(HEAP32[i14 >> 2] | 0) + 28 >> 2] = HEAPU8[i6 >> 0]; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i14 >> 2] | 0) + 4 >> 2] & 63](i14, -1); - i12 = i14; - i4 = HEAP8[i4 >> 0] | 0; - i5 = HEAP8[i6 >> 0] | 0; - i3 = HEAP16[i8 >> 1] | 0; - i2 = HEAP16[i9 >> 1] | 0; - i1 = HEAP8[i10 >> 0] | 0; - } - i10 = HEAP32[i14 >> 2] | 0; - HEAP32[i10 + 24 >> 2] = i4 & 255; - HEAP32[i10 + 28 >> 2] = i5 & 255; - HEAP32[i10 + 32 >> 2] = i3 & 65535; - HEAP32[i10 + 36 >> 2] = i2 & 65535; - HEAP32[i10 + 40 >> 2] = i1 & 255; - HEAP32[i10 + 20 >> 2] = 87; - FUNCTION_TABLE_vii[HEAP32[i10 + 4 >> 2] & 63](i12, 1); - i1 = i11 + 12 | 0; - i3 = HEAP8[i1 >> 0] | 0; - i4 = i11 + 13 | 0; - i2 = HEAP8[i4 >> 0] | 0; - if ((i2 | i3) << 24 >> 24) { - i3 = HEAP32[i14 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 90; - HEAP32[i3 + 24 >> 2] = HEAPU8[i1 >> 0]; - HEAP32[(HEAP32[i14 >> 2] | 0) + 28 >> 2] = HEAPU8[i4 >> 0]; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i14 >> 2] | 0) + 4 >> 2] & 63](i12, 1); - i3 = HEAP8[i1 >> 0] | 0; - i2 = HEAP8[i4 >> 0] | 0; - } - i1 = i13 + -14 | 0; - if ((i1 | 0) != (Math_imul((i3 & 255) * 3 | 0, i2 & 255) | 0)) { - i13 = HEAP32[i14 >> 2] | 0; - HEAP32[i13 + 20 >> 2] = 88; - HEAP32[i13 + 24 >> 2] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i14 >> 2] | 0) + 4 >> 2] & 63](i12, 1); - } - } else i15 = 16; else i15 = 25; else if (i2 >>> 0 > 5 ? (HEAP8[i11 >> 0] | 0) == 74 : 0) i15 = 16; else i15 = 25; - L18 : do if ((i15 | 0) == 16) if ((((HEAP8[i11 + 1 >> 0] | 0) == 70 ? (HEAP8[i11 + 2 >> 0] | 0) == 88 : 0) ? (HEAP8[i11 + 3 >> 0] | 0) == 88 : 0) ? (HEAP8[i11 + 4 >> 0] | 0) == 0 : 0) { - i1 = i11 + 5 | 0; - switch (HEAP8[i1 >> 0] | 0) { - case 16: - { - i12 = HEAP32[i14 >> 2] | 0; - HEAP32[i12 + 20 >> 2] = 108; - HEAP32[i12 + 24 >> 2] = i13; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i14 >> 2] | 0) + 4 >> 2] & 63](i14, 1); - break L18; - } - case 17: - { - i12 = HEAP32[i14 >> 2] | 0; - HEAP32[i12 + 20 >> 2] = 109; - HEAP32[i12 + 24 >> 2] = i13; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i14 >> 2] | 0) + 4 >> 2] & 63](i14, 1); - break L18; - } - case 19: - { - i12 = HEAP32[i14 >> 2] | 0; - HEAP32[i12 + 20 >> 2] = 110; - HEAP32[i12 + 24 >> 2] = i13; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i14 >> 2] | 0) + 4 >> 2] & 63](i14, 1); - break L18; - } - default: - { - i12 = HEAP32[i14 >> 2] | 0; - HEAP32[i12 + 20 >> 2] = 89; - HEAP32[i12 + 24 >> 2] = HEAPU8[i1 >> 0]; - HEAP32[(HEAP32[i14 >> 2] | 0) + 28 >> 2] = i13; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i14 >> 2] | 0) + 4 >> 2] & 63](i14, 1); - break L18; - } - } - } else i15 = 25; while (0); - if ((i15 | 0) == 25) { - i15 = HEAP32[i14 >> 2] | 0; - HEAP32[i15 + 20 >> 2] = 77; - HEAP32[i15 + 24 >> 2] = i13; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i14 >> 2] | 0) + 4 >> 2] & 63](i14, 1); - } - return; -} - -function __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryERNSt3__214priority_queueINS_17PriorityQueueItemILi96EEENS2_6vectorIS5_NS2_9allocatorIS5_EEEENS2_4lessIS5_EEEEPKNS_4NodeILi96EEEPKh(i14, i15, i4, i17) { - i14 = i14 | 0; - i15 = i15 | 0; - i4 = i4 | 0; - i17 = i17 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i16 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0; - i19 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i9 = i19 + 8 | 0; - i8 = i19 + 56 | 0; - i7 = i19 + 52 | 0; - i10 = i19 + 44 | 0; - i11 = i19 + 36 | 0; - i12 = i19 + 28 | 0; - i13 = i19; - i2 = i19 + 48 | 0; - i3 = i19 + 40 | 0; - i1 = i19 + 32 | 0; - i16 = i19 + 16 | 0; - if (__ZNK6vision4NodeILi96EE4leafEv(i4) | 0) { - HEAP32[i2 >> 2] = HEAP32[i14 + 76 >> 2]; - i18 = __ZNK6vision4NodeILi96EE12reverseIndexEv(i4) | 0; - HEAP32[i3 >> 2] = HEAP32[i18 >> 2]; - i18 = (__ZNK6vision4NodeILi96EE12reverseIndexEv(i4) | 0) + 4 | 0; - HEAP32[i1 >> 2] = HEAP32[i18 >> 2]; - HEAP32[i7 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i1 >> 2]; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6insertINS_11__wrap_iterIPKiEEEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIiNS_15iterator_traitsISA_E9referenceEEE5valueENS5_IPiEEE4typeES8_SA_SA_(i14 + 72 | 0, i7, i8, i9) | 0; - } else { - HEAP32[i16 >> 2] = 0; - i3 = i16 + 4 | 0; - HEAP32[i3 >> 2] = 0; - HEAP32[i16 + 8 >> 2] = 0; - __ZNK6vision4NodeILi96EE7nearestERNSt3__26vectorIPKS1_NS2_9allocatorIS5_EEEERNS2_14priority_queueINS_17PriorityQueueItemILi96EEENS3_ISC_NS6_ISC_EEEENS2_4lessISC_EEEEPKh(i4, i16, i15, i17); - i1 = 0; - while (1) { - i2 = HEAP32[i16 >> 2] | 0; - if (i1 >>> 0 >= (HEAP32[i3 >> 2] | 0) - i2 >> 2 >>> 0) break; - __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryERNSt3__214priority_queueINS_17PriorityQueueItemILi96EEENS2_6vectorIS5_NS2_9allocatorIS5_EEEENS2_4lessIS5_EEEEPKNS_4NodeILi96EEEPKh(i14, i15, HEAP32[i2 + (i1 << 2) >> 2] | 0, i17); - i1 = i1 + 1 | 0; - } - i5 = i14 + 100 | 0; - if ((HEAP32[i5 >> 2] | 0) < (HEAP32[i14 + 104 >> 2] | 0) ? (i6 = HEAP32[i15 >> 2] | 0, i18 = i15 + 4 | 0, (i6 | 0) != (HEAP32[i18 >> 2] | 0)) : 0) { - i4 = __ZNK6vision17PriorityQueueItemILi96EE4nodeEv(i6) | 0; - i1 = HEAP32[i15 >> 2] | 0; - i2 = HEAP32[i18 >> 2] | 0; - i3 = i2 - i1 | 0; - if ((i3 | 0) > 8) { - i6 = i1; - i2 = i2 + -8 | 0; - i20 = i6; - i21 = HEAP32[i20 >> 2] | 0; - i20 = HEAP32[i20 + 4 >> 2] | 0; - i23 = i9; - HEAP32[i23 >> 2] = i21; - HEAP32[i23 + 4 >> 2] = i20; - i23 = i2; - i22 = HEAP32[i23 + 4 >> 2] | 0; - HEAP32[i6 >> 2] = HEAP32[i23 >> 2]; - HEAP32[i6 + 4 >> 2] = i22; - i6 = i2; - HEAP32[i6 >> 2] = i21; - HEAP32[i6 + 4 >> 2] = i20; - __ZN6vision17PriorityQueueItemILi96EED2Ev(i9); - HEAP32[i10 >> 2] = i1; - HEAP32[i11 >> 2] = i2; - HEAP32[i12 >> 2] = i1; - HEAP32[i7 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i12 >> 2]; - __ZNSt3__211__sift_downIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeESA_(i7, i8, i13, (i3 >>> 3) + -1 | 0, i9); - i2 = HEAP32[i18 >> 2] | 0; - } - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i23 = i1 + -1 | 0; - __ZN6vision17PriorityQueueItemILi96EED2Ev(i2 + (i23 << 3) | 0); - i1 = i23; - } - HEAP32[i18 >> 2] = i2 + -8; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1; - __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryERNSt3__214priority_queueINS_17PriorityQueueItemILi96EEENS2_6vectorIS5_NS2_9allocatorIS5_EEEENS2_4lessIS5_EEEEPKNS_4NodeILi96EEEPKh(i14, i15, i4, i17); - } - __ZNSt3__213__vector_baseIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEED2Ev(i16); - } - STACKTOP = i19; - return; -} - -function __ZNKSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwRKNS_12basic_stringIwS3_NS_9allocatorIwEEEE(i1, i19, i3, i23, i24, i25) { - i1 = i1 | 0; - i19 = i19 | 0; - i3 = i3 | 0; - i23 = i23 | 0; - i24 = i24 | 0; - i25 = i25 | 0; - var i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i20 = 0, i21 = 0, i22 = 0, i26 = 0, i27 = 0, i28 = 0; - i27 = STACKTOP; - STACKTOP = STACKTOP + 480 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(480); - i10 = i27 + 464 | 0; - i26 = i27 + 460 | 0; - i15 = i27 + 468 | 0; - i16 = i27 + 456 | 0; - i17 = i27 + 452 | 0; - i20 = i27 + 440 | 0; - i21 = i27 + 428 | 0; - i22 = i27 + 416 | 0; - i6 = i27 + 412 | 0; - i8 = i27; - i11 = i27 + 408 | 0; - i12 = i27 + 404 | 0; - i13 = i27 + 400 | 0; - __ZNKSt3__28ios_base6getlocEv(i26, i23); - i14 = __ZNKSt3__26locale9use_facetERNS0_2idE(i26, 57948) | 0; - i2 = i25 + 8 + 3 | 0; - i9 = HEAP8[i2 >> 0] | 0; - i1 = i9 << 24 >> 24 < 0; - i4 = i25 + 4 | 0; - if (!((i1 ? HEAP32[i4 >> 2] | 0 : i9 & 255) | 0)) i9 = 0; else { - i9 = HEAP32[(i1 ? HEAP32[i25 >> 2] | 0 : i25) >> 2] | 0; - i9 = (i9 | 0) == (FUNCTION_TABLE_iii[HEAP32[(HEAP32[i14 >> 2] | 0) + 44 >> 2] & 63](i14, 45) | 0); - }; - HEAP32[i20 >> 2] = 0; - HEAP32[i20 + 4 >> 2] = 0; - HEAP32[i20 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i20 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i21 >> 2] = 0; - HEAP32[i21 + 4 >> 2] = 0; - HEAP32[i21 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i21 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i22 >> 2] = 0; - HEAP32[i22 + 4 >> 2] = 0; - HEAP32[i22 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i22 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__211__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri(i3, i9, i26, i15, i16, i17, i20, i21, i22, i6); - i5 = HEAP8[i2 >> 0] | 0; - i7 = i5 << 24 >> 24 < 0; - i5 = i7 ? HEAP32[i4 >> 2] | 0 : i5 & 255; - i4 = HEAP32[i6 >> 2] | 0; - if ((i5 | 0) > (i4 | 0)) { - i3 = HEAP8[i22 + 8 + 3 >> 0] | 0; - i1 = HEAP8[i21 + 8 + 3 >> 0] | 0; - i1 = i1 << 24 >> 24 < 0 ? HEAP32[i21 + 4 >> 2] | 0 : i1 & 255; - i2 = i4 + 1 + (i5 - i4 << 1) | 0; - i3 = i3 << 24 >> 24 < 0 ? HEAP32[i22 + 4 >> 2] | 0 : i3 & 255; - } else { - i3 = HEAP8[i22 + 8 + 3 >> 0] | 0; - i1 = HEAP8[i21 + 8 + 3 >> 0] | 0; - i1 = i1 << 24 >> 24 < 0 ? HEAP32[i21 + 4 >> 2] | 0 : i1 & 255; - i2 = i4 + 2 | 0; - i3 = i3 << 24 >> 24 < 0 ? HEAP32[i22 + 4 >> 2] | 0 : i3 & 255; - } - i1 = i2 + i3 + i1 | 0; - if (i1 >>> 0 > 100) { - i1 = _malloc(i1 << 2) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i18 = i1; - i28 = i1; - } - } else { - i18 = i8; - i28 = 0; - } - i25 = i7 ? HEAP32[i25 >> 2] | 0 : i25; - __ZNSt3__211__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i(i18, i11, i12, HEAP32[i23 + 4 >> 2] | 0, i25, i25 + (i5 << 2) | 0, i14, i9, i15, HEAP32[i16 >> 2] | 0, HEAP32[i17 >> 2] | 0, i20, i21, i22, i4); - HEAP32[i13 >> 2] = HEAP32[i19 >> 2]; - i25 = HEAP32[i11 >> 2] | 0; - i1 = HEAP32[i12 >> 2] | 0; - HEAP32[i10 >> 2] = HEAP32[i13 >> 2]; - i1 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i10, i18, i25, i1, i23, i24) | 0; - if (i28 | 0) _free(i28); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i22); - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i21); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i20); - __ZNSt3__26localeD2Ev(i26); - STACKTOP = i27; - return i1 | 0; -} -function _arPattLoadFromBuffer(i22, i3) { - i22 = i22 | 0; - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i23 = 0, i24 = 0, d25 = 0.0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i23 = i24 + 24 | 0; - i4 = i24 + 16 | 0; - i1 = i24 + 8 | 0; - do if (i22) { - if (!i3) { - _arLog(0, 3, 18037, i1); - i1 = -1; - break; - } - i21 = i22 + 8 | 0; - i2 = HEAP32[i22 + 4 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - if (!(HEAP32[(HEAP32[i21 >> 2] | 0) + (i1 << 2) >> 2] | 0)) break; - i1 = i1 + 1 | 0; - } - if ((i1 | 0) != (i2 | 0)) { - i20 = ___strdup(i3) | 0; - if (!i20) { - _arLog(0, 3, 18082, i4); - i1 = -1; - break; - } - i13 = i22 + 28 | 0; - i14 = i22 + 12 | 0; - i15 = i1 << 2; - i16 = i22 + 20 | 0; - i17 = i22 + 16 | 0; - i18 = i22 + 24 | 0; - i2 = _strtok(i20, 18105) | 0; - i12 = 0; - L16 : while (1) { - if (i12 >>> 0 >= 4) { - i2 = 36; - break; - } - i19 = i12 + i15 | 0; - i3 = 0; - i11 = 0; - while (1) { - if (i11 >>> 0 >= 3) break; - i9 = (i11 | 0) == 0; - i10 = (i11 | 0) == 2; - i8 = 0; - i4 = HEAP32[i13 >> 2] | 0; +function kpmMergeRefDataSet($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0; + if (!($1 ? $0 : 0)) { + arLog(0, 3, 7170, 0); + return -1; + } + label$2: { + $5 = HEAP32[$0 >> 2]; + if (!$5) { + $5 = dlmalloc(16); + HEAP32[$0 >> 2] = $5; + if (!$5) { + break label$2; + } + HEAP32[$5 >> 2] = 0; + HEAP32[$5 + 4 >> 2] = 0; + HEAP32[$5 + 8 >> 2] = 0; + HEAP32[$5 + 12 >> 2] = 0; + } + label$3: { + $7 = HEAP32[$1 >> 2]; + if (!$7) { + break label$3; + } + $6 = HEAP32[$7 + 4 >> 2]; + $9 = HEAP32[$5 + 4 >> 2]; + $12 = $6 + $9 | 0; + $3 = dlmalloc(Math_imul($12, 132)); + if ($3) { + $8 = ($9 | 0) > 0 ? $9 : 0; + while (1) if (($2 | 0) == ($8 | 0)) { + $2 = 0; + $4 = ($6 | 0) > 0 ? $6 : 0; while (1) { - if ((i8 | 0) >= (i4 | 0)) break; - i7 = 0; + if (($2 | 0) != ($4 | 0)) { + wasm2js_memory_copy(Math_imul($2 + $9 | 0, 132) + $3 | 0, HEAP32[$7 >> 2] + Math_imul($2, 132) | 0, 132); + $2 = $2 + 1 | 0; + continue; + } + break; + } + dlfree(HEAP32[$5 >> 2]); + HEAP32[HEAP32[$0 >> 2] >> 2] = $3; + $5 = HEAP32[$0 >> 2]; + HEAP32[$5 + 4 >> 2] = $12; + $8 = 0; + $15 = HEAP32[$5 + 12 >> 2]; + $12 = ($15 | 0) > 0 ? $15 : 0; + $7 = HEAP32[$1 >> 2]; + $6 = HEAP32[$7 + 12 >> 2]; + $9 = ($6 | 0) > 0 ? $6 : 0; + $4 = 0; + while (1) { + $2 = 0; + if (($4 | 0) != ($9 | 0)) { + label$12: { + while (1) { + if (($2 | 0) == ($12 | 0)) { + break label$12; + } + $3 = Math_imul($2, 12); + $2 = $2 + 1 | 0; + if (HEAP32[(HEAP32[$7 + 8 >> 2] + Math_imul($4, 12) | 0) + 8 >> 2] != HEAP32[(HEAP32[$5 + 8 >> 2] + $3 | 0) + 8 >> 2]) { + continue; + } + break; + } + $8 = $8 + 1 | 0; + } + $4 = $4 + 1 | 0; + continue; + } + break; + } + $18 = ($6 + $15 | 0) - $8 | 0; + $16 = dlmalloc(Math_imul($18, 12)); + if ($16) { while (1) { - if ((i7 | 0) >= (i4 | 0)) break; - if (!i2) { - i2 = 21; - break L16; - } - i4 = _atoi(i2) | 0; - i2 = _strtok(0, 18105) | 0; - i4 = 255 - i4 | 0; - i5 = (HEAP32[(HEAP32[i14 >> 2] | 0) + (i19 << 2) >> 2] | 0) + ((((Math_imul(HEAP32[i13 >> 2] | 0, i8) | 0) + i7 | 0) * 3 | 0) + i11 << 2) | 0; - HEAP32[i5 >> 2] = i4; - i5 = HEAP32[(HEAP32[i16 >> 2] | 0) + (i19 << 2) >> 2] | 0; - i6 = i5 + ((Math_imul(HEAP32[i13 >> 2] | 0, i8) | 0) + i7 << 2) | 0; - if (!i9) { - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + i4; - if (i10) { - i6 = i5 + ((Math_imul(HEAP32[i13 >> 2] | 0, i8) | 0) + i7 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) / 3 | 0; - } - } else HEAP32[i6 >> 2] = i4; - i7 = i7 + 1 | 0; - i3 = i4 + i3 | 0; - i4 = HEAP32[i13 >> 2] | 0; - } - i8 = i8 + 1 | 0; - } - i11 = i11 + 1 | 0; - } - i6 = HEAP32[i13 >> 2] | 0; - i7 = (i3 | 0) / (Math_imul(i6 * 3 | 0, i6) | 0) | 0; - i3 = 0; - i4 = 0; - while (1) { - if (i4 >>> 0 >= (Math_imul(i6 * 3 | 0, i6) | 0) >>> 0) break; - i11 = (HEAP32[(HEAP32[i14 >> 2] | 0) + (i19 << 2) >> 2] | 0) + (i4 << 2) | 0; - i6 = (HEAP32[i11 >> 2] | 0) - i7 | 0; - HEAP32[i11 >> 2] = i6; - i6 = (Math_imul(i6, i6) | 0) + i3 | 0; - i3 = i6; - i4 = i4 + 1 | 0; - i6 = HEAP32[i13 >> 2] | 0; - } - d25 = +Math_sqrt(+(+(i3 | 0))); - HEAPF64[(HEAP32[i17 >> 2] | 0) + (i19 << 3) >> 3] = d25 == 0.0 ? 1.0e-07 : d25; - i4 = 0; - i5 = 0; - i3 = i6; - while (1) { - if (i5 >>> 0 >= (Math_imul(i3, i3) | 0) >>> 0) break; - i11 = (HEAP32[(HEAP32[i16 >> 2] | 0) + (i19 << 2) >> 2] | 0) + (i5 << 2) | 0; - i3 = (HEAP32[i11 >> 2] | 0) - i7 | 0; - HEAP32[i11 >> 2] = i3; - i3 = (Math_imul(i3, i3) | 0) + i4 | 0; - i4 = i3; - i5 = i5 + 1 | 0; - i3 = HEAP32[i13 >> 2] | 0; - } - d25 = +Math_sqrt(+(+(i4 | 0))); - HEAPF64[(HEAP32[i18 >> 2] | 0) + (i19 << 3) >> 3] = d25 == 0.0 ? 1.0e-07 : d25; - i12 = i12 + 1 | 0; - } - if ((i2 | 0) == 21) { - _arLog(0, 3, 18110, i23); - _free(i20); - i1 = -1; - break; - } else if ((i2 | 0) == 36) { - _free(i20); - HEAP32[(HEAP32[i21 >> 2] | 0) + (i1 << 2) >> 2] = 1; - HEAP32[i22 >> 2] = (HEAP32[i22 >> 2] | 0) + 1; - break; - } - } else i1 = -1; - } else { - _arLog(0, 3, 18012, i24); - i1 = -1; - } while (0); - STACKTOP = i24; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_115parse_call_exprINS0_2DbEEEPKcS4_S4_RT_(i13, i10, i14) { - i13 = i13 | 0; - i10 = i10 | 0; - i14 = i14 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i11 = 0, i12 = 0, i15 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i12 = i15 + 12 | 0; - i4 = i15; - L1 : do if (((((i10 - i13 | 0) > 3 ? (HEAP8[i13 >> 0] | 0) == 99 : 0) ? (HEAP8[i13 + 1 >> 0] | 0) == 108 : 0) ? (i9 = i13 + 2 | 0, i5 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i9, i10, i14) | 0, !((i5 | 0) == (i9 | 0) | (i5 | 0) == (i10 | 0))) : 0) ? (i11 = i14 + 4 | 0, i1 = HEAP32[i11 >> 2] | 0, (HEAP32[i14 >> 2] | 0) != (i1 | 0)) : 0) { - i7 = i1 + -12 | 0; - i9 = HEAP8[i7 + 11 >> 0] | 0; - i8 = i9 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i1 + -24 | 0, i8 ? HEAP32[i7 >> 2] | 0 : i7, i8 ? HEAP32[i1 + -8 >> 2] | 0 : i9 & 255) | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - HEAP32[i4 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i4 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i11 >> 2] | 0; - i2 = i1 + -12 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i9 = HEAP32[i2 >> 2] | 0; - HEAP8[i12 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i9, i12); - HEAP32[i1 + -8 >> 2] = 0; - } else { - HEAP8[i12 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i12); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i4 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i4 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i4 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i4); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc((HEAP32[i11 >> 2] | 0) + -24 | 0, 49669) | 0; - i8 = i12 + 11 | 0; - i9 = i12 + 4 | 0; - i1 = 0; - i2 = i5; - while (1) { - if ((HEAP8[i2 >> 0] | 0) == 69) break; - i7 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i2, i10, i14) | 0; - if ((i7 | 0) == (i2 | 0) | (i7 | 0) == (i10 | 0)) { - i1 = i13; - break L1; - } - i3 = HEAP32[i11 >> 2] | 0; - if ((HEAP32[i14 >> 2] | 0) == (i3 | 0)) { - i1 = i13; - break L1; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i12, i3 + -24 | 0); - i6 = HEAP32[i11 >> 2] | 0; - i3 = 0; - while (1) { - if ((i3 | 0) == -1) break; - i5 = i3 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i6 + (i5 * 24 | 0) | 0); - i3 = i5; - } - i3 = i6 + -24 | 0; - HEAP32[i11 >> 2] = i3; - i5 = HEAP8[i8 >> 0] | 0; - i4 = i5 << 24 >> 24 < 0; - i5 = i4 ? HEAP32[i9 >> 2] | 0 : i5 & 255; - if (i5) if ((HEAP32[i14 >> 2] | 0) == (i3 | 0)) { - i3 = 0; - i1 = i13; - } else { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i6 + -48 | 0, i4 ? HEAP32[i12 >> 2] | 0 : i12, i5) | 0; - i3 = 1; - i2 = i7; - } else { - i3 = 1; - i2 = i7; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i12); - if (!i3) break L1; - } - i1 = HEAP32[i11 >> 2] | 0; - if ((HEAP32[i14 >> 2] | 0) != (i1 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i1 + -24 | 0, 49667) | 0; - i1 = i2 + 1 | 0; - } else i1 = i13; - } else i1 = i13; while (0); - STACKTOP = i15; - return i1 | 0; -} - -function __ZNKSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEcRKNS_12basic_stringIcS3_NS_9allocatorIcEEEE(i1, i19, i3, i23, i24, i25) { - i1 = i1 | 0; - i19 = i19 | 0; - i3 = i3 | 0; - i23 = i23 | 0; - i24 = i24 | 0; - i25 = i25 | 0; - var i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i20 = 0, i21 = 0, i22 = 0, i26 = 0, i27 = 0, i28 = 0; - i27 = STACKTOP; - STACKTOP = STACKTOP + 176 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(176); - i10 = i27 + 156 | 0; - i26 = i27 + 152 | 0; - i15 = i27 + 164 | 0; - i16 = i27 + 161 | 0; - i17 = i27 + 160 | 0; - i20 = i27 + 140 | 0; - i21 = i27 + 128 | 0; - i22 = i27 + 116 | 0; - i6 = i27 + 112 | 0; - i8 = i27; - i11 = i27 + 108 | 0; - i12 = i27 + 104 | 0; - i13 = i27 + 100 | 0; - __ZNKSt3__28ios_base6getlocEv(i26, i23); - i14 = __ZNKSt3__26locale9use_facetERNS0_2idE(i26, 57916) | 0; - i2 = i25 + 11 | 0; - i9 = HEAP8[i2 >> 0] | 0; - i1 = i9 << 24 >> 24 < 0; - i4 = i25 + 4 | 0; - if (!((i1 ? HEAP32[i4 >> 2] | 0 : i9 & 255) | 0)) i9 = 0; else { - i9 = HEAP8[(i1 ? HEAP32[i25 >> 2] | 0 : i25) >> 0] | 0; - i9 = i9 << 24 >> 24 == (FUNCTION_TABLE_iii[HEAP32[(HEAP32[i14 >> 2] | 0) + 28 >> 2] & 63](i14, 45) | 0) << 24 >> 24; - }; - HEAP32[i20 >> 2] = 0; - HEAP32[i20 + 4 >> 2] = 0; - HEAP32[i20 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i20 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i21 >> 2] = 0; - HEAP32[i21 + 4 >> 2] = 0; - HEAP32[i21 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i21 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i22 >> 2] = 0; - HEAP32[i22 + 4 >> 2] = 0; - HEAP32[i22 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i22 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__211__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri(i3, i9, i26, i15, i16, i17, i20, i21, i22, i6); - i5 = HEAP8[i2 >> 0] | 0; - i7 = i5 << 24 >> 24 < 0; - i5 = i7 ? HEAP32[i4 >> 2] | 0 : i5 & 255; - i4 = HEAP32[i6 >> 2] | 0; - if ((i5 | 0) > (i4 | 0)) { - i3 = HEAP8[i22 + 11 >> 0] | 0; - i1 = HEAP8[i21 + 11 >> 0] | 0; - i1 = i1 << 24 >> 24 < 0 ? HEAP32[i21 + 4 >> 2] | 0 : i1 & 255; - i2 = i4 + 1 + (i5 - i4 << 1) | 0; - i3 = i3 << 24 >> 24 < 0 ? HEAP32[i22 + 4 >> 2] | 0 : i3 & 255; - } else { - i3 = HEAP8[i22 + 11 >> 0] | 0; - i1 = HEAP8[i21 + 11 >> 0] | 0; - i1 = i1 << 24 >> 24 < 0 ? HEAP32[i21 + 4 >> 2] | 0 : i1 & 255; - i2 = i4 + 2 | 0; - i3 = i3 << 24 >> 24 < 0 ? HEAP32[i22 + 4 >> 2] | 0 : i3 & 255; - } - i1 = i2 + i3 + i1 | 0; - if (i1 >>> 0 > 100) { - i1 = _malloc(i1) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i18 = i1; - i28 = i1; - } - } else { - i18 = i8; - i28 = 0; - } - i25 = i7 ? HEAP32[i25 >> 2] | 0 : i25; - __ZNSt3__211__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i(i18, i11, i12, HEAP32[i23 + 4 >> 2] | 0, i25, i25 + i5 | 0, i14, i9, i15, HEAP8[i16 >> 0] | 0, HEAP8[i17 >> 0] | 0, i20, i21, i22, i4); - HEAP32[i13 >> 2] = HEAP32[i19 >> 2]; - i25 = HEAP32[i11 >> 2] | 0; - i1 = HEAP32[i12 >> 2] | 0; - HEAP32[i10 >> 2] = HEAP32[i13 >> 2]; - i1 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i10, i18, i25, i1, i23, i24) | 0; - if (i28 | 0) _free(i28); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i22); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i21); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i20); - __ZNSt3__26localeD2Ev(i26); - STACKTOP = i27; - return i1 | 0; -} - -function __ZN6vision10DoGPyramid7computeEPKNS_25GaussianScaleSpacePyramidE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i7; - if ((HEAP32[i5 + 4 >> 2] | 0) == (HEAP32[i5 >> 2] | 0)) { - i4 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 20715) | 0, 20520) | 0, 33528) | 0, 72) | 0, 33535) | 0, 20757) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i4 + (HEAP32[(HEAP32[i4 >> 2] | 0) + -12 >> 2] | 0) | 0); - i3 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i3 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i3 >> 2] | 0) + 28 >> 2] & 63](i3, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i4, i3) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i4) | 0; - _abort(); - } - if ((__ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv(i6) | 0) <= 0) { - i4 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 20798) | 0, 20520) | 0, 33528) | 0, 73) | 0, 33535) | 0, 20847) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i4 + (HEAP32[(HEAP32[i4 >> 2] | 0) + -12 >> 2] | 0) | 0); - i3 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i3 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i3 >> 2] | 0) + 28 >> 2] & 63](i3, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i4, i3) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i4) | 0; - _abort(); - } - if (i6 | 0 ? ___dynamic_cast(i6, 10992, 11e3, 0) | 0 : 0) { - i3 = i5 + 12 | 0; - i4 = i5 + 16 | 0; - i2 = 0; - while (1) { - if (i2 >>> 0 >= (HEAP32[i3 >> 2] | 0) >>> 0) break; - i1 = 0; - while (1) { - if (i1 >>> 0 >= (HEAP32[i4 >> 2] | 0) >>> 0) break; - i10 = __ZN6vision10DoGPyramid3getEmm(i5, i2, i1) | 0; - i9 = __ZNK6vision25GaussianScaleSpacePyramid3getEmm(i6, i2, i1) | 0; - i8 = i1 + 1 | 0; - __ZN6vision10DoGPyramid25difference_image_binomialERNS_5ImageERKS1_S4_(0, i10, i9, __ZNK6vision25GaussianScaleSpacePyramid3getEmm(i6, i2, i8) | 0); - i1 = i8; + if (($12 | 0) == ($17 | 0)) { + $6 = 0; + $10 = 0; + label$17: { + while (1) { + if (($6 | 0) != ($9 | 0)) { + $8 = Math_imul($6, 12); + $7 = $8 + HEAP32[HEAP32[$1 >> 2] + 8 >> 2] | 0; + $4 = HEAP32[$7 + 8 >> 2]; + $2 = 0; + label$20: { + label$21: { + while (1) { + if (($2 | 0) == ($12 | 0)) { + break label$21; + } + $3 = Math_imul($2, 12); + $2 = $2 + 1 | 0; + if (HEAP32[(HEAP32[HEAP32[$0 >> 2] + 8 >> 2] + $3 | 0) + 8 >> 2] != ($4 | 0)) { + continue; + } + break; + } + $10 = $10 + 1 | 0; + break label$20; + } + $5 = Math_imul(($6 + $15 | 0) - $10 | 0, 12) + $16 | 0; + HEAP32[$5 + 8 >> 2] = $4; + $13 = HEAP32[$7 + 4 >> 2]; + $2 = dlmalloc(Math_imul($13, 12)); + HEAP32[$5 >> 2] = $2; + if (!$2) { + break label$17; + } + $2 = 0; + $7 = ($13 | 0) > 0 ? $13 : 0; + while (1) { + if (($2 | 0) != ($7 | 0)) { + $3 = Math_imul($2, 12); + $4 = $3 + HEAP32[$5 >> 2] | 0; + $3 = HEAP32[HEAP32[HEAP32[$1 >> 2] + 8 >> 2] + $8 >> 2] + $3 | 0; + $11 = HEAP32[$3 >> 2]; + $14 = HEAP32[$3 + 4 >> 2]; + HEAP32[$4 >> 2] = $11; + HEAP32[$4 + 4 >> 2] = $14; + HEAP32[$4 + 8 >> 2] = HEAP32[$3 + 8 >> 2]; + $2 = $2 + 1 | 0; + continue; + } + break; + } + HEAP32[$5 + 4 >> 2] = $13; + } + $6 = $6 + 1 | 0; + continue; + } + break; + } + $3 = HEAP32[$0 >> 2]; + if (HEAP32[$3 + 8 >> 2]) { + $2 = 0; + while (1) { + $4 = HEAP32[$3 + 8 >> 2]; + if (($2 | 0) < HEAP32[$3 + 12 >> 2]) { + dlfree(HEAP32[Math_imul($2, 12) + $4 >> 2]); + $2 = $2 + 1 | 0; + $3 = HEAP32[$0 >> 2]; + continue; + } + break; + } + dlfree($4); + $3 = HEAP32[$0 >> 2]; + } + HEAP32[$3 + 8 >> 2] = $16; + HEAP32[HEAP32[$0 >> 2] + 12 >> 2] = $18; + kpmDeleteRefDataSet($1); + break label$3; + } + break label$2; + } + $8 = Math_imul($17, 12); + $7 = $16 + $8 | 0; + $3 = HEAP32[HEAP32[$0 >> 2] + 8 >> 2] + $8 | 0; + HEAP32[$7 + 8 >> 2] = HEAP32[$3 + 8 >> 2]; + $11 = $3; + $2 = 0; + $10 = HEAP32[$3 + 4 >> 2]; + $6 = $10; + while (1) { + if (($2 | 0) != ($9 | 0)) { + $3 = HEAP32[HEAP32[$1 >> 2] + 8 >> 2] + Math_imul($2, 12) | 0; + if (HEAP32[$3 + 8 >> 2] == HEAP32[$11 + 8 >> 2]) { + $6 = HEAP32[$3 + 4 >> 2] + $6 | 0; + } + $2 = $2 + 1 | 0; + continue; + } + break; + } + $2 = dlmalloc(Math_imul($6, 12)); + HEAP32[$7 >> 2] = $2; + if ($2) { + $3 = 0; + $13 = ($10 | 0) > 0 ? $10 : 0; + $2 = 0; + while (1) { + if (($2 | 0) != ($13 | 0)) { + $4 = Math_imul($2, 12); + $5 = $4 + HEAP32[$7 >> 2] | 0; + $4 = HEAP32[HEAP32[HEAP32[$0 >> 2] + 8 >> 2] + $8 >> 2] + $4 | 0; + $14 = HEAP32[$4 >> 2]; + $11 = HEAP32[$4 + 4 >> 2]; + HEAP32[$5 >> 2] = $14; + HEAP32[$5 + 4 >> 2] = $11; + HEAP32[$5 + 8 >> 2] = HEAP32[$4 + 8 >> 2]; + $2 = $2 + 1 | 0; + continue; + } + break; + } + label$34: { + while (1) { + if (($3 | 0) == ($9 | 0)) { + break label$34; + } + $4 = HEAP32[HEAP32[$1 >> 2] + 8 >> 2]; + $5 = Math_imul($3, 12); + if (HEAP32[($4 + $5 | 0) + 8 >> 2] != HEAP32[(HEAP32[HEAP32[$0 >> 2] + 8 >> 2] + $8 | 0) + 8 >> 2]) { + $3 = $3 + 1 | 0; + continue; + } + break; + } + $2 = 0; + while (1) { + $3 = $4 + $5 | 0; + if (HEAP32[$3 + 4 >> 2] <= ($2 | 0)) { + break label$34; + } + $3 = HEAP32[$3 >> 2] + Math_imul($2, 12) | 0; + $11 = HEAP32[$3 >> 2]; + $14 = HEAP32[$3 + 4 >> 2]; + $4 = HEAP32[$7 >> 2] + Math_imul($2 + $10 | 0, 12) | 0; + HEAP32[$4 >> 2] = $11; + HEAP32[$4 + 4 >> 2] = $14; + HEAP32[$4 + 8 >> 2] = HEAP32[$3 + 8 >> 2]; + $2 = $2 + 1 | 0; + $4 = HEAP32[HEAP32[$1 >> 2] + 8 >> 2]; + continue; + } + } + HEAP32[$7 + 4 >> 2] = $6; + $17 = $17 + 1 | 0; + continue; + } + break; + } + break label$2; + } + break label$2; + } else { + $4 = Math_imul($2, 132); + wasm2js_memory_copy($4 + $3 | 0, HEAP32[$5 >> 2] + $4 | 0, 132); + $2 = $2 + 1 | 0; + continue; + } } - i2 = i2 + 1 | 0; + break label$2; } - STACKTOP = i7; - return; + return 0; } - i10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 20883) | 0, 20520) | 0, 33528) | 0, 74) | 0, 33535) | 0, 20955) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i10 + (HEAP32[(HEAP32[i10 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i10, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i10) | 0; - _abort(); -} - -function _jpeg_idct_4x4(i1, i2, i3, i9, i10) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - i8 = i12; - i7 = HEAP32[i1 + 324 >> 2] | 0; - i5 = 8; - i6 = i8; - i4 = HEAP32[i2 + 80 >> 2] | 0; - L1 : while (1) { - switch (i5 | 0) { - case 0: - break L1; - case 4: - break; - default: - { - i2 = HEAP16[i3 + 16 >> 1] | 0; - i1 = HEAP16[i3 + 32 >> 1] | 0; - if (!((i2 | i1) << 16 >> 16)) if ((((HEAP16[i3 + 48 >> 1] | 0) == 0 ? (HEAP16[i3 + 80 >> 1] | 0) == 0 : 0) ? (HEAP16[i3 + 96 >> 1] | 0) == 0 : 0) ? (HEAP16[i3 + 112 >> 1] | 0) == 0 : 0) { - i1 = Math_imul(HEAP16[i3 >> 1] << 2, HEAP32[i4 >> 2] | 0) | 0; - HEAP32[i6 >> 2] = i1; - HEAP32[i6 + 32 >> 2] = i1; - HEAP32[i6 + 64 >> 2] = i1; - i2 = 24; - } else { - i1 = 0; - i11 = 9; - } else i11 = 9; - if ((i11 | 0) == 9) { - i11 = 0; - i14 = Math_imul(HEAP16[i3 >> 1] << 14, HEAP32[i4 >> 2] | 0) | 0; - i13 = (Math_imul(Math_imul(HEAP16[i3 + 96 >> 1] | 0, -6270) | 0, HEAP32[i4 + 192 >> 2] | 0) | 0) + (Math_imul((i1 << 16 >> 16) * 15137 | 0, HEAP32[i4 + 64 >> 2] | 0) | 0) | 0; - i16 = Math_imul(HEAP32[i4 + 224 >> 2] | 0, HEAP16[i3 + 112 >> 1] | 0) | 0; - i17 = Math_imul(HEAP32[i4 + 160 >> 2] | 0, HEAP16[i3 + 80 >> 1] | 0) | 0; - i15 = Math_imul(HEAP32[i4 + 96 >> 2] | 0, HEAP16[i3 + 48 >> 1] | 0) | 0; - i2 = Math_imul(HEAP32[i4 + 32 >> 2] | 0, i2 << 16 >> 16) | 0; - i1 = (i17 * 11893 | 0) + (Math_imul(i16, -1730) | 0) + (Math_imul(i15, -17799) | 0) + (i2 * 8697 | 0) | 0; - i2 = (Math_imul(i17, -4926) | 0) + (Math_imul(i16, -4176) | 0) + (i15 * 7373 | 0) + (i2 * 20995 | 0) | 0; - i15 = i13 + i14 + 2048 | 0; - HEAP32[i6 >> 2] = i15 + i2 >> 12; - HEAP32[i6 + 96 >> 2] = i15 - i2 >> 12; - i2 = i14 - i13 + 2048 | 0; - HEAP32[i6 + 32 >> 2] = i2 + i1 >> 12; - i1 = i2 - i1 >> 12; - i2 = 16; - } - HEAP32[i6 + (i2 << 2) >> 2] = i1; - } - } - i5 = i5 + -1 | 0; - i6 = i6 + 4 | 0; - i4 = i4 + 4 | 0; - i3 = i3 + 2 | 0; - } - i6 = i7 + 128 | 0; - i5 = 0; - i3 = i8; + arLog(0, 3, 3611, 0); + exit(1); + abort(); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseVectorType_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 32 | 0; + __stack_pointer = $1; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 24 | 0, 28623); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$1 + 4 >> 2] = $4; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1)) { + break label$1; + } + label$2: { + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) - 49 & 255) >>> 0 <= 8) { + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($1 + 8 | 0, $0, 0); + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__28_28anonymous_20namespace_29__itanium_demangle__StringView___29($0, $1 + 8 | 0), + HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$1; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 112)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PixelVectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 20 | 0); + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 8 >> 2] = $2; + if (!$2) { + break label$2; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__VectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 8 | 0, $1 + 20 | 0); + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 8 >> 2] = $3; + if (!$3) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 20 >> 2] = $2; + if (!$2) { + break label$2; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__VectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 20 | 0, $1 + 8 | 0); + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 8 >> 2] = $2; + if (!$2) { + break label$2; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__VectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20std__nullptr_t__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20std__nullptr_t___29($0, $1 + 8 | 0); + break label$1; + } + $2 = 0; + } + __stack_pointer = $1 + 32 | 0; + return $2; +} + +function std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20bool_2c_20std____2__ios_base__2c_20wchar_t_2c_20long_20double_29_20const($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 $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + $9 = __stack_pointer - 1072 | 0; + __stack_pointer = $9; + HEAP32[$9 + 16 >> 2] = $5; + HEAP32[$9 + 20 >> 2] = $6; + HEAP32[$9 + 24 >> 2] = $7; + HEAP32[$9 + 28 >> 2] = $8; + HEAP32[$9 + 956 >> 2] = $9 + 960; + $10 = snprintf($9 + 960 | 0, 100, 31752, $9 + 16 | 0); + HEAP32[$9 + 544 >> 2] = 315; + $14 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($9 + 536 | 0, 0, $9 + 544 | 0); + HEAP32[$9 + 544 >> 2] = 315; + $11 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28wchar_t__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($9 + 528 | 0, 0, $9 + 544 | 0); + $12 = $9 + 544 | 0; + label$1: { + if ($10 >>> 0 >= 100) { + $10 = std____2____cloc_28_29(); + HEAP32[$9 >> 2] = $5; + HEAP32[$9 + 4 >> 2] = $6; + HEAP32[$9 + 8 >> 2] = $7; + HEAP32[$9 + 12 >> 2] = $8; + $10 = std____2____libcpp_asprintf_l_28char___2c_20__locale_struct__2c_20char_20const__2c_20____29($9 + 956 | 0, $10, 31752, $9); + if (($10 | 0) == -1) { + break label$1; + } + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($14, HEAP32[$9 + 956 >> 2]); + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___reset_28wchar_t__29($11, dlmalloc($10 << 2)); + if (bool_20std____2__operator___wchar_t_2c_20void_20_28__29_28void__29__28std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29__20const__2c_20std__nullptr_t_29($11, 0)) { + break label$1; + } + $12 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($11); + } + std____2__ios_base__getloc_28_29_20const($9 + 520 | 0, $3); + $15 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($9 + 520 | 0); + $5 = HEAP32[$9 + 956 >> 2]; + std____2__ctype_wchar_t___widen_28char_20const__2c_20char_20const__2c_20wchar_t__29_20const($15, $5, $10 + $5 | 0, $12); + $13 = ($10 | 0) > 0 ? HEAPU8[HEAP32[$9 + 956 >> 2]] == 45 : $13; + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($9 + 488 | 0); + $5 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($9 + 472 | 0); + $6 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($9 + 456 | 0); + std____2____money_put_wchar_t_____gather_info_28bool_2c_20bool_2c_20std____2__locale_20const__2c_20std____2__money_base__pattern__2c_20wchar_t__2c_20wchar_t__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20int__29($2, $13, $9 + 520 | 0, $9 + 512 | 0, $9 + 508 | 0, $9 + 504 | 0, $7, $5, $6, $9 + 452 | 0); + HEAP32[$9 + 48 >> 2] = 315; + $8 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28wchar_t__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($9 + 40 | 0, 0, $9 + 48 | 0); + $2 = HEAP32[$9 + 452 >> 2]; + label$4: { + if (($10 | 0) > ($2 | 0)) { + $0 = (((std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($6) + ($10 - $2 << 1) | 0) + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($5) | 0) + HEAP32[$9 + 452 >> 2] | 0) + 1 | 0; + break label$4; + } + $0 = ((std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($6) + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($5) | 0) + HEAP32[$9 + 452 >> 2] | 0) + 2 | 0; + } + $2 = $9 + 48 | 0; + if ($0 >>> 0 >= 101) { + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___reset_28wchar_t__29($8, dlmalloc($0 << 2)); + $2 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($8); + if (!$2) { + break label$1; + } + } + std____2____money_put_wchar_t_____format_28wchar_t__2c_20wchar_t___2c_20wchar_t___2c_20unsigned_20int_2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ctype_wchar_t__20const__2c_20bool_2c_20std____2__money_base__pattern_20const__2c_20wchar_t_2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20int_29($2, $9 + 36 | 0, $9 + 32 | 0, std____2__ios_base__flags_28_29_20const($3), $12, ($10 << 2) + $12 | 0, $15, $13, $9 + 512 | 0, HEAP32[$9 + 508 >> 2], HEAP32[$9 + 504 >> 2], $7, $5, $6, HEAP32[$9 + 452 >> 2]); + $10 = std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____pad_and_output_wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ios_base__2c_20wchar_t_29($1, $2, HEAP32[$9 + 36 >> 2], HEAP32[$9 + 32 >> 2], $3, $4); + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29____unique_ptr_28_29($8); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($6); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($5); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($7); + std____2__locale___locale_28_29($9 + 520 | 0); + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29____unique_ptr_28_29($11); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($14); + __stack_pointer = $9 + 1072 | 0; + return $10 | 0; + } + std____throw_bad_alloc_28_29(); + abort(); +} + +function std____2____money_put_wchar_t_____format_28wchar_t__2c_20wchar_t___2c_20wchar_t___2c_20unsigned_20int_2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ctype_wchar_t__20const__2c_20bool_2c_20std____2__money_base__pattern_20const__2c_20wchar_t_2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20int_29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) { + var $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $20 = __stack_pointer - 16 | 0; + __stack_pointer = $20; + HEAP32[$2 >> 2] = $0; + $22 = $3 & 512; + $23 = $7 << 2; while (1) { - if ((i5 | 0) == 4) break; - i4 = (HEAP32[i9 + (i5 << 2) >> 2] | 0) + i10 | 0; - i2 = HEAP32[i3 + 4 >> 2] | 0; - i1 = HEAP32[i3 + 8 >> 2] | 0; - if (!(i2 | i1)) if ((((HEAP32[i3 + 12 >> 2] | 0) == 0 ? (HEAP32[i3 + 20 >> 2] | 0) == 0 : 0) ? (HEAP32[i3 + 24 >> 2] | 0) == 0 : 0) ? (HEAP32[i3 + 28 >> 2] | 0) == 0 : 0) { - i1 = HEAP8[i6 + (((HEAP32[i3 >> 2] | 0) + 16 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[i4 >> 0] = i1; - HEAP8[i4 + 1 >> 0] = i1; - HEAP8[i4 + 2 >> 0] = i1; - i2 = 3; - } else { - i1 = 0; - i11 = 20; - } else i11 = 20; - if ((i11 | 0) == 20) { - i11 = 0; - i16 = HEAP32[i3 >> 2] << 14; - i17 = (Math_imul(HEAP32[i3 + 24 >> 2] | 0, -6270) | 0) + (i1 * 15137 | 0) | 0; - i13 = HEAP32[i3 + 28 >> 2] | 0; - i14 = HEAP32[i3 + 20 >> 2] | 0; - i15 = HEAP32[i3 + 12 >> 2] | 0; - i1 = (Math_imul(i13, -1730) | 0) + (i2 * 8697 | 0) + (i14 * 11893 | 0) + (Math_imul(i15, -17799) | 0) | 0; - i2 = (Math_imul(i13, -4176) | 0) + (i2 * 20995 | 0) + (Math_imul(i14, -4926) | 0) + (i15 * 7373 | 0) | 0; - i15 = i17 + i16 + 262144 | 0; - HEAP8[i4 >> 0] = HEAP8[i6 + ((i15 + i2 | 0) >>> 19 & 1023) >> 0] | 0; - HEAP8[i4 + 3 >> 0] = HEAP8[i6 + ((i15 - i2 | 0) >>> 19 & 1023) >> 0] | 0; - i2 = i16 - i17 + 262144 | 0; - HEAP8[i4 + 1 >> 0] = HEAP8[i6 + ((i2 + i1 | 0) >>> 19 & 1023) >> 0] | 0; - i1 = HEAP8[i6 + ((i2 - i1 | 0) >>> 19 & 1023) >> 0] | 0; - i2 = 2; - } - HEAP8[i4 + i2 >> 0] = i1; - i5 = i5 + 1 | 0; - i3 = i3 + 32 | 0; - } - STACKTOP = i12; - return; -} - -function _get_dqt(i9) { - i9 = i9 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0; - i10 = HEAP32[i9 + 24 >> 2] | 0; - i11 = i10 + 4 | 0; - i1 = HEAP32[i11 >> 2] | 0; - if (!i1) if (!(FUNCTION_TABLE_ii[HEAP32[i10 + 12 >> 2] & 127](i9) | 0)) i1 = 0; else { - i1 = HEAP32[i11 >> 2] | 0; - i2 = 4; - } else i2 = 4; - L4 : do if ((i2 | 0) == 4) { - i2 = HEAP32[i10 >> 2] | 0; - i1 = i1 + -1 | 0; - i3 = (HEAPU8[i2 >> 0] | 0) << 8; - if (!i1) { - i2 = i10 + 12 | 0; - if (!(FUNCTION_TABLE_ii[HEAP32[i2 >> 2] & 127](i9) | 0)) { - i1 = 0; - break; - } - i1 = HEAP32[i11 >> 2] | 0; - i4 = HEAP32[i10 >> 2] | 0; + if (($21 | 0) == 4) { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($13) >>> 0 > 1) { + wasm2js_i32$0 = $20, wasm2js_i32$1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____begin_28_29_20const($13), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = wchar_t__20std____2__copy_std____2____wrap_iter_wchar_t_20const___2c_20wchar_t___28std____2____wrap_iter_wchar_t_20const___2c_20std____2____wrap_iter_wchar_t_20const___2c_20wchar_t__29(std____2____wrap_iter_wchar_t_20const____operator__28long_29_20const($20 + 8 | 0, 1), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____end_28_29_20const($13), HEAP32[$2 >> 2]), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $7 = $3 & 176; + if (($7 | 0) != 16) { + $0 = ($7 | 0) == 32 ? HEAP32[$2 >> 2] : $0; + HEAP32[$1 >> 2] = $0; + } + __stack_pointer = $20 + 16 | 0; } else { - i4 = i2 + 1 | 0; - i2 = i10 + 12 | 0; - } - i8 = (i3 | (HEAPU8[i4 >> 0] | 0)) + -2 | 0; - i3 = i1 + -1 | 0; - i1 = i4 + 1 | 0; - while (1) { - if ((i8 | 0) <= 0) break; - if (!i3) { - if (!(FUNCTION_TABLE_ii[HEAP32[i2 >> 2] & 127](i9) | 0)) { - i1 = 0; - break L4; - } - i3 = HEAP32[i11 >> 2] | 0; - i1 = HEAP32[i10 >> 2] | 0; - } - i4 = HEAPU8[i1 >> 0] | 0; - i6 = i4 >>> 4; - i4 = i4 & 15; - i7 = HEAP32[i9 >> 2] | 0; - HEAP32[i7 + 20 >> 2] = 81; - HEAP32[i7 + 24 >> 2] = i4; - HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] = i6; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i9 >> 2] | 0) + 4 >> 2] & 63](i9, 1); - if (i4 >>> 0 > 3) { - i7 = HEAP32[i9 >> 2] | 0; - HEAP32[i7 + 20 >> 2] = 31; - HEAP32[i7 + 24 >> 2] = i4; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i9 >> 2] >> 2] & 255](i9); - } - i4 = i9 + 164 + (i4 << 2) | 0; - i5 = HEAP32[i4 >> 2] | 0; - if (!i5) { - i5 = _jpeg_alloc_quant_table(i9) | 0; - HEAP32[i4 >> 2] = i5; - } - i7 = (i6 | 0) == 0; - i6 = 0; - while (1) { - i3 = i3 + -1 | 0; - i1 = i1 + 1 | 0; - if (i6 >>> 0 >= 64) break; - i4 = (i3 | 0) == 0; - if (i7) { - if (i4) { - if (!(FUNCTION_TABLE_ii[HEAP32[i2 >> 2] & 127](i9) | 0)) { - i1 = 0; - break L4; - } - i3 = HEAP32[i11 >> 2] | 0; - i1 = HEAP32[i10 >> 2] | 0; - } - i4 = HEAPU8[i1 >> 0] | 0; - } else { - if (i4) { - if (!(FUNCTION_TABLE_ii[HEAP32[i2 >> 2] & 127](i9) | 0)) { - i1 = 0; - break L4; - } - i3 = HEAP32[i11 >> 2] | 0; - i4 = HEAP32[i10 >> 2] | 0; - } else i4 = i1; - i3 = i3 + -1 | 0; - i1 = i4 + 1 | 0; - i4 = (HEAPU8[i4 >> 0] | 0) << 8; - if (!i3) { - if (!(FUNCTION_TABLE_ii[HEAP32[i2 >> 2] & 127](i9) | 0)) { - i1 = 0; - break L4; - } - i3 = HEAP32[i11 >> 2] | 0; - i1 = HEAP32[i10 >> 2] | 0; - } - i4 = i4 | (HEAPU8[i1 >> 0] | 0); - } - HEAP16[i5 + (HEAP32[2560 + (i6 << 2) >> 2] << 1) >> 1] = i4; - i6 = i6 + 1 | 0; - } - L44 : do if ((HEAP32[(HEAP32[i9 >> 2] | 0) + 104 >> 2] | 0) > 1) { - i4 = 0; - while (1) { - if (i4 >>> 0 >= 64) break L44; - i6 = HEAP32[i9 >> 2] | 0; - HEAP32[i6 + 24 >> 2] = HEAPU16[i5 + (i4 << 1) >> 1]; - HEAP32[i6 + 28 >> 2] = HEAPU16[i5 + ((i4 | 1) << 1) >> 1]; - HEAP32[i6 + 32 >> 2] = HEAPU16[i5 + ((i4 | 2) << 1) >> 1]; - HEAP32[i6 + 36 >> 2] = HEAPU16[i5 + ((i4 | 3) << 1) >> 1]; - HEAP32[i6 + 40 >> 2] = HEAPU16[i5 + ((i4 | 4) << 1) >> 1]; - HEAP32[i6 + 44 >> 2] = HEAPU16[i5 + ((i4 | 5) << 1) >> 1]; - HEAP32[i6 + 48 >> 2] = HEAPU16[i5 + ((i4 | 6) << 1) >> 1]; - HEAP32[i6 + 52 >> 2] = HEAPU16[i5 + ((i4 | 7) << 1) >> 1]; - HEAP32[i6 + 20 >> 2] = 93; - FUNCTION_TABLE_vii[HEAP32[i6 + 4 >> 2] & 63](i9, 2); - i4 = i4 + 8 | 0; - } - } while (0); - i8 = (i7 ? -65 : -129) + i8 | 0; - } - if (i8 | 0) { - i8 = HEAP32[i9 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 11; - FUNCTION_TABLE_vi[HEAP32[i8 >> 2] & 255](i9); - } - HEAP32[i10 >> 2] = i1; - HEAP32[i11 >> 2] = i3; - i1 = 1; - } while (0); - return i1 | 0; -} - -function __ZNK10__cxxabiv121__vmi_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(i2, i14, i15, i6, i13) { - i2 = i2 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i6 = i6 | 0; - i13 = i13 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - L1 : do if (!(__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i2, HEAP32[i14 + 8 >> 2] | 0, i13) | 0)) { - if (!(__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i2, HEAP32[i14 >> 2] | 0, i13) | 0)) { - i12 = HEAP32[i2 + 12 >> 2] | 0; - i5 = i2 + 16 + (i12 << 3) | 0; - __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(i2 + 16 | 0, i14, i15, i6, i13); - i1 = i2 + 24 | 0; - if ((i12 | 0) <= 1) break; - i2 = HEAP32[i2 + 8 >> 2] | 0; - if ((i2 & 2 | 0) == 0 ? (i4 = i14 + 36 | 0, (HEAP32[i4 >> 2] | 0) != 1) : 0) { - if (!(i2 & 1)) { - i2 = i14 + 54 | 0; - while (1) { - if (HEAP8[i2 >> 0] | 0) break L1; - if ((HEAP32[i4 >> 2] | 0) == 1) break L1; - __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(i1, i14, i15, i6, i13); - i1 = i1 + 8 | 0; - if (i1 >>> 0 >= i5 >>> 0) break L1; + label$7: { + label$8: { + switch (HEAP8[$8 + $21 | 0]) { + case 0: + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + break label$7; + + case 1: + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + $7 = std____2__ctype_wchar_t___widen_28char_29_20const($6, 32); + $15 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $15 + 4; + HEAP32[$15 >> 2] = $7; + break label$7; + + case 3: + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____empty_28_29_20const($13)) { + break label$7; + } + $7 = HEAP32[std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator_5b_5d_28unsigned_20long_29_20const($13, 0) >> 2]; + $15 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $15 + 4; + HEAP32[$15 >> 2] = $7; + break label$7; + + case 2: + $7 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____empty_28_29_20const($12); + if ($7 | !$22) { + break label$7; + } + wasm2js_i32$0 = $2, wasm2js_i32$1 = wchar_t__20std____2__copy_std____2____wrap_iter_wchar_t_20const___2c_20wchar_t___28std____2____wrap_iter_wchar_t_20const___2c_20std____2____wrap_iter_wchar_t_20const___2c_20wchar_t__29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____begin_28_29_20const($12), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____end_28_29_20const($12), HEAP32[$2 >> 2]), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$7; + + case 4: + break label$8; + + default: + break label$7; } } - i2 = i14 + 24 | 0; - i3 = i14 + 54 | 0; + $24 = HEAP32[$2 >> 2]; + $4 = $4 + $23 | 0; + $7 = $4; while (1) { - if (HEAP8[i3 >> 0] | 0) break L1; - if ((HEAP32[i4 >> 2] | 0) == 1 ? (HEAP32[i2 >> 2] | 0) == 1 : 0) break L1; - __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(i1, i14, i15, i6, i13); - i1 = i1 + 8 | 0; - if (i1 >>> 0 >= i5 >>> 0) break L1; - } - } - i2 = i14 + 54 | 0; - while (1) { - if (HEAP8[i2 >> 0] | 0) break L1; - __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(i1, i14, i15, i6, i13); - i1 = i1 + 8 | 0; - if (i1 >>> 0 >= i5 >>> 0) break L1; - } - } - if ((HEAP32[i14 + 16 >> 2] | 0) != (i15 | 0) ? (i12 = i14 + 20 | 0, (HEAP32[i12 >> 2] | 0) != (i15 | 0)) : 0) { - HEAP32[i14 + 32 >> 2] = i6; - i11 = i14 + 44 | 0; - if ((HEAP32[i11 >> 2] | 0) == 4) break; - i5 = i2 + 16 + (HEAP32[i2 + 12 >> 2] << 3) | 0; - i6 = i14 + 52 | 0; - i7 = i14 + 53 | 0; - i9 = i14 + 54 | 0; - i8 = i2 + 8 | 0; - i10 = i14 + 24 | 0; - i1 = 0; - i3 = i2 + 16 | 0; - i4 = 0; - L32 : while (1) { - if (i3 >>> 0 >= i5 >>> 0) { - i2 = 18; - break; - } - HEAP8[i6 >> 0] = 0; - HEAP8[i7 >> 0] = 0; - __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(i3, i14, i15, i15, 1, i13); - if (HEAP8[i9 >> 0] | 0) { - i2 = 18; + label$14: { + if ($5 >>> 0 <= $7 >>> 0) { + break label$14; + } + if (!std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($6, 64, HEAP32[$7 >> 2])) { + break label$14; + } + $7 = $7 + 4 | 0; + continue; + } break; } - do if (HEAP8[i7 >> 0] | 0) { - if (!(HEAP8[i6 >> 0] | 0)) if (!(HEAP32[i8 >> 2] & 1)) { - i1 = 1; - i2 = 18; - break L32; - } else { - i1 = 1; - i2 = i4; + if (($14 | 0) > 0) { + $15 = HEAP32[$2 >> 2]; + $16 = $14; + while (1) { + if (!(!$16 | $4 >>> 0 >= $7 >>> 0)) { + $7 = $7 - 4 | 0; + $18 = HEAP32[$7 >> 2]; + $17 = $15 + 4 | 0; + HEAP32[$2 >> 2] = $17; + HEAP32[$15 >> 2] = $18; + $16 = $16 - 1 | 0; + $15 = $17; + continue; + } break; } - if ((HEAP32[i10 >> 2] | 0) == 1) { - i2 = 23; - break L32; + label$18: { + if (!$16) { + $17 = 0; + break label$18; + } + $17 = std____2__ctype_wchar_t___widen_28char_29_20const($6, 48); + $15 = HEAP32[$2 >> 2]; } - if (!(HEAP32[i8 >> 2] & 2)) { - i2 = 23; - break L32; - } else { - i1 = 1; - i2 = 1; - } - } else i2 = i4; while (0); - i3 = i3 + 8 | 0; - i4 = i2; - } - do if ((i2 | 0) == 18) { - if ((!i4 ? (HEAP32[i12 >> 2] = i15, i15 = i14 + 40 | 0, HEAP32[i15 >> 2] = (HEAP32[i15 >> 2] | 0) + 1, (HEAP32[i14 + 36 >> 2] | 0) == 1) : 0) ? (HEAP32[i10 >> 2] | 0) == 2 : 0) { - HEAP8[i9 >> 0] = 1; - if (i1) { - i2 = 23; + while (1) { + $18 = $15 + 4 | 0; + if (($16 | 0) > 0) { + HEAP32[$15 >> 2] = $17; + $16 = $16 - 1 | 0; + $15 = $18; + continue; + } break; - } else { - i1 = 4; + } + HEAP32[$2 >> 2] = $18; + HEAP32[$15 >> 2] = $9; + } + label$22: { + if (($4 | 0) == ($7 | 0)) { + $15 = std____2__ctype_wchar_t___widen_28char_29_20const($6, 48); + $16 = HEAP32[$2 >> 2]; + $7 = $16 + 4 | 0; + HEAP32[$2 >> 2] = $7; + HEAP32[$16 >> 2] = $15; + break label$22; + } + label$24: { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____empty_28_29_20const($11)) { + $17 = std____2__numeric_limits_unsigned_20int___max_28_29(); + break label$24; + } + $17 = HEAP8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29_20const($11, 0) | 0]; + } + $15 = 0; + $19 = 0; + while (1) { + if (($4 | 0) != ($7 | 0)) { + label$28: { + if (($15 | 0) != ($17 | 0)) { + $18 = $15; + break label$28; + } + $16 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $16 + 4; + HEAP32[$16 >> 2] = $10; + $18 = 0; + $19 = $19 + 1 | 0; + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($11) >>> 0 <= $19 >>> 0) { + $17 = $15; + break label$28; + } + if (HEAPU8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29_20const($11, $19) | 0] == (std____2__numeric_limits_char___max_28_29() & 255)) { + $17 = std____2__numeric_limits_unsigned_20int___max_28_29(); + break label$28; + } + $17 = HEAP8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29_20const($11, $19) | 0]; + } + $7 = $7 - 4 | 0; + $15 = HEAP32[$7 >> 2]; + $16 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $16 + 4; + HEAP32[$16 >> 2] = $15; + $15 = $18 + 1 | 0; + continue; + } break; } + $7 = HEAP32[$2 >> 2]; } - if (i1) i2 = 23; else i1 = 4; - } while (0); - if ((i2 | 0) == 23) i1 = 3; - HEAP32[i11 >> 2] = i1; - break; + void_20std____2__reverse_wchar_t___28wchar_t__2c_20wchar_t__29($24, $7); + } + $21 = $21 + 1 | 0; + continue; } - if ((i6 | 0) == 1) HEAP32[i14 + 32 >> 2] = 1; - } else __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0, i14, i15, i6); while (0); - return; -} - -function _ar2ReadFeatureSet(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 640 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(640); - i18 = i21 + 624 | 0; - i17 = i21 + 616 | 0; - i16 = i21 + 608 | 0; - i15 = i21 + 600 | 0; - i14 = i21 + 592 | 0; - i13 = i21 + 584 | 0; - i12 = i21 + 576 | 0; - i11 = i21 + 568 | 0; - i10 = i21 + 560 | 0; - i9 = i21 + 552 | 0; - i6 = i21 + 544 | 0; - i5 = i21 + 536 | 0; - i4 = i21 + 528 | 0; - i3 = i21 + 520 | 0; - i8 = i21 + 512 | 0; - i19 = i21; - HEAP32[i8 >> 2] = i2; - HEAP32[i8 + 4 >> 2] = i1; - _sprintf(i19, 20471, i8) | 0; - i19 = _fopen(i19, 20063) | 0; - if (!i19) { - HEAP32[i3 >> 2] = i2; - _arLog(0, 3, 19645, i3); - i1 = 0; - } else { - i1 = _malloc(8) | 0; - if (!i1) { - _arLog(0, 3, 20454, i4); - _exit(1); - } - i2 = i1 + 4 | 0; - L7 : do if ((_fread(i2, 4, 1, i19) | 0) == 1) { - i7 = HEAP32[i2 >> 2] | 0; - i8 = _malloc(i7 * 20 | 0) | 0; - HEAP32[i1 >> 2] = i8; - if (!i8) { - _arLog(0, 3, 20454, i6); - _exit(1); - } - i6 = 0; - L12 : while (1) { - if ((i6 | 0) >= (i7 | 0)) break L7; - if ((_fread(i8 + (i6 * 20 | 0) + 8 | 0, 4, 1, i19) | 0) != 1) { - i20 = 12; - break; - } - if ((_fread(i8 + (i6 * 20 | 0) + 12 | 0, 4, 1, i19) | 0) != 1) { - i20 = 15; - break; - } - if ((_fread(i8 + (i6 * 20 | 0) + 16 | 0, 4, 1, i19) | 0) != 1) { - i20 = 17; - break; - } - i4 = i8 + (i6 * 20 | 0) + 4 | 0; - if ((_fread(i4, 4, 1, i19) | 0) != 1) { - i20 = 19; - break; - } - i2 = HEAP32[i4 >> 2] | 0; - i3 = _malloc(i2 * 20 | 0) | 0; - i5 = i8 + (i6 * 20 | 0) | 0; - HEAP32[i5 >> 2] = i3; - if (!i3) { - i20 = 22; - break; - } - i3 = 0; - while (1) { - if ((i3 | 0) >= (i2 | 0)) break; - if ((_fread((HEAP32[i5 >> 2] | 0) + (i3 * 20 | 0) | 0, 4, 1, i19) | 0) != 1) { - i20 = 25; - break L12; - } - if ((_fread((HEAP32[i5 >> 2] | 0) + (i3 * 20 | 0) + 4 | 0, 4, 1, i19) | 0) != 1) { - i20 = 27; - break L12; - } - if ((_fread((HEAP32[i5 >> 2] | 0) + (i3 * 20 | 0) + 8 | 0, 4, 1, i19) | 0) != 1) { - i20 = 29; - break L12; + break; + } +} + +function decode_mcu($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0; + $6 = HEAP32[$0 + 468 >> 2]; + if (HEAP32[$0 + 280 >> 2]) { + $4 = HEAP32[$6 + 56 >> 2]; + if (!$4) { + process_restart($0); + $4 = HEAP32[$6 + 56 >> 2]; + } + HEAP32[$6 + 56 >> 2] = $4 - 1; + } + label$3: { + if (!(HEAP32[$6 + 20 >> 2] == -1 | HEAP32[$0 + 368 >> 2] <= 0)) { + $16 = HEAP32[$0 + 432 >> 2]; + $17 = $6 + 188 | 0; + while (1) { + $4 = $12 << 2; + $13 = HEAP32[$4 + $1 >> 2]; + $4 = HEAP32[($0 + $4 | 0) + 372 >> 2] << 2; + $14 = HEAP32[($4 + $0 | 0) + 344 >> 2]; + $7 = HEAP32[$14 + 20 >> 2]; + $15 = ($7 << 2) + $6 | 0; + $5 = $15 + 60 | 0; + $8 = $4 + $6 | 0; + $3 = $8 + 40 | 0; + $2 = HEAP32[$5 >> 2] + HEAP32[$3 >> 2] | 0; + label$6: { + if (!arith_decode($0, $2)) { + HEAP32[$8 + 40 >> 2] = 0; + $4 = HEAP32[$8 + 24 >> 2]; + break label$6; + } + $10 = 1; + $9 = 0; + $4 = 0; + $11 = arith_decode($0, $2 + 1 | 0); + $2 = ($11 + $2 | 0) + 2 | 0; + label$8: { + if (!arith_decode($0, $2)) { + break label$8; + } + $5 = HEAP32[$15 + 60 >> 2]; + $2 = $5 + 20 | 0; + if (!arith_decode($0, $2)) { + $4 = 1; + break label$8; + } + $10 = 0; + $2 = $5 + 21 | 0; + if (!arith_decode($0, $2)) { + $4 = 2; + break label$8; + } + $2 = $5 + 22 | 0; + if (!arith_decode($0, $2)) { + $4 = 4; + break label$8; + } + $2 = $5 + 23 | 0; + if (!arith_decode($0, $2)) { + $4 = 8; + break label$8; + } + $2 = $5 + 24 | 0; + if (!arith_decode($0, $2)) { + $4 = 16; + break label$8; + } + $2 = $5 + 25 | 0; + if (!arith_decode($0, $2)) { + $4 = 32; + break label$8; + } + $2 = $5 + 26 | 0; + if (!arith_decode($0, $2)) { + $4 = 64; + break label$8; + } + $2 = $5 + 27 | 0; + if (!arith_decode($0, $2)) { + $4 = 128; + break label$8; + } + $2 = $5 + 28 | 0; + if (!arith_decode($0, $2)) { + $4 = 256; + break label$8; + } + $2 = $5 + 29 | 0; + if (!arith_decode($0, $2)) { + $4 = 512; + break label$8; + } + $2 = $5 + 30 | 0; + if (!arith_decode($0, $2)) { + $4 = 1024; + break label$8; + } + $2 = $5 + 31 | 0; + if (!arith_decode($0, $2)) { + $4 = 2048; + break label$8; + } + $2 = $5 + 32 | 0; + if (!arith_decode($0, $2)) { + $4 = 4096; + break label$8; + } + $2 = $5 + 33 | 0; + if (!arith_decode($0, $2)) { + $4 = 8192; + break label$8; + } + $4 = 16384; + $2 = $5 + 34 | 0; + if (arith_decode($0, $2)) { + break label$3; + } } - if ((_fread((HEAP32[i5 >> 2] | 0) + (i3 * 20 | 0) + 12 | 0, 4, 1, i19) | 0) != 1) { - i20 = 31; - break L12; + $7 = $0 + $7 | 0; + label$23: { + if (1 << HEAPU8[$7 + 232 | 0] >> 1 > ($4 | 0)) { + break label$23; + } + $9 = $11 << 2; + if (1 << HEAPU8[$7 + 248 | 0] >> 1 < ($4 | 0)) { + $9 = $9 + 12 | 0; + break label$23; + } + $9 = $9 + 4 | 0; } - if ((_fread((HEAP32[i5 >> 2] | 0) + (i3 * 20 | 0) + 16 | 0, 4, 1, i19) | 0) != 1) { - i20 = 34; - break L12; + HEAP32[$8 + 40 >> 2] = $9; + label$25: { + if ($10) { + $2 = $4; + break label$25; + } + $7 = $2 + 14 | 0; + $2 = $4; + while (1) { + $3 = $4 >>> 1 | 0; + $2 = (arith_decode($0, $7) ? $3 : 0) | $2; + $10 = $4 >>> 0 > 3; + $4 = $3; + if ($10) { + continue; + } + break; + } } - i3 = i3 + 1 | 0; - i2 = HEAP32[i4 >> 2] | 0; + $4 = $8 + 24 | 0; + $3 = $4; + $4 = HEAP32[$8 + 24 >> 2] + ($11 ? $2 ^ -1 : $2 + 1 | 0) | 0; + HEAP32[$3 >> 2] = $4; } - i6 = i6 + 1 | 0; - } - switch (i20 | 0) { - case 12: - { - _arLog(0, 3, 19666, i9); - break; - } - case 15: - { - _arLog(0, 3, 19666, i10); - break; - } - case 17: - { - _arLog(0, 3, 19666, i11); - break; - } - case 19: - { - _arLog(0, 3, 19666, i12); - break; - } - case 22: - { - _arLog(0, 3, 20454, i13); - _exit(1); - break; - } - case 25: - { - _arLog(0, 3, 19666, i14); - break; - } - case 27: - { - _arLog(0, 3, 19666, i15); - break; + HEAP16[$13 >> 1] = $4; + label$28: { + if (!HEAP32[$0 + 436 >> 2]) { + break label$28; + } + $4 = HEAP32[$14 + 24 >> 2]; + $11 = $4 + $0 | 0; + $5 = ($4 << 2) + $6 | 0; + $4 = 0; + while (1) { + $3 = $4; + $2 = HEAP32[$5 + 124 >> 2] + Math_imul($3, 3) | 0; + if (arith_decode($0, $2)) { + break label$28; + } + while (1) { + label$31: { + $4 = $3 + 1 | 0; + if (arith_decode($0, $2 + 1 | 0)) { + break label$31; + } + $2 = $2 + 3 | 0; + $3 = $4; + if (($3 | 0) < HEAP32[$0 + 436 >> 2]) { + continue; + } + break label$3; + } + break; + } + $9 = arith_decode($0, $17); + $2 = $2 + 2 | 0; + label$32: { + if (!arith_decode($0, $2)) { + $3 = 0; + break label$32; + } + if (!arith_decode($0, $2)) { + $3 = 1; + break label$32; + } + $3 = HEAP32[$5 + 124 >> 2] + (HEAPU8[$11 + 264 | 0] > ($3 | 0) ? 189 : 217) | 0; + label$35: { + if (!arith_decode($0, $3)) { + $2 = 2; + break label$35; + } + $3 = $3 + 1 | 0; + if (!arith_decode($0, $3)) { + $2 = 4; + break label$35; + } + $3 = $3 + 1 | 0; + if (!arith_decode($0, $3)) { + $2 = 8; + break label$35; + } + $3 = $3 + 1 | 0; + if (!arith_decode($0, $3)) { + $2 = 16; + break label$35; + } + $3 = $3 + 1 | 0; + if (!arith_decode($0, $3)) { + $2 = 32; + break label$35; + } + $3 = $3 + 1 | 0; + if (!arith_decode($0, $3)) { + $2 = 64; + break label$35; + } + $3 = $3 + 1 | 0; + if (!arith_decode($0, $3)) { + $2 = 128; + break label$35; + } + $3 = $3 + 1 | 0; + if (!arith_decode($0, $3)) { + $2 = 256; + break label$35; + } + $3 = $3 + 1 | 0; + if (!arith_decode($0, $3)) { + $2 = 512; + break label$35; + } + $3 = $3 + 1 | 0; + if (!arith_decode($0, $3)) { + $2 = 1024; + break label$35; + } + $3 = $3 + 1 | 0; + if (!arith_decode($0, $3)) { + $2 = 2048; + break label$35; + } + $3 = $3 + 1 | 0; + if (!arith_decode($0, $3)) { + $2 = 4096; + break label$35; + } + $3 = $3 + 1 | 0; + if (!arith_decode($0, $3)) { + $2 = 8192; + break label$35; + } + $2 = 16384; + $3 = $3 + 1 | 0; + if (arith_decode($0, $3)) { + break label$3; + } + } + $8 = $3 + 14 | 0; + $3 = $2; + while (1) { + $10 = $2 >>> 1 | 0; + $3 = (arith_decode($0, $8) ? $10 : 0) | $3; + $7 = $2 >>> 0 > 3; + $2 = $10; + if ($7) { + continue; + } + break; + } + } + HEAP16[(HEAP32[($4 << 2) + $16 >> 2] << 1) + $13 >> 1] = $9 ? $3 ^ -1 : $3 + 1 | 0; + if (HEAP32[$0 + 436 >> 2] > ($4 | 0)) { + continue; + } + break; + } } - case 29: - { - _arLog(0, 3, 19666, i16); - break; + $12 = $12 + 1 | 0; + if (($12 | 0) < HEAP32[$0 + 368 >> 2]) { + continue; } - case 31: - { - _arLog(0, 3, 19666, i17); - break; + break; + } + } + return 1; + } + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 117; + FUNCTION_TABLE[HEAP32[$4 + 4 >> 2]]($0, -1); + HEAP32[$6 + 20 >> 2] = -1; + return 1; +} + +function mbsrtowcs($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = HEAP32[$1 >> 2]; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + label$10: { + label$11: { + label$12: { + if (!$3) { + break label$12; + } + $6 = HEAP32[$3 >> 2]; + if (!$6) { + break label$12; + } + if (!$0) { + $3 = $2; + break label$10; + } + HEAP32[$3 >> 2] = 0; + $3 = $2; + break label$11; + } + label$14: { + if (!HEAP32[HEAP32[__get_tp() + 88 >> 2] >> 2]) { + if (!$0) { + break label$14; + } + if (!$2) { + break label$1; + } + $6 = $2; + while (1) { + $3 = HEAP8[$4 | 0]; + if ($3) { + HEAP32[$0 >> 2] = $3 & 57343; + $0 = $0 + 4 | 0; + $4 = $4 + 1 | 0; + $6 = $6 - 1 | 0; + if ($6) { + continue; + } + break label$1; + } + break; + } + HEAP32[$0 >> 2] = 0; + HEAP32[$1 >> 2] = 0; + return $2 - $6 | 0; + } + $3 = $2; + if (!$0) { + break label$9; + } + break label$7; + } + return strlen($4); + } + $5 = 1; + break label$7; + } + $5 = 0; + break label$8; + } + $5 = 1; + } + while (1) { + if (!$5) { + $5 = HEAPU8[$4 | 0] >>> 3 | 0; + if (($5 - 16 | ($6 >> 26) + $5) >>> 0 > 7) { + break label$6; + } + $5 = $4 + 1 | 0; + label$20: { + if (!($6 & 33554432)) { + break label$20; + } + if ((HEAPU8[$5 | 0] & 192) != 128) { + $4 = $4 - 1 | 0; + break label$4; + } + $5 = $4 + 2 | 0; + if (!($6 & 524288)) { + break label$20; + } + if ((HEAPU8[$5 | 0] & 192) != 128) { + $4 = $4 - 1 | 0; + break label$4; + } + $5 = $4 + 3 | 0; + } + $4 = $5; + $3 = $3 - 1 | 0; + $5 = 1; + continue; + } + while (1) { + $6 = HEAPU8[$4 | 0]; + label$24: { + if ($4 & 3 | $6 - 1 >>> 0 > 126) { + break label$24; + } + $6 = HEAP32[$4 >> 2]; + if (($6 | $6 - 16843009) & -2139062144) { + break label$24; + } + while (1) { + $3 = $3 - 4 | 0; + $6 = HEAP32[$4 + 4 >> 2]; + $5 = $4 + 4 | 0; + $4 = $5; + if (!(($6 - 16843009 | $6) & -2139062144)) { + continue; + } + break; + } + $4 = $5; + } + $5 = $6 & 255; + if ($5 - 1 >>> 0 <= 126) { + $3 = $3 - 1 | 0; + $4 = $4 + 1 | 0; + continue; + } + break; + } + $5 = $5 - 194 | 0; + if ($5 >>> 0 > 50) { + break label$5; + } + $4 = $4 + 1 | 0; + $6 = HEAP32[($5 << 2) + 52560 >> 2]; + $5 = 0; + continue; + } + } + while (1) { + if (!$5) { + if (!$3) { + break label$1; + } + while (1) { + label$30: { + $5 = HEAPU8[$4 | 0]; + $7 = $5 - 1 | 0; + label$31: { + label$32: { + if ($7 >>> 0 > 126) { + $6 = $5; + break label$32; + } + if ($4 & 3 | $3 >>> 0 < 5) { + break label$31; + } + label$34: { + while (1) { + $6 = HEAP32[$4 >> 2]; + if (($6 | $6 - 16843009) & -2139062144) { + break label$34; + } + HEAP32[$0 >> 2] = $6 & 255; + HEAP32[$0 + 4 >> 2] = HEAPU8[$4 + 1 | 0]; + HEAP32[$0 + 8 >> 2] = HEAPU8[$4 + 2 | 0]; + HEAP32[$0 + 12 >> 2] = HEAPU8[$4 + 3 | 0]; + $0 = $0 + 16 | 0; + $4 = $4 + 4 | 0; + $3 = $3 - 4 | 0; + if ($3 >>> 0 > 4) { + continue; + } + break; + } + $6 = HEAPU8[$4 | 0]; + } + $5 = $6 & 255; + $7 = $5 - 1 | 0; + } + if ($7 >>> 0 > 126) { + break label$30; + } + } + HEAP32[$0 >> 2] = $5; + $0 = $0 + 4 | 0; + $4 = $4 + 1 | 0; + $3 = $3 - 1 | 0; + if ($3) { + continue; + } + break label$1; + } + break; + } + $5 = $5 - 194 | 0; + if ($5 >>> 0 > 50) { + break label$5; + } + $4 = $4 + 1 | 0; + $6 = HEAP32[($5 << 2) + 52560 >> 2]; + $5 = 1; + continue; + } + $7 = HEAPU8[$4 | 0]; + $5 = $7 >>> 3 | 0; + if (($5 - 16 | ($6 >> 26) + $5) >>> 0 > 7) { + break label$6; + } + label$36: { + label$37: { + $8 = $4 + 1 | 0; + $5 = $7 - 128 | $6 << 6; + label$38: { + if (($5 | 0) >= 0) { + break label$38; + } + $7 = HEAPU8[$8 | 0] - 128 | 0; + if ($7 >>> 0 > 63) { + break label$37; + } + $8 = $4 + 2 | 0; + $5 = $5 << 6 | $7; + if (($5 | 0) >= 0) { + break label$38; + } + $7 = HEAPU8[$8 | 0] - 128 | 0; + if ($7 >>> 0 > 63) { + break label$37; + } + $5 = $5 << 6 | $7; + $8 = $4 + 3 | 0; + } + $4 = $8; + HEAP32[$0 >> 2] = $5; + $3 = $3 - 1 | 0; + $0 = $0 + 4 | 0; + break label$36; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 25, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $4 = $4 - 1 | 0; + break label$3; + } + $5 = 0; + continue; + } + } + $4 = $4 - 1 | 0; + if ($6) { + break label$4; + } + $6 = HEAPU8[$4 | 0]; + } + if ($6 & 255) { + break label$4; + } + if ($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$1 >> 2] = 0; + } + return $2 - $3 | 0; } - case 34: - { - _arLog(0, 3, 19666, i18); - break; + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 25, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!$0) { + break label$2; } } - i2 = 0; - while (1) { - if ((i2 | 0) == (i6 | 0)) break; - _free(HEAP32[i8 + (i2 * 20 | 0) >> 2] | 0); - i2 = i2 + 1 | 0; + HEAP32[$1 >> 2] = $4; + } + return -1; + } + HEAP32[$1 >> 2] = $4; + return $2; +} + +function vision__BinaryFeatureMatcher_96___match_28vision__BinaryFeatureStore_20const__2c_20vision__BinaryFeatureStore_20const__2c_20vision__BinaryHierarchicalClustering_96__20const__29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $8 = __stack_pointer - 16 | 0; + __stack_pointer = $8; + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____clear_28_29($0); + label$1: { + label$2: { + if (!vision__BinaryFeatureStore__size_28_29_20const($1)) { + break label$2; } - _free(i8); - i20 = 39; - } else { - _arLog(0, 3, 19666, i5); - i20 = 39; - } while (0); - if ((i20 | 0) == 39) { - _free(i1); - i1 = 0; - } - _fclose(i19) | 0; - } - STACKTOP = i21; - return i1 | 0; -} - -function _decode_mcu_DC_first(i8, i9) { - i8 = i8 | 0; - i9 = i9 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i10 = i24 + 20 | 0; - i15 = i24; - i22 = HEAP32[i8 + 444 >> 2] | 0; - i23 = HEAP32[i8 + 412 >> 2] | 0; - if (((HEAP32[i8 + 276 >> 2] | 0) != 0 ? (HEAP32[i22 + 40 >> 2] | 0) == 0 : 0) ? (_process_restart_49(i8) | 0) == 0 : 0) i1 = 0; else i6 = 4; - L4 : do if ((i6 | 0) == 4) { - if (!(HEAP32[i22 + 8 >> 2] | 0)) { - HEAP32[i10 + 16 >> 2] = i8; - i11 = i8 + 24 | 0; - i13 = HEAP32[i11 >> 2] | 0; - HEAP32[i10 >> 2] = HEAP32[i13 >> 2]; - i12 = i10 + 4 | 0; - HEAP32[i12 >> 2] = HEAP32[i13 + 4 >> 2]; - i13 = i22 + 12 | 0; - i2 = HEAP32[i13 >> 2] | 0; - i14 = i22 + 16 | 0; - i1 = HEAP32[i14 >> 2] | 0; - i16 = i22 + 20 | 0; - HEAP32[i15 >> 2] = HEAP32[i16 >> 2]; - HEAP32[i15 + 4 >> 2] = HEAP32[i16 + 4 >> 2]; - HEAP32[i15 + 8 >> 2] = HEAP32[i16 + 8 >> 2]; - HEAP32[i15 + 12 >> 2] = HEAP32[i16 + 12 >> 2]; - HEAP32[i15 + 16 >> 2] = HEAP32[i16 + 16 >> 2]; - i17 = i8 + 356 | 0; - i18 = i10 + 8 | 0; - i19 = i10 + 12 | 0; - i7 = 0; + if (!vision__BinaryFeatureStore__size_28_29_20const($2)) { + break label$2; + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____reserve_28unsigned_20long_29($0, vision__BinaryFeatureStore__size_28_29_20const($1)); while (1) { - if ((i7 | 0) >= (HEAP32[i17 >> 2] | 0)) break; - i20 = HEAP32[i9 + (i7 << 2) >> 2] | 0; - i21 = HEAP32[i8 + 360 + (i7 << 2) >> 2] | 0; - i5 = HEAP32[i22 + 44 + (HEAP32[(HEAP32[i8 + 332 + (i21 << 2) >> 2] | 0) + 20 >> 2] << 2) >> 2] | 0; - if ((i1 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer(i10, i2, i1, 0) | 0)) { - i1 = 0; - break L4; - } - i2 = HEAP32[i18 >> 2] | 0; - i1 = HEAP32[i19 >> 2] | 0; - if ((i1 | 0) < 8) { - i3 = 1; - i6 = 12; - } else { - i4 = i1; - i6 = 10; - } - } else { - i4 = i1; - i6 = 10; - } - if ((i6 | 0) == 10) { - i6 = 0; - i1 = i2 >> i4 + -8 & 255; - i3 = HEAP32[i5 + 144 + (i1 << 2) >> 2] | 0; - if (!i3) { - i3 = 9; - i1 = i4; - i6 = 12; - } else { - i1 = HEAPU8[i5 + 1168 + i1 >> 0] | 0; - i3 = i4 - i3 | 0; + label$4: { + if (vision__BinaryFeatureStore__size_28_29_20const($1) >>> 0 <= $5 >>> 0) { + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0) >>> 0 <= vision__BinaryFeatureStore__size_28_29_20const($1) >>> 0) { + break label$4; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 22804), 22621), 9176), 175), 10040), 22864), 16); + abort(); + abort(); + } + $7 = std____2__numeric_limits_unsigned_20int___max_28_29(); + $6 = std____2__numeric_limits_unsigned_20int___max_28_29(); + $9 = std____2__numeric_limits_int___max_28_29(); + $12 = vision__BinaryFeatureStore__feature_28unsigned_20long_29_20const($1, $5); + vision__BinaryHierarchicalClustering_96___query_28unsigned_20char_20const__29_20const($3, $12); + $4 = 0; + $13 = vision__BinaryFeatureStore__point_28unsigned_20long_29_20const($1, $5); + $10 = vision__BinaryHierarchicalClustering_96___reverseIndex_28_29_20const($3); + label$6: { + while (1) { + if (std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($10) >>> 0 <= $4 >>> 0) { + label$9: { + if ((std____2__numeric_limits_unsigned_20int___max_28_29() | 0) == ($7 | 0)) { + break label$6; + } + if ((std____2__numeric_limits_unsigned_20long___max_28_29() | 0) == ($9 | 0)) { + break label$1; + } + if ((std____2__numeric_limits_unsigned_20int___max_28_29() | 0) != ($6 | 0)) { + break label$9; + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____push_back_28vision__match_t___29($0, vision__match_t__match_t_28int_2c_20int_29($8 + 8 | 0, $5, $9)); + break label$6; + } + } else { + label$11: { + if (HEAPU8[$13 + 16 | 0] != HEAPU8[vision__BinaryFeatureStore__point_28unsigned_20long_29_20const($2, HEAP32[std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29_20const($10, $4) >> 2]) + 16 | 0]) { + break label$11; + } + $11 = unsigned_20int_20vision__HammingDistance_96__28unsigned_20char_20const__2c_20unsigned_20char_20const__29($12, vision__BinaryFeatureStore__feature_28unsigned_20long_29_20const($2, HEAP32[std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29_20const($10, $4) >> 2])); + if ($11 >>> 0 < $7 >>> 0) { + $9 = HEAP32[std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29_20const($10, $4) >> 2]; + $6 = $7; + $7 = $11; + break label$11; + } + $6 = $6 >>> 0 > $11 >>> 0 ? $11 : $6; + } + $4 = $4 + 1 | 0; + continue; + } + break; + } + if (!(HEAPF32[$0 + 12 >> 2] > Math_fround(Math_fround($7 >>> 0) / Math_fround($6 >>> 0)))) { + break label$6; + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____push_back_28vision__match_t___29($0, vision__match_t__match_t_28int_2c_20int_29($8 + 8 | 0, $5, $9)); } + $5 = $5 + 1 | 0; + continue; } - if ((i6 | 0) == 12) { - i1 = _jpeg_huff_decode(i10, i2, i1, i5, i3) | 0; - if ((i1 | 0) < 0) { - i1 = 0; - break L4; - } - i3 = HEAP32[i19 >> 2] | 0; - i2 = HEAP32[i18 >> 2] | 0; + break; + } + $4 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0); + } + __stack_pointer = $8 + 16 | 0; + return $4; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 22549), 22621), 9176), 160), 10040), 22729), 16); + abort(); + abort(); +} + +function vision__HoughSimilarityVoting__autoAdjustXYNumBins_28float_20const__2c_20float_20const__2c_20int_29($0, $1, $2, $3) { + var $4 = Math_fround(0), $5 = 0, $6 = Math_fround(0), $7 = 0, $8 = 0, $9 = 0, $10 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f32$0 = Math_fround(0); + $7 = __stack_pointer - 16 | 0; + __stack_pointer = $7; + $8 = int_20vision__max2_int__28int_2c_20int_29(HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2]); + $5 = std____2__vector_float_2c_20std____2__allocator_float____vector_28unsigned_20long_29($7, $3); + label$1: { + label$2: { + if (($3 | 0) > 0) { + if (HEAP32[$0 >> 2] <= 0) { + break label$2; + } + if (HEAP32[$0 + 4 >> 2] <= 0) { + break label$1; + } + $9 = $2 + 12 | 0; + $10 = $1 + 12 | 0; + $6 = Math_fround($8 | 0); + $2 = 0; + while (1) if (($2 | 0) == ($3 | 0)) { + $4 = float_20vision__FastMedian_float__28float__2c_20int_29(std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($5, 0), std____2__vector_float_2c_20std____2__allocator_float____size_28_29_20const($5)); + $4 = Math_fround($4 * Math_fround(.25)); + $6 = ceil_28float_29(Math_fround(Math_fround(HEAPF32[$0 + 24 >> 2] - HEAPF32[$0 + 20 >> 2]) / $4)); + label$6: { + if (Math_fround(Math_abs($6)) < Math_fround(2147483648)) { + $2 = ~~$6; + break label$6; + } + $2 = -2147483648; + } + wasm2js_i32$0 = $0, wasm2js_i32$1 = int_20vision__max2_int__28int_2c_20int_29(5, $2), + HEAP32[wasm2js_i32$0 + 52 >> 2] = wasm2js_i32$1; + $4 = ceil_28float_29(Math_fround(Math_fround(HEAPF32[$0 + 32 >> 2] - HEAPF32[$0 + 28 >> 2]) / $4)); + label$8: { + if (Math_fround(Math_abs($4)) < Math_fround(2147483648)) { + $2 = ~~$4; + break label$8; + } + $2 = -2147483648; + } + $2 = int_20vision__max2_int__28int_2c_20int_29(5, $2); + HEAP32[$0 + 56 >> 2] = $2; + $2 = Math_imul(HEAP32[$0 + 52 >> 2], $2); + HEAP32[$0 + 84 >> 2] = $2; + HEAP32[$0 + 88 >> 2] = Math_imul(HEAP32[$0 + 60 >> 2], $2); + std____2__vector_float_2c_20std____2__allocator_float_____vector_28_29($5); + __stack_pointer = $7 + 16 | 0; + return; + } else { + $1 = $2 << 4; + $4 = float_20vision__SafeDivision_float__28float_2c_20float_29(HEAPF32[$10 + $1 >> 2], HEAPF32[$1 + $9 >> 2]); + wasm2js_i32$0 = std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($5, $2), + wasm2js_f32$0 = Math_fround($4 * $6), HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + $2 = $2 + 1 | 0; + continue; } - if (i1) { - if ((i3 | 0) < (i1 | 0)) { - if (!(_jpeg_fill_bit_buffer(i10, i2, i3, i1) | 0)) { - i1 = 0; - break L4; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 14028), 2193), 3289), 208), 3786), 14457), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 15032), 2193), 3289), 209), 3786), 15461), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 15833), 2193), 3289), 210), 3786), 16115), 16); + abort(); + abort(); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArgs_28bool_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 73)) { + break label$1; + } + if ($1) { + $3 = $0 + 332 | 0; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___clear_28_29($3); + $4 = $0 + 288 | 0; + HEAP32[$2 + 16 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___20const__29($3, $2 + 16 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___clear_28_29($4); + } + $4 = $0 + 332 | 0; + $5 = $0 + 8 | 0; + $7 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($5); + label$3: { + while (1) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + if ($1) { + $6 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___PODSmallVector_28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul____29($2 + 16 | 0, $4); + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArg_28_29($0); + HEAP32[$2 + 12 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___operator__28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul____29($4, $6); + if (!$3) { + break label$3; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($5, $2 + 12 | 0); + HEAP32[$2 + 8 >> 2] = $3; + if (($28anonymous_20namespace_29__itanium_demangle__Node__getKind_28_29_20const($3) | 0) == 34) { + $28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack__getElements_28_29_20const($2, $3); + wasm2js_i32$0 = $2, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ParameterPack_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $2), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; } - i3 = HEAP32[i19 >> 2] | 0; - i2 = HEAP32[i18 >> 2] | 0; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29(HEAP32[$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___back_28_29($4) >> 2], $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul____PODSmallVector_28_29($6); + continue; } - i4 = i3 - i1 | 0; - i3 = i2 >> i4 & (1 << i1) + -1; - if ((i3 | 0) < (HEAP32[2880 + (i1 << 2) >> 2] | 0)) { - i5 = (HEAP32[2944 + (i1 << 2) >> 2] | 0) + i3 | 0; - i1 = i4; - } else { - i5 = i3; - i1 = i4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArg_28_29($0); + HEAP32[$2 + 16 >> 2] = $3; + if (!$3) { + break label$1; } - } else { - i5 = 0; - i1 = i3; - } - i6 = i15 + 4 + (i21 << 2) | 0; - i21 = (HEAP32[i6 >> 2] | 0) + i5 | 0; - HEAP32[i6 >> 2] = i21; - HEAP16[i20 >> 1] = i21 << i23; - i7 = i7 + 1 | 0; - } - i23 = HEAP32[i11 >> 2] | 0; - HEAP32[i23 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i23 + 4 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i13 >> 2] = i2; - HEAP32[i14 >> 2] = i1; - HEAP32[i16 >> 2] = HEAP32[i15 >> 2]; - HEAP32[i16 + 4 >> 2] = HEAP32[i15 + 4 >> 2]; - HEAP32[i16 + 8 >> 2] = HEAP32[i15 + 8 >> 2]; - HEAP32[i16 + 12 >> 2] = HEAP32[i15 + 12 >> 2]; - HEAP32[i16 + 16 >> 2] = HEAP32[i15 + 16 >> 2]; - } - i1 = i22 + 40 | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + -1; - i1 = 1; - } while (0); - STACKTOP = i24; - return i1 | 0; -} - -function _fmod(d12, d1) { - d12 = +d12; - d1 = +d1; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i13 = 0, i14 = 0; - HEAPF64[tempDoublePtr >> 3] = d12; - i6 = HEAP32[tempDoublePtr >> 2] | 0; - i8 = HEAP32[tempDoublePtr + 4 >> 2] | 0; - HEAPF64[tempDoublePtr >> 3] = d1; - i10 = HEAP32[tempDoublePtr >> 2] | 0; - i11 = HEAP32[tempDoublePtr + 4 >> 2] | 0; - i3 = _bitshift64Lshr(i6 | 0, i8 | 0, 52) | 0; - getTempRet0() | 0; - i3 = i3 & 2047; - i9 = _bitshift64Lshr(i10 | 0, i11 | 0, 52) | 0; - getTempRet0() | 0; - i9 = i9 & 2047; - i13 = i8 & -2147483648; - i5 = _bitshift64Shl(i10 | 0, i11 | 0, 1) | 0; - i7 = getTempRet0() | 0; - L1 : do if (!((i5 | 0) == 0 & (i7 | 0) == 0) ? (i4 = ___DOUBLE_BITS_102(d1) | 0, i2 = (getTempRet0() | 0) & 2147483647, !((i3 | 0) == 2047 | (i2 >>> 0 > 2146435072 | (i2 | 0) == 2146435072 & i4 >>> 0 > 0))) : 0) { - i2 = _bitshift64Shl(i6 | 0, i8 | 0, 1) | 0; - i4 = getTempRet0() | 0; - if (!(i4 >>> 0 > i7 >>> 0 | (i4 | 0) == (i7 | 0) & i2 >>> 0 > i5 >>> 0)) return +((i2 | 0) == (i5 | 0) & (i4 | 0) == (i7 | 0) ? d12 * 0.0 : d12); - if (!i3) { - i2 = _bitshift64Shl(i6 | 0, i8 | 0, 12) | 0; - i4 = getTempRet0() | 0; - if ((i4 | 0) > -1 | (i4 | 0) == -1 & i2 >>> 0 > 4294967295) { - i3 = 0; - do { - i3 = i3 + -1 | 0; - i2 = _bitshift64Shl(i2 | 0, i4 | 0, 1) | 0; - i4 = getTempRet0() | 0; - } while ((i4 | 0) > -1 | (i4 | 0) == -1 & i2 >>> 0 > 4294967295); - } else i3 = 0; - i6 = _bitshift64Shl(i6 | 0, i8 | 0, 1 - i3 | 0) | 0; - i5 = getTempRet0() | 0; - } else i5 = i8 & 1048575 | 1048576; - if (!i9) { - i4 = _bitshift64Shl(i10 | 0, i11 | 0, 12) | 0; - i7 = getTempRet0() | 0; - if ((i7 | 0) > -1 | (i7 | 0) == -1 & i4 >>> 0 > 4294967295) { - i2 = 0; - do { - i2 = i2 + -1 | 0; - i4 = _bitshift64Shl(i4 | 0, i7 | 0, 1) | 0; - i7 = getTempRet0() | 0; - } while ((i7 | 0) > -1 | (i7 | 0) == -1 & i4 >>> 0 > 4294967295); - } else i2 = 0; - i10 = _bitshift64Shl(i10 | 0, i11 | 0, 1 - i2 | 0) | 0; - i9 = i2; - i8 = getTempRet0() | 0; - } else i8 = i11 & 1048575 | 1048576; - i4 = _i64Subtract(i6 | 0, i5 | 0, i10 | 0, i8 | 0) | 0; - i2 = getTempRet0() | 0; - i7 = (i2 | 0) > -1 | (i2 | 0) == -1 & i4 >>> 0 > 4294967295; - L25 : do if ((i3 | 0) > (i9 | 0)) { - while (1) { - if (i7) { - if ((i4 | 0) == 0 & (i2 | 0) == 0) break; - } else { - i4 = i6; - i2 = i5; - } - i6 = _bitshift64Shl(i4 | 0, i2 | 0, 1) | 0; - i5 = getTempRet0() | 0; - i3 = i3 + -1 | 0; - i4 = _i64Subtract(i6 | 0, i5 | 0, i10 | 0, i8 | 0) | 0; - i2 = getTempRet0() | 0; - i7 = (i2 | 0) > -1 | (i2 | 0) == -1 & i4 >>> 0 > 4294967295; - if ((i3 | 0) <= (i9 | 0)) break L25; - } - d1 = d12 * 0.0; - break L1; - } while (0); - if (i7) { - if ((i4 | 0) == 0 & (i2 | 0) == 0) { - d1 = d12 * 0.0; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($5, $2 + 16 | 0); + continue; + } break; } - } else { - i2 = i5; - i4 = i6; - } - if (i2 >>> 0 < 1048576 | (i2 | 0) == 1048576 & i4 >>> 0 < 0) do { - i4 = _bitshift64Shl(i4 | 0, i2 | 0, 1) | 0; - i2 = getTempRet0() | 0; - i3 = i3 + -1 | 0; - } while (i2 >>> 0 < 1048576 | (i2 | 0) == 1048576 & i4 >>> 0 < 0); - if ((i3 | 0) > 0) { - i11 = _i64Add(i4 | 0, i2 | 0, 0, -1048576) | 0; - i2 = getTempRet0() | 0; - i3 = _bitshift64Shl(i3 | 0, 0, 52) | 0; - i2 = i2 | (getTempRet0() | 0); - i3 = i11 | i3; - } else { - i3 = _bitshift64Lshr(i4 | 0, i2 | 0, 1 - i3 | 0) | 0; - i2 = getTempRet0() | 0; - } - HEAP32[tempDoublePtr >> 2] = i3; - HEAP32[tempDoublePtr + 4 >> 2] = i2 | i13; - d1 = +HEAPF64[tempDoublePtr >> 3]; - } else i14 = 3; while (0); - if ((i14 | 0) == 3) { - d1 = d12 * d1; - d1 = d1 / d1; - } - return +d1; -} - -function __ZNKSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe(i1, i14, i16, i2, i3, i17, i13) { - i1 = i1 | 0; - i14 = i14 | 0; - i16 = i16 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i17 = i17 | 0; - i13 = i13 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i15 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 592 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(592); - i8 = i20 + 512 | 0; - i11 = i20 + 552 | 0; - i7 = i20 + 112 | 0; - i19 = i20 + 568 | 0; - i10 = i20 + 564 | 0; - i15 = i20 + 560 | 0; - i4 = i20 + 576 | 0; - i21 = i20 + 556 | 0; - i9 = i20; - HEAP32[i19 >> 2] = i7; - HEAP32[i19 + 4 >> 2] = 143; - __ZNKSt3__28ios_base6getlocEv(i15, i3); - i1 = __ZNKSt3__26locale9use_facetERNS0_2idE(i15, 57948) | 0; - HEAP8[i4 >> 0] = 0; - HEAP32[i21 >> 2] = HEAP32[i16 >> 2]; - i6 = HEAP32[i3 + 4 >> 2] | 0; - HEAP32[i8 >> 2] = HEAP32[i21 >> 2]; - if (__ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_(i14, i8, i2, i15, i6, i17, i4, i1, i19, i10, i7 + 400 | 0) | 0) { - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 15](i1, 48168, 48178, i8) | 0; - i6 = HEAP32[i10 >> 2] | 0; - i2 = HEAP32[i19 >> 2] | 0; - i1 = i6 - i2 | 0; - if ((i1 | 0) > 392) { - i1 = _malloc((i1 >>> 2) + 2 | 0) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i5 = i1; - i12 = i1; - } - } else { - i5 = i9; - i12 = 0; - } - if (!(HEAP8[i4 >> 0] | 0)) i1 = i5; else { - HEAP8[i5 >> 0] = 45; - i1 = i5 + 1 | 0; - } - i5 = i8 + 40 | 0; - i7 = i8; - i4 = i2; - i3 = i1; - i1 = i6; - while (1) { - if (i4 >>> 0 >= i1 >>> 0) break; - i2 = HEAP32[i4 >> 2] | 0; - i1 = i8; - while (1) { - if ((i1 | 0) == (i5 | 0)) { - i1 = i5; - break; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($2 + 16 | 0, $0, $7); + $8 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__TemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $2 + 16 | 0); + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul____PODSmallVector_28_29($6); + } + __stack_pointer = $2 + 48 | 0; + return $8; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseLocalName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 90)) { + break label$1; + } + $4 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29($0); + HEAP32[$2 + 12 >> 2] = $4; + if (!$4) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 115)) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__parse_discriminator_28char_20const__2c_20char_20const__29(HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2]), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b15_5d__28char_20const_20_28__29_20_5b15_5d_29($0, 31480), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__LocalName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2 + 12 | 0, $2); + break label$1; + } + label$3: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 100)) { + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($2, $0, 1); + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1); + HEAP32[$2 >> 2] = $3; + if (!$3) { + break label$3; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__LocalName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2 + 12 | 0, $2); + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1); + HEAP32[$2 >> 2] = $3; + if (!$3) { + break label$3; + } + wasm2js_i32$0 = $0, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__parse_discriminator_28char_20const__2c_20char_20const__29(HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2]), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__LocalName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2 + 12 | 0, $2); + break label$1; + } + $3 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $3; +} + +function std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20bool_2c_20std____2__ios_base__2c_20char_2c_20long_20double_29_20const($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 $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + $9 = __stack_pointer - 464 | 0; + __stack_pointer = $9; + HEAP32[$9 + 16 >> 2] = $5; + HEAP32[$9 + 20 >> 2] = $6; + HEAP32[$9 + 24 >> 2] = $7; + HEAP32[$9 + 28 >> 2] = $8; + HEAP32[$9 + 348 >> 2] = $9 + 352; + $10 = snprintf($9 + 352 | 0, 100, 31752, $9 + 16 | 0); + HEAP32[$9 + 240 >> 2] = 315; + $14 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($9 + 232 | 0, 0, $9 + 240 | 0); + HEAP32[$9 + 240 >> 2] = 315; + $11 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($9 + 224 | 0, 0, $9 + 240 | 0); + $12 = $9 + 240 | 0; + label$1: { + if ($10 >>> 0 >= 100) { + $10 = std____2____cloc_28_29(); + HEAP32[$9 >> 2] = $5; + HEAP32[$9 + 4 >> 2] = $6; + HEAP32[$9 + 8 >> 2] = $7; + HEAP32[$9 + 12 >> 2] = $8; + $10 = std____2____libcpp_asprintf_l_28char___2c_20__locale_struct__2c_20char_20const__2c_20____29($9 + 348 | 0, $10, 31752, $9); + if (($10 | 0) == -1) { + break label$1; + } + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($14, HEAP32[$9 + 348 >> 2]); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($11, dlmalloc($10)); + if (bool_20std____2__operator___char_2c_20void_20_28__29_28void__29__28std____2__unique_ptr_char_2c_20void_20_28__29_28void__29__20const__2c_20std__nullptr_t_29($11, 0)) { + break label$1; + } + $12 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($11); + } + std____2__ios_base__getloc_28_29_20const($9 + 216 | 0, $3); + $15 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($9 + 216 | 0); + $5 = HEAP32[$9 + 348 >> 2]; + std____2__ctype_char___widen_28char_20const__2c_20char_20const__2c_20char__29_20const($15, $5, $10 + $5 | 0, $12); + $13 = ($10 | 0) > 0 ? HEAPU8[HEAP32[$9 + 348 >> 2]] == 45 : $13; + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($9 + 192 | 0); + $5 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($9 + 176 | 0); + $6 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($9 + 160 | 0); + std____2____money_put_char_____gather_info_28bool_2c_20bool_2c_20std____2__locale_20const__2c_20std____2__money_base__pattern__2c_20char__2c_20char__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20int__29($2, $13, $9 + 216 | 0, $9 + 208 | 0, $9 + 207 | 0, $9 + 206 | 0, $7, $5, $6, $9 + 156 | 0); + HEAP32[$9 + 48 >> 2] = 315; + $8 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($9 + 40 | 0, 0, $9 + 48 | 0); + $2 = HEAP32[$9 + 156 >> 2]; + label$4: { + if (($10 | 0) > ($2 | 0)) { + $0 = (((std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6) + ($10 - $2 << 1) | 0) + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($5) | 0) + HEAP32[$9 + 156 >> 2] | 0) + 1 | 0; + break label$4; + } + $0 = ((std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6) + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($5) | 0) + HEAP32[$9 + 156 >> 2] | 0) + 2 | 0; + } + $2 = $9 + 48 | 0; + if ($0 >>> 0 >= 101) { + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($8, dlmalloc($0)); + $2 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($8); + if (!$2) { + break label$1; + } + } + std____2____money_put_char_____format_28char__2c_20char___2c_20char___2c_20unsigned_20int_2c_20char_20const__2c_20char_20const__2c_20std____2__ctype_char__20const__2c_20bool_2c_20std____2__money_base__pattern_20const__2c_20char_2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20int_29($2, $9 + 36 | 0, $9 + 32 | 0, std____2__ios_base__flags_28_29_20const($3), $12, $10 + $12 | 0, $15, $13, $9 + 208 | 0, HEAP8[$9 + 207 | 0], HEAP8[$9 + 206 | 0], $7, $5, $6, HEAP32[$9 + 156 >> 2]); + $10 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____pad_and_output_char_2c_20std____2__char_traits_char___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20char_20const__2c_20char_20const__2c_20char_20const__2c_20std____2__ios_base__2c_20char_29($1, $2, HEAP32[$9 + 36 >> 2], HEAP32[$9 + 32 >> 2], $3, $4); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($8); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($5); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($7); + std____2__locale___locale_28_29($9 + 216 | 0); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($11); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($14); + __stack_pointer = $9 + 464 | 0; + return $10 | 0; + } + std____throw_bad_alloc_28_29(); + abort(); +} + +function start_pass_1($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $1 = HEAP32[$0 + 412 >> 2]; + $4 = HEAP32[$0 + 468 >> 2]; + label$1: { + if (HEAP32[$0 + 224 >> 2]) { + $2 = HEAP32[$0 + 416 >> 2]; + label$3: { + label$4: { + label$5: { + if (!$1) { + if (!$2) { + break label$5; + } + break label$4; + } + if (HEAP32[$0 + 436 >> 2] < ($2 | 0) | ($1 | 0) > ($2 | 0) | HEAP32[$0 + 340 >> 2] != 1) { + break label$4; + } + } + $2 = HEAP32[$0 + 420 >> 2]; + label$7: { + if (!$2) { + $2 = HEAP32[$0 + 424 >> 2]; + break label$7; + } + $2 = $2 - 1 | 0; + if (($2 | 0) != HEAP32[$0 + 424 >> 2]) { + break label$4; + } + } + if (($2 | 0) < 14) { + break label$3; + } } - if ((HEAP32[i1 >> 2] | 0) == (i2 | 0)) break; - i1 = i1 + 4 | 0; - } - HEAP8[i3 >> 0] = HEAP8[48168 + (i1 - i7 >> 2) >> 0] | 0; - i4 = i4 + 4 | 0; - i3 = i3 + 1 | 0; - i1 = HEAP32[i10 >> 2] | 0; - } - HEAP8[i3 >> 0] = 0; - HEAP32[i11 >> 2] = i13; - if ((_sscanf(i9, 48069, i11) | 0) != 1) __ZNSt3__221__throw_runtime_errorEPKc(0); - if (i12 | 0) _free(i12); - } - i1 = HEAP32[i14 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i14 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i14 >> 2] | 0) == 0; - break; - } - } else i3 = 1; while (0); - i1 = HEAP32[i16 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i3) break; else { - i18 = 34; - break; - } else { - HEAP32[i16 >> 2] = 0; - i18 = 32; - break; - } - } else i18 = 32; while (0); - if ((i18 | 0) == 32 ? i3 : 0) i18 = 34; - if ((i18 | 0) == 34) HEAP32[i17 >> 2] = HEAP32[i17 >> 2] | 2; - i2 = HEAP32[i14 >> 2] | 0; - __ZNSt3__26localeD2Ev(i15); - i1 = HEAP32[i19 >> 2] | 0; - HEAP32[i19 >> 2] = 0; - if (i1 | 0) FUNCTION_TABLE_vi[HEAP32[i19 + 4 >> 2] & 255](i1); - STACKTOP = i20; - return i2 | 0; -} - -function __ZNKSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe(i1, i14, i16, i2, i3, i17, i13) { - i1 = i1 | 0; - i14 = i14 | 0; - i16 = i16 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i17 = i17 | 0; - i13 = i13 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i15 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - i8 = i20 + 240 | 0; - i11 = i20 + 216 | 0; - i7 = i20 + 112 | 0; - i19 = i20 + 232 | 0; - i10 = i20 + 228 | 0; - i15 = i20 + 224 | 0; - i4 = i20 + 250 | 0; - i21 = i20 + 220 | 0; - i9 = i20; - HEAP32[i19 >> 2] = i7; - HEAP32[i19 + 4 >> 2] = 143; - __ZNKSt3__28ios_base6getlocEv(i15, i3); - i1 = __ZNKSt3__26locale9use_facetERNS0_2idE(i15, 57916) | 0; - HEAP8[i4 >> 0] = 0; - HEAP32[i21 >> 2] = HEAP32[i16 >> 2]; - i6 = HEAP32[i3 + 4 >> 2] | 0; - HEAP32[i8 >> 2] = HEAP32[i21 >> 2]; - if (__ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_(i14, i8, i2, i15, i6, i17, i4, i1, i19, i10, i7 + 100 | 0) | 0) { - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 32 >> 2] & 15](i1, 48058, 48068, i8) | 0; - i6 = HEAP32[i10 >> 2] | 0; - i2 = HEAP32[i19 >> 2] | 0; - i1 = i6 - i2 | 0; - if ((i1 | 0) > 98) { - i1 = _malloc(i1 + 2 | 0) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i5 = i1; - i12 = i1; + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = 17; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = HEAP32[$0 + 416 >> 2]; + HEAP32[HEAP32[$0 >> 2] + 32 >> 2] = HEAP32[$0 + 420 >> 2]; + HEAP32[HEAP32[$0 >> 2] + 36 >> 2] = HEAP32[$0 + 424 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); } - } else { - i5 = i9; - i12 = 0; - } - if (!(HEAP8[i4 >> 0] | 0)) i1 = i5; else { - HEAP8[i5 >> 0] = 45; - i1 = i5 + 1 | 0; - } - i5 = i8 + 10 | 0; - i7 = i8; - i4 = i2; - i3 = i1; - i1 = i6; - while (1) { - if (i4 >>> 0 >= i1 >>> 0) break; - i2 = HEAP8[i4 >> 0] | 0; - i1 = i8; - while (1) { - if ((i1 | 0) == (i5 | 0)) { - i1 = i5; - break; - } - if ((HEAP8[i1 >> 0] | 0) == i2 << 24 >> 24) break; - i1 = i1 + 1 | 0; - } - HEAP8[i3 >> 0] = HEAP8[48058 + (i1 - i7) >> 0] | 0; - i4 = i4 + 1 | 0; - i3 = i3 + 1 | 0; - i1 = HEAP32[i10 >> 2] | 0; - } - HEAP8[i3 >> 0] = 0; - HEAP32[i11 >> 2] = i13; - if ((_sscanf(i9, 48069, i11) | 0) != 1) __ZNSt3__221__throw_runtime_errorEPKc(0); - if (i12 | 0) _free(i12); - } - i1 = HEAP32[i14 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i14 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i14 >> 2] | 0) == 0; - break; - } - } else i3 = 1; while (0); - i1 = HEAP32[i16 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i3) break; else { - i18 = 34; - break; - } else { - HEAP32[i16 >> 2] = 0; - i18 = 32; - break; - } - } else i18 = 32; while (0); - if ((i18 | 0) == 32 ? i3 : 0) i18 = 34; - if ((i18 | 0) == 34) HEAP32[i17 >> 2] = HEAP32[i17 >> 2] | 2; - i2 = HEAP32[i14 >> 2] | 0; - __ZNSt3__26localeD2Ev(i15); - i1 = HEAP32[i19 >> 2] | 0; - HEAP32[i19 >> 2] = 0; - if (i1 | 0) FUNCTION_TABLE_vi[HEAP32[i19 + 4 >> 2] & 255](i1); - STACKTOP = i20; - return i2 | 0; -} - -function _decode_mcu_AC_first(i4, i2) { - i4 = i4 | 0; - i2 = i2 | 0; - var i1 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0; - i22 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i19 = i22; - i21 = HEAP32[i4 + 444 >> 2] | 0; - i12 = HEAP32[i4 + 404 >> 2] | 0; - i13 = HEAP32[i4 + 412 >> 2] | 0; - if (((HEAP32[i4 + 276 >> 2] | 0) != 0 ? (HEAP32[i21 + 40 >> 2] | 0) == 0 : 0) ? (_process_restart_49(i4) | 0) == 0 : 0) i1 = 0; else i14 = 4; - L4 : do if ((i14 | 0) == 4) { - if (!(HEAP32[i21 + 8 >> 2] | 0)) { - i20 = i21 + 20 | 0; - i1 = HEAP32[i20 >> 2] | 0; - if (!i1) { - HEAP32[i19 + 16 >> 2] = i4; - i15 = i4 + 24 | 0; - i17 = HEAP32[i15 >> 2] | 0; - HEAP32[i19 >> 2] = HEAP32[i17 >> 2]; - i16 = i19 + 4 | 0; - HEAP32[i16 >> 2] = HEAP32[i17 + 4 >> 2]; - i17 = i21 + 12 | 0; - i18 = i21 + 16 | 0; - i8 = HEAP32[i2 >> 2] | 0; - i9 = HEAP32[i21 + 60 >> 2] | 0; - i11 = i19 + 8 | 0; - i10 = i19 + 12 | 0; - i3 = HEAP32[i18 >> 2] | 0; - i2 = HEAP32[i17 >> 2] | 0; - i7 = HEAP32[i4 + 400 >> 2] | 0; + $1 = HEAP32[$0 + 340 >> 2]; + if (($1 | 0) > 0) { while (1) { - if ((i7 | 0) > (i12 | 0)) { - i1 = 0; - break; - } - if ((i3 | 0) < 8) { - if (!(_jpeg_fill_bit_buffer(i19, i2, i3, 0) | 0)) { - i1 = 0; - break L4; - } - i2 = HEAP32[i11 >> 2] | 0; - i3 = HEAP32[i10 >> 2] | 0; - if ((i3 | 0) < 8) { - i1 = 1; - i14 = 14; - } else i14 = 12; - } else i14 = 12; - if ((i14 | 0) == 12) { - i14 = 0; - i1 = i2 >> i3 + -8 & 255; - i4 = HEAP32[i9 + 144 + (i1 << 2) >> 2] | 0; - if (!i4) { - i1 = 9; - i14 = 14; - } else { - i1 = HEAPU8[i9 + 1168 + i1 >> 0] | 0; - i3 = i3 - i4 | 0; + $5 = HEAP32[HEAP32[(($6 << 2) + $0 | 0) + 344 >> 2] + 4 >> 2]; + $7 = HEAP32[$0 + 160 >> 2] + ($5 << 8) | 0; + $2 = HEAP32[$0 + 412 >> 2]; + $1 = 0; + label$11: { + if (!$2) { + break label$11; } - } - if ((i14 | 0) == 14) { - i14 = 0; - i1 = _jpeg_huff_decode(i19, i2, i3, i9, i1) | 0; - if ((i1 | 0) < 0) { - i1 = 0; - break L4; + $1 = $2; + if (HEAP32[$7 >> 2] >= 0) { + break label$11; } - i3 = HEAP32[i10 >> 2] | 0; - i2 = HEAP32[i11 >> 2] | 0; - } - i5 = i1 >>> 4; - i6 = i1 & 15; - if (!i6) { - if ((i5 | 0) != 15) { - i14 = 25; + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $5; + HEAP32[$1 + 20 >> 2] = 118; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, -1); + $1 = HEAP32[$0 + 412 >> 2]; + } + if (($1 | 0) <= HEAP32[$0 + 416 >> 2]) { + while (1) { + $2 = ($1 << 2) + $7 | 0; + $3 = HEAP32[$2 >> 2]; + if (HEAP32[$0 + 420 >> 2] != ((($3 | 0) > 0 ? $3 : 0) | 0)) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 24 >> 2] = $5; + HEAP32[$3 + 20 >> 2] = 118; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = $1; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, -1); + } + HEAP32[$2 >> 2] = HEAP32[$0 + 424 >> 2]; + $2 = HEAP32[$0 + 416 >> 2] > ($1 | 0); + $1 = $1 + 1 | 0; + if ($2) { + continue; + } break; } - i1 = i7 + 15 | 0; - } else { - i4 = i5 + i7 | 0; - if ((i3 | 0) < (i6 | 0)) { - if (!(_jpeg_fill_bit_buffer(i19, i2, i3, i6) | 0)) { - i1 = 0; - break L4; - } - i3 = HEAP32[i10 >> 2] | 0; - i2 = HEAP32[i11 >> 2] | 0; - } - i3 = i3 - i6 | 0; - i1 = i2 >> i3 & (1 << i6) + -1; - if ((i1 | 0) < (HEAP32[2880 + (i6 << 2) >> 2] | 0)) i1 = (HEAP32[2944 + (i6 << 2) >> 2] | 0) + i1 | 0; - HEAP16[i8 + (HEAP32[2560 + (i4 << 2) >> 2] << 1) >> 1] = i1 << i13; - i1 = i4; - } - i7 = i1 + 1 | 0; - } - if ((i14 | 0) == 25) { - i4 = 1 << i5; - if (!i5) i1 = 0; else { - if ((i3 | 0) < (i5 | 0)) { - if (!(_jpeg_fill_bit_buffer(i19, i2, i3, i5) | 0)) { - i1 = 0; - break; - } - i1 = HEAP32[i10 >> 2] | 0; - i2 = HEAP32[i11 >> 2] | 0; - } else i1 = i3; - i3 = i1 - i5 | 0; - i1 = i4 + -1 | 0; - i1 = i1 + (i2 >> i3 & i1) | 0; - } - } - i15 = HEAP32[i15 >> 2] | 0; - HEAP32[i15 >> 2] = HEAP32[i19 >> 2]; - HEAP32[i15 + 4 >> 2] = HEAP32[i16 >> 2]; - HEAP32[i17 >> 2] = i2; - HEAP32[i18 >> 2] = i3; - } else i1 = i1 + -1 | 0; - HEAP32[i20 >> 2] = i1; - } - i1 = i21 + 40 | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + -1; - i1 = 1; - } while (0); - STACKTOP = i22; - return i1 | 0; -} - -function __ZN6vision20VisualDatabaseFacade30addFreakFeaturesAndDescriptorsERKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEERKNS2_IhNS4_IhEEEERKNS2_INS_7Point3dIfEENS4_ISE_EEEEmmi(i6, i4, i5, i9, i1, i2, i3) { - i6 = i6 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i9 = i9 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i7 = 0, i8 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i12 = i11 + 24 | 0; - i8 = i11 + 12 | 0; - i10 = i11 + 16 | 0; - i13 = i11 + 8 | 0; - i7 = i11; - HEAP32[i8 >> 2] = i3; - i3 = __Znwm(148) | 0; - __ZN6vision8KeyframeILi96EEC2Ev(i3); - HEAP32[i13 >> 2] = 0; - HEAP32[i12 >> 2] = HEAP32[i13 >> 2]; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEEC2IS3_EEPT_NS_9enable_ifIXsr14is_convertibleIS7_PS3_EE5valueENS4_5__natEE4typeE(i10, i3, i12); - __ZN6vision8KeyframeILi96EE8setWidthEi(HEAP32[i10 >> 2] | 0, i1); - __ZN6vision8KeyframeILi96EE9setHeightEi(HEAP32[i10 >> 2] | 0, i2); - __ZN6vision18BinaryFeatureStore21setNumBytesPerFeatureEi(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[i10 >> 2] | 0) | 0, 96); - i2 = __ZN6vision18BinaryFeatureStore6pointsEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[i10 >> 2] | 0) | 0) | 0; - i1 = i4 + 4 | 0; - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6resizeEm(i2, ((HEAP32[i1 >> 2] | 0) - (HEAP32[i4 >> 2] | 0) | 0) / 20 | 0); - i2 = __ZN6vision18BinaryFeatureStore6pointsEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[i10 >> 2] | 0) | 0) | 0; - if ((i2 | 0) != (i4 | 0)) __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS2_NS_15iterator_traitsIS9_E9referenceEEE5valueEvE4typeES9_S9_(i2, HEAP32[i4 >> 2] | 0, HEAP32[i1 >> 2] | 0); - i2 = __ZN6vision18BinaryFeatureStore8featuresEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[i10 >> 2] | 0) | 0) | 0; - i1 = i5 + 4 | 0; - __ZNSt3__26vectorIhNS_9allocatorIhEEE6resizeEm(i2, (HEAP32[i1 >> 2] | 0) - (HEAP32[i5 >> 2] | 0) | 0); - i2 = __ZN6vision18BinaryFeatureStore8featuresEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[i10 >> 2] | 0) | 0) | 0; - if ((i2 | 0) != (i5 | 0)) __ZNSt3__26vectorIhNS_9allocatorIhEEE6assignIPhEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIhNS_15iterator_traitsIS7_E9referenceEEE5valueEvE4typeES7_S7_(i2, HEAP32[i5 >> 2] | 0, HEAP32[i1 >> 2] | 0); - __ZN6vision8KeyframeILi96EE10buildIndexEv(HEAP32[i10 >> 2] | 0); - i1 = HEAP32[HEAP32[i6 >> 2] >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i10 >> 2]; - i2 = HEAP32[i10 + 4 >> 2] | 0; - HEAP32[i7 + 4 >> 2] = i2; - if (i2 | 0) { - i13 = i2 + 4 | 0; - HEAP32[i13 >> 2] = (HEAP32[i13 >> 2] | 0) + 1; - } - __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE11addKeyframeENSt3__210shared_ptrINS_8KeyframeILi96EEEEEi(i1, i7, HEAP32[i8 >> 2] | 0); - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev(i7); - i1 = __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEEixERSD_((HEAP32[i6 >> 2] | 0) + 4 | 0, i8) | 0; - if ((i1 | 0) != (i9 | 0)) __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE6assignIPS3_EENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS3_NS_15iterator_traitsISA_E9referenceEEE5valueEvE4typeESA_SA_(i1, HEAP32[i9 >> 2] | 0, HEAP32[i9 + 4 >> 2] | 0); - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev(i10); - STACKTOP = i11; - return; -} - -function __ZN6vision11PartialSortIfiEENSt3__24pairIT_T0_EEPS5_ii(i14, i15, i2, i16) { - i14 = i14 | 0; - i15 = i15 | 0; - i2 = i2 | 0; - i16 = i16 | 0; - var i1 = 0, i3 = 0, d4 = 0.0, i5 = 0, d6 = 0.0, i7 = 0, i8 = 0, d9 = 0.0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i17 = 0, i18 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i17; - if ((i2 | 0) <= 0) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31767) | 0, 31796) | 0, 33528) | 0, 82) | 0, 33535) | 0, 31905) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } - if ((i16 | 0) <= 0) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31924) | 0, 31796) | 0, 33528) | 0, 83) | 0, 33535) | 0, 31953) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } - i11 = i16 + -1 | 0; - i12 = i15 + (i11 << 3) | 0; - i13 = i15 + (i11 << 3) + 4 | 0; - i7 = i2 + -1 | 0; - i8 = 0; - while (1) { - if ((i8 | 0) >= (i7 | 0)) break; - d9 = +HEAPF32[i12 >> 2]; - i10 = HEAP32[i13 >> 2] | 0; - i1 = i8; - i2 = i7; - do { - while (1) { - i5 = i15 + (i1 << 3) | 0; - d6 = +HEAPF32[i5 >> 2]; - if (!(d6 < d9)) { - if (d9 < d6) break; - if ((HEAP32[i15 + (i1 << 3) + 4 >> 2] | 0) >= (i10 | 0)) break; + } + $1 = HEAP32[$0 + 340 >> 2]; + $6 = $6 + 1 | 0; + if (($1 | 0) > ($6 | 0)) { + continue; + } + break; } - i1 = i1 + 1 | 0; } - while (1) { - i3 = i15 + (i2 << 3) | 0; - d4 = +HEAPF32[i3 >> 2]; - if (!(d9 < d4)) { - if (d4 < d9) break; - if ((i10 | 0) >= (HEAP32[i15 + (i2 << 3) + 4 >> 2] | 0)) break; - } - i2 = i2 + -1 | 0; - } - if ((i1 | 0) <= (i2 | 0)) { - HEAPF32[i5 >> 2] = d4; - HEAPF32[i3 >> 2] = d6; - i18 = i15 + (i1 << 3) + 4 | 0; - i5 = i15 + (i2 << 3) + 4 | 0; - i3 = HEAP32[i18 >> 2] | 0; - HEAP32[i18 >> 2] = HEAP32[i5 >> 2]; - HEAP32[i5 >> 2] = i3; - i1 = i1 + 1 | 0; - i2 = i2 + -1 | 0; - } - } while ((i1 | 0) <= (i2 | 0)); - i7 = (i1 | 0) < (i16 | 0) ? i7 : i2; - i8 = (i2 | 0) < (i11 | 0) ? i1 : i8; - } - i15 = i12; - i16 = HEAP32[i15 + 4 >> 2] | 0; - i18 = i14; - HEAP32[i18 >> 2] = HEAP32[i15 >> 2]; - HEAP32[i18 + 4 >> 2] = i16; - STACKTOP = i17; - return; -} - -function __ZNSt3__2L13utf8_to_utf16EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE(i1, i11, i12, i2, i13, i14, i15, i3) { - i1 = i1 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i2 = i2 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - HEAP32[i12 >> 2] = i1; - HEAP32[i14 >> 2] = i2; - if (i3 & 4) { - i1 = HEAP32[i12 >> 2] | 0; - i2 = i11; - if ((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == -17 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == -69 : 0) ? (HEAP8[i1 + 2 >> 0] | 0) == -65 : 0) HEAP32[i12 >> 2] = i1 + 3; - } else i2 = i11; - i10 = i13; - L9 : while (1) { - i5 = HEAP32[i12 >> 2] | 0; - if (i5 >>> 0 >= i11 >>> 0) { - i1 = 0; - break; - } - i9 = HEAP32[i14 >> 2] | 0; - if (i9 >>> 0 >= i13 >>> 0) { - i1 = 1; - break; - } - i4 = HEAP8[i5 >> 0] | 0; - i8 = i4 & 255; - if (i8 >>> 0 > i15 >>> 0) { - i1 = 2; - break; - } - do if (i4 << 24 >> 24 > -1) { - HEAP16[i9 >> 1] = i4 & 255; - i1 = i5 + 1 | 0; - } else { - if ((i4 & 255) < 194) { - i1 = 2; - break L9; - } - if ((i4 & 255) < 224) { - if ((i2 - i5 | 0) < 2) { - i1 = 1; - break L9; - } - i1 = HEAPU8[i5 + 1 >> 0] | 0; - if ((i1 & 192 | 0) != 128) { - i1 = 2; - break L9; - } - i1 = i1 & 63 | i8 << 6 & 1984; - if (i1 >>> 0 > i15 >>> 0) { - i1 = 2; - break L9; - } - HEAP16[i9 >> 1] = i1; - i1 = i5 + 2 | 0; - break; + $2 = HEAP32[$0 + 412 >> 2]; + if (!HEAP32[$0 + 420 >> 2]) { + if (!$2) { + HEAP32[$4 + 4 >> 2] = 159; + break label$1; + } + HEAP32[$4 + 4 >> 2] = 160; + break label$1; } - if ((i4 & 255) < 240) { - if ((i2 - i5 | 0) < 3) { - i1 = 1; - break L9; + if (!$2) { + HEAP32[$4 + 4 >> 2] = 161; + break label$1; + } + HEAP32[$4 + 4 >> 2] = 162; + break label$1; + } + label$18: { + if (!(HEAP32[$0 + 424 >> 2] | (HEAP32[$0 + 420 >> 2] | $1))) { + $1 = HEAP32[$0 + 416 >> 2]; + if (($1 | 0) > 63 | HEAP32[$0 + 436 >> 2] == ($1 | 0)) { + break label$18; } - i3 = HEAP8[i5 + 1 >> 0] | 0; - i1 = HEAP8[i5 + 2 >> 0] | 0; - switch (i4 << 24 >> 24) { - case -32: - { - if ((i3 & -32) << 24 >> 24 != -96) { - i1 = 2; - break L9; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 125; + FUNCTION_TABLE[HEAP32[$1 + 4 >> 2]]($0, -1); + } + HEAP32[$4 + 4 >> 2] = 163; + $1 = HEAP32[$0 + 340 >> 2]; + } + if (($1 | 0) > 0) { + $2 = 0; + while (1) { + $7 = $2 << 2; + $3 = HEAP32[($7 + $0 | 0) + 344 >> 2]; + label$22: { + label$23: { + if (HEAP32[$0 + 224 >> 2]) { + if (HEAP32[$0 + 412 >> 2]) { + break label$23; + } + if (HEAP32[$0 + 420 >> 2]) { + break label$22; } - break; } - case -19: - { - if ((i3 & -32) << 24 >> 24 != -128) { - i1 = 2; - break L9; + $1 = HEAP32[$3 + 20 >> 2]; + if ($1 >>> 0 >= 16) { + $5 = HEAP32[$0 >> 2]; + HEAP32[$5 + 24 >> 2] = $1; + HEAP32[$5 + 20 >> 2] = 50; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $6 = ($1 << 2) + $4 | 0; + $5 = $6 + 60 | 0; + $1 = HEAP32[$5 >> 2]; + if (!$1) { + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 64) | 0; + HEAP32[$6 + 60 >> 2] = $1; + } + HEAP8[$1 | 0] = 0; + HEAP8[$1 + 1 | 0] = 0; + HEAP8[$1 + 2 | 0] = 0; + HEAP8[$1 + 3 | 0] = 0; + HEAP8[$1 + 4 | 0] = 0; + HEAP8[$1 + 5 | 0] = 0; + HEAP8[$1 + 6 | 0] = 0; + HEAP8[$1 + 7 | 0] = 0; + HEAP8[$1 + 56 | 0] = 0; + HEAP8[$1 + 57 | 0] = 0; + HEAP8[$1 + 58 | 0] = 0; + HEAP8[$1 + 59 | 0] = 0; + HEAP8[$1 + 60 | 0] = 0; + HEAP8[$1 + 61 | 0] = 0; + HEAP8[$1 + 62 | 0] = 0; + HEAP8[$1 + 63 | 0] = 0; + HEAP8[$1 + 48 | 0] = 0; + HEAP8[$1 + 49 | 0] = 0; + HEAP8[$1 + 50 | 0] = 0; + HEAP8[$1 + 51 | 0] = 0; + HEAP8[$1 + 52 | 0] = 0; + HEAP8[$1 + 53 | 0] = 0; + HEAP8[$1 + 54 | 0] = 0; + HEAP8[$1 + 55 | 0] = 0; + HEAP8[$1 + 40 | 0] = 0; + HEAP8[$1 + 41 | 0] = 0; + HEAP8[$1 + 42 | 0] = 0; + HEAP8[$1 + 43 | 0] = 0; + HEAP8[$1 + 44 | 0] = 0; + HEAP8[$1 + 45 | 0] = 0; + HEAP8[$1 + 46 | 0] = 0; + HEAP8[$1 + 47 | 0] = 0; + HEAP8[$1 + 32 | 0] = 0; + HEAP8[$1 + 33 | 0] = 0; + HEAP8[$1 + 34 | 0] = 0; + HEAP8[$1 + 35 | 0] = 0; + HEAP8[$1 + 36 | 0] = 0; + HEAP8[$1 + 37 | 0] = 0; + HEAP8[$1 + 38 | 0] = 0; + HEAP8[$1 + 39 | 0] = 0; + HEAP8[$1 + 24 | 0] = 0; + HEAP8[$1 + 25 | 0] = 0; + HEAP8[$1 + 26 | 0] = 0; + HEAP8[$1 + 27 | 0] = 0; + HEAP8[$1 + 28 | 0] = 0; + HEAP8[$1 + 29 | 0] = 0; + HEAP8[$1 + 30 | 0] = 0; + HEAP8[$1 + 31 | 0] = 0; + HEAP8[$1 + 16 | 0] = 0; + HEAP8[$1 + 17 | 0] = 0; + HEAP8[$1 + 18 | 0] = 0; + HEAP8[$1 + 19 | 0] = 0; + HEAP8[$1 + 20 | 0] = 0; + HEAP8[$1 + 21 | 0] = 0; + HEAP8[$1 + 22 | 0] = 0; + HEAP8[$1 + 23 | 0] = 0; + HEAP8[$1 + 8 | 0] = 0; + HEAP8[$1 + 9 | 0] = 0; + HEAP8[$1 + 10 | 0] = 0; + HEAP8[$1 + 11 | 0] = 0; + HEAP8[$1 + 12 | 0] = 0; + HEAP8[$1 + 13 | 0] = 0; + HEAP8[$1 + 14 | 0] = 0; + HEAP8[$1 + 15 | 0] = 0; + $1 = $4 + $7 | 0; + HEAP32[$1 + 40 >> 2] = 0; + HEAP32[$1 + 24 >> 2] = 0; + if (!HEAP32[$0 + 224 >> 2]) { + if (HEAP32[$0 + 436 >> 2]) { + break label$23; } - break; + break label$22; } - default: - if ((i3 & -64) << 24 >> 24 != -128) { - i1 = 2; - break L9; + if (!HEAP32[$0 + 412 >> 2]) { + break label$22; } } - i1 = i1 & 255; - if ((i1 & 192 | 0) != 128) { - i1 = 2; - break L9; + $1 = HEAP32[$3 + 24 >> 2]; + if ($1 >>> 0 >= 16) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 24 >> 2] = $1; + HEAP32[$3 + 20 >> 2] = 50; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); } - i1 = (i3 & 63) << 6 | i8 << 12 | i1 & 63; - if ((i1 & 65535) >>> 0 > i15 >>> 0) { - i1 = 2; - break L9; + $5 = ($1 << 2) + $4 | 0; + $3 = $5 + 124 | 0; + $1 = HEAP32[$3 >> 2]; + if (!$1) { + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 256) | 0; + HEAP32[$5 + 124 >> 2] = $1; } - HEAP16[i9 >> 1] = i1; - i1 = i5 + 3 | 0; - break; + memset($1, 0, 256); } - if ((i4 & 255) >= 245) { - i1 = 2; - break L9; + $2 = $2 + 1 | 0; + if (($2 | 0) < HEAP32[$0 + 340 >> 2]) { + continue; } - if ((i2 - i5 | 0) < 4) { - i1 = 1; - break L9; + break; + } + } + HEAP32[$4 + 20 >> 2] = -16; + HEAP32[$4 + 12 >> 2] = 0; + HEAP32[$4 + 16 >> 2] = 0; + HEAP32[$4 + 56 >> 2] = HEAP32[$0 + 280 >> 2]; +} + +function vision__ExtractFREAK84_28vision__BinaryFeatureStore__2c_20vision__GaussianScaleSpacePyramid_20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16) { + var $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0; + label$1: { + if ($1) { + if ((vision__BinaryFeatureStore__size_28_29_20const($0) | 0) != (std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($2) | 0)) { + break label$1; } - i6 = HEAP8[i5 + 1 >> 0] | 0; - i1 = HEAP8[i5 + 2 >> 0] | 0; - i3 = HEAP8[i5 + 3 >> 0] | 0; - switch (i4 << 24 >> 24) { - case -16: - { - if ((i6 + 112 & 255) >= 48) { - i1 = 2; - break L9; + while (1) { + if (std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($2) >>> 0 <= $20 >>> 0) { + if ((std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($2) | 0) != ($18 | 0)) { + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 7668), 3098), 3756), 617), 4404), 8247), 16); + abort(); + abort(); } - break; + } else { + if (vision__ExtractFREAK84_28unsigned_20char__2c_20vision__GaussianScaleSpacePyramid_20const__2c_20vision__FeaturePoint_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29(vision__BinaryFeatureStore__feature_28unsigned_20long_29($0, $18), $1, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($2, $20), $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16)) { + $19 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($2, $20); + $17 = vision__BinaryFeatureStore__point_28unsigned_20long_29($0, $18); + HEAP8[$17 + 16 | 0] = HEAPU8[$19 + 16 | 0]; + $21 = HEAP32[$19 + 8 >> 2]; + $22 = HEAP32[$19 + 12 >> 2]; + HEAP32[$17 + 8 >> 2] = $21; + HEAP32[$17 + 12 >> 2] = $22; + $21 = HEAP32[$19 + 4 >> 2]; + $22 = HEAP32[$19 >> 2]; + HEAP32[$17 >> 2] = $22; + HEAP32[$17 + 4 >> 2] = $21; + $18 = $18 + 1 | 0; + } + $20 = $20 + 1 | 0; + continue; } - case -12: - { - if ((i6 & -16) << 24 >> 24 != -128) { - i1 = 2; - break L9; - } - break; - } - default: - if ((i6 & -64) << 24 >> 24 != -128) { - i1 = 2; - break L9; - } - } - i7 = i1 & 255; - if ((i7 & 192 | 0) != 128) { - i1 = 2; - break L9; - } - i1 = i3 & 255; - if ((i1 & 192 | 0) != 128) { - i1 = 2; - break L9; - } - if ((i10 - i9 | 0) < 4) { - i1 = 1; - break L9; - } - i5 = i8 & 7; - i3 = i6 & 255; - i4 = i7 << 6; - i1 = i1 & 63; - if ((i3 << 12 & 258048 | i5 << 18 | i4 & 4032 | i1) >>> 0 > i15 >>> 0) { - i1 = 2; - break L9; - } - HEAP16[i9 >> 1] = i3 << 2 & 60 | i7 >>> 4 & 3 | ((i3 >>> 4 & 3 | i5 << 2) << 6) + 16320 | 55296; - i9 = i9 + 2 | 0; - HEAP32[i14 >> 2] = i9; - HEAP16[i9 >> 1] = i1 | i4 & 960 | 56320; - i1 = (HEAP32[i12 >> 2] | 0) + 4 | 0; - } while (0); - HEAP32[i12 >> 2] = i1; - HEAP32[i14 >> 2] = (HEAP32[i14 >> 2] | 0) + 2; - } - return i1 | 0; -} - -function __ZN6vision21ComputePolarGradientsEPfPKfmm(i1, i10, i11, i4) { - i1 = i1 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i12 = 0, d13 = 0.0, d14 = 0.0, d15 = 0.0, i16 = 0; - i12 = i11 + -1 | 0; - i7 = i10 + (i11 << 2) | 0; - i5 = i10 + 4 | 0; - d13 = +HEAPF32[i10 >> 2]; - d14 = +HEAPF32[i5 >> 2] - d13; - d13 = +HEAPF32[i7 >> 2] - d13; - d15 = +Math_atan2(+d13, +d14) + 3.141592653589793; - HEAPF32[i1 >> 2] = d15; - d13 = +Math_sqrt(+(d14 * d14 + d13 * d13)); - HEAPF32[i1 + 4 >> 2] = d13; - i3 = 1; - i2 = i7; - while (1) { - i6 = i1 + 8 | 0; - i2 = i2 + 4 | 0; - if (i3 >>> 0 >= i12 >>> 0) break; - i9 = i5 + 4 | 0; - d14 = +HEAPF32[i9 >> 2] - +HEAPF32[i5 + -4 >> 2]; - d15 = +HEAPF32[i2 >> 2] - +HEAPF32[i5 >> 2]; - d13 = +Math_atan2(+d15, +d14) + 3.141592653589793; - HEAPF32[i6 >> 2] = d13; - d15 = +Math_sqrt(+(d14 * d14 + d15 * d15)); - HEAPF32[i1 + 12 >> 2] = d15; - i3 = i3 + 1 | 0; - i5 = i9; - i1 = i6; - } - i9 = i4 + -1 | 0; - d15 = +HEAPF32[i5 >> 2]; - d14 = d15 - +HEAPF32[i5 + -4 >> 2]; - d15 = +HEAPF32[i2 >> 2] - d15; - d13 = +Math_atan2(+d15, +d14) + 3.141592653589793; - HEAPF32[i6 >> 2] = d13; - d15 = +Math_sqrt(+(d14 * d14 + d15 * d15)); - HEAPF32[i1 + 12 >> 2] = d15; - i8 = 1; - i3 = i6; - i4 = i7 + (i11 << 2) | 0; - i5 = i10; - i1 = i7; - while (1) { - i2 = i3 + 8 | 0; - if (i8 >>> 0 >= i9 >>> 0) break; - i7 = i1 + 4 | 0; - d14 = +HEAPF32[i7 >> 2] - +HEAPF32[i1 >> 2]; - d15 = +HEAPF32[i4 >> 2] - +HEAPF32[i5 >> 2]; - d13 = +Math_atan2(+d15, +d14) + 3.141592653589793; - HEAPF32[i2 >> 2] = d13; - d15 = +Math_sqrt(+(d14 * d14 + d15 * d15)); - HEAPF32[i3 + 12 >> 2] = d15; - i6 = 1; - i3 = i3 + 16 | 0; - while (1) { - i1 = i4 + 4 | 0; - i2 = i5 + 4 | 0; - if (i6 >>> 0 >= i12 >>> 0) break; - i16 = i7 + 4 | 0; - d14 = +HEAPF32[i16 >> 2] - +HEAPF32[i7 + -4 >> 2]; - d15 = +HEAPF32[i1 >> 2] - +HEAPF32[i2 >> 2]; - d13 = +Math_atan2(+d15, +d14) + 3.141592653589793; - HEAPF32[i3 >> 2] = d13; - d15 = +Math_sqrt(+(d14 * d14 + d15 * d15)); - HEAPF32[i3 + 4 >> 2] = d15; - i6 = i6 + 1 | 0; - i4 = i1; - i5 = i2; - i7 = i16; - i3 = i3 + 8 | 0; - } - d14 = +HEAPF32[i7 >> 2] - +HEAPF32[i7 + -4 >> 2]; - d15 = +HEAPF32[i1 >> 2] - +HEAPF32[i2 >> 2]; - d13 = +Math_atan2(+d15, +d14) + 3.141592653589793; - HEAPF32[i3 >> 2] = d13; - d15 = +Math_sqrt(+(d14 * d14 + d15 * d15)); - HEAPF32[i3 + 4 >> 2] = d15; - i8 = i8 + 1 | 0; - i4 = i4 + 8 | 0; - i5 = i5 + 8 | 0; - i1 = i7 + 4 | 0; - } - i5 = i10 + ((Math_imul(i9, i11) | 0) << 2) | 0; - i1 = i5 + (0 - i11 << 2) | 0; - i16 = i5 + 4 | 0; - d15 = +HEAPF32[i5 >> 2]; - d14 = +HEAPF32[i16 >> 2] - d15; - d15 = d15 - +HEAPF32[i1 >> 2]; - d13 = +Math_atan2(+d15, +d14) + 3.141592653589793; - HEAPF32[i2 >> 2] = d13; - d15 = +Math_sqrt(+(d14 * d14 + d15 * d15)); - HEAPF32[i3 + 12 >> 2] = d15; - i5 = 1; - i3 = i16; - while (1) { - i4 = i2 + 8 | 0; - i1 = i1 + 4 | 0; - if (i5 >>> 0 >= i12 >>> 0) break; - i16 = i3 + 4 | 0; - d14 = +HEAPF32[i16 >> 2] - +HEAPF32[i3 + -4 >> 2]; - d15 = +HEAPF32[i3 >> 2] - +HEAPF32[i1 >> 2]; - d13 = +Math_atan2(+d15, +d14) + 3.141592653589793; - HEAPF32[i4 >> 2] = d13; - d15 = +Math_sqrt(+(d14 * d14 + d15 * d15)); - HEAPF32[i2 + 12 >> 2] = d15; - i5 = i5 + 1 | 0; - i2 = i4; - i3 = i16; - } - d15 = +HEAPF32[i3 >> 2]; - d14 = d15 - +HEAPF32[i3 + -4 >> 2]; - d15 = d15 - +HEAPF32[i1 >> 2]; - d13 = +Math_atan2(+d15, +d14) + 3.141592653589793; - HEAPF32[i4 >> 2] = d13; - d15 = +Math_sqrt(+(d14 * d14 + d15 * d15)); - HEAPF32[i2 + 12 >> 2] = d15; - return; -} - -function __ZN6vision25DoGScaleInvariantDetector23findFeatureOrientationsEPKNS_25GaussianScaleSpacePyramidE(i1, i7) { - i1 = i1 | 0; - i7 = i7 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, d21 = 0.0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i9 = i20 + 48 | 0; - i16 = i20 + 44 | 0; - i17 = i20 + 40 | 0; - i18 = i20 + 36 | 0; - i19 = i20; - L1 : do if (!(HEAP8[i1 + 28 >> 0] | 0)) { - i3 = HEAP32[i1 + 60 >> 2] | 0; - i2 = ((HEAP32[i1 + 64 >> 2] | 0) - i3 | 0) / 36 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == (i2 | 0)) break L1; - HEAPF32[i3 + (i1 * 36 | 0) + 8 >> 2] = 0.0; - i1 = i1 + 1 | 0; - } - } else { - i8 = i1 + 72 | 0; - i10 = i1 + 76 | 0; - HEAP32[i10 >> 2] = HEAP32[i8 >> 2]; - i11 = i1 + 60 | 0; - i12 = i1 + 64 | 0; - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE7reserveEm(i8, (HEAP32[i12 >> 2] | 0) - (HEAP32[i11 >> 2] | 0) | 0); - i13 = i1 + 92 | 0; - __ZN6vision21OrientationAssignment16computeGradientsEPKNS_25GaussianScaleSpacePyramidE(i13, i7); - i14 = i1 + 144 | 0; - i15 = i19 + 8 | 0; - i6 = i1 + 80 | 0; - i5 = 0; - while (1) { - i4 = HEAP32[i11 >> 2] | 0; - i1 = i4; - if (i5 >>> 0 >= (((HEAP32[i12 >> 2] | 0) - i4 | 0) / 36 | 0) >>> 0) break; - __ZN6vision25bilinear_downsample_pointERfS0_S0_fffi(i16, i17, i18, +HEAPF32[i1 + (i5 * 36 | 0) >> 2], +HEAPF32[i1 + (i5 * 36 | 0) + 4 >> 2], +HEAPF32[i1 + (i5 * 36 | 0) + 28 >> 2], HEAP32[i1 + (i5 * 36 | 0) + 12 >> 2] | 0); - d21 = +HEAPF32[i16 >> 2]; - d21 = +__ZN6vision10ClipScalarIfEET_S1_S1_S1_(d21, 0.0, +(((__ZNK6vision5Image5widthEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm(i7, HEAP32[(HEAP32[i11 >> 2] | 0) + (i5 * 36 | 0) + 12 >> 2] | 0, 0) | 0) | 0) + -1 | 0) >>> 0)); - HEAPF32[i16 >> 2] = d21; - d21 = +HEAPF32[i17 >> 2]; - d21 = +__ZN6vision10ClipScalarIfEET_S1_S1_S1_(d21, 0.0, +(((__ZNK6vision5Image6heightEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm(i7, HEAP32[(HEAP32[i11 >> 2] | 0) + (i5 * 36 | 0) + 12 >> 2] | 0, 0) | 0) | 0) + -1 | 0) >>> 0)); - HEAPF32[i17 >> 2] = d21; - i4 = HEAP32[i11 >> 2] | 0; - __ZN6vision21OrientationAssignment7computeEPfRiiifff(i13, HEAP32[i14 >> 2] | 0, i9, HEAP32[i4 + (i5 * 36 | 0) + 12 >> 2] | 0, HEAP32[i4 + (i5 * 36 | 0) + 16 >> 2] | 0, +HEAPF32[i16 >> 2], d21, +HEAPF32[i18 >> 2]); - i4 = 0; - while (1) { - if ((i4 | 0) >= (HEAP32[i9 >> 2] | 0)) break; - i1 = i19; - i2 = (HEAP32[i11 >> 2] | 0) + (i5 * 36 | 0) | 0; - i3 = i1 + 36 | 0; - do { - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - i1 = i1 + 4 | 0; - i2 = i2 + 4 | 0; - } while ((i1 | 0) < (i3 | 0)); - HEAP32[i15 >> 2] = HEAP32[(HEAP32[i14 >> 2] | 0) + (i4 << 2) >> 2]; - i1 = HEAP32[i10 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i6 >> 2] | 0)) __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_(i8, i19); else { - i2 = i19; - i3 = i1 + 36 | 0; - do { - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - i1 = i1 + 4 | 0; - i2 = i2 + 4 | 0; - } while ((i1 | 0) < (i3 | 0)); - HEAP32[i10 >> 2] = (HEAP32[i10 >> 2] | 0) + 36; - } - i4 = i4 + 1 | 0; - } - i5 = i5 + 1 | 0; - } - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE4swapERS6_(i11, i8); - } while (0); - STACKTOP = i20; - return; -} - -function _arDetectMarker2(i2, i4, i12, i1, i5, i7, d6, i3, i16) { - i2 = i2 | 0; - i4 = i4 | 0; - i12 = i12 | 0; - i1 = i1 | 0; - i5 = i5 | 0; - i7 = i7 | 0; - d6 = +d6; - i3 = i3 | 0; - i16 = i16 | 0; - var i8 = 0, i9 = 0, i10 = 0, i11 = 0, i13 = 0, i14 = 0, i15 = 0, i17 = 0, d18 = 0.0; - i15 = (i1 | 0) == 1; - if (i15) { - i2 = (i2 | 0) / 2 | 0; - i4 = (i4 | 0) / 2 | 0; - i5 = (i5 | 0) / 4 | 0; - i7 = (i7 | 0) / 4 | 0; - } - HEAP32[i16 >> 2] = 0; - i10 = i12 + 8 | 0; - i11 = i2 + -2 | 0; - i4 = i4 + -2 | 0; - i8 = i12 + 1179664 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i10 >> 2] | 0)) { - i14 = 5; - break; - } - i9 = i12 + 12 + (i1 << 2) | 0; - i17 = HEAP32[i9 >> 2] | 0; - if (((((((!((i17 | 0) < (i7 | 0) | (i17 | 0) > (i5 | 0)) ? (i13 = i12 + 131084 + (i1 << 4) | 0, (HEAP32[i13 >> 2] | 0) != 1) : 0) ? (HEAP32[i12 + 131084 + (i1 << 4) + 4 >> 2] | 0) != (i11 | 0) : 0) ? (HEAP32[i12 + 131084 + (i1 << 4) + 8 >> 2] | 0) != 1 : 0) ? (HEAP32[i12 + 131084 + (i1 << 4) + 12 >> 2] | 0) != (i4 | 0) : 0) ? (_arGetContour(HEAP32[i12 >> 2] | 0, i2, 0, i8, i1 + 1 | 0, i13, i3 + ((HEAP32[i16 >> 2] | 0) * 80048 | 0) | 0) | 0) >= 0 : 0) ? (_check_square(HEAP32[i9 >> 2] | 0, i3 + ((HEAP32[i16 >> 2] | 0) * 80048 | 0) | 0, d6) | 0) >= 0 : 0) ? (HEAP32[i3 + ((HEAP32[i16 >> 2] | 0) * 80048 | 0) >> 2] = HEAP32[i9 >> 2], i17 = HEAP32[i16 >> 2] | 0, HEAPF64[i3 + (i17 * 80048 | 0) + 8 >> 3] = +HEAPF64[i12 + 655376 + (i1 << 4) >> 3], HEAPF64[i3 + (i17 * 80048 | 0) + 16 >> 3] = +HEAPF64[i12 + 655376 + (i1 << 4) + 8 >> 3], i17 = i17 + 1 | 0, HEAP32[i16 >> 2] = i17, (i17 | 0) == 60) : 0) { - i1 = 60; - break; - } - i1 = i1 + 1 | 0; - } - if ((i14 | 0) == 5) i1 = HEAP32[i16 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i1 | 0)) break; - i8 = i2 + 1 | 0; - i9 = i3 + (i2 * 80048 | 0) + 8 | 0; - i10 = i3 + (i2 * 80048 | 0) + 16 | 0; - i7 = i3 + (i2 * 80048 | 0) | 0; - i5 = i8; - while (1) { - if ((i5 | 0) >= (i1 | 0)) break; - d18 = +HEAPF64[i9 >> 3] - +HEAPF64[i3 + (i5 * 80048 | 0) + 8 >> 3]; - d6 = +HEAPF64[i10 >> 3] - +HEAPF64[i3 + (i5 * 80048 | 0) + 16 >> 3]; - d6 = d18 * d18 + d6 * d6; - i1 = HEAP32[i7 >> 2] | 0; - i2 = i3 + (i5 * 80048 | 0) | 0; - i4 = HEAP32[i2 >> 2] | 0; - if ((i1 | 0) > (i4 | 0)) { - if (d6 < +((i1 | 0) / 4 | 0 | 0)) HEAP32[i2 >> 2] = 0; - } else if (d6 < +((i4 | 0) / 4 | 0 | 0)) HEAP32[i7 >> 2] = 0; - i5 = i5 + 1 | 0; - i1 = HEAP32[i16 >> 2] | 0; - } - i2 = i8; - } - i5 = 0; - while (1) { - if ((i5 | 0) >= (i1 | 0)) break; - if (!(HEAP32[i3 + (i5 * 80048 | 0) >> 2] | 0)) { - i4 = i5; - while (1) { - i2 = i4 + 1 | 0; - if ((i2 | 0) >= (i1 | 0)) break; - _memcpy(i3 + (i4 * 80048 | 0) | 0, i3 + (i2 * 80048 | 0) | 0, 80048) | 0; - i4 = i2; - i1 = HEAP32[i16 >> 2] | 0; + break; } - i1 = i1 + -1 | 0; - HEAP32[i16 >> 2] = i1; + vision__BinaryFeatureStore__resize_28unsigned_20long_29($0, $18); + return; } - i5 = i5 + 1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 2601), 3098), 3756), 537), 4404), 4774), 16); + abort(); + abort(); } - L44 : do if (i15) { - i4 = 0; - while (1) { - if ((i4 | 0) >= (i1 | 0)) break L44; - HEAP32[i3 >> 2] = HEAP32[i3 >> 2] << 2; - i2 = i3 + 8 | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] * 2.0; - i2 = i3 + 16 | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i2 >> 3] * 2.0; - i2 = HEAP32[i3 + 24 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i17 = i3 + 28 + (i1 << 2) | 0; - HEAP32[i17 >> 2] = HEAP32[i17 >> 2] << 1; - i17 = i3 + 40028 + (i1 << 2) | 0; - HEAP32[i17 >> 2] = HEAP32[i17 >> 2] << 1; - i1 = i1 + 1 | 0; - } - i3 = i3 + 80048 | 0; - i4 = i4 + 1 | 0; - i1 = HEAP32[i16 >> 2] | 0; - } - } while (0); - return 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 6040), 3098), 3756), 538), 4404), 6578), 16); + abort(); + abort(); } -function __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE(i2, i11, i12, i13, i14, i10, i1) { - i2 = i2 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i10 = i10 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i15 = i16; - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57948) | 0; - i5 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57956) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i5 >> 2] | 0) + 20 >> 2] & 63](i15, i5); - i7 = i15 + 11 | 0; - i6 = HEAP8[i7 >> 0] | 0; - i8 = i15 + 4 | 0; - if ((i6 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i6 & 255) | 0) { - HEAP32[i10 >> 2] = i13; - i1 = HEAP8[i2 >> 0] | 0; - switch (i1 << 24 >> 24) { - case 43: - case 45: - { - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 44 >> 2] & 63](i9, i1) | 0; - i1 = HEAP32[i10 >> 2] | 0; - HEAP32[i10 >> 2] = i1 + 4; - HEAP32[i1 >> 2] = i6; - i1 = i2 + 1 | 0; - break; - } - default: - i1 = i2; - } - L7 : do if ((i12 - i1 | 0) > 1 ? (HEAP8[i1 >> 0] | 0) == 48 : 0) { - i3 = i1 + 1 | 0; - switch (HEAP8[i3 >> 0] | 0) { - case 88: - case 120: - break; - default: - break L7; - } - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 44 >> 2] & 63](i9, 48) | 0; - i4 = HEAP32[i10 >> 2] | 0; - HEAP32[i10 >> 2] = i4 + 4; - HEAP32[i4 >> 2] = i6; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 44 >> 2] & 63](i9, HEAP8[i3 >> 0] | 0) | 0; - i6 = HEAP32[i10 >> 2] | 0; - HEAP32[i10 >> 2] = i6 + 4; - HEAP32[i6 >> 2] = i4; - i1 = i1 + 2 | 0; - } while (0); - L12 : do if ((i1 | 0) != (i12 | 0)) { - i3 = i12; - i4 = i1; - while (1) { - i3 = i3 + -1 | 0; - if (i4 >>> 0 >= i3 >>> 0) break L12; - i6 = HEAP8[i4 >> 0] | 0; - HEAP8[i4 >> 0] = HEAP8[i3 >> 0] | 0; - HEAP8[i3 >> 0] = i6; - i4 = i4 + 1 | 0; - } - } while (0); - i6 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 16 >> 2] & 127](i5) | 0; - i5 = i1; - i3 = 0; - i4 = 0; - while (1) { - if (i5 >>> 0 >= i12 >>> 0) break; - i17 = HEAP8[((HEAP8[i7 >> 0] | 0) < 0 ? HEAP32[i15 >> 2] | 0 : i15) + i3 >> 0] | 0; - if (i17 << 24 >> 24 != 0 & (i4 | 0) == (i17 << 24 >> 24 | 0)) { - i4 = HEAP32[i10 >> 2] | 0; - HEAP32[i10 >> 2] = i4 + 4; - HEAP32[i4 >> 2] = i6; - i4 = HEAP8[i7 >> 0] | 0; - i3 = i3 + (i3 >>> 0 < ((i4 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i4 & 255) + -1 | 0) >>> 0 & 1) | 0; - i4 = 0; - } - i18 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 44 >> 2] & 63](i9, HEAP8[i5 >> 0] | 0) | 0; - i17 = HEAP32[i10 >> 2] | 0; - HEAP32[i10 >> 2] = i17 + 4; - HEAP32[i17 >> 2] = i18; - i5 = i5 + 1 | 0; - i4 = i4 + 1 | 0; - } - i1 = i13 + (i1 - i2 << 2) | 0; - i3 = HEAP32[i10 >> 2] | 0; - if ((i1 | 0) != (i3 | 0)) { +function update_box($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + $2 = HEAP32[$1 + 20 >> 2]; + $6 = HEAP32[$1 + 16 >> 2]; + $5 = HEAP32[$1 + 12 >> 2]; + $7 = HEAP32[$1 + 8 >> 2]; + $13 = HEAP32[HEAP32[$0 + 484 >> 2] + 24 >> 2]; + $8 = HEAP32[$1 + 4 >> 2]; + $14 = HEAP32[$1 >> 2]; + label$1: { + if (($8 | 0) > ($14 | 0)) { + $9 = $14; while (1) { - i3 = i3 + -4 | 0; - if (i1 >>> 0 >= i3 >>> 0) break; - i18 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = i18; - i1 = i1 + 4 | 0; + if (($5 | 0) >= ($7 | 0)) { + $15 = HEAP32[($9 << 2) + $13 >> 2]; + $3 = $7; + while (1) { + if (($2 | 0) >= ($6 | 0)) { + $0 = (($3 << 6) + $15 | 0) + ($6 << 1) | 0; + $4 = $6; + while (1) { + if (HEAPU16[$0 >> 1]) { + HEAP32[$1 >> 2] = $9; + break label$1; + } + $0 = $0 + 2 | 0; + $10 = ($2 | 0) != ($4 | 0); + $4 = $4 + 1 | 0; + if ($10) { + continue; + } + break; + } + } + $0 = ($3 | 0) != ($5 | 0); + $3 = $3 + 1 | 0; + if ($0) { + continue; + } + break; + } + } + $0 = ($8 | 0) != ($9 | 0); + $9 = $9 + 1 | 0; + if ($0) { + continue; + } + break; } - i1 = HEAP32[i10 >> 2] | 0; } - } else { - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 48 >> 2] & 15](i9, i2, i12, i13) | 0; - i1 = i13 + (i12 - i2 << 2) | 0; - HEAP32[i10 >> 2] = i1; - } - HEAP32[i14 >> 2] = (i11 | 0) == (i12 | 0) ? i1 : i13 + (i11 - i2 << 2) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i15); - STACKTOP = i16; - return; -} - -function _arParamDecompMat(i3, i6, i4) { - i3 = i3 | 0; - i6 = i6 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i7 = 0, d8 = 0.0, d9 = 0.0, i10 = 0, i11 = 0, i12 = 0, d13 = 0.0, d14 = 0.0, i15 = 0, i16 = 0, d17 = 0.0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, d22 = 0.0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - i5 = i7; - L1 : do if (!(+HEAPF64[i3 + 88 >> 3] >= 0.0)) { - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break L1; - i2 = 0; + $9 = $14; + } + label$9: { + if (($8 | 0) > ($9 | 0)) { + $11 = $8; while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i5 + (i1 << 5) + (i2 << 3) >> 3] = -+HEAPF64[i3 + (i1 << 5) + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; + if (($5 | 0) >= ($7 | 0)) { + $14 = HEAP32[($11 << 2) + $13 >> 2]; + $3 = $7; + while (1) { + if (($2 | 0) >= ($6 | 0)) { + $0 = (($3 << 6) + $14 | 0) + ($6 << 1) | 0; + $4 = $6; + while (1) { + if (HEAPU16[$0 >> 1]) { + HEAP32[$1 + 4 >> 2] = $11; + break label$9; + } + $0 = $0 + 2 | 0; + $10 = ($2 | 0) != ($4 | 0); + $4 = $4 + 1 | 0; + if ($10) { + continue; + } + break; + } + } + $0 = ($3 | 0) != ($5 | 0); + $3 = $3 + 1 | 0; + if ($0) { + continue; + } + break; + } + } + $0 = ($9 | 0) < ($11 | 0); + $11 = $11 - 1 | 0; + if ($0) { + continue; + } + break; } - i1 = i1 + 1 | 0; } - } else { - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break L1; - i2 = 0; + $11 = $8; + } + label$17: { + if (($5 | 0) > ($7 | 0)) { + $12 = $7; while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i5 + (i1 << 5) + (i2 << 3) >> 3] = +HEAPF64[i3 + (i1 << 5) + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; + $3 = $9; + if (($11 | 0) >= ($3 | 0)) { + while (1) { + if (($2 | 0) >= ($6 | 0)) { + $0 = (HEAP32[($3 << 2) + $13 >> 2] + ($12 << 6) | 0) + ($6 << 1) | 0; + $4 = $6; + while (1) { + if (HEAPU16[$0 >> 1]) { + HEAP32[$1 + 8 >> 2] = $12; + break label$17; + } + $0 = $0 + 2 | 0; + $10 = ($2 | 0) != ($4 | 0); + $4 = $4 + 1 | 0; + if ($10) { + continue; + } + break; + } + } + $0 = ($3 | 0) != ($11 | 0); + $3 = $3 + 1 | 0; + if ($0) { + continue; + } + break; + } + } + $0 = ($5 | 0) != ($12 | 0); + $12 = $12 + 1 | 0; + if ($0) { + continue; + } + break; } - i1 = i1 + 1 | 0; - } - } while (0); - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i6 + (i1 << 5) + (i2 << 3) >> 3] = 0.0; - i2 = i2 + 1 | 0; - } - i1 = i1 + 1 | 0; - } - d8 = +HEAPF64[i5 + 64 >> 3]; - d13 = +HEAPF64[i5 + 72 >> 3]; - d14 = +HEAPF64[i5 + 80 >> 3]; - d22 = +_norm(d8, d13, d14); - i3 = i6 + 80 | 0; - HEAPF64[i3 >> 3] = d22; - d22 = d8 / d22; - i20 = i4 + 64 | 0; - HEAPF64[i20 >> 3] = d22; - d13 = d13 / +HEAPF64[i3 >> 3]; - i18 = i4 + 72 | 0; - HEAPF64[i18 >> 3] = d13; - d14 = d14 / +HEAPF64[i3 >> 3]; - i15 = i4 + 80 | 0; - HEAPF64[i15 >> 3] = d14; - i12 = i4 + 88 | 0; - HEAPF64[i12 >> 3] = +HEAPF64[i5 + 88 >> 3] / +HEAPF64[i3 >> 3]; - d8 = +HEAPF64[i5 + 32 >> 3]; - d9 = +HEAPF64[i5 + 40 >> 3]; - d17 = +HEAPF64[i5 + 48 >> 3]; - d14 = +_dot(d22, d13, d14, d8, d9, d17); - i11 = i6 + 48 | 0; - HEAPF64[i11 >> 3] = d14; - d8 = d8 - d14 * +HEAPF64[i20 >> 3]; - d9 = d9 - d14 * +HEAPF64[i18 >> 3]; - d14 = d17 - d14 * +HEAPF64[i15 >> 3]; - d17 = +_norm(d8, d9, d14); - i10 = i6 + 40 | 0; - HEAPF64[i10 >> 3] = d17; - i21 = i4 + 32 | 0; - HEAPF64[i21 >> 3] = d8 / d17; - i19 = i4 + 40 | 0; - HEAPF64[i19 >> 3] = d9 / +HEAPF64[i10 >> 3]; - i16 = i4 + 48 | 0; - HEAPF64[i16 >> 3] = d14 / +HEAPF64[i10 >> 3]; - d14 = +HEAPF64[i5 >> 3]; - d9 = +HEAPF64[i5 + 8 >> 3]; - d17 = +HEAPF64[i5 + 16 >> 3]; - d8 = +_dot(+HEAPF64[i20 >> 3], +HEAPF64[i18 >> 3], +HEAPF64[i15 >> 3], d14, d9, d17); - i1 = i6 + 16 | 0; - HEAPF64[i1 >> 3] = d8; - d13 = +_dot(+HEAPF64[i21 >> 3], +HEAPF64[i19 >> 3], +HEAPF64[i16 >> 3], d14, d9, d17); - i2 = i6 + 8 | 0; - HEAPF64[i2 >> 3] = d13; - d14 = d14 - d13 * +HEAPF64[i21 >> 3] - d8 * +HEAPF64[i20 >> 3]; - d9 = d9 - d13 * +HEAPF64[i19 >> 3] - d8 * +HEAPF64[i18 >> 3]; - d8 = d17 - d13 * +HEAPF64[i16 >> 3] - d8 * +HEAPF64[i15 >> 3]; - d13 = +_norm(d14, d9, d8); - HEAPF64[i6 >> 3] = d13; - HEAPF64[i4 >> 3] = d14 / d13; - HEAPF64[i4 + 8 >> 3] = d9 / +HEAPF64[i6 >> 3]; - HEAPF64[i4 + 16 >> 3] = d8 / +HEAPF64[i6 >> 3]; - d8 = +HEAPF64[i12 >> 3]; - d9 = (+HEAPF64[i5 + 56 >> 3] - +HEAPF64[i11 >> 3] * d8) / +HEAPF64[i10 >> 3]; - HEAPF64[i4 + 56 >> 3] = d9; - HEAPF64[i4 + 24 >> 3] = (+HEAPF64[i5 + 24 >> 3] - d9 * +HEAPF64[i2 >> 3] - d8 * +HEAPF64[i1 >> 3]) / +HEAPF64[i6 >> 3]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - i21 = i6 + (i1 << 5) + (i2 << 3) | 0; - HEAPF64[i21 >> 3] = +HEAPF64[i21 >> 3] / +HEAPF64[i3 >> 3]; - i2 = i2 + 1 | 0; } - i1 = i1 + 1 | 0; + $12 = $7; } - STACKTOP = i7; - return 0; -} - -function _ar2ReadImageSetOld(i9) { - i9 = i9 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i6 = i11 + 32 | 0; - i5 = i11 + 24 | 0; - i4 = i11 + 16 | 0; - i3 = i11 + 8 | 0; - i1 = _malloc(8) | 0; - if (!i1) { - _arLog(0, 3, 20454, i11); - _exit(1); - } - i2 = i1 + 4 | 0; - L4 : do if ((_fread(i2, 4, 1, i9) | 0) == 1 ? (i10 = HEAP32[i2 >> 2] | 0, (i10 | 0) >= 1) : 0) { - i8 = _malloc(i10 << 2) | 0; - HEAP32[i1 >> 2] = i8; - if (!i8) { - _arLog(0, 3, 20454, i4); - _exit(1); - } - i2 = 0; - while (1) { - if ((i2 | 0) >= (i10 | 0)) break; - i4 = _malloc(16) | 0; - HEAP32[i8 + (i2 << 2) >> 2] = i4; - if (!i4) { - i7 = 12; - break; - } else i2 = i2 + 1 | 0; - } - if ((i7 | 0) == 12) { - _arLog(0, 3, 20454, i5); - _exit(1); - } - i3 = 0; - while (1) { - if ((i3 | 0) >= (i10 | 0)) { - i7 = 44; - break; - } - i2 = i8 + (i3 << 2) | 0; - if ((_fread((HEAP32[i2 >> 2] | 0) + 4 | 0, 4, 1, i9) | 0) != 1) { - i7 = 15; - break; - } - if ((_fread((HEAP32[i2 >> 2] | 0) + 8 | 0, 4, 1, i9) | 0) != 1) { - i7 = 22; - break; - } - if ((_fread((HEAP32[i2 >> 2] | 0) + 12 | 0, 4, 1, i9) | 0) != 1) { - i7 = 29; - break; - } - i7 = HEAP32[i2 >> 2] | 0; - i7 = _malloc(Math_imul(HEAP32[i7 + 8 >> 2] | 0, HEAP32[i7 + 4 >> 2] | 0) | 0) | 0; - HEAP32[HEAP32[i2 >> 2] >> 2] = i7; - if (!i7) { - i7 = 36; - break; - } - i5 = HEAP32[i2 >> 2] | 0; - i5 = _fread(HEAP32[i5 >> 2] | 0, 1, Math_imul(HEAP32[i5 + 8 >> 2] | 0, HEAP32[i5 + 4 >> 2] | 0) | 0, i9) | 0; - i7 = HEAP32[i2 >> 2] | 0; - i3 = i3 + 1 | 0; - if ((i5 | 0) != (Math_imul(HEAP32[i7 + 8 >> 2] | 0, HEAP32[i7 + 4 >> 2] | 0) | 0)) { - i7 = 38; + label$25: { + if (($5 | 0) > ($12 | 0)) { + $8 = $5; + while (1) { + $3 = $9; + if (($11 | 0) >= ($3 | 0)) { + while (1) { + if (($2 | 0) >= ($6 | 0)) { + $0 = (HEAP32[($3 << 2) + $13 >> 2] + ($8 << 6) | 0) + ($6 << 1) | 0; + $4 = $6; + while (1) { + if (HEAPU16[$0 >> 1]) { + HEAP32[$1 + 12 >> 2] = $8; + break label$25; + } + $0 = $0 + 2 | 0; + $10 = ($2 | 0) != ($4 | 0); + $4 = $4 + 1 | 0; + if ($10) { + continue; + } + break; + } + } + $0 = ($3 | 0) != ($11 | 0); + $3 = $3 + 1 | 0; + if ($0) { + continue; + } + break; + } + } + $0 = ($8 | 0) > ($12 | 0); + $8 = $8 - 1 | 0; + if ($0) { + continue; + } break; } } - L23 : do if ((i7 | 0) == 15) { - i2 = 0; - while (1) { - if ((i2 | 0) == (i3 | 0)) break; - _free(HEAP32[HEAP32[i8 + (i2 << 2) >> 2] >> 2] | 0); - i2 = i2 + 1 | 0; - } - i2 = 0; - while (1) { - if ((i2 | 0) == (i10 | 0)) break L23; - _free(HEAP32[i8 + (i2 << 2) >> 2] | 0); - i2 = i2 + 1 | 0; - } - } else if ((i7 | 0) == 22) { - i2 = 0; - while (1) { - if ((i2 | 0) == (i3 | 0)) break; - _free(HEAP32[HEAP32[i8 + (i2 << 2) >> 2] >> 2] | 0); - i2 = i2 + 1 | 0; - } - i2 = 0; - while (1) { - if ((i2 | 0) == (i10 | 0)) break L23; - _free(HEAP32[i8 + (i2 << 2) >> 2] | 0); - i2 = i2 + 1 | 0; - } - } else if ((i7 | 0) == 29) { - i2 = 0; - while (1) { - if ((i2 | 0) == (i3 | 0)) break; - _free(HEAP32[HEAP32[i8 + (i2 << 2) >> 2] >> 2] | 0); - i2 = i2 + 1 | 0; - } - i2 = 0; - while (1) { - if ((i2 | 0) == (i10 | 0)) break L23; - _free(HEAP32[i8 + (i2 << 2) >> 2] | 0); - i2 = i2 + 1 | 0; - } - } else if ((i7 | 0) == 36) { - _arLog(0, 3, 20454, i6); - _exit(1); - } else if ((i7 | 0) == 38) { - i2 = 0; - while (1) { - if ((i2 | 0) == (i3 | 0)) break; - _free(HEAP32[HEAP32[i8 + (i2 << 2) >> 2] >> 2] | 0); - i2 = i2 + 1 | 0; - } - i2 = 0; + $8 = $5; + } + label$33: { + if (($2 | 0) > ($6 | 0)) { + $3 = $12 << 6; + $7 = $6; while (1) { - if ((i2 | 0) == (i10 | 0)) break L23; - _free(HEAP32[i8 + (i2 << 2) >> 2] | 0); - i2 = i2 + 1 | 0; - } - } else if ((i7 | 0) == 44) { - _fclose(i9) | 0; - break L4; - } while (0); - _free(i8); - i7 = 46; - } else i7 = 5; while (0); - if ((i7 | 0) == 5) { - _arLog(0, 3, 19470, i3); - i7 = 46; - } - if ((i7 | 0) == 46) { - _free(i1); - _fclose(i9) | 0; - i1 = 0; - } - STACKTOP = i11; - return i1 | 0; -} - -function __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE(i2, i11, i12, i13, i14, i10, i1) { - i2 = i2 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i10 = i10 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i15 = i16; - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i5 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57932) | 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i5 >> 2] | 0) + 20 >> 2] & 63](i15, i5); - i7 = i15 + 11 | 0; - i6 = HEAP8[i7 >> 0] | 0; - i8 = i15 + 4 | 0; - if ((i6 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i6 & 255) | 0) { - HEAP32[i10 >> 2] = i13; - i1 = HEAP8[i2 >> 0] | 0; - switch (i1 << 24 >> 24) { - case 43: - case 45: - { - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, i1) | 0; - i1 = HEAP32[i10 >> 2] | 0; - HEAP32[i10 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i6; - i1 = i2 + 1 | 0; + $5 = $9; + if (($11 | 0) >= ($5 | 0)) { + while (1) { + if (($8 | 0) >= ($12 | 0)) { + $0 = (HEAP32[($5 << 2) + $13 >> 2] + $3 | 0) + ($7 << 1) | 0; + $4 = $12; + while (1) { + if (HEAPU16[$0 >> 1]) { + HEAP32[$1 + 16 >> 2] = $7; + break label$33; + } + $0 = $0 - -64 | 0; + $10 = ($4 | 0) != ($8 | 0); + $4 = $4 + 1 | 0; + if ($10) { + continue; + } + break; + } + } + $0 = ($5 | 0) != ($11 | 0); + $5 = $5 + 1 | 0; + if ($0) { + continue; + } + break; + } + } + $0 = ($2 | 0) != ($7 | 0); + $7 = $7 + 1 | 0; + if ($0) { + continue; + } break; } - default: - i1 = i2; } - L7 : do if ((i12 - i1 | 0) > 1 ? (HEAP8[i1 >> 0] | 0) == 48 : 0) { - i3 = i1 + 1 | 0; - switch (HEAP8[i3 >> 0] | 0) { - case 88: - case 120: - break; - default: - break L7; - } - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 48) | 0; - i4 = HEAP32[i10 >> 2] | 0; - HEAP32[i10 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i6; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, HEAP8[i3 >> 0] | 0) | 0; - i6 = HEAP32[i10 >> 2] | 0; - HEAP32[i10 >> 2] = i6 + 1; - HEAP8[i6 >> 0] = i4; - i1 = i1 + 2 | 0; - } while (0); - L12 : do if ((i1 | 0) != (i12 | 0)) { - i3 = i12; - i4 = i1; - while (1) { - i3 = i3 + -1 | 0; - if (i4 >>> 0 >= i3 >>> 0) break L12; - i6 = HEAP8[i4 >> 0] | 0; - HEAP8[i4 >> 0] = HEAP8[i3 >> 0] | 0; - HEAP8[i3 >> 0] = i6; - i4 = i4 + 1 | 0; - } - } while (0); - i6 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 16 >> 2] & 127](i5) | 0; - i5 = i1; - i3 = 0; - i4 = 0; - while (1) { - if (i5 >>> 0 >= i12 >>> 0) break; - i17 = HEAP8[((HEAP8[i7 >> 0] | 0) < 0 ? HEAP32[i15 >> 2] | 0 : i15) + i3 >> 0] | 0; - if (i17 << 24 >> 24 != 0 & (i4 | 0) == (i17 << 24 >> 24 | 0)) { - i4 = HEAP32[i10 >> 2] | 0; - HEAP32[i10 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i6; - i4 = HEAP8[i7 >> 0] | 0; - i3 = i3 + (i3 >>> 0 < ((i4 << 24 >> 24 < 0 ? HEAP32[i8 >> 2] | 0 : i4 & 255) + -1 | 0) >>> 0 & 1) | 0; - i4 = 0; - } - i18 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, HEAP8[i5 >> 0] | 0) | 0; - i17 = HEAP32[i10 >> 2] | 0; - HEAP32[i10 >> 2] = i17 + 1; - HEAP8[i17 >> 0] = i18; - i5 = i5 + 1 | 0; - i4 = i4 + 1 | 0; - } - i1 = i13 + (i1 - i2) | 0; - i3 = HEAP32[i10 >> 2] | 0; - if ((i1 | 0) != (i3 | 0)) { + $7 = $6; + } + label$41: { + if (($2 | 0) > ($7 | 0)) { + $3 = $12 << 6; + $5 = $2; while (1) { - i3 = i3 + -1 | 0; - if (i1 >>> 0 >= i3 >>> 0) break; - i18 = HEAP8[i1 >> 0] | 0; - HEAP8[i1 >> 0] = HEAP8[i3 >> 0] | 0; - HEAP8[i3 >> 0] = i18; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i10 >> 2] | 0; - } - } else { - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 32 >> 2] & 15](i9, i2, i12, i13) | 0; - i1 = i13 + (i12 - i2) | 0; - HEAP32[i10 >> 2] = i1; - } - HEAP32[i14 >> 2] = (i11 | 0) == (i12 | 0) ? i1 : i13 + (i11 - i2) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i15); - STACKTOP = i16; - return; -} - -function __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEEixERSD_(i15, i1) { - i15 = i15 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, d4 = 0.0, d5 = 0.0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i16 = i17 + 4 | 0; - i9 = i17; - i10 = i17 + 16 | 0; - HEAP32[i9 >> 2] = i1; - i14 = HEAP32[i1 >> 2] | 0; - i12 = i15 + 4 | 0; - i6 = HEAP32[i12 >> 2] | 0; - i13 = (i6 | 0) == 0; - L1 : do if (!i13) { - i8 = i6 + -1 | 0; - i3 = (i8 & i6 | 0) == 0; - if (!i3) if (i14 >>> 0 < i6 >>> 0) i7 = i14; else i7 = (i14 >>> 0) % (i6 >>> 0) | 0; else i7 = i8 & i14; - i1 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i7 << 2) >> 2] | 0; - if (!i1) { - i1 = i7; - i11 = 16; - } else do { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) { - i1 = i7; - i11 = 16; - break L1; - } - i2 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 | 0) != (i14 | 0)) { - if (!i3) { - if (i2 >>> 0 >= i6 >>> 0) i2 = (i2 >>> 0) % (i6 >>> 0) | 0; - } else i2 = i2 & i8; - if ((i2 | 0) != (i7 | 0)) { - i1 = i7; - i11 = 16; - break L1; - } - } - } while ((HEAP32[i1 + 8 >> 2] | 0) != (i14 | 0)); - } else { - i1 = 0; - i11 = 16; - } while (0); - if ((i11 | 0) == 16) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSO_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS9_PvEENS_22__hash_node_destructorINS6_ISW_EEEEEEmOT_DpOT0_(i16, i15, i14, 58356, i9, i10); - i7 = i15 + 12 | 0; - d4 = +(((HEAP32[i7 >> 2] | 0) + 1 | 0) >>> 0); - d5 = +HEAPF32[i15 + 16 >> 2]; - do if (i13 | d5 * +(i6 >>> 0) < d4) { - i1 = i6 << 1 | (i6 >>> 0 < 3 | (i6 + -1 & i6 | 0) != 0) & 1; - i2 = ~~+Math_ceil(+(d4 / d5)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE6rehashEm(i15, i1 >>> 0 < i2 >>> 0 ? i2 : i1); - i1 = HEAP32[i12 >> 2] | 0; - i2 = i1 + -1 | 0; - if (!(i2 & i1)) { - i6 = i1; - i1 = i2 & i14; - break; - } - if (i14 >>> 0 < i1 >>> 0) { - i6 = i1; - i1 = i14; - } else { - i6 = i1; - i1 = (i14 >>> 0) % (i1 >>> 0) | 0; - } - } while (0); - i2 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] | 0; - if (!i2) { - i3 = i15 + 8 | 0; - HEAP32[HEAP32[i16 >> 2] >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i16 >> 2]; - HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] = i3; - i3 = HEAP32[i16 >> 2] | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) i1 = i16; else { - i1 = HEAP32[i1 + 4 >> 2] | 0; - i2 = i6 + -1 | 0; - if (i2 & i6) { - if (i1 >>> 0 >= i6 >>> 0) i1 = (i1 >>> 0) % (i6 >>> 0) | 0; - } else i1 = i1 & i2; - HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] = i3; - i1 = i16; - } - } else { - HEAP32[HEAP32[i16 >> 2] >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i16 >> 2]; - i1 = i16; - } - i16 = HEAP32[i1 >> 2] | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - HEAP32[i1 >> 2] = 0; - i1 = i16; - } - STACKTOP = i17; - return i1 + 12 | 0; -} - -function __ZNSt3__213unordered_mapIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEENS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS5_EEEEEixERSC_(i15, i1) { - i15 = i15 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, d4 = 0.0, d5 = 0.0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i16 = i17 + 4 | 0; - i9 = i17; - i10 = i17 + 16 | 0; - HEAP32[i9 >> 2] = i1; - i14 = HEAP32[i1 >> 2] | 0; - i12 = i15 + 4 | 0; - i6 = HEAP32[i12 >> 2] | 0; - i13 = (i6 | 0) == 0; - L1 : do if (!i13) { - i8 = i6 + -1 | 0; - i3 = (i8 & i6 | 0) == 0; - if (!i3) if (i14 >>> 0 < i6 >>> 0) i7 = i14; else i7 = (i14 >>> 0) % (i6 >>> 0) | 0; else i7 = i8 & i14; - i1 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i7 << 2) >> 2] | 0; - if (!i1) { - i1 = i7; - i11 = 16; - } else do { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) { - i1 = i7; - i11 = 16; - break L1; - } - i2 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 | 0) != (i14 | 0)) { - if (!i3) { - if (i2 >>> 0 >= i6 >>> 0) i2 = (i2 >>> 0) % (i6 >>> 0) | 0; - } else i2 = i2 & i8; - if ((i2 | 0) != (i7 | 0)) { - i1 = i7; - i11 = 16; - break L1; - } - } - } while ((HEAP32[i1 + 8 >> 2] | 0) != (i14 | 0)); - } else { - i1 = 0; - i11 = 16; - } while (0); - if ((i11 | 0) == 16) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSN_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS7_PvEENS_22__hash_node_destructorINSG_ISV_EEEEEEmOT_DpOT0_(i16, i15, i14, 58356, i9, i10); - i7 = i15 + 12 | 0; - d4 = +(((HEAP32[i7 >> 2] | 0) + 1 | 0) >>> 0); - d5 = +HEAPF32[i15 + 16 >> 2]; - do if (i13 | d5 * +(i6 >>> 0) < d4) { - i1 = i6 << 1 | (i6 >>> 0 < 3 | (i6 + -1 & i6 | 0) != 0) & 1; - i2 = ~~+Math_ceil(+(d4 / d5)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE6rehashEm(i15, i1 >>> 0 < i2 >>> 0 ? i2 : i1); - i1 = HEAP32[i12 >> 2] | 0; - i2 = i1 + -1 | 0; - if (!(i2 & i1)) { - i6 = i1; - i1 = i2 & i14; + $6 = $9; + if (($11 | 0) >= ($6 | 0)) { + while (1) { + if (($8 | 0) >= ($12 | 0)) { + $0 = (HEAP32[($6 << 2) + $13 >> 2] + $3 | 0) + ($5 << 1) | 0; + $4 = $12; + while (1) { + if (HEAPU16[$0 >> 1]) { + HEAP32[$1 + 20 >> 2] = $5; + break label$41; + } + $0 = $0 - -64 | 0; + $10 = ($4 | 0) != ($8 | 0); + $4 = $4 + 1 | 0; + if ($10) { + continue; + } + break; + } + } + $0 = ($6 | 0) != ($11 | 0); + $6 = $6 + 1 | 0; + if ($0) { + continue; + } + break; + } + } + $0 = ($5 | 0) > ($7 | 0); + $5 = $5 - 1 | 0; + if ($0) { + continue; + } break; } - if (i14 >>> 0 < i1 >>> 0) { - i6 = i1; - i1 = i14; - } else { - i6 = i1; - i1 = (i14 >>> 0) % (i1 >>> 0) | 0; - } - } while (0); - i2 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] | 0; - if (!i2) { - i3 = i15 + 8 | 0; - HEAP32[HEAP32[i16 >> 2] >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i16 >> 2]; - HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] = i3; - i3 = HEAP32[i16 >> 2] | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) i1 = i16; else { - i1 = HEAP32[i1 + 4 >> 2] | 0; - i2 = i6 + -1 | 0; - if (i2 & i6) { - if (i1 >>> 0 >= i6 >>> 0) i1 = (i1 >>> 0) % (i6 >>> 0) | 0; - } else i1 = i1 & i2; - HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] = i3; - i1 = i16; - } - } else { - HEAP32[HEAP32[i16 >> 2] >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i16 >> 2]; - i1 = i16; - } - i16 = HEAP32[i1 >> 2] | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - HEAP32[i1 >> 2] = 0; - i1 = i16; - } - STACKTOP = i17; - return i1 + 12 | 0; -} - -function __ZNKSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIwS3_NS_9allocatorIwEEEE(i1, i11, i13, i6, i2, i14, i8) { - i1 = i1 | 0; - i11 = i11 | 0; - i13 = i13 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i14 = i14 | 0; - i8 = i8 | 0; - var i3 = 0, i4 = 0, i5 = 0, i7 = 0, i9 = 0, i10 = 0, i12 = 0, i15 = 0, i16 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 432 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(432); - i3 = i17 + 424 | 0; - i1 = i17; - i16 = i17 + 416 | 0; - i7 = i17 + 408 | 0; - i12 = i17 + 400 | 0; - i4 = i17 + 428 | 0; - i9 = i17 + 404 | 0; - HEAP32[i16 >> 2] = i1; - HEAP32[i16 + 4 >> 2] = 143; - __ZNKSt3__28ios_base6getlocEv(i12, i2); - i5 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57948) | 0; - HEAP8[i4 >> 0] = 0; - i10 = HEAP32[i13 >> 2] | 0; - HEAP32[i9 >> 2] = i10; - i2 = HEAP32[i2 + 4 >> 2] | 0; - HEAP32[i3 >> 2] = HEAP32[i9 >> 2]; - i9 = i10; - if (__ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_(i11, i3, i6, i12, i2, i14, i4, i5, i16, i7, i1 + 400 | 0) | 0) { - i1 = i8 + 8 + 3 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i6 = HEAP32[i8 >> 2] | 0; - HEAP32[i3 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i6, i3); - HEAP32[i8 + 4 >> 2] = 0; - } else { - HEAP32[i3 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i8, i3); - HEAP8[i1 >> 0] = 0; - } - if (HEAP8[i4 >> 0] | 0) __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw(i8, FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 44 >> 2] & 63](i5, 45) | 0); - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 44 >> 2] & 63](i5, 48) | 0; - i2 = HEAP32[i7 >> 2] | 0; - i3 = i2 + -4 | 0; - i1 = HEAP32[i16 >> 2] | 0; - while (1) { - if (i1 >>> 0 >= i3 >>> 0) break; - if ((HEAP32[i1 >> 2] | 0) != (i4 | 0)) break; - i1 = i1 + 4 | 0; - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE23__append_forward_unsafeIPwEERS5_T_S9_(i8, i1, i2) | 0; - } - i1 = HEAP32[i11 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i11 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i11 >> 2] | 0) == 0; - break; - } - } else i2 = 1; while (0); - do if (i10) { - i1 = HEAP32[i9 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i9 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i10 >> 2] | 0) + 36 >> 2] & 127](i9) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i15 = 27; - break; - } else { - HEAP32[i13 >> 2] = 0; - i15 = 25; - break; } - } else i15 = 25; while (0); - if ((i15 | 0) == 25 ? i2 : 0) i15 = 27; - if ((i15 | 0) == 27) HEAP32[i14 >> 2] = HEAP32[i14 >> 2] | 2; - i2 = HEAP32[i11 >> 2] | 0; - __ZNSt3__26localeD2Ev(i12); - i1 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = 0; - if (i1 | 0) FUNCTION_TABLE_vi[HEAP32[i16 + 4 >> 2] & 255](i1); - STACKTOP = i17; - return i2 | 0; -} - -function __ZNKSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIcS3_NS_9allocatorIcEEEE(i1, i11, i13, i6, i2, i14, i8) { - i1 = i1 | 0; - i11 = i11 | 0; - i13 = i13 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i14 = i14 | 0; - i8 = i8 | 0; - var i3 = 0, i4 = 0, i5 = 0, i7 = 0, i9 = 0, i10 = 0, i12 = 0, i15 = 0, i16 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - i3 = i17 + 120 | 0; - i1 = i17; - i16 = i17 + 112 | 0; - i7 = i17 + 108 | 0; - i12 = i17 + 100 | 0; - i4 = i17 + 124 | 0; - i9 = i17 + 104 | 0; - HEAP32[i16 >> 2] = i1; - HEAP32[i16 + 4 >> 2] = 143; - __ZNKSt3__28ios_base6getlocEv(i12, i2); - i5 = __ZNKSt3__26locale9use_facetERNS0_2idE(i12, 57916) | 0; - HEAP8[i4 >> 0] = 0; - i10 = HEAP32[i13 >> 2] | 0; - HEAP32[i9 >> 2] = i10; - i2 = HEAP32[i2 + 4 >> 2] | 0; - HEAP32[i3 >> 2] = HEAP32[i9 >> 2]; - i9 = i10; - if (__ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_(i11, i3, i6, i12, i2, i14, i4, i5, i16, i7, i1 + 100 | 0) | 0) { - i1 = i8 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i6 = HEAP32[i8 >> 2] | 0; - HEAP8[i3 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i6, i3); - HEAP32[i8 + 4 >> 2] = 0; - } else { - HEAP8[i3 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i8, i3); - HEAP8[i1 >> 0] = 0; - } - if (HEAP8[i4 >> 0] | 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(i8, FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 28 >> 2] & 63](i5, 45) | 0); - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i5 >> 2] | 0) + 28 >> 2] & 63](i5, 48) | 0; - i2 = HEAP32[i7 >> 2] | 0; - i3 = i2 + -1 | 0; - i1 = HEAP32[i16 >> 2] | 0; + $5 = $2; + } + $2 = Math_imul($8 - $12 | 0, 12); + $0 = Math_imul($2, $2); + $2 = $11 - $9 << 4; + $0 = $0 + Math_imul($2, $2) | 0; + $15 = $5 - $7 | 0; + $2 = $15 << 3; + HEAP32[$1 + 24 >> 2] = $0 + Math_imul($2, $2); + $4 = 0; + if (($9 | 0) <= ($11 | 0)) { + $6 = $15 + 1 & 3; while (1) { - if (i1 >>> 0 >= i3 >>> 0) break; - if ((HEAP8[i1 >> 0] | 0) != i4 << 24 >> 24) break; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE23__append_forward_unsafeIPcEERS5_T_S9_(i8, i1, i2) | 0; - } - i1 = HEAP32[i11 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i11 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i11 >> 2] | 0) == 0; - break; - } - } else i2 = 1; while (0); - do if (i10) { - i1 = HEAP32[i9 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i9 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i10 >> 2] | 0) + 36 >> 2] & 127](i9) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i15 = 27; - break; - } else { - HEAP32[i13 >> 2] = 0; - i15 = 25; - break; - } - } else i15 = 25; while (0); - if ((i15 | 0) == 25 ? i2 : 0) i15 = 27; - if ((i15 | 0) == 27) HEAP32[i14 >> 2] = HEAP32[i14 >> 2] | 2; - i2 = HEAP32[i11 >> 2] | 0; - __ZNSt3__26localeD2Ev(i12); - i1 = HEAP32[i16 >> 2] | 0; - HEAP32[i16 >> 2] = 0; - if (i1 | 0) FUNCTION_TABLE_vi[HEAP32[i16 + 4 >> 2] & 255](i1); - STACKTOP = i17; - return i2 | 0; -} - -function __ZNSt3__213unordered_mapIiNS_6vectorIiNS_9allocatorIiEEEENS_4hashIiEENS_8equal_toIiEENS2_INS_4pairIKiS4_EEEEEixERSA_(i15, i1) { - i15 = i15 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, d4 = 0.0, d5 = 0.0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i16 = i17 + 4 | 0; - i9 = i17; - i10 = i17 + 16 | 0; - HEAP32[i9 >> 2] = i1; - i14 = HEAP32[i1 >> 2] | 0; - i12 = i15 + 4 | 0; - i6 = HEAP32[i12 >> 2] | 0; - i13 = (i6 | 0) == 0; - L1 : do if (!i13) { - i8 = i6 + -1 | 0; - i3 = (i8 & i6 | 0) == 0; - if (!i3) if (i14 >>> 0 < i6 >>> 0) i7 = i14; else i7 = (i14 >>> 0) % (i6 >>> 0) | 0; else i7 = i8 & i14; - i1 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i7 << 2) >> 2] | 0; - if (!i1) { - i1 = i7; - i11 = 16; - } else do { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) { - i1 = i7; - i11 = 16; - break L1; - } - i2 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 | 0) != (i14 | 0)) { - if (!i3) { - if (i2 >>> 0 >= i6 >>> 0) i2 = (i2 >>> 0) % (i6 >>> 0) | 0; - } else i2 = i2 & i8; - if ((i2 | 0) != (i7 | 0)) { - i1 = i7; - i11 = 16; - break L1; - } - } - } while ((HEAP32[i1 + 8 >> 2] | 0) != (i14 | 0)); - } else { - i1 = 0; - i11 = 16; - } while (0); - if ((i11 | 0) == 16) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSL_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS6_PvEENS_22__hash_node_destructorINS3_IST_EEEEEEmOT_DpOT0_(i16, i15, i14, 58356, i9, i10); - i7 = i15 + 12 | 0; - d4 = +(((HEAP32[i7 >> 2] | 0) + 1 | 0) >>> 0); - d5 = +HEAPF32[i15 + 16 >> 2]; - do if (i13 | d5 * +(i6 >>> 0) < d4) { - i1 = i6 << 1 | (i6 >>> 0 < 3 | (i6 + -1 & i6 | 0) != 0) & 1; - i2 = ~~+Math_ceil(+(d4 / d5)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE6rehashEm(i15, i1 >>> 0 < i2 >>> 0 ? i2 : i1); - i1 = HEAP32[i12 >> 2] | 0; - i2 = i1 + -1 | 0; - if (!(i2 & i1)) { - i6 = i1; - i1 = i2 & i14; - break; + if (($8 | 0) >= ($12 | 0)) { + $14 = HEAP32[($9 << 2) + $13 >> 2]; + $2 = $12; + while (1) { + $3 = $2; + label$53: { + if (($5 | 0) < ($7 | 0)) { + break label$53; + } + $2 = (($3 << 6) + $14 | 0) + ($7 << 1) | 0; + $10 = 0; + $0 = $7; + if ($6) { + while (1) { + $0 = $0 + 1 | 0; + $4 = (HEAPU16[$2 >> 1] != 0) + $4 | 0; + $2 = $2 + 2 | 0; + $10 = $10 + 1 | 0; + if (($10 | 0) != ($6 | 0)) { + continue; + } + break; + } + } + if ($15 >>> 0 < 3) { + break label$53; + } + while (1) { + $4 = ((((HEAPU16[$2 >> 1] != 0) + $4 | 0) + (HEAPU16[$2 + 2 >> 1] != 0) | 0) + (HEAPU16[$2 + 4 >> 1] != 0) | 0) + (HEAPU16[$2 + 6 >> 1] != 0) | 0; + $2 = $2 + 8 | 0; + $10 = $0 + 3 | 0; + $0 = $0 + 4 | 0; + if (($5 | 0) != ($10 | 0)) { + continue; + } + break; + } + } + $2 = $3 + 1 | 0; + if (($3 | 0) != ($8 | 0)) { + continue; + } + break; + } } - if (i14 >>> 0 < i1 >>> 0) { - i6 = i1; - i1 = i14; - } else { - i6 = i1; - i1 = (i14 >>> 0) % (i1 >>> 0) | 0; - } - } while (0); - i2 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] | 0; - if (!i2) { - i3 = i15 + 8 | 0; - HEAP32[HEAP32[i16 >> 2] >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i16 >> 2]; - HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] = i3; - i3 = HEAP32[i16 >> 2] | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) i1 = i16; else { - i1 = HEAP32[i1 + 4 >> 2] | 0; - i2 = i6 + -1 | 0; - if (i2 & i6) { - if (i1 >>> 0 >= i6 >>> 0) i1 = (i1 >>> 0) % (i6 >>> 0) | 0; - } else i1 = i1 & i2; - HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] = i3; - i1 = i16; + $2 = ($9 | 0) != ($11 | 0); + $9 = $9 + 1 | 0; + if ($2) { + continue; } - } else { - HEAP32[HEAP32[i16 >> 2] >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i16 >> 2]; - i1 = i16; - } - i16 = HEAP32[i1 >> 2] | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - HEAP32[i1 >> 2] = 0; - i1 = i16; - } - STACKTOP = i17; - return i1 + 12 | 0; -} - -function ___get_locale(i12, i1) { - i12 = i12 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 272 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(272); - i10 = i13; - i11 = i13 + 256 | 0; - do if (!(HEAP8[i1 >> 0] | 0)) { - i1 = _getenv(46164) | 0; - if (i1 | 0 ? HEAP8[i1 >> 0] | 0 : 0) break; - i1 = _getenv(6400 + (i12 * 12 | 0) | 0) | 0; - if (i1 | 0 ? HEAP8[i1 >> 0] | 0 : 0) break; - i1 = _getenv(46171) | 0; - if (i1 | 0 ? HEAP8[i1 >> 0] | 0 : 0) break; - i1 = 46176; - } while (0); - i2 = 0; - L13 : while (1) { - switch (HEAP8[i1 + i2 >> 0] | 0) { - case 47: - case 0: - break L13; - default: - {} - } - i2 = i2 + 1 | 0; - if (i2 >>> 0 >= 15) { - i2 = 15; break; } } - i3 = HEAP8[i1 >> 0] | 0; - if (i3 << 24 >> 24 != 46 ? (HEAP8[i1 + i2 >> 0] | 0) == 0 : 0) if (i3 << 24 >> 24 == 67) i9 = 15; else { - i8 = i1; - i9 = 16; - } else { - i1 = 46176; - i9 = 15; - } - if ((i9 | 0) == 15) if (!(HEAP8[i1 + 1 >> 0] | 0)) i9 = 18; else { - i8 = i1; - i9 = 16; - } - L22 : do if ((i9 | 0) == 16) if ((_strcmp(i8, 46176) | 0) != 0 ? (_strcmp(i8, 46184) | 0) != 0 : 0) { - i1 = HEAP32[14085] | 0; - if (i1 | 0) do { - if (!(_strcmp(i8, i1 + 8 | 0) | 0)) break L22; - i1 = HEAP32[i1 + 24 >> 2] | 0; - } while ((i1 | 0) != 0); - ___lock(56344); - i1 = HEAP32[14085] | 0; - L32 : do if (i1 | 0) { - while (1) { - if (!(_strcmp(i8, i1 + 8 | 0) | 0)) break; - i1 = HEAP32[i1 + 24 >> 2] | 0; - if (!i1) break L32; - } - ___unlock(56344); - break L22; - } while (0); - L39 : do if (((HEAP32[14058] | 0) == 0 ? (i4 = _getenv(46190) | 0, (i4 | 0) != 0) : 0) ? (HEAP8[i4 >> 0] | 0) != 0 : 0) { - i6 = 254 - i2 | 0; - i7 = i2 + 1 | 0; - i3 = i4; + HEAP32[$1 + 28 >> 2] = $4; +} + +function __floatscan($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $7 = __stack_pointer - 48 | 0; + __stack_pointer = $7; + label$1: { + if ($2 >>> 0 <= 2) { + $6 = $1; + $2 = $2 << 2; + $9 = HEAP32[$2 + 52268 >> 2]; + $13 = HEAP32[$2 + 52256 >> 2]; while (1) { - i5 = ___strchrnul(i3, 58) | 0; - i1 = HEAP8[i5 >> 0] | 0; - i4 = i5 - i3 + ((i1 << 24 >> 24 != 0) << 31 >> 31) | 0; - if (i4 >>> 0 < i6 >>> 0) { - _memcpy(i10 | 0, i3 | 0, i4 | 0) | 0; - i3 = i10 + i4 | 0; - HEAP8[i3 >> 0] = 47; - _memcpy(i3 + 1 | 0, i8 | 0, i2 | 0) | 0; - HEAP8[i10 + (i7 + i4) >> 0] = 0; - i3 = ___map_file(i10 | 0, i11 | 0) | 0; - if (i3 | 0) break; - i1 = HEAP8[i5 >> 0] | 0; - } - i3 = i5 + (i1 << 24 >> 24 != 0 & 1) | 0; - if (!(HEAP8[i3 >> 0] | 0)) { - i9 = 41; - break L39; - } - } - i1 = _malloc(28) | 0; - if (!i1) { - ___munmap(i3, HEAP32[i11 >> 2] | 0) | 0; - i9 = 41; - break; - } else { - HEAP32[i1 >> 2] = i3; - HEAP32[i1 + 4 >> 2] = HEAP32[i11 >> 2]; - i11 = i1 + 8 | 0; - _memcpy(i11 | 0, i8 | 0, i2 | 0) | 0; - HEAP8[i11 + i2 >> 0] = 0; - HEAP32[i1 + 24 >> 2] = HEAP32[14085]; - HEAP32[14085] = i1; - break; - } - } else i9 = 41; while (0); - if ((i9 | 0) == 41) { - i1 = _malloc(28) | 0; - if (i1) { - HEAP32[i1 >> 2] = HEAP32[3440]; - HEAP32[i1 + 4 >> 2] = HEAP32[3441]; - i11 = i1 + 8 | 0; - _memcpy(i11 | 0, i8 | 0, i2 | 0) | 0; - HEAP8[i11 + i2 >> 0] = 0; - HEAP32[i1 + 24 >> 2] = HEAP32[14085]; - HEAP32[14085] = i1; - } - } - ___unlock(56344); - i1 = (i12 | 0) == 0 & (i1 | 0) == 0 ? 13760 : i1; - } else { - i1 = i8; - i9 = 18; - } while (0); - do if ((i9 | 0) == 18) { - if ((i12 | 0) == 0 ? (HEAP8[i1 + 1 >> 0] | 0) == 46 : 0) { - i1 = 13760; - break; - } - i1 = 0; - } while (0); - STACKTOP = i13; - return i1 | 0; -} - -function __ZNSt3__213unordered_mapIiP14AR2SurfaceSetTNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS2_EEEEEixERS9_(i15, i1) { - i15 = i15 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, d4 = 0.0, d5 = 0.0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i16 = i17 + 4 | 0; - i9 = i17; - i10 = i17 + 16 | 0; - HEAP32[i9 >> 2] = i1; - i14 = HEAP32[i1 >> 2] | 0; - i12 = i15 + 4 | 0; - i6 = HEAP32[i12 >> 2] | 0; - i13 = (i6 | 0) == 0; - L1 : do if (!i13) { - i8 = i6 + -1 | 0; - i3 = (i8 & i6 | 0) == 0; - if (!i3) if (i14 >>> 0 < i6 >>> 0) i7 = i14; else i7 = (i14 >>> 0) % (i6 >>> 0) | 0; else i7 = i8 & i14; - i1 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i7 << 2) >> 2] | 0; - if (!i1) { - i1 = i7; - i11 = 16; - } else do { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) { - i1 = i7; - i11 = 16; - break L1; - } - i2 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 | 0) != (i14 | 0)) { - if (!i3) { - if (i2 >>> 0 >= i6 >>> 0) i2 = (i2 >>> 0) % (i6 >>> 0) | 0; - } else i2 = i2 & i8; - if ((i2 | 0) != (i7 | 0)) { - i1 = i7; - i11 = 16; - break L1; - } - } - } while ((HEAP32[i1 + 8 >> 2] | 0) != (i14 | 0)); - } else { - i1 = 0; - i11 = 16; - } while (0); - if ((i11 | 0) == 16) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSK_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS4_PvEENS_22__hash_node_destructorINSD_ISS_EEEEEEmOT_DpOT0_(i16, i15, i14, 58357, i9, i10); - i7 = i15 + 12 | 0; - d4 = +(((HEAP32[i7 >> 2] | 0) + 1 | 0) >>> 0); - d5 = +HEAPF32[i15 + 16 >> 2]; - do if (i13 | d5 * +(i6 >>> 0) < d4) { - i1 = i6 << 1 | (i6 >>> 0 < 3 | (i6 + -1 & i6 | 0) != 0) & 1; - i2 = ~~+Math_ceil(+(d4 / d5)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE6rehashEm(i15, i1 >>> 0 < i2 >>> 0 ? i2 : i1); - i1 = HEAP32[i12 >> 2] | 0; - i2 = i1 + -1 | 0; - if (!(i2 & i1)) { - i6 = i1; - i1 = i2 & i14; + $2 = HEAP32[$1 + 4 >> 2]; + label$4: { + if (($2 | 0) != HEAP32[$1 + 104 >> 2]) { + HEAP32[$6 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$4; + } + $2 = __shgetc($1); + } + if (isspace($2)) { + continue; + } break; } - if (i14 >>> 0 < i1 >>> 0) { - i6 = i1; - i1 = i14; - } else { - i6 = i1; - i1 = (i14 >>> 0) % (i1 >>> 0) | 0; - } - } while (0); - i2 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] | 0; - if (!i2) { - i3 = i15 + 8 | 0; - HEAP32[HEAP32[i16 >> 2] >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i16 >> 2]; - HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] = i3; - i3 = HEAP32[i16 >> 2] | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) i1 = i16; else { - i1 = HEAP32[i1 + 4 >> 2] | 0; - i2 = i6 + -1 | 0; - if (i2 & i6) { - if (i1 >>> 0 >= i6 >>> 0) i1 = (i1 >>> 0) % (i6 >>> 0) | 0; - } else i1 = i1 & i2; - HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] = i3; - i1 = i16; - } - } else { - HEAP32[HEAP32[i16 >> 2] >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i16 >> 2]; - i1 = i16; - } - i16 = HEAP32[i1 >> 2] | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - HEAP32[i1 >> 2] = 0; - i1 = i16; - } - STACKTOP = i17; - return i1 + 12 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_121parse_integer_literalINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i1, i2, i10, i7) { - i1 = i1 | 0; - i2 = i2 | 0; - i10 = i10 | 0; - i7 = i7 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i4 = i12 + 24 | 0; - i5 = i12; - i6 = i12 + 12 | 0; - i11 = __ZN10__cxxabiv112_GLOBAL__N_112parse_numberEPKcS2_(i1, i2) | 0; - if (!((i11 | 0) == (i1 | 0) | (i11 | 0) == (i2 | 0)) ? (HEAP8[i11 >> 0] | 0) == 69 : 0) { - i8 = i10 + 11 | 0; - i3 = HEAP8[i8 >> 0] | 0; - i9 = i10 + 4 | 0; - do if ((i3 << 24 >> 24 < 0 ? HEAP32[i9 >> 2] | 0 : i3 & 255) >>> 0 <= 3) { - i2 = i7 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i7 + 8 >> 2] | 0) >>> 0) { - HEAP32[i3 >> 2] = 0; - HEAP32[i3 + 4 >> 2] = 0; - HEAP32[i3 + 8 >> 2] = 0; - HEAP32[i3 + 12 >> 2] = 0; - HEAP32[i3 + 16 >> 2] = 0; - HEAP32[i3 + 20 >> 2] = 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2Ev(i3); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - break; - } else { - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE24__emplace_back_slow_pathIJEEEvDpOT_(i7); - break; + $8 = 1; + label$6: { + label$7: { + switch ($2 - 43 | 0) { + case 0: + case 2: + break label$7; + + default: + break label$6; + } + } + $8 = ($2 | 0) == 45 ? -1 : 1; + $2 = HEAP32[$1 + 4 >> 2]; + if (($2 | 0) != HEAP32[$1 + 104 >> 2]) { + HEAP32[$6 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$6; + } + $2 = __shgetc($1); } - } else { - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i6, 49669, i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i6, 49667) | 0; - HEAP32[i5 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i5 + 4 >> 2] = HEAP32[i6 + 4 >> 2]; - HEAP32[i5 + 8 >> 2] = HEAP32[i6 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i6 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i4, i5); - i2 = i7 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i7 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i4); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i7, i4); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i4); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i5); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - } while (0); - i3 = i7 + 4 | 0; - if ((HEAP8[i1 >> 0] | 0) == 110) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9push_backEc((HEAP32[i3 >> 2] | 0) + -24 | 0, 45); - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE23__append_forward_unsafeIPKcEERS7_T_SC_((HEAP32[i3 >> 2] | 0) + -24 | 0, i1, i11); - i1 = HEAP8[i8 >> 0] | 0; - i2 = i1 << 24 >> 24 < 0; - i1 = i2 ? HEAP32[i9 >> 2] | 0 : i1 & 255; - if (i1 >>> 0 < 4) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i3 >> 2] | 0) + -24 | 0, i2 ? HEAP32[i10 >> 2] | 0 : i10, i1) | 0; - i1 = i11 + 1 | 0; - } - STACKTOP = i12; - return i1 | 0; -} - -function __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(i15, i1) { - i15 = i15 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, d4 = 0.0, d5 = 0.0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i16 = i17 + 4 | 0; - i9 = i17; - i10 = i17 + 16 | 0; - HEAP32[i9 >> 2] = i1; - i14 = HEAP32[i1 >> 2] | 0; - i12 = i15 + 4 | 0; - i6 = HEAP32[i12 >> 2] | 0; - i13 = (i6 | 0) == 0; - L1 : do if (!i13) { - i8 = i6 + -1 | 0; - i3 = (i8 & i6 | 0) == 0; - if (!i3) if (i14 >>> 0 < i6 >>> 0) i7 = i14; else i7 = (i14 >>> 0) % (i6 >>> 0) | 0; else i7 = i8 & i14; - i1 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i7 << 2) >> 2] | 0; - if (!i1) { - i1 = i7; - i11 = 16; - } else do { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) { - i1 = i7; - i11 = 16; - break L1; - } - i2 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 | 0) != (i14 | 0)) { - if (!i3) { - if (i2 >>> 0 >= i6 >>> 0) i2 = (i2 >>> 0) % (i6 >>> 0) | 0; - } else i2 = i2 & i8; - if ((i2 | 0) != (i7 | 0)) { - i1 = i7; - i11 = 16; - break L1; - } - } - } while ((HEAP32[i1 + 8 >> 2] | 0) != (i14 | 0)); - } else { - i1 = 0; - i11 = 16; - } while (0); - if ((i11 | 0) == 16) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSJ_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS3_PvEENS_22__hash_node_destructorINSC_ISR_EEEEEEmOT_DpOT0_(i16, i15, i14, 58357, i9, i10); - i7 = i15 + 12 | 0; - d4 = +(((HEAP32[i7 >> 2] | 0) + 1 | 0) >>> 0); - d5 = +HEAPF32[i15 + 16 >> 2]; - do if (i13 | d5 * +(i6 >>> 0) < d4) { - i1 = i6 << 1 | (i6 >>> 0 < 3 | (i6 + -1 & i6 | 0) != 0) & 1; - i2 = ~~+Math_ceil(+(d4 / d5)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6rehashEm(i15, i1 >>> 0 < i2 >>> 0 ? i2 : i1); - i1 = HEAP32[i12 >> 2] | 0; - i2 = i1 + -1 | 0; - if (!(i2 & i1)) { - i6 = i1; - i1 = i2 & i14; - break; - } - if (i14 >>> 0 < i1 >>> 0) { - i6 = i1; - i1 = i14; - } else { - i6 = i1; - i1 = (i14 >>> 0) % (i1 >>> 0) | 0; - } - } while (0); - i2 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] | 0; - if (!i2) { - i3 = i15 + 8 | 0; - HEAP32[HEAP32[i16 >> 2] >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i16 >> 2]; - HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] = i3; - i3 = HEAP32[i16 >> 2] | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) i1 = i16; else { - i1 = HEAP32[i1 + 4 >> 2] | 0; - i2 = i6 + -1 | 0; - if (i2 & i6) { - if (i1 >>> 0 >= i6 >>> 0) i1 = (i1 >>> 0) % (i6 >>> 0) | 0; - } else i1 = i1 & i2; - HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] = i3; - i1 = i16; - } - } else { - HEAP32[HEAP32[i16 >> 2] >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i16 >> 2]; - i1 = i16; - } - i16 = HEAP32[i1 >> 2] | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - HEAP32[i1 >> 2] = 0; - i1 = i16; - } - STACKTOP = i17; - return i1 + 16 | 0; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIwEE(i1, i7, i8, i9, i4) { - i1 = i1 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0; - i1 = HEAP32[i7 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i7 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i7 >> 2] | 0) == 0; - break; - } - } else i3 = 1; while (0); - i2 = HEAP32[i8 >> 2] | 0; - do if (i2) { - i1 = HEAP32[i2 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i3) { - i5 = i2; - i6 = 17; - break; - } else { - i6 = 16; - break; - } else { - HEAP32[i8 >> 2] = 0; - i6 = 14; - break; - } - } else i6 = 14; while (0); - if ((i6 | 0) == 14) if (i3) i6 = 16; else { - i5 = 0; - i6 = 17; - } - L22 : do if ((i6 | 0) == 16) HEAP32[i9 >> 2] = HEAP32[i9 >> 2] | 6; else if ((i6 | 0) == 17) { - i1 = HEAP32[i7 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i4 >> 2] | 0) + 52 >> 2] & 63](i4, i1, 0) | 0) << 24 >> 24 != 37) { - HEAP32[i9 >> 2] = HEAP32[i9 >> 2] | 4; - break; - } - i1 = HEAP32[i7 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - } - i1 = HEAP32[i7 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i7 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i7 >> 2] | 0) == 0; - break; - } - } else i2 = 1; while (0); - do if (i5) { - i1 = HEAP32[i5 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i5 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 36 >> 2] & 127](i5) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break L22; else break; else { - HEAP32[i8 >> 2] = 0; - i6 = 38; - break; - } - } else i6 = 38; while (0); - if ((i6 | 0) == 38 ? !i2 : 0) break; - HEAP32[i9 >> 2] = HEAP32[i9 >> 2] | 2; - } while (0); - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIcEE(i1, i7, i8, i9, i4) { - i1 = i1 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0; - i1 = HEAP32[i7 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i7 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i7 >> 2] | 0) == 0; - break; - } - } else i3 = 1; while (0); - i2 = HEAP32[i8 >> 2] | 0; - do if (i2) { - i1 = HEAP32[i2 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i3) { - i5 = i2; - i6 = 17; - break; - } else { - i6 = 16; - break; - } else { - HEAP32[i8 >> 2] = 0; - i6 = 14; - break; - } - } else i6 = 14; while (0); - if ((i6 | 0) == 14) if (i3) i6 = 16; else { - i5 = 0; - i6 = 17; - } - L22 : do if ((i6 | 0) == 16) HEAP32[i9 >> 2] = HEAP32[i9 >> 2] | 6; else if ((i6 | 0) == 17) { - i1 = HEAP32[i7 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i4 >> 2] | 0) + 36 >> 2] & 63](i4, i1 & 255, 0) | 0) << 24 >> 24 != 37) { - HEAP32[i9 >> 2] = HEAP32[i9 >> 2] | 4; - break; - } - i1 = HEAP32[i7 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - i1 = HEAP32[i7 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i7 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i7 >> 2] | 0) == 0; - break; - } - } else i2 = 1; while (0); - do if (i5) { - i1 = HEAP32[i5 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i5 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 36 >> 2] & 127](i5) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break L22; else break; else { - HEAP32[i8 >> 2] = 0; - i6 = 38; - break; - } - } else i6 = 38; while (0); - if ((i6 | 0) == 38 ? !i2 : 0) break; - HEAP32[i9 >> 2] = HEAP32[i9 >> 2] | 2; - } while (0); - return; -} - -function __ZNSt3__213unordered_mapIi7ARParamNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(i15, i1) { - i15 = i15 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, d4 = 0.0, d5 = 0.0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i16 = i17 + 4 | 0; - i9 = i17; - i10 = i17 + 16 | 0; - HEAP32[i9 >> 2] = i1; - i14 = HEAP32[i1 >> 2] | 0; - i12 = i15 + 4 | 0; - i6 = HEAP32[i12 >> 2] | 0; - i13 = (i6 | 0) == 0; - L1 : do if (!i13) { - i8 = i6 + -1 | 0; - i3 = (i8 & i6 | 0) == 0; - if (!i3) if (i14 >>> 0 < i6 >>> 0) i7 = i14; else i7 = (i14 >>> 0) % (i6 >>> 0) | 0; else i7 = i8 & i14; - i1 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i7 << 2) >> 2] | 0; - if (!i1) { - i1 = i7; - i11 = 16; - } else do { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) { - i1 = i7; - i11 = 16; - break L1; - } - i2 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 | 0) != (i14 | 0)) { - if (!i3) { - if (i2 >>> 0 >= i6 >>> 0) i2 = (i2 >>> 0) % (i6 >>> 0) | 0; - } else i2 = i2 & i8; - if ((i2 | 0) != (i7 | 0)) { - i1 = i7; - i11 = 16; - break L1; - } - } - } while ((HEAP32[i1 + 8 >> 2] | 0) != (i14 | 0)); - } else { - i1 = 0; - i11 = 16; - } while (0); - if ((i11 | 0) == 16) { - __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSJ_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS3_PvEENS_22__hash_node_destructorINSC_ISR_EEEEEEmOT_DpOT0_(i16, i15, i14, 58357, i9, i10); - i7 = i15 + 12 | 0; - d4 = +(((HEAP32[i7 >> 2] | 0) + 1 | 0) >>> 0); - d5 = +HEAPF32[i15 + 16 >> 2]; - do if (i13 | d5 * +(i6 >>> 0) < d4) { - i1 = i6 << 1 | (i6 >>> 0 < 3 | (i6 + -1 & i6 | 0) != 0) & 1; - i2 = ~~+Math_ceil(+(d4 / d5)) >>> 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6rehashEm(i15, i1 >>> 0 < i2 >>> 0 ? i2 : i1); - i1 = HEAP32[i12 >> 2] | 0; - i2 = i1 + -1 | 0; - if (!(i2 & i1)) { - i6 = i1; - i1 = i2 & i14; - break; - } - if (i14 >>> 0 < i1 >>> 0) { - i6 = i1; - i1 = i14; - } else { - i6 = i1; - i1 = (i14 >>> 0) % (i1 >>> 0) | 0; - } - } while (0); - i2 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] | 0; - if (!i2) { - i3 = i15 + 8 | 0; - HEAP32[HEAP32[i16 >> 2] >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i16 >> 2]; - HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] = i3; - i3 = HEAP32[i16 >> 2] | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) i1 = i16; else { - i1 = HEAP32[i1 + 4 >> 2] | 0; - i2 = i6 + -1 | 0; - if (i2 & i6) { - if (i1 >>> 0 >= i6 >>> 0) i1 = (i1 >>> 0) % (i6 >>> 0) | 0; - } else i1 = i1 & i2; - HEAP32[(HEAP32[i15 >> 2] | 0) + (i1 << 2) >> 2] = i3; - i1 = i16; - } - } else { - HEAP32[HEAP32[i16 >> 2] >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = HEAP32[i16 >> 2]; - i1 = i16; - } - i16 = HEAP32[i1 >> 2] | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - HEAP32[i1 >> 2] = 0; - i1 = i16; - } - STACKTOP = i17; - return i1 + 16 | 0; -} - -function __ZNK6vision21HoughSimilarityVoting17mapCorrespondenceERfS1_S1_S1_ffffffff(i4, i5, i10, i11, i12, d13, d14, d2, d15, d16, d6, d1, d7) { - i4 = i4 | 0; - i5 = i5 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - d13 = +d13; - d14 = +d14; - d2 = +d2; - d15 = +d15; - d16 = +d16; - d6 = +d6; - d1 = +d1; - d7 = +d7; - var i3 = 0, i8 = 0, i9 = 0, i17 = 0, i18 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i8 = i17 + 16 | 0; - i9 = i17; - d1 = d2 - d1; - HEAPF32[i11 >> 2] = d1; - d2 = d1; - if (!(d2 <= -3.141592653589793)) { - if (d2 > 3.141592653589793) { - d1 = d2 + -6.283185307179586; - i3 = 5; - } - } else { - d1 = d2 + 6.283185307179586; - i3 = 5; - } - if ((i3 | 0) == 5) HEAPF32[i11 >> 2] = d1; - if (!(d1 > -3.141592653589793)) { - i3 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30684) | 0, 30431) | 0, 33528) | 0, 468) | 0, 33535) | 0, 30719) | 0; - __ZNKSt3__28ios_base6getlocEv(i8, i3 + (HEAP32[(HEAP32[i3 >> 2] | 0) + -12 >> 2] | 0) | 0); - i18 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57916) | 0; - i18 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i18 >> 2] | 0) + 28 >> 2] & 63](i18, 10) | 0; - __ZNSt3__26localeD2Ev(i8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i3, i18) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i3) | 0; - _abort(); - } - if (!(d1 <= 3.141592653589793)) { - i18 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30738) | 0, 30431) | 0, 33528) | 0, 469) | 0, 33535) | 0, 30719) | 0; - __ZNKSt3__28ios_base6getlocEv(i8, i18 + (HEAP32[(HEAP32[i18 >> 2] | 0) + -12 >> 2] | 0) | 0); - i17 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57916) | 0; - i17 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i17 >> 2] | 0) + 28 >> 2] & 63](i17, 10) | 0; - __ZNSt3__26localeD2Ev(i8); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i18, i17) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i18) | 0; - _abort(); - } else { - d1 = +__ZN6vision12SafeDivisionIfEET_S1_S1_(d15, d7); - HEAPF32[i12 >> 2] = d1; - __ZN6vision13Similarity2x2IfEEvPT_S1_S1_(i9, +HEAPF32[i11 >> 2], d1); - d1 = +Math_log(+(+HEAPF32[i12 >> 2])); - HEAPF32[i12 >> 2] = d1 * +HEAPF32[i4 + 48 >> 2]; - d1 = +HEAPF32[i9 >> 2]; - d2 = +HEAPF32[i9 + 4 >> 2]; - d7 = +HEAPF32[i9 + 8 >> 2]; - d15 = +HEAPF32[i9 + 12 >> 2]; - i12 = i4 + 8 | 0; - i18 = i4 + 12 | 0; - HEAPF32[i5 >> 2] = d13 - (d1 * d16 + d2 * d6) + (d1 * +HEAPF32[i12 >> 2] + d2 * +HEAPF32[i18 >> 2]); - HEAPF32[i10 >> 2] = d14 - (d7 * d16 + d15 * d6) + (d7 * +HEAPF32[i12 >> 2] + d15 * +HEAPF32[i18 >> 2]); - STACKTOP = i17; - return; - } -} + label$9: { + label$10: { + while (1) { + if (HEAP8[$4 + 27966 | 0] == ($2 | 32)) { + label$13: { + if ($4 >>> 0 > 6) { + break label$13; + } + $2 = HEAP32[$1 + 4 >> 2]; + if (($2 | 0) != HEAP32[$1 + 104 >> 2]) { + HEAP32[$6 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$13; + } + $2 = __shgetc($1); + } + $4 = $4 + 1 | 0; + if (($4 | 0) != 8) { + continue; + } + break label$10; + } + break; + } + if (($4 | 0) != 3) { + if (($4 | 0) == 8) { + break label$10; + } + if (!$3 | $4 >>> 0 < 4) { + break label$9; + } + if (($4 | 0) == 8) { + break label$10; + } + } + $5 = HEAP32[$1 + 116 >> 2]; + $10 = $5; + $2 = HEAP32[$1 + 112 >> 2]; + if (($5 | 0) > 0 | ($5 | 0) >= 0) { + HEAP32[$6 + 4 >> 2] = HEAP32[$6 + 4 >> 2] - 1; + } + if (!$3 | $4 >>> 0 < 4) { + break label$10; + } + $5 = $10; + $1 = ($5 | 0) < 0; + while (1) { + if (!$1) { + HEAP32[$6 + 4 >> 2] = HEAP32[$6 + 4 >> 2] - 1; + } + $4 = $4 - 1 | 0; + if ($4 >>> 0 > 3) { + continue; + } + break; + } + } + __extendsftf2($7, Math_fround(Math_fround($8 | 0) * Math_fround(infinity))); + $11 = HEAP32[$7 + 8 >> 2]; + $5 = HEAP32[$7 + 12 >> 2]; + $8 = $5; + $5 = HEAP32[$7 >> 2]; + $12 = $5; + $10 = HEAP32[$7 + 4 >> 2]; + break label$1; + } + label$19: { + label$20: { + label$21: { + if ($4) { + break label$21; + } + $4 = 0; + while (1) { + if (HEAP8[$4 + 31155 | 0] != ($2 | 32)) { + break label$21; + } + label$23: { + if ($4 >>> 0 > 1) { + break label$23; + } + $2 = HEAP32[$1 + 4 >> 2]; + if (($2 | 0) != HEAP32[$1 + 104 >> 2]) { + HEAP32[$6 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$23; + } + $2 = __shgetc($1); + } + $4 = $4 + 1 | 0; + if (($4 | 0) != 3) { + continue; + } + break; + } + break label$20; + } + label$25: { + switch ($4 | 0) { + case 0: + label$27: { + if (($2 | 0) != 48) { + break label$27; + } + $4 = HEAP32[$1 + 4 >> 2]; + label$28: { + if (($4 | 0) != HEAP32[$1 + 104 >> 2]) { + HEAP32[$6 + 4 >> 2] = $4 + 1; + $4 = HEAPU8[$4 | 0]; + break label$28; + } + $4 = __shgetc($1); + } + if (($4 & -33) == 88) { + hexfloat($7 + 16 | 0, $1, $13, $9, $8, $3); + $11 = HEAP32[$7 + 24 >> 2]; + $5 = HEAP32[$7 + 28 >> 2]; + $8 = $5; + $5 = HEAP32[$7 + 16 >> 2]; + $12 = $5; + $10 = HEAP32[$7 + 20 >> 2]; + break label$1; + } + $5 = HEAP32[$1 + 116 >> 2]; + if (($5 | 0) < 0) { + break label$27; + } + HEAP32[$6 + 4 >> 2] = HEAP32[$6 + 4 >> 2] - 1; + } + decfloat($7 + 32 | 0, $1, $2, $13, $9, $8, $3); + $2 = HEAP32[$7 + 40 >> 2]; + $11 = $2; + $5 = HEAP32[$7 + 44 >> 2]; + $8 = $5; + $5 = HEAP32[$7 + 32 >> 2]; + $12 = $5; + $2 = HEAP32[$7 + 36 >> 2]; + $10 = $2; + break label$1; + + case 3: + break label$20; -function _jpeg_make_d_derived_tbl(i16, i1, i2, i3) { - i16 = i16 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 1312 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1312); - i7 = i17 + 1040 | 0; - i15 = i17; - if (i2 >>> 0 > 3) { - i14 = HEAP32[i16 >> 2] | 0; - HEAP32[i14 + 20 >> 2] = 50; - HEAP32[i14 + 24 >> 2] = i2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i16 >> 2] >> 2] & 255](i16); - } - i13 = (i1 | 0) != 0; - i14 = HEAP32[(i13 ? i16 + 180 + (i2 << 2) | 0 : i16 + 196 + (i2 << 2) | 0) >> 2] | 0; - if (!i14) { - i12 = HEAP32[i16 >> 2] | 0; - HEAP32[i12 + 20 >> 2] = 50; - HEAP32[i12 + 24 >> 2] = i2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i16 >> 2] >> 2] & 255](i16); - } - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) { - i1 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i16 + 4 >> 2] >> 2] & 63](i16, 1, 1424) | 0; - HEAP32[i3 >> 2] = i1; - i12 = i16; - } else i12 = i16; - HEAP32[i1 + 140 >> 2] = i14; - i11 = 0; - i4 = 1; - while (1) { - if ((i4 | 0) == 17) break; - i2 = HEAPU8[i14 + i4 >> 0] | 0; - i5 = i11 + i2 | 0; - if ((i5 | 0) > 256) { - i10 = HEAP32[i16 >> 2] | 0; - HEAP32[i10 + 20 >> 2] = 8; - FUNCTION_TABLE_vi[HEAP32[i10 >> 2] & 255](i12); - } - i6 = i4 & 255; - i3 = i2; - i2 = i11; - while (1) { - if (!i3) break; - HEAP8[i7 + i2 >> 0] = i6; - i3 = i3 + -1 | 0; - i2 = i2 + 1 | 0; - } - i11 = i5; - i4 = i4 + 1 | 0; - } - HEAP8[i7 + i11 >> 0] = 0; - i4 = HEAP8[i7 >> 0] | 0; - i2 = 0; - i5 = i4 << 24 >> 24; - i3 = 0; - while (1) { - if (!(i4 << 24 >> 24)) break; - while (1) { - if ((i5 | 0) != (i4 << 24 >> 24 | 0)) break; - i4 = i3 + 1 | 0; - HEAP32[i15 + (i3 << 2) >> 2] = i2; - i2 = i2 + 1 | 0; - i3 = i4; - i4 = HEAP8[i7 + i4 >> 0] | 0; - } - if ((i2 | 0) >= (1 << i5 | 0)) { - i10 = HEAP32[i16 >> 2] | 0; - HEAP32[i10 + 20 >> 2] = 8; - FUNCTION_TABLE_vi[HEAP32[i10 >> 2] & 255](i12); - } - i2 = i2 << 1; - i5 = i5 + 1 | 0; - } - i4 = 1; - i2 = 0; - while (1) { - if ((i4 | 0) == 17) break; - i3 = i14 + i4 | 0; - if (!(HEAP8[i3 >> 0] | 0)) i3 = -1; else { - HEAP32[i1 + 72 + (i4 << 2) >> 2] = i2 - (HEAP32[i15 + (i2 << 2) >> 2] | 0); - i3 = i2 + (HEAPU8[i3 >> 0] | 0) | 0; - i2 = i3; - i3 = HEAP32[i15 + (i3 + -1 << 2) >> 2] | 0; - } - HEAP32[i1 + (i4 << 2) >> 2] = i3; - i4 = i4 + 1 | 0; - } - HEAP32[i1 + 68 >> 2] = 1048575; - _memset(i1 + 144 | 0, 0, 1024) | 0; - i7 = 1; - i2 = 0; - while (1) { - if ((i7 | 0) == 9) break; - i8 = i14 + i7 | 0; - i9 = 8 - i7 | 0; - i10 = 1 << i9; - i6 = 1; - while (1) { - if (i6 >>> 0 > (HEAPU8[i8 >> 0] | 0) >>> 0) break; - i5 = i14 + 17 + i2 | 0; - i3 = i10; - i4 = HEAP32[i15 + (i2 << 2) >> 2] << i9; - while (1) { - if ((i3 | 0) <= 0) break; - HEAP32[i1 + 144 + (i4 << 2) >> 2] = i7; - HEAP8[i1 + 1168 + i4 >> 0] = HEAP8[i5 >> 0] | 0; - i3 = i3 + -1 | 0; - i4 = i4 + 1 | 0; - } - i6 = i6 + 1 | 0; - i2 = i2 + 1 | 0; - } - i7 = i7 + 1 | 0; - } - L52 : do if (i13) { - i1 = 0; - while (1) { - if ((i1 | 0) >= (i11 | 0)) break L52; - if ((HEAPU8[i14 + 17 + i1 >> 0] | 0) > 15) { - i15 = HEAP32[i16 >> 2] | 0; - HEAP32[i15 + 20 >> 2] = 8; - FUNCTION_TABLE_vi[HEAP32[i15 >> 2] & 255](i12); - } - i1 = i1 + 1 | 0; - } - } while (0); - STACKTOP = i17; - return; -} - -function __ZNSt3__2L13utf16_to_utf8EPKtS1_RS1_PhS3_RS3_mNS_12codecvt_modeE(i1, i7, i8, i3, i2, i9, i10, i4) { - i1 = i1 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0; - HEAP32[i8 >> 2] = i1; - HEAP32[i9 >> 2] = i3; - if (i4 & 2) if ((i2 - i3 | 0) < 3) i1 = 1; else { - HEAP32[i9 >> 2] = i3 + 1; - HEAP8[i3 >> 0] = -17; - i5 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = -69; - i5 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = -65; - i5 = 4; - } else i5 = 4; - L4 : do if ((i5 | 0) == 4) { - i6 = i7; - i1 = HEAP32[i8 >> 2] | 0; - while (1) { - if (i1 >>> 0 >= i7 >>> 0) { - i1 = 0; - break L4; - } - i3 = HEAP16[i1 >> 1] | 0; - i5 = i3 & 65535; - if (i5 >>> 0 > i10 >>> 0) { - i1 = 2; - break L4; - } - do if ((i3 & 65535) < 128) { - i1 = HEAP32[i9 >> 2] | 0; - if ((i2 - i1 | 0) < 1) { - i1 = 1; - break L4; - } - HEAP32[i9 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i3; - } else { - if ((i3 & 65535) < 2048) { - i1 = HEAP32[i9 >> 2] | 0; - if ((i2 - i1 | 0) < 2) { - i1 = 1; - break L4; - } - HEAP32[i9 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i5 >>> 6 | 192; - i4 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i5 & 63 | 128; - break; + default: + break label$25; + } + } + $2 = HEAP32[$1 + 112 >> 2]; + $5 = HEAP32[$1 + 116 >> 2]; + if (($5 | 0) > 0 | ($5 | 0) >= 0) { + HEAP32[$6 + 4 >> 2] = HEAP32[$6 + 4 >> 2] - 1; + } + break label$19; } - if ((i3 & 65535) < 55296) { - i1 = HEAP32[i9 >> 2] | 0; - if ((i2 - i1 | 0) < 3) { - i1 = 1; - break L4; - } - HEAP32[i9 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i5 >>> 12 | 224; - i4 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i5 >>> 6 & 63 | 128; - i4 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i5 & 63 | 128; - break; + label$32: { + $2 = HEAP32[$1 + 4 >> 2]; + label$33: { + if (($2 | 0) != HEAP32[$1 + 104 >> 2]) { + HEAP32[$6 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$33; + } + $2 = __shgetc($1); + } + if (($2 | 0) == 40) { + $4 = 1; + break label$32; + } + $8 = 2147450880; + $5 = HEAP32[$1 + 116 >> 2]; + if (($5 | 0) < 0) { + break label$1; + } + HEAP32[$6 + 4 >> 2] = HEAP32[$6 + 4 >> 2] - 1; + break label$1; } - if ((i3 & 65535) >= 56320) { - if ((i3 & 65535) < 57344) { - i1 = 2; - break L4; - } - i1 = HEAP32[i9 >> 2] | 0; - if ((i2 - i1 | 0) < 3) { - i1 = 1; - break L4; - } - HEAP32[i9 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i5 >>> 12 | 224; - i4 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i5 >>> 6 & 63 | 128; - i4 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i5 & 63 | 128; + while (1) { + label$37: { + $2 = HEAP32[$1 + 4 >> 2]; + label$39: { + if (($2 | 0) != HEAP32[$1 + 104 >> 2]) { + HEAP32[$6 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$39; + } + $2 = __shgetc($1); + } + $8 = $2 - 65 | 0; + label$38: { + if ($2 - 48 >>> 0 < 10 | $8 >>> 0 < 26) { + break label$38; + } + $8 = $2 - 97 | 0; + if (($2 | 0) == 95) { + break label$38; + } + if ($8 >>> 0 >= 26) { + break label$37; + } + } + $4 = $4 + 1 | 0; + continue; + } break; } - if ((i6 - i1 | 0) < 4) { - i1 = 1; - break L4; - } - i1 = i1 + 2 | 0; - i3 = HEAPU16[i1 >> 1] | 0; - if ((i3 & 64512 | 0) != 56320) { - i1 = 2; - break L4; - } - if ((i2 - (HEAP32[i9 >> 2] | 0) | 0) < 4) { - i1 = 1; - break L4; - } - i4 = i5 & 960; - if (((i4 << 10) + 65536 | i5 << 10 & 64512 | i3 & 1023) >>> 0 > i10 >>> 0) { - i1 = 2; - break L4; - } - HEAP32[i8 >> 2] = i1; - i1 = (i4 >>> 6) + 1 | 0; - i4 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i1 >>> 2 | 240; - i4 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i5 >>> 2 & 15 | i1 << 4 & 48 | 128; - i4 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i5 << 4 & 48 | i3 >>> 6 & 15 | 128; - i5 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = i3 & 63 | 128; - } while (0); - i1 = (HEAP32[i8 >> 2] | 0) + 2 | 0; - HEAP32[i8 >> 2] = i1; - } - } while (0); - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_126parse_base_unresolved_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i5) { - i1 = i1 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i6 = 0, i7 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i7; - L1 : do if ((i4 - i1 | 0) > 1) { - i2 = HEAP8[i1 >> 0] | 0; - switch (i2 << 24 >> 24) { - case 100: - case 111: - { - if ((HEAP8[i1 + 1 >> 0] | 0) == 110) { - i3 = i1 + 2 | 0; - if (i2 << 24 >> 24 != 111) { - i6 = __ZN10__cxxabiv112_GLOBAL__N_121parse_destructor_nameINS0_2DbEEEPKcS4_S4_RT_(i3, i4, i5) | 0; - i1 = (i6 | 0) == (i3 | 0) ? i1 : i6; - break L1; - } - i2 = __ZN10__cxxabiv112_GLOBAL__N_119parse_operator_nameINS0_2DbEEEPKcS4_S4_RT_(i3, i4, i5) | 0; - if ((i2 | 0) == (i3 | 0)) break L1; - i1 = __ZN10__cxxabiv112_GLOBAL__N_119parse_template_argsINS0_2DbEEEPKcS4_S4_RT_(i2, i4, i5) | 0; - if ((i1 | 0) == (i2 | 0)) { - i1 = i2; - break L1; - } - i4 = i5 + 4 | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (((i2 - (HEAP32[i5 >> 2] | 0) | 0) / 24 | 0) >>> 0 < 2) break L1; - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i6, i2 + -24 | 0); - i3 = HEAP32[i4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i5 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i5 * 24 | 0) | 0); - i2 = i5; - } - HEAP32[i4 >> 2] = i3 + -24; - i5 = HEAP8[i6 + 11 >> 0] | 0; - i4 = i5 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i3 + -48 | 0, i4 ? HEAP32[i6 >> 2] | 0 : i6, i4 ? HEAP32[i6 + 4 >> 2] | 0 : i5 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - break L1; + $8 = 2147450880; + if (($2 | 0) == 41) { + break label$1; } - break; - } - default: - {} - } - i2 = __ZN10__cxxabiv112_GLOBAL__N_115parse_simple_idINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i5) | 0; - if ((i2 | 0) == (i1 | 0)) { - i2 = __ZN10__cxxabiv112_GLOBAL__N_119parse_operator_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i4, i5) | 0; - if ((i2 | 0) != (i1 | 0)) { - i1 = __ZN10__cxxabiv112_GLOBAL__N_119parse_template_argsINS0_2DbEEEPKcS4_S4_RT_(i2, i4, i5) | 0; - if ((i1 | 0) != (i2 | 0)) { - i4 = i5 + 4 | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (((i2 - (HEAP32[i5 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i6, i2 + -24 | 0); - i3 = HEAP32[i4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == -1) break; - i5 = i2 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3 + (i5 * 24 | 0) | 0); - i2 = i5; - } - HEAP32[i4 >> 2] = i3 + -24; - i5 = HEAP8[i6 + 11 >> 0] | 0; - i4 = i5 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i3 + -48 | 0, i4 ? HEAP32[i6 >> 2] | 0 : i6, i4 ? HEAP32[i6 + 4 >> 2] | 0 : i5 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - } - } else i1 = i2; - } - } else i1 = i2; - } while (0); - STACKTOP = i7; - return i1 | 0; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIwEE(i1, i5, i6, i7, i4) { - i1 = i1 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i8 = 0; - L1 : while (1) { - i1 = HEAP32[i5 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i5 >> 2] = 0; - i3 = 1; - break; - } else { - i3 = (HEAP32[i5 >> 2] | 0) == 0; - break; - } - } else i3 = 1; while (0); - i2 = HEAP32[i6 >> 2] | 0; - do if (i2) { - i1 = HEAP32[i2 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i2 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 127](i2) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i3) { - i3 = i2; - break; - } else { - i3 = i2; - break L1; - } else { - HEAP32[i6 >> 2] = 0; - i8 = 15; - break; - } - } else i8 = 15; while (0); - if ((i8 | 0) == 15) { - i8 = 0; - if (i3) { - i3 = 0; - break; - } else i3 = 0; - } - i1 = HEAP32[i5 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (!(FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i4 >> 2] | 0) + 12 >> 2] & 63](i4, 8192, i1) | 0)) break; - i1 = HEAP32[i5 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 4; - __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i3 >> 2] | 0) | 0; - } - } - i1 = HEAP32[i5 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) { - HEAP32[i5 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i5 >> 2] | 0) == 0; - break; - } - } else i2 = 1; while (0); - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) if (i2) break; else { - i8 = 40; - break; - } else { - HEAP32[i6 >> 2] = 0; - i8 = 38; - break; - } - } else i8 = 38; while (0); - if ((i8 | 0) == 38 ? i2 : 0) i8 = 40; - if ((i8 | 0) == 40) HEAP32[i7 >> 2] = HEAP32[i7 >> 2] | 2; - return; -} - -function _kpmLoadRefDataSet(i4, i5, i10) { - i4 = i4 | 0; - i5 = i5 | 0; - i10 = i10 | 0; - var i1 = 0, i2 = 0, i3 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i13 = i14 + 56 | 0; - i12 = i14 + 48 | 0; - i9 = i14 + 40 | 0; - i8 = i14 + 32 | 0; - i7 = i14 + 24 | 0; - i6 = i14 + 8 | 0; - i3 = i14; - i2 = i14 + 60 | 0; - HEAP8[i2 >> 0] = HEAP8[20063] | 0; - HEAP8[i2 + 1 >> 0] = HEAP8[20064] | 0; - HEAP8[i2 + 2 >> 0] = HEAP8[20065] | 0; - L1 : do if ((i4 | 0) != 0 & (i10 | 0) != 0) { - i11 = _kpmFopen(i4, i5, i2) | 0; - if (!i11) { - i1 = (i5 | 0) != 0; - HEAP32[i6 >> 2] = i4; - HEAP32[i6 + 4 >> 2] = i1 ? 49958 : 58366; - HEAP32[i6 + 8 >> 2] = i1 ? i5 : 58366; - _arLog(0, 3, 20117, i6); - i1 = -1; - break; - } - i6 = _calloc(1, 16) | 0; - if (!i6) { - _arLog(0, 3, 20454, i7); - _exit(1); - } - i3 = i6 + 4 | 0; - L9 : do if ((_fread(i3, 4, 1, i11) | 0) == 1 ? (i1 = HEAP32[i3 >> 2] | 0, (i1 | 0) >= 1) : 0) { - i7 = _malloc(i1 * 132 | 0) | 0; - HEAP32[i6 >> 2] = i7; - if (!i7) { - _arLog(0, 3, 20454, i8); - _exit(1); - } - i2 = 0; - while (1) { - if ((i2 | 0) >= (i1 | 0)) break; - if ((_fread((HEAP32[i6 >> 2] | 0) + (i2 * 132 | 0) | 0, 8, 1, i11) | 0) != 1) break L9; - if ((_fread((HEAP32[i6 >> 2] | 0) + (i2 * 132 | 0) + 8 | 0, 8, 1, i11) | 0) != 1) break L9; - if ((_fread((HEAP32[i6 >> 2] | 0) + (i2 * 132 | 0) + 16 | 0, 108, 1, i11) | 0) != 1) break L9; - if ((_fread((HEAP32[i6 >> 2] | 0) + (i2 * 132 | 0) + 124 | 0, 4, 1, i11) | 0) != 1) break L9; - if ((_fread((HEAP32[i6 >> 2] | 0) + (i2 * 132 | 0) + 128 | 0, 4, 1, i11) | 0) != 1) break L9; - i2 = i2 + 1 | 0; - i1 = HEAP32[i3 >> 2] | 0; - } - i4 = i6 + 12 | 0; - if ((_fread(i4, 4, 1, i11) | 0) == 1) { - i1 = HEAP32[i4 >> 2] | 0; - if ((i1 | 0) < 1) { - HEAP32[i6 + 8 >> 2] = 0; + $5 = HEAP32[$1 + 116 >> 2]; + $2 = $5; + $9 = HEAP32[$1 + 112 >> 2]; + if (($5 | 0) > 0 | ($5 | 0) >= 0) { + HEAP32[$6 + 4 >> 2] = HEAP32[$6 + 4 >> 2] - 1; + } + label$42: { + if ($3) { + if ($4) { + break label$42; + } + break label$1; + } + break label$19; + } + while (1) { + $4 = $4 - 1 | 0; + if (($2 | 0) > 0 | ($2 | 0) >= 0) { + HEAP32[$6 + 4 >> 2] = HEAP32[$6 + 4 >> 2] - 1; + } + if ($4) { + continue; + } break; } - i8 = _malloc(i1 * 12 | 0) | 0; - i5 = i6 + 8 | 0; - HEAP32[i5 >> 2] = i8; - if (!i8) { - _arLog(0, 3, 20454, i9); - _exit(1); + break label$1; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 28, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __shlim($1, 0, 0); + $5 = 0; + } + $8 = 0; + } + $2 = $0; + HEAP32[$2 >> 2] = $12; + $5 = $10; + HEAP32[$2 + 4 >> 2] = $5; + HEAP32[$2 + 8 >> 2] = $11; + $5 = $8; + HEAP32[$2 + 12 >> 2] = $5; + __stack_pointer = $7 + 48 | 0; +} + +function start_pass_huff_decoder($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $1 = HEAP32[$0 + 412 >> 2]; + $6 = HEAP32[$0 + 468 >> 2]; + label$1: { + if (HEAP32[$0 + 224 >> 2]) { + $2 = HEAP32[$0 + 416 >> 2]; + label$3: { + label$4: { + label$5: { + if (!$1) { + if (!$2) { + break label$5; + } + break label$4; + } + if (HEAP32[$0 + 436 >> 2] < ($2 | 0) | ($1 | 0) > ($2 | 0) | HEAP32[$0 + 340 >> 2] != 1) { + break label$4; + } + } + $2 = HEAP32[$0 + 420 >> 2]; + label$7: { + if (!$2) { + $2 = HEAP32[$0 + 424 >> 2]; + break label$7; + } + $2 = $2 - 1 | 0; + if (($2 | 0) != HEAP32[$0 + 424 >> 2]) { + break label$4; + } + } + if (($2 | 0) < 14) { + break label$3; + } } - i3 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = 17; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = HEAP32[$0 + 416 >> 2]; + HEAP32[HEAP32[$0 >> 2] + 32 >> 2] = HEAP32[$0 + 420 >> 2]; + HEAP32[HEAP32[$0 >> 2] + 36 >> 2] = HEAP32[$0 + 424 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $1 = HEAP32[$0 + 340 >> 2]; + if (($1 | 0) > 0) { while (1) { - if ((i3 | 0) >= (i1 | 0)) { - i1 = 32; - break; + $5 = HEAP32[HEAP32[(($7 << 2) + $0 | 0) + 344 >> 2] + 4 >> 2]; + $4 = HEAP32[$0 + 160 >> 2] + ($5 << 8) | 0; + $2 = HEAP32[$0 + 412 >> 2]; + $1 = 0; + label$11: { + if (!$2) { + break label$11; + } + $1 = $2; + if (HEAP32[$4 >> 2] >= 0) { + break label$11; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $5; + HEAP32[$1 + 20 >> 2] = 118; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, -1); + $1 = HEAP32[$0 + 412 >> 2]; + } + if (($1 | 0) <= HEAP32[$0 + 416 >> 2]) { + while (1) { + $2 = ($1 << 2) + $4 | 0; + $3 = HEAP32[$2 >> 2]; + if (HEAP32[$0 + 420 >> 2] != ((($3 | 0) > 0 ? $3 : 0) | 0)) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 24 >> 2] = $5; + HEAP32[$3 + 20 >> 2] = 118; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = $1; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, -1); + } + HEAP32[$2 >> 2] = HEAP32[$0 + 424 >> 2]; + $2 = HEAP32[$0 + 416 >> 2] > ($1 | 0); + $1 = $1 + 1 | 0; + if ($2) { + continue; + } + break; + } } - if ((_fread((HEAP32[i5 >> 2] | 0) + (i3 * 12 | 0) + 8 | 0, 4, 1, i11) | 0) != 1) break L9; - if ((_fread((HEAP32[i5 >> 2] | 0) + (i3 * 12 | 0) + 4 | 0, 4, 1, i11) | 0) != 1) break L9; - i9 = HEAP32[i5 >> 2] | 0; - i1 = HEAP32[i9 + (i3 * 12 | 0) + 4 >> 2] | 0; - i2 = _malloc(i1 * 12 | 0) | 0; - HEAP32[i9 + (i3 * 12 | 0) >> 2] = i2; - if (!i2) { - i1 = 29; - break; + $1 = HEAP32[$0 + 340 >> 2]; + $7 = $7 + 1 | 0; + if (($1 | 0) > ($7 | 0)) { + continue; } - if ((_fread(i2, 12, i1, i11) | 0) != (i1 | 0)) break L9; - i3 = i3 + 1 | 0; - i1 = HEAP32[i4 >> 2] | 0; - } - if ((i1 | 0) == 29) { - _arLog(0, 3, 20454, i12); - _exit(1); - } else if ((i1 | 0) == 32) { - HEAP32[i10 >> 2] = i6; - _fclose(i11) | 0; - i1 = 0; - break L1; - } - } - } while (0); - _arLog(0, 3, 20184, i13); - i1 = HEAP32[i6 + 8 >> 2] | 0; - if (i1 | 0) _free(i1); - i1 = HEAP32[i6 >> 2] | 0; - if (i1 | 0) _free(i1); - _free(i6); - _fclose(i11) | 0; - i1 = -1; - } else { - _arLog(0, 3, 20066, i3); - i1 = -1; - } while (0); - STACKTOP = i14; - return i1 | 0; -} - -function _arParamLoad(i1, i13, i11, i12) { - i1 = i1 | 0; - i13 = i13 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, d18 = 0.0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - i9 = i17 + 248 | 0; - i7 = i17 + 240 | 0; - i6 = i17 + 232 | 0; - i5 = i17 + 224 | 0; - i4 = i17 + 216 | 0; - i3 = i17 + 208 | 0; - i2 = i17 + 200 | 0; - i14 = i17; - i15 = i17 + 16 | 0; - do if ((i1 | 0) != 0 & (i13 | 0) > 0 & (i11 | 0) != 0) { - i16 = _fopen(i1, 20063) | 0; - if (!i16) { - i16 = ___errno_location() | 0; - HEAP32[i2 >> 2] = HEAP32[i16 >> 2]; - HEAP32[i2 + 4 >> 2] = i1; - _arLog(0, 3, 18171, i2); - i1 = ___errno_location() | 0; - i1 = _strerror(HEAP32[i1 >> 2] | 0) | 0; - HEAP32[i3 >> 2] = 58366; - HEAP32[i3 + 4 >> 2] = i1; - _arLog(0, 3, 19708, i3); - i1 = -1; - break; - } - _fseek(i16, 0, 2) | 0; - L6 : do if (!(_ferror(i16) | 0)) { - i3 = _ftell(i16) | 0; - _rewind(i16); - i2 = 0; - while (1) { - if (i2 >>> 0 >= 4) { - i10 = 9; break; } - i1 = HEAP32[1712 + (i2 << 3) + 4 >> 2] | 0; - i2 = i2 + 1 | 0; - if (!((i3 | 0) % (i1 | 0) | 0)) { - i8 = i2; + } + $2 = HEAP32[$0 + 412 >> 2]; + HEAP32[$6 + 4 >> 2] = HEAP32[$0 + 420 >> 2] ? $2 ? 166 : 167 : $2 ? 168 : 169; + if (($1 | 0) > 0) { + $1 = 0; + while (1) { + $2 = $1 << 2; + $3 = HEAP32[($2 + $0 | 0) + 344 >> 2]; + label$17: { + if (!HEAP32[$0 + 412 >> 2]) { + if (HEAP32[$0 + 420 >> 2]) { + break label$17; + } + $3 = HEAP32[$3 + 20 >> 2]; + jpeg_make_d_derived_tbl($0, 1, $3, (($3 << 2) + $6 | 0) + 48 | 0); + break label$17; + } + $3 = HEAP32[$3 + 24 >> 2]; + $4 = $3; + $5 = ($3 << 2) + $6 | 0; + $3 = $5 + 48 | 0; + jpeg_make_d_derived_tbl($0, 0, $4, $3); + HEAP32[$6 + 64 >> 2] = HEAP32[$5 + 48 >> 2]; + } + HEAP32[($2 + $6 | 0) + 24 >> 2] = 0; + $1 = $1 + 1 | 0; + if (($1 | 0) < HEAP32[$0 + 340 >> 2]) { + continue; + } break; } } - do if ((i10 | 0) == 9) if ((i2 | 0) == 4) { - _arLog(0, 3, 18285, i6); - i1 = -1; - break L6; - } else { - i8 = 0; - i1 = HEAP32[1712 + (0 << 3) + 4 >> 2] | 0; - break; - } while (0); - if ((_fread(i15, i1, 1, i16) | 0) != 1) { - i1 = ___errno_location() | 0; - HEAP32[i7 >> 2] = HEAP32[i1 >> 2]; - _arLog(0, 3, 18365, i7); - i1 = ___errno_location() | 0; - i1 = _strerror(HEAP32[i1 >> 2] | 0) | 0; - HEAP32[i9 >> 2] = 58366; - HEAP32[i9 + 4 >> 2] = i1; - _arLog(0, 3, 19708, i9); - i1 = -1; - break; + HEAP32[$6 + 20 >> 2] = 0; + break label$1; + } + label$19: { + if (!(HEAP32[$0 + 424 >> 2] | (HEAP32[$0 + 420 >> 2] | $1))) { + $1 = HEAP32[$0 + 416 >> 2]; + if (!HEAP32[$0 + 220 >> 2] & ($1 | 0) > 63 | HEAP32[$0 + 436 >> 2] == ($1 | 0)) { + break label$19; + } } - i5 = i15 + 176 | 0; - HEAP32[i5 >> 2] = i8; - _byteswap(i15); - i6 = (i8 | 0) == 1; - i7 = i15 + 120 | 0; - if (i6) { - d18 = +HEAPF64[i7 >> 3]; - i4 = i15 + 128 | 0; - HEAPF64[i7 >> 3] = +HEAPF64[i4 >> 3]; - HEAPF64[i4 >> 3] = d18; - } else i4 = i15 + 128 | 0; - _memcpy(i11 | 0, i15 | 0, 184) | 0; - HEAP32[i14 >> 2] = i12; - i2 = i11 + 176 | 0; - i1 = 1; + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 125; + FUNCTION_TABLE[HEAP32[$1 + 4 >> 2]]($0, -1); + } + HEAP32[$6 + 4 >> 2] = HEAP32[$0 + 436 >> 2] == 63 ? 170 : 171; + $1 = 0; + if (HEAP32[$0 + 340 >> 2] > 0) { while (1) { - if ((i1 | 0) >= (i13 | 0)) { - i1 = 0; - break L6; - } - i12 = (HEAP32[i14 >> 2] | 0) + (4 - 1) & ~(4 - 1); - i3 = HEAP32[i12 >> 2] | 0; - HEAP32[i14 >> 2] = i12 + 4; - HEAP32[i3 + 176 >> 2] = HEAP32[i2 >> 2]; - if ((_fread(i15, HEAP32[1712 + ((HEAP32[i2 >> 2] | 0) + -1 << 3) + 4 >> 2] | 0, 1, i16) | 0) != 1) { - i1 = -1; - break L6; - } - HEAP32[i5 >> 2] = i8; - _byteswap(i15); - if (i6) { - d18 = +HEAPF64[i7 >> 3]; - HEAPF64[i7 >> 3] = +HEAPF64[i4 >> 3]; - HEAPF64[i4 >> 3] = d18; - } - _memcpy(i3 | 0, i15 | 0, 184) | 0; - i1 = i1 + 1 | 0; - } - } else { - i1 = ___errno_location() | 0; - HEAP32[i4 >> 2] = HEAP32[i1 >> 2]; - _arLog(0, 3, 18240, i4); - i1 = ___errno_location() | 0; - i1 = _strerror(HEAP32[i1 >> 2] | 0) | 0; - HEAP32[i5 >> 2] = 58366; - HEAP32[i5 + 4 >> 2] = i1; - _arLog(0, 3, 19708, i5); - i1 = -1; - } while (0); - _fclose(i16) | 0; - } else i1 = -1; while (0); - STACKTOP = i17; - return i1 | 0; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIcEE(i1, i5, i6, i7, i2) { - i1 = i1 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i8 = 0; - i4 = i2 + 8 | 0; - L1 : while (1) { - i1 = HEAP32[i5 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i5 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i5 >> 2] | 0) == 0; + $2 = $1 << 2; + $4 = HEAP32[($2 + $0 | 0) + 344 >> 2]; + $3 = HEAP32[$4 + 20 >> 2]; + jpeg_make_d_derived_tbl($0, 1, $3, (($3 << 2) + $6 | 0) + 68 | 0); + if (HEAP32[$0 + 436 >> 2]) { + $3 = HEAP32[$4 + 24 >> 2]; + jpeg_make_d_derived_tbl($0, 0, $3, (($3 << 2) + $6 | 0) + 84 | 0); + } + HEAP32[($2 + $6 | 0) + 24 >> 2] = 0; + $1 = $1 + 1 | 0; + if (($1 | 0) < HEAP32[$0 + 340 >> 2]) { + continue; + } break; } - } else i2 = 1; while (0); - i3 = HEAP32[i6 >> 2] | 0; - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else break L1; else { - HEAP32[i6 >> 2] = 0; - i8 = 15; - break; + } + $2 = 0; + if (HEAP32[$0 + 368 >> 2] <= 0) { + break label$1; + } + while (1) { + $1 = $2 << 2; + $3 = $6 + $1 | 0; + $1 = HEAP32[((HEAP32[($0 + $1 | 0) + 372 >> 2] << 2) + $0 | 0) + 344 >> 2]; + HEAP32[$3 + 100 >> 2] = HEAP32[((HEAP32[$1 + 20 >> 2] << 2) + $6 | 0) + 68 >> 2]; + HEAP32[$3 + 140 >> 2] = HEAP32[((HEAP32[$1 + 24 >> 2] << 2) + $6 | 0) + 84 >> 2]; + label$25: { + if (!HEAP32[$1 + 52 >> 2]) { + $1 = 0; + break label$25; + } + $4 = HEAP32[$1 + 36 >> 2]; + $5 = HEAP32[$1 + 40 >> 2]; + $1 = 1; + label$27: { + label$28: { + switch (HEAP32[$0 + 436 >> 2]) { + case 3: + $1 = ((($5 - 3 >>> 0 < 4294967294 ? 1 : $5 - 1 | 0) << 3) + (($4 - 3 >>> 0 < 4294967294 ? 1 : $4 - 1 | 0) << 2) | 0) + 41216 | 0; + break label$27; + + case 8: + $1 = (Math_imul($5 - 4 >>> 0 < 4294967293 ? 2 : $5 - 1 | 0, 12) + (($4 - 4 >>> 0 < 4294967293 ? 2 : $4 - 1 | 0) << 2) | 0) + 41232 | 0; + break label$27; + + case 15: + $1 = ((($5 - 5 >>> 0 < 4294967292 ? 3 : $5 - 1 | 0) << 4) + (($4 - 5 >>> 0 < 4294967292 ? 3 : $4 - 1 | 0) << 2) | 0) + 41280 | 0; + break label$27; + + case 24: + $1 = (Math_imul($5 - 6 >>> 0 < 4294967291 ? 4 : $5 - 1 | 0, 20) + (($4 - 6 >>> 0 < 4294967291 ? 4 : $4 - 1 | 0) << 2) | 0) + 41344 | 0; + break label$27; + + case 35: + $1 = (Math_imul($5 - 7 >>> 0 < 4294967290 ? 5 : $5 - 1 | 0, 24) + (($4 - 7 >>> 0 < 4294967290 ? 5 : $4 - 1 | 0) << 2) | 0) + 41456 | 0; + break label$27; + + case 48: + $1 = (Math_imul($5 - 8 >>> 0 < 4294967289 ? 6 : $5 - 1 | 0, 28) + (($4 - 8 >>> 0 < 4294967289 ? 6 : $4 - 1 | 0) << 2) | 0) + 41600 | 0; + break label$27; + + case 0: + break label$25; + + default: + break label$28; + } + } + $1 = ((($5 - 9 >>> 0 < 4294967288 ? 7 : $5 - 1 | 0) << 5) + (($4 - 9 >>> 0 < 4294967288 ? 7 : $4 - 1 | 0) << 2) | 0) + 41808 | 0; + } + $1 = HEAP32[$1 >> 2] + 1 | 0; + } + HEAP32[$3 + 180 >> 2] = $1; + $2 = $2 + 1 | 0; + if (($2 | 0) < HEAP32[$0 + 368 >> 2]) { + continue; } - } else i8 = 15; while (0); - if ((i8 | 0) == 15) { - i8 = 0; - if (i2) { - i3 = 0; - break; - } else i3 = 0; - } - i1 = HEAP32[i5 >> 2] | 0; - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if ((i1 & 255) << 24 >> 24 <= -1) break; - if (!(HEAP16[(HEAP32[i4 >> 2] | 0) + (i1 << 24 >> 24 << 1) >> 1] & 8192)) break; - i1 = HEAP32[i5 >> 2] | 0; - i2 = i1 + 12 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 40 >> 2] & 127](i1) | 0; else { - HEAP32[i2 >> 2] = i3 + 1; - __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i3 >> 0] | 0) | 0; - } - } - i1 = HEAP32[i5 >> 2] | 0; - do if (i1) { - i2 = HEAP32[i1 + 12 >> 2] | 0; - if ((i2 | 0) == (HEAP32[i1 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) { - HEAP32[i5 >> 2] = 0; - i2 = 1; - break; - } else { - i2 = (HEAP32[i5 >> 2] | 0) == 0; break; } - } else i2 = 1; while (0); - do if (i3) { - i1 = HEAP32[i3 + 12 >> 2] | 0; - if ((i1 | 0) == (HEAP32[i3 + 16 >> 2] | 0)) i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 36 >> 2] & 127](i3) | 0; else i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) if (i2) break; else { - i8 = 41; - break; - } else { - HEAP32[i6 >> 2] = 0; - i8 = 39; - break; + } + HEAP32[$6 + 40 >> 2] = 0; + HEAP32[$6 + 12 >> 2] = 0; + HEAP32[$6 + 16 >> 2] = 0; + HEAP32[$6 + 44 >> 2] = HEAP32[$0 + 280 >> 2]; +} + +function std____2____money_put_char_____format_28char__2c_20char___2c_20char___2c_20unsigned_20int_2c_20char_20const__2c_20char_20const__2c_20std____2__ctype_char__20const__2c_20bool_2c_20std____2__money_base__pattern_20const__2c_20char_2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20int_29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) { + var $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $21 = __stack_pointer - 16 | 0; + __stack_pointer = $21; + HEAP32[$2 >> 2] = $0; + $23 = $3 & 512; + while (1) { + if (($22 | 0) == 4) { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($13) >>> 0 > 1) { + wasm2js_i32$0 = $21, wasm2js_i32$1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____begin_28_29_20const($13), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = char__20std____2__copy_std____2____wrap_iter_char_20const___2c_20char___28std____2____wrap_iter_char_20const___2c_20std____2____wrap_iter_char_20const___2c_20char__29(std____2____wrap_iter_char_20const____operator__28long_29_20const($21 + 8 | 0, 1), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____end_28_29_20const($13), HEAP32[$2 >> 2]), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $15 = $3 & 176; + if (($15 | 0) != 16) { + $0 = ($15 | 0) == 32 ? HEAP32[$2 >> 2] : $0; + HEAP32[$1 >> 2] = $0; + } + __stack_pointer = $21 + 16 | 0; + return; } - } else i8 = 39; while (0); - if ((i8 | 0) == 39 ? i2 : 0) i8 = 41; - if ((i8 | 0) == 41) HEAP32[i7 >> 2] = HEAP32[i7 >> 2] | 2; - return; -} - -function _ar2ReadImageSet(i9) { - i9 = i9 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - i11 = i15 + 72 | 0; - i10 = i15 + 64 | 0; - i8 = i15 + 56 | 0; - i7 = i15 + 48 | 0; - i6 = i15 + 40 | 0; - i5 = i15 + 32 | 0; - i4 = i15 + 24 | 0; - i3 = i15 + 16 | 0; - i1 = i15 + 8 | 0; - i12 = i15 + 80 | 0; - i2 = _malloc((_strlen(i9) | 0) + 6 | 0) | 0; - if (!i2) { - _arLog(0, 3, 20454, i15); - _exit(1); - } - HEAP32[i1 >> 2] = i9; - HEAP32[i1 + 4 >> 2] = 19416; - _sprintf(i2, 19411, i1) | 0; - i14 = _fopen(i2, 20063) | 0; - _free(i2); - L4 : do if (!i14) { - HEAP32[i3 >> 2] = i9; - HEAP32[i3 + 4 >> 2] = 19416; - _arLog(0, 3, 19422, i3); - i1 = 0; - } else { - i1 = _malloc(8) | 0; - if (!i1) { - _arLog(0, 3, 20454, i4); - _exit(1); - } - i2 = i1 + 4 | 0; - if ((_fread(i2, 4, 1, i14) | 0) == 1 ? (i13 = HEAP32[i2 >> 2] | 0, (i13 | 0) >= 1) : 0) { - HEAP32[i6 >> 2] = i13; - _arLog(0, 1, 19495, i6); - i3 = i13 << 2; - i4 = _malloc(i3) | 0; - HEAP32[i1 >> 2] = i4; - if (!i4) { - _arLog(0, 3, 20454, i7); - _exit(1); - } - i7 = _malloc(16) | 0; - HEAP32[i4 >> 2] = i7; - if (!i7) { - _arLog(0, 3, 20454, i8); - _exit(1); - } - i2 = _ar2ReadJpegImage2(i14) | 0; - if (!i2) { - HEAP32[i10 >> 2] = i9; - HEAP32[i10 + 4 >> 2] = 19416; - _arLog(0, 2, 19525, i10); - _free(HEAP32[i4 >> 2] | 0); - _free(i4); - _free(i1); - _rewind(i14); - i1 = _ar2ReadImageSetOld(i14) | 0; - break; + label$6: { + label$7: { + switch (HEAP8[$8 + $22 | 0]) { + case 0: + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + break label$6; + + case 1: + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + $15 = std____2__ctype_char___widen_28char_29_20const($6, 32); + $16 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $16 + 1; + HEAP8[$16 | 0] = $15; + break label$6; + + case 3: + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____empty_28_29_20const($13)) { + break label$6; + } + $15 = HEAPU8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29_20const($13, 0) | 0]; + $16 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $16 + 1; + HEAP8[$16 | 0] = $15; + break label$6; + + case 2: + $15 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____empty_28_29_20const($12); + if ($15 | !$23) { + break label$6; + } + wasm2js_i32$0 = $2, wasm2js_i32$1 = char__20std____2__copy_std____2____wrap_iter_char_20const___2c_20char___28std____2____wrap_iter_char_20const___2c_20std____2____wrap_iter_char_20const___2c_20char__29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____begin_28_29_20const($12), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____end_28_29_20const($12), HEAP32[$2 >> 2]), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$6; + + case 4: + break label$7; + + default: + break label$6; + } } - if ((HEAP32[i2 + 4 >> 2] | 0) != 1) { - HEAP32[i11 >> 2] = i9; - HEAP32[i11 + 4 >> 2] = 19416; - _arLog(0, 2, 19525, i11); - _free(HEAP32[i4 >> 2] | 0); - _free(i4); - _free(i1); - _free(i2); - _fclose(i14) | 0; - i1 = 0; + $24 = HEAP32[$2 >> 2]; + $4 = $4 + $7 | 0; + $15 = $4; + while (1) { + label$13: { + if ($5 >>> 0 <= $15 >>> 0) { + break label$13; + } + if (!std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($6, 64, HEAP8[$15 | 0])) { + break label$13; + } + $15 = $15 + 1 | 0; + continue; + } break; } - i11 = HEAP32[i4 >> 2] | 0; - HEAP32[i11 + 4 >> 2] = HEAP32[i2 + 8 >> 2]; - HEAP32[i11 + 8 >> 2] = HEAP32[i2 + 12 >> 2]; - HEAP32[i11 + 12 >> 2] = HEAP32[i2 + 16 >> 2]; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - _free(i2); - _fseek(i14, 4 - i3 | 0, 2) | 0; - i3 = 1; - while (1) { - if ((i3 | 0) >= (i13 | 0)) { - i2 = 29; + $16 = $14; + if (($16 | 0) > 0) { + while (1) { + if (!(!$16 | $4 >>> 0 >= $15 >>> 0)) { + $15 = $15 - 1 | 0; + $17 = HEAPU8[$15 | 0]; + $18 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $18 + 1; + HEAP8[$18 | 0] = $17; + $16 = $16 - 1 | 0; + continue; + } break; } - if ((_fread(i12, 4, 1, i14) | 0) != 1) { - i2 = 21; - break; + if ($16) { + $18 = std____2__ctype_char___widen_28char_29_20const($6, 48); + } else { + $18 = 0; } - i11 = _ar2GenImageLayer2(HEAP32[i4 >> 2] | 0, +HEAPF32[i12 >> 2]) | 0; - HEAP32[i4 + (i3 << 2) >> 2] = i11; - if (!i11) { - i2 = 25; + while (1) { + $17 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $17 + 1; + if (($16 | 0) > 0) { + HEAP8[$17 | 0] = $18; + $16 = $16 - 1 | 0; + continue; + } break; } - i3 = i3 + 1 | 0; - } - L30 : do if ((i2 | 0) == 21) { - i2 = 0; - while (1) { - if ((i2 | 0) == (i3 | 0)) break L30; - i13 = i4 + (i2 << 2) | 0; - _free(HEAP32[HEAP32[i13 >> 2] >> 2] | 0); - _free(HEAP32[i13 >> 2] | 0); - i2 = i2 + 1 | 0; - } - } else if ((i2 | 0) == 25) { - i2 = 0; - while (1) { - if ((i2 | 0) == (i3 | 0)) break L30; - i13 = i4 + (i2 << 2) | 0; - _free(HEAP32[HEAP32[i13 >> 2] >> 2] | 0); - _free(HEAP32[i13 >> 2] | 0); - i2 = i2 + 1 | 0; - } - } else if ((i2 | 0) == 29) { - _fclose(i14) | 0; - break L4; - } while (0); - _free(i4); - } else _arLog(0, 3, 19470, i5); - _free(i1); - _fclose(i14) | 0; - i1 = 0; - } while (0); - STACKTOP = i15; - return i1 | 0; -} - -function __ZN6vision16FindHoughMatchesERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEERKNS_21HoughSimilarityVotingERKS5_if(i8, i9, i14, i1, d15) { - i8 = i8 | 0; - i9 = i9 | 0; - i14 = i14 | 0; - i1 = i1 | 0; - d15 = +d15; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i2 = i20 + 32 | 0; - i16 = i20 + 28 | 0; - i17 = i20 + 24 | 0; - i18 = i20 + 20 | 0; - i19 = i20 + 16 | 0; - i10 = i20 + 12 | 0; - i11 = i20 + 8 | 0; - i12 = i20 + 4 | 0; - i13 = i20; - __ZNK6vision21HoughSimilarityVoting16getBinsFromIndexERiS1_S1_S1_i(i9, i10, i11, i12, i13, i1); - i6 = i8 + 4 | 0; - HEAP32[i6 >> 2] = HEAP32[i8 >> 2]; - i7 = __ZNK6vision21HoughSimilarityVoting24getSubBinLocationIndicesEv(i9) | 0; - i7 = (HEAP32[i7 + 4 >> 2] | 0) - (HEAP32[i7 >> 2] | 0) >> 2; - i1 = __ZNK6vision21HoughSimilarityVoting18getSubBinLocationsEv(i9) | 0; - if (i7 >>> 0 > (HEAP32[i14 + 4 >> 2] | 0) - (HEAP32[i14 >> 2] | 0) >> 3 >>> 0) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30146) | 0, 28235) | 0, 33528) | 0, 342) | 0, 33535) | 0, 30192) | 0; - __ZNKSt3__28ios_base6getlocEv(i2, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - i5 = i8 + 8 | 0; - i1 = HEAP32[i1 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i7 | 0)) break; - __ZNK6vision21HoughSimilarityVoting14getBinDistanceERfS1_S1_S1_ffffffff(i9, i16, i17, i18, i19, +HEAPF32[i1 >> 2], +HEAPF32[i1 + 4 >> 2], +HEAPF32[i1 + 8 >> 2], +HEAPF32[i1 + 12 >> 2], +(HEAP32[i10 >> 2] | 0) + .5, +(HEAP32[i11 >> 2] | 0) + .5, +(HEAP32[i12 >> 2] | 0) + .5, +(HEAP32[i13 >> 2] | 0) + .5); - do if ((+HEAPF32[i16 >> 2] < d15 ? +HEAPF32[i17 >> 2] < d15 : 0) & +HEAPF32[i18 >> 2] < d15 & +HEAPF32[i19 >> 2] < d15) { - i3 = __ZNK6vision21HoughSimilarityVoting24getSubBinLocationIndicesEv(i9) | 0; - i3 = (HEAP32[i14 >> 2] | 0) + (HEAP32[(HEAP32[i3 >> 2] | 0) + (i2 << 2) >> 2] << 3) | 0; - i4 = HEAP32[i6 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i5 >> 2] | 0)) { - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIRKS2_EEvOT_(i8, i3); - break; - } else { - i21 = i3; - i3 = HEAP32[i21 + 4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i21 >> 2]; - HEAP32[i4 + 4 >> 2] = i3; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 8; - break; - } - } while (0); - i1 = i1 + 16 | 0; - i2 = i2 + 1 | 0; - } - STACKTOP = i20; - return; -} - -function _ar2ReadMarkerSet(i1, i2, i7) { - i1 = i1 | 0; - i2 = i2 | 0; - i7 = i7 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 1088 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1088); - i12 = i14 + 1072 | 0; - i11 = i14 + 1064 | 0; - i13 = i14 + 1056 | 0; - i5 = i14 + 1048 | 0; - i4 = i14 + 1040 | 0; - i3 = i14 + 1032 | 0; - i6 = i14 + 1024 | 0; - i8 = i14 + 768 | 0; - i9 = i14 + 512 | 0; - i10 = i14; - HEAP32[i6 >> 2] = i1; - HEAP32[i6 + 4 >> 2] = i2; - _sprintf(i10, 20471, i6) | 0; - i10 = _fopen(i10, 19680) | 0; - if (!i10) i1 = 0; else { - i1 = _malloc(8) | 0; - if (!i1) { - _arLog(0, 3, 20454, i3); - _exit(1); - } - L6 : do if (_get_buff_345(i8, i10) | 0) { - i6 = i1 + 4 | 0; - HEAP32[i4 >> 2] = i6; - if ((_sscanf(i8, 19714, i4) | 0) != 1) { - _free(i1); - i1 = 0; - break; - } - i2 = HEAP32[i6 >> 2] | 0; - if ((i2 | 0) < 1) { - _free(i1); - i1 = 0; - break; + HEAP8[$17 | 0] = $9; } - i4 = _malloc(i2 * 56 | 0) | 0; - HEAP32[i1 >> 2] = i4; - if (!i4) { - _arLog(0, 3, 20454, i5); - _exit(1); - } - i4 = 0; - L18 : while (1) { - if ((i4 | 0) >= (i2 | 0)) break L6; - if (!(_get_buff_345(i8, i10) | 0)) { - i2 = 15; - break; + label$21: { + if (($4 | 0) == ($15 | 0)) { + $15 = std____2__ctype_char___widen_28char_29_20const($6, 48); + $16 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $16 + 1; + HEAP8[$16 | 0] = $15; + break label$21; } - HEAP32[i13 >> 2] = i9; - if ((_sscanf(i8, 19741, i13) | 0) != 1) { - i2 = 17; - break; - } - i5 = _arPattLoad(i7, i9) | 0; - i3 = HEAP32[i1 >> 2] | 0; - HEAP32[i3 + (i4 * 56 | 0) + 4 >> 2] = i5; - if ((i5 | 0) < 0) { - i2 = 19; - break; - } - if (!(_get_buff_345(i8, i10) | 0)) { - i2 = 21; - break; - } - HEAP32[i11 >> 2] = (HEAP32[i1 >> 2] | 0) + (i4 * 56 | 0); - if ((_sscanf(i8, 19642, i11) | 0) != 1) { - i2 = 24; - break; + label$23: { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____empty_28_29_20const($11)) { + $19 = std____2__numeric_limits_unsigned_20int___max_28_29(); + break label$23; + } + $19 = HEAP8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29_20const($11, 0) | 0]; } - i2 = 0; + $16 = 0; + $20 = 0; while (1) { - if (i2 >>> 0 >= 3) break; - if (!(_get_buff_345(i8, i10) | 0)) { - i2 = 27; - break L18; - } - i5 = HEAP32[i1 >> 2] | 0; - HEAP32[i12 >> 2] = i5 + (i4 * 56 | 0) + 8 + (i2 << 4); - HEAP32[i12 + 4 >> 2] = i5 + (i4 * 56 | 0) + 8 + (i2 << 4) + 4; - HEAP32[i12 + 8 >> 2] = i5 + (i4 * 56 | 0) + 8 + (i2 << 4) + 8; - HEAP32[i12 + 12 >> 2] = i5 + (i4 * 56 | 0) + 8 + (i2 << 4) + 12; - if ((_sscanf(i8, 19907, i12) | 0) == 4) i2 = i2 + 1 | 0; else { - i2 = 29; - break L18; - } - } - i4 = i4 + 1 | 0; - i2 = HEAP32[i6 >> 2] | 0; - } - if ((i2 | 0) == 15) { - _free(HEAP32[i1 >> 2] | 0); - _free(i1); - i1 = 0; - break; - } else if ((i2 | 0) == 17) { - _free(HEAP32[i1 >> 2] | 0); - _free(i1); - i1 = 0; - break; - } else if ((i2 | 0) == 19) { - _free(i3); - _free(i1); - i1 = 0; - break; - } else if ((i2 | 0) == 21) { - _free(HEAP32[i1 >> 2] | 0); - _free(i1); - i1 = 0; - break; - } else if ((i2 | 0) == 24) { - _free(HEAP32[i1 >> 2] | 0); - _free(i1); - i1 = 0; - break; - } else if ((i2 | 0) == 27) { - _free(HEAP32[i1 >> 2] | 0); - _free(i1); - i1 = 0; - break; - } else if ((i2 | 0) == 29) { - _free(HEAP32[i1 >> 2] | 0); - _free(i1); - i1 = 0; - break; + if (($4 | 0) == ($15 | 0)) { + break label$21; + } + label$26: { + if (($16 | 0) != ($19 | 0)) { + $18 = $16; + break label$26; + } + $17 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $17 + 1; + HEAP8[$17 | 0] = $10; + $18 = 0; + $20 = $20 + 1 | 0; + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($11) >>> 0 <= $20 >>> 0) { + $19 = $16; + break label$26; + } + if (HEAPU8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29_20const($11, $20) | 0] == (std____2__numeric_limits_char___max_28_29() & 255)) { + $19 = std____2__numeric_limits_unsigned_20int___max_28_29(); + break label$26; + } + $19 = HEAP8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29_20const($11, $20) | 0]; + } + $15 = $15 - 1 | 0; + $16 = HEAPU8[$15 | 0]; + $17 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $17 + 1; + HEAP8[$17 | 0] = $16; + $16 = $18 + 1 | 0; + continue; + } } - } else { - _free(i1); - i1 = 0; - } while (0); - _fclose(i10) | 0; - } - STACKTOP = i14; - return i1 | 0; -} - -function __ZN6vision26ComputeSubpixelDerivativesERfS0_S0_S0_S0_RKNS_5ImageEii(i1, i2, i3, i5, i7, i8, i9, i10) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - var i4 = 0, i6 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i11 = i12; - if ((i9 | 0) > 0 ? (i9 + 1 | 0) >>> 0 < (__ZNK6vision5Image5widthEv(i8) | 0) >>> 0 : 0) { - i4 = i10 + -1 | 0; - if ((i10 | 0) > 0 ? (i6 = i10 + 1 | 0, i6 >>> 0 < (__ZNK6vision5Image6heightEv(i8) | 0) >>> 0) : 0) { - i4 = (__ZNK6vision5Image3getIfEEPKT_m(i8, i4) | 0) + (i9 << 2) | 0; - i10 = (__ZNK6vision5Image3getIfEEPKT_m(i8, i10) | 0) + (i9 << 2) | 0; - i11 = (__ZNK6vision5Image3getIfEEPKT_m(i8, i6) | 0) + (i9 << 2) | 0; - i8 = i10 + 4 | 0; - i9 = i10 + -4 | 0; - HEAPF32[i1 >> 2] = (+HEAPF32[i8 >> 2] - +HEAPF32[i9 >> 2]) * .5; - HEAPF32[i2 >> 2] = (+HEAPF32[i11 >> 2] - +HEAPF32[i4 >> 2]) * .5; - HEAPF32[i3 >> 2] = +HEAPF32[i8 >> 2] + (+HEAPF32[i9 >> 2] - +HEAPF32[i10 >> 2] * 2.0); - HEAPF32[i5 >> 2] = +HEAPF32[i11 >> 2] + (+HEAPF32[i4 >> 2] - +HEAPF32[i10 >> 2] * 2.0); - HEAPF32[i7 >> 2] = (+HEAPF32[i4 + -4 >> 2] + +HEAPF32[i11 + 4 >> 2] - (+HEAPF32[i4 + 4 >> 2] + +HEAPF32[i11 + -4 >> 2])) * .25; - STACKTOP = i12; - return; + void_20std____2__reverse_char___28char__2c_20char__29($24, HEAP32[$2 >> 2]); } - i12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24077) | 0, 22444) | 0, 33528) | 0, 285) | 0, 33535) | 0, 22957) | 0; - __ZNKSt3__28ios_base6getlocEv(i11, i12 + (HEAP32[(HEAP32[i12 >> 2] | 0) + -12 >> 2] | 0) | 0); - i10 = __ZNKSt3__26locale9use_facetERNS0_2idE(i11, 57916) | 0; - i10 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i10 >> 2] | 0) + 28 >> 2] & 63](i10, 10) | 0; - __ZNSt3__26localeD2Ev(i11); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i12, i10) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i12) | 0; - _abort(); - } - i12 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24021) | 0, 22444) | 0, 33528) | 0, 284) | 0, 33535) | 0, 22882) | 0; - __ZNKSt3__28ios_base6getlocEv(i11, i12 + (HEAP32[(HEAP32[i12 >> 2] | 0) + -12 >> 2] | 0) | 0); - i10 = __ZNKSt3__26locale9use_facetERNS0_2idE(i11, 57916) | 0; - i10 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i10 >> 2] | 0) + 28 >> 2] & 63](i10, 10) | 0; - __ZNSt3__26localeD2Ev(i11); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i12, i10) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i12) | 0; - _abort(); -} - -function __ZN10__cxxabiv112_GLOBAL__N_117parse_source_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i5, i8) { - i1 = i1 | 0; - i5 = i5 | 0; - i8 = i8 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i11 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i9 = i11 + 40 | 0; - i10 = i11 + 16 | 0; - i6 = i11; - L1 : do if (((i1 | 0) != (i5 | 0) ? (i2 = (HEAP8[i1 >> 0] | 0) + -48 | 0, i2 >>> 0 < 10) : 0) ? (i3 = i1 + 1 | 0, (i3 | 0) != (i5 | 0)) : 0) { - i7 = i2; - while (1) { - i4 = (HEAP8[i3 >> 0] | 0) + -48 | 0; - if (i4 >>> 0 >= 10) break; - i2 = i3 + 1 | 0; - if ((i2 | 0) == (i5 | 0)) break L1; - i7 = i4 + (i7 * 10 | 0) | 0; - i3 = i2; - } - if ((i5 - i3 | 0) >>> 0 >= i7 >>> 0) { - HEAP32[i9 >> 2] = 0; - HEAP32[i9 + 4 >> 2] = 0; - HEAP32[i9 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i9, i3, i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_mmRKS6_(i10, i9, 10); - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(51049) | 0; - i5 = HEAP8[i10 + 11 >> 0] | 0; - if ((i1 | 0) == ((i5 << 24 >> 24 < 0 ? HEAP32[i10 + 4 >> 2] | 0 : i5 & 255) | 0)) i1 = (__ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i10, 51049, i1) | 0) == 0; else i1 = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - if (i1) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm22EEERAT__Kc(i10); - i1 = i8 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i8 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i2, i10); - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i8, i10); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i10); - } else { - HEAP32[i6 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i6 + 4 >> 2] = HEAP32[i9 + 4 >> 2]; - HEAP32[i6 + 8 >> 2] = HEAP32[i9 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i10, i6); - i1 = i8 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i8 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i2, i10); - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i8, i10); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - i1 = i3 + i7 | 0; - } - } while (0); - STACKTOP = i11; - return i1 | 0; -} - -function __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryEPKh(i8, i9) { - i8 = i8 | 0; - i9 = i9 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0; - i19 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i7 = i19 + 8 | 0; - i6 = i19 + 32 | 0; - i5 = i19 + 28 | 0; - i10 = i19 + 24 | 0; - i15 = i19 + 20 | 0; - i16 = i19 + 16 | 0; - i17 = i19; - i18 = i8 + 8 | 0; - if (!(HEAP32[i18 >> 2] | 0)) { - i14 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30286) | 0, 27286) | 0, 33528) | 0, 405) | 0, 33535) | 0, 30321) | 0; - __ZNKSt3__28ios_base6getlocEv(i7, i14 + (HEAP32[(HEAP32[i14 >> 2] | 0) + -12 >> 2] | 0) | 0); - i13 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - i13 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i13 >> 2] | 0) + 28 >> 2] & 63](i13, 10) | 0; - __ZNSt3__26localeD2Ev(i7); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i14, i13) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i14) | 0; - _abort(); - } - HEAP32[i8 + 100 >> 2] = 0; - i11 = i8 + 72 | 0; - i12 = i8 + 76 | 0; - HEAP32[i12 >> 2] = HEAP32[i11 >> 2]; - i13 = i8 + 84 | 0; - i14 = i8 + 88 | 0; - i2 = HEAP32[i14 >> 2] | 0; + $22 = $22 + 1 | 0; + continue; + } +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____remove_28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $7 = __stack_pointer - 16 | 0; + __stack_pointer = $7; + $5 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____bucket_count_28_29_20const($1); + $4 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const($2), $5); + $3 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $4) >> 2]; while (1) { - i1 = HEAP32[i13 >> 2] | 0; - i3 = i1; - if ((i1 | 0) == (i2 | 0)) break; - i4 = i2 - i3 | 0; - if ((i4 | 0) > 8) { - i2 = i2 + -8 | 0; - i20 = i1; - i21 = HEAP32[i20 >> 2] | 0; - i20 = HEAP32[i20 + 4 >> 2] | 0; - i23 = i7; - HEAP32[i23 >> 2] = i21; - HEAP32[i23 + 4 >> 2] = i20; - i23 = i2; - i22 = HEAP32[i23 + 4 >> 2] | 0; - HEAP32[i1 >> 2] = HEAP32[i23 >> 2]; - HEAP32[i1 + 4 >> 2] = i22; - i1 = i2; - HEAP32[i1 >> 2] = i21; - HEAP32[i1 + 4 >> 2] = i20; - __ZN6vision17PriorityQueueItemILi96EED2Ev(i7); - HEAP32[i10 >> 2] = i3; - HEAP32[i15 >> 2] = i2; - HEAP32[i16 >> 2] = i3; - HEAP32[i5 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i6 >> 2] = HEAP32[i15 >> 2]; - HEAP32[i7 >> 2] = HEAP32[i16 >> 2]; - __ZNSt3__211__sift_downIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeESA_(i5, i6, i17, (i4 >>> 3) + -1 | 0, i7); - i2 = HEAP32[i14 >> 2] | 0; - } - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i23 = i1 + -1 | 0; - __ZN6vision17PriorityQueueItemILi96EED2Ev(i2 + (i23 << 3) | 0); - i1 = i23; - } - i2 = i2 + -8 | 0; - HEAP32[i14 >> 2] = i2; - } - __ZNK6vision28BinaryHierarchicalClusteringILi96EE5queryERNSt3__214priority_queueINS_17PriorityQueueItemILi96EEENS2_6vectorIS5_NS2_9allocatorIS5_EEEENS2_4lessIS5_EEEEPKNS_4NodeILi96EEEPKh(i8, i13, HEAP32[i18 >> 2] | 0, i9); - STACKTOP = i19; - return (HEAP32[i12 >> 2] | 0) - (HEAP32[i11 >> 2] | 0) >> 2 | 0; -} - -function _icpGetJ_Xc_S(i6, i1, i2, i3) { - i6 = i6 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, d5 = 0.0, i7 = 0, i8 = 0, i9 = 0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 864 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(864); - i7 = i9 + 576 | 0; - i8 = i9; - i20 = i2 + 8 | 0; - i4 = i3 + 8 | 0; - d13 = +HEAPF64[i4 >> 3]; - i19 = i2 + 16 | 0; - i21 = i3 + 16 | 0; - d11 = +HEAPF64[i21 >> 3]; - HEAPF64[i1 >> 3] = +HEAPF64[i2 + 24 >> 3] + (+HEAPF64[i2 >> 3] * +HEAPF64[i3 >> 3] + +HEAPF64[i20 >> 3] * d13 + +HEAPF64[i19 >> 3] * d11); - i18 = i2 + 32 | 0; - d14 = +HEAPF64[i3 >> 3]; - i17 = i2 + 40 | 0; - i16 = i2 + 48 | 0; - HEAPF64[i1 + 8 >> 3] = +HEAPF64[i2 + 56 >> 3] + (+HEAPF64[i18 >> 3] * d14 + d13 * +HEAPF64[i17 >> 3] + d11 * +HEAPF64[i16 >> 3]); - i15 = i2 + 64 | 0; - i3 = i2 + 72 | 0; - d13 = +HEAPF64[i4 >> 3]; - i4 = i2 + 80 | 0; - HEAPF64[i1 + 16 >> 3] = +HEAPF64[i2 + 88 >> 3] + (d14 * +HEAPF64[i15 >> 3] + +HEAPF64[i3 >> 3] * d13 + d11 * +HEAPF64[i4 >> 3]); - d11 = +HEAPF64[i2 >> 3]; - HEAPF64[i7 >> 3] = d14 * d11; - HEAPF64[i7 + 8 >> 3] = d13 * d11; - d12 = +HEAPF64[i21 >> 3]; - HEAPF64[i7 + 16 >> 3] = d11 * d12; - d10 = +HEAPF64[i20 >> 3]; - HEAPF64[i7 + 24 >> 3] = d14 * d10; - HEAPF64[i7 + 32 >> 3] = d13 * d10; - HEAPF64[i7 + 40 >> 3] = d12 * d10; - d5 = +HEAPF64[i19 >> 3]; - HEAPF64[i7 + 48 >> 3] = d14 * d5; - HEAPF64[i7 + 56 >> 3] = d13 * d5; - HEAPF64[i7 + 64 >> 3] = d12 * d5; - HEAPF64[i7 + 72 >> 3] = d11; - HEAPF64[i7 + 80 >> 3] = d10; - HEAPF64[i7 + 88 >> 3] = d5; - d5 = +HEAPF64[i18 >> 3]; - HEAPF64[i7 + 96 >> 3] = d14 * d5; - HEAPF64[i7 + 104 >> 3] = d13 * d5; - HEAPF64[i7 + 112 >> 3] = d12 * d5; - d10 = +HEAPF64[i17 >> 3]; - HEAPF64[i7 + 120 >> 3] = d14 * d10; - HEAPF64[i7 + 128 >> 3] = d13 * d10; - HEAPF64[i7 + 136 >> 3] = d12 * d10; - d11 = +HEAPF64[i16 >> 3]; - HEAPF64[i7 + 144 >> 3] = d14 * d11; - HEAPF64[i7 + 152 >> 3] = d13 * d11; - HEAPF64[i7 + 160 >> 3] = d12 * d11; - HEAPF64[i7 + 168 >> 3] = d5; - HEAPF64[i7 + 176 >> 3] = d10; - HEAPF64[i7 + 184 >> 3] = d11; - d11 = +HEAPF64[i15 >> 3]; - HEAPF64[i7 + 192 >> 3] = d14 * d11; - HEAPF64[i7 + 200 >> 3] = d13 * d11; - HEAPF64[i7 + 208 >> 3] = d12 * d11; - d10 = +HEAPF64[i3 >> 3]; - HEAPF64[i7 + 216 >> 3] = d14 * d10; - HEAPF64[i7 + 224 >> 3] = d13 * d10; - HEAPF64[i7 + 232 >> 3] = d12 * d10; - d5 = +HEAPF64[i4 >> 3]; - HEAPF64[i7 + 240 >> 3] = d14 * d5; - HEAPF64[i7 + 248 >> 3] = d13 * d5; - HEAPF64[i7 + 256 >> 3] = d12 * d5; - HEAPF64[i7 + 264 >> 3] = d11; - HEAPF64[i7 + 272 >> 3] = d10; - HEAPF64[i7 + 280 >> 3] = d5; - _icpGetJ_T_S(i8); - i2 = 0; + $6 = $3; + $3 = HEAP32[$3 >> 2]; + if (($3 | 0) != ($2 | 0)) { + continue; + } + break; + } + label$2: { + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________ptr_28_29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______first_28_29($1 + 8 | 0)) | 0) != ($6 | 0)) { + if ((std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const($6), $5) | 0) == ($4 | 0)) { + break label$2; + } + } + $3 = HEAP32[$2 >> 2]; + if ($3) { + if ((std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const($3), $5) | 0) == ($4 | 0)) { + break label$2; + } + } + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $4), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $3 = HEAP32[$2 >> 2]; + label$5: { + if (!$3) { + break label$5; + } + $3 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const($3), $5); + if (($4 | 0) == ($3 | 0)) { + break label$5; + } + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($1, $3), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + HEAP32[$6 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = 0; + $3 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____size_28_29($1); + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] - 1; + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______2c_20true_____good_rval_ref_type_29($0, std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________upcast_28_29($2), std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20bool_29($7 + 8 | 0, std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______node_alloc_28_29($1), 1)); + __stack_pointer = $7 + 16 | 0; +} + +function jpeg_idct_16x16($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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, $29 = 0, $30 = 0; + $29 = __stack_pointer - 512 | 0; + __stack_pointer = $29; + $30 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $29; while (1) { - if ((i2 | 0) == 3) break; - i3 = 0; - while (1) { - if ((i3 | 0) == 6) break; - i4 = i6 + (i2 * 48 | 0) + (i3 << 3) | 0; - HEAPF64[i4 >> 3] = 0.0; - i1 = 0; - d5 = 0.0; - while (1) { - if ((i1 | 0) == 12) break; - d14 = d5 + +HEAPF64[i7 + (i2 * 96 | 0) + (i1 << 3) >> 3] * +HEAPF64[i8 + (i1 * 48 | 0) + (i3 << 3) >> 3]; - HEAPF64[i4 >> 3] = d14; - i1 = i1 + 1 | 0; - d5 = d14; - } - i3 = i3 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - STACKTOP = i9; - return; -} - -function _minv(i1, i12, i13) { - i1 = i1 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i14 = 0, i15 = 0, d16 = 0.0, i17 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 2e3 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2e3); - i14 = i15; - L1 : do if ((i12 | 0) > 500) i1 = 0; else { - switch (i12 | 0) { - case 0: - { - i1 = 0; - break L1; - } - case 1: - { - HEAPF64[i1 >> 3] = 1.0 / +HEAPF64[i1 >> 3]; - break L1; - } - default: - {} + $8 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $10 = Math_imul(HEAP32[$1 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $15 = Math_imul($8 + $10 | 0, 11086); + $14 = Math_imul(HEAP32[$1 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $12 = Math_imul(HEAP32[$1 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $9 = $14 - $12 | 0; + $21 = Math_imul($9, 11363); + $13 = $21 + Math_imul($12, 20995) | 0; + $5 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $7 = Math_imul(HEAP32[$1 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $22 = Math_imul($7, 10703); + $23 = $5 + $22 | 0; + $16 = $13 + $23 | 0; + $6 = Math_imul(HEAP32[$1 + 224 >> 2], HEAP16[$2 + 112 >> 1]); + $26 = Math_imul($10 + $6 | 0, 8956); + $11 = Math_imul(HEAP32[$1 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $17 = $11 + $10 | 0; + $19 = Math_imul($17, 10217); + $18 = $26 + ($19 + (Math_imul($10, -18730) + $15 | 0) | 0) | 0; + HEAP32[$0 + 480 >> 2] = $16 - $18 >> 11; + HEAP32[$0 >> 2] = $16 + $18 >> 11; + $9 = Math_imul($9, 2260); + $16 = $9 + Math_imul($14, 7373) | 0; + $7 = Math_imul($7, 4433); + $18 = $7 + $5 | 0; + $24 = $16 + $18 | 0; + $27 = $6 + $8 | 0; + $28 = Math_imul($27, -5461); + $25 = Math_imul($8, 589) + $15 | 0; + $15 = Math_imul($8 + $11 | 0, 1136); + $25 = $28 + ($25 + $15 | 0) | 0; + HEAP32[$0 + 448 >> 2] = $24 - $25 >> 11; + HEAP32[$0 + 32 >> 2] = $24 + $25 >> 11; + $14 = Math_imul($14, -4926) + $21 | 0; + $21 = $5 - $7 | 0; + $7 = $14 + $21 | 0; + $19 = (Math_imul($11, -9222) + $15 | 0) + $19 | 0; + $15 = Math_imul($6 + $11 | 0, -11086); + $19 = $19 + $15 | 0; + HEAP32[$0 + 416 >> 2] = $7 - $19 >> 11; + HEAP32[$0 + 64 >> 2] = $7 + $19 >> 11; + $5 = $5 - $22 | 0; + $12 = Math_imul($12, -4176) + $9 | 0; + $9 = $5 + $12 | 0; + $7 = ((Math_imul($6, 8728) + $28 | 0) + $26 | 0) + $15 | 0; + HEAP32[$0 + 384 >> 2] = $9 - $7 >> 11; + HEAP32[$0 + 96 >> 2] = $9 + $7 >> 11; + $5 = $5 - $12 | 0; + $9 = Math_imul($10 - $6 | 0, 7350); + $12 = Math_imul($27, -10217); + $7 = $9 + ($12 + Math_imul($6, 25733) | 0) | 0; + $6 = Math_imul($6 - $11 | 0, 3363); + $7 = $7 + $6 | 0; + HEAP32[$0 + 352 >> 2] = $5 - $7 >> 11; + HEAP32[$0 + 128 >> 2] = $5 + $7 >> 11; + $5 = $21 - $14 | 0; + $14 = Math_imul($11 - $8 | 0, 11529); + $7 = $14 + Math_imul($11, -6278) | 0; + $11 = Math_imul($17, 5461); + $6 = ($7 + $11 | 0) + $6 | 0; + HEAP32[$0 + 320 >> 2] = $5 - $6 >> 11; + HEAP32[$0 + 160 >> 2] = $5 + $6 >> 11; + $6 = $18 - $16 | 0; + $5 = Math_imul($10 - $8 | 0, 3363); + $8 = (($5 + Math_imul($8, 16154) | 0) + $14 | 0) + $12 | 0; + HEAP32[$0 + 288 >> 2] = $6 - $8 >> 11; + HEAP32[$0 + 192 >> 2] = $6 + $8 >> 11; + $8 = $23 - $13 | 0; + $10 = ((Math_imul($10, -15038) + $5 | 0) + $11 | 0) + $9 | 0; + HEAP32[$0 + 256 >> 2] = $8 - $10 >> 11; + HEAP32[$0 + 224 >> 2] = $8 + $10 >> 11; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + $20 = $20 + 1 | 0; + if (($20 | 0) != 8) { + continue; } - i2 = 0; - while (1) { - if ((i2 | 0) >= (i12 | 0)) break; - HEAP32[i14 + (i2 << 2) >> 2] = i2; - i2 = i2 + 1 | 0; + break; + } + $0 = $30 - 384 | 0; + $1 = $29; + $14 = 0; + while (1) { + $8 = HEAP32[$1 + 12 >> 2]; + $10 = HEAP32[$1 + 4 >> 2]; + $9 = Math_imul($8 + $10 | 0, 11086); + $2 = HEAP32[($14 << 2) + $3 >> 2] + $4 | 0; + $12 = HEAP32[$1 + 8 >> 2]; + $20 = HEAP32[$1 + 24 >> 2]; + $23 = $12 - $20 | 0; + $16 = Math_imul($23, 11363); + $15 = $16 + Math_imul($20, 20995) | 0; + $5 = (HEAP32[$1 >> 2] << 13) + 134348800 | 0; + $17 = HEAP32[$1 + 16 >> 2]; + $19 = Math_imul($17, 10703); + $26 = $5 + $19 | 0; + $18 = $15 + $26 | 0; + $6 = HEAP32[$1 + 28 >> 2]; + $7 = Math_imul($10 + $6 | 0, 8956); + $11 = HEAP32[$1 + 20 >> 2]; + $21 = $11 + $10 | 0; + $13 = Math_imul($21, 10217); + $22 = $7 + ($13 + (Math_imul($10, -18730) + $9 | 0) | 0) | 0; + HEAP8[$2 | 0] = HEAPU8[($18 + $22 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 15 | 0] = HEAPU8[($18 - $22 >>> 18 & 1023) + $0 | 0]; + $22 = $6 + $8 | 0; + $18 = Math_imul($22, -5461); + $24 = Math_imul($8, 589) + $9 | 0; + $9 = Math_imul($8 + $11 | 0, 1136); + $24 = $18 + ($24 + $9 | 0) | 0; + $23 = Math_imul($23, 2260); + $27 = $23 + Math_imul($12, 7373) | 0; + $17 = Math_imul($17, 4433); + $28 = $17 + $5 | 0; + $25 = $27 + $28 | 0; + HEAP8[$2 + 1 | 0] = HEAPU8[($24 + $25 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 14 | 0] = HEAPU8[($25 - $24 >>> 18 & 1023) + $0 | 0]; + $13 = (Math_imul($11, -9222) + $9 | 0) + $13 | 0; + $9 = Math_imul($6 + $11 | 0, -11086); + $13 = $13 + $9 | 0; + $12 = Math_imul($12, -4926) + $16 | 0; + $16 = $5 - $17 | 0; + $17 = $12 + $16 | 0; + HEAP8[$2 + 2 | 0] = HEAPU8[($13 + $17 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 13 | 0] = HEAPU8[($17 - $13 >>> 18 & 1023) + $0 | 0]; + $9 = ((Math_imul($6, 8728) + $18 | 0) + $7 | 0) + $9 | 0; + $5 = $5 - $19 | 0; + $20 = Math_imul($20, -4176) + $23 | 0; + $13 = $5 + $20 | 0; + HEAP8[$2 + 3 | 0] = HEAPU8[($9 + $13 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 12 | 0] = HEAPU8[($13 - $9 >>> 18 & 1023) + $0 | 0]; + $13 = Math_imul($10 - $6 | 0, 7350); + $9 = Math_imul($22, -10217); + $5 = $5 - $20 | 0; + $7 = $13 + ($9 + Math_imul($6, 25733) | 0) | 0; + $6 = Math_imul($6 - $11 | 0, 3363); + $7 = $7 + $6 | 0; + HEAP8[$2 + 4 | 0] = HEAPU8[($5 + $7 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 11 | 0] = HEAPU8[($5 - $7 >>> 18 & 1023) + $0 | 0]; + $5 = Math_imul($11 - $8 | 0, 11529); + $7 = $5 + Math_imul($11, -6278) | 0; + $11 = Math_imul($21, 5461); + $6 = ($7 + $11 | 0) + $6 | 0; + $12 = $16 - $12 | 0; + HEAP8[$2 + 5 | 0] = HEAPU8[($6 + $12 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 10 | 0] = HEAPU8[($12 - $6 >>> 18 & 1023) + $0 | 0]; + $6 = Math_imul($10 - $8 | 0, 3363); + $8 = (($6 + Math_imul($8, 16154) | 0) + $5 | 0) + $9 | 0; + $5 = $28 - $27 | 0; + HEAP8[$2 + 6 | 0] = HEAPU8[($8 + $5 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 9 | 0] = HEAPU8[($5 - $8 >>> 18 & 1023) + $0 | 0]; + $8 = ((Math_imul($10, -15038) + $6 | 0) + $11 | 0) + $13 | 0; + $10 = $26 - $15 | 0; + HEAP8[$2 + 7 | 0] = HEAPU8[($8 + $10 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 8 | 0] = HEAPU8[($10 - $8 >>> 18 & 1023) + $0 | 0]; + $1 = $1 + 32 | 0; + $14 = $14 + 1 | 0; + if (($14 | 0) != 16) { + continue; } - i11 = i1 + (i12 + -1 << 3) | 0; - i8 = 0; - i10 = i11; - while (1) { - if ((i8 | 0) >= (i12 | 0)) break; - i9 = i1 + ((Math_imul(i8, i13) | 0) << 3) | 0; - d7 = 0.0; - i2 = i9; - i5 = -1; - i3 = i8; - while (1) { - if ((i3 | 0) == (i12 | 0)) break; - d16 = +Math_abs(+(+HEAPF64[i2 >> 3])); - i6 = d7 < d16; - d7 = i6 ? d16 : d7; - i2 = i2 + (i13 << 3) | 0; - i5 = i6 ? i3 : i5; - i3 = i3 + 1 | 0; - } - if ((i5 | 0) == -1 | d7 <= 1.0e-10) { - i1 = 0; - break L1; - } - i2 = i14 + (i5 << 2) | 0; - i4 = HEAP32[i2 >> 2] | 0; - i3 = i14 + (i8 << 2) | 0; - HEAP32[i2 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = i4; - i3 = 0; - i4 = i9; - i2 = i1 + ((Math_imul(i5, i13) | 0) << 3) | 0; - while (1) { - if ((i3 | 0) == (i12 | 0)) break; - d16 = +HEAPF64[i2 >> 3]; - HEAPF64[i2 >> 3] = +HEAPF64[i4 >> 3]; - HEAPF64[i4 >> 3] = d16; - i3 = i3 + 1 | 0; - i4 = i4 + 8 | 0; - i2 = i2 + 8 | 0; - } - d7 = +HEAPF64[i9 >> 3]; - i2 = 1; - i3 = i9; - while (1) { - if ((i2 | 0) == (i12 | 0)) break; - i6 = i3 + 8 | 0; - HEAPF64[i3 >> 3] = +HEAPF64[i6 >> 3] / d7; - i2 = i2 + 1 | 0; - i3 = i6; - } - HEAPF64[i10 >> 3] = 1.0 / d7; - i2 = 0; - i6 = i11; - while (1) { - if ((i2 | 0) == (i12 | 0)) break; - if ((i2 | 0) != (i8 | 0)) { - i5 = i1 + ((Math_imul(i2, i13) | 0) << 3) | 0; - d7 = +HEAPF64[i5 >> 3]; - i3 = i9; - i4 = 1; - while (1) { - if ((i4 | 0) == (i12 | 0)) break; - i17 = i5 + 8 | 0; - HEAPF64[i5 >> 3] = +HEAPF64[i17 >> 3] - d7 * +HEAPF64[i3 >> 3]; - i3 = i3 + 8 | 0; - i4 = i4 + 1 | 0; - i5 = i17; - } - HEAPF64[i6 >> 3] = -(d7 * +HEAPF64[i10 >> 3]); - } - i2 = i2 + 1 | 0; - i6 = i6 + (i13 << 3) | 0; + break; + } + __stack_pointer = $29 + 512 | 0; +} + +function get_sof($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = HEAP32[$0 + 24 >> 2]; + $4 = HEAP32[$6 + 4 >> 2]; + $5 = HEAP32[$6 >> 2]; + HEAP32[$0 + 228 >> 2] = $3; + HEAP32[$0 + 224 >> 2] = $2; + HEAP32[$0 + 220 >> 2] = $1; + label$1: { + if (!$4) { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$1; + } + $5 = HEAP32[$6 >> 2]; + $4 = HEAP32[$6 + 4 >> 2]; + } + $2 = HEAPU8[$5 | 0]; + $3 = $4 - 1 | 0; + if ($3) { + $4 = $5 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$1; } - i8 = i8 + 1 | 0; - i10 = i10 + (i13 << 3) | 0; + $3 = HEAP32[$6 + 4 >> 2]; + $4 = HEAP32[$6 >> 2]; } - i6 = 0; - while (1) { - if ((i6 | 0) >= (i12 | 0)) break L1; - i5 = i6; - while (1) { - i2 = i14 + (i5 << 2) | 0; - if ((i5 | 0) >= (i12 | 0)) break; - if ((HEAP32[i2 >> 2] | 0) == (i6 | 0)) break; - i5 = i5 + 1 | 0; - } - HEAP32[i2 >> 2] = HEAP32[i14 + (i6 << 2) >> 2]; - i3 = 0; - i4 = i1 + (i6 << 3) | 0; - i2 = i1 + (i5 << 3) | 0; - while (1) { - if ((i3 | 0) >= (i12 | 0)) break; - d16 = +HEAPF64[i2 >> 3]; - HEAPF64[i2 >> 3] = +HEAPF64[i4 >> 3]; - HEAPF64[i4 >> 3] = d16; - i3 = i3 + 1 | 0; - i4 = i4 + (i13 << 3) | 0; - i2 = i2 + (i13 << 3) | 0; - } - i6 = i6 + 1 | 0; - } - } while (0); - STACKTOP = i15; - return i1 | 0; -} - -function _read_markers(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0; - i3 = i2 + 416 | 0; - i4 = i2 + 440 | 0; - i1 = HEAP32[i3 >> 2] | 0; - L1 : while (1) { - if (!i1) { - if (!(HEAP32[(HEAP32[i4 >> 2] | 0) + 12 >> 2] | 0)) { - if (!(_first_marker(i2) | 0)) { - i1 = 0; - break; - } - } else if (!(_next_marker(i2) | 0)) { - i1 = 0; - break; + $1 = HEAPU8[$4 | 0]; + $5 = $3 - 1 | 0; + if ($5) { + $4 = $4 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$1; } - i1 = HEAP32[i3 >> 2] | 0; + $5 = HEAP32[$6 + 4 >> 2]; + $4 = HEAP32[$6 >> 2]; } - do switch (i1 | 0) { - case 218: - { - i5 = 14; - break L1; - } - case 217: - { - i5 = 16; - break L1; - } - case 216: - { - _get_soi(i2); - break; - } - case 193: - case 192: - { - if (!(_get_sof(i2, 0, 0) | 0)) { - i1 = 0; - break L1; - } - break; - } - case 194: - { - if (!(_get_sof(i2, 1, 0) | 0)) { - i1 = 0; - break L1; - } - break; - } - case 201: - { - if (!(_get_sof(i2, 0, 1) | 0)) { - i1 = 0; - break L1; - } - break; - } - case 202: - { - if (!(_get_sof(i2, 1, 1) | 0)) { - i1 = 0; - break L1; - } - break; + HEAP32[$0 + 212 >> 2] = HEAPU8[$4 | 0]; + $5 = $5 - 1 | 0; + if ($5) { + $4 = $4 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$1; } - case 207: - case 206: - case 205: - case 203: - case 200: - case 199: - case 198: - case 197: - case 195: - { - i6 = HEAP32[i2 >> 2] | 0; - HEAP32[i6 + 20 >> 2] = 60; - HEAP32[i6 + 24 >> 2] = i1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i2 >> 2] >> 2] & 255](i2); - break; + $5 = HEAP32[$6 + 4 >> 2]; + $4 = HEAP32[$6 >> 2]; + } + $3 = HEAPU8[$4 | 0] << 8; + HEAP32[$0 + 32 >> 2] = $3; + $5 = $5 - 1 | 0; + if ($5) { + $4 = $4 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$1; } - case 204: - { - if (!(_skip_variable(i2) | 0)) { - i1 = 0; - break L1; - } - break; + $3 = HEAP32[$0 + 32 >> 2]; + $5 = HEAP32[$6 + 4 >> 2]; + $4 = HEAP32[$6 >> 2]; + } + HEAP32[$0 + 32 >> 2] = HEAPU8[$4 | 0] + $3; + $5 = $5 - 1 | 0; + if ($5) { + $4 = $4 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$1; } - case 196: - { - if (!(_get_dht(i2) | 0)) { - i1 = 0; - break L1; - } - break; + $5 = HEAP32[$6 + 4 >> 2]; + $4 = HEAP32[$6 >> 2]; + } + $3 = HEAPU8[$4 | 0] << 8; + HEAP32[$0 + 28 >> 2] = $3; + $5 = $5 - 1 | 0; + if ($5) { + $4 = $4 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$1; } - case 219: - { - if (!(_get_dqt(i2) | 0)) { - i1 = 0; - break L1; + $3 = HEAP32[$0 + 28 >> 2]; + $5 = HEAP32[$6 + 4 >> 2]; + $4 = HEAP32[$6 >> 2]; + } + HEAP32[$0 + 28 >> 2] = HEAPU8[$4 | 0] + $3; + $3 = $5 - 1 | 0; + if ($3) { + $5 = $4 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$1; + } + $3 = HEAP32[$6 + 4 >> 2]; + $5 = HEAP32[$6 >> 2]; + } + $2 = $2 << 8 | $1; + HEAP32[$0 + 36 >> 2] = HEAPU8[$5 | 0]; + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 24 >> 2] = HEAP32[$0 + 440 >> 2]; + HEAP32[$4 + 28 >> 2] = HEAP32[$0 + 28 >> 2]; + HEAP32[$4 + 32 >> 2] = HEAP32[$0 + 32 >> 2]; + $1 = HEAP32[$0 + 36 >> 2]; + HEAP32[$4 + 20 >> 2] = 102; + HEAP32[$4 + 36 >> 2] = $1; + FUNCTION_TABLE[HEAP32[$4 + 4 >> 2]]($0, 1); + if (HEAP32[HEAP32[$0 + 464 >> 2] + 16 >> 2]) { + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 61; + FUNCTION_TABLE[HEAP32[$4 >> 2]]($0); + } + $2 = $2 - 8 | 0; + label$18: { + if (!(!HEAP32[$0 + 32 >> 2] | !HEAP32[$0 + 28 >> 2])) { + $4 = HEAP32[$0 + 36 >> 2]; + if (($4 | 0) > 0) { + break label$18; + } + } + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 33; + FUNCTION_TABLE[HEAP32[$4 >> 2]]($0); + $4 = HEAP32[$0 + 36 >> 2]; + } + if ((Math_imul($4, 3) | 0) != ($2 | 0)) { + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 12; + FUNCTION_TABLE[HEAP32[$4 >> 2]]($0); + } + if (!HEAP32[$0 + 216 >> 2]) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, Math_imul(HEAP32[$0 + 36 >> 2], 88)) | 0, + HEAP32[wasm2js_i32$0 + 216 >> 2] = wasm2js_i32$1; + } + $7 = $5 + 1 | 0; + $4 = $3 - 1 | 0; + if (HEAP32[$0 + 36 >> 2] > 0) { + $3 = 0; + while (1) { + if (!$4) { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$1; + } + $7 = HEAP32[$6 >> 2]; + $4 = HEAP32[$6 + 4 >> 2]; + } + $10 = $4 - 1 | 0; + $1 = HEAP32[$0 + 216 >> 2]; + $2 = HEAPU8[$7 | 0]; + label$25: { + if (!$3) { + $4 = $1; + break label$25; + } + $9 = $3 - 2 | 0; + $8 = $3 - 1 | 0; + $12 = $1 + $11 | 0; + $5 = 0; + $4 = $1; + while (1) { + if (HEAP32[$4 >> 2] == ($2 | 0)) { + $4 = $1 + 88 | 0; + $5 = HEAP32[$1 >> 2]; + if ($3 >>> 0 >= 2) { + $13 = $8 & 3; + if ($9 >>> 0 >= 3) { + $15 = $8 & -4; + $2 = 0; + while (1) { + $1 = HEAP32[$4 + 264 >> 2]; + $8 = HEAP32[$4 + 176 >> 2]; + $9 = HEAP32[$4 + 88 >> 2]; + $14 = HEAP32[$4 >> 2]; + $5 = ($5 | 0) < ($14 | 0) ? $14 : $5; + $5 = ($5 | 0) < ($9 | 0) ? $9 : $5; + $5 = ($5 | 0) < ($8 | 0) ? $8 : $5; + $5 = ($1 | 0) > ($5 | 0) ? $1 : $5; + $4 = $4 + 352 | 0; + $2 = $2 + 4 | 0; + if (($15 | 0) != ($2 | 0)) { + continue; + } + break; + } + } + $2 = 0; + if ($13) { + while (1) { + $1 = HEAP32[$4 >> 2]; + $5 = ($1 | 0) > ($5 | 0) ? $1 : $5; + $4 = $4 + 88 | 0; + $2 = $2 + 1 | 0; + if (($13 | 0) != ($2 | 0)) { + continue; + } + break; + } + } + $4 = $12; + } + $2 = $5 + 1 | 0; + break label$25; + } + $4 = $4 + 88 | 0; + $5 = $5 + 1 | 0; + if (($5 | 0) != ($3 | 0)) { + continue; + } + break; + } + $4 = $12; } - break; - } - case 221: - { - if (!(_get_dri(i2) | 0)) { - i1 = 0; - break L1; + HEAP32[$4 + 4 >> 2] = $3; + HEAP32[$4 >> 2] = $2; + if ($10) { + $5 = $7 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$1; + } + $10 = HEAP32[$6 + 4 >> 2]; + $5 = HEAP32[$6 >> 2]; + } + $2 = HEAPU8[$5 | 0]; + HEAP32[$4 + 12 >> 2] = $2 & 15; + HEAP32[$4 + 8 >> 2] = $2 >>> 4; + $1 = $10 - 1 | 0; + if ($1) { + $2 = $5 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$6 + 12 >> 2]]($0) | 0)) { + break label$1; + } + $1 = HEAP32[$6 + 4 >> 2]; + $2 = HEAP32[$6 >> 2]; + } + HEAP32[$4 + 16 >> 2] = HEAPU8[$2 | 0]; + $5 = HEAP32[$0 >> 2]; + HEAP32[$5 + 24 >> 2] = HEAP32[$4 >> 2]; + HEAP32[$5 + 28 >> 2] = HEAP32[$4 + 8 >> 2]; + HEAP32[$5 + 32 >> 2] = HEAP32[$4 + 12 >> 2]; + $4 = HEAP32[$4 + 16 >> 2]; + HEAP32[$5 + 20 >> 2] = 103; + HEAP32[$5 + 36 >> 2] = $4; + FUNCTION_TABLE[HEAP32[$5 + 4 >> 2]]($0, 1); + $11 = $11 + 88 | 0; + $7 = $2 + 1 | 0; + $4 = $1 - 1 | 0; + $3 = $3 + 1 | 0; + if (($3 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; } break; } - case 239: - case 238: - case 237: - case 236: - case 235: - case 234: - case 233: - case 232: - case 231: - case 230: - case 229: - case 228: - case 227: - case 226: - case 225: - case 224: - { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 32 + (i1 + -224 << 2) >> 2] & 127](i2) | 0)) { - i1 = 0; - break L1; + } + HEAP32[HEAP32[$0 + 464 >> 2] + 16 >> 2] = 1; + HEAP32[$6 + 4 >> 2] = $4; + HEAP32[$6 >> 2] = $7; + return 1; + } + return 0; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________swap_out_circular_buffer_28std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, $1) { + var $2 = 0; + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______value_20___20is_move_assignable_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______value_2c_20void___type_20std____2__swap_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, $2); + std____2__enable_if_is_move_constructible_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______value_20___20is_move_assignable_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______value_2c_20void___type_20std____2__swap_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______value_20___20is_move_assignable_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______value_2c_20void___type_20std____2__swap_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________end_cap_28_29($0), std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________annotate_new_28unsigned_20long_29_20const($0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______size_28_29_20const($0)); + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________invalidate_all_iterators_28_29($0); +} + +function get_global_id_code($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0; + $8 = __stack_pointer - 176 | 0; + __stack_pointer = $8; + HEAP32[$8 + 152 >> 2] = 195; + HEAP32[$8 + 156 >> 2] = 13; + HEAP32[$8 + 144 >> 2] = 0; + HEAP32[$8 + 148 >> 2] = 182; + $12 = 255; + while (1) { + if (($5 | 0) != 4) { + $6 = HEAPU8[HEAP32[($8 + 144 | 0) + ($5 << 2) >> 2] + $0 | 0]; + $12 = $12 & 255; + $12 = $6 >>> 0 < $12 >>> 0 ? $6 : $12; + $7 = $7 & 255; + $7 = $6 >>> 0 > $7 >>> 0 ? $6 : $7; + $5 = $5 + 1 | 0; + continue; + } + break; + } + $5 = $7 & 255; + $6 = $12 & 255; + label$3: { + if (($5 - $6 | 0) <= 29) { + HEAP32[$2 >> 2] = 0; + HEAP32[$3 >> 2] = 0; + HEAP32[$3 + 4 >> 2] = -1074790400; + $0 = -2; + break label$3; + } + $15 = $5 + $6 >>> 1 | 0; + $6 = 0; + $5 = 0; + label$5: { + label$6: { + label$7: { + label$8: { + while (1) { + if (($5 | 0) == 4) { + label$11: { + label$12: { + label$13: { + while (1) { + $12 = $6; + if (($6 | 0) == 4) { + break label$13; + } + $6 = $12 + 1 | 0; + if (HEAPU8[($8 + 172 | 0) + ($12 + 2 & 3) | 0] | (HEAPU8[($8 + 172 | 0) + $12 | 0] != 1 | HEAPU8[($8 + 172 | 0) + ($6 & 3) | 0] != 1)) { + continue; + } + break; + } + $13 = 119; + $6 = 13; + $11 = 255; + label$15: { + $7 = $12; + switch ($7 | 0) { + case 3: + break label$11; + + case 0: + break label$12; + + case 1: + break label$7; + + case 2: + break label$8; + + default: + break label$15; + } + } + HEAP32[$2 >> 2] = $12; + $16 = 1; + break label$5; + } + HEAP32[$2 >> 2] = 0; + HEAP32[$3 >> 2] = 0; + HEAP32[$3 + 4 >> 2] = -1074790400; + $0 = -3; + break label$3; + } + while (1) { + if (($7 | 0) == 14) { + break label$6; + } + $14 = Math_imul($7, 14); + $9 = $7 & 2147483646; + $5 = 0; + while (1) { + if (($5 | 0) != 14) { + label$19: { + if (!($7 >>> 0 < 3 | $5 - 3 >>> 0 > 7) & $7 >>> 0 < 11) { + break label$19; + } + $6 = $5 & 2147483646; + if (!$6 & $7 >>> 0 < 2) { + break label$19; + } + $10 = ($9 | 0) == 12; + if ($10 & !$6 | ($6 | 0) == 12 & $10) { + break label$19; + } + $6 = HEAPU8[($5 + $14 | 0) + $0 | 0] - $15 | 0; + HEAP8[$8 + $13 | 0] = $6 >>> 31; + $10 = $6 >> 31; + $6 = ($10 ^ $6) - $10 | 0; + $11 = ($6 | 0) < ($11 | 0) ? $6 : $11; + $13 = $13 - 1 | 0; + } + $5 = $5 + 1 | 0; + continue; + } + break; + } + $7 = $7 + 1 | 0; + continue; + } + } + } else { + HEAP8[($8 + 172 | 0) + $5 | 0] = HEAPU8[HEAP32[($8 + 144 | 0) + ($5 << 2) >> 2] + $0 | 0] < $15 >>> 0; + $5 = $5 + 1 | 0; + continue; + } + break; + } + while (1) { + $5 = 0; + if (($6 | 0) < 0) { + break label$6; + } + $7 = $6 & -2; + $10 = $6 - 3 | 0; + while (1) { + if (($5 | 0) != 14) { + label$24: { + if (!($5 >>> 0 < 3 | $10 >>> 0 > 7) & $5 >>> 0 < 11) { + break label$24; + } + $9 = $5 >>> 0 < 2; + if (!$7 & ($5 & 2147483646) == 12 | ($9 & ($7 | 0) == 12 | !$7 & $9)) { + break label$24; + } + $9 = HEAPU8[(Math_imul($5, 14) + $6 | 0) + $0 | 0] - $15 | 0; + HEAP8[$8 + $13 | 0] = $9 >>> 31; + $14 = $9 >> 31; + $9 = ($14 ^ $9) - $14 | 0; + $11 = ($11 | 0) > ($9 | 0) ? $9 : $11; + $13 = $13 - 1 | 0; + } + $5 = $5 + 1 | 0; + continue; + } + break; + } + $6 = $6 - 1 | 0; + continue; + } + } + while (1) { + if (($6 | 0) < 0) { + break label$6; + } + $17 = Math_imul($6, 14); + $14 = $6 & -2; + $5 = 13; + while (1) { + if (($5 | 0) >= 0) { + label$28: { + if (!($6 >>> 0 < 3 | $5 - 3 >>> 0 > 7) & $6 >>> 0 < 11) { + break label$28; + } + $10 = $5 & -2; + $7 = ($10 | 0) == 12; + if ($7 & ($14 | 0) == 12) { + break label$28; + } + $9 = $6 >>> 0 < 2; + if ($9 & $7 | !$10 & $9) { + break label$28; + } + $7 = HEAPU8[($5 + $17 | 0) + $0 | 0] - $15 | 0; + HEAP8[$8 + $13 | 0] = $7 >>> 31; + $10 = $7 >> 31; + $7 = ($10 ^ $7) - $10 | 0; + $11 = ($7 | 0) < ($11 | 0) ? $7 : $11; + $13 = $13 - 1 | 0; + } + $5 = $5 - 1 | 0; + continue; + } + break; + } + $6 = $6 - 1 | 0; + continue; + } } - break; - } - case 254: - { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 127](i2) | 0)) { - i1 = 0; - break L1; + while (1) { + if (($14 | 0) == 14) { + break label$6; + } + $10 = $14 & 2147483646; + $7 = $14 - 3 | 0; + $5 = 13; + while (1) { + if (($5 | 0) >= 0) { + label$32: { + if (!($5 >>> 0 < 3 | $7 >>> 0 > 7) & $5 >>> 0 < 11) { + break label$32; + } + $6 = $5 & -2; + if (!$10 & ($6 | 0) == 12) { + break label$32; + } + $9 = ($10 | 0) == 12; + if ($9 & ($6 | 0) == 12 | $5 >>> 0 < 2 & $9) { + break label$32; + } + $6 = HEAPU8[(Math_imul($5, 14) + $14 | 0) + $0 | 0] - $15 | 0; + HEAP8[$8 + $13 | 0] = $6 >>> 31; + $9 = $6 >> 31; + $6 = ($9 ^ $6) - $9 | 0; + $11 = ($6 | 0) < ($11 | 0) ? $6 : $11; + $13 = $13 - 1 | 0; + } + $5 = $5 - 1 | 0; + continue; + } + break; + } + $14 = $14 + 1 | 0; + continue; } - break; - } - case 1: - case 215: - case 214: - case 213: - case 212: - case 211: - case 210: - case 209: - case 208: - { - i6 = HEAP32[i2 >> 2] | 0; - HEAP32[i6 + 20 >> 2] = 92; - HEAP32[i6 + 24 >> 2] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 4 >> 2] & 63](i2, 1); - break; } - case 220: - { - if (!(_skip_variable(i2) | 0)) { - i1 = 0; - break L1; - } - break; + HEAP32[$2 >> 2] = $12; + $16 = 1; + if (($11 | 0) > 30) { + break label$5; } - default: - { - i6 = HEAP32[i2 >> 2] | 0; - HEAP32[i6 + 20 >> 2] = 68; - HEAP32[i6 + 24 >> 2] = i1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i2 >> 2] >> 2] & 255](i2); - } - } while (0); - HEAP32[i3 >> 2] = 0; - i1 = 0; - } - if ((i5 | 0) == 14) if (!(_get_sos(i2) | 0)) i1 = 0; else { - HEAP32[i3 >> 2] = 0; - i1 = 1; - } else if ((i5 | 0) == 16) { - i1 = HEAP32[i2 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 85; - FUNCTION_TABLE_vii[HEAP32[i1 + 4 >> 2] & 63](i2, 1); - HEAP32[i3 >> 2] = 0; - i1 = 2; - } - return i1 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertIPKcEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr38__libcpp_string_gets_noexcept_iteratorISC_EE5valueENS_11__wrap_iterIPcEEE4typeENSD_ISA_EESC_SC_(i1, i4, i3, i14) { - i1 = i1 | 0; - i4 = i4 | 0; - i3 = i3 | 0; - i14 = i14 | 0; - var i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i15 = 0, i16 = 0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i12 = i16 + 16 | 0; - i8 = i16 + 4 | 0; - i9 = i16; - i15 = i1 + 11 | 0; - i2 = HEAP8[i15 >> 0] | 0; - i6 = i2 << 24 >> 24 < 0; - if (i6) i5 = HEAP32[i1 >> 2] | 0; else i5 = i1; - i7 = HEAP32[i4 >> 2] | 0; - i13 = i7 - i5 | 0; - i11 = i14 - i3 | 0; - do if (!i11) i10 = 27; else { - if (i6) { - i4 = HEAP32[i1 >> 2] | 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - } else { - i4 = i1; - i2 = i2 & 255; - } - if (__ZNSt3__214__ptr_in_rangeIcEEbPKT_S3_S3_(i3, i4, i4 + i2 | 0) | 0) { - HEAP32[i8 >> 2] = 0; - HEAP32[i8 + 4 >> 2] = 0; - HEAP32[i8 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(i8, i3, i14); - HEAP32[i9 >> 2] = i7; - i15 = HEAP8[i8 + 11 >> 0] | 0; - i13 = i15 << 24 >> 24 < 0; - i14 = i13 ? HEAP32[i8 >> 2] | 0 : i8; - i15 = i14 + (i13 ? HEAP32[i8 + 4 >> 2] | 0 : i15 & 255) | 0; - HEAP32[i12 >> 2] = HEAP32[i9 >> 2]; - i1 = __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertIPKcEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr38__libcpp_string_gets_noexcept_iteratorISC_EE5valueENS_11__wrap_iterIPcEEE4typeENSD_ISA_EESC_SC_(i1, i12, i14, i15) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - break; - } - i2 = HEAP8[i15 >> 0] | 0; - i4 = i2 << 24 >> 24 < 0; - if (i4) { - i5 = HEAP32[i1 + 4 >> 2] | 0; - i2 = (HEAP32[i1 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - i5 = i2 & 255; - i2 = 10; + $16 = +($11 | 0) / 30; } - if ((i2 - i5 | 0) >>> 0 >= i11 >>> 0) { - if (i4) i4 = HEAP32[i1 >> 2] | 0; else i4 = i1; - i2 = i5 - i13 | 0; - if (i2) { - i10 = i4 + i13 | 0; - __ZNSt3__211char_traitsIcE4moveEPcPKcm(i10 + i11 | 0, i10, i2) | 0; - } - } else { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9__grow_byEmmmmmm(i1, i2, i5 + i11 - i2 | 0, i5, i13, i11); - i4 = HEAP32[i1 >> 2] | 0; - } - i2 = i5 + i11 | 0; - if ((HEAP8[i15 >> 0] | 0) < 0) HEAP32[i1 + 4 >> 2] = i2; else HEAP8[i15 >> 0] = i2; - HEAP8[i12 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i4 + i2 | 0, i12); - i2 = i4 + i13 | 0; - while (1) { - if ((i3 | 0) == (i14 | 0)) break; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i3); - i3 = i3 + 1 | 0; - i2 = i2 + 1 | 0; - } - i2 = HEAP8[i15 >> 0] | 0; - i10 = 27; - } while (0); - if ((i10 | 0) == 27) { - if (i2 << 24 >> 24 < 0) i1 = HEAP32[i1 >> 2] | 0; - i1 = i1 + i13 | 0; - } - STACKTOP = i16; - return i1 | 0; -} - -function __ZNSt3__2L12utf8_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE(i1, i10, i11, i2, i12, i13, i14, i3) { - i1 = i1 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i2 = i2 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - HEAP32[i11 >> 2] = i1; - HEAP32[i13 >> 2] = i2; - if (i3 & 4) { - i1 = HEAP32[i11 >> 2] | 0; - i2 = i10; - if ((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == -17 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == -69 : 0) ? (HEAP8[i1 + 2 >> 0] | 0) == -65 : 0) HEAP32[i11 >> 2] = i1 + 3; - } else i2 = i10; - L9 : while (1) { - i8 = HEAP32[i11 >> 2] | 0; - if (i8 >>> 0 >= i10 >>> 0) { - i1 = 0; - break; + HEAPF64[$3 >> 3] = $16; + $5 = decode_bch(2830, 0, 0, $8, $8 + 136 | 0); + $0 = -4; + if (($5 | 0) < 0) { + break label$3; } - i9 = HEAP32[i13 >> 2] | 0; - if (i9 >>> 0 >= i12 >>> 0) { - i1 = 1; - break; + if ($4) { + HEAP32[$4 >> 2] = $5; } - i6 = HEAP8[i8 >> 0] | 0; - i1 = i6 & 255; - do if (i6 << 24 >> 24 > -1) if (i1 >>> 0 > i14 >>> 0) { - i1 = 2; - break L9; - } else i3 = 1; else { - if ((i6 & 255) < 194) { - i1 = 2; - break L9; - } - if ((i6 & 255) < 224) { - if ((i2 - i8 | 0) < 2) { - i1 = 1; - break L9; - } - i3 = HEAPU8[i8 + 1 >> 0] | 0; - if ((i3 & 192 | 0) != 128) { - i1 = 2; - break L9; - } - i1 = i3 & 63 | i1 << 6 & 1984; - if (i1 >>> 0 > i14 >>> 0) { - i1 = 2; - break L9; - } else { - i3 = 2; - break; + $3 = HEAP32[$8 + 140 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$8 + 136 >> 2]; + HEAP32[$1 + 4 >> 2] = $3; + $0 = 0; + } + __stack_pointer = $8 + 176 | 0; + $5 = $0; + return $5; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBracedExpr_28_29($0) { + var $1 = 0, $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + label$3: { + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) != 100) { + break label$3; } - } - if ((i6 & 255) < 240) { - if ((i2 - i8 | 0) < 3) { - i1 = 1; - break L9; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + if (($1 | 0) != 88) { + if (($1 | 0) != 120) { + if (($1 | 0) != 105) { + break label$3; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSourceName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0); + HEAP32[$2 + 12 >> 2] = $1; + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBracedExpr_28_29($0); + HEAP32[$2 + 8 >> 2] = $1; + if (!$1) { + break label$2; + } + HEAP8[$2 + 4 | 0] = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__BracedExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool___29($0, $2 + 12 | 0, $2 + 8 | 0, $2 + 4 | 0); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$2 + 12 >> 2] = $1; + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBracedExpr_28_29($0); + HEAP32[$2 + 8 >> 2] = $1; + if (!$1) { + break label$2; + } + HEAP8[$2 + 4 | 0] = 1; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__BracedExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool___29($0, $2 + 12 | 0, $2 + 8 | 0, $2 + 4 | 0); + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$2 + 12 >> 2] = $1; + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$2 + 8 >> 2] = $1; + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBracedExpr_28_29($0); + HEAP32[$2 + 4 >> 2] = $1; + if (!$1) { + break label$2; + } + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__BracedRangeExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2 + 12 | 0, $2 + 8 | 0, $2 + 4 | 0); + break label$1; + } + $0 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + break label$1; + } + $0 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function jpeg_idct_float($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = Math_fround(0), $7 = Math_fround(0), $8 = Math_fround(0), $9 = Math_fround(0), $10 = Math_fround(0), $11 = Math_fround(0), $12 = Math_fround(0), $13 = Math_fround(0), $14 = 0, $15 = Math_fround(0), $16 = Math_fround(0), $17 = Math_fround(0), $18 = Math_fround(0), $19 = Math_fround(0), $20 = Math_fround(0), $21 = 0, $22 = 0, $23 = Math_fround(0), $24 = 0; + $21 = __stack_pointer - 256 | 0; + __stack_pointer = $21; + $24 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $21; + $14 = 8; + while (1) { + label$2: { + label$3: { + $5 = HEAPU16[$2 + 32 >> 1]; + $22 = HEAPU16[$2 + 16 >> 1]; + if ($5 | $22) { + break label$3; + } + $5 = 0; + if (HEAPU16[$2 + 48 >> 1] | HEAPU16[$2 + 64 >> 1] | (HEAPU16[$2 + 80 >> 1] | HEAPU16[$2 + 96 >> 1])) { + break label$3; + } + if (HEAPU16[$2 + 112 >> 1]) { + break label$3; + } + $7 = Math_fround(HEAPF32[$1 >> 2] * Math_fround(HEAP16[$2 >> 1])); + HEAPF32[$0 + 192 >> 2] = $7; + HEAPF32[$0 + 160 >> 2] = $7; + HEAPF32[$0 + 128 >> 2] = $7; + HEAPF32[$0 + 96 >> 2] = $7; + HEAPF32[$0 + 64 >> 2] = $7; + HEAPF32[$0 + 32 >> 2] = $7; + HEAPF32[$0 >> 2] = $7; + $5 = 56; + break label$2; + } + $8 = Math_fround(HEAPF32[$1 >> 2] * Math_fround(HEAP16[$2 >> 1])); + $9 = Math_fround(HEAPF32[$1 + 128 >> 2] * Math_fround(HEAP16[$2 + 64 >> 1])); + $15 = Math_fround($8 + $9); + $10 = Math_fround(HEAPF32[$1 + 64 >> 2] * Math_fround($5 << 16 >> 16)); + $11 = Math_fround(HEAPF32[$1 + 192 >> 2] * Math_fround(HEAP16[$2 + 96 >> 1])); + $7 = Math_fround($10 + $11); + $12 = Math_fround($15 + $7); + $13 = Math_fround(HEAPF32[$1 + 96 >> 2] * Math_fround(HEAP16[$2 + 48 >> 1])); + $16 = Math_fround(HEAPF32[$1 + 160 >> 2] * Math_fround(HEAP16[$2 + 80 >> 1])); + $17 = Math_fround($13 + $16); + $18 = Math_fround(HEAPF32[$1 + 32 >> 2] * Math_fround($22 << 16 >> 16)); + $19 = Math_fround(HEAPF32[$1 + 224 >> 2] * Math_fround(HEAP16[$2 + 112 >> 1])); + $20 = Math_fround($18 + $19); + $6 = Math_fround($17 + $20); + HEAPF32[$0 + 224 >> 2] = $12 - $6; + HEAPF32[$0 >> 2] = $12 + $6; + $8 = Math_fround($8 - $9); + $9 = Math_fround(Math_fround(Math_fround($10 - $11) * Math_fround(1.4142135381698608)) - $7); + $10 = Math_fround($8 + $9); + $11 = Math_fround($16 - $13); + $12 = Math_fround($18 - $19); + $13 = Math_fround(Math_fround($11 + $12) * Math_fround(1.8477590084075928)); + $6 = Math_fround(Math_fround($13 + Math_fround($11 * Math_fround(-2.613126039505005))) - $6); + HEAPF32[$0 + 192 >> 2] = $10 - $6; + HEAPF32[$0 + 32 >> 2] = $10 + $6; + $8 = Math_fround($8 - $9); + $6 = Math_fround(Math_fround(Math_fround($20 - $17) * Math_fround(1.4142135381698608)) - $6); + HEAPF32[$0 + 160 >> 2] = $8 - $6; + HEAPF32[$0 + 64 >> 2] = $8 + $6; + $7 = Math_fround($15 - $7); + $6 = Math_fround(Math_fround($13 + Math_fround($12 * Math_fround(-1.0823922157287598))) - $6); + HEAPF32[$0 + 96 >> 2] = $7 + $6; + $7 = Math_fround($7 - $6); + $5 = 32; + } + HEAPF32[($5 << 2) + $0 >> 2] = $7; + $2 = $2 + 2 | 0; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $5 = $14 >>> 0 > 1; + $14 = $14 - 1 | 0; + if ($5) { + continue; + } + break; + } + $0 = $24 - 384 | 0; + $2 = $21; + $14 = 0; + while (1) { + $1 = HEAP32[($14 << 2) + $3 >> 2] + $4 | 0; + $8 = Math_fround(HEAPF32[$2 >> 2] + Math_fround(512.5)); + $9 = HEAPF32[$2 + 16 >> 2]; + $15 = Math_fround($8 + $9); + $10 = HEAPF32[$2 + 8 >> 2]; + $11 = HEAPF32[$2 + 24 >> 2]; + $7 = Math_fround($10 + $11); + $12 = Math_fround($15 + $7); + $13 = HEAPF32[$2 + 20 >> 2]; + $16 = HEAPF32[$2 + 12 >> 2]; + $17 = Math_fround($13 + $16); + $18 = HEAPF32[$2 + 4 >> 2]; + $19 = HEAPF32[$2 + 28 >> 2]; + $20 = Math_fround($18 + $19); + $6 = Math_fround($17 + $20); + $23 = Math_fround($12 + $6); + label$5: { + if (Math_fround(Math_abs($23)) < Math_fround(2147483648)) { + $5 = ~~$23; + break label$5; + } + $5 = -2147483648; + } + HEAP8[$1 | 0] = HEAPU8[($5 & 1023) + $0 | 0]; + $12 = Math_fround($12 - $6); + label$7: { + if (Math_fround(Math_abs($12)) < Math_fround(2147483648)) { + $5 = ~~$12; + break label$7; + } + $5 = -2147483648; + } + HEAP8[$1 + 7 | 0] = HEAPU8[($5 & 1023) + $0 | 0]; + $8 = Math_fround($8 - $9); + $9 = Math_fround(Math_fround(Math_fround($10 - $11) * Math_fround(1.4142135381698608)) - $7); + $10 = Math_fround($8 + $9); + $11 = Math_fround($13 - $16); + $12 = Math_fround($18 - $19); + $13 = Math_fround(Math_fround($11 + $12) * Math_fround(1.8477590084075928)); + $6 = Math_fround(Math_fround($13 + Math_fround($11 * Math_fround(-2.613126039505005))) - $6); + $11 = Math_fround($10 + $6); + label$9: { + if (Math_fround(Math_abs($11)) < Math_fround(2147483648)) { + $5 = ~~$11; + break label$9; + } + $5 = -2147483648; + } + HEAP8[$1 + 1 | 0] = HEAPU8[($5 & 1023) + $0 | 0]; + $10 = Math_fround($10 - $6); + label$11: { + if (Math_fround(Math_abs($10)) < Math_fround(2147483648)) { + $5 = ~~$10; + break label$11; + } + $5 = -2147483648; + } + HEAP8[$1 + 6 | 0] = HEAPU8[($5 & 1023) + $0 | 0]; + $8 = Math_fround($8 - $9); + $6 = Math_fround(Math_fround(Math_fround($20 - $17) * Math_fround(1.4142135381698608)) - $6); + $9 = Math_fround($8 + $6); + label$13: { + if (Math_fround(Math_abs($9)) < Math_fround(2147483648)) { + $5 = ~~$9; + break label$13; + } + $5 = -2147483648; + } + HEAP8[$1 + 2 | 0] = HEAPU8[($5 & 1023) + $0 | 0]; + $8 = Math_fround($8 - $6); + label$15: { + if (Math_fround(Math_abs($8)) < Math_fround(2147483648)) { + $5 = ~~$8; + break label$15; + } + $5 = -2147483648; + } + HEAP8[$1 + 5 | 0] = HEAPU8[($5 & 1023) + $0 | 0]; + $7 = Math_fround($15 - $7); + $6 = Math_fround(Math_fround($13 + Math_fround($12 * Math_fround(-1.0823922157287598))) - $6); + $8 = Math_fround($7 + $6); + label$17: { + if (Math_fround(Math_abs($8)) < Math_fround(2147483648)) { + $5 = ~~$8; + break label$17; + } + $5 = -2147483648; + } + HEAP8[$1 + 3 | 0] = HEAPU8[($5 & 1023) + $0 | 0]; + $7 = Math_fround($7 - $6); + label$19: { + if (Math_fround(Math_abs($7)) < Math_fround(2147483648)) { + $5 = ~~$7; + break label$19; + } + $5 = -2147483648; + } + HEAP8[$1 + 4 | 0] = HEAPU8[($5 & 1023) + $0 | 0]; + $2 = $2 + 32 | 0; + $14 = $14 + 1 | 0; + if (($14 | 0) != 8) { + continue; + } + break; + } + __stack_pointer = $21 + 256 | 0; +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________annotate_delete_28_29_20const($0) { + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0), std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________capacity_28_29_20const($0), 12) | 0, std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________size_28_29_20const($0), 12) | 0, std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________capacity_28_29_20const($0), 12) | 0); +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________construct_node_hash_std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28unsigned_20long_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4, $5) { + var $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + $1 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________node_alloc_28_29($1); + $0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______2c_20true_____good_rval_ref_type_29($0, std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______allocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20unsigned_20long_29($1, 1), std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20bool_29($6 + 8 | 0, $1, 0)); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______construct_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple___2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($1, std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int________get_ptr_28std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_____29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29_20const($0) + 8 | 0), $3, $4, $5); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______get_deleter_28_29($0), + wasm2js_i32$1 = 1, HEAP8[wasm2js_i32$0 + 4 | 0] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29_20const($0), + wasm2js_i32$1 = $2, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29_20const($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $6 + 16 | 0; +} + +function ar2GetBestMatchingSubFine($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = Math_fround(0), $18 = 0; + $10 = HEAP32[$3 + 24 >> 2]; + label$1: { + if (!(!(1 << $2 & 28704) | $2 >>> 0 > 14)) { + $2 = HEAP32[$3 + 16 >> 2]; + $9 = 0 - $2 | 0; + $8 = HEAP32[$3 + 20 >> 2] + 1 | 0; + $18 = ($8 | 0) < ($9 | 0) ? $9 : $8; + $8 = HEAP32[$3 + 8 >> 2]; + $13 = 0 - $8 | 0; + $7 = HEAP32[$3 + 12 >> 2] + 1 | 0; + $16 = ($7 | 0) < ($13 | 0) ? $13 : $7; + $5 = (($4 - ($8 << 1) | 0) + Math_imul($5 - ($2 << 1) | 0, $1) | 0) + $0 | 0; + $1 = $1 << 1; + while (1) { + $2 = $13; + $8 = $5; + if (($9 | 0) == ($18 | 0)) { + break label$1; } - i4 = HEAP8[i8 + 1 >> 0] | 0; - i3 = HEAP8[i8 + 2 >> 0] | 0; - switch (i6 << 24 >> 24) { - case -32: - { - if ((i4 & -32) << 24 >> 24 != -96) { - i1 = 2; - break L9; + while (1) { + if (($2 | 0) != ($16 | 0)) { + $11 = HEAPU16[$10 >> 1]; + if (($11 | 0) != 4096) { + $7 = HEAPU8[$8 | 0]; + $12 = $12 + $7 | 0; + $15 = Math_imul($7, $11) + $15 | 0; + $14 = Math_imul($7, $7) + $14 | 0; } - break; + $2 = $2 + 1 | 0; + $10 = $10 + 2 | 0; + $8 = $8 + 2 | 0; + continue; } - case -19: - { - if ((i4 & -32) << 24 >> 24 != -128) { - i1 = 2; - break L9; + break; + } + $9 = $9 + 1 | 0; + $5 = $1 + $5 | 0; + continue; + } + } + if ($2 >>> 0 <= 1) { + $9 = 0 - HEAP32[$3 + 16 >> 2] | 0; + $2 = HEAP32[$3 + 20 >> 2] + 1 | 0; + $13 = ($2 | 0) < ($9 | 0) ? $9 : $2; + while (1) { + if (($9 | 0) == ($13 | 0)) { + break label$1; + } + $2 = HEAP32[$3 + 8 >> 2]; + $8 = 0 - $2 | 0; + $7 = HEAP32[$3 + 12 >> 2] + 1 | 0; + $16 = ($8 | 0) > ($7 | 0) ? $8 : $7; + $2 = Math_imul((Math_imul(($9 << 1) + $5 | 0, $1) + $4 | 0) - ($2 << 1) | 0, 3) + $0 | 0; + while (1) { + if (($8 | 0) != ($16 | 0)) { + $11 = HEAPU16[$10 >> 1]; + if (($11 | 0) != 4096) { + $7 = (HEAPU8[$2 + 2 | 0] + (HEAPU8[$2 + 1 | 0] + HEAPU8[$2 | 0] | 0) >>> 0) / 3 | 0; + $12 = $12 + $7 | 0; + $15 = Math_imul($7, $11) + $15 | 0; + $14 = Math_imul($7, $7) + $14 | 0; } - break; - } - default: - if ((i4 & -64) << 24 >> 24 != -128) { - i1 = 2; - break L9; + $8 = $8 + 1 | 0; + $10 = $10 + 2 | 0; + $2 = $2 + 6 | 0; + continue; } - } - i3 = i3 & 255; - if ((i3 & 192 | 0) != 128) { - i1 = 2; - break L9; - } - i1 = (i4 & 63) << 6 | i1 << 12 & 61440 | i3 & 63; - if (i1 >>> 0 > i14 >>> 0) { - i1 = 2; - break L9; - } else { - i3 = 3; break; } + $9 = $9 + 1 | 0; + continue; } - if ((i6 & 255) >= 245) { - i1 = 2; - break L9; - } - if ((i2 - i8 | 0) < 4) { - i1 = 1; - break L9; - } - i7 = HEAP8[i8 + 1 >> 0] | 0; - i3 = HEAP8[i8 + 2 >> 0] | 0; - i5 = HEAP8[i8 + 3 >> 0] | 0; - switch (i6 << 24 >> 24) { - case -16: - { - if ((i7 + 112 & 255) >= 48) { - i1 = 2; - break L9; + } + if (($2 & -2) == 2) { + $9 = 0 - HEAP32[$3 + 16 >> 2] | 0; + $2 = HEAP32[$3 + 20 >> 2] + 1 | 0; + $13 = ($2 | 0) < ($9 | 0) ? $9 : $2; + while (1) { + if (($9 | 0) == ($13 | 0)) { + break label$1; + } + $2 = HEAP32[$3 + 8 >> 2]; + $8 = 0 - $2 | 0; + $7 = HEAP32[$3 + 12 >> 2] + 1 | 0; + $16 = ($8 | 0) > ($7 | 0) ? $8 : $7; + $2 = ((Math_imul(($9 << 1) + $5 | 0, $1) + $4 | 0) - ($2 << 1) << 2) + $0 | 0; + while (1) { + if (($8 | 0) != ($16 | 0)) { + $11 = HEAPU16[$10 >> 1]; + if (($11 | 0) != 4096) { + $7 = (HEAPU8[$2 + 2 | 0] + (HEAPU8[$2 + 1 | 0] + HEAPU8[$2 | 0] | 0) >>> 0) / 3 | 0; + $12 = $12 + $7 | 0; + $15 = Math_imul($7, $11) + $15 | 0; + $14 = Math_imul($7, $7) + $14 | 0; + } + $8 = $8 + 1 | 0; + $10 = $10 + 2 | 0; + $2 = $2 + 8 | 0; + continue; } break; } - case -12: - { - if ((i7 & -16) << 24 >> 24 != -128) { - i1 = 2; - break L9; + $9 = $9 + 1 | 0; + continue; + } + } + if (($2 & -3) == 4) { + $9 = 0 - HEAP32[$3 + 16 >> 2] | 0; + $2 = HEAP32[$3 + 20 >> 2] + 1 | 0; + $13 = ($2 | 0) < ($9 | 0) ? $9 : $2; + while (1) { + if (($9 | 0) == ($13 | 0)) { + break label$1; + } + $2 = HEAP32[$3 + 8 >> 2]; + $8 = 0 - $2 | 0; + $7 = HEAP32[$3 + 12 >> 2] + 1 | 0; + $16 = ($8 | 0) > ($7 | 0) ? $8 : $7; + $2 = ((Math_imul(($9 << 1) + $5 | 0, $1) + $4 | 0) - ($2 << 1) << 2) + $0 | 0; + while (1) { + if (($8 | 0) != ($16 | 0)) { + $11 = HEAPU16[$10 >> 1]; + if (($11 | 0) != 4096) { + $7 = (HEAPU8[$2 + 3 | 0] + (HEAPU8[$2 + 2 | 0] + HEAPU8[$2 + 1 | 0] | 0) >>> 0) / 3 | 0; + $12 = $12 + $7 | 0; + $15 = Math_imul($7, $11) + $15 | 0; + $14 = Math_imul($7, $7) + $14 | 0; + } + $8 = $8 + 1 | 0; + $10 = $10 + 2 | 0; + $2 = $2 + 8 | 0; + continue; } break; } - default: - if ((i7 & -64) << 24 >> 24 != -128) { - i1 = 2; - break L9; - } - } - i4 = i3 & 255; - if ((i4 & 192 | 0) != 128) { - i1 = 2; - break L9; - } - i3 = i5 & 255; - if ((i3 & 192 | 0) != 128) { - i1 = 2; - break L9; - } - i1 = (i7 & 63) << 12 | i1 << 18 & 1835008 | i4 << 6 & 4032 | i3 & 63; - if (i1 >>> 0 > i14 >>> 0) { - i1 = 2; - break L9; - } else i3 = 4; - } while (0); - HEAP32[i9 >> 2] = i1; - HEAP32[i11 >> 2] = i8 + i3; - HEAP32[i13 >> 2] = (HEAP32[i13 >> 2] | 0) + 4; - } - return i1 | 0; -} - -function _decompress_onepass(i18, i19) { - i18 = i18 | 0; - i19 = i19 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i27 = 0, i28 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0; - i29 = HEAP32[i18 + 428 >> 2] | 0; - i31 = (HEAP32[i18 + 348 >> 2] | 0) + -1 | 0; - i32 = i18 + 320 | 0; - i33 = (HEAP32[i32 >> 2] | 0) + -1 | 0; - i20 = i29 + 24 | 0; - i21 = i29 + 28 | 0; - i22 = i29 + 20 | 0; - i23 = i29 + 32 | 0; - i24 = i18 + 356 | 0; - i25 = i18 + 444 | 0; - i26 = i18 + 328 | 0; - i27 = i18 + 448 | 0; - i28 = i18 + 148 | 0; - i16 = HEAP32[i20 >> 2] | 0; - L1 : while (1) { - if ((i16 | 0) >= (HEAP32[i21 >> 2] | 0)) { - i34 = 22; - break; + $9 = $9 + 1 | 0; + continue; + } } - i17 = HEAP32[i22 >> 2] | 0; - while (1) { - if (i17 >>> 0 > i31 >>> 0) break; - _jzero_far(HEAP32[i23 >> 2] | 0, HEAP32[i24 >> 2] << 7); - if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[i25 >> 2] | 0) + 4 >> 2] & 63](i18, i23) | 0)) { - i34 = 6; - break L1; - } - i30 = i17 >>> 0 < i31 >>> 0; - i1 = 0; - i15 = 0; - while (1) { - if ((i15 | 0) >= (HEAP32[i26 >> 2] | 0)) break; - i7 = HEAP32[i18 + 332 + (i15 << 2) >> 2] | 0; - L11 : do if (!(HEAP32[i7 + 48 >> 2] | 0)) i1 = (HEAP32[i7 + 60 >> 2] | 0) + i1 | 0; else { - i5 = HEAP32[i7 + 4 >> 2] | 0; - i8 = HEAP32[(HEAP32[i27 >> 2] | 0) + 4 + (i5 << 2) >> 2] | 0; - i9 = i7 + 52 | 0; - i10 = HEAP32[(i30 ? i9 : i7 + 68 | 0) >> 2] | 0; - i11 = i7 + 36 | 0; - i2 = HEAP32[i11 >> 2] | 0; - i5 = (HEAP32[i19 + (i5 << 2) >> 2] | 0) + ((Math_imul(i2, i16) | 0) << 2) | 0; - i12 = Math_imul(HEAP32[i7 + 64 >> 2] | 0, i17) | 0; - i13 = i7 + 56 | 0; - i14 = i7 + 72 | 0; - i6 = 0; - while (1) { - if ((i6 | 0) >= (HEAP32[i13 >> 2] | 0)) break L11; - if (!((HEAP32[i28 >> 2] | 0) >>> 0 >= i33 >>> 0 ? (i6 + i16 | 0) >= (HEAP32[i14 >> 2] | 0) : 0)) i34 = 15; - L19 : do if ((i34 | 0) == 15) { - i34 = 0; - i3 = i12; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i10 | 0)) break L19; - FUNCTION_TABLE_viiiii[i8 & 31](i18, i7, HEAP32[i29 + 32 + (i4 + i1 << 2) >> 2] | 0, i5, i3); - i2 = HEAP32[i11 >> 2] | 0; - i3 = i2 + i3 | 0; - i4 = i4 + 1 | 0; - } - } while (0); - i5 = i5 + (i2 << 2) | 0; - i6 = i6 + 1 | 0; - i1 = (HEAP32[i9 >> 2] | 0) + i1 | 0; - } - } while (0); - i15 = i15 + 1 | 0; - } - i17 = i17 + 1 | 0; - } - HEAP32[i22 >> 2] = 0; - i16 = i16 + 1 | 0; - } - do if ((i34 | 0) == 6) { - HEAP32[i20 >> 2] = i16; - HEAP32[i22 >> 2] = i17; - i1 = 0; - } else if ((i34 | 0) == 22) { - i34 = i18 + 156 | 0; - HEAP32[i34 >> 2] = (HEAP32[i34 >> 2] | 0) + 1; - i34 = (HEAP32[i28 >> 2] | 0) + 1 | 0; - HEAP32[i28 >> 2] = i34; - if (i34 >>> 0 < (HEAP32[i32 >> 2] | 0) >>> 0) { - _start_iMCU_row_28(i18); - i1 = 3; - break; - } else { - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i18 + 436 >> 2] | 0) + 12 >> 2] & 255](i18); - i1 = 4; - break; + label$22: { + switch ($2 - 7 | 0) { + case 0: + $9 = 0 - HEAP32[$3 + 16 >> 2] | 0; + $2 = HEAP32[$3 + 20 >> 2] + 1 | 0; + $13 = ($2 | 0) < ($9 | 0) ? $9 : $2; + while (1) { + if (($9 | 0) == ($13 | 0)) { + break label$1; + } + $8 = HEAP32[$3 + 8 >> 2]; + $2 = 0 - $8 | 0; + $7 = HEAP32[$3 + 12 >> 2] + 1 | 0; + $16 = ($2 | 0) > ($7 | 0) ? $2 : $7; + $8 = ((Math_imul(($9 << 1) + $5 | 0, $1) + $4 | 0) - ($8 << 1) << 1) + $0 | 0; + while (1) { + if (($2 | 0) != ($16 | 0)) { + $11 = HEAPU16[$10 >> 1]; + if (($11 | 0) != 4096) { + $7 = HEAPU8[$8 + 1 | 0]; + $12 = $12 + $7 | 0; + $15 = Math_imul($7, $11) + $15 | 0; + $14 = Math_imul($7, $7) + $14 | 0; + } + $2 = $2 + 1 | 0; + $10 = $10 + 2 | 0; + $8 = $8 + 4 | 0; + continue; + } + break; + } + $9 = $9 + 1 | 0; + continue; + } + ; + + case 1: + break label$22; + + default: + break label$1; + } } - } while (0); - return i1 | 0; -} - -function _pass2_fs_dither(i27, i28, i33, i40) { - i27 = i27 | 0; - i28 = i28 | 0; - i33 = i33 | 0; - i40 = i40 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i34 = 0, i35 = 0, i36 = 0, i37 = 0, i38 = 0, i39 = 0, i41 = 0, i42 = 0, i43 = 0; - i36 = HEAP32[i27 + 460 >> 2] | 0; - i41 = HEAP32[i36 + 24 >> 2] | 0; - i42 = HEAP32[i27 + 112 >> 2] | 0; - i29 = HEAP32[i27 + 324 >> 2] | 0; - i30 = HEAP32[i36 + 40 >> 2] | 0; - i34 = HEAP32[i27 + 136 >> 2] | 0; - i31 = HEAP32[i34 >> 2] | 0; - i32 = HEAP32[i34 + 4 >> 2] | 0; - i34 = HEAP32[i34 + 8 >> 2] | 0; - i35 = i36 + 36 | 0; - i36 = i36 + 32 | 0; - i37 = i42 + -1 | 0; - i38 = i37 * 3 | 0; - i39 = (i42 * 3 | 0) + 3 | 0; - i23 = 0; - while (1) { - if ((i23 | 0) >= (i40 | 0)) break; - i2 = HEAP32[i28 + (i23 << 2) >> 2] | 0; - i1 = HEAP32[i33 + (i23 << 2) >> 2] | 0; - if (!(HEAP32[i35 >> 2] | 0)) { - i24 = 3; - i25 = 1; - i26 = HEAP32[i36 >> 2] | 0; - i3 = 1; - } else { - i24 = -3; - i25 = -1; - i26 = (HEAP32[i36 >> 2] | 0) + (i39 << 1) | 0; - i1 = i1 + i37 | 0; - i2 = i2 + i38 | 0; - i3 = 0; - } - HEAP32[i35 >> 2] = i3; - i20 = i24 + 1 | 0; - i21 = i24 + 2 | 0; - i22 = Math_imul(i42, i24) | 0; - i3 = 0; - i4 = 0; - i5 = 0; - i12 = 0; - i13 = 0; - i14 = 0; - i15 = 0; - i16 = 0; - i17 = 0; - i18 = i42; - i19 = i26; + $9 = 0 - HEAP32[$3 + 16 >> 2] | 0; + $2 = HEAP32[$3 + 20 >> 2] + 1 | 0; + $13 = ($2 | 0) < ($9 | 0) ? $9 : $2; while (1) { - if (!i18) break; - i11 = i19 + (i24 << 1) | 0; - i10 = HEAPU8[i29 + ((HEAP32[i30 + (i3 + 8 + (HEAP16[i11 >> 1] | 0) >> 4 << 2) >> 2] | 0) + (HEAPU8[i2 >> 0] | 0)) >> 0] | 0; - i9 = HEAPU8[i29 + ((HEAP32[i30 + (i4 + 8 + (HEAP16[i19 + (i20 << 1) >> 1] | 0) >> 4 << 2) >> 2] | 0) + (HEAPU8[i2 + 1 >> 0] | 0)) >> 0] | 0; - i8 = HEAPU8[i29 + ((HEAP32[i30 + (i5 + 8 + (HEAP16[i19 + (i21 << 1) >> 1] | 0) >> 4 << 2) >> 2] | 0) + (HEAPU8[i2 + 2 >> 0] | 0)) >> 0] | 0; - i4 = i10 >>> 3; - i5 = i9 >>> 2; - i6 = i8 >>> 3; - i7 = (HEAP32[i41 + (i4 << 2) >> 2] | 0) + (i5 << 6) + (i6 << 1) | 0; - i3 = HEAP16[i7 >> 1] | 0; - if (!(i3 << 16 >> 16)) { - _fill_inverse_cmap(i27, i4, i5, i6); - i3 = HEAP16[i7 >> 1] | 0; - } - i7 = (i3 & 65535) + -1 | 0; - HEAP8[i1 >> 0] = i7; - i43 = i10 - (HEAPU8[i31 + i7 >> 0] | 0) | 0; - i6 = i9 - (HEAPU8[i32 + i7 >> 0] | 0) | 0; - i7 = i8 - (HEAPU8[i34 + i7 >> 0] | 0) | 0; - HEAP16[i19 >> 1] = (i43 * 3 | 0) + i15; - i8 = (i43 * 5 | 0) + i12 | 0; - HEAP16[i19 + 2 >> 1] = (i6 * 3 | 0) + i16; - i9 = (i6 * 5 | 0) + i13 | 0; - HEAP16[i19 + 4 >> 1] = (i7 * 3 | 0) + i17; - i10 = (i7 * 5 | 0) + i14 | 0; - i3 = i43 * 7 | 0; - i4 = i6 * 7 | 0; - i5 = i7 * 7 | 0; - i12 = i43; - i13 = i6; - i14 = i7; - i15 = i8; - i16 = i9; - i17 = i10; - i18 = i18 + -1 | 0; - i19 = i11; - i1 = i1 + i25 | 0; - i2 = i2 + i24 | 0; - } - i43 = i26 + (i22 << 1) | 0; - HEAP16[i43 >> 1] = i15; - HEAP16[i43 + 2 >> 1] = i16; - HEAP16[i43 + 4 >> 1] = i17; - i23 = i23 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_120parse_ctor_dtor_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i8) { - i1 = i1 | 0; - i2 = i2 | 0; - i8 = i8 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i9 = i10 + 40 | 0; - i4 = i10 + 24 | 0; - i5 = i10; - i6 = i10 + 12 | 0; - L1 : do if ((i2 - i1 | 0) > 1 ? (i7 = i8 + 4 | 0, i3 = HEAP32[i7 >> 2] | 0, (HEAP32[i8 >> 2] | 0) != (i3 | 0)) : 0) { - switch (HEAP8[i1 >> 0] | 0) { - case 67: - { - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 53: - case 51: - case 50: - case 49: - break; - default: - break L1; - } - __ZN10__cxxabiv112_GLOBAL__N_19base_nameINSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEEEET_RS9_(i4, i3 + -24 | 0); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i9, i4); - i2 = HEAP32[i7 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i8 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i2, i9); - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i8, i9); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i4); - HEAP8[i8 + 60 >> 0] = 1; - i1 = i1 + 2 | 0; - break L1; - } - case 68: - break; - default: - break L1; + if (($9 | 0) == ($13 | 0)) { + break label$1; + } + $8 = HEAP32[$3 + 8 >> 2]; + $2 = 0 - $8 | 0; + $7 = HEAP32[$3 + 12 >> 2] + 1 | 0; + $16 = ($2 | 0) > ($7 | 0) ? $2 : $7; + $8 = ((Math_imul(($9 << 1) + $5 | 0, $1) + $4 | 0) - ($8 << 1) << 1) + $0 | 0; + while (1) { + if (($2 | 0) != ($16 | 0)) { + $11 = HEAPU16[$10 >> 1]; + if (($11 | 0) != 4096) { + $7 = HEAPU8[$8 | 0]; + $12 = $12 + $7 | 0; + $15 = Math_imul($7, $11) + $15 | 0; + $14 = Math_imul($7, $7) + $14 | 0; + } + $2 = $2 + 1 | 0; + $10 = $10 + 2 | 0; + $8 = $8 + 4 | 0; + continue; + } + break; + } + $9 = $9 + 1 | 0; + continue; } - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 53: - case 50: - case 49: - case 48: - break; - default: - break L1; - } - __ZN10__cxxabiv112_GLOBAL__N_19base_nameINSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEEEET_RS9_(i6, i3 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i6, 0, 49739) | 0; - HEAP32[i5 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i5 + 4 >> 2] = HEAP32[i6 + 4 >> 2]; - HEAP32[i5 + 8 >> 2] = HEAP32[i6 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i6 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i9, i5); - i2 = HEAP32[i7 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i8 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i2, i9); - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i8, i9); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i5); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - HEAP8[i8 + 60 >> 0] = 1; - i1 = i1 + 2 | 0; - } while (0); - STACKTOP = i10; - return i1 | 0; -} - -function __ZNKSt3__28messagesIwE6do_getEliiRKNS_12basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEE(i18, i1, i8, i9, i10, i2) { - i18 = i18 | 0; - i1 = i1 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 176 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(176); - i13 = i17 + 168 | 0; - i14 = i17; - i15 = i17 + 164 | 0; - i16 = i17 + 160 | 0; - i11 = i17 + 128 | 0; - i6 = i17 + 152 | 0; - i12 = i17 + 144 | 0; - HEAP32[i11 >> 2] = 0; - HEAP32[i11 + 4 >> 2] = 0; - HEAP32[i11 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i6 + 4 >> 2] = 0; - HEAP32[i6 >> 2] = 16692; - i4 = HEAP8[i2 + 8 + 3 >> 0] | 0; - i5 = i4 << 24 >> 24 < 0; - i1 = i5 ? HEAP32[i2 >> 2] | 0 : i2; - i4 = i1 + ((i5 ? HEAP32[i2 + 4 >> 2] | 0 : i4 & 255) << 2) | 0; - i5 = i14 + 32 | 0; - i2 = i1; - i1 = 0; - while (1) { - if (!((i1 | 0) != 2 & i2 >>> 0 < i4 >>> 0)) break; - HEAP32[i16 >> 2] = i2; - i3 = FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 12 >> 2] & 15](i6, i13, i2, i4, i16, i14, i5, i15) | 0; - if ((i3 | 0) == 2 ? 1 : (HEAP32[i16 >> 2] | 0) == (i2 | 0)) { - i7 = 8; - break; + } + $10 = 0; + $2 = HEAP32[$3 + 36 >> 2]; + $8 = (Math_imul($12, $12) | 0) / ($2 | 0) | 0; + if (($14 | 0) != ($8 | 0)) { + $10 = Math_imul((Math_imul($15 - ((Math_imul(HEAP32[$3 + 32 >> 2], $12) | 0) / ($2 | 0) | 0) | 0, 100) | 0) / HEAP32[$3 + 28 >> 2] | 0, 100); + $17 = Math_fround(Math_sqrt(Math_fround($14 - $8 | 0))); + label$33: { + if (Math_fround(Math_abs($17)) < Math_fround(2147483648)) { + $2 = ~~$17; + break label$33; + } + $2 = -2147483648; } - i1 = i14; - while (1) { - if (i1 >>> 0 >= (HEAP32[i15 >> 2] | 0) >>> 0) break; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(i11, HEAP8[i1 >> 0] | 0); - i1 = i1 + 1 | 0; - } - i2 = HEAP32[i16 >> 2] | 0; - i1 = i3; - } - if ((i7 | 0) == 8) __ZNSt3__221__throw_runtime_errorEPKc(0); - __ZNSt3__26locale5facetD2Ev(i6); - i3 = (HEAP8[i11 + 11 >> 0] | 0) < 0 ? HEAP32[i11 >> 2] | 0 : i11; - i2 = _catgets((i8 | 0) == -1 ? -1 : i8 << 1, i9, i10, i3) | 0; - HEAP32[i18 >> 2] = 0; - HEAP32[i18 + 4 >> 2] = 0; - HEAP32[i18 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i18 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i12 + 4 >> 2] = 0; - HEAP32[i12 >> 2] = 16740; - i4 = i3 + (_strlen(i2) | 0) | 0; - i5 = i4; - i6 = i14 + 128 | 0; - i2 = i3; - i1 = 0; - while (1) { - if (!((i1 | 0) != 2 & i2 >>> 0 < i4 >>> 0)) { - i7 = 23; - break; + $10 = ($10 | 0) / ($2 | 0) | 0; + } + HEAP32[$6 >> 2] = $10; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________rehash_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = Math_fround(0), $5 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + label$1: { + if (($1 | 0) == 1) { + $1 = 2; + } else { + if (!($1 - 1 & $1)) { + break label$1; + } + $1 = std____2____next_prime_28unsigned_20long_29($1); } - HEAP32[i16 >> 2] = i2; - i3 = FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[i12 >> 2] | 0) + 16 >> 2] & 15](i12, i13, i2, (i5 - i2 | 0) > 32 ? i2 + 32 | 0 : i4, i16, i14, i6, i15) | 0; - if ((i3 | 0) == 2 ? 1 : (HEAP32[i16 >> 2] | 0) == (i2 | 0)) { - i7 = 19; - break; + HEAP32[$2 + 12 >> 2] = $1; + } + $3 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________bucket_count_28_29_20const($0); + label$4: { + if ($3 >>> 0 < $1 >>> 0) { + std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________rehash_28unsigned_20long_29($0, $1); + break label$4; } - i1 = i14; - while (1) { - if (i1 >>> 0 >= (HEAP32[i15 >> 2] | 0) >>> 0) break; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw(i18, HEAP32[i1 >> 2] | 0); - i1 = i1 + 4 | 0; + if ($1 >>> 0 >= $3 >>> 0) { + break label$4; + } + $1 = std____2____is_hash_power2_28unsigned_20long_29($3); + $4 = ceil_28float_29(Math_fround(Math_fround(HEAPU32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________size_28_29($0) >> 2]) / HEAPF32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________max_load_factor_28_29($0) >> 2])); + label$6: { + if ($4 < Math_fround(4294967296) & $4 >= Math_fround(0)) { + $5 = ~~$4 >>> 0; + break label$6; + } + $5 = 0; + } + label$8: { + if ($1) { + $1 = std____2____next_hash_pow2_28unsigned_20long_29($5); + break label$8; + } + $1 = std____2____next_prime_28unsigned_20long_29($5); } - i2 = HEAP32[i16 >> 2] | 0; - i1 = i3; + HEAP32[$2 + 8 >> 2] = $1; + $1 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 12 | 0, $2 + 8 | 0) >> 2]; + HEAP32[$2 + 12 >> 2] = $1; + if ($1 >>> 0 >= $3 >>> 0) { + break label$4; + } + std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________rehash_28unsigned_20long_29($0, $1); } - if ((i7 | 0) == 19) __ZNSt3__221__throw_runtime_errorEPKc(0); else if ((i7 | 0) == 23) { - __ZNSt3__26locale5facetD2Ev(i12); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i11); - STACKTOP = i17; - return; + __stack_pointer = $2 + 16 | 0; +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($4 | 0)) { + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________construct_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________alloc_28_29($0), std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______20std____2____to_address_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($1)); + $1 = $1 + 12 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; } } -function _master_selection(i6) { - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0; - i4 = HEAP32[i6 + 420 >> 2] | 0; - _jpeg_calc_output_dimensions(i6); - _prepare_range_limit_table(i6); - i1 = i6 + 120 | 0; - i7 = i4 + 12 | 0; - HEAP32[i7 >> 2] = 0; - i3 = _use_merged_upsample(i6) | 0; - i5 = i4 + 16 | 0; - HEAP32[i5 >> 2] = i3; - i3 = i4 + 20 | 0; - HEAP32[i3 >> 2] = 0; - i4 = i4 + 24 | 0; - HEAP32[i4 >> 2] = 0; - do if (!(HEAP32[i6 + 84 >> 2] | 0)) { - HEAP32[i6 + 100 >> 2] = 0; - HEAP32[i6 + 104 >> 2] = 0; - HEAP32[i6 + 108 >> 2] = 0; - i2 = i6 + 68 | 0; - } else { - if (!(HEAP32[i6 + 64 >> 2] | 0)) { - HEAP32[i6 + 100 >> 2] = 0; - HEAP32[i6 + 104 >> 2] = 0; - HEAP32[i6 + 108 >> 2] = 0; - } - i2 = i6 + 68 | 0; - if (HEAP32[i2 >> 2] | 0) { - i8 = HEAP32[i6 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 47; - FUNCTION_TABLE_vi[HEAP32[i8 >> 2] & 255](i6); - } - do if ((HEAP32[i1 >> 2] | 0) == 3) { - if (HEAP32[i6 + 136 >> 2] | 0) { - HEAP32[i6 + 104 >> 2] = 1; - break; +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______find_int__28int_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $4 = std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______hash_function_28_29($0), $1); + label$1: { + label$2: { + $5 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______bucket_count_28_29_20const($0); + if (!$5) { + break label$2; } - if (!(HEAP32[i6 + 92 >> 2] | 0)) { - HEAP32[i6 + 100 >> 2] = 1; - break; - } else { - HEAP32[i6 + 108 >> 2] = 1; + $6 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($4, $5); + $2 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $6) >> 2]; + if (!$2) { + break label$2; + } + while (1) { + $2 = HEAP32[$2 >> 2]; + if (!$2) { + break label$2; + } + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_28_29_20const($2) | 0) != ($4 | 0)) { + if ((std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_28_29_20const($2), $5) | 0) != ($6 | 0)) { + break label$2; + } + } + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_28_29_20const($2) | 0) != ($4 | 0)) { + continue; + } + if (!std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____20const__2c_20int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______key_eq_28_29($0), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________upcast_28_29($2) + 8 | 0, $1)) { + continue; + } break; } - } else { - HEAP32[i6 + 100 >> 2] = 1; - HEAP32[i6 + 104 >> 2] = 0; - HEAP32[i6 + 108 >> 2] = 0; - HEAP32[i6 + 136 >> 2] = 0; - } while (0); - if (HEAP32[i6 + 100 >> 2] | 0) { - _jinit_1pass_quantizer(i6); - HEAP32[i3 >> 2] = HEAP32[i6 + 460 >> 2]; - } - if ((HEAP32[i6 + 108 >> 2] | 0) == 0 ? (HEAP32[i6 + 104 >> 2] | 0) == 0 : 0) break; - _jinit_2pass_quantizer(i6); - HEAP32[i4 >> 2] = HEAP32[i6 + 460 >> 2]; - } while (0); - if (!(HEAP32[i2 >> 2] | 0)) { - if (!(HEAP32[i5 >> 2] | 0)) { - _jinit_color_deconverter(i6); - _jinit_upsampler(i6); - } else _jinit_merged_upsampler(i6); - _jinit_d_post_controller(i6, HEAP32[i6 + 108 >> 2] | 0); - } - _jinit_inverse_dct(i6); - do if (!(HEAP32[i6 + 224 >> 2] | 0)) if (!(HEAP32[i6 + 220 >> 2] | 0)) { - _jinit_huff_decoder(i6); - break; - } else { - _jinit_phuff_decoder(i6); - break; - } else { - i8 = HEAP32[i6 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 1; - FUNCTION_TABLE_vi[HEAP32[i8 >> 2] & 255](i6); - } while (0); - i3 = i6 + 436 | 0; - if (!(HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] | 0)) i1 = (HEAP32[i6 + 64 >> 2] | 0) != 0 & 1; else i1 = 1; - _jinit_d_coef_controller(i6, i1); - if (!(HEAP32[i2 >> 2] | 0)) _jinit_d_main_controller(i6, 0); - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i6 + 4 >> 2] | 0) + 24 >> 2] & 255](i6); - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i3 >> 2] | 0) + 8 >> 2] & 255](i6); - i1 = HEAP32[i6 + 8 >> 2] | 0; - if ((i1 | 0 ? (HEAP32[i6 + 64 >> 2] | 0) == 0 : 0) ? HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] | 0 : 0) { - i8 = HEAP32[i6 + 36 >> 2] | 0; - i8 = (HEAP32[i6 + 220 >> 2] | 0) == 0 ? i8 : (i8 * 3 | 0) + 2 | 0; - HEAP32[i1 + 4 >> 2] = 0; - i8 = Math_imul(i8, HEAP32[i6 + 320 >> 2] | 0) | 0; - HEAP32[i1 + 8 >> 2] = i8; - HEAP32[i1 + 12 >> 2] = 0; - HEAP32[i1 + 16 >> 2] = (HEAP32[i6 + 108 >> 2] | 0) == 0 ? 2 : 3; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + 1; - } - return; -} - -function _initial_setup_35(i15) { - i15 = i15 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0; - i14 = i15 + 32 | 0; - if (!((HEAP32[i14 >> 2] | 0) <= 65500 ? (HEAP32[i15 + 28 >> 2] | 0) <= 65500 : 0)) { - i13 = HEAP32[i15 >> 2] | 0; - HEAP32[i13 + 20 >> 2] = 41; - HEAP32[i13 + 24 >> 2] = 65500; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i15 >> 2] >> 2] & 255](i15); - } - i1 = HEAP32[i15 + 212 >> 2] | 0; - if ((i1 | 0) != 8) { - i13 = HEAP32[i15 >> 2] | 0; - HEAP32[i13 + 20 >> 2] = 15; - HEAP32[i13 + 24 >> 2] = i1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i15 >> 2] >> 2] & 255](i15); - } - i13 = i15 + 36 | 0; - i1 = HEAP32[i13 >> 2] | 0; - if ((i1 | 0) > 10) { - i8 = HEAP32[i15 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 26; - HEAP32[i8 + 24 >> 2] = i1; - HEAP32[(HEAP32[i15 >> 2] | 0) + 28 >> 2] = 10; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i15 >> 2] >> 2] & 255](i15); - i8 = i15; - } else i8 = i15; - i11 = i15 + 308 | 0; - HEAP32[i11 >> 2] = 1; - i12 = i15 + 312 | 0; - HEAP32[i12 >> 2] = 1; - i9 = i15 + 216 | 0; - i6 = HEAP32[i9 >> 2] | 0; - i7 = 0; - i2 = 1; - i3 = 1; - while (1) { - i1 = HEAP32[i13 >> 2] | 0; - if ((i7 | 0) >= (i1 | 0)) break; - i1 = i6 + 8 | 0; - i4 = HEAP32[i1 >> 2] | 0; - i5 = i6 + 12 | 0; - if ((i4 + -1 | 0) >>> 0 <= 3 ? (i10 = HEAP32[i5 >> 2] | 0, (i10 + -1 | 0) >>> 0 <= 3) : 0) i1 = i10; else { - i3 = HEAP32[i15 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 18; - FUNCTION_TABLE_vi[HEAP32[i3 >> 2] & 255](i8); - i3 = HEAP32[i11 >> 2] | 0; - i4 = HEAP32[i1 >> 2] | 0; - i2 = HEAP32[i12 >> 2] | 0; - i1 = HEAP32[i5 >> 2] | 0; - } - i3 = (i3 | 0) > (i4 | 0) ? i3 : i4; - HEAP32[i11 >> 2] = i3; - i2 = (i2 | 0) > (i1 | 0) ? i2 : i1; - HEAP32[i12 >> 2] = i2; - i6 = i6 + 84 | 0; - i7 = i7 + 1 | 0; - } - HEAP32[i15 + 316 >> 2] = 8; - i4 = i15 + 28 | 0; - i2 = HEAP32[i9 >> 2] | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i1 | 0)) break; - HEAP32[i2 + 36 >> 2] = 8; - i10 = i2 + 8 | 0; - i1 = Math_imul(HEAP32[i10 >> 2] | 0, HEAP32[i4 >> 2] | 0) | 0; - i1 = _jdiv_round_up(i1, HEAP32[i11 >> 2] << 3) | 0; - HEAP32[i2 + 28 >> 2] = i1; - i1 = i2 + 12 | 0; - i9 = Math_imul(HEAP32[i1 >> 2] | 0, HEAP32[i14 >> 2] | 0) | 0; - i9 = _jdiv_round_up(i9, HEAP32[i12 >> 2] << 3) | 0; - HEAP32[i2 + 32 >> 2] = i9; - i10 = Math_imul(HEAP32[i10 >> 2] | 0, HEAP32[i4 >> 2] | 0) | 0; - i10 = _jdiv_round_up(i10, HEAP32[i11 >> 2] | 0) | 0; - HEAP32[i2 + 40 >> 2] = i10; - i1 = Math_imul(HEAP32[i1 >> 2] | 0, HEAP32[i14 >> 2] | 0) | 0; - i1 = _jdiv_round_up(i1, HEAP32[i12 >> 2] | 0) | 0; - HEAP32[i2 + 44 >> 2] = i1; - HEAP32[i2 + 48 >> 2] = 1; - HEAP32[i2 + 76 >> 2] = 0; - i2 = i2 + 84 | 0; - i3 = i3 + 1 | 0; - i1 = HEAP32[i13 >> 2] | 0; - } - i14 = _jdiv_round_up(HEAP32[i14 >> 2] | 0, HEAP32[i12 >> 2] << 3) | 0; - HEAP32[i15 + 320 >> 2] = i14; - if ((HEAP32[i15 + 328 >> 2] | 0) < (HEAP32[i13 >> 2] | 0)) i1 = 1; else i1 = (HEAP32[i15 + 220 >> 2] | 0) != 0 & 1; - HEAP32[(HEAP32[i15 + 436 >> 2] | 0) + 16 >> 2] = i1; - return; -} - -function _h2v2_merged_upsample(i4, i1, i2, i3) { - i4 = i4 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i26 = 0; - i19 = HEAP32[i4 + 452 >> 2] | 0; - i21 = HEAP32[i4 + 324 >> 2] | 0; - i22 = HEAP32[i19 + 16 >> 2] | 0; - i17 = HEAP32[i19 + 20 >> 2] | 0; - i18 = HEAP32[i19 + 24 >> 2] | 0; - i19 = HEAP32[i19 + 28 >> 2] | 0; - i6 = HEAP32[i1 >> 2] | 0; - i20 = i2 << 1; - i5 = HEAP32[i6 + (i20 << 2) >> 2] | 0; - i20 = HEAP32[i6 + ((i20 | 1) << 2) >> 2] | 0; - i6 = HEAP32[(HEAP32[i1 + 4 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i16 = HEAP32[(HEAP32[i1 + 8 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i7 = HEAP32[i3 >> 2] | 0; - i9 = HEAP32[i3 + 4 >> 2] | 0; - i10 = i4 + 112 | 0; - i12 = HEAP32[i10 >> 2] | 0; - i11 = i12 >>> 1; - i8 = i11 * 6 | 0; - i13 = i7 + i8 | 0; - i12 = i12 & -2; - i14 = i5 + i12 | 0; - i15 = i6 + i11 | 0; - i1 = i11; - i2 = i16; - i3 = i6; - i4 = i20; - i6 = i9; - while (1) { - if (!i1) break; - i24 = HEAPU8[i3 >> 0] | 0; - i25 = HEAPU8[i2 >> 0] | 0; - i26 = HEAP32[i22 + (i25 << 2) >> 2] | 0; - i25 = (HEAP32[i18 + (i25 << 2) >> 2] | 0) + (HEAP32[i19 + (i24 << 2) >> 2] | 0) >> 16; - i24 = HEAP32[i17 + (i24 << 2) >> 2] | 0; - i23 = HEAPU8[i5 >> 0] | 0; - HEAP8[i7 >> 0] = HEAP8[i21 + (i26 + i23) >> 0] | 0; - HEAP8[i7 + 1 >> 0] = HEAP8[i21 + (i25 + i23) >> 0] | 0; - HEAP8[i7 + 2 >> 0] = HEAP8[i21 + (i24 + i23) >> 0] | 0; - i23 = HEAPU8[i5 + 1 >> 0] | 0; - HEAP8[i7 + 3 >> 0] = HEAP8[i21 + (i26 + i23) >> 0] | 0; - HEAP8[i7 + 4 >> 0] = HEAP8[i21 + (i25 + i23) >> 0] | 0; - HEAP8[i7 + 5 >> 0] = HEAP8[i21 + (i24 + i23) >> 0] | 0; - i23 = HEAPU8[i4 >> 0] | 0; - HEAP8[i6 >> 0] = HEAP8[i21 + (i26 + i23) >> 0] | 0; - HEAP8[i6 + 1 >> 0] = HEAP8[i21 + (i25 + i23) >> 0] | 0; - HEAP8[i6 + 2 >> 0] = HEAP8[i21 + (i24 + i23) >> 0] | 0; - i23 = HEAPU8[i4 + 1 >> 0] | 0; - HEAP8[i6 + 3 >> 0] = HEAP8[i21 + (i26 + i23) >> 0] | 0; - HEAP8[i6 + 4 >> 0] = HEAP8[i21 + (i25 + i23) >> 0] | 0; - HEAP8[i6 + 5 >> 0] = HEAP8[i21 + (i24 + i23) >> 0] | 0; - i1 = i1 + -1 | 0; - i2 = i2 + 1 | 0; - i3 = i3 + 1 | 0; - i4 = i4 + 2 | 0; - i5 = i5 + 2 | 0; - i6 = i6 + 6 | 0; - i7 = i7 + 6 | 0; - } - i1 = i9 + i8 | 0; - if (HEAP32[i10 >> 2] & 1 | 0) { - i25 = HEAPU8[i15 >> 0] | 0; - i24 = HEAPU8[i16 + i11 >> 0] | 0; - i23 = HEAP32[i22 + (i24 << 2) >> 2] | 0; - i24 = (HEAP32[i18 + (i24 << 2) >> 2] | 0) + (HEAP32[i19 + (i25 << 2) >> 2] | 0) >> 16; - i25 = HEAP32[i17 + (i25 << 2) >> 2] | 0; - i26 = HEAPU8[i14 >> 0] | 0; - HEAP8[i13 >> 0] = HEAP8[i21 + (i23 + i26) >> 0] | 0; - HEAP8[i13 + 1 >> 0] = HEAP8[i21 + (i24 + i26) >> 0] | 0; - HEAP8[i13 + 2 >> 0] = HEAP8[i21 + (i25 + i26) >> 0] | 0; - i26 = HEAPU8[i20 + i12 >> 0] | 0; - HEAP8[i1 >> 0] = HEAP8[i21 + (i23 + i26) >> 0] | 0; - HEAP8[i1 + 1 >> 0] = HEAP8[i21 + (i24 + i26) >> 0] | 0; - HEAP8[i1 + 2 >> 0] = HEAP8[i21 + (i25 + i26) >> 0] | 0; - } - return; -} - -function _start_pass_phuff_decoder(i13) { - i13 = i13 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i14 = 0, i15 = 0, i16 = 0; - i14 = HEAP32[i13 + 444 >> 2] | 0; - i10 = i13 + 400 | 0; - i3 = HEAP32[i10 >> 2] | 0; - i15 = (i3 | 0) == 0; - i11 = i13 + 404 | 0; - i1 = HEAP32[i11 >> 2] | 0; - if (i15) i1 = (i1 | 0) != 0; else i1 = (i3 | 0) > (i1 | 0) | (i1 | 0) > 63 | (HEAP32[i13 + 328 >> 2] | 0) != 1; - i12 = i13 + 408 | 0; - i2 = HEAP32[i12 >> 2] | 0; - if (!i2) { - i2 = i13 + 412 | 0; - i8 = i2; - i2 = HEAP32[i2 >> 2] | 0; - } else { - i8 = i13 + 412 | 0; - i9 = HEAP32[i8 >> 2] | 0; - i1 = i1 | (i9 | 0) != (i2 + -1 | 0); - i2 = i9; - } - if ((i2 | 0) < 14 & (i1 ^ 1)) i6 = i13; else { - i6 = HEAP32[i13 >> 2] | 0; - HEAP32[i6 + 20 >> 2] = 16; - HEAP32[i6 + 24 >> 2] = i3; - HEAP32[(HEAP32[i13 >> 2] | 0) + 28 >> 2] = HEAP32[i11 >> 2]; - HEAP32[(HEAP32[i13 >> 2] | 0) + 32 >> 2] = HEAP32[i12 >> 2]; - HEAP32[(HEAP32[i13 >> 2] | 0) + 36 >> 2] = HEAP32[i8 >> 2]; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i13 >> 2] >> 2] & 255](i13); - i6 = i13; - } - i9 = i13 + 328 | 0; - i7 = i13 + 160 | 0; - i5 = 0; - while (1) { - i1 = HEAP32[i9 >> 2] | 0; - if ((i5 | 0) >= (i1 | 0)) break; - i2 = HEAP32[(HEAP32[i13 + 332 + (i5 << 2) >> 2] | 0) + 4 >> 2] | 0; - i3 = HEAP32[i7 >> 2] | 0; - if (!i15 ? (HEAP32[i3 + (i2 << 8) >> 2] | 0) < 0 : 0) { - i4 = HEAP32[i13 >> 2] | 0; - HEAP32[i4 + 20 >> 2] = 115; - HEAP32[i4 + 24 >> 2] = i2; - HEAP32[(HEAP32[i13 >> 2] | 0) + 28 >> 2] = 0; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i13 >> 2] | 0) + 4 >> 2] & 63](i6, -1); - } - i1 = HEAP32[i10 >> 2] | 0; - while (1) { - if ((i1 | 0) > (HEAP32[i11 >> 2] | 0)) break; - i4 = i3 + (i2 << 8) + (i1 << 2) | 0; - i16 = HEAP32[i4 >> 2] | 0; - if ((HEAP32[i12 >> 2] | 0) != (((i16 | 0) > 0 ? i16 : 0) | 0)) { - i16 = HEAP32[i13 >> 2] | 0; - HEAP32[i16 + 20 >> 2] = 115; - HEAP32[i16 + 24 >> 2] = i2; - HEAP32[(HEAP32[i13 >> 2] | 0) + 28 >> 2] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i13 >> 2] | 0) + 4 >> 2] & 63](i6, -1); - } - HEAP32[i4 >> 2] = HEAP32[i8 >> 2]; - i1 = i1 + 1 | 0; - } - i5 = i5 + 1 | 0; - } - HEAP32[i14 + 4 >> 2] = (HEAP32[i12 >> 2] | 0) == 0 ? (i15 ? 25 : 24) : i15 ? 27 : 26; - i3 = i14 + 60 | 0; - i2 = 0; + $2 = HEAP32[std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($3 + 8 | 0, $2) >> 2]; + break label$1; + } + $2 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______end_28_29($0); + HEAP32[$3 + 8 >> 2] = $2; + } + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function jpeg_idct_16x8($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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, $29 = 0; + $23 = __stack_pointer - 256 | 0; + __stack_pointer = $23; + $15 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $23; + $11 = 8; while (1) { - if ((i2 | 0) >= (i1 | 0)) break; - i1 = HEAP32[i13 + 332 + (i2 << 2) >> 2] | 0; - if (i15) { - if (!(HEAP32[i12 >> 2] | 0)) { - i16 = HEAP32[i1 + 20 >> 2] | 0; - _jpeg_make_d_derived_tbl(i13, 1, i16, i14 + 44 + (i16 << 2) | 0); - } - } else { - i11 = HEAP32[i1 + 24 >> 2] | 0; - i16 = i14 + 44 + (i11 << 2) | 0; - _jpeg_make_d_derived_tbl(i13, 0, i11, i16); - HEAP32[i3 >> 2] = HEAP32[i16 >> 2]; - } - HEAP32[i14 + 24 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - i1 = HEAP32[i9 >> 2] | 0; - } - i16 = i14 + 8 | 0; - HEAP32[i16 >> 2] = 0; - HEAP32[i16 + 4 >> 2] = 0; - HEAP32[i16 + 8 >> 2] = 0; - HEAP32[i16 + 12 >> 2] = 0; - HEAP32[i14 + 40 >> 2] = HEAP32[i13 + 276 >> 2]; - return; -} - -function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryEPKNS_25GaussianScaleSpacePyramidE(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i1 = i9 + 16 | 0; - i8 = i9; - i5 = i9 + 56 | 0; - i6 = i9 + 48 | 0; - i7 = i2 + 160 | 0; - i10 = __ZNK6vision25DoGScaleInvariantDetector5widthEv(i7) | 0; - i4 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i3) | 0; - if (!((i10 | 0) == (__ZNK6vision5Image5widthEv(HEAP32[i4 >> 2] | 0) | 0) ? (i4 = __ZNK6vision25DoGScaleInvariantDetector6heightEv(i7) | 0, i10 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i3) | 0, (i4 | 0) == (__ZNK6vision5Image6heightEv(HEAP32[i10 >> 2] | 0) | 0)) : 0)) __ZN6vision25DoGScaleInvariantDetector5allocEPKNS_25GaussianScaleSpacePyramidE(i7, i3); - i4 = i2 + 64 | 0; - i11 = __Znwm(148) | 0; - __ZN6vision8KeyframeILi96EEC2Ev(i11); - HEAP32[i6 >> 2] = 0; - HEAP32[i1 >> 2] = HEAP32[i6 >> 2]; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEEC2IS3_EEPT_NS_9enable_ifIXsr14is_convertibleIS7_PS3_EE5valueENS4_5__natEE4typeE(i5, i11, i1); - i11 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i11; - i11 = i5 + 4 | 0; - i10 = i2 + 68 | 0; - i6 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i10 >> 2] = i6; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev(i5); - i10 = HEAP32[i4 >> 2] | 0; - i6 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i3) | 0; - __ZN6vision8KeyframeILi96EE8setWidthEi(i10, __ZNK6vision5Image5widthEv(HEAP32[i6 >> 2] | 0) | 0); - i6 = HEAP32[i4 >> 2] | 0; - i10 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i3) | 0; - __ZN6vision8KeyframeILi96EE9setHeightEi(i6, __ZNK6vision5Image6heightEv(HEAP32[i10 >> 2] | 0) | 0); - __ZN6vision11ScopedTimerC2EPKc(i1, 27213); - if (__ZN6vision11ScopedTimercvbEv(i1) | 0) __ZN6vision12FindFeaturesINS_14FREAKExtractorELi96EEEvPNS_8KeyframeIXT0_EEEPKNS_25GaussianScaleSpacePyramidEPNS_25DoGScaleInvariantDetectorEPT_(HEAP32[i4 >> 2] | 0, i3, i7, i2 + 316 | 0); - __ZN6vision11ScopedTimerD2Ev(i1); - i11 = __ZN6vision6Logger11getInstanceEv() | 0; - __ZN6vision15get_pretty_timeEv(i1); - i7 = (HEAP8[i1 + 11 >> 0] | 0) < 0 ? HEAP32[i1 >> 2] | 0 : i1; - i10 = __ZNK6vision18BinaryFeatureStore4sizeEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[i4 >> 2] | 0) | 0) | 0; - HEAP32[i8 >> 2] = 33657; - HEAP32[i8 + 4 >> 2] = i7; - HEAP32[i8 + 8 >> 2] = 28850; - HEAP32[i8 + 12 >> 2] = i10; - __ZN6vision6Logger5writeENS_19LoggerPriorityLevelEPKcz(i11, 8, 28806, i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i1); - i11 = __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryEPKNS_8KeyframeILi96EEE(i2, HEAP32[i4 >> 2] | 0) | 0; - STACKTOP = i9; - return i11 | 0; -} - -function _icpPoint(i13, i14, i4, i15, i21) { - i13 = i13 | 0; - i14 = i14 | 0; - i4 = i4 | 0; - i15 = i15 | 0; - i21 = i21 | 0; - var i1 = 0, i2 = 0, i3 = 0, d5 = 0.0, d6 = 0.0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i22 = 0, d23 = 0.0, d24 = 0.0; - i22 = STACKTOP; - STACKTOP = STACKTOP + 176 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(176); - i3 = i22 + 168 | 0; - i2 = i22 + 160 | 0; - i16 = i22 + 144 | 0; - i17 = i22 + 48 | 0; - i18 = i22; - i19 = i14 + 8 | 0; - i1 = HEAP32[i19 >> 2] | 0; - do if ((i1 | 0) >= 3) { - i20 = _malloc(i1 * 96 | 0) | 0; - if (!i20) { - _arLog(0, 3, 18493, i2); - i1 = -1; - break; + label$2: { + label$3: { + $5 = HEAPU16[$2 + 32 >> 1]; + $7 = HEAP16[$2 + 16 >> 1]; + if (($5 | $7) & 65535) { + break label$3; + } + $5 = 0; + if (HEAPU16[$2 + 48 >> 1] | HEAPU16[$2 + 64 >> 1] | (HEAPU16[$2 + 80 >> 1] | HEAPU16[$2 + 96 >> 1])) { + break label$3; + } + if (HEAPU16[$2 + 112 >> 1]) { + break label$3; + } + $5 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 2; + HEAP32[$0 + 192 >> 2] = $5; + HEAP32[$0 + 160 >> 2] = $5; + HEAP32[$0 + 128 >> 2] = $5; + HEAP32[$0 + 96 >> 2] = $5; + HEAP32[$0 + 64 >> 2] = $5; + HEAP32[$0 + 32 >> 2] = $5; + HEAP32[$0 >> 2] = $5; + $7 = 56; + break label$2; + } + $5 = Math_imul(HEAP32[$1 + 64 >> 2], $5 << 16 >> 16); + $6 = Math_imul(HEAP32[$1 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $16 = Math_imul($5 + $6 | 0, 4433); + $13 = $16 + Math_imul($5, 6270) | 0; + $10 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $12 = Math_imul(HEAP16[$2 + 64 >> 1], HEAP32[$1 + 128 >> 2]) << 13; + $21 = $10 + $12 | 0; + $9 = $13 + $21 | 0; + $5 = Math_imul(HEAP32[$1 + 32 >> 2], $7); + $7 = Math_imul(HEAP32[$1 + 224 >> 2], HEAP16[$2 + 112 >> 1]); + $17 = Math_imul($5 + $7 | 0, -7373); + $20 = $17 + Math_imul($5, 12299) | 0; + $8 = Math_imul(HEAP32[$1 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $14 = $8 + $5 | 0; + $5 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $18 = $7 + $5 | 0; + $19 = Math_imul($14 + $18 | 0, 9633); + $14 = $19 + Math_imul($14, -3196) | 0; + $20 = $20 + $14 | 0; + HEAP32[$0 + 224 >> 2] = $9 - $20 >> 11; + HEAP32[$0 >> 2] = $9 + $20 >> 11; + $6 = Math_imul($6, -15137) + $16 | 0; + $16 = $10 - $12 | 0; + $12 = $6 + $16 | 0; + $10 = Math_imul($5 + $8 | 0, -20995); + $9 = $10 + Math_imul($5, 25172) | 0; + $5 = Math_imul($18, -16069) + $19 | 0; + $9 = $9 + $5 | 0; + HEAP32[$0 + 192 >> 2] = $12 - $9 >> 11; + HEAP32[$0 + 32 >> 2] = $9 + $12 >> 11; + $6 = $16 - $6 | 0; + $8 = (Math_imul($8, 16819) + $10 | 0) + $14 | 0; + HEAP32[$0 + 160 >> 2] = $6 - $8 >> 11; + HEAP32[$0 + 64 >> 2] = $6 + $8 >> 11; + $5 = (Math_imul($7, 2446) + $17 | 0) + $5 | 0; + $7 = $21 - $13 | 0; + HEAP32[$0 + 96 >> 2] = $5 + $7 >> 11; + $5 = $7 - $5 >> 11; + $7 = 32; + } + HEAP32[($7 << 2) + $0 >> 2] = $5; + $2 = $2 + 2 | 0; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $5 = $11 >>> 0 > 1; + $11 = $11 - 1 | 0; + if ($5) { + continue; } - i12 = _malloc(i1 << 4) | 0; - if (!i12) { - _arLog(0, 3, 18493, i3); - _free(i20); - i1 = -1; - break; + break; + } + $2 = $15 - 384 | 0; + $1 = $23; + $16 = 0; + while (1) { + $5 = HEAP32[$1 + 4 >> 2]; + $11 = HEAP32[$1 + 12 >> 2]; + $10 = Math_imul($5 + $11 | 0, 11086); + $0 = HEAP32[($16 << 2) + $3 >> 2] + $4 | 0; + $8 = HEAP32[$1 + 28 >> 2]; + $17 = Math_imul($8 + $5 | 0, 8956); + $7 = HEAP32[$1 + 20 >> 2]; + $21 = $7 + $5 | 0; + $9 = Math_imul($21, 10217); + $14 = $17 + ($9 + (Math_imul($5, -18730) + $10 | 0) | 0) | 0; + $13 = HEAP32[$1 + 8 >> 2]; + $12 = HEAP32[$1 + 24 >> 2]; + $18 = $13 - $12 | 0; + $19 = Math_imul($18, 11363); + $20 = $19 + Math_imul($12, 20995) | 0; + $6 = (HEAP32[$1 >> 2] << 13) + 134348800 | 0; + $15 = HEAP32[$1 + 16 >> 2]; + $25 = Math_imul($15, 10703); + $26 = $6 + $25 | 0; + $22 = $20 + $26 | 0; + HEAP8[$0 | 0] = HEAPU8[($14 + $22 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 15 | 0] = HEAPU8[($22 - $14 >>> 18 & 1023) + $2 | 0]; + $14 = $8 + $11 | 0; + $22 = Math_imul($14, -5461); + $24 = Math_imul($11, 589) + $10 | 0; + $10 = Math_imul($11 + $7 | 0, 1136); + $24 = $22 + ($24 + $10 | 0) | 0; + $18 = Math_imul($18, 2260); + $27 = $18 + Math_imul($13, 7373) | 0; + $15 = Math_imul($15, 4433); + $28 = $15 + $6 | 0; + $29 = $27 + $28 | 0; + HEAP8[$0 + 1 | 0] = HEAPU8[($24 + $29 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 14 | 0] = HEAPU8[($29 - $24 >>> 18 & 1023) + $2 | 0]; + $9 = (Math_imul($7, -9222) + $10 | 0) + $9 | 0; + $10 = Math_imul($8 + $7 | 0, -11086); + $9 = $9 + $10 | 0; + $13 = Math_imul($13, -4926) + $19 | 0; + $19 = $6 - $15 | 0; + $15 = $13 + $19 | 0; + HEAP8[$0 + 2 | 0] = HEAPU8[($9 + $15 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 13 | 0] = HEAPU8[($15 - $9 >>> 18 & 1023) + $2 | 0]; + $10 = ((Math_imul($8, 8728) + $22 | 0) + $17 | 0) + $10 | 0; + $6 = $6 - $25 | 0; + $12 = Math_imul($12, -4176) + $18 | 0; + $9 = $6 + $12 | 0; + HEAP8[$0 + 3 | 0] = HEAPU8[($10 + $9 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 12 | 0] = HEAPU8[($9 - $10 >>> 18 & 1023) + $2 | 0]; + $9 = Math_imul($5 - $8 | 0, 7350); + $10 = Math_imul($14, -10217); + $6 = $6 - $12 | 0; + $12 = $9 + ($10 + Math_imul($8, 25733) | 0) | 0; + $8 = Math_imul($8 - $7 | 0, 3363); + $17 = $12 + $8 | 0; + HEAP8[$0 + 4 | 0] = HEAPU8[($6 + $17 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 11 | 0] = HEAPU8[($6 - $17 >>> 18 & 1023) + $2 | 0]; + $6 = Math_imul($7 - $11 | 0, 11529); + $12 = $6 + Math_imul($7, -6278) | 0; + $7 = Math_imul($21, 5461); + $8 = ($12 + $7 | 0) + $8 | 0; + $13 = $19 - $13 | 0; + HEAP8[$0 + 5 | 0] = HEAPU8[($8 + $13 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 10 | 0] = HEAPU8[($13 - $8 >>> 18 & 1023) + $2 | 0]; + $8 = Math_imul($5 - $11 | 0, 3363); + $11 = (($8 + Math_imul($11, 16154) | 0) + $6 | 0) + $10 | 0; + $6 = $28 - $27 | 0; + HEAP8[$0 + 6 | 0] = HEAPU8[($11 + $6 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 9 | 0] = HEAPU8[($6 - $11 >>> 18 & 1023) + $2 | 0]; + $11 = ((Math_imul($5, -15038) + $8 | 0) + $7 | 0) + $9 | 0; + $5 = $26 - $20 | 0; + HEAP8[$0 + 7 | 0] = HEAPU8[($11 + $5 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 8 | 0] = HEAPU8[($5 - $11 >>> 18 & 1023) + $2 | 0]; + $1 = $1 + 32 | 0; + $16 = $16 + 1 | 0; + if (($16 | 0) != 8) { + continue; } - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i15 + (i1 << 5) + (i2 << 3) >> 3] = +HEAPF64[i4 + (i1 << 5) + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; - } - i1 = i1 + 1 | 0; - } - i4 = i14 + 4 | 0; - i7 = i16 + 8 | 0; - i8 = i13 + 104 | 0; - i9 = i13 + 96 | 0; - i10 = i13 + 120 | 0; - i11 = i13 + 112 | 0; - d6 = 0.0; - i3 = 0; - L17 : while (1) { - _arUtilMatMul(i13, i15, i17) | 0; - d5 = 0.0; - i2 = 0; + break; + } + __stack_pointer = $23 + 256 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFunctionParam_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $1 = __stack_pointer + -64 | 0; + __stack_pointer = $1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 56 | 0, 34623); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 24 >> 2] = $3; + HEAP32[$1 + 28 >> 2] = $4; + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 24 | 0)) { + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b5_5d__28char_20const_20_28__29_20_5b5_5d_29($0, 30274); + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 48 | 0, 30873); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 16 >> 2] = $4; + HEAP32[$1 + 20 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 16 | 0)) { + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseCVQualifiers_28_29($0); + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($1 + 40 | 0, $0, 0); + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$1; + } + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FunctionParam_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1 + 40 | 0); + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 32 | 0, 35224); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 8 >> 2] = $3; + HEAP32[$1 + 12 >> 2] = $4; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 8 | 0)) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($1 + 40 | 0, $0, 0); + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($1 + 40 | 0)) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 112)) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseCVQualifiers_28_29($0); + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($1 + 40 | 0, $0, 0); + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$1; + } + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FunctionParam_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1 + 40 | 0); + } + __stack_pointer = $1 - -64 | 0; + return $5; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________construct_node_hash_std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28unsigned_20long_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4, $5) { + var $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + $1 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________node_alloc_28_29($1); + $0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______2c_20true_____good_rval_ref_type_29($0, std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______allocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20unsigned_20long_29($1, 1), std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20bool_29($6 + 8 | 0, $1, 0)); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______construct_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple___2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($1, std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96________get_ptr_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_____29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($0) + 8 | 0), $3, $4, $5); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______get_deleter_28_29($0), + wasm2js_i32$1 = 1, HEAP8[wasm2js_i32$0 + 4 | 0] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($0), + wasm2js_i32$1 = $2, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $6 + 16 | 0; +} + +function std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20bool_2c_20std____2__ios_base__2c_20wchar_t_2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__29_20const($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, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $6 = __stack_pointer - 496 | 0; + __stack_pointer = $6; + std____2__ios_base__getloc_28_29_20const($6 + 488 | 0, $3); + $11 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($6 + 488 | 0); + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($5)) { + $12 = HEAP32[std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator_5b_5d_28unsigned_20long_29_20const($5, 0) >> 2] == (std____2__ctype_wchar_t___widen_28char_29_20const($11, 45) | 0); + } + $9 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 456 | 0); + $7 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($6 + 440 | 0); + $8 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($6 + 424 | 0); + std____2____money_put_wchar_t_____gather_info_28bool_2c_20bool_2c_20std____2__locale_20const__2c_20std____2__money_base__pattern__2c_20wchar_t__2c_20wchar_t__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20int__29($2, $12, $6 + 488 | 0, $6 + 480 | 0, $6 + 476 | 0, $6 + 472 | 0, $9, $7, $8, $6 + 420 | 0); + HEAP32[$6 + 16 >> 2] = 315; + $10 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28wchar_t__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($6 + 8 | 0, 0, $6 + 16 | 0); + label$2: { + if ((std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($5) | 0) > HEAP32[$6 + 420 >> 2]) { + $2 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($5); + $0 = HEAP32[$6 + 420 >> 2]; + $0 = (((std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($8) + ($2 - $0 << 1) | 0) + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($7) | 0) + HEAP32[$6 + 420 >> 2] | 0) + 1 | 0; + break label$2; + } + $0 = ((std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($8) + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($7) | 0) + HEAP32[$6 + 420 >> 2] | 0) + 2 | 0; + } + $2 = $6 + 16 | 0; + label$4: { + if ($0 >>> 0 < 101) { + break label$4; + } + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___reset_28wchar_t__29($10, dlmalloc($0 << 2)); + $2 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($10); + if ($2) { + break label$4; + } + std____throw_bad_alloc_28_29(); + abort(); + } + std____2____money_put_wchar_t_____format_28wchar_t__2c_20wchar_t___2c_20wchar_t___2c_20unsigned_20int_2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ctype_wchar_t__20const__2c_20bool_2c_20std____2__money_base__pattern_20const__2c_20wchar_t_2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20int_29($2, $6 + 4 | 0, $6, std____2__ios_base__flags_28_29_20const($3), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($5), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($5) + (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($5) << 2) | 0, $11, $12, $6 + 480 | 0, HEAP32[$6 + 476 >> 2], HEAP32[$6 + 472 >> 2], $9, $7, $8, HEAP32[$6 + 420 >> 2]); + $5 = std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____pad_and_output_wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ios_base__2c_20wchar_t_29($1, $2, HEAP32[$6 + 4 >> 2], HEAP32[$6 >> 2], $3, $4); + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29____unique_ptr_28_29($10); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($8); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($7); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($9); + std____2__locale___locale_28_29($6 + 488 | 0); + __stack_pointer = $6 + 496 | 0; + return $5 | 0; +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____find_unsigned_20int__28unsigned_20int_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $4 = std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true___operator_28_29_28unsigned_20int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____hash_function_28_29($0), $1); + label$1: { + label$2: { + $5 = std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____bucket_count_28_29_20const($0); + if (!$5) { + break label$2; + } + $6 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($4, $5); + $2 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $6) >> 2]; + if (!$2) { + break label$2; + } while (1) { - i1 = HEAP32[i19 >> 2] | 0; - if ((i2 | 0) >= (i1 | 0)) break; - if ((_icpGetU_from_X_by_MatX2U(i16, i17, (HEAP32[i4 >> 2] | 0) + (i2 * 24 | 0) | 0) | 0) < 0) { - i2 = 16; - break L17; - } - i1 = HEAP32[i14 >> 2] | 0; - d24 = +HEAPF64[i1 + (i2 << 4) >> 3] - +HEAPF64[i16 >> 3]; - d23 = +HEAPF64[i1 + (i2 << 4) + 8 >> 3] - +HEAPF64[i7 >> 3]; - i1 = i2 << 1; - HEAPF64[i12 + (i1 << 3) >> 3] = d24; - HEAPF64[i12 + ((i1 | 1) << 3) >> 3] = d23; - d5 = d5 + (d24 * d24 + d23 * d23); - i2 = i2 + 1 | 0; - } - d5 = d5 / +(i1 | 0); - if (d5 < +HEAPF64[i8 >> 3]) { - i2 = 31; + $2 = HEAP32[$2 >> 2]; + if (!$2) { + break label$2; + } + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_28_29_20const($2) | 0) != ($4 | 0)) { + if ((std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_28_29_20const($2), $5) | 0) != ($6 | 0)) { + break label$2; + } + } + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_28_29_20const($2) | 0) != ($4 | 0)) { + continue; + } + if (!std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true___operator_28_29_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__20const__2c_20unsigned_20int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____key_eq_28_29($0), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________upcast_28_29($2) + 8 | 0, $1)) { + continue; + } break; } - if ((i3 | 0 ? d5 < +HEAPF64[i10 >> 3] : 0) ? d5 / d6 > +HEAPF64[i11 >> 3] : 0) { - i2 = 31; - break; + $2 = HEAP32[std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($3 + 8 | 0, $2) >> 2]; + break label$1; + } + $2 = std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____end_28_29($0); + HEAP32[$3 + 8 >> 2] = $2; + } + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function jinit_1pass_quantizer($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 88) | 0; + HEAP32[$0 + 484 >> 2] = $1; + HEAP32[$1 + 68 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 217; + HEAP32[$1 + 8 >> 2] = 218; + HEAP32[$1 >> 2] = 219; + HEAP32[$1 + 52 >> 2] = 0; + if (HEAP32[$0 + 120 >> 2] >= 5) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 57; + HEAP32[$1 + 24 >> 2] = 4; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $11 = HEAP32[$0 + 96 >> 2]; + if (($11 | 0) >= 257) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 59; + HEAP32[$1 + 24 >> 2] = 256; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + $11 = HEAP32[$0 + 96 >> 2]; + } + $6 = HEAP32[$0 + 120 >> 2]; + $13 = $6 - 1 | 0; + $7 = $13 & -8; + $5 = $13 & 7; + $12 = HEAP32[$0 + 484 >> 2]; + $10 = ($6 | 0) < 2; + $9 = $6 - 2 >>> 0 < 7; + $1 = 1; + while (1) { + $4 = $1; + $1 = $1 + 1 | 0; + $2 = $1; + label$4: { + if ($10) { + break label$4; + } + $3 = 0; + $2 = $1; + if (!$9) { + while (1) { + $2 = Math_imul(Math_imul(Math_imul(Math_imul(Math_imul(Math_imul(Math_imul(Math_imul($1, $2), $1), $1), $1), $1), $1), $1), $1); + $3 = $3 + 8 | 0; + if (($7 | 0) != ($3 | 0)) { + continue; + } + break; + } } - if ((i3 | 0) == (HEAP32[i9 >> 2] | 0)) { - i2 = 31; - break; + $3 = 0; + if (!$5) { + break label$4; } - i2 = 0; while (1) { - if ((i2 | 0) >= (i1 | 0)) break; - if ((_icpGetJ_U_S(i20 + (i2 * 12 << 3) | 0, i13, i15, (HEAP32[i4 >> 2] | 0) + (i2 * 24 | 0) | 0) | 0) < 0) { - i2 = 27; - break L17; + $2 = Math_imul($1, $2); + $3 = $3 + 1 | 0; + if (($5 | 0) != ($3 | 0)) { + continue; } - i2 = i2 + 1 | 0; - i1 = HEAP32[i19 >> 2] | 0; - } - if ((_icpGetDeltaS(i18, i12, i20, i1 << 1) | 0) < 0) { - i2 = 29; break; } - _icpUpdateMat(i15, i18) | 0; - d6 = d5; - i3 = i3 + 1 | 0; } - if ((i2 | 0) == 16) { - _icpGetXw2XcCleanup(i20, i12); - i1 = -1; - break; - } else if ((i2 | 0) == 27) { - _icpGetXw2XcCleanup(i20, i12); - i1 = -1; - break; - } else if ((i2 | 0) == 29) { - _icpGetXw2XcCleanup(i20, i12); - i1 = -1; - break; - } else if ((i2 | 0) == 31) { - HEAPF64[i21 >> 3] = d5; - _free(i20); - _free(i12); - i1 = 0; - break; + if (($2 | 0) <= ($11 | 0)) { + continue; } - } else i1 = -1; while (0); - STACKTOP = i22; - return i1 | 0; -} - -function __ZN6vision11PartialSortIfEET_PS1_ii(i14, i2, i15) { - i14 = i14 | 0; - i2 = i2 | 0; - i15 = i15 | 0; - var i1 = 0, i3 = 0, d4 = 0.0, i5 = 0, d6 = 0.0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, d11 = 0.0, i12 = 0, i13 = 0, i16 = 0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i16; - if ((i2 | 0) <= 0) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31767) | 0, 31796) | 0, 33528) | 0, 53) | 0, 33535) | 0, 31905) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } - if ((i15 | 0) <= 0) { - i13 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 31924) | 0, 31796) | 0, 33528) | 0, 54) | 0, 33535) | 0, 31953) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i13 + (HEAP32[(HEAP32[i13 >> 2] | 0) + -12 >> 2] | 0) | 0); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i12 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i12 >> 2] | 0) + 28 >> 2] & 63](i12, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i13, i12) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i13) | 0; - _abort(); - } - i12 = i15 + -1 | 0; - i13 = i14 + (i12 << 2) | 0; - i9 = i2 + -1 | 0; - i10 = 0; - while (1) { - d11 = +HEAPF32[i13 >> 2]; - if ((i10 | 0) >= (i9 | 0)) break; - i1 = i10; - i2 = i9; - do { + break; + } + $8 = 1; + if ($4 >>> 0 <= 1) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $2; + HEAP32[$1 + 20 >> 2] = 58; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + label$9: { + if (($6 | 0) <= 0) { + break label$9; + } + $1 = $12 + 32 | 0; + $10 = $6 & 3; + $5 = 0; + label$10: { + if ($13 >>> 0 < 3) { + $2 = 0; + break label$10; + } + $9 = $6 & -4; + $2 = 0; + $7 = 0; while (1) { - i5 = i14 + (i1 << 2) | 0; - d6 = +HEAPF32[i5 >> 2]; - i7 = i1 + 1 | 0; - if (d6 < d11) i1 = i7; else break; + $3 = $2 << 2; + HEAP32[$3 + $1 >> 2] = $4; + HEAP32[($3 | 4) + $1 >> 2] = $4; + HEAP32[($3 | 8) + $1 >> 2] = $4; + HEAP32[($3 | 12) + $1 >> 2] = $4; + $2 = $2 + 4 | 0; + $8 = Math_imul(Math_imul(Math_imul(Math_imul($4, $8), $4), $4), $4); + $7 = $7 + 4 | 0; + if (($7 | 0) != ($9 | 0)) { + continue; + } + break; } + } + if ($10) { while (1) { - i3 = i14 + (i2 << 2) | 0; - d4 = +HEAPF32[i3 >> 2]; - i8 = i2 + -1 | 0; - if (d11 < d4) i2 = i8; else break; - } - if ((i1 | 0) <= (i2 | 0)) { - HEAPF32[i5 >> 2] = d4; - HEAPF32[i3 >> 2] = d6; - i1 = i7; - i2 = i8; - } - } while ((i1 | 0) <= (i2 | 0)); - i9 = (i1 | 0) < (i15 | 0) ? i9 : i2; - i10 = (i2 | 0) < (i12 | 0) ? i1 : i10; - } - STACKTOP = i16; - return +d11; -} - -function __ZN10__cxxabiv112_GLOBAL__N_123parse_prefix_expressionINS0_2DbEEEPKcS4_S4_RKNT_6StringERS5_(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i6 = i12 + 48 | 0; - i8 = i12 + 36 | 0; - i9 = i12 + 24 | 0; - i10 = i12 + 12 | 0; - i11 = i12; - i7 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i4) | 0; - if ((i7 | 0) != (i1 | 0) ? (i5 = i4 + 4 | 0, (HEAP32[i4 >> 2] | 0) != (HEAP32[i5 >> 2] | 0)) : 0) { - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EERKSB_PKS8_(i10, i3, 49669); - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i11, (HEAP32[i5 >> 2] | 0) + -24 | 0); - i1 = HEAP8[i11 + 11 >> 0] | 0; - i4 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i10, i4 ? HEAP32[i11 >> 2] | 0 : i11, i4 ? HEAP32[i11 + 4 >> 2] | 0 : i1 & 255) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i9, 49667) | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i5 >> 2] | 0; - i2 = i1 + -24 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i5 = HEAP32[i2 >> 2] | 0; - HEAP8[i6 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5, i6); - HEAP32[i1 + -20 >> 2] = 0; - } else { - HEAP8[i6 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i6); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i8 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i8 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i8 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - i1 = i7; - } - STACKTOP = i12; - return i1 | 0; -} - -function _jinit_color_deconverter(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0; - i2 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i4 + 4 >> 2] >> 2] & 63](i4, 1, 24) | 0; - HEAP32[i4 + 456 >> 2] = i2; - HEAP32[i2 >> 2] = 126; - i3 = i4 + 40 | 0; - switch (HEAP32[i3 >> 2] | 0) { - case 1: - { - if ((HEAP32[i4 + 36 >> 2] | 0) != 1) { - i1 = HEAP32[i4 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 10; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i4); + HEAP32[($2 << 2) + $1 >> 2] = $4; + $2 = $2 + 1 | 0; + $8 = Math_imul($4, $8); + $5 = $5 + 1 | 0; + if (($10 | 0) != ($5 | 0)) { + continue; + } + break; } - break; } - case 3: - case 2: - { - if ((HEAP32[i4 + 36 >> 2] | 0) != 3) { - i1 = HEAP32[i4 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 10; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i4); - } - break; + if (($6 | 0) <= 0) { + break label$9; } - case 5: - case 4: - { - if ((HEAP32[i4 + 36 >> 2] | 0) != 4) { - i1 = HEAP32[i4 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 10; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i4); + $2 = 0; + $10 = HEAP32[$0 + 44 >> 2] != 2; + $5 = 1; + while (1) { + $3 = $10 ? $2 : HEAP32[($2 << 2) + 42944 >> 2]; + $7 = ($3 << 2) + $1 | 0; + $3 = HEAP32[$7 >> 2]; + $4 = ($8 | 0) / ($3 | 0) | 0; + $3 = $3 + 1 | 0; + $4 = Math_imul($4, $3); + if (($11 | 0) >= ($4 | 0)) { + HEAP32[$7 >> 2] = $3; + $5 = 0; + $8 = $4; + $2 = $2 + 1 | 0; + if (($6 | 0) != ($2 | 0)) { + continue; + } + } + $3 = $5 & 1; + $5 = 1; + $2 = 0; + if (!$3) { + continue; } break; } - default: - if ((HEAP32[i4 + 36 >> 2] | 0) < 1) { - i1 = HEAP32[i4 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 10; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i4); + } + $2 = HEAP32[$0 + 120 >> 2]; + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $8; + $4 = $1; + label$18: { + if (($2 | 0) == 3) { + HEAP32[$1 + 28 >> 2] = HEAP32[$12 + 32 >> 2]; + HEAP32[$1 + 32 >> 2] = HEAP32[$12 + 36 >> 2]; + HEAP32[$1 + 36 >> 2] = HEAP32[$12 + 40 >> 2]; + $2 = 96; + break label$18; } + $2 = 97; + $1 = HEAP32[$0 >> 2]; } - i1 = HEAP32[i4 + 44 >> 2] | 0; - L11 : do switch (i1 | 0) { - case 1: - { - HEAP32[i4 + 120 >> 2] = 1; - switch (HEAP32[i3 >> 2] | 0) { - case 3: - case 1: - break; - default: - { - i3 = HEAP32[i4 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 27; - FUNCTION_TABLE_vi[HEAP32[i3 >> 2] & 255](i4); - break L11; + $3 = $1; + HEAP32[$4 + 20 >> 2] = $2; + FUNCTION_TABLE[HEAP32[$3 + 4 >> 2]]($0, 1); + $17 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 8 >> 2]]($0, 1, $8, HEAP32[$0 + 120 >> 2]) | 0; + $1 = HEAP32[$0 + 120 >> 2]; + if (($1 | 0) > 0) { + $6 = $8; + while (1) { + $2 = $16 << 2; + $15 = HEAP32[($12 + $2 | 0) + 32 >> 2]; + $9 = ($6 | 0) / ($15 | 0) | 0; + if (($15 | 0) > 0) { + $10 = $9 & -4; + $11 = $9 & 3; + $13 = $9 - 1 | 0; + $5 = $2 + $17 | 0; + $18 = $15 - 1 | 0; + $19 = $18 >>> 1 | 0; + $14 = 0; + while (1) { + $2 = Math_imul($9, $14); + if (($8 | 0) > ($2 | 0)) { + $3 = (Math_imul($14, 255) + $19 | 0) / ($18 | 0) | 0; + while (1) { + label$26: { + if (($9 | 0) <= 0) { + break label$26; + } + $7 = 0; + $1 = 0; + $4 = 0; + if ($13 >>> 0 >= 3) { + while (1) { + HEAP8[HEAP32[$5 >> 2] + ($1 + $2 | 0) | 0] = $3; + HEAP8[HEAP32[$5 >> 2] + (($1 | 1) + $2 | 0) | 0] = $3; + HEAP8[HEAP32[$5 >> 2] + (($1 | 2) + $2 | 0) | 0] = $3; + HEAP8[HEAP32[$5 >> 2] + (($1 | 3) + $2 | 0) | 0] = $3; + $1 = $1 + 4 | 0; + $4 = $4 + 4 | 0; + if (($10 | 0) != ($4 | 0)) { + continue; + } + break; + } + } + if (!$11) { + break label$26; + } + while (1) { + HEAP8[HEAP32[$5 >> 2] + ($1 + $2 | 0) | 0] = $3; + $1 = $1 + 1 | 0; + $7 = $7 + 1 | 0; + if (($11 | 0) != ($7 | 0)) { + continue; + } + break; + } + } + $2 = $2 + $6 | 0; + if (($8 | 0) > ($2 | 0)) { + continue; + } + break; + } + } + $14 = $14 + 1 | 0; + if (($15 | 0) != ($14 | 0)) { + continue; + } + break; } + $1 = HEAP32[$0 + 120 >> 2]; } - HEAP32[i2 + 4 >> 2] = 6; - i2 = HEAP32[i4 + 36 >> 2] | 0; - i3 = i4 + 216 | 0; - i1 = 1; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break L11; - HEAP32[(HEAP32[i3 >> 2] | 0) + (i1 * 84 | 0) + 48 >> 2] = 0; - i1 = i1 + 1 | 0; + $6 = $9; + $16 = $16 + 1 | 0; + if (($16 | 0) < ($1 | 0)) { + continue; } + break; } - case 2: - { - HEAP32[i4 + 120 >> 2] = 3; - switch (HEAP32[i3 >> 2] | 0) { - case 3: - { - HEAP32[i2 + 4 >> 2] = 7; - _build_ycc_rgb_table(i4); - break L11; - } - case 1: - { - HEAP32[i2 + 4 >> 2] = 8; - break L11; - } - case 2: - { - HEAP32[i2 + 4 >> 2] = 9; - break L11; - } - default: - { - i3 = HEAP32[i4 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 27; - FUNCTION_TABLE_vi[HEAP32[i3 >> 2] & 255](i4); - break L11; - } + } + HEAP32[$12 + 20 >> 2] = $8; + HEAP32[$12 + 16 >> 2] = $17; + create_colorindex($0); + if (!(HEAP32[$0 + 88 >> 2] != 2 | HEAP32[$0 + 120 >> 2] <= 0)) { + $2 = (HEAP32[$0 + 112 >> 2] << 1) + 4 | 0; + $3 = HEAP32[$0 + 484 >> 2]; + $1 = 0; + while (1) { + wasm2js_i32$0 = ($1 << 2) + $3 | 0, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 4 >> 2]]($0, 1, $2) | 0, + HEAP32[wasm2js_i32$0 + 68 >> 2] = wasm2js_i32$1; + $1 = $1 + 1 | 0; + if (($1 | 0) < HEAP32[$0 + 120 >> 2]) { + continue; } + break; } - case 4: - { - HEAP32[i4 + 120 >> 2] = 4; - switch (HEAP32[i3 >> 2] | 0) { - case 5: - { - HEAP32[i2 + 4 >> 2] = 10; - _build_ycc_rgb_table(i4); - break L11; - } - case 4: - { - HEAP32[i2 + 4 >> 2] = 9; - break L11; - } - default: - { - i3 = HEAP32[i4 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 27; - FUNCTION_TABLE_vi[HEAP32[i3 >> 2] & 255](i4); - break L11; - } + } +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__20std____2____scan_keyword_std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__ctype_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__ctype_wchar_t__20const__2c_20unsigned_20int__2c_20bool_29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_i32$2 = 0; + $8 = __stack_pointer - 128 | 0; + __stack_pointer = $8; + HEAP32[$8 + 120 >> 2] = $1; + $10 = std____2__iterator_traits_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const____difference_type_20std____2__distance_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const___28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__29($2, $3); + HEAP32[$8 + 16 >> 2] = 315; + $15 = std____2__unique_ptr_unsigned_20char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28unsigned_20char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($8 + 8 | 0, 0, $8 + 16 | 0); + $9 = $8 + 16 | 0; + label$1: { + if ($10 >>> 0 >= 101) { + $9 = dlmalloc($10); + if (!$9) { + break label$1; } + std____2__unique_ptr_unsigned_20char_2c_20void_20_28__29_28void__29___reset_28unsigned_20char__29($15, $9); } - default: - if ((i1 | 0) == (HEAP32[i3 >> 2] | 0)) { - HEAP32[i4 + 120 >> 2] = HEAP32[i4 + 36 >> 2]; - HEAP32[i2 + 4 >> 2] = 9; - break L11; - } else { - i3 = HEAP32[i4 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 27; - FUNCTION_TABLE_vi[HEAP32[i3 >> 2] & 255](i4); - break L11; - } - } while (0); - if (!(HEAP32[i4 + 84 >> 2] | 0)) i1 = HEAP32[i4 + 120 >> 2] | 0; else i1 = 1; - HEAP32[i4 + 124 >> 2] = i1; - return; -} - -function _find_nearby_colors(i1, i7, i13, i14, i17) { - i1 = i1 | 0; - i7 = i7 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i17 = i17 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i15 = 0, i16 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0; - i20 = STACKTOP; - STACKTOP = STACKTOP + 1024 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1024); - i18 = i20; - i19 = HEAP32[i1 + 132 >> 2] | 0; - i15 = i7 + 24 | 0; - i8 = i15 + i7 >> 1; - i9 = i13 + 28 | 0; - i10 = i9 + i13 >> 1; - i11 = i14 + 24 | 0; - i12 = i11 + i14 >> 1; - i6 = i1 + 136 | 0; - i16 = 2147483647; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i19 | 0)) break; - i4 = HEAP32[i6 >> 2] | 0; - i1 = HEAPU8[(HEAP32[i4 >> 2] | 0) + i5 >> 0] | 0; - do if ((i1 | 0) >= (i7 | 0)) { - if ((i15 | 0) < (i1 | 0)) { - i2 = i1 - i15 << 1; - i3 = i1 - i7 << 1; - i3 = Math_imul(i3, i3) | 0; - i1 = Math_imul(i2, i2) | 0; + $7 = $9; + $1 = $2; + while (1) if (($1 | 0) == ($3 | 0)) { + label$5: while (1) { + label$6: { + if (!(wasm2js_i32$0 = bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($0, $8 + 120 | 0), + wasm2js_i32$1 = 0, wasm2js_i32$2 = $10, wasm2js_i32$2 ? wasm2js_i32$0 : wasm2js_i32$1)) { + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0, $8 + 120 | 0)) { + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 2; + } + break label$6; + } + $12 = std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0); + if (!$6) { + $12 = std____2__ctype_wchar_t___toupper_28wchar_t_29_20const($4, $12); + } + $13 = $16 + 1 | 0; + $17 = 0; + $7 = $9; + $1 = $2; + while (1) if (($1 | 0) == ($3 | 0)) { + $16 = $13; + if (!$17) { + continue label$5; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0); + $7 = $9; + $1 = $2; + if ($10 + $11 >>> 0 < 2) { + continue label$5; + } + while (1) { + if (($1 | 0) == ($3 | 0)) { + continue label$5; + } + label$15: { + if (HEAPU8[$7 | 0] != 2) { + break label$15; + } + if ((std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($1) | 0) == ($13 | 0)) { + break label$15; + } + HEAP8[$7 | 0] = 0; + $11 = $11 - 1 | 0; + } + $7 = $7 + 1 | 0; + $1 = $1 + 12 | 0; + continue; + } + } else { + label$17: { + if (HEAPU8[$7 | 0] != 1) { + break label$17; + } + $14 = HEAP32[std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator_5b_5d_28unsigned_20long_29_20const($1, $16) >> 2]; + if (!$6) { + $14 = std____2__ctype_wchar_t___toupper_28wchar_t_29_20const($4, $14); + } + label$19: { + if (($12 | 0) == ($14 | 0)) { + $17 = 1; + if ((std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($1) | 0) != ($13 | 0)) { + break label$17; + } + HEAP8[$7 | 0] = 2; + $11 = $11 + 1 | 0; + break label$19; + } + HEAP8[$7 | 0] = 0; + } + $10 = $10 - 1 | 0; + } + $7 = $7 + 1 | 0; + $1 = $1 + 12 | 0; + continue; + } + } break; } - if ((i8 | 0) < (i1 | 0)) { - i3 = i1 - i7 << 1; - i3 = Math_imul(i3, i3) | 0; - i1 = 0; - break; - } else { - i3 = i1 - i15 << 1; - i3 = Math_imul(i3, i3) | 0; - i1 = 0; - break; + label$21: { + label$22: { + while (1) { + if (($2 | 0) == ($3 | 0)) { + break label$22; + } + if (HEAPU8[$9 | 0] != 2) { + $9 = $9 + 1 | 0; + $2 = $2 + 12 | 0; + continue; + } + break; + } + $3 = $2; + break label$21; + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; } + std____2__unique_ptr_unsigned_20char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($15); + __stack_pointer = $8 + 128 | 0; + return $3; } else { - i2 = i1 - i7 << 1; - i3 = i1 - i15 << 1; - i3 = Math_imul(i3, i3) | 0; - i1 = Math_imul(i2, i2) | 0; - } while (0); - i2 = HEAPU8[(HEAP32[i4 + 4 >> 2] | 0) + i5 >> 0] | 0; - do if ((i2 | 0) >= (i13 | 0)) { - if ((i9 | 0) < (i2 | 0)) { - i21 = (i2 - i9 | 0) * 3 | 0; - i2 = (i2 - i13 | 0) * 3 | 0; - i1 = (Math_imul(i21, i21) | 0) + i1 | 0; - i2 = Math_imul(i2, i2) | 0; - break; - } - if ((i10 | 0) < (i2 | 0)) { - i2 = (i2 - i13 | 0) * 3 | 0; - i2 = Math_imul(i2, i2) | 0; - break; - } else { - i2 = (i2 - i9 | 0) * 3 | 0; - i2 = Math_imul(i2, i2) | 0; - break; + label$26: { + if (!std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____empty_28_29_20const($1)) { + HEAP8[$7 | 0] = 1; + break label$26; + } + HEAP8[$7 | 0] = 2; + $11 = $11 + 1 | 0; + $10 = $10 - 1 | 0; } - } else { - i21 = (i2 - i13 | 0) * 3 | 0; - i2 = (i2 - i9 | 0) * 3 | 0; - i1 = (Math_imul(i21, i21) | 0) + i1 | 0; - i2 = Math_imul(i2, i2) | 0; - } while (0); - i3 = i2 + i3 | 0; - i2 = HEAPU8[(HEAP32[i4 + 8 >> 2] | 0) + i5 >> 0] | 0; - do if ((i2 | 0) >= (i14 | 0)) { - if ((i11 | 0) < (i2 | 0)) { - i21 = i2 - i11 | 0; - i2 = i2 - i14 | 0; - i1 = (Math_imul(i21, i21) | 0) + i1 | 0; - i2 = Math_imul(i2, i2) | 0; - break; + $7 = $7 + 1 | 0; + $1 = $1 + 12 | 0; + continue; + } + } + std____throw_bad_alloc_28_29(); + abort(); +} + +function std____2____money_get_wchar_t_____gather_info_28bool_2c_20std____2__locale_20const__2c_20std____2__money_base__pattern__2c_20wchar_t__2c_20wchar_t__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20int__29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { + var $10 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $10 = __stack_pointer - 16 | 0; + __stack_pointer = $10; + label$1: { + if ($0) { + $1 = std____2__moneypunct_wchar_t_2c_20true__20const__20std____2__use_facet_std____2__moneypunct_wchar_t_2c_20true___28std____2__locale_20const__29($1); + std____2__moneypunct_wchar_t_2c_20true___neg_format_28_29_20const($10, $1); + $0 = HEAP32[$10 >> 2]; + HEAP8[$2 | 0] = $0; + HEAP8[$2 + 1 | 0] = $0 >>> 8; + HEAP8[$2 + 2 | 0] = $0 >>> 16; + HEAP8[$2 + 3 | 0] = $0 >>> 24; + std____2__moneypunct_wchar_t_2c_20true___negative_sign_28_29_20const($10, $1); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____29($8, $10); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($10); + std____2__moneypunct_wchar_t_2c_20true___positive_sign_28_29_20const($10, $1); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____29($7, $10); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($10); + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__moneypunct_wchar_t_2c_20true___decimal_point_28_29_20const($1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__moneypunct_wchar_t_2c_20true___thousands_sep_28_29_20const($1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__moneypunct_wchar_t_2c_20true___grouping_28_29_20const($10, $1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($5, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + std____2__moneypunct_wchar_t_2c_20true___curr_symbol_28_29_20const($10, $1); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____29($6, $10); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($10); + $1 = std____2__moneypunct_wchar_t_2c_20true___frac_digits_28_29_20const($1); + break label$1; + } + $1 = std____2__moneypunct_wchar_t_2c_20false__20const__20std____2__use_facet_std____2__moneypunct_wchar_t_2c_20false___28std____2__locale_20const__29($1); + std____2__moneypunct_wchar_t_2c_20false___neg_format_28_29_20const($10, $1); + $0 = HEAP32[$10 >> 2]; + HEAP8[$2 | 0] = $0; + HEAP8[$2 + 1 | 0] = $0 >>> 8; + HEAP8[$2 + 2 | 0] = $0 >>> 16; + HEAP8[$2 + 3 | 0] = $0 >>> 24; + std____2__moneypunct_wchar_t_2c_20false___negative_sign_28_29_20const($10, $1); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____29($8, $10); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($10); + std____2__moneypunct_wchar_t_2c_20false___positive_sign_28_29_20const($10, $1); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____29($7, $10); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($10); + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__moneypunct_wchar_t_2c_20false___decimal_point_28_29_20const($1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__moneypunct_wchar_t_2c_20false___thousands_sep_28_29_20const($1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__moneypunct_wchar_t_2c_20false___grouping_28_29_20const($10, $1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($5, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + std____2__moneypunct_wchar_t_2c_20false___curr_symbol_28_29_20const($10, $1); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____29($6, $10); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($10); + $1 = std____2__moneypunct_wchar_t_2c_20false___frac_digits_28_29_20const($1); + } + HEAP32[$9 >> 2] = $1; + __stack_pointer = $10 + 16 | 0; +} + +function vision__DoGScaleInvariantDetector__findFeatureOrientations_28vision__GaussianScaleSpacePyramid_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f32$0 = Math_fround(0); + $2 = __stack_pointer + -64 | 0; + __stack_pointer = $2; + label$1: { + if (!HEAPU8[$0 + 28 | 0]) { + $3 = $0 + 60 | 0; + $0 = 0; + while (1) { + if (std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($3) >>> 0 <= $0 >>> 0) { + break label$1; + } + wasm2js_i32$0 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($3, $0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = $0 + 1 | 0; + continue; } - if ((i12 | 0) < (i2 | 0)) { - i2 = i2 - i14 | 0; - i2 = Math_imul(i2, i2) | 0; - break; + } + $5 = $0 + 72 | 0; + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____clear_28_29($5); + $4 = $0 + 60 | 0; + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____reserve_28unsigned_20long_29($5, Math_imul(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($4), 36)); + $6 = $0 + 92 | 0; + vision__OrientationAssignment__computeGradients_28vision__GaussianScaleSpacePyramid_20const__29($6, $1); + $7 = $0 + 144 | 0; + label$4: while (1) { + if (std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($4) >>> 0 <= $3 >>> 0) { + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____swap_28std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____29($4, $5); + break label$1; + } + vision__bilinear_downsample_point_28float__2c_20float__2c_20float__2c_20float_2c_20float_2c_20float_2c_20int_29($2 + 56 | 0, $2 + 52 | 0, $2 + 48 | 0, HEAPF32[std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($4, $3) >> 2], HEAPF32[std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($4, $3) + 4 >> 2], HEAPF32[std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($4, $3) + 28 >> 2], HEAP32[std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($4, $3) + 12 >> 2]); + $0 = 0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__ClipScalar_float__28float_2c_20float_2c_20float_29(HEAPF32[$2 + 56 >> 2], Math_fround(0), Math_fround(vision__Image__width_28_29_20const(vision__GaussianScaleSpacePyramid__get_28unsigned_20long_2c_20unsigned_20long_29_20const($1, HEAP32[std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($4, $3) + 12 >> 2], 0)) - 1 >>> 0)), + HEAPF32[wasm2js_i32$0 + 56 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__ClipScalar_float__28float_2c_20float_2c_20float_29(HEAPF32[$2 + 52 >> 2], Math_fround(0), Math_fround(vision__Image__height_28_29_20const(vision__GaussianScaleSpacePyramid__get_28unsigned_20long_2c_20unsigned_20long_29_20const($1, HEAP32[std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($4, $3) + 12 >> 2], 0)) - 1 >>> 0)), + HEAPF32[wasm2js_i32$0 + 52 >> 2] = wasm2js_f32$0; + vision__OrientationAssignment__compute_28float__2c_20int__2c_20int_2c_20int_2c_20float_2c_20float_2c_20float_29($6, std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($7, 0), $2 + 60 | 0, HEAP32[std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($4, $3) + 12 >> 2], HEAP32[std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($4, $3) + 16 >> 2], HEAPF32[$2 + 56 >> 2], HEAPF32[$2 + 52 >> 2], HEAPF32[$2 + 48 >> 2]); + while (1) if (HEAP32[$2 + 60 >> 2] <= ($0 | 0)) { + $3 = $3 + 1 | 0; + continue label$4; } else { - i2 = i2 - i11 | 0; - i2 = Math_imul(i2, i2) | 0; - break; + wasm2js_memory_copy($2 + 8 | 0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($4, $3), 36); + wasm2js_i32$0 = $2, wasm2js_f32$0 = HEAPF32[std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($7, $0) >> 2], + HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____push_back_28vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($5, $2 + 8 | 0); + $0 = $0 + 1 | 0; + continue; } - } else { - i21 = i2 - i14 | 0; - i2 = i2 - i11 | 0; - i1 = (Math_imul(i21, i21) | 0) + i1 | 0; - i2 = Math_imul(i2, i2) | 0; - } while (0); - i21 = i3 + i2 | 0; - HEAP32[i18 + (i5 << 2) >> 2] = i1; - i16 = (i21 | 0) < (i16 | 0) ? i21 : i16; - i5 = i5 + 1 | 0; - } - i1 = 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i19 | 0)) break; - if ((HEAP32[i18 + (i2 << 2) >> 2] | 0) <= (i16 | 0)) { - HEAP8[i17 + i1 >> 0] = i2; - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - STACKTOP = i20; - return i1 | 0; -} - -function _jpeg_calc_output_dimensions(i13) { - i13 = i13 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i14 = 0; - i1 = HEAP32[i13 + 20 >> 2] | 0; - if ((i1 | 0) != 202) { - i12 = HEAP32[i13 >> 2] | 0; - HEAP32[i12 + 20 >> 2] = 20; - HEAP32[i12 + 24 >> 2] = i1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i13 >> 2] >> 2] & 255](i13); - } - i1 = HEAP32[i13 + 48 >> 2] | 0; - i2 = HEAP32[i13 + 52 >> 2] | 0; - do if (i1 << 3 >>> 0 > i2 >>> 0) { - if (i1 << 2 >>> 0 <= i2 >>> 0) { - i9 = _jdiv_round_up(HEAP32[i13 + 28 >> 2] | 0, 4) | 0; - HEAP32[i13 + 112 >> 2] = i9; - i9 = 2; - i1 = _jdiv_round_up(HEAP32[i13 + 32 >> 2] | 0, 4) | 0; - break; } - i3 = HEAP32[i13 + 28 >> 2] | 0; - if (i1 << 1 >>> 0 > i2 >>> 0) { - HEAP32[i13 + 112 >> 2] = i3; - i9 = 8; - i1 = HEAP32[i13 + 32 >> 2] | 0; - break; - } else { - i9 = _jdiv_round_up(i3, 2) | 0; - HEAP32[i13 + 112 >> 2] = i9; - i9 = 4; - i1 = _jdiv_round_up(HEAP32[i13 + 32 >> 2] | 0, 2) | 0; - break; + } + __stack_pointer = $2 - -64 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___operator__28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul____29($0, $1) { + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___isInline_28_29_20const($1); + $2 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___isInline_28_29_20const($0); + label$1: { + if ($3) { + if (!$2) { + dlfree(HEAP32[$0 >> 2]); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___clearInline_28_29($0); + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____20std____2__copy__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____29($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___begin_28_29($1), $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___end_28_29($1), HEAP32[$0 >> 2]); + wasm2js_i32$0 = $0, wasm2js_i32$1 = HEAP32[$0 >> 2] + ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___size_28_29_20const($1) << 2) | 0, + HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + break label$1; } - } else { - i9 = _jdiv_round_up(HEAP32[i13 + 28 >> 2] | 0, 8) | 0; - HEAP32[i13 + 112 >> 2] = i9; - i9 = 1; - i1 = _jdiv_round_up(HEAP32[i13 + 32 >> 2] | 0, 8) | 0; - } while (0); - HEAP32[i13 + 116 >> 2] = i1; - HEAP32[i13 + 316 >> 2] = i9; - i2 = HEAP32[i13 + 216 >> 2] | 0; - i10 = i13 + 36 | 0; - i1 = HEAP32[i10 >> 2] | 0; - i11 = i13 + 308 | 0; - i12 = i13 + 312 | 0; - i4 = i2; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i1 | 0)) break; - i6 = i4 + 8 | 0; - i7 = i4 + 12 | 0; - i3 = i9; - while (1) { - if ((i3 | 0) >= 8) break; - i8 = i3 << 1; - i14 = Math_imul(i8, HEAP32[i6 >> 2] | 0) | 0; - if ((i14 | 0) > (Math_imul(HEAP32[i11 >> 2] | 0, i9) | 0)) break; - i14 = Math_imul(i8, HEAP32[i7 >> 2] | 0) | 0; - if ((i14 | 0) > (Math_imul(HEAP32[i12 >> 2] | 0, i9) | 0)) break; else i3 = i8; - } - HEAP32[i4 + 36 >> 2] = i3; - i4 = i4 + 84 | 0; - i5 = i5 + 1 | 0; - } - i4 = i13 + 28 | 0; - i5 = i13 + 32 | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i1 | 0)) break; - i1 = i2 + 36 | 0; - i14 = Math_imul(Math_imul(HEAP32[i2 + 8 >> 2] | 0, HEAP32[i4 >> 2] | 0) | 0, HEAP32[i1 >> 2] | 0) | 0; - i14 = _jdiv_round_up(i14, HEAP32[i11 >> 2] << 3) | 0; - HEAP32[i2 + 40 >> 2] = i14; - i1 = Math_imul(Math_imul(HEAP32[i2 + 12 >> 2] | 0, HEAP32[i5 >> 2] | 0) | 0, HEAP32[i1 >> 2] | 0) | 0; - i1 = _jdiv_round_up(i1, HEAP32[i12 >> 2] << 3) | 0; - HEAP32[i2 + 44 >> 2] = i1; - i2 = i2 + 84 | 0; - i3 = i3 + 1 | 0; - i1 = HEAP32[i10 >> 2] | 0; - } - i2 = HEAP32[i13 + 44 >> 2] | 0; - switch (i2 | 0) { - case 1: - { - i1 = i2; - break; + if ($2) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___clearInline_28_29($1); + return; } - case 3: - case 2: - { - i1 = 3; - break; + std____2__enable_if_is_move_constructible__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul______value_20___20is_move_assignable__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul______value_2c_20void___type_20std____2__swap__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____29($0, $1); + std____2__enable_if_is_move_constructible__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul______value_20___20is_move_assignable__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul______value_2c_20void___type_20std____2__swap__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____29($0 + 4 | 0, $1 + 4 | 0); + std____2__enable_if_is_move_constructible__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul______value_20___20is_move_assignable__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul______value_2c_20void___type_20std____2__swap__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____29($0 + 8 | 0, $1 + 8 | 0); + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___clear_28_29($1); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnqualifiedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + label$3: { + label$4: { + if (($3 | 0) == 85) { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnnamedTypeName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1); + break label$4; + } + if (($3 - 49 & 255) >>> 0 <= 8) { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSourceName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0); + break label$4; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 36122); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 12 >> 2] = $4; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 8 | 0)) { + $3 = $0 + 8 | 0; + $4 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($3); + while (1) { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSourceName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0); + HEAP32[$2 + 16 >> 2] = $1; + if (!$1) { + break label$3; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($3, $2 + 16 | 0); + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + continue; + } + break; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($2 + 16 | 0, $0, $4); + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__StructuredBindingName_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $2 + 16 | 0); + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseOperatorName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1); + } + if ($1) { + break label$2; + } + } + $0 = 0; + break label$1; } - case 5: - case 4: - { - i1 = 4; - break; + $0 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseAbiTags_28_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1); + } + __stack_pointer = $2 + 32 | 0; + return $0; +} + +function jpeg_idct_15x15($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $27 = __stack_pointer - 480 | 0; + __stack_pointer = $27; + $28 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $27; + while (1) { + $12 = HEAP32[$1 + 160 >> 2]; + $16 = HEAP16[$2 + 80 >> 1]; + $8 = HEAP32[$1 + 32 >> 2]; + $13 = HEAP16[$2 + 16 >> 1]; + $6 = HEAP32[$1 + 224 >> 2]; + $9 = HEAP16[$2 + 112 >> 1]; + $11 = HEAP32[$1 + 96 >> 2]; + $18 = HEAP16[$2 + 48 >> 1]; + $10 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $15 = Math_imul(HEAP32[$1 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $17 = $10 + Math_imul($15, -11586) | 0; + $14 = Math_imul(HEAP32[$1 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $7 = Math_imul(HEAP32[$1 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $5 = $14 - $7 | 0; + HEAP32[$0 + 224 >> 2] = $17 + Math_imul($5, -11584) >> 11; + $19 = Math_imul($15, 9373) + $10 | 0; + $7 = $7 + $14 | 0; + $20 = Math_imul($7, 10958); + $23 = Math_imul($5, 374); + $21 = $19 + ($20 + $23 | 0) | 0; + $12 = Math_imul(Math_imul($12, $16), 10033); + $8 = Math_imul($8, $13); + $6 = Math_imul($6, $9); + $13 = $8 - $6 | 0; + $16 = $12 + Math_imul($13, 11522) | 0; + $9 = Math_imul($11, $18); + $11 = Math_imul($9, -11018); + $18 = $16 + (Math_imul($6, 20131) - $11 | 0) | 0; + HEAP32[$0 + 448 >> 2] = $21 - $18 >> 11; + HEAP32[$0 >> 2] = $18 + $21 >> 11; + $15 = Math_imul($15, -3580) + $10 | 0; + $18 = Math_imul($5, 2896); + $21 = Math_imul($7, 6476); + $10 = $15 + ($18 + $21 | 0) | 0; + $24 = $9 - $6 | 0; + $25 = Math_imul($24 + $8 | 0, 6810); + $26 = $25 + Math_imul($8, 4209) | 0; + HEAP32[$0 + 416 >> 2] = $10 - $26 >> 11; + HEAP32[$0 + 32 >> 2] = $10 + $26 >> 11; + $10 = Math_imul($5, 5792) + $17 | 0; + $13 = Math_imul($13, 10033) - $12 | 0; + HEAP32[$0 + 384 >> 2] = $10 - $13 >> 11; + HEAP32[$0 + 64 >> 2] = $10 + $13 >> 11; + $5 = Math_imul($5, -3271); + $10 = Math_imul($7, 4482); + $7 = ($5 - $10 | 0) + $19 | 0; + $11 = ($12 + $11 | 0) + Math_imul($6, -7121) | 0; + $6 = Math_imul($8 + $6 | 0, 4712); + $13 = $11 + $6 | 0; + HEAP32[$0 + 288 >> 2] = $7 - $13 >> 11; + HEAP32[$0 + 160 >> 2] = $7 + $13 >> 11; + $14 = Math_imul($14, 11795); + $7 = (($14 - $20 | 0) + $23 | 0) + $15 | 0; + $9 = Math_imul($9, -6810); + $6 = (($9 + Math_imul($8, 3897) | 0) - $12 | 0) + $6 | 0; + HEAP32[$0 + 352 >> 2] = $7 - $6 >> 11; + HEAP32[$0 + 96 >> 2] = $6 + $7 >> 11; + $6 = ($19 - $21 | 0) + $18 | 0; + $12 = Math_imul($24, -17828) + $25 | 0; + HEAP32[$0 + 320 >> 2] = $6 - $12 >> 11; + HEAP32[$0 + 128 >> 2] = $6 + $12 >> 11; + $5 = (($10 - $14 | 0) + $5 | 0) + $15 | 0; + $8 = (Math_imul($8, -9113) + $9 | 0) + $16 | 0; + HEAP32[$0 + 256 >> 2] = $5 - $8 >> 11; + HEAP32[$0 + 192 >> 2] = $8 + $5 >> 11; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + $22 = $22 + 1 | 0; + if (($22 | 0) != 8) { + continue; } - default: - {} - } - HEAP32[i13 + 120 >> 2] = i1; - HEAP32[i13 + 124 >> 2] = (HEAP32[i13 + 84 >> 2] | 0) == 0 ? i1 : 1; - if (!(_use_merged_upsample(i13) | 0)) i1 = 1; else i1 = HEAP32[i12 >> 2] | 0; - HEAP32[i13 + 128 >> 2] = i1; - return; -} - -function __ZNSt3__210__stdinbufIcE9__getcharEb(i11, i15) { - i11 = i11 | 0; - i15 = i15 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0, i18 = 0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i13 = i16 + 16 | 0; - i14 = i16 + 8 | 0; - i8 = i16 + 4 | 0; - i9 = i16; - i3 = i11 + 52 | 0; - if (HEAP8[i3 >> 0] | 0) { - i2 = i11 + 48 | 0; - i1 = HEAP32[i2 >> 2] | 0; - if (i15) { - i15 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - HEAP32[i2 >> 2] = i15; - HEAP8[i3 >> 0] = 0; + break; + } + $0 = $28 - 384 | 0; + $1 = $27; + $15 = 0; + while (1) { + $2 = HEAP32[($15 << 2) + $3 >> 2] + $4 | 0; + $12 = Math_imul(HEAP32[$1 + 20 >> 2], 10033); + $8 = HEAP32[$1 + 4 >> 2]; + $5 = HEAP32[$1 + 28 >> 2]; + $11 = $8 - $5 | 0; + $18 = $12 + Math_imul($11, 11522) | 0; + $10 = HEAP32[$1 + 12 >> 2]; + $13 = Math_imul($10, -11018); + $16 = $18 + (Math_imul($5, 20131) - $13 | 0) | 0; + $9 = (HEAP32[$1 >> 2] << 13) + 134348800 | 0; + $19 = HEAP32[$1 + 24 >> 2]; + $22 = $9 + Math_imul($19, 9373) | 0; + $14 = HEAP32[$1 + 8 >> 2]; + $7 = HEAP32[$1 + 16 >> 2]; + $6 = $14 - $7 | 0; + $17 = Math_imul($6, 374); + $7 = $7 + $14 | 0; + $23 = Math_imul($7, 10958); + $20 = $22 + ($17 + $23 | 0) | 0; + HEAP8[$2 | 0] = HEAPU8[($16 + $20 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 14 | 0] = HEAPU8[($20 - $16 >>> 18 & 1023) + $0 | 0]; + $16 = Math_imul($19, -3580) + $9 | 0; + $25 = Math_imul($6, 2896); + $26 = Math_imul($7, 6476); + $28 = $16 + ($25 + $26 | 0) | 0; + $20 = $10 - $5 | 0; + $21 = Math_imul($20 + $8 | 0, 6810); + $24 = $21 + Math_imul($8, 4209) | 0; + HEAP8[$2 + 1 | 0] = HEAPU8[($28 + $24 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 13 | 0] = HEAPU8[($28 - $24 >>> 18 & 1023) + $0 | 0]; + $19 = Math_imul($19, -11586) + $9 | 0; + $9 = $19 + Math_imul($6, 5792) | 0; + $11 = Math_imul($11, 10033) - $12 | 0; + HEAP8[$2 + 2 | 0] = HEAPU8[($9 + $11 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 12 | 0] = HEAPU8[($9 - $11 >>> 18 & 1023) + $0 | 0]; + $9 = Math_imul($8 + $5 | 0, 4712); + $10 = Math_imul($10, -6810); + $11 = $9 + (($10 + Math_imul($8, 3897) | 0) - $12 | 0) | 0; + $14 = Math_imul($14, 11795); + $17 = (($14 - $23 | 0) + $17 | 0) + $16 | 0; + HEAP8[$2 + 3 | 0] = HEAPU8[($11 + $17 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 11 | 0] = HEAPU8[($17 - $11 >>> 18 & 1023) + $0 | 0]; + $11 = Math_imul($20, -17828) + $21 | 0; + $17 = ($22 - $26 | 0) + $25 | 0; + HEAP8[$2 + 4 | 0] = HEAPU8[($11 + $17 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 10 | 0] = HEAPU8[($17 - $11 >>> 18 & 1023) + $0 | 0]; + $5 = (($12 + $13 | 0) + Math_imul($5, -7121) | 0) + $9 | 0; + $12 = Math_imul($6, -3271); + $7 = Math_imul($7, 4482); + $9 = ($12 - $7 | 0) + $22 | 0; + HEAP8[$2 + 5 | 0] = HEAPU8[($5 + $9 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 9 | 0] = HEAPU8[($9 - $5 >>> 18 & 1023) + $0 | 0]; + $8 = (Math_imul($8, -9113) + $10 | 0) + $18 | 0; + $5 = (($7 - $14 | 0) + $12 | 0) + $16 | 0; + HEAP8[$2 + 6 | 0] = HEAPU8[($8 + $5 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 8 | 0] = HEAPU8[($5 - $8 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 7 | 0] = HEAPU8[(Math_imul($6, 268423872) + $19 >>> 18 & 1023) + $0 | 0]; + $1 = $1 + 32 | 0; + $15 = $15 + 1 | 0; + if (($15 | 0) != 15) { + continue; } - } else { - i1 = HEAP32[i11 + 44 >> 2] | 0; - i1 = (i1 | 0) > 1 ? i1 : 1; - i12 = i11 + 32 | 0; - i2 = 0; - while (1) { - if (i2 >>> 0 >= i1 >>> 0) { - i10 = 9; - break; - } - i3 = _getc(HEAP32[i12 >> 2] | 0) | 0; - if ((i3 | 0) == -1) { - i10 = 8; - break; + break; + } + __stack_pointer = $27 + 480 | 0; +} + +function arMultiReadConfigFile($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 2624 | 0; + __stack_pointer = $2; + label$1: { + $7 = fopen($0, 1046); + label$2: { + if (!$7) { + HEAP32[$2 + 16 >> 2] = $0; + arLog(0, 3, 3026, $2 + 16 | 0); + wasm2js_i32$0 = $2, wasm2js_i32$1 = strerror(HEAP32[__errno_location() >> 2]), HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + HEAP32[$2 >> 2] = 4058; + arLog(0, 3, 3296, $2); + break label$2; + } + get_buff($2 + 2304 | 0, $7); + HEAP32[$2 + 224 >> 2] = $2 + 248; + if ((sscanf($2 + 2304 | 0, 4253, $2 + 224 | 0) | 0) != 1) { + HEAP32[$2 + 208 >> 2] = $0; + arLog(0, 3, 5508, $2 + 208 | 0); + fclose($7); + break label$2; + } + $3 = HEAP32[$2 + 248 >> 2]; + $12 = dlmalloc(Math_imul($3, 320)); + if (!$12) { + break label$1; } - HEAP8[i13 + i2 >> 0] = i3; - i2 = i2 + 1 | 0; - } - if ((i10 | 0) == 8) i1 = __ZNSt3__211char_traitsIcE3eofEv() | 0; else if ((i10 | 0) == 9) { - do if (!(HEAP8[i11 + 53 >> 0] | 0)) { - i5 = i11 + 40 | 0; - i6 = i11 + 36 | 0; - i7 = i14 + 1 | 0; - L11 : while (1) { - i17 = HEAP32[i5 >> 2] | 0; - i3 = i17; - i2 = HEAP32[i3 >> 2] | 0; - i3 = HEAP32[i3 + 4 >> 2] | 0; - i18 = HEAP32[i6 >> 2] | 0; - i4 = i13 + i1 | 0; - switch (FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[i18 >> 2] | 0) + 16 >> 2] & 15](i18, i17, i13, i4, i8, i14, i7, i9) | 0) { - case 3: - { - i10 = 15; - break L11; - } - case 2: - { - i10 = 17; - break L11; + while (1) { + label$6: { + label$7: { + label$8: { + if (($3 | 0) > ($9 | 0)) { + get_buff($2 + 2304 | 0, $7); + $4 = Math_imul($9, 320) + $12 | 0; + $3 = $4 + 312 | 0; + HEAP32[$2 + 192 >> 2] = $3; + HEAP32[$2 + 196 >> 2] = $2 + 255; + label$10: { + if ((sscanf($2 + 2304 | 0, 6618, $2 + 192 | 0) | 0) != 1) { + if (!$1) { + HEAP32[$2 + 144 >> 2] = $0; + HEAP32[$2 + 148 >> 2] = $2 + 2304; + arLog(0, 3, 7872, $2 + 144 | 0); + break label$6; + } + if (!arUtilGetDirectoryNameFromPath($2 + 256 | 0, $0, 2048, 1)) { + HEAP32[$2 + 160 >> 2] = $0; + arLog(0, 3, 8740, $2 + 160 | 0); + break label$6; + } + $5 = strncat($2 + 256 | 0, $2 + 2304 | 0, 2047 - strlen($2 + 256 | 0) | 0); + $3 = arPattLoad($1, $5); + HEAP32[$4 >> 2] = $3; + if (($3 | 0) < 0) { + break label$8; + } + $3 = 0; + $10 = 1; + break label$10; + } + $3 = HEAP32[$4 + 312 >> 2]; + HEAP32[$4 >> 2] = $3 & -32768 ? 0 : $3 & 32767; + $3 = 1; + $10 = 2; + } + HEAP32[$4 + 4 >> 2] = $3; + get_buff($2 + 2304 | 0, $7); + HEAP32[$2 + 128 >> 2] = $4 + 8; + if ((sscanf($2 + 2304 | 0, 9677, $2 + 128 | 0) | 0) != 1) { + HEAP32[$2 + 112 >> 2] = $0; + HEAP32[$2 + 116 >> 2] = $9 + 1; + arLog(0, 3, 10692, $2 + 112 | 0); + break label$6; + } + get_buff($2 + 2304 | 0, $7); + HEAP32[$2 + 108 >> 2] = $4 + 40; + HEAP32[$2 + 104 >> 2] = $4 + 32; + HEAP32[$2 + 100 >> 2] = $4 + 24; + $11 = $4 + 16 | 0; + HEAP32[$2 + 96 >> 2] = $11; + $5 = 1; + if ((sscanf($2 + 2304 | 0, 11067, $2 + 96 | 0) | 0) == 4) { + break label$7; + } + HEAP32[$2 + 80 >> 2] = $2 + 244; + HEAP32[$2 + 84 >> 2] = $2 + 240; + if ((sscanf($2 + 2304 | 0, 11648, $2 + 80 | 0) | 0) == 2) { + $5 = 0; + break label$7; + } + HEAP32[$2 + 64 >> 2] = $0; + HEAP32[$2 + 68 >> 2] = $9 + 1; + arLog(0, 3, 14224, $2 - -64 | 0); + break label$6; + } + fclose($7); + $3 = dlmalloc(136); + if (!$3) { + break label$1; + } + HEAP32[$3 >> 2] = $12; + $5 = HEAP32[$2 + 248 >> 2]; + HEAP32[$3 + 128 >> 2] = 0; + HEAP32[$3 + 4 >> 2] = $5; + HEAP32[$3 + 104 >> 2] = 0; + label$16: { + if (($13 & 3) == 3) { + HEAP32[$3 + 108 >> 2] = 2; + break label$16; + } + if ($13 & 1) { + HEAP32[$3 + 108 >> 2] = 0; + break label$16; + } + HEAP32[$3 + 108 >> 2] = 1; + } + HEAP32[$3 + 120 >> 2] = 0; + HEAP32[$3 + 124 >> 2] = 1071644672; + HEAP32[$3 + 112 >> 2] = 0; + HEAP32[$3 + 116 >> 2] = 1071644672; + break label$2; } - case 1: - break; - default: - break L11; + HEAP32[$2 + 180 >> 2] = $5; + HEAP32[$2 + 176 >> 2] = $0; + arLog(0, 3, 9548, $2 + 176 | 0); + break label$6; } - i18 = HEAP32[i5 >> 2] | 0; - HEAP32[i18 >> 2] = i2; - HEAP32[i18 + 4 >> 2] = i3; - if ((i1 | 0) == 8) { - i10 = 17; + $13 = $10 | $13; + while (1) { + get_buff($2 + 2304 | 0, $7); + $3 = ($5 << 5) + $4 | 0; + HEAP32[$2 + 60 >> 2] = $3 + 40; + HEAP32[$2 + 56 >> 2] = $3 + 32; + HEAP32[$2 + 52 >> 2] = $3 + 24; + HEAP32[$2 + 48 >> 2] = $3 + 16; + if ((sscanf($2 + 2304 | 0, 11067, $2 + 48 | 0) | 0) != 4) { + HEAP32[$2 + 32 >> 2] = $0; + HEAP32[$2 + 36 >> 2] = $9 + 1; + arLog(0, 3, 14224, $2 + 32 | 0); + break label$6; + } + $5 = $5 + 1 | 0; + if (($5 | 0) != 3) { + continue; + } break; } - i2 = _getc(HEAP32[i12 >> 2] | 0) | 0; - if ((i2 | 0) == -1) { - i10 = 17; + arUtilMatInv($11, $4 + 112 | 0); + $6 = HEAPF64[$4 + 8 >> 3]; + $8 = $6 * -.5; + HEAPF64[$2 + 2616 >> 3] = $8; + HEAPF64[$2 + 2608 >> 3] = $8; + HEAPF64[$2 + 2600 >> 3] = $8; + $6 = $6 * .5; + HEAPF64[$2 + 2592 >> 3] = $6; + HEAPF64[$2 + 2584 >> 3] = $6; + HEAPF64[$2 + 2576 >> 3] = $6; + HEAPF64[$2 + 2568 >> 3] = $6; + HEAPF64[$2 + 2560 >> 3] = $8; + $3 = 0; + while (1) { + if (($3 | 0) != 4) { + $5 = Math_imul($3, 24) + $4 | 0; + $10 = ($2 + 2560 | 0) + ($3 << 4) | 0; + $8 = HEAPF64[$10 >> 3]; + $6 = HEAPF64[$10 + 8 >> 3]; + HEAPF64[$5 + 208 >> 3] = HEAPF64[$11 + 24 >> 3] + (HEAPF64[$11 >> 3] * $8 + HEAPF64[$11 + 8 >> 3] * $6); + HEAPF64[$5 + 216 >> 3] = HEAPF64[$4 + 72 >> 3] + ($8 * HEAPF64[$4 + 48 >> 3] + $6 * HEAPF64[$4 + 56 >> 3]); + HEAPF64[$5 + 224 >> 3] = HEAPF64[$4 + 104 >> 3] + ($8 * HEAPF64[$4 + 80 >> 3] + $6 * HEAPF64[$4 + 88 >> 3]); + $3 = $3 + 1 | 0; + continue; + } break; } - HEAP8[i4 >> 0] = i2; - i1 = i1 + 1 | 0; - } - if ((i10 | 0) == 15) HEAP8[i14 >> 0] = HEAP8[i13 >> 0] | 0; else if ((i10 | 0) == 17) { - i1 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - break; + $9 = $9 + 1 | 0; + $3 = HEAP32[$2 + 248 >> 2]; + continue; } - i10 = 19; - } else { - HEAP8[i14 >> 0] = HEAP8[i13 >> 0] | 0; - i10 = 19; - } while (0); - L21 : do if ((i10 | 0) == 19) { - L23 : do if (i15) { - i18 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i14 >> 0] | 0) | 0; - HEAP32[i11 + 48 >> 2] = i18; - } else { - do { - if ((i1 | 0) <= 0) break L23; - i1 = i1 + -1 | 0; - i18 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i13 + i1 >> 0] | 0) | 0; - } while ((_ungetc(i18, HEAP32[i12 >> 2] | 0) | 0) != -1); - i1 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - break L21; - } while (0); - i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i14 >> 0] | 0) | 0; - } while (0); - } - } - STACKTOP = i16; - return i1 | 0; -} - -function __ZNSt3__210__stdinbufIwE9__getcharEb(i11, i15) { - i11 = i11 | 0; - i15 = i15 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0, i18 = 0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i13 = i16 + 16 | 0; - i14 = i16 + 8 | 0; - i8 = i16 + 4 | 0; - i9 = i16; - i3 = i11 + 52 | 0; - if (HEAP8[i3 >> 0] | 0) { - i2 = i11 + 48 | 0; - i1 = HEAP32[i2 >> 2] | 0; - if (i15) { - i15 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - HEAP32[i2 >> 2] = i15; - HEAP8[i3 >> 0] = 0; + break; + } + fclose($7); + dlfree($12); + $3 = 0; + } + __stack_pointer = $2 + 2624 | 0; + return $3; + } + arLog(0, 3, 6451, 0); + exit(1); + abort(); +} + +function icpGetInitXw2Xc_from_PlanarData($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0; + $9 = __stack_pointer - 80 | 0; + __stack_pointer = $9; + $15 = -1; + label$1: { + if (($3 | 0) < 4) { + break label$1; } - } else { - i1 = HEAP32[i11 + 44 >> 2] | 0; - i1 = (i1 | 0) > 1 ? i1 : 1; - i12 = i11 + 32 | 0; - i2 = 0; while (1) { - if (i2 >>> 0 >= i1 >>> 0) { - i10 = 9; - break; + if (($3 | 0) != ($5 | 0)) { + $6 = Math_imul($5, 24); + $5 = $5 + 1 | 0; + if (HEAPF64[($2 + $6 | 0) + 16 >> 3] == 0) { + continue; + } + break label$1; } - i3 = _getc(HEAP32[i12 >> 2] | 0) | 0; - if ((i3 | 0) == -1) { - i10 = 8; + break; + } + if (HEAPF64[$0 >> 3] == 0 | HEAPF64[$0 + 32 >> 3] != 0 | (HEAPF64[$0 + 40 >> 3] == 0 | HEAPF64[$0 + 64 >> 3] != 0)) { + break label$1; + } + if (HEAPF64[$0 + 72 >> 3] != 0 | HEAPF64[$0 + 80 >> 3] != 1 | (HEAPF64[$0 + 24 >> 3] != 0 | HEAPF64[$0 + 56 >> 3] != 0)) { + break label$1; + } + if (HEAPF64[$0 + 88 >> 3] != 0) { + break label$1; + } + $5 = $3 << 1; + $10 = arMatrixAlloc($5, 8); + if (!$10) { + arLog(0, 3, 1428, 0); + break label$1; + } + $13 = arMatrixAlloc($5, 1); + if ($13) { + $32 = HEAP32[$13 >> 2]; + $33 = HEAP32[$10 >> 2]; + while (1) { + if (($3 | 0) != ($20 | 0)) { + $5 = ($20 << 7) + $33 | 0; + $6 = Math_imul($20, 24) + $2 | 0; + HEAPF64[$5 >> 3] = HEAPF64[$6 >> 3]; + $7 = HEAPF64[$6 + 8 >> 3]; + HEAP32[$5 + 40 >> 2] = 0; + HEAP32[$5 + 44 >> 2] = 0; + HEAP32[$5 + 32 >> 2] = 0; + HEAP32[$5 + 36 >> 2] = 0; + HEAP32[$5 + 24 >> 2] = 0; + HEAP32[$5 + 28 >> 2] = 0; + HEAP32[$5 + 16 >> 2] = 0; + HEAP32[$5 + 20 >> 2] = 1072693248; + HEAPF64[$5 + 8 >> 3] = $7; + $30 = $20 << 4; + $16 = $30 + $1 | 0; + HEAPF64[$5 + 48 >> 3] = HEAPF64[$16 >> 3] * -HEAPF64[$6 >> 3]; + $7 = HEAPF64[$16 >> 3]; + $8 = HEAPF64[$6 + 8 >> 3]; + HEAP32[$5 + 80 >> 2] = 0; + HEAP32[$5 + 84 >> 2] = 0; + HEAP32[$5 + 72 >> 2] = 0; + HEAP32[$5 + 76 >> 2] = 0; + $31 = $5 - -64 | 0; + HEAP32[$31 >> 2] = 0; + HEAP32[$31 + 4 >> 2] = 0; + HEAPF64[$5 + 56 >> 3] = $7 * -$8; + HEAPF64[$5 + 88 >> 3] = HEAPF64[$6 >> 3]; + $7 = HEAPF64[$6 + 8 >> 3]; + HEAP32[$5 + 104 >> 2] = 0; + HEAP32[$5 + 108 >> 2] = 1072693248; + HEAPF64[$5 + 96 >> 3] = $7; + HEAPF64[$5 + 112 >> 3] = HEAPF64[$16 + 8 >> 3] * -HEAPF64[$6 >> 3]; + HEAPF64[$5 + 120 >> 3] = HEAPF64[$16 + 8 >> 3] * -HEAPF64[$6 + 8 >> 3]; + $5 = $32 + $30 | 0; + HEAPF64[$5 >> 3] = HEAPF64[$16 >> 3]; + HEAPF64[$5 + 8 >> 3] = HEAPF64[$16 + 8 >> 3]; + $20 = $20 + 1 | 0; + continue; + } break; } - HEAP8[i13 + i2 >> 0] = i3; - i2 = i2 + 1 | 0; - } - if ((i10 | 0) == 8) i1 = __ZNSt3__211char_traitsIwE3eofEv() | 0; else if ((i10 | 0) == 9) { - do if (!(HEAP8[i11 + 53 >> 0] | 0)) { - i5 = i11 + 40 | 0; - i6 = i11 + 36 | 0; - i7 = i14 + 4 | 0; - L11 : while (1) { - i17 = HEAP32[i5 >> 2] | 0; - i3 = i17; - i2 = HEAP32[i3 >> 2] | 0; - i3 = HEAP32[i3 + 4 >> 2] | 0; - i18 = HEAP32[i6 >> 2] | 0; - i4 = i13 + i1 | 0; - switch (FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[i18 >> 2] | 0) + 16 >> 2] & 15](i18, i17, i13, i4, i8, i14, i7, i9) | 0) { - case 3: - { - i10 = 15; - break L11; + $5 = arMatrixAllocTrans($10); + if (!$5) { + arMatrixFree($10); + arMatrixFree($13); + arLog(0, 3, 3401, 0); + break label$1; + } + $6 = arMatrixAllocMul($5, $10); + if (!$6) { + arMatrixFree($10); + arMatrixFree($13); + arMatrixFree($5); + arLog(0, 3, 3841, 0); + break label$1; + } + $3 = arMatrixAllocMul($5, $13); + if (!$3) { + arMatrixFree($10); + arMatrixFree($13); + arMatrixFree($5); + arMatrixFree($6); + arLog(0, 3, 4452, 0); + break label$1; + } + if ((arMatrixSelfInv($6) | 0) < 0) { + arMatrixFree($10); + arMatrixFree($13); + arMatrixFree($5); + arMatrixFree($6); + arMatrixFree($3); + arLog(0, 3, 5278, 0); + break label$1; + } + $15 = arMatrixAllocMul($6, $3); + if (!$15) { + arMatrixFree($10); + arMatrixFree($13); + arMatrixFree($5); + arMatrixFree($6); + arMatrixFree($3); + arLog(0, 3, 6140, 0); + $15 = -1; + break label$1; + } + $24 = HEAPF64[$0 + 48 >> 3]; + $2 = HEAP32[$15 >> 2]; + $34 = HEAPF64[$2 + 16 >> 3]; + $35 = HEAPF64[$2 + 40 >> 3]; + $21 = HEAPF64[$2 + 24 >> 3]; + $14 = HEAPF64[$2 >> 3]; + $7 = HEAPF64[$2 + 48 >> 3]; + $25 = HEAPF64[$0 >> 3]; + $26 = HEAPF64[$0 + 8 >> 3]; + $27 = HEAPF64[$0 + 40 >> 3]; + $11 = HEAPF64[$2 + 32 >> 3]; + $17 = HEAPF64[$2 + 8 >> 3]; + $28 = HEAPF64[$0 + 16 >> 3]; + $8 = HEAPF64[$2 + 56 >> 3]; + arMatrixFree($10); + arMatrixFree($13); + arMatrixFree($5); + arMatrixFree($6); + arMatrixFree($3); + arMatrixFree($15); + $5 = $9 + 40 | 0; + $11 = ($11 - $24 * $8) / $27; + $12 = ($17 - $28 * $8 - $26 * $11) / $25; + $17 = Math_sqrt($8 * $8 + ($12 * $12 + $11 * $11)); + HEAPF64[$5 >> 3] = $8 / $17; + $6 = $9 + 32 | 0; + HEAPF64[$6 >> 3] = $11 / $17; + HEAPF64[$9 + 24 >> 3] = $12 / $17; + $8 = ($21 - $24 * $7) / $27; + $12 = ($14 - $28 * $7 - $26 * $8) / $25; + $11 = Math_sqrt($7 * $7 + ($12 * $12 + $8 * $8)); + HEAPF64[$9 + 16 >> 3] = $7 / $11; + HEAPF64[$9 + 8 >> 3] = $8 / $11; + HEAPF64[$9 >> 3] = $12 / $11; + check_rotation($9); + $7 = HEAPF64[$9 >> 3]; + $8 = HEAPF64[$9 + 32 >> 3]; + $12 = HEAPF64[$9 + 24 >> 3]; + $21 = HEAPF64[$9 + 8 >> 3]; + $14 = $7 * $8 - $12 * $21; + $23 = $14; + $22 = $14 * $14; + $14 = HEAPF64[$9 + 40 >> 3]; + $29 = HEAPF64[$9 + 16 >> 3]; + $18 = $21 * $14 - $8 * $29; + $19 = $29 * $12 - $14 * $7; + $22 = Math_sqrt($22 + ($18 * $18 + $19 * $19)); + $23 = $23 / $22; + HEAPF64[$9 - -64 >> 3] = $23; + $19 = $19 / $22; + HEAPF64[$9 + 56 >> 3] = $19; + $18 = $18 / $22; + HEAPF64[$9 + 48 >> 3] = $18; + HEAPF64[$4 + 64 >> 3] = $29; + HEAPF64[$4 + 32 >> 3] = $21; + HEAPF64[$4 >> 3] = $7; + HEAPF64[$4 + 72 >> 3] = $14; + HEAPF64[$4 + 40 >> 3] = $8; + HEAPF64[$4 + 8 >> 3] = $12; + HEAPF64[$4 + 80 >> 3] = $23; + HEAPF64[$4 + 48 >> 3] = $19; + HEAPF64[$4 + 16 >> 3] = $18; + $7 = ($11 + $17) * .5; + HEAPF64[$4 + 88 >> 3] = 1 / $7; + $8 = ($35 - $24) / $27; + HEAPF64[$4 + 56 >> 3] = $8 / $7; + HEAPF64[$4 + 24 >> 3] = ($34 - $28 - $26 * $8) / $25 / $7; + $15 = 0; + break label$1; + } + arMatrixFree($10); + arLog(0, 3, 2669, 0); + } + __stack_pointer = $9 + 80 | 0; + return $15; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__20std____2____scan_keyword_std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__ctype_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__ctype_char__20const__2c_20unsigned_20int__2c_20bool_29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_i32$2 = 0; + $8 = __stack_pointer - 128 | 0; + __stack_pointer = $8; + HEAP32[$8 + 120 >> 2] = $1; + $10 = std____2__iterator_traits_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const____difference_type_20std____2__distance_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const___28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29($2, $3); + HEAP32[$8 + 16 >> 2] = 315; + $15 = std____2__unique_ptr_unsigned_20char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28unsigned_20char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($8 + 8 | 0, 0, $8 + 16 | 0); + $9 = $8 + 16 | 0; + label$1: { + if ($10 >>> 0 >= 101) { + $9 = dlmalloc($10); + if (!$9) { + break label$1; + } + std____2__unique_ptr_unsigned_20char_2c_20void_20_28__29_28void__29___reset_28unsigned_20char__29($15, $9); + } + $7 = $9; + $1 = $2; + while (1) if (($1 | 0) == ($3 | 0)) { + label$5: while (1) { + label$6: { + if (!(wasm2js_i32$0 = bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($0, $8 + 120 | 0), + wasm2js_i32$1 = 0, wasm2js_i32$2 = $10, wasm2js_i32$2 ? wasm2js_i32$0 : wasm2js_i32$1)) { + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0, $8 + 120 | 0)) { + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 2; } - case 2: - { - i10 = 17; - break L11; + break label$6; + } + $12 = std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0); + if (!$6) { + $12 = std____2__ctype_char___toupper_28char_29_20const($4, $12); + } + $13 = $16 + 1 | 0; + $17 = 0; + $7 = $9; + $1 = $2; + while (1) if (($1 | 0) == ($3 | 0)) { + $16 = $13; + if (!$17) { + continue label$5; } - case 1: - break; - default: - break L11; - } - i18 = HEAP32[i5 >> 2] | 0; - HEAP32[i18 >> 2] = i2; - HEAP32[i18 + 4 >> 2] = i3; - if ((i1 | 0) == 8) { - i10 = 17; - break; - } - i2 = _getc(HEAP32[i12 >> 2] | 0) | 0; - if ((i2 | 0) == -1) { - i10 = 17; - break; + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0); + $7 = $9; + $1 = $2; + if ($10 + $11 >>> 0 < 2) { + continue label$5; + } + while (1) { + if (($1 | 0) == ($3 | 0)) { + continue label$5; + } + label$15: { + if (HEAPU8[$7 | 0] != 2) { + break label$15; + } + if ((std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($1) | 0) == ($13 | 0)) { + break label$15; + } + HEAP8[$7 | 0] = 0; + $11 = $11 - 1 | 0; + } + $7 = $7 + 1 | 0; + $1 = $1 + 12 | 0; + continue; + } + } else { + label$17: { + if (HEAPU8[$7 | 0] != 1) { + break label$17; + } + $14 = HEAPU8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29_20const($1, $16) | 0]; + if (!$6) { + $14 = std____2__ctype_char___toupper_28char_29_20const($4, $14 << 24 >> 24); + } + label$19: { + if (($12 & 255) == ($14 & 255)) { + $17 = 1; + if ((std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($1) | 0) != ($13 | 0)) { + break label$17; + } + HEAP8[$7 | 0] = 2; + $11 = $11 + 1 | 0; + break label$19; + } + HEAP8[$7 | 0] = 0; + } + $10 = $10 - 1 | 0; + } + $7 = $7 + 1 | 0; + $1 = $1 + 12 | 0; + continue; } - HEAP8[i4 >> 0] = i2; - i1 = i1 + 1 | 0; } - if ((i10 | 0) == 15) HEAP32[i14 >> 2] = HEAP8[i13 >> 0]; else if ((i10 | 0) == 17) { - i1 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - break; - } - i10 = 19; - } else { - HEAP32[i14 >> 2] = HEAP8[i13 >> 0]; - i10 = 19; - } while (0); - L21 : do if ((i10 | 0) == 19) { - L23 : do if (i15) { - i18 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i14 >> 2] | 0) | 0; - HEAP32[i11 + 48 >> 2] = i18; - } else { - do { - if ((i1 | 0) <= 0) break L23; - i1 = i1 + -1 | 0; - i18 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP8[i13 + i1 >> 0] | 0) | 0; - } while ((_ungetc(i18, HEAP32[i12 >> 2] | 0) | 0) != -1); - i1 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - break L21; - } while (0); - i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i14 >> 2] | 0) | 0; - } while (0); - } - } - STACKTOP = i16; - return i1 | 0; -} - -function _start_pass(i11) { - i11 = i11 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0; - i12 = HEAP32[i11 + 448 >> 2] | 0; - i15 = i11 + 36 | 0; - i16 = i11 + 72 | 0; - i9 = 0; - i10 = HEAP32[i11 + 216 >> 2] | 0; - i2 = 0; - i3 = 0; - while (1) { - if ((i9 | 0) >= (HEAP32[i15 >> 2] | 0)) break; - i1 = HEAP32[i10 + 36 >> 2] | 0; - L4 : do switch (i1 | 0) { - case 1: - { - i1 = 0; - i8 = 11; - break; - } - case 2: - { - i1 = 0; - i8 = 12; - break; - } - case 4: - { - i1 = 0; - i8 = 13; break; } - case 8: - { - i1 = HEAP32[i16 >> 2] | 0; - switch (i1 | 0) { - case 0: - { - i8 = 14; - break L4; - } - case 1: - { - i8 = 15; - break L4; - } - case 2: - { - i8 = 16; - break L4; - } - default: - { - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 48; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i11); - i1 = i2; - i8 = i3; - break L4; - } - } - } - default: - { - i8 = HEAP32[i11 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 7; - HEAP32[i8 + 24 >> 2] = i1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i11 >> 2] >> 2] & 255](i11); - i1 = i2; - i8 = i3; - } - } while (0); - HEAP32[i12 + 4 + (i9 << 2) >> 2] = i8; - L14 : do if ((HEAP32[i10 + 48 >> 2] | 0 ? (i13 = i12 + 44 + (i9 << 2) | 0, (HEAP32[i13 >> 2] | 0) != (i1 | 0)) : 0) ? (i14 = HEAP32[i10 + 76 >> 2] | 0, i14 | 0) : 0) { - HEAP32[i13 >> 2] = i1; - switch (i1 | 0) { - case 0: - { - i3 = HEAP32[i10 + 80 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == 64) break L14; - HEAP32[i3 + (i2 << 2) >> 2] = HEAPU16[i14 + (i2 << 1) >> 1]; - i2 = i2 + 1 | 0; - } - } - case 1: - { - i3 = HEAP32[i10 + 80 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == 64) break L14; - i7 = (Math_imul(HEAP16[3008 + (i2 << 1) >> 1] | 0, HEAPU16[i14 + (i2 << 1) >> 1] | 0) | 0) + 2048 >> 12; - HEAP32[i3 + (i2 << 2) >> 2] = i7; - i2 = i2 + 1 | 0; - } - } - case 2: - { - i6 = HEAP32[i10 + 80 >> 2] | 0; - i3 = 0; - i4 = 0; + label$21: { + label$22: { while (1) { - if ((i3 | 0) == 8) break L14; - i7 = 3136 + (i3 << 3) | 0; - i2 = 0; - i5 = i4; - while (1) { - if ((i2 | 0) == 8) break; - HEAPF32[i6 + (i5 << 2) >> 2] = +HEAPF64[i7 >> 3] * +(HEAPU16[i14 + (i5 << 1) >> 1] | 0) * +HEAPF64[3136 + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; - i5 = i5 + 1 | 0; + if (($2 | 0) == ($3 | 0)) { + break label$22; } - i3 = i3 + 1 | 0; - i4 = i4 + 8 | 0; + if (HEAPU8[$9 | 0] != 2) { + $9 = $9 + 1 | 0; + $2 = $2 + 12 | 0; + continue; + } + break; } + $3 = $2; + break label$21; } - default: - { - i7 = HEAP32[i11 >> 2] | 0; - HEAP32[i7 + 20 >> 2] = 48; - FUNCTION_TABLE_vi[HEAP32[i7 >> 2] & 255](i11); - break L14; - } - } - } while (0); - i9 = i9 + 1 | 0; - i10 = i10 + 84 | 0; - i2 = i1; - i3 = i8; - } - return; -} - -function __ZNSt3__29__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_(i4, i6, i11, i7, i12, i2, i3, i8, i13, i14, i10, i5) { - i4 = i4 | 0; - i6 = i6 | 0; - i11 = i11 | 0; - i7 = i7 | 0; - i12 = i12 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i8 = i8 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i10 = i10 | 0; - i5 = i5 | 0; - var i1 = 0, i9 = 0; - L1 : do if (i4 << 24 >> 24 == i2 << 24 >> 24) if (HEAP8[i6 >> 0] | 0) { - HEAP8[i6 >> 0] = 0; - i11 = HEAP32[i12 >> 2] | 0; - HEAP32[i12 >> 2] = i11 + 1; - HEAP8[i11 >> 0] = 46; - i12 = HEAP8[i8 + 11 >> 0] | 0; - if (((i12 << 24 >> 24 < 0 ? HEAP32[i8 + 4 >> 2] | 0 : i12 & 255) | 0) != 0 ? (i1 = HEAP32[i14 >> 2] | 0, (i1 - i13 | 0) < 160) : 0) { - i13 = HEAP32[i10 >> 2] | 0; - HEAP32[i14 >> 2] = i1 + 4; - HEAP32[i1 >> 2] = i13; - i1 = 0; - } else i1 = 0; - } else i1 = -1; else { - if (i4 << 24 >> 24 == i3 << 24 >> 24 ? (i3 = HEAP8[i8 + 11 >> 0] | 0, (i3 << 24 >> 24 < 0 ? HEAP32[i8 + 4 >> 2] | 0 : i3 & 255) | 0) : 0) { - if (!(HEAP8[i6 >> 0] | 0)) { - i1 = -1; - break; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 4; } - i1 = HEAP32[i14 >> 2] | 0; - if ((i1 - i13 | 0) >= 160) { - i1 = 0; - break; + std____2__unique_ptr_unsigned_20char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($15); + __stack_pointer = $8 + 128 | 0; + return $3; + } else { + label$26: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____empty_28_29_20const($1)) { + HEAP8[$7 | 0] = 1; + break label$26; + } + HEAP8[$7 | 0] = 2; + $11 = $11 + 1 | 0; + $10 = $10 - 1 | 0; } - i13 = HEAP32[i10 >> 2] | 0; - HEAP32[i14 >> 2] = i1 + 4; - HEAP32[i1 >> 2] = i13; - HEAP32[i10 >> 2] = 0; - i1 = 0; - break; + $7 = $7 + 1 | 0; + $1 = $1 + 12 | 0; + continue; } - i3 = i5 + 32 | 0; - i2 = 0; - while (1) { - i1 = i5 + i2 | 0; - if ((i2 | 0) == 32) { - i1 = i3; - break; - } - if ((HEAP8[i1 >> 0] | 0) == i4 << 24 >> 24) break; else i2 = i2 + 1 | 0; - } - i2 = i1 - i5 | 0; - if ((i2 | 0) > 31) i1 = -1; else { - i3 = HEAP8[10736 + i2 >> 0] | 0; - switch (i2 | 0) { - case 24: - case 25: - { - i1 = HEAP32[i12 >> 2] | 0; - if ((i1 | 0) != (i7 | 0) ? (HEAP8[i1 + -1 >> 0] & 95) != (HEAP8[i11 >> 0] & 127) : 0) { - i1 = -1; - break L1; - } - HEAP32[i12 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i3; - i1 = 0; - break L1; - } - case 23: - case 22: - { - HEAP8[i11 >> 0] = 80; - i1 = HEAP32[i12 >> 2] | 0; - HEAP32[i12 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i3; - i1 = 0; - break L1; - } - default: - { - i1 = i3 & 95; - if ((((i1 | 0) == (HEAP8[i11 >> 0] | 0) ? (HEAP8[i11 >> 0] = i1 | 128, HEAP8[i6 >> 0] | 0) : 0) ? (HEAP8[i6 >> 0] = 0, i11 = HEAP8[i8 + 11 >> 0] | 0, (i11 << 24 >> 24 < 0 ? HEAP32[i8 + 4 >> 2] | 0 : i11 & 255) | 0) : 0) ? (i9 = HEAP32[i14 >> 2] | 0, (i9 - i13 | 0) < 160) : 0) { - i13 = HEAP32[i10 >> 2] | 0; - HEAP32[i14 >> 2] = i9 + 4; - HEAP32[i9 >> 2] = i13; - } - i14 = HEAP32[i12 >> 2] | 0; - HEAP32[i12 >> 2] = i14 + 1; - HEAP8[i14 >> 0] = i3; - if ((i2 | 0) > 21) { - i1 = 0; - break L1; - } - HEAP32[i10 >> 2] = (HEAP32[i10 >> 2] | 0) + 1; - i1 = 0; - break L1; - } - } - } - } while (0); - return i1 | 0; -} - -function __ZNKSt3__27codecvtIwc11__mbstate_tE6do_outERS1_PKwS5_RS5_PcS7_RS7_(i4, i7, i1, i10, i12, i2, i8, i13) { - i4 = i4 | 0; - i7 = i7 | 0; - i1 = i1 | 0; - i10 = i10 | 0; - i12 = i12 | 0; - i2 = i2 | 0; - i8 = i8 | 0; - i13 = i13 | 0; - var i3 = 0, i5 = 0, i6 = 0, i9 = 0, i11 = 0, i14 = 0, i15 = 0, i16 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i14 = i15; - i9 = i15 + 8 | 0; - i3 = i1; + } + std____throw_bad_alloc_28_29(); + abort(); +} + +function std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20unsigned_20long_29($2, $0 + 8 | 0, $1); + $3 = HEAP32[$1 >> 2]; while (1) { - if ((i3 | 0) == (i10 | 0)) { - i3 = i10; - break; + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________construct_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29(std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________alloc_28_29($0), std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______20std____2____to_address_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29(HEAP32[$1 >> 2])); + $3 = HEAP32[$1 >> 2] + 12 | 0; + HEAP32[$1 >> 2] = $3; + continue; } - if (!(HEAP32[i3 >> 2] | 0)) break; - i3 = i3 + 4 | 0; + break; } - HEAP32[i13 >> 2] = i2; - HEAP32[i12 >> 2] = i1; - i6 = i8; - i11 = i4 + 8 | 0; - L6 : while (1) { - if ((i2 | 0) == (i8 | 0) | (i1 | 0) == (i10 | 0)) { - i3 = 36; - break; - } - i16 = i7; - i5 = HEAP32[i16 + 4 >> 2] | 0; - i4 = i14; - HEAP32[i4 >> 2] = HEAP32[i16 >> 2]; - HEAP32[i4 + 4 >> 2] = i5; - i4 = ___uselocale(HEAP32[i11 >> 2] | 0) | 0; - i5 = _wcsnrtombs(i2, i12, i3 - i1 >> 2, i6 - i2 | 0, i7) | 0; - if (i4 | 0) ___uselocale(i4) | 0; - switch (i5 | 0) { - case -1: - { - i3 = 10; - break L6; - } - case 0: - { - i1 = 1; - i3 = 33; - break L6; - } - default: - {} - } - i2 = (HEAP32[i13 >> 2] | 0) + i5 | 0; - HEAP32[i13 >> 2] = i2; - if ((i2 | 0) == (i8 | 0)) { - i3 = 34; - break; - } - if ((i3 | 0) == (i10 | 0)) { - i3 = i10; - i1 = HEAP32[i12 >> 2] | 0; - } else { - i2 = ___uselocale(HEAP32[i11 >> 2] | 0) | 0; - i1 = _wcrtomb(i9, 0, i7) | 0; - if (i2 | 0) ___uselocale(i2) | 0; - if ((i1 | 0) == -1) { - i1 = 2; - i3 = 32; - break; - } - if (i1 >>> 0 > (i6 - (HEAP32[i13 >> 2] | 0) | 0) >>> 0) { - i1 = 1; - i3 = 32; - break; - } - i2 = i9; - while (1) { - if (!i1) break; - i5 = HEAP8[i2 >> 0] | 0; - i16 = HEAP32[i13 >> 2] | 0; - HEAP32[i13 >> 2] = i16 + 1; - HEAP8[i16 >> 0] = i5; - i2 = i2 + 1 | 0; - i1 = i1 + -1 | 0; - } - i1 = (HEAP32[i12 >> 2] | 0) + 4 | 0; - HEAP32[i12 >> 2] = i1; - i3 = i1; - while (1) { - if ((i3 | 0) == (i10 | 0)) { - i3 = i10; - break; - } - if (!(HEAP32[i3 >> 2] | 0)) break; - i3 = i3 + 4 | 0; - } - i2 = HEAP32[i13 >> 2] | 0; + std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $2 + 16 | 0; +} + +function std____2____money_put_wchar_t_____gather_info_28bool_2c_20bool_2c_20std____2__locale_20const__2c_20std____2__money_base__pattern__2c_20wchar_t__2c_20wchar_t__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20int__29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { + var $10 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $10 = __stack_pointer - 16 | 0; + __stack_pointer = $10; + label$1: { + if ($0) { + $2 = std____2__moneypunct_wchar_t_2c_20true__20const__20std____2__use_facet_std____2__moneypunct_wchar_t_2c_20true___28std____2__locale_20const__29($2); + label$3: { + if ($1) { + std____2__moneypunct_wchar_t_2c_20true___neg_format_28_29_20const($10, $2); + $0 = HEAP32[$10 >> 2]; + HEAP8[$3 | 0] = $0; + HEAP8[$3 + 1 | 0] = $0 >>> 8; + HEAP8[$3 + 2 | 0] = $0 >>> 16; + HEAP8[$3 + 3 | 0] = $0 >>> 24; + std____2__moneypunct_wchar_t_2c_20true___negative_sign_28_29_20const($10, $2); + break label$3; + } + std____2__moneypunct_wchar_t_2c_20true___pos_format_28_29_20const($10, $2); + $0 = HEAP32[$10 >> 2]; + HEAP8[$3 | 0] = $0; + HEAP8[$3 + 1 | 0] = $0 >>> 8; + HEAP8[$3 + 2 | 0] = $0 >>> 16; + HEAP8[$3 + 3 | 0] = $0 >>> 24; + std____2__moneypunct_wchar_t_2c_20true___positive_sign_28_29_20const($10, $2); + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____29($8, $10); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($10); + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__moneypunct_wchar_t_2c_20true___decimal_point_28_29_20const($2), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $5, wasm2js_i32$1 = std____2__moneypunct_wchar_t_2c_20true___thousands_sep_28_29_20const($2), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__moneypunct_wchar_t_2c_20true___grouping_28_29_20const($10, $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($6, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + std____2__moneypunct_wchar_t_2c_20true___curr_symbol_28_29_20const($10, $2); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____29($7, $10); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($10); + $2 = std____2__moneypunct_wchar_t_2c_20true___frac_digits_28_29_20const($2); + break label$1; + } + $2 = std____2__moneypunct_wchar_t_2c_20false__20const__20std____2__use_facet_std____2__moneypunct_wchar_t_2c_20false___28std____2__locale_20const__29($2); + label$5: { + if ($1) { + std____2__moneypunct_wchar_t_2c_20false___neg_format_28_29_20const($10, $2); + $0 = HEAP32[$10 >> 2]; + HEAP8[$3 | 0] = $0; + HEAP8[$3 + 1 | 0] = $0 >>> 8; + HEAP8[$3 + 2 | 0] = $0 >>> 16; + HEAP8[$3 + 3 | 0] = $0 >>> 24; + std____2__moneypunct_wchar_t_2c_20false___negative_sign_28_29_20const($10, $2); + break label$5; + } + std____2__moneypunct_wchar_t_2c_20false___pos_format_28_29_20const($10, $2); + $0 = HEAP32[$10 >> 2]; + HEAP8[$3 | 0] = $0; + HEAP8[$3 + 1 | 0] = $0 >>> 8; + HEAP8[$3 + 2 | 0] = $0 >>> 16; + HEAP8[$3 + 3 | 0] = $0 >>> 24; + std____2__moneypunct_wchar_t_2c_20false___positive_sign_28_29_20const($10, $2); + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____29($8, $10); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($10); + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__moneypunct_wchar_t_2c_20false___decimal_point_28_29_20const($2), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $5, wasm2js_i32$1 = std____2__moneypunct_wchar_t_2c_20false___thousands_sep_28_29_20const($2), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__moneypunct_wchar_t_2c_20false___grouping_28_29_20const($10, $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($6, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + std____2__moneypunct_wchar_t_2c_20false___curr_symbol_28_29_20const($10, $2); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____29($7, $10); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($10); + $2 = std____2__moneypunct_wchar_t_2c_20false___frac_digits_28_29_20const($2); + } + HEAP32[$9 >> 2] = $2; + __stack_pointer = $10 + 16 | 0; +} + +function jpeg_idct_13x13($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $25 = __stack_pointer - 416 | 0; + __stack_pointer = $25; + $26 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $25; + while (1) { + $16 = HEAP32[$1 + 224 >> 2]; + $7 = HEAP16[$2 + 112 >> 1]; + $5 = HEAP32[$1 + 96 >> 2]; + $8 = HEAP16[$2 + 48 >> 1]; + $6 = HEAP32[$1 + 160 >> 2]; + $21 = HEAP16[$2 + 80 >> 1]; + $13 = HEAP32[$1 + 32 >> 2]; + $9 = HEAP16[$2 + 16 >> 1]; + $10 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $14 = Math_imul(HEAP32[$1 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $15 = Math_imul(HEAP32[$1 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $11 = $14 - $15 | 0; + $12 = Math_imul(HEAP32[$1 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + HEAP32[$0 + 192 >> 2] = $10 + Math_imul($11 - $12 | 0, 11585) >> 11; + $5 = Math_imul($5, $8); + $13 = Math_imul($13, $9); + $9 = Math_imul($5 + $13 | 0, 10832); + $8 = Math_imul($6, $21); + $6 = Math_imul($13 + $8 | 0, 9534); + $19 = Math_imul($11, 793) + $10 | 0; + $14 = $14 + $15 | 0; + $15 = Math_imul($14, 9465); + $20 = $19 + ($15 + Math_imul($12, 11249) | 0) | 0; + $16 = Math_imul($7, $16); + $7 = $16 + $13 | 0; + $21 = Math_imul($7, 7682); + $17 = $21 + ((Math_imul($13, -16549) + $9 | 0) + $6 | 0) | 0; + HEAP32[$0 + 384 >> 2] = $20 - $17 >> 11; + HEAP32[$0 >> 2] = $17 + $20 >> 11; + $17 = Math_imul($11, 3989) + $10 | 0; + $20 = Math_imul($14, 2592); + $23 = $17 + (Math_imul($12, 8672) - $20 | 0) | 0; + $24 = Math_imul($5 + $16 | 0, -9534); + $22 = Math_imul($5, 6859) + $9 | 0; + $9 = Math_imul($5 + $8 | 0, -2773); + $22 = $24 + ($22 + $9 | 0) | 0; + HEAP32[$0 + 352 >> 2] = $23 - $22 >> 11; + HEAP32[$0 + 32 >> 2] = $23 + $22 >> 11; + $15 = (Math_imul($12, 4108) - $15 | 0) + $19 | 0; + $9 = (Math_imul($8, -12879) + $9 | 0) + $6 | 0; + $6 = Math_imul($8 + $16 | 0, -5384); + $9 = $9 + $6 | 0; + HEAP32[$0 + 320 >> 2] = $15 - $9 >> 11; + HEAP32[$0 + 64 >> 2] = $9 + $15 >> 11; + $11 = Math_imul($11, -7678) + $10 | 0; + $14 = Math_imul($14, 3570); + $10 = $11 + (Math_imul($12, -1396) - $14 | 0) | 0; + $6 = ((Math_imul($16, 18068) + $24 | 0) + $21 | 0) + $6 | 0; + HEAP32[$0 + 288 >> 2] = $10 - $6 >> 11; + HEAP32[$0 + 96 >> 2] = $6 + $10 >> 11; + $11 = (Math_imul($12, -6581) + $14 | 0) + $11 | 0; + $10 = Math_imul($7, 2773) + Math_imul($8 - $5 | 0, 7682) | 0; + $5 = ($10 + Math_imul($13, 2611) | 0) + Math_imul($5, -3818) | 0; + HEAP32[$0 + 256 >> 2] = $11 - $5 >> 11; + HEAP32[$0 + 128 >> 2] = $5 + $11 >> 11; + $12 = (Math_imul($12, -10258) + $20 | 0) + $17 | 0; + $5 = (Math_imul($8, 3150) + $10 | 0) + Math_imul($16, -14273) | 0; + HEAP32[$0 + 224 >> 2] = $12 - $5 >> 11; + HEAP32[$0 + 160 >> 2] = $5 + $12 >> 11; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + $18 = $18 + 1 | 0; + if (($18 | 0) != 8) { + continue; } + break; } - if ((i3 | 0) == 10) { - HEAP32[i13 >> 2] = i2; - while (1) { - if ((i1 | 0) == (HEAP32[i12 >> 2] | 0)) break; - i16 = HEAP32[i1 >> 2] | 0; - i3 = ___uselocale(HEAP32[i11 >> 2] | 0) | 0; - i2 = _wcrtomb(i2, i16, i14) | 0; - if (i3 | 0) ___uselocale(i3) | 0; - if ((i2 | 0) == -1) break; - i2 = (HEAP32[i13 >> 2] | 0) + i2 | 0; - HEAP32[i13 >> 2] = i2; - i1 = i1 + 4 | 0; - } - HEAP32[i12 >> 2] = i1; - i1 = 2; - i3 = 33; - } else if ((i3 | 0) == 32) i3 = 33; else if ((i3 | 0) == 34) { - i1 = HEAP32[i12 >> 2] | 0; - i3 = 36; - } - if ((i3 | 0) != 33) if ((i3 | 0) == 36) i1 = (i1 | 0) != (i10 | 0) & 1; - STACKTOP = i15; - return i1 | 0; -} - -function __ZNKSt3__27codecvtIwc11__mbstate_tE5do_inERS1_PKcS5_RS5_PwS7_RS7_(i4, i7, i1, i13, i10, i2, i8, i11) { - i4 = i4 | 0; - i7 = i7 | 0; - i1 = i1 | 0; - i13 = i13 | 0; - i10 = i10 | 0; - i2 = i2 | 0; - i8 = i8 | 0; - i11 = i11 | 0; - var i3 = 0, i5 = 0, i6 = 0, i9 = 0, i12 = 0, i14 = 0, i15 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i12 = i14; - i3 = i1; + $0 = $26 - 384 | 0; + $1 = $25; + $14 = 0; while (1) { - if ((i3 | 0) == (i13 | 0)) { - i3 = i13; - break; + $5 = HEAP32[$1 + 12 >> 2]; + $13 = HEAP32[$1 + 4 >> 2]; + $7 = Math_imul($5 + $13 | 0, 10832); + $10 = HEAP32[$1 + 16 >> 2]; + $11 = HEAP32[$1 + 24 >> 2]; + $18 = $10 + $11 | 0; + $19 = Math_imul($18, 9465); + $11 = $10 - $11 | 0; + $2 = HEAP32[($14 << 2) + $3 >> 2] + $4 | 0; + $16 = HEAP32[$1 + 28 >> 2]; + $21 = $16 + $13 | 0; + $9 = Math_imul($21, 7682); + $8 = HEAP32[$1 + 20 >> 2]; + $6 = Math_imul($13 + $8 | 0, 9534); + $15 = $9 + ($6 + (Math_imul($13, -16549) + $7 | 0) | 0) | 0; + $10 = (HEAP32[$1 >> 2] << 13) + 134348800 | 0; + $20 = $10 + Math_imul($11, 793) | 0; + $12 = HEAP32[$1 + 8 >> 2]; + $17 = $20 + (Math_imul($12, 11249) + $19 | 0) | 0; + HEAP8[$2 | 0] = HEAPU8[($15 + $17 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 12 | 0] = HEAPU8[($17 - $15 >>> 18 & 1023) + $0 | 0]; + $15 = Math_imul($5 + $16 | 0, -9534); + $17 = Math_imul($5, 6859) + $7 | 0; + $7 = Math_imul($5 + $8 | 0, -2773); + $17 = $15 + ($17 + $7 | 0) | 0; + $24 = Math_imul($11, 3989) + $10 | 0; + $23 = Math_imul($18, 2592); + $22 = $24 + (Math_imul($12, 8672) - $23 | 0) | 0; + HEAP8[$2 + 1 | 0] = HEAPU8[($17 + $22 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 11 | 0] = HEAPU8[($22 - $17 >>> 18 & 1023) + $0 | 0]; + $6 = (Math_imul($8, -12879) + $7 | 0) + $6 | 0; + $7 = Math_imul($8 + $16 | 0, -5384); + $6 = $6 + $7 | 0; + $19 = (Math_imul($12, 4108) - $19 | 0) + $20 | 0; + HEAP8[$2 + 2 | 0] = HEAPU8[($6 + $19 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 10 | 0] = HEAPU8[($19 - $6 >>> 18 & 1023) + $0 | 0]; + $7 = ((Math_imul($16, 18068) + $15 | 0) + $9 | 0) + $7 | 0; + $6 = Math_imul($11, -7678) + $10 | 0; + $18 = Math_imul($18, 3570); + $9 = $6 + (Math_imul($12, -1396) - $18 | 0) | 0; + HEAP8[$2 + 3 | 0] = HEAPU8[($7 + $9 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 9 | 0] = HEAPU8[($9 - $7 >>> 18 & 1023) + $0 | 0]; + $7 = Math_imul($21, 2773) + Math_imul($8 - $5 | 0, 7682) | 0; + $5 = ($7 + Math_imul($13, 2611) | 0) + Math_imul($5, -3818) | 0; + $13 = (Math_imul($12, -6581) + $18 | 0) + $6 | 0; + HEAP8[$2 + 4 | 0] = HEAPU8[($5 + $13 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 8 | 0] = HEAPU8[($13 - $5 >>> 18 & 1023) + $0 | 0]; + $5 = (Math_imul($8, 3150) + $7 | 0) + Math_imul($16, -14273) | 0; + $8 = (Math_imul($12, -10258) + $23 | 0) + $24 | 0; + HEAP8[$2 + 5 | 0] = HEAPU8[($5 + $8 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 7 | 0] = HEAPU8[($8 - $5 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 6 | 0] = HEAPU8[(Math_imul($11 - $12 | 0, 11585) + $10 >>> 18 & 1023) + $0 | 0]; + $1 = $1 + 32 | 0; + $14 = $14 + 1 | 0; + if (($14 | 0) != 13) { + continue; } - if (!(HEAP8[i3 >> 0] | 0)) break; - i3 = i3 + 1 | 0; + break; } - HEAP32[i11 >> 2] = i2; - HEAP32[i10 >> 2] = i1; - i6 = i8; - i9 = i4 + 8 | 0; + __stack_pointer = $25 + 416 | 0; +} + +function std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20bool_2c_20std____2__ios_base__2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29_20const($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, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $6 = __stack_pointer - 192 | 0; + __stack_pointer = $6; + std____2__ios_base__getloc_28_29_20const($6 + 184 | 0, $3); + $11 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($6 + 184 | 0); + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($5)) { + $12 = HEAPU8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29_20const($5, 0) | 0] == (std____2__ctype_char___widen_28char_29_20const($11, 45) & 255); + } + $9 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 160 | 0); + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 144 | 0); + $8 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 128 | 0); + std____2____money_put_char_____gather_info_28bool_2c_20bool_2c_20std____2__locale_20const__2c_20std____2__money_base__pattern__2c_20char__2c_20char__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20int__29($2, $12, $6 + 184 | 0, $6 + 176 | 0, $6 + 175 | 0, $6 + 174 | 0, $9, $7, $8, $6 + 124 | 0); + HEAP32[$6 + 16 >> 2] = 315; + $10 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($6 + 8 | 0, 0, $6 + 16 | 0); + label$2: { + if ((std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($5) | 0) > HEAP32[$6 + 124 >> 2]) { + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($5); + $0 = HEAP32[$6 + 124 >> 2]; + $0 = (((std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($8) + ($2 - $0 << 1) | 0) + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($7) | 0) + HEAP32[$6 + 124 >> 2] | 0) + 1 | 0; + break label$2; + } + $0 = ((std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($8) + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($7) | 0) + HEAP32[$6 + 124 >> 2] | 0) + 2 | 0; + } + $2 = $6 + 16 | 0; + label$4: { + if ($0 >>> 0 < 101) { + break label$4; + } + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($10, dlmalloc($0)); + $2 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($10); + if ($2) { + break label$4; + } + std____throw_bad_alloc_28_29(); + abort(); + } + std____2____money_put_char_____format_28char__2c_20char___2c_20char___2c_20unsigned_20int_2c_20char_20const__2c_20char_20const__2c_20std____2__ctype_char__20const__2c_20bool_2c_20std____2__money_base__pattern_20const__2c_20char_2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20int_29($2, $6 + 4 | 0, $6, std____2__ios_base__flags_28_29_20const($3), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($5), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($5) + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($5) | 0, $11, $12, $6 + 176 | 0, HEAP8[$6 + 175 | 0], HEAP8[$6 + 174 | 0], $9, $7, $8, HEAP32[$6 + 124 >> 2]); + $5 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____pad_and_output_char_2c_20std____2__char_traits_char___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20char_20const__2c_20char_20const__2c_20char_20const__2c_20std____2__ios_base__2c_20char_29($1, $2, HEAP32[$6 + 4 >> 2], HEAP32[$6 >> 2], $3, $4); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($8); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($7); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($9); + std____2__locale___locale_28_29($6 + 184 | 0); + __stack_pointer = $6 + 192 | 0; + return $5 | 0; +} + +function std____2____money_get_char_____gather_info_28bool_2c_20std____2__locale_20const__2c_20std____2__money_base__pattern__2c_20char__2c_20char__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20int__29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { + var $10 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $10 = __stack_pointer - 16 | 0; + __stack_pointer = $10; + label$1: { + if ($0) { + $1 = std____2__moneypunct_char_2c_20true__20const__20std____2__use_facet_std____2__moneypunct_char_2c_20true___28std____2__locale_20const__29($1); + std____2__moneypunct_char_2c_20true___neg_format_28_29_20const($10, $1); + $0 = HEAP32[$10 >> 2]; + HEAP8[$2 | 0] = $0; + HEAP8[$2 + 1 | 0] = $0 >>> 8; + HEAP8[$2 + 2 | 0] = $0 >>> 16; + HEAP8[$2 + 3 | 0] = $0 >>> 24; + std____2__moneypunct_char_2c_20true___negative_sign_28_29_20const($10, $1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($8, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + std____2__moneypunct_char_2c_20true___positive_sign_28_29_20const($10, $1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($7, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__moneypunct_char_2c_20true___decimal_point_28_29_20const($1), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__moneypunct_char_2c_20true___thousands_sep_28_29_20const($1), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + std____2__moneypunct_char_2c_20true___grouping_28_29_20const($10, $1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($5, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + std____2__moneypunct_char_2c_20true___curr_symbol_28_29_20const($10, $1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($6, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + $1 = std____2__moneypunct_char_2c_20true___frac_digits_28_29_20const($1); + break label$1; + } + $1 = std____2__moneypunct_char_2c_20false__20const__20std____2__use_facet_std____2__moneypunct_char_2c_20false___28std____2__locale_20const__29($1); + std____2__moneypunct_char_2c_20false___neg_format_28_29_20const($10, $1); + $0 = HEAP32[$10 >> 2]; + HEAP8[$2 | 0] = $0; + HEAP8[$2 + 1 | 0] = $0 >>> 8; + HEAP8[$2 + 2 | 0] = $0 >>> 16; + HEAP8[$2 + 3 | 0] = $0 >>> 24; + std____2__moneypunct_char_2c_20false___negative_sign_28_29_20const($10, $1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($8, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + std____2__moneypunct_char_2c_20false___positive_sign_28_29_20const($10, $1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($7, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__moneypunct_char_2c_20false___decimal_point_28_29_20const($1), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__moneypunct_char_2c_20false___thousands_sep_28_29_20const($1), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + std____2__moneypunct_char_2c_20false___grouping_28_29_20const($10, $1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($5, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + std____2__moneypunct_char_2c_20false___curr_symbol_28_29_20const($10, $1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($6, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + $1 = std____2__moneypunct_char_2c_20false___frac_digits_28_29_20const($1); + } + HEAP32[$9 >> 2] = $1; + __stack_pointer = $10 + 16 | 0; +} + +function vision__ComputePolarGradients_28float__2c_20float_20const__2c_20unsigned_20long_2c_20unsigned_20long_29($0, $1, $2, $3) { + var $4 = Math_fround(0), $5 = Math_fround(0), $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $10 = ($2 << 2) + $1 | 0; + $4 = HEAPF32[$1 >> 2]; + $5 = Math_fround(HEAPF32[$10 >> 2] - $4); + $4 = Math_fround(HEAPF32[$1 + 4 >> 2] - $4); + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround(+atan2_28float_2c_20float_29($5, $4) + 3.141592653589793), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = sqrt_28float_29(Math_fround(Math_fround($4 * $4) + Math_fround($5 * $5))), + HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + $6 = $2 - 1 | 0; + $11 = $6 >>> 0 > 1 ? $6 : 1; + $7 = $1 + 4 | 0; + $8 = $10; + $9 = 1; while (1) { - if ((i2 | 0) == (i8 | 0) | (i1 | 0) == (i13 | 0)) { - i4 = 33; - break; - } - i15 = i7; - i5 = HEAP32[i15 + 4 >> 2] | 0; - i4 = i12; - HEAP32[i4 >> 2] = HEAP32[i15 >> 2]; - HEAP32[i4 + 4 >> 2] = i5; - i4 = ___uselocale(HEAP32[i9 >> 2] | 0) | 0; - i5 = _mbsnrtowcs(i2, i10, i3 - i1 | 0, i6 - i2 >> 2, i7) | 0; - if (i4 | 0) ___uselocale(i4) | 0; - if ((i5 | 0) == -1) { - i4 = 10; - break; + label$2: { + $8 = $8 + 4 | 0; + $6 = $0 + 8 | 0; + if (($9 | 0) == ($11 | 0)) { + $4 = HEAPF32[$7 >> 2]; + $5 = Math_fround(HEAPF32[$8 >> 2] - $4); + $4 = Math_fround($4 - HEAPF32[$7 - 4 >> 2]); + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround(+atan2_28float_2c_20float_29($5, $4) + 3.141592653589793), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = sqrt_28float_29(Math_fround(Math_fround($4 * $4) + Math_fround($5 * $5))), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + $12 = $3 - 1 | 0; + $13 = $12 >>> 0 > 1 ? $12 : 1; + $8 = ($2 << 2) + $10 | 0; + $9 = $1; + $3 = 1; + label$4: while (1) { + if (($3 | 0) == ($13 | 0)) { + $7 = $6 + 8 | 0; + $8 = (Math_imul($2, $12) << 2) + $1 | 0; + $4 = HEAPF32[$8 >> 2]; + $0 = $8 - ($2 << 2) | 0; + $5 = Math_fround($4 - HEAPF32[$0 >> 2]); + $4 = Math_fround(HEAPF32[$8 + 4 >> 2] - $4); + wasm2js_i32$0 = $6, wasm2js_f32$0 = Math_fround(+atan2_28float_2c_20float_29($5, $4) + 3.141592653589793), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $6, wasm2js_f32$0 = sqrt_28float_29(Math_fround(Math_fround($4 * $4) + Math_fround($5 * $5))), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + $6 = $8 + 4 | 0; + $8 = 1; + while (1) { + $0 = $0 + 4 | 0; + if (($8 | 0) == ($11 | 0)) { + break label$2; + } + $5 = Math_fround(HEAPF32[$6 >> 2] - HEAPF32[$0 >> 2]); + $4 = Math_fround(HEAPF32[$6 + 4 >> 2] - HEAPF32[$6 - 4 >> 2]); + wasm2js_i32$0 = $7, wasm2js_f32$0 = Math_fround(+atan2_28float_2c_20float_29($5, $4) + 3.141592653589793), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $7, wasm2js_f32$0 = sqrt_28float_29(Math_fround(Math_fround($4 * $4) + Math_fround($5 * $5))), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + $8 = $8 + 1 | 0; + $6 = $6 + 4 | 0; + $7 = $7 + 8 | 0; + continue; + } + } + $5 = Math_fround(HEAPF32[$8 >> 2] - HEAPF32[$9 >> 2]); + $4 = Math_fround(HEAPF32[$10 + 4 >> 2] - HEAPF32[$10 >> 2]); + wasm2js_i32$0 = $6, wasm2js_f32$0 = Math_fround(+atan2_28float_2c_20float_29($5, $4) + 3.141592653589793), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $6, wasm2js_f32$0 = sqrt_28float_29(Math_fround(Math_fround($4 * $4) + Math_fround($5 * $5))), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + $6 = $6 + 16 | 0; + $7 = $10 + 4 | 0; + $0 = 1; + while (1) if (($0 | 0) == ($11 | 0)) { + $5 = Math_fround(HEAPF32[$8 + 4 >> 2] - HEAPF32[$9 + 4 >> 2]); + $4 = Math_fround(HEAPF32[$7 >> 2] - HEAPF32[$7 - 4 >> 2]); + wasm2js_i32$0 = $6, wasm2js_f32$0 = Math_fround(+atan2_28float_2c_20float_29($5, $4) + 3.141592653589793), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $6, wasm2js_f32$0 = sqrt_28float_29(Math_fround(Math_fround($4 * $4) + Math_fround($5 * $5))), + HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + $3 = $3 + 1 | 0; + $8 = $8 + 8 | 0; + $9 = $9 + 8 | 0; + $10 = $7 + 4 | 0; + continue label$4; + } else { + $8 = $8 + 4 | 0; + $9 = $9 + 4 | 0; + $5 = Math_fround(HEAPF32[$8 >> 2] - HEAPF32[$9 >> 2]); + $4 = Math_fround(HEAPF32[$7 + 4 >> 2] - HEAPF32[$7 - 4 >> 2]); + wasm2js_i32$0 = $6, wasm2js_f32$0 = Math_fround(+atan2_28float_2c_20float_29($5, $4) + 3.141592653589793), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $6, wasm2js_f32$0 = sqrt_28float_29(Math_fround(Math_fround($4 * $4) + Math_fround($5 * $5))), + HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + $0 = $0 + 1 | 0; + $6 = $6 + 8 | 0; + $7 = $7 + 4 | 0; + continue; + } + } + } else { + $5 = Math_fround(HEAPF32[$8 >> 2] - HEAPF32[$7 >> 2]); + $4 = Math_fround(HEAPF32[$7 + 4 >> 2] - HEAPF32[$7 - 4 >> 2]); + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround(+atan2_28float_2c_20float_29($5, $4) + 3.141592653589793), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = sqrt_28float_29(Math_fround(Math_fround($4 * $4) + Math_fround($5 * $5))), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + $9 = $9 + 1 | 0; + $7 = $7 + 4 | 0; + $0 = $6; + continue; + } } - i2 = (HEAP32[i11 >> 2] | 0) + (i5 << 2) | 0; - HEAP32[i11 >> 2] = i2; - if ((i2 | 0) == (i8 | 0)) { - i4 = 30; - break; + break; + } + $4 = HEAPF32[$6 >> 2]; + $5 = Math_fround($4 - HEAPF32[$0 >> 2]); + $4 = Math_fround($4 - HEAPF32[$6 - 4 >> 2]); + wasm2js_i32$0 = $7, wasm2js_f32$0 = Math_fround(+atan2_28float_2c_20float_29($5, $4) + 3.141592653589793), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $7, wasm2js_f32$0 = sqrt_28float_29(Math_fround(Math_fround($4 * $4) + Math_fround($5 * $5))), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0), std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________capacity_28_29_20const($0), 12) | 0, std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________capacity_28_29_20const($0), 12) | 0, std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0) + Math_imul($1, 12) | 0); +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0), std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________capacity_28_29_20const($0), 12) | 0, std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0) + Math_imul($1, 12) | 0, std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________size_28_29_20const($0), 12) | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParam_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 84)) { + break label$1; } - i1 = HEAP32[i10 >> 2] | 0; - if ((i3 | 0) == (i13 | 0)) i3 = i13; else { - i3 = ___uselocale(HEAP32[i9 >> 2] | 0) | 0; - i1 = _mbrtowc(i2, i1, 1, i7) | 0; - if (i3 | 0) ___uselocale(i3) | 0; - if (i1 | 0) { - i1 = 2; - i4 = 29; - break; + HEAP32[$1 + 12 >> 2] = 0; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 76)) { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePositiveInteger_28unsigned_20long__29($0, $1 + 12 | 0)) { + break label$1; } - HEAP32[i11 >> 2] = (HEAP32[i11 >> 2] | 0) + 4; - i1 = (HEAP32[i10 >> 2] | 0) + 1 | 0; - HEAP32[i10 >> 2] = i1; - i3 = i1; - while (1) { - if ((i3 | 0) == (i13 | 0)) { - i3 = i13; - break; - } - if (!(HEAP8[i3 >> 0] | 0)) break; - i3 = i3 + 1 | 0; + $3 = HEAP32[$1 + 12 >> 2]; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$1; } - i2 = HEAP32[i11 >> 2] | 0; + $3 = $3 + 1 | 0; } - } - do if ((i4 | 0) == 10) { - L29 : while (1) { - HEAP32[i11 >> 2] = i2; - if ((i1 | 0) == (HEAP32[i10 >> 2] | 0)) { - i4 = 19; - break; + HEAP32[$1 + 8 >> 2] = 0; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePositiveInteger_28unsigned_20long__29($0, $1 + 8 | 0)) { + break label$1; + } + $4 = HEAP32[$1 + 8 >> 2] + 1 | 0; + HEAP32[$1 + 8 >> 2] = $4; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$1; } - i4 = ___uselocale(HEAP32[i9 >> 2] | 0) | 0; - i2 = _mbrtowc(i2, i1, i3 - i1 | 0, i12) | 0; - if (i4 | 0) ___uselocale(i4) | 0; - switch (i2 | 0) { - case -1: - { - i4 = 15; - break L29; + } + if (!(!HEAPU8[$0 + 389 | 0] | $3)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference_2c_20unsigned_20long___28unsigned_20long__29($0, $1 + 8 | 0); + HEAP32[$1 + 4 >> 2] = $2; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__20const__29($0 + 360 | 0, $1 + 4 | 0); + break label$1; + } + label$5: { + $5 = $0 + 332 | 0; + $6 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___size_28_29_20const($5); + label$6: { + if ($6 >>> 0 <= $3 >>> 0) { + break label$6; } - case -2: - { - i4 = 16; - break L29; + $2 = HEAP32[$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___operator_5b_5d_28unsigned_20long_29($5, $3) >> 2]; + if (!$2) { + break label$6; } - case 0: - { - i2 = 1; - break; + if ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___size_28_29_20const($2) >>> 0 > $4 >>> 0) { + break label$5; } - default: - {} } - i1 = i1 + i2 | 0; - i2 = (HEAP32[i11 >> 2] | 0) + 4 | 0; - } - if ((i4 | 0) == 15) { - HEAP32[i10 >> 2] = i1; - i1 = 2; - i4 = 29; - break; - } else if ((i4 | 0) == 16) { - HEAP32[i10 >> 2] = i1; - i1 = 1; - i4 = 29; - break; - } else if ((i4 | 0) == 19) { - HEAP32[i10 >> 2] = i1; - i1 = (i1 | 0) != (i13 | 0) & 1; - i4 = 29; - break; - } - } else if ((i4 | 0) == 30) { - i1 = HEAP32[i10 >> 2] | 0; - i4 = 33; - } while (0); - if ((i4 | 0) != 29) if ((i4 | 0) == 33) i1 = (i1 | 0) != (i13 | 0) & 1; - STACKTOP = i14; - return i1 | 0; -} - -function __ZNSt3__28ios_base4InitC2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = HEAP32[3453] | 0; - __ZNSt3__210__stdinbufIcEC2EP8_IO_FILEP11__mbstate_t(57548, i2, 57604); - HEAP32[14217] = 14248; - HEAP32[14219] = 14268; - HEAP32[14218] = 0; - __ZNSt3__28ios_base4initEPv(56876, 57548); - HEAP32[14237] = 0; - i1 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - HEAP32[14238] = i1; - __ZNSt3__210__stdinbufIwEC2EP8_IO_FILEP11__mbstate_t(57612, i2, 57668); - HEAP32[14239] = 14296; - HEAP32[14241] = 14316; - HEAP32[14240] = 0; - __ZNSt3__28ios_base4initEPv(56964, 57612); - HEAP32[14259] = 0; - i2 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - HEAP32[14260] = i2; - i2 = HEAP32[3455] | 0; - __ZNSt3__211__stdoutbufIcEC2EP8_IO_FILEP11__mbstate_t(57676, i2, 57724); - HEAP32[14261] = 14344; - HEAP32[14262] = 14364; - __ZNSt3__28ios_base4initEPv(57048, 57676); - HEAP32[14280] = 0; - i1 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - HEAP32[14281] = i1; - __ZNSt3__211__stdoutbufIwEC2EP8_IO_FILEP11__mbstate_t(57732, i2, 57780); - HEAP32[14282] = 14392; - HEAP32[14283] = 14412; - __ZNSt3__28ios_base4initEPv(57132, 57732); - HEAP32[14301] = 0; - i2 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - HEAP32[14302] = i2; - i2 = HEAP32[3454] | 0; - __ZNSt3__211__stdoutbufIcEC2EP8_IO_FILEP11__mbstate_t(57788, i2, 57836); - HEAP32[14303] = 14344; - HEAP32[14304] = 14364; - __ZNSt3__28ios_base4initEPv(57216, 57788); - HEAP32[14322] = 0; - i1 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - HEAP32[14323] = i1; - i1 = HEAP32[57212 + (HEAP32[(HEAP32[14303] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0; - HEAP32[14345] = 14344; - HEAP32[14346] = 14364; - __ZNSt3__28ios_base4initEPv(57384, i1); - HEAP32[14364] = 0; - i1 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - HEAP32[14365] = i1; - __ZNSt3__211__stdoutbufIwEC2EP8_IO_FILEP11__mbstate_t(57844, i2, 57892); - HEAP32[14324] = 14392; - HEAP32[14325] = 14412; - __ZNSt3__28ios_base4initEPv(57300, 57844); - HEAP32[14343] = 0; - i2 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - HEAP32[14344] = i2; - i2 = HEAP32[57296 + (HEAP32[(HEAP32[14324] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0; - HEAP32[14366] = 14392; - HEAP32[14367] = 14412; - __ZNSt3__28ios_base4initEPv(57468, i2); - HEAP32[14385] = 0; - i2 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - HEAP32[14386] = i2; - HEAP32[56868 + (HEAP32[(HEAP32[14217] | 0) + -12 >> 2] | 0) + 72 >> 2] = 57044; - HEAP32[56956 + (HEAP32[(HEAP32[14239] | 0) + -12 >> 2] | 0) + 72 >> 2] = 57128; - i2 = (HEAP32[14303] | 0) + -12 | 0; - i1 = 57212 + (HEAP32[i2 >> 2] | 0) + 4 | 0; - HEAP32[i1 >> 2] = HEAP32[i1 >> 2] | 8192; - i1 = (HEAP32[14324] | 0) + -12 | 0; - i3 = 57296 + (HEAP32[i1 >> 2] | 0) + 4 | 0; - HEAP32[i3 >> 2] = HEAP32[i3 >> 2] | 8192; - HEAP32[57212 + (HEAP32[i2 >> 2] | 0) + 72 >> 2] = 57044; - HEAP32[57296 + (HEAP32[i1 >> 2] | 0) + 72 >> 2] = 57128; - return; -} - -function _arGetLine(i11, i12, i1, i15, i17, i19, i20) { - i11 = i11 | 0; - i12 = i12 | 0; - i1 = i1 | 0; - i15 = i15 | 0; - i17 = i17 | 0; - i19 = i19 | 0; - i20 = i20 | 0; - var i2 = 0, i3 = 0, d4 = 0.0, i5 = 0, d6 = 0.0, d7 = 0.0, i8 = 0, i9 = 0, i10 = 0, i13 = 0, i14 = 0, i16 = 0, i18 = 0, i21 = 0, i22 = 0, i23 = 0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i21 + 4 | 0; - i10 = i21; - i18 = _arVecAlloc(2) | 0; - i13 = _arVecAlloc(2) | 0; - i14 = _arMatrixAlloc(2, 2) | 0; - i2 = 0; - L1 : while (1) { - if (i2 >>> 0 >= 4) { - i8 = 10; - break; + $2 = 0; + if (HEAP32[$0 + 392 >> 2] != ($3 | 0) | $3 >>> 0 > $6 >>> 0) { + break label$1; + } + if (($3 | 0) == ($6 | 0)) { + HEAP32[$1 + 4 >> 2] = 0; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___20const__29($5, $1 + 4 | 0); + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b5_5d__28char_20const_20_28__29_20_5b5_5d_29($0, 30895); + break label$1; } - i3 = i2 + 1 | 0; - i8 = HEAP32[i15 + (i3 << 2) >> 2] | 0; - i5 = HEAP32[i15 + (i2 << 2) >> 2] | 0; - d7 = +(i8 + 1 - i5 | 0) * .05 + .5; - i5 = ~~(d7 + +(i5 | 0)); - i8 = ~~(+(i8 | 0) - d7) - i5 | 0; - i16 = _arMatrixAlloc(i8 + 1 | 0, 2) | 0; - i1 = 0; + $2 = HEAP32[$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___operator_5b_5d_28unsigned_20long_29($2, $4) >> 2]; + } + __stack_pointer = $1 + 16 | 0; + return $2; +} + +function vision__Node_96___nearest_28std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____2c_20std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____2c_20unsigned_20char_20const__29_20const($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $8 = __stack_pointer - 32 | 0; + __stack_pointer = $8; + $9 = std____2__numeric_limits_unsigned_20int___max_28_29(); + $5 = -1; + $7 = $0 + 104 | 0; + $0 = std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____vector_28unsigned_20long_29($8 + 16 | 0, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______size_28_29_20const($7)); + label$1: { while (1) { - if ((i1 | 0) > (i8 | 0)) break; - i22 = i1 + i5 | 0; - if ((_arParamObserv2IdealLTf(i17, +(HEAP32[i11 + (i22 << 2) >> 2] | 0), +(HEAP32[i12 + (i22 << 2) >> 2] | 0), i9, i10) | 0) < 0) { - i8 = 6; - break L1; - } - i23 = HEAP32[i16 >> 2] | 0; - i22 = i1 << 1; - HEAPF64[i23 + (i22 << 3) >> 3] = +HEAPF32[i9 >> 2]; - HEAPF64[i23 + ((i22 | 1) << 3) >> 3] = +HEAPF32[i10 >> 2]; - i1 = i1 + 1 | 0; - } - if ((_arMatrixPCA(i16, i14, i18, i13) | 0) < 0) { - i8 = 14; + if (std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____size_28_29_20const($0) >>> 0 <= $4 >>> 0) { + if (($5 | 0) != -1) { + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____push_back_28vision__Node_96__20const__20const__29($1, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______operator_5b_5d_28unsigned_20long_29_20const($7, $5)); + $4 = 0; + while (1) { + if (std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____size_28_29_20const($0) >>> 0 <= $4 >>> 0) { + break label$1; + } + label$6: { + if (($4 | 0) == ($5 | 0)) { + break label$6; + } + if ((vision__PriorityQueueItem_96___dist_28_29_20const(std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____operator_5b_5d_28unsigned_20long_29($0, $4)) | 0) == (vision__PriorityQueueItem_96___dist_28_29_20const(std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____operator_5b_5d_28unsigned_20long_29($0, $5)) | 0)) { + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____push_back_28vision__Node_96__20const__20const__29($1, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______operator_5b_5d_28unsigned_20long_29_20const($7, $4)); + break label$6; + } + std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____push_28vision__PriorityQueueItem_96__20const__29($2, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____operator_5b_5d_28unsigned_20long_29($0, $4)); + } + $4 = $4 + 1 | 0; + continue; + } + } + } else { + $10 = unsigned_20int_20vision__HammingDistance_96__28unsigned_20char_20const__2c_20unsigned_20char_20const__29(HEAP32[std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______operator_5b_5d_28unsigned_20long_29_20const($7, $4) >> 2] + 4 | 0, $3); + $6 = vision__PriorityQueueItem_96___PriorityQueueItem_28vision__Node_96__20const__2c_20unsigned_20int_29($8 + 8 | 0, HEAP32[std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______operator_5b_5d_28unsigned_20long_29_20const($7, $4) >> 2], $10); + $11 = std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____operator_5b_5d_28unsigned_20long_29($0, $4); + $12 = HEAP32[$6 + 4 >> 2]; + HEAP32[$11 >> 2] = HEAP32[$6 >> 2]; + HEAP32[$11 + 4 >> 2] = $12; + vision__PriorityQueueItem_96____PriorityQueueItem_28_29($6); + $6 = $9 >>> 0 > $10 >>> 0; + $9 = $6 ? $10 : $9; + $5 = $6 ? $4 : $5; + $4 = $4 + 1 | 0; + continue; + } break; } - i23 = HEAP32[i14 >> 2] | 0; - d6 = +HEAPF64[i23 + 8 >> 3]; - HEAPF64[i19 + (i2 * 24 | 0) >> 3] = d6; - d7 = -+HEAPF64[i23 >> 3]; - HEAPF64[i19 + (i2 * 24 | 0) + 8 >> 3] = d7; - i23 = HEAP32[i13 >> 2] | 0; - HEAPF64[i19 + (i2 * 24 | 0) + 16 >> 3] = -(d6 * +HEAPF64[i23 >> 3] + +HEAPF64[i23 + 8 >> 3] * d7); - _arMatrixFree(i16) | 0; - i2 = i3; - } - L10 : do if ((i8 | 0) == 6) i8 = 14; else if ((i8 | 0) == 10) { - _arMatrixFree(i14) | 0; - _arVecFree(i13) | 0; - _arVecFree(i18) | 0; - i1 = 0; - while (1) { - if (i1 >>> 0 >= 4) { - i1 = 0; - break L10; - } - i2 = i1 + 3 & 3; - i3 = i19 + (i2 * 24 | 0) | 0; - d4 = +HEAPF64[i19 + (i1 * 24 | 0) + 8 >> 3]; - i5 = i19 + (i1 * 24 | 0) | 0; - d6 = +HEAPF64[i19 + (i2 * 24 | 0) + 8 >> 3]; - d7 = +HEAPF64[i3 >> 3] * d4 - +HEAPF64[i5 >> 3] * d6; - if (+Math_abs(+d7) < .0001) { - i1 = -1; - break L10; - } - i23 = i19 + (i1 * 24 | 0) + 16 | 0; - i22 = i19 + (i2 * 24 | 0) + 16 | 0; - HEAPF64[i20 + (i1 << 4) >> 3] = (d6 * +HEAPF64[i23 >> 3] - d4 * +HEAPF64[i22 >> 3]) / d7; - HEAPF64[i20 + (i1 << 4) + 8 >> 3] = (+HEAPF64[i5 >> 3] * +HEAPF64[i22 >> 3] - +HEAPF64[i3 >> 3] * +HEAPF64[i23 >> 3]) / d7; - i1 = i1 + 1 | 0; - } - } while (0); - if ((i8 | 0) == 14) { - _arMatrixFree(i16) | 0; - _arMatrixFree(i14) | 0; - _arVecFree(i13) | 0; - _arVecFree(i18) | 0; - i1 = -1; - } - STACKTOP = i21; - return i1 | 0; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE6insertINS_11__wrap_iterIPKiEEEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIiNS_15iterator_traitsISA_E9referenceEEE5valueENS5_IPiEEE4typeES8_SA_SA_(i17, i1, i2, i3) { - i17 = i17 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i18 = 0; - i18 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i14 = i18 + 40 | 0; - i13 = i18 + 36 | 0; - i15 = i18 + 32 | 0; - i16 = i18 + 28 | 0; - i8 = i18 + 8 | 0; - i9 = i18 + 4 | 0; - i10 = i18; - i4 = HEAP32[i17 >> 2] | 0; - i5 = i4; - i1 = i4 + ((HEAP32[i1 >> 2] | 0) - i5 >> 2 << 2) | 0; - i2 = HEAP32[i2 >> 2] | 0; - i4 = HEAP32[i3 >> 2] | 0; - i12 = i4 - i2 | 0; - i11 = i12 >> 2; - L1 : do if ((i12 | 0) > 0) { - i6 = i17 + 8 | 0; - i12 = HEAP32[i17 + 4 >> 2] | 0; - i7 = i12; - if ((i11 | 0) > ((HEAP32[i6 >> 2] | 0) - i7 >> 2 | 0)) { - i3 = (i7 - i5 >> 2) + i11 | 0; - i5 = __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv(i17) | 0; - if (i5 >>> 0 < i3 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i17); else { - i16 = HEAP32[i17 >> 2] | 0; - i12 = (HEAP32[i6 >> 2] | 0) - i16 | 0; - i15 = i12 >> 1; - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_(i8, i12 >> 2 >>> 0 < i5 >>> 1 >>> 0 ? (i15 >>> 0 < i3 >>> 0 ? i3 : i15) : i5, i1 - i16 >> 2, i17 + 8 | 0); - HEAP32[i9 >> 2] = i2; - HEAP32[i10 >> 2] = i4; - HEAP32[i13 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i14 >> 2] = HEAP32[i10 >> 2]; - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endINS_11__wrap_iterIPKiEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(i8, i13, i14); - i1 = __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EEPi(i17, i8, i1) | 0; - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev(i8); + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23107), 16423), 9176), 155), 10040), 23238), 16); + abort(); + abort(); + } + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______vector_28_29($0); + __stack_pointer = $8 + 32 | 0; +} + +function jpeg_core_output_dimensions($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[$0 + 428 >> 2]; + $3 = Math_imul($1, HEAP32[$0 + 48 >> 2]); + $4 = HEAP32[$0 + 52 >> 2]; + label$1: { + if ($3 >>> 0 <= $4 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(HEAP32[$0 + 28 >> 2], $1), HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $2 = 1; + $1 = HEAP32[$0 + 32 >> 2]; + break label$1; + } + if ($4 << 1 >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(HEAP32[$0 + 28 >> 2] << 1, $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $2 = 2; + $1 = HEAP32[$0 + 32 >> 2] << 1; + break label$1; + } + $2 = 3; + if (Math_imul($4, 3) >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$0 + 28 >> 2], 3), $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $1 = Math_imul(HEAP32[$0 + 32 >> 2], 3); + break label$1; + } + if ($4 << 2 >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(HEAP32[$0 + 28 >> 2] << 2, $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $2 = 4; + $1 = HEAP32[$0 + 32 >> 2] << 2; + break label$1; + } + $2 = 5; + if (Math_imul($4, 5) >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$0 + 28 >> 2], 5), $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $1 = Math_imul(HEAP32[$0 + 32 >> 2], 5); + break label$1; + } + $2 = 6; + if (Math_imul($4, 6) >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$0 + 28 >> 2], 6), $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $1 = Math_imul(HEAP32[$0 + 32 >> 2], 6); + break label$1; + } + $2 = 7; + if (Math_imul($4, 7) >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$0 + 28 >> 2], 7), $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $1 = Math_imul(HEAP32[$0 + 32 >> 2], 7); + break label$1; + } + if ($4 << 3 >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(HEAP32[$0 + 28 >> 2] << 3, $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $2 = 8; + $1 = HEAP32[$0 + 32 >> 2] << 3; + break label$1; + } + $2 = 9; + if (Math_imul($4, 9) >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$0 + 28 >> 2], 9), $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $1 = Math_imul(HEAP32[$0 + 32 >> 2], 9); + break label$1; + } + $2 = 10; + if (Math_imul($4, 10) >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$0 + 28 >> 2], 10), $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $1 = Math_imul(HEAP32[$0 + 32 >> 2], 10); + break label$1; + } + $2 = 11; + if (Math_imul($4, 11) >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$0 + 28 >> 2], 11), $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $1 = Math_imul(HEAP32[$0 + 32 >> 2], 11); + break label$1; + } + $2 = 12; + if (Math_imul($4, 12) >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$0 + 28 >> 2], 12), $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $1 = Math_imul(HEAP32[$0 + 32 >> 2], 12); + break label$1; + } + $2 = 13; + if (Math_imul($4, 13) >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$0 + 28 >> 2], 13), $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $1 = Math_imul(HEAP32[$0 + 32 >> 2], 13); + break label$1; + } + $2 = 14; + if (Math_imul($4, 14) >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$0 + 28 >> 2], 14), $1), + HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $1 = Math_imul(HEAP32[$0 + 32 >> 2], 14); + break label$1; + } + $2 = 15; + $5 = HEAP32[$0 + 28 >> 2]; + if (Math_imul($4, 15) >>> 0 >= $3 >>> 0) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(Math_imul($5, 15), $1), HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $1 = Math_imul(HEAP32[$0 + 32 >> 2], 15); + break label$1; + } + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up($5 << 4, $1), HEAP32[wasm2js_i32$0 + 112 >> 2] = wasm2js_i32$1; + $2 = 16; + $1 = HEAP32[$0 + 32 >> 2] << 4; + } + $1 = jdiv_round_up($1, HEAP32[$0 + 428 >> 2]); + HEAP32[$0 + 328 >> 2] = $2; + HEAP32[$0 + 324 >> 2] = $2; + HEAP32[$0 + 116 >> 2] = $1; + $1 = HEAP32[$0 + 36 >> 2]; + label$17: { + if (($1 | 0) <= 0) { + break label$17; + } + $3 = $1 & 7; + $0 = HEAP32[$0 + 216 >> 2]; + if ($1 - 1 >>> 0 >= 7) { + $4 = $1 & -8; + $1 = 0; + while (1) { + HEAP32[$0 + 40 >> 2] = $2; + HEAP32[$0 + 36 >> 2] = $2; + HEAP32[$0 + 656 >> 2] = $2; + HEAP32[$0 + 652 >> 2] = $2; + HEAP32[$0 + 568 >> 2] = $2; + HEAP32[$0 + 564 >> 2] = $2; + HEAP32[$0 + 480 >> 2] = $2; + HEAP32[$0 + 476 >> 2] = $2; + HEAP32[$0 + 392 >> 2] = $2; + HEAP32[$0 + 388 >> 2] = $2; + HEAP32[$0 + 304 >> 2] = $2; + HEAP32[$0 + 300 >> 2] = $2; + HEAP32[$0 + 216 >> 2] = $2; + HEAP32[$0 + 212 >> 2] = $2; + HEAP32[$0 + 128 >> 2] = $2; + HEAP32[$0 + 124 >> 2] = $2; + $0 = $0 + 704 | 0; + $1 = $1 + 8 | 0; + if (($4 | 0) != ($1 | 0)) { + continue; + } break; } } - i5 = i7 - i1 | 0; - i6 = i5 >> 2; - i3 = i2 + (i6 << 2) | 0; - if ((i11 | 0) > (i6 | 0)) { - HEAP32[i15 >> 2] = i3; - HEAP32[i16 >> 2] = i4; - HEAP32[i13 >> 2] = HEAP32[i15 >> 2]; - HEAP32[i14 >> 2] = HEAP32[i16 >> 2]; - __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endINS_11__wrap_iterIPKiEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m(i17, i13, i14, i11 - i6 | 0); - if ((i5 | 0) > 0) i4 = i3; else break; + if (!$3) { + break label$17; } - __ZNSt3__26vectorIiNS_9allocatorIiEEE12__move_rangeEPiS4_S4_(i17, i1, i12, i1 + (i11 << 2) | 0); - i3 = i1; + $1 = 0; while (1) { - if ((i2 | 0) == (i4 | 0)) break L1; - HEAP32[i3 >> 2] = HEAP32[i2 >> 2]; - i3 = i3 + 4 | 0; - i2 = i2 + 4 | 0; - } - } while (0); - STACKTOP = i18; - return i1 | 0; -} - -function _arglCameraFrustumRH(i1, d5, d6, i10) { - i1 = i1 | 0; - d5 = +d5; - d6 = +d6; - i10 = i10 | 0; - var i2 = 0, d3 = 0.0, d4 = 0.0, i7 = 0, i8 = 0, i9 = 0, i11 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 416 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(416); - i7 = i13 + 304 | 0; - i11 = i13 + 208 | 0; - i8 = i13 + 128 | 0; - i12 = i13; - i9 = HEAP32[i1 >> 2] | 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - L1 : do if ((_arParamDecompMat(i1 + 8 | 0, i7, i11) | 0) < 0) _arLog(0, 3, 18403, i13 + 400 | 0); else { - d4 = +(i2 + -1 | 0); - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - i2 = i7 + 32 + (i1 << 3) | 0; - HEAPF64[i2 >> 3] = +HEAPF64[i7 + 64 + (i1 << 3) >> 3] * d4 - +HEAPF64[i2 >> 3]; - i1 = i1 + 1 | 0; + HEAP32[$0 + 40 >> 2] = $2; + HEAP32[$0 + 36 >> 2] = $2; + $0 = $0 + 88 | 0; + $1 = $1 + 1 | 0; + if (($3 | 0) != ($1 | 0)) { + continue; + } + break; } - d3 = +HEAPF64[i7 + 80 >> 3]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAPF64[i8 + (i2 * 24 | 0) + (i1 << 3) >> 3] = +HEAPF64[i7 + (i2 << 5) + (i1 << 3) >> 3] / d3; - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - d3 = +(i9 + -1 | 0); - HEAPF64[i12 >> 3] = +HEAPF64[i8 >> 3] * 2.0 / d3; - HEAPF64[i12 + 8 >> 3] = +HEAPF64[i8 + 8 >> 3] * 2.0 / d3; - HEAPF64[i12 + 16 >> 3] = -(+HEAPF64[i8 + 16 >> 3] * 2.0 / d3 + -1.0); - i2 = i12 + 24 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 0; - HEAPF64[i12 + 40 >> 3] = -(+HEAPF64[i8 + 32 >> 3] * 2.0 / d4); - HEAPF64[i12 + 48 >> 3] = -(+HEAPF64[i8 + 40 >> 3] * 2.0 / d4 + -1.0); - i2 = i12 + 56 | 0; - d3 = d5 - d6; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = 0; - HEAP32[i2 + 20 >> 2] = 0; - HEAPF64[i12 + 80 >> 3] = (d5 + d6) / d3; - HEAPF64[i12 + 88 >> 3] = d6 * 2.0 * d5 / d3; - i2 = i12 + 96 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 0; - HEAPF64[i12 + 112 >> 3] = -1.0; - HEAPF64[i12 + 120 >> 3] = 0.0; - d3 = +HEAPF64[i11 + 24 >> 3]; - d4 = +HEAPF64[i11 + 56 >> 3]; - d5 = +HEAPF64[i11 + 88 >> 3]; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break L1; - d6 = +HEAPF64[i12 + (i2 << 5) >> 3]; - i7 = i12 + (i2 << 5) + 8 | 0; - i8 = i12 + (i2 << 5) + 16 | 0; - i1 = 0; + } +} + +function std____2____money_put_char_____gather_info_28bool_2c_20bool_2c_20std____2__locale_20const__2c_20std____2__money_base__pattern__2c_20char__2c_20char__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20int__29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { + var $10 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $10 = __stack_pointer - 16 | 0; + __stack_pointer = $10; + label$1: { + if ($0) { + $2 = std____2__moneypunct_char_2c_20true__20const__20std____2__use_facet_std____2__moneypunct_char_2c_20true___28std____2__locale_20const__29($2); + label$3: { + if ($1) { + std____2__moneypunct_char_2c_20true___neg_format_28_29_20const($10, $2); + $0 = HEAP32[$10 >> 2]; + HEAP8[$3 | 0] = $0; + HEAP8[$3 + 1 | 0] = $0 >>> 8; + HEAP8[$3 + 2 | 0] = $0 >>> 16; + HEAP8[$3 + 3 | 0] = $0 >>> 24; + std____2__moneypunct_char_2c_20true___negative_sign_28_29_20const($10, $2); + break label$3; + } + std____2__moneypunct_char_2c_20true___pos_format_28_29_20const($10, $2); + $0 = HEAP32[$10 >> 2]; + HEAP8[$3 | 0] = $0; + HEAP8[$3 + 1 | 0] = $0 >>> 8; + HEAP8[$3 + 2 | 0] = $0 >>> 16; + HEAP8[$3 + 3 | 0] = $0 >>> 24; + std____2__moneypunct_char_2c_20true___positive_sign_28_29_20const($10, $2); + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($8, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__moneypunct_char_2c_20true___decimal_point_28_29_20const($2), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + wasm2js_i32$0 = $5, wasm2js_i32$1 = std____2__moneypunct_char_2c_20true___thousands_sep_28_29_20const($2), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + std____2__moneypunct_char_2c_20true___grouping_28_29_20const($10, $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($6, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + std____2__moneypunct_char_2c_20true___curr_symbol_28_29_20const($10, $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($7, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + $2 = std____2__moneypunct_char_2c_20true___frac_digits_28_29_20const($2); + break label$1; + } + $2 = std____2__moneypunct_char_2c_20false__20const__20std____2__use_facet_std____2__moneypunct_char_2c_20false___28std____2__locale_20const__29($2); + label$5: { + if ($1) { + std____2__moneypunct_char_2c_20false___neg_format_28_29_20const($10, $2); + $0 = HEAP32[$10 >> 2]; + HEAP8[$3 | 0] = $0; + HEAP8[$3 + 1 | 0] = $0 >>> 8; + HEAP8[$3 + 2 | 0] = $0 >>> 16; + HEAP8[$3 + 3 | 0] = $0 >>> 24; + std____2__moneypunct_char_2c_20false___negative_sign_28_29_20const($10, $2); + break label$5; + } + std____2__moneypunct_char_2c_20false___pos_format_28_29_20const($10, $2); + $0 = HEAP32[$10 >> 2]; + HEAP8[$3 | 0] = $0; + HEAP8[$3 + 1 | 0] = $0 >>> 8; + HEAP8[$3 + 2 | 0] = $0 >>> 16; + HEAP8[$3 + 3 | 0] = $0 >>> 24; + std____2__moneypunct_char_2c_20false___positive_sign_28_29_20const($10, $2); + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($8, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__moneypunct_char_2c_20false___decimal_point_28_29_20const($2), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + wasm2js_i32$0 = $5, wasm2js_i32$1 = std____2__moneypunct_char_2c_20false___thousands_sep_28_29_20const($2), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + std____2__moneypunct_char_2c_20false___grouping_28_29_20const($10, $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($6, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + std____2__moneypunct_char_2c_20false___curr_symbol_28_29_20const($10, $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($7, $10); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + $2 = std____2__moneypunct_char_2c_20false___frac_digits_28_29_20const($2); + } + HEAP32[$9 >> 2] = $2; + __stack_pointer = $10 + 16 | 0; +} + +function vision__DoGPyramid__compute_28vision__GaussianScaleSpacePyramid_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + label$1: { + label$2: { + label$3: { + if (std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($0)) { + if ((vision__GaussianScaleSpacePyramid__numOctaves_28_29_20const($1) | 0) <= 0) { + break label$3; + } + if (!__dynamic_cast($1, 21344, 26620, 0)) { + break label$2; + } + label$5: while (1) { + $2 = 0; + if (HEAPU32[$0 + 12 >> 2] <= $3 >>> 0) { + break label$1; + } + while (1) if (HEAPU32[$0 + 16 >> 2] <= $2 >>> 0) { + $3 = $3 + 1 | 0; + continue label$5; + } else { + $4 = $2; + $5 = vision__DoGPyramid__get_28unsigned_20long_2c_20unsigned_20long_29($0, $3, $2); + $6 = vision__GaussianScaleSpacePyramid__get_28unsigned_20long_2c_20unsigned_20long_29_20const($1, $3, $2); + $2 = $2 + 1 | 0; + vision__DoGPyramid__difference_image_binomial_28vision__Image__2c_20vision__Image_20const__2c_20vision__Image_20const__29($4, $5, $6, vision__GaussianScaleSpacePyramid__get_28unsigned_20long_2c_20unsigned_20long_29_20const($1, $3, $2)); + continue; + } + } + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 5082), 2098), 3289), 72), 3786), 5696), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 6792), 2098), 3289), 73), 3786), 7278), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 8512), 2098), 3289), 74), 3786), 9024), 16); + abort(); + abort(); + } +} + +function icpPointRobust($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0; + $12 = __stack_pointer - 160 | 0; + __stack_pointer = $12; + $5 = -1; + $8 = HEAP32[$1 + 8 >> 2]; + label$1: { + if (($8 | 0) < 4) { + break label$1; + } + $7 = HEAPF64[$0 + 128 >> 3] * +($8 | 0); + label$2: { + if (Math_abs($7) < 2147483648) { + $9 = ~~$7; + break label$2; + } + $9 = -2147483648; + } + $13 = dlmalloc(Math_imul($8, 96)); + if (!$13) { + arLog(0, 3, 1413, 0); + break label$1; + } + $14 = dlmalloc($8 << 4); + if (!$14) { + arLog(0, 3, 1413, 0); + dlfree($13); + break label$1; + } + $5 = $8 << 3; + $16 = dlmalloc($5); + if (!$16) { + arLog(0, 3, 1413, 0); + dlfree($13); + dlfree($14); + $5 = -1; + break label$1; + } + $15 = dlmalloc($5); + if ($15) { + $17 = (($9 | 0) > 4 ? $9 : 4) - 1 | 0; while (1) { - if ((i1 | 0) == 3) break; - HEAPF64[i10 + ((i1 << 2) + i2 << 3) >> 3] = d6 * +HEAPF64[i11 + (i1 << 3) >> 3] + +HEAPF64[i7 >> 3] * +HEAPF64[i11 + 32 + (i1 << 3) >> 3] + +HEAPF64[i8 >> 3] * +HEAPF64[i11 + 64 + (i1 << 3) >> 3]; - i1 = i1 + 1 | 0; - } - HEAPF64[i10 + (i2 + 12 << 3) >> 3] = +HEAPF64[i12 + (i2 << 5) + 24 >> 3] + (d6 * d3 + +HEAPF64[i7 >> 3] * d4 + +HEAPF64[i8 >> 3] * d5); - i2 = i2 + 1 | 0; - } - } while (0); - STACKTOP = i13; - return; -} - -function _realize_virt_arrays(i8) { - i8 = i8 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i6 = HEAP32[i8 + 4 >> 2] | 0; - i2 = i6 + 68 | 0; - i5 = 0; - i3 = 0; - i1 = i2; - while (1) { - i4 = HEAP32[i1 >> 2] | 0; - if (!i4) break; - if (!(HEAP32[i4 >> 2] | 0)) { - i7 = HEAP32[i4 + 8 >> 2] | 0; - i1 = (Math_imul(i7, HEAP32[i4 + 12 >> 2] | 0) | 0) + i5 | 0; - i3 = (Math_imul(HEAP32[i4 + 4 >> 2] | 0, i7) | 0) + i3 | 0; - } else i1 = i5; - i5 = i1; - i1 = i4 + 44 | 0; - } - i1 = i6 + 72 | 0; - i4 = i1; - while (1) { - i4 = HEAP32[i4 >> 2] | 0; - if (!i4) break; - if (!(HEAP32[i4 >> 2] | 0)) { - i7 = HEAP32[i4 + 8 >> 2] | 0; - i5 = (Math_imul(HEAP32[i4 + 12 >> 2] << 7, i7) | 0) + i5 | 0; - i3 = (Math_imul(i7 << 7, HEAP32[i4 + 4 >> 2] | 0) | 0) + i3 | 0; - } - i4 = i4 + 44 | 0; - } - L15 : do if ((i5 | 0) >= 1) { - i4 = _jpeg_mem_available(i8, i5, i3, HEAP32[i6 + 76 >> 2] | 0) | 0; - if ((i4 | 0) < (i3 | 0)) { - i7 = (i4 | 0) / (i5 | 0) | 0; - i7 = (i7 | 0) > 1 ? i7 : 1; - } else i7 = 1e9; - i6 = i6 + 80 | 0; - while (1) { - i5 = HEAP32[i2 >> 2] | 0; - if (!i5) break; - if (!(HEAP32[i5 >> 2] | 0)) { - i4 = HEAP32[i5 + 4 >> 2] | 0; - i2 = HEAP32[i5 + 12 >> 2] | 0; - if (((((i4 + -1 | 0) >>> 0) / (i2 >>> 0) | 0) + 1 | 0) > (i7 | 0)) { - i3 = Math_imul(i2, i7) | 0; - i2 = i5 + 16 | 0; - HEAP32[i2 >> 2] = i3; - i3 = i5 + 8 | 0; - _jpeg_open_backing_store(i8, i5 + 48 | 0, Math_imul(HEAP32[i3 >> 2] | 0, i4) | 0); - HEAP32[i5 + 40 >> 2] = 1; - i2 = HEAP32[i2 >> 2] | 0; + $5 = 0; + if (($6 | 0) == 3) { + $17 = ($17 << 3) + $15 | 0; + $2 = 0; + label$10: { + while (1) { + arUtilMatMul($0, $3, $12 + 48 | 0); + $5 = 0; + while (1) { + $8 = HEAP32[$1 + 8 >> 2]; + if (($8 | 0) > ($5 | 0)) { + if ((icpGetU_from_X_by_MatX2U($12 + 144 | 0, $12 + 48 | 0, HEAP32[$1 + 4 >> 2] + Math_imul($5, 24) | 0) | 0) < 0) { + break label$10; + } + $8 = $5 << 4; + $9 = $8 + HEAP32[$1 >> 2] | 0; + $11 = HEAPF64[$9 >> 3]; + $10 = HEAPF64[$12 + 144 >> 3]; + $8 = $8 + $14 | 0; + $7 = HEAPF64[$9 + 8 >> 3] - HEAPF64[$12 + 152 >> 3]; + HEAPF64[$8 + 8 >> 3] = $7; + $11 = $11 - $10; + HEAPF64[$8 >> 3] = $11; + $8 = $5 << 3; + $7 = $11 * $11 + $7 * $7; + HEAPF64[$15 + $8 >> 3] = $7; + HEAPF64[$8 + $16 >> 3] = $7; + $5 = $5 + 1 | 0; + continue; + } + break; + } + qsort($15, $8, 8, 1); + $5 = 0; + $6 = HEAP32[$1 + 8 >> 2]; + $8 = ($6 | 0) > 0 ? $6 : 0; + $11 = Math_max(HEAPF64[$17 >> 3] * 4, 16); + $18 = $11 / 6; + $7 = 0; + while (1) { + if (($5 | 0) != ($8 | 0)) { + $10 = HEAPF64[($5 << 3) + $15 >> 3]; + if ($11 < $10) { + $7 = $18 + $7; + } else { + $10 = 1 - $10 / $11; + $7 = $18 * (1 - $10 * $10 * $10) + $7; + } + $5 = $5 + 1 | 0; + continue; + } + break; + } + label$18: { + $10 = $7 / +($6 | 0); + if ($10 < HEAPF64[$0 + 104 >> 3] | !(!$2 | !(HEAPF64[$0 + 120 >> 3] > $10)) & HEAPF64[$0 + 112 >> 3] < $10 / $19) { + break label$18; + } + $8 = 0; + $9 = 0; + if (HEAP32[$0 + 96 >> 2] == ($2 | 0)) { + break label$18; + } + while (1) { + if (($6 | 0) > ($8 | 0)) { + $7 = HEAPF64[($8 << 3) + $16 >> 3]; + if ($11 >= $7) { + $6 = Math_imul($9, 48); + $5 = $13 + $6 | 0; + if ((icpGetJ_U_S($5, $0, $3, HEAP32[$1 + 4 >> 2] + Math_imul($8, 24) | 0) | 0) < 0) { + break label$10; + } + $7 = 1 - $7 / $11; + $7 = $7 * $7; + HEAPF64[$5 >> 3] = $7 * HEAPF64[$5 >> 3]; + $6 = ($6 | 8) + $13 | 0; + HEAPF64[$6 >> 3] = $7 * HEAPF64[$6 >> 3]; + $6 = $5 + 16 | 0; + HEAPF64[$6 >> 3] = $7 * HEAPF64[$5 + 16 >> 3]; + $6 = $5 + 24 | 0; + HEAPF64[$6 >> 3] = $7 * HEAPF64[$5 + 24 >> 3]; + $6 = $5 + 32 | 0; + HEAPF64[$6 >> 3] = $7 * HEAPF64[$5 + 32 >> 3]; + $6 = $5 + 40 | 0; + HEAPF64[$6 >> 3] = $7 * HEAPF64[$5 + 40 >> 3]; + $6 = $5 + 48 | 0; + HEAPF64[$6 >> 3] = $7 * HEAPF64[$5 + 48 >> 3]; + $6 = $5 + 56 | 0; + HEAPF64[$6 >> 3] = $7 * HEAPF64[$5 + 56 >> 3]; + $6 = $5 - -64 | 0; + HEAPF64[$6 >> 3] = $7 * HEAPF64[$6 >> 3]; + $6 = $5 + 72 | 0; + HEAPF64[$6 >> 3] = $7 * HEAPF64[$5 + 72 >> 3]; + $6 = $5 + 80 | 0; + HEAPF64[$6 >> 3] = $7 * HEAPF64[$5 + 80 >> 3]; + $6 = $5; + $5 = $5 + 88 | 0; + HEAPF64[$5 >> 3] = $7 * HEAPF64[$6 + 88 >> 3]; + $5 = ($9 << 3) + $14 | 0; + $6 = ($8 << 4) + $14 | 0; + HEAPF64[$5 >> 3] = $7 * HEAPF64[$6 >> 3]; + HEAPF64[$5 + 8 >> 3] = $7 * HEAPF64[$6 + 8 >> 3]; + $9 = $9 + 2 | 0; + $6 = HEAP32[$1 + 8 >> 2]; + } + $8 = $8 + 1 | 0; + continue; + } + break; + } + if (($9 | 0) <= 5) { + break label$10; + } + if ((icpGetDeltaS($12, $14, $13, $9) | 0) < 0) { + break label$10; + } + icpUpdateMat($3, $12); + $2 = $2 + 1 | 0; + $19 = $10; + continue; + } + break; + } + HEAPF64[$4 >> 3] = $10; + dlfree($13); + dlfree($14); + dlfree($16); + dlfree($15); + $5 = 0; + break label$1; + } + icpGetXw2XcCleanup_1($13, $14, $16, $15); + $5 = -1; + break label$1; } else { - HEAP32[i5 + 16 >> 2] = i4; - i3 = i5 + 8 | 0; - i2 = i4; + while (1) { + if (($5 | 0) != 4) { + $9 = $5 << 3; + $8 = $6 << 5; + HEAPF64[$9 + ($8 + $3 | 0) >> 3] = HEAPF64[($2 + $8 | 0) + $9 >> 3]; + $5 = $5 + 1 | 0; + continue; + } + break; + } + $6 = $6 + 1 | 0; + continue; } - i4 = _alloc_sarray(i8, 1, HEAP32[i3 >> 2] | 0, i2) | 0; - HEAP32[i5 >> 2] = i4; - HEAP32[i5 + 20 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i5 + 24 >> 2] = 0; - HEAP32[i5 + 28 >> 2] = 0; - HEAP32[i5 + 36 >> 2] = 0; } - i2 = i5 + 44 | 0; } - while (1) { - i4 = HEAP32[i1 >> 2] | 0; - if (!i4) break L15; - if (!(HEAP32[i4 >> 2] | 0)) { - i3 = HEAP32[i4 + 4 >> 2] | 0; - i1 = HEAP32[i4 + 12 >> 2] | 0; - if (((((i3 + -1 | 0) >>> 0) / (i1 >>> 0) | 0) + 1 | 0) > (i7 | 0)) { - i2 = Math_imul(i1, i7) | 0; - i1 = i4 + 16 | 0; - HEAP32[i1 >> 2] = i2; - i2 = i4 + 8 | 0; - _jpeg_open_backing_store(i8, i4 + 48 | 0, Math_imul(i3 << 7, HEAP32[i2 >> 2] | 0) | 0); - HEAP32[i4 + 40 >> 2] = 1; - i1 = HEAP32[i1 >> 2] | 0; - } else { - HEAP32[i4 + 16 >> 2] = i3; - i2 = i4 + 8 | 0; - i1 = i3; - } - i5 = _alloc_barray(i8, 1, HEAP32[i2 >> 2] | 0, i1) | 0; - HEAP32[i4 >> 2] = i5; - HEAP32[i4 + 20 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i4 + 24 >> 2] = 0; - HEAP32[i4 + 28 >> 2] = 0; - HEAP32[i4 + 36 >> 2] = 0; - } - i1 = i4 + 44 | 0; - } - } while (0); - return; -} - -function _check_square(i5, i15, d4) { - i5 = i5 | 0; - i15 = i15 | 0; - d4 = +d4; - var i1 = 0, i2 = 0, i3 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - i13 = i17 + 48 | 0; - i9 = i17 + 92 | 0; - i14 = i17; - i10 = i17 + 88 | 0; - i11 = i15 + 28 | 0; - i8 = HEAP32[i11 >> 2] | 0; - i12 = i15 + 40028 | 0; - i6 = HEAP32[i12 >> 2] | 0; - i16 = i15 + 24 | 0; - i7 = (HEAP32[i16 >> 2] | 0) + -1 | 0; - i2 = 1; - i3 = 0; - i1 = 0; + arLog(0, 3, 1413, 0); + dlfree($13); + dlfree($14); + dlfree($16); + $5 = -1; + } + __stack_pointer = $12 + 160 | 0; + return $5; +} + +function jpeg_idct_14x14($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $24 = __stack_pointer - 448 | 0; + __stack_pointer = $24; + $25 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $24; while (1) { - if ((i2 | 0) >= (i7 | 0)) break; - i19 = (HEAP32[i15 + 28 + (i2 << 2) >> 2] | 0) - i8 | 0; - i19 = Math_imul(i19, i19) | 0; - i20 = (HEAP32[i15 + 40028 + (i2 << 2) >> 2] | 0) - i6 | 0; - i19 = (Math_imul(i20, i20) | 0) + i19 | 0; - i20 = (i19 | 0) > (i3 | 0); - i18 = i20 ? i2 : i1; - i2 = i2 + 1 | 0; - i3 = i20 ? i19 : i3; - i1 = i18; - } - d4 = +(i5 | 0) / .75 * .01 * d4; - HEAP32[i9 >> 2] = 0; - HEAP32[i10 >> 2] = 0; - L5 : do if ((_get_vertex(i11, i12, 0, i1, d4, i13, i9) | 0) >= 0 ? (_get_vertex(i11, i12, i1, (HEAP32[i16 >> 2] | 0) + -1 | 0, d4, i14, i10) | 0) >= 0 : 0) { - i2 = HEAP32[i9 >> 2] | 0; - i3 = HEAP32[i10 >> 2] | 0; - do if ((i2 | 0) == 1 & (i3 | 0) == 1) { - i2 = HEAP32[i14 >> 2] | 0; - i3 = HEAP32[i13 >> 2] | 0; - } else { - if ((i2 | 0) > 1 & (i3 | 0) == 0) { - i2 = (i1 | 0) / 2 | 0; - HEAP32[i10 >> 2] = 0; - HEAP32[i9 >> 2] = 0; - if ((_get_vertex(i11, i12, 0, i2, d4, i13, i9) | 0) < 0) { - i1 = -1; - break L5; - } - if ((_get_vertex(i11, i12, i2, i1, d4, i14, i10) | 0) < 0) { - i1 = -1; - break L5; - } - if (!((HEAP32[i9 >> 2] | 0) == 1 & (HEAP32[i10 >> 2] | 0) == 1)) { - i1 = -1; - break L5; - } - i2 = i1; - i3 = HEAP32[i13 >> 2] | 0; - i1 = HEAP32[i14 >> 2] | 0; - break; - } - if (!((i2 | 0) == 0 & (i3 | 0) > 1)) { - i1 = -1; - break L5; - } - i2 = (i1 + -1 + (HEAP32[i16 >> 2] | 0) | 0) / 2 | 0; - HEAP32[i10 >> 2] = 0; - HEAP32[i9 >> 2] = 0; - if ((_get_vertex(i11, i12, i1, i2, d4, i13, i9) | 0) < 0) { - i1 = -1; - break L5; - } - if ((_get_vertex(i11, i12, i2, (HEAP32[i16 >> 2] | 0) + -1 | 0, d4, i14, i10) | 0) < 0) { - i1 = -1; - break L5; - } - if (!((HEAP32[i9 >> 2] | 0) == 1 & (HEAP32[i10 >> 2] | 0) == 1)) { - i1 = -1; - break L5; - } - i2 = HEAP32[i14 >> 2] | 0; - i3 = i1; - i1 = HEAP32[i13 >> 2] | 0; - } while (0); - HEAP32[i15 + 80028 >> 2] = 0; - HEAP32[i15 + 80032 >> 2] = i3; - HEAP32[i15 + 80036 >> 2] = i1; - HEAP32[i15 + 80040 >> 2] = i2; - HEAP32[i15 + 80044 >> 2] = (HEAP32[i16 >> 2] | 0) + -1; - i1 = 0; - } else i1 = -1; while (0); - STACKTOP = i17; - return i1 | 0; -} - -function __ZNSt3__2L12init_wmonthsEv() { - var i1 = 0, i2 = 0; - if ((HEAP8[55640] | 0) == 0 ? ___cxa_guard_acquire(55640) | 0 : 0) { - i2 = 54768; - do { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i2 = i2 + 12 | 0; - } while ((i2 | 0) != 55056); - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54768, 15376) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54780, 15408) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54792, 15444) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54804, 15468) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54816, 15492) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54828, 15508) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54840, 15528) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54852, 15548) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54864, 15576) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54876, 15616) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54888, 15648) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54900, 15684) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54912, 15720) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54924, 15736) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54936, 15752) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54948, 15768) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54960, 15492) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54972, 15784) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54984, 15800) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54996, 15816) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55008, 15832) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55020, 15848) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55032, 15864) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55044, 15880) | 0; - return; -} - -function __ZNSt3__2L11init_monthsEv() { - var i1 = 0, i2 = 0; - if ((HEAP8[55560] | 0) == 0 ? ___cxa_guard_acquire(55560) | 0 : 0) { - i2 = 54016; - do { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i2 = i2 + 12 | 0; - } while ((i2 | 0) != 54304); - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54016, 47278) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54028, 47286) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54040, 47295) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54052, 47301) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54064, 47307) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54076, 47311) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54088, 47316) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54100, 47321) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54112, 47328) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54124, 47338) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54136, 47346) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54148, 47355) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54160, 47364) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54172, 47368) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54184, 47372) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54196, 47376) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54208, 47307) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54220, 47380) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54232, 47384) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54244, 47388) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54256, 47392) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54268, 47396) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54280, 47400) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54292, 47404) | 0; - return; -} - -function _jinit_upsampler(i11) { - i11 = i11 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0; - i12 = i11 + 4 | 0; - i1 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i12 >> 2] >> 2] & 63](i11, 1, 160) | 0; - HEAP32[i11 + 452 >> 2] = i1; - HEAP32[i1 >> 2] = 127; - HEAP32[i1 + 4 >> 2] = 3; - i21 = i1 + 8 | 0; - HEAP32[i21 >> 2] = 0; - if (HEAP32[i11 + 300 >> 2] | 0) { - i23 = HEAP32[i11 >> 2] | 0; - HEAP32[i23 + 20 >> 2] = 25; - FUNCTION_TABLE_vi[HEAP32[i23 >> 2] & 255](i11); - } - i10 = i11 + 316 | 0; - if (!(HEAP32[i11 + 76 >> 2] | 0)) i23 = 0; else i23 = (HEAP32[i10 >> 2] | 0) > 1; - i13 = i11 + 36 | 0; - i14 = i11 + 308 | 0; - i15 = i11 + 312 | 0; - i16 = i1 + 100 | 0; - i17 = i1 + 52 | 0; - i18 = i11 + 112 | 0; - i19 = i1 + 12 | 0; - i20 = i1 + 140 | 0; - i5 = i1 + 150 | 0; - i3 = 0; - i4 = HEAP32[i11 + 216 >> 2] | 0; + $10 = HEAP32[$1 + 192 >> 2]; + $16 = HEAP16[$2 + 96 >> 1]; + $8 = HEAP32[$1 + 64 >> 2]; + $7 = HEAP16[$2 + 32 >> 1]; + $9 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $11 = Math_imul(HEAP32[$1 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $17 = $9 + Math_imul($11, -11586) >> 11; + $13 = Math_imul(HEAP32[$1 + 224 >> 2], HEAP16[$2 + 112 >> 1]); + $14 = Math_imul(HEAP32[$1 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $5 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $15 = $14 - $5 | 0; + $6 = Math_imul(HEAP32[$1 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $12 = $13 + ($15 - $6 | 0) << 2; + HEAP32[$0 + 320 >> 2] = $17 - $12; + HEAP32[$0 + 96 >> 2] = $17 + $12; + $8 = Math_imul($7, $8); + $16 = Math_imul($10, $16); + $7 = Math_imul($8 + $16 | 0, 9058); + $17 = $7 + Math_imul($16, -14084) | 0; + $12 = Math_imul($11, 2578) + $9 | 0; + $18 = $17 + $12 | 0; + $10 = $13 << 13; + $13 = Math_imul($5 + $6 | 0, -1297) - $10 | 0; + $22 = Math_imul($5 + $14 | 0, 10935); + $20 = $13 + ($22 + Math_imul($5, -3474) | 0) | 0; + HEAP32[$0 + 384 >> 2] = $18 - $20 >> 11; + HEAP32[$0 + 32 >> 2] = $18 + $20 >> 11; + $16 = Math_imul($16, -11295) + Math_imul($8, 5027) | 0; + $18 = Math_imul($11, -7223) + $9 | 0; + $20 = $16 + $18 | 0; + $21 = $6 + $14 | 0; + $23 = Math_imul($21, 9810); + $13 = ($23 + Math_imul($6, -19447) | 0) + $13 | 0; + HEAP32[$0 + 352 >> 2] = $20 - $13 >> 11; + HEAP32[$0 + 64 >> 2] = $13 + $20 >> 11; + $13 = Math_imul($6 - $5 | 0, 11512); + $17 = $12 - $17 | 0; + $12 = $13 + Math_imul($5, 5529) | 0; + $5 = Math_imul($15, 3826) - $10 | 0; + $15 = $12 + $5 | 0; + HEAP32[$0 + 256 >> 2] = $17 - $15 >> 11; + HEAP32[$0 + 160 >> 2] = $15 + $17 >> 11; + $11 = Math_imul($11, 10438) + $9 | 0; + $9 = Math_imul($8, 2237) + $7 | 0; + $8 = $11 - $9 | 0; + $7 = Math_imul($21, 6164); + $5 = ($7 + Math_imul($14, -8693) | 0) + $5 | 0; + HEAP32[$0 + 224 >> 2] = $8 - $5 >> 11; + HEAP32[$0 + 192 >> 2] = $5 + $8 >> 11; + $5 = $9 + $11 | 0; + $14 = ((Math_imul($14, -9232) + $22 | 0) + $23 | 0) + $10 | 0; + HEAP32[$0 + 416 >> 2] = $5 - $14 >> 11; + HEAP32[$0 >> 2] = $5 + $14 >> 11; + $5 = $18 - $16 | 0; + $6 = ((Math_imul($6, -13850) + $13 | 0) + $7 | 0) + $10 | 0; + HEAP32[$0 + 288 >> 2] = $5 - $6 >> 11; + HEAP32[$0 + 128 >> 2] = $5 + $6 >> 11; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + $19 = $19 + 1 | 0; + if (($19 | 0) != 8) { + continue; + } + break; + } + $0 = $25 - 384 | 0; + $1 = $24; + $16 = 0; while (1) { - if ((i3 | 0) >= (HEAP32[i13 >> 2] | 0)) break; - i8 = HEAP32[i4 + 36 >> 2] | 0; - i6 = Math_imul(i8, HEAP32[i4 + 8 >> 2] | 0) | 0; - i7 = HEAP32[i10 >> 2] | 0; - i6 = (i6 | 0) / (i7 | 0) | 0; - i7 = (Math_imul(HEAP32[i4 + 12 >> 2] | 0, i8) | 0) / (i7 | 0) | 0; - i8 = HEAP32[i14 >> 2] | 0; - i9 = HEAP32[i15 >> 2] | 0; - HEAP32[i16 + (i3 << 2) >> 2] = i7; - do if (!(HEAP32[i4 + 48 >> 2] | 0)) HEAP32[i17 + (i3 << 2) >> 2] = 11; else { - i1 = (i7 | 0) == (i9 | 0); - if ((i6 | 0) == (i8 | 0) & i1) { - HEAP32[i17 + (i3 << 2) >> 2] = 12; - break; - } - i2 = (i6 << 1 | 0) == (i8 | 0); - do if (!(i2 & i1)) if (i2 & (i7 << 1 | 0) == (i9 | 0)) { - if (i23 ? (HEAP32[i4 + 40 >> 2] | 0) >>> 0 > 2 : 0) { - HEAP32[i17 + (i3 << 2) >> 2] = 15; - HEAP32[i21 >> 2] = 1; - break; - } - HEAP32[i17 + (i3 << 2) >> 2] = 16; - break; - } else { - i1 = (i8 | 0) / (i6 | 0) | 0; - if ((i8 - (Math_imul(i1, i6) | 0) | 0) == 0 ? (i22 = (i9 | 0) / (i7 | 0) | 0, (i9 - (Math_imul(i22, i7) | 0) | 0) == 0) : 0) { - HEAP32[i17 + (i3 << 2) >> 2] = 17; - HEAP8[i20 + i3 >> 0] = i1; - HEAP8[i5 + i3 >> 0] = i22; - break; + $5 = HEAP32[$1 + 12 >> 2]; + $14 = HEAP32[$1 + 4 >> 2]; + $7 = Math_imul($5 + $14 | 0, 10935); + $2 = HEAP32[($16 << 2) + $3 >> 2] + $4 | 0; + $13 = HEAP32[$1 + 28 >> 2]; + $11 = $13 << 13; + $6 = HEAP32[$1 + 20 >> 2]; + $17 = $14 + $6 | 0; + $15 = Math_imul($17, 9810); + $12 = $11 + ($15 + (Math_imul($14, -9232) + $7 | 0) | 0) | 0; + $9 = (HEAP32[$1 >> 2] << 13) + 134348800 | 0; + $10 = HEAP32[$1 + 16 >> 2]; + $20 = $9 + Math_imul($10, 10438) | 0; + $8 = HEAP32[$1 + 24 >> 2]; + $19 = HEAP32[$1 + 8 >> 2]; + $18 = Math_imul($8 + $19 | 0, 9058); + $22 = $18 + Math_imul($19, 2237) | 0; + $21 = $20 + $22 | 0; + HEAP8[$2 | 0] = HEAPU8[($12 + $21 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 13 | 0] = HEAPU8[($21 - $12 >>> 18 & 1023) + $0 | 0]; + $12 = Math_imul($5, -3474) + $7 | 0; + $7 = Math_imul($5 + $6 | 0, -1297) - $11 | 0; + $12 = $12 + $7 | 0; + $18 = Math_imul($8, -14084) + $18 | 0; + $21 = Math_imul($10, 2578) + $9 | 0; + $23 = $18 + $21 | 0; + HEAP8[$2 + 1 | 0] = HEAPU8[($12 + $23 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 12 | 0] = HEAPU8[($23 - $12 >>> 18 & 1023) + $0 | 0]; + $7 = (Math_imul($6, -19447) + $15 | 0) + $7 | 0; + $8 = Math_imul($8, -11295) + Math_imul($19, 5027) | 0; + $19 = Math_imul($10, -7223) + $9 | 0; + $15 = $8 + $19 | 0; + HEAP8[$2 + 2 | 0] = HEAPU8[($7 + $15 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 11 | 0] = HEAPU8[($15 - $7 >>> 18 & 1023) + $0 | 0]; + $9 = Math_imul($10, -11586) + $9 | 0; + $7 = $14 - $5 | 0; + $15 = ($7 - $6 | 0) + $13 << 13; + HEAP8[$2 + 3 | 0] = HEAPU8[($9 + $15 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 10 | 0] = HEAPU8[($9 - $15 >>> 18 & 1023) + $0 | 0]; + $8 = $19 - $8 | 0; + $9 = Math_imul($17, 6164); + $10 = Math_imul($6, -13850) + $11 | 0; + $6 = Math_imul($6 - $5 | 0, 11512); + $10 = $9 + ($10 + $6 | 0) | 0; + HEAP8[$2 + 4 | 0] = HEAPU8[($8 + $10 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 9 | 0] = HEAPU8[($8 - $10 >>> 18 & 1023) + $0 | 0]; + $6 = Math_imul($5, 5529) + $6 | 0; + $5 = Math_imul($7, 3826) - $11 | 0; + $6 = $6 + $5 | 0; + $11 = $21 - $18 | 0; + HEAP8[$2 + 5 | 0] = HEAPU8[($6 + $11 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 8 | 0] = HEAPU8[($11 - $6 >>> 18 & 1023) + $0 | 0]; + $5 = (Math_imul($14, -8693) + $9 | 0) + $5 | 0; + $6 = $20 - $22 | 0; + HEAP8[$2 + 6 | 0] = HEAPU8[($5 + $6 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 7 | 0] = HEAPU8[($6 - $5 >>> 18 & 1023) + $0 | 0]; + $1 = $1 + 32 | 0; + $16 = $16 + 1 | 0; + if (($16 | 0) != 14) { + continue; + } + break; + } + __stack_pointer = $24 + 448 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 76); + label$1: { + label$2: { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + if (($2 | 0) != 90) { + if (($2 & 255) != 78) { + break label$2; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNestedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1); + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseLocalName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1); + break label$1; + } + label$4: { + label$5: { + if (($2 | 0) != 83) { + break label$5; + } + $5 = 1; + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1) | 0) == 116) { + break label$5; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSubstitution_28_29($0); + break label$4; + } + $5 = 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnscopedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1); + } + HEAP32[$4 + 12 >> 2] = $3; + if (!$3) { + $2 = 0; + break label$1; + } + $2 = 0; + label$7: { + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) == 73) { + if (!$5) { + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($0 + 148 | 0, $4 + 12 | 0); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArgs_28bool_29($0, ($1 | 0) != 0); + HEAP32[$4 + 8 >> 2] = $3; + if (!$3) { + break label$1; + } + if ($1) { + HEAP8[$1 + 1 | 0] = 1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $4 + 12 | 0, $4 + 8 | 0); + break label$7; + } + if ($5) { + break label$1; + } + } + $2 = $3; + } + __stack_pointer = $4 + 16 | 0; + return $2; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______construct_node_hash_std____2__pair_unsigned_20int_2c_20unsigned_20int___28unsigned_20long_2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int____29($0, $1, $2, $3) { + var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $1 = std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______node_alloc_28_29($1); + $0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______2c_20true_____good_rval_ref_type_29($0, std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______allocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20unsigned_20long_29($1, 1), std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool_29($4 + 8 | 0, $1, 0)); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______construct_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int__2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int__2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__pair_unsigned_20int_20const_2c_20unsigned_20int___2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int____29($1, std____2____hash_key_value_types_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int______get_ptr_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int___29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($0) + 8 | 0), $3); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______get_deleter_28_29($0), + wasm2js_i32$1 = 1, HEAP8[wasm2js_i32$0 + 4 | 0] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($0), + wasm2js_i32$1 = $2, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseConversionExpr_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $1 = __stack_pointer - 48 | 0; + __stack_pointer = $1; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 40 | 0, 28620); + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 + 8 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$1 + 12 >> 2] = $3; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 8 | 0)) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool___SwapAndRestore_28bool__2c_20bool_29($1 + 24 | 0, $0 + 388 | 0, 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 36 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool____SwapAndRestore_28_29($2); + if (!$3) { + break label$1; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + $3 = $0 + 8 | 0; + $5 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($3); + while (1) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 24 >> 2] = $2; + if (!$2) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($3, $1 + 24 | 0); + continue; } - i9 = HEAP32[i11 >> 2] | 0; - HEAP32[i9 + 20 >> 2] = 38; - FUNCTION_TABLE_vi[HEAP32[i9 >> 2] & 255](i11); break; - } else { - if (i23 ? (HEAP32[i4 + 40 >> 2] | 0) >>> 0 > 2 : 0) { - HEAP32[i17 + (i3 << 2) >> 2] = 13; - break; - } - HEAP32[i17 + (i3 << 2) >> 2] = 14; - } while (0); - i8 = HEAP32[(HEAP32[i12 >> 2] | 0) + 8 >> 2] | 0; - i9 = _jround_up(HEAP32[i18 >> 2] | 0, HEAP32[i14 >> 2] | 0) | 0; - i9 = FUNCTION_TABLE_iiiii[i8 & 15](i11, 1, i9, HEAP32[i15 >> 2] | 0) | 0; - HEAP32[i19 + (i3 << 2) >> 2] = i9; - } while (0); - i3 = i3 + 1 | 0; - i4 = i4 + 84 | 0; - } - return; -} - -function _arGetMarkerInfo(i10, i11, i20, i21, i22, i24, i25, i26, i27, i28, d12, i13, i14, i15) { - i10 = i10 | 0; - i11 = i11 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - i22 = i22 | 0; - i24 = i24 | 0; - i25 = i25 | 0; - i26 = i26 | 0; - i27 = i27 | 0; - i28 = i28 | 0; - d12 = +d12; - i13 = i13 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i23 = 0, i29 = 0, i30 = 0; - i30 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i16 = i30 + 4 | 0; - i17 = i30; - i18 = i27 >>> 0 < 2; - i19 = (i27 | 0) == 2; - i9 = 0; - i1 = 0; - while (1) { - if ((i9 | 0) >= (i24 | 0)) break; - HEAP32[i13 + (i1 << 8) >> 2] = HEAP32[i22 + (i9 * 80048 | 0) >> 2]; - if ((_arParamObserv2IdealLTf(i28, +HEAPF64[i22 + (i9 * 80048 | 0) + 8 >> 3], +HEAPF64[i22 + (i9 * 80048 | 0) + 16 >> 3], i16, i17) | 0) >= 0 ? (HEAPF64[i13 + (i1 << 8) + 56 >> 3] = +HEAPF32[i16 >> 2], HEAPF64[i13 + (i1 << 8) + 64 >> 3] = +HEAPF32[i17 >> 2], i23 = i13 + (i1 << 8) + 168 | 0, (_arGetLine(i22 + (i9 * 80048 | 0) + 28 | 0, i22 + (i9 * 80048 | 0) + 40028 | 0, HEAP32[i22 + (i9 * 80048 | 0) + 24 >> 2] | 0, i22 + (i9 * 80048 | 0) + 80028 | 0, i28, i13 + (i1 << 8) + 72 | 0, i23) | 0) >= 0) : 0) { - i5 = i13 + (i1 << 8) + 8 | 0; - i2 = i13 + (i1 << 8) + 20 | 0; - i3 = i13 + (i1 << 8) + 40 | 0; - i6 = i13 + (i1 << 8) + 12 | 0; - i8 = i13 + (i1 << 8) + 24 | 0; - i7 = i13 + (i1 << 8) + 48 | 0; - i4 = _arPattGetIDGlobal(i25, i26, i27, i10, i11, i20, i21, i28, i23, d12, i5, i2, i3, i6, i8, i7, i15, i13 + (i1 << 8) + 240 | 0, i13 + (i1 << 8) + 248 | 0) | 0; - switch (i4 | 0) { - case 0: - { - i29 = 12; - break; - } - case -1: - { - i4 = 2; - i29 = 12; - break; - } - case -2: - { - i4 = 3; - i29 = 12; - break; - } - case -3: - { - i4 = 4; - i29 = 12; - break; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1 + 24 | 0, $0, $5); + $4 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ConversionExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__29($0, $1 + 36 | 0, $1 + 24 | 0); + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 20 >> 2] = $2; + if (!$2) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__NodeArray_20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___makeNodeArray__28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($1 + 24 | 0, $0, $1 + 20 | 0, $1 + 24 | 0); + $4 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ConversionExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1 + 36 | 0, $1 + 24 | 0); + } + __stack_pointer = $1 + 48 | 0; + return $4; +} + +function QRM($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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, $29 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0; + $17 = __stack_pointer - 16 | 0; + __stack_pointer = $17; + $2 = -1; + $7 = HEAP32[$0 + 4 >> 2]; + label$1: { + if (($7 | 0) < 2 | HEAP32[$0 + 8 >> 2] != ($7 | 0) | HEAP32[$1 + 4 >> 2] != ($7 | 0)) { + break label$1; + } + $20 = arVecAlloc($7); + if (!$20) { + break label$1; + } + $23 = $7 - 1 | 0; + HEAP32[$17 + 12 >> 2] = $23; + HEAP32[$17 + 8 >> 2] = HEAP32[$20 >> 2] + 8; + label$2: { + if ((arVecTridiagonalize($0, $1, $17 + 8 | 0) | 0) < 0) { + break label$2; + } + $16 = HEAP32[$20 >> 2]; + HEAP32[$16 >> 2] = 0; + HEAP32[$16 + 4 >> 2] = 0; + $21 = $23; + label$3: while (1) { + $8 = $21; + $2 = $8; + if (($2 | 0) <= 0) { + $11 = 0; + label$5: while (1) { + if (($11 | 0) == ($23 | 0)) { + $2 = 0; + break label$2; + } + $8 = HEAP32[$1 >> 2]; + $12 = $8 + ($11 << 3) | 0; + $9 = HEAPF64[$12 >> 3]; + $3 = $9; + $14 = $11 + 1 | 0; + $2 = $14; + $5 = $11; + while (1) { + if (($2 | 0) < ($7 | 0)) { + $4 = HEAPF64[($2 << 3) + $8 >> 3]; + $6 = $4 > $3; + $3 = $6 ? $4 : $3; + $5 = $6 ? $2 : $5; + $2 = $2 + 1 | 0; + continue; + } + break; + } + HEAPF64[($5 << 3) + $8 >> 3] = $9; + HEAPF64[$12 >> 3] = $3; + $6 = HEAP32[$0 >> 2]; + $2 = $6 + (Math_imul($7, $11) << 3) | 0; + $5 = (Math_imul($5, $7) << 3) + $6 | 0; + $6 = 0; + while (1) if (($6 | 0) == ($7 | 0)) { + $11 = $14; + continue label$5; + } else { + $3 = HEAPF64[$5 >> 3]; + HEAPF64[$5 >> 3] = HEAPF64[$2 >> 3]; + HEAPF64[$2 >> 3] = $3; + $6 = $6 + 1 | 0; + $2 = $2 + 8 | 0; + $5 = $5 + 8 | 0; + continue; + } + } } - case -4: - { - i4 = 5; - i29 = 12; + while (1) { + label$13: { + $15 = $2; + if (($2 | 0) <= 0) { + $15 = 0; + break label$13; + } + $5 = $15 << 3; + $6 = HEAP32[$1 >> 2]; + $2 = $15 - 1 | 0; + if (Math_abs(HEAPF64[$16 + $5 >> 3]) > (Math_abs(HEAPF64[$6 + ($2 << 3) >> 3]) + Math_abs(HEAPF64[$5 + $6 >> 3])) * 1e-6) { + continue; + } + } break; } - case -5: - { - i4 = 9; - i29 = 12; - break; + $21 = $8 - 1 | 0; + if (($8 | 0) == ($15 | 0)) { + continue; } - case -6: - { - i4 = 1; - i29 = 12; + $31 = ($8 | 0) < ($15 | 0) ? $15 : $8; + $25 = $8 << 3; + $26 = $25 + $16 | 0; + $27 = $15 << 3; + $32 = $27 + $16 | 0; + $2 = 0; + while (1) { + if (($2 | 0) == 100) { + continue label$3; + } + $33 = $2 + 1 | 0; + $18 = HEAP32[$1 >> 2]; + $28 = $25 + $18 | 0; + $3 = HEAPF64[$28 >> 3]; + $10 = HEAPF64[$18 + $27 >> 3] - $3; + $4 = HEAPF64[$26 >> 3]; + $4 = $4 * $4; + $9 = $4; + $29 = ($21 << 3) + $18 | 0; + $3 = (HEAPF64[$29 >> 3] - $3) * .5; + $4 = Math_sqrt($4 + $3 * $3); + $9 = $10 + $9 / ($3 + ($3 < 0 ? -$4 : $4)); + $4 = HEAPF64[$32 + 8 >> 3]; + $12 = $15; + while (1) { + if (($12 | 0) != ($31 | 0)) { + $3 = Math_abs($9); + label$18: { + if ($3 >= Math_abs($4)) { + if (!($3 > 1e-16)) { + $3 = 1; + $13 = 0; + break label$18; + } + $3 = -$4 / $9; + $10 = $3; + $3 = 1 / Math_sqrt($3 * $3 + 1); + $13 = $10 * $3; + break label$18; + } + $3 = -$9 / $4; + $13 = 1 / Math_sqrt($3 * $3 + 1); + $3 = $3 * $13; + } + $24 = $12 << 3; + $2 = $24 + $18 | 0; + $11 = $2; + $10 = HEAPF64[$2 >> 3]; + $34 = $10; + $14 = $12 + 1 | 0; + $2 = $14 << 3; + $5 = $18 + $2 | 0; + $19 = HEAPF64[$5 >> 3]; + $30 = $10 - $19; + $22 = $2 + $16 | 0; + $10 = $13 * ($30 * $13 + ($3 + $3) * HEAPF64[$22 >> 3]); + HEAPF64[$11 >> 3] = $34 - $10; + HEAPF64[$5 >> 3] = $19 + $10; + if (($12 | 0) > ($15 | 0)) { + $2 = $16 + $24 | 0; + HEAPF64[$2 >> 3] = $3 * HEAPF64[$2 >> 3] - $4 * $13; + } + $10 = -$13; + $19 = HEAPF64[$22 >> 3]; + HEAPF64[$22 >> 3] = $13 * ($3 * $30 + $13 * -2 * $19) + $19; + $8 = Math_imul($7, $14); + $11 = Math_imul($7, $12); + $2 = 0; + while (1) { + if (($2 | 0) != ($7 | 0)) { + $5 = HEAP32[$0 >> 2]; + $6 = $5 + ($2 + $11 << 3) | 0; + $9 = HEAPF64[$6 >> 3]; + $5 = ($2 + $8 << 3) + $5 | 0; + $4 = HEAPF64[$5 >> 3]; + HEAPF64[$6 >> 3] = $3 * $9 + $4 * $10; + HEAPF64[$5 >> 3] = $13 * $9 + $3 * $4; + $2 = $2 + 1 | 0; + continue; + } + break; + } + $2 = ($12 | 0) >= ($21 | 0); + $12 = $14; + if ($2) { + continue; + } + $9 = HEAPF64[$22 >> 3]; + $14 = $16 + $24 | 0; + $2 = $14 + 16 | 0; + $4 = HEAPF64[$14 + 16 >> 3]; + HEAPF64[$2 >> 3] = $3 * $4; + $4 = $4 * $10; + continue; + } + break; + } + $2 = $33; + if (Math_abs(HEAPF64[$26 >> 3]) > (Math_abs(HEAPF64[$29 >> 3]) + Math_abs(HEAPF64[$28 >> 3])) * 1e-6) { + continue; + } break; } - default: - {} - } - if ((i29 | 0) == 12) { - i29 = 0; - HEAP32[i13 + (i1 << 8) + 236 >> 2] = i4; + continue; } - if (!i18) { - if (i19) { - HEAP32[i13 + (i1 << 8) + 4 >> 2] = HEAP32[i6 >> 2]; - i3 = i7; - i2 = i8; - i29 = 17; - } + } + arVecFree($20); + } + __stack_pointer = $17 + 16 | 0; + return $2; +} + +function __rem_pio2($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $7 = __stack_pointer - 48 | 0; + __stack_pointer = $7; + wasm2js_scratch_store_f64(+$0); + $4 = wasm2js_scratch_load_i32(1) | 0; + $11 = wasm2js_scratch_load_i32(0) | 0; + label$1: { + label$2: { + $3 = $4; + $8 = $4 & 2147483647; + label$3: { + if ($8 >>> 0 <= 1074752122) { + if (($3 & 1048575) == 598523) { + break label$3; + } + if ($8 >>> 0 <= 1073928572) { + if (($4 | 0) > 0 | ($4 | 0) >= 0) { + $0 = $0 + -1.5707963267341256; + $2 = $0 + -6077100506506192e-26; + HEAPF64[$1 >> 3] = $2; + HEAPF64[$1 + 8 >> 3] = $0 - $2 + -6077100506506192e-26; + $3 = 1; + break label$1; + } + $0 = $0 + 1.5707963267341256; + $2 = $0 + 6077100506506192e-26; + HEAPF64[$1 >> 3] = $2; + HEAPF64[$1 + 8 >> 3] = $0 - $2 + 6077100506506192e-26; + $3 = -1; + break label$1; + } + if (($4 | 0) > 0 | ($4 | 0) >= 0) { + $0 = $0 + -3.1415926534682512; + $2 = $0 + -1.2154201013012384e-10; + HEAPF64[$1 >> 3] = $2; + HEAPF64[$1 + 8 >> 3] = $0 - $2 + -1.2154201013012384e-10; + $3 = 2; + break label$1; + } + $0 = $0 + 3.1415926534682512; + $2 = $0 + 1.2154201013012384e-10; + HEAPF64[$1 >> 3] = $2; + HEAPF64[$1 + 8 >> 3] = $0 - $2 + 1.2154201013012384e-10; + $3 = -2; + break label$1; + } + if ($8 >>> 0 <= 1075594811) { + if ($8 >>> 0 <= 1075183036) { + if (($8 | 0) == 1074977148) { + break label$3; + } + if (($4 | 0) > 0 | ($4 | 0) >= 0) { + $0 = $0 + -4.712388980202377; + $2 = $0 + -1.8231301519518578e-10; + HEAPF64[$1 >> 3] = $2; + HEAPF64[$1 + 8 >> 3] = $0 - $2 + -1.8231301519518578e-10; + $3 = 3; + break label$1; + } + $0 = $0 + 4.712388980202377; + $2 = $0 + 1.8231301519518578e-10; + HEAPF64[$1 >> 3] = $2; + HEAPF64[$1 + 8 >> 3] = $0 - $2 + 1.8231301519518578e-10; + $3 = -3; + break label$1; + } + if (($8 | 0) == 1075388923) { + break label$3; + } + if (($4 | 0) > 0 | ($4 | 0) >= 0) { + $0 = $0 + -6.2831853069365025; + $2 = $0 + -2.430840202602477e-10; + HEAPF64[$1 >> 3] = $2; + HEAPF64[$1 + 8 >> 3] = $0 - $2 + -2.430840202602477e-10; + $3 = 4; + break label$1; + } + $0 = $0 + 6.2831853069365025; + $2 = $0 + 2.430840202602477e-10; + HEAPF64[$1 >> 3] = $2; + HEAPF64[$1 + 8 >> 3] = $0 - $2 + 2.430840202602477e-10; + $3 = -4; + break label$1; + } + if ($8 >>> 0 > 1094263290) { + break label$2; + } + } + $2 = $0 * .6366197723675814 + 6755399441055744 + -6755399441055744; + $6 = $0 + $2 * -1.5707963267341256; + $10 = $2 * 6077100506506192e-26; + $12 = $6 - $10; + $9 = $12 < -.7853981633974483; + if (Math_abs($2) < 2147483648) { + $3 = ~~$2; } else { - HEAP32[i13 + (i1 << 8) + 4 >> 2] = HEAP32[i5 >> 2]; - i29 = 17; + $3 = -2147483648; + } + label$14: { + if ($9) { + $3 = $3 - 1 | 0; + $2 = $2 + -1; + $10 = $2 * 6077100506506192e-26; + $6 = $0 + $2 * -1.5707963267341256; + break label$14; + } + if (!($12 > .7853981633974483)) { + break label$14; + } + $3 = $3 + 1 | 0; + $2 = $2 + 1; + $10 = $2 * 6077100506506192e-26; + $6 = $0 + $2 * -1.5707963267341256; + } + $0 = $6 - $10; + HEAPF64[$1 >> 3] = $0; + wasm2js_scratch_store_f64(+$0); + $5 = wasm2js_scratch_load_i32(1) | 0; + wasm2js_scratch_load_i32(0) | 0; + $9 = $8 >>> 20 | 0; + label$16: { + if (($9 - ($5 >>> 20 & 2047) | 0) < 17) { + break label$16; + } + $0 = $2 * 6077100506303966e-26; + $12 = $6 - $0; + $10 = $2 * 20222662487959506e-37 - ($6 - $12 - $0); + $0 = $12 - $10; + HEAPF64[$1 >> 3] = $0; + wasm2js_scratch_store_f64(+$0); + $5 = wasm2js_scratch_load_i32(1) | 0; + wasm2js_scratch_load_i32(0) | 0; + if (($9 - ($5 >>> 20 & 2047) | 0) < 50) { + $6 = $12; + break label$16; + } + $0 = $2 * 20222662487111665e-37; + $6 = $12 - $0; + $10 = $2 * 84784276603689e-45 - ($12 - $6 - $0); + $0 = $6 - $10; + HEAPF64[$1 >> 3] = $0; + } + HEAPF64[$1 + 8 >> 3] = $6 - $0 - $10; + break label$1; + } + if ($8 >>> 0 >= 2146435072) { + $0 = $0 - $0; + HEAPF64[$1 >> 3] = $0; + HEAPF64[$1 + 8 >> 3] = $0; + $3 = 0; + break label$1; + } + $5 = $4 & 1048575; + wasm2js_scratch_store_i32(0, $11 | 0); + $5 = $5 | 1096810496; + wasm2js_scratch_store_i32(1, $5 | 0); + $0 = +wasm2js_scratch_load_f64(); + $3 = 0; + $9 = 1; + while (1) { + $3 = ($7 + 16 | 0) + ($3 << 3) | 0; + if (Math_abs($0) < 2147483648) { + $5 = ~~$0; + } else { + $5 = -2147483648; + } + $2 = +($5 | 0); + HEAPF64[$3 >> 3] = $2; + $0 = ($0 - $2) * 16777216; + $3 = 1; + $5 = $9 & 1; + $9 = 0; + if ($5) { + continue; + } + break; + } + HEAPF64[$7 + 32 >> 3] = $0; + $3 = 2; + while (1) { + $9 = $3; + $3 = $3 - 1 | 0; + if (HEAPF64[($7 + 16 | 0) + ($9 << 3) >> 3] == 0) { + continue; } - if ((i29 | 0) == 17) { - i29 = 0; - HEAP32[i13 + (i1 << 8) + 16 >> 2] = HEAP32[i2 >> 2]; - HEAPF64[i13 + (i1 << 8) + 32 >> 3] = +HEAPF64[i3 >> 3]; + break; + } + $3 = __rem_pio2_large($7 + 16 | 0, $7, ($8 >>> 20 | 0) - 1046 | 0, $9 + 1 | 0, 1); + $0 = HEAPF64[$7 >> 3]; + if (($4 | 0) < 0) { + HEAPF64[$1 >> 3] = -$0; + HEAPF64[$1 + 8 >> 3] = -HEAPF64[$7 + 8 >> 3]; + $3 = 0 - $3 | 0; + break label$1; + } + HEAPF64[$1 >> 3] = $0; + HEAPF64[$1 + 8 >> 3] = HEAPF64[$7 + 8 >> 3]; + } + __stack_pointer = $7 + 48 | 0; + return $3; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseCtorDtorName_28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = HEAP32[$1 >> 2]; + label$1: { + if (($28anonymous_20namespace_29__itanium_demangle__Node__getKind_28_29_20const($4) | 0) != 42) { + break label$1; + } + $4 = HEAP32[$4 + 8 >> 2]; + HEAP32[$3 + 28 >> 2] = $4; + if ($4 - 2 >>> 0 > 3) { + break label$1; + } + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution_2c_20_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind___28_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind__29($0, $3 + 28 | 0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + label$2: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 67)) { + $4 = 0; + $6 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 73); + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + if (($5 - 49 & 255) >>> 0 > 4) { + break label$2; + } + HEAP32[$3 + 24 >> 2] = ($5 & 255) - 48; + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + if ($2) { + HEAP8[$2 | 0] = 1; + } + label$5: { + if (!$6) { + break label$5; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $2)) { + break label$5; + } + break label$2; + } + HEAP8[$3 + 23 | 0] = 0; + $4 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CtorDtorName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool_2c_20int___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool___2c_20int__29($0, $1, $3 + 23 | 0, $3 + 24 | 0); + break label$2; + } + $4 = 0; + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) != 68) { + break label$2; + } + $5 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1); + $6 = ($5 & 255) - 48 | 0; + if ($6 >>> 0 > 5 | ($6 | 0) == 3) { + break label$2; + } + HEAP32[$3 + 16 >> 2] = ($5 & 255) - 48; + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + if ($2) { + HEAP8[$2 | 0] = 1; + } + HEAP8[$3 + 15 | 0] = 1; + $4 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CtorDtorName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool_2c_20int___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool___2c_20int__29($0, $1, $3 + 15 | 0, $3 + 16 | 0); + } + __stack_pointer = $3 + 32 | 0; + return $4; +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_floating_point_long_20double__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20double__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0; + $6 = __stack_pointer - 384 | 0; + __stack_pointer = $6; + HEAP32[$6 + 368 >> 2] = $2; + HEAP32[$6 + 376 >> 2] = $1; + std____2____num_get_wchar_t_____stage2_float_prep_28std____2__ios_base__2c_20wchar_t__2c_20wchar_t__2c_20wchar_t__29($6 + 216 | 0, $3, $6 + 240 | 0, $6 + 236 | 0, $6 + 232 | 0); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 200 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$6 + 196 >> 2] = $1; + HEAP32[$6 + 28 >> 2] = $6 + 32; + HEAP32[$6 + 24 >> 2] = 0; + HEAP8[$6 + 23 | 0] = 1; + HEAP8[$6 + 22 | 0] = 69; + while (1) { + label$2: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($6 + 376 | 0, $6 + 368 | 0)) { + break label$2; + } + if (HEAP32[$6 + 196 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) + $1 | 0)) { + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$6 + 196 >> 2] = $3 + $1; } - i1 = i1 + 1 | 0; + if (std____2____num_get_wchar_t_____stage2_float_loop_28wchar_t_2c_20bool__2c_20char__2c_20char__2c_20char___2c_20wchar_t_2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20unsigned_20int__2c_20wchar_t__29(std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($6 + 376 | 0), $6 + 23 | 0, $6 + 22 | 0, $1, $6 + 196 | 0, HEAP32[$6 + 236 >> 2], HEAP32[$6 + 232 >> 2], $6 + 216 | 0, $6 + 32 | 0, $6 + 28 | 0, $6 + 24 | 0, $6 + 240 | 0)) { + break label$2; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($6 + 376 | 0); + continue; } - i9 = i9 + 1 | 0; + break; } - HEAP32[i14 >> 2] = i1; - STACKTOP = i30; - return 0; -} - -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwe(i1, i24, i18, i19, d8) { - i1 = i1 | 0; - i24 = i24 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - d8 = +d8; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i25 = 0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 352 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(352); - i13 = i21 + 344 | 0; - i7 = i21 + 320 | 0; - i6 = i21 + 304 | 0; - i3 = i21 + 296 | 0; - i2 = i21 + 280 | 0; - i5 = i21 + 272 | 0; - i10 = i21 + 240 | 0; - i9 = i21 + 340 | 0; - i11 = i21; - i16 = i21 + 336 | 0; - i14 = i21 + 332 | 0; - i15 = i21 + 328 | 0; - i4 = i5; - HEAP32[i4 >> 2] = 37; - HEAP32[i4 + 4 >> 2] = 0; - i4 = __ZNSt3__214__num_put_base14__format_floatEPcPKcj(i5 + 1 | 0, 47008, HEAP32[i18 + 4 >> 2] | 0) | 0; - HEAP32[i9 >> 2] = i10; - i1 = __ZNSt3__26__clocEv() | 0; - if (i4) { - HEAP32[i2 >> 2] = HEAP32[i18 + 8 >> 2]; - HEAPF64[i2 + 8 >> 3] = d8; - i1 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i10, 30, i1, i5, i2) | 0; - } else { - HEAPF64[i3 >> 3] = d8; - i1 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i10, 30, i1, i5, i3) | 0; - } - if ((i1 | 0) > 29) { - i1 = __ZNSt3__26__clocEv() | 0; - if (i4) { - HEAP32[i6 >> 2] = HEAP32[i18 + 8 >> 2]; - HEAPF64[i6 + 8 >> 3] = d8; - i2 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz(i9, i1, i5, i6) | 0; - } else { - HEAPF64[i7 >> 3] = d8; - i2 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz(i9, i1, i5, i7) | 0; + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 216 | 0) | !HEAPU8[$6 + 23 | 0]) { + break label$4; + } + $3 = HEAP32[$6 + 28 >> 2]; + if (($3 - ($6 + 32 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 28 >> 2] = $3 + 4; + HEAP32[$3 >> 2] = HEAP32[$6 + 24 >> 2]; + } + long_20double_20std____2____num_get_float_long_20double__28char_20const__2c_20char_20const__2c_20unsigned_20int__29($6, $1, HEAP32[$6 + 196 >> 2], $4); + $1 = HEAP32[$6 >> 2]; + $7 = $1; + $0 = HEAP32[$6 + 4 >> 2]; + $3 = $0; + $1 = HEAP32[$6 + 12 >> 2]; + $0 = HEAP32[$6 + 8 >> 2]; + $8 = $0; + $0 = $5; + HEAP32[$0 + 8 >> 2] = $8; + HEAP32[$0 + 12 >> 2] = $1; + HEAP32[$0 >> 2] = $7; + $1 = $3; + HEAP32[$0 + 4 >> 2] = $1; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 216 | 0, $6 + 32 | 0, HEAP32[$6 + 28 >> 2], $4); + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($6 + 376 | 0, $6 + 368 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $1 = HEAP32[$6 + 376 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 216 | 0); + __stack_pointer = $6 + 384 | 0; + return $1; +} + +function jpeg_idct_islow($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $21 = __stack_pointer - 256 | 0; + __stack_pointer = $21; + $22 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $21; + $6 = 8; + while (1) { + label$2: { + label$3: { + $5 = HEAPU16[$2 + 32 >> 1]; + $7 = HEAP16[$2 + 16 >> 1]; + if (($5 | $7) & 65535) { + break label$3; + } + $5 = 0; + if (HEAPU16[$2 + 48 >> 1] | HEAPU16[$2 + 64 >> 1] | (HEAPU16[$2 + 80 >> 1] | HEAPU16[$2 + 96 >> 1])) { + break label$3; + } + if (HEAPU16[$2 + 112 >> 1]) { + break label$3; + } + $5 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 2; + HEAP32[$0 + 192 >> 2] = $5; + HEAP32[$0 + 160 >> 2] = $5; + HEAP32[$0 + 128 >> 2] = $5; + HEAP32[$0 + 96 >> 2] = $5; + HEAP32[$0 + 64 >> 2] = $5; + HEAP32[$0 + 32 >> 2] = $5; + HEAP32[$0 >> 2] = $5; + $7 = 56; + break label$2; + } + $12 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $14 = Math_imul(HEAP16[$2 + 64 >> 1], HEAP32[$1 + 128 >> 2]) << 13; + $15 = $12 + $14 | 0; + $5 = Math_imul(HEAP32[$1 + 64 >> 2], $5 << 16 >> 16); + $10 = Math_imul(HEAP32[$1 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $11 = Math_imul($5 + $10 | 0, 4433); + $18 = $11 + Math_imul($5, 6270) | 0; + $9 = $15 + $18 | 0; + $5 = Math_imul(HEAP32[$1 + 32 >> 2], $7); + $7 = Math_imul(HEAP32[$1 + 224 >> 2], HEAP16[$2 + 112 >> 1]); + $16 = Math_imul($5 + $7 | 0, -7373); + $13 = $16 + Math_imul($5, 12299) | 0; + $8 = Math_imul(HEAP32[$1 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $17 = $8 + $5 | 0; + $5 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $19 = $7 + $5 | 0; + $20 = Math_imul($17 + $19 | 0, 9633); + $17 = $20 + Math_imul($17, -3196) | 0; + $13 = $13 + $17 | 0; + HEAP32[$0 + 224 >> 2] = $9 - $13 >> 11; + HEAP32[$0 >> 2] = $9 + $13 >> 11; + $10 = Math_imul($10, -15137) + $11 | 0; + $11 = $12 - $14 | 0; + $14 = $10 + $11 | 0; + $12 = Math_imul($5 + $8 | 0, -20995); + $9 = $12 + Math_imul($5, 25172) | 0; + $5 = Math_imul($19, -16069) + $20 | 0; + $9 = $9 + $5 | 0; + HEAP32[$0 + 192 >> 2] = $14 - $9 >> 11; + HEAP32[$0 + 32 >> 2] = $9 + $14 >> 11; + $10 = $11 - $10 | 0; + $8 = (Math_imul($8, 16819) + $12 | 0) + $17 | 0; + HEAP32[$0 + 160 >> 2] = $10 - $8 >> 11; + HEAP32[$0 + 64 >> 2] = $8 + $10 >> 11; + $5 = (Math_imul($7, 2446) + $16 | 0) + $5 | 0; + $7 = $15 - $18 | 0; + HEAP32[$0 + 96 >> 2] = $5 + $7 >> 11; + $5 = $7 - $5 >> 11; + $7 = 32; + } + HEAP32[($7 << 2) + $0 >> 2] = $5; + $2 = $2 + 2 | 0; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $5 = $6 >>> 0 > 1; + $6 = $6 - 1 | 0; + if ($5) { + continue; } - i1 = HEAP32[i9 >> 2] | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i12 = i2; - i23 = i1; - i20 = i1; + break; + } + $1 = $22 - 384 | 0; + $2 = $21; + $7 = 0; + while (1) { + $8 = HEAP32[$2 >> 2] + 16400 | 0; + $0 = HEAP32[($7 << 2) + $3 >> 2] + $4 | 0; + label$5: { + label$6: { + $5 = HEAP32[$2 + 8 >> 2]; + $6 = HEAP32[$2 + 4 >> 2]; + if ($5 | $6) { + break label$6; + } + $5 = 0; + if (HEAP32[$2 + 12 >> 2] | HEAP32[$2 + 16 >> 2] | (HEAP32[$2 + 20 >> 2] | HEAP32[$2 + 24 >> 2])) { + break label$6; + } + if (HEAP32[$2 + 28 >> 2]) { + break label$6; + } + $5 = __wasm_i64_mul(HEAPU8[($8 >>> 5 & 1023) + $1 | 0], 0, 16843009, 16843009); + HEAP8[$0 | 0] = $5; + HEAP8[$0 + 1 | 0] = $5 >>> 8; + HEAP8[$0 + 2 | 0] = $5 >>> 16; + HEAP8[$0 + 3 | 0] = $5 >>> 24; + $5 = i64toi32_i32$HIGH_BITS; + HEAP8[$0 + 4 | 0] = $5; + HEAP8[$0 + 5 | 0] = $5 >>> 8; + HEAP8[$0 + 6 | 0] = $5 >>> 16; + HEAP8[$0 + 7 | 0] = $5 >>> 24; + break label$5; + } + $10 = HEAP32[$2 + 28 >> 2]; + $14 = Math_imul($10 + $6 | 0, -7373); + $9 = $14 + Math_imul($6, 12299) | 0; + $18 = HEAP32[$2 + 20 >> 2]; + $6 = $18 + $6 | 0; + $11 = HEAP32[$2 + 12 >> 2]; + $12 = $11 + $10 | 0; + $15 = Math_imul($6 + $12 | 0, 9633); + $6 = $15 + Math_imul($6, -3196) | 0; + $9 = $9 + $6 | 0; + $16 = HEAP32[$2 + 24 >> 2]; + $17 = Math_imul($16 + $5 | 0, 4433); + $5 = $17 + Math_imul($5, 6270) | 0; + $19 = HEAP32[$2 + 16 >> 2]; + $20 = $19 + $8 << 13; + $13 = $5 + $20 | 0; + HEAP8[$0 | 0] = HEAPU8[($9 + $13 >>> 18 & 1023) + $1 | 0]; + HEAP8[$0 + 7 | 0] = HEAPU8[($13 - $9 >>> 18 & 1023) + $1 | 0]; + $9 = Math_imul($11 + $18 | 0, -20995); + $13 = $9 + Math_imul($11, 25172) | 0; + $11 = Math_imul($12, -16069) + $15 | 0; + $12 = $13 + $11 | 0; + $8 = $8 - $19 << 13; + $15 = Math_imul($16, -15137) + $17 | 0; + $16 = $8 + $15 | 0; + HEAP8[$0 + 1 | 0] = HEAPU8[($12 + $16 >>> 18 & 1023) + $1 | 0]; + HEAP8[$0 + 6 | 0] = HEAPU8[($16 - $12 >>> 18 & 1023) + $1 | 0]; + $6 = (Math_imul($18, 16819) + $9 | 0) + $6 | 0; + $8 = $8 - $15 | 0; + HEAP8[$0 + 2 | 0] = HEAPU8[($6 + $8 >>> 18 & 1023) + $1 | 0]; + HEAP8[$0 + 5 | 0] = HEAPU8[($8 - $6 >>> 18 & 1023) + $1 | 0]; + $5 = $20 - $5 | 0; + $6 = (Math_imul($10, 2446) + $14 | 0) + $11 | 0; + HEAP8[$0 + 3 | 0] = HEAPU8[($5 + $6 >>> 18 & 1023) + $1 | 0]; + HEAP8[$0 + 4 | 0] = HEAPU8[($5 - $6 >>> 18 & 1023) + $1 | 0]; + } + $2 = $2 + 32 | 0; + $7 = $7 + 1 | 0; + if (($7 | 0) != 8) { + continue; } - } else { - i12 = i1; - i23 = 0; - i20 = HEAP32[i9 >> 2] | 0; - } - i2 = i20 + i12 | 0; - i3 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i20, i2, i18) | 0; - do if ((i20 | 0) != (i10 | 0)) { - i1 = _malloc(i12 << 3) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i17 = i1; - i22 = 0; - i25 = i1; - break; + break; + } + __stack_pointer = $21 + 256 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArg_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + switch ($1 - 74 | 0) { + case 1: + break label$3; + + case 2: + break label$4; + + case 0: + break label$5; + + default: + break label$6; + } + } + if (($1 | 0) != 88) { + break label$3; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + if (!$1) { + break label$2; + } + $0 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69) ? $1 : 0; + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $3 = $0 + 8 | 0; + $4 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($3); + while (1) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArg_28_29($0); + HEAP32[$2 + 12 >> 2] = $1; + if (!$1) { + break label$2; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($3, $2 + 12 | 0); + continue; + } + break; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($2, $0, $4); + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__29($0, $2); + break label$1; + } + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 1) | 0) == 90) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 2; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29($0); + if (!$1) { + break label$2; + } + $0 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69) ? $1 : 0; + break label$1; + } + $0 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExprPrimary_28_29($0); + break label$1; + } + $0 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + break label$1; } - } else { - i17 = i11; - i22 = 1; - i25 = 0; - } while (0); - __ZNKSt3__28ios_base6getlocEv(i13, i18); - __ZNSt3__29__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE(i20, i3, i2, i17, i16, i14, i13); - __ZNSt3__26localeD2Ev(i13); - HEAP32[i15 >> 2] = HEAP32[i24 >> 2]; - i20 = HEAP32[i16 >> 2] | 0; - i1 = HEAP32[i14 >> 2] | 0; - HEAP32[i13 >> 2] = HEAP32[i15 >> 2]; - i1 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i13, i17, i20, i1, i18, i19) | 0; - HEAP32[i24 >> 2] = i1; - if (!i22) _free(i25); - _free(i23); - STACKTOP = i21; - return i1 | 0; -} - -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwd(i1, i24, i18, i19, d8) { - i1 = i1 | 0; - i24 = i24 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - d8 = +d8; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i25 = 0; - i21 = STACKTOP; - STACKTOP = STACKTOP + 352 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(352); - i13 = i21 + 344 | 0; - i7 = i21 + 320 | 0; - i6 = i21 + 304 | 0; - i3 = i21 + 296 | 0; - i2 = i21 + 280 | 0; - i5 = i21 + 272 | 0; - i10 = i21 + 240 | 0; - i9 = i21 + 340 | 0; - i11 = i21; - i16 = i21 + 336 | 0; - i14 = i21 + 332 | 0; - i15 = i21 + 328 | 0; - i4 = i5; - HEAP32[i4 >> 2] = 37; - HEAP32[i4 + 4 >> 2] = 0; - i4 = __ZNSt3__214__num_put_base14__format_floatEPcPKcj(i5 + 1 | 0, 58366, HEAP32[i18 + 4 >> 2] | 0) | 0; - HEAP32[i9 >> 2] = i10; - i1 = __ZNSt3__26__clocEv() | 0; - if (i4) { - HEAP32[i2 >> 2] = HEAP32[i18 + 8 >> 2]; - HEAPF64[i2 + 8 >> 3] = d8; - i1 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i10, 30, i1, i5, i2) | 0; - } else { - HEAPF64[i3 >> 3] = d8; - i1 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i10, 30, i1, i5, i3) | 0; - } - if ((i1 | 0) > 29) { - i1 = __ZNSt3__26__clocEv() | 0; - if (i4) { - HEAP32[i6 >> 2] = HEAP32[i18 + 8 >> 2]; - HEAPF64[i6 + 8 >> 3] = d8; - i2 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz(i9, i1, i5, i6) | 0; + $0 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______rehash_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = Math_fround(0), $5 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + label$1: { + if (($1 | 0) == 1) { + $1 = 2; } else { - HEAPF64[i7 >> 3] = d8; - i2 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz(i9, i1, i5, i7) | 0; - } - i1 = HEAP32[i9 >> 2] | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i12 = i2; - i23 = i1; - i20 = i1; - } - } else { - i12 = i1; - i23 = 0; - i20 = HEAP32[i9 >> 2] | 0; - } - i2 = i20 + i12 | 0; - i3 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i20, i2, i18) | 0; - do if ((i20 | 0) != (i10 | 0)) { - i1 = _malloc(i12 << 3) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i17 = i1; - i22 = 0; - i25 = i1; - break; - } - } else { - i17 = i11; - i22 = 1; - i25 = 0; - } while (0); - __ZNKSt3__28ios_base6getlocEv(i13, i18); - __ZNSt3__29__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE(i20, i3, i2, i17, i16, i14, i13); - __ZNSt3__26localeD2Ev(i13); - HEAP32[i15 >> 2] = HEAP32[i24 >> 2]; - i20 = HEAP32[i16 >> 2] | 0; - i1 = HEAP32[i14 >> 2] | 0; - HEAP32[i13 >> 2] = HEAP32[i15 >> 2]; - i1 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i13, i17, i20, i1, i18, i19) | 0; - HEAP32[i24 >> 2] = i1; - if (!i22) _free(i25); - _free(i23); - STACKTOP = i21; - return i1 | 0; -} - -function __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - if ((__ZNK6vision5Image4typeEv(i2) | 0) != 2) { - i6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 25663) | 0, 25069) | 0, 33528) | 0, 357) | 0, 33535) | 0, 25710) | 0; - __ZNKSt3__28ios_base6getlocEv(i4, i6 + (HEAP32[(HEAP32[i6 >> 2] | 0) + -12 >> 2] | 0) | 0); - i7 = __ZNKSt3__26locale9use_facetERNS0_2idE(i4, 57916) | 0; - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i7 >> 2] | 0) + 28 >> 2] & 63](i7, 10) | 0; - __ZNSt3__26localeD2Ev(i4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i6, i7) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i6) | 0; - _abort(); - } - switch (__ZNK6vision5Image4typeEv(i3) | 0) { - case 1: - { - i4 = __ZN6vision5Image3getEv(i2) | 0; - i6 = HEAP32[i1 + 32 >> 2] | 0; - i7 = __ZNK6vision5Image3getEv(i3) | 0; - __ZN6vision18binomial_4th_orderEPfPtPKhmm(i4, i6, i7, __ZNK6vision5Image5widthEv(i3) | 0, __ZNK6vision5Image6heightEv(i3) | 0); - break; + if (!($1 - 1 & $1)) { + break label$1; + } + $1 = std____2____next_prime_28unsigned_20long_29($1); + } + HEAP32[$2 + 12 >> 2] = $1; + } + $3 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______bucket_count_28_29_20const($0); + label$4: { + if ($3 >>> 0 < $1 >>> 0) { + std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________rehash_28unsigned_20long_29($0, $1); + break label$4; + } + if ($1 >>> 0 >= $3 >>> 0) { + break label$4; + } + $1 = std____2____is_hash_power2_28unsigned_20long_29($3); + $4 = ceil_28float_29(Math_fround(Math_fround(HEAPU32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______size_28_29($0) >> 2]) / HEAPF32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______max_load_factor_28_29($0) >> 2])); + label$6: { + if ($4 < Math_fround(4294967296) & $4 >= Math_fround(0)) { + $5 = ~~$4 >>> 0; + break label$6; + } + $5 = 0; + } + label$8: { + if ($1) { + $1 = std____2____next_hash_pow2_28unsigned_20long_29($5); + break label$8; + } + $1 = std____2____next_prime_28unsigned_20long_29($5); + } + HEAP32[$2 + 8 >> 2] = $1; + $1 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 12 | 0, $2 + 8 | 0) >> 2]; + HEAP32[$2 + 12 >> 2] = $1; + if ($1 >>> 0 >= $3 >>> 0) { + break label$4; + } + std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________rehash_28unsigned_20long_29($0, $1); + } + __stack_pointer = $2 + 16 | 0; +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_unsigned_unsigned_20long_20long__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long_20long__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 352 | 0; + __stack_pointer = $6; + HEAP32[$6 + 336 >> 2] = $2; + HEAP32[$6 + 344 >> 2] = $1; + $1 = std____2____num_get_base____get_base_28std____2__ios_base__29($3); + $0 = std____2____num_get_wchar_t_____do_widen_28std____2__ios_base__2c_20wchar_t__29_20const($0, $3, $6 + 224 | 0); + std____2____num_get_wchar_t_____stage2_int_prep_28std____2__ios_base__2c_20wchar_t__29($6 + 208 | 0, $3, $6 + 332 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $6 + 16; + HEAP32[$6 + 8 >> 2] = 0; + while (1) { + label$2: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($6 + 344 | 0, $6 + 336 | 0)) { + break label$2; + } + if (HEAP32[$6 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) + $2 | 0)) { + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $7 + $2; + } + if (std____2____num_get_wchar_t_____stage2_int_loop_28wchar_t_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20wchar_t_20const__29(std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($6 + 344 | 0), $1, $2, $6 + 188 | 0, $6 + 8 | 0, HEAP32[$6 + 332 >> 2], $6 + 208 | 0, $6 + 16 | 0, $6 + 12 | 0, $0)) { + break label$2; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($6 + 344 | 0); + continue; } - case 2: - { - i4 = __ZN6vision5Image3getEv(i2) | 0; - i6 = HEAP32[i1 + 44 >> 2] | 0; - i7 = __ZNK6vision5Image3getEv(i3) | 0; - __ZN6vision18binomial_4th_orderEPfS0_PKfmm(i4, i6, i7, __ZNK6vision5Image5widthEv(i3) | 0, __ZNK6vision5Image6heightEv(i3) | 0); - break; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 208 | 0)) { + break label$4; + } + $0 = HEAP32[$6 + 12 >> 2]; + if (($0 - ($6 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 12 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = HEAP32[$6 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = unsigned_20long_20long_20std____2____num_get_unsigned_integral_unsigned_20long_20long__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($2, HEAP32[$6 + 188 >> 2], $4, $1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + HEAP32[$5 + 4 >> 2] = i64toi32_i32$HIGH_BITS; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 208 | 0, $6 + 16 | 0, HEAP32[$6 + 12 >> 2], $4); + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($6 + 344 | 0, $6 + 336 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $2 = HEAP32[$6 + 344 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 208 | 0); + __stack_pointer = $6 + 352 | 0; + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSubstitution_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 83)) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + if (($2 - 97 & 255) >>> 0 <= 25) { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + label$10: { + $2 = $2 & 255; + switch ($2 - 97 | 0) { + case 2: + case 4: + case 5: + case 6: + case 7: + break label$1; + + case 8: + break label$6; + + case 3: + break label$7; + + case 1: + break label$8; + + case 0: + break label$9; + + default: + break label$10; + } + } + switch ($2 - 111 | 0) { + case 4: + break label$4; + + case 0: + break label$5; + + default: + break label$1; + } + } + HEAP32[$1 + 12 >> 2] = 0; + break label$3; + } + HEAP32[$1 + 12 >> 2] = 1; + break label$3; + } + HEAP32[$1 + 12 >> 2] = 5; + break label$3; + } + HEAP32[$1 + 12 >> 2] = 3; + break label$3; + } + HEAP32[$1 + 12 >> 2] = 4; + break label$3; + } + HEAP32[$1 + 12 >> 2] = 2; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution_2c_20_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind___28_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind__29($0, $1 + 12 | 0); + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseAbiTags_28_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $3); + HEAP32[$1 + 8 >> 2] = $2; + if (($2 | 0) == ($3 | 0)) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($0 + 148 | 0, $1 + 8 | 0); + $3 = $2; + break label$1; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + $0 = $0 + 148 | 0; + if ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___empty_28_29_20const($0)) { + break label$1; + } + $3 = HEAP32[$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___operator_5b_5d_28unsigned_20long_29($0, 0) >> 2]; + break label$1; + } + HEAP32[$1 + 4 >> 2] = 0; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSeqId_28unsigned_20long__29($0, $1 + 4 | 0)) { + break label$1; + } + $2 = HEAP32[$1 + 4 >> 2]; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$1; + } + $0 = $0 + 148 | 0; + $2 = $2 + 1 | 0; + if ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($0) >>> 0 <= $2 >>> 0) { + break label$1; + } + $3 = HEAP32[$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___operator_5b_5d_28unsigned_20long_29($0, $2) >> 2]; + } + __stack_pointer = $1 + 16 | 0; + return $3; +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_floating_point_long_20double__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20double__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0; + $6 = __stack_pointer - 288 | 0; + __stack_pointer = $6; + HEAP32[$6 + 272 >> 2] = $2; + HEAP32[$6 + 280 >> 2] = $1; + std____2____num_get_char_____stage2_float_prep_28std____2__ios_base__2c_20char__2c_20char__2c_20char__29($6 + 224 | 0, $3, $6 + 240 | 0, $6 + 239 | 0, $6 + 238 | 0); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 208 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$6 + 204 >> 2] = $1; + HEAP32[$6 + 28 >> 2] = $6 + 32; + HEAP32[$6 + 24 >> 2] = 0; + HEAP8[$6 + 23 | 0] = 1; + HEAP8[$6 + 22 | 0] = 69; + while (1) { + label$2: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($6 + 280 | 0, $6 + 272 | 0)) { + break label$2; + } + if (HEAP32[$6 + 204 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) + $1 | 0)) { + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$6 + 204 >> 2] = $3 + $1; + } + if (std____2____num_get_char_____stage2_float_loop_28char_2c_20bool__2c_20char__2c_20char__2c_20char___2c_20char_2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20unsigned_20int__2c_20char__29(std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($6 + 280 | 0), $6 + 23 | 0, $6 + 22 | 0, $1, $6 + 204 | 0, HEAP8[$6 + 239 | 0], HEAP8[$6 + 238 | 0], $6 + 224 | 0, $6 + 32 | 0, $6 + 28 | 0, $6 + 24 | 0, $6 + 240 | 0)) { + break label$2; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($6 + 280 | 0); + continue; } - case 0: - { - i7 = ___cxa_allocate_exception(16) | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - HEAP32[i4 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i4, 25746, __ZNSt3__211char_traitsIcE6lengthEPKc(25746) | 0); - __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE(i7, i4); - ___cxa_throw(i7 | 0, 11016, 5); - } - default: - { - i7 = ___cxa_allocate_exception(16) | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - HEAP32[i4 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i4, 25765, __ZNSt3__211char_traitsIcE6lengthEPKc(25765) | 0); - __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE(i7, i4); - ___cxa_throw(i7 | 0, 11016, 5); - } - } - STACKTOP = i5; - return; -} - -function __ZN6vision18HammingDistance768EPKjS1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = __ZN6vision17HammingDistance32Ejj(HEAP32[i1 >> 2] | 0, HEAP32[i2 >> 2] | 0) | 0; - i3 = (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 4 >> 2] | 0, HEAP32[i2 + 4 >> 2] | 0) | 0) + i3 | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 8 >> 2] | 0, HEAP32[i2 + 8 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 12 >> 2] | 0, HEAP32[i2 + 12 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 16 >> 2] | 0, HEAP32[i2 + 16 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 20 >> 2] | 0, HEAP32[i2 + 20 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 24 >> 2] | 0, HEAP32[i2 + 24 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 28 >> 2] | 0, HEAP32[i2 + 28 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 32 >> 2] | 0, HEAP32[i2 + 32 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 36 >> 2] | 0, HEAP32[i2 + 36 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 40 >> 2] | 0, HEAP32[i2 + 40 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 44 >> 2] | 0, HEAP32[i2 + 44 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 48 >> 2] | 0, HEAP32[i2 + 48 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 52 >> 2] | 0, HEAP32[i2 + 52 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 56 >> 2] | 0, HEAP32[i2 + 56 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 60 >> 2] | 0, HEAP32[i2 + 60 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 64 >> 2] | 0, HEAP32[i2 + 64 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 68 >> 2] | 0, HEAP32[i2 + 68 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 72 >> 2] | 0, HEAP32[i2 + 72 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 76 >> 2] | 0, HEAP32[i2 + 76 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 80 >> 2] | 0, HEAP32[i2 + 80 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 84 >> 2] | 0, HEAP32[i2 + 84 >> 2] | 0) | 0) | 0; - i3 = i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 88 >> 2] | 0, HEAP32[i2 + 88 >> 2] | 0) | 0) | 0; - return i3 + (__ZN6vision17HammingDistance32Ejj(HEAP32[i1 + 92 >> 2] | 0, HEAP32[i2 + 92 >> 2] | 0) | 0) | 0; -} - -function __ZNSt3__29__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw(i4, i6, i11, i7, i12, i2, i3, i8, i13, i14, i10, i5) { - i4 = i4 | 0; - i6 = i6 | 0; - i11 = i11 | 0; - i7 = i7 | 0; - i12 = i12 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i8 = i8 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i10 = i10 | 0; - i5 = i5 | 0; - var i1 = 0, i9 = 0; - L1 : do if ((i4 | 0) == (i2 | 0)) if (HEAP8[i6 >> 0] | 0) { - HEAP8[i6 >> 0] = 0; - i11 = HEAP32[i12 >> 2] | 0; - HEAP32[i12 >> 2] = i11 + 1; - HEAP8[i11 >> 0] = 46; - i12 = HEAP8[i8 + 11 >> 0] | 0; - if (((i12 << 24 >> 24 < 0 ? HEAP32[i8 + 4 >> 2] | 0 : i12 & 255) | 0) != 0 ? (i1 = HEAP32[i14 >> 2] | 0, (i1 - i13 | 0) < 160) : 0) { - i13 = HEAP32[i10 >> 2] | 0; - HEAP32[i14 >> 2] = i1 + 4; - HEAP32[i1 >> 2] = i13; - i1 = 0; - } else i1 = 0; - } else i1 = -1; else { - if ((i4 | 0) == (i3 | 0) ? (i3 = HEAP8[i8 + 11 >> 0] | 0, (i3 << 24 >> 24 < 0 ? HEAP32[i8 + 4 >> 2] | 0 : i3 & 255) | 0) : 0) { - if (!(HEAP8[i6 >> 0] | 0)) { - i1 = -1; - break; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 224 | 0) | !HEAPU8[$6 + 23 | 0]) { + break label$4; + } + $3 = HEAP32[$6 + 28 >> 2]; + if (($3 - ($6 + 32 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 28 >> 2] = $3 + 4; + HEAP32[$3 >> 2] = HEAP32[$6 + 24 >> 2]; + } + long_20double_20std____2____num_get_float_long_20double__28char_20const__2c_20char_20const__2c_20unsigned_20int__29($6, $1, HEAP32[$6 + 204 >> 2], $4); + $1 = HEAP32[$6 >> 2]; + $7 = $1; + $0 = HEAP32[$6 + 4 >> 2]; + $3 = $0; + $1 = HEAP32[$6 + 12 >> 2]; + $0 = HEAP32[$6 + 8 >> 2]; + $8 = $0; + $0 = $5; + HEAP32[$0 + 8 >> 2] = $8; + HEAP32[$0 + 12 >> 2] = $1; + HEAP32[$0 >> 2] = $7; + $1 = $3; + HEAP32[$0 + 4 >> 2] = $1; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 224 | 0, $6 + 32 | 0, HEAP32[$6 + 28 >> 2], $4); + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($6 + 280 | 0, $6 + 272 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $1 = HEAP32[$6 + 280 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 224 | 0); + __stack_pointer = $6 + 288 | 0; + return $1; +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_signed_long_20long__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20long__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 352 | 0; + __stack_pointer = $6; + HEAP32[$6 + 336 >> 2] = $2; + HEAP32[$6 + 344 >> 2] = $1; + $1 = std____2____num_get_base____get_base_28std____2__ios_base__29($3); + $0 = std____2____num_get_wchar_t_____do_widen_28std____2__ios_base__2c_20wchar_t__29_20const($0, $3, $6 + 224 | 0); + std____2____num_get_wchar_t_____stage2_int_prep_28std____2__ios_base__2c_20wchar_t__29($6 + 208 | 0, $3, $6 + 332 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $6 + 16; + HEAP32[$6 + 8 >> 2] = 0; + while (1) { + label$2: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($6 + 344 | 0, $6 + 336 | 0)) { + break label$2; } - i1 = HEAP32[i14 >> 2] | 0; - if ((i1 - i13 | 0) >= 160) { - i1 = 0; - break; + if (HEAP32[$6 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) + $2 | 0)) { + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $7 + $2; } - i13 = HEAP32[i10 >> 2] | 0; - HEAP32[i14 >> 2] = i1 + 4; - HEAP32[i1 >> 2] = i13; - HEAP32[i10 >> 2] = 0; - i1 = 0; - break; + if (std____2____num_get_wchar_t_____stage2_int_loop_28wchar_t_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20wchar_t_20const__29(std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($6 + 344 | 0), $1, $2, $6 + 188 | 0, $6 + 8 | 0, HEAP32[$6 + 332 >> 2], $6 + 208 | 0, $6 + 16 | 0, $6 + 12 | 0, $0)) { + break label$2; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($6 + 344 | 0); + continue; } - i3 = i5 + 128 | 0; - i2 = 0; - while (1) { - i1 = i5 + (i2 << 2) | 0; - if ((i2 | 0) == 32) { - i1 = i3; - break; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 208 | 0)) { + break label$4; + } + $0 = HEAP32[$6 + 12 >> 2]; + if (($0 - ($6 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 12 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = HEAP32[$6 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = long_20long_20std____2____num_get_signed_integral_long_20long__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($2, HEAP32[$6 + 188 >> 2], $4, $1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + HEAP32[$5 + 4 >> 2] = i64toi32_i32$HIGH_BITS; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 208 | 0, $6 + 16 | 0, HEAP32[$6 + 12 >> 2], $4); + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($6 + 344 | 0, $6 + 336 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $2 = HEAP32[$6 + 344 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 208 | 0); + __stack_pointer = $6 + 352 | 0; + return $2; +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_unsigned_unsigned_20short__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20short__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 352 | 0; + __stack_pointer = $6; + HEAP32[$6 + 336 >> 2] = $2; + HEAP32[$6 + 344 >> 2] = $1; + $1 = std____2____num_get_base____get_base_28std____2__ios_base__29($3); + $0 = std____2____num_get_wchar_t_____do_widen_28std____2__ios_base__2c_20wchar_t__29_20const($0, $3, $6 + 224 | 0); + std____2____num_get_wchar_t_____stage2_int_prep_28std____2__ios_base__2c_20wchar_t__29($6 + 208 | 0, $3, $6 + 332 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $6 + 16; + HEAP32[$6 + 8 >> 2] = 0; + while (1) { + label$2: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($6 + 344 | 0, $6 + 336 | 0)) { + break label$2; + } + if (HEAP32[$6 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) + $2 | 0)) { + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $7 + $2; + } + if (std____2____num_get_wchar_t_____stage2_int_loop_28wchar_t_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20wchar_t_20const__29(std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($6 + 344 | 0), $1, $2, $6 + 188 | 0, $6 + 8 | 0, HEAP32[$6 + 332 >> 2], $6 + 208 | 0, $6 + 16 | 0, $6 + 12 | 0, $0)) { + break label$2; } - if ((HEAP32[i1 >> 2] | 0) == (i4 | 0)) break; else i2 = i2 + 1 | 0; + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($6 + 344 | 0); + continue; } - i2 = i1 - i5 | 0; - if ((i2 | 0) <= 124) { - i3 = HEAP8[10736 + (i2 >> 2) >> 0] | 0; - i5 = i2 + -88 | 0; - switch (i5 >>> 2 | i5 << 30 | 0) { - case 2: - case 3: - { - i1 = HEAP32[i12 >> 2] | 0; - if ((i1 | 0) != (i7 | 0) ? (HEAP8[i1 + -1 >> 0] & 95) != (HEAP8[i11 >> 0] & 127) : 0) { - i1 = -1; - break L1; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 208 | 0)) { + break label$4; + } + $0 = HEAP32[$6 + 12 >> 2]; + if (($0 - ($6 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 12 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = HEAP32[$6 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = unsigned_20short_20std____2____num_get_unsigned_integral_unsigned_20short__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($2, HEAP32[$6 + 188 >> 2], $4, $1), + HEAP16[wasm2js_i32$0 >> 1] = wasm2js_i32$1; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 208 | 0, $6 + 16 | 0, HEAP32[$6 + 12 >> 2], $4); + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($6 + 344 | 0, $6 + 336 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $2 = HEAP32[$6 + 344 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 208 | 0); + __stack_pointer = $6 + 352 | 0; + return $2; +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____20std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____find_int__28int_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $4 = std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____hash_function_28_29($0), $1); + label$1: { + label$2: { + $5 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____bucket_count_28_29_20const($0); + if (!$5) { + break label$2; + } + $6 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($4, $5); + $2 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $6) >> 2]; + if (!$2) { + break label$2; + } + while (1) { + $2 = HEAP32[$2 >> 2]; + if (!$2) { + break label$2; + } + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const($2) | 0) != ($4 | 0)) { + if ((std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const($2), $5) | 0) != ($6 | 0)) { + break label$2; } - HEAP32[i12 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i3; - i1 = 0; - break L1; } - case 1: - case 0: - { - HEAP8[i11 >> 0] = 80; - break; + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const($2) | 0) != ($4 | 0)) { + continue; } - default: - { - i1 = i3 & 95; - if ((((i1 | 0) == (HEAP8[i11 >> 0] | 0) ? (HEAP8[i11 >> 0] = i1 | 128, HEAP8[i6 >> 0] | 0) : 0) ? (HEAP8[i6 >> 0] = 0, i11 = HEAP8[i8 + 11 >> 0] | 0, (i11 << 24 >> 24 < 0 ? HEAP32[i8 + 4 >> 2] | 0 : i11 & 255) | 0) : 0) ? (i9 = HEAP32[i14 >> 2] | 0, (i9 - i13 | 0) < 160) : 0) { - i13 = HEAP32[i10 >> 2] | 0; - HEAP32[i14 >> 2] = i9 + 4; - HEAP32[i9 >> 2] = i13; - } - } - } - i14 = HEAP32[i12 >> 2] | 0; - HEAP32[i12 >> 2] = i14 + 1; - HEAP8[i14 >> 0] = i3; - if ((i2 | 0) > 84) i1 = 0; else { - HEAP32[i10 >> 2] = (HEAP32[i10 >> 2] | 0) + 1; - i1 = 0; - } - } else i1 = -1; - } while (0); - return i1 | 0; -} - -function __ZN6vision19FindHoughSimilarityERNS_21HoughSimilarityVotingERKNSt3__26vectorINS_12FeaturePointENS2_9allocatorIS4_EEEES9_RKNS3_INS_7match_tENS5_ISA_EEEEiiii(i7, i1, i2, i12, i13, i14, i15, i16) { - i7 = i7 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, d24 = 0.0, d25 = 0.0; - i19 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i17 = i19 + 20 | 0; - i18 = i19 + 8 | 0; - i8 = i19 + 4 | 0; - i9 = i19; - i10 = i12 + 4 | 0; - __ZNSt3__26vectorIfNS_9allocatorIfEEEC2Em(i17, (HEAP32[i10 >> 2] | 0) - (HEAP32[i12 >> 2] | 0) >> 1); - __ZNSt3__26vectorIfNS_9allocatorIfEEEC2Em(i18, (HEAP32[i10 >> 2] | 0) - (HEAP32[i12 >> 2] | 0) >> 1); - i6 = HEAP32[i12 >> 2] | 0; - i11 = (HEAP32[i10 >> 2] | 0) - i6 >> 3; - i5 = HEAP32[i1 >> 2] | 0; - i2 = HEAP32[i2 >> 2] | 0; - i3 = HEAP32[i17 >> 2] | 0; - i4 = HEAP32[i18 >> 2] | 0; - i1 = 0; + if (!std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20arController__20const__2c_20int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____key_eq_28_29($0), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________upcast_28_29($2) + 8 | 0, $1)) { + continue; + } + break; + } + $2 = HEAP32[std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______29($3 + 8 | 0, $2) >> 2]; + break label$1; + } + $2 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____end_28_29($0); + HEAP32[$3 + 8 >> 2] = $2; + } + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_unsigned_unsigned_20long__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 352 | 0; + __stack_pointer = $6; + HEAP32[$6 + 336 >> 2] = $2; + HEAP32[$6 + 344 >> 2] = $1; + $1 = std____2____num_get_base____get_base_28std____2__ios_base__29($3); + $0 = std____2____num_get_wchar_t_____do_widen_28std____2__ios_base__2c_20wchar_t__29_20const($0, $3, $6 + 224 | 0); + std____2____num_get_wchar_t_____stage2_int_prep_28std____2__ios_base__2c_20wchar_t__29($6 + 208 | 0, $3, $6 + 332 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $6 + 16; + HEAP32[$6 + 8 >> 2] = 0; while (1) { - if ((i1 | 0) == (i11 | 0)) break; - i23 = HEAP32[i6 + (i1 << 3) >> 2] | 0; - i21 = HEAP32[i6 + (i1 << 3) + 4 >> 2] | 0; - i20 = i1 << 2; - i22 = i3 + (i20 << 2) | 0; - HEAP32[i22 >> 2] = HEAP32[i5 + (i23 * 20 | 0) >> 2]; - HEAP32[i22 + 4 >> 2] = HEAP32[i5 + (i23 * 20 | 0) + 4 >> 2]; - HEAP32[i22 + 8 >> 2] = HEAP32[i5 + (i23 * 20 | 0) + 8 >> 2]; - HEAP32[i22 + 12 >> 2] = HEAP32[i5 + (i23 * 20 | 0) + 12 >> 2]; - i20 = i4 + (i20 << 2) | 0; - HEAP32[i20 >> 2] = HEAP32[i2 + (i21 * 20 | 0) >> 2]; - HEAP32[i20 + 4 >> 2] = HEAP32[i2 + (i21 * 20 | 0) + 4 >> 2]; - HEAP32[i20 + 8 >> 2] = HEAP32[i2 + (i21 * 20 | 0) + 8 >> 2]; - HEAP32[i20 + 12 >> 2] = HEAP32[i2 + (i21 * 20 | 0) + 12 >> 2]; - i1 = i1 + 1 | 0; - } - d25 = +(i13 | 0); - d25 = d25 * .20000000298023224 + d25; - d24 = +(i14 | 0); - d24 = d24 * .20000000298023224 + d24; - __ZN6vision21HoughSimilarityVoting4initEffffiiii(i7, -d25, d25, -d24, d24, 0, 0, 12, 10); - __ZN6vision21HoughSimilarityVoting26setObjectCenterInReferenceEff(i7, +(i15 >> 1 | 0), +(i16 >> 1 | 0)); - __ZN6vision21HoughSimilarityVoting21setRefImageDimensionsEii(i7, i15, i16); - __ZN6vision21HoughSimilarityVoting4voteEPKfS2_i(i7, HEAP32[i17 >> 2] | 0, HEAP32[i18 >> 2] | 0, (HEAP32[i10 >> 2] | 0) - (HEAP32[i12 >> 2] | 0) >> 3); - __ZNK6vision21HoughSimilarityVoting23getMaximumNumberOfVotesERfRi(i7, i8, i9); - i23 = +HEAPF32[i8 >> 2] < 3.0 ? -1 : HEAP32[i9 >> 2] | 0; - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev(i18); - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev(i17); - STACKTOP = i19; - return i23 | 0; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEce(i1, i21, i22, i23, d8) { - i1 = i1 | 0; - i21 = i21 | 0; - i22 = i22 | 0; - i23 = i23 | 0; - d8 = +d8; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i24 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 176 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(176); - i13 = i17 + 168 | 0; - i7 = i17 + 144 | 0; - i6 = i17 + 128 | 0; - i3 = i17 + 120 | 0; - i2 = i17 + 104 | 0; - i5 = i17 + 96 | 0; - i10 = i17 + 64 | 0; - i9 = i17 + 164 | 0; - i11 = i17; - i16 = i17 + 160 | 0; - i14 = i17 + 156 | 0; - i15 = i17 + 152 | 0; - i4 = i5; - HEAP32[i4 >> 2] = 37; - HEAP32[i4 + 4 >> 2] = 0; - i4 = __ZNSt3__214__num_put_base14__format_floatEPcPKcj(i5 + 1 | 0, 47008, HEAP32[i22 + 4 >> 2] | 0) | 0; - HEAP32[i9 >> 2] = i10; - i1 = __ZNSt3__26__clocEv() | 0; - if (i4) { - HEAP32[i2 >> 2] = HEAP32[i22 + 8 >> 2]; - HEAPF64[i2 + 8 >> 3] = d8; - i1 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i10, 30, i1, i5, i2) | 0; - } else { - HEAPF64[i3 >> 3] = d8; - i1 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i10, 30, i1, i5, i3) | 0; - } - if ((i1 | 0) > 29) { - i1 = __ZNSt3__26__clocEv() | 0; - if (i4) { - HEAP32[i6 >> 2] = HEAP32[i22 + 8 >> 2]; - HEAPF64[i6 + 8 >> 3] = d8; - i2 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz(i9, i1, i5, i6) | 0; - } else { - HEAPF64[i7 >> 3] = d8; - i2 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz(i9, i1, i5, i7) | 0; - } - i1 = HEAP32[i9 >> 2] | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i12 = i2; - i20 = i1; - i24 = i1; - } - } else { - i12 = i1; - i20 = 0; - i24 = HEAP32[i9 >> 2] | 0; - } - i2 = i24 + i12 | 0; - i3 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i24, i2, i22) | 0; - if ((i24 | 0) != (i10 | 0)) { - i1 = _malloc(i12 << 1) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i18 = i1; - i19 = i1; - } - } else { - i18 = i11; - i19 = 0; - } - __ZNKSt3__28ios_base6getlocEv(i13, i22); - __ZNSt3__29__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE(i24, i3, i2, i18, i16, i14, i13); - __ZNSt3__26localeD2Ev(i13); - HEAP32[i15 >> 2] = HEAP32[i21 >> 2]; - i21 = HEAP32[i16 >> 2] | 0; - i24 = HEAP32[i14 >> 2] | 0; - HEAP32[i13 >> 2] = HEAP32[i15 >> 2]; - i24 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i13, i18, i21, i24, i22, i23) | 0; - _free(i19); - _free(i20); - STACKTOP = i17; - return i24 | 0; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcd(i1, i21, i22, i23, d8) { - i1 = i1 | 0; - i21 = i21 | 0; - i22 = i22 | 0; - i23 = i23 | 0; - d8 = +d8; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i24 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 176 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(176); - i13 = i17 + 168 | 0; - i7 = i17 + 144 | 0; - i6 = i17 + 128 | 0; - i3 = i17 + 120 | 0; - i2 = i17 + 104 | 0; - i5 = i17 + 96 | 0; - i10 = i17 + 64 | 0; - i9 = i17 + 164 | 0; - i11 = i17; - i16 = i17 + 160 | 0; - i14 = i17 + 156 | 0; - i15 = i17 + 152 | 0; - i4 = i5; - HEAP32[i4 >> 2] = 37; - HEAP32[i4 + 4 >> 2] = 0; - i4 = __ZNSt3__214__num_put_base14__format_floatEPcPKcj(i5 + 1 | 0, 58366, HEAP32[i22 + 4 >> 2] | 0) | 0; - HEAP32[i9 >> 2] = i10; - i1 = __ZNSt3__26__clocEv() | 0; - if (i4) { - HEAP32[i2 >> 2] = HEAP32[i22 + 8 >> 2]; - HEAPF64[i2 + 8 >> 3] = d8; - i1 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i10, 30, i1, i5, i2) | 0; - } else { - HEAPF64[i3 >> 3] = d8; - i1 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i10, 30, i1, i5, i3) | 0; - } - if ((i1 | 0) > 29) { - i1 = __ZNSt3__26__clocEv() | 0; - if (i4) { - HEAP32[i6 >> 2] = HEAP32[i22 + 8 >> 2]; - HEAPF64[i6 + 8 >> 3] = d8; - i2 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz(i9, i1, i5, i6) | 0; - } else { - HEAPF64[i7 >> 3] = d8; - i2 = __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz(i9, i1, i5, i7) | 0; - } - i1 = HEAP32[i9 >> 2] | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i12 = i2; - i20 = i1; - i24 = i1; + label$2: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($6 + 344 | 0, $6 + 336 | 0)) { + break label$2; + } + if (HEAP32[$6 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) + $2 | 0)) { + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $7 + $2; + } + if (std____2____num_get_wchar_t_____stage2_int_loop_28wchar_t_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20wchar_t_20const__29(std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($6 + 344 | 0), $1, $2, $6 + 188 | 0, $6 + 8 | 0, HEAP32[$6 + 332 >> 2], $6 + 208 | 0, $6 + 16 | 0, $6 + 12 | 0, $0)) { + break label$2; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($6 + 344 | 0); + continue; } - } else { - i12 = i1; - i20 = 0; - i24 = HEAP32[i9 >> 2] | 0; - } - i2 = i24 + i12 | 0; - i3 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i24, i2, i22) | 0; - if ((i24 | 0) != (i10 | 0)) { - i1 = _malloc(i12 << 1) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); else { - i18 = i1; - i19 = i1; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 208 | 0)) { + break label$4; + } + $0 = HEAP32[$6 + 12 >> 2]; + if (($0 - ($6 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 12 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = HEAP32[$6 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = unsigned_20long_20std____2____num_get_unsigned_integral_unsigned_20long__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($2, HEAP32[$6 + 188 >> 2], $4, $1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 208 | 0, $6 + 16 | 0, HEAP32[$6 + 12 >> 2], $4); + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($6 + 344 | 0, $6 + 336 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $2 = HEAP32[$6 + 344 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 208 | 0); + __stack_pointer = $6 + 352 | 0; + return $2; +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_unsigned_unsigned_20int__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20int__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 352 | 0; + __stack_pointer = $6; + HEAP32[$6 + 336 >> 2] = $2; + HEAP32[$6 + 344 >> 2] = $1; + $1 = std____2____num_get_base____get_base_28std____2__ios_base__29($3); + $0 = std____2____num_get_wchar_t_____do_widen_28std____2__ios_base__2c_20wchar_t__29_20const($0, $3, $6 + 224 | 0); + std____2____num_get_wchar_t_____stage2_int_prep_28std____2__ios_base__2c_20wchar_t__29($6 + 208 | 0, $3, $6 + 332 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $6 + 16; + HEAP32[$6 + 8 >> 2] = 0; + while (1) { + label$2: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($6 + 344 | 0, $6 + 336 | 0)) { + break label$2; + } + if (HEAP32[$6 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) + $2 | 0)) { + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $7 + $2; + } + if (std____2____num_get_wchar_t_____stage2_int_loop_28wchar_t_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20wchar_t_20const__29(std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($6 + 344 | 0), $1, $2, $6 + 188 | 0, $6 + 8 | 0, HEAP32[$6 + 332 >> 2], $6 + 208 | 0, $6 + 16 | 0, $6 + 12 | 0, $0)) { + break label$2; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($6 + 344 | 0); + continue; } - } else { - i18 = i11; - i19 = 0; - } - __ZNKSt3__28ios_base6getlocEv(i13, i22); - __ZNSt3__29__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE(i24, i3, i2, i18, i16, i14, i13); - __ZNSt3__26localeD2Ev(i13); - HEAP32[i15 >> 2] = HEAP32[i21 >> 2]; - i21 = HEAP32[i16 >> 2] | 0; - i24 = HEAP32[i14 >> 2] | 0; - HEAP32[i13 >> 2] = HEAP32[i15 >> 2]; - i24 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i13, i18, i21, i24, i22, i23) | 0; - _free(i19); - _free(i20); - STACKTOP = i17; - return i24 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_118parse_alignof_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i6 = i11 + 36 | 0; - i8 = i11 + 24 | 0; - i9 = i11 + 12 | 0; - i10 = i11; - if (((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 97 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 122 : 0) ? (i12 = i1 + 2 | 0, i7 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i12, i2, i3) | 0, (i7 | 0) != (i12 | 0)) : 0) ? (i5 = i3 + 4 | 0, i4 = HEAP32[i5 >> 2] | 0, (HEAP32[i3 >> 2] | 0) != (i4 | 0)) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i10, i4 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i10, 0, 50848) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i9, 49667) | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i5 >> 2] | 0; - i2 = i1 + -24 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i12 = HEAP32[i2 >> 2] | 0; - HEAP8[i6 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i12, i6); - HEAP32[i1 + -20 >> 2] = 0; - } else { - HEAP8[i6 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i6); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i8 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i8 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i8 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - i1 = i7; - } - STACKTOP = i11; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_118parse_alignof_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i6 = i11 + 36 | 0; - i8 = i11 + 24 | 0; - i9 = i11 + 12 | 0; - i10 = i11; - if (((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 97 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 116 : 0) ? (i12 = i1 + 2 | 0, i7 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i12, i2, i3) | 0, (i7 | 0) != (i12 | 0)) : 0) ? (i5 = i3 + 4 | 0, i4 = HEAP32[i5 >> 2] | 0, (HEAP32[i3 >> 2] | 0) != (i4 | 0)) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i10, i4 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i10, 0, 50848) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i9, 49667) | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i5 >> 2] | 0; - i2 = i1 + -24 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i12 = HEAP32[i2 >> 2] | 0; - HEAP8[i6 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i12, i6); - HEAP32[i1 + -20 >> 2] = 0; - } else { - HEAP8[i6 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i6); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i8 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i8 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i8 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - i1 = i7; - } - STACKTOP = i11; - return i1 | 0; -} - -function _consume_data(i22) { - i22 = i22 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i23 = 0, i24 = 0; - i24 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i19 = i24; - i20 = HEAP32[i22 + 428 >> 2] | 0; - i21 = i22 + 328 | 0; - i2 = i22 + 4 | 0; - i23 = i22 + 148 | 0; - i1 = 0; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 208 | 0)) { + break label$4; + } + $0 = HEAP32[$6 + 12 >> 2]; + if (($0 - ($6 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 12 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = HEAP32[$6 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = unsigned_20int_20std____2____num_get_unsigned_integral_unsigned_20int__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($2, HEAP32[$6 + 188 >> 2], $4, $1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 208 | 0, $6 + 16 | 0, HEAP32[$6 + 12 >> 2], $4); + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($6 + 344 | 0, $6 + 336 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $2 = HEAP32[$6 + 344 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 208 | 0); + __stack_pointer = $6 + 352 | 0; + return $2; +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_unsigned_unsigned_20long_20long__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long_20long__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 272 | 0; + __stack_pointer = $6; + HEAP32[$6 + 256 >> 2] = $2; + HEAP32[$6 + 264 >> 2] = $1; + $1 = std____2____num_get_base____get_base_28std____2__ios_base__29($3); + $0 = std____2____num_get_char_____do_widen_28std____2__ios_base__2c_20char__29_20const($0, $3, $6 + 224 | 0); + std____2____num_get_char_____stage2_int_prep_28std____2__ios_base__2c_20char__29($6 + 208 | 0, $3, $6 + 255 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $6 + 16; + HEAP32[$6 + 8 >> 2] = 0; while (1) { - if ((i1 | 0) >= (HEAP32[i21 >> 2] | 0)) break; - i16 = HEAP32[i22 + 332 + (i1 << 2) >> 2] | 0; - i18 = HEAP32[i16 + 12 >> 2] | 0; - i17 = Math_imul(i18, HEAP32[i23 >> 2] | 0) | 0; - i18 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 32 >> 2] & 31](i22, HEAP32[i20 + 72 + (HEAP32[i16 + 4 >> 2] << 2) >> 2] | 0, i17, i18, 1) | 0; - HEAP32[i19 + (i1 << 2) >> 2] = i18; - i1 = i1 + 1 | 0; - } - i17 = i20 + 24 | 0; - i6 = i20 + 28 | 0; - i18 = i20 + 20 | 0; - i7 = i22 + 348 | 0; - i8 = i22 + 444 | 0; - i9 = i20 + 32 | 0; - i15 = HEAP32[i17 >> 2] | 0; - L5 : while (1) { - if ((i15 | 0) >= (HEAP32[i6 >> 2] | 0)) { - i2 = 21; - break; + label$2: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($6 + 264 | 0, $6 + 256 | 0)) { + break label$2; + } + if (HEAP32[$6 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) + $2 | 0)) { + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $7 + $2; + } + if (std____2____num_get_char_____stage2_int_loop_28char_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20char_20const__29(std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($6 + 264 | 0), $1, $2, $6 + 188 | 0, $6 + 8 | 0, HEAP8[$6 + 255 | 0], $6 + 208 | 0, $6 + 16 | 0, $6 + 12 | 0, $0)) { + break label$2; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($6 + 264 | 0); + continue; } - i16 = HEAP32[i18 >> 2] | 0; - while (1) { - if (i16 >>> 0 >= (HEAP32[i7 >> 2] | 0) >>> 0) break; - i10 = HEAP32[i21 >> 2] | 0; - i1 = 0; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i10 | 0)) break; - i13 = HEAP32[i22 + 332 + (i5 << 2) >> 2] | 0; - i11 = HEAP32[i13 + 52 >> 2] | 0; - i12 = Math_imul(i11, i16) | 0; - i13 = HEAP32[i13 + 56 >> 2] | 0; - i14 = i19 + (i5 << 2) | 0; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i13 | 0)) break; - i2 = (HEAP32[(HEAP32[i14 >> 2] | 0) + (i4 + i15 << 2) >> 2] | 0) + (i12 << 7) | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i11 | 0)) break; - HEAP32[i20 + 32 + (i1 << 2) >> 2] = i2; - i2 = i2 + 128 | 0; - i3 = i3 + 1 | 0; - i1 = i1 + 1 | 0; - } - i4 = i4 + 1 | 0; - } - i5 = i5 + 1 | 0; - } - if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 4 >> 2] & 63](i22, i9) | 0)) { - i2 = 18; - break L5; - } - i16 = i16 + 1 | 0; - } - HEAP32[i18 >> 2] = 0; - i15 = i15 + 1 | 0; - } - do if ((i2 | 0) == 18) { - HEAP32[i17 >> 2] = i15; - HEAP32[i18 >> 2] = i16; - i1 = 0; - } else if ((i2 | 0) == 21) { - i21 = (HEAP32[i23 >> 2] | 0) + 1 | 0; - HEAP32[i23 >> 2] = i21; - if (i21 >>> 0 < (HEAP32[i22 + 320 >> 2] | 0) >>> 0) { - _start_iMCU_row_28(i22); - i1 = 3; - break; - } else { - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i22 + 436 >> 2] | 0) + 12 >> 2] & 255](i22); - i1 = 4; - break; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 208 | 0)) { + break label$4; + } + $0 = HEAP32[$6 + 12 >> 2]; + if (($0 - ($6 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 12 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = HEAP32[$6 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = unsigned_20long_20long_20std____2____num_get_unsigned_integral_unsigned_20long_20long__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($2, HEAP32[$6 + 188 >> 2], $4, $1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + HEAP32[$5 + 4 >> 2] = i64toi32_i32$HIGH_BITS; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 208 | 0, $6 + 16 | 0, HEAP32[$6 + 12 >> 2], $4); + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($6 + 264 | 0, $6 + 256 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $2 = HEAP32[$6 + 264 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 208 | 0); + __stack_pointer = $6 + 272 | 0; + return $2; +} + +function jpeg_idct_8x16($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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, $29 = 0, $30 = 0; + $23 = __stack_pointer - 512 | 0; + __stack_pointer = $23; + $30 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $23; + while (1) { + $6 = Math_imul(HEAP32[$1 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $9 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $14 = Math_imul($6 + $9 | 0, 11086); + $10 = Math_imul(HEAP32[$1 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $13 = Math_imul(HEAP32[$1 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $11 = $10 - $13 | 0; + $15 = Math_imul($11, 11363); + $16 = $15 + Math_imul($13, 20995) | 0; + $8 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $5 = Math_imul(HEAP32[$1 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $20 = Math_imul($5, 10703); + $21 = $8 + $20 | 0; + $17 = $16 + $21 | 0; + $7 = Math_imul(HEAP32[$1 + 224 >> 2], HEAP16[$2 + 112 >> 1]); + $25 = Math_imul($7 + $6 | 0, 8956); + $12 = Math_imul(HEAP32[$1 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $26 = $12 + $6 | 0; + $19 = Math_imul($26, 10217); + $22 = $25 + ($19 + (Math_imul($6, -18730) + $14 | 0) | 0) | 0; + HEAP32[$0 + 480 >> 2] = $17 - $22 >> 11; + HEAP32[$0 >> 2] = $17 + $22 >> 11; + $11 = Math_imul($11, 2260); + $17 = $11 + Math_imul($10, 7373) | 0; + $5 = Math_imul($5, 4433); + $22 = $8 + $5 | 0; + $27 = $17 + $22 | 0; + $28 = $7 + $9 | 0; + $29 = Math_imul($28, -5461); + $24 = Math_imul($9, 589) + $14 | 0; + $14 = Math_imul($9 + $12 | 0, 1136); + $24 = $29 + ($24 + $14 | 0) | 0; + HEAP32[$0 + 448 >> 2] = $27 - $24 >> 11; + HEAP32[$0 + 32 >> 2] = $27 + $24 >> 11; + $10 = Math_imul($10, -4926) + $15 | 0; + $15 = $8 - $5 | 0; + $5 = $10 + $15 | 0; + $19 = (Math_imul($12, -9222) + $14 | 0) + $19 | 0; + $14 = Math_imul($7 + $12 | 0, -11086); + $19 = $19 + $14 | 0; + HEAP32[$0 + 416 >> 2] = $5 - $19 >> 11; + HEAP32[$0 + 64 >> 2] = $5 + $19 >> 11; + $8 = $8 - $20 | 0; + $13 = Math_imul($13, -4176) + $11 | 0; + $11 = $8 + $13 | 0; + $5 = ((Math_imul($7, 8728) + $29 | 0) + $25 | 0) + $14 | 0; + HEAP32[$0 + 384 >> 2] = $11 - $5 >> 11; + HEAP32[$0 + 96 >> 2] = $5 + $11 >> 11; + $8 = $8 - $13 | 0; + $11 = Math_imul($6 - $7 | 0, 7350); + $13 = Math_imul($28, -10217); + $5 = $11 + ($13 + Math_imul($7, 25733) | 0) | 0; + $7 = Math_imul($7 - $12 | 0, 3363); + $5 = $5 + $7 | 0; + HEAP32[$0 + 352 >> 2] = $8 - $5 >> 11; + HEAP32[$0 + 128 >> 2] = $8 + $5 >> 11; + $8 = $15 - $10 | 0; + $10 = Math_imul($12 - $9 | 0, 11529); + $5 = $10 + Math_imul($12, -6278) | 0; + $12 = Math_imul($26, 5461); + $7 = ($5 + $12 | 0) + $7 | 0; + HEAP32[$0 + 320 >> 2] = $8 - $7 >> 11; + HEAP32[$0 + 160 >> 2] = $7 + $8 >> 11; + $7 = $22 - $17 | 0; + $8 = Math_imul($6 - $9 | 0, 3363); + $9 = (($8 + Math_imul($9, 16154) | 0) + $10 | 0) + $13 | 0; + HEAP32[$0 + 288 >> 2] = $7 - $9 >> 11; + HEAP32[$0 + 192 >> 2] = $7 + $9 >> 11; + $9 = $21 - $16 | 0; + $6 = ((Math_imul($6, -15038) + $8 | 0) + $12 | 0) + $11 | 0; + HEAP32[$0 + 256 >> 2] = $9 - $6 >> 11; + HEAP32[$0 + 224 >> 2] = $6 + $9 >> 11; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + $18 = $18 + 1 | 0; + if (($18 | 0) != 8) { + continue; } - } while (0); - STACKTOP = i24; - return i1 | 0; -} - -function _arParamIdeal2Observ(i7, d2, d6, i8, i9, i1) { - i7 = i7 | 0; - d2 = +d2; - d6 = +d6; - i8 = i8 | 0; - i9 = i9 | 0; - i1 = i1 | 0; - var d3 = 0.0, d4 = 0.0, i5 = 0, d10 = 0.0, d11 = 0.0, d12 = 0.0, d13 = 0.0, d14 = 0.0, d15 = 0.0; - L1 : do switch (i1 | 0) { - case 4: - { - d3 = +HEAPF64[i7 + 16 >> 3]; - d11 = +HEAPF64[i7 + 24 >> 3]; - d14 = +HEAPF64[i7 + 32 >> 3]; - d12 = +HEAPF64[i7 + 40 >> 3]; - d15 = +HEAPF64[i7 + 48 >> 3]; - d13 = +HEAPF64[i7 + 56 >> 3]; - d4 = +HEAPF64[i7 + 64 >> 3]; - d10 = (d2 - d15) * d4 / d14; - d6 = (d6 - d13) * d4 / d12; - d4 = d10 * d10 + d6 * d6; - d2 = +HEAPF64[i7 >> 3] * d4 + 1.0 + d4 * (+HEAPF64[i7 + 8 >> 3] * d4); - HEAPF64[i8 >> 3] = d15 + d14 * (d11 * (d4 + d10 * (d10 * 2.0)) + (d6 * (d3 * 2.0 * d10) + d10 * d2)); - d2 = d13 + d12 * (d6 * (d11 * 2.0 * d10) + (d3 * (d4 + d6 * (d6 * 2.0)) + d6 * d2)); - i5 = 12; - break; + break; + } + $2 = $30 - 384 | 0; + $0 = $23; + $9 = 0; + while (1) { + $6 = HEAP32[$0 + 4 >> 2]; + $12 = HEAP32[$0 + 28 >> 2]; + $8 = Math_imul($6 + $12 | 0, -7373); + $1 = HEAP32[($9 << 2) + $3 >> 2] + $4 | 0; + $5 = $8 + Math_imul($6, 12299) | 0; + $7 = HEAP32[$0 + 20 >> 2]; + $10 = $7 + $6 | 0; + $6 = HEAP32[$0 + 12 >> 2]; + $13 = $12 + $6 | 0; + $18 = Math_imul($10 + $13 | 0, 9633); + $10 = $18 + Math_imul($10, -3196) | 0; + $11 = $5 + $10 | 0; + $15 = HEAP32[$0 + 24 >> 2]; + $16 = HEAP32[$0 + 8 >> 2]; + $5 = Math_imul($15 + $16 | 0, 4433); + $16 = $5 + Math_imul($16, 6270) | 0; + $20 = HEAP32[$0 >> 2] + 16400 | 0; + $21 = HEAP32[$0 + 16 >> 2]; + $17 = $20 + $21 << 13; + $14 = $16 + $17 | 0; + HEAP8[$1 | 0] = HEAPU8[($11 + $14 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 7 | 0] = HEAPU8[($14 - $11 >>> 18 & 1023) + $2 | 0]; + $11 = Math_imul($6 + $7 | 0, -20995); + $14 = $11 + Math_imul($6, 25172) | 0; + $6 = Math_imul($13, -16069) + $18 | 0; + $13 = $14 + $6 | 0; + $18 = Math_imul($15, -15137) + $5 | 0; + $15 = $20 - $21 << 13; + $5 = $18 + $15 | 0; + HEAP8[$1 + 1 | 0] = HEAPU8[($13 + $5 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 6 | 0] = HEAPU8[($5 - $13 >>> 18 & 1023) + $2 | 0]; + $7 = (Math_imul($7, 16819) + $11 | 0) + $10 | 0; + $10 = $15 - $18 | 0; + HEAP8[$1 + 2 | 0] = HEAPU8[($7 + $10 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 5 | 0] = HEAPU8[($10 - $7 >>> 18 & 1023) + $2 | 0]; + $6 = (Math_imul($12, 2446) + $8 | 0) + $6 | 0; + $12 = $17 - $16 | 0; + HEAP8[$1 + 3 | 0] = HEAPU8[($6 + $12 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 4 | 0] = HEAPU8[($12 - $6 >>> 18 & 1023) + $2 | 0]; + $0 = $0 + 32 | 0; + $9 = $9 + 1 | 0; + if (($9 | 0) != 16) { + continue; } - case 3: - { - d4 = +HEAPF64[i7 >> 3]; - d15 = +HEAPF64[i7 + 16 >> 3]; - d3 = (d2 - d4) * d15; - i1 = i7 + 8 | 0; - d2 = d15 * (d6 - +HEAPF64[i1 >> 3]); - if (d3 == 0.0 & d2 == 0.0) { - HEAPF64[i8 >> 3] = d4; - d2 = +HEAPF64[i1 >> 3]; - i5 = 12; - break L1; - } else { - d15 = d3 * d3 + d2 * d2; - d15 = 1.0 - d15 * (+HEAPF64[i7 + 32 >> 3] / 1.0e8) - d15 * (d15 * (+HEAPF64[i7 + 40 >> 3] / 1.0e8 / 1.0e5)); - HEAPF64[i8 >> 3] = d4 + +HEAPF64[i7 + 24 >> 3] * (d3 * d15); - d2 = +HEAPF64[i1 >> 3] + d2 * d15; - i5 = 12; - break L1; + break; + } + __stack_pointer = $23 + 512 | 0; +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_signed_long__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 352 | 0; + __stack_pointer = $6; + HEAP32[$6 + 336 >> 2] = $2; + HEAP32[$6 + 344 >> 2] = $1; + $1 = std____2____num_get_base____get_base_28std____2__ios_base__29($3); + $0 = std____2____num_get_wchar_t_____do_widen_28std____2__ios_base__2c_20wchar_t__29_20const($0, $3, $6 + 224 | 0); + std____2____num_get_wchar_t_____stage2_int_prep_28std____2__ios_base__2c_20wchar_t__29($6 + 208 | 0, $3, $6 + 332 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $6 + 16; + HEAP32[$6 + 8 >> 2] = 0; + while (1) { + label$2: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($6 + 344 | 0, $6 + 336 | 0)) { + break label$2; } - } - case 2: - { - d4 = +HEAPF64[i7 >> 3]; - d15 = +HEAPF64[i7 + 16 >> 3]; - d3 = (d2 - d4) * d15; - i1 = i7 + 8 | 0; - d2 = d15 * (d6 - +HEAPF64[i1 >> 3]); - if (d3 == 0.0 & d2 == 0.0) { - HEAPF64[i8 >> 3] = d4; - d2 = +HEAPF64[i1 >> 3]; - i5 = 12; - break L1; - } else { - d15 = d3 * d3 + d2 * d2; - d15 = 1.0 - d15 * (+HEAPF64[i7 + 24 >> 3] / 1.0e8) - d15 * (d15 * (+HEAPF64[i7 + 32 >> 3] / 1.0e8 / 1.0e5)); - HEAPF64[i8 >> 3] = d4 + d3 * d15; - d2 = +HEAPF64[i1 >> 3] + d2 * d15; - i5 = 12; - break L1; + if (HEAP32[$6 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) + $2 | 0)) { + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $7 + $2; } + if (std____2____num_get_wchar_t_____stage2_int_loop_28wchar_t_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20wchar_t_20const__29(std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($6 + 344 | 0), $1, $2, $6 + 188 | 0, $6 + 8 | 0, HEAP32[$6 + 332 >> 2], $6 + 208 | 0, $6 + 16 | 0, $6 + 12 | 0, $0)) { + break label$2; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($6 + 344 | 0); + continue; } - case 1: - { - d4 = +HEAPF64[i7 >> 3]; - d15 = +HEAPF64[i7 + 16 >> 3]; - d3 = (d2 - d4) * d15; - i1 = i7 + 8 | 0; - d2 = d15 * (d6 - +HEAPF64[i1 >> 3]); - if (d3 == 0.0 & d2 == 0.0) { - HEAPF64[i8 >> 3] = d4; - d2 = +HEAPF64[i1 >> 3]; - i5 = 12; - break L1; - } else { - d15 = 1.0 - (d3 * d3 + d2 * d2) * (+HEAPF64[i7 + 24 >> 3] / 1.0e8); - HEAPF64[i8 >> 3] = d4 + d3 * d15; - d2 = +HEAPF64[i1 >> 3] + d2 * d15; - i5 = 12; - break L1; - } - } - default: - i1 = -1; - } while (0); - if ((i5 | 0) == 12) { - HEAPF64[i9 >> 3] = d2; - i1 = 0; - } - return i1 | 0; -} - -function _scanexp(i6, i4) { - i6 = i6 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = i6 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - i8 = i6 + 104 | 0; - if (i1 >>> 0 < (HEAP32[i8 >> 2] | 0) >>> 0) { - HEAP32[i7 >> 2] = i1 + 1; - i2 = HEAPU8[i1 >> 0] | 0; - } else i2 = ___shgetc(i6) | 0; - switch (i2 | 0) { - case 43: - case 45: - { - i3 = (i2 | 0) == 45 & 1; - i1 = HEAP32[i7 >> 2] | 0; - if (i1 >>> 0 < (HEAP32[i8 >> 2] | 0) >>> 0) { - HEAP32[i7 >> 2] = i1 + 1; - i1 = HEAPU8[i1 >> 0] | 0; - } else i1 = ___shgetc(i6) | 0; - i2 = i1 + -48 | 0; - if ((i4 | 0) != 0 & i2 >>> 0 > 9) if (!(HEAP32[i8 >> 2] | 0)) { - i2 = 0; - i1 = -2147483648; - } else { - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + -1; - i9 = 14; - } else i9 = 12; - break; - } - default: - { - i3 = 0; - i1 = i2; - i2 = i2 + -48 | 0; - i9 = 12; - } + break; } - if ((i9 | 0) == 12) if (i2 >>> 0 > 9) i9 = 14; else { - i2 = 0; - do { - i2 = i1 + -48 + (i2 * 10 | 0) | 0; - i1 = HEAP32[i7 >> 2] | 0; - if (i1 >>> 0 < (HEAP32[i8 >> 2] | 0) >>> 0) { - HEAP32[i7 >> 2] = i1 + 1; - i1 = HEAPU8[i1 >> 0] | 0; - } else i1 = ___shgetc(i6) | 0; - i4 = i1 + -48 | 0; - } while (i4 >>> 0 < 10 & (i2 | 0) < 214748364); - i5 = ((i2 | 0) < 0) << 31 >> 31; - if (i4 >>> 0 < 10) { - do { - i10 = ___muldi3(i2 | 0, i5 | 0, 10, 0) | 0; - i4 = getTempRet0() | 0; - i1 = _i64Add(i1 | 0, ((i1 | 0) < 0) << 31 >> 31 | 0, -48, -1) | 0; - i2 = _i64Add(i1 | 0, getTempRet0() | 0, i10 | 0, i4 | 0) | 0; - i5 = getTempRet0() | 0; - i1 = HEAP32[i7 >> 2] | 0; - if (i1 >>> 0 < (HEAP32[i8 >> 2] | 0) >>> 0) { - HEAP32[i7 >> 2] = i1 + 1; - i1 = HEAPU8[i1 >> 0] | 0; - } else i1 = ___shgetc(i6) | 0; - i4 = i1 + -48 | 0; - } while (i4 >>> 0 < 10 & ((i5 | 0) < 21474836 | (i5 | 0) == 21474836 & i2 >>> 0 < 2061584302)); - if (i4 >>> 0 < 10) { - do { - i1 = HEAP32[i7 >> 2] | 0; - if (i1 >>> 0 < (HEAP32[i8 >> 2] | 0) >>> 0) { - HEAP32[i7 >> 2] = i1 + 1; - i1 = HEAPU8[i1 >> 0] | 0; - } else i1 = ___shgetc(i6) | 0; - } while ((i1 + -48 | 0) >>> 0 < 10); - i1 = i5; - } else i1 = i5; - } else i1 = i5; - if (HEAP32[i8 >> 2] | 0) HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + -1; - i8 = (i3 | 0) == 0; - i7 = _i64Subtract(0, 0, i2 | 0, i1 | 0) | 0; - i10 = getTempRet0() | 0; - i2 = i8 ? i2 : i7; - i1 = i8 ? i1 : i10; - } - if ((i9 | 0) == 14) if (!(HEAP32[i8 >> 2] | 0)) { - i2 = 0; - i1 = -2147483648; - } else { - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + -1; - i2 = 0; - i1 = -2147483648; - } - setTempRet0(i1 | 0); - return i2 | 0; -} - -function _arPattGetIDGlobal(i8, i9, i14, i15, i16, i17, i18, i19, i20, d21, i10, i11, i12, i6, i2, i3, i4, i5, i7) { - i8 = i8 | 0; - i9 = i9 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - i17 = i17 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - i20 = i20 | 0; - d21 = +d21; - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i7 = i7 | 0; - var i1 = 0, i13 = 0, i22 = 0; - i22 = STACKTOP; - STACKTOP = STACKTOP + 12304 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(12304); - i13 = i22; - i1 = i22 + 12288 | 0; - do if ((i14 + -2 | 0) >>> 0 < 3) { - if ((i4 | 0) != 2830) { - i1 = i4 & 255; - if ((_arPattGetImage2(i9, 2, i1, i1 * 3 | 0, i15, i16, i17, i18, i19, i20, d21, i13) | 0) < 0) { - HEAP32[i6 >> 2] = -1; - i4 = -6; - break; + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 208 | 0)) { + break label$4; + } + $0 = HEAP32[$6 + 12 >> 2]; + if (($0 - ($6 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 12 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = HEAP32[$6 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = long_20std____2____num_get_signed_integral_long__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($2, HEAP32[$6 + 188 >> 2], $4, $1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 208 | 0, $6 + 16 | 0, HEAP32[$6 + 12 >> 2], $4); + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($6 + 344 | 0, $6 + 336 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $2 = HEAP32[$6 + 344 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 208 | 0); + __stack_pointer = $6 + 352 | 0; + return $2; +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_floating_point_float__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20float__29_20const($0, $1, $2, $3, $4, $5) { + var wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $0 = __stack_pointer - 368 | 0; + __stack_pointer = $0; + HEAP32[$0 + 352 >> 2] = $2; + HEAP32[$0 + 360 >> 2] = $1; + std____2____num_get_wchar_t_____stage2_float_prep_28std____2__ios_base__2c_20wchar_t__2c_20wchar_t__2c_20wchar_t__29($0 + 200 | 0, $3, $0 + 224 | 0, $0 + 220 | 0, $0 + 216 | 0); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0 + 184 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$0 + 180 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = $0 + 16; + HEAP32[$0 + 8 >> 2] = 0; + HEAP8[$0 + 7 | 0] = 1; + HEAP8[$0 + 6 | 0] = 69; + while (1) { + label$2: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($0 + 360 | 0, $0 + 352 | 0)) { + break label$2; } - i1 = _get_matrix_code(i13, i1, i6, i2, i3, i4, i5) | 0; - if (!i7) { - i4 = i1; - break; + if (HEAP32[$0 + 180 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) + $1 | 0)) { + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$0 + 180 >> 2] = $3 + $1; } - i4 = i7; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - i4 = i1; - break; + if (std____2____num_get_wchar_t_____stage2_float_loop_28wchar_t_2c_20bool__2c_20char__2c_20char__2c_20char___2c_20wchar_t_2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20unsigned_20int__2c_20wchar_t__29(std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0 + 360 | 0), $0 + 7 | 0, $0 + 6 | 0, $1, $0 + 180 | 0, HEAP32[$0 + 220 >> 2], HEAP32[$0 + 216 >> 2], $0 + 200 | 0, $0 + 16 | 0, $0 + 12 | 0, $0 + 8 | 0, $0 + 224 | 0)) { + break label$2; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0 + 360 | 0); + continue; } - if ((_arPattGetImage2(i9, 2, 14, 42, i15, i16, i17, i18, i19, i20, .875, i13) | 0) < 0) { - HEAP32[i6 >> 2] = -1; - i4 = -6; - break; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0 + 200 | 0) | !HEAPU8[$0 + 7 | 0]) { + break label$4; + } + $3 = HEAP32[$0 + 12 >> 2]; + if (($3 - ($0 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$0 + 12 >> 2] = $3 + 4; + HEAP32[$3 >> 2] = HEAP32[$0 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_f32$0 = float_20std____2____num_get_float_float__28char_20const__2c_20char_20const__2c_20unsigned_20int__29($1, HEAP32[$0 + 180 >> 2], $4), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($0 + 200 | 0, $0 + 16 | 0, HEAP32[$0 + 12 >> 2], $4); + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0 + 360 | 0, $0 + 352 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $1 = HEAP32[$0 + 360 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0 + 200 | 0); + __stack_pointer = $0 + 368 | 0; + return $1; +} + +function jpeg_idct_11x11($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $23 = __stack_pointer - 352 | 0; + __stack_pointer = $23; + $17 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $23; + while (1) { + $9 = HEAP32[$1 + 224 >> 2]; + $14 = HEAP16[$2 + 112 >> 1]; + $7 = HEAP32[$1 + 96 >> 2]; + $8 = HEAP16[$2 + 48 >> 1]; + $12 = HEAP32[$1 + 160 >> 2]; + $15 = HEAP16[$2 + 80 >> 1]; + $10 = HEAP32[$1 + 32 >> 2]; + $6 = HEAP16[$2 + 16 >> 1]; + $18 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $5 = Math_imul(HEAP32[$1 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $16 = Math_imul(HEAP32[$1 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $21 = $5 + $16 | 0; + $11 = Math_imul(HEAP32[$1 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $13 = $21 - $11 | 0; + HEAP32[$0 + 160 >> 2] = $18 + Math_imul($13, -11585) >> 11; + $7 = Math_imul($7, $8); + $10 = Math_imul($10, $6); + $6 = $7 + $10 | 0; + $19 = Math_imul($6, 7274); + $8 = Math_imul($12, $15); + $12 = Math_imul($10 + $8 | 0, 5492); + $13 = Math_imul($13, 11116) + $18 | 0; + $18 = $13 + Math_imul($11 - $5 | 0, 20862) | 0; + $22 = $18 + Math_imul($5, 17333) | 0; + $15 = $12 + (Math_imul($10, -7562) + $19 | 0) | 0; + $9 = Math_imul($9, $14); + $14 = Math_imul($9 + ($8 + $6 | 0) | 0, 3264); + $10 = $14 + Math_imul($9 + $10 | 0, 3e3) | 0; + $15 = $15 + $10 | 0; + HEAP32[$0 + 320 >> 2] = $22 - $15 >> 11; + HEAP32[$0 >> 2] = $15 + $22 >> 11; + $15 = Math_imul($21, -9467) + $13 | 0; + $5 = $15 + Math_imul($5, -6461) | 0; + $6 = Math_imul($8, -9766) + $12 | 0; + $12 = Math_imul($7 + $8 | 0, -9527) + $14 | 0; + $6 = $6 + $12 | 0; + HEAP32[$0 + 256 >> 2] = $5 - $6 >> 11; + HEAP32[$0 + 64 >> 2] = $5 + $6 >> 11; + $5 = Math_imul($11 - $16 | 0, 3529); + $13 = ($13 + $5 | 0) + Math_imul($16, -12399) | 0; + $6 = Math_imul($9 + $7 | 0, -14731); + $10 = ($6 + Math_imul($9, 17223) | 0) + $10 | 0; + HEAP32[$0 + 224 >> 2] = $13 - $10 >> 11; + HEAP32[$0 + 96 >> 2] = $10 + $13 >> 11; + $16 = (Math_imul($11, 15929) + Math_imul($16, -11395) | 0) + $15 | 0; + $8 = ((Math_imul($8, 8203) + Math_imul($7, -12019) | 0) + Math_imul($9, -13802) | 0) + $14 | 0; + HEAP32[$0 + 192 >> 2] = $16 - $8 >> 11; + HEAP32[$0 + 128 >> 2] = $8 + $16 >> 11; + $11 = (Math_imul($11, -14924) + $18 | 0) + $5 | 0; + $7 = ((Math_imul($7, 16984) + $19 | 0) + $6 | 0) + $12 | 0; + HEAP32[$0 + 288 >> 2] = $11 - $7 >> 11; + HEAP32[$0 + 32 >> 2] = $7 + $11 >> 11; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + $20 = $20 + 1 | 0; + if (($20 | 0) != 8) { + continue; } - i4 = _get_global_id_code(i13, i1, i2, i3, i5) | 0; - if ((i4 | 0) < 0) { - HEAP32[i6 >> 2] = -1; - break; + break; + } + $0 = $17 - 384 | 0; + $1 = $23; + $10 = 0; + while (1) { + $9 = HEAP32[$1 + 4 >> 2]; + $11 = HEAP32[$1 + 12 >> 2]; + $8 = $9 + $11 | 0; + $20 = Math_imul($8, 7274); + $7 = HEAP32[$1 + 20 >> 2]; + $12 = Math_imul($7 + $9 | 0, 5492); + $2 = HEAP32[($10 << 2) + $3 >> 2] + $4 | 0; + $5 = $7 + $8 | 0; + $8 = HEAP32[$1 + 28 >> 2]; + $13 = Math_imul($5 + $8 | 0, 3264); + $15 = $13 + Math_imul($9 + $8 | 0, 3e3) | 0; + $6 = $15 + ((Math_imul($9, -7562) + $20 | 0) + $12 | 0) | 0; + $22 = (HEAP32[$1 >> 2] << 13) + 134348800 | 0; + $5 = HEAP32[$1 + 24 >> 2]; + $16 = HEAP32[$1 + 8 >> 2]; + $21 = $5 + $16 | 0; + $9 = HEAP32[$1 + 16 >> 2]; + $18 = $21 - $9 | 0; + $14 = $22 + Math_imul($18, 11116) | 0; + $19 = $14 + Math_imul($9 - $5 | 0, 20862) | 0; + $17 = $19 + Math_imul($5, 17333) | 0; + HEAP8[$2 | 0] = HEAPU8[($6 + $17 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 10 | 0] = HEAPU8[($17 - $6 >>> 18 & 1023) + $0 | 0]; + $6 = Math_imul($7 + $11 | 0, -9527) + $13 | 0; + $17 = Math_imul($11, 16984) + $20 | 0; + $20 = Math_imul($8 + $11 | 0, -14731); + $17 = $6 + ($17 + $20 | 0) | 0; + $24 = Math_imul($9, -14924) + $19 | 0; + $19 = Math_imul($9 - $16 | 0, 3529); + $24 = $24 + $19 | 0; + HEAP8[$2 + 1 | 0] = HEAPU8[($17 + $24 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 9 | 0] = HEAPU8[($24 - $17 >>> 18 & 1023) + $0 | 0]; + $12 = (Math_imul($7, -9766) + $12 | 0) + $6 | 0; + $6 = Math_imul($21, -9467) + $14 | 0; + $5 = $6 + Math_imul($5, -6461) | 0; + HEAP8[$2 + 2 | 0] = HEAPU8[($12 + $5 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 8 | 0] = HEAPU8[($5 - $12 >>> 18 & 1023) + $0 | 0]; + $5 = (Math_imul($8, 17223) + $20 | 0) + $15 | 0; + $14 = ($14 + $19 | 0) + Math_imul($16, -12399) | 0; + HEAP8[$2 + 3 | 0] = HEAPU8[($5 + $14 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 7 | 0] = HEAPU8[($14 - $5 >>> 18 & 1023) + $0 | 0]; + $11 = ((Math_imul($7, 8203) + Math_imul($11, -12019) | 0) + Math_imul($8, -13802) | 0) + $13 | 0; + $7 = (Math_imul($9, 15929) + Math_imul($16, -11395) | 0) + $6 | 0; + HEAP8[$2 + 4 | 0] = HEAPU8[($11 + $7 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 6 | 0] = HEAPU8[($7 - $11 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 5 | 0] = HEAPU8[(Math_imul($18, 268423871) + $22 >>> 18 & 1023) + $0 | 0]; + $1 = $1 + 32 | 0; + $10 = $10 + 1 | 0; + if (($10 | 0) != 11) { + continue; } - i2 = i1; - i1 = HEAP32[i2 >> 2] | 0; - i2 = HEAP32[i2 + 4 >> 2] | 0; - if ((i1 | 0) == -1 & (i2 | 0) == -1) { - HEAP32[i6 >> 2] = -1; - i4 = -5; - break; + break; + } + __stack_pointer = $23 + 352 | 0; +} + +function ar2GetTransMatHomography2($0, $1, $2, $3, $4) { + var $5 = 0, $6 = Math_fround(0), $7 = 0, $8 = 0, $9 = Math_fround(0), $10 = Math_fround(0), $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = Math_fround(0), $16 = Math_fround(0), $17 = Math_fround(0), $18 = Math_fround(0), $19 = Math_fround(0), $20 = Math_fround(0), $21 = Math_fround(0), $22 = Math_fround(0), $23 = Math_fround(0), $24 = Math_fround(0), $25 = Math_fround(0), $26 = Math_fround(0); + $7 = __stack_pointer - 32 | 0; + __stack_pointer = $7; + $6 = Math_fround(1e8); + label$1: { + if (($3 | 0) < 4 | HEAPF32[$0 + 44 >> 2] == Math_fround(0)) { + break label$1; } - HEAP32[i6 >> 2] = (i1 & -32768 | 0) == 0 & 0 == 0 ? i1 & 32767 : 0; - if (i7) { - HEAP32[i7 >> 2] = i1; - HEAP32[i7 + 4 >> 2] = i2; - } - } else i4 = 1; while (0); - L21 : do switch (i14 | 0) { - case 0: - case 1: - case 3: - case 4: - { - if (!i8) { - HEAP32[i10 >> 2] = -1; - i1 = -1; - break L21; - } - i1 = i8 + 28 | 0; - i2 = HEAP32[i1 >> 2] | 0; - i3 = i2 << 2; - switch (i14 | 0) { - case 0: - case 3: - if ((_arPattGetImage2(i9, 0, i2, i3, i15, i16, i17, i18, i19, i20, d21, i13) | 0) < 0) { - HEAP32[i10 >> 2] = -1; - i1 = -6; - break L21; - } else { - i1 = _pattern_match(i8, 0, i13, HEAP32[i1 >> 2] | 0, i10, i11, i12) | 0; - break L21; - } - default: - if ((_arPattGetImage2(i9, 1, i2, i3, i15, i16, i17, i18, i19, i20, d21, i13) | 0) < 0) { - HEAP32[i10 >> 2] = -1; - i1 = -6; - break L21; + $11 = dlmalloc($3 << 6); + if (!$11) { + arLog(0, 3, 3386, 0); + $6 = Math_fround(-1); + break label$1; + } + $12 = dlmalloc($3 << 3); + if ($12) { + while (1) { + $5 = 0; + if (($13 | 0) == 3) { + $13 = $3 << 1; + $23 = Math_fround($3 | 0); + $8 = 0; + label$6: { + while (1) { + $24 = HEAPF32[$4 + 36 >> 2]; + $25 = HEAPF32[$4 + 32 >> 2]; + $19 = Math_fround(0); + $0 = 0; + while (1) { + if (($0 | 0) != ($3 | 0)) { + $5 = Math_imul($0, 12) + $2 | 0; + $9 = HEAPF32[$5 >> 2]; + $10 = HEAPF32[$5 + 4 >> 2]; + $6 = Math_fround(Math_fround(Math_fround($25 * $9) + Math_fround($10 * $24)) + Math_fround(1)); + if ($6 == Math_fround(0)) { + break label$6; + } + $5 = $0 << 3; + $14 = $5 + $1 | 0; + $15 = HEAPF32[$14 >> 2]; + $16 = HEAPF32[$4 + 12 >> 2]; + $17 = HEAPF32[$4 >> 2]; + $18 = HEAPF32[$4 + 4 >> 2]; + $5 = $5 + $12 | 0; + $20 = Math_fround(HEAPF32[$4 + 28 >> 2] + Math_fround(Math_fround(HEAPF32[$4 + 16 >> 2] * $9) + Math_fround($10 * HEAPF32[$4 + 20 >> 2]))); + $21 = Math_fround(HEAPF32[$14 + 4 >> 2] - Math_fround($20 / $6)); + HEAPF32[$5 + 4 >> 2] = $21; + $16 = Math_fround($16 + Math_fround(Math_fround($17 * $9) + Math_fround($10 * $18))); + $15 = Math_fround($15 - Math_fround($16 / $6)); + HEAPF32[$5 >> 2] = $15; + $5 = ($0 << 6) + $11 | 0; + $17 = Math_fround($10 / $6); + HEAPF32[$5 + 4 >> 2] = $17; + $18 = Math_fround($9 / $6); + HEAPF32[$5 >> 2] = $18; + $22 = Math_fround(Math_fround(1) / $6); + HEAPF32[$5 + 8 >> 2] = $22; + HEAP32[$5 + 12 >> 2] = 0; + HEAP32[$5 + 16 >> 2] = 0; + HEAP32[$5 + 20 >> 2] = 0; + $9 = Math_fround(-$9); + $6 = Math_fround($6 * $6); + HEAPF32[$5 + 24 >> 2] = Math_fround($16 * $9) / $6; + $10 = Math_fround(-$10); + HEAPF32[$5 + 28 >> 2] = Math_fround($16 * $10) / $6; + HEAP32[$5 + 32 >> 2] = 0; + HEAP32[$5 + 36 >> 2] = 0; + HEAP32[$5 + 40 >> 2] = 0; + HEAPF32[$5 + 44 >> 2] = $18; + HEAPF32[$5 + 48 >> 2] = $17; + HEAPF32[$5 + 52 >> 2] = $22; + HEAPF32[$5 + 56 >> 2] = Math_fround($20 * $9) / $6; + HEAPF32[$5 + 60 >> 2] = Math_fround($20 * $10) / $6; + $19 = Math_fround($19 + Math_fround(Math_fround($15 * $15) + Math_fround($21 * $21))); + $0 = $0 + 1 | 0; + continue; + } + break; + } + label$10: { + $6 = Math_fround($19 / $23); + if ($6 < Math_fround(.10000000149011612)) { + break label$10; + } + label$11: { + if (!(!$8 | !($6 < Math_fround(4)))) { + if (Math_fround($6 / $26) > Math_fround(.9900000095367432)) { + break label$10; + } + if (($8 | 0) != 10) { + break label$11; + } + break label$10; + } + if (($8 | 0) == 10) { + break label$10; + } + } + if ((getDeltaS($7, $12, $11, $13) | 0) < 0) { + break label$6; + } + HEAPF32[$4 >> 2] = HEAPF32[$7 >> 2] + HEAPF32[$4 >> 2]; + HEAPF32[$4 + 4 >> 2] = HEAPF32[$7 + 4 >> 2] + HEAPF32[$4 + 4 >> 2]; + HEAPF32[$4 + 12 >> 2] = HEAPF32[$7 + 8 >> 2] + HEAPF32[$4 + 12 >> 2]; + HEAPF32[$4 + 16 >> 2] = HEAPF32[$7 + 12 >> 2] + HEAPF32[$4 + 16 >> 2]; + HEAPF32[$4 + 20 >> 2] = HEAPF32[$7 + 16 >> 2] + HEAPF32[$4 + 20 >> 2]; + HEAPF32[$4 + 28 >> 2] = HEAPF32[$7 + 20 >> 2] + HEAPF32[$4 + 28 >> 2]; + HEAPF32[$4 + 32 >> 2] = HEAPF32[$7 + 24 >> 2] + HEAPF32[$4 + 32 >> 2]; + HEAPF32[$4 + 36 >> 2] = HEAPF32[$7 + 28 >> 2] + HEAPF32[$4 + 36 >> 2]; + $8 = $8 + 1 | 0; + $26 = $6; + continue; + } + break; + } + dlfree($11); + dlfree($12); + break label$1; + } + dlfree($11); + dlfree($12); + $6 = Math_fround(1e8); + break label$1; } else { - i1 = _pattern_match(i8, 1, i13, HEAP32[i1 >> 2] | 0, i10, i11, i12) | 0; - break L21; + while (1) { + if (($5 | 0) != 4) { + $8 = $5 << 2; + $14 = $13 << 4; + HEAPF32[$8 + ($14 + $4 | 0) >> 2] = HEAPF32[($0 + $14 | 0) + $8 >> 2] / HEAPF32[$0 + 44 >> 2]; + $5 = $5 + 1 | 0; + continue; + } + break; + } + $13 = $13 + 1 | 0; + continue; } } } - default: - i1 = 1; - } while (0); - if ((i4 | 0) != 1) i1 = (i1 | 0) == 1 ? i4 : (i1 & i4 | 0) < 0 ? i1 : 0; - STACKTOP = i22; - return i1 | 0; + arLog(0, 3, 3386, 0); + dlfree($11); + $6 = Math_fround(-1); + } + __stack_pointer = $7 + 32 | 0; + return $6; } -function _default_decompress_parms(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0; - i1 = HEAP32[i4 + 36 >> 2] | 0; - L1 : do switch (i1 | 0) { - case 1: - { - i2 = i1; - break; +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, $1, $2, $3) { + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 12 | 0; + void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________construct_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______20std____2____to_address_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29(HEAP32[$3 >> 2] - 12 | 0), $2); + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] - 12; + continue; } - case 3: - { - if (!(HEAP32[i4 + 280 >> 2] | 0)) if (!(HEAP32[i4 + 292 >> 2] | 0)) { - i3 = HEAP32[i4 + 216 >> 2] | 0; - i1 = HEAP32[i3 >> 2] | 0; - i2 = HEAP32[i3 + 84 >> 2] | 0; - i3 = HEAP32[i3 + 168 >> 2] | 0; - if ((i1 | 0) == 1 & (i2 | 0) == 2 & (i3 | 0) == 3) { - i2 = 2; - i1 = 3; - break L1; - } - if ((i1 | 0) == 82 & (i2 | 0) == 71 & (i3 | 0) == 66) { - i2 = 2; - i1 = 2; - break L1; - } - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i5 + 24 >> 2] = i1; - HEAP32[i5 + 28 >> 2] = i2; - HEAP32[i5 + 32 >> 2] = i3; - HEAP32[i5 + 20 >> 2] = 111; - FUNCTION_TABLE_vii[HEAP32[i5 + 4 >> 2] & 63](i4, 1); - i2 = 2; - i1 = 3; - break L1; - } else { - i1 = HEAP8[i4 + 296 >> 0] | 0; - switch (i1 << 24 >> 24) { - case 0: - { - i2 = 2; - i1 = 2; - break L1; - } - case 1: - { - i2 = 2; - i1 = 3; - break L1; - } - default: - { - i2 = HEAP32[i4 >> 2] | 0; - HEAP32[i2 + 20 >> 2] = 114; - HEAP32[i2 + 24 >> 2] = i1 & 255; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i4 >> 2] | 0) + 4 >> 2] & 63](i4, -1); - i2 = 2; - i1 = 3; - break L1; - } - } - } else { - i2 = 2; - i1 = 3; + break; + } +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_floating_point_double__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20double__29_20const($0, $1, $2, $3, $4, $5) { + var wasm2js_i32$0 = 0, wasm2js_f64$0 = 0; + $0 = __stack_pointer - 368 | 0; + __stack_pointer = $0; + HEAP32[$0 + 352 >> 2] = $2; + HEAP32[$0 + 360 >> 2] = $1; + std____2____num_get_wchar_t_____stage2_float_prep_28std____2__ios_base__2c_20wchar_t__2c_20wchar_t__2c_20wchar_t__29($0 + 200 | 0, $3, $0 + 224 | 0, $0 + 220 | 0, $0 + 216 | 0); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0 + 184 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$0 + 180 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = $0 + 16; + HEAP32[$0 + 8 >> 2] = 0; + HEAP8[$0 + 7 | 0] = 1; + HEAP8[$0 + 6 | 0] = 69; + while (1) { + label$2: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($0 + 360 | 0, $0 + 352 | 0)) { + break label$2; } - break; + if (HEAP32[$0 + 180 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) + $1 | 0)) { + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$0 + 180 >> 2] = $3 + $1; + } + if (std____2____num_get_wchar_t_____stage2_float_loop_28wchar_t_2c_20bool__2c_20char__2c_20char__2c_20char___2c_20wchar_t_2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20unsigned_20int__2c_20wchar_t__29(std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0 + 360 | 0), $0 + 7 | 0, $0 + 6 | 0, $1, $0 + 180 | 0, HEAP32[$0 + 220 >> 2], HEAP32[$0 + 216 >> 2], $0 + 200 | 0, $0 + 16 | 0, $0 + 12 | 0, $0 + 8 | 0, $0 + 224 | 0)) { + break label$2; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0 + 360 | 0); + continue; } - case 4: - { - if (!(HEAP32[i4 + 292 >> 2] | 0)) { - i2 = 4; - i1 = 4; - } else { - i1 = HEAP8[i4 + 296 >> 0] | 0; - switch (i1 << 24 >> 24) { - case 0: - { - i2 = 4; - i1 = 4; - break L1; - } - case 2: - { - i2 = 4; - i1 = 5; - break L1; - } - default: - { - i2 = HEAP32[i4 >> 2] | 0; - HEAP32[i2 + 20 >> 2] = 114; - HEAP32[i2 + 24 >> 2] = i1 & 255; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i4 >> 2] | 0) + 4 >> 2] & 63](i4, -1); - i2 = 4; - i1 = 5; - break L1; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0 + 200 | 0) | !HEAPU8[$0 + 7 | 0]) { + break label$4; + } + $3 = HEAP32[$0 + 12 >> 2]; + if (($3 - ($0 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$0 + 12 >> 2] = $3 + 4; + HEAP32[$3 >> 2] = HEAP32[$0 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_f64$0 = double_20std____2____num_get_float_double__28char_20const__2c_20char_20const__2c_20unsigned_20int__29($1, HEAP32[$0 + 180 >> 2], $4), + HEAPF64[wasm2js_i32$0 >> 3] = wasm2js_f64$0; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($0 + 200 | 0, $0 + 16 | 0, HEAP32[$0 + 12 >> 2], $4); + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0 + 360 | 0, $0 + 352 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $1 = HEAP32[$0 + 360 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0 + 200 | 0); + __stack_pointer = $0 + 368 | 0; + return $1; +} + +function extractVisibleFeatures($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = Math_fround(0), $8 = 0, $9 = Math_fround(0), $10 = 0, $11 = 0, $12 = Math_fround(0), $13 = 0, $14 = 0, $15 = Math_fround(0), $16 = 0, $17 = 0, $18 = 0, $19 = Math_fround(0), $20 = Math_fround(0), $21 = Math_fround(0); + $6 = __stack_pointer - 80 | 0; + __stack_pointer = $6; + $19 = Math_fround(HEAP32[$0 + 4 >> 2]); + $20 = Math_fround(HEAP32[$0 >> 2]); + label$1: { + label$2: while (1) { + label$3: { + $10 = 0; + if (HEAP32[$2 + 4 >> 2] <= ($13 | 0)) { + break label$3; + } + while (1) { + $8 = 0; + if (($10 | 0) == 3) { + $17 = Math_imul($13, 112); + $5 = HEAP32[($17 + HEAP32[$2 >> 2] | 0) + 4 >> 2]; + $14 = 0; + while (1) { + if (HEAP32[$5 + 4 >> 2] > ($14 | 0)) { + $8 = 0; + while (1) { + $10 = Math_imul($14, 20); + $11 = $10 + HEAP32[$5 >> 2] | 0; + if (HEAP32[$11 + 4 >> 2] > ($8 | 0)) { + $5 = HEAP32[$11 >> 2]; + $11 = Math_imul($8, 20); + $5 = $5 + $11 | 0; + label$10: { + if ((ar2MarkerCoord2ScreenCoord2($0, $6 + 32 | 0, HEAPF32[$5 + 8 >> 2], HEAPF32[$5 + 12 >> 2], $6 + 28 | 0, $6 + 24 | 0) | 0) < 0) { + break label$10; + } + $7 = HEAPF32[$6 + 28 >> 2]; + if ($7 < Math_fround(0) | $7 >= $20) { + break label$10; + } + $7 = HEAPF32[$6 + 24 >> 2]; + if ($7 < Math_fround(0) | $7 >= $19) { + break label$10; + } + $5 = HEAP32[HEAP32[HEAP32[(HEAP32[$2 >> 2] + $17 | 0) + 4 >> 2] >> 2] + $10 >> 2] + $11 | 0; + $7 = HEAPF32[$5 + 8 >> 2]; + $9 = HEAPF32[$5 + 12 >> 2]; + $12 = Math_fround(HEAPF32[$6 + 76 >> 2] + Math_fround(Math_fround(HEAPF32[$6 + 64 >> 2] * $7) + Math_fround($9 * HEAPF32[$6 + 68 >> 2]))); + $21 = $12; + $15 = Math_fround($12 * $12); + $12 = Math_fround(HEAPF32[$6 + 44 >> 2] + Math_fround(Math_fround(HEAPF32[$6 + 32 >> 2] * $7) + Math_fround(HEAPF32[$6 + 36 >> 2] * $9))); + $9 = Math_fround(HEAPF32[$6 + 60 >> 2] + Math_fround(Math_fround(HEAPF32[$6 + 48 >> 2] * $7) + Math_fround($9 * HEAPF32[$6 + 52 >> 2]))); + $15 = Math_fround(Math_sqrt(Math_fround($15 + Math_fround(Math_fround($12 * $12) + Math_fround($9 * $9))))); + if (Math_fround(Math_fround(Math_fround($21 / $15) * HEAPF32[$6 + 72 >> 2]) + Math_fround(Math_fround(Math_fround($12 / $15) * HEAPF32[$6 + 40 >> 2]) + Math_fround(HEAPF32[$6 + 56 >> 2] * Math_fround($9 / $15)))) > Math_fround(-.10000000149011612)) { + break label$10; + } + HEAPF32[$6 + 16 >> 2] = $7; + HEAPF32[$6 + 20 >> 2] = HEAPF32[$5 + 12 >> 2]; + ar2GetResolution($0, $6 + 32 | 0, $6 + 16 | 0, $6 + 8 | 0); + $7 = HEAPF32[$6 + 12 >> 2]; + $5 = HEAP32[HEAP32[(HEAP32[$2 >> 2] + $17 | 0) + 4 >> 2] >> 2] + $10 | 0; + $9 = HEAPF32[$5 + 12 >> 2]; + if (!(!($7 <= $9) | !(HEAPF32[$5 + 16 >> 2] <= $7))) { + if (($18 | 0) == 200) { + arLog(0, 3, 1540, 0); + $8 = $3 + 4812 | 0; + break label$1; + } + $5 = Math_imul($18, 24) + $3 | 0; + HEAP32[$5 + 8 >> 2] = $8; + HEAP32[$5 + 4 >> 2] = $14; + HEAP32[$5 >> 2] = $13; + HEAPF32[$5 + 16 >> 2] = HEAPF32[$6 + 28 >> 2]; + $7 = HEAPF32[$6 + 24 >> 2]; + HEAP32[$5 + 12 >> 2] = 0; + HEAPF32[$5 + 20 >> 2] = $7; + $18 = $18 + 1 | 0; + break label$10; + } + if (!(Math_fround($9 + $9) >= $7) | !(Math_fround(HEAPF32[$5 + 16 >> 2] * Math_fround(.5)) <= $7)) { + break label$10; + } + if (($16 | 0) == 200) { + HEAP32[$4 + 4812 >> 2] = -1; + $16 = 200; + break label$10; + } + $5 = Math_imul($16, 24) + $4 | 0; + HEAP32[$5 + 8 >> 2] = $8; + HEAP32[$5 + 4 >> 2] = $14; + HEAP32[$5 >> 2] = $13; + HEAPF32[$5 + 16 >> 2] = HEAPF32[$6 + 28 >> 2]; + $7 = HEAPF32[$6 + 24 >> 2]; + HEAP32[$5 + 12 >> 2] = 0; + HEAPF32[$5 + 20 >> 2] = $7; + $16 = $16 + 1 | 0; + } + $8 = $8 + 1 | 0; + $5 = HEAP32[(HEAP32[$2 >> 2] + $17 | 0) + 4 >> 2]; + continue; + } + break; + } + $14 = $14 + 1 | 0; + continue; + } + break; + } + $13 = $13 + 1 | 0; + continue label$2; + } else { + while (1) { + if (($8 | 0) != 4) { + $11 = $8 << 2; + $5 = $10 << 4; + HEAPF32[$11 + ($5 + ($6 + 32 | 0) | 0) >> 2] = HEAPF32[((Math_imul($13, 48) + $1 | 0) + $5 | 0) + $11 >> 2]; + $8 = $8 + 1 | 0; + continue; + } + break; + } + $10 = $10 + 1 | 0; + continue; } } } break; } - default: - { - i2 = 0; - i1 = 0; - } - } while (0); - HEAP32[i4 + 40 >> 2] = i1; - HEAP32[i4 + 44 >> 2] = i2; - HEAP32[i4 + 48 >> 2] = 1; - HEAP32[i4 + 52 >> 2] = 1; - HEAPF64[i4 + 56 >> 3] = 1.0; - HEAP32[i4 + 64 >> 2] = 0; - HEAP32[i4 + 68 >> 2] = 0; - HEAP32[i4 + 72 >> 2] = 0; - HEAP32[i4 + 76 >> 2] = 1; - HEAP32[i4 + 80 >> 2] = 1; - HEAP32[i4 + 84 >> 2] = 0; - HEAP32[i4 + 88 >> 2] = 2; - HEAP32[i4 + 92 >> 2] = 1; - HEAP32[i4 + 96 >> 2] = 256; - HEAP32[i4 + 136 >> 2] = 0; - HEAP32[i4 + 100 >> 2] = 0; - HEAP32[i4 + 104 >> 2] = 0; - HEAP32[i4 + 108 >> 2] = 0; - return; -} - -function __Z21kpmUtilGetPose_binaryP9ARParamLTRKNSt3__26vectorIN6vision7match_tENS1_9allocatorIS4_EEEERKNS2_INS3_7Point3dIfEENS5_ISB_EEEERKNS2_INS3_12FeaturePointENS5_ISG_EEEEPA4_fPf(i7, i1, i5, i3, i14, i15) { - i7 = i7 | 0; - i1 = i1 | 0; - i5 = i5 | 0; - i3 = i3 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - var i2 = 0, i4 = 0, i6 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i16 = 0, i17 = 0, i18 = 0, d19 = 0.0; - i18 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i4 = i18 + 208 | 0; - i2 = i18 + 200 | 0; - i16 = i18 + 224 | 0; - i11 = i18 + 212 | 0; - i12 = i18 + 96 | 0; - i17 = i18 + 192 | 0; - i13 = i18; - i6 = HEAP32[i1 >> 2] | 0; - i1 = (HEAP32[i1 + 4 >> 2] | 0) - i6 | 0; - i8 = i1 >> 3; - do if (i8 >>> 0 < 4) i1 = -1; else { - i10 = _malloc(i1 << 1) | 0; - if (!i10) { - _arLog(0, 3, 20454, i2); - _exit(1); - } - i9 = _malloc(i8 * 24 | 0) | 0; - if (!i9) { - _arLog(0, 3, 20454, i4); - _exit(1); - } - i3 = HEAP32[i3 >> 2] | 0; - i2 = HEAP32[i5 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == (i8 | 0)) break; - i5 = HEAP32[i6 + (i1 << 3) >> 2] | 0; - HEAPF64[i10 + (i1 << 4) >> 3] = +HEAPF32[i3 + (i5 * 20 | 0) >> 2]; - HEAPF64[i10 + (i1 << 4) + 8 >> 3] = +HEAPF32[i3 + (i5 * 20 | 0) + 4 >> 2]; - i5 = HEAP32[i6 + (i1 << 3) + 4 >> 2] | 0; - HEAPF64[i9 + (i1 * 24 | 0) >> 3] = +HEAPF32[i2 + (i5 * 12 | 0) >> 2]; - HEAPF64[i9 + (i1 * 24 | 0) + 8 >> 3] = +HEAPF32[i2 + (i5 * 12 | 0) + 4 >> 2]; - HEAPF64[i9 + (i1 * 24 | 0) + 16 >> 3] = 0.0; - i1 = i1 + 1 | 0; - } - HEAP32[i11 + 8 >> 2] = i8; - HEAP32[i11 >> 2] = i10; - HEAP32[i11 + 4 >> 2] = i9; - i1 = i7 + 8 | 0; - if ((_icpGetInitXw2Xc_from_PlanarData(i1, i10, i9, i8, i12) | 0) < 0) { - _free(i10); - _free(i9); - i1 = -1; - break; + HEAP32[(Math_imul($18, 24) + $3 | 0) + 12 >> 2] = -1; + $8 = (Math_imul($16, 24) + $4 | 0) + 12 | 0; + } + HEAP32[$8 >> 2] = -1; + __stack_pointer = $6 + 80 | 0; +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_signed_long_20long__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20long__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 272 | 0; + __stack_pointer = $6; + HEAP32[$6 + 256 >> 2] = $2; + HEAP32[$6 + 264 >> 2] = $1; + $1 = std____2____num_get_base____get_base_28std____2__ios_base__29($3); + $0 = std____2____num_get_char_____do_widen_28std____2__ios_base__2c_20char__29_20const($0, $3, $6 + 224 | 0); + std____2____num_get_char_____stage2_int_prep_28std____2__ios_base__2c_20char__29($6 + 208 | 0, $3, $6 + 255 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $6 + 16; + HEAP32[$6 + 8 >> 2] = 0; + while (1) { + label$2: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($6 + 264 | 0, $6 + 256 | 0)) { + break label$2; + } + if (HEAP32[$6 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) + $2 | 0)) { + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $7 + $2; + } + if (std____2____num_get_char_____stage2_int_loop_28char_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20char_20const__29(std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($6 + 264 | 0), $1, $2, $6 + 188 | 0, $6 + 8 | 0, HEAP8[$6 + 255 | 0], $6 + 208 | 0, $6 + 16 | 0, $6 + 12 | 0, $0)) { + break label$2; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($6 + 264 | 0); + continue; } - i1 = _icpCreateHandle(i1) | 0; - HEAP32[i16 >> 2] = i1; - if (!i1) { - _free(i10); - _free(i9); - i1 = -1; - break; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 208 | 0)) { + break label$4; + } + $0 = HEAP32[$6 + 12 >> 2]; + if (($0 - ($6 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 12 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = HEAP32[$6 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = long_20long_20std____2____num_get_signed_integral_long_20long__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($2, HEAP32[$6 + 188 >> 2], $4, $1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + HEAP32[$5 + 4 >> 2] = i64toi32_i32$HIGH_BITS; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 208 | 0, $6 + 16 | 0, HEAP32[$6 + 12 >> 2], $4); + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($6 + 264 | 0, $6 + 256 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $2 = HEAP32[$6 + 264 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 208 | 0); + __stack_pointer = $6 + 272 | 0; + return $2; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______construct_node_hash_std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28unsigned_20long_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4, $5) { + var $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + $1 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______node_alloc_28_29($1); + $0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______2c_20true_____good_rval_ref_type_29($0, std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______allocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20unsigned_20long_29($1, 1), std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20bool_29($6 + 8 | 0, $1, 0)); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______construct_std____2__pair_int_20const_2c_20arController__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple___2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__pair_int_20const_2c_20arController___2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($1, std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20arController______get_ptr_28std____2____hash_value_type_int_2c_20arController___29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______operator___28_29_20const($0) + 8 | 0), $3, $4, $5); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______get_deleter_28_29($0), + wasm2js_i32$1 = 1, HEAP8[wasm2js_i32$0 + 4 | 0] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______operator___28_29_20const($0), + wasm2js_i32$1 = $2, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______operator___28_29_20const($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $6 + 16 | 0; +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_unsigned_unsigned_20short__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20short__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 272 | 0; + __stack_pointer = $6; + HEAP32[$6 + 256 >> 2] = $2; + HEAP32[$6 + 264 >> 2] = $1; + $1 = std____2____num_get_base____get_base_28std____2__ios_base__29($3); + $0 = std____2____num_get_char_____do_widen_28std____2__ios_base__2c_20char__29_20const($0, $3, $6 + 224 | 0); + std____2____num_get_char_____stage2_int_prep_28std____2__ios_base__2c_20char__29($6 + 208 | 0, $3, $6 + 255 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $6 + 16; + HEAP32[$6 + 8 >> 2] = 0; + while (1) { + label$2: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($6 + 264 | 0, $6 + 256 | 0)) { + break label$2; + } + if (HEAP32[$6 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) + $2 | 0)) { + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $7 + $2; + } + if (std____2____num_get_char_____stage2_int_loop_28char_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20char_20const__29(std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($6 + 264 | 0), $1, $2, $6 + 188 | 0, $6 + 8 | 0, HEAP8[$6 + 255 | 0], $6 + 208 | 0, $6 + 16 | 0, $6 + 12 | 0, $0)) { + break label$2; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($6 + 264 | 0); + continue; } - if ((_icpPoint(i1, i11, i12, i13, i17) | 0) < 0) { - _free(i10); - _free(i9); - _icpDeleteHandle(i16) | 0; - i1 = -1; - } else { - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - HEAPF32[i14 + (i2 << 4) + (i1 << 2) >> 2] = +HEAPF64[i13 + (i2 << 5) + (i1 << 3) >> 3]; - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - _icpDeleteHandle(i16) | 0; - _free(i10); - _free(i9); - d19 = +HEAPF64[i17 >> 3]; - HEAPF32[i15 >> 2] = d19; - i1 = (d19 > 10.0) << 31 >> 31; - } - } while (0); - STACKTOP = i18; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_121parse_floating_numberIdNS0_2DbEEEPKcS4_S4_RT0_(i1, i2, i9) { - i1 = i1 | 0; - i2 = i2 | 0; - i9 = i9 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(80); - i11 = i12 + 40 | 0; - i7 = i12 + 32 | 0; - i8 = i12; - i10 = i12 + 64 | 0; - L1 : do if ((i2 - i1 | 0) >>> 0 > 16) { - i3 = 0; - i2 = i7; - while (1) { - i4 = HEAP8[i1 + i3 >> 0] | 0; - i5 = i4 << 24 >> 24; - if ((i3 | 0) == 16) { - i6 = 6; - break; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 208 | 0)) { + break label$4; + } + $0 = HEAP32[$6 + 12 >> 2]; + if (($0 - ($6 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 12 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = HEAP32[$6 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = unsigned_20short_20std____2____num_get_unsigned_integral_unsigned_20short__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($2, HEAP32[$6 + 188 >> 2], $4, $1), + HEAP16[wasm2js_i32$0 >> 1] = wasm2js_i32$1; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 208 | 0, $6 + 16 | 0, HEAP32[$6 + 12 >> 2], $4); + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($6 + 264 | 0, $6 + 256 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $2 = HEAP32[$6 + 264 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 208 | 0); + __stack_pointer = $6 + 272 | 0; + return $2; +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_unsigned_unsigned_20long__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 272 | 0; + __stack_pointer = $6; + HEAP32[$6 + 256 >> 2] = $2; + HEAP32[$6 + 264 >> 2] = $1; + $1 = std____2____num_get_base____get_base_28std____2__ios_base__29($3); + $0 = std____2____num_get_char_____do_widen_28std____2__ios_base__2c_20char__29_20const($0, $3, $6 + 224 | 0); + std____2____num_get_char_____stage2_int_prep_28std____2__ios_base__2c_20char__29($6 + 208 | 0, $3, $6 + 255 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $6 + 16; + HEAP32[$6 + 8 >> 2] = 0; + while (1) { + label$2: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($6 + 264 | 0, $6 + 256 | 0)) { + break label$2; + } + if (HEAP32[$6 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) + $2 | 0)) { + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $7 + $2; } - if (!(_isxdigit(i5) | 0)) break; - i4 = HEAP8[i1 + (i3 | 1) >> 0] | 0; - HEAP8[i2 >> 0] = (((i5 + -48 | 0) >>> 0 < 10 ? 0 : 9) + i5 << 4) + i4 + ((i4 + -48 | 0) >>> 0 < 10 ? 208 : 169); - i3 = i3 + 2 | 0; - i2 = i2 + 1 | 0; + if (std____2____num_get_char_____stage2_int_loop_28char_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20char_20const__29(std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($6 + 264 | 0), $1, $2, $6 + 188 | 0, $6 + 8 | 0, HEAP8[$6 + 255 | 0], $6 + 208 | 0, $6 + 16 | 0, $6 + 12 | 0, $0)) { + break label$2; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($6 + 264 | 0); + continue; } - do if ((i6 | 0) == 6) { - if (i4 << 24 >> 24 == 69) { - L11 : do if ((i2 | 0) != (i7 | 0)) { - i3 = i7; - while (1) { - i2 = i2 + -1 | 0; - if (i3 >>> 0 >= i2 >>> 0) break L11; - i6 = HEAP8[i3 >> 0] | 0; - HEAP8[i3 >> 0] = HEAP8[i2 >> 0] | 0; - HEAP8[i2 >> 0] = i6; - i3 = i3 + 1 | 0; - } - } while (0); - HEAP32[i8 >> 2] = 0; - HEAP32[i8 + 4 >> 2] = 0; - HEAP32[i8 + 8 >> 2] = 0; - HEAP32[i8 + 12 >> 2] = 0; - HEAP32[i8 + 16 >> 2] = 0; - HEAP32[i8 + 20 >> 2] = 0; - HEAP32[i8 + 24 >> 2] = 0; - HEAP32[i8 + 28 >> 2] = 0; - HEAPF64[i11 >> 3] = +HEAPF64[i7 >> 3]; - i2 = _snprintf(i8, 32, 50978, i11) | 0; - if (i2 >>> 0 > 31) break; - HEAP32[i10 >> 2] = 0; - HEAP32[i10 + 4 >> 2] = 0; - HEAP32[i10 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i10, i8, i2); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i11, i10); - i2 = i9 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i11); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i11); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - i1 = i1 + 17 | 0; - } - break L1; - } while (0); - } while (0); - STACKTOP = i12; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_125parse_noexcept_expressionINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i6 = i11 + 36 | 0; - i8 = i11 + 24 | 0; - i9 = i11 + 12 | 0; - i10 = i11; - i7 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i4) | 0; - if ((i7 | 0) != (i1 | 0) ? (i5 = i4 + 4 | 0, i3 = HEAP32[i5 >> 2] | 0, (HEAP32[i4 >> 2] | 0) != (i3 | 0)) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i10, i3 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i10, 0, 49940) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i9, 49667) | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i5 >> 2] | 0; - i2 = i1 + -24 | 0; - i3 = i2 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) { - i5 = HEAP32[i2 >> 2] | 0; - HEAP8[i6 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5, i6); - HEAP32[i1 + -20 >> 2] = 0; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 208 | 0)) { + break label$4; + } + $0 = HEAP32[$6 + 12 >> 2]; + if (($0 - ($6 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 12 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = HEAP32[$6 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = unsigned_20long_20std____2____num_get_unsigned_integral_unsigned_20long__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($2, HEAP32[$6 + 188 >> 2], $4, $1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 208 | 0, $6 + 16 | 0, HEAP32[$6 + 12 >> 2], $4); + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($6 + 264 | 0, $6 + 256 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $2 = HEAP32[$6 + 264 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 208 | 0); + __stack_pointer = $6 + 272 | 0; + return $2; +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_unsigned_unsigned_20int__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20int__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 272 | 0; + __stack_pointer = $6; + HEAP32[$6 + 256 >> 2] = $2; + HEAP32[$6 + 264 >> 2] = $1; + $1 = std____2____num_get_base____get_base_28std____2__ios_base__29($3); + $0 = std____2____num_get_char_____do_widen_28std____2__ios_base__2c_20char__29_20const($0, $3, $6 + 224 | 0); + std____2____num_get_char_____stage2_int_prep_28std____2__ios_base__2c_20char__29($6 + 208 | 0, $3, $6 + 255 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $6 + 16; + HEAP32[$6 + 8 >> 2] = 0; + while (1) { + label$2: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($6 + 264 | 0, $6 + 256 | 0)) { + break label$2; + } + if (HEAP32[$6 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) + $2 | 0)) { + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $7 + $2; + } + if (std____2____num_get_char_____stage2_int_loop_28char_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20char_20const__29(std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($6 + 264 | 0), $1, $2, $6 + 188 | 0, $6 + 8 | 0, HEAP8[$6 + 255 | 0], $6 + 208 | 0, $6 + 16 | 0, $6 + 12 | 0, $0)) { + break label$2; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($6 + 264 | 0); + continue; + } + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 208 | 0)) { + break label$4; + } + $0 = HEAP32[$6 + 12 >> 2]; + if (($0 - ($6 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 12 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = HEAP32[$6 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = unsigned_20int_20std____2____num_get_unsigned_integral_unsigned_20int__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($2, HEAP32[$6 + 188 >> 2], $4, $1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 208 | 0, $6 + 16 | 0, HEAP32[$6 + 12 >> 2], $4); + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($6 + 264 | 0, $6 + 256 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $2 = HEAP32[$6 + 264 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 208 | 0); + __stack_pointer = $6 + 272 | 0; + return $2; +} + +function std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________compressed_pair_std__nullptr_t_2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________28std__nullptr_t___2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________allocate_28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20unsigned_20long_29(std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = Math_imul($2, 12) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________end_cap_28_29($0), + wasm2js_i32$1 = Math_imul($1, 12) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______rehash_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = Math_fround(0), $5 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + label$1: { + if (($1 | 0) == 1) { + $1 = 2; } else { - HEAP8[i6 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i6); - HEAP8[i3 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i2); - HEAP32[i2 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i8 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i8 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i8 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - i1 = i7; - } - STACKTOP = i11; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_117parse_typeid_exprINS0_2DbEEEPKcS4_S4_RT_(i3, i1, i5) { - i3 = i3 | 0; - i1 = i1 | 0; - i5 = i5 | 0; - var i2 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i8 = i12 + 40 | 0; - i9 = i12 + 12 | 0; - i10 = i12 + 24 | 0; - i11 = i12; - L1 : do if ((i1 - i3 | 0) > 2 ? (HEAP8[i3 >> 0] | 0) == 116 : 0) { - i2 = HEAP8[i3 + 1 >> 0] | 0; - switch (i2 << 24 >> 24) { - case 105: - case 101: - break; - default: - { - i1 = i3; - break L1; - } - } - i4 = i3 + 2 | 0; - if (i2 << 24 >> 24 == 101) i1 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i4, i1, i5) | 0; else i1 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i4, i1, i5) | 0; - if ((i1 | 0) != (i4 | 0) ? (i7 = i5 + 4 | 0, i6 = HEAP32[i7 >> 2] | 0, (HEAP32[i5 >> 2] | 0) != (i6 | 0)) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i11, i6 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i11, 0, 49872) | 0; - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i11 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i10, 49667) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i10 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i8, i9); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i7 >> 2] | 0) + -24 | 0, i8); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - } else i1 = i3; - } else i1 = i3; while (0); - STACKTOP = i12; - return i1 | 0; -} - -function _setCamera(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i10 = i11 + 24 | 0; - i9 = i11 + 16 | 0; - i7 = i11 + 8 | 0; - i5 = i11; - i3 = i11 + 32 | 0; - i4 = i11 + 28 | 0; - HEAP32[i3 >> 2] = i1; - HEAP32[i4 >> 2] = i2; - do if ((__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0) != 0 ? (i8 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0, (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56196, i4) | 0) != 0) : 0) { - i6 = i8 + 8 | 0; - _memcpy(i6 | 0, __ZNSt3__213unordered_mapIi7ARParamNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56196, i4) | 0, 184) | 0; - i1 = HEAP32[i6 >> 2] | 0; - i2 = i8 + 208 | 0; - i3 = HEAP32[i8 + 12 >> 2] | 0; - i4 = i8 + 212 | 0; - if (!((i1 | 0) == (HEAP32[i2 >> 2] | 0) ? (i3 | 0) == (HEAP32[i4 >> 2] | 0) : 0)) { - HEAP32[i5 >> 2] = i1; - HEAP32[i5 + 4 >> 2] = i3; - _arLog(0, 2, 44739, i5); - _arParamChangeSize(i6, HEAP32[i2 >> 2] | 0, HEAP32[i4 >> 2] | 0, i6) | 0; - } - _deleteHandle(i8); - i1 = _arParamLTCreate(i6, 15) | 0; - i3 = i8 + 192 | 0; - HEAP32[i3 >> 2] = i1; - if (!i1) { - _arLog(0, 3, 44786, i7); - i1 = -1; - break; + if (!($1 - 1 & $1)) { + break label$1; + } + $1 = std____2____next_prime_28unsigned_20long_29($1); } - i1 = _arCreateHandle(i1) | 0; - i2 = i8 + 216 | 0; - HEAP32[i2 >> 2] = i1; - if (!i1) { - _arLog(0, 3, 44824, i9); - i1 = -1; - break; + HEAP32[$2 + 12 >> 2] = $1; + } + $3 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______bucket_count_28_29_20const($0); + label$4: { + if ($3 >>> 0 < $1 >>> 0) { + std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________rehash_28unsigned_20long_29($0, $1); + break label$4; } - _arSetPixelFormat(i1, HEAP32[i8 + 424 >> 2] | 0) | 0; - i9 = _ar3DCreateHandle(i6) | 0; - HEAP32[i8 + 228 >> 2] = i9; - if (!i9) { - _arLog(0, 3, 44861, i10); - i1 = -1; - break; - } else { - _arPattAttach(HEAP32[i2 >> 2] | 0, HEAP32[i8 + 220 >> 2] | 0) | 0; - _arglCameraFrustumRH(HEAP32[i3 >> 2] | 0, +HEAPF64[i8 + 264 >> 3], +HEAPF64[i8 + 272 >> 3], i8 + 296 | 0); - i1 = _createKpmHandle(HEAP32[i3 >> 2] | 0) | 0; - HEAP32[i8 + 232 >> 2] = i1; - i1 = 0; - break; + if ($1 >>> 0 >= $3 >>> 0) { + break label$4; } - } else i1 = -1; while (0); - STACKTOP = i11; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_121parse_floating_numberIfNS0_2DbEEEPKcS4_S4_RT0_(i1, i2, i9) { - i1 = i1 | 0; - i2 = i2 | 0; - i9 = i9 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i11 = i12 + 24 | 0; - i7 = i12 + 60 | 0; - i8 = i12; - i10 = i12 + 48 | 0; - L1 : do if ((i2 - i1 | 0) >>> 0 > 8) { - i3 = 0; - i2 = i7; - while (1) { - i4 = HEAP8[i1 + i3 >> 0] | 0; - i5 = i4 << 24 >> 24; - if ((i3 | 0) == 8) { - i6 = 6; - break; + $1 = std____2____is_hash_power2_28unsigned_20long_29($3); + $4 = ceil_28float_29(Math_fround(Math_fround(HEAPU32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______size_28_29($0) >> 2]) / HEAPF32[std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______max_load_factor_28_29($0) >> 2])); + label$6: { + if ($4 < Math_fround(4294967296) & $4 >= Math_fround(0)) { + $5 = ~~$4 >>> 0; + break label$6; } - if (!(_isxdigit(i5) | 0)) break; - i4 = HEAP8[i1 + (i3 | 1) >> 0] | 0; - HEAP8[i2 >> 0] = (((i5 + -48 | 0) >>> 0 < 10 ? 0 : 9) + i5 << 4) + i4 + ((i4 + -48 | 0) >>> 0 < 10 ? 208 : 169); - i3 = i3 + 2 | 0; - i2 = i2 + 1 | 0; + $5 = 0; } - do if ((i6 | 0) == 6) { - if (i4 << 24 >> 24 == 69) { - L11 : do if ((i2 | 0) != (i7 | 0)) { - i3 = i7; - while (1) { - i2 = i2 + -1 | 0; - if (i3 >>> 0 >= i2 >>> 0) break L11; - i6 = HEAP8[i3 >> 0] | 0; - HEAP8[i3 >> 0] = HEAP8[i2 >> 0] | 0; - HEAP8[i2 >> 0] = i6; - i3 = i3 + 1 | 0; - } - } while (0); - HEAP32[i8 >> 2] = 0; - HEAP32[i8 + 4 >> 2] = 0; - HEAP32[i8 + 8 >> 2] = 0; - HEAP32[i8 + 12 >> 2] = 0; - HEAP32[i8 + 16 >> 2] = 0; - HEAP32[i8 + 20 >> 2] = 0; - HEAPF64[i11 >> 3] = +HEAPF32[i7 >> 2]; - i2 = _snprintf(i8, 24, 50981, i11) | 0; - if (i2 >>> 0 > 23) break; - HEAP32[i10 >> 2] = 0; - HEAP32[i10 + 4 >> 2] = 0; - HEAP32[i10 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i10, i8, i2); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i11, i10); - i2 = i9 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i11); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i11); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - i1 = i1 + 9 | 0; - } - break L1; - } while (0); - } while (0); - STACKTOP = i12; - return i1 | 0; -} - -function _jpeg_idct_2x2(i1, i3, i2, i9, i10) { - i1 = i1 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i11 = 0, i12 = 0, i13 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i8 = i12; - i7 = HEAP32[i1 + 324 >> 2] | 0; - i6 = 8; - i3 = HEAP32[i3 + 80 >> 2] | 0; - i4 = i8; - L1 : while (1) { - L3 : do switch (i6 | 0) { - case 0: - break L1; - case 2: - case 4: - case 6: - break; - default: - { - i5 = HEAP16[i2 + 16 >> 1] | 0; - i1 = HEAP16[i2 + 48 >> 1] | 0; - if (!((i5 | i1) << 16 >> 16)) if ((HEAP16[i2 + 80 >> 1] | 0) == 0 ? (HEAP16[i2 + 112 >> 1] | 0) == 0 : 0) { - i5 = Math_imul(HEAP16[i2 >> 1] << 2, HEAP32[i3 >> 2] | 0) | 0; - HEAP32[i4 >> 2] = i5; - HEAP32[i4 + 32 >> 2] = i5; - break L3; - } else i1 = 0; - i13 = Math_imul(HEAP16[i2 >> 1] << 15, HEAP32[i3 >> 2] | 0) | 0; - i5 = (Math_imul(Math_imul(HEAP16[i2 + 112 >> 1] | 0, -5906) | 0, HEAP32[i3 + 224 >> 2] | 0) | 0) + (Math_imul((HEAP16[i2 + 80 >> 1] | 0) * 6967 | 0, HEAP32[i3 + 160 >> 2] | 0) | 0) + (Math_imul(Math_imul(i1 << 16 >> 16, -10426) | 0, HEAP32[i3 + 96 >> 2] | 0) | 0) + (Math_imul((i5 << 16 >> 16) * 29692 | 0, HEAP32[i3 + 32 >> 2] | 0) | 0) | 0; - i1 = i13 | 4096; - HEAP32[i4 >> 2] = i1 + i5 >> 13; - HEAP32[i4 + 32 >> 2] = i1 - i5 >> 13; - } - } while (0); - i6 = i6 + -1 | 0; - i2 = i2 + 2 | 0; - i3 = i3 + 4 | 0; - i4 = i4 + 4 | 0; - } - i6 = i7 + 128 | 0; - i5 = 0; - i3 = i8; - while (1) { - if ((i5 | 0) == 2) break; - i4 = (HEAP32[i9 + (i5 << 2) >> 2] | 0) + i10 | 0; - i2 = HEAP32[i3 + 4 >> 2] | 0; - i1 = HEAP32[i3 + 12 >> 2] | 0; - if (!(i2 | i1)) if ((HEAP32[i3 + 20 >> 2] | 0) == 0 ? (HEAP32[i3 + 28 >> 2] | 0) == 0 : 0) { - i1 = HEAP8[i6 + (((HEAP32[i3 >> 2] | 0) + 16 | 0) >>> 5 & 1023) >> 0] | 0; - HEAP8[i4 >> 0] = i1; - } else { - i1 = 0; - i11 = 15; - } else i11 = 15; - if ((i11 | 0) == 15) { - i11 = 0; - i13 = Math_imul(HEAP32[i3 + 28 >> 2] | 0, -5906) | 0; - i1 = i13 + (i2 * 29692 | 0) + ((HEAP32[i3 + 20 >> 2] | 0) * 6967 | 0) + (Math_imul(i1, -10426) | 0) | 0; - i13 = (HEAP32[i3 >> 2] << 15) + 524288 | 0; - HEAP8[i4 >> 0] = HEAP8[i6 + ((i13 + i1 | 0) >>> 20 & 1023) >> 0] | 0; - i1 = HEAP8[i6 + ((i13 - i1 | 0) >>> 20 & 1023) >> 0] | 0; - } - HEAP8[i4 + 1 >> 0] = i1; - i5 = i5 + 1 | 0; - i3 = i3 + 32 | 0; - } - STACKTOP = i12; - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_121parse_floating_numberIeNS0_2DbEEEPKcS4_S4_RT0_(i1, i2, i9) { - i1 = i1 | 0; - i2 = i2 | 0; - i9 = i9 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - i11 = i12 + 48 | 0; - i7 = i12 + 40 | 0; - i8 = i12; - i10 = i12 + 72 | 0; - L1 : do if ((i2 - i1 | 0) >>> 0 > 20) { - i3 = 0; - i2 = i7; - while (1) { - i4 = HEAP8[i1 + i3 >> 0] | 0; - i5 = i4 << 24 >> 24; - if ((i3 | 0) == 20) { - i6 = 6; - break; + label$8: { + if ($1) { + $1 = std____2____next_hash_pow2_28unsigned_20long_29($5); + break label$8; } - if (!(_isxdigit(i5) | 0)) break; - i4 = HEAP8[i1 + (i3 | 1) >> 0] | 0; - HEAP8[i2 >> 0] = (((i5 + -48 | 0) >>> 0 < 10 ? 0 : 9) + i5 << 4) + i4 + ((i4 + -48 | 0) >>> 0 < 10 ? 208 : 169); - i3 = i3 + 2 | 0; - i2 = i2 + 1 | 0; + $1 = std____2____next_prime_28unsigned_20long_29($5); } - do if ((i6 | 0) == 6) { - if (i4 << 24 >> 24 == 69) { - L11 : do if ((i2 | 0) != (i7 | 0)) { - i3 = i7; - while (1) { - i2 = i2 + -1 | 0; - if (i3 >>> 0 >= i2 >>> 0) break L11; - i6 = HEAP8[i3 >> 0] | 0; - HEAP8[i3 >> 0] = HEAP8[i2 >> 0] | 0; - HEAP8[i2 >> 0] = i6; - i3 = i3 + 1 | 0; - } - } while (0); - i2 = i8; - i3 = i2 + 40 | 0; - do { - HEAP32[i2 >> 2] = 0; - i2 = i2 + 4 | 0; - } while ((i2 | 0) < (i3 | 0)); - HEAPF64[i11 >> 3] = +HEAPF64[i7 >> 3]; - i2 = _snprintf(i8, 40, 50973, i11) | 0; - if (i2 >>> 0 > 39) break; - HEAP32[i10 >> 2] = 0; - HEAP32[i10 + 4 >> 2] = 0; - HEAP32[i10 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i10, i8, i2); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i11, i10); - i2 = i9 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 >>> 0 < (HEAP32[i9 + 8 >> 2] | 0) >>> 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i3, i11); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 24; - } else __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i9, i11); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i11); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - i1 = i1 + 21 | 0; - } - break L1; - } while (0); - } while (0); - STACKTOP = i12; - return i1 | 0; -} - -function __ZN6vision25DoGScaleInvariantDetector6detectEPKNS_25GaussianScaleSpacePyramidE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i4; - if ((__ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv(i2) | 0) <= 0) { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 20798) | 0, 20520) | 0, 33528) | 0, 147) | 0, 33535) | 0, 20847) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i6 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 63](i6, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i6) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); - } - __ZN6vision11ScopedTimerC2EPKc(i3, 21782); - if (__ZN6vision11ScopedTimercvbEv(i3) | 0) __ZN6vision10DoGPyramid7computeEPKNS_25GaussianScaleSpacePyramidE(i1 + 32 | 0, i2); - __ZN6vision11ScopedTimerD2Ev(i3); - __ZN6vision11ScopedTimerC2EPKc(i3, 21794); - if (__ZN6vision11ScopedTimercvbEv(i3) | 0) __ZN6vision25DoGScaleInvariantDetector15extractFeaturesEPKNS_25GaussianScaleSpacePyramidEPKNS_10DoGPyramidE(i1, i2, i1 + 32 | 0); - __ZN6vision11ScopedTimerD2Ev(i3); - __ZN6vision11ScopedTimerC2EPKc(i3, 21814); - if (__ZN6vision11ScopedTimercvbEv(i3) | 0) __ZN6vision25DoGScaleInvariantDetector21findSubpixelLocationsEPKNS_25GaussianScaleSpacePyramidE(i1, i2); - __ZN6vision11ScopedTimerD2Ev(i3); - __ZN6vision11ScopedTimerC2EPKc(i3, 21823); - if (__ZN6vision11ScopedTimercvbEv(i3) | 0) __ZN6vision25DoGScaleInvariantDetector13pruneFeaturesEv(i1); - __ZN6vision11ScopedTimerD2Ev(i3); - __ZN6vision11ScopedTimerC2EPKc(i3, 21837); - if (__ZN6vision11ScopedTimercvbEv(i3) | 0) __ZN6vision25DoGScaleInvariantDetector23findFeatureOrientationsEPKNS_25GaussianScaleSpacePyramidE(i1, i2); - __ZN6vision11ScopedTimerD2Ev(i3); - STACKTOP = i4; - return; -} - -function __ZNSt3__2L20utf8_to_utf16_lengthEPKhS1_mmNS_12codecvt_modeE(i10, i11, i12, i13, i1) { - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i9 = i11; - if ((((i1 & 4 | 0) != 0 ? (i9 - i10 | 0) > 2 : 0) ? (HEAP8[i10 >> 0] | 0) == -17 : 0) ? (HEAP8[i10 + 1 >> 0] | 0) == -69 : 0) i1 = (HEAP8[i10 + 2 >> 0] | 0) == -65 ? i10 + 3 | 0 : i10; else i1 = i10; - i2 = 0; - L7 : while (1) { - if (!(i2 >>> 0 < i12 >>> 0 & i1 >>> 0 < i11 >>> 0)) break; - i6 = HEAP8[i1 >> 0] | 0; - i8 = i6 & 255; - if (i8 >>> 0 > i13 >>> 0) break; - do if (i6 << 24 >> 24 <= -1) { - if ((i6 & 255) < 194) break L7; - if ((i6 & 255) < 224) { - if ((i9 - i1 | 0) < 2) break L7; - i3 = HEAPU8[i1 + 1 >> 0] | 0; - if ((i3 & 192 | 0) != 128) break L7; - if ((i3 & 63 | i8 << 6 & 1984) >>> 0 > i13 >>> 0) break L7; else { - i1 = i1 + 2 | 0; - break; - } - } - if ((i6 & 255) < 240) { - if ((i9 - i1 | 0) < 3) break L7; - i4 = HEAP8[i1 + 1 >> 0] | 0; - i3 = HEAP8[i1 + 2 >> 0] | 0; - switch (i6 << 24 >> 24) { - case -32: - { - if ((i4 & -32) << 24 >> 24 != -96) break L7; - break; - } - case -19: - { - if ((i4 & -32) << 24 >> 24 != -128) break L7; - break; - } - default: - if ((i4 & -64) << 24 >> 24 != -128) break L7; - } - i3 = i3 & 255; - if ((i3 & 192 | 0) != 128) break L7; - if (((i4 & 63) << 6 | i8 << 12 & 61440 | i3 & 63) >>> 0 > i13 >>> 0) break L7; else { - i1 = i1 + 3 | 0; - break; - } - } - if ((i6 & 255) >= 245) break L7; - if ((i12 - i2 | 0) >>> 0 < 2 | (i9 - i1 | 0) < 4) break L7; - i7 = HEAP8[i1 + 1 >> 0] | 0; - i3 = HEAP8[i1 + 2 >> 0] | 0; - i5 = HEAP8[i1 + 3 >> 0] | 0; - switch (i6 << 24 >> 24) { - case -16: - { - if ((i7 + 112 & 255) >= 48) break L7; - break; - } - case -12: - { - if ((i7 & -16) << 24 >> 24 != -128) break L7; - break; - } - default: - if ((i7 & -64) << 24 >> 24 != -128) break L7; - } - i4 = i3 & 255; - if ((i4 & 192 | 0) != 128) break L7; - i3 = i5 & 255; - if ((i3 & 192 | 0) != 128) break L7; - if (((i7 & 63) << 12 | i8 << 18 & 1835008 | i4 << 6 & 4032 | i3 & 63) >>> 0 > i13 >>> 0) break L7; else { - i2 = i2 + 1 | 0; - i1 = i1 + 4 | 0; - } - } else i1 = i1 + 1 | 0; while (0); - i2 = i2 + 1 | 0; - } - return i1 - i10 | 0; -} - -function __ZN6vision10DoGPyramid5allocEPKNS_25GaussianScaleSpacePyramidE(i11, i2) { - i11 = i11 | 0; - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i12; - if (!(__ZNK6vision25GaussianScaleSpacePyramid4sizeEv(i2) | 0)) { - i10 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 20477) | 0, 20520) | 0, 33528) | 0, 53) | 0, 33535) | 0, 20651) | 0; - __ZNKSt3__28ios_base6getlocEv(i1, i10 + (HEAP32[(HEAP32[i10 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i10, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i10) | 0; - _abort(); - } - i7 = __ZNK6vision5Image4typeEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm(i2, 0, 0) | 0) | 0; - i8 = __ZNK6vision5Image5widthEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm(i2, 0, 0) | 0) | 0; - i9 = __ZNK6vision5Image6heightEv(__ZNK6vision25GaussianScaleSpacePyramid3getEmm(i2, 0, 0) | 0) | 0; - i3 = __ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv(i2) | 0; - i10 = i11 + 12 | 0; - HEAP32[i10 >> 2] = i3; - i2 = (__ZNK6vision25GaussianScaleSpacePyramid18numScalesPerOctaveEv(i2) | 0) + -1 | 0; - i3 = i11 + 16 | 0; - HEAP32[i3 >> 2] = i2; - __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE6resizeEm(i11, Math_imul(HEAP32[i10 >> 2] | 0, i2) | 0); - i2 = 0; - while (1) { - if (i2 >>> 0 >= (HEAP32[i10 >> 2] | 0) >>> 0) break; - i4 = i8 >>> i2; - i5 = i9 >>> i2; - i1 = 0; - while (1) { - i6 = HEAP32[i3 >> 2] | 0; - if (i1 >>> 0 >= i6 >>> 0) break; - i6 = (Math_imul(i6, i2) | 0) + i1 | 0; - __ZN6vision5Image5allocENS_9ImageTypeEmmim((HEAP32[i11 >> 2] | 0) + (i6 << 5) | 0, i7, i4, i5, -1, 1); - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - STACKTOP = i12; - return; -} - -function __ZN53EmscriptenBindingInitializer_native_and_builtin_typesC2Ev(i1) { - i1 = i1 | 0; - __embind_register_void(__ZN10emscripten8internal6TypeIDIvE3getEv() | 0, 51106); - __embind_register_bool(__ZN10emscripten8internal6TypeIDIbE3getEv() | 0, 51111, 1, 1, 0); - __ZN12_GLOBAL__N_116register_integerIcEEvPKc(); - __ZN12_GLOBAL__N_116register_integerIaEEvPKc(); - __ZN12_GLOBAL__N_116register_integerIhEEvPKc(); - __ZN12_GLOBAL__N_116register_integerIsEEvPKc(); - __ZN12_GLOBAL__N_116register_integerItEEvPKc(); - __ZN12_GLOBAL__N_116register_integerIiEEvPKc(); - __ZN12_GLOBAL__N_116register_integerIjEEvPKc(); - __ZN12_GLOBAL__N_116register_integerIlEEvPKc(); - __ZN12_GLOBAL__N_116register_integerImEEvPKc(); - __ZN12_GLOBAL__N_114register_floatIfEEvPKc(); - __ZN12_GLOBAL__N_114register_floatIdEEvPKc(); - __embind_register_std_string(__ZN10emscripten8internal6TypeIDINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEE3getEv() | 0, 50489); - __embind_register_std_string(__ZN10emscripten8internal6TypeIDINSt3__212basic_stringIhNS2_11char_traitsIhEENS2_9allocatorIhEEEEE3getEv() | 0, 44899); - __embind_register_std_wstring(__ZN10emscripten8internal6TypeIDINSt3__212basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEEE3getEv() | 0, 4, 44932); - __embind_register_emval(__ZN10emscripten8internal6TypeIDINS_3valEE3getEv() | 0, 44945); - __ZN12_GLOBAL__N_120register_memory_viewIcEEvPKc(); - __ZN12_GLOBAL__N_120register_memory_viewIaEEvPKc(44961); - __ZN12_GLOBAL__N_120register_memory_viewIhEEvPKc(44998); - __ZN12_GLOBAL__N_120register_memory_viewIsEEvPKc(45037); - __ZN12_GLOBAL__N_120register_memory_viewItEEvPKc(45068); - __ZN12_GLOBAL__N_120register_memory_viewIiEEvPKc(45108); - __ZN12_GLOBAL__N_120register_memory_viewIjEEvPKc(45137); - __ZN12_GLOBAL__N_120register_memory_viewIlEEvPKc(); - __ZN12_GLOBAL__N_120register_memory_viewImEEvPKc(); - __ZN12_GLOBAL__N_120register_memory_viewIaEEvPKc(45175); - __ZN12_GLOBAL__N_120register_memory_viewIhEEvPKc(45207); - __ZN12_GLOBAL__N_120register_memory_viewIsEEvPKc(45240); - __ZN12_GLOBAL__N_120register_memory_viewItEEvPKc(45273); - __ZN12_GLOBAL__N_120register_memory_viewIiEEvPKc(45307); - __ZN12_GLOBAL__N_120register_memory_viewIjEEvPKc(45340); - __ZN12_GLOBAL__N_120register_memory_viewIfEEvPKc(); - __ZN12_GLOBAL__N_120register_memory_viewIdEEvPKc(); - __ZN12_GLOBAL__N_120register_memory_viewIeEEvPKc(); - return; -} - -function __ZNSt3__2L12ucs4_to_utf8EPKjS1_RS1_PhS3_RS3_mNS_12codecvt_modeE(i1, i7, i8, i3, i2, i9, i10, i4) { - i1 = i1 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0; - HEAP32[i8 >> 2] = i1; - HEAP32[i9 >> 2] = i3; - i6 = i2; - if (i4 & 2) if ((i6 - i3 | 0) < 3) i1 = 1; else { - HEAP32[i9 >> 2] = i3 + 1; - HEAP8[i3 >> 0] = -17; - i5 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = -69; - i5 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = -65; - i5 = 4; - } else i5 = 4; - L4 : do if ((i5 | 0) == 4) { - i1 = HEAP32[i8 >> 2] | 0; - while (1) { - if (i1 >>> 0 >= i7 >>> 0) { - i1 = 0; - break L4; - } - i3 = HEAP32[i1 >> 2] | 0; - if (i3 >>> 0 > i10 >>> 0 | (i3 & -2048 | 0) == 55296) { - i1 = 2; - break L4; - } - do if (i3 >>> 0 >= 128) { - if (i3 >>> 0 < 2048) { - i1 = HEAP32[i9 >> 2] | 0; - if ((i6 - i1 | 0) < 2) { - i1 = 1; - break L4; - } - HEAP32[i9 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i3 >>> 6 | 192; - i5 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = i3 & 63 | 128; - break; - } - i1 = HEAP32[i9 >> 2] | 0; - i2 = i6 - i1 | 0; - if (i3 >>> 0 < 65536) { - if ((i2 | 0) < 3) { - i1 = 1; - break L4; - } - HEAP32[i9 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i3 >>> 12 | 224; - i5 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = i3 >>> 6 & 63 | 128; - i5 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = i3 & 63 | 128; - break; + HEAP32[$2 + 8 >> 2] = $1; + $1 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 12 | 0, $2 + 8 | 0) >> 2]; + HEAP32[$2 + 12 >> 2] = $1; + if ($1 >>> 0 >= $3 >>> 0) { + break label$4; + } + std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________rehash_28unsigned_20long_29($0, $1); + } + __stack_pointer = $2 + 16 | 0; +} + +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____rehash_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = Math_fround(0), $5 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + label$1: { + if (($1 | 0) == 1) { + $1 = 2; + } else { + if (!($1 - 1 & $1)) { + break label$1; + } + $1 = std____2____next_prime_28unsigned_20long_29($1); + } + HEAP32[$2 + 12 >> 2] = $1; + } + $3 = std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____bucket_count_28_29_20const($0); + label$4: { + if ($3 >>> 0 < $1 >>> 0) { + std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______rehash_28unsigned_20long_29($0, $1); + break label$4; + } + if ($1 >>> 0 >= $3 >>> 0) { + break label$4; + } + $1 = std____2____is_hash_power2_28unsigned_20long_29($3); + $4 = ceil_28float_29(Math_fround(Math_fround(HEAPU32[std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____size_28_29($0) >> 2]) / HEAPF32[std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____max_load_factor_28_29($0) >> 2])); + label$6: { + if ($4 < Math_fround(4294967296) & $4 >= Math_fround(0)) { + $5 = ~~$4 >>> 0; + break label$6; + } + $5 = 0; + } + label$8: { + if ($1) { + $1 = std____2____next_hash_pow2_28unsigned_20long_29($5); + break label$8; + } + $1 = std____2____next_prime_28unsigned_20long_29($5); + } + HEAP32[$2 + 8 >> 2] = $1; + $1 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 12 | 0, $2 + 8 | 0) >> 2]; + HEAP32[$2 + 12 >> 2] = $1; + if ($1 >>> 0 >= $3 >>> 0) { + break label$4; + } + std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______rehash_28unsigned_20long_29($0, $1); + } + __stack_pointer = $2 + 16 | 0; +} + +function std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20bool_2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20double__29_20const($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 $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $0 = __stack_pointer - 624 | 0; + __stack_pointer = $0; + HEAP32[$0 + 608 >> 2] = $2; + HEAP32[$0 + 616 >> 2] = $1; + HEAP32[$0 + 16 >> 2] = 316; + $1 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28wchar_t__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0 + 200 | 0, $0 + 208 | 0, $0 + 16 | 0); + std____2__ios_base__getloc_28_29_20const($0 + 192 | 0, $4); + $7 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($0 + 192 | 0); + HEAP8[$0 + 191 | 0] = 0; + label$1: { + if (!std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20bool_2c_20std____2__locale_20const__2c_20unsigned_20int_2c_20unsigned_20int__2c_20bool__2c_20std____2__ctype_wchar_t__20const__2c_20std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___2c_20wchar_t___2c_20wchar_t__29($0 + 616 | 0, $2, $3, $0 + 192 | 0, std____2__ios_base__flags_28_29_20const($4), $5, $0 + 191 | 0, $7, $1, $0 + 196 | 0, $0 + 608 | 0)) { + break label$1; + } + $2 = HEAPU8[37349] | HEAPU8[37350] << 8 | (HEAPU8[37351] << 16 | HEAPU8[37352] << 24); + HEAP8[$0 + 183 | 0] = $2; + HEAP8[$0 + 184 | 0] = $2 >>> 8; + HEAP8[$0 + 185 | 0] = $2 >>> 16; + HEAP8[$0 + 186 | 0] = $2 >>> 24; + $2 = HEAPU8[37346] | HEAPU8[37347] << 8 | (HEAPU8[37348] << 16 | HEAPU8[37349] << 24); + HEAP32[$0 + 176 >> 2] = HEAPU8[37342] | HEAPU8[37343] << 8 | (HEAPU8[37344] << 16 | HEAPU8[37345] << 24); + HEAP32[$0 + 180 >> 2] = $2; + std____2__ctype_wchar_t___widen_28char_20const__2c_20char_20const__2c_20wchar_t__29_20const($7, $0 + 176 | 0, $0 + 186 | 0, $0 + 128 | 0); + HEAP32[$0 + 16 >> 2] = 315; + $7 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0 + 8 | 0, 0, $0 + 16 | 0); + $4 = $0 + 16 | 0; + label$2: { + if ((HEAP32[$0 + 196 >> 2] - std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($1) | 0) >= 393) { + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($7, dlmalloc((HEAP32[$0 + 196 >> 2] - std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($1) >> 2) + 2 | 0)); + if (!std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($7)) { + break label$2; + } + $4 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($7); + } + if (HEAPU8[$0 + 191 | 0]) { + HEAP8[$4 | 0] = 45; + $4 = $4 + 1 | 0; + } + $2 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($1); + while (1) { + if (HEAPU32[$0 + 196 >> 2] <= $2 >>> 0) { + label$7: { + HEAP8[$4 | 0] = 0; + HEAP32[$0 >> 2] = $6; + if ((sscanf($0 + 16 | 0, 31758, $0) | 0) != 1) { + break label$7; + } + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($7); + break label$1; + } } else { - if ((i2 | 0) < 4) { - i1 = 1; - break L4; - } - HEAP32[i9 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i3 >>> 18 | 240; - i5 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = i3 >>> 12 & 63 | 128; - i5 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = i3 >>> 6 & 63 | 128; - i5 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = i3 & 63 | 128; - break; + wasm2js_i32$0 = $4, wasm2js_i32$1 = HEAPU8[($0 + 176 | 0) + (wchar_t__20std____2__find_wchar_t__2c_20wchar_t__28wchar_t__2c_20wchar_t__2c_20wchar_t_20const__29($0 + 128 | 0, wchar_t__20std____2__end_wchar_t_2c_2010ul__28wchar_t_20_28__29_20_5b10ul_5d_29($0 + 128 | 0), $2) - ($0 + 128 | 0) >> 2) | 0], + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + $4 = $4 + 1 | 0; + $2 = $2 + 4 | 0; + continue; } - } else { - i1 = HEAP32[i9 >> 2] | 0; - if ((i6 - i1 | 0) < 1) { - i1 = 1; - break L4; - } - HEAP32[i9 >> 2] = i1 + 1; - HEAP8[i1 >> 0] = i3; - } while (0); - i1 = (HEAP32[i8 >> 2] | 0) + 4 | 0; - HEAP32[i8 >> 2] = i1; - } - } while (0); - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_114parse_decltypeINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i7 = i11 + 40 | 0; - i8 = i11 + 12 | 0; - i9 = i11 + 24 | 0; - i10 = i11; - L1 : do if ((i2 - i1 | 0) > 3 ? (HEAP8[i1 >> 0] | 0) == 68 : 0) { - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 84: - case 116: - break; - default: - break L1; - } - i12 = i1 + 2 | 0; - i5 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i12, i2, i3) | 0; - if ((!((i5 | 0) == (i12 | 0) | (i5 | 0) == (i2 | 0)) ? (HEAP8[i5 >> 0] | 0) == 69 : 0) ? (i6 = i3 + 4 | 0, i4 = HEAP32[i6 >> 2] | 0, (HEAP32[i3 >> 2] | 0) != (i4 | 0)) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i10, i4 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i10, 0, 50985) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i9, 49667) | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i7, i8); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i6 >> 2] | 0) + -24 | 0, i7); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - i1 = i5 + 1 | 0; - } - } while (0); - STACKTOP = i11; - return i1 | 0; -} - -function _decompress_data(i16, i17) { - i16 = i16 | 0; - i17 = i17 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0; - i19 = HEAP32[i16 + 428 >> 2] | 0; - i20 = i16 + 320 | 0; - i21 = (HEAP32[i20 >> 2] | 0) + -1 | 0; - i4 = i16 + 144 | 0; - i5 = i16 + 152 | 0; - i6 = i16 + 436 | 0; - i1 = i16 + 148 | 0; - i18 = i16 + 156 | 0; - while (1) { - i2 = HEAP32[i4 >> 2] | 0; - i3 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) >= (i3 | 0)) { - if ((i2 | 0) != (i3 | 0)) { - i7 = 6; break; } - if ((HEAP32[i1 >> 2] | 0) >>> 0 > (HEAP32[i18 >> 2] | 0) >>> 0) { - i7 = 6; - break; + std____2____throw_runtime_error_28char_20const__29($0); + abort(); + } + std____throw_bad_alloc_28_29(); + abort(); + } + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0 + 616 | 0, $0 + 608 | 0)) { + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 2; + } + $2 = HEAP32[$0 + 616 >> 2]; + std____2__locale___locale_28_29($0 + 192 | 0); + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29____unique_ptr_28_29($1); + __stack_pointer = $0 + 624 | 0; + return $2 | 0; +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_signed_long__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 272 | 0; + __stack_pointer = $6; + HEAP32[$6 + 256 >> 2] = $2; + HEAP32[$6 + 264 >> 2] = $1; + $1 = std____2____num_get_base____get_base_28std____2__ios_base__29($3); + $0 = std____2____num_get_char_____do_widen_28std____2__ios_base__2c_20char__29_20const($0, $3, $6 + 224 | 0); + std____2____num_get_char_____stage2_int_prep_28std____2__ios_base__2c_20char__29($6 + 208 | 0, $3, $6 + 255 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($6 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $2; + HEAP32[$6 + 12 >> 2] = $6 + 16; + HEAP32[$6 + 8 >> 2] = 0; + while (1) { + label$2: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($6 + 264 | 0, $6 + 256 | 0)) { + break label$2; + } + if (HEAP32[$6 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) + $2 | 0)) { + $7 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($3) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($3, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($3)); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($3, 0); + HEAP32[$6 + 188 >> 2] = $7 + $2; + } + if (std____2____num_get_char_____stage2_int_loop_28char_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20char_20const__29(std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($6 + 264 | 0), $1, $2, $6 + 188 | 0, $6 + 8 | 0, HEAP8[$6 + 255 | 0], $6 + 208 | 0, $6 + 16 | 0, $6 + 12 | 0, $0)) { + break label$2; } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($6 + 264 | 0); + continue; } - if (!(FUNCTION_TABLE_ii[HEAP32[HEAP32[i6 >> 2] >> 2] & 127](i16) | 0)) { - i1 = 0; - break; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6 + 208 | 0)) { + break label$4; + } + $0 = HEAP32[$6 + 12 >> 2]; + if (($0 - ($6 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$6 + 12 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = HEAP32[$6 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = long_20std____2____num_get_signed_integral_long__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($2, HEAP32[$6 + 188 >> 2], $4, $1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($6 + 208 | 0, $6 + 16 | 0, HEAP32[$6 + 12 >> 2], $4); + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($6 + 264 | 0, $6 + 256 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $2 = HEAP32[$6 + 264 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6 + 208 | 0); + __stack_pointer = $6 + 272 | 0; + return $2; +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_floating_point_float__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20float__29_20const($0, $1, $2, $3, $4, $5) { + var wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $0 = __stack_pointer - 272 | 0; + __stack_pointer = $0; + HEAP32[$0 + 256 >> 2] = $2; + HEAP32[$0 + 264 >> 2] = $1; + std____2____num_get_char_____stage2_float_prep_28std____2__ios_base__2c_20char__2c_20char__2c_20char__29($0 + 208 | 0, $3, $0 + 224 | 0, $0 + 223 | 0, $0 + 222 | 0); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$0 + 188 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = $0 + 16; + HEAP32[$0 + 8 >> 2] = 0; + HEAP8[$0 + 7 | 0] = 1; + HEAP8[$0 + 6 | 0] = 69; + while (1) { + label$2: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($0 + 264 | 0, $0 + 256 | 0)) { + break label$2; + } + if (HEAP32[$0 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) + $1 | 0)) { + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$0 + 188 >> 2] = $3 + $1; + } + if (std____2____num_get_char_____stage2_float_loop_28char_2c_20bool__2c_20char__2c_20char__2c_20char___2c_20char_2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20unsigned_20int__2c_20char__29(std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0 + 264 | 0), $0 + 7 | 0, $0 + 6 | 0, $1, $0 + 188 | 0, HEAP8[$0 + 223 | 0], HEAP8[$0 + 222 | 0], $0 + 208 | 0, $0 + 16 | 0, $0 + 12 | 0, $0 + 8 | 0, $0 + 224 | 0)) { + break label$2; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0 + 264 | 0); + continue; } + break; } - if ((i7 | 0) == 6) { - i12 = i16 + 36 | 0; - i13 = i16 + 4 | 0; - i14 = i16 + 448 | 0; - i10 = HEAP32[i16 + 216 >> 2] | 0; - i11 = 0; - while (1) { - if ((i11 | 0) >= (HEAP32[i12 >> 2] | 0)) break; - L12 : do if (HEAP32[i10 + 48 >> 2] | 0) { - i1 = i10 + 12 | 0; - i15 = HEAP32[i1 >> 2] | 0; - i9 = Math_imul(i15, HEAP32[i18 >> 2] | 0) | 0; - i15 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[i13 >> 2] | 0) + 32 >> 2] & 31](i16, HEAP32[i19 + 72 + (i11 << 2) >> 2] | 0, i9, i15, 0) | 0; - if ((HEAP32[i18 >> 2] | 0) >>> 0 < i21 >>> 0) i5 = HEAP32[i1 >> 2] | 0; else { - i9 = HEAP32[i1 >> 2] | 0; - i5 = ((HEAP32[i10 + 32 >> 2] | 0) >>> 0) % (i9 >>> 0) | 0; - i5 = (i5 | 0) == 0 ? i9 : i5; - } - i7 = HEAP32[(HEAP32[i14 >> 2] | 0) + 4 + (i11 << 2) >> 2] | 0; - i8 = i10 + 28 | 0; - i9 = i10 + 36 | 0; - i2 = HEAP32[i17 + (i11 << 2) >> 2] | 0; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i5 | 0)) break L12; - i1 = 0; - i3 = HEAP32[i15 + (i6 << 2) >> 2] | 0; - i4 = 0; - while (1) { - if (i4 >>> 0 >= (HEAP32[i8 >> 2] | 0) >>> 0) break; - FUNCTION_TABLE_viiiii[i7 & 31](i16, i10, i3, i2, i1); - i1 = (HEAP32[i9 >> 2] | 0) + i1 | 0; - i3 = i3 + 128 | 0; - i4 = i4 + 1 | 0; - } - i2 = i2 + (HEAP32[i9 >> 2] << 2) | 0; - i6 = i6 + 1 | 0; - } - } while (0); - i10 = i10 + 84 | 0; - i11 = i11 + 1 | 0; - } - i1 = (HEAP32[i18 >> 2] | 0) + 1 | 0; - HEAP32[i18 >> 2] = i1; - i1 = i1 >>> 0 < (HEAP32[i20 >> 2] | 0) >>> 0 ? 3 : 4; - } - return i1 | 0; -} - -function __ZNSt3__2L19utf8_to_ucs4_lengthEPKhS1_mmNS_12codecvt_modeE(i10, i11, i12, i13, i1) { - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i9 = i11; - if ((((i1 & 4 | 0) != 0 ? (i9 - i10 | 0) > 2 : 0) ? (HEAP8[i10 >> 0] | 0) == -17 : 0) ? (HEAP8[i10 + 1 >> 0] | 0) == -69 : 0) i1 = (HEAP8[i10 + 2 >> 0] | 0) == -65 ? i10 + 3 | 0 : i10; else i1 = i10; - i8 = 0; - L7 : while (1) { - if (!(i8 >>> 0 < i12 >>> 0 & i1 >>> 0 < i11 >>> 0)) break; - i5 = HEAP8[i1 >> 0] | 0; - i7 = i5 & 255; - do if (i5 << 24 >> 24 <= -1) { - if ((i5 & 255) < 194) break L7; - if ((i5 & 255) < 224) { - if ((i9 - i1 | 0) < 2) break L7; - i2 = HEAPU8[i1 + 1 >> 0] | 0; - if ((i2 & 192 | 0) != 128) break L7; - if ((i2 & 63 | i7 << 6 & 1984) >>> 0 > i13 >>> 0) break L7; - i1 = i1 + 2 | 0; - break; + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0 + 208 | 0) | !HEAPU8[$0 + 7 | 0]) { + break label$4; + } + $3 = HEAP32[$0 + 12 >> 2]; + if (($3 - ($0 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$0 + 12 >> 2] = $3 + 4; + HEAP32[$3 >> 2] = HEAP32[$0 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_f32$0 = float_20std____2____num_get_float_float__28char_20const__2c_20char_20const__2c_20unsigned_20int__29($1, HEAP32[$0 + 188 >> 2], $4), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($0 + 208 | 0, $0 + 16 | 0, HEAP32[$0 + 12 >> 2], $4); + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0 + 264 | 0, $0 + 256 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $1 = HEAP32[$0 + 264 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0 + 208 | 0); + __stack_pointer = $0 + 272 | 0; + return $1; +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____20std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____find_int__28int_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $4 = std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____hash_function_28_29($0), $1); + label$1: { + label$2: { + $5 = std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____bucket_count_28_29_20const($0); + if (!$5) { + break label$2; + } + $6 = std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($4, $5); + $2 = HEAP32[std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $6) >> 2]; + if (!$2) { + break label$2; } - if ((i5 & 255) < 240) { - if ((i9 - i1 | 0) < 3) break L7; - i3 = HEAP8[i1 + 1 >> 0] | 0; - i2 = HEAP8[i1 + 2 >> 0] | 0; - switch (i5 << 24 >> 24) { - case -32: - { - if ((i3 & -32) << 24 >> 24 != -96) break L7; - break; - } - case -19: - { - if ((i3 & -32) << 24 >> 24 != -128) break L7; - break; - } - default: - if ((i3 & -64) << 24 >> 24 != -128) break L7; - } - i2 = i2 & 255; - if ((i2 & 192 | 0) != 128) break L7; - if (((i3 & 63) << 6 | i7 << 12 & 61440 | i2 & 63) >>> 0 > i13 >>> 0) break L7; else { - i1 = i1 + 3 | 0; - break; + while (1) { + $2 = HEAP32[$2 >> 2]; + if (!$2) { + break label$2; } - } - if ((i5 & 255) >= 245) break L7; - if ((i9 - i1 | 0) < 4) break L7; - i6 = HEAP8[i1 + 1 >> 0] | 0; - i2 = HEAP8[i1 + 2 >> 0] | 0; - i4 = HEAP8[i1 + 3 >> 0] | 0; - switch (i5 << 24 >> 24) { - case -16: - { - if ((i6 + 112 & 255) >= 48) break L7; - break; + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_28_29_20const($2) | 0) != ($4 | 0)) { + if ((std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_28_29_20const($2), $5) | 0) != ($6 | 0)) { + break label$2; + } } - case -12: - { - if ((i6 & -16) << 24 >> 24 != -128) break L7; - break; + if ((std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_28_29_20const($2) | 0) != ($4 | 0)) { + continue; } - default: - if ((i6 & -64) << 24 >> 24 != -128) break L7; - } - i3 = i2 & 255; - if ((i3 & 192 | 0) != 128) break L7; - i2 = i4 & 255; - if ((i2 & 192 | 0) != 128) break L7; - if (((i6 & 63) << 12 | i7 << 18 & 1835008 | i3 << 6 & 4032 | i2 & 63) >>> 0 > i13 >>> 0) break L7; else i1 = i1 + 4 | 0; - } else { - if (i7 >>> 0 > i13 >>> 0) break L7; - i1 = i1 + 1 | 0; - } while (0); - i8 = i8 + 1 | 0; - } - return i1 - i10 | 0; -} - -function __ZNK6vision25GaussianScaleSpacePyramid3getEmm(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i6; - if ((HEAP32[i1 + 16 >> 2] | 0) >>> 0 <= i2 >>> 0) { - i4 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32473) | 0, 32320) | 0, 33528) | 0, 218) | 0, 33535) | 0, 20676) | 0; - __ZNKSt3__28ios_base6getlocEv(i5, i4 + (HEAP32[(HEAP32[i4 >> 2] | 0) + -12 >> 2] | 0) | 0); - i7 = __ZNKSt3__26locale9use_facetERNS0_2idE(i5, 57916) | 0; - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i7 >> 2] | 0) + 28 >> 2] & 63](i7, 10) | 0; - __ZNSt3__26localeD2Ev(i5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i4, i7) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i4) | 0; - _abort(); - } - i4 = HEAP32[i1 + 20 >> 2] | 0; - if (i4 >>> 0 > i3 >>> 0) { - i7 = (Math_imul(i4, i2) | 0) + i3 | 0; - STACKTOP = i6; - return (HEAP32[i1 + 4 >> 2] | 0) + (i7 << 5) | 0; - } else { - i7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32617) | 0, 32320) | 0, 33528) | 0, 219) | 0, 33535) | 0, 20696) | 0; - __ZNKSt3__28ios_base6getlocEv(i5, i7 + (HEAP32[(HEAP32[i7 >> 2] | 0) + -12 >> 2] | 0) | 0); - i6 = __ZNKSt3__26locale9use_facetERNS0_2idE(i5, 57916) | 0; - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 63](i6, 10) | 0; - __ZNSt3__26localeD2Ev(i5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i7, i6) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i7) | 0; - _abort(); - } - return 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7replaceEmmPKcm(i11, i8) { - i11 = i11 | 0; - i8 = i8 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i12 = 0, i13 = 0, i14 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i12 = i14; - i13 = i11 + 11 | 0; - i1 = HEAP8[i13 >> 0] | 0; - i2 = i1 << 24 >> 24 < 0; - if (i2) { - i10 = HEAP32[i11 + 4 >> 2] | 0; - i6 = i10 >>> 0 < 11 ? i10 : 11; - i1 = (HEAP32[i11 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - i10 = i1 & 255; - i6 = i10 >>> 0 < 11 ? i10 : 11; - i1 = 10; - } - if ((i6 - i10 + i1 | 0) >>> 0 < i8 >>> 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE21__grow_by_and_replaceEmmmmmmPKc(i11, i1, i8 - i6 + i10 - i1 | 0, i10, 0, i6, i8, 51088); else { - if (i2) i9 = HEAP32[i11 >> 2] | 0; else i9 = i11; - do if ((i6 | 0) != (i8 | 0)) { - i5 = i10 - i6 | 0; - if (!i5) { - i2 = i6; - i4 = 0; - i3 = 51088; - i1 = i8; - i7 = 17; - } else { - if (i6 >>> 0 > i8 >>> 0) { - __ZNSt3__211char_traitsIcE4moveEPcPKcm(i9, 51088, i8) | 0; - __ZNSt3__211char_traitsIcE4moveEPcPKcm(i9 + i8 | 0, i9 + i6 | 0, i5) | 0; - i2 = i6; - i1 = i8; - break; + if (!std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20ARParam__20const__2c_20int_20const__29_20const(std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____key_eq_28_29($0), std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________upcast_28_29($2) + 8 | 0, $1)) { + continue; } - do if (i9 >>> 0 < 51088 >>> 0 & (i9 + i10 | 0) >>> 0 > 51088 >>> 0) if ((i9 + i6 | 0) >>> 0 > 51088 >>> 0) { - __ZNSt3__211char_traitsIcE4moveEPcPKcm(i9, 51088, i6) | 0; - i2 = 0; - i4 = i6; - i3 = 51088 + i8 | 0; - i1 = i8 - i6 | 0; - break; - } else { - i2 = i6; - i4 = 0; - i3 = 51088 + (i8 - i6) | 0; - i1 = i8; - break; - } else { - i2 = i6; - i4 = 0; - i3 = 51088; - i1 = i8; - } while (0); - i7 = i9 + i4 | 0; - __ZNSt3__211char_traitsIcE4moveEPcPKcm(i7 + i1 | 0, i7 + i2 | 0, i5) | 0; - i7 = 17; + break; } - } else { - i2 = i8; - i4 = 0; - i3 = 51088; - i1 = i8; - i7 = 17; - } while (0); - if ((i7 | 0) == 17) __ZNSt3__211char_traitsIcE4moveEPcPKcm(i9 + i4 | 0, i3, i1) | 0; - i1 = i1 - i2 + i10 | 0; - if ((HEAP8[i13 >> 0] | 0) < 0) HEAP32[i11 + 4 >> 2] = i1; else HEAP8[i13 >> 0] = i1; - HEAP8[i12 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i9 + i1 | 0, i12); - } - STACKTOP = i14; - return; -} - -function _arParamChangeSize(i3, i1, i2, i5) { - i3 = i3 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i5 = i5 | 0; - var d4 = 0.0, d6 = 0.0, i7 = 0; - d6 = +(i1 | 0) / +(HEAP32[i3 >> 2] | 0); - d4 = +(i2 | 0) / +(HEAP32[i3 + 4 >> 2] | 0); - HEAP32[i5 >> 2] = i1; - HEAP32[i5 + 4 >> 2] = i2; - i1 = 0; + $2 = HEAP32[std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______29($3 + 8 | 0, $2) >> 2]; + break label$1; + } + $2 = std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____end_28_29($0); + HEAP32[$3 + 8 >> 2] = $2; + } + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_floating_point_double__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20double__29_20const($0, $1, $2, $3, $4, $5) { + var wasm2js_i32$0 = 0, wasm2js_f64$0 = 0; + $0 = __stack_pointer - 272 | 0; + __stack_pointer = $0; + HEAP32[$0 + 256 >> 2] = $2; + HEAP32[$0 + 264 >> 2] = $1; + std____2____num_get_char_____stage2_float_prep_28std____2__ios_base__2c_20char__2c_20char__2c_20char__29($0 + 208 | 0, $3, $0 + 224 | 0, $0 + 223 | 0, $0 + 222 | 0); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$0 + 188 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = $0 + 16; + HEAP32[$0 + 8 >> 2] = 0; + HEAP8[$0 + 7 | 0] = 1; + HEAP8[$0 + 6 | 0] = 69; while (1) { - if ((i1 | 0) == 4) break; - HEAPF64[i5 + 8 + (i1 << 3) >> 3] = d6 * +HEAPF64[i3 + 8 + (i1 << 3) >> 3]; - HEAPF64[i5 + 40 + (i1 << 3) >> 3] = d4 * +HEAPF64[i3 + 40 + (i1 << 3) >> 3]; - HEAPF64[i5 + 72 + (i1 << 3) >> 3] = +HEAPF64[i3 + 72 + (i1 << 3) >> 3]; - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i3 + 176 >> 2] | 0; - switch (i1 | 0) { - case 4: - { - HEAPF64[i5 + 104 >> 3] = +HEAPF64[i3 + 104 >> 3]; - HEAPF64[i5 + 112 >> 3] = +HEAPF64[i3 + 112 >> 3]; - HEAPF64[i5 + 120 >> 3] = +HEAPF64[i3 + 120 >> 3]; - HEAPF64[i5 + 128 >> 3] = +HEAPF64[i3 + 128 >> 3]; - HEAPF64[i5 + 136 >> 3] = d6 * +HEAPF64[i3 + 136 >> 3]; - HEAPF64[i5 + 144 >> 3] = d4 * +HEAPF64[i3 + 144 >> 3]; - HEAPF64[i5 + 152 >> 3] = d6 * +HEAPF64[i3 + 152 >> 3]; - HEAPF64[i5 + 160 >> 3] = d4 * +HEAPF64[i3 + 160 >> 3]; - HEAPF64[i5 + 168 >> 3] = +HEAPF64[i3 + 168 >> 3]; - i7 = 9; - break; - } - case 3: - { - HEAPF64[i5 + 104 >> 3] = d6 * +HEAPF64[i3 + 104 >> 3]; - HEAPF64[i5 + 112 >> 3] = d4 * +HEAPF64[i3 + 112 >> 3]; - HEAPF64[i5 + 120 >> 3] = +HEAPF64[i3 + 120 >> 3]; - HEAPF64[i5 + 128 >> 3] = +HEAPF64[i3 + 128 >> 3]; - HEAPF64[i5 + 136 >> 3] = +HEAPF64[i3 + 136 >> 3] / (d6 * d4); - HEAPF64[i5 + 144 >> 3] = +HEAPF64[i3 + 144 >> 3] / (d4 * (d6 * d6 * d4)); - i7 = 9; - break; - } - case 2: - { - HEAPF64[i5 + 104 >> 3] = d6 * +HEAPF64[i3 + 104 >> 3]; - HEAPF64[i5 + 112 >> 3] = d4 * +HEAPF64[i3 + 112 >> 3]; - HEAPF64[i5 + 120 >> 3] = +HEAPF64[i3 + 120 >> 3]; - HEAPF64[i5 + 128 >> 3] = +HEAPF64[i3 + 128 >> 3] / (d6 * d4); - HEAPF64[i5 + 136 >> 3] = +HEAPF64[i3 + 136 >> 3] / (d4 * (d6 * d6 * d4)); - i7 = 9; - break; - } - case 1: - { - HEAPF64[i5 + 104 >> 3] = d6 * +HEAPF64[i3 + 104 >> 3]; - HEAPF64[i5 + 112 >> 3] = d4 * +HEAPF64[i3 + 112 >> 3]; - HEAPF64[i5 + 120 >> 3] = +HEAPF64[i3 + 120 >> 3]; - HEAPF64[i5 + 128 >> 3] = +HEAPF64[i3 + 128 >> 3] / (d6 * d4); - i7 = 9; - break; - } - default: - i1 = -1; - } - if ((i7 | 0) == 9) { - HEAP32[i5 + 176 >> 2] = i1; - i1 = 0; - } - return i1 | 0; -} - -function _pop_arg_731(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, d6 = 0.0; - L1 : do if (i2 >>> 0 <= 20) do switch (i2 | 0) { - case 9: - { - i2 = (HEAP32[i3 >> 2] | 0) + (4 - 1) & ~(4 - 1); - i4 = HEAP32[i2 >> 2] | 0; - HEAP32[i3 >> 2] = i2 + 4; - HEAP32[i1 >> 2] = i4; - break L1; - } - case 10: - { - i4 = (HEAP32[i3 >> 2] | 0) + (4 - 1) & ~(4 - 1); - i2 = HEAP32[i4 >> 2] | 0; - HEAP32[i3 >> 2] = i4 + 4; - i4 = i1; - HEAP32[i4 >> 2] = i2; - HEAP32[i4 + 4 >> 2] = ((i2 | 0) < 0) << 31 >> 31; - break L1; - } - case 11: - { - i4 = (HEAP32[i3 >> 2] | 0) + (4 - 1) & ~(4 - 1); - i2 = HEAP32[i4 >> 2] | 0; - HEAP32[i3 >> 2] = i4 + 4; - i4 = i1; - HEAP32[i4 >> 2] = i2; - HEAP32[i4 + 4 >> 2] = 0; - break L1; - } - case 12: - { - i4 = (HEAP32[i3 >> 2] | 0) + (8 - 1) & ~(8 - 1); - i2 = i4; - i5 = HEAP32[i2 >> 2] | 0; - i2 = HEAP32[i2 + 4 >> 2] | 0; - HEAP32[i3 >> 2] = i4 + 8; - i4 = i1; - HEAP32[i4 >> 2] = i5; - HEAP32[i4 + 4 >> 2] = i2; - break L1; - } - case 13: - { - i5 = (HEAP32[i3 >> 2] | 0) + (4 - 1) & ~(4 - 1); - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i3 >> 2] = i5 + 4; - i4 = (i4 & 65535) << 16 >> 16; - i5 = i1; - HEAP32[i5 >> 2] = i4; - HEAP32[i5 + 4 >> 2] = ((i4 | 0) < 0) << 31 >> 31; - break L1; - } - case 14: - { - i5 = (HEAP32[i3 >> 2] | 0) + (4 - 1) & ~(4 - 1); - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i3 >> 2] = i5 + 4; - i5 = i1; - HEAP32[i5 >> 2] = i4 & 65535; - HEAP32[i5 + 4 >> 2] = 0; - break L1; - } - case 15: - { - i5 = (HEAP32[i3 >> 2] | 0) + (4 - 1) & ~(4 - 1); - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i3 >> 2] = i5 + 4; - i4 = (i4 & 255) << 24 >> 24; - i5 = i1; - HEAP32[i5 >> 2] = i4; - HEAP32[i5 + 4 >> 2] = ((i4 | 0) < 0) << 31 >> 31; - break L1; - } - case 16: - { - i5 = (HEAP32[i3 >> 2] | 0) + (4 - 1) & ~(4 - 1); - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i3 >> 2] = i5 + 4; - i5 = i1; - HEAP32[i5 >> 2] = i4 & 255; - HEAP32[i5 + 4 >> 2] = 0; - break L1; - } - case 17: - { - i5 = (HEAP32[i3 >> 2] | 0) + (8 - 1) & ~(8 - 1); - d6 = +HEAPF64[i5 >> 3]; - HEAP32[i3 >> 2] = i5 + 8; - HEAPF64[i1 >> 3] = d6; - break L1; - } - case 18: - { - FUNCTION_TABLE_vii[i4 & 63](i1, i3); - break L1; - } - default: - break L1; - } while (0); while (0); - return; -} - -function __ZNK6vision25GaussianScaleSpacePyramid14effectiveSigmaEmf(i1, i2, d3) { - i1 = i1 | 0; - i2 = i2 | 0; - d3 = +d3; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - if (!(d3 >= 0.0)) { - i6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32560) | 0, 32320) | 0, 33528) | 0, 232) | 0, 33535) | 0, 32594) | 0; - __ZNKSt3__28ios_base6getlocEv(i4, i6 + (HEAP32[(HEAP32[i6 >> 2] | 0) + -12 >> 2] | 0) | 0); - i7 = __ZNKSt3__26locale9use_facetERNS0_2idE(i4, 57916) | 0; - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i7 >> 2] | 0) + 28 >> 2] & 63](i7, 10) | 0; - __ZNSt3__26localeD2Ev(i4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i6, i7) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i6) | 0; - _abort(); - } - if (+(HEAP32[i1 + 20 >> 2] | 0) > d3) { - d3 = +Math_pow(+(+HEAPF32[i1 + 24 >> 2]), +d3) * +(1 << i2 | 0); - STACKTOP = i5; - return +d3; - } else { - i7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 32617) | 0, 32320) | 0, 33528) | 0, 233) | 0, 33535) | 0, 32668) | 0; - __ZNKSt3__28ios_base6getlocEv(i4, i7 + (HEAP32[(HEAP32[i7 >> 2] | 0) + -12 >> 2] | 0) | 0); - i6 = __ZNKSt3__26locale9use_facetERNS0_2idE(i4, 57916) | 0; - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 63](i6, 10) | 0; - __ZNSt3__26localeD2Ev(i4); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i7, i6) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i7) | 0; - _abort(); - } - return +(0.0); -} - -function __ZN10__cxxabiv112_GLOBAL__N_137parse_sizeof_function_param_pack_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i8 = i12 + 40 | 0; - i9 = i12 + 12 | 0; - i10 = i12 + 24 | 0; - i11 = i12; - if ((((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 115 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 90 : 0) ? (i3 = i1 + 2 | 0, (HEAP8[i3 >> 0] | 0) == 102) : 0) ? (i6 = __ZN10__cxxabiv112_GLOBAL__N_120parse_function_paramINS0_2DbEEEPKcS4_S4_RT_(i3, i2, i4) | 0, (i6 | 0) != (i3 | 0)) : 0) ? (i7 = i4 + 4 | 0, i5 = HEAP32[i7 >> 2] | 0, (HEAP32[i4 >> 2] | 0) != (i5 | 0)) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i11, i5 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i11, 0, 49880) | 0; - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i10 + 4 >> 2] = HEAP32[i11 + 4 >> 2]; - HEAP32[i10 + 8 >> 2] = HEAP32[i11 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i11 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i10, 49667) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i8, i9); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i7 >> 2] | 0) + -24 | 0, i8); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i11); - i1 = i6; - } - STACKTOP = i12; - return i1 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE23__append_forward_unsafeIPKcEERS7_T_SC_(i11, i1, i8) { - i11 = i11 | 0; - i1 = i1 | 0; - i8 = i8 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i1; - i10 = i13; - i12 = i11 + 11 | 0; - i4 = HEAP8[i12 >> 0] | 0; - i2 = i4 << 24 >> 24 < 0; - if (i2) { - i9 = HEAP32[i11 + 4 >> 2] | 0; - i5 = (HEAP32[i11 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - i9 = i4 & 255; - i5 = 10; - } - i7 = i8 - i6 | 0; - do if (i7 | 0) { - if (i2) { - i3 = HEAP32[i11 >> 2] | 0; - i2 = HEAP32[i11 + 4 >> 2] | 0; - } else { - i3 = i11; - i2 = i4 & 255; - } - if (__ZNSt3__214__ptr_in_rangeIcEEbPKT_S3_S3_(i1, i3, i3 + i2 | 0) | 0) { - HEAP32[i10 >> 2] = 0; - HEAP32[i10 + 4 >> 2] = 0; - HEAP32[i10 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(i10, i1, i8); - i12 = HEAP8[i10 + 11 >> 0] | 0; - i9 = i12 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i11, i9 ? HEAP32[i10 >> 2] | 0 : i10, i9 ? HEAP32[i10 + 4 >> 2] | 0 : i12 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - break; - } - if ((i5 - i9 | 0) >>> 0 < i7 >>> 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9__grow_byEmmmmmm(i11, i5, i9 + i7 - i5 | 0, i9, i9, 0); - if ((HEAP8[i12 >> 0] | 0) < 0) i4 = HEAP32[i11 >> 2] | 0; else i4 = i11; - i3 = i8 + (i9 - i6) | 0; - i2 = i4 + i9 | 0; - while (1) { - if ((i1 | 0) == (i8 | 0)) break; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i1); - i2 = i2 + 1 | 0; - i1 = i1 + 1 | 0; - } - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i4 + i3 | 0, i10); - i1 = i9 + i7 | 0; - if ((HEAP8[i12 >> 0] | 0) < 0) { - HEAP32[i11 + 4 >> 2] = i1; - break; - } else { - HEAP8[i12 >> 0] = i1; - break; - } - } while (0); - STACKTOP = i13; - return; -} - -function _per_scan_setup_34(i5) { - i5 = i5 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i6 = i5 + 328 | 0; - i1 = HEAP32[i6 >> 2] | 0; - L1 : do if ((i1 | 0) == 1) { - i6 = HEAP32[i5 + 332 >> 2] | 0; - HEAP32[i5 + 348 >> 2] = HEAP32[i6 + 28 >> 2]; - i4 = HEAP32[i6 + 32 >> 2] | 0; - HEAP32[i5 + 352 >> 2] = i4; - HEAP32[i6 + 52 >> 2] = 1; - HEAP32[i6 + 56 >> 2] = 1; - HEAP32[i6 + 60 >> 2] = 1; - HEAP32[i6 + 64 >> 2] = HEAP32[i6 + 36 >> 2]; - HEAP32[i6 + 68 >> 2] = 1; - i3 = HEAP32[i6 + 12 >> 2] | 0; - i4 = (i4 >>> 0) % (i3 >>> 0) | 0; - HEAP32[i6 + 72 >> 2] = (i4 | 0) == 0 ? i3 : i4; - HEAP32[i5 + 356 >> 2] = 1; - HEAP32[i5 + 360 >> 2] = 0; - } else { - if ((i1 + -1 | 0) >>> 0 > 3) { - i3 = HEAP32[i5 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 26; - HEAP32[i3 + 24 >> 2] = i1; - HEAP32[(HEAP32[i5 >> 2] | 0) + 28 >> 2] = 4; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i5 >> 2] >> 2] & 255](i5); - i3 = i5; - } else i3 = i5; - i4 = _jdiv_round_up(HEAP32[i5 + 28 >> 2] | 0, HEAP32[i5 + 308 >> 2] << 3) | 0; - HEAP32[i5 + 348 >> 2] = i4; - i4 = _jdiv_round_up(HEAP32[i5 + 32 >> 2] | 0, HEAP32[i5 + 312 >> 2] << 3) | 0; - HEAP32[i5 + 352 >> 2] = i4; - i4 = i5 + 356 | 0; - HEAP32[i4 >> 2] = 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (HEAP32[i6 >> 2] | 0)) break L1; - i7 = HEAP32[i5 + 332 + (i2 << 2) >> 2] | 0; - i10 = HEAP32[i7 + 8 >> 2] | 0; - HEAP32[i7 + 52 >> 2] = i10; - i9 = HEAP32[i7 + 12 >> 2] | 0; - HEAP32[i7 + 56 >> 2] = i9; - i1 = Math_imul(i9, i10) | 0; - HEAP32[i7 + 60 >> 2] = i1; - i8 = Math_imul(HEAP32[i7 + 36 >> 2] | 0, i10) | 0; - HEAP32[i7 + 64 >> 2] = i8; - i8 = ((HEAP32[i7 + 28 >> 2] | 0) >>> 0) % (i10 >>> 0) | 0; - HEAP32[i7 + 68 >> 2] = (i8 | 0) == 0 ? i10 : i8; - i8 = ((HEAP32[i7 + 32 >> 2] | 0) >>> 0) % (i9 >>> 0) | 0; - HEAP32[i7 + 72 >> 2] = (i8 | 0) == 0 ? i9 : i8; - if (((HEAP32[i4 >> 2] | 0) + i1 | 0) > 10) { - i10 = HEAP32[i5 >> 2] | 0; - HEAP32[i10 + 20 >> 2] = 13; - FUNCTION_TABLE_vi[HEAP32[i10 >> 2] & 255](i3); + label$2: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($0 + 264 | 0, $0 + 256 | 0)) { + break label$2; } - while (1) { - if ((i1 | 0) <= 0) break; - i10 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = i10 + 1; - HEAP32[i5 + 360 + (i10 << 2) >> 2] = i2; - i1 = i1 + -1 | 0; - } - i2 = i2 + 1 | 0; - } - } while (0); - return; -} - -function _getNFTMarkerInfo(i1, i7) { - i1 = i1 | 0; - i7 = i7 | 0; - var i2 = 0, i3 = 0, d4 = 0.0, i5 = 0, i6 = 0, i8 = 0, i9 = 0, d10 = 0.0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i2 = i9 + 52 | 0; - i5 = i9 + 56 | 0; - i3 = i9 + 48 | 0; - i8 = i9; - HEAP32[i2 >> 2] = i1; - do if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = HEAP32[3413] | 0; else { - i1 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0; - if ((HEAP32[i1 + 240 >> 2] | 0) <= (i7 | 0)) { - i1 = HEAP32[3415] | 0; - break; - } - HEAP32[i5 >> 2] = 0; - HEAP32[i3 >> 2] = -1; - _kpmGetResult(HEAP32[i1 + 232 >> 2] | 0, i5, i3) | 0; - i6 = HEAP32[i3 >> 2] | 0; - i5 = HEAP32[i5 >> 2] | 0; - d4 = -1.0; - i3 = -1; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i6 | 0)) break; - if ((HEAP32[i5 + (i2 * 68 | 0) + 48 >> 2] | 0) == (i7 | 0) ? (HEAP32[i5 + (i2 * 68 | 0) + 60 >> 2] | 0) == 0 : 0) { - d10 = +HEAPF32[i5 + (i2 * 68 | 0) + 52 >> 2]; - i1 = (i3 | 0) == -1 | d4 > d10; - d4 = i1 ? d10 : d4; - i1 = i1 ? i2 : i3; - } else i1 = i3; - i3 = i1; - i2 = i2 + 1 | 0; - } - if ((i3 | 0) > -1) { - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - HEAP32[i8 + (i2 << 4) + (i1 << 2) >> 2] = HEAP32[i5 + (i3 * 68 | 0) + (i2 << 4) + (i1 << 2) >> 2]; - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - _emscripten_asm_const_iiddddddddddddd(3, i7 | 0, +d4, +(+HEAPF32[i8 >> 2]), +(+HEAPF32[i8 + 4 >> 2]), +(+HEAPF32[i8 + 8 >> 2]), +(+HEAPF32[i8 + 12 >> 2]), +(+HEAPF32[i8 + 16 >> 2]), +(+HEAPF32[i8 + 20 >> 2]), +(+HEAPF32[i8 + 24 >> 2]), +(+HEAPF32[i8 + 28 >> 2]), +(+HEAPF32[i8 + 32 >> 2]), +(+HEAPF32[i8 + 36 >> 2]), +(+HEAPF32[i8 + 40 >> 2]), +(+HEAPF32[i8 + 44 >> 2])) | 0; - } else _emscripten_asm_const_ii(4, i7 | 0) | 0; - i1 = 0; - } while (0); - STACKTOP = i9; - return i1 | 0; -} - -function __ZNK6vision5Timer19duration_in_secondsEv(i1) { - i1 = i1 | 0; - var d2 = 0.0, i3 = 0, d4 = 0.0, i5 = 0, i6 = 0, i7 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i5; - d4 = +HEAPF64[i1 >> 3]; - if (!(d4 >= 0.0)) { - i6 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 33380) | 0, 33419) | 0, 33528) | 0, 80) | 0, 33535) | 0, 33538) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i6 + (HEAP32[(HEAP32[i6 >> 2] | 0) + -12 >> 2] | 0) | 0); - i7 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i7 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i7 >> 2] | 0) + 28 >> 2] & 63](i7, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i6, i7) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i6) | 0; - _abort(); - } - d2 = +HEAPF64[i1 + 8 >> 3]; - if (!(d2 >= 0.0)) { - i7 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 33565) | 0, 33419) | 0, 33528) | 0, 81) | 0, 33535) | 0, 33603) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i7 + (HEAP32[(HEAP32[i7 >> 2] | 0) + -12 >> 2] | 0) | 0); - i6 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i6 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 63](i6, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i7, i6) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i7) | 0; - _abort(); - } else { - STACKTOP = i5; - return +(d2 - d4); - } - return +(0.0); -} - -function _qsort(i2, i1, i7, i8) { - i2 = i2 | 0; - i1 = i1 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 208 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); - i9 = i12; - i10 = i12 + 192 | 0; - i5 = Math_imul(i7, i1) | 0; - i6 = i10; - HEAP32[i6 >> 2] = 1; - HEAP32[i6 + 4 >> 2] = 0; - L1 : do if (i5 | 0) { - i6 = 0 - i7 | 0; - HEAP32[i9 + 4 >> 2] = i7; - HEAP32[i9 >> 2] = i7; - i3 = 2; - i1 = i7; - i4 = i7; - while (1) { - i1 = i1 + i7 + i4 | 0; - HEAP32[i9 + (i3 << 2) >> 2] = i1; - if (i1 >>> 0 < i5 >>> 0) { - i13 = i4; - i3 = i3 + 1 | 0; - i4 = i1; - i1 = i13; - } else break; - } - i4 = i2 + i5 + i6 | 0; - if (i4 >>> 0 > i2 >>> 0) { - i5 = i4; - i3 = 1; - i1 = 1; - do { - do if ((i1 & 3 | 0) != 3) { - i1 = i3 + -1 | 0; - if ((HEAP32[i9 + (i1 << 2) >> 2] | 0) >>> 0 < (i5 - i2 | 0) >>> 0) _sift(i2, i7, i8, i3, i9); else _trinkle(i2, i7, i8, i10, i3, 0, i9); - if ((i3 | 0) == 1) { - _shl(i10, 1); - i3 = 0; - break; - } else { - _shl(i10, i1); - i3 = 1; - break; - } - } else { - _sift(i2, i7, i8, i3, i9); - _shr(i10, 2); - i3 = i3 + 2 | 0; - } while (0); - i1 = HEAP32[i10 >> 2] | 1; - HEAP32[i10 >> 2] = i1; - i2 = i2 + i7 | 0; - } while (i2 >>> 0 < i4 >>> 0); - } else { - i3 = 1; - i1 = 1; + if (HEAP32[$0 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) + $1 | 0)) { + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$0 + 188 >> 2] = $3 + $1; + } + if (std____2____num_get_char_____stage2_float_loop_28char_2c_20bool__2c_20char__2c_20char__2c_20char___2c_20char_2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20unsigned_20int__2c_20char__29(std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0 + 264 | 0), $0 + 7 | 0, $0 + 6 | 0, $1, $0 + 188 | 0, HEAP8[$0 + 223 | 0], HEAP8[$0 + 222 | 0], $0 + 208 | 0, $0 + 16 | 0, $0 + 12 | 0, $0 + 8 | 0, $0 + 224 | 0)) { + break label$2; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0 + 264 | 0); + continue; } - _trinkle(i2, i7, i8, i10, i3, 0, i9); - i4 = i10 + 4 | 0; - while (1) { - if ((i3 | 0) == 1 & (i1 | 0) == 1) if (!(HEAP32[i4 >> 2] | 0)) break L1; else i11 = 19; else if ((i3 | 0) < 2) i11 = 19; else { - _shl(i10, 2); - i13 = i3 + -2 | 0; - HEAP32[i10 >> 2] = HEAP32[i10 >> 2] ^ 7; - _shr(i10, 1); - _trinkle(i2 + (0 - (HEAP32[i9 + (i13 << 2) >> 2] | 0)) + i6 | 0, i7, i8, i10, i3 + -1 | 0, 1, i9); - _shl(i10, 1); - i1 = HEAP32[i10 >> 2] | 1; - HEAP32[i10 >> 2] = i1; - i2 = i2 + i6 | 0; - _trinkle(i2, i7, i8, i10, i13, 1, i9); - i3 = i13; - } - if ((i11 | 0) == 19) { - i11 = 0; - i1 = _pntz(i10) | 0; - _shr(i10, i1); - i2 = i2 + i6 | 0; - i3 = i1 + i3 | 0; - i1 = HEAP32[i10 >> 2] | 0; - } - } - } while (0); - STACKTOP = i12; - return; -} - -function _get_cpara(i2, i3, i4) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i5 = _arMatrixAlloc(8, 8) | 0; - i6 = _arMatrixAlloc(8, 1) | 0; - i7 = _arMatrixAlloc(8, 1) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - i13 = i2 + (i1 << 4) | 0; - i8 = HEAP32[i5 >> 2] | 0; - i9 = i1 << 4; - HEAPF64[i8 + (i9 << 3) >> 3] = +HEAPF64[i13 >> 3]; - i12 = i2 + (i1 << 4) + 8 | 0; - HEAPF64[i8 + ((i9 | 1) << 3) >> 3] = +HEAPF64[i12 >> 3]; - HEAPF64[i8 + ((i9 | 2) << 3) >> 3] = 1.0; - HEAPF64[i8 + ((i9 | 3) << 3) >> 3] = 0.0; - HEAPF64[i8 + ((i9 | 4) << 3) >> 3] = 0.0; - HEAPF64[i8 + ((i9 | 5) << 3) >> 3] = 0.0; - i11 = i3 + (i1 << 4) | 0; - HEAPF64[i8 + ((i9 | 6) << 3) >> 3] = -(+HEAPF64[i13 >> 3] * +HEAPF64[i11 >> 3]); - HEAPF64[i8 + ((i9 | 7) << 3) >> 3] = -(+HEAPF64[i12 >> 3] * +HEAPF64[i11 >> 3]); - HEAPF64[i8 + ((i9 | 8) << 3) >> 3] = 0.0; - HEAPF64[i8 + ((i9 | 9) << 3) >> 3] = 0.0; - HEAPF64[i8 + ((i9 | 10) << 3) >> 3] = 0.0; - HEAPF64[i8 + ((i9 | 11) << 3) >> 3] = +HEAPF64[i13 >> 3]; - HEAPF64[i8 + ((i9 | 12) << 3) >> 3] = +HEAPF64[i12 >> 3]; - HEAPF64[i8 + ((i9 | 13) << 3) >> 3] = 1.0; - i10 = i3 + (i1 << 4) + 8 | 0; - HEAPF64[i8 + ((i9 | 14) << 3) >> 3] = -(+HEAPF64[i13 >> 3] * +HEAPF64[i10 >> 3]); - HEAPF64[i8 + ((i9 | 15) << 3) >> 3] = -(+HEAPF64[i12 >> 3] * +HEAPF64[i10 >> 3]); - i9 = HEAP32[i6 >> 2] | 0; - i8 = i1 << 1; - HEAPF64[i9 + (i8 << 3) >> 3] = +HEAPF64[i11 >> 3]; - HEAPF64[i9 + ((i8 | 1) << 3) >> 3] = +HEAPF64[i10 >> 3]; - i1 = i1 + 1 | 0; - } - _arMatrixSelfInv(i5) | 0; - _arMatrixMul(i7, i5, i6) | 0; - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 2) break; - i13 = i1 * 3 | 0; - HEAPF64[i4 + (i1 * 24 | 0) >> 3] = +HEAPF64[i2 + (i13 << 3) >> 3]; - HEAPF64[i4 + (i1 * 24 | 0) + 8 >> 3] = +HEAPF64[i2 + (i13 + 1 << 3) >> 3]; - HEAPF64[i4 + (i1 * 24 | 0) + 16 >> 3] = +HEAPF64[i2 + (i13 + 2 << 3) >> 3]; - i1 = i1 + 1 | 0; - } - HEAPF64[i4 + 48 >> 3] = +HEAPF64[i2 + 48 >> 3]; - HEAPF64[i4 + 56 >> 3] = +HEAPF64[i2 + 56 >> 3]; - HEAPF64[i4 + 64 >> 3] = 1.0; - _arMatrixFree(i5) | 0; - _arMatrixFree(i6) | 0; - _arMatrixFree(i7) | 0; - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_122parse_sizeof_expr_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i7 = i11 + 40 | 0; - i8 = i11 + 12 | 0; - i9 = i11 + 24 | 0; - i10 = i11; - if (((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 115 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 122 : 0) ? (i12 = i1 + 2 | 0, i5 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i12, i2, i3) | 0, (i5 | 0) != (i12 | 0)) : 0) ? (i6 = i3 + 4 | 0, i4 = HEAP32[i6 >> 2] | 0, (HEAP32[i3 >> 2] | 0) != (i4 | 0)) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i10, i4 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i10, 0, 49894) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i9, 49667) | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i7, i8); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i6 >> 2] | 0) + -24 | 0, i7); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - i1 = i5; - } - STACKTOP = i11; - return i1 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE8__rehashEm(i11, i10) { - i11 = i11 | 0; - i10 = i10 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i2 = i11 + 4 | 0; - L1 : do if (i10) { - if (i10 >>> 0 > 1073741823) { - i11 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i11, 40521); - HEAP32[i11 >> 2] = 17440; - ___cxa_throw(i11 | 0, 13288, 107); - } - i9 = __Znwm(i10 << 2) | 0; - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = i9; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = i10; - i1 = 0; - while (1) { - if ((i1 | 0) == (i10 | 0)) break; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i3 = i11 + 8 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (i1 | 0) { - i2 = HEAP32[i1 + 4 >> 2] | 0; - i8 = i10 + -1 | 0; - i9 = (i8 & i10 | 0) == 0; - if (!i9) { - if (i2 >>> 0 >= i10 >>> 0) i2 = (i2 >>> 0) % (i10 >>> 0) | 0; - } else i2 = i2 & i8; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i2 << 2) >> 2] = i3; + break; + } + label$4: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0 + 208 | 0) | !HEAPU8[$0 + 7 | 0]) { + break label$4; + } + $3 = HEAP32[$0 + 12 >> 2]; + if (($3 - ($0 + 16 | 0) | 0) > 159) { + break label$4; + } + HEAP32[$0 + 12 >> 2] = $3 + 4; + HEAP32[$3 >> 2] = HEAP32[$0 + 8 >> 2]; + } + wasm2js_i32$0 = $5, wasm2js_f64$0 = double_20std____2____num_get_float_double__28char_20const__2c_20char_20const__2c_20unsigned_20int__29($1, HEAP32[$0 + 188 >> 2], $4), + HEAPF64[wasm2js_i32$0 >> 3] = wasm2js_f64$0; + std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($0 + 208 | 0, $0 + 16 | 0, HEAP32[$0 + 12 >> 2], $4); + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0 + 264 | 0, $0 + 256 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $1 = HEAP32[$0 + 264 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0 + 208 | 0); + __stack_pointer = $0 + 272 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSubobjectExpr_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 32 | 0; + __stack_pointer = $1; + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 + 28 >> 2] = $2; + label$1: { + label$2: { + if (!$2) { + break label$2; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 24 >> 2] = $2; + if (!$2) { + break label$2; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($1 + 16 | 0, $0, 1); + $2 = $0 + 8 | 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($2); while (1) { - i7 = i1; - L25 : while (1) { - while (1) { - i1 = HEAP32[i7 >> 2] | 0; - if (!i1) break L1; - i3 = HEAP32[i1 + 4 >> 2] | 0; - if (!i9) { - if (i3 >>> 0 >= i10 >>> 0) i3 = (i3 >>> 0) % (i10 >>> 0) | 0; - } else i3 = i3 & i8; - if ((i3 | 0) == (i2 | 0)) break; - i4 = (HEAP32[i11 >> 2] | 0) + (i3 << 2) | 0; - if (!(HEAP32[i4 >> 2] | 0)) break L25; - i5 = i1 + 8 | 0; - i4 = i1; - while (1) { - i6 = HEAP32[i4 >> 2] | 0; - if (!i6) break; - if ((HEAP32[i5 >> 2] | 0) == (HEAP32[i6 + 8 >> 2] | 0)) i4 = i6; else break; - } - HEAP32[i7 >> 2] = i6; - HEAP32[i4 >> 2] = HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2] = i1; - } - i7 = i1; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($1, $0, 0); + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__28_28anonymous_20namespace_29__itanium_demangle__StringView___29($0, $1), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($2, $1 + 12 | 0); + continue; } - HEAP32[i4 >> 2] = i7; - i2 = i3; + break; + } + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 112), + HEAP8[wasm2js_i32$0 + 12 | 0] = wasm2js_i32$1; + $2 = 0; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($1, $0, $3); + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SubobjectExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20bool__29($0, $1 + 28 | 0, $1 + 24 | 0, $1 + 16 | 0, $1, $1 + 12 | 0); + break label$1; + } + $2 = 0; + } + __stack_pointer = $1 + 32 | 0; + return $2; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______construct_node_hash_std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28unsigned_20long_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4, $5) { + var $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + $1 = std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______node_alloc_28_29($1); + $0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______2c_20true_____good_rval_ref_type_29($0, std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______allocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20unsigned_20long_29($1, 1), std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20bool_29($6 + 8 | 0, $1, 0)); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______construct_std____2__pair_int_20const_2c_20ARParam__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple___2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__pair_int_20const_2c_20ARParam___2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($1, std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20ARParam______get_ptr_28std____2____hash_value_type_int_2c_20ARParam___29(std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______operator___28_29_20const($0) + 8 | 0), $3, $4, $5); + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______get_deleter_28_29($0), + wasm2js_i32$1 = 1, HEAP8[wasm2js_i32$0 + 4 | 0] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______operator___28_29_20const($0), + wasm2js_i32$1 = $2, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______operator___28_29_20const($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $6 + 16 | 0; +} + +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20void___29_20const($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; + $0 = __stack_pointer - 352 | 0; + __stack_pointer = $0; + HEAP32[$0 + 336 >> 2] = $2; + HEAP32[$0 + 344 >> 2] = $1; + $6 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0 + 208 | 0); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $3); + std____2__ctype_wchar_t___widen_28char_20const__2c_20char_20const__2c_20wchar_t__29_20const(std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($0 + 16 | 0), 57760, 57786, $0 + 224 | 0); + std____2__locale___locale_28_29($0 + 16 | 0); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$0 + 188 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = $0 + 16; + HEAP32[$0 + 8 >> 2] = 0; + while (1) { + label$2: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($0 + 344 | 0, $0 + 336 | 0)) { + break label$2; } + if (HEAP32[$0 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) + $1 | 0)) { + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$0 + 188 >> 2] = $3 + $1; + } + if (std____2____num_get_wchar_t_____stage2_int_loop_28wchar_t_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20wchar_t_20const__29(std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0 + 344 | 0), 16, $1, $0 + 188 | 0, $0 + 8 | 0, 0, $6, $0 + 16 | 0, $0 + 12 | 0, $0 + 224 | 0)) { + break label$2; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0 + 344 | 0); + continue; } - } else { - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = 0; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = 0; - } while (0); - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE8__rehashEm(i11, i10) { - i11 = i11 | 0; - i10 = i10 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i2 = i11 + 4 | 0; - L1 : do if (i10) { - if (i10 >>> 0 > 1073741823) { - i11 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i11, 40521); - HEAP32[i11 >> 2] = 17440; - ___cxa_throw(i11 | 0, 13288, 107); - } - i9 = __Znwm(i10 << 2) | 0; - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = i9; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = i10; - i1 = 0; - while (1) { - if ((i1 | 0) == (i10 | 0)) break; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i3 = i11 + 8 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (i1 | 0) { - i2 = HEAP32[i1 + 4 >> 2] | 0; - i8 = i10 + -1 | 0; - i9 = (i8 & i10 | 0) == 0; - if (!i9) { - if (i2 >>> 0 >= i10 >>> 0) i2 = (i2 >>> 0) % (i10 >>> 0) | 0; - } else i2 = i2 & i8; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i2 << 2) >> 2] = i3; + break; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, HEAP32[$0 + 188 >> 2] - $1 | 0); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($2); + $3 = std____2____cloc_28_29(); + HEAP32[$0 >> 2] = $5; + if ((std____2____libcpp_sscanf_l_28char_20const__2c_20__locale_struct__2c_20char_20const__2c_20____29($1, $3, 30892, $0) | 0) != 1) { + HEAP32[$4 >> 2] = 4; + } + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0 + 344 | 0, $0 + 336 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $1 = HEAP32[$0 + 344 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6); + __stack_pointer = $0 + 352 | 0; + return $1 | 0; +} + +function std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20bool_2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20double__29_20const($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 $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $0 = __stack_pointer - 288 | 0; + __stack_pointer = $0; + HEAP32[$0 + 272 >> 2] = $2; + HEAP32[$0 + 280 >> 2] = $1; + HEAP32[$0 + 16 >> 2] = 316; + $1 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0 + 152 | 0, $0 + 160 | 0, $0 + 16 | 0); + std____2__ios_base__getloc_28_29_20const($0 + 144 | 0, $4); + $7 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($0 + 144 | 0); + HEAP8[$0 + 143 | 0] = 0; + label$1: { + if (!std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20bool_2c_20std____2__locale_20const__2c_20unsigned_20int_2c_20unsigned_20int__2c_20bool__2c_20std____2__ctype_char__20const__2c_20std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___2c_20char___2c_20char__29($0 + 280 | 0, $2, $3, $0 + 144 | 0, std____2__ios_base__flags_28_29_20const($4), $5, $0 + 143 | 0, $7, $1, $0 + 148 | 0, $0 + 260 | 0)) { + break label$1; + } + $2 = HEAPU8[37349] | HEAPU8[37350] << 8 | (HEAPU8[37351] << 16 | HEAPU8[37352] << 24); + HEAP8[$0 + 135 | 0] = $2; + HEAP8[$0 + 136 | 0] = $2 >>> 8; + HEAP8[$0 + 137 | 0] = $2 >>> 16; + HEAP8[$0 + 138 | 0] = $2 >>> 24; + $2 = HEAPU8[37346] | HEAPU8[37347] << 8 | (HEAPU8[37348] << 16 | HEAPU8[37349] << 24); + HEAP32[$0 + 128 >> 2] = HEAPU8[37342] | HEAPU8[37343] << 8 | (HEAPU8[37344] << 16 | HEAPU8[37345] << 24); + HEAP32[$0 + 132 >> 2] = $2; + std____2__ctype_char___widen_28char_20const__2c_20char_20const__2c_20char__29_20const($7, $0 + 128 | 0, $0 + 138 | 0, $0 + 118 | 0); + HEAP32[$0 + 16 >> 2] = 315; + $7 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0 + 8 | 0, 0, $0 + 16 | 0); + $4 = $0 + 16 | 0; + label$2: { + if ((HEAP32[$0 + 148 >> 2] - std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($1) | 0) >= 99) { + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($7, dlmalloc((HEAP32[$0 + 148 >> 2] - std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($1) | 0) + 2 | 0)); + if (!std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($7)) { + break label$2; + } + $4 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($7); + } + if (HEAPU8[$0 + 143 | 0]) { + HEAP8[$4 | 0] = 45; + $4 = $4 + 1 | 0; + } + $2 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($1); while (1) { - i7 = i1; - L25 : while (1) { - while (1) { - i1 = HEAP32[i7 >> 2] | 0; - if (!i1) break L1; - i3 = HEAP32[i1 + 4 >> 2] | 0; - if (!i9) { - if (i3 >>> 0 >= i10 >>> 0) i3 = (i3 >>> 0) % (i10 >>> 0) | 0; - } else i3 = i3 & i8; - if ((i3 | 0) == (i2 | 0)) break; - i4 = (HEAP32[i11 >> 2] | 0) + (i3 << 2) | 0; - if (!(HEAP32[i4 >> 2] | 0)) break L25; - i5 = i1 + 8 | 0; - i4 = i1; - while (1) { - i6 = HEAP32[i4 >> 2] | 0; - if (!i6) break; - if ((HEAP32[i5 >> 2] | 0) == (HEAP32[i6 + 8 >> 2] | 0)) i4 = i6; else break; + if (HEAPU32[$0 + 148 >> 2] <= $2 >>> 0) { + label$7: { + HEAP8[$4 | 0] = 0; + HEAP32[$0 >> 2] = $6; + if ((sscanf($0 + 16 | 0, 31758, $0) | 0) != 1) { + break label$7; } - HEAP32[i7 >> 2] = i6; - HEAP32[i4 >> 2] = HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2] = i1; + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($7); + break label$1; } - i7 = i1; + } else { + wasm2js_i32$0 = $4, wasm2js_i32$1 = HEAPU8[((char__20std____2__find_char__2c_20char__28char__2c_20char__2c_20char_20const__29($0 + 118 | 0, char__20std____2__end_char_2c_2010ul__28char_20_28__29_20_5b10ul_5d_29($0 + 118 | 0), $2) - $0 | 0) + $0 | 0) + 10 | 0], + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + $4 = $4 + 1 | 0; + $2 = $2 + 1 | 0; + continue; } - HEAP32[i4 >> 2] = i7; - i2 = i3; + break; } - } - } else { - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = 0; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = 0; - } while (0); - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_122parse_sizeof_type_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i7 = i11 + 40 | 0; - i8 = i11 + 12 | 0; - i9 = i11 + 24 | 0; - i10 = i11; - if (((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 115 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 116 : 0) ? (i12 = i1 + 2 | 0, i5 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i12, i2, i3) | 0, (i5 | 0) != (i12 | 0)) : 0) ? (i6 = i3 + 4 | 0, i4 = HEAP32[i6 >> 2] | 0, (HEAP32[i3 >> 2] | 0) != (i4 | 0)) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i10, i4 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i10, 0, 49894) | 0; - HEAP32[i9 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i9 + 4 >> 2] = HEAP32[i10 + 4 >> 2]; - HEAP32[i9 + 8 >> 2] = HEAP32[i10 + 8 >> 2]; - i1 = 0; + std____2____throw_runtime_error_28char_20const__29($0); + abort(); + } + std____throw_bad_alloc_28_29(); + abort(); + } + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0 + 280 | 0, $0 + 272 | 0)) { + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 2; + } + $2 = HEAP32[$0 + 280 >> 2]; + std____2__locale___locale_28_29($0 + 144 | 0); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($1); + __stack_pointer = $0 + 288 | 0; + return $2 | 0; +} + +function void_20std____2____sift_down_std____2__less_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96_____28std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96____2c_20std____2__iterator_traits_std____2____wrap_iter_vision__PriorityQueueItem_96______difference_type_2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 48 | 0; + __stack_pointer = $4; + HEAP32[$4 + 32 >> 2] = $3; + HEAP32[$4 + 40 >> 2] = $0; + $3 = decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96____28std____2____wrap_iter_vision__PriorityQueueItem_96____20const__2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____20const__29($4 + 32 | 0, $4 + 40 | 0); + label$1: { + if (($2 | 0) < 2) { + break label$1; + } + $6 = $2 - 2 >>> 1 | 0; + if (($6 | 0) < ($3 | 0)) { + break label$1; + } + $0 = $3 << 1; + $3 = $0 | 1; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28long_29_20const($4 + 40 | 0, $3), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + $0 = $0 + 2 | 0; + label$2: { + if (($2 | 0) <= ($0 | 0)) { + break label$2; + } + $5 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 24 | 0); + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28long_29_20const($4 + 24 | 0, 1), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + if (!std____2__less_vision__PriorityQueueItem_96____operator_28_29_28vision__PriorityQueueItem_96__20const__2c_20vision__PriorityQueueItem_96__20const__29_20const($1, $5, std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 16 | 0))) { + break label$2; + } + std____2____wrap_iter_vision__PriorityQueueItem_96_____operator___28_29_1($4 + 24 | 0); + $3 = $0; + } + if (std____2__less_vision__PriorityQueueItem_96____operator_28_29_28vision__PriorityQueueItem_96__20const__2c_20vision__PriorityQueueItem_96__20const__29_20const($1, std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 24 | 0), std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 32 | 0))) { + break label$1; + } + $0 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 32 | 0); + $5 = HEAP32[$0 >> 2]; + $0 = HEAP32[$0 + 4 >> 2]; + HEAP32[$4 + 16 >> 2] = $5; + HEAP32[$4 + 20 >> 2] = $0; while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i10 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i9, 49667) | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i7, i8); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i6 >> 2] | 0) + -24 | 0, i7); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i10); - i1 = i5; - } - STACKTOP = i11; - return i1 | 0; -} - -function __ZNSt3__29__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKc(i7, i9, i12, i13, i14, i2, i3, i4, i5, i8) { - i7 = i7 | 0; - i9 = i9 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i8 = i8 | 0; - var i1 = 0, i6 = 0, i10 = 0, i11 = 0; - i10 = HEAP32[i13 >> 2] | 0; - i11 = (i10 | 0) == (i12 | 0); - do if (i11) { - i1 = (HEAP8[i8 + 24 >> 0] | 0) == i7 << 24 >> 24; - if (!i1 ? (HEAP8[i8 + 25 >> 0] | 0) != i7 << 24 >> 24 : 0) { - i6 = 5; - break; - } - HEAP32[i13 >> 2] = i12 + 1; - HEAP8[i12 >> 0] = i1 ? 43 : 45; - HEAP32[i14 >> 2] = 0; - i1 = 0; - } else i6 = 5; while (0); - L6 : do if ((i6 | 0) == 5) { - i6 = HEAP8[i3 + 11 >> 0] | 0; - if (i7 << 24 >> 24 == i2 << 24 >> 24 ? ((i6 << 24 >> 24 < 0 ? HEAP32[i3 + 4 >> 2] | 0 : i6 & 255) | 0) != 0 : 0) { - i1 = HEAP32[i5 >> 2] | 0; - if ((i1 - i4 | 0) >= 160) { - i1 = 0; - break; + label$4: { + $0 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 24 | 0); + $7 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 32 | 0); + $5 = HEAP32[$0 + 4 >> 2]; + $0 = HEAP32[$0 >> 2]; + $8 = $0; + $0 = $7; + HEAP32[$0 >> 2] = $8; + HEAP32[$0 + 4 >> 2] = $5; + HEAP32[$4 + 32 >> 2] = HEAP32[$4 + 24 >> 2]; + if (($3 | 0) > ($6 | 0)) { + break label$4; + } + $0 = $3 << 1; + $3 = $0 | 1; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28long_29_20const($4 + 40 | 0, $3), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + $0 = $0 + 2 | 0; + label$5: { + if (($2 | 0) <= ($0 | 0)) { + break label$5; + } + $5 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 24 | 0); + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28long_29_20const($4 + 24 | 0, 1), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + if (!std____2__less_vision__PriorityQueueItem_96____operator_28_29_28vision__PriorityQueueItem_96__20const__2c_20vision__PriorityQueueItem_96__20const__29_20const($1, $5, std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 8 | 0))) { + break label$5; + } + std____2____wrap_iter_vision__PriorityQueueItem_96_____operator___28_29_1($4 + 24 | 0); + $3 = $0; + } + if (!std____2__less_vision__PriorityQueueItem_96____operator_28_29_28vision__PriorityQueueItem_96__20const__2c_20vision__PriorityQueueItem_96__20const__29_20const($1, std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 24 | 0), $4 + 16 | 0)) { + continue; + } } - i13 = HEAP32[i14 >> 2] | 0; - HEAP32[i5 >> 2] = i1 + 4; - HEAP32[i1 >> 2] = i13; - HEAP32[i14 >> 2] = 0; - i1 = 0; break; } - i3 = i8 + 26 | 0; - i2 = 0; - while (1) { - i1 = i8 + i2 | 0; - if ((i2 | 0) == 26) { - i1 = i3; - break; + $1 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 32 | 0); + $0 = HEAP32[$4 + 20 >> 2]; + $5 = HEAP32[$4 + 16 >> 2]; + $2 = $5; + $5 = $1; + HEAP32[$5 >> 2] = $2; + HEAP32[$5 + 4 >> 2] = $0; + vision__PriorityQueueItem_96____PriorityQueueItem_28_29($4 + 16 | 0); + } + __stack_pointer = $4 + 48 | 0; +} + +function std____2__pair_float_2c_20int__20vision__PartialSort_float_2c_20int__28std____2__pair_float_2c_20int___2c_20int_2c_20int_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + $7 = std____2__pair_float_2c_20int___pair_true_2c_20_28void__290__28_29($6 + 8 | 0); + label$1: { + if (($2 | 0) > 0) { + if (($3 | 0) <= 0) { + break label$1; } - if ((HEAP8[i1 >> 0] | 0) == i7 << 24 >> 24) break; else i2 = i2 + 1 | 0; - } - i1 = i1 - i8 | 0; - if ((i1 | 0) > 23) i1 = -1; else { - switch (i9 | 0) { - case 10: - case 8: - { - if ((i1 | 0) >= (i9 | 0)) { - i1 = -1; - break L6; - } - break; - } - case 16: - { - if ((i1 | 0) >= 22) { - if (i11) { - i1 = -1; - break L6; - } - if ((i10 - i12 | 0) >= 3) { - i1 = -1; - break L6; - } - if ((HEAP8[i10 + -1 >> 0] | 0) != 48) { - i1 = -1; - break L6; - } - HEAP32[i14 >> 2] = 0; - i1 = HEAP8[10736 + i1 >> 0] | 0; - HEAP32[i13 >> 2] = i10 + 1; - HEAP8[i10 >> 0] = i1; - i1 = 0; - break L6; - } - break; - } - default: - {} - } - i1 = HEAP8[10736 + i1 >> 0] | 0; - HEAP32[i13 >> 2] = i10 + 1; - HEAP8[i10 >> 0] = i1; - HEAP32[i14 >> 2] = (HEAP32[i14 >> 2] | 0) + 1; - i1 = 0; - } - } while (0); - return i1 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE8__rehashEm(i11, i10) { - i11 = i11 | 0; - i10 = i10 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i2 = i11 + 4 | 0; - L1 : do if (i10) { - if (i10 >>> 0 > 1073741823) { - i11 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i11, 40521); - HEAP32[i11 >> 2] = 17440; - ___cxa_throw(i11 | 0, 13288, 107); - } - i9 = __Znwm(i10 << 2) | 0; - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = i9; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = i10; - i1 = 0; - while (1) { - if ((i1 | 0) == (i10 | 0)) break; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i3 = i11 + 8 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (i1 | 0) { - i2 = HEAP32[i1 + 4 >> 2] | 0; - i8 = i10 + -1 | 0; - i9 = (i8 & i10 | 0) == 0; - if (!i9) { - if (i2 >>> 0 >= i10 >>> 0) i2 = (i2 >>> 0) % (i10 >>> 0) | 0; - } else i2 = i2 & i8; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i2 << 2) >> 2] = i3; + $5 = $2 - 1 | 0; + $12 = $3 - 1 | 0; + $8 = ($12 << 3) + $1 | 0; while (1) { - i7 = i1; - L25 : while (1) { + if (($5 | 0) > ($9 | 0)) { + std____2__pair_float_2c_20int___operator__28std____2__pair_float_2c_20int__20const__29($7, $8); + $2 = $5; + $4 = $9; while (1) { - i1 = HEAP32[i7 >> 2] | 0; - if (!i1) break L1; - i3 = HEAP32[i1 + 4 >> 2] | 0; - if (!i9) { - if (i3 >>> 0 >= i10 >>> 0) i3 = (i3 >>> 0) % (i10 >>> 0) | 0; - } else i3 = i3 & i8; - if ((i3 | 0) == (i2 | 0)) break; - i4 = (HEAP32[i11 >> 2] | 0) + (i3 << 2) | 0; - if (!(HEAP32[i4 >> 2] | 0)) break L25; - i5 = i1 + 8 | 0; - i4 = i1; + $10 = $4; while (1) { - i6 = HEAP32[i4 >> 2] | 0; - if (!i6) break; - if ((HEAP32[i5 >> 2] | 0) == (HEAP32[i6 + 8 >> 2] | 0)) i4 = i6; else break; + $4 = $10; + $10 = $4 + 1 | 0; + $13 = ($4 << 3) + $1 | 0; + if (bool_20std____2__operator__float_2c_20int__28std____2__pair_float_2c_20int__20const__2c_20std____2__pair_float_2c_20int__20const__29($13, $7)) { + continue; + } + break; } - HEAP32[i7 >> 2] = i6; - HEAP32[i4 >> 2] = HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2] = i1; - } - i7 = i1; - } - HEAP32[i4 >> 2] = i7; - i2 = i3; - } - } - } else { - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = 0; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = 0; - } while (0); - return; -} - -function __ZNSt3__29__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_PKw(i7, i9, i12, i13, i14, i2, i3, i4, i5, i8) { - i7 = i7 | 0; - i9 = i9 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i8 = i8 | 0; - var i1 = 0, i6 = 0, i10 = 0, i11 = 0; - i10 = HEAP32[i13 >> 2] | 0; - i11 = (i10 | 0) == (i12 | 0); - do if (i11) { - i1 = (HEAP32[i8 + 96 >> 2] | 0) == (i7 | 0); - if (!i1 ? (HEAP32[i8 + 100 >> 2] | 0) != (i7 | 0) : 0) { - i6 = 5; - break; - } - HEAP32[i13 >> 2] = i12 + 1; - HEAP8[i12 >> 0] = i1 ? 43 : 45; - HEAP32[i14 >> 2] = 0; - i1 = 0; - } else i6 = 5; while (0); - L6 : do if ((i6 | 0) == 5) { - i6 = HEAP8[i3 + 11 >> 0] | 0; - if ((i7 | 0) == (i2 | 0) ? ((i6 << 24 >> 24 < 0 ? HEAP32[i3 + 4 >> 2] | 0 : i6 & 255) | 0) != 0 : 0) { - i1 = HEAP32[i5 >> 2] | 0; - if ((i1 - i4 | 0) >= 160) { - i1 = 0; - break; - } - i13 = HEAP32[i14 >> 2] | 0; - HEAP32[i5 >> 2] = i1 + 4; - HEAP32[i1 >> 2] = i13; - HEAP32[i14 >> 2] = 0; - i1 = 0; - break; - } - i3 = i8 + 104 | 0; - i2 = 0; - while (1) { - i1 = i8 + (i2 << 2) | 0; - if ((i2 | 0) == 26) { - i1 = i3; - break; - } - if ((HEAP32[i1 >> 2] | 0) == (i7 | 0)) break; else i2 = i2 + 1 | 0; - } - i1 = i1 - i8 | 0; - i2 = i1 >> 2; - if ((i1 | 0) > 92) i1 = -1; else { - switch (i9 | 0) { - case 10: - case 8: - { - if ((i2 | 0) >= (i9 | 0)) { - i1 = -1; - break L6; - } - break; - } - case 16: - { - if ((i1 | 0) >= 88) { - if (i11) { - i1 = -1; - break L6; + $11 = $2; + while (1) { + $2 = $11; + $11 = $2 - 1 | 0; + $14 = ($2 << 3) + $1 | 0; + if (bool_20std____2__operator__float_2c_20int__28std____2__pair_float_2c_20int__20const__2c_20std____2__pair_float_2c_20int__20const__29($7, $14)) { + continue; + } + break; } - if ((i10 - i12 | 0) >= 3) { - i1 = -1; - break L6; + if (($2 | 0) >= ($4 | 0)) { + std____2__enable_if___is_swappable_float___value_20___20__is_swappable_int___value_2c_20void___type_20std____2__swap_float_2c_20int__28std____2__pair_float_2c_20int___2c_20std____2__pair_float_2c_20int___29($13, $14); + $4 = $10; + $2 = $11; } - if ((HEAP8[i10 + -1 >> 0] | 0) != 48) { - i1 = -1; - break L6; + if (($2 | 0) >= ($4 | 0)) { + continue; } - HEAP32[i14 >> 2] = 0; - i1 = HEAP8[10736 + i2 >> 0] | 0; - HEAP32[i13 >> 2] = i10 + 1; - HEAP8[i10 >> 0] = i1; - i1 = 0; - break L6; + break; } - break; + $5 = ($3 | 0) > ($4 | 0) ? $5 : $2; + $9 = ($2 | 0) < ($12 | 0) ? $4 : $9; + continue; } - default: - {} - } - i1 = HEAP8[10736 + i2 >> 0] | 0; - HEAP32[i13 >> 2] = i10 + 1; - HEAP8[i10 >> 0] = i1; - HEAP32[i14 >> 2] = (HEAP32[i14 >> 2] | 0) + 1; - i1 = 0; - } - } while (0); - return i1 | 0; -} - -function __ZNSt3__27__sort3IRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEjT0_S9_S9_T_(i3, i1, i5, i2) { - i3 = i3 | 0; - i1 = i1 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - var d4 = 0.0, d6 = 0.0, i7 = 0, d8 = 0.0, i9 = 0, i10 = 0; - i10 = HEAP32[i1 >> 2] | 0; - i9 = HEAP32[i3 >> 2] | 0; - d8 = +HEAPF32[i9 >> 2]; - d6 = +HEAPF32[i10 >> 2]; - if (!(d8 < d6)) if (d6 < d8) i2 = 0; else i2 = (HEAP32[i9 + 4 >> 2] | 0) >>> 0 < (HEAP32[i10 + 4 >> 2] | 0) >>> 0; else i2 = 1; - i7 = HEAP32[i5 >> 2] | 0; - d4 = +HEAPF32[i7 >> 2]; - if (!(d6 < d4)) if (d4 < d6) i1 = 0; else i1 = (HEAP32[i10 + 4 >> 2] | 0) >>> 0 < (HEAP32[i7 + 4 >> 2] | 0) >>> 0; else i1 = 1; - do if (!i2) if (i1) { - HEAPF32[i10 >> 2] = d4; - HEAPF32[i7 >> 2] = d6; - i5 = i10 + 4 | 0; - i7 = i7 + 4 | 0; - i3 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i3; - d4 = +HEAPF32[i9 >> 2]; - d6 = +HEAPF32[i10 >> 2]; - if (!(d4 < d6)) { - if (d6 < d4) { - i1 = 1; break; } - i1 = i9 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - i3 = HEAP32[i5 >> 2] | 0; - if (i2 >>> 0 >= i3 >>> 0) { - i1 = 1; - break; - } - } else { - i2 = i9 + 4 | 0; - i1 = i2; - i3 = HEAP32[i5 >> 2] | 0; - i2 = HEAP32[i2 >> 2] | 0; - } - HEAPF32[i9 >> 2] = d6; - HEAPF32[i10 >> 2] = d4; - HEAP32[i1 >> 2] = i3; - HEAP32[i5 >> 2] = i2; - i1 = 2; - } else i1 = 0; else { - if (i1) { - HEAPF32[i9 >> 2] = d4; - HEAPF32[i7 >> 2] = d8; - i9 = i9 + 4 | 0; - i1 = i7 + 4 | 0; - i10 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = HEAP32[i1 >> 2]; - HEAP32[i1 >> 2] = i10; - i1 = 1; - break; + $1 = HEAP32[$8 + 4 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$8 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + __stack_pointer = $6 + 16 | 0; + return; } - HEAPF32[i9 >> 2] = d6; - HEAPF32[i10 >> 2] = d8; - i9 = i9 + 4 | 0; - i3 = i10 + 4 | 0; - i5 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = i5; - d4 = +HEAPF32[i7 >> 2]; - if (!(d8 < d4)) { - if (d4 < d8) { - i1 = 1; - break; - } - i1 = i7 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i5 >>> 0 >= i2 >>> 0) { - i1 = 1; - break; - } - } else { - i2 = i7 + 4 | 0; - i1 = i2; - i2 = HEAP32[i2 >> 2] | 0; - } - HEAPF32[i10 >> 2] = d4; - HEAPF32[i7 >> 2] = d8; - HEAP32[i3 >> 2] = i2; - HEAP32[i1 >> 2] = i5; - i1 = 2; - } while (0); - return i1 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE8__rehashEm(i11, i10) { - i11 = i11 | 0; - i10 = i10 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i2 = i11 + 4 | 0; - L1 : do if (i10) { - if (i10 >>> 0 > 1073741823) { - i11 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i11, 40521); - HEAP32[i11 >> 2] = 17440; - ___cxa_throw(i11 | 0, 13288, 107); - } - i9 = __Znwm(i10 << 2) | 0; - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = i9; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = i10; - i1 = 0; - while (1) { - if ((i1 | 0) == (i10 | 0)) break; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i3 = i11 + 8 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (i1 | 0) { - i2 = HEAP32[i1 + 4 >> 2] | 0; - i8 = i10 + -1 | 0; - i9 = (i8 & i10 | 0) == 0; - if (!i9) { - if (i2 >>> 0 >= i10 >>> 0) i2 = (i2 >>> 0) % (i10 >>> 0) | 0; - } else i2 = i2 & i8; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i2 << 2) >> 2] = i3; - while (1) { - i7 = i1; - L25 : while (1) { + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25422), 25451), 9176), 82), 10040), 25631), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25668), 25451), 9176), 83), 10040), 25697), 16); + abort(); + abort(); +} + +function pattern_match($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 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; + if (($3 | 0) <= 0) { + HEAP32[$4 >> 2] = 0; + HEAP32[$5 >> 2] = 0; + HEAP32[$6 >> 2] = 0; + HEAP32[$6 + 4 >> 2] = -1074790400; + return -1; + } + $9 = Math_imul($3, $3); + folding_inner0: { + label$2: { + label$5: { + if (!$1) { + $10 = dlmalloc(Math_imul($9, 12)); + if (!$10) { + break label$2; + } + $9 = Math_imul($9, 3); + $1 = 0; while (1) { - i1 = HEAP32[i7 >> 2] | 0; - if (!i1) break L1; - i3 = HEAP32[i1 + 4 >> 2] | 0; - if (!i9) { - if (i3 >>> 0 >= i10 >>> 0) i3 = (i3 >>> 0) % (i10 >>> 0) | 0; - } else i3 = i3 & i8; - if ((i3 | 0) == (i2 | 0)) break; - i4 = (HEAP32[i11 >> 2] | 0) + (i3 << 2) | 0; - if (!(HEAP32[i4 >> 2] | 0)) break L25; - i5 = i1 + 8 | 0; - i4 = i1; - while (1) { - i6 = HEAP32[i4 >> 2] | 0; - if (!i6) break; - if ((HEAP32[i5 >> 2] | 0) == (HEAP32[i6 + 8 >> 2] | 0)) i4 = i6; else break; + if (($1 | 0) != ($9 | 0)) { + $7 = (HEAPU8[$1 + $2 | 0] ^ 255) + $7 | 0; + $1 = $1 + 1 | 0; + continue; } - HEAP32[i7 >> 2] = i6; - HEAP32[i4 >> 2] = HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2] = i1; + break; } - i7 = i1; - } - HEAP32[i4 >> 2] = i7; - i2 = i3; - } - } - } else { - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = 0; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = 0; - } while (0); - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm(i11, i10) { - i11 = i11 | 0; - i10 = i10 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i2 = i11 + 4 | 0; - L1 : do if (i10) { - if (i10 >>> 0 > 1073741823) { - i11 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i11, 40521); - HEAP32[i11 >> 2] = 17440; - ___cxa_throw(i11 | 0, 13288, 107); - } - i9 = __Znwm(i10 << 2) | 0; - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = i9; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = i10; - i1 = 0; - while (1) { - if ((i1 | 0) == (i10 | 0)) break; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i3 = i11 + 8 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (i1 | 0) { - i2 = HEAP32[i1 + 4 >> 2] | 0; - i8 = i10 + -1 | 0; - i9 = (i8 & i10 | 0) == 0; - if (!i9) { - if (i2 >>> 0 >= i10 >>> 0) i2 = (i2 >>> 0) % (i10 >>> 0) | 0; - } else i2 = i2 & i8; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i2 << 2) >> 2] = i3; - while (1) { - i7 = i1; - L25 : while (1) { + $8 = ($7 >>> 0) / ($9 >>> 0) | 0; + $1 = 0; while (1) { - i1 = HEAP32[i7 >> 2] | 0; - if (!i1) break L1; - i3 = HEAP32[i1 + 4 >> 2] | 0; - if (!i9) { - if (i3 >>> 0 >= i10 >>> 0) i3 = (i3 >>> 0) % (i10 >>> 0) | 0; - } else i3 = i3 & i8; - if ((i3 | 0) == (i2 | 0)) break; - i4 = (HEAP32[i11 >> 2] | 0) + (i3 << 2) | 0; - if (!(HEAP32[i4 >> 2] | 0)) break L25; - i5 = i1 + 8 | 0; - i4 = i1; - while (1) { - i6 = HEAP32[i4 >> 2] | 0; - if (!i6) break; - if ((HEAP32[i5 >> 2] | 0) == (HEAP32[i6 + 8 >> 2] | 0)) i4 = i6; else break; + if (($1 | 0) != ($9 | 0)) { + $7 = (HEAPU8[$1 + $2 | 0] ^ 255) - $8 | 0; + HEAP32[($1 << 2) + $10 >> 2] = $7; + $1 = $1 + 1 | 0; + $11 = Math_imul($7, $7) + $11 | 0; + continue; } - HEAP32[i7 >> 2] = i6; - HEAP32[i4 >> 2] = HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2] = i1; + break; } - i7 = i1; - } - HEAP32[i4 >> 2] = i7; - i2 = i3; - } - } - } else { - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = 0; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = 0; - } while (0); - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm(i11, i10) { - i11 = i11 | 0; - i10 = i10 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i2 = i11 + 4 | 0; - L1 : do if (i10) { - if (i10 >>> 0 > 1073741823) { - i11 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i11, 40521); - HEAP32[i11 >> 2] = 17440; - ___cxa_throw(i11 | 0, 13288, 107); - } - i9 = __Znwm(i10 << 2) | 0; - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = i9; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = i10; - i1 = 0; - while (1) { - if ((i1 | 0) == (i10 | 0)) break; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i3 = i11 + 8 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (i1 | 0) { - i2 = HEAP32[i1 + 4 >> 2] | 0; - i8 = i10 + -1 | 0; - i9 = (i8 & i10 | 0) == 0; - if (!i9) { - if (i2 >>> 0 >= i10 >>> 0) i2 = (i2 >>> 0) % (i10 >>> 0) | 0; - } else i2 = i2 & i8; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i2 << 2) >> 2] = i3; - while (1) { - i7 = i1; - L25 : while (1) { + $15 = Math_sqrt(+($11 | 0)); + if ($15 / (+($3 | 0) * 1.7320508) < 15) { + break folding_inner0; + } + $1 = HEAP32[$0 >> 2]; + $20 = ($1 | 0) > 0 ? $1 : 0; + $12 = -1; + $13 = -1; + $8 = -1; while (1) { - i1 = HEAP32[i7 >> 2] | 0; - if (!i1) break L1; - i3 = HEAP32[i1 + 4 >> 2] | 0; - if (!i9) { - if (i3 >>> 0 >= i10 >>> 0) i3 = (i3 >>> 0) % (i10 >>> 0) | 0; - } else i3 = i3 & i8; - if ((i3 | 0) == (i2 | 0)) break; - i4 = (HEAP32[i11 >> 2] | 0) + (i3 << 2) | 0; - if (!(HEAP32[i4 >> 2] | 0)) break L25; - i5 = i1 + 8 | 0; - i4 = i1; - while (1) { - i6 = HEAP32[i4 >> 2] | 0; - if (!i6) break; - if ((HEAP32[i5 >> 2] | 0) == (HEAP32[i6 + 8 >> 2] | 0)) i4 = i6; else break; + if (($16 | 0) != ($20 | 0)) { + $1 = HEAP32[$0 + 8 >> 2]; + label$13: { + while (1) { + label$15: { + $8 = $8 + 1 | 0; + $17 = $8 << 2; + switch (HEAP32[$17 + $1 >> 2]) { + case 2: + break label$13; + + case 0: + continue; + + default: + break label$15; + } + } + break; + } + $21 = HEAP32[$0 + 16 >> 2]; + $22 = HEAP32[$0 + 12 >> 2]; + $3 = 0; + while (1) { + if (($3 | 0) == 4) { + break label$13; + } + $18 = $3 + $17 | 0; + $11 = HEAP32[($18 << 2) + $22 >> 2]; + $2 = 0; + $1 = 0; + while (1) { + if (($1 | 0) != ($9 | 0)) { + $7 = $1 << 2; + $2 = Math_imul(HEAP32[$11 + $7 >> 2], HEAP32[$7 + $10 >> 2]) + $2 | 0; + $1 = $1 + 1 | 0; + continue; + } + break; + } + $19 = +($2 | 0) / HEAPF64[($18 << 3) + $21 >> 3] / $15; + $1 = $19 > $14; + $14 = $1 ? $19 : $14; + $13 = $1 ? $8 : $13; + $12 = $1 ? $3 : $12; + $3 = $3 + 1 | 0; + continue; + } + } + $16 = $16 + 1 | 0; + continue; } - HEAP32[i7 >> 2] = i6; - HEAP32[i4 >> 2] = HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2] = i1; + break; } - i7 = i1; + break label$5; } - HEAP32[i4 >> 2] = i7; - i2 = i3; - } - } - } else { - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = 0; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = 0; - } while (0); - return; -} -function _jpeg_fill_bit_buffer(i11, i4, i3, i9) { - i11 = i11 | 0; - i4 = i4 | 0; - i3 = i3 | 0; - i9 = i9 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i12 = 0, i13 = 0; - i1 = HEAP32[i11 >> 2] | 0; - i12 = i11 + 4 | 0; - i2 = HEAP32[i12 >> 2] | 0; - i10 = HEAP32[i11 + 16 >> 2] | 0; - i8 = i10 + 416 | 0; - L1 : do if (!(HEAP32[i8 >> 2] | 0)) { - i7 = i10 + 24 | 0; - i6 = i4; - L3 : while (1) { - if ((i3 | 0) >= 25) { - i4 = i6; - i13 = 19; - break L1; - } - if (!i2) { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 12 >> 2] & 127](i10) | 0)) { - i1 = 0; - break L1; - } - i1 = HEAP32[i7 >> 2] | 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i1 = HEAP32[i1 >> 2] | 0; - } - i2 = i2 + -1 | 0; - i4 = i1 + 1 | 0; - i5 = HEAP8[i1 >> 0] | 0; - i1 = i5 & 255; - L10 : do if (i5 << 24 >> 24 == -1) { - i1 = i4; + $10 = dlmalloc($9 << 2); + if (!$10) { + break label$2; + } + $1 = 0; while (1) { - if (!i2) { - if (!(FUNCTION_TABLE_ii[HEAP32[(HEAP32[i7 >> 2] | 0) + 12 >> 2] & 127](i10) | 0)) { - i1 = 0; - break L1; - } - i4 = HEAP32[i7 >> 2] | 0; - i2 = HEAP32[i4 + 4 >> 2] | 0; - i4 = HEAP32[i4 >> 2] | 0; - } else i4 = i1; - i2 = i2 + -1 | 0; - i1 = i4 + 1 | 0; - i4 = HEAP8[i4 >> 0] | 0; - switch (i4 << 24 >> 24) { - case 0: - { - i5 = 255; - break L10; + if (($1 | 0) != ($9 | 0)) { + $7 = (HEAPU8[$1 + $2 | 0] ^ 255) + $7 | 0; + $1 = $1 + 1 | 0; + continue; + } + break; + } + $8 = ($7 >>> 0) / ($9 >>> 0) | 0; + $1 = 0; + while (1) { + if (($1 | 0) != ($9 | 0)) { + $7 = (HEAPU8[$1 + $2 | 0] ^ 255) - $8 | 0; + HEAP32[($1 << 2) + $10 >> 2] = $7; + $1 = $1 + 1 | 0; + $11 = Math_imul($7, $7) + $11 | 0; + continue; + } + break; + } + $15 = Math_sqrt(+($11 | 0)); + if ($15 / +($3 | 0) < 15) { + break folding_inner0; + } + $1 = HEAP32[$0 >> 2]; + $20 = ($1 | 0) > 0 ? $1 : 0; + $12 = -1; + $13 = -1; + $8 = -1; + while (1) { + if (($16 | 0) != ($20 | 0)) { + $1 = HEAP32[$0 + 8 >> 2]; + label$25: { + while (1) { + label$27: { + $8 = $8 + 1 | 0; + $17 = $8 << 2; + switch (HEAP32[$17 + $1 >> 2]) { + case 2: + break label$25; + + case 0: + continue; + + default: + break label$27; + } + } + break; + } + $21 = HEAP32[$0 + 24 >> 2]; + $22 = HEAP32[$0 + 20 >> 2]; + $3 = 0; + while (1) { + if (($3 | 0) == 4) { + break label$25; + } + $18 = $3 + $17 | 0; + $11 = HEAP32[($18 << 2) + $22 >> 2]; + $2 = 0; + $1 = 0; + while (1) { + if (($1 | 0) != ($9 | 0)) { + $7 = $1 << 2; + $2 = Math_imul(HEAP32[$11 + $7 >> 2], HEAP32[$7 + $10 >> 2]) + $2 | 0; + $1 = $1 + 1 | 0; + continue; + } + break; + } + $19 = +($2 | 0) / HEAPF64[($18 << 3) + $21 >> 3] / $15; + $1 = $19 > $14; + $14 = $1 ? $19 : $14; + $13 = $1 ? $8 : $13; + $12 = $1 ? $3 : $12; + $3 = $3 + 1 | 0; + continue; + } } - case -1: - break; - default: - break L3; + $16 = $16 + 1 | 0; + continue; } + break; } - } else { - i5 = i1; - i1 = i4; - } while (0); - i6 = i5 | i6 << 8; - i3 = i3 + 8 | 0; - } - HEAP32[i8 >> 2] = i4 & 255; - i4 = i6; - i5 = i2; - i13 = 15; - } else { - i5 = i2; - i13 = 15; - } while (0); - if ((i13 | 0) == 15) if ((i3 | 0) < (i9 | 0)) { - i2 = i10 + 444 | 0; - if (!(HEAP32[(HEAP32[i2 >> 2] | 0) + 8 >> 2] | 0)) { - i13 = HEAP32[i10 >> 2] | 0; - HEAP32[i13 + 20 >> 2] = 117; - FUNCTION_TABLE_vii[HEAP32[i13 + 4 >> 2] & 63](i10, -1); - HEAP32[(HEAP32[i2 >> 2] | 0) + 8 >> 2] = 1; - } - i4 = i4 << 25 - i3; - i3 = 25; - i2 = i5; - i13 = 19; - } else { - i2 = i5; - i13 = 19; - } - if ((i13 | 0) == 19) { - HEAP32[i11 >> 2] = i1; - HEAP32[i12 >> 2] = i2; - HEAP32[i11 + 8 >> 2] = i4; - HEAP32[i11 + 12 >> 2] = i3; - i1 = 1; - } - return i1 | 0; -} - -function _wcsrtombs(i3, i6, i1, i2) { - i3 = i3 | 0; - i6 = i6 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - var i4 = 0, i5 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i8; - L1 : do if (!i3) { - i1 = HEAP32[i6 >> 2] | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (!i2) i1 = 0; else { - i3 = i1; - i1 = 0; - do { - if (i2 >>> 0 > 127) { - i2 = _wcrtomb(i7, i2, 0) | 0; - if ((i2 | 0) == -1) { - i1 = -1; - break L1; - } - } else i2 = 1; - i1 = i2 + i1 | 0; - i3 = i3 + 4 | 0; - i2 = HEAP32[i3 >> 2] | 0; - } while ((i2 | 0) != 0); + } + HEAP32[$5 >> 2] = $12; + HEAP32[$4 >> 2] = $13; + HEAPF64[$6 >> 3] = $14; + dlfree($10); + return 0; } - } else { - L10 : do if (i1 >>> 0 > 3) { - i2 = i1; - i4 = HEAP32[i6 >> 2] | 0; - while (1) { - i5 = HEAP32[i4 >> 2] | 0; - if ((i5 + -1 | 0) >>> 0 > 126) { - if (!i5) break; - i5 = _wcrtomb(i3, i5, 0) | 0; - if ((i5 | 0) == -1) { - i1 = -1; - break L1; - } - i3 = i3 + i5 | 0; - i2 = i2 - i5 | 0; - } else { - HEAP8[i3 >> 0] = i5; - i3 = i3 + 1 | 0; - i2 = i2 + -1 | 0; - i4 = HEAP32[i6 >> 2] | 0; - } - i4 = i4 + 4 | 0; - HEAP32[i6 >> 2] = i4; - if (i2 >>> 0 <= 3) break L10; - } - HEAP8[i3 >> 0] = 0; - HEAP32[i6 >> 2] = 0; - i1 = i1 - i2 | 0; - break L1; - } else i2 = i1; while (0); - if (i2) { - i4 = HEAP32[i6 >> 2] | 0; - while (1) { - i5 = HEAP32[i4 >> 2] | 0; - if ((i5 + -1 | 0) >>> 0 > 126) { - if (!i5) { - i4 = 20; - break; + arLog(0, 3, 1790, 0); + exit(1); + abort(); + } + HEAP32[$4 >> 2] = 0; + HEAP32[$5 >> 2] = 0; + HEAP32[$6 >> 2] = 0; + HEAP32[$6 + 4 >> 2] = -1074790400; + dlfree($10); + return -2; +} + +function getNFTMarkerInfo($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 304 | 0; + __stack_pointer = $2; + HEAP32[$2 + 300 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 300 | 0), + HEAP32[wasm2js_i32$0 + 240 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 192 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 240 | 0, $2 + 192 | 0)) { + $0 = HEAP32[18567]; + break label$1; + } + $0 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 300 | 0); + if (HEAP32[$0 + 248 >> 2] <= ($1 | 0)) { + $0 = HEAP32[18568]; + break label$1; + } + $3 = HEAP32[$0 + 240 >> 2]; + label$4: { + label$5: { + if ($3) { + label$7: { + label$8: { + switch (HEAP32[$0 + 244 >> 2] + 2 | 0) { + case 0: + trackingInitStart($3, HEAP32[$0 + 204 >> 2]); + HEAP32[$0 + 244 >> 2] = -1; + $3 = HEAP32[$0 + 240 >> 2]; + break; + + case 1: + break label$8; + + default: + break label$7; + } + } + $3 = trackingInitGetResult($3, $2 + 192 | 0, $2 + 296 | 0); + if (($3 | 0) == 1) { + HEAP32[$2 + 176 >> 2] = 1; + arLog(0, 1, 40044, $2 + 176 | 0); + $3 = HEAP32[$2 + 296 >> 2]; + if (!(($3 | 0) < 0 | HEAP32[$0 + 248 >> 2] <= ($3 | 0))) { + HEAP32[$2 + 144 >> 2] = $3; + arLog(0, 1, 39662, $2 + 144 | 0); + $3 = HEAP32[$2 + 296 >> 2]; + HEAP32[$0 + 244 >> 2] = $3; + ar2SetInitTrans(HEAP32[(($3 << 2) + $0 | 0) + 272 >> 2], $2 + 192 | 0); + break label$7; + } + HEAP32[$2 + 160 >> 2] = $3; + arLog(0, 3, 39681, $2 + 160 | 0); + HEAP32[$0 + 244 >> 2] = -2; + break label$7; + } + if (($3 | 0) >= 0) { + break label$7; + } + arLog(0, 1, 39533, 0); + HEAP32[$0 + 244 >> 2] = -2; } - i5 = _wcrtomb(i7, i5, 0) | 0; - if ((i5 | 0) == -1) { - i1 = -1; - break L1; + $3 = HEAP32[$0 + 244 >> 2]; + if (($3 | 0) < 0 | HEAP32[$0 + 248 >> 2] <= ($3 | 0)) { + break label$4; } - if (i2 >>> 0 < i5 >>> 0) { - i4 = 23; - break; + if ((ar2Tracking(HEAP32[$0 + 236 >> 2], HEAP32[(($3 << 2) + $0 | 0) + 272 >> 2], HEAP32[$0 + 196 >> 2], $2 + 192 | 0, $2 + 292 | 0) | 0) < 0) { + arLog(0, 1, 38786, 0); + break label$5; } - _wcrtomb(i3, HEAP32[i4 >> 2] | 0, 0) | 0; - i3 = i3 + i5 | 0; - i2 = i2 - i5 | 0; - } else { - HEAP8[i3 >> 0] = i5; - i3 = i3 + 1 | 0; - i2 = i2 + -1 | 0; - i4 = HEAP32[i6 >> 2] | 0; - } - i4 = i4 + 4 | 0; - HEAP32[i6 >> 2] = i4; - if (!i2) break L1; - } - if ((i4 | 0) == 20) { - HEAP8[i3 >> 0] = 0; - HEAP32[i6 >> 2] = 0; - i1 = i1 - i2 | 0; - break; - } else if ((i4 | 0) == 23) { - i1 = i1 - i2 | 0; - break; + $3 = HEAP32[$0 + 248 >> 2]; + HEAP32[$2 + 128 >> 2] = HEAP32[$0 + 244 >> 2]; + HEAP32[$2 + 132 >> 2] = $3 - 1; + arLog(0, 1, 39943, $2 + 128 | 0); + $3 = HEAP32[$0 + 244 >> 2]; + break label$4; + } + arLog(0, 3, 38608, 0); } + $3 = -2; + HEAP32[$0 + 244 >> 2] = -2; } - } while (0); - STACKTOP = i8; - return i1 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE8__rehashEm(i11, i10) { - i11 = i11 | 0; - i10 = i10 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i2 = i11 + 4 | 0; - L1 : do if (i10) { - if (i10 >>> 0 > 1073741823) { - i11 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i11, 40521); - HEAP32[i11 >> 2] = 17440; - ___cxa_throw(i11 | 0, 13288, 107); - } - i9 = __Znwm(i10 << 2) | 0; - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = i9; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = i10; - i1 = 0; - while (1) { - if ((i1 | 0) == (i10 | 0)) break; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i3 = i11 + 8 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (i1 | 0) { - i2 = HEAP32[i1 + 4 >> 2] | 0; - i8 = i10 + -1 | 0; - i9 = (i8 & i10 | 0) == 0; - if (!i9) { - if (i2 >>> 0 >= i10 >>> 0) i2 = (i2 >>> 0) % (i10 >>> 0) | 0; - } else i2 = i2 & i8; - HEAP32[(HEAP32[i11 >> 2] | 0) + (i2 << 2) >> 2] = i3; - while (1) { - i7 = i1; - L25 : while (1) { - while (1) { - i1 = HEAP32[i7 >> 2] | 0; - if (!i1) break L1; - i3 = HEAP32[i1 + 4 >> 2] | 0; - if (!i9) { - if (i3 >>> 0 >= i10 >>> 0) i3 = (i3 >>> 0) % (i10 >>> 0) | 0; - } else i3 = i3 & i8; - if ((i3 | 0) == (i2 | 0)) break; - i4 = (HEAP32[i11 >> 2] | 0) + (i3 << 2) | 0; - if (!(HEAP32[i4 >> 2] | 0)) break L25; - i5 = i1 + 8 | 0; - i4 = i1; + label$13: { + if (!(($3 | 0) < 0 | HEAP32[$0 + 248 >> 2] <= ($3 | 0))) { + while (1) { + $0 = 0; + if (($4 | 0) != 3) { while (1) { - i6 = HEAP32[i4 >> 2] | 0; - if (!i6) break; - if ((HEAP32[i5 >> 2] | 0) == (HEAP32[i6 + 8 >> 2] | 0)) i4 = i6; else break; + if (($0 | 0) != 4) { + $5 = $0 << 2; + $3 = $4 << 4; + HEAPF32[$5 + ($3 + ($2 + 240 | 0) | 0) >> 2] = HEAPF32[(($2 + 192 | 0) + $3 | 0) + $5 >> 2]; + $0 = $0 + 1 | 0; + continue; + } + break; } - HEAP32[i7 >> 2] = i6; - HEAP32[i4 >> 2] = HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2]; - HEAP32[HEAP32[(HEAP32[i11 >> 2] | 0) + (i3 << 2) >> 2] >> 2] = i1; + $4 = $4 + 1 | 0; + continue; } - i7 = i1; + break; } - HEAP32[i4 >> 2] = i7; - i2 = i3; - } - } - } else { - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i11 >> 2] = 0; - if (i1 | 0) __ZdlPv(i1); - HEAP32[i2 >> 2] = 0; - } while (0); - return; -} - -function _quantize_fs_dither(i1, i26, i27, i28) { - i1 = i1 | 0; - i26 = i26 | 0; - i27 = i27 | 0; - i28 = i28 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, i23 = 0, i24 = 0, i25 = 0, i29 = 0, i30 = 0, i31 = 0, i32 = 0, i33 = 0, i34 = 0; - i29 = HEAP32[i1 + 460 >> 2] | 0; - i30 = HEAP32[i1 + 120 >> 2] | 0; - i31 = HEAP32[i1 + 112 >> 2] | 0; - i16 = HEAP32[i1 + 324 >> 2] | 0; - i17 = i29 + 84 | 0; - i18 = i29 + 24 | 0; - i19 = i29 + 16 | 0; - i20 = i31 + -1 | 0; - i21 = Math_imul(i20, i30) | 0; - i22 = 0 - i30 | 0; - i23 = i31 + 1 | 0; - i11 = 0; - while (1) { - if ((i11 | 0) >= (i28 | 0)) break; - i24 = i27 + (i11 << 2) | 0; - _jzero_far(HEAP32[i24 >> 2] | 0, i31); - i25 = i26 + (i11 << 2) | 0; - i12 = 0; - while (1) { - if ((i12 | 0) >= (i30 | 0)) break; - i1 = (HEAP32[i25 >> 2] | 0) + i12 | 0; - i2 = HEAP32[i24 >> 2] | 0; - if (!(HEAP32[i17 >> 2] | 0)) { - i13 = i30; - i14 = 1; - i15 = HEAP32[i29 + 68 + (i12 << 2) >> 2] | 0; - } else { - i13 = i22; - i14 = -1; - i15 = (HEAP32[i29 + 68 + (i12 << 2) >> 2] | 0) + (i23 << 1) | 0; - i1 = i1 + i21 | 0; - i2 = i2 + i20 | 0; - } - i8 = HEAP32[(HEAP32[i18 >> 2] | 0) + (i12 << 2) >> 2] | 0; - i9 = HEAP32[(HEAP32[i19 >> 2] | 0) + (i12 << 2) >> 2] | 0; - i10 = Math_imul(i31, i14) | 0; - i3 = 0; - i4 = 0; - i5 = i31; - i6 = 0; - i7 = i15; - while (1) { - if (!i5) break; - i32 = i7 + (i14 << 1) | 0; - i33 = HEAPU8[i16 + ((i3 + 8 + (HEAP16[i32 >> 1] | 0) >> 4) + (HEAPU8[i1 >> 0] | 0)) >> 0] | 0; - i34 = HEAPU8[i8 + i33 >> 0] | 0; - HEAP8[i2 >> 0] = (HEAPU8[i2 >> 0] | 0) + i34; - i34 = i33 - (HEAPU8[i9 + i34 >> 0] | 0) | 0; - HEAP16[i7 >> 1] = (i34 * 3 | 0) + i6; - i33 = (i34 * 5 | 0) + i4 | 0; - i3 = i34 * 7 | 0; - i4 = i34; - i5 = i5 + -1 | 0; - i6 = i33; - i7 = i32; - i1 = i1 + i13 | 0; - i2 = i2 + i14 | 0; - } - HEAP16[i15 + (i10 << 1) >> 1] = i6; - i12 = i12 + 1 | 0; - } - HEAP32[i17 >> 2] = (HEAP32[i17 >> 2] | 0) == 0 & 1; - i11 = i11 + 1 | 0; - } - return; -} - -function _h2v1_merged_upsample(i4, i1, i2, i3) { - i4 = i4 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0; - i15 = HEAP32[i4 + 452 >> 2] | 0; - i17 = HEAP32[i4 + 324 >> 2] | 0; - i18 = HEAP32[i15 + 16 >> 2] | 0; - i13 = HEAP32[i15 + 20 >> 2] | 0; - i14 = HEAP32[i15 + 24 >> 2] | 0; - i15 = HEAP32[i15 + 28 >> 2] | 0; - i16 = HEAP32[(HEAP32[i1 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i5 = HEAP32[(HEAP32[i1 + 4 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i12 = HEAP32[(HEAP32[i1 + 8 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i7 = HEAP32[i3 >> 2] | 0; - i8 = i4 + 112 | 0; - i10 = HEAP32[i8 >> 2] | 0; - i9 = i10 >>> 1; - i6 = i9 * 6 | 0; - i10 = i10 & -2; - i11 = i5 + i9 | 0; - i1 = i9; - i2 = i12; - i3 = i5; - i4 = i16; - i5 = i7; - while (1) { - if (!i1) break; - i20 = HEAPU8[i3 >> 0] | 0; - i21 = HEAPU8[i2 >> 0] | 0; - i22 = HEAP32[i18 + (i21 << 2) >> 2] | 0; - i21 = (HEAP32[i14 + (i21 << 2) >> 2] | 0) + (HEAP32[i15 + (i20 << 2) >> 2] | 0) >> 16; - i20 = HEAP32[i13 + (i20 << 2) >> 2] | 0; - i19 = HEAPU8[i4 >> 0] | 0; - HEAP8[i5 >> 0] = HEAP8[i17 + (i22 + i19) >> 0] | 0; - HEAP8[i5 + 1 >> 0] = HEAP8[i17 + (i21 + i19) >> 0] | 0; - HEAP8[i5 + 2 >> 0] = HEAP8[i17 + (i20 + i19) >> 0] | 0; - i19 = HEAPU8[i4 + 1 >> 0] | 0; - HEAP8[i5 + 3 >> 0] = HEAP8[i17 + (i22 + i19) >> 0] | 0; - HEAP8[i5 + 4 >> 0] = HEAP8[i17 + (i21 + i19) >> 0] | 0; - HEAP8[i5 + 5 >> 0] = HEAP8[i17 + (i20 + i19) >> 0] | 0; - i1 = i1 + -1 | 0; - i2 = i2 + 1 | 0; - i3 = i3 + 1 | 0; - i4 = i4 + 2 | 0; - i5 = i5 + 6 | 0; - } - i1 = i7 + i6 | 0; - if (HEAP32[i8 >> 2] & 1 | 0) { - i21 = HEAPU8[i11 >> 0] | 0; - i19 = HEAPU8[i12 + i9 >> 0] | 0; - i20 = (HEAP32[i14 + (i19 << 2) >> 2] | 0) + (HEAP32[i15 + (i21 << 2) >> 2] | 0) >> 16; - i21 = HEAP32[i13 + (i21 << 2) >> 2] | 0; - i22 = HEAPU8[i16 + i10 >> 0] | 0; - HEAP8[i1 >> 0] = HEAP8[i17 + ((HEAP32[i18 + (i19 << 2) >> 2] | 0) + i22) >> 0] | 0; - HEAP8[i1 + 1 >> 0] = HEAP8[i17 + (i20 + i22) >> 0] | 0; - HEAP8[i1 + 2 >> 0] = HEAP8[i17 + (i21 + i22) >> 0] | 0; - } - return; -} - -function _find_best_colors(i3, i21, i22, i23, i24, i25, i26) { - i3 = i3 | 0; - i21 = i21 | 0; - i22 = i22 | 0; - i23 = i23 | 0; - i24 = i24 | 0; - i25 = i25 | 0; - i26 = i26 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i27 = 0, i28 = 0, i29 = 0; - i28 = STACKTOP; - STACKTOP = STACKTOP + 512 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(512); - i27 = i28; - i1 = i27; - i2 = 127; + HEAPF64[$2 + 16 >> 3] = HEAPF32[$2 + 240 >> 2]; + HEAPF64[$2 + 24 >> 3] = HEAPF32[$2 + 244 >> 2]; + HEAPF64[$2 + 32 >> 3] = HEAPF32[$2 + 248 >> 2]; + HEAPF64[$2 + 40 >> 3] = HEAPF32[$2 + 252 >> 2]; + HEAPF64[$2 + 48 >> 3] = HEAPF32[$2 + 256 >> 2]; + HEAPF64[$2 + 80 >> 3] = HEAPF32[$2 + 272 >> 2]; + HEAPF64[$2 + 56 >> 3] = HEAPF32[$2 + 260 >> 2]; + HEAPF64[$2 - -64 >> 3] = HEAPF32[$2 + 264 >> 2]; + HEAPF64[$2 + 72 >> 3] = HEAPF32[$2 + 268 >> 2]; + HEAPF64[$2 + 88 >> 3] = HEAPF32[$2 + 276 >> 2]; + HEAPF64[$2 + 96 >> 3] = HEAPF32[$2 + 280 >> 2]; + HEAPF64[$2 + 104 >> 3] = HEAPF32[$2 + 284 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAPF64[$2 + 8 >> 3] = HEAPF32[$2 + 292 >> 2]; + emscripten_asm_const_int(74732, 40068, $2 | 0) | 0; + break label$13; + } + HEAP32[$2 + 112 >> 2] = $1; + emscripten_asm_const_int(75429, 40083, $2 + 112 | 0) | 0; + } + $0 = 0; + } + __stack_pointer = $2 + 304 | 0; + return $0 | 0; +} + +function jpeg_idct_ifast($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $20 = __stack_pointer - 256 | 0; + __stack_pointer = $20; + $21 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $20; + $8 = 8; while (1) { - if ((i2 | 0) <= -1) break; - HEAP32[i1 >> 2] = 2147483647; - i1 = i1 + 4 | 0; - i2 = i2 + -1 | 0; + label$2: { + label$3: { + $5 = HEAP16[$2 + 16 >> 1]; + $6 = HEAPU16[$2 + 32 >> 1]; + if (($5 | $6) & 65535) { + break label$3; + } + $6 = 0; + if (HEAPU16[$2 + 48 >> 1] | HEAPU16[$2 + 64 >> 1] | (HEAPU16[$2 + 80 >> 1] | HEAPU16[$2 + 96 >> 1])) { + break label$3; + } + if (HEAPU16[$2 + 112 >> 1]) { + break label$3; + } + $6 = Math_imul(HEAP32[$1 >> 2], HEAP16[$2 >> 1]); + HEAP32[$0 + 192 >> 2] = $6; + HEAP32[$0 + 160 >> 2] = $6; + HEAP32[$0 + 128 >> 2] = $6; + HEAP32[$0 + 96 >> 2] = $6; + HEAP32[$0 + 64 >> 2] = $6; + HEAP32[$0 + 32 >> 2] = $6; + HEAP32[$0 >> 2] = $6; + $5 = 56; + break label$2; + } + $7 = Math_imul(HEAP32[$1 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $9 = Math_imul(HEAP32[$1 + 64 >> 2], $6 << 16 >> 16); + $6 = $7 + $9 | 0; + $10 = Math_imul(HEAP32[$1 >> 2], HEAP16[$2 >> 1]); + $12 = Math_imul(HEAP32[$1 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $14 = $10 + $12 | 0; + $11 = $6 + $14 | 0; + $13 = Math_imul(HEAP32[$1 + 224 >> 2], HEAP16[$2 + 112 >> 1]); + $15 = Math_imul(HEAP32[$1 + 32 >> 2], $5); + $16 = $13 + $15 | 0; + $17 = Math_imul(HEAP32[$1 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $18 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $19 = $17 + $18 | 0; + $5 = $16 + $19 | 0; + HEAP32[$0 + 224 >> 2] = $11 - $5; + HEAP32[$0 >> 2] = $5 + $11; + $7 = (Math_imul($9 - $7 | 0, 362) >> 8) - $6 | 0; + $9 = $10 - $12 | 0; + $12 = $7 + $9 | 0; + $10 = $15 - $13 | 0; + $11 = $17 - $18 | 0; + $13 = Math_imul($10 + $11 | 0, 473) >> 8; + $5 = $13 - ((Math_imul($11, 669) >> 8) + $5 | 0) | 0; + HEAP32[$0 + 192 >> 2] = $12 - $5; + HEAP32[$0 + 32 >> 2] = $5 + $12; + $7 = $9 - $7 | 0; + $5 = (Math_imul($16 - $19 | 0, 362) >> 8) - $5 | 0; + HEAP32[$0 + 160 >> 2] = $7 - $5; + HEAP32[$0 + 64 >> 2] = $5 + $7; + $5 = $13 - ((Math_imul($10, 277) >> 8) + $5 | 0) | 0; + $6 = $14 - $6 | 0; + HEAP32[$0 + 96 >> 2] = $5 + $6; + $6 = $6 - $5 | 0; + $5 = 32; + } + HEAP32[($5 << 2) + $0 >> 2] = $6; + $2 = $2 + 2 | 0; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $6 = $8 >>> 0 > 1; + $8 = $8 - 1 | 0; + if ($6) { + continue; + } + break; } - i16 = i3 + 136 | 0; - i15 = 0; + $1 = $21 - 384 | 0; + $2 = $20; + $6 = 0; while (1) { - if ((i15 | 0) >= (i24 | 0)) break; - i17 = HEAP8[i25 + i15 >> 0] | 0; - i11 = i17 & 255; - i19 = HEAP32[i16 >> 2] | 0; - i9 = i21 - (HEAPU8[(HEAP32[i19 >> 2] | 0) + i11 >> 0] | 0) | 0; - i12 = i9 << 1; - i12 = Math_imul(i12, i12) | 0; - i18 = i22 - (HEAPU8[(HEAP32[i19 + 4 >> 2] | 0) + i11 >> 0] | 0) | 0; - i7 = i18 * 3 | 0; - i12 = (Math_imul(i7, i7) | 0) + i12 | 0; - i11 = i23 - (HEAPU8[(HEAP32[i19 + 8 >> 2] | 0) + i11 >> 0] | 0) | 0; - i18 = (i18 * 72 | 0) + 144 | 0; - i19 = (i11 << 4) + 64 | 0; - i7 = 3; - i9 = (i9 << 6) + 256 | 0; - i11 = i12 + (Math_imul(i11, i11) | 0) | 0; - i12 = i26; - i1 = i27; - while (1) { - if ((i7 | 0) <= -1) break; - i20 = i1 + 128 | 0; - i8 = i18; - i10 = i11; - i13 = 7; - i14 = i12; - while (1) { - if ((i13 | 0) <= -1) break; - i6 = i1 + 16 | 0; - i2 = 3; - i3 = i19; - i4 = i10; - i5 = i14; - while (1) { - if ((i2 | 0) <= -1) break; - if ((i4 | 0) < (HEAP32[i1 >> 2] | 0)) { - HEAP32[i1 >> 2] = i4; - HEAP8[i5 >> 0] = i17; - } - i29 = i3 + i4 | 0; - i2 = i2 + -1 | 0; - i3 = i3 + 128 | 0; - i4 = i29; - i5 = i5 + 1 | 0; - i1 = i1 + 4 | 0; - } - i1 = i8 + i10 | 0; - i8 = i8 + 288 | 0; - i10 = i1; - i13 = i13 + -1 | 0; - i14 = i14 + 4 | 0; - i1 = i6; - } - i1 = i9 + i11 | 0; - i7 = i7 + -1 | 0; - i9 = i9 + 512 | 0; - i11 = i1; - i12 = i12 + 32 | 0; - i1 = i20; - } - i15 = i15 + 1 | 0; - } - STACKTOP = i28; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE23__append_forward_unsafeIPcEERS5_T_S9_(i11, i1, i8) { - i11 = i11 | 0; - i1 = i1 | 0; - i8 = i8 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i1; - i10 = i13; - i12 = i11 + 11 | 0; - i4 = HEAP8[i12 >> 0] | 0; - i2 = i4 << 24 >> 24 < 0; - if (i2) { - i9 = HEAP32[i11 + 4 >> 2] | 0; - i5 = (HEAP32[i11 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - i9 = i4 & 255; - i5 = 10; - } - i7 = i8 - i6 | 0; - do if (i7 | 0) { - if (i2) { - i3 = HEAP32[i11 >> 2] | 0; - i2 = HEAP32[i11 + 4 >> 2] | 0; - } else { - i3 = i11; - i2 = i4 & 255; - } - if (__ZNSt3__214__ptr_in_rangeIcEEbPKT_S3_S3_(i1, i3, i3 + i2 | 0) | 0) { - HEAP32[i10 >> 2] = 0; - HEAP32[i10 + 4 >> 2] = 0; - HEAP32[i10 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(i10, i1, i8); - i12 = HEAP8[i10 + 11 >> 0] | 0; - i9 = i12 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcm(i11, i9 ? HEAP32[i10 >> 2] | 0 : i10, i9 ? HEAP32[i10 + 4 >> 2] | 0 : i12 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i10); - break; - } - if ((i5 - i9 | 0) >>> 0 < i7 >>> 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm(i11, i5, i9 + i7 - i5 | 0, i9, i9, 0, 0); - if ((HEAP8[i12 >> 0] | 0) < 0) i4 = HEAP32[i11 >> 2] | 0; else i4 = i11; - i3 = i8 + (i9 - i6) | 0; - i2 = i4 + i9 | 0; - while (1) { - if ((i1 | 0) == (i8 | 0)) break; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i1); - i2 = i2 + 1 | 0; - i1 = i1 + 1 | 0; - } - HEAP8[i10 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i4 + i3 | 0, i10); - i1 = i9 + i7 | 0; - if ((HEAP8[i12 >> 0] | 0) < 0) { - HEAP32[i11 + 4 >> 2] = i1; - break; - } else { - HEAP8[i12 >> 0] = i1; - break; - } - } while (0); - STACKTOP = i13; - return i11 | 0; -} - -function _arPattCreateHandle2(i5, i11) { - i5 = i5 | 0; - i11 = i11 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i15 = i16 + 56 | 0; - i14 = i16 + 48 | 0; - i7 = i16 + 40 | 0; - i6 = i16 + 32 | 0; - i4 = i16 + 24 | 0; - i3 = i16 + 16 | 0; - i2 = i16 + 8 | 0; - i1 = i16; - L1 : do if (!((i5 + -16 | 0) >>> 0 > 48 | (i11 | 0) < 1)) { - i12 = _malloc(32) | 0; - if (!i12) { - _arLog(0, 3, 20454, i1); - _exit(1); - } - HEAP32[i12 >> 2] = 0; - HEAP32[i12 + 4 >> 2] = i11; - HEAP32[i12 + 28 >> 2] = i5; - i10 = _malloc(i11 << 2) | 0; - HEAP32[i12 + 8 >> 2] = i10; - if (!i10) { - _arLog(0, 3, 20454, i2); - _exit(1); - } - i1 = i11 << 4; - i9 = _malloc(i1) | 0; - HEAP32[i12 + 12 >> 2] = i9; - if (!i9) { - _arLog(0, 3, 20454, i3); - _exit(1); - } - i3 = _malloc(i1) | 0; - i8 = i12 + 20 | 0; - HEAP32[i8 >> 2] = i3; - if (!i3) { - _arLog(0, 3, 20454, i4); - _exit(1); - } - i1 = i11 << 5; - i4 = _malloc(i1) | 0; - HEAP32[i12 + 16 >> 2] = i4; - if (!i4) { - _arLog(0, 3, 20454, i6); - _exit(1); - } - i6 = _malloc(i1) | 0; - HEAP32[i12 + 24 >> 2] = i6; - if (!i6) { - _arLog(0, 3, 20454, i7); - _exit(1); - } - i4 = Math_imul(i5, i5) | 0; - i3 = i4 * 12 | 0; - i4 = i4 << 2; - i2 = 0; - L21 : while (1) { - if ((i2 | 0) >= (i11 | 0)) { - i13 = i12; - break L1; - } - HEAP32[i10 + (i2 << 2) >> 2] = 0; - i5 = i2 << 2; - i1 = 0; - while (1) { - if (i1 >>> 0 >= 4) break; - i7 = _malloc(i3) | 0; - i6 = i1 + i5 | 0; - HEAP32[i9 + (i6 << 2) >> 2] = i7; - if (!i7) { - i1 = 19; - break L21; - } - i7 = _malloc(i4) | 0; - HEAP32[(HEAP32[i8 >> 2] | 0) + (i6 << 2) >> 2] = i7; - if (!i7) { - i1 = 21; - break L21; - } else i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - if ((i1 | 0) == 19) { - _arLog(0, 3, 20454, i14); - _exit(1); - } else if ((i1 | 0) == 21) { - _arLog(0, 3, 20454, i15); - _exit(1); - } - } else i13 = 0; while (0); - STACKTOP = i16; - return i13 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_116parse_dot_suffixINS0_2DbEEEPKcS4_S4_RT_(i1, i3, i2) { - i1 = i1 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i5 = i8 + 24 | 0; - i6 = i8 + 12 | 0; - i7 = i8; - if (((i1 | 0) != (i3 | 0) ? (HEAP8[i1 >> 0] | 0) == 46 : 0) ? (i4 = i2 + 4 | 0, (HEAP32[i2 >> 2] | 0) != (HEAP32[i4 >> 2] | 0)) : 0) { - HEAP32[i7 >> 2] = 0; - HEAP32[i7 + 4 >> 2] = 0; - HEAP32[i7 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(i7, i1, i3); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i7, 0, 49664) | 0; - HEAP32[i6 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i6 + 4 >> 2] = HEAP32[i7 + 4 >> 2]; - HEAP32[i6 + 8 >> 2] = HEAP32[i7 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i7 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i6, 49667) | 0; - HEAP32[i5 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i5 + 4 >> 2] = HEAP32[i6 + 4 >> 2]; - HEAP32[i5 + 8 >> 2] = HEAP32[i6 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i6 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = HEAP8[i5 + 11 >> 0] | 0; - i2 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i4 >> 2] | 0) + -24 | 0, i2 ? HEAP32[i5 >> 2] | 0 : i5, i2 ? HEAP32[i5 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i5); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i7); - i1 = i3; - } - STACKTOP = i8; - return i1 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRb(i2, i3, i4, i5, i6, i7) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - var i1 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i1 = i13 + 40 | 0; - i12 = i13; - i8 = i13 + 32 | 0; - i9 = i13 + 36 | 0; - i10 = i13 + 28 | 0; - i11 = i13 + 24 | 0; - if (!(HEAP32[i5 + 4 >> 2] & 1)) { - HEAP32[i8 >> 2] = -1; - i11 = HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] | 0; - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i12 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i10 >> 2]; - i12 = FUNCTION_TABLE_iiiiiii[i11 & 63](i2, i12, i1, i5, i6, i8) | 0; - HEAP32[i3 >> 2] = i12; - switch (HEAP32[i8 >> 2] | 0) { - case 0: - { - HEAP8[i7 >> 0] = 0; - break; - } - case 1: - { - HEAP8[i7 >> 0] = 1; - break; - } - default: - { - HEAP8[i7 >> 0] = 1; - HEAP32[i6 >> 2] = 4; - } - } - i1 = HEAP32[i3 >> 2] | 0; - } else { - __ZNKSt3__28ios_base6getlocEv(i1, i5); - i10 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57948) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNKSt3__28ios_base6getlocEv(i1, i5); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57956) | 0; - __ZNSt3__26localeD2Ev(i1); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 63](i12, i2); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i12 + 12 | 0, i2); - HEAP32[i11 >> 2] = HEAP32[i4 >> 2]; - i2 = i12 + 24 | 0; - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - i1 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb(i3, i1, i12, i2, i10, i6, 1) | 0) == (i12 | 0) & 1; - HEAP8[i7 >> 0] = i1; - i1 = HEAP32[i3 >> 2] | 0; - do { - i2 = i2 + -12 | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i2); - } while ((i2 | 0) != (i12 | 0)); - } - STACKTOP = i13; - return i1 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRb(i2, i3, i4, i5, i6, i7) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - var i1 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i1 = i13 + 40 | 0; - i12 = i13; - i8 = i13 + 32 | 0; - i9 = i13 + 36 | 0; - i10 = i13 + 28 | 0; - i11 = i13 + 24 | 0; - if (!(HEAP32[i5 + 4 >> 2] & 1)) { - HEAP32[i8 >> 2] = -1; - i11 = HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] | 0; - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i12 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i10 >> 2]; - i12 = FUNCTION_TABLE_iiiiiii[i11 & 63](i2, i12, i1, i5, i6, i8) | 0; - HEAP32[i3 >> 2] = i12; - switch (HEAP32[i8 >> 2] | 0) { - case 0: - { - HEAP8[i7 >> 0] = 0; - break; - } - case 1: - { - HEAP8[i7 >> 0] = 1; - break; - } - default: - { - HEAP8[i7 >> 0] = 1; - HEAP32[i6 >> 2] = 4; - } - } - i1 = HEAP32[i3 >> 2] | 0; - } else { - __ZNKSt3__28ios_base6getlocEv(i1, i5); - i10 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57916) | 0; - __ZNSt3__26localeD2Ev(i1); - __ZNKSt3__28ios_base6getlocEv(i1, i5); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i1, 57932) | 0; - __ZNSt3__26localeD2Ev(i1); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 63](i12, i2); - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i12 + 12 | 0, i2); - HEAP32[i11 >> 2] = HEAP32[i4 >> 2]; - i2 = i12 + 24 | 0; - HEAP32[i1 >> 2] = HEAP32[i11 >> 2]; - i1 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb(i3, i1, i12, i2, i10, i6, 1) | 0) == (i12 | 0) & 1; - HEAP8[i7 >> 0] = i1; - i1 = HEAP32[i3 >> 2] | 0; - do { - i2 = i2 + -12 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i2); - } while ((i2 | 0) != (i12 | 0)); - } - STACKTOP = i13; - return i1 | 0; -} - -function __ZN6vision21HoughSimilarityVoting4voteEPKfS2_i(i3, i4, i11, i12) { - i3 = i3 | 0; - i4 = i4 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0; - i17 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i13 = i17 + 12 | 0; - i14 = i17 + 8 | 0; - i15 = i17 + 4 | 0; - i16 = i17; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE5clearEv(i3 + 92 | 0); - if (i12 | 0) { - i5 = i3 + 112 | 0; - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm(i5, i12 << 2); - i6 = i3 + 124 | 0; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm(i6, i12); - if (HEAP8[i3 + 16 >> 0] | 0) __ZN6vision21HoughSimilarityVoting19autoAdjustXYNumBinsEPKfS2_i(i3, i4, i11, i12); - i7 = i3 + 68 | 0; - i8 = i3 + 72 | 0; - i9 = i3 + 76 | 0; - i10 = i3 + 80 | 0; - i1 = 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i12 | 0)) break; - i18 = i2 << 2; - i19 = i4 + (i18 << 2) | 0; - i18 = i11 + (i18 << 2) | 0; - __ZNK6vision21HoughSimilarityVoting17mapCorrespondenceERfS1_S1_S1_ffffffff(i3, i13, i14, i15, i16, +HEAPF32[i19 >> 2], +HEAPF32[i19 + 4 >> 2], +HEAPF32[i19 + 8 >> 2], +HEAPF32[i19 + 12 >> 2], +HEAPF32[i18 >> 2], +HEAPF32[i18 + 4 >> 2], +HEAPF32[i18 + 8 >> 2], +HEAPF32[i18 + 12 >> 2]); - if (__ZN6vision21HoughSimilarityVoting4voteEffff(i3, +HEAPF32[i13 >> 2], +HEAPF32[i14 >> 2], +HEAPF32[i15 >> 2], +HEAPF32[i16 >> 2]) | 0) { - i19 = (HEAP32[i5 >> 2] | 0) + (i1 << 2 << 2) | 0; - HEAP32[i19 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i19 + 4 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i19 + 8 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i19 + 12 >> 2] = HEAP32[i10 >> 2]; - HEAP32[(HEAP32[i6 >> 2] | 0) + (i1 << 2) >> 2] = i2; - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm(i5, i1 << 2); - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm(i6, i1); - } - STACKTOP = i17; - return; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE23__append_forward_unsafeIPwEERS5_T_S9_(i10, i1, i7) { - i10 = i10 | 0; - i1 = i1 | 0; - i7 = i7 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i12; - i2 = i10 + 8 | 0; - i11 = i2 + 3 | 0; - i5 = HEAP8[i11 >> 0] | 0; - i3 = i5 << 24 >> 24 < 0; - if (i3) { - i9 = HEAP32[i10 + 4 >> 2] | 0; - i4 = (HEAP32[i2 >> 2] & 2147483647) + -1 | 0; - } else { - i9 = i5 & 255; - i4 = 1; - } - i2 = i7 - i1 | 0; - i6 = i2 >> 2; - do if (i2 | 0) { - if (i3) { - i3 = HEAP32[i10 >> 2] | 0; - i2 = HEAP32[i10 + 4 >> 2] | 0; - } else { - i3 = i10; - i2 = i5 & 255; - } - if (__ZNSt3__214__ptr_in_rangeIwEEbPKT_S3_S3_(i1, i3, i3 + (i2 << 2) | 0) | 0) { - HEAP32[i8 >> 2] = 0; - HEAP32[i8 + 4 >> 2] = 0; - HEAP32[i8 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(i8, i1, i7); - i11 = HEAP8[i8 + 8 + 3 >> 0] | 0; - i9 = i11 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6appendEPKwm(i10, i9 ? HEAP32[i8 >> 2] | 0 : i8, i9 ? HEAP32[i8 + 4 >> 2] | 0 : i11 & 255) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i8); - break; - } - if ((i4 - i9 | 0) >>> 0 < i6 >>> 0) __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEmmmmmm(i10, i4, i9 + i6 - i4 | 0, i9, i9, 0, 0); - if ((HEAP8[i11 >> 0] | 0) < 0) i2 = HEAP32[i10 >> 2] | 0; else i2 = i10; - i2 = i2 + (i9 << 2) | 0; - while (1) { - if ((i1 | 0) == (i7 | 0)) break; - __ZNSt3__211char_traitsIwE6assignERwRKw(i2, i1); - i2 = i2 + 4 | 0; - i1 = i1 + 4 | 0; - } - HEAP32[i8 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i2, i8); - i1 = i9 + i6 | 0; - if ((HEAP8[i11 >> 0] | 0) < 0) { - HEAP32[i10 + 4 >> 2] = i1; - break; - } else { - HEAP8[i11 >> 0] = i1; - break; + $5 = HEAP32[$2 >> 2] + 16400 | 0; + $0 = HEAP32[($6 << 2) + $3 >> 2] + $4 | 0; + label$5: { + label$6: { + $8 = HEAP32[$2 + 8 >> 2]; + $7 = HEAP32[$2 + 4 >> 2]; + if ($8 | $7) { + break label$6; + } + $8 = 0; + if (HEAP32[$2 + 12 >> 2] | HEAP32[$2 + 16 >> 2] | (HEAP32[$2 + 20 >> 2] | HEAP32[$2 + 24 >> 2])) { + break label$6; + } + if (HEAP32[$2 + 28 >> 2]) { + break label$6; + } + $5 = __wasm_i64_mul(HEAPU8[($5 >>> 5 & 1023) + $1 | 0], 0, 16843009, 16843009); + HEAP8[$0 | 0] = $5; + HEAP8[$0 + 1 | 0] = $5 >>> 8; + HEAP8[$0 + 2 | 0] = $5 >>> 16; + HEAP8[$0 + 3 | 0] = $5 >>> 24; + $5 = i64toi32_i32$HIGH_BITS; + HEAP8[$0 + 4 | 0] = $5; + HEAP8[$0 + 5 | 0] = $5 >>> 8; + HEAP8[$0 + 6 | 0] = $5 >>> 16; + HEAP8[$0 + 7 | 0] = $5 >>> 24; + break label$5; + } + $10 = HEAP32[$2 + 28 >> 2]; + $14 = $10 + $7 | 0; + $11 = HEAP32[$2 + 12 >> 2]; + $13 = HEAP32[$2 + 20 >> 2]; + $15 = $11 + $13 | 0; + $9 = $14 + $15 | 0; + $16 = HEAP32[$2 + 24 >> 2]; + $12 = $16 + $8 | 0; + $17 = HEAP32[$2 + 16 >> 2]; + $18 = $17 + $5 | 0; + $19 = $12 + $18 | 0; + HEAP8[$0 | 0] = HEAPU8[($9 + $19 >>> 5 & 1023) + $1 | 0]; + HEAP8[$0 + 7 | 0] = HEAPU8[($19 - $9 >>> 5 & 1023) + $1 | 0]; + $10 = $7 - $10 | 0; + $7 = $13 - $11 | 0; + $11 = Math_imul($10 + $7 | 0, 473) >> 8; + $7 = $11 - ((Math_imul($7, 669) >> 8) + $9 | 0) | 0; + $5 = $5 - $17 | 0; + $9 = (Math_imul($8 - $16 | 0, 362) >> 8) - $12 | 0; + $8 = $5 + $9 | 0; + HEAP8[$0 + 1 | 0] = HEAPU8[($7 + $8 >>> 5 & 1023) + $1 | 0]; + HEAP8[$0 + 6 | 0] = HEAPU8[($8 - $7 >>> 5 & 1023) + $1 | 0]; + $5 = $5 - $9 | 0; + $8 = (Math_imul($14 - $15 | 0, 362) >> 8) - $7 | 0; + HEAP8[$0 + 2 | 0] = HEAPU8[($5 + $8 >>> 5 & 1023) + $1 | 0]; + HEAP8[$0 + 5 | 0] = HEAPU8[($5 - $8 >>> 5 & 1023) + $1 | 0]; + $5 = $18 - $12 | 0; + $8 = $11 - ((Math_imul($10, 277) >> 8) + $8 | 0) | 0; + HEAP8[$0 + 3 | 0] = HEAPU8[($5 + $8 >>> 5 & 1023) + $1 | 0]; + HEAP8[$0 + 4 | 0] = HEAPU8[($5 - $8 >>> 5 & 1023) + $1 | 0]; + } + $2 = $2 + 32 | 0; + $6 = $6 + 1 | 0; + if (($6 | 0) != 8) { + continue; } - } while (0); - STACKTOP = i12; - return i10 | 0; -} - -function __ZN6vision18EstimateHomographyEPfRKNSt3__26vectorINS_12FeaturePointENS1_9allocatorIS3_EEEES8_RKNS2_INS_7match_tENS4_IS9_EEEERNS_16RobustHomographyIfEEii(i8, i2, i3, i1, i9, i10, i11) { - i8 = i8 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i1 = i1 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, d17 = 0.0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i13 = i15 + 44 | 0; - i14 = i15 + 32 | 0; - i12 = i15; - i7 = i1 + 4 | 0; - __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEEC2Em(i13, (HEAP32[i7 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 3); - __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEEC2Em(i14, (HEAP32[i7 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 3); - i6 = HEAP32[i1 >> 2] | 0; - i7 = (HEAP32[i7 >> 2] | 0) - i6 >> 3; - i4 = HEAP32[i2 >> 2] | 0; - i5 = HEAP32[i14 >> 2] | 0; - i2 = HEAP32[i3 >> 2] | 0; - i3 = HEAP32[i13 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == (i7 | 0)) break; - i16 = HEAP32[i6 + (i1 << 3) >> 2] | 0; - HEAP32[i5 + (i1 << 3) >> 2] = HEAP32[i4 + (i16 * 20 | 0) >> 2]; - HEAP32[i5 + (i1 << 3) + 4 >> 2] = HEAP32[i4 + (i16 * 20 | 0) + 4 >> 2]; - i16 = HEAP32[i6 + (i1 << 3) + 4 >> 2] | 0; - HEAP32[i3 + (i1 << 3) >> 2] = HEAP32[i2 + (i16 * 20 | 0) >> 2]; - HEAP32[i3 + (i1 << 3) + 4 >> 2] = HEAP32[i2 + (i16 * 20 | 0) + 4 >> 2]; - i1 = i1 + 1 | 0; - } - HEAPF32[i12 >> 2] = 0.0; - HEAPF32[i12 + 4 >> 2] = 0.0; - d17 = +(i10 | 0); - HEAPF32[i12 + 8 >> 2] = d17; - HEAPF32[i12 + 12 >> 2] = 0.0; - HEAPF32[i12 + 16 >> 2] = d17; - d17 = +(i11 | 0); - HEAPF32[i12 + 20 >> 2] = d17; - HEAPF32[i12 + 24 >> 2] = 0.0; - HEAPF32[i12 + 28 >> 2] = d17; - if (__ZN6vision16RobustHomographyIfE4findEPfPKfS4_iS4_i(i9, i8, i3, i5, i7, i12, 4) | 0) i1 = __ZN6vision25CheckHomographyHeuristicsEPfii(i8, i10, i11) | 0; else i1 = 0; - __ZNSt3__213__vector_baseIN6vision7Point2dIfEENS_9allocatorIS3_EEED2Ev(i14); - __ZNSt3__213__vector_baseIN6vision7Point2dIfEENS_9allocatorIS3_EEED2Ev(i13); - STACKTOP = i15; - return i1 | 0; -} - -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwl(i1, i13, i14, i15, i4) { - i1 = i1 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i6 = i12; - i3 = i12 + 16 | 0; - i9 = i12 + 12 | 0; - i10 = i12 + 4 | 0; - i11 = i12 + 8 | 0; - HEAP8[i3 >> 0] = HEAP8[47010] | 0; - HEAP8[i3 + 1 >> 0] = HEAP8[47011] | 0; - HEAP8[i3 + 2 >> 0] = HEAP8[47012] | 0; - HEAP8[i3 + 3 >> 0] = HEAP8[47013] | 0; - HEAP8[i3 + 4 >> 0] = HEAP8[47014] | 0; - HEAP8[i3 + 5 >> 0] = HEAP8[47015] | 0; - i5 = i14 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj(i3 + 1 | 0, 50934, 1, HEAP32[i5 >> 2] | 0); - i5 = (HEAP32[i5 >> 2] | 0) >>> 9 & 1; - i2 = i5 + 13 | 0; - i7 = _llvm_stacksave() | 0; - i1 = i2; - i8 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - i1 = __ZNSt3__26__clocEv() | 0; - HEAP32[i6 >> 2] = i4; - i3 = i8 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i8, i2, i1, i3, i6) | 0) | 0; - i4 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i8, i3, i14) | 0; - i1 = (i5 << 1 | 24) + -1 << 2; - i2 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv(i6, i14); - __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE(i8, i4, i3, i2, i9, i10, i6); - __ZNSt3__26localeD2Ev(i6); - HEAP32[i11 >> 2] = HEAP32[i13 >> 2]; - i9 = HEAP32[i9 >> 2] | 0; - i13 = HEAP32[i10 >> 2] | 0; - HEAP32[i6 >> 2] = HEAP32[i11 >> 2]; - i15 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i6, i2, i9, i13, i14, i15) | 0; - _llvm_stackrestore(i7 | 0); - STACKTOP = i12; - return i15 | 0; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcl(i1, i13, i14, i15, i4) { - i1 = i1 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i6 = i12; - i3 = i12 + 16 | 0; - i9 = i12 + 12 | 0; - i10 = i12 + 4 | 0; - i11 = i12 + 8 | 0; - HEAP8[i3 >> 0] = HEAP8[47010] | 0; - HEAP8[i3 + 1 >> 0] = HEAP8[47011] | 0; - HEAP8[i3 + 2 >> 0] = HEAP8[47012] | 0; - HEAP8[i3 + 3 >> 0] = HEAP8[47013] | 0; - HEAP8[i3 + 4 >> 0] = HEAP8[47014] | 0; - HEAP8[i3 + 5 >> 0] = HEAP8[47015] | 0; - i5 = i14 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj(i3 + 1 | 0, 50934, 1, HEAP32[i5 >> 2] | 0); - i5 = (HEAP32[i5 >> 2] | 0) >>> 9 & 1; - i2 = i5 + 13 | 0; - i7 = _llvm_stacksave() | 0; - i1 = i2; - i8 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - i1 = __ZNSt3__26__clocEv() | 0; - HEAP32[i6 >> 2] = i4; - i3 = i8 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i8, i2, i1, i3, i6) | 0) | 0; - i4 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i8, i3, i14) | 0; - i1 = (i5 << 1 | 24) + -1 | 0; - i2 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv(i6, i14); - __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE(i8, i4, i3, i2, i9, i10, i6); - __ZNSt3__26localeD2Ev(i6); - HEAP32[i11 >> 2] = HEAP32[i13 >> 2]; - i9 = HEAP32[i9 >> 2] | 0; - i13 = HEAP32[i10 >> 2] | 0; - HEAP32[i6 >> 2] = HEAP32[i11 >> 2]; - i15 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i6, i2, i9, i13, i14, i15) | 0; - _llvm_stackrestore(i7 | 0); - STACKTOP = i12; - return i15 | 0; -} - -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwm(i1, i13, i14, i15, i4) { - i1 = i1 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i6 = i12; - i3 = i12 + 16 | 0; - i9 = i12 + 12 | 0; - i10 = i12 + 4 | 0; - i11 = i12 + 8 | 0; - HEAP8[i3 >> 0] = HEAP8[47010] | 0; - HEAP8[i3 + 1 >> 0] = HEAP8[47011] | 0; - HEAP8[i3 + 2 >> 0] = HEAP8[47012] | 0; - HEAP8[i3 + 3 >> 0] = HEAP8[47013] | 0; - HEAP8[i3 + 4 >> 0] = HEAP8[47014] | 0; - HEAP8[i3 + 5 >> 0] = HEAP8[47015] | 0; - i5 = i14 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj(i3 + 1 | 0, 50934, 0, HEAP32[i5 >> 2] | 0); - i5 = (HEAP32[i5 >> 2] | 0) >>> 9 & 1; - i2 = i5 | 12; - i7 = _llvm_stacksave() | 0; - i1 = i2; - i8 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - i1 = __ZNSt3__26__clocEv() | 0; - HEAP32[i6 >> 2] = i4; - i3 = i8 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i8, i2, i1, i3, i6) | 0) | 0; - i4 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i8, i3, i14) | 0; - i1 = (i5 << 1 | 21) << 2; - i2 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv(i6, i14); - __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE(i8, i4, i3, i2, i9, i10, i6); - __ZNSt3__26localeD2Ev(i6); - HEAP32[i11 >> 2] = HEAP32[i13 >> 2]; - i9 = HEAP32[i9 >> 2] | 0; - i13 = HEAP32[i10 >> 2] | 0; - HEAP32[i6 >> 2] = HEAP32[i11 >> 2]; - i15 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i6, i2, i9, i13, i14, i15) | 0; - _llvm_stackrestore(i7 | 0); - STACKTOP = i12; - return i15 | 0; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcm(i1, i13, i14, i15, i4) { - i1 = i1 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i6 = i12; - i3 = i12 + 16 | 0; - i9 = i12 + 12 | 0; - i10 = i12 + 4 | 0; - i11 = i12 + 8 | 0; - HEAP8[i3 >> 0] = HEAP8[47010] | 0; - HEAP8[i3 + 1 >> 0] = HEAP8[47011] | 0; - HEAP8[i3 + 2 >> 0] = HEAP8[47012] | 0; - HEAP8[i3 + 3 >> 0] = HEAP8[47013] | 0; - HEAP8[i3 + 4 >> 0] = HEAP8[47014] | 0; - HEAP8[i3 + 5 >> 0] = HEAP8[47015] | 0; - i5 = i14 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj(i3 + 1 | 0, 50934, 0, HEAP32[i5 >> 2] | 0); - i5 = (HEAP32[i5 >> 2] | 0) >>> 9 & 1; - i2 = i5 | 12; - i7 = _llvm_stacksave() | 0; - i1 = i2; - i8 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - i1 = __ZNSt3__26__clocEv() | 0; - HEAP32[i6 >> 2] = i4; - i3 = i8 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i8, i2, i1, i3, i6) | 0) | 0; - i4 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i8, i3, i14) | 0; - i1 = i5 << 1 | 21; - i2 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv(i6, i14); - __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE(i8, i4, i3, i2, i9, i10, i6); - __ZNSt3__26localeD2Ev(i6); - HEAP32[i11 >> 2] = HEAP32[i13 >> 2]; - i9 = HEAP32[i9 >> 2] | 0; - i13 = HEAP32[i10 >> 2] | 0; - HEAP32[i6 >> 2] = HEAP32[i11 >> 2]; - i15 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i6, i2, i9, i13, i14, i15) | 0; - _llvm_stackrestore(i7 | 0); - STACKTOP = i12; - return i15 | 0; -} - -function __ZN6vision21OrientationAssignment16computeGradientsEPKNS_25GaussianScaleSpacePyramidE(i1, i4) { - i1 = i1 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i6; - i3 = i1 + 40 | 0; - i1 = 0; + break; + } + __stack_pointer = $20 + 256 | 0; +} + +function jpeg_idct_12x12($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $22 = __stack_pointer - 384 | 0; + __stack_pointer = $22; + $20 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $22; while (1) { - i2 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i4) | 0; - if (i1 >>> 0 >= (HEAP32[i2 + 4 >> 2] | 0) - (HEAP32[i2 >> 2] | 0) >> 5 >>> 0) { - i1 = 3; - break; - } - i2 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i4) | 0; - i2 = (HEAP32[i2 >> 2] | 0) + (i1 << 5) | 0; - i7 = __ZNK6vision5Image5widthEv(i2) | 0; - if ((i7 | 0) != ((__ZNK6vision5Image4stepEv(i2) | 0) >>> 2 | 0)) { - i1 = 5; - break; + $18 = HEAP32[$1 + 128 >> 2]; + $16 = HEAP16[$2 + 64 >> 1]; + $14 = Math_imul(HEAP32[$1 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $15 = Math_imul(HEAP32[$1 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $5 = $14 - $15 << 13; + $8 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $7 = $5 + $8 | 0; + $6 = Math_imul(HEAP32[$1 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $10 = Math_imul(HEAP32[$1 + 224 >> 2], HEAP16[$2 + 112 >> 1]); + $11 = $6 - $10 | 0; + $12 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $9 = Math_imul(HEAP32[$1 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $19 = $12 - $9 | 0; + $17 = Math_imul($11 + $19 | 0, 4433); + $11 = $17 + Math_imul($11, 6270) | 0; + HEAP32[$0 + 320 >> 2] = $7 - $11 >> 11; + HEAP32[$0 + 32 >> 2] = $7 + $11 >> 11; + $5 = $8 - $5 | 0; + $7 = Math_imul($19, -15137) + $17 | 0; + HEAP32[$0 + 224 >> 2] = $5 - $7 >> 11; + HEAP32[$0 + 128 >> 2] = $5 + $7 >> 11; + $16 = Math_imul(Math_imul($18, $16), 10033); + $5 = $16 + $8 | 0; + $15 = $15 << 13; + $7 = $15 + Math_imul($14, 11190) | 0; + $11 = $5 - $7 | 0; + $17 = $6 + $9 | 0; + $18 = Math_imul($17 + $10 | 0, 7053); + $19 = Math_imul($12, -4433); + $21 = $18 + (($19 + Math_imul($6, -5540) | 0) + Math_imul($10, -16244) | 0) | 0; + HEAP32[$0 + 192 >> 2] = $11 - $21 >> 11; + HEAP32[$0 + 160 >> 2] = $11 + $21 >> 11; + $12 = Math_imul($12, 10703); + $5 = $5 + $7 | 0; + $7 = $12 + Math_imul($6, 2295) | 0; + $6 = Math_imul($17, 2139) + $18 | 0; + $7 = $7 + $6 | 0; + HEAP32[$0 + 352 >> 2] = $5 - $7 >> 11; + HEAP32[$0 >> 2] = $5 + $7 >> 11; + $8 = $8 - $16 | 0; + $14 = Math_imul($14, 2998) - $15 | 0; + $16 = $8 + $14 | 0; + $5 = Math_imul($9, -12112) + $19 | 0; + $9 = Math_imul($10 + $9 | 0, -8565); + $6 = ($5 + $9 | 0) + $6 | 0; + HEAP32[$0 + 288 >> 2] = $16 - $6 >> 11; + HEAP32[$0 + 64 >> 2] = $6 + $16 >> 11; + $8 = $8 - $14 | 0; + $10 = ((Math_imul($10, 12998) - $12 | 0) + $18 | 0) + $9 | 0; + HEAP32[$0 + 256 >> 2] = $8 - $10 >> 11; + HEAP32[$0 + 96 >> 2] = $10 + $8 >> 11; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + $13 = $13 + 1 | 0; + if (($13 | 0) != 8) { + continue; } - i9 = __ZN6vision5Image3getIfEEPT_v((HEAP32[i3 >> 2] | 0) + (i1 << 5) | 0) | 0; - i8 = __ZNK6vision5Image3getIfEEPKT_v(i2) | 0; - i7 = __ZNK6vision5Image5widthEv(i2) | 0; - __ZN6vision21ComputePolarGradientsEPfPKfmm(i9, i8, i7, __ZNK6vision5Image6heightEv(i2) | 0); - i1 = i1 + 1 | 0; + break; } - if ((i1 | 0) == 3) { - STACKTOP = i6; - return; - } else if ((i1 | 0) == 5) { - i9 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 25808) | 0, 25869) | 0, 33528) | 0, 96) | 0, 33535) | 0, 25994) | 0; - __ZNKSt3__28ios_base6getlocEv(i5, i9 + (HEAP32[(HEAP32[i9 >> 2] | 0) + -12 >> 2] | 0) | 0); - i8 = __ZNKSt3__26locale9use_facetERNS0_2idE(i5, 57916) | 0; - i8 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i8 >> 2] | 0) + 28 >> 2] & 63](i8, 10) | 0; - __ZNSt3__26localeD2Ev(i5); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i9, i8) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i9) | 0; - _abort(); - } -} - -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwb(i1, i9, i2, i3, i5) { - i1 = i1 | 0; - i9 = i9 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - var i4 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i10 + 4 | 0; - i4 = i10; - if (!(HEAP32[i2 + 4 >> 2] & 1)) { - i7 = HEAP32[(HEAP32[i1 >> 2] | 0) + 24 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i4 >> 2]; - i1 = FUNCTION_TABLE_iiiiii[i7 & 31](i1, i8, i2, i3, i5 & 1) | 0; - } else { - __ZNKSt3__28ios_base6getlocEv(i8, i2); - i1 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57956) | 0; - __ZNSt3__26localeD2Ev(i8); - i2 = HEAP32[i1 >> 2] | 0; - if (i5) FUNCTION_TABLE_vii[HEAP32[i2 + 24 >> 2] & 63](i8, i1); else FUNCTION_TABLE_vii[HEAP32[i2 + 28 >> 2] & 63](i8, i1); - i6 = i8 + 8 + 3 | 0; - i1 = HEAP8[i6 >> 0] | 0; - i2 = HEAP32[i8 >> 2] | 0; - i7 = i8 + 4 | 0; - i5 = i1 << 24 >> 24 < 0 ? i2 : i8; - while (1) { - i4 = i1 << 24 >> 24 < 0; - if ((i5 | 0) == ((i4 ? i2 : i8) + ((i4 ? HEAP32[i7 >> 2] | 0 : i1 & 255) << 2) | 0)) break; - i1 = HEAP32[i5 >> 2] | 0; - i2 = HEAP32[i9 >> 2] | 0; - if (i2 | 0) { - i3 = i2 + 24 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i2 + 28 >> 2] | 0)) { - i4 = HEAP32[(HEAP32[i2 >> 2] | 0) + 52 >> 2] | 0; - i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(i1) | 0; - i1 = FUNCTION_TABLE_iii[i4 & 63](i2, i1) | 0; - } else { - HEAP32[i3 >> 2] = i4 + 4; - HEAP32[i4 >> 2] = i1; - i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(i1) | 0; - } - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) HEAP32[i9 >> 2] = 0; - } - i5 = i5 + 4 | 0; - i1 = HEAP8[i6 >> 0] | 0; - i2 = HEAP32[i8 >> 2] | 0; - } - i1 = HEAP32[i9 >> 2] | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i8); - } - STACKTOP = i10; - return i1 | 0; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcb(i1, i9, i2, i3, i5) { - i1 = i1 | 0; - i9 = i9 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - var i4 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i10 + 4 | 0; - i4 = i10; - if (!(HEAP32[i2 + 4 >> 2] & 1)) { - i7 = HEAP32[(HEAP32[i1 >> 2] | 0) + 24 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i4 >> 2]; - i1 = FUNCTION_TABLE_iiiiii[i7 & 31](i1, i8, i2, i3, i5 & 1) | 0; - } else { - __ZNKSt3__28ios_base6getlocEv(i8, i2); - i1 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57932) | 0; - __ZNSt3__26localeD2Ev(i8); - i2 = HEAP32[i1 >> 2] | 0; - if (i5) FUNCTION_TABLE_vii[HEAP32[i2 + 24 >> 2] & 63](i8, i1); else FUNCTION_TABLE_vii[HEAP32[i2 + 28 >> 2] & 63](i8, i1); - i6 = i8 + 11 | 0; - i1 = HEAP8[i6 >> 0] | 0; - i2 = HEAP32[i8 >> 2] | 0; - i7 = i8 + 4 | 0; - i5 = i1 << 24 >> 24 < 0 ? i2 : i8; - while (1) { - i4 = i1 << 24 >> 24 < 0; - if ((i5 | 0) == ((i4 ? i2 : i8) + (i4 ? HEAP32[i7 >> 2] | 0 : i1 & 255) | 0)) break; - i1 = HEAP8[i5 >> 0] | 0; - i2 = HEAP32[i9 >> 2] | 0; - if (i2 | 0) { - i3 = i2 + 24 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i2 + 28 >> 2] | 0)) { - i4 = HEAP32[(HEAP32[i2 >> 2] | 0) + 52 >> 2] | 0; - i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(i1) | 0; - i1 = FUNCTION_TABLE_iii[i4 & 63](i2, i1) | 0; - } else { - HEAP32[i3 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i1; - i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(i1) | 0; - } - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) HEAP32[i9 >> 2] = 0; - } - i5 = i5 + 1 | 0; - i1 = HEAP8[i6 >> 0] | 0; - i2 = HEAP32[i8 >> 2] | 0; - } - i1 = HEAP32[i9 >> 2] | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i8); - } - STACKTOP = i10; - return i1 | 0; -} - -function _access_virt_barray(i4, i8, i9, i1, i10) { - i4 = i4 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i1 = i1 | 0; - i10 = i10 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0; - i6 = i1 + i9 | 0; - if (!((i6 >>> 0 <= (HEAP32[i8 + 4 >> 2] | 0) >>> 0 ? (HEAP32[i8 + 12 >> 2] | 0) >>> 0 >= i1 >>> 0 : 0) ? (HEAP32[i8 >> 2] | 0) != 0 : 0)) { - i7 = HEAP32[i4 >> 2] | 0; - HEAP32[i7 + 20 >> 2] = 22; - FUNCTION_TABLE_vi[HEAP32[i7 >> 2] & 255](i4); - } - i7 = i8 + 24 | 0; - i3 = HEAP32[i7 >> 2] | 0; - if (!(i3 >>> 0 <= i9 >>> 0 ? i6 >>> 0 <= ((HEAP32[i8 + 16 >> 2] | 0) + i3 | 0) >>> 0 : 0)) { - if (!(HEAP32[i8 + 40 >> 2] | 0)) { - i3 = HEAP32[i4 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 69; - FUNCTION_TABLE_vi[HEAP32[i3 >> 2] & 255](i4); - } - i1 = i8 + 36 | 0; - if (HEAP32[i1 >> 2] | 0) { - _do_barray_io(i4, i8, 1); - HEAP32[i1 >> 2] = 0; - } - if ((HEAP32[i7 >> 2] | 0) >>> 0 < i9 >>> 0) i1 = i9; else { - i1 = i6 - (HEAP32[i8 + 16 >> 2] | 0) | 0; - i1 = (i1 | 0) > 0 ? i1 : 0; - } - HEAP32[i7 >> 2] = i1; - _do_barray_io(i4, i8, 0); - } - i3 = i8 + 28 | 0; - i1 = HEAP32[i3 >> 2] | 0; - L21 : do if (i1 >>> 0 < i6 >>> 0) { - i2 = (i10 | 0) == 0; - if (i1 >>> 0 < i9 >>> 0) if (i2) { - i1 = i9; - i2 = 0; - } else { - i1 = HEAP32[i4 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 22; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i4); - i1 = i9; - i5 = 19; - } else if (i2) i2 = 0; else i5 = 19; - if ((i5 | 0) == 19) { - HEAP32[i3 >> 2] = i6; - i2 = 1; - } - if (!(HEAP32[i8 + 32 >> 2] | 0)) { - if (i2) break; - i6 = HEAP32[i4 >> 2] | 0; - HEAP32[i6 + 20 >> 2] = 22; - FUNCTION_TABLE_vi[HEAP32[i6 >> 2] & 255](i4); - break; - } - i3 = HEAP32[i8 + 8 >> 2] << 7; - i5 = HEAP32[i7 >> 2] | 0; - i2 = i6 - i5 | 0; - i1 = i1 - i5 | 0; - while (1) { - if (i1 >>> 0 >= i2 >>> 0) break L21; - _jzero_far(HEAP32[(HEAP32[i8 >> 2] | 0) + (i1 << 2) >> 2] | 0, i3); - i1 = i1 + 1 | 0; - } - } while (0); - if (i10 | 0) HEAP32[i8 + 36 >> 2] = 1; - return (HEAP32[i8 >> 2] | 0) + (i9 - (HEAP32[i7 >> 2] | 0) << 2) | 0; -} - -function _access_virt_sarray(i4, i8, i9, i1, i10) { - i4 = i4 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i1 = i1 | 0; - i10 = i10 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0; - i6 = i1 + i9 | 0; - if (!((i6 >>> 0 <= (HEAP32[i8 + 4 >> 2] | 0) >>> 0 ? (HEAP32[i8 + 12 >> 2] | 0) >>> 0 >= i1 >>> 0 : 0) ? (HEAP32[i8 >> 2] | 0) != 0 : 0)) { - i7 = HEAP32[i4 >> 2] | 0; - HEAP32[i7 + 20 >> 2] = 22; - FUNCTION_TABLE_vi[HEAP32[i7 >> 2] & 255](i4); - } - i7 = i8 + 24 | 0; - i3 = HEAP32[i7 >> 2] | 0; - if (!(i3 >>> 0 <= i9 >>> 0 ? i6 >>> 0 <= ((HEAP32[i8 + 16 >> 2] | 0) + i3 | 0) >>> 0 : 0)) { - if (!(HEAP32[i8 + 40 >> 2] | 0)) { - i3 = HEAP32[i4 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 69; - FUNCTION_TABLE_vi[HEAP32[i3 >> 2] & 255](i4); - } - i1 = i8 + 36 | 0; - if (HEAP32[i1 >> 2] | 0) { - _do_sarray_io(i4, i8, 1); - HEAP32[i1 >> 2] = 0; - } - if ((HEAP32[i7 >> 2] | 0) >>> 0 < i9 >>> 0) i1 = i9; else { - i1 = i6 - (HEAP32[i8 + 16 >> 2] | 0) | 0; - i1 = (i1 | 0) > 0 ? i1 : 0; - } - HEAP32[i7 >> 2] = i1; - _do_sarray_io(i4, i8, 0); - } - i3 = i8 + 28 | 0; - i1 = HEAP32[i3 >> 2] | 0; - L21 : do if (i1 >>> 0 < i6 >>> 0) { - i2 = (i10 | 0) == 0; - if (i1 >>> 0 < i9 >>> 0) if (i2) { - i1 = i9; - i2 = 0; - } else { - i1 = HEAP32[i4 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 22; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i4); - i1 = i9; - i5 = 19; - } else if (i2) i2 = 0; else i5 = 19; - if ((i5 | 0) == 19) { - HEAP32[i3 >> 2] = i6; - i2 = 1; - } - if (!(HEAP32[i8 + 32 >> 2] | 0)) { - if (i2) break; - i6 = HEAP32[i4 >> 2] | 0; - HEAP32[i6 + 20 >> 2] = 22; - FUNCTION_TABLE_vi[HEAP32[i6 >> 2] & 255](i4); - break; + $0 = $20 - 384 | 0; + $1 = $22; + $14 = 0; + while (1) { + $2 = HEAP32[($14 << 2) + $3 >> 2] + $4 | 0; + $10 = HEAP32[$1 + 28 >> 2]; + $6 = HEAP32[$1 + 20 >> 2]; + $8 = HEAP32[$1 + 4 >> 2]; + $9 = $6 + $8 | 0; + $18 = Math_imul($10 + $9 | 0, 7053); + $15 = $18 + Math_imul($9, 2139) | 0; + $12 = HEAP32[$1 + 12 >> 2]; + $16 = Math_imul($12, 10703); + $5 = $15 + ($16 + Math_imul($8, 2295) | 0) | 0; + $7 = HEAP32[$1 + 24 >> 2]; + $11 = $7 << 13; + $13 = HEAP32[$1 + 8 >> 2]; + $19 = $11 + Math_imul($13, 11190) | 0; + $9 = (HEAP32[$1 >> 2] << 13) + 134348800 | 0; + $17 = Math_imul(HEAP32[$1 + 16 >> 2], 10033); + $21 = $9 + $17 | 0; + $20 = $19 + $21 | 0; + HEAP8[$2 | 0] = HEAPU8[($5 + $20 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 11 | 0] = HEAPU8[($20 - $5 >>> 18 & 1023) + $0 | 0]; + $5 = $8 - $10 | 0; + $20 = $12 - $6 | 0; + $23 = Math_imul($5 + $20 | 0, 4433); + $5 = $23 + Math_imul($5, 6270) | 0; + $7 = $13 - $7 << 13; + $24 = $7 + $9 | 0; + HEAP8[$2 + 1 | 0] = HEAPU8[($5 + $24 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 10 | 0] = HEAPU8[($24 - $5 >>> 18 & 1023) + $0 | 0]; + $12 = Math_imul($12, -4433); + $5 = $9 - $17 | 0; + $13 = Math_imul($13, 2998) - $11 | 0; + $11 = $5 + $13 | 0; + $17 = $12 + Math_imul($6, -12112) | 0; + $6 = Math_imul($6 + $10 | 0, -8565); + $15 = ($17 + $6 | 0) + $15 | 0; + HEAP8[$2 + 2 | 0] = HEAPU8[($11 + $15 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 9 | 0] = HEAPU8[($11 - $15 >>> 18 & 1023) + $0 | 0]; + $6 = ((Math_imul($10, 12998) - $16 | 0) + $18 | 0) + $6 | 0; + $13 = $5 - $13 | 0; + HEAP8[$2 + 3 | 0] = HEAPU8[($6 + $13 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 8 | 0] = HEAPU8[($13 - $6 >>> 18 & 1023) + $0 | 0]; + $6 = Math_imul($20, -15137) + $23 | 0; + $9 = $9 - $7 | 0; + HEAP8[$2 + 4 | 0] = HEAPU8[($6 + $9 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 7 | 0] = HEAPU8[($9 - $6 >>> 18 & 1023) + $0 | 0]; + $10 = ((Math_imul($8, -5540) + $12 | 0) + Math_imul($10, -16244) | 0) + $18 | 0; + $8 = $21 - $19 | 0; + HEAP8[$2 + 5 | 0] = HEAPU8[($10 + $8 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 6 | 0] = HEAPU8[($8 - $10 >>> 18 & 1023) + $0 | 0]; + $1 = $1 + 32 | 0; + $14 = $14 + 1 | 0; + if (($14 | 0) != 12) { + continue; } - i3 = HEAP32[i8 + 8 >> 2] | 0; - i5 = HEAP32[i7 >> 2] | 0; - i2 = i6 - i5 | 0; - i1 = i1 - i5 | 0; - while (1) { - if (i1 >>> 0 >= i2 >>> 0) break L21; - _jzero_far(HEAP32[(HEAP32[i8 >> 2] | 0) + (i1 << 2) >> 2] | 0, i3); - i1 = i1 + 1 | 0; - } - } while (0); - if (i10 | 0) HEAP32[i8 + 36 >> 2] = 1; - return (HEAP32[i8 >> 2] | 0) + (i9 - (HEAP32[i7 >> 2] | 0) << 2) | 0; -} - -function _process_data_context_main(i4, i5, i6, i8) { - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i8 = i8 | 0; - var i1 = 0, i2 = 0, i3 = 0, i7 = 0, i9 = 0, i10 = 0; - i9 = HEAP32[i4 + 424 >> 2] | 0; - i10 = i9 + 48 | 0; - if (!(HEAP32[i10 >> 2] | 0)) { - if (FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 + 428 >> 2] | 0) + 12 >> 2] & 63](i4, HEAP32[i9 + 56 + (HEAP32[i9 + 64 >> 2] << 2) >> 2] | 0) | 0) { - HEAP32[i10 >> 2] = 1; - i3 = i9 + 76 | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = 4; - } - } else i3 = 4; - L4 : do if ((i3 | 0) == 4) { - i7 = i9 + 68 | 0; - switch (HEAP32[i7 >> 2] | 0) { - case 2: - { - i2 = i9 + 52 | 0; - i1 = i9 + 72 | 0; - FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[i4 + 432 >> 2] | 0) + 4 >> 2] & 7](i4, HEAP32[i9 + 56 + (HEAP32[i9 + 64 >> 2] << 2) >> 2] | 0, i2, HEAP32[i1 >> 2] | 0, i5, i6, i8); - if ((HEAP32[i2 >> 2] | 0) >>> 0 < (HEAP32[i1 >> 2] | 0) >>> 0) break L4; - HEAP32[i7 >> 2] = 0; - if ((HEAP32[i6 >> 2] | 0) >>> 0 < i8 >>> 0) i3 = 9; else break L4; - break; - } - case 0: - { - i1 = i9 + 72 | 0; - i2 = i9 + 52 | 0; - i3 = 9; - break; + break; + } + __stack_pointer = $22 + 384 | 0; +} + +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20void___29_20const($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; + $0 = __stack_pointer - 272 | 0; + __stack_pointer = $0; + HEAP32[$0 + 256 >> 2] = $2; + HEAP32[$0 + 264 >> 2] = $1; + $6 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0 + 208 | 0); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $3); + std____2__ctype_char___widen_28char_20const__2c_20char_20const__2c_20char__29_20const(std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($0 + 16 | 0), 57760, 57786, $0 + 224 | 0); + std____2__locale___locale_28_29($0 + 16 | 0); + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0 + 192 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$0 + 188 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = $0 + 16; + HEAP32[$0 + 8 >> 2] = 0; + while (1) { + label$2: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($0 + 264 | 0, $0 + 256 | 0)) { + break label$2; } - case 1: - { - i2 = i9 + 52 | 0; - i1 = i9 + 72 | 0; - break; + if (HEAP32[$0 + 188 >> 2] == (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) + $1 | 0)) { + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($2) << 1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($2)); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($2, 0); + HEAP32[$0 + 188 >> 2] = $3 + $1; } - default: - break L4; - } - if ((i3 | 0) == 9) { - HEAP32[i2 >> 2] = 0; - HEAP32[i1 >> 2] = (HEAP32[i4 + 316 >> 2] | 0) + -1; - if ((HEAP32[i9 + 76 >> 2] | 0) == (HEAP32[i4 + 320 >> 2] | 0)) _set_bottom_pointers(i4); - HEAP32[i7 >> 2] = 1; - } - i3 = i9 + 64 | 0; - FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[i4 + 432 >> 2] | 0) + 4 >> 2] & 7](i4, HEAP32[i9 + 56 + (HEAP32[i3 >> 2] << 2) >> 2] | 0, i2, HEAP32[i1 >> 2] | 0, i5, i6, i8); - if ((HEAP32[i2 >> 2] | 0) >>> 0 >= (HEAP32[i1 >> 2] | 0) >>> 0) { - if ((HEAP32[i9 + 76 >> 2] | 0) == 1) _set_wraparound_pointers(i4); - HEAP32[i3 >> 2] = HEAP32[i3 >> 2] ^ 1; - HEAP32[i10 >> 2] = 0; - i10 = HEAP32[i4 + 316 >> 2] | 0; - HEAP32[i2 >> 2] = i10 + 1; - HEAP32[i1 >> 2] = i10 + 2; - HEAP32[i7 >> 2] = 2; - } - } while (0); - return; -} - -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS2_NS_15iterator_traitsIS9_E9referenceEEE5valueEvE4typeES9_S9_(i9, i7, i10) { - i9 = i9 | 0; - i7 = i7 | 0; - i10 = i10 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i11 = 0; - i1 = i7; - i11 = (i10 - i1 | 0) / 20 | 0; - i2 = i9 + 8 | 0; - i5 = HEAP32[i9 >> 2] | 0; - i3 = i5; - do if (i11 >>> 0 > (((HEAP32[i2 >> 2] | 0) - i5 | 0) / 20 | 0) >>> 0) { - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE10deallocateEv(i9); - i1 = __ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv(i9) | 0; - if (i1 >>> 0 < i11 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i9); else { - i6 = ((HEAP32[i2 >> 2] | 0) - (HEAP32[i9 >> 2] | 0) | 0) / 20 | 0; - i8 = i6 << 1; - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8allocateEm(i9, i6 >>> 0 < i1 >>> 1 >>> 0 ? (i8 >>> 0 < i11 >>> 0 ? i11 : i8) : i1); - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_m(i9, i7, i10, i11); - break; - } - } else { - i8 = i9 + 4 | 0; - i6 = ((HEAP32[i8 >> 2] | 0) - i5 | 0) / 20 | 0; - i4 = i11 >>> 0 > i6 >>> 0; - i6 = i4 ? i7 + (i6 * 20 | 0) | 0 : i10; - i1 = i6 - i1 | 0; - if (i1 | 0) _memmove(i5 | 0, i7 | 0, i1 | 0) | 0; - i2 = i3 + (((i1 | 0) / 20 | 0) * 20 | 0) | 0; - if (i4) { - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_m(i9, i6, i10, i11 - (((HEAP32[i8 >> 2] | 0) - (HEAP32[i9 >> 2] | 0) | 0) / 20 | 0) | 0); - break; - } - i1 = HEAP32[i8 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i2 | 0)) break; - i11 = i1 + -20 | 0; - __ZN6vision12FeaturePointD2Ev(i11); - i1 = i11; - } - HEAP32[i8 >> 2] = i2; - } while (0); - return; -} - -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwx(i1, i14, i15, i16, i4, i5) { - i1 = i1 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i17 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i7 = i13 + 8 | 0; - i3 = i13; - i10 = i13 + 24 | 0; - i11 = i13 + 16 | 0; - i12 = i13 + 20 | 0; - i6 = i3; - HEAP32[i6 >> 2] = 37; - HEAP32[i6 + 4 >> 2] = 0; - i6 = i15 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj(i3 + 1 | 0, 50939, 1, HEAP32[i6 >> 2] | 0); - i6 = (HEAP32[i6 >> 2] | 0) >>> 9 & 1; - i2 = i6 + 23 | 0; - i8 = _llvm_stacksave() | 0; - i1 = i2; - i9 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - i1 = __ZNSt3__26__clocEv() | 0; - i17 = i7; - HEAP32[i17 >> 2] = i4; - HEAP32[i17 + 4 >> 2] = i5; - i3 = i9 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i9, i2, i1, i3, i7) | 0) | 0; - i4 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i9, i3, i15) | 0; - i1 = (i6 << 1 | 44) + -1 << 2; - i2 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv(i7, i15); - __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE(i9, i4, i3, i2, i10, i11, i7); - __ZNSt3__26localeD2Ev(i7); - HEAP32[i12 >> 2] = HEAP32[i14 >> 2]; - i14 = HEAP32[i10 >> 2] | 0; - i17 = HEAP32[i11 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i12 >> 2]; - i17 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i7, i2, i14, i17, i15, i16) | 0; - _llvm_stackrestore(i8 | 0); - STACKTOP = i13; - return i17 | 0; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcx(i1, i14, i15, i16, i4, i5) { - i1 = i1 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i17 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i7 = i13 + 8 | 0; - i3 = i13; - i10 = i13 + 24 | 0; - i11 = i13 + 16 | 0; - i12 = i13 + 20 | 0; - i6 = i3; - HEAP32[i6 >> 2] = 37; - HEAP32[i6 + 4 >> 2] = 0; - i6 = i15 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj(i3 + 1 | 0, 50939, 1, HEAP32[i6 >> 2] | 0); - i6 = (HEAP32[i6 >> 2] | 0) >>> 9 & 1; - i2 = i6 + 23 | 0; - i8 = _llvm_stacksave() | 0; - i1 = i2; - i9 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - i1 = __ZNSt3__26__clocEv() | 0; - i17 = i7; - HEAP32[i17 >> 2] = i4; - HEAP32[i17 + 4 >> 2] = i5; - i3 = i9 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i9, i2, i1, i3, i7) | 0) | 0; - i4 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i9, i3, i15) | 0; - i1 = (i6 << 1 | 44) + -1 | 0; - i2 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv(i7, i15); - __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE(i9, i4, i3, i2, i10, i11, i7); - __ZNSt3__26localeD2Ev(i7); - HEAP32[i12 >> 2] = HEAP32[i14 >> 2]; - i14 = HEAP32[i10 >> 2] | 0; - i17 = HEAP32[i11 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i12 >> 2]; - i17 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i7, i2, i14, i17, i15, i16) | 0; - _llvm_stackrestore(i8 | 0); - STACKTOP = i13; - return i17 | 0; -} - -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwy(i1, i14, i15, i16, i4, i5) { - i1 = i1 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i17 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i7 = i13 + 8 | 0; - i3 = i13; - i10 = i13 + 24 | 0; - i11 = i13 + 16 | 0; - i12 = i13 + 20 | 0; - i6 = i3; - HEAP32[i6 >> 2] = 37; - HEAP32[i6 + 4 >> 2] = 0; - i6 = i15 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj(i3 + 1 | 0, 50939, 0, HEAP32[i6 >> 2] | 0); - i6 = (HEAP32[i6 >> 2] | 0) >>> 9 & 1 | 22; - i2 = i6 + 1 | 0; - i8 = _llvm_stacksave() | 0; - i1 = i2; - i9 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - i1 = __ZNSt3__26__clocEv() | 0; - i17 = i7; - HEAP32[i17 >> 2] = i4; - HEAP32[i17 + 4 >> 2] = i5; - i3 = i9 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i9, i2, i1, i3, i7) | 0) | 0; - i4 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i9, i3, i15) | 0; - i1 = (i6 << 1) + -1 << 2; - i2 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv(i7, i15); - __ZNSt3__29__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE(i9, i4, i3, i2, i10, i11, i7); - __ZNSt3__26localeD2Ev(i7); - HEAP32[i12 >> 2] = HEAP32[i14 >> 2]; - i14 = HEAP32[i10 >> 2] | 0; - i17 = HEAP32[i11 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i12 >> 2]; - i17 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i7, i2, i14, i17, i15, i16) | 0; - _llvm_stackrestore(i8 | 0); - STACKTOP = i13; - return i17 | 0; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcy(i1, i14, i15, i16, i4, i5) { - i1 = i1 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i17 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i7 = i13 + 8 | 0; - i3 = i13; - i10 = i13 + 24 | 0; - i11 = i13 + 16 | 0; - i12 = i13 + 20 | 0; - i6 = i3; - HEAP32[i6 >> 2] = 37; - HEAP32[i6 + 4 >> 2] = 0; - i6 = i15 + 4 | 0; - __ZNSt3__214__num_put_base12__format_intEPcPKcbj(i3 + 1 | 0, 50939, 0, HEAP32[i6 >> 2] | 0); - i6 = (HEAP32[i6 >> 2] | 0) >>> 9 & 1 | 22; - i2 = i6 + 1 | 0; - i8 = _llvm_stacksave() | 0; - i1 = i2; - i9 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - i1 = __ZNSt3__26__clocEv() | 0; - i17 = i7; - HEAP32[i17 >> 2] = i4; - HEAP32[i17 + 4 >> 2] = i5; - i3 = i9 + (__ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i9, i2, i1, i3, i7) | 0) | 0; - i4 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i9, i3, i15) | 0; - i1 = (i6 << 1) + -1 | 0; - i2 = STACKTOP; - STACKTOP = STACKTOP + ((1 * i1 | 0) + 15 & -16) | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow((1 * i1 | 0) + 15 & -16 | 0); - __ZNKSt3__28ios_base6getlocEv(i7, i15); - __ZNSt3__29__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE(i9, i4, i3, i2, i10, i11, i7); - __ZNSt3__26localeD2Ev(i7); - HEAP32[i12 >> 2] = HEAP32[i14 >> 2]; - i14 = HEAP32[i10 >> 2] | 0; - i17 = HEAP32[i11 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i12 >> 2]; - i17 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i7, i2, i14, i17, i15, i16) | 0; - _llvm_stackrestore(i8 | 0); - STACKTOP = i13; - return i17 | 0; -} - -function __ZN6vision16MatrixInverse3x3IfEEbPT_PKS1_S1_(i1, i2, d3) { - i1 = i1 | 0; - i2 = i2 | 0; - d3 = +d3; - var d4 = 0.0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - d4 = +__ZN6vision14Determinant3x3IfEET_PKS1_(i2); - if (!(+Math_abs(+d4) <= d3)) { - d4 = 1.0 / d4; - i5 = i2 + 16 | 0; - i10 = i2 + 20 | 0; - i9 = i2 + 28 | 0; - i12 = i2 + 32 | 0; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i5 >> 2], +HEAPF32[i10 >> 2], +HEAPF32[i9 >> 2], +HEAPF32[i12 >> 2]); - HEAPF32[i1 >> 2] = d3; - i11 = i2 + 8 | 0; - i7 = i2 + 4 | 0; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i11 >> 2], +HEAPF32[i7 >> 2], +HEAPF32[i12 >> 2], +HEAPF32[i9 >> 2]); - HEAPF32[i1 + 4 >> 2] = d3; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i7 >> 2], +HEAPF32[i11 >> 2], +HEAPF32[i5 >> 2], +HEAPF32[i10 >> 2]); - HEAPF32[i1 + 8 >> 2] = d3; - i6 = i2 + 12 | 0; - i8 = i2 + 24 | 0; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i10 >> 2], +HEAPF32[i6 >> 2], +HEAPF32[i12 >> 2], +HEAPF32[i8 >> 2]); - HEAPF32[i1 + 12 >> 2] = d3; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i2 >> 2], +HEAPF32[i11 >> 2], +HEAPF32[i8 >> 2], +HEAPF32[i12 >> 2]); - HEAPF32[i1 + 16 >> 2] = d3; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i11 >> 2], +HEAPF32[i2 >> 2], +HEAPF32[i10 >> 2], +HEAPF32[i6 >> 2]); - HEAPF32[i1 + 20 >> 2] = d3; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i6 >> 2], +HEAPF32[i5 >> 2], +HEAPF32[i8 >> 2], +HEAPF32[i9 >> 2]); - HEAPF32[i1 + 24 >> 2] = d3; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i7 >> 2], +HEAPF32[i2 >> 2], +HEAPF32[i9 >> 2], +HEAPF32[i8 >> 2]); - HEAPF32[i1 + 28 >> 2] = d3; - d4 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i2 >> 2], +HEAPF32[i7 >> 2], +HEAPF32[i6 >> 2], +HEAPF32[i5 >> 2]); - HEAPF32[i1 + 32 >> 2] = d4; - i1 = 1; - } else i1 = 0; - return i1 | 0; -} - -function _get_interesting_appn(i8) { - i8 = i8 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i13; - i10 = i8 + 24 | 0; - i11 = HEAP32[i10 >> 2] | 0; - i12 = i11 + 4 | 0; - i1 = HEAP32[i12 >> 2] | 0; - if (!i1) if (!(FUNCTION_TABLE_ii[HEAP32[i11 + 12 >> 2] & 127](i8) | 0)) i1 = 0; else { - i1 = HEAP32[i12 >> 2] | 0; - i2 = 4; - } else i2 = 4; - L4 : do if ((i2 | 0) == 4) { - i2 = HEAP32[i11 >> 2] | 0; - i1 = i1 + -1 | 0; - i4 = (HEAPU8[i2 >> 0] | 0) << 8; - if (!i1) { - i2 = i11 + 12 | 0; - if (!(FUNCTION_TABLE_ii[HEAP32[i2 >> 2] & 127](i8) | 0)) { - i1 = 0; - break; + if (std____2____num_get_char_____stage2_int_loop_28char_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20char_20const__29(std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0 + 264 | 0), 16, $1, $0 + 188 | 0, $0 + 8 | 0, 0, $6, $0 + 16 | 0, $0 + 12 | 0, $0 + 224 | 0)) { + break label$2; } - i1 = HEAP32[i12 >> 2] | 0; - i3 = HEAP32[i11 >> 2] | 0; - } else { - i3 = i2 + 1 | 0; - i2 = i11 + 12 | 0; + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0 + 264 | 0); + continue; } - i7 = i4 | (HEAPU8[i3 >> 0] | 0); - i6 = i7 + -2 | 0; - i7 = i7 >>> 0 > 15 ? 14 : i7 >>> 0 > 2 ? i6 : 0; - i5 = 0; + break; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($2, HEAP32[$0 + 188 >> 2] - $1 | 0); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($2); + $3 = std____2____cloc_28_29(); + HEAP32[$0 >> 2] = $5; + if ((std____2____libcpp_sscanf_l_28char_20const__2c_20__locale_struct__2c_20char_20const__2c_20____29($1, $3, 30892, $0) | 0) != 1) { + HEAP32[$4 >> 2] = 4; + } + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0 + 264 | 0, $0 + 256 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + $1 = HEAP32[$0 + 264 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6); + __stack_pointer = $0 + 272 | 0; + return $1 | 0; +} + +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____clear_28_29($0) { + var $1 = 0, $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (HEAP32[std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____size_28_29($0) >> 2]) { + $1 = $0 + 8 | 0; + std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($0, HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______first_28_29($1) >> 2]); + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______first_28_29($1), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____bucket_count_28_29_20const($0); + $1 = 0; while (1) { - i1 = i1 + -1 | 0; - i4 = i3 + 1 | 0; - if (i5 >>> 0 >= i7 >>> 0) break; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i2 >> 2] & 127](i8) | 0)) { - i1 = 0; - break L4; - } - i1 = HEAP32[i12 >> 2] | 0; - i3 = HEAP32[i11 >> 2] | 0; - } else i3 = i4; - HEAP8[i9 + i5 >> 0] = HEAP8[i3 >> 0] | 0; - i5 = i5 + 1 | 0; - } - i2 = i6 - i7 | 0; - i3 = HEAP32[i8 + 416 >> 2] | 0; - switch (i3 | 0) { - case 224: - { - _examine_app0(i8, i9, i7, i2); - break; - } - case 238: - { - _examine_app14(i8, i9, i7, i2); - break; - } - default: - { - i9 = HEAP32[i8 >> 2] | 0; - HEAP32[i9 + 20 >> 2] = 68; - HEAP32[i9 + 24 >> 2] = i3; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i8 >> 2] >> 2] & 255](i8); - } - } - HEAP32[i11 >> 2] = i4; - HEAP32[i12 >> 2] = i1; - if ((i2 | 0) > 0) { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i10 >> 2] | 0) + 16 >> 2] & 63](i8, i2); - i1 = 1; - } else i1 = 1; - } while (0); - STACKTOP = i13; - return i1 | 0; -} - -function _prepare_for_output_pass(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i3 = HEAP32[i2 + 420 >> 2] | 0; - i4 = i3 + 8 | 0; - if (!(HEAP32[i4 >> 2] | 0)) { - i1 = i2 + 84 | 0; - do if (HEAP32[i1 >> 2] | 0 ? (HEAP32[i2 + 136 >> 2] | 0) == 0 : 0) { - if (HEAP32[i2 + 92 >> 2] | 0 ? HEAP32[i2 + 108 >> 2] | 0 : 0) { - HEAP32[i2 + 460 >> 2] = HEAP32[i3 + 24 >> 2]; - HEAP32[i4 >> 2] = 1; - break; - } - if (!(HEAP32[i2 + 100 >> 2] | 0)) { - i7 = HEAP32[i2 >> 2] | 0; - HEAP32[i7 + 20 >> 2] = 46; - FUNCTION_TABLE_vi[HEAP32[i7 >> 2] & 255](i2); - break; - } else { - HEAP32[i2 + 460 >> 2] = HEAP32[i3 + 20 >> 2]; - break; - } - } while (0); - FUNCTION_TABLE_vi[HEAP32[HEAP32[i2 + 448 >> 2] >> 2] & 255](i2); - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i2 + 428 >> 2] | 0) + 8 >> 2] & 255](i2); - if (!(HEAP32[i2 + 68 >> 2] | 0)) { - if (!(HEAP32[i3 + 16 >> 2] | 0)) FUNCTION_TABLE_vi[HEAP32[HEAP32[i2 + 456 >> 2] >> 2] & 255](i2); - FUNCTION_TABLE_vi[HEAP32[HEAP32[i2 + 452 >> 2] >> 2] & 255](i2); - if (HEAP32[i1 >> 2] | 0) FUNCTION_TABLE_vii[HEAP32[HEAP32[i2 + 460 >> 2] >> 2] & 63](i2, HEAP32[i4 >> 2] | 0); - FUNCTION_TABLE_vii[HEAP32[HEAP32[i2 + 432 >> 2] >> 2] & 63](i2, (HEAP32[i4 >> 2] | 0) == 0 ? 0 : 3); - FUNCTION_TABLE_vii[HEAP32[HEAP32[i2 + 424 >> 2] >> 2] & 63](i2, 0); - } - } else { - HEAP32[i4 >> 2] = 0; - FUNCTION_TABLE_vii[HEAP32[HEAP32[i2 + 460 >> 2] >> 2] & 63](i2, 0); - FUNCTION_TABLE_vii[HEAP32[HEAP32[i2 + 432 >> 2] >> 2] & 63](i2, 2); - FUNCTION_TABLE_vii[HEAP32[HEAP32[i2 + 424 >> 2] >> 2] & 63](i2, 2); - } - i1 = HEAP32[i2 + 8 >> 2] | 0; - if ((i1 | 0 ? (i5 = HEAP32[i3 + 12 >> 2] | 0, HEAP32[i1 + 12 >> 2] = i5, i5 = ((HEAP32[i4 >> 2] | 0) == 0 ? 1 : 2) + i5 | 0, i6 = i1 + 16 | 0, HEAP32[i6 >> 2] = i5, HEAP32[i2 + 64 >> 2] | 0) : 0) ? (HEAP32[(HEAP32[i2 + 436 >> 2] | 0) + 20 >> 2] | 0) == 0 : 0) HEAP32[i6 >> 2] = ((HEAP32[i2 + 108 >> 2] | 0) == 0 ? 1 : 2) + i5; - return; -} - -function _arImageProcLumaHistAndBoxFilterWithBias(i15, i14, i3, i16) { - i15 = i15 | 0; - i14 = i14 | 0; - i3 = i3 | 0; - i16 = i16 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i1 = _arImageProcLumaHist(i15, i14) | 0; - L1 : do if ((i1 | 0) >= 0) { - if (!(HEAP32[i15 >> 2] | 0)) { - i1 = i15 + 4 | 0; - i2 = i15 + 8 | 0; - i13 = _malloc(Math_imul(HEAP32[i2 >> 2] | 0, HEAP32[i1 >> 2] | 0) | 0) | 0; - HEAP32[i15 >> 2] = i13; - if (!i13) { - i1 = -1; - break; + if (($1 | 0) == ($2 | 0)) { + wasm2js_i32$0 = std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____size_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; } else { - i13 = i1; - i12 = i2; + wasm2js_i32$0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $1), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $1 = $1 + 1 | 0; + continue; } - } else { - i13 = i15 + 4 | 0; - i12 = i15 + 8 | 0; + break; } - i10 = i3 >> 1; - i11 = 0 - i10 | 0; - i9 = 0; - while (1) { - i1 = HEAP32[i12 >> 2] | 0; - if ((i9 | 0) >= (i1 | 0)) break; - i6 = 0; - while (1) { - i8 = HEAP32[i13 >> 2] | 0; - if ((i6 | 0) >= (i8 | 0)) break; - i7 = i11; - i3 = 0; - i1 = 0; + } +} + +function arVecTridiagonalize($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0; + $7 = __stack_pointer - 16 | 0; + __stack_pointer = $7; + $16 = -1; + label$1: { + $4 = HEAP32[$0 + 8 >> 2]; + if (($4 | 0) != HEAP32[$0 + 4 >> 2] | HEAP32[$1 + 4 >> 2] != ($4 | 0) | (HEAP32[$2 + 4 >> 2] + 1 | 0) != ($4 | 0)) { + break label$1; + } + $14 = $4 - 2 | 0; + $16 = ($14 | 0) > 0 ? $14 : 0; + label$2: while (1) { + label$3: { + $12 = $15; + if (($16 | 0) != ($12 | 0)) { + $3 = $12 << 3; + $8 = HEAP32[$0 >> 2] + (Math_imul($4, $12) << 3) | 0; + HEAPF64[$3 + HEAP32[$1 >> 2] >> 3] = HEAPF64[$8 + $3 >> 3]; + $15 = $12 + 1 | 0; + $6 = $15 << 3; + $13 = $8 + $6 | 0; + HEAP32[$7 + 8 >> 2] = $13; + $10 = ($12 ^ -1) + $4 | 0; + HEAP32[$7 + 12 >> 2] = $10; + $9 = arVecHousehold($7 + 8 | 0); + HEAPF64[HEAP32[$2 >> 2] + $3 >> 3] = $9; + $5 = $15; + if ($9 == 0) { + continue; + } + label$5: while (1) { + $9 = 0; + $3 = $15; + if (($4 | 0) <= ($5 | 0)) { + break label$3; + } + while (1) if ($3 >>> 0 >= $5 >>> 0) { + $11 = Math_imul($4, $5); + $3 = $5; + while (1) { + if (($3 | 0) < ($4 | 0)) { + $9 = HEAPF64[HEAP32[$0 >> 2] + ($3 + $11 << 3) >> 3] * HEAPF64[($3 << 3) + $8 >> 3] + $9; + $3 = $3 + 1 | 0; + continue; + } + break; + } + HEAPF64[HEAP32[$1 >> 2] + ($5 << 3) >> 3] = $9; + $5 = $5 + 1 | 0; + continue label$5; + } else { + $9 = HEAPF64[HEAP32[$0 >> 2] + (Math_imul($3, $4) + $5 << 3) >> 3] * HEAPF64[($3 << 3) + $8 >> 3] + $9; + $3 = $3 + 1 | 0; + continue; + } + } + } + label$11: { + label$12: { + if (($4 | 0) >= 2) { + $3 = $14 << 3; + $5 = HEAP32[$1 >> 2]; + $8 = HEAP32[$0 >> 2]; + $11 = Math_imul($4, $14); + HEAPF64[$3 + $5 >> 3] = HEAPF64[$8 + ($14 + $11 << 3) >> 3]; + $1 = HEAP32[$2 >> 2] + $3 | 0; + $3 = $4 - 1 | 0; + HEAPF64[$1 >> 3] = HEAPF64[($11 + $3 << 3) + $8 >> 3]; + break label$12; + } + if (($4 | 0) != 1) { + break label$11; + } + $5 = HEAP32[$1 >> 2]; + $8 = HEAP32[$0 >> 2]; + $3 = 0; + } + HEAPF64[($3 << 3) + $5 >> 3] = HEAPF64[(Math_imul($3, $4) + $3 << 3) + $8 >> 3]; + } + $16 = 0; + $1 = ($4 | 0) > 0 ? $4 : 0; + $6 = $4; while (1) { - if ((i7 | 0) > (i10 | 0)) break; - i2 = i7 + i9 | 0; - L16 : do if ((i2 | 0) >= 0 ? (i2 | 0) < (HEAP32[i12 >> 2] | 0) : 0) { - i5 = Math_imul(i2, i8) | 0; - i4 = i11; - i2 = i3; + if (($6 | 0) <= 0) { + break label$1; + } + $13 = $6 - 1 | 0; + $5 = HEAP32[$0 >> 2] + (Math_imul($13, $4) << 3) | 0; + label$15: { + if (($6 | 0) > ($14 | 0)) { + break label$15; + } + $12 = $4 - $6 | 0; + $15 = ($6 << 3) + $5 | 0; + $10 = $6; while (1) { - if ((i4 | 0) > (i10 | 0)) break L16; - i3 = i4 + i6 | 0; - if ((i3 | 0) > -1 & (i3 | 0) < (i8 | 0)) { - i2 = i2 + 1 | 0; - i1 = i1 + (HEAPU8[i14 + (i3 + i5) >> 0] | 0) | 0; + if (($4 | 0) <= ($10 | 0)) { + break label$15; + } + HEAP32[$7 + 12 >> 2] = $12; + HEAP32[$7 + 4 >> 2] = $12; + HEAP32[$7 + 8 >> 2] = $15; + $11 = Math_imul($4, $10); + HEAP32[$7 >> 2] = HEAP32[$0 >> 2] + ($11 + $6 << 3); + $9 = -arVecInnerproduct($7 + 8 | 0, $7); + $3 = $6; + while (1) { + if (($3 | 0) < ($4 | 0)) { + $8 = HEAP32[$0 >> 2] + ($3 + $11 << 3) | 0; + HEAPF64[$8 >> 3] = $9 * HEAPF64[($3 << 3) + $5 >> 3] + HEAPF64[$8 >> 3]; + $3 = $3 + 1 | 0; + continue; + } + break; } - i4 = i4 + 1 | 0; + $10 = $10 + 1 | 0; + continue; + } + } + $3 = 0; + while (1) { + if (($1 | 0) != ($3 | 0)) { + $2 = ($3 << 3) + $5 | 0; + HEAP32[$2 >> 2] = 0; + HEAP32[$2 + 4 >> 2] = 0; + $3 = $3 + 1 | 0; + continue; } - } else i2 = i3; while (0); - i7 = i7 + 1 | 0; - i3 = i2; + break; + } + $2 = ($13 << 3) + $5 | 0; + HEAP32[$2 >> 2] = 0; + HEAP32[$2 + 4 >> 2] = 1072693248; + $6 = $13; + continue; } - i8 = (HEAP32[i15 >> 2] | 0) + ((Math_imul(i8, i9) | 0) + i6) | 0; - HEAP8[i8 >> 0] = (i1 | 0) / (i3 | 0) | 0; - i6 = i6 + 1 | 0; } - i9 = i9 + 1 | 0; - } - if (!i16) i1 = 0; else { - i2 = 0; - while (1) { - if ((i2 | 0) >= (Math_imul(i1, HEAP32[i13 >> 2] | 0) | 0)) { - i1 = 0; - break L1; - } - i1 = (HEAP32[i15 >> 2] | 0) + i2 | 0; - HEAP8[i1 >> 0] = (HEAPU8[i1 >> 0] | 0) + i16; - i2 = i2 + 1 | 0; - i1 = HEAP32[i12 >> 2] | 0; - } - } - } while (0); - return i1 | 0; -} - -function __ZNSt3__26vectorINS0_INS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEENS4_IS8_Lm4096EEEE24__emplace_back_slow_pathIJRNS2_5arenaILm4096EEEEEEvDpOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i4 = i8 + 20 | 0; - i5 = i8; - i6 = i1 + 4 | 0; - i7 = ((HEAP32[i6 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 4) + 1 | 0; - i3 = __ZNKSt3__26vectorINS0_INS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEENS4_IS8_Lm4096EEEE8max_sizeEv(i1) | 0; - if (i3 >>> 0 < i7 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i9 = HEAP32[i1 >> 2] | 0; - i11 = (HEAP32[i1 + 8 >> 2] | 0) - i9 | 0; - i10 = i11 >> 3; - __ZNSt3__214__split_bufferINS_6vectorINS1_IN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEEERNS5_IS9_Lm4096EEEEC2EmmSB_(i5, i11 >> 4 >>> 0 < i3 >>> 1 >>> 0 ? (i10 >>> 0 < i7 >>> 0 ? i7 : i10) : i3, (HEAP32[i6 >> 2] | 0) - i9 >> 4, i1 + 12 | 0); - i7 = i5 + 8 | 0; - i6 = HEAP32[i7 >> 2] | 0; - __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS0_11string_pairENS1_IS4_Lm4096EEEEELm4096EEC2ERNS0_5arenaILm4096EEE(i4, i2); - HEAP32[i6 >> 2] = 0; - HEAP32[i6 + 4 >> 2] = 0; - HEAP32[i6 + 8 >> 2] = 0; - HEAP32[i6 + 12 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i7 >> 2] = i6 + 16; - __ZNSt3__26vectorINS0_INS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEENS4_IS8_Lm4096EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS8_RS9_EE(i1, i5); - __ZNSt3__214__split_bufferINS_6vectorINS1_IN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEEERNS5_IS9_Lm4096EEEED2Ev(i5); - STACKTOP = i8; - return; - } -} - -function _arGetTransMatSquare(i3, i4, d1, i5) { - i3 = i3 | 0; - i4 = i4 | 0; - d1 = +d1; - i5 = i5 | 0; - var i2 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, d12 = 0.0, i13 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - i6 = i11 + 192 | 0; - i7 = i11 + 96 | 0; - i8 = i11 + 264 | 0; - i9 = i11; - i10 = i11 + 256 | 0; - do if ((HEAP32[i4 + 12 >> 2] | 0) >= 0) if ((HEAP32[i4 + 8 >> 2] | 0) < 0) { - i2 = i4 + 24 | 0; - break; - } else { - i2 = i4 + 16 | 0; - break; - } else i2 = i4 + 20 | 0; while (0); - i2 = HEAP32[i2 >> 2] | 0; - i13 = (4 - i2 | 0) % 4 | 0; - HEAPF64[i6 >> 3] = +HEAPF64[i4 + 168 + (i13 << 4) >> 3]; - HEAPF64[i6 + 8 >> 3] = +HEAPF64[i4 + 168 + (i13 << 4) + 8 >> 3]; - i13 = (5 - i2 | 0) % 4 | 0; - HEAPF64[i6 + 16 >> 3] = +HEAPF64[i4 + 168 + (i13 << 4) >> 3]; - HEAPF64[i6 + 24 >> 3] = +HEAPF64[i4 + 168 + (i13 << 4) + 8 >> 3]; - i13 = (6 - i2 | 0) % 4 | 0; - HEAPF64[i6 + 32 >> 3] = +HEAPF64[i4 + 168 + (i13 << 4) >> 3]; - HEAPF64[i6 + 40 >> 3] = +HEAPF64[i4 + 168 + (i13 << 4) + 8 >> 3]; - i2 = (7 - i2 | 0) % 4 | 0; - HEAPF64[i6 + 48 >> 3] = +HEAPF64[i4 + 168 + (i2 << 4) >> 3]; - HEAPF64[i6 + 56 >> 3] = +HEAPF64[i4 + 168 + (i2 << 4) + 8 >> 3]; - d12 = d1 * -.5; - HEAPF64[i7 >> 3] = d12; - d1 = d1 * .5; - HEAPF64[i7 + 8 >> 3] = d1; - HEAPF64[i7 + 16 >> 3] = 0.0; - HEAPF64[i7 + 24 >> 3] = d1; - HEAPF64[i7 + 32 >> 3] = d1; - HEAPF64[i7 + 40 >> 3] = 0.0; - HEAPF64[i7 + 48 >> 3] = d1; - HEAPF64[i7 + 56 >> 3] = d12; - HEAPF64[i7 + 64 >> 3] = 0.0; - HEAPF64[i7 + 72 >> 3] = d12; - HEAPF64[i7 + 80 >> 3] = d12; - HEAPF64[i7 + 88 >> 3] = 0.0; - HEAP32[i8 >> 2] = i6; - HEAP32[i8 + 4 >> 2] = i7; - HEAP32[i8 + 8 >> 2] = 4; - if ((_icpGetInitXw2Xc_from_PlanarData(HEAP32[i3 >> 2] | 0, i6, i7, 4, i9) | 0) < 0) d1 = 1.0e8; else { - i13 = (_icpPoint(HEAP32[i3 >> 2] | 0, i8, i9, i5, i10) | 0) < 0; - d1 = i13 ? 1.0e8 : +HEAPF64[i10 >> 3]; - } - STACKTOP = i11; - return +d1; -} - -function __ZL18genBWImageTwoThirdPhiiPiS0_(i10, i11, i1, i2, i3) { - i10 = i10 | 0; - i11 = i11 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i12 = (i11 | 0) / 3 | 0; - i13 = i12 << 1; - HEAP32[i2 >> 2] = i13; - i9 = (i1 | 0) / 3 | 0; - i8 = i9 << 1; - HEAP32[i3 >> 2] = i8; - i8 = _malloc(Math_imul(i8, i13) | 0) | 0; - if (!i8) { - _arLog(0, 3, 20454, i14); - _exit(1); - } - i3 = 0; - i1 = i8; - i2 = i8; - while (1) { - if ((i3 | 0) >= (i9 | 0)) break; - i7 = i3 * 3 | 0; - i4 = 0; - i5 = i10 + (Math_imul(i7 + 2 | 0, i11) | 0) | 0; - i6 = i10 + (Math_imul(i7 + 1 | 0, i11) | 0) | 0; - i7 = i10 + (Math_imul(i7, i11) | 0) | 0; - i2 = i2 + i13 | 0; - while (1) { - if ((i4 | 0) >= (i12 | 0)) break; - i18 = i7 + 1 | 0; - i16 = i6 + 1 | 0; - HEAP8[i1 >> 0] = (((HEAPU8[i18 >> 0] | 0) >>> 1 & 255) + (HEAPU8[i7 >> 0] | 0) + ((HEAPU8[i6 >> 0] | 0) >>> 1 & 255) + ((HEAPU8[i16 >> 0] | 0) >>> 2 & 255) << 2 >>> 0) / 9 | 0; - i15 = i5 + 1 | 0; - HEAP8[i2 >> 0] = ((((HEAPU8[i16 >> 0] | 0) >>> 2) + ((HEAPU8[i6 >> 0] | 0) >>> 1) & 255) + (HEAPU8[i5 >> 0] | 0) + ((HEAPU8[i15 >> 0] | 0) >>> 1 & 255) << 2 >>> 0) / 9 | 0; - i17 = i6 + 2 | 0; - HEAP8[i1 + 1 >> 0] = (((HEAPU8[i18 >> 0] | 0) >>> 1 & 255) + (HEAPU8[i7 + 2 >> 0] | 0) + ((HEAPU8[i16 >> 0] | 0) >>> 2 & 255) + ((HEAPU8[i17 >> 0] | 0) >>> 1 & 255) << 2 >>> 0) / 9 | 0; - HEAP8[i2 + 1 >> 0] = ((((HEAPU8[i17 >> 0] | 0) >>> 1) + ((HEAPU8[i16 >> 0] | 0) >>> 2) & 255) + ((HEAPU8[i15 >> 0] | 0) >>> 1 & 255) + (HEAPU8[i5 + 2 >> 0] | 0) << 2 >>> 0) / 9 | 0; - i4 = i4 + 1 | 0; - i5 = i5 + 3 | 0; - i6 = i6 + 3 | 0; - i7 = i7 + 3 | 0; - i1 = i1 + 2 | 0; - i2 = i2 + 2 | 0; - } - i3 = i3 + 1 | 0; - i1 = i1 + i13 | 0; - } - STACKTOP = i14; - return i8 | 0; -} - -function __ZNSt3__26vectorINS0_INS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEENS4_IS8_Lm4096EEEE24__emplace_back_slow_pathIJS5_EEEvDpOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i4 = i8 + 20 | 0; - i5 = i8; - i6 = i1 + 4 | 0; - i7 = ((HEAP32[i6 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 4) + 1 | 0; - i3 = __ZNKSt3__26vectorINS0_INS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEENS4_IS8_Lm4096EEEE8max_sizeEv(i1) | 0; - if (i3 >>> 0 < i7 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i9 = HEAP32[i1 >> 2] | 0; - i11 = (HEAP32[i1 + 8 >> 2] | 0) - i9 | 0; - i10 = i11 >> 3; - __ZNSt3__214__split_bufferINS_6vectorINS1_IN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEEERNS5_IS9_Lm4096EEEEC2EmmSB_(i5, i11 >> 4 >>> 0 < i3 >>> 1 >>> 0 ? (i10 >>> 0 < i7 >>> 0 ? i7 : i10) : i3, (HEAP32[i6 >> 2] | 0) - i9 >> 4, i1 + 12 | 0); - i7 = i5 + 8 | 0; - i6 = HEAP32[i7 >> 2] | 0; - __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS0_11string_pairENS1_IS4_Lm4096EEEEELm4096EEC2IS4_EERKNS1_IT_Lm4096EEE(i4, i2); - HEAP32[i6 >> 2] = 0; - HEAP32[i6 + 4 >> 2] = 0; - HEAP32[i6 + 8 >> 2] = 0; - HEAP32[i6 + 12 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i7 >> 2] = i6 + 16; - __ZNSt3__26vectorINS0_INS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEENS4_IS8_Lm4096EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS8_RS9_EE(i1, i5); - __ZNSt3__214__split_bufferINS_6vectorINS1_IN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEEERNS5_IS9_Lm4096EEEED2Ev(i5); - STACKTOP = i8; - return; - } -} - -function __ZN6vision27OrthogonalizePivot8x9Basis1IfEEbPT_S2_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i6 = i5; - i3 = i1 + 36 | 0; - i4 = i2 + 36 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i3, i1, i4); - i13 = i1 + 72 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i13, i1, i2 + 72 | 0); - i12 = i1 + 108 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i12, i1, i2 + 108 | 0); - i11 = i1 + 144 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i11, i1, i2 + 144 | 0); - i10 = i1 + 180 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i10, i1, i2 + 180 | 0); - i9 = i1 + 216 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i9, i1, i2 + 216 | 0); - i8 = i1 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i8, i1, i2 + 252 | 0); - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i3); - HEAPF32[i6 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i13); - HEAPF32[i6 + 4 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i12); - HEAPF32[i6 + 8 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i11); - HEAPF32[i6 + 12 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i10); - HEAPF32[i6 + 16 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i9); - HEAPF32[i6 + 20 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i8); - HEAPF32[i6 + 24 >> 2] = d7; - i1 = __ZN6vision9MaxIndex7IfEEiPKT_(i6) | 0; - i2 = i6 + (i1 << 2) | 0; - if (+HEAPF32[i2 >> 2] == 0.0) i1 = 0; else { - i1 = i1 * 9 | 0; - __ZN6vision5Swap9IfEEvPT_S2_(i3, i3 + (i1 << 2) | 0); - __ZN6vision5Swap9IfEEvPT_S2_(i4, i4 + (i1 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_(i3, i3, 1.0 / +Math_sqrt(+(+HEAPF32[i2 >> 2]))); - i1 = 1; - } - STACKTOP = i5; - return i1 | 0; -} - -function _ar2GenImageLayer2(i14, d15) { - i14 = i14 | 0; - d15 = +d15; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0, d23 = 0.0, i24 = 0; - i22 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i19 = i14 + 4 | 0; - i20 = i14 + 12 | 0; - d23 = +HEAPF32[i20 >> 2]; - i21 = _lroundf(+(HEAP32[i19 >> 2] | 0) * d15 / d23) | 0; - i16 = i14 + 8 | 0; - i17 = _lroundf(+(HEAP32[i16 >> 2] | 0) * d15 / d23) | 0; - i18 = _malloc(16) | 0; - if (!i18) { - _arLog(0, 3, 20454, i22); - _exit(1); - } - HEAP32[i18 + 4 >> 2] = i21; - HEAP32[i18 + 8 >> 2] = i17; - HEAPF32[i18 + 12 >> 2] = d15; - i1 = _malloc(Math_imul(i17, i21) | 0) | 0; - HEAP32[i18 >> 2] = i1; - if (!i1) { - _arLog(0, 3, 20454, i22 + 8 | 0); - _exit(1); - } - i2 = 0; - while (1) { - if ((i2 | 0) >= (i17 | 0)) break; - d23 = +HEAPF32[i20 >> 2]; - i13 = _lroundf(d23 * +(i2 | 0) / d15) | 0; - i2 = i2 + 1 | 0; - i12 = _lroundf(d23 * +(i2 | 0) / d15) | 0; - i3 = HEAP32[i16 >> 2] | 0; - i12 = (i12 | 0) > (i3 | 0) ? i3 : i12; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i21 | 0)) break; - d23 = +HEAPF32[i20 >> 2]; - i11 = _lroundf(d23 * +(i3 | 0) / d15) | 0; - i3 = i3 + 1 | 0; - i10 = _lroundf(d23 * +(i3 | 0) / d15) | 0; - i9 = HEAP32[i19 >> 2] | 0; - i10 = (i10 | 0) > (i9 | 0) ? i9 : i10; - i4 = 0; - i5 = 0; - i6 = i13; - while (1) { - if ((i6 | 0) >= (i12 | 0)) break; - i7 = i11; - i8 = (HEAP32[i14 >> 2] | 0) + ((Math_imul(i6, i9) | 0) + i11) | 0; + HEAP32[$7 + 12 >> 2] = $10; + HEAP32[$7 + 4 >> 2] = $10; + HEAP32[$7 + 8 >> 2] = $13; + HEAP32[$7 >> 2] = HEAP32[$1 >> 2] + $6; + $18 = arVecInnerproduct($7 + 8 | 0, $7) * -.5; + $6 = $4; + label$21: while (1) { + $6 = $6 - 1 | 0; + if (($12 | 0) >= ($6 | 0)) { + continue label$2; + } + $3 = $6 << 3; + $11 = HEAP32[$1 >> 2]; + $5 = $3 + $11 | 0; + $9 = HEAPF64[$3 + $8 >> 3]; + $17 = $18 * $9 + HEAPF64[$5 >> 3]; + HEAPF64[$5 >> 3] = $17; + $10 = Math_imul($4, $6); + $3 = $6; while (1) { - if ((i7 | 0) >= (i10 | 0)) break; - i24 = i4 + (HEAPU8[i8 >> 0] | 0) | 0; - i7 = i7 + 1 | 0; - i8 = i8 + 1 | 0; - i4 = i24; - i5 = i5 + 1 | 0; - } - i6 = i6 + 1 | 0; - } - HEAP8[i1 >> 0] = (i4 | 0) / (i5 | 0) | 0; - i1 = i1 + 1 | 0; - } - } - STACKTOP = i22; - return i18 | 0; -} - -function __ZN6vision11FindInliersERNSt3__26vectorINS_7match_tENS0_9allocatorIS2_EEEEPKfRKNS1_INS_12FeaturePointENS3_IS9_EEEESD_RKS5_f(i9, i10, i11, i12, i13, d1) { - i9 = i9 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - d1 = +d1; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i14 = 0, i15 = 0, d16 = 0.0, i17 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i14 = i15; - d1 = +__ZN6vision3sqrIfEET_S1_(d1); - i8 = i13 + 4 | 0; - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm(i9, (HEAP32[i8 >> 2] | 0) - (HEAP32[i13 >> 2] | 0) >> 3); - i5 = i14 + 4 | 0; - i6 = i9 + 4 | 0; - i7 = i9 + 8 | 0; - i4 = 0; - while (1) { - i2 = HEAP32[i13 >> 2] | 0; - if (i4 >>> 0 >= (HEAP32[i8 >> 2] | 0) - i2 >> 3 >>> 0) break; - i3 = HEAP32[i2 + (i4 << 3) + 4 >> 2] | 0; - i2 = HEAP32[i12 >> 2] | 0; - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvRT_S2_PKS1_S1_S1_(i14, i5, i10, +HEAPF32[i2 + (i3 * 20 | 0) >> 2], +HEAPF32[i2 + (i3 * 20 | 0) + 4 >> 2]); - d16 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i14 >> 2] - +HEAPF32[(HEAP32[i11 >> 2] | 0) + ((HEAP32[(HEAP32[i13 >> 2] | 0) + (i4 << 3) >> 2] | 0) * 20 | 0) >> 2]); - do if (d16 + +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i5 >> 2] - +HEAPF32[(HEAP32[i11 >> 2] | 0) + ((HEAP32[(HEAP32[i13 >> 2] | 0) + (i4 << 3) >> 2] | 0) * 20 | 0) + 4 >> 2]) <= d1) { - i2 = (HEAP32[i13 >> 2] | 0) + (i4 << 3) | 0; - i3 = HEAP32[i6 >> 2] | 0; - if ((i3 | 0) == (HEAP32[i7 >> 2] | 0)) { - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIRKS2_EEvOT_(i9, i2); - break; - } else { - i17 = i2; - i2 = HEAP32[i17 + 4 >> 2] | 0; - HEAP32[i3 >> 2] = HEAP32[i17 >> 2]; - HEAP32[i3 + 4 >> 2] = i2; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 8; - break; + if (($3 | 0) >= ($4 | 0)) { + continue label$21; + } + $5 = HEAP32[$0 >> 2] + ($3 + $10 << 3) | 0; + $13 = $5; + $19 = HEAPF64[$5 >> 3]; + $5 = $3 << 3; + HEAPF64[$13 >> 3] = $19 - ($9 * HEAPF64[$11 + $5 >> 3] + $17 * HEAPF64[$5 + $8 >> 3]); + $3 = $3 + 1 | 0; + continue; + } } - } while (0); - i4 = i4 + 1 | 0; - } - STACKTOP = i15; - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6removeENS_21__hash_const_iteratorIPNS_11__hash_nodeIS3_PvEEEE(i12, i13, i1) { - i12 = i12 | 0; - i13 = i13 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i11 = HEAP32[i1 >> 2] | 0; - i8 = HEAP32[i13 + 4 >> 2] | 0; - i1 = HEAP32[i11 + 4 >> 2] | 0; - i9 = i8 + -1 | 0; - i5 = (i9 & i8 | 0) == 0; - if (!i5) if (i1 >>> 0 < i8 >>> 0) i6 = i1; else i6 = (i1 >>> 0) % (i8 >>> 0) | 0; else i6 = i9 & i1; - i2 = (HEAP32[i13 >> 2] | 0) + (i6 << 2) | 0; - i10 = HEAP32[i2 >> 2] | 0; - while (1) { - i1 = HEAP32[i10 >> 2] | 0; - if ((i1 | 0) == (i11 | 0)) break; else i10 = i1; - } - i7 = i13 + 8 | 0; - if ((i10 | 0) != (i7 | 0)) { - i1 = HEAP32[i10 + 4 >> 2] | 0; - if (!i5) { - if (i1 >>> 0 >= i8 >>> 0) i1 = (i1 >>> 0) % (i8 >>> 0) | 0; - } else i1 = i1 & i9; - if ((i1 | 0) == (i6 | 0)) i3 = i11; else i4 = 14; - } else i4 = 14; - do if ((i4 | 0) == 14) { - i1 = HEAP32[i11 >> 2] | 0; - if (i1 | 0) { - i1 = HEAP32[i1 + 4 >> 2] | 0; - if (!i5) { - if (i1 >>> 0 >= i8 >>> 0) i1 = (i1 >>> 0) % (i8 >>> 0) | 0; - } else i1 = i1 & i9; - if ((i1 | 0) == (i6 | 0)) { - i3 = i11; - break; - } - } - HEAP32[i2 >> 2] = 0; - i3 = i11; - } while (0); - i2 = HEAP32[i3 >> 2] | 0; - i1 = i2; - if (i2) { - i2 = HEAP32[i2 + 4 >> 2] | 0; - if (!i5) { - if (i2 >>> 0 >= i8 >>> 0) i2 = (i2 >>> 0) % (i8 >>> 0) | 0; - } else i2 = i2 & i9; - if ((i2 | 0) != (i6 | 0)) { - HEAP32[(HEAP32[i13 >> 2] | 0) + (i2 << 2) >> 2] = i10; - i1 = HEAP32[i11 >> 2] | 0; - } - } - HEAP32[i10 >> 2] = i1; - HEAP32[i3 >> 2] = 0; - i13 = i13 + 12 | 0; - HEAP32[i13 >> 2] = (HEAP32[i13 >> 2] | 0) + -1; - HEAP32[i12 >> 2] = i11; - HEAP32[i12 + 4 >> 2] = i7; - HEAP8[i12 + 8 >> 0] = 1; - return; -} - -function _getMarkerInfo(i1, i3) { - i1 = i1 | 0; - i3 = i3 | 0; - var i2 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i4; - HEAP32[i2 >> 2] = i1; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0) { - i1 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0) + 216 | 0; - i1 = HEAP32[i1 >> 2] | 0; - if ((HEAP32[i1 + 44 >> 2] | 0) > (i3 | 0)) { - i1 = (i3 | 0) < 0 ? 55240 : i1 + 48 + (i3 << 8) | 0; - _emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi(2, HEAP32[i1 >> 2] | 0, HEAP32[i1 + 4 >> 2] | 0, HEAP32[i1 + 8 >> 2] | 0, HEAP32[i1 + 12 >> 2] | 0, HEAP32[i1 + 16 >> 2] | 0, HEAP32[i1 + 20 >> 2] | 0, HEAP32[i1 + 24 >> 2] | 0, +(+HEAPF64[i1 + 32 >> 3]), +(+HEAPF64[i1 + 40 >> 3]), +(+HEAPF64[i1 + 48 >> 3]), +(+HEAPF64[i1 + 56 >> 3]), +(+HEAPF64[i1 + 64 >> 3]), +(+HEAPF64[i1 + 72 >> 3]), +(+HEAPF64[i1 + 80 >> 3]), +(+HEAPF64[i1 + 88 >> 3]), +(+HEAPF64[i1 + 96 >> 3]), +(+HEAPF64[i1 + 104 >> 3]), +(+HEAPF64[i1 + 112 >> 3]), +(+HEAPF64[i1 + 120 >> 3]), +(+HEAPF64[i1 + 128 >> 3]), +(+HEAPF64[i1 + 136 >> 3]), +(+HEAPF64[i1 + 144 >> 3]), +(+HEAPF64[i1 + 152 >> 3]), +(+HEAPF64[i1 + 160 >> 3]), +(+HEAPF64[i1 + 168 >> 3]), +(+HEAPF64[i1 + 176 >> 3]), +(+HEAPF64[i1 + 184 >> 3]), +(+HEAPF64[i1 + 192 >> 3]), +(+HEAPF64[i1 + 200 >> 3]), +(+HEAPF64[i1 + 208 >> 3]), +(+HEAPF64[i1 + 216 >> 3]), +(+HEAPF64[i1 + 224 >> 3]), HEAP32[i1 + 240 >> 2] | 0) | 0; - i1 = 0; - break; - } else { - i1 = HEAP32[3415] | 0; - break; } - } else i1 = HEAP32[3413] | 0; while (0); - STACKTOP = i4; - return i1 | 0; -} - -function __ZNSt3__211__sift_downIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeESA_(i3, i1, i2, i12, i13) { - i3 = i3 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i14 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i10; - i7 = HEAP32[i13 >> 2] | 0; - i8 = HEAP32[i3 >> 2] | 0; - i1 = i7 - i8 | 0; - i6 = i7; - i5 = i7; - if ((i12 | 0) >= 2 ? (i11 = (i12 + -2 | 0) / 2 | 0, (i11 | 0) >= (i1 >> 3 | 0)) : 0) { - i1 = i1 >> 2 | 1; - i3 = i8 + (i1 << 3) | 0; - i2 = i3; - i4 = i1 + 1 | 0; - if ((i4 | 0) < (i12 | 0)) { - i14 = i3 + 8 | 0; - i3 = __ZNK6vision17PriorityQueueItemILi96EEltERKS1_(i3, i14) | 0; - i1 = i3 ? i4 : i1; - i2 = i3 ? i14 : i2; - } - if (!(__ZNK6vision17PriorityQueueItemILi96EEltERKS1_(i2, i6) | 0)) { - i14 = HEAP32[i7 + 4 >> 2] | 0; - i6 = i9; - HEAP32[i6 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i6 + 4 >> 2] = i14; - i6 = i2; - while (1) { - i14 = i5; - i5 = i6; - i4 = i5; - i7 = HEAP32[i4 + 4 >> 2] | 0; - HEAP32[i14 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i14 + 4 >> 2] = i7; - HEAP32[i13 >> 2] = i6; - if ((i11 | 0) < (i1 | 0)) break; - i1 = i1 << 1 | 1; - i3 = i8 + (i1 << 3) | 0; - i2 = i3; - i4 = i1 + 1 | 0; - if ((i4 | 0) < (i12 | 0)) { - i14 = i3 + 8 | 0; - i7 = __ZNK6vision17PriorityQueueItemILi96EEltERKS1_(i3, i14) | 0; - i1 = i7 ? i4 : i1; - i2 = i7 ? i14 : i2; - } - if (__ZNK6vision17PriorityQueueItemILi96EEltERKS1_(i2, i9) | 0) break; else i6 = i2; - } - i12 = i9; - i13 = HEAP32[i12 + 4 >> 2] | 0; - i14 = i6; - HEAP32[i14 >> 2] = HEAP32[i12 >> 2]; - HEAP32[i14 + 4 >> 2] = i13; - __ZN6vision17PriorityQueueItemILi96EED2Ev(i9); - } - } - STACKTOP = i10; - return; -} - -function _next_marker(i7) { - i7 = i7 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i8 = HEAP32[i7 + 24 >> 2] | 0; - i9 = i8 + 4 | 0; - i6 = i8 + 12 | 0; - i10 = i7 + 440 | 0; - i1 = HEAP32[i9 >> 2] | 0; - i2 = HEAP32[i8 >> 2] | 0; - L1 : while (1) { - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i6 >> 2] & 127](i7) | 0)) { - i1 = 0; - break; + } + __stack_pointer = $7 + 16 | 0; + return $16; +} + +function ar2SetTemplateSub($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = Math_fround(0), $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = Math_fround(0); + $6 = __stack_pointer - 80 | 0; + __stack_pointer = $6; + label$1: { + label$2: { + label$3: { + if ($0) { + arUtilMatMuldff($0 + 8 | 0, $1, $6 + 16 | 0); + $4 = HEAP32[$3 >> 2] + Math_imul($4, 20) | 0; + $7 = HEAPF32[$4 + 8 >> 2]; + HEAPF32[$6 + 76 >> 2] = $7; + $16 = HEAPF32[$4 + 12 >> 2]; + HEAPF32[$6 + 72 >> 2] = $16; + $4 = -1; + if ((ar2MarkerCoord2ScreenCoord(0, $6 + 16 | 0, $7, $16, $6 + 76 | 0, $6 + 72 | 0) | 0) < 0) { + break label$1; + } + $1 = $0 + 184 | 0; + if ((arParamIdeal2ObservLTf($1, HEAPF32[$6 + 76 >> 2], HEAPF32[$6 + 72 >> 2], $6 + 68 | 0, $6 - -64 | 0) | 0) < 0) { + break label$1; + } + $0 = HEAP32[$5 + 16 >> 2]; + $7 = Math_fround(HEAPF32[$6 + 64 >> 2] + Math_fround(.5)); + label$5: { + if (Math_fround(Math_abs($7)) < Math_fround(2147483648)) { + $4 = ~~$7; + break label$5; + } + $4 = -2147483648; + } + $8 = $0 << 1; + $7 = Math_fround(HEAPF32[$6 + 68 >> 2] + Math_fround(.5)); + label$7: { + if (Math_fround(Math_abs($7)) < Math_fround(2147483648)) { + $14 = ~~$7; + break label$7; + } + $14 = -2147483648; + } + $10 = $4 - $8 | 0; + $11 = 0 - $0 | 0; + $8 = HEAP32[$5 + 24 >> 2]; + label$9: while (1) { + if (HEAP32[$5 + 20 >> 2] < ($11 | 0)) { + break label$3; + } + $4 = HEAP32[$5 + 8 >> 2]; + $0 = 0 - $4 | 0; + $4 = $14 - ($4 << 1) | 0; + $7 = Math_fround($10 | 0); + while (1) { + label$11: { + label$12: { + if (HEAP32[$5 + 12 >> 2] >= ($0 | 0)) { + if ((arParamObserv2IdealLTf($1, Math_fround($4 | 0), $7, $6 + 68 | 0, $6 - -64 | 0) | 0) < 0) { + break label$12; + } + if ((ar2GetImageValue(0, $6 + 16 | 0, HEAP32[HEAP32[$2 >> 2] + (HEAP32[$3 + 8 >> 2] << 2) >> 2], HEAPF32[$6 + 68 >> 2], HEAPF32[$6 + 64 >> 2], $6 + 15 | 0) | 0) < 0) { + break label$12; + } + $9 = HEAPU8[$6 + 15 | 0]; + HEAP16[$8 >> 1] = $9; + $12 = $12 + 1 | 0; + $13 = $9 + $13 | 0; + $15 = Math_imul($9, $9) + $15 | 0; + break label$11; + } + $10 = $10 + 2 | 0; + $11 = $11 + 1 | 0; + continue label$9; + } + HEAP16[$8 >> 1] = 4096; + } + $4 = $4 + 2 | 0; + $0 = $0 + 1 | 0; + $8 = $8 + 2 | 0; + continue; + } + } + } + $0 = HEAP32[$3 >> 2] + Math_imul($4, 20) | 0; + if ((ar2MarkerCoord2ScreenCoord(0, $1, HEAPF32[$0 + 8 >> 2], HEAPF32[$0 + 12 >> 2], $6 + 68 | 0, $6 - -64 | 0) | 0) < 0) { + break label$2; + } + $0 = HEAP32[$5 + 16 >> 2]; + $7 = Math_fround(HEAPF32[$6 + 64 >> 2] + Math_fround(.5)); + label$14: { + if (Math_fround(Math_abs($7)) < Math_fround(2147483648)) { + $4 = ~~$7; + break label$14; + } + $4 = -2147483648; + } + $8 = $0 << 1; + $7 = Math_fround(HEAPF32[$6 + 68 >> 2] + Math_fround(.5)); + label$16: { + if (Math_fround(Math_abs($7)) < Math_fround(2147483648)) { + $14 = ~~$7; + break label$16; + } + $14 = -2147483648; + } + $10 = $4 - $8 | 0; + $11 = 0 - $0 | 0; + $8 = HEAP32[$5 + 24 >> 2]; + while (1) { + if (HEAP32[$5 + 20 >> 2] < ($11 | 0)) { + break label$3; + } + $4 = HEAP32[$5 + 8 >> 2]; + $0 = 0 - $4 | 0; + $4 = $14 - ($4 << 1) | 0; + $7 = Math_fround($10 | 0); + while (1) { + if (($0 | 0) <= HEAP32[$5 + 12 >> 2]) { + label$21: { + if ((ar2GetImageValue(0, $1, HEAP32[HEAP32[$2 >> 2] + (HEAP32[$3 + 8 >> 2] << 2) >> 2], Math_fround($4 | 0), $7, $6 + 15 | 0) | 0) < 0) { + HEAP16[$8 >> 1] = 4096; + break label$21; + } + $9 = HEAPU8[$6 + 15 | 0]; + HEAP16[$8 >> 1] = $9; + $12 = $12 + 1 | 0; + $13 = $9 + $13 | 0; + $15 = Math_imul($9, $9) + $15 | 0; + } + $4 = $4 + 2 | 0; + $0 = $0 + 1 | 0; + $8 = $8 + 2 | 0; + continue; + } + break; + } + $10 = $10 + 2 | 0; + $11 = $11 + 1 | 0; + continue; + } } - i1 = HEAP32[i9 >> 2] | 0; - i2 = HEAP32[i8 >> 2] | 0; - } - while (1) { - i1 = i1 + -1 | 0; - i3 = i2 + 1 | 0; - if ((HEAP8[i2 >> 0] | 0) == -1) break; - i5 = (HEAP32[i10 >> 2] | 0) + 24 | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1; - HEAP32[i8 >> 2] = i3; - HEAP32[i9 >> 2] = i1; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i6 >> 2] & 127](i7) | 0)) { - i1 = 0; - break L1; - } - i1 = HEAP32[i9 >> 2] | 0; - i2 = HEAP32[i8 >> 2] | 0; - } else i2 = i3; - } - i5 = i1; - i2 = i3; - do { - if (!i5) { - if (!(FUNCTION_TABLE_ii[HEAP32[i6 >> 2] & 127](i7) | 0)) { - i1 = 0; - break L1; + if (!$12) { + break label$2; + } + HEAP32[$5 + 36 >> 2] = $12; + HEAP32[$5 + 32 >> 2] = $13; + $7 = Math_fround(Math_sqrt(Math_fround($15 - ((Math_imul($13, $13) | 0) / ($12 | 0) | 0) | 0))); + label$23: { + if (Math_fround(Math_abs($7)) < Math_fround(2147483648)) { + $0 = ~~$7; + break label$23; } - i1 = HEAP32[i9 >> 2] | 0; - i3 = HEAP32[i8 >> 2] | 0; - } else { - i1 = i5; - i3 = i2; - } - i5 = i1 + -1 | 0; - i2 = i3 + 1 | 0; - i1 = HEAP8[i3 >> 0] | 0; - } while (i1 << 24 >> 24 == -1); - i3 = (HEAP32[i10 >> 2] | 0) + 24 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if (i1 << 24 >> 24) { - i11 = 18; - break; + $0 = -2147483648; + } + HEAP32[$5 + 28 >> 2] = $0; + $4 = 0; + break label$1; } - HEAP32[i3 >> 2] = i4 + 2; - HEAP32[i8 >> 2] = i2; - HEAP32[i9 >> 2] = i5; - i1 = i5; - } - if ((i11 | 0) == 18) { - i1 = i1 & 255; - if (i4 | 0) { - i11 = HEAP32[i7 >> 2] | 0; - HEAP32[i11 + 20 >> 2] = 116; - HEAP32[i11 + 24 >> 2] = i4; - HEAP32[(HEAP32[i7 >> 2] | 0) + 28 >> 2] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i7 >> 2] | 0) + 4 >> 2] & 63](i7, -1); - HEAP32[(HEAP32[i10 >> 2] | 0) + 24 >> 2] = 0; - } - HEAP32[i7 + 416 >> 2] = i1; - HEAP32[i8 >> 2] = i2; - HEAP32[i9 >> 2] = i5; - i1 = 1; - } - return i1 | 0; -} - -function __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE21__push_back_slow_pathIS6_EEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = ((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 4) + 1 | 0; - i6 = __ZNKSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = (HEAP32[i1 + 8 >> 2] | 0) - i8 | 0; - i9 = i10 >> 3; - __ZNSt3__214__split_bufferINS_6vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEERNS5_IS7_Lm4096EEEEC2EmmS9_(i3, i10 >> 4 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, (HEAP32[i4 >> 2] | 0) - i8 >> 4, i1 + 12 | 0); - i6 = i3 + 8 | 0; - i5 = HEAP32[i6 >> 2] | 0; - HEAP32[i5 >> 2] = 0; - i8 = i5 + 4 | 0; - HEAP32[i8 >> 2] = 0; - i9 = i5 + 8 | 0; - HEAP32[i9 >> 2] = 0; - HEAP32[i5 + 12 >> 2] = HEAP32[i2 + 12 >> 2]; - HEAP32[i5 >> 2] = HEAP32[i2 >> 2]; - i4 = i2 + 4 | 0; - HEAP32[i8 >> 2] = HEAP32[i4 >> 2]; - i8 = i2 + 8 | 0; - HEAP32[i9 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i8 >> 2] = 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i6 >> 2] = i5 + 16; - __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS6_RS7_EE(i1, i3); - __ZNSt3__214__split_bufferINS_6vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEERNS5_IS7_Lm4096EEEED2Ev(i3); - STACKTOP = i7; - return; + $4 = -1; } + __stack_pointer = $6 + 80 | 0; + return $4; } -function _mbrtowc(i2, i4, i6, i1) { - i2 = i2 | 0; - i4 = i4 | 0; - i6 = i6 | 0; - i1 = i1 | 0; - var i3 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i9; - i7 = (i1 | 0) == 0 ? 56328 : i1; - i1 = HEAP32[i7 >> 2] | 0; - L1 : do if (!i4) if (!i1) i1 = 0; else i8 = 19; else { - i5 = (i2 | 0) == 0 ? i3 : i2; - if (!i6) i1 = -2; else { - if (!i1) { - i1 = HEAP8[i4 >> 0] | 0; - if (i1 << 24 >> 24 > -1) { - HEAP32[i5 >> 2] = i1 & 255; - i1 = i1 << 24 >> 24 != 0 & 1; - break; - } - i3 = (___pthread_self_303() | 0) + 188 | 0; - i1 = HEAP8[i4 >> 0] | 0; - if (!(HEAP32[HEAP32[i3 >> 2] >> 2] | 0)) { - HEAP32[i5 >> 2] = i1 << 24 >> 24 & 57343; - i1 = 1; - break; +function process_data_context_main($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0; + label$1: { + $4 = HEAP32[$0 + 448 >> 2]; + if (!HEAP32[$4 + 56 >> 2]) { + if (!(FUNCTION_TABLE[HEAP32[HEAP32[$0 + 452 >> 2] + 12 >> 2]]($0, HEAP32[((HEAP32[$4 + 68 >> 2] << 2) + $4 | 0) + 60 >> 2]) | 0)) { + break label$1; + } + HEAP32[$4 + 56 >> 2] = 1; + HEAP32[$4 + 76 >> 2] = HEAP32[$4 + 76 >> 2] + 1; + } + label$3: { + switch (HEAP32[$4 + 72 >> 2]) { + case 2: + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 456 >> 2] + 4 >> 2]]($0, HEAP32[((HEAP32[$4 + 68 >> 2] << 2) + $4 | 0) + 60 >> 2], $4 + 48 | 0, HEAP32[$4 + 52 >> 2], $1, $2, $3); + if (HEAPU32[$4 + 48 >> 2] < HEAPU32[$4 + 52 >> 2]) { + break label$1; } - i1 = (i1 & 255) + -194 | 0; - if (i1 >>> 0 > 50) { - i8 = 19; - break; + HEAP32[$4 + 72 >> 2] = 0; + if (HEAPU32[$2 >> 2] >= $3 >>> 0) { + break label$1; } - i1 = HEAP32[3472 + (i1 << 2) >> 2] | 0; - i3 = i6 + -1 | 0; - if (i3) { - i4 = i4 + 1 | 0; - i8 = 11; + + case 0: + HEAP32[$4 + 48 >> 2] = 0; + $13 = HEAP32[$0 + 328 >> 2]; + HEAP32[$4 + 52 >> 2] = $13 - 1; + label$6: { + if (HEAP32[$4 + 76 >> 2] != HEAP32[$0 + 332 >> 2]) { + break label$6; + } + $14 = HEAP32[$0 + 36 >> 2]; + if (($14 | 0) <= 0) { + break label$6; + } + $16 = HEAP32[$0 + 448 >> 2]; + $18 = $16 + (HEAP32[$16 + 68 >> 2] << 2) | 0; + $10 = HEAP32[$0 + 216 >> 2]; + while (1) { + $5 = Math_imul(HEAP32[$10 + 40 >> 2], HEAP32[$10 + 12 >> 2]); + $6 = HEAPU32[$10 + 48 >> 2] % ($5 >>> 0) | 0; + $6 = $6 ? $6 : $5; + $5 = ($5 | 0) / ($13 | 0) | 0; + if (!$11) { + HEAP32[$16 + 52 >> 2] = (($6 - 1 | 0) / ($5 | 0) | 0) + 1; + } + label$9: { + if (($5 | 0) <= 0) { + break label$9; + } + $5 = $5 << 1; + $7 = ($5 | 0) > 1 ? $5 : 1; + $15 = $7 & 3; + $8 = HEAP32[HEAP32[$18 + 60 >> 2] + ($11 << 2) >> 2]; + $9 = ($8 + ($6 << 2) | 0) - 4 | 0; + $12 = 0; + $5 = 0; + if ($7 - 1 >>> 0 >= 3) { + $17 = $7 & 2147483644; + $7 = 0; + while (1) { + HEAP32[($5 + $6 << 2) + $8 >> 2] = HEAP32[$9 >> 2]; + HEAP32[(($5 | 1) + $6 << 2) + $8 >> 2] = HEAP32[$9 >> 2]; + HEAP32[(($5 | 2) + $6 << 2) + $8 >> 2] = HEAP32[$9 >> 2]; + HEAP32[(($5 | 3) + $6 << 2) + $8 >> 2] = HEAP32[$9 >> 2]; + $5 = $5 + 4 | 0; + $7 = $7 + 4 | 0; + if (($17 | 0) != ($7 | 0)) { + continue; + } + break; + } + } + if (!$15) { + break label$9; + } + while (1) { + HEAP32[($5 + $6 << 2) + $8 >> 2] = HEAP32[$9 >> 2]; + $5 = $5 + 1 | 0; + $12 = $12 + 1 | 0; + if (($15 | 0) != ($12 | 0)) { + continue; + } + break; + } + } + $10 = $10 + 88 | 0; + $11 = $11 + 1 | 0; + if (($14 | 0) != ($11 | 0)) { + continue; + } + break; + } } - } else { - i3 = i6; - i8 = 11; - } - L14 : do if ((i8 | 0) == 11) { - i2 = HEAPU8[i4 >> 0] | 0; - i10 = i2 >>> 3; - if ((i10 + -16 | i10 + (i1 >> 26)) >>> 0 > 7) { - i8 = 19; - break L1; - } - i1 = i2 + -128 | i1 << 6; - i2 = i3 + -1 | 0; - if ((i1 | 0) < 0) do { - i4 = i4 + 1 | 0; - if (!i2) break L14; - i3 = HEAP8[i4 >> 0] | 0; - if ((i3 & -64) << 24 >> 24 != -128) { - i8 = 19; - break L1; - } - i1 = (i3 & 255) + -128 | i1 << 6; - i2 = i2 + -1 | 0; - } while ((i1 | 0) < 0); - HEAP32[i7 >> 2] = 0; - HEAP32[i5 >> 2] = i1; - i1 = i6 - i2 | 0; - break L1; - } while (0); - HEAP32[i7 >> 2] = i1; - i1 = -2; - } - } while (0); - if ((i8 | 0) == 19) { - HEAP32[i7 >> 2] = 0; - i1 = ___errno_location() | 0; - HEAP32[i1 >> 2] = 84; - i1 = -1; - } - STACKTOP = i9; - return i1 | 0; -} - -function __ZNSt3__210__stdinbufIwE9pbackfailEj(i4, i8) { - i4 = i4 | 0; - i8 = i8 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i10 + 16 | 0; - i6 = i10 + 8 | 0; - i2 = i10 + 4 | 0; - i3 = i10; - i7 = __ZNSt3__211char_traitsIwE11eq_int_typeEjj(i8, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0; - i9 = i4 + 52 | 0; - i1 = (HEAP8[i9 >> 0] | 0) != 0; - do if (i7) if (i1) i1 = i8; else { - i1 = HEAP32[i4 + 48 >> 2] | 0; - i8 = ((__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) ^ 1) & 1; - HEAP8[i9 >> 0] = i8; - } else { - if (i1) { - i7 = i4 + 48 | 0; - i1 = __ZNSt3__211char_traitsIwE12to_char_typeEj(HEAP32[i7 >> 2] | 0) | 0; - HEAP32[i2 >> 2] = i1; - i1 = HEAP32[i4 + 36 >> 2] | 0; - switch (FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 12 >> 2] & 15](i1, HEAP32[i4 + 40 >> 2] | 0, i2, i2 + 4 | 0, i3, i5, i5 + 8 | 0, i6) | 0) { + HEAP32[$4 + 72 >> 2] = 1; + break; + case 1: - case 2: - { - i3 = 11; - break; - } - case 3: - { - HEAP8[i5 >> 0] = HEAP32[i7 >> 2]; - HEAP32[i6 >> 2] = i5 + 1; - i3 = 8; - break; - } + break label$3; + default: - i3 = 8; + break label$1; } - L9 : do if ((i3 | 0) == 8) { - i1 = i4 + 32 | 0; - while (1) { - i2 = HEAP32[i6 >> 2] | 0; - if (i2 >>> 0 <= i5 >>> 0) { - i2 = 1; - i1 = 0; - break L9; - } - i4 = i2 + -1 | 0; - HEAP32[i6 >> 2] = i4; - if ((_ungetc(HEAP8[i4 >> 0] | 0, HEAP32[i1 >> 2] | 0) | 0) == -1) { - i3 = 11; + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 456 >> 2] + 4 >> 2]]($0, HEAP32[((HEAP32[$4 + 68 >> 2] << 2) + $4 | 0) + 60 >> 2], $4 + 48 | 0, HEAP32[$4 + 52 >> 2], $1, $2, $3); + if (HEAPU32[$4 + 48 >> 2] < HEAPU32[$4 + 52 >> 2]) { + break label$1; + } + $13 = HEAP32[$0 + 328 >> 2]; + label$13: { + if (HEAP32[$4 + 76 >> 2] != 1) { + break label$13; + } + $1 = HEAP32[$0 + 36 >> 2]; + if (($1 | 0) <= 0) { + break label$13; + } + $3 = $13 + 2 | 0; + $2 = $13 + 1 | 0; + $14 = HEAP32[$0 + 448 >> 2]; + $10 = HEAP32[$0 + 216 >> 2]; + $11 = 0; + while (1) { + $9 = (Math_imul(HEAP32[$10 + 40 >> 2], HEAP32[$10 + 12 >> 2]) | 0) / ($13 | 0) | 0; + if (($9 | 0) > 0) { + $5 = $11 << 2; + $6 = HEAP32[$5 + HEAP32[$14 + 64 >> 2] >> 2]; + $8 = HEAP32[HEAP32[$14 + 60 >> 2] + $5 >> 2]; + $15 = Math_imul($3, $9); + $17 = Math_imul($2, $9); + $5 = 0; + while (1) { + $12 = $5 - $9 << 2; + $7 = $5 + $17 << 2; + HEAP32[$12 + $8 >> 2] = HEAP32[$7 + $8 >> 2]; + HEAP32[$6 + $12 >> 2] = HEAP32[$6 + $7 >> 2]; + $12 = $5 + $15 << 2; + $7 = $5 << 2; + HEAP32[$12 + $8 >> 2] = HEAP32[$7 + $8 >> 2]; + HEAP32[$6 + $12 >> 2] = HEAP32[$6 + $7 >> 2]; + $5 = $5 + 1 | 0; + if (($9 | 0) != ($5 | 0)) { + continue; + } break; } } - } while (0); - if ((i3 | 0) == 11) { - i2 = 0; - i1 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - } - if (i2) i1 = i7; else break; - } else i1 = i4 + 48 | 0; - HEAP32[i1 >> 2] = i8; - HEAP8[i9 >> 0] = 1; - i1 = i8; - } while (0); - STACKTOP = i10; - return i1 | 0; -} - -function _PCA(i3, i4, i5) { - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i1 = 0, i2 = 0, i6 = 0, i7 = 0; - i1 = HEAP32[i3 + 4 >> 2] | 0; - i2 = HEAP32[i3 + 8 >> 2] | 0; - i7 = (i2 | 0) < (i1 | 0) ? i2 : i1; - L1 : do if (((!((i1 | 0) < 2 | (i2 | 0) < 2) ? (HEAP32[i4 + 8 >> 2] | 0) == (i2 | 0) : 0) ? (HEAP32[i4 + 4 >> 2] | 0) == (i7 | 0) : 0) ? (HEAP32[i5 + 4 >> 2] | 0) == (i7 | 0) : 0) { - i6 = _arMatrixAlloc(i7, i7) | 0; - if ((HEAP32[i6 + 4 >> 2] | 0) == (i7 | 0) ? (HEAP32[i6 + 8 >> 2] | 0) == (i7 | 0) : 0) { - i1 = (i1 | 0) < (i2 | 0); - if (i1) { - if ((_x_by_xt(i3, i6) | 0) < 0) { - _arMatrixFree(i6) | 0; - i1 = -1; - break; + $10 = $10 + 88 | 0; + $11 = $11 + 1 | 0; + if (($1 | 0) != ($11 | 0)) { + continue; } - } else if ((_xt_by_x(i3, i6) | 0) < 0) { - _arMatrixFree(i6) | 0; - i1 = -1; break; } - if ((_QRM(i6, i5) | 0) < 0) { - _arMatrixFree(i6) | 0; - i1 = -1; - break; - } - L18 : do if (i1) { - if ((_EV_create(i3, i6, i4, i5) | 0) < 0) { - _arMatrixFree(i6) | 0; - i1 = -1; - break L1; - } - } else { - i3 = 0; - i2 = HEAP32[i6 >> 2] | 0; - i1 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i3 | 0) >= (i7 | 0)) break; - if (+HEAPF64[(HEAP32[i5 >> 2] | 0) + (i3 << 3) >> 3] < 1.0e-16) break; - i4 = 0; + } + HEAP32[$4 + 56 >> 2] = 0; + HEAP32[$4 + 72 >> 2] = 2; + HEAP32[$4 + 52 >> 2] = $13 + 2; + HEAP32[$4 + 48 >> 2] = $13 + 1; + HEAP32[$4 + 68 >> 2] = HEAP32[$4 + 68 >> 2] ^ 1; + } +} + +function vision__EstimateHomography_28float__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20vision__RobustHomography_float___2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = Math_fround(0), $10 = 0, $11 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $7 = __stack_pointer + -64 | 0; + __stack_pointer = $7; + $10 = std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____vector_28unsigned_20long_29($7 + 48 | 0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($3)); + $11 = std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____vector_28unsigned_20long_29($7 + 32 | 0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($3)); + while (1) { + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($3) >>> 0 <= $8 >>> 0) { + $8 = 0; + HEAP32[$7 + 24 >> 2] = 0; + HEAP32[$7 + 12 >> 2] = 0; + HEAP32[$7 >> 2] = 0; + HEAP32[$7 + 4 >> 2] = 0; + $9 = Math_fround($6 | 0); + HEAPF32[$7 + 28 >> 2] = $9; + HEAPF32[$7 + 20 >> 2] = $9; + $9 = Math_fround($5 | 0); + HEAPF32[$7 + 16 >> 2] = $9; + HEAPF32[$7 + 8 >> 2] = $9; + if (vision__RobustHomography_float___find_28float__2c_20float_20const__2c_20float_20const__2c_20int_2c_20float_20const__2c_20int_29($4, $0, std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____operator_5b_5d_28unsigned_20long_29($10, 0), std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____operator_5b_5d_28unsigned_20long_29($11, 0), std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($3), $7, 4)) { + $8 = vision__CheckHomographyHeuristics_28float__2c_20int_2c_20int_29($0, $5, $6); + } + std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float______vector_28_29($11); + std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float______vector_28_29($10); + __stack_pointer = $7 - -64 | 0; + } else { + $9 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($1, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($3, $8) >> 2]) >> 2]; + wasm2js_i32$0 = std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____operator_5b_5d_28unsigned_20long_29($11, $8), + wasm2js_f32$0 = $9, HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + $9 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($1, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($3, $8) >> 2]) + 4 >> 2]; + wasm2js_i32$0 = std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____operator_5b_5d_28unsigned_20long_29($11, $8), + wasm2js_f32$0 = $9, HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + $9 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($2, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($3, $8) + 4 >> 2]) >> 2]; + wasm2js_i32$0 = std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____operator_5b_5d_28unsigned_20long_29($10, $8), + wasm2js_f32$0 = $9, HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + $9 = HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($2, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($3, $8) + 4 >> 2]) + 4 >> 2]; + wasm2js_i32$0 = std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____operator_5b_5d_28unsigned_20long_29($10, $8), + wasm2js_f32$0 = $9, HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + $8 = $8 + 1 | 0; + continue; + } + break; + } + return $8; +} + +function check_rotation($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + label$1: { + $1 = HEAPF64[$0 >> 3]; + $6 = HEAPF64[$0 + 32 >> 3]; + $10 = HEAPF64[$0 + 24 >> 3]; + $3 = HEAPF64[$0 + 8 >> 3]; + $4 = $1 * $6 - $10 * $3; + $11 = HEAPF64[$0 + 40 >> 3]; + $8 = HEAPF64[$0 + 16 >> 3]; + $2 = $3 * $11 - $6 * $8; + $5 = $8 * $10 - $11 * $1; + $7 = Math_sqrt($4 * $4 + ($2 * $2 + $5 * $5)); + if ($7 == 0) { + break label$1; + } + $4 = $4 / $7; + $12 = $5 / $7; + $7 = $2 / $7; + $2 = $12 * $1 + $7 * -$3; + label$2: { + if ($2 != 0) { + $13 = $3; + $14 = $1; + $5 = $12; + $15 = $7; + $17 = $8; + break label$2; + } + $16 = $4 * $1 + $7 * -$8; + $9 = $16 != 0; + $5 = $9 ? $4 : $12; + $14 = $9 ? $1 : $8; + $15 = $9 ? $7 : $4; + $13 = $9 ? $8 : $3; + $2 = $5 * $14 - $15 * $13; + $4 = $9 ? $12 : $7; + $20 = $16 == 0; + $17 = $9 ? $3 : $1; + } + if ($2 == 0) { + break label$1; + } + $7 = ($13 * $4 - $17 * $5) / $2; + $1 = $8 * $11 + ($1 * $10 + $3 * $6); + $1 = $1 < 0 ? -$1 : $1; + $12 = (Math_sqrt($1 + 1) + Math_sqrt(1 - $1)) * .5; + $1 = $12 * $5 / $2; + $8 = $15 * $13 - $5 * $14; + $3 = $12 * $15 / $8; + $8 = ($14 * $4 - $17 * $15) / $8; + $2 = $7 * $1 + $3 * $8; + $17 = $7 * $7 + $8 * $8 + 1; + $13 = $2 * $2 - ($1 * $1 + $3 * $3 + -1) * $17; + if ($13 < 0) { + break label$1; + } + $16 = Math_sqrt($13); + $13 = (-$2 - $16) / $17; + $18 = $8 * $13 + $3; + $14 = $7 * $13 + $1; + $2 = ($16 - $2) / $17; + $3 = $8 * $2 + $3; + $8 = $7 * $2 + $1; + label$4: { + if ($9) { + $1 = $5; + $5 = $4; + $4 = $15; + $19 = $8; + $8 = $3; + $16 = $14; + $14 = $18; + $18 = $13; + $3 = $2; + break label$4; + } + if (!$20) { + $1 = $4; + $4 = $15; + $19 = $8; + $8 = $2; + $16 = $14; + $14 = $13; + break label$4; + } + $1 = $15; + $19 = $2; + $16 = $13; + } + $21 = $3; + $9 = 0; + $3 = $5 * $10 - $4 * $6; + label$7: { + if ($3 != 0) { + $15 = $6; + $17 = $10; + $2 = $5; + $7 = $4; + $20 = 0; + break label$7; + } + $13 = $1 * $10 - $4 * $11; + $9 = $13 != 0; + $2 = $9 ? $1 : $5; + $17 = $9 ? $10 : $11; + $7 = $9 ? $4 : $1; + $15 = $9 ? $11 : $6; + $3 = $2 * $17 - $7 * $15; + $1 = $9 ? $5 : $4; + $11 = $9 ? $6 : $10; + $20 = $13 == 0; + } + if ($3 == 0) { + break label$1; + } + $4 = ($15 * $1 - $11 * $2) / $3; + $3 = $12 * $2 / $3; + $5 = $7 * $15 - $2 * $17; + $2 = $12 * $7 / $5; + $1 = ($17 * $1 - $11 * $7) / $5; + $5 = $4 * $3 + $2 * $1; + $6 = $4 * $4 + $1 * $1 + 1; + $10 = $5 * $5 - ($3 * $3 + $2 * $2 + -1) * $6; + if ($10 < 0) { + break label$1; + } + $7 = Math_sqrt($10); + $11 = (-$5 - $7) / $6; + $12 = $1 * $11 + $2; + $10 = $4 * $11 + $3; + $5 = ($7 - $5) / $6; + $2 = $1 * $5 + $2; + $1 = $4 * $5 + $3; + label$9: { + if ($9) { + $3 = $1; + $4 = $5; + $1 = $2; + $2 = $10; + $10 = $12; + $12 = $11; + break label$9; + } + if (!$20) { + $3 = $1; + $4 = $2; + $1 = $5; + $2 = $10; + $10 = $11; + break label$9; + } + $3 = $5; + $4 = $2; + $2 = $11; + } + $5 = $12; + $6 = $14 * $10 + ($16 * $2 + $18 * $5); + $7 = $6 < 0 ? -$6 : $6; + $6 = $14 * $1 + ($16 * $3 + $18 * $4); + $11 = $6 < 0 ? -$6 : $6; + $6 = $8 * $1 + ($19 * $3 + $21 * $4); + $12 = $6 < 0 ? -$6 : $6; + label$12: { + label$13: { + label$14: { + $6 = $8 * $10 + ($19 * $2 + $21 * $5); + $6 = $6 < 0 ? -$6 : $6; + if ($12 < $6) { + if ($11 > $12) { + if (!($7 > $12)) { + break label$14; + } + HEAPF64[$0 + 16 >> 3] = $8; + HEAPF64[$0 + 8 >> 3] = $21; + HEAPF64[$0 >> 3] = $19; + break label$12; + } + HEAPF64[$0 + 16 >> 3] = $14; + HEAPF64[$0 + 8 >> 3] = $18; + HEAPF64[$0 >> 3] = $16; + $9 = $7 > $11; + $1 = $9 ? $1 : $10; + $4 = $9 ? $4 : $5; + $3 = $9 ? $3 : $2; + break label$12; + } + if ($6 < $11) { + if (!($7 > $6)) { + break label$14; + } + HEAPF64[$0 + 16 >> 3] = $8; + HEAPF64[$0 + 8 >> 3] = $21; + HEAPF64[$0 >> 3] = $19; + break label$13; + } + HEAPF64[$0 + 16 >> 3] = $14; + HEAPF64[$0 + 8 >> 3] = $18; + HEAPF64[$0 >> 3] = $16; + $9 = $7 > $11; + $1 = $9 ? $1 : $10; + $4 = $9 ? $4 : $5; + $3 = $9 ? $3 : $2; + break label$12; + } + HEAPF64[$0 + 16 >> 3] = $14; + HEAPF64[$0 + 8 >> 3] = $18; + HEAPF64[$0 >> 3] = $16; + } + $3 = $2; + $4 = $5; + $1 = $10; + } + HEAPF64[$0 + 40 >> 3] = $1; + HEAPF64[$0 + 32 >> 3] = $4; + HEAPF64[$0 + 24 >> 3] = $3; + } +} + +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_put_floating_point_long_20double__28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20long_20double_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $0 = __stack_pointer - 432 | 0; + __stack_pointer = $0; + HEAP32[$0 + 424 >> 2] = 37; + HEAP32[$0 + 428 >> 2] = 0; + $11 = std____2____num_put_base____format_float_28char__2c_20char_20const__2c_20unsigned_20int_29($0 + 424 | 1, $8, std____2__ios_base__flags_28_29_20const($2)); + HEAP32[$0 + 380 >> 2] = $0 + 384; + $8 = std____2____cloc_28_29(); + label$1: { + if ($11) { + $9 = std____2__ios_base__precision_28_29_20const($2); + $10 = $0 - -64 | 0; + HEAP32[$10 >> 2] = $6; + HEAP32[$10 + 4 >> 2] = $7; + HEAP32[$0 + 56 >> 2] = $4; + HEAP32[$0 + 60 >> 2] = $5; + HEAP32[$0 + 48 >> 2] = $9; + $8 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 384 | 0, 30, $8, $0 + 424 | 0, $0 + 48 | 0); + break label$1; + } + HEAP32[$0 + 80 >> 2] = $4; + HEAP32[$0 + 84 >> 2] = $5; + HEAP32[$0 + 88 >> 2] = $6; + HEAP32[$0 + 92 >> 2] = $7; + $8 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 384 | 0, 30, $8, $0 + 424 | 0, $0 + 80 | 0); + } + HEAP32[$0 + 128 >> 2] = 315; + $12 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0 + 368 | 0, 0, $0 + 128 | 0); + $10 = $0 + 384 | 0; + $9 = $10; + label$3: { + if (($8 | 0) >= 30) { + $8 = std____2____cloc_28_29(); + label$5: { + if ($11) { + $9 = std____2__ios_base__precision_28_29_20const($2); + HEAP32[$0 + 16 >> 2] = $6; + HEAP32[$0 + 20 >> 2] = $7; + HEAP32[$0 + 8 >> 2] = $4; + HEAP32[$0 + 12 >> 2] = $5; + HEAP32[$0 >> 2] = $9; + $8 = std____2____libcpp_asprintf_l_28char___2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 380 | 0, $8, $0 + 424 | 0, $0); + break label$5; + } + HEAP32[$0 + 32 >> 2] = $4; + HEAP32[$0 + 36 >> 2] = $5; + HEAP32[$0 + 40 >> 2] = $6; + HEAP32[$0 + 44 >> 2] = $7; + $8 = std____2____libcpp_asprintf_l_28char___2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 380 | 0, $8, $0 + 424 | 0, $0 + 32 | 0); + } + if (($8 | 0) == -1) { + break label$3; + } + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($12, HEAP32[$0 + 380 >> 2]); + $9 = HEAP32[$0 + 380 >> 2]; + } + $11 = $8 + $9 | 0; + $4 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($9, $11, $2); + HEAP32[$0 + 128 >> 2] = 315; + $9 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28wchar_t__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0 + 120 | 0, 0, $0 + 128 | 0); + label$7: { + if (HEAP32[$0 + 380 >> 2] == ($0 + 384 | 0)) { + $8 = $0 + 128 | 0; + break label$7; + } + $8 = dlmalloc($8 << 3); + if (!$8) { + break label$3; + } + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___reset_28wchar_t__29($9, $8); + $10 = HEAP32[$0 + 380 >> 2]; + } + std____2__ios_base__getloc_28_29_20const($0 + 104 | 0, $2); + std____2____num_put_wchar_t_____widen_and_group_float_28char__2c_20char__2c_20char__2c_20wchar_t__2c_20wchar_t___2c_20wchar_t___2c_20std____2__locale_20const__29($10, $4, $11, $8, $0 + 116 | 0, $0 + 112 | 0, $0 + 104 | 0); + std____2__locale___locale_28_29($0 + 104 | 0); + $2 = std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____pad_and_output_wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ios_base__2c_20wchar_t_29($1, $8, HEAP32[$0 + 116 >> 2], HEAP32[$0 + 112 >> 2], $2, $3); + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29____unique_ptr_28_29($9); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($12); + __stack_pointer = $0 + 432 | 0; + return $2; + } + std____throw_bad_alloc_28_29(); + abort(); +} + +function arParamObserv2Ideal($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $9 = -1; + label$1: { + label$2: { + label$3: { + switch ($5 - 1 | 0) { + case 3: + $12 = HEAPF64[$0 + 16 >> 3]; + $25 = $12 * 6; + $17 = HEAPF64[$0 + 24 >> 3]; + $26 = $17 * 6; + $20 = HEAPF64[$0 + 56 >> 3]; + $21 = HEAPF64[$0 + 40 >> 3]; + $18 = ($2 - $20) / $21; + $2 = $18 * $18; + $22 = HEAPF64[$0 + 48 >> 3]; + $23 = HEAPF64[$0 + 32 >> 3]; + $19 = ($1 - $22) / $23; + $1 = $19 * $19; + $24 = HEAPF64[$0 + 64 >> 3]; + $10 = HEAPF64[$0 + 8 >> 3]; + $13 = HEAPF64[$0 >> 3]; + $27 = $17 + $17; + $14 = $12 + $12; + $9 = 1; + $7 = $18; + $6 = $19; while (1) { - if ((i4 | 0) >= (i7 | 0)) break; - HEAPF64[i1 >> 3] = +HEAPF64[i2 >> 3]; - i4 = i4 + 1 | 0; - i2 = i2 + 8 | 0; - i1 = i1 + 8 | 0; + label$8: { + label$9: { + if (!($1 != 0 | $2 != 0)) { + $6 = 0; + break label$9; + } + $8 = $2 + $1; + $15 = $10 * $8 * $8 + ($13 * $8 + 1); + $11 = $1 * 3; + $16 = $2 * $11; + $6 = $6 - ($17 * ($1 + $1 + $8) + ($15 * $6 + $7 * ($14 * $6)) - $19) / ($26 * $6 + ($14 * $7 + ($10 * ($2 * $2 + ($1 * 5 * $1 + $16)) + ($13 * ($11 + $2) + 1)))); + $11 = $27 * $6; + $7 = $7 - ($11 * $7 + ($15 * $7 + $12 * ($2 + $2 + $8)) - $18) / ($11 + ($25 * $7 + ($10 * ($2 * 5 * $2 + ($1 * $1 + $16)) + ($13 * ($2 * 3 + $1) + 1)))); + if (($9 | 0) != 4) { + break label$8; + } + $28 = $7; + } + HEAPF64[$3 >> 3] = $22 + $23 * $6 / $24; + $2 = $20 + $21 * $28 / $24; + break label$2; + } + $9 = $9 + 1 | 0; + $2 = $7 * $7; + $1 = $6 * $6; + continue; } - i3 = i3 + 1 | 0; - } - while (1) { - if ((i3 | 0) >= (i7 | 0)) break L18; - HEAPF64[(HEAP32[i5 >> 2] | 0) + (i3 << 3) >> 3] = 0.0; - i2 = 0; + ; + + case 0: + $11 = HEAPF64[$0 >> 3]; + $1 = $1 - $11; + $7 = $2 - HEAPF64[$0 + 8 >> 3]; + $6 = $1 * $1 + $7 * $7; + $2 = Math_sqrt($6); + $13 = -$2; + $8 = HEAPF64[$0 + 24 >> 3] / 1e8; + $14 = $8 * -3; + $15 = -$8; + $9 = 1; + while (1) { + $8 = 0; + label$12: { + if ($2 != 0) { + $6 = $2 - (($15 * $6 + 1) * $2 + $13) / ($14 * $6 + 1); + $7 = $7 * $6 / $2; + $1 = $1 * $6 / $2; + if (($9 | 0) != 3) { + break label$12; + } + $10 = $7; + $8 = $1; + } + HEAPF64[$3 >> 3] = $11 + $8 / HEAPF64[$0 + 16 >> 3]; + $2 = $10 / HEAPF64[$0 + 16 >> 3] + HEAPF64[$0 + 8 >> 3]; + break label$2; + } + $9 = $9 + 1 | 0; + $6 = $1 * $1 + $7 * $7; + $2 = Math_sqrt($6); + continue; + } + ; + + case 1: + $12 = HEAPF64[$0 >> 3]; + $7 = $1 - $12; + $6 = $2 - HEAPF64[$0 + 8 >> 3]; + $2 = $7 * $7 + $6 * $6; + $1 = Math_sqrt($2); + $13 = -$1; + $8 = HEAPF64[$0 + 24 >> 3] / 1e8; + $14 = $8 * -3; + $10 = HEAPF64[$0 + 32 >> 3] / 1e8 / 1e5; + $15 = $10 * -5; + $11 = -$8; + $16 = -$10; + $9 = 1; while (1) { - if ((i2 | 0) >= (i7 | 0)) break; - HEAPF64[i1 >> 3] = 0.0; - i2 = i2 + 1 | 0; - i1 = i1 + 8 | 0; + $8 = 0; + $10 = 0; + label$15: { + if ($1 != 0) { + $2 = $1 - (($2 * $16 * $2 + ($11 * $2 + 1)) * $1 + $13) / ($15 * $2 * $2 + ($14 * $2 + 1)); + $6 = $6 * $2 / $1; + $7 = $7 * $2 / $1; + if (($9 | 0) != 3) { + break label$15; + } + $10 = $6; + $8 = $7; + } + HEAPF64[$3 >> 3] = $12 + $8 / HEAPF64[$0 + 16 >> 3]; + $2 = $10 / HEAPF64[$0 + 16 >> 3] + HEAPF64[$0 + 8 >> 3]; + break label$2; + } + $9 = $9 + 1 | 0; + $2 = $7 * $7 + $6 * $6; + $1 = Math_sqrt($2); + continue; + } + ; + + case 2: + break label$3; + + default: + break label$1; + } + } + $12 = HEAPF64[$0 >> 3]; + $7 = ($1 - $12) / HEAPF64[$0 + 24 >> 3]; + $6 = $2 - HEAPF64[$0 + 8 >> 3]; + $2 = $7 * $7 + $6 * $6; + $1 = Math_sqrt($2); + $13 = -$1; + $8 = HEAPF64[$0 + 32 >> 3] / 1e8; + $14 = $8 * -3; + $10 = HEAPF64[$0 + 40 >> 3] / 1e8 / 1e5; + $15 = $10 * -5; + $11 = -$8; + $16 = -$10; + $9 = 1; + while (1) { + $8 = 0; + $10 = 0; + label$18: { + if ($1 != 0) { + $2 = $1 - (($2 * $16 * $2 + ($11 * $2 + 1)) * $1 + $13) / ($15 * $2 * $2 + ($14 * $2 + 1)); + $6 = $6 * $2 / $1; + $7 = $7 * $2 / $1; + if (($9 | 0) != 3) { + break label$18; + } + $10 = $6; + $8 = $7; } - i3 = i3 + 1 | 0; + HEAPF64[$3 >> 3] = $12 + $8 / HEAPF64[$0 + 16 >> 3]; + $2 = $10 / HEAPF64[$0 + 16 >> 3] + HEAPF64[$0 + 8 >> 3]; + break label$2; } - } while (0); - _arMatrixFree(i6) | 0; - i1 = 0; - break; + $9 = $9 + 1 | 0; + $2 = $7 * $7 + $6 * $6; + $1 = Math_sqrt($2); + continue; + } } - _arMatrixFree(i6) | 0; - i1 = -1; - } else i1 = -1; while (0); - return i1 | 0; -} - -function __ZNSt3__210__stdinbufIcE9pbackfailEi(i4, i8) { - i4 = i4 | 0; - i8 = i8 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i10 + 16 | 0; - i6 = i10 + 4 | 0; - i2 = i10 + 8 | 0; - i3 = i10; - i7 = __ZNSt3__211char_traitsIcE11eq_int_typeEii(i8, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0; - i9 = i4 + 52 | 0; - i1 = (HEAP8[i9 >> 0] | 0) != 0; - do if (i7) if (i1) i1 = i8; else { - i1 = HEAP32[i4 + 48 >> 2] | 0; - i8 = ((__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) ^ 1) & 1; - HEAP8[i9 >> 0] = i8; - } else { - if (i1) { - i7 = i4 + 48 | 0; - i1 = __ZNSt3__211char_traitsIcE12to_char_typeEi(HEAP32[i7 >> 2] | 0) | 0; - HEAP8[i2 >> 0] = i1; - i1 = HEAP32[i4 + 36 >> 2] | 0; - switch (FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 12 >> 2] & 15](i1, HEAP32[i4 + 40 >> 2] | 0, i2, i2 + 1 | 0, i3, i5, i5 + 8 | 0, i6) | 0) { - case 1: - case 2: - { - i3 = 11; - break; - } - case 3: - { - HEAP8[i5 >> 0] = HEAP32[i7 >> 2]; - HEAP32[i6 >> 2] = i5 + 1; - i3 = 8; - break; + HEAPF64[$4 >> 3] = $2; + $9 = 0; + } + return $9; +} + +function vision__HoughSimilarityVoting__mapCorrespondence_28float__2c_20float__2c_20float__2c_20float__2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29_20const($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) { + var $13 = 0, $14 = 0, $15 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $13 = __stack_pointer - 16 | 0; + __stack_pointer = $13; + $11 = Math_fround($7 - $11); + HEAPF32[$3 >> 2] = $11; + $14 = 6.283185307179586; + $15 = +$11; + label$1: { + if (!($15 <= -3.141592653589793)) { + $14 = -6.283185307179586; + if (!($15 > 3.141592653589793)) { + break label$1; + } + } + $11 = Math_fround($14 + $15); + HEAPF32[$3 >> 2] = $11; + } + label$3: { + $14 = +$11; + if ($14 > -3.141592653589793) { + if (!($14 <= 3.141592653589793)) { + break label$3; + } + $11 = float_20vision__SafeDivision_float__28float_2c_20float_29($8, $12); + HEAPF32[$4 >> 2] = $11; + void_20vision__Similarity2x2_float__28float__2c_20float_2c_20float_29($13, HEAPF32[$3 >> 2], $11); + wasm2js_i32$0 = $4, wasm2js_f32$0 = Math_fround(log_28float_29(HEAPF32[$4 >> 2]) * HEAPF32[$0 + 48 >> 2]), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + $11 = HEAPF32[$13 + 8 >> 2]; + $7 = HEAPF32[$13 + 12 >> 2]; + $12 = HEAPF32[$13 >> 2]; + $8 = HEAPF32[$13 + 4 >> 2]; + HEAPF32[$1 >> 2] = Math_fround($5 - Math_fround(Math_fround($12 * $9) + Math_fround($8 * $10))) + Math_fround(Math_fround($12 * HEAPF32[$0 + 8 >> 2]) + Math_fround($8 * HEAPF32[$0 + 12 >> 2])); + HEAPF32[$2 >> 2] = Math_fround($6 - Math_fround(Math_fround($11 * $9) + Math_fround($7 * $10))) + Math_fround(Math_fround($11 * HEAPF32[$0 + 8 >> 2]) + Math_fround($7 * HEAPF32[$0 + 12 >> 2])); + __stack_pointer = $13 + 16 | 0; + return; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 8374), 16336), 3289), 468), 3786), 9005), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 9771), 16336), 3289), 469), 3786), 9005), 16); + abort(); + abort(); +} +function vision__BinaryFeatureMatcher_96___match_28vision__BinaryFeatureStore_20const__2c_20vision__BinaryFeatureStore_20const__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $7 = __stack_pointer - 16 | 0; + __stack_pointer = $7; + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____clear_28_29($0); + label$1: { + if (!vision__BinaryFeatureStore__size_28_29_20const($1)) { + break label$1; + } + if (!vision__BinaryFeatureStore__size_28_29_20const($2)) { + break label$1; + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____reserve_28unsigned_20long_29($0, vision__BinaryFeatureStore__size_28_29_20const($1)); + while (1) { + if (vision__BinaryFeatureStore__size_28_29_20const($1) >>> 0 <= $4 >>> 0) { + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0) >>> 0 > vision__BinaryFeatureStore__size_28_29_20const($1) >>> 0) { + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 22804), 22621), 9176), 112), 10040), 22864), 16); + abort(); + abort(); } - default: - i3 = 8; - } - L9 : do if ((i3 | 0) == 8) { - i1 = i4 + 32 | 0; - while (1) { - i2 = HEAP32[i6 >> 2] | 0; - if (i2 >>> 0 <= i5 >>> 0) { - i2 = 1; - i1 = 0; - break L9; - } - i4 = i2 + -1 | 0; - HEAP32[i6 >> 2] = i4; - if ((_ungetc(HEAP8[i4 >> 0] | 0, HEAP32[i1 >> 2] | 0) | 0) == -1) { - i3 = 11; + } else { + $3 = 0; + $6 = std____2__numeric_limits_unsigned_20int___max_28_29(); + $5 = std____2__numeric_limits_unsigned_20int___max_28_29(); + $9 = std____2__numeric_limits_int___max_28_29(); + $10 = vision__BinaryFeatureStore__feature_28unsigned_20long_29_20const($1, $4); + $11 = vision__BinaryFeatureStore__point_28unsigned_20long_29_20const($1, $4); + label$6: { + while (1) { + if (vision__BinaryFeatureStore__size_28_29_20const($2) >>> 0 <= $3 >>> 0) { + label$9: { + if ((std____2__numeric_limits_unsigned_20int___max_28_29() | 0) == ($6 | 0)) { + break label$6; + } + if ((std____2__numeric_limits_unsigned_20int___max_28_29() | 0) != ($5 | 0)) { + break label$9; + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____push_back_28vision__match_t___29($0, vision__match_t__match_t_28int_2c_20int_29($7 + 8 | 0, $4, $9)); + break label$6; + } + } else { + label$11: { + if (HEAPU8[$11 + 16 | 0] != HEAPU8[vision__BinaryFeatureStore__point_28unsigned_20long_29_20const($2, $3) + 16 | 0]) { + break label$11; + } + $8 = unsigned_20int_20vision__HammingDistance_96__28unsigned_20char_20const__2c_20unsigned_20char_20const__29($10, vision__BinaryFeatureStore__feature_28unsigned_20long_29_20const($2, $3)); + if ($8 >>> 0 < $6 >>> 0) { + $5 = $6; + $9 = $3; + $6 = $8; + break label$11; + } + $5 = $5 >>> 0 > $8 >>> 0 ? $8 : $5; + } + $3 = $3 + 1 | 0; + continue; + } break; } + if (!(HEAPF32[$0 + 12 >> 2] > Math_fround(Math_fround($6 >>> 0) / Math_fround($5 >>> 0)))) { + break label$6; + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____push_back_28vision__match_t___29($0, vision__match_t__match_t_28int_2c_20int_29($7 + 8 | 0, $4, $9)); } - } while (0); - if ((i3 | 0) == 11) { - i2 = 0; - i1 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - } - if (i2) i1 = i7; else break; - } else i1 = i4 + 48 | 0; - HEAP32[i1 >> 2] = i8; - HEAP8[i9 >> 0] = 1; - i1 = i8; - } while (0); - STACKTOP = i10; - return i1 | 0; -} - -function __ZNSt3__211__stdoutbufIwE8overflowEj(i1, i9) { - i1 = i1 | 0; - i9 = i9 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i10 = i13 + 16 | 0; - i3 = i13 + 8 | 0; - i11 = i13 + 4 | 0; - i12 = i13; - do if (!(__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i9, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0)) { - i8 = __ZNSt3__211char_traitsIwE12to_char_typeEj(i9) | 0; - HEAP32[i3 >> 2] = i8; - if (HEAP8[i1 + 44 >> 0] | 0) { - if ((_fwrite(i3, 4, 1, HEAP32[i1 + 32 >> 2] | 0) | 0) == 1) { - i2 = 15; - break; + $4 = $4 + 1 | 0; + continue; } - i1 = __ZNSt3__211char_traitsIwE3eofEv() | 0; break; } - HEAP32[i11 >> 2] = i10; - i2 = i3 + 4 | 0; - i4 = i1 + 36 | 0; - i5 = i1 + 40 | 0; - i6 = i10 + 8 | 0; - i7 = i10; - i8 = i1 + 32 | 0; + $3 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0); + } + __stack_pointer = $7 + 16 | 0; + return $3; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________append_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + if ((HEAP32[std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] | 0) / 12 >>> 0 >= $1 >>> 0) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________construct_at_end_28unsigned_20long_29($0, $1); + break label$1; + } + $2 = std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________alloc_28_29($0); + $2 = std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($3 + 8 | 0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________recommend_28unsigned_20long_29_20const($0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______size_28_29_20const($0) + $1 | 0), std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______size_28_29_20const($0), $2); + std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________construct_at_end_28unsigned_20long_29($2, $1); + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________swap_out_circular_buffer_28std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, $2); + std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________split_buffer_28_29($2); + } + __stack_pointer = $3 + 32 | 0; +} + +function vision__BinaryHierarchicalClustering_96___query_28std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____2c_20vision__Node_96__20const__2c_20unsigned_20char_20const__29_20const($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = __stack_pointer - 32 | 0; + __stack_pointer = $5; + label$1: { + if (vision__Node_96___leaf_28_29_20const($2)) { + $4 = $0 + 72 | 0; + wasm2js_i32$0 = $5, wasm2js_i32$1 = std____2__vector_int_2c_20std____2__allocator_int____end_28_29($4), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = std____2____wrap_iter_int_20const______wrap_iter_int___28std____2____wrap_iter_int___20const__2c_20std____2__enable_if_is_convertible_int__2c_20int_20const____value_2c_20void___type__29($5 + 24 | 0, $5 + 8 | 0, 0); + $1 = std____2__vector_int_2c_20std____2__allocator_int____begin_28_29_20const(vision__Node_96___reverseIndex_28_29_20const($2)); + $2 = std____2__vector_int_2c_20std____2__allocator_int____end_28_29_20const(vision__Node_96___reverseIndex_28_29_20const($2)); + std____2__enable_if___is_cpp17_forward_iterator_std____2____wrap_iter_int_20const_____value_20___20is_constructible_int_2c_20std____2__iterator_traits_std____2____wrap_iter_int_20const_____reference___value_2c_20std____2____wrap_iter_int_____type_20std____2__vector_int_2c_20std____2__allocator_int____insert_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___29($4, HEAP32[$0 >> 2], $1, $2); + break label$1; + } + $4 = std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____vector_28_29($5 + 8 | 0); + vision__Node_96___nearest_28std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____2c_20std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____2c_20unsigned_20char_20const__29_20const($2, $4, $1, $3); + $2 = 0; while (1) { - i1 = HEAP32[i4 >> 2] | 0; - i1 = FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 12 >> 2] & 15](i1, HEAP32[i5 >> 2] | 0, i3, i2, i12, i10, i6, i11) | 0; - if ((HEAP32[i12 >> 2] | 0) == (i3 | 0)) { - i2 = 14; - break; - } - if ((i1 | 0) == 3) { - i2 = 8; - break; - } - if (i1 >>> 0 >= 2) { - i2 = 14; - break; - } - i3 = (HEAP32[i11 >> 2] | 0) - i7 | 0; - if ((_fwrite(i10, 1, i3, HEAP32[i8 >> 2] | 0) | 0) != (i3 | 0)) { - i2 = 14; - break; - } - if ((i1 | 0) == 1) i3 = HEAP32[i12 >> 2] | 0; else { - i2 = 13; - break; + if (std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____size_28_29_20const($4) >>> 0 <= $2 >>> 0) { + label$5: { + if (HEAP32[$0 + 100 >> 2] >= HEAP32[$0 + 104 >> 2]) { + break label$5; + } + if (std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____empty_28_29_20const($1)) { + break label$5; + } + $2 = vision__PriorityQueueItem_96___node_28_29_20const(std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____top_28_29_20const($1)); + std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____pop_28_29($1); + HEAP32[$0 + 100 >> 2] = HEAP32[$0 + 100 >> 2] + 1; + vision__BinaryHierarchicalClustering_96___query_28std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____2c_20vision__Node_96__20const__2c_20unsigned_20char_20const__29_20const($0, $1, $2, $3); + } + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const______vector_28_29($4); + } else { + vision__BinaryHierarchicalClustering_96___query_28std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____2c_20vision__Node_96__20const__2c_20unsigned_20char_20const__29_20const($0, $1, HEAP32[std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____operator_5b_5d_28unsigned_20long_29($4, $2) >> 2], $3); + $2 = $2 + 1 | 0; + continue; } - } - if ((i2 | 0) == 8) if ((_fwrite(i3, 1, 1, HEAP32[i8 >> 2] | 0) | 0) == 1) i2 = 13; else i2 = 14; - if ((i2 | 0) == 13) { - i2 = 15; - break; - } else if ((i2 | 0) == 14) { - i1 = __ZNSt3__211char_traitsIwE3eofEv() | 0; break; } - } else i2 = 15; while (0); - if ((i2 | 0) == 15) i1 = __ZNSt3__211char_traitsIwE7not_eofEj(i9) | 0; - STACKTOP = i13; - return i1 | 0; -} - -function __ZNSt3__211__stdoutbufIcE8overflowEi(i1, i9) { - i1 = i1 | 0; - i9 = i9 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i10 = i13 + 16 | 0; - i3 = i13 + 8 | 0; - i11 = i13 + 4 | 0; - i12 = i13; - do if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i9, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) { - i8 = __ZNSt3__211char_traitsIcE12to_char_typeEi(i9) | 0; - HEAP8[i3 >> 0] = i8; - if (HEAP8[i1 + 44 >> 0] | 0) { - if ((_fwrite(i3, 1, 1, HEAP32[i1 + 32 >> 2] | 0) | 0) == 1) { - i2 = 15; - break; + } + __stack_pointer = $5 + 32 | 0; +} + +function jpeg_idct_14x7($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $20 = __stack_pointer - 224 | 0; + __stack_pointer = $20; + $16 = HEAP32[$0 + 336 >> 2]; + $0 = HEAP32[$1 + 84 >> 2]; + $1 = $20; + while (1) { + $7 = HEAP32[$0 + 160 >> 2]; + $9 = HEAP16[$2 + 80 >> 1]; + $10 = HEAP32[$0 + 32 >> 2]; + $13 = HEAP16[$2 + 16 >> 1]; + $8 = HEAP32[$0 + 96 >> 2]; + $21 = HEAP16[$2 + 48 >> 1]; + $14 = Math_imul(HEAP16[$2 >> 1], HEAP32[$0 >> 2]) << 13 | 1024; + $6 = Math_imul(HEAP32[$0 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $5 = Math_imul(HEAP32[$0 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $12 = Math_imul(HEAP32[$0 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $11 = $5 + $12 | 0; + HEAP32[$1 + 96 >> 2] = $14 + Math_imul($6 - $11 | 0, 11585) >> 11; + $11 = Math_imul($11, 10438) + $14 | 0; + $18 = Math_imul($6 - $5 | 0, 7223); + $15 = $11 + ($18 + Math_imul($5, -637) | 0) | 0; + $5 = Math_imul($7, $9); + $7 = Math_imul($10, $13); + $10 = Math_imul($5 + $7 | 0, 5027); + $9 = Math_imul($8, $21); + $13 = Math_imul($9 + $7 | 0, 7663); + $7 = Math_imul($7 - $9 | 0, 1395); + $8 = $10 + ($13 - $7 | 0) | 0; + HEAP32[$1 + 192 >> 2] = $15 - $8 >> 11; + HEAP32[$1 >> 2] = $8 + $15 >> 11; + $8 = Math_imul($12 - $6 | 0, 2578); + $12 = ($8 + Math_imul($12, -20239) | 0) + $11 | 0; + $10 = Math_imul($5, 15326) + $10 | 0; + $5 = Math_imul($5 + $9 | 0, -11295); + $9 = $10 + $5 | 0; + HEAP32[$1 + 128 >> 2] = $12 - $9 >> 11; + HEAP32[$1 + 64 >> 2] = $9 + $12 >> 11; + $6 = ((Math_imul($6, -15083) + $14 | 0) + $8 | 0) + $18 | 0; + $5 = ($7 + $13 | 0) + $5 | 0; + HEAP32[$1 + 160 >> 2] = $6 - $5 >> 11; + HEAP32[$1 + 32 >> 2] = $5 + $6 >> 11; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $2 = $2 + 2 | 0; + $17 = $17 + 1 | 0; + if (($17 | 0) != 8) { + continue; + } + break; + } + $2 = $16 - 384 | 0; + $1 = $20; + $17 = 0; + while (1) { + $6 = HEAP32[$1 + 12 >> 2]; + $12 = HEAP32[$1 + 4 >> 2]; + $8 = Math_imul($6 + $12 | 0, 10935); + $0 = HEAP32[($17 << 2) + $3 >> 2] + $4 | 0; + $18 = HEAP32[$1 + 28 >> 2]; + $14 = $18 << 13; + $5 = HEAP32[$1 + 20 >> 2]; + $21 = $12 + $5 | 0; + $11 = Math_imul($21, 9810); + $15 = $14 + ($11 + (Math_imul($12, -9232) + $8 | 0) | 0) | 0; + $10 = HEAP32[$1 + 24 >> 2]; + $13 = HEAP32[$1 + 8 >> 2]; + $16 = Math_imul($10 + $13 | 0, 9058); + $22 = $16 + Math_imul($13, 2237) | 0; + $7 = (HEAP32[$1 >> 2] << 13) + 134348800 | 0; + $9 = HEAP32[$1 + 16 >> 2]; + $23 = $7 + Math_imul($9, 10438) | 0; + $19 = $22 + $23 | 0; + HEAP8[$0 | 0] = HEAPU8[($15 + $19 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 13 | 0] = HEAPU8[($19 - $15 >>> 18 & 1023) + $2 | 0]; + $15 = Math_imul($6, -3474) + $8 | 0; + $8 = Math_imul($5 + $6 | 0, -1297) - $14 | 0; + $15 = $15 + $8 | 0; + $16 = Math_imul($10, -14084) + $16 | 0; + $19 = Math_imul($9, 2578) + $7 | 0; + $24 = $16 + $19 | 0; + HEAP8[$0 + 1 | 0] = HEAPU8[($15 + $24 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 12 | 0] = HEAPU8[($24 - $15 >>> 18 & 1023) + $2 | 0]; + $8 = (Math_imul($5, -19447) + $11 | 0) + $8 | 0; + $10 = Math_imul($10, -11295) + Math_imul($13, 5027) | 0; + $13 = Math_imul($9, -7223) + $7 | 0; + $11 = $10 + $13 | 0; + HEAP8[$0 + 2 | 0] = HEAPU8[($8 + $11 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 11 | 0] = HEAPU8[($11 - $8 >>> 18 & 1023) + $2 | 0]; + $7 = Math_imul($9, -11586) + $7 | 0; + $8 = $12 - $6 | 0; + $11 = ($8 - $5 | 0) + $18 << 13; + HEAP8[$0 + 3 | 0] = HEAPU8[($7 + $11 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 10 | 0] = HEAPU8[($7 - $11 >>> 18 & 1023) + $2 | 0]; + $7 = Math_imul($21, 6164); + $9 = Math_imul($5, -13850) + $14 | 0; + $5 = Math_imul($5 - $6 | 0, 11512); + $9 = $7 + ($9 + $5 | 0) | 0; + $10 = $13 - $10 | 0; + HEAP8[$0 + 4 | 0] = HEAPU8[($9 + $10 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 9 | 0] = HEAPU8[($10 - $9 >>> 18 & 1023) + $2 | 0]; + $5 = Math_imul($6, 5529) + $5 | 0; + $6 = Math_imul($8, 3826) - $14 | 0; + $5 = $5 + $6 | 0; + $14 = $19 - $16 | 0; + HEAP8[$0 + 5 | 0] = HEAPU8[($5 + $14 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 8 | 0] = HEAPU8[($14 - $5 >>> 18 & 1023) + $2 | 0]; + $5 = $23 - $22 | 0; + $6 = (Math_imul($12, -8693) + $7 | 0) + $6 | 0; + HEAP8[$0 + 6 | 0] = HEAPU8[($5 + $6 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 7 | 0] = HEAPU8[($5 - $6 >>> 18 & 1023) + $2 | 0]; + $1 = $1 + 32 | 0; + $17 = $17 + 1 | 0; + if (($17 | 0) != 7) { + continue; + } + break; + } + __stack_pointer = $20 + 224 | 0; +} + +function std____2____num_put_wchar_t_____widen_and_group_float_28char__2c_20char__2c_20char__2c_20wchar_t__2c_20wchar_t___2c_20wchar_t___2c_20std____2__locale_20const__29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0; + $10 = __stack_pointer - 16 | 0; + __stack_pointer = $10; + $11 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($6); + $13 = std____2__numpunct_wchar_t__20const__20std____2__use_facet_std____2__numpunct_wchar_t___28std____2__locale_20const__29($6); + std____2__numpunct_wchar_t___grouping_28_29_20const($10, $13); + HEAP32[$5 >> 2] = $3; + label$1: { + label$2: { + $8 = $0; + $6 = HEAPU8[$8 | 0]; + switch ($6 - 43 | 0) { + case 0: + case 2: + break label$2; + + default: + break label$1; + } + } + $6 = std____2__ctype_wchar_t___widen_28char_29_20const($11, $6 << 24 >> 24); + $7 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $7 + 4; + HEAP32[$7 >> 2] = $6; + $8 = $0 + 1 | 0; + } + label$3: { + $6 = $8; + if (!(($2 - $6 | 0) <= 1 | HEAPU8[$6 | 0] != 48 | (HEAPU8[$6 + 1 | 0] | 32) != 120)) { + $6 = std____2__ctype_wchar_t___widen_28char_29_20const($11, 48); + $7 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $7 + 4; + HEAP32[$7 >> 2] = $6; + $6 = std____2__ctype_wchar_t___widen_28char_29_20const($11, HEAP8[$8 + 1 | 0]); + $7 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $7 + 4; + HEAP32[$7 >> 2] = $6; + $8 = $8 + 2 | 0; + $6 = $8; + while (1) { + if ($2 >>> 0 <= $6 >>> 0) { + break label$3; + } + if (!__isxdigit_l(HEAP8[$6 | 0], std____2____cloc_28_29())) { + break label$3; + } + $6 = $6 + 1 | 0; + continue; } - i1 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - break; } - HEAP32[i11 >> 2] = i10; - i2 = i3 + 1 | 0; - i4 = i1 + 36 | 0; - i5 = i1 + 40 | 0; - i6 = i10 + 8 | 0; - i7 = i10; - i8 = i1 + 32 | 0; while (1) { - i1 = HEAP32[i4 >> 2] | 0; - i1 = FUNCTION_TABLE_iiiiiiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 12 >> 2] & 15](i1, HEAP32[i5 >> 2] | 0, i3, i2, i12, i10, i6, i11) | 0; - if ((HEAP32[i12 >> 2] | 0) == (i3 | 0)) { - i2 = 14; - break; - } - if ((i1 | 0) == 3) { - i2 = 8; - break; + if ($2 >>> 0 <= $6 >>> 0) { + break label$3; } - if (i1 >>> 0 >= 2) { - i2 = 14; - break; - } - i3 = (HEAP32[i11 >> 2] | 0) - i7 | 0; - if ((_fwrite(i10, 1, i3, HEAP32[i8 >> 2] | 0) | 0) != (i3 | 0)) { - i2 = 14; - break; - } - if ((i1 | 0) == 1) i3 = HEAP32[i12 >> 2] | 0; else { - i2 = 13; - break; + if (!__isdigit_l(HEAP8[$6 | 0], std____2____cloc_28_29())) { + break label$3; } + $6 = $6 + 1 | 0; + continue; } - if ((i2 | 0) == 8) if ((_fwrite(i3, 1, 1, HEAP32[i8 >> 2] | 0) | 0) == 1) i2 = 13; else i2 = 14; - if ((i2 | 0) == 13) { - i2 = 15; - break; - } else if ((i2 | 0) == 14) { - i1 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - break; - } - } else i2 = 15; while (0); - if ((i2 | 0) == 15) i1 = __ZNSt3__211char_traitsIcE7not_eofEi(i9) | 0; - STACKTOP = i13; - return i1 | 0; -} - -function _memcpy(i3, i6, i1) { - i3 = i3 | 0; - i6 = i6 | 0; - i1 = i1 | 0; - var i2 = 0, i4 = 0, i5 = 0; - if ((i1 | 0) >= 8192) { - _emscripten_memcpy_big(i3 | 0, i6 | 0, i1 | 0) | 0; - return i3 | 0; - } - i5 = i3 | 0; - i4 = i3 + i1 | 0; - if ((i3 & 3) == (i6 & 3)) { - while (i3 & 3) { - if (!i1) return i5 | 0; - HEAP8[i3 >> 0] = HEAP8[i6 >> 0] | 0; - i3 = i3 + 1 | 0; - i6 = i6 + 1 | 0; - i1 = i1 - 1 | 0; - } - i1 = i4 & -4 | 0; - i2 = i1 - 64 | 0; - while ((i3 | 0) <= (i2 | 0)) { - HEAP32[i3 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i3 + 4 >> 2] = HEAP32[i6 + 4 >> 2]; - HEAP32[i3 + 8 >> 2] = HEAP32[i6 + 8 >> 2]; - HEAP32[i3 + 12 >> 2] = HEAP32[i6 + 12 >> 2]; - HEAP32[i3 + 16 >> 2] = HEAP32[i6 + 16 >> 2]; - HEAP32[i3 + 20 >> 2] = HEAP32[i6 + 20 >> 2]; - HEAP32[i3 + 24 >> 2] = HEAP32[i6 + 24 >> 2]; - HEAP32[i3 + 28 >> 2] = HEAP32[i6 + 28 >> 2]; - HEAP32[i3 + 32 >> 2] = HEAP32[i6 + 32 >> 2]; - HEAP32[i3 + 36 >> 2] = HEAP32[i6 + 36 >> 2]; - HEAP32[i3 + 40 >> 2] = HEAP32[i6 + 40 >> 2]; - HEAP32[i3 + 44 >> 2] = HEAP32[i6 + 44 >> 2]; - HEAP32[i3 + 48 >> 2] = HEAP32[i6 + 48 >> 2]; - HEAP32[i3 + 52 >> 2] = HEAP32[i6 + 52 >> 2]; - HEAP32[i3 + 56 >> 2] = HEAP32[i6 + 56 >> 2]; - HEAP32[i3 + 60 >> 2] = HEAP32[i6 + 60 >> 2]; - i3 = i3 + 64 | 0; - i6 = i6 + 64 | 0; - } - while ((i3 | 0) < (i1 | 0)) { - HEAP32[i3 >> 2] = HEAP32[i6 >> 2]; - i3 = i3 + 4 | 0; - i6 = i6 + 4 | 0; - } - } else { - i1 = i4 - 4 | 0; - while ((i3 | 0) < (i1 | 0)) { - HEAP8[i3 >> 0] = HEAP8[i6 >> 0] | 0; - HEAP8[i3 + 1 >> 0] = HEAP8[i6 + 1 >> 0] | 0; - HEAP8[i3 + 2 >> 0] = HEAP8[i6 + 2 >> 0] | 0; - HEAP8[i3 + 3 >> 0] = HEAP8[i6 + 3 >> 0] | 0; - i3 = i3 + 4 | 0; - i6 = i6 + 4 | 0; - } - } - while ((i3 | 0) < (i4 | 0)) { - HEAP8[i3 >> 0] = HEAP8[i6 >> 0] | 0; - i3 = i3 + 1 | 0; - i6 = i6 + 1 | 0; - } - return i5 | 0; -} - -function _loadNFTMarker(i9, i1, i10) { - i9 = i9 | 0; - i1 = i1 | 0; - i10 = i10 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0; - i18 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - i17 = i18 + 80 | 0; - i16 = i18 + 72 | 0; - i15 = i18 + 64 | 0; - i14 = i18 + 56 | 0; - i5 = i18 + 48 | 0; - i4 = i18 + 40 | 0; - i8 = i18 + 32 | 0; - i7 = i18 + 24 | 0; - i6 = i18 + 16 | 0; - i3 = i18 + 8 | 0; - i19 = i18; - i11 = i18 + 88 | 0; - i12 = i18 + 92 | 0; - i2 = i18 + 84 | 0; - HEAP32[i11 >> 2] = i1; - i13 = HEAP32[i9 + 232 >> 2] | 0; - HEAP32[i12 >> 2] = 0; - HEAP32[i19 >> 2] = i10; - _arLog(0, 1, 43953, i19); - do if ((_kpmLoadRefDataSet(i10, 43971, i2) | 0) >= 0) { - HEAP32[i6 >> 2] = i1; - _arLog(0, 1, 44015, i6); - if ((_kpmChangePageNoOfRefDataSet(HEAP32[i2 >> 2] | 0, -1, i1) | 0) < 0) { - _arLog(0, 3, 44040, i7); - i1 = 0; - break; - } - if ((_kpmMergeRefDataSet(i12, i2) | 0) < 0) { - _arLog(0, 3, 44076, i8); - i1 = 0; - break; + } + label$7: { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____empty_28_29_20const($10)) { + std____2__ctype_wchar_t___widen_28char_20const__2c_20char_20const__2c_20wchar_t__29_20const($11, $8, $6, HEAP32[$5 >> 2]); + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + ($6 - $8 << 2); + break label$7; } - _arLog(0, 1, 44103, i4); - HEAP32[i5 >> 2] = i10; - _arLog(0, 1, 44112, i5); - i1 = _ar2ReadSurfaceSet(i10, 44129, 0) | 0; - if (!i1) { - HEAP32[i14 >> 2] = i10; - _arLog(0, 3, 44134, i14); - } - _arLog(0, 1, 44103, i15); - i19 = __ZNSt3__213unordered_mapIiP14AR2SurfaceSetTNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS2_EEEEEixERS9_(i9 + 244 | 0, i11) | 0; - HEAP32[i19 >> 2] = i1; - if ((_kpmSetRefDataSet(i13, HEAP32[i12 >> 2] | 0) | 0) < 0) { - _arLog(0, 3, 44167, i16); - i1 = 0; - break; - } else { - _kpmDeleteRefDataSet(i12) | 0; - _arLog(0, 1, 44192, i17); - i1 = 1; + void_20std____2__reverse_char___28char__2c_20char__29($8, $6); + $15 = std____2__numpunct_wchar_t___thousands_sep_28_29_20const($13); + $7 = $8; + while (1) { + if ($6 >>> 0 <= $7 >>> 0) { + void_20std____2__reverse_wchar_t___28wchar_t__2c_20wchar_t__29(($8 - $0 << 2) + $3 | 0, HEAP32[$5 >> 2]); + } else { + label$12: { + if (HEAP8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($10, $12) | 0] <= 0) { + break label$12; + } + if (HEAP8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($10, $12) | 0] != ($9 | 0)) { + break label$12; + } + $9 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $9 + 4; + HEAP32[$9 >> 2] = $15; + $12 = (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($10) - 1 >>> 0 > $12 >>> 0) + $12 | 0; + $9 = 0; + } + $16 = std____2__ctype_wchar_t___widen_28char_29_20const($11, HEAP8[$7 | 0]); + $14 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $14 + 4; + HEAP32[$14 >> 2] = $16; + $7 = $7 + 1 | 0; + $9 = $9 + 1 | 0; + continue; + } break; } - } else { - HEAP32[i3 >> 2] = i10; - _arLog(0, 3, 43977, i3); - i1 = 0; - } while (0); - STACKTOP = i18; - return i1 | 0; -} - -function _median_cut(i14, i15, i16) { - i14 = i14 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0, i21 = 0; - i12 = 1; - while (1) { - if ((i12 | 0) >= (i16 | 0)) break; - if ((i12 << 1 | 0) > (i16 | 0)) i13 = _find_biggest_volume(i15, i12) | 0; else i13 = _find_biggest_color_pop(i15, i12) | 0; - if (!i13) break; - i17 = i15 + (i12 << 5) | 0; - i2 = i13 + 4 | 0; - HEAP32[i15 + (i12 << 5) + 4 >> 2] = HEAP32[i2 >> 2]; - i3 = i13 + 12 | 0; - HEAP32[i15 + (i12 << 5) + 12 >> 2] = HEAP32[i3 >> 2]; - i4 = i13 + 20 | 0; - HEAP32[i15 + (i12 << 5) + 20 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i17 >> 2] = HEAP32[i13 >> 2]; - i9 = i13 + 8 | 0; - i1 = i15 + (i12 << 5) + 8 | 0; - HEAP32[i1 >> 2] = HEAP32[i9 >> 2]; - i11 = i13 + 16 | 0; - i5 = i15 + (i12 << 5) + 16 | 0; - HEAP32[i5 >> 2] = HEAP32[i11 >> 2]; - i6 = HEAP32[i2 >> 2] | 0; - i7 = HEAP32[i13 >> 2] | 0; - i21 = i6 - i7 << 4; - i8 = HEAP32[i3 >> 2] | 0; - i9 = HEAP32[i9 >> 2] | 0; - i20 = (i8 - i9 | 0) * 12 | 0; - i10 = HEAP32[i4 >> 2] | 0; - i11 = HEAP32[i11 >> 2] | 0; - i19 = (i21 | 0) > (i20 | 0); - switch (((i10 - i11 << 3 | 0) > ((i19 ? i21 : i20) | 0) ? 2 : (i19 ^ 1) & 1) & 3) { - case 0: - { - i18 = (i7 + i6 | 0) / 2 | 0; - HEAP32[i2 >> 2] = i18; - i1 = i17; - i2 = i18; - i18 = 11; - break; - } - case 1: - { - i2 = (i9 + i8 | 0) / 2 | 0; - HEAP32[i3 >> 2] = i2; - i18 = 11; + } + label$13: { + label$14: { + while (1) { + if ($2 >>> 0 <= $6 >>> 0) { + break label$14; + } + $7 = HEAPU8[$6 | 0]; + if (($7 | 0) != 46) { + $7 = std____2__ctype_wchar_t___widen_28char_29_20const($11, $7 << 24 >> 24); + $9 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $9 + 4; + HEAP32[$9 >> 2] = $7; + $6 = $6 + 1 | 0; + continue; + } break; } - case 2: - { - i2 = (i11 + i10 | 0) / 2 | 0; - HEAP32[i4 >> 2] = i2; - i1 = i5; - i18 = 11; - break; + $9 = std____2__numpunct_wchar_t___decimal_point_28_29_20const($13); + $12 = HEAP32[$5 >> 2]; + $7 = $12 + 4 | 0; + HEAP32[$5 >> 2] = $7; + HEAP32[$12 >> 2] = $9; + $6 = $6 + 1 | 0; + break label$13; + } + $7 = HEAP32[$5 >> 2]; + } + std____2__ctype_wchar_t___widen_28char_20const__2c_20char_20const__2c_20wchar_t__29_20const($11, $6, $2, $7); + $6 = HEAP32[$5 >> 2] + ($2 - $6 << 2) | 0; + HEAP32[$5 >> 2] = $6; + HEAP32[$4 >> 2] = ($1 | 0) == ($2 | 0) ? $6 : ($1 - $0 << 2) + $3 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + __stack_pointer = $10 + 16 | 0; +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_______do_put_floating_point_long_20double__28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_20double_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $0 = __stack_pointer - 256 | 0; + __stack_pointer = $0; + HEAP32[$0 + 248 >> 2] = 37; + HEAP32[$0 + 252 >> 2] = 0; + $11 = std____2____num_put_base____format_float_28char__2c_20char_20const__2c_20unsigned_20int_29($0 + 248 | 1, $8, std____2__ios_base__flags_28_29_20const($2)); + HEAP32[$0 + 204 >> 2] = $0 + 208; + $8 = std____2____cloc_28_29(); + label$1: { + if ($11) { + $9 = std____2__ios_base__precision_28_29_20const($2); + $10 = $0 - -64 | 0; + HEAP32[$10 >> 2] = $6; + HEAP32[$10 + 4 >> 2] = $7; + HEAP32[$0 + 56 >> 2] = $4; + HEAP32[$0 + 60 >> 2] = $5; + HEAP32[$0 + 48 >> 2] = $9; + $8 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 208 | 0, 30, $8, $0 + 248 | 0, $0 + 48 | 0); + break label$1; + } + HEAP32[$0 + 80 >> 2] = $4; + HEAP32[$0 + 84 >> 2] = $5; + HEAP32[$0 + 88 >> 2] = $6; + HEAP32[$0 + 92 >> 2] = $7; + $8 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 208 | 0, 30, $8, $0 + 248 | 0, $0 + 80 | 0); + } + HEAP32[$0 + 128 >> 2] = 315; + $12 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0 + 192 | 0, 0, $0 + 128 | 0); + $10 = $0 + 208 | 0; + $9 = $10; + label$3: { + if (($8 | 0) >= 30) { + $8 = std____2____cloc_28_29(); + label$5: { + if ($11) { + $9 = std____2__ios_base__precision_28_29_20const($2); + HEAP32[$0 + 16 >> 2] = $6; + HEAP32[$0 + 20 >> 2] = $7; + HEAP32[$0 + 8 >> 2] = $4; + HEAP32[$0 + 12 >> 2] = $5; + HEAP32[$0 >> 2] = $9; + $8 = std____2____libcpp_asprintf_l_28char___2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 204 | 0, $8, $0 + 248 | 0, $0); + break label$5; + } + HEAP32[$0 + 32 >> 2] = $4; + HEAP32[$0 + 36 >> 2] = $5; + HEAP32[$0 + 40 >> 2] = $6; + HEAP32[$0 + 44 >> 2] = $7; + $8 = std____2____libcpp_asprintf_l_28char___2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 204 | 0, $8, $0 + 248 | 0, $0 + 32 | 0); + } + if (($8 | 0) == -1) { + break label$3; + } + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($12, HEAP32[$0 + 204 >> 2]); + $9 = HEAP32[$0 + 204 >> 2]; + } + $11 = $8 + $9 | 0; + $4 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($9, $11, $2); + HEAP32[$0 + 128 >> 2] = 315; + $9 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0 + 120 | 0, 0, $0 + 128 | 0); + label$7: { + if (HEAP32[$0 + 204 >> 2] == ($0 + 208 | 0)) { + $8 = $0 + 128 | 0; + break label$7; + } + $8 = dlmalloc($8 << 1); + if (!$8) { + break label$3; + } + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($9, $8); + $10 = HEAP32[$0 + 204 >> 2]; + } + std____2__ios_base__getloc_28_29_20const($0 + 104 | 0, $2); + std____2____num_put_char_____widen_and_group_float_28char__2c_20char__2c_20char__2c_20char__2c_20char___2c_20char___2c_20std____2__locale_20const__29($10, $4, $11, $8, $0 + 116 | 0, $0 + 112 | 0, $0 + 104 | 0); + std____2__locale___locale_28_29($0 + 104 | 0); + $2 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____pad_and_output_char_2c_20std____2__char_traits_char___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20char_20const__2c_20char_20const__2c_20char_20const__2c_20std____2__ios_base__2c_20char_29($1, $8, HEAP32[$0 + 116 >> 2], HEAP32[$0 + 112 >> 2], $2, $3); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($9); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($12); + __stack_pointer = $0 + 256 | 0; + return $2; + } + std____throw_bad_alloc_28_29(); + abort(); +} + +function start_pass_main($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0; + $8 = HEAP32[$0 + 448 >> 2]; + label$1: { + switch ($1 | 0) { + case 0: + if (HEAP32[HEAP32[$0 + 476 >> 2] + 8 >> 2]) { + HEAP32[$8 + 4 >> 2] = 180; + $16 = HEAP32[$0 + 36 >> 2]; + if (($16 | 0) > 0) { + $11 = HEAP32[$0 + 328 >> 2]; + $17 = $11 - 2 | 0; + $18 = $11 + 2 | 0; + $12 = HEAP32[$0 + 216 >> 2]; + while (1) { + $5 = $14 << 2; + $1 = HEAP32[$5 + HEAP32[$8 + 64 >> 2] >> 2]; + $0 = HEAP32[HEAP32[$8 + 60 >> 2] + $5 >> 2]; + $5 = HEAP32[($5 + $8 | 0) + 8 >> 2]; + $7 = (Math_imul(HEAP32[$12 + 40 >> 2], HEAP32[$12 + 12 >> 2]) | 0) / ($11 | 0) | 0; + $2 = Math_imul($18, $7); + label$7: { + if (($2 | 0) <= 0) { + break label$7; + } + $13 = $2 & 3; + $9 = 0; + $4 = 0; + if ($2 - 1 >>> 0 >= 3) { + $15 = $2 & -4; + $6 = 0; + while (1) { + $2 = $4 << 2; + $3 = HEAP32[$5 + $2 >> 2]; + HEAP32[$1 + $2 >> 2] = $3; + HEAP32[$0 + $2 >> 2] = $3; + $3 = $2 | 4; + $10 = HEAP32[$3 + $5 >> 2]; + HEAP32[$1 + $3 >> 2] = $10; + HEAP32[$0 + $3 >> 2] = $10; + $3 = $2 | 8; + $10 = HEAP32[$3 + $5 >> 2]; + HEAP32[$1 + $3 >> 2] = $10; + HEAP32[$0 + $3 >> 2] = $10; + $2 = $2 | 12; + $3 = HEAP32[$5 + $2 >> 2]; + HEAP32[$1 + $2 >> 2] = $3; + HEAP32[$0 + $2 >> 2] = $3; + $4 = $4 + 4 | 0; + $6 = $6 + 4 | 0; + if (($15 | 0) != ($6 | 0)) { + continue; + } + break; + } + } + if (!$13) { + break label$7; + } + while (1) { + $2 = $4 << 2; + $3 = HEAP32[$5 + $2 >> 2]; + HEAP32[$1 + $2 >> 2] = $3; + HEAP32[$0 + $2 >> 2] = $3; + $4 = $4 + 1 | 0; + $9 = $9 + 1 | 0; + if (($13 | 0) != ($9 | 0)) { + continue; + } + break; + } + } + label$11: { + if (($7 | 0) <= 0) { + break label$11; + } + $9 = $7 << 1; + $6 = ($9 | 0) > 1 ? $9 : 1; + $15 = $6 & 1; + $2 = Math_imul($7, $17); + $3 = Math_imul($7, $11); + $4 = 0; + if (($9 | 0) >= 2) { + $13 = $6 & 2147483646; + $9 = 0; + while (1) { + $6 = $2 + $4 << 2; + $10 = $3 + $4 << 2; + HEAP32[$6 + $1 >> 2] = HEAP32[$10 + $5 >> 2]; + HEAP32[$1 + $10 >> 2] = HEAP32[$5 + $6 >> 2]; + $6 = $4 | 1; + $10 = $6 + $2 << 2; + $6 = $3 + $6 << 2; + HEAP32[$10 + $1 >> 2] = HEAP32[$6 + $5 >> 2]; + HEAP32[$1 + $6 >> 2] = HEAP32[$5 + $10 >> 2]; + $4 = $4 + 2 | 0; + $9 = $9 + 2 | 0; + if (($13 | 0) != ($9 | 0)) { + continue; + } + break; + } + } + if ($15) { + $2 = $2 + $4 << 2; + $4 = $3 + $4 << 2; + HEAP32[$2 + $1 >> 2] = HEAP32[$5 + $4 >> 2]; + HEAP32[$1 + $4 >> 2] = HEAP32[$2 + $5 >> 2]; + } + $2 = $7 & 3; + $5 = 0; + $1 = 0; + if ($7 - 1 >>> 0 >= 3) { + $3 = $7 & -4; + $4 = 0; + while (1) { + HEAP32[($1 - $7 << 2) + $0 >> 2] = HEAP32[$0 >> 2]; + HEAP32[(($1 | 1) - $7 << 2) + $0 >> 2] = HEAP32[$0 >> 2]; + HEAP32[(($1 | 2) - $7 << 2) + $0 >> 2] = HEAP32[$0 >> 2]; + HEAP32[(($1 | 3) - $7 << 2) + $0 >> 2] = HEAP32[$0 >> 2]; + $1 = $1 + 4 | 0; + $4 = $4 + 4 | 0; + if (($3 | 0) != ($4 | 0)) { + continue; + } + break; + } + } + if (!$2) { + break label$11; + } + while (1) { + HEAP32[($1 - $7 << 2) + $0 >> 2] = HEAP32[$0 >> 2]; + $1 = $1 + 1 | 0; + $5 = $5 + 1 | 0; + if (($5 | 0) != ($2 | 0)) { + continue; + } + break; + } + } + $12 = $12 + 88 | 0; + $14 = $14 + 1 | 0; + if (($16 | 0) != ($14 | 0)) { + continue; + } + break; + } + } + HEAP32[$8 + 76 >> 2] = 0; + HEAP32[$8 + 68 >> 2] = 0; + HEAP32[$8 + 72 >> 2] = 0; + HEAP32[$8 + 56 >> 2] = 0; + return; } + HEAP32[$8 + 4 >> 2] = 181; + HEAP32[$8 + 48 >> 2] = HEAP32[$8 + 52 >> 2]; + return; + + case 2: + HEAP32[$8 + 4 >> 2] = 182; + return; + default: - {} - } - if ((i18 | 0) == 11) { - i18 = 0; - HEAP32[i1 >> 2] = i2 + 1; - } - _update_box(i14, i13); - _update_box(i14, i17); - i12 = i12 + 1 | 0; - } - return i12 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_119parse_dot_star_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i8 = i10 + 12 | 0; - i9 = i10; - if ((((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 100 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 115 : 0) ? (i11 = i1 + 2 | 0, i3 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i11, i2, i4) | 0, (i3 | 0) != (i11 | 0)) : 0) ? (i6 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i3, i2, i4) | 0, (i6 | 0) != (i3 | 0)) : 0) ? (i7 = i4 + 4 | 0, i5 = HEAP32[i7 >> 2] | 0, ((i5 - (HEAP32[i4 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i8, i5 + -24 | 0); - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i11 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i11 * 24 | 0) | 0); - i1 = i11; - } - HEAP32[i7 >> 2] = i2 + -24; - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i9, 49960, i8); - i1 = HEAP8[i9 + 11 >> 0] | 0; - i11 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i7 >> 2] | 0) + -24 | 0, i11 ? HEAP32[i9 >> 2] | 0 : i9, i11 ? HEAP32[i9 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - i1 = i6; - } - STACKTOP = i10; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_114parse_dot_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i8 = i10 + 12 | 0; - i9 = i10; - if ((((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 100 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 116 : 0) ? (i11 = i1 + 2 | 0, i3 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i11, i2, i4) | 0, (i3 | 0) != (i11 | 0)) : 0) ? (i6 = __ZN10__cxxabiv112_GLOBAL__N_121parse_unresolved_nameINS0_2DbEEEPKcS4_S4_RT_(i3, i2, i4) | 0, (i6 | 0) != (i3 | 0)) : 0) ? (i7 = i4 + 4 | 0, i5 = HEAP32[i7 >> 2] | 0, ((i5 - (HEAP32[i4 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i8, i5 + -24 | 0); - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i11 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i11 * 24 | 0) | 0); - i1 = i11; - } - HEAP32[i7 >> 2] = i2 + -24; - __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i9, 49958, i8); - i1 = HEAP8[i9 + 11 >> 0] | 0; - i11 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i7 >> 2] | 0) + -24 | 0, i11 ? HEAP32[i9 >> 2] | 0 : i9, i11 ? HEAP32[i9 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - i1 = i6; - } - STACKTOP = i10; - return i1 | 0; -} - -function _arGetTransMatSquareCont(i2, i3, i4, d5, i6) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - d5 = +d5; - i6 = i6 | 0; - var i1 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, d12 = 0.0, i13 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 192 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(192); - i7 = i11 + 96 | 0; - i8 = i11; - i9 = i11 + 168 | 0; - i10 = i11 + 160 | 0; - do if ((HEAP32[i3 + 12 >> 2] | 0) >= 0) if ((HEAP32[i3 + 8 >> 2] | 0) < 0) { - i1 = i3 + 24 | 0; - break; - } else { - i1 = i3 + 16 | 0; - break; - } else i1 = i3 + 20 | 0; while (0); - i1 = HEAP32[i1 >> 2] | 0; - i13 = (4 - i1 | 0) % 4 | 0; - HEAPF64[i7 >> 3] = +HEAPF64[i3 + 168 + (i13 << 4) >> 3]; - HEAPF64[i7 + 8 >> 3] = +HEAPF64[i3 + 168 + (i13 << 4) + 8 >> 3]; - i13 = (5 - i1 | 0) % 4 | 0; - HEAPF64[i7 + 16 >> 3] = +HEAPF64[i3 + 168 + (i13 << 4) >> 3]; - HEAPF64[i7 + 24 >> 3] = +HEAPF64[i3 + 168 + (i13 << 4) + 8 >> 3]; - i13 = (6 - i1 | 0) % 4 | 0; - HEAPF64[i7 + 32 >> 3] = +HEAPF64[i3 + 168 + (i13 << 4) >> 3]; - HEAPF64[i7 + 40 >> 3] = +HEAPF64[i3 + 168 + (i13 << 4) + 8 >> 3]; - i1 = (7 - i1 | 0) % 4 | 0; - HEAPF64[i7 + 48 >> 3] = +HEAPF64[i3 + 168 + (i1 << 4) >> 3]; - HEAPF64[i7 + 56 >> 3] = +HEAPF64[i3 + 168 + (i1 << 4) + 8 >> 3]; - d12 = d5 * -.5; - HEAPF64[i8 >> 3] = d12; - d5 = d5 * .5; - HEAPF64[i8 + 8 >> 3] = d5; - HEAPF64[i8 + 16 >> 3] = 0.0; - HEAPF64[i8 + 24 >> 3] = d5; - HEAPF64[i8 + 32 >> 3] = d5; - HEAPF64[i8 + 40 >> 3] = 0.0; - HEAPF64[i8 + 48 >> 3] = d5; - HEAPF64[i8 + 56 >> 3] = d12; - HEAPF64[i8 + 64 >> 3] = 0.0; - HEAPF64[i8 + 72 >> 3] = d12; - HEAPF64[i8 + 80 >> 3] = d12; - HEAPF64[i8 + 88 >> 3] = 0.0; - HEAP32[i9 >> 2] = i7; - HEAP32[i9 + 4 >> 2] = i8; - HEAP32[i9 + 8 >> 2] = 4; - i9 = (_icpPoint(HEAP32[i2 >> 2] | 0, i9, i4, i6, i10) | 0) < 0; - STACKTOP = i11; - return +(i9 ? 1.0e8 : +HEAPF64[i10 >> 3]); -} - -function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE11addKeyframeENSt3__210shared_ptrINS_8KeyframeILi96EEEEEi(i1, i6, i2) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i8 + 4 | 0; - i3 = i8; - HEAP32[i3 >> 2] = i2; - i1 = i1 + 72 | 0; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS7_PvEEEERKT_(i1, i3) | 0) { - i8 = ___cxa_allocate_exception(16) | 0; - HEAP32[i7 >> 2] = 0; - HEAP32[i7 + 4 >> 2] = 0; - HEAP32[i7 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i7, 27181, __ZNSt3__211char_traitsIcE6lengthEPKc(27181) | 0); - __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE(i8, i7); - ___cxa_throw(i8 | 0, 11016, 5); - } - i4 = __ZNSt3__213unordered_mapIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEENS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS5_EEEEEixERSC_(i1, i3) | 0; - i5 = HEAP32[i6 >> 2] | 0; - HEAP32[i7 >> 2] = i5; - i3 = i7 + 4 | 0; - i1 = HEAP32[i6 + 4 >> 2] | 0; - HEAP32[i3 >> 2] = i1; - if (!i1) { - i2 = i3; - i1 = 0; - } else { - i2 = i1 + 4 | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 1; - i2 = i3; - i1 = HEAP32[i3 >> 2] | 0; - } - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i5; - i6 = i4 + 4 | 0; - HEAP32[i2 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i6 >> 2] = i1; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev(i7); - STACKTOP = i8; - return; -} - -function _trinkle(i1, i10, i11, i4, i3, i2, i12) { - i1 = i1 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i4 = i4 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - i12 = i12 | 0; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i13 = 0, i14 = 0, i15 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i9 = i14 + 232 | 0; - i13 = i14; - i15 = HEAP32[i4 >> 2] | 0; - HEAP32[i9 >> 2] = i15; - i6 = HEAP32[i4 + 4 >> 2] | 0; - i7 = i9 + 4 | 0; - HEAP32[i7 >> 2] = i6; - HEAP32[i13 >> 2] = i1; - L1 : do if ((i15 | 0) != 1 | (i6 | 0) != 0 ? (i8 = 0 - i10 | 0, i5 = i1 + (0 - (HEAP32[i12 + (i3 << 2) >> 2] | 0)) | 0, (FUNCTION_TABLE_iii[i11 & 63](i5, i1) | 0) >= 1) : 0) { - i4 = 1; - i2 = (i2 | 0) == 0; - i6 = i5; - while (1) { - if (i2 & (i3 | 0) > 1) { - i2 = i1 + i8 | 0; - i5 = HEAP32[i12 + (i3 + -2 << 2) >> 2] | 0; - if ((FUNCTION_TABLE_iii[i11 & 63](i2, i6) | 0) > -1) { - i5 = 10; - break L1; - } - if ((FUNCTION_TABLE_iii[i11 & 63](i2 + (0 - i5) | 0, i6) | 0) > -1) { - i5 = 10; - break L1; - } - } - i2 = i4 + 1 | 0; - HEAP32[i13 + (i4 << 2) >> 2] = i6; - i15 = _pntz(i9) | 0; - _shr(i9, i15); - i3 = i15 + i3 | 0; - if (!((HEAP32[i9 >> 2] | 0) != 1 | (HEAP32[i7 >> 2] | 0) != 0)) { - i4 = i2; - i1 = i6; - i5 = 10; - break L1; - } - i1 = i6 + (0 - (HEAP32[i12 + (i3 << 2) >> 2] | 0)) | 0; - if ((FUNCTION_TABLE_iii[i11 & 63](i1, HEAP32[i13 >> 2] | 0) | 0) < 1) { - i1 = i6; - i4 = i2; - i2 = 0; - i5 = 9; - break; - } else { - i15 = i6; - i4 = i2; - i2 = 1; - i6 = i1; - i1 = i15; + break label$1; + } + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 3; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________vector_28_29($0) { + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________clear_28_29($0); + std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________deallocate_28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20unsigned_20long_29(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________capacity_28_29_20const($0)); + } + return $0; +} + +function vision__VisualDatabaseFacade__addFreakFeaturesAndDescriptors_28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char___20const__2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____20const__2c_20unsigned_20long_2c_20unsigned_20long_2c_20int_29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0; + $8 = __stack_pointer - 32 | 0; + __stack_pointer = $8; + HEAP32[$8 + 28 >> 2] = $6; + $7 = std____2__shared_ptr_vision__Keyframe_96____shared_ptr_vision__Keyframe_96__2c_20void__28vision__Keyframe_96___29($8 + 16 | 0, vision__Keyframe_96___Keyframe_28_29(operator_20new_28unsigned_20long_29(148))); + vision__Keyframe_96___setWidth_28int_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($7), $4); + vision__Keyframe_96___setHeight_28int_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($7), $5); + vision__BinaryFeatureStore__setNumBytesPerFeature_28int_29(vision__Keyframe_96___store_28_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($7)), 96); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____resize_28unsigned_20long_29(vision__BinaryFeatureStore__points_28_29(vision__Keyframe_96___store_28_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($7))), std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($1)); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator__28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__29(vision__BinaryFeatureStore__points_28_29(vision__Keyframe_96___store_28_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($7))), $1); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____resize_28unsigned_20long_29(vision__BinaryFeatureStore__features_28_29(vision__Keyframe_96___store_28_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($7))), std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($2)); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____operator__28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char___20const__29(vision__BinaryFeatureStore__features_28_29(vision__Keyframe_96___store_28_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($7))), $2); + vision__Keyframe_96___buildIndex_28_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($7)); + $1 = std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______operator___28_29_20const(std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____operator___28_29_20const($0)); + $2 = std____2__shared_ptr_vision__Keyframe_96____shared_ptr_28std____2__shared_ptr_vision__Keyframe_96___20const__29($8 + 8 | 0, $7); + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$8 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$8 + 4 >> 2] = $4; + vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____addKeyframe_28std____2__shared_ptr_vision__Keyframe_96___2c_20int_29($1, $8, $6); + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____operator__28std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____20const__29(std____2__unordered_map_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________operator_5b_5d_28int_20const__29(std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____operator___28_29_20const($0) + 4 | 0, $8 + 28 | 0), $3); + std____2__shared_ptr_vision__Keyframe_96_____shared_ptr_28_29($7); + __stack_pointer = $8 + 32 | 0; +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________destruct_at_end_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1) { + var $2 = 0; + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________invalidate_iterators_past_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1); + $2 = std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________size_28_29_20const($0); + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________base_destruct_at_end_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1); + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________annotate_shrink_28unsigned_20long_29_20const($0, $2); +} + +function fmod($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0; + wasm2js_scratch_store_f64(+$1); + $5 = wasm2js_scratch_load_i32(1) | 0; + $12 = wasm2js_scratch_load_i32(0) | 0; + $6 = $12 << 1; + $2 = $12; + $3 = $5 << 1 | $2 >>> 31; + $10 = $3; + label$1: { + $4 = !($3 | $6); + $14 = $5; + $3 = $5; + $2 = $3 & 2147483647; + $5 = $12; + $3 = $5; + if (!($4 | (($2 | 0) == 2146435072 & ($3 | 0) != 0 | $2 >>> 0 > 2146435072))) { + wasm2js_scratch_store_f64(+$0); + $3 = wasm2js_scratch_load_i32(1) | 0; + $15 = wasm2js_scratch_load_i32(0) | 0; + $16 = $3; + $11 = $3 >>> 20 & 2047; + if (($11 | 0) != 2047) { + break label$1; + } + } + $1 = $0 * $1; + return $1 / $1; + } + $3 = $15; + $8 = $3 << 1; + $2 = $16; + $4 = $2 << 1 | $3 >>> 31; + $9 = $4; + $3 = $4; + $4 = $10; + $5 = $8; + $2 = $6; + if (($3 | 0) == ($4 | 0) & $5 >>> 0 <= $2 >>> 0 | $3 >>> 0 < $4 >>> 0) { + $5 = $6; + $3 = $8; + $2 = $10; + $4 = $9; + return ($5 | 0) == ($3 | 0) & ($2 | 0) == ($4 | 0) ? $0 * 0 : $0; + } + $5 = $14; + $13 = $5 >>> 20 & 2047; + label$4: { + if (!$11) { + $11 = 0; + $5 = $15; + $6 = $5 << 12; + $2 = $16; + $3 = $2 << 12 | $5 >>> 20; + $10 = $3; + if (($3 | 0) > 0 | ($3 | 0) >= 0) { + while (1) { + $11 = $11 - 1 | 0; + $4 = $6; + $6 = $4 << 1; + $2 = $10; + $3 = $2 << 1 | $4 >>> 31; + $10 = $3; + if (($3 | 0) > 0 | ($3 | 0) >= 0) { + continue; + } + break; + } } - } - } else { - i4 = 1; - i5 = 9; - } while (0); - if ((i5 | 0) == 9 ? (i2 | 0) == 0 : 0) i5 = 10; - if ((i5 | 0) == 10) { - _cycle(i10, i13, i4); - _sift(i1, i10, i11, i3, i12); - } - STACKTOP = i14; - return; -} - -function __ZN6vision39HomographyPointsGeometricallyConsistentIfEEbPKT_S3_i(i8, i9, i10) { - i8 = i8 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i3 = i14 + 32 | 0; - i2 = i14 + 24 | 0; - i1 = i14 + 16 | 0; - i11 = i14 + 8 | 0; - i12 = i14; - L1 : do if ((i10 | 0) >= 2) { - i13 = i9 + 8 | 0; - i4 = i9 + 16 | 0; - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_(i3, i8, i9); - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_(i2, i8, i13); - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_(i1, i8, i4); - __ZN6vision11CopyVector2IfEEvPT_PKS1_(i11, i3); - __ZN6vision11CopyVector2IfEEvPT_PKS1_(i12, i2); - if (__ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_(i9, i13, i4, i3, i2, i1) | 0) { - i7 = 3; - i6 = i3; - i3 = i13; - i5 = i9; - while (1) { - if ((i7 | 0) >= (i10 | 0)) break; - i5 = i5 + 8 | 0; - i3 = i3 + 8 | 0; - i4 = i4 + 8 | 0; - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_(i6, i8, i4); - if (!(__ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_(i5, i3, i4, i2, i1, i6) | 0)) { - i1 = 0; - break L1; - } else { - i15 = i6; - i7 = i7 + 1 | 0; - i6 = i2; - i2 = i1; - i1 = i15; - } - } - if (__ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_(i3, i4, i9, i2, i1, i11) | 0) i1 = __ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_(i4, i9, i13, i1, i11, i12) | 0; else i1 = 0; - } else i1 = 0; - } else i1 = 1; while (0); - STACKTOP = i14; - return i1 | 0; -} - -function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE6assignIPS3_EENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIS3_NS_15iterator_traitsISA_E9referenceEEE5valueEvE4typeESA_SA_(i7, i8, i9) { - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i10 = 0; - i1 = i8; - i10 = (i9 - i1 | 0) / 12 | 0; - i2 = i7 + 8 | 0; - i6 = HEAP32[i7 >> 2] | 0; - i5 = i6; - do if (i10 >>> 0 > (((HEAP32[i2 >> 2] | 0) - i6 | 0) / 12 | 0) >>> 0) { - __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE10deallocateEv(i7); - i1 = __ZNKSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8max_sizeEv(i7) | 0; - if (i1 >>> 0 < i10 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i7); else { - i5 = ((HEAP32[i2 >> 2] | 0) - (HEAP32[i7 >> 2] | 0) | 0) / 12 | 0; - i6 = i5 << 1; - __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8allocateEm(i7, i5 >>> 0 < i1 >>> 1 >>> 0 ? (i6 >>> 0 < i10 >>> 0 ? i10 : i6) : i1); - __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m(i7, i8, i9, i10); - break; - } - } else { - i2 = i7 + 4 | 0; - i4 = ((HEAP32[i2 >> 2] | 0) - i6 | 0) / 12 | 0; - i3 = i10 >>> 0 > i4 >>> 0; - i4 = i3 ? i8 + (i4 * 12 | 0) | 0 : i9; - i1 = i4 - i1 | 0; - if (i1 | 0) _memmove(i6 | 0, i8 | 0, i1 | 0) | 0; - if (i3) { - __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m(i7, i4, i9, i10 - (((HEAP32[i2 >> 2] | 0) - (HEAP32[i7 >> 2] | 0) | 0) / 12 | 0) | 0); - break; - } else { - HEAP32[i2 >> 2] = i5 + (((i1 | 0) / 12 | 0) * 12 | 0); - break; - } - } while (0); - return; -} - -function _format_message(i1, i5) { - i1 = i1 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i7 = i8 + 8 | 0; - i6 = i8; - i4 = HEAP32[i1 >> 2] | 0; - i3 = HEAP32[i4 + 20 >> 2] | 0; - if ((i3 | 0) > 0 ? (i3 | 0) <= (HEAP32[i4 + 116 >> 2] | 0) : 0) { - i1 = (HEAP32[i4 + 112 >> 2] | 0) + (i3 << 2) | 0; - i2 = 8; - } else { - i1 = HEAP32[i4 + 120 >> 2] | 0; - if (((i1 | 0) != 0 ? (i2 = HEAP32[i4 + 124 >> 2] | 0, (i3 | 0) >= (i2 | 0)) : 0) ? (i3 | 0) <= (HEAP32[i4 + 128 >> 2] | 0) : 0) { - i1 = i1 + (i3 - i2 << 2) | 0; - i2 = 8; - } else i2 = 9; - } - if ((i2 | 0) == 8) { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) i2 = 9; - } - if ((i2 | 0) == 9) { - HEAP32[i4 + 24 >> 2] = i3; - i1 = HEAP32[HEAP32[i4 + 112 >> 2] >> 2] | 0; - } - i2 = i1; - L14 : while (1) { - i3 = i2 + 1 | 0; - switch (HEAP8[i2 >> 0] | 0) { - case 0: - { - i2 = 14; - break L14; + $2 = $16; + $5 = $15; + $4 = 1 - $11 | 0; + $7 = $4 & 31; + if (($4 & 63) >>> 0 >= 32) { + $3 = $5 << $7; + $6 = 0; + } else { + $3 = (1 << $7) - 1 & $5 >>> 32 - $7 | $2 << $7; + $6 = $5 << $7; + } + $2 = $3; + break label$4; + } + $3 = $16; + $5 = $3 & 1048575; + $2 = $15; + $3 = $2; + $6 = $3; + $2 = $5 | 1048576; + } + $10 = $2; + label$8: { + if (!$13) { + $13 = 0; + $5 = $12; + $8 = $5 << 12; + $2 = $14; + $3 = $2 << 12 | $5 >>> 20; + $9 = $3; + if (($3 | 0) > 0 | ($3 | 0) >= 0) { + while (1) { + $13 = $13 - 1 | 0; + $4 = $8; + $8 = $4 << 1; + $2 = $9; + $3 = $2 << 1 | $4 >>> 31; + $9 = $3; + if (($3 | 0) > 0 | ($3 | 0) >= 0) { + continue; + } + break; + } } - case 37: - { - i2 = 12; - break L14; + $2 = $14; + $5 = $12; + $4 = 1 - $13 | 0; + $7 = $4 & 31; + if (($4 & 63) >>> 0 >= 32) { + $3 = $5 << $7; + $12 = 0; + } else { + $3 = (1 << $7) - 1 & $5 >>> 32 - $7 | $2 << $7; + $12 = $5 << $7; } - default: - i2 = i3; - } - } - if ((i2 | 0) == 12) if ((HEAP8[i3 >> 0] | 0) == 115) { - HEAP32[i6 >> 2] = i4 + 24; - _sprintf(i5, i1, i6) | 0; - } else i2 = 14; - if ((i2 | 0) == 14) { - i12 = HEAP32[i4 + 28 >> 2] | 0; - i11 = HEAP32[i4 + 32 >> 2] | 0; - i10 = HEAP32[i4 + 36 >> 2] | 0; - i9 = HEAP32[i4 + 40 >> 2] | 0; - i2 = HEAP32[i4 + 44 >> 2] | 0; - i3 = HEAP32[i4 + 48 >> 2] | 0; - i6 = HEAP32[i4 + 52 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 + 24 >> 2]; - HEAP32[i7 + 4 >> 2] = i12; - HEAP32[i7 + 8 >> 2] = i11; - HEAP32[i7 + 12 >> 2] = i10; - HEAP32[i7 + 16 >> 2] = i9; - HEAP32[i7 + 20 >> 2] = i2; - HEAP32[i7 + 24 >> 2] = i3; - HEAP32[i7 + 28 >> 2] = i6; - _sprintf(i5, i1, i7) | 0; - } - STACKTOP = i8; - return; -} - -function ___stdio_write(i7, i2, i1) { - i7 = i7 | 0; - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i10 = i12 + 32 | 0; - i5 = i12 + 16 | 0; - i4 = i12; - i8 = i7 + 28 | 0; - i3 = HEAP32[i8 >> 2] | 0; - HEAP32[i4 >> 2] = i3; - i9 = i7 + 20 | 0; - i3 = (HEAP32[i9 >> 2] | 0) - i3 | 0; - HEAP32[i4 + 4 >> 2] = i3; - HEAP32[i4 + 8 >> 2] = i2; - HEAP32[i4 + 12 >> 2] = i1; - i3 = i3 + i1 | 0; - i6 = i7 + 60 | 0; - HEAP32[i5 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i5 + 4 >> 2] = i4; - HEAP32[i5 + 8 >> 2] = 2; - i5 = ___syscall_ret(___syscall146(146, i5 | 0) | 0) | 0; - L1 : do if ((i3 | 0) != (i5 | 0)) { - i2 = 2; + $2 = $3; + break label$8; + } + $3 = $14; + $5 = $3 & 1048575; + $2 = $12; + $3 = $2; + $12 = $3; + $2 = $5 | 1048576; + } + $14 = $2; + if (($11 | 0) > ($13 | 0)) { while (1) { - if ((i5 | 0) < 0) break; - i3 = i3 - i5 | 0; - i14 = HEAP32[i4 + 4 >> 2] | 0; - i13 = i5 >>> 0 > i14 >>> 0; - i4 = i13 ? i4 + 8 | 0 : i4; - i2 = i2 + (i13 << 31 >> 31) | 0; - i14 = i5 - (i13 ? i14 : 0) | 0; - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + i14; - i13 = i4 + 4 | 0; - HEAP32[i13 >> 2] = (HEAP32[i13 >> 2] | 0) - i14; - HEAP32[i10 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i10 + 4 >> 2] = i4; - HEAP32[i10 + 8 >> 2] = i2; - i5 = ___syscall_ret(___syscall146(146, i10 | 0) | 0) | 0; - if ((i3 | 0) == (i5 | 0)) { - i11 = 3; - break L1; - } - } - HEAP32[i7 + 16 >> 2] = 0; - HEAP32[i8 >> 2] = 0; - HEAP32[i9 >> 2] = 0; - HEAP32[i7 >> 2] = HEAP32[i7 >> 2] | 32; - if ((i2 | 0) == 2) i1 = 0; else i1 = i1 - (HEAP32[i4 + 4 >> 2] | 0) | 0; - } else i11 = 3; while (0); - if ((i11 | 0) == 3) { - i14 = HEAP32[i7 + 44 >> 2] | 0; - HEAP32[i7 + 16 >> 2] = i14 + (HEAP32[i7 + 48 >> 2] | 0); - HEAP32[i8 >> 2] = i14; - HEAP32[i9 >> 2] = i14; - } - STACKTOP = i12; - return i1 | 0; -} - -function __ZN6vision27OrthogonalizePivot8x9Basis2IfEEbPT_S2_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i6 = i5; - i3 = i1 + 72 | 0; - i12 = i1 + 36 | 0; - i4 = i2 + 72 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i3, i12, i4); - i11 = i1 + 108 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i11, i12, i2 + 108 | 0); - i10 = i1 + 144 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i10, i12, i2 + 144 | 0); - i9 = i1 + 180 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i9, i12, i2 + 180 | 0); - i8 = i1 + 216 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i8, i12, i2 + 216 | 0); - i1 = i1 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i1, i12, i2 + 252 | 0); - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i3); - HEAPF32[i6 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i11); - HEAPF32[i6 + 4 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i10); - HEAPF32[i6 + 8 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i9); - HEAPF32[i6 + 12 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i8); - HEAPF32[i6 + 16 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i1); - HEAPF32[i6 + 20 >> 2] = d7; - i1 = __ZN6vision9MaxIndex6IfEEiPKT_(i6) | 0; - i2 = i6 + (i1 << 2) | 0; - if (+HEAPF32[i2 >> 2] == 0.0) i1 = 0; else { - i1 = i1 * 9 | 0; - __ZN6vision5Swap9IfEEvPT_S2_(i3, i3 + (i1 << 2) | 0); - __ZN6vision5Swap9IfEEvPT_S2_(i4, i4 + (i1 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_(i3, i3, 1.0 / +Math_sqrt(+(+HEAPF32[i2 >> 2]))); - i1 = 1; - } - STACKTOP = i5; - return i1 | 0; -} - -function __ZNSt3__2L11init_wweeksEv() { - var i1 = 0, i2 = 0; - if ((HEAP8[55656] | 0) == 0 ? ___cxa_guard_acquire(55656) | 0 : 0) { - i2 = 55056; - do { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i2 = i2 + 12 | 0; - } while ((i2 | 0) != 55224); - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55056, 15896) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55068, 15924) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55080, 15952) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55092, 15984) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55104, 16024) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55116, 16060) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55128, 16088) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55140, 16124) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55152, 16140) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55164, 16156) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55176, 16172) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55188, 16188) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55200, 16204) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(55212, 16220) | 0; - return; -} - -function __ZNSt3__2L10init_weeksEv() { - var i1 = 0, i2 = 0; - if ((HEAP8[55576] | 0) == 0 ? ___cxa_guard_acquire(55576) | 0 : 0) { - i2 = 54304; - do { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i2 = i2 + 12 | 0; - } while ((i2 | 0) != 54472); - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54304, 47408) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54316, 47415) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54328, 47422) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54340, 47430) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54352, 47440) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54364, 47449) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54376, 47456) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54388, 47465) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54400, 47469) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54412, 47473) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54424, 47477) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54436, 47481) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54448, 47485) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(54460, 47489) | 0; - return; -} - -function _jinit_2pass_quantizer(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0; - i5 = i4 + 4 | 0; - i3 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i5 >> 2] >> 2] & 63](i4, 1, 44) | 0; - HEAP32[i4 + 460 >> 2] = i3; - HEAP32[i3 >> 2] = 43; - HEAP32[i3 + 12 >> 2] = 124; - i6 = i3 + 32 | 0; - HEAP32[i6 >> 2] = 0; - HEAP32[i3 + 40 >> 2] = 0; - if ((HEAP32[i4 + 120 >> 2] | 0) != 3) { - i2 = HEAP32[i4 >> 2] | 0; - HEAP32[i2 + 20 >> 2] = 47; - FUNCTION_TABLE_vi[HEAP32[i2 >> 2] & 255](i4); - } - i1 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i5 >> 2] >> 2] & 63](i4, 1, 128) | 0; - i2 = i3 + 24 | 0; - HEAP32[i2 >> 2] = i1; - i1 = 0; - while (1) { - if ((i1 | 0) == 32) break; - i7 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i5 >> 2] | 0) + 4 >> 2] & 63](i4, 1, 4096) | 0; - HEAP32[(HEAP32[i2 >> 2] | 0) + (i1 << 2) >> 2] = i7; - i1 = i1 + 1 | 0; - } - HEAP32[i3 + 28 >> 2] = 1; - if (!(HEAP32[i4 + 108 >> 2] | 0)) HEAP32[i3 + 16 >> 2] = 0; else { - i1 = HEAP32[i4 + 96 >> 2] | 0; - if ((i1 | 0) >= 8) { - if ((i1 | 0) > 256) { - i7 = HEAP32[i4 >> 2] | 0; - HEAP32[i7 + 20 >> 2] = 57; - HEAP32[i7 + 24 >> 2] = 256; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i4 >> 2] >> 2] & 255](i4); + $5 = $6; + $4 = $12; + $7 = $5 - $4 | 0; + $8 = $7; + $2 = $10; + $3 = $14; + $9 = $3 + ($5 >>> 0 < $4 >>> 0) | 0; + $9 = $2 - $9 | 0; + label$14: { + if (($9 | 0) < 0) { + break label$14; + } + $6 = $8; + $4 = $6; + $2 = $9; + $10 = $2; + if ($4 | $2) { + break label$14; + } + return $0 * 0; + } + $5 = $6; + $6 = $5 << 1; + $4 = $10; + $2 = $4 << 1 | $5 >>> 31; + $10 = $2; + $11 = $11 - 1 | 0; + if (($13 | 0) < ($11 | 0)) { + continue; } - } else { - i7 = HEAP32[i4 >> 2] | 0; - HEAP32[i7 + 20 >> 2] = 56; - HEAP32[i7 + 24 >> 2] = 8; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i4 >> 2] >> 2] & 255](i4); - } - i7 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i5 >> 2] | 0) + 8 >> 2] & 15](i4, 1, i1, 3) | 0; - HEAP32[i3 + 16 >> 2] = i7; - HEAP32[i3 + 20 >> 2] = i1; - } - i1 = i4 + 88 | 0; - if (HEAP32[i1 >> 2] | 0) { - HEAP32[i1 >> 2] = 2; - i7 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i5 >> 2] | 0) + 4 >> 2] & 63](i4, 1, ((HEAP32[i4 + 112 >> 2] | 0) * 6 | 0) + 12 | 0) | 0; - HEAP32[i6 >> 2] = i7; - _init_error_limit(i4); - } - return; -} - -function __ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(i2, i4, i7, i1, i3) { - i2 = i2 | 0; - i4 = i4 | 0; - i7 = i7 | 0; - i1 = i1 | 0; - i3 = i3 | 0; - var i5 = 0, i6 = 0, i8 = 0; - do if (!(__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i2, HEAP32[i4 + 8 >> 2] | 0, i3) | 0)) { - if (!(__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i2, HEAP32[i4 >> 2] | 0, i3) | 0)) { - i6 = HEAP32[i2 + 8 >> 2] | 0; - FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 24 >> 2] & 31](i6, i4, i7, i1, i3); break; } - if ((HEAP32[i4 + 16 >> 2] | 0) != (i7 | 0) ? (i5 = i4 + 20 | 0, (HEAP32[i5 >> 2] | 0) != (i7 | 0)) : 0) { - HEAP32[i4 + 32 >> 2] = i1; - i6 = i4 + 44 | 0; - if ((HEAP32[i6 >> 2] | 0) == 4) break; - i1 = i4 + 52 | 0; - HEAP8[i1 >> 0] = 0; - i8 = i4 + 53 | 0; - HEAP8[i8 >> 0] = 0; - i2 = HEAP32[i2 + 8 >> 2] | 0; - FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 7](i2, i4, i7, i7, 1, i3); - if (HEAP8[i8 >> 0] | 0) if (!(HEAP8[i1 >> 0] | 0)) { - i1 = 1; - i2 = 11; - } else i2 = 15; else { - i1 = 0; - i2 = 11; - } - do if ((i2 | 0) == 11) { - HEAP32[i5 >> 2] = i7; - i8 = i4 + 40 | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + 1; - if ((HEAP32[i4 + 36 >> 2] | 0) == 1 ? (HEAP32[i4 + 24 >> 2] | 0) == 2 : 0) { - HEAP8[i4 + 54 >> 0] = 1; - if (i1) { - i2 = 15; - break; - } else { - i1 = 4; - break; - } - } - if (i1) i2 = 15; else i1 = 4; - } while (0); - if ((i2 | 0) == 15) i1 = 3; - HEAP32[i6 >> 2] = i1; - break; + $11 = $13; + } + $2 = $10; + $5 = $14; + $7 = $5 + ($6 >>> 0 < $12 >>> 0) | 0; + $7 = $2 - $7 | 0; + $9 = $7; + $4 = $6; + $3 = $4 - $12 | 0; + $8 = $3; + label$15: { + if (($7 | 0) < 0) { + break label$15; } - if ((i1 | 0) == 1) HEAP32[i4 + 32 >> 2] = 1; - } else __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0, i4, i7, i1); while (0); - return; -} - -function _icpGetJ_T_S(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0; - i1 = i2 + 64 | 0; - i3 = i2; - i4 = i3 + 64 | 0; - do { - HEAP32[i3 >> 2] = 0; - i3 = i3 + 4 | 0; - } while ((i3 | 0) < (i4 | 0)); - HEAPF64[i1 >> 3] = -1.0; - i1 = i2 + 72 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP32[i1 + 16 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - HEAP32[i1 + 24 >> 2] = 0; - HEAP32[i1 + 28 >> 2] = 0; - HEAPF64[i2 + 104 >> 3] = 1.0; - i1 = i2 + 160 | 0; - i3 = i2 + 112 | 0; - i4 = i3 + 48 | 0; - do { - HEAP32[i3 >> 2] = 0; - i3 = i3 + 4 | 0; - } while ((i3 | 0) < (i4 | 0)); - HEAPF64[i1 >> 3] = 1.0; - i1 = i2 + 240 | 0; - i3 = i2 + 168 | 0; - i4 = i3 + 72 | 0; - do { - HEAP32[i3 >> 2] = 0; - i3 = i3 + 4 | 0; - } while ((i3 | 0) < (i4 | 0)); - HEAPF64[i1 >> 3] = -1.0; - i1 = i2 + 296 | 0; - i3 = i2 + 248 | 0; - i4 = i3 + 48 | 0; - do { - HEAP32[i3 >> 2] = 0; - i3 = i3 + 4 | 0; - } while ((i3 | 0) < (i4 | 0)); - HEAPF64[i1 >> 3] = -1.0; - i1 = i2 + 304 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP32[i1 + 16 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - HEAP32[i1 + 24 >> 2] = 0; - HEAP32[i1 + 28 >> 2] = 0; - HEAPF64[i2 + 336 >> 3] = 1.0; - i1 = i2 + 456 | 0; - i3 = i2 + 344 | 0; - i4 = i3 + 112 | 0; - do { - HEAP32[i3 >> 2] = 0; - i3 = i3 + 4 | 0; - } while ((i3 | 0) < (i4 | 0)); - HEAPF64[i1 >> 3] = 1.0; - i1 = i2 + 512 | 0; - i3 = i2 + 464 | 0; - i4 = i3 + 48 | 0; - do { - HEAP32[i3 >> 2] = 0; - i3 = i3 + 4 | 0; - } while ((i3 | 0) < (i4 | 0)); - HEAPF64[i1 >> 3] = 1.0; - i1 = i2 + 568 | 0; - i3 = i2 + 520 | 0; - i4 = i3 + 48 | 0; - do { - HEAP32[i3 >> 2] = 0; - i3 = i3 + 4 | 0; - } while ((i3 | 0) < (i4 | 0)); - HEAPF64[i1 >> 3] = 1.0; - return; -} - -function __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i10, i7, i11, i2, i3, i8) { - i10 = i10 | 0; - i7 = i7 | 0; - i11 = i11 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i8 = i8 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0, i9 = 0, i12 = 0, i13 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i12; - i1 = HEAP32[i10 >> 2] | 0; - L1 : do if (!i1) i1 = 0; else { - i13 = i7; - i4 = i2 - i13 >> 2; - i6 = i3 + 12 | 0; - i3 = HEAP32[i6 >> 2] | 0; - i3 = (i3 | 0) > (i4 | 0) ? i3 - i4 | 0 : 0; - i4 = i11; - i13 = i4 - i13 | 0; - i5 = i13 >> 2; - if ((i13 | 0) > 0 ? (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 63](i1, i7, i5) | 0) != (i5 | 0) : 0) { - HEAP32[i10 >> 2] = 0; - i1 = 0; - break; + $6 = $8; + $2 = $9; + $10 = $2; + if ($6 | $2) { + break label$15; } - do if ((i3 | 0) > 0) { - HEAP32[i9 >> 2] = 0; - HEAP32[i9 + 4 >> 2] = 0; - HEAP32[i9 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw(i9, i3, i8); - if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 63](i1, (HEAP8[i9 + 8 + 3 >> 0] | 0) < 0 ? HEAP32[i9 >> 2] | 0 : i9, i3) | 0) == (i3 | 0)) { - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i9); - break; - } else { - HEAP32[i10 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i9); - i1 = 0; - break L1; - } - } while (0); - i13 = i2 - i4 | 0; - i2 = i13 >> 2; - if ((i13 | 0) > 0 ? (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 63](i1, i11, i2) | 0) != (i2 | 0) : 0) { - HEAP32[i10 >> 2] = 0; - i1 = 0; - break; + return $0 * 0; + } + label$16: { + if ($10 >>> 0 > 1048575) { + $8 = $6; + $4 = $10; + $9 = $4; + break label$16; } - HEAP32[i6 >> 2] = 0; - } while (0); - STACKTOP = i12; - return i1 | 0; -} - -function _mbsnrtowcs(i2, i10, i6, i1, i9) { - i2 = i2 | 0; - i10 = i10 | 0; - i6 = i6 | 0; - i1 = i1 | 0; - i9 = i9 | 0; - var i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i11 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 1040 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(1040); - i8 = i13; - i11 = i13 + 1024 | 0; - i7 = HEAP32[i10 >> 2] | 0; - HEAP32[i11 >> 2] = i7; - i12 = (i2 | 0) != 0; - i4 = i12 ? i1 : 256; - i5 = i12 ? i2 : i8; - i3 = i7; - L1 : do if ((i4 | 0) != 0 & (i7 | 0) != 0) { - i1 = 0; - i7 = i5; while (1) { - i2 = i6 >>> 2; - i5 = i2 >>> 0 >= i4 >>> 0; - if (!(i6 >>> 0 > 131 | i5)) { - i5 = i7; - break L1; - } - i2 = i5 ? i4 : i2; - i6 = i6 - i2 | 0; - i2 = _mbsrtowcs(i7, i11, i2, i9) | 0; - if ((i2 | 0) == -1) break; - i5 = (i7 | 0) == (i8 | 0); - i4 = i4 - (i5 ? 0 : i2) | 0; - i5 = i5 ? i7 : i7 + (i2 << 2) | 0; - i1 = i2 + i1 | 0; - i3 = HEAP32[i11 >> 2] | 0; - if ((i4 | 0) != 0 & (i3 | 0) != 0) i7 = i5; else break L1; - } - i1 = -1; - i5 = i7; - i4 = 0; - i3 = HEAP32[i11 >> 2] | 0; - } else i1 = 0; while (0); - L9 : do if ((i3 | 0) != 0 ? (i4 | 0) != 0 & (i6 | 0) != 0 : 0) { - while (1) { - i2 = _mbrtowc(i5, i3, i6, i9) | 0; - if ((i2 + 2 | 0) >>> 0 < 3) break; - i3 = (HEAP32[i11 >> 2] | 0) + i2 | 0; - HEAP32[i11 >> 2] = i3; - i6 = i6 - i2 | 0; - i4 = i4 + -1 | 0; - i1 = i1 + 1 | 0; - if (!((i4 | 0) != 0 & (i6 | 0) != 0)) break L9; else i5 = i5 + 4 | 0; - } - switch (i2 | 0) { - case -1: - { - i1 = i2; - break L9; - } - case 0: - { - HEAP32[i11 >> 2] = 0; - break L9; - } - default: - { - HEAP32[i9 >> 2] = 0; - break L9; - } - } - } while (0); - if (i12) HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - STACKTOP = i13; - return i1 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i8) { - i8 = i8 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0; - i6 = i8 + 11 | 0; - i2 = HEAP8[i6 >> 0] | 0; - i3 = i2 << 24 >> 24 < 0; - if (i3) { - i9 = HEAP32[i8 + 4 >> 2] | 0; - i4 = (HEAP32[i8 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - i9 = i2 & 255; - i4 = 10; - } - i1 = i9 >>> 0 < 11; - i7 = i1 ? 10 : (i9 + 16 & -16) + -1 | 0; - L5 : do if ((i7 | 0) != (i4 | 0)) { - do if (i1) { - i1 = HEAP32[i8 >> 2] | 0; - if (i3) { - i4 = 0; - i2 = i1; - i3 = i8; - i5 = 12; - } else { - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i8, i1, (i2 & 255) + 1 | 0) | 0; - __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE10deallocateEPcm(i1); - i5 = 15; - } - } else { - i2 = i7 + 1 | 0; - i3 = __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE8allocateEm(i2) | 0; - if (i7 >>> 0 <= i4 >>> 0 & (i3 | 0) == 0) break L5; - i1 = HEAP8[i6 >> 0] | 0; - if (i1 << 24 >> 24 < 0) { - i4 = 1; - i2 = HEAP32[i8 >> 2] | 0; - i5 = 12; - break; - } else { - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i3, i8, (i1 & 255) + 1 | 0) | 0; - i1 = i8 + 4 | 0; - i5 = 14; - break; + $11 = $11 - 1 | 0; + $4 = $10; + $13 = $4 >>> 0 < 524288; + $2 = $6; + $8 = $2 << 1; + $4 = $4 << 1 | $2 >>> 31; + $9 = $4; + $6 = $8; + $10 = $4; + if ($13) { + continue; } - } while (0); - if ((i5 | 0) == 12) { - i1 = i8 + 4 | 0; - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i3, i2, (HEAP32[i1 >> 2] | 0) + 1 | 0) | 0; - __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE10deallocateEPcm(i2); - if (i4) { - i2 = i7 + 1 | 0; - i5 = 14; - } else i5 = 15; - } - if ((i5 | 0) == 14) { - HEAP32[i8 + 8 >> 2] = i2 | -2147483648; - HEAP32[i1 >> 2] = i9; - HEAP32[i8 >> 2] = i3; - break; - } else if ((i5 | 0) == 15) { - HEAP8[i6 >> 0] = i9; break; } - } while (0); - return; -} - -function __ZNK6vision21HoughSimilarityVoting14getBinDistanceERfS1_S1_S1_ffffffff(i1, i2, i7, i8, i9, d10, d11, d12, d13, d14, d3, d4, d5) { - i1 = i1 | 0; - i2 = i2 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - d10 = +d10; - d11 = +d11; - d12 = +d12; - d13 = +d13; - d14 = +d14; - d3 = +d3; - d4 = +d4; - d5 = +d5; - var i6 = 0, i15 = 0; - i15 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i15; - d14 = +Math_abs(+(d10 - d14)); - HEAPF32[i2 >> 2] = d14; - d14 = +Math_abs(+(d11 - d3)); - HEAPF32[i7 >> 2] = d14; - d14 = +Math_abs(+(d13 - d5)); - HEAPF32[i9 >> 2] = d14; - d14 = +Math_abs(+(d12 - d4)); - d14 = +__ZN6vision4min2IfEET_S1_S1_(d14, +(HEAP32[i1 + 60 >> 2] | 0) - d14); - HEAPF32[i8 >> 2] = d14; - if (!(d14 >= 0.0)) { - i15 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 30211) | 0, 30431) | 0, 33528) | 0, 333) | 0, 33535) | 0, 30252) | 0; - __ZNKSt3__28ios_base6getlocEv(i6, i15 + (HEAP32[(HEAP32[i15 >> 2] | 0) + -12 >> 2] | 0) | 0); - i9 = __ZNKSt3__26locale9use_facetERNS0_2idE(i6, 57916) | 0; - i9 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i9 >> 2] | 0) + 28 >> 2] & 63](i9, 10) | 0; - __ZNSt3__26localeD2Ev(i6); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i15, i9) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i15) | 0; - _abort(); + } + $4 = $16; + $2 = $4 & -2147483648; + $6 = 0; + $10 = $2; + if (($11 | 0) > 0) { + $2 = $9; + $3 = 1048576; + $3 = $2 - $3 | 0; + $5 = $3; + $4 = $8; + $3 = $4; + $8 = $3 | 0; + $2 = $11; + $4 = $2 << 20; + $2 = $4; + $4 = $5; + $2 = $2 | $4; + $3 = $2; } else { - STACKTOP = i15; - return; + $2 = $9; + $4 = $8; + $3 = 0; + $9 = 1 - $11 | 0; + $7 = $9 & 31; + if (($9 & 63) >>> 0 >= 32) { + $8 = $2 >>> $7 | 0; + } else { + $3 = $2 >>> $7 | 0; + $8 = ((1 << $7) - 1 & $2) << 32 - $7 | $4 >>> $7; + } + } + $9 = $3; + $2 = $6; + wasm2js_scratch_store_i32(0, $2 | $8); + $3 = $10; + $4 = $9; + $4 = $3 | $4; + wasm2js_scratch_store_i32(1, $4 | 0); + return +wasm2js_scratch_load_f64(); +} + +function vision__ComputeSubpixelDerivatives_28float__2c_20float__2c_20float__2c_20float__2c_20float__2c_20vision__Image_20const__2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = Math_fround(0), $9 = 0, $10 = 0, $11 = 0; + label$1: { + label$2: { + if (($6 | 0) <= 0) { + break label$2; + } + if (vision__Image__width_28_29_20const($5) >>> 0 <= $6 + 1 >>> 0) { + break label$2; + } + if (($7 | 0) <= 0) { + break label$1; + } + $9 = $7 + 1 | 0; + if (vision__Image__height_28_29_20const($5) >>> 0 <= $9 >>> 0) { + break label$1; + } + $11 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($5, $7 - 1 | 0); + $7 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($5, $7); + $9 = float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($5, $9); + $6 = $6 << 2; + $5 = $7 + $6 | 0; + $10 = $5 - 4 | 0; + HEAPF32[$0 >> 2] = Math_fround(HEAPF32[$5 + 4 >> 2] - HEAPF32[$10 >> 2]) * Math_fround(.5); + $7 = $6 + $9 | 0; + $6 = $6 + $11 | 0; + HEAPF32[$1 >> 2] = Math_fround(HEAPF32[$7 >> 2] - HEAPF32[$6 >> 2]) * Math_fround(.5); + $8 = HEAPF32[$5 >> 2]; + HEAPF32[$2 >> 2] = Math_fround(HEAPF32[$10 >> 2] - Math_fround($8 + $8)) + HEAPF32[$5 + 4 >> 2]; + $8 = HEAPF32[$5 >> 2]; + HEAPF32[$3 >> 2] = Math_fround(HEAPF32[$6 >> 2] - Math_fround($8 + $8)) + HEAPF32[$7 >> 2]; + HEAPF32[$4 >> 2] = Math_fround(Math_fround(HEAPF32[$6 - 4 >> 2] + HEAPF32[$7 + 4 >> 2]) - Math_fround(HEAPF32[$6 + 4 >> 2] + HEAPF32[$7 - 4 >> 2])) * Math_fround(.25); + return; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24239), 22456), 3289), 284), 3786), 23563), 16); + abort(); + abort(); } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24332), 22456), 3289), 285), 3786), 23743), 16); + abort(); + abort(); } -function ___vfprintf_internal(i17, i8, i1, i10, i11) { - i17 = i17 | 0; - i8 = i8 | 0; - i1 = i1 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i18 = 0; - i18 = STACKTOP; - STACKTOP = STACKTOP + 224 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(224); - i13 = i18 + 208 | 0; - i14 = i18 + 160 | 0; - i15 = i18 + 80 | 0; - i16 = i18; - i2 = i14; - i3 = i2 + 40 | 0; - do { - HEAP32[i2 >> 2] = 0; - i2 = i2 + 4 | 0; - } while ((i2 | 0) < (i3 | 0)); - HEAP32[i13 >> 2] = HEAP32[i1 >> 2]; - if ((_printf_core(0, i8, i13, i15, i14, i10, i11) | 0) < 0) i1 = -1; else { - if ((HEAP32[i17 + 76 >> 2] | 0) > -1) i12 = ___lockfile(i17) | 0; else i12 = 0; - i1 = HEAP32[i17 >> 2] | 0; - i9 = i1 & 32; - if ((HEAP8[i17 + 74 >> 0] | 0) < 1) HEAP32[i17 >> 2] = i1 & -33; - i2 = i17 + 48 | 0; - if (!(HEAP32[i2 >> 2] | 0)) { - i3 = i17 + 44 | 0; - i4 = HEAP32[i3 >> 2] | 0; - HEAP32[i3 >> 2] = i16; - i5 = i17 + 28 | 0; - HEAP32[i5 >> 2] = i16; - i6 = i17 + 20 | 0; - HEAP32[i6 >> 2] = i16; - HEAP32[i2 >> 2] = 80; - i7 = i17 + 16 | 0; - HEAP32[i7 >> 2] = i16 + 80; - i1 = _printf_core(i17, i8, i13, i15, i14, i10, i11) | 0; - if (i4) { - FUNCTION_TABLE_iiii[HEAP32[i17 + 36 >> 2] & 63](i17, 0, 0) | 0; - i1 = (HEAP32[i6 >> 2] | 0) == 0 ? -1 : i1; - HEAP32[i3 >> 2] = i4; - HEAP32[i2 >> 2] = 0; - HEAP32[i7 >> 2] = 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i6 >> 2] = 0; - } - } else i1 = _printf_core(i17, i8, i13, i15, i14, i10, i11) | 0; - i2 = HEAP32[i17 >> 2] | 0; - HEAP32[i17 >> 2] = i2 | i9; - if (i12 | 0) ___unlockfile(i17); - i1 = (i2 & 32 | 0) == 0 ? i1 : -1; - } - STACKTOP = i18; - return i1 | 0; -} - -function _EV_create(i11, i12, i1, i13) { - i11 = i11 | 0; - i12 = i12 | 0; - i1 = i1 | 0; - i13 = i13 | 0; - var i2 = 0, i3 = 0, d4 = 0.0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, d9 = 0.0, i10 = 0, i14 = 0, i15 = 0, d16 = 0.0; - i14 = HEAP32[i11 + 4 >> 2] | 0; - i15 = HEAP32[i11 + 8 >> 2] | 0; - L1 : do if (((((!((i14 | 0) < 1 | (i15 | 0) < 1) ? (HEAP32[i12 + 4 >> 2] | 0) == (i14 | 0) : 0) ? (HEAP32[i12 + 8 >> 2] | 0) == (i14 | 0) : 0) ? (HEAP32[i1 + 4 >> 2] | 0) == (i14 | 0) : 0) ? (HEAP32[i1 + 8 >> 2] | 0) == (i15 | 0) : 0) ? (HEAP32[i13 + 4 >> 2] | 0) == (i14 | 0) : 0) { - i3 = 0; - i1 = HEAP32[i1 >> 2] | 0; - while (1) { - if ((i3 | 0) >= (i14 | 0)) break; - d4 = +HEAPF64[(HEAP32[i13 >> 2] | 0) + (i3 << 3) >> 3]; - if (d4 < 1.0e-16) break; - d9 = 1.0 / +Math_sqrt(+(+Math_abs(+d4))); - i10 = Math_imul(i3, i14) | 0; - i5 = 0; - i8 = i1; - while (1) { - if ((i5 | 0) == (i15 | 0)) break; - i2 = 0; - i6 = (HEAP32[i12 >> 2] | 0) + (i10 << 3) | 0; - d4 = 0.0; - i7 = (HEAP32[i11 >> 2] | 0) + (i5 << 3) | 0; + +function access_virt_barray($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $8 = $2 + $3 | 0; + if (HEAP32[$1 >> 2] ? HEAPU32[$1 + 12 >> 2] < $3 >>> 0 | $8 >>> 0 > HEAPU32[$1 + 4 >> 2] : 1) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 23; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + } + $3 = HEAP32[$1 + 24 >> 2]; + label$3: { + if ($3 >>> 0 <= $2 >>> 0 & HEAP32[$1 + 16 >> 2] + $3 >>> 0 >= $8 >>> 0) { + break label$3; + } + if (!HEAP32[$1 + 40 >> 2]) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 71; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + } + if (HEAP32[$1 + 36 >> 2]) { + $6 = HEAP32[$1 + 16 >> 2]; + label$7: { + if (($6 | 0) <= 0) { + break label$7; + } + $11 = $1 + 48 | 0; + $10 = HEAP32[$1 + 8 >> 2] << 7; + $7 = Math_imul($10, HEAP32[$1 + 24 >> 2]); + $5 = HEAP32[$1 + 20 >> 2]; + $3 = 0; while (1) { - if ((i2 | 0) == (i14 | 0)) break; - d16 = d4 + +HEAPF64[i6 >> 3] * +HEAPF64[i7 >> 3]; - i2 = i2 + 1 | 0; - i6 = i6 + 8 | 0; - d4 = d16; - i7 = i7 + (i15 << 3) | 0; + $6 = $6 - $3 | 0; + $5 = ($5 | 0) < ($6 | 0) ? $5 : $6; + $6 = HEAP32[$1 + 24 >> 2] + $3 | 0; + $9 = HEAP32[$1 + 28 >> 2] - $6 | 0; + $5 = ($5 | 0) < ($9 | 0) ? $5 : $9; + $6 = HEAP32[$1 + 4 >> 2] - $6 | 0; + $5 = ($5 | 0) < ($6 | 0) ? $5 : $6; + if (($5 | 0) <= 0) { + break label$7; + } + $5 = Math_imul($5, $10); + FUNCTION_TABLE[HEAP32[$1 + 52 >> 2]]($0, $11, HEAP32[HEAP32[$1 >> 2] + ($3 << 2) >> 2], $7, $5); + $7 = $5 + $7 | 0; + $5 = HEAP32[$1 + 20 >> 2]; + $3 = $5 + $3 | 0; + $6 = HEAP32[$1 + 16 >> 2]; + if (($3 | 0) < ($6 | 0)) { + continue; + } + break; } - HEAPF64[i8 >> 3] = d9 * d4; - i5 = i5 + 1 | 0; - i8 = i8 + 8 | 0; } - i3 = i3 + 1 | 0; - i1 = i1 + (i15 << 3) | 0; + HEAP32[$1 + 36 >> 2] = 0; } + $3 = 0; + $6 = HEAP32[$1 + 16 >> 2]; + $5 = $8 - $6 | 0; + $5 = HEAPU32[$1 + 24 >> 2] < $2 >>> 0 ? $2 : ($5 | 0) > 0 ? $5 : 0; + HEAP32[$1 + 24 >> 2] = $5; + if (($6 | 0) <= 0) { + break label$3; + } + $11 = $1 + 48 | 0; + $10 = HEAP32[$1 + 8 >> 2] << 7; + $7 = Math_imul($10, $5); + $5 = HEAP32[$1 + 20 >> 2]; while (1) { - if ((i3 | 0) >= (i14 | 0)) { - i1 = 0; - break L1; + $6 = $6 - $3 | 0; + $5 = ($5 | 0) < ($6 | 0) ? $5 : $6; + $6 = HEAP32[$1 + 24 >> 2] + $3 | 0; + $9 = HEAP32[$1 + 28 >> 2] - $6 | 0; + $5 = ($5 | 0) < ($9 | 0) ? $5 : $9; + $6 = HEAP32[$1 + 4 >> 2] - $6 | 0; + $5 = ($5 | 0) < ($6 | 0) ? $5 : $6; + if (($5 | 0) <= 0) { + break label$3; + } + $5 = Math_imul($5, $10); + FUNCTION_TABLE[HEAP32[$1 + 48 >> 2]]($0, $11, HEAP32[HEAP32[$1 >> 2] + ($3 << 2) >> 2], $7, $5); + $7 = $5 + $7 | 0; + $5 = HEAP32[$1 + 20 >> 2]; + $3 = $5 + $3 | 0; + $6 = HEAP32[$1 + 16 >> 2]; + if (($3 | 0) < ($6 | 0)) { + continue; } - HEAPF64[(HEAP32[i13 >> 2] | 0) + (i3 << 3) >> 3] = 0.0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i15 | 0)) break; - HEAPF64[i1 >> 3] = 0.0; - i2 = i2 + 1 | 0; - i1 = i1 + 8 | 0; - } - i3 = i3 + 1 | 0; - } - } else i1 = -1; while (0); - return i1 | 0; -} - -function ___fdopen(i6, i2) { - i6 = i6 | 0; - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i8 = i9 + 40 | 0; - i5 = i9 + 24 | 0; - i4 = i9 + 16 | 0; - i3 = i9; - i7 = i9 + 56 | 0; - if (_strchr(46160, HEAP8[i2 >> 0] | 0) | 0) { - i1 = _malloc(1176) | 0; - if (!i1) i1 = 0; else { - _memset(i1 | 0, 0, 144) | 0; - if (!(_strchr(i2, 43) | 0)) HEAP32[i1 >> 2] = (HEAP8[i2 >> 0] | 0) == 114 ? 8 : 4; - if (_strchr(i2, 101) | 0) { - HEAP32[i3 >> 2] = i6; - HEAP32[i3 + 4 >> 2] = 2; - HEAP32[i3 + 8 >> 2] = 1; - ___syscall221(221, i3 | 0) | 0; - } - if ((HEAP8[i2 >> 0] | 0) == 97) { - HEAP32[i4 >> 2] = i6; - HEAP32[i4 + 4 >> 2] = 3; - i2 = ___syscall221(221, i4 | 0) | 0; - if (!(i2 & 1024)) { - HEAP32[i5 >> 2] = i6; - HEAP32[i5 + 4 >> 2] = 4; - HEAP32[i5 + 8 >> 2] = i2 | 1024; - ___syscall221(221, i5 | 0) | 0; - } - i3 = HEAP32[i1 >> 2] | 128; - HEAP32[i1 >> 2] = i3; - } else i3 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 + 60 >> 2] = i6; - HEAP32[i1 + 44 >> 2] = i1 + 152; - HEAP32[i1 + 48 >> 2] = 1024; - i2 = i1 + 75 | 0; - HEAP8[i2 >> 0] = -1; - if ((i3 & 8 | 0) == 0 ? (HEAP32[i8 >> 2] = i6, HEAP32[i8 + 4 >> 2] = 21523, HEAP32[i8 + 8 >> 2] = i7, (___syscall54(54, i8 | 0) | 0) == 0) : 0) HEAP8[i2 >> 0] = 10; - HEAP32[i1 + 32 >> 2] = 1; - HEAP32[i1 + 36 >> 2] = 2; - HEAP32[i1 + 40 >> 2] = 1; - HEAP32[i1 + 12 >> 2] = 2; - if (!(HEAP32[14057] | 0)) HEAP32[i1 + 76 >> 2] = -1; - ___ofl_add(i1) | 0; + break; } - } else { - i1 = ___errno_location() | 0; - HEAP32[i1 >> 2] = 22; - i1 = 0; - } - STACKTOP = i9; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_18demangleINS0_2DbEEEvPKcS4_RT_Ri(i1, i3, i4, i5) { - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i2 = 0; - L1 : do if (i1 >>> 0 < i3 >>> 0) { - L3 : do if ((HEAP8[i1 >> 0] | 0) != 95) { - if ((__ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i3, i4) | 0) != (i3 | 0)) { - HEAP32[i5 >> 2] = -2; - break L1; - } - } else { - if ((i3 - i1 | 0) <= 3) { - HEAP32[i5 >> 2] = -2; - break L1; - } - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 90: - { - i2 = i1 + 2 | 0; - i1 = __ZN10__cxxabiv112_GLOBAL__N_114parse_encodingINS0_2DbEEEPKcS4_S4_RT_(i2, i3, i4) | 0; - if (!((i1 | 0) == (i2 | 0) | (i1 | 0) == (i3 | 0)) ? (HEAP8[i1 >> 0] | 0) == 46 : 0) i1 = __ZN10__cxxabiv112_GLOBAL__N_116parse_dot_suffixINS0_2DbEEEPKcS4_S4_RT_(i1, i3, i4) | 0; - if ((i1 | 0) == (i3 | 0)) break L3; - HEAP32[i5 >> 2] = -2; - break L1; - } - case 95: - { - i2 = 11; + } + $7 = HEAP32[$1 + 28 >> 2]; + label$10: { + label$11: { + label$12: { + if ($8 >>> 0 <= $7 >>> 0) { + break label$12; + } + label$13: { + label$14: { + label$15: { + if ($2 >>> 0 > $7 >>> 0) { + $7 = $2; + if (!$4) { + break label$15; + } + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 23; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + break label$14; + } + if ($4) { + break label$14; + } + } + if (HEAP32[$1 + 32 >> 2]) { + break label$13; + } + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 23; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + break label$10; + } + HEAP32[$1 + 28 >> 2] = $8; + if (!HEAP32[$1 + 32 >> 2]) { + break label$11; + } + } + $5 = HEAP32[$1 + 24 >> 2]; + $3 = $7 - $5 | 0; + $0 = $8 - $5 | 0; + if ($3 >>> 0 >= $0 >>> 0) { + break label$12; + } + $5 = HEAP32[$1 + 8 >> 2] << 7; + $9 = ($7 ^ -1) + $8 | 0; + $6 = $8 - $7 & 3; + if ($6) { + $7 = 0; + while (1) { + memset(HEAP32[HEAP32[$1 >> 2] + ($3 << 2) >> 2], 0, $5); + $3 = $3 + 1 | 0; + $7 = $7 + 1 | 0; + if (($6 | 0) != ($7 | 0)) { + continue; + } + break; + } + } + if ($9 >>> 0 < 3) { + break label$12; + } + while (1) { + $7 = $3 << 2; + memset(HEAP32[$7 + HEAP32[$1 >> 2] >> 2], 0, $5); + memset(HEAP32[(HEAP32[$1 >> 2] + $7 | 0) + 4 >> 2], 0, $5); + memset(HEAP32[(HEAP32[$1 >> 2] + $7 | 0) + 8 >> 2], 0, $5); + memset(HEAP32[(HEAP32[$1 >> 2] + $7 | 0) + 12 >> 2], 0, $5); + $3 = $3 + 4 | 0; + if (($3 | 0) != ($0 | 0)) { + continue; + } break; } - default: - {} - } - if (((i2 | 0) == 11 ? (HEAP8[i1 + 2 >> 0] | 0) == 95 : 0) ? (HEAP8[i1 + 3 >> 0] | 0) == 90 : 0) { - i2 = i1 + 4 | 0; - i1 = __ZN10__cxxabiv112_GLOBAL__N_114parse_encodingINS0_2DbEEEPKcS4_S4_RT_(i2, i3, i4) | 0; - if ((i1 | 0) == (i2 | 0) | (i1 | 0) == (i3 | 0)) { - HEAP32[i5 >> 2] = -2; - break L1; - } - if ((__ZN10__cxxabiv112_GLOBAL__N_118parse_block_invokeINS0_2DbEEEPKcS4_S4_RT_(i1, i3, i4) | 0) == (i3 | 0)) break; - HEAP32[i5 >> 2] = -2; - break L1; - } - HEAP32[i5 >> 2] = -2; - break L1; - } while (0); - if ((HEAP32[i5 >> 2] | 0) == 0 ? (HEAP32[i4 >> 2] | 0) == (HEAP32[i4 + 4 >> 2] | 0) : 0) HEAP32[i5 >> 2] = -2; - } else HEAP32[i5 >> 2] = -2; while (0); - return; -} - -function __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i10, i7, i11, i2, i3, i8) { - i10 = i10 | 0; - i7 = i7 | 0; - i11 = i11 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i8 = i8 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0, i9 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i12; - i1 = HEAP32[i10 >> 2] | 0; - L1 : do if (!i1) i1 = 0; else { - i5 = i7; - i4 = i2 - i5 | 0; - i6 = i3 + 12 | 0; - i3 = HEAP32[i6 >> 2] | 0; - i3 = (i3 | 0) > (i4 | 0) ? i3 - i4 | 0 : 0; - i4 = i11; - i5 = i4 - i5 | 0; - if ((i5 | 0) > 0 ? (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 63](i1, i7, i5) | 0) != (i5 | 0) : 0) { - HEAP32[i10 >> 2] = 0; - i1 = 0; - break; - } - do if ((i3 | 0) > 0) { - HEAP32[i9 >> 2] = 0; - HEAP32[i9 + 4 >> 2] = 0; - HEAP32[i9 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc(i9, i3, i8); - if ((FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 63](i1, (HEAP8[i9 + 11 >> 0] | 0) < 0 ? HEAP32[i9 >> 2] | 0 : i9, i3) | 0) == (i3 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i9); - break; - } else { - HEAP32[i10 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i9); - i1 = 0; - break L1; - } - } while (0); - i2 = i2 - i4 | 0; - if ((i2 | 0) > 0 ? (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 48 >> 2] & 63](i1, i11, i2) | 0) != (i2 | 0) : 0) { - HEAP32[i10 >> 2] = 0; - i1 = 0; - break; + } + if (!$4) { + break label$10; + } } - HEAP32[i6 >> 2] = 0; - } while (0); - STACKTOP = i12; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_116parse_throw_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i7 = i10 + 24 | 0; - i8 = i10; - i9 = i10 + 12 | 0; - if (((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 116 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 119 : 0) ? (i11 = i1 + 2 | 0, i5 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i11, i2, i3) | 0, (i5 | 0) != (i11 | 0)) : 0) ? (i6 = i3 + 4 | 0, i4 = HEAP32[i6 >> 2] | 0, (HEAP32[i3 >> 2] | 0) != (i4 | 0)) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i9, i4 + -24 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i9, 0, 49865) | 0; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i9 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i9 + 8 >> 2]; - i1 = 0; + HEAP32[$1 + 36 >> 2] = 1; + } + return HEAP32[$1 >> 2] + ($2 - HEAP32[$1 + 24 >> 2] << 2) | 0; +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0, $9 = 0, $10 = 0, $11 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $8 = __stack_pointer - 32 | 0; + __stack_pointer = $8; + HEAP32[$8 + 16 >> 2] = $2; + HEAP32[$8 + 24 >> 2] = $1; + std____2__ios_base__getloc_28_29_20const($8 + 8 | 0, $3); + $2 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($8 + 8 | 0); + std____2__locale___locale_28_29($8 + 8 | 0); + HEAP32[$4 >> 2] = 0; + $1 = 0; + label$1: { while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i9 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i7, i8); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_((HEAP32[i6 >> 2] | 0) + -24 | 0, i7); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i9); - i1 = i5; - } - STACKTOP = i10; - return i1 | 0; -} - -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8__appendEm(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i8; - i6 = i3 + 8 | 0; - i7 = i3 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - do if ((((HEAP32[i6 >> 2] | 0) - i1 | 0) / 36 | 0) >>> 0 < i4 >>> 0) { - i1 = ((i1 - (HEAP32[i3 >> 2] | 0) | 0) / 36 | 0) + i4 | 0; - i2 = __ZNKSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8max_sizeEv(i3) | 0; - if (i2 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i3); else { - i9 = HEAP32[i3 >> 2] | 0; - i10 = ((HEAP32[i6 >> 2] | 0) - i9 | 0) / 36 | 0; - i6 = i10 << 1; - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEEC2EmmS6_(i5, i10 >>> 0 < i2 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i2, ((HEAP32[i7 >> 2] | 0) - i9 | 0) / 36 | 0, i3 + 8 | 0); - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEE18__construct_at_endEm(i5, i4); - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i3, i5); - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEED2Ev(i5); + if (($6 | 0) == ($7 | 0) | $1) { + break label$1; + } + label$3: { + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($8 + 24 | 0, $8 + 16 | 0)) { + break label$3; + } + label$4: { + if ((std____2__ctype_wchar_t___narrow_28wchar_t_2c_20char_29_20const($2, HEAP32[$6 >> 2], 0) | 0) == 37) { + $1 = $6 + 4 | 0; + if (($7 | 0) == ($1 | 0)) { + break label$3; + } + $10 = 0; + $9 = std____2__ctype_wchar_t___narrow_28wchar_t_2c_20char_29_20const($2, HEAP32[$1 >> 2], 0); + label$6: { + if (!(($9 | 0) == 69 | ($9 & 255) == 48)) { + $1 = $6; + break label$6; + } + $11 = $6; + $6 = $6 + 8 | 0; + if (($7 | 0) == ($6 | 0)) { + break label$3; + } + $10 = $9; + $9 = std____2__ctype_wchar_t___narrow_28wchar_t_2c_20char_29_20const($2, HEAP32[$11 + 8 >> 2], 0); + } + wasm2js_i32$0 = $8, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 36 >> 2]]($0, HEAP32[$8 + 24 >> 2], HEAP32[$8 + 16 >> 2], $3, $4, $5, $9, $10) | 0, + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + $6 = $1 + 8 | 0; + break label$4; + } + if (std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($2, 1, HEAP32[$6 >> 2])) { + while (1) { + label$10: { + $6 = $6 + 4 | 0; + if (($7 | 0) == ($6 | 0)) { + $6 = $7; + break label$10; + } + if (std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($2, 1, HEAP32[$6 >> 2])) { + continue; + } + } + break; + } + while (1) { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($8 + 24 | 0, $8 + 16 | 0)) { + break label$4; + } + if (!std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($2, 1, std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($8 + 24 | 0))) { + break label$4; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($8 + 24 | 0); + continue; + } + } + if ((std____2__ctype_wchar_t___toupper_28wchar_t_29_20const($2, std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($8 + 24 | 0)) | 0) == (std____2__ctype_wchar_t___toupper_28wchar_t_29_20const($2, HEAP32[$6 >> 2]) | 0)) { + $6 = $6 + 4 | 0; + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($8 + 24 | 0); + break label$4; + } + HEAP32[$4 >> 2] = 4; + } + $1 = HEAP32[$4 >> 2]; + continue; + } break; } - } else __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE18__construct_at_endEm(i3, i4); while (0); - STACKTOP = i8; - return; -} - -function __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE8__appendEm(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i8; - i6 = i3 + 8 | 0; - i7 = i3 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - do if ((((HEAP32[i6 >> 2] | 0) - i1 | 0) / 12 | 0) >>> 0 < i4 >>> 0) { - i1 = ((i1 - (HEAP32[i3 >> 2] | 0) | 0) / 12 | 0) + i4 | 0; - i2 = __ZNKSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE8max_sizeEv(i3) | 0; - if (i2 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i3); else { - i9 = HEAP32[i3 >> 2] | 0; - i10 = ((HEAP32[i6 >> 2] | 0) - i9 | 0) / 12 | 0; - i6 = i10 << 1; - __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEEC2EmmSA_(i5, i10 >>> 0 < i2 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i2, ((HEAP32[i7 >> 2] | 0) - i9 | 0) / 12 | 0, i3 + 8 | 0); - __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEE18__construct_at_endEm(i5, i4); - __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS8_EE(i3, i5); - __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEED2Ev(i5); - break; + HEAP32[$4 >> 2] = 4; + } + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($8 + 24 | 0, $8 + 16 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + __stack_pointer = $8 + 32 | 0; + $6 = HEAP32[$8 + 24 >> 2]; + return $6; +} + +function access_virt_sarray($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $8 = $2 + $3 | 0; + if (HEAP32[$1 >> 2] ? HEAPU32[$1 + 12 >> 2] < $3 >>> 0 | $8 >>> 0 > HEAPU32[$1 + 4 >> 2] : 1) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 23; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + } + $3 = HEAP32[$1 + 24 >> 2]; + label$3: { + if ($3 >>> 0 <= $2 >>> 0 & HEAP32[$1 + 16 >> 2] + $3 >>> 0 >= $8 >>> 0) { + break label$3; } - } else __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE18__construct_at_endEm(i3, i4); while (0); - STACKTOP = i8; - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_116parse_arrow_exprINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i5 = i5 | 0; - var i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i9; - if ((((((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 112 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 116 : 0) ? (i10 = i1 + 2 | 0, i3 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i10, i2, i5) | 0, (i3 | 0) != (i10 | 0)) : 0) ? (i6 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i3, i2, i5) | 0, (i6 | 0) != (i3 | 0)) : 0) ? (i7 = i5 + 4 | 0, i4 = HEAP32[i7 >> 2] | 0, ((i4 - (HEAP32[i5 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) : 0) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i8, i4 + -24 | 0); - i2 = HEAP32[i7 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i10 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i10 * 24 | 0) | 0); - i1 = i10; - } - HEAP32[i7 >> 2] = i2 + -24; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i2 + -48 | 0, 49937) | 0; - i1 = HEAP8[i8 + 11 >> 0] | 0; - i10 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm((HEAP32[i7 >> 2] | 0) + -24 | 0, i10 ? HEAP32[i8 >> 2] | 0 : i8, i10 ? HEAP32[i8 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i8); - i1 = i6; - } - STACKTOP = i9; - return i1 | 0; -} - -function _jinit_memory_mgr(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i10; - i6 = i10 + 8 | 0; - i7 = i10 + 12 | 0; - i4 = i1 + 4 | 0; - HEAP32[i4 >> 2] = 0; - i2 = _jpeg_mem_init(i1) | 0; - HEAP32[i6 >> 2] = i2; - i5 = _jpeg_get_small(i1, 84) | 0; - if (!i5) { - _jpeg_mem_term(i1); - i8 = HEAP32[i1 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 54; - HEAP32[i8 + 24 >> 2] = 0; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i1 >> 2] >> 2] & 255](i1); - } - HEAP32[i5 >> 2] = 27; - HEAP32[i5 + 4 >> 2] = 28; - HEAP32[i5 + 8 >> 2] = 7; - HEAP32[i5 + 12 >> 2] = 8; - HEAP32[i5 + 16 >> 2] = 39; - HEAP32[i5 + 20 >> 2] = 40; - HEAP32[i5 + 24 >> 2] = 114; - HEAP32[i5 + 28 >> 2] = 21; - HEAP32[i5 + 32 >> 2] = 22; - HEAP32[i5 + 36 >> 2] = 40; - HEAP32[i5 + 40 >> 2] = 115; - HEAP32[i5 + 48 >> 2] = 1e9; - i8 = i5 + 44 | 0; - HEAP32[i8 >> 2] = i2; - i2 = i5 + 52 | 0; - i3 = i5 + 60 | 0; - i1 = 1; - while (1) { - if ((i1 | 0) <= -1) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - HEAP32[i3 + (i1 << 2) >> 2] = 0; - i1 = i1 + -1 | 0; - } - HEAP32[i5 + 68 >> 2] = 0; - HEAP32[i5 + 72 >> 2] = 0; - HEAP32[i5 + 76 >> 2] = 84; - HEAP32[i4 >> 2] = i5; - i1 = _getenv(38267) | 0; - if (i1 | 0 ? (HEAP8[i7 >> 0] = 120, HEAP32[i9 >> 2] = i6, HEAP32[i9 + 4 >> 2] = i7, (_sscanf(i1, 38275, i9) | 0) > 0) : 0) { - switch (HEAP8[i7 >> 0] | 0) { - case 77: - case 109: - { - i1 = (HEAP32[i6 >> 2] | 0) * 1e3 | 0; - HEAP32[i6 >> 2] = i1; - break; + if (!HEAP32[$1 + 40 >> 2]) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 71; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + } + if (HEAP32[$1 + 36 >> 2]) { + $6 = HEAP32[$1 + 16 >> 2]; + label$7: { + if (($6 | 0) <= 0) { + break label$7; + } + $11 = $1 + 48 | 0; + $10 = HEAP32[$1 + 8 >> 2]; + $7 = Math_imul($10, HEAP32[$1 + 24 >> 2]); + $5 = HEAP32[$1 + 20 >> 2]; + $3 = 0; + while (1) { + $6 = $6 - $3 | 0; + $5 = ($5 | 0) < ($6 | 0) ? $5 : $6; + $6 = HEAP32[$1 + 24 >> 2] + $3 | 0; + $9 = HEAP32[$1 + 28 >> 2] - $6 | 0; + $5 = ($5 | 0) < ($9 | 0) ? $5 : $9; + $6 = HEAP32[$1 + 4 >> 2] - $6 | 0; + $5 = ($5 | 0) < ($6 | 0) ? $5 : $6; + if (($5 | 0) <= 0) { + break label$7; + } + $5 = Math_imul($5, $10); + FUNCTION_TABLE[HEAP32[$1 + 52 >> 2]]($0, $11, HEAP32[HEAP32[$1 >> 2] + ($3 << 2) >> 2], $7, $5); + $7 = $5 + $7 | 0; + $5 = HEAP32[$1 + 20 >> 2]; + $3 = $5 + $3 | 0; + $6 = HEAP32[$1 + 16 >> 2]; + if (($3 | 0) < ($6 | 0)) { + continue; + } + break; + } } - default: - i1 = HEAP32[i6 >> 2] | 0; - } - HEAP32[i8 >> 2] = i1 * 1e3; - } - STACKTOP = i10; - return; -} -function __ZN6vision18Condition4Points2dIfEEbPT_S2_S2_S2_RS1_S2_PKS1_S5_S5_S5_(i15, i16, i17, i18, i19, i1, i2, i3, i7, i12) { - i15 = i15 | 0; - i16 = i16 | 0; - i17 = i17 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i12 = i12 | 0; - var d4 = 0.0, d5 = 0.0, d6 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d13 = 0.0, d14 = 0.0, i20 = 0, i21 = 0, i22 = 0, i23 = 0; - d4 = (+HEAPF32[i2 >> 2] + +HEAPF32[i3 >> 2] + +HEAPF32[i7 >> 2] + +HEAPF32[i12 >> 2]) * .25; - HEAPF32[i1 >> 2] = d4; - i23 = i2 + 4 | 0; - i22 = i3 + 4 | 0; - i21 = i7 + 4 | 0; - i20 = i12 + 4 | 0; - d5 = (+HEAPF32[i23 >> 2] + +HEAPF32[i22 >> 2] + +HEAPF32[i21 >> 2] + +HEAPF32[i20 >> 2]) * .25; - HEAPF32[i1 + 4 >> 2] = d5; - d13 = +HEAPF32[i2 >> 2] - d4; - d14 = +HEAPF32[i23 >> 2] - d5; - d10 = +HEAPF32[i3 >> 2] - d4; - d11 = +HEAPF32[i22 >> 2] - d5; - d8 = +HEAPF32[i7 >> 2] - d4; - d9 = +HEAPF32[i21 >> 2] - d5; - d4 = +HEAPF32[i12 >> 2] - d4; - d5 = +HEAPF32[i20 >> 2] - d5; - d6 = (+Math_sqrt(+(d13 * d13 + d14 * d14)) + +Math_sqrt(+(d10 * d10 + d11 * d11)) + +Math_sqrt(+(d8 * d8 + d9 * d9)) + +Math_sqrt(+(d4 * d4 + d5 * d5))) * .25; - if (d6 == 0.0) i1 = 0; else { - d6 = 1.0 / d6 * 1.4142135623730951; - HEAPF32[i19 >> 2] = d6; - HEAPF32[i15 >> 2] = d13 * d6; - HEAPF32[i15 + 4 >> 2] = d14 * +HEAPF32[i19 >> 2]; - HEAPF32[i16 >> 2] = d10 * +HEAPF32[i19 >> 2]; - HEAPF32[i16 + 4 >> 2] = d11 * +HEAPF32[i19 >> 2]; - HEAPF32[i17 >> 2] = d8 * +HEAPF32[i19 >> 2]; - HEAPF32[i17 + 4 >> 2] = d9 * +HEAPF32[i19 >> 2]; - HEAPF32[i18 >> 2] = d4 * +HEAPF32[i19 >> 2]; - HEAPF32[i18 + 4 >> 2] = d5 * +HEAPF32[i19 >> 2]; - i1 = 1; - } - return i1 | 0; -} - -function _h2v2_fancy_upsample(i2, i3, i19, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i19 = i19 | 0; - i1 = i1 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i20 = 0, i21 = 0; - i18 = HEAP32[i1 >> 2] | 0; - i17 = i2 + 312 | 0; - i14 = i3 + 40 | 0; - i2 = 0; - i3 = 0; - while (1) { - if ((i2 | 0) >= (HEAP32[i17 >> 2] | 0)) break; - i15 = i19 + (i3 << 2) | 0; - i1 = 0; - i9 = i2; + HEAP32[$1 + 36 >> 2] = 0; + } + $3 = 0; + $6 = HEAP32[$1 + 16 >> 2]; + $5 = $8 - $6 | 0; + $5 = HEAPU32[$1 + 24 >> 2] < $2 >>> 0 ? $2 : ($5 | 0) > 0 ? $5 : 0; + HEAP32[$1 + 24 >> 2] = $5; + if (($6 | 0) <= 0) { + break label$3; + } + $11 = $1 + 48 | 0; + $10 = HEAP32[$1 + 8 >> 2]; + $7 = Math_imul($10, $5); + $5 = HEAP32[$1 + 20 >> 2]; while (1) { - if ((i1 | 0) == 2) break; - i8 = HEAP32[i15 >> 2] | 0; - i10 = HEAP32[i19 + (((i1 | 0) == 0 ? -1 : 1) + i3 << 2) >> 2] | 0; - i12 = HEAP32[i18 + (i9 << 2) >> 2] | 0; - i5 = ((HEAPU8[i8 >> 0] | 0) * 3 | 0) + (HEAPU8[i10 >> 0] | 0) | 0; - i6 = ((HEAPU8[i8 + 1 >> 0] | 0) * 3 | 0) + (HEAPU8[i10 + 1 >> 0] | 0) | 0; - HEAP8[i12 >> 0] = ((i5 << 2) + 8 | 0) >>> 4; - HEAP8[i12 + 1 >> 0] = ((i5 * 3 | 0) + 7 + i6 | 0) >>> 4; - i4 = HEAP32[i14 >> 2] | 0; - i13 = i4 << 1; - i16 = i12 + -2 | 0; - i4 = i4 + -2 | 0; - i8 = i8 + 2 | 0; - i10 = i10 + 2 | 0; - i11 = i12; - while (1) { - i7 = i11 + 2 | 0; - if (!i4) break; - i21 = ((HEAPU8[i8 >> 0] | 0) * 3 | 0) + (HEAPU8[i10 >> 0] | 0) | 0; - i20 = i6 * 3 | 0; - HEAP8[i7 >> 0] = (i5 + 8 + i20 | 0) >>> 4; - HEAP8[i11 + 3 >> 0] = (i20 + 7 + i21 | 0) >>> 4; - i20 = i6; - i4 = i4 + -1 | 0; - i6 = i21; - i8 = i8 + 1 | 0; - i10 = i10 + 1 | 0; - i11 = i7; - i5 = i20; - } - HEAP8[i16 + i13 >> 0] = (i5 + 8 + (i6 * 3 | 0) | 0) >>> 4; - HEAP8[i12 + -4 + i13 + 3 >> 0] = ((i6 << 2) + 7 | 0) >>> 4; - i1 = i1 + 1 | 0; - i9 = i9 + 1 | 0; - } - i2 = i2 + 2 | 0; - i3 = i3 + 1 | 0; - } - return; -} - -function ___dynamic_cast(i1, i2, i10, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i10 = i10 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i11 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i11 = i13; - i9 = HEAP32[i1 >> 2] | 0; - i12 = i1 + (HEAP32[i9 + -8 >> 2] | 0) | 0; - i9 = HEAP32[i9 + -4 >> 2] | 0; - HEAP32[i11 >> 2] = i10; - HEAP32[i11 + 4 >> 2] = i1; - HEAP32[i11 + 8 >> 2] = i2; - HEAP32[i11 + 12 >> 2] = i3; - i1 = i11 + 16 | 0; - i2 = i11 + 20 | 0; - i3 = i11 + 24 | 0; - i4 = i11 + 28 | 0; - i5 = i11 + 32 | 0; - i6 = i11 + 40 | 0; - i7 = i1; - i8 = i7 + 36 | 0; - do { - HEAP32[i7 >> 2] = 0; - i7 = i7 + 4 | 0; - } while ((i7 | 0) < (i8 | 0)); - HEAP16[i1 + 36 >> 1] = 0; - HEAP8[i1 + 38 >> 0] = 0; - L1 : do if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i9, i10, 0) | 0) { - HEAP32[i11 + 48 >> 2] = 1; - FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 20 >> 2] & 7](i9, i11, i12, i12, 1, 0); - i1 = (HEAP32[i3 >> 2] | 0) == 1 ? i12 : 0; - } else { - FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i9 >> 2] | 0) + 24 >> 2] & 31](i9, i11, i12, 1, 0); - switch (HEAP32[i11 + 36 >> 2] | 0) { - case 0: - { - i1 = (HEAP32[i6 >> 2] | 0) == 1 & (HEAP32[i4 >> 2] | 0) == 1 & (HEAP32[i5 >> 2] | 0) == 1 ? HEAP32[i2 >> 2] | 0 : 0; - break L1; - } - case 1: - break; - default: - { - i1 = 0; - break L1; + $6 = $6 - $3 | 0; + $5 = ($5 | 0) < ($6 | 0) ? $5 : $6; + $6 = HEAP32[$1 + 24 >> 2] + $3 | 0; + $9 = HEAP32[$1 + 28 >> 2] - $6 | 0; + $5 = ($5 | 0) < ($9 | 0) ? $5 : $9; + $6 = HEAP32[$1 + 4 >> 2] - $6 | 0; + $5 = ($5 | 0) < ($6 | 0) ? $5 : $6; + if (($5 | 0) <= 0) { + break label$3; + } + $5 = Math_imul($5, $10); + FUNCTION_TABLE[HEAP32[$1 + 48 >> 2]]($0, $11, HEAP32[HEAP32[$1 >> 2] + ($3 << 2) >> 2], $7, $5); + $7 = $5 + $7 | 0; + $5 = HEAP32[$1 + 20 >> 2]; + $3 = $5 + $3 | 0; + $6 = HEAP32[$1 + 16 >> 2]; + if (($3 | 0) < ($6 | 0)) { + continue; } - } - if ((HEAP32[i3 >> 2] | 0) != 1 ? !((HEAP32[i6 >> 2] | 0) == 0 & (HEAP32[i4 >> 2] | 0) == 1 & (HEAP32[i5 >> 2] | 0) == 1) : 0) { - i1 = 0; break; } - i1 = HEAP32[i1 >> 2] | 0; - } while (0); - STACKTOP = i13; - return i1 | 0; -} - -function _arParamLTCreate(i2, i8) { - i2 = i2 | 0; - i8 = i8 | 0; - var i1 = 0, i3 = 0, d4 = 0.0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, d17 = 0.0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i11 = i16 + 24 | 0; - i12 = i16 + 16 | 0; - i13 = i16 + 8 | 0; - i14 = i16; - i15 = _malloc(208) | 0; - if (!i15) { - _arLog(0, 3, 20454, i16 + 32 | 0); - _exit(1); - } - _memcpy(i15 | 0, i2 | 0, 184) | 0; - i10 = i8 << 1; - i9 = (HEAP32[i2 >> 2] | 0) + i10 | 0; - HEAP32[i15 + 192 >> 2] = i9; - i10 = (HEAP32[i2 + 4 >> 2] | 0) + i10 | 0; - HEAP32[i15 + 196 >> 2] = i10; - HEAP32[i15 + 200 >> 2] = i8; - HEAP32[i15 + 204 >> 2] = i8; - i1 = Math_imul(i9 << 3, i10) | 0; - i3 = _malloc(i1) | 0; - HEAP32[i15 + 184 >> 2] = i3; - if (!i3) { - _arLog(0, 3, 20454, i16 + 40 | 0); - _exit(1); - } - i1 = _malloc(i1) | 0; - HEAP32[i15 + 188 >> 2] = i1; - if (!i1) { - _arLog(0, 3, 20454, i16 + 48 | 0); - _exit(1); - } - i7 = i2 + 104 | 0; - i6 = HEAP32[i2 + 176 >> 2] | 0; - i5 = 0; - i2 = i3; - while (1) { - if ((i5 | 0) >= (i10 | 0)) break; - d4 = +(i5 - i8 | 0); - i3 = 0; - while (1) { - if ((i3 | 0) >= (i9 | 0)) break; - d17 = +(i3 - i8 | 0); - _arParamIdeal2Observ(i7, d17, d4, i13, i14, i6) | 0; - HEAPF32[i2 >> 2] = +HEAPF64[i13 >> 3]; - HEAPF32[i2 + 4 >> 2] = +HEAPF64[i14 >> 3]; - _arParamObserv2Ideal(i7, d17, d4, i11, i12, i6) | 0; - HEAPF32[i1 >> 2] = +HEAPF64[i11 >> 3]; - HEAPF32[i1 + 4 >> 2] = +HEAPF64[i12 >> 3]; - i3 = i3 + 1 | 0; - i1 = i1 + 8 | 0; - i2 = i2 + 8 | 0; - } - i5 = i5 + 1 | 0; - } - STACKTOP = i16; - return i15 | 0; -} - -function _fgets(i1, i2, i10) { - i1 = i1 | 0; - i2 = i2 | 0; - i10 = i10 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i11 = 0, i12 = 0, i13 = 0; - if ((HEAP32[i10 + 76 >> 2] | 0) > -1) i9 = ___lockfile(i10) | 0; else i9 = 0; - i3 = i2 + -1 | 0; - if ((i2 | 0) < 2) { - i11 = i10 + 74 | 0; - i8 = HEAP8[i11 >> 0] | 0; - HEAP8[i11 >> 0] = i8 + 255 | i8; - if (i9 | 0) ___unlockfile(i10); - if (!i3) HEAP8[i1 >> 0] = 0; else i1 = 0; - } else { - L11 : do if (i3) { - i7 = i10 + 4 | 0; - i8 = i10 + 8 | 0; - i2 = i1; - while (1) { - i4 = HEAP32[i7 >> 2] | 0; - i12 = i4; - i13 = (HEAP32[i8 >> 2] | 0) - i12 | 0; - i6 = _memchr(i4, 10, i13) | 0; - i5 = (i6 | 0) == 0; - i6 = i5 ? i13 : 1 - i12 + i6 | 0; - i6 = i6 >>> 0 < i3 >>> 0 ? i6 : i3; - _memcpy(i2 | 0, i4 | 0, i6 | 0) | 0; - i4 = (HEAP32[i7 >> 2] | 0) + i6 | 0; - HEAP32[i7 >> 2] = i4; - i2 = i2 + i6 | 0; - i6 = i3 - i6 | 0; - if (!(i5 & (i6 | 0) != 0)) { - i11 = 17; - break L11; - } - if (i4 >>> 0 >= (HEAP32[i8 >> 2] | 0) >>> 0) { - i3 = ___uflow(i10) | 0; - if ((i3 | 0) < 0) break; else i4 = i3; - } else { - HEAP32[i7 >> 2] = i4 + 1; - i4 = HEAPU8[i4 >> 0] | 0; - } - i5 = i2 + 1 | 0; - HEAP8[i2 >> 0] = i4; - i3 = i6 + -1 | 0; - if ((i4 & 255 | 0) == 10 | (i3 | 0) == 0) { - i2 = i5; - i11 = 17; - break L11; - } else i2 = i5; - } - if ((i2 | 0) != (i1 | 0) ? (HEAP32[i10 >> 2] & 16 | 0) != 0 : 0) i11 = 17; else i1 = 0; - } else { - i2 = i1; - i11 = 17; - } while (0); - if ((i11 | 0) == 17) if (!i1) i1 = 0; else HEAP8[i2 >> 0] = 0; - if (i9) ___unlockfile(i10); - } - return i1 | 0; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE7reserveEm(i8, i1) { - i8 = i8 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0; - if (i1 >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i8); - i10 = i8 + 8 | 0; - i6 = i10 + 3 | 0; - i4 = HEAP8[i6 >> 0] | 0; - i5 = i4 << 24 >> 24 < 0; - if (i5) { - i9 = HEAP32[i8 + 4 >> 2] | 0; - i2 = (HEAP32[i10 >> 2] & 2147483647) + -1 | 0; - } else { - i9 = i4 & 255; - i2 = 1; - } - i7 = i9 >>> 0 > i1 >>> 0 ? i9 : i1; - i1 = i7 >>> 0 < 2; - i7 = i1 ? 1 : (i7 + 4 & -4) + -1 | 0; - do if ((i7 | 0) != (i2 | 0)) { - do if (i1) { - i1 = HEAP32[i8 >> 2] | 0; - if (i5) { - i4 = 0; - i2 = i1; - i3 = i8; - i5 = 15; - } else { - __ZNSt3__211char_traitsIwE4copyEPwPKwm(i8, i1, (i4 & 255) + 1 | 0) | 0; - __ZdlPv(i1); - i5 = 18; + } + $7 = HEAP32[$1 + 28 >> 2]; + label$10: { + label$11: { + label$12: { + if ($8 >>> 0 <= $7 >>> 0) { + break label$12; + } + label$13: { + label$14: { + label$15: { + if ($2 >>> 0 > $7 >>> 0) { + $7 = $2; + if (!$4) { + break label$15; + } + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 23; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + break label$14; + } + if ($4) { + break label$14; + } + } + if (HEAP32[$1 + 32 >> 2]) { + break label$13; + } + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 23; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + break label$10; + } + HEAP32[$1 + 28 >> 2] = $8; + if (!HEAP32[$1 + 32 >> 2]) { + break label$11; + } + } + $5 = HEAP32[$1 + 24 >> 2]; + $3 = $7 - $5 | 0; + $0 = $8 - $5 | 0; + if ($3 >>> 0 >= $0 >>> 0) { + break label$12; + } + $5 = HEAP32[$1 + 8 >> 2]; + $9 = ($7 ^ -1) + $8 | 0; + $6 = $8 - $7 & 3; + if ($6) { + $7 = 0; + while (1) { + memset(HEAP32[HEAP32[$1 >> 2] + ($3 << 2) >> 2], 0, $5); + $3 = $3 + 1 | 0; + $7 = $7 + 1 | 0; + if (($6 | 0) != ($7 | 0)) { + continue; + } + break; + } + } + if ($9 >>> 0 < 3) { + break label$12; + } + while (1) { + $7 = $3 << 2; + memset(HEAP32[$7 + HEAP32[$1 >> 2] >> 2], 0, $5); + memset(HEAP32[(HEAP32[$1 >> 2] + $7 | 0) + 4 >> 2], 0, $5); + memset(HEAP32[(HEAP32[$1 >> 2] + $7 | 0) + 8 >> 2], 0, $5); + memset(HEAP32[(HEAP32[$1 >> 2] + $7 | 0) + 12 >> 2], 0, $5); + $3 = $3 + 4 | 0; + if (($3 | 0) != ($0 | 0)) { + continue; + } + break; + } } - } else { - i2 = i7 + 1 | 0; - if (i2 >>> 0 > 1073741823) _abort(); - i3 = __Znwm(i2 << 2) | 0; - if (i5) { - i4 = 1; - i2 = HEAP32[i8 >> 2] | 0; - i5 = 15; - break; - } else { - __ZNSt3__211char_traitsIwE4copyEPwPKwm(i3, i8, (i4 & 255) + 1 | 0) | 0; - i1 = i8 + 4 | 0; - i5 = 17; - break; + if (!$4) { + break label$10; } - } while (0); - if ((i5 | 0) == 15) { - i1 = i8 + 4 | 0; - __ZNSt3__211char_traitsIwE4copyEPwPKwm(i3, i2, (HEAP32[i1 >> 2] | 0) + 1 | 0) | 0; - __ZdlPv(i2); - if (i4) { - i2 = i7 + 1 | 0; - i5 = 17; - } else i5 = 18; - } - if ((i5 | 0) == 17) { - HEAP32[i10 >> 2] = i2 | -2147483648; - HEAP32[i1 >> 2] = i9; - HEAP32[i8 >> 2] = i3; - break; - } else if ((i5 | 0) == 18) { - HEAP8[i6 >> 0] = i9; - break; } - } while (0); - return; -} - -function __ZNSt3__224__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(i4, i5, i1) { - i4 = i4 | 0; - i5 = i5 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i10 + 12 | 0; - i8 = i10; - i9 = i10 + 8 | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_(i8, i4); - if (HEAP8[i8 >> 0] | 0) { - i6 = (HEAP32[i4 >> 2] | 0) + -12 | 0; - HEAP32[i9 >> 2] = HEAP32[i4 + (HEAP32[i6 >> 2] | 0) + 24 >> 2]; - i6 = i4 + (HEAP32[i6 >> 2] | 0) | 0; - i7 = HEAP32[i6 + 4 >> 2] | 0; - i2 = i5 + i1 | 0; - i11 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - i1 = i6 + 76 | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i11, HEAP32[i1 >> 2] | 0) | 0) { - __ZNKSt3__28ios_base6getlocEv(i3, i6); - i11 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i11 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 63](i11, 32) | 0; - __ZNSt3__26localeD2Ev(i3); - i11 = i11 << 24 >> 24; - HEAP32[i1 >> 2] = i11; - i1 = i11; - } else i1 = HEAP32[i1 >> 2] | 0; - HEAP32[i3 >> 2] = HEAP32[i9 >> 2]; - if (!(__ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i3, i5, (i7 & 176 | 0) == 32 ? i2 : i5, i2, i6, i1 & 255) | 0)) { - i11 = i4 + (HEAP32[(HEAP32[i4 >> 2] | 0) + -12 >> 2] | 0) | 0; - __ZNSt3__28ios_base5clearEj(i11, HEAP32[i11 + 16 >> 2] | 5); - } - } - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev(i8); - STACKTOP = i10; - return i4 | 0; -} - -function __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE24__emplace_back_slow_pathIJS5_EEEvDpOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = ((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 4) + 1 | 0; - i6 = __ZNKSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = (HEAP32[i1 + 8 >> 2] | 0) - i8 | 0; - i9 = i10 >> 3; - __ZNSt3__214__split_bufferINS_6vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEERNS5_IS7_Lm4096EEEEC2EmmS9_(i3, i10 >> 4 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, (HEAP32[i4 >> 2] | 0) - i8 >> 4, i1 + 12 | 0); - i6 = i3 + 8 | 0; - i5 = HEAP32[i6 >> 2] | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i5 + 4 >> 2] = 0; - HEAP32[i5 + 8 >> 2] = 0; - HEAP32[i5 + 12 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i6 >> 2] = i5 + 16; - __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS6_RS7_EE(i1, i3); - __ZNSt3__214__split_bufferINS_6vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEERNS5_IS7_Lm4096EEEED2Ev(i3); - STACKTOP = i7; - return; + HEAP32[$1 + 36 >> 2] = 1; } + return HEAP32[$1 >> 2] + ($2 - HEAP32[$1 + 24 >> 2] << 2) | 0; } -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i10 + 12 | 0; - i8 = i10 + 8 | 0; - i9 = i10; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_(i9, i3); - if (HEAP8[i9 >> 0] | 0) { - __ZNKSt3__28ios_base6getlocEv(i2, i3 + (HEAP32[(HEAP32[i3 >> 2] | 0) + -12 >> 2] | 0) | 0); - i5 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 57972) | 0; - __ZNSt3__26localeD2Ev(i2); - i6 = i3 + (HEAP32[(HEAP32[i3 >> 2] | 0) + -12 >> 2] | 0) | 0; - i7 = HEAP32[i6 + 24 >> 2] | 0; - i11 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - i1 = i6 + 76 | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i11, HEAP32[i1 >> 2] | 0) | 0) { - __ZNKSt3__28ios_base6getlocEv(i2, i6); - i11 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 57916) | 0; - i11 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i11 >> 2] | 0) + 28 >> 2] & 63](i11, 32) | 0; - __ZNSt3__26localeD2Ev(i2); - i11 = i11 << 24 >> 24; - HEAP32[i1 >> 2] = i11; - i1 = i11; - } else i1 = HEAP32[i1 >> 2] | 0; - i11 = HEAP32[(HEAP32[i5 >> 2] | 0) + 16 >> 2] | 0; - HEAP32[i8 >> 2] = i7; - HEAP32[i2 >> 2] = HEAP32[i8 >> 2]; - if (!(FUNCTION_TABLE_iiiiii[i11 & 31](i5, i2, i6, i1 & 255, i4) | 0)) { - i11 = i3 + (HEAP32[(HEAP32[i3 >> 2] | 0) + -12 >> 2] | 0) | 0; - __ZNSt3__28ios_base5clearEj(i11, HEAP32[i11 + 16 >> 2] | 5); - } - } - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev(i9); - STACKTOP = i10; - return i3 | 0; -} - -function ___shgetc(i6) { - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i3 = i6 + 112 | 0; - i2 = i3; - i1 = HEAP32[i2 >> 2] | 0; - i2 = HEAP32[i2 + 4 >> 2] | 0; - if (!((i1 | 0) == 0 & (i2 | 0) == 0) ? (i5 = i6 + 120 | 0, i4 = HEAP32[i5 + 4 >> 2] | 0, !((i4 | 0) < (i2 | 0) | ((i4 | 0) == (i2 | 0) ? (HEAP32[i5 >> 2] | 0) >>> 0 < i1 >>> 0 : 0))) : 0) i7 = 4; else { - i1 = ___uflow(i6) | 0; - if ((i1 | 0) >= 0) { - i2 = HEAP32[i3 >> 2] | 0; - i3 = HEAP32[i3 + 4 >> 2] | 0; - i5 = HEAP32[i6 + 8 >> 2] | 0; - if (!((i2 | 0) == 0 & (i3 | 0) == 0)) { - i4 = HEAP32[i6 + 4 >> 2] | 0; - i8 = i5 - i4 | 0; - i9 = ((i8 | 0) < 0) << 31 >> 31; - i10 = i6 + 120 | 0; - i2 = _i64Subtract(i2 | 0, i3 | 0, HEAP32[i10 >> 2] | 0, HEAP32[i10 + 4 >> 2] | 0) | 0; - i10 = getTempRet0() | 0; - i3 = i5; - if ((i10 | 0) > (i9 | 0) | (i10 | 0) == (i9 | 0) & i2 >>> 0 > i8 >>> 0) i7 = 9; else HEAP32[i6 + 104 >> 2] = i4 + (i2 + -1); - } else { - i3 = i5; - i7 = 9; - } - if ((i7 | 0) == 9) HEAP32[i6 + 104 >> 2] = i5; - i2 = i6 + 4 | 0; - if (!i3) i2 = HEAP32[i2 >> 2] | 0; else { - i2 = HEAP32[i2 >> 2] | 0; - i8 = i3 + 1 - i2 | 0; - i10 = i6 + 120 | 0; - i9 = i10; - i8 = _i64Add(HEAP32[i9 >> 2] | 0, HEAP32[i9 + 4 >> 2] | 0, i8 | 0, ((i8 | 0) < 0) << 31 >> 31 | 0) | 0; - i9 = getTempRet0() | 0; - HEAP32[i10 >> 2] = i8; - HEAP32[i10 + 4 >> 2] = i9; - } - i2 = i2 + -1 | 0; - if ((i1 | 0) != (HEAPU8[i2 >> 0] | 0 | 0)) HEAP8[i2 >> 0] = i1; - } else i7 = 4; - } - if ((i7 | 0) == 4) { - HEAP32[i6 + 104 >> 2] = 0; - i1 = -1; - } - return i1 | 0; -} - -function _decode_mcu_DC_refine(i1, i12) { - i1 = i1 | 0; - i12 = i12 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0; - i16 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i13 = i16; - i14 = HEAP32[i1 + 444 >> 2] | 0; - i15 = 1 << HEAP32[i1 + 412 >> 2]; - if (((HEAP32[i1 + 276 >> 2] | 0) != 0 ? (HEAP32[i14 + 40 >> 2] | 0) == 0 : 0) ? (_process_restart_49(i1) | 0) == 0 : 0) i1 = 0; else i2 = 4; - L4 : do if ((i2 | 0) == 4) { - HEAP32[i13 + 16 >> 2] = i1; - i8 = i1 + 24 | 0; - i10 = HEAP32[i8 >> 2] | 0; - HEAP32[i13 >> 2] = HEAP32[i10 >> 2]; - i9 = i13 + 4 | 0; - HEAP32[i9 >> 2] = HEAP32[i10 + 4 >> 2]; - i10 = i14 + 12 | 0; - i11 = i14 + 16 | 0; - i4 = i1 + 356 | 0; - i5 = i13 + 8 | 0; - i6 = i13 + 12 | 0; - i1 = HEAP32[i11 >> 2] | 0; - i2 = HEAP32[i10 >> 2] | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (HEAP32[i4 >> 2] | 0)) break; - i7 = HEAP32[i12 + (i3 << 2) >> 2] | 0; - if ((i1 | 0) < 1) { - if (!(_jpeg_fill_bit_buffer(i13, i2, i1, 1) | 0)) { - i1 = 0; - break L4; - } - i1 = HEAP32[i6 >> 2] | 0; - i2 = HEAP32[i5 >> 2] | 0; - } - i1 = i1 + -1 | 0; - if (1 << i1 & i2 | 0) HEAP16[i7 >> 1] = i15 | (HEAPU16[i7 >> 1] | 0); - i3 = i3 + 1 | 0; - } - i15 = HEAP32[i8 >> 2] | 0; - HEAP32[i15 >> 2] = HEAP32[i13 >> 2]; - HEAP32[i15 + 4 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i10 >> 2] = i2; - HEAP32[i11 >> 2] = i1; - i1 = i14 + 40 | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + -1; - i1 = 1; - } while (0); - STACKTOP = i16; - return i1 | 0; -} - -function __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE24__emplace_back_slow_pathIJEEEvDpOT_(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i2 = i6; - i3 = i1 + 4 | 0; - i4 = (((HEAP32[i3 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) | 0) / 24 | 0) + 1 | 0; - i5 = __ZNKSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE8max_sizeEv(i1) | 0; - if (i5 >>> 0 < i4 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i7 = HEAP32[i1 >> 2] | 0; - i9 = ((HEAP32[i1 + 8 >> 2] | 0) - i7 | 0) / 24 | 0; - i8 = i9 << 1; - __ZNSt3__214__split_bufferIN10__cxxabiv112_GLOBAL__N_111string_pairERNS2_11short_allocIS3_Lm4096EEEEC2EmmS6_(i2, i9 >>> 0 < i5 >>> 1 >>> 0 ? (i8 >>> 0 < i4 >>> 0 ? i4 : i8) : i5, ((HEAP32[i3 >> 2] | 0) - i7 | 0) / 24 | 0, i1 + 12 | 0); - i5 = i2 + 8 | 0; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - HEAP32[i4 + 8 >> 2] = 0; - HEAP32[i4 + 12 >> 2] = 0; - HEAP32[i4 + 16 >> 2] = 0; - HEAP32[i4 + 20 >> 2] = 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2Ev(i4); - HEAP32[i5 >> 2] = i4 + 24; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i1, i2); - __ZNSt3__214__split_bufferIN10__cxxabiv112_GLOBAL__N_111string_pairERNS2_11short_allocIS3_Lm4096EEEED2Ev(i2); - STACKTOP = i6; - return; +function jpeg_idct_7x14($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $21 = __stack_pointer - 400 | 0; + __stack_pointer = $21; + $25 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $21; + while (1) { + $16 = HEAP32[$1 + 192 >> 2]; + $8 = HEAP16[$2 + 96 >> 1]; + $9 = HEAP32[$1 + 64 >> 2]; + $13 = HEAP16[$2 + 32 >> 1]; + $7 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $10 = Math_imul(HEAP32[$1 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $15 = $7 + Math_imul($10, -11586) >> 11; + $11 = Math_imul(HEAP32[$1 + 224 >> 2], HEAP16[$2 + 112 >> 1]); + $6 = Math_imul(HEAP32[$1 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $5 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $17 = $6 - $5 | 0; + $12 = Math_imul(HEAP32[$1 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $14 = $11 + ($17 - $12 | 0) << 2; + HEAP32[$0 + 280 >> 2] = $15 - $14; + HEAP32[$0 + 84 >> 2] = $15 + $14; + $8 = Math_imul($8, $16); + $9 = Math_imul($9, $13); + $13 = Math_imul($8 + $9 | 0, 9058); + $15 = $13 + Math_imul($8, -14084) | 0; + $14 = Math_imul($10, 2578) + $7 | 0; + $18 = $15 + $14 | 0; + $16 = $11 << 13; + $11 = Math_imul($5 + $12 | 0, -1297) - $16 | 0; + $22 = Math_imul($5 + $6 | 0, 10935); + $19 = $11 + ($22 + Math_imul($5, -3474) | 0) | 0; + HEAP32[$0 + 336 >> 2] = $18 - $19 >> 11; + HEAP32[$0 + 28 >> 2] = $18 + $19 >> 11; + $8 = Math_imul($8, -11295) + Math_imul($9, 5027) | 0; + $18 = Math_imul($10, -7223) + $7 | 0; + $19 = $8 + $18 | 0; + $23 = $6 + $12 | 0; + $24 = Math_imul($23, 9810); + $11 = ($24 + Math_imul($12, -19447) | 0) + $11 | 0; + HEAP32[$0 + 308 >> 2] = $19 - $11 >> 11; + HEAP32[$0 + 56 >> 2] = $11 + $19 >> 11; + $11 = Math_imul($12 - $5 | 0, 11512); + $15 = $14 - $15 | 0; + $14 = $11 + Math_imul($5, 5529) | 0; + $5 = Math_imul($17, 3826) - $16 | 0; + $17 = $14 + $5 | 0; + HEAP32[$0 + 224 >> 2] = $15 - $17 >> 11; + HEAP32[$0 + 140 >> 2] = $15 + $17 >> 11; + $10 = Math_imul($10, 10438) + $7 | 0; + $7 = Math_imul($9, 2237) + $13 | 0; + $9 = $10 - $7 | 0; + $13 = Math_imul($23, 6164); + $5 = ($13 + Math_imul($6, -8693) | 0) + $5 | 0; + HEAP32[$0 + 196 >> 2] = $9 - $5 >> 11; + HEAP32[$0 + 168 >> 2] = $5 + $9 >> 11; + $5 = $7 + $10 | 0; + $6 = ((Math_imul($6, -9232) + $22 | 0) + $24 | 0) + $16 | 0; + HEAP32[$0 + 364 >> 2] = $5 - $6 >> 11; + HEAP32[$0 >> 2] = $5 + $6 >> 11; + $5 = $18 - $8 | 0; + $12 = ((Math_imul($12, -13850) + $11 | 0) + $13 | 0) + $16 | 0; + HEAP32[$0 + 252 >> 2] = $5 - $12 >> 11; + HEAP32[$0 + 112 >> 2] = $5 + $12 >> 11; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + $20 = $20 + 1 | 0; + if (($20 | 0) != 7) { + continue; + } + break; } -} + $2 = $25 - 384 | 0; + $0 = $21; + $12 = 0; + while (1) { + $5 = HEAP32[$0 + 4 >> 2]; + $6 = HEAP32[$0 + 12 >> 2]; + $8 = Math_imul($5 + $6 | 0, 7663); + $10 = HEAP32[$0 + 20 >> 2]; + $20 = Math_imul($10 + $5 | 0, 5027); + $9 = Math_imul($5 - $6 | 0, 1395); + $13 = $20 + ($8 - $9 | 0) | 0; + $5 = HEAP32[$0 + 16 >> 2]; + $7 = HEAP32[$0 + 24 >> 2]; + $15 = Math_imul($5 - $7 | 0, 7223); + $16 = HEAP32[$0 + 8 >> 2]; + $17 = $16 + $7 | 0; + $1 = HEAP32[($12 << 2) + $3 >> 2] + $4 | 0; + $14 = $15 + Math_imul($7, -637) | 0; + $7 = (HEAP32[$0 >> 2] << 13) + 134348800 | 0; + $11 = $7 + Math_imul($17, 10438) | 0; + $14 = $14 + $11 | 0; + HEAP8[$1 | 0] = HEAPU8[($14 + $13 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 6 | 0] = HEAPU8[($14 - $13 >>> 18 & 1023) + $2 | 0]; + $6 = Math_imul($6 + $10 | 0, -11295); + $8 = $6 + ($8 + $9 | 0) | 0; + $9 = Math_imul($16 - $5 | 0, 2578); + $13 = ($9 + (Math_imul($5, -15083) + $7 | 0) | 0) + $15 | 0; + HEAP8[$1 + 1 | 0] = HEAPU8[($8 + $13 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 5 | 0] = HEAPU8[($13 - $8 >>> 18 & 1023) + $2 | 0]; + $6 = (Math_imul($10, 15326) + $20 | 0) + $6 | 0; + $10 = (Math_imul($16, -20239) + $9 | 0) + $11 | 0; + HEAP8[$1 + 2 | 0] = HEAPU8[($6 + $10 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 4 | 0] = HEAPU8[($10 - $6 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 3 | 0] = HEAPU8[(Math_imul($5 - $17 | 0, 11585) + $7 >>> 18 & 1023) + $2 | 0]; + $0 = $0 + 28 | 0; + $12 = $12 + 1 | 0; + if (($12 | 0) != 14) { + continue; + } + break; + } + __stack_pointer = $21 + 400 | 0; +} + +function std____2____num_put_char_____widen_and_group_float_28char__2c_20char__2c_20char__2c_20char__2c_20char___2c_20char___2c_20std____2__locale_20const__29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0; + $10 = __stack_pointer - 16 | 0; + __stack_pointer = $10; + $11 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($6); + $13 = std____2__numpunct_char__20const__20std____2__use_facet_std____2__numpunct_char___28std____2__locale_20const__29($6); + std____2__numpunct_char___grouping_28_29_20const($10, $13); + HEAP32[$5 >> 2] = $3; + label$1: { + label$2: { + $8 = $0; + $6 = HEAPU8[$8 | 0]; + switch ($6 - 43 | 0) { + case 0: + case 2: + break label$2; -function _free_pool(i6, i4) { - i6 = i6 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i7 = 0; - i5 = HEAP32[i6 + 4 >> 2] | 0; - if (i4 >>> 0 <= 1) { - if ((i4 | 0) == 1) { - i3 = i5 + 68 | 0; - i1 = i3; - while (1) { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) break; - i2 = i1 + 40 | 0; - if (HEAP32[i2 >> 2] | 0) { - HEAP32[i2 >> 2] = 0; - FUNCTION_TABLE_vii[HEAP32[i1 + 56 >> 2] & 63](i6, i1 + 48 | 0); - } - i1 = i1 + 44 | 0; - } - HEAP32[i3 >> 2] = 0; - i3 = i5 + 72 | 0; - i1 = i3; + default: + break label$1; + } + } + $6 = std____2__ctype_char___widen_28char_29_20const($11, $6 << 24 >> 24); + $7 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $7 + 1; + HEAP8[$7 | 0] = $6; + $8 = $0 + 1 | 0; + } + label$3: { + $6 = $8; + if (!(($2 - $6 | 0) <= 1 | HEAPU8[$6 | 0] != 48 | (HEAPU8[$6 + 1 | 0] | 32) != 120)) { + $6 = std____2__ctype_char___widen_28char_29_20const($11, 48); + $7 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $7 + 1; + HEAP8[$7 | 0] = $6; + $6 = std____2__ctype_char___widen_28char_29_20const($11, HEAP8[$8 + 1 | 0]); + $7 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $7 + 1; + HEAP8[$7 | 0] = $6; + $8 = $8 + 2 | 0; + $6 = $8; while (1) { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) break; - i2 = i1 + 40 | 0; - if (HEAP32[i2 >> 2] | 0) { - HEAP32[i2 >> 2] = 0; - FUNCTION_TABLE_vii[HEAP32[i1 + 56 >> 2] & 63](i6, i1 + 48 | 0); + if ($2 >>> 0 <= $6 >>> 0) { + break label$3; } - i1 = i1 + 44 | 0; + if (!__isxdigit_l(HEAP8[$6 | 0], std____2____cloc_28_29())) { + break label$3; + } + $6 = $6 + 1 | 0; + continue; } - HEAP32[i3 >> 2] = 0; } - } else { - i3 = HEAP32[i6 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 14; - HEAP32[i3 + 24 >> 2] = i4; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i6 >> 2] >> 2] & 255](i6); - } - i2 = i5 + 60 + (i4 << 2) | 0; - i1 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = 0; - i2 = i5 + 76 | 0; - while (1) { - if (!i1) break; - i3 = HEAP32[i1 >> 2] | 0; - i7 = (HEAP32[i1 + 4 >> 2] | 0) + 16 + (HEAP32[i1 + 8 >> 2] | 0) | 0; - _jpeg_free_large(i6, i1, i7); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) - i7; - i1 = i3; - } - i7 = i5 + 52 + (i4 << 2) | 0; - i1 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = 0; - while (1) { - if (!i1) break; - i7 = HEAP32[i1 >> 2] | 0; - i5 = (HEAP32[i1 + 4 >> 2] | 0) + 16 + (HEAP32[i1 + 8 >> 2] | 0) | 0; - _jpeg_free_small(i6, i1, i5); - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) - i5; - i1 = i7; - } - return; -} - -function _mbtowc(i1, i6, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i5 = 0, i7 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i7; - L1 : do if (!i6) i1 = 0; else { - do if (i4 | 0) { - i5 = (i1 | 0) == 0 ? i2 : i1; - i1 = HEAP8[i6 >> 0] | 0; - if (i1 << 24 >> 24 > -1) { - HEAP32[i5 >> 2] = i1 & 255; - i1 = i1 << 24 >> 24 != 0 & 1; - break L1; - } - i3 = (___pthread_self_293() | 0) + 188 | 0; - i1 = HEAP8[i6 >> 0] | 0; - if (!(HEAP32[HEAP32[i3 >> 2] >> 2] | 0)) { - HEAP32[i5 >> 2] = i1 << 24 >> 24 & 57343; - i1 = 1; - break L1; - } - i1 = (i1 & 255) + -194 | 0; - if (i1 >>> 0 <= 50) { - i2 = i6 + 1 | 0; - i3 = HEAP32[3472 + (i1 << 2) >> 2] | 0; - if (i4 >>> 0 < 4 ? i3 & -2147483648 >>> ((i4 * 6 | 0) + -6 | 0) | 0 : 0) break; - i1 = HEAPU8[i2 >> 0] | 0; - i4 = i1 >>> 3; - if ((i4 + -16 | i4 + (i3 >> 26)) >>> 0 <= 7) { - i1 = i1 + -128 | i3 << 6; - if ((i1 | 0) >= 0) { - HEAP32[i5 >> 2] = i1; - i1 = 2; - break L1; - } - i2 = (HEAPU8[i6 + 2 >> 0] | 0) + -128 | 0; - if (i2 >>> 0 <= 63) { - i2 = i2 | i1 << 6; - if ((i2 | 0) >= 0) { - HEAP32[i5 >> 2] = i2; - i1 = 3; - break L1; - } - i1 = (HEAPU8[i6 + 3 >> 0] | 0) + -128 | 0; - if (i1 >>> 0 <= 63) { - HEAP32[i5 >> 2] = i1 | i2 << 6; - i1 = 4; - break L1; - } - } - } - } - } while (0); - i1 = ___errno_location() | 0; - HEAP32[i1 >> 2] = 84; - i1 = -1; - } while (0); - STACKTOP = i7; - return i1 | 0; -} - -function _setMarkerInfoVertex(i1, i3) { - i1 = i1 | 0; - i3 = i3 | 0; - var i2 = 0, i4 = 0, d5 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0, d9 = 0.0, d10 = 0.0, d11 = 0.0, d12 = 0.0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i4; - HEAP32[i2 >> 2] = i1; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0) { - i1 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0) + 216 | 0; - i1 = HEAP32[i1 >> 2] | 0; - if ((HEAP32[i1 + 44 >> 2] | 0) > (i3 | 0)) { - i1 = (i3 | 0) < 0 ? 55240 : i1 + 48 + (i3 << 8) | 0; - d12 = +HEAPF64[6444]; - HEAPF64[i1 + 168 >> 3] = d12; - d8 = +HEAPF64[6445]; - HEAPF64[i1 + 176 >> 3] = d8; - d11 = +HEAPF64[6446]; - HEAPF64[i1 + 184 >> 3] = d11; - d7 = +HEAPF64[6447]; - HEAPF64[i1 + 192 >> 3] = d7; - d10 = +HEAPF64[6448]; - HEAPF64[i1 + 200 >> 3] = d10; - d6 = +HEAPF64[6449]; - HEAPF64[i1 + 208 >> 3] = d6; - d9 = +HEAPF64[6450]; - HEAPF64[i1 + 216 >> 3] = d9; - d5 = +HEAPF64[6451]; - HEAPF64[i1 + 224 >> 3] = d5; - HEAPF64[i1 + 56 >> 3] = (d12 + d11 + d10 + d9) * .25; - HEAPF64[i1 + 64 >> 3] = (d8 + d7 + d6 + d5) * .25; - i1 = 0; - break; - } else { - i1 = HEAP32[3415] | 0; - break; + while (1) { + if ($2 >>> 0 <= $6 >>> 0) { + break label$3; + } + if (!__isdigit_l(HEAP8[$6 | 0], std____2____cloc_28_29())) { + break label$3; + } + $6 = $6 + 1 | 0; + continue; } - } else i1 = HEAP32[3413] | 0; while (0); - STACKTOP = i4; - return i1 | 0; -} - -function __ZN6vision27OrthogonalizePivot8x9Basis3IfEEbPT_S2_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i6 = i5; - i3 = i1 + 108 | 0; - i11 = i1 + 72 | 0; - i4 = i2 + 108 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i3, i11, i4); - i10 = i1 + 144 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i10, i11, i2 + 144 | 0); - i9 = i1 + 180 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i9, i11, i2 + 180 | 0); - i8 = i1 + 216 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i8, i11, i2 + 216 | 0); - i1 = i1 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i1, i11, i2 + 252 | 0); - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i3); - HEAPF32[i6 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i10); - HEAPF32[i6 + 4 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i9); - HEAPF32[i6 + 8 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i8); - HEAPF32[i6 + 12 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i1); - HEAPF32[i6 + 16 >> 2] = d7; - i1 = __ZN6vision9MaxIndex5IfEEiPKT_(i6) | 0; - i2 = i6 + (i1 << 2) | 0; - if (+HEAPF32[i2 >> 2] == 0.0) i1 = 0; else { - i1 = i1 * 9 | 0; - __ZN6vision5Swap9IfEEvPT_S2_(i3, i3 + (i1 << 2) | 0); - __ZN6vision5Swap9IfEEvPT_S2_(i4, i4 + (i1 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_(i3, i3, 1.0 / +Math_sqrt(+(+HEAPF32[i2 >> 2]))); - i1 = 1; - } - STACKTOP = i5; - return i1 | 0; -} - -function _addMultiMarker(i1, i3) { - i1 = i1 | 0; - i3 = i3 | 0; - var i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i8 + 8 | 0; - i2 = i8 + 12 | 0; - i7 = i8; - HEAP32[i2 >> 2] = i1; - do if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = -1; else { - i6 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0; - if ((HEAP8[i3 + 11 >> 0] | 0) < 0) i1 = HEAP32[i3 >> 2] | 0; else i1 = i3; - i4 = i6 + 224 | 0; - if (!(__ZL15loadMultiMarkerPKcP8ARHandlePP12ARPattHandlePP18ARMultiMarkerInfoT(i1, HEAP32[i6 + 216 >> 2] | 0, i6 + 220 | 0, i4) | 0)) { - _arLog(0, 3, 44223, i5); - i1 = -1; - break; + } + label$7: { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____empty_28_29_20const($10)) { + std____2__ctype_char___widen_28char_20const__2c_20char_20const__2c_20char__29_20const($11, $8, $6, HEAP32[$5 >> 2]); + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + ($6 - $8 | 0); + break label$7; } - i1 = i6 + 280 | 0; - i2 = i6 + 284 | 0; - i3 = HEAP32[i2 >> 2] | 0; - HEAP32[i7 >> 2] = i3 - (HEAP32[i1 >> 2] | 0) >> 3; - HEAP32[i7 + 4 >> 2] = HEAP32[i4 >> 2]; - if ((HEAP32[i6 + 288 >> 2] | 0) == (i3 | 0)) __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE21__push_back_slow_pathIRKS1_EEvOT_(i1, i7); else { - i4 = i7; - i5 = HEAP32[i4 + 4 >> 2] | 0; - i6 = i3; - HEAP32[i6 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i6 + 4 >> 2] = i5; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 8; - } - i1 = HEAP32[i7 >> 2] | 0; - } while (0); - STACKTOP = i8; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairaSEOS1_(i4, i2) { - i4 = i4 | 0; - i2 = i2 | 0; - var i1 = 0, i3 = 0, i5 = 0, i6 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i6; - i1 = i4 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i3 = HEAP32[i4 >> 2] | 0; - HEAP8[i5 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i3, i5); - HEAP32[i4 + 4 >> 2] = 0; - } else { - HEAP8[i5 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i4, i5); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i4); - HEAP32[i4 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i4 + 4 >> 2] = HEAP32[i2 + 4 >> 2]; - HEAP32[i4 + 8 >> 2] = HEAP32[i2 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i3 = i4 + 12 | 0; - i2 = i2 + 12 | 0; - i1 = i3 + 11 | 0; - if ((HEAP8[i1 >> 0] | 0) < 0) { - i1 = HEAP32[i3 >> 2] | 0; - HEAP8[i5 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i5); - HEAP32[i4 + 16 >> 2] = 0; - } else { - HEAP8[i5 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i3, i5); - HEAP8[i1 >> 0] = 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7reserveEm(i3); - HEAP32[i3 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i3 + 4 >> 2] = HEAP32[i2 + 4 >> 2]; - HEAP32[i3 + 8 >> 2] = HEAP32[i2 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - STACKTOP = i6; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm(i8, i1) { - i8 = i8 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0; - if (i1 >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i8); - i6 = i8 + 11 | 0; - i4 = HEAP8[i6 >> 0] | 0; - i5 = i4 << 24 >> 24 < 0; - if (i5) { - i9 = HEAP32[i8 + 4 >> 2] | 0; - i2 = (HEAP32[i8 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - i9 = i4 & 255; - i2 = 10; - } - i7 = i9 >>> 0 > i1 >>> 0 ? i9 : i1; - i1 = i7 >>> 0 < 11; - i7 = i1 ? 10 : (i7 + 16 & -16) + -1 | 0; - do if ((i7 | 0) != (i2 | 0)) { - do if (i1) { - i1 = HEAP32[i8 >> 2] | 0; - if (i5) { - i4 = 0; - i2 = i1; - i3 = i8; - i5 = 13; - } else { - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i8, i1, (i4 & 255) + 1 | 0) | 0; - __ZdlPv(i1); - i5 = 16; - } - } else { - i2 = i7 + 1 | 0; - i3 = __Znwm(i2) | 0; - if (i5) { - i4 = 1; - i2 = HEAP32[i8 >> 2] | 0; - i5 = 13; - break; + void_20std____2__reverse_char___28char__2c_20char__29($8, $6); + $15 = std____2__numpunct_char___thousands_sep_28_29_20const($13); + $7 = $8; + while (1) { + if ($6 >>> 0 <= $7 >>> 0) { + void_20std____2__reverse_char___28char__2c_20char__29(($8 - $0 | 0) + $3 | 0, HEAP32[$5 >> 2]); } else { - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i3, i8, (i4 & 255) + 1 | 0) | 0; - i1 = i8 + 4 | 0; - i5 = 15; - break; + label$12: { + if (HEAP8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($10, $12) | 0] <= 0) { + break label$12; + } + if (HEAP8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($10, $12) | 0] != ($9 | 0)) { + break label$12; + } + $9 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $9 + 1; + HEAP8[$9 | 0] = $15; + $12 = (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($10) - 1 >>> 0 > $12 >>> 0) + $12 | 0; + $9 = 0; + } + $16 = std____2__ctype_char___widen_28char_29_20const($11, HEAP8[$7 | 0]); + $14 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $14 + 1; + HEAP8[$14 | 0] = $16; + $7 = $7 + 1 | 0; + $9 = $9 + 1 | 0; + continue; } - } while (0); - if ((i5 | 0) == 13) { - i1 = i8 + 4 | 0; - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i3, i2, (HEAP32[i1 >> 2] | 0) + 1 | 0) | 0; - __ZdlPv(i2); - if (i4) { - i2 = i7 + 1 | 0; - i5 = 15; - } else i5 = 16; - } - if ((i5 | 0) == 15) { - HEAP32[i8 + 8 >> 2] = i2 | -2147483648; - HEAP32[i1 >> 2] = i9; - HEAP32[i8 >> 2] = i3; - break; - } else if ((i5 | 0) == 16) { - HEAP8[i6 >> 0] = i9; break; } - } while (0); - return; -} - -function _create_colormap(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0; - i12 = HEAP32[i3 + 460 >> 2] | 0; - i1 = i12 + 32 | 0; - i13 = _select_ncolors(i3, i1) | 0; - i14 = i3 + 120 | 0; - i2 = HEAP32[i3 >> 2] | 0; - if ((HEAP32[i14 >> 2] | 0) == 3) { - HEAP32[i2 + 24 >> 2] = i13; - HEAP32[i2 + 28 >> 2] = HEAP32[i1 >> 2]; - HEAP32[i2 + 32 >> 2] = HEAP32[i12 + 36 >> 2]; - HEAP32[i2 + 36 >> 2] = HEAP32[i12 + 40 >> 2]; - HEAP32[i2 + 20 >> 2] = 94; - FUNCTION_TABLE_vii[HEAP32[i2 + 4 >> 2] & 63](i3, 1); - i1 = i3; - } else { - HEAP32[i2 + 20 >> 2] = 95; - HEAP32[i2 + 24 >> 2] = i13; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 4 >> 2] & 63](i3, 1); - i1 = i3; - } - i6 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i3 + 4 >> 2] | 0) + 8 >> 2] & 15](i1, 1, i13, HEAP32[i14 >> 2] | 0) | 0; - i1 = 0; - i4 = i13; + } while (1) { - if ((i1 | 0) >= (HEAP32[i14 >> 2] | 0)) break; - i7 = HEAP32[i12 + 32 + (i1 << 2) >> 2] | 0; - i8 = (i4 | 0) / (i7 | 0) | 0; - i9 = i7 + -1 | 0; - i10 = i6 + (i1 << 2) | 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i7 | 0)) break; - i11 = (_output_value(i2, i9) | 0) & 255; - i3 = Math_imul(i2, i8) | 0; - while (1) { - if ((i3 | 0) >= (i13 | 0)) break; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i8 | 0)) break; - HEAP8[(HEAP32[i10 >> 2] | 0) + (i5 + i3) >> 0] = i11; - i5 = i5 + 1 | 0; - } - i3 = i3 + i4 | 0; - } - i2 = i2 + 1 | 0; - } - i1 = i1 + 1 | 0; - i4 = i8; - } - HEAP32[i12 + 16 >> 2] = i6; - HEAP32[i12 + 20 >> 2] = i13; - return; -} - -function _get_dri(i5) { - i5 = i5 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0; - i6 = HEAP32[i5 + 24 >> 2] | 0; - i7 = i6 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - if (!i1) if (!(FUNCTION_TABLE_ii[HEAP32[i6 + 12 >> 2] & 127](i5) | 0)) i1 = 0; else { - i1 = HEAP32[i7 >> 2] | 0; - i2 = 4; - } else i2 = 4; - do if ((i2 | 0) == 4) { - i4 = HEAP32[i6 >> 2] | 0; - i1 = i1 + -1 | 0; - i2 = i4 + 1 | 0; - i4 = (HEAPU8[i4 >> 0] | 0) << 8; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i6 + 12 >> 2] & 127](i5) | 0)) { - i1 = 0; - break; + label$14: { + if ($2 >>> 0 > $6 >>> 0) { + $7 = HEAPU8[$6 | 0]; + if (($7 | 0) != 46) { + break label$14; + } + $7 = std____2__numpunct_char___decimal_point_28_29_20const($13); + $9 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $9 + 1; + HEAP8[$9 | 0] = $7; + $6 = $6 + 1 | 0; + } + std____2__ctype_char___widen_28char_20const__2c_20char_20const__2c_20char__29_20const($11, $6, $2, HEAP32[$5 >> 2]); + $6 = HEAP32[$5 >> 2] + ($2 - $6 | 0) | 0; + HEAP32[$5 >> 2] = $6; + HEAP32[$4 >> 2] = ($1 | 0) == ($2 | 0) ? $6 : ($1 - $0 | 0) + $3 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + __stack_pointer = $10 + 16 | 0; + return; + } + $7 = std____2__ctype_char___widen_28char_29_20const($11, $7 << 24 >> 24); + $9 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $9 + 1; + HEAP8[$9 | 0] = $7; + $6 = $6 + 1 | 0; + continue; + } +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseClassEnumType_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer + -64 | 0; + __stack_pointer = $2; + $5 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28_29($2 + 56 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 48 | 0, 30383); + $4 = HEAP32[$3 >> 2]; + $1 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $1; + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 16 | 0)) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 29700); + $1 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + $3 = $1; + $1 = $5; + HEAP32[$1 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $4; + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 28630); + $4 = HEAP32[$3 >> 2]; + $1 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $1; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 8 | 0)) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 31142); + $1 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + $3 = $1; + $1 = $5; + HEAP32[$1 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $4; + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 32747); + $4 = HEAP32[$3 >> 2]; + $1 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $1; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2)) { + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 31247); + $1 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + $3 = $1; + $1 = $5; + HEAP32[$1 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $4; + } + $4 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, 0); + HEAP32[$2 + 40 >> 2] = $4; + $1 = 0; + label$4: { + if (!$4) { + break label$4; + } + $1 = $4; + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($5)) { + break label$4; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ElaboratedTypeSpefType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $5, $2 + 40 | 0); + } + __stack_pointer = $2 - -64 | 0; + return $1; +} + +function try_realloc_chunk($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = HEAP32[$0 + 4 >> 2]; + $2 = $6 & -8; + label$1: { + if (!($6 & 3)) { + if ($1 >>> 0 < 256) { + return 0; } - i1 = HEAP32[i7 >> 2] | 0; - i3 = HEAP32[i6 >> 2] | 0; - } else i3 = i2; - i1 = i1 + -1 | 0; - i2 = i3 + 1 | 0; - if ((i4 | (HEAPU8[i3 >> 0] | 0) | 0) != 4) { - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i4 + 20 >> 2] = 11; - FUNCTION_TABLE_vi[HEAP32[i4 >> 2] & 255](i5); - } - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i6 + 12 >> 2] & 127](i5) | 0)) { - i1 = 0; - break; + if ($1 + 4 >>> 0 <= $2 >>> 0) { + $3 = $0; + if ($2 - $1 >>> 0 <= HEAP32[20048] << 1 >>> 0) { + break label$1; + } } - i1 = HEAP32[i7 >> 2] | 0; - i2 = HEAP32[i6 >> 2] | 0; + return 0; } - i3 = i1 + -1 | 0; - i1 = i2 + 1 | 0; - i4 = (HEAPU8[i2 >> 0] | 0) << 8; - if (!i3) { - if (!(FUNCTION_TABLE_ii[HEAP32[i6 + 12 >> 2] & 127](i5) | 0)) { - i1 = 0; - break; - } - i2 = HEAP32[i7 >> 2] | 0; - i1 = HEAP32[i6 >> 2] | 0; - } else i2 = i3; - i4 = i4 | (HEAPU8[i1 >> 0] | 0); - i3 = HEAP32[i5 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 82; - HEAP32[i3 + 24 >> 2] = i4; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i5 >> 2] | 0) + 4 >> 2] & 63](i5, 1); - HEAP32[i5 + 276 >> 2] = i4; - HEAP32[i6 >> 2] = i1 + 1; - HEAP32[i7 >> 2] = i2 + -1; - i1 = 1; - } while (0); - return i1 | 0; -} - -function _jpeg_start_decompress(i6) { - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0; - i1 = i6 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - L1 : do switch (i2 | 0) { - case 202: - { - _jinit_master_decompress(i6); - if (!(HEAP32[i6 + 64 >> 2] | 0)) { - HEAP32[i1 >> 2] = 203; - i9 = 5; - break L1; - } else { - HEAP32[i1 >> 2] = 207; - i1 = 1; - break L1; + $5 = $0 + $2 | 0; + label$5: { + if ($1 >>> 0 <= $2 >>> 0) { + $2 = $2 - $1 | 0; + if ($2 >>> 0 < 16) { + break label$5; + } + HEAP32[$0 + 4 >> 2] = $6 & 1 | $1 | 2; + $1 = $0 + $1 | 0; + HEAP32[$1 + 4 >> 2] = $2 | 3; + HEAP32[$5 + 4 >> 2] = HEAP32[$5 + 4 >> 2] | 1; + dispose_chunk($1, $2); + break label$5; + } + if (HEAP32[19934] == ($5 | 0)) { + $2 = HEAP32[19931] + $2 | 0; + if ($2 >>> 0 <= $1 >>> 0) { + break label$1; + } + HEAP32[$0 + 4 >> 2] = $6 & 1 | $1 | 2; + $6 = $0 + $1 | 0; + $1 = $2 - $1 | 0; + HEAP32[$6 + 4 >> 2] = $1 | 1; + HEAP32[19931] = $1; + HEAP32[19934] = $6; + break label$5; + } + if (HEAP32[19933] == ($5 | 0)) { + $2 = HEAP32[19930] + $2 | 0; + if ($2 >>> 0 < $1 >>> 0) { + break label$1; + } + $3 = $2 - $1 | 0; + label$9: { + if ($3 >>> 0 >= 16) { + HEAP32[$0 + 4 >> 2] = $6 & 1 | $1 | 2; + $1 = $0 + $1 | 0; + HEAP32[$1 + 4 >> 2] = $3 | 1; + $2 = $0 + $2 | 0; + HEAP32[$2 >> 2] = $3; + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] & -2; + break label$9; + } + HEAP32[$0 + 4 >> 2] = $6 & 1 | $2 | 2; + $1 = $0 + $2 | 0; + HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] | 1; + $3 = 0; + $1 = 0; + } + HEAP32[19933] = $1; + HEAP32[19930] = $3; + break label$5; + } + $4 = HEAP32[$5 + 4 >> 2]; + if ($4 & 2) { + break label$1; + } + $7 = ($4 & -8) + $2 | 0; + if ($7 >>> 0 < $1 >>> 0) { + break label$1; + } + $10 = $7 - $1 | 0; + label$11: { + if ($4 >>> 0 <= 255) { + $2 = HEAP32[$5 + 8 >> 2]; + $8 = $4 >>> 3 | 0; + $4 = ($8 << 3) + 79752 | 0; + $3 = HEAP32[$5 + 12 >> 2]; + if (($3 | 0) == ($2 | 0)) { + wasm2js_i32$0 = 79712, wasm2js_i32$1 = HEAP32[19928] & __wasm_rotl_i32(-2, $8), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$11; + } + HEAP32[$2 + 12 >> 2] = $3; + HEAP32[$3 + 8 >> 2] = $2; + break label$11; + } + $9 = HEAP32[$5 + 24 >> 2]; + $4 = HEAP32[$5 + 12 >> 2]; + label$14: { + if (($5 | 0) != ($4 | 0)) { + $2 = HEAP32[$5 + 8 >> 2]; + HEAP32[$2 + 12 >> 2] = $4; + HEAP32[$4 + 8 >> 2] = $2; + break label$14; + } + label$16: { + $2 = $5 + 20 | 0; + $3 = HEAP32[$2 >> 2]; + if ($3) { + break label$16; + } + $2 = $5 + 16 | 0; + $3 = HEAP32[$2 >> 2]; + if ($3) { + break label$16; + } + $4 = 0; + break label$14; + } + while (1) { + $8 = $2; + $4 = $3; + $2 = $4 + 20 | 0; + $3 = HEAP32[$2 >> 2]; + if ($3) { + continue; + } + $2 = $4 + 16 | 0; + $3 = HEAP32[$4 + 16 >> 2]; + if ($3) { + continue; + } + break; + } + HEAP32[$8 >> 2] = 0; + } + if (!$9) { + break label$11; + } + $3 = HEAP32[$5 + 28 >> 2]; + $2 = ($3 << 2) + 80016 | 0; + label$18: { + if (HEAP32[$2 >> 2] == ($5 | 0)) { + HEAP32[$2 >> 2] = $4; + if ($4) { + break label$18; + } + wasm2js_i32$0 = 79716, wasm2js_i32$1 = HEAP32[19929] & __wasm_rotl_i32(-2, $3), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$11; + } + HEAP32[(HEAP32[$9 + 16 >> 2] == ($5 | 0) ? 16 : 20) + $9 >> 2] = $4; + if (!$4) { + break label$11; + } + } + HEAP32[$4 + 24 >> 2] = $9; + $2 = HEAP32[$5 + 16 >> 2]; + if ($2) { + HEAP32[$4 + 16 >> 2] = $2; + HEAP32[$2 + 24 >> 2] = $4; + } + $2 = HEAP32[$5 + 20 >> 2]; + if (!$2) { + break label$11; + } + HEAP32[$4 + 20 >> 2] = $2; + HEAP32[$2 + 24 >> 2] = $4; + } + if ($10 >>> 0 <= 15) { + HEAP32[$0 + 4 >> 2] = $6 & 1 | $7 | 2; + $1 = $0 + $7 | 0; + HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] | 1; + break label$5; + } + HEAP32[$0 + 4 >> 2] = $6 & 1 | $1 | 2; + $1 = $0 + $1 | 0; + HEAP32[$1 + 4 >> 2] = $10 | 3; + $2 = $0 + $7 | 0; + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] | 1; + dispose_chunk($1, $10); + } + $3 = $0; + } + return $3; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBaseUnresolvedName_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $1 = __stack_pointer - 48 | 0; + __stack_pointer = $1; + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) - 48 >>> 0 <= 9) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSimpleId_28_29($0); + break label$1; + } + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 40 | 0, 31152); + $2 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$1 + 16 >> 2] = $2; + HEAP32[$1 + 20 >> 2] = $3; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 16 | 0)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseDestructorName_28_29($0); + break label$1; + } + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 32 | 0, 31149); + $3 = HEAP32[$4 >> 2]; + $2 = HEAP32[$4 + 4 >> 2]; + HEAP32[$1 + 8 >> 2] = $3; + HEAP32[$1 + 12 >> 2] = $2; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1 + 8 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseOperatorName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, 0); + HEAP32[$1 + 28 >> 2] = $3; + $2 = 0; + if (!$3) { + break label$1; + } + $2 = $3; + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) != 73) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArgs_28bool_29($0, 0); + HEAP32[$1 + 24 >> 2] = $2; + if ($2) { + $5 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 28 | 0, $1 + 24 | 0); + } + $2 = $5; + } + __stack_pointer = $1 + 48 | 0; + return $2; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____rehash_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = Math_fround(0), $5 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + label$1: { + if (($1 | 0) == 1) { + $1 = 2; + } else { + if (!($1 - 1 & $1)) { + break label$1; } + $1 = std____2____next_prime_28unsigned_20long_29($1); } - case 203: - { - i9 = 5; - break; + HEAP32[$2 + 12 >> 2] = $1; + } + $3 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____bucket_count_28_29_20const($0); + label$4: { + if ($3 >>> 0 < $1 >>> 0) { + std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______rehash_28unsigned_20long_29($0, $1); + break label$4; } - case 204: - { - i9 = 16; - break; + if ($1 >>> 0 >= $3 >>> 0) { + break label$4; } - default: - { - i9 = HEAP32[i6 >> 2] | 0; - HEAP32[i9 + 20 >> 2] = 20; - HEAP32[i9 + 24 >> 2] = i2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i6 >> 2] >> 2] & 255](i6); - i9 = 16; - } - } while (0); - L7 : do if ((i9 | 0) == 5) { - i5 = i6 + 436 | 0; - L9 : do if (HEAP32[(HEAP32[i5 >> 2] | 0) + 16 >> 2] | 0) { - i3 = i6 + 8 | 0; - i4 = i6 + 320 | 0; - i1 = HEAP32[i3 >> 2] | 0; - while (1) { - if (i1 | 0) FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i6); - i1 = FUNCTION_TABLE_ii[HEAP32[HEAP32[i5 >> 2] >> 2] & 127](i6) | 0; - switch (i1 | 0) { - case 0: - break L7; - case 2: - break L9; - default: - {} - } - i2 = HEAP32[i3 >> 2] | 0; - if ((i1 | 2 | 0) == 3 & (i2 | 0) != 0 ? (i7 = i2 + 4 | 0, i1 = (HEAP32[i7 >> 2] | 0) + 1 | 0, HEAP32[i7 >> 2] = i1, i7 = i2 + 8 | 0, i8 = HEAP32[i7 >> 2] | 0, (i1 | 0) >= (i8 | 0)) : 0) HEAP32[i7 >> 2] = (HEAP32[i4 >> 2] | 0) + i8; - i1 = i2; - } - } while (0); - HEAP32[i6 + 152 >> 2] = HEAP32[i6 + 144 >> 2]; - i9 = 16; - } while (0); - if ((i9 | 0) == 16) i1 = _output_pass_setup(i6) | 0; - return i1 | 0; -} - -function __ZNSt3__26vectorIhNS_9allocatorIhEEE6assignIPhEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIhNS_15iterator_traitsIS7_E9referenceEEE5valueEvE4typeES7_S7_(i7, i8, i9) { - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i10 = 0; - i5 = i8; - i10 = i9 - i5 | 0; - i2 = i7 + 8 | 0; - i1 = HEAP32[i7 >> 2] | 0; - i6 = i1; - do if (i10 >>> 0 > ((HEAP32[i2 >> 2] | 0) - i1 | 0) >>> 0) { - __ZNSt3__26vectorIhNS_9allocatorIhEEE10deallocateEv(i7); - i1 = __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv(i7) | 0; - if (i1 >>> 0 < i10 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i7); else { - i5 = (HEAP32[i2 >> 2] | 0) - (HEAP32[i7 >> 2] | 0) | 0; - i6 = i5 << 1; - __ZNSt3__26vectorIhNS_9allocatorIhEEE8allocateEm(i7, i5 >>> 0 < i1 >>> 1 >>> 0 ? (i6 >>> 0 < i10 >>> 0 ? i10 : i6) : i1); - __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endIPhEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_m(i7, i8, i9, i10); - break; + $1 = std____2____is_hash_power2_28unsigned_20long_29($3); + $4 = ceil_28float_29(Math_fround(Math_fround(HEAPU32[std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____size_28_29($0) >> 2]) / HEAPF32[std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____max_load_factor_28_29($0) >> 2])); + label$6: { + if ($4 < Math_fround(4294967296) & $4 >= Math_fround(0)) { + $5 = ~~$4 >>> 0; + break label$6; + } + $5 = 0; } - } else { - i4 = i7 + 4 | 0; - i3 = (HEAP32[i4 >> 2] | 0) - i1 | 0; - i2 = i10 >>> 0 > i3 >>> 0; - i3 = i2 ? i8 + i3 | 0 : i9; - i1 = i3 - i5 | 0; - if (i1 | 0) _memmove(i6 | 0, i8 | 0, i1 | 0) | 0; - if (i2) { - __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endIPhEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_m(i7, i3, i9, i10 - (HEAP32[i4 >> 2] | 0) + (HEAP32[i7 >> 2] | 0) | 0); - break; - } else { - HEAP32[i4 >> 2] = i6 + i1; - break; + label$8: { + if ($1) { + $1 = std____2____next_hash_pow2_28unsigned_20long_29($5); + break label$8; + } + $1 = std____2____next_prime_28unsigned_20long_29($5); } - } while (0); - return; -} - -function _ycck_cmyk_convert(i1, i18, i2, i3, i4) { - i1 = i1 | 0; - i18 = i18 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i19 = 0, i20 = 0, i21 = 0, i22 = 0; - i14 = HEAP32[i1 + 456 >> 2] | 0; - i19 = HEAP32[i1 + 112 >> 2] | 0; - i10 = HEAP32[i1 + 324 >> 2] | 0; - i11 = HEAP32[i14 + 8 >> 2] | 0; - i12 = HEAP32[i14 + 12 >> 2] | 0; - i13 = HEAP32[i14 + 16 >> 2] | 0; - i14 = HEAP32[i14 + 20 >> 2] | 0; - i15 = i18 + 4 | 0; - i16 = i18 + 8 | 0; - i17 = i18 + 12 | 0; - i1 = i4; - while (1) { - i9 = i1 + -1 | 0; - if ((i1 | 0) <= 0) break; - i5 = HEAP32[(HEAP32[i18 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i6 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i7 = HEAP32[(HEAP32[i16 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i8 = HEAP32[(HEAP32[i17 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i2 = i2 + 1 | 0; - i1 = HEAP32[i3 >> 2] | 0; - i4 = 0; - while (1) { - if ((i4 | 0) == (i19 | 0)) break; - i20 = HEAPU8[i6 + i4 >> 0] | 0; - i22 = HEAPU8[i7 + i4 >> 0] | 0; - i21 = ~HEAP8[i5 + i4 >> 0] & 255; - HEAP8[i1 >> 0] = HEAP8[i10 + (i21 - (HEAP32[i11 + (i22 << 2) >> 2] | 0)) >> 0] | 0; - HEAP8[i1 + 1 >> 0] = HEAP8[i10 + (i21 - ((HEAP32[i13 + (i22 << 2) >> 2] | 0) + (HEAP32[i14 + (i20 << 2) >> 2] | 0) >> 16)) >> 0] | 0; - HEAP8[i1 + 2 >> 0] = HEAP8[i10 + (i21 - (HEAP32[i12 + (i20 << 2) >> 2] | 0)) >> 0] | 0; - HEAP8[i1 + 3 >> 0] = HEAP8[i8 + i4 >> 0] | 0; - i1 = i1 + 4 | 0; - i4 = i4 + 1 | 0; - } - i3 = i3 + 4 | 0; - i1 = i9; - } - return; -} - -function __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE8__appendEm(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i8; - i6 = i3 + 8 | 0; - i7 = i3 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - do if ((((HEAP32[i6 >> 2] | 0) - i1 | 0) / 12 | 0) >>> 0 < i4 >>> 0) { - i1 = ((i1 - (HEAP32[i3 >> 2] | 0) | 0) / 12 | 0) + i4 | 0; - i2 = __ZNKSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE8max_sizeEv(i3) | 0; - if (i2 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i3); else { - i9 = HEAP32[i3 >> 2] | 0; - i10 = ((HEAP32[i6 >> 2] | 0) - i9 | 0) / 12 | 0; - i6 = i10 << 1; - __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEEC2EmmS8_(i5, i10 >>> 0 < i2 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i2, ((HEAP32[i7 >> 2] | 0) - i9 | 0) / 12 | 0, i3 + 8 | 0); - __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEE18__construct_at_endEm(i5, i4); - __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS6_EE(i3, i5); - __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEED2Ev(i5); - break; + HEAP32[$2 + 8 >> 2] = $1; + $1 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 12 | 0, $2 + 8 | 0) >> 2]; + HEAP32[$2 + 12 >> 2] = $1; + if ($1 >>> 0 >= $3 >>> 0) { + break label$4; } - } else __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE18__construct_at_endEm(i3, i4); while (0); - STACKTOP = i8; - return; -} - -function _smoothing_ok(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i1 = HEAP32[i3 + 428 >> 2] | 0; - L1 : do if ((HEAP32[i3 + 220 >> 2] | 0) != 0 ? (i8 = i3 + 160 | 0, (HEAP32[i8 >> 2] | 0) != 0) : 0) { - i2 = i1 + 112 | 0; - i1 = HEAP32[i2 >> 2] | 0; - if (!i1) { - i7 = i3 + 36 | 0; - i1 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i3 + 4 >> 2] >> 2] & 63](i3, 1, (HEAP32[i7 >> 2] | 0) * 24 | 0) | 0; - HEAP32[i2 >> 2] = i1; - } else i7 = i3 + 36 | 0; - i6 = i1; - i1 = 0; - i4 = HEAP32[i3 + 216 >> 2] | 0; - i5 = 0; - while (1) { - if ((i5 | 0) >= (HEAP32[i7 >> 2] | 0)) break L1; - i2 = HEAP32[i4 + 76 >> 2] | 0; - if (!i2) { - i1 = 0; - break L1; - } - if (!(HEAP16[i2 >> 1] | 0)) { - i1 = 0; - break L1; - } - if (!(HEAP16[i2 + 2 >> 1] | 0)) { - i1 = 0; - break L1; - } - if (!(HEAP16[i2 + 16 >> 1] | 0)) { - i1 = 0; - break L1; - } - if (!(HEAP16[i2 + 32 >> 1] | 0)) { - i1 = 0; - break L1; - } - if (!(HEAP16[i2 + 18 >> 1] | 0)) { - i1 = 0; - break L1; - } - if (!(HEAP16[i2 + 4 >> 1] | 0)) { - i1 = 0; - break L1; - } - i3 = HEAP32[i8 >> 2] | 0; - if ((HEAP32[i3 + (i5 << 8) >> 2] | 0) < 0) { - i1 = 0; - break L1; - } - i2 = 1; - while (1) { - if ((i2 | 0) == 6) break; - i9 = i3 + (i5 << 8) + (i2 << 2) | 0; - HEAP32[i6 + (i2 << 2) >> 2] = HEAP32[i9 >> 2]; - i2 = i2 + 1 | 0; - i1 = (HEAP32[i9 >> 2] | 0) == 0 ? i1 : 1; - } - i6 = i6 + 24 | 0; - i4 = i4 + 84 | 0; - i5 = i5 + 1 | 0; - } - } else i1 = 0; while (0); - return i1 | 0; -} - -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_(i7, i6) { - i7 = i7 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i8 = 0, i9 = 0, i10 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i8 = i9; - i1 = i7 + 4 | 0; - i2 = (((HEAP32[i1 >> 2] | 0) - (HEAP32[i7 >> 2] | 0) | 0) / 36 | 0) + 1 | 0; - i3 = __ZNKSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8max_sizeEv(i7) | 0; - if (i3 >>> 0 < i2 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i7); else { - i4 = HEAP32[i7 >> 2] | 0; - i10 = ((HEAP32[i7 + 8 >> 2] | 0) - i4 | 0) / 36 | 0; - i5 = i10 << 1; - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEEC2EmmS6_(i8, i10 >>> 0 < i3 >>> 1 >>> 0 ? (i5 >>> 0 < i2 >>> 0 ? i2 : i5) : i3, ((HEAP32[i1 >> 2] | 0) - i4 | 0) / 36 | 0, i7 + 8 | 0); - i3 = i8 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - i5 = i4; - i1 = i6; - i2 = i5 + 36 | 0; - do { - HEAP32[i5 >> 2] = HEAP32[i1 >> 2]; - i5 = i5 + 4 | 0; - i1 = i1 + 4 | 0; - } while ((i5 | 0) < (i2 | 0)); - HEAP32[i3 >> 2] = i4 + 36; - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i7, i8); - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEED2Ev(i8); - STACKTOP = i9; - return; + std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______rehash_28unsigned_20long_29($0, $1); } + __stack_pointer = $2 + 16 | 0; } -function __ZNK10__cxxabiv121__vmi_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(i1, i2, i8, i11, i12, i13) { - i1 = i1 | 0; - i2 = i2 | 0; - i8 = i8 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0, i14 = 0; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i1, HEAP32[i2 + 8 >> 2] | 0, i13) | 0) __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0, i2, i8, i11, i12); else { - i14 = i2 + 52 | 0; - i3 = HEAP8[i14 >> 0] | 0; - i4 = i2 + 53 | 0; - i5 = HEAP8[i4 >> 0] | 0; - i10 = HEAP32[i1 + 12 >> 2] | 0; - i6 = i1 + 16 + (i10 << 3) | 0; - HEAP8[i14 >> 0] = 0; - HEAP8[i4 >> 0] = 0; - __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(i1 + 16 | 0, i2, i8, i11, i12, i13); - L4 : do if ((i10 | 0) > 1) { - i7 = i2 + 24 | 0; - i9 = i1 + 8 | 0; - i10 = i2 + 54 | 0; - i1 = i1 + 24 | 0; - do { - if (HEAP8[i10 >> 0] | 0) break L4; - if (!(HEAP8[i14 >> 0] | 0)) { - if (HEAP8[i4 >> 0] | 0 ? (HEAP32[i9 >> 2] & 1 | 0) == 0 : 0) break L4; - } else { - if ((HEAP32[i7 >> 2] | 0) == 1) break L4; - if (!(HEAP32[i9 >> 2] & 2)) break L4; - } - HEAP8[i14 >> 0] = 0; - HEAP8[i4 >> 0] = 0; - __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(i1, i2, i8, i11, i12, i13); - i1 = i1 + 8 | 0; - } while (i1 >>> 0 < i6 >>> 0); - } while (0); - HEAP8[i14 >> 0] = i3; - HEAP8[i4 >> 0] = i5; - } - return; -} - -function _start_pass_huff_decoder(i5) { - i5 = i5 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i6 = 0; - i6 = HEAP32[i5 + 444 >> 2] | 0; - if (!((((HEAP32[i5 + 400 >> 2] | 0) == 0 ? (HEAP32[i5 + 404 >> 2] | 0) == 63 : 0) ? (HEAP32[i5 + 408 >> 2] | 0) == 0 : 0) ? !(HEAP32[i5 + 412 >> 2] | 0) : 0)) { - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i4 + 20 >> 2] = 122; - FUNCTION_TABLE_vii[HEAP32[i4 + 4 >> 2] & 63](i5, -1); - } - i2 = i5 + 328 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i2 >> 2] | 0)) break; - i4 = HEAP32[i5 + 332 + (i1 << 2) >> 2] | 0; - i3 = HEAP32[i4 + 20 >> 2] | 0; - i4 = HEAP32[i4 + 24 >> 2] | 0; - _jpeg_make_d_derived_tbl(i5, 1, i3, i6 + 40 + (i3 << 2) | 0); - _jpeg_make_d_derived_tbl(i5, 0, i4, i6 + 56 + (i4 << 2) | 0); - HEAP32[i6 + 20 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i4 = i5 + 356 | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (HEAP32[i4 >> 2] | 0)) break; - i1 = HEAP32[i5 + 332 + (HEAP32[i5 + 360 + (i3 << 2) >> 2] << 2) >> 2] | 0; - HEAP32[i6 + 72 + (i3 << 2) >> 2] = HEAP32[i6 + 40 + (HEAP32[i1 + 20 >> 2] << 2) >> 2]; - HEAP32[i6 + 112 + (i3 << 2) >> 2] = HEAP32[i6 + 56 + (HEAP32[i1 + 24 >> 2] << 2) >> 2]; - i2 = i6 + 152 + (i3 << 2) | 0; - if (!(HEAP32[i1 + 48 >> 2] | 0)) { - HEAP32[i2 >> 2] = 0; - i1 = 0; - } else { - HEAP32[i2 >> 2] = 1; - i1 = (HEAP32[i1 + 36 >> 2] | 0) > 1 & 1; - } - HEAP32[i6 + 192 + (i3 << 2) >> 2] = i1; - i3 = i3 + 1 | 0; - } - HEAP32[i6 + 16 >> 2] = 0; - HEAP32[i6 + 12 >> 2] = 0; - HEAP32[i6 + 8 >> 2] = 0; - HEAP32[i6 + 36 >> 2] = HEAP32[i5 + 276 >> 2]; - return; -} - -function __ZN6vision25MatrixInverseSymmetric3x3IfEEbPT_PKS1_S1_(i1, i2, d3) { - i1 = i1 | 0; - i2 = i2 | 0; - d3 = +d3; - var d4 = 0.0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - d4 = +__ZN6vision23DeterminantSymmetric3x3IfEET_PKS1_(i2); - if (!(+Math_abs(+d4) <= d3)) { - d4 = 1.0 / d4; - i8 = i2 + 16 | 0; - i5 = i2 + 20 | 0; - i11 = i2 + 32 | 0; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_(+HEAPF32[i8 >> 2], +HEAPF32[i5 >> 2], +HEAPF32[i11 >> 2]); - HEAPF32[i1 >> 2] = d3; - i10 = i2 + 8 | 0; - i9 = i2 + 4 | 0; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i10 >> 2], +HEAPF32[i9 >> 2], +HEAPF32[i11 >> 2], +HEAPF32[i2 + 28 >> 2]); - i7 = i1 + 4 | 0; - HEAPF32[i7 >> 2] = d3; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i9 >> 2], +HEAPF32[i10 >> 2], +HEAPF32[i8 >> 2], +HEAPF32[i5 >> 2]); - i6 = i1 + 8 | 0; - HEAPF32[i6 >> 2] = d3; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_(+HEAPF32[i2 >> 2], +HEAPF32[i10 >> 2], +HEAPF32[i11 >> 2]); - HEAPF32[i1 + 16 >> 2] = d3; - d3 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i10 >> 2], +HEAPF32[i2 >> 2], +HEAPF32[i5 >> 2], +HEAPF32[i2 + 12 >> 2]); - i5 = i1 + 20 | 0; - HEAPF32[i5 >> 2] = d3; - d4 = d4 * +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_(+HEAPF32[i2 >> 2], +HEAPF32[i9 >> 2], +HEAPF32[i8 >> 2]); - HEAPF32[i1 + 32 >> 2] = d4; - HEAP32[i1 + 12 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i1 + 24 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i1 + 28 >> 2] = HEAP32[i5 >> 2]; - i1 = 1; - } else i1 = 0; - return i1 | 0; -} - -function _wcsnrtombs(i3, i11, i6, i2, i1) { - i3 = i3 | 0; - i11 = i11 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i1 = i1 | 0; - var i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 272 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(272); - i7 = i10; - i8 = i10 + 256 | 0; - i1 = HEAP32[i11 >> 2] | 0; - HEAP32[i8 >> 2] = i1; - i9 = (i3 | 0) != 0; - i4 = i9 ? i2 : 256; - i5 = i9 ? i3 : i7; - i2 = i1; - L1 : do if ((i4 | 0) != 0 & (i1 | 0) != 0) { - i1 = 0; - i3 = i2; - while (1) { - i2 = i6 >>> 0 >= i4 >>> 0; - if (!(i2 | i6 >>> 0 > 32)) { - i2 = i3; - break L1; - } - i2 = i2 ? i4 : i6; - i6 = i6 - i2 | 0; - i2 = _wcsrtombs(i5, i8, i2, 0) | 0; - if ((i2 | 0) == -1) break; - i3 = (i5 | 0) == (i7 | 0); - i4 = i4 - (i3 ? 0 : i2) | 0; - i5 = i3 ? i5 : i5 + i2 | 0; - i1 = i2 + i1 | 0; - i2 = HEAP32[i8 >> 2] | 0; - if ((i4 | 0) != 0 & (i2 | 0) != 0) i3 = i2; else break L1; - } - i1 = -1; - i4 = 0; - i2 = HEAP32[i8 >> 2] | 0; - } else i1 = 0; while (0); - L9 : do if ((i2 | 0) != 0 ? (i4 | 0) != 0 & (i6 | 0) != 0 : 0) { - while (1) { - i3 = _wcrtomb(i5, HEAP32[i2 >> 2] | 0, 0) | 0; - if ((i3 + 1 | 0) >>> 0 < 2) break; - i2 = (HEAP32[i8 >> 2] | 0) + 4 | 0; - HEAP32[i8 >> 2] = i2; - i6 = i6 + -1 | 0; - i4 = i4 - i3 | 0; - i1 = i3 + i1 | 0; - if (!((i4 | 0) != 0 & (i6 | 0) != 0)) break L9; else i5 = i5 + i3 | 0; - } - if (!i3) HEAP32[i8 >> 2] = 0; else i1 = -1; - } while (0); - if (i9) HEAP32[i11 >> 2] = HEAP32[i8 >> 2]; - STACKTOP = i10; - return i1 | 0; -} - -function __ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPKv(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 208 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); - i10 = i1 + 184 | 0; - i9 = i1 + 192 | 0; - i6 = i1 + 160 | 0; - i8 = i1; - i11 = i1 + 188 | 0; - HEAP8[i9 >> 0] = HEAP8[47002] | 0; - HEAP8[i9 + 1 >> 0] = HEAP8[47003] | 0; - HEAP8[i9 + 2 >> 0] = HEAP8[47004] | 0; - HEAP8[i9 + 3 >> 0] = HEAP8[47005] | 0; - HEAP8[i9 + 4 >> 0] = HEAP8[47006] | 0; - HEAP8[i9 + 5 >> 0] = HEAP8[47007] | 0; - i7 = __ZNSt3__26__clocEv() | 0; - HEAP32[i10 >> 2] = i5; - i5 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i6, 20, i7, i9, i10) | 0; - i9 = i6 + i5 | 0; - i7 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i6, i9, i3) | 0; - __ZNKSt3__28ios_base6getlocEv(i10, i3); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i10, 57948) | 0; - __ZNSt3__26localeD2Ev(i10); - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i12 >> 2] | 0) + 48 >> 2] & 15](i12, i6, i9, i8) | 0; - i5 = i8 + (i5 << 2) | 0; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - i5 = __ZNSt3__216__pad_and_outputIwNS_11char_traitsIwEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i10, i8, (i7 | 0) == (i9 | 0) ? i5 : i8 + (i7 - i6 << 2) | 0, i5, i3, i4) | 0; - STACKTOP = i1; - return i5 | 0; -} - -function _teardown(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i6; - HEAP32[i3 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0)) i1 = -1; else { - i5 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0; - i1 = i5 + 196 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - _free(i2); - HEAP32[i1 >> 2] = 0; - HEAP32[i5 + 200 >> 2] = 0; - } - _deleteHandle(i5); - _arPattDeleteHandle(HEAP32[i5 + 220 >> 2] | 0) | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE14__erase_uniqueIiEEmRKT_(56176, i3) | 0; - i2 = i5 + 280 | 0; - i3 = i5 + 284 | 0; - i1 = 0; - while (1) { - i4 = HEAP32[i2 >> 2] | 0; - if (i1 >>> 0 >= (HEAP32[i3 >> 2] | 0) - i4 >> 3 >>> 0) break; - _arMultiFreeConfig(HEAP32[i4 + (i1 << 3) + 4 >> 2] | 0) | 0; - i1 = i1 + 1 | 0; - } - __ZNSt3__213__vector_baseI12multi_markerNS_9allocatorIS1_EEED2Ev(i2); - __ZdlPv(i2); - __ZN12arControllerD2Ev(i5); - __ZdlPv(i5); - i1 = 0; - } - STACKTOP = i6; - return i1 | 0; -} - -function _compute_color(i13, i1, i18) { - i13 = i13 | 0; - i1 = i1 | 0; - i18 = i18 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i19 = 0, i20 = 0, i21 = 0; - i19 = HEAP32[(HEAP32[i13 + 460 >> 2] | 0) + 24 >> 2] | 0; - i20 = HEAP32[i1 + 4 >> 2] | 0; - i14 = HEAP32[i1 + 8 >> 2] | 0; - i15 = HEAP32[i1 + 12 >> 2] | 0; - i16 = HEAP32[i1 + 16 >> 2] | 0; - i17 = HEAP32[i1 + 20 >> 2] | 0; - i2 = 0; - i3 = 0; - i4 = 0; - i5 = 0; - i9 = HEAP32[i1 >> 2] | 0; - while (1) { - if ((i9 | 0) > (i20 | 0)) break; - i11 = i19 + (i9 << 2) | 0; - i12 = i9 << 3 | 4; - i10 = i14; - while (1) { - if ((i10 | 0) > (i15 | 0)) break; - i8 = i10 << 2 | 2; - i6 = (HEAP32[i11 >> 2] | 0) + (i10 << 6) + (i16 << 1) | 0; - i7 = i16; - while (1) { - if ((i7 | 0) > (i17 | 0)) break; - i21 = HEAP16[i6 >> 1] | 0; - i1 = i21 & 65535; - if (i21 << 16 >> 16) { - i2 = (Math_imul(i7 << 3 | 4, i1) | 0) + i2 | 0; - i3 = (Math_imul(i8, i1) | 0) + i3 | 0; - i4 = (Math_imul(i12, i1) | 0) + i4 | 0; - i5 = i5 + i1 | 0; - } - i6 = i6 + 2 | 0; - i7 = i7 + 1 | 0; - } - i10 = i10 + 1 | 0; - } - i9 = i9 + 1 | 0; - } - i20 = i5 >> 1; - i21 = i13 + 136 | 0; - HEAP8[(HEAP32[HEAP32[i21 >> 2] >> 2] | 0) + i18 >> 0] = (i4 + i20 | 0) / (i5 | 0) | 0; - HEAP8[(HEAP32[(HEAP32[i21 >> 2] | 0) + 4 >> 2] | 0) + i18 >> 0] = (i3 + i20 | 0) / (i5 | 0) | 0; - HEAP8[(HEAP32[(HEAP32[i21 >> 2] | 0) + 8 >> 2] | 0) + i18 >> 0] = (i2 + i20 | 0) / (i5 | 0) | 0; - return; -} - -function _confidenceCutoff(i5) { - i5 = i5 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0; - L1 : do switch (HEAP32[i5 + 24 >> 2] | 0) { - case 1: - case 0: - { - i2 = HEAP32[i5 + 44 >> 2] | 0; - i1 = 0; +function kpmUtilGetPose_binary_28ARParamLT__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20float_20_28__29_20_5b4_5d_2c_20float__29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f64$0 = 0; + $7 = __stack_pointer - 224 | 0; + __stack_pointer = $7; + $6 = -1; + label$1: { + label$2: { + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($1) >>> 0 < 4) { + break label$2; + } + $9 = dlmalloc(std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($1) << 4); + if (!$9) { + break label$1; + } + $10 = dlmalloc(Math_imul(std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($1), 24)); + if (!$10) { + break label$1; + } + $6 = 0; while (1) { - if ((i1 | 0) >= (i2 | 0)) break L1; - i3 = i5 + 48 + (i1 << 8) + 4 | 0; - if ((HEAP32[i3 >> 2] | 0) > -1 ? +HEAPF64[i5 + 48 + (i1 << 8) + 32 >> 3] < .5 : 0) { - HEAP32[i5 + 48 + (i1 << 8) + 8 >> 2] = -1; - HEAP32[i3 >> 2] = -1; - HEAP32[i5 + 48 + (i1 << 8) + 236 >> 2] = 6; + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($1) >>> 0 > $6 >>> 0) { + $8 = ($6 << 4) + $9 | 0; + wasm2js_i32$0 = $8, wasm2js_f64$0 = +HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($3, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($1, $6) >> 2]) >> 2], + HEAPF64[wasm2js_i32$0 >> 3] = wasm2js_f64$0; + wasm2js_i32$0 = $8, wasm2js_f64$0 = +HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($3, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($1, $6) >> 2]) + 4 >> 2], + HEAPF64[wasm2js_i32$0 + 8 >> 3] = wasm2js_f64$0; + $8 = Math_imul($6, 24) + $10 | 0; + wasm2js_i32$0 = $8, wasm2js_f64$0 = +HEAPF32[std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____operator_5b_5d_28unsigned_20long_29_20const($2, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($1, $6) + 4 >> 2]) >> 2], + HEAPF64[wasm2js_i32$0 >> 3] = wasm2js_f64$0; + $11 = HEAPF32[std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____operator_5b_5d_28unsigned_20long_29_20const($2, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($1, $6) + 4 >> 2]) + 4 >> 2]; + HEAP32[$8 + 16 >> 2] = 0; + HEAP32[$8 + 20 >> 2] = 0; + HEAPF64[$8 + 8 >> 3] = $11; + $6 = $6 + 1 | 0; + continue; } - i1 = i1 + 1 | 0; + break; } - } - case 2: - { - i2 = HEAP32[i5 + 44 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break L1; - i3 = i5 + 48 + (i1 << 8) + 4 | 0; - if ((HEAP32[i3 >> 2] | 0) > -1 ? +HEAPF64[i5 + 48 + (i1 << 8) + 32 >> 3] < .5 : 0) { - HEAP32[i5 + 48 + (i1 << 8) + 12 >> 2] = -1; - HEAP32[i3 >> 2] = -1; - HEAP32[i5 + 48 + (i1 << 8) + 236 >> 2] = 6; + HEAP32[$7 + 212 >> 2] = $10; + HEAP32[$7 + 208 >> 2] = $9; + HEAP32[$7 + 216 >> 2] = $6; + $6 = -1; + $8 = $0 + 8 | 0; + if ((icpGetInitXw2Xc_from_PlanarData($8, $9, $10, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($1), $7 + 112 | 0) | 0) < 0) { + dlfree($9); + dlfree($10); + break label$2; + } + $1 = icpCreateHandle($8); + HEAP32[$7 + 220 >> 2] = $1; + if (!$1) { + dlfree($9); + dlfree($10); + break label$2; + } + if ((icpPoint($1, $7 + 208 | 0, $7 + 112 | 0, $7, $7 + 104 | 0) | 0) >= 0) { + $1 = 0; + while (1) { + $6 = 0; + if (($1 | 0) == 3) { + icpDeleteHandle($7 + 220 | 0); + dlfree($9); + dlfree($10); + $11 = Math_fround(HEAPF64[$7 + 104 >> 3]); + HEAPF32[$5 >> 2] = $11; + $6 = $11 > Math_fround(10) ? -1 : 0; + break label$2; + } else { + while (1) { + if (($6 | 0) != 4) { + HEAPF32[(($1 << 4) + $4 | 0) + ($6 << 2) >> 2] = HEAPF64[(($1 << 5) + $7 | 0) + ($6 << 3) >> 3]; + $6 = $6 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } } - i1 = i1 + 1 | 0; } + dlfree($9); + dlfree($10); + icpDeleteHandle($7 + 220 | 0); } - default: - { - i4 = HEAP32[i5 + 44 >> 2] | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i4 | 0)) break L1; - i1 = i5 + 48 + (i3 << 8) + 8 | 0; - if ((HEAP32[i1 >> 2] | 0) > -1 ? +HEAPF64[i5 + 48 + (i3 << 8) + 40 >> 3] < .5 : 0) { - HEAP32[i1 >> 2] = -1; - i1 = 0; - } else i1 = 1; - i2 = i5 + 48 + (i3 << 8) + 12 | 0; - if (((HEAP32[i2 >> 2] | 0) > -1 ? +HEAPF64[i5 + 48 + (i3 << 8) + 48 >> 3] < .5 : 0) ? (HEAP32[i2 >> 2] = -1, (i1 | 0) == 0) : 0) HEAP32[i5 + 48 + (i3 << 8) + 236 >> 2] = 6; - i3 = i3 + 1 | 0; - } - } - } while (0); - return; -} - -function __ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPKv(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - i10 = i1 + 72 | 0; - i9 = i1 + 80 | 0; - i6 = i1 + 48 | 0; - i8 = i1; - i11 = i1 + 76 | 0; - HEAP8[i9 >> 0] = HEAP8[47002] | 0; - HEAP8[i9 + 1 >> 0] = HEAP8[47003] | 0; - HEAP8[i9 + 2 >> 0] = HEAP8[47004] | 0; - HEAP8[i9 + 3 >> 0] = HEAP8[47005] | 0; - HEAP8[i9 + 4 >> 0] = HEAP8[47006] | 0; - HEAP8[i9 + 5 >> 0] = HEAP8[47007] | 0; - i7 = __ZNSt3__26__clocEv() | 0; - HEAP32[i10 >> 2] = i5; - i5 = __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i6, 20, i7, i9, i10) | 0; - i9 = i6 + i5 | 0; - i7 = __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i6, i9, i3) | 0; - __ZNKSt3__28ios_base6getlocEv(i10, i3); - i12 = __ZNKSt3__26locale9use_facetERNS0_2idE(i10, 57916) | 0; - __ZNSt3__26localeD2Ev(i10); - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i12 >> 2] | 0) + 32 >> 2] & 15](i12, i6, i9, i8) | 0; - i5 = i8 + i5 | 0; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i11 >> 2]; - i5 = __ZNSt3__216__pad_and_outputIcNS_11char_traitsIcEEEENS_19ostreambuf_iteratorIT_T0_EES6_PKS4_S8_S8_RNS_8ios_baseES4_(i10, i8, (i7 | 0) == (i9 | 0) ? i5 : i8 + (i7 - i6) | 0, i5, i3, i4) | 0; - STACKTOP = i1; - return i5 | 0; -} - -function _make_funny_pointers(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0, i17 = 0, i18 = 0, i19 = 0; - i14 = HEAP32[i1 + 424 >> 2] | 0; - i15 = HEAP32[i1 + 316 >> 2] | 0; - i16 = HEAP32[i1 + 36 >> 2] | 0; - i17 = i14 + 56 | 0; - i11 = i14 + 60 | 0; - i12 = i15 + 2 | 0; - i13 = i15 + -2 | 0; - i10 = 0; - i7 = HEAP32[i1 + 216 >> 2] | 0; - while (1) { - if ((i10 | 0) >= (i16 | 0)) break; - i8 = (Math_imul(HEAP32[i7 + 36 >> 2] | 0, HEAP32[i7 + 12 >> 2] | 0) | 0) / (i15 | 0) | 0; - i9 = HEAP32[(HEAP32[i17 >> 2] | 0) + (i10 << 2) >> 2] | 0; - i5 = HEAP32[(HEAP32[i11 >> 2] | 0) + (i10 << 2) >> 2] | 0; - i6 = HEAP32[i14 + 8 + (i10 << 2) >> 2] | 0; - i2 = Math_imul(i8, i12) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i4 = HEAP32[i6 + (i1 << 2) >> 2] | 0; - HEAP32[i5 + (i1 << 2) >> 2] = i4; - HEAP32[i9 + (i1 << 2) >> 2] = i4; - i1 = i1 + 1 | 0; - } - i2 = i8 << 1; - i3 = Math_imul(i8, i15) | 0; - i4 = Math_imul(i8, i13) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i18 = i1 + i3 | 0; - i19 = i1 + i4 | 0; - HEAP32[i5 + (i19 << 2) >> 2] = HEAP32[i6 + (i18 << 2) >> 2]; - HEAP32[i5 + (i18 << 2) >> 2] = HEAP32[i6 + (i19 << 2) >> 2]; - i1 = i1 + 1 | 0; - } - i1 = 0; - while (1) { - if ((i1 | 0) >= (i8 | 0)) break; - HEAP32[i9 + (i1 - i8 << 2) >> 2] = HEAP32[i9 >> 2]; - i1 = i1 + 1 | 0; - } - i10 = i10 + 1 | 0; - i7 = i7 + 84 | 0; - } - return; -} - -function __ZN6vision25DoGScaleInvariantDetector5allocEPKNS_25GaussianScaleSpacePyramidE(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0; - __ZN6vision10DoGPyramid5allocEPKNS_25GaussianScaleSpacePyramidE(i2 + 32 | 0, i1); - i3 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i1) | 0; - i3 = __ZNK6vision5Image5widthEv(HEAP32[i3 >> 2] | 0) | 0; - i5 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i1) | 0; - i5 = __ZNK6vision5Image6heightEv(HEAP32[i5 >> 2] | 0) | 0; - i4 = __ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv(i1) | 0; - __ZN6vision21OrientationAssignment5allocEmmiiiffif(i2 + 92 | 0, i3, i5, i4, __ZNK6vision25GaussianScaleSpacePyramid18numScalesPerOctaveEv(i1) | 0, 36, 3.0, 1.5, 5, .800000011920929); - i4 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i1) | 0; - i4 = __ZNK6vision5Image5widthEv(HEAP32[i4 >> 2] | 0) | 0; - HEAP32[i2 >> 2] = i4; - i4 = __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i1) | 0; - i4 = __ZNK6vision5Image6heightEv(HEAP32[i4 >> 2] | 0) | 0; - HEAP32[i2 + 4 >> 2] = i4; - i4 = i2 + 16 | 0; - __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE6resizeEm(i4, HEAP32[i2 + 8 >> 2] | 0); - i5 = i2 + 20 | 0; - i2 = i2 + 12 | 0; - i1 = 0; - while (1) { - i3 = HEAP32[i4 >> 2] | 0; - if (i1 >>> 0 >= (((HEAP32[i5 >> 2] | 0) - i3 | 0) / 12 | 0) >>> 0) break; - __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE6resizeEm(i3 + (i1 * 12 | 0) | 0, HEAP32[i2 >> 2] | 0); - i1 = i1 + 1 | 0; - } - return; -} - -function __ZNKSt3__28messagesIcE6do_getEliiRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE(i8, i1, i3, i4, i5, i2) { - i8 = i8 | 0; - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - var i6 = 0, i7 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i7; - HEAP32[i6 >> 2] = 0; - HEAP32[i6 + 4 >> 2] = 0; - HEAP32[i6 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i6 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i9 = HEAP8[i2 + 11 >> 0] | 0; - i10 = i9 << 24 >> 24 < 0; - i1 = i10 ? HEAP32[i2 >> 2] | 0 : i2; - i2 = i1 + (i10 ? HEAP32[i2 + 4 >> 2] | 0 : i9 & 255) | 0; - while (1) { - if (i1 >>> 0 >= i2 >>> 0) break; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(i6, HEAP8[i1 >> 0] | 0); - i1 = i1 + 1 | 0; - } - i1 = (HEAP8[i6 + 11 >> 0] | 0) < 0 ? HEAP32[i6 >> 2] | 0 : i6; - i3 = _catgets((i3 | 0) == -1 ? -1 : i3 << 1, i4, i5, i1) | 0; - HEAP32[i8 >> 2] = 0; - HEAP32[i8 + 4 >> 2] = 0; - HEAP32[i8 + 8 >> 2] = 0; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - HEAP32[i8 + (i2 << 2) >> 2] = 0; - i2 = i2 + 1 | 0; - } - i2 = i1 + (_strlen(i3) | 0) | 0; - while (1) { - if (i1 >>> 0 >= i2 >>> 0) break; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(i8, HEAP8[i1 >> 0] | 0); - i1 = i1 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i6); - STACKTOP = i7; - return; -} - -function __ZNK6vision10DoGPyramid15octaveFromIndexEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i5; - i4 = HEAP32[i1 >> 2] | 0; - if ((HEAP32[i1 + 4 >> 2] | 0) - i4 >> 5 >>> 0 > i2 >>> 0) { - i4 = __ZNK6vision5Image5widthEv(i4) | 0; - i4 = ~~+__ZN6vision5roundIfEET_S1_(+__ZN6vision4log2IfEET_S1_(+(((i4 >>> 0) / ((__ZNK6vision5Image5widthEv((HEAP32[i1 >> 2] | 0) + (i2 << 5) | 0) | 0) >>> 0) | 0) >>> 0))); - STACKTOP = i5; - return i4 | 0; - } else { - i5 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 24937) | 0, 22444) | 0, 33528) | 0, 94) | 0, 33535) | 0, 24983) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i5 + (HEAP32[(HEAP32[i5 >> 2] | 0) + -12 >> 2] | 0) | 0); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i4 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] & 63](i4, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i5, i4) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i5) | 0; - _abort(); + __stack_pointer = $7 + 224 | 0; + return $6; } - return 0; + arLog(0, 3, 9625, 0); + exit(1); + abort(); } -function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8__appendEm(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i8; - i6 = i3 + 8 | 0; - i7 = i3 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - do if ((HEAP32[i6 >> 2] | 0) - i1 >> 2 >>> 0 < i4 >>> 0) { - i1 = (i1 - (HEAP32[i3 >> 2] | 0) >> 2) + i4 | 0; - i2 = __ZNKSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8max_sizeEv(i3) | 0; - if (i2 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i3); else { - i9 = HEAP32[i3 >> 2] | 0; - i10 = (HEAP32[i6 >> 2] | 0) - i9 | 0; - i6 = i10 >> 1; - __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEEC2EmmS6_(i5, i10 >> 2 >>> 0 < i2 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i2, (HEAP32[i7 >> 2] | 0) - i9 >> 2, i3 + 16 | 0); - __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm(i5, i4); - __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i3, i5); - __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEED2Ev(i5); - break; +function $28anonymous_20namespace_29__itanium_demangle__FoldExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $5 = __stack_pointer - 112 | 0; + __stack_pointer = $5; + HEAP32[$5 + 108 >> 2] = $0; + HEAP32[$5 + 104 >> 2] = $1; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 40); + label$1: { + if (HEAPU8[$0 + 24 | 0]) { + $6 = HEAP32[$0 + 12 >> 2]; + if ($6) { + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($6, $1); + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 32); + $2 = HEAP32[$0 + 20 >> 2]; + $3 = HEAP32[$0 + 16 >> 2]; + $4 = $3; + $3 = $5; + HEAP32[$3 + 48 >> 2] = $4; + HEAP32[$3 + 52 >> 2] = $2; + HEAP32[$3 + 96 >> 2] = $4; + HEAP32[$3 + 100 >> 2] = $2; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $3 + 48 | 0), 32); + } + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($5 + 88 | 0, 38425); + $2 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + $4 = $2; + $2 = $5; + HEAP32[$2 + 40 >> 2] = $4; + HEAP32[$2 + 44 >> 2] = $3; + $6 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 40 | 0); + $2 = HEAP32[$0 + 20 >> 2]; + $3 = HEAP32[$0 + 16 >> 2]; + $4 = $3; + $3 = $5; + HEAP32[$3 + 32 >> 2] = $4; + HEAP32[$3 + 36 >> 2] = $2; + HEAP32[$3 + 80 >> 2] = $4; + HEAP32[$3 + 84 >> 2] = $2; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($6, $3 + 32 | 0), 32); + $28anonymous_20namespace_29__itanium_demangle__FoldExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const___lambda__28_29__operator_28_29_28_29_20const($3 + 104 | 0); + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__FoldExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const___lambda__28_29__operator_28_29_28_29_20const($5 + 104 | 0); + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 32); + $3 = HEAP32[$0 + 20 >> 2]; + $2 = HEAP32[$0 + 16 >> 2]; + $4 = $2; + $2 = $5; + HEAP32[$2 + 24 >> 2] = $4; + HEAP32[$2 + 28 >> 2] = $3; + HEAP32[$2 + 72 >> 2] = $4; + HEAP32[$2 + 76 >> 2] = $3; + $6 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 24 | 0); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 - -64 | 0, 37655); + $3 = HEAP32[$4 >> 2]; + $2 = HEAP32[$4 + 4 >> 2]; + $4 = $3; + $3 = $5; + HEAP32[$3 + 16 >> 2] = $4; + HEAP32[$3 + 20 >> 2] = $2; + $6 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($6, $3 + 16 | 0); + if (!HEAP32[$0 + 12 >> 2]) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($6, 32); + $3 = HEAP32[$0 + 20 >> 2]; + $2 = HEAP32[$0 + 16 >> 2]; + $4 = $2; + $2 = $5; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $3; + HEAP32[$2 + 56 >> 2] = $4; + HEAP32[$2 + 60 >> 2] = $3; + $6 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($6, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($6, 32); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $6); + } + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 41); + __stack_pointer = $5 + 112 | 0; +} + +function vision__DoGScaleInvariantDetector__alloc_28vision__GaussianScaleSpacePyramid_20const__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + vision__DoGPyramid__alloc_28vision__GaussianScaleSpacePyramid_20const__29($0 + 32 | 0, $1); + vision__OrientationAssignment__alloc_28unsigned_20long_2c_20unsigned_20long_2c_20int_2c_20int_2c_20int_2c_20float_2c_20float_2c_20int_2c_20float_29($0 + 92 | 0, vision__Image__width_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1), 0)), vision__Image__height_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1), 0)), vision__GaussianScaleSpacePyramid__numOctaves_28_29_20const($1), vision__GaussianScaleSpacePyramid__numScalesPerOctave_28_29_20const($1), 36, Math_fround(3), Math_fround(1.5), 5, Math_fround(.800000011920929)); + wasm2js_i32$0 = $0, wasm2js_i32$1 = vision__Image__width_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1), 0)), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = vision__Image__height_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1), 0)), + HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + $1 = $0 + 16 | 0; + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________resize_28unsigned_20long_29($1, HEAP32[$0 + 8 >> 2]); + while (1) { + if (std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________size_28_29_20const($1) >>> 0 > $2 >>> 0) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______resize_28unsigned_20long_29(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________operator_5b_5d_28unsigned_20long_29($1, $2), HEAP32[$0 + 12 >> 2]); + $2 = $2 + 1 | 0; + continue; } - } else __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm(i3, i4); while (0); - STACKTOP = i8; - return; -} - -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = (((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) | 0) / 20 | 0) + 1 | 0; - i6 = __ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = ((HEAP32[i1 + 8 >> 2] | 0) - i8 | 0) / 20 | 0; - i9 = i10 << 1; - __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEEC2EmmS5_(i3, i10 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, ((HEAP32[i4 >> 2] | 0) - i8 | 0) / 20 | 0, i1 + 8 | 0); - i6 = i3 + 8 | 0; - i5 = HEAP32[i6 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i5 + 4 >> 2] = HEAP32[i2 + 4 >> 2]; - HEAP32[i5 + 8 >> 2] = HEAP32[i2 + 8 >> 2]; - HEAP32[i5 + 12 >> 2] = HEAP32[i2 + 12 >> 2]; - HEAP32[i5 + 16 >> 2] = HEAP32[i2 + 16 >> 2]; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 20; - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i1, i3); - __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEED2Ev(i3); - STACKTOP = i7; - return; + break; } } -function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryERKNS_5ImageE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i5; - i4 = i1 + 92 | 0; - i6 = __ZN6vision25GaussianScaleSpacePyramid6imagesEv(i4) | 0; - if (!(((HEAP32[i6 + 4 >> 2] | 0) != (HEAP32[i6 >> 2] | 0) ? (i6 = __ZN6vision25GaussianScaleSpacePyramid6imagesEv(i4) | 0, i6 = __ZNK6vision5Image5widthEv(HEAP32[i6 >> 2] | 0) | 0, (i6 | 0) == (__ZNK6vision5Image5widthEv(i2) | 0)) : 0) ? (i6 = __ZN6vision25GaussianScaleSpacePyramid6imagesEv(i4) | 0, i6 = __ZNK6vision5Image6heightEv(HEAP32[i6 >> 2] | 0) | 0, (i6 | 0) == (__ZNK6vision5Image6heightEv(i2) | 0)) : 0)) { - i6 = __ZNK6vision5Image5widthEv(i2) | 0; - i6 = __ZN6vision10numOctavesEiii(i6, __ZNK6vision5Image6heightEv(i2) | 0, 8) | 0; - i7 = __ZNK6vision5Image5widthEv(i2) | 0; - __ZN6vision18BinomialPyramid32f5allocEmmi(i4, i7, __ZNK6vision5Image6heightEv(i2) | 0, i6); - } - __ZN6vision11ScopedTimerC2EPKc(i3, 27199); - if (__ZN6vision11ScopedTimercvbEv(i3) | 0) __ZN6vision18BinomialPyramid32f5buildERKNS_5ImageE(i4, i2); - __ZN6vision11ScopedTimerD2Ev(i3); - i7 = __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryEPKNS_25GaussianScaleSpacePyramidE(i1, i4) | 0; - STACKTOP = i5; - return i7 | 0; -} - -function __ZL15genBWImageQuartPhiiPiS0_(i10, i11, i1, i2, i3) { - i10 = i10 | 0; - i11 = i11 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i12 = (i11 | 0) / 4 | 0; - HEAP32[i2 >> 2] = i12; - i9 = (i1 | 0) / 4 | 0; - HEAP32[i3 >> 2] = i9; - i8 = _malloc(Math_imul(i9, i12) | 0) | 0; - if (!i8) { - _arLog(0, 3, 20454, i13); - _exit(1); - } - i2 = 0; - i1 = i8; - while (1) { - if ((i2 | 0) >= (i9 | 0)) break; - i7 = i2 << 2; - i3 = 0; - i4 = i10 + (Math_imul(i7, i11) | 0) | 0; - i5 = i10 + (Math_imul(i7 | 3, i11) | 0) | 0; - i6 = i10 + (Math_imul(i7 | 2, i11) | 0) | 0; - i7 = i10 + (Math_imul(i7 | 1, i11) | 0) | 0; - while (1) { - if ((i3 | 0) >= (i12 | 0)) break; - HEAP8[i1 >> 0] = ((HEAPU8[i4 + 1 >> 0] | 0) + (HEAPU8[i4 >> 0] | 0) + (HEAPU8[i4 + 2 >> 0] | 0) + (HEAPU8[i4 + 3 >> 0] | 0) + (HEAPU8[i7 >> 0] | 0) + (HEAPU8[i7 + 1 >> 0] | 0) + (HEAPU8[i7 + 2 >> 0] | 0) + (HEAPU8[i7 + 3 >> 0] | 0) + (HEAPU8[i6 >> 0] | 0) + (HEAPU8[i6 + 1 >> 0] | 0) + (HEAPU8[i6 + 2 >> 0] | 0) + (HEAPU8[i6 + 3 >> 0] | 0) + (HEAPU8[i5 >> 0] | 0) + (HEAPU8[i5 + 1 >> 0] | 0) + (HEAPU8[i5 + 2 >> 0] | 0) + (HEAPU8[i5 + 3 >> 0] | 0) | 0) / 16 | 0; - i3 = i3 + 1 | 0; - i4 = i4 + 4 | 0; - i5 = i5 + 4 | 0; - i6 = i6 + 4 | 0; - i7 = i7 + 4 | 0; - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - STACKTOP = i13; - return i8 | 0; -} - -function __ZN6vision24OrthogonalizeIdentity8x9IfEEbPT_PKS1_(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, d6 = 0.0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 384 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(384); - i5 = i4 + 336 | 0; - i3 = i4; - d6 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i(i3, i1, 0); - HEAPF32[i5 >> 2] = d6; - d6 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i(i3 + 36 | 0, i1, 1); - HEAPF32[i5 + 4 >> 2] = d6; - d6 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i(i3 + 72 | 0, i1, 2); - HEAPF32[i5 + 8 >> 2] = d6; - d6 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i(i3 + 108 | 0, i1, 3); - HEAPF32[i5 + 12 >> 2] = d6; - d6 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i(i3 + 144 | 0, i1, 4); - HEAPF32[i5 + 16 >> 2] = d6; - d6 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i(i3 + 180 | 0, i1, 5); - HEAPF32[i5 + 20 >> 2] = d6; - d6 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i(i3 + 216 | 0, i1, 6); - HEAPF32[i5 + 24 >> 2] = d6; - d6 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i(i3 + 252 | 0, i1, 7); - HEAPF32[i5 + 28 >> 2] = d6; - d6 = +__ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i(i3 + 288 | 0, i1, 8); - HEAPF32[i5 + 32 >> 2] = d6; - i1 = __ZN6vision9MaxIndex9IfEEiPKT_(i5) | 0; - if (+HEAPF32[i5 + (i1 << 2) >> 2] == 0.0) i1 = 0; else { - __ZN6vision11CopyVector9IfEEvPT_PKS1_(i2, i3 + (i1 * 9 << 2) | 0); - i1 = 1; - } - STACKTOP = i4; - return i1 | 0; -} - -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8__appendEm(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i8; - i6 = i3 + 8 | 0; - i7 = i3 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - do if ((((HEAP32[i6 >> 2] | 0) - i1 | 0) / 20 | 0) >>> 0 < i4 >>> 0) { - i1 = ((i1 - (HEAP32[i3 >> 2] | 0) | 0) / 20 | 0) + i4 | 0; - i2 = __ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv(i3) | 0; - if (i2 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i3); else { - i9 = HEAP32[i3 >> 2] | 0; - i10 = ((HEAP32[i6 >> 2] | 0) - i9 | 0) / 20 | 0; - i6 = i10 << 1; - __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEEC2EmmS5_(i5, i10 >>> 0 < i2 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i2, ((HEAP32[i7 >> 2] | 0) - i9 | 0) / 20 | 0, i3 + 8 | 0); - __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEE18__construct_at_endEm(i5, i4); - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i3, i5); - __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEED2Ev(i5); - break; - } - } else __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endEm(i3, i4); while (0); - STACKTOP = i8; - return; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEmmmmmmPKw(i5, i6, i1, i2, i10, i11, i12, i4) { - i5 = i5 | 0; - i6 = i6 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i4 = i4 | 0; - var i3 = 0, i7 = 0, i8 = 0, i9 = 0, i13 = 0, i14 = 0; - i14 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i13 = i14; - if ((1073741806 - i6 | 0) >>> 0 < i1 >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i5); - i7 = i5 + 8 | 0; - if ((HEAP8[i7 + 3 >> 0] | 0) < 0) i9 = HEAP32[i5 >> 2] | 0; else i9 = i5; - if (i6 >>> 0 < 536870887) { - i1 = i1 + i6 | 0; - i3 = i6 << 1; - i1 = i1 >>> 0 < i3 >>> 0 ? i3 : i1; - i1 = i1 >>> 0 < 2 ? 2 : i1 + 4 & -4; - if (i1 >>> 0 > 1073741823) _abort(); else i8 = i1; - } else i8 = 1073741807; - i3 = __Znwm(i8 << 2) | 0; - if (i10 | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm(i3, i9, i10) | 0; - if (i12 | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm(i3 + (i10 << 2) | 0, i4, i12) | 0; - i1 = i2 - i11 | 0; - i2 = i1 - i10 | 0; - if (i2 | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm(i3 + (i10 << 2) + (i12 << 2) | 0, i9 + (i10 << 2) + (i11 << 2) | 0, i2) | 0; - if ((i6 | 0) != 1) __ZdlPv(i9); - HEAP32[i5 >> 2] = i3; - HEAP32[i7 >> 2] = i8 | -2147483648; - i12 = i1 + i12 | 0; - HEAP32[i5 + 4 >> 2] = i12; - HEAP32[i13 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i3 + (i12 << 2) | 0, i13); - STACKTOP = i14; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE21__grow_by_and_replaceEmmmmmmPKc(i6, i7, i1, i2, i9, i10, i11, i3) { - i6 = i6 | 0; - i7 = i7 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i8 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i12 = i13; - if ((-18 - i7 | 0) >>> 0 < i1 >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i6); - if ((HEAP8[i6 + 11 >> 0] | 0) < 0) i8 = HEAP32[i6 >> 2] | 0; else i8 = i6; - if (i7 >>> 0 < 2147483623) { - i4 = i1 + i7 | 0; - i5 = i7 << 1; - i4 = i4 >>> 0 < i5 >>> 0 ? i5 : i4; - i4 = i4 >>> 0 < 11 ? 11 : i4 + 16 & -16; - } else i4 = -17; - i5 = __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE8allocateEm(i4) | 0; - if (i9 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm(i5, i8, i9) | 0; - if (i11 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm(i5 + i9 | 0, i3, i11) | 0; - i1 = i2 - i10 | 0; - i2 = i1 - i9 | 0; - if (i2 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm(i5 + i9 + i11 | 0, i8 + i9 + i10 | 0, i2) | 0; - if ((i7 | 0) != 10) __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE10deallocateEPcm(i8); - HEAP32[i6 >> 2] = i5; - HEAP32[i6 + 8 >> 2] = i4 | -2147483648; - i11 = i1 + i11 | 0; - HEAP32[i6 + 4 >> 2] = i11; - HEAP8[i12 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5 + i11 | 0, i12); - STACKTOP = i13; - return; -} - -function _start_pass_2_quant(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0; - i5 = HEAP32[i4 + 460 >> 2] | 0; - i6 = HEAP32[i5 + 24 >> 2] | 0; - i3 = i4 + 88 | 0; - if (!(HEAP32[i3 >> 2] | 0)) i2 = 0; else { - HEAP32[i3 >> 2] = 2; - i2 = 2; - } - if (!i1) { - HEAP32[i5 + 4 >> 2] = (i2 | 0) == 2 ? 23 : 22; - HEAP32[i5 + 8 >> 2] = 134; - i1 = HEAP32[i4 + 132 >> 2] | 0; - if ((i1 | 0) >= 1) { - if ((i1 | 0) > 256) { - i2 = HEAP32[i4 >> 2] | 0; - HEAP32[i2 + 20 >> 2] = 57; - HEAP32[i2 + 24 >> 2] = 256; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i4 >> 2] >> 2] & 255](i4); +function unsigned_20int_20std____2____sort3_std____2__greater_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + HEAP32[$4 + 16 >> 2] = $1; + HEAP32[$4 + 24 >> 2] = $0; + HEAP32[$4 + 8 >> 2] = $2; + $1 = std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 24 | 0)); + $0 = std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 8 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0)); + label$1: { + label$2: { + label$3: { + if (!$1) { + $1 = 0; + if (!$0) { + break label$1; + } + std____2__enable_if___is_swappable_float___value_20___20__is_swappable_unsigned_20long___value_2c_20void___type_20std____2__swap_float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___29(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 8 | 0)); + $1 = 1; + if (!std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 24 | 0))) { + break label$1; + } + $0 = $4 + 24 | 0; + $3 = $4 + 16 | 0; + break label$3; + } + $2 = std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 24 | 0); + if ($0) { + $3 = $4 + 8 | 0; + $1 = 1; + break label$2; + } + std____2__enable_if___is_swappable_float___value_20___20__is_swappable_unsigned_20long___value_2c_20void___type_20std____2__swap_float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___29($2, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0)); + $1 = 1; + if (!std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 8 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 16 | 0))) { + break label$1; + } + $0 = $4 + 16 | 0; + $3 = $4 + 8 | 0; } - } else { - i2 = HEAP32[i4 >> 2] | 0; - HEAP32[i2 + 20 >> 2] = 56; - HEAP32[i2 + 24 >> 2] = 1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i4 >> 2] >> 2] & 255](i4); - } - if ((HEAP32[i3 >> 2] | 0) == 2) { - i3 = ((HEAP32[i4 + 112 >> 2] | 0) * 6 | 0) + 12 | 0; - i2 = i5 + 32 | 0; - i1 = HEAP32[i2 >> 2] | 0; - if (!i1) { - i1 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i4 + 4 >> 2] | 0) + 4 >> 2] & 63](i4, 1, i3) | 0; - HEAP32[i2 >> 2] = i1; - } - _jzero_far(i1, i3); - if (!(HEAP32[i5 + 40 >> 2] | 0)) _init_error_limit(i4); - HEAP32[i5 + 36 >> 2] = 0; + $2 = std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($0); + $1 = 2; } - } else { - HEAP32[i5 + 4 >> 2] = 21; - HEAP32[i5 + 8 >> 2] = 133; - HEAP32[i5 + 28 >> 2] = 1; - } - i2 = i5 + 28 | 0; - if (HEAP32[i2 >> 2] | 0) { - i1 = 0; - while (1) { - if ((i1 | 0) == 32) break; - _jzero_far(HEAP32[i6 + (i1 << 2) >> 2] | 0, 4096); - i1 = i1 + 1 | 0; - } - HEAP32[i2 >> 2] = 0; - } - return; -} - -function ___mo_lookup(i12, i13, i10) { - i12 = i12 | 0; - i13 = i13 | 0; - i10 = i10 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i11 = 0; - i11 = (HEAP32[i12 >> 2] | 0) + 1794895138 | 0; - i3 = _swapc(HEAP32[i12 + 8 >> 2] | 0, i11) | 0; - i1 = _swapc(HEAP32[i12 + 12 >> 2] | 0, i11) | 0; - i2 = _swapc(HEAP32[i12 + 16 >> 2] | 0, i11) | 0; - L1 : do if ((i3 >>> 0 < i13 >>> 2 >>> 0 ? (i9 = i13 - (i3 << 2) | 0, i1 >>> 0 < i9 >>> 0 & i2 >>> 0 < i9 >>> 0) : 0) ? ((i2 | i1) & 3 | 0) == 0 : 0) { - i9 = i1 >>> 2; - i8 = i2 >>> 2; - i7 = 0; - while (1) { - i5 = i3 >>> 1; - i6 = i7 + i5 | 0; - i4 = i6 << 1; - i2 = i4 + i9 | 0; - i1 = _swapc(HEAP32[i12 + (i2 << 2) >> 2] | 0, i11) | 0; - i2 = _swapc(HEAP32[i12 + (i2 + 1 << 2) >> 2] | 0, i11) | 0; - if (!(i2 >>> 0 < i13 >>> 0 & i1 >>> 0 < (i13 - i2 | 0) >>> 0)) { - i1 = 0; - break L1; - } - if (HEAP8[i12 + (i2 + i1) >> 0] | 0) { - i1 = 0; - break L1; - } - i1 = _strcmp(i10, i12 + i2 | 0) | 0; - if (!i1) break; - i1 = (i1 | 0) < 0; - if ((i3 | 0) == 1) { - i1 = 0; - break L1; - } - i7 = i1 ? i7 : i6; - i3 = i1 ? i5 : i3 - i5 | 0; - } - i1 = i4 + i8 | 0; - i2 = _swapc(HEAP32[i12 + (i1 << 2) >> 2] | 0, i11) | 0; - i1 = _swapc(HEAP32[i12 + (i1 + 1 << 2) >> 2] | 0, i11) | 0; - if (i1 >>> 0 < i13 >>> 0 & i2 >>> 0 < (i13 - i1 | 0) >>> 0) i1 = (HEAP8[i12 + (i1 + i2) >> 0] | 0) == 0 ? i12 + i1 | 0 : 0; else i1 = 0; - } else i1 = 0; while (0); - return i1 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKcm(i8, i4, i1, i7) { - i8 = i8 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - i7 = i7 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i9 = 0, i10 = 0, i11 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i11; - i10 = i8 + 11 | 0; - i2 = HEAP8[i10 >> 0] | 0; - i3 = i2 << 24 >> 24 < 0; - if (i3) i6 = HEAP32[i8 + 4 >> 2] | 0; else i6 = i2 & 255; - if (i6 >>> 0 < i4 >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_out_of_rangeEv(i8); - if (i3) i2 = (HEAP32[i8 + 8 >> 2] & 2147483647) + -1 | 0; else i2 = 10; - if ((i2 - i6 | 0) >>> 0 >= i7 >>> 0) { - if (i7 | 0) { - if (i3) i5 = HEAP32[i8 >> 2] | 0; else i5 = i8; - i2 = i6 - i4 | 0; - i3 = i5 + i4 | 0; - if (i2) { - __ZNSt3__211char_traitsIcE4moveEPcPKcm(i3 + i7 | 0, i3, i2) | 0; - i1 = i3 >>> 0 <= i1 >>> 0 & (i5 + i6 | 0) >>> 0 > i1 >>> 0 ? i1 + i7 | 0 : i1; - } - __ZNSt3__211char_traitsIcE4moveEPcPKcm(i3, i1, i7) | 0; - i1 = i6 + i7 | 0; - if ((HEAP8[i10 >> 0] | 0) < 0) HEAP32[i8 + 4 >> 2] = i1; else HEAP8[i10 >> 0] = i1; - HEAP8[i9 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5 + i1 | 0, i9); - } - } else __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE21__grow_by_and_replaceEmmmmmmPKc(i8, i2, i6 + i7 - i2 | 0, i6, i4, 0, i7, i1); - STACKTOP = i11; - return i8 | 0; -} - -function __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIRKS3_EEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = (((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) | 0) / 24 | 0) + 1 | 0; - i6 = __ZNKSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = ((HEAP32[i1 + 8 >> 2] | 0) - i8 | 0) / 24 | 0; - i9 = i10 << 1; - __ZNSt3__214__split_bufferIN10__cxxabiv112_GLOBAL__N_111string_pairERNS2_11short_allocIS3_Lm4096EEEEC2EmmS6_(i3, i10 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, ((HEAP32[i4 >> 2] | 0) - i8 | 0) / 24 | 0, i1 + 12 | 0); - i6 = i3 + 8 | 0; - i5 = HEAP32[i6 >> 2] | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i5, i2); - HEAP32[i6 >> 2] = i5 + 24; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i1, i3); - __ZNSt3__214__split_bufferIN10__cxxabiv112_GLOBAL__N_111string_pairERNS2_11short_allocIS3_Lm4096EEEED2Ev(i3); - STACKTOP = i7; - return; - } -} - -function __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE21__push_back_slow_pathIS3_EEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = (((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) | 0) / 24 | 0) + 1 | 0; - i6 = __ZNKSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = ((HEAP32[i1 + 8 >> 2] | 0) - i8 | 0) / 24 | 0; - i9 = i10 << 1; - __ZNSt3__214__split_bufferIN10__cxxabiv112_GLOBAL__N_111string_pairERNS2_11short_allocIS3_Lm4096EEEEC2EmmS6_(i3, i10 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, ((HEAP32[i4 >> 2] | 0) - i8 | 0) / 24 | 0, i1 + 12 | 0); - i6 = i3 + 8 | 0; - i5 = HEAP32[i6 >> 2] | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i5, i2); - HEAP32[i6 >> 2] = i5 + 24; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i1, i3); - __ZNSt3__214__split_bufferIN10__cxxabiv112_GLOBAL__N_111string_pairERNS2_11short_allocIS3_Lm4096EEEED2Ev(i3); - STACKTOP = i7; - return; + std____2__enable_if___is_swappable_float___value_20___20__is_swappable_unsigned_20long___value_2c_20void___type_20std____2__swap_float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___29($2, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($3)); } + __stack_pointer = $4 + 32 | 0; + return $1; } -function __ZN10__cxxabiv112_GLOBAL__N_115parse_simple_idINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i3 = 0, i5 = 0, i6 = 0, i7 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i7; - if ((i1 | 0) != (i2 | 0) ? (i3 = __ZN10__cxxabiv112_GLOBAL__N_117parse_source_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i4) | 0, (i3 | 0) != (i1 | 0)) : 0) { - i5 = __ZN10__cxxabiv112_GLOBAL__N_119parse_template_argsINS0_2DbEEEPKcS4_S4_RT_(i3, i2, i4) | 0; - if ((i5 | 0) != (i3 | 0)) { - i3 = i4 + 4 | 0; - i2 = HEAP32[i3 >> 2] | 0; - if (((i2 - (HEAP32[i4 >> 2] | 0) | 0) / 24 | 0) >>> 0 >= 2) { - __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i6, i2 + -24 | 0); - i2 = HEAP32[i3 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == -1) break; - i4 = i1 + -1 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i2 + (i4 * 24 | 0) | 0); - i1 = i4; - } - HEAP32[i3 >> 2] = i2 + -24; - i1 = HEAP8[i6 + 11 >> 0] | 0; - i4 = i1 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i2 + -48 | 0, i4 ? HEAP32[i6 >> 2] | 0 : i6, i4 ? HEAP32[i6 + 4 >> 2] | 0 : i1 & 255) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i6); - i1 = i5; - } - } else i1 = i3; - } - STACKTOP = i7; - return i1 | 0; -} - -function _alloc_small(i9, i3, i1) { - i9 = i9 | 0; - i3 = i3 | 0; - i1 = i1 | 0; - var i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0; - i10 = HEAP32[i9 + 4 >> 2] | 0; - if (i1 >>> 0 > 999999984) _out_of_memory(i9, 1); - i8 = i1 & 7; - i8 = ((i8 | 0) == 0 ? 0 : 8 - i8 | 0) + i1 | 0; - if (i3 >>> 0 > 1) { - i7 = HEAP32[i9 >> 2] | 0; - HEAP32[i7 + 20 >> 2] = 14; - HEAP32[i7 + 24 >> 2] = i3; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i9 >> 2] >> 2] & 255](i9); - } - i7 = i10 + 52 + (i3 << 2) | 0; - i2 = i7; - i6 = 0; +function std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________destruct_at_end_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; while (1) { - i1 = HEAP32[i2 >> 2] | 0; - if (!i1) { - i4 = 9; - break; + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 12 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________destroy_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($3, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______20std____2____to_address_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($2)); + continue; } - if ((HEAP32[i1 + 8 >> 2] | 0) >>> 0 >= i8 >>> 0) break; - i2 = i1; - i6 = i1; + break; } - do if ((i4 | 0) == 9) { - i5 = (i6 | 0) == 0; - i2 = HEAP32[(i5 ? 13624 : 13632) + (i3 << 2) >> 2] | 0; - i4 = 999999984 - i8 | 0; - i2 = i2 >>> 0 > i4 >>> 0 ? i4 : i2; - while (1) { - i3 = i2 + i8 | 0; - i4 = i3 + 16 | 0; - i1 = _jpeg_get_small(i9, i4) | 0; - if (i1 | 0) break; - if (i2 >>> 0 < 100) _out_of_memory(i9, 2); - i2 = i2 >>> 1; - } - i10 = i10 + 76 | 0; - HEAP32[i10 >> 2] = (HEAP32[i10 >> 2] | 0) + i4; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = i3; - if (i5) { - HEAP32[i7 >> 2] = i1; - break; - } else { - HEAP32[i6 >> 2] = i1; - break; - } - } while (0); - i9 = i1 + 4 | 0; - i10 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = i10 + i8; - i9 = i1 + 8 | 0; - HEAP32[i9 >> 2] = (HEAP32[i9 >> 2] | 0) - i8; - return i1 + 16 + i10 | 0; -} - -function _jinit_d_coef_controller(i6, i1) { - i6 = i6 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i7 = i6 + 4 | 0; - i8 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i7 >> 2] >> 2] & 63](i6, 1, 116) | 0; - HEAP32[i6 + 428 >> 2] = i8; - HEAP32[i8 >> 2] = 131; - HEAP32[i8 + 8 >> 2] = 132; - HEAP32[i8 + 112 >> 2] = 0; - if (!i1) { - i2 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i7 >> 2] | 0) + 4 >> 2] & 63](i6, 1, 1280) | 0; - i3 = i8 + 32 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 10) break; - HEAP32[i3 + (i1 << 2) >> 2] = i2 + (i1 << 7); - i1 = i1 + 1 | 0; - } - HEAP32[i8 + 4 >> 2] = 72; - HEAP32[i8 + 12 >> 2] = 22; - HEAP32[i8 + 16 >> 2] = 0; - } else { - i3 = i6 + 36 | 0; - i4 = i6 + 220 | 0; - i5 = i8 + 72 | 0; - i1 = 0; - i2 = HEAP32[i6 + 216 >> 2] | 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i3 >> 2] | 0)) break; - i10 = i2 + 12 | 0; - i9 = HEAP32[i10 >> 2] | 0; - i9 = (HEAP32[i4 >> 2] | 0) == 0 ? i9 : i9 * 3 | 0; - i12 = HEAP32[(HEAP32[i7 >> 2] | 0) + 20 >> 2] | 0; - i11 = _jround_up(HEAP32[i2 + 28 >> 2] | 0, HEAP32[i2 + 8 >> 2] | 0) | 0; - i10 = _jround_up(HEAP32[i2 + 32 >> 2] | 0, HEAP32[i10 >> 2] | 0) | 0; - i9 = FUNCTION_TABLE_iiiiiii[i12 & 63](i6, 1, 1, i11, i10, i9) | 0; - HEAP32[i5 + (i1 << 2) >> 2] = i9; - i1 = i1 + 1 | 0; - i2 = i2 + 84 | 0; - } - HEAP32[i8 + 4 >> 2] = 71; - HEAP32[i8 + 12 >> 2] = 21; - HEAP32[i8 + 16 >> 2] = i5; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_118parse_template_argINS0_2DbEEEPKcS4_S4_RT_(i1, i5, i4) { - i1 = i1 | 0; - i5 = i5 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0; - L1 : do if ((i1 | 0) != (i5 | 0)) switch (HEAP8[i1 >> 0] | 0) { - case 88: - { - i3 = i1 + 1 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i3, i5, i4) | 0; - if ((i2 | 0) == (i3 | 0) | (i2 | 0) == (i5 | 0)) break L1; - i1 = (HEAP8[i2 >> 0] | 0) == 69 ? i2 + 1 | 0 : i1; - break L1; - } - case 74: - { - i2 = i1 + 1 | 0; - if ((i2 | 0) == (i5 | 0)) break L1; +} + +function start_input_pass($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = 1; + $2 = HEAP32[$0 + 340 >> 2]; + label$1: { + label$2: { + if (($2 | 0) == 1) { + $2 = HEAP32[$0 + 344 >> 2]; + HEAP32[$0 + 360 >> 2] = HEAP32[$2 + 28 >> 2]; + $3 = HEAP32[$2 + 32 >> 2]; + HEAP32[$0 + 364 >> 2] = $3; + HEAP32[$2 + 64 >> 2] = 1; + HEAP32[$2 + 56 >> 2] = 1; + HEAP32[$2 + 60 >> 2] = 1; + HEAP32[$2 + 72 >> 2] = 1; + HEAP32[$2 + 68 >> 2] = HEAP32[$2 + 36 >> 2]; + $4 = HEAP32[$2 + 12 >> 2]; + $3 = ($3 >>> 0) % ($4 >>> 0) | 0; + HEAP32[$2 + 76 >> 2] = $3 ? $3 : $4; + HEAP32[$0 + 368 >> 2] = 1; + HEAP32[$0 + 372 >> 2] = 0; + break label$2; + } + if ($2 - 5 >>> 0 <= 4294967291) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 24 >> 2] = $2; + HEAP32[$3 + 20 >> 2] = 27; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = 4; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + wasm2js_i32$0 = $0, wasm2js_i32$1 = jdiv_round_up(HEAP32[$0 + 28 >> 2], Math_imul(HEAP32[$0 + 428 >> 2], HEAP32[$0 + 316 >> 2])), + HEAP32[wasm2js_i32$0 + 360 >> 2] = wasm2js_i32$1; + $3 = 0; + $2 = jdiv_round_up(HEAP32[$0 + 32 >> 2], Math_imul(HEAP32[$0 + 428 >> 2], HEAP32[$0 + 320 >> 2])); + HEAP32[$0 + 368 >> 2] = 0; + HEAP32[$0 + 364 >> 2] = $2; + if (HEAP32[$0 + 340 >> 2] <= 0) { + break label$1; + } + $4 = $0 + 372 | 0; while (1) { - if ((HEAP8[i2 >> 0] | 0) == 69) break; - i3 = __ZN10__cxxabiv112_GLOBAL__N_118parse_template_argINS0_2DbEEEPKcS4_S4_RT_(i2, i5, i4) | 0; - if ((i3 | 0) == (i2 | 0)) break L1; else i2 = i3; + $1 = HEAP32[(($3 << 2) + $0 | 0) + 344 >> 2]; + $5 = HEAP32[$1 + 8 >> 2]; + HEAP32[$1 + 56 >> 2] = $5; + $6 = HEAP32[$1 + 12 >> 2]; + HEAP32[$1 + 60 >> 2] = $6; + $2 = Math_imul($5, $6); + HEAP32[$1 + 64 >> 2] = $2; + HEAP32[$1 + 68 >> 2] = Math_imul(HEAP32[$1 + 36 >> 2], $5); + $7 = HEAPU32[$1 + 28 >> 2] % ($5 >>> 0) | 0; + HEAP32[$1 + 72 >> 2] = $7 ? $7 : $5; + $5 = HEAPU32[$1 + 32 >> 2] % ($6 >>> 0) | 0; + HEAP32[$1 + 76 >> 2] = $5 ? $5 : $6; + if ((HEAP32[$0 + 368 >> 2] + $2 | 0) >= 11) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 14; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + label$7: { + if (($2 | 0) <= 0) { + break label$7; + } + $7 = $2 - 1 | 0; + $1 = 0; + $6 = $2 & 3; + if ($6) { + while (1) { + $5 = HEAP32[$0 + 368 >> 2]; + HEAP32[$0 + 368 >> 2] = $5 + 1; + HEAP32[(($5 << 2) + $0 | 0) + 372 >> 2] = $3; + $2 = $2 - 1 | 0; + $1 = $1 + 1 | 0; + if (($6 | 0) != ($1 | 0)) { + continue; + } + break; + } + } + if ($7 >>> 0 < 3) { + break label$7; + } + while (1) { + $1 = HEAP32[$0 + 368 >> 2]; + HEAP32[$0 + 368 >> 2] = $1 + 1; + HEAP32[($1 << 2) + $4 >> 2] = $3; + $1 = HEAP32[$0 + 368 >> 2]; + HEAP32[$0 + 368 >> 2] = $1 + 1; + HEAP32[($1 << 2) + $4 >> 2] = $3; + $1 = HEAP32[$0 + 368 >> 2]; + HEAP32[$0 + 368 >> 2] = $1 + 1; + HEAP32[($1 << 2) + $4 >> 2] = $3; + $1 = HEAP32[$0 + 368 >> 2]; + HEAP32[$0 + 368 >> 2] = $1 + 1; + HEAP32[($1 << 2) + $4 >> 2] = $3; + $1 = $2 - 5 | 0; + $2 = $2 - 4 | 0; + if ($1 >>> 0 < 4294967294) { + continue; + } + break; + } + } + $1 = HEAP32[$0 + 340 >> 2]; + $3 = $3 + 1 | 0; + if (($1 | 0) > ($3 | 0)) { + continue; + } + break; + } + if (($1 | 0) <= 0) { + break label$1; } - i1 = i2 + 1 | 0; - break L1; - } - case 76: - { - i3 = i1 + 1 | 0; - if ((i3 | 0) != (i5 | 0) ? (HEAP8[i3 >> 0] | 0) == 90 : 0) { - i3 = i1 + 2 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_114parse_encodingINS0_2DbEEEPKcS4_S4_RT_(i3, i5, i4) | 0; - if ((i2 | 0) == (i3 | 0) | (i2 | 0) == (i5 | 0)) break L1; - i1 = (HEAP8[i2 >> 0] | 0) == 69 ? i2 + 1 | 0 : i1; - break L1; - } - i1 = __ZN10__cxxabiv112_GLOBAL__N_118parse_expr_primaryINS0_2DbEEEPKcS4_S4_RT_(i1, i5, i4) | 0; - break L1; - } - default: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_110parse_typeINS0_2DbEEEPKcS4_S4_RT_(i1, i5, i4) | 0; - break L1; - } - } while (0); - return i1 | 0; -} - -function _create_colorindex(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i10 = HEAP32[i1 + 460 >> 2] | 0; - i11 = (HEAP32[i1 + 88 >> 2] | 0) == 1; - HEAP32[i10 + 28 >> 2] = i11 & 1; - i9 = i1 + 120 | 0; - i1 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i1 + 4 >> 2] | 0) + 8 >> 2] & 15](i1, 1, i11 ? 766 : 256, HEAP32[i9 >> 2] | 0) | 0; - i8 = i10 + 24 | 0; - HEAP32[i8 >> 2] = i1; - i1 = HEAP32[i10 + 20 >> 2] | 0; - i7 = 0; - while (1) { - if ((i7 | 0) >= (HEAP32[i9 >> 2] | 0)) break; - i2 = HEAP32[i10 + 32 + (i7 << 2) >> 2] | 0; - i1 = (i1 | 0) / (i2 | 0) | 0; - if (i11) { - i6 = (HEAP32[i8 >> 2] | 0) + (i7 << 2) | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 255; - } - i6 = HEAP32[(HEAP32[i8 >> 2] | 0) + (i7 << 2) >> 2] | 0; - i5 = i2 + -1 | 0; - i2 = 0; - i3 = _largest_input_value(0, i5) | 0; - i4 = 0; - while (1) { - if ((i4 | 0) == 256) break; - while (1) { - if ((i4 | 0) <= (i3 | 0)) break; - i3 = i2 + 1 | 0; - i2 = i3; - i3 = _largest_input_value(i3, i5) | 0; - } - i12 = (Math_imul(i2, i1) | 0) & 255; - HEAP8[i6 + i4 >> 0] = i12; - i4 = i4 + 1 | 0; - } - L15 : do if (i11) { - i3 = i6 + 255 | 0; - i2 = 1; - while (1) { - if ((i2 | 0) == 256) break L15; - HEAP8[i6 + (0 - i2) >> 0] = HEAP8[i6 >> 0] | 0; - HEAP8[i6 + (i2 + 255) >> 0] = HEAP8[i3 >> 0] | 0; - i2 = i2 + 1 | 0; - } - } while (0); - i7 = i7 + 1 | 0; - } - return; -} - -function _arMatrixPCA(i1, i7, i10, i4) { - i1 = i1 | 0; - i7 = i7 | 0; - i10 = i10 | 0; - i4 = i4 | 0; - var i2 = 0, d3 = 0.0, i5 = 0, i6 = 0, i8 = 0, i9 = 0; - i5 = HEAP32[i1 + 4 >> 2] | 0; - i6 = HEAP32[i1 + 8 >> 2] | 0; - i2 = (i5 | 0) < (i6 | 0) ? i5 : i6; - L1 : do if (((((!((i5 | 0) < 2 | (i6 | 0) < 2) ? (HEAP32[i7 + 8 >> 2] | 0) == (i6 | 0) : 0) ? (HEAP32[i7 + 4 >> 2] | 0) == (i2 | 0) : 0) ? (i8 = i10 + 4 | 0, (HEAP32[i8 >> 2] | 0) == (i2 | 0)) : 0) ? (HEAP32[i4 + 4 >> 2] | 0) == (i6 | 0) : 0) ? (i9 = _arMatrixAllocDup(i1) | 0, (i9 | 0) != 0) : 0) { - d3 = +Math_sqrt(+(+(i5 | 0))); - if ((_EX(i9, i4) | 0) < 0) { - _arMatrixFree(i9) | 0; - i1 = -1; - break; - } - if ((_CENTER(i9, i4) | 0) < 0) { - _arMatrixFree(i9) | 0; - i1 = -1; - break; - } - i2 = Math_imul(i6, i5) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - i6 = (HEAP32[i9 >> 2] | 0) + (i1 << 3) | 0; - HEAPF64[i6 >> 3] = +HEAPF64[i6 >> 3] / d3; - i1 = i1 + 1 | 0; - } - i1 = _PCA(i9, i7, i10) | 0; - _arMatrixFree(i9) | 0; - i4 = HEAP32[i8 >> 2] | 0; - d3 = 0.0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i4 | 0)) break; - d3 = d3 + +HEAPF64[(HEAP32[i10 >> 2] | 0) + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; } - i2 = 0; + $2 = 0; while (1) { - if ((i2 | 0) >= (i4 | 0)) break L1; - i9 = (HEAP32[i10 >> 2] | 0) + (i2 << 3) | 0; - HEAPF64[i9 >> 3] = +HEAPF64[i9 >> 3] / d3; - i2 = i2 + 1 | 0; - } - } else i1 = -1; while (0); - return i1 | 0; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE8__appendEmRKi(i3, i7, i8) { - i3 = i3 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0, i6 = 0, i9 = 0, i10 = 0, i11 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i10; - i6 = i3 + 8 | 0; - i9 = i3 + 4 | 0; - i1 = HEAP32[i9 >> 2] | 0; - i4 = i1; - do if ((HEAP32[i6 >> 2] | 0) - i1 >> 2 >>> 0 < i7 >>> 0) { - i1 = (i1 - (HEAP32[i3 >> 2] | 0) >> 2) + i7 | 0; - i2 = __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv(i3) | 0; - if (i2 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i3); else { - i4 = HEAP32[i3 >> 2] | 0; - i11 = (HEAP32[i6 >> 2] | 0) - i4 | 0; - i6 = i11 >> 1; - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_(i5, i11 >> 2 >>> 0 < i2 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i2, (HEAP32[i9 >> 2] | 0) - i4 >> 2, i3 + 8 | 0); - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endEmRKi(i5, i7, i8); - __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EE(i3, i5); - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev(i5); + $3 = HEAP32[(($2 << 2) + $0 | 0) + 344 >> 2]; + if (!HEAP32[$3 + 80 >> 2]) { + $4 = HEAP32[$3 + 16 >> 2]; + if (!(HEAP32[(($4 << 2) + $0 | 0) + 164 >> 2] ? $4 >>> 0 <= 3 : 0)) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $4; + HEAP32[$1 + 20 >> 2] = 54; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + wasm2js_i32$0 = $3, wasm2js_i32$1 = __memcpy(FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 132) | 0, HEAP32[(($4 << 2) + $0 | 0) + 164 >> 2], 132), + HEAP32[wasm2js_i32$0 + 80 >> 2] = wasm2js_i32$1; + $1 = HEAP32[$0 + 340 >> 2]; + } + $2 = $2 + 1 | 0; + if (($2 | 0) < ($1 | 0)) { + continue; + } break; } - } else { - i1 = i7; - i2 = i4; - while (1) { - HEAP32[i2 >> 2] = HEAP32[i8 >> 2]; - i1 = i1 + -1 | 0; - if (!i1) break; else i2 = i2 + 4 | 0; - } - HEAP32[i9 >> 2] = i4 + (i7 << 2); - } while (0); - STACKTOP = i10; - return; -} - -function _sep_upsample(i8, i4, i9, i1, i10, i11, i12) { - i8 = i8 | 0; - i4 = i4 | 0; - i9 = i9 | 0; - i1 = i1 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i13 = 0; - i6 = HEAP32[i8 + 452 >> 2] | 0; - i7 = i6 + 92 | 0; - i2 = HEAP32[i7 >> 2] | 0; - i5 = i8 + 312 | 0; - i1 = HEAP32[i5 >> 2] | 0; - if ((i2 | 0) >= (i1 | 0)) { - i3 = i8 + 36 | 0; - i1 = HEAP32[i8 + 216 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (HEAP32[i3 >> 2] | 0)) break; - i13 = (HEAP32[i4 + (i2 << 2) >> 2] | 0) + ((Math_imul(HEAP32[i6 + 100 + (i2 << 2) >> 2] | 0, HEAP32[i9 >> 2] | 0) | 0) << 2) | 0; - FUNCTION_TABLE_viiii[HEAP32[i6 + 52 + (i2 << 2) >> 2] & 31](i8, i1, i13, i6 + 12 + (i2 << 2) | 0); - i1 = i1 + 84 | 0; - i2 = i2 + 1 | 0; - } - HEAP32[i7 >> 2] = 0; - i2 = 0; - i1 = HEAP32[i5 >> 2] | 0; - } - i13 = i1 - i2 | 0; - i4 = i6 + 96 | 0; - i3 = HEAP32[i4 >> 2] | 0; - i13 = i13 >>> 0 > i3 >>> 0 ? i3 : i13; - i3 = HEAP32[i11 >> 2] | 0; - i12 = i12 - i3 | 0; - i13 = i13 >>> 0 > i12 >>> 0 ? i12 : i13; - FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i8 + 456 >> 2] | 0) + 4 >> 2] & 31](i8, i6 + 12 | 0, i2, i10 + (i3 << 2) | 0, i13); - HEAP32[i11 >> 2] = (HEAP32[i11 >> 2] | 0) + i13; - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) - i13; - i13 = (HEAP32[i7 >> 2] | 0) + i13 | 0; - HEAP32[i7 >> 2] = i13; - if ((i13 | 0) >= (HEAP32[i5 >> 2] | 0)) HEAP32[i9 >> 2] = (HEAP32[i9 >> 2] | 0) + 1; - return; -} - -function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = ((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 3) + 1 | 0; - i6 = __ZNKSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = (HEAP32[i1 + 8 >> 2] | 0) - i8 | 0; - i9 = i10 >> 2; - __ZNSt3__214__split_bufferIN6vision17PriorityQueueItemILi96EEERNS_9allocatorIS3_EEEC2EmmS6_(i3, i10 >> 3 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, (HEAP32[i4 >> 2] | 0) - i8 >> 3, i1 + 8 | 0); - i6 = i3 + 8 | 0; - i4 = HEAP32[i2 + 4 >> 2] | 0; - i5 = HEAP32[i6 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i5 + 4 >> 2] = i4; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 8; - __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i1, i3); - __ZNSt3__214__split_bufferIN6vision17PriorityQueueItemILi96EEERNS_9allocatorIS3_EEED2Ev(i3); - STACKTOP = i7; - return; } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 468 >> 2] >> 2]]($0); + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 452 >> 2] >> 2]]($0); + HEAP32[HEAP32[$0 + 460 >> 2] >> 2] = HEAP32[HEAP32[$0 + 452 >> 2] + 4 >> 2]; } -function __ZN6vision27OrthogonalizePivot8x9Basis4IfEEbPT_S2_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, i8 = 0, i9 = 0, i10 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i5; - i3 = i1 + 144 | 0; - i10 = i1 + 108 | 0; - i4 = i2 + 144 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i3, i10, i4); - i9 = i1 + 180 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i9, i10, i2 + 180 | 0); - i8 = i1 + 216 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i8, i10, i2 + 216 | 0); - i1 = i1 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i1, i10, i2 + 252 | 0); - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i3); - HEAPF32[i6 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i9); - HEAPF32[i6 + 4 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i8); - HEAPF32[i6 + 8 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i1); - HEAPF32[i6 + 12 >> 2] = d7; - i1 = __ZN6vision9MaxIndex4IfEEiPKT_(i6) | 0; - i2 = i6 + (i1 << 2) | 0; - if (+HEAPF32[i2 >> 2] == 0.0) i1 = 0; else { - i1 = i1 * 9 | 0; - __ZN6vision5Swap9IfEEvPT_S2_(i3, i3 + (i1 << 2) | 0); - __ZN6vision5Swap9IfEEvPT_S2_(i4, i4 + (i1 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_(i3, i3, 1.0 / +Math_sqrt(+(+HEAPF32[i2 >> 2]))); - i1 = 1; - } - STACKTOP = i5; - return i1 | 0; -} - -function _ycc_rgb_convert(i1, i16, i2, i3, i4) { - i1 = i1 | 0; - i16 = i16 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i17 = 0, i18 = 0, i19 = 0, i20 = 0; - i13 = HEAP32[i1 + 456 >> 2] | 0; - i17 = HEAP32[i1 + 112 >> 2] | 0; - i9 = HEAP32[i1 + 324 >> 2] | 0; - i10 = HEAP32[i13 + 8 >> 2] | 0; - i11 = HEAP32[i13 + 12 >> 2] | 0; - i12 = HEAP32[i13 + 16 >> 2] | 0; - i13 = HEAP32[i13 + 20 >> 2] | 0; - i14 = i16 + 4 | 0; - i15 = i16 + 8 | 0; - i1 = i4; - while (1) { - i8 = i1 + -1 | 0; - if ((i1 | 0) <= 0) break; - i5 = HEAP32[(HEAP32[i16 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i6 = HEAP32[(HEAP32[i14 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i7 = HEAP32[(HEAP32[i15 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i2 = i2 + 1 | 0; - i1 = HEAP32[i3 >> 2] | 0; - i4 = 0; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_20const__2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0, $9 = 0, $10 = 0, $11 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $8 = __stack_pointer - 32 | 0; + __stack_pointer = $8; + HEAP32[$8 + 16 >> 2] = $2; + HEAP32[$8 + 24 >> 2] = $1; + std____2__ios_base__getloc_28_29_20const($8 + 8 | 0, $3); + $2 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($8 + 8 | 0); + std____2__locale___locale_28_29($8 + 8 | 0); + HEAP32[$4 >> 2] = 0; + $1 = 0; + label$1: { while (1) { - if ((i4 | 0) == (i17 | 0)) break; - i18 = HEAPU8[i5 + i4 >> 0] | 0; - i19 = HEAPU8[i6 + i4 >> 0] | 0; - i20 = HEAPU8[i7 + i4 >> 0] | 0; - HEAP8[i1 >> 0] = HEAP8[i9 + ((HEAP32[i10 + (i20 << 2) >> 2] | 0) + i18) >> 0] | 0; - HEAP8[i1 + 1 >> 0] = HEAP8[i9 + (((HEAP32[i12 + (i20 << 2) >> 2] | 0) + (HEAP32[i13 + (i19 << 2) >> 2] | 0) >> 16) + i18) >> 0] | 0; - HEAP8[i1 + 2 >> 0] = HEAP8[i9 + ((HEAP32[i11 + (i19 << 2) >> 2] | 0) + i18) >> 0] | 0; - i1 = i1 + 3 | 0; - i4 = i4 + 1 | 0; - } - i3 = i3 + 4 | 0; - i1 = i8; - } - return; -} - -function __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE8__appendEm(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i8; - i6 = i3 + 8 | 0; - i7 = i3 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - do if ((HEAP32[i6 >> 2] | 0) - i1 >> 5 >>> 0 < i4 >>> 0) { - i1 = (i1 - (HEAP32[i3 >> 2] | 0) >> 5) + i4 | 0; - i2 = __ZNKSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE8max_sizeEv(i3) | 0; - if (i2 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i3); else { - i9 = HEAP32[i3 >> 2] | 0; - i10 = (HEAP32[i6 >> 2] | 0) - i9 | 0; - i6 = i10 >> 4; - __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEEC2EmmS5_(i5, i10 >> 5 >>> 0 < i2 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i2, (HEAP32[i7 >> 2] | 0) - i9 >> 5, i3 + 8 | 0); - __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEE18__construct_at_endEm(i5, i4); - __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i3, i5); - __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEED2Ev(i5); + if (($6 | 0) == ($7 | 0) | $1) { + break label$1; + } + label$3: { + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($8 + 24 | 0, $8 + 16 | 0)) { + break label$3; + } + label$4: { + if ((std____2__ctype_char___narrow_28char_2c_20char_29_20const($2, HEAP8[$6 | 0], 0) | 0) == 37) { + $1 = $6 + 1 | 0; + if (($7 | 0) == ($1 | 0)) { + break label$3; + } + $10 = 0; + $9 = std____2__ctype_char___narrow_28char_2c_20char_29_20const($2, HEAP8[$1 | 0], 0); + label$6: { + if (!(($9 | 0) == 69 | ($9 & 255) == 48)) { + $1 = $6; + break label$6; + } + $11 = $6; + $6 = $6 + 2 | 0; + if (($7 | 0) == ($6 | 0)) { + break label$3; + } + $10 = $9; + $9 = std____2__ctype_char___narrow_28char_2c_20char_29_20const($2, HEAP8[$11 + 2 | 0], 0); + } + wasm2js_i32$0 = $8, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 36 >> 2]]($0, HEAP32[$8 + 24 >> 2], HEAP32[$8 + 16 >> 2], $3, $4, $5, $9, $10) | 0, + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + $6 = $1 + 2 | 0; + break label$4; + } + if (std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($2, 1, HEAP8[$6 | 0])) { + while (1) { + label$10: { + $6 = $6 + 1 | 0; + if (($7 | 0) == ($6 | 0)) { + $6 = $7; + break label$10; + } + if (std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($2, 1, HEAP8[$6 | 0])) { + continue; + } + } + break; + } + while (1) { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($8 + 24 | 0, $8 + 16 | 0)) { + break label$4; + } + if (!std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($2, 1, std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($8 + 24 | 0))) { + break label$4; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($8 + 24 | 0); + continue; + } + } + if ((std____2__ctype_char___toupper_28char_29_20const($2, std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($8 + 24 | 0)) | 0) == (std____2__ctype_char___toupper_28char_29_20const($2, HEAP8[$6 | 0]) | 0)) { + $6 = $6 + 1 | 0; + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($8 + 24 | 0); + break label$4; + } + HEAP32[$4 >> 2] = 4; + } + $1 = HEAP32[$4 >> 2]; + continue; + } break; } - } else __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE18__construct_at_endEm(i3, i4); while (0); - STACKTOP = i8; - return; -} - -function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE21__push_back_slow_pathIS3_EEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = (((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) | 0) / 12 | 0) + 1 | 0; - i6 = __ZNKSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = ((HEAP32[i1 + 8 >> 2] | 0) - i8 | 0) / 12 | 0; - i9 = i10 << 1; - __ZNSt3__214__split_bufferIN6vision7Point3dIfEERNS_9allocatorIS3_EEEC2EmmS6_(i3, i10 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, ((HEAP32[i4 >> 2] | 0) - i8 | 0) / 12 | 0, i1 + 8 | 0); - i6 = i3 + 8 | 0; - i5 = HEAP32[i6 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i5 + 4 >> 2] = HEAP32[i2 + 4 >> 2]; - HEAP32[i5 + 8 >> 2] = HEAP32[i2 + 8 >> 2]; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 12; - __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i1, i3); - __ZNSt3__214__split_bufferIN6vision7Point3dIfEERNS_9allocatorIS3_EEED2Ev(i3); - STACKTOP = i7; - return; + HEAP32[$4 >> 2] = 4; } + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($8 + 24 | 0, $8 + 16 | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 2; + } + __stack_pointer = $8 + 32 | 0; + $6 = HEAP32[$8 + 24 >> 2]; + return $6; } -function __ZNSt3__26vectorIhNS_9allocatorIhEEE8__appendEmRKh(i4, i2, i7) { - i4 = i4 | 0; - i2 = i2 | 0; - i7 = i7 | 0; - var i1 = 0, i3 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i9; - i6 = i4 + 8 | 0; - i8 = i4 + 4 | 0; - i1 = HEAP32[i8 >> 2] | 0; - do if (((HEAP32[i6 >> 2] | 0) - i1 | 0) >>> 0 < i2 >>> 0) { - i1 = i1 - (HEAP32[i4 >> 2] | 0) + i2 | 0; - i3 = __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv(i4) | 0; - if (i3 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i4); else { - i10 = HEAP32[i4 >> 2] | 0; - i11 = (HEAP32[i6 >> 2] | 0) - i10 | 0; - i6 = i11 << 1; - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEEC2EmmS3_(i5, i11 >>> 0 < i3 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i3, (HEAP32[i8 >> 2] | 0) - i10 | 0, i4 + 8 | 0); - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEE18__construct_at_endEmRKh(i5, i2, i7); - __ZNSt3__26vectorIhNS_9allocatorIhEEE26__swap_out_circular_bufferERNS_14__split_bufferIhRS2_EE(i4, i5); - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEED2Ev(i5); - break; - } - } else do { - HEAP8[i1 >> 0] = HEAP8[i7 >> 0] | 0; - i1 = (HEAP32[i8 >> 2] | 0) + 1 | 0; - HEAP32[i8 >> 2] = i1; - i2 = i2 + -1 | 0; - } while ((i2 | 0) != 0); while (0); - STACKTOP = i9; - return; -} - -function __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE8__appendEm(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i8; - i6 = i3 + 8 | 0; - i7 = i3 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - do if ((HEAP32[i6 >> 2] | 0) - i1 >> 3 >>> 0 < i4 >>> 0) { - i1 = (i1 - (HEAP32[i3 >> 2] | 0) >> 3) + i4 | 0; - i2 = __ZNKSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE8max_sizeEv(i3) | 0; - if (i2 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i3); else { - i9 = HEAP32[i3 >> 2] | 0; - i10 = (HEAP32[i6 >> 2] | 0) - i9 | 0; - i6 = i10 >> 2; - __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEEC2EmmS5_(i5, i10 >> 3 >>> 0 < i2 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i2, (HEAP32[i7 >> 2] | 0) - i9 >> 3, i3 + 8 | 0); - __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEE18__construct_at_endEm(i5, i4); - __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i3, i5); - __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEED2Ev(i5); - break; - } - } else __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE18__construct_at_endEm(i3, i4); while (0); - STACKTOP = i8; - return; -} - -function _icpGetJ_U_Xc(i12, i3, i1) { - i12 = i12 | 0; - i3 = i3 | 0; - i1 = i1 | 0; - var d2 = 0.0, d4 = 0.0, i5 = 0, i6 = 0, d7 = 0.0, i8 = 0, d9 = 0.0, i10 = 0, i11 = 0, i13 = 0, d14 = 0.0, i15 = 0, d16 = 0.0, d17 = 0.0; - d14 = +HEAPF64[i3 >> 3]; - d17 = +HEAPF64[i1 >> 3]; - i15 = i3 + 8 | 0; - d16 = +HEAPF64[i1 + 8 >> 3]; - i13 = i3 + 16 | 0; - d2 = +HEAPF64[i1 + 16 >> 3]; - d4 = +HEAPF64[i3 + 24 >> 3] + (d14 * d17 + +HEAPF64[i15 >> 3] * d16 + +HEAPF64[i13 >> 3] * d2); - i1 = i3 + 32 | 0; - i5 = i3 + 40 | 0; - i6 = i3 + 48 | 0; - d7 = +HEAPF64[i3 + 56 >> 3] + (d17 * +HEAPF64[i1 >> 3] + d16 * +HEAPF64[i5 >> 3] + d2 * +HEAPF64[i6 >> 3]); - i8 = i3 + 64 | 0; - d9 = +HEAPF64[i8 >> 3]; - i10 = i3 + 72 | 0; - i11 = i3 + 80 | 0; - d2 = +HEAPF64[i3 + 88 >> 3] + (d17 * d9 + d16 * +HEAPF64[i10 >> 3] + d2 * +HEAPF64[i11 >> 3]); - if (d2 == 0.0) i1 = -1; else { - d17 = d2 * d2; - HEAPF64[i12 >> 3] = (d14 * d2 - d4 * d9) / d17; - HEAPF64[i12 + 8 >> 3] = (d2 * +HEAPF64[i15 >> 3] - d4 * +HEAPF64[i10 >> 3]) / d17; - HEAPF64[i12 + 16 >> 3] = (d2 * +HEAPF64[i13 >> 3] - d4 * +HEAPF64[i11 >> 3]) / d17; - HEAPF64[i12 + 24 >> 3] = (d2 * +HEAPF64[i1 >> 3] - d7 * +HEAPF64[i8 >> 3]) / d17; - HEAPF64[i12 + 32 >> 3] = (d2 * +HEAPF64[i5 >> 3] - d7 * +HEAPF64[i10 >> 3]) / d17; - HEAPF64[i12 + 40 >> 3] = (d2 * +HEAPF64[i6 >> 3] - d7 * +HEAPF64[i11 >> 3]) / d17; - i1 = 0; - } - return i1 | 0; -} - -function _getMultiEachMarkerInfo(i1, i3, i4) { - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i2 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i5; - HEAP32[i2 >> 2] = i1; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0) { - i2 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0; - i1 = HEAP32[i2 + 280 >> 2] | 0; - if ((i3 | 0) < 0 ? 1 : (HEAP32[i2 + 284 >> 2] | 0) - i1 >> 3 >>> 0 <= i3 >>> 0) { - i1 = HEAP32[3414] | 0; - break; - } - i1 = HEAP32[i1 + (i3 << 3) + 4 >> 2] | 0; - if ((i4 | 0) < 0 ? 1 : (HEAP32[i1 + 4 >> 2] | 0) <= (i4 | 0)) { - i1 = HEAP32[3415] | 0; - break; - } else { - i1 = HEAP32[i1 >> 2] | 0; - _matrixCopy(i1 + (i4 * 320 | 0) + 16 | 0, 51552); - _emscripten_asm_const_iiiid(1, HEAP32[i1 + (i4 * 320 | 0) + 304 >> 2] | 0, HEAP32[i1 + (i4 * 320 | 0) >> 2] | 0, HEAP32[i1 + (i4 * 320 | 0) + 4 >> 2] | 0, +(+HEAPF64[i1 + (i4 * 320 | 0) + 8 >> 3])) | 0; - i1 = 0; - break; - } - } else i1 = HEAP32[3413] | 0; while (0); - STACKTOP = i5; - return i1 | 0; -} - -function __ZN6vision25CheckHomographyHeuristicsEPfii(i1, i2, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, d13 = 0.0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(96); - i5 = i12 + 88 | 0; - i6 = i12 + 80 | 0; - i7 = i12 + 72 | 0; - i8 = i12 + 64 | 0; - i9 = i12; - i10 = i12 + 56 | 0; - i11 = i12 + 48 | 0; - i3 = i12 + 40 | 0; - if (__ZN6vision16MatrixInverse3x3IfEEbPT_PKS1_S1_(i9, i1, 9.999999747378752e-06) | 0) { - d13 = +(i2 | 0); - HEAPF32[i10 >> 2] = d13; - HEAPF32[i10 + 4 >> 2] = 0.0; - HEAPF32[i11 >> 2] = d13; - d13 = +(i4 | 0); - HEAPF32[i11 + 4 >> 2] = d13; - HEAPF32[i3 >> 2] = 0.0; - HEAPF32[i3 + 4 >> 2] = d13; - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_(i5, i9, 56168); - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_(i6, i9, i10); - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_(i7, i9, i11); - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_(i8, i9, i3); - d13 = +(Math_imul(i4, i2) | 0) * .0001; - if (+__ZN6vision20SmallestTriangleAreaIfEET_PKS1_S3_S3_S3_(i5, i6, i7, i8) < d13) i1 = 0; else i1 = __ZN6vision19QuadrilateralConvexIfEEbPKT_S3_S3_S3_(i5, i6, i7, i8) | 0; - } else i1 = 0; - STACKTOP = i12; - return i1 | 0; -} - -function __ZNSt3__26vectorINS0_INS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEENS4_IS8_Lm4096EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS8_RS9_EE(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i4 = HEAP32[i2 >> 2] | 0; - i5 = i2 + 4 | 0; - i6 = i3 + 4 | 0; - i1 = HEAP32[i5 >> 2] | 0; +function jpeg_idct_10x10($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $21 = __stack_pointer - 320 | 0; + __stack_pointer = $21; + $22 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $21; while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i11 = HEAP32[i6 >> 2] | 0; - i8 = i11 + -16 | 0; - i7 = i1 + -16 | 0; - HEAP32[i8 >> 2] = 0; - i9 = i11 + -12 | 0; - HEAP32[i9 >> 2] = 0; - i10 = i11 + -8 | 0; - HEAP32[i10 >> 2] = 0; - HEAP32[i11 + -4 >> 2] = HEAP32[i1 + -4 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i7 >> 2]; - i8 = i1 + -12 | 0; - HEAP32[i9 >> 2] = HEAP32[i8 >> 2]; - i9 = i1 + -8 | 0; - HEAP32[i10 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i9 >> 2] = 0; - HEAP32[i8 >> 2] = 0; - HEAP32[i7 >> 2] = 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + -16; - i1 = i7; - } - i9 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i6 >> 2] = i9; - i9 = i3 + 8 | 0; - i11 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i9 >> 2] = i11; - i9 = i2 + 8 | 0; - i11 = i3 + 12 | 0; - i10 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i11 >> 2] = i10; - HEAP32[i3 >> 2] = HEAP32[i6 >> 2]; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEmmmmmmPKc(i6, i7, i1, i2, i9, i10, i11, i3) { - i6 = i6 | 0; - i7 = i7 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i8 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i12 = i13; - if ((-18 - i7 | 0) >>> 0 < i1 >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i6); - if ((HEAP8[i6 + 11 >> 0] | 0) < 0) i8 = HEAP32[i6 >> 2] | 0; else i8 = i6; - if (i7 >>> 0 < 2147483623) { - i4 = i1 + i7 | 0; - i5 = i7 << 1; - i4 = i4 >>> 0 < i5 >>> 0 ? i5 : i4; - i4 = i4 >>> 0 < 11 ? 11 : i4 + 16 & -16; - } else i4 = -17; - i5 = __Znwm(i4) | 0; - if (i9 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm(i5, i8, i9) | 0; - if (i11 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm(i5 + i9 | 0, i3, i11) | 0; - i1 = i2 - i10 | 0; - i2 = i1 - i9 | 0; - if (i2 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm(i5 + i9 + i11 | 0, i8 + i9 + i10 | 0, i2) | 0; - if ((i7 | 0) != 10) __ZdlPv(i8); - HEAP32[i6 >> 2] = i5; - HEAP32[i6 + 8 >> 2] = i4 | -2147483648; - i11 = i1 + i11 | 0; - HEAP32[i6 + 4 >> 2] = i11; - HEAP8[i12 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5 + i11 | 0, i12); - STACKTOP = i13; - return; -} - -function __ZNSt3__29__sift_upIRNS_4lessIN6vision17PriorityQueueItemILi96EEEEENS_11__wrap_iterIPS4_EEEEvT0_SA_T_NS_15iterator_traitsISA_E15difference_typeE(i4, i9, i2, i5) { - i4 = i4 | 0; - i9 = i9 | 0; - i2 = i2 | 0; - i5 = i5 | 0; - var i1 = 0, i3 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i8; - if ((i5 | 0) > 1 ? (i3 = (i5 + -2 | 0) / 2 | 0, i10 = HEAP32[i4 >> 2] | 0, i6 = i10 + (i3 << 3) | 0, i1 = (HEAP32[i9 >> 2] | 0) + -8 | 0, HEAP32[i9 >> 2] = i1, __ZNK6vision17PriorityQueueItemILi96EEltERKS1_(i6, i1) | 0) : 0) { - i4 = i1; - i5 = HEAP32[i4 + 4 >> 2] | 0; - i2 = i7; - HEAP32[i2 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i2 + 4 >> 2] = i5; - i2 = i6; - while (1) { - i4 = i2; - i5 = HEAP32[i4 + 4 >> 2] | 0; - i6 = i1; - HEAP32[i6 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i6 + 4 >> 2] = i5; - HEAP32[i9 >> 2] = i2; - if (!i3) break; - i3 = (i3 + -1 | 0) / 2 | 0; - i1 = i10 + (i3 << 3) | 0; - if (!(__ZNK6vision17PriorityQueueItemILi96EEltERKS1_(i1, i7) | 0)) break; else { - i6 = i2; - i2 = i1; - i1 = i6; - } - } - i6 = i7; - i9 = HEAP32[i6 + 4 >> 2] | 0; - i10 = i2; - HEAP32[i10 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i10 + 4 >> 2] = i9; - __ZN6vision17PriorityQueueItemILi96EED2Ev(i7); - } - STACKTOP = i8; - return; -} - -function __ZN6vision27OrthogonalizePivot8x9Basis0IfEEbPT_S2_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, d7 = 0.0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i4 = i6; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i2); - HEAPF32[i4 >> 2] = d7; - i5 = i2 + 36 | 0; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i5); - HEAPF32[i4 + 4 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i2 + 72 | 0); - HEAPF32[i4 + 8 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i2 + 108 | 0); - HEAPF32[i4 + 12 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i2 + 144 | 0); - HEAPF32[i4 + 16 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i2 + 180 | 0); - HEAPF32[i4 + 20 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i2 + 216 | 0); - HEAPF32[i4 + 24 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i2 + 252 | 0); - HEAPF32[i4 + 28 >> 2] = d7; - i3 = __ZN6vision9MaxIndex8IfEEiPKT_(i4) | 0; - i4 = i4 + (i3 << 2) | 0; - if (+HEAPF32[i4 >> 2] == 0.0) i1 = 0; else { - __ZN6vision5Swap9IfEEvPT_S2_(i2, i2 + (i3 * 9 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_(i1, i2, 1.0 / +Math_sqrt(+(+HEAPF32[i4 >> 2]))); - __ZN6vision10CopyVectorIfEEvPT_PKS1_m(i1 + 36 | 0, i5, 63); - i1 = 1; - } - STACKTOP = i6; - return i1 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE6rehashEm(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i5 = 0; - if ((i1 | 0) != 1) { - if (i1 + -1 & i1) i1 = __ZNSt3__212__next_primeEm(i1) | 0; - } else i1 = 2; - i3 = HEAP32[i4 + 4 >> 2] | 0; - if (i1 >>> 0 <= i3 >>> 0) { - if (i1 >>> 0 < i3 >>> 0) { - i2 = ~~+Math_ceil(+(+((HEAP32[i4 + 12 >> 2] | 0) >>> 0) / +HEAPF32[i4 + 16 >> 2])) >>> 0; - if (i3 >>> 0 > 2 & (i3 + -1 & i3 | 0) == 0) { - i5 = 1 << 32 - (Math_clz32(i2 + -1 | 0) | 0); - i2 = i2 >>> 0 < 2 ? i2 : i5; - } else i2 = __ZNSt3__212__next_primeEm(i2) | 0; - i1 = i1 >>> 0 < i2 >>> 0 ? i2 : i1; - if (i1 >>> 0 < i3 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE8__rehashEm(i4, i1); - } - } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE8__rehashEm(i4, i1); - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE6rehashEm(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i5 = 0; - if ((i1 | 0) != 1) { - if (i1 + -1 & i1) i1 = __ZNSt3__212__next_primeEm(i1) | 0; - } else i1 = 2; - i3 = HEAP32[i4 + 4 >> 2] | 0; - if (i1 >>> 0 <= i3 >>> 0) { - if (i1 >>> 0 < i3 >>> 0) { - i2 = ~~+Math_ceil(+(+((HEAP32[i4 + 12 >> 2] | 0) >>> 0) / +HEAPF32[i4 + 16 >> 2])) >>> 0; - if (i3 >>> 0 > 2 & (i3 + -1 & i3 | 0) == 0) { - i5 = 1 << 32 - (Math_clz32(i2 + -1 | 0) | 0); - i2 = i2 >>> 0 < 2 ? i2 : i5; - } else i2 = __ZNSt3__212__next_primeEm(i2) | 0; - i1 = i1 >>> 0 < i2 >>> 0 ? i2 : i1; - if (i1 >>> 0 < i3 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE8__rehashEm(i4, i1); - } - } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE8__rehashEm(i4, i1); - return; -} - -function __ZN6vision22SolveHomography4PointsIfEEbPT_PKS1_S4_S4_S4_S4_S4_S4_S4_(i1, i2, i13, i16, i17, i18, i19, i20, i21) { - i1 = i1 | 0; - i2 = i2 | 0; - i13 = i13 | 0; - i16 = i16 | 0; - i17 = i17 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - i20 = i20 | 0; - i21 = i21 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i14 = 0, i15 = 0, i22 = 0, i23 = 0; - i23 = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - i22 = i23; - i3 = i23 + 124 | 0; - i4 = i23 + 120 | 0; - i5 = i23 + 112 | 0; - i6 = i23 + 104 | 0; - i7 = i23 + 96 | 0; - i8 = i23 + 88 | 0; - i9 = i23 + 80 | 0; - i10 = i23 + 72 | 0; - i11 = i23 + 64 | 0; - i12 = i23 + 56 | 0; - i14 = i23 + 48 | 0; - i15 = i23 + 40 | 0; - if ((__ZN6vision18Condition4Points2dIfEEbPT_S2_S2_S2_RS1_S2_PKS1_S5_S5_S5_(i7, i8, i9, i10, i3, i5, i2, i13, i16, i17) | 0 ? __ZN6vision18Condition4Points2dIfEEbPT_S2_S2_S2_RS1_S2_PKS1_S5_S5_S5_(i11, i12, i14, i15, i4, i6, i18, i19, i20, i21) | 0 : 0) ? __ZN6vision34SolveHomography4PointsInhomogenousIfEEbPT_PKS1_S4_S4_S4_S4_S4_S4_S4_(i22, i7, i8, i9, i10, i11, i12, i14, i15) | 0 : 0) { - __ZN6vision21DenormalizeHomographyIfEEvPT_PKS1_S1_S4_S1_S4_(i1, i22, +HEAPF32[i3 >> 2], i5, +HEAPF32[i4 >> 2], i6); - i1 = 1; - } else i1 = 0; - STACKTOP = i23; - return i1 | 0; -} - -function __ZN6vision21DenormalizeHomographyIfEEvPT_PKS1_S1_S4_S1_S4_(i1, i2, d3, i4, d5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - d3 = +d3; - i4 = i4 | 0; - d5 = +d5; - i6 = i6 | 0; - var i7 = 0, d8 = 0.0, i9 = 0, i10 = 0, i11 = 0, d12 = 0.0, d13 = 0.0, d14 = 0.0, i15 = 0, d16 = 0.0, d17 = 0.0; - i11 = i2 + 24 | 0; - d14 = +HEAPF32[i11 >> 2]; - d16 = +HEAPF32[i6 >> 2]; - i10 = i2 + 28 | 0; - d13 = +HEAPF32[i10 >> 2]; - d17 = d14 * d16 + +HEAPF32[i2 >> 2] / d5; - d16 = d16 * d13 + +HEAPF32[i2 + 4 >> 2] / d5; - i15 = i6 + 4 | 0; - d12 = +HEAPF32[i15 >> 2]; - d14 = d14 * d12 + +HEAPF32[i2 + 12 >> 2] / d5; - d12 = d13 * d12 + +HEAPF32[i2 + 16 >> 2] / d5; - d13 = +HEAPF32[i4 >> 2] * d3; - i7 = i4 + 4 | 0; - d8 = +HEAPF32[i7 >> 2] * d3; - HEAPF32[i1 >> 2] = d17 * d3; - HEAPF32[i1 + 4 >> 2] = d16 * d3; - i9 = i2 + 32 | 0; - HEAPF32[i1 + 8 >> 2] = +HEAPF32[i9 >> 2] * +HEAPF32[i6 >> 2] + +HEAPF32[i2 + 8 >> 2] / d5 - d17 * d13 - d16 * d8; - HEAPF32[i1 + 12 >> 2] = d14 * d3; - HEAPF32[i1 + 16 >> 2] = d12 * d3; - HEAPF32[i1 + 20 >> 2] = +HEAPF32[i9 >> 2] * +HEAPF32[i15 >> 2] + +HEAPF32[i2 + 20 >> 2] / d5 - d14 * d13 - d12 * d8; - d8 = +HEAPF32[i11 >> 2] * d3; - HEAPF32[i1 + 24 >> 2] = d8; - d5 = +HEAPF32[i10 >> 2] * d3; - HEAPF32[i1 + 28 >> 2] = d5; - HEAPF32[i1 + 32 >> 2] = +HEAPF32[i9 >> 2] - d8 * +HEAPF32[i4 >> 2] - d5 * +HEAPF32[i7 >> 2]; - return; -} - -function _quantize3_ord_dither(i1, i15, i18, i19) { - i1 = i1 | 0; - i15 = i15 | 0; - i18 = i18 | 0; - i19 = i19 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i16 = 0, i17 = 0, i20 = 0; - i10 = HEAP32[i1 + 460 >> 2] | 0; - i17 = HEAP32[i10 + 24 >> 2] | 0; - i20 = HEAP32[i17 >> 2] | 0; - i16 = HEAP32[i17 + 4 >> 2] | 0; - i17 = HEAP32[i17 + 8 >> 2] | 0; - i6 = HEAP32[i1 + 112 >> 2] | 0; - i7 = i10 + 48 | 0; - i8 = i10 + 52 | 0; - i9 = i10 + 56 | 0; - i10 = i10 + 60 | 0; - i3 = 0; + $10 = HEAP32[$1 + 192 >> 2]; + $8 = HEAP16[$2 + 96 >> 1]; + $11 = HEAP32[$1 + 64 >> 2]; + $16 = HEAP16[$2 + 32 >> 1]; + $5 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $9 = Math_imul(HEAP32[$1 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $12 = $5 + Math_imul($9, -11586) >> 11; + $7 = Math_imul(HEAP32[$1 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $13 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $14 = Math_imul(HEAP32[$1 + 224 >> 2], HEAP16[$2 + 112 >> 1]); + $6 = $13 - $14 | 0; + $17 = Math_imul(HEAP32[$1 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $15 = $7 - ($6 + $17 | 0) << 2; + HEAP32[$0 + 224 >> 2] = $12 - $15; + HEAP32[$0 + 64 >> 2] = $12 + $15; + $10 = Math_imul($8, $10); + $8 = Math_imul($11, $16); + $11 = Math_imul($10 + $8 | 0, 6810); + $8 = $11 + Math_imul($8, 4209) | 0; + $16 = Math_imul($9, 9373) + $5 | 0; + $12 = $8 + $16 | 0; + $15 = Math_imul($6, 2531); + $17 = $17 << 13; + $19 = $15 + $17 | 0; + $13 = $13 + $14 | 0; + $14 = Math_imul($13, 7791); + $20 = $19 + ($14 + Math_imul($7, 11443) | 0) | 0; + HEAP32[$0 + 288 >> 2] = $12 - $20 >> 11; + HEAP32[$0 >> 2] = $12 + $20 >> 11; + $8 = $16 - $8 | 0; + $16 = (Math_imul($7, 1812) - $14 | 0) + $19 | 0; + HEAP32[$0 + 160 >> 2] = $8 - $16 >> 11; + HEAP32[$0 + 128 >> 2] = $8 + $16 >> 11; + $9 = Math_imul($9, -3580) + $5 | 0; + $5 = Math_imul($10, -17828) + $11 | 0; + $10 = $9 - $5 | 0; + $6 = ($17 - $15 | 0) - ($6 << 12) | 0; + $8 = Math_imul($13, 4815); + $11 = $6 + (Math_imul($7, 5260) - $8 | 0) | 0; + HEAP32[$0 + 192 >> 2] = $10 - $11 >> 11; + HEAP32[$0 + 96 >> 2] = $10 + $11 >> 11; + $9 = $5 + $9 | 0; + $7 = Math_imul($7, 10323) - ($6 + $8 | 0) | 0; + HEAP32[$0 + 256 >> 2] = $9 - $7 >> 11; + HEAP32[$0 + 32 >> 2] = $7 + $9 >> 11; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + $18 = $18 + 1 | 0; + if (($18 | 0) != 8) { + continue; + } + break; + } + $0 = $22 - 384 | 0; + $2 = $21; + $9 = 0; while (1) { - if ((i3 | 0) >= (i19 | 0)) break; - i11 = HEAP32[i7 >> 2] | 0; - i12 = HEAP32[i8 >> 2] | 0; - i13 = HEAP32[i9 >> 2] | 0; - i14 = HEAP32[i10 >> 2] | 0; - i1 = HEAP32[i15 + (i3 << 2) >> 2] | 0; - i2 = i6; - i4 = 0; - i5 = HEAP32[i18 + (i3 << 2) >> 2] | 0; - while (1) { - if (!i2) break; - HEAP8[i5 >> 0] = (HEAPU8[i16 + ((HEAP32[i13 + (i11 << 6) + (i4 << 2) >> 2] | 0) + (HEAPU8[i1 + 1 >> 0] | 0)) >> 0] | 0) + (HEAPU8[i20 + ((HEAP32[i12 + (i11 << 6) + (i4 << 2) >> 2] | 0) + (HEAPU8[i1 >> 0] | 0)) >> 0] | 0) + (HEAPU8[i17 + ((HEAP32[i14 + (i11 << 6) + (i4 << 2) >> 2] | 0) + (HEAPU8[i1 + 2 >> 0] | 0)) >> 0] | 0); - i1 = i1 + 3 | 0; - i2 = i2 + -1 | 0; - i4 = i4 + 1 & 15; - i5 = i5 + 1 | 0; - } - HEAP32[i7 >> 2] = i11 + 1 & 15; - i3 = i3 + 1 | 0; - } - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i10, i5, i6, i7, i8) { - i1 = i1 | 0; - i10 = i10 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - var i2 = 0, i3 = 0, i4 = 0, i9 = 0, i11 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i11 + 4 | 0; - i9 = i11; - i3 = i1 + 8 | 0; - i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 8 >> 2] & 127](i3) | 0; - i1 = HEAP8[i3 + 8 + 3 >> 0] | 0; - if (i1 << 24 >> 24 < 0) i2 = HEAP32[i3 + 4 >> 2] | 0; else i2 = i1 & 255; - i1 = HEAP8[i3 + 20 + 3 >> 0] | 0; - if (i1 << 24 >> 24 < 0) i1 = HEAP32[i3 + 16 >> 2] | 0; else i1 = i1 & 255; - do if ((i2 | 0) != (0 - i1 | 0)) { - HEAP32[i9 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i4 >> 2] = HEAP32[i9 >> 2]; - i1 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb(i5, i4, i3, i3 + 24 | 0, i8, i7, 0) | 0) - i3 | 0; - i2 = HEAP32[i10 >> 2] | 0; - if ((i2 | 0) == 12 & (i1 | 0) == 0) { - HEAP32[i10 >> 2] = 0; - break; + $5 = HEAP32[$2 + 28 >> 2]; + $6 = HEAP32[$2 + 12 >> 2]; + $10 = $5 + $6 | 0; + $8 = Math_imul($10, 7791); + $1 = HEAP32[($9 << 2) + $3 >> 2] + $4 | 0; + $5 = $6 - $5 | 0; + $11 = Math_imul($5, 2531); + $16 = HEAP32[$2 + 20 >> 2]; + $12 = $16 << 13; + $17 = $11 + $12 | 0; + $7 = HEAP32[$2 + 4 >> 2]; + $13 = $17 + (Math_imul($7, 11443) + $8 | 0) | 0; + $6 = HEAP32[$2 + 8 >> 2]; + $14 = HEAP32[$2 + 24 >> 2]; + $15 = Math_imul($6 + $14 | 0, 6810); + $19 = $15 + Math_imul($6, 4209) | 0; + $6 = (HEAP32[$2 >> 2] << 13) + 134348800 | 0; + $18 = HEAP32[$2 + 16 >> 2]; + $20 = $6 + Math_imul($18, 9373) | 0; + $22 = $19 + $20 | 0; + HEAP8[$1 | 0] = HEAPU8[($13 + $22 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 9 | 0] = HEAPU8[($22 - $13 >>> 18 & 1023) + $0 | 0]; + $10 = Math_imul($10, 4815); + $11 = ($12 - $11 | 0) - ($5 << 12) | 0; + $12 = Math_imul($7, 10323) - ($10 + $11 | 0) | 0; + $13 = Math_imul($14, -17828) + $15 | 0; + $14 = Math_imul($18, -3580) + $6 | 0; + $15 = $13 + $14 | 0; + HEAP8[$1 + 1 | 0] = HEAPU8[($12 + $15 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 8 | 0] = HEAPU8[($15 - $12 >>> 18 & 1023) + $0 | 0]; + $5 = $7 - ($5 + $16 | 0) << 13; + $6 = Math_imul($18, -11586) + $6 | 0; + HEAP8[$1 + 2 | 0] = HEAPU8[($5 + $6 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 7 | 0] = HEAPU8[($6 - $5 >>> 18 & 1023) + $0 | 0]; + $5 = (Math_imul($7, 5260) - $10 | 0) + $11 | 0; + $6 = $14 - $13 | 0; + HEAP8[$1 + 3 | 0] = HEAPU8[($5 + $6 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 6 | 0] = HEAPU8[($6 - $5 >>> 18 & 1023) + $0 | 0]; + $5 = $20 - $19 | 0; + $7 = (Math_imul($7, 1812) - $8 | 0) + $17 | 0; + HEAP8[$1 + 4 | 0] = HEAPU8[($5 + $7 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 5 | 0] = HEAPU8[($5 - $7 >>> 18 & 1023) + $0 | 0]; + $2 = $2 + 32 | 0; + $9 = $9 + 1 | 0; + if (($9 | 0) != 10) { + continue; } - if ((i2 | 0) < 12 & (i1 | 0) == 12) HEAP32[i10 >> 2] = i2 + 12; - } else HEAP32[i7 >> 2] = HEAP32[i7 >> 2] | 4; while (0); - STACKTOP = i11; - return; + break; + } + __stack_pointer = $21 + 320 | 0; } -function __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS6_RS7_EE(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i4 = HEAP32[i2 >> 2] | 0; - i5 = i2 + 4 | 0; - i6 = i3 + 4 | 0; - i1 = HEAP32[i5 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i11 = HEAP32[i6 >> 2] | 0; - i8 = i11 + -16 | 0; - i7 = i1 + -16 | 0; - HEAP32[i8 >> 2] = 0; - i9 = i11 + -12 | 0; - HEAP32[i9 >> 2] = 0; - i10 = i11 + -8 | 0; - HEAP32[i10 >> 2] = 0; - HEAP32[i11 + -4 >> 2] = HEAP32[i1 + -4 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i7 >> 2]; - i8 = i1 + -12 | 0; - HEAP32[i9 >> 2] = HEAP32[i8 >> 2]; - i9 = i1 + -8 | 0; - HEAP32[i10 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i9 >> 2] = 0; - HEAP32[i8 >> 2] = 0; - HEAP32[i7 >> 2] = 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + -16; - i1 = i7; - } - i9 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i6 >> 2] = i9; - i9 = i3 + 8 | 0; - i11 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i9 >> 2] = i11; - i9 = i2 + 8 | 0; - i11 = i3 + 12 | 0; - i10 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i11 >> 2] = i10; - HEAP32[i3 >> 2] = HEAP32[i6 >> 2]; - return; -} - -function __ZNSt3__216__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(i7, i1, i8, i9) { - i7 = i7 | 0; - i1 = i1 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i10 = 0; - i5 = i7 + 11 | 0; - i3 = HEAP8[i5 >> 0] | 0; - i6 = i7 + 4 | 0; - i2 = HEAP32[i6 >> 2] | 0; - i4 = i3 & 255; - do if ((i3 << 24 >> 24 < 0 ? i2 : i4) | 0) { - if ((i1 | 0) != (i8 | 0)) { - i2 = i8; - i3 = i1; - while (1) { - i2 = i2 + -4 | 0; - if (i3 >>> 0 >= i2 >>> 0) break; - i4 = HEAP32[i3 >> 2] | 0; - HEAP32[i3 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = i4; - i3 = i3 + 4 | 0; - } - i3 = HEAP8[i5 >> 0] | 0; - i4 = i3 & 255; - i2 = HEAP32[i6 >> 2] | 0; - } - i5 = i3 << 24 >> 24 < 0; - i7 = i5 ? HEAP32[i7 >> 2] | 0 : i7; - i6 = i8 + -4 | 0; - i5 = i7 + (i5 ? i2 : i4) | 0; - i2 = i7; - while (1) { - i3 = HEAP8[i2 >> 0] | 0; - i4 = i3 << 24 >> 24 > 0 & i3 << 24 >> 24 != 127; - if (i1 >>> 0 >= i6 >>> 0) break; - if (i4 ? (HEAP32[i1 >> 2] | 0) != (i3 << 24 >> 24 | 0) : 0) { - i10 = 11; - break; - } - i1 = i1 + 4 | 0; - i2 = (i5 - i2 | 0) > 1 ? i2 + 1 | 0 : i2; - } - if ((i10 | 0) == 11) { - HEAP32[i9 >> 2] = 4; - break; - } - if (i4 ? ((HEAP32[i6 >> 2] | 0) + -1 | 0) >>> 0 >= i3 << 24 >> 24 >>> 0 : 0) HEAP32[i9 >> 2] = 4; - } while (0); - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i10, i5, i6, i7, i8) { - i1 = i1 | 0; - i10 = i10 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - var i2 = 0, i3 = 0, i4 = 0, i9 = 0, i11 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i11 + 4 | 0; - i9 = i11; - i3 = i1 + 8 | 0; - i3 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 8 >> 2] & 127](i3) | 0; - i1 = HEAP8[i3 + 11 >> 0] | 0; - if (i1 << 24 >> 24 < 0) i2 = HEAP32[i3 + 4 >> 2] | 0; else i2 = i1 & 255; - i1 = HEAP8[i3 + 12 + 11 >> 0] | 0; - if (i1 << 24 >> 24 < 0) i1 = HEAP32[i3 + 16 >> 2] | 0; else i1 = i1 & 255; - do if ((i2 | 0) != (0 - i1 | 0)) { - HEAP32[i9 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i4 >> 2] = HEAP32[i9 >> 2]; - i1 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb(i5, i4, i3, i3 + 24 | 0, i8, i7, 0) | 0) - i3 | 0; - i2 = HEAP32[i10 >> 2] | 0; - if ((i2 | 0) == 12 & (i1 | 0) == 0) { - HEAP32[i10 >> 2] = 0; - break; - } - if ((i2 | 0) < 12 & (i1 | 0) == 12) HEAP32[i10 >> 2] = i2 + 12; - } else HEAP32[i7 >> 2] = HEAP32[i7 >> 2] | 4; while (0); - STACKTOP = i11; - return; -} - -function __ZNSt3__225__num_get_signed_integralIlEET_PKcS3_Rji(i1, i4, i5, i2) { - i1 = i1 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - var i3 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i8; - if ((i1 | 0) == (i4 | 0)) { - HEAP32[i5 >> 2] = 4; - i1 = 0; - } else { - i7 = ___errno_location() | 0; - i7 = HEAP32[i7 >> 2] | 0; - i3 = ___errno_location() | 0; - HEAP32[i3 >> 2] = 0; - i1 = _strtoll_l(i1, i6, i2, __ZNSt3__26__clocEv() | 0) | 0; - i2 = getTempRet0() | 0; - i3 = ___errno_location() | 0; - i3 = HEAP32[i3 >> 2] | 0; - if (!i3) { - i9 = ___errno_location() | 0; - HEAP32[i9 >> 2] = i7; - } - L7 : do if ((HEAP32[i6 >> 2] | 0) == (i4 | 0)) { - do if ((i3 | 0) == 34) { - HEAP32[i5 >> 2] = 4; - if ((i2 | 0) > 0 | (i2 | 0) == 0 & i1 >>> 0 > 0) { - i1 = 2147483647; - break L7; - } - } else { - if ((i2 | 0) < -1 | (i2 | 0) == -1 & i1 >>> 0 < 2147483648) { - HEAP32[i5 >> 2] = 4; - break; - } - if ((i2 | 0) > 0 | (i2 | 0) == 0 & i1 >>> 0 > 2147483647) { - HEAP32[i5 >> 2] = 4; - i1 = 2147483647; - break L7; - } else break L7; - } while (0); - i1 = -2147483648; +function std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____rehash_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = Math_fround(0), $5 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + label$1: { + if (($1 | 0) == 1) { + $1 = 2; } else { - HEAP32[i5 >> 2] = 4; - i1 = 0; - } while (0); - } - STACKTOP = i8; - return i1 | 0; -} - -function _jpeg_resync_to_restart(i6, i1) { - i6 = i6 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i9 = i6 + 416 | 0; - i5 = HEAP32[i9 >> 2] | 0; - i7 = HEAP32[i6 >> 2] | 0; - HEAP32[i7 + 20 >> 2] = 121; - HEAP32[i7 + 24 >> 2] = i5; - HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] = i1; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i6 >> 2] | 0) + 4 >> 2] & 63](i6, -1); - i7 = i1 + 1 & 7 | 208; - i8 = i1 + 2 & 7 | 208; - i10 = i1 + 7 & 7 | 208; - i2 = i1 + 6 & 7 | 208; - i1 = i5; - L1 : while (1) { - i3 = (i1 | 0) < 192; - i4 = (i1 & -8 | 0) != 208 | (i1 | 0) == (i7 | 0) | (i1 | 0) == (i8 | 0); - i5 = (i1 | 0) == (i10 | 0) | (i1 | 0) == (i2 | 0) ? 2 : 1; - L3 : while (1) { - i12 = i3 ? 2 : i4 ? 3 : i5; - i13 = HEAP32[i6 >> 2] | 0; - HEAP32[i13 + 20 >> 2] = 97; - HEAP32[i13 + 24 >> 2] = i1; - HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] = i12; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i6 >> 2] | 0) + 4 >> 2] & 63](i6, 4); - switch (i12 & 3) { - case 3: - { - i1 = 1; - break L1; - } - case 1: - { - i11 = 4; - break L1; + if (!($1 - 1 & $1)) { + break label$1; + } + $1 = std____2____next_prime_28unsigned_20long_29($1); + } + HEAP32[$2 + 12 >> 2] = $1; + } + $3 = std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____bucket_count_28_29_20const($0); + label$4: { + if ($3 >>> 0 < $1 >>> 0) { + std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______rehash_28unsigned_20long_29($0, $1); + break label$4; + } + if ($1 >>> 0 >= $3 >>> 0) { + break label$4; + } + $1 = std____2____is_hash_power2_28unsigned_20long_29($3); + $4 = ceil_28float_29(Math_fround(Math_fround(HEAPU32[std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____size_28_29($0) >> 2]) / HEAPF32[std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____max_load_factor_28_29($0) >> 2])); + label$6: { + if ($4 < Math_fround(4294967296) & $4 >= Math_fround(0)) { + $5 = ~~$4 >>> 0; + break label$6; + } + $5 = 0; + } + label$8: { + if ($1) { + $1 = std____2____next_hash_pow2_28unsigned_20long_29($5); + break label$8; + } + $1 = std____2____next_prime_28unsigned_20long_29($5); + } + HEAP32[$2 + 8 >> 2] = $1; + $1 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 12 | 0, $2 + 8 | 0) >> 2]; + HEAP32[$2 + 12 >> 2] = $1; + if ($1 >>> 0 >= $3 >>> 0) { + break label$4; + } + std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______rehash_28unsigned_20long_29($0, $1); + } + __stack_pointer = $2 + 16 | 0; +} + +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_put_floating_point_double__28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20double_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $6 = __stack_pointer - 384 | 0; + __stack_pointer = $6; + HEAP32[$6 + 376 >> 2] = 37; + HEAP32[$6 + 380 >> 2] = 0; + $7 = std____2____num_put_base____format_float_28char__2c_20char_20const__2c_20unsigned_20int_29($6 + 376 | 1, $5, std____2__ios_base__flags_28_29_20const($2)); + HEAP32[$6 + 332 >> 2] = $6 + 336; + $5 = std____2____cloc_28_29(); + label$1: { + if ($7) { + $0 = std____2__ios_base__precision_28_29_20const($2); + HEAPF64[$6 + 40 >> 3] = $4; + HEAP32[$6 + 32 >> 2] = $0; + $5 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($6 + 336 | 0, 30, $5, $6 + 376 | 0, $6 + 32 | 0); + break label$1; + } + HEAPF64[$6 + 48 >> 3] = $4; + $5 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($6 + 336 | 0, 30, $5, $6 + 376 | 0, $6 + 48 | 0); + } + HEAP32[$6 + 80 >> 2] = 315; + $9 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($6 + 320 | 0, 0, $6 + 80 | 0); + $8 = $6 + 336 | 0; + $0 = $8; + label$3: { + if (($5 | 0) >= 30) { + $5 = std____2____cloc_28_29(); + label$5: { + if ($7) { + $0 = std____2__ios_base__precision_28_29_20const($2); + HEAPF64[$6 + 8 >> 3] = $4; + HEAP32[$6 >> 2] = $0; + $5 = std____2____libcpp_asprintf_l_28char___2c_20__locale_struct__2c_20char_20const__2c_20____29($6 + 332 | 0, $5, $6 + 376 | 0, $6); + break label$5; + } + HEAPF64[$6 + 16 >> 3] = $4; + $5 = std____2____libcpp_asprintf_l_28char___2c_20__locale_struct__2c_20char_20const__2c_20____29($6 + 332 | 0, $5, $6 + 376 | 0, $6 + 16 | 0); + } + if (($5 | 0) == -1) { + break label$3; + } + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($9, HEAP32[$6 + 332 >> 2]); + $0 = HEAP32[$6 + 332 >> 2]; + } + $7 = $5 + $0 | 0; + $10 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0, $7, $2); + HEAP32[$6 + 80 >> 2] = 315; + $0 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28wchar_t__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($6 + 72 | 0, 0, $6 + 80 | 0); + label$7: { + if (HEAP32[$6 + 332 >> 2] == ($6 + 336 | 0)) { + $5 = $6 + 80 | 0; + break label$7; + } + $5 = dlmalloc($5 << 3); + if (!$5) { + break label$3; + } + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___reset_28wchar_t__29($0, $5); + $8 = HEAP32[$6 + 332 >> 2]; + } + std____2__ios_base__getloc_28_29_20const($6 + 56 | 0, $2); + std____2____num_put_wchar_t_____widen_and_group_float_28char__2c_20char__2c_20char__2c_20wchar_t__2c_20wchar_t___2c_20wchar_t___2c_20std____2__locale_20const__29($8, $10, $7, $5, $6 + 68 | 0, $6 - -64 | 0, $6 + 56 | 0); + std____2__locale___locale_28_29($6 + 56 | 0); + $2 = std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____pad_and_output_wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ios_base__2c_20wchar_t_29($1, $5, HEAP32[$6 + 68 >> 2], HEAP32[$6 + 64 >> 2], $2, $3); + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29____unique_ptr_28_29($0); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($9); + __stack_pointer = $6 + 384 | 0; + return $2; + } + std____throw_bad_alloc_28_29(); + abort(); +} + +function jpeg_consume_input($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $1 = 1; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + $3 = HEAP32[$0 + 20 >> 2]; + switch ($3 - 200 | 0) { + case 2: + break label$1; + + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 10: + break label$3; + + case 1: + break label$4; + + case 0: + break label$5; + + default: + break label$2; + } + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 460 >> 2] + 4 >> 2]]($0); + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 24 >> 2] + 8 >> 2]]($0); + HEAP32[$0 + 20 >> 2] = 201; + } + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 460 >> 2] >> 2]]($0) | 0; + if (($1 | 0) != 1) { + break label$1; + } + $1 = HEAP32[$0 + 36 >> 2]; + $3 = $1; + label$6: { + label$7: { + switch ($1 - 1 | 0) { + case 2: + $1 = HEAP32[$0 + 216 >> 2]; + $4 = HEAP32[$1 + 176 >> 2]; + $2 = HEAP32[$1 + 88 >> 2]; + $3 = 2; + $5 = HEAP32[$1 >> 2]; + $1 = ($5 | 0) != 1; + if (!($1 | ($2 | 0) != 2 | ($4 | 0) != 3)) { + $1 = 3; + break label$6; + } + if (!(($2 | 0) != 34 | $1)) { + $1 = 7; + if (($4 | 0) == 35) { + break label$6; + } + } + if (!(($5 | 0) != 82 | ($2 | 0) != 71 | ($4 | 0) != 66)) { + $1 = 2; + break label$6; + } + if (!(($5 | 0) != 114 | ($2 | 0) != 103)) { + $1 = 6; + if (($4 | 0) == 98) { + break label$6; + } + } + if (HEAP32[$0 + 284 >> 2]) { + $1 = 3; + break label$6; + } + if (HEAP32[$0 + 296 >> 2]) { + $1 = 2; + label$16: { + label$17: { + $2 = HEAPU8[$0 + 300 | 0]; + switch ($2 | 0) { + case 1: + break label$17; + + case 0: + break label$6; + + default: + break label$16; + } + } + $1 = 3; + break label$6; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $2; + HEAP32[$1 + 20 >> 2] = 116; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, -1); + $1 = 3; + break label$6; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $5; + HEAP32[$1 + 20 >> 2] = 113; + HEAP32[$1 + 32 >> 2] = $4; + HEAP32[$1 + 28 >> 2] = $2; + FUNCTION_TABLE[HEAP32[$1 + 4 >> 2]]($0, 1); + $1 = 3; + break label$6; + + case 3: + $3 = 4; + if (!HEAP32[$0 + 296 >> 2]) { + $1 = 4; + break label$6; + } + $1 = 4; + label$19: { + label$20: { + $2 = HEAPU8[$0 + 300 | 0]; + switch ($2 | 0) { + case 2: + break label$20; + + case 0: + break label$6; + + default: + break label$19; + } + } + $1 = 5; + break label$6; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $2; + HEAP32[$1 + 20 >> 2] = 116; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, -1); + $1 = 5; + break label$6; + + case 0: + break label$6; + + default: + break label$7; + } + } + $1 = 0; + $3 = 0; + } + HEAP32[$0 + 44 >> 2] = $3; + HEAP32[$0 + 40 >> 2] = $1; + HEAP32[$0 + 136 >> 2] = 0; + HEAP32[$0 + 96 >> 2] = 256; + HEAP32[$0 + 88 >> 2] = 2; + HEAP32[$0 + 92 >> 2] = 1; + HEAP32[$0 + 80 >> 2] = 1; + HEAP32[$0 + 84 >> 2] = 0; + HEAP32[$0 + 72 >> 2] = 0; + HEAP32[$0 + 76 >> 2] = 1; + HEAP32[$0 + 64 >> 2] = 0; + HEAP32[$0 + 68 >> 2] = 0; + HEAP32[$0 + 56 >> 2] = 0; + HEAP32[$0 + 60 >> 2] = 1072693248; + HEAP32[$0 + 108 >> 2] = 0; + HEAP32[$0 + 100 >> 2] = 0; + HEAP32[$0 + 104 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 202; + $1 = HEAP32[$0 + 428 >> 2]; + HEAP32[$0 + 52 >> 2] = $1; + HEAP32[$0 + 48 >> 2] = $1; + return 1; + } + return FUNCTION_TABLE[HEAP32[HEAP32[$0 + 460 >> 2] >> 2]]($0) | 0; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $3; + HEAP32[$1 + 20 >> 2] = 21; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + $1 = 0; + } + return $1; +} + +function float_20vision__PartialSort_float__28float__2c_20int_2c_20int_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = Math_fround(0), $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + label$1: { + if (($1 | 0) > 0) { + if (($2 | 0) <= 0) { + break label$1; + } + $4 = $1 - 1 | 0; + $8 = $2 - 1 | 0; + $12 = ($8 << 2) + $0 | 0; + while (1) { + $5 = HEAPF32[$12 >> 2]; + $1 = $4; + $3 = $9; + if (($1 | 0) > ($3 | 0)) { + while (1) { + $6 = $3; + while (1) { + $3 = $6; + $6 = $3 + 1 | 0; + $10 = ($3 << 2) + $0 | 0; + if (HEAPF32[$10 >> 2] < $5) { + continue; + } + break; + } + $7 = $1; + while (1) { + $1 = $7; + $7 = $1 - 1 | 0; + $11 = ($1 << 2) + $0 | 0; + if (HEAPF32[$11 >> 2] > $5) { + continue; + } + break; + } + if (($1 | 0) >= ($3 | 0)) { + std____2__enable_if_is_move_constructible_float___value_20___20is_move_assignable_float___value_2c_20void___type_20std____2__swap_float__28float__2c_20float__29($10, $11); + $3 = $6; + $1 = $7; + } + if (($1 | 0) >= ($3 | 0)) { + continue; + } + break; + } + $4 = ($2 | 0) > ($3 | 0) ? $4 : $1; + $9 = ($1 | 0) < ($8 | 0) ? $3 : $9; + continue; } - case 2: - break L3; - default: - {} + break; } + return $5; } - if (!(_next_marker(i6) | 0)) { - i1 = 0; - break; - } - i1 = HEAP32[i9 >> 2] | 0; - } - if ((i11 | 0) == 4) { - HEAP32[i9 >> 2] = 0; - i1 = 1; - } - return i1 | 0; -} - -function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIRKS2_EEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = ((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 3) + 1 | 0; - i6 = __ZNKSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = (HEAP32[i1 + 8 >> 2] | 0) - i8 | 0; - i9 = i10 >> 2; - __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEEC2EmmS5_(i3, i10 >> 3 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, (HEAP32[i4 >> 2] | 0) - i8 >> 3, i1 + 8 | 0); - i6 = i3 + 8 | 0; - i4 = HEAP32[i2 + 4 >> 2] | 0; - i5 = HEAP32[i6 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i5 + 4 >> 2] = i4; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 8; - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i1, i3); - __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEED2Ev(i3); - STACKTOP = i7; - return; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 21128), 21383), 3289), 53), 3786), 21561), 16); + abort(); + abort(); } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 21762), 21383), 3289), 54), 3786), 21791), 16); + abort(); + abort(); } -function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = ((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 3) + 1 | 0; - i6 = __ZNKSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = (HEAP32[i1 + 8 >> 2] | 0) - i8 | 0; - i9 = i10 >> 2; - __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEEC2EmmS5_(i3, i10 >> 3 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, (HEAP32[i4 >> 2] | 0) - i8 >> 3, i1 + 8 | 0); - i6 = i3 + 8 | 0; - i4 = HEAP32[i2 + 4 >> 2] | 0; - i5 = HEAP32[i6 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i5 + 4 >> 2] = i4; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 8; - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i1, i3); - __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEED2Ev(i3); - STACKTOP = i7; - return; +function decode_mcu_AC_first_1($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + $5 = HEAP32[$0 + 468 >> 2]; + label$1: { + label$2: { + if (HEAP32[$5 + 44 >> 2] | !HEAP32[$0 + 280 >> 2]) { + break label$2; + } + $2 = HEAP32[$0 + 464 >> 2]; + $6 = $5 + 16 | 0; + HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 24 >> 2] + (HEAP32[$6 >> 2] / 8 | 0); + HEAP32[$5 + 16 >> 2] = 0; + $7 = 0; + if (!(FUNCTION_TABLE[HEAP32[$2 + 8 >> 2]]($0) | 0)) { + break label$1; + } + if (HEAP32[$0 + 340 >> 2] > 0) { + $2 = 0; + while (1) { + HEAP32[(($2 << 2) + $5 | 0) + 24 >> 2] = 0; + $2 = $2 + 1 | 0; + if (($2 | 0) < HEAP32[$0 + 340 >> 2]) { + continue; + } + break; + } + } + HEAP32[$5 + 20 >> 2] = 0; + HEAP32[$5 + 44 >> 2] = HEAP32[$0 + 280 >> 2]; + if (HEAP32[$0 + 440 >> 2]) { + break label$2; + } + HEAP32[$5 + 40 >> 2] = 0; + } + if (!HEAP32[$5 + 40 >> 2]) { + $2 = HEAP32[$5 + 20 >> 2]; + label$6: { + if ($2) { + $3 = $2 - 1 | 0; + break label$6; + } + HEAP32[$4 + 24 >> 2] = $0; + $2 = HEAP32[$0 + 24 >> 2]; + HEAP32[$4 + 8 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$4 + 12 >> 2] = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$5 + 16 >> 2]; + $6 = HEAP32[$5 + 12 >> 2]; + $9 = HEAP32[$0 + 412 >> 2]; + $11 = HEAP32[$0 + 416 >> 2]; + $3 = 0; + label$8: { + if (($9 | 0) > ($11 | 0)) { + break label$8; + } + $10 = HEAP32[$5 + 64 >> 2]; + $12 = HEAP32[$1 >> 2]; + $13 = HEAP32[$0 + 432 >> 2]; + $14 = HEAP32[$0 + 424 >> 2]; + while (1) { + label$10: { + label$11: { + label$12: { + if (($2 | 0) <= 7) { + $7 = 0; + if (!jpeg_fill_bit_buffer($4 + 8 | 0, $6, $2, 0)) { + break label$1; + } + $6 = HEAP32[$4 + 16 >> 2]; + $2 = HEAP32[$4 + 20 >> 2]; + $1 = 1; + if (($2 | 0) < 8) { + break label$12; + } + } + $3 = $6 >> $2 - 8 & 255; + $1 = HEAP32[(($3 << 2) + $10 | 0) + 144 >> 2]; + if ($1) { + break label$11; + } + $1 = 9; + } + $1 = jpeg_huff_decode($4 + 8 | 0, $6, $2, $10, $1); + $7 = 0; + if (($1 | 0) < 0) { + break label$1; + } + $2 = HEAP32[$4 + 20 >> 2]; + $6 = HEAP32[$4 + 16 >> 2]; + break label$10; + } + $2 = $2 - $1 | 0; + $1 = HEAPU8[($3 + $10 | 0) + 1168 | 0]; + } + $8 = $1 >>> 4 | 0; + $3 = $1 & 15; + label$14: { + if ($3) { + if (($2 | 0) < ($3 | 0)) { + $7 = 0; + if (!jpeg_fill_bit_buffer($4 + 8 | 0, $6, $2, $3)) { + break label$1; + } + $6 = HEAP32[$4 + 16 >> 2]; + $2 = HEAP32[$4 + 20 >> 2]; + } + $2 = $2 - $3 | 0; + $1 = $8 + $9 | 0; + $3 = $3 << 2; + $9 = HEAP32[$3 + 42064 >> 2]; + $8 = $9 & $6 >> $2; + HEAP16[(HEAP32[($1 << 2) + $13 >> 2] << 1) + $12 >> 1] = $8 - (HEAP32[$3 + 42060 >> 2] < ($8 | 0) ? 0 : $9) << $14; + break label$14; + } + if (($8 | 0) != 15) { + $3 = 0; + if ($1 >>> 0 < 16) { + break label$8; + } + if (($2 | 0) < ($8 | 0)) { + $7 = 0; + if (!jpeg_fill_bit_buffer($4 + 8 | 0, $6, $2, $8)) { + break label$1; + } + $6 = HEAP32[$4 + 16 >> 2]; + $2 = HEAP32[$4 + 20 >> 2]; + } + $2 = $2 - $8 | 0; + $3 = (HEAP32[($8 << 2) + 42064 >> 2] & $6 >> $2) + (-1 << $8 ^ -1) | 0; + break label$8; + } + $1 = $9 + 15 | 0; + } + $9 = $1 + 1 | 0; + if (($1 | 0) < ($11 | 0)) { + continue; + } + break; + } + $3 = 0; + } + $0 = HEAP32[$0 + 24 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$4 + 8 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$4 + 12 >> 2]; + HEAP32[$5 + 16 >> 2] = $2; + HEAP32[$5 + 12 >> 2] = $6; + } + HEAP32[$5 + 20 >> 2] = $3; + } + HEAP32[$5 + 44 >> 2] = HEAP32[$5 + 44 >> 2] - 1; + $7 = 1; } + __stack_pointer = $4 + 32 | 0; + $3 = $7; + return $3 | 0; } -function __ZNK6vision5Image3getIfEEPKT_m(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i4; - if ((HEAP32[i1 + 8 >> 2] | 0) >>> 0 > i2 >>> 0) { - i3 = (HEAP32[i1 + 24 >> 2] | 0) + (Math_imul(HEAP32[i1 + 12 >> 2] | 0, i2) | 0) | 0; - STACKTOP = i4; - return i3 | 0; - } else { - i4 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21584) | 0, 21621) | 0, 33528) | 0, 124) | 0, 33535) | 0, 21727) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i4 + (HEAP32[(HEAP32[i4 >> 2] | 0) + -12 >> 2] | 0) | 0); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i2 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i2, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i4, i2) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i4) | 0; - _abort(); +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseArrayType_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 65)) { + break label$1; + } + HEAP32[$1 + 12 >> 2] = 0; + label$2: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) - 48 >>> 0 <= 9) { + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($1, $0, 0); + wasm2js_i32$0 = $1, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__28_28anonymous_20namespace_29__itanium_demangle__StringView___29($0, $1), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$2; + } + break label$1; + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + if (!$3) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$1; + } + HEAP32[$1 + 12 >> 2] = $3; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$1 >> 2] = $2; + if (!$2) { + $2 = 0; + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ArrayType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $1 + 12 | 0); } - return 0; + __stack_pointer = $1 + 16 | 0; + return $2; } -function __ZN6vision5Image3getIfEEPT_m(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i4; - if ((HEAP32[i1 + 8 >> 2] | 0) >>> 0 > i2 >>> 0) { - i3 = (HEAP32[i1 + 24 >> 2] | 0) + (Math_imul(HEAP32[i1 + 12 >> 2] | 0, i2) | 0) | 0; - STACKTOP = i4; - return i3 | 0; - } else { - i4 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 21584) | 0, 21621) | 0, 33528) | 0, 119) | 0, 33535) | 0, 21727) | 0; - __ZNKSt3__28ios_base6getlocEv(i3, i4 + (HEAP32[(HEAP32[i4 >> 2] | 0) + -12 >> 2] | 0) | 0); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i3, 57916) | 0; - i2 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 63](i2, 10) | 0; - __ZNSt3__26localeD2Ev(i3); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i4, i2) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i4) | 0; - _abort(); +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________base_destruct_at_end_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 12 | 0; + void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________destroy_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________alloc_28_29($0), std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______20std____2____to_address_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function decompress_onepass($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0; + $4 = HEAP32[$0 + 332 >> 2]; + $6 = HEAP32[$0 + 452 >> 2]; + $9 = HEAP32[$6 + 24 >> 2]; + label$1: { + $2 = HEAP32[$6 + 28 >> 2]; + if (($9 | 0) < ($2 | 0)) { + $18 = $4 - 1 | 0; + $14 = HEAP32[$0 + 360 >> 2] - 1 | 0; + $11 = $6 + 32 | 0; + $8 = HEAP32[$6 + 20 >> 2]; + while (1) { + if ($8 >>> 0 <= $14 >>> 0) { + while (1) { + if (HEAP32[$0 + 436 >> 2]) { + memset(HEAP32[$11 >> 2], 0, HEAP32[$0 + 368 >> 2] << 7); + } + if (!(FUNCTION_TABLE[HEAP32[HEAP32[$0 + 468 >> 2] + 4 >> 2]]($0, $11) | 0)) { + break label$1; + } + $3 = HEAP32[$0 + 340 >> 2]; + if (($3 | 0) > 0) { + $5 = 0; + $12 = 0; + while (1) { + $2 = HEAP32[(($12 << 2) + $0 | 0) + 344 >> 2]; + label$9: { + if (!HEAP32[$2 + 52 >> 2]) { + $5 = HEAP32[$2 + 64 >> 2] + $5 | 0; + break label$9; + } + $4 = HEAP32[$2 + 60 >> 2]; + if (($4 | 0) <= 0) { + break label$9; + } + $19 = Math_imul(HEAP32[$2 + 68 >> 2], $8); + $3 = HEAP32[$2 + 4 >> 2] << 2; + $15 = HEAP32[($3 + HEAP32[$0 + 472 >> 2] | 0) + 4 >> 2]; + $7 = HEAP32[$1 + $3 >> 2]; + $3 = HEAP32[$2 + 40 >> 2]; + $10 = $7 + (Math_imul($9, $3) << 2) | 0; + $7 = HEAP32[($8 >>> 0 < $14 >>> 0 ? 56 : 72) + $2 >> 2]; + $16 = ($7 | 0) > 1 ? $7 : 1; + $20 = $16 & -2; + $21 = $16 & 1; + $17 = ($7 | 0) <= 0; + $13 = 0; + while (1) { + label$12: { + label$13: { + if (HEAPU32[$0 + 148 >> 2] >= $18 >>> 0) { + if (!(HEAP32[$2 + 76 >> 2] <= ($9 + $13 | 0) | $17)) { + break label$13; + } + break label$12; + } + if ($17) { + break label$12; + } + } + $4 = 0; + $3 = $19; + $7 = 0; + if (($16 | 0) != 1) { + while (1) { + FUNCTION_TABLE[$15 | 0]($0, $2, HEAP32[($4 + $5 << 2) + $11 >> 2], $10, $3); + $3 = HEAP32[$2 + 36 >> 2] + $3 | 0; + FUNCTION_TABLE[$15 | 0]($0, $2, HEAP32[(($4 | 1) + $5 << 2) + $11 >> 2], $10, $3); + $4 = $4 + 2 | 0; + $3 = HEAP32[$2 + 36 >> 2] + $3 | 0; + $7 = $7 + 2 | 0; + if (($20 | 0) != ($7 | 0)) { + continue; + } + break; + } + } + if ($21) { + FUNCTION_TABLE[$15 | 0]($0, $2, HEAP32[(($4 + $5 << 2) + $6 | 0) + 32 >> 2], $10, $3); + } + $4 = HEAP32[$2 + 60 >> 2]; + $3 = HEAP32[$2 + 40 >> 2]; + } + $10 = ($3 << 2) + $10 | 0; + $5 = HEAP32[$2 + 56 >> 2] + $5 | 0; + $13 = $13 + 1 | 0; + if (($13 | 0) < ($4 | 0)) { + continue; + } + break; + } + $3 = HEAP32[$0 + 340 >> 2]; + } + $12 = $12 + 1 | 0; + if (($12 | 0) < ($3 | 0)) { + continue; + } + break; + } + } + $8 = $8 + 1 | 0; + if ($14 >>> 0 >= $8 >>> 0) { + continue; + } + break; + } + $2 = HEAP32[$6 + 28 >> 2]; + } + $8 = 0; + HEAP32[$6 + 20 >> 2] = 0; + $9 = $9 + 1 | 0; + if (($9 | 0) < ($2 | 0)) { + continue; + } + break; + } + $4 = HEAP32[$0 + 332 >> 2]; + } + $3 = 1; + HEAP32[$0 + 156 >> 2] = HEAP32[$0 + 156 >> 2] + 1; + $2 = HEAP32[$0 + 148 >> 2] + 1 | 0; + HEAP32[$0 + 148 >> 2] = $2; + if ($2 >>> 0 < $4 >>> 0) { + $5 = HEAP32[$0 + 452 >> 2]; + $3 = HEAP32[$0 + 340 >> 2] <= 1 ? HEAP32[HEAP32[$0 + 344 >> 2] + ($4 - 1 >>> 0 > $2 >>> 0 ? 12 : 76) >> 2] : $3; + HEAP32[$5 + 20 >> 2] = 0; + HEAP32[$5 + 24 >> 2] = 0; + HEAP32[$5 + 28 >> 2] = $3; + return 3; + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 460 >> 2] + 12 >> 2]]($0); + return 4; } + HEAP32[$6 + 20 >> 2] = $8; + HEAP32[$6 + 24 >> 2] = $9; return 0; } -function _arLogv(i1, i6, i8, i9) { - i1 = i1 | 0; - i6 = i6 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i10 = 0, i11 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i10 + 16 | 0; - i1 = i10; - if ((!((i8 | 0) == 0 | (HEAP32[3368] | 0) > (i6 | 0)) ? HEAP8[i8 >> 0] | 0 : 0) ? (HEAP32[i1 >> 2] = HEAP32[i9 >> 2], i7 = _vsnprintf(0, 0, i8, i1) | 0, i7 | 0) : 0) { - if (i6 >>> 0 < 4) i1 = (_strlen(HEAP32[1744 + (i6 << 2) >> 2] | 0) | 0) + 3 | 0; else i1 = 0; - i2 = i1 + i7 | 0; - i3 = i2 + 1 | 0; - i4 = _malloc(i3) | 0; - if (i1 | 0) { - HEAP32[i5 >> 2] = HEAP32[1744 + (i6 << 2) >> 2]; - _snprintf(i4, i1 + 1 | 0, 19380, i5) | 0; - } - _vsnprintf(i4 + i1 | 0, i7 + 1 | 0, i8, i9) | 0; - do if (0) { - if (0 ? (i11 = HEAP32[14038] | 0, i11 >>> 0 < 0) : 0) { - i1 = 0 + i11 | 0; - if (i2 >>> 0 > (-4 - i11 + 0 | 0) >>> 0) { - HEAP8[i1 >> 0] = 46; - HEAP8[i1 + 1 >> 0] = 46; - HEAP8[i1 + 2 >> 0] = 46; - HEAP8[i1 + 3 >> 0] = 0; - HEAP32[14038] = 0; +function getMarkerInfo($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, $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, $30 = 0, $31 = 0, $32 = 0, $33 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 256 | 0; + __stack_pointer = $2; + HEAP32[$2 + 252 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 252 | 0), + HEAP32[wasm2js_i32$0 + 248 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 240 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 248 | 0, $2 + 240 | 0)) { + $0 = HEAP32[18567]; + break label$1; + } + $0 = HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 252 | 0) + 216 >> 2]; + if (HEAP32[$0 + 44 >> 2] <= ($1 | 0)) { + $0 = HEAP32[18568]; + break label$1; + } + $0 = ($1 | 0) < 0 ? 78024 : (($1 << 8) + $0 | 0) + 48 | 0; + $4 = HEAP32[$0 >> 2]; + $3 = HEAP32[$0 + 4 >> 2]; + $5 = $3; + $3 = HEAP32[$0 + 8 >> 2]; + $6 = $3; + $7 = HEAP32[$0 + 12 >> 2]; + $3 = HEAP32[$0 + 20 >> 2]; + $8 = HEAP32[$0 + 16 >> 2]; + $1 = HEAP32[$0 + 24 >> 2]; + $9 = HEAPF64[$0 + 32 >> 3]; + $10 = HEAPF64[$0 + 40 >> 3]; + $11 = HEAPF64[$0 + 48 >> 3]; + $12 = HEAPF64[$0 + 56 >> 3]; + $13 = HEAPF64[$0 - -64 >> 3]; + $14 = HEAPF64[$0 + 72 >> 3]; + $15 = HEAPF64[$0 + 80 >> 3]; + $16 = HEAPF64[$0 + 88 >> 3]; + $17 = HEAPF64[$0 + 96 >> 3]; + $18 = HEAPF64[$0 + 104 >> 3]; + $19 = HEAPF64[$0 + 112 >> 3]; + $20 = HEAPF64[$0 + 120 >> 3]; + $21 = HEAPF64[$0 + 128 >> 3]; + $22 = HEAPF64[$0 + 136 >> 3]; + $23 = HEAPF64[$0 + 144 >> 3]; + $24 = HEAPF64[$0 + 152 >> 3]; + $25 = HEAPF64[$0 + 160 >> 3]; + $26 = HEAPF64[$0 + 168 >> 3]; + $27 = HEAPF64[$0 + 176 >> 3]; + $28 = HEAPF64[$0 + 184 >> 3]; + $29 = HEAPF64[$0 + 192 >> 3]; + $30 = HEAPF64[$0 + 200 >> 3]; + $31 = HEAPF64[$0 + 208 >> 3]; + $32 = HEAPF64[$0 + 216 >> 3]; + $33 = HEAPF64[$0 + 224 >> 3]; + HEAP32[$2 + 232 >> 2] = HEAP32[$0 + 240 >> 2]; + HEAPF64[$2 + 224 >> 3] = $33; + HEAPF64[$2 + 216 >> 3] = $32; + HEAPF64[$2 + 208 >> 3] = $31; + HEAPF64[$2 + 200 >> 3] = $30; + HEAPF64[$2 + 192 >> 3] = $29; + HEAPF64[$2 + 184 >> 3] = $28; + HEAPF64[$2 + 176 >> 3] = $27; + HEAPF64[$2 + 168 >> 3] = $26; + HEAPF64[$2 + 160 >> 3] = $25; + HEAPF64[$2 + 152 >> 3] = $24; + HEAPF64[$2 + 144 >> 3] = $23; + HEAPF64[$2 + 136 >> 3] = $22; + HEAPF64[$2 + 128 >> 3] = $21; + HEAPF64[$2 + 120 >> 3] = $20; + HEAPF64[$2 + 112 >> 3] = $19; + HEAPF64[$2 + 104 >> 3] = $18; + HEAPF64[$2 + 96 >> 3] = $17; + HEAPF64[$2 + 88 >> 3] = $16; + HEAPF64[$2 + 80 >> 3] = $15; + HEAPF64[$2 + 72 >> 3] = $14; + HEAPF64[$2 - -64 >> 3] = $13; + HEAPF64[$2 + 56 >> 3] = $12; + HEAPF64[$2 + 48 >> 3] = $11; + HEAPF64[$2 + 40 >> 3] = $10; + HEAPF64[$2 + 32 >> 3] = $9; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 16 >> 2] = $8; + HEAP32[$2 + 20 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $6; + $3 = $7; + HEAP32[$2 + 12 >> 2] = $3; + HEAP32[$2 >> 2] = $4; + $3 = $5; + HEAP32[$2 + 4 >> 2] = $3; + emscripten_asm_const_int(76323, 40096, $2 | 0) | 0; + $0 = 0; + } + __stack_pointer = $2 + 256 | 0; + return $0 | 0; +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_______do_put_floating_point_double__28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20double_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $6 = __stack_pointer - 208 | 0; + __stack_pointer = $6; + HEAP32[$6 + 200 >> 2] = 37; + HEAP32[$6 + 204 >> 2] = 0; + $7 = std____2____num_put_base____format_float_28char__2c_20char_20const__2c_20unsigned_20int_29($6 + 200 | 1, $5, std____2__ios_base__flags_28_29_20const($2)); + HEAP32[$6 + 156 >> 2] = $6 + 160; + $5 = std____2____cloc_28_29(); + label$1: { + if ($7) { + $0 = std____2__ios_base__precision_28_29_20const($2); + HEAPF64[$6 + 40 >> 3] = $4; + HEAP32[$6 + 32 >> 2] = $0; + $5 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($6 + 160 | 0, 30, $5, $6 + 200 | 0, $6 + 32 | 0); + break label$1; + } + HEAPF64[$6 + 48 >> 3] = $4; + $5 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($6 + 160 | 0, 30, $5, $6 + 200 | 0, $6 + 48 | 0); + } + HEAP32[$6 + 80 >> 2] = 315; + $9 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($6 + 144 | 0, 0, $6 + 80 | 0); + $8 = $6 + 160 | 0; + $0 = $8; + label$3: { + if (($5 | 0) >= 30) { + $5 = std____2____cloc_28_29(); + label$5: { + if ($7) { + $0 = std____2__ios_base__precision_28_29_20const($2); + HEAPF64[$6 + 8 >> 3] = $4; + HEAP32[$6 >> 2] = $0; + $5 = std____2____libcpp_asprintf_l_28char___2c_20__locale_struct__2c_20char_20const__2c_20____29($6 + 156 | 0, $5, $6 + 200 | 0, $6); + break label$5; + } + HEAPF64[$6 + 16 >> 3] = $4; + $5 = std____2____libcpp_asprintf_l_28char___2c_20__locale_struct__2c_20char_20const__2c_20____29($6 + 156 | 0, $5, $6 + 200 | 0, $6 + 16 | 0); + } + if (($5 | 0) == -1) { + break label$3; + } + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($9, HEAP32[$6 + 156 >> 2]); + $0 = HEAP32[$6 + 156 >> 2]; + } + $7 = $5 + $0 | 0; + $10 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0, $7, $2); + HEAP32[$6 + 80 >> 2] = 315; + $0 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($6 + 72 | 0, 0, $6 + 80 | 0); + label$7: { + if (HEAP32[$6 + 156 >> 2] == ($6 + 160 | 0)) { + $5 = $6 + 80 | 0; + break label$7; + } + $5 = dlmalloc($5 << 1); + if (!$5) { + break label$3; + } + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($0, $5); + $8 = HEAP32[$6 + 156 >> 2]; + } + std____2__ios_base__getloc_28_29_20const($6 + 56 | 0, $2); + std____2____num_put_char_____widen_and_group_float_28char__2c_20char__2c_20char__2c_20char__2c_20char___2c_20char___2c_20std____2__locale_20const__29($8, $10, $7, $5, $6 + 68 | 0, $6 - -64 | 0, $6 + 56 | 0); + std____2__locale___locale_28_29($6 + 56 | 0); + $2 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____pad_and_output_char_2c_20std____2__char_traits_char___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20char_20const__2c_20char_20const__2c_20char_20const__2c_20std____2__ios_base__2c_20char_29($1, $5, HEAP32[$6 + 68 >> 2], HEAP32[$6 + 64 >> 2], $2, $3); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($0); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($9); + __stack_pointer = $6 + 208 | 0; + return $2; + } + std____throw_bad_alloc_28_29(); + abort(); +} + +function decode_mcu_DC_first_1($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, $10 = 0, $11 = 0, $12 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $12 = HEAP32[$0 + 424 >> 2]; + $5 = HEAP32[$0 + 468 >> 2]; + label$1: { + label$2: { + if (HEAP32[$5 + 44 >> 2] | !HEAP32[$0 + 280 >> 2]) { + break label$2; + } + $4 = HEAP32[$0 + 464 >> 2]; + $8 = $5 + 16 | 0; + HEAP32[$4 + 24 >> 2] = HEAP32[$4 + 24 >> 2] + (HEAP32[$8 >> 2] / 8 | 0); + HEAP32[$5 + 16 >> 2] = 0; + $6 = 0; + if (!(FUNCTION_TABLE[HEAP32[$4 + 8 >> 2]]($0) | 0)) { + break label$1; + } + if (HEAP32[$0 + 340 >> 2] > 0) { + $4 = 0; + while (1) { + HEAP32[(($4 << 2) + $5 | 0) + 24 >> 2] = 0; + $4 = $4 + 1 | 0; + if (($4 | 0) < HEAP32[$0 + 340 >> 2]) { + continue; + } break; - } else { - _strncpy(i1, i4, i3) | 0; - HEAP32[14038] = (HEAP32[14038] | 0) + i2; + } + } + HEAP32[$5 + 20 >> 2] = 0; + HEAP32[$5 + 44 >> 2] = HEAP32[$0 + 280 >> 2]; + if (HEAP32[$0 + 440 >> 2]) { + break label$2; + } + HEAP32[$5 + 40 >> 2] = 0; + } + if (!HEAP32[$5 + 40 >> 2]) { + HEAP32[$2 + 40 >> 2] = $0; + $3 = HEAP32[$0 + 24 >> 2]; + $9 = HEAP32[$3 >> 2]; + HEAP32[$2 + 24 >> 2] = $9; + $10 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 28 >> 2] = $10; + $4 = HEAP32[$5 + 16 >> 2]; + $8 = HEAP32[$5 + 12 >> 2]; + HEAP32[$2 + 16 >> 2] = HEAP32[$5 + 36 >> 2]; + $6 = HEAP32[$5 + 32 >> 2]; + $7 = HEAP32[$5 + 28 >> 2]; + HEAP32[$2 + 8 >> 2] = $7; + HEAP32[$2 + 12 >> 2] = $6; + $7 = HEAP32[$5 + 24 >> 2]; + $6 = HEAP32[$5 + 20 >> 2]; + HEAP32[$2 >> 2] = $6; + HEAP32[$2 + 4 >> 2] = $7; + if (HEAP32[$0 + 368 >> 2] > 0) { + $9 = 0; + while (1) { + $3 = $9 << 2; + $10 = HEAP32[$3 + $1 >> 2]; + $11 = HEAP32[($0 + $3 | 0) + 372 >> 2] << 2; + $3 = HEAP32[((HEAP32[HEAP32[($11 + $0 | 0) + 344 >> 2] + 20 >> 2] << 2) + $5 | 0) + 48 >> 2]; + label$8: { + label$9: { + label$10: { + if (($4 | 0) <= 7) { + $6 = 0; + if (!jpeg_fill_bit_buffer($2 + 24 | 0, $8, $4, 0)) { + break label$1; + } + $8 = HEAP32[$2 + 32 >> 2]; + $4 = HEAP32[$2 + 36 >> 2]; + $7 = 1; + if (($4 | 0) < 8) { + break label$10; + } + } + $6 = $8 >> $4 - 8 & 255; + $7 = HEAP32[(($6 << 2) + $3 | 0) + 144 >> 2]; + if ($7) { + break label$9; + } + $7 = 9; + } + $3 = jpeg_huff_decode($2 + 24 | 0, $8, $4, $3, $7); + $6 = 0; + if (($3 | 0) < 0) { + break label$1; + } + $8 = HEAP32[$2 + 32 >> 2]; + $4 = HEAP32[$2 + 36 >> 2]; + break label$8; + } + $3 = HEAPU8[($3 + $6 | 0) + 1168 | 0]; + $4 = $4 - $7 | 0; + } + if ($3) { + if (($4 | 0) < ($3 | 0)) { + $6 = 0; + if (!jpeg_fill_bit_buffer($2 + 24 | 0, $8, $4, $3)) { + break label$1; + } + $8 = HEAP32[$2 + 32 >> 2]; + $4 = HEAP32[$2 + 36 >> 2]; + } + $4 = $4 - $3 | 0; + $3 = $3 << 2; + $6 = HEAP32[$3 + 42064 >> 2]; + $7 = $6 & $8 >> $4; + $6 = $7 - (HEAP32[$3 + 42060 >> 2] < ($7 | 0) ? 0 : $6) | 0; + } else { + $6 = 0; + } + $11 = $2 + $11 | 0; + $3 = $11 + 4 | 0; + $7 = $3; + $3 = $6 + HEAP32[$11 + 4 >> 2] | 0; + HEAP32[$7 >> 2] = $3; + HEAP16[$10 >> 1] = $3 << $12; + $9 = $9 + 1 | 0; + if (($9 | 0) < HEAP32[$0 + 368 >> 2]) { + continue; + } break; } + $10 = HEAP32[$2 + 28 >> 2]; + $9 = HEAP32[$2 + 24 >> 2]; + $3 = HEAP32[$0 + 24 >> 2]; + } + HEAP32[$3 + 4 >> 2] = $10; + HEAP32[$3 >> 2] = $9; + HEAP32[$5 + 16 >> 2] = $4; + HEAP32[$5 + 12 >> 2] = $8; + $4 = $5 + 20 | 0; + HEAP32[$4 + 16 >> 2] = HEAP32[$2 + 16 >> 2]; + $6 = HEAP32[$2 + 12 >> 2]; + $7 = HEAP32[$2 + 8 >> 2]; + HEAP32[$5 + 28 >> 2] = $7; + HEAP32[$5 + 32 >> 2] = $6; + $7 = HEAP32[$2 + 4 >> 2]; + $6 = HEAP32[$2 >> 2]; + HEAP32[$5 + 20 >> 2] = $6; + HEAP32[$5 + 24 >> 2] = $7; + } + HEAP32[$5 + 44 >> 2] = HEAP32[$5 + 44 >> 2] - 1; + $6 = 1; + } + __stack_pointer = $2 + 48 | 0; + return $6 | 0; +} + +function ar2GetTransMat($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = Math_fround(0), $11 = Math_fround(0), $12 = Math_fround(0), $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = Math_fround(0), $18 = 0, $19 = 0, $20 = 0; + $7 = __stack_pointer - 224 | 0; + __stack_pointer = $7; + $15 = dlmalloc($4 << 4); + HEAP32[$7 + 208 >> 2] = $15; + if ($15) { + label$2: { + $16 = dlmalloc(Math_imul($4, 24)); + HEAP32[$7 + 212 >> 2] = $16; + if (!$16) { + break label$2; + } + $20 = ($4 | 0) > 0 ? $4 : 0; + while (1) { + if (($8 | 0) != ($20 | 0)) { + $9 = Math_imul($8, 12) + $3 | 0; + $10 = Math_fround($10 + HEAPF32[$9 + 8 >> 2]); + $11 = Math_fround($11 + HEAPF32[$9 + 4 >> 2]); + $12 = Math_fround($12 + HEAPF32[$9 >> 2]); + $8 = $8 + 1 | 0; + continue; + } + break; } - } else _fputs(i4, HEAP32[3454] | 0) | 0; while (0); - _free(i4); - } - STACKTOP = i10; - return; -} - -function __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE21__push_back_slow_pathIRKS1_EEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = ((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 3) + 1 | 0; - i6 = __ZNKSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = (HEAP32[i1 + 8 >> 2] | 0) - i8 | 0; - i9 = i10 >> 2; - __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEEC2EmmS4_(i3, i10 >> 3 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, (HEAP32[i4 >> 2] | 0) - i8 >> 3, i1 + 8 | 0); - i6 = i3 + 8 | 0; - i4 = HEAP32[i2 + 4 >> 2] | 0; - i5 = HEAP32[i6 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i5 + 4 >> 2] = i4; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 8; - __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE(i1, i3); - __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEED2Ev(i3); - STACKTOP = i7; - return; - } -} - -function _x_by_xt(i11, i1) { - i11 = i11 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, d10 = 0.0, i12 = 0, i13 = 0, d14 = 0.0; - i12 = HEAP32[i11 + 4 >> 2] | 0; - i13 = HEAP32[i11 + 8 >> 2] | 0; - L1 : do if ((HEAP32[i1 + 4 >> 2] | 0) == (i12 | 0) ? (HEAP32[i1 + 8 >> 2] | 0) == (i12 | 0) : 0) { - i8 = HEAP32[i1 >> 2] | 0; - i3 = 0; - i5 = i8; - while (1) { - if ((i3 | 0) >= (i12 | 0)) { - i1 = 0; - break L1; + $17 = Math_fround($4 | 0); + $10 = Math_fround($10 / $17); + $11 = Math_fround($11 / $17); + $12 = Math_fround($12 / $17); + $8 = 0; + while (1) { + if (($8 | 0) != ($20 | 0)) { + $9 = ($8 << 4) + $15 | 0; + $13 = ($8 << 3) + $2 | 0; + HEAPF64[$9 >> 3] = HEAPF32[$13 >> 2]; + HEAPF64[$9 + 8 >> 3] = HEAPF32[$13 + 4 >> 2]; + $9 = Math_imul($8, 24) + $16 | 0; + $13 = Math_imul($8, 12) + $3 | 0; + HEAPF64[$9 >> 3] = Math_fround(HEAPF32[$13 >> 2] - $12); + HEAPF64[$9 + 8 >> 3] = Math_fround(HEAPF32[$13 + 4 >> 2] - $11); + HEAPF64[$9 + 16 >> 3] = Math_fround(HEAPF32[$13 + 8 >> 2] - $10); + $8 = $8 + 1 | 0; + continue; + } + break; } - i9 = Math_imul(i3, i13) | 0; - i2 = 0; - i7 = i5; + HEAP32[$7 + 216 >> 2] = $4; + $9 = 0; while (1) { - if ((i2 | 0) == (i12 | 0)) break; - L10 : do if (i2 >>> 0 < i3 >>> 0) { - i6 = i8 + ((Math_imul(i2, i12) | 0) + i3 << 3) | 0; - HEAPF64[i7 >> 3] = +HEAPF64[i6 >> 3]; - } else { - i4 = HEAP32[i11 >> 2] | 0; - i6 = i4 + ((Math_imul(i2, i13) | 0) << 3) | 0; - HEAPF64[i7 >> 3] = 0.0; - i1 = 0; - i4 = i4 + (i9 << 3) | 0; - d10 = 0.0; + $8 = 0; + if (($9 | 0) != 3) { while (1) { - if ((i1 | 0) >= (i13 | 0)) break L10; - d14 = d10 + +HEAPF64[i4 >> 3] * +HEAPF64[i6 >> 3]; - HEAPF64[i7 >> 3] = d14; - i1 = i1 + 1 | 0; - i4 = i4 + 8 | 0; - i6 = i6 + 8 | 0; - d10 = d14; - } - } while (0); - i2 = i2 + 1 | 0; - i7 = i7 + 8 | 0; - } - i3 = i3 + 1 | 0; - i5 = i5 + (i12 << 3) | 0; - } - } else i1 = -1; while (0); - return i1 | 0; -} - -function _output_pass_setup(i5) { - i5 = i5 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i6 = i5 + 20 | 0; - i4 = i5 + 420 | 0; - if ((HEAP32[i6 >> 2] | 0) == 204) i3 = i5 + 140 | 0; else { - FUNCTION_TABLE_vi[HEAP32[HEAP32[i4 >> 2] >> 2] & 255](i5); - i3 = i5 + 140 | 0; - HEAP32[i3 >> 2] = 0; - HEAP32[i6 >> 2] = 204; - } - i8 = i5 + 116 | 0; - i9 = i5 + 8 | 0; - i10 = i5 + 424 | 0; - L5 : while (1) { - if (!(HEAP32[(HEAP32[i4 >> 2] | 0) + 8 >> 2] | 0)) { - i11 = 12; - break; - } - i7 = HEAP32[i3 >> 2] | 0; - while (1) { - i1 = HEAP32[i8 >> 2] | 0; - if (i7 >>> 0 >= i1 >>> 0) break; - i2 = HEAP32[i9 >> 2] | 0; - if (!i2) i1 = i7; else { - HEAP32[i2 + 4 >> 2] = i7; - HEAP32[i2 + 8 >> 2] = i1; - FUNCTION_TABLE_vi[HEAP32[i2 >> 2] & 255](i5); - i1 = HEAP32[i3 >> 2] | 0; - } - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i10 >> 2] | 0) + 4 >> 2] & 31](i5, 0, i3, 0); - i7 = HEAP32[i3 >> 2] | 0; - if ((i7 | 0) == (i1 | 0)) { - i1 = 0; - break L5; - } - } - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i4 >> 2] | 0) + 4 >> 2] & 255](i5); - FUNCTION_TABLE_vi[HEAP32[HEAP32[i4 >> 2] >> 2] & 255](i5); - HEAP32[i3 >> 2] = 0; - } - if ((i11 | 0) == 12) { - HEAP32[i6 >> 2] = (HEAP32[i5 + 68 >> 2] | 0) == 0 ? 205 : 206; - i1 = 1; - } - return i1 | 0; -} - -function _arGetTransMatRobust(i2, i3, i6, i7, i8, i9) { - i2 = i2 | 0; - i3 = i3 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i1 = 0, i4 = 0, i5 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i10 = i13 + 20 | 0; - i11 = i13; - i12 = _malloc(i8 << 4) | 0; - HEAP32[i10 >> 2] = i12; - if (!i12) { - _arLog(0, 3, 20454, i13 + 8 | 0); - _exit(1); - } - i4 = _malloc(i8 * 24 | 0) | 0; - i5 = i10 + 4 | 0; - HEAP32[i5 >> 2] = i4; - if (!i4) { - _arLog(0, 3, 20454, i13 + 16 | 0); - _exit(1); - } - i1 = 0; - while (1) { - if ((i1 | 0) >= (i8 | 0)) break; - HEAPF64[i12 + (i1 << 4) >> 3] = +HEAPF64[i6 + (i1 << 4) >> 3]; - HEAPF64[i12 + (i1 << 4) + 8 >> 3] = +HEAPF64[i6 + (i1 << 4) + 8 >> 3]; - HEAPF64[i4 + (i1 * 24 | 0) >> 3] = +HEAPF64[i7 + (i1 * 24 | 0) >> 3]; - HEAPF64[i4 + (i1 * 24 | 0) + 8 >> 3] = +HEAPF64[i7 + (i1 * 24 | 0) + 8 >> 3]; - HEAPF64[i4 + (i1 * 24 | 0) + 16 >> 3] = +HEAPF64[i7 + (i1 * 24 | 0) + 16 >> 3]; - i1 = i1 + 1 | 0; - } - HEAP32[i10 + 8 >> 2] = i8; - if ((_icpPointRobust(HEAP32[i2 >> 2] | 0, i10, i3, i9, i11) | 0) < 0) HEAPF64[i11 >> 3] = 1.0e8; - _free(HEAP32[i10 >> 2] | 0); - _free(HEAP32[i5 >> 2] | 0); - STACKTOP = i13; - return +(+HEAPF64[i11 >> 3]); -} - -function __ZNSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE21__push_back_slow_pathIS2_EEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = ((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 3) + 1 | 0; - i6 = __ZNKSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = (HEAP32[i1 + 8 >> 2] | 0) - i8 | 0; - i9 = i10 >> 2; - __ZNSt3__214__split_bufferINS_4pairIfmEERNS_9allocatorIS2_EEEC2EmmS5_(i3, i10 >> 3 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, (HEAP32[i4 >> 2] | 0) - i8 >> 3, i1 + 8 | 0); - i6 = i3 + 8 | 0; - i4 = HEAP32[i2 + 4 >> 2] | 0; - i5 = HEAP32[i6 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i5 + 4 >> 2] = i4; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 8; - __ZNSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i1, i3); - __ZNSt3__214__split_bufferINS_4pairIfmEERNS_9allocatorIS2_EEED2Ev(i3); - STACKTOP = i7; - return; - } -} - -function __ZN6vision5Timer4stopEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i3; - if (!(+HEAPF64[i1 >> 3] >= 0.0)) { - i3 = __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(57212, 33380) | 0, 33419) | 0, 33528) | 0, 67) | 0, 33535) | 0, 33538) | 0; - __ZNKSt3__28ios_base6getlocEv(i2, i3 + (HEAP32[(HEAP32[i3 >> 2] | 0) + -12 >> 2] | 0) | 0); - i1 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 57916) | 0; - i1 = FUNCTION_TABLE_iii[HEAP32[(HEAP32[i1 >> 2] | 0) + 28 >> 2] & 63](i1, 10) | 0; - __ZNSt3__26localeD2Ev(i2); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i3, i1) | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i3) | 0; - _abort(); - } else { - _gettimeofday(i2 | 0, 0) | 0; - HEAPF64[i1 + 8 >> 3] = +(HEAP32[i2 + 4 >> 2] | 0) * 1.0e-06 + +(HEAP32[i2 >> 2] | 0); - STACKTOP = i3; - return; - } -} - -function _consume_markers(i5) { - i5 = i5 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0; - i4 = HEAP32[i5 + 436 >> 2] | 0; - i2 = i4 + 20 | 0; - L1 : do if (!(HEAP32[i2 >> 2] | 0)) { - i3 = i5 + 440 | 0; - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 4 >> 2] & 127](i5) | 0; - switch (i1 | 0) { - case 1: - { - i1 = i4 + 24 | 0; - if (HEAP32[i1 >> 2] | 0) { - _initial_setup_35(i5); - HEAP32[i1 >> 2] = 0; - i1 = 1; - break L1; - } - if (!(HEAP32[i4 + 16 >> 2] | 0)) { - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i4 + 20 >> 2] = 35; - FUNCTION_TABLE_vi[HEAP32[i4 >> 2] & 255](i5); - } - _start_input_pass_33(i5); - i1 = 1; - break L1; + if (($8 | 0) != 3) { + HEAPF64[(($7 + 112 | 0) + ($9 << 5) | 0) + ($8 << 3) >> 3] = HEAPF32[(($9 << 4) + $1 | 0) + ($8 << 2) >> 2]; + $8 = $8 + 1 | 0; + continue; + } + break; + } + $9 = $9 + 1 | 0; + continue; + } + break; } - case 2: - { - HEAP32[i2 >> 2] = 1; - if (!(HEAP32[i4 + 24 >> 2] | 0)) { - i2 = i5 + 152 | 0; - i1 = HEAP32[i5 + 144 >> 2] | 0; - if ((HEAP32[i2 >> 2] | 0) <= (i1 | 0)) { - i1 = 2; - break L1; - } - HEAP32[i2 >> 2] = i1; - i1 = 2; - break L1; - } else { - if (!(HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] | 0)) { - i1 = 2; - break L1; + HEAPF64[$7 + 136 >> 3] = Math_fround(HEAPF32[$1 + 12 >> 2] + Math_fround(Math_fround(HEAPF32[$1 + 8 >> 2] * $10) + Math_fround(Math_fround(HEAPF32[$1 >> 2] * $12) + Math_fround($11 * HEAPF32[$1 + 4 >> 2])))); + HEAPF64[$7 + 168 >> 3] = Math_fround(HEAPF32[$1 + 28 >> 2] + Math_fround(Math_fround(HEAPF32[$1 + 24 >> 2] * $10) + Math_fround(Math_fround(HEAPF32[$1 + 16 >> 2] * $12) + Math_fround($11 * HEAPF32[$1 + 20 >> 2])))); + HEAPF64[$7 + 200 >> 3] = Math_fround(HEAPF32[$1 + 44 >> 2] + Math_fround(Math_fround(HEAPF32[$1 + 40 >> 2] * $10) + Math_fround(Math_fround(HEAPF32[$1 + 32 >> 2] * $12) + Math_fround($11 * HEAPF32[$1 + 36 >> 2])))); + label$11: { + if (!$6) { + if ((icpPoint($0, $7 + 208 | 0, $7 + 112 | 0, $7 + 16 | 0, $7 + 8 | 0) | 0) >= 0) { + break label$11; } - i1 = HEAP32[i5 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 59; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i5); - i1 = 2; - break L1; + HEAP32[$7 + 8 >> 2] = 0; + HEAP32[$7 + 12 >> 2] = 1100470148; + break label$11; + } + if ((icpPointRobust($0, $7 + 208 | 0, $7 + 112 | 0, $7 + 16 | 0, $7 + 8 | 0) | 0) >= 0) { + break label$11; } + HEAP32[$7 + 8 >> 2] = 0; + HEAP32[$7 + 12 >> 2] = 1100470148; } - default: - break L1; - } - } else i1 = 2; while (0); - return i1 | 0; -} - -function _arGetTransMat(i2, i3, i6, i7, i8, i9) { - i2 = i2 | 0; - i3 = i3 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i1 = 0, i4 = 0, i5 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i13 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i10 = i13 + 20 | 0; - i11 = i13; - i12 = _malloc(i8 << 4) | 0; - HEAP32[i10 >> 2] = i12; - if (!i12) { - _arLog(0, 3, 20454, i13 + 8 | 0); - _exit(1); - } - i4 = _malloc(i8 * 24 | 0) | 0; - i5 = i10 + 4 | 0; - HEAP32[i5 >> 2] = i4; - if (!i4) { - _arLog(0, 3, 20454, i13 + 16 | 0); - _exit(1); - } - i1 = 0; - while (1) { - if ((i1 | 0) >= (i8 | 0)) break; - HEAPF64[i12 + (i1 << 4) >> 3] = +HEAPF64[i6 + (i1 << 4) >> 3]; - HEAPF64[i12 + (i1 << 4) + 8 >> 3] = +HEAPF64[i6 + (i1 << 4) + 8 >> 3]; - HEAPF64[i4 + (i1 * 24 | 0) >> 3] = +HEAPF64[i7 + (i1 * 24 | 0) >> 3]; - HEAPF64[i4 + (i1 * 24 | 0) + 8 >> 3] = +HEAPF64[i7 + (i1 * 24 | 0) + 8 >> 3]; - HEAPF64[i4 + (i1 * 24 | 0) + 16 >> 3] = +HEAPF64[i7 + (i1 * 24 | 0) + 16 >> 3]; - i1 = i1 + 1 | 0; - } - HEAP32[i10 + 8 >> 2] = i8; - if ((_icpPoint(HEAP32[i2 >> 2] | 0, i10, i3, i9, i11) | 0) < 0) HEAPF64[i11 >> 3] = 1.0e8; - _free(HEAP32[i10 >> 2] | 0); - _free(HEAP32[i5 >> 2] | 0); - STACKTOP = i13; - return +(+HEAPF64[i11 >> 3]); -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE8__appendEm(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i8; - i6 = i3 + 8 | 0; - i7 = i3 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - do if ((HEAP32[i6 >> 2] | 0) - i1 >> 2 >>> 0 < i4 >>> 0) { - i1 = (i1 - (HEAP32[i3 >> 2] | 0) >> 2) + i4 | 0; - i2 = __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv(i3) | 0; - if (i2 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i3); else { - i9 = HEAP32[i3 >> 2] | 0; - i10 = (HEAP32[i6 >> 2] | 0) - i9 | 0; - i6 = i10 >> 1; - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_(i5, i10 >> 2 >>> 0 < i2 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i2, (HEAP32[i7 >> 2] | 0) - i9 >> 2, i3 + 8 | 0); - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endEm(i5, i4); - __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EE(i3, i5); - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev(i5); - break; - } - } else __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endEm(i3, i4); while (0); - STACKTOP = i8; - return; -} - -function __ZNSt3__26vectorIfNS_9allocatorIfEEE8__appendEm(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i8; - i6 = i3 + 8 | 0; - i7 = i3 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - do if ((HEAP32[i6 >> 2] | 0) - i1 >> 2 >>> 0 < i4 >>> 0) { - i1 = (i1 - (HEAP32[i3 >> 2] | 0) >> 2) + i4 | 0; - i2 = __ZNKSt3__26vectorIfNS_9allocatorIfEEE8max_sizeEv(i3) | 0; - if (i2 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i3); else { - i9 = HEAP32[i3 >> 2] | 0; - i10 = (HEAP32[i6 >> 2] | 0) - i9 | 0; - i6 = i10 >> 1; - __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEEC2EmmS3_(i5, i10 >> 2 >>> 0 < i2 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i2, (HEAP32[i7 >> 2] | 0) - i9 >> 2, i3 + 8 | 0); - __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEE18__construct_at_endEm(i5, i4); - __ZNSt3__26vectorIfNS_9allocatorIfEEE26__swap_out_circular_bufferERNS_14__split_bufferIfRS2_EE(i3, i5); - __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEED2Ev(i5); - break; - } - } else __ZNSt3__26vectorIfNS_9allocatorIfEEE18__construct_at_endEm(i3, i4); while (0); - STACKTOP = i8; - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE6rehashEm(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i5 = 0; - if ((i1 | 0) != 1) { - if (i1 + -1 & i1) i1 = __ZNSt3__212__next_primeEm(i1) | 0; - } else i1 = 2; - i3 = HEAP32[i4 + 4 >> 2] | 0; - if (i1 >>> 0 <= i3 >>> 0) { - if (i1 >>> 0 < i3 >>> 0) { - i2 = ~~+Math_ceil(+(+((HEAP32[i4 + 12 >> 2] | 0) >>> 0) / +HEAPF32[i4 + 16 >> 2])) >>> 0; - if (i3 >>> 0 > 2 & (i3 + -1 & i3 | 0) == 0) { - i5 = 1 << 32 - (Math_clz32(i2 + -1 | 0) | 0); - i2 = i2 >>> 0 < 2 ? i2 : i5; - } else i2 = __ZNSt3__212__next_primeEm(i2) | 0; - i1 = i1 >>> 0 < i2 >>> 0 ? i2 : i1; - if (i1 >>> 0 < i3 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE8__rehashEm(i4, i1); - } - } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE8__rehashEm(i4, i1); - return; -} - -function _select_ncolors(i5, i8) { - i5 = i5 | 0; - i8 = i8 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i9 = 0, i10 = 0; - i9 = HEAP32[i5 + 120 >> 2] | 0; - i10 = HEAP32[i5 + 96 >> 2] | 0; - i4 = 1; - while (1) { - i3 = i4 + 1 | 0; - i1 = i3; - i2 = 1; - while (1) { - if ((i2 | 0) >= (i9 | 0)) break; - i1 = Math_imul(i1, i3) | 0; - i2 = i2 + 1 | 0; + dlfree(HEAP32[$7 + 208 >> 2]); + dlfree(HEAP32[$7 + 212 >> 2]); + $9 = 0; + while (1) { + $8 = 0; + if (($9 | 0) != 3) { + while (1) { + if (($8 | 0) != 3) { + HEAPF32[(($9 << 4) + $5 | 0) + ($8 << 2) >> 2] = HEAPF64[(($7 + 16 | 0) + ($9 << 5) | 0) + ($8 << 3) >> 3]; + $8 = $8 + 1 | 0; + continue; + } + break; + } + $9 = $9 + 1 | 0; + continue; + } + break; + } + $14 = +$12; + $18 = +$11; + $19 = +$10; + HEAPF32[$5 + 12 >> 2] = HEAPF64[$7 + 40 >> 3] - HEAPF64[$7 + 16 >> 3] * $14 - HEAPF64[$7 + 24 >> 3] * $18 - HEAPF64[$7 + 32 >> 3] * $19; + HEAPF32[$5 + 28 >> 2] = HEAPF64[$7 + 72 >> 3] - HEAPF64[$7 + 48 >> 3] * $14 - HEAPF64[$7 + 56 >> 3] * $18 - HEAPF64[$7 - -64 >> 3] * $19; + HEAPF32[$5 + 44 >> 2] = HEAPF64[$7 + 104 >> 3] - HEAPF64[$7 + 80 >> 3] * $14 - HEAPF64[$7 + 88 >> 3] * $18 - HEAPF64[$7 + 96 >> 3] * $19; + __stack_pointer = $7 + 224 | 0; + $14 = HEAPF64[$7 + 8 >> 3]; + return Math_fround($14); } - if ((i1 | 0) > (i10 | 0)) break; else i4 = i3; - } - if (i4 >>> 0 < 2) { - i7 = HEAP32[i5 >> 2] | 0; - HEAP32[i7 + 20 >> 2] = 56; - HEAP32[i7 + 24 >> 2] = i1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i5 >> 2] >> 2] & 255](i5); - } - i2 = 1; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i9 | 0)) break; - HEAP32[i8 + (i1 << 2) >> 2] = i4; - i2 = Math_imul(i2, i4) | 0; - i1 = i1 + 1 | 0; - } - i7 = i5 + 44 | 0; - i3 = 0; - i6 = i2; - i1 = 0; - L15 : while (1) { - while (1) { - if ((i1 | 0) < (i9 | 0)) { - if ((HEAP32[i7 >> 2] | 0) == 2) i2 = HEAP32[13640 + (i1 << 2) >> 2] | 0; else i2 = i1; - i2 = i8 + (i2 << 2) | 0; - i5 = HEAP32[i2 >> 2] | 0; - i4 = i5 + 1 | 0; - i5 = Math_imul((i6 | 0) / (i5 | 0) | 0, i4) | 0; - if ((i5 | 0) <= (i10 | 0)) break; - } - if (!i3) break L15; else { - i3 = 0; - i1 = 0; - } - } - HEAP32[i2 >> 2] = i4; - i3 = 1; - i6 = i5; - i1 = i1 + 1 | 0; - } - return i6 | 0; -} - -function __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE21__push_back_slow_pathIS5_EEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = ((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 2) + 1 | 0; - i6 = __ZNKSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = (HEAP32[i1 + 8 >> 2] | 0) - i8 | 0; - i9 = i10 >> 1; - __ZNSt3__214__split_bufferIPKN6vision4NodeILi96EEERNS_9allocatorIS5_EEEC2EmmS8_(i3, i10 >> 2 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, (HEAP32[i4 >> 2] | 0) - i8 >> 2, i1 + 8 | 0); - i6 = i3 + 8 | 0; - HEAP32[HEAP32[i6 >> 2] >> 2] = HEAP32[i2 >> 2]; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 4; - __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS7_EE(i1, i3); - __ZNSt3__214__split_bufferIPKN6vision4NodeILi96EEERNS_9allocatorIS5_EEED2Ev(i3); - STACKTOP = i7; - return; } + arLog(0, 3, 3079, 0); + exit(1); + abort(); } -function __ZNSt3__26vectorIhNS_9allocatorIhEEE8__appendEm(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i8; - i6 = i3 + 8 | 0; - i7 = i3 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - do if (((HEAP32[i6 >> 2] | 0) - i1 | 0) >>> 0 < i4 >>> 0) { - i1 = i1 - (HEAP32[i3 >> 2] | 0) + i4 | 0; - i2 = __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv(i3) | 0; - if (i2 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i3); else { - i9 = HEAP32[i3 >> 2] | 0; - i10 = (HEAP32[i6 >> 2] | 0) - i9 | 0; - i6 = i10 << 1; - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEEC2EmmS3_(i5, i10 >>> 0 < i2 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i2, (HEAP32[i7 >> 2] | 0) - i9 | 0, i3 + 8 | 0); - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEE18__construct_at_endEm(i5, i4); - __ZNSt3__26vectorIhNS_9allocatorIhEEE26__swap_out_circular_bufferERNS_14__split_bufferIhRS2_EE(i3, i5); - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEED2Ev(i5); +function std____2__init_wmonths_28_29() { + var $0 = 0; + if (!HEAPU8[83760]) { + $0 = 83472; + while (1) { + $0 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($0) + 12 | 0; + if (($0 | 0) != 83760) { + continue; + } break; } - } else __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endEm(i3, i4); while (0); - STACKTOP = i8; - return; -} - -function __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE21__push_back_slow_pathIRKS4_EEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = ((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 2) + 1 | 0; - i6 = __ZNKSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = (HEAP32[i1 + 8 >> 2] | 0) - i8 | 0; - i9 = i10 >> 1; - __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEEC2EmmS7_(i3, i10 >> 2 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, (HEAP32[i4 >> 2] | 0) - i8 >> 2, i1 + 8 | 0); - i6 = i3 + 8 | 0; - HEAP32[HEAP32[i6 >> 2] >> 2] = HEAP32[i2 >> 2]; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 4; - __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE(i1, i3); - __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEED2Ev(i3); - STACKTOP = i7; - return; - } -} - -function __ZL25default_terminate_handlerv() { - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i7 = i1 + 32 | 0; - i3 = i1 + 24 | 0; - i8 = i1 + 16 | 0; - i6 = i1; - i4 = i1 + 36 | 0; - i1 = ___cxa_get_globals_fast() | 0; - if (i1 | 0 ? (i5 = HEAP32[i1 >> 2] | 0, i5 | 0) : 0) { - i1 = i5 + 48 | 0; - i2 = HEAP32[i1 >> 2] | 0; - i1 = HEAP32[i1 + 4 >> 2] | 0; - if (!((i2 & -256 | 0) == 1126902528 & (i1 | 0) == 1129074247)) { - HEAP32[i3 >> 2] = 49078; - _abort_message(49028, i3); - } - if ((i2 | 0) == 1126902529 & (i1 | 0) == 1129074247) i1 = HEAP32[i5 + 44 >> 2] | 0; else i1 = i5 + 80 | 0; - HEAP32[i4 >> 2] = i1; - i5 = HEAP32[i5 >> 2] | 0; - i1 = HEAP32[i5 + 4 >> 2] | 0; - if (FUNCTION_TABLE_iiii[HEAP32[(HEAP32[3302] | 0) + 16 >> 2] & 63](13208, i5, i4) | 0) { - i8 = HEAP32[i4 >> 2] | 0; - i8 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i8 >> 2] | 0) + 8 >> 2] & 127](i8) | 0; - HEAP32[i6 >> 2] = 49078; - HEAP32[i6 + 4 >> 2] = i1; - HEAP32[i6 + 8 >> 2] = i8; - _abort_message(48942, i6); - } else { - HEAP32[i8 >> 2] = 49078; - HEAP32[i8 + 4 >> 2] = i1; - _abort_message(48987, i8); - } - } - _abort_message(49066, i7); -} - -function _arCreateHandle(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = _malloc(7062432) | 0; - if (!i2) { - _arLog(0, 3, 20454, i3); - _exit(1); - } - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4834148 >> 2] = 0; - HEAP32[i2 + 7062408 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = -1; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 1; - HEAP32[i2 + 16 >> 2] = 100; - HEAP32[i2 + 20 >> 2] = 0; - HEAP32[i2 + 24 >> 2] = 0; - HEAP32[i2 + 28 >> 2] = 2; - HEAPF64[i2 + 7062416 >> 3] = .5; - HEAP32[i2 + 7062424 >> 2] = 3; - HEAP32[i2 + 32 >> 2] = i1; - i4 = HEAP32[i1 >> 2] | 0; - HEAP32[i2 + 36 >> 2] = i4; - i1 = HEAP32[i1 + 4 >> 2] | 0; - HEAP32[i2 + 40 >> 2] = i1; - HEAP32[i2 + 44 >> 2] = 0; - HEAP32[i2 + 15408 >> 2] = 0; - HEAP32[i2 + 4834152 >> 2] = 0; - HEAP32[i2 + 4818296 >> 2] = 0; - i1 = _malloc(Math_imul(i4 << 1, i1) | 0) | 0; - HEAP32[i2 + 4834144 >> 2] = i1; - if (!i1) { - _arLog(0, 3, 20454, i3 + 8 | 0); - _exit(1); - } else { - HEAP32[i2 + 7062384 >> 2] = 0; - _arSetDebugMode(i2, 0) | 0; - HEAP32[i2 + 7062388 >> 2] = -1; - _arSetLabelingThreshMode(i2, 0) | 0; - _arSetLabelingThreshModeAutoInterval(i2, 7) | 0; - STACKTOP = i3; - return i2 | 0; - } - return 0; -} + __cxa_atexit(322, 0, 1024); + HEAP8[83760] = 1; + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83472, 64024); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83484, 64056); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83496, 64092); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83508, 64116); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83520, 64140); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83532, 64156); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83544, 64176); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83556, 64196); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83568, 64224); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83580, 64264); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83592, 64296); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83604, 64332); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83616, 64368); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83628, 64384); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83640, 64400); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83652, 64416); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83664, 64140); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83676, 64432); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83688, 64448); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83700, 64464); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83712, 64480); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83724, 64496); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83736, 64512); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83748, 64528); +} + +function strtox($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $16 = __stack_pointer - 16 | 0; + __stack_pointer = $16; + label$1: { + label$2: { + label$3: { + if (($2 | 0) <= 36) { + $11 = HEAPU8[$0 | 0]; + if ($11) { + break label$3; + } + $8 = $0; + break label$2; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 28, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $3 = 0; + $4 = 0; + break label$1; + } + $8 = $0; + label$5: { + while (1) { + if (!isspace($11 << 24 >> 24)) { + break label$5; + } + $11 = HEAPU8[$8 + 1 | 0]; + $7 = $8 + 1 | 0; + $8 = $7; + if ($11) { + continue; + } + break; + } + $8 = $7; + break label$2; + } + label$7: { + $11 = HEAPU8[$8 | 0]; + switch ($11 - 43 | 0) { + case 0: + case 2: + break label$7; -function _arLabeling(i3, i4, i5, i6, i1, i7, i8, i9, i10) { - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i1 = i1 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - var i2 = 0; - i1 = (i1 | 0) == 1; - i2 = (i10 | 0) != 0; - do if (!i6) if (i1) { - if (i2) { - i1 = _arLabelingSubDBZ(i3, i4, i5, i10, i9) | 0; - break; - } - if (!i8) { - i1 = _arLabelingSubDBRC(i3, i4, i5, i7, i9) | 0; - break; - } else { - i1 = _arLabelingSubDBIC(i3, i4, i5, i7, i9) | 0; - break; - } - } else { - if (i2) { - i1 = _arLabelingSubDWZ(i3, i4, i5, i10, i9) | 0; - break; + default: + break label$2; + } + } + $15 = ($11 | 0) == 45 ? -1 : 0; + $8 = $8 + 1 | 0; } - if (!i8) { - i1 = _arLabelingSubDWRC(i3, i4, i5, i7, i9) | 0; - break; - } else { - i1 = _arLabelingSubDWIC(i3, i4, i5, i7, i9) | 0; - break; + label$8: { + if (!(($2 | 16) != 16 | HEAPU8[$8 | 0] != 48)) { + $17 = 1; + if ((HEAPU8[$8 + 1 | 0] & 223) == 88) { + $8 = $8 + 2 | 0; + $12 = 16; + break label$8; + } + $8 = $8 + 1 | 0; + $12 = $2 ? $2 : 8; + break label$8; + } + $12 = $2 ? $2 : 10; } - } else if (i1) { - if (i2) { - i1 = _arLabelingSubEBZ(i3, i4, i5, i10, i9) | 0; + $2 = 0; + while (1) { + label$12: { + $11 = -48; + $7 = HEAP8[$8 | 0]; + label$13: { + if (($7 - 48 & 255) >>> 0 < 10) { + break label$13; + } + $11 = -87; + if (($7 - 97 & 255) >>> 0 < 26) { + break label$13; + } + $11 = -55; + if (($7 - 65 & 255) >>> 0 > 25) { + break label$12; + } + } + $7 = $11 + $7 | 0; + if (($12 | 0) <= ($7 | 0)) { + break label$12; + } + $5 = $13; + __multi3($16, $12, 0, 0, 0, $14, $5, 0, 0); + $11 = 1; + $6 = $16; + $10 = HEAP32[$6 + 8 >> 2]; + $5 = HEAP32[$6 + 12 >> 2]; + $6 = $10; + label$14: { + if ($6 | $5) { + break label$14; + } + $5 = $13; + $5 = __wasm_i64_mul($12, 0, $14, $5); + $9 = $5; + $6 = i64toi32_i32$HIGH_BITS; + $5 = $6; + $5 = $6; + $6 = $9; + $10 = $7 ^ -1; + if (($5 | 0) == -1 & $6 >>> 0 > $10 >>> 0) { + break label$14; + } + $6 = $5; + $10 = $9; + $9 = $7 + $10 | 0; + $14 = $9; + $5 = $7 >>> 0 > $9 >>> 0 ? $6 + 1 | 0 : $6; + $13 = $5; + $17 = 1; + $11 = $2; + } + $8 = $8 + 1 | 0; + $2 = $11; + continue; + } break; } - if (!i8) { - i1 = _arLabelingSubEBRC(i3, i4, i5, i7, i9) | 0; - break; - } else { - i1 = _arLabelingSubEBIC(i3, i4, i5, i7, i9) | 0; - break; - } - } else { - if (i2) { - i1 = _arLabelingSubEWZ(i3, i4, i5, i10, i9) | 0; - break; - } - if (!i8) { - i1 = _arLabelingSubEWRC(i3, i4, i5, i7, i9) | 0; - break; - } else { - i1 = _arLabelingSubEWIC(i3, i4, i5, i7, i9) | 0; - break; + if ($1) { + HEAP32[$1 >> 2] = $17 ? $8 : $0; + } + label$16: { + label$17: { + if ($2) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 68, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $10 = 0; + $0 = $10; + $6 = $3; + $12 = $6 & 1; + $15 = $10 | $12 ? 0 : $15; + $14 = $6; + $5 = $4; + $13 = $5; + break label$17; + } + $6 = $13; + $10 = $4; + $7 = $14; + $5 = $3; + if (($6 | 0) == ($10 | 0) & $7 >>> 0 < $5 >>> 0 | $10 >>> 0 > $6 >>> 0) { + break label$16; + } + $7 = $3; + $12 = $7 & 1; + $10 = 0; + $0 = $10; + } + $5 = $12; + $10 = $0; + if (!(($5 | $10) != 0 | $15)) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 68, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $6 = $3; + $5 = $6 - 1 | 0; + $3 = $5; + $5 = $4; + $9 = !$6; + $9 = $5 - $9 | 0; + $4 = $9; + break label$1; + } + $6 = $13; + $9 = $4; + $7 = $14; + $5 = $3; + if (($6 | 0) == ($9 | 0) & $7 >>> 0 <= $5 >>> 0 | $9 >>> 0 > $6 >>> 0) { + break label$16; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 68, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$1; + } + $9 = $15; + $5 = $9 >> 31; + $0 = $5; + $9 = $5; + $5 = $13; + $9 = $9 ^ $5; + $7 = $14; + $12 = $15; + $6 = $12; + $5 = $7 ^ $6; + $10 = $5 - $6 | 0; + $3 = $10; + $7 = $0; + $5 = $7 + ($6 >>> 0 > $5 >>> 0) | 0; + $5 = $9 - $5 | 0; + $4 = $5; + } + __stack_pointer = $16 + 16 | 0; + $5 = $4; + i64toi32_i32$HIGH_BITS = $5; + $5 = $3; + return $5; +} + +function std____2__utf8_to_utf16_28unsigned_20char_20const__2c_20unsigned_20char_20const__2c_20unsigned_20char_20const___2c_20unsigned_20short__2c_20unsigned_20short__2c_20unsigned_20short___2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0, $9 = 0, $10 = 0, $11 = 0; + HEAP32[$2 >> 2] = $0; + HEAP32[$5 >> 2] = $3; + label$1: { + if (!($7 & 4)) { + break label$1; + } + $0 = HEAP32[$2 >> 2]; + if (($1 - $0 | 0) < 3 | HEAPU8[$0 | 0] != 239 | (HEAPU8[$0 + 1 | 0] != 187 | HEAPU8[$0 + 2 | 0] != 191)) { + break label$1; + } + HEAP32[$2 >> 2] = $0 + 3; + } + label$2: { + label$3: { + label$4: { + while (1) { + label$6: { + $3 = HEAP32[$2 >> 2]; + if ($3 >>> 0 >= $1 >>> 0) { + break label$6; + } + $7 = HEAP32[$5 >> 2]; + if ($7 >>> 0 >= $4 >>> 0) { + break label$6; + } + $10 = 2; + $0 = HEAPU8[$3 | 0]; + if ($6 >>> 0 < $0 >>> 0) { + break label$2; + } + label$7: { + if ($0 << 24 >> 24 >= 0) { + HEAP16[$7 >> 1] = $0; + $0 = $3 + 1 | 0; + break label$7; + } + if ($0 >>> 0 < 194) { + break label$2; + } + if ($0 >>> 0 <= 223) { + if (($1 - $3 | 0) < 2) { + break label$3; + } + $8 = HEAPU8[$3 + 1 | 0]; + if (($8 & 192) != 128) { + break label$4; + } + $0 = $8 & 63 | $0 << 6 & 1984; + if ($6 >>> 0 < $0 >>> 0) { + break label$4; + } + HEAP16[$7 >> 1] = $0; + $0 = $3 + 2 | 0; + break label$7; + } + if ($0 >>> 0 <= 239) { + if (($1 - $3 | 0) < 3) { + break label$3; + } + $9 = HEAPU8[$3 + 2 | 0]; + $8 = HEAPU8[$3 + 1 | 0]; + label$11: { + label$12: { + if (($0 | 0) != 237) { + if (($0 | 0) != 224) { + break label$12; + } + if (($8 & 224) == 160) { + break label$11; + } + break label$4; + } + if (($8 & 224) == 128) { + break label$11; + } + break label$4; + } + if (($8 & 192) != 128) { + break label$4; + } + } + if (($9 & 192) != 128) { + break label$4; + } + $0 = $9 & 63 | (($8 & 63) << 6 | $0 << 12); + if (($0 & 65535) >>> 0 > $6 >>> 0) { + break label$4; + } + HEAP16[$7 >> 1] = $0; + $0 = $3 + 3 | 0; + break label$7; + } + if ($0 >>> 0 > 244) { + break label$2; + } + $10 = 1; + if (($1 - $3 | 0) < 4) { + break label$4; + } + $9 = HEAPU8[$3 + 3 | 0]; + $8 = HEAPU8[$3 + 2 | 0]; + $3 = HEAPU8[$3 + 1 | 0]; + label$14: { + label$15: { + switch ($0 - 240 | 0) { + case 0: + if (($3 + 112 & 255) >>> 0 >= 48) { + break label$2; + } + break label$14; + + case 4: + if (($3 & 240) != 128) { + break label$2; + } + break label$14; + + default: + break label$15; + } + } + if (($3 & 192) != 128) { + break label$2; + } + } + if (($8 & 192) != 128 | ($9 & 192) != 128) { + break label$2; + } + if (($4 - $7 | 0) < 4) { + break label$4; + } + $10 = 2; + $9 = $9 & 63; + $11 = $8 << 6; + $0 = $0 & 7; + if (($9 | ($11 & 4032 | ($3 << 12 & 258048 | $0 << 18))) >>> 0 > $6 >>> 0) { + break label$4; + } + $10 = $0 << 8; + $0 = $3 << 2; + HEAP16[$7 >> 1] = ($8 >>> 4 & 3 | ($10 | $0 & 192 | $0 & 60)) + 16320 | 55296; + HEAP32[$5 >> 2] = $7 + 2; + HEAP16[$7 + 2 >> 1] = $11 & 960 | $9 | 56320; + $0 = HEAP32[$2 >> 2] + 4 | 0; + } + HEAP32[$2 >> 2] = $0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 2; + continue; + } + break; + } + $10 = $1 >>> 0 > $3 >>> 0; + } + return $10; } - } while (0); - return i1 | 0; -} - -function _merged_2v_upsample(i5, i6, i11, i1, i7, i12, i2) { - i5 = i5 | 0; - i6 = i6 | 0; - i11 = i11 | 0; - i1 = i1 | 0; - i7 = i7 | 0; - i12 = i12 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i8 = 0, i9 = 0, i10 = 0, i13 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i10; - i8 = HEAP32[i5 + 452 >> 2] | 0; - i9 = i8 + 36 | 0; - if (!(HEAP32[i9 >> 2] | 0)) { - i1 = i8 + 44 | 0; - i13 = HEAP32[i1 >> 2] | 0; - i13 = i13 >>> 0 < 2 ? i13 : 2; - i3 = HEAP32[i12 >> 2] | 0; - i2 = i2 - i3 | 0; - i2 = i13 >>> 0 > i2 >>> 0 ? i2 : i13; - HEAP32[i4 >> 2] = HEAP32[i7 + (i3 << 2) >> 2]; - if (i2 >>> 0 > 1) HEAP32[i4 + 4 >> 2] = HEAP32[i7 + (i3 + 1 << 2) >> 2]; else { - HEAP32[i4 + 4 >> 2] = HEAP32[i8 + 32 >> 2]; - HEAP32[i9 >> 2] = 1; - } - FUNCTION_TABLE_viiii[HEAP32[i8 + 12 >> 2] & 31](i5, i6, HEAP32[i11 >> 2] | 0, i4); - } else { - _jcopy_sample_rows(i8 + 32 | 0, 0, i7 + (HEAP32[i12 >> 2] << 2) | 0, 0, 1, HEAP32[i8 + 40 >> 2] | 0); - HEAP32[i9 >> 2] = 0; - i2 = 1; - i1 = i8 + 44 | 0; - } - HEAP32[i12 >> 2] = (HEAP32[i12 >> 2] | 0) + i2; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) - i2; - if (!(HEAP32[i9 >> 2] | 0)) HEAP32[i11 >> 2] = (HEAP32[i11 >> 2] | 0) + 1; - STACKTOP = i10; - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE6rehashEm(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i5 = 0; - if ((i1 | 0) != 1) { - if (i1 + -1 & i1) i1 = __ZNSt3__212__next_primeEm(i1) | 0; - } else i1 = 2; - i3 = HEAP32[i4 + 4 >> 2] | 0; - if (i1 >>> 0 <= i3 >>> 0) { - if (i1 >>> 0 < i3 >>> 0) { - i2 = ~~+Math_ceil(+(+((HEAP32[i4 + 12 >> 2] | 0) >>> 0) / +HEAPF32[i4 + 16 >> 2])) >>> 0; - if (i3 >>> 0 > 2 & (i3 + -1 & i3 | 0) == 0) { - i5 = 1 << 32 - (Math_clz32(i2 + -1 | 0) | 0); - i2 = i2 >>> 0 < 2 ? i2 : i5; - } else i2 = __ZNSt3__212__next_primeEm(i2) | 0; - i1 = i1 >>> 0 < i2 >>> 0 ? i2 : i1; - if (i1 >>> 0 < i3 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE8__rehashEm(i4, i1); - } - } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE8__rehashEm(i4, i1); - return; -} - -function _jpeg_CreateDecompress(i3, i1, i2) { - i3 = i3 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - var i4 = 0, i5 = 0; - HEAP32[i3 + 4 >> 2] = 0; - if ((i1 | 0) != 62) { - i4 = HEAP32[i3 >> 2] | 0; - HEAP32[i4 + 20 >> 2] = 12; - HEAP32[i4 + 24 >> 2] = 62; - HEAP32[(HEAP32[i3 >> 2] | 0) + 28 >> 2] = i1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 255](i3); - } - if ((i2 | 0) == 464) i1 = i3; else { - i1 = HEAP32[i3 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 21; - HEAP32[i1 + 24 >> 2] = 464; - HEAP32[(HEAP32[i3 >> 2] | 0) + 28 >> 2] = i2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 255](i3); - i1 = i3; - } - i5 = HEAP32[i3 >> 2] | 0; - i4 = i3 + 12 | 0; - i2 = HEAP32[i4 >> 2] | 0; - _memset(i3 + 4 | 0, 0, 460) | 0; - HEAP32[i3 >> 2] = i5; - HEAP32[i4 >> 2] = i2; - HEAP32[i3 + 16 >> 2] = 1; - _jinit_memory_mgr(i1); - HEAP32[i3 + 8 >> 2] = 0; - HEAP32[i3 + 24 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - HEAP32[i3 + 164 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; + return 1; } - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - HEAP32[i3 + 180 + (i1 << 2) >> 2] = 0; - HEAP32[i3 + 196 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i3 + 304 >> 2] = 0; - _jinit_marker_reader(i3); - _jinit_input_controller(i3); - HEAP32[i3 + 20 >> 2] = 200; - return; -} - -function __ZN6vision24OrthogonalizeIdentity8x9IfEET_PS1_PKS1_i(i4, i2, i3) { - i4 = i4 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var d1 = 0.0, d5 = 0.0, i6 = 0; - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_(i4, i2, -+HEAPF32[i2 + (i3 << 2) >> 2]); - i6 = i4 + (i3 << 2) | 0; - HEAPF32[i6 >> 2] = +HEAPF32[i6 >> 2] + 1.0; - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_(i4, i2 + 36 | 0, -+HEAPF32[i2 + (i3 + 9 << 2) >> 2]); - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_(i4, i2 + 72 | 0, -+HEAPF32[i2 + (i3 + 18 << 2) >> 2]); - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_(i4, i2 + 108 | 0, -+HEAPF32[i2 + (i3 + 27 << 2) >> 2]); - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_(i4, i2 + 144 | 0, -+HEAPF32[i2 + (i3 + 36 << 2) >> 2]); - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_(i4, i2 + 180 | 0, -+HEAPF32[i2 + (i3 + 45 << 2) >> 2]); - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_(i4, i2 + 216 | 0, -+HEAPF32[i2 + (i3 + 54 << 2) >> 2]); - __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_(i4, i2 + 252 | 0, -+HEAPF32[i2 + (i3 + 63 << 2) >> 2]); - d5 = +__ZN6vision11SumSquares9IfEET_PKS1_(i4); - d1 = +Math_sqrt(+d5); - if (d5 == 0.0) d1 = 0.0; else __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_(i4, i4, 1.0 / d1); - return +d1; -} - -function __ZNKSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPK2tmcc(i3, i7, i1, i2, i4, i5, i6) { - i3 = i3 | 0; - i7 = i7 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 416 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(416); - i1 = i8; - i2 = i8 + 400 | 0; - HEAP32[i2 >> 2] = i1 + 400; - __ZNKSt3__210__time_put8__do_putEPwRS1_PK2tmcc(i3 + 8 | 0, i1, i2, i4, i5, i6); - i6 = HEAP32[i2 >> 2] | 0; - i5 = i1; - i1 = HEAP32[i7 >> 2] | 0; - while (1) { - if ((i5 | 0) == (i6 | 0)) break; - i2 = HEAP32[i5 >> 2] | 0; - if (!i1) i1 = 0; else { - i3 = i1 + 24 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i1 + 28 >> 2] | 0)) { - i7 = HEAP32[(HEAP32[i1 >> 2] | 0) + 52 >> 2] | 0; - i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(i2) | 0; - i2 = FUNCTION_TABLE_iii[i7 & 63](i1, i2) | 0; - } else { - HEAP32[i3 >> 2] = i4 + 4; - HEAP32[i4 >> 2] = i2; - i2 = __ZNSt3__211char_traitsIwE11to_int_typeEw(i2) | 0; - } - i7 = __ZNSt3__211char_traitsIwE11eq_int_typeEjj(i2, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0; - i1 = i7 ? 0 : i1; - } - i5 = i5 + 4 | 0; - } - STACKTOP = i8; - return i1 | 0; -} - -function _post_process_2pass(i6, i1, i2, i3, i7, i8, i9) { - i6 = i6 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i4 = 0, i5 = 0, i10 = 0, i11 = 0; - i2 = HEAP32[i6 + 432 >> 2] | 0; - i5 = i2 + 24 | 0; - i1 = HEAP32[i5 >> 2] | 0; - if (!i1) { - i4 = i2 + 20 | 0; - i3 = i2 + 16 | 0; - i10 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[i6 + 4 >> 2] | 0) + 28 >> 2] & 31](i6, HEAP32[i2 + 8 >> 2] | 0, HEAP32[i4 >> 2] | 0, HEAP32[i3 >> 2] | 0, 0) | 0; - HEAP32[i2 + 12 >> 2] = i10; - i1 = HEAP32[i5 >> 2] | 0; - i2 = i10; - } else { - i4 = i2 + 20 | 0; - i3 = i2 + 16 | 0; - i2 = HEAP32[i2 + 12 >> 2] | 0; - } - i10 = (HEAP32[i3 >> 2] | 0) - i1 | 0; - i11 = HEAP32[i8 >> 2] | 0; - i9 = i9 - i11 | 0; - i10 = i10 >>> 0 > i9 >>> 0 ? i9 : i10; - i9 = (HEAP32[i6 + 116 >> 2] | 0) - (HEAP32[i4 >> 2] | 0) | 0; - i10 = i10 >>> 0 > i9 >>> 0 ? i9 : i10; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i6 + 460 >> 2] | 0) + 4 >> 2] & 31](i6, i2 + (i1 << 2) | 0, i7 + (i11 << 2) | 0, i10); - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i10; - i10 = (HEAP32[i5 >> 2] | 0) + i10 | 0; - HEAP32[i5 >> 2] = i10; - i1 = HEAP32[i3 >> 2] | 0; - if (i10 >>> 0 >= i1 >>> 0) { - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + i1; - HEAP32[i5 >> 2] = 0; - } - return; -} - -function _xt_by_x(i10, i1) { - i10 = i10 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, d9 = 0.0, i11 = 0, i12 = 0, d13 = 0.0; - i11 = HEAP32[i10 + 4 >> 2] | 0; - i12 = HEAP32[i10 + 8 >> 2] | 0; - L1 : do if ((HEAP32[i1 + 4 >> 2] | 0) == (i12 | 0) ? (HEAP32[i1 + 8 >> 2] | 0) == (i12 | 0) : 0) { - i8 = HEAP32[i1 >> 2] | 0; - i3 = 0; - i5 = i8; - while (1) { - if ((i3 | 0) >= (i12 | 0)) { - i1 = 0; - break L1; + return 2; +} + +function $28anonymous_20namespace_29__itanium_demangle__BinaryExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $2 = __stack_pointer - 128 | 0; + __stack_pointer = $2; + $6 = $0 + 12 | 0; + if ($28anonymous_20namespace_29__itanium_demangle__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_20const__29($6, $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 120 | 0, 37108))) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 112 | 0, 37973); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 56 >> 2] = $4; + HEAP32[$2 + 60 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 56 | 0); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 104 | 0, 37973); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 48 >> 2] = $5; + HEAP32[$2 + 52 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 48 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 96 | 0, 38433); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 40 >> 2] = $4; + HEAP32[$2 + 44 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 40 | 0); + $3 = $0; + $5 = HEAP32[$3 + 12 >> 2]; + $4 = HEAP32[$3 + 16 >> 2]; + HEAP32[$2 + 32 >> 2] = $5; + HEAP32[$2 + 36 >> 2] = $4; + HEAP32[$2 + 88 >> 2] = $5; + HEAP32[$2 + 92 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 32 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 80 | 0, 37972); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 24 >> 2] = $4; + HEAP32[$2 + 28 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 24 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 20 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 72 | 0, 37866); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $5; + HEAP32[$2 + 20 >> 2] = $4; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + if ($28anonymous_20namespace_29__itanium_demangle__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_20const__29($6, $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 120 | 0, 37108))) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 - -64 | 0, 37866); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 8 | 0); + } + __stack_pointer = $2 + 128 | 0; +} + +function extractVisibleFeaturesHomography($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = Math_fround(0), $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = Math_fround(0), $16 = Math_fround(0), $17 = Math_fround(0); + $6 = __stack_pointer - 80 | 0; + __stack_pointer = $6; + $16 = Math_fround($1 | 0); + $17 = Math_fround($0 | 0); + label$1: { + label$2: while (1) { + label$3: { + $8 = 0; + if (HEAP32[$3 + 4 >> 2] <= ($10 | 0)) { + break label$3; + } + while (1) { + $1 = 0; + if (($8 | 0) == 3) { + $13 = Math_imul($10, 112); + $0 = HEAP32[($13 + HEAP32[$3 >> 2] | 0) + 4 >> 2]; + $11 = 0; + while (1) { + if (HEAP32[$0 + 4 >> 2] > ($11 | 0)) { + $1 = 0; + while (1) { + $8 = Math_imul($11, 20); + $9 = $8 + HEAP32[$0 >> 2] | 0; + if (HEAP32[$9 + 4 >> 2] > ($1 | 0)) { + $0 = HEAP32[$9 >> 2]; + $9 = Math_imul($1, 20); + $0 = $0 + $9 | 0; + label$10: { + if ((ar2MarkerCoord2ScreenCoord2(0, $6 + 32 | 0, HEAPF32[$0 + 8 >> 2], HEAPF32[$0 + 12 >> 2], $6 + 28 | 0, $6 + 24 | 0) | 0) < 0) { + break label$10; + } + $7 = HEAPF32[$6 + 28 >> 2]; + if ($7 < Math_fround(0) | $7 >= $17) { + break label$10; + } + $7 = HEAPF32[$6 + 24 >> 2]; + if ($7 < Math_fround(0) | $7 >= $16) { + break label$10; + } + $0 = HEAP32[HEAP32[HEAP32[(HEAP32[$3 >> 2] + $13 | 0) + 4 >> 2] >> 2] + $8 >> 2] + $9 | 0; + HEAPF32[$6 + 16 >> 2] = HEAPF32[$0 + 8 >> 2]; + HEAPF32[$6 + 20 >> 2] = HEAPF32[$0 + 12 >> 2]; + ar2GetResolution(0, $6 + 32 | 0, $6 + 16 | 0, $6 + 8 | 0); + $7 = HEAPF32[$6 + 12 >> 2]; + $0 = HEAP32[HEAP32[(HEAP32[$3 >> 2] + $13 | 0) + 4 >> 2] >> 2] + $8 | 0; + $15 = HEAPF32[$0 + 12 >> 2]; + if (!(!($7 <= $15) | !(HEAPF32[$0 + 16 >> 2] <= $7))) { + if (($14 | 0) == 200) { + arLog(0, 3, 1540, 0); + $1 = $4 + 4812 | 0; + break label$1; + } + $0 = Math_imul($14, 24) + $4 | 0; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = $11; + HEAP32[$0 >> 2] = $10; + HEAPF32[$0 + 16 >> 2] = HEAPF32[$6 + 28 >> 2]; + $7 = HEAPF32[$6 + 24 >> 2]; + HEAP32[$0 + 12 >> 2] = 0; + HEAPF32[$0 + 20 >> 2] = $7; + $14 = $14 + 1 | 0; + break label$10; + } + if (!(Math_fround($15 + $15) >= $7) | !(Math_fround(HEAPF32[$0 + 16 >> 2] * Math_fround(.5)) <= $7)) { + break label$10; + } + if (($12 | 0) == 200) { + HEAP32[$5 + 4812 >> 2] = -1; + $12 = 200; + break label$10; + } + $0 = Math_imul($12, 24) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = $11; + HEAP32[$0 >> 2] = $10; + HEAPF32[$0 + 16 >> 2] = HEAPF32[$6 + 28 >> 2]; + $7 = HEAPF32[$6 + 24 >> 2]; + HEAP32[$0 + 12 >> 2] = 0; + HEAPF32[$0 + 20 >> 2] = $7; + $12 = $12 + 1 | 0; + } + $1 = $1 + 1 | 0; + $0 = HEAP32[(HEAP32[$3 >> 2] + $13 | 0) + 4 >> 2]; + continue; + } + break; + } + $11 = $11 + 1 | 0; + continue; + } + break; + } + $10 = $10 + 1 | 0; + continue label$2; + } else { + while (1) { + if (($1 | 0) != 4) { + $9 = $1 << 2; + $0 = $8 << 4; + HEAPF32[$9 + ($0 + ($6 + 32 | 0) | 0) >> 2] = HEAPF32[((Math_imul($10, 48) + $2 | 0) + $0 | 0) + $9 >> 2]; + $1 = $1 + 1 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + } } - i2 = 0; - i7 = i5; - while (1) { - if ((i2 | 0) == (i12 | 0)) break; - L10 : do if (i2 >>> 0 < i3 >>> 0) { - i6 = i8 + ((Math_imul(i2, i12) | 0) + i3 << 3) | 0; - HEAPF64[i7 >> 3] = +HEAPF64[i6 >> 3]; - } else { - i6 = HEAP32[i10 >> 2] | 0; - HEAPF64[i7 >> 3] = 0.0; - i1 = 0; - i4 = i6 + (i3 << 3) | 0; - i6 = i6 + (i2 << 3) | 0; - d9 = 0.0; - while (1) { - if ((i1 | 0) >= (i11 | 0)) break L10; - d13 = d9 + +HEAPF64[i4 >> 3] * +HEAPF64[i6 >> 3]; - HEAPF64[i7 >> 3] = d13; - i1 = i1 + 1 | 0; - i4 = i4 + (i12 << 3) | 0; - i6 = i6 + (i12 << 3) | 0; - d9 = d13; - } - } while (0); - i2 = i2 + 1 | 0; - i7 = i7 + 8 | 0; - } - i3 = i3 + 1 | 0; - i5 = i5 + (i12 << 3) | 0; - } - } else i1 = -1; while (0); - return i1 | 0; -} - -function __ZNKSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPK2tmcc(i3, i7, i1, i2, i4, i5, i6) { - i3 = i3 | 0; - i7 = i7 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 112 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(112); - i1 = i8; - i2 = i8 + 100 | 0; - HEAP32[i2 >> 2] = i1 + 100; - __ZNKSt3__210__time_put8__do_putEPcRS1_PK2tmcc(i3 + 8 | 0, i1, i2, i4, i5, i6); - i6 = HEAP32[i2 >> 2] | 0; - i5 = i1; - i1 = HEAP32[i7 >> 2] | 0; - while (1) { - if ((i5 | 0) == (i6 | 0)) break; - i2 = HEAP8[i5 >> 0] | 0; - if (!i1) i1 = 0; else { - i3 = i1 + 24 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (HEAP32[i1 + 28 >> 2] | 0)) { - i7 = HEAP32[(HEAP32[i1 >> 2] | 0) + 52 >> 2] | 0; - i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(i2) | 0; - i2 = FUNCTION_TABLE_iii[i7 & 63](i1, i2) | 0; - } else { - HEAP32[i3 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i2; - i2 = __ZNSt3__211char_traitsIcE11to_int_typeEc(i2) | 0; - } - i7 = __ZNSt3__211char_traitsIcE11eq_int_typeEii(i2, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0; - i1 = i7 ? 0 : i1; - } - i5 = i5 + 1 | 0; - } - STACKTOP = i8; - return i1 | 0; -} - -function __ZNSt3__26vectorItNS_9allocatorItEEE8__appendEm(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i8; - i6 = i3 + 8 | 0; - i7 = i3 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - do if ((HEAP32[i6 >> 2] | 0) - i1 >> 1 >>> 0 < i4 >>> 0) { - i1 = (i1 - (HEAP32[i3 >> 2] | 0) >> 1) + i4 | 0; - i2 = __ZNKSt3__26vectorItNS_9allocatorItEEE8max_sizeEv(i3) | 0; - if (i2 >>> 0 < i1 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i3); else { - i9 = HEAP32[i3 >> 2] | 0; - i6 = (HEAP32[i6 >> 2] | 0) - i9 | 0; - __ZNSt3__214__split_bufferItRNS_9allocatorItEEEC2EmmS3_(i5, i6 >> 1 >>> 0 < i2 >>> 1 >>> 0 ? (i6 >>> 0 < i1 >>> 0 ? i1 : i6) : i2, (HEAP32[i7 >> 2] | 0) - i9 >> 1, i3 + 8 | 0); - __ZNSt3__214__split_bufferItRNS_9allocatorItEEE18__construct_at_endEm(i5, i4); - __ZNSt3__26vectorItNS_9allocatorItEEE26__swap_out_circular_bufferERNS_14__split_bufferItRS2_EE(i3, i5); - __ZNSt3__214__split_bufferItRNS_9allocatorItEEED2Ev(i5); break; } - } else __ZNSt3__26vectorItNS_9allocatorItEEE18__construct_at_endEm(i3, i4); while (0); - STACKTOP = i8; - return; -} - -function _jinit_d_main_controller(i7, i1) { - i7 = i7 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = i7 + 4 | 0; - i2 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i8 >> 2] >> 2] & 63](i7, 1, 80) | 0; - HEAP32[i7 + 424 >> 2] = i2; - HEAP32[i2 >> 2] = 45; - if (i1 | 0) { - i6 = HEAP32[i7 >> 2] | 0; - HEAP32[i6 + 20 >> 2] = 4; - FUNCTION_TABLE_vi[HEAP32[i6 >> 2] & 255](i7); - } - i6 = i7 + 316 | 0; - i1 = HEAP32[i6 >> 2] | 0; - if (HEAP32[(HEAP32[i7 + 452 >> 2] | 0) + 8 >> 2] | 0) { - if ((i1 | 0) < 2) { - i5 = HEAP32[i7 >> 2] | 0; - HEAP32[i5 + 20 >> 2] = 47; - FUNCTION_TABLE_vi[HEAP32[i5 >> 2] & 255](i7); - } - _alloc_funny_pointers(i7); - i1 = (HEAP32[i6 >> 2] | 0) + 2 | 0; - } - i5 = i7 + 36 | 0; - i4 = i2 + 8 | 0; - i2 = HEAP32[i7 + 216 >> 2] | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (HEAP32[i5 >> 2] | 0)) break; - i10 = HEAP32[i2 + 36 >> 2] | 0; - i9 = Math_imul(i10, HEAP32[i2 + 12 >> 2] | 0) | 0; - i10 = Math_imul(HEAP32[i2 + 28 >> 2] | 0, i10) | 0; - i9 = Math_imul((i9 | 0) / (HEAP32[i6 >> 2] | 0) | 0, i1) | 0; - i9 = FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i8 >> 2] | 0) + 8 >> 2] & 15](i7, 1, i10, i9) | 0; - HEAP32[i4 + (i3 << 2) >> 2] = i9; - i2 = i2 + 84 | 0; - i3 = i3 + 1 | 0; - } - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6rehashEm(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i5 = 0; - if ((i1 | 0) != 1) { - if (i1 + -1 & i1) i1 = __ZNSt3__212__next_primeEm(i1) | 0; - } else i1 = 2; - i3 = HEAP32[i4 + 4 >> 2] | 0; - if (i1 >>> 0 <= i3 >>> 0) { - if (i1 >>> 0 < i3 >>> 0) { - i2 = ~~+Math_ceil(+(+((HEAP32[i4 + 12 >> 2] | 0) >>> 0) / +HEAPF32[i4 + 16 >> 2])) >>> 0; - if (i3 >>> 0 > 2 & (i3 + -1 & i3 | 0) == 0) { - i5 = 1 << 32 - (Math_clz32(i2 + -1 | 0) | 0); - i2 = i2 >>> 0 < 2 ? i2 : i5; - } else i2 = __ZNSt3__212__next_primeEm(i2) | 0; - i1 = i1 >>> 0 < i2 >>> 0 ? i2 : i1; - if (i1 >>> 0 < i3 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm(i4, i1); - } - } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm(i4, i1); - return; -} - -function _jpeg_huff_decode(i7, i1, i2, i8, i4) { - i7 = i7 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i8 = i8 | 0; - i4 = i4 | 0; - var i3 = 0, i5 = 0, i6 = 0; - if ((i2 | 0) < (i4 | 0)) if (!(_jpeg_fill_bit_buffer(i7, i1, i2, i4) | 0)) i1 = -1; else { - i6 = i7 + 8 | 0; - i5 = i7 + 12 | 0; - i1 = HEAP32[i6 >> 2] | 0; - i2 = HEAP32[i5 >> 2] | 0; - i3 = 5; - } else { - i5 = i7 + 12 | 0; - i6 = i7 + 8 | 0; - i3 = 5; + HEAP32[(Math_imul($14, 24) + $4 | 0) + 12 >> 2] = -1; + $1 = (Math_imul($12, 24) + $5 | 0) + 12 | 0; } - L5 : do if ((i3 | 0) == 5) { - i2 = i2 - i4 | 0; - i3 = i1 >> i2 & (1 << i4) + -1; + HEAP32[$1 >> 2] = -1; + __stack_pointer = $6 + 80 | 0; +} + +function consume_data($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $8 = __stack_pointer - 16 | 0; + __stack_pointer = $8; + $4 = HEAP32[$0 + 452 >> 2]; + if (HEAP32[$0 + 340 >> 2] > 0) { while (1) { - if ((i3 | 0) <= (HEAP32[i8 + (i4 << 2) >> 2] | 0)) break; - i3 = i3 << 1; - if ((i2 | 0) < 1) { - if (!(_jpeg_fill_bit_buffer(i7, i1, i2, 1) | 0)) { - i1 = -1; - break L5; - } - i1 = HEAP32[i6 >> 2] | 0; - i2 = HEAP32[i5 >> 2] | 0; - } - i2 = i2 + -1 | 0; - i3 = i1 >>> i2 & 1 | i3; - i4 = i4 + 1 | 0; - } - HEAP32[i6 >> 2] = i1; - HEAP32[i5 >> 2] = i2; - if ((i4 | 0) > 16) { - i1 = HEAP32[i7 + 16 >> 2] | 0; - i8 = HEAP32[i1 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 118; - FUNCTION_TABLE_vii[HEAP32[i8 + 4 >> 2] & 63](i1, -1); - i1 = 0; - break; - } else { - i1 = HEAPU8[(HEAP32[i8 + 72 + (i4 << 2) >> 2] | 0) + i3 + ((HEAP32[i8 + 140 >> 2] | 0) + 17) >> 0] | 0; + $2 = $1 << 2; + $3 = $8 + $2 | 0; + $2 = HEAP32[($0 + $2 | 0) + 344 >> 2]; + $5 = HEAP32[((HEAP32[$2 + 4 >> 2] << 2) + $4 | 0) + 72 >> 2]; + $2 = HEAP32[$2 + 12 >> 2]; + wasm2js_i32$0 = $3, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 32 >> 2]]($0, $5, Math_imul($2, HEAP32[$0 + 148 >> 2]), $2, 1) | 0, + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $1 = $1 + 1 | 0; + if (($1 | 0) < HEAP32[$0 + 340 >> 2]) { + continue; + } break; } - } while (0); - return i1 | 0; -} - -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE3putEc(i6, i1) { - i6 = i6 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i8; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_(i7, i6); - do if (HEAP8[i7 >> 0] | 0) { - i2 = HEAP32[i6 + (HEAP32[(HEAP32[i6 >> 2] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0; - i3 = i2; - if (i2 | 0) { - i4 = i3 + 24 | 0; - i5 = HEAP32[i4 >> 2] | 0; - if ((i5 | 0) == (HEAP32[i3 + 28 >> 2] | 0)) { - i5 = HEAP32[(HEAP32[i2 >> 2] | 0) + 52 >> 2] | 0; - i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(i1) | 0; - i1 = FUNCTION_TABLE_iii[i5 & 63](i3, i1) | 0; - } else { - HEAP32[i4 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = i1; - i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(i1) | 0; - } - if (!(__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0)) break; - } - i5 = i6 + (HEAP32[(HEAP32[i6 >> 2] | 0) + -12 >> 2] | 0) | 0; - __ZNSt3__28ios_base5clearEj(i5, HEAP32[i5 + 16 >> 2] | 1); - } while (0); - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev(i7); - STACKTOP = i8; - return i6 | 0; -} - -function __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS8_EE(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i4 = HEAP32[i2 >> 2] | 0; - i5 = i2 + 4 | 0; - i6 = i3 + 4 | 0; - i1 = HEAP32[i5 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i10 = HEAP32[i6 >> 2] | 0; - i8 = i10 + -12 | 0; - i7 = i1 + -12 | 0; - HEAP32[i8 >> 2] = 0; - i9 = i10 + -8 | 0; - HEAP32[i9 >> 2] = 0; - i10 = i10 + -4 | 0; - HEAP32[i10 >> 2] = 0; - HEAP32[i8 >> 2] = HEAP32[i7 >> 2]; - i8 = i1 + -8 | 0; - HEAP32[i9 >> 2] = HEAP32[i8 >> 2]; - i9 = i1 + -4 | 0; - HEAP32[i10 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i9 >> 2] = 0; - HEAP32[i8 >> 2] = 0; - HEAP32[i7 >> 2] = 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + -12; - i1 = i7; - } - i8 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i6 >> 2] = i8; - i8 = i3 + 8 | 0; - i10 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i8 >> 2] = i10; - i8 = i2 + 8 | 0; - i10 = i3 + 12 | 0; - i9 = HEAP32[i8 >> 2] | 0; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i10 >> 2] = i9; - HEAP32[i3 >> 2] = HEAP32[i6 >> 2]; - return; -} - -function _memchr(i1, i5, i2) { - i1 = i1 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i6 = 0, i7 = 0; - i6 = i5 & 255; - i3 = (i2 | 0) != 0; - L1 : do if (i3 & (i1 & 3 | 0) != 0) { - i4 = i5 & 255; - while (1) { - if ((HEAP8[i1 >> 0] | 0) == i4 << 24 >> 24) { - i7 = 6; - break L1; - } - i1 = i1 + 1 | 0; - i2 = i2 + -1 | 0; - i3 = (i2 | 0) != 0; - if (!(i3 & (i1 & 3 | 0) != 0)) { - i7 = 5; + } + $2 = HEAP32[$4 + 28 >> 2]; + $6 = HEAP32[$4 + 24 >> 2]; + label$3: { + if (($2 | 0) > ($6 | 0)) { + $15 = $4 + 32 | 0; + $1 = HEAP32[$0 + 360 >> 2]; + $5 = HEAP32[$4 + 20 >> 2]; + while (1) { + if ($1 >>> 0 > $5 >>> 0) { + while (1) { + $9 = 0; + $2 = 0; + $12 = HEAP32[$0 + 340 >> 2]; + if (($12 | 0) > 0) { + while (1) { + $1 = $9 << 2; + $3 = HEAP32[($1 + $0 | 0) + 344 >> 2]; + $13 = HEAP32[$3 + 60 >> 2]; + if (($13 | 0) > 0) { + $7 = HEAP32[$3 + 56 >> 2]; + $16 = Math_imul($7, $5); + $17 = $7 & -4; + $14 = $7 & 3; + $18 = $7 - 1 | 0; + $19 = HEAP32[$1 + $8 >> 2]; + $10 = 0; + while (1) { + label$12: { + if (($7 | 0) <= 0) { + break label$12; + } + $1 = HEAP32[($6 + $10 << 2) + $19 >> 2] + ($16 << 7) | 0; + $11 = 0; + if ($18 >>> 0 >= 3) { + while (1) { + $3 = ($2 << 2) + $4 | 0; + HEAP32[$3 + 36 >> 2] = $1 + 128; + HEAP32[$3 + 32 >> 2] = $1; + HEAP32[$3 + 40 >> 2] = $1 + 256; + HEAP32[$3 + 44 >> 2] = $1 + 384; + $2 = $2 + 4 | 0; + $1 = $1 + 512 | 0; + $11 = $11 + 4 | 0; + if (($17 | 0) != ($11 | 0)) { + continue; + } + break; + } + } + $3 = 0; + if (!$14) { + break label$12; + } + while (1) { + HEAP32[(($2 << 2) + $4 | 0) + 32 >> 2] = $1; + $2 = $2 + 1 | 0; + $1 = $1 + 128 | 0; + $3 = $3 + 1 | 0; + if (($14 | 0) != ($3 | 0)) { + continue; + } + break; + } + } + $10 = $10 + 1 | 0; + if (($13 | 0) != ($10 | 0)) { + continue; + } + break; + } + } + $9 = $9 + 1 | 0; + if (($12 | 0) != ($9 | 0)) { + continue; + } + break; + } + } + if (!(FUNCTION_TABLE[HEAP32[HEAP32[$0 + 468 >> 2] + 4 >> 2]]($0, $15) | 0)) { + HEAP32[$4 + 20 >> 2] = $5; + HEAP32[$4 + 24 >> 2] = $6; + $1 = 0; + break label$3; + } + $1 = HEAP32[$0 + 360 >> 2]; + $5 = $5 + 1 | 0; + if ($1 >>> 0 > $5 >>> 0) { + continue; + } + break; + } + $2 = HEAP32[$4 + 28 >> 2]; + } + $5 = 0; + HEAP32[$4 + 20 >> 2] = 0; + $6 = $6 + 1 | 0; + if (($6 | 0) < ($2 | 0)) { + continue; + } break; } } - } else i7 = 5; while (0); - if ((i7 | 0) == 5) if (i3) i7 = 6; else i7 = 16; - L8 : do if ((i7 | 0) == 6) { - i4 = i5 & 255; - if ((HEAP8[i1 >> 0] | 0) == i4 << 24 >> 24) if (!i2) { - i7 = 16; - break; - } else break; - i3 = Math_imul(i6, 16843009) | 0; - L13 : do if (i2 >>> 0 > 3) while (1) { - i6 = HEAP32[i1 >> 2] ^ i3; - if ((i6 & -2139062144 ^ -2139062144) & i6 + -16843009 | 0) break L13; - i1 = i1 + 4 | 0; - i2 = i2 + -4 | 0; - if (i2 >>> 0 <= 3) { - i7 = 11; - break; + $2 = 1; + $1 = HEAP32[$0 + 148 >> 2] + 1 | 0; + HEAP32[$0 + 148 >> 2] = $1; + $4 = HEAP32[$0 + 332 >> 2]; + if ($4 >>> 0 > $1 >>> 0) { + $3 = HEAP32[$0 + 452 >> 2]; + $2 = HEAP32[$0 + 340 >> 2] <= 1 ? HEAP32[HEAP32[$0 + 344 >> 2] + ($4 - 1 >>> 0 > $1 >>> 0 ? 12 : 76) >> 2] : $2; + HEAP32[$3 + 20 >> 2] = 0; + HEAP32[$3 + 24 >> 2] = 0; + HEAP32[$3 + 28 >> 2] = $2; + $1 = 3; + break label$3; + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 460 >> 2] + 12 >> 2]]($0); + $1 = 4; + } + __stack_pointer = $8 + 16 | 0; + return $1 | 0; +} + +function ar2ReadImageSetOld($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + label$1: { + label$2: { + label$3: { + $6 = dlmalloc(8); + if ($6) { + label$5: { + $3 = $6 + 4 | 0; + if ((fread($3, 4, 1, $0) | 0) == 1) { + $5 = HEAP32[$6 + 4 >> 2]; + if (($5 | 0) > 0) { + break label$5; + } + } + arLog(0, 3, 4514, 0); + break label$3; + } + $3 = dlmalloc($5 << 2); + HEAP32[$6 >> 2] = $3; + if ($3) { + $7 = 1; + while (1) { + if (($1 | 0) == ($5 | 0)) { + $1 = 0; + while (1) { + if (($1 | 0) == ($5 | 0)) { + break label$2; + } + label$11: { + label$12: { + $2 = ($1 << 2) + $3 | 0; + if ((fread(HEAP32[$2 >> 2] + 4 | 0, 4, 1, $0) | 0) != 1) { + $2 = 0; + while (1) if (($1 | 0) == ($2 | 0)) { + $1 = 0; + while (1) { + if (($1 | 0) == ($5 | 0)) { + break label$12; + } + dlfree(HEAP32[($1 << 2) + $3 >> 2]); + $1 = $1 + 1 | 0; + continue; + } + } else { + dlfree(HEAP32[HEAP32[($2 << 2) + $3 >> 2] >> 2]); + $2 = $2 + 1 | 0; + continue; + } + } + if ((fread(HEAP32[$2 >> 2] + 8 | 0, 4, 1, $0) | 0) != 1) { + $2 = 0; + while (1) if (($1 | 0) == ($2 | 0)) { + $1 = 0; + while (1) { + if (($1 | 0) == ($5 | 0)) { + break label$12; + } + dlfree(HEAP32[($1 << 2) + $3 >> 2]); + $1 = $1 + 1 | 0; + continue; + } + } else { + dlfree(HEAP32[HEAP32[($2 << 2) + $3 >> 2] >> 2]); + $2 = $2 + 1 | 0; + continue; + } + } + if ((fread(HEAP32[$2 >> 2] + 12 | 0, 4, 1, $0) | 0) != 1) { + $2 = 0; + while (1) if (($1 | 0) == ($2 | 0)) { + $1 = 0; + while (1) { + if (($1 | 0) == ($5 | 0)) { + break label$12; + } + dlfree(HEAP32[($1 << 2) + $3 >> 2]); + $1 = $1 + 1 | 0; + continue; + } + } else { + dlfree(HEAP32[HEAP32[($2 << 2) + $3 >> 2] >> 2]); + $2 = $2 + 1 | 0; + continue; + } + } + $4 = HEAP32[$2 >> 2]; + $8 = dlmalloc(Math_imul(HEAP32[$4 + 8 >> 2], HEAP32[$4 + 4 >> 2])); + HEAP32[$4 >> 2] = $8; + if ($8) { + $4 = HEAP32[$2 >> 2]; + $4 = fread(HEAP32[$4 >> 2], 1, Math_imul(HEAP32[$4 + 8 >> 2], HEAP32[$4 + 4 >> 2]), $0); + $2 = HEAP32[$2 >> 2]; + if (($4 | 0) == (Math_imul(HEAP32[$2 + 8 >> 2], HEAP32[$2 + 4 >> 2]) | 0)) { + break label$11; + } + $1 = 0; + while (1) if (($1 | 0) == ($7 | 0)) { + $1 = 0; + while (1) { + if (($1 | 0) == ($5 | 0)) { + break label$12; + } + dlfree(HEAP32[($1 << 2) + $3 >> 2]); + $1 = $1 + 1 | 0; + continue; + } + } else { + dlfree(HEAP32[HEAP32[($1 << 2) + $3 >> 2] >> 2]); + $1 = $1 + 1 | 0; + continue; + } + } + break label$1; + } + dlfree($3); + break label$3; + } + $7 = $7 + 1 | 0; + $1 = $1 + 1 | 0; + continue; + } + } + $2 = dlmalloc(16); + HEAP32[($1 << 2) + $3 >> 2] = $2; + $1 = $1 + 1 | 0; + if ($2) { + continue; + } + break; + } + break label$1; + } + break label$1; + } + break label$1; } - } else i7 = 11; while (0); - if ((i7 | 0) == 11) if (!i2) { - i7 = 16; - break; + dlfree($6); + $6 = 0; } - while (1) { - if ((HEAP8[i1 >> 0] | 0) == i4 << 24 >> 24) break L8; - i2 = i2 + -1 | 0; - if (!i2) { - i7 = 16; - break; - } else i1 = i1 + 1 | 0; - } - } while (0); - if ((i7 | 0) == 16) i1 = 0; - return i1 | 0; -} - -function __ZL18genBWImageOneThirdPhiiPiS0_(i9, i10, i1, i2, i3) { - i9 = i9 | 0; - i10 = i10 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i11 = (i10 | 0) / 3 | 0; - HEAP32[i2 >> 2] = i11; - i8 = (i1 | 0) / 3 | 0; - HEAP32[i3 >> 2] = i8; - i7 = _malloc(Math_imul(i8, i11) | 0) | 0; - if (!i7) { - _arLog(0, 3, 20454, i12); - _exit(1); - } - i2 = 0; - i1 = i7; + fclose($0); + return $6; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); +} + +function vision__FindHoughSimilarity_28vision__HoughSimilarityVoting__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20int_2c_20int_2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0, $9 = 0, $10 = 0, $11 = Math_fround(0), $12 = Math_fround(0), $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0; + $9 = __stack_pointer - 48 | 0; + __stack_pointer = $9; + $15 = std____2__vector_float_2c_20std____2__allocator_float____vector_28unsigned_20long_29($9 + 32 | 0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($3) << 2); + $16 = std____2__vector_float_2c_20std____2__allocator_float____vector_28unsigned_20long_29($9 + 16 | 0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($3) << 2); while (1) { - if ((i2 | 0) >= (i8 | 0)) break; - i6 = i2 * 3 | 0; - i3 = 0; - i4 = i9 + (Math_imul(i6, i10) | 0) | 0; - i5 = i9 + (Math_imul(i6 + 2 | 0, i10) | 0) | 0; - i6 = i9 + (Math_imul(i6 + 1 | 0, i10) | 0) | 0; - while (1) { - if ((i3 | 0) >= (i11 | 0)) break; - HEAP8[i1 >> 0] = ((HEAPU8[i4 + 1 >> 0] | 0) + (HEAPU8[i4 >> 0] | 0) + (HEAPU8[i4 + 2 >> 0] | 0) + (HEAPU8[i6 >> 0] | 0) + (HEAPU8[i6 + 1 >> 0] | 0) + (HEAPU8[i6 + 2 >> 0] | 0) + (HEAPU8[i5 >> 0] | 0) + (HEAPU8[i5 + 1 >> 0] | 0) + (HEAPU8[i5 + 2 >> 0] | 0) | 0) / 9 | 0; - i3 = i3 + 1 | 0; - i4 = i4 + 3 | 0; - i5 = i5 + 3 | 0; - i6 = i6 + 3 | 0; - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - STACKTOP = i12; - return i7 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6rehashEm(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i5 = 0; - if ((i1 | 0) != 1) { - if (i1 + -1 & i1) i1 = __ZNSt3__212__next_primeEm(i1) | 0; - } else i1 = 2; - i3 = HEAP32[i4 + 4 >> 2] | 0; - if (i1 >>> 0 <= i3 >>> 0) { - if (i1 >>> 0 < i3 >>> 0) { - i2 = ~~+Math_ceil(+(+((HEAP32[i4 + 12 >> 2] | 0) >>> 0) / +HEAPF32[i4 + 16 >> 2])) >>> 0; - if (i3 >>> 0 > 2 & (i3 + -1 & i3 | 0) == 0) { - i5 = 1 << 32 - (Math_clz32(i2 + -1 | 0) | 0); - i2 = i2 >>> 0 < 2 ? i2 : i5; - } else i2 = __ZNSt3__212__next_primeEm(i2) | 0; - i1 = i1 >>> 0 < i2 >>> 0 ? i2 : i1; - if (i1 >>> 0 < i3 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm(i4, i1); - } - } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE8__rehashEm(i4, i1); - return; -} - -function _strspn(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i5; - HEAP32[i3 >> 2] = 0; - HEAP32[i3 + 4 >> 2] = 0; - HEAP32[i3 + 8 >> 2] = 0; - HEAP32[i3 + 12 >> 2] = 0; - HEAP32[i3 + 16 >> 2] = 0; - HEAP32[i3 + 20 >> 2] = 0; - HEAP32[i3 + 24 >> 2] = 0; - HEAP32[i3 + 28 >> 2] = 0; - i2 = HEAP8[i1 >> 0] | 0; - do if (!(i2 << 24 >> 24)) i1 = 0; else { - if (!(HEAP8[i1 + 1 >> 0] | 0)) { - i1 = i4; - while (1) if ((HEAP8[i1 >> 0] | 0) == i2 << 24 >> 24) i1 = i1 + 1 | 0; else break; - i1 = i1 - i4 | 0; - break; + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($3) >>> 0 <= $10 >>> 0) { + $11 = Math_fround($4 | 0); + $11 = Math_fround(Math_fround($11 * Math_fround(.20000000298023224)) + $11); + $12 = Math_fround($5 | 0); + $12 = Math_fround(Math_fround($12 * Math_fround(.20000000298023224)) + $12); + vision__HoughSimilarityVoting__init_28float_2c_20float_2c_20float_2c_20float_2c_20int_2c_20int_2c_20int_2c_20int_29($0, Math_fround(-$11), $11, Math_fround(-$12), $12, 0, 0, 12, 10); + vision__HoughSimilarityVoting__setObjectCenterInReference_28float_2c_20float_29($0, Math_fround($6 >> 1), Math_fround($7 >> 1)); + vision__HoughSimilarityVoting__setRefImageDimensions_28int_2c_20int_29($0, $6, $7); + vision__HoughSimilarityVoting__vote_28float_20const__2c_20float_20const__2c_20int_29($0, std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($15, 0), std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($16, 0), std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($3)); + vision__HoughSimilarityVoting__getMaximumNumberOfVotes_28float__2c_20int__29_20const($0, $9 + 12 | 0, $9 + 8 | 0); + $10 = HEAP32[$9 + 8 >> 2]; + $11 = HEAPF32[$9 + 12 >> 2]; + std____2__vector_float_2c_20std____2__allocator_float_____vector_28_29($16); + std____2__vector_float_2c_20std____2__allocator_float_____vector_28_29($15); + __stack_pointer = $9 + 48 | 0; + $0 = $11 < Math_fround(3) ? -1 : $10; + } else { + $8 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($1, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($3, $10) >> 2]); + $13 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($2, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($3, $10) + 4 >> 2]); + $17 = $10 << 2; + $14 = std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($15, $17); + HEAPF32[$14 >> 2] = HEAPF32[$8 >> 2]; + HEAPF32[$14 + 4 >> 2] = HEAPF32[$8 + 4 >> 2]; + HEAPF32[$14 + 8 >> 2] = HEAPF32[$8 + 8 >> 2]; + HEAPF32[$14 + 12 >> 2] = HEAPF32[$8 + 12 >> 2]; + $8 = std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($16, $17); + HEAPF32[$8 >> 2] = HEAPF32[$13 >> 2]; + HEAPF32[$8 + 4 >> 2] = HEAPF32[$13 + 4 >> 2]; + HEAPF32[$8 + 8 >> 2] = HEAPF32[$13 + 8 >> 2]; + HEAPF32[$8 + 12 >> 2] = HEAPF32[$13 + 12 >> 2]; + $10 = $10 + 1 | 0; + continue; } - do { - i7 = i2 & 255; - i6 = i3 + (i7 >>> 5 << 2) | 0; - HEAP32[i6 >> 2] = HEAP32[i6 >> 2] | 1 << (i7 & 31); - i1 = i1 + 1 | 0; - i2 = HEAP8[i1 >> 0] | 0; - } while (i2 << 24 >> 24 != 0); - i2 = HEAP8[i4 >> 0] | 0; - L12 : do if (!(i2 << 24 >> 24)) i1 = i4; else { - i1 = i4; - do { - i7 = i2 & 255; - if (!(HEAP32[i3 + (i7 >>> 5 << 2) >> 2] & 1 << (i7 & 31))) break L12; - i1 = i1 + 1 | 0; - i2 = HEAP8[i1 >> 0] | 0; - } while (i2 << 24 >> 24 != 0); - } while (0); - i1 = i1 - i4 | 0; - } while (0); - STACKTOP = i5; - return i1 | 0; -} - -function __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS6_EE(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i4 = HEAP32[i2 >> 2] | 0; - i5 = i2 + 4 | 0; - i6 = i3 + 4 | 0; - i1 = HEAP32[i5 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i10 = HEAP32[i6 >> 2] | 0; - i8 = i10 + -12 | 0; - i7 = i1 + -12 | 0; - HEAP32[i8 >> 2] = 0; - i9 = i10 + -8 | 0; - HEAP32[i9 >> 2] = 0; - i10 = i10 + -4 | 0; - HEAP32[i10 >> 2] = 0; - HEAP32[i8 >> 2] = HEAP32[i7 >> 2]; - i8 = i1 + -8 | 0; - HEAP32[i9 >> 2] = HEAP32[i8 >> 2]; - i9 = i1 + -4 | 0; - HEAP32[i10 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i9 >> 2] = 0; - HEAP32[i8 >> 2] = 0; - HEAP32[i7 >> 2] = 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + -12; - i1 = i7; - } - i8 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i6 >> 2] = i8; - i8 = i3 + 8 | 0; - i10 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i8 >> 2] = i10; - i8 = i2 + 8 | 0; - i10 = i3 + 12 | 0; - i9 = HEAP32[i8 >> 2] | 0; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i10 >> 2] = i9; - HEAP32[i3 >> 2] = HEAP32[i6 >> 2]; - return; -} - -function _post_process_prepass(i8, i5, i6, i7, i1, i9, i2) { - i8 = i8 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i1 = i1 | 0; - i9 = i9 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i10 = 0, i11 = 0; - i10 = HEAP32[i8 + 432 >> 2] | 0; - i11 = i10 + 24 | 0; - i1 = HEAP32[i11 >> 2] | 0; - if (!i1) { - i4 = i10 + 16 | 0; - i2 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[i8 + 4 >> 2] | 0) + 28 >> 2] & 31](i8, HEAP32[i10 + 8 >> 2] | 0, HEAP32[i10 + 20 >> 2] | 0, HEAP32[i4 >> 2] | 0, 1) | 0; - i3 = i10 + 12 | 0; - HEAP32[i3 >> 2] = i2; - i1 = HEAP32[i11 >> 2] | 0; - } else { - i2 = i10 + 12 | 0; - i4 = i10 + 16 | 0; - i3 = i2; - i2 = HEAP32[i2 >> 2] | 0; - } - FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[i8 + 452 >> 2] | 0) + 4 >> 2] & 7](i8, i5, i6, i7, i2, i11, HEAP32[i4 >> 2] | 0); - i2 = HEAP32[i11 >> 2] | 0; - if (i2 >>> 0 > i1 >>> 0) { - i2 = i2 - i1 | 0; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i8 + 460 >> 2] | 0) + 4 >> 2] & 31](i8, (HEAP32[i3 >> 2] | 0) + (i1 << 2) | 0, 0, i2); - HEAP32[i9 >> 2] = (HEAP32[i9 >> 2] | 0) + i2; - i2 = HEAP32[i11 >> 2] | 0; - } - i1 = HEAP32[i4 >> 2] | 0; - if (i2 >>> 0 >= i1 >>> 0) { - i10 = i10 + 20 | 0; - HEAP32[i10 >> 2] = (HEAP32[i10 >> 2] | 0) + i1; - HEAP32[i11 >> 2] = 0; - } - return; -} - -function __ZN6vision27OrthogonalizePivot8x9Basis5IfEEbPT_S2_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, i8 = 0, i9 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i5; - i3 = i1 + 180 | 0; - i9 = i1 + 144 | 0; - i4 = i2 + 180 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i3, i9, i4); - i8 = i1 + 216 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i8, i9, i2 + 216 | 0); - i1 = i1 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i1, i9, i2 + 252 | 0); - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i3); - HEAPF32[i6 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i8); - HEAPF32[i6 + 4 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i1); - HEAPF32[i6 + 8 >> 2] = d7; - i1 = __ZN6vision9MaxIndex3IfEEiPKT_(i6) | 0; - i2 = i6 + (i1 << 2) | 0; - if (+HEAPF32[i2 >> 2] == 0.0) i1 = 0; else { - i1 = i1 * 9 | 0; - __ZN6vision5Swap9IfEEvPT_S2_(i3, i3 + (i1 << 2) | 0); - __ZN6vision5Swap9IfEEvPT_S2_(i4, i4 + (i1 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_(i3, i3, 1.0 / +Math_sqrt(+(+HEAPF32[i2 >> 2]))); - i1 = 1; - } - STACKTOP = i5; - return i1 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE6rehashEm(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i5 = 0; - if ((i1 | 0) != 1) { - if (i1 + -1 & i1) i1 = __ZNSt3__212__next_primeEm(i1) | 0; - } else i1 = 2; - i3 = HEAP32[i4 + 4 >> 2] | 0; - if (i1 >>> 0 <= i3 >>> 0) { - if (i1 >>> 0 < i3 >>> 0) { - i2 = ~~+Math_ceil(+(+((HEAP32[i4 + 12 >> 2] | 0) >>> 0) / +HEAPF32[i4 + 16 >> 2])) >>> 0; - if (i3 >>> 0 > 2 & (i3 + -1 & i3 | 0) == 0) { - i5 = 1 << 32 - (Math_clz32(i2 + -1 | 0) | 0); - i2 = i2 >>> 0 < 2 ? i2 : i5; - } else i2 = __ZNSt3__212__next_primeEm(i2) | 0; - i1 = i1 >>> 0 < i2 >>> 0 ? i2 : i1; - if (i1 >>> 0 < i3 >>> 0) __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE8__rehashEm(i4, i1); - } - } else __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE8__rehashEm(i4, i1); - return; -} - -function _get_vertex(i4, i5, i8, i10, d11, i13, i14) { - i4 = i4 | 0; - i5 = i5 | 0; - i8 = i8 | 0; - i10 = i10 | 0; - d11 = +d11; - i13 = i13 | 0; - i14 = i14 | 0; - var i1 = 0, i2 = 0, d3 = 0.0, d6 = 0.0, d7 = 0.0, d9 = 0.0, i12 = 0, i15 = 0, i16 = 0, i17 = 0, d18 = 0.0; - i2 = HEAP32[i5 + (i10 << 2) >> 2] | 0; - i16 = HEAP32[i5 + (i8 << 2) >> 2] | 0; - d6 = +(i2 - i16 | 0); - i1 = HEAP32[i4 + (i8 << 2) >> 2] | 0; - i17 = HEAP32[i4 + (i10 << 2) >> 2] | 0; - d7 = +(i1 - i17 | 0); - d9 = +((Math_imul(i17, i16) | 0) - (Math_imul(i1, i2) | 0) | 0); - i2 = i8 + 1 | 0; - i1 = i2; - d3 = 0.0; - while (1) { - if ((i2 | 0) >= (i10 | 0)) break; - d18 = d6 * +(HEAP32[i4 + (i2 << 2) >> 2] | 0) + d7 * +(HEAP32[i5 + (i2 << 2) >> 2] | 0) + d9; - d18 = d18 * d18; - i17 = d18 > d3; - i1 = i17 ? i2 : i1; - i2 = i2 + 1 | 0; - d3 = i17 ? d18 : d3; - } - if (d3 / (d6 * d6 + d7 * d7) > d11) if (((_get_vertex(i4, i5, i8, i1, d11, i13, i14) | 0) >= 0 ? (i12 = HEAP32[i14 >> 2] | 0, (i12 | 0) <= 5) : 0) ? (HEAP32[i13 + (i12 << 2) >> 2] = i1, HEAP32[i14 >> 2] = (HEAP32[i14 >> 2] | 0) + 1, (_get_vertex(i4, i5, i1, i10, d11, i13, i14) | 0) >= 0) : 0) i15 = 8; else i1 = -1; else i15 = 8; - if ((i15 | 0) == 8) i1 = 0; - return i1 | 0; -} - -function _start_pass_1_quant(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0; - i3 = HEAP32[i2 + 460 >> 2] | 0; - HEAP32[i2 + 136 >> 2] = HEAP32[i3 + 16 >> 2]; - HEAP32[i2 + 132 >> 2] = HEAP32[i3 + 20 >> 2]; - L1 : do switch (HEAP32[i2 + 88 >> 2] | 0) { - case 0: - { - i1 = i3 + 4 | 0; - if ((HEAP32[i2 + 120 >> 2] | 0) == 3) { - HEAP32[i1 >> 2] = 24; - break L1; - } else { - HEAP32[i1 >> 2] = 25; - break L1; + break; + } + return $0; +} + +function __cxxabiv1____vmi_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0; + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], $4)) { + __cxxabiv1____class_type_info__process_static_type_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_29_20const($1, $1, $2, $3); + return; + } + label$2: { + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 >> 2], $4)) { + if (!(HEAP32[$1 + 16 >> 2] != ($2 | 0) & HEAP32[$1 + 20 >> 2] != ($2 | 0))) { + if (($3 | 0) != 1) { + break label$2; + } + HEAP32[$1 + 32 >> 2] = 1; + return; + } + HEAP32[$1 + 32 >> 2] = $3; + if (HEAP32[$1 + 44 >> 2] != 4) { + $5 = $0 + 16 | 0; + $3 = $5 + (HEAP32[$0 + 12 >> 2] << 3) | 0; + label$7: { + label$8: { + while (1) { + label$10: { + if ($3 >>> 0 <= $5 >>> 0) { + break label$10; + } + HEAP16[$1 + 52 >> 1] = 0; + __cxxabiv1____base_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($5, $1, $2, $2, 1, $4); + if (HEAPU8[$1 + 54 | 0]) { + break label$10; + } + label$11: { + if (!HEAPU8[$1 + 53 | 0]) { + break label$11; + } + if (HEAPU8[$1 + 52 | 0]) { + $6 = 1; + if (HEAP32[$1 + 24 >> 2] == 1) { + break label$8; + } + $7 = 1; + $8 = 1; + if (HEAPU8[$0 + 8 | 0] & 2) { + break label$11; + } + break label$8; + } + $7 = 1; + $6 = $8; + if (!(HEAP8[$0 + 8 | 0] & 1)) { + break label$8; + } + } + $5 = $5 + 8 | 0; + continue; + } + break; + } + $6 = $8; + $5 = 4; + if (!($7 & 1)) { + break label$7; + } + } + $5 = 3; + } + HEAP32[$1 + 44 >> 2] = $5; + if ($6 & 1) { + break label$2; + } } + HEAP32[$1 + 20 >> 2] = $2; + HEAP32[$1 + 40 >> 2] = HEAP32[$1 + 40 >> 2] + 1; + if (HEAP32[$1 + 36 >> 2] != 1 | HEAP32[$1 + 24 >> 2] != 2) { + break label$2; + } + HEAP8[$1 + 54 | 0] = 1; + return; } - case 1: - { - HEAP32[i3 + 4 >> 2] = (HEAP32[i2 + 120 >> 2] | 0) == 3 ? 27 : 26; - HEAP32[i3 + 48 >> 2] = 0; - if (!(HEAP32[i3 + 28 >> 2] | 0)) _create_colorindex(i2); - if (!(HEAP32[i3 + 52 >> 2] | 0)) _create_odither_tables(i2); - break; + $6 = HEAP32[$0 + 12 >> 2]; + $7 = $0 + 16 | 0; + __cxxabiv1____base_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($7, $1, $2, $3, $4); + $5 = $0 + 24 | 0; + $6 = ($6 << 3) + $7 | 0; + if ($5 >>> 0 >= $6 >>> 0) { + break label$2; } - case 2: - { - HEAP32[i3 + 4 >> 2] = 28; - HEAP32[i3 + 84 >> 2] = 0; - if (!(HEAP32[i3 + 68 >> 2] | 0)) _alloc_fs_workspace(i2); - i4 = (HEAP32[i2 + 112 >> 2] << 1) + 4 | 0; - i2 = i2 + 120 | 0; - i1 = 0; + $0 = HEAP32[$0 + 8 >> 2]; + if (!(!($0 & 2) & HEAP32[$1 + 36 >> 2] != 1)) { while (1) { - if ((i1 | 0) >= (HEAP32[i2 >> 2] | 0)) break L1; - _jzero_far(HEAP32[i3 + 68 + (i1 << 2) >> 2] | 0, i4); - i1 = i1 + 1 | 0; + if (HEAPU8[$1 + 54 | 0]) { + break label$2; + } + __cxxabiv1____base_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($5, $1, $2, $3, $4); + $5 = $5 + 8 | 0; + if ($6 >>> 0 > $5 >>> 0) { + continue; + } + break; } + break label$2; } - default: - { - i4 = HEAP32[i2 >> 2] | 0; - HEAP32[i4 + 20 >> 2] = 48; - FUNCTION_TABLE_vi[HEAP32[i4 >> 2] & 255](i2); - } - } while (0); - return; -} - -function ___stpncpy(i2, i3, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i1 = i1 | 0; - var i4 = 0, i5 = 0, i6 = 0; - i5 = i3; - L1 : do if (!((i5 ^ i2) & 3)) { - i4 = (i1 | 0) != 0; - if (i4 & (i5 & 3 | 0) != 0) do { - i5 = HEAP8[i3 >> 0] | 0; - HEAP8[i2 >> 0] = i5; - if (!(i5 << 24 >> 24)) break L1; - i1 = i1 + -1 | 0; - i3 = i3 + 1 | 0; - i2 = i2 + 1 | 0; - i4 = (i1 | 0) != 0; - } while (i4 & (i3 & 3 | 0) != 0); - if (i4) { - if (HEAP8[i3 >> 0] | 0) { - L11 : do if (i1 >>> 0 > 3) { - i4 = i3; - while (1) { - i3 = HEAP32[i4 >> 2] | 0; - if ((i3 & -2139062144 ^ -2139062144) & i3 + -16843009 | 0) { - i3 = i4; - break L11; - } - HEAP32[i2 >> 2] = i3; - i1 = i1 + -4 | 0; - i3 = i4 + 4 | 0; - i2 = i2 + 4 | 0; - if (i1 >>> 0 > 3) i4 = i3; else break; - } - } while (0); - i6 = 13; - } - } else i1 = 0; - } else i6 = 13; while (0); - L17 : do if ((i6 | 0) == 13) if (!i1) i1 = 0; else while (1) { - i6 = HEAP8[i3 >> 0] | 0; - HEAP8[i2 >> 0] = i6; - if (!(i6 << 24 >> 24)) break L17; - i1 = i1 + -1 | 0; - i2 = i2 + 1 | 0; - if (!i1) { - i1 = 0; - break; - } else i3 = i3 + 1 | 0; - } while (0); - _memset(i2 | 0, 0, i1 | 0) | 0; - return i2 | 0; -} - -function _setup(i1, i2, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i8 + 8 | 0; - i5 = i8 + 12 | 0; - i6 = HEAP32[14055] | 0; - HEAP32[14055] = i6 + 1; - HEAP32[i5 >> 2] = i6; - i6 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i5) | 0; - HEAP32[i6 >> 2] = HEAP32[i5 >> 2]; - HEAP32[i6 + 208 >> 2] = i1; - HEAP32[i6 + 212 >> 2] = i2; - i9 = Math_imul(i1 << 2, i2) | 0; - i1 = i6 + 200 | 0; - HEAP32[i1 >> 2] = i9; - i9 = _malloc(i9) | 0; - i2 = i6 + 196 | 0; - HEAP32[i2 >> 2] = i9; - i9 = _malloc((HEAP32[i1 >> 2] | 0) / 4 | 0) | 0; - i3 = i6 + 204 | 0; - HEAP32[i3 >> 2] = i9; - i9 = _arPattCreateHandle() | 0; - HEAP32[i6 + 220 >> 2] = i9; - if (!i9) _arLog(0, 3, 44395, i8); - _setCamera(HEAP32[i5 >> 2] | 0, i4) | 0; - HEAP32[i7 >> 2] = HEAP32[i1 >> 2]; - _arLog(0, 1, 44432, i7); - _emscripten_asm_const_iiiiiii(0, HEAP32[i6 >> 2] | 0, HEAP32[i2 >> 2] | 0, HEAP32[i1 >> 2] | 0, i6 + 296 | 0, 51552, HEAP32[i3 >> 2] | 0) | 0; - STACKTOP = i8; - return HEAP32[i6 >> 2] | 0; -} - -function _quantize_ord_dither(i1, i15, i16, i17) { - i1 = i1 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - i17 = i17 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i18 = 0, i19 = 0; - i18 = HEAP32[i1 + 460 >> 2] | 0; - i19 = HEAP32[i1 + 120 >> 2] | 0; - i14 = HEAP32[i1 + 112 >> 2] | 0; - i7 = i18 + 48 | 0; - i8 = i18 + 24 | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i17 | 0)) break; - i9 = i16 + (i3 << 2) | 0; - _jzero_far(HEAP32[i9 >> 2] | 0, i14); - i10 = HEAP32[i7 >> 2] | 0; - i11 = i15 + (i3 << 2) | 0; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i19 | 0)) break; - i12 = HEAP32[(HEAP32[i8 >> 2] | 0) + (i4 << 2) >> 2] | 0; - i13 = HEAP32[i18 + 52 + (i4 << 2) >> 2] | 0; - i1 = (HEAP32[i11 >> 2] | 0) + i4 | 0; - i2 = i14; - i5 = HEAP32[i9 >> 2] | 0; - i6 = 0; + if (!($0 & 1)) { while (1) { - if (!i2) break; - HEAP8[i5 >> 0] = (HEAPU8[i5 >> 0] | 0) + (HEAPU8[i12 + ((HEAP32[i13 + (i10 << 6) + (i6 << 2) >> 2] | 0) + (HEAPU8[i1 >> 0] | 0)) >> 0] | 0); - i1 = i1 + i19 | 0; - i2 = i2 + -1 | 0; - i5 = i5 + 1 | 0; - i6 = i6 + 1 & 15; - } - i4 = i4 + 1 | 0; - } - HEAP32[i7 >> 2] = i10 + 1 & 15; - i3 = i3 + 1 | 0; - } - return; -} - -function __ZN6vision5Swap9IfEEvPT_S2_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0; - i6 = HEAP32[i1 >> 2] | 0; - i5 = i1 + 4 | 0; - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - i3 = i2 + 4 | 0; - HEAP32[i2 >> 2] = i6; - i6 = HEAP32[i5 >> 2] | 0; - i4 = i1 + 8 | 0; - HEAP32[i5 >> 2] = HEAP32[i3 >> 2]; - i5 = i2 + 8 | 0; - HEAP32[i3 >> 2] = i6; - i3 = HEAP32[i4 >> 2] | 0; - i6 = i1 + 12 | 0; - HEAP32[i4 >> 2] = HEAP32[i5 >> 2]; - i4 = i2 + 12 | 0; - HEAP32[i5 >> 2] = i3; - i5 = HEAP32[i6 >> 2] | 0; - i3 = i1 + 16 | 0; - HEAP32[i6 >> 2] = HEAP32[i4 >> 2]; - i6 = i2 + 16 | 0; - HEAP32[i4 >> 2] = i5; - i4 = HEAP32[i3 >> 2] | 0; - i5 = i1 + 20 | 0; - HEAP32[i3 >> 2] = HEAP32[i6 >> 2]; - i3 = i2 + 20 | 0; - HEAP32[i6 >> 2] = i4; - i6 = HEAP32[i5 >> 2] | 0; - i4 = i1 + 24 | 0; - HEAP32[i5 >> 2] = HEAP32[i3 >> 2]; - i5 = i2 + 24 | 0; - HEAP32[i3 >> 2] = i6; - i3 = HEAP32[i4 >> 2] | 0; - i6 = i1 + 28 | 0; - HEAP32[i4 >> 2] = HEAP32[i5 >> 2]; - i4 = i2 + 28 | 0; - HEAP32[i5 >> 2] = i3; - i5 = HEAP32[i6 >> 2] | 0; - i3 = i1 + 32 | 0; - HEAP32[i6 >> 2] = HEAP32[i4 >> 2]; - i2 = i2 + 32 | 0; - HEAP32[i4 >> 2] = i5; - i1 = HEAP32[i3 >> 2] | 0; - HEAP32[i3 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = i1; - return; -} - -function _h2v1_fancy_upsample(i2, i3, i13, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i13 = i13 | 0; - i1 = i1 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i14 = 0, i15 = 0; - i12 = HEAP32[i1 >> 2] | 0; - i11 = i2 + 312 | 0; - i8 = i3 + 40 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i11 >> 2] | 0)) break; - i9 = HEAP32[i13 + (i1 << 2) >> 2] | 0; - i6 = HEAP32[i12 + (i1 << 2) >> 2] | 0; - i4 = i9 + 1 | 0; - i2 = HEAP8[i9 >> 0] | 0; - HEAP8[i6 >> 0] = i2; - HEAP8[i6 + 1 >> 0] = (((i2 & 255) * 3 | 0) + 2 + (HEAPU8[i4 >> 0] | 0) | 0) >>> 2; - i2 = HEAP32[i8 >> 2] | 0; - i9 = i9 + -1 + i2 | 0; - i7 = i2 << 1; - i10 = i6 + -2 | 0; - i2 = i2 + -2 | 0; - i5 = i6; - while (1) { - i3 = i5 + 2 | 0; - if (!i2) break; - i14 = i4 + 1 | 0; - i15 = (HEAPU8[i4 >> 0] | 0) * 3 | 0; - HEAP8[i3 >> 0] = ((HEAPU8[i4 + -1 >> 0] | 0) + 1 + i15 | 0) >>> 2; - HEAP8[i5 + 3 >> 0] = (i15 + 2 + (HEAPU8[i14 >> 0] | 0) | 0) >>> 2; - i2 = i2 + -1 | 0; - i4 = i14; - i5 = i3; - } - i15 = HEAP8[i9 >> 0] | 0; - HEAP8[i10 + i7 >> 0] = ((HEAPU8[i9 + -1 >> 0] | 0) + 1 + ((i15 & 255) * 3 | 0) | 0) >>> 2; - HEAP8[i6 + -4 + i7 + 3 >> 0] = i15; - i1 = i1 + 1 | 0; - } - return; -} - -function _jpeg_finish_decompress(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0; - i1 = i3 + 20 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if ((i2 + -205 | 0) >>> 0 < 2 ? (HEAP32[i3 + 64 >> 2] | 0) == 0 : 0) { - if ((HEAP32[i3 + 140 >> 2] | 0) >>> 0 < (HEAP32[i3 + 116 >> 2] | 0) >>> 0) { - i2 = HEAP32[i3 >> 2] | 0; - HEAP32[i2 + 20 >> 2] = 67; - FUNCTION_TABLE_vi[HEAP32[i2 >> 2] & 255](i3); - } - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i3 + 420 >> 2] | 0) + 4 >> 2] & 255](i3); - HEAP32[i1 >> 2] = 210; - } else i4 = 6; - L7 : do if ((i4 | 0) == 6) switch (i2 | 0) { - case 210: - break L7; - case 207: - { - HEAP32[i1 >> 2] = 210; - break L7; - } - default: - { - i1 = HEAP32[i3 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 20; - HEAP32[i1 + 24 >> 2] = i2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 255](i3); - break L7; - } - } while (0); - i1 = i3 + 436 | 0; - while (1) { - i2 = HEAP32[i1 >> 2] | 0; - if (HEAP32[i2 + 20 >> 2] | 0) { - i4 = 12; - break; - } - if (!(FUNCTION_TABLE_ii[HEAP32[i2 >> 2] & 127](i3) | 0)) { - i1 = 0; - break; - } - } - if ((i4 | 0) == 12) { - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i3 + 24 >> 2] | 0) + 24 >> 2] & 255](i3); - _jpeg_abort(i3); - i1 = 1; - } - return i1 | 0; -} - -function _icpGetMat_from_Q(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var d3 = 0.0, d4 = 0.0, d5 = 0.0, i6 = 0, i7 = 0, d8 = 0.0; - d3 = +HEAPF64[i2 + 24 >> 3]; - d5 = +Math_cos(+d3); - d4 = 1.0 - d5; - d3 = +Math_sin(+d3); - d8 = +HEAPF64[i2 >> 3]; - HEAPF64[i1 >> 3] = d5 + d8 * d8 * d4; - i7 = i2 + 8 | 0; - i6 = i2 + 16 | 0; - HEAPF64[i1 + 8 >> 3] = d4 * (+HEAPF64[i2 >> 3] * +HEAPF64[i7 >> 3]) - d3 * +HEAPF64[i6 >> 3]; - HEAPF64[i1 + 16 >> 3] = d4 * (+HEAPF64[i2 >> 3] * +HEAPF64[i6 >> 3]) + d3 * +HEAPF64[i7 >> 3]; - HEAPF64[i1 + 24 >> 3] = +HEAPF64[i2 + 32 >> 3]; - HEAPF64[i1 + 32 >> 3] = d4 * (+HEAPF64[i7 >> 3] * +HEAPF64[i2 >> 3]) + d3 * +HEAPF64[i6 >> 3]; - d8 = +HEAPF64[i7 >> 3]; - HEAPF64[i1 + 40 >> 3] = d5 + d4 * (d8 * d8); - HEAPF64[i1 + 48 >> 3] = d4 * (+HEAPF64[i7 >> 3] * +HEAPF64[i6 >> 3]) - d3 * +HEAPF64[i2 >> 3]; - HEAPF64[i1 + 56 >> 3] = +HEAPF64[i2 + 40 >> 3]; - HEAPF64[i1 + 64 >> 3] = d4 * (+HEAPF64[i6 >> 3] * +HEAPF64[i2 >> 3]) - d3 * +HEAPF64[i7 >> 3]; - HEAPF64[i1 + 72 >> 3] = d4 * (+HEAPF64[i6 >> 3] * +HEAPF64[i7 >> 3]) + d3 * +HEAPF64[i2 >> 3]; - d3 = +HEAPF64[i6 >> 3]; - HEAPF64[i1 + 80 >> 3] = d5 + d4 * (d3 * d3); - HEAPF64[i1 + 88 >> 3] = +HEAPF64[i2 + 48 >> 3]; - return; -} - -function _do_barray_io(i7, i8, i1) { - i7 = i7 | 0; - i8 = i8 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0; - i12 = HEAP32[i8 + 8 >> 2] << 7; - i13 = i8 + 24 | 0; - i14 = i8 + 20 | 0; - i9 = i8 + 16 | 0; - i10 = i8 + 28 | 0; - i11 = i8 + 4 | 0; - i4 = (i1 | 0) == 0; - i5 = i8 + 48 | 0; - i6 = i8 + 52 | 0; - i2 = 0; - i3 = Math_imul(HEAP32[i13 >> 2] | 0, i12) | 0; - while (1) { - i1 = HEAP32[i9 >> 2] | 0; - if ((i1 | 0) <= (i2 | 0)) break; - i15 = HEAP32[i14 >> 2] | 0; - i16 = i1 - i2 | 0; - i16 = (i15 | 0) < (i16 | 0) ? i15 : i16; - i1 = (HEAP32[i13 >> 2] | 0) + i2 | 0; - i15 = (HEAP32[i10 >> 2] | 0) - i1 | 0; - i15 = (i16 | 0) < (i15 | 0) ? i16 : i15; - i1 = (HEAP32[i11 >> 2] | 0) - i1 | 0; - i1 = (i15 | 0) < (i1 | 0) ? i15 : i1; - if ((i1 | 0) < 1) break; - i1 = Math_imul(i1, i12) | 0; - if (i4) FUNCTION_TABLE_viiiii[HEAP32[i5 >> 2] & 31](i7, i5, HEAP32[(HEAP32[i8 >> 2] | 0) + (i2 << 2) >> 2] | 0, i3, i1); else FUNCTION_TABLE_viiiii[HEAP32[i6 >> 2] & 31](i7, i5, HEAP32[(HEAP32[i8 >> 2] | 0) + (i2 << 2) >> 2] | 0, i3, i1); - i2 = (HEAP32[i14 >> 2] | 0) + i2 | 0; - i3 = i1 + i3 | 0; - } - return; -} - -function _do_sarray_io(i7, i8, i1) { - i7 = i7 | 0; - i8 = i8 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0; - i11 = HEAP32[i8 + 8 >> 2] | 0; - i12 = i8 + 24 | 0; - i13 = i8 + 20 | 0; - i14 = i8 + 16 | 0; - i9 = i8 + 28 | 0; - i10 = i8 + 4 | 0; - i4 = (i1 | 0) == 0; - i5 = i8 + 48 | 0; - i6 = i8 + 52 | 0; - i2 = 0; - i3 = Math_imul(HEAP32[i12 >> 2] | 0, i11) | 0; - while (1) { - i1 = HEAP32[i14 >> 2] | 0; - if ((i1 | 0) <= (i2 | 0)) break; - i15 = HEAP32[i13 >> 2] | 0; - i16 = i1 - i2 | 0; - i16 = (i15 | 0) < (i16 | 0) ? i15 : i16; - i1 = (HEAP32[i12 >> 2] | 0) + i2 | 0; - i15 = (HEAP32[i9 >> 2] | 0) - i1 | 0; - i15 = (i16 | 0) < (i15 | 0) ? i16 : i15; - i1 = (HEAP32[i10 >> 2] | 0) - i1 | 0; - i1 = (i15 | 0) < (i1 | 0) ? i15 : i1; - if ((i1 | 0) < 1) break; - i1 = Math_imul(i1, i11) | 0; - if (i4) FUNCTION_TABLE_viiiii[HEAP32[i5 >> 2] & 31](i7, i5, HEAP32[(HEAP32[i8 >> 2] | 0) + (i2 << 2) >> 2] | 0, i3, i1); else FUNCTION_TABLE_viiiii[HEAP32[i6 >> 2] & 31](i7, i5, HEAP32[(HEAP32[i8 >> 2] | 0) + (i2 << 2) >> 2] | 0, i3, i1); - i2 = (HEAP32[i13 >> 2] | 0) + i2 | 0; - i3 = i1 + i3 | 0; - } - return; -} - -function _set_wraparound_pointers(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0, i16 = 0; - i9 = HEAP32[i1 + 424 >> 2] | 0; - i12 = HEAP32[i1 + 316 >> 2] | 0; - i13 = HEAP32[i1 + 36 >> 2] | 0; - i14 = i9 + 56 | 0; - i9 = i9 + 60 | 0; - i10 = i12 + 1 | 0; - i11 = i12 + 2 | 0; - i8 = 0; - i2 = HEAP32[i1 + 216 >> 2] | 0; - while (1) { - if ((i8 | 0) >= (i13 | 0)) break; - i3 = (Math_imul(HEAP32[i2 + 36 >> 2] | 0, HEAP32[i2 + 12 >> 2] | 0) | 0) / (i12 | 0) | 0; - i4 = HEAP32[(HEAP32[i14 >> 2] | 0) + (i8 << 2) >> 2] | 0; - i5 = HEAP32[(HEAP32[i9 >> 2] | 0) + (i8 << 2) >> 2] | 0; - i6 = Math_imul(i3, i10) | 0; - i7 = Math_imul(i3, i11) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i3 | 0)) break; - i16 = i1 + i6 | 0; - i15 = i1 - i3 | 0; - HEAP32[i4 + (i15 << 2) >> 2] = HEAP32[i4 + (i16 << 2) >> 2]; - HEAP32[i5 + (i15 << 2) >> 2] = HEAP32[i5 + (i16 << 2) >> 2]; - i15 = i1 + i7 | 0; - HEAP32[i4 + (i15 << 2) >> 2] = HEAP32[i4 + (i1 << 2) >> 2]; - HEAP32[i5 + (i15 << 2) >> 2] = HEAP32[i5 + (i1 << 2) >> 2]; - i1 = i1 + 1 | 0; - } - i8 = i8 + 1 | 0; - i2 = i2 + 84 | 0; - } - return; -} - -function _start_pass_dpost(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0; - i3 = HEAP32[i2 + 432 >> 2] | 0; - L1 : do switch (i1 | 0) { - case 0: - { - if (!(HEAP32[i2 + 84 >> 2] | 0)) { - HEAP32[i3 + 4 >> 2] = HEAP32[(HEAP32[i2 + 452 >> 2] | 0) + 4 >> 2]; - break L1; - } - HEAP32[i3 + 4 >> 2] = 4; - i1 = i3 + 12 | 0; - if (!(HEAP32[i1 >> 2] | 0)) { - i2 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[i2 + 4 >> 2] | 0) + 28 >> 2] & 31](i2, HEAP32[i3 + 8 >> 2] | 0, 0, HEAP32[i3 + 16 >> 2] | 0, 1) | 0; - HEAP32[i1 >> 2] = i2; + if (HEAPU8[$1 + 54 | 0] | HEAP32[$1 + 36 >> 2] == 1) { + break label$2; + } + __cxxabiv1____base_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($5, $1, $2, $3, $4); + $5 = $5 + 8 | 0; + if ($6 >>> 0 > $5 >>> 0) { + continue; + } + break label$2; } - break; } - case 3: - { - if (!(HEAP32[i3 + 8 >> 2] | 0)) { - i1 = HEAP32[i2 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 4; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i2); + while (1) { + if (HEAPU8[$1 + 54 | 0] | HEAP32[$1 + 36 >> 2] == 1 & HEAP32[$1 + 24 >> 2] == 1) { + break label$2; } - HEAP32[i3 + 4 >> 2] = 5; - break; - } - case 2: - { - if (!(HEAP32[i3 + 8 >> 2] | 0)) { - i1 = HEAP32[i2 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 4; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i2); + __cxxabiv1____base_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($5, $1, $2, $3, $4); + $5 = $5 + 8 | 0; + if ($6 >>> 0 > $5 >>> 0) { + continue; } - HEAP32[i3 + 4 >> 2] = 6; break; } - default: - { - i1 = HEAP32[i2 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 4; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i2); - } - } while (0); - HEAP32[i3 + 24 >> 2] = 0; - HEAP32[i3 + 20 >> 2] = 0; - return; -} - -function _icpUpdateMat(i7, i1) { - i7 = i7 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - i5 = i9 + 192 | 0; - i6 = i9 + 96 | 0; - i8 = i9; - _icpGetQ_from_S(i5, i1); - _icpGetMat_from_Q(i6, i5); - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - i3 = i7 + (i1 << 5) | 0; - i4 = i7 + (i1 << 5) + 8 | 0; - i5 = i7 + (i1 << 5) + 16 | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i8 + (i1 << 5) + (i2 << 3) >> 3] = +HEAPF64[i3 >> 3] * +HEAPF64[i6 + (i2 << 3) >> 3] + +HEAPF64[i4 >> 3] * +HEAPF64[i6 + 32 + (i2 << 3) >> 3] + +HEAPF64[i5 >> 3] * +HEAPF64[i6 + 64 + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; - } - i5 = i8 + (i1 << 5) + 24 | 0; - HEAPF64[i5 >> 3] = +HEAPF64[i7 + (i1 << 5) + 24 >> 3] + +HEAPF64[i5 >> 3]; - i1 = i1 + 1 | 0; - } - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i7 + (i1 << 5) + (i2 << 3) >> 3] = +HEAPF64[i8 + (i1 << 5) + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; - } - i1 = i1 + 1 | 0; } - STACKTOP = i9; - return 0; } -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9push_backEc(i5, i1) { - i5 = i5 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i8; - i7 = i8 + 1 | 0; - HEAP8[i6 >> 0] = i1; - i4 = i5 + 11 | 0; - i1 = HEAP8[i4 >> 0] | 0; - i2 = i1 << 24 >> 24 < 0; - if (i2) { - i3 = HEAP32[i5 + 4 >> 2] | 0; - i1 = (HEAP32[i5 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - i3 = i1 & 255; - i1 = 10; - } - if ((i3 | 0) == (i1 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9__grow_byEmmmmmm(i5, i1, 1, i1, i1, 0); - if ((HEAP8[i4 >> 0] | 0) < 0) i2 = 8; else i2 = 7; - } else if (i2) i2 = 8; else i2 = 7; - if ((i2 | 0) == 7) { - HEAP8[i4 >> 0] = i3 + 1; - i1 = i5; - } else if ((i2 | 0) == 8) { - i1 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 + 4 >> 2] = i3 + 1; - } - i5 = i1 + i3 | 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5, i6); - HEAP8[i7 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5 + 1 | 0, i7); - STACKTOP = i8; - return; -} - -function _icpGetDeltaS(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i7 = i8 + 24 | 0; - i6 = i8 + 12 | 0; - i5 = i8; - HEAP32[i7 + 4 >> 2] = 6; - HEAP32[i7 + 8 >> 2] = 1; - HEAP32[i7 >> 2] = i1; - HEAP32[i6 + 4 >> 2] = i4; - HEAP32[i6 + 8 >> 2] = 1; - HEAP32[i6 >> 2] = i2; - HEAP32[i5 + 4 >> 2] = i4; - HEAP32[i5 + 8 >> 2] = 6; - HEAP32[i5 >> 2] = i3; - i3 = _arMatrixAllocTrans(i5) | 0; - do if (i3) { - i2 = _arMatrixAllocMul(i3, i5) | 0; - if (!i2) { - _arMatrixFree(i3) | 0; - i1 = -1; - break; - } - i1 = _arMatrixAllocMul(i3, i6) | 0; - if (!i1) { - _arMatrixFree(i3) | 0; - _arMatrixFree(i2) | 0; - i1 = -1; - break; - } - if ((_arMatrixSelfInv(i2) | 0) < 0) { - _arMatrixFree(i3) | 0; - _arMatrixFree(i2) | 0; - _arMatrixFree(i1) | 0; - i1 = -1; - break; - } else { - _arMatrixMul(i7, i2, i1) | 0; - _arMatrixFree(i3) | 0; - _arMatrixFree(i2) | 0; - _arMatrixFree(i1) | 0; - i1 = 0; - break; - } - } else i1 = -1; while (0); - STACKTOP = i8; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_118parse_block_invokeINS0_2DbEEEPKcS4_S4_RT_(i4, i3, i5) { - i4 = i4 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - var i1 = 0, i2 = 0; - L1 : do if ((i3 - i4 | 0) > 12) { - i2 = 0; - i1 = i4; - while (1) { - if (i2 >>> 0 >= 13) break; - if ((HEAP8[i1 >> 0] | 0) != (HEAP8[51300 + i2 >> 0] | 0)) { - i1 = i4; - break L1; +function vision__HoughSimilarityVoting__voteAtIndex_28int_2c_20unsigned_20int_29($0, $1, $2) { + var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + HEAP32[$3 + 24 >> 2] = $2; + HEAP32[$3 + 28 >> 2] = $1; + if (($1 | 0) >= 0) { + HEAP32[$3 + 8 >> 2] = $1; + $1 = $0 + 92 | 0; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____find_28unsigned_20int_20const__29($1, $3 + 8 | 0), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____end_28_29($1), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + label$2: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20const__29($3 + 16 | 0, $3 + 8 | 0)) { + std____2__pair_std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______2c_20bool__20std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____insert_std____2__pair_unsigned_20int_2c_20unsigned_20int__2c_20void__28std____2__pair_unsigned_20int_2c_20unsigned_20int____29($3, $1, std____2__pair_unsigned_20int_2c_20unsigned_20int___pair_int__2c_20unsigned_20int__2c_20_28void__290__28int__2c_20unsigned_20int__29($3 + 8 | 0, $3 + 28 | 0, $3 + 24 | 0)); + break label$2; } - i2 = i2 + 1 | 0; - i1 = i1 + 1 | 0; + $1 = std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($3 + 16 | 0); + HEAP32[$1 + 4 >> 2] = HEAP32[$1 + 4 >> 2] + $2; } - L8 : do if ((i1 | 0) == (i3 | 0)) i1 = i3; else { - if ((HEAP8[i1 >> 0] | 0) == 95) { - i2 = i1 + 1 | 0; - if ((i2 | 0) == (i3 | 0)) { - i1 = i4; - break L1; - } - if (((HEAP8[i2 >> 0] | 0) + -48 | 0) >>> 0 >= 10) { - i1 = i4; - break L1; - } - i1 = i1 + 2 | 0; - } - while (1) { - if ((i1 | 0) == (i3 | 0)) { - i1 = i3; - break L8; - } - if (((HEAP8[i1 >> 0] | 0) + -48 | 0) >>> 0 >= 10) break L8; - i1 = i1 + 1 | 0; - } - } while (0); - i2 = HEAP32[i5 + 4 >> 2] | 0; - if ((HEAP32[i5 >> 2] | 0) != (i2 | 0)) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i2 + -24 | 0, 0, 51314) | 0; else i1 = i4; - } else i1 = i4; while (0); - return i1 | 0; -} - -function _arMatrixMul(i1, i9, i11) { - i1 = i1 | 0; - i9 = i9 | 0; - i11 = i11 | 0; - var i2 = 0, i3 = 0, i4 = 0, d5 = 0.0, i6 = 0, i7 = 0, i8 = 0, i10 = 0, i12 = 0, i13 = 0, d14 = 0.0; - i12 = HEAP32[i9 + 8 >> 2] | 0; - L1 : do if (((i12 | 0) == (HEAP32[i11 + 4 >> 2] | 0) ? (i13 = HEAP32[i1 + 4 >> 2] | 0, (i13 | 0) == (HEAP32[i9 + 4 >> 2] | 0)) : 0) ? (i10 = HEAP32[i1 + 8 >> 2] | 0, (i10 | 0) == (HEAP32[i11 + 8 >> 2] | 0)) : 0) { - i1 = HEAP32[i1 >> 2] | 0; - i7 = 0; - while (1) { - if ((i7 | 0) >= (i13 | 0)) { - i1 = 0; - break L1; - } - i8 = Math_imul(i7, i12) | 0; - i6 = 0; - while (1) { - if ((i6 | 0) >= (i10 | 0)) break; - HEAPF64[i1 >> 3] = 0.0; - i2 = (HEAP32[i11 >> 2] | 0) + (i6 << 3) | 0; - i3 = (HEAP32[i9 >> 2] | 0) + (i8 << 3) | 0; - i4 = 0; - d5 = 0.0; - while (1) { - if ((i4 | 0) >= (i12 | 0)) break; - d14 = d5 + +HEAPF64[i3 >> 3] * +HEAPF64[i2 >> 3]; - HEAPF64[i1 >> 3] = d14; - i2 = i2 + (i10 << 3) | 0; - i3 = i3 + 8 | 0; - i4 = i4 + 1 | 0; - d5 = d14; - } - i6 = i6 + 1 | 0; - i1 = i1 + 8 | 0; - } - i7 = i7 + 1 | 0; - } - } else i1 = -1; while (0); - return i1 | 0; -} - -function _skip_variable(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i5 = i4 + 24 | 0; - i6 = HEAP32[i5 >> 2] | 0; - i7 = i6 + 4 | 0; - i1 = HEAP32[i7 >> 2] | 0; - if (!i1) if (!(FUNCTION_TABLE_ii[HEAP32[i6 + 12 >> 2] & 127](i4) | 0)) i1 = 0; else { - i1 = HEAP32[i7 >> 2] | 0; - i2 = 4; - } else i2 = 4; - do if ((i2 | 0) == 4) { - i2 = HEAP32[i6 >> 2] | 0; - i1 = i1 + -1 | 0; - i3 = i2 + 1 | 0; - i2 = (HEAPU8[i2 >> 0] | 0) << 8; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i6 + 12 >> 2] & 127](i4) | 0)) { - i1 = 0; - break; - } - i1 = HEAP32[i7 >> 2] | 0; - i3 = HEAP32[i6 >> 2] | 0; - } - i8 = i2 | (HEAPU8[i3 >> 0] | 0); - i2 = i8 + -2 | 0; - i9 = HEAP32[i4 >> 2] | 0; - HEAP32[i9 + 20 >> 2] = 91; - HEAP32[i9 + 24 >> 2] = HEAP32[i4 + 416 >> 2]; - HEAP32[(HEAP32[i4 >> 2] | 0) + 28 >> 2] = i2; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i4 >> 2] | 0) + 4 >> 2] & 63](i4, 1); - HEAP32[i6 >> 2] = i3 + 1; - HEAP32[i7 >> 2] = i1 + -1; - if (i8 >>> 0 > 2) { - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i5 >> 2] | 0) + 16 >> 2] & 63](i4, i2); - i1 = 1; - } else i1 = 1; - } while (0); - return i1 | 0; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE21__push_back_slow_pathIRKiEEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = ((HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 2) + 1 | 0; - i6 = __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = (HEAP32[i1 + 8 >> 2] | 0) - i8 | 0; - i9 = i10 >> 1; - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_(i3, i10 >> 2 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, (HEAP32[i4 >> 2] | 0) - i8 >> 2, i1 + 8 | 0); - i6 = i3 + 8 | 0; - i5 = HEAP32[i6 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i6 >> 2] = i5 + 4; - __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EE(i1, i3); - __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev(i3); - STACKTOP = i7; + __stack_pointer = $3 + 32 | 0; return; } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 16765), 16336), 3289), 290), 3786), 16991), 16); + abort(); + abort(); } -function _getTransMatMultiSquareRobust(i1, i3) { - i1 = i1 | 0; - i3 = i3 | 0; - var i2 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i4; - HEAP32[i2 >> 2] = i1; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0) { - i2 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0; - i1 = HEAP32[i2 + 280 >> 2] | 0; - if ((i3 | 0) < 0 ? 1 : (HEAP32[i2 + 284 >> 2] | 0) - i1 >> 3 >>> 0 <= i3 >>> 0) { - i1 = HEAP32[3414] | 0; - break; - } else { - i1 = HEAP32[i1 + (i3 << 3) + 4 >> 2] | 0; - i3 = HEAP32[i2 + 216 >> 2] | 0; - +_arGetTransMatMultiSquareRobust(HEAP32[i2 + 228 >> 2] | 0, i3 + 48 | 0, HEAP32[i3 + 44 >> 2] | 0, i1); - _matrixCopy(i1 + 8 | 0, 51552); - i1 = 0; - break; +function jpeg_idct_9x9($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $21 = __stack_pointer - 288 | 0; + __stack_pointer = $21; + $23 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $21; + while (1) { + $10 = HEAP32[$1 + 96 >> 2]; + $7 = HEAP16[$2 + 48 >> 1]; + $5 = HEAP32[$1 + 160 >> 2]; + $8 = HEAP16[$2 + 80 >> 1]; + $13 = HEAP32[$1 + 224 >> 2]; + $11 = HEAP16[$2 + 112 >> 1]; + $16 = HEAP32[$1 + 32 >> 2]; + $17 = HEAP16[$2 + 16 >> 1]; + $18 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $14 = Math_imul(HEAP32[$1 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $15 = $18 + Math_imul($14, -11586) | 0; + $9 = Math_imul(HEAP32[$1 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $6 = Math_imul(HEAP32[$1 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $19 = $9 - $6 | 0; + HEAP32[$0 + 128 >> 2] = $15 + Math_imul($19, -11586) >> 11; + $20 = Math_imul($6 + $9 | 0, 10887); + $22 = Math_imul($6, 2012); + $5 = Math_imul($5, $8); + $8 = Math_imul($16, $17); + $16 = Math_imul($5 + $8 | 0, 7447); + $10 = Math_imul(Math_imul($7, $10), -10033); + $6 = Math_imul($14, 5793) + $18 | 0; + $14 = $6 + ($20 - $22 | 0) | 0; + $7 = Math_imul($11, $13); + $13 = Math_imul($8 + $7 | 0, 3962); + $11 = $13 + ($16 - $10 | 0) | 0; + HEAP32[$0 + 256 >> 2] = $14 - $11 >> 11; + HEAP32[$0 >> 2] = $11 + $14 >> 11; + $11 = Math_imul($19, 5793) + $15 | 0; + $8 = Math_imul($8 - ($5 + $7 | 0) | 0, 10033); + HEAP32[$0 + 224 >> 2] = $11 - $8 >> 11; + HEAP32[$0 + 32 >> 2] = $8 + $11 >> 11; + $9 = Math_imul($9, 8875); + $8 = $9 + ($6 - $20 | 0) | 0; + $5 = Math_imul($5 - $7 | 0, 11409); + $7 = ($10 - $5 | 0) + $16 | 0; + HEAP32[$0 + 192 >> 2] = $8 - $7 >> 11; + HEAP32[$0 + 64 >> 2] = $7 + $8 >> 11; + $9 = ($6 - $9 | 0) + $22 | 0; + $6 = ($5 + $10 | 0) + $13 | 0; + HEAP32[$0 + 160 >> 2] = $9 - $6 >> 11; + HEAP32[$0 + 96 >> 2] = $6 + $9 >> 11; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + $12 = $12 + 1 | 0; + if (($12 | 0) != 8) { + continue; } - } else i1 = HEAP32[3413] | 0; while (0); - STACKTOP = i4; - return i1 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i6, i4, i5) { - i6 = i6 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i1 = 0, i2 = 0, i3 = 0, i7 = 0, i8 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i9; - i8 = i6 + 11 | 0; - i1 = HEAP8[i8 >> 0] | 0; - i2 = i1 << 24 >> 24 < 0; - if (i2) { - i3 = HEAP32[i6 + 4 >> 2] | 0; - i1 = (HEAP32[i6 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - i3 = i1 & 255; - i1 = 10; - } - if ((i1 - i3 | 0) >>> 0 >= i5 >>> 0) { - if (i5 | 0) { - if (i2) i2 = HEAP32[i6 >> 2] | 0; else i2 = i6; - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i2 + i3 | 0, i4, i5) | 0; - i1 = i3 + i5 | 0; - if ((HEAP8[i8 >> 0] | 0) < 0) HEAP32[i6 + 4 >> 2] = i1; else HEAP8[i8 >> 0] = i1; - HEAP8[i7 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2 + i1 | 0, i7); - } - } else __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE21__grow_by_and_replaceEmmmmmmPKc(i6, i1, i3 + i5 - i1 | 0, i3, i3, 0, i5, i4); - STACKTOP = i9; - return i6 | 0; -} - -function __ZNSt3__26vectorIhNS_9allocatorIhEEE21__push_back_slow_pathIRKhEEvOT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i7; - i4 = i1 + 4 | 0; - i5 = (HEAP32[i4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) + 1 | 0; - i6 = __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv(i1) | 0; - if (i6 >>> 0 < i5 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i8 = HEAP32[i1 >> 2] | 0; - i10 = (HEAP32[i1 + 8 >> 2] | 0) - i8 | 0; - i9 = i10 << 1; - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEEC2EmmS3_(i3, i10 >>> 0 < i6 >>> 1 >>> 0 ? (i9 >>> 0 < i5 >>> 0 ? i5 : i9) : i6, (HEAP32[i4 >> 2] | 0) - i8 | 0, i1 + 8 | 0); - i6 = i3 + 8 | 0; - HEAP8[HEAP32[i6 >> 2] >> 0] = HEAP8[i2 >> 0] | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 1; - __ZNSt3__26vectorIhNS_9allocatorIhEEE26__swap_out_circular_bufferERNS_14__split_bufferIhRS2_EE(i1, i3); - __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEED2Ev(i3); - STACKTOP = i7; - return; + break; } -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw(i6, i1) { - i6 = i6 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i9; - i8 = i9 + 4 | 0; - HEAP32[i7 >> 2] = i1; - i2 = i6 + 8 | 0; - i5 = i2 + 3 | 0; - i1 = HEAP8[i5 >> 0] | 0; - i3 = i1 << 24 >> 24 < 0; - if (i3) { - i4 = HEAP32[i6 + 4 >> 2] | 0; - i1 = (HEAP32[i2 >> 2] & 2147483647) + -1 | 0; - } else { - i4 = i1 & 255; - i1 = 1; - } - if ((i4 | 0) == (i1 | 0)) { - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEmmmmmm(i6, i1, 1, i1, i1, 0, 0); - if ((HEAP8[i5 >> 0] | 0) < 0) i2 = 8; else i2 = 7; - } else if (i3) i2 = 8; else i2 = 7; - if ((i2 | 0) == 7) { - HEAP8[i5 >> 0] = i4 + 1; - i1 = i6; - } else if ((i2 | 0) == 8) { - i1 = HEAP32[i6 >> 2] | 0; - HEAP32[i6 + 4 >> 2] = i4 + 1; - } - i6 = i1 + (i4 << 2) | 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i6, i7); - HEAP32[i8 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i6 + 4 | 0, i8); - STACKTOP = i9; - return; -} - -function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEEC2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP32[i1 + 16 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - i2 = i1 + 64 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = 0; - HEAP32[i2 + 20 >> 2] = 0; - HEAP32[i1 + 88 >> 2] = 1065353216; - __ZN6vision18BinomialPyramid32fC2Ev(i1 + 92 | 0); - i2 = i1 + 160 | 0; - __ZN6vision25DoGScaleInvariantDetectorC2Ev(i2); - __ZN6vision14FREAKExtractorC2Ev(i1 + 316 | 0); - __ZN6vision20BinaryFeatureMatcherILi96EEC2Ev(i1 + 636 | 0); - __ZN6vision21HoughSimilarityVotingC2Ev(i1 + 652 | 0); - __ZN6vision16RobustHomographyIfEC2Efiii(i1 + 788 | 0, .009999999776482582, 1024, 1064, 50); - __ZN6vision25DoGScaleInvariantDetector21setLaplacianThresholdEf(i2, 3.0); - __ZN6vision25DoGScaleInvariantDetector16setEdgeThresholdEf(i2, 4.0); - __ZN6vision25DoGScaleInvariantDetector22setMaxNumFeaturePointsEm(i2, 500); - HEAPF32[i1 + 4 >> 2] = 3.0; - HEAP32[i1 >> 2] = 8; - HEAP8[i1 + 8 >> 0] = 1; - return; -} - -function _getTransMatMultiSquare(i1, i3) { - i1 = i1 | 0; - i3 = i3 | 0; - var i2 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i4; - HEAP32[i2 >> 2] = i1; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0) { - i2 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0; - i1 = HEAP32[i2 + 280 >> 2] | 0; - if ((i3 | 0) < 0 ? 1 : (HEAP32[i2 + 284 >> 2] | 0) - i1 >> 3 >>> 0 <= i3 >>> 0) { - i1 = HEAP32[3414] | 0; - break; - } else { - i1 = HEAP32[i1 + (i3 << 3) + 4 >> 2] | 0; - i3 = HEAP32[i2 + 216 >> 2] | 0; - +_arGetTransMatMultiSquare(HEAP32[i2 + 228 >> 2] | 0, i3 + 48 | 0, HEAP32[i3 + 44 >> 2] | 0, i1); - _matrixCopy(i1 + 8 | 0, 51552); - i1 = 0; - break; + $2 = $23 - 384 | 0; + $0 = $21; + $9 = 0; + while (1) { + $5 = HEAP32[$0 + 4 >> 2]; + $6 = HEAP32[$0 + 20 >> 2]; + $11 = Math_imul($5 + $6 | 0, 7447); + $1 = HEAP32[($9 << 2) + $3 >> 2] + $4 | 0; + $10 = HEAP32[$0 + 28 >> 2]; + $16 = Math_imul($10 + $5 | 0, 3962); + $8 = Math_imul(HEAP32[$0 + 12 >> 2], -10033); + $17 = $16 + ($11 - $8 | 0) | 0; + $19 = (HEAP32[$0 >> 2] << 13) + 134348800 | 0; + $15 = HEAP32[$0 + 24 >> 2]; + $13 = $19 + Math_imul($15, 5793) | 0; + $7 = HEAP32[$0 + 16 >> 2]; + $12 = HEAP32[$0 + 8 >> 2]; + $14 = Math_imul($7 + $12 | 0, 10887); + $18 = Math_imul($7, 2012); + $20 = $13 + ($14 - $18 | 0) | 0; + HEAP8[$1 | 0] = HEAPU8[($17 + $20 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 8 | 0] = HEAPU8[($20 - $17 >>> 18 & 1023) + $2 | 0]; + $5 = Math_imul($5 - ($6 + $10 | 0) | 0, 10033); + $17 = Math_imul($15, -11586) + $19 | 0; + $7 = $12 - $7 | 0; + $15 = $17 + Math_imul($7, 5793) | 0; + HEAP8[$1 + 1 | 0] = HEAPU8[($5 + $15 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 7 | 0] = HEAPU8[($15 - $5 >>> 18 & 1023) + $2 | 0]; + $6 = Math_imul($6 - $10 | 0, 11409); + $5 = ($8 - $6 | 0) + $11 | 0; + $10 = Math_imul($12, 8875); + $12 = $10 + ($13 - $14 | 0) | 0; + HEAP8[$1 + 2 | 0] = HEAPU8[($5 + $12 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 6 | 0] = HEAPU8[($12 - $5 >>> 18 & 1023) + $2 | 0]; + $5 = ($13 - $10 | 0) + $18 | 0; + $6 = ($6 + $8 | 0) + $16 | 0; + HEAP8[$1 + 3 | 0] = HEAPU8[($5 + $6 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 5 | 0] = HEAPU8[($5 - $6 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 4 | 0] = HEAPU8[(Math_imul($7, 268423870) + $17 >>> 18 & 1023) + $2 | 0]; + $0 = $0 + 32 | 0; + $9 = $9 + 1 | 0; + if (($9 | 0) != 9) { + continue; } - } else i1 = HEAP32[3413] | 0; while (0); - STACKTOP = i4; - return i1 | 0; -} - -function _arSetPixelFormat(i1, i4) { - i1 = i1 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i5; - L1 : do if (i1) { - i2 = i1 + 4 | 0; - if ((HEAP32[i2 >> 2] | 0) != (i4 | 0)) { - if (i4 >>> 0 >= 15) { - HEAP32[i3 >> 2] = i4; - _arLog(0, 3, 17721, i3); - i1 = -1; - break; - } - HEAP32[i2 >> 2] = i4; - i2 = _arUtilGetPixelSize(i4) | 0; - HEAP32[i1 + 8 >> 2] = i2; - i1 = i1 + 24 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (!(28704 >>> (i4 & 32767) & 1)) switch (i2 | 0) { - case 1: - { - HEAP32[i1 >> 2] = 4; - i1 = 0; - break L1; - } - case 4: - { - HEAP32[i1 >> 2] = 3; - i1 = 0; - break L1; - } - default: - { - i1 = 0; - break L1; - } - } else switch (i2 | 0) { - case 0: - { - HEAP32[i1 >> 2] = 1; - i1 = 0; - break L1; + break; + } + __stack_pointer = $21 + 288 | 0; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______vector_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, $1) { + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$2 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________compressed_pair_std__nullptr_t_2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______28std__nullptr_t___2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0 + 8 | 0, $2 + 12 | 0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________alloc_28_29($1)); + void_20std____2____debug_db_insert_c_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0); + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; + $3 = HEAP32[std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________end_cap_28_29($1) >> 2]; + wasm2js_i32$0 = std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________end_cap_28_29($0), + wasm2js_i32$1 = $3, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________end_cap_28_29($1), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + HEAP32[$1 >> 2] = 0; + HEAP32[$1 + 4 >> 2] = 0; + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__NewExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $2 = __stack_pointer - 112 | 0; + __stack_pointer = $2; + if (HEAPU8[$0 + 28 | 0]) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 104 | 0, 38091); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 48 >> 2] = $4; + HEAP32[$2 + 52 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 48 | 0); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 96 | 0, 28606); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 40 >> 2] = $5; + HEAP32[$2 + 44 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 40 | 0); + if (HEAPU8[$0 + 29 | 0]) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 88 | 0, 34408); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 32 >> 2] = $4; + HEAP32[$2 + 36 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 32 | 0); + } + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 32); + $6 = $0 + 8 | 0; + if (!$28anonymous_20namespace_29__itanium_demangle__NodeArray__empty_28_29_20const($6)) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 80 | 0, 37973); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 24 >> 2] = $5; + HEAP32[$2 + 28 >> 2] = $4; + $7 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 24 | 0); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($6, $7); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 72 | 0, 37866); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($7, $2 + 16 | 0); + } + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 16 >> 2], $1); + $0 = $0 + 20 | 0; + if (!$28anonymous_20namespace_29__itanium_demangle__NodeArray__empty_28_29_20const($0)) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 - -64 | 0, 37973); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 56 | 0, 37866); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + } + __stack_pointer = $2 + 112 | 0; +} + +function decode_mcu_DC_first($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $6 = HEAP32[$0 + 468 >> 2]; + if (HEAP32[$0 + 280 >> 2]) { + $3 = HEAP32[$6 + 56 >> 2]; + if (!$3) { + process_restart($0); + $3 = HEAP32[$6 + 56 >> 2]; + } + HEAP32[$6 + 56 >> 2] = $3 - 1; + } + label$3: { + if (!(HEAP32[$6 + 20 >> 2] == -1 | HEAP32[$0 + 368 >> 2] <= 0)) { + while (1) { + $3 = $10 << 2; + $13 = HEAP32[$3 + $1 >> 2]; + $3 = HEAP32[($0 + $3 | 0) + 372 >> 2] << 2; + $7 = HEAP32[HEAP32[($3 + $0 | 0) + 344 >> 2] + 20 >> 2]; + $12 = ($7 << 2) + $6 | 0; + $4 = $12 + 60 | 0; + $8 = $3 + $6 | 0; + $5 = $8 + 40 | 0; + $2 = HEAP32[$4 >> 2] + HEAP32[$5 >> 2] | 0; + label$6: { + if (!arith_decode($0, $2)) { + HEAP32[$8 + 40 >> 2] = 0; + $3 = HEAP32[$8 + 24 >> 2]; + break label$6; + } + $9 = 1; + $5 = 0; + $3 = 0; + $11 = arith_decode($0, $2 + 1 | 0); + $2 = ($11 + $2 | 0) + 2 | 0; + label$8: { + if (!arith_decode($0, $2)) { + break label$8; + } + $4 = HEAP32[$12 + 60 >> 2]; + $2 = $4 + 20 | 0; + if (!arith_decode($0, $2)) { + $3 = 1; + break label$8; + } + $9 = 0; + $2 = $4 + 21 | 0; + if (!arith_decode($0, $2)) { + $3 = 2; + break label$8; + } + $2 = $4 + 22 | 0; + if (!arith_decode($0, $2)) { + $3 = 4; + break label$8; + } + $2 = $4 + 23 | 0; + if (!arith_decode($0, $2)) { + $3 = 8; + break label$8; + } + $2 = $4 + 24 | 0; + if (!arith_decode($0, $2)) { + $3 = 16; + break label$8; + } + $2 = $4 + 25 | 0; + if (!arith_decode($0, $2)) { + $3 = 32; + break label$8; + } + $2 = $4 + 26 | 0; + if (!arith_decode($0, $2)) { + $3 = 64; + break label$8; + } + $2 = $4 + 27 | 0; + if (!arith_decode($0, $2)) { + $3 = 128; + break label$8; + } + $2 = $4 + 28 | 0; + if (!arith_decode($0, $2)) { + $3 = 256; + break label$8; + } + $2 = $4 + 29 | 0; + if (!arith_decode($0, $2)) { + $3 = 512; + break label$8; + } + $2 = $4 + 30 | 0; + if (!arith_decode($0, $2)) { + $3 = 1024; + break label$8; + } + $2 = $4 + 31 | 0; + if (!arith_decode($0, $2)) { + $3 = 2048; + break label$8; + } + $2 = $4 + 32 | 0; + if (!arith_decode($0, $2)) { + $3 = 4096; + break label$8; + } + $2 = $4 + 33 | 0; + if (!arith_decode($0, $2)) { + $3 = 8192; + break label$8; + } + $3 = 16384; + $2 = $4 + 34 | 0; + if (arith_decode($0, $2)) { + break label$3; + } + } + $7 = $0 + $7 | 0; + label$23: { + if (1 << HEAPU8[$7 + 232 | 0] >> 1 > ($3 | 0)) { + break label$23; + } + $5 = $11 << 2; + if (1 << HEAPU8[$7 + 248 | 0] >> 1 < ($3 | 0)) { + $5 = $5 + 12 | 0; + break label$23; + } + $5 = $5 + 4 | 0; + } + HEAP32[$8 + 40 >> 2] = $5; + label$25: { + if ($9) { + $2 = $3; + break label$25; + } + $7 = $2 + 14 | 0; + $2 = $3; + while (1) { + $5 = $3 >>> 1 | 0; + $2 = (arith_decode($0, $7) ? $5 : 0) | $2; + $9 = $3 >>> 0 > 3; + $3 = $5; + if ($9) { + continue; + } + break; + } + } + $3 = $8 + 24 | 0; + $5 = $3; + $3 = HEAP32[$8 + 24 >> 2] + ($11 ? $2 ^ -1 : $2 + 1 | 0) | 0; + HEAP32[$5 >> 2] = $3; } - case 3: - { - HEAP32[i1 >> 2] = 4; - i1 = 0; - break L1; + HEAP16[$13 >> 1] = $3 << HEAP32[$0 + 424 >> 2]; + $10 = $10 + 1 | 0; + if (($10 | 0) < HEAP32[$0 + 368 >> 2]) { + continue; } - default: - { - i1 = 0; - break L1; - } - } - } else i1 = 0; - } else i1 = -1; while (0); - STACKTOP = i5; - return i1 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS7_PvEEEERKT_(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i4 = HEAP32[i1 >> 2] | 0; - i5 = HEAP32[i2 + 4 >> 2] | 0; - L1 : do if (i5) { - i6 = i5 + -1 | 0; - i7 = (i6 & i5 | 0) == 0; - if (!i7) if (i4 >>> 0 < i5 >>> 0) i3 = i4; else i3 = (i4 >>> 0) % (i5 >>> 0) | 0; else i3 = i6 & i4; - i1 = HEAP32[(HEAP32[i2 >> 2] | 0) + (i3 << 2) >> 2] | 0; - if (i1) while (1) { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) { - i1 = 0; - break L1; - } - i2 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 | 0) == (i4 | 0)) { - if ((HEAP32[i1 + 8 >> 2] | 0) == (i4 | 0)) break L1; - } else { - if (!i7) { - if (i2 >>> 0 >= i5 >>> 0) i2 = (i2 >>> 0) % (i5 >>> 0) | 0; - } else i2 = i2 & i6; - if ((i2 | 0) != (i3 | 0)) { - i1 = 0; - break L1; - } - } - } else i1 = 0; - } else i1 = 0; while (0); - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_12DbC2ILm4096EEERNS0_5arenaIXT_EEE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - __ZN10__cxxabiv112_GLOBAL__N_111short_allocINS0_11string_pairELm4096EEC2ERNS0_5arenaILm4096EEE(i4, i2); - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = HEAP32[i4 >> 2]; - __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS0_11string_pairENS1_IS4_Lm4096EEEEELm4096EEC2ERNS0_5arenaILm4096EEE(i4, i2); - __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEC2EmRKS6_RKS7_(i1 + 16 | 0, i4); - __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS3_INS0_11string_pairENS1_IS4_Lm4096EEEEENS1_IS6_Lm4096EEEEELm4096EEC2ERNS0_5arenaILm4096EEE(i4, i2); - __ZNSt3__26vectorINS0_INS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEENS4_IS8_Lm4096EEEEC2EmRKS8_RKS9_(i1 + 32 | 0, i4); - STACKTOP = i3; - return; -} - -function _wcrtomb(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - do if (i1) { - if (i2 >>> 0 < 128) { - HEAP8[i1 >> 0] = i2; - i1 = 1; - break; - } - i3 = (___pthread_self_306() | 0) + 188 | 0; - if (!(HEAP32[HEAP32[i3 >> 2] >> 2] | 0)) if ((i2 & -128 | 0) == 57216) { - HEAP8[i1 >> 0] = i2; - i1 = 1; - break; - } else { - i1 = ___errno_location() | 0; - HEAP32[i1 >> 2] = 84; - i1 = -1; - break; - } - if (i2 >>> 0 < 2048) { - HEAP8[i1 >> 0] = i2 >>> 6 | 192; - HEAP8[i1 + 1 >> 0] = i2 & 63 | 128; - i1 = 2; - break; - } - if (i2 >>> 0 < 55296 | (i2 & -8192 | 0) == 57344) { - HEAP8[i1 >> 0] = i2 >>> 12 | 224; - HEAP8[i1 + 1 >> 0] = i2 >>> 6 & 63 | 128; - HEAP8[i1 + 2 >> 0] = i2 & 63 | 128; - i1 = 3; - break; - } - if ((i2 + -65536 | 0) >>> 0 < 1048576) { - HEAP8[i1 >> 0] = i2 >>> 18 | 240; - HEAP8[i1 + 1 >> 0] = i2 >>> 12 & 63 | 128; - HEAP8[i1 + 2 >> 0] = i2 >>> 6 & 63 | 128; - HEAP8[i1 + 3 >> 0] = i2 & 63 | 128; - i1 = 4; - break; - } else { - i1 = ___errno_location() | 0; - HEAP32[i1 >> 2] = 84; - i1 = -1; - break; + break; + } } - } else i1 = 1; while (0); - return i1 | 0; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6appendEPKwm(i7, i5, i6) { - i7 = i7 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i8 = 0, i9 = 0, i10 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i10; - i2 = i7 + 8 | 0; - i9 = i2 + 3 | 0; - i1 = HEAP8[i9 >> 0] | 0; - i4 = i1 << 24 >> 24 < 0; - if (i4) { - i3 = HEAP32[i7 + 4 >> 2] | 0; - i1 = (HEAP32[i2 >> 2] & 2147483647) + -1 | 0; - } else { - i3 = i1 & 255; - i1 = 1; - } - if ((i1 - i3 | 0) >>> 0 >= i6 >>> 0) { - if (i6 | 0) { - if (i4) i2 = HEAP32[i7 >> 2] | 0; else i2 = i7; - __ZNSt3__211char_traitsIwE4copyEPwPKwm(i2 + (i3 << 2) | 0, i5, i6) | 0; - i1 = i3 + i6 | 0; - if ((HEAP8[i9 >> 0] | 0) < 0) HEAP32[i7 + 4 >> 2] = i1; else HEAP8[i9 >> 0] = i1; - HEAP32[i8 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i2 + (i1 << 2) | 0, i8); - } - } else __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEmmmmmmPKw(i7, i1, i3 + i6 - i1 | 0, i3, i3, 0, i6, i5); - STACKTOP = i10; - return i7 | 0; -} - -function _arSetLabelingThreshMode(i5, i1) { - i5 = i5 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i8 + 8 | 0; - i4 = i8; - if (i5) { - i6 = i5 + 7062388 | 0; - if ((HEAP32[i6 >> 2] | 0) != (i1 | 0)) { - i2 = i5 + 7062408 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) { - _arImageProcFinal(i3); - HEAP32[i2 >> 2] = 0; - } - switch (i1 | 0) { - case 3: - case 2: - case 1: - { - i4 = _arImageProcInit(HEAP32[i5 + 36 >> 2] | 0, HEAP32[i5 + 40 >> 2] | 0) | 0; - HEAP32[i2 >> 2] = i4; + return 1; + } + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 117; + FUNCTION_TABLE[HEAP32[$3 + 4 >> 2]]($0, -1); + HEAP32[$6 + 20 >> 2] = -1; + return 1; +} + +function arGetContour($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $9 = __stack_pointer - 8e4 | 0; + __stack_pointer = $9; + $2 = HEAP32[$5 >> 2]; + $10 = HEAP32[$5 + 8 >> 2]; + $7 = ($2 + Math_imul($10, $1) << 1) + $0 | 0; + $8 = HEAP32[$5 + 4 >> 2]; + label$1: { + label$2: { + label$3: { + while (1) { + if (($2 | 0) > ($8 | 0)) { + break label$3; + } + $5 = HEAP16[$7 >> 1]; + if (!(($5 | 0) > 0 & HEAP32[((($5 & 65535) << 2) + $3 | 0) - 4 >> 2] == ($4 | 0))) { + $7 = $7 + 2 | 0; + $2 = $2 + 1 | 0; + continue; + } break; } - case 4: - { - HEAP32[i5 + 7062404 >> 2] = 1; - HEAP32[i5 + 7062400 >> 2] = 1; - i1 = 4; - break; + if (($2 | 0) != -1) { + break label$2; } - case 0: - break; - default: - { - _arLog(0, 3, 17552, i4); - i1 = 0; - } - } - HEAP32[i6 >> 2] = i1; - if ((HEAP32[i5 >> 2] | 0) == 1) { - HEAP32[i7 >> 2] = HEAP32[16 + (i1 << 2) >> 2]; - _arLog(0, 3, 17626, i7); - i1 = 0; - } else i1 = 0; - } else i1 = 0; - } else i1 = -1; - STACKTOP = i8; - return i1 | 0; -} - -function __ZNSt3__227__num_get_unsigned_integralItEET_PKcS3_Rji(i1, i4, i5, i2) { - i1 = i1 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - var i3 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i8; - do if ((i1 | 0) == (i4 | 0)) { - HEAP32[i5 >> 2] = 4; - i1 = 0; - } else { - if ((HEAP8[i1 >> 0] | 0) == 45) { - HEAP32[i5 >> 2] = 4; - i1 = 0; - break; - } - i7 = ___errno_location() | 0; - i7 = HEAP32[i7 >> 2] | 0; - i3 = ___errno_location() | 0; - HEAP32[i3 >> 2] = 0; - i1 = _strtoull_l(i1, i6, i2, __ZNSt3__26__clocEv() | 0) | 0; - i2 = getTempRet0() | 0; - i3 = ___errno_location() | 0; - i3 = HEAP32[i3 >> 2] | 0; - if (!i3) { - i9 = ___errno_location() | 0; - HEAP32[i9 >> 2] = i7; - } - do if ((HEAP32[i6 >> 2] | 0) == (i4 | 0)) if (i2 >>> 0 > 0 | (i2 | 0) == 0 & i1 >>> 0 > 65535 | (i3 | 0) == 34) { - HEAP32[i5 >> 2] = 4; - i1 = -1; - break; - } else { - i1 = i1 & 65535; - break; - } else { - HEAP32[i5 >> 2] = 4; - i1 = 0; - } while (0); - } while (0); - STACKTOP = i8; - return i1 | 0; -} - -function ___fwritex(i7, i2, i6) { - i7 = i7 | 0; - i2 = i2 | 0; - i6 = i6 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0, i8 = 0; - i1 = i6 + 16 | 0; - i3 = HEAP32[i1 >> 2] | 0; - if (!i3) if (!(___towrite(i6) | 0)) { - i3 = HEAP32[i1 >> 2] | 0; - i4 = 5; - } else i1 = 0; else i4 = 5; - L5 : do if ((i4 | 0) == 5) { - i8 = i6 + 20 | 0; - i5 = HEAP32[i8 >> 2] | 0; - i1 = i5; - if ((i3 - i5 | 0) >>> 0 < i2 >>> 0) { - i1 = FUNCTION_TABLE_iiii[HEAP32[i6 + 36 >> 2] & 63](i6, i7, i2) | 0; - break; + } + arLog(0, 3, 1501, 0); + $2 = -1; + break label$1; } - L10 : do if ((HEAP8[i6 + 75 >> 0] | 0) < 0 | (i2 | 0) == 0) { - i4 = 0; - i3 = i7; - } else { - i5 = i2; + HEAP32[$6 + 40028 >> 2] = $10; + HEAP32[$6 + 28 >> 2] = $2; + HEAP32[$6 + 24 >> 2] = 1; + $11 = $6 + 28 | 0; + $5 = 1; + $7 = 5; + label$7: { while (1) { - i3 = i5 + -1 | 0; - if ((HEAP8[i7 + i3 >> 0] | 0) == 10) break; - if (!i3) { - i4 = 0; - i3 = i7; - break L10; - } else i5 = i3; - } - i1 = FUNCTION_TABLE_iiii[HEAP32[i6 + 36 >> 2] & 63](i6, i7, i5) | 0; - if (i1 >>> 0 < i5 >>> 0) break L5; - i4 = i5; - i3 = i7 + i5 | 0; - i2 = i2 - i5 | 0; - i1 = HEAP32[i8 >> 2] | 0; - } while (0); - _memcpy(i1 | 0, i3 | 0, i2 | 0) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i2; - i1 = i4 + i2 | 0; - } while (0); - return i1 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6assignEPKcm(i6, i7, i8) { - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i9; - i5 = i6 + 11 | 0; - i1 = HEAP8[i5 >> 0] | 0; - i2 = i1 << 24 >> 24 < 0; - if (i2) i3 = (HEAP32[i6 + 8 >> 2] & 2147483647) + -1 | 0; else i3 = 10; - do if (i3 >>> 0 >= i8 >>> 0) { - if (i2) i1 = HEAP32[i6 >> 2] | 0; else i1 = i6; - __ZNSt3__211char_traitsIcE4moveEPcPKcm(i1, i7, i8) | 0; - HEAP8[i4 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1 + i8 | 0, i4); - if ((HEAP8[i5 >> 0] | 0) < 0) { - HEAP32[i6 + 4 >> 2] = i8; - break; - } else { - HEAP8[i5 >> 0] = i8; - break; + $12 = $5 << 2; + $5 = $12 + $6 | 0; + $13 = HEAP32[$5 + 24 >> 2]; + $4 = ($13 + Math_imul(HEAP32[$5 + 40024 >> 2], $1) << 1) + $0 | 0; + $7 = $7 + 5 | 0; + $5 = 0; + label$9: { + while (1) { + label$11: { + $7 = ($7 | 0) % 8 | 0; + if (($5 | 0) == 8) { + break label$11; + } + $8 = $7 << 2; + $3 = HEAP32[$8 + 12144 >> 2]; + $8 = HEAP32[$8 + 12112 >> 2]; + if (HEAP16[($8 + Math_imul($1, $3) << 1) + $4 >> 1] > 0) { + break label$9; + } + $5 = $5 + 1 | 0; + $7 = $7 + 1 | 0; + continue; + } + break; + } + arLog(0, 3, 2695, 0); + $2 = -1; + break label$1; + } + HEAP32[$11 + $12 >> 2] = $8 + $13; + $5 = (HEAP32[$6 + 24 >> 2] << 2) + $6 | 0; + HEAP32[$5 + 40028 >> 2] = HEAP32[$5 + 40024 >> 2] + $3; + $5 = HEAP32[$6 + 24 >> 2]; + $8 = $5 << 2; + if (!(HEAP32[$11 + $8 >> 2] != ($2 | 0) | HEAP32[($6 + $8 | 0) + 40028 >> 2] != ($10 | 0))) { + $0 = ($5 | 0) > 1 ? $5 : 1; + $4 = 0; + $8 = 0; + $7 = 1; + break label$7; + } + $5 = $5 + 1 | 0; + HEAP32[$6 + 24 >> 2] = $5; + if (($5 | 0) != 9999) { + continue; + } + break; + } + arLog(0, 3, 3466, 0); + $2 = -1; + break label$1; } - } else { - if (i2) i1 = HEAP32[i6 + 4 >> 2] | 0; else i1 = i1 & 255; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE21__grow_by_and_replaceEmmmmmmPKc(i6, i3, i8 - i3 | 0, i1, 0, i1, i8, i7); - } while (0); - STACKTOP = i9; - return; -} - -function _fread(i2, i7, i1, i8) { - i2 = i2 | 0; - i7 = i7 | 0; - i1 = i1 | 0; - i8 = i8 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i9 = 0, i10 = 0; - i9 = Math_imul(i1, i7) | 0; - i1 = (i7 | 0) == 0 ? 0 : i1; - if ((HEAP32[i8 + 76 >> 2] | 0) > -1) i6 = ___lockfile(i8) | 0; else i6 = 0; - i3 = i8 + 74 | 0; - i4 = HEAP8[i3 >> 0] | 0; - HEAP8[i3 >> 0] = i4 + 255 | i4; - i3 = i8 + 4 | 0; - i4 = HEAP32[i3 >> 2] | 0; - i5 = (HEAP32[i8 + 8 >> 2] | 0) - i4 | 0; - if ((i5 | 0) > 0) { - i5 = i5 >>> 0 < i9 >>> 0 ? i5 : i9; - _memcpy(i2 | 0, i4 | 0, i5 | 0) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + i5; - i3 = i9 - i5 | 0; - i2 = i2 + i5 | 0; - } else i3 = i9; - L7 : do if (!i3) i10 = 13; else { - i5 = i8 + 32 | 0; while (1) { - if (___toread(i8) | 0) break; - i4 = FUNCTION_TABLE_iiii[HEAP32[i5 >> 2] & 63](i8, i2, i3) | 0; - if ((i4 + 1 | 0) >>> 0 < 2) break; - i3 = i3 - i4 | 0; - if (!i3) { - i10 = 13; - break L7; - } else i2 = i2 + i4 | 0; - } - if (i6 | 0) ___unlockfile(i8); - i1 = ((i9 - i3 | 0) >>> 0) / (i7 >>> 0) | 0; - } while (0); - if ((i10 | 0) == 13) if (i6) ___unlockfile(i8); - return i1 | 0; -} - -function __ZNSt3__227__num_get_unsigned_integralIyEET_PKcS3_Rji(i1, i4, i7, i2) { - i1 = i1 | 0; - i4 = i4 | 0; - i7 = i7 | 0; - i2 = i2 | 0; - var i3 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0, i10 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i9; - do if ((i1 | 0) == (i4 | 0)) { - HEAP32[i7 >> 2] = 4; - i2 = 0; - i1 = 0; - } else { - if ((HEAP8[i1 >> 0] | 0) == 45) { - HEAP32[i7 >> 2] = 4; - i2 = 0; - i1 = 0; - break; - } - i6 = ___errno_location() | 0; - i6 = HEAP32[i6 >> 2] | 0; - i3 = ___errno_location() | 0; - HEAP32[i3 >> 2] = 0; - i1 = _strtoull_l(i1, i5, i2, __ZNSt3__26__clocEv() | 0) | 0; - i2 = getTempRet0() | 0; - i3 = ___errno_location() | 0; - i3 = HEAP32[i3 >> 2] | 0; - if (!i3) { - i10 = ___errno_location() | 0; - HEAP32[i10 >> 2] = i6; - } - if ((HEAP32[i5 >> 2] | 0) == (i4 | 0)) { - if ((i3 | 0) == 34) { - i1 = -1; - i2 = -1; - i8 = 8; + if (($0 | 0) != ($7 | 0)) { + $3 = ($7 << 2) + $6 | 0; + $1 = HEAP32[$3 + 40028 >> 2] - $10 | 0; + $3 = HEAP32[$3 + 28 >> 2] - $2 | 0; + $3 = Math_imul($1, $1) + Math_imul($3, $3) | 0; + $1 = $3; + $3 = ($3 | 0) > ($4 | 0); + $4 = $3 ? $1 : $4; + $8 = $3 ? $7 : $8; + $7 = $7 + 1 | 0; + continue; } - } else { - i1 = 0; - i2 = 0; - i8 = 8; - } - if ((i8 | 0) == 8) HEAP32[i7 >> 2] = 4; - } while (0); - setTempRet0(i2 | 0); - STACKTOP = i9; - return i1 | 0; -} - -function _jpeg_read_scanlines(i5, i6, i7) { - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i8 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i9; - i1 = HEAP32[i5 + 20 >> 2] | 0; - if ((i1 | 0) != 205) { - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i4 + 20 >> 2] = 20; - HEAP32[i4 + 24 >> 2] = i1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i5 >> 2] >> 2] & 255](i5); - } - i1 = i5 + 140 | 0; - i2 = HEAP32[i1 >> 2] | 0; - i3 = HEAP32[i5 + 116 >> 2] | 0; - if (i2 >>> 0 < i3 >>> 0) { - i4 = HEAP32[i5 + 8 >> 2] | 0; - if (i4 | 0) { - HEAP32[i4 + 4 >> 2] = i2; - HEAP32[i4 + 8 >> 2] = i3; - FUNCTION_TABLE_vi[HEAP32[i4 >> 2] & 255](i5); - } - HEAP32[i8 >> 2] = 0; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i5 + 424 >> 2] | 0) + 4 >> 2] & 31](i5, i6, i8, i7); - i8 = HEAP32[i8 >> 2] | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + i8; - i1 = i8; - } else { - i1 = HEAP32[i5 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 123; - FUNCTION_TABLE_vii[HEAP32[i1 + 4 >> 2] & 63](i5, -1); - i1 = 0; - } - STACKTOP = i9; - return i1 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(i5, i1) { - i5 = i5 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i8; - i7 = i8 + 1 | 0; - HEAP8[i6 >> 0] = i1; - i4 = i5 + 11 | 0; - i1 = HEAP8[i4 >> 0] | 0; - i2 = i1 << 24 >> 24 < 0; - if (i2) { - i3 = HEAP32[i5 + 4 >> 2] | 0; - i1 = (HEAP32[i5 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - i3 = i1 & 255; - i1 = 10; - } - if ((i3 | 0) == (i1 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm(i5, i1, 1, i1, i1, 0, 0); - if ((HEAP8[i4 >> 0] | 0) < 0) i2 = 8; else i2 = 7; - } else if (i2) i2 = 8; else i2 = 7; - if ((i2 | 0) == 7) { - HEAP8[i4 >> 0] = i3 + 1; - i1 = i5; - } else if ((i2 | 0) == 8) { - i1 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 + 4 >> 2] = i3 + 1; - } - i5 = i1 + i3 | 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5, i6); - HEAP8[i7 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5 + 1 | 0, i7); - STACKTOP = i8; - return; -} - -function __ZNSt3__216__selection_sortIRNS_7greaterINS_4pairIfmEEEENS_11__wrap_iterIPS3_EEEEvT0_S9_T_(i10, i1, i2) { - i10 = i10 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - var d3 = 0.0, d4 = 0.0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i7 = HEAP32[i1 >> 2] | 0; - i8 = i7 + -8 | 0; - i9 = HEAP32[i10 >> 2] | 0; - while (1) { - if ((i9 | 0) == (i8 | 0)) break; - L4 : do if ((i9 | 0) == (i7 | 0)) i1 = i7; else { - i1 = i9; - while (1) { - i5 = i1 + 4 | 0; - i2 = i1; - while (1) { - i6 = i2 + 8 | 0; - if ((i6 | 0) == (i7 | 0)) break L4; - d3 = +HEAPF32[i1 >> 2]; - d4 = +HEAPF32[i6 >> 2]; - if (d3 < d4) break; - if (!(d4 < d3) ? (HEAP32[i5 >> 2] | 0) >>> 0 < (HEAP32[i2 + 12 >> 2] | 0) >>> 0 : 0) break; - i2 = i6; - } - i1 = i6; - } - } while (0); - if ((i1 | 0) != (i9 | 0)) { - i2 = HEAP32[i9 >> 2] | 0; - HEAP32[i9 >> 2] = HEAP32[i1 >> 2]; - HEAP32[i1 >> 2] = i2; - i2 = i9 + 4 | 0; - i6 = i1 + 4 | 0; - i5 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i6 >> 2] = i5; - } - i6 = i9 + 8 | 0; - HEAP32[i10 >> 2] = i6; - i9 = i6; - } - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE14__erase_uniqueIiEEmRKT_(i3, i1) { - i3 = i3 | 0; - i1 = i1 | 0; - var i2 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i5 + 4 | 0; - i4 = i5; - i1 = __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(i3, i1) | 0; - if (!i1) i1 = 0; else { - HEAP32[i4 >> 2] = i1; - HEAP32[i2 >> 2] = HEAP32[i4 >> 2]; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE5eraseENS_21__hash_const_iteratorIPNS_11__hash_nodeIS3_PvEEEE(i3, i2) | 0; - i1 = 1; - } - STACKTOP = i5; - return i1 | 0; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKwm(i7, i8, i9) { - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i10 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i10; - i1 = i7 + 8 | 0; - i6 = i1 + 3 | 0; - i3 = HEAP8[i6 >> 0] | 0; - i4 = i3 << 24 >> 24 < 0; - if (i4) i2 = (HEAP32[i1 >> 2] & 2147483647) + -1 | 0; else i2 = 1; - do if (i2 >>> 0 >= i9 >>> 0) { - if (i4) i1 = HEAP32[i7 >> 2] | 0; else i1 = i7; - __ZNSt3__211char_traitsIwE4moveEPwPKwm(i1, i8, i9) | 0; - HEAP32[i5 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i1 + (i9 << 2) | 0, i5); - if ((HEAP8[i6 >> 0] | 0) < 0) { - HEAP32[i7 + 4 >> 2] = i9; - break; - } else { - HEAP8[i6 >> 0] = i9; - break; - } - } else { - if (i4) i1 = HEAP32[i7 + 4 >> 2] | 0; else i1 = i3 & 255; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEmmmmmmPKw(i7, i2, i9 - i2 | 0, i1, 0, i1, i9, i8); - } while (0); - STACKTOP = i10; - return i7 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i4 = HEAP32[i1 >> 2] | 0; - i5 = HEAP32[i2 + 4 >> 2] | 0; - L1 : do if (i5) { - i6 = i5 + -1 | 0; - i7 = (i6 & i5 | 0) == 0; - if (!i7) if (i4 >>> 0 < i5 >>> 0) i3 = i4; else i3 = (i4 >>> 0) % (i5 >>> 0) | 0; else i3 = i6 & i4; - i1 = HEAP32[(HEAP32[i2 >> 2] | 0) + (i3 << 2) >> 2] | 0; - if (i1) while (1) { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) { - i1 = 0; - break L1; - } - i2 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 | 0) == (i4 | 0)) { - if ((HEAP32[i1 + 8 >> 2] | 0) == (i4 | 0)) break L1; - } else { - if (!i7) { - if (i2 >>> 0 >= i5 >>> 0) i2 = (i2 >>> 0) % (i5 >>> 0) | 0; - } else i2 = i2 & i6; - if ((i2 | 0) != (i3 | 0)) { - i1 = 0; - break L1; - } - } - } else i1 = 0; - } else i1 = 0; while (0); - return i1 | 0; -} - -function ___stdio_read(i5, i6, i7) { - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i8 = 0, i9 = 0, i10 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i1 = i9 + 16 | 0; - i4 = i9; - HEAP32[i4 >> 2] = i6; - i2 = i4 + 4 | 0; - i8 = i5 + 48 | 0; - i10 = HEAP32[i8 >> 2] | 0; - HEAP32[i2 >> 2] = i7 - ((i10 | 0) != 0 & 1); - i3 = i5 + 44 | 0; - HEAP32[i4 + 8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i4 + 12 >> 2] = i10; - HEAP32[i1 >> 2] = HEAP32[i5 + 60 >> 2]; - HEAP32[i1 + 4 >> 2] = i4; - HEAP32[i1 + 8 >> 2] = 2; - i1 = ___syscall_ret(___syscall145(145, i1 | 0) | 0) | 0; - if ((i1 | 0) >= 1) { - i4 = HEAP32[i2 >> 2] | 0; - if (i1 >>> 0 > i4 >>> 0) { - i2 = HEAP32[i3 >> 2] | 0; - i3 = i5 + 4 | 0; - HEAP32[i3 >> 2] = i2; - HEAP32[i5 + 8 >> 2] = i2 + (i1 - i4); - if (!(HEAP32[i8 >> 2] | 0)) i1 = i7; else { - HEAP32[i3 >> 2] = i2 + 1; - HEAP8[i6 + (i7 + -1) >> 0] = HEAP8[i2 >> 0] | 0; - i1 = i7; - } - } - } else HEAP32[i5 >> 2] = HEAP32[i5 >> 2] | i1 & 48 ^ 16; - STACKTOP = i9; - return i1 | 0; -} - -function __ZNSt3__227__num_get_unsigned_integralImEET_PKcS3_Rji(i1, i4, i5, i2) { - i1 = i1 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - var i3 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i8; - do if ((i1 | 0) == (i4 | 0)) { - HEAP32[i5 >> 2] = 4; - i1 = 0; - } else { - if ((HEAP8[i1 >> 0] | 0) == 45) { - HEAP32[i5 >> 2] = 4; - i1 = 0; - break; - } - i7 = ___errno_location() | 0; - i7 = HEAP32[i7 >> 2] | 0; - i3 = ___errno_location() | 0; - HEAP32[i3 >> 2] = 0; - i1 = _strtoull_l(i1, i6, i2, __ZNSt3__26__clocEv() | 0) | 0; - i2 = getTempRet0() | 0; - i3 = ___errno_location() | 0; - i3 = HEAP32[i3 >> 2] | 0; - if (!i3) { - i9 = ___errno_location() | 0; - HEAP32[i9 >> 2] = i7; - } - do if ((HEAP32[i6 >> 2] | 0) == (i4 | 0)) if (i2 >>> 0 > 0 | (i2 | 0) == 0 & i1 >>> 0 > 4294967295 | (i3 | 0) == 34) { - HEAP32[i5 >> 2] = 4; - i1 = -1; - break; - } else break; else { - HEAP32[i5 >> 2] = 4; - i1 = 0; - } while (0); - } while (0); - STACKTOP = i8; - return i1 | 0; -} - -function __ZNSt3__227__num_get_unsigned_integralIjEET_PKcS3_Rji(i1, i4, i5, i2) { - i1 = i1 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - var i3 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i8; - do if ((i1 | 0) == (i4 | 0)) { - HEAP32[i5 >> 2] = 4; - i1 = 0; - } else { - if ((HEAP8[i1 >> 0] | 0) == 45) { - HEAP32[i5 >> 2] = 4; - i1 = 0; break; } - i7 = ___errno_location() | 0; - i7 = HEAP32[i7 >> 2] | 0; - i3 = ___errno_location() | 0; - HEAP32[i3 >> 2] = 0; - i1 = _strtoull_l(i1, i6, i2, __ZNSt3__26__clocEv() | 0) | 0; - i2 = getTempRet0() | 0; - i3 = ___errno_location() | 0; - i3 = HEAP32[i3 >> 2] | 0; - if (!i3) { - i9 = ___errno_location() | 0; - HEAP32[i9 >> 2] = i7; - } - do if ((HEAP32[i6 >> 2] | 0) == (i4 | 0)) if (i2 >>> 0 > 0 | (i2 | 0) == 0 & i1 >>> 0 > 4294967295 | (i3 | 0) == 34) { - HEAP32[i5 >> 2] = 4; - i1 = -1; - break; - } else break; else { - HEAP32[i5 >> 2] = 4; - i1 = 0; - } while (0); - } while (0); - STACKTOP = i8; - return i1 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEmc(i6, i3, i5) { - i6 = i6 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - var i1 = 0, i2 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i9; - if (i3 | 0) { - i8 = i6 + 11 | 0; - i1 = HEAP8[i8 >> 0] | 0; - if (i1 << 24 >> 24 < 0) { - i4 = HEAP32[i6 + 4 >> 2] | 0; - i2 = (HEAP32[i6 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - i4 = i1 & 255; - i2 = 10; - } - if ((i2 - i4 | 0) >>> 0 < i3 >>> 0) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm(i6, i2, i4 + i3 - i2 | 0, i4, i4, 0, 0); - i1 = HEAP8[i8 >> 0] | 0; - } - if (i1 << 24 >> 24 < 0) i2 = HEAP32[i6 >> 2] | 0; else i2 = i6; - __ZNSt3__211char_traitsIcE6assignEPcmc(i2 + i4 | 0, i3, i5) | 0; - i1 = i4 + i3 | 0; - if ((HEAP8[i8 >> 0] | 0) < 0) HEAP32[i6 + 4 >> 2] = i1; else HEAP8[i8 >> 0] = i1; - HEAP8[i7 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2 + i1 | 0, i7); - } - STACKTOP = i9; - return i6 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i4 = HEAP32[i1 >> 2] | 0; - i5 = HEAP32[i2 + 4 >> 2] | 0; - L1 : do if (i5) { - i6 = i5 + -1 | 0; - i7 = (i6 & i5 | 0) == 0; - if (!i7) if (i4 >>> 0 < i5 >>> 0) i3 = i4; else i3 = (i4 >>> 0) % (i5 >>> 0) | 0; else i3 = i6 & i4; - i1 = HEAP32[(HEAP32[i2 >> 2] | 0) + (i3 << 2) >> 2] | 0; - if (i1) while (1) { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) { - i1 = 0; - break L1; - } - i2 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 | 0) == (i4 | 0)) { - if ((HEAP32[i1 + 8 >> 2] | 0) == (i4 | 0)) break L1; - } else { - if (!i7) { - if (i2 >>> 0 >= i5 >>> 0) i2 = (i2 >>> 0) % (i5 >>> 0) | 0; - } else i2 = i2 & i6; - if ((i2 | 0) != (i3 | 0)) { - i1 = 0; - break L1; - } - } - } else i1 = 0; - } else i1 = 0; while (0); - return i1 | 0; -} - -function _fill_inverse_cmap(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 384 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(384); - i10 = i12 + 128 | 0; - i5 = i12; - i11 = HEAP32[(HEAP32[i1 + 460 >> 2] | 0) + 24 >> 2] | 0; - i8 = i2 >>> 2 << 5 | 4; - i6 = i3 >>> 3 << 5 | 2; - i9 = i4 >>> 2 << 5 | 4; - _find_best_colors(i1, i8, i6, i9, _find_nearby_colors(i1, i8, i6, i9, i10) | 0, i10, i5); - i10 = i2 & -4; - i9 = i3 & -8; - i6 = i4 & -4; - i3 = i5; - i5 = 0; - while (1) { - if ((i5 | 0) == 4) break; - i7 = i11 + (i5 + i10 << 2) | 0; - i4 = 0; - i1 = i3; - while (1) { - if ((i4 | 0) == 8) break; - i8 = i1 + 4 | 0; - i2 = (HEAP32[i7 >> 2] | 0) + (i4 + i9 << 6) + (i6 << 1) | 0; - while (1) { - if ((i1 | 0) == (i8 | 0)) break; - HEAP16[i2 >> 1] = (HEAPU8[i1 >> 0] | 0) + 1; - i2 = i2 + 2 | 0; - i1 = i1 + 1 | 0; - } - i4 = i4 + 1 | 0; - i1 = i8; - } - i3 = i3 + 32 | 0; - i5 = i5 + 1 | 0; - } - STACKTOP = i12; - return; -} - -function _int_upsample(i3, i2, i16, i1) { - i3 = i3 | 0; - i2 = i2 | 0; - i16 = i16 | 0; - i1 = i1 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0, i14 = 0, i15 = 0; - i13 = HEAP32[i3 + 452 >> 2] | 0; - i15 = HEAP32[i1 >> 2] | 0; - i8 = HEAP32[i2 + 4 >> 2] | 0; - i12 = HEAPU8[i13 + 140 + i8 >> 0] | 0; - i8 = HEAP8[i13 + 150 + i8 >> 0] | 0; - i13 = i8 & 255; - i14 = i3 + 312 | 0; - i7 = i3 + 112 | 0; - i8 = (i8 & 255) > 1; - i9 = i13 + -1 | 0; - i1 = 0; - i2 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i14 >> 2] | 0)) break; - i4 = HEAP32[i15 + (i1 << 2) >> 2] | 0; - i10 = i4 + (HEAP32[i7 >> 2] | 0) | 0; - i3 = HEAP32[i16 + (i2 << 2) >> 2] | 0; + $2 = 0; + $4 = ($8 | 0) > 0 ? $8 : 0; while (1) { - if (i4 >>> 0 >= i10 >>> 0) break; - i11 = HEAP8[i3 >> 0] | 0; - i5 = i12; - i6 = i4; - while (1) { - if ((i5 | 0) <= 0) break; - HEAP8[i6 >> 0] = i11; - i5 = i5 + -1 | 0; - i6 = i6 + 1 | 0; - } - i3 = i3 + 1 | 0; - i4 = i4 + i12 | 0; - } - if (i8) _jcopy_sample_rows(i15, i1, i15, i1 + 1 | 0, i9, HEAP32[i7 >> 2] | 0); - i1 = i1 + i13 | 0; - i2 = i2 + 1 | 0; - } - return; -} - -function _build_ycc_rgb_table_46(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i2 = HEAP32[i1 + 452 >> 2] | 0; - i3 = i1 + 4 | 0; - i7 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i3 >> 2] >> 2] & 63](i1, 1, 1024) | 0; - i6 = i2 + 16 | 0; - HEAP32[i6 >> 2] = i7; - i7 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i3 >> 2] >> 2] & 63](i1, 1, 1024) | 0; - i4 = i2 + 20 | 0; - HEAP32[i4 >> 2] = i7; - i7 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i3 >> 2] >> 2] & 63](i1, 1, 1024) | 0; - i5 = i2 + 24 | 0; - HEAP32[i5 >> 2] = i7; - i3 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i3 >> 2] >> 2] & 63](i1, 1, 1024) | 0; - HEAP32[i2 + 28 >> 2] = i3; - i1 = -128; - i2 = 0; - while (1) { - if ((i2 | 0) == 256) break; - HEAP32[(HEAP32[i6 >> 2] | 0) + (i2 << 2) >> 2] = (i1 * 91881 | 0) + 32768 >> 16; - HEAP32[(HEAP32[i4 >> 2] | 0) + (i2 << 2) >> 2] = (i1 * 116130 | 0) + 32768 >> 16; - i7 = Math_imul(i1, -46802) | 0; - HEAP32[(HEAP32[i5 >> 2] | 0) + (i2 << 2) >> 2] = i7; - i7 = (Math_imul(i1, -22554) | 0) + 32768 | 0; - HEAP32[i3 + (i2 << 2) >> 2] = i7; - i1 = i1 + 1 | 0; - i2 = i2 + 1 | 0; - } - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE4findIjEENS_15__hash_iteratorIPNS_11__hash_nodeIS2_PvEEEERKT_(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i4 = HEAP32[i1 >> 2] | 0; - i5 = HEAP32[i2 + 4 >> 2] | 0; - L1 : do if (i5) { - i6 = i5 + -1 | 0; - i7 = (i6 & i5 | 0) == 0; - if (!i7) if (i4 >>> 0 < i5 >>> 0) i3 = i4; else i3 = (i4 >>> 0) % (i5 >>> 0) | 0; else i3 = i6 & i4; - i1 = HEAP32[(HEAP32[i2 >> 2] | 0) + (i3 << 2) >> 2] | 0; - if (i1) while (1) { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) { - i1 = 0; - break L1; - } - i2 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 | 0) == (i4 | 0)) { - if ((HEAP32[i1 + 8 >> 2] | 0) == (i4 | 0)) break L1; + if (($4 | 0) == ($2 | 0)) { + $7 = $6 + 28 | 0; + $3 = $6 + 40028 | 0; + $2 = $8; + while (1) { + if (($5 | 0) <= ($2 | 0)) { + $2 = 0; + while (1) { + if (($4 | 0) != ($2 | 0)) { + $7 = $2 - $8 | 0; + $5 = $2 << 2; + HEAP32[(($7 + HEAP32[$6 + 24 >> 2] << 2) + $6 | 0) + 28 >> 2] = HEAP32[$5 + ($9 + 4e4 | 0) >> 2]; + HEAP32[((HEAP32[$6 + 24 >> 2] + $7 << 2) + $6 | 0) + 40028 >> 2] = HEAP32[$5 + $9 >> 2]; + $2 = $2 + 1 | 0; + continue; + } + break; + } + HEAP32[($6 + 28 | 0) + (HEAP32[$6 + 24 >> 2] << 2) >> 2] = HEAP32[$6 + 28 >> 2]; + HEAP32[($6 + 40028 | 0) + (HEAP32[$6 + 24 >> 2] << 2) >> 2] = HEAP32[$6 + 40028 >> 2]; + HEAP32[$6 + 24 >> 2] = HEAP32[$6 + 24 >> 2] + 1; + } else { + $5 = $2 - $8 << 2; + $1 = $2 << 2; + HEAP32[$7 + $5 >> 2] = HEAP32[$7 + $1 >> 2]; + HEAP32[$3 + $5 >> 2] = HEAP32[$1 + $3 >> 2]; + $2 = $2 + 1 | 0; + $5 = HEAP32[$6 + 24 >> 2]; + continue; + } + break; + } } else { - if (!i7) { - if (i2 >>> 0 >= i5 >>> 0) i2 = (i2 >>> 0) % (i5 >>> 0) | 0; - } else i2 = i2 & i6; - if ((i2 | 0) != (i3 | 0)) { - i1 = 0; - break L1; - } - } - } else i1 = 0; - } else i1 = 0; while (0); - return i1 | 0; -} - -function _build_ycc_rgb_table(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i2 = HEAP32[i1 + 456 >> 2] | 0; - i3 = i1 + 4 | 0; - i7 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i3 >> 2] >> 2] & 63](i1, 1, 1024) | 0; - i6 = i2 + 8 | 0; - HEAP32[i6 >> 2] = i7; - i7 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i3 >> 2] >> 2] & 63](i1, 1, 1024) | 0; - i4 = i2 + 12 | 0; - HEAP32[i4 >> 2] = i7; - i7 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i3 >> 2] >> 2] & 63](i1, 1, 1024) | 0; - i5 = i2 + 16 | 0; - HEAP32[i5 >> 2] = i7; - i3 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i3 >> 2] >> 2] & 63](i1, 1, 1024) | 0; - HEAP32[i2 + 20 >> 2] = i3; - i1 = -128; - i2 = 0; - while (1) { - if ((i2 | 0) == 256) break; - HEAP32[(HEAP32[i6 >> 2] | 0) + (i2 << 2) >> 2] = (i1 * 91881 | 0) + 32768 >> 16; - HEAP32[(HEAP32[i4 >> 2] | 0) + (i2 << 2) >> 2] = (i1 * 116130 | 0) + 32768 >> 16; - i7 = Math_imul(i1, -46802) | 0; - HEAP32[(HEAP32[i5 >> 2] | 0) + (i2 << 2) >> 2] = i7; - i7 = (Math_imul(i1, -22554) | 0) + 32768 | 0; - HEAP32[i3 + (i2 << 2) >> 2] = i7; - i1 = i1 + 1 | 0; - i2 = i2 + 1 | 0; - } - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(i2, i1, i6) { - i2 = i2 | 0; - i1 = i1 | 0; - i6 = i6 | 0; - var i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i1; - i7 = i8; - i3 = i6 - i4 | 0; - if (i3 >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i2); - if (i3 >>> 0 < 11) { - HEAP8[i2 + 11 >> 0] = i3; - i5 = i2; - } else { - i9 = i3 + 16 & -16; - i5 = __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE8allocateEm(i9) | 0; - HEAP32[i2 >> 2] = i5; - HEAP32[i2 + 8 >> 2] = i9 | -2147483648; - HEAP32[i2 + 4 >> 2] = i3; - } - i3 = i6 - i4 | 0; - i2 = i5; - while (1) { - if ((i1 | 0) == (i6 | 0)) break; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i1); - i1 = i1 + 1 | 0; - i2 = i2 + 1 | 0; - } - HEAP8[i7 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5 + i3 | 0, i7); - STACKTOP = i8; - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - i12 = i1 + 8 | 0; - i12 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i12 >> 2] | 0) + 20 >> 2] & 127](i12) | 0; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - i3 = HEAP8[i12 + 8 + 3 >> 0] | 0; - i13 = i3 << 24 >> 24 < 0; - i2 = i13 ? HEAP32[i12 >> 2] | 0 : i12; - i3 = i2 + ((i13 ? HEAP32[i12 + 4 >> 2] | 0 : i3 & 255) << 2) | 0; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(i1, i9, i8, i4, i5, i6, i2, i3) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcm(i6, i4, i5) { - i6 = i6 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i1 = 0, i2 = 0, i3 = 0, i7 = 0, i8 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i9; - i8 = i6 + 11 | 0; - i1 = HEAP8[i8 >> 0] | 0; - i2 = i1 << 24 >> 24 < 0; - if (i2) { - i3 = HEAP32[i6 + 4 >> 2] | 0; - i1 = (HEAP32[i6 + 8 >> 2] & 2147483647) + -1 | 0; - } else { - i3 = i1 & 255; - i1 = 10; - } - if ((i1 - i3 | 0) >>> 0 >= i5 >>> 0) { - if (i5 | 0) { - if (i2) i2 = HEAP32[i6 >> 2] | 0; else i2 = i6; - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i2 + i3 | 0, i4, i5) | 0; - i1 = i3 + i5 | 0; - if ((HEAP8[i8 >> 0] | 0) < 0) HEAP32[i6 + 4 >> 2] = i1; else HEAP8[i8 >> 0] = i1; - HEAP8[i7 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2 + i1 | 0, i7); - } - } else __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEmmmmmmPKc(i6, i1, i3 + i5 - i1 | 0, i3, i3, 0, i5, i4); - STACKTOP = i9; - return i6 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE5eraseENS_21__hash_const_iteratorIPNS_11__hash_nodeIS3_PvEEEE(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i6 = i5 + 16 | 0; - i4 = i5 + 4 | 0; - i7 = i5; - i1 = HEAP32[i1 >> 2] | 0; - i3 = HEAP32[i1 >> 2] | 0; - HEAP32[i7 >> 2] = i1; - HEAP32[i6 >> 2] = HEAP32[i7 >> 2]; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE6removeENS_21__hash_const_iteratorIPNS_11__hash_nodeIS3_PvEEEE(i4, i2, i6); - i1 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = 0; - if (i1 | 0) { - if (HEAP8[i4 + 8 >> 0] | 0) __ZNSt3__24pairIKi12arControllerED2Ev(i1 + 8 | 0); - __ZdlPv(i1); - } - STACKTOP = i5; - return i3 | 0; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0, i13 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - i12 = i1 + 8 | 0; - i12 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i12 >> 2] | 0) + 20 >> 2] & 127](i12) | 0; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - i3 = HEAP8[i12 + 11 >> 0] | 0; - i13 = i3 << 24 >> 24 < 0; - i2 = i13 ? HEAP32[i12 >> 2] | 0 : i12; - i3 = i2 + (i13 ? HEAP32[i12 + 4 >> 2] | 0 : i3 & 255) | 0; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(i1, i9, i8, i4, i5, i6, i2, i3) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function _first_marker(i6) { - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0; - i7 = HEAP32[i6 + 24 >> 2] | 0; - i8 = i7 + 4 | 0; - i1 = HEAP32[i8 >> 2] | 0; - if (!i1) if (!(FUNCTION_TABLE_ii[HEAP32[i7 + 12 >> 2] & 127](i6) | 0)) i1 = 0; else { - i1 = HEAP32[i8 >> 2] | 0; - i2 = 4; - } else i2 = 4; - do if ((i2 | 0) == 4) { - i4 = HEAP32[i7 >> 2] | 0; - i1 = i1 + -1 | 0; - i2 = i4 + 1 | 0; - i4 = HEAP8[i4 >> 0] | 0; - i5 = i4 & 255; - if (!i1) { - if (!(FUNCTION_TABLE_ii[HEAP32[i7 + 12 >> 2] & 127](i6) | 0)) { - i1 = 0; - break; + $7 = $2 << 2; + $3 = $7 + $6 | 0; + HEAP32[($9 + 4e4 | 0) + $7 >> 2] = HEAP32[$3 + 28 >> 2]; + HEAP32[$7 + $9 >> 2] = HEAP32[$3 + 40028 >> 2]; + $2 = $2 + 1 | 0; + continue; } - i1 = HEAP32[i8 >> 2] | 0; - i2 = HEAP32[i7 >> 2] | 0; - } - i9 = HEAP8[i2 >> 0] | 0; - i3 = i9 & 255; - if (i4 << 24 >> 24 != -1 | i9 << 24 >> 24 != -40) { - i9 = HEAP32[i6 >> 2] | 0; - HEAP32[i9 + 20 >> 2] = 53; - HEAP32[i9 + 24 >> 2] = i5; - HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] = i3; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i6 >> 2] >> 2] & 255](i6); - } - HEAP32[i6 + 416 >> 2] = i3; - HEAP32[i7 >> 2] = i2 + 1; - HEAP32[i8 >> 2] = i1 + -1; - i1 = 1; - } while (0); - return i1 | 0; -} - -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i4 = HEAP32[i2 >> 2] | 0; - i5 = i2 + 4 | 0; - i6 = i3 + 4 | 0; - i1 = HEAP32[i5 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i8 = (HEAP32[i6 >> 2] | 0) + -20 | 0; - i7 = i1 + -20 | 0; - HEAP32[i8 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i8 + 4 >> 2] = HEAP32[i7 + 4 >> 2]; - HEAP32[i8 + 8 >> 2] = HEAP32[i7 + 8 >> 2]; - HEAP32[i8 + 12 >> 2] = HEAP32[i7 + 12 >> 2]; - HEAP32[i8 + 16 >> 2] = HEAP32[i7 + 16 >> 2]; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + -20; - i1 = i7; - } - i8 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i6 >> 2] = i8; - i8 = i3 + 8 | 0; - i7 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i8 >> 2] = i7; - i5 = i2 + 8 | 0; - i8 = i3 + 12 | 0; - i7 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i8 >> 2] = i7; - HEAP32[i3 >> 2] = HEAP32[i6 >> 2]; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm(i6, i7, i8) { - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i9; - i5 = i6 + 11 | 0; - i1 = HEAP8[i5 >> 0] | 0; - i2 = i1 << 24 >> 24 < 0; - if (i2) i3 = (HEAP32[i6 + 8 >> 2] & 2147483647) + -1 | 0; else i3 = 10; - do if (i3 >>> 0 >= i8 >>> 0) { - if (i2) i1 = HEAP32[i6 >> 2] | 0; else i1 = i6; - __ZNSt3__211char_traitsIcE4moveEPcPKcm(i1, i7, i8) | 0; - HEAP8[i4 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1 + i8 | 0, i4); - if ((HEAP8[i5 >> 0] | 0) < 0) { - HEAP32[i6 + 4 >> 2] = i8; break; - } else { - HEAP8[i5 >> 0] = i8; - break; - } - } else { - if (i2) i1 = HEAP32[i6 + 4 >> 2] | 0; else i1 = i1 & 255; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEmmmmmmPKc(i6, i3, i8 - i3 | 0, i1, 0, i1, i8, i7); - } while (0); - STACKTOP = i9; - return i6 | 0; -} - -function ___newlocale(i7, i8, i1) { - i7 = i7 | 0; - i8 = i8 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i6 = i9; - L1 : do if (!(___loc_is_allocated(i1) | 0)) { - i5 = (i1 | 0) != 0; - i3 = 0; - i4 = 0; - do { - i2 = 1 << i4 & i7; - if (i5 & (i2 | 0) == 0) i2 = HEAP32[i1 + (i4 << 2) >> 2] | 0; else i2 = ___get_locale(i4, (i2 | 0) == 0 ? 58366 : i8) | 0; - i3 = i3 + ((i2 | 0) != 0 & 1) | 0; - HEAP32[i6 + (i4 << 2) >> 2] = i2; - i4 = i4 + 1 | 0; - } while ((i4 | 0) != 6); - switch (i3 & 2147483647 | 0) { - case 0: - { - i1 = 56288; - break L1; - } - case 1: - { - if ((HEAP32[i6 >> 2] | 0) == 13760) { - i1 = 13788; - break L1; - } - break; - } - default: - {} - } - } else { - i2 = 0; - do { - if (1 << i2 & i7 | 0) { - i6 = ___get_locale(i2, i8) | 0; - HEAP32[i1 + (i2 << 2) >> 2] = i6; - } - i2 = i2 + 1 | 0; - } while ((i2 | 0) != 6); - } while (0); - STACKTOP = i9; - return i1 | 0; -} - -function __ZNSt3__225__num_get_signed_integralIxEET_PKcS3_Rji(i1, i4, i5, i2) { - i1 = i1 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - var i3 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i8; - if ((i1 | 0) == (i4 | 0)) { - HEAP32[i5 >> 2] = 4; - i2 = 0; - i1 = 0; - } else { - i7 = ___errno_location() | 0; - i7 = HEAP32[i7 >> 2] | 0; - i3 = ___errno_location() | 0; - HEAP32[i3 >> 2] = 0; - i1 = _strtoll_l(i1, i6, i2, __ZNSt3__26__clocEv() | 0) | 0; - i2 = getTempRet0() | 0; - i3 = ___errno_location() | 0; - i3 = HEAP32[i3 >> 2] | 0; - if (!i3) { - i9 = ___errno_location() | 0; - HEAP32[i9 >> 2] = i7; - } - if ((HEAP32[i6 >> 2] | 0) == (i4 | 0)) { - if ((i3 | 0) == 34) { - HEAP32[i5 >> 2] = 4; - i2 = (i2 | 0) > 0 | (i2 | 0) == 0 & i1 >>> 0 > 0; - i1 = i2 ? -1 : 0; - i2 = i2 ? 2147483647 : -2147483648; - } - } else { - HEAP32[i5 >> 2] = 4; - i1 = 0; - i2 = 0; } + $2 = 0; } - setTempRet0(i2 | 0); - STACKTOP = i8; - return i1 | 0; + __stack_pointer = $9 + 8e4 | 0; + return $2; } -function _arImageProcLumaHistAndOtsu(i10, i1, i11) { - i10 = i10 | 0; - i1 = i1 | 0; - i11 = i11 | 0; - var i2 = 0, d3 = 0.0, d4 = 0.0, d5 = 0.0, d6 = 0.0, d7 = 0.0, i8 = 0, d9 = 0.0, i12 = 0, d13 = 0.0; - i1 = _arImageProcLumaHist(i10, i1) | 0; - if ((i1 | 0) >= 0) { - d9 = 0.0; - i1 = 1; - do { - d9 = d9 + +((Math_imul(HEAP32[i10 + 12 + (i1 << 2) >> 2] | 0, i1) | 0) >>> 0); - i1 = i1 + 1 | 0; - } while ((i1 | 0) != 256); - d7 = +(Math_imul(HEAP32[i10 + 8 >> 2] | 0, HEAP32[i10 + 4 >> 2] | 0) | 0); - i1 = 0; - d4 = 0.0; - d6 = 0.0; - d3 = 0.0; - i8 = 0; - while (1) { - i2 = HEAP32[i10 + 12 + (i8 << 2) >> 2] | 0; - d6 = d6 + +(i2 >>> 0); - if (d6 != 0.0) { - d5 = d7 - d6; - if (d5 == 0.0) break; - d3 = d3 + +((Math_imul(i2, i8) | 0) >>> 0); - d13 = d3 / d6 - (d9 - d3) / d5; - d5 = d13 * (d6 * d5 * d13); - i12 = d5 > d4; - i2 = i8 & 255; - i1 = i12 ? i2 : i1; - d4 = i12 ? d5 : d4; - } else i2 = i8 & 255; - if (i2 << 24 >> 24 == -1) break; else i8 = i8 + 1 | 0; - } - HEAP8[i11 >> 0] = i1; - i1 = 0; - } - return i1 | 0; -} - -function _EX(i3, i8) { - i3 = i3 | 0; - i8 = i8 | 0; - var i1 = 0, d2 = 0.0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0; - i7 = HEAP32[i3 + 4 >> 2] | 0; - i9 = HEAP32[i3 + 8 >> 2] | 0; - L1 : do if (!((i7 | 0) < 1 | (i9 | 0) < 1) ? (HEAP32[i8 + 4 >> 2] | 0) == (i9 | 0) : 0) { - i1 = 0; - while (1) { - if ((i1 | 0) == (i9 | 0)) break; - HEAPF64[(HEAP32[i8 >> 2] | 0) + (i1 << 3) >> 3] = 0.0; - i1 = i1 + 1 | 0; - } - i3 = HEAP32[i3 >> 2] | 0; - i5 = 0; - while (1) { - if ((i5 | 0) == (i7 | 0)) break; - i1 = 0; - i4 = HEAP32[i8 >> 2] | 0; - i6 = i3; - while (1) { - if ((i1 | 0) == (i9 | 0)) break; - HEAPF64[i4 >> 3] = +HEAPF64[i6 >> 3] + +HEAPF64[i4 >> 3]; - i1 = i1 + 1 | 0; - i4 = i4 + 8 | 0; - i6 = i6 + 8 | 0; - } - i3 = i3 + (i9 << 3) | 0; - i5 = i5 + 1 | 0; +function std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____________split_buffer_28_29($0) { + std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________deallocate_28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20unsigned_20long_29(std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________capacity_28_29_20const($0)); + } + return $0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______29($0, $1) { + var $2 = 0; + $0 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________node_alloc_28_29($0); + while (1) { + if ($1) { + $2 = HEAP32[$1 >> 2]; + $1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________upcast_28_29($1); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______destroy_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______29($0, std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_________get_ptr_28std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______29($1 + 8 | 0)); + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20unsigned_20long_29($0, $1, 1); + $1 = $2; + continue; } - d2 = +(i7 | 0); - i1 = 0; + break; + } +} + +function arPattLoadFromBuffer($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + if (!$0) { + arLog(0, 3, 2975, 0); + return -1; + } + if ($1) { + $3 = HEAP32[$0 + 4 >> 2]; + $8 = ($3 | 0) > 0 ? $3 : 0; while (1) { - if ((i1 | 0) == (i9 | 0)) { - i1 = 0; - break L1; + label$4: { + if (($2 | 0) != ($8 | 0)) { + if (HEAP32[HEAP32[$0 + 8 >> 2] + ($2 << 2) >> 2]) { + break label$4; + } + $8 = $2; + } + $2 = -1; + if (($3 | 0) != ($8 | 0)) { + $10 = strdup($1); + if (!$10) { + arLog(0, 3, 3925, 0); + return -1; + } + $14 = $8 << 2; + $1 = strtok($10, 1408); + while (1) { + if (($12 | 0) != 4) { + $11 = $12 + $14 | 0; + $4 = 0; + $7 = 0; + while (1) { + if (($4 | 0) != 3) { + $3 = HEAP32[$0 + 28 >> 2]; + $6 = 0; + while (1) { + if (($3 | 0) > ($6 | 0)) { + $2 = 0; + while (1) { + if (($2 | 0) < ($3 | 0)) { + if ($1) { + $3 = atoi($1); + $1 = strtok(0, 1408); + $5 = $11 << 2; + $3 = 255 - $3 | 0; + HEAP32[HEAP32[$5 + HEAP32[$0 + 12 >> 2] >> 2] + (Math_imul(Math_imul(HEAP32[$0 + 28 >> 2], $6) + $2 | 0, 3) + $4 << 2) >> 2] = $3; + $13 = HEAP32[HEAP32[$0 + 20 >> 2] + $5 >> 2]; + $5 = $13 + (Math_imul(HEAP32[$0 + 28 >> 2], $6) + $2 << 2) | 0; + label$17: { + if (!$4) { + HEAP32[$5 >> 2] = $3; + break label$17; + } + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $3; + if (($4 | 0) != 2) { + break label$17; + } + $5 = (Math_imul(HEAP32[$0 + 28 >> 2], $6) + $2 << 2) + $13 | 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] / 3; + } + $2 = $2 + 1 | 0; + $7 = $3 + $7 | 0; + $3 = HEAP32[$0 + 28 >> 2]; + continue; + } else { + arLog(0, 3, 4671, 0); + dlfree($10); + return -1; + } + } + break; + } + $6 = $6 + 1 | 0; + continue; + } + break; + } + $4 = $4 + 1 | 0; + continue; + } + break; + } + $2 = HEAP32[$0 + 28 >> 2]; + $5 = ($7 | 0) / (Math_imul(Math_imul($2, $2), 3) | 0) | 0; + $3 = 0; + $4 = 0; + while (1) { + if ($3 >>> 0 < Math_imul(Math_imul($2, $2), 3) >>> 0) { + $2 = HEAP32[HEAP32[$0 + 12 >> 2] + ($11 << 2) >> 2] + ($3 << 2) | 0; + $7 = $2; + $2 = HEAP32[$2 >> 2] - $5 | 0; + HEAP32[$7 >> 2] = $2; + $4 = Math_imul($2, $2) + $4 | 0; + $3 = $3 + 1 | 0; + $2 = HEAP32[$0 + 28 >> 2]; + continue; + } + break; + } + $6 = $11 << 3; + $9 = Math_sqrt(+($4 | 0)); + HEAPF64[$6 + HEAP32[$0 + 16 >> 2] >> 3] = $9 == 0 ? 1e-7 : $9; + $3 = 0; + $4 = 0; + while (1) { + if ($3 >>> 0 < Math_imul($2, $2) >>> 0) { + $2 = HEAP32[HEAP32[$0 + 20 >> 2] + ($11 << 2) >> 2] + ($3 << 2) | 0; + $7 = $2; + $2 = HEAP32[$2 >> 2] - $5 | 0; + HEAP32[$7 >> 2] = $2; + $4 = Math_imul($2, $2) + $4 | 0; + $3 = $3 + 1 | 0; + $2 = HEAP32[$0 + 28 >> 2]; + continue; + } + break; + } + $9 = Math_sqrt(+($4 | 0)); + HEAPF64[HEAP32[$0 + 24 >> 2] + $6 >> 3] = $9 == 0 ? 1e-7 : $9; + $12 = $12 + 1 | 0; + continue; + } + break; + } + dlfree($10); + HEAP32[HEAP32[$0 + 8 >> 2] + ($8 << 2) >> 2] = 1; + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $2 = $8; + } + return $2; } - i7 = (HEAP32[i8 >> 2] | 0) + (i1 << 3) | 0; - HEAPF64[i7 >> 3] = +HEAPF64[i7 >> 3] / d2; - i1 = i1 + 1 | 0; + $2 = $2 + 1 | 0; + continue; } - } else i1 = -1; while (0); - return i1 | 0; + } + arLog(0, 3, 3473, 0); + return -1; } -function _jpeg_consume_input(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0; - i3 = i2 + 20 | 0; - i1 = HEAP32[i3 >> 2] | 0; - switch (i1 | 0) { - case 200: - { - i1 = i2 + 436 | 0; - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 4 >> 2] & 255](i2); - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i2 + 24 >> 2] | 0) + 8 >> 2] & 255](i2); - HEAP32[i3 >> 2] = 201; - i4 = 4; - break; - } - case 201: - { - i1 = i2 + 436 | 0; - i4 = 4; - break; +function jpeg_idct_6x3($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + $9 = HEAP32[$0 + 336 >> 2]; + $7 = HEAP16[$2 + 16 >> 1]; + $0 = HEAP32[$1 + 84 >> 2]; + $6 = HEAP32[$0 + 32 >> 2]; + $5 = __stack_pointer; + $1 = $5 - 80 | 0; + $8 = Math_imul(HEAP16[$2 >> 1], HEAP32[$0 >> 2]) << 13 | 1024; + $5 = Math_imul(HEAP32[$0 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + HEAP32[$1 + 24 >> 2] = $8 + Math_imul($5, -11586) >> 11; + $5 = Math_imul($5, 5793) + $8 | 0; + $7 = Math_imul(Math_imul($6, $7), 10033); + HEAP32[$1 + 48 >> 2] = $5 - $7 >> 11; + HEAP32[$1 >> 2] = $5 + $7 >> 11; + $5 = HEAP32[$0 + 36 >> 2]; + $7 = HEAP16[$2 + 18 >> 1]; + $8 = Math_imul(HEAP16[$2 + 2 >> 1], HEAP32[$0 + 4 >> 2]) << 13 | 1024; + $6 = Math_imul(HEAP32[$0 + 68 >> 2], HEAP16[$2 + 34 >> 1]); + HEAP32[$1 + 28 >> 2] = $8 + Math_imul($6, -11586) >> 11; + $6 = Math_imul($6, 5793) + $8 | 0; + $5 = Math_imul(Math_imul($5, $7), 10033); + HEAP32[$1 + 52 >> 2] = $6 - $5 >> 11; + HEAP32[$1 + 4 >> 2] = $5 + $6 >> 11; + $5 = HEAP32[$0 + 40 >> 2]; + $7 = HEAP16[$2 + 20 >> 1]; + $8 = Math_imul(HEAP16[$2 + 4 >> 1], HEAP32[$0 + 8 >> 2]) << 13 | 1024; + $6 = Math_imul(HEAP32[$0 + 72 >> 2], HEAP16[$2 + 36 >> 1]); + HEAP32[$1 + 32 >> 2] = $8 + Math_imul($6, -11586) >> 11; + $6 = Math_imul($6, 5793) + $8 | 0; + $5 = Math_imul(Math_imul($5, $7), 10033); + HEAP32[$1 + 56 >> 2] = $6 - $5 >> 11; + HEAP32[$1 + 8 >> 2] = $5 + $6 >> 11; + $5 = HEAP32[$0 + 44 >> 2]; + $7 = HEAP16[$2 + 22 >> 1]; + $8 = Math_imul(HEAP16[$2 + 6 >> 1], HEAP32[$0 + 12 >> 2]) << 13 | 1024; + $6 = Math_imul(HEAP32[$0 + 76 >> 2], HEAP16[$2 + 38 >> 1]); + HEAP32[$1 + 36 >> 2] = $8 + Math_imul($6, -11586) >> 11; + $6 = Math_imul($6, 5793) + $8 | 0; + $5 = Math_imul(Math_imul($5, $7), 10033); + HEAP32[$1 + 60 >> 2] = $6 - $5 >> 11; + HEAP32[$1 + 12 >> 2] = $5 + $6 >> 11; + $5 = HEAP32[$0 + 48 >> 2]; + $7 = HEAP16[$2 + 24 >> 1]; + $8 = Math_imul(HEAP16[$2 + 8 >> 1], HEAP32[$0 + 16 >> 2]) << 13 | 1024; + $6 = Math_imul(HEAP32[$0 + 80 >> 2], HEAP16[$2 + 40 >> 1]); + HEAP32[$1 + 40 >> 2] = $8 + Math_imul($6, -11586) >> 11; + $6 = Math_imul($6, 5793) + $8 | 0; + $5 = Math_imul(Math_imul($5, $7), 10033); + HEAP32[$1 + 64 >> 2] = $6 - $5 >> 11; + HEAP32[$1 + 16 >> 2] = $5 + $6 >> 11; + $5 = HEAP32[$0 + 52 >> 2]; + $7 = HEAP16[$2 + 26 >> 1]; + $6 = Math_imul(HEAP32[$0 + 84 >> 2], HEAP16[$2 + 42 >> 1]); + $2 = Math_imul(HEAP16[$2 + 10 >> 1], HEAP32[$0 + 20 >> 2]) << 13 | 1024; + HEAP32[$1 + 44 >> 2] = $2 + Math_imul($6, -11586) >> 11; + $2 = Math_imul($6, 5793) + $2 | 0; + $0 = Math_imul(Math_imul($5, $7), 10033); + HEAP32[$1 + 68 >> 2] = $2 - $0 >> 11; + HEAP32[$1 + 20 >> 2] = $0 + $2 >> 11; + $0 = $9 - 384 | 0; + $2 = $1; + $5 = 0; + while (1) { + $1 = HEAP32[($5 << 2) + $3 >> 2] + $4 | 0; + $7 = HEAP32[$2 + 4 >> 2]; + $9 = HEAP32[$2 + 20 >> 2]; + $8 = Math_imul($7 + $9 | 0, 2998); + $6 = HEAP32[$2 + 12 >> 2]; + $10 = $8 + ($7 + $6 << 13) | 0; + $11 = (HEAP32[$2 >> 2] << 13) + 134348800 | 0; + $12 = HEAP32[$2 + 16 >> 2]; + $13 = $11 + Math_imul($12, 5793) | 0; + $14 = Math_imul(HEAP32[$2 + 8 >> 2], 10033); + $15 = $13 + $14 | 0; + HEAP8[$1 | 0] = HEAPU8[($10 + $15 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 5 | 0] = HEAPU8[($15 - $10 >>> 18 & 1023) + $0 | 0]; + $7 = $7 - ($6 + $9 | 0) << 13; + $10 = Math_imul($12, -11586) + $11 | 0; + HEAP8[$1 + 1 | 0] = HEAPU8[($7 + $10 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 4 | 0] = HEAPU8[($10 - $7 >>> 18 & 1023) + $0 | 0]; + $7 = $13 - $14 | 0; + $9 = ($9 - $6 << 13) + $8 | 0; + HEAP8[$1 + 2 | 0] = HEAPU8[($7 + $9 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 3 | 0] = HEAPU8[($7 - $9 >>> 18 & 1023) + $0 | 0]; + $2 = $2 + 24 | 0; + $5 = $5 + 1 | 0; + if (($5 | 0) != 3) { + continue; } - case 202: - { - i1 = 1; - break; - } - case 210: - case 208: - case 207: - case 206: - case 205: - case 204: - case 203: - { - i1 = FUNCTION_TABLE_ii[HEAP32[HEAP32[i2 + 436 >> 2] >> 2] & 127](i2) | 0; - break; + break; + } +} + +function vision__FindHoughMatches_28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____2c_20vision__HoughSimilarityVoting_20const__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20int_2c_20float_29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0; + $5 = __stack_pointer - 32 | 0; + __stack_pointer = $5; + vision__HoughSimilarityVoting__getBinsFromIndex_28int__2c_20int__2c_20int__2c_20int__2c_20int_29_20const($1, $5 + 12 | 0, $5 + 8 | 0, $5 + 4 | 0, $5, $3); + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____clear_28_29($0); + $6 = std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const(vision__HoughSimilarityVoting__getSubBinLocationIndices_28_29_20const($1)); + $3 = std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const(vision__HoughSimilarityVoting__getSubBinLocations_28_29_20const($1)); + label$1: { + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($2) >>> 0 >= $6 >>> 0) { + $6 = ($6 | 0) > 0 ? $6 : 0; + while (1) { + if (($6 | 0) == ($7 | 0)) { + break label$1; + } + vision__HoughSimilarityVoting__getBinDistance_28float__2c_20float__2c_20float__2c_20float__2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29_20const($1, $5 + 28 | 0, $5 + 24 | 0, $5 + 20 | 0, $5 + 16 | 0, HEAPF32[$3 >> 2], HEAPF32[$3 + 4 >> 2], HEAPF32[$3 + 8 >> 2], HEAPF32[$3 + 12 >> 2], Math_fround(+HEAP32[$5 + 12 >> 2] + .5), Math_fround(+HEAP32[$5 + 8 >> 2] + .5), Math_fround(+HEAP32[$5 + 4 >> 2] + .5), Math_fround(+HEAP32[$5 >> 2] + .5)); + if (!(!(HEAPF32[$5 + 28 >> 2] < $4) | !(HEAPF32[$5 + 24 >> 2] < $4) | (!(HEAPF32[$5 + 20 >> 2] < $4) | !(HEAPF32[$5 + 16 >> 2] < $4)))) { + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____push_back_28vision__match_t_20const__29($0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($2, HEAP32[std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29_20const(vision__HoughSimilarityVoting__getSubBinLocationIndices_28_29_20const($1), $7) >> 2])); + } + $3 = $3 + 16 | 0; + $7 = $7 + 1 | 0; + continue; + } } - default: - { - i3 = HEAP32[i2 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 20; - HEAP32[i3 + 24 >> 2] = i1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i2 >> 2] >> 2] & 255](i2); - i1 = 0; - } - } - if ((i4 | 0) == 4) { - i1 = FUNCTION_TABLE_ii[HEAP32[HEAP32[i1 >> 2] >> 2] & 127](i2) | 0; - if ((i1 | 0) == 1) { - _default_decompress_parms(i2); - HEAP32[i3 >> 2] = 202; - i1 = 1; - } - } - return i1 | 0; -} - -function __ZN6vision21OrientationAssignment5allocEmmiiiffif(i3, i10, i11, i12, i13, i1, d6, d7, i2, d8) { - i3 = i3 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i1 = i1 | 0; - d6 = +d6; - d7 = +d7; - i2 = i2 | 0; - d8 = +d8; - var i4 = 0, i5 = 0, i9 = 0; - HEAP32[i3 >> 2] = i12; - i5 = i3 + 4 | 0; - HEAP32[i5 >> 2] = i13; - HEAP32[i3 + 8 >> 2] = i1; - HEAPF32[i3 + 12 >> 2] = d6; - HEAPF32[i3 + 16 >> 2] = d7; - HEAP32[i3 + 20 >> 2] = i2; - HEAPF32[i3 + 24 >> 2] = d8; - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm(i3 + 28 | 0, i1); - i9 = i3 + 40 | 0; - __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE6resizeEm(i9, Math_imul(HEAP32[i5 >> 2] | 0, HEAP32[i3 >> 2] | 0) | 0); - i2 = 0; - while (1) { - if ((i2 | 0) == (i12 | 0)) break; - i3 = Math_imul(i2, i13) | 0; - i4 = i10 >>> i2; - i5 = i11 >>> i2; - i1 = 0; - while (1) { - if ((i1 | 0) == (i13 | 0)) break; - __ZN6vision5Image5allocENS_9ImageTypeEmmim((HEAP32[i9 >> 2] | 0) + (i1 + i3 << 5) | 0, 2, i4, i5, -1, 2); - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - return; -} - -function _alloc_funny_pointers(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i5 = HEAP32[i3 + 424 >> 2] | 0; - i8 = i3 + 316 | 0; - i6 = HEAP32[i8 >> 2] | 0; - i9 = i3 + 4 | 0; - i10 = i3 + 36 | 0; - i1 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i9 >> 2] >> 2] & 63](i3, 1, HEAP32[i10 >> 2] << 3) | 0; - i4 = i5 + 56 | 0; - HEAP32[i4 >> 2] = i1; - i7 = HEAP32[i10 >> 2] | 0; - i5 = i5 + 60 | 0; - HEAP32[i5 >> 2] = i1 + (i7 << 2); - i6 = i6 + 4 | 0; - i1 = 0; - i2 = HEAP32[i3 + 216 >> 2] | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23378), 8168), 9176), 342), 10040), 23453), 16); + abort(); + abort(); + } + __stack_pointer = $5 + 32 | 0; +} + +function std____2__enable_if___is_cpp17_forward_iterator_std____2____wrap_iter_int_20const_____value_20___20is_constructible_int_2c_20std____2__iterator_traits_std____2____wrap_iter_int_20const_____reference___value_2c_20std____2____wrap_iter_int_____type_20std____2__vector_int_2c_20std____2__allocator_int____insert_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + HEAP32[$4 + 24 >> 2] = $1; + $1 = HEAP32[$0 >> 2]; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__vector_int_2c_20std____2__allocator_int____begin_28_29($0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $1 = (decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__int_20const__2c_20int___28std____2____wrap_iter_int_20const___20const__2c_20std____2____wrap_iter_int___20const__29($4 + 24 | 0, $4) << 2) + $1 | 0; + $5 = std____2__iterator_traits_std____2____wrap_iter_int_20const_____difference_type_20std____2__distance_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___29($2, $3); + label$1: { + if (($5 | 0) <= 0) { + break label$1; + } + $6 = HEAP32[std____2__vector_int_2c_20std____2__allocator_int______end_cap_28_29($0) >> 2]; + $7 = HEAP32[$0 + 4 >> 2]; + if ($6 - $7 >> 2 >= ($5 | 0)) { + HEAP32[$4 >> 2] = $3; + $8 = $7 - $1 | 0; + $6 = $8 >> 2; + if (($6 | 0) < ($5 | 0)) { + HEAP32[$4 >> 2] = $2; + void_20std____2__advance_std____2____wrap_iter_int_20const___2c_20long_2c_20long_2c_20void__28std____2____wrap_iter_int_20const____2c_20long_29($4, $6); + std____2__enable_if___is_cpp17_forward_iterator_std____2____wrap_iter_int_20const_____value_2c_20void___type_20std____2__vector_int_2c_20std____2__allocator_int______construct_at_end_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___2c_20unsigned_20long_29($0, HEAP32[$4 >> 2], $3, $5 - $6 | 0); + if (($8 | 0) <= 0) { + break label$1; + } + } + std____2__vector_int_2c_20std____2__allocator_int______move_range_28int__2c_20int__2c_20int__29($0, $1, $7, ($5 << 2) + $1 | 0); + int__20std____2__copy_std____2____wrap_iter_int_20const___2c_20int___28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___2c_20int__29($2, HEAP32[$4 >> 2], $1); + break label$1; + } + $7 = std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0); + $5 = std____2____split_buffer_int_2c_20std____2__allocator_int_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_int___29($4, std____2__vector_int_2c_20std____2__allocator_int______recommend_28unsigned_20long_29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0) + $5 | 0), $1 - HEAP32[$0 >> 2] >> 2, $7); + std____2__enable_if___is_cpp17_forward_iterator_std____2____wrap_iter_int_20const_____value_2c_20void___type_20std____2____split_buffer_int_2c_20std____2__allocator_int_______construct_at_end_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___29($5, $2, $3); + $1 = std____2__vector_int_2c_20std____2__allocator_int______swap_out_circular_buffer_28std____2____split_buffer_int_2c_20std____2__allocator_int_____2c_20int__29($0, $5, $1); + std____2____split_buffer_int_2c_20std____2__allocator_int________split_buffer_28_29($5); + } + $0 = std____2__vector_int_2c_20std____2__allocator_int______make_iter_28int__29($0, $1); + __stack_pointer = $4 + 32 | 0; + return $0; +} + +function ar2GetResolution2($0, $1, $2, $3) { + var $4 = Math_fround(0), $5 = Math_fround(0), $6 = Math_fround(0), $7 = Math_fround(0), $8 = Math_fround(0), $9 = 0, $10 = Math_fround(0), $11 = Math_fround(0), $12 = Math_fround(0), $13 = Math_fround(0), $14 = Math_fround(0), $15 = Math_fround(0), $16 = Math_fround(0), $17 = Math_fround(0), $18 = Math_fround(0), $19 = Math_fround(0), $20 = Math_fround(0), $21 = Math_fround(0), $22 = Math_fround(0), $23 = Math_fround(0), $24 = Math_fround(0); + $9 = __stack_pointer - 48 | 0; + __stack_pointer = $9; + label$1: { + if ($0) { + arUtilMatMuldff($0 + 8 | 0, $1, $9); + $6 = HEAPF32[$9 + 28 >> 2]; + $16 = HEAPF32[$9 + 16 >> 2]; + $4 = HEAPF32[$2 >> 2]; + $8 = Math_fround($16 * $4); + $14 = HEAPF32[$2 + 4 >> 2]; + $10 = HEAPF32[$9 + 20 >> 2]; + $13 = Math_fround($14 * $10); + $11 = HEAPF32[$9 + 44 >> 2]; + $17 = HEAPF32[$9 + 32 >> 2]; + $18 = Math_fround($17 * $4); + $19 = HEAPF32[$9 + 36 >> 2]; + $20 = Math_fround($14 * $19); + $7 = Math_fround($11 + Math_fround($18 + $20)); + $5 = Math_fround(Math_fround($6 + Math_fround($8 + $13)) / $7); + $15 = HEAPF32[$9 + 12 >> 2]; + $21 = HEAPF32[$9 >> 2]; + $22 = Math_fround($21 * $4); + $23 = HEAPF32[$9 + 4 >> 2]; + $24 = Math_fround($14 * $23); + $7 = Math_fround(Math_fround($15 + Math_fround($22 + $24)) / $7); + $12 = Math_fround($14 + Math_fround(10)); + $10 = Math_fround($6 + Math_fround($8 + Math_fround($12 * $10))); + $8 = Math_fround($11 + Math_fround($18 + Math_fround($12 * $19))); + $14 = Math_fround($10 / $8); + $12 = Math_fround(Math_fround($15 + Math_fround($22 + Math_fround($12 * $23))) / $8); + $8 = Math_fround($4 + Math_fround(10)); + $4 = Math_fround($6 + Math_fround(Math_fround($16 * $8) + $13)); + $6 = Math_fround($11 + Math_fround(Math_fround($17 * $8) + $20)); + $4 = Math_fround($4 / $6); + $6 = Math_fround(Math_fround($15 + Math_fround(Math_fround($21 * $8) + $24)) / $6); + break label$1; + } + $6 = HEAPF32[$1 + 16 >> 2]; + $5 = HEAPF32[$2 >> 2]; + $16 = Math_fround($6 * $5); + $15 = HEAPF32[$1 + 44 >> 2]; + $13 = HEAPF32[$1 + 32 >> 2]; + $17 = Math_fround($13 * $5); + $7 = HEAPF32[$2 + 4 >> 2]; + $4 = Math_fround($7 + Math_fround(10)); + $18 = HEAPF32[$1 + 36 >> 2]; + $12 = Math_fround($15 + Math_fround($17 + Math_fround($4 * $18))); + $11 = HEAPF32[$1 + 28 >> 2]; + $10 = HEAPF32[$1 + 20 >> 2]; + $14 = Math_fround(Math_fround($11 + Math_fround($16 + Math_fround($4 * $10))) / $12); + $8 = HEAPF32[$1 + 12 >> 2]; + $19 = HEAPF32[$1 >> 2]; + $20 = Math_fround($19 * $5); + $21 = HEAPF32[$1 + 4 >> 2]; + $12 = Math_fround(Math_fround($8 + Math_fround($20 + Math_fround($4 * $21))) / $12); + $5 = Math_fround($5 + Math_fround(10)); + $10 = Math_fround($7 * $10); + $4 = Math_fround($11 + Math_fround(Math_fround($6 * $5) + $10)); + $6 = Math_fround($13 * $5); + $13 = Math_fround($7 * $18); + $6 = Math_fround($15 + Math_fround($6 + $13)); + $4 = Math_fround($4 / $6); + $7 = Math_fround($7 * $21); + $6 = Math_fround(Math_fround($8 + Math_fround(Math_fround($19 * $5) + $7)) / $6); + $5 = Math_fround($11 + Math_fround($16 + $10)); + $11 = Math_fround($15 + Math_fround($17 + $13)); + $5 = Math_fround($5 / $11); + $7 = Math_fround(Math_fround($8 + Math_fround($20 + $7)) / $11); + } + $6 = Math_fround($6 - $7); + $4 = Math_fround($4 - $5); + $4 = Math_fround(Math_fround($6 * $6) + Math_fround($4 * $4)); + $7 = Math_fround($12 - $7); + $5 = Math_fround($14 - $5); + $5 = Math_fround(Math_fround($7 * $7) + Math_fround($5 * $5)); + $1 = $4 < $5; + HEAPF32[$3 + 4 >> 2] = Math_fround(Math_sqrt($1 ? $4 : $5)) * Math_fround(2.5399999618530273); + HEAPF32[$3 >> 2] = Math_fround(Math_sqrt($1 ? $5 : $4)) * Math_fround(2.5399999618530273); + __stack_pointer = $9 + 48 | 0; + return 0; +} + +function setCamera($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 28 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 28 | 0), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = -1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 16 | 0, $2 + 8 | 0)) { + break label$1; + } + $1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 28 | 0); + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____find_28int_20const__29(78e3, $2 + 24 | 0), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____end_28_29(78e3), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20const__29($2 + 16 | 0, $2 + 8 | 0)) { + break label$1; + } + $4 = __memcpy($1 + 8 | 0, std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____operator_5b_5d_28int_20const__29(78e3, $2 + 24 | 0), 184); + $5 = HEAP32[$1 + 8 >> 2]; + $3 = HEAP32[$1 + 12 >> 2]; + if (!(($5 | 0) == HEAP32[$1 + 208 >> 2] & ($3 | 0) == HEAP32[$1 + 212 >> 2])) { + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 >> 2] = $5; + arLog(0, 2, 39970, $2); + arParamChangeSize($4, HEAP32[$1 + 208 >> 2], HEAP32[$1 + 212 >> 2], $4); + } + deleteHandle($1); + $3 = arParamLTCreate($4, 15); + HEAP32[$1 + 192 >> 2] = $3; + if (!$3) { + arLog(0, 3, 39220, 0); + break label$1; + } + $3 = arCreateHandle($3); + HEAP32[$1 + 216 >> 2] = $3; + if (!$3) { + arLog(0, 3, 39402, 0); + break label$1; + } + arSetPixelFormat($3, HEAP32[$1 + 472 >> 2]); + $4 = ar3DCreateHandle($4); + HEAP32[$1 + 228 >> 2] = $4; + if (!$4) { + arLog(0, 3, 32181, 0); + break label$1; + } + arPattAttach(HEAP32[$1 + 216 >> 2], HEAP32[$1 + 220 >> 2]); + arglCameraFrustumRH(HEAP32[$1 + 192 >> 2], HEAPF64[$1 + 312 >> 3], HEAPF64[$1 + 320 >> 3], $1 + 344 | 0); + wasm2js_i32$0 = $1, wasm2js_i32$1 = createKpmHandle(HEAP32[$1 + 192 >> 2]), HEAP32[wasm2js_i32$0 + 232 >> 2] = wasm2js_i32$1; + $0 = 0; + } + __stack_pointer = $2 + 32 | 0; + return $0; +} + +function arDetectMarker2($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0; + if (($3 | 0) == 1) { + $1 = ($1 | 0) / 2 | 0; + $4 = ($4 | 0) / 4 | 0; + $5 = ($5 | 0) / 4 | 0; + $0 = ($0 | 0) / 2 | 0; + } + HEAP32[$8 >> 2] = 0; + $14 = $2 + 1179664 | 0; + $15 = $1 - 2 | 0; + $11 = $0 - 2 | 0; + $1 = 0; while (1) { - if ((i1 | 0) >= (i7 | 0)) break; - i11 = Math_imul(HEAP32[i2 + 36 >> 2] | 0, HEAP32[i2 + 12 >> 2] | 0) | 0; - i11 = (i11 | 0) / (HEAP32[i8 >> 2] | 0) | 0; - i7 = Math_imul(i11, i6) | 0; - i11 = (FUNCTION_TABLE_iiii[HEAP32[HEAP32[i9 >> 2] >> 2] & 63](i3, 1, i7 << 3) | 0) + (i11 << 2) | 0; - HEAP32[(HEAP32[i4 >> 2] | 0) + (i1 << 2) >> 2] = i11; - HEAP32[(HEAP32[i5 >> 2] | 0) + (i1 << 2) >> 2] = i11 + (i7 << 2); - i1 = i1 + 1 | 0; - i2 = i2 + 84 | 0; - i7 = HEAP32[i10 >> 2] | 0; - } - return; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEmmmmmm(i4, i5, i1, i3, i8, i9, i10) { - i4 = i4 | 0; - i5 = i5 | 0; - i1 = i1 | 0; - i3 = i3 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - var i2 = 0, i6 = 0, i7 = 0, i11 = 0; - if ((1073741807 - i5 | 0) >>> 0 < i1 >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i4); - i11 = i4 + 8 | 0; - if ((HEAP8[i11 + 3 >> 0] | 0) < 0) i7 = HEAP32[i4 >> 2] | 0; else i7 = i4; - if (i5 >>> 0 < 536870887) { - i1 = i1 + i5 | 0; - i2 = i5 << 1; - i1 = i1 >>> 0 < i2 >>> 0 ? i2 : i1; - i1 = i1 >>> 0 < 2 ? 2 : i1 + 4 & -4; - if (i1 >>> 0 > 1073741823) _abort(); else i6 = i1; - } else i6 = 1073741807; - i2 = __Znwm(i6 << 2) | 0; - if (i8 | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm(i2, i7, i8) | 0; - i1 = i3 - i9 - i8 | 0; - if (i1 | 0) __ZNSt3__211char_traitsIwE4copyEPwPKwm(i2 + (i8 << 2) + (i10 << 2) | 0, i7 + (i8 << 2) + (i9 << 2) | 0, i1) | 0; - if ((i5 | 0) != 1) __ZdlPv(i7); - HEAP32[i4 >> 2] = i2; - HEAP32[i11 >> 2] = i6 | -2147483648; - return; -} - -function _memset(i5, i6, i4) { - i5 = i5 | 0; - i6 = i6 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i7 = 0; - i3 = i5 + i4 | 0; - i6 = i6 & 255; - if ((i4 | 0) >= 67) { - while (i5 & 3) { - HEAP8[i5 >> 0] = i6; - i5 = i5 + 1 | 0; - } - i1 = i3 & -4 | 0; - i7 = i6 | i6 << 8 | i6 << 16 | i6 << 24; - i2 = i1 - 64 | 0; - while ((i5 | 0) <= (i2 | 0)) { - HEAP32[i5 >> 2] = i7; - HEAP32[i5 + 4 >> 2] = i7; - HEAP32[i5 + 8 >> 2] = i7; - HEAP32[i5 + 12 >> 2] = i7; - HEAP32[i5 + 16 >> 2] = i7; - HEAP32[i5 + 20 >> 2] = i7; - HEAP32[i5 + 24 >> 2] = i7; - HEAP32[i5 + 28 >> 2] = i7; - HEAP32[i5 + 32 >> 2] = i7; - HEAP32[i5 + 36 >> 2] = i7; - HEAP32[i5 + 40 >> 2] = i7; - HEAP32[i5 + 44 >> 2] = i7; - HEAP32[i5 + 48 >> 2] = i7; - HEAP32[i5 + 52 >> 2] = i7; - HEAP32[i5 + 56 >> 2] = i7; - HEAP32[i5 + 60 >> 2] = i7; - i5 = i5 + 64 | 0; - } - while ((i5 | 0) < (i1 | 0)) { - HEAP32[i5 >> 2] = i7; - i5 = i5 + 4 | 0; - } - } - while ((i5 | 0) < (i3 | 0)) { - HEAP8[i5 >> 0] = i6; - i5 = i5 + 1 | 0; - } - return i3 - i4 | 0; -} - -function __ZN6vision27OrthogonalizePivot8x9Basis6IfEEbPT_S2_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, d7 = 0.0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i5; - i3 = i1 + 216 | 0; - i8 = i1 + 180 | 0; - i4 = i2 + 216 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i3, i8, i4); - i1 = i1 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i1, i8, i2 + 252 | 0); - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i3); - HEAPF32[i6 >> 2] = d7; - d7 = +__ZN6vision11SumSquares9IfEET_PKS1_(i1); - HEAPF32[i6 + 4 >> 2] = d7; - i1 = __ZN6vision9MaxIndex2IfEEiPKT_(i6) | 0; - i2 = i6 + (i1 << 2) | 0; - if (+HEAPF32[i2 >> 2] == 0.0) i1 = 0; else { - i1 = i1 * 9 | 0; - __ZN6vision5Swap9IfEEvPT_S2_(i3, i3 + (i1 << 2) | 0); - __ZN6vision5Swap9IfEEvPT_S2_(i4, i4 + (i1 << 2) | 0); - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_(i3, i3, 1.0 / +Math_sqrt(+(+HEAPF32[i2 >> 2]))); - i1 = 1; - } - STACKTOP = i5; - return i1 | 0; -} - -function _addNFTMarker(i1, i5) { - i1 = i1 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i7; - i2 = i7 + 4 | 0; - HEAP32[i2 >> 2] = i1; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0) { - i3 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0; - i4 = i3 + 240 | 0; - i1 = HEAP32[i4 >> 2] | 0; - if ((HEAP8[i5 + 11 >> 0] | 0) < 0) i2 = HEAP32[i5 >> 2] | 0; else i2 = i5; - if (!(_loadNFTMarker(i3, i1, i2) | 0)) { - _arLog(0, 3, 43908, i6); - i1 = -1; - break; - } else { - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 1; - break; - } - } else i1 = -1; while (0); - STACKTOP = i7; - return i1 | 0; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPKwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(i3, i2, i6) { - i3 = i3 | 0; - i2 = i2 | 0; - i6 = i6 | 0; - var i1 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i8; - i5 = i6 - i2 >> 2; - if (i5 >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i3); - do if (i5 >>> 0 >= 2) { - i4 = i5 + 4 & -4; - if (i4 >>> 0 > 1073741823) _abort(); else { - i1 = __Znwm(i4 << 2) | 0; - HEAP32[i3 >> 2] = i1; - HEAP32[i3 + 8 >> 2] = i4 | -2147483648; - HEAP32[i3 + 4 >> 2] = i5; - break; + label$3: { + if (HEAP32[$2 + 8 >> 2] <= ($1 | 0)) { + $9 = HEAP32[$8 >> 2]; + break label$3; + } + $13 = ($1 << 2) + $2 | 0; + $10 = $13 + 12 | 0; + $9 = HEAP32[$10 >> 2]; + label$5: { + if (($9 | 0) < ($5 | 0) | ($4 | 0) < ($9 | 0)) { + break label$5; + } + $9 = ($1 << 4) + $2 | 0; + $12 = $9 + 131084 | 0; + if (HEAP32[$12 >> 2] == 1 | HEAP32[$9 + 131088 >> 2] == ($11 | 0) | (HEAP32[$9 + 131092 >> 2] == 1 | HEAP32[$9 + 131096 >> 2] == ($15 | 0))) { + break label$5; + } + if ((arGetContour(HEAP32[$2 >> 2], $0, $1, $14, $1 + 1 | 0, $12, Math_imul(HEAP32[$8 >> 2], 80048) + $7 | 0) | 0) < 0) { + break label$5; + } + if ((check_square(HEAP32[$13 + 12 >> 2], Math_imul(HEAP32[$8 >> 2], 80048) + $7 | 0, $6) | 0) < 0) { + break label$5; + } + HEAP32[Math_imul(HEAP32[$8 >> 2], 80048) + $7 >> 2] = HEAP32[$13 + 12 >> 2]; + $10 = HEAP32[$8 >> 2]; + $12 = Math_imul($10, 80048) + $7 | 0; + HEAPF64[$12 + 8 >> 3] = HEAPF64[$9 + 655376 >> 3]; + HEAPF64[$12 + 16 >> 3] = HEAPF64[$9 + 655384 >> 3]; + $10 = $10 + 1 | 0; + HEAP32[$8 >> 2] = $10; + $9 = 60; + if (($10 | 0) == 60) { + break label$3; + } + } + $1 = $1 + 1 | 0; + continue; } - } else { - HEAP8[i3 + 8 + 3 >> 0] = i5; - i1 = i3; - } while (0); - while (1) { - if ((i2 | 0) == (i6 | 0)) break; - __ZNSt3__211char_traitsIwE6assignERwRKw(i1, i2); - i2 = i2 + 4 | 0; - i1 = i1 + 4 | 0; - } - HEAP32[i7 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i1, i7); - STACKTOP = i8; - return; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(i3, i2, i6) { - i3 = i3 | 0; - i2 = i2 | 0; - i6 = i6 | 0; - var i1 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i8; - i5 = i6 - i2 >> 2; - if (i5 >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i3); - do if (i5 >>> 0 >= 2) { - i4 = i5 + 4 & -4; - if (i4 >>> 0 > 1073741823) _abort(); else { - i1 = __Znwm(i4 << 2) | 0; - HEAP32[i3 >> 2] = i1; - HEAP32[i3 + 8 >> 2] = i4 | -2147483648; - HEAP32[i3 + 4 >> 2] = i5; - break; + break; + } + $11 = 0; + $1 = 0; + label$6: while (1) { + if (($1 | 0) >= ($9 | 0)) { + while (1) { + if (($9 | 0) > ($11 | 0)) { + $1 = $11; + if (!HEAP32[Math_imul($1, 80048) + $7 >> 2]) { + while (1) { + $2 = $1 + 1 | 0; + if (($2 | 0) < ($9 | 0)) { + wasm2js_memory_copy(Math_imul($1, 80048) + $7 | 0, Math_imul($2, 80048) + $7 | 0, 80048); + $9 = HEAP32[$8 >> 2]; + $1 = $2; + continue; + } + break; + } + $9 = $9 - 1 | 0; + HEAP32[$8 >> 2] = $9; + } + $11 = $11 + 1 | 0; + continue; + } + break; + } + label$13: { + if (($3 | 0) != 1) { + break label$13; + } + $10 = 0; + while (1) { + if (($9 | 0) <= ($10 | 0)) { + break label$13; + } + HEAP32[$7 >> 2] = HEAP32[$7 >> 2] << 2; + $6 = HEAPF64[$7 + 8 >> 3]; + HEAPF64[$7 + 8 >> 3] = $6 + $6; + $1 = $7 + 16 | 0; + $6 = HEAPF64[$7 + 16 >> 3]; + HEAPF64[$1 >> 3] = $6 + $6; + $5 = HEAP32[$7 + 24 >> 2]; + $1 = 0; + while (1) { + if (($1 | 0) < ($5 | 0)) { + $9 = ($1 << 2) + $7 | 0; + $2 = $9 + 28 | 0; + HEAP32[$2 >> 2] = HEAP32[$9 + 28 >> 2] << 1; + $9 = $9 + 40028 | 0; + HEAP32[$9 >> 2] = HEAP32[$9 >> 2] << 1; + $1 = $1 + 1 | 0; + continue; + } + break; + } + $10 = $10 + 1 | 0; + $7 = $7 + 80048 | 0; + $9 = HEAP32[$8 >> 2]; + continue; + } + } + return 0; } - } else { - HEAP8[i3 + 8 + 3 >> 0] = i5; - i1 = i3; - } while (0); - while (1) { - if ((i2 | 0) == (i6 | 0)) break; - __ZNSt3__211char_traitsIwE6assignERwRKw(i1, i2); - i2 = i2 + 4 | 0; - i1 = i1 + 4 | 0; - } - HEAP32[i7 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i1, i7); - STACKTOP = i8; - return; -} - -function _sift(i3, i10, i7, i1, i8) { - i3 = i3 | 0; - i10 = i10 | 0; - i7 = i7 | 0; - i1 = i1 | 0; - i8 = i8 | 0; - var i2 = 0, i4 = 0, i5 = 0, i6 = 0, i9 = 0, i11 = 0, i12 = 0; - i12 = STACKTOP; - STACKTOP = STACKTOP + 240 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(240); - i11 = i12; - HEAP32[i11 >> 2] = i3; - L1 : do if ((i1 | 0) > 1) { - i9 = 0 - i10 | 0; - i5 = i3; - i2 = i1; - i1 = 1; - i4 = i3; - while (1) { - i5 = i5 + i9 | 0; - i6 = i2 + -2 | 0; - i3 = i5 + (0 - (HEAP32[i8 + (i6 << 2) >> 2] | 0)) | 0; - if ((FUNCTION_TABLE_iii[i7 & 63](i4, i3) | 0) > -1 ? (FUNCTION_TABLE_iii[i7 & 63](i4, i5) | 0) > -1 : 0) break L1; - i4 = i11 + (i1 << 2) | 0; - if ((FUNCTION_TABLE_iii[i7 & 63](i3, i5) | 0) > -1) { - HEAP32[i4 >> 2] = i3; - i2 = i2 + -1 | 0; - } else { - HEAP32[i4 >> 2] = i5; - i3 = i5; - i2 = i6; - } - i1 = i1 + 1 | 0; - if ((i2 | 0) <= 1) break L1; - i5 = i3; - i4 = HEAP32[i11 >> 2] | 0; - } - } else i1 = 1; while (0); - _cycle(i10, i11, i1); - STACKTOP = i12; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE9__grow_byEmmmmmm(i5, i6, i1, i4, i8, i9) { - i5 = i5 | 0; - i6 = i6 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i2 = 0, i3 = 0, i7 = 0; - if ((-17 - i6 | 0) >>> 0 < i1 >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i5); - if ((HEAP8[i5 + 11 >> 0] | 0) < 0) i7 = HEAP32[i5 >> 2] | 0; else i7 = i5; - if (i6 >>> 0 < 2147483623) { - i2 = i1 + i6 | 0; - i3 = i6 << 1; - i2 = i2 >>> 0 < i3 >>> 0 ? i3 : i2; - i2 = i2 >>> 0 < 11 ? 11 : i2 + 16 & -16; - } else i2 = -17; - i3 = __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE8allocateEm(i2) | 0; - if (i8 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm(i3, i7, i8) | 0; - i1 = i4 - i8 | 0; - if (i1 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm(i3 + i8 + i9 | 0, i7 + i8 | 0, i1) | 0; - if ((i6 | 0) != 10) __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE10deallocateEPcm(i7); - HEAP32[i5 >> 2] = i3; - HEAP32[i5 + 8 >> 2] = i2 | -2147483648; - return; -} - -function _getTransMatSquareCont(i1, i3, i4) { - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i2 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i5; - HEAP32[i2 >> 2] = i1; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0) { - i1 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0; - i2 = HEAP32[i1 + 216 >> 2] | 0; - if ((HEAP32[i2 + 44 >> 2] | 0) > (i3 | 0)) { - +_arGetTransMatSquareCont(HEAP32[i1 + 228 >> 2] | 0, (i3 | 0) < 0 ? 55240 : i2 + 48 + (i3 << 8) | 0, 51552, +(i4 | 0), 51552); - i1 = 0; - break; + $2 = Math_imul($1, 80048) + $7 | 0; + $0 = $1 + 1 | 0; + $1 = $0; + while (1) if (($1 | 0) >= ($9 | 0)) { + $1 = $0; + continue label$6; } else { - i1 = HEAP32[3415] | 0; - break; + $9 = Math_imul($1, 80048) + $7 | 0; + $6 = HEAPF64[$2 + 8 >> 3] - HEAPF64[$9 + 8 >> 3]; + $16 = $6 * $6; + $6 = HEAPF64[$2 + 16 >> 3] - HEAPF64[$9 + 16 >> 3]; + $6 = $16 + $6 * $6; + $5 = HEAP32[$2 >> 2]; + $10 = HEAP32[$9 >> 2]; + label$20: { + label$21: { + if (($5 | 0) > ($10 | 0)) { + if (+(($5 | 0) / 4 | 0) > $6) { + break label$21; + } + break label$20; + } + $9 = $2; + if (!(+(($10 | 0) / 4 | 0) > $6)) { + break label$20; + } + } + HEAP32[$9 >> 2] = 0; + } + $1 = $1 + 1 | 0; + $9 = HEAP32[$8 >> 2]; + continue; } - } else i1 = HEAP32[3413] | 0; while (0); - STACKTOP = i5; - return i1 | 0; -} - -function __ZN6vision18BinomialPyramid32f5allocEmmi(i3, i4, i8, i9) { - i3 = i3 | 0; - i4 = i4 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i10 = 0, i11 = 0; - __ZN6vision25GaussianScaleSpacePyramid9configureEii(i3, i9, 3); - i10 = i3 + 4 | 0; - i11 = i3 + 20 | 0; - __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE6resizeEm(i10, Math_imul(HEAP32[i11 >> 2] | 0, i9) | 0); - i2 = 0; - while (1) { - if ((i2 | 0) >= (i9 | 0)) break; - i5 = i4 >>> i2; - i6 = i8 >>> i2; - i1 = 0; - while (1) { - i7 = HEAP32[i11 >> 2] | 0; - if (i1 >>> 0 >= i7 >>> 0) break; - i7 = (Math_imul(i7, i2) | 0) + i1 | 0; - __ZN6vision5Image5allocENS_9ImageTypeEmmim((HEAP32[i10 >> 2] | 0) + (i7 << 5) | 0, 2, i5, i6, -1, 1); - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - i11 = Math_imul(i8, i4) | 0; - __ZNSt3__26vectorItNS_9allocatorItEEE6resizeEm(i3 + 32 | 0, i11); - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm(i3 + 44 | 0, i11); - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm(i3 + 56 | 0, i11); - return; -} - -function _jinit_d_post_controller(i4, i5) { - i4 = i4 | 0; - i5 = i5 | 0; - var i1 = 0, i2 = 0, i3 = 0, i6 = 0, i7 = 0, i8 = 0; - i3 = i4 + 4 | 0; - i1 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i3 >> 2] >> 2] & 63](i4, 1, 28) | 0; - HEAP32[i4 + 432 >> 2] = i1; - HEAP32[i1 >> 2] = 44; - i7 = i1 + 8 | 0; - HEAP32[i7 >> 2] = 0; - i8 = i1 + 12 | 0; - HEAP32[i8 >> 2] = 0; - do if (HEAP32[i4 + 84 >> 2] | 0) { - i6 = HEAP32[i4 + 312 >> 2] | 0; - i2 = i1 + 16 | 0; - HEAP32[i2 >> 2] = i6; - i1 = HEAP32[i3 >> 2] | 0; - if (!i5) { - i7 = Math_imul(HEAP32[i4 + 120 >> 2] | 0, HEAP32[i4 + 112 >> 2] | 0) | 0; - i7 = FUNCTION_TABLE_iiiii[HEAP32[i1 + 8 >> 2] & 15](i4, 1, i7, i6) | 0; - HEAP32[i8 >> 2] = i7; - break; - } else { - i3 = HEAP32[i1 + 16 >> 2] | 0; - i5 = Math_imul(HEAP32[i4 + 120 >> 2] | 0, HEAP32[i4 + 112 >> 2] | 0) | 0; - i8 = _jround_up(HEAP32[i4 + 116 >> 2] | 0, i6) | 0; - i8 = FUNCTION_TABLE_iiiiiii[i3 & 63](i4, 1, 0, i5, i8, HEAP32[i2 >> 2] | 0) | 0; - HEAP32[i7 >> 2] = i8; - break; + } +} + +function minvf($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = Math_fround(0), $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = Math_fround(0); + $9 = __stack_pointer - 2e3 | 0; + __stack_pointer = $9; + label$1: { + if (($1 | 0) > 500) { + break label$1; } - } while (0); - return; -} - -function _icpGetJ_U_S(i6, i1, i2, i3) { - i6 = i6 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var d4 = 0.0, i5 = 0, i7 = 0, i8 = 0, i9 = 0, d10 = 0.0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 224 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(224); - i7 = i9 + 48 | 0; - i8 = i9; - i5 = i9 + 192 | 0; - _icpGetJ_Xc_S(i7, i5, i2, i3); - L1 : do if ((_icpGetJ_U_Xc(i8, i1, i5) | 0) < 0) { - _arLog(0, 3, 18473, i9 + 216 | 0); - i1 = -1; - } else { - i2 = 0; - while (1) { - if ((i2 | 0) == 2) { - i1 = 0; - break L1; + label$2: { + label$3: { + switch ($1 | 0) { + case 1: + HEAPF32[$0 >> 2] = Math_fround(1) / HEAPF32[$0 >> 2]; + break label$2; + + case 0: + break label$1; + + default: + break label$3; + } } - i3 = 0; - while (1) { - if ((i3 | 0) == 6) break; - i5 = i6 + (i2 * 48 | 0) + (i3 << 3) | 0; - HEAPF64[i5 >> 3] = 0.0; - i1 = 0; - d4 = 0.0; + $11 = ($1 | 0) > 0 ? $1 : 0; + while (1) if (($3 | 0) == ($11 | 0)) { while (1) { - if ((i1 | 0) == 3) break; - d10 = d4 + +HEAPF64[i8 + (i2 * 24 | 0) + (i1 << 3) >> 3] * +HEAPF64[i7 + (i1 * 48 | 0) + (i3 << 3) >> 3]; - HEAPF64[i5 >> 3] = d10; - i1 = i1 + 1 | 0; - d4 = d10; - } - i3 = i3 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - } while (0); - STACKTOP = i9; - return i1 | 0; -} - -function __ZN6vision5Image11shallowCopyERKS0_(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i8; - HEAP32[i4 >> 2] = HEAP32[i1 >> 2]; - HEAP32[i4 + 4 >> 2] = HEAP32[i1 + 4 >> 2]; - HEAP32[i4 + 8 >> 2] = HEAP32[i1 + 8 >> 2]; - HEAP32[i4 + 12 >> 2] = HEAP32[i1 + 12 >> 2]; - HEAP32[i4 + 16 >> 2] = HEAP32[i1 + 16 >> 2]; - HEAP32[i4 + 20 >> 2] = HEAP32[i1 + 20 >> 2]; - i6 = i4 + 24 | 0; - i7 = HEAP32[i1 + 24 >> 2] | 0; - HEAP32[i5 >> 2] = i7; - i3 = i5 + 4 | 0; - i1 = HEAP32[i1 + 28 >> 2] | 0; - HEAP32[i3 >> 2] = i1; - if (!i1) { - i2 = i3; - i1 = 0; - } else { - i2 = i1 + 4 | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 1; - i2 = i3; - i1 = HEAP32[i3 >> 2] | 0; - } - HEAP32[i5 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i6 >> 2] = i7; - i7 = i4 + 28 | 0; - HEAP32[i2 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i1; - __ZNSt3__210shared_ptrIhED2Ev(i5); - STACKTOP = i8; - return; -} - -function _alloc_barray(i9, i10, i11, i12) { - i9 = i9 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i13 = 0; - i1 = HEAP32[i9 + 4 >> 2] | 0; - i13 = i11 << 7; - i2 = 999999984 / (i13 >>> 0) | 0; - if (i13 >>> 0 > 999999984) { - i8 = HEAP32[i9 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 70; - FUNCTION_TABLE_vi[HEAP32[i8 >> 2] & 255](i9); - } - i6 = (i2 | 0) < (i12 | 0) ? i2 : i12; - HEAP32[i1 + 80 >> 2] = i6; - i7 = _alloc_small(i9, i10, i12 << 2) | 0; - i8 = ~i12; - i5 = 0; - i1 = i6; - while (1) { - if (i5 >>> 0 >= i12 >>> 0) break; - i6 = i12 - i5 | 0; - i6 = i1 >>> 0 < i6 >>> 0 ? i1 : i6; - i2 = _alloc_large(i9, i10, Math_imul(i13, i6) | 0) | 0; - i3 = i5 + i8 | 0; - i4 = ~i1; - i4 = i3 >>> 0 > i4 >>> 0 ? i3 : i4; - i1 = i2; - i2 = i6; - i3 = i5; - while (1) { - if (!i2) break; - HEAP32[i7 + (i3 << 2) >> 2] = i1; - i1 = i1 + (i11 << 7) | 0; - i2 = i2 + -1 | 0; - i3 = i3 + 1 | 0; - } - i5 = i5 + -1 - i4 | 0; - i1 = i6; - } - return i7 | 0; -} - -function __ZN6vision20SmallestTriangleAreaIfEET_PKS1_S3_S3_S3_(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, d6 = 0.0, i7 = 0, i8 = 0, d9 = 0.0, d10 = 0.0, i11 = 0, i12 = 0, i13 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i12 = i5 + 32 | 0; - i13 = i5 + 24 | 0; - i11 = i5 + 16 | 0; - i8 = i5 + 8 | 0; - i7 = i5; - __ZN6vision10SubVector2IfEEvPT_PKS1_S4_(i12, i2, i1); - __ZN6vision10SubVector2IfEEvPT_PKS1_S4_(i13, i3, i1); - __ZN6vision10SubVector2IfEEvPT_PKS1_S4_(i11, i4, i1); - __ZN6vision10SubVector2IfEEvPT_PKS1_S4_(i8, i2, i3); - __ZN6vision10SubVector2IfEEvPT_PKS1_S4_(i7, i4, i3); - d10 = +__ZN6vision14AreaOfTriangleIfEET_PKS1_S3_(i12, i13); - d9 = +__ZN6vision14AreaOfTriangleIfEET_PKS1_S3_(i13, i11); - d6 = +__ZN6vision14AreaOfTriangleIfEET_PKS1_S3_(i12, i11); - d6 = +__ZN6vision4min4IfEET_S1_S1_S1_S1_(d10, d9, d6, +__ZN6vision14AreaOfTriangleIfEET_PKS1_S3_(i8, i7)); - STACKTOP = i5; - return +d6; -} - -function _tmpfile() { - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i7 = i9 + 48 | 0; - i5 = i9 + 40 | 0; - i4 = i9 + 24 | 0; - i3 = i9; - HEAP32[i3 >> 2] = HEAP32[1620]; - HEAP32[i3 + 4 >> 2] = HEAP32[1621]; - HEAP32[i3 + 8 >> 2] = HEAP32[1622]; - HEAP32[i3 + 12 >> 2] = HEAP32[1623]; - HEAP32[i3 + 16 >> 2] = HEAP32[1624]; - i2 = i3 + 13 | 0; - i1 = 0; - while (1) { - ___randname(i2) | 0; - HEAP32[i4 >> 2] = i3; - HEAP32[i4 + 4 >> 2] = 32962; - HEAP32[i4 + 8 >> 2] = 384; - i6 = ___syscall_ret(___syscall5(5, i4 | 0) | 0) | 0; - i1 = i1 + 1 | 0; - if ((i6 | 0) > -1) { - i8 = 4; - break; - } - if (i1 >>> 0 >= 100) { - i1 = 0; - break; + if (($8 | 0) == ($11 | 0)) { + $8 = 0; + while (1) { + $3 = $8; + if (($11 | 0) == ($3 | 0)) { + break label$2; + } + while (1) { + label$11: { + if (($1 | 0) == ($3 | 0)) { + $3 = $1; + break label$11; + } + if (HEAP32[($3 << 2) + $9 >> 2] == ($8 | 0)) { + break label$11; + } + $3 = $3 + 1 | 0; + continue; + } + break; + } + $4 = $3 << 2; + $3 = $8 << 2; + HEAP32[$9 + $4 >> 2] = HEAP32[$9 + $3 >> 2]; + $3 = $0 + $3 | 0; + $4 = $0 + $4 | 0; + $5 = 0; + while (1) { + if (($5 | 0) != ($11 | 0)) { + $6 = HEAPF32[$4 >> 2]; + HEAPF32[$4 >> 2] = HEAPF32[$3 >> 2]; + HEAPF32[$3 >> 2] = $6; + $5 = $5 + 1 | 0; + $7 = $2 << 2; + $3 = $7 + $3 | 0; + $4 = $4 + $7 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + } + $6 = Math_fround(0); + $5 = -1; + $3 = $8; + $10 = (Math_imul($3, $2) << 2) + $0 | 0; + $4 = $10; + while (1) { + if (($1 | 0) != ($3 | 0)) { + $12 = Math_fround(Math_abs(HEAPF32[$4 >> 2])); + $7 = $12 > $6; + $6 = $7 ? $12 : $6; + $5 = $7 ? $3 : $5; + $3 = $3 + 1 | 0; + $4 = ($2 << 2) + $4 | 0; + continue; + } + break; + } + $3 = 0; + if (($5 | 0) == -1 | $6 <= Math_fround(1.000000013351432e-10)) { + break label$1; + } + $3 = ($5 << 2) + $9 | 0; + $4 = HEAP32[$3 >> 2]; + $7 = ($8 << 2) + $9 | 0; + HEAP32[$3 >> 2] = HEAP32[$7 >> 2]; + HEAP32[$7 >> 2] = $4; + $3 = (Math_imul($2, $5) << 2) + $0 | 0; + $5 = 0; + $4 = $10; + while (1) { + if (($1 | 0) != ($5 | 0)) { + $6 = HEAPF32[$3 >> 2]; + HEAPF32[$3 >> 2] = HEAPF32[$4 >> 2]; + HEAPF32[$4 >> 2] = $6; + $5 = $5 + 1 | 0; + $4 = $4 + 4 | 0; + $3 = $3 + 4 | 0; + continue; + } + break; + } + $6 = HEAPF32[$10 >> 2]; + $4 = 1; + $3 = $10; + while (1) { + if (($1 | 0) != ($4 | 0)) { + HEAPF32[$3 >> 2] = HEAPF32[$3 + 4 >> 2] / $6; + $4 = $4 + 1 | 0; + $3 = $3 + 4 | 0; + continue; + } + break; + } + HEAPF32[$3 >> 2] = Math_fround(1) / $6; + $7 = 0; + while (1) { + if (($1 | 0) != ($7 | 0)) { + if (($7 | 0) != ($8 | 0)) { + $3 = (Math_imul($2, $7) << 2) + $0 | 0; + $6 = Math_fround(-HEAPF32[$3 >> 2]); + $4 = 1; + $5 = $10; + while (1) { + if (($1 | 0) != ($4 | 0)) { + HEAPF32[$3 >> 2] = Math_fround($6 * HEAPF32[$5 >> 2]) + HEAPF32[$3 + 4 >> 2]; + $5 = $5 + 4 | 0; + $4 = $4 + 1 | 0; + $3 = $3 + 4 | 0; + continue; + } + break; + } + HEAPF32[$3 >> 2] = HEAPF32[$5 >> 2] * $6; + } + $7 = $7 + 1 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + } else { + HEAP32[($3 << 2) + $9 >> 2] = $3; + $3 = $3 + 1 | 0; + continue; + } } + $3 = $0; } - if ((i8 | 0) == 4) { - HEAP32[i5 >> 2] = i3; - ___syscall10(10, i5 | 0) | 0; - i1 = ___fdopen(i6, 46203) | 0; - if (!i1) { - HEAP32[i7 >> 2] = i6; - ___syscall6(6, i7 | 0) | 0; - i1 = 0; - } - } - STACKTOP = i9; - return i1 | 0; -} - -function _detectMarker(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i2 = i5 + 40 | 0; - i4 = i5; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = HEAP32[3413] | 0; else { - i1 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0; - i2 = i4; - i3 = i2 + 40 | 0; - do { - HEAP32[i2 >> 2] = 0; - i2 = i2 + 4 | 0; - } while ((i2 | 0) < (i3 | 0)); - HEAP32[i4 >> 2] = HEAP32[i1 + 196 >> 2]; - HEAP32[i4 + 16 >> 2] = 1; - HEAP32[i4 + 12 >> 2] = HEAP32[i1 + 204 >> 2]; - i1 = _arDetectMarker(HEAP32[i1 + 216 >> 2] | 0, i4) | 0; - } - STACKTOP = i5; - return i1 | 0; -} - -function _getTransMatSquare(i1, i3, i4) { - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i2 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i5; - HEAP32[i2 >> 2] = i1; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0) { - i1 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0; - i2 = HEAP32[i1 + 216 >> 2] | 0; - if ((HEAP32[i2 + 44 >> 2] | 0) > (i3 | 0)) { - +_arGetTransMatSquare(HEAP32[i1 + 228 >> 2] | 0, (i3 | 0) < 0 ? 55240 : i2 + 48 + (i3 << 8) | 0, +(i4 | 0), 51552); - i1 = 0; - break; - } else { - i1 = HEAP32[3415] | 0; - break; - } - } else i1 = HEAP32[3413] | 0; while (0); - STACKTOP = i5; - return i1 | 0; -} - -function _examine_app14(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0; - if (((((i3 >>> 0 > 11 ? (HEAP8[i2 >> 0] | 0) == 65 : 0) ? (HEAP8[i2 + 1 >> 0] | 0) == 100 : 0) ? (HEAP8[i2 + 2 >> 0] | 0) == 111 : 0) ? (HEAP8[i2 + 3 >> 0] | 0) == 98 : 0) ? (HEAP8[i2 + 4 >> 0] | 0) == 101 : 0) { - i6 = HEAPU8[i2 + 7 >> 0] << 8 | HEAPU8[i2 + 8 >> 0]; - i5 = HEAPU8[i2 + 9 >> 0] << 8 | HEAPU8[i2 + 10 >> 0]; - i4 = HEAP8[i2 + 11 >> 0] | 0; - i3 = HEAP32[i1 >> 2] | 0; - HEAP32[i3 + 24 >> 2] = HEAPU8[i2 + 5 >> 0] << 8 | HEAPU8[i2 + 6 >> 0]; - HEAP32[i3 + 28 >> 2] = i6; - HEAP32[i3 + 32 >> 2] = i5; - HEAP32[i3 + 36 >> 2] = i4 & 255; - HEAP32[i3 + 20 >> 2] = 76; - FUNCTION_TABLE_vii[HEAP32[i3 + 4 >> 2] & 63](i1, 1); - HEAP32[i1 + 292 >> 2] = 1; - HEAP8[i1 + 296 >> 0] = i4; - } else { - i6 = HEAP32[i1 >> 2] | 0; - HEAP32[i6 + 20 >> 2] = 78; - HEAP32[i6 + 24 >> 2] = i4 + i3; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i1 >> 2] | 0) + 4 >> 2] & 63](i1, 1); - } - return; -} - -function __ZN6vision6Logger5writeENS_19LoggerPriorityLevelEPKcz(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i8 = i5; - i7 = i5 + 28 | 0; - i6 = i5 + 16 | 0; - HEAP32[i8 >> 2] = i4; - HEAP32[i6 >> 2] = 0; - HEAP32[i6 + 4 >> 2] = 0; - HEAP32[i6 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i6, i3, __ZNSt3__211char_traitsIcE6lengthEPKc(i3) | 0); - __ZN6vision6detail23create_formatted_stringERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPi(i7, i6, i8); - __ZN6vision6Logger5writeENS_19LoggerPriorityLevelERKNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE(i1, i2, i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i6); - STACKTOP = i5; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(i2, i1, i6) { - i2 = i2 | 0; - i1 = i1 | 0; - i6 = i6 | 0; - var i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i1; - i7 = i8; - i3 = i6 - i4 | 0; - if (i3 >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i2); - if (i3 >>> 0 < 11) { - HEAP8[i2 + 11 >> 0] = i3; - i5 = i2; - } else { - i9 = i3 + 16 & -16; - i5 = __Znwm(i9) | 0; - HEAP32[i2 >> 2] = i5; - HEAP32[i2 + 8 >> 2] = i9 | -2147483648; - HEAP32[i2 + 4 >> 2] = i3; - } - i3 = i6 - i4 | 0; - i2 = i5; - while (1) { - if ((i1 | 0) == (i6 | 0)) break; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i1); - i1 = i1 + 1 | 0; - i2 = i2 + 1 | 0; - } - HEAP8[i7 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5 + i3 | 0, i7); - STACKTOP = i8; - return; -} - -function _strcspn(i4, i2) { - i4 = i4 | 0; - i2 = i2 | 0; - var i1 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i6; - i1 = HEAP8[i2 >> 0] | 0; - L1 : do if (i1 << 24 >> 24 != 0 ? (HEAP8[i2 + 1 >> 0] | 0) != 0 : 0) { - _memset(i3 | 0, 0, 32) | 0; - i1 = HEAP8[i2 >> 0] | 0; - if (i1 << 24 >> 24) do { - i8 = i1 & 255; - i7 = i3 + (i8 >>> 5 << 2) | 0; - HEAP32[i7 >> 2] = HEAP32[i7 >> 2] | 1 << (i8 & 31); - i2 = i2 + 1 | 0; - i1 = HEAP8[i2 >> 0] | 0; - } while (i1 << 24 >> 24 != 0); - i2 = HEAP8[i4 >> 0] | 0; - if (!(i2 << 24 >> 24)) i1 = i4; else { - i1 = i4; - do { - i8 = i2 & 255; - if (HEAP32[i3 + (i8 >>> 5 << 2) >> 2] & 1 << (i8 & 31) | 0) break L1; - i1 = i1 + 1 | 0; - i2 = HEAP8[i1 >> 0] | 0; - } while (i2 << 24 >> 24 != 0); - } - } else i5 = 3; while (0); - if ((i5 | 0) == 3) i1 = ___strchrnul(i4, i1 << 24 >> 24) | 0; - STACKTOP = i6; - return i1 - i4 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(i2, i1, i6) { - i2 = i2 | 0; - i1 = i1 | 0; - i6 = i6 | 0; - var i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i1; - i7 = i8; - i3 = i6 - i4 | 0; - if (i3 >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i2); - if (i3 >>> 0 < 11) { - HEAP8[i2 + 11 >> 0] = i3; - i5 = i2; - } else { - i9 = i3 + 16 & -16; - i5 = __Znwm(i9) | 0; - HEAP32[i2 >> 2] = i5; - HEAP32[i2 + 8 >> 2] = i9 | -2147483648; - HEAP32[i2 + 4 >> 2] = i3; - } - i3 = i6 - i4 | 0; - i2 = i5; - while (1) { - if ((i1 | 0) == (i6 | 0)) break; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2, i1); - i1 = i1 + 1 | 0; - i2 = i2 + 1 | 0; - } - HEAP8[i7 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i5 + i3 | 0, i7); - STACKTOP = i8; - return; -} - -function __ZL14genBWImageHalfPhiiPiS0_(i8, i9, i1, i2, i3) { - i8 = i8 | 0; - i9 = i9 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i10 = 0, i11 = 0; - i11 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i10 = (i9 | 0) / 2 | 0; - HEAP32[i2 >> 2] = i10; - i7 = (i1 | 0) / 2 | 0; - HEAP32[i3 >> 2] = i7; - i6 = _malloc(Math_imul(i7, i10) | 0) | 0; - if (!i6) { - _arLog(0, 3, 20454, i11); - _exit(1); - } - i2 = 0; - i1 = i6; - while (1) { - if ((i2 | 0) >= (i7 | 0)) break; - i5 = i2 << 1; - i3 = 0; - i4 = i8 + (Math_imul(i5, i9) | 0) | 0; - i5 = i8 + (Math_imul(i5 | 1, i9) | 0) | 0; + __stack_pointer = $9 + 2e3 | 0; + return $3; +} + +function std____2__init_months_28_29() { + var $0 = 0; + if (!HEAPU8[83456]) { + $0 = 83168; while (1) { - if ((i3 | 0) >= (i10 | 0)) break; - HEAP8[i1 >> 0] = ((HEAPU8[i4 + 1 >> 0] | 0) + (HEAPU8[i4 >> 0] | 0) + (HEAPU8[i5 >> 0] | 0) + (HEAPU8[i5 + 1 >> 0] | 0) | 0) >>> 2; - i3 = i3 + 1 | 0; - i4 = i4 + 2 | 0; - i5 = i5 + 2 | 0; - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - STACKTOP = i11; - return i6 | 0; -} - -function _addMarker(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - i3 = i5 + 4 | 0; - HEAP32[i3 >> 2] = i1; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0) { - i3 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0; - if ((HEAP8[i2 + 11 >> 0] | 0) < 0) i2 = HEAP32[i2 >> 2] | 0; - i1 = i3 + 292 | 0; - if (!(__ZL10loadMarkerPKcPiP8ARHandlePP12ARPattHandle(i2, i1, i3 + 220 | 0) | 0)) { - _arLog(0, 3, 44299, i4); - i1 = -1; - break; - } else { - i1 = HEAP32[i1 >> 2] | 0; + $0 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0) + 12 | 0; + if (($0 | 0) != 83456) { + continue; + } break; } - } else i1 = -1; while (0); - STACKTOP = i5; - return i1 | 0; -} - -function __ZN6vision11ScopedTimerD2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, d9 = 0.0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i7 = i8; - i2 = i8 + 24 | 0; - __ZN6vision5Timer4stopEv(i1); - i4 = __ZN6vision6Logger11getInstanceEv() | 0; - __ZN6vision15get_pretty_timeEv(i2); - i5 = (HEAP8[i2 + 11 >> 0] | 0) < 0 ? HEAP32[i2 >> 2] | 0 : i2; - i6 = i1 + 16 | 0; - if ((HEAP8[i6 + 11 >> 0] | 0) < 0) i3 = HEAP32[i6 >> 2] | 0; else i3 = i6; - d9 = +__ZNK6vision5Timer24duration_in_millisecondsEv(i1); - HEAP32[i7 >> 2] = 33657; - HEAP32[i7 + 4 >> 2] = i5; - HEAP32[i7 + 8 >> 2] = 33665; - HEAP32[i7 + 12 >> 2] = i3; - HEAPF64[i7 + 16 >> 3] = d9; - __ZN6vision6Logger5writeENS_19LoggerPriorityLevelEPKcz(i4, 8, 33630, i7); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i2); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i6); - STACKTOP = i8; - return; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EEPi(i5, i6, i7) { - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i8 = 0, i9 = 0; - i8 = i6 + 4 | 0; - i9 = HEAP32[i8 >> 2] | 0; - i2 = HEAP32[i5 >> 2] | 0; - i4 = i7; - i3 = i4 - i2 | 0; - i1 = i9 + (0 - (i3 >> 2) << 2) | 0; - HEAP32[i8 >> 2] = i1; - if ((i3 | 0) > 0) _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i5 + 4 | 0; - i3 = i6 + 8 | 0; - i1 = (HEAP32[i2 >> 2] | 0) - i4 | 0; - if ((i1 | 0) > 0) { - _memcpy(HEAP32[i3 >> 2] | 0, i7 | 0, i1 | 0) | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + (i1 >>> 2 << 2); - } - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i8 >> 2] = i4; - i4 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = i4; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i8 >> 2]; - return i9 | 0; -} - -function _kpmChangePageNoOfRefDataSet(i4, i6, i7) { - i4 = i4 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i8 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - L1 : do if (!i4) { - _arLog(0, 3, 20229, i9); - i1 = -1; - } else { - i3 = HEAP32[i4 + 4 >> 2] | 0; - i8 = (i6 | 0) == -1; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i3 | 0)) break; - i2 = (HEAP32[i4 >> 2] | 0) + (i1 * 132 | 0) + 124 | 0; - i5 = HEAP32[i2 >> 2] | 0; - if ((i5 | 0) == (i6 | 0) | i8 & (i5 | 0) > -1) HEAP32[i2 >> 2] = i7; - i1 = i1 + 1 | 0; - } - i5 = HEAP32[i4 + 12 >> 2] | 0; - i2 = i4 + 8 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i5 | 0)) { - i1 = 0; - break L1; - } - i3 = (HEAP32[i2 >> 2] | 0) + (i1 * 12 | 0) + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (i6 | 0) | i8 & (i4 | 0) > -1) HEAP32[i3 >> 2] = i7; - i1 = i1 + 1 | 0; - } - } while (0); - STACKTOP = i9; - return i1 | 0; -} - -function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i4 = HEAP32[i2 >> 2] | 0; - i5 = i2 + 4 | 0; - i6 = i3 + 4 | 0; - i1 = HEAP32[i5 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i7 = i1 + -8 | 0; - i10 = i7; - i9 = HEAP32[i10 + 4 >> 2] | 0; - i8 = (HEAP32[i6 >> 2] | 0) + -8 | 0; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i8 + 4 >> 2] = i9; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + -8; - i1 = i7; - } - i8 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i6 >> 2] = i8; - i8 = i3 + 8 | 0; - i10 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i8 >> 2]; - HEAP32[i8 >> 2] = i10; - i8 = i2 + 8 | 0; - i10 = i3 + 12 | 0; - i9 = HEAP32[i8 >> 2] | 0; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - HEAP32[i10 >> 2] = i9; - HEAP32[i3 >> 2] = HEAP32[i6 >> 2]; - return; -} - -function _alloc_sarray(i9, i10, i11, i12) { - i9 = i9 | 0; - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i1 = HEAP32[i9 + 4 >> 2] | 0; - i2 = 999999984 / (i11 >>> 0) | 0; - if (i11 >>> 0 > 999999984) { - i8 = HEAP32[i9 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 70; - FUNCTION_TABLE_vi[HEAP32[i8 >> 2] & 255](i9); - } - i6 = (i2 | 0) < (i12 | 0) ? i2 : i12; - HEAP32[i1 + 80 >> 2] = i6; - i7 = _alloc_small(i9, i10, i12 << 2) | 0; - i8 = ~i12; - i5 = 0; - i1 = i6; - while (1) { - if (i5 >>> 0 >= i12 >>> 0) break; - i6 = i12 - i5 | 0; - i6 = i1 >>> 0 < i6 >>> 0 ? i1 : i6; - i2 = _alloc_large(i9, i10, Math_imul(i6, i11) | 0) | 0; - i3 = i5 + i8 | 0; - i4 = ~i1; - i4 = i3 >>> 0 > i4 >>> 0 ? i3 : i4; - i1 = i2; - i2 = i6; - i3 = i5; - while (1) { - if (!i2) break; - HEAP32[i7 + (i3 << 2) >> 2] = i1; - i1 = i1 + i11 | 0; - i2 = i2 + -1 | 0; - i3 = i3 + 1 | 0; - } - i5 = i5 + -1 - i4 | 0; - i1 = i6; - } - return i7 | 0; -} - -function _set_bottom_pointers(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i8 = HEAP32[i1 + 424 >> 2] | 0; - i9 = HEAP32[i1 + 36 >> 2] | 0; - i10 = i1 + 316 | 0; - i11 = i8 + 72 | 0; - i12 = i8 + 64 | 0; - i7 = 0; - i4 = HEAP32[i1 + 216 >> 2] | 0; + __cxa_atexit(321, 0, 1024); + HEAP8[83456] = 1; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83168, 28017); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83180, 28008); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83192, 31549); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83204, 31434); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83216, 28098); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83228, 31898); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83240, 28036); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83252, 29310); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83264, 30724); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83276, 30707); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83288, 30715); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83300, 30734); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83312, 31240); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83324, 34278); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83336, 30773); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83348, 30482); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83360, 28098); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83372, 30958); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83384, 31372); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83396, 31555); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83408, 30876); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83420, 29729); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83432, 28613); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83444, 34204); +} + +function jpeg_idct_12x6($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $19 = __stack_pointer - 192 | 0; + __stack_pointer = $19; + $7 = HEAP32[$0 + 336 >> 2]; + $0 = HEAP32[$1 + 84 >> 2]; + $1 = $19; while (1) { - if ((i7 | 0) >= (i9 | 0)) break; - i2 = Math_imul(HEAP32[i4 + 36 >> 2] | 0, HEAP32[i4 + 12 >> 2] | 0) | 0; - i1 = (i2 | 0) / (HEAP32[i10 >> 2] | 0) | 0; - i6 = ((HEAP32[i4 + 44 >> 2] | 0) >>> 0) % (i2 >>> 0) | 0; - i6 = (i6 | 0) == 0 ? i2 : i6; - i2 = i6 + -1 | 0; - if (!i7) HEAP32[i11 >> 2] = ((i2 | 0) / (i1 | 0) | 0) + 1; - i5 = HEAP32[(HEAP32[i8 + 56 + (HEAP32[i12 >> 2] << 2) >> 2] | 0) + (i7 << 2) >> 2] | 0; - i3 = i1 << 1; - i2 = i5 + (i2 << 2) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i3 | 0)) break; - HEAP32[i5 + (i1 + i6 << 2) >> 2] = HEAP32[i2 >> 2]; - i1 = i1 + 1 | 0; - } - i7 = i7 + 1 | 0; - i4 = i4 + 84 | 0; - } - return; -} - -function __ZN6vision5ImageC2EPhNS_9ImageTypeEmmim(i7, i2, i3, i4, i5, i1, i6) { - i7 = i7 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i1 = i1 | 0; - i6 = i6 | 0; - var i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i8 + 8 | 0; - i10 = i8 + 4 | 0; - i11 = i8; - HEAP32[i7 >> 2] = i3; - HEAP32[i7 + 4 >> 2] = i4; - HEAP32[i7 + 8 >> 2] = i5; - HEAP32[i7 + 16 >> 2] = i6; - i5 = Math_imul(i1, i5) | 0; - HEAP32[i7 + 20 >> 2] = i5; - HEAP32[i11 >> 2] = 0; - HEAP8[i10 >> 0] = HEAP8[i8 + 12 >> 0] | 0; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - __ZNSt3__210shared_ptrIhEC2Ih16NullArrayDeleterIhEEEPT_T0_NS_9enable_ifIXsr14is_convertibleIS6_PhEE5valueENS1_5__natEE4typeE(i7 + 24 | 0, i2, i10, i9); - if ((i1 | 0) < 0) i1 = Math_imul(Math_imul(i6, i4) | 0, __ZN6vision5Image19calculate_unit_sizeENS_9ImageTypeE(i3) | 0) | 0; - HEAP32[i7 + 12 >> 2] = i1; - STACKTOP = i8; - return; -} - -function _setMarkerInfoDir(i1, i3, i4) { - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i2 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i5; - HEAP32[i2 >> 2] = i1; - do if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0) { - i1 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0) + 216 | 0; - i1 = HEAP32[i1 >> 2] | 0; - if ((HEAP32[i1 + 44 >> 2] | 0) > (i3 | 0)) { - HEAP32[((i3 | 0) < 0 ? 55240 : i1 + 48 + (i3 << 8) | 0) + 16 >> 2] = i4; - i1 = 0; - break; - } else { - i1 = HEAP32[3415] | 0; - break; - } - } else i1 = HEAP32[3413] | 0; while (0); - STACKTOP = i5; - return i1 | 0; -} - -function __ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(i1, i2, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i3 = 0; - do if (!(__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i1, HEAP32[i2 + 8 >> 2] | 0, i6) | 0)) { - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i1, HEAP32[i2 >> 2] | 0, i6) | 0) { - if ((HEAP32[i2 + 16 >> 2] | 0) != (i4 | 0) ? (i3 = i2 + 20 | 0, (HEAP32[i3 >> 2] | 0) != (i4 | 0)) : 0) { - HEAP32[i2 + 32 >> 2] = i5; - HEAP32[i3 >> 2] = i4; - i6 = i2 + 40 | 0; - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 1; - if ((HEAP32[i2 + 36 >> 2] | 0) == 1 ? (HEAP32[i2 + 24 >> 2] | 0) == 2 : 0) HEAP8[i2 + 54 >> 0] = 1; - HEAP32[i2 + 44 >> 2] = 4; - break; - } - if ((i5 | 0) == 1) HEAP32[i2 + 32 >> 2] = 1; + $12 = HEAP32[$0 + 64 >> 2]; + $11 = HEAP16[$2 + 32 >> 1]; + $8 = Math_imul(HEAP16[$2 >> 1], HEAP32[$0 >> 2]) << 13 | 1024; + $13 = Math_imul(HEAP32[$0 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $15 = $8 + Math_imul($13, -11586) >> 11; + $5 = Math_imul(HEAP32[$0 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $6 = Math_imul(HEAP32[$0 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $9 = Math_imul(HEAP32[$0 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $14 = $5 - ($6 + $9 | 0) << 2; + HEAP32[$1 + 128 >> 2] = $15 - $14; + HEAP32[$1 + 32 >> 2] = $14 + $15; + $12 = Math_imul(Math_imul($12, $11), 10033); + $11 = Math_imul($13, 5793) + $8 | 0; + $13 = $12 + $11 | 0; + $8 = Math_imul($5 + $6 | 0, 2998); + $5 = $8 + ($5 + $9 << 13) | 0; + HEAP32[$1 + 160 >> 2] = $13 - $5 >> 11; + HEAP32[$1 >> 2] = $5 + $13 >> 11; + $5 = $11 - $12 | 0; + $9 = ($6 - $9 << 13) + $8 | 0; + HEAP32[$1 + 96 >> 2] = $5 - $9 >> 11; + HEAP32[$1 + 64 >> 2] = $5 + $9 >> 11; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $2 = $2 + 2 | 0; + $10 = $10 + 1 | 0; + if (($10 | 0) != 8) { + continue; } - } else __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(0, i2, i4, i5); while (0); - return; -} - -function __ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv(i3, i1, i4) { - i3 = i3 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - var i2 = 0, i5 = 0, i6 = 0, i7 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(64); - i5 = i7; - if (!(__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i3, i1, 0) | 0)) if ((i1 | 0) != 0 ? (i6 = ___dynamic_cast(i1, 13232, 13216, 0) | 0, (i6 | 0) != 0) : 0) { - i1 = i5 + 4 | 0; - i2 = i1 + 52 | 0; - do { - HEAP32[i1 >> 2] = 0; - i1 = i1 + 4 | 0; - } while ((i1 | 0) < (i2 | 0)); - HEAP32[i5 >> 2] = i6; - HEAP32[i5 + 8 >> 2] = i3; - HEAP32[i5 + 12 >> 2] = -1; - HEAP32[i5 + 48 >> 2] = 1; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 28 >> 2] & 31](i6, i5, HEAP32[i4 >> 2] | 0, 1); - if ((HEAP32[i5 + 24 >> 2] | 0) == 1) { - HEAP32[i4 >> 2] = HEAP32[i5 + 16 >> 2]; - i1 = 1; - } else i1 = 0; - } else i1 = 0; else i1 = 1; - STACKTOP = i7; - return i1 | 0; -} - -function __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var d4 = 0.0; - d4 = +__ZN6vision11DotProduct9IfEET_PKS1_S3_(i3, i2); - HEAPF32[i1 >> 2] = +HEAPF32[i1 >> 2] - d4 * +HEAPF32[i2 >> 2]; - i3 = i1 + 4 | 0; - HEAPF32[i3 >> 2] = +HEAPF32[i3 >> 2] - d4 * +HEAPF32[i2 + 4 >> 2]; - i3 = i1 + 8 | 0; - HEAPF32[i3 >> 2] = +HEAPF32[i3 >> 2] - d4 * +HEAPF32[i2 + 8 >> 2]; - i3 = i1 + 12 | 0; - HEAPF32[i3 >> 2] = +HEAPF32[i3 >> 2] - d4 * +HEAPF32[i2 + 12 >> 2]; - i3 = i1 + 16 | 0; - HEAPF32[i3 >> 2] = +HEAPF32[i3 >> 2] - d4 * +HEAPF32[i2 + 16 >> 2]; - i3 = i1 + 20 | 0; - HEAPF32[i3 >> 2] = +HEAPF32[i3 >> 2] - d4 * +HEAPF32[i2 + 20 >> 2]; - i3 = i1 + 24 | 0; - HEAPF32[i3 >> 2] = +HEAPF32[i3 >> 2] - d4 * +HEAPF32[i2 + 24 >> 2]; - i3 = i1 + 28 | 0; - HEAPF32[i3 >> 2] = +HEAPF32[i3 >> 2] - d4 * +HEAPF32[i2 + 28 >> 2]; - i3 = i1 + 32 | 0; - HEAPF32[i3 >> 2] = +HEAPF32[i3 >> 2] - d4 * +HEAPF32[i2 + 32 >> 2]; - return; -} - -function _arUtilMatInvf(i3, i5) { - i3 = i3 | 0; - i5 = i5 | 0; - var i1 = 0, i2 = 0, i4 = 0, i6 = 0; - i6 = _arMatrixAlloc(4, 4) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - i4 = i1 << 2; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[(HEAP32[i6 >> 2] | 0) + (i2 + i4 << 3) >> 3] = +HEAPF32[i3 + (i1 << 4) + (i2 << 2) >> 2]; - i2 = i2 + 1 | 0; - } - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i6 >> 2] | 0; - i4 = i1 + 96 | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - HEAP32[i4 + 8 >> 2] = 0; - HEAP32[i4 + 12 >> 2] = 0; - HEAP32[i4 + 16 >> 2] = 0; - HEAP32[i4 + 20 >> 2] = 0; - HEAPF64[i1 + 120 >> 3] = 1.0; - _arMatrixSelfInv(i6) | 0; - i1 = 0; + break; + } + $2 = $7 - 384 | 0; + $1 = $19; + $12 = 0; while (1) { - if ((i1 | 0) == 3) break; - i3 = i1 << 2; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF32[i5 + (i1 << 4) + (i2 << 2) >> 2] = +HEAPF64[(HEAP32[i6 >> 2] | 0) + (i2 + i3 << 3) >> 3]; - i2 = i2 + 1 | 0; + $0 = HEAP32[($12 << 2) + $3 >> 2] + $4 | 0; + $5 = HEAP32[$1 + 28 >> 2]; + $6 = HEAP32[$1 + 20 >> 2]; + $9 = HEAP32[$1 + 4 >> 2]; + $10 = $6 + $9 | 0; + $13 = Math_imul($5 + $10 | 0, 7053); + $14 = $13 + Math_imul($10, 2139) | 0; + $11 = HEAP32[$1 + 12 >> 2]; + $15 = Math_imul($11, 10703); + $7 = $14 + ($15 + Math_imul($9, 2295) | 0) | 0; + $16 = HEAP32[$1 + 24 >> 2]; + $17 = $16 << 13; + $8 = HEAP32[$1 + 8 >> 2]; + $20 = $17 + Math_imul($8, 11190) | 0; + $10 = (HEAP32[$1 >> 2] << 13) + 134348800 | 0; + $21 = Math_imul(HEAP32[$1 + 16 >> 2], 10033); + $22 = $10 + $21 | 0; + $18 = $20 + $22 | 0; + HEAP8[$0 | 0] = HEAPU8[($7 + $18 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 11 | 0] = HEAPU8[($18 - $7 >>> 18 & 1023) + $2 | 0]; + $7 = $9 - $5 | 0; + $18 = $11 - $6 | 0; + $23 = Math_imul($7 + $18 | 0, 4433); + $7 = $23 + Math_imul($7, 6270) | 0; + $16 = $8 - $16 << 13; + $24 = $16 + $10 | 0; + HEAP8[$0 + 1 | 0] = HEAPU8[($7 + $24 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 10 | 0] = HEAPU8[($24 - $7 >>> 18 & 1023) + $2 | 0]; + $11 = Math_imul($11, -4433); + $7 = $11 + Math_imul($6, -12112) | 0; + $6 = Math_imul($5 + $6 | 0, -8565); + $14 = ($7 + $6 | 0) + $14 | 0; + $8 = Math_imul($8, 2998) - $17 | 0; + $7 = $10 - $21 | 0; + $17 = $8 + $7 | 0; + HEAP8[$0 + 2 | 0] = HEAPU8[($14 + $17 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 9 | 0] = HEAPU8[($17 - $14 >>> 18 & 1023) + $2 | 0]; + $6 = ((Math_imul($5, 12998) - $15 | 0) + $13 | 0) + $6 | 0; + $8 = $7 - $8 | 0; + HEAP8[$0 + 3 | 0] = HEAPU8[($6 + $8 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 8 | 0] = HEAPU8[($8 - $6 >>> 18 & 1023) + $2 | 0]; + $6 = Math_imul($18, -15137) + $23 | 0; + $10 = $10 - $16 | 0; + HEAP8[$0 + 4 | 0] = HEAPU8[($6 + $10 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 7 | 0] = HEAPU8[($10 - $6 >>> 18 & 1023) + $2 | 0]; + $5 = ((Math_imul($9, -5540) + $11 | 0) + Math_imul($5, -16244) | 0) + $13 | 0; + $9 = $22 - $20 | 0; + HEAP8[$0 + 5 | 0] = HEAPU8[($5 + $9 >>> 18 & 1023) + $2 | 0]; + HEAP8[$0 + 6 | 0] = HEAPU8[($9 - $5 >>> 18 & 1023) + $2 | 0]; + $1 = $1 + 32 | 0; + $12 = $12 + 1 | 0; + if (($12 | 0) != 6) { + continue; } - i1 = i1 + 1 | 0; + break; } - _arMatrixFree(i6) | 0; - return 0; + __stack_pointer = $19 + 192 | 0; } -function _arUtilMatInv(i3, i5) { - i3 = i3 | 0; - i5 = i5 | 0; - var i1 = 0, i2 = 0, i4 = 0, i6 = 0; - i6 = _arMatrixAlloc(4, 4) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - i4 = i1 << 2; - i2 = 0; +function arParamDecompMat($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $7 = __stack_pointer - 96 | 0; + __stack_pointer = $7; + label$1: { + if (!(HEAPF64[$0 + 88 >> 3] >= 0)) { + while (1) { + $4 = 0; + if (($6 | 0) == 3) { + break label$1; + } + while (1) { + if (($4 | 0) != 4) { + $10 = $4 << 3; + $11 = $6 << 5; + HEAPF64[$10 + ($11 + $7 | 0) >> 3] = -HEAPF64[($0 + $11 | 0) + $10 >> 3]; + $4 = $4 + 1 | 0; + continue; + } + break; + } + $6 = $6 + 1 | 0; + continue; + } + } while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[(HEAP32[i6 >> 2] | 0) + (i2 + i4 << 3) >> 3] = +HEAPF64[i3 + (i1 << 5) + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; - } - i1 = i1 + 1 | 0; - } - i1 = HEAP32[i6 >> 2] | 0; - i4 = i1 + 96 | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - HEAP32[i4 + 8 >> 2] = 0; - HEAP32[i4 + 12 >> 2] = 0; - HEAP32[i4 + 16 >> 2] = 0; - HEAP32[i4 + 20 >> 2] = 0; - HEAPF64[i1 + 120 >> 3] = 1.0; - _arMatrixSelfInv(i6) | 0; - i1 = 0; + $4 = 0; + if (($6 | 0) == 3) { + break label$1; + } + while (1) { + if (($4 | 0) != 4) { + $10 = $4 << 3; + $11 = $6 << 5; + HEAPF64[$10 + ($11 + $7 | 0) >> 3] = HEAPF64[($0 + $11 | 0) + $10 >> 3]; + $4 = $4 + 1 | 0; + continue; + } + break; + } + $6 = $6 + 1 | 0; + continue; + } + } + $6 = 0; while (1) { - if ((i1 | 0) == 3) break; - i3 = i1 << 2; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i5 + (i1 << 5) + (i2 << 3) >> 3] = +HEAPF64[(HEAP32[i6 >> 2] | 0) + (i2 + i3 << 3) >> 3]; - i2 = i2 + 1 | 0; + $4 = 0; + if (($6 | 0) == 3) { + $4 = $1 + 80 | 0; + $3 = HEAPF64[$7 + 64 >> 3]; + $5 = HEAPF64[$7 + 72 >> 3]; + $8 = HEAPF64[$7 + 80 >> 3]; + $9 = norm($3, $5, $8); + HEAPF64[$4 >> 3] = $9; + $3 = $3 / $9; + HEAPF64[$2 + 64 >> 3] = $3; + $6 = $2 + 72 | 0; + $5 = $5 / HEAPF64[$1 + 80 >> 3]; + HEAPF64[$6 >> 3] = $5; + $0 = $2 + 80 | 0; + $8 = $8 / HEAPF64[$1 + 80 >> 3]; + HEAPF64[$0 >> 3] = $8; + HEAPF64[$2 + 88 >> 3] = HEAPF64[$7 + 88 >> 3] / HEAPF64[$1 + 80 >> 3]; + $9 = HEAPF64[$7 + 32 >> 3]; + $12 = HEAPF64[$7 + 40 >> 3]; + $13 = HEAPF64[$7 + 48 >> 3]; + $3 = dot($3, $5, $8, $9, $12, $13); + HEAPF64[$1 + 48 >> 3] = $3; + $4 = $1 + 40 | 0; + $5 = $9 - $3 * HEAPF64[$2 + 64 >> 3]; + $8 = $12 - $3 * HEAPF64[$2 + 72 >> 3]; + $3 = $13 - $3 * HEAPF64[$2 + 80 >> 3]; + $9 = norm($5, $8, $3); + HEAPF64[$4 >> 3] = $9; + HEAPF64[$2 + 32 >> 3] = $5 / $9; + $11 = $2 + 40 | 0; + HEAPF64[$11 >> 3] = $8 / HEAPF64[$1 + 40 >> 3]; + $10 = $2 + 48 | 0; + HEAPF64[$10 >> 3] = $3 / HEAPF64[$1 + 40 >> 3]; + $8 = HEAPF64[$7 >> 3]; + $9 = HEAPF64[$7 + 8 >> 3]; + $12 = HEAPF64[$7 + 16 >> 3]; + $3 = dot(HEAPF64[$2 + 64 >> 3], HEAPF64[$2 + 72 >> 3], HEAPF64[$2 + 80 >> 3], $8, $9, $12); + HEAPF64[$1 + 16 >> 3] = $3; + $5 = dot(HEAPF64[$2 + 32 >> 3], HEAPF64[$2 + 40 >> 3], HEAPF64[$2 + 48 >> 3], $8, $9, $12); + HEAPF64[$1 + 8 >> 3] = $5; + $8 = $8 - $5 * HEAPF64[$2 + 32 >> 3] - $3 * HEAPF64[$2 + 64 >> 3]; + $9 = $9 - $5 * HEAPF64[$2 + 40 >> 3] - $3 * HEAPF64[$2 + 72 >> 3]; + $3 = $12 - $5 * HEAPF64[$2 + 48 >> 3] - $3 * HEAPF64[$2 + 80 >> 3]; + $5 = norm($8, $9, $3); + HEAPF64[$1 >> 3] = $5; + HEAPF64[$2 >> 3] = $8 / $5; + HEAPF64[$2 + 8 >> 3] = $9 / HEAPF64[$1 >> 3]; + HEAPF64[$2 + 16 >> 3] = $3 / HEAPF64[$1 >> 3]; + $3 = HEAPF64[$2 + 88 >> 3]; + $5 = (HEAPF64[$7 + 56 >> 3] - HEAPF64[$1 + 48 >> 3] * $3) / HEAPF64[$1 + 40 >> 3]; + HEAPF64[$2 + 56 >> 3] = $5; + HEAPF64[$2 + 24 >> 3] = (HEAPF64[$7 + 24 >> 3] - HEAPF64[$1 + 8 >> 3] * $5 - $3 * HEAPF64[$1 + 16 >> 3]) / HEAPF64[$1 >> 3]; + $0 = 0; + while (1) { + $4 = 0; + if (($0 | 0) == 3) { + __stack_pointer = $7 + 96 | 0; + } else { + while (1) { + if (($4 | 0) != 3) { + $6 = (($0 << 5) + $1 | 0) + ($4 << 3) | 0; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] / HEAPF64[$1 + 80 >> 3]; + $4 = $4 + 1 | 0; + continue; + } + break; + } + $0 = $0 + 1 | 0; + continue; + } + break; + } + } else { + while (1) { + if (($4 | 0) != 4) { + $0 = (($6 << 5) + $1 | 0) + ($4 << 3) | 0; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + $4 = $4 + 1 | 0; + continue; + } + break; + } + $6 = $6 + 1 | 0; + continue; } - i1 = i1 + 1 | 0; + break; } - _arMatrixFree(i6) | 0; return 0; } -function _vsnprintf(i2, i1, i5, i6) { - i2 = i2 | 0; - i1 = i1 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i3 = 0, i4 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 160 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(160); - i3 = i8 + 144 | 0; - i7 = i8; - _memcpy(i7 | 0, 11696, 144) | 0; - if ((i1 + -1 | 0) >>> 0 > 2147483646) if (!i1) { - i2 = i3; - i1 = 1; - i4 = 4; - } else { - i1 = ___errno_location() | 0; - HEAP32[i1 >> 2] = 75; - i1 = -1; - } else i4 = 4; - if ((i4 | 0) == 4) { - i4 = -2 - i2 | 0; - i4 = i1 >>> 0 > i4 >>> 0 ? i4 : i1; - HEAP32[i7 + 48 >> 2] = i4; - i3 = i7 + 20 | 0; - HEAP32[i3 >> 2] = i2; - HEAP32[i7 + 44 >> 2] = i2; - i1 = i2 + i4 | 0; - i2 = i7 + 16 | 0; - HEAP32[i2 >> 2] = i1; - HEAP32[i7 + 28 >> 2] = i1; - i1 = _vfprintf(i7, i5, i6) | 0; - if (i4) { - i7 = HEAP32[i3 >> 2] | 0; - HEAP8[i7 + (((i7 | 0) == (HEAP32[i2 >> 2] | 0)) << 31 >> 31) >> 0] = 0; - } - } - STACKTOP = i8; - return i1 | 0; -} - -function _pass2_no_dither(i10, i11, i12, i13) { - i10 = i10 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i14 = 0, i15 = 0; - i14 = HEAP32[(HEAP32[i10 + 460 >> 2] | 0) + 24 >> 2] | 0; - i15 = HEAP32[i10 + 112 >> 2] | 0; - i8 = 0; +function $28anonymous_20namespace_29__itanium_demangle__FunctionType__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 112 | 0; + __stack_pointer = $2; + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 104 | 0, 37973); + $5 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 48 >> 2] = $5; + HEAP32[$2 + 52 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 48 | 0); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0 + 12 | 0, $1); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 96 | 0, 37866); + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 40 >> 2] = $3; + HEAP32[$2 + 44 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 40 | 0); + $3 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$3 >> 2] + 20 >> 2]]($3, $1); + $3 = HEAP32[$0 + 20 >> 2]; + if ($3 & 1) { + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 88 | 0, 29346); + $5 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 32 >> 2] = $5; + HEAP32[$2 + 36 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 32 | 0); + $3 = HEAP32[$0 + 20 >> 2]; + } + if ($3 & 2) { + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 80 | 0, 32039); + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 24 >> 2] = $3; + HEAP32[$2 + 28 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 24 | 0); + $3 = HEAP32[$0 + 20 >> 2]; + } + if ($3 & 4) { + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 72 | 0, 29707); + $5 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $5; + HEAP32[$2 + 20 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + } + label$4: { + label$5: { + label$6: { + switch (HEAPU8[$0 + 24 | 0] - 1 | 0) { + case 0: + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 - -64 | 0, 38016); + break label$5; + + case 1: + break label$6; + + default: + break label$4; + } + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 56 | 0, 38012); + } + $4 = $3; + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + $4 = $3; + $3 = $2; + HEAP32[$3 + 8 >> 2] = $4; + HEAP32[$3 + 12 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + } + if (HEAP32[$0 + 28 >> 2]) { + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 32); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 28 >> 2], $1); + } + __stack_pointer = $2 + 112 | 0; +} + +function jinit_master_decompress($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $4 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 28) | 0; + HEAP32[$0 + 444 >> 2] = $4; + HEAP32[$4 + 8 >> 2] = 0; + HEAP32[$4 + 4 >> 2] = 183; + HEAP32[$4 >> 2] = 184; + $3 = HEAP32[$0 + 212 >> 2]; + if (($3 | 0) != 8) { + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $3; + HEAP32[$2 + 20 >> 2] = 16; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + jpeg_calc_output_dimensions($0); + $5 = memset(FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1280) | 0, 0, 512); + $3 = $5 + 512 | 0; + HEAP32[$0 + 336 >> 2] = $3; while (1) { - if ((i8 | 0) >= (i13 | 0)) break; - i6 = HEAP32[i11 + (i8 << 2) >> 2] | 0; - i7 = i15; - i9 = HEAP32[i12 + (i8 << 2) >> 2] | 0; - while (1) { - if (!i7) break; - i2 = (HEAPU8[i6 >> 0] | 0) >>> 3; - i3 = (HEAPU8[i6 + 1 >> 0] | 0) >>> 2; - i4 = (HEAPU8[i6 + 2 >> 0] | 0) >>> 3; - i5 = (HEAP32[i14 + (i2 << 2) >> 2] | 0) + (i3 << 6) + (i4 << 1) | 0; - i1 = HEAP16[i5 >> 1] | 0; - if (!(i1 << 16 >> 16)) { - _fill_inverse_cmap(i10, i2, i3, i4); - i1 = HEAP16[i5 >> 1] | 0; - } - HEAP8[i9 >> 0] = (i1 & 65535) + 255; - i6 = i6 + 3 | 0; - i7 = i7 + -1 | 0; - i9 = i9 + 1 | 0; - } - i8 = i8 + 1 | 0; - } - return; -} - -function __ZN6vision21HoughSimilarityVoting4initEffffiiii(i1, d2, d3, d4, d5, i6, i7, i8, i9) { - i1 = i1 | 0; - d2 = +d2; - d3 = +d3; - d4 = +d4; - d5 = +d5; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - HEAPF32[i1 + 20 >> 2] = d2; - HEAPF32[i1 + 24 >> 2] = d3; - HEAPF32[i1 + 28 >> 2] = d4; - HEAPF32[i1 + 32 >> 2] = d5; - HEAPF32[i1 + 36 >> 2] = -1.0; - HEAPF32[i1 + 40 >> 2] = 1.0; - HEAP32[i1 + 52 >> 2] = i6; - HEAP32[i1 + 56 >> 2] = i7; - HEAP32[i1 + 60 >> 2] = i8; - HEAP32[i1 + 64 >> 2] = i9; - i9 = Math_imul(i7, i6) | 0; - HEAP32[i1 + 84 >> 2] = i9; - i9 = Math_imul(i9, i8) | 0; - HEAP32[i1 + 88 >> 2] = i9; - HEAPF32[i1 + 44 >> 2] = 10.0; - HEAPF32[i1 + 48 >> 2] = .4342944622039795; - HEAP8[i1 + 16 >> 0] = (i7 | i6 | 0) == 0 & 1; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE5clearEv(i1 + 92 | 0); - return; -} - -function __ZN6vision16Quadratic3PointsIfEEbRT_S2_S2_PKS1_S4_S4_(i9, i2, i11, i10, i5, i6) { - i9 = i9 | 0; - i2 = i2 | 0; - i11 = i11 | 0; - i10 = i10 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var d1 = 0.0, d3 = 0.0, d4 = 0.0, d7 = 0.0, d8 = 0.0, i12 = 0, d13 = 0.0; - d1 = +HEAPF32[i6 >> 2]; - d7 = +HEAPF32[i5 >> 2]; - d8 = +HEAPF32[i10 >> 2]; - d4 = d1 - d8; - d1 = (d1 - d7) * d4; - d3 = d8 - d7; - d4 = d3 * d4; - if (d3 == 0.0 | (d1 == 0.0 | d4 == 0.0)) { - HEAPF32[i9 >> 2] = 0.0; - HEAPF32[i2 >> 2] = 0.0; - i2 = 0; - d1 = 0.0; - } else { - d8 = d8 * d8; - i12 = i5 + 4 | 0; - d13 = +HEAPF32[i12 >> 2]; - i5 = i10 + 4 | 0; - d1 = (+HEAPF32[i6 + 4 >> 2] - d13) / d1 - (+HEAPF32[i5 >> 2] - d13) / d4; - HEAPF32[i9 >> 2] = d1; - d1 = (+HEAPF32[i5 >> 2] - +HEAPF32[i12 >> 2] + (d7 * d7 - d8) * d1) / d3; - HEAPF32[i2 >> 2] = d1; - i2 = 1; - d1 = +HEAPF32[i5 >> 2] - d8 * +HEAPF32[i9 >> 2] - d1 * +HEAPF32[i10 >> 2]; - } - HEAPF32[i11 >> 2] = d1; - return i2 | 0; -} - -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6xsputnEPKwl(i5, i1, i6) { - i5 = i5 | 0; - i1 = i1 | 0; - i6 = i6 | 0; - var i2 = 0, i3 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - i8 = i5 + 24 | 0; - i9 = i5 + 28 | 0; - i2 = 0; + HEAP8[$1 + $3 | 0] = $1; + $2 = $1 | 1; + HEAP8[$3 + $2 | 0] = $2; + $2 = $1 | 2; + HEAP8[$3 + $2 | 0] = $2; + $2 = $1 | 3; + HEAP8[$3 + $2 | 0] = $2; + $2 = $1 | 4; + HEAP8[$3 + $2 | 0] = $2; + $2 = $1 | 5; + HEAP8[$3 + $2 | 0] = $2; + $2 = $1 | 6; + HEAP8[$3 + $2 | 0] = $2; + $2 = $1 | 7; + HEAP8[$3 + $2 | 0] = $2; + $1 = $1 + 8 | 0; + if (($1 | 0) != 256) { + continue; + } + break; + } + memset($5 + 768 | 0, 255, 512); + if (!(!(!HEAP32[$0 + 116 >> 2] | !HEAP32[$0 + 112 >> 2]) & HEAP32[$0 + 120 >> 2] > 0)) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 33; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + HEAP32[$4 + 12 >> 2] = 0; + $1 = use_merged_upsample($0); + HEAP32[$4 + 20 >> 2] = 0; + HEAP32[$4 + 24 >> 2] = 0; + HEAP32[$4 + 16 >> 2] = $1; + label$5: { + if (!HEAP32[$0 + 84 >> 2]) { + HEAP32[$0 + 108 >> 2] = 0; + HEAP32[$0 + 100 >> 2] = 0; + HEAP32[$0 + 104 >> 2] = 0; + break label$5; + } + if (!HEAP32[$0 + 64 >> 2]) { + HEAP32[$0 + 108 >> 2] = 0; + HEAP32[$0 + 100 >> 2] = 0; + HEAP32[$0 + 104 >> 2] = 0; + } + if (HEAP32[$0 + 68 >> 2]) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 48; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + label$9: { + if (HEAP32[$0 + 120 >> 2] != 3) { + HEAP32[$0 + 136 >> 2] = 0; + HEAP32[$0 + 108 >> 2] = 0; + HEAP32[$0 + 100 >> 2] = 1; + HEAP32[$0 + 104 >> 2] = 0; + break label$9; + } + if (HEAP32[$0 + 136 >> 2]) { + HEAP32[$0 + 104 >> 2] = 1; + break label$9; + } + if (HEAP32[$0 + 92 >> 2]) { + HEAP32[$0 + 108 >> 2] = 1; + break label$9; + } + HEAP32[$0 + 100 >> 2] = 1; + } + if (HEAP32[$0 + 100 >> 2]) { + jinit_1pass_quantizer($0); + HEAP32[$4 + 20 >> 2] = HEAP32[$0 + 484 >> 2]; + } + if (!(HEAP32[$0 + 104 >> 2] ? 1 : HEAP32[$0 + 108 >> 2])) { + break label$5; + } + jinit_2pass_quantizer($0); + HEAP32[$4 + 24 >> 2] = HEAP32[$0 + 484 >> 2]; + } + if (!HEAP32[$0 + 68 >> 2]) { + label$16: { + if (HEAP32[$4 + 16 >> 2]) { + jinit_merged_upsampler($0); + break label$16; + } + jinit_color_deconverter($0); + jinit_upsampler($0); + } + jinit_d_post_controller($0, HEAP32[$0 + 108 >> 2]); + } + jinit_inverse_dct($0); + label$18: { + if (HEAP32[$0 + 228 >> 2]) { + jinit_arith_decoder($0); + break label$18; + } + jinit_huff_decoder($0); + } + $1 = 1; + $1 = HEAP32[HEAP32[$0 + 460 >> 2] + 16 >> 2] ? $1 : HEAP32[$0 + 64 >> 2] != 0; + jinit_d_coef_controller($0, $1); + if (!HEAP32[$0 + 68 >> 2]) { + jinit_d_main_controller($0, 0); + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 24 >> 2]]($0); + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 460 >> 2] + 8 >> 2]]($0); + $1 = HEAP32[$0 + 8 >> 2]; + if (!(!HEAP32[HEAP32[$0 + 460 >> 2] + 16 >> 2] | (HEAP32[$0 + 64 >> 2] | !$1))) { + $2 = HEAP32[$0 + 224 >> 2]; + $3 = HEAP32[$0 + 36 >> 2]; + HEAP32[$1 + 4 >> 2] = 0; + $5 = HEAP32[$0 + 332 >> 2]; + HEAP32[$1 + 12 >> 2] = 0; + HEAP32[$1 + 8 >> 2] = Math_imul($2 ? Math_imul($3, 3) + 2 | 0 : $3, $5); + HEAP32[$1 + 16 >> 2] = HEAP32[$0 + 108 >> 2] ? 3 : 2; + HEAP32[$4 + 12 >> 2] = HEAP32[$4 + 12 >> 2] + 1; + } +} + +function jpeg_make_d_derived_tbl($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + $7 = __stack_pointer - 1312 | 0; + __stack_pointer = $7; + if ($2 >>> 0 >= 4) { + $5 = HEAP32[$0 >> 2]; + HEAP32[$5 + 24 >> 2] = $2; + HEAP32[$5 + 20 >> 2] = 52; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $8 = HEAP32[(($1 ? 180 : 196) + $0 | 0) + ($2 << 2) >> 2]; + if (!$8) { + $5 = HEAP32[$0 >> 2]; + HEAP32[$5 + 24 >> 2] = $2; + HEAP32[$5 + 20 >> 2] = 52; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $5 = HEAP32[$3 >> 2]; + if (!$5) { + $5 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1424) | 0; + HEAP32[$3 >> 2] = $5; + } + HEAP32[$5 + 140 >> 2] = $8; + $2 = 1; while (1) { - if ((i2 | 0) >= (i6 | 0)) break; - i3 = HEAP32[i8 >> 2] | 0; - i4 = HEAP32[i9 >> 2] | 0; - if (i3 >>> 0 < i4 >>> 0) { - i4 = i4 - i3 >> 2; - i10 = i6 - i2 | 0; - i4 = (i10 | 0) < (i4 | 0) ? i10 : i4; - __ZNSt3__211char_traitsIwE4copyEPwPKwm(i3, i1, i4) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + (i4 << 2); - i1 = i1 + (i4 << 2) | 0; - i2 = i4 + i2 | 0; - } else { - i4 = HEAP32[(HEAP32[i5 >> 2] | 0) + 52 >> 2] | 0; - i10 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - if ((FUNCTION_TABLE_iii[i4 & 63](i5, i10) | 0) == (i7 | 0)) break; - i1 = i1 + 4 | 0; - i2 = i2 + 1 | 0; + $3 = HEAPU8[$2 + $8 | 0]; + $4 = $10 + $3 | 0; + if (($4 | 0) >= 257) { + $6 = HEAP32[$0 >> 2]; + HEAP32[$6 + 20 >> 2] = 9; + FUNCTION_TABLE[HEAP32[$6 >> 2]]($0); + } + if ($3) { + memset(($7 + 1040 | 0) + $10 | 0, $2, $3); + $10 = $4; + } + $2 = $2 + 1 | 0; + if (($2 | 0) != 17) { + continue; } + break; } - return i2 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_119parse_discriminatorEPKcS2_(i1, i4) { - i1 = i1 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0; - L1 : do if ((i1 | 0) != (i4 | 0)) { - i2 = HEAP8[i1 >> 0] | 0; - if (i2 << 24 >> 24 != 95) { - if (((i2 << 24 >> 24) + -48 | 0) >>> 0 >= 10) break; - while (1) { - i1 = i1 + 1 | 0; - if ((i1 | 0) == (i4 | 0)) { - i1 = i4; - break L1; + $3 = 0; + HEAP8[($7 + 1040 | 0) + $10 | 0] = 0; + $6 = HEAPU8[$7 + 1040 | 0]; + if ($6) { + $4 = $6 << 24 >> 24; + $2 = 0; + while (1) { + if ($6 << 24 >> 24 == ($4 | 0)) { + while (1) { + HEAP32[($3 << 2) + $7 >> 2] = $2; + $2 = $2 + 1 | 0; + $3 = $3 + 1 | 0; + $6 = HEAP8[$3 + ($7 + 1040 | 0) | 0]; + if (($6 | 0) == ($4 | 0)) { + continue; + } + break; } - if (((HEAP8[i1 >> 0] | 0) + -48 | 0) >>> 0 >= 10) break L1; } - } - i2 = i1 + 1 | 0; - if ((i2 | 0) != (i4 | 0)) { - i2 = HEAP8[i2 >> 0] | 0; - if (((i2 << 24 >> 24) + -48 | 0) >>> 0 < 10) { - i1 = i1 + 2 | 0; - break; + if (1 << $4 <= ($2 | 0)) { + $9 = HEAP32[$0 >> 2]; + HEAP32[$9 + 20 >> 2] = 9; + FUNCTION_TABLE[HEAP32[$9 >> 2]]($0); } - if (i2 << 24 >> 24 == 95) { - i2 = i1 + 2 | 0; - while (1) { - if ((i2 | 0) == (i4 | 0)) break L1; - i3 = HEAP8[i2 >> 0] | 0; - if (((i3 << 24 >> 24) + -48 | 0) >>> 0 >= 10) break; - i2 = i2 + 1 | 0; - } - return (i3 << 24 >> 24 == 95 ? i2 + 1 | 0 : i1) | 0; - } - } - } while (0); - return i1 | 0; -} - -function _detectNFTMarker(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i5 + 4 | 0; - i3 = i5 + 8 | 0; - i4 = i5; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = -1; else { - i2 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0; - HEAP32[i3 >> 2] = 0; - HEAP32[i4 >> 2] = -1; - i1 = i2 + 232 | 0; - _kpmMatching(HEAP32[i1 >> 2] | 0, HEAP32[i2 + 204 >> 2] | 0) | 0; - _kpmGetResult(HEAP32[i1 >> 2] | 0, i3, i4) | 0; - i1 = HEAP32[i4 >> 2] | 0; - } - STACKTOP = i5; - return i1 | 0; -} - -function __ZN6vision29SolveNullVector8x9DestructiveIfEEbPT_S2_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - i3 = i4; - if (((((((__ZN6vision27OrthogonalizePivot8x9Basis0IfEEbPT_S2_(i3, i2) | 0 ? __ZN6vision27OrthogonalizePivot8x9Basis1IfEEbPT_S2_(i3, i2) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis2IfEEbPT_S2_(i3, i2) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis3IfEEbPT_S2_(i3, i2) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis4IfEEbPT_S2_(i3, i2) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis5IfEEbPT_S2_(i3, i2) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis6IfEEbPT_S2_(i3, i2) | 0 : 0) ? __ZN6vision27OrthogonalizePivot8x9Basis7IfEEbPT_S2_(i3, i2) | 0 : 0) i1 = __ZN6vision24OrthogonalizeIdentity8x9IfEEbPT_PKS1_(i1, i3) | 0; else i1 = 0; - STACKTOP = i4; - return i1 | 0; -} - -function __ZNSt3__211__stdoutbufIwE4syncEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i10 + 8 | 0; - i4 = i10; - i5 = i1 + 36 | 0; - i6 = i1 + 40 | 0; - i7 = i3 + 8 | 0; - i8 = i3; - i2 = i1 + 32 | 0; - L1 : while (1) { - i1 = HEAP32[i5 >> 2] | 0; - i1 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 20 >> 2] & 31](i1, HEAP32[i6 >> 2] | 0, i3, i7, i4) | 0; - i11 = (HEAP32[i4 >> 2] | 0) - i8 | 0; - if ((_fwrite(i3, 1, i11, HEAP32[i2 >> 2] | 0) | 0) != (i11 | 0)) { - i1 = -1; - break; - } - switch (i1 | 0) { - case 1: - break; - case 2: - { - i1 = -1; - break L1; + $4 = $4 + 1 | 0; + $2 = $2 << 1; + if ($6 & 255) { + continue; } - default: - { - i9 = 4; - break L1; - } - } - } - if ((i9 | 0) == 4) i1 = ((_fflush(HEAP32[i2 >> 2] | 0) | 0) != 0) << 31 >> 31; - STACKTOP = i10; - return i1 | 0; -} - -function __ZNSt3__211__stdoutbufIcE4syncEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i10 + 8 | 0; - i4 = i10; - i5 = i1 + 36 | 0; - i6 = i1 + 40 | 0; - i7 = i3 + 8 | 0; - i8 = i3; - i2 = i1 + 32 | 0; - L1 : while (1) { - i1 = HEAP32[i5 >> 2] | 0; - i1 = FUNCTION_TABLE_iiiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 20 >> 2] & 31](i1, HEAP32[i6 >> 2] | 0, i3, i7, i4) | 0; - i11 = (HEAP32[i4 >> 2] | 0) - i8 | 0; - if ((_fwrite(i3, 1, i11, HEAP32[i2 >> 2] | 0) | 0) != (i11 | 0)) { - i1 = -1; break; } - switch (i1 | 0) { - case 1: - break; - case 2: - { - i1 = -1; - break L1; - } - default: - { - i9 = 4; - break L1; - } - } - } - if ((i9 | 0) == 4) i1 = ((_fflush(HEAP32[i2 >> 2] | 0) | 0) != 0) << 31 >> 31; - STACKTOP = i10; - return i1 | 0; -} - -function __ZNK10__cxxabiv121__vmi_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(i1, i2, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i3 = 0, i4 = 0; - L1 : do if (!(__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i1, HEAP32[i2 + 8 >> 2] | 0, 0) | 0)) { - i4 = HEAP32[i1 + 12 >> 2] | 0; - i3 = i1 + 16 + (i4 << 3) | 0; - __ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(i1 + 16 | 0, i2, i5, i6); - if ((i4 | 0) > 1) { - i4 = i2 + 54 | 0; - i1 = i1 + 24 | 0; - do { - __ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(i1, i2, i5, i6); - if (HEAP8[i4 >> 0] | 0) break L1; - i1 = i1 + 8 | 0; - } while (i1 >>> 0 < i3 >>> 0); - } - } else __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0, i2, i5, i6); while (0); - return; -} - -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKcl(i5, i1, i6) { - i5 = i5 | 0; - i1 = i1 | 0; - i6 = i6 | 0; - var i2 = 0, i3 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - i8 = i5 + 24 | 0; - i9 = i5 + 28 | 0; - i2 = 0; + } + $3 = 0; + $2 = 1; while (1) { - if ((i2 | 0) >= (i6 | 0)) break; - i3 = HEAP32[i8 >> 2] | 0; - i4 = HEAP32[i9 >> 2] | 0; - if (i3 >>> 0 < i4 >>> 0) { - i4 = i4 - i3 | 0; - i10 = i6 - i2 | 0; - i4 = (i10 | 0) < (i4 | 0) ? i10 : i4; - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i3, i1, i4) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i4; - i1 = i1 + i4 | 0; - i2 = i4 + i2 | 0; + $6 = ($2 << 2) + $5 | 0; + $4 = $2 + $8 | 0; + if (HEAPU8[$4 | 0]) { + HEAP32[(($2 << 2) + $5 | 0) + 72 >> 2] = $3 - HEAP32[($3 << 2) + $7 >> 2]; + $3 = HEAPU8[$4 | 0] + $3 | 0; + $4 = HEAP32[(($3 << 2) + $7 | 0) - 4 >> 2]; } else { - i4 = HEAP32[(HEAP32[i5 >> 2] | 0) + 52 >> 2] | 0; - i10 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - if ((FUNCTION_TABLE_iii[i4 & 63](i5, i10) | 0) == (i7 | 0)) break; - i1 = i1 + 1 | 0; - i2 = i2 + 1 | 0; - } - } - return i2 | 0; -} - -function __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(i1, i5, i3, i2, i4) { - i1 = i1 | 0; - i5 = i5 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - HEAP8[i5 + 53 >> 0] = 1; - do if ((HEAP32[i5 + 4 >> 2] | 0) == (i2 | 0)) { - HEAP8[i5 + 52 >> 0] = 1; - i1 = i5 + 16 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (!i2) { - HEAP32[i1 >> 2] = i3; - HEAP32[i5 + 24 >> 2] = i4; - HEAP32[i5 + 36 >> 2] = 1; - if (!((i4 | 0) == 1 ? (HEAP32[i5 + 48 >> 2] | 0) == 1 : 0)) break; - HEAP8[i5 + 54 >> 0] = 1; - break; + $4 = -1; } - if ((i2 | 0) != (i3 | 0)) { - i4 = i5 + 36 | 0; - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 1; - HEAP8[i5 + 54 >> 0] = 1; - break; + HEAP32[$6 >> 2] = $4; + $2 = $2 + 1 | 0; + if (($2 | 0) != 17) { + continue; } - i2 = i5 + 24 | 0; - i1 = HEAP32[i2 >> 2] | 0; - if ((i1 | 0) == 2) { - HEAP32[i2 >> 2] = i4; - i1 = i4; - } - if ((i1 | 0) == 1 ? (HEAP32[i5 + 48 >> 2] | 0) == 1 : 0) HEAP8[i5 + 54 >> 0] = 1; - } while (0); - return; -} - -function __ZNKSt3__210__time_put8__do_putEPwRS1_PK2tmcc(i1, i5, i6, i2, i3, i4) { - i1 = i1 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 128 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(128); - i10 = i7; - i11 = i7 + 116 | 0; - i8 = i7 + 104 | 0; - i9 = i7 + 112 | 0; - HEAP32[i11 >> 2] = i10 + 100; - __ZNKSt3__210__time_put8__do_putEPcRS1_PK2tmcc(i1, i10, i11, i2, i3, i4); - i2 = i8; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i9 >> 2] = i10; - i2 = __ZNSt3__212_GLOBAL__N_17countofIwEEmPKT_S4_(i5, HEAP32[i6 >> 2] | 0) | 0; - i1 = ___uselocale(HEAP32[i1 >> 2] | 0) | 0; - i2 = _mbsrtowcs(i5, i9, i2, i8) | 0; - if (i1 | 0) ___uselocale(i1) | 0; - if ((i2 | 0) == -1) __ZNSt3__221__throw_runtime_errorEPKc(0); else { - HEAP32[i6 >> 2] = i5 + (i2 << 2); - STACKTOP = i7; - return; - } -} - -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6xsgetnEPwl(i5, i1, i6) { - i5 = i5 | 0; - i1 = i1 | 0; - i6 = i6 | 0; - var i2 = 0, i3 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0; - __ZNSt3__211char_traitsIwE3eofEv() | 0; - i7 = i5 + 12 | 0; - i8 = i5 + 16 | 0; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i6 | 0)) break; - i2 = HEAP32[i7 >> 2] | 0; - i3 = HEAP32[i8 >> 2] | 0; - if (i2 >>> 0 < i3 >>> 0) { - i3 = i3 - i2 >> 2; - i9 = i6 - i4 | 0; - i3 = (i9 | 0) < (i3 | 0) ? i9 : i3; - __ZNSt3__211char_traitsIwE4copyEPwPKwm(i1, i2, i3) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + (i3 << 2); - i1 = i1 + (i3 << 2) | 0; - i2 = i3; - } else { - i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 40 >> 2] & 127](i5) | 0; - if ((i2 | 0) == -1) break; - i2 = __ZNSt3__211char_traitsIwE12to_char_typeEj(i2) | 0; - HEAP32[i1 >> 2] = i2; - i1 = i1 + 4 | 0; - i2 = 1; - } - i4 = i2 + i4 | 0; - } - return i4 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm(i5, i6, i1, i4, i8, i9, i10) { - i5 = i5 | 0; - i6 = i6 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - var i2 = 0, i3 = 0, i7 = 0; - if ((-17 - i6 | 0) >>> 0 < i1 >>> 0) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i5); - if ((HEAP8[i5 + 11 >> 0] | 0) < 0) i7 = HEAP32[i5 >> 2] | 0; else i7 = i5; - if (i6 >>> 0 < 2147483623) { - i2 = i1 + i6 | 0; - i3 = i6 << 1; - i2 = i2 >>> 0 < i3 >>> 0 ? i3 : i2; - i2 = i2 >>> 0 < 11 ? 11 : i2 + 16 & -16; - } else i2 = -17; - i3 = __Znwm(i2) | 0; - if (i8 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm(i3, i7, i8) | 0; - i1 = i4 - i9 - i8 | 0; - if (i1 | 0) __ZNSt3__211char_traitsIcE4copyEPcPKcm(i3 + i8 + i10 | 0, i7 + i8 + i9 | 0, i1) | 0; - if ((i6 | 0) != 10) __ZdlPv(i7); - HEAP32[i5 >> 2] = i3; - HEAP32[i5 + 8 >> 2] = i2 | -2147483648; - return; -} - -function ___strchrnul(i1, i4) { - i1 = i1 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i5 = 0; - i3 = i4 & 255; - L1 : do if (!i3) i1 = i1 + (_strlen(i1) | 0) | 0; else { - if (i1 & 3) { - i2 = i4 & 255; - do { - i5 = HEAP8[i1 >> 0] | 0; - if (i5 << 24 >> 24 == 0 ? 1 : i5 << 24 >> 24 == i2 << 24 >> 24) break L1; - i1 = i1 + 1 | 0; - } while ((i1 & 3 | 0) != 0); - } - i3 = Math_imul(i3, 16843009) | 0; - i2 = HEAP32[i1 >> 2] | 0; - L10 : do if (!((i2 & -2139062144 ^ -2139062144) & i2 + -16843009)) do { - i5 = i2 ^ i3; - if ((i5 & -2139062144 ^ -2139062144) & i5 + -16843009 | 0) break L10; - i1 = i1 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - } while (!((i2 & -2139062144 ^ -2139062144) & i2 + -16843009 | 0)); while (0); - i2 = i4 & 255; - while (1) { - i5 = HEAP8[i1 >> 0] | 0; - if (i5 << 24 >> 24 == 0 ? 1 : i5 << 24 >> 24 == i2 << 24 >> 24) break; else i1 = i1 + 1 | 0; - } - } while (0); - return i1 | 0; -} - -function __ZNSt3__214__num_put_base14__format_floatEPcPKcj(i1, i3, i2) { - i1 = i1 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0; - if (i2 & 2048) { - HEAP8[i1 >> 0] = 43; - i1 = i1 + 1 | 0; - } - if (i2 & 1024) { - HEAP8[i1 >> 0] = 35; - i1 = i1 + 1 | 0; - } - i6 = i2 & 260; - i4 = i2 & 16384; - i5 = (i6 | 0) == 260; - if (i5) i7 = 0; else { - HEAP8[i1 >> 0] = 46; - HEAP8[i1 + 1 >> 0] = 42; - i7 = 1; - i1 = i1 + 2 | 0; + break; } + HEAP32[$5 + 68 >> 2] = 1048575; + memset($5 + 144 | 0, 0, 1024); + $9 = 1; while (1) { - i2 = HEAP8[i3 >> 0] | 0; - if (!(i2 << 24 >> 24)) break; - HEAP8[i1 >> 0] = i2; - i3 = i3 + 1 | 0; - i1 = i1 + 1 | 0; - } - L14 : do switch (i6 & 511) { - case 4: - { - i2 = i4 >>> 9 & 255 ^ 102; - break; - } - case 256: - { - i2 = i4 >>> 9 & 255 ^ 101; - break; - } - default: - { - i2 = i4 >>> 9 & 255; - if (i5) { - i2 = i2 ^ 97; - break L14; - } else { - i2 = i2 ^ 103; - break L14; - } - } - } while (0); - HEAP8[i1 >> 0] = i2; - return i7 | 0; -} - -function __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i4 = HEAP32[i2 >> 2] | 0; - i5 = i2 + 4 | 0; - i6 = i3 + 4 | 0; - i1 = HEAP32[i5 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i7 = i1 + -24 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_((HEAP32[i6 >> 2] | 0) + -24 | 0, i7); - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + -24; - i1 = i7; - } - i4 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i6 >> 2] = i4; - i4 = i3 + 8 | 0; - i7 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i7; - i4 = i2 + 8 | 0; - i7 = i3 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i3 >> 2] = HEAP32[i6 >> 2]; - return; -} - -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6xsgetnEPcl(i5, i1, i6) { - i5 = i5 | 0; - i1 = i1 | 0; - i6 = i6 | 0; - var i2 = 0, i3 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0; - __ZNSt3__211char_traitsIcE3eofEv() | 0; - i7 = i5 + 12 | 0; - i8 = i5 + 16 | 0; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i6 | 0)) break; - i2 = HEAP32[i7 >> 2] | 0; - i3 = HEAP32[i8 >> 2] | 0; - if (i2 >>> 0 < i3 >>> 0) { - i3 = i3 - i2 | 0; - i9 = i6 - i4 | 0; - i3 = (i9 | 0) < (i3 | 0) ? i9 : i3; - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i1, i2, i3) | 0; - HEAP32[i7 >> 2] = (HEAP32[i7 >> 2] | 0) + i3; - i1 = i1 + i3 | 0; - i2 = i3; - } else { - i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i5 >> 2] | 0) + 40 >> 2] & 127](i5) | 0; - if ((i2 | 0) == -1) break; - i2 = __ZNSt3__211char_traitsIcE12to_char_typeEi(i2) | 0; - HEAP8[i1 >> 0] = i2; - i1 = i1 + 1 | 0; - i2 = 1; - } - i4 = i2 + i4 | 0; - } - return i4 | 0; -} - -function __ZNK6vision21HoughSimilarityVoting12mapVoteToBinERfS1_S1_S1_ffff(i1, i2, i3, i4, i5, d6, d7, d8, d9) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - d6 = +d6; - d7 = +d7; - d8 = +d8; - d9 = +d9; - var d10 = 0.0, d11 = 0.0; - d10 = +(HEAP32[i1 + 52 >> 2] | 0); - d11 = +HEAPF32[i1 + 20 >> 2]; - d6 = +__ZN6vision12SafeDivisionIfEET_S1_S1_(d6 - d11, +HEAPF32[i1 + 24 >> 2] - d11) * d10; - HEAPF32[i2 >> 2] = d6; - d6 = +(HEAP32[i1 + 56 >> 2] | 0); - d10 = +HEAPF32[i1 + 28 >> 2]; - d7 = +__ZN6vision12SafeDivisionIfEET_S1_S1_(d7 - d10, +HEAPF32[i1 + 32 >> 2] - d10) * d6; - HEAPF32[i3 >> 2] = d7; - HEAPF32[i4 >> 2] = (d8 + 3.141592653589793) * .15915494309189535 * +(HEAP32[i1 + 60 >> 2] | 0); - d8 = +(HEAP32[i1 + 64 >> 2] | 0); - d7 = +HEAPF32[i1 + 36 >> 2]; - d9 = +__ZN6vision12SafeDivisionIfEET_S1_S1_(d9 - d7, +HEAPF32[i1 + 40 >> 2] - d7) * d8; - HEAPF32[i5 >> 2] = d9; - return; -} - -function _fopen(i1, i3) { - i1 = i1 | 0; - i3 = i3 | 0; - var i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i6 = i7 + 32 | 0; - i5 = i7 + 16 | 0; - i2 = i7; - if (_strchr(46160, HEAP8[i3 >> 0] | 0) | 0) { - i4 = ___fmodeflags(i3) | 0; - HEAP32[i2 >> 2] = i1; - HEAP32[i2 + 4 >> 2] = i4 | 32768; - HEAP32[i2 + 8 >> 2] = 438; - i2 = ___syscall_ret(___syscall5(5, i2 | 0) | 0) | 0; - if ((i2 | 0) >= 0) { - if (i4 & 524288 | 0) { - HEAP32[i5 >> 2] = i2; - HEAP32[i5 + 4 >> 2] = 2; - HEAP32[i5 + 8 >> 2] = 1; - ___syscall221(221, i5 | 0) | 0; - } - i1 = ___fdopen(i2, i3) | 0; - if (!i1) { - HEAP32[i6 >> 2] = i2; - ___syscall6(6, i6 | 0) | 0; - i1 = 0; - } - } else i1 = 0; - } else { - i1 = ___errno_location() | 0; - HEAP32[i1 >> 2] = 22; - i1 = 0; - } - STACKTOP = i7; - return i1 | 0; -} - -function __ZNSt3__29__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i6 = 0, i7 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i6; - __ZNKSt3__28ios_base6getlocEv(i7, i2); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57948) | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 48 >> 2] & 15](i2, 10736, 10768, i3) | 0; - i3 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57956) | 0; - i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 12 >> 2] & 127](i3) | 0; - HEAP32[i4 >> 2] = i2; - i4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3) | 0; - HEAP32[i5 >> 2] = i4; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 20 >> 2] & 63](i1, i3); - __ZNSt3__26localeD2Ev(i7); - STACKTOP = i6; - return; -} - -function __ZN6vision23AccumulateScaledVector9IfEEvPT_PKS1_S1_(i1, i2, d3) { - i1 = i1 | 0; - i2 = i2 | 0; - d3 = +d3; - var i4 = 0; - HEAPF32[i1 >> 2] = +HEAPF32[i1 >> 2] + +HEAPF32[i2 >> 2] * d3; - i4 = i1 + 4 | 0; - HEAPF32[i4 >> 2] = +HEAPF32[i4 >> 2] + +HEAPF32[i2 + 4 >> 2] * d3; - i4 = i1 + 8 | 0; - HEAPF32[i4 >> 2] = +HEAPF32[i4 >> 2] + +HEAPF32[i2 + 8 >> 2] * d3; - i4 = i1 + 12 | 0; - HEAPF32[i4 >> 2] = +HEAPF32[i4 >> 2] + +HEAPF32[i2 + 12 >> 2] * d3; - i4 = i1 + 16 | 0; - HEAPF32[i4 >> 2] = +HEAPF32[i4 >> 2] + +HEAPF32[i2 + 16 >> 2] * d3; - i4 = i1 + 20 | 0; - HEAPF32[i4 >> 2] = +HEAPF32[i4 >> 2] + +HEAPF32[i2 + 20 >> 2] * d3; - i4 = i1 + 24 | 0; - HEAPF32[i4 >> 2] = +HEAPF32[i4 >> 2] + +HEAPF32[i2 + 24 >> 2] * d3; - i4 = i1 + 28 | 0; - HEAPF32[i4 >> 2] = +HEAPF32[i4 >> 2] + +HEAPF32[i2 + 28 >> 2] * d3; - i1 = i1 + 32 | 0; - HEAPF32[i1 >> 2] = +HEAPF32[i1 >> 2] + +HEAPF32[i2 + 32 >> 2] * d3; - return; -} - -function __ZNSt3__29__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i6 = 0, i7 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i6; - __ZNKSt3__28ios_base6getlocEv(i7, i2); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57916) | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 32 >> 2] & 15](i2, 10736, 10768, i3) | 0; - i3 = __ZNKSt3__26locale9use_facetERNS0_2idE(i7, 57932) | 0; - i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 12 >> 2] & 127](i3) | 0; - HEAP8[i4 >> 0] = i2; - i4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 16 >> 2] & 127](i3) | 0; - HEAP8[i5 >> 0] = i4; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 20 >> 2] & 63](i1, i3); - __ZNSt3__26localeD2Ev(i7); - STACKTOP = i6; - return; -} - -function __ZL19kpmCreateHandleCoreP9ARParamLTiii(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0, i7 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = _calloc(1, 4156) | 0; - if (!i5) { - _arLog(0, 3, 20454, i6); - _exit(1); - } else { - i7 = __Znwm(4) | 0; - __ZN6vision20VisualDatabaseFacadeC2Ev(i7); - HEAP32[i5 >> 2] = i7; - HEAP32[i5 + 4 >> 2] = i1; - HEAP32[i5 + 8 >> 2] = i4; - HEAP32[i5 + 12 >> 2] = i2; - HEAP32[i5 + 16 >> 2] = i3; - HEAP32[i5 + 20 >> 2] = 1; - HEAP32[i5 + 24 >> 2] = -1; - i4 = i5 + 28 | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - HEAP32[i4 + 8 >> 2] = 0; - HEAP32[i4 + 12 >> 2] = 0; - HEAP32[i4 + 16 >> 2] = 0; - HEAP32[i4 + 20 >> 2] = 0; - HEAP32[i4 + 24 >> 2] = 0; - HEAP32[i4 + 28 >> 2] = 0; - STACKTOP = i6; - return i5 | 0; - } - return 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_117parse_call_offsetEPKcS2_(i1, i4) { - i1 = i1 | 0; - i4 = i4 | 0; - var i2 = 0, i3 = 0, i5 = 0; - L1 : do if ((i1 | 0) != (i4 | 0)) { - switch (HEAP8[i1 >> 0] | 0) { - case 104: - { - i3 = i1 + 1 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_112parse_numberEPKcS2_(i3, i4) | 0; - if ((i2 | 0) == (i3 | 0) | (i2 | 0) == (i4 | 0)) break L1; - return ((HEAP8[i2 >> 0] | 0) == 95 ? i2 + 1 | 0 : i1) | 0; - } - case 118: - break; - default: - break L1; - } - i5 = i1 + 1 | 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_112parse_numberEPKcS2_(i5, i4) | 0; - if ((!((i2 | 0) == (i5 | 0) | (i2 | 0) == (i4 | 0)) ? (HEAP8[i2 >> 0] | 0) == 95 : 0) ? (i5 = i2 + 1 | 0, i3 = __ZN10__cxxabiv112_GLOBAL__N_112parse_numberEPKcS2_(i5, i4) | 0, !((i3 | 0) == (i5 | 0) | (i3 | 0) == (i4 | 0))) : 0) i1 = (HEAP8[i3 >> 0] | 0) == 95 ? i3 + 1 | 0 : i1; - } while (0); - return i1 | 0; -} - -function __ZN6vision25DoGScaleInvariantDetectorC2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 10; - HEAP32[i1 + 12 >> 2] = 10; - HEAP32[i1 + 16 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - HEAP32[i1 + 24 >> 2] = 0; - HEAP8[i1 + 28 >> 0] = 1; - __ZN6vision10DoGPyramidC2Ev(i1 + 32 | 0); - HEAPF32[i1 + 52 >> 2] = 0.0; - HEAPF32[i1 + 56 >> 2] = 10.0; - i2 = i1 + 60 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = 0; - HEAP32[i2 + 20 >> 2] = 0; - HEAPF32[i1 + 88 >> 2] = 9.0; - __ZN6vision21OrientationAssignmentC2Ev(i1 + 92 | 0); - i2 = i1 + 144 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i1 + 148 >> 2] = 0; - HEAP32[i1 + 152 >> 2] = 0; - __ZN6vision25DoGScaleInvariantDetector22setMaxNumFeaturePointsEm(i1, 5e3); - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm(i2, 36); - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc(i2, i3, i4) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i8; - i6 = i2 + 11 | 0; - i1 = HEAP8[i6 >> 0] | 0; - i7 = i1 << 24 >> 24 < 0; - if (i7) i1 = HEAP32[i2 + 4 >> 2] | 0; else i1 = i1 & 255; - do if (i1 >>> 0 >= i3 >>> 0) if (i7) { - i7 = (HEAP32[i2 >> 2] | 0) + i3 | 0; - HEAP8[i5 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i7, i5); - HEAP32[i2 + 4 >> 2] = i3; - break; - } else { - HEAP8[i5 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i2 + i3 | 0, i5); - HEAP8[i6 >> 0] = i3; - break; - } else __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEmc(i2, i3 - i1 | 0, i4) | 0; while (0); - STACKTOP = i8; - return; -} - -function _setPattRatio(i1, d2) { - i1 = i1 | 0; - d2 = +d2; - var i3 = 0, i4 = 0, i5 = 0, d6 = 0.0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i8; - i4 = i8 + 8 | 0; - HEAP32[i4 >> 2] = i1; - if (((__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i4) | 0 ? (i5 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i4) | 0, !(d2 <= 0.0 | d2 >= 1.0)) : 0) ? (d6 = d2, i3 = HEAP32[i5 + 216 >> 2] | 0, i3 | 0) : 0) ? (_arSetPattRatio(i3, d6) | 0) == 0 : 0) { - HEAPF64[i7 >> 3] = d6; - _arLog(0, 1, 40648, i7); - } - STACKTOP = i8; - return; -} - -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (((i3 | 0) / -36 | 0) * 36 | 0) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function ___stpcpy(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i3 = i2; - L1 : do if (!((i3 ^ i1) & 3)) { - if (i3 & 3) do { - i3 = HEAP8[i2 >> 0] | 0; - HEAP8[i1 >> 0] = i3; - if (!(i3 << 24 >> 24)) break L1; - i2 = i2 + 1 | 0; - i1 = i1 + 1 | 0; - } while ((i2 & 3 | 0) != 0); - i3 = HEAP32[i2 >> 2] | 0; - if (!((i3 & -2139062144 ^ -2139062144) & i3 + -16843009)) { - i4 = i1; + $13 = $8 + $9 | 0; + if (HEAPU8[$13 | 0]) { + $11 = 1; + $14 = 8 - $9 | 0; + $6 = 1 << $14; while (1) { - i2 = i2 + 4 | 0; - i1 = i4 + 4 | 0; - HEAP32[i4 >> 2] = i3; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 & -2139062144 ^ -2139062144) & i3 + -16843009 | 0) break; else i4 = i1; - } - } - i4 = 10; - } else i4 = 10; while (0); - if ((i4 | 0) == 10) { - i4 = HEAP8[i2 >> 0] | 0; - HEAP8[i1 >> 0] = i4; - if (i4 << 24 >> 24) do { - i2 = i2 + 1 | 0; - i1 = i1 + 1 | 0; - i4 = HEAP8[i2 >> 0] | 0; - HEAP8[i1 >> 0] = i4; - } while (i4 << 24 >> 24 != 0); - } - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_119parse_unscoped_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i3, i5) { - i1 = i1 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - var i2 = 0, i4 = 0; - if ((i3 - i1 | 0) > 1) { - if ((HEAP8[i1 >> 0] | 0) == 83 ? (HEAP8[i1 + 1 >> 0] | 0) == 116 : 0) { - i2 = i1 + 2 | 0; - if ((i2 | 0) == (i3 | 0)) { - i4 = 0; - i2 = i3; - } else { - i4 = 0; - i2 = (HEAP8[i2 >> 0] | 0) == 76 ? i1 + 3 | 0 : i2; + $15 = $8 + $12 | 0; + $2 = HEAP32[($12 << 2) + $7 >> 2] << $14; + $3 = $6; + while (1) { + HEAP32[(($2 << 2) + $5 | 0) + 144 >> 2] = $9; + HEAP8[($2 + $5 | 0) + 1168 | 0] = HEAPU8[$15 + 17 | 0]; + $2 = $2 + 1 | 0; + $4 = ($3 | 0) > 1; + $3 = $3 - 1 | 0; + if ($4) { + continue; + } + break; + } + $12 = $12 + 1 | 0; + $2 = HEAPU8[$13 | 0] > $11 >>> 0; + $11 = $11 + 1 | 0; + if ($2) { + continue; + } + break; } - } else { - i4 = 1; - i2 = i1; - } - i3 = __ZN10__cxxabiv112_GLOBAL__N_122parse_unqualified_nameINS0_2DbEEEPKcS4_S4_RT_(i2, i3, i5) | 0; - i2 = (i3 | 0) == (i2 | 0); - if (!(i4 | i2)) { - i2 = HEAP32[i5 + 4 >> 2] | 0; - if ((HEAP32[i5 >> 2] | 0) != (i2 | 0)) { - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i2 + -24 | 0, 0, 49963) | 0; - i1 = i3; - } - } else i1 = i2 ? i1 : i3; - } - return i1 | 0; -} - -function _getMultiMarkerNum(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i6; - HEAP32[i4 >> 2] = i1; - if (((__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i4) | 0) != 0 ? (i5 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i4) | 0, (i2 | 0) >= 0) : 0) ? (i3 = HEAP32[i5 + 280 >> 2] | 0, (HEAP32[i5 + 284 >> 2] | 0) - i3 >> 3 >>> 0 > i2 >>> 0) : 0) i1 = HEAP32[(HEAP32[i3 + (i2 << 3) + 4 >> 2] | 0) + 4 >> 2] | 0; else i1 = -1; - STACKTOP = i6; - return i1 | 0; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6, i2, i3, i4, i5) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i7 = 0, i8 = 0, i9 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 4 | 0; - i9 = i7; - i1 = i1 + 8 | 0; - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 4 >> 2] & 127](i1) | 0; - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - i1 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb(i2, i8, i1, i1 + 288 | 0, i5, i4, 0) | 0) - i1 | 0; - if ((i1 | 0) < 288) HEAP32[i6 >> 2] = ((i1 | 0) / 12 | 0 | 0) % 12 | 0; - STACKTOP = i7; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6, i2, i3, i4, i5) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i7 = 0, i8 = 0, i9 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 4 | 0; - i9 = i7; - i1 = i1 + 8 | 0; - i1 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 4 >> 2] & 127](i1) | 0; - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - i1 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb(i2, i8, i1, i1 + 288 | 0, i5, i4, 0) | 0) - i1 | 0; - if ((i1 | 0) < 288) HEAP32[i6 >> 2] = ((i1 | 0) / 12 | 0 | 0) % 12 | 0; - STACKTOP = i7; - return; -} - -function __ZN6vision14ExtractFREAK84EPhPKNS_25GaussianScaleSpacePyramidERKNS_12FeaturePointEPKfS8_S8_S8_S8_S8_ffffffff(i1, i2, i11, i12, i13, i14, i15, i16, i17, d18, d3, d4, d5, d6, d7, d8, d9) { - i1 = i1 | 0; - i2 = i2 | 0; - i11 = i11 | 0; - i12 = i12 | 0; - i13 = i13 | 0; - i14 = i14 | 0; - i15 = i15 | 0; - i16 = i16 | 0; - i17 = i17 | 0; - d18 = +d18; - d3 = +d3; - d4 = +d4; - d5 = +d5; - d6 = +d6; - d7 = +d7; - d8 = +d8; - d9 = +d9; - var i10 = 0, i19 = 0; - i19 = STACKTOP; - STACKTOP = STACKTOP + 160 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(160); - i10 = i19; - if (__ZN6vision20SamplePyramidFREAK84EPfPKNS_25GaussianScaleSpacePyramidERKNS_12FeaturePointEPKfS8_S8_S8_S8_S8_ffffffff(i10, i2, i11, i12, i13, i14, i15, i16, i17, d18, d3, d4, d5, d6, d7, d8, d9) | 0) { - __ZN6vision14CompareFREAK84EPhPKf(i1, i10); - i1 = 1; - } else i1 = 0; - STACKTOP = i19; - return i1 | 0; -} - -function __ZN6vision40Homography4PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_S3_S3_(i1, i2, i3, i4, i5, i6, i7, i8) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - var i9 = 0; - i9 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i1, i2, i3) > 0.0; - if ((!(i9 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i5, i6, i7) > 0.0) ? (i9 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i2, i3, i4) > 0.0, !(i9 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i6, i7, i8) > 0.0)) : 0) ? (i9 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i3, i4, i1) > 0.0, !(i9 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i7, i8, i5) > 0.0)) : 0) { - i1 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i4, i1, i2) > 0.0; - i1 = i1 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i8, i5, i6) > 0.0 ^ 1; - } else i1 = 0; - return i1 | 0; -} - -function __ZN6vision14FREAKExtractor7extractERNS_18BinaryFeatureStoreEPKNS_25GaussianScaleSpacePyramidERKNSt3__26vectorINS_12FeaturePointENS6_9allocatorIS8_EEEE(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - __ZN6vision18BinaryFeatureStore21setNumBytesPerFeatureEi(i2, 96); - __ZN6vision18BinaryFeatureStore6resizeEm(i2, ((HEAP32[i4 + 4 >> 2] | 0) - (HEAP32[i4 >> 2] | 0) | 0) / 20 | 0); - __ZN6vision14ExtractFREAK84ERNS_18BinaryFeatureStoreEPKNS_25GaussianScaleSpacePyramidERKNSt3__26vectorINS_12FeaturePointENS5_9allocatorIS7_EEEEPKfSE_SE_SE_SE_SE_ffffffff(i2, i3, i4, i1, i1 + 48 | 0, i1 + 96 | 0, i1 + 144 | 0, i1 + 192 | 0, i1 + 240 | 0, +HEAPF32[i1 + 288 >> 2], +HEAPF32[i1 + 292 >> 2], +HEAPF32[i1 + 296 >> 2], +HEAPF32[i1 + 300 >> 2], +HEAPF32[i1 + 304 >> 2], +HEAPF32[i1 + 308 >> 2], +HEAPF32[i1 + 312 >> 2], +HEAPF32[i1 + 316 >> 2]); - return; -} - -function _get_soi(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0; - i3 = HEAP32[i2 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 102; - FUNCTION_TABLE_vii[HEAP32[i3 + 4 >> 2] & 63](i2, 1); - i3 = i2 + 440 | 0; - if (HEAP32[(HEAP32[i3 >> 2] | 0) + 12 >> 2] | 0) { - i1 = HEAP32[i2 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 61; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i2); - } - i1 = 0; - while (1) { - if ((i1 | 0) == 16) break; - HEAP8[i2 + 228 + i1 >> 0] = 0; - HEAP8[i2 + 244 + i1 >> 0] = 1; - HEAP8[i2 + 260 + i1 >> 0] = 5; - i1 = i1 + 1 | 0; - } - HEAP32[i2 + 276 >> 2] = 0; - HEAP32[i2 + 40 >> 2] = 0; - HEAP32[i2 + 300 >> 2] = 0; - HEAP32[i2 + 280 >> 2] = 0; - HEAP8[i2 + 284 >> 0] = 1; - HEAP8[i2 + 285 >> 0] = 1; - HEAP8[i2 + 286 >> 0] = 0; - HEAP16[i2 + 288 >> 1] = 1; - HEAP16[i2 + 290 >> 1] = 1; - HEAP32[i2 + 292 >> 2] = 0; - HEAP8[i2 + 296 >> 0] = 0; - HEAP32[(HEAP32[i3 >> 2] | 0) + 12 >> 2] = 1; - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6, i2, i3, i4, i5) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i7 = 0, i8 = 0, i9 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 4 | 0; - i9 = i7; - i1 = i1 + 8 | 0; - i1 = FUNCTION_TABLE_ii[HEAP32[HEAP32[i1 >> 2] >> 2] & 127](i1) | 0; - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - i1 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb(i2, i8, i1, i1 + 168 | 0, i5, i4, 0) | 0) - i1 | 0; - if ((i1 | 0) < 168) HEAP32[i6 >> 2] = ((i1 | 0) / 12 | 0 | 0) % 7 | 0; - STACKTOP = i7; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6, i2, i3, i4, i5) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i7 = 0, i8 = 0, i9 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 4 | 0; - i9 = i7; - i1 = i1 + 8 | 0; - i1 = FUNCTION_TABLE_ii[HEAP32[HEAP32[i1 >> 2] >> 2] & 127](i1) | 0; - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - i1 = (__ZNSt3__214__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb(i2, i8, i1, i1 + 168 | 0, i5, i4, 0) | 0) - i1 | 0; - if ((i1 | 0) < 168) HEAP32[i6 >> 2] = ((i1 | 0) / 12 | 0 | 0) % 7 | 0; - STACKTOP = i7; - return; -} - -function _post_process_1pass(i1, i2, i3, i4, i5, i6, i7) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - var i8 = 0, i9 = 0, i10 = 0, i11 = 0, i12 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i8; - i12 = HEAP32[i1 + 432 >> 2] | 0; - i10 = i7 - (HEAP32[i6 >> 2] | 0) | 0; - i11 = HEAP32[i12 + 16 >> 2] | 0; - HEAP32[i9 >> 2] = 0; - i7 = i12 + 12 | 0; - FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[i1 + 452 >> 2] | 0) + 4 >> 2] & 7](i1, i2, i3, i4, HEAP32[i7 >> 2] | 0, i9, i10 >>> 0 > i11 >>> 0 ? i11 : i10); - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 + 460 >> 2] | 0) + 4 >> 2] & 31](i1, HEAP32[i7 >> 2] | 0, i5 + (HEAP32[i6 >> 2] << 2) | 0, HEAP32[i9 >> 2] | 0); - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + (HEAP32[i9 >> 2] | 0); - STACKTOP = i8; - return; -} - -function __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EERKSB_PKS8_(i2, i3, i4) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i5 = 0, i6 = 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i6 = i3 + 11 | 0; - i5 = HEAP8[i6 >> 0] | 0; - i5 = i5 << 24 >> 24 < 0 ? HEAP32[i3 + 4 >> 2] | 0 : i5 & 255; - i1 = __ZNSt3__211char_traitsIcE6lengthEPKc(i4) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcmm(i2, (HEAP8[i6 >> 0] | 0) < 0 ? HEAP32[i3 >> 2] | 0 : i3, i5, i5 + i1 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i2, i4, i1) | 0; - return; -} - -function __ZNSt3__2plIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEENS_12basic_stringIT_T0_T1_EEPKS8_RKSB_(i2, i3, i4) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i5 = 0, i6 = 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i6 = __ZNSt3__211char_traitsIcE6lengthEPKc(i3) | 0; - i5 = i4 + 11 | 0; - i1 = HEAP8[i5 >> 0] | 0; - i1 = i1 << 24 >> 24 < 0 ? HEAP32[i4 + 4 >> 2] | 0 : i1 & 255; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcmm(i2, i3, i6, i1 + i6 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i2, (HEAP8[i5 >> 0] | 0) < 0 ? HEAP32[i4 >> 2] | 0 : i4, i1) | 0; - return; -} - -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE7reserveEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i5; - i4 = HEAP32[i1 >> 2] | 0; - if ((((HEAP32[i1 + 8 >> 2] | 0) - i4 | 0) / 36 | 0) >>> 0 < i2 >>> 0) { - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEEC2EmmS6_(i3, i2, ((HEAP32[i1 + 4 >> 2] | 0) - i4 | 0) / 36 | 0, i1 + 8 | 0); - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i1, i3); - __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEED2Ev(i3); - } - STACKTOP = i5; - return; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(i2, i3, i5) { - i2 = i2 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - var i1 = 0, i4 = 0, i6 = 0, i7 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i7; - if (i5 >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i2); - do if (i5 >>> 0 >= 2) { - i4 = i5 + 4 & -4; - if (i4 >>> 0 > 1073741823) _abort(); else { - i1 = __Znwm(i4 << 2) | 0; - HEAP32[i2 >> 2] = i1; - HEAP32[i2 + 8 >> 2] = i4 | -2147483648; - HEAP32[i2 + 4 >> 2] = i5; - break; } - } else { - HEAP8[i2 + 8 + 3 >> 0] = i5; - i1 = i2; - } while (0); - __ZNSt3__211char_traitsIwE4copyEPwPKwm(i1, i3, i5) | 0; - HEAP32[i6 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i1 + (i5 << 2) | 0, i6); - STACKTOP = i7; - return; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw(i2, i3, i5) { - i2 = i2 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - var i1 = 0, i4 = 0, i6 = 0, i7 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i7; - if (i3 >>> 0 > 1073741807) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i2); - do if (i3 >>> 0 >= 2) { - i4 = i3 + 4 & -4; - if (i4 >>> 0 > 1073741823) _abort(); else { - i1 = __Znwm(i4 << 2) | 0; - HEAP32[i2 >> 2] = i1; - HEAP32[i2 + 8 >> 2] = i4 | -2147483648; - HEAP32[i2 + 4 >> 2] = i3; - break; + $9 = $9 + 1 | 0; + if (($9 | 0) != 9) { + continue; } - } else { - HEAP8[i2 + 8 + 3 >> 0] = i3; - i1 = i2; - } while (0); - __ZNSt3__211char_traitsIwE6assignEPwmw(i1, i3, i5) | 0; - HEAP32[i6 >> 2] = 0; - __ZNSt3__211char_traitsIwE6assignERwRKw(i1 + (i3 << 2) | 0, i6); - STACKTOP = i7; - return; -} - -function _setDebugMode(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - i3 = i5 + 4 | 0; - HEAP32[i3 >> 2] = i2; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0)) i1 = 0; else { - i2 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0) + 216 | 0; - i3 = (i1 | 0) != 0; - _arSetDebugMode(HEAP32[i2 >> 2] | 0, i3 & 1) | 0; - HEAP32[i4 >> 2] = i3 ? 40782 : 40786; - _arLog(0, 1, 40791, i4); - } - STACKTOP = i5; - return i1 | 0; -} - -function ___fseeko_unlocked(i5, i1, i2, i6) { - i5 = i5 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i6 = i6 | 0; - var i3 = 0, i4 = 0; - if ((i6 | 0) == 1) { - i4 = (HEAP32[i5 + 8 >> 2] | 0) - (HEAP32[i5 + 4 >> 2] | 0) | 0; - i1 = _i64Subtract(i1 | 0, i2 | 0, i4 | 0, ((i4 | 0) < 0) << 31 >> 31 | 0) | 0; - i2 = getTempRet0() | 0; - } - i3 = i5 + 20 | 0; - i4 = i5 + 28 | 0; - if ((HEAP32[i3 >> 2] | 0) >>> 0 > (HEAP32[i4 >> 2] | 0) >>> 0 ? (FUNCTION_TABLE_iiii[HEAP32[i5 + 36 >> 2] & 63](i5, 0, 0) | 0, (HEAP32[i3 >> 2] | 0) == 0) : 0) i1 = -1; else { - HEAP32[i5 + 16 >> 2] = 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i3 >> 2] = 0; - FUNCTION_TABLE_iiiii[HEAP32[i5 + 40 >> 2] & 15](i5, i1, i2, i6) | 0; - if ((getTempRet0() | 0) < 0) i1 = -1; else { - HEAP32[i5 + 8 >> 2] = 0; - HEAP32[i5 + 4 >> 2] = 0; - HEAP32[i5 >> 2] = HEAP32[i5 >> 2] & -17; - i1 = 0; - } - } - return i1 | 0; -} - -function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (((i3 | 0) / -12 | 0) * 12 | 0) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (0 - (i3 >> 2) << 2) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function _getPattRatio(i2) { - i2 = i2 | 0; - var d1 = 0.0, i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i5 + 8 | 0; - i4 = i5; - HEAP32[i3 >> 2] = i2; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0)) d1 = -1.0; else { - i2 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0) + 216 | 0; - i2 = HEAP32[i2 >> 2] | 0; - if (!i2) d1 = -1.0; else { - i3 = (_arGetPattRatio(i2, i4) | 0) == 0; - d1 = i3 ? +HEAPF64[i4 >> 3] : -1.0; - } - } - STACKTOP = i5; - return +d1; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcmm(i1, i3, i4, i2) { - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i2 = i2 | 0; - var i5 = 0, i6 = 0, i7 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i6; - if (i2 >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i1); - if (i2 >>> 0 < 11) HEAP8[i1 + 11 >> 0] = i4; else { - i7 = i2 + 16 & -16; - i2 = __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE8allocateEm(i7) | 0; - HEAP32[i1 >> 2] = i2; - HEAP32[i1 + 8 >> 2] = i7 | -2147483648; - HEAP32[i1 + 4 >> 2] = i4; - i1 = i2; - } - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i1, i3, i4) | 0; - HEAP8[i5 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1 + i4 | 0, i5); - STACKTOP = i6; - return; -} - -function __ZNSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS7_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (0 - (i3 >> 2) << 2) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (0 - (i3 >> 2) << 2) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function _arPattDeleteHandle(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - if (!i3) i1 = -1; else { - i5 = i3 + 4 | 0; - i6 = i3 + 8 | 0; - i7 = i3 + 12 | 0; - i8 = i3 + 20 | 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (HEAP32[i5 >> 2] | 0)) break; - if (HEAP32[(HEAP32[i6 >> 2] | 0) + (i2 << 2) >> 2] | 0) _arPattFree(i3, i2) | 0; - i4 = i2 << 2; - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - i9 = i1 + i4 | 0; - _free(HEAP32[(HEAP32[i7 >> 2] | 0) + (i9 << 2) >> 2] | 0); - _free(HEAP32[(HEAP32[i8 >> 2] | 0) + (i9 << 2) >> 2] | 0); - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - _free(HEAP32[i7 >> 2] | 0); - _free(HEAP32[i8 >> 2] | 0); - _free(HEAP32[i6 >> 2] | 0); - _free(HEAP32[i3 + 16 >> 2] | 0); - _free(HEAP32[i3 + 24 >> 2] | 0); - _free(i3); - i1 = 0; - } - return i1 | 0; -} - -function __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i4 = HEAP32[i2 >> 2] | 0; - i5 = i2 + 4 | 0; - i6 = i3 + 4 | 0; - i1 = HEAP32[i5 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i7 = i1 + -32 | 0; - __ZN6vision5ImageC2ERKS0_((HEAP32[i6 >> 2] | 0) + -32 | 0, i7); - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + -32; - i1 = i7; - } - i4 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i6 >> 2] = i4; - i4 = i3 + 8 | 0; - i7 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i7; - i4 = i2 + 8 | 0; - i7 = i3 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i3 >> 2] = HEAP32[i6 >> 2]; - return; -} - -function __ZNSt3__215__num_get_floatIeEET_PKcS3_Rj(i2, i3, i6) { - i2 = i2 | 0; - i3 = i3 | 0; - i6 = i6 | 0; - var d1 = 0.0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i8; - if ((i2 | 0) == (i3 | 0)) { - HEAP32[i6 >> 2] = 4; - d1 = 0.0; - } else { - i5 = ___errno_location() | 0; - i5 = HEAP32[i5 >> 2] | 0; - i9 = ___errno_location() | 0; - HEAP32[i9 >> 2] = 0; - d1 = +_strtold_l(i2, i4, __ZNSt3__26__clocEv() | 0); - i2 = ___errno_location() | 0; - i2 = HEAP32[i2 >> 2] | 0; - if (!i2) { - i9 = ___errno_location() | 0; - HEAP32[i9 >> 2] = i5; - } - if ((HEAP32[i4 >> 2] | 0) == (i3 | 0)) { - if ((i2 | 0) == 34) i7 = 6; - } else { - d1 = 0.0; - i7 = 6; - } - if ((i7 | 0) == 6) HEAP32[i6 >> 2] = 4; - } - STACKTOP = i8; - return +d1; -} - -function __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0; - HEAPF32[i1 >> 2] = -+HEAPF32[i2 >> 2]; - i4 = i2 + 4 | 0; - HEAPF32[i1 + 4 >> 2] = -+HEAPF32[i4 >> 2]; - HEAPF32[i1 + 8 >> 2] = -1.0; - __ZN6vision11ZeroVector3IfEEvPT_(i1 + 12 | 0); - HEAPF32[i1 + 24 >> 2] = +HEAPF32[i3 >> 2] * +HEAPF32[i2 >> 2]; - HEAPF32[i1 + 28 >> 2] = +HEAPF32[i3 >> 2] * +HEAPF32[i4 >> 2]; - HEAP32[i1 + 32 >> 2] = HEAP32[i3 >> 2]; - __ZN6vision11ZeroVector3IfEEvPT_(i1 + 36 | 0); - HEAPF32[i1 + 48 >> 2] = -+HEAPF32[i2 >> 2]; - HEAPF32[i1 + 52 >> 2] = -+HEAPF32[i4 >> 2]; - HEAPF32[i1 + 56 >> 2] = -1.0; - i3 = i3 + 4 | 0; - HEAPF32[i1 + 60 >> 2] = +HEAPF32[i3 >> 2] * +HEAPF32[i2 >> 2]; - HEAPF32[i1 + 64 >> 2] = +HEAPF32[i3 >> 2] * +HEAPF32[i4 >> 2]; - HEAP32[i1 + 68 >> 2] = HEAP32[i3 >> 2]; - return; -} - -function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (0 - (i3 >> 3) << 3) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function __ZNSt3__215__num_get_floatIfEET_PKcS3_Rj(i2, i3, i6) { - i2 = i2 | 0; - i3 = i3 | 0; - i6 = i6 | 0; - var d1 = 0.0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i8; - if ((i2 | 0) == (i3 | 0)) { - HEAP32[i6 >> 2] = 4; - d1 = 0.0; - } else { - i5 = ___errno_location() | 0; - i5 = HEAP32[i5 >> 2] | 0; - i9 = ___errno_location() | 0; - HEAP32[i9 >> 2] = 0; - d1 = +_strtof_l(i2, i4, __ZNSt3__26__clocEv() | 0); - i2 = ___errno_location() | 0; - i2 = HEAP32[i2 >> 2] | 0; - if (!i2) { - i9 = ___errno_location() | 0; - HEAP32[i9 >> 2] = i5; - } - if ((HEAP32[i4 >> 2] | 0) == (i3 | 0)) { - if ((i2 | 0) == 34) i7 = 6; - } else { - d1 = 0.0; - i7 = 6; - } - if ((i7 | 0) == 6) HEAP32[i6 >> 2] = 4; - } - STACKTOP = i8; - return +d1; -} - -function __ZNSt3__215__num_get_floatIdEET_PKcS3_Rj(i2, i3, i6) { - i2 = i2 | 0; - i3 = i3 | 0; - i6 = i6 | 0; - var d1 = 0.0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i9 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i8; - if ((i2 | 0) == (i3 | 0)) { - HEAP32[i6 >> 2] = 4; - d1 = 0.0; - } else { - i5 = ___errno_location() | 0; - i5 = HEAP32[i5 >> 2] | 0; - i9 = ___errno_location() | 0; - HEAP32[i9 >> 2] = 0; - d1 = +_strtod_l(i2, i4, __ZNSt3__26__clocEv() | 0); - i2 = ___errno_location() | 0; - i2 = HEAP32[i2 >> 2] | 0; - if (!i2) { - i9 = ___errno_location() | 0; - HEAP32[i9 >> 2] = i5; - } - if ((HEAP32[i4 >> 2] | 0) == (i3 | 0)) { - if ((i2 | 0) == 34) i7 = 6; - } else { - d1 = 0.0; - i7 = 6; - } - if ((i7 | 0) == 6) HEAP32[i6 >> 2] = 4; - } - STACKTOP = i8; - return +d1; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - if (i3 >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i1); - if (i3 >>> 0 < 11) HEAP8[i1 + 11 >> 0] = i3; else { - i7 = i3 + 16 & -16; - i6 = __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE8allocateEm(i7) | 0; - HEAP32[i1 >> 2] = i6; - HEAP32[i1 + 8 >> 2] = i7 | -2147483648; - HEAP32[i1 + 4 >> 2] = i3; - i1 = i6; - } - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i1, i2, i3) | 0; - HEAP8[i4 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1 + i3 | 0, i4); - STACKTOP = i5; - return; -} - -function __ZNSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS1_RS3_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (0 - (i3 >> 3) << 3) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function __ZNKSt3__27codecvtIwc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_(i1, i4, i3, i5, i6) { - i1 = i1 | 0; - i4 = i4 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i2 = 0, i7 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i7; - HEAP32[i6 >> 2] = i3; - i3 = ___uselocale(HEAP32[i1 + 8 >> 2] | 0) | 0; - i1 = _wcrtomb(i2, 0, i4) | 0; - if (i3 | 0) ___uselocale(i3) | 0; - L4 : do if ((i1 + 1 | 0) >>> 0 >= 2) { - i1 = i1 + -1 | 0; - if (i1 >>> 0 > (i5 - (HEAP32[i6 >> 2] | 0) | 0) >>> 0) i1 = 1; else while (1) { - if (!i1) { - i1 = 0; - break L4; - } - i4 = HEAP8[i2 >> 0] | 0; - i5 = HEAP32[i6 >> 2] | 0; - HEAP32[i6 >> 2] = i5 + 1; - HEAP8[i5 >> 0] = i4; - i2 = i2 + 1 | 0; - i1 = i1 + -1 | 0; - } - } else i1 = 2; while (0); - STACKTOP = i7; - return i1 | 0; -} - -function __ZNSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (0 - (i3 >> 3) << 3) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (0 - (i3 >> 3) << 3) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function __ZN10emscripten8internal7InvokerIiJiNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE6invokeEPFiiS8_EiPNS0_11BindingTypeIS8_EUt_E(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i4 + 12 | 0; - i5 = i4; - i2 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i2) | 0; - __ZN10emscripten8internal11BindingTypeINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEE12fromWireTypeEPNS9_Ut_E(i5, i3); - i3 = FUNCTION_TABLE_iii[i1 & 63](i2, i5) | 0; - HEAP32[i6 >> 2] = i3; - i3 = __ZN10emscripten8internal11BindingTypeIiE10toWireTypeERKi(i6) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i5); - STACKTOP = i4; - return i3 | 0; -} - -function _setThreshold(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i6; - i3 = i6 + 4 | 0; - HEAP32[i3 >> 2] = i1; - if ((__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0 ? (i4 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0, i2 >>> 0 <= 255) : 0) ? (_arSetLabelingThresh(HEAP32[i4 + 216 >> 2] | 0, i2) | 0) == 0 : 0) { - HEAP32[i5 >> 2] = i2; - _arLog(0, 1, 40714, i5); - } - STACKTOP = i6; - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_122parse_unqualified_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - L1 : do if ((i1 | 0) != (i2 | 0)) switch (HEAP8[i1 >> 0] | 0) { - case 68: - case 67: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_120parse_ctor_dtor_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) | 0; - break L1; + break; + } + label$19: { + if (!$1 | ($10 | 0) <= 0) { + break label$19; } - case 85: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_123parse_unnamed_type_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) | 0; - break L1; - } - case 57: - case 56: - case 55: - case 54: - case 53: - case 52: - case 51: - case 50: - case 49: - { - i1 = __ZN10__cxxabiv112_GLOBAL__N_117parse_source_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) | 0; - break L1; - } - default: - return __ZN10__cxxabiv112_GLOBAL__N_119parse_operator_nameINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) | 0; - } while (0); - return i1 | 0; -} - -function _read_restart_marker(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0; - i5 = i4 + 416 | 0; - i1 = HEAP32[i5 >> 2] | 0; - if (!i1) if (!(_next_marker(i4) | 0)) i1 = 0; else { - i1 = HEAP32[i5 >> 2] | 0; - i2 = 4; - } else i2 = 4; - do if ((i2 | 0) == 4) { - i2 = i4 + 440 | 0; - i3 = HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] | 0; - if ((i1 | 0) != (i3 + 208 | 0)) { - if (!(FUNCTION_TABLE_iii[HEAP32[(HEAP32[i4 + 24 >> 2] | 0) + 20 >> 2] & 63](i4, i3) | 0)) { - i1 = 0; + $6 = $10 & 1; + $2 = 0; + if (($10 | 0) != 1) { + $5 = $10 & -2; + $3 = 0; + while (1) { + if (HEAPU8[($2 + $8 | 0) + 17 | 0] >= 16) { + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 9; + FUNCTION_TABLE[HEAP32[$4 >> 2]]($0); + } + if (HEAPU8[(($2 | 1) + $8 | 0) + 17 | 0] >= 16) { + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 9; + FUNCTION_TABLE[HEAP32[$4 >> 2]]($0); + } + $2 = $2 + 2 | 0; + $3 = $3 + 2 | 0; + if (($5 | 0) != ($3 | 0)) { + continue; + } break; } - } else { - i1 = HEAP32[i4 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 98; - HEAP32[i1 + 24 >> 2] = i3; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i4 >> 2] | 0) + 4 >> 2] & 63](i4, 3); - HEAP32[i5 >> 2] = 0; - } - i1 = (HEAP32[i2 >> 2] | 0) + 20 | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 1 & 7; - i1 = 1; - } while (0); - return i1 | 0; -} - -function _setPatternDetectionMode(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - i3 = i5 + 4 | 0; - HEAP32[i3 >> 2] = i1; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0 ? (i3 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0) + 216 | 0, (_arSetPatternDetectionMode(HEAP32[i3 >> 2] | 0, i2) | 0) == 0) : 0) { - HEAP32[i4 >> 2] = i2; - _arLog(0, 1, 40679, i4); - } - STACKTOP = i5; - return; -} - -function _byteswap(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i6 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 192 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(192); - i5 = i6; - _byteSwapInt(i4, i5); - _byteSwapInt(i4 + 4 | 0, i5 + 4 | 0); - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - _byteSwapDouble(i4 + 8 + (i1 << 5) + (i2 << 3) | 0, i5 + 8 + (i1 << 5) + (i2 << 3) | 0); - i2 = i2 + 1 | 0; - } - i1 = i1 + 1 | 0; - } - i2 = i4 + 176 | 0; - i1 = 0; - while (1) { - i3 = HEAP32[i2 >> 2] | 0; - if ((i1 | 0) >= (HEAP32[1712 + (i3 + -1 << 3) >> 2] | 0)) break; - _byteSwapDouble(i4 + 104 + (i1 << 3) | 0, i5 + 104 + (i1 << 3) | 0); - i1 = i1 + 1 | 0; - } - HEAP32[i5 + 176 >> 2] = i3; - _memcpy(i4 | 0, i5 | 0, 184) | 0; - STACKTOP = i6; - return; -} - -function __ZNSt3__26vectorItNS_9allocatorItEEE26__swap_out_circular_bufferERNS_14__split_bufferItRS2_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (0 - (i3 >> 1) << 1) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE26__swap_out_circular_bufferERNS_14__split_bufferIiRS2_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (0 - (i3 >> 2) << 2) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function __ZNSt3__26vectorIfNS_9allocatorIfEEE26__swap_out_circular_bufferERNS_14__split_bufferIfRS2_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (0 - (i3 >> 2) << 2) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function __ZNSt3__219__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(i3, i4, i7) { - i3 = i3 | 0; - i4 = i4 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0; - i8 = i3 + 4 | 0; - i2 = (HEAP32[i8 >> 2] | 0) != 143; - i1 = HEAP32[i3 >> 2] | 0; - i6 = i1; - i9 = (HEAP32[i7 >> 2] | 0) - i6 | 0; - i5 = i9 << 1; - i5 = i9 >>> 0 < 2147483647 ? ((i5 | 0) == 0 ? 4 : i5) : -1; - i6 = (HEAP32[i4 >> 2] | 0) - i6 >> 2; - i1 = _realloc(i2 ? i1 : 0, i5) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); - if (!i2) { - i2 = HEAP32[i3 >> 2] | 0; - HEAP32[i3 >> 2] = i1; - if (i2) { - FUNCTION_TABLE_vi[HEAP32[i8 >> 2] & 255](i2); - i1 = HEAP32[i3 >> 2] | 0; - } - } else HEAP32[i3 >> 2] = i1; - HEAP32[i8 >> 2] = 144; - HEAP32[i4 >> 2] = i1 + (i6 << 2); - HEAP32[i7 >> 2] = (HEAP32[i3 >> 2] | 0) + (i5 >>> 2 << 2); - return; -} - -function __ZNSt3__219__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(i3, i4, i7) { - i3 = i3 | 0; - i4 = i4 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0; - i8 = i3 + 4 | 0; - i2 = (HEAP32[i8 >> 2] | 0) != 143; - i1 = HEAP32[i3 >> 2] | 0; - i6 = i1; - i9 = (HEAP32[i7 >> 2] | 0) - i6 | 0; - i5 = i9 << 1; - i5 = i9 >>> 0 < 2147483647 ? ((i5 | 0) == 0 ? 4 : i5) : -1; - i6 = (HEAP32[i4 >> 2] | 0) - i6 >> 2; - i1 = _realloc(i2 ? i1 : 0, i5) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); - if (!i2) { - i2 = HEAP32[i3 >> 2] | 0; - HEAP32[i3 >> 2] = i1; - if (i2) { - FUNCTION_TABLE_vi[HEAP32[i8 >> 2] & 255](i2); - i1 = HEAP32[i3 >> 2] | 0; - } - } else HEAP32[i3 >> 2] = i1; - HEAP32[i8 >> 2] = 144; - HEAP32[i4 >> 2] = i1 + (i6 << 2); - HEAP32[i7 >> 2] = (HEAP32[i3 >> 2] | 0) + (i5 >>> 2 << 2); - return; -} - -function _fputc(i7, i9) { - i7 = i7 | 0; - i9 = i9 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i8 = 0; - if ((HEAP32[i9 + 76 >> 2] | 0) >= 0 ? (___lockfile(i9) | 0) != 0 : 0) { - i2 = i7 & 255; - i1 = i7 & 255; - if ((i1 | 0) != (HEAP8[i9 + 75 >> 0] | 0) ? (i5 = i9 + 20 | 0, i6 = HEAP32[i5 >> 2] | 0, i6 >>> 0 < (HEAP32[i9 + 16 >> 2] | 0) >>> 0) : 0) { - HEAP32[i5 >> 2] = i6 + 1; - HEAP8[i6 >> 0] = i2; - } else i1 = ___overflow(i9, i7) | 0; - ___unlockfile(i9); - } else i8 = 3; - do if ((i8 | 0) == 3) { - i2 = i7 & 255; - i1 = i7 & 255; - if ((i1 | 0) != (HEAP8[i9 + 75 >> 0] | 0) ? (i3 = i9 + 20 | 0, i4 = HEAP32[i3 >> 2] | 0, i4 >>> 0 < (HEAP32[i9 + 16 >> 2] | 0) >>> 0) : 0) { - HEAP32[i3 >> 2] = i4 + 1; - HEAP8[i4 >> 0] = i2; - break; - } - i1 = ___overflow(i9, i7) | 0; - } while (0); - return i1 | 0; -} - -function _getPatternDetectionMode(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i4; - i3 = i4 + 4 | 0; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = -1; else { - i1 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0) + 216 | 0; - i1 = (_arGetPatternDetectionMode(HEAP32[i1 >> 2] | 0, i3) | 0) == 0; - i1 = i1 ? HEAP32[i3 >> 2] | 0 : -1; - } - STACKTOP = i4; - return i1 | 0; -} - -function ___overflow(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i9; - i8 = i6 & 255; - HEAP8[i7 >> 0] = i8; - i2 = i5 + 16 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (!i3) if (!(___towrite(i5) | 0)) { - i3 = HEAP32[i2 >> 2] | 0; - i4 = 4; - } else i1 = -1; else i4 = 4; - do if ((i4 | 0) == 4) { - i4 = i5 + 20 | 0; - i2 = HEAP32[i4 >> 2] | 0; - if (i2 >>> 0 < i3 >>> 0 ? (i1 = i6 & 255, (i1 | 0) != (HEAP8[i5 + 75 >> 0] | 0)) : 0) { - HEAP32[i4 >> 2] = i2 + 1; - HEAP8[i2 >> 0] = i8; - break; - } - if ((FUNCTION_TABLE_iiii[HEAP32[i5 + 36 >> 2] & 63](i5, i7, 1) | 0) == 1) i1 = HEAPU8[i7 >> 0] | 0; else i1 = -1; - } while (0); - STACKTOP = i9; - return i1 | 0; -} - -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i3; - if (HEAP32[i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0) { - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_(i2, i1); - if (HEAP8[i2 >> 0] | 0 ? (i4 = HEAP32[i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0, (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 24 >> 2] & 127](i4) | 0) == -1) : 0) { - i4 = i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) | 0; - __ZNSt3__28ios_base5clearEj(i4, HEAP32[i4 + 16 >> 2] | 1); - } - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev(i2); - } - STACKTOP = i3; - return i1 | 0; -} - -function _setThresholdMode(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - i3 = i5 + 4 | 0; - HEAP32[i3 >> 2] = i1; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0 ? (i3 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0) + 216 | 0, (_arSetLabelingThreshMode(HEAP32[i3 >> 2] | 0, i2) | 0) == 0) : 0) { - HEAP32[i4 >> 2] = i2; - _arLog(0, 1, 40740, i4); - } - STACKTOP = i5; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE5eraseEmm(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i8; - i7 = i4 + 11 | 0; - i1 = HEAP8[i7 >> 0] | 0; - if (i1 << 24 >> 24 < 0) { - i6 = HEAP32[i4 >> 2] | 0; - i2 = HEAP32[i4 + 4 >> 2] | 0; - } else { - i6 = i4; - i2 = i1 & 255; - } - i3 = (i2 | 0) != 0 & 1; - i2 = i2 - i3 | 0; - if (i2) { - __ZNSt3__211char_traitsIcE4moveEPcPKcm(i6, i6 + i3 | 0, i2) | 0; - i1 = HEAP8[i7 >> 0] | 0; - } - if (i1 << 24 >> 24 < 0) HEAP32[i4 + 4 >> 2] = i2; else HEAP8[i7 >> 0] = i2; - HEAP8[i5 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i6 + i2 | 0, i5); - STACKTOP = i8; - return; -} - -function __ZNSt3__26vectorIhNS_9allocatorIhEEE26__swap_out_circular_bufferERNS_14__split_bufferIhRS2_EE(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0; - i2 = HEAP32[i5 >> 2] | 0; - i7 = i5 + 4 | 0; - i4 = i6 + 4 | 0; - i3 = (HEAP32[i7 >> 2] | 0) - i2 | 0; - i1 = (HEAP32[i4 >> 2] | 0) + (0 - i3) | 0; - HEAP32[i4 >> 2] = i1; - if ((i3 | 0) > 0) { - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - i2 = i4; - i1 = HEAP32[i4 >> 2] | 0; - } else i2 = i4; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = i1; - HEAP32[i2 >> 2] = i4; - i4 = i6 + 8 | 0; - i3 = HEAP32[i7 >> 2] | 0; - HEAP32[i7 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i4 >> 2] = i3; - i4 = i5 + 8 | 0; - i7 = i6 + 12 | 0; - i5 = HEAP32[i4 >> 2] | 0; - HEAP32[i4 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i5; - HEAP32[i6 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function _setImageProcMode(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - i3 = i5 + 4 | 0; - HEAP32[i3 >> 2] = i1; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0 ? (i3 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0) + 216 | 0, (_arSetImageProcMode(HEAP32[i3 >> 2] | 0, i2) | 0) == 0) : 0) { - HEAP32[i4 >> 2] = i2; - _arLog(0, 1, 40589, i4); - } - STACKTOP = i5; - return; -} - -function _getThresholdMode(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i4; - i3 = i4 + 4 | 0; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = -1; else { - i1 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0) + 216 | 0; - i1 = (_arGetLabelingThreshMode(HEAP32[i1 >> 2] | 0, i3) | 0) == 0; - i1 = i1 ? HEAP32[i3 >> 2] | 0 : -1; - } - STACKTOP = i4; - return i1 | 0; -} - -function _setLabelingMode(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - i3 = i5 + 4 | 0; - HEAP32[i3 >> 2] = i1; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0 ? (i3 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0) + 216 | 0, (_arSetLabelingMode(HEAP32[i3 >> 2] | 0, i2) | 0) == 0) : 0) { - HEAP32[i4 >> 2] = i2; - _arLog(0, 1, 40618, i4); - } - STACKTOP = i5; - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE5clearEv(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0; - i3 = i2 + 12 | 0; - if (HEAP32[i3 >> 2] | 0) { - i4 = i2 + 8 | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS2_PvEEEE(i2, HEAP32[i4 >> 2] | 0); - HEAP32[i4 >> 2] = 0; - i4 = HEAP32[i2 + 4 >> 2] | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - HEAP32[(HEAP32[i2 >> 2] | 0) + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i3 >> 2] = 0; - } - return; -} - -function _loadCamera(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 208 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); - i6 = i7 + 192 | 0; - i5 = i7 + 184 | 0; - i2 = i7; - i3 = i1 + 11 | 0; - if ((HEAP8[i3 >> 0] | 0) < 0) i4 = HEAP32[i1 >> 2] | 0; else i4 = i1; - if ((_arParamLoad(i4, 1, i2, i5) | 0) < 0) { - if ((HEAP8[i3 >> 0] | 0) < 0) i1 = HEAP32[i1 >> 2] | 0; - HEAP32[i6 >> 2] = i1; - _arLog(0, 3, 43844, i6); - i1 = -1; - } else { - i1 = HEAP32[14054] | 0; - HEAP32[14054] = i1 + 1; - HEAP32[i5 >> 2] = i1; - _memcpy(__ZNSt3__213unordered_mapIi7ARParamNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56196, i5) | 0, i2 | 0, 184) | 0; - i1 = HEAP32[i5 >> 2] | 0; - } - STACKTOP = i7; - return i1 | 0; -} - -function _jinit_1pass_quantizer(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i1 + 4 >> 2] >> 2] & 63](i1, 1, 88) | 0; - HEAP32[i1 + 460 >> 2] = i2; - HEAP32[i2 >> 2] = 42; - HEAP32[i2 + 8 >> 2] = 122; - HEAP32[i2 + 12 >> 2] = 123; - HEAP32[i2 + 68 >> 2] = 0; - HEAP32[i2 + 52 >> 2] = 0; - if ((HEAP32[i1 + 120 >> 2] | 0) > 4) { - i2 = HEAP32[i1 >> 2] | 0; - HEAP32[i2 + 20 >> 2] = 55; - HEAP32[i2 + 24 >> 2] = 4; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i1 >> 2] >> 2] & 255](i1); - } - if ((HEAP32[i1 + 96 >> 2] | 0) > 256) { - i2 = HEAP32[i1 >> 2] | 0; - HEAP32[i2 + 20 >> 2] = 57; - HEAP32[i2 + 24 >> 2] = 256; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i1 >> 2] >> 2] & 255](i1); - } - _create_colormap(i1); - _create_colorindex(i1); - if ((HEAP32[i1 + 88 >> 2] | 0) == 2) _alloc_fs_workspace(i1); - return; -} - -function _getImageProcMode(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i4; - i3 = i4 + 4 | 0; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = -1; else { - i1 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0) + 216 | 0; - i1 = (_arGetImageProcMode(HEAP32[i1 >> 2] | 0, i3) | 0) == 0; - i1 = i1 ? HEAP32[i3 >> 2] | 0 : -1; - } - STACKTOP = i4; - return i1 | 0; -} - -function __ZNSt3__213__vector_baseINS_6vectorINS1_IN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEEENS5_IS9_Lm4096EEEED2Ev(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) { - i4 = i2 + 4 | 0; - i1 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i3 | 0)) break; - i5 = i1 + -16 | 0; - __ZNSt3__213__vector_baseINS_6vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEED2Ev(i5); - i1 = i5; - } - HEAP32[i4 >> 2] = i3; - i5 = HEAP32[i2 >> 2] | 0; - __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS3_INS0_11string_pairENS1_IS4_Lm4096EEEEENS1_IS6_Lm4096EEEEELm4096EE10deallocateEPS8_m(i2 + 12 | 0, i5, (HEAP32[i2 + 8 >> 2] | 0) - i5 >> 4); - } - return; -} - -function _getLabelingMode(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i4; - i3 = i4 + 4 | 0; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = -1; else { - i1 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0) + 216 | 0; - i1 = (_arGetLabelingMode(HEAP32[i1 >> 2] | 0, i3) | 0) == 0; - i1 = i1 ? HEAP32[i3 >> 2] | 0 : -1; - } - STACKTOP = i4; - return i1 | 0; -} - -function __ZL15loadMultiMarkerPKcP8ARHandlePP12ARPattHandlePP18ARMultiMarkerInfoT(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = _arMultiReadConfigFile(i1, HEAP32[i3 >> 2] | 0) | 0; - HEAP32[i4 >> 2] = i1; - L1 : do if (!i1) { - _arLog(0, 3, 44272, i5); - _arPattDeleteHandle(HEAP32[i3 >> 2] | 0) | 0; - i1 = 0; - } else switch (HEAP32[i1 + 108 >> 2] | 0) { - case 0: - { - _arSetPatternDetectionMode(i2, 0) | 0; - i1 = 1; - break L1; - } - case 1: - { - _arSetPatternDetectionMode(i2, 2) | 0; - i1 = 1; - break L1; } - default: - { - _arSetPatternDetectionMode(i2, 3) | 0; - i1 = 1; - break L1; - } - } while (0); - STACKTOP = i5; - return i1 | 0; -} - -function _getThreshold(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i4; - i3 = i4 + 4 | 0; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = -1; else { - i1 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0) + 216 | 0; - i1 = (_arGetLabelingThresh(HEAP32[i1 >> 2] | 0, i3) | 0) == 0; - i1 = i1 ? HEAP32[i3 >> 2] | 0 : -1; - } - STACKTOP = i4; - return i1 | 0; -} - -function __ZNSt3__219__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(i3, i4, i7) { - i3 = i3 | 0; - i4 = i4 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i8 = 0, i9 = 0; - i8 = i3 + 4 | 0; - i2 = (HEAP32[i8 >> 2] | 0) != 143; - i1 = HEAP32[i3 >> 2] | 0; - i6 = i1; - i9 = (HEAP32[i7 >> 2] | 0) - i6 | 0; - i5 = i9 << 1; - i5 = i9 >>> 0 < 2147483647 ? ((i5 | 0) == 0 ? 1 : i5) : -1; - i6 = (HEAP32[i4 >> 2] | 0) - i6 | 0; - i1 = _realloc(i2 ? i1 : 0, i5) | 0; - if (!i1) __ZSt17__throw_bad_allocv(); - if (!i2) { - i2 = HEAP32[i3 >> 2] | 0; - HEAP32[i3 >> 2] = i1; - if (i2) { - FUNCTION_TABLE_vi[HEAP32[i8 >> 2] & 255](i2); - i1 = HEAP32[i3 >> 2] | 0; - } - } else HEAP32[i3 >> 2] = i1; - HEAP32[i8 >> 2] = 144; - HEAP32[i4 >> 2] = i1 + i6; - HEAP32[i7 >> 2] = (HEAP32[i3 >> 2] | 0) + i5; - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSO_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS9_PvEENS_22__hash_node_destructorINS6_ISW_EEEEEEmOT_DpOT0_(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i6 = __Znwm(24) | 0; - HEAP32[i1 >> 2] = i6; - HEAP32[i1 + 4 >> 2] = i2 + 8; - HEAP32[i6 + 8 >> 2] = HEAP32[HEAP32[i5 >> 2] >> 2]; - HEAP32[i6 + 12 >> 2] = 0; - HEAP32[i6 + 16 >> 2] = 0; - HEAP32[i6 + 20 >> 2] = 0; - HEAP8[i1 + 8 >> 0] = 1; - HEAP32[i6 + 4 >> 2] = i3; - HEAP32[i6 >> 2] = 0; - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 4 | 0; - i9 = i7; - __ZNKSt3__28ios_base6getlocEv(i8, i4); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57948) | 0; - __ZNSt3__26localeD2Ev(i8); - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6 + 16 | 0, i2, i8, i5, i4); - STACKTOP = i7; - return HEAP32[i2 >> 2] | 0; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 4 | 0; - i9 = i7; - __ZNKSt3__28ios_base6getlocEv(i8, i4); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57948) | 0; - __ZNSt3__26localeD2Ev(i8); - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6 + 24 | 0, i2, i8, i5, i4); - STACKTOP = i7; - return HEAP32[i2 >> 2] | 0; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 4 | 0; - i9 = i7; - __ZNKSt3__28ios_base6getlocEv(i8, i4); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57916) | 0; - __ZNSt3__26localeD2Ev(i8); - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6 + 16 | 0, i2, i8, i5, i4); - STACKTOP = i7; - return HEAP32[i2 >> 2] | 0; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 4 | 0; - i9 = i7; - __ZNKSt3__28ios_base6getlocEv(i8, i4); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57916) | 0; - __ZNSt3__26localeD2Ev(i8); - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6 + 24 | 0, i2, i8, i5, i4); - STACKTOP = i7; - return HEAP32[i2 >> 2] | 0; -} - -function _color_quantize(i1, i8, i9, i10) { - i1 = i1 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i11 = 0, i12 = 0; - i11 = HEAP32[(HEAP32[i1 + 460 >> 2] | 0) + 24 >> 2] | 0; - i12 = HEAP32[i1 + 112 >> 2] | 0; - i7 = HEAP32[i1 + 120 >> 2] | 0; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i10 | 0)) break; - i4 = i12; - i6 = HEAP32[i9 + (i5 << 2) >> 2] | 0; - i1 = HEAP32[i8 + (i5 << 2) >> 2] | 0; - while (1) { - if (!i4) break; - i2 = 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i7 | 0)) break; - i2 = i2 + (HEAPU8[(HEAP32[i11 + (i3 << 2) >> 2] | 0) + (HEAPU8[i1 >> 0] | 0) >> 0] | 0) | 0; - i3 = i3 + 1 | 0; - i1 = i1 + 1 | 0; - } - HEAP8[i6 >> 0] = i2; - i4 = i4 + -1 | 0; - i6 = i6 + 1 | 0; - } - i5 = i5 + 1 | 0; - } - return; -} - -function _color_quantize3(i1, i6, i9, i10) { - i1 = i1 | 0; - i6 = i6 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0, i8 = 0, i11 = 0; - i8 = HEAP32[(HEAP32[i1 + 460 >> 2] | 0) + 24 >> 2] | 0; - i11 = HEAP32[i8 >> 2] | 0; - i7 = HEAP32[i8 + 4 >> 2] | 0; - i8 = HEAP32[i8 + 8 >> 2] | 0; - i5 = HEAP32[i1 + 112 >> 2] | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i10 | 0)) break; - i1 = HEAP32[i6 + (i3 << 2) >> 2] | 0; - i2 = i5; - i4 = HEAP32[i9 + (i3 << 2) >> 2] | 0; - while (1) { - if (!i2) break; - HEAP8[i4 >> 0] = (HEAPU8[i7 + (HEAPU8[i1 + 1 >> 0] | 0) >> 0] | 0) + (HEAPU8[i11 + (HEAPU8[i1 >> 0] | 0) >> 0] | 0) + (HEAPU8[i8 + (HEAPU8[i1 + 2 >> 0] | 0) >> 0] | 0); - i1 = i1 + 3 | 0; - i2 = i2 + -1 | 0; - i4 = i4 + 1 | 0; + if (!$6 | HEAPU8[($2 + $8 | 0) + 17 | 0] < 16) { + break label$19; } - i3 = i3 + 1 | 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 9; + FUNCTION_TABLE[HEAP32[$2 >> 2]]($0); } - return; + __stack_pointer = $7 + 1312 | 0; } -function __ZNSt3__214__split_bufferINS_6vectorINS1_IN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEEERNS5_IS9_Lm4096EEEED2Ev(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0; - i1 = HEAP32[i4 + 4 >> 2] | 0; - i2 = i4 + 8 | 0; +function jpeg_idct_6x12($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $20 = __stack_pointer - 288 | 0; + __stack_pointer = $20; + $22 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $20; while (1) { - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (i1 | 0)) break; - i3 = i3 + -16 | 0; - HEAP32[i2 >> 2] = i3; - __ZNSt3__213__vector_baseINS_6vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEED2Ev(i3); - } - i1 = HEAP32[i4 >> 2] | 0; - if (i1 | 0) __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS3_INS0_11string_pairENS1_IS4_Lm4096EEEEENS1_IS6_Lm4096EEEEELm4096EE10deallocateEPS8_m(HEAP32[i4 + 16 >> 2] | 0, i1, (HEAP32[i4 + 12 >> 2] | 0) - i1 >> 4); - return; -} - -function _latch_quant_tables(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i5 = i4 + 328 | 0; - i6 = i4 + 4 | 0; - i3 = 0; + $14 = HEAP32[$1 + 128 >> 2]; + $12 = HEAP16[$2 + 64 >> 1]; + $6 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $13 = Math_imul(HEAP32[$1 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $15 = Math_imul(HEAP32[$1 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $7 = $13 - $15 << 13; + $8 = $6 + $7 | 0; + $5 = Math_imul(HEAP32[$1 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $9 = Math_imul(HEAP32[$1 + 224 >> 2], HEAP16[$2 + 112 >> 1]); + $16 = $5 - $9 | 0; + $10 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $11 = Math_imul(HEAP32[$1 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $17 = $10 - $11 | 0; + $18 = Math_imul($16 + $17 | 0, 4433); + $16 = $18 + Math_imul($16, 6270) | 0; + HEAP32[$0 + 240 >> 2] = $8 - $16 >> 11; + HEAP32[$0 + 24 >> 2] = $8 + $16 >> 11; + $7 = $6 - $7 | 0; + $8 = Math_imul($17, -15137) + $18 | 0; + HEAP32[$0 + 168 >> 2] = $7 - $8 >> 11; + HEAP32[$0 + 96 >> 2] = $7 + $8 >> 11; + $12 = Math_imul(Math_imul($12, $14), 10033); + $7 = $12 + $6 | 0; + $15 = $15 << 13; + $8 = $15 + Math_imul($13, 11190) | 0; + $16 = $7 - $8 | 0; + $18 = $5 + $11 | 0; + $14 = Math_imul($18 + $9 | 0, 7053); + $17 = Math_imul($10, -4433); + $21 = $14 + (($17 + Math_imul($5, -5540) | 0) + Math_imul($9, -16244) | 0) | 0; + HEAP32[$0 + 144 >> 2] = $16 - $21 >> 11; + HEAP32[$0 + 120 >> 2] = $16 + $21 >> 11; + $10 = Math_imul($10, 10703); + $7 = $7 + $8 | 0; + $8 = $10 + Math_imul($5, 2295) | 0; + $5 = Math_imul($18, 2139) + $14 | 0; + $8 = $8 + $5 | 0; + HEAP32[$0 + 264 >> 2] = $7 - $8 >> 11; + HEAP32[$0 >> 2] = $7 + $8 >> 11; + $6 = $6 - $12 | 0; + $13 = Math_imul($13, 2998) - $15 | 0; + $12 = $6 + $13 | 0; + $7 = Math_imul($11, -12112) + $17 | 0; + $11 = Math_imul($9 + $11 | 0, -8565); + $5 = ($7 + $11 | 0) + $5 | 0; + HEAP32[$0 + 216 >> 2] = $12 - $5 >> 11; + HEAP32[$0 + 48 >> 2] = $5 + $12 >> 11; + $6 = $6 - $13 | 0; + $9 = ((Math_imul($9, 12998) - $10 | 0) + $14 | 0) + $11 | 0; + HEAP32[$0 + 192 >> 2] = $6 - $9 >> 11; + HEAP32[$0 + 72 >> 2] = $6 + $9 >> 11; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + $19 = $19 + 1 | 0; + if (($19 | 0) != 6) { + continue; + } + break; + } + $2 = $22 - 384 | 0; + $0 = $20; + $9 = 0; while (1) { - if ((i3 | 0) >= (HEAP32[i5 >> 2] | 0)) break; - i1 = HEAP32[i4 + 332 + (i3 << 2) >> 2] | 0; - i7 = i1 + 76 | 0; - if (!(HEAP32[i7 >> 2] | 0)) { - i2 = HEAP32[i1 + 16 >> 2] | 0; - i1 = i4 + 164 + (i2 << 2) | 0; - if (!(i2 >>> 0 <= 3 ? (HEAP32[i1 >> 2] | 0) != 0 : 0)) { - i8 = HEAP32[i4 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 52; - HEAP32[i8 + 24 >> 2] = i2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i4 >> 2] >> 2] & 255](i4); - } - i8 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i6 >> 2] >> 2] & 63](i4, 1, 132) | 0; - _memcpy(i8 | 0, HEAP32[i1 >> 2] | 0, 132) | 0; - HEAP32[i7 >> 2] = i8; - } - i3 = i3 + 1 | 0; - } - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(i1, i9, i8, i4, i5, i6, 10960, 10992) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(i1, i9, i8, i4, i5, i6, 47533, 47541) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 4 | 0; - i9 = i7; - __ZNKSt3__28ios_base6getlocEv(i8, i4); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57948) | 0; - __ZNSt3__26localeD2Ev(i8); - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6 + 20 | 0, i2, i8, i5, i4); - STACKTOP = i7; - return HEAP32[i2 >> 2] | 0; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 4 | 0; - i9 = i7; - __ZNKSt3__28ios_base6getlocEv(i8, i4); - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i8, 57916) | 0; - __ZNSt3__26localeD2Ev(i8); - HEAP32[i9 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i9 >> 2]; - __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6 + 20 | 0, i2, i8, i5, i4); - STACKTOP = i7; - return HEAP32[i2 >> 2] | 0; -} - -function _getMatrixCodeType(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i4; - i3 = i4 + 4 | 0; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = -1; else { - i1 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0) + 216 | 0; - _arGetMatrixCodeType(HEAP32[i1 >> 2] | 0, i3) | 0; - i1 = HEAP32[i3 >> 2] | 0; - } - STACKTOP = i4; - return i1 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRf(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIfEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRe(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIeEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRd(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE23__do_get_floating_pointIdEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRf(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIfEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRe(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIeEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRd(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE23__do_get_floating_pointIdEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedIjEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedIjEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSL_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS6_PvEENS_22__hash_node_destructorINS3_IST_EEEEEEmOT_DpOT0_(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i6 = __Znwm(24) | 0; - HEAP32[i1 >> 2] = i6; - HEAP32[i1 + 4 >> 2] = i2 + 8; - HEAP32[i6 + 8 >> 2] = HEAP32[HEAP32[i5 >> 2] >> 2]; - HEAP32[i6 + 12 >> 2] = 0; - HEAP32[i6 + 16 >> 2] = 0; - HEAP32[i6 + 20 >> 2] = 0; - HEAP8[i1 + 8 >> 0] = 1; - HEAP32[i6 + 4 >> 2] = i3; - HEAP32[i6 >> 2] = 0; - return; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRy(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedIyEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRt(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedItEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRm(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__do_get_unsignedImEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRy(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedIyEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRt(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedItEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRm(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__do_get_unsignedImEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i7, i2, i3, i5, i4) { - i1 = i1 | 0; - i7 = i7 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - i4 = i4 | 0; - var i6 = 0, i8 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i6 + 4 | 0; - i8 = i6; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i5, i4, 4) | 0; - if (!(HEAP32[i5 >> 2] & 4)) { - if ((i1 | 0) < 69) i1 = i1 + 2e3 | 0; else i1 = (i1 | 0) < 100 ? i1 + 1900 | 0 : i1; - HEAP32[i7 >> 2] = i1 + -1900; - } - STACKTOP = i6; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i7, i2, i3, i5, i4) { - i1 = i1 | 0; - i7 = i7 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - i4 = i4 | 0; - var i6 = 0, i8 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i6 + 4 | 0; - i8 = i6; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i5, i4, 4) | 0; - if (!(HEAP32[i5 >> 2] & 4)) { - if ((i1 | 0) < 69) i1 = i1 + 2e3 | 0; else i1 = (i1 | 0) < 100 ? i1 + 1900 | 0 : i1; - HEAP32[i7 >> 2] = i1 + -1900; - } - STACKTOP = i6; - return; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRx(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__do_get_signedIxEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRl(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__do_get_signedIlEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRx(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__do_get_signedIxEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRl(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0, i11 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i7 + 12 | 0; - i9 = i7 + 8 | 0; - i11 = i7 + 4 | 0; - i10 = i7; - HEAP32[i11 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i10 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i9 >> 2] = HEAP32[i11 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i10 >> 2]; - i6 = __ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__do_get_signedIlEES4_S4_S4_RNS_8ios_baseERjRT_(i1, i9, i8, i4, i5, i6) | 0; - STACKTOP = i7; - return i6 | 0; -} - -function _strtox(i4, i5, i1) { - i4 = i4 | 0; - i5 = i5 | 0; - i1 = i1 | 0; - var i2 = 0, d3 = 0.0, i6 = 0, i7 = 0, i8 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - i2 = i6; - _memset(i2 | 0, 0, 144) | 0; - i8 = i2 + 4 | 0; - HEAP32[i8 >> 2] = i4; - i7 = i2 + 8 | 0; - HEAP32[i7 >> 2] = -1; - HEAP32[i2 + 44 >> 2] = i4; - HEAP32[i2 + 76 >> 2] = -1; - ___shlim(i2, 0, 0); - d3 = +___floatscan(i2, i1, 1); - i2 = i2 + 120 | 0; - i1 = (HEAP32[i8 >> 2] | 0) - (HEAP32[i7 >> 2] | 0) | 0; - i1 = _i64Add(HEAP32[i2 >> 2] | 0, HEAP32[i2 + 4 >> 2] | 0, i1 | 0, ((i1 | 0) < 0) << 31 >> 31 | 0) | 0; - i2 = getTempRet0() | 0; - if (i5 | 0) HEAP32[i5 >> 2] = (i1 | 0) == 0 & (i2 | 0) == 0 ? i4 : i4 + i1 | 0; - STACKTOP = i6; - return +d3; -} - -function __ZN10emscripten8functionIiJiNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i5 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getCountEv(i4) | 0; - i4 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getTypesEv(i4) | 0; - __embind_register_function(i1 | 0, i5 | 0, i4 | 0, __ZN10emscripten8internal19getGenericSignatureIJiiiiEEEPKcv() | 0, 34, i2 | 0); - STACKTOP = i3; - return; -} - -function _getDebugMode(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i4; - i3 = i4 + 4 | 0; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = 0; else { - i1 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0) + 216 | 0; - _arGetDebugMode(HEAP32[i1 >> 2] | 0, i3) | 0; - i1 = HEAP32[i3 >> 2] | 0; - } - STACKTOP = i4; - return i1 | 0; -} - -function __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEED2Ev(i1) { - i1 = i1 | 0; - __ZN6vision16RobustHomographyIfED2Ev(i1 + 788 | 0); - __ZN6vision21HoughSimilarityVotingD2Ev(i1 + 652 | 0); - __ZN6vision20BinaryFeatureMatcherILi96EED2Ev(i1 + 636 | 0); - __ZN6vision14FREAKExtractorD2Ev(i1 + 316 | 0); - __ZN6vision25DoGScaleInvariantDetectorD2Ev(i1 + 160 | 0); - __ZN6vision18BinomialPyramid32fD2Ev(i1 + 92 | 0); - __ZNSt3__213unordered_mapIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEENS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS5_EEEEED2Ev(i1 + 72 | 0); - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev(i1 + 64 | 0); - __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev(i1 + 12 | 0); - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSN_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS7_PvEENS_22__hash_node_destructorINSG_ISV_EEEEEEmOT_DpOT0_(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i6 = __Znwm(20) | 0; - HEAP32[i1 >> 2] = i6; - HEAP32[i1 + 4 >> 2] = i2 + 8; - HEAP32[i6 + 8 >> 2] = HEAP32[HEAP32[i5 >> 2] >> 2]; - HEAP32[i6 + 12 >> 2] = 0; - HEAP32[i6 + 16 >> 2] = 0; - HEAP8[i1 + 8 >> 0] = 1; - HEAP32[i6 + 4 >> 2] = i3; - HEAP32[i6 >> 2] = 0; - return; -} - -function _use_merged_upsample(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - if ((((((((((((((HEAP32[i1 + 76 >> 2] | 0) == 0 ? (HEAP32[i1 + 300 >> 2] | 0) == 0 : 0) ? (HEAP32[i1 + 40 >> 2] | 0) == 3 : 0) ? (HEAP32[i1 + 36 >> 2] | 0) == 3 : 0) ? (HEAP32[i1 + 44 >> 2] | 0) == 2 : 0) ? (HEAP32[i1 + 120 >> 2] | 0) == 3 : 0) ? (i2 = HEAP32[i1 + 216 >> 2] | 0, (HEAP32[i2 + 8 >> 2] | 0) == 2) : 0) ? (HEAP32[i2 + 92 >> 2] | 0) == 1 : 0) ? (HEAP32[i2 + 176 >> 2] | 0) == 1 : 0) ? (HEAP32[i2 + 12 >> 2] | 0) <= 2 : 0) ? (HEAP32[i2 + 96 >> 2] | 0) == 1 : 0) ? (HEAP32[i2 + 180 >> 2] | 0) == 1 : 0) ? (i3 = HEAP32[i2 + 36 >> 2] | 0, (i3 | 0) == (HEAP32[i1 + 316 >> 2] | 0)) : 0) ? (HEAP32[i2 + 120 >> 2] | 0) == (i3 | 0) : 0) return (HEAP32[i2 + 204 >> 2] | 0) == (i3 | 0) | 0; - return 0; + $1 = HEAP32[($9 << 2) + $3 >> 2] + $4 | 0; + $14 = (HEAP32[$0 >> 2] << 13) + 134348800 | 0; + $19 = HEAP32[$0 + 16 >> 2]; + $12 = $14 + Math_imul($19, 5793) | 0; + $15 = Math_imul(HEAP32[$0 + 8 >> 2], 10033); + $7 = $12 + $15 | 0; + $5 = HEAP32[$0 + 4 >> 2]; + $6 = HEAP32[$0 + 20 >> 2]; + $13 = Math_imul($5 + $6 | 0, 2998); + $11 = HEAP32[$0 + 12 >> 2]; + $10 = $13 + ($11 + $5 << 13) | 0; + HEAP8[$1 | 0] = HEAPU8[($7 + $10 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 5 | 0] = HEAPU8[($7 - $10 >>> 18 & 1023) + $2 | 0]; + $5 = $5 - ($6 + $11 | 0) << 13; + $10 = Math_imul($19, -11586) + $14 | 0; + HEAP8[$1 + 1 | 0] = HEAPU8[($5 + $10 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 4 | 0] = HEAPU8[($10 - $5 >>> 18 & 1023) + $2 | 0]; + $5 = $12 - $15 | 0; + $6 = ($6 - $11 << 13) + $13 | 0; + HEAP8[$1 + 2 | 0] = HEAPU8[($5 + $6 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 3 | 0] = HEAPU8[($5 - $6 >>> 18 & 1023) + $2 | 0]; + $0 = $0 + 24 | 0; + $9 = $9 + 1 | 0; + if (($9 | 0) != 12) { + continue; + } + break; + } + __stack_pointer = $20 + 288 | 0; +} + +function __trunctfdf2($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $12 = __stack_pointer - 32 | 0; + __stack_pointer = $12; + $4 = $3; + $9 = $4 & 2147483647; + $8 = $9; + $6 = $2; + $2 = $6; + $4 = $6; + $5 = $4; + $7 = 1006698496; + $7 = $9 - $7 | 0; + $4 = $7; + $7 = $9; + $6 = $5; + $5 = 1140785152; + $5 = $7 - $5 | 0; + $9 = $5; + $5 = $4; + $7 = $6; + label$1: { + if (($9 | 0) == ($5 | 0) & $6 >>> 0 > $6 >>> 0 | $5 >>> 0 < $9 >>> 0) { + $8 = $2; + $2 = $8 << 4; + $7 = $3; + $5 = $7 << 4 | $8 >>> 28; + $4 = $5; + $8 = 0; + $7 = $8; + $5 = $1; + $9 = $5 >>> 28 | 0; + $5 = $2; + $2 = $9 | $5; + $8 = $4; + $7 = $8 | $7; + $8 = $7; + $7 = $1; + $5 = $7 & 268435455; + $1 = $5; + $7 = $0; + if (($5 | 0) == 134217728 & ($7 | 0) != 0 | $5 >>> 0 > 134217728) { + $7 = $8; + $6 = $7 + 1073741824 | 0; + $9 = $2; + $4 = $9 + 1 | 0; + $6 = $4 ? $6 : $6 + 1 | 0; + $11 = $4; + $10 = $6; + break label$1; + } + $7 = $2; + $5 = $7; + $11 = $5; + $6 = $8; + $4 = -1073741824; + $4 = $6 - $4 | 0; + $10 = $4; + $6 = $0; + $4 = $1; + if ($6 | ($4 | 0) != 134217728) { + break label$1; + } + $4 = 0; + $0 = $4; + $6 = $11; + $8 = $2; + $7 = $8 & 1; + $9 = $6 + $7 | 0; + $4 = $10; + $8 = $0; + $5 = $4 + $8 | 0; + $11 = $9; + $5 = $7 >>> 0 > $9 >>> 0 ? $5 + 1 | 0 : $5; + $10 = $5; + break label$1; + } + $5 = $1; + $10 = !($5 | $0); + $5 = $8; + $6 = $5 >>> 0 < 2147418112; + $4 = $5; + if (!(!$7 & ($4 | 0) == 2147418112 ? $10 : $6)) { + $6 = $2; + $2 = $6 << 4; + $7 = $3; + $4 = $7 << 4 | $6 >>> 28; + $0 = $4; + $4 = $1; + $5 = $4 >>> 28 | 0; + $6 = 0; + $7 = $6; + $6 = $0; + $7 = $6 | $7; + $4 = $2; + $6 = $4 | $5; + $4 = $7 & 524287; + $11 = $6; + $6 = $4 | 2146959360; + $10 = $6; + break label$1; + } + $10 = 2146435072; + $6 = $8; + if ($6 >>> 0 > 1140785151) { + break label$1; + } + $10 = 0; + $4 = $8; + $7 = $4 >>> 16 | 0; + if ($7 >>> 0 < 15249) { + break label$1; + } + $6 = $3; + $5 = $6 & 65535; + $4 = $2; + $2 = $4; + $4 = $5 | 65536; + $8 = $4; + $4 = $1; + $6 = $8; + __ashlti3($12 + 16 | 0, $0, $4, $2, $6, $7 - 15233 | 0); + $6 = $4; + $4 = $8; + __lshrti3($12, $0, $6, $2, $4, 15361 - $7 | 0); + $5 = $12; + $4 = HEAP32[$5 + 8 >> 2]; + $6 = HEAP32[$5 + 12 >> 2]; + $1 = $4 << 4; + $4 = $6 << 4 | $4 >>> 28; + $0 = $4; + $6 = $12; + $4 = HEAP32[$6 >> 2]; + $2 = $4; + $5 = HEAP32[$6 + 4 >> 2]; + $8 = $5; + $7 = $5 >>> 28 | 0; + $4 = 0; + $6 = $4; + $5 = $1; + $11 = $5 | $7; + $4 = $0; + $6 = $4 | $6; + $10 = $6; + $4 = $12; + $6 = HEAP32[$4 + 16 >> 2]; + $1 = $6; + $5 = HEAP32[$4 + 20 >> 2]; + $0 = $5; + $5 = HEAP32[$4 + 24 >> 2]; + $7 = $5; + $6 = HEAP32[$4 + 28 >> 2]; + $5 = $6; + $6 = $0; + $5 = $6 | $5; + $4 = $1; + $6 = $4 | $7; + $0 = ($5 | $6) != 0; + $6 = $8; + $5 = $6 & 268435455; + $7 = $2; + $4 = $7; + $6 = $0; + $2 = $4 | $6; + $7 = $5; + $8 = $5; + $5 = $2; + if (($7 | 0) == 134217728 & ($5 | 0) != 0 | $7 >>> 0 > 134217728) { + $5 = $10; + $4 = $11; + $8 = $4 + 1 | 0; + $9 = $8 ? $5 : $5 + 1 | 0; + $11 = $8; + $10 = $9; + break label$1; + } + $9 = $8; + if ($2 | ($9 | 0) != 134217728) { + break label$1; + } + $4 = $11; + $5 = $4 & 1; + $7 = $4 + $5 | 0; + $9 = 0; + $6 = $10; + $8 = $9 + $6 | 0; + $11 = $7; + $8 = $4 >>> 0 > $7 >>> 0 ? $8 + 1 | 0 : $8; + $10 = $8; + } + __stack_pointer = $12 + 32 | 0; + $8 = $3; + $5 = $8 & -2147483648; + $4 = 0; + $8 = $11; + wasm2js_scratch_store_i32(0, $4 | $8); + $9 = $5; + $5 = $10; + $9 = $9 | $5; + wasm2js_scratch_store_i32(1, $9 | 0); + return +wasm2js_scratch_load_f64(); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______grow_by_and_replace_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20wchar_t_20const__29($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $8 = __stack_pointer - 16 | 0; + __stack_pointer = $8; + $9 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____max_size_28_29_20const($0); + if ($9 + ($1 ^ -1) >>> 0 >= $2 >>> 0) { + $10 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29($0); + label$2: { + if (($9 >>> 1 | 0) - 16 >>> 0 > $1 >>> 0) { + HEAP32[$8 + 8 >> 2] = $1 << 1; + HEAP32[$8 + 12 >> 2] = $1 + $2; + $2 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______recommend_28unsigned_20long_29(HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($8 + 12 | 0, $8 + 8 | 0) >> 2]); + break label$2; + } + $2 = $9 - 1 | 0; + } + $11 = $2 + 1 | 0; + $2 = std____2__allocator_traits_std____2__allocator_wchar_t____allocate_28std____2__allocator_wchar_t___2c_20unsigned_20long_29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0), $11); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______invalidate_all_iterators_28_29($0); + if ($4) { + std____2__char_traits_wchar_t___copy_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29(wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($2), wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($10), $4); + } + if ($6) { + std____2__char_traits_wchar_t___copy_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29(wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($2) + ($4 << 2) | 0, $7, $6); + } + $7 = $4 + $5 | 0; + $9 = $3 - $7 | 0; + if (($3 | 0) != ($7 | 0)) { + $3 = $4 << 2; + std____2__char_traits_wchar_t___copy_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29((wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($2) + $3 | 0) + ($6 << 2) | 0, (wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($10) + $3 | 0) + ($5 << 2) | 0, $9); + } + $1 = $1 + 1 | 0; + if (($1 | 0) != 2) { + std____2__allocator_traits_std____2__allocator_wchar_t____deallocate_28std____2__allocator_wchar_t___2c_20wchar_t__2c_20unsigned_20long_29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0), $10, $1); + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_pointer_28wchar_t__29($0, $2); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_cap_28unsigned_20long_29($0, $11); + $4 = ($4 + $6 | 0) + $9 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_size_28unsigned_20long_29($0, $4); + HEAP32[$8 + 4 >> 2] = 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29(($4 << 2) + $2 | 0, $8 + 4 | 0); + __stack_pointer = $8 + 16 | 0; + return; + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______throw_length_error_28_29_20const($0); + abort(); } -function __ZN10emscripten8functionIiJNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEJEEEvPKcPFT_DpT0_EDpT1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i5 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getCountEv(i4) | 0; - i4 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getTypesEv(i4) | 0; - __embind_register_function(i1 | 0, i5 | 0, i4 | 0, __ZN10emscripten8internal19getGenericSignatureIJiiiEEEPKcv() | 0, 40, i2 | 0); - STACKTOP = i3; - return; -} - -function __ZN6vision14FREAKExtractorC2Ev(i1) { - i1 = i1 | 0; - __ZN6vision10CopyVectorIfEEvPT_PKS1_m(i1, 1760, 12); - __ZN6vision10CopyVectorIfEEvPT_PKS1_m(i1 + 48 | 0, 1808, 12); - __ZN6vision10CopyVectorIfEEvPT_PKS1_m(i1 + 96 | 0, 1856, 12); - __ZN6vision10CopyVectorIfEEvPT_PKS1_m(i1 + 144 | 0, 1904, 12); - __ZN6vision10CopyVectorIfEEvPT_PKS1_m(i1 + 192 | 0, 1952, 12); - __ZN6vision10CopyVectorIfEEvPT_PKS1_m(i1 + 240 | 0, 2e3, 12); - HEAPF32[i1 + 288 >> 2] = .10000000149011612; - HEAPF32[i1 + 292 >> 2] = .17499999701976776; - HEAPF32[i1 + 296 >> 2] = .25; - HEAPF32[i1 + 300 >> 2] = .32499998807907104; - HEAPF32[i1 + 304 >> 2] = .4000000059604645; - HEAPF32[i1 + 308 >> 2] = .4749999940395355; - HEAPF32[i1 + 312 >> 2] = .550000011920929; - HEAPF32[i1 + 316 >> 2] = 7.0; - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSJ_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS3_PvEENS_22__hash_node_destructorINSC_ISR_EEEEEEmOT_DpOT0_(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i6 = __Znwm(448) | 0; - HEAP32[i1 >> 2] = i6; - HEAP32[i1 + 4 >> 2] = i2 + 8; - HEAP32[i6 + 8 >> 2] = HEAP32[HEAP32[i5 >> 2] >> 2]; - i5 = i6 + 16 | 0; - _memset(i5 | 0, 0, 432) | 0; - __ZN12arControllerC2Ev(i5); - HEAP8[i1 + 8 >> 0] = 1; - HEAP32[i6 + 4 >> 2] = i3; - HEAP32[i6 >> 2] = 0; - return; -} - -function __ZN6vision18BinomialPyramid32f18apply_filter_twiceERNS_5ImageERKS1_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i5 = i4; - i9 = HEAP32[i1 + 56 >> 2] | 0; - i8 = __ZNK6vision5Image4typeEv(i3) | 0; - i7 = __ZNK6vision5Image5widthEv(i3) | 0; - i6 = __ZNK6vision5Image6heightEv(i3) | 0; - __ZN6vision5ImageC2EPhNS_9ImageTypeEmmim(i5, i9, i8, i7, i6, __ZNK6vision5Image4stepEv(i3) | 0, 1); - __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_(i1, i5, i3); - __ZN6vision18BinomialPyramid32f12apply_filterERNS_5ImageERKS1_(i1, i2, i5); - __ZN6vision5ImageD2Ev(i5); - STACKTOP = i4; - return; -} - -function _init_error_limit(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i3 = HEAP32[i1 + 460 >> 2] | 0; - i4 = (FUNCTION_TABLE_iiii[HEAP32[HEAP32[i1 + 4 >> 2] >> 2] & 63](i1, 1, 2044) | 0) + 1020 | 0; - HEAP32[i3 + 40 >> 2] = i4; - i1 = 0; - while (1) { - if ((i1 | 0) == 16) break; - HEAP32[i4 + (i1 << 2) >> 2] = i1; - i3 = 0 - i1 | 0; - HEAP32[i4 + (i3 << 2) >> 2] = i3; - i1 = i1 + 1 | 0; - } - i2 = 16; - i1 = 16; - while (1) { - if (i1 >>> 0 >= 48) break; - HEAP32[i4 + (i1 << 2) >> 2] = i2; - HEAP32[i4 + (0 - i1 << 2) >> 2] = 0 - i2; - i3 = i1 + 1 | 0; - i2 = (i3 & 1 ^ 1) + i2 | 0; - i1 = i3; - } - i3 = 0 - i2 | 0; - while (1) { - if (i1 >>> 0 >= 256) break; - HEAP32[i4 + (i1 << 2) >> 2] = i2; - HEAP32[i4 + (0 - i1 << 2) >> 2] = i3; - i1 = i1 + 1 | 0; - } - return; -} - -function _arImageProcLumaHistAndCDFAndPercentile(i7, i1, d2, i8) { - i7 = i7 | 0; - i1 = i1 | 0; - d2 = +d2; - i8 = i8 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0; - if (!(d2 < 0.0 | d2 > 1.0)) { - i1 = _arImageProcLumaHistAndCDF(i7, i1) | 0; - if ((i1 | 0) >= 0) { - i5 = ~~(+(Math_imul(HEAP32[i7 + 8 >> 2] | 0, HEAP32[i7 + 4 >> 2] | 0) | 0) * d2) >>> 0; - i1 = 0; - while (1) { - i6 = i1 & 255; - i3 = HEAP32[i7 + 1036 + (i6 << 2) >> 2] | 0; - if (i3 >>> 0 < i5 >>> 0) i1 = i1 + 1 << 24 >> 24; else break; +function _ZN17compiler_builtins3int4udiv10divmod_u6417h6026910b5ed08e40E($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + label$9: { + label$11: { + $5 = $1; + if ($5) { + $7 = $2; + if (!$7) { + break label$11; + } + $4 = $3; + if (!$4) { + break label$9; + } + $5 = Math_clz32($4) - Math_clz32($5) | 0; + if ($5 >>> 0 <= 31) { + break label$8; + } + break label$2; + } + $4 = $3; + if (($4 | 0) == 1 | $4 >>> 0 > 1) { + break label$2; + } + $5 = $0; + $7 = $2; + $5 = ($5 >>> 0) / ($7 >>> 0) | 0; + i64toi32_i32$HIGH_BITS = 0; + return $5; + } + $7 = $3; + if (!$0) { + break label$7; + } + if (!$7) { + break label$6; + } + $4 = $7 - 1 | 0; + if ($4 & $7) { + break label$6; + } + $1 = $5 >>> __wasm_ctz_i32($7) | 0; + i64toi32_i32$HIGH_BITS = 0; + return $1; + } + if (!($7 - 1 & $7)) { + break label$5; + } + $5 = (Math_clz32($7) + 33 | 0) - Math_clz32($5) | 0; + $7 = 0 - $5 | 0; + break label$3; + } + $7 = 63 - $5 | 0; + $5 = $5 + 1 | 0; + break label$3; + } + $4 = ($5 >>> 0) / ($7 >>> 0) | 0; + i64toi32_i32$HIGH_BITS = 0; + return $4; + } + $5 = Math_clz32($7) - Math_clz32($5) | 0; + if ($5 >>> 0 < 31) { + break label$4; + } + break label$2; + } + if (($7 | 0) == 1) { + break label$1; + } + $4 = $1; + $1 = $0; + $9 = 0; + $8 = __wasm_ctz_i32($7); + $6 = $8 & 31; + if (($8 & 63) >>> 0 >= 32) { + $1 = $4 >>> $6 | 0; + } else { + $9 = $4 >>> $6 | 0; + $1 = ((1 << $6) - 1 & $4) << 32 - $6 | $1 >>> $6; + } + i64toi32_i32$HIGH_BITS = $9; + return $1; + } + $7 = 63 - $5 | 0; + $5 = $5 + 1 | 0; } - while (1) { - i4 = i1 + 1 << 24 >> 24; - if ((i3 | 0) != (i5 | 0)) break; - i1 = i4; - i3 = HEAP32[i7 + 1036 + ((i4 & 255) << 2) >> 2] | 0; - } - HEAP8[i8 >> 0] = ((i1 & 255) + i6 | 0) >>> 1; - i1 = 0; - } - } else i1 = -1; - return i1 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - if (i3 >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i1); - if (i3 >>> 0 < 11) HEAP8[i1 + 11 >> 0] = i3; else { - i7 = i3 + 16 & -16; - i6 = __Znwm(i7) | 0; - HEAP32[i1 >> 2] = i6; - HEAP32[i1 + 8 >> 2] = i7 | -2147483648; - HEAP32[i1 + 4 >> 2] = i3; - i1 = i6; - } - __ZNSt3__211char_traitsIcE4copyEPcPKcm(i1, i2, i3) | 0; - HEAP8[i4 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1 + i3 | 0, i4); - STACKTOP = i5; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - if (i2 >>> 0 > 4294967279) __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i1); - if (i2 >>> 0 < 11) HEAP8[i1 + 11 >> 0] = i2; else { - i7 = i2 + 16 & -16; - i6 = __Znwm(i7) | 0; - HEAP32[i1 >> 2] = i6; - HEAP32[i1 + 8 >> 2] = i7 | -2147483648; - HEAP32[i1 + 4 >> 2] = i2; - i1 = i6; - } - __ZNSt3__211char_traitsIcE6assignEPcmc(i1, i2, i3) | 0; - HEAP8[i4 >> 0] = 0; - __ZNSt3__211char_traitsIcE6assignERcRKc(i1 + i2 | 0, i4); - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 2) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 + -1 | 0) >>> 0 < 12 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 2) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 + -1 | 0) >>> 0 < 12 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function _cycle(i1, i4, i5) { - i1 = i1 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i6 = 0, i7 = 0, i8 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - i2 = i7; - L1 : do if ((i5 | 0) >= 2 ? (i6 = i4 + (i5 << 2) | 0, HEAP32[i6 >> 2] = i2, i1 | 0) : 0) while (1) { - i3 = i1 >>> 0 < 256 ? i1 : 256; - _memcpy(i2 | 0, HEAP32[i4 >> 2] | 0, i3 | 0) | 0; - i2 = 0; - do { - i8 = i4 + (i2 << 2) | 0; - i2 = i2 + 1 | 0; - _memcpy(HEAP32[i8 >> 2] | 0, HEAP32[i4 + (i2 << 2) >> 2] | 0, i3 | 0) | 0; - HEAP32[i8 >> 2] = (HEAP32[i8 >> 2] | 0) + i3; - } while ((i2 | 0) != (i5 | 0)); - i1 = i1 - i3 | 0; - if (!i1) break L1; - i2 = HEAP32[i6 >> 2] | 0; - } while (0); - STACKTOP = i7; - return; -} - -function _ungetc(i1, i3) { - i1 = i1 | 0; - i3 = i3 | 0; - var i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - do if ((i1 | 0) != -1) { - if ((HEAP32[i3 + 76 >> 2] | 0) > -1) i5 = ___lockfile(i3) | 0; else i5 = 0; - i6 = i3 + 4 | 0; - i2 = HEAP32[i6 >> 2] | 0; - if (!i2) { - ___toread(i3) | 0; - i2 = HEAP32[i6 >> 2] | 0; - if (i2 | 0) { - i4 = i2; - i7 = 6; + $4 = $0; + $9 = 0; + $8 = $5 & 63; + $6 = $8 & 31; + if (($8 & 63) >>> 0 >= 32) { + $10 = $1 >>> $6 | 0; + } else { + $9 = $1 >>> $6 | 0; + $10 = ((1 << $6) - 1 & $1) << 32 - $6 | $4 >>> $6; + } + $12 = $9; + $9 = $1; + $1 = $0; + $8 = $7 & 63; + $6 = $8 & 31; + if (($8 & 63) >>> 0 >= 32) { + $4 = $1 << $6; + $0 = 0; + } else { + $4 = (1 << $6) - 1 & $1 >>> 32 - $6 | $9 << $6; + $0 = $1 << $6; + } + $1 = $4; + if ($5) { + $4 = $3 - 1 | 0; + $6 = $2 - 1 | 0; + $4 = ($6 | 0) != -1 ? $4 + 1 | 0 : $4; + $13 = $6; + $7 = $4; + while (1) { + $4 = $10; + $8 = $4 << 1; + $4 = $12 << 1 | $4 >>> 31; + $10 = $8 | $1 >>> 31; + $9 = $4; + $4 = $13; + $8 = $10; + $6 = $7 - (($4 >>> 0 < $8 >>> 0) + $9 | 0) | 0; + $12 = $3 & $6 >> 31; + $4 = $8; + $11 = $6 >> 31; + $8 = $11 & $2; + $10 = $4 - $8 | 0; + $12 = $9 - (($4 >>> 0 < $8 >>> 0) + $12 | 0) | 0; + $4 = $1 << 1 | $0 >>> 31; + $0 = $0 << 1 | $14; + $1 = $4 | $16; + $15 = 0; + $11 = $11 & 1; + $14 = $11; + $5 = $5 - 1 | 0; + if ($5) { + continue; + } + break; + } } - } else { - i4 = i2; - i7 = 6; - } - if ((i7 | 0) == 6 ? i4 >>> 0 > ((HEAP32[i3 + 44 >> 2] | 0) + -8 | 0) >>> 0 : 0) { - i7 = i4 + -1 | 0; - HEAP32[i6 >> 2] = i7; - HEAP8[i7 >> 0] = i1; - HEAP32[i3 >> 2] = HEAP32[i3 >> 2] & -17; - if (!i5) break; - ___unlockfile(i3); - break; - } - if (i5) { - ___unlockfile(i3); - i1 = -1; - } else i1 = -1; - } else i1 = -1; while (0); - return i1 | 0; -} - -function _jinit_phuff_decoder(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0; - i4 = i3 + 4 | 0; - i2 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i4 >> 2] >> 2] & 63](i3, 1, 64) | 0; - HEAP32[i3 + 444 >> 2] = i2; - HEAP32[i2 >> 2] = 129; - i2 = i2 + 44 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i5 = i3 + 36 | 0; - i2 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i4 >> 2] >> 2] & 63](i3, 1, HEAP32[i5 >> 2] << 8) | 0; - HEAP32[i3 + 160 >> 2] = i2; - i1 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i5 >> 2] | 0)) break; - i3 = 0; - i4 = i2; - while (1) { - if ((i3 | 0) == 64) break; - HEAP32[i4 >> 2] = -1; - i3 = i3 + 1 | 0; - i4 = i4 + 4 | 0; - } - i1 = i1 + 1 | 0; - i2 = i2 + 256 | 0; - } - return; -} - -function __ZN6vision26SmoothOrientationHistogramIfEEvPT_PKS1_mS4_(i7, i8, i1, i9) { - i7 = i7 | 0; - i8 = i8 | 0; - i1 = i1 | 0; - i9 = i9 | 0; - var d2 = 0.0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, d10 = 0.0, i11 = 0, d12 = 0.0; - d10 = +HEAPF32[i8 >> 2]; - i3 = i1 + -1 | 0; - i4 = i8 + (i3 << 2) | 0; - i5 = i9 + 4 | 0; - i6 = i9 + 8 | 0; - d2 = +HEAPF32[i4 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == (i3 | 0)) break; - d12 = +HEAPF32[i8 + (i1 << 2) >> 2]; - i11 = i1 + 1 | 0; - HEAPF32[i7 + (i1 << 2) >> 2] = d2 * +HEAPF32[i9 >> 2] + d12 * +HEAPF32[i5 >> 2] + +HEAPF32[i6 >> 2] * +HEAPF32[i8 + (i11 << 2) >> 2]; - d2 = d12; - i1 = i11; - } - HEAPF32[i7 + (i3 << 2) >> 2] = d2 * +HEAPF32[i9 >> 2] + +HEAPF32[i5 >> 2] * +HEAPF32[i4 >> 2] + d10 * +HEAPF32[i6 >> 2]; - return; -} - -function _setupAR2(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i3; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = -1; else { - i1 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0; - i2 = _createKpmHandle(HEAP32[i1 + 192 >> 2] | 0) | 0; - HEAP32[i1 + 232 >> 2] = i2; - i1 = 0; - } - STACKTOP = i3; - return i1 | 0; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 2) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 + -1 | 0) >>> 0 < 31 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 3) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 | 0) < 366 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 2) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 + -1 | 0) >>> 0 < 31 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 3) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 | 0) < 366 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function _fflush(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0; - do if (i2) { - if ((HEAP32[i2 + 76 >> 2] | 0) <= -1) { - i1 = ___fflush_unlocked(i2) | 0; - break; - } - i3 = (___lockfile(i2) | 0) == 0; - i1 = ___fflush_unlocked(i2) | 0; - if (!i3) ___unlockfile(i2); - } else { - if (!(HEAP32[3456] | 0)) i1 = 0; else i1 = _fflush(HEAP32[3456] | 0) | 0; - i2 = ___ofl_lock() | 0; - i2 = HEAP32[i2 >> 2] | 0; - if (i2) do { - if ((HEAP32[i2 + 76 >> 2] | 0) > -1) i3 = ___lockfile(i2) | 0; else i3 = 0; - if ((HEAP32[i2 + 20 >> 2] | 0) >>> 0 > (HEAP32[i2 + 28 >> 2] | 0) >>> 0) i1 = ___fflush_unlocked(i2) | 0 | i1; - if (i3 | 0) ___unlockfile(i2); - i2 = HEAP32[i2 + 56 >> 2] | 0; - } while ((i2 | 0) != 0); - ___ofl_unlock(); - } while (0); - return i1 | 0; -} - -function __ZN6vision5Image19calculate_unit_sizeENS_9ImageTypeE(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i3; - switch (i1 | 0) { - case 1: - break; - case 2: - { - i1 = 4; - break; + i64toi32_i32$HIGH_BITS = $15 | ($1 << 1 | $0 >>> 31); + return $0 << 1 | $11; } - default: - { - i3 = ___cxa_allocate_exception(16) | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i2, 33266, __ZNSt3__211char_traitsIcE6lengthEPKc(33266) | 0); - __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE(i3, i2); - ___cxa_throw(i3 | 0, 11016, 5); - } - } - STACKTOP = i3; - return i1 | 0; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 2) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 | 0) < 13 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1 + -1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 2) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 | 0) < 13 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1 + -1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 1) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 | 0) < 7 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 2) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 | 0) < 61 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 2) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 | 0) < 60 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 1) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 | 0) < 7 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 2) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 | 0) < 61 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 2) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 | 0) < 60 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 2) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 | 0) < 24 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 2) | 0; - i2 = HEAP32[i7 >> 2] | 0; - if ((i1 | 0) < 24 & (i2 & 4 | 0) == 0) HEAP32[i6 >> 2] = i1; else HEAP32[i7 >> 2] = i2 | 4; - STACKTOP = i5; - return; -} - -function _fclose(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i6 = 0; - if ((HEAP32[i4 + 76 >> 2] | 0) > -1) i5 = ___lockfile(i4) | 0; else i5 = 0; - ___unlist_locked_file(i4); - i6 = (HEAP32[i4 >> 2] & 1 | 0) != 0; - if (!i6) { - i3 = ___ofl_lock() | 0; - i2 = HEAP32[i4 + 52 >> 2] | 0; - i1 = i4 + 56 | 0; - if (i2 | 0) HEAP32[i2 + 56 >> 2] = HEAP32[i1 >> 2]; - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) HEAP32[i1 + 52 >> 2] = i2; - if ((HEAP32[i3 >> 2] | 0) == (i4 | 0)) HEAP32[i3 >> 2] = i1; - ___ofl_unlock(); - } - i1 = _fflush(i4) | 0; - i1 = FUNCTION_TABLE_ii[HEAP32[i4 + 12 >> 2] & 127](i4) | 0 | i1; - i2 = HEAP32[i4 + 96 >> 2] | 0; - if (i2 | 0) _free(i2); - if (i6) { - if (i5 | 0) ___unlockfile(i4); - } else _free(i4); - return i1 | 0; -} - -function __ZN10emscripten8internal7InvokerIiJNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE6invokeEPFiS8_EPNS0_11BindingTypeIS8_EUt_E(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i3 + 12 | 0; - i4 = i3; - __ZN10emscripten8internal11BindingTypeINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEE12fromWireTypeEPNS9_Ut_E(i4, i2); - i2 = FUNCTION_TABLE_ii[i1 & 127](i4) | 0; - HEAP32[i5 >> 2] = i2; - i2 = __ZN10emscripten8internal11BindingTypeIiE10toWireTypeERKi(i5) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i4); - STACKTOP = i3; - return i2 | 0; -} - -function _getMultiMarkerCount(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i3; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = -1; else { - i1 = __ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0; - i1 = (HEAP32[i1 + 284 >> 2] | 0) - (HEAP32[i1 + 280 >> 2] | 0) >> 3; - } - STACKTOP = i3; - return i1 | 0; -} - -function __ZNKSt3__210__time_put8__do_putEPcRS1_PK2tmcc(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i10; - HEAP8[i7 >> 0] = 37; - i8 = i7 + 1 | 0; - HEAP8[i8 >> 0] = i5; - i9 = i7 + 2 | 0; - HEAP8[i9 >> 0] = i6; - HEAP8[i7 + 3 >> 0] = 0; - if (i6 << 24 >> 24) { - HEAP8[i8 >> 0] = i6; - HEAP8[i9 >> 0] = i5; - } - i9 = __ZNSt3__212_GLOBAL__N_17countofIcEEmPKT_S4_(i2, HEAP32[i3 >> 2] | 0) | 0; - i9 = i2 + (_strftime_l(i2 | 0, i9 | 0, i7 | 0, i4 | 0, HEAP32[i1 >> 2] | 0) | 0) | 0; - HEAP32[i3 >> 2] = i9; - STACKTOP = i10; - return; -} - -function __ZN6vision14Determinant3x3IfEET_PKS1_(i1) { - i1 = i1 | 0; - var d2 = 0.0, d3 = 0.0, d4 = 0.0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - i7 = i1 + 16 | 0; - i10 = i1 + 20 | 0; - i5 = i1 + 28 | 0; - i9 = i1 + 32 | 0; - d4 = +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i7 >> 2], +HEAPF32[i10 >> 2], +HEAPF32[i5 >> 2], +HEAPF32[i9 >> 2]); - i8 = i1 + 12 | 0; - i6 = i1 + 24 | 0; - d3 = +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i8 >> 2], +HEAPF32[i10 >> 2], +HEAPF32[i6 >> 2], +HEAPF32[i9 >> 2]); - d2 = +__ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(+HEAPF32[i8 >> 2], +HEAPF32[i7 >> 2], +HEAPF32[i6 >> 2], +HEAPF32[i5 >> 2]); - return +(d4 * +HEAPF32[i1 >> 2] - d3 * +HEAPF32[i1 + 4 >> 2] + d2 * +HEAPF32[i1 + 8 >> 2]); -} - -function _process_data_simple_main_37(i2, i3, i5, i7) { - i2 = i2 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - i7 = i7 | 0; - var i1 = 0, i4 = 0, i6 = 0, i8 = 0, i9 = 0, i10 = 0; - i8 = HEAP32[i2 + 424 >> 2] | 0; - i9 = i8 + 48 | 0; - if (!(HEAP32[i9 >> 2] | 0)) { - i4 = i8 + 8 | 0; - if (FUNCTION_TABLE_iii[HEAP32[(HEAP32[i2 + 428 >> 2] | 0) + 12 >> 2] & 63](i2, i4) | 0) { - HEAP32[i9 >> 2] = 1; - i1 = i4; - i10 = 5; + $0 = 0; + $1 = 0; + } + i64toi32_i32$HIGH_BITS = $1; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___operator__28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____29($0, $1) { + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___isInline_28_29_20const($1); + $2 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___isInline_28_29_20const($0); + label$1: { + if ($3) { + if (!$2) { + dlfree(HEAP32[$0 >> 2]); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___clearInline_28_29($0); + } + $28anonymous_20namespace_29__itanium_demangle__Node___20std____2__copy__28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___begin_28_29($1), $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___end_28_29($1), HEAP32[$0 >> 2]); + wasm2js_i32$0 = $0, wasm2js_i32$1 = HEAP32[$0 >> 2] + ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___size_28_29_20const($1) << 2) | 0, + HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + break label$1; } - } else { - i1 = i8 + 8 | 0; - i10 = 5; - } - if ((i10 | 0) == 5 ? (i10 = HEAP32[i2 + 316 >> 2] | 0, i6 = i8 + 52 | 0, FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[i2 + 432 >> 2] | 0) + 4 >> 2] & 7](i2, i1, i6, i10, i3, i5, i7), (HEAP32[i6 >> 2] | 0) >>> 0 >= i10 >>> 0) : 0) { - HEAP32[i9 >> 2] = 0; - HEAP32[i6 >> 2] = 0; - } - return; -} - -function _getProcessingImage(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i3; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = 0; else { - i1 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0) + 216 | 0; - i1 = HEAP32[(HEAP32[i1 >> 2] | 0) + 4834148 >> 2] | 0; - } - STACKTOP = i3; - return i1 | 0; -} - -function __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i2, i4, i5) { - i2 = i2 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i1 = 0, i3 = 0, i6 = 0; - i3 = i4 + 4 | 0; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - i3 = i2 + 8 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if ((HEAP32[i2 + 12 >> 2] | 0) - i1 >> 2 >>> 0 > i5 >>> 0) i2 = i3; else { - __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE6resizeEm(i3, i5 + 1 | 0); - i2 = i3; - i1 = HEAP32[i3 >> 2] | 0; - } - i1 = HEAP32[i1 + (i5 << 2) >> 2] | 0; - if (i1 | 0 ? (i6 = i1 + 4 | 0, i3 = HEAP32[i6 >> 2] | 0, HEAP32[i6 >> 2] = i3 + -1, (i3 | 0) == 0) : 0) FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 255](i1); - HEAP32[(HEAP32[i2 >> 2] | 0) + (i5 << 2) >> 2] = i4; - return; -} - -function _alloc_large(i4, i5, i1) { - i4 = i4 | 0; - i5 = i5 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i6 = 0; - i6 = HEAP32[i4 + 4 >> 2] | 0; - if (i1 >>> 0 > 999999984) _out_of_memory(i4, 3); - i3 = i1 & 7; - i1 = ((i3 | 0) == 0 ? 0 : 8 - i3 | 0) + i1 | 0; - if (i5 >>> 0 > 1) { - i3 = HEAP32[i4 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 14; - HEAP32[i3 + 24 >> 2] = i5; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i4 >> 2] >> 2] & 255](i4); - } - i2 = i1 + 16 | 0; - i3 = _jpeg_get_large(i4, i2) | 0; - if (!i3) _out_of_memory(i4, 4); - i4 = i6 + 76 | 0; - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + i2; - i6 = i6 + 60 + (i5 << 2) | 0; - HEAP32[i3 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i3 + 4 >> 2] = i1; - HEAP32[i3 + 8 >> 2] = 0; - HEAP32[i6 >> 2] = i3; - return i3 + 16 | 0; -} - -function __ZNSt3__26locale5__impD2Ev(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - HEAP32[i3 >> 2] = 16836; - i4 = i3 + 8 | 0; - i5 = i3 + 12 | 0; - i2 = 0; - while (1) { - i1 = HEAP32[i4 >> 2] | 0; - if (i2 >>> 0 >= (HEAP32[i5 >> 2] | 0) - i1 >> 2 >>> 0) break; - i1 = HEAP32[i1 + (i2 << 2) >> 2] | 0; - if (i1 | 0 ? (i7 = i1 + 4 | 0, i6 = HEAP32[i7 >> 2] | 0, HEAP32[i7 >> 2] = i6 + -1, (i6 | 0) == 0) : 0) FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 255](i1); - i2 = i2 + 1 | 0; - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i3 + 144 | 0); - __ZNSt3__213__vector_baseIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEED2Ev(i4); - __ZNSt3__26locale5facetD2Ev(i3); - return; -} - -function _scalbn(d2, i1) { - d2 = +d2; - i1 = i1 | 0; - var i3 = 0, i4 = 0; - if ((i1 | 0) <= 1023) { - if ((i1 | 0) < -1022) { - d2 = d2 * 2.2250738585072014e-308; - i4 = (i1 | 0) < -2044; - i3 = i1 + 2044 | 0; - d2 = i4 ? d2 * 2.2250738585072014e-308 : d2; - i1 = i4 ? ((i3 | 0) > -1022 ? i3 : -1022) : i1 + 1022 | 0; + if ($2) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___clearInline_28_29($1); + return; } - } else { - d2 = d2 * 8988465674311579538646525.0e283; - i3 = (i1 | 0) > 2046; - i4 = i1 + -2046 | 0; - d2 = i3 ? d2 * 8988465674311579538646525.0e283 : d2; - i1 = i3 ? ((i4 | 0) < 1023 ? i4 : 1023) : i1 + -1023 | 0; - } - i3 = _bitshift64Shl(i1 + 1023 | 0, 0, 52) | 0; - i4 = getTempRet0() | 0; - HEAP32[tempDoublePtr >> 2] = i3; - HEAP32[tempDoublePtr + 4 >> 2] = i4; - return +(d2 * +HEAPF64[tempDoublePtr >> 3]); -} - -function __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE7reserveEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i5; - i4 = HEAP32[i1 >> 2] | 0; - if ((HEAP32[i1 + 8 >> 2] | 0) - i4 >> 2 >>> 0 < i2 >>> 0) { - __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEEC2EmmS7_(i3, i2, (HEAP32[i1 + 4 >> 2] | 0) - i4 >> 2, i1 + 8 | 0); - __ZNSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE(i1, i3); - __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEED2Ev(i3); - } - STACKTOP = i5; - return; -} - -function _getMarkerNum(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i3; - HEAP32[i2 >> 2] = i1; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i2) | 0)) i1 = 13652; else { - i1 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i2) | 0) + 216 | 0; - i1 = (HEAP32[i1 >> 2] | 0) + 44 | 0; - } - STACKTOP = i3; - return HEAP32[i1 >> 2] | 0; -} - -function _icpGetQ_from_S(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var d1 = 0.0, d2 = 0.0, i3 = 0, i4 = 0, d7 = 0.0; - d2 = +HEAPF64[i6 >> 3]; - i3 = i6 + 8 | 0; - d7 = +HEAPF64[i3 >> 3]; - i4 = i6 + 16 | 0; - d1 = +HEAPF64[i4 >> 3]; - d1 = d2 * d2 + d7 * d7 + d1 * d1; - if (d1 == 0.0) { - HEAPF64[i5 >> 3] = 1.0; - HEAPF64[i5 + 8 >> 3] = 0.0; - d2 = 0.0; - d1 = 0.0; - } else { - d1 = +Math_sqrt(+d1); - HEAPF64[i5 >> 3] = d2 / d1; - HEAPF64[i5 + 8 >> 3] = +HEAPF64[i3 >> 3] / d1; - d2 = d1; - d1 = +HEAPF64[i4 >> 3] / d1; - } - HEAPF64[i5 + 16 >> 3] = d1; - HEAPF64[i5 + 24 >> 3] = d2; - HEAPF64[i5 + 32 >> 3] = +HEAPF64[i6 + 24 >> 3]; - HEAPF64[i5 + 40 >> 3] = +HEAPF64[i6 + 32 >> 3]; - HEAPF64[i5 + 48 >> 3] = +HEAPF64[i6 + 40 >> 3]; - return; -} - -function __ZNSt3__213__vector_baseINS_6vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEED2Ev(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) { - i4 = i2 + 4 | 0; - i1 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i3 | 0)) break; - i5 = i1 + -16 | 0; - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i5); - i1 = i5; - } - HEAP32[i4 >> 2] = i3; - i5 = HEAP32[i2 >> 2] | 0; - __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS0_11string_pairENS1_IS4_Lm4096EEEEELm4096EE10deallocateEPS6_m(i2 + 12 | 0, i5, (HEAP32[i2 + 8 >> 2] | 0) - i5 >> 4); - } - return; -} - -function _setMatrixCodeType(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i4; - HEAP32[i3 >> 2] = i1; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0) { - i3 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0) + 216 | 0; - _arSetMatrixCodeType(HEAP32[i3 >> 2] | 0, i2) | 0; - } - STACKTOP = i4; - return; -} - -function ___fflush_unlocked(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i2 = i1 + 20 | 0; - i7 = i1 + 28 | 0; - if ((HEAP32[i2 >> 2] | 0) >>> 0 > (HEAP32[i7 >> 2] | 0) >>> 0 ? (FUNCTION_TABLE_iiii[HEAP32[i1 + 36 >> 2] & 63](i1, 0, 0) | 0, (HEAP32[i2 >> 2] | 0) == 0) : 0) i1 = -1; else { - i3 = i1 + 4 | 0; - i4 = HEAP32[i3 >> 2] | 0; - i5 = i1 + 8 | 0; - i6 = HEAP32[i5 >> 2] | 0; - if (i4 >>> 0 < i6 >>> 0) { - i6 = i4 - i6 | 0; - FUNCTION_TABLE_iiiii[HEAP32[i1 + 40 >> 2] & 15](i1, i6, ((i6 | 0) < 0) << 31 >> 31, 1) | 0; - getTempRet0() | 0; - } - HEAP32[i1 + 16 >> 2] = 0; - HEAP32[i7 >> 2] = 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i3 >> 2] = 0; - i1 = 0; - } - return i1 | 0; -} - -function _prescan_quantize(i2, i6, i1, i7) { - i2 = i2 | 0; - i6 = i6 | 0; - i1 = i1 | 0; - i7 = i7 | 0; - var i3 = 0, i4 = 0, i5 = 0, i8 = 0, i9 = 0, i10 = 0; - i5 = HEAP32[(HEAP32[i2 + 460 >> 2] | 0) + 24 >> 2] | 0; - i4 = HEAP32[i2 + 112 >> 2] | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i7 | 0)) break; - i1 = HEAP32[i6 + (i3 << 2) >> 2] | 0; - i2 = i4; - while (1) { - if (!i2) break; - i8 = (HEAP32[i5 + ((HEAPU8[i1 >> 0] | 0) >>> 3 << 2) >> 2] | 0) + ((HEAPU8[i1 + 1 >> 0] | 0) >>> 2 << 6) + ((HEAPU8[i1 + 2 >> 0] | 0) >>> 3 << 1) | 0; - i10 = HEAP16[i8 >> 1] | 0; - i9 = i10 + 1 << 16 >> 16; - HEAP16[i8 >> 1] = i9 << 16 >> 16 == 0 ? i10 : i9; - i1 = i1 + 3 | 0; - i2 = i2 + -1 | 0; - } - i3 = i3 + 1 | 0; - } - return; -} - -function _kpmDeleteRefDataSet(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - if (i3) { - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) i1 = 0; else { - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) _free(i1); - i1 = 0; - while (1) { - i5 = HEAP32[i3 >> 2] | 0; - i2 = i5 + 8 | 0; - if ((i1 | 0) >= (HEAP32[i5 + 12 >> 2] | 0)) break; - _free(HEAP32[(HEAP32[i2 >> 2] | 0) + (i1 * 12 | 0) >> 2] | 0); - i1 = i1 + 1 | 0; + std____2__enable_if_is_move_constructible__28anonymous_20namespace_29__itanium_demangle__Node_____value_20___20is_move_assignable__28anonymous_20namespace_29__itanium_demangle__Node_____value_2c_20void___type_20std____2__swap__28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node____2c_20_28anonymous_20namespace_29__itanium_demangle__Node____29($0, $1); + std____2__enable_if_is_move_constructible__28anonymous_20namespace_29__itanium_demangle__Node_____value_20___20is_move_assignable__28anonymous_20namespace_29__itanium_demangle__Node_____value_2c_20void___type_20std____2__swap__28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node____2c_20_28anonymous_20namespace_29__itanium_demangle__Node____29($0 + 4 | 0, $1 + 4 | 0); + std____2__enable_if_is_move_constructible__28anonymous_20namespace_29__itanium_demangle__Node_____value_20___20is_move_assignable__28anonymous_20namespace_29__itanium_demangle__Node_____value_2c_20void___type_20std____2__swap__28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node____2c_20_28anonymous_20namespace_29__itanium_demangle__Node____29($0 + 8 | 0, $1 + 8 | 0); + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___clear_28_29($1); +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________construct_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, $1, $2) { + void_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________construct_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, $1, $2); +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 112 | 0; + __stack_pointer = $2; + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 104 | 0, 37973); + $5 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 48 >> 2] = $5; + HEAP32[$2 + 52 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 48 | 0); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0 + 16 | 0, $1); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 96 | 0, 37866); + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 40 >> 2] = $3; + HEAP32[$2 + 44 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 40 | 0); + $3 = HEAP32[$0 + 8 >> 2]; + if ($3) { + FUNCTION_TABLE[HEAP32[HEAP32[$3 >> 2] + 20 >> 2]]($3, $1); + } + $3 = HEAP32[$0 + 28 >> 2]; + if ($3 & 1) { + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 88 | 0, 29346); + $5 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 32 >> 2] = $5; + HEAP32[$2 + 36 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 32 | 0); + $3 = HEAP32[$0 + 28 >> 2]; + } + if ($3 & 2) { + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 80 | 0, 32039); + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 24 >> 2] = $3; + HEAP32[$2 + 28 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 24 | 0); + $3 = HEAP32[$0 + 28 >> 2]; + } + if ($3 & 4) { + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 72 | 0, 29707); + $5 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $5; + HEAP32[$2 + 20 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + } + label$5: { + label$6: { + label$7: { + switch (HEAPU8[$0 + 32 | 0] - 1 | 0) { + case 0: + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 - -64 | 0, 38016); + break label$6; + + case 1: + break label$7; + + default: + break label$5; + } } - _free(HEAP32[i2 >> 2] | 0); - _free(HEAP32[i3 >> 2] | 0); - HEAP32[i3 >> 2] = 0; - i1 = 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 56 | 0, 38012); } - } else { - _arLog(0, 3, 20019, i4); - i1 = -1; - } - STACKTOP = i4; - return i1 | 0; -} - -function __ZN6vision34SolveHomography4PointsInhomogenousIfEEbPT_PKS1_S4_S4_S4_S4_S4_S4_S4_(i1, i2, i3, i4, i5, i6, i7, i8, i9) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i10 = 0, i11 = 0; - i10 = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(288); - i11 = i10; - __ZN6vision40Homography4PointsInhomogeneousConstraintIfEEvPT_PKS1_S4_S4_S4_S4_S4_S4_S4_(i11, i2, i3, i4, i5, i6, i7, i8, i9); - if (__ZN6vision29SolveNullVector8x9DestructiveIfEEbPT_S2_(i1, i11) | 0) i1 = !(+Math_abs(+(+__ZN6vision14Determinant3x3IfEET_PKS1_(i1))) < 1.0e-05); else i1 = 0; - STACKTOP = i10; - return i1 | 0; -} - -function _strtox_547(i4, i5, i1, i2, i3) { - i4 = i4 | 0; - i5 = i5 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i6 = 0, i7 = 0, i8 = 0, i9 = 0; - i9 = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - i7 = i9; - HEAP32[i7 >> 2] = 0; - i8 = i7 + 4 | 0; - HEAP32[i8 >> 2] = i4; - HEAP32[i7 + 44 >> 2] = i4; - i6 = i7 + 8 | 0; - HEAP32[i6 >> 2] = (i4 | 0) < 0 ? -1 : i4 + 2147483647 | 0; - HEAP32[i7 + 76 >> 2] = -1; - ___shlim(i7, 0, 0); - i1 = ___intscan(i7, i1, 1, i2, i3) | 0; - i2 = getTempRet0() | 0; - if (i5 | 0) HEAP32[i5 >> 2] = i4 + ((HEAP32[i8 >> 2] | 0) + (HEAP32[i7 + 120 >> 2] | 0) - (HEAP32[i6 >> 2] | 0)); - setTempRet0(i2 | 0); - STACKTOP = i9; - return i1 | 0; -} - -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i1 = i1 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - i2 = i2 + (HEAP32[(HEAP32[i2 >> 2] | 0) + -12 >> 2] | 0) | 0; - if ((((HEAP32[i2 + 24 >> 2] | 0 ? (HEAP32[i2 + 16 >> 2] | 0) == 0 : 0) ? HEAP32[i2 + 4 >> 2] & 8192 | 0 : 0) ? !(__ZSt18uncaught_exceptionv() | 0) : 0) ? (i2 = HEAP32[i1 >> 2] | 0, i2 = HEAP32[i2 + (HEAP32[(HEAP32[i2 >> 2] | 0) + -12 >> 2] | 0) + 24 >> 2] | 0, (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 127](i2) | 0) == -1) : 0) { - i2 = HEAP32[i1 >> 2] | 0; - i2 = i2 + (HEAP32[(HEAP32[i2 >> 2] | 0) + -12 >> 2] | 0) | 0; - __ZNSt3__28ios_base5clearEj(i2, HEAP32[i2 + 16 >> 2] | 1); - } - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSK_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS4_PvEENS_22__hash_node_destructorINSD_ISS_EEEEEEmOT_DpOT0_(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i6 = __Znwm(16) | 0; - HEAP32[i1 >> 2] = i6; - HEAP32[i1 + 4 >> 2] = i2 + 8; - HEAP32[i6 + 8 >> 2] = HEAP32[HEAP32[i5 >> 2] >> 2]; - HEAP32[i6 + 12 >> 2] = 0; - HEAP8[i1 + 8 >> 0] = 1; - HEAP32[i6 + 4 >> 2] = i3; - HEAP32[i6 >> 2] = 0; - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIi7ARParamEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE21__construct_node_hashIRKNS_21piecewise_construct_tEJNS_5tupleIJRKiEEENSJ_IJEEEEEENS_10unique_ptrINS_11__hash_nodeIS3_PvEENS_22__hash_node_destructorINSC_ISR_EEEEEEmOT_DpOT0_(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i6 = __Znwm(200) | 0; - HEAP32[i1 >> 2] = i6; - HEAP32[i1 + 4 >> 2] = i2 + 8; - HEAP32[i6 + 8 >> 2] = HEAP32[HEAP32[i5 >> 2] >> 2]; - _memset(i6 + 16 | 0, 0, 184) | 0; - HEAP8[i1 + 8 >> 0] = 1; - HEAP32[i6 + 4 >> 2] = i3; - HEAP32[i6 >> 2] = 0; - return; -} - -function _getProjectionNearPlane(i2) { - i2 = i2 | 0; - var d1 = 0.0, i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i4; - HEAP32[i3 >> 2] = i2; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0)) d1 = -1.0; else { - i3 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0) + 264 | 0; - d1 = +HEAPF64[i3 >> 3]; - } - STACKTOP = i4; - return +d1; -} - -function _getProjectionFarPlane(i2) { - i2 = i2 | 0; - var d1 = 0.0, i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i4; - HEAP32[i3 >> 2] = i2; - if (!(__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0)) d1 = -1.0; else { - i3 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0) + 272 | 0; - d1 = +HEAPF64[i3 >> 3]; - } - STACKTOP = i4; - return +d1; -} - -function __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE6resizeEm(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0; - i6 = i2 + 4 | 0; - i1 = HEAP32[i6 >> 2] | 0; - i5 = HEAP32[i2 >> 2] | 0; - i4 = (i1 - i5 | 0) / 12 | 0; - if (i4 >>> 0 >= i3 >>> 0) { - if (i4 >>> 0 > i3 >>> 0) { - i2 = i5 + (i3 * 12 | 0) | 0; - while (1) { - if ((i1 | 0) == (i2 | 0)) break; - i5 = i1 + -12 | 0; - __ZNSt3__213__vector_baseINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev(i5); - i1 = i5; - } - HEAP32[i6 >> 2] = i2; - } - } else __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE8__appendEm(i2, i3 - i4 | 0); - return; -} - -function _null_convert_30(i1, i9, i2, i3, i4) { - i1 = i1 | 0; - i9 = i9 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0; - i10 = HEAP32[i1 + 36 >> 2] | 0; - i8 = HEAP32[i1 + 112 >> 2] | 0; - i1 = i4; - while (1) { - i7 = i1 + -1 | 0; - if ((i1 | 0) <= 0) break; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i10 | 0)) break; - i4 = i8; - i5 = (HEAP32[i3 >> 2] | 0) + i1 | 0; - i6 = HEAP32[(HEAP32[i9 + (i1 << 2) >> 2] | 0) + (i2 << 2) >> 2] | 0; - while (1) { - if (!i4) break; - HEAP8[i5 >> 0] = HEAP8[i6 >> 0] | 0; - i4 = i4 + -1 | 0; - i5 = i5 + i10 | 0; - i6 = i6 + 1 | 0; - } - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - i3 = i3 + 4 | 0; - i1 = i7; - } - return; -} - -function _fill_input_buffer(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i3 = HEAP32[i2 + 24 >> 2] | 0; - i4 = i3 + 32 | 0; - i1 = _fread(HEAP32[i4 >> 2] | 0, 1, 4096, HEAP32[i3 + 28 >> 2] | 0) | 0; - i5 = i3 + 36 | 0; - if (!i1) { - if (!(HEAP32[i5 >> 2] | 0)) i1 = i2; else { - i1 = HEAP32[i2 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 42; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i2); - i1 = i2; - } - i2 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 + 20 >> 2] = 120; - FUNCTION_TABLE_vii[HEAP32[i2 + 4 >> 2] & 63](i1, -1); - HEAP8[HEAP32[i4 >> 2] >> 0] = -1; - HEAP8[(HEAP32[i4 >> 2] | 0) + 1 >> 0] = -39; - i1 = 2; - } - HEAP32[i3 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i3 + 4 >> 2] = i1; - HEAP32[i5 >> 2] = 0; - return 1; + $4 = $3; + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + $4 = $3; + $3 = $2; + HEAP32[$3 + 8 >> 2] = $4; + HEAP32[$3 + 12 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + } + $0 = HEAP32[$0 + 24 >> 2]; + if ($0) { + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1); + } + __stack_pointer = $2 + 112 | 0; } -function __ZNSt3__214__split_bufferINS_6vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEERNS5_IS7_Lm4096EEEED2Ev(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0; - i1 = HEAP32[i4 + 4 >> 2] | 0; - i2 = i4 + 8 | 0; - while (1) { - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (i1 | 0)) break; - i3 = i3 + -16 | 0; - HEAP32[i2 >> 2] = i3; - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i3); - } - i1 = HEAP32[i4 >> 2] | 0; - if (i1 | 0) __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS0_11string_pairENS1_IS4_Lm4096EEEEELm4096EE10deallocateEPS6_m(HEAP32[i4 + 16 >> 2] | 0, i1, (HEAP32[i4 + 12 >> 2] | 0) - i1 >> 4); - return; -} - -function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE7reserveEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i3 = i5; - i4 = HEAP32[i1 >> 2] | 0; - if ((HEAP32[i1 + 8 >> 2] | 0) - i4 >> 3 >>> 0 < i2 >>> 0) { - __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEEC2EmmS5_(i3, i2, (HEAP32[i1 + 4 >> 2] | 0) - i4 >> 3, i1 + 8 | 0); - __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(i1, i3); - __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEED2Ev(i3); - } - STACKTOP = i5; - return; -} - -function _prepare_range_limit_table(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i3 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i1 + 4 >> 2] >> 2] & 63](i1, 1, 1408) | 0; - i2 = i3 + 256 | 0; - i4 = i1 + 324 | 0; - HEAP32[i4 >> 2] = i2; - _memset(i3 | 0, 0, 256) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 256) break; - HEAP8[i2 + i1 >> 0] = i1; - i1 = i1 + 1 | 0; - } - i2 = i3 + 384 | 0; - i1 = 128; - while (1) { - if ((i1 | 0) == 512) break; - HEAP8[i2 + i1 >> 0] = -1; - i1 = i1 + 1 | 0; - } - _memset(i3 + 896 | 0, 0, 384) | 0; - i3 = i3 + 1280 | 0; - i1 = HEAP32[i4 >> 2] | 0; - i2 = i3 + 128 | 0; - do { - HEAP8[i3 >> 0] = HEAP8[i1 >> 0] | 0; - i3 = i3 + 1 | 0; - i1 = i1 + 1 | 0; - } while ((i3 | 0) < (i2 | 0)); - return; -} - -function _fmt_u(i3, i2, i1) { - i3 = i3 | 0; - i2 = i2 | 0; - i1 = i1 | 0; - var i4 = 0, i5 = 0, i6 = 0; - if (i2 >>> 0 > 0 | (i2 | 0) == 0 & i3 >>> 0 > 4294967295) { - do { - i4 = i3; - i3 = ___udivdi3(i3 | 0, i2 | 0, 10, 0) | 0; - i5 = i2; - i2 = getTempRet0() | 0; - i6 = ___muldi3(i3 | 0, i2 | 0, 10, 0) | 0; - i6 = _i64Subtract(i4 | 0, i5 | 0, i6 | 0, getTempRet0() | 0) | 0; - getTempRet0() | 0; - i1 = i1 + -1 | 0; - HEAP8[i1 >> 0] = i6 & 255 | 48; - } while (i5 >>> 0 > 9 | (i5 | 0) == 9 & i4 >>> 0 > 4294967295); - i2 = i3; - } else i2 = i3; - if (i2) do { - i6 = i2; - i2 = (i2 >>> 0) / 10 | 0; - i1 = i1 + -1 | 0; - HEAP8[i1 >> 0] = i6 - (i2 * 10 | 0) | 48; - } while (i6 >>> 0 >= 10); - return i1 | 0; -} - -function __ZN12arControllerC2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - HEAP32[i1 + 192 >> 2] = 0; - HEAP32[i1 + 196 >> 2] = 0; - i3 = i1 + 204 | 0; - i2 = i1 + 240 | 0; - HEAP32[i3 >> 2] = 0; - HEAP32[i3 + 4 >> 2] = 0; - HEAP32[i3 + 8 >> 2] = 0; - HEAP32[i3 + 12 >> 2] = 0; - HEAP32[i3 + 16 >> 2] = 0; - HEAP32[i3 + 20 >> 2] = 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = 0; - HEAP32[i1 + 260 >> 2] = 1065353216; - HEAPF64[i1 + 264 >> 3] = .0001; - HEAPF64[i1 + 272 >> 3] = 1.0e3; - i2 = i1 + 280 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 0; - HEAP32[i1 + 424 >> 2] = 2; - return; -} - -function _process_restart_49(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i4 = HEAP32[i2 + 444 >> 2] | 0; - i1 = i4 + 16 | 0; - i3 = HEAP32[i2 + 440 >> 2] | 0; - i5 = i3 + 24 | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + ((HEAP32[i1 >> 2] | 0) / 8 | 0); - HEAP32[i1 >> 2] = 0; - if (FUNCTION_TABLE_ii[HEAP32[i3 + 8 >> 2] & 127](i2) | 0) { - i3 = i2 + 328 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i3 >> 2] | 0)) break; - HEAP32[i4 + 24 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i4 + 20 >> 2] = 0; - HEAP32[i4 + 40 >> 2] = HEAP32[i2 + 276 >> 2]; - if (!(HEAP32[i2 + 416 >> 2] | 0)) { - HEAP32[i4 + 8 >> 2] = 0; - i1 = 1; - } else i1 = 1; - } else i1 = 0; - return i1 | 0; -} - -function _h2v2_upsample(i3, i1, i9, i2) { - i3 = i3 | 0; - i1 = i1 | 0; - i9 = i9 | 0; - i2 = i2 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i10 = 0; - i7 = HEAP32[i2 >> 2] | 0; - i8 = i3 + 312 | 0; - i6 = i3 + 112 | 0; - i1 = 0; - i2 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i8 >> 2] | 0)) break; - i4 = HEAP32[i7 + (i1 << 2) >> 2] | 0; - i5 = i4 + (HEAP32[i6 >> 2] | 0) | 0; - i3 = HEAP32[i9 + (i2 << 2) >> 2] | 0; - while (1) { - if (i4 >>> 0 >= i5 >>> 0) break; - i10 = HEAP8[i3 >> 0] | 0; - HEAP8[i4 >> 0] = i10; - HEAP8[i4 + 1 >> 0] = i10; - i3 = i3 + 1 | 0; - i4 = i4 + 2 | 0; - } - _jcopy_sample_rows(i7, i1, i7, i1 | 1, 1, HEAP32[i6 >> 2] | 0); - i1 = i1 + 2 | 0; - i2 = i2 + 1 | 0; - } - return; -} - -function _icpGetU_from_X_by_MatX2U(i4, i5, i1) { - i4 = i4 | 0; - i5 = i5 | 0; - i1 = i1 | 0; - var d2 = 0.0, d3 = 0.0, d6 = 0.0, d7 = 0.0, d8 = 0.0; - d6 = +HEAPF64[i1 >> 3]; - d7 = +HEAPF64[i1 + 8 >> 3]; - d3 = +HEAPF64[i1 + 16 >> 3]; - d2 = +HEAPF64[i5 + 88 >> 3] + (d6 * +HEAPF64[i5 + 64 >> 3] + d7 * +HEAPF64[i5 + 72 >> 3] + d3 * +HEAPF64[i5 + 80 >> 3]); - if (d2 == 0.0) i1 = -1; else { - d8 = +HEAPF64[i5 + 56 >> 3] + (d6 * +HEAPF64[i5 + 32 >> 3] + d7 * +HEAPF64[i5 + 40 >> 3] + d3 * +HEAPF64[i5 + 48 >> 3]); - HEAPF64[i4 >> 3] = (+HEAPF64[i5 + 24 >> 3] + (d6 * +HEAPF64[i5 >> 3] + d7 * +HEAPF64[i5 + 8 >> 3] + d3 * +HEAPF64[i5 + 16 >> 3])) / d2; - HEAPF64[i4 + 8 >> 3] = d8 / d2; - i1 = 0; - } - return i1 | 0; -} - -function __ZNSt3__214__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(i1, i3, i2) { - i1 = i1 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - var i4 = 0; - L1 : do switch ((HEAP32[i2 + 4 >> 2] & 176) << 24 >> 24) { - case 16: - { - i2 = HEAP8[i1 >> 0] | 0; - switch (i2 << 24 >> 24) { - case 43: - case 45: - { - i1 = i1 + 1 | 0; - break L1; +function minv($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $9 = __stack_pointer - 2e3 | 0; + __stack_pointer = $9; + label$1: { + if (($1 | 0) > 500) { + break label$1; + } + label$2: { + label$3: { + switch ($1 | 0) { + case 1: + HEAPF64[$0 >> 3] = 1 / HEAPF64[$0 >> 3]; + break label$2; + + case 0: + break label$1; + + default: + break label$3; } - default: - {} } - if ((i3 - i1 | 0) > 1 & i2 << 24 >> 24 == 48) { - switch (HEAP8[i1 + 1 >> 0] | 0) { - case 88: - case 120: - break; - default: - { - i4 = 7; - break L1; + $11 = ($1 | 0) > 0 ? $1 : 0; + while (1) if (($3 | 0) == ($11 | 0)) { + while (1) { + if (($8 | 0) == ($11 | 0)) { + $8 = 0; + while (1) { + $4 = $8; + if (($11 | 0) == ($4 | 0)) { + break label$2; + } + while (1) { + label$11: { + if (($1 | 0) == ($4 | 0)) { + $4 = $1; + break label$11; + } + if (HEAP32[($4 << 2) + $9 >> 2] == ($8 | 0)) { + break label$11; + } + $4 = $4 + 1 | 0; + continue; + } + break; + } + HEAP32[($4 << 2) + $9 >> 2] = HEAP32[($8 << 2) + $9 >> 2]; + $3 = ($8 << 3) + $0 | 0; + $4 = ($4 << 3) + $0 | 0; + $5 = 0; + while (1) { + if (($5 | 0) != ($11 | 0)) { + $6 = HEAPF64[$4 >> 3]; + HEAPF64[$4 >> 3] = HEAPF64[$3 >> 3]; + HEAPF64[$3 >> 3] = $6; + $5 = $5 + 1 | 0; + $7 = $2 << 3; + $3 = $7 + $3 | 0; + $4 = $4 + $7 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + } + $6 = 0; + $5 = -1; + $3 = $8; + $10 = (Math_imul($3, $2) << 3) + $0 | 0; + $4 = $10; + while (1) { + if (($1 | 0) != ($3 | 0)) { + $12 = Math_abs(HEAPF64[$4 >> 3]); + $7 = $12 > $6; + $6 = $7 ? $12 : $6; + $5 = $7 ? $3 : $5; + $3 = $3 + 1 | 0; + $4 = ($2 << 3) + $4 | 0; + continue; + } + break; + } + $3 = 0; + if (($5 | 0) == -1 | $6 <= 1e-10) { + break label$1; + } + $3 = ($5 << 2) + $9 | 0; + $4 = HEAP32[$3 >> 2]; + $7 = ($8 << 2) + $9 | 0; + HEAP32[$3 >> 2] = HEAP32[$7 >> 2]; + HEAP32[$7 >> 2] = $4; + $3 = (Math_imul($2, $5) << 3) + $0 | 0; + $5 = 0; + $4 = $10; + while (1) { + if (($1 | 0) != ($5 | 0)) { + $6 = HEAPF64[$3 >> 3]; + HEAPF64[$3 >> 3] = HEAPF64[$4 >> 3]; + HEAPF64[$4 >> 3] = $6; + $5 = $5 + 1 | 0; + $4 = $4 + 8 | 0; + $3 = $3 + 8 | 0; + continue; + } + break; + } + $6 = HEAPF64[$10 >> 3]; + $4 = 1; + $3 = $10; + while (1) { + if (($1 | 0) != ($4 | 0)) { + HEAPF64[$3 >> 3] = HEAPF64[$3 + 8 >> 3] / $6; + $4 = $4 + 1 | 0; + $3 = $3 + 8 | 0; + continue; + } + break; + } + HEAPF64[$3 >> 3] = 1 / $6; + $7 = 0; + while (1) { + if (($1 | 0) != ($7 | 0)) { + if (($8 | 0) != ($7 | 0)) { + $3 = (Math_imul($2, $7) << 3) + $0 | 0; + $6 = -HEAPF64[$3 >> 3]; + $4 = 1; + $5 = $10; + while (1) { + if (($1 | 0) != ($4 | 0)) { + HEAPF64[$3 >> 3] = $6 * HEAPF64[$5 >> 3] + HEAPF64[$3 + 8 >> 3]; + $5 = $5 + 8 | 0; + $4 = $4 + 1 | 0; + $3 = $3 + 8 | 0; + continue; + } + break; + } + HEAPF64[$3 >> 3] = HEAPF64[$5 >> 3] * $6; + } + $7 = $7 + 1 | 0; + continue; + } + break; } + $8 = $8 + 1 | 0; + continue; } - i1 = i1 + 2 | 0; - } else i4 = 7; - break; - } - case 32: - { - i1 = i3; - break; - } - default: - i4 = 7; - } while (0); - return i1 | 0; -} - -function _jinit_merged_upsampler(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0; - i1 = i4 + 4 | 0; - i5 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i1 >> 2] >> 2] & 63](i4, 1, 48) | 0; - HEAP32[i4 + 452 >> 2] = i5; - HEAP32[i5 >> 2] = 125; - HEAP32[i5 + 8 >> 2] = 0; - i2 = Math_imul(HEAP32[i4 + 120 >> 2] | 0, HEAP32[i4 + 112 >> 2] | 0) | 0; - HEAP32[i5 + 40 >> 2] = i2; - i3 = i5 + 4 | 0; - if ((HEAP32[i4 + 312 >> 2] | 0) == 2) { - HEAP32[i3 >> 2] = 1; - HEAP32[i5 + 12 >> 2] = 9; - i1 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 4 >> 2] & 63](i4, 1, i2) | 0; - } else { - HEAP32[i3 >> 2] = 2; - HEAP32[i5 + 12 >> 2] = 10; - i1 = 0; - } - HEAP32[i5 + 32 >> 2] = i1; - _build_ycc_rgb_table_46(i4); - return; -} - -function ___ftello_unlocked(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0; - if (!(HEAP32[i3 >> 2] & 128)) i1 = 1; else i1 = (HEAP32[i3 + 20 >> 2] | 0) >>> 0 > (HEAP32[i3 + 28 >> 2] | 0) >>> 0 ? 2 : 1; - i1 = FUNCTION_TABLE_iiiii[HEAP32[i3 + 40 >> 2] & 15](i3, 0, 0, i1) | 0; - i2 = getTempRet0() | 0; - if ((i2 | 0) >= 0) { - i4 = (HEAP32[i3 + 8 >> 2] | 0) - (HEAP32[i3 + 4 >> 2] | 0) | 0; - i4 = _i64Subtract(i1 | 0, i2 | 0, i4 | 0, ((i4 | 0) < 0) << 31 >> 31 | 0) | 0; - i2 = getTempRet0() | 0; - i1 = (HEAP32[i3 + 20 >> 2] | 0) - (HEAP32[i3 + 28 >> 2] | 0) | 0; - i1 = _i64Add(i4 | 0, i2 | 0, i1 | 0, ((i1 | 0) < 0) << 31 >> 31 | 0) | 0; - i2 = getTempRet0() | 0; - } - setTempRet0(i2 | 0); - return i1 | 0; -} - -function _frexp(d1, i5) { - d1 = +d1; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i4 = 0; - HEAPF64[tempDoublePtr >> 3] = d1; - i2 = HEAP32[tempDoublePtr >> 2] | 0; - i3 = HEAP32[tempDoublePtr + 4 >> 2] | 0; - i4 = _bitshift64Lshr(i2 | 0, i3 | 0, 52) | 0; - getTempRet0() | 0; - switch (i4 & 2047) { - case 0: - { - if (d1 != 0.0) { - d1 = +_frexp(d1 * 18446744073709551616.0, i5); - i2 = (HEAP32[i5 >> 2] | 0) + -64 | 0; - } else i2 = 0; - HEAP32[i5 >> 2] = i2; - break; - } - case 2047: - break; - default: - { - HEAP32[i5 >> 2] = (i4 & 2047) + -1022; - HEAP32[tempDoublePtr >> 2] = i2; - HEAP32[tempDoublePtr + 4 >> 2] = i3 & -2146435073 | 1071644672; - d1 = +HEAPF64[tempDoublePtr >> 3]; - } - } - return +d1; -} - -function _setProjectionNearPlane(i1, d2) { - i1 = i1 | 0; - d2 = +d2; - var i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i4; - HEAP32[i3 >> 2] = i1; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0) { - i3 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0) + 264 | 0; - HEAPF64[i3 >> 3] = d2; - } - STACKTOP = i4; - return; -} - -function _create_odither_tables(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0, i6 = 0, i7 = 0; - i5 = HEAP32[i4 + 460 >> 2] | 0; - i6 = i4 + 120 | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (HEAP32[i6 >> 2] | 0)) break; - i2 = HEAP32[i5 + 32 + (i3 << 2) >> 2] | 0; - i1 = 0; - while (1) { - if (i1 >>> 0 >= i3 >>> 0) { - i7 = 8; - break; - } - if ((i2 | 0) == (HEAP32[i5 + 32 + (i1 << 2) >> 2] | 0)) { - i7 = 7; - break; + } else { + HEAP32[($3 << 2) + $9 >> 2] = $3; + $3 = $3 + 1 | 0; + continue; } - i1 = i1 + 1 | 0; - } - if ((i7 | 0) == 7) { - i7 = 0; - i1 = HEAP32[i5 + 52 + (i1 << 2) >> 2] | 0; - if (!i1) i7 = 8; - } - if ((i7 | 0) == 8) i1 = _make_odither_array(i4, i2) | 0; - HEAP32[i5 + 52 + (i3 << 2) >> 2] = i1; - i3 = i3 + 1 | 0; - } - return; -} - -function ___stdio_seek(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0, i7 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i7 = i6 + 8 | 0; - i5 = i6; - HEAP32[i7 >> 2] = HEAP32[i1 + 60 >> 2]; - HEAP32[i7 + 4 >> 2] = i3; - HEAP32[i7 + 8 >> 2] = i2; - HEAP32[i7 + 12 >> 2] = i5; - HEAP32[i7 + 16 >> 2] = i4; - if ((___syscall_ret(___syscall140(140, i7 | 0) | 0) | 0) < 0) { - i1 = i5; - HEAP32[i1 >> 2] = -1; - HEAP32[i1 + 4 >> 2] = -1; - i1 = -1; - i2 = -1; - } else { - i2 = i5; - i1 = HEAP32[i2 + 4 >> 2] | 0; - i2 = HEAP32[i2 >> 2] | 0; - } - setTempRet0(i1 | 0); - STACKTOP = i6; - return i2 | 0; -} - -function __ZN6vision19downsample_bilinearEPfPKfmm(i2, i9, i10, i1) { - i2 = i2 | 0; - i9 = i9 | 0; - i10 = i10 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0, i11 = 0; - i11 = i10 >>> 1; - i7 = i1 >>> 1; - i8 = i10 << 1; - i6 = 0; - while (1) { - if ((i6 | 0) == (i7 | 0)) break; - i4 = i9 + ((Math_imul(i8, i6) | 0) << 2) | 0; - i1 = 0; - i3 = i4 + (i10 << 2) | 0; - i5 = i2; - while (1) { - if ((i1 | 0) == (i11 | 0)) break; - HEAPF32[i5 >> 2] = (+HEAPF32[i4 >> 2] + +HEAPF32[i4 + 4 >> 2] + +HEAPF32[i3 >> 2] + +HEAPF32[i3 + 4 >> 2]) * .25; - i1 = i1 + 1 | 0; - i3 = i3 + 8 | 0; - i4 = i4 + 8 | 0; - i5 = i5 + 4 | 0; - } - i6 = i6 + 1 | 0; - i2 = i2 + (i11 << 2) | 0; - } - return; -} - -function _setProjectionFarPlane(i1, d2) { - i1 = i1 | 0; - d2 = +d2; - var i3 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i4; - HEAP32[i3 >> 2] = i1; - if (__ZNSt3__212__hash_tableINS_17__hash_value_typeIi12arControllerEENS_22__unordered_map_hasherIiS3_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS3_NS_8equal_toIiEELb1EEENS_9allocatorIS3_EEE4findIiEENS_15__hash_iteratorIPNS_11__hash_nodeIS3_PvEEEERKT_(56176, i3) | 0) { - i3 = (__ZNSt3__213unordered_mapIi12arControllerNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS1_EEEEEixERS8_(56176, i3) | 0) + 272 | 0; - HEAPF64[i3 >> 3] = d2; - } - STACKTOP = i4; - return; -} - -function _select_colors(i3, i1) { - i3 = i3 | 0; - i1 = i1 | 0; - var i2 = 0, i4 = 0; - i4 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i3 + 4 >> 2] >> 2] & 63](i3, 1, i1 << 5) | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 31; - HEAP32[i4 + 8 >> 2] = 0; - HEAP32[i4 + 12 >> 2] = 63; - HEAP32[i4 + 16 >> 2] = 0; - HEAP32[i4 + 20 >> 2] = 31; - _update_box(i3, i4); - i2 = _median_cut(i3, i4, i1) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i2 | 0)) break; - _compute_color(i3, i4 + (i1 << 5) | 0, i1); - i1 = i1 + 1 | 0; - } - HEAP32[i3 + 132 >> 2] = i2; - i4 = HEAP32[i3 >> 2] | 0; - HEAP32[i4 + 20 >> 2] = 96; - HEAP32[i4 + 24 >> 2] = i2; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i3 >> 2] | 0) + 4 >> 2] & 63](i3, 1); - return; -} - -function __ZNSt3__211__stdoutbufIwEC2EP8_IO_FILEP11__mbstate_t(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i4; - __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEEC2Ev(i1); - HEAP32[i1 >> 2] = 14436; - HEAP32[i1 + 32 >> 2] = i2; - __ZNSt3__26localeC2ERKS0_(i5, i1 + 4 | 0); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i5, 58228) | 0; - __ZNSt3__26localeD2Ev(i5); - HEAP32[i1 + 36 >> 2] = i2; - HEAP32[i1 + 40 >> 2] = i3; - i3 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 127](i2) | 0) & 1; - HEAP8[i1 + 44 >> 0] = i3; - STACKTOP = i4; - return; -} - -function __ZNSt3__211__stdoutbufIcEC2EP8_IO_FILEP11__mbstate_t(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i4; - __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEEC2Ev(i1); - HEAP32[i1 >> 2] = 14500; - HEAP32[i1 + 32 >> 2] = i2; - __ZNSt3__26localeC2ERKS0_(i5, i1 + 4 | 0); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i5, 58220) | 0; - __ZNSt3__26localeD2Ev(i5); - HEAP32[i1 + 36 >> 2] = i2; - HEAP32[i1 + 40 >> 2] = i3; - i3 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 127](i2) | 0) & 1; - HEAP8[i1 + 44 >> 0] = i3; - STACKTOP = i4; - return; -} - -function __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPKhi(i3, i4, i5) { - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i1 = 0, i2 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i8; - __ZNSt3__26vectorIiNS_9allocatorIiEEEC2Em(i6, i5); - i2 = HEAP32[i6 >> 2] | 0; - i7 = (HEAP32[i6 + 4 >> 2] | 0) - i2 >> 2; - i1 = 0; - while (1) { - if ((i1 | 0) == (i7 | 0)) break; - HEAP32[i2 + (i1 << 2) >> 2] = i1; - i1 = i1 + 1 | 0; - } - __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPKhiPKii(i3, i4, i5, i2, i7); - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev(i6); - STACKTOP = i8; - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_121parse_destructor_nameINS0_2DbEEEPKcS4_S4_RT_(i3, i2, i5) { - i3 = i3 | 0; - i2 = i2 | 0; - i5 = i5 | 0; - var i1 = 0, i4 = 0; - if ((i3 | 0) != (i2 | 0)) { - i1 = __ZN10__cxxabiv112_GLOBAL__N_121parse_unresolved_typeINS0_2DbEEEPKcS4_S4_RT_(i3, i2, i5) | 0; - if ((i1 | 0) == (i3 | 0)) i1 = __ZN10__cxxabiv112_GLOBAL__N_115parse_simple_idINS0_2DbEEEPKcS4_S4_RT_(i3, i2, i5) | 0; - if ((i1 | 0) != (i3 | 0) ? (i4 = HEAP32[i5 + 4 >> 2] | 0, (HEAP32[i5 >> 2] | 0) != (i4 | 0)) : 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i4 + -24 | 0, 0, 49739) | 0; else i1 = i3; - } else i1 = i3; - return i1 | 0; -} - -function _arUtilMatMul(i3, i4, i5) { - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i1 = 0, i2 = 0, i6 = 0, i7 = 0, i8 = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - i6 = i3 + (i1 << 5) | 0; - i7 = i3 + (i1 << 5) + 8 | 0; - i8 = i3 + (i1 << 5) + 16 | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == 4) break; - HEAPF64[i5 + (i1 << 5) + (i2 << 3) >> 3] = +HEAPF64[i6 >> 3] * +HEAPF64[i4 + (i2 << 3) >> 3] + +HEAPF64[i7 >> 3] * +HEAPF64[i4 + 32 + (i2 << 3) >> 3] + +HEAPF64[i8 >> 3] * +HEAPF64[i4 + 64 + (i2 << 3) >> 3]; - i2 = i2 + 1 | 0; } - i8 = i5 + (i1 << 5) + 24 | 0; - HEAPF64[i8 >> 3] = +HEAPF64[i3 + (i1 << 5) + 24 >> 3] + +HEAPF64[i8 >> 3]; - i1 = i1 + 1 | 0; + $3 = $0; } - return 0; + __stack_pointer = $9 + 2e3 | 0; + return $3; } -function __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEEC2EmmSA_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 357913941) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 * 12 | 0) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 * 12 | 0) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 * 12 | 0); - return; -} - -function _atoi(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0; +function jpeg_idct_4x8($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $22 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $9 = __stack_pointer; + $16 = $9 - 128 | 0; + $0 = $16; + $9 = 4; while (1) { - i4 = i1 + 1 | 0; - if (!(_isspace(HEAP8[i1 >> 0] | 0) | 0)) break; else i1 = i4; + label$2: { + label$3: { + $5 = HEAPU16[$2 + 32 >> 1]; + $6 = HEAP16[$2 + 16 >> 1]; + if (($5 | $6) & 65535) { + break label$3; + } + $5 = 0; + if (HEAPU16[$2 + 48 >> 1] | HEAPU16[$2 + 64 >> 1] | (HEAPU16[$2 + 80 >> 1] | HEAPU16[$2 + 96 >> 1])) { + break label$3; + } + if (HEAPU16[$2 + 112 >> 1]) { + break label$3; + } + $5 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 2; + HEAP32[$0 + 96 >> 2] = $5; + HEAP32[$0 + 80 >> 2] = $5; + HEAP32[$0 + 64 >> 2] = $5; + HEAP32[$0 + 48 >> 2] = $5; + HEAP32[$0 + 32 >> 2] = $5; + HEAP32[$0 + 16 >> 2] = $5; + HEAP32[$0 >> 2] = $5; + $7 = 28; + break label$2; + } + $5 = Math_imul(HEAP32[$1 + 64 >> 2], $5 << 16 >> 16); + $8 = Math_imul(HEAP32[$1 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $11 = Math_imul($5 + $8 | 0, 4433); + $17 = $11 + Math_imul($5, 6270) | 0; + $7 = Math_imul(HEAP16[$2 + 64 >> 1], HEAP32[$1 + 128 >> 2]) << 13; + $13 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $18 = $7 + $13 | 0; + $12 = $17 + $18 | 0; + $5 = Math_imul(HEAP32[$1 + 32 >> 2], $6); + $6 = Math_imul(HEAP32[$1 + 224 >> 2], HEAP16[$2 + 112 >> 1]); + $19 = Math_imul($5 + $6 | 0, -7373); + $15 = $19 + Math_imul($5, 12299) | 0; + $10 = Math_imul(HEAP32[$1 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $14 = $10 + $5 | 0; + $5 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $20 = $6 + $5 | 0; + $21 = Math_imul($14 + $20 | 0, 9633); + $14 = $21 + Math_imul($14, -3196) | 0; + $15 = $15 + $14 | 0; + HEAP32[$0 + 112 >> 2] = $12 - $15 >> 11; + HEAP32[$0 >> 2] = $12 + $15 >> 11; + $8 = Math_imul($8, -15137) + $11 | 0; + $11 = $13 - $7 | 0; + $7 = $8 + $11 | 0; + $13 = Math_imul($5 + $10 | 0, -20995); + $12 = $13 + Math_imul($5, 25172) | 0; + $5 = Math_imul($20, -16069) + $21 | 0; + $12 = $12 + $5 | 0; + HEAP32[$0 + 96 >> 2] = $7 - $12 >> 11; + HEAP32[$0 + 16 >> 2] = $7 + $12 >> 11; + $8 = $11 - $8 | 0; + $10 = (Math_imul($10, 16819) + $13 | 0) + $14 | 0; + HEAP32[$0 + 80 >> 2] = $8 - $10 >> 11; + HEAP32[$0 + 32 >> 2] = $8 + $10 >> 11; + $5 = (Math_imul($6, 2446) + $19 | 0) + $5 | 0; + $6 = $18 - $17 | 0; + HEAP32[$0 + 48 >> 2] = $5 + $6 >> 11; + $5 = $6 - $5 >> 11; + $7 = 16; + } + HEAP32[($7 << 2) + $0 >> 2] = $5; + $2 = $2 + 2 | 0; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $5 = $9 >>> 0 > 1; + $9 = $9 - 1 | 0; + if ($5) { + continue; + } + break; } - i3 = HEAP8[i1 >> 0] | 0; - switch (i3 | 0) { - case 45: - { - i1 = 1; - i5 = 5; - break; + $0 = $22 - 384 | 0; + $2 = $16; + $9 = 0; + while (1) { + $1 = HEAP32[($9 << 2) + $3 >> 2] + $4 | 0; + $5 = HEAP32[$2 + 12 >> 2]; + $6 = HEAP32[$2 + 4 >> 2]; + $10 = Math_imul($5 + $6 | 0, 4433); + $6 = $10 + Math_imul($6, 6270) | 0; + $8 = HEAP32[$2 + 8 >> 2]; + $7 = HEAP32[$2 >> 2] + 16400 | 0; + $11 = $8 + $7 << 13; + HEAP8[$1 | 0] = HEAPU8[($6 + $11 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 3 | 0] = HEAPU8[($11 - $6 >>> 18 & 1023) + $0 | 0]; + $5 = Math_imul($5, -15137) + $10 | 0; + $6 = $7 - $8 << 13; + HEAP8[$1 + 1 | 0] = HEAPU8[($5 + $6 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 2 | 0] = HEAPU8[($6 - $5 >>> 18 & 1023) + $0 | 0]; + $2 = $2 + 16 | 0; + $9 = $9 + 1 | 0; + if (($9 | 0) != 8) { + continue; } - case 43: - { - i1 = 0; - i5 = 5; - break; - } - default: - { - i6 = 0; - i2 = i1; - i1 = i3; - } - } - if ((i5 | 0) == 5) { - i6 = i1; - i2 = i4; - i1 = HEAP8[i4 >> 0] | 0; - } - if (!(_isdigit(i1) | 0)) i1 = 0; else { - i1 = 0; - do { - i1 = (i1 * 10 | 0) + 48 - (HEAP8[i2 >> 0] | 0) | 0; - i2 = i2 + 1 | 0; - } while ((_isdigit(HEAP8[i2 >> 0] | 0) | 0) != 0); - } - return ((i6 | 0) == 0 ? 0 - i1 | 0 : i1) | 0; -} - -function __ZNSt3__26locale2id5__getEv(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i1 = i5 + 32 | 0; - i3 = i5 + 24 | 0; - i4 = i5; - i6 = i5 + 16 | 0; - HEAP32[i6 >> 2] = 141; - HEAP32[i6 + 4 >> 2] = 0; - HEAP32[i1 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i6 + 4 >> 2]; - __ZNSt3__212_GLOBAL__N_111__fake_bindC2EMNS_6locale2idEFvvEPS3_(i4, i1, i2); - if ((HEAP32[i2 >> 2] | 0) != -1) { - HEAP32[i1 >> 2] = i4; - HEAP32[i3 >> 2] = i1; - __ZNSt3__211__call_onceERVmPvPFvS2_E(i2, i3, 142); - } - STACKTOP = i5; - return (HEAP32[i2 + 4 >> 2] | 0) + -1 | 0; -} - -function __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEEC2EmmS6_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 119304647) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 * 36 | 0) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 * 36 | 0) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 * 36 | 0); - return; -} - -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIwEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 4) | 0; - if (!(HEAP32[i7 >> 2] & 4)) HEAP32[i6 >> 2] = i1 + -1900; - STACKTOP = i5; - return; -} - -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIcEE(i1, i6, i2, i3, i7, i4) { - i1 = i1 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i7 = i7 | 0; - i4 = i4 | 0; - var i5 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i5 + 4 | 0; - i8 = i5; - HEAP32[i8 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i1 >> 2] = HEAP32[i8 >> 2]; - i1 = __ZNSt3__220__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(i2, i1, i7, i4, 4) | 0; - if (!(HEAP32[i7 >> 2] & 4)) HEAP32[i6 >> 2] = i1 + -1900; - STACKTOP = i5; - return; -} - -function __ZNSt3__210__stdinbufIwEC2EP8_IO_FILEP11__mbstate_t(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i4; - __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEEC2Ev(i1); - HEAP32[i1 >> 2] = 14564; - HEAP32[i1 + 32 >> 2] = i2; - HEAP32[i1 + 40 >> 2] = i3; - i3 = __ZNSt3__211char_traitsIwE3eofEv() | 0; - HEAP32[i1 + 48 >> 2] = i3; - HEAP8[i1 + 52 >> 0] = 0; - i3 = HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] | 0; - __ZNSt3__26localeC2ERKS0_(i5, i1 + 4 | 0); - FUNCTION_TABLE_vii[i3 & 63](i1, i5); - __ZNSt3__26localeD2Ev(i5); - STACKTOP = i4; - return; -} - -function __ZNSt3__210__stdinbufIcEC2EP8_IO_FILEP11__mbstate_t(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i4; - __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEEC2Ev(i1); - HEAP32[i1 >> 2] = 14628; - HEAP32[i1 + 32 >> 2] = i2; - HEAP32[i1 + 40 >> 2] = i3; - i3 = __ZNSt3__211char_traitsIcE3eofEv() | 0; - HEAP32[i1 + 48 >> 2] = i3; - HEAP8[i1 + 52 >> 0] = 0; - i3 = HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] | 0; - __ZNSt3__26localeC2ERKS0_(i5, i1 + 4 | 0); - FUNCTION_TABLE_vii[i3 & 63](i1, i5); - __ZNSt3__26localeD2Ev(i5); - STACKTOP = i4; - return; -} - -function _cat(i1, i5) { - i1 = i1 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i4 = 0; - do if (i1) { - i2 = _fopen(i1, 20063) | 0; - if (i2) { - _fseek(i2, 0, 2) | 0; - i3 = _ftell(i2) | 0; - _fseek(i2, 0, 0) | 0; - i4 = i3 + 1 | 0; - i1 = _malloc(i4) | 0; - if (!i1) { - _fclose(i2) | 0; - i1 = ___errno_location() | 0; - HEAP32[i1 >> 2] = 12; - i1 = 0; - break; - } - if (!(_fread(i1, i3, 1, i2) | 0)) { - _free(i1); - _fclose(i2) | 0; - i1 = 0; - break; - } - HEAP8[i1 + i3 >> 0] = 0; - _fclose(i2) | 0; - if (i5) HEAP32[i5 >> 2] = i4; - } else i1 = 0; - } else { - i1 = ___errno_location() | 0; - HEAP32[i1 >> 2] = 22; - i1 = 0; - } while (0); - return i1 | 0; -} - -function __ZN10emscripten8internal7InvokerIiJiiiEE6invokeEPFiiiiEiii(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i5; - i2 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i2) | 0; - i3 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i3) | 0; - i4 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i4) | 0; - i4 = FUNCTION_TABLE_iiii[i1 & 63](i2, i3, i4) | 0; - HEAP32[i6 >> 2] = i4; - i4 = __ZN10emscripten8internal11BindingTypeIiE10toWireTypeERKi(i6) | 0; - STACKTOP = i5; - return i4 | 0; -} - -function _process_restart(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i4 = HEAP32[i2 + 444 >> 2] | 0; - i1 = i4 + 16 | 0; - i3 = HEAP32[i2 + 440 >> 2] | 0; - i5 = i3 + 24 | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + ((HEAP32[i1 >> 2] | 0) / 8 | 0); - HEAP32[i1 >> 2] = 0; - if (FUNCTION_TABLE_ii[HEAP32[i3 + 8 >> 2] & 127](i2) | 0) { - i3 = i2 + 328 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i3 >> 2] | 0)) break; - HEAP32[i4 + 20 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i4 + 36 >> 2] = HEAP32[i2 + 276 >> 2]; - if (!(HEAP32[i2 + 416 >> 2] | 0)) { - HEAP32[i4 + 8 >> 2] = 0; - i1 = 1; - } else i1 = 1; - } else i1 = 0; - return i1 | 0; -} - -function _arMatrixTrans(i1, i5) { - i1 = i1 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0; - i6 = HEAP32[i1 + 4 >> 2] | 0; - L1 : do if ((i6 | 0) == (HEAP32[i5 + 8 >> 2] | 0) ? (i7 = HEAP32[i1 + 8 >> 2] | 0, (i7 | 0) == (HEAP32[i5 + 4 >> 2] | 0)) : 0) { - i1 = HEAP32[i1 >> 2] | 0; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i6 | 0)) { - i1 = 0; - break L1; - } - i2 = (HEAP32[i5 >> 2] | 0) + (i4 << 3) | 0; - i3 = 0; - while (1) { - if ((i3 | 0) >= (i7 | 0)) break; - HEAPF64[i1 >> 3] = +HEAPF64[i2 >> 3]; - i2 = i2 + (i6 << 3) | 0; - i3 = i3 + 1 | 0; - i1 = i1 + 8 | 0; - } - i4 = i4 + 1 | 0; - } - } else i1 = -1; while (0); - return i1 | 0; -} - -function __ZN6vision32CauchyProjectiveReprojectionCostIfEET_PKS1_S3_S3_S1_(i1, i2, i3, d4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - d4 = +d4; - var i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i5 + 8 | 0; - i6 = i5; - i7 = i8 + 4 | 0; - __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvRT_S2_PKS1_S1_S1_(i8, i7, i1, +HEAPF32[i2 >> 2], +HEAPF32[i2 + 4 >> 2]); - HEAPF32[i6 >> 2] = +HEAPF32[i8 >> 2] - +HEAPF32[i3 >> 2]; - HEAPF32[i6 + 4 >> 2] = +HEAPF32[i7 >> 2] - +HEAPF32[i3 + 4 >> 2]; - d4 = +__ZN6vision10CauchyCostIfEET_PKS1_S1_(i6, d4); - STACKTOP = i5; - return +d4; -} - -function __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEEC2EmmS8_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 357913941) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 * 12 | 0) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 * 12 | 0) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 * 12 | 0); - return; -} - -function _arSetDebugMode(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - do if (i2) if ((HEAP32[i2 >> 2] | 0) != (i3 | 0)) { - HEAP32[i2 >> 2] = i3; - if (!i3) { - i1 = i2 + 4834148 | 0; - _free(HEAP32[i1 >> 2] | 0); - HEAP32[i1 >> 2] = 0; - i1 = 0; - break; - } - i3 = _malloc(Math_imul(HEAP32[i2 + 40 >> 2] | 0, HEAP32[i2 + 36 >> 2] | 0) | 0) | 0; - HEAP32[i2 + 4834148 >> 2] = i3; - if (!i3) { - _arLog(0, 3, 20454, i4); - _exit(1); - } else i1 = 0; - } else i1 = 0; else i1 = -1; while (0); - STACKTOP = i5; - return i1 | 0; -} - -function _arMatrixDup(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i6 = HEAP32[i3 + 4 >> 2] | 0; - L1 : do if ((i6 | 0) == (HEAP32[i4 + 4 >> 2] | 0) ? (i7 = HEAP32[i3 + 8 >> 2] | 0, (i7 | 0) == (HEAP32[i4 + 8 >> 2] | 0)) : 0) { - i2 = 0; - while (1) { - if ((i2 | 0) >= (i6 | 0)) { - i1 = 0; - break L1; - } - i5 = Math_imul(i2, i7) | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i7 | 0)) break; - i8 = i1 + i5 | 0; - HEAPF64[(HEAP32[i3 >> 2] | 0) + (i8 << 3) >> 3] = +HEAPF64[(HEAP32[i4 >> 2] | 0) + (i8 << 3) >> 3]; - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - } else i1 = -1; while (0); - return i1 | 0; -} - -function __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEEC2IS3_EEPT_NS_9enable_ifIXsr14is_convertibleIS7_PS3_EE5valueENS4_5__natEE4typeE(i2, i3, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i1 = i1 | 0; - var i4 = 0, i5 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i1; - HEAP32[i2 >> 2] = i3; - i5 = __Znwm(16) | 0; - HEAP32[i5 + 4 >> 2] = 0; - HEAP32[i5 + 8 >> 2] = 0; - HEAP32[i5 >> 2] = 13548; - HEAP32[i5 + 12 >> 2] = i3; - HEAP32[i2 + 4 >> 2] = i5; - HEAP32[i4 >> 2] = i3; - HEAP32[i4 + 4 >> 2] = i3; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEE18__enable_weak_thisEz(i2, i4); - STACKTOP = i1; - return; -} - -function _start_pass_main_36(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0; - i3 = HEAP32[i2 + 424 >> 2] | 0; - switch (i1 | 0) { - case 0: - { - i1 = i3 + 4 | 0; - if (!(HEAP32[(HEAP32[i2 + 452 >> 2] | 0) + 8 >> 2] | 0)) HEAP32[i1 >> 2] = 19; else { - HEAP32[i1 >> 2] = 18; - _make_funny_pointers(i2); - HEAP32[i3 + 64 >> 2] = 0; - HEAP32[i3 + 68 >> 2] = 0; - HEAP32[i3 + 76 >> 2] = 0; - } - HEAP32[i3 + 48 >> 2] = 0; - HEAP32[i3 + 52 >> 2] = 0; - break; - } - case 2: - { - HEAP32[i3 + 4 >> 2] = 20; - break; - } - default: - { - i3 = HEAP32[i2 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 4; - FUNCTION_TABLE_vi[HEAP32[i3 >> 2] & 255](i2); - } - } - return; -} - -function _kpmFopen(i2, i3, i4) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i8 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i8 + 8 | 0; - i6 = i8; - do if (i2) { - if (!i3) { - i1 = _fopen(i2, i4) | 0; - break; - } - i5 = _strlen(i2) | 0; - i5 = _malloc(i5 + 2 + (_strlen(i3) | 0) | 0) | 0; - if (!i5) { - _arLog(0, 3, 20454, i6); - _exit(1); - } else { - HEAP32[i7 >> 2] = i2; - HEAP32[i7 + 4 >> 2] = i3; - _sprintf(i5, 20471, i7) | 0; - i1 = _fopen(i5, i4) | 0; - _free(i5); - break; - } - } else i1 = 0; while (0); - STACKTOP = i8; - return i1 | 0; -} - -function __ZN6vision19NormalizeHomographyIfEEvPT_(i1) { - i1 = i1 | 0; - var i2 = 0, d3 = 0.0, i4 = 0; - i2 = i1 + 32 | 0; - d3 = 1.0 / +HEAPF32[i2 >> 2]; - HEAPF32[i1 >> 2] = +HEAPF32[i1 >> 2] * d3; - i4 = i1 + 4 | 0; - HEAPF32[i4 >> 2] = d3 * +HEAPF32[i4 >> 2]; - i4 = i1 + 8 | 0; - HEAPF32[i4 >> 2] = d3 * +HEAPF32[i4 >> 2]; - i4 = i1 + 12 | 0; - HEAPF32[i4 >> 2] = d3 * +HEAPF32[i4 >> 2]; - i4 = i1 + 16 | 0; - HEAPF32[i4 >> 2] = d3 * +HEAPF32[i4 >> 2]; - i4 = i1 + 20 | 0; - HEAPF32[i4 >> 2] = d3 * +HEAPF32[i4 >> 2]; - i4 = i1 + 24 | 0; - HEAPF32[i4 >> 2] = d3 * +HEAPF32[i4 >> 2]; - i1 = i1 + 28 | 0; - HEAPF32[i1 >> 2] = d3 * +HEAPF32[i1 >> 2]; - HEAPF32[i2 >> 2] = 1.0; - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS9_PvEEEE(i1, HEAP32[i1 + 8 >> 2] | 0); - i2 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = 0; - if (i2 | 0) __ZdlPv(i2); - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS7_PvEEEE(i1, HEAP32[i1 + 8 >> 2] | 0); - i2 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = 0; - if (i2 | 0) __ZdlPv(i2); - return; -} - -function __ZN6vision14CompareFREAK84EPhPKf(i5, i6) { - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i7 = 0, i8 = 0, i9 = 0, i10 = 0; - __ZN6vision10ZeroVectorIhEEvPT_m(i5, 84); - i1 = 0; - i4 = 0; - i8 = 36; - i9 = 35; - i10 = 36; - while (1) { - if ((i1 | 0) == 37) break; - i7 = i1 + 1 | 0; - i3 = i6 + (i1 << 2) | 0; - i1 = i7; - i2 = i4; - while (1) { - if ((i2 | 0) == (i10 | 0)) break; - __ZN6vision17bitstring_set_bitEPhih(i5, i2, +HEAPF32[i3 >> 2] < +HEAPF32[i6 + (i1 << 2) >> 2] & 1); - i1 = i1 + 1 | 0; - i2 = i2 + 1 | 0; - } - i3 = i10 + i9 | 0; - i1 = i7; - i4 = i4 + i8 | 0; - i8 = i8 + -1 | 0; - i9 = i9 + -1 | 0; - i10 = i3; - } - return; -} - -function __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE6resizeEm(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0; - i6 = i2 + 4 | 0; - i1 = HEAP32[i6 >> 2] | 0; - i5 = HEAP32[i2 >> 2] | 0; - i4 = (i1 - i5 | 0) / 12 | 0; - if (i4 >>> 0 >= i3 >>> 0) { - if (i4 >>> 0 > i3 >>> 0) { - i2 = i5 + (i3 * 12 | 0) | 0; - while (1) { - if ((i1 | 0) == (i2 | 0)) break; - i5 = i1 + -12 | 0; - __ZNSt3__213__vector_baseINS_4pairIfmEENS_9allocatorIS2_EEED2Ev(i5); - i1 = i5; - } - HEAP32[i6 >> 2] = i2; - } - } else __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE8__appendEm(i2, i3 - i4 | 0); - return; -} - -function __ZNSt3__214__split_bufferIN6vision17PriorityQueueItemILi96EEERNS_9allocatorIS3_EEEC2EmmS6_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 536870911) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 << 3) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 3) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 3); - return; -} - -function __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEEC2EmmS5_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 214748364) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 * 20 | 0) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 * 20 | 0) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 * 20 | 0); - return; -} - -function _request_virt_sarray(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0; - i7 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 | 0) != 1) { - i8 = HEAP32[i1 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 14; - HEAP32[i8 + 24 >> 2] = i2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i1 >> 2] >> 2] & 255](i1); - } - i8 = _alloc_small(i1, i2, 128) | 0; - HEAP32[i8 >> 2] = 0; - HEAP32[i8 + 4 >> 2] = i5; - HEAP32[i8 + 8 >> 2] = i4; - HEAP32[i8 + 12 >> 2] = i6; - HEAP32[i8 + 32 >> 2] = i3; - HEAP32[i8 + 40 >> 2] = 0; - i7 = i7 + 68 | 0; - HEAP32[i8 + 44 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i8; - return i8 | 0; -} - -function _request_virt_barray(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i7 = 0, i8 = 0; - i7 = HEAP32[i1 + 4 >> 2] | 0; - if ((i2 | 0) != 1) { - i8 = HEAP32[i1 >> 2] | 0; - HEAP32[i8 + 20 >> 2] = 14; - HEAP32[i8 + 24 >> 2] = i2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i1 >> 2] >> 2] & 255](i1); - } - i8 = _alloc_small(i1, i2, 128) | 0; - HEAP32[i8 >> 2] = 0; - HEAP32[i8 + 4 >> 2] = i5; - HEAP32[i8 + 8 >> 2] = i4; - HEAP32[i8 + 12 >> 2] = i6; - HEAP32[i8 + 32 >> 2] = i3; - HEAP32[i8 + 40 >> 2] = 0; - i7 = i7 + 72 | 0; - HEAP32[i8 + 44 >> 2] = HEAP32[i7 >> 2]; - HEAP32[i7 >> 2] = i8; - return i8 | 0; -} - -function __ZNSt3__214__split_bufferIN6vision7Point3dIfEERNS_9allocatorIS3_EEEC2EmmS6_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 357913941) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 * 12 | 0) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 * 12 | 0) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 * 12 | 0); - return; -} - -function __ZN6vision8KeyframeILi96EE10buildIndexEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i3 = i1 + 36 | 0; - __ZN6vision28BinaryHierarchicalClusteringILi96EE16setNumHypothesesEi(i3, 128); - __ZN6vision28BinaryHierarchicalClusteringILi96EE13setNumCentersEi(i3, 8); - __ZN6vision28BinaryHierarchicalClusteringILi96EE16setMaxNodesToPopEi(i3, 8); - __ZN6vision28BinaryHierarchicalClusteringILi96EE21setMinFeaturesPerNodeEi(i3, 16); - i1 = i1 + 8 | 0; - i2 = __ZN6vision18BinaryFeatureStore8featuresEv(i1) | 0; - i2 = HEAP32[i2 >> 2] | 0; - __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPKhi(i3, i2, __ZNK6vision18BinaryFeatureStore4sizeEv(i1) | 0); - return; -} - -function __ZNSt3__214__split_bufferINS_6vectorINS1_IN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEEERNS5_IS9_Lm4096EEEEC2EmmSB_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - if (!i3) i1 = 0; else i1 = __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS3_INS0_11string_pairENS1_IS4_Lm4096EEEEENS1_IS6_Lm4096EEEEELm4096EE8allocateEm(i1, i3) | 0; - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 4) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 4); - return; -} - -function __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPKhiPKii(i3, i4, i5, i6, i7) { - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i8 = 0; - i1 = __Znwm(128) | 0; - __ZN6vision4NodeILi96EEC2Ei(i1, __ZN6vision28BinaryHierarchicalClusteringILi96EE10nextNodeIdEv(i3) | 0); - i8 = i3 + 8 | 0; - i2 = HEAP32[i8 >> 2] | 0; - HEAP32[i8 >> 2] = i1; - if (i2) { - __ZN6vision4NodeILi96EED2Ev(i2); - __ZdlPv(i2); - i1 = HEAP32[i8 >> 2] | 0; - } - __ZN6vision4NodeILi96EE4leafEb(i1, 0); - __ZN6vision28BinaryHierarchicalClusteringILi96EE5buildEPNS_4NodeILi96EEEPKhiPKii(i3, HEAP32[i8 >> 2] | 0, i4, i5, i6, i7); - return; -} - -function __ZNSt3__210shared_ptrIhEC2Ih16NullArrayDeleterIhEEEPT_T0_NS_9enable_ifIXsr14is_convertibleIS6_PhEE5valueENS1_5__natEE4typeE(i3, i4, i1, i2) { - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - var i5 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i1; - HEAP32[i3 >> 2] = i4; - i5 = __Znwm(16) | 0; - HEAP32[i5 + 4 >> 2] = 0; - HEAP32[i5 + 8 >> 2] = 0; - HEAP32[i5 >> 2] = 13604; - HEAP32[i5 + 12 >> 2] = i4; - HEAP32[i3 + 4 >> 2] = i5; - HEAP32[i2 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - __ZNSt3__210shared_ptrIhE18__enable_weak_thisEz(i3, i2); - STACKTOP = i1; - return; -} - -function __ZNSt3__214__split_bufferIPKN6vision4NodeILi96EEERNS_9allocatorIS5_EEEC2EmmS8_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 1073741823) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 << 2) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 2) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 2); - return; -} - -function __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEEC2EmmS7_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 1073741823) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 << 2) | 0; break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 2) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 2); - return; -} - -function __ZNKSt3__27codecvtIwc11__mbstate_tE9do_lengthERS1_PKcS5_m(i1, i7, i2, i8, i9) { - i1 = i1 | 0; - i7 = i7 | 0; - i2 = i2 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i10 = 0; - i10 = i8; - i6 = i1 + 8 | 0; - i4 = 0; - i5 = 0; - L1 : while (1) { - if ((i2 | 0) == (i8 | 0) | i4 >>> 0 >= i9 >>> 0) break; - i3 = ___uselocale(HEAP32[i6 >> 2] | 0) | 0; - i1 = _mbrlen(i2, i10 - i2 | 0, i7) | 0; - if (i3 | 0) ___uselocale(i3) | 0; - switch (i1 | 0) { - case -2: - case -1: - break L1; - case 0: - { - i1 = 1; - break; - } - default: - {} - } - i4 = i4 + 1 | 0; - i5 = i1 + i5 | 0; - i2 = i2 + i1 | 0; } - return i5 | 0; } -function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE8allocateEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - if ((__ZNKSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE8max_sizeEv(i1) | 0) >>> 0 < i2 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); - if (i2 >>> 0 > 536870911) { - i2 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i2, 40521); - HEAP32[i2 >> 2] = 17440; - ___cxa_throw(i2 | 0, 13288, 107); - } else { - i3 = __Znwm(i2 << 3) | 0; - HEAP32[i1 + 4 >> 2] = i3; - HEAP32[i1 >> 2] = i3; - HEAP32[i1 + 8 >> 2] = i3 + (i2 << 3); - return; - } +function vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____query_28vision__GaussianScaleSpacePyramid_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $3 = $0 + 160 | 0; + label$1: { + if ((vision__DoGScaleInvariantDetector__width_28_29_20const($3) | 0) == (vision__Image__width_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1), 0)) | 0)) { + if ((vision__DoGScaleInvariantDetector__height_28_29_20const($3) | 0) == (vision__Image__height_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1), 0)) | 0)) { + break label$1; + } + } + vision__DoGScaleInvariantDetector__alloc_28vision__GaussianScaleSpacePyramid_20const__29($3, $1); + } + $4 = $0 - -64 | 0; + void_20std____2__shared_ptr_vision__Keyframe_96____reset_vision__Keyframe_96__2c_20void__28vision__Keyframe_96___29($4, vision__Keyframe_96___Keyframe_28_29(operator_20new_28unsigned_20long_29(148))); + vision__Keyframe_96___setWidth_28int_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($4), vision__Image__width_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1), 0))); + vision__Keyframe_96___setHeight_28int_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($4), vision__Image__height_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1), 0))); + $5 = vision__ScopedTimer__ScopedTimer_28char_20const__29($2 + 16 | 0, 4100); + if (vision__ScopedTimer__operator_20bool_28_29($5)) { + void_20vision__FindFeatures_vision__FREAKExtractor_2c_2096__28vision__Keyframe_96___2c_20vision__GaussianScaleSpacePyramid_20const__2c_20vision__DoGScaleInvariantDetector__2c_20vision__FREAKExtractor__29(std____2__shared_ptr_vision__Keyframe_96____get_28_29_20const($4), $1, $3, $0 + 316 | 0); + } + vision__ScopedTimer___ScopedTimer_28_29($5); + $1 = vision__Logger__getInstance_28_29(); + vision__get_pretty_time_28_29($2 + 16 | 0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($2 + 16 | 0); + wasm2js_i32$0 = $2, wasm2js_i32$1 = vision__BinaryFeatureStore__size_28_29_20const(vision__Keyframe_96___store_28_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($4))), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + HEAP32[$2 + 8 >> 2] = 26929; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 >> 2] = 6093; + vision__Logger__write_28vision__LoggerPriorityLevel_2c_20char_20const__2c_20____29($1, 8, 21681, $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($2 + 16 | 0); + $1 = vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____query_28vision__Keyframe_96__20const__29($0, std____2__shared_ptr_vision__Keyframe_96____get_28_29_20const($4)); + __stack_pointer = $2 + 48 | 0; + return $1; +} + +function ar2ReadImageSet($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $1 = __stack_pointer - 96 | 0; + __stack_pointer = $1; + HEAP16[$1 + 88 >> 1] = HEAPU8[21300] | HEAPU8[21301] << 8; + HEAP32[$1 + 84 >> 2] = HEAPU8[21296] | HEAPU8[21297] << 8 | (HEAPU8[21298] << 16 | HEAPU8[21299] << 24); + label$1: { + label$2: { + label$3: { + $2 = dlmalloc((strlen($0) + strlen($1 + 84 | 0) | 0) + 1 | 0); + if ($2) { + HEAP32[$1 + 64 >> 2] = $0; + HEAP32[$1 + 68 >> 2] = $1 + 84; + siprintf($2, 1845, $1 - -64 | 0); + $6 = fopen($2, 3202); + dlfree($2); + if (!$6) { + HEAP32[$1 >> 2] = $0; + HEAP32[$1 + 4 >> 2] = $1 + 84; + arLog(0, 3, 3994, $1); + $4 = 0; + break label$2; + } + $4 = dlmalloc(8); + if (!$4) { + break label$1; + } + label$7: { + label$8: { + $2 = $4 + 4 | 0; + if ((fread($2, 4, 1, $6) | 0) == 1) { + $5 = HEAP32[$4 + 4 >> 2]; + if (($5 | 0) > 0) { + break label$8; + } + } + arLog(0, 3, 4514, 0); + break label$7; + } + HEAP32[$1 + 48 >> 2] = $5; + arLog(0, 1, 5363, $1 + 48 | 0); + $3 = dlmalloc($5 << 2); + HEAP32[$4 >> 2] = $3; + if (!$3) { + break label$1; + } + $2 = dlmalloc(16); + HEAP32[$3 >> 2] = $2; + if (!$2) { + break label$1; + } + $7 = ar2ReadJpegImage2($6); + if (!$7) { + break label$3; + } + if (HEAP32[$7 + 4 >> 2] != 1) { + HEAP32[$1 + 32 >> 2] = $0; + HEAP32[$1 + 36 >> 2] = $1 + 84; + arLog(0, 2, 6216, $1 + 32 | 0); + dlfree(HEAP32[$3 >> 2]); + dlfree($3); + dlfree($4); + dlfree($7); + fclose($6); + $4 = 0; + break label$2; + } + $2 = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = HEAP32[$7 + 8 >> 2]; + HEAP32[$2 + 8 >> 2] = HEAP32[$7 + 12 >> 2]; + HEAPF32[$2 + 12 >> 2] = HEAPF32[$7 + 16 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$7 >> 2]; + dlfree($7); + fseek($6, 4 - ($5 << 2) | 0, 2); + $2 = 1; + label$11: { + while (1) { + if (($2 | 0) != ($5 | 0)) { + if ((fread($1 + 92 | 0, 4, 1, $6) | 0) != 1) { + $0 = 0; + while (1) { + if (($0 | 0) == ($2 | 0)) { + break label$11; + } + $5 = ($0 << 2) + $3 | 0; + dlfree(HEAP32[HEAP32[$5 >> 2] >> 2]); + dlfree(HEAP32[$5 >> 2]); + $0 = $0 + 1 | 0; + continue; + } + } + $0 = ar2GenImageLayer2(HEAP32[$3 >> 2], HEAPF32[$1 + 92 >> 2]); + HEAP32[($2 << 2) + $3 >> 2] = $0; + if ($0) { + $2 = $2 + 1 | 0; + continue; + } else { + $0 = 0; + while (1) { + if (($0 | 0) == ($2 | 0)) { + break label$11; + } + $5 = ($0 << 2) + $3 | 0; + dlfree(HEAP32[HEAP32[$5 >> 2] >> 2]); + dlfree(HEAP32[$5 >> 2]); + $0 = $0 + 1 | 0; + continue; + } + } + } + break; + } + fclose($6); + break label$2; + } + dlfree($3); + } + dlfree($4); + fclose($6); + $4 = 0; + break label$2; + } + break label$1; + } + HEAP32[$1 + 16 >> 2] = $0; + HEAP32[$1 + 20 >> 2] = $1 + 84; + arLog(0, 2, 6216, $1 + 16 | 0); + dlfree(HEAP32[$3 >> 2]); + dlfree($3); + dlfree($4); + rewind($6); + $4 = ar2ReadImageSetOld($6); + } + __stack_pointer = $1 + 96 | 0; + $2 = $4; + return $2; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE21__construct_node_hashINS_4pairIjjEEJEEENS_10unique_ptrINS_11__hash_nodeIS2_PvEENS_22__hash_node_destructorINSB_ISK_EEEEEEmOT_DpOT0_(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0; - i5 = __Znwm(16) | 0; - HEAP32[i1 >> 2] = i5; - HEAP32[i1 + 4 >> 2] = i2 + 8; - HEAP32[i5 + 8 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i5 + 12 >> 2] = HEAP32[i4 + 4 >> 2]; - HEAP8[i1 + 8 >> 0] = 1; - HEAP32[i5 + 4 >> 2] = i3; - HEAP32[i5 >> 2] = 0; - return; -} - -function __ZN6vision6detail23create_formatted_stringERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPi(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 2048 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(2048); - i5 = i4; - _vsnprintf(i5, 2048, (HEAP8[i2 + 11 >> 0] | 0) < 0 ? HEAP32[i2 >> 2] | 0 : i2, i3) | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i1, i5, __ZNSt3__211char_traitsIcE6lengthEPKc(i5) | 0); - STACKTOP = i4; - return; -} - -function __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEEC2EmmS5_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 536870911) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 << 3) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 3) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 3); - return; -} - -function __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEEC2EmmS5_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 134217727) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 << 5) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 5) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 5); - return; -} - -function __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEEC2EmmS4_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 536870911) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 << 3) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 3) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 3); - return; -} - -function __ZNSt3__214__split_bufferINS_4pairIfmEERNS_9allocatorIS2_EEEC2EmmS5_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 536870911) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 << 3) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 3) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 3); - return; -} - -function __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEEC2EmmS5_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 536870911) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 << 3) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 3) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 3); - return; -} - -function __ZNKSt3__27codecvtIDsc11__mbstate_tE6do_outERS1_PKDsS5_RS5_PcS7_RS7_(i1, i2, i3, i4, i5, i6, i7, i8) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - var i9 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i1 + 4 | 0; - i2 = i1; - HEAP32[i9 >> 2] = i3; - HEAP32[i2 >> 2] = i6; - i7 = __ZNSt3__2L13utf16_to_utf8EPKtS1_RS1_PhS3_RS3_mNS_12codecvt_modeE(i3, i4, i9, i6, i7, i2, 1114111, 0) | 0; - HEAP32[i5 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i2 >> 2]; - STACKTOP = i1; - return i7 | 0; -} - -function __ZN6vision16Multiply_3x3_3x1IfEEvPT_PKS1_S4_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i5 = i3 + 4 | 0; - i4 = i3 + 8 | 0; - HEAPF32[i1 >> 2] = +HEAPF32[i2 >> 2] * +HEAPF32[i3 >> 2] + +HEAPF32[i2 + 4 >> 2] * +HEAPF32[i5 >> 2] + +HEAPF32[i2 + 8 >> 2] * +HEAPF32[i4 >> 2]; - HEAPF32[i1 + 4 >> 2] = +HEAPF32[i2 + 12 >> 2] * +HEAPF32[i3 >> 2] + +HEAPF32[i2 + 16 >> 2] * +HEAPF32[i5 >> 2] + +HEAPF32[i2 + 20 >> 2] * +HEAPF32[i4 >> 2]; - HEAPF32[i1 + 8 >> 2] = +HEAPF32[i2 + 24 >> 2] * +HEAPF32[i3 >> 2] + +HEAPF32[i2 + 28 >> 2] * +HEAPF32[i5 >> 2] + +HEAPF32[i2 + 32 >> 2] * +HEAPF32[i4 >> 2]; - return; -} - -function __ZNKSt3__27codecvtIDsc11__mbstate_tE5do_inERS1_PKcS5_RS5_PDsS7_RS7_(i1, i2, i3, i4, i5, i6, i7, i8) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - var i9 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i1 + 4 | 0; - i2 = i1; - HEAP32[i9 >> 2] = i3; - HEAP32[i2 >> 2] = i6; - i7 = __ZNSt3__2L13utf8_to_utf16EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE(i3, i4, i9, i6, i7, i2, 1114111, 0) | 0; - HEAP32[i5 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i2 >> 2]; - STACKTOP = i1; - return i7 | 0; -} - -function __ZNKSt3__27codecvtIDic11__mbstate_tE6do_outERS1_PKDiS5_RS5_PcS7_RS7_(i1, i2, i3, i4, i5, i6, i7, i8) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - var i9 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i1 + 4 | 0; - i2 = i1; - HEAP32[i9 >> 2] = i3; - HEAP32[i2 >> 2] = i6; - i7 = __ZNSt3__2L12ucs4_to_utf8EPKjS1_RS1_PhS3_RS3_mNS_12codecvt_modeE(i3, i4, i9, i6, i7, i2, 1114111, 0) | 0; - HEAP32[i5 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i2 >> 2]; - STACKTOP = i1; - return i7 | 0; -} - -function _jpeg_read_header(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0; - i1 = HEAP32[i2 + 20 >> 2] | 0; - if ((i1 & -2 | 0) != 200) { - i4 = HEAP32[i2 >> 2] | 0; - HEAP32[i4 + 20 >> 2] = 20; - HEAP32[i4 + 24 >> 2] = i1; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i2 >> 2] >> 2] & 255](i2); - } - i1 = _jpeg_consume_input(i2) | 0; - switch (i1 | 0) { - case 1: - { - i1 = 1; - break; - } - case 2: - { - if (!i3) i1 = i2; else { - i1 = HEAP32[i2 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 51; - FUNCTION_TABLE_vi[HEAP32[i1 >> 2] & 255](i2); - i1 = i2; - } - _jpeg_abort(i1); - i1 = 2; - break; +function decode_mcu_AC_first($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $4 = HEAP32[$0 + 468 >> 2]; + if (HEAP32[$0 + 280 >> 2]) { + $3 = HEAP32[$4 + 56 >> 2]; + if (!$3) { + process_restart($0); + $3 = HEAP32[$4 + 56 >> 2]; + } + HEAP32[$4 + 56 >> 2] = $3 - 1; + } + label$3: { + label$4: { + if (HEAP32[$4 + 20 >> 2] == -1) { + break label$4; + } + $7 = $4 + 188 | 0; + $3 = HEAP32[$0 + 412 >> 2] - 1 | 0; + $2 = HEAP32[HEAP32[$0 + 344 >> 2] + 24 >> 2]; + $8 = $2 + $0 | 0; + $5 = ($2 << 2) + $4 | 0; + $9 = HEAP32[$1 >> 2]; + $10 = HEAP32[$0 + 432 >> 2]; + while (1) { + $2 = $3; + $1 = HEAP32[$5 + 124 >> 2] + Math_imul($2, 3) | 0; + if (arith_decode($0, $1)) { + break label$4; + } + while (1) { + label$7: { + $3 = $2 + 1 | 0; + if (arith_decode($0, $1 + 1 | 0)) { + break label$7; + } + $1 = $1 + 3 | 0; + $2 = $3; + if (($2 | 0) < HEAP32[$0 + 416 >> 2]) { + continue; + } + break label$3; + } + break; + } + $11 = arith_decode($0, $7); + $1 = $1 + 2 | 0; + label$8: { + if (!arith_decode($0, $1)) { + $2 = 0; + break label$8; + } + if (!arith_decode($0, $1)) { + $2 = 1; + break label$8; + } + $2 = HEAP32[$5 + 124 >> 2] + (HEAPU8[$8 + 264 | 0] > ($2 | 0) ? 189 : 217) | 0; + label$11: { + if (!arith_decode($0, $2)) { + $1 = 2; + break label$11; + } + $2 = $2 + 1 | 0; + if (!arith_decode($0, $2)) { + $1 = 4; + break label$11; + } + $2 = $2 + 1 | 0; + if (!arith_decode($0, $2)) { + $1 = 8; + break label$11; + } + $2 = $2 + 1 | 0; + if (!arith_decode($0, $2)) { + $1 = 16; + break label$11; + } + $2 = $2 + 1 | 0; + if (!arith_decode($0, $2)) { + $1 = 32; + break label$11; + } + $2 = $2 + 1 | 0; + if (!arith_decode($0, $2)) { + $1 = 64; + break label$11; + } + $2 = $2 + 1 | 0; + if (!arith_decode($0, $2)) { + $1 = 128; + break label$11; + } + $2 = $2 + 1 | 0; + if (!arith_decode($0, $2)) { + $1 = 256; + break label$11; + } + $2 = $2 + 1 | 0; + if (!arith_decode($0, $2)) { + $1 = 512; + break label$11; + } + $2 = $2 + 1 | 0; + if (!arith_decode($0, $2)) { + $1 = 1024; + break label$11; + } + $2 = $2 + 1 | 0; + if (!arith_decode($0, $2)) { + $1 = 2048; + break label$11; + } + $2 = $2 + 1 | 0; + if (!arith_decode($0, $2)) { + $1 = 4096; + break label$11; + } + $2 = $2 + 1 | 0; + if (!arith_decode($0, $2)) { + $1 = 8192; + break label$11; + } + $1 = 16384; + $2 = $2 + 1 | 0; + if (arith_decode($0, $2)) { + break label$3; + } + } + $12 = $2 + 14 | 0; + $2 = $1; + while (1) { + $6 = $1 >>> 1 | 0; + $2 = (arith_decode($0, $12) ? $6 : 0) | $2; + $13 = $1 >>> 0 > 3; + $1 = $6; + if ($13) { + continue; + } + break; + } + } + HEAP16[(HEAP32[($3 << 2) + $10 >> 2] << 1) + $9 >> 1] = ($11 ? $2 ^ -1 : $2 + 1 | 0) << HEAP32[$0 + 424 >> 2]; + if (HEAP32[$0 + 416 >> 2] > ($3 | 0)) { + continue; + } + break; + } } - default: - {} - } - return i1 | 0; -} - -function __ZNKSt3__27codecvtIDic11__mbstate_tE5do_inERS1_PKcS5_RS5_PDiS7_RS7_(i1, i2, i3, i4, i5, i6, i7, i8) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - var i9 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i9 = i1 + 4 | 0; - i2 = i1; - HEAP32[i9 >> 2] = i3; - HEAP32[i2 >> 2] = i6; - i7 = __ZNSt3__2L12utf8_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE(i3, i4, i9, i6, i7, i2, 1114111, 0) | 0; - HEAP32[i5 >> 2] = HEAP32[i9 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i2 >> 2]; - STACKTOP = i1; - return i7 | 0; -} - -function _jpeg_stdio_src(i2, i4) { - i2 = i2 | 0; - i4 = i4 | 0; - var i1 = 0, i3 = 0, i5 = 0; - i3 = i2 + 24 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if (!i1) { - i5 = i2 + 4 | 0; - i1 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i5 >> 2] >> 2] & 63](i2, 0, 40) | 0; - HEAP32[i3 >> 2] = i1; - i2 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i5 >> 2] >> 2] & 63](i2, 0, 4096) | 0; - HEAP32[i1 + 32 >> 2] = i2; - i1 = HEAP32[i3 >> 2] | 0; - } - HEAP32[i1 + 8 >> 2] = 135; - HEAP32[i1 + 12 >> 2] = 73; - HEAP32[i1 + 16 >> 2] = 46; - HEAP32[i1 + 20 >> 2] = 28; - HEAP32[i1 + 24 >> 2] = 136; - HEAP32[i1 + 28 >> 2] = i4; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 >> 2] = 0; - return; -} - -function __ZNKSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7compareEmmPKcm(i1, i4, i6) { - i1 = i1 | 0; - i4 = i4 | 0; - i6 = i6 | 0; - var i2 = 0, i3 = 0, i5 = 0; - i2 = HEAP8[i1 + 11 >> 0] | 0; - i3 = i2 << 24 >> 24 < 0; - if (i3) i5 = HEAP32[i1 + 4 >> 2] | 0; else i5 = i2 & 255; - if ((i6 | 0) == -1) __ZNKSt3__221__basic_string_commonILb1EE20__throw_out_of_rangeEv(i1); - if (i3) i1 = HEAP32[i1 >> 2] | 0; - i2 = i5 >>> 0 > i6 >>> 0; - i1 = __ZNSt3__211char_traitsIcE7compareEPKcS3_m(i1, i4, i2 ? i6 : i5) | 0; - if (!i1) return (i5 >>> 0 < i6 >>> 0 ? -1 : i2 & 1) | 0; else return i1 | 0; - return 0; + return 1; + } + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 117; + FUNCTION_TABLE[HEAP32[$3 + 4 >> 2]]($0, -1); + HEAP32[$4 + 20 >> 2] = -1; + return 1; } -function _getc(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0; - if ((HEAP32[i4 + 76 >> 2] | 0) >= 0 ? (___lockfile(i4) | 0) != 0 : 0) { - i1 = i4 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - HEAP32[i1 >> 2] = i2 + 1; - i1 = HEAPU8[i2 >> 0] | 0; - } else i1 = ___uflow(i4) | 0; - ___unlockfile(i4); - } else i3 = 3; - do if ((i3 | 0) == 3) { - i1 = i4 + 4 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 >>> 0 < (HEAP32[i4 + 8 >> 2] | 0) >>> 0) { - HEAP32[i1 >> 2] = i2 + 1; - i1 = HEAPU8[i2 >> 0] | 0; - break; - } else { - i1 = ___uflow(i4) | 0; +function std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20bool_2c_20std____2__ios_base__2c_20unsigned_20int__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____29_20const($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 $7 = 0; + $0 = __stack_pointer - 448 | 0; + __stack_pointer = $0; + HEAP32[$0 + 432 >> 2] = $2; + HEAP32[$0 + 440 >> 2] = $1; + HEAP32[$0 + 20 >> 2] = 316; + $7 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28wchar_t__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0 + 24 | 0, $0 + 32 | 0, $0 + 20 | 0); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $4); + $1 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($0 + 16 | 0); + HEAP8[$0 + 15 | 0] = 0; + if (std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20bool_2c_20std____2__locale_20const__2c_20unsigned_20int_2c_20unsigned_20int__2c_20bool__2c_20std____2__ctype_wchar_t__20const__2c_20std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___2c_20wchar_t___2c_20wchar_t__29($0 + 440 | 0, $2, $3, $0 + 16 | 0, std____2__ios_base__flags_28_29_20const($4), $5, $0 + 15 | 0, $1, $7, $0 + 20 | 0, $0 + 432 | 0)) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____clear_28_29($6); + if (HEAPU8[$0 + 15 | 0]) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____push_back_28wchar_t_29($6, std____2__ctype_wchar_t___widen_28char_29_20const($1, 45)); + } + $1 = std____2__ctype_wchar_t___widen_28char_29_20const($1, 48); + $2 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($7); + $3 = HEAP32[$0 + 20 >> 2]; + $4 = $3 - 4 | 0; + while (1) { + if (!(HEAP32[$2 >> 2] != ($1 | 0) | $2 >>> 0 >= $4 >>> 0)) { + $2 = $2 + 4 | 0; + continue; + } break; } - } while (0); - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pair9move_fullEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = i2 + 12 | 0; - i3 = HEAP8[i5 + 11 >> 0] | 0; - i4 = i3 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i2, i4 ? HEAP32[i5 >> 2] | 0 : i5, i4 ? HEAP32[i2 + 16 >> 2] | 0 : i3 & 255) | 0; - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i2 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i2 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function _realloc(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0; - if (!i2) { - i3 = _malloc(i3) | 0; - return i3 | 0; - } - if (i3 >>> 0 > 4294967231) { - i3 = ___errno_location() | 0; - HEAP32[i3 >> 2] = 12; - i3 = 0; - return i3 | 0; - } - i1 = _try_realloc_chunk(i2 + -8 | 0, i3 >>> 0 < 11 ? 16 : i3 + 11 & -8) | 0; - if (i1 | 0) { - i3 = i1 + 8 | 0; - return i3 | 0; - } - i1 = _malloc(i3) | 0; - if (!i1) { - i3 = 0; - return i3 | 0; - } - i4 = HEAP32[i2 + -4 >> 2] | 0; - i4 = (i4 & -8) - ((i4 & 3 | 0) == 0 ? 8 : 4) | 0; - _memcpy(i1 | 0, i2 | 0, (i4 >>> 0 < i3 >>> 0 ? i4 : i3) | 0) | 0; - _free(i2); - i3 = i1; - return i3 | 0; -} - -function ___toread(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0; - i1 = i3 + 74 | 0; - i2 = HEAP8[i1 >> 0] | 0; - HEAP8[i1 >> 0] = i2 + 255 | i2; - i1 = i3 + 20 | 0; - i2 = i3 + 28 | 0; - if ((HEAP32[i1 >> 2] | 0) >>> 0 > (HEAP32[i2 >> 2] | 0) >>> 0) FUNCTION_TABLE_iiii[HEAP32[i3 + 36 >> 2] & 63](i3, 0, 0) | 0; - HEAP32[i3 + 16 >> 2] = 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i1 >> 2] = 0; - i1 = HEAP32[i3 >> 2] | 0; - if (!(i1 & 4)) { - i2 = (HEAP32[i3 + 44 >> 2] | 0) + (HEAP32[i3 + 48 >> 2] | 0) | 0; - HEAP32[i3 + 8 >> 2] = i2; - HEAP32[i3 + 4 >> 2] = i2; - i1 = i1 << 27 >> 31; - } else { - HEAP32[i3 >> 2] = i1 | 32; - i1 = -1; + std____2__enable_if___is_cpp17_forward_iterator_wchar_t____value_2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______type_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____append_wchar_t___28wchar_t__2c_20wchar_t__29($6, $2, $3); } - return i1 | 0; + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0 + 440 | 0, $0 + 432 | 0)) { + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 2; + } + $2 = HEAP32[$0 + 440 >> 2]; + std____2__locale___locale_28_29($0 + 16 | 0); + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29____unique_ptr_28_29($7); + __stack_pointer = $0 + 448 | 0; + return $2 | 0; } -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_m(i2, i1, i4, i3) { - i2 = i2 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - i3 = i3 | 0; - i2 = i2 + 4 | 0; +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_in_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20wchar_t__2c_20wchar_t__2c_20wchar_t___29_20const($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 $8 = 0, $9 = 0, $10 = 0; + $9 = __stack_pointer - 16 | 0; + __stack_pointer = $9; + $8 = $2; while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i3 = HEAP32[i2 >> 2] | 0; - HEAP32[i3 >> 2] = HEAP32[i1 >> 2]; - HEAP32[i3 + 4 >> 2] = HEAP32[i1 + 4 >> 2]; - HEAP32[i3 + 8 >> 2] = HEAP32[i1 + 8 >> 2]; - HEAP32[i3 + 12 >> 2] = HEAP32[i1 + 12 >> 2]; - HEAP32[i3 + 16 >> 2] = HEAP32[i1 + 16 >> 2]; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 20; - i1 = i1 + 20 | 0; - } - return; -} - -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8allocateEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - if ((__ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv(i1) | 0) >>> 0 < i2 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); - if (i2 >>> 0 > 214748364) { - i2 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i2, 40521); - HEAP32[i2 >> 2] = 17440; - ___cxa_throw(i2 | 0, 13288, 107); - } else { - i3 = __Znwm(i2 * 20 | 0) | 0; - HEAP32[i1 + 4 >> 2] = i3; - HEAP32[i1 >> 2] = i3; - HEAP32[i1 + 8 >> 2] = i3 + (i2 * 20 | 0); - return; + label$2: { + if (($3 | 0) == ($8 | 0)) { + $8 = $3; + break label$2; + } + if (!HEAPU8[$8 | 0]) { + break label$2; + } + $8 = $8 + 1 | 0; + continue; + } + break; } -} - -function __ZN6vision28BinaryHierarchicalClusteringILi96EEC2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - HEAP32[i1 >> 2] = 1234; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - i2 = i1 + 12 | 0; - __ZN6vision14BinarykMedoidsILi96EEC2ERi(i2, i1); - i3 = i1 + 72 | 0; - HEAP32[i1 + 100 >> 2] = 0; - HEAP32[i1 + 104 >> 2] = 0; - HEAP32[i3 >> 2] = 0; - HEAP32[i3 + 4 >> 2] = 0; - HEAP32[i3 + 8 >> 2] = 0; - HEAP32[i3 + 12 >> 2] = 0; - HEAP32[i3 + 16 >> 2] = 0; - HEAP32[i3 + 20 >> 2] = 0; - HEAP32[i1 + 108 >> 2] = 16; - __ZN6vision14BinarykMedoidsILi96EE4setkEi(i2, 8); - __ZN6vision14BinarykMedoidsILi96EE16setNumHypothesesEi(i2, 1); - return; -} - -function _arUtilReplaceExt(i6, i5, i7) { - i6 = i6 | 0; - i5 = i5 | 0; - i7 = i7 | 0; - var i1 = 0, i2 = 0, i3 = 0, i4 = 0, i8 = 0; - i1 = 0; - i4 = 0; - L1 : while (1) { - switch (HEAP8[i6 + i4 >> 0] | 0) { - case 0: - break L1; - case 46: - { - i1 = i4; - break; + HEAP32[$7 >> 2] = $5; + HEAP32[$4 >> 2] = $2; + while (1) { + label$5: { + label$6: { + label$7: { + if (($2 | 0) == ($3 | 0) | ($5 | 0) == ($6 | 0)) { + break label$7; + } + $10 = HEAP32[$1 + 4 >> 2]; + HEAP32[$9 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$9 + 12 >> 2] = $10; + label$8: { + label$9: { + label$10: { + $10 = std____2____libcpp_mbsnrtowcs_l_28wchar_t__2c_20char_20const___2c_20unsigned_20long_2c_20unsigned_20long_2c_20__mbstate_t__2c_20__locale_struct__29($5, $4, $8 - $2 | 0, $6 - $5 >> 2, $1, HEAP32[$0 + 8 >> 2]); + label$11: { + if (($10 | 0) == -1) { + while (1) { + label$14: { + HEAP32[$7 >> 2] = $5; + if (HEAP32[$4 >> 2] == ($2 | 0)) { + break label$14; + } + $6 = 1; + label$15: { + label$16: { + label$17: { + $5 = std____2____libcpp_mbrtowc_l_28wchar_t__2c_20char_20const__2c_20unsigned_20long_2c_20__mbstate_t__2c_20__locale_struct__29($5, $2, $8 - $2 | 0, $9 + 8 | 0, HEAP32[$0 + 8 >> 2]); + switch ($5 + 2 | 0) { + case 2: + break label$15; + + case 1: + break label$17; + + case 0: + break label$9; + + default: + break label$16; + } + } + HEAP32[$4 >> 2] = $2; + break label$11; + } + $6 = $5; + } + $2 = $2 + $6 | 0; + $5 = HEAP32[$7 >> 2] + 4 | 0; + continue; + } + break; + } + HEAP32[$4 >> 2] = $2; + break label$7; + } + $5 = HEAP32[$7 >> 2] + ($10 << 2) | 0; + HEAP32[$7 >> 2] = $5; + if (($5 | 0) == ($6 | 0)) { + break label$8; + } + $2 = HEAP32[$4 >> 2]; + if (($3 | 0) == ($8 | 0)) { + $8 = $3; + continue; + } + if (!std____2____libcpp_mbrtowc_l_28wchar_t__2c_20char_20const__2c_20unsigned_20long_2c_20__mbstate_t__2c_20__locale_struct__29($5, $2, 1, $1, HEAP32[$0 + 8 >> 2])) { + break label$10; + } + } + $8 = 2; + break label$6; + } + HEAP32[$7 >> 2] = HEAP32[$7 >> 2] + 4; + $2 = HEAP32[$4 >> 2] + 1 | 0; + HEAP32[$4 >> 2] = $2; + $8 = $2; + while (1) { + if (($3 | 0) == ($8 | 0)) { + $8 = $3; + break label$5; + } + if (!HEAPU8[$8 | 0]) { + break label$5; + } + $8 = $8 + 1 | 0; + continue; + } + } + HEAP32[$4 >> 2] = $2; + $8 = 1; + break label$6; + } + $2 = HEAP32[$4 >> 2]; + } + $8 = ($2 | 0) != ($3 | 0); } - default: - {} - } - i4 = i4 + 1 | 0; - } - i2 = i6 + i4 | 0; - i3 = (_strlen(i7) | 0) + 2 | 0; - if (!i1) if ((i3 + i4 | 0) > (i5 | 0)) i1 = -1; else { - HEAP8[i2 >> 0] = 46; - i1 = i4; - i8 = 9; - } else if ((i3 + i1 | 0) > (i5 | 0)) i1 = -1; else i8 = 9; - if ((i8 | 0) == 9) { - HEAP8[i6 + (i1 + 1) >> 0] = 0; - _strcat(i6, i7) | 0; - i1 = 0; - } - return i1 | 0; -} - -function __ZN6vision9MaxIndex9IfEEiPKT_(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = +HEAPF32[i1 + 4 >> 2] > +HEAPF32[i1 >> 2] & 1; - i2 = +HEAPF32[i1 + 8 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 2 : i2; - i2 = +HEAPF32[i1 + 12 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 3 : i2; - i2 = +HEAPF32[i1 + 16 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 4 : i2; - i2 = +HEAPF32[i1 + 20 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 5 : i2; - i2 = +HEAPF32[i1 + 24 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 6 : i2; - i2 = +HEAPF32[i1 + 28 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 7 : i2; - return (+HEAPF32[i1 + 32 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 8 : i2) | 0; -} - -function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8allocateEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - if ((__ZNKSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8max_sizeEv(i1) | 0) >>> 0 < i2 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); - if (i2 >>> 0 > 357913941) { - i2 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i2, 40521); - HEAP32[i2 >> 2] = 17440; - ___cxa_throw(i2 | 0, 13288, 107); - } else { - i3 = __Znwm(i2 * 12 | 0) | 0; - HEAP32[i1 + 4 >> 2] = i3; - HEAP32[i1 >> 2] = i3; - HEAP32[i1 + 8 >> 2] = i3 + (i2 * 12 | 0); - return; + __stack_pointer = $9 + 16 | 0; + return $8 | 0; + } + $5 = HEAP32[$7 >> 2]; + continue; } } -function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEEC2EmmS3_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 1073741823) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 << 2) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 2) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 2); - return; -} - -function __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEEC2EmmS3_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if (i3 >>> 0 > 1073741823) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 << 2) | 0; +function jpeg_idct_7x7($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0; + $18 = __stack_pointer - 208 | 0; + __stack_pointer = $18; + $20 = HEAP32[$0 + 336 >> 2]; + $0 = HEAP32[$1 + 84 >> 2]; + $1 = $18; + while (1) { + $6 = HEAP32[$0 + 160 >> 2]; + $10 = HEAP16[$2 + 80 >> 1]; + $11 = HEAP32[$0 + 32 >> 2]; + $15 = HEAP16[$2 + 16 >> 1]; + $9 = HEAP32[$0 + 96 >> 2]; + $19 = HEAP16[$2 + 48 >> 1]; + $12 = Math_imul(HEAP16[$2 >> 1], HEAP32[$0 >> 2]) << 13 | 1024; + $7 = Math_imul(HEAP32[$0 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $5 = Math_imul(HEAP32[$0 + 192 >> 2], HEAP16[$2 + 96 >> 1]); + $8 = Math_imul(HEAP32[$0 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $13 = $5 + $8 | 0; + HEAP32[$1 + 84 >> 2] = $12 + Math_imul($7 - $13 | 0, 11585) >> 11; + $13 = Math_imul($13, 10438) + $12 | 0; + $17 = Math_imul($7 - $5 | 0, 7223); + $16 = $13 + ($17 + Math_imul($5, -637) | 0) | 0; + $5 = Math_imul($6, $10); + $6 = Math_imul($11, $15); + $11 = Math_imul($5 + $6 | 0, 5027); + $10 = Math_imul($9, $19); + $15 = Math_imul($10 + $6 | 0, 7663); + $6 = Math_imul($6 - $10 | 0, 1395); + $9 = $11 + ($15 - $6 | 0) | 0; + HEAP32[$1 + 168 >> 2] = $16 - $9 >> 11; + HEAP32[$1 >> 2] = $9 + $16 >> 11; + $9 = Math_imul($8 - $7 | 0, 2578); + $8 = ($9 + Math_imul($8, -20239) | 0) + $13 | 0; + $11 = Math_imul($5, 15326) + $11 | 0; + $5 = Math_imul($5 + $10 | 0, -11295); + $10 = $11 + $5 | 0; + HEAP32[$1 + 112 >> 2] = $8 - $10 >> 11; + HEAP32[$1 + 56 >> 2] = $8 + $10 >> 11; + $7 = ((Math_imul($7, -15083) + $12 | 0) + $9 | 0) + $17 | 0; + $5 = ($6 + $15 | 0) + $5 | 0; + HEAP32[$1 + 140 >> 2] = $7 - $5 >> 11; + HEAP32[$1 + 28 >> 2] = $5 + $7 >> 11; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $2 = $2 + 2 | 0; + $14 = $14 + 1 | 0; + if (($14 | 0) != 7) { + continue; + } break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 2) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 2); - return; -} - -function __ZN6vision23DeterminantSymmetric3x3IfEET_PKS1_(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, d4 = 0.0, d5 = 0.0, d6 = 0.0, d7 = 0.0, i8 = 0; - i2 = i1 + 32 | 0; - d6 = +HEAPF32[i2 >> 2]; - i3 = i1 + 4 | 0; - d6 = d6 * +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i3 >> 2]); - d5 = +HEAPF32[i1 + 8 >> 2]; - i8 = i1 + 20 | 0; - d7 = +HEAPF32[i3 >> 2] * 2.0 * d5 * +HEAPF32[i8 >> 2]; - i3 = i1 + 16 | 0; - d4 = +HEAPF32[i3 >> 2]; - d5 = d4 * +__ZN6vision3sqrIfEET_S1_(d5); - d4 = +HEAPF32[i1 >> 2]; - d4 = d4 * +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i8 >> 2]); - return +(d7 - d6 - d5 - d4 + +HEAPF32[i1 >> 2] * +HEAPF32[i3 >> 2] * +HEAPF32[i2 >> 2]); -} - -function _gray_rgb_convert(i1, i8, i2, i3, i4) { - i1 = i1 | 0; - i8 = i8 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0, i7 = 0, i9 = 0; - i7 = HEAP32[i1 + 112 >> 2] | 0; - i1 = i4; + } + $0 = $20 - 384 | 0; + $2 = $18; + $5 = 0; while (1) { - i6 = i1 + -1 | 0; - if ((i1 | 0) <= 0) break; - i5 = HEAP32[(HEAP32[i8 >> 2] | 0) + (i2 << 2) >> 2] | 0; - i1 = 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i7 | 0)) break; - i9 = HEAP8[i5 + i1 >> 0] | 0; - HEAP8[i4 + 2 >> 0] = i9; - HEAP8[i4 + 1 >> 0] = i9; - HEAP8[i4 >> 0] = i9; - i1 = i1 + 1 | 0; - i4 = i4 + 3 | 0; - } - i2 = i2 + 1 | 0; - i3 = i3 + 4 | 0; - i1 = i6; - } - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS6_PvEEEE(i1, HEAP32[i1 + 8 >> 2] | 0); - i2 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = 0; - if (i2 | 0) __ZdlPv(i2); - return; -} - -function __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) { - i4 = i2 + 4 | 0; - i1 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i3 | 0)) break; - i5 = i1 + -24 | 0; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i5); - i1 = i5; + $7 = HEAP32[$2 + 4 >> 2]; + $8 = HEAP32[$2 + 12 >> 2]; + $14 = Math_imul($7 + $8 | 0, 7663); + $12 = HEAP32[$2 + 20 >> 2]; + $15 = Math_imul($12 + $7 | 0, 5027); + $11 = Math_imul($7 - $8 | 0, 1395); + $9 = $15 + ($14 - $11 | 0) | 0; + $7 = HEAP32[$2 + 16 >> 2]; + $6 = HEAP32[$2 + 24 >> 2]; + $19 = Math_imul($7 - $6 | 0, 7223); + $10 = HEAP32[$2 + 8 >> 2]; + $13 = $10 + $6 | 0; + $1 = HEAP32[($5 << 2) + $3 >> 2] + $4 | 0; + $16 = $19 + Math_imul($6, -637) | 0; + $6 = (HEAP32[$2 >> 2] << 13) + 134348800 | 0; + $17 = $6 + Math_imul($13, 10438) | 0; + $16 = $16 + $17 | 0; + HEAP8[$1 | 0] = HEAPU8[($16 + $9 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 6 | 0] = HEAPU8[($16 - $9 >>> 18 & 1023) + $0 | 0]; + $8 = Math_imul($8 + $12 | 0, -11295); + $14 = $8 + ($11 + $14 | 0) | 0; + $11 = Math_imul($10 - $7 | 0, 2578); + $9 = ($11 + (Math_imul($7, -15083) + $6 | 0) | 0) + $19 | 0; + HEAP8[$1 + 1 | 0] = HEAPU8[($14 + $9 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 5 | 0] = HEAPU8[($9 - $14 >>> 18 & 1023) + $0 | 0]; + $8 = (Math_imul($12, 15326) + $15 | 0) + $8 | 0; + $12 = (Math_imul($10, -20239) + $11 | 0) + $17 | 0; + HEAP8[$1 + 2 | 0] = HEAPU8[($8 + $12 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 4 | 0] = HEAPU8[($12 - $8 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 3 | 0] = HEAPU8[(Math_imul($7 - $13 | 0, 11585) + $6 >>> 18 & 1023) + $0 | 0]; + $2 = $2 + 28 | 0; + $5 = $5 + 1 | 0; + if (($5 | 0) != 7) { + continue; } - HEAP32[i4 >> 2] = i3; - i5 = HEAP32[i2 >> 2] | 0; - __ZN10__cxxabiv112_GLOBAL__N_111short_allocINS0_11string_pairELm4096EE10deallocateEPS2_m(i2 + 12 | 0, i5, ((HEAP32[i2 + 8 >> 2] | 0) - i5 | 0) / 24 | 0); + break; } - return; + __stack_pointer = $18 + 208 | 0; } -function __ZNSt3__211__stdoutbufIwE6xsputnEPKwl(i3, i2, i4) { - i3 = i3 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i1 = 0, i5 = 0, i6 = 0; - L1 : do if (!(HEAP8[i3 + 44 >> 0] | 0)) { - i1 = 0; - while (1) { - if ((i1 | 0) >= (i4 | 0)) break L1; - i6 = HEAP32[(HEAP32[i3 >> 2] | 0) + 52 >> 2] | 0; - i5 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i2 >> 2] | 0) | 0; - i5 = FUNCTION_TABLE_iii[i6 & 63](i3, i5) | 0; - if ((i5 | 0) == (__ZNSt3__211char_traitsIwE3eofEv() | 0)) break L1; - i1 = i1 + 1 | 0; - i2 = i2 + 4 | 0; - } - } else i1 = _fwrite(i2, 4, i4, HEAP32[i3 + 32 >> 2] | 0) | 0; while (0); - return i1 | 0; -} - -function __ZNSt3__211__stdoutbufIcE6xsputnEPKcl(i3, i2, i4) { - i3 = i3 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i1 = 0, i5 = 0, i6 = 0; - L1 : do if (!(HEAP8[i3 + 44 >> 0] | 0)) { - i1 = 0; - while (1) { - if ((i1 | 0) >= (i4 | 0)) break L1; - i6 = HEAP32[(HEAP32[i3 >> 2] | 0) + 52 >> 2] | 0; - i5 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i2 >> 0] | 0) | 0; - i5 = FUNCTION_TABLE_iii[i6 & 63](i3, i5) | 0; - if ((i5 | 0) == (__ZNSt3__211char_traitsIcE3eofEv() | 0)) break L1; - i1 = i1 + 1 | 0; - i2 = i2 + 1 | 0; - } - } else i1 = _fwrite(i2, 1, i4, HEAP32[i3 + 32 >> 2] | 0) | 0; while (0); - return i1 | 0; -} - -function _make_odither_array(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0; - i5 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i1 + 4 >> 2] >> 2] & 63](i1, 1, 1024) | 0; - i4 = (i2 << 9) + -512 | 0; - i2 = 0; - while (1) { - if ((i2 | 0) == 16) break; - i3 = 0; - while (1) { - if ((i3 | 0) == 16) break; - i6 = 255 - ((HEAPU8[3200 + (i2 << 4) + i3 >> 0] | 0) << 1) | 0; - i1 = i6 * 255 | 0; - if ((i6 | 0) < 0) i1 = 0 - ((0 - i1 | 0) / (i4 | 0) | 0) | 0; else i1 = (i1 | 0) / (i4 | 0) | 0; - HEAP32[i5 + (i2 << 6) + (i3 << 2) >> 2] = i1; - i3 = i3 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - return i5 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2EOS1_(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0; - HEAP32[i2 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i3 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i3 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i3 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i1 = i2 + 12 | 0; - i2 = i3 + 12 | 0; - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i2 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i2 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function _CENTER(i1, i5) { - i1 = i1 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0; - i6 = HEAP32[i1 + 4 >> 2] | 0; - i7 = HEAP32[i1 + 8 >> 2] | 0; - L1 : do if ((HEAP32[i5 + 4 >> 2] | 0) == (i7 | 0)) { - i4 = 0; - i1 = HEAP32[i1 >> 2] | 0; - while (1) { - if ((i4 | 0) >= (i6 | 0)) { - i1 = 0; - break L1; +function vision__BinomialPyramid32f__apply_filter_28vision__Image__2c_20vision__Image_20const__29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + if ((vision__Image__type_28_29_20const($1) | 0) == 2) { + label$2: { + label$3: { + switch (vision__Image__type_28_29_20const($2) | 0) { + case 2: + vision__binomial_4th_order_28float__2c_20float__2c_20float_20const__2c_20unsigned_20long_2c_20unsigned_20long_29(vision__Image__get_28_29($1), std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($0 + 44 | 0, 0), vision__Image__get_28_29_20const($2), vision__Image__width_28_29_20const($2), vision__Image__height_28_29_20const($2)); + break label$2; + + case 0: + __cxa_throw(vision__Exception__Exception_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29(__cxa_allocate_exception(16) | 0, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($3, 14854)) | 0, 26576, 17); + abort(); + + default: + __cxa_throw(vision__Exception__Exception_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29(__cxa_allocate_exception(16) | 0, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($3, 15484)) | 0, 26576, 17); + abort(); + + case 1: + break label$3; + } } - i2 = 0; - i3 = HEAP32[i5 >> 2] | 0; - while (1) { - if ((i2 | 0) >= (i7 | 0)) break; - HEAPF64[i1 >> 3] = +HEAPF64[i1 >> 3] - +HEAPF64[i3 >> 3]; - i2 = i2 + 1 | 0; - i3 = i3 + 8 | 0; - i1 = i1 + 8 | 0; - } - i4 = i4 + 1 | 0; - } - } else i1 = -1; while (0); - return i1 | 0; -} - -function __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE8allocateEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - if ((__ZNKSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE8max_sizeEv(i1) | 0) >>> 0 < i2 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); - if (i2 >>> 0 > 536870911) { - i2 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i2, 40521); - HEAP32[i2 >> 2] = 17440; - ___cxa_throw(i2 | 0, 13288, 107); - } else { - i3 = __Znwm(i2 << 3) | 0; - HEAP32[i1 + 4 >> 2] = i3; - HEAP32[i1 >> 2] = i3; - HEAP32[i1 + 8 >> 2] = i3 + (i2 << 3); + vision__binomial_4th_order_28float__2c_20unsigned_20short__2c_20unsigned_20char_20const__2c_20unsigned_20long_2c_20unsigned_20long_29(vision__Image__get_28_29($1), std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____operator_5b_5d_28unsigned_20long_29($0 + 32 | 0, 0), vision__Image__get_28_29_20const($2), vision__Image__width_28_29_20const($2), vision__Image__height_28_29_20const($2)); + } + __stack_pointer = $3 + 16 | 0; return; } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 13865), 2354), 3289), 357), 3786), 14417), 16); + abort(); + abort(); } -function __ZNSt3__210shared_ptrIhEC2IhEEPT_NS_9enable_ifIXsr14is_convertibleIS4_PhEE5valueENS1_5__natEE4typeE(i2, i3, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i1 = i1 | 0; - var i4 = 0, i5 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i1; - HEAP32[i2 >> 2] = i3; - i5 = __Znwm(16) | 0; - HEAP32[i5 + 4 >> 2] = 0; - HEAP32[i5 + 8 >> 2] = 0; - HEAP32[i5 >> 2] = 13576; - HEAP32[i5 + 12 >> 2] = i3; - HEAP32[i2 + 4 >> 2] = i5; - HEAP32[i4 >> 2] = i3; - HEAP32[i4 + 4 >> 2] = i3; - __ZNSt3__210shared_ptrIhE18__enable_weak_thisEz(i2, i4); - STACKTOP = i1; - return; -} - -function _kpmUtilResizeImage(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - switch (i4 | 0) { - case 1: - { - i1 = __ZL14genBWImageFullPhiiPiS0_(i1, i2, i3, i5, i6) | 0; - break; - } - case 5: - { - i1 = __ZL18genBWImageTwoThirdPhiiPiS0_(i1, i2, i3, i5, i6) | 0; - break; - } - case 2: - { - i1 = __ZL14genBWImageHalfPhiiPiS0_(i1, i2, i3, i5, i6) | 0; - break; - } - case 4: - { - i1 = __ZL18genBWImageOneThirdPhiiPiS0_(i1, i2, i3, i5, i6) | 0; - break; - } - default: - i1 = __ZL15genBWImageQuartPhiiPiS0_(i1, i2, i3, i5, i6) | 0; - } - return i1 | 0; -} - -function __ZNSt3__214__split_bufferItRNS_9allocatorItEEEC2EmmS3_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - do if (i3) if ((i3 | 0) < 0) { - i5 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i5, 40521); - HEAP32[i5 >> 2] = 17440; - ___cxa_throw(i5 | 0, 13288, 107); - } else { - i1 = __Znwm(i3 << 1) | 0; - break; - } else i1 = 0; while (0); - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 1) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 1); - return; -} - -function _jinit_inverse_dct(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i4 = i3 + 4 | 0; - i6 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i4 >> 2] >> 2] & 63](i3, 1, 84) | 0; - HEAP32[i3 + 448 >> 2] = i6; - HEAP32[i6 >> 2] = 128; - i5 = i3 + 36 | 0; - i6 = i6 + 44 | 0; - i1 = HEAP32[i3 + 216 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (HEAP32[i5 >> 2] | 0)) break; - i7 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i4 >> 2] >> 2] & 63](i3, 1, 256) | 0; - HEAP32[i1 + 80 >> 2] = i7; - _memset(i7 | 0, 0, 256) | 0; - HEAP32[i6 + (i2 << 2) >> 2] = -1; - i1 = i1 + 84 | 0; - i2 = i2 + 1 | 0; - } - return; -} - -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6resizeEm(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0; - i6 = i2 + 4 | 0; - i1 = HEAP32[i6 >> 2] | 0; - i5 = HEAP32[i2 >> 2] | 0; - i4 = (i1 - i5 | 0) / 20 | 0; - if (i4 >>> 0 >= i3 >>> 0) { - if (i4 >>> 0 > i3 >>> 0) { - i2 = i5 + (i3 * 20 | 0) | 0; +function std____2__utf16_to_utf8_28unsigned_20short_20const__2c_20unsigned_20short_20const__2c_20unsigned_20short_20const___2c_20unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char___2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0; + HEAP32[$2 >> 2] = $0; + HEAP32[$5 >> 2] = $3; + label$1: { + if ($7 & 2) { + $7 = 1; + if (($4 - $3 | 0) < 3) { + break label$1; + } + HEAP32[$5 >> 2] = $3 + 1; + HEAP8[$3 | 0] = 239; + $3 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $3 + 1; + HEAP8[$3 | 0] = 187; + $3 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $3 + 1; + HEAP8[$3 | 0] = 191; + } + $0 = HEAP32[$2 >> 2]; + label$3: { while (1) { - if ((i1 | 0) == (i2 | 0)) break; - i5 = i1 + -20 | 0; - __ZN6vision12FeaturePointD2Ev(i5); - i1 = i5; - } - HEAP32[i6 >> 2] = i2; - } - } else __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8__appendEm(i2, i3 - i4 | 0); - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS4_PvEEEE(i1, HEAP32[i1 + 8 >> 2] | 0); - i2 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = 0; - if (i2 | 0) __ZdlPv(i2); - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ENSt3__212basic_stringIcNS2_11char_traitsIcEENS0_12malloc_allocIcEEEE(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0; - HEAP32[i2 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i2 + 4 >> 2] = HEAP32[i3 + 4 >> 2]; - HEAP32[i2 + 8 >> 2] = HEAP32[i3 + 8 >> 2]; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i3 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i2 = i2 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function _pad_734(i5, i2, i3, i4, i1) { - i5 = i5 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i6 = 0, i7 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(256); - i6 = i7; - if ((i3 | 0) > (i4 | 0) & (i1 & 73728 | 0) == 0) { - i1 = i3 - i4 | 0; - _memset(i6 | 0, i2 << 24 >> 24 | 0, (i1 >>> 0 < 256 ? i1 : 256) | 0) | 0; - if (i1 >>> 0 > 255) { - i2 = i3 - i4 | 0; - do { - _out_728(i5, i6, 256); - i1 = i1 + -256 | 0; - } while (i1 >>> 0 > 255); - i1 = i2 & 255; - } - _out_728(i5, i6, i1); - } - STACKTOP = i7; - return; -} - -function __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(i1, i3, i4, i5) { - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i2 = 0; - i1 = i3 + 16 | 0; - i2 = HEAP32[i1 >> 2] | 0; - do if (i2) { - if ((i2 | 0) != (i4 | 0)) { - i5 = i3 + 36 | 0; - HEAP32[i5 >> 2] = (HEAP32[i5 >> 2] | 0) + 1; - HEAP32[i3 + 24 >> 2] = 2; - HEAP8[i3 + 54 >> 0] = 1; - break; + if ($0 >>> 0 >= $1 >>> 0) { + $7 = 0; + break label$1; + } + $7 = 2; + $3 = HEAPU16[$0 >> 1]; + if ($6 >>> 0 < $3 >>> 0) { + break label$1; + } + label$6: { + label$7: { + if ($3 >>> 0 <= 127) { + $7 = 1; + $0 = HEAP32[$5 >> 2]; + if (($4 - $0 | 0) <= 0) { + break label$1; + } + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3; + break label$7; + } + if ($3 >>> 0 <= 2047) { + $0 = HEAP32[$5 >> 2]; + if (($4 - $0 | 0) < 2) { + break label$3; + } + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 >>> 6 | 192; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 & 63 | 128; + break label$7; + } + if ($3 >>> 0 <= 55295) { + $0 = HEAP32[$5 >> 2]; + if (($4 - $0 | 0) < 3) { + break label$3; + } + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 >>> 12 | 224; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 >>> 6 & 63 | 128; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 & 63 | 128; + break label$7; + } + if ($3 >>> 0 <= 56319) { + $7 = 1; + if (($1 - $0 | 0) < 4) { + break label$1; + } + $8 = HEAPU16[$0 + 2 >> 1]; + if (($8 & 64512) != 56320) { + break label$6; + } + if (($4 - HEAP32[$5 >> 2] | 0) < 4) { + break label$1; + } + $7 = $3 & 960; + if (($8 & 1023 | ($3 << 10 & 64512 | $7 << 10)) + 65536 >>> 0 > $6 >>> 0) { + break label$6; + } + HEAP32[$2 >> 2] = $0 + 2; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + $7 = ($7 >>> 6 | 0) + 1 | 0; + HEAP8[$0 | 0] = $7 >>> 2 | 240; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $7 << 4 & 48 | $3 >>> 2 & 15 | 128; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $8 >>> 6 & 15 | $3 << 4 & 48 | 128; + $3 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $3 + 1; + HEAP8[$3 | 0] = $8 & 63 | 128; + break label$7; + } + if ($3 >>> 0 < 57344) { + break label$1; + } + $0 = HEAP32[$5 >> 2]; + if (($4 - $0 | 0) < 3) { + break label$3; + } + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 >>> 12 | 224; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 >>> 6 & 63 | 128; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 & 63 | 128; + } + $0 = HEAP32[$2 >> 2] + 2 | 0; + HEAP32[$2 >> 2] = $0; + continue; + } + break; + } + return 2; } - i1 = i3 + 24 | 0; - if ((HEAP32[i1 >> 2] | 0) == 2) HEAP32[i1 >> 2] = i5; - } else { - HEAP32[i1 >> 2] = i4; - HEAP32[i3 + 24 >> 2] = i5; - HEAP32[i3 + 36 >> 2] = 1; - } while (0); - return; -} - -function __ZNSt3__214__split_bufferINS_6vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEERNS5_IS7_Lm4096EEEEC2EmmS9_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - if (!i3) i1 = 0; else i1 = __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS0_11string_pairENS1_IS4_Lm4096EEEEELm4096EE8allocateEm(i1, i3) | 0; - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 << 4) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 << 4); - return; -} - -function __ZNSt3__214__split_bufferIN10__cxxabiv112_GLOBAL__N_111string_pairERNS2_11short_allocIS3_Lm4096EEEED2Ev(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0; - i1 = HEAP32[i4 + 4 >> 2] | 0; - i2 = i4 + 8 | 0; - while (1) { - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) == (i1 | 0)) break; - i3 = i3 + -24 | 0; - HEAP32[i2 >> 2] = i3; - __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i3); + return 1; } - i1 = HEAP32[i4 >> 2] | 0; - if (i1 | 0) __ZN10__cxxabiv112_GLOBAL__N_111short_allocINS0_11string_pairELm4096EE10deallocateEPS2_m(HEAP32[i4 + 16 >> 2] | 0, i1, ((HEAP32[i4 + 12 >> 2] | 0) - i1 | 0) / 24 | 0); - return; + return $7; } -function __ZNSt3__2L11init_wam_pmEv() { - var i1 = 0, i2 = 0; - if ((HEAP8[55624] | 0) == 0 ? ___cxa_guard_acquire(55624) | 0 : 0) { - i2 = 54480; - do { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i2 = i2 + 12 | 0; - } while ((i2 | 0) != 54768); - } - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54480, 15352) | 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(54492, 15364) | 0; - return; -} - -function __ZNSt3__29__num_getIwE17__stage2_int_prepERNS_8ios_baseERw(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i4; - __ZNKSt3__28ios_base6getlocEv(i5, i2); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i5, 57956) | 0; - i6 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] & 127](i2) | 0; - HEAP32[i3 >> 2] = i6; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i1, i2); - __ZNSt3__26localeD2Ev(i5); - STACKTOP = i4; - return; -} - -function __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEEC2EmmS6_(i3, i4, i5, i1) { - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i1 = i1 | 0; - var i2 = 0, i6 = 0; - i6 = i3 + 12 | 0; - HEAP32[i6 >> 2] = 0; - HEAP32[i3 + 16 >> 2] = i1; - do if (i4) { - i2 = i1 + 112 | 0; - if (i4 >>> 0 < 29 & (HEAP8[i2 >> 0] | 0) == 0) { - HEAP8[i2 >> 0] = 1; - break; - } else { - i1 = __Znwm(i4 << 2) | 0; - break; - } - } else i1 = 0; while (0); - HEAP32[i3 >> 2] = i1; - i5 = i1 + (i5 << 2) | 0; - HEAP32[i3 + 8 >> 2] = i5; - HEAP32[i3 + 4 >> 2] = i5; - HEAP32[i6 >> 2] = i1 + (i4 << 2); - return; -} +function start_pass_1_quant($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, $10 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = HEAP32[$0 + 484 >> 2]; + HEAP32[$0 + 136 >> 2] = HEAP32[$3 + 16 >> 2]; + HEAP32[$0 + 132 >> 2] = HEAP32[$3 + 20 >> 2]; + label$1: { + label$2: { + switch (HEAP32[$0 + 88 >> 2]) { + case 0: + if (HEAP32[$0 + 120 >> 2] == 3) { + HEAP32[$3 + 4 >> 2] = 220; + return; + } + HEAP32[$3 + 4 >> 2] = 221; + return; -function __ZNSt3__2L10init_am_pmEv() { - var i1 = 0, i2 = 0; - if ((HEAP8[55544] | 0) == 0 ? ___cxa_guard_acquire(55544) | 0 : 0) { - i2 = 53728; - do { - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i2 = i2 + 12 | 0; - } while ((i2 | 0) != 54016); - } - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(53728, 47272) | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(53740, 47275) | 0; - return; -} - -function __ZNSt3__29__num_getIcE17__stage2_int_prepERNS_8ios_baseERc(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i4; - __ZNKSt3__28ios_base6getlocEv(i5, i2); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i5, 57932) | 0; - i6 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 16 >> 2] & 127](i2) | 0; - HEAP8[i3 >> 0] = i6; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 63](i1, i2); - __ZNSt3__26localeD2Ev(i5); - STACKTOP = i4; - return; -} - -function _h2v1_upsample(i3, i1, i8, i2) { - i3 = i3 | 0; - i1 = i1 | 0; - i8 = i8 | 0; - i2 = i2 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0, i9 = 0; - i6 = HEAP32[i2 >> 2] | 0; - i7 = i3 + 312 | 0; - i5 = i3 + 112 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i7 >> 2] | 0)) break; - i3 = HEAP32[i6 + (i1 << 2) >> 2] | 0; - i4 = i3 + (HEAP32[i5 >> 2] | 0) | 0; - i2 = HEAP32[i8 + (i1 << 2) >> 2] | 0; - while (1) { - if (i3 >>> 0 >= i4 >>> 0) break; - i9 = HEAP8[i2 >> 0] | 0; - HEAP8[i3 >> 0] = i9; - HEAP8[i3 + 1 >> 0] = i9; - i2 = i2 + 1 | 0; - i3 = i3 + 2 | 0; - } - i1 = i1 + 1 | 0; - } - return; -} - -function __ZNK6vision20VisualDatabaseFacade21getQueryFeaturePointsEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i2; - __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE13queryKeyframeEv(i3, HEAP32[HEAP32[i1 >> 2] >> 2] | 0); - i1 = __ZN6vision18BinaryFeatureStore6pointsEv(__ZN6vision8KeyframeILi96EE5storeEv(HEAP32[i3 >> 2] | 0) | 0) | 0; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev(i3); - STACKTOP = i2; - return i1 | 0; -} - -function _jinit_marker_reader(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i5 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i2 + 4 >> 2] >> 2] & 63](i2, 0, 172) | 0; - HEAP32[i2 + 440 >> 2] = i5; - HEAP32[i5 >> 2] = 116; - HEAP32[i5 + 4 >> 2] = 66; - HEAP32[i5 + 8 >> 2] = 67; - HEAP32[i5 + 28 >> 2] = 68; - HEAP32[i5 + 96 >> 2] = 0; - i3 = i5 + 32 | 0; - i4 = i5 + 100 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 16) break; - HEAP32[i3 + (i1 << 2) >> 2] = 68; - HEAP32[i4 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - HEAP32[i3 >> 2] = 69; - HEAP32[i5 + 88 >> 2] = 69; - _reset_marker_reader(i2); - return; -} - -function __ZNSt3__214__num_put_base12__format_intEPcPKcbj(i1, i2, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i3 = 0; - if (i5 & 2048) { - HEAP8[i1 >> 0] = 43; - i1 = i1 + 1 | 0; - } - if (i5 & 512) { - HEAP8[i1 >> 0] = 35; - i1 = i1 + 1 | 0; - } - i3 = i1; - while (1) { - i1 = HEAP8[i2 >> 0] | 0; - if (!(i1 << 24 >> 24)) break; - HEAP8[i3 >> 0] = i1; - i2 = i2 + 1 | 0; - i3 = i3 + 1 | 0; - } - switch (i5 & 74) { - case 64: - { - i1 = 111; - break; - } - case 8: - { - i1 = i5 >>> 9 & 32 ^ 120; - break; - } - default: - i1 = i4 ? 100 : 117; - } - HEAP8[i3 >> 0] = i1; - return; -} - -function __ZN6vision18VisualDatabaseImplC2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP32[i1 + 16 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 1065353216; - i3 = __Znwm(840) | 0; - __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEEC2Ev(i3); - i2 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = i3; - if (i2 | 0) { - __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEED2Ev(i2); - __ZdlPv(i2); - } - return; -} - -function _saveSetjmp(i1, i3, i5, i4) { - i1 = i1 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - i4 = i4 | 0; - var i2 = 0; - setjmpId = setjmpId + 1 | 0; - HEAP32[i1 >> 2] = setjmpId; - while ((i2 | 0) < (i4 | 0)) { - if (!(HEAP32[i5 + (i2 << 3) >> 2] | 0)) { - HEAP32[i5 + (i2 << 3) >> 2] = setjmpId; - HEAP32[i5 + ((i2 << 3) + 4) >> 2] = i3; - HEAP32[i5 + ((i2 << 3) + 8) >> 2] = 0; - setTempRet0(i4 | 0); - return i5 | 0; - } - i2 = i2 + 1 | 0; - } - i4 = i4 * 2 | 0; - i5 = _realloc(i5 | 0, 8 * (i4 + 1 | 0) | 0) | 0; - i5 = _saveSetjmp(i1 | 0, i3 | 0, i5 | 0, i4 | 0) | 0; - setTempRet0(i4 | 0); - return i5 | 0; -} - -function _arParamObserv2IdealLTf(i5, d2, d3, i7, i8) { - i5 = i5 | 0; - d2 = +d2; - d3 = +d3; - i7 = i7 | 0; - i8 = i8 | 0; - var i1 = 0, i4 = 0, i6 = 0; - i4 = (HEAP32[i5 + 16 >> 2] | 0) + ~~(d2 + .5) | 0; - i1 = (HEAP32[i5 + 20 >> 2] | 0) + ~~(d3 + .5) | 0; - if (((i4 | 0) >= 0 ? (i6 = HEAP32[i5 + 8 >> 2] | 0, !((i1 | 0) < 0 | (i4 | 0) >= (i6 | 0))) : 0) ? (i1 | 0) < (HEAP32[i5 + 12 >> 2] | 0) : 0) { - i1 = (HEAP32[i5 + 4 >> 2] | 0) + ((Math_imul(i6, i1) | 0) + i4 << 1 << 2) | 0; - HEAP32[i7 >> 2] = HEAP32[i1 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i1 + 4 >> 2]; - i1 = 0; - } else i1 = -1; - return i1 | 0; -} - -function __ZNKSt3__27collateIcE10do_compareEPKcS3_S3_S3_(i1, i3, i5, i2, i6) { - i1 = i1 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - i6 = i6 | 0; - var i4 = 0, i7 = 0; - i1 = i3; - while (1) { - if ((i2 | 0) == (i6 | 0)) { - i7 = 7; - break; - } - if ((i1 | 0) == (i5 | 0)) { - i1 = -1; - break; + case 1: + $2 = HEAP32[$0 + 120 >> 2]; + HEAP32[$3 + 48 >> 2] = 0; + HEAP32[$3 + 4 >> 2] = ($2 | 0) == 3 ? 222 : 223; + if (!HEAP32[$3 + 28 >> 2]) { + create_colorindex($0); + } + if (HEAP32[$3 + 52 >> 2]) { + break label$1; + } + $4 = HEAP32[$0 + 120 >> 2]; + if (($4 | 0) <= 0) { + break label$1; + } + $7 = HEAP32[$0 + 484 >> 2]; + while (1) { + $8 = ($5 << 2) + $7 | 0; + $3 = HEAP32[$8 + 32 >> 2]; + $2 = 0; + label$9: { + label$10: { + if (!$5) { + break label$10; + } + while (1) { + $1 = ($2 << 2) + $7 | 0; + if (HEAP32[$1 + 32 >> 2] != ($3 | 0)) { + $2 = $2 + 1 | 0; + if (($5 | 0) != ($2 | 0)) { + continue; + } + break label$10; + } + break; + } + $6 = HEAP32[$1 + 52 >> 2]; + if ($6) { + break label$9; + } + } + $9 = ($3 << 9) - 512 | 0; + $3 = 0; + $6 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0; + while (1) { + $2 = 0; + while (1) { + $1 = HEAP8[(($3 << 4) + $2 | 0) + 42688 | 0]; + $4 = Math_imul($1 & 255, -510); + $10 = (($3 << 6) + $6 | 0) + ($2 << 2) | 0; + if (($1 | 0) < 0) { + $1 = 0 - ((-65025 - $4 | 0) / ($9 | 0) | 0) | 0; + } else { + $1 = ($4 + 65025 | 0) / ($9 | 0) | 0; + } + HEAP32[$10 >> 2] = $1; + $2 = $2 + 1 | 0; + if (($2 | 0) != 16) { + continue; + } + break; + } + $3 = $3 + 1 | 0; + if (($3 | 0) != 16) { + continue; + } + break; + } + $4 = HEAP32[$0 + 120 >> 2]; + } + HEAP32[$8 + 52 >> 2] = $6; + $5 = $5 + 1 | 0; + if (($5 | 0) < ($4 | 0)) { + continue; + } + break; + } + ; + break label$1; + + case 2: + HEAP32[$3 + 84 >> 2] = 0; + HEAP32[$3 + 4 >> 2] = 224; + label$17: { + if (HEAP32[$3 + 68 >> 2]) { + $1 = HEAP32[$0 + 120 >> 2]; + break label$17; + } + if (HEAP32[$0 + 120 >> 2] <= 0) { + break label$1; + } + $4 = (HEAP32[$0 + 112 >> 2] << 1) + 4 | 0; + while (1) { + wasm2js_i32$0 = ($2 << 2) + $3 | 0, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 4 >> 2]]($0, 1, $4) | 0, + HEAP32[wasm2js_i32$0 + 68 >> 2] = wasm2js_i32$1; + $2 = $2 + 1 | 0; + $1 = HEAP32[$0 + 120 >> 2]; + if (($2 | 0) < ($1 | 0)) { + continue; + } + break; + } + } + if (($1 | 0) <= 0) { + break label$1; + } + $1 = (HEAP32[$0 + 112 >> 2] << 1) + 4 | 0; + $2 = 0; + while (1) { + memset(HEAP32[(($2 << 2) + $3 | 0) + 68 >> 2], 0, $1); + $2 = $2 + 1 | 0; + if (($2 | 0) < HEAP32[$0 + 120 >> 2]) { + continue; + } + break; + } + ; + break label$1; + + default: + break label$2; + } } - i3 = HEAP8[i1 >> 0] | 0; - i4 = HEAP8[i2 >> 0] | 0; - if (i3 << 24 >> 24 < i4 << 24 >> 24) { - i1 = -1; - break; + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 49; + FUNCTION_TABLE[HEAP32[$2 >> 2]]($0); + } +} + +function std____2__utf8_to_ucs4_28unsigned_20char_20const__2c_20unsigned_20char_20const__2c_20unsigned_20char_20const___2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int___2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + HEAP32[$2 >> 2] = $0; + HEAP32[$5 >> 2] = $3; + label$1: { + if (!($7 & 4)) { + break label$1; } - if (i4 << 24 >> 24 < i3 << 24 >> 24) { - i1 = 1; - break; + $0 = HEAP32[$2 >> 2]; + if (($1 - $0 | 0) < 3 | HEAPU8[$0 | 0] != 239 | (HEAPU8[$0 + 1 | 0] != 187 | HEAPU8[$0 + 2 | 0] != 191)) { + break label$1; } - i2 = i2 + 1 | 0; - i1 = i1 + 1 | 0; - } - if ((i7 | 0) == 7) i1 = (i1 | 0) != (i5 | 0) & 1; - return i1 | 0; -} - -function __ZN6vision16RobustHomographyIfE4findEPfPKfS4_iS4_i(i1, i2, i3, i4, i5, i6, i7) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - var i8 = 0; - i8 = i1 + 12 | 0; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm(i8, i5); - return __ZN6vision26PreemptiveRobustHomographyIfEEbPT_PKS1_S4_iS4_iRNSt3__26vectorIS1_NS5_9allocatorIS1_EEEERNS6_IiNS7_IiEEEERNS6_INS5_4pairIS1_iEENS7_ISF_EEEES1_iii(i2, i3, i4, i5, i6, i7, i1, i8, i1 + 24 | 0, +HEAPF32[i1 + 36 >> 2], HEAP32[i1 + 40 >> 2] | 0, HEAP32[i1 + 44 >> 2] | 0, HEAP32[i1 + 48 >> 2] | 0) | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_119parse_cv_qualifiersEPKcS2_Rj(i1, i2, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i3 = 0; - HEAP32[i4 >> 2] = 0; - if ((i1 | 0) != (i2 | 0)) { - i3 = HEAP8[i1 >> 0] | 0; - if (i3 << 24 >> 24 == 114) { - HEAP32[i4 >> 2] = 4; - i3 = i1 + 1 | 0; - i1 = i3; - i2 = 4; - i3 = HEAP8[i3 >> 0] | 0; - } else i2 = 0; - if (i3 << 24 >> 24 == 86) { - i2 = i2 | 2; - HEAP32[i4 >> 2] = i2; - i3 = i1 + 1 | 0; - i1 = i3; - i3 = HEAP8[i3 >> 0] | 0; - } - if (i3 << 24 >> 24 == 75) { - HEAP32[i4 >> 2] = i2 | 1; - i1 = i1 + 1 | 0; - } - } - return i1 | 0; -} - -function _arParamIdeal2ObservLTf(i5, d2, d3, i7, i8) { - i5 = i5 | 0; - d2 = +d2; - d3 = +d3; - i7 = i7 | 0; - i8 = i8 | 0; - var i1 = 0, i4 = 0, i6 = 0; - i4 = (HEAP32[i5 + 16 >> 2] | 0) + ~~(d2 + .5) | 0; - i1 = (HEAP32[i5 + 20 >> 2] | 0) + ~~(d3 + .5) | 0; - if (((i4 | 0) >= 0 ? (i6 = HEAP32[i5 + 8 >> 2] | 0, !((i1 | 0) < 0 | (i4 | 0) >= (i6 | 0))) : 0) ? (i1 | 0) < (HEAP32[i5 + 12 >> 2] | 0) : 0) { - i1 = (HEAP32[i5 >> 2] | 0) + ((Math_imul(i6, i1) | 0) + i4 << 1 << 2) | 0; - HEAP32[i7 >> 2] = HEAP32[i1 >> 2]; - HEAP32[i8 >> 2] = HEAP32[i1 + 4 >> 2]; - i1 = 0; - } else i1 = -1; - return i1 | 0; -} - -function __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvPT_PKS1_S4_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var d4 = 0.0, i5 = 0, d6 = 0.0, d7 = 0.0; - d7 = +HEAPF32[i3 >> 2]; - i5 = i3 + 4 | 0; - d6 = +HEAPF32[i5 >> 2]; - d4 = +HEAPF32[i2 + 32 >> 2] + (+HEAPF32[i2 + 24 >> 2] * d7 + +HEAPF32[i2 + 28 >> 2] * d6); - HEAPF32[i1 >> 2] = (+HEAPF32[i2 + 8 >> 2] + (d7 * +HEAPF32[i2 >> 2] + d6 * +HEAPF32[i2 + 4 >> 2])) / d4; - HEAPF32[i1 + 4 >> 2] = (+HEAPF32[i2 + 20 >> 2] + (+HEAPF32[i2 + 12 >> 2] * +HEAPF32[i3 >> 2] + +HEAPF32[i2 + 16 >> 2] * +HEAPF32[i5 >> 2])) / d4; - return; -} - -function __ZN6vision25DoGScaleInvariantDetectorD2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev(i1 + 144 | 0); - __ZN6vision21OrientationAssignmentD2Ev(i1 + 92 | 0); - __ZNSt3__213__vector_baseIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEED2Ev(i1 + 72 | 0); - __ZNSt3__213__vector_baseIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEED2Ev(i1 + 60 | 0); - __ZN6vision10DoGPyramidD2Ev(i1 + 32 | 0); - __ZNSt3__213__vector_baseINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEENS4_IS8_EEED2Ev(i1 + 16 | 0); - return; -} - -function __ZN10emscripten8functionIiJiiiEJEEEvPKcPFT_DpT0_EDpT1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i5 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiiEE8getCountEv(i4) | 0; - i4 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiiEE8getTypesEv(i4) | 0; - __embind_register_function(i1 | 0, i5 | 0, i4 | 0, __ZN10emscripten8internal19getGenericSignatureIJiiiiiEEEPKcv() | 0, 9, i2 | 0); - STACKTOP = i3; - return; -} - -function __ZN6vision14SampleReceptorEPKNS_25GaussianScaleSpacePyramidEffii(i1, d2, d3, i4, i5) { - i1 = i1 | 0; - d2 = +d2; - d3 = +d3; - i4 = i4 | 0; - i5 = i5 | 0; - var i6 = 0, i7 = 0, i8 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i8 = i6 + 4 | 0; - i7 = i6; - i5 = __ZNK6vision25GaussianScaleSpacePyramid3getEmm(i1, i4, i5) | 0; - __ZN6vision25bilinear_downsample_pointERfS0_ffi(i8, i7, d2, d3, i4); - d3 = +__ZN6vision14SampleReceptorERKNS_5ImageEff(i5, +HEAPF32[i8 >> 2], +HEAPF32[i7 >> 2]); - STACKTOP = i6; - return +d3; -} - -function __ZN10emscripten8functionIiJiiEJEEEvPKcPFT_DpT0_EDpT1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i5 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiEE8getCountEv(i4) | 0; - i4 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiEE8getTypesEv(i4) | 0; - __embind_register_function(i1 | 0, i5 | 0, i4 | 0, __ZN10emscripten8internal19getGenericSignatureIJiiiiEEEPKcv() | 0, 35, i2 | 0); - STACKTOP = i3; - return; -} - -function __ZN10emscripten8functionIvJiiEJEEEvPKcPFT_DpT0_EDpT1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i5 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJviiEE8getCountEv(i4) | 0; - i4 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJviiEE8getTypesEv(i4) | 0; - __embind_register_function(i1 | 0, i5 | 0, i4 | 0, __ZN10emscripten8internal19getGenericSignatureIJviiiEEEPKcv() | 0, 2, i2 | 0); - STACKTOP = i3; - return; -} - -function __ZN10emscripten8functionIvJifEJEEEvPKcPFT_DpT0_EDpT1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i5 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJvifEE8getCountEv(i4) | 0; - i4 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJvifEE8getTypesEv(i4) | 0; - __embind_register_function(i1 | 0, i5 | 0, i4 | 0, __ZN10emscripten8internal19getGenericSignatureIJviifEEEPKcv() | 0, 2, i2 | 0); - STACKTOP = i3; - return; -} - -function __ZN10emscripten8functionIvJidEJEEEvPKcPFT_DpT0_EDpT1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i5 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJvidEE8getCountEv(i4) | 0; - i4 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJvidEE8getTypesEv(i4) | 0; - __embind_register_function(i1 | 0, i5 | 0, i4 | 0, __ZN10emscripten8internal19getGenericSignatureIJviidEEEPKcv() | 0, 1, i2 | 0); - STACKTOP = i3; - return; -} - -function _arPattLoad(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i6 + 8 | 0; - i4 = i6; - i3 = _cat(i2, 0) | 0; - if (!i3) { - HEAP32[i4 >> 2] = i2; - _arLog(0, 3, 18137, i4); - i1 = ___errno_location() | 0; - i1 = _strerror(HEAP32[i1 >> 2] | 0) | 0; - HEAP32[i5 >> 2] = 58366; - HEAP32[i5 + 4 >> 2] = i1; - _arLog(0, 3, 19708, i5); - i1 = -1; - } else { - i1 = _arPattLoadFromBuffer(i1, i3) | 0; - _free(i3); - } - STACKTOP = i6; - return i1 | 0; -} - -function __ZN10emscripten8functionIvJiEJEEEvPKcPFT_DpT0_EDpT1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i5 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJviEE8getCountEv(i4) | 0; - i4 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJviEE8getTypesEv(i4) | 0; - __embind_register_function(i1 | 0, i5 | 0, i4 | 0, __ZN10emscripten8internal19getGenericSignatureIJviiEEEPKcv() | 0, 55, i2 | 0); - STACKTOP = i3; - return; -} - -function __ZN10emscripten8functionIiJiEJEEEvPKcPFT_DpT0_EDpT1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i5 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiEE8getCountEv(i4) | 0; - i4 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiEE8getTypesEv(i4) | 0; - __embind_register_function(i1 | 0, i5 | 0, i4 | 0, __ZN10emscripten8internal19getGenericSignatureIJiiiEEEPKcv() | 0, 39, i2 | 0); - STACKTOP = i3; - return; -} - -function __ZN10emscripten8functionIdJiEJEEEvPKcPFT_DpT0_EDpT1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i5 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJdiEE8getCountEv(i4) | 0; - i4 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJdiEE8getTypesEv(i4) | 0; - __embind_register_function(i1 | 0, i5 | 0, i4 | 0, __ZN10emscripten8internal19getGenericSignatureIJdiiEEEPKcv() | 0, 1, i2 | 0); - STACKTOP = i3; - return; -} - -function __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_(i1, i2, d3) { - i1 = i1 | 0; - i2 = i2 | 0; - d3 = +d3; - HEAPF32[i1 >> 2] = +HEAPF32[i2 >> 2] * d3; - HEAPF32[i1 + 4 >> 2] = +HEAPF32[i2 + 4 >> 2] * d3; - HEAPF32[i1 + 8 >> 2] = +HEAPF32[i2 + 8 >> 2] * d3; - HEAPF32[i1 + 12 >> 2] = +HEAPF32[i2 + 12 >> 2] * d3; - HEAPF32[i1 + 16 >> 2] = +HEAPF32[i2 + 16 >> 2] * d3; - HEAPF32[i1 + 20 >> 2] = +HEAPF32[i2 + 20 >> 2] * d3; - HEAPF32[i1 + 24 >> 2] = +HEAPF32[i2 + 24 >> 2] * d3; - HEAPF32[i1 + 28 >> 2] = +HEAPF32[i2 + 28 >> 2] * d3; - HEAPF32[i1 + 32 >> 2] = +HEAPF32[i2 + 32 >> 2] * d3; - return; -} - -function __ZN10emscripten8internal7InvokerIiJiiEE6invokeEPFiiiEii(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i4; - i2 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i2) | 0; - i3 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i3) | 0; - i3 = FUNCTION_TABLE_iii[i1 & 63](i2, i3) | 0; - HEAP32[i5 >> 2] = i3; - i3 = __ZN10emscripten8internal11BindingTypeIiE10toWireTypeERKi(i5) | 0; - STACKTOP = i4; - return i3 | 0; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS2_PvEEEE(i1, HEAP32[i1 + 8 >> 2] | 0); - i2 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = 0; - if (i2 | 0) __ZdlPv(i2); - return; -} - -function __ZN6vision40Homography4PointsInhomogeneousConstraintIfEEvPT_PKS1_S4_S4_S4_S4_S4_S4_S4_(i1, i2, i3, i4, i5, i6, i7, i8, i9) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i9 = i9 | 0; - __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_(i1, i2, i6); - __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_(i1 + 72 | 0, i3, i7); - __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_(i1 + 144 | 0, i4, i8); - __ZN6vision27AddHomographyPointContraintIfEEvPT_PKS1_S4_(i1 + 216 | 0, i5, i9); - return; -} - -function __ZN10emscripten8functionIiJEJEEEvPKcPFT_DpT0_EDpT1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i5 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiEE8getCountEv(i4) | 0; - i4 = __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiEE8getTypesEv(i4) | 0; - __embind_register_function(i1 | 0, i5 | 0, i4 | 0, __ZN10emscripten8internal19getGenericSignatureIJiiEEEPKcv() | 0, 89, i2 | 0); - STACKTOP = i3; - return; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE8allocateEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - if ((__ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv(i1) | 0) >>> 0 < i2 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); - if (i2 >>> 0 > 1073741823) { - i2 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i2, 40521); - HEAP32[i2 >> 2] = 17440; - ___cxa_throw(i2 | 0, 13288, 107); - } else { - i3 = __Znwm(i2 << 2) | 0; - HEAP32[i1 + 4 >> 2] = i3; - HEAP32[i1 >> 2] = i3; - HEAP32[i1 + 8 >> 2] = i3 + (i2 << 2); - return; + HEAP32[$2 >> 2] = $0 + 3; } -} + label$2: { + label$3: { + while (1) { + label$5: { + $0 = HEAP32[$2 >> 2]; + if ($1 >>> 0 <= $0 >>> 0) { + break label$5; + } + $10 = HEAP32[$5 >> 2]; + if ($10 >>> 0 >= $4 >>> 0) { + break label$5; + } + $7 = HEAP8[$0 | 0]; + $3 = $7 & 255; + label$6: { + if (($7 | 0) >= 0) { + if ($3 >>> 0 <= $6 >>> 0) { + $7 = 1; + break label$6; + } + return 2; + } + $11 = 2; + if ($7 >>> 0 < 4294967234) { + break label$3; + } + if ($7 >>> 0 <= 4294967263) { + if (($1 - $0 | 0) < 2) { + break label$2; + } + $8 = HEAPU8[$0 + 1 | 0]; + if (($8 & 192) != 128) { + break label$3; + } + $7 = 2; + $3 = $8 & 63 | $3 << 6 & 1984; + if ($6 >>> 0 >= $3 >>> 0) { + break label$6; + } + break label$3; + } + if ($7 >>> 0 <= 4294967279) { + if (($1 - $0 | 0) < 3) { + break label$2; + } + $9 = HEAPU8[$0 + 2 | 0]; + $8 = HEAPU8[$0 + 1 | 0]; + label$11: { + label$12: { + if (($3 | 0) != 237) { + if (($3 | 0) != 224) { + break label$12; + } + if (($8 & 224) == 160) { + break label$11; + } + break label$3; + } + if (($8 & 224) == 128) { + break label$11; + } + break label$3; + } + if (($8 & 192) != 128) { + break label$3; + } + } + if (($9 & 192) != 128) { + break label$3; + } + $7 = 3; + $3 = $9 & 63 | ($3 << 12 & 61440 | ($8 & 63) << 6); + if ($6 >>> 0 >= $3 >>> 0) { + break label$6; + } + break label$3; + } + if ($7 >>> 0 > 4294967284) { + break label$3; + } + if (($1 - $0 | 0) < 4) { + break label$2; + } + $12 = HEAPU8[$0 + 3 | 0]; + $9 = HEAPU8[$0 + 2 | 0]; + $8 = HEAPU8[$0 + 1 | 0]; + label$14: { + label$15: { + switch ($3 - 240 | 0) { + case 0: + if (($8 + 112 & 255) >>> 0 < 48) { + break label$14; + } + break label$3; -function __ZNSt3__26vectorIfNS_9allocatorIfEEE8allocateEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - if ((__ZNKSt3__26vectorIfNS_9allocatorIfEEE8max_sizeEv(i1) | 0) >>> 0 < i2 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); - if (i2 >>> 0 > 1073741823) { - i2 = ___cxa_allocate_exception(8) | 0; - __ZNSt11logic_errorC2EPKc(i2, 40521); - HEAP32[i2 >> 2] = 17440; - ___cxa_throw(i2 | 0, 13288, 107); - } else { - i3 = __Znwm(i2 << 2) | 0; - HEAP32[i1 + 4 >> 2] = i3; - HEAP32[i1 >> 2] = i3; - HEAP32[i1 + 8 >> 2] = i3 + (i2 << 2); - return; + case 4: + if (($8 & 240) == 128) { + break label$14; + } + break label$3; + + default: + break label$15; + } + } + if (($8 & 192) != 128) { + break label$3; + } + } + if (($9 & 192) != 128 | ($12 & 192) != 128) { + break label$3; + } + $7 = 4; + $3 = $12 & 63 | ($9 << 6 & 4032 | ($3 << 18 & 1835008 | ($8 & 63) << 12)); + if ($6 >>> 0 < $3 >>> 0) { + break label$3; + } + } + HEAP32[$10 >> 2] = $3; + HEAP32[$2 >> 2] = $0 + $7; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 4; + continue; + } + break; + } + $11 = $0 >>> 0 < $1 >>> 0; + } + return $11; } + return 1; } -function __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE6resizeEm(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0; - i6 = i2 + 4 | 0; - i1 = HEAP32[i6 >> 2] | 0; - i5 = HEAP32[i2 >> 2] | 0; - i4 = i1 - i5 >> 5; - if (i4 >>> 0 >= i3 >>> 0) { - if (i4 >>> 0 > i3 >>> 0) { - i2 = i5 + (i3 << 5) | 0; - while (1) { - if ((i1 | 0) == (i2 | 0)) break; - i5 = i1 + -32 | 0; - __ZN6vision5ImageD2Ev(i5); - i1 = i5; +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_out_28__mbstate_t__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const___2c_20char__2c_20char__2c_20char___29_20const($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 $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $10 = __stack_pointer - 16 | 0; + __stack_pointer = $10; + $8 = $2; + while (1) { + label$2: { + if (($3 | 0) == ($8 | 0)) { + $8 = $3; + break label$2; } - HEAP32[i6 >> 2] = i2; + if (!HEAP32[$8 >> 2]) { + break label$2; + } + $8 = $8 + 4 | 0; + continue; } - } else __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE8__appendEm(i2, i3 - i4 | 0); - return; + break; + } + HEAP32[$7 >> 2] = $5; + HEAP32[$4 >> 2] = $2; + while (1) { + label$5: { + label$6: { + if (!(($2 | 0) == ($3 | 0) | ($5 | 0) == ($6 | 0))) { + $9 = HEAP32[$1 + 4 >> 2]; + HEAP32[$10 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$10 + 12 >> 2] = $9; + $9 = 1; + label$8: { + label$9: { + label$10: { + label$11: { + label$12: { + $11 = std____2____libcpp_wcsnrtombs_l_28char__2c_20wchar_t_20const___2c_20unsigned_20long_2c_20unsigned_20long_2c_20__mbstate_t__2c_20__locale_struct__29($5, $4, $8 - $2 >> 2, $6 - $5 | 0, $1, HEAP32[$0 + 8 >> 2]); + switch ($11 + 1 | 0) { + case 0: + break label$12; + + case 1: + break label$6; + + default: + break label$11; + } + } + HEAP32[$7 >> 2] = $5; + while (1) { + label$14: { + if (HEAP32[$4 >> 2] == ($2 | 0)) { + break label$14; + } + $8 = std____2____libcpp_wcrtomb_l_28char__2c_20wchar_t_2c_20__mbstate_t__2c_20__locale_struct__29($5, HEAP32[$2 >> 2], $10 + 8 | 0, HEAP32[$0 + 8 >> 2]); + if (($8 | 0) == -1) { + break label$14; + } + $5 = HEAP32[$7 >> 2] + $8 | 0; + HEAP32[$7 >> 2] = $5; + $2 = $2 + 4 | 0; + continue; + } + break; + } + HEAP32[$4 >> 2] = $2; + break label$10; + } + $5 = HEAP32[$7 >> 2] + $11 | 0; + HEAP32[$7 >> 2] = $5; + if (($5 | 0) == ($6 | 0)) { + break label$8; + } + if (($3 | 0) == ($8 | 0)) { + $2 = HEAP32[$4 >> 2]; + $8 = $3; + continue; + } + $8 = std____2____libcpp_wcrtomb_l_28char__2c_20wchar_t_2c_20__mbstate_t__2c_20__locale_struct__29($10 + 4 | 0, 0, $1, HEAP32[$0 + 8 >> 2]); + if (($8 | 0) != -1) { + break label$9; + } + } + $9 = 2; + break label$6; + } + $2 = $10 + 4 | 0; + if ($6 - HEAP32[$7 >> 2] >>> 0 < $8 >>> 0) { + break label$6; + } + while (1) { + if ($8) { + $5 = HEAPU8[$2 | 0]; + $9 = HEAP32[$7 >> 2]; + HEAP32[$7 >> 2] = $9 + 1; + HEAP8[$9 | 0] = $5; + $8 = $8 - 1 | 0; + $2 = $2 + 1 | 0; + continue; + } + break; + } + $2 = HEAP32[$4 >> 2] + 4 | 0; + HEAP32[$4 >> 2] = $2; + $8 = $2; + while (1) { + if (($3 | 0) == ($8 | 0)) { + $8 = $3; + break label$5; + } + if (!HEAP32[$8 >> 2]) { + break label$5; + } + $8 = $8 + 4 | 0; + continue; + } + } + $2 = HEAP32[$4 >> 2]; + } + $9 = ($2 | 0) != ($3 | 0); + } + __stack_pointer = $10 + 16 | 0; + return $9 | 0; + } + $5 = HEAP32[$7 >> 2]; + continue; + } +} + +function $28anonymous_20namespace_29__itanium_demangle__PointerType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $2 = __stack_pointer - 96 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + $6 = HEAP32[$0 + 8 >> 2]; + if (($28anonymous_20namespace_29__itanium_demangle__Node__getKind_28_29_20const($6) | 0) == 10) { + $4 = $28anonymous_20namespace_29__itanium_demangle__ObjCProtoName__isObjCObject_28_29_20const($6); + $6 = HEAP32[$0 + 8 >> 2]; + if ($4) { + break label$2; + } + } + FUNCTION_TABLE[HEAP32[HEAP32[$6 >> 2] + 16 >> 2]]($6, $1); + if ($28anonymous_20namespace_29__itanium_demangle__Node__hasArray_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1)) { + $5 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 88 | 0, 38446); + $3 = HEAP32[$5 >> 2]; + $4 = HEAP32[$5 + 4 >> 2]; + HEAP32[$2 + 40 >> 2] = $3; + HEAP32[$2 + 44 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 40 | 0); + } + label$5: { + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasArray_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1)) { + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasFunction_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1)) { + break label$5; + } + } + $5 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 80 | 0, 37973); + $4 = HEAP32[$5 >> 2]; + $3 = HEAP32[$5 + 4 >> 2]; + HEAP32[$2 + 32 >> 2] = $4; + HEAP32[$2 + 36 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 32 | 0); + } + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 72 | 0, 37744); + break label$1; + } + $5 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 - -64 | 0, 37296); + $3 = HEAP32[$5 >> 2]; + $4 = HEAP32[$5 + 4 >> 2]; + HEAP32[$2 + 24 >> 2] = $3; + HEAP32[$2 + 28 >> 2] = $4; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 24 | 0); + $3 = HEAP32[$6 + 16 >> 2]; + $5 = $6; + $4 = HEAP32[$5 + 12 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $3; + HEAP32[$2 + 56 >> 2] = $4; + HEAP32[$2 + 60 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 16 | 0); + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 48 | 0, 37108); + } + $3 = HEAP32[$0 >> 2]; + $4 = HEAP32[$0 + 4 >> 2]; + $0 = $3; + $3 = $2; + HEAP32[$3 + 8 >> 2] = $0; + HEAP32[$3 + 12 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + __stack_pointer = $2 + 96 | 0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______grow_by_and_replace_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20char_20const__29($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $8 = __stack_pointer - 16 | 0; + __stack_pointer = $8; + $9 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____max_size_28_29_20const($0); + if ($9 + ($1 ^ -1) >>> 0 >= $2 >>> 0) { + $10 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29($0); + label$2: { + if (($9 >>> 1 | 0) - 16 >>> 0 > $1 >>> 0) { + HEAP32[$8 + 8 >> 2] = $1 << 1; + HEAP32[$8 + 12 >> 2] = $1 + $2; + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______recommend_28unsigned_20long_29(HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($8 + 12 | 0, $8 + 8 | 0) >> 2]); + break label$2; + } + $2 = $9 - 1 | 0; + } + $11 = $2 + 1 | 0; + $2 = std____2__allocator_traits_std____2__allocator_char____allocate_28std____2__allocator_char___2c_20unsigned_20long_29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0), $11); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______invalidate_all_iterators_28_29($0); + if ($4) { + std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29(char__20std____2____to_address_char__28char__29($2), char__20std____2____to_address_char__28char__29($10), $4); + } + if ($6) { + std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29(char__20std____2____to_address_char__28char__29($2) + $4 | 0, $7, $6); + } + $7 = $4 + $5 | 0; + $9 = $3 - $7 | 0; + if (($3 | 0) != ($7 | 0)) { + std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29((char__20std____2____to_address_char__28char__29($2) + $4 | 0) + $6 | 0, (char__20std____2____to_address_char__28char__29($10) + $4 | 0) + $5 | 0, $9); + } + $1 = $1 + 1 | 0; + if (($1 | 0) != 11) { + std____2__allocator_traits_std____2__allocator_char____deallocate_28std____2__allocator_char___2c_20char__2c_20unsigned_20long_29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0), $10, $1); + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_pointer_28char__29($0, $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_cap_28unsigned_20long_29($0, $11); + $4 = ($4 + $6 | 0) + $9 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_size_28unsigned_20long_29($0, $4); + HEAP8[$8 + 7 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($2 + $4 | 0, $8 + 7 | 0); + __stack_pointer = $8 + 16 | 0; + return; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______throw_length_error_28_29_20const($0); + abort(); } -function _icpCreateHandle(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0; - i1 = _malloc(136) | 0; - if (!i1) i1 = 0; else { - i2 = 0; +function std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20bool_2c_20std____2__ios_base__2c_20unsigned_20int__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29_20const($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 $7 = 0; + $0 = __stack_pointer - 160 | 0; + __stack_pointer = $0; + HEAP32[$0 + 144 >> 2] = $2; + HEAP32[$0 + 152 >> 2] = $1; + HEAP32[$0 + 20 >> 2] = 316; + $7 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0 + 24 | 0, $0 + 32 | 0, $0 + 20 | 0); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $4); + $1 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($0 + 16 | 0); + HEAP8[$0 + 15 | 0] = 0; + if (std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20bool_2c_20std____2__locale_20const__2c_20unsigned_20int_2c_20unsigned_20int__2c_20bool__2c_20std____2__ctype_char__20const__2c_20std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___2c_20char___2c_20char__29($0 + 152 | 0, $2, $3, $0 + 16 | 0, std____2__ios_base__flags_28_29_20const($4), $5, $0 + 15 | 0, $1, $7, $0 + 20 | 0, $0 + 132 | 0)) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____clear_28_29($6); + if (HEAPU8[$0 + 15 | 0]) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____push_back_28char_29($6, std____2__ctype_char___widen_28char_29_20const($1, 45)); + } + $1 = std____2__ctype_char___widen_28char_29_20const($1, 48); + $2 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($7); + $3 = HEAP32[$0 + 20 >> 2]; + $4 = $3 - 1 | 0; + $1 = $1 & 255; while (1) { - if ((i2 | 0) == 3) break; - i3 = 0; - while (1) { - if ((i3 | 0) == 4) break; - HEAPF64[i1 + (i2 << 5) + (i3 << 3) >> 3] = +HEAPF64[i4 + (i2 << 5) + (i3 << 3) >> 3]; - i3 = i3 + 1 | 0; + if (!(HEAPU8[$2 | 0] != ($1 | 0) | $2 >>> 0 >= $4 >>> 0)) { + $2 = $2 + 1 | 0; + continue; } - i2 = i2 + 1 | 0; + break; } - HEAP32[i1 + 96 >> 2] = 10; - HEAPF64[i1 + 104 >> 3] = .10000000149011612; - HEAPF64[i1 + 112 >> 3] = .9900000095367432; - HEAPF64[i1 + 120 >> 3] = 4.0; - HEAPF64[i1 + 128 >> 3] = .5; + std____2__enable_if___is_cpp17_forward_iterator_char____value_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______type_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____append_char___28char__2c_20char__29($6, $2, $3); + } + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0 + 152 | 0, $0 + 144 | 0)) { + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] | 2; } - return i1 | 0; + $2 = HEAP32[$0 + 152 >> 2]; + std____2__locale___locale_28_29($0 + 16 | 0); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($7); + __stack_pointer = $0 + 160 | 0; + return $2 | 0; } -function __ZNKSt3__27collateIwE10do_compareEPKwS3_S3_S3_(i1, i3, i5, i2, i6) { - i1 = i1 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - i6 = i6 | 0; - var i4 = 0, i7 = 0; - i1 = i3; - while (1) { - if ((i2 | 0) == (i6 | 0)) { - i7 = 7; - break; - } - if ((i1 | 0) == (i5 | 0)) { - i1 = -1; - break; - } - i3 = HEAP32[i1 >> 2] | 0; - i4 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) < (i4 | 0)) { - i1 = -1; - break; - } - if ((i4 | 0) < (i3 | 0)) { - i1 = 1; - break; - } - i2 = i2 + 4 | 0; - i1 = i1 + 4 | 0; - } - if ((i7 | 0) == 7) i1 = (i1 | 0) != (i5 | 0) & 1; - return i1 | 0; -} - -function __ZN6vision21HoughSimilarityVotingC2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP8[i1 + 16 >> 0] = 1; - i2 = i1 + 108 | 0; - i3 = i1 + 20 | 0; - i4 = i3 + 88 | 0; - do { - HEAP32[i3 >> 2] = 0; - i3 = i3 + 4 | 0; - } while ((i3 | 0) < (i4 | 0)); - HEAP32[i2 >> 2] = 1065353216; - i4 = i1 + 112 | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - HEAP32[i4 + 8 >> 2] = 0; - HEAP32[i4 + 12 >> 2] = 0; - HEAP32[i4 + 16 >> 2] = 0; - HEAP32[i4 + 20 >> 2] = 0; - return; -} - -function __ZN6vision20VisualDatabaseFacade5queryEPhmm(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i6 = i5; - __ZN6vision5ImageC2EPhNS_9ImageTypeEmmim(i6, i2, 1, i3, i4, i3, 1); - i4 = __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE5queryERKNS_5ImageE(HEAP32[HEAP32[i1 >> 2] >> 2] | 0, i6) | 0; - __ZN6vision5ImageD2Ev(i6); - STACKTOP = i5; - return i4 | 0; -} - -function _strlen(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i4 = i1; - L1 : do if (!(i4 & 3)) i3 = 5; else { - i2 = i4; - while (1) { - if (!(HEAP8[i1 >> 0] | 0)) { - i1 = i2; - break L1; - } - i1 = i1 + 1 | 0; - i2 = i1; - if (!(i2 & 3)) { - i3 = 5; - break; +function scanexp($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + $2 = HEAP32[$0 + 4 >> 2]; + label$6: { + if (($2 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $2 + 1; + $3 = HEAPU8[$2 | 0]; + break label$6; + } + $3 = __shgetc($0); + } + switch ($3 - 43 | 0) { + case 0: + case 2: + break label$5; + + default: + break label$4; + } + } + $7 = ($3 | 0) == 45; + $1 = !$1; + $2 = HEAP32[$0 + 4 >> 2]; + label$8: { + if (($2 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$8; + } + $2 = __shgetc($0); + } + $4 = $2 - 58 | 0; + if ($1 | $4 >>> 0 > 4294967285) { + break label$3; + } + if (HEAP32[$0 + 116 >> 2] < 0) { + break label$2; + } + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] - 1; + break label$2; + } + $4 = $3 - 58 | 0; + $2 = $3; + $7 = 0; } + if ($4 >>> 0 < 4294967286) { + break label$2; + } + $4 = $2 - 48 | 0; + if ($4 >>> 0 < 10) { + $3 = 0; + while (1) { + $3 = Math_imul($3, 10) + $2 | 0; + $3 = $3 - 48 | 0; + $1 = ($3 | 0) < 214748364; + $2 = HEAP32[$0 + 4 >> 2]; + label$12: { + if (($2 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$12; + } + $2 = __shgetc($0); + } + $4 = $2 - 48 | 0; + if ($1 & $4 >>> 0 <= 9) { + continue; + } + break; + } + $5 = $3 >> 31; + $6 = $3; + } + label$14: { + if ($4 >>> 0 >= 10) { + break label$14; + } + while (1) { + $6 = __wasm_i64_mul($6, $5, 10, 0); + $5 = i64toi32_i32$HIGH_BITS; + $3 = $5; + $1 = $2 + $6 | 0; + $3 = $1 >>> 0 < $6 >>> 0 ? $3 + 1 | 0 : $3; + $6 = $1 - 48 | 0; + $1 = $1 >>> 0 < 48; + $1 = $3 - $1 | 0; + $5 = $1; + $2 = HEAP32[$0 + 4 >> 2]; + label$16: { + if (($2 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$16; + } + $2 = __shgetc($0); + } + $4 = $2 - 48 | 0; + if ($4 >>> 0 > 9) { + break label$14; + } + $3 = $6; + $1 = $5; + if ($3 >>> 0 < 2061584302 & ($1 | 0) <= 21474836 | ($1 | 0) < 21474836) { + continue; + } + break; + } + } + if ($4 >>> 0 < 10) { + while (1) { + $2 = HEAP32[$0 + 4 >> 2]; + label$20: { + if (($2 | 0) != HEAP32[$0 + 104 >> 2]) { + HEAP32[$0 + 4 >> 2] = $2 + 1; + $2 = HEAPU8[$2 | 0]; + break label$20; + } + $2 = __shgetc($0); + } + if ($2 - 48 >>> 0 < 10) { + continue; + } + break; + } + } + $1 = HEAP32[$0 + 116 >> 2]; + if (($1 | 0) > 0 | ($1 | 0) >= 0) { + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] - 1; + } + $1 = $5; + $0 = 0 - ($1 + (($6 | 0) != 0) | 0) | 0; + $3 = $6; + $1 = $7; + $3 = $1 ? 0 - $3 | 0 : $3; + $6 = $3; + $5 = $1 ? $0 : $5; + break label$1; } - } while (0); - if ((i3 | 0) == 5) { - while (1) { - i2 = HEAP32[i1 >> 2] | 0; - if (!((i2 & -2139062144 ^ -2139062144) & i2 + -16843009)) i1 = i1 + 4 | 0; else break; - } - if ((i2 & 255) << 24 >> 24) do i1 = i1 + 1 | 0; while ((HEAP8[i1 >> 0] | 0) != 0); - } - return i1 - i4 | 0; -} - -function __ZNSt3__210__stdinbufIwE5imbueERKNS_6localeE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 58228) | 0; - i3 = i1 + 36 | 0; - HEAP32[i3 >> 2] = i4; - i4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 24 >> 2] & 127](i4) | 0; - i2 = i1 + 44 | 0; - HEAP32[i2 >> 2] = i4; - i3 = HEAP32[i3 >> 2] | 0; - i3 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 28 >> 2] & 127](i3) | 0) & 1; - HEAP8[i1 + 53 >> 0] = i3; - if ((HEAP32[i2 >> 2] | 0) > 8) __ZNSt3__221__throw_runtime_errorEPKc(46644); else return; -} - -function __ZNSt3__210__stdinbufIcE5imbueERKNS_6localeE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i4 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 58220) | 0; - i3 = i1 + 36 | 0; - HEAP32[i3 >> 2] = i4; - i4 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i4 >> 2] | 0) + 24 >> 2] & 127](i4) | 0; - i2 = i1 + 44 | 0; - HEAP32[i2 >> 2] = i4; - i3 = HEAP32[i3 >> 2] | 0; - i3 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i3 >> 2] | 0) + 28 >> 2] & 127](i3) | 0) & 1; - HEAP8[i1 + 53 >> 0] = i3; - if ((HEAP32[i2 >> 2] | 0) > 8) __ZNSt3__221__throw_runtime_errorEPKc(46644); else return; -} - -function __ZNK10__cxxabiv120__si_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i1, HEAP32[i2 + 8 >> 2] | 0, i6) | 0) __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0, i2, i3, i4, i5); else { - i1 = HEAP32[i1 + 8 >> 2] | 0; - FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 20 >> 2] & 7](i1, i2, i3, i4, i5, i6); - } - return; -} - -function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8allocateEm(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0; - if ((__ZNKSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8max_sizeEv(i2) | 0) >>> 0 < i3 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i2); - i1 = i2 + 128 | 0; - if (i3 >>> 0 < 29 & (HEAP8[i1 >> 0] | 0) == 0) { - HEAP8[i1 >> 0] = 1; - i1 = i2 + 16 | 0; - } else i1 = __Znwm(i3 << 2) | 0; - HEAP32[i2 + 4 >> 2] = i1; - HEAP32[i2 >> 2] = i1; - HEAP32[i2 + 8 >> 2] = i1 + (i3 << 2); - return; -} - -function __ZN6vision19QuadrilateralConvexIfEEbPKT_S3_S3_S3_(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0; - i5 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i1, i2, i3) > 0.0; - i6 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i2, i3, i4) > 0.0; - i3 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i3, i4, i1) > 0.0; - i4 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i4, i1, i2) > 0.0; - i4 = (i6 ? 1 : -1) + (i5 ? 1 : -1) + (i3 ? 1 : -1) + (i4 ? 1 : -1) | 0; - return (((i4 | 0) > -1 ? i4 : 0 - i4 | 0) | 0) == 4 | 0; -} - -function ___strerror_l(i2, i4) { - i2 = i2 | 0; - i4 = i4 | 0; - var i1 = 0, i3 = 0; - i1 = 0; - while (1) { - if ((HEAPU8[4496 + i1 >> 0] | 0) == (i2 | 0)) { - i3 = 4; - break; - } - i1 = i1 + 1 | 0; - if ((i1 | 0) == 87) { - i2 = 87; - i3 = 5; - break; + $5 = -2147483648; + $3 = HEAP32[$0 + 116 >> 2]; + if (($3 | 0) < 0) { + break label$1; } + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] - 1; + i64toi32_i32$HIGH_BITS = -2147483648; + return 0; } - if ((i3 | 0) == 4) if (!i1) i1 = 4592; else { - i2 = i1; - i3 = 5; - } - if ((i3 | 0) == 5) { - i1 = 4592; - do { - do { - i3 = i1; - i1 = i1 + 1 | 0; - } while ((HEAP8[i3 >> 0] | 0) != 0); - i2 = i2 + -1 | 0; - } while ((i2 | 0) != 0); - } - return ___lctrans(i1, HEAP32[i4 + 20 >> 2] | 0) | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - if ((HEAP8[i2 + 11 >> 0] | 0) < 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, HEAP32[i2 >> 2] | 0, HEAP32[i2 + 4 >> 2] | 0); else { - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i2 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i2 + 8 >> 2]; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_112parse_numberEPKcS2_(i2, i4) { - i2 = i2 | 0; - i4 = i4 | 0; - var i1 = 0, i3 = 0; - L1 : do if ((i2 | 0) != (i4 | 0) ? (i1 = (HEAP8[i2 >> 0] | 0) == 110 ? i2 + 1 | 0 : i2, (i1 | 0) != (i4 | 0)) : 0) { - i3 = HEAP8[i1 >> 0] | 0; - if (i3 << 24 >> 24 == 48) { - i1 = i1 + 1 | 0; + $3 = $5; + i64toi32_i32$HIGH_BITS = $3; + $1 = $6; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 33, 1, 1, 1); + HEAP32[$0 >> 2] = 71820; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP8[$0 + 7 | 0] = 2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = $2; + HEAP8[$0 + 5 | 0] = 2; + HEAP8[$0 + 6 | 0] = 2; + $1 = $0 + 8 | 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = bool_20std____2__all_of__28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda__28_28anonymous_20namespace_29__itanium_demangle__Node__29__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda__28_28anonymous_20namespace_29__itanium_demangle__Node__29_29($28anonymous_20namespace_29__itanium_demangle__NodeArray__begin_28_29_20const($1), $28anonymous_20namespace_29__itanium_demangle__NodeArray__end_28_29_20const($1)) ? 1 : 2, + HEAP8[wasm2js_i32$0 + 6 | 0] = wasm2js_i32$1; + if (bool_20std____2__all_of__28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda0__28_28anonymous_20namespace_29__itanium_demangle__Node__29__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda0__28_28anonymous_20namespace_29__itanium_demangle__Node__29_29($28anonymous_20namespace_29__itanium_demangle__NodeArray__begin_28_29_20const($1), $28anonymous_20namespace_29__itanium_demangle__NodeArray__end_28_29_20const($1))) { + HEAP8[$0 + 7 | 0] = 1; + } + if (bool_20std____2__all_of__28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda1__28_28anonymous_20namespace_29__itanium_demangle__Node__29__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda1__28_28anonymous_20namespace_29__itanium_demangle__Node__29_29($28anonymous_20namespace_29__itanium_demangle__NodeArray__begin_28_29_20const($1), $28anonymous_20namespace_29__itanium_demangle__NodeArray__end_28_29_20const($1))) { + HEAP8[$0 + 5 | 0] = 1; + } + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__IntegerLiteral__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $5 = __stack_pointer - 112 | 0; + __stack_pointer = $5; + $6 = $0 + 8 | 0; + if ($28anonymous_20namespace_29__itanium_demangle__StringView__size_28_29_20const($6) >>> 0 >= 4) { + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($5 + 104 | 0, 37973); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = $3; + $3 = $5; + HEAP32[$3 + 48 >> 2] = $2; + HEAP32[$3 + 52 >> 2] = $4; + $7 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $3 + 48 | 0); + $2 = $6; + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + $2 = $4; + $4 = $5; + HEAP32[$4 + 40 >> 2] = $2; + HEAP32[$4 + 44 >> 2] = $3; + HEAP32[$4 + 96 >> 2] = $2; + HEAP32[$4 + 100 >> 2] = $3; + $7 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($7, $4 + 40 | 0); + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 88 | 0, 37866); + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = $3; + $3 = $5; + HEAP32[$3 + 32 >> 2] = $2; + HEAP32[$3 + 36 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($7, $3 + 32 | 0); + } + $0 = $0 + 16 | 0; + label$2: { + if (HEAPU8[$28anonymous_20namespace_29__itanium_demangle__StringView__operator_5b_5d_28unsigned_20long_29_20const($0) | 0] == 110) { + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($5 + 80 | 0, 37684); + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + $2 = $4; + $4 = $5; + HEAP32[$4 + 24 >> 2] = $2; + HEAP32[$4 + 28 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $4 + 24 | 0); + $28anonymous_20namespace_29__itanium_demangle__StringView__dropFront_28unsigned_20long_29_20const($4 + 72 | 0, $0, 1); + $0 = $4 + 72 | 0; + break label$2; + } + $2 = $0; + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $0 = $3; + $3 = $5; + HEAP32[$3 + 64 >> 2] = $0; + HEAP32[$3 + 68 >> 2] = $4; + $0 = $3 - -64 | 0; + } + $2 = $0; + $4 = HEAP32[$2 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + $0 = $4; + $4 = $5; + HEAP32[$4 + 16 >> 2] = $0; + HEAP32[$4 + 20 >> 2] = $3; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $5 + 16 | 0); + if ($28anonymous_20namespace_29__itanium_demangle__StringView__size_28_29_20const($6) >>> 0 <= 3) { + $2 = $6; + $3 = HEAP32[$2 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = $3; + $3 = $5; + HEAP32[$3 + 8 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $4; + HEAP32[$3 + 56 >> 2] = $2; + HEAP32[$3 + 60 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $3 + 8 | 0); + } + __stack_pointer = $5 + 112 | 0; +} + +function std____2____num_put_wchar_t_____widen_and_group_int_28char__2c_20char__2c_20char__2c_20wchar_t__2c_20wchar_t___2c_20wchar_t___2c_20std____2__locale_20const__29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + $10 = __stack_pointer - 16 | 0; + __stack_pointer = $10; + $11 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($6); + $6 = std____2__numpunct_wchar_t__20const__20std____2__use_facet_std____2__numpunct_wchar_t___28std____2__locale_20const__29($6); + std____2__numpunct_wchar_t___grouping_28_29_20const($10, $6); + label$1: { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____empty_28_29_20const($10)) { + std____2__ctype_wchar_t___widen_28char_20const__2c_20char_20const__2c_20wchar_t__29_20const($11, $0, $2, $3); + $6 = ($2 - $0 << 2) + $3 | 0; + HEAP32[$5 >> 2] = $6; + break label$1; + } + HEAP32[$5 >> 2] = $3; + label$3: { + label$4: { + $9 = $0; + $7 = HEAPU8[$9 | 0]; + switch ($7 - 43 | 0) { + case 0: + case 2: + break label$4; + + default: + break label$3; + } + } + $7 = std____2__ctype_wchar_t___widen_28char_29_20const($11, $7 << 24 >> 24); + $8 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $8 + 4; + HEAP32[$8 >> 2] = $7; + $9 = $0 + 1 | 0; + } + if (!(HEAPU8[$9 | 0] != 48 | ($2 - $9 | 0) < 2 | (HEAPU8[$9 + 1 | 0] | 32) != 120)) { + $7 = std____2__ctype_wchar_t___widen_28char_29_20const($11, 48); + $8 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $8 + 4; + HEAP32[$8 >> 2] = $7; + $7 = std____2__ctype_wchar_t___widen_28char_29_20const($11, HEAP8[$9 + 1 | 0]); + $8 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $8 + 4; + HEAP32[$8 >> 2] = $7; + $9 = $9 + 2 | 0; + } + void_20std____2__reverse_char___28char__2c_20char__29($9, $2); + $7 = 0; + $13 = std____2__numpunct_wchar_t___thousands_sep_28_29_20const($6); + $8 = 0; + $6 = $9; + while (1) { + if ($2 >>> 0 <= $6 >>> 0) { + void_20std____2__reverse_wchar_t___28wchar_t__2c_20wchar_t__29(($9 - $0 << 2) + $3 | 0, HEAP32[$5 >> 2]); + $6 = HEAP32[$5 >> 2]; + } else { + label$9: { + if (!HEAPU8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($10, $8) | 0]) { + break label$9; + } + if (HEAP8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($10, $8) | 0] != ($7 | 0)) { + break label$9; + } + $7 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $7 + 4; + HEAP32[$7 >> 2] = $13; + $8 = (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($10) - 1 >>> 0 > $8 >>> 0) + $8 | 0; + $7 = 0; + } + $14 = std____2__ctype_wchar_t___widen_28char_29_20const($11, HEAP8[$6 | 0]); + $12 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $12 + 4; + HEAP32[$12 >> 2] = $14; + $6 = $6 + 1 | 0; + $7 = $7 + 1 | 0; + continue; + } break; } - if ((i3 + -49 & 255) < 9) do { - i1 = i1 + 1 | 0; - if ((i1 | 0) == (i4 | 0)) { - i1 = i4; - break L1; - } - } while (((HEAP8[i1 >> 0] | 0) + -48 | 0) >>> 0 < 10); else i1 = i2; - } else i1 = i2; while (0); - return i1 | 0; -} - -function __ZN6vision9MaxIndex8IfEEiPKT_(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = +HEAPF32[i1 + 4 >> 2] > +HEAPF32[i1 >> 2] & 1; - i2 = +HEAPF32[i1 + 8 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 2 : i2; - i2 = +HEAPF32[i1 + 12 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 3 : i2; - i2 = +HEAPF32[i1 + 16 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 4 : i2; - i2 = +HEAPF32[i1 + 20 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 5 : i2; - i2 = +HEAPF32[i1 + 24 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 6 : i2; - return (+HEAPF32[i1 + 28 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 7 : i2) | 0; -} - -function ___shlim(i1, i2, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i3 = 0, i5 = 0, i6 = 0, i7 = 0, i8 = 0; - i5 = i1 + 112 | 0; - HEAP32[i5 >> 2] = i2; - HEAP32[i5 + 4 >> 2] = i4; - i5 = HEAP32[i1 + 8 >> 2] | 0; - i3 = HEAP32[i1 + 4 >> 2] | 0; - i6 = i5 - i3 | 0; - i7 = ((i6 | 0) < 0) << 31 >> 31; - i8 = i1 + 120 | 0; - HEAP32[i8 >> 2] = i6; - HEAP32[i8 + 4 >> 2] = i7; - if (((i2 | 0) != 0 | (i4 | 0) != 0) & ((i7 | 0) > (i4 | 0) | (i7 | 0) == (i4 | 0) & i6 >>> 0 > i2 >>> 0)) HEAP32[i1 + 104 >> 2] = i3 + i2; else HEAP32[i1 + 104 >> 2] = i5; - return; -} - -function __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEC2EmRKS3_RKS5_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0; - HEAP32[i1 >> 2] = 0; - i4 = i1 + 4 | 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = HEAP32[i3 >> 2]; - __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE8allocateEm(i1); - __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(HEAP32[i4 >> 2] | 0, i2); - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 24; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_mmRKS6_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - i4 = HEAP8[i2 + 11 >> 0] | 0; - i5 = i4 << 24 >> 24 < 0; - i4 = i5 ? HEAP32[i2 + 4 >> 2] | 0 : i4 & 255; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i5 ? HEAP32[i2 >> 2] | 0 : i2, i4 >>> 0 < i3 >>> 0 ? i4 : i3); - return; -} - -function __ZNSt3__214__split_bufferIN10__cxxabiv112_GLOBAL__N_111string_pairERNS2_11short_allocIS3_Lm4096EEEEC2EmmS6_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - if (!i3) i1 = 0; else i1 = __ZN10__cxxabiv112_GLOBAL__N_111short_allocINS0_11string_pairELm4096EE8allocateEm(i1, i3) | 0; - HEAP32[i2 >> 2] = i1; - i4 = i1 + (i4 * 24 | 0) | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + (i3 * 24 | 0); - return; -} - -function _arVecHousehold(i2) { - i2 = i2 | 0; - var d1 = 0.0, i3 = 0, d4 = 0.0, i5 = 0, i6 = 0; - d1 = +Math_sqrt(+(+_arVecInnerproduct(i2, i2))); - L1 : do if (d1 != 0.0) { - i5 = HEAP32[i2 >> 2] | 0; - d4 = +HEAPF64[i5 >> 3]; - d1 = d4 < 0.0 ? -d1 : d1; - d4 = d4 + d1; - HEAPF64[i5 >> 3] = d4; - d4 = 1.0 / +Math_sqrt(+(d1 * d4)); - i3 = HEAP32[i2 + 4 >> 2] | 0; - i2 = 0; - while (1) { - if ((i2 | 0) >= (i3 | 0)) break L1; - i6 = i5 + (i2 << 3) | 0; - HEAPF64[i6 >> 3] = d4 * +HEAPF64[i6 >> 3]; - i2 = i2 + 1 | 0; - } - } while (0); - return +-d1; -} - -function __ZNSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE8allocateEm(i1) { - i1 = i1 | 0; - var i2 = 0; - if (!(__ZNKSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE8max_sizeEv(i1) | 0)) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i2 = __ZN10__cxxabiv112_GLOBAL__N_111short_allocINS0_11string_pairELm4096EE8allocateEm(i1 + 12 | 0, 1) | 0; - HEAP32[i1 + 4 >> 2] = i2; - HEAP32[i1 >> 2] = i2; - HEAP32[i1 + 8 >> 2] = i2 + 24; - return; } + HEAP32[$4 >> 2] = ($1 | 0) == ($2 | 0) ? $6 : ($1 - $0 << 2) + $3 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + __stack_pointer = $10 + 16 | 0; } -function __ZN6vision15get_pretty_timeEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i2 = STACKTOP; - STACKTOP = STACKTOP + 272 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(272); - i4 = i2 + 256 | 0; - i3 = i2; - _time(i4 | 0) | 0; - _strftime(i3 | 0, 256, 32719, _localtime(i4 | 0) | 0) | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i1, i3, __ZNSt3__211char_traitsIcE6lengthEPKc(i3) | 0); - STACKTOP = i2; - return; -} - -function _ar2FreeImageSet(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0; - if ((i4 | 0) != 0 ? (i1 = HEAP32[i4 >> 2] | 0, (i1 | 0) != 0) : 0) { - i3 = 0; - while (1) { - i2 = HEAP32[i1 >> 2] | 0; - if ((i3 | 0) >= (HEAP32[i1 + 4 >> 2] | 0)) break; - _free(HEAP32[HEAP32[i2 + (i3 << 2) >> 2] >> 2] | 0); - _free(HEAP32[(HEAP32[HEAP32[i4 >> 2] >> 2] | 0) + (i3 << 2) >> 2] | 0); - i3 = i3 + 1 | 0; - i1 = HEAP32[i4 >> 2] | 0; - } - _free(i2); - _free(HEAP32[i4 >> 2] | 0); - HEAP32[i4 >> 2] = 0; - i1 = 0; - } else i1 = -1; - return i1 | 0; -} - -function __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEED2Ev(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0, i5 = 0; - i1 = HEAP32[i4 + 4 >> 2] | 0; - i2 = i4 + 8 | 0; - i3 = HEAP32[i2 >> 2] | 0; +function examine_app0($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $3 = $2 + $3 | 0; + label$1: { + label$2: { + label$3: { + label$4: { + if ($2 >>> 0 >= 14) { + if (HEAPU8[$1 | 0] != 74) { + break label$3; + } + if (HEAPU8[$1 + 1 | 0] != 70 | HEAPU8[$1 + 2 | 0] != 73 | (HEAPU8[$1 + 4 | 0] | HEAPU8[$1 + 3 | 0] != 70)) { + break label$4; + } + HEAP32[$0 + 284 >> 2] = 1; + $4 = HEAPU8[$1 + 5 | 0]; + HEAP8[$0 + 288 | 0] = $4; + $5 = HEAPU8[$1 + 6 | 0]; + HEAP8[$0 + 289 | 0] = $5; + $6 = HEAPU8[$1 + 7 | 0]; + HEAP8[$0 + 290 | 0] = $6; + $2 = HEAPU8[$1 + 8 | 0] | HEAPU8[$1 + 9 | 0] << 8; + $7 = $2 << 8 | $2 >>> 8; + HEAP16[$0 + 292 >> 1] = $7; + $2 = HEAPU8[$1 + 10 | 0] | HEAPU8[$1 + 11 | 0] << 8; + $8 = $2 << 8 | $2 >>> 8; + HEAP16[$0 + 294 >> 1] = $8; + if (($4 - 1 & 255) >>> 0 >= 2) { + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = 122; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = HEAPU8[$0 + 289 | 0]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, -1); + $6 = HEAPU8[$0 + 290 | 0]; + $8 = HEAPU16[$0 + 294 >> 1]; + $7 = HEAPU16[$0 + 292 >> 1]; + $5 = HEAPU8[$0 + 289 | 0]; + $4 = HEAPU8[$0 + 288 | 0]; + } + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = 89; + HEAP32[$2 + 40 >> 2] = $6; + HEAP32[$2 + 36 >> 2] = $8 & 65535; + HEAP32[$2 + 32 >> 2] = $7 & 65535; + HEAP32[$2 + 28 >> 2] = $5; + FUNCTION_TABLE[HEAP32[$2 + 4 >> 2]]($0, 1); + $2 = HEAPU8[$1 + 13 | 0]; + $4 = HEAPU8[$1 + 12 | 0]; + if ($2 | $4) { + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 92; + HEAP32[$2 + 24 >> 2] = HEAPU8[$1 + 12 | 0]; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = HEAPU8[$1 + 13 | 0]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 1); + $4 = HEAPU8[$1 + 12 | 0]; + $2 = HEAPU8[$1 + 13 | 0]; + } + $1 = $3 - 14 | 0; + if (($1 | 0) == (Math_imul(Math_imul($2 & 255, $4), 3) | 0)) { + break label$1; + } + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = 90; + break label$2; + } + if (HEAPU8[$1 | 0] != 74 | $2 >>> 0 < 6) { + break label$3; + } + } + if (HEAPU8[$1 + 1 | 0] != 70 | HEAPU8[$1 + 2 | 0] != 88 | (HEAPU8[$1 + 4 | 0] | HEAPU8[$1 + 3 | 0] != 88)) { + break label$3; + } + label$8: { + switch (HEAPU8[$1 + 5 | 0] - 16 | 0) { + case 0: + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $3; + HEAP32[$2 + 20 >> 2] = 110; + break label$2; + + case 1: + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $3; + HEAP32[$2 + 20 >> 2] = 111; + break label$2; + + case 3: + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $3; + HEAP32[$2 + 20 >> 2] = 112; + break label$2; + + default: + break label$8; + } + } + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 91; + HEAP32[$2 + 24 >> 2] = HEAPU8[$1 + 5 | 0]; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = $3; + break label$2; + } + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $3; + HEAP32[$2 + 20 >> 2] = 79; + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 1); + } +} + +function std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________second_28_29($0), $2); + } +} + +function std____2__DoIOSInit__DoIOSInit_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = HEAP32[13517]; + std____2____stdinbuf_char_____stdinbuf_28_IO_FILE__2c_20__mbstate_t__29(81940, $1, 81996); + std____2__basic_istream_char_2c_20std____2__char_traits_char____basic_istream_28std____2__basic_streambuf_char_2c_20std____2__char_traits_char____29(81256, 81940); + $2 = HEAP32[12233]; + std____2____stdoutbuf_char_____stdoutbuf_28_IO_FILE__2c_20__mbstate_t__29(82004, $2, 82052); + std____2__basic_ostream_char_2c_20std____2__char_traits_char____basic_ostream_28std____2__basic_streambuf_char_2c_20std____2__char_traits_char____29(81432, 82004); + $3 = HEAP32[12232]; + std____2____stdoutbuf_char_____stdoutbuf_28_IO_FILE__2c_20__mbstate_t__29(82060, $3, 82108); + std____2__basic_ostream_char_2c_20std____2__char_traits_char____basic_ostream_28std____2__basic_streambuf_char_2c_20std____2__char_traits_char____29(81600, 82060); + std____2__basic_ostream_char_2c_20std____2__char_traits_char____basic_ostream_28std____2__basic_streambuf_char_2c_20std____2__char_traits_char____29(81768, std____2__basic_ios_char_2c_20std____2__char_traits_char____rdbuf_28_29_20const(HEAP32[HEAP32[20400] - 12 >> 2] + 81600 | 0)); + std____2__basic_ios_char_2c_20std____2__char_traits_char____tie_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29(HEAP32[HEAP32[20314] - 12 >> 2] + 81256 | 0, 81432); + std____2__unitbuf_28std____2__ios_base__29(HEAP32[HEAP32[20400] - 12 >> 2] + 81600 | 0); + std____2__basic_ios_char_2c_20std____2__char_traits_char____tie_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29(HEAP32[HEAP32[20400] - 12 >> 2] + 81600 | 0, 81432); + std____2____stdinbuf_wchar_t_____stdinbuf_28_IO_FILE__2c_20__mbstate_t__29(82116, $1, 82172); + std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t____basic_istream_28std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____29(81344, 82116); + std____2____stdoutbuf_wchar_t_____stdoutbuf_28_IO_FILE__2c_20__mbstate_t__29(82180, $2, 82228); + std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____basic_ostream_28std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____29(81516, 82180); + std____2____stdoutbuf_wchar_t_____stdoutbuf_28_IO_FILE__2c_20__mbstate_t__29(82236, $3, 82284); + std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____basic_ostream_28std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____29(81684, 82236); + std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____basic_ostream_28std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____29(81852, std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____rdbuf_28_29_20const(HEAP32[HEAP32[20421] - 12 >> 2] + 81684 | 0)); + std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____tie_28std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____29(HEAP32[HEAP32[20336] - 12 >> 2] + 81344 | 0, 81516); + std____2__unitbuf_28std____2__ios_base__29(HEAP32[HEAP32[20421] - 12 >> 2] + 81684 | 0); + std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____tie_28std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____29(HEAP32[HEAP32[20421] - 12 >> 2] + 81684 | 0, 81516); + return $0; +} + +function jpeg_idct_10x5($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $18 = __stack_pointer - 160 | 0; + __stack_pointer = $18; + $12 = HEAP32[$0 + 336 >> 2]; + $0 = HEAP32[$1 + 84 >> 2]; + $1 = $18; while (1) { - if ((i3 | 0) == (i1 | 0)) break; - i5 = i3 + -4 | 0; - HEAP32[i2 >> 2] = i5; - i3 = i5; - } - i2 = HEAP32[i4 >> 2] | 0; - do if (i2 | 0) { - i1 = HEAP32[i4 + 16 >> 2] | 0; - if ((i2 | 0) == (i1 | 0)) { - HEAP8[i1 + 112 >> 0] = 0; - break; - } else { - __ZdlPv(i2); - break; + $7 = HEAP32[$0 + 96 >> 2]; + $5 = HEAP16[$2 + 48 >> 1]; + $6 = HEAP32[$0 + 32 >> 2]; + $13 = HEAP16[$2 + 16 >> 1]; + $14 = Math_imul(HEAP16[$2 >> 1], HEAP32[$0 >> 2]) << 13 | 1024; + $8 = Math_imul(HEAP32[$0 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $11 = Math_imul(HEAP32[$0 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $9 = $8 - $11 | 0; + HEAP32[$1 + 64 >> 2] = $14 + Math_imul($9, -11584) >> 11; + $7 = Math_imul($5, $7); + $8 = Math_imul($8 + $11 | 0, 6476); + $9 = Math_imul($9, 2896) + $14 | 0; + $11 = $8 + $9 | 0; + $5 = Math_imul($6, $13); + $6 = Math_imul($7 + $5 | 0, 6810); + $5 = $6 + Math_imul($5, 4209) | 0; + HEAP32[$1 + 128 >> 2] = $11 - $5 >> 11; + HEAP32[$1 >> 2] = $5 + $11 >> 11; + $5 = $9 - $8 | 0; + $7 = Math_imul($7, -17828) + $6 | 0; + HEAP32[$1 + 96 >> 2] = $5 - $7 >> 11; + HEAP32[$1 + 32 >> 2] = $5 + $7 >> 11; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $2 = $2 + 2 | 0; + $10 = $10 + 1 | 0; + if (($10 | 0) != 8) { + continue; } - } while (0); - return; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE12__move_rangeEPiS4_S4_(i1, i7, i8, i2) { - i1 = i1 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0, i9 = 0; - i5 = i1 + 4 | 0; - i6 = HEAP32[i5 >> 2] | 0; - i3 = i6 - i2 | 0; - i4 = i3 >> 2; - i1 = i7 + (i4 << 2) | 0; - i2 = i6; - while (1) { - if (i1 >>> 0 >= i8 >>> 0) break; - HEAP32[i2 >> 2] = HEAP32[i1 >> 2]; - i9 = i2 + 4 | 0; - HEAP32[i5 >> 2] = i9; - i1 = i1 + 4 | 0; - i2 = i9; - } - if (i3 | 0) _memmove(i6 + (0 - i4 << 2) | 0, i7 | 0, i3 | 0) | 0; - return; -} - -function __ZNSt3__211__call_onceERVmPvPFvS2_E(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - _pthread_mutex_lock(58268) | 0; + break; + } + $2 = $12 - 384 | 0; + $0 = $18; + $7 = 0; while (1) { - if ((HEAP32[i1 >> 2] | 0) != 1) break; - _pthread_cond_wait(58296, 58268) | 0; - } - if (!(HEAP32[i1 >> 2] | 0)) { - HEAP32[i1 >> 2] = 1; - _pthread_mutex_unlock(58268) | 0; - FUNCTION_TABLE_vi[i3 & 255](i2); - _pthread_mutex_lock(58268) | 0; - HEAP32[i1 >> 2] = -1; - _pthread_mutex_unlock(58268) | 0; - _pthread_cond_broadcast(58296) | 0; - } else _pthread_mutex_unlock(58268) | 0; - return; -} - -function __ZN6vision4NodeILi96EED2Ev(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0, i5 = 0; - i4 = i3 + 104 | 0; - i5 = i3 + 108 | 0; - i2 = 0; + $5 = HEAP32[$0 + 28 >> 2]; + $6 = HEAP32[$0 + 12 >> 2]; + $8 = $5 + $6 | 0; + $11 = Math_imul($8, 7791); + $1 = HEAP32[($7 << 2) + $3 >> 2] + $4 | 0; + $5 = $6 - $5 | 0; + $9 = Math_imul($5, 2531); + $14 = HEAP32[$0 + 20 >> 2]; + $12 = $14 << 13; + $19 = $9 + $12 | 0; + $10 = HEAP32[$0 + 4 >> 2]; + $15 = $19 + (Math_imul($10, 11443) + $11 | 0) | 0; + $6 = HEAP32[$0 + 8 >> 2]; + $16 = HEAP32[$0 + 24 >> 2]; + $17 = Math_imul($6 + $16 | 0, 6810); + $20 = $17 + Math_imul($6, 4209) | 0; + $6 = (HEAP32[$0 >> 2] << 13) + 134348800 | 0; + $13 = HEAP32[$0 + 16 >> 2]; + $21 = $6 + Math_imul($13, 9373) | 0; + $22 = $20 + $21 | 0; + HEAP8[$1 | 0] = HEAPU8[($15 + $22 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 9 | 0] = HEAPU8[($22 - $15 >>> 18 & 1023) + $2 | 0]; + $8 = Math_imul($8, 4815); + $9 = ($12 - $9 | 0) - ($5 << 12) | 0; + $12 = Math_imul($10, 10323) - ($8 + $9 | 0) | 0; + $15 = Math_imul($16, -17828) + $17 | 0; + $16 = Math_imul($13, -3580) + $6 | 0; + $17 = $15 + $16 | 0; + HEAP8[$1 + 1 | 0] = HEAPU8[($12 + $17 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 8 | 0] = HEAPU8[($17 - $12 >>> 18 & 1023) + $2 | 0]; + $5 = $10 - ($5 + $14 | 0) << 13; + $6 = Math_imul($13, -11586) + $6 | 0; + HEAP8[$1 + 2 | 0] = HEAPU8[($5 + $6 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 7 | 0] = HEAPU8[($6 - $5 >>> 18 & 1023) + $2 | 0]; + $5 = (Math_imul($10, 5260) - $8 | 0) + $9 | 0; + $6 = $16 - $15 | 0; + HEAP8[$1 + 3 | 0] = HEAPU8[($5 + $6 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 6 | 0] = HEAPU8[($6 - $5 >>> 18 & 1023) + $2 | 0]; + $5 = $21 - $20 | 0; + $10 = (Math_imul($10, 1812) - $11 | 0) + $19 | 0; + HEAP8[$1 + 4 | 0] = HEAPU8[($5 + $10 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 5 | 0] = HEAPU8[($5 - $10 >>> 18 & 1023) + $2 | 0]; + $0 = $0 + 32 | 0; + $7 = $7 + 1 | 0; + if (($7 | 0) != 5) { + continue; + } + break; + } + __stack_pointer = $18 + 160 | 0; +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______swap_out_circular_buffer_28std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____29($0, $1) { + var $2 = 0; + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20vision__DoGScaleInvariantDetector__FeaturePoint_2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__2c_20vision__DoGScaleInvariantDetector__FeaturePoint__2c_20vision__DoGScaleInvariantDetector__FeaturePoint___29(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_vision__DoGScaleInvariantDetector__FeaturePoint____value_20___20is_move_assignable_vision__DoGScaleInvariantDetector__FeaturePoint____value_2c_20void___type_20std____2__swap_vision__DoGScaleInvariantDetector__FeaturePoint___28vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint___29($0, $2); + std____2__enable_if_is_move_constructible_vision__DoGScaleInvariantDetector__FeaturePoint____value_20___20is_move_assignable_vision__DoGScaleInvariantDetector__FeaturePoint____value_2c_20void___type_20std____2__swap_vision__DoGScaleInvariantDetector__FeaturePoint___28vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint___29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_vision__DoGScaleInvariantDetector__FeaturePoint____value_20___20is_move_assignable_vision__DoGScaleInvariantDetector__FeaturePoint____value_2c_20void___type_20std____2__swap_vision__DoGScaleInvariantDetector__FeaturePoint___28vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint___29(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______end_cap_28_29($0), std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($0)); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______invalidate_all_iterators_28_29($0); +} + +function jpeg_idct_5x10($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 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; + $19 = __stack_pointer - 208 | 0; + __stack_pointer = $19; + $22 = HEAP32[$0 + 336 >> 2]; + $1 = HEAP32[$1 + 84 >> 2]; + $0 = $19; while (1) { - i1 = HEAP32[i4 >> 2] | 0; - if (i2 >>> 0 >= (HEAP32[i5 >> 2] | 0) - i1 >> 2 >>> 0) break; - i1 = HEAP32[i1 + (i2 << 2) >> 2] | 0; - if (i1 | 0) { - __ZN6vision4NodeILi96EED2Ev(i1); - __ZdlPv(i1); - } - i2 = i2 + 1 | 0; - } - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev(i3 + 116 | 0); - __ZNSt3__213__vector_baseIPN6vision4NodeILi96EEENS_9allocatorIS4_EEED2Ev(i4); - return; -} - -function __ZN6vision11DotProduct9IfEET_PKS1_S3_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return +(+HEAPF32[i1 >> 2] * +HEAPF32[i2 >> 2] + +HEAPF32[i1 + 4 >> 2] * +HEAPF32[i2 + 4 >> 2] + +HEAPF32[i1 + 8 >> 2] * +HEAPF32[i2 + 8 >> 2] + +HEAPF32[i1 + 12 >> 2] * +HEAPF32[i2 + 12 >> 2] + +HEAPF32[i1 + 16 >> 2] * +HEAPF32[i2 + 16 >> 2] + +HEAPF32[i1 + 20 >> 2] * +HEAPF32[i2 + 20 >> 2] + +HEAPF32[i1 + 24 >> 2] * +HEAPF32[i2 + 24 >> 2] + +HEAPF32[i1 + 28 >> 2] * +HEAPF32[i2 + 28 >> 2] + +HEAPF32[i1 + 32 >> 2] * +HEAPF32[i2 + 32 >> 2]); -} - -function _strtok(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - if (!i1) { - i1 = HEAP32[14084] | 0; - if (!i1) i1 = 0; else i3 = 3; - } else i3 = 3; - do if ((i3 | 0) == 3) { - i1 = i1 + (_strspn(i1, i2) | 0) | 0; - if (!(HEAP8[i1 >> 0] | 0)) { - HEAP32[14084] = 0; - i1 = 0; - break; + $8 = HEAP32[$1 + 192 >> 2]; + $5 = HEAP16[$2 + 96 >> 1]; + $10 = HEAP32[$1 + 64 >> 2]; + $11 = HEAP16[$2 + 32 >> 1]; + $6 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $7 = Math_imul(HEAP32[$1 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $14 = $6 + Math_imul($7, -11586) >> 11; + $9 = Math_imul(HEAP32[$1 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $15 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $16 = Math_imul(HEAP32[$1 + 224 >> 2], HEAP16[$2 + 112 >> 1]); + $12 = $15 - $16 | 0; + $17 = Math_imul(HEAP32[$1 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $18 = $9 - ($12 + $17 | 0) << 2; + HEAP32[$0 + 140 >> 2] = $14 - $18; + HEAP32[$0 + 40 >> 2] = $14 + $18; + $8 = Math_imul($5, $8); + $5 = Math_imul($10, $11); + $10 = Math_imul($8 + $5 | 0, 6810); + $5 = $10 + Math_imul($5, 4209) | 0; + $11 = Math_imul($7, 9373) + $6 | 0; + $14 = $5 + $11 | 0; + $17 = $17 << 13; + $18 = Math_imul($12, 2531); + $20 = $17 + $18 | 0; + $15 = $15 + $16 | 0; + $16 = Math_imul($15, 7791); + $21 = $20 + ($16 + Math_imul($9, 11443) | 0) | 0; + HEAP32[$0 + 180 >> 2] = $14 - $21 >> 11; + HEAP32[$0 >> 2] = $14 + $21 >> 11; + $5 = $11 - $5 | 0; + $11 = (Math_imul($9, 1812) - $16 | 0) + $20 | 0; + HEAP32[$0 + 100 >> 2] = $5 - $11 >> 11; + HEAP32[$0 + 80 >> 2] = $5 + $11 >> 11; + $7 = Math_imul($7, -3580) + $6 | 0; + $6 = Math_imul($8, -17828) + $10 | 0; + $8 = $7 - $6 | 0; + $12 = ($17 - $18 | 0) - ($12 << 12) | 0; + $5 = Math_imul($15, 4815); + $10 = $12 + (Math_imul($9, 5260) - $5 | 0) | 0; + HEAP32[$0 + 120 >> 2] = $8 - $10 >> 11; + HEAP32[$0 + 60 >> 2] = $8 + $10 >> 11; + $7 = $6 + $7 | 0; + $9 = Math_imul($9, 10323) - ($5 + $12 | 0) | 0; + HEAP32[$0 + 160 >> 2] = $7 - $9 >> 11; + HEAP32[$0 + 20 >> 2] = $7 + $9 >> 11; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 2 | 0; + $13 = $13 + 1 | 0; + if (($13 | 0) != 5) { + continue; } - i2 = i1 + (_strcspn(i1, i2) | 0) | 0; - HEAP32[14084] = i2; - if (!(HEAP8[i2 >> 0] | 0)) { - HEAP32[14084] = 0; - break; - } else { - HEAP32[14084] = i2 + 1; - HEAP8[i2 >> 0] = 0; - break; + break; + } + $2 = $22 - 384 | 0; + $0 = $19; + $9 = 0; + while (1) { + $1 = HEAP32[($9 << 2) + $3 >> 2] + $4 | 0; + $6 = HEAP32[$0 + 4 >> 2]; + $7 = HEAP32[$0 + 12 >> 2]; + $12 = Math_imul($6 + $7 | 0, 6810); + $6 = $12 + Math_imul($6, 4209) | 0; + $10 = (HEAP32[$0 >> 2] << 13) + 134348800 | 0; + $13 = HEAP32[$0 + 8 >> 2]; + $8 = HEAP32[$0 + 16 >> 2]; + $5 = $13 - $8 | 0; + $11 = $10 + Math_imul($5, 2896) | 0; + $13 = Math_imul($8 + $13 | 0, 6476); + $8 = $11 + $13 | 0; + HEAP8[$1 | 0] = HEAPU8[($6 + $8 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 4 | 0] = HEAPU8[($8 - $6 >>> 18 & 1023) + $2 | 0]; + $6 = $11 - $13 | 0; + $7 = Math_imul($7, -17828) + $12 | 0; + HEAP8[$1 + 1 | 0] = HEAPU8[($6 + $7 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 3 | 0] = HEAPU8[($6 - $7 >>> 18 & 1023) + $2 | 0]; + HEAP8[$1 + 2 | 0] = HEAPU8[(Math_imul($5, 268423872) + $10 >>> 18 & 1023) + $2 | 0]; + $0 = $0 + 20 | 0; + $9 = $9 + 1 | 0; + if (($9 | 0) != 10) { + continue; } - } while (0); - return i1 | 0; + break; + } + __stack_pointer = $19 + 208 | 0; } -function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endINS_11__wrap_iterIPKiEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(i2, i4, i1) { - i2 = i2 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i3 = 0, i5 = 0; - i3 = HEAP32[i1 >> 2] | 0; - i1 = i2 + 8 | 0; - i2 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i2 | 0) == (i3 | 0)) break; - i5 = HEAP32[i1 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i1 >> 2] = i5 + 4; - i5 = i2 + 4 | 0; - HEAP32[i4 >> 2] = i5; - i2 = i5; +function unsigned_20long_20std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______erase_unique_int__28int_20const__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____20std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____find_int__28int_20const__29($0, $1), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____end_28_29($0), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + $1 = 0; + if (!std____2__operator___28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____20const__2c_20std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____20const__29($2 + 24 | 0, $2 + 16 | 0)) { + std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____erase_28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____29($0, HEAP32[std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_const_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____20const__29($2 + 8 | 0, $2 + 24 | 0) >> 2]); + $1 = 1; } - return; + __stack_pointer = $2 + 32 | 0; + return $1; } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS9_PvEEEE(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - while (1) { - if (!i1) break; - i2 = HEAP32[i1 >> 2] | 0; - __ZNSt3__24pairIKiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEED2Ev(i1 + 8 | 0); - __ZdlPv(i1); - i1 = i2; - } - return; -} - -function ___stdout_write(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(32); - i4 = i5; - HEAP32[i1 + 36 >> 2] = 2; - if ((HEAP32[i1 >> 2] & 64 | 0) == 0 ? (HEAP32[i4 >> 2] = HEAP32[i1 + 60 >> 2], HEAP32[i4 + 4 >> 2] = 21523, HEAP32[i4 + 8 >> 2] = i5 + 16, ___syscall54(54, i4 | 0) | 0) : 0) HEAP8[i1 + 75 >> 0] = -1; - i4 = ___stdio_write(i1, i2, i3) | 0; - STACKTOP = i5; - return i4 | 0; -} - -function __ZNKSt3__29__num_getIwE12__do_widen_pIwEEPKT_RNS_8ios_baseEPS3_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i1; - __ZNKSt3__28ios_base6getlocEv(i4, i2); - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i4, 57948) | 0; - FUNCTION_TABLE_iiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 48 >> 2] & 15](i2, 10736, 10762, i3) | 0; - __ZNSt3__26localeD2Ev(i4); - STACKTOP = i1; - return i3 | 0; -} - -function __ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i1, HEAP32[i2 + 8 >> 2] | 0, 0) | 0) __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0, i2, i3, i4); else { - i1 = HEAP32[i1 + 8 >> 2] | 0; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 28 >> 2] & 31](i1, i2, i3, i4); - } - return; -} - -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE4swapERS6_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = i5; - i5 = i1 + 4 | 0; - i3 = i2 + 4 | 0; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = i4; - i3 = i1 + 8 | 0; - i2 = i2 + 8 | 0; - i1 = HEAP32[i3 >> 2] | 0; - HEAP32[i3 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = i1; - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS7_PvEEEE(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - while (1) { - if (!i1) break; - i2 = HEAP32[i1 >> 2] | 0; - __ZNSt3__24pairIKiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEED2Ev(i1 + 8 | 0); - __ZdlPv(i1); - i1 = i2; - } - return; -} - -function __ZL10loadMarkerPKcPiP8ARHandlePP12ARPattHandle(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - i6 = _arPattLoad(HEAP32[i3 >> 2] | 0, i1) | 0; - HEAP32[i2 >> 2] = i6; - if ((i6 | 0) < 0) { - HEAP32[i4 >> 2] = i1; - _arLog(0, 3, 44343, i4); - _arPattDeleteHandle(HEAP32[i3 >> 2] | 0) | 0; - i1 = 0; - } else i1 = 1; - STACKTOP = i5; - return i1 | 0; -} - -function __ZNSt3__213__vector_baseINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEENS4_IS8_EEED2Ev(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) { - i4 = i2 + 4 | 0; - i1 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i3 | 0)) break; - i5 = i1 + -12 | 0; - __ZNSt3__213__vector_baseINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev(i5); - i1 = i5; - } - HEAP32[i4 >> 2] = i3; - __ZdlPv(HEAP32[i2 >> 2] | 0); - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm18EEERAT__Kc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i2, 17); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm15EEERAT__Kc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i2, 14); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm14EEERAT__Kc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i2, 13); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm13EEERAT__Kc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i2, 12); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm12EEERAT__Kc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i2, 11); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm11EEERAT__Kc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i2, 10); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm10EEERAT__Kc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i2, 9); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm9EEERAT__Kc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i2, 8); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm6EEERAT__Kc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i2, 5); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm5EEERAT__Kc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i2, 4); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm4EEERAT__Kc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, i2, 3); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm22EEERAT__Kc(i1) { - i1 = i1 | 0; - var i2 = 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, 51060, 21); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm19EEERAT__Kc(i1) { - i1 = i1 | 0; - var i2 = 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, 51281, 18); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm16EEERAT__Kc(i1) { - i1 = i1 | 0; - var i2 = 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, 50454, 15); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(i2, i3, i4, i5, i6, i7) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - var i1 = 0, i8 = 0; - i8 = HEAP32[i2 + 4 >> 2] | 0; - i1 = i8 >> 8; - if (i8 & 1) i1 = HEAP32[(HEAP32[i5 >> 2] | 0) + i1 >> 2] | 0; - i2 = HEAP32[i2 >> 2] | 0; - FUNCTION_TABLE_viiiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 20 >> 2] & 7](i2, i3, i4, i5 + i1 | 0, (i8 & 2 | 0) == 0 ? 2 : i6, i7); - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm8EEERAT__Kc(i1) { - i1 = i1 | 0; - var i2 = 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, 50861, 7); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm7EEERAT__Kc(i1) { - i1 = i1 | 0; - var i2 = 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, 51274, 6); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ILm3EEERAT__Kc(i1) { - i1 = i1 | 0; - var i2 = 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6__initEPKcm(i1, 51085, 2); - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_12DbD2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseINS_6vectorINS1_IN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEEENS5_IS9_Lm4096EEEED2Ev(i1 + 32 | 0); - __ZNSt3__213__vector_baseINS_6vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS3_11short_allocIS4_Lm4096EEEEENS5_IS7_Lm4096EEEED2Ev(i1 + 16 | 0); - __ZNSt3__213__vector_baseIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEED2Ev(i1); - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - if ((HEAP8[i2 + 11 >> 0] | 0) < 0) __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i1, HEAP32[i2 >> 2] | 0, HEAP32[i2 + 4 >> 2] | 0); else { - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i1 + 4 >> 2] = HEAP32[i2 + 4 >> 2]; - HEAP32[i1 + 8 >> 2] = HEAP32[i2 + 8 >> 2]; - } - return; -} - -function __ZN6vision35MultiplyPointHomographyInhomogenousIfEEvRT_S2_PKS1_S1_S1_(i1, i2, i3, d4, d5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - d4 = +d4; - d5 = +d5; - var d6 = 0.0; - d6 = +HEAPF32[i3 + 32 >> 2] + (+HEAPF32[i3 + 24 >> 2] * d4 + +HEAPF32[i3 + 28 >> 2] * d5); - HEAPF32[i1 >> 2] = (+HEAPF32[i3 + 8 >> 2] + (+HEAPF32[i3 >> 2] * d4 + +HEAPF32[i3 + 4 >> 2] * d5)) / d6; - HEAPF32[i2 >> 2] = (+HEAPF32[i3 + 20 >> 2] + (+HEAPF32[i3 + 12 >> 2] * d4 + +HEAPF32[i3 + 16 >> 2] * d5)) / d6; - return; -} - -function __ZL14genBWImageFullPhiiPiS0_(i5, i1, i2, i3, i4) { - i5 = i5 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i6 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - HEAP32[i3 >> 2] = i1; - HEAP32[i4 >> 2] = i2; - i1 = Math_imul(i2, i1) | 0; - i2 = _malloc(i1) | 0; - if (!i2) { - _arLog(0, 3, 20454, i6); - _exit(1); - } else { - _memcpy(i2 | 0, i5 | 0, i1 | 0) | 0; - STACKTOP = i6; - return i2 | 0; - } - return 0; -} - -function __ZNK6vision21HoughSimilarityVoting23getMaximumNumberOfVotesERfRi(i1, i5, i6) { - i1 = i1 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var d2 = 0.0, i3 = 0, i4 = 0; - HEAPF32[i5 >> 2] = 0.0; - HEAP32[i6 >> 2] = -1; - i1 = i1 + 100 | 0; - d2 = 0.0; - while (1) { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) break; - i3 = i1; - i4 = i3 + 12 | 0; - if (d2 < +((HEAP32[i4 >> 2] | 0) >>> 0)) { - HEAP32[i6 >> 2] = HEAP32[i3 + 8 >> 2]; - d2 = +((HEAP32[i4 >> 2] | 0) >>> 0); - HEAPF32[i5 >> 2] = d2; - } - } - return; -} - -function _store_int_669(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - L1 : do if (i1 | 0) switch (i2 | 0) { - case -2: - { - HEAP8[i1 >> 0] = i3; - break L1; - } - case -1: - { - HEAP16[i1 >> 1] = i3; - break L1; - } - case 0: - { - HEAP32[i1 >> 2] = i3; - break L1; - } - case 1: - { - HEAP32[i1 >> 2] = i3; - break L1; - } - case 3: - { - i2 = i1; - HEAP32[i2 >> 2] = i3; - HEAP32[i2 + 4 >> 2] = i4; - break L1; - } - default: - break L1; - } while (0); - return; -} - -function _arImageProcLumaHist(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0; - L1 : do if ((i2 | 0) != 0 & (i1 | 0) != 0) { - _memset(i2 + 12 | 0, 0, 1024) | 0; - i3 = i1 + (Math_imul(HEAP32[i2 + 8 >> 2] | 0, HEAP32[i2 + 4 >> 2] | 0) | 0) | 0; - while (1) { - if (i1 >>> 0 >= i3 >>> 0) { - i1 = 0; - break L1; +function vision__GaussianScaleSpacePyramid__get_28unsigned_20long_2c_20unsigned_20long_29_20const($0, $1, $2) { + var $3 = 0; + label$1: { + if (HEAPU32[$0 + 16 >> 2] > $1 >>> 0) { + $3 = HEAP32[$0 + 20 >> 2]; + if ($3 >>> 0 <= $2 >>> 0) { + break label$1; } - i4 = i2 + 12 + ((HEAPU8[i1 >> 0] | 0) << 2) | 0; - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + 1; - i1 = i1 + 1 | 0; + return std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const($0 + 4 | 0, Math_imul($1, $3) + $2 | 0); } - } else i1 = -1; while (0); - return i1 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 22085), 22129), 3289), 218), 3786), 22239), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 22299), 22129), 3289), 219), 3786), 22350), 16); + abort(); + abort(); } -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE10deallocateEv(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) { - i4 = i2 + 4 | 0; - i1 = HEAP32[i4 >> 2] | 0; +function std____2____num_put_char_____widen_and_group_int_28char__2c_20char__2c_20char__2c_20char__2c_20char___2c_20char___2c_20std____2__locale_20const__29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + $10 = __stack_pointer - 16 | 0; + __stack_pointer = $10; + $11 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($6); + $6 = std____2__numpunct_char__20const__20std____2__use_facet_std____2__numpunct_char___28std____2__locale_20const__29($6); + std____2__numpunct_char___grouping_28_29_20const($10, $6); + label$1: { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____empty_28_29_20const($10)) { + std____2__ctype_char___widen_28char_20const__2c_20char_20const__2c_20char__29_20const($11, $0, $2, $3); + $6 = ($2 - $0 | 0) + $3 | 0; + HEAP32[$5 >> 2] = $6; + break label$1; + } + HEAP32[$5 >> 2] = $3; + label$3: { + label$4: { + $9 = $0; + $7 = HEAPU8[$9 | 0]; + switch ($7 - 43 | 0) { + case 0: + case 2: + break label$4; + + default: + break label$3; + } + } + $7 = std____2__ctype_char___widen_28char_29_20const($11, $7 << 24 >> 24); + $8 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $8 + 1; + HEAP8[$8 | 0] = $7; + $9 = $0 + 1 | 0; + } + if (!(HEAPU8[$9 | 0] != 48 | ($2 - $9 | 0) < 2 | (HEAPU8[$9 + 1 | 0] | 32) != 120)) { + $7 = std____2__ctype_char___widen_28char_29_20const($11, 48); + $8 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $8 + 1; + HEAP8[$8 | 0] = $7; + $7 = std____2__ctype_char___widen_28char_29_20const($11, HEAP8[$9 + 1 | 0]); + $8 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $8 + 1; + HEAP8[$8 | 0] = $7; + $9 = $9 + 2 | 0; + } + void_20std____2__reverse_char___28char__2c_20char__29($9, $2); + $7 = 0; + $13 = std____2__numpunct_char___thousands_sep_28_29_20const($6); + $8 = 0; + $6 = $9; while (1) { - if ((i1 | 0) == (i3 | 0)) break; - i5 = i1 + -20 | 0; - __ZN6vision12FeaturePointD2Ev(i5); - i1 = i5; - } - HEAP32[i4 >> 2] = i3; - __ZdlPv(HEAP32[i2 >> 2] | 0); - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i4 >> 2] = 0; - HEAP32[i2 >> 2] = 0; - } - return; -} - -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE6resizeEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = i1 + 4 | 0; - i5 = HEAP32[i1 >> 2] | 0; - i4 = ((HEAP32[i3 >> 2] | 0) - i5 | 0) / 36 | 0; - if (i4 >>> 0 >= i2 >>> 0) { - if (i4 >>> 0 > i2 >>> 0) HEAP32[i3 >> 2] = i5 + (i2 * 36 | 0); - } else __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8__appendEm(i1, i2 - i4 | 0); - return; -} - -function _jpeg_open_backing_store(i3, i4, i1) { - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0; - i2 = _tmpfile() | 0; - HEAP32[i4 + 12 >> 2] = i2; - if (!i2) { - i1 = HEAP32[i3 >> 2] | 0; - HEAP32[i1 + 20 >> 2] = 63; - i1 = i1 + 24 | 0; - i2 = i1 + 80 | 0; - do { - HEAP8[i1 >> 0] = 0; - i1 = i1 + 1 | 0; - } while ((i1 | 0) < (i2 | 0)); - FUNCTION_TABLE_vi[HEAP32[HEAP32[i3 >> 2] >> 2] & 255](i3); - } - HEAP32[i4 >> 2] = 4; - HEAP32[i4 + 4 >> 2] = 5; - HEAP32[i4 + 8 >> 2] = 41; - return; -} - -function __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - while (1) { - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (i2 | 0)) break; - i4 = i4 + -12 | 0; - HEAP32[i3 >> 2] = i4; - __ZNSt3__213__vector_baseINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev(i4); - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZN6vision6Logger5writeENS_19LoggerPriorityLevelERKNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE(i2, i3, i4) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i5 = 0, i6 = 0; - i5 = i2 + 4 | 0; - i1 = 0; - while (1) { - i6 = HEAP32[i2 >> 2] | 0; - if (i1 >>> 0 >= (HEAP32[i5 >> 2] | 0) - i6 >> 3 >>> 0) break; - i6 = HEAP32[i6 + (i1 << 3) >> 2] | 0; - FUNCTION_TABLE_viii[HEAP32[(HEAP32[i6 >> 2] | 0) + 8 >> 2] & 3](i6, i3, i4); - i1 = i1 + 1 | 0; - } - return; -} - -function _vasprintf(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i7 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i7; - HEAP32[i4 >> 2] = HEAP32[i3 >> 2]; - i4 = _vsnprintf(0, 0, i2, i4) | 0; - if ((i4 | 0) >= 0 ? (i5 = i4 + 1 | 0, i6 = _malloc(i5) | 0, HEAP32[i1 >> 2] = i6, (i6 | 0) != 0) : 0) i1 = _vsnprintf(i6, i5, i2, i3) | 0; else i1 = -1; - STACKTOP = i7; - return i1 | 0; -} - -function __ZN6vision18BinaryFeatureStore6resizeEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i5 = Math_imul(HEAP32[i1 >> 2] | 0, i2) | 0; - HEAP8[i4 >> 0] = 0; - __ZNSt3__26vectorIhNS_9allocatorIhEEE6resizeEmRKh(i1 + 4 | 0, i5, i4); - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE6resizeEm(i1 + 16 | 0, i2); - STACKTOP = i3; - return; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endINS_11__wrap_iterIPKiEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m(i3, i5, i1, i2) { - i3 = i3 | 0; - i5 = i5 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - var i4 = 0; - i4 = HEAP32[i1 >> 2] | 0; - i2 = i3 + 4 | 0; - i1 = HEAP32[i5 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i5 = HEAP32[i2 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i1 >> 2]; - HEAP32[i2 >> 2] = i5 + 4; - i1 = i1 + 4 | 0; - } - return; -} - -function __ZN6vision28BinaryHierarchicalClusteringILi96EED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - __ZNSt3__214priority_queueIN6vision17PriorityQueueItemILi96EEENS_6vectorIS3_NS_9allocatorIS3_EEEENS_4lessIS3_EEED2Ev(i1 + 84 | 0); - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev(i1 + 72 | 0); - __ZN6vision14BinarykMedoidsILi96EED2Ev(i1 + 12 | 0); - i2 = i1 + 8 | 0; - i1 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = 0; - if (i1 | 0) { - __ZN6vision4NodeILi96EED2Ev(i1); - __ZdlPv(i1); - } - return; -} - -function __ZN6vision9MaxIndex7IfEEiPKT_(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = +HEAPF32[i1 + 4 >> 2] > +HEAPF32[i1 >> 2] & 1; - i2 = +HEAPF32[i1 + 8 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 2 : i2; - i2 = +HEAPF32[i1 + 12 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 3 : i2; - i2 = +HEAPF32[i1 + 16 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 4 : i2; - i2 = +HEAPF32[i1 + 20 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 5 : i2; - return (+HEAPF32[i1 + 24 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 6 : i2) | 0; -} - -function __ZN10emscripten8internal7InvokerIiJiEE6invokeEPFiiEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - i2 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i2) | 0; - i2 = FUNCTION_TABLE_ii[i1 & 127](i2) | 0; - HEAP32[i4 >> 2] = i2; - i2 = __ZN10emscripten8internal11BindingTypeIiE10toWireTypeERKi(i4) | 0; - STACKTOP = i3; - return i2 | 0; -} - -function __ZN10emscripten8internal7InvokerIdJiEE6invokeEPFdiEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, d4 = 0.0, i5 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i3; - i2 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i2) | 0; - d4 = +FUNCTION_TABLE_di[i1 & 3](i2); - HEAPF64[i5 >> 3] = d4; - d4 = +__ZN10emscripten8internal11BindingTypeIdE10toWireTypeERKd(i5); - STACKTOP = i3; - return +d4; -} - -function __ZNK6vision20VisualDatabaseFacade18get3DFeaturePointsEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - HEAP32[i4 >> 2] = i2; - i2 = __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEEixERSD_((HEAP32[i1 >> 2] | 0) + 4 | 0, i4) | 0; - STACKTOP = i3; - return i2 | 0; -} - -function __ZN6vision29SolveSymmetricLinearSystem3x3IfEEbPT_PKS1_S4_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(48); - i4 = i5; - if (__ZN6vision25MatrixInverseSymmetric3x3IfEEbPT_PKS1_S1_(i4, i2, 1.1920928955078125e-07) | 0) { - __ZN6vision16Multiply_3x3_3x1IfEEvPT_PKS1_S4_(i1, i4, i3); - i1 = 1; - } else i1 = 0; - STACKTOP = i5; - return i1 | 0; -} - -function __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(i2, i3, i4, i5, i6) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i1 = 0, i7 = 0; - i7 = HEAP32[i2 + 4 >> 2] | 0; - i1 = i7 >> 8; - if (i7 & 1) i1 = HEAP32[(HEAP32[i4 >> 2] | 0) + i1 >> 2] | 0; - i2 = HEAP32[i2 >> 2] | 0; - FUNCTION_TABLE_viiiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 24 >> 2] & 31](i2, i3, i4 + i1 | 0, (i7 & 2 | 0) == 0 ? 2 : i5, i6); - return; -} - -function __ZNSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE4swapERS5_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = i5; - i5 = i1 + 4 | 0; - i3 = i2 + 4 | 0; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = i4; - i3 = i1 + 8 | 0; - i2 = i2 + 8 | 0; - i1 = HEAP32[i3 >> 2] | 0; - HEAP32[i3 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = i1; - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS6_PvEEEE(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - while (1) { - if (!i1) break; - i2 = HEAP32[i1 >> 2] | 0; - __ZNSt3__24pairIKiNS_6vectorIiNS_9allocatorIiEEEEED2Ev(i1 + 8 | 0); - __ZdlPv(i1); - i1 = i2; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2Ev(i2) { - i2 = i2 | 0; - var i1 = 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - i2 = i2 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function _write_backing_store(i2, i1, i3, i4, i5) { - i2 = i2 | 0; - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i1 = i1 + 12 | 0; - if (_fseek(HEAP32[i1 >> 2] | 0, i4, 0) | 0) { - i4 = HEAP32[i2 >> 2] | 0; - HEAP32[i4 + 20 >> 2] = 65; - FUNCTION_TABLE_vi[HEAP32[i4 >> 2] & 255](i2); - } - if ((_fwrite(i3, 1, i5, HEAP32[i1 >> 2] | 0) | 0) != (i5 | 0)) { - i5 = HEAP32[i2 >> 2] | 0; - HEAP32[i5 + 20 >> 2] = 66; - FUNCTION_TABLE_vi[HEAP32[i5 >> 2] & 255](i2); - } - return; -} - -function _emit_message(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i1 | 0) >= 0) { - if ((HEAP32[i3 + 104 >> 2] | 0) >= (i1 | 0)) FUNCTION_TABLE_vi[HEAP32[i3 + 8 >> 2] & 255](i2); - } else { - i4 = i3 + 108 | 0; - i1 = HEAP32[i4 >> 2] | 0; - if (!((i1 | 0) != 0 ? (HEAP32[i3 + 104 >> 2] | 0) <= 2 : 0)) { - FUNCTION_TABLE_vi[HEAP32[i3 + 8 >> 2] & 255](i2); - i1 = HEAP32[i4 >> 2] | 0; - } - HEAP32[i4 >> 2] = i1 + 1; - } - return; -} - -function _read_backing_store(i2, i1, i3, i4, i5) { - i2 = i2 | 0; - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i1 = i1 + 12 | 0; - if (_fseek(HEAP32[i1 >> 2] | 0, i4, 0) | 0) { - i4 = HEAP32[i2 >> 2] | 0; - HEAP32[i4 + 20 >> 2] = 65; - FUNCTION_TABLE_vi[HEAP32[i4 >> 2] & 255](i2); - } - if ((_fread(i3, 1, i5, HEAP32[i1 >> 2] | 0) | 0) != (i5 | 0)) { - i5 = HEAP32[i2 >> 2] | 0; - HEAP32[i5 + 20 >> 2] = 64; - FUNCTION_TABLE_vi[HEAP32[i5 >> 2] & 255](i2); - } - return; -} - -function _get_buff(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0; - L1 : while (1) { - if (!(_fgets(i3, 256, i4) | 0)) break; - i1 = _strlen(i3) | 0; - L4 : while (1) { - if (!i1) break; - i1 = i1 + -1 | 0; - i2 = i3 + i1 | 0; - switch (HEAP8[i2 >> 0] | 0) { - case 13: - case 10: - break; - default: - break L4; + if ($2 >>> 0 <= $6 >>> 0) { + void_20std____2__reverse_char___28char__2c_20char__29(($9 - $0 | 0) + $3 | 0, HEAP32[$5 >> 2]); + $6 = HEAP32[$5 >> 2]; + } else { + label$9: { + if (!HEAPU8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($10, $8) | 0]) { + break label$9; + } + if (HEAP8[std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($10, $8) | 0] != ($7 | 0)) { + break label$9; + } + $7 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $7 + 1; + HEAP8[$7 | 0] = $13; + $8 = (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($10) - 1 >>> 0 > $8 >>> 0) + $8 | 0; + $7 = 0; + } + $14 = std____2__ctype_char___widen_28char_29_20const($11, HEAP8[$6 | 0]); + $12 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $12 + 1; + HEAP8[$12 | 0] = $14; + $6 = $6 + 1 | 0; + $7 = $7 + 1 | 0; + continue; } - HEAP8[i2 >> 0] = 0; - } - switch (HEAP8[i3 >> 0] | 0) { - case 0: - case 35: break; - default: - break L1; } } - return; -} - -function __ZNSt3__213__vector_baseINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) { - i4 = i2 + 4 | 0; - i1 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i3 | 0)) break; - i5 = i1 + -12 | 0; - __ZNSt3__213__vector_baseINS_4pairIfmEENS_9allocatorIS2_EEED2Ev(i5); - i1 = i5; - } - HEAP32[i4 >> 2] = i3; - __ZdlPv(HEAP32[i2 >> 2] | 0); - } - return; -} - -function __ZN6vision10SimilarityIfEEvPT_S1_S1_S1_S1_(i1, d2, d3, d4, d5) { - i1 = i1 | 0; - d2 = +d2; - d3 = +d3; - d4 = +d4; - d5 = +d5; - var d6 = 0.0; - d6 = +Math_cos(+d4) * d5; - d5 = +Math_sin(+d4) * d5; - HEAPF32[i1 >> 2] = d6; - HEAPF32[i1 + 4 >> 2] = -d5; - HEAPF32[i1 + 8 >> 2] = d2; - HEAPF32[i1 + 12 >> 2] = d5; - HEAPF32[i1 + 16 >> 2] = d6; - HEAPF32[i1 + 20 >> 2] = d3; - HEAPF32[i1 + 24 >> 2] = 0.0; - HEAPF32[i1 + 28 >> 2] = 0.0; - HEAPF32[i1 + 32 >> 2] = 1.0; - return; -} - -function __ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(i2, i3, i4, i5) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i1 = 0, i6 = 0; - i6 = HEAP32[i2 + 4 >> 2] | 0; - i1 = i6 >> 8; - if (i6 & 1) i1 = HEAP32[(HEAP32[i4 >> 2] | 0) + i1 >> 2] | 0; - i2 = HEAP32[i2 >> 2] | 0; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 31](i2, i3, i4 + i1 | 0, (i6 & 2 | 0) == 0 ? 2 : i5); - return; -} - -function ___towrite(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = i1 + 74 | 0; - i3 = HEAP8[i2 >> 0] | 0; - HEAP8[i2 >> 0] = i3 + 255 | i3; - i2 = HEAP32[i1 >> 2] | 0; - if (!(i2 & 8)) { - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - i3 = HEAP32[i1 + 44 >> 2] | 0; - HEAP32[i1 + 28 >> 2] = i3; - HEAP32[i1 + 20 >> 2] = i3; - HEAP32[i1 + 16 >> 2] = i3 + (HEAP32[i1 + 48 >> 2] | 0); - i1 = 0; - } else { - HEAP32[i1 >> 2] = i2 | 32; - i1 = -1; - } - return i1 | 0; -} - -function __ZNKSt3__27codecvtIwc11__mbstate_tE11do_encodingEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i1 = i1 + 8 | 0; - i2 = ___uselocale(HEAP32[i1 >> 2] | 0) | 0; - i3 = _mbtowc(0, 0, 4) | 0; - if (i2 | 0) ___uselocale(i2) | 0; - if (!i3) { - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) i1 = 1; else { - i2 = ___uselocale(i1) | 0; - i1 = ___ctype_get_mb_cur_max() | 0; - if (i2 | 0) ___uselocale(i2) | 0; - return (i1 | 0) == 1 | 0; - } - } else i1 = -1; - return i1 | 0; -} - -function _arUtilGetDirectoryNameFromPath(i1, i4, i5, i2) { - i1 = i1 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - var i3 = 0; - do if ((i1 | 0) != 0 & (i4 | 0) != 0 & (i5 | 0) != 0) { - i3 = _strrchr(i4, 47) | 0; - if (!i3) { - HEAP8[i1 >> 0] = 0; - break; - } - i2 = i3 + ((i2 | 0) != 0 & 1) - i4 | 0; - if ((i2 + 1 | 0) >>> 0 <= i5 >>> 0) { - _strncpy(i1, i4, i2) | 0; - HEAP8[i1 + i2 >> 0] = 0; - } else i1 = 0; - } else i1 = 0; while (0); - return i1 | 0; -} - -function ___randname(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0, i4 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i4; - ___clock_gettime(0, i2 | 0) | 0; - i1 = 0; - i2 = (HEAP32[i2 + 4 >> 2] | 0) * 65537 ^ (i2 >>> 4) + i3; - while (1) { - HEAP8[i3 + i1 >> 0] = (i2 & 15) + 65 | i2 << 1 & 32; - i1 = i1 + 1 | 0; - if ((i1 | 0) == 6) break; else i2 = i2 >>> 5; - } - STACKTOP = i4; - return i3 | 0; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE4swapERS3_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i5 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = i5; - i5 = i1 + 4 | 0; - i3 = i2 + 4 | 0; - i4 = HEAP32[i5 >> 2] | 0; - HEAP32[i5 >> 2] = HEAP32[i3 >> 2]; - HEAP32[i3 >> 2] = i4; - i3 = i1 + 8 | 0; - i2 = i2 + 8 | 0; - i1 = HEAP32[i3 >> 2] | 0; - HEAP32[i3 >> 2] = HEAP32[i2 >> 2]; - HEAP32[i2 >> 2] = i1; - return; -} - -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE5uflowEv(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; - if ((i2 | 0) == (__ZNSt3__211char_traitsIwE3eofEv() | 0)) i1 = __ZNSt3__211char_traitsIwE3eofEv() | 0; else { - i2 = i1 + 12 | 0; - i1 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = i1 + 4; - i1 = __ZNSt3__211char_traitsIwE11to_int_typeEw(HEAP32[i1 >> 2] | 0) | 0; - } - return i1 | 0; -} - -function __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i4 = i1 + 8 | 0; - i1 = HEAP32[i4 >> 2] | 0; - do { - i3 = i1 + 36 | 0; - do { - HEAP32[i1 >> 2] = 0; - i1 = i1 + 4 | 0; - } while ((i1 | 0) < (i3 | 0)); - i1 = (HEAP32[i4 >> 2] | 0) + 36 | 0; - HEAP32[i4 >> 2] = i1; - i2 = i2 + -1 | 0; - } while ((i2 | 0) != 0); - return; -} - -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE5uflowEv(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 36 >> 2] & 127](i1) | 0; - if ((i2 | 0) == (__ZNSt3__211char_traitsIcE3eofEv() | 0)) i1 = __ZNSt3__211char_traitsIcE3eofEv() | 0; else { - i2 = i1 + 12 | 0; - i1 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = i1 + 1; - i1 = __ZNSt3__211char_traitsIcE11to_int_typeEc(HEAP8[i1 >> 0] | 0) | 0; - } - return i1 | 0; -} - -function __ZNSt3__219__libcpp_snprintf_lEPcmP15__locale_structPKcz(i3, i4, i1, i5, i2) { - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - var i6 = 0, i7 = 0; - i6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i7 = i6; - HEAP32[i7 >> 2] = i2; - i2 = ___uselocale(i1) | 0; - i1 = _vsnprintf(i3, i4, i5, i7) | 0; - if (i2 | 0) ___uselocale(i2) | 0; - STACKTOP = i6; - return i1 | 0; -} - -function _wmemmove(i4, i2, i1) { - i4 = i4 | 0; - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0; - if (i4 - i2 >> 2 >>> 0 >= i1 >>> 0) { - if (i1 | 0) { - i3 = i4; - while (1) { - i1 = i1 + -1 | 0; - HEAP32[i3 >> 2] = HEAP32[i2 >> 2]; - if (!i1) break; else { - i2 = i2 + 4 | 0; - i3 = i3 + 4 | 0; - } - } - } - } else do { - i1 = i1 + -1 | 0; - HEAP32[i4 + (i1 << 2) >> 2] = HEAP32[i2 + (i1 << 2) >> 2]; - } while ((i1 | 0) != 0); - return i4 | 0; + HEAP32[$4 >> 2] = ($1 | 0) == ($2 | 0) ? $6 : ($1 - $0 | 0) + $3 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($10); + __stack_pointer = $10 + 16 | 0; } -function _jpeg_abort(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0; - i2 = i3 + 4 | 0; - do if (HEAP32[i2 >> 2] | 0) { - i1 = 1; - while (1) { - if (!i1) break; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i2 >> 2] | 0) + 36 >> 2] & 63](i3, i1); - i1 = i1 + -1 | 0; +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; } - i1 = i3 + 20 | 0; - if (!(HEAP32[i3 + 16 >> 2] | 0)) { - HEAP32[i1 >> 2] = 100; - break; - } else { - HEAP32[i1 >> 2] = 200; - HEAP32[i3 + 304 >> 2] = 0; - break; - } - } while (0); - return; -} - -function __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - while (1) { - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (i2 | 0)) break; - i4 = i4 + -12 | 0; - HEAP32[i3 >> 2] = i4; - __ZNSt3__213__vector_baseINS_4pairIfmEENS_9allocatorIS2_EEED2Ev(i4); - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEaSERKS7_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - if ((i1 | 0) != (i2 | 0)) { - i3 = HEAP8[i2 + 11 >> 0] | 0; - i4 = i3 << 24 >> 24 < 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6assignEPKcm(i1, i4 ? HEAP32[i2 >> 2] | 0 : i2, i4 ? HEAP32[i2 + 4 >> 2] | 0 : i3 & 255); - } - return; -} - -function __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i4 = i1 + 4 | 0; - i1 = HEAP32[i4 >> 2] | 0; - do { - i3 = i1 + 36 | 0; - do { - HEAP32[i1 >> 2] = 0; - i1 = i1 + 4 | 0; - } while ((i1 | 0) < (i3 | 0)); - i1 = (HEAP32[i4 >> 2] | 0) + 36 | 0; - HEAP32[i4 >> 2] = i1; - i2 = i2 + -1 | 0; - } while ((i2 | 0) != 0); - return; -} - -function _sbrk(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i4 = _emscripten_get_heap_size() | 0; - i3 = HEAP32[DYNAMICTOP_PTR >> 2] | 0; - i2 = i3 + i1 | 0; - if ((i1 | 0) > 0 & (i2 | 0) < (i3 | 0) | (i2 | 0) < 0) { - abortOnCannotGrowMemory(i2 | 0) | 0; - ___setErrNo(12); - return -1; - } - if ((i2 | 0) > (i4 | 0)) if (!(_emscripten_resize_heap(i2 | 0) | 0)) { - ___setErrNo(12); - return -1; + __stack_pointer = $2 + 16 | 0; + return $3; } - HEAP32[DYNAMICTOP_PTR >> 2] = i2; - return i3 | 0; + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________throw_length_error_28_29_20const($0); + abort(); } -function _arg_n_668(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i4; - HEAP32[i3 >> 2] = HEAP32[i2 >> 2]; - while (1) { - i5 = (HEAP32[i3 >> 2] | 0) + (4 - 1) & ~(4 - 1); - i2 = HEAP32[i5 >> 2] | 0; - HEAP32[i3 >> 2] = i5 + 4; - if (i1 >>> 0 > 1) i1 = i1 + -1 | 0; else break; - } - STACKTOP = i4; - return i2 | 0; -} - -function _alloc_fs_workspace(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i3 = HEAP32[i2 + 460 >> 2] | 0; - i4 = (HEAP32[i2 + 112 >> 2] << 1) + 4 | 0; - i5 = i2 + 120 | 0; - i6 = i2 + 4 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (HEAP32[i5 >> 2] | 0)) break; - i7 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i6 >> 2] | 0) + 4 >> 2] & 63](i2, 1, i4) | 0; - HEAP32[i3 + 68 + (i1 << 2) >> 2] = i7; - i1 = i1 + 1 | 0; +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________resize_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________size_28_29_20const($0); + if ($2 >>> 0 < $1 >>> 0) { + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________append_28unsigned_20long_29($0, $1 - $2 | 0); + return; } - return; -} - -function __ZNSt3__213__vector_baseIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEED2Ev(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) { - i4 = i2 + 4 | 0; - i1 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i3 | 0)) break; - i5 = i1 + -8 | 0; - __ZN6vision17PriorityQueueItemILi96EED2Ev(i5); - i1 = i5; - } - HEAP32[i4 >> 2] = i3; - __ZdlPv(HEAP32[i2 >> 2] | 0); - } - return; -} - -function ___string_read(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0, i7 = 0; - i4 = i1 + 84 | 0; - i6 = HEAP32[i4 >> 2] | 0; - i7 = i3 + 256 | 0; - i5 = _memchr(i6, 0, i7) | 0; - i5 = (i5 | 0) == 0 ? i7 : i5 - i6 | 0; - i3 = i5 >>> 0 < i3 >>> 0 ? i5 : i3; - _memcpy(i2 | 0, i6 | 0, i3 | 0) | 0; - HEAP32[i1 + 4 >> 2] = i6 + i3; - i2 = i6 + i5 | 0; - HEAP32[i1 + 8 >> 2] = i2; - HEAP32[i4 >> 2] = i2; - return i3 | 0; -} - -function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE6resizeEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = i1 + 4 | 0; - i5 = HEAP32[i1 >> 2] | 0; - i4 = (HEAP32[i3 >> 2] | 0) - i5 >> 2; - if (i4 >>> 0 >= i2 >>> 0) { - if (i4 >>> 0 > i2 >>> 0) HEAP32[i3 >> 2] = i5 + (i2 << 2); - } else __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8__appendEm(i1, i2 - i4 | 0); - return; -} - -function __ZNSt3__28ios_base4initEPv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0; - HEAP32[i2 + 24 >> 2] = i1; - HEAP32[i2 + 16 >> 2] = (i1 | 0) == 0 & 1; - HEAP32[i2 + 20 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 4098; - HEAP32[i2 + 12 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 6; - i3 = i2 + 28 | 0; - i1 = i2 + 32 | 0; - i2 = i1 + 40 | 0; - do { - HEAP32[i1 >> 2] = 0; - i1 = i1 + 4 | 0; - } while ((i1 | 0) < (i2 | 0)); - __ZNSt3__26localeC2Ev(i3); - return; -} - -function ___fmodeflags(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i3 = (_strchr(i1, 43) | 0) == 0; - i2 = HEAP8[i1 >> 0] | 0; - i3 = i3 ? i2 << 24 >> 24 != 114 & 1 : 2; - i4 = (_strchr(i1, 120) | 0) == 0; - i3 = i4 ? i3 : i3 | 128; - i1 = (_strchr(i1, 101) | 0) == 0; - i1 = i1 ? i3 : i3 | 524288; - i1 = i2 << 24 >> 24 == 114 ? i1 : i1 | 64; - i1 = i2 << 24 >> 24 == 119 ? i1 | 512 : i1; - return (i2 << 24 >> 24 == 97 ? i1 | 1024 : i1) | 0; -} - -function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEEC2Em(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP8[i1 + 128 >> 0] = 0; - if (i2 | 0) { - __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8allocateEm(i1, i2); - __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm(i1, i2); - } - return; -} - -function __ZN6vision12ArrayShuffleIiEEvPT_iiRi(i2, i3, i4, i5) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i1 = 0, i6 = 0, i7 = 0, i8 = 0; - i1 = 0; - while (1) { - if ((i1 | 0) >= (i4 | 0)) break; - i8 = i2 + (i1 << 2) | 0; - i6 = i2 + (((__ZN6vision10FastRandomERi(i5) | 0) % (i3 | 0) | 0) << 2) | 0; - i7 = HEAP32[i8 >> 2] | 0; - HEAP32[i8 >> 2] = HEAP32[i6 >> 2]; - HEAP32[i6 >> 2] = i7; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZNSt3__213__lower_boundIRNS_6__lessIjmEEPKjmEET0_S6_S6_RKT1_T_(i4, i5, i1, i2) { - i4 = i4 | 0; - i5 = i5 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i6 = 0; - i3 = HEAP32[i1 >> 2] | 0; - i2 = i4; - i1 = i5 - i4 >> 2; - while (1) { - if (!i1) break; - i5 = (i1 | 0) / 2 | 0; - i6 = i2 + (i5 << 2) | 0; - i4 = (HEAP32[i6 >> 2] | 0) >>> 0 < i3 >>> 0; - i2 = i4 ? i6 + 4 | 0 : i2; - i1 = i4 ? i1 + -1 - i5 | 0 : i5; - } - return i2 | 0; -} - -function __ZN6vision35MultiplyPointSimilarityInhomogenousIfEEvPT_PKS1_S4_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0; - i4 = i3 + 4 | 0; - HEAPF32[i1 >> 2] = +HEAPF32[i2 + 8 >> 2] + (+HEAPF32[i2 >> 2] * +HEAPF32[i3 >> 2] + +HEAPF32[i2 + 4 >> 2] * +HEAPF32[i4 >> 2]); - HEAPF32[i1 + 4 >> 2] = +HEAPF32[i2 + 20 >> 2] + (+HEAPF32[i2 + 12 >> 2] * +HEAPF32[i3 >> 2] + +HEAPF32[i2 + 16 >> 2] * +HEAPF32[i4 >> 2]); - return; -} - -function _strcmp(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0; - i1 = HEAP8[i2 >> 0] | 0; - i4 = HEAP8[i3 >> 0] | 0; - if (i1 << 24 >> 24 == 0 ? 1 : i1 << 24 >> 24 != i4 << 24 >> 24) i2 = i4; else { - do { - i2 = i2 + 1 | 0; - i3 = i3 + 1 | 0; - i1 = HEAP8[i2 >> 0] | 0; - i4 = HEAP8[i3 >> 0] | 0; - } while (!(i1 << 24 >> 24 == 0 ? 1 : i1 << 24 >> 24 != i4 << 24 >> 24)); - i2 = i4; - } - return (i1 & 255) - (i2 & 255) | 0; -} - -function __ZN6vision18VisualDatabaseImplD2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEED2Ev(i1 + 4 | 0); - i2 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = 0; - if (i2 | 0) { - __ZN6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEED2Ev(i2); - __ZdlPv(i2); - } - return; -} - -function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_m(i1, i4, i3, i2) { - i1 = i1 | 0; - i4 = i4 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - i2 = i1 + 4 | 0; - i1 = i3 - i4 | 0; - if ((i1 | 0) > 0) { - _memcpy(HEAP32[i2 >> 2] | 0, i4 | 0, i1 | 0) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + (((i1 >>> 0) / 12 | 0) * 12 | 0); - } - return; -} - -function _memcmp(i1, i3, i2) { - i1 = i1 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - var i4 = 0, i5 = 0; - L1 : do if (!i2) i1 = 0; else { - while (1) { - i4 = HEAP8[i1 >> 0] | 0; - i5 = HEAP8[i3 >> 0] | 0; - if (i4 << 24 >> 24 != i5 << 24 >> 24) break; - i2 = i2 + -1 | 0; - if (!i2) { - i1 = 0; - break L1; - } else { - i1 = i1 + 1 | 0; - i3 = i3 + 1 | 0; - } - } - i1 = (i4 & 255) - (i5 & 255) | 0; - } while (0); - return i1 | 0; -} - -function __ZNSt3__219__libcpp_asprintf_lEPPcP15__locale_structPKcz(i3, i1, i4, i2) { - i3 = i3 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - i2 = i2 | 0; - var i5 = 0, i6 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i5; - HEAP32[i6 >> 2] = i2; - i2 = ___uselocale(i1) | 0; - i1 = _vasprintf(i3, i4, i6) | 0; - if (i2 | 0) ___uselocale(i2) | 0; - STACKTOP = i5; - return i1 | 0; -} - -function _deleteHandle(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0; - i1 = i3 + 216 | 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - _arPattDetach(i2) | 0; - _arDeleteHandle(HEAP32[i1 >> 2] | 0) | 0; - HEAP32[i1 >> 2] = 0; - } - i1 = i3 + 228 | 0; - if (HEAP32[i1 >> 2] | 0) { - _ar3DDeleteHandle(i1) | 0; - HEAP32[i1 >> 2] = 0; - } - i1 = i3 + 192 | 0; - if (HEAP32[i1 >> 2] | 0) { - _arParamLTFree(i1) | 0; - HEAP32[i1 >> 2] = 0; - } - return; -} - -function _ar2FreeFeatureSet(i4) { - i4 = i4 | 0; - var i1 = 0, i2 = 0, i3 = 0; - i1 = HEAP32[i4 >> 2] | 0; - if (!i1) i1 = -1; else { - i3 = 0; - while (1) { - i2 = HEAP32[i1 >> 2] | 0; - if ((i3 | 0) >= (HEAP32[i1 + 4 >> 2] | 0)) break; - _free(HEAP32[i2 + (i3 * 20 | 0) >> 2] | 0); - i3 = i3 + 1 | 0; - i1 = HEAP32[i4 >> 2] | 0; - } - _free(i2); - _free(HEAP32[i4 >> 2] | 0); - HEAP32[i4 >> 2] = 0; - i1 = 0; - } - return i1 | 0; -} - -function __ZNSt3__217__libcpp_sscanf_lEPKcP15__locale_structS1_z(i3, i1, i4, i2) { - i3 = i3 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - i2 = i2 | 0; - var i5 = 0, i6 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i5; - HEAP32[i6 >> 2] = i2; - i2 = ___uselocale(i1) | 0; - i1 = _vsscanf(i3, i4, i6) | 0; - if (i2 | 0) ___uselocale(i2) | 0; - STACKTOP = i5; - return i1 | 0; -} - -function _fwrite(i2, i4, i1, i3) { - i2 = i2 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - i3 = i3 | 0; - var i5 = 0, i6 = 0; - i5 = Math_imul(i1, i4) | 0; - i1 = (i4 | 0) == 0 ? 0 : i1; - if ((HEAP32[i3 + 76 >> 2] | 0) > -1) { - i6 = (___lockfile(i3) | 0) == 0; - i2 = ___fwritex(i2, i5, i3) | 0; - if (!i6) ___unlockfile(i3); - } else i2 = ___fwritex(i2, i5, i3) | 0; - if ((i2 | 0) != (i5 | 0)) i1 = (i2 >>> 0) / (i4 >>> 0) | 0; - return i1 | 0; -} - -function ___cxa_can_catch(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i5; - HEAP32[i4 >> 2] = HEAP32[i3 >> 2]; - i1 = FUNCTION_TABLE_iiii[HEAP32[(HEAP32[i1 >> 2] | 0) + 16 >> 2] & 63](i1, i2, i4) | 0; - if (i1) HEAP32[i3 >> 2] = HEAP32[i4 >> 2]; - STACKTOP = i5; - return i1 & 1 | 0; -} - -function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEEC2Em(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - if (i2 | 0) { - __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE8allocateEm(i1, i2); - __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE18__construct_at_endEm(i1, i2); - } - return; -} - -function __ZNSt3__214__split_bufferIN6vision17PriorityQueueItemILi96EEERNS_9allocatorIS3_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; + if ($1 >>> 0 < $2 >>> 0) { + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________destruct_at_end_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, HEAP32[$0 >> 2] + Math_imul($1, 12) | 0); + } +} + +function std____2__enable_if___is_cpp17_forward_iterator_vision__Point3d_float_____value_20___20is_constructible_vision__Point3d_float__2c_20std____2__iterator_traits_vision__Point3d_float_____reference___value_2c_20void___type_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____assign_vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $4 = std____2__iterator_traits_vision__Point3d_float_____difference_type_20std____2__distance_vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___29($1, $2); + label$1: { + if ($4 >>> 0 <= std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____capacity_28_29_20const($0) >>> 0) { + HEAP32[$3 + 12 >> 2] = $2; + $5 = $2; + $6 = std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____size_28_29_20const($0) >>> 0 >= $4 >>> 0; + if (!$6) { + HEAP32[$3 + 12 >> 2] = $1; + void_20std____2__advance_vision__Point3d_float___2c_20unsigned_20long_2c_20unsigned_20long_2c_20void__28vision__Point3d_float____2c_20unsigned_20long_29($3 + 12 | 0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____size_28_29_20const($0)); + $5 = HEAP32[$3 + 12 >> 2]; + } + $1 = vision__Point3d_float___20std____2__copy_vision__Point3d_float___2c_20vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___2c_20vision__Point3d_float___29($1, $5, HEAP32[$0 >> 2]); + if (!$6) { + std____2__enable_if___is_cpp17_forward_iterator_vision__Point3d_float_____value_2c_20void___type_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______construct_at_end_vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___2c_20unsigned_20long_29($0, HEAP32[$3 + 12 >> 2], $2, $4 - std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____size_28_29_20const($0) | 0); + break label$1; + } + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______destruct_at_end_28vision__Point3d_float___29($0, $1); + break label$1; + } + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______vdeallocate_28_29($0); + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______vallocate_28unsigned_20long_29($0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______recommend_28unsigned_20long_29_20const($0, $4)); + std____2__enable_if___is_cpp17_forward_iterator_vision__Point3d_float_____value_2c_20void___type_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______construct_at_end_vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___2c_20unsigned_20long_29($0, $1, $2, $4); + } + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______invalidate_all_iterators_28_29($0); + __stack_pointer = $3 + 16 | 0; +} + +function vision__DoGPyramid__alloc_28vision__GaussianScaleSpacePyramid_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + label$1: { + if (vision__GaussianScaleSpacePyramid__size_28_29_20const($1)) { + $4 = vision__Image__type_28_29_20const(vision__GaussianScaleSpacePyramid__get_28unsigned_20long_2c_20unsigned_20long_29_20const($1, 0, 0)); + $5 = vision__Image__width_28_29_20const(vision__GaussianScaleSpacePyramid__get_28unsigned_20long_2c_20unsigned_20long_29_20const($1, 0, 0)); + $6 = vision__Image__height_28_29_20const(vision__GaussianScaleSpacePyramid__get_28unsigned_20long_2c_20unsigned_20long_29_20const($1, 0, 0)); + wasm2js_i32$0 = $0, wasm2js_i32$1 = vision__GaussianScaleSpacePyramid__numOctaves_28_29_20const($1), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $1 = vision__GaussianScaleSpacePyramid__numScalesPerOctave_28_29_20const($1) - 1 | 0; + HEAP32[$0 + 16 >> 2] = $1; + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____resize_28unsigned_20long_29($0, Math_imul(HEAP32[$0 + 12 >> 2], $1)); + label$3: while (1) { + if (HEAPU32[$0 + 12 >> 2] <= $2 >>> 0) { + break label$1; + } + $7 = $6 >>> $2 | 0; + $8 = $5 >>> $2 | 0; + $1 = 0; + while (1) { + $3 = HEAP32[$0 + 16 >> 2]; + if ($3 >>> 0 <= $1 >>> 0) { + $2 = $2 + 1 | 0; + continue label$3; + } else { + vision__Image__alloc_28vision__ImageType_2c_20unsigned_20long_2c_20unsigned_20long_2c_20int_2c_20unsigned_20long_29(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($0, Math_imul($2, $3) + $1 | 0), $4, $8, $7, -1, 1); + $1 = $1 + 1 | 0; + continue; + } + } + } + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 1223), 2098), 3289), 53), 3786), 4228), 16); + abort(); + abort(); + } +} + +function jpeg_idct_4x4($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $11 = HEAP32[$0 + 336 >> 2]; + $6 = __stack_pointer; + $6 = $6 + -64 | 0; + $0 = HEAP32[$1 + 84 >> 2]; + $1 = Math_imul(HEAP32[$0 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $5 = Math_imul(HEAP32[$0 >> 2], HEAP16[$2 >> 1]); + $8 = $1 + $5 << 2; + $7 = Math_imul(HEAP32[$0 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $9 = Math_imul(HEAP32[$0 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $10 = Math_imul($7 + $9 | 0, 4433) + 1024 | 0; + $7 = $10 + Math_imul($7, 6270) >> 11; + HEAP32[$6 + 48 >> 2] = $8 - $7; + HEAP32[$6 >> 2] = $7 + $8; + $1 = $5 - $1 << 2; + $5 = Math_imul($9, -15137) + $10 >> 11; + HEAP32[$6 + 32 >> 2] = $1 - $5; + HEAP32[$6 + 16 >> 2] = $1 + $5; + $1 = Math_imul(HEAP32[$0 + 68 >> 2], HEAP16[$2 + 34 >> 1]); + $5 = Math_imul(HEAP32[$0 + 4 >> 2], HEAP16[$2 + 2 >> 1]); + $8 = $1 + $5 << 2; + $7 = Math_imul(HEAP32[$0 + 36 >> 2], HEAP16[$2 + 18 >> 1]); + $9 = Math_imul(HEAP32[$0 + 100 >> 2], HEAP16[$2 + 50 >> 1]); + $10 = Math_imul($7 + $9 | 0, 4433) + 1024 | 0; + $7 = $10 + Math_imul($7, 6270) >> 11; + HEAP32[$6 + 52 >> 2] = $8 - $7; + HEAP32[$6 + 4 >> 2] = $7 + $8; + $1 = $5 - $1 << 2; + $5 = Math_imul($9, -15137) + $10 >> 11; + HEAP32[$6 + 36 >> 2] = $1 - $5; + HEAP32[$6 + 20 >> 2] = $1 + $5; + $1 = Math_imul(HEAP32[$0 + 72 >> 2], HEAP16[$2 + 36 >> 1]); + $5 = Math_imul(HEAP32[$0 + 8 >> 2], HEAP16[$2 + 4 >> 1]); + $8 = $1 + $5 << 2; + $7 = Math_imul(HEAP32[$0 + 40 >> 2], HEAP16[$2 + 20 >> 1]); + $9 = Math_imul(HEAP32[$0 + 104 >> 2], HEAP16[$2 + 52 >> 1]); + $10 = Math_imul($7 + $9 | 0, 4433) + 1024 | 0; + $7 = $10 + Math_imul($7, 6270) >> 11; + HEAP32[$6 + 56 >> 2] = $8 - $7; + HEAP32[$6 + 8 >> 2] = $7 + $8; + $1 = $5 - $1 << 2; + $5 = Math_imul($9, -15137) + $10 >> 11; + HEAP32[$6 + 40 >> 2] = $1 - $5; + HEAP32[$6 + 24 >> 2] = $1 + $5; + $9 = Math_imul(HEAP32[$0 + 108 >> 2], HEAP16[$2 + 54 >> 1]); + $1 = Math_imul(HEAP32[$0 + 76 >> 2], HEAP16[$2 + 38 >> 1]); + $5 = Math_imul(HEAP32[$0 + 12 >> 2], HEAP16[$2 + 6 >> 1]); + $8 = $1 + $5 << 2; + $2 = Math_imul(HEAP32[$0 + 44 >> 2], HEAP16[$2 + 22 >> 1]); + $0 = Math_imul($9 + $2 | 0, 4433) + 1024 | 0; + $2 = $0 + Math_imul($2, 6270) >> 11; + HEAP32[$6 + 60 >> 2] = $8 - $2; + HEAP32[$6 + 12 >> 2] = $2 + $8; + $2 = $5 - $1 << 2; + $0 = Math_imul($9, -15137) + $0 >> 11; + HEAP32[$6 + 44 >> 2] = $2 - $0; + HEAP32[$6 + 28 >> 2] = $0 + $2; + $0 = $11 - 384 | 0; + $2 = $6; + $1 = 0; while (1) { - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (i2 | 0)) break; - i4 = i4 + -8 | 0; - HEAP32[i3 >> 2] = i4; - __ZN6vision17PriorityQueueItemILi96EED2Ev(i4); - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNK10__cxxabiv117__class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i1, HEAP32[i2 + 8 >> 2] | 0, i6) | 0) __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(0, i2, i3, i4, i5); - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_120parse_pack_expansionINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0; - if (((i2 - i1 | 0) > 2 ? (HEAP8[i1 >> 0] | 0) == 115 : 0) ? (HEAP8[i1 + 1 >> 0] | 0) == 112 : 0) { - i4 = i1 + 2 | 0; - i3 = __ZN10__cxxabiv112_GLOBAL__N_116parse_expressionINS0_2DbEEEPKcS4_S4_RT_(i4, i2, i3) | 0; - i1 = (i3 | 0) == (i4 | 0) ? i1 : i3; - } - return i1 | 0; -} - -function _jpeg_std_error(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 137; - HEAP32[i1 + 4 >> 2] = 47; - HEAP32[i1 + 8 >> 2] = 138; - HEAP32[i1 + 12 >> 2] = 48; - HEAP32[i1 + 16 >> 2] = 139; - HEAP32[i1 + 104 >> 2] = 0; - HEAP32[i1 + 108 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - HEAP32[i1 + 112 >> 2] = 2048; - HEAP32[i1 + 116 >> 2] = 123; - HEAP32[i1 + 120 >> 2] = 0; - HEAP32[i1 + 124 >> 2] = 0; - HEAP32[i1 + 128 >> 2] = 0; - return i1 | 0; -} - -function _vsscanf(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(144); - i5 = i4; - _memset(i5 | 0, 0, 144) | 0; - HEAP32[i5 + 32 >> 2] = 36; - HEAP32[i5 + 44 >> 2] = i1; - HEAP32[i5 + 76 >> 2] = -1; - HEAP32[i5 + 84 >> 2] = i1; - i3 = _vfscanf(i5, i2, i3) | 0; - STACKTOP = i4; - return i3 | 0; -} - -function _ar2ReadJpegImage2(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = _malloc(20) | 0; - if (!i1) { - _arLog(0, 3, 20454, i3); - _exit(1); - } - i2 = _jpgread(i2, i1 + 8 | 0, i1 + 12 | 0, i1 + 4 | 0, i1 + 16 | 0) | 0; - HEAP32[i1 >> 2] = i2; - if (!i2) { - _free(i1); - i1 = 0; - } - STACKTOP = i3; - return i1 | 0; -} - -function _strncat(i6, i3, i2) { - i6 = i6 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - var i1 = 0, i4 = 0, i5 = 0; - i1 = i6 + (_strlen(i6) | 0) | 0; - L1 : do if (i2) while (1) { - i5 = HEAP8[i3 >> 0] | 0; - if (!(i5 << 24 >> 24)) break L1; - i2 = i2 + -1 | 0; - i4 = i1 + 1 | 0; - HEAP8[i1 >> 0] = i5; - if (!i2) { - i1 = i4; - break; - } else { - i3 = i3 + 1 | 0; - i1 = i4; + $6 = HEAP32[($1 << 2) + $3 >> 2] + $4 | 0; + $5 = HEAP32[$2 + 4 >> 2]; + $11 = HEAP32[$2 + 12 >> 2]; + $8 = Math_imul($5 + $11 | 0, 4433); + $5 = $8 + Math_imul($5, 6270) | 0; + $7 = HEAP32[$2 + 8 >> 2]; + $9 = HEAP32[$2 >> 2] + 16400 | 0; + $10 = $7 + $9 << 13; + HEAP8[$6 | 0] = HEAPU8[($5 + $10 >>> 18 & 1023) + $0 | 0]; + HEAP8[$6 + 3 | 0] = HEAPU8[($10 - $5 >>> 18 & 1023) + $0 | 0]; + $5 = $9 - $7 << 13; + $11 = Math_imul($11, -15137) + $8 | 0; + HEAP8[$6 + 1 | 0] = HEAPU8[($5 + $11 >>> 18 & 1023) + $0 | 0]; + HEAP8[$6 + 2 | 0] = HEAPU8[($5 - $11 >>> 18 & 1023) + $0 | 0]; + $2 = $2 + 16 | 0; + $1 = $1 + 1 | 0; + if (($1 | 0) != 4) { + continue; } - } while (0); - HEAP8[i1 >> 0] = 0; - return i6 | 0; -} - -function __ZNSt3__213__vector_baseIN6vision12FeaturePointENS_9allocatorIS2_EEED2Ev(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) { - i4 = i2 + 4 | 0; - i1 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i3 | 0)) break; - i5 = i1 + -20 | 0; - __ZN6vision12FeaturePointD2Ev(i5); - i1 = i5; - } - HEAP32[i4 >> 2] = i3; - __ZdlPv(HEAP32[i2 >> 2] | 0); - } - return; -} - -function _jinit_huff_decoder(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i3 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i1 + 4 >> 2] >> 2] & 63](i1, 1, 232) | 0; - HEAP32[i1 + 444 >> 2] = i3; - HEAP32[i3 >> 2] = 130; - HEAP32[i3 + 4 >> 2] = 20; - i2 = i3 + 56 | 0; - i3 = i3 + 40 | 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - HEAP32[i3 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function _start_iMCU_row_28(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = HEAP32[i1 + 428 >> 2] | 0; - if ((HEAP32[i1 + 328 >> 2] | 0) > 1) i1 = 1; else { - i3 = HEAP32[i1 + 332 >> 2] | 0; - i1 = HEAP32[((HEAP32[i1 + 148 >> 2] | 0) >>> 0 < ((HEAP32[i1 + 320 >> 2] | 0) + -1 | 0) >>> 0 ? i3 + 12 | 0 : i3 + 72 | 0) >> 2] | 0; - } - HEAP32[i2 + 28 >> 2] = i1; - HEAP32[i2 + 20 >> 2] = 0; - HEAP32[i2 + 24 >> 2] = 0; - return; -} - -function _arVecInnerproduct(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, d2 = 0.0, i5 = 0, d6 = 0.0; - i5 = HEAP32[i3 + 4 >> 2] | 0; - if ((i5 | 0) != (HEAP32[i4 + 4 >> 2] | 0)) _exit(0); - i1 = 0; - d2 = 0.0; - while (1) { - if ((i1 | 0) >= (i5 | 0)) break; - d6 = d2 + +HEAPF64[(HEAP32[i3 >> 2] | 0) + (i1 << 3) >> 3] * +HEAPF64[(HEAP32[i4 >> 2] | 0) + (i1 << 3) >> 3]; - i1 = i1 + 1 | 0; - d2 = d6; + break; } - return +d2; -} - -function __ZN6vision9MaxIndex6IfEEiPKT_(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = +HEAPF32[i1 + 4 >> 2] > +HEAPF32[i1 >> 2] & 1; - i2 = +HEAPF32[i1 + 8 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 2 : i2; - i2 = +HEAPF32[i1 + 12 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 3 : i2; - i2 = +HEAPF32[i1 + 16 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 4 : i2; - return (+HEAPF32[i1 + 20 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 5 : i2) | 0; } -function __ZNKSt3__25ctypeIwE5do_isEPKwS3_Pt(i2, i1, i4, i3) { - i2 = i2 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - i3 = i3 | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - if ((HEAP32[i1 >> 2] | 0) >>> 0 < 128) { - i2 = __ZNSt3__25ctypeIcE13classic_tableEv() | 0; - i2 = HEAPU16[i2 + (HEAP32[i1 >> 2] << 1) >> 1] | 0; - } else i2 = 0; - HEAP16[i3 >> 1] = i2; - i3 = i3 + 2 | 0; - i1 = i1 + 4 | 0; - } - return i4 | 0; -} - -function __ZNSt3__214__split_bufferIN6vision25DoGScaleInvariantDetector12FeaturePointERNS_9allocatorIS3_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i4 | 0) == (i2 | 0)) break; - i5 = i4 + -36 | 0; - HEAP32[i3 >> 2] = i5; - i4 = i5; - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNSt3__28ios_base16__call_callbacksENS0_5eventE(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0, i5 = 0, i6 = 0; - i4 = i2 + 32 | 0; - i5 = i2 + 36 | 0; - i1 = HEAP32[i2 + 40 >> 2] | 0; - while (1) { - if (!i1) break; - i6 = i1 + -1 | 0; - FUNCTION_TABLE_viii[HEAP32[(HEAP32[i4 >> 2] | 0) + (i6 << 2) >> 2] & 3](i3, i2, HEAP32[(HEAP32[i5 >> 2] | 0) + (i6 << 2) >> 2] | 0); - i1 = i6; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE10deallocateEPcm(i1, i3, i2) { - i1 = i1 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - if (__ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE17pointer_in_bufferEPc(i1, i3) | 0) { - i2 = i3 + (__ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE8align_upEm(i2) | 0) | 0; - i1 = i1 + 4096 | 0; - if ((i2 | 0) == (HEAP32[i1 >> 2] | 0)) HEAP32[i1 >> 2] = i3; - } else _free(i3); - return; -} - -function __ZN6vision27OrthogonalizePivot8x9Basis7IfEEbPT_S2_(i1, i3) { - i1 = i1 | 0; - i3 = i3 | 0; - var d2 = 0.0, i4 = 0; - i4 = i1 + 252 | 0; - __ZN6vision21AccumulateProjection9IfEEvPT_PKS1_S4_(i4, i1 + 216 | 0, i3 + 252 | 0); - d2 = +__ZN6vision11SumSquares9IfEET_PKS1_(i4); - if (d2 == 0.0) i1 = 0; else { - __ZN6vision12ScaleVector9IfEEvPT_PKS1_S1_(i4, i4, 1.0 / +Math_sqrt(+d2)); - i1 = 1; - } - return i1 | 0; -} - -function __ZN6vision22SampleReceptorBilinearERKNS_5ImageEff(i1, d2, d3) { - i1 = i1 | 0; - d2 = +d2; - d3 = +d3; - d2 = +__ZN6vision10ClipScalarIfEET_S1_S1_S1_(d2, 0.0, +(((__ZNK6vision5Image5widthEv(i1) | 0) + -2 | 0) >>> 0)); - return +(+__ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i1, d2, +__ZN6vision10ClipScalarIfEET_S1_S1_S1_(d3, 0.0, +(((__ZNK6vision5Image6heightEv(i1) | 0) + -2 | 0) >>> 0)))); -} - -function ___muldsi3(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0, i6 = 0; - i6 = i1 & 65535; - i5 = i2 & 65535; - i3 = Math_imul(i5, i6) | 0; - i4 = i1 >>> 16; - i1 = (i3 >>> 16) + (Math_imul(i5, i4) | 0) | 0; - i5 = i2 >>> 16; - i2 = Math_imul(i5, i6) | 0; - return (setTempRet0((i1 >>> 16) + (Math_imul(i5, i4) | 0) + (((i1 & 65535) + i2 | 0) >>> 16) | 0), i1 + i2 << 16 | i3 & 65535 | 0) | 0; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEmRKi(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0; - i4 = i1 + 4 | 0; - i6 = HEAP32[i1 >> 2] | 0; - i5 = (HEAP32[i4 >> 2] | 0) - i6 >> 2; - if (i5 >>> 0 >= i2 >>> 0) { - if (i5 >>> 0 > i2 >>> 0) HEAP32[i4 >> 2] = i6 + (i2 << 2); - } else __ZNSt3__26vectorIiNS_9allocatorIiEEE8__appendEmRKi(i1, i2 - i5 | 0, i3); - return; -} - -function __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE6resizeEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = i1 + 4 | 0; - i5 = HEAP32[i1 >> 2] | 0; - i4 = (HEAP32[i3 >> 2] | 0) - i5 >> 3; - if (i4 >>> 0 >= i2 >>> 0) { - if (i4 >>> 0 > i2 >>> 0) HEAP32[i3 >> 2] = i5 + (i2 << 3); - } else __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE8__appendEm(i1, i2 - i4 | 0); - return; -} - -function __ZNKSt3__25ctypeIwE11do_scan_notEtPKwS3_(i2, i3, i1, i4) { - i2 = i2 | 0; - i3 = i3 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) { - i1 = i4; - break; +function vision__DoGScaleInvariantDetector__detect_28vision__GaussianScaleSpacePyramid_20const__29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + if ((vision__GaussianScaleSpacePyramid__numOctaves_28_29_20const($1) | 0) > 0) { + $2 = vision__ScopedTimer__ScopedTimer_28char_20const__29($3, 17524); + if (vision__ScopedTimer__operator_20bool_28_29($2)) { + vision__DoGPyramid__compute_28vision__GaussianScaleSpacePyramid_20const__29($0 + 32 | 0, $1); } - if ((HEAP32[i1 >> 2] | 0) >>> 0 >= 128) break; - i2 = __ZNSt3__25ctypeIcE13classic_tableEv() | 0; - if (!((HEAP16[i2 + (HEAP32[i1 >> 2] << 1) >> 1] & i3) << 16 >> 16)) break; - i1 = i1 + 4 | 0; - } - return i1 | 0; -} - -function __ZN6vision16RobustHomographyIfE4initEfiii(i1, d2, i3, i4, i5) { - i1 = i1 | 0; - d2 = +d2; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm(i1, i3 * 9 | 0); - __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE6resizeEm(i1 + 24 | 0, i3); - HEAPF32[i1 + 36 >> 2] = d2; - HEAP32[i1 + 40 >> 2] = i3; - HEAP32[i1 + 44 >> 2] = i4; - HEAP32[i1 + 48 >> 2] = i5; - return; -} - -function __ZNSt3__213__vector_baseIN6vision5ImageENS_9allocatorIS2_EEED2Ev(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0, i5 = 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) { - i4 = i2 + 4 | 0; - i1 = HEAP32[i4 >> 2] | 0; - while (1) { - if ((i1 | 0) == (i3 | 0)) break; - i5 = i1 + -32 | 0; - __ZN6vision5ImageD2Ev(i5); - i1 = i5; + vision__ScopedTimer___ScopedTimer_28_29($2); + $2 = vision__ScopedTimer__ScopedTimer_28char_20const__29($3, 17642); + if (vision__ScopedTimer__operator_20bool_28_29($2)) { + vision__DoGScaleInvariantDetector__extractFeatures_28vision__GaussianScaleSpacePyramid_20const__2c_20vision__DoGPyramid_20const__29($0, $1, $0 + 32 | 0); + } + vision__ScopedTimer___ScopedTimer_28_29($2); + $2 = vision__ScopedTimer__ScopedTimer_28char_20const__29($3, 17879); + if (vision__ScopedTimer__operator_20bool_28_29($2)) { + vision__DoGScaleInvariantDetector__findSubpixelLocations_28vision__GaussianScaleSpacePyramid_20const__29($0, $1); } - HEAP32[i4 >> 2] = i3; - __ZdlPv(HEAP32[i2 >> 2] | 0); + vision__ScopedTimer___ScopedTimer_28_29($2); + $2 = vision__ScopedTimer__ScopedTimer_28char_20const__29($3, 18072); + if (vision__ScopedTimer__operator_20bool_28_29($2)) { + vision__DoGScaleInvariantDetector__pruneFeatures_28_29($0); + } + vision__ScopedTimer___ScopedTimer_28_29($2); + $2 = vision__ScopedTimer__ScopedTimer_28char_20const__29($3, 18290); + if (vision__ScopedTimer__operator_20bool_28_29($2)) { + vision__DoGScaleInvariantDetector__findFeatureOrientations_28vision__GaussianScaleSpacePyramid_20const__29($0, $1); + } + vision__ScopedTimer___ScopedTimer_28_29($2); + __stack_pointer = $3 + 32 | 0; + return; } - return; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 6792), 2098), 3289), 147), 3786), 7278), 16); + abort(); + abort(); } -function __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - while (1) { - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (i2 | 0)) break; - i4 = i4 + -20 | 0; - HEAP32[i3 >> 2] = i4; - __ZN6vision12FeaturePointD2Ev(i4); - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________annotate_delete_28_29_20const($0) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0), std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______capacity_28_29_20const($0), 12) | 0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______size_28_29_20const($0), 12) | 0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______capacity_28_29_20const($0), 12) | 0); } -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS4_PvEEEE(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - while (1) { - if (!i1) break; - i2 = HEAP32[i1 >> 2] | 0; - __ZdlPv(i1); - i1 = i2; - } - return; -} - -function __ZNKSt3__25ctypeIwE9do_narrowEPKwS3_cPc(i1, i4, i5, i6, i2) { - i1 = i1 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i2 = i2 | 0; - var i3 = 0, i7 = 0; - i3 = (i5 - i4 | 0) >>> 2; - i1 = i2; - i2 = i4; - while (1) { - if ((i2 | 0) == (i5 | 0)) break; - i7 = HEAP32[i2 >> 2] | 0; - HEAP8[i1 >> 0] = i7 >>> 0 < 128 ? i7 & 255 : i6; - i1 = i1 + 1 | 0; - i2 = i2 + 4 | 0; - } - return i4 + (i3 << 2) | 0; -} - -function _copysign(d1, d2) { - d1 = +d1; - d2 = +d2; - var i3 = 0, i4 = 0; - HEAPF64[tempDoublePtr >> 3] = d1; - i4 = HEAP32[tempDoublePtr >> 2] | 0; - i3 = HEAP32[tempDoublePtr + 4 >> 2] | 0; - HEAPF64[tempDoublePtr >> 3] = d2; - i3 = HEAP32[tempDoublePtr + 4 >> 2] & -2147483648 | i3 & 2147483647; - HEAP32[tempDoublePtr >> 2] = i4; - HEAP32[tempDoublePtr + 4 >> 2] = i3; - return +(+HEAPF64[tempDoublePtr >> 3]); -} - -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP8[i2 >> 0] = 0; - HEAP32[i2 + 4 >> 2] = i1; - i1 = i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) | 0; - if (!(HEAP32[i1 + 16 >> 2] | 0)) { - i1 = HEAP32[i1 + 72 >> 2] | 0; - if (i1 | 0) __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEE5flushEv(i1) | 0; - HEAP8[i2 >> 0] = 1; - } - return; -} - -function __ZNSt3__213unordered_mapIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS4_EEEENS_4hashIiEENS_8equal_toIiEENS5_INS_4pairIKiS7_EEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEEENS_22__unordered_map_hasherIiS9_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS9_NS_8equal_toIiEELb1EEENS6_IS9_EEED2Ev(i1); - return; -} - -function __ZNSt3__213unordered_mapIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEENS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS5_EEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEEENS_22__unordered_map_hasherIiS7_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS7_NS_8equal_toIiEELb1EEENS_9allocatorIS7_EEED2Ev(i1); - return; -} - -function __ZNSt3__26vectorIhNS_9allocatorIhEEE6resizeEmRKh(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0, i6 = 0; - i4 = i1 + 4 | 0; - i6 = HEAP32[i1 >> 2] | 0; - i5 = (HEAP32[i4 >> 2] | 0) - i6 | 0; - if (i5 >>> 0 >= i2 >>> 0) { - if (i5 >>> 0 > i2 >>> 0) HEAP32[i4 >> 2] = i6 + i2; - } else __ZNSt3__26vectorIhNS_9allocatorIhEEE8__appendEmRKh(i1, i2 - i5 | 0, i3); - return; -} - -function _find_biggest_color_pop(i1, i6) { - i1 = i1 | 0; - i6 = i6 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0, i7 = 0; - i3 = 0; - i2 = 0; - i5 = 0; - while (1) { - if ((i5 | 0) >= (i6 | 0)) break; - i4 = HEAP32[i1 + 28 >> 2] | 0; - if ((i4 | 0) > (i2 | 0)) { - i7 = (HEAP32[i1 + 24 >> 2] | 0) > 0; - i3 = i7 ? i1 : i3; - i2 = i7 ? i4 : i2; - } - i5 = i5 + 1 | 0; - i1 = i1 + 32 | 0; - } - return i3 | 0; -} - -function __ZNSt3__218__libcpp_refstringC2EPKc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i4 = _strlen(i2) | 0; - i3 = __Znwm(i4 + 13 | 0) | 0; - HEAP32[i3 >> 2] = i4; - HEAP32[i3 + 4 >> 2] = i4; - HEAP32[i3 + 8 >> 2] = 0; - i3 = __ZNSt3__215__refstring_imp12_GLOBAL__N_113data_from_repEPNS1_9_Rep_baseE(i3) | 0; - _memcpy(i3 | 0, i2 | 0, i4 + 1 | 0) | 0; - HEAP32[i1 >> 2] = i3; - return; -} - -function __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEEC2EmmS3_(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i5 = 0; - i5 = i2 + 12 | 0; - HEAP32[i5 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = i1; - if (!i3) i1 = 0; else i1 = __Znwm(i3) | 0; - HEAP32[i2 >> 2] = i1; - i4 = i1 + i4 | 0; - HEAP32[i2 + 8 >> 2] = i4; - HEAP32[i2 + 4 >> 2] = i4; - HEAP32[i5 >> 2] = i1 + i3; - return; -} - -function __ZN10emscripten8internal11BindingTypeINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEE12fromWireTypeEPNS9_Ut_E(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = HEAP32[i2 >> 2] | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i1, i2 + 4 | 0, i3); - return; -} - -function __ZNSt3__28numpunctIwEC2Em(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 + 4 >> 2] = i2 + -1; - HEAP32[i1 >> 2] = 16948; - HEAP32[i1 + 8 >> 2] = 46; - HEAP32[i1 + 12 >> 2] = 44; - i2 = i1 + 16 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; +function vision__GaussianScaleSpacePyramid__effectiveSigma_28unsigned_20long_2c_20float_29_20const($0, $1, $2) { + label$1: { + if ($2 >= Math_fround(0)) { + if (!(Math_fround(HEAP32[$0 + 20 >> 2]) > $2)) { + break label$1; + } + return Math_fround(pow_28float_2c_20float_29(HEAPF32[$0 + 24 >> 2], $2) * Math_fround(1 << $1)); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 22747), 22129), 3289), 232), 3786), 22781), 16); + abort(); + abort(); } - return; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 22299), 22129), 3289), 233), 3786), 22898), 16); + abort(); + abort(); } -function __ZNKSt3__25ctypeIwE10do_scan_isEtPKwS3_(i2, i3, i1, i4) { - i2 = i2 | 0; - i3 = i3 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) { - i1 = i4; +function pass2_fs_dither($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, $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, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0; + if (($3 | 0) > 0) { + $21 = HEAP32[$0 + 336 >> 2]; + $4 = HEAP32[$0 + 136 >> 2]; + $30 = HEAP32[$4 + 8 >> 2]; + $31 = HEAP32[$4 + 4 >> 2]; + $32 = HEAP32[$4 >> 2]; + $12 = HEAP32[$0 + 484 >> 2]; + $22 = HEAP32[$12 + 40 >> 2]; + $33 = HEAP32[$12 + 24 >> 2]; + $16 = HEAP32[$0 + 112 >> 2]; + $34 = $16 - 1 | 0; + $4 = Math_imul($16, 3); + $35 = $4 - 3 | 0; + $36 = $4 + 3 << 1; + while (1) { + $4 = $23 << 2; + $13 = HEAP32[$4 + $2 >> 2]; + $7 = HEAP32[$1 + $4 >> 2]; + $17 = $12; + label$3: { + if (HEAP32[$12 + 36 >> 2]) { + $13 = $13 + $34 | 0; + $7 = $7 + $35 | 0; + $14 = -3; + $25 = -1; + $4 = 0; + $6 = HEAP32[$12 + 32 >> 2] + $36 | 0; + break label$3; + } + $14 = 3; + $25 = 1; + $4 = 1; + $6 = HEAP32[$12 + 32 >> 2]; + } + HEAP32[$17 + 36 >> 2] = $4; + label$5: { + if (!$16) { + $18 = 0; + $19 = 0; + $20 = 0; + break label$5; + } + $37 = $14 + 2 | 0; + $38 = $14 + 1 | 0; + $15 = 0; + $8 = 0; + $9 = 0; + $26 = 0; + $27 = 0; + $17 = 0; + $20 = 0; + $19 = 0; + $18 = 0; + $24 = $16; + $4 = $6; + while (1) { + $6 = ($14 << 1) + $4 | 0; + $10 = HEAPU8[(HEAP32[((HEAP16[$6 >> 1] + $15 | 0) + 8 >> 4 << 2) + $22 >> 2] + HEAPU8[$7 | 0] | 0) + $21 | 0]; + $28 = $10 >>> 3 | 0; + $11 = HEAPU8[(HEAP32[((HEAP16[($38 << 1) + $4 >> 1] + $8 | 0) + 8 >> 4 << 2) + $22 >> 2] + HEAPU8[$7 + 1 | 0] | 0) + $21 | 0]; + $8 = $11 >>> 2 | 0; + $15 = HEAPU8[(HEAP32[((HEAP16[($37 << 1) + $4 >> 1] + $9 | 0) + 8 >> 4 << 2) + $22 >> 2] + HEAPU8[$7 + 2 | 0] | 0) + $21 | 0]; + $9 = $15 >>> 3 | 0; + $29 = (HEAP32[($28 << 2) + $33 >> 2] + ($8 << 6) | 0) + ($9 << 1) | 0; + $5 = HEAPU16[$29 >> 1]; + if (!$5) { + fill_inverse_cmap($0, $28, $8, $9); + $5 = HEAPU16[$29 >> 1]; + } + $5 = ($5 & 65535) - 1 | 0; + HEAP8[$13 | 0] = $5; + $8 = HEAPU8[$5 + $32 | 0]; + $9 = HEAPU8[$5 + $31 | 0]; + $5 = $15 - HEAPU8[$5 + $30 | 0] | 0; + HEAP16[$4 + 4 >> 1] = Math_imul($5, 3) + $18; + $11 = $11 - $9 | 0; + HEAP16[$4 + 2 >> 1] = Math_imul($11, 3) + $19; + $10 = $10 - $8 | 0; + HEAP16[$4 >> 1] = Math_imul($10, 3) + $20; + $13 = $13 + $25 | 0; + $7 = $7 + $14 | 0; + $9 = Math_imul($5, 7); + $8 = Math_imul($11, 7); + $15 = Math_imul($10, 7); + $18 = Math_imul($5, 5) + $17 | 0; + $19 = Math_imul($11, 5) + $27 | 0; + $20 = Math_imul($10, 5) + $26 | 0; + $26 = $10; + $27 = $11; + $17 = $5; + $4 = $6; + $24 = $24 - 1 | 0; + if ($24) { + continue; + } + break; + } + } + HEAP16[$6 + 4 >> 1] = $18; + HEAP16[$6 + 2 >> 1] = $19; + HEAP16[$6 >> 1] = $20; + $23 = $23 + 1 | 0; + if (($23 | 0) != ($3 | 0)) { + continue; + } break; } - if ((HEAP32[i1 >> 2] | 0) >>> 0 < 128 ? (i2 = __ZNSt3__25ctypeIcE13classic_tableEv() | 0, (HEAP16[i2 + (HEAP32[i1 >> 2] << 1) >> 1] & i3) << 16 >> 16) : 0) break; - i1 = i1 + 4 | 0; - } - return i1 | 0; -} - -function _merged_1v_upsample(i1, i2, i3, i4, i5, i6, i7) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - FUNCTION_TABLE_viiii[HEAP32[(HEAP32[i1 + 452 >> 2] | 0) + 12 >> 2] & 31](i1, i2, HEAP32[i3 >> 2] | 0, i5 + (HEAP32[i6 >> 2] << 2) | 0); - HEAP32[i6 >> 2] = (HEAP32[i6 >> 2] | 0) + 1; - HEAP32[i3 >> 2] = (HEAP32[i3 >> 2] | 0) + 1; - return; -} - -function _output_message(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i2 = STACKTOP; - STACKTOP = STACKTOP + 208 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(208); - i3 = i2 + 200 | 0; - i4 = i2; - FUNCTION_TABLE_vii[HEAP32[(HEAP32[i1 >> 2] | 0) + 12 >> 2] & 63](i1, i4); - i1 = HEAP32[3454] | 0; - HEAP32[i3 >> 2] = i4; - _fprintf(i1, 38281, i3) | 0; - STACKTOP = i2; - return; -} - -function __ZN6vision16ComputeEdgeScoreERfPKf(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, d4 = 0.0; - i3 = i2 + 16 | 0; - d4 = +HEAPF32[i2 >> 2] * +HEAPF32[i3 >> 2]; - d4 = d4 - +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i2 + 4 >> 2]); - if (d4 == 0.0) i1 = 0; else { - d4 = +__ZN6vision3sqrIfEET_S1_(+HEAPF32[i2 >> 2] + +HEAPF32[i3 >> 2]) / d4; - HEAPF32[i1 >> 2] = d4; - i1 = 1; - } - return i1 | 0; -} - -function __ZNSt3__28numpunctIcEC2Em(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 + 4 >> 2] = i2 + -1; - HEAP32[i1 >> 2] = 16908; - HEAP8[i1 + 8 >> 0] = 46; - HEAP8[i1 + 9 >> 0] = 44; - i2 = i1 + 12 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEEC2Em(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - if (i2 | 0) { - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8allocateEm(i1, i2); - __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endEm(i1, i2); } - return; } -function __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___PODSmallVector_28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul____29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___PODSmallVector_28_29($0); + if ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___isInline_28_29_20const($1)) { + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____20std____2__copy__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____29($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___begin_28_29($1), $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___end_28_29($1), HEAP32[$0 >> 2]); + wasm2js_i32$0 = $0, wasm2js_i32$1 = HEAP32[$0 >> 2] + ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___size_28_29_20const($1) << 2) | 0, + HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___clear_28_29($1); + return $0; + } + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___clearInline_28_29($1); + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SubobjectExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 96 | 0; + __stack_pointer = $2; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 88 | 0, 37311); + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 32 >> 2] = $3; + HEAP32[$2 + 36 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 32 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 80 | 0, 38079); + $5 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 24 >> 2] = $5; + HEAP32[$2 + 28 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 24 | 0); + $0 = $0 + 16 | 0; + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($0)) { + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 72 | 0, 37634); + break label$1; + } + if (HEAPU8[$28anonymous_20namespace_29__itanium_demangle__StringView__operator_5b_5d_28unsigned_20long_29_20const($0) | 0] == 110) { + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 - -64 | 0, 37684); + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $3; + HEAP32[$2 + 20 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $28anonymous_20namespace_29__itanium_demangle__StringView__dropFront_28unsigned_20long_29_20const($2 + 56 | 0, $0, 1); + $0 = $2 + 56 | 0; + break label$1; + } + $3 = HEAP32[$0 + 4 >> 2]; + $5 = HEAP32[$0 >> 2]; + HEAP32[$2 + 48 >> 2] = $5; + HEAP32[$2 + 52 >> 2] = $3; + $0 = $2 + 48 | 0; + } + $3 = HEAP32[$0 >> 2]; + $5 = HEAP32[$0 + 4 >> 2]; + $0 = $3; + $3 = $2; + HEAP32[$3 + 8 >> 2] = $0; + HEAP32[$3 + 12 >> 2] = $5; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37108); + $5 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 96 | 0; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; while (1) { - i4 = HEAP32[i3 >> 2] | 0; - if ((i4 | 0) == (i2 | 0)) break; - i4 = i4 + -32 | 0; - HEAP32[i3 >> 2] = i4; - __ZN6vision5ImageD2Ev(i4); - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEE17__deallocate_nodeEPNS_16__hash_node_baseIPNS_11__hash_nodeIS2_PvEEEE(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - while (1) { - if (!i1) break; - i2 = HEAP32[i1 >> 2] | 0; - __ZdlPv(i1); - i1 = i2; - } - return; -} - -function __ZN6vision4NodeILi96EEC2EiPKh(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - HEAP32[i1 >> 2] = i2; - HEAP8[i1 + 100 >> 0] = 1; - i2 = i1 + 104 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = 0; - HEAP32[i2 + 20 >> 2] = 0; - __ZN6vision10CopyVectorIhEEvPT_PKS1_m(i1 + 4 | 0, i3, 96); - return; -} - -function _skip_input_data(i3, i1) { - i3 = i3 | 0; - i1 = i1 | 0; - var i2 = 0, i4 = 0, i5 = 0; - i4 = HEAP32[i3 + 24 >> 2] | 0; - if ((i1 | 0) > 0) { - i5 = i4 + 4 | 0; - while (1) { - i2 = HEAP32[i5 >> 2] | 0; - if ((i1 | 0) <= (i2 | 0)) break; - _fill_input_buffer(i3) | 0; - i1 = i1 - i2 | 0; - } - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + i1; - HEAP32[i5 >> 2] = i2 - i1; - } - return; -} - -function _jcopy_sample_rows(i2, i3, i5, i6, i1, i7) { - i2 = i2 | 0; - i3 = i3 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i1 = i1 | 0; - i7 = i7 | 0; - var i4 = 0; - i4 = i1; - i2 = i2 + (i3 << 2) | 0; - i1 = i5 + (i6 << 2) | 0; - while (1) { - if ((i4 | 0) <= 0) break; - _memcpy(HEAP32[i1 >> 2] | 0, HEAP32[i2 >> 2] | 0, i7 | 0) | 0; - i4 = i4 + -1 | 0; - i2 = i2 + 4 | 0; - i1 = i1 + 4 | 0; - } - return; -} - -function __ZNSt3__26vectorIhNS_9allocatorIhEEE8allocateEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - if ((__ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv(i1) | 0) >>> 0 < i2 >>> 0) __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1); else { - i3 = __Znwm(i2) | 0; - HEAP32[i1 + 4 >> 2] = i3; - HEAP32[i1 >> 2] = i3; - HEAP32[i1 + 8 >> 2] = i3 + i2; - return; + if (($1 | 0) == ($4 | 0)) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______construct_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________alloc_28_29($0), std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____20std____2____to_address_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($1)); + $1 = $1 + 12 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; } } -function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endEmRKi(i1, i5, i6) { - i1 = i1 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i3 = i1 + 8 | 0; - i2 = HEAP32[i3 >> 2] | 0; - i1 = i5; - i4 = i2; - while (1) { - HEAP32[i4 >> 2] = HEAP32[i6 >> 2]; - i1 = i1 + -1 | 0; - if (!i1) break; else i4 = i4 + 4 | 0; - } - HEAP32[i3 >> 2] = i2 + (i5 << 2); - return; -} - -function __ZN6vision22bilinear_interpolationIfEET_RKNS_5ImageEff(i1, d2, d3) { - i1 = i1 | 0; - d2 = +d2; - d3 = +d3; - var i4 = 0, i5 = 0, i6 = 0; - i6 = __ZNK6vision5Image3getEv(i1) | 0; - i5 = __ZNK6vision5Image5widthEv(i1) | 0; - i4 = __ZNK6vision5Image6heightEv(i1) | 0; - return +(+__ZN6vision22bilinear_interpolationIfEET_PKS1_mmmff(i6, i5, i4, __ZNK6vision5Image4stepEv(i1) | 0, d2, d3)); -} - -function __ZN10emscripten8internal7InvokerIiJEE6invokeEPFivE(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i2; - i1 = FUNCTION_TABLE_i[i1 & 1]() | 0; - HEAP32[i3 >> 2] = i1; - i1 = __ZN10emscripten8internal11BindingTypeIiE10toWireTypeERKi(i3) | 0; - STACKTOP = i2; - return i1 | 0; -} - -function __ZNKSt3__25ctypeIcE10do_toupperEPcPKc(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; +function vision__HoughSimilarityVoting__getMaximumNumberOfVotes_28float__2c_20int__29_20const($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f32$0 = Math_fround(0); + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$1 >> 2] = 0; + HEAP32[$2 >> 2] = -1; + $4 = $0 + 92 | 0; + $0 = std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________hash_map_const_iterator_28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($3 + 8 | 0, std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____begin_28_29($4)); while (1) { - if ((i2 | 0) == (i3 | 0)) break; - i1 = HEAP8[i2 >> 0] | 0; - if (i1 << 24 >> 24 > -1) { - i1 = __ZNSt3__25ctypeIcE21__classic_upper_tableEv() | 0; - i1 = HEAP32[i1 + (HEAP8[i2 >> 0] << 2) >> 2] & 255; + if (std____2__operator___28std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20const__2c_20std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20const__29($0, std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________hash_map_const_iterator_28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($3, std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____end_28_29($4)))) { + $5 = std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($0); + if (HEAPF32[$1 >> 2] < Math_fround(HEAPU32[$5 + 4 >> 2])) { + wasm2js_i32$0 = $2, wasm2js_i32$1 = HEAP32[std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($0) >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(HEAPU32[std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($0) + 4 >> 2]), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + } + std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28int_29($0, 0); + continue; } - HEAP8[i2 >> 0] = i1; - i2 = i2 + 1 | 0; + break; } - return i3 | 0; + __stack_pointer = $3 + 16 | 0; } -function __ZNKSt3__25ctypeIcE10do_tolowerEPcPKc(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - while (1) { - if ((i2 | 0) == (i3 | 0)) break; - i1 = HEAP8[i2 >> 0] | 0; - if (i1 << 24 >> 24 > -1) { - i1 = __ZNSt3__25ctypeIcE21__classic_lower_tableEv() | 0; - i1 = HEAP32[i1 + (HEAP8[i2 >> 0] << 2) >> 2] & 255; - } - HEAP8[i2 >> 0] = i1; - i2 = i2 + 1 | 0; - } - return i3 | 0; -} - -function __ZN6vision11ScopedTimerC2EPKc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - __ZN6vision5TimerC2Ev(i1); - i3 = i1 + 16 | 0; - HEAP32[i3 >> 2] = 0; - HEAP32[i3 + 4 >> 2] = 0; - HEAP32[i3 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i3, i2, __ZNSt3__211char_traitsIcE6lengthEPKc(i2) | 0); - __ZN6vision5Timer5startEv(i1); - return; -} - -function _shl(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i5 = 0; - i5 = i4 + 4 | 0; - if (i1 >>> 0 > 31) { - i3 = HEAP32[i4 >> 2] | 0; - HEAP32[i5 >> 2] = i3; - HEAP32[i4 >> 2] = 0; - i1 = i1 + -32 | 0; - i2 = 0; - } else { - i2 = HEAP32[i4 >> 2] | 0; - i3 = HEAP32[i5 >> 2] | 0; +function process_restart($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = HEAP32[$0 + 468 >> 2]; + if (!(FUNCTION_TABLE[HEAP32[HEAP32[$0 + 464 >> 2] + 8 >> 2]]($0) | 0)) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 25; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); } - HEAP32[i5 >> 2] = i2 >>> (32 - i1 | 0) | i3 << i1; - HEAP32[i4 >> 2] = i2 << i1; - return; -} - -function __ZNSt3__214__split_bufferIPKN6vision4NodeILi96EEERNS_9allocatorIS5_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i4 | 0) == (i2 | 0)) break; - i5 = i4 + -4 | 0; - HEAP32[i3 >> 2] = i5; - i4 = i5; - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNSt3__214__split_bufferIPN6vision4NodeILi96EEERNS_9allocatorIS4_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i4 | 0) == (i2 | 0)) break; - i5 = i4 + -4 | 0; - HEAP32[i3 >> 2] = i5; - i4 = i5; - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEEC2Em(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - if (i2 | 0) { - __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE8allocateEm(i1, i2); - __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE18__construct_at_endEm(i1, i2); - } - return; -} - -function __ZNSt3__214__split_bufferIN6vision7Point3dIfEERNS_9allocatorIS3_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i4 | 0) == (i2 | 0)) break; - i5 = i4 + -12 | 0; - HEAP32[i3 >> 2] = i5; - i4 = i5; + if (HEAP32[$0 + 340 >> 2] > 0) { + while (1) { + $4 = $3 << 2; + $5 = HEAP32[($4 + $0 | 0) + 344 >> 2]; + label$4: { + label$5: { + if (HEAP32[$0 + 224 >> 2]) { + if (HEAP32[$0 + 412 >> 2]) { + break label$5; + } + if (HEAP32[$0 + 420 >> 2]) { + break label$4; + } + } + $1 = HEAP32[((HEAP32[$5 + 20 >> 2] << 2) + $2 | 0) + 60 >> 2]; + HEAP8[$1 | 0] = 0; + HEAP8[$1 + 1 | 0] = 0; + HEAP8[$1 + 2 | 0] = 0; + HEAP8[$1 + 3 | 0] = 0; + HEAP8[$1 + 4 | 0] = 0; + HEAP8[$1 + 5 | 0] = 0; + HEAP8[$1 + 6 | 0] = 0; + HEAP8[$1 + 7 | 0] = 0; + HEAP8[$1 + 56 | 0] = 0; + HEAP8[$1 + 57 | 0] = 0; + HEAP8[$1 + 58 | 0] = 0; + HEAP8[$1 + 59 | 0] = 0; + HEAP8[$1 + 60 | 0] = 0; + HEAP8[$1 + 61 | 0] = 0; + HEAP8[$1 + 62 | 0] = 0; + HEAP8[$1 + 63 | 0] = 0; + HEAP8[$1 + 48 | 0] = 0; + HEAP8[$1 + 49 | 0] = 0; + HEAP8[$1 + 50 | 0] = 0; + HEAP8[$1 + 51 | 0] = 0; + HEAP8[$1 + 52 | 0] = 0; + HEAP8[$1 + 53 | 0] = 0; + HEAP8[$1 + 54 | 0] = 0; + HEAP8[$1 + 55 | 0] = 0; + HEAP8[$1 + 40 | 0] = 0; + HEAP8[$1 + 41 | 0] = 0; + HEAP8[$1 + 42 | 0] = 0; + HEAP8[$1 + 43 | 0] = 0; + HEAP8[$1 + 44 | 0] = 0; + HEAP8[$1 + 45 | 0] = 0; + HEAP8[$1 + 46 | 0] = 0; + HEAP8[$1 + 47 | 0] = 0; + HEAP8[$1 + 32 | 0] = 0; + HEAP8[$1 + 33 | 0] = 0; + HEAP8[$1 + 34 | 0] = 0; + HEAP8[$1 + 35 | 0] = 0; + HEAP8[$1 + 36 | 0] = 0; + HEAP8[$1 + 37 | 0] = 0; + HEAP8[$1 + 38 | 0] = 0; + HEAP8[$1 + 39 | 0] = 0; + HEAP8[$1 + 24 | 0] = 0; + HEAP8[$1 + 25 | 0] = 0; + HEAP8[$1 + 26 | 0] = 0; + HEAP8[$1 + 27 | 0] = 0; + HEAP8[$1 + 28 | 0] = 0; + HEAP8[$1 + 29 | 0] = 0; + HEAP8[$1 + 30 | 0] = 0; + HEAP8[$1 + 31 | 0] = 0; + HEAP8[$1 + 16 | 0] = 0; + HEAP8[$1 + 17 | 0] = 0; + HEAP8[$1 + 18 | 0] = 0; + HEAP8[$1 + 19 | 0] = 0; + HEAP8[$1 + 20 | 0] = 0; + HEAP8[$1 + 21 | 0] = 0; + HEAP8[$1 + 22 | 0] = 0; + HEAP8[$1 + 23 | 0] = 0; + HEAP8[$1 + 8 | 0] = 0; + HEAP8[$1 + 9 | 0] = 0; + HEAP8[$1 + 10 | 0] = 0; + HEAP8[$1 + 11 | 0] = 0; + HEAP8[$1 + 12 | 0] = 0; + HEAP8[$1 + 13 | 0] = 0; + HEAP8[$1 + 14 | 0] = 0; + HEAP8[$1 + 15 | 0] = 0; + $1 = $2 + $4 | 0; + HEAP32[$1 + 40 >> 2] = 0; + HEAP32[$1 + 24 >> 2] = 0; + if (!HEAP32[$0 + 224 >> 2]) { + if (HEAP32[$0 + 436 >> 2]) { + break label$5; + } + break label$4; + } + if (!HEAP32[$0 + 412 >> 2]) { + break label$4; + } + } + memset(HEAP32[((HEAP32[$5 + 24 >> 2] << 2) + $2 | 0) + 124 >> 2], 0, 256); + } + $3 = $3 + 1 | 0; + if (($3 | 0) < HEAP32[$0 + 340 >> 2]) { + continue; + } + break; + } } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNKSt3__25ctypeIwE10do_toupperEPwPKw(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; + HEAP32[$2 + 20 >> 2] = -16; + $1 = $2; + HEAP32[$1 + 12 >> 2] = 0; + HEAP32[$1 + 16 >> 2] = 0; + HEAP32[$1 + 56 >> 2] = HEAP32[$0 + 280 >> 2]; +} + +function std____2__enable_if___is_cpp17_forward_iterator_vision__FeaturePoint____value_20___20is_constructible_vision__FeaturePoint_2c_20std____2__iterator_traits_vision__FeaturePoint____reference___value_2c_20void___type_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____assign_vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $4 = std____2__iterator_traits_vision__FeaturePoint____difference_type_20std____2__distance_vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__29($1, $2); + label$1: { + if ($4 >>> 0 <= std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____capacity_28_29_20const($0) >>> 0) { + HEAP32[$3 + 12 >> 2] = $2; + $5 = $2; + $6 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0) >>> 0 >= $4 >>> 0; + if (!$6) { + HEAP32[$3 + 12 >> 2] = $1; + void_20std____2__advance_vision__FeaturePoint__2c_20unsigned_20long_2c_20unsigned_20long_2c_20void__28vision__FeaturePoint___2c_20unsigned_20long_29($3 + 12 | 0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0)); + $5 = HEAP32[$3 + 12 >> 2]; + } + $1 = vision__FeaturePoint__20std____2__copy_vision__FeaturePoint__2c_20vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20vision__FeaturePoint__29($1, $5, HEAP32[$0 >> 2]); + if (!$6) { + std____2__enable_if___is_cpp17_forward_iterator_vision__FeaturePoint____value_2c_20void___type_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______construct_at_end_vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20unsigned_20long_29($0, HEAP32[$3 + 12 >> 2], $2, $4 - std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0) | 0); + break label$1; + } + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______destruct_at_end_28vision__FeaturePoint__29($0, $1); + break label$1; + } + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______vdeallocate_28_29($0); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______vallocate_28unsigned_20long_29($0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______recommend_28unsigned_20long_29_20const($0, $4)); + std____2__enable_if___is_cpp17_forward_iterator_vision__FeaturePoint____value_2c_20void___type_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______construct_at_end_vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20unsigned_20long_29($0, $1, $2, $4); + } + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______invalidate_all_iterators_28_29($0); + __stack_pointer = $3 + 16 | 0; +} + +function std____2____num_get_wchar_t_____stage2_float_loop_28wchar_t_2c_20bool__2c_20char__2c_20char__2c_20char___2c_20wchar_t_2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20unsigned_20int__2c_20wchar_t__29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) { + var $12 = 0; + $12 = __stack_pointer - 16 | 0; + __stack_pointer = $12; + HEAP32[$12 + 12 >> 2] = $0; + label$1: { + label$2: { + if (($0 | 0) == ($5 | 0)) { + if (!HEAPU8[$1 | 0]) { + break label$2; + } + $0 = 0; + HEAP8[$1 | 0] = 0; + $11 = HEAP32[$4 >> 2]; + HEAP32[$4 >> 2] = $11 + 1; + HEAP8[$11 | 0] = 46; + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($7)) { + break label$1; + } + $11 = HEAP32[$9 >> 2]; + if (($11 - $8 | 0) > 159) { + break label$1; + } + $1 = HEAP32[$10 >> 2]; + HEAP32[$9 >> 2] = $11 + 4; + HEAP32[$11 >> 2] = $1; + break label$1; + } + label$4: { + if (($0 | 0) != ($6 | 0)) { + break label$4; + } + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($7)) { + break label$4; + } + if (!HEAPU8[$1 | 0]) { + break label$2; + } + $0 = 0; + $11 = HEAP32[$9 >> 2]; + if (($11 - $8 | 0) > 159) { + break label$1; + } + $0 = HEAP32[$10 >> 2]; + HEAP32[$9 >> 2] = $11 + 4; + HEAP32[$11 >> 2] = $0; + $0 = 0; + HEAP32[$10 >> 2] = 0; + break label$1; + } + $0 = -1; + $11 = wchar_t__20std____2__find_wchar_t__2c_20wchar_t__28wchar_t__2c_20wchar_t__2c_20wchar_t_20const__29($11, $11 + 128 | 0, $12 + 12 | 0) - $11 | 0; + if (($11 | 0) > 124) { + break label$1; + } + $5 = HEAPU8[($11 >> 2) + 57760 | 0]; + label$5: { + label$6: { + $0 = $11 & -5; + if (($0 | 0) != 88) { + if (($0 | 0) != 96) { + break label$6; + } + $11 = HEAP32[$4 >> 2]; + if (($11 | 0) != ($3 | 0)) { + $0 = -1; + if ((HEAPU8[$11 - 1 | 0] & 95) != (HEAPU8[$2 | 0] & 127)) { + break label$1; + } + } + HEAP32[$4 >> 2] = $11 + 1; + HEAP8[$11 | 0] = $5; + $0 = 0; + break label$1; + } + HEAP8[$2 | 0] = 80; + break label$5; + } + $0 = $5 & 95; + if (($0 | 0) != HEAPU8[$2 | 0]) { + break label$5; + } + HEAP8[$2 | 0] = $0 | 128; + if (!HEAPU8[$1 | 0]) { + break label$5; + } + HEAP8[$1 | 0] = 0; + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($7)) { + break label$5; + } + $0 = HEAP32[$9 >> 2]; + if (($0 - $8 | 0) > 159) { + break label$5; + } + $1 = HEAP32[$10 >> 2]; + HEAP32[$9 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = $1; + } + $0 = HEAP32[$4 >> 2]; + HEAP32[$4 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $5; + $0 = 0; + if (($11 | 0) > 84) { + break label$1; + } + HEAP32[$10 >> 2] = HEAP32[$10 >> 2] + 1; + break label$1; + } + $0 = -1; + } + __stack_pointer = $12 + 16 | 0; + return $0; +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______swap_out_circular_buffer_28std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, $1) { + var $2 = 0; + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long__2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long____29(std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_std____2__pair_float_2c_20unsigned_20long_____value_20___20is_move_assignable_std____2__pair_float_2c_20unsigned_20long_____value_2c_20void___type_20std____2__swap_std____2__pair_float_2c_20unsigned_20long____28std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long____29($0, $2); + std____2__enable_if_is_move_constructible_std____2__pair_float_2c_20unsigned_20long_____value_20___20is_move_assignable_std____2__pair_float_2c_20unsigned_20long_____value_2c_20void___type_20std____2__swap_std____2__pair_float_2c_20unsigned_20long____28std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long____29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_std____2__pair_float_2c_20unsigned_20long_____value_20___20is_move_assignable_std____2__pair_float_2c_20unsigned_20long_____value_2c_20void___type_20std____2__swap_std____2__pair_float_2c_20unsigned_20long____28std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long____29(std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______end_cap_28_29($0), std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____size_28_29_20const($0)); + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______invalidate_all_iterators_28_29($0); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______29($0, $1) { + var $2 = 0; + $0 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________node_alloc_28_29($0); while (1) { - if ((i2 | 0) == (i3 | 0)) break; - i1 = HEAP32[i2 >> 2] | 0; - if (i1 >>> 0 < 128) { - i1 = __ZNSt3__25ctypeIcE21__classic_upper_tableEv() | 0; - i1 = HEAP32[i1 + (HEAP32[i2 >> 2] << 2) >> 2] | 0; + if ($1) { + $2 = HEAP32[$1 >> 2]; + $1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________upcast_28_29($1); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______destroy_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_____29($0, std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int________get_ptr_28std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_____29($1 + 8 | 0)); + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20unsigned_20long_29($0, $1, 1); + $1 = $2; + continue; } - HEAP32[i2 >> 2] = i1; - i2 = i2 + 4 | 0; + break; } - return i3 | 0; } -function __ZNKSt3__25ctypeIwE10do_tolowerEPwPKw(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - while (1) { - if ((i2 | 0) == (i3 | 0)) break; - i1 = HEAP32[i2 >> 2] | 0; - if (i1 >>> 0 < 128) { - i1 = __ZNSt3__25ctypeIcE21__classic_lower_tableEv() | 0; - i1 = HEAP32[i1 + (HEAP32[i2 >> 2] << 2) >> 2] | 0; - } - HEAP32[i2 >> 2] = i1; - i2 = i2 + 4 | 0; - } - return i3 | 0; -} - -function __ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i1, HEAP32[i2 + 8 >> 2] | 0, 0) | 0) __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(0, i2, i3, i4); - return; -} - -function __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endIPhEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_m(i1, i4, i3, i2) { - i1 = i1 | 0; - i4 = i4 | 0; - i3 = i3 | 0; - i2 = i2 | 0; - i2 = i1 + 4 | 0; - i1 = i3 - i4 | 0; - if ((i1 | 0) > 0) { - _memcpy(HEAP32[i2 >> 2] | 0, i4 | 0, i1 | 0) | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + i1; - } - return; -} - -function __ZNSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = i1 + 4 | 0; - i1 = i2; - i2 = HEAP32[i3 >> 2] | 0; - do { - __ZN6vision17PriorityQueueItemILi96EEC2Ev(i2); - i2 = (HEAP32[i3 >> 2] | 0) + 8 | 0; - HEAP32[i3 >> 2] = i2; - i1 = i1 + -1 | 0; - } while ((i1 | 0) != 0); - return; -} - -function _memmove(i1, i4, i2) { - i1 = i1 | 0; - i4 = i4 | 0; - i2 = i2 | 0; - var i3 = 0; - if ((i4 | 0) < (i1 | 0) & (i1 | 0) < (i4 + i2 | 0)) { - i3 = i1; - i4 = i4 + i2 | 0; - i1 = i1 + i2 | 0; - while ((i2 | 0) > 0) { - i1 = i1 - 1 | 0; - i4 = i4 - 1 | 0; - i2 = i2 - 1 | 0; - HEAP8[i1 >> 0] = HEAP8[i4 >> 0] | 0; - } - i1 = i3; - } else _memcpy(i1, i4, i2) | 0; - return i1 | 0; -} - -function _arLog(i1, i3, i4, i5) { - i1 = i1 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i2 = 0; - i2 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = i2; - if ((i4 | 0) != 0 & (HEAP32[3368] | 0) <= (i3 | 0) ? HEAP8[i4 >> 0] | 0 : 0) { - HEAP32[i1 >> 2] = i5; - _arLogv(0, i3, i4, i1); - } - STACKTOP = i2; - return; -} - -function __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i1 = HEAP32[i1 + 4 >> 2] | 0; - if (i1 | 0 ? (i3 = i1 + 4 | 0, i2 = HEAP32[i3 >> 2] | 0, HEAP32[i3 >> 2] = i2 + -1, (i2 | 0) == 0) : 0) { - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 255](i1); - __ZNSt3__219__shared_weak_count14__release_weakEv(i1); - } - return; -} - -function _shr(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0, i5 = 0; - i5 = i4 + 4 | 0; - if (i1 >>> 0 > 31) { - i3 = HEAP32[i5 >> 2] | 0; - HEAP32[i4 >> 2] = i3; - HEAP32[i5 >> 2] = 0; - i1 = i1 + -32 | 0; - i2 = 0; - } else { - i2 = HEAP32[i5 >> 2] | 0; - i3 = HEAP32[i4 >> 2] | 0; - } - HEAP32[i4 >> 2] = i2 << 32 - i1 | i3 >>> i1; - HEAP32[i5 >> 2] = i2 >>> i1; - return; -} - -function _ar3DCreateHandle2(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i1 = _malloc(4) | 0; - if (!i1) { - _arLog(0, 3, 20454, i3); - _exit(1); - } - i2 = _icpCreateHandle(i2) | 0; - HEAP32[i1 >> 2] = i2; - if (!i2) { - _free(i1); - i1 = 0; - } - STACKTOP = i3; - return i1 | 0; -} - -function __ZNSt3__26vectorItNS_9allocatorItEEE6resizeEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = i1 + 4 | 0; - i5 = HEAP32[i1 >> 2] | 0; - i4 = (HEAP32[i3 >> 2] | 0) - i5 >> 1; - if (i4 >>> 0 >= i2 >>> 0) { - if (i4 >>> 0 > i2 >>> 0) HEAP32[i3 >> 2] = i5 + (i2 << 1); - } else __ZNSt3__26vectorItNS_9allocatorItEEE8__appendEm(i1, i2 - i4 | 0); - return; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = i1 + 4 | 0; - i5 = HEAP32[i1 >> 2] | 0; - i4 = (HEAP32[i3 >> 2] | 0) - i5 >> 2; - if (i4 >>> 0 >= i2 >>> 0) { - if (i4 >>> 0 > i2 >>> 0) HEAP32[i3 >> 2] = i5 + (i2 << 2); - } else __ZNSt3__26vectorIiNS_9allocatorIiEEE8__appendEm(i1, i2 - i4 | 0); - return; -} - -function __ZNSt3__26vectorIfNS_9allocatorIfEEE6resizeEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = i1 + 4 | 0; - i5 = HEAP32[i1 >> 2] | 0; - i4 = (HEAP32[i3 >> 2] | 0) - i5 >> 2; - if (i4 >>> 0 >= i2 >>> 0) { - if (i4 >>> 0 > i2 >>> 0) HEAP32[i3 >> 2] = i5 + (i2 << 2); - } else __ZNSt3__26vectorIfNS_9allocatorIfEEE8__appendEm(i1, i2 - i4 | 0); - return; -} - -function ___ftello(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0, i4 = 0; - if ((HEAP32[i2 + 76 >> 2] | 0) > -1) { - i4 = (___lockfile(i2) | 0) == 0; - i3 = ___ftello_unlocked(i2) | 0; - i1 = getTempRet0() | 0; - if (i4) i2 = i3; else { - ___unlockfile(i2); - i2 = i3; +function kpmLoadRefDataSet($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + HEAP8[$5 + 14 | 0] = HEAPU8[21304]; + HEAP16[$5 + 12 >> 1] = HEAPU8[21302] | HEAPU8[21303] << 8; + label$1: { + label$2: { + label$3: { + label$5: { + if (!($2 ? $0 : 0)) { + arLog(0, 3, 11981, 0); + break label$5; + } + $4 = kpmFopen($0, $1, $5 + 12 | 0); + if (!$4) { + HEAP32[$5 >> 2] = $0; + HEAP32[$5 + 8 >> 2] = $1 ? $1 : 11038; + HEAP32[$5 + 4 >> 2] = $1 ? 9731 : 11038; + arLog(0, 3, 14333, $5); + break label$5; + } + $0 = dlcalloc(1, 16); + if (!$0) { + break label$1; + } + $6 = $0 + 4 | 0; + label$8: { + if ((fread($6, 4, 1, $4) | 0) != 1) { + break label$8; + } + $1 = HEAP32[$0 + 4 >> 2]; + if (($1 | 0) <= 0) { + break label$8; + } + $1 = dlmalloc(Math_imul($1, 132)); + HEAP32[$0 >> 2] = $1; + if (!$1) { + break label$1; + } + while (1) { + if (HEAP32[$0 + 4 >> 2] > ($3 | 0)) { + $1 = Math_imul($3, 132); + if ((fread($1 + HEAP32[$0 >> 2] | 0, 8, 1, $4) | 0) != 1) { + break label$8; + } + if ((fread((HEAP32[$0 >> 2] + $1 | 0) + 8 | 0, 8, 1, $4) | 0) != 1) { + break label$8; + } + if ((fread((HEAP32[$0 >> 2] + $1 | 0) + 16 | 0, 108, 1, $4) | 0) != 1) { + break label$8; + } + if ((fread((HEAP32[$0 >> 2] + $1 | 0) + 124 | 0, 4, 1, $4) | 0) != 1) { + break label$8; + } + $3 = $3 + 1 | 0; + if ((fread((HEAP32[$0 >> 2] + $1 | 0) + 128 | 0, 4, 1, $4) | 0) == 1) { + continue; + } + break label$8; + } + break; + } + if ((fread($0 + 12 | 0, 4, 1, $4) | 0) != 1) { + break label$8; + } + $1 = 0; + $3 = HEAP32[$0 + 12 >> 2]; + if (($3 | 0) <= 0) { + HEAP32[$0 + 8 >> 2] = 0; + break label$8; + } + $3 = dlmalloc(Math_imul($3, 12)); + HEAP32[$0 + 8 >> 2] = $3; + if (!$3) { + break label$1; + } + while (1) { + if (HEAP32[$0 + 12 >> 2] <= ($1 | 0)) { + break label$3; + } + $3 = Math_imul($1, 12); + if ((fread(($3 + HEAP32[$0 + 8 >> 2] | 0) + 8 | 0, 4, 1, $4) | 0) != 1) { + break label$8; + } + if ((fread((HEAP32[$0 + 8 >> 2] + $3 | 0) + 4 | 0, 4, 1, $4) | 0) != 1) { + break label$8; + } + $3 = HEAP32[$0 + 8 >> 2] + $3 | 0; + $7 = HEAP32[$3 + 4 >> 2]; + $6 = dlmalloc(Math_imul($7, 12)); + HEAP32[$3 >> 2] = $6; + if (!$6) { + break label$1; + } + $1 = $1 + 1 | 0; + if ((fread($6, 12, $7, $4) | 0) == ($7 | 0)) { + continue; + } + break; + } + } + arLog(0, 3, 14720, 0); + dlfree(HEAP32[$0 + 8 >> 2]); + dlfree(HEAP32[$0 >> 2]); + dlfree($0); + fclose($4); + } + $0 = -1; + break label$2; + } + HEAP32[$2 >> 2] = $0; + fclose($4); + $0 = 0; } - } else { - i2 = ___ftello_unlocked(i2) | 0; - i1 = getTempRet0() | 0; + __stack_pointer = $5 + 16 | 0; + return $0; } - setTempRet0(i1 | 0); - return i2 | 0; + arLog(0, 3, 3611, 0); + exit(1); + abort(); } -function __ZNSt3__214__split_bufferIN6vision7match_tERNS_9allocatorIS2_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i4 | 0) == (i2 | 0)) break; - i5 = i4 + -8 | 0; - HEAP32[i3 >> 2] = i5; - i4 = i5; - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNSt3__211__stdoutbufIwE5imbueERKNS_6localeE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 24 >> 2] & 127](i1) | 0; - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 58228) | 0; - HEAP32[i1 + 36 >> 2] = i2; - i2 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 127](i2) | 0) & 1; - HEAP8[i1 + 44 >> 0] = i2; - return; -} - -function __ZNSt3__211__stdoutbufIcE5imbueERKNS_6localeE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - FUNCTION_TABLE_ii[HEAP32[(HEAP32[i1 >> 2] | 0) + 24 >> 2] & 127](i1) | 0; - i2 = __ZNKSt3__26locale9use_facetERNS0_2idE(i2, 58220) | 0; - HEAP32[i1 + 36 >> 2] = i2; - i2 = (FUNCTION_TABLE_ii[HEAP32[(HEAP32[i2 >> 2] | 0) + 28 >> 2] & 127](i2) | 0) & 1; - HEAP8[i1 + 44 >> 0] = i2; - return; -} - -function _reset_input_controller(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 + 436 >> 2] | 0; - HEAP32[i2 >> 2] = 70; - HEAP32[i2 + 16 >> 2] = 0; - HEAP32[i2 + 20 >> 2] = 0; - HEAP32[i2 + 24 >> 2] = 1; - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 16 >> 2] & 255](i1); - FUNCTION_TABLE_vi[HEAP32[HEAP32[i1 + 440 >> 2] >> 2] & 255](i1); - HEAP32[i1 + 160 >> 2] = 0; - return; -} - -function __ZNSt3__214__split_bufferI12multi_markerRNS_9allocatorIS1_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i4 | 0) == (i2 | 0)) break; - i5 = i4 + -8 | 0; - HEAP32[i3 >> 2] = i5; - i4 = i5; - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNSt3__214__split_bufferINS_4pairIfmEERNS_9allocatorIS2_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i4 | 0) == (i2 | 0)) break; - i5 = i4 + -8 | 0; - HEAP32[i3 >> 2] = i5; - i4 = i5; - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i4 | 0) == (i2 | 0)) break; - i5 = i4 + -8 | 0; - HEAP32[i3 >> 2] = i5; - i4 = i5; - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function _jinit_input_controller(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i1 + 4 >> 2] >> 2] & 63](i1, 0, 28) | 0; - HEAP32[i1 + 436 >> 2] = i2; - HEAP32[i2 >> 2] = 70; - HEAP32[i2 + 4 >> 2] = 117; - HEAP32[i2 + 8 >> 2] = 118; - HEAP32[i2 + 12 >> 2] = 119; - HEAP32[i2 + 16 >> 2] = 0; - HEAP32[i2 + 20 >> 2] = 0; - HEAP32[i2 + 24 >> 2] = 1; - return; -} - -function __ZNSt3__26vectorIhNS_9allocatorIhEEE6resizeEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0, i5 = 0; - i3 = i1 + 4 | 0; - i5 = HEAP32[i1 >> 2] | 0; - i4 = (HEAP32[i3 >> 2] | 0) - i5 | 0; - if (i4 >>> 0 >= i2 >>> 0) { - if (i4 >>> 0 > i2 >>> 0) HEAP32[i3 >> 2] = i5 + i2; - } else __ZNSt3__26vectorIhNS_9allocatorIhEEE8__appendEm(i1, i2 - i4 | 0); - return; -} - -function __ZNSt3__214__split_bufferIN6vision12FeaturePointERNS_9allocatorIS2_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = i1 + 8 | 0; - i1 = i2; - i2 = HEAP32[i3 >> 2] | 0; - do { - __ZN6vision12FeaturePointC2Ev(i2); - i2 = (HEAP32[i3 >> 2] | 0) + 20 | 0; - HEAP32[i3 >> 2] = i2; - i1 = i1 + -1 | 0; - } while ((i1 | 0) != 0); - return; -} - -function __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEE18__construct_at_endEmRKh(i1, i2, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i3 = 0; - i3 = i1 + 8 | 0; - i1 = i2; - i2 = HEAP32[i3 >> 2] | 0; - do { - HEAP8[i2 >> 0] = HEAP8[i4 >> 0] | 0; - i2 = (HEAP32[i3 >> 2] | 0) + 1 | 0; - HEAP32[i3 >> 2] = i2; - i1 = i1 + -1 | 0; - } while ((i1 | 0) != 0); - return; -} - -function __ZNKSt3__27collateIwE12do_transformEPKwS3_(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPKwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(i1, i3, i4); - return; -} - -function __ZNKSt3__27collateIcE12do_transformEPKcS3_(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(i1, i3, i4); - return; -} - -function __ZNKSt3__220__time_get_c_storageIwE3__xEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55592] | 0) == 0 ? ___cxa_guard_acquire(55592) | 0 : 0) { - HEAP32[14517] = 0; - HEAP32[14518] = 0; - HEAP32[14519] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(58068, 15184, __ZNSt3__211char_traitsIwE6lengthEPKw(15184) | 0); - } - return 58068; -} - -function __ZNKSt3__220__time_get_c_storageIwE3__rEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55600] | 0) == 0 ? ___cxa_guard_acquire(55600) | 0 : 0) { - HEAP32[14520] = 0; - HEAP32[14521] = 0; - HEAP32[14522] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(58080, 15220, __ZNSt3__211char_traitsIwE6lengthEPKw(15220) | 0); - } - return 58080; -} - -function __ZNKSt3__220__time_get_c_storageIwE3__cEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55608] | 0) == 0 ? ___cxa_guard_acquire(55608) | 0 : 0) { - HEAP32[14523] = 0; - HEAP32[14524] = 0; - HEAP32[14525] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(58092, 15268, __ZNSt3__211char_traitsIwE6lengthEPKw(15268) | 0); - } - return 58092; -} - -function __ZNKSt3__220__time_get_c_storageIwE3__XEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55584] | 0) == 0 ? ___cxa_guard_acquire(55584) | 0 : 0) { - HEAP32[14514] = 0; - HEAP32[14515] = 0; - HEAP32[14516] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(58056, 15148, __ZNSt3__211char_traitsIwE6lengthEPKw(15148) | 0); - } - return 58056; -} - -function __ZNKSt3__220__time_get_c_storageIcE3__rEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55520] | 0) == 0 ? ___cxa_guard_acquire(55520) | 0 : 0) { - HEAP32[14503] = 0; - HEAP32[14504] = 0; - HEAP32[14505] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(58012, 47239, __ZNSt3__211char_traitsIcE6lengthEPKc(47239) | 0); - } - return 58012; -} - -function __ZNKSt3__220__time_get_c_storageIcE3__cEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55528] | 0) == 0 ? ___cxa_guard_acquire(55528) | 0 : 0) { - HEAP32[14506] = 0; - HEAP32[14507] = 0; - HEAP32[14508] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(58024, 47251, __ZNSt3__211char_traitsIcE6lengthEPKc(47251) | 0); - } - return 58024; -} - -function __ZNKSt3__220__time_get_c_storageIcE3__XEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55504] | 0) == 0 ? ___cxa_guard_acquire(55504) | 0 : 0) { - HEAP32[14497] = 0; - HEAP32[14498] = 0; - HEAP32[14499] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(57988, 47221, __ZNSt3__211char_traitsIcE6lengthEPKc(47221) | 0); - } - return 57988; -} - -function _arMatrixAlloc(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0, i4 = 0; - i1 = _malloc(12) | 0; - do if (i1) { - i4 = _malloc(Math_imul(i2 << 3, i3) | 0) | 0; - HEAP32[i1 >> 2] = i4; - if (!i4) { - _free(i1); - i1 = 0; - break; - } else { - HEAP32[i1 + 4 >> 2] = i2; - HEAP32[i1 + 8 >> 2] = i3; - break; - } - } else i1 = 0; while (0); - return i1 | 0; -} +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________28std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function ar2Tracking2dSub($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = Math_fround(0); + $8 = __stack_pointer - 48 | 0; + __stack_pointer = $8; + $10 = HEAP32[$2 + 8 >> 2]; + $11 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + $7 = HEAP32[$5 >> 2]; + if (!$7) { + $7 = ar2GenTemplate(HEAP32[$0 + 28 >> 2], HEAP32[$0 + 32 >> 2]); + HEAP32[$5 >> 2] = $7; + } + $13 = -1; + $9 = (Math_imul($2, 48) + $0 | 0) + 48 | 0; + $12 = HEAP32[$1 >> 2] + Math_imul($2, 112) | 0; + label$2: { + if ((ar2SetTemplateSub(HEAP32[$0 + 12 >> 2], $9, HEAP32[$12 >> 2], HEAP32[HEAP32[$12 + 4 >> 2] >> 2] + Math_imul($11, 20) | 0, $10, $7) | 0) < 0) { + break label$2; + } + $7 = HEAP32[$5 >> 2]; + $14 = Math_fround(Math_fround(Math_fround(Math_imul((HEAP32[$7 + 16 >> 2] + HEAP32[$7 + 20 >> 2] | 0) + 1 | 0, (HEAP32[$7 + 8 >> 2] + HEAP32[$7 + 12 >> 2] | 0) + 1 | 0) | 0) * Math_fround(5)) * Math_fround(5)); + $7 = HEAP32[$7 + 28 >> 2]; + if ($14 > Math_fround(Math_imul($7, $7) | 0)) { + break label$2; + } + label$3: { + label$4: { + switch (HEAP32[$1 + 152 >> 2] - 1 | 0) { + case 0: + ar2GetSearchPoint(HEAP32[$0 + 12 >> 2], $9, 0, 0, HEAP32[HEAP32[HEAP32[(HEAP32[$1 >> 2] + Math_imul($2, 112) | 0) + 4 >> 2] >> 2] + Math_imul($11, 20) >> 2] + Math_imul($10, 20) | 0, $8 + 16 | 0); + break label$3; -function __ZSt9terminatev() { - var i1 = 0, i2 = 0; - i1 = ___cxa_get_globals_fast() | 0; - if ((i1 | 0 ? (i2 = HEAP32[i1 >> 2] | 0, i2 | 0) : 0) ? (i1 = i2 + 48 | 0, (HEAP32[i1 >> 2] & -256 | 0) == 1126902528 ? (HEAP32[i1 + 4 >> 2] | 0) == 1129074247 : 0) : 0) __ZSt11__terminatePFvvE(HEAP32[i2 + 12 >> 2] | 0); - __ZSt11__terminatePFvvE(__ZSt13get_terminatev() | 0); -} + case 1: + ar2GetSearchPoint(HEAP32[$0 + 12 >> 2], $9, (Math_imul($2, 48) + $0 | 0) + 528 | 0, 0, HEAP32[HEAP32[HEAP32[(HEAP32[$1 >> 2] + Math_imul($2, 112) | 0) + 4 >> 2] >> 2] + Math_imul($11, 20) >> 2] + Math_imul($10, 20) | 0, $8 + 16 | 0); + break label$3; -function __ZNKSt3__220__time_get_c_storageIcE3__xEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55512] | 0) == 0 ? ___cxa_guard_acquire(55512) | 0 : 0) { - HEAP32[14500] = 0; - HEAP32[14501] = 0; - HEAP32[14502] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(58e3, 47230, __ZNSt3__211char_traitsIcE6lengthEPKc(47230) | 0); - } - return 58e3; + default: + break label$4; + } + } + $7 = Math_imul($2, 48) + $0 | 0; + ar2GetSearchPoint(HEAP32[$0 + 12 >> 2], $9, $7 + 528 | 0, $7 + 1008 | 0, HEAP32[HEAP32[HEAP32[(HEAP32[$1 >> 2] + Math_imul($2, 112) | 0) + 4 >> 2] >> 2] + Math_imul($11, 20) >> 2] + Math_imul($10, 20) | 0, $8 + 16 | 0); + } + $13 = 0; + $7 = HEAP32[$0 + 4 >> 2]; + $9 = HEAP32[$0 + 8 >> 2]; + $12 = HEAP32[$0 + 20 >> 2]; + $0 = HEAP32[$0 + 24 >> 2]; + if ((ar2GetBestMatching($3, $4, $7, $9, $12, HEAP32[$5 >> 2], $0, $0, $8 + 16 | 0, $8 + 12 | 0, $8 + 8 | 0, $6) | 0) < 0) { + $13 = -1; + break label$2; + } + HEAPF32[$6 + 4 >> 2] = HEAP32[$8 + 12 >> 2]; + HEAPF32[$6 + 8 >> 2] = HEAP32[$8 + 8 >> 2]; + $0 = HEAP32[$1 >> 2] + Math_imul($2, 112) | 0; + $2 = HEAP32[HEAP32[HEAP32[$0 + 4 >> 2] >> 2] + Math_imul($11, 20) >> 2] + Math_imul($10, 20) | 0; + HEAPF32[$6 + 12 >> 2] = HEAPF32[$0 + 24 >> 2] + Math_fround(Math_fround(HEAPF32[$0 + 12 >> 2] * HEAPF32[$2 + 8 >> 2]) + Math_fround(HEAPF32[$0 + 16 >> 2] * HEAPF32[$2 + 12 >> 2])); + HEAPF32[$6 + 16 >> 2] = HEAPF32[$0 + 40 >> 2] + Math_fround(Math_fround(HEAPF32[$0 + 28 >> 2] * HEAPF32[$2 + 8 >> 2]) + Math_fround(HEAPF32[$0 + 32 >> 2] * HEAPF32[$2 + 12 >> 2])); + HEAPF32[$6 + 20 >> 2] = HEAPF32[$0 + 56 >> 2] + Math_fround(Math_fround(HEAPF32[$0 + 44 >> 2] * HEAPF32[$2 + 8 >> 2]) + Math_fround(HEAPF32[$0 + 48 >> 2] * HEAPF32[$2 + 12 >> 2])); + } + __stack_pointer = $8 + 48 | 0; + return $13; +} +function vision__Timer__duration_in_seconds_28_29_20const($0) { + var $1 = 0, $2 = 0; + label$1: { + $1 = HEAPF64[$0 >> 3]; + if ($1 >= 0) { + $2 = HEAPF64[$0 + 8 >> 3]; + if (!($2 >= 0)) { + break label$1; + } + return $2 - $1; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 1266), 1952), 3289), 80), 3786), 4201), 16); + abort(); + abort(); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 5154), 1952), 3289), 81), 3786), 5737), 16); + abort(); + abort(); } -function __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE13queryKeyframeEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = HEAP32[i1 + 64 >> 2]; - i1 = HEAP32[i1 + 68 >> 2] | 0; - HEAP32[i2 + 4 >> 2] = i1; - if (i1 | 0) { - i2 = i1 + 4 | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 1; +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseCallOffset_28_29($0) { + var $1 = 0, $2 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 104)) { + $2 = 1; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($1 + 8 | 0, $0, 1); + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($1 + 8 | 0)) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95) ^ 1; + break label$1; + } + $2 = 1; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 118)) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($1 + 8 | 0, $0, 1); + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($1 + 8 | 0)) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95)) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($1, $0, 1); + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($1)) { + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 95) ^ 1; + } + __stack_pointer = $1 + 16 | 0; + return $2; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______grow_by_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $7 = __stack_pointer - 16 | 0; + __stack_pointer = $7; + $8 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____max_size_28_29_20const($0); + if ($8 - $1 >>> 0 >= $2 >>> 0) { + $9 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29($0); + label$2: { + if (($8 >>> 1 | 0) - 16 >>> 0 > $1 >>> 0) { + HEAP32[$7 + 8 >> 2] = $1 << 1; + HEAP32[$7 + 12 >> 2] = $1 + $2; + $2 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______recommend_28unsigned_20long_29(HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($7 + 12 | 0, $7 + 8 | 0) >> 2]); + break label$2; + } + $2 = $8 - 1 | 0; + } + $8 = $2 + 1 | 0; + $2 = std____2__allocator_traits_std____2__allocator_wchar_t____allocate_28std____2__allocator_wchar_t___2c_20unsigned_20long_29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0), $8); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______invalidate_all_iterators_28_29($0); + if ($4) { + std____2__char_traits_wchar_t___copy_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29(wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($2), wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($9), $4); + } + $10 = $4 + $5 | 0; + if (($10 | 0) != ($3 | 0)) { + $4 = $4 << 2; + std____2__char_traits_wchar_t___copy_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29((wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($2) + $4 | 0) + ($6 << 2) | 0, (wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($9) + $4 | 0) + ($5 << 2) | 0, $3 - $10 | 0); + } + $1 = $1 + 1 | 0; + if (($1 | 0) != 2) { + std____2__allocator_traits_std____2__allocator_wchar_t____deallocate_28std____2__allocator_wchar_t___2c_20wchar_t__2c_20unsigned_20long_29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0), $9, $1); + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_pointer_28wchar_t__29($0, $2); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_cap_28unsigned_20long_29($0, $8); + __stack_pointer = $7 + 16 | 0; + return; } - return; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______throw_length_error_28_29_20const($0); + abort(); } -function _calloc(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0; - if (i2) { - i1 = Math_imul(i3, i2) | 0; - if ((i3 | i2) >>> 0 > 65535) i1 = ((i1 >>> 0) / (i2 >>> 0) | 0 | 0) == (i3 | 0) ? i1 : -1; - } else i1 = 0; - i2 = _malloc(i1) | 0; - if (!i2) return i2 | 0; - if (!(HEAP32[i2 + -4 >> 2] & 3)) return i2 | 0; - _memset(i2 | 0, 0, i1 | 0) | 0; - return i2 | 0; -} +function std____2____num_get_char_____stage2_float_loop_28char_2c_20bool__2c_20char__2c_20char__2c_20char___2c_20char_2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20unsigned_20int__2c_20char__29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) { + var $12 = 0; + $12 = __stack_pointer - 16 | 0; + __stack_pointer = $12; + HEAP8[$12 + 15 | 0] = $0; + label$1: { + label$2: { + if (($0 | 0) == ($5 | 0)) { + if (!HEAPU8[$1 | 0]) { + break label$2; + } + $0 = 0; + HEAP8[$1 | 0] = 0; + $11 = HEAP32[$4 >> 2]; + HEAP32[$4 >> 2] = $11 + 1; + HEAP8[$11 | 0] = 46; + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($7)) { + break label$1; + } + $11 = HEAP32[$9 >> 2]; + if (($11 - $8 | 0) > 159) { + break label$1; + } + $5 = HEAP32[$10 >> 2]; + HEAP32[$9 >> 2] = $11 + 4; + HEAP32[$11 >> 2] = $5; + break label$1; + } + label$4: { + if (($0 | 0) != ($6 | 0)) { + break label$4; + } + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($7)) { + break label$4; + } + if (!HEAPU8[$1 | 0]) { + break label$2; + } + $0 = 0; + $11 = HEAP32[$9 >> 2]; + if (($11 - $8 | 0) > 159) { + break label$1; + } + $0 = HEAP32[$10 >> 2]; + HEAP32[$9 >> 2] = $11 + 4; + HEAP32[$11 >> 2] = $0; + $0 = 0; + HEAP32[$10 >> 2] = 0; + break label$1; + } + $0 = -1; + $11 = char__20std____2__find_char__2c_20char__28char__2c_20char__2c_20char_20const__29($11, $11 + 32 | 0, $12 + 15 | 0) - $11 | 0; + if (($11 | 0) > 31) { + break label$1; + } + $5 = HEAPU8[$11 + 57760 | 0]; + label$5: { + label$6: { + switch (($11 & -2) - 22 | 0) { + case 2: + $11 = HEAP32[$4 >> 2]; + if (($11 | 0) != ($3 | 0) & (HEAPU8[$11 - 1 | 0] & 95) != (HEAPU8[$2 | 0] & 127)) { + break label$1; + } + HEAP32[$4 >> 2] = $11 + 1; + HEAP8[$11 | 0] = $5; + $0 = 0; + break label$1; -function __ZNSt3__218__libcpp_refstringD2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - if (__ZNKSt3__218__libcpp_refstring15__uses_refcountEv(i1) | 0 ? (i2 = __ZNSt3__215__refstring_imp12_GLOBAL__N_113rep_from_dataEPKc_986(HEAP32[i1 >> 2] | 0) | 0, i3 = i2 + 8 | 0, i1 = HEAP32[i3 >> 2] | 0, HEAP32[i3 >> 2] = i1 + -1, (i1 + -1 | 0) < 0) : 0) __ZdlPv(i2); - return; -} + case 0: + HEAP8[$2 | 0] = 80; + break label$5; -function _arUtilGetPixelSize(i1) { - i1 = i1 | 0; - switch (i1 | 0) { - case 1: - case 0: - { - i1 = 3; - break; - } - case 6: - case 4: - case 3: - case 2: - { - i1 = 4; - break; - } - case 14: - case 13: - case 12: - case 5: - { - i1 = 1; - break; - } - case 11: - case 10: - case 9: - case 8: - case 7: - { - i1 = 2; - break; + default: + break label$6; + } + } + $0 = $5 & 95; + if (($0 | 0) != HEAPU8[$2 | 0]) { + break label$5; + } + HEAP8[$2 | 0] = $0 | 128; + if (!HEAPU8[$1 | 0]) { + break label$5; + } + HEAP8[$1 | 0] = 0; + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($7)) { + break label$5; + } + $0 = HEAP32[$9 >> 2]; + if (($0 - $8 | 0) > 159) { + break label$5; + } + $1 = HEAP32[$10 >> 2]; + HEAP32[$9 >> 2] = $0 + 4; + HEAP32[$0 >> 2] = $1; + } + $0 = HEAP32[$4 >> 2]; + HEAP32[$4 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $5; + $0 = 0; + if (($11 | 0) > 21) { + break label$1; + } + HEAP32[$10 >> 2] = HEAP32[$10 >> 2] + 1; + break label$1; } - default: - i1 = 0; + $0 = -1; } - return i1 | 0; + __stack_pointer = $12 + 16 | 0; + return $0; } -function __ZNSt3__214__split_bufferItRNS_9allocatorItEEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i4 | 0) == (i2 | 0)) break; - i5 = i4 + -2 | 0; - HEAP32[i3 >> 2] = i5; - i4 = i5; - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i4 | 0) == (i2 | 0)) break; - i5 = i4 + -4 | 0; - HEAP32[i3 >> 2] = i5; - i4 = i5; - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i4 | 0) == (i2 | 0)) break; - i5 = i4 + -4 | 0; - HEAP32[i3 >> 2] = i5; - i4 = i5; - } - i1 = HEAP32[i1 >> 2] | 0; - if (i1 | 0) __ZdlPv(i1); - return; -} - -function __ZNSt3__214__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = i1 + 8 | 0; - i1 = i2; - i2 = HEAP32[i3 >> 2] | 0; - do { - HEAP32[i2 >> 2] = 0; - i2 = (HEAP32[i3 >> 2] | 0) + 4 | 0; - HEAP32[i3 >> 2] = i2; - i1 = i1 + -1 | 0; - } while ((i1 | 0) != 0); - return; -} - -function __ZN6vision16SequentialVectorIiEEvPT_iS1_(i3, i4, i1) { - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i5 = 0; - L1 : do if ((i4 | 0) >= 1) { - HEAP32[i3 >> 2] = i1; - i2 = 1; - while (1) { - if ((i2 | 0) == (i4 | 0)) break L1; - i5 = i1 + 1 | 0; - HEAP32[i3 + (i2 << 2) >> 2] = i5; - i2 = i2 + 1 | 0; - i1 = i5; - } - } while (0); - return; -} - -function __ZNSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = i1 + 4 | 0; - i1 = i2; - i2 = HEAP32[i3 >> 2] | 0; - do { - __ZN6vision12FeaturePointC2Ev(i2); - i2 = (HEAP32[i3 >> 2] | 0) + 20 | 0; - HEAP32[i3 >> 2] = i2; - i1 = i1 + -1 | 0; - } while ((i1 | 0) != 0); - return; -} - -function __ZNSt3__213unordered_mapIiNS_6vectorIiNS_9allocatorIiEEEENS_4hashIiEENS_8equal_toIiEENS2_INS_4pairIKiS4_EEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiNS_6vectorIiNS_9allocatorIiEEEEEENS_22__unordered_map_hasherIiS6_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS6_NS_8equal_toIiEELb1EEENS3_IS6_EEED2Ev(i1); - return; -} - -function __ZN6vision4NodeILi96EEC2Ei(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = i2; - HEAP8[i1 + 100 >> 0] = 1; - i2 = i1 + 104 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = 0; - HEAP32[i2 + 20 >> 2] = 0; - __ZN6vision10ZeroVectorIhEEvPT_m(i1 + 4 | 0, 96); - return; -} - -function __ZN6vision25bilinear_downsample_pointERfS0_S0_fffi(i1, i2, i3, d4, d5, d6, i7) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - d4 = +d4; - d5 = +d5; - d6 = +d6; - i7 = i7 | 0; - var d8 = 0.0, d9 = 0.0; - d8 = 1.0 / +(1 << i7 | 0); - d9 = d8 * .5 + -.5; - HEAPF32[i1 >> 2] = d8 * d4 + d9; - HEAPF32[i2 >> 2] = d8 * d5 + d9; - HEAPF32[i3 >> 2] = d8 * d6; - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE8allocateEm(i4, i1) { - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE8align_upEm(i1) | 0; - i3 = i4 + 4096 | 0; - i1 = HEAP32[i3 >> 2] | 0; - if ((i4 + 4096 - i1 | 0) >>> 0 < i2 >>> 0) i1 = _malloc(i2) | 0; else HEAP32[i3 >> 2] = i1 + i2; - return i1 | 0; -} - -function ___uflow(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i2 = i3; - if ((___toread(i1) | 0) == 0 ? (FUNCTION_TABLE_iiii[HEAP32[i1 + 32 >> 2] & 63](i1, i2, 1) | 0) == 1 : 0) i1 = HEAPU8[i2 >> 0] | 0; else i1 = -1; - STACKTOP = i3; - return i1 | 0; -} - -function __ZNSt3__210shared_ptrIhED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i1 = HEAP32[i1 + 4 >> 2] | 0; - if (i1 | 0 ? (i3 = i1 + 4 | 0, i2 = HEAP32[i3 >> 2] | 0, HEAP32[i3 >> 2] = i2 + -1, (i2 | 0) == 0) : 0) { - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 255](i1); - __ZNSt3__219__shared_weak_count14__release_weakEv(i1); - } - return; -} - -function _arImageProcLumaHistAndCDF(i3, i1) { - i3 = i3 | 0; - i1 = i1 | 0; - var i2 = 0; - i1 = _arImageProcLumaHist(i3, i1) | 0; - if ((i1 | 0) >= 0) { - i1 = 0; - i2 = 0; - do { - i1 = (HEAP32[i3 + 12 + (i2 << 2) >> 2] | 0) + i1 | 0; - HEAP32[i3 + 1036 + (i2 << 2) >> 2] = i1; - i2 = i2 + 1 | 0; - } while ((i2 | 0) != 256); - i1 = 0; - } - return i1 | 0; -} - -function __ZNSt3__214__split_bufferIN6vision5ImageERNS_9allocatorIS2_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = i1 + 8 | 0; - i1 = i2; - i2 = HEAP32[i3 >> 2] | 0; - do { - __ZN6vision5ImageC2Ev(i2); - i2 = (HEAP32[i3 >> 2] | 0) + 32 | 0; - HEAP32[i3 >> 2] = i2; - i1 = i1 + -1 | 0; - } while ((i1 | 0) != 0); - return; -} - -function __ZNSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = i1 + 4 | 0; - i1 = i2; - i2 = HEAP32[i3 >> 2] | 0; - do { - __ZN6vision7Point2dIfEC2Ev(i2); - i2 = (HEAP32[i3 >> 2] | 0) + 8 | 0; - HEAP32[i3 >> 2] = i2; - i1 = i1 + -1 | 0; - } while ((i1 | 0) != 0); - return; -} - -function __ZNSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = i1 + 4 | 0; - i1 = i2; - i2 = HEAP32[i3 >> 2] | 0; - do { - HEAP32[i2 >> 2] = 0; - i2 = (HEAP32[i3 >> 2] | 0) + 4 | 0; - HEAP32[i3 >> 2] = i2; - i1 = i1 + -1 | 0; - } while ((i1 | 0) != 0); - return; -} - -function __ZN6vision40Homography3PointsGeometricallyConsistentIfEEbPKT_S3_S3_S3_S3_S3_(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i3 = +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i1, i2, i3) > 0.0; - return i3 ^ +__ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i4, i5, i6) > 0.0 ^ 1 | 0; -} - -function _getint_729(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0; - if (!(_isdigit(HEAP8[HEAP32[i2 >> 2] >> 0] | 0) | 0)) i1 = 0; else { - i1 = 0; - do { - i3 = HEAP32[i2 >> 2] | 0; - i1 = (i1 * 10 | 0) + -48 + (HEAP8[i3 >> 0] | 0) | 0; - i3 = i3 + 1 | 0; - HEAP32[i2 >> 2] = i3; - } while ((_isdigit(HEAP8[i3 >> 0] | 0) | 0) != 0); - } - return i1 | 0; -} - -function ___unlist_locked_file(i1) { - i1 = i1 | 0; - var i2 = 0; - if (HEAP32[i1 + 68 >> 2] | 0) { - i2 = HEAP32[i1 + 132 >> 2] | 0; - i1 = i1 + 128 | 0; - if (i2 | 0) HEAP32[i2 + 128 >> 2] = HEAP32[i1 >> 2]; - i1 = HEAP32[i1 >> 2] | 0; - if (!i1) i1 = (___pthread_self_604() | 0) + 232 | 0; else i1 = i1 + 132 | 0; - HEAP32[i1 >> 2] = i2; - } - return; -} - -function __ZNSt3__213unordered_mapIiP14AR2SurfaceSetTNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS2_EEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIiP14AR2SurfaceSetTEENS_22__unordered_map_hasherIiS4_NS_4hashIiEELb1EEENS_21__unordered_map_equalIiS4_NS_8equal_toIiEELb1EEENS_9allocatorIS4_EEED2Ev(i1); - return; -} - -function _find_biggest_volume(i1, i5) { - i1 = i1 | 0; - i5 = i5 | 0; - var i2 = 0, i3 = 0, i4 = 0, i6 = 0, i7 = 0; - i2 = 0; - i3 = 0; - i4 = 0; - while (1) { - if ((i4 | 0) >= (i5 | 0)) break; - i6 = HEAP32[i1 + 24 >> 2] | 0; - i7 = (i6 | 0) > (i3 | 0); - i2 = i7 ? i1 : i2; - i3 = i7 ? i6 : i3; - i4 = i4 + 1 | 0; - i1 = i1 + 32 | 0; - } - return i2 | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKc(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6insertEmPKcm(i1, i2, i3, __ZNSt3__211char_traitsIcE6lengthEPKc(i3) | 0) | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairC2ERKS1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_(i1, i2); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEEC2ERKS7_(i1 + 12 | 0, i2 + 12 | 0); - return; -} - -function _start_input_pass_33(i1) { - i1 = i1 | 0; - var i2 = 0; - _per_scan_setup_34(i1); - _latch_quant_tables(i1); - FUNCTION_TABLE_vi[HEAP32[HEAP32[i1 + 444 >> 2] >> 2] & 255](i1); - i2 = i1 + 428 | 0; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i2 >> 2] >> 2] & 255](i1); - HEAP32[HEAP32[i1 + 436 >> 2] >> 2] = HEAP32[(HEAP32[i2 >> 2] | 0) + 4 >> 2]; - return; -} - -function _fmt_x(i3, i2, i1, i4) { - i3 = i3 | 0; - i2 = i2 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - if (!((i3 | 0) == 0 & (i2 | 0) == 0)) do { - i1 = i1 + -1 | 0; - HEAP8[i1 >> 0] = HEAPU8[4448 + (i3 & 15) >> 0] | 0 | i4; - i3 = _bitshift64Lshr(i3 | 0, i2 | 0, 4) | 0; - i2 = getTempRet0() | 0; - } while (!((i3 | 0) == 0 & (i2 | 0) == 0)); - return i1 | 0; -} - -function __ZN6vision9MaxIndex5IfEEiPKT_(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = +HEAPF32[i1 + 4 >> 2] > +HEAPF32[i1 >> 2] & 1; - i2 = +HEAPF32[i1 + 8 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 2 : i2; - i2 = +HEAPF32[i1 + 12 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 3 : i2; - return (+HEAPF32[i1 + 16 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 4 : i2) | 0; -} - -function __ZNSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = i1 + 4 | 0; - i1 = i2; - i2 = HEAP32[i3 >> 2] | 0; - do { - __ZN6vision5ImageC2Ev(i2); - i2 = (HEAP32[i3 >> 2] | 0) + 32 | 0; - HEAP32[i3 >> 2] = i2; - i1 = i1 + -1 | 0; - } while ((i1 | 0) != 0); - return; -} - -function __ZN6vision18BinomialPyramid32fD2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 13484; - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev(i1 + 56 | 0); - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev(i1 + 44 | 0); - __ZNSt3__213__vector_baseItNS_9allocatorItEEED2Ev(i1 + 32 | 0); - __ZN6vision25GaussianScaleSpacePyramidD2Ev(i1); - return; -} - -function ___stdio_close(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i2; - i1 = _dummy_465(HEAP32[i1 + 60 >> 2] | 0) | 0; - HEAP32[i3 >> 2] = i1; - i1 = ___syscall_ret(___syscall6(6, i3 | 0) | 0) | 0; - STACKTOP = i2; - return i1 | 0; -} - -function __ZN6vision16RobustHomographyIfEC2Efiii(i1, d2, i3, i4, i5) { - i1 = i1 | 0; - d2 = +d2; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - var i6 = 0, i7 = 0; - i6 = i1; - i7 = i6 + 36 | 0; - do { - HEAP32[i6 >> 2] = 0; - i6 = i6 + 4 | 0; - } while ((i6 | 0) < (i7 | 0)); - __ZN6vision16RobustHomographyIfE4initEfiii(i1, d2, i3, i4, i5); - return; -} - -function _rewind(i1) { - i1 = i1 | 0; - var i2 = 0; - if ((HEAP32[i1 + 76 >> 2] | 0) > -1) { - i2 = (___lockfile(i1) | 0) == 0; - ___fseeko_unlocked(i1, 0, 0, 0) | 0; - HEAP32[i1 >> 2] = HEAP32[i1 >> 2] & -33; - if (!i2) ___unlockfile(i1); - } else { - ___fseeko_unlocked(i1, 0, 0, 0) | 0; - HEAP32[i1 >> 2] = HEAP32[i1 >> 2] & -33; - } - return; -} - -function __ZNK10__cxxabiv112_GLOBAL__N_111string_pair4sizeEv(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0; - i1 = HEAP8[i2 + 11 >> 0] | 0; - if (i1 << 24 >> 24 < 0) i3 = HEAP32[i2 + 4 >> 2] | 0; else i3 = i1 & 255; - i1 = HEAP8[i2 + 12 + 11 >> 0] | 0; - if (i1 << 24 >> 24 < 0) i1 = HEAP32[i2 + 16 >> 2] | 0; else i1 = i1 & 255; - return i1 + i3 | 0; -} - -function ___cxa_get_globals_fast() { - var i1 = 0, i2 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - if (!(_pthread_once(58344, 2) | 0)) { - i2 = _pthread_getspecific(HEAP32[14587] | 0) | 0; - STACKTOP = i1; - return i2 | 0; - } else _abort_message(49217, i1); - return 0; -} - -function __ZNSt3__25ctypeIcEC2EPKtbm(i2, i3, i4, i1) { - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - HEAP32[i2 + 4 >> 2] = i1 + -1; - HEAP32[i2 >> 2] = 16856; - i1 = i2 + 8 | 0; - HEAP32[i1 >> 2] = i3; - HEAP8[i2 + 12 >> 0] = i4 & 1; - if (!i3) { - i4 = __ZNSt3__25ctypeIcE13classic_tableEv() | 0; - HEAP32[i1 >> 2] = i4; - } - return; -} - -function __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0, i5 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i3 = i1 + 8 | 0; - i4 = HEAP32[i3 >> 2] | 0; - while (1) { - if ((i4 | 0) == (i2 | 0)) break; - i5 = i4 + -1 | 0; - HEAP32[i3 >> 2] = i5; - i4 = i5; - } - __ZdlPv(HEAP32[i1 >> 2] | 0); - return; -} - -function __ZN6vision5ImageC2ERKS0_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP32[i1 + 16 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - HEAP32[i1 + 24 >> 2] = 0; - HEAP32[i1 + 28 >> 2] = 0; - __ZN6vision5Image11shallowCopyERKS0_(i1, i2); - return; -} - -function _arDeleteHandle(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - if (!i1) i1 = -1; else { - i2 = i1 + 7062408 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) { - _arImageProcFinal(i3); - HEAP32[i2 >> 2] = 0; - } - _free(HEAP32[i1 + 4834144 >> 2] | 0); - _free(HEAP32[i1 + 4834148 >> 2] | 0); - _free(i1); - i1 = 0; - } - return i1 | 0; -} - -function ___munmap(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - HEAP32[i4 >> 2] = i1; - HEAP32[i4 + 4 >> 2] = i2; - i2 = ___syscall_ret(___syscall91(91, i4 | 0) | 0) | 0; - STACKTOP = i3; - return i2 | 0; -} - -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE7seekoffExNS_8ios_base7seekdirEj(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i6 = i1; - HEAP32[i6 >> 2] = 0; - HEAP32[i6 + 4 >> 2] = 0; - i6 = i1 + 8 | 0; - HEAP32[i6 >> 2] = -1; - HEAP32[i6 + 4 >> 2] = -1; - return; -} - -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i6 = i1; - HEAP32[i6 >> 2] = 0; - HEAP32[i6 + 4 >> 2] = 0; - i6 = i1 + 8 | 0; - HEAP32[i6 >> 2] = -1; - HEAP32[i6 + 4 >> 2] = -1; - return; -} - -function __ZN6vision14BinarykMedoidsILi96EED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev(i1 + 48 | 0); - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev(i1 + 36 | 0); - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev(i1 + 24 | 0); - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev(i1 + 12 | 0); - return; -} - -function __ZN6vision5Timer5startEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i3 = i2; - _gettimeofday(i3 | 0, 0) | 0; - HEAPF64[i1 >> 3] = +(HEAP32[i3 + 4 >> 2] | 0) * 1.0e-06 + +(HEAP32[i3 >> 2] | 0); - STACKTOP = i2; - return; -} - -function _jpeg_idct_1x1(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i3 = (HEAP32[i1 + 324 >> 2] | 0) + 128 + (((Math_imul(HEAP32[HEAP32[i2 + 80 >> 2] >> 2] | 0, HEAP16[i3 >> 1] | 0) | 0) + 4 | 0) >>> 3 & 1023) | 0; - HEAP8[(HEAP32[i4 >> 2] | 0) + i5 >> 0] = HEAP8[i3 >> 0] | 0; - return; -} - -function __ZNSt3__213__vector_baseIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - do if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - if ((i2 | 0) == (i1 + 16 | 0)) { - HEAP8[i1 + 128 >> 0] = 0; - break; - } else { - __ZdlPv(i2); - break; +function std____2__enable_if___is_cpp17_forward_iterator_wchar_t____value_2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______type_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____append_wchar_t___28wchar_t__2c_20wchar_t__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $4 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($0); + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____capacity_28_29_20const($0); + $6 = std____2__iterator_traits_wchar_t____difference_type_20std____2__distance_wchar_t___28wchar_t__2c_20wchar_t__29($1, $2); + label$1: { + if (!$6) { + break label$1; } - } while (0); - return; -} - -function __ZNKSt3__212_GLOBAL__N_111__fake_bindclEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0, i4 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - i4 = HEAP32[i1 + 8 >> 2] | 0; - i3 = (HEAP32[i1 >> 2] | 0) + (i4 >> 1) | 0; - if (!(i4 & 1)) i1 = i2; else i1 = HEAP32[(HEAP32[i3 >> 2] | 0) + i2 >> 2] | 0; - FUNCTION_TABLE_vi[i1 & 255](i3); - return; -} - -function __ZN6vision25GaussianScaleSpacePyramid9configureEii(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var d4 = 0.0; - HEAP32[i1 + 16 >> 2] = i2; - HEAP32[i1 + 20 >> 2] = i3; - d4 = +_llvm_exp2_f32(+(1.0 / +(i3 + -1 | 0))); - HEAPF32[i1 + 24 >> 2] = d4; - d4 = 1.0 / +Math_log(+d4); - HEAPF32[i1 + 28 >> 2] = d4; - return; -} - -function __ZNSt3__214__split_bufferIhRNS_9allocatorIhEEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = i1 + 8 | 0; - i1 = i2; - i2 = HEAP32[i3 >> 2] | 0; - do { - HEAP8[i2 >> 0] = 0; - i2 = (HEAP32[i3 >> 2] | 0) + 1 | 0; - HEAP32[i3 >> 2] = i2; - i1 = i1 + -1 | 0; - } while ((i1 | 0) != 0); - return; -} - -function __ZN10emscripten8constantIiEEvPKcRKT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = __ZN10emscripten8internal6TypeIDIRKiE3getEv() | 0; - __embind_register_constant(i1 | 0, i3 | 0, +(+__ZN10emscripten8internal14asGenericValueIiEEdT_(__ZN10emscripten8internal11BindingTypeIiE10toWireTypeERKi(i2) | 0))); - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_19destruct_EPv(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - _free(i1); - if (!(_pthread_setspecific(HEAP32[14587] | 0, 0) | 0)) { - STACKTOP = i2; - return; - } else _abort_message(49316, i2); -} - -function _snprintf(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0; - i5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i6 = i5; - HEAP32[i6 >> 2] = i4; - i4 = _vsnprintf(i1, i2, i3, i6) | 0; - STACKTOP = i5; - return i4 | 0; -} - -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEEC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 14180; - __ZNSt3__26localeC2Ev(i1 + 4 | 0); - i1 = i1 + 8 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP32[i1 + 16 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - return; -} - -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEEC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 14116; - __ZNSt3__26localeC2Ev(i1 + 4 | 0); - i1 = i1 + 8 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP32[i1 + 16 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - return; -} - -function _matrixCopy(i3, i4) { - i3 = i3 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0; - i2 = 0; - while (1) { - if ((i2 | 0) == 3) break; - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - HEAPF64[i4 + (i2 << 5) + (i1 << 3) >> 3] = +HEAPF64[i3 + (i2 << 5) + (i1 << 3) >> 3]; - i1 = i1 + 1 | 0; - } - i2 = i2 + 1 | 0; - } - return; -} - -function ___fseeko(i4, i1, i2, i3) { - i4 = i4 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i5 = 0; - if ((HEAP32[i4 + 76 >> 2] | 0) > -1) { - i5 = (___lockfile(i4) | 0) == 0; - i1 = ___fseeko_unlocked(i4, i1, i2, i3) | 0; - if (!i5) ___unlockfile(i4); - } else i1 = ___fseeko_unlocked(i4, i1, i2, i3) | 0; - return i1 | 0; -} - -function __ZN10emscripten8constantIdEEvPKcRKT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = __ZN10emscripten8internal6TypeIDIRKdE3getEv() | 0; - __embind_register_constant(i1 | 0, i3 | 0, +(+__ZN10emscripten8internal14asGenericValueIdEEdT_(+__ZN10emscripten8internal11BindingTypeIdE10toWireTypeERKd(i2)))); - return; -} - -function __ZNSt3__26vectorINS0_INS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEENS4_IS8_Lm4096EEEEC2EmRKS8_RKS9_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6appendEPKcm(i1, i2, __ZNSt3__211char_traitsIcE6lengthEPKc(i2) | 0) | 0; -} - -function __ZNKSt3__25ctypeIcE9do_narrowEPKcS3_cPc(i3, i1, i4, i5, i2) { - i3 = i3 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i2 = i2 | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - i3 = HEAP8[i1 >> 0] | 0; - HEAP8[i2 >> 0] = i3 << 24 >> 24 > -1 ? i3 : i5; - i2 = i2 + 1 | 0; - i1 = i1 + 1 | 0; - } - return i4 | 0; -} - -function _sn_write(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i4 = i1 + 20 | 0; - i5 = HEAP32[i4 >> 2] | 0; - i1 = (HEAP32[i1 + 16 >> 2] | 0) - i5 | 0; - i1 = i1 >>> 0 > i3 >>> 0 ? i3 : i1; - _memcpy(i5 | 0, i2 | 0, i1 | 0) | 0; - HEAP32[i4 >> 2] = (HEAP32[i4 >> 2] | 0) + i1; - return i3 | 0; -} - -function __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0; - if ((HEAP32[i2 + 4 >> 2] | 0) == (i3 | 0) ? (i5 = i2 + 28 | 0, (HEAP32[i5 >> 2] | 0) != 1) : 0) HEAP32[i5 >> 2] = i4; - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6assignEPKc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE6assignEPKcm(i1, i2, __ZNSt3__211char_traitsIcE6lengthEPKc(i2) | 0); - return; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEEC2Em(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - if (i2 | 0) { - __ZNSt3__26vectorIiNS_9allocatorIiEEE8allocateEm(i1, i2); - __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endEm(i1, i2); - } - return; -} - -function __ZNSt3__26vectorIfNS_9allocatorIfEEEC2Em(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - if (i2 | 0) { - __ZNSt3__26vectorIfNS_9allocatorIfEEE8allocateEm(i1, i2); - __ZNSt3__26vectorIfNS_9allocatorIfEEE18__construct_at_endEm(i1, i2); - } - return; -} - -function __ZNSt3__28ios_baseD2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 14100; - __ZNSt3__28ios_base16__call_callbacksENS0_5eventE(i1, 0); - __ZNSt3__26localeD2Ev(i1 + 28 | 0); - _free(HEAP32[i1 + 32 >> 2] | 0); - _free(HEAP32[i1 + 36 >> 2] | 0); - _free(HEAP32[i1 + 48 >> 2] | 0); - _free(HEAP32[i1 + 60 >> 2] | 0); - return; -} - -function __ZNSt3__26vectorIhNS_9allocatorIhEEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = i1 + 4 | 0; - i1 = i2; - i2 = HEAP32[i3 >> 2] | 0; - do { - HEAP8[i2 >> 0] = 0; - i2 = (HEAP32[i3 >> 2] | 0) + 1 | 0; - HEAP32[i3 >> 2] = i2; - i1 = i1 + -1 | 0; - } while ((i1 | 0) != 0); - return; -} - -function ___memrchr(i3, i2, i1) { - i3 = i3 | 0; - i2 = i2 | 0; - i1 = i1 | 0; - L1 : do if (!i1) i1 = 0; else { - i2 = i2 & 255; - while (1) { - i1 = i1 + -1 | 0; - if ((HEAP8[i3 + i1 >> 0] | 0) == i2 << 24 >> 24) break; - if (!i1) { - i1 = 0; - break L1; + if (!bool_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______addr_in_range_wchar_t___28wchar_t__29_20const($0, $1)) { + if ($3 - $4 >>> 0 < $6 >>> 0) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______grow_by_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_29($0, $3, ($4 + $6 | 0) - $3 | 0, $4, $4, 0, 0); + } + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29($0) + ($4 << 2) | 0; + while (1) { + if (($1 | 0) != ($2 | 0)) { + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29($3, $1); + $1 = $1 + 4 | 0; + $3 = $3 + 4 | 0; + continue; + } + break; } + HEAP32[$5 >> 2] = 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29($3, $5); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_size_28unsigned_20long_29($0, $4 + $6 | 0); + break label$1; } - i1 = i3 + i1 | 0; - } while (0); - return i1 | 0; -} - -function __ZNKSt3__27collateIwE7do_hashEPKwS3_(i2, i1, i3) { - i2 = i2 | 0; - i1 = i1 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i2 = 0; - while (1) { - if ((i1 | 0) == (i3 | 0)) break; - i4 = (HEAP32[i1 >> 2] | 0) + (i2 << 4) | 0; - i5 = i4 & -268435456; - i2 = (i5 >>> 24 | i5) ^ i4; - i1 = i1 + 4 | 0; + $1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_wchar_t__2c_20void__28wchar_t__2c_20wchar_t__2c_20std____2__allocator_wchar_t__20const__29($5, $1, $2, std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0)); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____append_28wchar_t_20const__2c_20unsigned_20long_29($0, std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($1), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($1)); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($1); } - return i2 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS3_INS0_11string_pairENS1_IS4_Lm4096EEEEENS1_IS6_Lm4096EEEEELm4096EE10deallocateEPS8_m(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE10deallocateEPcm(HEAP32[i1 >> 2] | 0, i2, i3 << 4); - return; + __stack_pointer = $5 + 16 | 0; + return $0; } -function __ZNKSt3__27collateIcE7do_hashEPKcS3_(i2, i1, i3) { - i2 = i2 | 0; - i1 = i1 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i2 = 0; +function std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20unsigned_20long_29($2, $0 + 8 | 0, $1); + $3 = HEAP32[$1 >> 2]; while (1) { - if ((i1 | 0) == (i3 | 0)) break; - i4 = (i2 << 4) + (HEAP8[i1 >> 0] | 0) | 0; - i5 = i4 & -268435456; - i2 = (i5 >>> 24 | i5) ^ i4; - i1 = i1 + 1 | 0; - } - return i2 | 0; -} - -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getTypesEv(i1) { - i1 = i1 | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiNSt3__212basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEE3getEv() | 0; -} - -function __ZNSt3__213unordered_mapIjjNS_4hashIjEENS_8equal_toIjEENS_9allocatorINS_4pairIKjjEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__212__hash_tableINS_17__hash_value_typeIjjEENS_22__unordered_map_hasherIjS2_NS_4hashIjEELb1EEENS_21__unordered_map_equalIjS2_NS_8equal_toIjEELb1EEENS_9allocatorIS2_EEED2Ev(i1); - return; -} - -function __ZN6vision21HoughSimilarityVotingD2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev(i1 + 124 | 0); - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev(i1 + 112 | 0); - __ZNSt3__213unordered_mapIjjNS_4hashIjEENS_8equal_toIjEENS_9allocatorINS_4pairIKjjEEEEED2Ev(i1 + 92 | 0); - return; -} - -function __ZNSt3__214__split_bufferINS_6vectorINS1_INS_4pairIfmEENS_9allocatorIS3_EEEENS4_IS6_EEEERNS4_IS8_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i1 = i1 + 8 | 0; - i3 = HEAP32[i1 >> 2] | 0; - _memset(i3 | 0, 0, i2 * 12 | 0) | 0; - HEAP32[i1 >> 2] = i3 + (i2 * 12 | 0); - return; -} - -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getTypesEv(i1) { - i1 = i1 | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiNSt3__212basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEE3getEv() | 0; -} - -function __ZN10emscripten8internal7InvokerIvJiiEE6invokeEPFviiEii(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i2 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i2) | 0; - i3 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i3) | 0; - FUNCTION_TABLE_vii[i1 & 63](i2, i3); - return; -} - -function _arParamLTFree(i1) { - i1 = i1 | 0; - var i2 = 0; - if ((i1 | 0) != 0 ? (i2 = HEAP32[i1 >> 2] | 0, (i2 | 0) != 0) : 0) { - _free(HEAP32[i2 + 184 >> 2] | 0); - _free(HEAP32[(HEAP32[i1 >> 2] | 0) + 188 >> 2] | 0); - _free(HEAP32[i1 >> 2] | 0); - HEAP32[i1 >> 2] = 0; - i1 = 0; - } else i1 = -1; - return i1 | 0; -} - -function __ZN6vision13LinePointSideIfEET_PKS1_S3_S3_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var d4 = 0.0, d5 = 0.0; - d4 = +HEAPF32[i1 >> 2]; - d5 = +HEAPF32[i1 + 4 >> 2]; - return +((+HEAPF32[i2 >> 2] - d4) * (+HEAPF32[i3 + 4 >> 2] - d5) - (+HEAPF32[i2 + 4 >> 2] - d5) * (+HEAPF32[i3 >> 2] - d4)); -} - -function _abort_message(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i4 = i3; - HEAP32[i4 >> 2] = i2; - i3 = HEAP32[3454] | 0; - _vfprintf(i3, i1, i4) | 0; - _fputc(10, i3) | 0; - _abort(); -} - -function __ZNKSt3__28numpunctIwE12do_falsenameEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(i1, 16980, __ZNSt3__211char_traitsIwE6lengthEPKw(16980) | 0); - return; -} - -function __ZNKSt3__28numpunctIcE12do_falsenameEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i1, 50869, __ZNSt3__211char_traitsIcE6lengthEPKc(50869) | 0); - return; -} - -function _arUtilRemoveExt(i3) { - i3 = i3 | 0; - var i1 = 0, i2 = 0; - i1 = -1; - i2 = 0; - L1 : while (1) { - switch (HEAP8[i3 + i2 >> 0] | 0) { - case 0: - break L1; - case 46: - { - i1 = i2; - break; - } - default: - {} + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______construct_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29(std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________alloc_28_29($0), std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____20std____2____to_address_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29(HEAP32[$1 >> 2])); + $3 = HEAP32[$1 >> 2] + 12 | 0; + HEAP32[$1 >> 2] = $3; + continue; } - i2 = i2 + 1 | 0; + break; } - if ((i1 | 0) != -1) HEAP8[i3 + i1 >> 0] = 0; - return 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7replaceEmmPKc(i1) { - i1 = i1 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEE7replaceEmmPKcm(i1, __ZNSt3__211char_traitsIcE6lengthEPKc(51088) | 0); - return; -} - -function __ZNKSt3__28numpunctIwE11do_truenameEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwm(i1, 17004, __ZNSt3__211char_traitsIwE6lengthEPKw(17004) | 0); - return; -} - -function __ZNKSt3__28numpunctIcE11do_truenameEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm(i1, 50875, __ZNSt3__211char_traitsIcE6lengthEPKc(50875) | 0); - return; -} - -function __ZN6vision20VisualDatabaseFacadeC2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - HEAP32[i1 >> 2] = 0; - i3 = __Znwm(24) | 0; - __ZN6vision18VisualDatabaseImplC2Ev(i3); - i2 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 >> 2] = i3; - if (i2 | 0) { - __ZN6vision18VisualDatabaseImplD2Ev(i2); - __ZdlPv(i2); - } - return; -} - -function __ZNSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE10deallocateEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - i3 = i1 + 4 | 0; - HEAP32[i3 >> 2] = i2; - __ZdlPv(i2); - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i3 >> 2] = 0; - HEAP32[i1 >> 2] = 0; - } - return; -} - -function __ZNSt3__219__shared_weak_count14__release_weakEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = i1 + 8 | 0; - if (!((HEAP32[i2 >> 2] | 0) != 0 ? (i3 = HEAP32[i2 >> 2] | 0, HEAP32[i2 >> 2] = i3 + -1, (i3 | 0) != 0) : 0)) FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 16 >> 2] & 255](i1); - return; -} - -function __ZN10emscripten8internal7InvokerIvJifEE6invokeEPFvifEif(i1, i2, d3) { - i1 = i1 | 0; - i2 = i2 | 0; - d3 = +d3; - i2 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i2) | 0; - d3 = +__ZN10emscripten8internal11BindingTypeIfE12fromWireTypeEf(d3); - FUNCTION_TABLE_vid[i1 & 3](i2, d3); - return; -} - -function __ZN10emscripten8internal7InvokerIvJidEE6invokeEPFvidEid(i1, i2, d3) { - i1 = i1 | 0; - i2 = i2 | 0; - d3 = +d3; - i2 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i2) | 0; - d3 = +__ZN10emscripten8internal11BindingTypeIdE12fromWireTypeEd(d3); - FUNCTION_TABLE_vid[i1 & 3](i2, d3); - return; -} - -function __ZN6vision25GaussianScaleSpacePyramidC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 13500; - i1 = i1 + 4 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP32[i1 + 16 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - HEAP32[i1 + 24 >> 2] = 0; - return; -} - -function _sprintf(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i4; - HEAP32[i5 >> 2] = i3; - i3 = _vsprintf(i1, i2, i5) | 0; - STACKTOP = i4; - return i3 | 0; -} - -function _fprintf(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i4; - HEAP32[i5 >> 2] = i3; - i3 = _vfprintf(i1, i2, i5) | 0; - STACKTOP = i4; - return i3 | 0; -} - -function __ZN6vision23bilinear_upsample_pointERfS0_ffi(i1, i2, d3, d4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - d3 = +d3; - d4 = +d4; - i5 = i5 | 0; - var d6 = 0.0, d7 = 0.0; - d6 = +_ldexp(1.0, i5 + -1 | 0) + -.5; - d7 = +(1 << i5 | 0); - HEAPF32[i1 >> 2] = d7 * d3 + d6; - HEAPF32[i2 >> 2] = d7 * d4 + d6; - return; -} - -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE7seekposENS_4fposI11__mbstate_tEEj(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i4 = i1; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - i4 = i1 + 8 | 0; - HEAP32[i4 >> 2] = -1; - HEAP32[i4 + 4 >> 2] = -1; - return; -} - -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE7seekposENS_4fposI11__mbstate_tEEj(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i4 = i1; - HEAP32[i4 >> 2] = 0; - HEAP32[i4 + 4 >> 2] = 0; - i4 = i1 + 8 | 0; - HEAP32[i4 >> 2] = -1; - HEAP32[i4 + 4 >> 2] = -1; - return; -} - -function dynCall_iiiiiiiii(i9, i1, i2, i3, i4, i5, i6, i7, i8) { - i9 = i9 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - return FUNCTION_TABLE_iiiiiiiii[i9 & 15](i1 | 0, i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, i7 | 0, i8 | 0) | 0; -} - -function _sscanf(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0, i5 = 0; - i4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - i5 = i4; - HEAP32[i5 >> 2] = i3; - i3 = _vsscanf(i1, i2, i5) | 0; - STACKTOP = i4; - return i3 | 0; -} - -function _fmt_o(i3, i2, i1) { - i3 = i3 | 0; - i2 = i2 | 0; - i1 = i1 | 0; - if (!((i3 | 0) == 0 & (i2 | 0) == 0)) do { - i1 = i1 + -1 | 0; - HEAP8[i1 >> 0] = i3 & 7 | 48; - i3 = _bitshift64Lshr(i3 | 0, i2 | 0, 3) | 0; - i2 = getTempRet0() | 0; - } while (!((i3 | 0) == 0 & (i2 | 0) == 0)); - return i1 | 0; -} - -function _start_output_pass(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = HEAP32[i1 + 428 >> 2] | 0; - if (HEAP32[i2 + 16 >> 2] | 0) { - if ((HEAP32[i1 + 80 >> 2] | 0) != 0 ? (_smoothing_ok(i1) | 0) != 0 : 0) i3 = 23; else i3 = 21; - HEAP32[i2 + 12 >> 2] = i3; - } - HEAP32[i1 + 156 >> 2] = 0; - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111string_pairD2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i1 + 12 | 0); - __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i1); - return; -} - -function __ZNSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEC2EmRKS6_RKS7_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = HEAP32[i2 >> 2]; - return; -} - -function __ZNSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i1 = i1 + 4 | 0; - i3 = HEAP32[i1 >> 2] | 0; - _memset(i3 | 0, 0, i2 * 12 | 0) | 0; - HEAP32[i1 >> 2] = i3 + (i2 * 12 | 0); - return; -} - -function __ZNKSt3__28messagesIwE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i3 = _catopen((HEAP8[i2 + 11 >> 0] | 0) < 0 ? HEAP32[i2 >> 2] | 0 : i2, 1) | 0; - return i3 >>> ((i3 | 0) != (-1 | 0) & 1) | 0; -} - -function __ZNKSt3__28messagesIcE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i3 = _catopen((HEAP8[i2 + 11 >> 0] | 0) < 0 ? HEAP32[i2 >> 2] | 0 : i2, 1) | 0; - return i3 >>> ((i3 | 0) != (-1 | 0) & 1) | 0; -} - -function _reset_marker_reader(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 + 440 >> 2] | 0; - HEAP32[i1 + 216 >> 2] = 0; - HEAP32[i1 + 144 >> 2] = 0; - HEAP32[i1 + 416 >> 2] = 0; - HEAP32[i2 + 12 >> 2] = 0; - HEAP32[i2 + 16 >> 2] = 0; - HEAP32[i2 + 24 >> 2] = 0; - HEAP32[i2 + 164 >> 2] = 0; - return; -} - -function __ZNSt3__214__split_bufferINS_6vectorINS_4pairIfmEENS_9allocatorIS3_EEEERNS4_IS6_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i1 = i1 + 8 | 0; - i3 = HEAP32[i1 >> 2] | 0; - _memset(i3 | 0, 0, i2 * 12 | 0) | 0; - HEAP32[i1 >> 2] = i3 + (i2 * 12 | 0); - return; -} - -function ___muldi3(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - var i5 = 0, i6 = 0; - i5 = i1; - i6 = i3; - i3 = ___muldsi3(i5, i6) | 0; - i1 = getTempRet0() | 0; - return (setTempRet0((Math_imul(i2, i6) | 0) + (Math_imul(i4, i5) | 0) + i1 | i1 & 0 | 0), i3 | 0 | 0) | 0; -} - -function _arVecAlloc(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0; - i1 = _malloc(8) | 0; - do if (i1) { - i3 = _malloc(i2 << 3) | 0; - HEAP32[i1 >> 2] = i3; - if (!i3) { - _free(i1); - i1 = 0; + std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________max_size_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______20const__29(std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________compressed_pair_std__nullptr_t_2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________28std__nullptr_t___2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($1 + 4 | 0, $2); + return $1; +} + +function jpeg_calc_output_dimensions($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[$0 + 20 >> 2]; + if (($1 | 0) != 202) { + $6 = HEAP32[$0 >> 2]; + HEAP32[$6 + 24 >> 2] = $1; + HEAP32[$6 + 20 >> 2] = 21; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + jpeg_core_output_dimensions($0); + $4 = HEAP32[$0 + 36 >> 2]; + label$2: { + if (($4 | 0) <= 0) { + break label$2; + } + $6 = HEAP32[$0 + 76 >> 2] ? 8 : 4; + $9 = HEAP32[$0 + 328 >> 2]; + $10 = HEAP32[$0 + 324 >> 2]; + $2 = HEAP32[$0 + 216 >> 2]; + $5 = $2; + while (1) { + $7 = $10; + label$4: { + if (($7 | 0) > ($6 | 0)) { + break label$4; + } + $3 = HEAP32[$0 + 316 >> 2]; + $8 = HEAP32[$5 + 8 >> 2]; + if (($3 | 0) % ($8 << 1) | 0) { + break label$4; + } + $1 = 2; + while (1) { + $7 = Math_imul($1, $10); + if (($7 | 0) > ($6 | 0)) { + break label$4; + } + $1 = $1 << 1; + if (!(($3 | 0) % (Math_imul($8, $1) | 0) | 0)) { + continue; + } + break; + } + } + HEAP32[$5 + 36 >> 2] = $7; + $3 = $9; + label$6: { + if (($6 | 0) < ($3 | 0)) { + break label$6; + } + $8 = HEAP32[$0 + 320 >> 2]; + $11 = HEAP32[$5 + 12 >> 2]; + if (($8 | 0) % ($11 << 1) | 0) { + break label$6; + } + $1 = 2; + while (1) { + $3 = Math_imul($1, $9); + if (($6 | 0) < ($3 | 0)) { + break label$6; + } + $1 = $1 << 1; + if (!(($8 | 0) % (Math_imul($11, $1) | 0) | 0)) { + continue; + } + break; + } + } + HEAP32[$5 + 40 >> 2] = $3; + $1 = $3 << 1; + label$8: { + if (($7 | 0) > ($1 | 0)) { + HEAP32[$5 + 36 >> 2] = $1; + break label$8; + } + $1 = $7 << 1; + if (($3 | 0) <= ($1 | 0)) { + break label$8; + } + HEAP32[$5 + 40 >> 2] = $1; + } + $5 = $5 + 88 | 0; + $12 = $12 + 1 | 0; + if (($12 | 0) != ($4 | 0)) { + continue; + } break; - } else { - HEAP32[i1 + 4 >> 2] = i2; + } + if (($4 | 0) <= 0) { + break label$2; + } + $1 = 0; + while (1) { + wasm2js_i32$0 = $2, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$2 + 36 >> 2], Math_imul(HEAP32[$2 + 8 >> 2], HEAP32[$0 + 28 >> 2])), Math_imul(HEAP32[$0 + 428 >> 2], HEAP32[$0 + 316 >> 2])), + HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = jdiv_round_up(Math_imul(HEAP32[$2 + 40 >> 2], Math_imul(HEAP32[$2 + 12 >> 2], HEAP32[$0 + 32 >> 2])), Math_imul(HEAP32[$0 + 428 >> 2], HEAP32[$0 + 320 >> 2])), + HEAP32[wasm2js_i32$0 + 48 >> 2] = wasm2js_i32$1; + $2 = $2 + 88 | 0; + $1 = $1 + 1 | 0; + $4 = HEAP32[$0 + 36 >> 2]; + if (($1 | 0) < ($4 | 0)) { + continue; + } break; } - } else i1 = 0; while (0); - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS0_11string_pairENS1_IS4_Lm4096EEEEELm4096EE10deallocateEPS6_m(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE10deallocateEPcm(HEAP32[i1 >> 2] | 0, i2, i3 << 4); - return; -} - -function _testSetjmp(i3, i5, i4) { - i3 = i3 | 0; - i5 = i5 | 0; - i4 = i4 | 0; - var i1 = 0, i2 = 0; - while ((i2 | 0) < (i4 | 0)) { - i1 = HEAP32[i5 + (i2 << 3) >> 2] | 0; - if (!i1) break; - if ((i1 | 0) == (i3 | 0)) return HEAP32[i5 + ((i2 << 3) + 4) >> 2] | 0; - i2 = i2 + 1 | 0; - } - return 0; -} - -function __ZN6vision25bilinear_downsample_pointERfS0_ffi(i1, i2, d3, d4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - d3 = +d3; - d4 = +d4; - i5 = i5 | 0; - var d6 = 0.0, d7 = 0.0; - d7 = 1.0 / +(1 << i5 | 0); - d6 = d7 * .5 + -.5; - HEAPF32[i1 >> 2] = d7 * d3 + d6; - HEAPF32[i2 >> 2] = d7 * d4 + d6; - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_110construct_Ev() { - var i1 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - if (!(_pthread_key_create(58348, 145) | 0)) { - STACKTOP = i1; - return; - } else _abort_message(49266, i1); -} - -function __ZN6vision12FeaturePointC2Effffb(i1, d2, d3, d4, d5, i6) { - i1 = i1 | 0; - d2 = +d2; - d3 = +d3; - d4 = +d4; - d5 = +d5; - i6 = i6 | 0; - HEAPF32[i1 >> 2] = d2; - HEAPF32[i1 + 4 >> 2] = d3; - HEAPF32[i1 + 8 >> 2] = d4; - HEAPF32[i1 + 12 >> 2] = d5; - HEAP8[i1 + 16 >> 0] = i6 & 1; - return; -} - -function _jinit_master_decompress(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i1 + 4 >> 2] >> 2] & 63](i1, 1, 28) | 0; - HEAP32[i1 + 420 >> 2] = i2; - HEAP32[i2 >> 2] = 120; - HEAP32[i2 + 4 >> 2] = 121; - HEAP32[i2 + 8 >> 2] = 0; - _master_selection(i1); - return; -} - -function __ZNKSt3__210moneypunctIwLb1EE16do_positive_signEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; } - return; -} - -function __ZNKSt3__210moneypunctIwLb0EE16do_positive_signEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; + $1 = HEAP32[$0 + 44 >> 2] - 1 | 0; + if ($1 >>> 0 <= 6) { + $4 = HEAP32[($1 << 2) + 42128 >> 2]; } - return; -} - -function __ZNKSt3__210moneypunctIcLb1EE16do_positive_signEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; + HEAP32[$0 + 120 >> 2] = $4; + $1 = 1; + HEAP32[$0 + 124 >> 2] = HEAP32[$0 + 84 >> 2] ? 1 : $4; + if (use_merged_upsample($0)) { + $1 = HEAP32[$0 + 320 >> 2]; } - return; + HEAP32[$0 + 128 >> 2] = $1; } -function __ZNKSt3__210moneypunctIcLb0EE16do_positive_signEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZN6vision13Similarity2x2IfEEvPT_S1_S1_(i1, d2, d3) { - i1 = i1 | 0; - d2 = +d2; - d3 = +d3; - var d4 = 0.0; - d4 = +Math_cos(+d2) * d3; - d3 = +Math_sin(+d2) * d3; - HEAPF32[i1 >> 2] = d4; - HEAPF32[i1 + 4 >> 2] = -d3; - HEAPF32[i1 + 8 >> 2] = d3; - HEAPF32[i1 + 12 >> 2] = d4; - return; -} - -function __ZNSt3__26vectorIhNS_9allocatorIhEEE10deallocateEv(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - i3 = i1 + 4 | 0; - HEAP32[i3 >> 2] = i2; - __ZdlPv(i2); - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i3 >> 2] = 0; - HEAP32[i1 >> 2] = 0; - } - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS3_INS0_11string_pairENS1_IS4_Lm4096EEEEENS1_IS6_Lm4096EEEEELm4096EE8allocateEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE8allocateEm(HEAP32[i1 >> 2] | 0, i2 << 4) | 0; -} - -function __ZNSt3__212_GLOBAL__N_111__fake_bindC2EMNS_6locale2idEFvvEPS3_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - var i4 = 0; - i4 = HEAP32[i2 >> 2] | 0; - i2 = HEAP32[i2 + 4 >> 2] | 0; - HEAP32[i1 >> 2] = i3; - HEAP32[i1 + 4 >> 2] = i4; - HEAP32[i1 + 8 >> 2] = i2; - return; -} - -function __ZNKSt3__210moneypunctIwLb1EE14do_curr_symbolEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20bool__29_20const($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, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 32 | 0; + __stack_pointer = $6; + HEAP32[$6 + 24 >> 2] = $1; + label$1: { + if (!(std____2__ios_base__flags_28_29_20const($3) & 1)) { + HEAP32[$6 >> 2] = -1; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1, $2, $3, $4, $6) | 0; + HEAP32[$6 + 24 >> 2] = $1; + label$3: { + switch (HEAP32[$6 >> 2]) { + case 0: + HEAP8[$5 | 0] = 0; + break label$1; -function __ZNKSt3__210moneypunctIwLb0EE14do_curr_symbolEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} + case 1: + HEAP8[$5 | 0] = 1; + break label$1; -function __ZNKSt3__210moneypunctIcLb1EE14do_curr_symbolEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; + default: + break label$3; + } + } + HEAP8[$5 | 0] = 1; + HEAP32[$4 >> 2] = 4; + break label$1; + } + std____2__ios_base__getloc_28_29_20const($6, $3); + $1 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($6); + std____2__locale___locale_28_29($6); + std____2__ios_base__getloc_28_29_20const($6, $3); + $3 = std____2__numpunct_wchar_t__20const__20std____2__use_facet_std____2__numpunct_wchar_t___28std____2__locale_20const__29($6); + std____2__locale___locale_28_29($6); + std____2__numpunct_wchar_t___truename_28_29_20const($6, $3); + std____2__numpunct_wchar_t___falsename_28_29_20const($6 | 12, $3); + $3 = $6 + 24 | 0; + wasm2js_i32$0 = $5, wasm2js_i32$1 = (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__20std____2____scan_keyword_std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__ctype_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__ctype_wchar_t__20const__2c_20unsigned_20int__2c_20bool_29($6 + 24 | 0, $2, $6, $3, $1, $4, 1) | 0) == ($6 | 0), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + $1 = HEAP32[$6 + 24 >> 2]; + while (1) { + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($3 - 12 | 0); + if (($6 | 0) != ($3 | 0)) { + continue; + } + break; + } } - return; + __stack_pointer = $6 + 32 | 0; + return $1 | 0; } -function __ZNKSt3__210moneypunctIcLb0EE14do_curr_symbolEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; -} - -function __ZNSt3__27codecvtIwc11__mbstate_tED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - HEAP32[i1 >> 2] = 16788; - i2 = i1 + 8 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if ((i3 | 0) != (__ZNSt3__26__clocEv() | 0)) _freelocale(HEAP32[i2 >> 2] | 0); - __ZNSt3__26locale5facetD2Ev(i1); - return; -} - -function __ZNKSt3__210moneypunctIwLb1EE11do_groupingEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; - } - return; +function vision__HammingDistance768_28unsigned_20int_20const__2c_20unsigned_20int_20const__29($0, $1) { + return ((((((((((((((((((((((vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 >> 2], HEAP32[$1 >> 2]) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 4 >> 2], HEAP32[$1 + 4 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 8 >> 2], HEAP32[$1 + 8 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 12 >> 2], HEAP32[$1 + 12 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 16 >> 2], HEAP32[$1 + 16 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 20 >> 2], HEAP32[$1 + 20 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 24 >> 2], HEAP32[$1 + 24 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 28 >> 2], HEAP32[$1 + 28 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 32 >> 2], HEAP32[$1 + 32 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 36 >> 2], HEAP32[$1 + 36 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 40 >> 2], HEAP32[$1 + 40 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 44 >> 2], HEAP32[$1 + 44 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 48 >> 2], HEAP32[$1 + 48 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 52 >> 2], HEAP32[$1 + 52 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 56 >> 2], HEAP32[$1 + 56 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 60 >> 2], HEAP32[$1 + 60 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 64 >> 2], HEAP32[$1 + 64 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 68 >> 2], HEAP32[$1 + 68 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 72 >> 2], HEAP32[$1 + 72 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 76 >> 2], HEAP32[$1 + 76 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 80 >> 2], HEAP32[$1 + 80 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 84 >> 2], HEAP32[$1 + 84 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 88 >> 2], HEAP32[$1 + 88 >> 2]) | 0) + vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29(HEAP32[$0 + 92 >> 2], HEAP32[$1 + 92 >> 2]) | 0; } -function __ZNKSt3__210moneypunctIwLb0EE11do_groupingEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; +function arglCameraFrustumRH($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $4 = __stack_pointer - 400 | 0; + __stack_pointer = $4; + $7 = HEAP32[$0 + 4 >> 2]; + $9 = HEAP32[$0 >> 2]; + label$1: { + if ((arParamDecompMat($0 + 8 | 0, $4 + 304 | 0, $4 + 208 | 0) | 0) >= 0) { + $8 = +($7 - 1 | 0); + while (1) if (($6 | 0) == 4) { + $5 = HEAPF64[$4 + 384 >> 3]; + $0 = 0; + while (1) { + $6 = 0; + if (($0 | 0) != 3) { + while (1) { + if (($6 | 0) != 3) { + $7 = $6 << 3; + HEAPF64[$7 + (($4 + 128 | 0) + Math_imul($0, 24) | 0) >> 3] = HEAPF64[(($4 + 304 | 0) + ($0 << 5) | 0) + $7 >> 3] / $5; + $6 = $6 + 1 | 0; + continue; + } + break; + } + $0 = $0 + 1 | 0; + continue; + } + break; + } + HEAP32[$4 + 32 >> 2] = 0; + HEAP32[$4 + 36 >> 2] = 0; + HEAP32[$4 + 56 >> 2] = 0; + HEAP32[$4 + 60 >> 2] = 0; + $0 = $4 - -64 | 0; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$4 + 72 >> 2] = 0; + HEAP32[$4 + 76 >> 2] = 0; + HEAP32[$4 + 104 >> 2] = 0; + HEAP32[$4 + 108 >> 2] = 0; + $5 = $1 - $2; + HEAPF64[$4 + 80 >> 3] = ($1 + $2) / $5; + HEAPF64[$4 + 88 >> 3] = ($2 + $2) * $1 / $5; + HEAPF64[$4 + 40 >> 3] = HEAPF64[$4 + 160 >> 3] * -2 / $8; + $5 = HEAPF64[$4 + 168 >> 3]; + HEAPF64[$4 + 48 >> 3] = -(($5 + $5) / $8 + -1); + HEAP32[$4 + 24 >> 2] = 0; + HEAP32[$4 + 28 >> 2] = 0; + HEAP32[$4 + 96 >> 2] = 0; + HEAP32[$4 + 100 >> 2] = 0; + $5 = HEAPF64[$4 + 128 >> 3]; + $1 = $5 + $5; + $5 = +($9 - 1 | 0); + HEAPF64[$4 >> 3] = $1 / $5; + $8 = HEAPF64[$4 + 136 >> 3]; + HEAPF64[$4 + 8 >> 3] = ($8 + $8) / $5; + $8 = HEAPF64[$4 + 144 >> 3]; + HEAPF64[$4 + 16 >> 3] = -(($8 + $8) / $5 + -1); + HEAP32[$4 + 120 >> 2] = 0; + HEAP32[$4 + 124 >> 2] = 0; + HEAP32[$4 + 112 >> 2] = 0; + HEAP32[$4 + 116 >> 2] = -1074790400; + $1 = HEAPF64[$4 + 296 >> 3]; + $10 = HEAPF64[$4 + 264 >> 3]; + $7 = 0; + $11 = HEAPF64[$4 + 232 >> 3]; + while (1) { + if (($7 | 0) == 4) { + break label$1; + } + $9 = ($7 << 5) + $4 | 0; + $5 = HEAPF64[$9 + 16 >> 3]; + $8 = HEAPF64[$9 + 8 >> 3]; + $2 = HEAPF64[$9 >> 3]; + $6 = 0; + while (1) { + if (($6 | 0) != 3) { + $0 = ($4 + 208 | 0) + ($6 << 3) | 0; + HEAPF64[(($6 << 2) + $7 << 3) + $3 >> 3] = $5 * HEAPF64[$0 - -64 >> 3] + ($2 * HEAPF64[$0 >> 3] + $8 * HEAPF64[$0 + 32 >> 3]); + $6 = $6 + 1 | 0; + continue; + } + break; + } + HEAPF64[(($7 << 3) + $3 | 0) + 96 >> 3] = $5 * $1 + ($2 * $11 + $8 * $10) + HEAPF64[$9 + 24 >> 3]; + $7 = $7 + 1 | 0; + continue; + } + } else { + $0 = ($4 + 304 | 0) + ($6 << 3) | 0; + $7 = $0 + 32 | 0; + HEAPF64[$7 >> 3] = $8 * HEAPF64[$0 - -64 >> 3] - HEAPF64[$0 + 32 >> 3]; + $6 = $6 + 1 | 0; + continue; + } + } + arLog(0, 3, 1591, 0); + } + __stack_pointer = $4 + 400 | 0; +} + +function arParamLoad($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 288 | 0; + __stack_pointer = $4; + $6 = -1; + label$1: { + if (!$2 | (!$0 | ($1 | 0) <= 0)) { + break label$1; + } + $5 = fopen($0, 4256); + if (!$5) { + $2 = __errno_location(); + $5 = HEAP32[$2 >> 2]; + HEAP32[$4 + 20 >> 2] = $0; + HEAP32[$4 + 16 >> 2] = $5; + arLog(0, 3, 5439, $4 + 16 | 0); + wasm2js_i32$0 = $4, wasm2js_i32$1 = strerror(HEAP32[$2 >> 2]), HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + HEAP32[$4 >> 2] = 4058; + arLog(0, 3, 3296, $4); + break label$1; + } + $6 = 0; + fseek($5, 0, 2); + label$3: { + label$4: { + if (ferror($5)) { + $0 = __errno_location(); + HEAP32[$4 + 80 >> 2] = HEAP32[$0 >> 2]; + arLog(0, 3, 5864, $4 + 80 | 0); + wasm2js_i32$0 = $4, wasm2js_i32$1 = strerror(HEAP32[$0 >> 2]), HEAP32[wasm2js_i32$0 + 68 >> 2] = wasm2js_i32$1; + HEAP32[$4 + 64 >> 2] = 4058; + arLog(0, 3, 3296, $4 - -64 | 0); + break label$4; + } + $7 = ftell($5); + rewind($5); + label$6: { + while (1) { + $0 = $6; + if (($0 | 0) == 4) { + break label$6; + } + $6 = $0 + 1 | 0; + if (($7 | 0) % HEAP32[(($0 << 3) + 21248 | 0) + 4 >> 2] | 0) { + continue; + } + break; + } + if ((fread($4 + 96 | 0, HEAP32[(($0 << 3) + 21248 | 0) + 4 >> 2], 1, $5) | 0) != 1) { + $0 = __errno_location(); + HEAP32[$4 + 48 >> 2] = HEAP32[$0 >> 2]; + arLog(0, 3, 7471, $4 + 48 | 0); + wasm2js_i32$0 = $4, wasm2js_i32$1 = strerror(HEAP32[$0 >> 2]), HEAP32[wasm2js_i32$0 + 36 >> 2] = wasm2js_i32$1; + HEAP32[$4 + 32 >> 2] = 4058; + arLog(0, 3, 3296, $4 + 32 | 0); + break label$4; + } + HEAP32[$4 + 272 >> 2] = $6; + byteswap($4 + 96 | 0); + if (!$0) { + $7 = $4 + 224 | 0; + $8 = HEAPF64[$7 >> 3]; + HEAPF64[$4 + 224 >> 3] = HEAPF64[$4 + 216 >> 3]; + HEAPF64[$4 + 216 >> 3] = $8; + } + wasm2js_memory_copy($2, $4 + 96 | 0, 184); + HEAP32[$4 + 284 >> 2] = $3; + $3 = ($1 | 0) > 1 ? $1 : 1; + $7 = 1; + while (1) { + $1 = 0; + if (($3 | 0) == ($7 | 0)) { + break label$3; + } + $1 = HEAP32[$4 + 284 >> 2]; + HEAP32[$4 + 284 >> 2] = $1 + 4; + $1 = HEAP32[$1 >> 2]; + HEAP32[$1 + 176 >> 2] = HEAP32[$2 + 176 >> 2]; + if ((fread($4 + 96 | 0, HEAP32[(HEAP32[$2 + 176 >> 2] << 3) + 21244 >> 2], 1, $5) | 0) != 1) { + break label$4; + } + HEAP32[$4 + 272 >> 2] = $6; + byteswap($4 + 96 | 0); + if (!$0) { + $8 = HEAPF64[$4 + 224 >> 3]; + HEAPF64[$4 + 224 >> 3] = HEAPF64[$4 + 216 >> 3]; + HEAPF64[$4 + 216 >> 3] = $8; + } + wasm2js_memory_copy($1, $4 + 96 | 0, 184); + $7 = $7 + 1 | 0; + continue; + } + } + arLog(0, 3, 7090, 0); + } + $1 = -1; + } + $6 = $1; + fclose($5); } - return; + __stack_pointer = $4 + 288 | 0; + return $6; } -function __ZNKSt3__210moneypunctIcLb1EE11do_groupingEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; +function vision__BinaryHierarchicalClustering_96___query_28unsigned_20char_20const__29_20const($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = $0 + 8 | 0; + if (std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96_____get_28_29_20const($3)) { + HEAP32[$0 + 100 >> 2] = 0; + $4 = $0 + 72 | 0; + std____2__vector_int_2c_20std____2__allocator_int____clear_28_29($4); + $2 = $0 + 84 | 0; + while (1) { + if (!std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____empty_28_29_20const($2)) { + std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____pop_28_29($2); + continue; + } + break; + } + vision__BinaryHierarchicalClustering_96___query_28std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____2c_20vision__Node_96__20const__2c_20unsigned_20char_20const__29_20const($0, $2, std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96_____get_28_29_20const($3), $1); + return std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($4); } - return; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 23020), 16423), 9176), 405), 10040), 23087), 16); + abort(); + abort(); } -function __ZNKSt3__210moneypunctIcLb0EE11do_groupingEv(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 0; - HEAP32[i2 + 8 >> 2] = 0; - i1 = 0; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($0, $1) { + var $2 = 0; + $0 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________node_alloc_28_29($0); while (1) { - if ((i1 | 0) == 3) break; - HEAP32[i2 + (i1 << 2) >> 2] = 0; - i1 = i1 + 1 | 0; + if ($1) { + $2 = HEAP32[$1 >> 2]; + $1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________upcast_28_29($1); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______destroy_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_____29($0, std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96________get_ptr_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_____29($1 + 8 | 0)); + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20unsigned_20long_29($0, $1, 1); + $1 = $2; + continue; + } + break; } - return; -} - -function _wmemcpy(i4, i2, i1) { - i4 = i4 | 0; - i2 = i2 | 0; - i1 = i1 | 0; - var i3 = 0; - if (i1 | 0) { - i3 = i4; - while (1) { - i1 = i1 + -1 | 0; - HEAP32[i3 >> 2] = HEAP32[i2 >> 2]; - if (!i1) break; else { - i2 = i2 + 4 | 0; - i3 = i3 + 4 | 0; - } - } - } - return i4 | 0; -} - -function _arMatrixAllocMul(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0; - i1 = _arMatrixAlloc(HEAP32[i2 + 4 >> 2] | 0, HEAP32[i3 + 8 >> 2] | 0) | 0; - if (i1) { - if ((_arMatrixMul(i1, i2, i3) | 0) < 0) { - _arMatrixFree(i1) | 0; - i1 = 0; - } - } else i1 = 0; - return i1 | 0; -} - -function __ZNSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i1 = i1 + 4 | 0; - i3 = HEAP32[i1 >> 2] | 0; - _memset(i3 | 0, 0, i2 * 12 | 0) | 0; - HEAP32[i1 >> 2] = i3 + (i2 * 12 | 0); - return; -} - -function __ZNKSt3__27codecvtIcc11__mbstate_tE6do_outERS1_PKcS5_RS5_PcS7_RS7_(i1, i2, i3, i4, i5, i6, i7, i8) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - HEAP32[i5 >> 2] = i3; - HEAP32[i8 >> 2] = i6; - return 3; } -function __ZN6vision18BinomialPyramid32fC2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - __ZN6vision25GaussianScaleSpacePyramidC2Ev(i1); - HEAP32[i1 >> 2] = 13484; - i1 = i1 + 32 | 0; - i2 = i1 + 36 | 0; - do { - HEAP32[i1 >> 2] = 0; - i1 = i1 + 4 | 0; - } while ((i1 | 0) < (i2 | 0)); - return; -} - -function __ZNSt3__2lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return __ZNSt3__224__put_character_sequenceIcNS_11char_traitsIcEEEERNS_13basic_ostreamIT_T0_EES7_PKS4_m(i1, i2, __ZNSt3__211char_traitsIcE6lengthEPKc(i2) | 0) | 0; -} - -function __ZNKSt3__27codecvtIcc11__mbstate_tE5do_inERS1_PKcS5_RS5_PcS7_RS7_(i1, i2, i3, i4, i5, i6, i7, i8) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - HEAP32[i5 >> 2] = i3; - HEAP32[i8 >> 2] = i6; - return 3; -} - -function __ZNSt3__214__num_get_base10__get_baseERNS_8ios_baseE(i1) { - i1 = i1 | 0; - switch (HEAP32[i1 + 4 >> 2] & 74) { - case 64: - { - i1 = 8; - break; +function get_interesting_appn($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $4 = HEAP32[$0 + 24 >> 2]; + $2 = HEAP32[$4 + 4 >> 2]; + label$1: { + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$4 + 12 >> 2]]($0) | 0)) { + $2 = 0; + break label$1; + } + $2 = HEAP32[$4 + 4 >> 2]; } - case 8: - { - i1 = 16; - break; + $6 = HEAP32[$4 >> 2]; + $5 = HEAPU8[$6 | 0]; + $2 = $2 - 1 | 0; + if ($2) { + $1 = $6 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$4 + 12 >> 2]]($0) | 0)) { + $2 = 0; + break label$1; + } + $2 = HEAP32[$4 + 4 >> 2]; + $1 = HEAP32[$4 >> 2]; + } + $6 = $1 + 1 | 0; + $2 = $2 - 1 | 0; + $1 = HEAPU8[$1 | 0] | $5 << 8; + $5 = $1 - 2 | 0; + $1 = $1 >>> 0 > 15 ? 14 : $1 >>> 0 < $5 >>> 0 ? 0 : $5; + if ($1) { + while (1) { + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$4 + 12 >> 2]]($0) | 0)) { + $2 = 0; + break label$1; + } + $6 = HEAP32[$4 >> 2]; + $2 = HEAP32[$4 + 4 >> 2]; + } + HEAP8[($3 + 2 | 0) + $7 | 0] = HEAPU8[$6 | 0]; + $6 = $6 + 1 | 0; + $2 = $2 - 1 | 0; + $7 = $7 + 1 | 0; + if (($7 | 0) != ($1 | 0)) { + continue; + } + break; + } } - case 0: - { - i1 = 0; - break; + $7 = $5 - $1 | 0; + label$11: { + label$12: { + label$13: { + $8 = HEAP32[$0 + 440 >> 2]; + $9 = $8 - 224 | 0; + if ($9) { + if (($9 | 0) == 14) { + break label$13; + } + break label$12; + } + examine_app0($0, $3 + 2 | 0, $1, $7); + break label$11; + } + label$17: { + if (HEAPU8[$3 + 2 | 0] != 65 | $1 >>> 0 < 12 | (HEAPU8[$3 + 3 | 0] != 100 | HEAPU8[$3 + 4 | 0] != 111)) { + break label$17; + } + if (HEAPU8[$3 + 5 | 0] != 98 | HEAPU8[$3 + 6 | 0] != 101) { + break label$17; + } + $8 = HEAPU8[$3 + 8 | 0]; + $10 = HEAPU8[$3 + 7 | 0]; + $11 = HEAPU8[$3 + 10 | 0]; + $12 = HEAPU8[$3 + 9 | 0]; + $13 = HEAPU8[$3 + 12 | 0]; + $9 = HEAPU8[$3 + 11 | 0]; + $5 = HEAPU8[$3 + 13 | 0]; + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 78; + HEAP32[$1 + 36 >> 2] = $5; + HEAP32[$1 + 32 >> 2] = $9 << 8 | $13; + HEAP32[$1 + 28 >> 2] = $12 << 8 | $11; + HEAP32[$1 + 24 >> 2] = $10 << 8 | $8; + FUNCTION_TABLE[HEAP32[$1 + 4 >> 2]]($0, 1); + HEAP8[$0 + 300 | 0] = $5; + HEAP32[$0 + 296 >> 2] = 1; + break label$11; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $5; + HEAP32[$1 + 20 >> 2] = 80; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 1); + break label$11; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $8; + HEAP32[$1 + 20 >> 2] = 70; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + HEAP32[$4 + 4 >> 2] = $2; + HEAP32[$4 >> 2] = $6; + $2 = 1; + if (($7 | 0) <= 0) { + break label$1; + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 24 >> 2] + 16 >> 2]]($0, $7); + } + __stack_pointer = $3 + 16 | 0; + return $2 | 0; +} + +function icpGetJ_Xc_S($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $4 = __stack_pointer - 864 | 0; + __stack_pointer = $4; + $7 = HEAPF64[$3 + 16 >> 3]; + $10 = HEAPF64[$3 + 8 >> 3]; + HEAPF64[$1 >> 3] = HEAPF64[$2 + 16 >> 3] * $7 + (HEAPF64[$2 >> 3] * HEAPF64[$3 >> 3] + HEAPF64[$2 + 8 >> 3] * $10) + HEAPF64[$2 + 24 >> 3]; + $11 = $2 + 48 | 0; + $6 = HEAPF64[$3 >> 3]; + $12 = $2 + 40 | 0; + HEAPF64[$1 + 8 >> 3] = HEAPF64[$2 + 56 >> 3] + ($7 * HEAPF64[$11 >> 3] + (HEAPF64[$2 + 32 >> 3] * $6 + $10 * HEAPF64[$12 >> 3])); + $5 = $7 * HEAPF64[$2 + 80 >> 3]; + $7 = HEAPF64[$3 + 8 >> 3]; + HEAPF64[$1 + 16 >> 3] = HEAPF64[$2 + 88 >> 3] + ($5 + ($6 * HEAPF64[$2 + 64 >> 3] + HEAPF64[$2 + 72 >> 3] * $7)); + $5 = HEAPF64[$2 >> 3]; + HEAPF64[$4 + 584 >> 3] = $7 * $5; + HEAPF64[$4 + 576 >> 3] = $6 * $5; + $10 = HEAPF64[$3 + 16 >> 3]; + HEAPF64[$4 + 592 >> 3] = $5 * $10; + $8 = HEAPF64[$2 + 8 >> 3]; + HEAPF64[$4 + 616 >> 3] = $10 * $8; + HEAPF64[$4 + 608 >> 3] = $7 * $8; + HEAPF64[$4 + 600 >> 3] = $6 * $8; + $9 = HEAPF64[$2 + 16 >> 3]; + HEAPF64[$4 + 664 >> 3] = $9; + HEAPF64[$4 + 656 >> 3] = $8; + HEAPF64[$4 + 648 >> 3] = $5; + HEAPF64[$4 + 640 >> 3] = $10 * $9; + HEAPF64[$4 + 632 >> 3] = $7 * $9; + HEAPF64[$4 + 624 >> 3] = $6 * $9; + $5 = HEAPF64[$2 + 32 >> 3]; + HEAPF64[$4 + 688 >> 3] = $10 * $5; + HEAPF64[$4 + 680 >> 3] = $7 * $5; + HEAPF64[$4 + 672 >> 3] = $6 * $5; + $8 = HEAPF64[$2 + 40 >> 3]; + HEAPF64[$4 + 712 >> 3] = $10 * $8; + HEAPF64[$4 + 704 >> 3] = $7 * $8; + HEAPF64[$4 + 696 >> 3] = $6 * $8; + $9 = HEAPF64[$2 + 48 >> 3]; + HEAPF64[$4 + 760 >> 3] = $9; + HEAPF64[$4 + 752 >> 3] = $8; + HEAPF64[$4 + 744 >> 3] = $5; + HEAPF64[$4 + 736 >> 3] = $10 * $9; + HEAPF64[$4 + 728 >> 3] = $7 * $9; + HEAPF64[$4 + 720 >> 3] = $6 * $9; + $5 = HEAPF64[$2 + 64 >> 3]; + HEAPF64[$4 + 784 >> 3] = $10 * $5; + HEAPF64[$4 + 776 >> 3] = $7 * $5; + HEAPF64[$4 + 768 >> 3] = $6 * $5; + $8 = HEAPF64[$2 + 72 >> 3]; + HEAPF64[$4 + 808 >> 3] = $10 * $8; + HEAPF64[$4 + 800 >> 3] = $7 * $8; + HEAPF64[$4 + 792 >> 3] = $6 * $8; + $9 = HEAPF64[$2 + 80 >> 3]; + HEAPF64[$4 + 856 >> 3] = $9; + HEAPF64[$4 + 848 >> 3] = $8; + HEAPF64[$4 + 840 >> 3] = $5; + HEAPF64[$4 + 832 >> 3] = $10 * $9; + HEAPF64[$4 + 824 >> 3] = $7 * $9; + HEAPF64[$4 + 816 >> 3] = $6 * $9; + icpGetJ_T_S($4); + $3 = 0; + while (1) { + $11 = 0; + if (($3 | 0) != 3) { + while (1) { + if (($11 | 0) != 6) { + $1 = $11 << 3; + $12 = $1 + (Math_imul($3, 48) + $0 | 0) | 0; + $2 = 0; + $6 = 0; + while (1) { + if (($2 | 0) != 12) { + $6 = HEAPF64[(($4 + 576 | 0) + Math_imul($3, 96) | 0) + ($2 << 3) >> 3] * HEAPF64[(Math_imul($2, 48) + $4 | 0) + $1 >> 3] + $6; + $2 = $2 + 1 | 0; + continue; + } + break; + } + HEAPF64[$12 >> 3] = $6; + $11 = $11 + 1 | 0; + continue; + } + break; + } + $3 = $3 + 1 | 0; + continue; } - default: - i1 = 10; - } - return i1 | 0; -} - -function _finish_output_pass(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 + 420 >> 2] | 0; - if (HEAP32[i1 + 84 >> 2] | 0) FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 + 460 >> 2] | 0) + 8 >> 2] & 255](i1); - i2 = i2 + 12 | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 1; - return; -} - -function __ZN6vision9MaxIndex4IfEEiPKT_(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = +HEAPF32[i1 + 4 >> 2] > +HEAPF32[i1 >> 2] & 1; - i2 = +HEAPF32[i1 + 8 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 2 : i2; - return (+HEAPF32[i1 + 12 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 3 : i2) | 0; -} - -function __ZN6vision16RobustHomographyIfED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseINS_4pairIfiEENS_9allocatorIS2_EEED2Ev(i1 + 24 | 0); - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev(i1 + 12 | 0); - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev(i1); - return; -} - -function dynCall_iiiiiiii(i8, i1, i2, i3, i4, i5, i6, i7) { - i8 = i8 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - return FUNCTION_TABLE_iiiiiiii[i8 & 7](i1 | 0, i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, i7 | 0) | 0; -} - -function _get_buff_380(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0; - L1 : while (1) { - i1 = _fgets(i2, 256, i3) | 0; - if (!i1) { - i1 = 0; + break; + } + __stack_pointer = $4 + 864 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSourceName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0; + $1 = __stack_pointer - 32 | 0; + __stack_pointer = $1; + HEAP32[$1 + 28 >> 2] = 0; + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePositiveInteger_28unsigned_20long__29($0, $1 + 28 | 0)) { + break label$1; + } + $3 = HEAP32[$1 + 28 >> 2]; + if ($3 - 1 >>> 0 >= $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($0) >>> 0) { + break label$1; + } + $2 = HEAP32[$0 >> 2]; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($1 + 16 | 0, $2, $2 + $3 | 0); + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + $3; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 8 | 0, 35007); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$1 + 4 >> 2] = $4; + if ($28anonymous_20namespace_29__itanium_demangle__StringView__startsWith_28_28anonymous_20namespace_29__itanium_demangle__StringView_29_20const($2, $1)) { + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b22_5d__28char_20const_20_28__29_20_5b22_5d_29($0); + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $2); + } + __stack_pointer = $1 + 32 | 0; + return $2; +} + +function bool_20vision__OrthogonalizePivot8x9Basis1_float__28float__2c_20float__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = $0 + 36 | 0; + $4 = $1 + 36 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($3, $0, $4); + $5 = $0 + 72 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($5, $0, $1 + 72 | 0); + $6 = $0 + 108 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($6, $0, $1 + 108 | 0); + $7 = $0 + 144 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($7, $0, $1 + 144 | 0); + $8 = $0 + 180 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($8, $0, $1 + 180 | 0); + $9 = $0 + 216 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($9, $0, $1 + 216 | 0); + $10 = $0 + 252 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($10, $0, $1 + 252 | 0); + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($3), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($5), + HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($6), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($7), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($8), + HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($9), + HEAPF32[wasm2js_i32$0 + 20 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($10), + HEAPF32[wasm2js_i32$0 + 24 >> 2] = wasm2js_f32$0; + $0 = int_20vision__MaxIndex7_float__28float_20const__29($2); + $1 = ($0 << 2) + $2 | 0; + $11 = HEAPF32[$1 >> 2]; + if ($11 != Math_fround(0)) { + $0 = Math_imul($0, 36); + void_20vision__Swap9_float__28float__2c_20float__29($3, $3 + $0 | 0); + void_20vision__Swap9_float__28float__2c_20float__29($4, $0 + $4 | 0); + void_20vision__ScaleVector9_float__28float__2c_20float_20const__2c_20float_29($3, $3, Math_fround(Math_fround(1) / sqrt_28float_29(HEAPF32[$1 >> 2]))); + } + __stack_pointer = $2 + 32 | 0; + return $11 != Math_fround(0); +} + +function void_20std____2____sift_up_std____2__less_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96_____28std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96____2c_20std____2__iterator_traits_std____2____wrap_iter_vision__PriorityQueueItem_96______difference_type_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + HEAP32[$4 + 16 >> 2] = $1; + HEAP32[$4 + 24 >> 2] = $0; + label$1: { + if (($3 | 0) < 2) { + break label$1; + } + $3 = $3 - 2 >>> 1 | 0; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28long_29_20const($4 + 24 | 0, $3), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + if (!std____2__less_vision__PriorityQueueItem_96____operator_28_29_28vision__PriorityQueueItem_96__20const__2c_20vision__PriorityQueueItem_96__20const__29_20const($2, std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 8 | 0), std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const(std____2____wrap_iter_vision__PriorityQueueItem_96_____operator___28_29($4 + 16 | 0)))) { + break label$1; + } + $1 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 16 | 0); + $0 = HEAP32[$1 >> 2]; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$4 >> 2] = $0; + HEAP32[$4 + 4 >> 2] = $1; + while (1) { + label$3: { + $1 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 8 | 0); + $5 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 16 | 0); + $0 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + $6 = $1; + $1 = $5; + HEAP32[$1 >> 2] = $6; + HEAP32[$1 + 4 >> 2] = $0; + HEAP32[$4 + 16 >> 2] = HEAP32[$4 + 8 >> 2]; + if (!$3) { + break label$3; + } + $3 = ($3 - 1 | 0) / 2 | 0; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28long_29_20const($4 + 24 | 0, $3), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + if (std____2__less_vision__PriorityQueueItem_96____operator_28_29_28vision__PriorityQueueItem_96__20const__2c_20vision__PriorityQueueItem_96__20const__29_20const($2, std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 8 | 0), $4)) { + continue; + } + } break; } - switch (HEAP8[i2 >> 0] | 0) { - case 35: - case 10: - break; - default: - break L1; + $2 = std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 16 | 0); + $1 = HEAP32[$4 + 4 >> 2]; + $0 = HEAP32[$4 >> 2]; + $3 = $0; + $0 = $2; + HEAP32[$0 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $1; + vision__PriorityQueueItem_96____PriorityQueueItem_28_29($4); + } + __stack_pointer = $4 + 32 | 0; +} + +function bool_20vision__MatrixInverse3x3_float__28float__2c_20float_20const__2c_20float_29($0, $1, $2) { + var $3 = Math_fround(0), $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $3 = float_20vision__Determinant3x3_float__28float_20const__29($1); + $4 = abs_28float_29($3) <= $2; + if (!$4) { + $2 = Math_fround(Math_fround(1) / $3); + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$1 + 16 >> 2], HEAPF32[$1 + 20 >> 2], HEAPF32[$1 + 28 >> 2], HEAPF32[$1 + 32 >> 2])), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$1 + 8 >> 2], HEAPF32[$1 + 4 >> 2], HEAPF32[$1 + 32 >> 2], HEAPF32[$1 + 28 >> 2])), + HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$1 + 4 >> 2], HEAPF32[$1 + 8 >> 2], HEAPF32[$1 + 16 >> 2], HEAPF32[$1 + 20 >> 2])), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$1 + 20 >> 2], HEAPF32[$1 + 12 >> 2], HEAPF32[$1 + 32 >> 2], HEAPF32[$1 + 24 >> 2])), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$1 >> 2], HEAPF32[$1 + 8 >> 2], HEAPF32[$1 + 24 >> 2], HEAPF32[$1 + 32 >> 2])), + HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$1 + 8 >> 2], HEAPF32[$1 >> 2], HEAPF32[$1 + 20 >> 2], HEAPF32[$1 + 12 >> 2])), + HEAPF32[wasm2js_i32$0 + 20 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$1 + 12 >> 2], HEAPF32[$1 + 16 >> 2], HEAPF32[$1 + 24 >> 2], HEAPF32[$1 + 28 >> 2])), + HEAPF32[wasm2js_i32$0 + 24 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$1 + 4 >> 2], HEAPF32[$1 >> 2], HEAPF32[$1 + 28 >> 2], HEAPF32[$1 + 24 >> 2])), + HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$1 >> 2], HEAPF32[$1 + 4 >> 2], HEAPF32[$1 + 12 >> 2], HEAPF32[$1 + 16 >> 2])), + HEAPF32[wasm2js_i32$0 + 32 >> 2] = wasm2js_f32$0; + } + return !$4; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0), std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______capacity_28_29_20const($0), 12) | 0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______capacity_28_29_20const($0), 12) | 0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0) + Math_imul($1, 12) | 0); +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0), std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______capacity_28_29_20const($0), 12) | 0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0) + Math_imul($1, 12) | 0, std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0) + Math_imul(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______size_28_29_20const($0), 12) | 0); +} + +function std____2__enable_if___is_cpp17_forward_iterator_unsigned_20char____value_20___20is_constructible_unsigned_20char_2c_20std____2__iterator_traits_unsigned_20char____reference___value_2c_20void___type_20std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____assign_unsigned_20char___28unsigned_20char__2c_20unsigned_20char__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $4 = std____2__iterator_traits_unsigned_20char____difference_type_20std____2__distance_unsigned_20char___28unsigned_20char__2c_20unsigned_20char__29($1, $2); + label$1: { + if ($4 >>> 0 <= std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____capacity_28_29_20const($0) >>> 0) { + HEAP32[$3 + 12 >> 2] = $2; + $5 = $2; + $6 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0) >>> 0 >= $4 >>> 0; + if (!$6) { + HEAP32[$3 + 12 >> 2] = $1; + void_20std____2__advance_unsigned_20char__2c_20unsigned_20long_2c_20unsigned_20long_2c_20void__28unsigned_20char___2c_20unsigned_20long_29($3 + 12 | 0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0)); + $5 = HEAP32[$3 + 12 >> 2]; + } + $1 = unsigned_20char__20std____2__copy_unsigned_20char__2c_20unsigned_20char___28unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char__29($1, $5, HEAP32[$0 >> 2]); + if (!$6) { + std____2__enable_if___is_cpp17_forward_iterator_unsigned_20char____value_2c_20void___type_20std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______construct_at_end_unsigned_20char___28unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20long_29($0, HEAP32[$3 + 12 >> 2], $2, $4 - std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0) | 0); + break label$1; + } + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______destruct_at_end_28unsigned_20char__29($0, $1); + break label$1; + } + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______vdeallocate_28_29($0); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______vallocate_28unsigned_20long_29($0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______recommend_28unsigned_20long_29_20const($0, $4)); + std____2__enable_if___is_cpp17_forward_iterator_unsigned_20char____value_2c_20void___type_20std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______construct_at_end_unsigned_20char___28unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20long_29($0, $1, $2, $4); + } + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______invalidate_all_iterators_28_29($0); + __stack_pointer = $3 + 16 | 0; +} + +function ar2ReadFeatureSet($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $2 = __stack_pointer - 544 | 0; + __stack_pointer = $2; + HEAP32[$2 + 16 >> 2] = $0; + HEAP32[$2 + 20 >> 2] = $1; + siprintf($2 + 32 | 0, 1035, $2 + 16 | 0); + label$1: { + $1 = fopen($2 + 32 | 0, 2551); + label$2: { + if (!$1) { + HEAP32[$2 >> 2] = $0; + arLog(0, 3, 3302, $2); + break label$2; + } + label$4: { + label$5: { + $4 = dlmalloc(8); + if ($4) { + if ((fread($4 + 4 | 0, 4, 1, $1) | 0) != 1) { + arLog(0, 3, 4698, 0); + break label$5; + } + $0 = HEAP32[$4 + 4 >> 2]; + $5 = dlmalloc(Math_imul($0, 20)); + HEAP32[$4 >> 2] = $5; + if ($5) { + $8 = ($0 | 0) > 0 ? $0 : 0; + while (1) { + if (($6 | 0) == ($8 | 0)) { + break label$4; + } + label$10: { + $0 = Math_imul($6, 20) + $5 | 0; + label$11: { + if ((fread($0 + 8 | 0, 4, 1, $1) | 0) != 1) { + break label$11; + } + if ((fread($0 + 12 | 0, 4, 1, $1) | 0) != 1) { + break label$11; + } + if ((fread($0 + 16 | 0, 4, 1, $1) | 0) != 1) { + break label$11; + } + if ((fread($0 + 4 | 0, 4, 1, $1) | 0) != 1) { + break label$11; + } + $3 = dlmalloc(Math_imul(HEAP32[$0 + 4 >> 2], 20)); + HEAP32[$0 >> 2] = $3; + $7 = 0; + if (!$3) { + break label$1; + } + while (1) { + if (HEAP32[$0 + 4 >> 2] <= ($7 | 0)) { + break label$10; + } + $3 = Math_imul($7, 20); + if ((fread($3 + HEAP32[$0 >> 2] | 0, 4, 1, $1) | 0) != 1) { + break label$11; + } + if ((fread((HEAP32[$0 >> 2] + $3 | 0) + 4 | 0, 4, 1, $1) | 0) != 1) { + break label$11; + } + if ((fread((HEAP32[$0 >> 2] + $3 | 0) + 8 | 0, 4, 1, $1) | 0) != 1) { + break label$11; + } + if ((fread((HEAP32[$0 >> 2] + $3 | 0) + 12 | 0, 4, 1, $1) | 0) != 1) { + break label$11; + } + $7 = $7 + 1 | 0; + if ((fread((HEAP32[$0 >> 2] + $3 | 0) + 16 | 0, 4, 1, $1) | 0) == 1) { + continue; + } + break; + } + } + $0 = 0; + arLog(0, 3, 4698, 0); + while (1) { + if (($0 | 0) != ($6 | 0)) { + dlfree(HEAP32[Math_imul($0, 20) + $5 >> 2]); + $0 = $0 + 1 | 0; + continue; + } + break; + } + dlfree($5); + break label$5; + } + $6 = $6 + 1 | 0; + continue; + } + } + break label$1; + } + break label$1; + } + dlfree($4); + $4 = 0; + } + fclose($1); } + __stack_pointer = $2 + 544 | 0; + return $4; } - return i1 | 0; + arLog(0, 3, 4042, 0); + exit(1); + abort(); } -function _get_buff_345(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0; - L1 : while (1) { - i1 = _fgets(i2, 256, i3) | 0; - if (!i1) { - i1 = 0; - break; +function arith_decode($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $4 = HEAP32[$0 + 468 >> 2]; + $3 = HEAP32[$4 + 16 >> 2]; + label$1: { + if (($3 | 0) >= 32768) { + $2 = HEAP32[$4 + 20 >> 2]; + break label$1; } - switch (HEAP8[i2 >> 0] | 0) { - case 35: - case 10: + $2 = HEAP32[$4 + 20 >> 2]; + while (1) { + $3 = $2 - 1 | 0; + HEAP32[$4 + 20 >> 2] = $3; + label$4: { + if (($2 | 0) > 0) { + $2 = $3; + break label$4; + } + $5 = 0; + if (!HEAP32[$0 + 440 >> 2]) { + $2 = HEAP32[$0 + 24 >> 2]; + label$7: { + if (HEAP32[$2 + 4 >> 2]) { + break label$7; + } + if (FUNCTION_TABLE[HEAP32[$2 + 12 >> 2]]($0) | 0) { + break label$7; + } + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 25; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + } + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] - 1; + $3 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $3 + 1; + $5 = HEAPU8[$3 | 0]; + label$8: { + if (($5 | 0) != 255) { + break label$8; + } + while (1) { + $2 = HEAP32[$0 + 24 >> 2]; + label$10: { + if (HEAP32[$2 + 4 >> 2]) { + break label$10; + } + if (FUNCTION_TABLE[HEAP32[$2 + 12 >> 2]]($0) | 0) { + break label$10; + } + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 25; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + } + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] - 1; + $3 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $3 + 1; + $5 = 255; + $2 = HEAPU8[$3 | 0]; + if (($2 | 0) == 255) { + continue; + } + break; + } + if (!$2) { + break label$8; + } + HEAP32[$0 + 440 >> 2] = $2; + $5 = 0; + } + $3 = HEAP32[$4 + 20 >> 2]; + } + $2 = $3 + 8 | 0; + HEAP32[$4 + 20 >> 2] = $2; + HEAP32[$4 + 12 >> 2] = HEAP32[$4 + 12 >> 2] << 8 | $5; + if (($3 | 0) > -9) { + break label$4; + } + $2 = $3 + 9 | 0; + HEAP32[$4 + 20 >> 2] = $2; + if ($2) { + break label$4; + } + HEAP32[$4 + 16 >> 2] = 32768; + $2 = 0; + } + $3 = HEAP32[$4 + 16 >> 2] << 1; + HEAP32[$4 + 16 >> 2] = $3; + if (($3 | 0) < 32768) { + continue; + } break; - default: - break L1; } } - return i1 | 0; -} + $0 = HEAPU8[$1 | 0]; + $5 = HEAP32[(($0 & 127) << 2) + 40384 >> 2]; + $6 = $5 >> 16; + $3 = $3 - $6 | 0; + HEAP32[$4 + 16 >> 2] = $3; + $7 = $5 >> 8; + $2 = $3 << $2; + $8 = HEAP32[$4 + 12 >> 2]; + label$11: { + if (($2 | 0) <= ($8 | 0)) { + HEAP32[$4 + 16 >> 2] = $6; + HEAP32[$4 + 12 >> 2] = $8 - $2; + $4 = $0 & 128; + if (($3 | 0) < ($6 | 0)) { + HEAP8[$1 | 0] = $4 ^ $7; + break label$11; + } + HEAP8[$1 | 0] = $4 ^ $5; + $0 = $0 ^ 128; + break label$11; + } + if ($3 >>> 0 > 32767) { + break label$11; + } + $4 = $0 & 128; + if (($3 | 0) < ($6 | 0)) { + HEAP8[$1 | 0] = $4 ^ $5; + $0 = $0 ^ 128; + break label$11; + } + HEAP8[$1 | 0] = $4 ^ $7; + } + return $0 >>> 7 | 0; +} + +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20bool__29_20const($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, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 32 | 0; + __stack_pointer = $6; + HEAP32[$6 + 24 >> 2] = $1; + label$1: { + if (!(std____2__ios_base__flags_28_29_20const($3) & 1)) { + HEAP32[$6 >> 2] = -1; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1, $2, $3, $4, $6) | 0; + HEAP32[$6 + 24 >> 2] = $1; + label$3: { + switch (HEAP32[$6 >> 2]) { + case 0: + HEAP8[$5 | 0] = 0; + break label$1; -function _self_destruct(i2) { - i2 = i2 | 0; - var i1 = 0; - i1 = 1; - while (1) { - if ((i1 | 0) <= -1) break; - _free_pool(i2, i1); - i1 = i1 + -1 | 0; - } - i1 = i2 + 4 | 0; - _jpeg_free_small(i2, HEAP32[i1 >> 2] | 0, 84); - HEAP32[i1 >> 2] = 0; - _jpeg_mem_term(i2); - return; -} - -function __ZNSt3__214__split_bufferINS_4pairIfiEERNS_9allocatorIS2_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i1 = i1 + 8 | 0; - i3 = HEAP32[i1 >> 2] | 0; - _memset(i3 | 0, 0, i2 << 3 | 0) | 0; - HEAP32[i1 >> 2] = i3 + (i2 << 3); - return; -} - -function __ZNKSt3__27codecvtIwc11__mbstate_tE13do_max_lengthEv(i1) { - i1 = i1 | 0; - var i2 = 0; - i1 = HEAP32[i1 + 8 >> 2] | 0; - if (i1) { - i2 = ___uselocale(i1) | 0; - i1 = ___ctype_get_mb_cur_max() | 0; - if (i2) ___uselocale(i2) | 0; - } else i1 = 1; - return i1 | 0; -} - -function __ZNKSt3__210moneypunctIwLb1EE16do_negative_signEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw(i1, 1, 45); - return; -} - -function __ZNKSt3__210moneypunctIwLb0EE16do_negative_signEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEmw(i1, 1, 45); - return; -} - -function __ZNKSt3__210moneypunctIcLb1EE16do_negative_signEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc(i1, 1, 45); - return; -} - -function __ZNKSt3__210moneypunctIcLb0EE16do_negative_signEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc(i1, 1, 45); - return; -} - -function __ZN6vision5ImageC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP32[i1 + 16 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - HEAP32[i1 + 24 >> 2] = 0; - HEAP32[i1 + 28 >> 2] = 0; - return; -} - -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKwm(i1, i2, __ZNSt3__211char_traitsIwE6lengthEPKw(i2) | 0) | 0; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm(i1, i2, __ZNSt3__211char_traitsIcE6lengthEPKc(i2) | 0) | 0; -} - -function __ZN12arControllerD2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseI12multi_markerNS_9allocatorIS1_EEED2Ev(i1 + 280 | 0); - __ZNSt3__213unordered_mapIiP14AR2SurfaceSetTNS_4hashIiEENS_8equal_toIiEENS_9allocatorINS_4pairIKiS2_EEEEED2Ev(i1 + 244 | 0); - return; -} - -function __ZNSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE16__on_zero_sharedEv(i1) { - i1 = i1 | 0; - i1 = HEAP32[i1 + 12 >> 2] | 0; - if (i1 | 0) { - __ZN6vision8KeyframeILi96EED2Ev(i1); - __ZdlPv(i1); - } - return; -} - -function __ZNSt3__212_GLOBAL__N_14makeINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { - HEAP32[13979] = 0; - HEAP32[13978] = 17032; - __ZNSt3__220__time_get_c_storageIwEC2Ev(55920); - HEAP32[13978] = 15072; - HEAP32[13980] = 15120; - return; -} - -function __ZNSt3__212_GLOBAL__N_14makeINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { - HEAP32[13975] = 0; - HEAP32[13974] = 17032; - __ZNSt3__220__time_get_c_storageIcEC2Ev(55904); - HEAP32[13974] = 14988; - HEAP32[13976] = 15036; - return; -} - -function __ZNKSt3__25ctypeIwE5do_isEtw(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - if (i3 >>> 0 < 128) { - i1 = (__ZNSt3__25ctypeIcE13classic_tableEv() | 0) + (i3 << 1) | 0; - i1 = (HEAP16[i1 >> 1] & i2) << 16 >> 16 != 0; - } else i1 = 0; - return i1 | 0; -} - -function __ZN6vision25DoGScaleInvariantDetector22setMaxNumFeaturePointsEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 + 84 >> 2] = i2; - __ZNSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE7reserveEm(i1 + 60 | 0, i2); - return; -} - -function __ZNKSt3__25ctypeIcE8do_widenEPKcS3_Pc(i3, i1, i4, i2) { - i3 = i3 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - i2 = i2 | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - HEAP8[i2 >> 0] = HEAP8[i1 >> 0] | 0; - i2 = i2 + 1 | 0; - i1 = i1 + 1 | 0; - } - return i4 | 0; -} - -function _ferror(i2) { - i2 = i2 | 0; - var i1 = 0, i3 = 0; - if ((HEAP32[i2 + 76 >> 2] | 0) > -1) { - i3 = (___lockfile(i2) | 0) == 0; - i1 = (HEAP32[i2 >> 2] | 0) >>> 5 & 1; - if (!i3) ___unlockfile(i2); - } else i1 = (HEAP32[i2 >> 2] | 0) >>> 5 & 1; - return i1 | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111short_allocINS0_11string_pairELm4096EE10deallocateEPS2_m(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE10deallocateEPcm(HEAP32[i1 >> 2] | 0, i2, i3 * 24 | 0); - return; -} - -function _arMatrixAllocTrans(i2) { - i2 = i2 | 0; - var i1 = 0; - i1 = _arMatrixAlloc(HEAP32[i2 + 8 >> 2] | 0, HEAP32[i2 + 4 >> 2] | 0) | 0; - if (i1) { - if ((_arMatrixTrans(i1, i2) | 0) < 0) { - _arMatrixFree(i1) | 0; - i1 = 0; - } - } else i1 = 0; - return i1 | 0; -} - -function __ZN6vision9ExceptionC2ERKNSt3__212basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 13516; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_(i1 + 4 | 0, i2); - return; -} - -function __ZN6vision17HammingDistance32Ejj(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - i2 = i2 ^ i1; - i2 = i2 - (i2 >>> 1 & 1431655765) | 0; - i2 = (i2 >>> 2 & 858993459) + (i2 & 858993459) | 0; - return (Math_imul((i2 >>> 4) + i2 & 252645135, 16843009) | 0) >>> 24 | 0; -} - -function __ZNKSt3__25ctypeIwE8do_widenEPKcS3_Pw(i3, i1, i4, i2) { - i3 = i3 | 0; - i1 = i1 | 0; - i4 = i4 | 0; - i2 = i2 | 0; - while (1) { - if ((i1 | 0) == (i4 | 0)) break; - HEAP32[i2 >> 2] = HEAP8[i1 >> 0]; - i2 = i2 + 4 | 0; - i1 = i1 + 1 | 0; - } - return i4 | 0; -} + case 1: + HEAP8[$5 | 0] = 1; + break label$1; -function __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS0_11string_pairENS1_IS4_Lm4096EEEEELm4096EE8allocateEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE8allocateEm(HEAP32[i1 >> 2] | 0, i2 << 4) | 0; + default: + break label$3; + } + } + HEAP8[$5 | 0] = 1; + HEAP32[$4 >> 2] = 4; + break label$1; + } + std____2__ios_base__getloc_28_29_20const($6, $3); + $1 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($6); + std____2__locale___locale_28_29($6); + std____2__ios_base__getloc_28_29_20const($6, $3); + $3 = std____2__numpunct_char__20const__20std____2__use_facet_std____2__numpunct_char___28std____2__locale_20const__29($6); + std____2__locale___locale_28_29($6); + std____2__numpunct_char___truename_28_29_20const($6, $3); + std____2__numpunct_char___falsename_28_29_20const($6 | 12, $3); + $3 = $6 + 24 | 0; + wasm2js_i32$0 = $5, wasm2js_i32$1 = (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__20std____2____scan_keyword_std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__ctype_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__ctype_char__20const__2c_20unsigned_20int__2c_20bool_29($6 + 24 | 0, $2, $6, $3, $1, $4, 1) | 0) == ($6 | 0), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + $1 = HEAP32[$6 + 24 >> 2]; + while (1) { + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3 - 12 | 0); + if (($6 | 0) != ($3 | 0)) { + continue; + } + break; + } + } + __stack_pointer = $6 + 32 | 0; + return $1 | 0; } -function dynCall_viiiiiii(i8, i1, i2, i3, i4, i5, i6, i7) { - i8 = i8 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - FUNCTION_TABLE_viiiiiii[i8 & 7](i1 | 0, i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0, i7 | 0); +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________hash_table_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________unique_ptr_true_2c_20void__28_29($0); + std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________compressed_pair_true_2c_20void__28_29($0 + 8 | 0); + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0 + 12 | 0, $1 + 12 | 0, $1 + 8 | 0); + HEAP32[$1 + 4 >> 2] = 1065353216; + std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0 + 16 | 0, $1 + 4 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; } -function __Znwm(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = (i1 | 0) == 0 ? 1 : i1; +function vision__FindInliers_28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____2c_20float_20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t___20const__2c_20float_29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0; + $7 = __stack_pointer - 16 | 0; + __stack_pointer = $7; + $5 = float_20vision__sqr_float__28float_29($5); + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____reserve_28unsigned_20long_29($0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($4)); + $8 = $7 + 12 | 0; while (1) { - i1 = _malloc(i2) | 0; - if (i1 | 0) break; - i1 = __ZSt15get_new_handlerv() | 0; - if (!i1) { - i1 = 0; - break; + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($4) >>> 0 > $6 >>> 0) { + void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float__2c_20float_20const__2c_20float_2c_20float_29($7 + 8 | 0, $8, $1, HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($3, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($4, $6) + 4 >> 2]) >> 2], HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($3, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($4, $6) + 4 >> 2]) + 4 >> 2]); + if (Math_fround(float_20vision__sqr_float__28float_29(Math_fround(HEAPF32[$7 + 8 >> 2] - HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($2, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($4, $6) >> 2]) >> 2])) + float_20vision__sqr_float__28float_29(Math_fround(HEAPF32[$7 + 12 >> 2] - HEAPF32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($2, HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($4, $6) >> 2]) + 4 >> 2]))) <= $5) { + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____push_back_28vision__match_t_20const__29($0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($4, $6)); + } + $6 = $6 + 1 | 0; + continue; } - FUNCTION_TABLE_v[i1 & 3](); + break; } - return i1 | 0; -} - -function __ZNSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i1 = i1 + 4 | 0; - i3 = HEAP32[i1 >> 2] | 0; - _memset(i3 | 0, 0, i2 << 3 | 0) | 0; - HEAP32[i1 >> 2] = i3 + (i2 << 3); - return; -} - -function __ZNSt3__212_GLOBAL__N_14makeINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { - var i1 = 0; - HEAP32[13987] = 0; - HEAP32[13986] = 17032; - i1 = __ZNSt3__26__clocEv() | 0; - HEAP32[13988] = i1; - HEAP32[13986] = 16268; - return; -} - -function __ZNSt3__212_GLOBAL__N_14makeINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { - var i1 = 0; - HEAP32[13983] = 0; - HEAP32[13982] = 17032; - i1 = __ZNSt3__26__clocEv() | 0; - HEAP32[13984] = i1; - HEAP32[13982] = 16244; - return; -} - -function _arMatrixAllocDup(i2) { - i2 = i2 | 0; - var i1 = 0; - i1 = _arMatrixAlloc(HEAP32[i2 + 4 >> 2] | 0, HEAP32[i2 + 8 >> 2] | 0) | 0; - if (i1) { - if ((_arMatrixDup(i1, i2) | 0) < 0) { - _arMatrixFree(i1) | 0; - i1 = 0; - } - } else i1 = 0; - return i1 | 0; -} - -function __ZNSt3__26localeD2Ev(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i1 = HEAP32[i1 >> 2] | 0; - i3 = i1 + 4 | 0; - i2 = HEAP32[i3 >> 2] | 0; - HEAP32[i3 >> 2] = i2 + -1; - if (!i2) FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 255](i1); - return; -} - -function __ZNKSt3__27codecvtIDsc11__mbstate_tE9do_lengthERS1_PKcS5_m(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - return __ZNSt3__2L20utf8_to_utf16_lengthEPKhS1_mmNS_12codecvt_modeE(i3, i4, i5, 1114111, 0) | 0; -} - -function __ZNKSt3__27codecvtIDic11__mbstate_tE9do_lengthERS1_PKcS5_m(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - return __ZNSt3__2L19utf8_to_ucs4_lengthEPKhS1_mmNS_12codecvt_modeE(i3, i4, i5, 1114111, 0) | 0; -} - -function __ZNSt3__26locale5__imp7installINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58196) | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58188) | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58180) | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58172) | 0); - return; -} - -function __ZNSt3__214__split_bufferItRNS_9allocatorItEEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i1 = i1 + 8 | 0; - i3 = HEAP32[i1 >> 2] | 0; - _memset(i3 | 0, 0, i2 << 1 | 0) | 0; - HEAP32[i1 >> 2] = i3 + (i2 << 1); - return; -} - -function __ZNSt3__214__split_bufferIiRNS_9allocatorIiEEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i1 = i1 + 8 | 0; - i3 = HEAP32[i1 >> 2] | 0; - _memset(i3 | 0, 0, i2 << 2 | 0) | 0; - HEAP32[i1 >> 2] = i3 + (i2 << 2); - return; -} - -function __ZNSt3__214__split_bufferIfRNS_9allocatorIfEEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i1 = i1 + 8 | 0; - i3 = HEAP32[i1 >> 2] | 0; - _memset(i3 | 0, 0, i2 << 2 | 0) | 0; - HEAP32[i1 >> 2] = i3 + (i2 << 2); - return; -} - -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEEN10__cxxabiv112_GLOBAL__N_112malloc_allocIcEEED2Ev(i1) { - i1 = i1 | 0; - if ((HEAP8[i1 + 11 >> 0] | 0) < 0) __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE10deallocateEPcm(HEAP32[i1 >> 2] | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58132) | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58124) | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58116) | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58048) | 0); - return; -} - -function __ZN6vision21OrientationAssignmentC2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - i1 = i1 + 12 | 0; - i2 = i1 + 40 | 0; - do { - HEAP32[i1 >> 2] = 0; - i1 = i1 + 4 | 0; - } while ((i1 | 0) < (i2 | 0)); - return; -} - -function __ZN6vision18BinaryFeatureStoreC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP32[i1 + 16 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - HEAP32[i1 + 24 >> 2] = 0; - return; -} - -function __ZNSt3__26locale5__imp7installINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(57980) | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(57972) | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(57964) | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(57940) | 0); - return; -} - -function __ZN6vision22bilinear_interpolationIfEET_PKS1_mmmff(i1, i2, i3, i4, d5, d6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - d5 = +d5; - d6 = +d6; - return +(+__ZN6vision22bilinear_interpolationIffEET0_PKT_mmmff(i1, i2, i3, i4, d5, d6)); -} - -function __ZN6vision10numOctavesEiii(i1, i2, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i4 = i4 | 0; - var i3 = 0; - i3 = 0; - while (1) { - if ((i2 | 0) < (i4 | 0) | (i1 | 0) < (i4 | 0)) break; - i3 = i3 + 1 | 0; - i2 = i2 >> 1; - i1 = i1 >> 1; - } - return i3 | 0; -} - -function _arPattFree(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - i1 = (HEAP32[i2 + 8 >> 2] | 0) + (i1 << 2) | 0; - if (!(HEAP32[i1 >> 2] | 0)) i1 = -1; else { - HEAP32[i1 >> 2] = 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + -1; - i1 = 1; - } - return i1 | 0; -} - -function ___ofl_add(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = ___ofl_lock() | 0; - HEAP32[i1 + 56 >> 2] = HEAP32[i2 >> 2]; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) HEAP32[i3 + 52 >> 2] = i1; - HEAP32[i2 >> 2] = i1; - ___ofl_unlock(); - return i1 | 0; -} - -function __ZNKSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE13__get_deleterERKSt9type_info(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return ((HEAP32[i2 + 4 >> 2] | 0) == 28651 ? i1 + 12 | 0 : 0) | 0; -} - -function __ZN10__cxxabiv112_GLOBAL__N_132parse_unresolved_qualifier_levelINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return __ZN10__cxxabiv112_GLOBAL__N_115parse_simple_idINS0_2DbEEEPKcS4_S4_RT_(i1, i2, i3) | 0; -} - -function _pntz(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = _a_ctz_l_556((HEAP32[i1 >> 2] | 0) + -1 | 0) | 0; - if (!i2) { - i2 = _a_ctz_l_556(HEAP32[i1 + 4 >> 2] | 0) | 0; - return ((i2 | 0) == 0 ? 0 : i2 + 32 | 0) | 0; - } else return i2 | 0; - return 0; + __stack_pointer = $7 + 16 | 0; } -function __ZNKSt3__25ctypeIcE10do_tolowerEc(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - if (i1 << 24 >> 24 > -1) { - i1 = (__ZNSt3__25ctypeIcE21__classic_lower_tableEv() | 0) + (i1 << 24 >> 24 << 2) | 0; - i1 = HEAP32[i1 >> 2] & 255; - } - return i1 | 0; -} - -function __ZNSt3__26vectorItNS_9allocatorItEEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i1 = i1 + 4 | 0; - i3 = HEAP32[i1 >> 2] | 0; - _memset(i3 | 0, 0, i2 << 1 | 0) | 0; - HEAP32[i1 >> 2] = i3 + (i2 << 1); - return; -} - -function __ZNSt3__26vectorIiNS_9allocatorIiEEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i1 = i1 + 4 | 0; - i3 = HEAP32[i1 >> 2] | 0; - _memset(i3 | 0, 0, i2 << 2 | 0) | 0; - HEAP32[i1 >> 2] = i3 + (i2 << 2); - return; -} - -function __ZNSt3__26vectorIfNS_9allocatorIfEEE18__construct_at_endEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i1 = i1 + 4 | 0; - i3 = HEAP32[i1 >> 2] | 0; - _memset(i3 | 0, 0, i2 << 2 | 0) | 0; - HEAP32[i1 >> 2] = i3 + (i2 << 2); - return; -} +function std____2____stdinbuf_wchar_t_____getchar_28bool_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + label$1: { + if (HEAPU8[$0 + 52 | 0]) { + $3 = HEAP32[$0 + 48 >> 2]; + if (!$1) { + break label$1; + } + $5 = std____2__char_traits_wchar_t___eof_28_29(); + HEAP8[$0 + 52 | 0] = 0; + HEAP32[$0 + 48 >> 2] = $5; + break label$1; + } + HEAP32[$2 + 24 >> 2] = 1; + $4 = HEAP32[int_20const__20std____2__max_int__28int_20const__2c_20int_20const__29($2 + 24 | 0, $0 + 44 | 0) >> 2]; + $7 = ($4 | 0) > 0 ? $4 : 0; + label$3: { + while (1) { + if (($3 | 0) != ($7 | 0)) { + $5 = getc(HEAP32[$0 + 32 >> 2]); + if (($5 | 0) == -1) { + break label$3; + } + HEAP8[($2 + 24 | 0) + $3 | 0] = $5; + $3 = $3 + 1 | 0; + continue; + } + break; + } + label$6: { + if (HEAPU8[$0 + 53 | 0]) { + HEAP32[$2 + 20 >> 2] = HEAP8[$2 + 24 | 0]; + break label$6; + } + $7 = $2 + 24 | 0; + while (1) { + label$9: { + $3 = HEAP32[$0 + 40 >> 2]; + $6 = HEAP32[$3 >> 2]; + $8 = $6; + $9 = HEAP32[$3 + 4 >> 2]; + label$10: { + $5 = ($2 + 24 | 0) + $4 | 0; + switch (std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___in_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20wchar_t__2c_20wchar_t__2c_20wchar_t___29_20const(HEAP32[$0 + 36 >> 2], $3, $2 + 24 | 0, $5, $2 + 16 | 0, $2 + 20 | 0, $7, $2 + 12 | 0) - 1 | 0) { + case 0: + break label$10; -function __ZNSt3__214priority_queueIN6vision17PriorityQueueItemILi96EEENS_6vectorIS3_NS_9allocatorIS3_EEEENS_4lessIS3_EEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEED2Ev(i1); - return; -} + case 1: + break label$3; -function dynCall_iiiiiii(i7, i1, i2, i3, i4, i5, i6) { - i7 = i7 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - return FUNCTION_TABLE_iiiiiii[i7 & 63](i1 | 0, i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0) | 0; -} + case 2: + break label$9; -function _ftell(i1) { - i1 = i1 | 0; - var i2 = 0; - i1 = ___ftello(i1) | 0; - i2 = getTempRet0() | 0; - if ((i2 | 0) > 0 | (i2 | 0) == 0 & i1 >>> 0 > 2147483647) { - i1 = ___errno_location() | 0; - HEAP32[i1 >> 2] = 75; - i1 = -1; + default: + break label$6; + } + } + $6 = HEAP32[$0 + 40 >> 2]; + HEAP32[$6 >> 2] = $8; + HEAP32[$6 + 4 >> 2] = $9; + if (($4 | 0) == 8) { + break label$3; + } + $3 = getc(HEAP32[$0 + 32 >> 2]); + if (($3 | 0) == -1) { + break label$3; + } + HEAP8[$5 | 0] = $3; + $4 = $4 + 1 | 0; + continue; + } + break; + } + HEAP32[$2 + 20 >> 2] = HEAP8[$2 + 24 | 0]; + } + label$11: { + if (!$1) { + while (1) { + if (($4 | 0) <= 0) { + break label$11; + } + $4 = $4 - 1 | 0; + if ((ungetc(std____2__char_traits_wchar_t___to_int_type_28wchar_t_29(HEAP8[$4 + ($2 + 24 | 0) | 0]), HEAP32[$0 + 32 >> 2]) | 0) != -1) { + continue; + } + break label$3; + } + } + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__char_traits_wchar_t___to_int_type_28wchar_t_29(HEAP32[$2 + 20 >> 2]), + HEAP32[wasm2js_i32$0 + 48 >> 2] = wasm2js_i32$1; + } + $3 = std____2__char_traits_wchar_t___to_int_type_28wchar_t_29(HEAP32[$2 + 20 >> 2]); + break label$1; + } + $3 = std____2__char_traits_wchar_t___eof_28_29(); } - return i1 | 0; -} - -function ___uselocale(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = (___pthread_self_523() | 0) + 188 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i1 | 0) HEAP32[i2 >> 2] = (i1 | 0) == (-1 | 0) ? 56264 : i1; - return ((i3 | 0) == 56264 ? -1 : i3) | 0; + __stack_pointer = $2 + 32 | 0; + return $3; } -function __ZNKSt3__25ctypeIcE10do_toupperEc(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - if (i1 << 24 >> 24 > -1) { - i1 = (__ZNSt3__25ctypeIcE21__classic_upper_tableEv() | 0) + ((i1 & 255) << 2) | 0; - i1 = HEAP32[i1 >> 2] & 255; +function std____2__enable_if___is_cpp17_forward_iterator_char____value_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______type_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____append_char___28char__2c_20char__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $4 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($0); + $6 = std____2__iterator_traits_char____difference_type_20std____2__distance_char___28char__2c_20char__29($1, $2); + label$1: { + if (!$6) { + break label$1; + } + if (!bool_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______addr_in_range_char___28char__29_20const($0, $1)) { + if ($3 - $4 >>> 0 < $6 >>> 0) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______grow_by_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_29($0, $3, ($4 + $6 | 0) - $3 | 0, $4, $4, 0, 0); + } + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29($0) + $4 | 0; + while (1) { + if (($1 | 0) != ($2 | 0)) { + std____2__char_traits_char___assign_28char__2c_20char_20const__29($3, $1); + $1 = $1 + 1 | 0; + $3 = $3 + 1 | 0; + continue; + } + break; + } + HEAP8[$5 + 15 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($3, $5 + 15 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_size_28unsigned_20long_29($0, $4 + $6 | 0); + break label$1; + } + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_char__2c_20void__28char__2c_20char__2c_20std____2__allocator_char__20const__29($5, $1, $2, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0)); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____append_28char_20const__2c_20unsigned_20long_29($0, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($1), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($1)); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($1); + } + __stack_pointer = $5 + 16 | 0; + return $0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______grow_by_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $7 = __stack_pointer - 16 | 0; + __stack_pointer = $7; + $8 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____max_size_28_29_20const($0); + if ($8 - $1 >>> 0 >= $2 >>> 0) { + $9 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29($0); + label$2: { + if (($8 >>> 1 | 0) - 16 >>> 0 > $1 >>> 0) { + HEAP32[$7 + 8 >> 2] = $1 << 1; + HEAP32[$7 + 12 >> 2] = $1 + $2; + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______recommend_28unsigned_20long_29(HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($7 + 12 | 0, $7 + 8 | 0) >> 2]); + break label$2; + } + $2 = $8 - 1 | 0; + } + $8 = $2 + 1 | 0; + $2 = std____2__allocator_traits_std____2__allocator_char____allocate_28std____2__allocator_char___2c_20unsigned_20long_29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0), $8); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______invalidate_all_iterators_28_29($0); + if ($4) { + std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29(char__20std____2____to_address_char__28char__29($2), char__20std____2____to_address_char__28char__29($9), $4); + } + $10 = $4 + $5 | 0; + if (($10 | 0) != ($3 | 0)) { + std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29((char__20std____2____to_address_char__28char__29($2) + $4 | 0) + $6 | 0, (char__20std____2____to_address_char__28char__29($9) + $4 | 0) + $5 | 0, $3 - $10 | 0); + } + $1 = $1 + 1 | 0; + if (($1 | 0) != 11) { + std____2__allocator_traits_std____2__allocator_char____deallocate_28std____2__allocator_char___2c_20char__2c_20unsigned_20long_29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0), $9, $1); + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_pointer_28char__29($0, $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_cap_28unsigned_20long_29($0, $8); + __stack_pointer = $7 + 16 | 0; + return; } - return i1 | 0; -} - -function __ZN6vision10SubVector2IfEEvPT_PKS1_S4_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - HEAPF32[i1 >> 2] = +HEAPF32[i2 >> 2] - +HEAPF32[i3 >> 2]; - HEAPF32[i1 + 4 >> 2] = +HEAPF32[i2 + 4 >> 2] - +HEAPF32[i3 + 4 >> 2]; - return; -} - -function __ZN10emscripten8internal6TypeIDINSt3__212basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINSt3__212basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEEE3getEv() | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______throw_length_error_28_29_20const($0); + abort(); } -function __ZN10emscripten8internal6TypeIDINSt3__212basic_stringIhNS2_11char_traitsIhEENS2_9allocatorIhEEEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINSt3__212basic_stringIhNS2_11char_traitsIhEENS2_9allocatorIhEEEEE3getEv() | 0; +function std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________second_28_29($0), $2); + } } -function __ZN10emscripten8internal6TypeIDINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEE3getEv() | 0; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float___________hash_table_28_29($0) { + std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______29($0, HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______first_28_29($0 + 8 | 0) >> 2]); + return std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___________unique_ptr_28_29($0); } -function _bitshift64Shl(i3, i2, i1) { - i3 = i3 | 0; - i2 = i2 | 0; - i1 = i1 | 0; - if ((i1 | 0) < 32) { - setTempRet0(i2 << i1 | (i3 & (1 << i1) - 1 << 32 - i1) >>> 32 - i1 | 0); - return i3 << i1; +function realize_virt_arrays($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = HEAP32[$0 + 4 >> 2]; + $1 = HEAP32[$5 + 68 >> 2]; + if ($1) { + while (1) { + if (!HEAP32[$1 >> 2]) { + $3 = HEAP32[$1 + 8 >> 2]; + $4 = Math_imul($3, HEAP32[$1 + 4 >> 2]) + $4 | 0; + $2 = Math_imul(HEAP32[$1 + 12 >> 2], $3) + $2 | 0; + } + $1 = HEAP32[$1 + 44 >> 2]; + if ($1) { + continue; + } + break; + } } - setTempRet0(i3 << i1 - 32 | 0); - return 0; -} - -function __ZN6vision20VisualDatabaseFacade9matchedIdEv(i1) { - i1 = i1 | 0; - return __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE9matchedIdEv(HEAP32[HEAP32[i1 >> 2] >> 2] | 0) | 0; -} - -function __ZNSt3__213__vector_baseIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); - } - return; -} - -function dynCall_iiiiiid(i7, i1, i2, i3, i4, i5, d6) { - i7 = i7 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - d6 = +d6; - return FUNCTION_TABLE_iiiiiid[i7 & 3](i1 | 0, i2 | 0, i3 | 0, i4 | 0, i5 | 0, +d6) | 0; -} - -function dynCall_iidiiii(i7, i1, d2, i3, i4, i5, i6) { - i7 = i7 | 0; - i1 = i1 | 0; - d2 = +d2; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - return FUNCTION_TABLE_iidiiii[i7 & 1](i1 | 0, +d2, i3 | 0, i4 | 0, i5 | 0, i6 | 0) | 0; -} - -function __ZNK6vision20VisualDatabaseFacade7inliersEv(i1) { - i1 = i1 | 0; - return __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE7inliersEv(HEAP32[HEAP32[i1 >> 2] >> 2] | 0) | 0; -} - -function __ZN6vision11CopyVector9IfEEvPT_PKS1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = i1 + 36 | 0; - do { - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - i1 = i1 + 4 | 0; - i2 = i2 + 4 | 0; - } while ((i1 | 0) < (i3 | 0)); - return; -} - -function __ZN6vision10FastMedianIfiEENSt3__24pairIT_T0_EEPS5_i(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - __ZN6vision11PartialSortIfiEENSt3__24pairIT_T0_EEPS5_ii(i1, i2, i3, (i3 & 1) + -1 + ((i3 | 0) / 2 | 0) | 0); - return; -} - -function _wmemset(i3, i4, i1) { - i3 = i3 | 0; - i4 = i4 | 0; - i1 = i1 | 0; - var i2 = 0; - if (i1 | 0) { - i2 = i3; + $1 = HEAP32[$5 + 72 >> 2]; + if ($1) { + while (1) { + if (!HEAP32[$1 >> 2]) { + $3 = HEAP32[$1 + 8 >> 2]; + $4 = (Math_imul($3, HEAP32[$1 + 4 >> 2]) << 7) + $4 | 0; + $2 = (Math_imul(HEAP32[$1 + 12 >> 2], $3) << 7) + $2 | 0; + } + $1 = HEAP32[$1 + 44 >> 2]; + if ($1) { + continue; + } + break; + } + } + label$8: { + if (($2 | 0) <= 0) { + break label$8; + } + $3 = 1e9; + $1 = jpeg_mem_available($0, $2, $4, HEAP32[$5 + 76 >> 2]); + if (($4 | 0) > ($1 | 0)) { + $1 = ($1 | 0) / ($2 | 0) | 0; + $3 = ($1 | 0) > 1 ? $1 : 1; + } + $1 = HEAP32[$5 + 68 >> 2]; + if ($1) { + while (1) { + if (!HEAP32[$1 >> 2]) { + $2 = HEAP32[$1 + 4 >> 2]; + $4 = HEAP32[$1 + 12 >> 2]; + label$13: { + if (((($2 - 1 >>> 0) / ($4 >>> 0) | 0) + 1 | 0) <= ($3 | 0)) { + HEAP32[$1 + 16 >> 2] = $2; + break label$13; + } + HEAP32[$1 + 16 >> 2] = Math_imul($3, $4); + jpeg_open_backing_store($0, $1 + 48 | 0, Math_imul(HEAP32[$1 + 8 >> 2], $2)); + HEAP32[$1 + 40 >> 2] = 1; + $2 = HEAP32[$1 + 16 >> 2]; + } + wasm2js_i32$0 = $1, wasm2js_i32$1 = alloc_sarray($0, 1, HEAP32[$1 + 8 >> 2], $2), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = HEAP32[$5 + 80 >> 2]; + HEAP32[$1 + 36 >> 2] = 0; + HEAP32[$1 + 24 >> 2] = 0; + HEAP32[$1 + 28 >> 2] = 0; + HEAP32[$1 + 20 >> 2] = $2; + } + $1 = HEAP32[$1 + 44 >> 2]; + if ($1) { + continue; + } + break; + } + } + $1 = HEAP32[$5 + 72 >> 2]; + if (!$1) { + break label$8; + } while (1) { - i1 = i1 + -1 | 0; - HEAP32[i2 >> 2] = i4; - if (!i1) break; else i2 = i2 + 4 | 0; + if (!HEAP32[$1 >> 2]) { + $2 = HEAP32[$1 + 4 >> 2]; + $4 = HEAP32[$1 + 12 >> 2]; + label$17: { + if (((($2 - 1 >>> 0) / ($4 >>> 0) | 0) + 1 | 0) <= ($3 | 0)) { + HEAP32[$1 + 16 >> 2] = $2; + break label$17; + } + HEAP32[$1 + 16 >> 2] = Math_imul($3, $4); + jpeg_open_backing_store($0, $1 + 48 | 0, Math_imul(HEAP32[$1 + 8 >> 2], $2) << 7); + HEAP32[$1 + 40 >> 2] = 1; + $2 = HEAP32[$1 + 16 >> 2]; + } + wasm2js_i32$0 = $1, wasm2js_i32$1 = alloc_barray($0, 1, HEAP32[$1 + 8 >> 2], $2), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = HEAP32[$5 + 80 >> 2]; + HEAP32[$1 + 36 >> 2] = 0; + HEAP32[$1 + 24 >> 2] = 0; + HEAP32[$1 + 28 >> 2] = 0; + HEAP32[$1 + 20 >> 2] = $2; + } + $1 = HEAP32[$1 + 44 >> 2]; + if ($1) { + continue; + } + break; } } - return i3 | 0; } -function __ZN6vision8KeyframeILi96EEC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - __ZN6vision18BinaryFeatureStoreC2Ev(i1 + 8 | 0); - __ZN6vision28BinaryHierarchicalClusteringILi96EEC2Ev(i1 + 36 | 0); - return; -} +function std____2____stdinbuf_char_____getchar_28bool_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + label$1: { + if (HEAPU8[$0 + 52 | 0]) { + $3 = HEAP32[$0 + 48 >> 2]; + if (!$1) { + break label$1; + } + $5 = std____2__char_traits_char___eof_28_29(); + HEAP8[$0 + 52 | 0] = 0; + HEAP32[$0 + 48 >> 2] = $5; + break label$1; + } + HEAP32[$2 + 24 >> 2] = 1; + $4 = HEAP32[int_20const__20std____2__max_int__28int_20const__2c_20int_20const__29($2 + 24 | 0, $0 + 44 | 0) >> 2]; + $7 = ($4 | 0) > 0 ? $4 : 0; + label$3: { + while (1) { + if (($3 | 0) != ($7 | 0)) { + $5 = getc(HEAP32[$0 + 32 >> 2]); + if (($5 | 0) == -1) { + break label$3; + } + HEAP8[($2 + 24 | 0) + $3 | 0] = $5; + $3 = $3 + 1 | 0; + continue; + } + break; + } + label$6: { + if (HEAPU8[$0 + 53 | 0]) { + HEAP8[$2 + 23 | 0] = HEAPU8[$2 + 24 | 0]; + break label$6; + } + $7 = $2 + 24 | 0; + while (1) { + label$9: { + $3 = HEAP32[$0 + 40 >> 2]; + $6 = HEAP32[$3 >> 2]; + $8 = $6; + $9 = HEAP32[$3 + 4 >> 2]; + label$10: { + $5 = ($2 + 24 | 0) + $4 | 0; + switch (std____2__codecvt_char_2c_20char_2c_20__mbstate_t___in_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char__2c_20char__2c_20char___29_20const(HEAP32[$0 + 36 >> 2], $3, $2 + 24 | 0, $5, $2 + 16 | 0, $2 + 23 | 0, $7, $2 + 12 | 0) - 1 | 0) { + case 0: + break label$10; -function __ZN6vision14BinarykMedoidsILi96EEC2ERi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = i2; - i1 = i1 + 4 | 0; - i2 = i1 + 56 | 0; - do { - HEAP32[i1 >> 2] = 0; - i1 = i1 + 4 | 0; - } while ((i1 | 0) < (i2 | 0)); - return; -} + case 1: + break label$3; -function _pthread_key_create(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if (!i1) { - i2 = 22; - return i2 | 0; - } - i2 = _malloc(8) | 0; - HEAP32[i2 >> 2] = 0; - HEAP32[i2 + 4 >> 2] = 38177486; - HEAP32[i1 >> 2] = i2; - i2 = 0; - return i2 | 0; -} + case 2: + break label$9; -function _bitshift64Lshr(i3, i2, i1) { - i3 = i3 | 0; - i2 = i2 | 0; - i1 = i1 | 0; - if ((i1 | 0) < 32) { - setTempRet0(i2 >>> i1 | 0); - return i3 >>> i1 | (i2 & (1 << i1) - 1) << 32 - i1; + default: + break label$6; + } + } + $6 = HEAP32[$0 + 40 >> 2]; + HEAP32[$6 >> 2] = $8; + HEAP32[$6 + 4 >> 2] = $9; + if (($4 | 0) == 8) { + break label$3; + } + $3 = getc(HEAP32[$0 + 32 >> 2]); + if (($3 | 0) == -1) { + break label$3; + } + HEAP8[$5 | 0] = $3; + $4 = $4 + 1 | 0; + continue; + } + break; + } + HEAP8[$2 + 23 | 0] = HEAPU8[$2 + 24 | 0]; + } + label$11: { + if (!$1) { + while (1) { + if (($4 | 0) <= 0) { + break label$11; + } + $4 = $4 - 1 | 0; + if ((ungetc(std____2__char_traits_char___to_int_type_28char_29(HEAP8[$4 + ($2 + 24 | 0) | 0]), HEAP32[$0 + 32 >> 2]) | 0) != -1) { + continue; + } + break label$3; + } + } + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__char_traits_char___to_int_type_28char_29(HEAP8[$2 + 23 | 0]), + HEAP32[wasm2js_i32$0 + 48 >> 2] = wasm2js_i32$1; + } + $3 = std____2__char_traits_char___to_int_type_28char_29(HEAP8[$2 + 23 | 0]); + break label$1; + } + $3 = std____2__char_traits_char___eof_28_29(); } - setTempRet0(0); - return i2 >>> i1 - 32 | 0; + __stack_pointer = $2 + 32 | 0; + return $3; } -function __ZNKSt3__220__time_get_c_storageIwE8__monthsEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55632] | 0) == 0 ? ___cxa_guard_acquire(55632) | 0 : 0) { - __ZNSt3__2L12init_wmonthsEv(); - HEAP32[14527] = 54768; +function icpPoint($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0; + $7 = __stack_pointer - 160 | 0; + __stack_pointer = $7; + $5 = -1; + $6 = HEAP32[$1 + 8 >> 2]; + label$1: { + if (($6 | 0) < 3) { + break label$1; + } + $11 = dlmalloc(Math_imul($6, 96)); + if (!$11) { + arLog(0, 3, 1413, 0); + break label$1; + } + $12 = dlmalloc($6 << 4); + if ($12) { + while (1) { + $5 = 0; + if (($9 | 0) == 3) { + $9 = 0; + label$6: { + while (1) { + arUtilMatMul($0, $3, $7 + 48 | 0); + $14 = 0; + $5 = 0; + while (1) { + $6 = HEAP32[$1 + 8 >> 2]; + if (($6 | 0) > ($5 | 0)) { + if ((icpGetU_from_X_by_MatX2U($7 + 144 | 0, $7 + 48 | 0, HEAP32[$1 + 4 >> 2] + Math_imul($5, 24) | 0) | 0) < 0) { + break label$6; + } + $6 = $5 << 4; + $10 = $6 + HEAP32[$1 >> 2] | 0; + $13 = HEAPF64[$10 >> 3]; + $15 = HEAPF64[$7 + 144 >> 3]; + $6 = $6 + $12 | 0; + $8 = HEAPF64[$10 + 8 >> 3] - HEAPF64[$7 + 152 >> 3]; + HEAPF64[$6 + 8 >> 3] = $8; + $13 = $13 - $15; + HEAPF64[$6 >> 3] = $13; + $14 = $14 + ($13 * $13 + $8 * $8); + $5 = $5 + 1 | 0; + continue; + } + break; + } + label$10: { + $8 = $14 / +($6 | 0); + if ($8 < HEAPF64[$0 + 104 >> 3] | !(!$9 | !(HEAPF64[$0 + 120 >> 3] > $8)) & HEAPF64[$0 + 112 >> 3] < $8 / $16) { + break label$10; + } + $5 = 0; + if (HEAP32[$0 + 96 >> 2] == ($9 | 0)) { + break label$10; + } + while (1) { + $6 = HEAP32[$1 + 8 >> 2]; + if (($6 | 0) > ($5 | 0)) { + $6 = Math_imul($5, 24); + $10 = Math_imul($5, 96); + $5 = $5 + 1 | 0; + if ((icpGetJ_U_S($11 + $10 | 0, $0, $3, HEAP32[$1 + 4 >> 2] + $6 | 0) | 0) >= 0) { + continue; + } + break label$6; + } + break; + } + if ((icpGetDeltaS($7, $12, $11, $6 << 1) | 0) < 0) { + break label$6; + } + icpUpdateMat($3, $7); + $9 = $9 + 1 | 0; + $16 = $8; + continue; + } + break; + } + HEAPF64[$4 >> 3] = $8; + dlfree($11); + dlfree($12); + $5 = 0; + break label$1; + } + icpGetXw2XcCleanup($11, $12); + $5 = -1; + break label$1; + } else { + while (1) { + if (($5 | 0) != 4) { + $10 = $5 << 3; + $6 = $9 << 5; + HEAPF64[$10 + ($6 + $3 | 0) >> 3] = HEAPF64[($2 + $6 | 0) + $10 >> 3]; + $5 = $5 + 1 | 0; + continue; + } + break; + } + $9 = $9 + 1 | 0; + continue; + } + } + } + arLog(0, 3, 1413, 0); + dlfree($11); } - return HEAP32[14527] | 0; -} - -function dynCall_viiiiii(i7, i1, i2, i3, i4, i5, i6) { - i7 = i7 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - FUNCTION_TABLE_viiiiii[i7 & 7](i1 | 0, i2 | 0, i3 | 0, i4 | 0, i5 | 0, i6 | 0); + __stack_pointer = $7 + 160 | 0; + return $5; } -function __ZSt11__terminatePFvvE(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(16); - FUNCTION_TABLE_v[i1 & 3](); - _abort_message(49369, i2); +function ar2GetSearchPoint($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = Math_fround(0), $8 = Math_fround(0), $9 = Math_fround(0), $10 = 0; + $6 = __stack_pointer - 32 | 0; + __stack_pointer = $6; + $10 = $5; + label$1: { + label$2: { + label$3: { + label$4: { + if (!$1) { + break label$4; + } + $8 = HEAPF32[$4 + 8 >> 2]; + $9 = HEAPF32[$4 + 12 >> 2]; + if ((ar2MarkerCoord2ScreenCoord($0, $1, $8, $9, $6 + 28 | 0, $6 + 16 | 0) | 0) < 0) { + break label$4; + } + $7 = HEAPF32[$6 + 28 >> 2]; + label$5: { + if (Math_fround(Math_abs($7)) < Math_fround(2147483648)) { + $1 = ~~$7; + break label$5; + } + $1 = -2147483648; + } + HEAP32[$5 >> 2] = $1; + $7 = HEAPF32[$6 + 16 >> 2]; + label$7: { + if (Math_fround(Math_abs($7)) < Math_fround(2147483648)) { + $1 = ~~$7; + break label$7; + } + $1 = -2147483648; + } + HEAP32[$5 + 4 >> 2] = $1; + if (!$2) { + break label$3; + } + if ((ar2MarkerCoord2ScreenCoord($0, $2, $8, $9, $6 + 24 | 0, $6 + 12 | 0) | 0) < 0) { + break label$3; + } + $7 = HEAPF32[$6 + 28 >> 2]; + $7 = Math_fround(Math_fround($7 + $7) - HEAPF32[$6 + 24 >> 2]); + label$9: { + if (Math_fround(Math_abs($7)) < Math_fround(2147483648)) { + $1 = ~~$7; + break label$9; + } + $1 = -2147483648; + } + HEAP32[$5 + 8 >> 2] = $1; + $7 = HEAPF32[$6 + 16 >> 2]; + $7 = Math_fround(Math_fround($7 + $7) - HEAPF32[$6 + 12 >> 2]); + label$11: { + if (Math_fround(Math_abs($7)) < Math_fround(2147483648)) { + $4 = ~~$7; + break label$11; + } + $4 = -2147483648; + } + HEAP32[$5 + 12 >> 2] = $4; + if (!$3) { + break label$2; + } + if ((ar2MarkerCoord2ScreenCoord($0, $3, $8, $9, $6 + 20 | 0, $6 + 8 | 0) | 0) < 0) { + break label$2; + } + $8 = Math_fround(HEAPF32[$6 + 20 >> 2] + Math_fround(Math_fround(HEAPF32[$6 + 28 >> 2] * Math_fround(3)) + Math_fround(HEAPF32[$6 + 24 >> 2] * Math_fround(-3)))); + label$13: { + if (Math_fround(Math_abs($8)) < Math_fround(2147483648)) { + $1 = ~~$8; + break label$13; + } + $1 = -2147483648; + } + HEAP32[$5 + 16 >> 2] = $1; + $8 = Math_fround(HEAPF32[$6 + 8 >> 2] + Math_fround(Math_fround(HEAPF32[$6 + 16 >> 2] * Math_fround(3)) + Math_fround(HEAPF32[$6 + 12 >> 2] * Math_fround(-3)))); + if (Math_fround(Math_abs($8)) < Math_fround(2147483648)) { + $1 = ~~$8; + break label$1; + } + $1 = -2147483648; + break label$1; + } + HEAP32[$5 >> 2] = -1; + HEAP32[$5 + 4 >> 2] = -1; + } + HEAP32[$5 + 8 >> 2] = -1; + HEAP32[$5 + 12 >> 2] = -1; + } + HEAP32[$5 + 16 >> 2] = -1; + $1 = -1; + } + HEAP32[$10 + 20 >> 2] = $1; + __stack_pointer = $6 + 32 | 0; } -function __ZNKSt3__220__time_get_c_storageIcE8__monthsEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55552] | 0) == 0 ? ___cxa_guard_acquire(55552) | 0 : 0) { - __ZNSt3__2L11init_monthsEv(); - HEAP32[14510] = 54016; +function arGetLine($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0; + $12 = __stack_pointer - 16 | 0; + __stack_pointer = $12; + $16 = arVecAlloc(2); + $13 = arVecAlloc(2); + $14 = arMatrixAlloc(2, 2); + label$1: { + label$2: { + while (1) { + if (($15 | 0) != 4) { + $17 = $15 + 1 | 0; + $8 = HEAP32[($17 << 2) + $3 >> 2]; + $7 = HEAP32[($15 << 2) + $3 >> 2]; + $9 = +(($8 - $7 | 0) + 1 | 0) * .05 + .5; + $11 = $9 + +($7 | 0); + label$5: { + if (Math_abs($11) < 2147483648) { + $2 = ~~$11; + break label$5; + } + $2 = -2147483648; + } + $9 = +($8 | 0) - $9; + label$7: { + if (Math_abs($9) < 2147483648) { + $8 = ~~$9; + break label$7; + } + $8 = -2147483648; + } + $7 = $8 - $2 | 0; + $19 = (($7 | 0) >= 0 ? $7 : -1) + 1 | 0; + $8 = 0; + $10 = arMatrixAlloc($7 + 1 | 0, 2); + while (1) { + if (($8 | 0) != ($19 | 0)) { + $7 = $8 + $2 << 2; + if ((arParamObserv2IdealLTf($4, Math_fround(HEAP32[$7 + $0 >> 2]), Math_fround(HEAP32[$1 + $7 >> 2]), $12 + 12 | 0, $12 + 8 | 0) | 0) < 0) { + break label$2; + } + $7 = HEAP32[$10 >> 2] + ($8 << 4) | 0; + HEAPF64[$7 >> 3] = HEAPF32[$12 + 12 >> 2]; + HEAPF64[$7 + 8 >> 3] = HEAPF32[$12 + 8 >> 2]; + $8 = $8 + 1 | 0; + continue; + } + break; + } + if ((arMatrixPCA($10, $14, $16, $13) | 0) < 0) { + break label$2; + } + $8 = Math_imul($15, 24) + $5 | 0; + $7 = HEAP32[$14 >> 2]; + $9 = HEAPF64[$7 + 8 >> 3]; + HEAPF64[$8 >> 3] = $9; + $11 = HEAPF64[$7 >> 3]; + HEAPF64[$8 + 8 >> 3] = -$11; + $7 = HEAP32[$13 >> 2]; + HEAPF64[$8 + 16 >> 3] = -($9 * HEAPF64[$7 >> 3] - $11 * HEAPF64[$7 + 8 >> 3]); + arMatrixFree($10); + $15 = $17; + continue; + } + break; + } + arMatrixFree($14); + arVecFree($13); + arVecFree($16); + $8 = 0; + while (1) { + $0 = 0; + if (($8 | 0) == 4) { + break label$1; + } + $7 = Math_imul($8 - 1 & 3, 24) + $5 | 0; + $18 = HEAPF64[$7 + 8 >> 3]; + $0 = -1; + $10 = Math_imul($8, 24) + $5 | 0; + $11 = HEAPF64[$10 + 8 >> 3]; + $9 = HEAPF64[$7 >> 3] * $11 - $18 * HEAPF64[$10 >> 3]; + if (Math_abs($9) < 1e-4) { + break label$1; + } + $2 = ($8 << 4) + $6 | 0; + HEAPF64[$2 >> 3] = ($18 * HEAPF64[$10 + 16 >> 3] - HEAPF64[$7 + 16 >> 3] * $11) / $9; + HEAPF64[$2 + 8 >> 3] = (HEAPF64[$10 >> 3] * HEAPF64[$7 + 16 >> 3] - HEAPF64[$10 + 16 >> 3] * HEAPF64[$7 >> 3]) / $9; + $8 = $8 + 1 | 0; + continue; + } + } + arMatrixFree($10); + arMatrixFree($14); + arVecFree($13); + arVecFree($16); + $0 = -1; + } + __stack_pointer = $12 + 16 | 0; + $2 = $0; + return $2; +} + +function std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________compressed_pair_std__nullptr_t_2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std__nullptr_t___2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______allocate_28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20unsigned_20long_29(std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = Math_imul($2, 12) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________end_cap_28_29($0), + wasm2js_i32$1 = Math_imul($1, 12) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function jpeg_idct_8x4($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0; + $12 = HEAP32[$0 + 336 >> 2]; + $0 = HEAP32[$1 + 84 >> 2]; + $8 = __stack_pointer; + $9 = $8 - 128 | 0; + $1 = $9; + $8 = 0; + while (1) { + $5 = Math_imul(HEAP32[$0 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $7 = Math_imul(HEAP32[$0 >> 2], HEAP16[$2 >> 1]); + $10 = $5 + $7 << 2; + $6 = Math_imul(HEAP32[$0 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $13 = Math_imul(HEAP32[$0 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $11 = Math_imul($6 + $13 | 0, 4433) + 1024 | 0; + $6 = $11 + Math_imul($6, 6270) >> 11; + HEAP32[$1 + 96 >> 2] = $10 - $6; + HEAP32[$1 >> 2] = $6 + $10; + $5 = $7 - $5 << 2; + $7 = Math_imul($13, -15137) + $11 >> 11; + HEAP32[$1 + 64 >> 2] = $5 - $7; + HEAP32[$1 + 32 >> 2] = $5 + $7; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $2 = $2 + 2 | 0; + $8 = $8 + 1 | 0; + if (($8 | 0) != 8) { + continue; + } + break; + } + $0 = $12 - 384 | 0; + $2 = $9; + $8 = 0; + while (1) { + $5 = HEAP32[$2 + 4 >> 2]; + $7 = HEAP32[$2 + 28 >> 2]; + $13 = Math_imul($5 + $7 | 0, -7373); + $1 = HEAP32[($8 << 2) + $3 >> 2] + $4 | 0; + $9 = $13 + Math_imul($5, 12299) | 0; + $10 = HEAP32[$2 + 20 >> 2]; + $6 = $10 + $5 | 0; + $5 = HEAP32[$2 + 12 >> 2]; + $11 = $7 + $5 | 0; + $12 = Math_imul($6 + $11 | 0, 9633); + $6 = $12 + Math_imul($6, -3196) | 0; + $9 = $9 + $6 | 0; + $14 = HEAP32[$2 + 24 >> 2]; + $15 = HEAP32[$2 + 8 >> 2]; + $16 = Math_imul($14 + $15 | 0, 4433); + $15 = $16 + Math_imul($15, 6270) | 0; + $18 = HEAP32[$2 >> 2] + 16400 | 0; + $19 = HEAP32[$2 + 16 >> 2]; + $20 = $18 + $19 << 13; + $17 = $15 + $20 | 0; + HEAP8[$1 | 0] = HEAPU8[($9 + $17 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 7 | 0] = HEAPU8[($17 - $9 >>> 18 & 1023) + $0 | 0]; + $9 = Math_imul($5 + $10 | 0, -20995); + $17 = $9 + Math_imul($5, 25172) | 0; + $5 = Math_imul($11, -16069) + $12 | 0; + $11 = $17 + $5 | 0; + $12 = Math_imul($14, -15137) + $16 | 0; + $14 = $18 - $19 << 13; + $16 = $12 + $14 | 0; + HEAP8[$1 + 1 | 0] = HEAPU8[($11 + $16 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 6 | 0] = HEAPU8[($16 - $11 >>> 18 & 1023) + $0 | 0]; + $10 = (Math_imul($10, 16819) + $9 | 0) + $6 | 0; + $6 = $14 - $12 | 0; + HEAP8[$1 + 2 | 0] = HEAPU8[($10 + $6 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 5 | 0] = HEAPU8[($6 - $10 >>> 18 & 1023) + $0 | 0]; + $5 = (Math_imul($7, 2446) + $13 | 0) + $5 | 0; + $7 = $20 - $15 | 0; + HEAP8[$1 + 3 | 0] = HEAPU8[($5 + $7 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 4 | 0] = HEAPU8[($7 - $5 >>> 18 & 1023) + $0 | 0]; + $2 = $2 + 32 | 0; + $8 = $8 + 1 | 0; + if (($8 | 0) != 4) { + continue; + } + break; } - return HEAP32[14510] | 0; } -function __ZNKSt3__220__time_get_c_storageIwE7__weeksEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55648] | 0) == 0 ? ___cxa_guard_acquire(55648) | 0 : 0) { - __ZNSt3__2L11init_wweeksEv(); - HEAP32[14528] = 55056; +function __trunctfsf2($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $12 = __stack_pointer - 32 | 0; + __stack_pointer = $12; + $4 = $3 & 2147483647; + $9 = $4; + $8 = $2; + $5 = $8; + $7 = 1065418752; + $7 = $4 - $7 | 0; + $6 = $7; + $7 = $4; + $5 = 1082064896; + $5 = $7 - $5 | 0; + $4 = $5; + $5 = $6; + $6 = $8; + label$1: { + if (($4 | 0) == ($5 | 0) & $6 >>> 0 > $6 >>> 0 | $4 >>> 0 > $5 >>> 0) { + $7 = $3; + $6 = $2; + $11 = ($7 & 33554431) << 7 | $6 >>> 25; + $6 = 0; + $9 = $6; + $5 = $1; + $13 = !($5 | $0); + $7 = $2; + $8 = $7 & 33554431; + $5 = $8; + $5 = !$6 & $5 >>> 0 < 16777216; + $4 = $8; + if (!(!$6 & ($4 | 0) == 16777216 ? $13 : $5)) { + $10 = $11 + 1073741825 | 0; + break label$1; + } + $10 = $11 + 1073741824 | 0; + $7 = $8; + $6 = $7 ^ 16777216; + $5 = $1; + $4 = $9; + $7 = $5 | $4; + $4 = $0; + $5 = $6 | $4; + if ($5 | $7) { + break label$1; + } + $10 = ($11 & 1) + $10 | 0; + break label$1; + } + $5 = $1; + $7 = !($5 | $0); + $5 = $9; + $5 = $5 >>> 0 < 2147418112; + $4 = $8; + $6 = $9; + if (!(!$4 & ($6 | 0) == 2147418112 ? $7 : $5)) { + $4 = $3; + $7 = $2; + $10 = (($4 & 33554431) << 7 | $7 >>> 25) & 4194303 | 2143289344; + break label$1; + } + $10 = 2139095040; + if ($9 >>> 0 > 1082064895) { + break label$1; + } + $10 = 0; + $4 = $9; + $11 = $4 >>> 16 | 0; + if ($11 >>> 0 < 16145) { + break label$1; + } + $6 = $3; + $5 = $6 & 65535; + $4 = $2; + $8 = $4; + $4 = $5 | 65536; + $9 = $4; + $4 = $1; + $6 = $9; + __ashlti3($12 + 16 | 0, $0, $4, $8, $6, $11 - 16129 | 0); + $6 = $4; + $4 = $9; + __lshrti3($12, $0, $6, $8, $4, 16257 - $11 | 0); + $5 = $12; + $4 = HEAP32[$5 + 8 >> 2]; + $8 = $4; + $6 = HEAP32[$5 + 12 >> 2]; + $9 = $6; + $5 = $8; + $10 = ($6 & 33554431) << 7 | $5 >>> 25; + $6 = $12; + $4 = HEAP32[$6 >> 2]; + $11 = $4; + $5 = HEAP32[$6 + 4 >> 2]; + $13 = $5; + $5 = HEAP32[$6 + 16 >> 2]; + $1 = $5; + $4 = HEAP32[$6 + 20 >> 2]; + $0 = $4; + $4 = HEAP32[$6 + 24 >> 2]; + $7 = $4; + $5 = HEAP32[$6 + 28 >> 2]; + $4 = $5; + $5 = $0; + $4 = $4 | $5; + $6 = $1; + $5 = $6 | $7; + $6 = ($4 | $5) != 0; + $5 = $13; + $4 = $5; + $1 = $4; + $7 = $11; + $0 = $6 | $7; + $13 = !($4 | $0); + $5 = $8; + $8 = $5 & 33554431; + $7 = 0; + $9 = $7; + $4 = $8; + $5 = !$7 & $4 >>> 0 < 16777216; + $4 = $7; + $6 = $8; + if (!(!$4 & ($6 | 0) == 16777216 ? $13 : $5)) { + $10 = $10 + 1 | 0; + break label$1; + } + $5 = $8; + $7 = $5 ^ 16777216; + $4 = $1; + $6 = $9; + $5 = $4 | $6; + $6 = $0; + $4 = $7 | $6; + if ($4 | $5) { + break label$1; + } + $10 = ($10 & 1) + $10 | 0; + } + __stack_pointer = $12 + 32 | 0; + $4 = $3; + return wasm2js_scratch_store_i32(2, $4 & -2147483648 | $10), wasm2js_scratch_load_f32(); +} + +function std____2__utf8_to_ucs4_length_28unsigned_20char_20const__2c_20unsigned_20char_20const__2c_20unsigned_20long_2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $5 = $0; + if (!(!($4 & 4) | ($1 - $5 | 0) < 3 | (HEAPU8[$5 | 0] != 239 | HEAPU8[$5 + 1 | 0] != 187))) { + $5 = (HEAPU8[$0 + 2 | 0] == 191 ? 3 : 0) + $0 | 0; } - return HEAP32[14528] | 0; -} + while (1) { + label$3: { + if ($1 >>> 0 <= $5 >>> 0 | $2 >>> 0 <= $9 >>> 0) { + break label$3; + } + $4 = HEAP8[$5 | 0]; + $7 = $4 & 255; + label$4: { + if (($4 | 0) >= 0) { + $4 = 1; + if ($3 >>> 0 >= $7 >>> 0) { + break label$4; + } + break label$3; + } + if ($4 >>> 0 < 4294967234) { + break label$3; + } + if ($4 >>> 0 <= 4294967263) { + if (($1 - $5 | 0) < 2) { + break label$3; + } + $6 = HEAPU8[$5 + 1 | 0]; + if (($6 & 192) != 128) { + break label$3; + } + $4 = 2; + if (($6 & 63 | $7 << 6 & 1984) >>> 0 <= $3 >>> 0) { + break label$4; + } + break label$3; + } + label$7: { + label$8: { + if ($4 >>> 0 <= 4294967279) { + if (($1 - $5 | 0) < 3) { + break label$3; + } + $8 = HEAPU8[$5 + 2 | 0]; + $6 = HEAPU8[$5 + 1 | 0]; + if (($7 | 0) == 237) { + break label$8; + } + if (($7 | 0) == 224) { + if (($6 & 224) == 160) { + break label$7; + } + break label$3; + } + if (($6 & 192) != 128) { + break label$3; + } + break label$7; + } + if (($1 - $5 | 0) < 4 | $4 >>> 0 > 4294967284) { + break label$3; + } + $10 = HEAPU8[$5 + 3 | 0]; + $6 = HEAPU8[$5 + 2 | 0]; + $8 = HEAPU8[$5 + 1 | 0]; + label$11: { + label$12: { + switch ($7 - 240 | 0) { + case 0: + if (($8 + 112 & 255) >>> 0 < 48) { + break label$11; + } + break label$3; + + case 4: + if (($8 & 240) == 128) { + break label$11; + } + break label$3; -function __ZNKSt3__220__time_get_c_storageIwE7__am_pmEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55616] | 0) == 0 ? ___cxa_guard_acquire(55616) | 0 : 0) { - __ZNSt3__2L11init_wam_pmEv(); - HEAP32[14526] = 54480; + default: + break label$12; + } + } + if (($8 & 192) != 128) { + break label$3; + } + } + if (($6 & 192) != 128 | ($10 & 192) != 128) { + break label$3; + } + $4 = 4; + if (($10 & 63 | ($6 << 6 & 4032 | ($7 << 18 & 1835008 | ($8 & 63) << 12))) >>> 0 > $3 >>> 0) { + break label$3; + } + break label$4; + } + if (($6 & 224) != 128) { + break label$3; + } + } + if (($8 & 192) != 128) { + break label$3; + } + $4 = 3; + if (($8 & 63 | ($7 << 12 & 61440 | ($6 & 63) << 6)) >>> 0 > $3 >>> 0) { + break label$3; + } + } + $9 = $9 + 1 | 0; + $5 = $4 + $5 | 0; + continue; + } + break; } - return HEAP32[14526] | 0; + return $5 - $0 | 0; } -function __ZN10__cxxabiv112_GLOBAL__N_111short_allocINS0_11string_pairELm4096EE8allocateEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE8allocateEm(HEAP32[i1 >> 2] | 0, i2 * 24 | 0) | 0; +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($0, $1) { + var $2 = 0; + $0 = std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______node_alloc_28_29($0); + while (1) { + if ($1) { + $2 = HEAP32[$1 >> 2]; + $1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________upcast_28_29($1); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______destroy_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int__2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__pair_unsigned_20int_20const_2c_20unsigned_20int___29($0, std____2____hash_key_value_types_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int______get_ptr_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int___29($1 + 8 | 0)); + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20unsigned_20long_29($0, $1, 1); + $1 = $2; + continue; + } + break; + } } -function __ZNKSt3__220__time_get_c_storageIcE7__weeksEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55568] | 0) == 0 ? ___cxa_guard_acquire(55568) | 0 : 0) { - __ZNSt3__2L10init_weeksEv(); - HEAP32[14511] = 54304; +function $28anonymous_20namespace_29__itanium_demangle__ReferenceType__collapse_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = __stack_pointer - 48 | 0; + __stack_pointer = $5; + std____2__pair_std____2____unwrap_ref_decay__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const____type_2c_20std____2____unwrap_ref_decay__28anonymous_20namespace_29__itanium_demangle__Node_20const__20const____type__20std____2__make_pair__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__20const___28_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__20const__29($0, $1 + 12 | 0, $1 + 8 | 0); + $3 = $0 + 4 | 0; + $4 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___PODSmallVector_28_29($5); + label$1: { + while (1) { + $1 = HEAP32[$3 >> 2]; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 12 >> 2]]($1, $2) | 0; + if (($28anonymous_20namespace_29__itanium_demangle__Node__getKind_28_29_20const($1) | 0) != 12) { + break label$1; + } + HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 8 >> 2]; + wasm2js_i32$0 = $0, wasm2js_i32$1 = HEAP32[$28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__20std____2__min__28anonymous_20namespace_29__itanium_demangle__ReferenceKind__28_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__29($0, $1 + 12 | 0) >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__20const__29($4, $3); + $1 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___size_28_29_20const($4); + if ($1 >>> 0 < 2) { + continue; + } + if (HEAP32[$3 >> 2] != HEAP32[$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___operator_5b_5d_28unsigned_20long_29($4, $1 - 1 >>> 1 | 0) >> 2]) { + continue; + } + break; + } + HEAP32[$3 >> 2] = 0; } - return HEAP32[14511] | 0; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul____PODSmallVector_28_29($4); + __stack_pointer = $5 + 48 | 0; } -function __ZNKSt3__220__time_get_c_storageIcE7__am_pmEv(i1) { - i1 = i1 | 0; - if ((HEAP8[55536] | 0) == 0 ? ___cxa_guard_acquire(55536) | 0 : 0) { - __ZNSt3__2L10init_am_pmEv(); - HEAP32[14509] = 53728; +function std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________second_28_29($0), $2); } - return HEAP32[14509] | 0; } -function __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS3_INS0_11string_pairENS1_IS4_Lm4096EEEEENS1_IS6_Lm4096EEEEELm4096EEC2ERNS0_5arenaILm4096EEE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = i2; - return; -} +function start_pass_2_quant($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $3 = HEAP32[$0 + 484 >> 2]; + $2 = HEAP32[$3 + 24 >> 2]; + label$1: { + label$2: { + label$3: { + if (!HEAP32[$0 + 88 >> 2]) { + if ($1) { + break label$2; + } + $1 = 227; + break label$3; + } + HEAP32[$0 + 88 >> 2] = 2; + if ($1) { + break label$2; + } + $1 = 228; + } + HEAP32[$3 + 8 >> 2] = 229; + HEAP32[$3 + 4 >> 2] = $1; + $1 = 1; + $4 = HEAP32[$0 + 132 >> 2]; + label$5: { + if (($4 | 0) <= 0) { + $4 = 58; + } else { + if ($4 >>> 0 < 257) { + break label$5; + } + $1 = 256; + $4 = 59; + } + $5 = HEAP32[$0 >> 2]; + HEAP32[$5 + 24 >> 2] = $1; + HEAP32[$5 + 20 >> 2] = $4; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + if (HEAP32[$0 + 88 >> 2] != 2) { + break label$1; + } + $1 = Math_imul(HEAP32[$0 + 112 >> 2], 6) + 12 | 0; + $4 = HEAP32[$3 + 32 >> 2]; + if (!$4) { + $4 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 4 >> 2]]($0, 1, $1) | 0; + HEAP32[$3 + 32 >> 2] = $4; + } + memset($4, 0, $1); + if (!HEAP32[$3 + 40 >> 2]) { + init_error_limit($0); + } + HEAP32[$3 + 36 >> 2] = 0; + break label$1; + } + HEAP32[$3 + 28 >> 2] = 1; + HEAP32[$3 + 8 >> 2] = 230; + HEAP32[$3 + 4 >> 2] = 231; + } + if (HEAP32[$3 + 28 >> 2]) { + memset(HEAP32[$2 >> 2], 0, 4096); + memset(HEAP32[$2 + 4 >> 2], 0, 4096); + memset(HEAP32[$2 + 8 >> 2], 0, 4096); + memset(HEAP32[$2 + 12 >> 2], 0, 4096); + memset(HEAP32[$2 + 16 >> 2], 0, 4096); + memset(HEAP32[$2 + 20 >> 2], 0, 4096); + memset(HEAP32[$2 + 24 >> 2], 0, 4096); + memset(HEAP32[$2 + 28 >> 2], 0, 4096); + memset(HEAP32[$2 + 32 >> 2], 0, 4096); + memset(HEAP32[$2 + 36 >> 2], 0, 4096); + memset(HEAP32[$2 + 40 >> 2], 0, 4096); + memset(HEAP32[$2 + 44 >> 2], 0, 4096); + memset(HEAP32[$2 + 48 >> 2], 0, 4096); + memset(HEAP32[$2 + 52 >> 2], 0, 4096); + memset(HEAP32[$2 + 56 >> 2], 0, 4096); + memset(HEAP32[$2 + 60 >> 2], 0, 4096); + memset(HEAP32[$2 + 64 >> 2], 0, 4096); + memset(HEAP32[$2 + 68 >> 2], 0, 4096); + memset(HEAP32[$2 + 72 >> 2], 0, 4096); + memset(HEAP32[$2 + 76 >> 2], 0, 4096); + memset(HEAP32[$2 + 80 >> 2], 0, 4096); + memset(HEAP32[$2 + 84 >> 2], 0, 4096); + memset(HEAP32[$2 + 88 >> 2], 0, 4096); + memset(HEAP32[$2 + 92 >> 2], 0, 4096); + memset(HEAP32[$2 + 96 >> 2], 0, 4096); + memset(HEAP32[$2 + 100 >> 2], 0, 4096); + memset(HEAP32[$2 + 104 >> 2], 0, 4096); + memset(HEAP32[$2 + 108 >> 2], 0, 4096); + memset(HEAP32[$2 + 112 >> 2], 0, 4096); + memset(HEAP32[$2 + 116 >> 2], 0, 4096); + memset(HEAP32[$2 + 120 >> 2], 0, 4096); + memset(HEAP32[$2 + 124 >> 2], 0, 4096); + HEAP32[$3 + 28 >> 2] = 0; + } +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________reset_28std__nullptr_t_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($1) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________second_28_29($0), $1); + } +} + +function $28anonymous_20namespace_29__itanium_demangle__ReferenceType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer + -64 | 0; + __stack_pointer = $2; + if (!HEAPU8[$0 + 16 | 0]) { + $5 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool___SwapAndRestore_28bool__2c_20bool_29($2 + 56 | 0, $0 + 16 | 0, 1); + $28anonymous_20namespace_29__itanium_demangle__ReferenceType__collapse_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($2 + 48 | 0, $0, $1); + $0 = HEAP32[$2 + 52 >> 2]; + if ($0) { + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1); + if ($28anonymous_20namespace_29__itanium_demangle__Node__hasArray_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$2 + 52 >> 2], $1)) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 38446); + $0 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $0; + HEAP32[$2 + 20 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + } + label$4: { + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasArray_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$2 + 52 >> 2], $1)) { + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasFunction_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$2 + 52 >> 2], $1)) { + break label$4; + } + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 37973); + $4 = HEAP32[$3 >> 2]; + $0 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $0; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, HEAP32[$2 + 48 >> 2] ? 38013 : 38017); + $0 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $0; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + } + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool____SwapAndRestore_28_29($5); + } + __stack_pointer = $2 - -64 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($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; + $2 = __stack_pointer + -64 | 0; + __stack_pointer = $2; + $8 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_unsigned_20int___SwapAndRestore_28unsigned_20int__2c_20unsigned_20int_29($2 + 48 | 0, $1 + 12 | 0); + $9 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_unsigned_20int___SwapAndRestore_28unsigned_20int__2c_20unsigned_20int_29($2 + 32 | 0, $1 + 16 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__getCurrentPosition_28_29_20const($1); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $5 = 1; + label$1: { + label$2: { + label$3: { + label$4: { + $7 = HEAP32[$1 + 16 >> 2]; + switch ($7 + 1 | 0) { + case 0: + break label$2; -function _jpeg_destroy(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = i1 + 4 | 0; - i3 = HEAP32[i2 >> 2] | 0; - if (i3 | 0) FUNCTION_TABLE_vi[HEAP32[i3 + 40 >> 2] & 255](i1); - HEAP32[i2 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - return; -} + case 1: + break label$4; -function _a_ctz_l_556(i1) { - i1 = i1 | 0; - var i2 = 0; - if (i1) if (!(i1 & 1)) { - i2 = i1; - i1 = 0; + default: + break label$3; + } + } + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__setCurrentPosition_28unsigned_20long_29($1, $3); + break label$1; + } + while (1) { + if (($5 | 0) == ($7 | 0)) { + break label$1; + } + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 38430); + $3 = HEAP32[$4 >> 2]; + $6 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 >> 2] = $3; + HEAP32[$2 + 4 >> 2] = $6; + $3 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + HEAP32[$1 + 12 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $3); + $5 = $5 + 1 | 0; + continue; + } + } + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37656); + $6 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $6; + HEAP32[$2 + 12 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + } + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_unsigned_20int____SwapAndRestore_28_29($9); + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_unsigned_20int____SwapAndRestore_28_29($8); + __stack_pointer = $2 - -64 | 0; +} + +function vision__HoughSimilarityVoting__vote_28float_20const__2c_20float_20const__2c_20int_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = Math_fround(0), $12 = Math_fround(0), $13 = Math_fround(0), $14 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____clear_28_29($0 + 92 | 0); + if ($3) { + $7 = $0 + 112 | 0; + std____2__vector_float_2c_20std____2__allocator_float____resize_28unsigned_20long_29($7, $3 << 2); + $8 = $0 + 124 | 0; + std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_29($8, $3); + if (HEAPU8[$0 + 16 | 0]) { + vision__HoughSimilarityVoting__autoAdjustXYNumBins_28float_20const__2c_20float_20const__2c_20int_29($0, $1, $2, $3); + } + $10 = ($3 | 0) > 0 ? $3 : 0; while (1) { - i1 = i1 + 1 | 0; - if (!(i2 & 2)) i2 = i2 >>> 1; else break; + if (($6 | 0) == ($10 | 0)) { + std____2__vector_float_2c_20std____2__allocator_float____resize_28unsigned_20long_29($7, $5 << 2); + std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_29($8, $5); + } else { + $9 = $6 << 4; + $3 = $9 + $1 | 0; + $11 = HEAPF32[$3 >> 2]; + $12 = HEAPF32[$3 + 4 >> 2]; + $13 = HEAPF32[$3 + 8 >> 2]; + $14 = HEAPF32[$3 + 12 >> 2]; + $3 = $2 + $9 | 0; + vision__HoughSimilarityVoting__mapCorrespondence_28float__2c_20float__2c_20float__2c_20float__2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29_20const($0, $4 + 12 | 0, $4 + 8 | 0, $4 + 4 | 0, $4, $11, $12, $13, $14, HEAPF32[$3 >> 2], HEAPF32[$3 + 4 >> 2], HEAPF32[$3 + 8 >> 2], HEAPF32[$3 + 12 >> 2]); + if (vision__HoughSimilarityVoting__vote_28float_2c_20float_2c_20float_2c_20float_29($0, HEAPF32[$4 + 12 >> 2], HEAPF32[$4 + 8 >> 2], HEAPF32[$4 + 4 >> 2], HEAPF32[$4 >> 2])) { + $3 = std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($7, $5 << 2); + HEAPF32[$3 >> 2] = HEAPF32[$0 + 68 >> 2]; + HEAPF32[$3 + 4 >> 2] = HEAPF32[$0 + 72 >> 2]; + HEAPF32[$3 + 8 >> 2] = HEAPF32[$0 + 76 >> 2]; + HEAPF32[$3 + 12 >> 2] = HEAPF32[$0 + 80 >> 2]; + wasm2js_i32$0 = std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29($8, $5), + wasm2js_i32$1 = $6, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $5 = $5 + 1 | 0; + } + $6 = $6 + 1 | 0; + continue; + } + break; } - } else i1 = 0; else i1 = 32; - return i1 | 0; -} - -function __ZNSt3__26localeC2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = __ZNSt3__26locale8__globalEv() | 0; - i2 = HEAP32[i2 >> 2] | 0; - HEAP32[i1 >> 2] = i2; - i1 = i2 + 4 | 0; - HEAP32[i1 >> 2] = (HEAP32[i1 >> 2] | 0) + 1; - return; -} - -function __ZNKSt3__25ctypeIwE10do_toupperEw(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - if (i1 >>> 0 < 128) { - i1 = (__ZNSt3__25ctypeIcE21__classic_upper_tableEv() | 0) + (i1 << 2) | 0; - i1 = HEAP32[i1 >> 2] | 0; - } - return i1 | 0; -} - -function __ZNKSt3__25ctypeIwE10do_tolowerEw(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - if (i1 >>> 0 < 128) { - i1 = (__ZNSt3__25ctypeIcE21__classic_lower_tableEv() | 0) + (i1 << 2) | 0; - i1 = HEAP32[i1 >> 2] | 0; } - return i1 | 0; -} - -function __ZN6vision11CopyVector2IfEEvPT_PKS1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0, i4 = 0; - i4 = i2; - i3 = HEAP32[i4 + 4 >> 2] | 0; - i2 = i1; - HEAP32[i2 >> 2] = HEAP32[i4 >> 2]; - HEAP32[i2 + 4 >> 2] = i3; - return; + __stack_pointer = $4 + 16 | 0; } -function _out_of_memory(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = HEAP32[i1 >> 2] | 0; - HEAP32[i3 + 20 >> 2] = 54; - HEAP32[i3 + 24 >> 2] = i2; - FUNCTION_TABLE_vi[HEAP32[HEAP32[i1 >> 2] >> 2] & 255](i1); - return; -} - -function __ZNSt3__211char_traitsIwE7not_eofEj(i1) { - i1 = i1 | 0; - if (__ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, __ZNSt3__211char_traitsIwE3eofEv() | 0) | 0) i1 = ~(__ZNSt3__211char_traitsIwE3eofEv() | 0); - return i1 | 0; -} - -function __ZNSt3__211char_traitsIcE7not_eofEi(i1) { - i1 = i1 | 0; - if (__ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, __ZNSt3__211char_traitsIcE3eofEv() | 0) | 0) i1 = ~(__ZNSt3__211char_traitsIcE3eofEv() | 0); - return i1 | 0; -} - -function __ZN6vision18BinaryFeatureStoreD2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseIN6vision12FeaturePointENS_9allocatorIS2_EEED2Ev(i1 + 16 | 0); - __ZNSt3__213__vector_baseIhNS_9allocatorIhEEED2Ev(i1 + 4 | 0); - return; -} - -function _pop_arg_long_double(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var d3 = 0.0, i4 = 0; - i4 = (HEAP32[i2 >> 2] | 0) + (8 - 1) & ~(8 - 1); - d3 = +HEAPF64[i4 >> 3]; - HEAP32[i2 >> 2] = i4 + 8; - HEAPF64[i1 >> 3] = d3; - return; -} - -function __ZN6vision22QuadraticCriticalPointIfEEbRT_S1_S1_S1_(i1, d2, d3, d4) { - i1 = i1 | 0; - d2 = +d2; - d3 = +d3; - d4 = +d4; - if (d2 == 0.0) i1 = 0; else { - HEAPF32[i1 >> 2] = -d3 / (d2 * 2.0); - i1 = 1; - } - return i1 | 0; -} - -function __ZNSt3__211char_traitsIcE6assignEPcmc(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - if (i2 | 0) _memset(i1 | 0, (__ZNSt3__211char_traitsIcE11to_int_typeEc(i3) | 0) & 255 | 0, i2 | 0) | 0; - return i1 | 0; -} - -function __ZNKSt3__27codecvtIcc11__mbstate_tE9do_lengthERS1_PKcS5_m(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i4 = i4 - i3 | 0; - return (i4 >>> 0 < i5 >>> 0 ? i4 : i5) | 0; -} - -function _ar3DDeleteHandle(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (!i2) i1 = -1; else { - _icpDeleteHandle(i2) | 0; - _free(HEAP32[i1 >> 2] | 0); - HEAP32[i1 >> 2] = 0; - i1 = 0; - } - return i1 | 0; -} - -function __ZNKSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE13__get_deleterERKSt9type_info(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return ((HEAP32[i2 + 4 >> 2] | 0) == 33163 ? i1 + 12 | 0 : 0) | 0; -} - -function __ZN6vision21OrientationAssignmentD2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseIN6vision5ImageENS_9allocatorIS2_EEED2Ev(i1 + 40 | 0); - __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev(i1 + 28 | 0); - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS0_11string_pairENS1_IS4_Lm4096EEEEELm4096EEC2IS4_EERKNS1_IT_Lm4096EEE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - return; -} +function std____2__utf8_to_utf16_length_28unsigned_20char_20const__2c_20unsigned_20char_20const__2c_20unsigned_20long_2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $5 = $0; + if (!(!($4 & 4) | ($1 - $5 | 0) < 3 | (HEAPU8[$5 | 0] != 239 | HEAPU8[$5 + 1 | 0] != 187))) { + $5 = (HEAPU8[$0 + 2 | 0] == 191 ? 3 : 0) + $0 | 0; + } + while (1) { + label$3: { + if ($1 >>> 0 <= $5 >>> 0 | $2 >>> 0 <= $8 >>> 0) { + break label$3; + } + $4 = HEAPU8[$5 | 0]; + if ($4 >>> 0 > $3 >>> 0) { + break label$3; + } + $6 = $5 + 1 | 0; + label$4: { + if ($4 << 24 >> 24 >= 0) { + break label$4; + } + if ($4 >>> 0 < 194) { + break label$3; + } + if ($4 >>> 0 <= 223) { + if (($1 - $5 | 0) < 2) { + break label$3; + } + $6 = HEAPU8[$5 + 1 | 0]; + if (($6 & 192) != 128 | ($6 & 63 | $4 << 6 & 1984) >>> 0 > $3 >>> 0) { + break label$3; + } + $6 = $5 + 2 | 0; + break label$4; + } + label$6: { + label$7: { + if ($4 >>> 0 <= 239) { + if (($1 - $5 | 0) < 3) { + break label$3; + } + $6 = HEAPU8[$5 + 2 | 0]; + $7 = HEAPU8[$5 + 1 | 0]; + if (($4 | 0) == 237) { + break label$7; + } + if (($4 | 0) == 224) { + if (($7 & 224) == 160) { + break label$6; + } + break label$3; + } + if (($7 & 192) != 128) { + break label$3; + } + break label$6; + } + if (($1 - $5 | 0) < 4 | $4 >>> 0 > 244 | $2 - $8 >>> 0 < 2) { + break label$3; + } + $9 = HEAPU8[$5 + 3 | 0]; + $7 = HEAPU8[$5 + 2 | 0]; + $6 = HEAPU8[$5 + 1 | 0]; + label$10: { + label$11: { + switch ($4 - 240 | 0) { + case 0: + if (($6 + 112 & 255) >>> 0 < 48) { + break label$10; + } + break label$3; -function __ZNSt3__26locale5__imp7installINS_7codecvtIDsc11__mbstate_tEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58236) | 0); - return; -} + case 4: + if (($6 & 240) == 128) { + break label$10; + } + break label$3; -function __ZNSt3__26locale5__imp7installINS_7codecvtIDic11__mbstate_tEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58244) | 0); - return; + default: + break label$11; + } + } + if (($6 & 192) != 128) { + break label$3; + } + } + if (($7 & 192) != 128 | ($9 & 192) != 128 | ($9 & 63 | ($7 << 6 & 4032 | ($4 << 18 & 1835008 | ($6 & 63) << 12))) >>> 0 > $3 >>> 0) { + break label$3; + } + $8 = $8 + 1 | 0; + $6 = $5 + 4 | 0; + break label$4; + } + if (($7 & 224) != 128) { + break label$3; + } + } + if (($6 & 192) != 128 | ($6 & 63 | ($4 << 12 & 61440 | ($7 & 63) << 6)) >>> 0 > $3 >>> 0) { + break label$3; + } + $6 = $5 + 3 | 0; + } + $5 = $6; + $8 = $8 + 1 | 0; + continue; + } + break; + } + return $5 - $0 | 0; +} + +function ar2ReadMarkerSet($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $3 = __stack_pointer - 1104 | 0; + __stack_pointer = $3; + HEAP32[$3 + 64 >> 2] = $0; + HEAP32[$3 + 68 >> 2] = $1; + siprintf($3 + 80 | 0, 1035, $3 - -64 | 0); + label$1: { + $5 = fopen($3 + 80 | 0, 1861); + if ($5) { + label$4: { + label$5: { + $4 = dlmalloc(8); + if ($4) { + if (!get_buff_1($3 + 848 | 0, $5)) { + break label$5; + } + HEAP32[$3 + 48 >> 2] = $4 + 4; + if ((sscanf($3 + 848 | 0, 3651, $3 + 48 | 0) | 0) != 1) { + break label$5; + } + $0 = HEAP32[$4 + 4 >> 2]; + if (($0 | 0) <= 0) { + break label$5; + } + $1 = dlmalloc(Math_imul($0, 56)); + HEAP32[$4 >> 2] = $1; + if (!$1) { + break label$1; + } + while (1) { + if (($0 | 0) <= ($6 | 0)) { + break label$4; + } + if (!get_buff_1($3 + 848 | 0, $5)) { + dlfree(HEAP32[$4 >> 2]); + break label$5; + } + HEAP32[$3 + 32 >> 2] = $3 + 592; + if ((sscanf($3 + 848 | 0, 4117, $3 + 32 | 0) | 0) != 1) { + dlfree(HEAP32[$4 >> 2]); + break label$5; + } + $0 = arPattLoad($2, $3 + 592 | 0); + $1 = HEAP32[$4 >> 2]; + $7 = Math_imul($6, 56); + HEAP32[($1 + $7 | 0) + 4 >> 2] = $0; + if (($0 | 0) < 0) { + dlfree($1); + break label$5; + } + $0 = get_buff_1($3 + 848 | 0, $5); + $1 = HEAP32[$4 >> 2]; + if (!$0) { + dlfree($1); + break label$5; + } + HEAP32[$3 + 16 >> 2] = $1 + $7; + $0 = 0; + if ((sscanf($3 + 848 | 0, 4747, $3 + 16 | 0) | 0) != 1) { + dlfree(HEAP32[$4 >> 2]); + break label$5; + } + label$13: { + while (1) { + if (($0 | 0) == 3) { + break label$13; + } + $1 = get_buff_1($3 + 848 | 0, $5); + $8 = HEAP32[$4 >> 2]; + if (!$1) { + dlfree($8); + break label$5; + } + $1 = ($7 + $8 | 0) + ($0 << 4) | 0; + HEAP32[$3 + 12 >> 2] = $1 + 20; + HEAP32[$3 + 8 >> 2] = $1 + 16; + HEAP32[$3 + 4 >> 2] = $1 + 12; + HEAP32[$3 >> 2] = $1 + 8; + $0 = $0 + 1 | 0; + if ((sscanf($3 + 848 | 0, 5665, $3) | 0) == 4) { + continue; + } + break; + } + dlfree(HEAP32[$4 >> 2]); + break label$5; + } + $6 = $6 + 1 | 0; + $0 = HEAP32[$4 + 4 >> 2]; + continue; + } + } + break label$1; + } + dlfree($4); + $4 = 0; + } + fclose($5); + } + __stack_pointer = $3 + 1104 | 0; + return $4; + } + arLog(0, 3, 3611, 0); + exit(1); + abort(); } -function __ZNSt3__25ctypeIcED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - HEAP32[i1 >> 2] = 16856; - i2 = HEAP32[i1 + 8 >> 2] | 0; - if (i2 | 0 ? HEAP8[i1 + 12 >> 0] | 0 : 0) __ZdaPv(i2); - __ZNSt3__26locale5facetD2Ev(i1); - return; +function void_20std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______push_back_slow_path_vision__DoGScaleInvariantDetector__FeaturePoint_20const___28vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29($0); + $2 = std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___29($3 + 8 | 0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______recommend_28unsigned_20long_29_20const($0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($0) + 1 | 0), std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($0), $4); + void_20std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____construct_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20vision__DoGScaleInvariantDetector__FeaturePoint_20const__2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__2c_20vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($4, vision__DoGScaleInvariantDetector__FeaturePoint__20std____2____to_address_vision__DoGScaleInvariantDetector__FeaturePoint__28vision__DoGScaleInvariantDetector__FeaturePoint__29(HEAP32[$2 + 8 >> 2]), $1); + HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 36; + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______swap_out_circular_buffer_28std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____29($0, $2); + std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint________split_buffer_28_29($2); + __stack_pointer = $3 + 32 | 0; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_200_2c_20false_____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____29($0, $1); + std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_201_2c_20false_____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20void__28std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______29($1 + 4 | 0, $2); + return $1; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______swap_out_circular_buffer_28std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int______29($0, $1) { + var $2 = 0; + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_std____2__pair_float_2c_20int___2c_20std____2__pair_float_2c_20int__2c_20void__28std____2__allocator_std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int___2c_20std____2__pair_float_2c_20int___2c_20std____2__pair_float_2c_20int____29(std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_std____2__pair_float_2c_20int_____value_20___20is_move_assignable_std____2__pair_float_2c_20int_____value_2c_20void___type_20std____2__swap_std____2__pair_float_2c_20int____28std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int____29($0, $2); + std____2__enable_if_is_move_constructible_std____2__pair_float_2c_20int_____value_20___20is_move_assignable_std____2__pair_float_2c_20int_____value_2c_20void___type_20std____2__swap_std____2__pair_float_2c_20int____28std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int____29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_std____2__pair_float_2c_20int_____value_20___20is_move_assignable_std____2__pair_float_2c_20int_____value_2c_20void___type_20std____2__swap_std____2__pair_float_2c_20int____28std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int____29(std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______end_cap_28_29($0), std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____size_28_29_20const($0)); + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______invalidate_all_iterators_28_29($0); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + std____2__allocator_wchar_t__20std____2__allocator_traits_std____2__allocator_wchar_t____select_on_container_copy_construction_std____2__allocator_wchar_t__2c_20void_2c_20void__28std____2__allocator_wchar_t__20const__29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29_20const($1)); + $0 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t______compressed_pair_std____2____default_init_tag_2c_20std____2__allocator_wchar_t___28std____2____default_init_tag___2c_20std____2__allocator_wchar_t____29($0, $2 + 8 | 0, $2); + label$1: { + if (!std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______is_long_28_29_20const($1)) { + $1 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29_20const($1); + $3 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29($0); + HEAP32[$3 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; + $4 = HEAP32[$1 + 4 >> 2]; + HEAP32[$3 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$3 + 4 >> 2] = $4; + break label$1; + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______init_copy_ctor_external_28wchar_t_20const__2c_20unsigned_20long_29($0, wchar_t_20const__20std____2____to_address_wchar_t_20const__28wchar_t_20const__29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_pointer_28_29_20const($1)), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_size_28_29_20const($1)); + } + void_20std____2____debug_db_insert_c_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____29($0); + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function std____2__enable_if___is_cpp17_forward_iterator_wchar_t_20const____value_2c_20void___type_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______init_wchar_t_20const___28wchar_t_20const__2c_20wchar_t_20const__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $4 = std____2__iterator_traits_wchar_t_20const____difference_type_20std____2__distance_wchar_t_20const___28wchar_t_20const__2c_20wchar_t_20const__29($1, $2); + if ($4 >>> 0 <= std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____max_size_28_29_20const($0) >>> 0) { + label$2: { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______fits_in_sso_28unsigned_20long_29($4)) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_short_size_28unsigned_20long_29($0, $4); + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_pointer_28_29($0); + break label$2; + } + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______recommend_28unsigned_20long_29($4); + $6 = $3 + 1 | 0; + $3 = std____2__allocator_traits_std____2__allocator_wchar_t____allocate_28std____2__allocator_wchar_t___2c_20unsigned_20long_29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0), $6); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_pointer_28wchar_t__29($0, $3); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_cap_28unsigned_20long_29($0, $6); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_size_28unsigned_20long_29($0, $4); + } + while (1) { + if (($1 | 0) != ($2 | 0)) { + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29($3, $1); + $3 = $3 + 4 | 0; + $1 = $1 + 4 | 0; + continue; + } + break; + } + HEAP32[$5 + 12 >> 2] = 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29($3, $5 + 12 | 0); + __stack_pointer = $5 + 16 | 0; + return; + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______throw_length_error_28_29_20const($0); + abort(); } -function _arPattAttach(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - if ((i1 | 0) != 0 ? (i3 = i1 + 7062384 | 0, (HEAP32[i3 >> 2] | 0) == 0) : 0) { - HEAP32[i3 >> 2] = i2; - i1 = 0; - } else i1 = -1; - return i1 | 0; +function bool_20vision__OrthogonalizePivot8x9Basis2_float__28float__2c_20float__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = $0 + 72 | 0; + $4 = $0 + 36 | 0; + $5 = $1 + 72 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($3, $4, $5); + $6 = $0 + 108 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($6, $4, $1 + 108 | 0); + $7 = $0 + 144 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($7, $4, $1 + 144 | 0); + $8 = $0 + 180 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($8, $4, $1 + 180 | 0); + $9 = $0 + 216 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($9, $4, $1 + 216 | 0); + $0 = $0 + 252 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($0, $4, $1 + 252 | 0); + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($3), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($6), + HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($7), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($8), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($9), + HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($0), + HEAPF32[wasm2js_i32$0 + 20 >> 2] = wasm2js_f32$0; + $0 = int_20vision__MaxIndex6_float__28float_20const__29($2); + $1 = ($0 << 2) + $2 | 0; + $10 = HEAPF32[$1 >> 2]; + if ($10 != Math_fround(0)) { + $0 = Math_imul($0, 36); + void_20vision__Swap9_float__28float__2c_20float__29($3, $3 + $0 | 0); + void_20vision__Swap9_float__28float__2c_20float__29($5, $0 + $5 | 0); + void_20vision__ScaleVector9_float__28float__2c_20float_20const__2c_20float_29($3, $3, Math_fround(Math_fround(1) / sqrt_28float_29(HEAPF32[$1 >> 2]))); + } + __stack_pointer = $2 + 32 | 0; + return $10 != Math_fround(0); +} + +function vision__OrientationAssignment__computeGradients_28vision__GaussianScaleSpacePyramid_20const__29($0, $1) { + var $2 = 0, $3 = 0; + $3 = $0 + 40 | 0; + $0 = 0; + label$1: { + while (1) { + if (std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1)) >>> 0 > $0 >>> 0) { + $2 = std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const(vision__GaussianScaleSpacePyramid__images_28_29_20const($1), $0); + if ((vision__Image__width_28_29_20const($2) | 0) != (vision__Image__step_28_29_20const($2) >>> 2 | 0)) { + break label$1; + } + vision__ComputePolarGradients_28float__2c_20float_20const__2c_20unsigned_20long_2c_20unsigned_20long_29(float__20vision__Image__get_float__28_29(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($3, $0)), float_20const__20vision__Image__get_float__28_29_20const($2), vision__Image__width_28_29_20const($2), vision__Image__height_28_29_20const($2)); + $0 = $0 + 1 | 0; + continue; + } + break; + } + return; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 1347), 1863), 3289), 96), 3786), 4059), 16); + abort(); + abort(); } -function __ZNSt3__26locale5__imp7installINS_7codecvtIwc11__mbstate_tEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58228) | 0); - return; +function bool_20vision__HomographyPointsGeometricallyConsistent_float__28float_20const__2c_20float_20const__2c_20int_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + $3 = __stack_pointer - 48 | 0; + __stack_pointer = $3; + $9 = 1; + label$1: { + if (($2 | 0) < 2) { + break label$1; + } + void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($3 + 40 | 0, $0, $1); + $6 = $1 + 8 | 0; + void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($3 + 32 | 0, $0, $6); + $4 = $1 + 16 | 0; + void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($3 + 24 | 0, $0, $4); + void_20vision__CopyVector2_float__28float__2c_20float_20const__29($3 + 16 | 0, $3 + 40 | 0); + void_20vision__CopyVector2_float__28float__2c_20float_20const__29($3 + 8 | 0, $3 + 32 | 0); + $9 = 0; + if (!bool_20vision__Homography3PointsGeometricallyConsistent_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($1, $6, $4, $3 + 40 | 0, $3 + 32 | 0, $3 + 24 | 0)) { + break label$1; + } + $10 = 3; + $13 = ($2 | 0) > 3 ? $2 : 3; + $5 = $3 + 24 | 0; + $7 = $3 + 32 | 0; + $12 = $3 + 40 | 0; + $11 = $1; + $8 = $6; + while (1) { + label$3: { + $2 = $12; + if (($10 | 0) == ($13 | 0)) { + break label$3; + } + $4 = $4 + 8 | 0; + void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($2, $0, $4); + $10 = $10 + 1 | 0; + $11 = $11 + 8 | 0; + $8 = $8 + 8 | 0; + $14 = bool_20vision__Homography3PointsGeometricallyConsistent_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($11, $8, $4, $7, $5, $2); + $12 = $7; + $7 = $5; + $5 = $2; + if ($14) { + continue; + } + break label$1; + } + break; + } + if (!bool_20vision__Homography3PointsGeometricallyConsistent_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($8, $4, $1, $7, $5, $3 + 16 | 0)) { + break label$1; + } + $9 = bool_20vision__Homography3PointsGeometricallyConsistent_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($4, $1, $6, $5, $3 + 16 | 0, $3 + 8 | 0); + } + __stack_pointer = $3 + 48 | 0; + return $9; } -function __ZNSt3__26locale5__imp7installINS_7codecvtIcc11__mbstate_tEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58220) | 0); - return; -} - -function __ZNKSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE13__get_deleterERKSt9type_info(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return ((HEAP32[i2 + 4 >> 2] | 0) == 33285 ? i1 + 12 | 0 : 0) | 0; -} - -function _finish_pass1(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 + 460 >> 2] | 0; - HEAP32[i1 + 136 >> 2] = HEAP32[i2 + 16 >> 2]; - _select_colors(i1, HEAP32[i2 + 20 >> 2] | 0); - HEAP32[i2 + 28 >> 2] = 1; - return; +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______swap_out_circular_buffer_28std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______29($0, $1) { + var $2 = 0; + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96____28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96____29(std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_vision__PriorityQueueItem_96_____value_20___20is_move_assignable_vision__PriorityQueueItem_96_____value_2c_20void___type_20std____2__swap_vision__PriorityQueueItem_96____28vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96____29($0, $2); + std____2__enable_if_is_move_constructible_vision__PriorityQueueItem_96_____value_20___20is_move_assignable_vision__PriorityQueueItem_96_____value_2c_20void___type_20std____2__swap_vision__PriorityQueueItem_96____28vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96____29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_vision__PriorityQueueItem_96_____value_20___20is_move_assignable_vision__PriorityQueueItem_96_____value_2c_20void___type_20std____2__swap_vision__PriorityQueueItem_96____28vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96____29(std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______end_cap_28_29($0), std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____size_28_29_20const($0)); + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______invalidate_all_iterators_28_29($0); } -function __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED2Ev(i1, 14420); - __ZNSt3__29basic_iosIwNS_11char_traitsIwEEED2Ev(i1 + 4 | 0); - return; +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseDecltype_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 68)) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 116)) { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 84)) { + break label$1; + } + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$1 + 12 >> 2] = $2; + if (!$2) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b10_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b10_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, 37885, $1 + 12 | 0); + } + __stack_pointer = $1 + 16 | 0; + return $3; } -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED2Ev(i1, 14372); - __ZNSt3__29basic_iosIcNS_11char_traitsIcEEED2Ev(i1 + 4 | 0); - return; +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______swap_out_circular_buffer_28std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____29($0, $1) { + var $2 = 0; + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2____sso_allocator_std____2__locale__facet__2c_2030ul__2c_20std____2__locale__facet__2c_20void__28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20std____2__locale__facet___2c_20std____2__locale__facet___2c_20std____2__locale__facet____29(std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_std____2__locale__facet_____value_20___20is_move_assignable_std____2__locale__facet_____value_2c_20void___type_20std____2__swap_std____2__locale__facet____28std____2__locale__facet____2c_20std____2__locale__facet____29($0, $2); + std____2__enable_if_is_move_constructible_std____2__locale__facet_____value_20___20is_move_assignable_std____2__locale__facet_____value_2c_20void___type_20std____2__swap_std____2__locale__facet____28std____2__locale__facet____2c_20std____2__locale__facet____29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_std____2__locale__facet_____value_20___20is_move_assignable_std____2__locale__facet_____value_2c_20void___type_20std____2__swap_std____2__locale__facet____28std____2__locale__facet____2c_20std____2__locale__facet____29(std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______end_cap_28_29($0), std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____size_28_29_20const($0)); + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______invalidate_all_iterators_28_29($0); } -function __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED2Ev(i1, 14324); - __ZNSt3__29basic_iosIwNS_11char_traitsIwEEED2Ev(i1 + 8 | 0); - return; -} +function check_square($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $3 = __stack_pointer - 112 | 0; + __stack_pointer = $3; + $9 = $1 + 40028 | 0; + $10 = $1 + 28 | 0; + $6 = HEAP32[$1 + 24 >> 2]; + $11 = (($6 | 0) > 2 ? $6 : 2) - 1 | 0; + $12 = HEAP32[$1 + 40028 >> 2]; + $13 = HEAP32[$1 + 28 >> 2]; + $6 = 1; + while (1) { + if (($6 | 0) != ($11 | 0)) { + $4 = ($6 << 2) + $1 | 0; + $8 = HEAP32[$4 + 40028 >> 2] - $12 | 0; + $4 = HEAP32[$4 + 28 >> 2] - $13 | 0; + $4 = Math_imul($8, $8) + Math_imul($4, $4) | 0; + $8 = $4; + $4 = ($4 | 0) > ($5 | 0); + $5 = $4 ? $8 : $5; + $7 = $4 ? $6 : $7; + $6 = $6 + 1 | 0; + continue; + } + break; + } + HEAP32[$3 + 12 >> 2] = 0; + HEAP32[$3 + 60 >> 2] = 0; + $2 = +($0 | 0) / .75 * .01 * $2; + label$3: { + if ((get_vertex($10, $9, 0, $7, $2, $3 - -64 | 0, $3 + 60 | 0) | 0) < 0) { + $6 = -1; + break label$3; + } + $6 = -1; + if ((get_vertex($10, $9, $7, HEAP32[$1 + 24 >> 2] - 1 | 0, $2, $3 + 16 | 0, $3 + 12 | 0) | 0) < 0) { + break label$3; + } + $4 = HEAP32[$3 + 60 >> 2]; + $5 = HEAP32[$3 + 12 >> 2]; + label$5: { + if (!(($4 | 0) != 1 | ($5 | 0) != 1)) { + $8 = $7; + $0 = HEAP32[$3 + 16 >> 2]; + $7 = HEAP32[$3 + 64 >> 2]; + break label$5; + } + if (!(($4 | 0) < 2 | $5)) { + HEAP32[$3 + 60 >> 2] = 0; + HEAP32[$3 + 12 >> 2] = 0; + $5 = ($7 | 0) / 2 | 0; + if ((get_vertex($10, $9, 0, $5, $2, $3 - -64 | 0, $3 + 60 | 0) | 0) < 0) { + break label$3; + } + if ((get_vertex($10, $9, $5, $7, $2, $3 + 16 | 0, $3 + 12 | 0) | 0) < 0 | HEAP32[$3 + 60 >> 2] != 1 | HEAP32[$3 + 12 >> 2] != 1) { + break label$3; + } + $8 = HEAP32[$3 + 16 >> 2]; + $0 = $7; + $7 = HEAP32[$3 + 64 >> 2]; + break label$5; + } + if (($5 | 0) < 2 | $4) { + break label$3; + } + $5 = HEAP32[$1 + 24 >> 2]; + HEAP32[$3 + 60 >> 2] = 0; + HEAP32[$3 + 12 >> 2] = 0; + $5 = (($5 + $7 | 0) - 1 | 0) / 2 | 0; + if ((get_vertex($10, $9, $7, $5, $2, $3 - -64 | 0, $3 + 60 | 0) | 0) < 0) { + break label$3; + } + if ((get_vertex($10, $9, $5, HEAP32[$1 + 24 >> 2] - 1 | 0, $2, $3 + 16 | 0, $3 + 12 | 0) | 0) < 0 | HEAP32[$3 + 60 >> 2] != 1 | HEAP32[$3 + 12 >> 2] != 1) { + break label$3; + } + $8 = HEAP32[$3 + 64 >> 2]; + $0 = HEAP32[$3 + 16 >> 2]; + } + $4 = $7; + $6 = 0; + HEAP32[$1 + 80028 >> 2] = 0; + $5 = $0; + HEAP32[$1 + 80040 >> 2] = $5; + HEAP32[$1 + 80036 >> 2] = $8; + HEAP32[$1 + 80032 >> 2] = $4; + HEAP32[$1 + 80044 >> 2] = HEAP32[$1 + 24 >> 2] - 1; + } + __stack_pointer = $3 + 112 | 0; + return $6; +} + +function arParamChangeSize($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $6 = HEAP32[$0 >> 2]; + $7 = HEAP32[$0 + 4 >> 2]; + HEAP32[$3 + 4 >> 2] = $2; + HEAP32[$3 >> 2] = $1; + $8 = $3 + 8 | 0; + $9 = $0 + 8 | 0; + $4 = +($2 | 0) / +($7 | 0); + $5 = +($1 | 0) / +($6 | 0); + $2 = 0; + while (1) { + if (($2 | 0) != 4) { + $1 = $2 << 3; + HEAPF64[$8 + $1 >> 3] = $5 * HEAPF64[$1 + $9 >> 3]; + $6 = $1 + $3 | 0; + $1 = $0 + $1 | 0; + HEAPF64[$6 + 40 >> 3] = $4 * HEAPF64[$1 + 40 >> 3]; + HEAPF64[$6 + 72 >> 3] = HEAPF64[$1 + 72 >> 3]; + $2 = $2 + 1 | 0; + continue; + } + break; + } + $2 = -1; + label$3: { + label$4: { + label$5: { + label$6: { + label$7: { + label$8: { + $1 = HEAP32[$0 + 176 >> 2]; + switch ($1 - 1 | 0) { + case 0: + break label$5; -function __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED2Ev(i1, 14276); - __ZNSt3__29basic_iosIcNS_11char_traitsIcEEED2Ev(i1 + 8 | 0); - return; -} + case 1: + break label$6; -function dynCall_iiiiii(i6, i1, i2, i3, i4, i5) { - i6 = i6 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - return FUNCTION_TABLE_iiiiii[i6 & 31](i1 | 0, i2 | 0, i3 | 0, i4 | 0, i5 | 0) | 0; -} + case 2: + break label$7; -function _process_data_crank_post(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - FUNCTION_TABLE_viiiiiii[HEAP32[(HEAP32[i1 + 432 >> 2] | 0) + 4 >> 2] & 7](i1, 0, 0, 0, i2, i3, i4); - return; -} + case 3: + break label$8; -function _kpmGetResult(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - if (!i1) i1 = -1; else { - HEAP32[i2 >> 2] = HEAP32[i1 + 52 >> 2]; - HEAP32[i3 >> 2] = HEAP32[i1 + 56 >> 2]; - i1 = 0; + default: + break label$3; + } + } + HEAPF64[$3 + 104 >> 3] = HEAPF64[$0 + 104 >> 3]; + HEAPF64[$3 + 112 >> 3] = HEAPF64[$0 + 112 >> 3]; + HEAPF64[$3 + 120 >> 3] = HEAPF64[$0 + 120 >> 3]; + HEAPF64[$3 + 128 >> 3] = HEAPF64[$0 + 128 >> 3]; + HEAPF64[$3 + 136 >> 3] = $5 * HEAPF64[$0 + 136 >> 3]; + HEAPF64[$3 + 144 >> 3] = $4 * HEAPF64[$0 + 144 >> 3]; + HEAPF64[$3 + 152 >> 3] = $5 * HEAPF64[$0 + 152 >> 3]; + HEAPF64[$3 + 160 >> 3] = $4 * HEAPF64[$0 + 160 >> 3]; + HEAPF64[$3 + 168 >> 3] = HEAPF64[$0 + 168 >> 3]; + break label$4; + } + HEAPF64[$3 + 104 >> 3] = $5 * HEAPF64[$0 + 104 >> 3]; + HEAPF64[$3 + 112 >> 3] = $4 * HEAPF64[$0 + 112 >> 3]; + HEAPF64[$3 + 120 >> 3] = HEAPF64[$0 + 120 >> 3]; + HEAPF64[$3 + 128 >> 3] = HEAPF64[$0 + 128 >> 3]; + HEAPF64[$3 + 136 >> 3] = HEAPF64[$0 + 136 >> 3] / ($5 * $4); + HEAPF64[$3 + 144 >> 3] = HEAPF64[$0 + 144 >> 3] / ($4 * ($5 * $5 * $4)); + break label$4; + } + HEAPF64[$3 + 104 >> 3] = $5 * HEAPF64[$0 + 104 >> 3]; + HEAPF64[$3 + 112 >> 3] = $4 * HEAPF64[$0 + 112 >> 3]; + HEAPF64[$3 + 120 >> 3] = HEAPF64[$0 + 120 >> 3]; + HEAPF64[$3 + 128 >> 3] = HEAPF64[$0 + 128 >> 3] / ($5 * $4); + HEAPF64[$3 + 136 >> 3] = HEAPF64[$0 + 136 >> 3] / ($4 * ($5 * $5 * $4)); + break label$4; + } + HEAPF64[$3 + 104 >> 3] = $5 * HEAPF64[$0 + 104 >> 3]; + HEAPF64[$3 + 112 >> 3] = $4 * HEAPF64[$0 + 112 >> 3]; + HEAPF64[$3 + 120 >> 3] = HEAPF64[$0 + 120 >> 3]; + HEAPF64[$3 + 128 >> 3] = HEAPF64[$0 + 128 >> 3] / ($5 * $4); + } + HEAP32[$3 + 176 >> 2] = $1; + $2 = 0; + } + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___resolveForwardTemplateRefs_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = $0 + 360 | 0; + $4 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___size_28_29_20const($3); + $2 = HEAP32[$1 + 12 >> 2]; + $8 = $2 >>> 0 < $4 >>> 0 ? $4 : $2; + $6 = $0 + 332 | 0; + $0 = $2; + label$1: { + while (1) { + if (($0 | 0) != ($8 | 0)) { + $7 = HEAP32[$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___operator_5b_5d_28unsigned_20long_29($3, $0) >> 2]; + $1 = HEAP32[$7 + 8 >> 2]; + if ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___empty_28_29_20const($6)) { + break label$1; + } + $5 = HEAP32[$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___operator_5b_5d_28unsigned_20long_29($6, 0) >> 2]; + if (!$5) { + break label$1; + } + if ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___size_28_29_20const($5) >>> 0 <= $1 >>> 0) { + break label$1; + } + wasm2js_i32$0 = $7, wasm2js_i32$1 = HEAP32[$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___operator_5b_5d_28unsigned_20long_29($5, $1) >> 2], + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $0 = $0 + 1 | 0; + continue; + } + break; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___dropBack_28unsigned_20long_29($3, $2); } - return i1 | 0; -} - -function __ZN10emscripten8internal7InvokerIvJiEE6invokeEPFviEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - i2 = __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i2) | 0; - FUNCTION_TABLE_vi[i1 & 255](i2); - return; -} -function stackAlloc(i2) { - i2 = i2 | 0; - var i1 = 0; - i1 = STACKTOP; - STACKTOP = STACKTOP + i2 | 0; - STACKTOP = STACKTOP + 15 & -16; - if ((STACKTOP | 0) >= (STACK_MAX | 0)) abortStackOverflow(i2 | 0); - return i1 | 0; -} - -function _grayscale_convert_29(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - _jcopy_sample_rows(HEAP32[i2 >> 2] | 0, i3, i4, 0, i5, HEAP32[i1 + 112 >> 2] | 0); - return; + return $0 >>> 0 < $4 >>> 0; } -function _arImageProcInit(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = _malloc(2064) | 0; - if (i3 | 0) { - HEAP32[i3 >> 2] = 0; - HEAP32[i3 + 4 >> 2] = i1; - HEAP32[i3 + 8 >> 2] = i2; +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnscopedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 29814); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 12 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 8 | 0); + if ($3) { + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 76); } - return i3 | 0; -} - -function __ZNSt3__26locale8__globalEv() { - if ((HEAP8[56144] | 0) == 0 ? ___cxa_guard_acquire(56144) | 0 : 0) { - __ZNSt3__26locale5__imp11make_globalEv() | 0; - HEAP32[14566] = 58260; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnqualifiedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0, $1); + HEAP32[$2 + 20 >> 2] = $1; + if (!(!$1 | $3 ^ 1)) { + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__StdQualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2 + 20 | 0); } - return HEAP32[14566] | 0; + __stack_pointer = $2 + 32 | 0; + return $1; } -function __ZNSt3__26locale7classicEv() { - if ((HEAP8[55976] | 0) == 0 ? ___cxa_guard_acquire(55976) | 0 : 0) { - __ZNSt3__26locale5__imp12make_classicEv() | 0; - HEAP32[14564] = 58252; +function std____2__enable_if___is_cpp17_forward_iterator_wchar_t____value_2c_20void___type_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______init_wchar_t___28wchar_t__2c_20wchar_t__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $4 = std____2__iterator_traits_wchar_t____difference_type_20std____2__distance_wchar_t___28wchar_t__2c_20wchar_t__29($1, $2); + if ($4 >>> 0 <= std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____max_size_28_29_20const($0) >>> 0) { + label$2: { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______fits_in_sso_28unsigned_20long_29($4)) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_short_size_28unsigned_20long_29($0, $4); + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_pointer_28_29($0); + break label$2; + } + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______recommend_28unsigned_20long_29($4); + $6 = $3 + 1 | 0; + $3 = std____2__allocator_traits_std____2__allocator_wchar_t____allocate_28std____2__allocator_wchar_t___2c_20unsigned_20long_29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0), $6); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_pointer_28wchar_t__29($0, $3); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_cap_28unsigned_20long_29($0, $6); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_size_28unsigned_20long_29($0, $4); + } + while (1) { + if (($1 | 0) != ($2 | 0)) { + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29($3, $1); + $3 = $3 + 4 | 0; + $1 = $1 + 4 | 0; + continue; + } + break; + } + HEAP32[$5 + 12 >> 2] = 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29($3, $5 + 12 | 0); + __stack_pointer = $5 + 16 | 0; + return; } - return HEAP32[14564] | 0; -} - -function __ZNSt3__26locale5__imp7installINS_10moneypunctIwLb1EEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58164) | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_10moneypunctIwLb0EEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58156) | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_10moneypunctIcLb1EEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58148) | 0); - return; -} - -function __ZNSt3__26locale5__imp7installINS_10moneypunctIcLb0EEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58140) | 0); - return; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______throw_length_error_28_29_20const($0); + abort(); } -function __ZNSt3__26__clocEv() { - var i1 = 0; - if ((HEAP8[55496] | 0) == 0 ? ___cxa_guard_acquire(55496) | 0 : 0) { - i1 = ___newlocale(2147483647, 46795, 0) | 0; - HEAP32[14481] = i1; +function __letf2($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0; + $14 = 1; + $9 = $0; + $10 = $1; + $12 = ($9 | $10) != 0; + $9 = $3; + $10 = $9 & 2147483647; + $13 = $10; + $8 = $2; + $2 = $8; + $15 = ($10 | 0) == 2147418112 & ($8 | 0) != 0 | $10 >>> 0 > 2147418112; + $9 = $10; + $11 = $8; + label$1: { + if (!$11 & ($9 | 0) == 2147418112 ? $12 : $15) { + break label$1; + } + $8 = $4; + $11 = $5; + $15 = ($8 | $11) != 0; + $8 = $7; + $11 = $8 & 2147483647; + $12 = $11; + $10 = $6; + $6 = $10; + $8 = $10; + $16 = ($11 | 0) == 2147418112 & ($8 | 0) != 0 | $11 >>> 0 > 2147418112; + $8 = $11; + $9 = $10; + if (!$9 & ($8 | 0) == 2147418112 ? $15 : $16) { + break label$1; + } + $10 = $0; + $11 = $4; + $15 = $10 | $11; + $9 = $1; + $8 = $5; + $8 = $9 | $8; + $14 = $8; + $10 = $12; + $8 = $13; + $10 = $10 | $8; + $13 = $10; + $11 = $6; + $9 = $2; + $11 = $11 | $9; + $8 = $15; + $10 = $14; + $9 = $13; + $9 = $10 | $9; + if (!($11 | $8 | $9)) { + return 0; + } + $9 = $3; + $8 = $7; + $8 = $9 & $8; + $10 = $2; + $11 = $6; + if (($8 | 0) > 0 | ($8 | 0) >= 0) { + $14 = -1; + $9 = $1; + $8 = $5; + $10 = $4; + $11 = $0; + $13 = ($9 | 0) == ($8 | 0) & $10 >>> 0 > $11 >>> 0 | $9 >>> 0 < $8 >>> 0; + $10 = $2; + $8 = $6; + $11 = $3; + $9 = $7; + $12 = $10 >>> 0 < $8 >>> 0 & ($11 | 0) <= ($9 | 0) | ($11 | 0) < ($9 | 0); + $9 = $8; + $8 = $10; + $10 = $11; + $11 = $7; + if (($9 | 0) == ($8 | 0) & ($10 | 0) == ($11 | 0) ? $13 : $12) { + break label$1; + } + $11 = $4; + $9 = $0; + $4 = $11 ^ $9; + $10 = $5; + $8 = $1; + $10 = $10 ^ $8; + $0 = $10; + $10 = $3; + $9 = $7; + $9 = $10 ^ $9; + $1 = $9; + $11 = $6; + $8 = $2; + $11 = $11 ^ $8; + $9 = $0; + $8 = $1; + $8 = $9 | $8; + $10 = $4; + $9 = $11 | $10; + return ($9 | $8) != 0; + } + $14 = -1; + $9 = $1; + $8 = $5; + $10 = $4; + $11 = $0; + $13 = ($9 | 0) == ($8 | 0) & $10 >>> 0 < $11 >>> 0 | $9 >>> 0 > $8 >>> 0; + $10 = $2; + $8 = $6; + $11 = $3; + $9 = $7; + $12 = $10 >>> 0 > $8 >>> 0 & ($11 | 0) >= ($9 | 0) | ($11 | 0) > ($9 | 0); + $9 = $8; + $8 = $10; + $10 = $11; + $11 = $7; + if (($9 | 0) == ($8 | 0) & ($10 | 0) == ($11 | 0) ? $13 : $12) { + break label$1; + } + $11 = $4; + $9 = $0; + $4 = $11 ^ $9; + $10 = $5; + $8 = $1; + $10 = $10 ^ $8; + $0 = $10; + $10 = $3; + $9 = $7; + $9 = $10 ^ $9; + $1 = $9; + $11 = $6; + $8 = $2; + $11 = $11 ^ $8; + $9 = $0; + $8 = $1; + $8 = $9 | $8; + $10 = $4; + $9 = $11 | $10; + $14 = ($9 | $8) != 0; + } + return $14; +} + +function h2v2_merged_upsample($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0; + $4 = $2 << 2; + $9 = HEAP32[$4 + HEAP32[$1 + 8 >> 2] >> 2]; + $11 = HEAP32[HEAP32[$1 + 4 >> 2] + $4 >> 2]; + $1 = HEAP32[$1 >> 2] + ($2 << 3) | 0; + $8 = HEAP32[$1 >> 2]; + $10 = HEAP32[$1 + 4 >> 2]; + $2 = HEAP32[$3 + 4 >> 2]; + $3 = HEAP32[$3 >> 2]; + $1 = HEAP32[$0 + 336 >> 2]; + $4 = HEAP32[$0 + 476 >> 2]; + $13 = HEAP32[$4 + 28 >> 2]; + $14 = HEAP32[$4 + 24 >> 2]; + $15 = HEAP32[$4 + 20 >> 2]; + $16 = HEAP32[$4 + 16 >> 2]; + $4 = HEAP32[$0 + 112 >> 2]; + if ($4 >>> 0 >= 2) { + $12 = $4 >>> 1 | 0; + while (1) { + $5 = HEAPU8[$11 | 0] << 2; + $4 = HEAP32[$15 + $5 >> 2]; + $7 = HEAPU8[$9 | 0] << 2; + $17 = HEAP32[$14 + $7 >> 2]; + $18 = HEAP32[$5 + $13 >> 2]; + $5 = HEAP32[$7 + $16 >> 2]; + $6 = HEAPU8[$8 | 0]; + HEAP8[$3 | 0] = HEAPU8[($5 + $6 | 0) + $1 | 0]; + $7 = $17 + $18 >> 16; + HEAP8[$3 + 1 | 0] = HEAPU8[($7 + $6 | 0) + $1 | 0]; + HEAP8[$3 + 2 | 0] = HEAPU8[($4 + $6 | 0) + $1 | 0]; + $6 = HEAPU8[$8 + 1 | 0]; + HEAP8[$3 + 3 | 0] = HEAPU8[($6 + $5 | 0) + $1 | 0]; + HEAP8[$3 + 4 | 0] = HEAPU8[($6 + $7 | 0) + $1 | 0]; + HEAP8[$3 + 5 | 0] = HEAPU8[($4 + $6 | 0) + $1 | 0]; + $6 = HEAPU8[$10 | 0]; + HEAP8[$2 | 0] = HEAPU8[($6 + $5 | 0) + $1 | 0]; + HEAP8[$2 + 1 | 0] = HEAPU8[($6 + $7 | 0) + $1 | 0]; + HEAP8[$2 + 2 | 0] = HEAPU8[($4 + $6 | 0) + $1 | 0]; + $6 = HEAPU8[$10 + 1 | 0]; + HEAP8[$2 + 3 | 0] = HEAPU8[($6 + $5 | 0) + $1 | 0]; + HEAP8[$2 + 4 | 0] = HEAPU8[($6 + $7 | 0) + $1 | 0]; + HEAP8[$2 + 5 | 0] = HEAPU8[($4 + $6 | 0) + $1 | 0]; + $2 = $2 + 6 | 0; + $10 = $10 + 2 | 0; + $3 = $3 + 6 | 0; + $8 = $8 + 2 | 0; + $9 = $9 + 1 | 0; + $11 = $11 + 1 | 0; + $12 = $12 - 1 | 0; + if ($12) { + continue; + } + break; + } + $4 = HEAP32[$0 + 112 >> 2]; + } + if ($4 & 1) { + $5 = HEAPU8[$11 | 0] << 2; + $4 = HEAP32[$15 + $5 >> 2]; + $7 = HEAPU8[$9 | 0] << 2; + $9 = HEAP32[$14 + $7 >> 2]; + $5 = HEAP32[$5 + $13 >> 2]; + $7 = HEAP32[$7 + $16 >> 2]; + $8 = HEAPU8[$8 | 0]; + HEAP8[$3 | 0] = HEAPU8[($7 + $8 | 0) + $1 | 0]; + $5 = $5 + $9 >> 16; + HEAP8[$3 + 1 | 0] = HEAPU8[($8 + $5 | 0) + $1 | 0]; + HEAP8[$3 + 2 | 0] = HEAPU8[($4 + $8 | 0) + $1 | 0]; + $3 = HEAPU8[$10 | 0]; + HEAP8[$2 | 0] = HEAPU8[($7 + $3 | 0) + $1 | 0]; + HEAP8[$2 + 1 | 0] = HEAPU8[($3 + $5 | 0) + $1 | 0]; + HEAP8[$2 + 2 | 0] = HEAPU8[($3 + $4 | 0) + $1 | 0]; + } +} + +function __getf2($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0; + $16 = -1; + $9 = $0; + $10 = $1; + $12 = ($9 | $10) != 0; + $9 = $3; + $10 = $9 & 2147483647; + $13 = $10; + $8 = $2; + $2 = $8; + $14 = ($10 | 0) == 2147418112 & ($8 | 0) != 0 | $10 >>> 0 > 2147418112; + $9 = $10; + $11 = $8; + label$1: { + if (!$11 & ($9 | 0) == 2147418112 ? $12 : $14) { + break label$1; + } + $8 = $4; + $11 = $5; + $14 = ($8 | $11) != 0; + $8 = $7; + $11 = $8 & 2147483647; + $12 = $11; + $10 = $6; + $6 = $10; + $8 = $10; + $15 = ($11 | 0) == 2147418112 & ($8 | 0) != 0 | $11 >>> 0 > 2147418112; + $8 = $11; + $9 = $10; + if (!$9 & ($8 | 0) == 2147418112 ? $14 : $15) { + break label$1; + } + $10 = $0; + $11 = $4; + $15 = $10 | $11; + $9 = $1; + $8 = $5; + $8 = $9 | $8; + $14 = $8; + $10 = $12; + $8 = $13; + $10 = $10 | $8; + $13 = $10; + $11 = $6; + $9 = $2; + $11 = $11 | $9; + $8 = $15; + $10 = $14; + $9 = $13; + $9 = $10 | $9; + if (!($11 | $8 | $9)) { + return 0; + } + $9 = $3; + $8 = $7; + $8 = $9 & $8; + $10 = $2; + $11 = $6; + if (($8 | 0) > 0 | ($8 | 0) >= 0) { + $9 = $1; + $8 = $5; + $10 = $4; + $11 = $0; + $13 = ($9 | 0) == ($8 | 0) & $10 >>> 0 > $11 >>> 0 | $9 >>> 0 < $8 >>> 0; + $10 = $2; + $8 = $6; + $11 = $3; + $9 = $7; + $12 = $10 >>> 0 < $8 >>> 0 & ($11 | 0) <= ($9 | 0) | ($11 | 0) < ($9 | 0); + $9 = $8; + $8 = $10; + $10 = $11; + $11 = $7; + if (($9 | 0) == ($8 | 0) & ($10 | 0) == ($11 | 0) ? $13 : $12) { + break label$1; + } + $11 = $4; + $9 = $0; + $4 = $11 ^ $9; + $10 = $5; + $8 = $1; + $10 = $10 ^ $8; + $0 = $10; + $10 = $3; + $9 = $7; + $9 = $10 ^ $9; + $1 = $9; + $11 = $6; + $8 = $2; + $11 = $11 ^ $8; + $9 = $0; + $8 = $1; + $8 = $9 | $8; + $10 = $4; + $9 = $11 | $10; + return ($9 | $8) != 0; + } + $9 = $1; + $8 = $5; + $10 = $4; + $11 = $0; + $13 = ($9 | 0) == ($8 | 0) & $10 >>> 0 < $11 >>> 0 | $9 >>> 0 > $8 >>> 0; + $10 = $2; + $8 = $6; + $11 = $3; + $9 = $7; + $12 = $10 >>> 0 > $8 >>> 0 & ($11 | 0) >= ($9 | 0) | ($11 | 0) > ($9 | 0); + $9 = $8; + $8 = $10; + $10 = $11; + $11 = $7; + if (($9 | 0) == ($8 | 0) & ($10 | 0) == ($11 | 0) ? $13 : $12) { + break label$1; + } + $11 = $4; + $9 = $0; + $4 = $11 ^ $9; + $10 = $5; + $8 = $1; + $10 = $10 ^ $8; + $0 = $10; + $10 = $3; + $9 = $7; + $9 = $10 ^ $9; + $1 = $9; + $11 = $6; + $8 = $2; + $11 = $11 ^ $8; + $9 = $0; + $8 = $1; + $8 = $9 | $8; + $10 = $4; + $9 = $11 | $10; + $16 = ($9 | $8) != 0; + } + return $16; +} +function jpeg_idct_6x6($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0; + $15 = __stack_pointer - 144 | 0; + __stack_pointer = $15; + $16 = HEAP32[$0 + 336 >> 2]; + $0 = HEAP32[$1 + 84 >> 2]; + $1 = $15; + while (1) { + $11 = HEAP32[$0 + 64 >> 2]; + $8 = HEAP16[$2 + 32 >> 1]; + $9 = Math_imul(HEAP16[$2 >> 1], HEAP32[$0 >> 2]) << 13 | 1024; + $10 = Math_imul(HEAP32[$0 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $13 = $9 + Math_imul($10, -11586) >> 11; + $5 = Math_imul(HEAP32[$0 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $6 = Math_imul(HEAP32[$0 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $7 = Math_imul(HEAP32[$0 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $14 = $5 - ($6 + $7 | 0) << 2; + HEAP32[$1 + 96 >> 2] = $13 - $14; + HEAP32[$1 + 24 >> 2] = $13 + $14; + $11 = Math_imul(Math_imul($8, $11), 10033); + $8 = Math_imul($10, 5793) + $9 | 0; + $10 = $11 + $8 | 0; + $9 = Math_imul($5 + $7 | 0, 2998); + $5 = $9 + ($5 + $6 << 13) | 0; + HEAP32[$1 + 120 >> 2] = $10 - $5 >> 11; + HEAP32[$1 >> 2] = $5 + $10 >> 11; + $5 = $8 - $11 | 0; + $6 = ($7 - $6 << 13) + $9 | 0; + HEAP32[$1 + 72 >> 2] = $5 - $6 >> 11; + HEAP32[$1 + 48 >> 2] = $5 + $6 >> 11; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $2 = $2 + 2 | 0; + $12 = $12 + 1 | 0; + if (($12 | 0) != 6) { + continue; + } + break; + } + $0 = $16 - 384 | 0; + $2 = $15; + $5 = 0; + while (1) { + $1 = HEAP32[($5 << 2) + $3 >> 2] + $4 | 0; + $6 = HEAP32[$2 + 20 >> 2]; + $7 = HEAP32[$2 + 4 >> 2]; + $11 = Math_imul($6 + $7 | 0, 2998); + $12 = HEAP32[$2 + 12 >> 2]; + $8 = $11 + ($12 + $7 << 13) | 0; + $10 = (HEAP32[$2 >> 2] << 13) + 134348800 | 0; + $9 = HEAP32[$2 + 16 >> 2]; + $13 = $10 + Math_imul($9, 5793) | 0; + $14 = Math_imul(HEAP32[$2 + 8 >> 2], 10033); + $16 = $13 + $14 | 0; + HEAP8[$1 | 0] = HEAPU8[($8 + $16 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 5 | 0] = HEAPU8[($16 - $8 >>> 18 & 1023) + $0 | 0]; + $7 = $7 - ($6 + $12 | 0) << 13; + $8 = Math_imul($9, -11586) + $10 | 0; + HEAP8[$1 + 1 | 0] = HEAPU8[($7 + $8 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 4 | 0] = HEAPU8[($8 - $7 >>> 18 & 1023) + $0 | 0]; + $6 = ($6 - $12 << 13) + $11 | 0; + $7 = $13 - $14 | 0; + HEAP8[$1 + 2 | 0] = HEAPU8[($6 + $7 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 3 | 0] = HEAPU8[($7 - $6 >>> 18 & 1023) + $0 | 0]; + $2 = $2 + 24 | 0; + $5 = $5 + 1 | 0; + if (($5 | 0) != 6) { + continue; + } + break; + } + __stack_pointer = $15 + 144 | 0; +} + +function std____2__unordered_map_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________operator_5b_5d_28int_20const__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__tuple_int_20const___20std____2__forward_as_tuple_int_20const___28int_20const__29($1), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + std____2__tuple___20std____2__forward_as_tuple___28_29(); + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________emplace_unique_key_args_int_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28int_20const__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($2 + 24 | 0, $0, $1, 26664, $2 + 16 | 0, $2 + 8 | 0); + $1 = std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________get_value_28_29(std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______operator___28_29_20const($2 + 24 | 0)); + __stack_pointer = $2 + 32 | 0; + return $1 + 4 | 0; +} + +function std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20bool_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = __stack_pointer - 48 | 0; + __stack_pointer = $5; + HEAP32[$5 + 40 >> 2] = $1; + label$1: { + if (!(std____2__ios_base__flags_28_29_20const($2) & 1)) { + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $1, $2, $3, $4) | 0; + break label$1; + } + std____2__ios_base__getloc_28_29_20const($5 + 24 | 0, $2); + $2 = std____2__numpunct_wchar_t__20const__20std____2__use_facet_std____2__numpunct_wchar_t___28std____2__locale_20const__29($5 + 24 | 0); + std____2__locale___locale_28_29($5 + 24 | 0); + label$3: { + if ($4) { + std____2__numpunct_wchar_t___truename_28_29_20const($5 + 24 | 0, $2); + break label$3; + } + std____2__numpunct_wchar_t___falsename_28_29_20const($5 + 24 | 0, $2); + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____begin_28_29($5 + 24 | 0), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + while (1) { + wasm2js_i32$0 = $5, wasm2js_i32$1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____end_28_29($5 + 24 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + if (bool_20std____2__operator___wchar_t___28std____2____wrap_iter_wchar_t___20const__2c_20std____2____wrap_iter_wchar_t___20const__29($5 + 16 | 0, $5 + 8 | 0)) { + $2 = HEAP32[std____2____wrap_iter_wchar_t____operator__28_29_20const($5 + 16 | 0) >> 2]; + std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28wchar_t_29(std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29($5 + 40 | 0), $2); + std____2____wrap_iter_wchar_t____operator___28_29($5 + 16 | 0); + std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($5 + 40 | 0); + continue; + } else { + $2 = HEAP32[$5 + 40 >> 2]; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($5 + 24 | 0); + } + break; + } } - return HEAP32[14481] | 0; + __stack_pointer = $5 + 48 | 0; + return $2 | 0; } -function __ZNK10__cxxabiv123__fundamental_type_info9can_catchEPKNS_16__shim_type_infoERPv(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return __ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i1, i2, 0) | 0; +function std____2__init_wweeks_28_29() { + var $0 = 0; + if (!HEAPU8[83160]) { + $0 = 82992; + while (1) { + $0 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($0) + 12 | 0; + if (($0 | 0) != 83160) { + continue; + } + break; + } + __cxa_atexit(320, 0, 1024); + HEAP8[83160] = 1; + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(82992, 63684); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83004, 63712); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83016, 63740); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83028, 63772); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83040, 63812); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83052, 63848); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83064, 63876); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83076, 63912); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83088, 63928); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83100, 63944); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83112, 63960); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83124, 63976); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83136, 63992); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83148, 64008); +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______append_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + if ((HEAP32[std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] | 0) / 36 >>> 0 >= $1 >>> 0) { + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______construct_at_end_28unsigned_20long_29($0, $1); + break label$1; + } + $2 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29($0); + $2 = std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___29($3 + 8 | 0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______recommend_28unsigned_20long_29_20const($0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($0) + $1 | 0), std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($0), $2); + std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______construct_at_end_28unsigned_20long_29($2, $1); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______swap_out_circular_buffer_28std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____29($0, $2); + std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint________split_buffer_28_29($2); + } + __stack_pointer = $3 + 32 | 0; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______reset_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______operator_28_29_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____29(std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______second_28_29($0), $2); + } +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePointerToMemberConversionExpr_28_29($0) { + var $1 = 0, $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$2 + 12 >> 2] = $1; + label$1: { + label$2: { + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$2 + 8 >> 2] = $1; + if (!$1) { + break label$2; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($2, $0, 1); + $1 = 0; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PointerToMemberConversionExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $2 + 12 | 0, $2 + 8 | 0, $2); + break label$1; + } + $1 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function int_20std____2____get_up_to_n_digits_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__2c_20int_29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + HEAP32[$5 + 8 >> 2] = $1; + $1 = 0; + $6 = 6; + label$1: { + label$2: { + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0, $5 + 8 | 0)) { + break label$2; + } + $6 = 4; + $7 = std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0); + if (!std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($3, 64, $7)) { + break label$2; + } + $1 = std____2__ctype_wchar_t___narrow_28wchar_t_2c_20char_29_20const($3, $7, 0); + while (1) { + label$4: { + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0); + $1 = $1 - 48 | 0; + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($0, $5 + 8 | 0) | ($4 | 0) < 2) { + break label$4; + } + $6 = std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0); + if (!std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($3, 64, $6)) { + break label$1; + } + $4 = $4 - 1 | 0; + $1 = std____2__ctype_wchar_t___narrow_28wchar_t_2c_20char_29_20const($3, $6, 0) + Math_imul($1, 10) | 0; + continue; + } + break; + } + $6 = 2; + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0, $5 + 8 | 0)) { + break label$1; + } + } + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] | $6; + } + __stack_pointer = $5 + 16 | 0; + return $1; +} + +function teardown($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + $2 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0); + $0 = HEAP32[$2 + 196 >> 2]; + if ($0) { + dlfree($0); + HEAP32[$2 + 196 >> 2] = 0; + HEAP32[$2 + 200 >> 2] = 0; + } + deleteHandle($2); + arPattDeleteHandle(HEAP32[$2 + 220 >> 2]); + std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____erase_28int_20const__29(77980, $1 + 12 | 0); + $3 = $2 + 328 | 0; + $0 = 0; + while (1) { + if (std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____size_28_29_20const($3) >>> 0 > $0 >>> 0) { + arMultiFreeConfig(HEAP32[std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____operator_5b_5d_28unsigned_20long_29($3, $0) + 4 >> 2]); + $0 = $0 + 1 | 0; + continue; + } + break; + } + operator_20delete_28void__29(std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker_____vector_28_29($3)); + $0 = arController___arController_28_29($2); + operator_20delete_28void__29($0); + trackingInitQuit($0 + 240 | 0); + $0 = 0; + } + __stack_pointer = $1 + 16 | 0; + return $0 | 0; } -function __ZNSt3__27codecvtIwc11__mbstate_tEC2Em(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 + 4 >> 2] = i2 + -1; - HEAP32[i1 >> 2] = 16788; - i2 = __ZNSt3__26__clocEv() | 0; - HEAP32[i1 + 8 >> 2] = i2; - return; +function std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________second_28_29($0), $2); + } } -function __ZNSt3__213__vector_baseIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + std____2__allocator_char__20std____2__allocator_traits_std____2__allocator_char____select_on_container_copy_construction_std____2__allocator_char__2c_20void_2c_20void__28std____2__allocator_char__20const__29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29_20const($1)); + $0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char______compressed_pair_std____2____default_init_tag_2c_20std____2__allocator_char___28std____2____default_init_tag___2c_20std____2__allocator_char____29($0, $2 + 8 | 0, $2); + label$1: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_28_29_20const($1)) { + $1 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29_20const($1); + $3 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29($0); + HEAP32[$3 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; + $4 = HEAP32[$1 + 4 >> 2]; + HEAP32[$3 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$3 + 4 >> 2] = $4; + break label$1; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_copy_ctor_external_28char_20const__2c_20unsigned_20long_29($0, char_20const__20std____2____to_address_char_20const__28char_20const__29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_28_29_20const($1)), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_size_28_29_20const($1)); } - return; + void_20std____2____debug_db_insert_c_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0); + __stack_pointer = $2 + 16 | 0; + return $0; } -function _byteSwapDouble(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0; - i1 = 0; +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, $1, $2, $3) { while (1) { - if ((i1 | 0) == 8) break; - HEAP8[i3 + i1 >> 0] = HEAP8[i2 + (7 - i1) >> 0] | 0; - i1 = i1 + 1 | 0; + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 12 | 0; + void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______construct_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____20std____2____to_address_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29(HEAP32[$3 >> 2] - 12 | 0), $2); + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] - 12; + continue; + } + break; } - return; } -function __ZNSt3__213__vector_baseIPN6vision4NodeILi96EEENS_9allocatorIS4_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________hash_table_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________unique_ptr_true_2c_20void__28_29($0); + std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________compressed_pair_true_2c_20void__28_29($0 + 8 | 0); + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0 + 12 | 0, $1 + 12 | 0, $1 + 8 | 0); + HEAP32[$1 + 4 >> 2] = 1065353216; + std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0 + 16 | 0, $1 + 4 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function setupAR2Threads($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = -1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + break label$1; + } + $0 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0); + $2 = ar2CreateHandle(HEAP32[$0 + 192 >> 2], HEAP32[$0 + 472 >> 2], -1); + HEAP32[$0 + 236 >> 2] = $2; + if (!$2) { + arLog(0, 3, 39439, 0); + kpmDeleteHandle($0 + 232 | 0); + $2 = 0; + break label$1; + } + if ((threadGetCPU() | 0) <= 1) { + arLog(0, 1, 39840, 0); + ar2SetTrackingThresh(HEAP32[$0 + 236 >> 2], Math_fround(5)); + ar2SetSimThresh(HEAP32[$0 + 236 >> 2], Math_fround(.5)); + ar2SetSearchFeatureNum(HEAP32[$0 + 236 >> 2], 16); + ar2SetSearchSize(HEAP32[$0 + 236 >> 2], 6); + ar2SetTemplateSize1(HEAP32[$0 + 236 >> 2], 6); + ar2SetTemplateSize2(HEAP32[$0 + 236 >> 2], 6); + $2 = 0; + break label$1; + } + arLog(0, 1, 39788, 0); + ar2SetTrackingThresh(HEAP32[$0 + 236 >> 2], Math_fround(5)); + ar2SetSimThresh(HEAP32[$0 + 236 >> 2], Math_fround(.5)); + ar2SetSearchFeatureNum(HEAP32[$0 + 236 >> 2], 16); + ar2SetSearchSize(HEAP32[$0 + 236 >> 2], 12); + ar2SetTemplateSize1(HEAP32[$0 + 236 >> 2], 6); + ar2SetTemplateSize2(HEAP32[$0 + 236 >> 2], 6); + $2 = 0; + } + __stack_pointer = $1 + 16 | 0; + return $2 | 0; +} + +function qsort($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $4 = __stack_pointer - 208 | 0; + __stack_pointer = $4; + HEAP32[$4 + 8 >> 2] = 1; + HEAP32[$4 + 12 >> 2] = 0; + $7 = Math_imul($1, $2); + label$1: { + if (!$7) { + break label$1; + } + HEAP32[$4 + 16 >> 2] = $2; + HEAP32[$4 + 20 >> 2] = $2; + $8 = 0 - $2 | 0; + $1 = $2; + $6 = $1; + $5 = 2; + while (1) { + $9 = $2 + $6 | 0; + $6 = $1; + $1 = $1 + $9 | 0; + HEAP32[($4 + 16 | 0) + ($5 << 2) >> 2] = $1; + $5 = $5 + 1 | 0; + if ($1 >>> 0 < $7 >>> 0) { + continue; + } + break; + } + $6 = ($0 + $7 | 0) + $8 | 0; + label$3: { + if ($6 >>> 0 <= $0 >>> 0) { + $1 = 1; + $6 = 0; + break label$3; + } + $5 = 1; + $1 = 1; + while (1) { + label$6: { + if (($5 & 3) == 3) { + sift($0, $2, $3, $1, $4 + 16 | 0); + shr($4 + 8 | 0, 2); + $1 = $1 + 2 | 0; + break label$6; + } + $5 = $1 - 1 | 0; + label$8: { + if (HEAPU32[($4 + 16 | 0) + ($5 << 2) >> 2] >= $6 - $0 >>> 0) { + trinkle($0, $2, $3, $4 + 8 | 0, $1, 0, $4 + 16 | 0); + break label$8; + } + sift($0, $2, $3, $1, $4 + 16 | 0); + } + if (($1 | 0) == 1) { + shl($4 + 8 | 0, 1); + $1 = 0; + break label$6; + } + shl($4 + 8 | 0, $5); + $1 = 1; + } + $7 = HEAP32[$4 + 8 >> 2]; + $5 = $7 | 1; + HEAP32[$4 + 8 >> 2] = $5; + $0 = $0 + $2 | 0; + if ($6 >>> 0 > $0 >>> 0) { + continue; + } + break; + } + $10 = $7 >>> 0 > 1; + $6 = HEAP32[$4 + 12 >> 2] != 0; + } + trinkle($0, $2, $3, $4 + 8 | 0, $1, 0, $4 + 16 | 0); + $5 = $10; + if (!($6 ? 1 : $5 | ($1 | 0) != 1)) { + break label$1; + } + while (1) { + label$12: { + if (($1 | 0) <= 1) { + $5 = pntz($4 + 8 | 0); + shr($4 + 8 | 0, $5); + $1 = $1 + $5 | 0; + $5 = HEAP32[$4 + 8 >> 2]; + break label$12; + } + shl($4 + 8 | 0, 2); + HEAP32[$4 + 8 >> 2] = HEAP32[$4 + 8 >> 2] ^ 7; + shr($4 + 8 | 0, 1); + $7 = $0 + $8 | 0; + $6 = $1 - 2 | 0; + trinkle($7 - HEAP32[($4 + 16 | 0) + ($6 << 2) >> 2] | 0, $2, $3, $4 + 8 | 0, $1 - 1 | 0, 1, $4 + 16 | 0); + shl($4 + 8 | 0, 1); + $5 = HEAP32[$4 + 8 >> 2] | 1; + HEAP32[$4 + 8 >> 2] = $5; + trinkle($7, $2, $3, $4 + 8 | 0, $6, 1, $4 + 16 | 0); + $1 = $6; + } + $0 = $0 + $8 | 0; + if (($1 | 0) != 1) { + continue; + } + $6 = HEAP32[$4 + 12 >> 2]; + if ($6 | ($5 | 0) != 1) { + continue; + } + break; + } } - return; -} - -function dynCall_iiiiid(i6, i1, i2, i3, i4, d5) { - i6 = i6 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - d5 = +d5; - return FUNCTION_TABLE_iiiiid[i6 & 7](i1 | 0, i2 | 0, i3 | 0, i4 | 0, +d5) | 0; + __stack_pointer = $4 + 208 | 0; } -function __ZTv0_n12_NSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev(i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) | 0); - return; +function std____2__enable_if___is_cpp17_forward_iterator_char_20const____value_2c_20void___type_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_char_20const___28char_20const__2c_20char_20const__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $4 = std____2__iterator_traits_char_20const____difference_type_20std____2__distance_char_20const___28char_20const__2c_20char_20const__29($1, $2); + if ($4 >>> 0 <= std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____max_size_28_29_20const($0) >>> 0) { + label$2: { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______fits_in_sso_28unsigned_20long_29($4)) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_short_size_28unsigned_20long_29($0, $4); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_28_29($0); + break label$2; + } + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______recommend_28unsigned_20long_29($4); + $6 = $3 + 1 | 0; + $3 = std____2__allocator_traits_std____2__allocator_char____allocate_28std____2__allocator_char___2c_20unsigned_20long_29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0), $6); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_pointer_28char__29($0, $3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_cap_28unsigned_20long_29($0, $6); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_size_28unsigned_20long_29($0, $4); + } + while (1) { + if (($1 | 0) != ($2 | 0)) { + std____2__char_traits_char___assign_28char__2c_20char_20const__29($3, $1); + $3 = $3 + 1 | 0; + $1 = $1 + 1 | 0; + continue; + } + break; + } + HEAP8[$5 + 15 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($3, $5 + 15 | 0); + __stack_pointer = $5 + 16 | 0; + return; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______throw_length_error_28_29_20const($0); + abort(); } -function __ZTv0_n12_NSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev(i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) | 0); - return; +function void_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______push_back_slow_path_std____2__pair_float_2c_20unsigned_20long___28std____2__pair_float_2c_20unsigned_20long____29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______alloc_28_29($0); + $2 = std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____29($3 + 8 | 0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______recommend_28unsigned_20long_29_20const($0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____size_28_29_20const($0) + 1 | 0), std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____size_28_29_20const($0), $4); + void_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____construct_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__pair_float_2c_20unsigned_20long__2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long____29($4, std____2__pair_float_2c_20unsigned_20long___20std____2____to_address_std____2__pair_float_2c_20unsigned_20long___28std____2__pair_float_2c_20unsigned_20long___29(HEAP32[$2 + 8 >> 2]), $1); + HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 8; + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______swap_out_circular_buffer_28std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, $2); + std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________split_buffer_28_29($2); + __stack_pointer = $3 + 32 | 0; +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____swap_28std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____29($0, $1) { + std____2__enable_if_is_move_constructible_vision__DoGScaleInvariantDetector__FeaturePoint____value_20___20is_move_assignable_vision__DoGScaleInvariantDetector__FeaturePoint____value_2c_20void___type_20std____2__swap_vision__DoGScaleInvariantDetector__FeaturePoint___28vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint___29($0, $1); + std____2__enable_if_is_move_constructible_vision__DoGScaleInvariantDetector__FeaturePoint____value_20___20is_move_assignable_vision__DoGScaleInvariantDetector__FeaturePoint____value_2c_20void___type_20std____2__swap_vision__DoGScaleInvariantDetector__FeaturePoint___28vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint___29($0 + 4 | 0, $1 + 4 | 0); + std____2__enable_if_is_move_constructible_vision__DoGScaleInvariantDetector__FeaturePoint____value_20___20is_move_assignable_vision__DoGScaleInvariantDetector__FeaturePoint____value_2c_20void___type_20std____2__swap_vision__DoGScaleInvariantDetector__FeaturePoint___28vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint___29(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______end_cap_28_29($0), std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______end_cap_28_29($1)); + void_20std____2____swap_allocator_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20std____2__integral_constant_bool_2c_20false__29(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29($0), std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29($1)); +} + +function void_20std____2____selection_sort_std____2__greater_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 24 >> 2] = $0; + HEAP32[$2 + 16 >> 2] = $1; + std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29($2 + 16 | 0); + while (1) { + if (bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($2 + 24 | 0, $2 + 16 | 0)) { + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20std____2__min_element_std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long___29(HEAP32[$2 + 24 >> 2], $1), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + if (bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($2 + 8 | 0, $2 + 24 | 0)) { + std____2__enable_if___is_swappable_float___value_20___20__is_swappable_unsigned_20long___value_2c_20void___type_20std____2__swap_float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___29(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($2 + 24 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($2 + 8 | 0)); + } + std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($2 + 24 | 0); + continue; + } + break; + } + __stack_pointer = $2 + 32 | 0; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______swap_out_circular_buffer_28std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const______29($0, $1) { + var $2 = 0; + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__Node_96__20const___2c_20vision__Node_96__20const__2c_20void__28std____2__allocator_vision__Node_96__20const____2c_20vision__Node_96__20const___2c_20vision__Node_96__20const___2c_20vision__Node_96__20const____29(std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_vision__Node_96__20const_____value_20___20is_move_assignable_vision__Node_96__20const_____value_2c_20void___type_20std____2__swap_vision__Node_96__20const____28vision__Node_96__20const____2c_20vision__Node_96__20const____29($0, $2); + std____2__enable_if_is_move_constructible_vision__Node_96__20const_____value_20___20is_move_assignable_vision__Node_96__20const_____value_2c_20void___type_20std____2__swap_vision__Node_96__20const____28vision__Node_96__20const____2c_20vision__Node_96__20const____29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_vision__Node_96__20const_____value_20___20is_move_assignable_vision__Node_96__20const_____value_2c_20void___type_20std____2__swap_vision__Node_96__20const____28vision__Node_96__20const____2c_20vision__Node_96__20const____29(std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______end_cap_28_29($0), std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____size_28_29_20const($0)); + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______invalidate_all_iterators_28_29($0); +} + +function getMultiEachMarkerInfo($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 48 | 0; + __stack_pointer = $3; + HEAP32[$3 + 44 >> 2] = $0; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $3 + 44 | 0), + HEAP32[wasm2js_i32$0 + 40 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($3 + 40 | 0, $3 + 32 | 0)) { + $1 = HEAP32[18567]; + break label$1; + } + $4 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $3 + 44 | 0) + 328 | 0; + $0 = std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____size_28_29_20const($4); + if (!($1 >>> 0 < $0 >>> 0 & ($1 | 0) >= 0)) { + $1 = HEAP32[18569]; + break label$1; + } + $1 = std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____operator_5b_5d_28unsigned_20long_29($4, $1); + label$4: { + if (($2 | 0) >= 0) { + $1 = HEAP32[$1 + 4 >> 2]; + if (HEAP32[$1 + 4 >> 2] > ($2 | 0)) { + break label$4; + } + } + $1 = HEAP32[18568]; + break label$1; + } + $1 = HEAP32[$1 >> 2] + Math_imul($2, 320) | 0; + matrixCopy($1 + 16 | 0, 78288); + $0 = HEAP32[$1 + 304 >> 2]; + $2 = HEAP32[$1 >> 2]; + $4 = HEAP32[$1 + 4 >> 2]; + HEAPF64[$3 + 16 >> 3] = HEAPF64[$1 + 8 >> 3]; + HEAP32[$3 + 8 >> 2] = $4; + HEAP32[$3 + 4 >> 2] = $2; + HEAP32[$3 >> 2] = $0; + emscripten_asm_const_int(76049, 40085, $3 | 0) | 0; + $1 = 0; + } + __stack_pointer = $3 + 48 | 0; + return $1 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__EnumLiteral__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 80 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 72 | 0, 37973); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 32 >> 2] = $4; + HEAP32[$2 + 36 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29_1($1, $2 + 32 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 - -64 | 0, 37866); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 24 >> 2] = $5; + HEAP32[$2 + 28 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29_1($1, $2 + 24 | 0); + $0 = $0 + 12 | 0; + label$1: { + if (HEAPU8[$28anonymous_20namespace_29__itanium_demangle__StringView__operator_5b_5d_28unsigned_20long_29_20const($0) | 0] == 110) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 56 | 0, 37684); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29_1($1, $2 + 16 | 0); + $28anonymous_20namespace_29__itanium_demangle__StringView__dropFront_28unsigned_20long_29_20const($2 + 48 | 0, $0, 1); + $0 = $2 + 48 | 0; + break label$1; + } + $3 = $0; + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 40 >> 2] = $5; + HEAP32[$2 + 44 >> 2] = $4; + $0 = $2 + 40 | 0; + } + $3 = $0; + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + $0 = $4; + $4 = $2; + HEAP32[$4 + 8 >> 2] = $0; + HEAP32[$4 + 12 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29_1($1, $2 + 8 | 0); + __stack_pointer = $2 + 80 | 0; +} + +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20bool_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = __stack_pointer - 48 | 0; + __stack_pointer = $5; + HEAP32[$5 + 40 >> 2] = $1; + label$1: { + if (!(std____2__ios_base__flags_28_29_20const($2) & 1)) { + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $1, $2, $3, $4) | 0; + break label$1; + } + std____2__ios_base__getloc_28_29_20const($5 + 24 | 0, $2); + $2 = std____2__numpunct_char__20const__20std____2__use_facet_std____2__numpunct_char___28std____2__locale_20const__29($5 + 24 | 0); + std____2__locale___locale_28_29($5 + 24 | 0); + label$3: { + if ($4) { + std____2__numpunct_char___truename_28_29_20const($5 + 24 | 0, $2); + break label$3; + } + std____2__numpunct_char___falsename_28_29_20const($5 + 24 | 0, $2); + } + wasm2js_i32$0 = $5, wasm2js_i32$1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____begin_28_29($5 + 24 | 0), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + while (1) { + wasm2js_i32$0 = $5, wasm2js_i32$1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____end_28_29($5 + 24 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + if (bool_20std____2__operator___char___28std____2____wrap_iter_char___20const__2c_20std____2____wrap_iter_char___20const__29($5 + 16 | 0, $5 + 8 | 0)) { + $2 = HEAP8[std____2____wrap_iter_char____operator__28_29_20const($5 + 16 | 0) | 0]; + std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28char_29(std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29($5 + 40 | 0), $2); + std____2____wrap_iter_char____operator___28_29($5 + 16 | 0); + std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($5 + 40 | 0); + continue; + } else { + $2 = HEAP32[$5 + 40 >> 2]; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($5 + 24 | 0); + } + break; + } + } + __stack_pointer = $5 + 48 | 0; + return $2 | 0; } -function __ZTv0_n12_NSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev(i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) | 0); - return; +function std____2____hash_table_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20AR2SurfaceSetT________deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______29($0, $1) { + var $2 = 0; + $0 = std____2____hash_table_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20AR2SurfaceSetT________node_alloc_28_29($0); + while (1) { + if ($1) { + $2 = HEAP32[$1 >> 2]; + $1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________upcast_28_29($1); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______destroy_std____2__pair_int_20const_2c_20AR2SurfaceSetT___2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_20std____2__pair_int_20const_2c_20AR2SurfaceSetT____29($0, std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20AR2SurfaceSetT_______get_ptr_28std____2____hash_value_type_int_2c_20AR2SurfaceSetT____29($1 + 8 | 0)); + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void____2c_20unsigned_20long_29($0, $1, 1); + $1 = $2; + continue; + } + break; + } } -function __ZTv0_n12_NSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev(i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) | 0); - return; -} - -function __ZTv0_n12_NSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev(i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) | 0); - return; -} - -function __ZTv0_n12_NSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev(i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) | 0); - return; -} - -function __ZTv0_n12_NSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev(i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) | 0); - return; -} - -function __ZTv0_n12_NSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev(i1 + (HEAP32[(HEAP32[i1 >> 2] | 0) + -12 >> 2] | 0) | 0); - return; -} - -function __ZNSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE16__on_zero_sharedEv(i1) { - i1 = i1 | 0; - i1 = i1 + 12 | 0; - __ZNK16NullArrayDeleterIhEclEPh(i1, HEAP32[i1 >> 2] | 0); - return; -} - -function __ZN6vision17bitstring_set_bitEPhih(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i1 = i1 + ((i2 | 0) / 8 | 0) | 0; - HEAP8[i1 >> 0] = (i3 & 255) << (i2 & 7) | (HEAPU8[i1 >> 0] | 0); - return; -} - -function __ZNSt3__213__vector_baseIN6vision7Point3dIfEENS_9allocatorIS3_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); +function alloc_sarray($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, $10 = 0, $11 = 0, $12 = 0; + $8 = 999999984 / ($2 >>> 0) | 0; + $4 = HEAP32[$0 + 4 >> 2]; + if ($2 >>> 0 >= 999999985) { + $5 = HEAP32[$0 >> 2]; + HEAP32[$5 + 20 >> 2] = 72; + FUNCTION_TABLE[HEAP32[$5 >> 2]]($0); + } + $10 = ($3 | 0) > ($8 | 0) ? $8 : $3; + HEAP32[$4 + 80 >> 2] = $10; + $11 = alloc_small($0, $1, $3 << 2); + if ($3) { + $12 = $1 >>> 0 < 2; + $8 = 0; + while (1) { + $5 = HEAP32[$0 + 4 >> 2]; + $4 = $3 - $8 | 0; + $10 = $4 >>> 0 > $10 >>> 0 ? $10 : $4; + $4 = Math_imul($10, $2); + if ($4 >>> 0 >= 999999985) { + $7 = HEAP32[$0 >> 2]; + HEAP32[$7 + 20 >> 2] = 56; + HEAP32[$7 + 24 >> 2] = 3; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $6 = $4 & 7; + $6 = ($6 ? 8 - $6 | 0 : 0) + $4 | 0; + if (!$12) { + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 24 >> 2] = $1; + HEAP32[$4 + 20 >> 2] = 15; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $9 = $6 + 16 | 0; + $4 = jpeg_get_large($0, $9); + if (!$4) { + $7 = HEAP32[$0 >> 2]; + HEAP32[$7 + 20 >> 2] = 56; + HEAP32[$7 + 24 >> 2] = 4; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + HEAP32[$5 + 76 >> 2] = HEAP32[$5 + 76 >> 2] + $9; + $7 = ($1 << 2) + $5 | 0; + $5 = $7 + 60 | 0; + $9 = HEAP32[$5 >> 2]; + HEAP32[$4 + 8 >> 2] = 0; + HEAP32[$4 + 4 >> 2] = $6; + HEAP32[$4 >> 2] = $9; + HEAP32[$7 + 60 >> 2] = $4; + label$7: { + if (!$10) { + break label$7; + } + $7 = $10 - 1 | 0; + $4 = $4 + 16 | 0; + $6 = 0; + $5 = $10; + $9 = $5 & 3; + if ($9) { + while (1) { + HEAP32[($8 << 2) + $11 >> 2] = $4; + $5 = $5 - 1 | 0; + $4 = $2 + $4 | 0; + $8 = $8 + 1 | 0; + $6 = $6 + 1 | 0; + if (($9 | 0) != ($6 | 0)) { + continue; + } + break; + } + } + if ($7 >>> 0 < 3) { + break label$7; + } + while (1) { + $6 = ($8 << 2) + $11 | 0; + HEAP32[$6 >> 2] = $4; + $4 = $2 + $4 | 0; + $9 = $4 + $2 | 0; + $7 = $9 + $2 | 0; + HEAP32[$6 + 12 >> 2] = $7; + HEAP32[$6 + 8 >> 2] = $9; + HEAP32[$6 + 4 >> 2] = $4; + $8 = $8 + 4 | 0; + $4 = $2 + $7 | 0; + $5 = $5 - 4 | 0; + if ($5) { + continue; + } + break; + } + } + if ($3 >>> 0 > $8 >>> 0) { + continue; + } + break; + } } - return; + return $11 | 0; } -function __ZNSt3__213__vector_baseIN6vision7Point2dIfEENS_9allocatorIS3_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); +function std____2__ucs4_to_utf8_28unsigned_20int_20const__2c_20unsigned_20int_20const__2c_20unsigned_20int_20const___2c_20unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char___2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($0, $1, $2, $3, $4, $5, $6, $7) { + HEAP32[$2 >> 2] = $0; + HEAP32[$5 >> 2] = $3; + label$1: { + if ($7 & 2) { + $0 = 1; + if (($4 - $3 | 0) < 3) { + break label$1; + } + HEAP32[$5 >> 2] = $3 + 1; + HEAP8[$3 | 0] = 239; + $3 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $3 + 1; + HEAP8[$3 | 0] = 187; + $3 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $3 + 1; + HEAP8[$3 | 0] = 191; + } + $3 = HEAP32[$2 >> 2]; + while (1) { + if ($1 >>> 0 <= $3 >>> 0) { + $0 = 0; + break label$1; + } + $0 = 2; + $3 = HEAP32[$3 >> 2]; + if ($6 >>> 0 < $3 >>> 0 | ($3 & -2048) == 55296) { + break label$1; + } + label$5: { + label$6: { + if ($3 >>> 0 <= 127) { + $0 = 1; + $7 = HEAP32[$5 >> 2]; + if (($4 - $7 | 0) <= 0) { + break label$1; + } + HEAP32[$5 >> 2] = $7 + 1; + HEAP8[$7 | 0] = $3; + break label$6; + } + if ($3 >>> 0 <= 2047) { + $0 = HEAP32[$5 >> 2]; + if (($4 - $0 | 0) < 2) { + break label$5; + } + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 >>> 6 | 192; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 & 63 | 128; + break label$6; + } + $0 = HEAP32[$5 >> 2]; + $7 = $4 - $0 | 0; + if ($3 >>> 0 <= 65535) { + if (($7 | 0) < 3) { + break label$5; + } + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 >>> 12 | 224; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 >>> 6 & 63 | 128; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 & 63 | 128; + break label$6; + } + if (($7 | 0) < 4) { + break label$5; + } + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 >>> 18 | 240; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 >>> 12 & 63 | 128; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 >>> 6 & 63 | 128; + $0 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = $0 + 1; + HEAP8[$0 | 0] = $3 & 63 | 128; + } + $3 = HEAP32[$2 >> 2] + 4 | 0; + HEAP32[$2 >> 2] = $3; + continue; + } + break; + } + return 1; } - return; + return $0; } -function _byteSwapInt(i2, i3) { - i2 = i2 | 0; - i3 = i3 | 0; - var i1 = 0; - i1 = 0; - while (1) { - if ((i1 | 0) == 4) break; - HEAP8[i3 + i1 >> 0] = HEAP8[i2 + (3 - i1) >> 0] | 0; - i1 = i1 + 1 | 0; +function std____2__enable_if___is_cpp17_forward_iterator_char____value_2c_20void___type_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_char___28char__2c_20char__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $4 = std____2__iterator_traits_char____difference_type_20std____2__distance_char___28char__2c_20char__29($1, $2); + if ($4 >>> 0 <= std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____max_size_28_29_20const($0) >>> 0) { + label$2: { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______fits_in_sso_28unsigned_20long_29($4)) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_short_size_28unsigned_20long_29($0, $4); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_28_29($0); + break label$2; + } + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______recommend_28unsigned_20long_29($4); + $6 = $3 + 1 | 0; + $3 = std____2__allocator_traits_std____2__allocator_char____allocate_28std____2__allocator_char___2c_20unsigned_20long_29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0), $6); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_pointer_28char__29($0, $3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_cap_28unsigned_20long_29($0, $6); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_size_28unsigned_20long_29($0, $4); + } + while (1) { + if (($1 | 0) != ($2 | 0)) { + std____2__char_traits_char___assign_28char__2c_20char_20const__29($3, $1); + $3 = $3 + 1 | 0; + $1 = $1 + 1 | 0; + continue; + } + break; + } + HEAP8[$5 + 15 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($3, $5 + 15 | 0); + __stack_pointer = $5 + 16 | 0; + return; } - return; -} - -function __ZNSt3__28numpunctIwED2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 16948; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i1 + 16 | 0); - __ZNSt3__26locale5facetD2Ev(i1); - return; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______throw_length_error_28_29_20const($0); + abort(); } -function __ZNSt3__28numpunctIcED2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 16908; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i1 + 12 | 0); - __ZNSt3__26locale5facetD2Ev(i1); - return; -} +function vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____addKeyframe_28std____2__shared_ptr_vision__Keyframe_96___2c_20int_29($0, $1, $2) { + var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + HEAP32[$3 + 28 >> 2] = $2; + $2 = $0 + 72 | 0; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______find_28int_20const__29($2, $3 + 28 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______end_28_29($2), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20const__29($3 + 24 | 0, $3 + 8 | 0)) { + __cxa_throw(vision__Exception__Exception_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29(__cxa_allocate_exception(16) | 0, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($3 + 8 | 0, 1827)) | 0, 26576, 17); + abort(); + } + std____2__shared_ptr_vision__Keyframe_96____operator__28std____2__shared_ptr_vision__Keyframe_96___20const__29(std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______operator_5b_5d_28int_20const__29($2, $3 + 28 | 0), $1); + std____2__shared_ptr_vision__Keyframe_96_____shared_ptr_28_29($1); + __stack_pointer = $3 + 32 | 0; +} + +function arPattGetIDGlobal($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) { + var $19 = 0, $20 = 0; + $20 = __stack_pointer - 12304 | 0; + __stack_pointer = $20; + $19 = 1; + label$1: { + if ($2 - 2 >>> 0 > 2) { + break label$1; + } + if (($16 | 0) == 2830) { + if ((arPattGetImage2($1, 2, 14, 42, $3, $4, $5, $6, $7, $8, .875, $20 + 16 | 0) | 0) < 0) { + HEAP32[$13 >> 2] = -1; + $19 = -6; + break label$1; + } + $19 = get_global_id_code($20 + 16 | 0, $20 + 8 | 0, $14, $15, $17); + if (($19 | 0) < 0) { + HEAP32[$13 >> 2] = -1; + break label$1; + } + $14 = HEAP32[$20 + 12 >> 2]; + $15 = $14; + $16 = HEAP32[$20 + 8 >> 2]; + if (($14 & $16) == -1) { + HEAP32[$13 >> 2] = -1; + $19 = -5; + break label$1; + } + $14 = 0; + HEAP32[$13 >> 2] = $14 | $16 & -32768 ? 0 : $16 & 32767; + if (!$18) { + break label$1; + } + HEAP32[$18 >> 2] = $16; + $14 = $15; + HEAP32[$18 + 4 >> 2] = $14; + break label$1; + } + $19 = $16 & 255; + if ((arPattGetImage2($1, 2, $19, Math_imul($19, 3), $3, $4, $5, $6, $7, $8, $9, $20 + 16 | 0) | 0) < 0) { + HEAP32[$13 >> 2] = -1; + $19 = -6; + break label$1; + } + $19 = get_matrix_code($20 + 16 | 0, $19, $13, $14, $15, $16, $17); + if (!$18) { + break label$1; + } + HEAP32[$18 >> 2] = 0; + HEAP32[$18 + 4 >> 2] = 0; + } + label$7: { + if (($2 | 0) == 2 | $2 >>> 0 > 4) { + break label$7; + } + label$8: { + if (!$0) { + HEAP32[$10 >> 2] = -1; + $2 = -1; + break label$8; + } + label$10: { + switch ($2 | 0) { + case 0: + case 3: + $2 = HEAP32[$0 + 28 >> 2]; + if ((arPattGetImage2($1, 0, $2, $2 << 2, $3, $4, $5, $6, $7, $8, $9, $20 + 16 | 0) | 0) < 0) { + HEAP32[$10 >> 2] = -1; + $2 = -6; + break label$8; + } + $2 = pattern_match($0, 0, $20 + 16 | 0, HEAP32[$0 + 28 >> 2], $10, $11, $12); + break label$8; -function __ZNKSt3__29__num_getIwE10__do_widenERNS_8ios_baseEPw(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return __ZNKSt3__29__num_getIwE12__do_widen_pIwEEPKT_RNS_8ios_baseEPS3_(i1, i2, i3) | 0; + default: + break label$10; + } + } + $2 = HEAP32[$0 + 28 >> 2]; + if ((arPattGetImage2($1, 1, $2, $2 << 2, $3, $4, $5, $6, $7, $8, $9, $20 + 16 | 0) | 0) < 0) { + HEAP32[$10 >> 2] = -1; + $2 = -6; + break label$8; + } + $2 = pattern_match($0, 1, $20 + 16 | 0, HEAP32[$0 + 28 >> 2], $10, $11, $12); + } + if (($19 | 0) == 1) { + $19 = $2; + break label$7; + } + if (($2 | 0) == 1) { + break label$7; + } + $19 = ($2 & $19) >> 31 & $2; + } + __stack_pointer = $20 + 12304 | 0; + return $19; } -function __ZNSt3__26locale5__imp7installINS_8numpunctIwEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(57956) | 0); - return; -} +function arParamIdeal2Observ($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + $9 = -1; + label$1: { + label$2: { + label$3: { + switch ($5 - 1 | 0) { + case 3: + $10 = HEAPF64[$0 + 48 >> 3]; + $6 = HEAPF64[$0 + 64 >> 3]; + $11 = HEAPF64[$0 + 32 >> 3]; + $1 = ($1 - $10) * $6 / $11; + $12 = HEAPF64[$0 + 56 >> 3]; + $13 = HEAPF64[$0 + 40 >> 3]; + $2 = ($2 - $12) * $6 / $13; + $6 = $1 * $1 + $2 * $2; + $14 = HEAPF64[$0 + 8 >> 3] * $6 * $6 + (HEAPF64[$0 >> 3] * $6 + 1); + $7 = HEAPF64[$0 + 24 >> 3]; + $8 = HEAPF64[$0 + 16 >> 3]; + HEAPF64[$3 >> 3] = ($7 * (($1 + $1) * $1 + $6) + ($1 * $14 + $2 * (($8 + $8) * $1))) * $11 + $10; + $2 = $12 + $13 * (($7 + $7) * $1 * $2 + ($2 * $14 + $8 * (($2 + $2) * $2 + $6))); + break label$2; -function __ZNSt3__26locale5__imp7installINS_8numpunctIcEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(57932) | 0); - return; -} + case 2: + $6 = HEAPF64[$0 + 16 >> 3]; + $2 = $6 * ($2 - HEAPF64[$0 + 8 >> 3]); + $7 = HEAPF64[$0 >> 3]; + $1 = ($1 - $7) * $6; + if (!($1 != 0 | $2 != 0)) { + HEAPF64[$3 >> 3] = $7; + $2 = HEAPF64[$0 + 8 >> 3]; + break label$2; + } + $6 = $1 * $1 + $2 * $2; + $6 = $6 * (HEAPF64[$0 + 40 >> 3] / 1e8 / -1e5) * $6 + (HEAPF64[$0 + 32 >> 3] / -1e8 * $6 + 1); + HEAPF64[$3 >> 3] = $1 * $6 * HEAPF64[$0 + 24 >> 3] + $7; + $2 = $2 * $6 + HEAPF64[$0 + 8 >> 3]; + break label$2; -function __ZNSt3__26locale5__imp7installINS_8messagesIwEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58212) | 0); - return; -} + case 1: + $6 = HEAPF64[$0 + 16 >> 3]; + $2 = $6 * ($2 - HEAPF64[$0 + 8 >> 3]); + $7 = HEAPF64[$0 >> 3]; + $1 = ($1 - $7) * $6; + if (!($1 != 0 | $2 != 0)) { + HEAPF64[$3 >> 3] = $7; + $2 = HEAPF64[$0 + 8 >> 3]; + break label$2; + } + $6 = $1 * $1 + $2 * $2; + $6 = $6 * (HEAPF64[$0 + 32 >> 3] / 1e8 / -1e5) * $6 + (HEAPF64[$0 + 24 >> 3] / -1e8 * $6 + 1); + HEAPF64[$3 >> 3] = $1 * $6 + $7; + $2 = $2 * $6 + HEAPF64[$0 + 8 >> 3]; + break label$2; -function __ZNSt3__26locale5__imp7installINS_8messagesIcEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(58204) | 0); - return; -} + case 0: + break label$3; -function __ZN10__cxxabiv112_GLOBAL__N_111short_allocINSt3__26vectorINS0_11string_pairENS1_IS4_Lm4096EEEEELm4096EEC2ERNS0_5arenaILm4096EEE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = i2; - return; + default: + break label$1; + } + } + $6 = HEAPF64[$0 + 16 >> 3]; + $2 = $6 * ($2 - HEAPF64[$0 + 8 >> 3]); + $7 = HEAPF64[$0 >> 3]; + $1 = ($1 - $7) * $6; + if (!($1 != 0 | $2 != 0)) { + HEAPF64[$3 >> 3] = $7; + $2 = HEAPF64[$0 + 8 >> 3]; + break label$2; + } + $6 = HEAPF64[$0 + 24 >> 3] / -1e8 * ($1 * $1 + $2 * $2) + 1; + HEAPF64[$3 >> 3] = $1 * $6 + $7; + $2 = $2 * $6 + HEAPF64[$0 + 8 >> 3]; + } + HEAPF64[$4 >> 3] = $2; + $9 = 0; + } + return $9; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________hash_table_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________unique_ptr_true_2c_20void__28_29($0); + std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________compressed_pair_true_2c_20void__28_29($0 + 8 | 0); + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0 + 12 | 0, $1 + 12 | 0, $1 + 8 | 0); + HEAP32[$1 + 4 >> 2] = 1065353216; + std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0 + 16 | 0, $1 + 4 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function bool_20vision__OrthogonalizeIdentity8x9_float__28float__2c_20float_20const__29($0, $1) { + var $2 = 0, $3 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $2 = __stack_pointer - 384 | 0; + __stack_pointer = $2; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__OrthogonalizeIdentity8x9_float__28float__2c_20float_20const__2c_20int_29($2, $1, 0), + HEAPF32[wasm2js_i32$0 + 336 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__OrthogonalizeIdentity8x9_float__28float__2c_20float_20const__2c_20int_29($2 + 36 | 0, $1, 1), + HEAPF32[wasm2js_i32$0 + 340 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__OrthogonalizeIdentity8x9_float__28float__2c_20float_20const__2c_20int_29($2 + 72 | 0, $1, 2), + HEAPF32[wasm2js_i32$0 + 344 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__OrthogonalizeIdentity8x9_float__28float__2c_20float_20const__2c_20int_29($2 + 108 | 0, $1, 3), + HEAPF32[wasm2js_i32$0 + 348 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__OrthogonalizeIdentity8x9_float__28float__2c_20float_20const__2c_20int_29($2 + 144 | 0, $1, 4), + HEAPF32[wasm2js_i32$0 + 352 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__OrthogonalizeIdentity8x9_float__28float__2c_20float_20const__2c_20int_29($2 + 180 | 0, $1, 5), + HEAPF32[wasm2js_i32$0 + 356 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__OrthogonalizeIdentity8x9_float__28float__2c_20float_20const__2c_20int_29($2 + 216 | 0, $1, 6), + HEAPF32[wasm2js_i32$0 + 360 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__OrthogonalizeIdentity8x9_float__28float__2c_20float_20const__2c_20int_29($2 + 252 | 0, $1, 7), + HEAPF32[wasm2js_i32$0 + 364 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__OrthogonalizeIdentity8x9_float__28float__2c_20float_20const__2c_20int_29($2 + 288 | 0, $1, 8), + HEAPF32[wasm2js_i32$0 + 368 >> 2] = wasm2js_f32$0; + $1 = int_20vision__MaxIndex9_float__28float_20const__29($2 + 336 | 0); + $3 = HEAPF32[($2 + 336 | 0) + ($1 << 2) >> 2]; + if ($3 != Math_fround(0)) { + void_20vision__CopyVector9_float__28float__2c_20float_20const__29($0, Math_imul($1, 36) + $2 | 0); + } + __stack_pointer = $2 + 384 | 0; + return $3 != Math_fround(0); +} + +function alloc_barray($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $11 = $2 << 7; + $6 = 999999984 / ($11 >>> 0) | 0; + $10 = HEAP32[$0 + 4 >> 2]; + if ($11 >>> 0 >= 999999985) { + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 72; + FUNCTION_TABLE[HEAP32[$4 >> 2]]($0); + } + $8 = ($3 | 0) > ($6 | 0) ? $6 : $3; + HEAP32[$10 + 80 >> 2] = $8; + $12 = alloc_small($0, $1, $3 << 2); + if ($3) { + $13 = $1 >>> 0 < 2; + $10 = $2 << 7; + $6 = 0; + while (1) { + $4 = HEAP32[$0 + 4 >> 2]; + $2 = $3 - $6 | 0; + $8 = $2 >>> 0 > $8 >>> 0 ? $8 : $2; + $5 = Math_imul($11, $8); + if ($5 >>> 0 >= 999999985) { + $9 = HEAP32[$0 >> 2]; + HEAP32[$9 + 20 >> 2] = 56; + HEAP32[$9 + 24 >> 2] = 3; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + if (!$13) { + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = 15; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $7 = $5 | 16; + $2 = jpeg_get_large($0, $7); + if (!$2) { + $9 = HEAP32[$0 >> 2]; + HEAP32[$9 + 20 >> 2] = 56; + HEAP32[$9 + 24 >> 2] = 4; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + HEAP32[$4 + 76 >> 2] = HEAP32[$4 + 76 >> 2] + $7; + $9 = ($1 << 2) + $4 | 0; + $4 = $9 + 60 | 0; + $7 = HEAP32[$4 >> 2]; + HEAP32[$2 + 8 >> 2] = 0; + HEAP32[$2 + 4 >> 2] = $5; + HEAP32[$2 >> 2] = $7; + HEAP32[$9 + 60 >> 2] = $2; + label$7: { + if (!$8) { + break label$7; + } + $2 = $2 + 16 | 0; + $5 = 0; + $4 = $8; + $7 = $4 & 3; + if ($7) { + while (1) { + HEAP32[($6 << 2) + $12 >> 2] = $2; + $4 = $4 - 1 | 0; + $6 = $6 + 1 | 0; + $2 = $2 + $10 | 0; + $5 = $5 + 1 | 0; + if (($7 | 0) != ($5 | 0)) { + continue; + } + break; + } + } + if ($8 - 1 >>> 0 < 3) { + break label$7; + } + while (1) { + $5 = ($6 << 2) + $12 | 0; + HEAP32[$5 >> 2] = $2; + $2 = $2 + $10 | 0; + $7 = $10 + $2 | 0; + HEAP32[$5 + 8 >> 2] = $7; + HEAP32[$5 + 4 >> 2] = $2; + $2 = $10 + $7 | 0; + HEAP32[$5 + 12 >> 2] = $2; + $2 = $2 + $10 | 0; + $6 = $6 + 4 | 0; + $4 = $4 - 4 | 0; + if ($4) { + continue; + } + break; + } + } + if ($3 >>> 0 > $6 >>> 0) { + continue; + } + break; + } + } + return $12 | 0; } -function dynCall_viiiii(i6, i1, i2, i3, i4, i5) { - i6 = i6 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - FUNCTION_TABLE_viiiii[i6 & 31](i1 | 0, i2 | 0, i3 | 0, i4 | 0, i5 | 0); +function int_20std____2____get_up_to_n_digits_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__2c_20int_29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + HEAP32[$5 + 8 >> 2] = $1; + $1 = 0; + $6 = 6; + label$1: { + label$2: { + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0, $5 + 8 | 0)) { + break label$2; + } + $6 = 4; + $7 = std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0); + if (!std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($3, 64, $7)) { + break label$2; + } + $1 = std____2__ctype_char___narrow_28char_2c_20char_29_20const($3, $7, 0); + while (1) { + label$4: { + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0); + $1 = $1 - 48 | 0; + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($0, $5 + 8 | 0) | ($4 | 0) < 2) { + break label$4; + } + $6 = std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0); + if (!std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($3, 64, $6)) { + break label$1; + } + $4 = $4 - 1 | 0; + $1 = std____2__ctype_char___narrow_28char_2c_20char_29_20const($3, $6, 0) + Math_imul($1, 10) | 0; + continue; + } + break; + } + $6 = 2; + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0, $5 + 8 | 0)) { + break label$1; + } + } + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] | $6; + } + __stack_pointer = $5 + 16 | 0; + return $1; } -function __ZNSt3__26locale5__imp7installINS_7collateIwEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(57908) | 0); - return; +function std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_______on_zero_shared_weak_28_29($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $2 = $0 + 12 | 0; + $3 = std____2__allocator_std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96______allocator_vision__Keyframe_96___28std____2__allocator_vision__Keyframe_96___20const__29($1 + 8 | 0, std____2____compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96_____second_28_29($2)); + std____2____compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96_____second_28_29($2); + std____2__allocator_std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96______deallocate_28std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_____2c_20unsigned_20long_29($3, std____2__pointer_traits_std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_______pointer_to_28std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_____29($0), 1); + __stack_pointer = $1 + 16 | 0; } -function __ZNSt3__26locale5__imp7installINS_7collateIcEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(57900) | 0); - return; +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______29($0, $1) { + var $2 = 0; + $0 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______node_alloc_28_29($0); + while (1) { + if ($1) { + $2 = HEAP32[$1 >> 2]; + $1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________upcast_28_29($1); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______destroy_std____2__pair_int_20const_2c_20arController__2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__pair_int_20const_2c_20arController___29($0, std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20arController______get_ptr_28std____2____hash_value_type_int_2c_20arController___29($1 + 8 | 0)); + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20unsigned_20long_29($0, $1, 1); + $1 = $2; + continue; + } + break; + } } -function __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______2c_20true_____good_rval_ref_type_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______29($0, $3 + 12 | 0, $2); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______hash_table_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________unique_ptr_true_2c_20void__28_29($0); + std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________compressed_pair_true_2c_20void__28_29($0 + 8 | 0); + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0 + 12 | 0, $1 + 12 | 0, $1 + 8 | 0); + HEAP32[$1 + 4 >> 2] = 1065353216; + std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0 + 16 | 0, $1 + 4 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________construct_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1) { + void_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________construct_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__ConditionalExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer + -64 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 56 | 0, 37973); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 24 >> 2] = $4; + HEAP32[$2 + 28 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 24 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 48 | 0, 37951); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $5; + HEAP32[$2 + 20 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37957); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 16 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 37866); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 - -64 | 0; +} + +function vision__HoughSimilarityVoting__getBinDistance_28float__2c_20float__2c_20float__2c_20float__2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29_20const($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) { + var wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + wasm2js_i32$0 = $1, wasm2js_f32$0 = abs_28float_29(Math_fround($5 - $9)), HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = abs_28float_29(Math_fround($6 - $10)), HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $4, wasm2js_f32$0 = abs_28float_29(Math_fround($8 - $12)), HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + $9 = abs_28float_29(Math_fround($7 - $11)); + $9 = float_20vision__min2_float__28float_2c_20float_29($9, Math_fround(Math_fround(HEAP32[$0 + 60 >> 2]) - $9)); + HEAPF32[$3 >> 2] = $9; + if (!($9 >= Math_fround(0))) { + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 24616), 23579), 9176), 333), 10040), 24711), 16); + abort(); + abort(); + } +} + +function std____2__init_weeks_28_29() { + var $0 = 0; + if (!HEAPU8[82984]) { + $0 = 82816; + while (1) { + $0 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0) + 12 | 0; + if (($0 | 0) != 82984) { + continue; + } + break; + } + __cxa_atexit(319, 0, 1024); + HEAP8[82984] = 1; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82816, 28077); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82828, 28084); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82840, 28050); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82852, 28058); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82864, 28041); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82876, 28091); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82888, 28068); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82900, 30954); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82912, 31148); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82924, 31767); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82936, 33105); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82948, 28626); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82960, 31498); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(82972, 29746); +} + +function jpeg_idct_3x3($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0; + $1 = HEAP32[$1 + 84 >> 2]; + $8 = Math_imul(Math_imul(HEAP16[$2 + 16 >> 1], HEAP32[$1 + 32 >> 2]), 10033); + $6 = Math_imul(HEAP16[$2 >> 1], HEAP32[$1 >> 2]) << 13 | 1024; + $7 = Math_imul(HEAP32[$1 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $9 = $6 + Math_imul($7, 5793) | 0; + $10 = ($8 + $9 << 2 & -8192) + 134348800 | 0; + $11 = Math_imul(Math_imul(HEAP16[$2 + 20 >> 1], HEAP32[$1 + 40 >> 2]), 10033); + $12 = Math_imul(HEAP16[$2 + 4 >> 1], HEAP32[$1 + 8 >> 2]) << 13 | 1024; + $13 = Math_imul(HEAP32[$1 + 72 >> 2], HEAP16[$2 + 36 >> 1]); + $14 = $12 + Math_imul($13, 5793) | 0; + $15 = $11 + $14 >> 11; + $16 = $10 + Math_imul($15, 5793) | 0; + $17 = Math_imul(HEAP32[$1 + 68 >> 2], HEAP16[$2 + 34 >> 1]); + $5 = HEAP32[$3 >> 2] + $4 | 0; + $0 = HEAP32[$0 + 336 >> 2] - 384 | 0; + $18 = Math_imul(Math_imul(HEAP16[$2 + 18 >> 1], HEAP32[$1 + 36 >> 2]), 10033); + $1 = Math_imul(HEAP16[$2 + 2 >> 1], HEAP32[$1 + 4 >> 2]) << 13 | 1024; + $19 = $1 + Math_imul($17, 5793) | 0; + $2 = Math_imul($18 + $19 >> 11, 10033); + HEAP8[$5 | 0] = HEAPU8[$0 + ($16 + $2 >>> 18 & 1023) | 0]; + HEAP8[$5 + 2 | 0] = HEAPU8[($16 - $2 >>> 18 & 1023) + $0 | 0]; + HEAP8[$5 + 1 | 0] = HEAPU8[(Math_imul($15, 268423870) + $10 >>> 18 & 1023) + $0 | 0]; + $2 = HEAP32[$3 + 4 >> 2] + $4 | 0; + $1 = Math_imul(Math_imul($17, -11586) + $1 >> 11, 10033); + $5 = (Math_imul($7, 1073730238) + $6 << 2 & -8192) + 134348800 | 0; + $7 = Math_imul($13, -11586) + $12 >> 11; + $6 = $5 + Math_imul($7, 5793) | 0; + HEAP8[$2 | 0] = HEAPU8[($1 + $6 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 2 | 0] = HEAPU8[($6 - $1 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 1 | 0] = HEAPU8[(Math_imul($7, 268423870) + $5 >>> 18 & 1023) + $0 | 0]; + $2 = HEAP32[$3 + 8 >> 2] + $4 | 0; + $1 = ($9 - $8 << 2 & -8192) + 134348800 | 0; + $3 = $14 - $11 >> 11; + $4 = $1 + Math_imul($3, 5793) | 0; + $5 = Math_imul($19 - $18 >> 11, 10033); + HEAP8[$2 | 0] = HEAPU8[($4 + $5 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 2 | 0] = HEAPU8[($4 - $5 >>> 18 & 1023) + $0 | 0]; + HEAP8[$2 + 1 | 0] = HEAPU8[(Math_imul($3, 268423870) + $1 >>> 18 & 1023) + $0 | 0]; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______swap_out_circular_buffer_28std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______29($0, $1) { + var $2 = 0; + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__Point3d_float___2c_20vision__Point3d_float__2c_20void__28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___2c_20vision__Point3d_float___2c_20vision__Point3d_float____29(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_vision__Point3d_float_____value_20___20is_move_assignable_vision__Point3d_float_____value_2c_20void___type_20std____2__swap_vision__Point3d_float____28vision__Point3d_float____2c_20vision__Point3d_float____29($0, $2); + std____2__enable_if_is_move_constructible_vision__Point3d_float_____value_20___20is_move_assignable_vision__Point3d_float_____value_2c_20void___type_20std____2__swap_vision__Point3d_float____28vision__Point3d_float____2c_20vision__Point3d_float____29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_vision__Point3d_float_____value_20___20is_move_assignable_vision__Point3d_float_____value_2c_20void___type_20std____2__swap_vision__Point3d_float____28vision__Point3d_float____2c_20vision__Point3d_float____29(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______end_cap_28_29($0), std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____size_28_29_20const($0)); + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______invalidate_all_iterators_28_29($0); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int__________hash_table_28_29($0) { + std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______29($0, HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______first_28_29($0 + 8 | 0) >> 2]); + return std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___________unique_ptr_28_29($0); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______init_28wchar_t_20const__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____max_size_28_29_20const($0) >>> 0 >= $2 >>> 0) { + label$2: { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______fits_in_sso_28unsigned_20long_29($2)) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_short_size_28unsigned_20long_29($0, $2); + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_pointer_28_29($0); + break label$2; + } + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______recommend_28unsigned_20long_29($2); + $5 = $3 + 1 | 0; + $3 = std____2__allocator_traits_std____2__allocator_wchar_t____allocate_28std____2__allocator_wchar_t___2c_20unsigned_20long_29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0), $5); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_pointer_28wchar_t__29($0, $3); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_cap_28unsigned_20long_29($0, $5); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_size_28unsigned_20long_29($0, $2); + } + std____2__char_traits_wchar_t___copy_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29(wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($3), $1, $2); + HEAP32[$4 + 12 >> 2] = 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29(($2 << 2) + $3 | 0, $4 + 12 | 0); + __stack_pointer = $4 + 16 | 0; + return; } - return; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______throw_length_error_28_29_20const($0); + abort(); } -function _arSetLabelingThreshModeAutoInterval(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if (!i1) i1 = -1; else { - HEAP32[i1 + 7062392 >> 2] = i2; - HEAP32[i1 + 7062396 >> 2] = 0; - i1 = 0; +function std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________second_28_29($0), $2); + } +} + +function bool_20vision__OrthogonalizePivot8x9Basis3_float__28float__2c_20float__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = $0 + 108 | 0; + $4 = $0 + 72 | 0; + $5 = $1 + 108 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($3, $4, $5); + $6 = $0 + 144 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($6, $4, $1 + 144 | 0); + $7 = $0 + 180 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($7, $4, $1 + 180 | 0); + $8 = $0 + 216 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($8, $4, $1 + 216 | 0); + $0 = $0 + 252 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($0, $4, $1 + 252 | 0); + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($3), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($6), + HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($7), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($8), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($0), + HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; + $0 = int_20vision__MaxIndex5_float__28float_20const__29($2); + $1 = ($0 << 2) + $2 | 0; + $9 = HEAPF32[$1 >> 2]; + if ($9 != Math_fround(0)) { + $0 = Math_imul($0, 36); + void_20vision__Swap9_float__28float__2c_20float__29($3, $3 + $0 | 0); + void_20vision__Swap9_float__28float__2c_20float__29($5, $0 + $5 | 0); + void_20vision__ScaleVector9_float__28float__2c_20float_20const__2c_20float_29($3, $3, Math_fround(Math_fround(1) / sqrt_28float_29(HEAPF32[$1 >> 2]))); + } + __stack_pointer = $2 + 32 | 0; + return $9 != Math_fround(0); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______init_28unsigned_20long_2c_20wchar_t_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____max_size_28_29_20const($0) >>> 0 >= $1 >>> 0) { + label$2: { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______fits_in_sso_28unsigned_20long_29($1)) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_short_size_28unsigned_20long_29($0, $1); + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_pointer_28_29($0); + break label$2; + } + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______recommend_28unsigned_20long_29($1); + $5 = $3 + 1 | 0; + $3 = std____2__allocator_traits_std____2__allocator_wchar_t____allocate_28std____2__allocator_wchar_t___2c_20unsigned_20long_29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0), $5); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_pointer_28wchar_t__29($0, $3); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_cap_28unsigned_20long_29($0, $5); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_size_28unsigned_20long_29($0, $1); + } + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20unsigned_20long_2c_20wchar_t_29(wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($3), $1, $2); + HEAP32[$4 + 12 >> 2] = 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29(($1 << 2) + $3 | 0, $4 + 12 | 0); + __stack_pointer = $4 + 16 | 0; + return; } - return i1 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______throw_length_error_28_29_20const($0); + abort(); } -function __ZN6vision14AreaOfTriangleIfEET_PKS1_S3_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return +(+Math_abs(+(+HEAPF32[i1 >> 2] * +HEAPF32[i2 + 4 >> 2] - +HEAPF32[i1 + 4 >> 2] * +HEAPF32[i2 >> 2])) * .5); +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSimpleId_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSourceName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29($0); + HEAP32[$2 + 12 >> 2] = $1; + label$1: { + if (!$1) { + $1 = 0; + break label$1; + } + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) | 0) != 73) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateArgs_28bool_29($0, 0); + HEAP32[$2 + 8 >> 2] = $1; + if ($1) { + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2 + 12 | 0, $2 + 8 | 0); + } + $1 = $3; + } + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function setMarkerInfoVertex($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, $10 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 8 | 0, $2)) { + $0 = HEAP32[18567]; + break label$1; + } + $0 = HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 12 | 0) + 216 >> 2]; + if (HEAP32[$0 + 44 >> 2] <= ($1 | 0)) { + $0 = HEAP32[18568]; + break label$1; + } + $0 = ($1 | 0) < 0 ? 78024 : (($1 << 8) + $0 | 0) + 48 | 0; + $3 = HEAPF64[9786]; + HEAPF64[$0 + 168 >> 3] = $3; + $4 = HEAPF64[9787]; + HEAPF64[$0 + 176 >> 3] = $4; + $5 = HEAPF64[9788]; + HEAPF64[$0 + 184 >> 3] = $5; + $6 = HEAPF64[9789]; + HEAPF64[$0 + 192 >> 3] = $6; + $7 = HEAPF64[9790]; + HEAPF64[$0 + 200 >> 3] = $7; + $8 = HEAPF64[9791]; + HEAPF64[$0 + 208 >> 3] = $8; + $9 = HEAPF64[9792]; + HEAPF64[$0 + 216 >> 3] = $9; + $10 = HEAPF64[9793]; + HEAPF64[$0 + 56 >> 3] = ($9 + ($7 + ($3 + $5))) * .25; + HEAPF64[$0 + 224 >> 3] = $10; + HEAPF64[$0 - -64 >> 3] = ($10 + ($8 + ($4 + $6))) * .25; + $0 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $0 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ClosureTypeName__printDeclarator_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $2 = __stack_pointer + -64 | 0; + __stack_pointer = $2; + $6 = $0 + 8 | 0; + if (!$28anonymous_20namespace_29__itanium_demangle__NodeArray__empty_28_29_20const($6)) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 56 | 0, 37315); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 24 >> 2] = $5; + HEAP32[$2 + 28 >> 2] = $4; + $7 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 24 | 0); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($6, $7); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 48 | 0, 37108); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($7, $2 + 16 | 0); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37973); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + $4 = $0 + 16 | 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($4, $0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 37866); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 - -64 | 0; +} + +function void_20std____2____double_or_nothing_unsigned_20int__28std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___2c_20unsigned_20int___2c_20unsigned_20int___29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $5 = HEAP32[std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_deleter_28_29($0) >> 2]; + $3 = HEAP32[$2 >> 2] - std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($0) | 0; + label$1: { + if ($3 >>> 0 < std____2__numeric_limits_unsigned_20long___max_28_29() >>> 1 >>> 0) { + $3 = $3 << 1; + break label$1; + } + $3 = std____2__numeric_limits_unsigned_20long___max_28_29(); + } + $3 = $3 ? $3 : 4; + $7 = HEAP32[$1 >> 2]; + $8 = std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($0); + if (($5 | 0) == 316) { + $6 = 0; + } else { + $6 = std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($0); + } + $6 = dlrealloc($6, $3); + if ($6) { + if (($5 | 0) != 316) { + std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___release_28_29($0); + } + HEAP32[$4 + 4 >> 2] = 315; + $5 = std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28unsigned_20int__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($4 + 8 | 0, $6, $4 + 4 | 0); + std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___operator__28std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29____29($0, $5); + std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29____unique_ptr_28_29($5); + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($0) + ($7 - $8 | 0) | 0, + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($0) + ($3 & -4) | 0, + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return; + } + std____throw_bad_alloc_28_29(); + abort(); } -function __ZNSt3__26locale5__imp7installINS_5ctypeIwEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(57948) | 0); - return; +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______move_assign_28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20std____2__integral_constant_bool_2c_20true__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______is_long_28_29_20const($0)) { + std____2__allocator_traits_std____2__allocator_wchar_t____deallocate_28std____2__allocator_wchar_t___2c_20wchar_t__2c_20unsigned_20long_29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_pointer_28_29($0), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_cap_28_29_20const($0)); + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______move_assign_alloc_28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____29($0, $1); + $3 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29($1); + $0 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29($0); + HEAP32[$0 + 8 >> 2] = HEAP32[$3 + 8 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$0 + 4 >> 2] = $4; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_short_size_28unsigned_20long_29($1, 0); + $0 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_pointer_28_29($1); + HEAP32[$2 + 12 >> 2] = 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29($0, $2 + 12 | 0); + __stack_pointer = $2 + 16 | 0; +} + +function jpeg_idct_5x5($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + $15 = HEAP32[$0 + 336 >> 2]; + $0 = HEAP32[$1 + 84 >> 2]; + $8 = __stack_pointer; + $14 = $8 - 112 | 0; + $1 = $14; + $8 = 0; + while (1) { + $6 = HEAP32[$0 + 96 >> 2]; + $5 = HEAP16[$2 + 48 >> 1]; + $11 = HEAP32[$0 + 32 >> 2]; + $12 = HEAP16[$2 + 16 >> 1]; + $13 = Math_imul(HEAP16[$2 >> 1], HEAP32[$0 >> 2]) << 13 | 1024; + $7 = Math_imul(HEAP32[$0 + 64 >> 2], HEAP16[$2 + 32 >> 1]); + $9 = Math_imul(HEAP32[$0 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $10 = $7 - $9 | 0; + HEAP32[$1 + 40 >> 2] = $13 + Math_imul($10, -11584) >> 11; + $6 = Math_imul($5, $6); + $7 = Math_imul($7 + $9 | 0, 6476); + $10 = Math_imul($10, 2896) + $13 | 0; + $9 = $7 + $10 | 0; + $5 = Math_imul($11, $12); + $11 = Math_imul($6 + $5 | 0, 6810); + $5 = $11 + Math_imul($5, 4209) | 0; + HEAP32[$1 + 80 >> 2] = $9 - $5 >> 11; + HEAP32[$1 >> 2] = $5 + $9 >> 11; + $5 = $10 - $7 | 0; + $6 = Math_imul($6, -17828) + $11 | 0; + HEAP32[$1 + 60 >> 2] = $5 - $6 >> 11; + HEAP32[$1 + 20 >> 2] = $5 + $6 >> 11; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $2 = $2 + 2 | 0; + $8 = $8 + 1 | 0; + if (($8 | 0) != 5) { + continue; + } + break; + } + $0 = $15 - 384 | 0; + $2 = $14; + $8 = 0; + while (1) { + $10 = (HEAP32[$2 >> 2] << 13) + 134348800 | 0; + $12 = HEAP32[$2 + 8 >> 2]; + $7 = HEAP32[$2 + 16 >> 2]; + $9 = $12 - $7 | 0; + $13 = $10 + Math_imul($9, 2896) | 0; + $1 = HEAP32[($8 << 2) + $3 >> 2] + $4 | 0; + $5 = HEAP32[$2 + 4 >> 2]; + $6 = HEAP32[$2 + 12 >> 2]; + $11 = Math_imul($5 + $6 | 0, 6810); + $5 = $11 + Math_imul($5, 4209) | 0; + $12 = Math_imul($7 + $12 | 0, 6476); + $7 = $13 + $12 | 0; + HEAP8[$1 | 0] = HEAPU8[($5 + $7 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 4 | 0] = HEAPU8[($7 - $5 >>> 18 & 1023) + $0 | 0]; + $5 = $13 - $12 | 0; + $6 = Math_imul($6, -17828) + $11 | 0; + HEAP8[$1 + 1 | 0] = HEAPU8[($5 + $6 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 3 | 0] = HEAPU8[($5 - $6 >>> 18 & 1023) + $0 | 0]; + HEAP8[$1 + 2 | 0] = HEAPU8[(Math_imul($9, 268423872) + $10 >>> 18 & 1023) + $0 | 0]; + $2 = $2 + 20 | 0; + $8 = $8 + 1 | 0; + if (($8 | 0) != 5) { + continue; + } + break; + } } - -function __ZNSt3__26locale5__imp7installINS_5ctypeIcEEEEvPT_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26locale5__imp7installEPNS0_5facetEl(i1, i2, __ZNSt3__26locale2id5__getEv(57916) | 0); - return; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________reset_28std__nullptr_t_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($1) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________second_28_29($0), $1); + } +} + +function ar2GenImageLayer2($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + $5 = HEAPF32[$0 + 12 >> 2]; + $3 = HEAP32[$0 + 8 >> 2]; + $6 = dlmalloc(16); + $3 = lroundf(Math_fround(Math_fround(Math_fround($3 | 0) * $1) / $5)); + $4 = lroundf(Math_fround(Math_fround(Math_fround($2 | 0) * $1) / $5)); + if ($6) { + label$2: { + HEAPF32[$6 + 12 >> 2] = $1; + HEAP32[$6 + 8 >> 2] = $3; + HEAP32[$6 + 4 >> 2] = $4; + $7 = dlmalloc(Math_imul($3, $4)); + HEAP32[$6 >> 2] = $7; + if (!$7) { + break label$2; + } + $2 = 0; + $15 = ($3 | 0) > 0 ? $3 : 0; + $16 = ($4 | 0) > 0 ? $4 : 0; + label$3: while (1) { + if (($2 | 0) != ($15 | 0)) { + $3 = HEAP32[$0 + 8 >> 2]; + $5 = HEAPF32[$0 + 12 >> 2]; + $12 = $2 + 1 | 0; + $4 = lroundf(Math_fround(Math_fround($5 * Math_fround($12 | 0)) / $1)); + $10 = lroundf(Math_fround(Math_fround($5 * Math_fround($2 | 0)) / $1)); + $2 = ($3 | 0) > ($4 | 0) ? $4 : $3; + $17 = ($2 | 0) < ($10 | 0) ? $10 : $2; + $2 = 0; + while (1) if (($2 | 0) == ($16 | 0)) { + $2 = $12; + continue label$3; + } else { + $11 = HEAP32[$0 + 4 >> 2]; + $5 = HEAPF32[$0 + 12 >> 2]; + $13 = $2 + 1 | 0; + $3 = lroundf(Math_fround(Math_fround($5 * Math_fround($13 | 0)) / $1)); + $8 = lroundf(Math_fround(Math_fround($5 * Math_fround($2 | 0)) / $1)); + $2 = ($3 | 0) < ($11 | 0) ? $3 : $11; + $18 = (($2 | 0) < ($8 | 0) ? $8 : $2) - $8 | 0; + $2 = 0; + $9 = $10; + $4 = 0; + while (1) { + if (($9 | 0) != ($17 | 0)) { + $14 = $2 + $18 | 0; + $3 = HEAP32[$0 >> 2] + (Math_imul($9, $11) + $8 | 0) | 0; + while (1) { + if (($2 | 0) != ($14 | 0)) { + $2 = $2 + 1 | 0; + $4 = HEAPU8[$3 | 0] + $4 | 0; + $3 = $3 + 1 | 0; + continue; + } + break; + } + $9 = $9 + 1 | 0; + $2 = $14; + continue; + } + break; + } + HEAP8[$7 | 0] = ($4 | 0) / ($2 | 0); + $7 = $7 + 1 | 0; + $2 = $13; + continue; + } + } + break; + } + return $6; + } + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); } -function __ZNKSt3__26locale9use_facetERNS0_2idE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - i1 = HEAP32[i1 >> 2] | 0; - return __ZNKSt3__26locale5__imp9use_facetEl(i1, __ZNSt3__26locale2id5__getEv(i2) | 0) | 0; -} +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFloatingLiteral_long_20double__28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = 0; + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($0) >>> 0 < 33) { + break label$1; + } + $1 = HEAP32[$0 >> 2]; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($2 + 8 | 0, $1, $1 + 32 | 0); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($3); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__end_28_29_20const($3); + label$2: { + while (1) { + if (($1 | 0) == ($4 | 0)) { + break label$2; + } + $5 = HEAP8[$1 | 0]; + $1 = $1 + 1 | 0; + if (isxdigit($5)) { + continue; + } + break; + } + $1 = 0; + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 32; + $1 = 0; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_long_20double__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $3); + } + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2____num_get_wchar_t_____stage2_int_loop_28wchar_t_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20wchar_t_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20wchar_t_20const__29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { + var $10 = 0, $11 = 0; + $10 = __stack_pointer - 16 | 0; + __stack_pointer = $10; + HEAP32[$10 + 12 >> 2] = $0; + label$1: { + label$2: { + label$3: { + if (HEAP32[$3 >> 2] != ($2 | 0)) { + break label$3; + } + $11 = 43; + if (HEAP32[$9 + 96 >> 2] != ($0 | 0)) { + $11 = 45; + if (HEAP32[$9 + 100 >> 2] != ($0 | 0)) { + break label$3; + } + } + HEAP32[$3 >> 2] = $2 + 1; + HEAP8[$2 | 0] = $11; + break label$2; + } + if (!(!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6) | ($0 | 0) != ($5 | 0))) { + $0 = 0; + $9 = HEAP32[$8 >> 2]; + if (($9 - $7 | 0) > 159) { + break label$1; + } + $0 = HEAP32[$4 >> 2]; + HEAP32[$8 >> 2] = $9 + 4; + HEAP32[$9 >> 2] = $0; + break label$2; + } + $0 = -1; + $9 = wchar_t_20const__20std____2__find_wchar_t_20const__2c_20wchar_t__28wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__29($9, $9 + 104 | 0, $10 + 12 | 0) - $9 | 0; + if (($9 | 0) > 92) { + break label$1; + } + $6 = $9 >> 2; + label$6: { + label$7: { + switch ($1 - 8 | 0) { + case 0: + case 2: + if (($1 | 0) > ($6 | 0)) { + break label$6; + } + break label$1; -function __ZN6vision10DoGPyramid3getEmm(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i3 = (Math_imul(HEAP32[i1 + 16 >> 2] | 0, i2) | 0) + i3 | 0; - return (HEAP32[i1 >> 2] | 0) + (i3 << 5) | 0; -} + case 1: + break label$6; -function __ZNSt3__213__vector_baseI12multi_markerNS_9allocatorIS1_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); + default: + break label$7; + } + } + if (($1 | 0) != 16 | ($9 | 0) < 88) { + break label$6; + } + $9 = HEAP32[$3 >> 2]; + if (($9 | 0) == ($2 | 0) | ($9 - $2 | 0) > 2 | HEAPU8[$9 - 1 | 0] != 48) { + break label$1; + } + $0 = 0; + HEAP32[$4 >> 2] = 0; + HEAP32[$3 >> 2] = $9 + 1; + HEAP8[$9 | 0] = HEAPU8[$6 + 57760 | 0]; + break label$1; + } + $0 = HEAP32[$3 >> 2]; + HEAP32[$3 >> 2] = $0 + 1; + HEAP8[$0 | 0] = HEAPU8[$6 + 57760 | 0]; + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] + 1; + $0 = 0; + break label$1; + } + $0 = 0; + HEAP32[$4 >> 2] = 0; } - return; -} - -function __ZN6vision9MaxIndex3IfEEiPKT_(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = +HEAPF32[i1 + 4 >> 2] > +HEAPF32[i1 >> 2] & 1; - return (+HEAPF32[i1 + 8 >> 2] > +HEAPF32[i1 + (i2 << 2) >> 2] ? 2 : i2) | 0; + __stack_pointer = $10 + 16 | 0; + return $0; } -function __ZNSt3__213__vector_baseINS_4pairIfmEENS_9allocatorIS2_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnresolvedType_28_29($0) { + var $1 = 0, $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + if (($1 | 0) != 68) { + if (($1 & 255) != 84) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParam_28_29($0); + HEAP32[$2 + 12 >> 2] = $1; + if (!$1) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($0 + 148 | 0, $2 + 12 | 0); + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseDecltype_28_29($0); + HEAP32[$2 + 8 >> 2] = $1; + if (!$1) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($0 + 148 | 0, $2 + 8 | 0); + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSubstitution_28_29($0); } - return; -} - -function __ZNSt3__213__vector_baseINS_4pairIfiEENS_9allocatorIS2_EEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); - } - return; -} - -function _arPattDetach(i1) { - i1 = i1 | 0; - var i2 = 0; - if ((i1 | 0) != 0 ? (i2 = i1 + 7062384 | 0, (HEAP32[i2 >> 2] | 0) != 0) : 0) { - HEAP32[i2 >> 2] = 0; - i1 = 0; - } else i1 = -1; - return i1 | 0; -} - -function __ZNSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__210__time_putD2Ev(i1 + 8 | 0); - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; -} - -function __ZNSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__210__time_putD2Ev(i1 + 8 | 0); - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; -} - -function _arGetLabelingThreshMode(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if ((i1 | 0) != 0 & (i2 | 0) != 0) { - HEAP32[i2 >> 2] = HEAP32[i1 + 7062388 >> 2]; - i1 = 0; - } else i1 = -1; - return i1 | 0; -} - -function __ZNKSt3__29__num_getIcE10__do_widenERNS_8ios_baseEPc(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return __ZNKSt3__29__num_getIcE12__do_widen_pERNS_8ios_baseEPc(i1, i2, i3) | 0; -} - -function __ZNKSt3__210moneypunctIwLb1EE13do_pos_formatEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP8[i1 >> 0] = 2; - HEAP8[i1 + 1 >> 0] = 3; - HEAP8[i1 + 2 >> 0] = 0; - HEAP8[i1 + 3 >> 0] = 4; - return; -} - -function __ZNKSt3__210moneypunctIwLb1EE13do_neg_formatEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP8[i1 >> 0] = 2; - HEAP8[i1 + 1 >> 0] = 3; - HEAP8[i1 + 2 >> 0] = 0; - HEAP8[i1 + 3 >> 0] = 4; - return; -} - -function __ZNKSt3__210moneypunctIwLb0EE13do_pos_formatEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP8[i1 >> 0] = 2; - HEAP8[i1 + 1 >> 0] = 3; - HEAP8[i1 + 2 >> 0] = 0; - HEAP8[i1 + 3 >> 0] = 4; - return; -} - -function __ZNKSt3__210moneypunctIwLb0EE13do_neg_formatEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP8[i1 >> 0] = 2; - HEAP8[i1 + 1 >> 0] = 3; - HEAP8[i1 + 2 >> 0] = 0; - HEAP8[i1 + 3 >> 0] = 4; - return; -} - -function __ZNKSt3__210moneypunctIcLb1EE13do_pos_formatEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP8[i1 >> 0] = 2; - HEAP8[i1 + 1 >> 0] = 3; - HEAP8[i1 + 2 >> 0] = 0; - HEAP8[i1 + 3 >> 0] = 4; - return; -} - -function __ZNKSt3__210moneypunctIcLb1EE13do_neg_formatEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP8[i1 >> 0] = 2; - HEAP8[i1 + 1 >> 0] = 3; - HEAP8[i1 + 2 >> 0] = 0; - HEAP8[i1 + 3 >> 0] = 4; - return; -} - -function __ZNKSt3__210moneypunctIcLb0EE13do_pos_formatEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP8[i1 >> 0] = 2; - HEAP8[i1 + 1 >> 0] = 3; - HEAP8[i1 + 2 >> 0] = 0; - HEAP8[i1 + 3 >> 0] = 4; - return; -} - -function __ZNKSt3__210moneypunctIcLb0EE13do_neg_formatEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP8[i1 >> 0] = 2; - HEAP8[i1 + 1 >> 0] = 3; - HEAP8[i1 + 2 >> 0] = 0; - HEAP8[i1 + 3 >> 0] = 4; - return; -} - -function __ZN6vision20BinaryFeatureMatcherILi96EEC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAPF32[i1 + 12 >> 2] = .699999988079071; - return; -} - -function _start_pass_upsample(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 + 452 >> 2] | 0; - HEAP32[i2 + 92 >> 2] = HEAP32[i1 + 312 >> 2]; - HEAP32[i2 + 96 >> 2] = HEAP32[i1 + 116 >> 2]; - return; -} - -function _i64Subtract(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i4 = i2 - i4 - (i3 >>> 0 > i1 >>> 0 | 0) >>> 0; - return (setTempRet0(i4 | 0), i1 - i3 >>> 0 | 0) | 0; -} - -function __ZNSt3__24pairIKiNS_6vectorIN6vision7Point3dIfEENS_9allocatorIS5_EEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseIN6vision7Point3dIfEENS_9allocatorIS3_EEED2Ev(i1 + 4 | 0); - return; -} - -function __ZNSt3__217__call_once_proxyINS_5tupleIJONS_12_GLOBAL__N_111__fake_bindEEEEEEvPv(i1) { - i1 = i1 | 0; - __ZNKSt3__212_GLOBAL__N_111__fake_bindclEv(HEAP32[HEAP32[i1 >> 2] >> 2] | 0); - return; -} - -function __ZNKSt3__27codecvtIDsc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - HEAP32[i5 >> 2] = i3; - return 3; -} - -function __ZNKSt3__27codecvtIDic11__mbstate_tE10do_unshiftERS1_PcS4_RS4_(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - HEAP32[i5 >> 2] = i3; - return 3; + __stack_pointer = $2 + 16 | 0; + return $1; } -function __ZNKSt3__26vectorINS0_INS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEEENS4_IS8_Lm4096EEEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 268435455; +function std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______29($0, $1) { + var $2 = 0; + $0 = std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______node_alloc_28_29($0); + while (1) { + if ($1) { + $2 = HEAP32[$1 >> 2]; + $1 = std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________upcast_28_29($1); + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______destroy_std____2__pair_int_20const_2c_20ARParam__2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__pair_int_20const_2c_20ARParam___29($0, std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20ARParam______get_ptr_28std____2____hash_value_type_int_2c_20ARParam___29($1 + 8 | 0)); + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20unsigned_20long_29($0, $1, 1); + $1 = $2; + continue; + } + break; + } } -function __ZN6vision28BinaryHierarchicalClusteringILi96EE16setNumHypothesesEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZN6vision14BinarykMedoidsILi96EE16setNumHypothesesEi(i1 + 12 | 0, i2); - return; +function jinit_upsampler($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 160) | 0; + HEAP32[$0 + 476 >> 2] = $6; + HEAP32[$6 + 8 >> 2] = 0; + HEAP32[$6 + 4 >> 2] = 194; + HEAP32[$6 >> 2] = 195; + if (HEAP32[$0 + 308 >> 2]) { + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 26; + FUNCTION_TABLE[HEAP32[$2 >> 2]]($0); + } + if (HEAP32[$0 + 36 >> 2] > 0) { + $2 = HEAP32[$0 + 216 >> 2]; + while (1) { + $8 = HEAP32[$0 + 320 >> 2]; + $1 = HEAP32[$0 + 316 >> 2]; + $3 = HEAP32[$0 + 324 >> 2]; + $4 = HEAP32[$2 + 36 >> 2]; + $10 = HEAP32[$2 + 8 >> 2]; + $5 = ($9 << 2) + $6 | 0; + $7 = (Math_imul(HEAP32[$2 + 40 >> 2], HEAP32[$2 + 12 >> 2]) | 0) / HEAP32[$0 + 328 >> 2] | 0; + HEAP32[$5 + 100 >> 2] = $7; + $3 = (Math_imul($4, $10) | 0) / ($3 | 0) | 0; + label$4: { + if (!HEAP32[$2 + 52 >> 2]) { + HEAP32[$5 + 52 >> 2] = 196; + break label$4; + } + if (!(($1 | 0) != ($3 | 0) | ($8 | 0) != ($7 | 0))) { + HEAP32[$5 + 52 >> 2] = 197; + break label$4; + } + $4 = $3 << 1 != ($1 | 0); + label$7: { + if (!($4 | ($8 | 0) != ($7 | 0))) { + HEAP32[$5 + 52 >> 2] = 198; + break label$7; + } + if (!($7 << 1 != ($8 | 0) | $4)) { + HEAP32[$5 + 52 >> 2] = 199; + break label$7; + } + label$10: { + $4 = ($1 | 0) / ($3 | 0) | 0; + if ($1 - Math_imul($4, $3) | 0) { + break label$10; + } + $1 = ($8 | 0) / ($7 | 0) | 0; + if ($8 - Math_imul($7, $1) | 0) { + break label$10; + } + HEAP32[$5 + 52 >> 2] = 200; + $3 = $6 + $9 | 0; + HEAP8[$3 + 150 | 0] = $1; + HEAP8[$3 + 140 | 0] = $4; + break label$7; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 39; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + $1 = HEAP32[HEAP32[$0 + 4 >> 2] + 8 >> 2]; + wasm2js_i32$0 = $5, wasm2js_i32$1 = FUNCTION_TABLE[$1 | 0]($0, 1, jround_up(HEAP32[$0 + 112 >> 2], HEAP32[$0 + 316 >> 2]), HEAP32[$0 + 320 >> 2]) | 0, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + } + $2 = $2 + 88 | 0; + $9 = $9 + 1 | 0; + if (($9 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; + } + break; + } + } } -function ___lctrans_impl(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - if (!i1) i1 = 0; else i1 = ___mo_lookup(HEAP32[i1 >> 2] | 0, HEAP32[i1 + 4 >> 2] | 0, i2) | 0; - return ((i1 | 0) == 0 ? i2 : i1) | 0; +function void_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________construct_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, $1, $2) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______vector_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($1, $2); } -function __ZNSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__214__shared_countD2Ev(i1); - __ZdlPv(i1); - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFloatingLiteral_double__28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = 0; + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($0) >>> 0 < 17) { + break label$1; + } + $1 = HEAP32[$0 >> 2]; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($2 + 8 | 0, $1, $1 + 16 | 0); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($3); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__end_28_29_20const($3); + label$2: { + while (1) { + if (($1 | 0) == ($4 | 0)) { + break label$2; + } + $5 = HEAP8[$1 | 0]; + $1 = $1 + 1 | 0; + if (isxdigit($5)) { + continue; + } + break; + } + $1 = 0; + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 16; + $1 = 0; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_double__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $3); + } + __stack_pointer = $2 + 16 | 0; + return $1; } -function __ZNKSt3__27codecvtIcc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - HEAP32[i5 >> 2] = i3; - return 3; +function vision__CompareFREAK84_28unsigned_20char__2c_20float_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + void_20vision__ZeroVector_unsigned_20char__28unsigned_20char__2c_20unsigned_20long_29($0, 84); + $4 = 36; + while (1) { + label$2: { + label$3: { + if (($2 | 0) == 37) { + if (($3 | 0) == 666) { + break label$3; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 21456), 3098), 3756), 410), 4404), 21580), 16); + abort(); + abort(); + } + $5 = $3 + $4 | 0; + $7 = ($2 << 2) + $1 | 0; + $6 = $2 + 1 | 0; + $2 = $6; + while (1) { + if (($3 | 0) == ($5 | 0)) { + break label$2; + } + vision__bitstring_set_bit_28unsigned_20char__2c_20int_2c_20unsigned_20char_29($0, $3, HEAPF32[$7 >> 2] < HEAPF32[($2 << 2) + $1 >> 2]); + $2 = $2 + 1 | 0; + $3 = $3 + 1 | 0; + continue; + } + } + return; + } + $4 = $4 - 1 | 0; + $3 = $5; + $2 = $6; + continue; + } +} + +function quantize_fs_dither($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, $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; + if (($3 | 0) > 0) { + $21 = HEAP32[$0 + 336 >> 2]; + $5 = HEAP32[$0 + 484 >> 2]; + $7 = HEAP32[$0 + 120 >> 2]; + $22 = 0 - $7 | 0; + $8 = HEAP32[$0 + 112 >> 2]; + $17 = $8 - 1 | 0; + $23 = Math_imul($17, $7); + $24 = $8 + 1 << 1; + while (1) { + $0 = $14 << 2; + $18 = $2 + $0 | 0; + memset(HEAP32[$18 >> 2], 0, $8); + if (($7 | 0) > 0) { + $25 = $0 + $1 | 0; + $6 = 0; + while (1) { + $9 = HEAP32[$25 >> 2] + $6 | 0; + $0 = HEAP32[$18 >> 2]; + label$5: { + if (HEAP32[$5 + 84 >> 2]) { + $0 = $0 + $17 | 0; + $9 = $9 + $23 | 0; + $19 = $22; + $10 = HEAP32[(($6 << 2) + $5 | 0) + 68 >> 2] + $24 | 0; + $15 = -1; + break label$5; + } + $19 = $7; + $10 = HEAP32[(($6 << 2) + $5 | 0) + 68 >> 2]; + $15 = 1; + } + $11 = 0; + label$7: { + if (!$8) { + $12 = $10; + $13 = 0; + break label$7; + } + $4 = $6 << 2; + $26 = HEAP32[$4 + HEAP32[$5 + 16 >> 2] >> 2]; + $27 = HEAP32[HEAP32[$5 + 24 >> 2] + $4 >> 2]; + $20 = 0; + $16 = $8; + $13 = 0; + while (1) { + $12 = ($15 << 1) + $10 | 0; + $4 = HEAPU8[(HEAPU8[$9 | 0] + ((HEAP16[$12 >> 1] + $11 | 0) + 8 >> 4) | 0) + $21 | 0]; + $11 = HEAPU8[$27 + $4 | 0]; + HEAP8[$0 | 0] = $11 + HEAPU8[$0 | 0]; + $4 = $4 - HEAPU8[$11 + $26 | 0] | 0; + HEAP16[$10 >> 1] = Math_imul($4, 3) + $13; + $11 = Math_imul($4, 7); + $13 = Math_imul($4, 5) + $20 | 0; + $0 = $0 + $15 | 0; + $9 = $9 + $19 | 0; + $20 = $4; + $10 = $12; + $16 = $16 - 1 | 0; + if ($16) { + continue; + } + break; + } + } + HEAP16[$12 >> 1] = $13; + $6 = $6 + 1 | 0; + if (($7 | 0) != ($6 | 0)) { + continue; + } + break; + } + } + HEAP32[$5 + 84 >> 2] = !HEAP32[$5 + 84 >> 2]; + $14 = $14 + 1 | 0; + if (($14 | 0) != ($3 | 0)) { + continue; + } + break; + } + } } -function __ZN6vision4min4IfEET_S1_S1_S1_S1_(d1, d2, d3, d4) { - d1 = +d1; - d2 = +d2; - d3 = +d3; - d4 = +d4; - return +(+__ZN6vision4min2IfEET_S1_S1_(+__ZN6vision4min3IfEET_S1_S1_S1_(d1, d2, d3), d4)); +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseFloatingLiteral_float__28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = 0; + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($0) >>> 0 < 9) { + break label$1; + } + $1 = HEAP32[$0 >> 2]; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($2 + 8 | 0, $1, $1 + 8 | 0); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($3); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__end_28_29_20const($3); + label$2: { + while (1) { + if (($1 | 0) == ($4 | 0)) { + break label$2; + } + $5 = HEAP8[$1 | 0]; + $1 = $1 + 1 | 0; + if (isxdigit($5)) { + continue; + } + break; + } + $1 = 0; + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 8; + $1 = 0; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_float__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $3); + } + __stack_pointer = $2 + 16 | 0; + return $1; } -function __ZN12_GLOBAL__N_120register_memory_viewItEEvPKc(i1) { - i1 = i1 | 0; - __embind_register_memory_view(__ZN10emscripten8internal6TypeIDINS_11memory_viewItEEE3getEv() | 0, 3, i1 | 0); - return; +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________vector_28_29($0) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________clear_28_29($0); + std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______deallocate_28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20unsigned_20long_29(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______capacity_28_29_20const($0)); + } + return $0; } -function __ZN12_GLOBAL__N_120register_memory_viewIsEEvPKc(i1) { - i1 = i1 | 0; - __embind_register_memory_view(__ZN10emscripten8internal6TypeIDINS_11memory_viewIsEEE3getEv() | 0, 2, i1 | 0); - return; +function std____2__enable_if__CheckArrayPointerConversion_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________value_2c_20void___type_20std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________reset_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________second_28_29($0), $2); + } } -function __ZN12_GLOBAL__N_120register_memory_viewIjEEvPKc(i1) { - i1 = i1 | 0; - __embind_register_memory_view(__ZN10emscripten8internal6TypeIDINS_11memory_viewIjEEE3getEv() | 0, 5, i1 | 0); - return; -} +function std____2____num_get_char_____stage2_int_loop_28char_2c_20int_2c_20char__2c_20char___2c_20unsigned_20int__2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int___2c_20char_20const__29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { + var $10 = 0, $11 = 0, $12 = 0; + $10 = __stack_pointer - 16 | 0; + __stack_pointer = $10; + HEAP8[$10 + 15 | 0] = $0; + label$1: { + label$2: { + label$3: { + if (HEAP32[$3 >> 2] != ($2 | 0)) { + break label$3; + } + $11 = 43; + $12 = $0 & 255; + if (($12 | 0) != HEAPU8[$9 + 24 | 0]) { + $11 = 45; + if (HEAPU8[$9 + 25 | 0] != ($12 | 0)) { + break label$3; + } + } + HEAP32[$3 >> 2] = $2 + 1; + HEAP8[$2 | 0] = $11; + break label$2; + } + if (!(!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6) | ($0 | 0) != ($5 | 0))) { + $0 = 0; + $9 = HEAP32[$8 >> 2]; + if (($9 - $7 | 0) > 159) { + break label$1; + } + $0 = HEAP32[$4 >> 2]; + HEAP32[$8 >> 2] = $9 + 4; + HEAP32[$9 >> 2] = $0; + break label$2; + } + $0 = -1; + $9 = char_20const__20std____2__find_char_20const__2c_20char__28char_20const__2c_20char_20const__2c_20char_20const__29($9, $9 + 26 | 0, $10 + 15 | 0) - $9 | 0; + if (($9 | 0) > 23) { + break label$1; + } + label$6: { + label$7: { + switch ($1 - 8 | 0) { + case 0: + case 2: + if (($1 | 0) > ($9 | 0)) { + break label$6; + } + break label$1; -function __ZN12_GLOBAL__N_120register_memory_viewIiEEvPKc(i1) { - i1 = i1 | 0; - __embind_register_memory_view(__ZN10emscripten8internal6TypeIDINS_11memory_viewIiEEE3getEv() | 0, 4, i1 | 0); - return; -} + case 1: + break label$6; -function __ZN12_GLOBAL__N_120register_memory_viewIhEEvPKc(i1) { - i1 = i1 | 0; - __embind_register_memory_view(__ZN10emscripten8internal6TypeIDINS_11memory_viewIhEEE3getEv() | 0, 1, i1 | 0); - return; -} - -function __ZN12_GLOBAL__N_120register_memory_viewIaEEvPKc(i1) { - i1 = i1 | 0; - __embind_register_memory_view(__ZN10emscripten8internal6TypeIDINS_11memory_viewIaEEE3getEv() | 0, 0, i1 | 0); - return; + default: + break label$7; + } + } + if (($1 | 0) != 16 | ($9 | 0) < 22) { + break label$6; + } + $6 = HEAP32[$3 >> 2]; + if (($6 | 0) == ($2 | 0) | ($6 - $2 | 0) > 2 | HEAPU8[$6 - 1 | 0] != 48) { + break label$1; + } + $0 = 0; + HEAP32[$4 >> 2] = 0; + HEAP32[$3 >> 2] = $6 + 1; + HEAP8[$6 | 0] = HEAPU8[$9 + 57760 | 0]; + break label$1; + } + $0 = HEAP32[$3 >> 2]; + HEAP32[$3 >> 2] = $0 + 1; + HEAP8[$0 | 0] = HEAPU8[$9 + 57760 | 0]; + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] + 1; + $0 = 0; + break label$1; + } + $0 = 0; + HEAP32[$4 >> 2] = 0; + } + __stack_pointer = $10 + 16 | 0; + return $0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____push_back_28wchar_t_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $1; + label$1: { + label$2: { + label$3: { + if (!std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______is_long_28_29_20const($0)) { + $2 = 1; + $1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_size_28_29_20const($0); + if (($1 | 0) == 1) { + break label$3; + } + $2 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_pointer_28_29($0); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_short_size_28unsigned_20long_29($0, $1 + 1 | 0); + break label$1; + } + $2 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_cap_28_29_20const($0); + $1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_size_28_29_20const($0); + $2 = $2 - 1 | 0; + if (($1 | 0) != ($2 | 0)) { + break label$2; + } + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______grow_by_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_29($0, $2, 1, $2, $2, 0, 0); + $1 = $2; + } + $2 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_pointer_28_29($0); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_size_28unsigned_20long_29($0, $1 + 1 | 0); + } + $0 = ($1 << 2) + $2 | 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29($0, $3 + 12 | 0); + HEAP32[$3 + 8 >> 2] = 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29($0 + 4 | 0, $3 + 8 | 0); + __stack_pointer = $3 + 16 | 0; +} + +function bool_20vision__Condition4Points2d_float__28float__2c_20float__2c_20float__2c_20float__2c_20float__2c_20float__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { + var $10 = Math_fround(0), $11 = Math_fround(0), $12 = Math_fround(0), $13 = Math_fround(0), $14 = Math_fround(0), $15 = Math_fround(0), $16 = Math_fround(0), $17 = Math_fround(0), $18 = Math_fround(0), $19 = Math_fround(0); + $10 = Math_fround(Math_fround(Math_fround(Math_fround(HEAPF32[$6 >> 2] + HEAPF32[$7 >> 2]) + HEAPF32[$8 >> 2]) + HEAPF32[$9 >> 2]) * Math_fround(.25)); + HEAPF32[$5 >> 2] = $10; + $11 = Math_fround(Math_fround(Math_fround(Math_fround(HEAPF32[$6 + 4 >> 2] + HEAPF32[$7 + 4 >> 2]) + HEAPF32[$8 + 4 >> 2]) + HEAPF32[$9 + 4 >> 2]) * Math_fround(.25)); + HEAPF32[$5 + 4 >> 2] = $11; + $12 = HEAPF32[$7 + 4 >> 2]; + $13 = HEAPF32[$7 >> 2]; + $14 = HEAPF32[$9 >> 2]; + $17 = HEAPF32[$9 + 4 >> 2]; + $15 = HEAPF32[$8 >> 2]; + $16 = HEAPF32[$8 + 4 >> 2]; + $18 = Math_fround(HEAPF32[$6 >> 2] - $10); + $19 = Math_fround(HEAPF32[$6 + 4 >> 2] - $11); + $13 = Math_fround($13 - $10); + $12 = Math_fround($12 - $11); + $15 = Math_fround($15 - $10); + $16 = Math_fround($16 - $11); + $10 = Math_fround($14 - $10); + $11 = Math_fround($17 - $11); + $14 = Math_fround(Math_fround(Math_fround(Math_fround(sqrt_28float_29(Math_fround(Math_fround($18 * $18) + Math_fround($19 * $19))) + sqrt_28float_29(Math_fround(Math_fround($13 * $13) + Math_fround($12 * $12)))) + sqrt_28float_29(Math_fround(Math_fround($15 * $15) + Math_fround($16 * $16)))) + sqrt_28float_29(Math_fround(Math_fround($10 * $10) + Math_fround($11 * $11)))) * Math_fround(.25)); + if ($14 != Math_fround(0)) { + $17 = Math_fround(+Math_fround(Math_fround(1) / $14) * 1.4142135623730951); + HEAPF32[$4 >> 2] = $17; + HEAPF32[$0 >> 2] = $18 * $17; + HEAPF32[$0 + 4 >> 2] = $19 * HEAPF32[$4 >> 2]; + HEAPF32[$1 >> 2] = $13 * HEAPF32[$4 >> 2]; + HEAPF32[$1 + 4 >> 2] = $12 * HEAPF32[$4 >> 2]; + HEAPF32[$2 >> 2] = $15 * HEAPF32[$4 >> 2]; + HEAPF32[$2 + 4 >> 2] = $16 * HEAPF32[$4 >> 2]; + HEAPF32[$3 >> 2] = $10 * HEAPF32[$4 >> 2]; + HEAPF32[$3 + 4 >> 2] = $11 * HEAPF32[$4 >> 2]; + } + return $14 != Math_fround(0); +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______swap_out_circular_buffer_28std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____29($0, $1) { + var $2 = 0; + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__FeaturePoint__2c_20vision__FeaturePoint___28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20vision__FeaturePoint___29(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_vision__FeaturePoint____value_20___20is_move_assignable_vision__FeaturePoint____value_2c_20void___type_20std____2__swap_vision__FeaturePoint___28vision__FeaturePoint___2c_20vision__FeaturePoint___29($0, $2); + std____2__enable_if_is_move_constructible_vision__FeaturePoint____value_20___20is_move_assignable_vision__FeaturePoint____value_2c_20void___type_20std____2__swap_vision__FeaturePoint___28vision__FeaturePoint___2c_20vision__FeaturePoint___29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_vision__FeaturePoint____value_20___20is_move_assignable_vision__FeaturePoint____value_2c_20void___type_20std____2__swap_vision__FeaturePoint___28vision__FeaturePoint___2c_20vision__FeaturePoint___29(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______end_cap_28_29($0), std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0)); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______invalidate_all_iterators_28_29($0); +} + +function get_cpara($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + $9 = arMatrixAlloc(8, 8); + $10 = arMatrixAlloc(8, 1); + $11 = arMatrixAlloc(8, 1); + $13 = HEAP32[$10 >> 2]; + $14 = HEAP32[$9 >> 2]; + while (1) { + if (($6 | 0) != 4) { + $3 = ($6 << 7) + $14 | 0; + $12 = $6 << 4; + $5 = $12 + $0 | 0; + HEAPF64[$3 >> 3] = HEAPF64[$5 >> 3]; + $7 = HEAPF64[$5 + 8 >> 3]; + HEAP32[$3 + 40 >> 2] = 0; + HEAP32[$3 + 44 >> 2] = 0; + HEAP32[$3 + 32 >> 2] = 0; + HEAP32[$3 + 36 >> 2] = 0; + HEAP32[$3 + 24 >> 2] = 0; + HEAP32[$3 + 28 >> 2] = 0; + HEAP32[$3 + 16 >> 2] = 0; + HEAP32[$3 + 20 >> 2] = 1072693248; + HEAPF64[$3 + 8 >> 3] = $7; + $4 = $1 + $12 | 0; + HEAPF64[$3 + 48 >> 3] = HEAPF64[$4 >> 3] * -HEAPF64[$5 >> 3]; + $7 = HEAPF64[$4 >> 3]; + $15 = HEAPF64[$5 + 8 >> 3]; + HEAP32[$3 + 80 >> 2] = 0; + HEAP32[$3 + 84 >> 2] = 0; + HEAP32[$3 + 72 >> 2] = 0; + HEAP32[$3 + 76 >> 2] = 0; + $8 = $3 - -64 | 0; + HEAP32[$8 >> 2] = 0; + HEAP32[$8 + 4 >> 2] = 0; + HEAPF64[$3 + 56 >> 3] = $7 * -$15; + HEAPF64[$3 + 88 >> 3] = HEAPF64[$5 >> 3]; + $7 = HEAPF64[$5 + 8 >> 3]; + HEAP32[$3 + 104 >> 2] = 0; + HEAP32[$3 + 108 >> 2] = 1072693248; + HEAPF64[$3 + 96 >> 3] = $7; + HEAPF64[$3 + 112 >> 3] = HEAPF64[$4 + 8 >> 3] * -HEAPF64[$5 >> 3]; + HEAPF64[$3 + 120 >> 3] = HEAPF64[$4 + 8 >> 3] * -HEAPF64[$5 + 8 >> 3]; + $3 = $12 + $13 | 0; + HEAPF64[$3 >> 3] = HEAPF64[$4 >> 3]; + HEAPF64[$3 + 8 >> 3] = HEAPF64[$4 + 8 >> 3]; + $6 = $6 + 1 | 0; + continue; + } + break; + } + arMatrixSelfInv($9); + arMatrixMul($11, $9, $10); + $6 = HEAP32[$11 >> 2]; + $3 = 0; + while (1) { + if (($3 | 0) != 2) { + $4 = Math_imul($3, 24); + $5 = $4 + $2 | 0; + $4 = $4 + $6 | 0; + HEAPF64[$5 >> 3] = HEAPF64[$4 >> 3]; + HEAPF64[$5 + 8 >> 3] = HEAPF64[$4 + 8 >> 3]; + HEAPF64[$5 + 16 >> 3] = HEAPF64[$4 + 16 >> 3]; + $3 = $3 + 1 | 0; + continue; + } + break; + } + HEAPF64[$2 + 48 >> 3] = HEAPF64[$6 + 48 >> 3]; + $7 = HEAPF64[$6 + 56 >> 3]; + $8 = $2 - -64 | 0; + HEAP32[$8 >> 2] = 0; + HEAP32[$8 + 4 >> 2] = 1072693248; + HEAPF64[$2 + 56 >> 3] = $7; + arMatrixFree($9); + arMatrixFree($10); + arMatrixFree($11); +} + +function addMultiMarker($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 12 | 0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $3 = -1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2, $2 + 8 | 0)) { + break label$1; + } + $0 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 12 | 0); + if (!loadMultiMarker_28char_20const__2c_20ARHandle__2c_20ARPattHandle___2c_20ARMultiMarkerInfoT___29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($1), HEAP32[$0 + 216 >> 2], $0 + 220 | 0, $0 + 224 | 0)) { + arLog(0, 3, 38971, 0); + break label$1; + } + $3 = $0 + 328 | 0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____size_28_29_20const($3), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + HEAP32[$2 + 4 >> 2] = HEAP32[$0 + 224 >> 2]; + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____push_back_28multi_marker_20const__29($3, $2); + $3 = HEAP32[$2 >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3 | 0; +} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry__sentry_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29($2 + 24 | 0, $0); + label$1: { + if (!std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry__operator_20bool_28_29_20const($2 + 24 | 0)) { + break label$1; + } + std____2__ios_base__flags_28_29_20const(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0); + std____2__ios_base__getloc_28_29_20const($2 + 16 | 0, HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0); + $4 = std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____20const__20std____2__use_facet_std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__locale_20const__29($2 + 16 | 0); + std____2__locale___locale_28_29($2 + 16 | 0); + $5 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____ostreambuf_iterator_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29($2 + 8 | 0, $0); + $3 = HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0; + $6 = std____2__basic_ios_char_2c_20std____2__char_traits_char____fill_28_29_20const($3); + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_29_20const($4, HEAP32[$5 >> 2], $3, $6, $1), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + if (!std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____failed_28_29_20const($2 + 16 | 0)) { + break label$1; + } + std____2__basic_ios_char_2c_20std____2__char_traits_char____setstate_28unsigned_20int_29(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0, 5); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry___sentry_28_29($2 + 24 | 0); + __stack_pointer = $2 + 32 | 0; + return $0; +} + +function jinit_merged_upsampler($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 48) | 0; + HEAP32[$0 + 476 >> 2] = $1; + HEAP32[$1 + 8 >> 2] = 0; + HEAP32[$1 >> 2] = 185; + $3 = Math_imul(HEAP32[$0 + 120 >> 2], HEAP32[$0 + 112 >> 2]); + HEAP32[$1 + 40 >> 2] = $3; + label$1: { + if (HEAP32[$0 + 320 >> 2] == 2) { + HEAP32[$1 + 12 >> 2] = 186; + HEAP32[$1 + 4 >> 2] = 187; + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 4 >> 2]]($0, 1, $3) | 0; + break label$1; + } + HEAP32[$1 + 12 >> 2] = 188; + HEAP32[$1 + 4 >> 2] = 189; + } + HEAP32[$1 + 32 >> 2] = $2; + $2 = HEAP32[$0 + 40 >> 2]; + $1 = HEAP32[$0 + 476 >> 2]; + wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0, + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0, + HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0, + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + $3 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0; + HEAP32[$1 + 28 >> 2] = $3; + $4 = HEAP32[$1 + 24 >> 2]; + $5 = HEAP32[$1 + 20 >> 2]; + $6 = HEAP32[$1 + 16 >> 2]; + $1 = 0; + $0 = -128; + label$3: { + if (($2 | 0) == 7) { + while (1) { + $2 = $1 << 2; + HEAP32[$6 + $2 >> 2] = Math_imul($0, 183763) + 32768 >> 16; + HEAP32[$2 + $5 >> 2] = Math_imul($0, 232260) + 32768 >> 16; + HEAP32[$2 + $4 >> 2] = Math_imul($0, -93603); + HEAP32[$2 + $3 >> 2] = Math_imul($0, -45107) + 32768; + $0 = $0 + 1 | 0; + $1 = $1 + 1 | 0; + if (($1 | 0) != 256) { + continue; + } + break label$3; + } + } + while (1) { + $2 = $1 << 2; + HEAP32[$6 + $2 >> 2] = Math_imul($0, 91881) + 32768 >> 16; + HEAP32[$2 + $5 >> 2] = Math_imul($0, 116130) + 32768 >> 16; + HEAP32[$2 + $4 >> 2] = Math_imul($0, -46802); + HEAP32[$2 + $3 >> 2] = Math_imul($0, -22553) + 32768; + $0 = $0 + 1 | 0; + $1 = $1 + 1 | 0; + if (($1 | 0) != 256) { + continue; + } + break; + } + } } -function ___strdup(i1) { - i1 = i1 | 0; - var i2 = 0, i3 = 0; - i2 = (_strlen(i1) | 0) + 1 | 0; - i3 = _malloc(i2) | 0; - if (!i3) i1 = 0; else i1 = _memcpy(i3 | 0, i1 | 0, i2 | 0) | 0; - return i1 | 0; +function __cxa_demangle($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, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = __stack_pointer - 4544 | 0; + __stack_pointer = $5; + label$1: { + if (!(!$1 | $2 ? $0 : 0)) { + $0 = 0; + if (!$3) { + break label$1; + } + HEAP32[$3 >> 2] = -3; + break label$1; + } + $7 = $28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator___ManglingParser_28char_20const__2c_20char_20const__29($5 + 32 | 0, $0, strlen($0) + $0 | 0); + $0 = 0; + $4 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__OutputBuffer_28_29($5 + 8 | 0); + $8 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parse_28_29($7); + label$3: { + if (!$8) { + $6 = -2; + break label$3; + } + $6 = -1; + if (!$28anonymous_20namespace_29__itanium_demangle__initializeOutputBuffer_28char__2c_20unsigned_20long__2c_20_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__2c_20unsigned_20long_29($1, $2, $4)) { + break label$3; + } + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($8, $4); + $6 = 0; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($4, 0); + if ($2) { + wasm2js_i32$0 = $2, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__getCurrentPosition_28_29_20const($4), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__getBuffer_28_29($4); + } + if ($3) { + HEAP32[$3 >> 2] = $6; + } + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator____AbstractManglingParser_28_29($7); + } + __stack_pointer = $5 + 4544 | 0; + return $0 | 0; } -function ___DOUBLE_BITS_737(d1) { - d1 = +d1; - var i2 = 0; - HEAPF64[tempDoublePtr >> 3] = d1; - i2 = HEAP32[tempDoublePtr >> 2] | 0; - setTempRet0(HEAP32[tempDoublePtr + 4 >> 2] | 0); - return i2 | 0; +function vision__DoGPyramid__octaveFromIndex_28int_29_20const($0, $1) { + var $2 = Math_fround(0); + if (std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($0) >>> 0 > $1 >>> 0) { + $2 = float_20vision__round_float__28float_29(float_20vision__log2_float__28float_29(Math_fround((vision__Image__width_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const($0, 0)) >>> 0) / (vision__Image__width_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const($0, $1)) >>> 0) >>> 0))); + if (Math_fround(Math_abs($2)) < Math_fround(2147483648)) { + return ~~$2; + } + return -2147483648; + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 22410), 22456), 3289), 94), 3786), 22707), 16); + abort(); + abort(); } -function ___DOUBLE_BITS_102(d1) { - d1 = +d1; - var i2 = 0; - HEAPF64[tempDoublePtr >> 3] = d1; - i2 = HEAP32[tempDoublePtr >> 2] | 0; - setTempRet0(HEAP32[tempDoublePtr + 4 >> 2] | 0); - return i2 | 0; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96__________hash_table_28_29($0) { + std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($0, HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______first_28_29($0 + 8 | 0) >> 2]); + return std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___________unique_ptr_28_29($0); } -function _arGetMatrixCodeType(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if ((i1 | 0) != 0 & (i2 | 0) != 0) { - HEAP32[i2 >> 2] = HEAP32[i1 + 7062424 >> 2]; - i1 = 0; - } else i1 = -1; - return i1 | 0; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________reset_28std__nullptr_t_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($1) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________second_28_29($0), $1); + } } -function __ZNSt3__26localeC2ERKS0_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - i2 = HEAP32[i2 >> 2] | 0; - HEAP32[i1 >> 2] = i2; - i2 = i2 + 4 | 0; - HEAP32[i2 >> 2] = (HEAP32[i2 >> 2] | 0) + 1; - return; +function PCA($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $3 = -1; + label$1: { + $4 = HEAP32[$0 + 4 >> 2]; + label$2: { + if (($4 | 0) < 2) { + break label$2; + } + $6 = HEAP32[$0 + 8 >> 2]; + if (($6 | 0) < 2 | HEAP32[$1 + 8 >> 2] != ($6 | 0)) { + break label$2; + } + $5 = ($4 | 0) > ($6 | 0) ? $6 : $4; + if (($5 | 0) != HEAP32[$1 + 4 >> 2] | HEAP32[$2 + 4 >> 2] != ($5 | 0)) { + break label$2; + } + $7 = arMatrixAlloc($5, $5); + if (!(HEAP32[$7 + 4 >> 2] == ($5 | 0) & HEAP32[$7 + 8 >> 2] == ($5 | 0))) { + break label$1; + } + label$5: { + $3 = $4 >>> 0 >= $6 >>> 0; + if (!$3) { + if ((x_by_xt($0, $7) | 0) >= 0) { + break label$5; + } + break label$1; + } + if ((xt_by_x($0, $7) | 0) >= 0) { + break label$5; + } + break label$1; + } + if ((QRM($7, $2) | 0) < 0) { + break label$1; + } + label$8: { + if (!$3) { + if ((EV_create($0, $7, $1, $2) | 0) >= 0) { + break label$8; + } + break label$1; + } + $4 = ($5 | 0) > 0 ? $5 : 0; + $0 = HEAP32[$1 >> 2]; + $6 = HEAP32[$7 >> 2]; + while (1) { + label$11: { + if (($4 | 0) != ($8 | 0)) { + $3 = 0; + if (!(HEAPF64[HEAP32[$2 >> 2] + ($8 << 3) >> 3] < 1e-16)) { + break label$11; + } + $4 = $8; + } + $6 = ($4 | 0) > ($5 | 0) ? $4 : $5; + while (1) { + if (($4 | 0) == ($6 | 0)) { + break label$8; + } + $1 = HEAP32[$2 >> 2] + ($4 << 3) | 0; + HEAP32[$1 >> 2] = 0; + HEAP32[$1 + 4 >> 2] = 0; + $3 = 0; + while (1) { + if (($3 | 0) != ($5 | 0)) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + $3 = $3 + 1 | 0; + $0 = $0 + 8 | 0; + continue; + } + break; + } + $4 = $4 + 1 | 0; + continue; + } + } + while (1) { + if (($3 | 0) != ($5 | 0)) { + HEAPF64[$0 >> 3] = HEAPF64[$6 >> 3]; + $3 = $3 + 1 | 0; + $0 = $0 + 8 | 0; + $6 = $6 + 8 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + } + arMatrixFree($7); + $3 = 0; + } + return $3; + } + arMatrixFree($7); + return -1; } -function b13(i1, i2, i3, i4, i5, i6, i7, i8) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - i8 = i8 | 0; - nullFunc_iiiiiiiii(13); - return 0; +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29__SaveTemplateParams__SaveTemplateParams_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___29($0, $1) { + var $2 = 0; + HEAP32[$0 >> 2] = $1; + $1 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___PODSmallVector_28_29($0 + 4 | 0); + $2 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___PODSmallVector_28_29($0 + 32 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___operator__28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul____29($1, HEAP32[$0 >> 2] + 332 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___operator__28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____29($2, HEAP32[$0 >> 2] + 288 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___clear_28_29(HEAP32[$0 >> 2] + 332 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___clear_28_29(HEAP32[$0 >> 2] + 288 | 0); + return $0; +} + +function void_20std____2____double_or_nothing_wchar_t__28std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___2c_20wchar_t___2c_20wchar_t___29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $5 = HEAP32[std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_deleter_28_29($0) >> 2]; + $3 = HEAP32[$2 >> 2] - std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($0) | 0; + label$1: { + if ($3 >>> 0 < std____2__numeric_limits_unsigned_20long___max_28_29() >>> 1 >>> 0) { + $3 = $3 << 1; + break label$1; + } + $3 = std____2__numeric_limits_unsigned_20long___max_28_29(); + } + $3 = $3 ? $3 : 4; + $7 = HEAP32[$1 >> 2]; + $8 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($0); + if (($5 | 0) == 316) { + $6 = 0; + } else { + $6 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($0); + } + $6 = dlrealloc($6, $3); + if ($6) { + if (($5 | 0) != 316) { + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___release_28_29($0); + } + HEAP32[$4 + 4 >> 2] = 315; + $5 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28wchar_t__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($4 + 8 | 0, $6, $4 + 4 | 0); + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___operator__28std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29____29($0, $5); + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29____unique_ptr_28_29($5); + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($0) + ($7 - $8 | 0) | 0, + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($0) + ($3 & -4) | 0, + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return; + } + std____throw_bad_alloc_28_29(); + abort(); } -function __ZN6vision12FeaturePointC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP8[i1 + 16 >> 0] = 1; - return; +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_200_2c_20false_____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____29($0, $1); + std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_201_2c_20false_____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20void__28std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______29($1 + 4 | 0, $2); + return $1; +} + +function std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______operator_5b_5d_28int_20const__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__tuple_int_20const___20std____2__forward_as_tuple_int_20const___28int_20const__29($1), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + std____2__tuple___20std____2__forward_as_tuple___28_29(); + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________emplace_unique_key_args_int_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28int_20const__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($2 + 24 | 0, $0, $1, 26664, $2 + 16 | 0, $2 + 8 | 0); + $1 = std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______get_value_28_29(std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______operator___28_29_20const($2 + 24 | 0)); + __stack_pointer = $2 + 32 | 0; + return $1 + 4 | 0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_28char_20const__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____max_size_28_29_20const($0) >>> 0 >= $2 >>> 0) { + label$2: { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______fits_in_sso_28unsigned_20long_29($2)) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_short_size_28unsigned_20long_29($0, $2); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_28_29($0); + break label$2; + } + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______recommend_28unsigned_20long_29($2); + $5 = $3 + 1 | 0; + $3 = std____2__allocator_traits_std____2__allocator_char____allocate_28std____2__allocator_char___2c_20unsigned_20long_29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0), $5); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_pointer_28char__29($0, $3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_cap_28unsigned_20long_29($0, $5); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_size_28unsigned_20long_29($0, $2); + } + std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29(char__20std____2____to_address_char__28char__29($3), $1, $2); + HEAP8[$4 + 15 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($2 + $3 | 0, $4 + 15 | 0); + __stack_pointer = $4 + 16 | 0; + return; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______throw_length_error_28_29_20const($0); + abort(); } -function _i64Add(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i3 = i1 + i3 >>> 0; - return (setTempRet0(i2 + i4 + (i3 >>> 0 < i1 >>> 0 | 0) >>> 0 | 0), i3 | 0) | 0; +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____20std____2__copy__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____29($0, $1, $2) { + std____2__enable_if_is_same_std____2__remove_const__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____type_2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____value_20___20is_trivially_copy_assignable__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____value_2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul______type_20std____2____copy__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____29($0, $1, $2); +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________destruct_at_end_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1) { + var $2 = 0; + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________invalidate_iterators_past_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1); + $2 = std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______size_28_29_20const($0); + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________base_destruct_at_end_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1); + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________annotate_shrink_28unsigned_20long_29_20const($0, $2); +} + +function std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char______on_zero_shared_weak_28_29($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $2 = $0 + 12 | 0; + $3 = std____2__allocator_std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char_____allocator_unsigned_20char__28std____2__allocator_unsigned_20char__20const__29($1 + 8 | 0, std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char____second_28_29($2)); + std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char____second_28_29($2); + std____2__allocator_std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char_____deallocate_28std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char____2c_20unsigned_20long_29($3, std____2__pointer_traits_std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char______pointer_to_28std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char____29($0), 1); + __stack_pointer = $1 + 16 | 0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______move_assign_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__integral_constant_bool_2c_20true__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_28_29_20const($0)) { + std____2__allocator_traits_std____2__allocator_char____deallocate_28std____2__allocator_char___2c_20char__2c_20unsigned_20long_29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_28_29($0), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_cap_28_29_20const($0)); + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______move_assign_alloc_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0, $1); + $3 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29($1); + $0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29($0); + HEAP32[$0 + 8 >> 2] = HEAP32[$3 + 8 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$0 + 4 >> 2] = $4; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_short_size_28unsigned_20long_29($1, 0); + $0 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_28_29($1); + HEAP8[$2 + 15 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($0, $2 + 15 | 0); + __stack_pointer = $2 + 16 | 0; +} + +function decompress_data($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + $11 = HEAP32[$0 + 332 >> 2] - 1 | 0; + $12 = HEAP32[$0 + 452 >> 2]; + label$1: { + while (1) { + $2 = HEAP32[$0 + 144 >> 2]; + $3 = HEAP32[$0 + 152 >> 2]; + if (($2 | 0) >= ($3 | 0) & (($2 | 0) != ($3 | 0) | HEAPU32[$0 + 148 >> 2] > HEAPU32[$0 + 156 >> 2])) { + break label$1; + } + if (FUNCTION_TABLE[HEAP32[HEAP32[$0 + 460 >> 2] >> 2]]($0) | 0) { + continue; + } + break; + } + return 0; + } + if (HEAP32[$0 + 36 >> 2] > 0) { + $2 = HEAP32[$0 + 216 >> 2]; + while (1) { + label$6: { + if (!HEAP32[$2 + 52 >> 2]) { + break label$6; + } + $3 = $7 << 2; + $4 = HEAP32[$2 + 12 >> 2]; + $13 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 32 >> 2]]($0, HEAP32[($12 + $3 | 0) + 72 >> 2], Math_imul($4, HEAP32[$0 + 156 >> 2]), $4, 0) | 0; + if (HEAPU32[$0 + 156 >> 2] < $11 >>> 0) { + $8 = HEAP32[$2 + 12 >> 2]; + } else { + $4 = HEAP32[$2 + 12 >> 2]; + $5 = HEAPU32[$2 + 32 >> 2] % ($4 >>> 0) | 0; + $8 = $5 ? $5 : $4; + } + if (($8 | 0) <= 0) { + break label$6; + } + $14 = HEAP32[(HEAP32[$0 + 472 >> 2] + $3 | 0) + 4 >> 2]; + $9 = HEAP32[$1 + $3 >> 2]; + $3 = HEAP32[$2 + 28 >> 2]; + $6 = 0; + while (1) { + $10 = 0; + if ($3) { + $3 = HEAP32[($6 << 2) + $13 >> 2]; + $4 = 0; + $5 = 0; + while (1) { + FUNCTION_TABLE[$14 | 0]($0, $2, $3, $9, $4); + $3 = $3 + 128 | 0; + $4 = HEAP32[$2 + 36 >> 2] + $4 | 0; + $5 = $5 + 1 | 0; + $10 = HEAP32[$2 + 28 >> 2]; + if ($5 >>> 0 < $10 >>> 0) { + continue; + } + break; + } + } + $9 = (HEAP32[$2 + 40 >> 2] << 2) + $9 | 0; + $3 = $10; + $6 = $6 + 1 | 0; + if (($8 | 0) != ($6 | 0)) { + continue; + } + break; + } + } + $2 = $2 + 88 | 0; + $7 = $7 + 1 | 0; + if (($7 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; + } + break; + } + } + $2 = HEAP32[$0 + 156 >> 2] + 1 | 0; + HEAP32[$0 + 156 >> 2] = $2; + return (HEAPU32[$0 + 332 >> 2] > $2 >>> 0 ? 3 : 4) | 0; } -function __ZN6vision10DoGPyramidC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - HEAP32[i1 + 12 >> 2] = 0; - HEAP32[i1 + 16 >> 2] = 0; - return; +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_28unsigned_20long_2c_20char_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____max_size_28_29_20const($0) >>> 0 >= $1 >>> 0) { + label$2: { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______fits_in_sso_28unsigned_20long_29($1)) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_short_size_28unsigned_20long_29($0, $1); + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_28_29($0); + break label$2; + } + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______recommend_28unsigned_20long_29($1); + $5 = $3 + 1 | 0; + $3 = std____2__allocator_traits_std____2__allocator_char____allocate_28std____2__allocator_char___2c_20unsigned_20long_29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0), $5); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_pointer_28char__29($0, $3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_cap_28unsigned_20long_29($0, $5); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_size_28unsigned_20long_29($0, $1); + } + std____2__char_traits_char___assign_28char__2c_20unsigned_20long_2c_20char_29(char__20std____2____to_address_char__28char__29($3), $1, $2); + HEAP8[$4 + 15 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($1 + $3 | 0, $4 + 15 | 0); + __stack_pointer = $4 + 16 | 0; + return; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______throw_length_error_28_29_20const($0); + abort(); } -function _pthread_setspecific(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if ((HEAP32[i1 + 4 >> 2] | 0) != 38177486) { - i2 = 22; - return i2 | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FunctionEncoding_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__29($0, $1, $2, $3, $4, $5, $6) { + return $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FunctionEncoding_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__29($0 + 408 | 0, $1, $2, $3, $4, $5, $6); +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____vector_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, $1) { + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$2 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____28std__nullptr_t___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0 + 8 | 0, $2 + 12 | 0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______alloc_28_29($1)); + void_20std____2____debug_db_insert_c_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0); + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; + $3 = HEAP32[std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______end_cap_28_29($1) >> 2]; + wasm2js_i32$0 = std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______end_cap_28_29($0), + wasm2js_i32$1 = $3, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______end_cap_28_29($1), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + HEAP32[$1 >> 2] = 0; + HEAP32[$1 + 4 >> 2] = 0; + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______operator_28_29_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____29($0, $1) { + if (HEAPU8[$0 + 4 | 0]) { + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______destroy_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______29(HEAP32[$0 >> 2], std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_________get_ptr_28std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______29($1 + 8 | 0)); + } + if ($1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20unsigned_20long_29(HEAP32[$0 >> 2], $1, 1); + } +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______init_copy_ctor_external_28wchar_t_20const__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0, $4 = 0; + label$1: { + label$2: { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______fits_in_sso_28unsigned_20long_29($2)) { + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_pointer_28_29($0); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_short_size_28unsigned_20long_29($0, $2); + break label$2; + } + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____max_size_28_29_20const($0) >>> 0 < $2 >>> 0) { + break label$1; + } + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______recommend_28unsigned_20long_29($2); + $4 = $3 + 1 | 0; + $3 = std____2__allocator_traits_std____2__allocator_wchar_t____allocate_28std____2__allocator_wchar_t___2c_20unsigned_20long_29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0), $4); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_pointer_28wchar_t__29($0, $3); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_cap_28unsigned_20long_29($0, $4); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_size_28unsigned_20long_29($0, $2); + } + std____2__char_traits_wchar_t___copy_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29(wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($3), $1, $2 + 1 | 0); + return; } - HEAP32[i1 >> 2] = i2; - i2 = 0; - return i2 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______throw_length_error_28_29_20const($0); + abort(); } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiiEE8getTypesEv(i1) { - i1 = i1 | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiiiEEEE3getEv() | 0; +function __shgetc($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $4 = HEAP32[$0 + 116 >> 2]; + $11 = $4; + $2 = HEAP32[$0 + 112 >> 2]; + $12 = $2; + $8 = !!($4 | $2); + $4 = HEAP32[$0 + 120 >> 2]; + $5 = $4; + $2 = HEAP32[$0 + 124 >> 2]; + $1 = $2; + $6 = HEAP32[$0 + 4 >> 2]; + $9 = HEAP32[$0 + 44 >> 2]; + $4 = $6 - $9 | 0; + $2 = $4 >> 31; + $10 = $2; + $7 = $4; + $3 = $5 + $4 | 0; + $2 = $1; + $4 = $10; + $1 = $2 + $4 | 0; + $1 = $3 >>> 0 < $7 >>> 0 ? $1 + 1 | 0 : $1; + $13 = $3; + label$1: { + $2 = $12; + $10 = $1; + $5 = $1; + $1 = $11; + if (!(($2 >>> 0 <= $3 >>> 0 & ($5 | 0) >= ($1 | 0) | ($1 | 0) < ($5 | 0)) & $8)) { + $9 = __uflow($0); + if (($9 | 0) >= 0) { + break label$1; + } + $9 = HEAP32[$0 + 44 >> 2]; + $6 = HEAP32[$0 + 4 >> 2]; + } + HEAP32[$0 + 112 >> 2] = -1; + HEAP32[$0 + 116 >> 2] = -1; + HEAP32[$0 + 104 >> 2] = $6; + $1 = $9 - $6 | 0; + $2 = $1 >> 31; + $5 = $1; + $1 = $2; + $2 = $10; + $3 = $2 + $1 | 0; + $4 = $5 + $13 | 0; + $3 = $4 >>> 0 < $5 >>> 0 ? $3 + 1 | 0 : $3; + HEAP32[$0 + 120 >> 2] = $4; + HEAP32[$0 + 124 >> 2] = $3; + return -1; + } + $3 = $10; + $2 = $13; + $1 = $2 + 1 | 0; + $4 = $1 ? $3 : $3 + 1 | 0; + $13 = $1; + $10 = $4; + $6 = HEAP32[$0 + 4 >> 2]; + $8 = HEAP32[$0 + 8 >> 2]; + $2 = HEAP32[$0 + 116 >> 2]; + $11 = $2; + $4 = HEAP32[$0 + 112 >> 2]; + $12 = $4; + label$3: { + if (!($2 | $4)) { + break label$3; + } + $3 = $12; + $5 = $13; + $7 = $3 - $5 | 0; + $12 = $7; + $2 = $11; + $4 = $10; + $1 = $4 + ($3 >>> 0 < $5 >>> 0) | 0; + $1 = $2 - $1 | 0; + $11 = $1; + $3 = $8 - $6 | 0; + $1 = $3 >> 31; + $5 = $3; + $3 = $1; + $1 = $11; + $2 = $7; + if (($3 | 0) <= ($1 | 0) & $2 >>> 0 >= $5 >>> 0 | ($1 | 0) > ($3 | 0)) { + break label$3; + } + $8 = $6 + $12 | 0; + } + HEAP32[$0 + 104 >> 2] = $8; + $8 = HEAP32[$0 + 44 >> 2]; + $1 = $8 - $6 | 0; + $2 = $1 >> 31; + $3 = $1; + $1 = $2; + $2 = $10; + $7 = $2 + $1 | 0; + $5 = $13; + $4 = $5 + $3 | 0; + $7 = $4 >>> 0 < $3 >>> 0 ? $7 + 1 | 0 : $7; + HEAP32[$0 + 120 >> 2] = $4; + HEAP32[$0 + 124 >> 2] = $7; + if ($6 >>> 0 <= $8 >>> 0) { + HEAP8[$6 - 1 | 0] = $9; + } + return $9; +} + +function std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________destruct_at_end_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 12 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______destroy_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($3, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____20std____2____to_address_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($2)); + continue; + } + break; + } } -function __ZN6vision28BinaryHierarchicalClusteringILi96EE10nextNodeIdEv(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = i1 + 4 | 0; - i1 = HEAP32[i2 >> 2] | 0; - HEAP32[i2 >> 2] = i1 + 1; - return i1 | 0; +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____push_back_28char_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP8[$3 + 15 | 0] = $1; + label$1: { + label$2: { + label$3: { + if (!std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_28_29_20const($0)) { + $2 = 10; + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_size_28_29_20const($0); + if (($1 | 0) == 10) { + break label$3; + } + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_28_29($0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_short_size_28unsigned_20long_29($0, $1 + 1 | 0); + break label$1; + } + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_cap_28_29_20const($0); + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_size_28_29_20const($0); + $2 = $2 - 1 | 0; + if (($1 | 0) != ($2 | 0)) { + break label$2; + } + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______grow_by_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_29($0, $2, 1, $2, $2, 0, 0); + $1 = $2; + } + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_28_29($0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_size_28unsigned_20long_29($0, $1 + 1 | 0); + } + $0 = $1 + $2 | 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($0, $3 + 15 | 0); + HEAP8[$3 + 14 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($0 + 1 | 0, $3 + 14 | 0); + __stack_pointer = $3 + 16 | 0; +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______append_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + if (HEAP32[std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] >> 2 >>> 0 >= $1 >>> 0) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______construct_at_end_28unsigned_20long_29($0, $1); + break label$1; + } + $2 = std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______alloc_28_29($0); + $2 = std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul___29($3 + 8 | 0, std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______recommend_28unsigned_20long_29_20const($0, std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____size_28_29_20const($0) + $1 | 0), std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____size_28_29_20const($0), $2); + std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______construct_at_end_28unsigned_20long_29($2, $1); + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______swap_out_circular_buffer_28std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____29($0, $2); + std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul________split_buffer_28_29($2); + } + __stack_pointer = $3 + 32 | 0; +} + +function void_20std____2____double_or_nothing_char__28std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___2c_20char___2c_20char___29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $5 = HEAP32[std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_deleter_28_29($0) >> 2]; + $3 = HEAP32[$2 >> 2] - std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($0) | 0; + label$1: { + if ($3 >>> 0 < std____2__numeric_limits_unsigned_20long___max_28_29() >>> 1 >>> 0) { + $3 = $3 << 1; + break label$1; + } + $3 = std____2__numeric_limits_unsigned_20long___max_28_29(); + } + $3 = $3 ? $3 : 1; + $7 = HEAP32[$1 >> 2]; + $8 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($0); + if (($5 | 0) == 316) { + $6 = 0; + } else { + $6 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($0); + } + $6 = dlrealloc($6, $3); + if ($6) { + if (($5 | 0) != 316) { + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___release_28_29($0); + } + HEAP32[$4 + 4 >> 2] = 315; + $5 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($4 + 8 | 0, $6, $4 + 4 | 0); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___operator__28std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____29($0, $5); + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($5); + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($0) + ($7 - $8 | 0) | 0, + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($0) + $3 | 0, + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return; + } + std____throw_bad_alloc_28_29(); + abort(); } -function __ZN6vision7Point3dIfEC2Efff(i1, d2, d3, d4) { - i1 = i1 | 0; - d2 = +d2; - d3 = +d3; - d4 = +d4; - HEAPF32[i1 >> 2] = d2; - HEAPF32[i1 + 4 >> 2] = d3; - HEAPF32[i1 + 8 >> 2] = d4; - return; +function jinit_d_main_controller($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 80) | 0; + HEAP32[$0 + 448 >> 2] = $5; + HEAP32[$5 >> 2] = 179; + if ($1) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 3; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + $2 = HEAP32[$0 + 328 >> 2]; + label$2: { + if (HEAP32[HEAP32[$0 + 476 >> 2] + 8 >> 2]) { + if (($2 | 0) <= 1) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 48; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + $2 = HEAP32[$0 + 328 >> 2]; + } + $6 = HEAP32[$0 + 448 >> 2]; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, HEAP32[$0 + 36 >> 2] << 3) | 0; + HEAP32[$6 + 60 >> 2] = $1; + $3 = HEAP32[$0 + 36 >> 2]; + HEAP32[$6 - -64 >> 2] = ($3 << 2) + $1; + if (($3 | 0) > 0) { + $8 = $2 + 4 | 0; + $1 = HEAP32[$0 + 216 >> 2]; + while (1) { + $2 = (Math_imul(HEAP32[$1 + 40 >> 2], HEAP32[$1 + 12 >> 2]) | 0) / HEAP32[$0 + 328 >> 2] | 0; + $3 = Math_imul($8, $2); + $2 = (FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, $3 << 3) | 0) + ($2 << 2) | 0; + $7 = $4 << 2; + HEAP32[$7 + HEAP32[$6 + 60 >> 2] >> 2] = $2; + HEAP32[HEAP32[$6 + 64 >> 2] + $7 >> 2] = ($3 << 2) + $2; + $1 = $1 + 88 | 0; + $4 = $4 + 1 | 0; + $3 = HEAP32[$0 + 36 >> 2]; + if (($4 | 0) < ($3 | 0)) { + continue; + } + break; + } + } + $2 = HEAP32[$0 + 328 >> 2] + 2 | 0; + break label$2; + } + HEAP32[$5 + 52 >> 2] = $2; + $3 = HEAP32[$0 + 36 >> 2]; + } + if (($3 | 0) > 0) { + $1 = HEAP32[$0 + 216 >> 2]; + $4 = 0; + while (1) { + wasm2js_i32$0 = ($4 << 2) + $5 | 0, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 8 >> 2]]($0, 1, Math_imul(HEAP32[$1 + 36 >> 2], HEAP32[$1 + 28 >> 2]), Math_imul((Math_imul(HEAP32[$1 + 40 >> 2], HEAP32[$1 + 12 >> 2]) | 0) / HEAP32[$0 + 328 >> 2] | 0, $2)) | 0, + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $1 = $1 + 88 | 0; + $4 = $4 + 1 | 0; + if (($4 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; + } + break; + } + } } -function _arSetPattRatio(i1, d2) { - i1 = i1 | 0; - d2 = +d2; - if ((i1 | 0) != 0 ? !(d2 <= 0.0 | d2 >= 1.0) : 0) { - HEAPF64[i1 + 7062416 >> 3] = d2; - i1 = 0; - } else i1 = -1; - return i1 | 0; +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____erase_28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______29($2 + 24 | 0, $1); + std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______operator___28_29($3); + std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____remove_28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____29($2 + 8 | 0, $0, $1); + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________unique_ptr_28_29($2 + 8 | 0); + __stack_pointer = $2 + 32 | 0; + $1 = HEAP32[$3 >> 2]; + return $1; } -function _arGetLabelingThresh(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if ((i1 | 0) != 0 & (i2 | 0) != 0) { - HEAP32[i2 >> 2] = HEAP32[i1 + 16 >> 2]; - i1 = 0; - } else i1 = -1; - return i1 | 0; +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________swap_out_circular_buffer_28std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______29($0, $1) { + var $2 = 0; + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__Node_96____2c_20vision__Node_96___2c_20void__28std____2__allocator_vision__Node_96_____2c_20vision__Node_96____2c_20vision__Node_96____2c_20vision__Node_96_____29(std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_vision__Node_96______value_20___20is_move_assignable_vision__Node_96______value_2c_20void___type_20std____2__swap_vision__Node_96_____28vision__Node_96_____2c_20vision__Node_96_____29($0, $2); + std____2__enable_if_is_move_constructible_vision__Node_96______value_20___20is_move_assignable_vision__Node_96______value_2c_20void___type_20std____2__swap_vision__Node_96_____28vision__Node_96_____2c_20vision__Node_96_____29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_vision__Node_96______value_20___20is_move_assignable_vision__Node_96______value_2c_20void___type_20std____2__swap_vision__Node_96_____28vision__Node_96_____2c_20vision__Node_96_____29(std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________end_cap_28_29($0), std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________annotate_new_28unsigned_20long_29_20const($0, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______size_28_29_20const($0)); + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________invalidate_all_iterators_28_29($0); } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJviiEE8getTypesEv(i1) { - i1 = i1 | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJviiEEEE3getEv() | 0; +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____reserve_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + label$1: { + if (std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____capacity_28_29_20const($0) >>> 0 < $1 >>> 0) { + if (std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____max_size_28_29_20const($0) >>> 0 < $1 >>> 0) { + break label$1; + } + $3 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29($0); + $1 = std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___29($2 + 8 | 0, $1, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($0), $3); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______swap_out_circular_buffer_28std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____29($0, $1); + std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint________split_buffer_28_29($1); + } + __stack_pointer = $2 + 32 | 0; + return; + } + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______throw_length_error_28_29_20const($0); + abort(); } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJvifEE8getTypesEv(i1) { - i1 = i1 | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJvifEEEE3getEv() | 0; +function std____2__pair_std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______2c_20bool__20std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____insert_std____2__pair_unsigned_20int_2c_20unsigned_20int__2c_20void__28std____2__pair_unsigned_20int_2c_20unsigned_20int____29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______insert_unique_std____2__pair_unsigned_20int_2c_20unsigned_20int__2c_20void__28std____2__pair_unsigned_20int_2c_20unsigned_20int____29($3 + 8 | 0, $1, $2); + std____2__pair_std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool_2c_20_28void__290__28std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool____29($0, $3 + 8 | 0); + __stack_pointer = $3 + 16 | 0; +} + +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int________hash_table_28_29($0) { + std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($0, HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______first_28_29($0 + 8 | 0) >> 2]); + return std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___________unique_ptr_28_29($0); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20AR2SurfaceSetT________hash_table_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void__________unique_ptr_true_2c_20void__28_29($0); + std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________compressed_pair_true_2c_20void__28_29($0 + 8 | 0); + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0 + 12 | 0, $1 + 12 | 0, $1 + 8 | 0); + HEAP32[$1 + 4 >> 2] = 1065353216; + std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0 + 16 | 0, $1 + 4 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function bool_20vision__MatrixInverseSymmetric3x3_float__28float__2c_20float_20const__2c_20float_29($0, $1, $2) { + var $3 = Math_fround(0), $4 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $3 = float_20vision__DeterminantSymmetric3x3_float__28float_20const__29($1); + $4 = abs_28float_29($3) <= $2; + if (!$4) { + $2 = Math_fround(Math_fround(1) / $3); + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_29(HEAPF32[$1 + 16 >> 2], HEAPF32[$1 + 20 >> 2], HEAPF32[$1 + 32 >> 2])), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$1 + 8 >> 2], HEAPF32[$1 + 4 >> 2], HEAPF32[$1 + 32 >> 2], HEAPF32[$1 + 28 >> 2])), + HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$1 + 4 >> 2], HEAPF32[$1 + 8 >> 2], HEAPF32[$1 + 16 >> 2], HEAPF32[$1 + 20 >> 2])), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_29(HEAPF32[$1 >> 2], HEAPF32[$1 + 8 >> 2], HEAPF32[$1 + 32 >> 2])), + HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$1 + 8 >> 2], HEAPF32[$1 >> 2], HEAPF32[$1 + 20 >> 2], HEAPF32[$1 + 12 >> 2])), + HEAPF32[wasm2js_i32$0 + 20 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround($2 * float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_29(HEAPF32[$1 >> 2], HEAPF32[$1 + 4 >> 2], HEAPF32[$1 + 16 >> 2])), + HEAPF32[wasm2js_i32$0 + 32 >> 2] = wasm2js_f32$0; + HEAPF32[$0 + 12 >> 2] = HEAPF32[$0 + 4 >> 2]; + HEAPF32[$0 + 24 >> 2] = HEAPF32[$0 + 8 >> 2]; + HEAPF32[$0 + 28 >> 2] = HEAPF32[$0 + 20 >> 2]; + } + return !$4; +} + +function bool_20vision__OrthogonalizePivot8x9Basis0_float__28float__2c_20float__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($1), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + $3 = $1 + 36 | 0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($3), + HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($1 + 72 | 0), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($1 + 108 | 0), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($1 + 144 | 0), + HEAPF32[wasm2js_i32$0 + 16 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($1 + 180 | 0), + HEAPF32[wasm2js_i32$0 + 20 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($1 + 216 | 0), + HEAPF32[wasm2js_i32$0 + 24 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($1 + 252 | 0), + HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; + $4 = int_20vision__MaxIndex8_float__28float_20const__29($2); + $5 = ($4 << 2) + $2 | 0; + $6 = HEAPF32[$5 >> 2]; + if ($6 != Math_fround(0)) { + void_20vision__Swap9_float__28float__2c_20float__29($1, Math_imul($4, 36) + $1 | 0); + void_20vision__ScaleVector9_float__28float__2c_20float_20const__2c_20float_29($0, $1, Math_fround(Math_fround(1) / sqrt_28float_29(HEAPF32[$5 >> 2]))); + void_20vision__CopyVector_float__28float__2c_20float_20const__2c_20unsigned_20long_29($0 + 36 | 0, $3, 63); + } + __stack_pointer = $2 + 32 | 0; + return $6 != Math_fround(0); +} + +function __multi3($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0; + $11 = $2; + $9 = $8; + $9 = __wasm_i64_mul($1, $11, $7, $9); + $8 = $9; + $11 = i64toi32_i32$HIGH_BITS; + $7 = $11; + $11 = $4; + $9 = $6; + $9 = __wasm_i64_mul($3, $11, $5, $9); + $13 = $9; + $11 = i64toi32_i32$HIGH_BITS; + $9 = $11; + $11 = $7; + $12 = $11 + $9 | 0; + $9 = $8; + $10 = $9 + $13 | 0; + $14 = $10; + $12 = $10 >>> 0 < $13 >>> 0 ? $12 + 1 | 0 : $12; + $10 = $12; + $9 = 0; + $4 = $9; + $11 = 0; + $8 = $11; + $12 = $6; + $3 = $12; + $9 = $2; + $7 = $9; + $12 = __wasm_i64_mul($6, $4, $9, $11); + $13 = $12; + $11 = i64toi32_i32$HIGH_BITS; + $12 = $11; + $11 = $10; + $10 = $11 + $12 | 0; + $9 = $14; + $9 = $9 + $13 | 0; + $10 = $9 >>> 0 < $13 >>> 0 ? $10 + 1 | 0 : $10; + $15 = $9; + $16 = $10; + $11 = $5; + $5 = $11; + $9 = 0; + $6 = $9; + $10 = $1; + $1 = $10; + $11 = 0; + $2 = $11; + $11 = $6; + $10 = $2; + $10 = __wasm_i64_mul($5, $11, $1, $10); + $14 = $10; + $10 = 0; + $2 = $10; + $11 = i64toi32_i32$HIGH_BITS; + $10 = $6; + $9 = $8; + $9 = __wasm_i64_mul($5, $10, $7, $9); + $13 = $9; + $12 = $11 + $9 | 0; + $10 = i64toi32_i32$HIGH_BITS; + $9 = $10; + $10 = $2; + $9 = $9 + $10 | 0; + $5 = $12; + $9 = $12 >>> 0 < $13 >>> 0 ? $9 + 1 | 0 : $9; + $6 = $9; + $11 = 0; + $10 = $11; + $11 = $16; + $12 = $11 + $10 | 0; + $9 = $15; + $13 = $6; + $9 = $9 + $13 | 0; + $12 = $9 >>> 0 < $13 >>> 0 ? $12 + 1 | 0 : $12; + $7 = $9; + $6 = $12; + $12 = $2; + $9 = $4; + $9 = __wasm_i64_mul($1, $12, $3, $9); + $12 = i64toi32_i32$HIGH_BITS; + $1 = $12; + $11 = $5; + $13 = $11; + $12 = $9; + $10 = $11 + $12 | 0; + $9 = 0; + $11 = $9; + $9 = $1; + $9 = $11 + $9 | 0; + $1 = $10; + $9 = $13 >>> 0 > $10 >>> 0 ? $9 + 1 | 0 : $9; + $2 = $9; + $12 = 0; + $9 = $12; + $12 = $6; + $10 = $9 + $12 | 0; + $9 = $7; + $13 = $2; + $11 = $9 + $13 | 0; + $10 = $11 >>> 0 < $13 >>> 0 ? $10 + 1 | 0 : $10; + $9 = $0; + HEAP32[$9 + 8 >> 2] = $11; + HEAP32[$9 + 12 >> 2] = $10; + $9 = 0; + $2 = $9; + $12 = $14; + $9 = $12; + $13 = 0; + $3 = $9 | $13; + $9 = $0; + HEAP32[$9 >> 2] = $3; + $10 = $1; + $12 = $2; + $10 = $10 | $12; + HEAP32[$9 + 4 >> 2] = $10; +} + +function void_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______push_back_slow_path_vision__PriorityQueueItem_96__20const___28vision__PriorityQueueItem_96__20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______alloc_28_29($0); + $2 = std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__PriorityQueueItem_96____29($3 + 8 | 0, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______recommend_28unsigned_20long_29_20const($0, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____size_28_29_20const($0) + 1 | 0), std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____size_28_29_20const($0), $4); + void_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____construct_vision__PriorityQueueItem_96__2c_20vision__PriorityQueueItem_96__20const__2c_20void__28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96__20const__29($4, vision__PriorityQueueItem_96___20std____2____to_address_vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___29(HEAP32[$2 + 8 >> 2]), $1); + HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 8; + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______swap_out_circular_buffer_28std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______29($0, $2); + std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_________split_buffer_28_29($2); + __stack_pointer = $3 + 32 | 0; +} + +function std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______operator_5b_5d_28int_20const__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__tuple_int_20const___20std____2__forward_as_tuple_int_20const___28int_20const__29($1), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + std____2__tuple___20std____2__forward_as_tuple___28_29(); + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________emplace_unique_key_args_int_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28int_20const__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($2 + 24 | 0, $0, $1, 26664, $2 + 16 | 0, $2 + 8 | 0); + $1 = std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______get_value_28_29(std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______operator___28_29_20const($2 + 24 | 0)); + __stack_pointer = $2 + 32 | 0; + return $1 + 4 | 0; +} + +function std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________destruct_at_end_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1) { + std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________destruct_at_end_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______swap_out_circular_buffer_28std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_____29($0, $1) { + var $2 = 0; + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_unsigned_20short__2c_20unsigned_20short_2c_20void__28std____2__allocator_unsigned_20short___2c_20unsigned_20short__2c_20unsigned_20short__2c_20unsigned_20short___29(std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_unsigned_20short____value_20___20is_move_assignable_unsigned_20short____value_2c_20void___type_20std____2__swap_unsigned_20short___28unsigned_20short___2c_20unsigned_20short___29($0, $2); + std____2__enable_if_is_move_constructible_unsigned_20short____value_20___20is_move_assignable_unsigned_20short____value_2c_20void___type_20std____2__swap_unsigned_20short___28unsigned_20short___2c_20unsigned_20short___29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_unsigned_20short____value_20___20is_move_assignable_unsigned_20short____value_2c_20void___type_20std____2__swap_unsigned_20short___28unsigned_20short___2c_20unsigned_20short___29(std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______end_cap_28_29($0), std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____size_28_29_20const($0)); + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______invalidate_all_iterators_28_29($0); +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______reset_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______operator_28_29_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____29(std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______second_28_29($0), $2); + } +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______hash_table_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________unique_ptr_true_2c_20void__28_29($0); + std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________compressed_pair_true_2c_20void__28_29($0 + 8 | 0); + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0 + 12 | 0, $1 + 12 | 0, $1 + 8 | 0); + HEAP32[$1 + 4 >> 2] = 1065353216; + std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0 + 16 | 0, $1 + 4 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePointerToMemberType_28_29($0) { + var $1 = 0, $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = 0; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 77)) { + break label$1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$2 + 12 >> 2] = $1; + label$2: { + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseType_28_29($0); + HEAP32[$2 + 8 >> 2] = $1; + if (!$1) { + break label$2; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PointerToMemberType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2 + 12 | 0, $2 + 8 | 0); + break label$1; + } + $1 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2____put_character_sequence_char_2c_20std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry__sentry_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29($3 + 24 | 0, $0); + label$1: { + if (!std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry__operator_20bool_28_29_20const($4)) { + break label$1; + } + $6 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____ostreambuf_iterator_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29($3 + 8 | 0, $0); + $7 = std____2__ios_base__flags_28_29_20const(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0); + $5 = HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0; + $8 = std____2__basic_ios_char_2c_20std____2__char_traits_char____fill_28_29_20const($5); + $2 = $1 + $2 | 0; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____pad_and_output_char_2c_20std____2__char_traits_char___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20char_20const__2c_20char_20const__2c_20char_20const__2c_20std____2__ios_base__2c_20char_29(HEAP32[$6 >> 2], $1, ($7 & 176) == 32 ? $2 : $1, $2, $5, $8), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + if (!std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____failed_28_29_20const($3 + 16 | 0)) { + break label$1; + } + std____2__basic_ios_char_2c_20std____2__char_traits_char____setstate_28unsigned_20int_29(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0, 5); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry___sentry_28_29($4); + __stack_pointer = $3 + 32 | 0; + return $0; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_200_2c_20false_____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____29($0, $1); + std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_201_2c_20false_____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20void__28std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______29($1 + 4 | 0, $2); + return $1; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______append_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + if (HEAP32[std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] >> 3 >>> 0 >= $1 >>> 0) { + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______construct_at_end_28unsigned_20long_29($0, $1); + break label$1; + } + $2 = std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______alloc_28_29($0); + $2 = std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_std____2__pair_float_2c_20int____29($3 + 8 | 0, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______recommend_28unsigned_20long_29_20const($0, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____size_28_29_20const($0) + $1 | 0), std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____size_28_29_20const($0), $2); + std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________construct_at_end_28unsigned_20long_29($2, $1); + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______swap_out_circular_buffer_28std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int______29($0, $2); + std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_________split_buffer_28_29($2); + } + __stack_pointer = $3 + 32 | 0; +} + +function getTransMatMultiSquareRobust($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 8 | 0, $2)) { + $1 = HEAP32[18567]; + break label$1; + } + $0 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 12 | 0); + $3 = $0 + 328 | 0; + if (!(std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____size_28_29_20const($3) >>> 0 > $1 >>> 0 & ($1 | 0) >= 0)) { + $1 = HEAP32[18569]; + break label$1; + } + $1 = std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____operator_5b_5d_28unsigned_20long_29($3, $1); + $3 = HEAP32[$0 + 228 >> 2]; + $0 = HEAP32[$0 + 216 >> 2]; + $1 = HEAP32[$1 + 4 >> 2]; + arGetTransMatMultiSquareRobust($3, $0 + 48 | 0, HEAP32[$0 + 44 >> 2], $1); + matrixCopy($1 + 8 | 0, 78288); + $1 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $1 | 0; +} + +function decode_mcu_AC_refine($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, $10 = 0, $11 = 0; + $3 = HEAP32[$0 + 468 >> 2]; + if (HEAP32[$0 + 280 >> 2]) { + $2 = HEAP32[$3 + 56 >> 2]; + if (!$2) { + process_restart($0); + $2 = HEAP32[$3 + 56 >> 2]; + } + HEAP32[$3 + 56 >> 2] = $2 - 1; + } + label$3: { + if (HEAP32[$3 + 20 >> 2] == -1) { + break label$3; + } + $2 = HEAP32[$0 + 424 >> 2]; + $6 = -1 << $2; + $7 = 1 << $2; + $4 = HEAP32[$0 + 416 >> 2]; + $8 = HEAP32[$1 >> 2]; + $9 = HEAP32[$0 + 432 >> 2]; + $2 = HEAP32[HEAP32[$0 + 344 >> 2] + 24 >> 2]; + label$4: { + while (1) { + if (HEAPU16[(HEAP32[($4 << 2) + $9 >> 2] << 1) + $8 >> 1]) { + break label$4; + } + $4 = $4 - 1 | 0; + if ($4) { + continue; + } + break; + } + $4 = 0; + } + $10 = $3 + 188 | 0; + $1 = HEAP32[$0 + 412 >> 2] - 1 | 0; + $11 = ($2 << 2) + $3 | 0; + while (1) { + $2 = HEAP32[$11 + 124 >> 2] + Math_imul($1, 3) | 0; + if (($1 | 0) >= ($4 | 0)) { + if (arith_decode($0, $2)) { + break label$3; + } + } + label$8: { + label$9: { + label$10: { + while (1) { + $1 = $1 + 1 | 0; + $5 = (HEAP32[($1 << 2) + $9 >> 2] << 1) + $8 | 0; + if (HEAPU16[$5 >> 1]) { + if (!arith_decode($0, $2 + 2 | 0)) { + break label$8; + } + $2 = HEAP16[$5 >> 1]; + if (($2 | 0) >= 0) { + break label$10; + } + $2 = $2 + $6 | 0; + break label$9; + } + if (arith_decode($0, $2 + 1 | 0)) { + $2 = arith_decode($0, $10) ? $6 : $7; + break label$9; + } + $2 = $2 + 3 | 0; + if (HEAP32[$0 + 416 >> 2] > ($1 | 0)) { + continue; + } + break; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 117; + FUNCTION_TABLE[HEAP32[$1 + 4 >> 2]]($0, -1); + HEAP32[$3 + 20 >> 2] = -1; + return 1; + } + $2 = $2 + $7 | 0; + } + HEAP16[$5 >> 1] = $2; + } + if (HEAP32[$0 + 416 >> 2] > ($1 | 0)) { + continue; + } + break; + } + } + return 1; } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJvidEE8getTypesEv(i1) { - i1 = i1 | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJvidEEEE3getEv() | 0; +function decode_mcu_DC_refine_1($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; + $5 = __stack_pointer - 32 | 0; + __stack_pointer = $5; + $3 = HEAP32[$0 + 468 >> 2]; + label$1: { + label$2: { + if (HEAP32[$3 + 44 >> 2] | !HEAP32[$0 + 280 >> 2]) { + break label$2; + } + $2 = HEAP32[$0 + 464 >> 2]; + $4 = $3 + 16 | 0; + HEAP32[$2 + 24 >> 2] = HEAP32[$2 + 24 >> 2] + (HEAP32[$4 >> 2] / 8 | 0); + HEAP32[$3 + 16 >> 2] = 0; + if (!(FUNCTION_TABLE[HEAP32[$2 + 8 >> 2]]($0) | 0)) { + break label$1; + } + if (HEAP32[$0 + 340 >> 2] > 0) { + $2 = 0; + while (1) { + HEAP32[(($2 << 2) + $3 | 0) + 24 >> 2] = 0; + $2 = $2 + 1 | 0; + if (($2 | 0) < HEAP32[$0 + 340 >> 2]) { + continue; + } + break; + } + } + HEAP32[$3 + 20 >> 2] = 0; + HEAP32[$3 + 44 >> 2] = HEAP32[$0 + 280 >> 2]; + if (HEAP32[$0 + 440 >> 2]) { + break label$2; + } + HEAP32[$3 + 40 >> 2] = 0; + } + HEAP32[$5 + 24 >> 2] = $0; + $4 = HEAP32[$0 + 24 >> 2]; + $6 = HEAP32[$4 >> 2]; + HEAP32[$5 + 8 >> 2] = $6; + $7 = HEAP32[$4 + 4 >> 2]; + HEAP32[$5 + 12 >> 2] = $7; + $9 = 1; + $2 = HEAP32[$3 + 16 >> 2]; + $8 = HEAP32[$3 + 12 >> 2]; + if (HEAP32[$0 + 368 >> 2] > 0) { + $7 = 1 << HEAP32[$0 + 424 >> 2]; + $4 = 0; + while (1) { + if (($2 | 0) <= 0) { + if (!jpeg_fill_bit_buffer($5 + 8 | 0, $8, $2, 1)) { + $9 = 0; + break label$1; + } + $8 = HEAP32[$5 + 16 >> 2]; + $2 = HEAP32[$5 + 20 >> 2]; + } + $2 = $2 - 1 | 0; + if ($8 >>> $2 & 1) { + $6 = HEAP32[($4 << 2) + $1 >> 2]; + HEAP16[$6 >> 1] = HEAPU16[$6 >> 1] | $7; + } + $4 = $4 + 1 | 0; + if (($4 | 0) < HEAP32[$0 + 368 >> 2]) { + continue; + } + break; + } + $7 = HEAP32[$5 + 12 >> 2]; + $6 = HEAP32[$5 + 8 >> 2]; + $4 = HEAP32[$0 + 24 >> 2]; + } + HEAP32[$4 + 4 >> 2] = $7; + HEAP32[$4 >> 2] = $6; + HEAP32[$3 + 16 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $8; + HEAP32[$3 + 44 >> 2] = HEAP32[$3 + 44 >> 2] - 1; + } + __stack_pointer = $5 + 32 | 0; + return $9 | 0; +} + +function __cxxabiv1____vmi_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($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, $9 = 0, $10 = 0, $11 = 0; + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], $5)) { + __cxxabiv1____class_type_info__process_static_type_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_29_20const($1, $1, $2, $3, $4); + return; + } + $7 = HEAPU8[$1 + 53 | 0]; + $9 = HEAP32[$0 + 12 >> 2]; + HEAP8[$1 + 53 | 0] = 0; + $8 = HEAPU8[$1 + 52 | 0]; + HEAP8[$1 + 52 | 0] = 0; + $6 = $0 + 16 | 0; + __cxxabiv1____base_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($6, $1, $2, $3, $4, $5); + $10 = HEAPU8[$1 + 53 | 0]; + $7 = $10 | $7; + $11 = HEAPU8[$1 + 52 | 0]; + $8 = $11 | $8; + $9 = ($9 << 3) + $6 | 0; + $6 = $0 + 24 | 0; + label$2: { + if ($9 >>> 0 <= $6 >>> 0) { + break label$2; + } + while (1) { + $8 = $8 & 1; + $7 = $7 & 1; + if (HEAPU8[$1 + 54 | 0]) { + break label$2; + } + label$4: { + if ($11) { + if (HEAP32[$1 + 24 >> 2] == 1) { + break label$2; + } + if (HEAPU8[$0 + 8 | 0] & 2) { + break label$4; + } + break label$2; + } + if (!$10) { + break label$4; + } + if (!(HEAP8[$0 + 8 | 0] & 1)) { + break label$2; + } + } + HEAP16[$1 + 52 >> 1] = 0; + __cxxabiv1____base_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($6, $1, $2, $3, $4, $5); + $10 = HEAPU8[$1 + 53 | 0]; + $7 = $10 | $7; + $11 = HEAPU8[$1 + 52 | 0]; + $8 = $11 | $8; + $6 = $6 + 8 | 0; + if ($6 >>> 0 < $9 >>> 0) { + continue; + } + break; + } + } + HEAP8[$1 + 53 | 0] = ($7 & 255) != 0; + HEAP8[$1 + 52 | 0] = ($8 & 255) != 0; } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiEE8getTypesEv(i1) { - i1 = i1 | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiiEEEE3getEv() | 0; +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________base_destruct_at_end_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 12 | 0; + void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______destroy_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________alloc_28_29($0), std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____20std____2____to_address_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function getTransMatMultiSquare($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 8 | 0, $2)) { + $1 = HEAP32[18567]; + break label$1; + } + $0 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 12 | 0); + $3 = $0 + 328 | 0; + if (!(std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____size_28_29_20const($3) >>> 0 > $1 >>> 0 & ($1 | 0) >= 0)) { + $1 = HEAP32[18569]; + break label$1; + } + $1 = std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____operator_5b_5d_28unsigned_20long_29($3, $1); + $3 = HEAP32[$0 + 228 >> 2]; + $0 = HEAP32[$0 + 216 >> 2]; + $1 = HEAP32[$1 + 4 >> 2]; + arGetTransMatMultiSquare($3, $0 + 48 | 0, HEAP32[$0 + 44 >> 2], $1); + matrixCopy($1 + 8 | 0, 78288); + $1 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $1 | 0; +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______swap_out_circular_buffer_28std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_____29($0, $1) { + var $2 = 0; + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__match_t__2c_20vision__match_t_2c_20void__28std____2__allocator_vision__match_t___2c_20vision__match_t__2c_20vision__match_t__2c_20vision__match_t___29(std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_vision__match_t____value_20___20is_move_assignable_vision__match_t____value_2c_20void___type_20std____2__swap_vision__match_t___28vision__match_t___2c_20vision__match_t___29($0, $2); + std____2__enable_if_is_move_constructible_vision__match_t____value_20___20is_move_assignable_vision__match_t____value_2c_20void___type_20std____2__swap_vision__match_t___28vision__match_t___2c_20vision__match_t___29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_vision__match_t____value_20___20is_move_assignable_vision__match_t____value_2c_20void___type_20std____2__swap_vision__match_t___28vision__match_t___2c_20vision__match_t___29(std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______end_cap_28_29($0), std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0)); + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______invalidate_all_iterators_28_29($0); +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______swap_out_circular_buffer_28std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____29($0, $1) { + var $2 = 0; + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_unsigned_20char__2c_20unsigned_20char_2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char___29(std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_unsigned_20char____value_20___20is_move_assignable_unsigned_20char____value_2c_20void___type_20std____2__swap_unsigned_20char___28unsigned_20char___2c_20unsigned_20char___29($0, $2); + std____2__enable_if_is_move_constructible_unsigned_20char____value_20___20is_move_assignable_unsigned_20char____value_2c_20void___type_20std____2__swap_unsigned_20char___28unsigned_20char___2c_20unsigned_20char___29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_unsigned_20char____value_20___20is_move_assignable_unsigned_20char____value_2c_20void___type_20std____2__swap_unsigned_20char___28unsigned_20char___2c_20unsigned_20char___29(std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______end_cap_28_29($0), std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0)); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______invalidate_all_iterators_28_29($0); +} + +function fgets($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + if (HEAP32[$2 + 76 >> 2] >= 0) { + $7 = __lockfile($2); + } + $5 = $1 - 1 | 0; + label$2: { + if (($1 | 0) >= 2) { + $1 = $0; + label$4: { + while (1) { + label$6: { + label$7: { + label$8: { + $3 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + if (($3 | 0) == ($4 | 0)) { + break label$8; + } + $6 = memchr($3, 10, $4 - $3 | 0); + label$9: { + if ($6) { + $4 = HEAP32[$2 + 4 >> 2]; + $3 = ($6 - $4 | 0) + 1 | 0; + break label$9; + } + $4 = HEAP32[$2 + 4 >> 2]; + $3 = HEAP32[$2 + 8 >> 2] - $4 | 0; + } + $3 = $3 >>> 0 < $5 >>> 0 ? $3 : $5; + __memcpy($1, $4, $3); + $4 = HEAP32[$2 + 4 >> 2] + $3 | 0; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $1 + $3 | 0; + if ($6) { + break label$6; + } + $5 = $5 - $3 | 0; + if (!$5) { + break label$6; + } + if (HEAP32[$2 + 8 >> 2] == ($4 | 0)) { + break label$8; + } + HEAP32[$2 + 4 >> 2] = $4 + 1; + $3 = HEAPU8[$4 | 0]; + break label$7; + } + $3 = __uflow($2); + if (($3 | 0) >= 0) { + break label$7; + } + $3 = 0; + if (($0 | 0) == ($1 | 0)) { + break label$4; + } + if (HEAPU8[$2 | 0] & 16) { + break label$6; + } + break label$4; + } + HEAP8[$1 | 0] = $3; + $1 = $1 + 1 | 0; + if (($3 & 255) == 10) { + break label$6; + } + $5 = $5 - 1 | 0; + if ($5) { + continue; + } + } + break; + } + if (!$0) { + $3 = 0; + break label$4; + } + HEAP8[$1 | 0] = 0; + $3 = $0; + } + if (!$7) { + break label$2; + } + __unlockfile($2); + break label$2; + } + $1 = HEAP32[$2 + 72 >> 2]; + HEAP32[$2 + 72 >> 2] = $1 | $1 - 1; + if ($7) { + __unlockfile($2); + } + if ($5) { + break label$2; + } + HEAP8[$0 | 0] = 0; + return $0; + } + return $3; } -function __ZN6vision21HoughSimilarityVoting26setObjectCenterInReferenceEff(i1, d2, d3) { - i1 = i1 | 0; - d2 = +d2; - d3 = +d3; - HEAPF32[i1 + 8 >> 2] = d2; - HEAPF32[i1 + 12 >> 2] = d3; - return; +function std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______hash_table_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________unique_ptr_true_2c_20void__28_29($0); + std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________compressed_pair_true_2c_20void__28_29($0 + 8 | 0); + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0 + 12 | 0, $1 + 12 | 0, $1 + 8 | 0); + HEAP32[$1 + 4 >> 2] = 1065353216; + std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0 + 16 | 0, $1 + 4 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZN6vision14BinarykMedoidsILi96EE4setkEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 + 4 >> 2] = i2; - __ZNSt3__26vectorIiNS_9allocatorIiEEE6resizeEm(i1 + 12 | 0, i2); - return; +function arImageProcLumaHistAndBoxFilterWithBias($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $5 = -1; + label$1: { + if ((arImageProcLumaHist($0, $1) | 0) < 0) { + break label$1; + } + if (!HEAP32[$0 >> 2]) { + $4 = dlmalloc(Math_imul(HEAP32[$0 + 8 >> 2], HEAP32[$0 + 4 >> 2])); + HEAP32[$0 >> 2] = $4; + if (!$4) { + break label$1; + } + } + $2 = $2 >> 1; + $7 = 0 - $2 | 0; + $2 = $2 + 1 | 0; + $5 = ($2 | 0) < ($7 | 0) ? $7 : $2; + while (1) { + label$4: { + $6 = 0; + $4 = HEAP32[$0 + 8 >> 2]; + if (($8 | 0) >= ($4 | 0)) { + break label$4; + } + while (1) { + label$6: { + $11 = 0; + $12 = 0; + $9 = $7; + $10 = HEAP32[$0 + 4 >> 2]; + if (($10 | 0) <= ($6 | 0)) { + break label$6; + } + while (1) { + if (($5 | 0) != ($9 | 0)) { + label$9: { + $2 = $8 + $9 | 0; + if (($2 | 0) < 0 | HEAP32[$0 + 8 >> 2] <= ($2 | 0)) { + break label$9; + } + $13 = Math_imul($2, $10); + $2 = $7; + while (1) { + if (($2 | 0) == ($5 | 0)) { + break label$9; + } + $4 = $2 + $6 | 0; + if (!(($4 | 0) < 0 | ($4 | 0) >= ($10 | 0))) { + $12 = $12 + 1 | 0; + $11 = HEAPU8[($4 + $13 | 0) + $1 | 0] + $11 | 0; + } + $2 = $2 + 1 | 0; + continue; + } + } + $9 = $9 + 1 | 0; + continue; + } + break; + } + HEAP8[HEAP32[$0 >> 2] + (Math_imul($8, $10) + $6 | 0) | 0] = ($11 | 0) / ($12 | 0); + $6 = $6 + 1 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + break; + } + $5 = 0; + if (!$3) { + break label$1; + } + $2 = 0; + while (1) { + if ((Math_imul(HEAP32[$0 + 4 >> 2], $4) | 0) <= ($2 | 0)) { + break label$1; + } + $4 = HEAP32[$0 >> 2] + $2 | 0; + HEAP8[$4 | 0] = HEAPU8[$4 | 0] + $3; + $2 = $2 + 1 | 0; + $4 = HEAP32[$0 + 8 >> 2]; + continue; + } + } + return $5; } -function dynCall_iiiii(i5, i1, i2, i3, i4) { - i5 = i5 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - return FUNCTION_TABLE_iiiii[i5 & 15](i1 | 0, i2 | 0, i3 | 0, i4 | 0) | 0; +function std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_______shared_ptr_pointer_28vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96___29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $1 = std____2____shared_weak_count____shared_weak_count_28long_29($0, 0); + HEAP32[$1 >> 2] = 26676; + std____2____compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96_______compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96____28std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96______2c_20std____2__allocator_vision__Keyframe_96_____29($1 + 12 | 0, std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_______compressed_pair_vision__Keyframe_96____2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____28vision__Keyframe_96____2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_____29($2 + 8 | 0, $2 + 12 | 0, $2 + 24 | 0), $2 + 16 | 0); + __stack_pointer = $2 + 32 | 0; + return $1; } -function _arGetLabelingMode(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if ((i1 | 0) != 0 & (i2 | 0) != 0) { - HEAP32[i2 >> 2] = HEAP32[i1 + 12 >> 2]; - i1 = 0; - } else i1 = -1; - return i1 | 0; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________reset_28std__nullptr_t_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($1) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________second_28_29($0), $1); + } } -function __ZNSt3__213__vector_baseItNS_9allocatorItEEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); - } - return; +function void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________destroy_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1) { + std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________destroy_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1); } -function __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_copy_ctor_external_28char_20const__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0, $4 = 0; + label$1: { + label$2: { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______fits_in_sso_28unsigned_20long_29($2)) { + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_28_29($0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_short_size_28unsigned_20long_29($0, $2); + break label$2; + } + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____max_size_28_29_20const($0) >>> 0 < $2 >>> 0) { + break label$1; + } + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______recommend_28unsigned_20long_29($2); + $4 = $3 + 1 | 0; + $3 = std____2__allocator_traits_std____2__allocator_char____allocate_28std____2__allocator_char___2c_20unsigned_20long_29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0), $4); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_pointer_28char__29($0, $3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_cap_28unsigned_20long_29($0, $4); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_size_28unsigned_20long_29($0, $2); + } + std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29(char__20std____2____to_address_char__28char__29($3), $1, $2 + 1 | 0); + return; } - return; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______throw_length_error_28_29_20const($0); + abort(); } -function __ZNSt3__213__vector_baseIhNS_9allocatorIhEEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); +function atan2f($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = Math_fround(0), $6 = 0; + label$1: { + if ((__FLOAT_BITS($1) & 2147483647) >>> 0 <= 2139095040) { + if ((__FLOAT_BITS($0) & 2147483647) >>> 0 < 2139095041) { + break label$1; + } + } + return Math_fround($0 + $1); } - return; -} - -function __ZNSt3__213__vector_baseIfNS_9allocatorIfEEED2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (i2 | 0) { - HEAP32[i1 + 4 >> 2] = i2; - __ZdlPv(i2); + $2 = (wasm2js_scratch_store_f32($1), wasm2js_scratch_load_i32(2)); + if (($2 | 0) == 1065353216) { + return atanf($0); } - return; -} - -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJviEE8getTypesEv(i1) { - i1 = i1 | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJviEEEE3getEv() | 0; -} - -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiEE8getTypesEv(i1) { - i1 = i1 | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiEEEE3getEv() | 0; -} - -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJdiEE8getTypesEv(i1) { - i1 = i1 | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJdiEEEE3getEv() | 0; -} - -function __ZNSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__210__time_putD2Ev(i1 + 8 | 0); - __ZNSt3__26locale5facetD2Ev(i1); - return; -} - -function __ZNSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__210__time_putD2Ev(i1 + 8 | 0); - __ZNSt3__26locale5facetD2Ev(i1); - return; -} - -function __ZN6vision8KeyframeILi96EED2Ev(i1) { - i1 = i1 | 0; - __ZN6vision28BinaryHierarchicalClusteringILi96EED2Ev(i1 + 36 | 0); - __ZN6vision18BinaryFeatureStoreD2Ev(i1 + 8 | 0); - return; -} - -function __ZNKSt3__28numpunctIwE11do_groupingEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_(i1, i2 + 16 | 0); - return; -} - -function __ZNKSt3__28numpunctIcE11do_groupingEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_(i1, i2 + 12 | 0); - return; -} - -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiEE8getTypesEv(i1) { - i1 = i1 | 0; - return __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiEEEE3getEv() | 0; -} - -function __ZN6vision25GaussianScaleSpacePyramidD2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 13500; - __ZNSt3__213__vector_baseIN6vision5ImageENS_9allocatorIS2_EEED2Ev(i1 + 4 | 0); - return; -} - -function _start_pass_merged_upsample(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 + 452 >> 2] | 0; - HEAP32[i2 + 36 >> 2] = 0; - HEAP32[i2 + 44 >> 2] = HEAP32[i1 + 116 >> 2]; - return; -} + $6 = $2 >>> 30 & 2; + $3 = (wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2)); + $4 = $6 | $3 >>> 31; + folding_inner0: { + label$4: { + $3 = $3 & 2147483647; + label$5: { + if (!$3) { + label$7: { + switch ($4 - 2 | 0) { + case 0: + return Math_fround(3.1415927410125732); -function __ZNSt3__210__time_putD2Ev(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if ((i2 | 0) != (__ZNSt3__26__clocEv() | 0)) _freelocale(HEAP32[i1 >> 2] | 0); - return; -} - -function __ZN6vision21HoughSimilarityVoting21setRefImageDimensionsEii(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - HEAP32[i1 >> 2] = i2; - HEAP32[i1 + 4 >> 2] = i3; - return; -} - -function __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE17pointer_in_bufferEPc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return (i1 + 4096 | 0) >>> 0 >= i2 >>> 0 & i1 >>> 0 <= i2 >>> 0 | 0; -} - -function __ZN6vision17PriorityQueueItemILi96EEC2EPKNS_4NodeILi96EEEj(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - HEAP32[i1 >> 2] = i2; - HEAP32[i1 + 4 >> 2] = i3; - return; -} - -function _arSetPatternDetectionMode(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if ((i1 | 0) != 0 & i2 >>> 0 < 5) { - HEAP32[i1 + 24 >> 2] = i2; - i1 = 0; - } else i1 = -1; - return i1 | 0; -} - -function __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE9matchedIdEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 24 >> 2] | 0; -} - -function __ZN6vision28BinaryHierarchicalClusteringILi96EE13setNumCentersEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZN6vision14BinarykMedoidsILi96EE4setkEi(i1 + 12 | 0, i2); - return; -} - -function _pthread_once(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if ((HEAP32[i1 >> 2] | 0) == 324508639) return 0; - FUNCTION_TABLE_v[i2 & 3](); - HEAP32[i1 >> 2] = 324508639; - return 0; -} + case 1: + break label$7; -function __ZNSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE21__on_zero_shared_weakEv(i1) { - i1 = i1 | 0; - __ZdlPv(i1); - return; -} + default: + break label$5; + } + } + return Math_fround(-3.1415927410125732); + } + $2 = $2 & 2147483647; + if (($2 | 0) != 2139095040) { + if (!$2 | !(($3 | 0) != 2139095040 & $2 + 218103808 >>> 0 >= $3 >>> 0)) { + break folding_inner0; + } + label$12: { + if ($6) { + $5 = Math_fround(0); + if ($3 + 218103808 >>> 0 < $2 >>> 0) { + break label$12; + } + } + $5 = atanf(fabsf(Math_fround($0 / $1))); + } + $0 = $5; + label$14: { + switch ($4 | 0) { + case 1: + return Math_fround(-$0); -function _arGetDebugMode(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if ((i1 | 0) != 0 & (i2 | 0) != 0) { - HEAP32[i2 >> 2] = HEAP32[i1 >> 2]; - i1 = 0; - } else i1 = -1; - return i1 | 0; -} + case 2: + return Math_fround(Math_fround(3.1415927410125732) - Math_fround($0 + Math_fround(8.742277657347586e-8))); -function __ZN6vision10FastRandomERi(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = ((HEAP32[i1 >> 2] | 0) * 214013 | 0) + 2531011 | 0; - HEAP32[i1 >> 2] = i2; - return i2 >>> 16 & 32767 | 0; -} + case 0: + break label$5; -function __ZN12_GLOBAL__N_120register_memory_viewImEEvPKc() { - __embind_register_memory_view(__ZN10emscripten8internal6TypeIDINS_11memory_viewImEEE3getEv() | 0, 5, 45567); - return; + default: + break label$14; + } + } + return Math_fround(Math_fround($0 + Math_fround(8.742277657347586e-8)) + Math_fround(-3.1415927410125732)); + } + if (($3 | 0) == 2139095040) { + break label$4; + } + $0 = HEAPF32[($4 << 2) + 45088 >> 2]; + } + return $0; + } + return HEAPF32[($4 << 2) + 45072 >> 2]; + } + return wasm2js_scratch_store_i32(2, (wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2)) & -2147483648 | 1070141403), + wasm2js_scratch_load_f32(); } -function __ZN12_GLOBAL__N_120register_memory_viewIlEEvPKc() { - __embind_register_memory_view(__ZN10emscripten8internal6TypeIDINS_11memory_viewIlEEE3getEv() | 0, 4, 45637); - return; -} +function std____2____stdinbuf_wchar_t___pbackfail_28unsigned_20int_29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = std____2__char_traits_wchar_t___eq_int_type_28unsigned_20int_2c_20unsigned_20int_29($1, std____2__char_traits_wchar_t___eof_28_29()); + $4 = HEAPU8[$0 + 52 | 0]; + label$1: { + if ($3) { + if ($4) { + break label$1; + } + $1 = HEAP32[$0 + 48 >> 2]; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__char_traits_wchar_t___eq_int_type_28unsigned_20int_2c_20unsigned_20int_29($1, std____2__char_traits_wchar_t___eof_28_29()) ^ 1, + HEAP8[wasm2js_i32$0 + 52 | 0] = wasm2js_i32$1; + break label$1; + } + label$3: { + if (!$4) { + break label$3; + } + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__char_traits_wchar_t___to_char_type_28unsigned_20int_29(HEAP32[$0 + 48 >> 2]), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + label$4: { + switch (std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___out_28__mbstate_t__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const___2c_20char__2c_20char__2c_20char___29_20const(HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], $2 + 16 | 0, $2 + 20 | 0, $2 + 12 | 0, $2 + 24 | 0, $2 + 32 | 0, $2 + 20 | 0) - 1 | 0) { + case 2: + $3 = HEAP32[$0 + 48 >> 2]; + HEAP32[$2 + 20 >> 2] = $2 + 25; + HEAP8[$2 + 24 | 0] = $3; -function __ZN12_GLOBAL__N_120register_memory_viewIfEEvPKc() { - __embind_register_memory_view(__ZN10emscripten8internal6TypeIDINS_11memory_viewIfEEE3getEv() | 0, 6, 45505); - return; -} + default: + while (1) { + $3 = HEAP32[$2 + 20 >> 2]; + if ($3 >>> 0 <= $2 + 24 >>> 0) { + break label$3; + } + $3 = $3 - 1 | 0; + HEAP32[$2 + 20 >> 2] = $3; + if ((ungetc(HEAP8[$3 | 0], HEAP32[$0 + 32 >> 2]) | 0) != -1) { + continue; + } + break; + } + ; + break; -function __ZN12_GLOBAL__N_120register_memory_viewIeEEvPKc() { - __embind_register_memory_view(__ZN10emscripten8internal6TypeIDINS_11memory_viewIeEEE3getEv() | 0, 7, 45374); - return; + case 0: + case 1: + break label$4; + } + } + $1 = std____2__char_traits_wchar_t___eof_28_29(); + break label$1; + } + HEAP8[$0 + 52 | 0] = 1; + HEAP32[$0 + 48 >> 2] = $1; + } + __stack_pointer = $2 + 32 | 0; + return $1 | 0; } -function __ZN12_GLOBAL__N_120register_memory_viewIdEEvPKc() { - __embind_register_memory_view(__ZN10emscripten8internal6TypeIDINS_11memory_viewIdEEE3getEv() | 0, 7, 45442); - return; +function powf($0, $1) { + var $2 = 0, $3 = 0, $4 = Math_fround(0), $5 = 0, $6 = 0, $7 = 0; + $5 = (wasm2js_scratch_store_f32($1), wasm2js_scratch_load_i32(2)); + $3 = zeroinfnan($5); + label$1: { + label$2: { + label$3: { + $2 = (wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2)); + label$4: { + if ($2 - 2139095040 >>> 0 >= 2164260864) { + if ($3) { + break label$4; + } + break label$2; + } + if (!$3) { + break label$3; + } + } + $4 = Math_fround(1); + if (($2 | 0) == 1065353216) { + break label$1; + } + $3 = $5 << 1; + if (!$3) { + break label$1; + } + $2 = $2 << 1; + if (!($3 >>> 0 < 4278190081 & $2 >>> 0 <= 4278190080)) { + return Math_fround($0 + $1); + } + if (($2 | 0) == 2130706432) { + break label$1; + } + return $2 >>> 0 > 2130706431 ^ ($5 | 0) >= 0 ? Math_fround(0) : Math_fround($1 * $1); + } + if (zeroinfnan($2)) { + $4 = Math_fround($0 * $0); + if (($2 | 0) < 0) { + $4 = (checkint($5) | 0) == 1 ? Math_fround(-$4) : $4; + } + if (($5 | 0) >= 0) { + break label$1; + } + return fp_barrierf_1(Math_fround(Math_fround(1) / $4)); + } + if (($2 | 0) < 0) { + $3 = checkint($5); + if (!$3) { + return __math_invalidf($0); + } + $7 = (($3 | 0) == 1) << 16; + $2 = $2 & 2147483647; + } + if ($2 >>> 0 > 8388607) { + break label$2; + } + $2 = ((wasm2js_scratch_store_f32(Math_fround($0 * Math_fround(8388608))), wasm2js_scratch_load_i32(2)) & 2147483647) - 192937984 | 0; + } + $6 = log2_inline($2) * +$1; + wasm2js_scratch_store_f64(+$6); + $2 = wasm2js_scratch_load_i32(1) | 0; + wasm2js_scratch_load_i32(0) | 0; + $3 = $2 & 2147450880; + label$11: { + $2 = 0; + if (!$2 & ($3 | 0) == 1079967744 | $3 >>> 0 < 1079967744) { + break label$11; + } + if ($6 > 127.99999995700433) { + return __math_oflowf($7); + } + if (!($6 <= -150)) { + break label$11; + } + return __math_uflowf($7); + } + $4 = exp2_inline($6, $7); + } + return $4; +} + +function bool_20vision__OrthogonalizePivot8x9Basis4_float__28float__2c_20float__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $0 + 144 | 0; + $4 = $0 + 108 | 0; + $5 = $1 + 144 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($3, $4, $5); + $6 = $0 + 180 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($6, $4, $1 + 180 | 0); + $7 = $0 + 216 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($7, $4, $1 + 216 | 0); + $0 = $0 + 252 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($0, $4, $1 + 252 | 0); + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($3), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($6), + HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($7), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($0), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + $0 = int_20vision__MaxIndex4_float__28float_20const__29($2); + $1 = ($0 << 2) + $2 | 0; + $8 = HEAPF32[$1 >> 2]; + if ($8 != Math_fround(0)) { + $0 = Math_imul($0, 36); + void_20vision__Swap9_float__28float__2c_20float__29($3, $3 + $0 | 0); + void_20vision__Swap9_float__28float__2c_20float__29($5, $0 + $5 | 0); + void_20vision__ScaleVector9_float__28float__2c_20float_20const__2c_20float_29($3, $3, Math_fround(Math_fround(1) / sqrt_28float_29(HEAPF32[$1 >> 2]))); + } + __stack_pointer = $2 + 16 | 0; + return $8 != Math_fround(0); +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FunctionEncoding_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0; + $7 = __stack_pointer - 16 | 0; + __stack_pointer = $7; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 36); + $2 = HEAP32[$2 >> 2]; + $1 = HEAP32[$1 >> 2]; + $8 = HEAP32[$3 + 4 >> 2]; + $9 = HEAP32[$3 >> 2]; + HEAP32[$7 + 8 >> 2] = $9; + HEAP32[$7 + 12 >> 2] = $8; + $3 = HEAPU8[$6 | 0]; + $6 = HEAP32[$5 >> 2]; + $5 = HEAP32[$4 >> 2]; + HEAP32[$7 >> 2] = $9; + HEAP32[$7 + 4 >> 2] = $8; + $2 = $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding__FunctionEncoding_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers_2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual_29($0, $1, $2, $7, $5, $6, $3); + __stack_pointer = $7 + 16 | 0; + return $2; +} + +function jpeg_idct_2x4($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0; + $1 = HEAP32[$1 + 84 >> 2]; + $5 = Math_imul(HEAP32[$1 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $7 = Math_imul(HEAP32[$1 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $8 = Math_imul($5 + $7 | 0, 4433); + $7 = $8 + Math_imul($7, 6270) | 0; + $9 = Math_imul(HEAP32[$1 + 64 >> 2], HEAPU16[$2 + 32 >> 1]); + $10 = Math_imul(HEAP32[$1 >> 2], HEAPU16[$2 >> 1]); + $13 = $9 + $10 << 13; + $11 = ($7 + $13 | 0) + 33587200 | 0; + $12 = Math_imul(HEAP32[$1 + 36 >> 2], HEAP16[$2 + 18 >> 1]); + $14 = Math_imul(HEAP32[$1 + 100 >> 2], HEAP16[$2 + 50 >> 1]); + $15 = Math_imul($12 + $14 | 0, 4433); + $12 = $15 + Math_imul($12, 6270) | 0; + $16 = Math_imul(HEAP32[$1 + 68 >> 2], HEAPU16[$2 + 34 >> 1]); + $6 = HEAP32[$3 >> 2] + $4 | 0; + $0 = HEAP32[$0 + 336 >> 2] - 384 | 0; + $2 = Math_imul(HEAP32[$1 + 4 >> 2], HEAPU16[$2 + 2 >> 1]); + $1 = $16 + $2 << 13; + $17 = $12 + $1 | 0; + HEAP8[$6 | 0] = HEAPU8[$0 + ($17 + $11 >>> 16 & 1023) | 0]; + HEAP8[$6 + 1 | 0] = HEAPU8[($11 - $17 >>> 16 & 1023) + $0 | 0]; + $6 = HEAP32[$3 + 4 >> 2] + $4 | 0; + $5 = Math_imul($5, -15137) + $8 | 0; + $8 = $10 - $9 << 13; + $9 = ($5 + $8 | 0) + 33587200 | 0; + $2 = $2 - $16 << 13; + $10 = Math_imul($14, -15137) + $15 | 0; + $11 = $2 + $10 | 0; + HEAP8[$6 | 0] = HEAPU8[($9 + $11 >>> 16 & 1023) + $0 | 0]; + HEAP8[$6 + 1 | 0] = HEAPU8[($9 - $11 >>> 16 & 1023) + $0 | 0]; + $6 = HEAP32[$3 + 8 >> 2] + $4 | 0; + $2 = $2 - $10 | 0; + $5 = ($8 - $5 | 0) + 33587200 | 0; + HEAP8[$6 | 0] = HEAPU8[($2 + $5 >>> 16 & 1023) + $0 | 0]; + HEAP8[$6 + 1 | 0] = HEAPU8[($5 - $2 >>> 16 & 1023) + $0 | 0]; + $2 = HEAP32[$3 + 12 >> 2] + $4 | 0; + $1 = $1 - $12 | 0; + $3 = ($13 - $7 | 0) + 33587200 | 0; + HEAP8[$2 | 0] = HEAPU8[($1 + $3 >>> 16 & 1023) + $0 | 0]; + HEAP8[$2 + 1 | 0] = HEAPU8[($3 - $1 >>> 16 & 1023) + $0 | 0]; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___reserve_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___size_28_29_20const($0); + label$1: { + label$2: { + if ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___isInline_28_29_20const($0)) { + $2 = dlmalloc($1 << 2); + if (!$2) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____20std____2__copy__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____29(HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + HEAP32[$0 >> 2] = $2; + break label$2; + } + $2 = dlrealloc(HEAP32[$0 >> 2], $1 << 2); + HEAP32[$0 >> 2] = $2; + if (!$2) { + break label$1; + } + } + HEAP32[$0 + 8 >> 2] = ($1 << 2) + $2; + HEAP32[$0 + 4 >> 2] = ($3 << 2) + $2; + return; + } + std__terminate_28_29(); + abort(); } -function __ZN12_GLOBAL__N_120register_memory_viewIcEEvPKc() { - __embind_register_memory_view(__ZN10emscripten8internal6TypeIDINS_11memory_viewIcEEE3getEv() | 0, 0, 45884); - return; +function embind_init_builtin_28_29() { + _embind_register_void(65056, 32780); + _embind_register_bool(65068, 31379, 1, 1, 0); + _embind_register_integer(65080, 30752, 1, -128, 127); + _embind_register_integer(65104, 30745, 1, -128, 127); + _embind_register_integer(65092, 30743, 1, 0, 255); + _embind_register_integer(65116, 29473, 2, -32768, 32767); + _embind_register_integer(65128, 29464, 2, 0, 65535); + _embind_register_integer(65140, 29539, 4, -2147483648, 2147483647); + _embind_register_integer(65152, 29530, 4, 0, -1); + _embind_register_integer(65164, 31587, 4, -2147483648, 2147483647); + _embind_register_integer(65176, 31578, 4, 0, -1); + legalfunc$_embind_register_bigint(65188, 29791, 8, 0, -2147483648, -1, 2147483647); + legalfunc$_embind_register_bigint(65200, 29790, 8, 0, 0, -1, -1); + _embind_register_float(65212, 29733, 4); + _embind_register_float(65224, 32224, 8); + _embind_register_std_string(40256, 31635); + _embind_register_std_string(44320, 36683); + _embind_register_std_wstring(44392, 4, 31604); + _embind_register_std_wstring(44468, 2, 31647); + _embind_register_std_wstring(44544, 4, 31662); + _embind_register_emval(44572, 31464); + _embind_register_memory_view(44612, 0, 36614); + _embind_register_memory_view(44652, 0, 36716); + _embind_register_memory_view(44692, 1, 36644); + _embind_register_memory_view(44732, 2, 36236); + _embind_register_memory_view(44772, 3, 36267); + _embind_register_memory_view(44812, 4, 36307); + _embind_register_memory_view(44852, 5, 36336); + _embind_register_memory_view(44892, 4, 36753); + _embind_register_memory_view(44932, 5, 36783); + _embind_register_memory_view(44652, 0, 36438); + _embind_register_memory_view(44692, 1, 36405); + _embind_register_memory_view(44732, 2, 36504); + _embind_register_memory_view(44772, 3, 36470); + _embind_register_memory_view(44812, 4, 36571); + _embind_register_memory_view(44852, 5, 36537); + _embind_register_memory_view(44972, 6, 36374); + _embind_register_memory_view(45012, 7, 36822); +} + +function void_20std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______push_back_slow_path_vision__Node_96__20const__20const___28vision__Node_96__20const__20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______alloc_28_29($0); + $2 = std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__Node_96__20const____29($3 + 8 | 0, std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______recommend_28unsigned_20long_29_20const($0, std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____size_28_29_20const($0) + 1 | 0), std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____size_28_29_20const($0), $4); + void_20std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____construct_vision__Node_96__20const__2c_20vision__Node_96__20const__20const__2c_20void__28std____2__allocator_vision__Node_96__20const____2c_20vision__Node_96__20const___2c_20vision__Node_96__20const__20const__29($4, vision__Node_96__20const___20std____2____to_address_vision__Node_96__20const___28vision__Node_96__20const___29(HEAP32[$2 + 8 >> 2]), $1); + HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 4; + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______swap_out_circular_buffer_28std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const______29($0, $2); + std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_________split_buffer_28_29($2); + __stack_pointer = $3 + 32 | 0; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______reset_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______operator_28_29_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____29(std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______second_28_29($0), $2); + } +} + +function jpeg_idct_3x6($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0; + $16 = HEAP32[$0 + 336 >> 2]; + $0 = HEAP32[$1 + 84 >> 2]; + $5 = __stack_pointer; + $13 = $5 - 80 | 0; + $1 = $13; + while (1) { + $7 = HEAP32[$0 + 64 >> 2]; + $12 = HEAP16[$2 + 32 >> 1]; + $9 = Math_imul(HEAP16[$2 >> 1], HEAP32[$0 >> 2]) << 13 | 1024; + $10 = Math_imul(HEAP32[$0 + 128 >> 2], HEAP16[$2 + 64 >> 1]); + $14 = $9 + Math_imul($10, -11586) >> 11; + $5 = Math_imul(HEAP32[$0 + 32 >> 2], HEAP16[$2 + 16 >> 1]); + $6 = Math_imul(HEAP32[$0 + 96 >> 2], HEAP16[$2 + 48 >> 1]); + $8 = Math_imul(HEAP32[$0 + 160 >> 2], HEAP16[$2 + 80 >> 1]); + $15 = $5 - ($6 + $8 | 0) << 2; + HEAP32[$1 + 48 >> 2] = $14 - $15; + HEAP32[$1 + 12 >> 2] = $14 + $15; + $7 = Math_imul(Math_imul($7, $12), 10033); + $12 = Math_imul($10, 5793) + $9 | 0; + $10 = $7 + $12 | 0; + $9 = Math_imul($5 + $8 | 0, 2998); + $5 = $9 + ($5 + $6 << 13) | 0; + HEAP32[$1 + 60 >> 2] = $10 - $5 >> 11; + HEAP32[$1 >> 2] = $5 + $10 >> 11; + $5 = $12 - $7 | 0; + $6 = ($8 - $6 << 13) + $9 | 0; + HEAP32[$1 + 36 >> 2] = $5 - $6 >> 11; + HEAP32[$1 + 24 >> 2] = $5 + $6 >> 11; + $1 = $1 + 4 | 0; + $0 = $0 + 4 | 0; + $2 = $2 + 2 | 0; + $11 = $11 + 1 | 0; + if (($11 | 0) != 3) { + continue; + } + break; + } + $0 = $16 - 384 | 0; + $2 = $13; + $1 = 0; + while (1) { + $5 = HEAP32[($1 << 2) + $3 >> 2] + $4 | 0; + $7 = Math_imul(HEAP32[$2 + 4 >> 2], 10033); + $6 = (HEAP32[$2 >> 2] << 13) + 134348800 | 0; + $8 = HEAP32[$2 + 8 >> 2]; + $11 = $6 + Math_imul($8, 5793) | 0; + HEAP8[$5 | 0] = HEAPU8[($7 + $11 >>> 18 & 1023) + $0 | 0]; + HEAP8[$5 + 2 | 0] = HEAPU8[($11 - $7 >>> 18 & 1023) + $0 | 0]; + HEAP8[$5 + 1 | 0] = HEAPU8[(Math_imul($8, 268423870) + $6 >>> 18 & 1023) + $0 | 0]; + $2 = $2 + 12 | 0; + $1 = $1 + 1 | 0; + if (($1 | 0) != 6) { + continue; + } + break; + } } -function __ZNK6vision18BinaryFeatureStore7featureEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - i2 = Math_imul(HEAP32[i1 >> 2] | 0, i2) | 0; - return (HEAP32[i1 + 4 >> 2] | 0) + i2 | 0; -} +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______2c_20true_____good_rval_ref_type_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______29($0, $3 + 12 | 0, $2); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__CastExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer + -64 | 0; + __stack_pointer = $2; + $3 = HEAP32[$0 + 12 >> 2]; + $4 = $0; + $5 = HEAP32[$4 + 8 >> 2]; + HEAP32[$2 + 24 >> 2] = $5; + HEAP32[$2 + 28 >> 2] = $3; + HEAP32[$2 + 56 >> 2] = $5; + HEAP32[$2 + 60 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 24 | 0); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 48 | 0, 37315); + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $3; + HEAP32[$2 + 20 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $3 = HEAP32[$0 + 16 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$3 >> 2] + 16 >> 2]]($3, $1); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37895); + $5 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $0 = HEAP32[$0 + 20 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 37866); + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 >> 2] = $3; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 - -64 | 0; +} + +function ar2ScreenCoord2MarkerCoord($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = Math_fround(0), $8 = Math_fround(0), $9 = 0, $10 = Math_fround(0), $11 = Math_fround(0), $12 = Math_fround(0), $13 = Math_fround(0); + $6 = __stack_pointer + -64 | 0; + __stack_pointer = $6; + label$1: { + label$2: { + if (!$0) { + $8 = HEAPF32[$1 + 44 >> 2]; + $10 = Math_fround(HEAPF32[$1 + 28 >> 2] - Math_fround($8 * $3)); + $13 = HEAPF32[$1 + 36 >> 2]; + $11 = Math_fround(Math_fround($13 * $3) - HEAPF32[$1 + 20 >> 2]); + $7 = HEAPF32[$1 + 32 >> 2]; + $3 = Math_fround(Math_fround($7 * $3) - HEAPF32[$1 + 16 >> 2]); + $7 = Math_fround(Math_fround($7 * $2) - HEAPF32[$1 >> 2]); + $12 = Math_fround(HEAPF32[$1 + 12 >> 2] - Math_fround($8 * $2)); + $2 = Math_fround(Math_fround($13 * $2) - HEAPF32[$1 + 4 >> 2]); + break label$2; + } + $9 = -1; + if ((arParamObserv2IdealLTf($0 + 184 | 0, $2, $3, $6 + 60 | 0, $6 + 56 | 0) | 0) < 0) { + break label$1; + } + arUtilMatMuldff($0 + 8 | 0, $1, $6); + $2 = HEAPF32[$6 + 44 >> 2]; + $3 = HEAPF32[$6 + 56 >> 2]; + $10 = Math_fround(HEAPF32[$6 + 28 >> 2] - Math_fround($2 * $3)); + $7 = HEAPF32[$6 + 60 >> 2]; + $12 = Math_fround(HEAPF32[$6 + 12 >> 2] - Math_fround($2 * $7)); + $2 = HEAPF32[$6 + 36 >> 2]; + $11 = Math_fround(Math_fround($2 * $3) - HEAPF32[$6 + 20 >> 2]); + $8 = HEAPF32[$6 + 32 >> 2]; + $3 = Math_fround(Math_fround($8 * $3) - HEAPF32[$6 + 16 >> 2]); + $2 = Math_fround(Math_fround($2 * $7) - HEAPF32[$6 + 4 >> 2]); + $7 = Math_fround(Math_fround($8 * $7) - HEAPF32[$6 >> 2]); + } + $9 = -1; + $8 = Math_fround(Math_fround($7 * $11) - Math_fround($3 * $2)); + if ($8 == Math_fround(0)) { + break label$1; + } + HEAPF32[$4 >> 2] = Math_fround(Math_fround($11 * $12) + Math_fround($10 * Math_fround(-$2))) / $8; + HEAPF32[$5 >> 2] = Math_fround(Math_fround($7 * $10) - Math_fround($12 * $3)) / $8; + $9 = 0; + } + __stack_pointer = $6 - -64 | 0; + $1 = $9; + return $1; +} + +function unsigned_20long_20long_20std____2____num_get_unsigned_integral_unsigned_20long_20long__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + label$1: { + label$2: { + label$3: { + label$4: { + if (($0 | 0) != ($1 | 0)) { + label$6: { + label$7: { + $7 = HEAPU8[$0 | 0]; + if (($7 | 0) != 45) { + break label$7; + } + $0 = $0 + 1 | 0; + if (($1 | 0) != ($0 | 0)) { + break label$7; + } + break label$6; + } + $5 = __errno_location(); + $9 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = 0; + std____2____cloc_28_29(); + $0 = strtoull_l_28char_20const__2c_20char___2c_20int_2c_20__locale_struct__29($0, $4 + 12 | 0, $3); + $3 = $0; + $6 = i64toi32_i32$HIGH_BITS; + $0 = HEAP32[$5 >> 2]; + label$8: { + if ($0) { + if (HEAP32[$4 + 12 >> 2] != ($1 | 0)) { + break label$8; + } + if (($0 | 0) == 68) { + break label$3; + } + break label$4; + } + HEAP32[$5 >> 2] = $9; + if (HEAP32[$4 + 12 >> 2] == ($1 | 0)) { + break label$4; + } + } + } + } + HEAP32[$2 >> 2] = 4; + $0 = 0; + break label$1; + } + $1 = std____2__numeric_limits_unsigned_20long_20long___max_28_29(); + $0 = i64toi32_i32$HIGH_BITS; + if (($6 | 0) == ($0 | 0) & $3 >>> 0 <= $1 >>> 0 | $0 >>> 0 > $6 >>> 0) { + break label$2; + } + } + HEAP32[$2 >> 2] = 4; + $1 = std____2__numeric_limits_unsigned_20long_20long___max_28_29(); + $8 = $1; + $0 = i64toi32_i32$HIGH_BITS; + break label$1; + } + $1 = ($7 | 0) == 45; + $8 = $1 ? 0 - $3 | 0 : $3; + $0 = $1 ? 0 - ((($3 | 0) != 0) + $6 | 0) | 0 : $6; + } + __stack_pointer = $4 + 16 | 0; + i64toi32_i32$HIGH_BITS = $0; + $3 = $8; + return $3; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______swap_out_circular_buffer_28std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_____29($0, $1) { + var $2 = 0; + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__Image__2c_20vision__Image___28std____2__allocator_vision__Image___2c_20vision__Image__2c_20vision__Image__2c_20vision__Image___29(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_vision__Image____value_20___20is_move_assignable_vision__Image____value_2c_20void___type_20std____2__swap_vision__Image___28vision__Image___2c_20vision__Image___29($0, $2); + std____2__enable_if_is_move_constructible_vision__Image____value_20___20is_move_assignable_vision__Image____value_2c_20void___type_20std____2__swap_vision__Image___28vision__Image___2c_20vision__Image___29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_vision__Image____value_20___20is_move_assignable_vision__Image____value_2c_20void___type_20std____2__swap_vision__Image___28vision__Image___2c_20vision__Image___29(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______end_cap_28_29($0), std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($0)); + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______invalidate_all_iterators_28_29($0); +} + +function std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________split_buffer_28_29($0) { + std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______deallocate_28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20unsigned_20long_29(std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________capacity_28_29_20const($0)); + } + return $0; +} + +function atanf($0) { + var $1 = 0, $2 = Math_fround(0), $3 = 0, $4 = Math_fround(0), $5 = 0, $6 = Math_fround(0); + $5 = (wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2)); + $1 = $5 & 2147483647; + if ($1 >>> 0 >= 1283457024) { + return (__FLOAT_BITS_1($0) & 2147483647) >>> 0 > 2139095040 ? $0 : (wasm2js_scratch_store_i32(2, (wasm2js_scratch_store_f32($0), + wasm2js_scratch_load_i32(2)) & -2147483648 | 1070141402), wasm2js_scratch_load_f32()); + } + label$2: { + label$3: { + if ($1 >>> 0 <= 1054867455) { + $3 = -1; + if ($1 >>> 0 >= 964689920) { + break label$3; + } + break label$2; + } + $0 = fabsf($0); + if ($1 >>> 0 <= 1066926079) { + if ($1 >>> 0 <= 1060110335) { + $0 = Math_fround(Math_fround(Math_fround($0 + $0) + Math_fround(-1)) / Math_fround($0 + Math_fround(2))); + $3 = 0; + break label$3; + } + $0 = Math_fround(Math_fround($0 + Math_fround(-1)) / Math_fround($0 + Math_fround(1))); + $3 = 1; + break label$3; + } + if ($1 >>> 0 <= 1075576831) { + $0 = Math_fround(Math_fround($0 + Math_fround(-1.5)) / Math_fround(Math_fround($0 * Math_fround(1.5)) + Math_fround(1))); + $3 = 2; + break label$3; + } + $0 = Math_fround(Math_fround(-1) / $0); + $3 = 3; + } + $4 = Math_fround($0 * $0); + $2 = Math_fround($4 * $4); + $6 = Math_fround($2 * Math_fround(Math_fround($2 * Math_fround(-.106480173766613)) + Math_fround(-.19999158382415771))); + $2 = Math_fround($4 * Math_fround(Math_fround($2 * Math_fround(Math_fround($2 * Math_fround(.06168760731816292)) + Math_fround(.14253635704517365))) + Math_fround(.333333283662796))); + if ($1 >>> 0 <= 1054867455) { + return Math_fround($0 - Math_fround($0 * Math_fround($6 + $2))); + } + $1 = $3 << 2; + $0 = Math_fround(HEAPF32[$1 + 45104 >> 2] - Math_fround(Math_fround(Math_fround($0 * Math_fround($6 + $2)) - HEAPF32[$1 + 45120 >> 2]) - $0)); + $0 = ($5 | 0) < 0 ? Math_fround(-$0) : $0; + } + return $0; +} + +function std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20std____2____min_element_std____2__greater_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + HEAP32[$3 + 16 >> 2] = $1; + HEAP32[$3 + 24 >> 2] = $0; + label$1: { + if (!bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($3 + 24 | 0, $3 + 16 | 0)) { + break label$1; + } + HEAP32[$3 + 8 >> 2] = HEAP32[$3 + 24 >> 2]; + while (1) { + if (!bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29(std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($3 + 8 | 0), $3 + 16 | 0)) { + break label$1; + } + if (!std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($2, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($3 + 8 | 0), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($3 + 24 | 0))) { + continue; + } + HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 8 >> 2]; + continue; + } + } + __stack_pointer = $3 + 32 | 0; + $2 = HEAP32[$3 + 24 >> 2]; + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$2 + 12 >> 2] = $3; + label$1: { + label$2: { + if (!$3) { + break label$2; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$2 + 8 >> 2] = $3; + if (!$3) { + break label$2; + } + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__BinaryExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $2 + 12 | 0, $1, $2 + 8 | 0); + break label$1; + } + $0 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function std____2____stdoutbuf_wchar_t___overflow_28unsigned_20int_29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + label$3: { + if (std____2__char_traits_wchar_t___eq_int_type_28unsigned_20int_2c_20unsigned_20int_29($1, std____2__char_traits_wchar_t___eof_28_29())) { + break label$3; + } + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__char_traits_wchar_t___to_char_type_28unsigned_20int_29($1), + HEAP32[wasm2js_i32$0 + 20 >> 2] = wasm2js_i32$1; + if (HEAPU8[$0 + 44 | 0]) { + if ((fwrite($2 + 20 | 0, 4, 1, HEAP32[$0 + 32 >> 2]) | 0) != 1) { + break label$2; + } + break label$3; + } + HEAP32[$2 + 16 >> 2] = $2 + 24; + $5 = $2 + 32 | 0; + $6 = $2 + 24 | 0; + $3 = $2 + 20 | 0; + while (1) { + $4 = std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___out_28__mbstate_t__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const___2c_20char__2c_20char__2c_20char___29_20const(HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], $3, $6, $2 + 12 | 0, $2 + 24 | 0, $5, $2 + 16 | 0); + if (HEAP32[$2 + 12 >> 2] == ($3 | 0)) { + break label$2; + } + if (($4 | 0) == 3) { + if ((fwrite($3, 1, 1, HEAP32[$0 + 32 >> 2]) | 0) == 1) { + break label$3; + } + break label$2; + } + if ($4 >>> 0 > 1) { + break label$2; + } + $3 = HEAP32[$2 + 16 >> 2] - ($2 + 24 | 0) | 0; + if (($3 | 0) != (fwrite($2 + 24 | 0, 1, $3, HEAP32[$0 + 32 >> 2]) | 0)) { + break label$2; + } + $3 = HEAP32[$2 + 12 >> 2]; + if (($4 | 0) == 1) { + continue; + } + break; + } + } + $0 = std____2__char_traits_wchar_t___not_eof_28unsigned_20int_29($1); + break label$1; + } + $0 = std____2__char_traits_wchar_t___eof_28_29(); + } + __stack_pointer = $2 + 32 | 0; + return $0 | 0; +} + +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__copy_wchar_t__2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28wchar_t__2c_20wchar_t__2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___29($0, $1, $2) { + return std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____rewrap_iter_std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___29($2, std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____copy_wchar_t__2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28wchar_t__2c_20wchar_t__2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___29(decltype_28std____2____unwrap_iter_impl_wchar_t__2c_20true_____apply_28declval_wchar_t___28_29_29_29_20std____2____unwrap_iter_wchar_t__2c_20std____2____unwrap_iter_impl_wchar_t__2c_20true___28wchar_t__29($0), decltype_28std____2____unwrap_iter_impl_wchar_t__2c_20true_____apply_28declval_wchar_t___28_29_29_29_20std____2____unwrap_iter_wchar_t__2c_20std____2____unwrap_iter_impl_wchar_t__2c_20true___28wchar_t__29($1), decltype_28std____2____unwrap_iter_impl_std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20false_____apply_28declval_std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28_29_29_29_20std____2____unwrap_iter_std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2____unwrap_iter_impl_std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20false___28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___29($2))); +} + +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_put_integral_unsigned_20long_20long__28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20unsigned_20long_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $6) { + $0 = __stack_pointer - 256 | 0; + __stack_pointer = $0; + HEAP32[$0 + 248 >> 2] = 37; + HEAP32[$0 + 252 >> 2] = 0; + std____2____num_put_base____format_int_28char__2c_20char_20const__2c_20bool_2c_20unsigned_20int_29($0 + 248 | 1, $6, 0, std____2__ios_base__flags_28_29_20const($2)); + $6 = std____2____cloc_28_29(); + HEAP32[$0 >> 2] = $4; + HEAP32[$0 + 4 >> 2] = $5; + $6 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 224 | 0, 24, $6, $0 + 248 | 0, $0) + ($0 + 224 | 0) | 0; + $4 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0 + 224 | 0, $6, $2); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $2); + std____2____num_put_wchar_t_____widen_and_group_int_28char__2c_20char__2c_20char__2c_20wchar_t__2c_20wchar_t___2c_20wchar_t___2c_20std____2__locale_20const__29($0 + 224 | 0, $4, $6, $0 + 32 | 0, $0 + 28 | 0, $0 + 24 | 0, $0 + 16 | 0); + std____2__locale___locale_28_29($0 + 16 | 0); + $2 = std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____pad_and_output_wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ios_base__2c_20wchar_t_29($1, $0 + 32 | 0, HEAP32[$0 + 28 >> 2], HEAP32[$0 + 24 >> 2], $2, $3); + __stack_pointer = $0 + 256 | 0; + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__PointerToMemberType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $3 = __stack_pointer - 48 | 0; + __stack_pointer = $3; + $2 = HEAP32[$0 + 12 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$2 >> 2] + 16 >> 2]]($2, $1); + label$1: { + label$2: { + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasArray_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1)) { + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasFunction_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1)) { + break label$2; + } + } + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 40 | 0, 37973); + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 32 | 0, 38446); + } + $4 = $2; + $2 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + $4 = $2; + $2 = $3; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $3 + 16 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 24 | 0, 37739); + $5 = HEAP32[$4 >> 2]; + $2 = HEAP32[$4 + 4 >> 2]; + HEAP32[$3 + 8 >> 2] = $5; + HEAP32[$3 + 12 >> 2] = $2; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $3 + 8 | 0); + __stack_pointer = $3 + 48 | 0; +} + +function void_20vision__DenormalizeHomography_float__28float__2c_20float_20const__2c_20float_2c_20float_20const__2c_20float_2c_20float_20const__29($0, $1, $2, $3, $4, $5) { + var $6 = Math_fround(0), $7 = Math_fround(0), $8 = Math_fround(0), $9 = Math_fround(0), $10 = Math_fround(0), $11 = Math_fround(0), $12 = Math_fround(0), $13 = Math_fround(0), $14 = Math_fround(0), $15 = Math_fround(0), $16 = Math_fround(0), $17 = Math_fround(0); + $8 = HEAPF32[$3 + 4 >> 2]; + $14 = HEAPF32[$3 >> 2]; + $15 = HEAPF32[$1 + 12 >> 2]; + $6 = HEAPF32[$5 + 4 >> 2]; + $9 = HEAPF32[$1 + 16 >> 2]; + $7 = HEAPF32[$1 + 24 >> 2]; + $10 = HEAPF32[$1 >> 2]; + $11 = HEAPF32[$5 >> 2]; + $12 = HEAPF32[$1 + 28 >> 2]; + $13 = Math_fround(Math_fround($11 * $12) + Math_fround(HEAPF32[$1 + 4 >> 2] / $4)); + HEAPF32[$0 + 4 >> 2] = $13 * $2; + $10 = Math_fround(Math_fround($7 * $11) + Math_fround($10 / $4)); + HEAPF32[$0 >> 2] = $10 * $2; + $11 = HEAPF32[$5 >> 2]; + $16 = HEAPF32[$1 + 32 >> 2]; + $17 = HEAPF32[$1 + 8 >> 2]; + $9 = Math_fround(Math_fround($12 * $6) + Math_fround($9 / $4)); + HEAPF32[$0 + 16 >> 2] = $9 * $2; + $6 = Math_fround(Math_fround($7 * $6) + Math_fround($15 / $4)); + HEAPF32[$0 + 12 >> 2] = $6 * $2; + $7 = Math_fround(Math_fround(-$8) * $2); + $8 = Math_fround(Math_fround(-$14) * $2); + HEAPF32[$0 + 8 >> 2] = Math_fround($7 * $13) + Math_fround(Math_fround($8 * $10) + Math_fround(Math_fround($16 * $11) + Math_fround($17 / $4))); + HEAPF32[$0 + 20 >> 2] = Math_fround($7 * $9) + Math_fround(Math_fround($8 * $6) + Math_fround(Math_fround(HEAPF32[$1 + 32 >> 2] * HEAPF32[$5 + 4 >> 2]) + Math_fround(HEAPF32[$1 + 20 >> 2] / $4))); + $4 = Math_fround(HEAPF32[$1 + 24 >> 2] * $2); + HEAPF32[$0 + 24 >> 2] = $4; + $2 = Math_fround(HEAPF32[$1 + 28 >> 2] * $2); + HEAPF32[$0 + 28 >> 2] = $2; + HEAPF32[$0 + 32 >> 2] = Math_fround(HEAPF32[$1 + 32 >> 2] - Math_fround($4 * HEAPF32[$3 >> 2])) - Math_fround($2 * HEAPF32[$3 + 4 >> 2]); +} + +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______emplace_unique_extract_key_std____2__pair_unsigned_20int_2c_20unsigned_20int___28std____2__pair_unsigned_20int_2c_20unsigned_20int____2c_20std____2____extract_key_first_tag_29($0, $1, $2) { + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______emplace_unique_key_args_unsigned_20int_2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int___28unsigned_20int_20const__2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int____29($0, $1, $2, $2); +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______swap_out_circular_buffer_28std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_____29($0, $1) { + var $2 = 0; + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_multi_marker__2c_20multi_marker_2c_20void__28std____2__allocator_multi_marker___2c_20multi_marker__2c_20multi_marker__2c_20multi_marker___29(std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_multi_marker____value_20___20is_move_assignable_multi_marker____value_2c_20void___type_20std____2__swap_multi_marker___28multi_marker___2c_20multi_marker___29($0, $2); + std____2__enable_if_is_move_constructible_multi_marker____value_20___20is_move_assignable_multi_marker____value_2c_20void___type_20std____2__swap_multi_marker___28multi_marker___2c_20multi_marker___29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_multi_marker____value_20___20is_move_assignable_multi_marker____value_2c_20void___type_20std____2__swap_multi_marker___28multi_marker___2c_20multi_marker___29(std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______end_cap_28_29($0), std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____size_28_29_20const($0)); + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______invalidate_all_iterators_28_29($0); +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void__________reset_28std__nullptr_t_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void__________first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($1) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void__________second_28_29($0), $1); + } +} + +function std____2__unordered_map_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________unordered_map_28_29($0) { + $0 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________hash_table_28_29($0); + void_20std____2____debug_db_insert_c_std____2__unordered_map_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________28std____2__unordered_map_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________29($0); + return $0; +} + +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_put_integral_long_20long__28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20long_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $6) { + $0 = __stack_pointer - 256 | 0; + __stack_pointer = $0; + HEAP32[$0 + 248 >> 2] = 37; + HEAP32[$0 + 252 >> 2] = 0; + std____2____num_put_base____format_int_28char__2c_20char_20const__2c_20bool_2c_20unsigned_20int_29($0 + 248 | 1, $6, 1, std____2__ios_base__flags_28_29_20const($2)); + $6 = std____2____cloc_28_29(); + HEAP32[$0 >> 2] = $4; + HEAP32[$0 + 4 >> 2] = $5; + $6 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 224 | 0, 24, $6, $0 + 248 | 0, $0) + ($0 + 224 | 0) | 0; + $4 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0 + 224 | 0, $6, $2); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $2); + std____2____num_put_wchar_t_____widen_and_group_int_28char__2c_20char__2c_20char__2c_20wchar_t__2c_20wchar_t___2c_20wchar_t___2c_20std____2__locale_20const__29($0 + 224 | 0, $4, $6, $0 + 32 | 0, $0 + 28 | 0, $0 + 24 | 0, $0 + 16 | 0); + std____2__locale___locale_28_29($0 + 16 | 0); + $2 = std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____pad_and_output_wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ios_base__2c_20wchar_t_29($1, $0 + 32 | 0, HEAP32[$0 + 28 >> 2], HEAP32[$0 + 24 >> 2], $2, $3); + __stack_pointer = $0 + 256 | 0; + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__BracedRangeExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 91); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 38424); + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $3; + HEAP32[$2 + 12 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 93); + $3 = HEAP32[$0 + 16 >> 2]; + if (($28anonymous_20namespace_29__itanium_demangle__Node__getKind_28_29_20const($3) - 75 & 255) >>> 0 >= 2) { + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 38420); + $5 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $3 = HEAP32[$0 + 16 >> 2]; + } + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($3, $1); + __stack_pointer = $2 + 32 | 0; +} + +function std____2____stdinbuf_char___pbackfail_28int_29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = std____2__char_traits_char___eq_int_type_28int_2c_20int_29($1, std____2__char_traits_char___eof_28_29()); + $4 = HEAPU8[$0 + 52 | 0]; + label$1: { + if ($3) { + if ($4) { + break label$1; + } + $1 = HEAP32[$0 + 48 >> 2]; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__char_traits_char___eq_int_type_28int_2c_20int_29($1, std____2__char_traits_char___eof_28_29()) ^ 1, + HEAP8[wasm2js_i32$0 + 52 | 0] = wasm2js_i32$1; + break label$1; + } + label$3: { + if (!$4) { + break label$3; + } + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__char_traits_char___to_char_type_28int_29(HEAP32[$0 + 48 >> 2]), + HEAP8[wasm2js_i32$0 + 19 | 0] = wasm2js_i32$1; + label$4: { + switch (std____2__codecvt_char_2c_20char_2c_20__mbstate_t___out_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char__2c_20char__2c_20char___29_20const(HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], $2 + 19 | 0, $2 + 20 | 0, $2 + 12 | 0, $2 + 24 | 0, $2 + 32 | 0, $2 + 20 | 0) - 1 | 0) { + case 2: + $3 = HEAP32[$0 + 48 >> 2]; + HEAP32[$2 + 20 >> 2] = $2 + 25; + HEAP8[$2 + 24 | 0] = $3; -function __ZN6vision10FastMedianIfEET_PS1_i(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return +(+__ZN6vision11PartialSortIfEET_PS1_ii(i1, i2, (i2 & 1) + -1 + ((i2 | 0) / 2 | 0) | 0)); -} + default: + while (1) { + $3 = HEAP32[$2 + 20 >> 2]; + if ($3 >>> 0 <= $2 + 24 >>> 0) { + break label$3; + } + $3 = $3 - 1 | 0; + HEAP32[$2 + 20 >> 2] = $3; + if ((ungetc(HEAP8[$3 | 0], HEAP32[$0 + 32 >> 2]) | 0) != -1) { + continue; + } + break; + } + ; + break; -function __ZN6vision10CauchyCostIfEET_PKS1_S1_(i1, d2) { - i1 = i1 | 0; - d2 = +d2; - return +(+__ZN6vision10CauchyCostIfEET_S1_S1_S1_(+HEAPF32[i1 >> 2], +HEAPF32[i1 + 4 >> 2], d2)); + case 0: + case 1: + break label$4; + } + } + $1 = std____2__char_traits_char___eof_28_29(); + break label$1; + } + HEAP8[$0 + 52 | 0] = 1; + HEAP32[$0 + 48 >> 2] = $1; + } + __stack_pointer = $2 + 32 | 0; + return $1 | 0; } -function dynCall_viiii(i5, i1, i2, i3, i4) { - i5 = i5 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - FUNCTION_TABLE_viiii[i5 & 31](i1 | 0, i2 | 0, i3 | 0, i4 | 0); +function EV_create($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $7 = -1; + label$1: { + $4 = HEAP32[$0 + 4 >> 2]; + if (($4 | 0) <= 0) { + break label$1; + } + $8 = HEAP32[$0 + 8 >> 2]; + if (HEAP32[$1 + 4 >> 2] != ($4 | 0) | ($8 | 0) <= 0 | (HEAP32[$1 + 8 >> 2] != ($4 | 0) | HEAP32[$2 + 4 >> 2] != ($4 | 0))) { + break label$1; + } + if (HEAP32[$2 + 8 >> 2] != ($8 | 0) | HEAP32[$3 + 4 >> 2] != ($4 | 0)) { + break label$1; + } + $6 = HEAP32[$2 >> 2]; + while (1) { + label$3: { + if (($4 | 0) == ($5 | 0)) { + $5 = $4; + break label$3; + } + $9 = HEAPF64[HEAP32[$3 >> 2] + ($5 << 3) >> 3]; + if ($9 < 1e-16) { + break label$3; + } + $12 = Math_imul($4, $5); + $13 = 1 / Math_sqrt(Math_abs($9)); + $11 = 0; + while (1) { + if (($8 | 0) != ($11 | 0)) { + $10 = HEAP32[$0 >> 2] + ($11 << 3) | 0; + $7 = HEAP32[$1 >> 2] + ($12 << 3) | 0; + $2 = 0; + $9 = 0; + while (1) { + if (($2 | 0) != ($4 | 0)) { + $2 = $2 + 1 | 0; + $9 = HEAPF64[$7 >> 3] * HEAPF64[$10 >> 3] + $9; + $10 = ($8 << 3) + $10 | 0; + $7 = $7 + 8 | 0; + continue; + } + break; + } + HEAPF64[$6 >> 3] = $13 * $9; + $11 = $11 + 1 | 0; + $6 = $6 + 8 | 0; + continue; + } + break; + } + $5 = $5 + 1 | 0; + continue; + } + break; + } + $4 = ($4 | 0) < ($5 | 0) ? $5 : $4; + $7 = 0; + $10 = ($8 | 0) > 0 ? $8 : 0; + while (1) { + if (($4 | 0) == ($5 | 0)) { + break label$1; + } + $0 = HEAP32[$3 >> 2] + ($5 << 3) | 0; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + $2 = 0; + while (1) { + if (($2 | 0) != ($10 | 0)) { + HEAP32[$6 >> 2] = 0; + HEAP32[$6 + 4 >> 2] = 0; + $2 = $2 + 1 | 0; + $6 = $6 + 8 | 0; + continue; + } + break; + } + $5 = $5 + 1 | 0; + continue; + } + } + return $7; } -function _jpeg_alloc_quant_table(i1) { - i1 = i1 | 0; - i1 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i1 + 4 >> 2] >> 2] & 63](i1, 0, 132) | 0; - HEAP32[i1 + 128 >> 2] = 0; - return i1 | 0; +function std____2__vector_int_2c_20std____2__allocator_int______swap_out_circular_buffer_28std____2____split_buffer_int_2c_20std____2__allocator_int_____2c_20int__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + std____2__vector_int_2c_20std____2__allocator_int______annotate_delete_28_29_20const($0); + $5 = HEAP32[$1 + 4 >> 2]; + $3 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_int__2c_20int_2c_20void__28std____2__allocator_int___2c_20int__2c_20int__2c_20int___29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0), HEAP32[$0 >> 2], $2, $3); + $4 = $1 + 8 | 0; + void_20std____2____construct_forward_with_exception_guarantees_std____2__allocator_int__2c_20int___28std____2__allocator_int___2c_20int__2c_20int__2c_20int___29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0), $2, HEAP32[$0 + 4 >> 2], $4); + std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_int___28int___2c_20int___29($0, $3); + std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_int___28int___2c_20int___29($0 + 4 | 0, $4); + std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_int___28int___2c_20int___29(std____2__vector_int_2c_20std____2__allocator_int______end_cap_28_29($0), std____2____split_buffer_int_2c_20std____2__allocator_int_______end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_int_2c_20std____2__allocator_int______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0)); + std____2__vector_int_2c_20std____2__allocator_int______invalidate_all_iterators_28_29($0); + return $5; } -function _arSetLabelingThresh(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if ((i1 | 0) == 0 | i2 >>> 0 > 255) i1 = -1; else { - HEAP32[i1 + 16 >> 2] = i2; - i1 = 0; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________reset_28std__nullptr_t_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($1) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________second_28_29($0), $1); } - return i1 | 0; -} - -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getCountEv(i1) { - i1 = i1 | 0; - return 3; } -function __ZN6vision18BinaryFeatureStore7featureEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - i2 = Math_imul(HEAP32[i1 >> 2] | 0, i2) | 0; - return (HEAP32[i1 + 4 >> 2] | 0) + i2 | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FunctionType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3, $4, $5) { + return $28anonymous_20namespace_29__itanium_demangle__FunctionType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FunctionType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2, $3, $4, $5); } -function __ZN12_GLOBAL__N_116register_integerIlEEvPKc() { - __embind_register_integer(__ZN10emscripten8internal6TypeIDIlE3getEv() | 0, 51133, 4, -2147483648, 2147483647); - return; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_am_pm_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 8 >> 2] + 8 >> 2]]($0 + 8 | 0) | 0; + if ((std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($0) | 0) == (0 - std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($0 + 12 | 0) | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 4; + return; + } + $4 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__20std____2____scan_keyword_std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__ctype_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__ctype_wchar_t__20const__2c_20unsigned_20int__2c_20bool_29($2, $3, $0, $0 + 24 | 0, $5, $4, 0); + $5 = HEAP32[$1 >> 2]; + if (!(($4 | 0) != ($0 | 0) | ($5 | 0) != 12)) { + HEAP32[$1 >> 2] = 0; + return; + } + if (!(($4 - $0 | 0) != 12 | ($5 | 0) > 11)) { + HEAP32[$1 >> 2] = $5 + 12; + } } -function __ZN12_GLOBAL__N_116register_integerIiEEvPKc() { - __embind_register_integer(__ZN10emscripten8internal6TypeIDIiE3getEv() | 0, 51116, 4, -2147483648, 2147483647); - return; +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____pad_and_output_wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ios_base__2c_20wchar_t_29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $9 = __stack_pointer - 16 | 0; + __stack_pointer = $9; + label$1: { + if (!$0) { + break label$1; + } + $8 = std____2__ios_base__width_28_29_20const($4); + $7 = $2 - $1 | 0; + if (($7 | 0) > 0) { + $7 = $7 >>> 2 | 0; + if (($7 | 0) != (std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sputn_28wchar_t_20const__2c_20long_29($0, $1, $7) | 0)) { + break label$1; + } + } + $6 = $3 - $1 >> 2; + $1 = ($6 | 0) < ($8 | 0) ? $8 - $6 | 0 : 0; + if (($1 | 0) > 0) { + $6 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28unsigned_20long_2c_20wchar_t_29($9, $1, $5); + $8 = std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sputn_28wchar_t_20const__2c_20long_29($0, std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29($6), $1); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($6); + $6 = 0; + if (($1 | 0) != ($8 | 0)) { + break label$1; + } + } + $1 = $3 - $2 | 0; + if (($1 | 0) > 0) { + $6 = 0; + $1 = $1 >>> 2 | 0; + if (($1 | 0) != (std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sputn_28wchar_t_20const__2c_20long_29($0, $2, $1) | 0)) { + break label$1; + } + } + std____2__ios_base__width_28long_29($4, 0); + $6 = $0; + } + __stack_pointer = $9 + 16 | 0; + return $6; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseCVQualifiers_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = 0; + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 114)) { + $28anonymous_20namespace_29__itanium_demangle__operator___28_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers_29($1 + 12 | 0, 4); + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 86)) { + $28anonymous_20namespace_29__itanium_demangle__operator___28_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers_29($1 + 12 | 0, 2); + } + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 75)) { + $28anonymous_20namespace_29__itanium_demangle__operator___28_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers_29($1 + 12 | 0, 1); + } + __stack_pointer = $1 + 16 | 0; + $0 = HEAP32[$1 + 12 >> 2]; + return $0; +} + +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_put_integral_unsigned_20long__28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20unsigned_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5) { + $0 = __stack_pointer - 160 | 0; + __stack_pointer = $0; + HEAP32[$0 + 152 >> 2] = 37; + HEAP32[$0 + 156 >> 2] = 0; + std____2____num_put_base____format_int_28char__2c_20char_20const__2c_20bool_2c_20unsigned_20int_29($0 + 152 | 1, $5, 0, std____2__ios_base__flags_28_29_20const($2)); + $5 = std____2____cloc_28_29(); + HEAP32[$0 >> 2] = $4; + $5 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 139 | 0, 13, $5, $0 + 152 | 0, $0) + ($0 + 139 | 0) | 0; + $4 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0 + 139 | 0, $5, $2); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $2); + std____2____num_put_wchar_t_____widen_and_group_int_28char__2c_20char__2c_20char__2c_20wchar_t__2c_20wchar_t___2c_20wchar_t___2c_20std____2__locale_20const__29($0 + 139 | 0, $4, $5, $0 + 32 | 0, $0 + 28 | 0, $0 + 24 | 0, $0 + 16 | 0); + std____2__locale___locale_28_29($0 + 16 | 0); + $2 = std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____pad_and_output_wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ios_base__2c_20wchar_t_29($1, $0 + 32 | 0, HEAP32[$0 + 28 >> 2], HEAP32[$0 + 24 >> 2], $2, $3); + __stack_pointer = $0 + 160 | 0; + return $2; +} + +function vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____query_28vision__Image_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + $2 = $0 + 92 | 0; + label$1: { + label$2: { + if (!std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const(vision__GaussianScaleSpacePyramid__images_28_29($2))) { + break label$2; + } + if ((vision__Image__width_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29(vision__GaussianScaleSpacePyramid__images_28_29($2), 0)) | 0) != (vision__Image__width_28_29_20const($1) | 0)) { + break label$2; + } + if ((vision__Image__height_28_29_20const(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29(vision__GaussianScaleSpacePyramid__images_28_29($2), 0)) | 0) == (vision__Image__height_28_29_20const($1) | 0)) { + break label$1; + } + } + $3 = vision__numOctaves_28int_2c_20int_2c_20int_29(vision__Image__width_28_29_20const($1), vision__Image__height_28_29_20const($1), 8); + vision__BinomialPyramid32f__alloc_28unsigned_20long_2c_20unsigned_20long_2c_20int_29($2, vision__Image__width_28_29_20const($1), vision__Image__height_28_29_20const($1), $3); + } + $3 = vision__ScopedTimer__ScopedTimer_28char_20const__29($4, 3181); + if (vision__ScopedTimer__operator_20bool_28_29($3)) { + vision__BinomialPyramid32f__build_28vision__Image_20const__29($2, $1); + } + vision__ScopedTimer___ScopedTimer_28_29($3); + $1 = vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____query_28vision__GaussianScaleSpacePyramid_20const__29($0, $2); + __stack_pointer = $4 + 32 | 0; + return $1; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______2c_20true_____good_rval_ref_type_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______29($0, $3 + 12 | 0, $2); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function jpeg_idct_4x2($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0; + $1 = HEAP32[$1 + 84 >> 2]; + $6 = Math_imul(HEAP32[$1 + 44 >> 2], HEAP16[$2 + 22 >> 1]); + $7 = Math_imul(HEAP32[$1 + 12 >> 2], HEAP16[$2 + 6 >> 1]); + $8 = $6 + $7 | 0; + $10 = Math_imul(HEAP32[$1 + 36 >> 2], HEAP16[$2 + 18 >> 1]); + $11 = Math_imul(HEAP32[$1 + 4 >> 2], HEAP16[$2 + 2 >> 1]); + $9 = $10 + $11 | 0; + $12 = Math_imul($8 + $9 | 0, 4433); + $9 = $12 + Math_imul($9, 6270) | 0; + $13 = Math_imul(HEAP32[$1 + 32 >> 2], HEAPU16[$2 + 16 >> 1]); + $14 = Math_imul(HEAP32[$1 >> 2], HEAPU16[$2 >> 1]); + $15 = ($13 + $14 | 0) + 4100 | 0; + $16 = Math_imul(HEAP32[$1 + 40 >> 2], HEAPU16[$2 + 20 >> 1]); + $5 = HEAP32[$3 >> 2] + $4 | 0; + $0 = HEAP32[$0 + 336 >> 2] - 384 | 0; + $1 = Math_imul(HEAP32[$1 + 8 >> 2], HEAPU16[$2 + 4 >> 1]); + $2 = $16 + $1 | 0; + $17 = $15 + $2 << 13; + HEAP8[$5 | 0] = HEAPU8[$0 + ($17 + $9 >>> 16 & 1023) | 0]; + HEAP8[$5 + 3 | 0] = HEAPU8[($17 - $9 >>> 16 & 1023) + $0 | 0]; + $2 = $15 - $2 << 13; + $8 = Math_imul($8, -15137) + $12 | 0; + HEAP8[$5 + 1 | 0] = HEAPU8[($2 + $8 >>> 16 & 1023) + $0 | 0]; + HEAP8[$5 + 2 | 0] = HEAPU8[($2 - $8 >>> 16 & 1023) + $0 | 0]; + $2 = HEAP32[$3 + 4 >> 2] + $4 | 0; + $3 = $11 - $10 | 0; + $5 = $7 - $6 | 0; + $4 = Math_imul($3 + $5 | 0, 4433); + $3 = $4 + Math_imul($3, 6270) | 0; + $1 = $1 - $16 | 0; + $6 = ($14 - $13 | 0) + 4100 | 0; + $7 = $1 + $6 << 13; + HEAP8[$2 | 0] = HEAPU8[($3 + $7 >>> 16 & 1023) + $0 | 0]; + HEAP8[$2 + 3 | 0] = HEAPU8[($7 - $3 >>> 16 & 1023) + $0 | 0]; + $1 = $6 - $1 << 13; + $5 = Math_imul($5, -15137) + $4 | 0; + HEAP8[$2 + 1 | 0] = HEAPU8[($1 + $5 >>> 16 & 1023) + $0 | 0]; + HEAP8[$2 + 2 | 0] = HEAPU8[($1 - $5 >>> 16 & 1023) + $0 | 0]; +} + +function jinit_2pass_quantizer($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 44) | 0; + HEAP32[$0 + 484 >> 2] = $1; + HEAP32[$1 + 40 >> 2] = 0; + HEAP32[$1 + 32 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 225; + HEAP32[$1 >> 2] = 226; + if (HEAP32[$0 + 120 >> 2] != 3) { + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 48; + FUNCTION_TABLE[HEAP32[$2 >> 2]]($0); + } + wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 128) | 0, + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + while (1) { + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 4 >> 2]]($0, 1, 4096) | 0; + $4 = $3 << 2; + HEAP32[$4 + HEAP32[$1 + 24 >> 2] >> 2] = $2; + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 4 >> 2]]($0, 1, 4096) | 0; + HEAP32[HEAP32[$1 + 24 >> 2] + ($4 | 4) >> 2] = $2; + $3 = $3 + 2 | 0; + if (($3 | 0) != 32) { + continue; + } + break; + } + HEAP32[$1 + 28 >> 2] = 1; + label$3: { + if (HEAP32[$0 + 108 >> 2]) { + $2 = 8; + $4 = 58; + $3 = HEAP32[$0 + 96 >> 2]; + label$5: { + if (($3 | 0) >= 8) { + if ($3 >>> 0 < 257) { + break label$5; + } + $4 = 59; + $2 = 256; + } + $5 = HEAP32[$0 >> 2]; + HEAP32[$5 + 24 >> 2] = $2; + HEAP32[$5 + 20 >> 2] = $4; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 8 >> 2]]($0, 1, $3, 3) | 0; + HEAP32[$1 + 20 >> 2] = $3; + HEAP32[$1 + 16 >> 2] = $2; + break label$3; + } + HEAP32[$1 + 16 >> 2] = 0; + } + if (HEAP32[$0 + 88 >> 2]) { + HEAP32[$0 + 88 >> 2] = 2; + wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 4 >> 2]]($0, 1, Math_imul(HEAP32[$0 + 112 >> 2], 6) + 12 | 0) | 0, + HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; + init_error_limit($0); + } +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseAbiTags_28_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + while (1) { + label$2: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 66)) { + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBareSourceName_28_29($2, $0); + if (!$28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($2)) { + break label$2; + } + $1 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $1; + } + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__AbiTagAttr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $2 + 12 | 0, $2); + HEAP32[$2 + 12 >> 2] = $1; + continue; + } } -function _jpeg_alloc_huff_table(i1) { - i1 = i1 | 0; - i1 = FUNCTION_TABLE_iiii[HEAP32[HEAP32[i1 + 4 >> 2] >> 2] & 63](i1, 0, 280) | 0; - HEAP32[i1 + 276 >> 2] = 0; - return i1 | 0; -} +function mbsnrtowcs($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $5 = __stack_pointer - 1040 | 0; + __stack_pointer = $5; + $6 = HEAP32[$1 >> 2]; + HEAP32[$5 + 12 >> 2] = $6; + $9 = $0 ? $0 : $5 + 16 | 0; + $3 = $0 ? $3 : 256; + label$1: { + label$2: { + label$3: { + if (!$6 | !$3) { + break label$3; + } + while (1) { + $7 = $2 >>> 2 | 0; + if ($7 >>> 0 < $3 >>> 0 & $2 >>> 0 <= 131) { + break label$2; + } + $7 = mbsrtowcs($9, $5 + 12 | 0, $3 >>> 0 > $7 >>> 0 ? $7 : $3, $4); + if (($7 | 0) == -1) { + $8 = -1; + $3 = 0; + $6 = HEAP32[$5 + 12 >> 2]; + break label$3; + } + $10 = ($5 + 16 | 0) == ($9 | 0) ? 0 : $7; + $3 = $3 - $10 | 0; + $9 = ($10 << 2) + $9 | 0; + $2 = $2 + $6 | 0; + $6 = HEAP32[$5 + 12 >> 2]; + $2 = $6 ? $2 - $6 | 0 : 0; + $8 = $7 + $8 | 0; + if (!$6) { + break label$3; + } + if ($3) { + continue; + } + break; + } + } + if (!$6) { + break label$1; + } + } + if (!$3 | !$2) { + break label$1; + } + $7 = $8; + while (1) { + label$7: { + $8 = mbrtowc($9, $6, $2, $4); + label$8: { + if ($8 + 2 >>> 0 <= 2) { + label$10: { + switch ($8 + 1 | 0) { + case 1: + HEAP32[$5 + 12 >> 2] = 0; + break label$8; -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiNSt3__212basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE8getCountEv(i1) { - i1 = i1 | 0; - return 2; -} + case 0: + break label$1; -function __ZN6vision14SampleReceptorERKNS_5ImageEff(i1, d2, d3) { - i1 = i1 | 0; - d2 = +d2; - d3 = +d3; - return +(+__ZN6vision22SampleReceptorBilinearERKNS_5ImageEff(i1, d2, d3)); + default: + break label$10; + } + } + HEAP32[$4 >> 2] = 0; + break label$8; + } + $6 = HEAP32[$5 + 12 >> 2] + $8 | 0; + HEAP32[$5 + 12 >> 2] = $6; + $7 = $7 + 1 | 0; + $3 = $3 - 1 | 0; + if ($3) { + break label$7; + } + } + $8 = $7; + break label$1; + } + $9 = $9 + 4 | 0; + $2 = $2 - $8 | 0; + $8 = $7; + if ($2) { + continue; + } + break; + } + } + if ($0) { + HEAP32[$1 >> 2] = HEAP32[$5 + 12 >> 2]; + } + __stack_pointer = $5 + 1040 | 0; + return $8; +} + +function getMultiMarkerNum($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 8 | 0, $2)) { + break label$1; + } + $3 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 12 | 0); + if (($1 | 0) < 0) { + break label$1; + } + $3 = $3 + 328 | 0; + if (std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____size_28_29_20const($3) >>> 0 <= $1 >>> 0) { + break label$1; + } + $0 = HEAP32[HEAP32[std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____operator_5b_5d_28unsigned_20long_29($3, $1) + 4 >> 2] + 4 >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $0 | 0; +} + +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______emplace_unique_std____2__pair_unsigned_20int_2c_20unsigned_20int___28std____2__pair_unsigned_20int_2c_20unsigned_20int____29($0, $1, $2) { + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______emplace_unique_extract_key_std____2__pair_unsigned_20int_2c_20unsigned_20int___28std____2__pair_unsigned_20int_2c_20unsigned_20int____2c_20std____2____extract_key_first_tag_29($0, $1, $2); +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______28std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_200_2c_20false_____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20void__28std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____29($0, $1); + std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_201_2c_20false_____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20void__28std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______29($1 + 4 | 0, $2); + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseTemplateParamDecl_28_29___lambda__28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind_29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind_29_20const($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $0 = HEAP32[$0 >> 2]; + $3 = $0 + ($1 << 2) | 0; + $1 = $3 + 396 | 0; + $4 = $1; + $1 = HEAP32[$3 + 396 >> 2]; + HEAP32[$4 >> 2] = $1 + 1; + HEAP32[$2 + 8 >> 2] = $1; + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SyntheticTemplateParamName_2c_20_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind__2c_20unsigned_20int___28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind__2c_20unsigned_20int__29($0, $2 + 12 | 0, $2 + 8 | 0); + HEAP32[$2 + 4 >> 2] = $1; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29(HEAP32[$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___back_28_29($0 + 332 | 0) >> 2], $2 + 4 | 0); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______reset_28vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96_____operator_28_29_28vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____29_20const(std____2____compressed_pair_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______second_28_29($0), $2); + } +} + +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_put_integral_long__28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5) { + $0 = __stack_pointer - 160 | 0; + __stack_pointer = $0; + HEAP32[$0 + 152 >> 2] = 37; + HEAP32[$0 + 156 >> 2] = 0; + std____2____num_put_base____format_int_28char__2c_20char_20const__2c_20bool_2c_20unsigned_20int_29($0 + 152 | 1, $5, 1, std____2__ios_base__flags_28_29_20const($2)); + $5 = std____2____cloc_28_29(); + HEAP32[$0 >> 2] = $4; + $5 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 139 | 0, 13, $5, $0 + 152 | 0, $0) + ($0 + 139 | 0) | 0; + $4 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0 + 139 | 0, $5, $2); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $2); + std____2____num_put_wchar_t_____widen_and_group_int_28char__2c_20char__2c_20char__2c_20wchar_t__2c_20wchar_t___2c_20wchar_t___2c_20std____2__locale_20const__29($0 + 139 | 0, $4, $5, $0 + 32 | 0, $0 + 28 | 0, $0 + 24 | 0, $0 + 16 | 0); + std____2__locale___locale_28_29($0 + 16 | 0); + $2 = std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____pad_and_output_wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ios_base__2c_20wchar_t_29($1, $0 + 32 | 0, HEAP32[$0 + 28 >> 2], HEAP32[$0 + 24 >> 2], $2, $3); + __stack_pointer = $0 + 160 | 0; + return $2; +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_______do_put_integral_unsigned_20long_20long__28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20unsigned_20long_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $6) { + $0 = __stack_pointer - 112 | 0; + __stack_pointer = $0; + HEAP32[$0 + 104 >> 2] = 37; + HEAP32[$0 + 108 >> 2] = 0; + std____2____num_put_base____format_int_28char__2c_20char_20const__2c_20bool_2c_20unsigned_20int_29($0 + 104 | 1, $6, 0, std____2__ios_base__flags_28_29_20const($2)); + $6 = std____2____cloc_28_29(); + HEAP32[$0 >> 2] = $4; + HEAP32[$0 + 4 >> 2] = $5; + $6 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 80 | 0, 24, $6, $0 + 104 | 0, $0) + ($0 + 80 | 0) | 0; + $4 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0 + 80 | 0, $6, $2); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $2); + std____2____num_put_char_____widen_and_group_int_28char__2c_20char__2c_20char__2c_20char__2c_20char___2c_20char___2c_20std____2__locale_20const__29($0 + 80 | 0, $4, $6, $0 + 32 | 0, $0 + 28 | 0, $0 + 24 | 0, $0 + 16 | 0); + std____2__locale___locale_28_29($0 + 16 | 0); + $2 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____pad_and_output_char_2c_20std____2__char_traits_char___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20char_20const__2c_20char_20const__2c_20char_20const__2c_20std____2__ios_base__2c_20char_29($1, $0 + 32 | 0, HEAP32[$0 + 28 >> 2], HEAP32[$0 + 24 >> 2], $2, $3); + __stack_pointer = $0 + 112 | 0; + return $2; +} + +function init_error_limit($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0; + $4 = HEAP32[$0 + 484 >> 2]; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 2044) | 0; + $0 = $1 + 1020 | 0; + HEAP32[$4 + 40 >> 2] = $0; + HEAP32[$1 + 1016 >> 2] = -1; + HEAP32[$1 + 1020 >> 2] = 0; + HEAP32[$1 + 1024 >> 2] = 1; + HEAP32[$1 + 1028 >> 2] = 2; + HEAP32[$1 + 1032 >> 2] = 3; + HEAP32[$1 + 1036 >> 2] = 4; + HEAP32[$1 + 1008 >> 2] = -3; + HEAP32[$1 + 1012 >> 2] = -2; + HEAP32[$1 + 1040 >> 2] = 5; + HEAP32[$1 + 1044 >> 2] = 6; + HEAP32[$1 + 1e3 >> 2] = -5; + HEAP32[$1 + 1004 >> 2] = -4; + HEAP32[$1 + 1048 >> 2] = 7; + HEAP32[$1 + 1052 >> 2] = 8; + HEAP32[$1 + 992 >> 2] = -7; + HEAP32[$1 + 996 >> 2] = -6; + HEAP32[$1 + 1056 >> 2] = 9; + HEAP32[$1 + 1060 >> 2] = 10; + HEAP32[$1 + 984 >> 2] = -9; + HEAP32[$1 + 988 >> 2] = -8; + HEAP32[$1 + 1064 >> 2] = 11; + HEAP32[$1 + 1068 >> 2] = 12; + HEAP32[$1 + 976 >> 2] = -11; + HEAP32[$1 + 980 >> 2] = -10; + HEAP32[$1 + 1072 >> 2] = 13; + HEAP32[$1 + 1076 >> 2] = 14; + HEAP32[$1 + 968 >> 2] = -13; + HEAP32[$1 + 972 >> 2] = -12; + HEAP32[$1 + 1080 >> 2] = 15; + HEAP32[$1 + 960 >> 2] = -15; + HEAP32[$1 + 964 >> 2] = -14; + $2 = 16; + $3 = 16; + while (1) { + $1 = $3 << 2; + HEAP32[$1 + $0 >> 2] = $2; + $4 = 0 - $2 | 0; + HEAP32[$0 - $1 >> 2] = $4; + HEAP32[($1 | 4) + $0 >> 2] = $2; + HEAP32[(($3 ^ -1) << 2) + $0 >> 2] = $4; + $2 = $2 + 1 | 0; + $1 = 48; + $3 = $3 + 2 | 0; + if (($3 | 0) != 48) { + continue; + } + break; + } + while (1) { + $2 = $1 << 2; + HEAP32[$2 + $0 >> 2] = 32; + HEAP32[$0 - $2 >> 2] = -32; + HEAP32[($2 | 4) + $0 >> 2] = 32; + HEAP32[(($1 ^ -1) << 2) + $0 >> 2] = -32; + HEAP32[($2 | 8) + $0 >> 2] = 32; + HEAP32[(-2 - $1 << 2) + $0 >> 2] = -32; + HEAP32[($2 | 12) + $0 >> 2] = 32; + HEAP32[(-3 - $1 << 2) + $0 >> 2] = -32; + $1 = $1 + 4 | 0; + if (($1 | 0) != 256) { + continue; + } + break; + } } -function _strtoull_l(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i4 = _strtoull(i1, i2, i3) | 0; - setTempRet0(getTempRet0() | 0); - return i4 | 0; +function void_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______push_back_slow_path_vision__Point3d_float___28vision__Point3d_float____29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______alloc_28_29($0); + $2 = std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__Point3d_float____29($3 + 8 | 0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______recommend_28unsigned_20long_29_20const($0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____size_28_29_20const($0) + 1 | 0), std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____size_28_29_20const($0), $4); + void_20std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____construct_vision__Point3d_float__2c_20vision__Point3d_float__2c_20void__28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___2c_20vision__Point3d_float____29($4, vision__Point3d_float___20std____2____to_address_vision__Point3d_float___28vision__Point3d_float___29(HEAP32[$2 + 8 >> 2]), $1); + HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 12; + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______swap_out_circular_buffer_28std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______29($0, $2); + std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_________split_buffer_28_29($2); + __stack_pointer = $3 + 32 | 0; +} + +function std____2____stdoutbuf_char___overflow_28int_29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + label$3: { + if (std____2__char_traits_char___eq_int_type_28int_2c_20int_29($1, std____2__char_traits_char___eof_28_29())) { + break label$3; + } + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__char_traits_char___to_char_type_28int_29($1), + HEAP8[wasm2js_i32$0 + 23 | 0] = wasm2js_i32$1; + if (HEAPU8[$0 + 44 | 0]) { + if ((fwrite($2 + 23 | 0, 1, 1, HEAP32[$0 + 32 >> 2]) | 0) != 1) { + break label$2; + } + break label$3; + } + HEAP32[$2 + 16 >> 2] = $2 + 24; + $5 = $2 + 32 | 0; + $6 = $2 + 24 | 0; + $3 = $2 + 23 | 0; + while (1) { + $4 = std____2__codecvt_char_2c_20char_2c_20__mbstate_t___out_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char__2c_20char__2c_20char___29_20const(HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], $3, $6, $2 + 12 | 0, $2 + 24 | 0, $5, $2 + 16 | 0); + if (HEAP32[$2 + 12 >> 2] == ($3 | 0)) { + break label$2; + } + if (($4 | 0) == 3) { + if ((fwrite($3, 1, 1, HEAP32[$0 + 32 >> 2]) | 0) == 1) { + break label$3; + } + break label$2; + } + if ($4 >>> 0 > 1) { + break label$2; + } + $3 = HEAP32[$2 + 16 >> 2] - ($2 + 24 | 0) | 0; + if (($3 | 0) != (fwrite($2 + 24 | 0, 1, $3, HEAP32[$0 + 32 >> 2]) | 0)) { + break label$2; + } + $3 = HEAP32[$2 + 12 >> 2]; + if (($4 | 0) == 1) { + continue; + } + break; + } + } + $0 = std____2__char_traits_char___not_eof_28int_29($1); + break label$1; + } + $0 = std____2__char_traits_char___eof_28_29(); + } + __stack_pointer = $2 + 32 | 0; + return $0 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SubobjectExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SubobjectExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20bool__29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $8 = __stack_pointer - 32 | 0; + __stack_pointer = $8; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 36); + $2 = HEAP32[$2 >> 2]; + $1 = HEAP32[$1 >> 2]; + $7 = HEAP32[$3 >> 2]; + $9 = $7; + $6 = HEAP32[$3 + 4 >> 2]; + $11 = $6; + $7 = $8; + HEAP32[$7 + 24 >> 2] = $9; + HEAP32[$7 + 28 >> 2] = $6; + $6 = HEAP32[$4 >> 2]; + $10 = $6; + $7 = HEAP32[$4 + 4 >> 2]; + $4 = $7; + $6 = $8; + HEAP32[$6 + 16 >> 2] = $10; + HEAP32[$6 + 20 >> 2] = $7; + $3 = HEAPU8[$5 | 0]; + HEAP32[$6 + 8 >> 2] = $9; + $7 = $11; + HEAP32[$6 + 12 >> 2] = $7; + HEAP32[$6 >> 2] = $10; + $7 = $4; + HEAP32[$6 + 4 >> 2] = $7; + $2 = $28anonymous_20namespace_29__itanium_demangle__SubobjectExpr__SubobjectExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool_29($0, $1, $2, $6 + 8 | 0, $6, $3); + __stack_pointer = $6 + 32 | 0; + return $2; +} + +function void_20std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______construct_one_at_end_vision__DoGScaleInvariantDetector__FeaturePoint_20const___28vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____ConstructTransaction___ConstructTransaction_28std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____2c_20unsigned_20long_29($3, $0, 1); + void_20std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____construct_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20vision__DoGScaleInvariantDetector__FeaturePoint_20const__2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__2c_20vision__DoGScaleInvariantDetector__FeaturePoint_20const__29(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29($0), vision__DoGScaleInvariantDetector__FeaturePoint__20std____2____to_address_vision__DoGScaleInvariantDetector__FeaturePoint__28vision__DoGScaleInvariantDetector__FeaturePoint__29(HEAP32[$2 + 4 >> 2]), $1); + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 36; + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20AR2SurfaceSetT_________hash_table_28_29($0) { + std____2____hash_table_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20AR2SurfaceSetT________deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______29($0, HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______first_28_29($0 + 8 | 0) >> 2]); + return std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void___________unique_ptr_28_29($0); +} + +function prepare_for_output_pass($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0; + $1 = HEAP32[$0 + 444 >> 2]; + label$1: { + label$2: { + if (HEAP32[$1 + 8 >> 2]) { + HEAP32[$1 + 8 >> 2] = 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 484 >> 2] >> 2]]($0, 0); + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 456 >> 2] >> 2]]($0, 2); + $2 = 2; + break label$2; + } + label$4: { + if (HEAP32[$0 + 136 >> 2] | !HEAP32[$0 + 84 >> 2]) { + break label$4; + } + if (!(!HEAP32[$0 + 92 >> 2] | !HEAP32[$0 + 108 >> 2])) { + HEAP32[$0 + 484 >> 2] = HEAP32[$1 + 24 >> 2]; + HEAP32[$1 + 8 >> 2] = 1; + break label$4; + } + if (HEAP32[$0 + 100 >> 2]) { + HEAP32[$0 + 484 >> 2] = HEAP32[$1 + 20 >> 2]; + break label$4; + } + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 47; + FUNCTION_TABLE[HEAP32[$2 >> 2]]($0); + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 472 >> 2] >> 2]]($0); + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 452 >> 2] + 8 >> 2]]($0); + if (HEAP32[$0 + 68 >> 2]) { + break label$1; + } + if (!HEAP32[$1 + 16 >> 2]) { + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 480 >> 2] >> 2]]($0); + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 476 >> 2] >> 2]]($0); + if (HEAP32[$0 + 84 >> 2]) { + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 484 >> 2] >> 2]]($0, HEAP32[$1 + 8 >> 2]); + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 456 >> 2] >> 2]]($0, HEAP32[$1 + 8 >> 2] ? 3 : 0); + $2 = 0; + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 448 >> 2] >> 2]]($0, $2); + } + $2 = HEAP32[$0 + 8 >> 2]; + label$9: { + if (!$2) { + break label$9; + } + $3 = HEAP32[$1 + 12 >> 2]; + HEAP32[$2 + 12 >> 2] = $3; + $1 = (HEAP32[$1 + 8 >> 2] ? 2 : 1) + $3 | 0; + HEAP32[$2 + 16 >> 2] = $1; + if (HEAP32[HEAP32[$0 + 460 >> 2] + 20 >> 2] | !HEAP32[$0 + 64 >> 2]) { + break label$9; + } + HEAP32[$2 + 16 >> 2] = (HEAP32[$0 + 108 >> 2] ? 2 : 1) + $1; + } +} + +function $28anonymous_20namespace_29__itanium_demangle__ArrayType__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + if (($28anonymous_20namespace_29__itanium_demangle__OutputBuffer__back_28_29_20const($1) | 0) != 93) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 38446); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 34426); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $4 = HEAP32[$0 + 12 >> 2]; + if ($4) { + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($4, $1); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 34409); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $0 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1); + __stack_pointer = $2 + 48 | 0; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________throw_length_error_28_29_20const($0); + abort(); } -function _icpDeleteHandle(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - if (!i2) i1 = -1; else { - _free(i2); - HEAP32[i1 >> 2] = 0; - i1 = 0; +function create_colorindex($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = HEAP32[$0 + 484 >> 2]; + $2 = HEAP32[$0 + 88 >> 2]; + $1 = ($2 | 0) == 1; + HEAP32[$5 + 28 >> 2] = $1; + wasm2js_i32$0 = $5, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 8 >> 2]]($0, 1, $1 ? 766 : 256, HEAP32[$0 + 120 >> 2]) | 0, + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + if (HEAP32[$0 + 120 >> 2] > 0) { + $6 = HEAP32[$5 + 20 >> 2]; + $8 = ($2 | 0) != 1; + while (1) { + $2 = $7 << 2; + $1 = HEAP32[($5 + $2 | 0) + 32 >> 2]; + $6 = ($6 | 0) / ($1 | 0) | 0; + if (!$8) { + $4 = HEAP32[$5 + 24 >> 2] + $2 | 0; + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] + 255; + } + $9 = $1 - 1 | 0; + $10 = $9 << 1; + $4 = ($1 + 254 | 0) / ($10 | 0) | 0; + $3 = HEAP32[HEAP32[$5 + 24 >> 2] + $2 >> 2]; + $1 = 0; + $2 = 0; + while (1) { + if (($2 | 0) > ($4 | 0)) { + while (1) { + $1 = $1 + 1 | 0; + $4 = (Math_imul($1 << 1 | 1, 255) + $9 | 0) / ($10 | 0) | 0; + if (($4 | 0) < ($2 | 0)) { + continue; + } + break; + } + } + HEAP8[$2 + $3 | 0] = Math_imul($1, $6); + $2 = $2 + 1 | 0; + if (($2 | 0) != 256) { + continue; + } + break; + } + if (!$8) { + $1 = 1; + while (1) { + $4 = $3 - $1 | 0; + HEAP8[$4 | 0] = HEAPU8[$3 | 0]; + $2 = $1 + $3 | 0; + HEAP8[$2 + 255 | 0] = HEAPU8[$3 + 255 | 0]; + HEAP8[($1 ^ -1) + $3 | 0] = HEAPU8[$3 | 0]; + HEAP8[$2 + 256 | 0] = HEAPU8[$3 + 255 | 0]; + HEAP8[$4 - 2 | 0] = HEAPU8[$3 | 0]; + HEAP8[$2 + 257 | 0] = HEAPU8[$3 + 255 | 0]; + $1 = $1 + 3 | 0; + if (($1 | 0) != 256) { + continue; + } + break; + } + } + $7 = $7 + 1 | 0; + if (($7 | 0) < HEAP32[$0 + 120 >> 2]) { + continue; + } + break; + } } - return i1 | 0; } -function ___syscall_ret(i1) { - i1 = i1 | 0; - var i2 = 0; - if (i1 >>> 0 > 4294963200) { - i2 = ___errno_location() | 0; - HEAP32[i2 >> 2] = 0 - i1; - i1 = -1; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________reset_28std__nullptr_t_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($1) { + std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______29(std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________second_28_29($0), $1); } - return i1 | 0; } -function __ZNSt3__211char_traitsIcE7compareEPKcS3_m(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - if (!i3) i1 = 0; else i1 = _memcmp(i1, i2, i3) | 0; - return i1 | 0; -} - -function b12(i1, i2, i3, i4, i5, i6, i7) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - nullFunc_iiiiiiii(12); - return 0; -} - -function _new_color_map_1_quant(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 >> 2] | 0; - HEAP32[i2 + 20 >> 2] = 46; - FUNCTION_TABLE_vi[HEAP32[i2 >> 2] & 255](i1); - return; +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseDestructorName_28_29($0) { + var $1 = 0, $2 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) - 48 >>> 0 <= 9) { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSimpleId_28_29($0); + break label$1; + } + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseUnresolvedType_28_29($0); + } + HEAP32[$1 + 12 >> 2] = $2; + if ($2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__DtorName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1 + 12 | 0); + } else { + $0 = 0; + } + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_______do_put_integral_long_20long__28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $6) { + $0 = __stack_pointer - 112 | 0; + __stack_pointer = $0; + HEAP32[$0 + 104 >> 2] = 37; + HEAP32[$0 + 108 >> 2] = 0; + std____2____num_put_base____format_int_28char__2c_20char_20const__2c_20bool_2c_20unsigned_20int_29($0 + 104 | 1, $6, 1, std____2__ios_base__flags_28_29_20const($2)); + $6 = std____2____cloc_28_29(); + HEAP32[$0 >> 2] = $4; + HEAP32[$0 + 4 >> 2] = $5; + $6 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 80 | 0, 24, $6, $0 + 104 | 0, $0) + ($0 + 80 | 0) | 0; + $4 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0 + 80 | 0, $6, $2); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $2); + std____2____num_put_char_____widen_and_group_int_28char__2c_20char__2c_20char__2c_20char__2c_20char___2c_20char___2c_20std____2__locale_20const__29($0 + 80 | 0, $4, $6, $0 + 32 | 0, $0 + 28 | 0, $0 + 24 | 0, $0 + 16 | 0); + std____2__locale___locale_28_29($0 + 16 | 0); + $2 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____pad_and_output_char_2c_20std____2__char_traits_char___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20char_20const__2c_20char_20const__2c_20char_20const__2c_20std____2__ios_base__2c_20char_29($1, $0 + 32 | 0, HEAP32[$0 + 28 >> 2], HEAP32[$0 + 24 >> 2], $2, $3); + __stack_pointer = $0 + 112 | 0; + return $2; +} + +function std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char______shared_ptr_pointer_28unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $1 = std____2____shared_weak_count____shared_weak_count_28long_29($0, 0); + HEAP32[$1 >> 2] = 27700; + std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char______compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char___28std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char_____2c_20std____2__allocator_unsigned_20char____29($1 + 12 | 0, std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char______compressed_pair_unsigned_20char___2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___28unsigned_20char___2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char____29($2 + 8 | 0, $2 + 12 | 0, $2 + 24 | 0), $2 + 16 | 0); + __stack_pointer = $2 + 32 | 0; + return $1; +} + +function jpeg_fill_bit_buffer($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $7 = HEAP32[$0 + 4 >> 2]; + $5 = HEAP32[$0 >> 2]; + $6 = HEAP32[$0 + 16 >> 2]; + label$1: { + if (HEAP32[$6 + 440 >> 2]) { + $4 = $5; + } else { + if (($2 | 0) > 24) { + $8 = $2; + $4 = $5; + break label$1; + } + while (1) { + if (!$7) { + if (!(FUNCTION_TABLE[HEAP32[HEAP32[$6 + 24 >> 2] + 12 >> 2]]($6) | 0)) { + return 0; + } + $4 = HEAP32[$6 + 24 >> 2]; + $7 = HEAP32[$4 + 4 >> 2]; + $5 = HEAP32[$4 >> 2]; + } + $4 = $5 + 1 | 0; + $7 = $7 - 1 | 0; + label$8: { + $8 = HEAPU8[$5 | 0]; + if (($8 | 0) == 255) { + while (1) { + if (!$7) { + if (!(FUNCTION_TABLE[HEAP32[HEAP32[$6 + 24 >> 2] + 12 >> 2]]($6) | 0)) { + return 0; + } + $4 = HEAP32[$6 + 24 >> 2]; + $7 = HEAP32[$4 + 4 >> 2]; + $4 = HEAP32[$4 >> 2]; + } + $7 = $7 - 1 | 0; + $5 = HEAPU8[$4 | 0]; + $8 = 255; + $9 = $4 + 1 | 0; + $4 = $9; + if (($5 | 0) == 255) { + continue; + } + break; + } + if ($5) { + break label$8; + } + $4 = $9; + } + $1 = $1 << 8 | $8; + $9 = ($2 | 0) < 17; + $5 = $4; + $8 = $2 + 8 | 0; + $2 = $8; + if ($9) { + continue; + } + break label$1; + } + break; + } + HEAP32[$6 + 440 >> 2] = $5; + $4 = $9; + } + if (($2 | 0) >= ($3 | 0)) { + $8 = $2; + break label$1; + } + if (!HEAP32[HEAP32[$6 + 468 >> 2] + 40 >> 2]) { + $5 = HEAP32[$6 >> 2]; + HEAP32[$5 + 20 >> 2] = 120; + FUNCTION_TABLE[HEAP32[$5 + 4 >> 2]]($6, -1); + HEAP32[HEAP32[$6 + 468 >> 2] + 40 >> 2] = 1; + } + $8 = 25; + $1 = $1 << 25 - $2; + } + HEAP32[$0 + 12 >> 2] = $8; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = $7; + HEAP32[$0 >> 2] = $4; + return 1; } -function _arSetImageProcMode(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if ((i1 | 0) != 0 & i2 >>> 0 < 2) { - HEAP32[i1 + 20 >> 2] = i2; - i1 = 0; - } else i1 = -1; - return i1 | 0; +function arGetTransMatSquare($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $4 = __stack_pointer - 288 | 0; + __stack_pointer = $4; + $5 = $1 + 20 | 0; + label$1: { + if (HEAP32[$1 + 12 >> 2] < 0) { + break label$1; + } + $5 = $1 + 24 | 0; + if (HEAP32[$1 + 8 >> 2] < 0) { + break label$1; + } + $5 = $1 + 16 | 0; + } + $1 = $1 + 168 | 0; + $5 = HEAP32[$5 >> 2]; + $6 = $1 + ((4 - $5 | 0) % 4 << 4) | 0; + HEAPF64[$4 + 224 >> 3] = HEAPF64[$6 >> 3]; + HEAPF64[$4 + 232 >> 3] = HEAPF64[$6 + 8 >> 3]; + $6 = ((5 - $5 | 0) % 4 << 4) + $1 | 0; + HEAPF64[$4 + 240 >> 3] = HEAPF64[$6 >> 3]; + HEAPF64[$4 + 248 >> 3] = HEAPF64[$6 + 8 >> 3]; + $6 = ((6 - $5 | 0) % 4 << 4) + $1 | 0; + HEAPF64[$4 + 256 >> 3] = HEAPF64[$6 >> 3]; + HEAPF64[$4 + 264 >> 3] = HEAPF64[$6 + 8 >> 3]; + $1 = ((7 - $5 | 0) % 4 << 4) + $1 | 0; + HEAPF64[$4 + 272 >> 3] = HEAPF64[$1 >> 3]; + $8 = HEAPF64[$1 + 8 >> 3]; + HEAP32[$4 + 216 >> 2] = 0; + HEAP32[$4 + 220 >> 2] = 0; + $7 = $2 * -.5; + HEAPF64[$4 + 208 >> 3] = $7; + HEAP32[$4 + 192 >> 2] = 0; + HEAP32[$4 + 196 >> 2] = 0; + HEAPF64[$4 + 184 >> 3] = $7; + HEAP32[$4 + 168 >> 2] = 0; + HEAP32[$4 + 172 >> 2] = 0; + $2 = $2 * .5; + HEAPF64[$4 + 160 >> 3] = $2; + HEAPF64[$4 + 280 >> 3] = $8; + HEAPF64[$4 + 200 >> 3] = $7; + HEAPF64[$4 + 176 >> 3] = $2; + HEAPF64[$4 + 152 >> 3] = $2; + HEAP32[$4 + 144 >> 2] = 0; + HEAP32[$4 + 148 >> 2] = 0; + HEAPF64[$4 + 136 >> 3] = $2; + HEAPF64[$4 + 128 >> 3] = $7; + HEAP32[$4 + 120 >> 2] = 4; + HEAP32[$4 + 116 >> 2] = $4 + 128; + HEAP32[$4 + 112 >> 2] = $4 + 224; + if ((icpGetInitXw2Xc_from_PlanarData(HEAP32[$0 >> 2], $4 + 224 | 0, $4 + 128 | 0, 4, $4 + 16 | 0) | 0) < 0) { + $7 = 1e8; + } else { + $1 = icpPoint(HEAP32[$0 >> 2], $4 + 112 | 0, $4 + 16 | 0, $3, $4 + 8 | 0); + $7 = ($1 | 0) < 0 ? 1e8 : HEAPF64[$4 + 8 >> 3]; + } + __stack_pointer = $4 + 288 | 0; + return $7; +} + +function addMarker($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 8 | 0, $2)) { + break label$1; + } + $3 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 12 | 0); + $4 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($1); + $1 = $3 + 340 | 0; + if (!loadMarker_28char_20const__2c_20int__2c_20ARHandle__2c_20ARPattHandle___29($4, $1, $3 + 220 | 0)) { + arLog(0, 3, 39065, 0); + break label$1; + } + $0 = HEAP32[$3 + 340 >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $0 | 0; +} + +function alloc_small($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; + $7 = HEAP32[$0 + 4 >> 2]; + if ($2 >>> 0 >= 999999985) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 56; + HEAP32[$3 + 24 >> 2] = 1; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $4 = $2 & 7; + $4 = $4 ? 8 - $4 | 0 : 0; + if ($1 >>> 0 >= 2) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 24 >> 2] = $1; + HEAP32[$3 + 20 >> 2] = 15; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $4 = $2 + $4 | 0; + label$3: { + label$4: { + $8 = ($1 << 2) + $7 | 0; + $2 = HEAP32[$8 + 52 >> 2]; + if (!$2) { + break label$4; + } + while (1) { + $5 = $2; + if (HEAPU32[$2 + 8 >> 2] < $4 >>> 0) { + $2 = HEAP32[$5 >> 2]; + if ($2) { + continue; + } + break label$4; + } + break; + } + $1 = $5; + break label$3; + } + $2 = HEAP32[($1 << 2) + ($5 ? 42680 : 42672) >> 2]; + $1 = 999999984 - $4 | 0; + $2 = $1 >>> 0 > $2 >>> 0 ? $2 : $1; + $3 = $4 + $2 | 0; + $6 = $3 + 16 | 0; + $1 = jpeg_get_small($0, $6); + if (!$1) { + while (1) { + $1 = $2 >>> 1 | 0; + if ($2 >>> 0 <= 99) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 56; + HEAP32[$3 + 24 >> 2] = 2; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $2 = $1; + $3 = $1 + $4 | 0; + $6 = $3 + 16 | 0; + $1 = jpeg_get_small($0, $6); + if (!$1) { + continue; + } + break; + } + } + HEAP32[$7 + 76 >> 2] = HEAP32[$7 + 76 >> 2] + $6; + HEAP32[$1 + 8 >> 2] = $3; + HEAP32[$1 >> 2] = 0; + HEAP32[$1 + 4 >> 2] = 0; + if (!$5) { + HEAP32[$8 + 52 >> 2] = $1; + break label$3; + } + HEAP32[$5 >> 2] = $1; + } + $0 = HEAP32[$1 + 4 >> 2]; + HEAP32[$1 + 4 >> 2] = $4 + $0; + HEAP32[$1 + 8 >> 2] = HEAP32[$1 + 8 >> 2] - $4; + return ($0 + $1 | 0) + 16 | 0; } -function __ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(i1) { - i1 = i1 | 0; - if ((HEAP8[i1 + 8 + 3 >> 0] | 0) < 0) __ZdlPv(HEAP32[i1 >> 2] | 0); - return; +function trackingInitMain($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = Math_fround(0), $14 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = 0; + label$1: { + if (!$0) { + arLog(0, 3, 39887, 0); + break label$1; + } + label$3: { + $3 = threadGetArg($0); + $8 = HEAP32[$3 >> 2]; + if ($8) { + $9 = HEAP32[$3 + 4 >> 2]; + if ($9) { + break label$3; + } + } + arLog(0, 3, 38908, 0); + break label$1; + } + arLog(0, 1, 39552, 0); + kpmGetResult($8, $1 + 12 | 0, $1 + 8 | 0); + while (1) { + if ((threadStartWait($0) | 0) >= 0) { + kpmMatching($8, $9); + $2 = 0; + HEAP32[$3 + 64 >> 2] = 0; + $4 = HEAP32[$1 + 8 >> 2]; + $11 = ($4 | 0) > 0 ? $4 : 0; + $12 = HEAP32[$1 + 12 >> 2]; + $6 = 0; + while (1) { + if (($6 | 0) != ($11 | 0)) { + $5 = Math_imul($6, 68) + $12 | 0; + if (!(HEAP32[$5 + 60 >> 2] | (HEAPF32[$5 + 52 >> 2] < $13 ? 0 : $2))) { + HEAP32[$3 + 64 >> 2] = 1; + HEAP32[$3 + 60 >> 2] = HEAP32[$5 + 48 >> 2]; + $7 = 0; + while (1) { + if (($7 | 0) != 3) { + $10 = $7 << 4; + $14 = $10 + $5 | 0; + $2 = 0; + while (1) { + if (($2 | 0) != 4) { + $4 = $2 << 2; + HEAPF32[($4 + ($3 + $10 | 0) | 0) + 12 >> 2] = HEAPF32[$4 + $14 >> 2]; + $2 = $2 + 1 | 0; + continue; + } + break; + } + $7 = $7 + 1 | 0; + continue; + } + break; + } + $13 = HEAPF32[$5 + 52 >> 2]; + $2 = 1; + } + $6 = $6 + 1 | 0; + continue; + } + break; + } + threadEndSignal($0); + continue; + } + break; + } + arLog(0, 1, 39576, 0); + } + __stack_pointer = $1 + 16 | 0; + return 0; } -function _strtoll_l(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i4 = _strtoll(i1, i2, i3) | 0; - setTempRet0(getTempRet0() | 0); - return i4 | 0; +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______append_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + if ((HEAP32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] | 0) / 20 >>> 0 >= $1 >>> 0) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______construct_at_end_28unsigned_20long_29($0, $1); + break label$1; + } + $2 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29($0); + $2 = std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__FeaturePoint___29($3 + 8 | 0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______recommend_28unsigned_20long_29_20const($0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0) + $1 | 0), std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0), $2); + std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______construct_at_end_28unsigned_20long_29($2, $1); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______swap_out_circular_buffer_28std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____29($0, $2); + std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint________split_buffer_28_29($2); + } + __stack_pointer = $3 + 32 | 0; } -function _arSetLabelingMode(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if ((i1 | 0) != 0 & i2 >>> 0 < 2) { - HEAP32[i1 + 12 >> 2] = i2; - i1 = 0; - } else i1 = -1; - return i1 | 0; +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______insert_unique_std____2__pair_unsigned_20int_2c_20unsigned_20int__2c_20void__28std____2__pair_unsigned_20int_2c_20unsigned_20int____29($0, $1, $2) { + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______emplace_unique_std____2__pair_unsigned_20int_2c_20unsigned_20int___28std____2__pair_unsigned_20int_2c_20unsigned_20int____29($0, $1, $2); } -function __ZNKSt3__26vectorINS0_IN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEEENS4_IS6_Lm4096EEEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 268435455; +function format_message($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, $10 = 0, $11 = 0; + $5 = __stack_pointer - 48 | 0; + __stack_pointer = $5; + $3 = HEAP32[$0 >> 2]; + $0 = HEAP32[$3 + 20 >> 2]; + label$1: { + label$2: { + label$3: { + if (!(($0 | 0) <= 0 | HEAP32[$3 + 116 >> 2] < ($0 | 0))) { + $2 = HEAP32[$3 + 112 >> 2] + ($0 << 2) | 0; + break label$3; + } + $2 = HEAP32[$3 + 120 >> 2]; + if (!$2) { + break label$2; + } + $4 = HEAP32[$3 + 124 >> 2]; + if (HEAP32[$3 + 128 >> 2] < ($0 | 0) | ($4 | 0) > ($0 | 0)) { + break label$2; + } + $2 = ($0 - $4 << 2) + $2 | 0; + } + $4 = HEAP32[$2 >> 2]; + if ($4) { + break label$1; + } + } + HEAP32[$3 + 24 >> 2] = $0; + $4 = HEAP32[HEAP32[$3 + 112 >> 2] >> 2]; + } + $0 = $4; + label$5: { + label$6: { + while (1) { + $2 = HEAPU8[$0 | 0]; + if (!$2) { + break label$6; + } + $0 = $0 + 1 | 0; + if (($2 | 0) != 37) { + continue; + } + break; + } + if (HEAPU8[$0 | 0] != 115) { + break label$6; + } + HEAP32[$5 + 32 >> 2] = $3 + 24; + siprintf($1, $4, $5 + 32 | 0); + break label$5; + } + $0 = HEAP32[$3 + 32 >> 2]; + $6 = $0; + $2 = HEAP32[$3 + 36 >> 2]; + $7 = $2; + $2 = HEAP32[$3 + 40 >> 2]; + $8 = $2; + $0 = HEAP32[$3 + 44 >> 2]; + $9 = $0; + $0 = HEAP32[$3 + 24 >> 2]; + $10 = $0; + $2 = HEAP32[$3 + 28 >> 2]; + $11 = $2; + $0 = HEAP32[$3 + 52 >> 2]; + $2 = HEAP32[$3 + 48 >> 2]; + $3 = $2; + $2 = $5; + HEAP32[$2 + 24 >> 2] = $3; + HEAP32[$2 + 28 >> 2] = $0; + HEAP32[$2 + 16 >> 2] = $8; + $0 = $9; + HEAP32[$2 + 20 >> 2] = $0; + HEAP32[$2 + 8 >> 2] = $6; + $0 = $7; + HEAP32[$2 + 12 >> 2] = $0; + HEAP32[$2 >> 2] = $10; + $0 = $11; + HEAP32[$2 + 4 >> 2] = $0; + siprintf($1, $4, $2); + } + __stack_pointer = $5 + 48 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseIntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($2 + 8 | 0, $0, 1); + label$1: { + if ($28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($2 + 8 | 0)) { + break label$1; + } + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, 69)) { + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__IntegerLiteral_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2 + 8 | 0); + } + __stack_pointer = $2 + 16 | 0; + return $3; +} + +function std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_______on_zero_shared_28_29($0) { + $0 = $0 | 0; + $0 = $0 + 12 | 0; + std____2__default_delete_vision__Keyframe_96____operator_28_29_28vision__Keyframe_96___29_20const(std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_____second_28_29(std____2____compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96_____first_28_29($0)), HEAP32[std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_____first_28_29(std____2____compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96_____first_28_29($0)) >> 2]); + std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_____second_28_29(std____2____compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96_____first_28_29($0)); +} + +function __stdio_write($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; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + $3 = HEAP32[$0 + 28 >> 2]; + HEAP32[$4 + 16 >> 2] = $3; + $5 = HEAP32[$0 + 20 >> 2]; + HEAP32[$4 + 28 >> 2] = $2; + HEAP32[$4 + 24 >> 2] = $1; + $1 = $5 - $3 | 0; + HEAP32[$4 + 20 >> 2] = $1; + $7 = $1 + $2 | 0; + $3 = $4 + 16 | 0; + $8 = 2; + label$1: { + label$2: { + label$3: { + label$4: { + if (__wasi_syscall_ret(__wasi_fd_write(HEAP32[$0 + 60 >> 2], $4 + 16 | 0, 2, $4 + 12 | 0) | 0)) { + $5 = $3; + break label$4; + } + while (1) { + $1 = HEAP32[$4 + 12 >> 2]; + if (($7 | 0) == ($1 | 0)) { + break label$3; + } + if (($1 | 0) < 0) { + $5 = $3; + break label$2; + } + $6 = HEAP32[$3 + 4 >> 2]; + $9 = $6 >>> 0 < $1 >>> 0; + $5 = ($9 << 3) + $3 | 0; + $6 = $1 - ($9 ? $6 : 0) | 0; + HEAP32[$5 >> 2] = $6 + HEAP32[$5 >> 2]; + $3 = ($9 ? 12 : 4) + $3 | 0; + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] - $6; + $7 = $7 - $1 | 0; + $3 = $5; + $8 = $8 - $9 | 0; + if (!__wasi_syscall_ret(__wasi_fd_write(HEAP32[$0 + 60 >> 2], $3 | 0, $8 | 0, $4 + 12 | 0) | 0)) { + continue; + } + break; + } + } + if (($7 | 0) != -1) { + break label$2; + } + } + $1 = HEAP32[$0 + 44 >> 2]; + HEAP32[$0 + 28 >> 2] = $1; + HEAP32[$0 + 20 >> 2] = $1; + HEAP32[$0 + 16 >> 2] = HEAP32[$0 + 48 >> 2] + $1; + $1 = $2; + break label$1; + } + HEAP32[$0 + 28 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] | 32; + $1 = 0; + if (($8 | 0) == 2) { + break label$1; + } + $1 = $2 - HEAP32[$5 + 4 >> 2] | 0; + } + __stack_pointer = $4 + 32 | 0; + return $1 | 0; } -function _strtoll(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i3 = _strtox_547(i1, i2, i3, 0, -2147483648) | 0; - setTempRet0(getTempRet0() | 0); - return i3 | 0; +function ar2GetBestMatchingSubFineOpt($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { + var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = Math_fround(0), $18 = 0, $19 = 0; + $14 = HEAP32[$4 + 4 >> 2]; + $13 = ($14 | 0) > 0 ? $14 : 0; + $18 = $1 << 1; + $11 = (Math_imul($1, $3) + $2 | 0) + $0 | 0; + $15 = HEAP32[$4 >> 2]; + $0 = ($15 | 0) > 0 ? $15 : 0; + $19 = $0 << 1; + $12 = HEAP32[$4 + 24 >> 2]; + while (1) { + if (($10 | 0) != ($13 | 0)) { + $3 = $11; + $2 = $12; + $1 = 0; + while (1) { + if (($0 | 0) != ($1 | 0)) { + $1 = $1 + 1 | 0; + $16 = Math_imul(HEAPU16[$2 >> 1], HEAPU8[$3 | 0]) + $16 | 0; + $3 = $3 + 2 | 0; + $2 = $2 + 2 | 0; + continue; + } + break; + } + $10 = $10 + 1 | 0; + $11 = $11 + $18 | 0; + $12 = $12 + $19 | 0; + continue; + } + break; + } + $3 = 0; + $1 = $7 - 2 | 0; + $2 = $15 << 1; + $0 = $2 + 8 | 0; + $10 = $8 - 2 | 0; + $11 = Math_imul($0, $10); + $12 = $1 + $11 << 2; + $0 = Math_imul(($14 << 1) + $10 | 0, $0); + $2 = $1 + $2 | 0; + $10 = $0 + $2 << 2; + $13 = HEAP32[$12 + $6 >> 2] + HEAP32[$10 + $6 >> 2] | 0; + $2 = $2 + $11 << 2; + $1 = $0 + $1 << 2; + $0 = HEAP32[$6 + $2 >> 2] + HEAP32[$6 + $1 >> 2] | 0; + $1 = HEAP32[$5 + $12 >> 2] + HEAP32[$5 + $10 >> 2] - (HEAP32[$1 + $5 >> 2] + HEAP32[$2 + $5 >> 2]) | 0; + $2 = HEAP32[$4 + 36 >> 2]; + $0 = $0 + ((Math_imul($1, $1) | 0) / ($2 | 0) | 0) | 0; + if (($13 | 0) != ($0 | 0)) { + $1 = Math_imul((Math_imul($16 - ((Math_imul(HEAP32[$4 + 32 >> 2], $1) | 0) / ($2 | 0) | 0) | 0, 100) | 0) / HEAP32[$4 + 28 >> 2] | 0, 100); + $17 = Math_fround(Math_sqrt(Math_fround($13 - $0 | 0))); + label$6: { + if (Math_fround(Math_abs($17)) < Math_fround(2147483648)) { + $3 = ~~$17; + break label$6; + } + $3 = -2147483648; + } + $3 = ($1 | 0) / ($3 | 0) | 0; + } + HEAP32[$9 >> 2] = $3; +} + +function std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__tuple_int_20const___20std____2__forward_as_tuple_int_20const___28int_20const__29($1), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + std____2__tuple___20std____2__forward_as_tuple___28_29(); + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______emplace_unique_key_args_int_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28int_20const__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($2 + 24 | 0, $0, $1, 40381, $2 + 16 | 0, $2 + 8 | 0); + $1 = std____2____hash_value_type_int_2c_20arController_____get_value_28_29(std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______operator___28_29_20const($2 + 24 | 0)); + __stack_pointer = $2 + 32 | 0; + return $1 + 8 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ClosureTypeName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ClosureTypeName_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $6 = __stack_pointer - 48 | 0; + __stack_pointer = $6; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 32); + $5 = $1; + $4 = HEAP32[$5 >> 2]; + $7 = $4; + $1 = HEAP32[$5 + 4 >> 2]; + $9 = $1; + $4 = $6; + HEAP32[$4 + 40 >> 2] = $7; + HEAP32[$4 + 44 >> 2] = $1; + $5 = $2; + $1 = HEAP32[$5 >> 2]; + $8 = $1; + $4 = HEAP32[$5 + 4 >> 2]; + $10 = $4; + $1 = $6; + HEAP32[$1 + 32 >> 2] = $8; + HEAP32[$1 + 36 >> 2] = $4; + $5 = $3; + $4 = HEAP32[$5 >> 2]; + $3 = $4; + $1 = HEAP32[$5 + 4 >> 2]; + $2 = $1; + $4 = $6; + HEAP32[$4 + 24 >> 2] = $3; + HEAP32[$4 + 28 >> 2] = $1; + HEAP32[$4 + 16 >> 2] = $7; + $1 = $9; + HEAP32[$4 + 20 >> 2] = $1; + HEAP32[$4 + 8 >> 2] = $8; + $1 = $10; + HEAP32[$4 + 12 >> 2] = $1; + HEAP32[$4 >> 2] = $3; + $1 = $2; + HEAP32[$4 + 4 >> 2] = $1; + $1 = $28anonymous_20namespace_29__itanium_demangle__ClosureTypeName__ClosureTypeName_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $4 + 16 | 0, $4 + 8 | 0, $4); + __stack_pointer = $4 + 48 | 0; + return $1; +} + +function mbrtowc($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $7 = __stack_pointer - 16 | 0; + __stack_pointer = $7; + $5 = $3 ? $3 : 79708; + $3 = HEAP32[$5 >> 2]; + label$1: { + label$2: { + label$3: { + if (!$1) { + if ($3) { + break label$3; + } + break label$1; + } + $4 = -2; + if (!$2) { + break label$1; + } + $8 = $0 ? $0 : $7 + 12 | 0; + label$5: { + if ($3) { + $0 = $2; + break label$5; + } + $3 = HEAPU8[$1 | 0]; + $0 = $3 << 24 >> 24; + if (($0 | 0) >= 0) { + HEAP32[$8 >> 2] = $3; + $4 = ($0 | 0) != 0; + break label$1; + } + $3 = __get_tp(); + $0 = HEAP8[$1 | 0]; + if (!HEAP32[HEAP32[$3 + 88 >> 2] >> 2]) { + HEAP32[$8 >> 2] = $0 & 57343; + $4 = 1; + break label$1; + } + $3 = ($0 & 255) - 194 | 0; + if ($3 >>> 0 > 50) { + break label$3; + } + $3 = HEAP32[($3 << 2) + 52560 >> 2]; + $0 = $2 - 1 | 0; + if (!$0) { + break label$2; + } + $1 = $1 + 1 | 0; + } + $6 = HEAPU8[$1 | 0]; + $9 = $6 >>> 3 | 0; + if (($9 - 16 | ($3 >> 26) + $9) >>> 0 > 7) { + break label$3; + } + while (1) { + $0 = $0 - 1 | 0; + $3 = $6 - 128 | $3 << 6; + if (($3 | 0) >= 0) { + HEAP32[$5 >> 2] = 0; + HEAP32[$8 >> 2] = $3; + $4 = $2 - $0 | 0; + break label$1; + } + if (!$0) { + break label$2; + } + $1 = $1 + 1 | 0; + $6 = HEAPU8[$1 | 0]; + if (($6 & 192) == 128) { + continue; + } + break; + } + } + HEAP32[$5 >> 2] = 0; + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 25, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $4 = -1; + break label$1; + } + HEAP32[$5 >> 2] = $3; + } + __stack_pointer = $7 + 16 | 0; + return $4; +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_______do_put_integral_unsigned_20long__28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20unsigned_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5) { + $0 = __stack_pointer - 80 | 0; + __stack_pointer = $0; + HEAP32[$0 + 72 >> 2] = 37; + HEAP32[$0 + 76 >> 2] = 0; + std____2____num_put_base____format_int_28char__2c_20char_20const__2c_20bool_2c_20unsigned_20int_29($0 + 72 | 1, $5, 0, std____2__ios_base__flags_28_29_20const($2)); + $5 = std____2____cloc_28_29(); + HEAP32[$0 >> 2] = $4; + $5 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 59 | 0, 13, $5, $0 + 72 | 0, $0) + ($0 + 59 | 0) | 0; + $4 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0 + 59 | 0, $5, $2); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $2); + std____2____num_put_char_____widen_and_group_int_28char__2c_20char__2c_20char__2c_20char__2c_20char___2c_20char___2c_20std____2__locale_20const__29($0 + 59 | 0, $4, $5, $0 + 32 | 0, $0 + 28 | 0, $0 + 24 | 0, $0 + 16 | 0); + std____2__locale___locale_28_29($0 + 16 | 0); + $2 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____pad_and_output_char_2c_20std____2__char_traits_char___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20char_20const__2c_20char_20const__2c_20char_20const__2c_20std____2__ios_base__2c_20char_29($1, $0 + 32 | 0, HEAP32[$0 + 28 >> 2], HEAP32[$0 + 24 >> 2], $2, $3); + __stack_pointer = $0 + 80 | 0; + return $2; +} + +function h2v1_merged_upsample($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + $2 = $2 << 2; + $7 = HEAP32[$2 + HEAP32[$1 + 8 >> 2] >> 2]; + $5 = HEAP32[HEAP32[$1 + 4 >> 2] + $2 >> 2]; + $6 = HEAP32[HEAP32[$1 >> 2] + $2 >> 2]; + $1 = HEAP32[$3 >> 2]; + $2 = HEAP32[$0 + 336 >> 2]; + $3 = HEAP32[$0 + 476 >> 2]; + $11 = HEAP32[$3 + 28 >> 2]; + $12 = HEAP32[$3 + 24 >> 2]; + $13 = HEAP32[$3 + 20 >> 2]; + $14 = HEAP32[$3 + 16 >> 2]; + $3 = HEAP32[$0 + 112 >> 2]; + if ($3 >>> 0 >= 2) { + $10 = $3 >>> 1 | 0; + while (1) { + $4 = HEAPU8[$5 | 0] << 2; + $3 = HEAP32[$13 + $4 >> 2]; + $8 = HEAPU8[$7 | 0] << 2; + $9 = HEAP32[$12 + $8 >> 2]; + $15 = HEAP32[$4 + $11 >> 2]; + $4 = HEAPU8[$6 | 0]; + $8 = HEAP32[$8 + $14 >> 2]; + HEAP8[$1 | 0] = HEAPU8[($4 + $8 | 0) + $2 | 0]; + $9 = $9 + $15 >> 16; + HEAP8[$1 + 1 | 0] = HEAPU8[($9 + $4 | 0) + $2 | 0]; + HEAP8[$1 + 2 | 0] = HEAPU8[($3 + $4 | 0) + $2 | 0]; + $4 = HEAPU8[$6 + 1 | 0]; + HEAP8[$1 + 3 | 0] = HEAPU8[($8 + $4 | 0) + $2 | 0]; + HEAP8[$1 + 4 | 0] = HEAPU8[($4 + $9 | 0) + $2 | 0]; + HEAP8[$1 + 5 | 0] = HEAPU8[($3 + $4 | 0) + $2 | 0]; + $1 = $1 + 6 | 0; + $6 = $6 + 2 | 0; + $7 = $7 + 1 | 0; + $5 = $5 + 1 | 0; + $10 = $10 - 1 | 0; + if ($10) { + continue; + } + break; + } + $3 = HEAP32[$0 + 112 >> 2]; + } + if ($3 & 1) { + $5 = HEAPU8[$5 | 0] << 2; + $3 = HEAP32[$13 + $5 >> 2]; + $7 = HEAPU8[$7 | 0] << 2; + $4 = HEAP32[$12 + $7 >> 2]; + $5 = HEAP32[$5 + $11 >> 2]; + $6 = HEAPU8[$6 | 0]; + HEAP8[$1 | 0] = HEAPU8[($6 + HEAP32[$7 + $14 >> 2] | 0) + $2 | 0]; + HEAP8[$1 + 1 | 0] = HEAPU8[(($4 + $5 >> 16) + $6 | 0) + $2 | 0]; + HEAP8[$1 + 2 | 0] = HEAPU8[($3 + $6 | 0) + $2 | 0]; + } } -function _arGetTransMatMultiSquareRobust(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - return +(+_arGetTransMatMultiSquare2(i1, i2, i3, i4, 1)); +function color_quantize($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0; + if (($3 | 0) > 0) { + $15 = HEAP32[$0 + 112 >> 2]; + $6 = HEAP32[HEAP32[$0 + 484 >> 2] + 24 >> 2]; + $7 = HEAP32[$0 + 120 >> 2]; + $17 = $7 & -4; + $16 = $7 & 3; + $18 = $7 - 1 >>> 0 < 3; + while (1) { + if ($15) { + $0 = $9 << 2; + $10 = HEAP32[$1 + $0 >> 2]; + $11 = HEAP32[$0 + $2 >> 2]; + $12 = $15; + while (1) { + label$5: { + if (($7 | 0) <= 0) { + $4 = 0; + break label$5; + } + $13 = 0; + $4 = 0; + $5 = 0; + $0 = $10; + $14 = 0; + if (!$18) { + while (1) { + $8 = $5 << 2; + $4 = (((HEAPU8[HEAP32[$8 + $6 >> 2] + HEAPU8[$0 | 0] | 0] + $4 | 0) + HEAPU8[HEAP32[($8 | 4) + $6 >> 2] + HEAPU8[$0 + 1 | 0] | 0] | 0) + HEAPU8[HEAP32[($8 | 8) + $6 >> 2] + HEAPU8[$0 + 2 | 0] | 0] | 0) + HEAPU8[HEAP32[($8 | 12) + $6 >> 2] + HEAPU8[$0 + 3 | 0] | 0] | 0; + $5 = $5 + 4 | 0; + $0 = $0 + 4 | 0; + $14 = $14 + 4 | 0; + if (($17 | 0) != ($14 | 0)) { + continue; + } + break; + } + } + if ($16) { + while (1) { + $4 = HEAPU8[HEAP32[($5 << 2) + $6 >> 2] + HEAPU8[$0 | 0] | 0] + $4 | 0; + $5 = $5 + 1 | 0; + $0 = $0 + 1 | 0; + $13 = $13 + 1 | 0; + if (($13 | 0) != ($16 | 0)) { + continue; + } + break; + } + } + $10 = $7 + $10 | 0; + } + HEAP8[$11 | 0] = $4; + $11 = $11 + 1 | 0; + $12 = $12 - 1 | 0; + if ($12) { + continue; + } + break; + } + } + $9 = $9 + 1 | 0; + if (($9 | 0) != ($3 | 0)) { + continue; + } + break; + } + } } -function __ZN10__cxxabiv112_GLOBAL__N_111short_allocINS0_11string_pairELm4096EEC2ERNS0_5arenaILm4096EEE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = i2; - return; +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController________hash_table_28_29($0) { + std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______29($0, HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______first_28_29($0 + 8 | 0) >> 2]); + return std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___________unique_ptr_28_29($0); } -function __ZNSt3__24pairIKiNS_10shared_ptrIN6vision8KeyframeILi96EEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEED2Ev(i1 + 4 | 0); - return; +function quantize_ord_dither($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0; + if (($3 | 0) > 0) { + $8 = HEAP32[$0 + 120 >> 2]; + $9 = HEAP32[$0 + 484 >> 2]; + $5 = HEAP32[$0 + 112 >> 2]; + $16 = $5 & -2; + $17 = $5 & 1; + while (1) { + $0 = $10 << 2; + $14 = $2 + $0 | 0; + memset(HEAP32[$14 >> 2], 0, $5); + $15 = HEAP32[$9 + 48 >> 2]; + if (($8 | 0) > 0) { + $18 = $0 + $1 | 0; + $6 = 0; + while (1) { + label$5: { + if (!$5) { + break label$5; + } + $0 = $6 << 2; + $11 = HEAP32[($9 + $0 | 0) + 52 >> 2] + ($15 << 6) | 0; + $12 = HEAP32[HEAP32[$9 + 24 >> 2] + $0 >> 2]; + $4 = HEAP32[$18 >> 2] + $6 | 0; + $0 = HEAP32[$14 >> 2]; + $7 = 0; + $13 = 0; + if (($5 | 0) != 1) { + while (1) { + HEAP8[$0 | 0] = HEAPU8[$0 | 0] + HEAPU8[(HEAP32[($7 << 2) + $11 >> 2] + HEAPU8[$4 | 0] | 0) + $12 | 0]; + $4 = $4 + $8 | 0; + HEAP8[$0 + 1 | 0] = HEAPU8[$0 + 1 | 0] + HEAPU8[(HEAP32[(($7 + 1 & 15) << 2) + $11 >> 2] + HEAPU8[$4 | 0] | 0) + $12 | 0]; + $0 = $0 + 2 | 0; + $7 = $7 + 2 & 15; + $4 = $4 + $8 | 0; + $13 = $13 + 2 | 0; + if (($16 | 0) != ($13 | 0)) { + continue; + } + break; + } + } + if (!$17) { + break label$5; + } + HEAP8[$0 | 0] = HEAPU8[$0 | 0] + HEAPU8[(HEAP32[($7 << 2) + $11 >> 2] + HEAPU8[$4 | 0] | 0) + $12 | 0]; + } + $6 = $6 + 1 | 0; + if (($6 | 0) != ($8 | 0)) { + continue; + } + break; + } + } + HEAP32[$9 + 48 >> 2] = $15 + 1 & 15; + $10 = $10 + 1 | 0; + if (($10 | 0) != ($3 | 0)) { + continue; + } + break; + } + } } -function __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i1) { - i1 = i1 | 0; - if ((HEAP8[i1 + 11 >> 0] | 0) < 0) __ZdlPv(HEAP32[i1 >> 2] | 0); - return; +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__copy_char__2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____28char__2c_20char__2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___29($0, $1, $2) { + return std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____rewrap_iter_std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___29($2, std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____copy_char__2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____28char__2c_20char__2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___29(decltype_28std____2____unwrap_iter_impl_char__2c_20true_____apply_28declval_char___28_29_29_29_20std____2____unwrap_iter_char__2c_20std____2____unwrap_iter_impl_char__2c_20true___28char__29($0), decltype_28std____2____unwrap_iter_impl_char__2c_20true_____apply_28declval_char___28_29_29_29_20std____2____unwrap_iter_char__2c_20std____2____unwrap_iter_impl_char__2c_20true___28char__29($1), decltype_28std____2____unwrap_iter_impl_std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20false_____apply_28declval_std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____28_29_29_29_20std____2____unwrap_iter_std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2____unwrap_iter_impl_std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20false___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___29($2))); +} + +function void_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______push_back_slow_path_vision__FeaturePoint__28vision__FeaturePoint___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29($0); + $2 = std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__FeaturePoint___29($3 + 8 | 0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______recommend_28unsigned_20long_29_20const($0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0) + 1 | 0), std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0), $4); + void_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____construct_vision__FeaturePoint_2c_20vision__FeaturePoint_2c_20void__28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20vision__FeaturePoint___29($4, vision__FeaturePoint__20std____2____to_address_vision__FeaturePoint__28vision__FeaturePoint__29(HEAP32[$2 + 8 >> 2]), $1); + HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 20; + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______swap_out_circular_buffer_28std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____29($0, $2); + std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint________split_buffer_28_29($2); + __stack_pointer = $3 + 32 | 0; +} + +function addNFTMarker($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 8 | 0, $2)) { + break label$1; + } + $3 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 12 | 0); + $4 = HEAP32[$3 + 248 >> 2]; + if (!loadNFTMarker($3, $4, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($1))) { + arLog(0, 3, 39020, 0); + break label$1; + } + HEAP32[$3 + 248 >> 2] = HEAP32[$3 + 248 >> 2] + 1; + $0 = $4; + } + __stack_pointer = $2 + 16 | 0; + return $0 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PointerToMemberConversionExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37973); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 37909); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37866); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 48 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ConversionExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37973); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 37909); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + $4 = $0 + 12 | 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($4, $0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37866); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 48 | 0; +} + +function do_newlocale($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + label$2: { + while (1) { + $6 = ($3 + 8 | 0) + ($4 << 2) | 0; + $5 = 1 << $4 & $0; + if ($5 | !$2) { + $5 = __get_locale($4, $5 ? $1 : 40067); + } else { + $5 = HEAP32[($4 << 2) + $2 >> 2]; + } + HEAP32[$6 >> 2] = $5; + if (($5 | 0) == -1) { + break label$2; + } + $4 = $4 + 1 | 0; + if (($4 | 0) != 6) { + continue; + } + break; + } + if (!__loc_is_allocated($2)) { + $2 = 54536; + if (!memcmp($3 + 8 | 0, 54536, 24)) { + break label$1; + } + $2 = 54560; + if (!memcmp($3 + 8 | 0, 54560, 24)) { + break label$1; + } + $4 = 0; + if (!HEAPU8[82352]) { + while (1) { + wasm2js_i32$0 = ($4 << 2) + 82304 | 0, wasm2js_i32$1 = __get_locale($4, 40067), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $4 = $4 + 1 | 0; + if (($4 | 0) != 6) { + continue; + } + break; + } + HEAP8[82352] = 1; + HEAP32[20582] = HEAP32[20576]; + } + $2 = 82304; + if (!memcmp($3 + 8 | 0, 82304, 24)) { + break label$1; + } + $2 = 82328; + if (!memcmp($3 + 8 | 0, 82328, 24)) { + break label$1; + } + $2 = dlmalloc(24); + if (!$2) { + break label$2; + } + } + $1 = HEAP32[$3 + 12 >> 2]; + $0 = HEAP32[$3 + 8 >> 2]; + HEAP32[$2 >> 2] = $0; + HEAP32[$2 + 4 >> 2] = $1; + $0 = HEAP32[$3 + 28 >> 2]; + $1 = HEAP32[$3 + 24 >> 2]; + HEAP32[$2 + 16 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = $0; + $1 = HEAP32[$3 + 20 >> 2]; + $0 = HEAP32[$3 + 16 >> 2]; + HEAP32[$2 + 8 >> 2] = $0; + HEAP32[$2 + 12 >> 2] = $1; + break label$1; + } + $2 = 0; + } + __stack_pointer = $3 + 32 | 0; + return $2; +} + +function std____2__enable_if_is_move_constructible_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________value_20___20is_move_assignable_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________value_2c_20void___type_20std____2__swap_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function getTransMatSquareCont($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $0; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $3 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($3 + 8 | 0, $3)) { + $0 = HEAP32[18567]; + break label$1; + } + $0 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $3 + 12 | 0); + $4 = HEAP32[$0 + 216 >> 2]; + if (HEAP32[$4 + 44 >> 2] <= ($1 | 0)) { + $0 = HEAP32[18568]; + break label$1; + } + arGetTransMatSquareCont(HEAP32[$0 + 228 >> 2], ($1 | 0) < 0 ? 78024 : (($1 << 8) + $4 | 0) + 48 | 0, 78288, +($2 | 0), 78288); + $0 = 0; + } + __stack_pointer = $3 + 16 | 0; + return $0 | 0; +} + +function vision__CheckHomographyHeuristics_28float__2c_20int_2c_20int_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = Math_fround(0), $6 = Math_fround(0); + $3 = __stack_pointer - 112 | 0; + __stack_pointer = $3; + $4 = 0; + label$1: { + if (!bool_20vision__MatrixInverse3x3_float__28float__2c_20float_20const__2c_20float_29($3 + 32 | 0, $0, Math_fround(9999999747378752e-21))) { + break label$1; + } + HEAP32[$3 + 24 >> 2] = 0; + HEAP32[$3 + 28 >> 2] = 0; + HEAP32[$3 + 20 >> 2] = 0; + $5 = Math_fround($1 | 0); + HEAPF32[$3 + 16 >> 2] = $5; + $6 = Math_fround($2 | 0); + HEAPF32[$3 + 12 >> 2] = $6; + HEAPF32[$3 + 8 >> 2] = $5; + HEAPF32[$3 + 4 >> 2] = $6; + HEAP32[$3 >> 2] = 0; + void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($3 + 104 | 0, $3 + 32 | 0, $3 + 24 | 0); + void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($3 + 96 | 0, $3 + 32 | 0, $3 + 16 | 0); + void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($3 + 88 | 0, $3 + 32 | 0, $3 + 8 | 0); + void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($3 + 80 | 0, $3 + 32 | 0, $3); + $4 = 0; + if (float_20vision__SmallestTriangleArea_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($3 + 104 | 0, $3 + 96 | 0, $3 + 88 | 0, $3 + 80 | 0) < Math_fround(+(Math_imul($1, $2) | 0) * 1e-4)) { + break label$1; + } + $4 = bool_20vision__QuadrilateralConvex_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($3 + 104 | 0, $3 + 96 | 0, $3 + 88 | 0, $3 + 80 | 0); + } + __stack_pointer = $3 + 112 | 0; + return $4; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______reset_28std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______operator_28_29_28std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____29(std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______second_28_29($0), $2); + } +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______append_28unsigned_20long_2c_20unsigned_20char_20const__29($0, $1, $2) { + var $3 = 0, $4 = 0; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + label$1: { + if (HEAP32[std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] >>> 0 >= $1 >>> 0) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______construct_at_end_28unsigned_20long_2c_20unsigned_20char_20const__29($0, $1, $2); + break label$1; + } + $3 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0); + $3 = std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_unsigned_20char___29($4 + 8 | 0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______recommend_28unsigned_20long_29_20const($0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0) + $1 | 0), std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0), $3); + std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______construct_at_end_28unsigned_20long_2c_20unsigned_20char_20const__29($3, $1, $2); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______swap_out_circular_buffer_28std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____29($0, $3); + std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char________split_buffer_28_29($3); + } + __stack_pointer = $4 + 32 | 0; +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_am_pm_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 8 >> 2] + 8 >> 2]]($0 + 8 | 0) | 0; + if ((std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0) | 0) == (0 - std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0 + 12 | 0) | 0)) { + HEAP32[$4 >> 2] = HEAP32[$4 >> 2] | 4; + return; + } + $4 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__20std____2____scan_keyword_std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__ctype_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__ctype_char__20const__2c_20unsigned_20int__2c_20bool_29($2, $3, $0, $0 + 24 | 0, $5, $4, 0); + $5 = HEAP32[$1 >> 2]; + if (!(($4 | 0) != ($0 | 0) | ($5 | 0) != 12)) { + HEAP32[$1 >> 2] = 0; + return; + } + if (!(($4 - $0 | 0) != 12 | ($5 | 0) > 11)) { + HEAP32[$1 >> 2] = $5 + 12; + } +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_______do_put_integral_long__28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5) { + $0 = __stack_pointer - 80 | 0; + __stack_pointer = $0; + HEAP32[$0 + 72 >> 2] = 37; + HEAP32[$0 + 76 >> 2] = 0; + std____2____num_put_base____format_int_28char__2c_20char_20const__2c_20bool_2c_20unsigned_20int_29($0 + 72 | 1, $5, 1, std____2__ios_base__flags_28_29_20const($2)); + $5 = std____2____cloc_28_29(); + HEAP32[$0 >> 2] = $4; + $5 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 59 | 0, 13, $5, $0 + 72 | 0, $0) + ($0 + 59 | 0) | 0; + $4 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0 + 59 | 0, $5, $2); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $2); + std____2____num_put_char_____widen_and_group_int_28char__2c_20char__2c_20char__2c_20char__2c_20char___2c_20char___2c_20std____2__locale_20const__29($0 + 59 | 0, $4, $5, $0 + 32 | 0, $0 + 28 | 0, $0 + 24 | 0, $0 + 16 | 0); + std____2__locale___locale_28_29($0 + 16 | 0); + $2 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____pad_and_output_char_2c_20std____2__char_traits_char___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20char_20const__2c_20char_20const__2c_20char_20const__2c_20std____2__ios_base__2c_20char_29($1, $0 + 32 | 0, HEAP32[$0 + 28 >> 2], HEAP32[$0 + 24 >> 2], $2, $3); + __stack_pointer = $0 + 80 | 0; + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__ArraySubscriptExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37973); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 34425); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 34409); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 48 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNestedName_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__29___lambda__28_28anonymous_20namespace_29__itanium_demangle__Node__29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__Node__29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + if ($1) { + $3 = HEAP32[$0 >> 2]; + label$2: { + if (HEAP32[$3 >> 2]) { + $1 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NestedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29(HEAP32[$0 + 4 >> 2], $3, $2 + 12 | 0); + HEAP32[HEAP32[$0 >> 2] >> 2] = $1; + break label$2; + } + HEAP32[$3 >> 2] = $1; + } + $1 = HEAP32[HEAP32[$0 + 8 >> 2] >> 2]; + if ($1) { + HEAP8[$1 + 1 | 0] = 0; + } + $0 = HEAP32[HEAP32[$0 >> 2] >> 2] != 0; + } else { + $0 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function ar2MarkerCoord2ScreenCoord2($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = Math_fround(0), $8 = Math_fround(0), $9 = Math_fround(0), $10 = Math_fround(0); + $6 = __stack_pointer + -64 | 0; + __stack_pointer = $6; + label$1: { + if ($0) { + arUtilMatMuldff($0 + 8 | 0, $1, $6 + 16 | 0); + $1 = -1; + $0 = $0 + 184 | 0; + $7 = Math_fround(HEAPF32[$6 + 60 >> 2] + Math_fround(Math_fround(HEAPF32[$6 + 48 >> 2] * $2) + Math_fround(HEAPF32[$6 + 52 >> 2] * $3))); + $8 = Math_fround(Math_fround(HEAPF32[$6 + 28 >> 2] + Math_fround(Math_fround(HEAPF32[$6 + 16 >> 2] * $2) + Math_fround(HEAPF32[$6 + 20 >> 2] * $3))) / $7); + $3 = Math_fround(Math_fround(HEAPF32[$6 + 44 >> 2] + Math_fround(Math_fround(HEAPF32[$6 + 32 >> 2] * $2) + Math_fround(HEAPF32[$6 + 36 >> 2] * $3))) / $7); + if ((arParamIdeal2ObservLTf($0, $8, $3, $4, $5) | 0) < 0) { + break label$1; + } + if ((arParamObserv2IdealLTf($0, HEAPF32[$4 >> 2], HEAPF32[$5 >> 2], $6 + 12 | 0, $6 + 8 | 0) | 0) < 0) { + break label$1; + } + $2 = Math_fround($8 - HEAPF32[$6 + 12 >> 2]); + $3 = Math_fround($3 - HEAPF32[$6 + 8 >> 2]); + $1 = Math_fround(Math_fround($2 * $2) + Math_fround($3 * $3)) > Math_fround(1) ? -1 : 0; + break label$1; + } + $7 = HEAPF32[$1 + 28 >> 2]; + $8 = HEAPF32[$1 + 20 >> 2]; + $10 = HEAPF32[$1 + 16 >> 2]; + $9 = Math_fround(HEAPF32[$1 + 44 >> 2] + Math_fround(Math_fround(HEAPF32[$1 + 32 >> 2] * $2) + Math_fround(HEAPF32[$1 + 36 >> 2] * $3))); + HEAPF32[$4 >> 2] = Math_fround(HEAPF32[$1 + 12 >> 2] + Math_fround(Math_fround(HEAPF32[$1 >> 2] * $2) + Math_fround(HEAPF32[$1 + 4 >> 2] * $3))) / $9; + HEAPF32[$5 >> 2] = Math_fround($7 + Math_fround(Math_fround($10 * $2) + Math_fround($8 * $3))) / $9; + $1 = 0; + } + __stack_pointer = $6 - -64 | 0; + return $1; +} + +function vision__DoGScaleInvariantDetector__DoGScaleInvariantDetector_28_29($0) { + var $1 = 0; + HEAP32[$0 + 8 >> 2] = 10; + HEAP32[$0 + 12 >> 2] = 10; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________vector_28_29($0 + 16 | 0); + HEAP8[$0 + 28 | 0] = 1; + vision__DoGPyramid__DoGPyramid_28_29($0 + 32 | 0); + HEAP32[$0 + 52 >> 2] = 0; + HEAP32[$0 + 56 >> 2] = 1092616192; + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____vector_28_29($0 + 60 | 0); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____vector_28_29($0 + 72 | 0); + HEAP32[$0 + 88 >> 2] = 1091567616; + vision__OrientationAssignment__OrientationAssignment_28_29($0 + 92 | 0); + $1 = std____2__vector_float_2c_20std____2__allocator_float____vector_28_29($0 + 144 | 0); + vision__DoGScaleInvariantDetector__setMaxNumFeaturePoints_28unsigned_20long_29($0, 5e3); + std____2__vector_float_2c_20std____2__allocator_float____resize_28unsigned_20long_29($1, 36); + return $0; +} + +function getTransMatSquare($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $0; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $3 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($3 + 8 | 0, $3)) { + $0 = HEAP32[18567]; + break label$1; + } + $0 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $3 + 12 | 0); + $4 = HEAP32[$0 + 216 >> 2]; + if (HEAP32[$4 + 44 >> 2] <= ($1 | 0)) { + $0 = HEAP32[18568]; + break label$1; + } + arGetTransMatSquare(HEAP32[$0 + 228 >> 2], ($1 | 0) < 0 ? 78024 : (($1 << 8) + $4 | 0) + 48 | 0, +($2 | 0), 78288); + $0 = 0; + } + __stack_pointer = $3 + 16 | 0; + return $0 | 0; +} + +function std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____operator_5b_5d_28int_20const__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__tuple_int_20const___20std____2__forward_as_tuple_int_20const___28int_20const__29($1), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + std____2__tuple___20std____2__forward_as_tuple___28_29(); + std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20bool__20std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______emplace_unique_key_args_int_2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28int_20const__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($2 + 24 | 0, $0, $1, 40381, $2 + 16 | 0, $2 + 8 | 0); + $1 = std____2____hash_value_type_int_2c_20ARParam_____get_value_28_29(std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______operator___28_29_20const($2 + 24 | 0)); + __stack_pointer = $2 + 32 | 0; + return $1 + 8 | 0; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______max_size_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____20const__29(std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FunctionType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 32); + $1 = HEAP32[$1 >> 2]; + $7 = HEAP32[$2 + 4 >> 2]; + $8 = HEAP32[$2 >> 2]; + HEAP32[$6 + 8 >> 2] = $8; + HEAP32[$6 + 12 >> 2] = $7; + $2 = HEAP32[$5 >> 2]; + $5 = HEAPU8[$4 | 0]; + $4 = HEAP32[$3 >> 2]; + HEAP32[$6 >> 2] = $8; + HEAP32[$6 + 4 >> 2] = $7; + $1 = $28anonymous_20namespace_29__itanium_demangle__FunctionType__FunctionType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers_2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $6, $4, $5, $2); + __stack_pointer = $6 + 16 | 0; + return $1; +} + +function long_20long_20std____2____num_get_signed_integral_long_20long__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + label$1: { + label$2: { + label$3: { + if (($0 | 0) != ($1 | 0)) { + $6 = __errno_location(); + $7 = HEAP32[$6 >> 2]; + HEAP32[$6 >> 2] = 0; + std____2____cloc_28_29(); + $0 = strtoll_l_28char_20const__2c_20char___2c_20int_2c_20__locale_struct__29($0, $5 + 12 | 0, $3); + $3 = $0; + $4 = i64toi32_i32$HIGH_BITS; + $0 = HEAP32[$6 >> 2]; + label$5: { + if ($0) { + if (HEAP32[$5 + 12 >> 2] != ($1 | 0)) { + break label$5; + } + if (($0 | 0) == 68) { + break label$2; + } + break label$3; + } + HEAP32[$6 >> 2] = $7; + if (HEAP32[$5 + 12 >> 2] == ($1 | 0)) { + break label$3; + } + } + } + HEAP32[$2 >> 2] = 4; + $3 = 0; + $4 = 0; + break label$1; + } + $1 = std____2__numeric_limits_long_20long___min_28_29() >>> 0 > $3 >>> 0; + $0 = i64toi32_i32$HIGH_BITS; + if ($1 & ($4 | 0) <= ($0 | 0) | ($4 | 0) < ($0 | 0)) { + break label$2; + } + $1 = std____2__numeric_limits_long_20long___max_28_29() >>> 0 >= $3 >>> 0; + $0 = i64toi32_i32$HIGH_BITS; + if ($1 & ($4 | 0) <= ($0 | 0) | ($4 | 0) < ($0 | 0)) { + break label$1; + } + } + HEAP32[$2 >> 2] = 4; + if (!!$3 & ($4 | 0) >= 0 | ($4 | 0) > 0) { + $3 = std____2__numeric_limits_long_20long___max_28_29(); + $4 = i64toi32_i32$HIGH_BITS; + break label$1; + } + $3 = std____2__numeric_limits_long_20long___min_28_29(); + $4 = i64toi32_i32$HIGH_BITS; + } + __stack_pointer = $5 + 16 | 0; + i64toi32_i32$HIGH_BITS = $4; + return $3; } -function __ZNK6vision17PriorityQueueItemILi96EEltERKS1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return (HEAP32[i1 + 4 >> 2] | 0) >>> 0 > (HEAP32[i2 + 4 >> 2] | 0) >>> 0 | 0; +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____pad_and_output_char_2c_20std____2__char_traits_char___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20char_20const__2c_20char_20const__2c_20char_20const__2c_20std____2__ios_base__2c_20char_29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $8 = __stack_pointer - 16 | 0; + __stack_pointer = $8; + label$1: { + if (!$0) { + break label$1; + } + $7 = std____2__ios_base__width_28_29_20const($4); + $9 = $2 - $1 | 0; + if (($9 | 0) > 0) { + if ((std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sputn_28char_20const__2c_20long_29($0, $1, $9) | 0) != ($9 | 0)) { + break label$1; + } + } + $6 = $3 - $1 | 0; + $1 = ($6 | 0) < ($7 | 0) ? $7 - $6 | 0 : 0; + if (($1 | 0) > 0) { + $6 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28unsigned_20long_2c_20char_29($8, $1, $5); + $7 = std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sputn_28char_20const__2c_20long_29($0, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($6), $1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($6); + $6 = 0; + if (($1 | 0) != ($7 | 0)) { + break label$1; + } + } + $1 = $3 - $2 | 0; + if (($1 | 0) > 0) { + $6 = 0; + if ((std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sputn_28char_20const__2c_20long_29($0, $2, $1) | 0) != ($1 | 0)) { + break label$1; + } + } + std____2__ios_base__width_28long_29($4, 0); + $6 = $0; + } + __stack_pointer = $8 + 16 | 0; + return $6; } -function __ZN6vision9ExceptionD2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 13516; - __ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(i1 + 4 | 0); - return; +function std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________deallocate_28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________deallocate_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20unsigned_20long_29($0, $1, $2); } -function __ZN6vision4min3IfEET_S1_S1_S1_(d1, d2, d3) { - d1 = +d1; - d2 = +d2; - d3 = +d3; - return +(+__ZN6vision4min2IfEET_S1_S1_(+__ZN6vision4min2IfEET_S1_S1_(d1, d2), d3)); +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______29($0, $1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20unsigned_20long_29(std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___________alloc_28_29($0), $1, HEAP32[std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________size_28_29($0) >> 2]); } -function __ZN10__cxxabiv112_GLOBAL__N_110save_valueIbEC2ERb(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = i2; - HEAP8[i1 + 4 >> 0] = HEAP8[i2 >> 0] | 0; - return; +function start_output_pass($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $3 = HEAP32[$0 + 452 >> 2]; + if (HEAP32[$3 + 16 >> 2]) { + label$2: { + label$3: { + if (!HEAP32[$0 + 160 >> 2] | (!HEAP32[$0 + 80 >> 2] | !HEAP32[$0 + 224 >> 2])) { + break label$3; + } + $2 = HEAP32[$3 + 112 >> 2]; + if (!$2) { + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, Math_imul(HEAP32[$0 + 36 >> 2], 24)) | 0; + HEAP32[$3 + 112 >> 2] = $2; + } + if (HEAP32[$0 + 36 >> 2] <= 0) { + break label$3; + } + $4 = HEAP32[$0 + 216 >> 2]; + while (1) { + $1 = HEAP32[$4 + 80 >> 2]; + if (!$1 | !HEAPU16[$1 >> 1] | (!HEAPU16[$1 + 2 >> 1] | !HEAPU16[$1 + 16 >> 1])) { + break label$3; + } + if (!HEAPU16[$1 + 4 >> 1] | (!HEAPU16[$1 + 32 >> 1] | !HEAPU16[$1 + 18 >> 1])) { + break label$3; + } + $1 = HEAP32[$0 + 160 >> 2] + ($5 << 8) | 0; + if (HEAP32[$1 >> 2] < 0) { + break label$3; + } + HEAP32[$2 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; + $7 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; + $8 = HEAP32[$1 + 8 >> 2]; + HEAP32[$2 + 12 >> 2] = HEAP32[$1 + 12 >> 2]; + $9 = HEAP32[$1 + 12 >> 2]; + HEAP32[$2 + 16 >> 2] = HEAP32[$1 + 16 >> 2]; + $10 = HEAP32[$1 + 16 >> 2]; + HEAP32[$2 + 20 >> 2] = HEAP32[$1 + 20 >> 2]; + $6 = HEAP32[$1 + 20 >> 2] | $10 | ($7 | $8 | $9) ? 1 : $6; + $4 = $4 + 88 | 0; + $2 = $2 + 24 | 0; + $5 = $5 + 1 | 0; + if (($5 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; + } + break; + } + $1 = 178; + if ($6) { + break label$2; + } + } + $1 = 174; + } + HEAP32[$3 + 12 >> 2] = $1; + } + HEAP32[$0 + 156 >> 2] = 0; } -function _jpeg_mem_available(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - return (HEAP32[(HEAP32[i1 + 4 >> 2] | 0) + 44 >> 2] | 0) - i4 | 0; +function setPattRatio($0, $1) { + $0 = $0 | 0; + $1 = Math_fround($1); + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 28 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 28 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 24 | 0, $2 + 16 | 0)) { + break label$1; + } + $0 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 28 | 0); + if ($1 <= Math_fround(0) | $1 >= Math_fround(1)) { + break label$1; + } + $0 = HEAP32[$0 + 216 >> 2]; + if (!$0) { + break label$1; + } + $3 = +$1; + if (arSetPattRatio($0, $3)) { + break label$1; + } + HEAPF64[$2 >> 3] = $3; + arLog(0, 1, 39158, $2); + } + __stack_pointer = $2 + 32 | 0; } -function _arGetPatternDetectionMode(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if (!i1) i1 = -1; else { - HEAP32[i2 >> 2] = HEAP32[i1 + 24 >> 2]; - i1 = 0; +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____ConstructTransaction___ConstructTransaction_28std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($4 | 0)) { + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____construct_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__29(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29($0), vision__DoGScaleInvariantDetector__FeaturePoint__20std____2____to_address_vision__DoGScaleInvariantDetector__FeaturePoint__28vision__DoGScaleInvariantDetector__FeaturePoint__29($1)); + $1 = $1 + 36 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; } - return i1 | 0; } -function __ZNSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE16__on_zero_sharedEv(i1) { - i1 = i1 | 0; - __ZdlPv(HEAP32[i1 + 12 >> 2] | 0); - return; +function arLogv($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = $3; + label$1: { + if (!HEAPU8[$2 | 0] | (!$2 | HEAP32[18566] > ($1 | 0))) { + break label$1; + } + $0 = HEAP32[$4 + 12 >> 2]; + HEAP32[$4 + 8 >> 2] = $0; + $3 = 0; + $5 = vsnprintf(0, 0, $2, $0); + if (!$5) { + break label$1; + } + if ($1 >>> 0 <= 3) { + $3 = strlen(HEAP32[($1 << 2) + 21280 >> 2]) + 3 | 0; + } + $6 = $3 + $5 | 0; + $7 = $6 + 1 | 0; + $0 = dlmalloc($7); + if ($3) { + HEAP32[$4 >> 2] = HEAP32[($1 << 2) + 21280 >> 2]; + snprintf($0, $3 + 1 | 0, 4398, $4); + } + vsnprintf($3 + $0 | 0, $5 + 1 | 0, $2, HEAP32[$4 + 12 >> 2]); + label$4: { + label$5: { + $2 = HEAP32[19484]; + if ($2) { + if (!HEAP32[19485]) { + break label$5; + } + if ((__pthread_self_internal() | 0) != HEAP32[19486]) { + $1 = HEAP32[19487]; + if (!$1) { + break label$4; + } + $2 = HEAP32[19489]; + $3 = HEAPU8[77952] ? 4096 : 0; + if ($2 >>> 0 >= $3 >>> 0) { + break label$4; + } + $1 = $1 + $2 | 0; + if (($3 - $2 | 0) - 4 >>> 0 >= $6 >>> 0) { + strncpy($1, $0, $7); + HEAP32[19489] = $2 + $6; + break label$4; + } + HEAP8[$1 | 0] = 46; + HEAP8[$1 + 1 | 0] = 46; + HEAP8[$1 + 2 | 0] = 46; + HEAP8[$1 + 3 | 0] = 0; + HEAP32[19489] = $3; + break label$4; + } + if (!HEAP32[19489]) { + break label$5; + } + FUNCTION_TABLE[$2 | 0](HEAP32[19487]); + HEAP32[19489] = 0; + $2 = HEAP32[19484]; + break label$5; + } + fputs($0, HEAP32[12232]); + break label$4; + } + FUNCTION_TABLE[$2 | 0]($0); + } + dlfree($0); + } + __stack_pointer = $4 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateArgs__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37315); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $4 = $0 + 8 | 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($4, $0); + if (($28anonymous_20namespace_29__itanium_demangle__OutputBuffer__back_28_29_20const($0) | 0) == 62) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 38446); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 8 | 0); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37108); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 48 | 0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam________hash_table_28_29($0) { + std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______deallocate_node_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______29($0, HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______first_28_29($0 + 8 | 0) >> 2]); + return std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___________unique_ptr_28_29($0); +} + +function arGetMarkerInfo($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) { + var $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0, $24 = 0; + $15 = __stack_pointer - 16 | 0; + __stack_pointer = $15; + $24 = ($5 | 0) > 0 ? $5 : 0; + while (1) { + if (($20 | 0) != ($24 | 0)) { + $5 = ($21 << 8) + $11 | 0; + $14 = Math_imul($20, 80048) + $4 | 0; + HEAP32[$5 >> 2] = HEAP32[$14 >> 2]; + label$3: { + if ((arParamObserv2IdealLTf($9, Math_fround(HEAPF64[$14 + 8 >> 3]), Math_fround(HEAPF64[$14 + 16 >> 3]), $15 + 12 | 0, $15 + 8 | 0) | 0) < 0) { + break label$3; + } + HEAPF64[$5 + 56 >> 3] = HEAPF32[$15 + 12 >> 2]; + HEAPF64[$5 - -64 >> 3] = HEAPF32[$15 + 8 >> 2]; + $16 = $14 + 28 | 0; + $17 = $14 + 40028 | 0; + $18 = HEAP32[$14 + 24 >> 2]; + $19 = $14 + 80028 | 0; + $14 = $5 + 168 | 0; + if ((arGetLine($16, $17, $18, $19, $9, $5 + 72 | 0, $14) | 0) < 0) { + break label$3; + } + $16 = $5 + 8 | 0; + $17 = $5 + 20 | 0; + $18 = $5 + 40 | 0; + $19 = $5 + 12 | 0; + $22 = $5 + 24 | 0; + $23 = $5 + 48 | 0; + $14 = arPattGetIDGlobal($6, $7, $8, $0, $1, $2, $3, $9, $14, $10, $16, $17, $18, $19, $22, $23, $13, $5 + 240 | 0, $5 + 248 | 0) + 6 | 0; + if ($14 >>> 0 <= 6) { + HEAP32[$5 + 236 >> 2] = HEAP32[($14 << 2) + 12176 >> 2]; + } + if ($8 >>> 0 <= 2) { + $14 = $8 >>> 0 < 2; + HEAP32[$5 + 4 >> 2] = HEAP32[($14 ? $16 : $19) >> 2]; + HEAP32[$5 + 16 >> 2] = HEAP32[($14 ? $17 : $22) >> 2]; + HEAPF64[$5 + 32 >> 3] = HEAPF64[($14 ? $18 : $23) >> 3]; + } + $21 = $21 + 1 | 0; + } + $20 = $20 + 1 | 0; + continue; + } + break; + } + HEAP32[$12 >> 2] = $21; + __stack_pointer = $15 + 16 | 0; + return 0; } -function __ZNSt3__212_GLOBAL__N_14makeINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { - HEAP32[13973] = 0; - HEAP32[13972] = 16600; - return; +function void_20std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________push_back_slow_path_vision__Node_96___20const___28vision__Node_96___20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________alloc_28_29($0); + $2 = std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__Node_96_____29($3 + 8 | 0, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________recommend_28unsigned_20long_29_20const($0, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______size_28_29_20const($0) + 1 | 0), std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______size_28_29_20const($0), $4); + void_20std____2__allocator_traits_std____2__allocator_vision__Node_96______construct_vision__Node_96___2c_20vision__Node_96___20const__2c_20void__28std____2__allocator_vision__Node_96_____2c_20vision__Node_96____2c_20vision__Node_96___20const__29($4, vision__Node_96____20std____2____to_address_vision__Node_96____28vision__Node_96____29(HEAP32[$2 + 8 >> 2]), $1); + HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 4; + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________swap_out_circular_buffer_28std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______29($0, $2); + std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96__________split_buffer_28_29($2); + __stack_pointer = $3 + 32 | 0; +} + +function vision__Timer__stop_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + if (!(HEAPF64[$0 >> 3] >= 0)) { + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 1266), 1952), 3289), 67), 3786), 4201), 16); + abort(); + abort(); + } + __gettimeofday($1, 0); + HEAPF64[$0 + 8 >> 3] = +HEAP32[$1 + 8 >> 2] * 1e-6 + (+HEAPU32[$1 >> 2] + +HEAP32[$1 + 4 >> 2] * 4294967296); + __stack_pointer = $1 + 16 | 0; +} + +function scalbnl($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0; + $6 = __stack_pointer - 80 | 0; + __stack_pointer = $6; + label$1: { + if (($5 | 0) >= 16384) { + $7 = $2; + __multf3($6 + 32 | 0, $1, $7, $3, $4, 0, 0, 0, 2147352576); + $8 = HEAP32[$6 + 40 >> 2]; + $3 = $8; + $4 = HEAP32[$6 + 44 >> 2]; + $1 = HEAP32[$6 + 32 >> 2]; + $8 = HEAP32[$6 + 36 >> 2]; + $2 = $8; + if ($5 >>> 0 < 32767) { + $5 = $5 - 16383 | 0; + break label$1; + } + $8 = $2; + __multf3($6 + 16 | 0, $1, $8, $3, $4, 0, 0, 0, 2147352576); + $5 = (($5 | 0) < 49149 ? $5 : 49149) - 32766 | 0; + $7 = HEAP32[$6 + 24 >> 2]; + $3 = $7; + $4 = HEAP32[$6 + 28 >> 2]; + $1 = HEAP32[$6 + 16 >> 2]; + $7 = HEAP32[$6 + 20 >> 2]; + $2 = $7; + break label$1; + } + if (($5 | 0) > -16383) { + break label$1; + } + $7 = $2; + __multf3($6 - -64 | 0, $1, $7, $3, $4, 0, 0, 0, 7471104); + $8 = HEAP32[$6 + 72 >> 2]; + $3 = $8; + $4 = HEAP32[$6 + 76 >> 2]; + $1 = HEAP32[$6 + 64 >> 2]; + $8 = HEAP32[$6 + 68 >> 2]; + $2 = $8; + if ($5 >>> 0 > 4294934644) { + $5 = $5 + 16269 | 0; + break label$1; + } + $8 = $2; + __multf3($6 + 48 | 0, $1, $8, $3, $4, 0, 0, 0, 7471104); + $5 = (($5 | 0) > -48920 ? $5 : -48920) + 32538 | 0; + $7 = HEAP32[$6 + 56 >> 2]; + $3 = $7; + $4 = HEAP32[$6 + 60 >> 2]; + $1 = HEAP32[$6 + 48 >> 2]; + $7 = HEAP32[$6 + 52 >> 2]; + $2 = $7; + } + $7 = $4; + $8 = $5 + 16383 << 16; + __multf3($6, $1, $2, $3, $7, 0, 0, 0, $8); + $7 = HEAP32[$6 + 12 >> 2]; + $8 = HEAP32[$6 + 8 >> 2]; + $1 = $8; + $8 = $0; + HEAP32[$8 + 8 >> 2] = $1; + HEAP32[$8 + 12 >> 2] = $7; + $8 = HEAP32[$6 + 4 >> 2]; + $7 = HEAP32[$6 >> 2]; + $1 = $7; + $7 = $0; + HEAP32[$7 >> 2] = $1; + HEAP32[$7 + 4 >> 2] = $8; + __stack_pointer = $6 + 80 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_long_20double___printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $2 = __stack_pointer - 112 | 0; + __stack_pointer = $2; + $0 = $0 + 8 | 0; + $5 = $28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($0); + if (($28anonymous_20namespace_29__itanium_demangle__StringView__end_28_29_20const($0) - $5 | 0) + 1 >>> 0 >= 33) { + $4 = $2 + 96 | 0; + $0 = 0; + while (1) { + if (($0 | 0) != 32) { + $3 = HEAP8[($0 | 1) + $5 | 0]; + $6 = $3 + ($3 - 48 >>> 0 < 10 ? -48 : -87) | 0; + $3 = HEAP8[$0 + $5 | 0]; + HEAP8[$4 | 0] = $6 + ($3 + ($3 - 48 >>> 0 < 10 ? 0 : 9) << 4); + $4 = $4 + 1 | 0; + $0 = $0 + 2 | 0; + continue; + } + break; + } + void_20std____2__reverse_char___28char__2c_20char__29($2 + 96 | 0, $4); + memset($2 + 48 | 0, 0, 42); + $3 = HEAP32[$2 + 100 >> 2]; + $0 = HEAP32[$2 + 96 >> 2]; + HEAP32[$2 + 16 >> 2] = $0; + HEAP32[$2 + 20 >> 2] = $3; + $0 = HEAP32[$2 + 108 >> 2]; + $3 = HEAP32[$2 + 104 >> 2]; + HEAP32[$2 + 24 >> 2] = $3; + HEAP32[$2 + 28 >> 2] = $0; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($2 + 40 | 0, $2 + 48 | 0, snprintf($2 + 48 | 0, 42, 35227, $2 + 16 | 0) + ($2 + 48 | 0) | 0); + $0 = HEAP32[$3 >> 2]; + $3 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $0; + HEAP32[$2 + 12 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + } + __stack_pointer = $2 + 112 | 0; +} + +function bool_20vision__OrthogonalizePivot8x9Basis5_float__28float__2c_20float__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $0 + 180 | 0; + $4 = $0 + 144 | 0; + $5 = $1 + 180 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($3, $4, $5); + $6 = $0 + 216 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($6, $4, $1 + 216 | 0); + $0 = $0 + 252 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($0, $4, $1 + 252 | 0); + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($3), + HEAPF32[wasm2js_i32$0 + 4 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($6), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($0), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + $0 = int_20vision__MaxIndex3_float__28float_20const__29($2 + 4 | 0); + $1 = ($2 + 4 | 0) + ($0 << 2) | 0; + $7 = HEAPF32[$1 >> 2]; + if ($7 != Math_fround(0)) { + $0 = Math_imul($0, 36); + void_20vision__Swap9_float__28float__2c_20float__29($3, $3 + $0 | 0); + void_20vision__Swap9_float__28float__2c_20float__29($5, $0 + $5 | 0); + void_20vision__ScaleVector9_float__28float__2c_20float_20const__2c_20float_29($3, $3, Math_fround(Math_fround(1) / sqrt_28float_29(HEAPF32[$1 >> 2]))); + } + __stack_pointer = $2 + 16 | 0; + return $7 != Math_fround(0); +} + +function next_marker($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $1 = HEAP32[$0 + 24 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + $5 = HEAP32[$1 >> 2]; + while (1) { + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + return 0; + } + $5 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $3 = $5 + 1 | 0; + $2 = $2 - 1 | 0; + if (HEAPU8[$5 | 0] != 255) { + while (1) { + $4 = HEAP32[$0 + 464 >> 2]; + HEAP32[$4 + 24 >> 2] = HEAP32[$4 + 24 >> 2] + 1; + HEAP32[$1 + 4 >> 2] = $2; + HEAP32[$1 >> 2] = $3; + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + return 0; + } + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $2 = $2 - 1 | 0; + $4 = HEAPU8[$3 | 0]; + $3 = $3 + 1 | 0; + if (($4 | 0) != 255) { + continue; + } + break; + } + } + while (1) { + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + return 0; + } + $3 = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + } + $2 = $2 - 1 | 0; + $4 = HEAPU8[$3 | 0]; + $5 = $3 + 1 | 0; + $3 = $5; + if (($4 | 0) == 255) { + continue; + } + break; + } + if (!$4) { + $3 = HEAP32[$0 + 464 >> 2]; + HEAP32[$3 + 24 >> 2] = HEAP32[$3 + 24 >> 2] + 2; + HEAP32[$1 + 4 >> 2] = $2; + HEAP32[$1 >> 2] = $5; + continue; + } + break; + } + $3 = HEAP32[HEAP32[$0 + 464 >> 2] + 24 >> 2]; + if ($3) { + $6 = HEAP32[$0 >> 2]; + HEAP32[$6 + 24 >> 2] = $3; + HEAP32[$6 + 20 >> 2] = 119; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = $4; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, -1); + HEAP32[HEAP32[$0 + 464 >> 2] + 24 >> 2] = 0; + } + HEAP32[$0 + 440 >> 2] = $4; + HEAP32[$1 + 4 >> 2] = $2; + HEAP32[$1 >> 2] = $5; + return 1; } -function __ZNSt3__212_GLOBAL__N_14makeINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { - HEAP32[13971] = 0; - HEAP32[13970] = 16572; - return; -} - -function __ZNSt3__212_GLOBAL__N_14makeINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { - HEAP32[13969] = 0; - HEAP32[13968] = 16544; - return; -} - -function __ZNSt3__212_GLOBAL__N_14makeINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { - HEAP32[13967] = 0; - HEAP32[13966] = 16516; - return; -} - -function __ZNSt3__211char_traitsIcE4moveEPcPKcm(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - if (i3 | 0) _memmove(i1 | 0, i2 | 0, i3 | 0) | 0; - return i1 | 0; +function std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________clear_28_29($0) { + std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________destruct_at_end_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______operator_28_29_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____29($0, $1) { + if (HEAPU8[$0 + 4 | 0]) { + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______destroy_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_____29(HEAP32[$0 >> 2], std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int________get_ptr_28std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_____29($1 + 8 | 0)); + } + if ($1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20unsigned_20long_29(HEAP32[$0 >> 2], $1, 1); + } +} + +function std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20void_20const__29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0; + $0 = __stack_pointer - 208 | 0; + __stack_pointer = $0; + $6 = std____2____cloc_28_29(); + HEAP32[$0 >> 2] = $4; + $5 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 + 176 | 0, 20, $6, 30892, $0); + $4 = $5 + ($0 + 176 | 0) | 0; + $6 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0 + 176 | 0, $4, $2); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $2); + $7 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($0 + 16 | 0); + std____2__locale___locale_28_29($0 + 16 | 0); + std____2__ctype_wchar_t___widen_28char_20const__2c_20char_20const__2c_20wchar_t__29_20const($7, $0 + 176 | 0, $4, $0 + 16 | 0); + $5 = ($0 + 16 | 0) + ($5 << 2) | 0; + $2 = std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____pad_and_output_wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__ios_base__2c_20wchar_t_29($1, $0 + 16 | 0, ($4 | 0) == ($6 | 0) ? $5 : (($6 - $0 << 2) + $0 | 0) - 688 | 0, $5, $2, $3); + __stack_pointer = $0 + 208 | 0; + return $2 | 0; +} + +function setMarkerInfoDir($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $0; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $3 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($3 + 8 | 0, $3)) { + $0 = HEAP32[18567]; + break label$1; + } + $0 = HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $3 + 12 | 0) + 216 >> 2]; + if (HEAP32[$0 + 44 >> 2] <= ($1 | 0)) { + $0 = HEAP32[18568]; + break label$1; + } + HEAP32[(($1 | 0) < 0 ? 78024 : (($1 << 8) + $0 | 0) + 48 | 0) + 16 >> 2] = $2; + $0 = 0; + } + __stack_pointer = $3 + 16 | 0; + return $0 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_double___printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $2 = __stack_pointer - 80 | 0; + __stack_pointer = $2; + $0 = $0 + 8 | 0; + $5 = $28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($0); + if (($28anonymous_20namespace_29__itanium_demangle__StringView__end_28_29_20const($0) - $5 | 0) + 1 >>> 0 >= 17) { + $4 = $2 + 72 | 0; + $0 = 0; + while (1) { + if (($0 | 0) != 16) { + $3 = HEAP8[($0 | 1) + $5 | 0]; + $6 = $3 + ($3 - 48 >>> 0 < 10 ? -48 : -87) | 0; + $3 = HEAP8[$0 + $5 | 0]; + HEAP8[$4 | 0] = $6 + ($3 + ($3 - 48 >>> 0 < 10 ? 0 : 9) << 4); + $4 = $4 + 1 | 0; + $0 = $0 + 2 | 0; + continue; + } + break; + } + void_20std____2__reverse_char___28char__2c_20char__29($2 + 72 | 0, $4); + HEAP32[$2 + 56 >> 2] = 0; + HEAP32[$2 + 60 >> 2] = 0; + HEAP32[$2 + 48 >> 2] = 0; + HEAP32[$2 + 52 >> 2] = 0; + HEAP32[$2 + 40 >> 2] = 0; + HEAP32[$2 + 44 >> 2] = 0; + HEAP32[$2 + 32 >> 2] = 0; + HEAP32[$2 + 36 >> 2] = 0; + HEAPF64[$2 + 16 >> 3] = HEAPF64[$2 + 72 >> 3]; + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($2 + 24 | 0, $2 + 32 | 0, snprintf($2 + 32 | 0, 32, 34354, $2 + 16 | 0) + ($2 + 32 | 0) | 0); + $3 = HEAP32[$0 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$2 + 12 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + } + __stack_pointer = $2 + 80 | 0; +} + +function std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, $2) { + var $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + std____2____shared_count____add_shared_28_29($1); + $4 = std____2__unique_ptr_std____2__locale__facet_2c_20std____2___28anonymous_20namespace_29__release___unique_ptr_true_2c_20void__28std____2__locale__facet__29($3 + 8 | 0, $1); + $1 = $0 + 8 | 0; + if (std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____size_28_29_20const($1) >>> 0 <= $2 >>> 0) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____resize_28unsigned_20long_29($1, $2 + 1 | 0); + } + if (HEAP32[std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____operator_5b_5d_28unsigned_20long_29($1, $2) >> 2]) { + std____2____shared_count____release_shared_28_29(HEAP32[std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____operator_5b_5d_28unsigned_20long_29($1, $2) >> 2]); + } + $0 = std____2__unique_ptr_std____2__locale__facet_2c_20std____2___28anonymous_20namespace_29__release___release_28_29($4); + wasm2js_i32$0 = std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____operator_5b_5d_28unsigned_20long_29($1, $2), + wasm2js_i32$1 = $0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__unique_ptr_std____2__locale__facet_2c_20std____2___28anonymous_20namespace_29__release____unique_ptr_28_29($4); + __stack_pointer = $3 + 16 | 0; +} + +function std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______append_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + if (HEAP32[std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] >> 1 >>> 0 >= $1 >>> 0) { + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______construct_at_end_28unsigned_20long_29($0, $1); + break label$1; + } + $2 = std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______alloc_28_29($0); + $2 = std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_unsigned_20short___29($3 + 8 | 0, std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______recommend_28unsigned_20long_29_20const($0, std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____size_28_29_20const($0) + $1 | 0), std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____size_28_29_20const($0), $2); + std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______construct_at_end_28unsigned_20long_29($2, $1); + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______swap_out_circular_buffer_28std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_____29($0, $2); + std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short________split_buffer_28_29($2); + } + __stack_pointer = $3 + 32 | 0; +} + +function void_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______construct_one_at_end_std____2__pair_float_2c_20unsigned_20long___28std____2__pair_float_2c_20unsigned_20long____29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20unsigned_20long_29($3, $0, 1); + void_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____construct_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__pair_float_2c_20unsigned_20long__2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long____29(std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______alloc_28_29($0), std____2__pair_float_2c_20unsigned_20long___20std____2____to_address_std____2__pair_float_2c_20unsigned_20long___28std____2__pair_float_2c_20unsigned_20long___29(HEAP32[$2 + 4 >> 2]), $1); + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 8; + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________clear_28_29($0) { + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________base_destruct_at_end_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, HEAP32[$0 >> 2]); +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______2c_20true_____good_rval_ref_type_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______28std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______29($0, $3 + 12 | 0, $2); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_200_2c_20false_____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____29($0, $1); + std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_201_2c_20false_____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20void__28std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______29($1 + 4 | 0, $2); + return $1; +} + +function detectMarker($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 48 | 0; + __stack_pointer = $1; + HEAP32[$1 + 44 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 44 | 0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 40 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1, $1 + 40 | 0)) { + $0 = HEAP32[18567]; + break label$1; + } + $2 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 44 | 0); + $0 = memset($1, 0, 40); + $3 = HEAP32[$2 + 196 >> 2]; + HEAP32[$0 + 16 >> 2] = 1; + HEAP32[$0 >> 2] = $3; + HEAP32[$0 + 12 >> 2] = HEAP32[$2 + 204 >> 2]; + $0 = arDetectMarker(HEAP32[$2 + 216 >> 2], $0); + } + __stack_pointer = $1 + 48 | 0; + return $0 | 0; +} + +function float_20vision__OrthogonalizeIdentity8x9_float__28float__2c_20float_20const__2c_20int_29($0, $1, $2) { + var $3 = 0, $4 = Math_fround(0), $5 = Math_fround(0); + $3 = $2 << 2; + $2 = $3 + $1 | 0; + void_20vision__ScaleVector9_float__28float__2c_20float_20const__2c_20float_29($0, $1, Math_fround(-HEAPF32[$2 >> 2])); + $3 = $0 + $3 | 0; + HEAPF32[$3 >> 2] = HEAPF32[$3 >> 2] + Math_fround(1); + void_20vision__AccumulateScaledVector9_float__28float__2c_20float_20const__2c_20float_29($0, $1 + 36 | 0, Math_fround(-HEAPF32[$2 + 36 >> 2])); + void_20vision__AccumulateScaledVector9_float__28float__2c_20float_20const__2c_20float_29($0, $1 + 72 | 0, Math_fround(-HEAPF32[$2 + 72 >> 2])); + void_20vision__AccumulateScaledVector9_float__28float__2c_20float_20const__2c_20float_29($0, $1 + 108 | 0, Math_fround(-HEAPF32[$2 + 108 >> 2])); + void_20vision__AccumulateScaledVector9_float__28float__2c_20float_20const__2c_20float_29($0, $1 + 144 | 0, Math_fround(-HEAPF32[$2 + 144 >> 2])); + void_20vision__AccumulateScaledVector9_float__28float__2c_20float_20const__2c_20float_29($0, $1 + 180 | 0, Math_fround(-HEAPF32[$2 + 180 >> 2])); + void_20vision__AccumulateScaledVector9_float__28float__2c_20float_20const__2c_20float_29($0, $1 + 216 | 0, Math_fround(-HEAPF32[$2 + 216 >> 2])); + void_20vision__AccumulateScaledVector9_float__28float__2c_20float_20const__2c_20float_29($0, $1 + 252 | 0, Math_fround(-HEAPF32[$2 + 252 >> 2])); + $4 = float_20vision__SumSquares9_float__28float_20const__29($0); + if ($4 != Math_fround(0)) { + $5 = sqrt_28float_29($4); + void_20vision__ScaleVector9_float__28float__2c_20float_20const__2c_20float_29($0, $0, Math_fround(Math_fround(1) / $5)); + } + return $5; +} + +function long_20std____2____num_get_signed_integral_long__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + label$1: { + label$2: { + label$3: { + if (($0 | 0) != ($1 | 0)) { + $6 = __errno_location(); + $8 = HEAP32[$6 >> 2]; + HEAP32[$6 >> 2] = 0; + std____2____cloc_28_29(); + $3 = strtoll_l_28char_20const__2c_20char___2c_20int_2c_20__locale_struct__29($0, $4 + 12 | 0, $3); + $7 = $3; + $0 = i64toi32_i32$HIGH_BITS; + $5 = $0; + $0 = HEAP32[$6 >> 2]; + label$5: { + if ($0) { + if (HEAP32[$4 + 12 >> 2] != ($1 | 0)) { + break label$5; + } + if (($0 | 0) == 68) { + break label$2; + } + break label$3; + } + HEAP32[$6 >> 2] = $8; + if (HEAP32[$4 + 12 >> 2] == ($1 | 0)) { + break label$3; + } + } + } + HEAP32[$2 >> 2] = 4; + $0 = 0; + break label$1; + } + $3 = std____2__numeric_limits_long___min_28_29(); + $0 = $3 >> 31; + $1 = $3 >>> 0 > $7 >>> 0; + $3 = $0; + $0 = $5; + if ($1 & ($3 | 0) >= ($0 | 0) | ($3 | 0) > ($0 | 0)) { + break label$2; + } + $0 = std____2__numeric_limits_long___max_28_29(); + $3 = $0; + $0 = $0 >> 31; + if ($7 >>> 0 > $3 >>> 0 & ($0 | 0) <= ($5 | 0) | ($0 | 0) < ($5 | 0)) { + break label$2; + } + $0 = $7; + break label$1; + } + HEAP32[$2 >> 2] = 4; + $3 = $7; + if (!!$3 & ($5 | 0) >= 0 | ($5 | 0) > 0) { + $0 = std____2__numeric_limits_long___max_28_29(); + break label$1; + } + $0 = std____2__numeric_limits_long___min_28_29(); + } + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______annotate_delete_28_29_20const($0) { + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0), std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____capacity_28_29_20const($0), 36) | 0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($0), 36) | 0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____capacity_28_29_20const($0), 36) | 0); +} + +function std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____28std__nullptr_t___2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____allocate_28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20unsigned_20long_29(std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = Math_imul($2, 36) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______end_cap_28_29($0), + wasm2js_i32$1 = Math_imul($1, 36) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function unsigned_20short_20std____2____num_get_unsigned_integral_unsigned_20short__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + label$1: { + label$2: { + label$3: { + label$4: { + if (($0 | 0) != ($1 | 0)) { + label$6: { + label$7: { + $6 = HEAPU8[$0 | 0]; + if (($6 | 0) != 45) { + break label$7; + } + $0 = $0 + 1 | 0; + if (($1 | 0) != ($0 | 0)) { + break label$7; + } + break label$6; + } + $5 = __errno_location(); + $7 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = 0; + std____2____cloc_28_29(); + $3 = strtoull_l_28char_20const__2c_20char___2c_20int_2c_20__locale_struct__29($0, $4 + 12 | 0, $3); + $8 = i64toi32_i32$HIGH_BITS; + $0 = HEAP32[$5 >> 2]; + label$8: { + if ($0) { + if (HEAP32[$4 + 12 >> 2] != ($1 | 0)) { + break label$8; + } + if (($0 | 0) == 68) { + break label$3; + } + break label$4; + } + HEAP32[$5 >> 2] = $7; + if (HEAP32[$4 + 12 >> 2] == ($1 | 0)) { + break label$4; + } + } + } + } + HEAP32[$2 >> 2] = 4; + $0 = 0; + break label$1; + } + if (!$8 & std____2__numeric_limits_unsigned_20short___max_28_29() >>> 0 >= $3 >>> 0) { + break label$2; + } + } + HEAP32[$2 >> 2] = 4; + $0 = std____2__numeric_limits_unsigned_20short___max_28_29(); + break label$1; + } + $0 = $3; + $0 = ($6 | 0) == 45 ? 0 - $0 | 0 : $0; + } + __stack_pointer = $4 + 16 | 0; + return $0 & 65535; +} + +function std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______annotate_delete_28_29_20const($0) { + std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____data_28_29_20const($0), std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____data_28_29_20const($0) + (std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____data_28_29_20const($0) + (std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____size_28_29_20const($0) << 3) | 0, std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____data_28_29_20const($0) + (std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____capacity_28_29_20const($0) << 3) | 0); +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______append_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + if (HEAP32[std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] >>> 0 >= $1 >>> 0) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______construct_at_end_28unsigned_20long_29($0, $1); + break label$1; + } + $2 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0); + $2 = std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_unsigned_20char___29($3 + 8 | 0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______recommend_28unsigned_20long_29_20const($0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0) + $1 | 0), std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0), $2); + std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______construct_at_end_28unsigned_20long_29($2, $1); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______swap_out_circular_buffer_28std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____29($0, $2); + std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char________split_buffer_28_29($2); + } + __stack_pointer = $3 + 32 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__DeleteExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + if (HEAPU8[$0 + 12 | 0]) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37339); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 31780); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + if (HEAPU8[$0 + 13 | 0]) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 38416); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + } + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + __stack_pointer = $2 + 48 | 0; +} + +function float_20const__20vision__Image__get_float__28unsigned_20long_29_20const($0, $1) { + if (HEAPU32[$0 + 8 >> 2] <= $1 >>> 0) { + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25524), 25561), 3289), 124), 3786), 25650), 16); + abort(); + abort(); + } + return std____2__shared_ptr_unsigned_20char___get_28_29_20const($0 + 24 | 0) + Math_imul(HEAP32[$0 + 12 >> 2], $1) | 0; +} + +function arGetTransMatSquareCont($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $5 = __stack_pointer - 192 | 0; + __stack_pointer = $5; + $6 = $1 + 20 | 0; + label$1: { + if (HEAP32[$1 + 12 >> 2] < 0) { + break label$1; + } + $6 = $1 + 24 | 0; + if (HEAP32[$1 + 8 >> 2] < 0) { + break label$1; + } + $6 = $1 + 16 | 0; + } + $1 = $1 + 168 | 0; + $6 = HEAP32[$6 >> 2]; + $7 = $1 + ((4 - $6 | 0) % 4 << 4) | 0; + HEAPF64[$5 + 128 >> 3] = HEAPF64[$7 >> 3]; + HEAPF64[$5 + 136 >> 3] = HEAPF64[$7 + 8 >> 3]; + $7 = ((5 - $6 | 0) % 4 << 4) + $1 | 0; + HEAPF64[$5 + 144 >> 3] = HEAPF64[$7 >> 3]; + HEAPF64[$5 + 152 >> 3] = HEAPF64[$7 + 8 >> 3]; + $7 = ((6 - $6 | 0) % 4 << 4) + $1 | 0; + HEAPF64[$5 + 160 >> 3] = HEAPF64[$7 >> 3]; + HEAPF64[$5 + 168 >> 3] = HEAPF64[$7 + 8 >> 3]; + $1 = ((7 - $6 | 0) % 4 << 4) + $1 | 0; + HEAPF64[$5 + 176 >> 3] = HEAPF64[$1 >> 3]; + $9 = HEAPF64[$1 + 8 >> 3]; + HEAP32[$5 + 120 >> 2] = 0; + HEAP32[$5 + 124 >> 2] = 0; + $8 = $3 * -.5; + HEAPF64[$5 + 112 >> 3] = $8; + HEAP32[$5 + 96 >> 2] = 0; + HEAP32[$5 + 100 >> 2] = 0; + HEAPF64[$5 + 88 >> 3] = $8; + HEAP32[$5 + 72 >> 2] = 0; + HEAP32[$5 + 76 >> 2] = 0; + $3 = $3 * .5; + HEAPF64[$5 - -64 >> 3] = $3; + HEAPF64[$5 + 184 >> 3] = $9; + HEAPF64[$5 + 104 >> 3] = $8; + HEAPF64[$5 + 80 >> 3] = $3; + HEAPF64[$5 + 56 >> 3] = $3; + HEAP32[$5 + 48 >> 2] = 0; + HEAP32[$5 + 52 >> 2] = 0; + HEAPF64[$5 + 40 >> 3] = $3; + HEAPF64[$5 + 32 >> 3] = $8; + HEAP32[$5 + 24 >> 2] = 4; + HEAP32[$5 + 20 >> 2] = $5 + 32; + HEAP32[$5 + 16 >> 2] = $5 + 128; + $1 = icpPoint(HEAP32[$0 >> 2], $5 + 16 | 0, $2, $4, $5 + 8 | 0); + __stack_pointer = $5 + 192 | 0; + $8 = HEAPF64[$5 + 8 >> 3]; + return ($1 | 0) < 0 ? 1e8 : $8; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function bool_20vision__SolveHomography4Points_float__28float__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var $9 = 0, $10 = 0; + $9 = __stack_pointer - 144 | 0; + __stack_pointer = $9; + label$1: { + if (!bool_20vision__Condition4Points2d_float__28float__2c_20float__2c_20float__2c_20float__2c_20float__2c_20float__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($9 - -64 | 0, $9 + 56 | 0, $9 + 48 | 0, $9 + 40 | 0, $9 + 92 | 0, $9 + 80 | 0, $1, $2, $3, $4)) { + break label$1; + } + if (!bool_20vision__Condition4Points2d_float__28float__2c_20float__2c_20float__2c_20float__2c_20float__2c_20float__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($9 + 32 | 0, $9 + 24 | 0, $9 + 16 | 0, $9 + 8 | 0, $9 + 88 | 0, $9 + 72 | 0, $5, $6, $7, $8)) { + break label$1; + } + if (!bool_20vision__SolveHomography4PointsInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($9 + 96 | 0, $9 - -64 | 0, $9 + 56 | 0, $9 + 48 | 0, $9 + 40 | 0, $9 + 32 | 0, $9 + 24 | 0, $9 + 16 | 0, $9 + 8 | 0)) { + break label$1; + } + void_20vision__DenormalizeHomography_float__28float__2c_20float_20const__2c_20float_2c_20float_20const__2c_20float_2c_20float_20const__29($0, $9 + 96 | 0, HEAPF32[$9 + 92 >> 2], $9 + 80 | 0, HEAPF32[$9 + 88 >> 2], $9 + 72 | 0); + $10 = 1; + } + __stack_pointer = $9 + 144 | 0; + return $10; +} + +function std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______ConstructTransaction___ConstructTransaction_28vision__DoGScaleInvariantDetector__FeaturePoint___2c_20unsigned_20long_29($2, $0 + 8 | 0, $1); + $3 = HEAP32[$1 >> 2]; + while (1) { + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____construct_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__29(std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______alloc_28_29($0), vision__DoGScaleInvariantDetector__FeaturePoint__20std____2____to_address_vision__DoGScaleInvariantDetector__FeaturePoint__28vision__DoGScaleInvariantDetector__FeaturePoint__29(HEAP32[$1 >> 2])); + $3 = HEAP32[$1 >> 2] + 36 | 0; + HEAP32[$1 >> 2] = $3; + continue; + } + break; + } + std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $2 + 16 | 0; } -function _arImageProcLumaHistAndCDFAndMedian(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return _arImageProcLumaHistAndCDFAndPercentile(i1, i2, .5, i3) | 0; +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________data_28_29_20const($0) { + return std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______20std____2____to_address_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29(HEAP32[$0 >> 2]); } -function __ZNSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__214__shared_countD2Ev(i1); - __ZdlPv(i1); - return; +function unsigned_20long_20std____2____num_get_unsigned_integral_unsigned_20long__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + label$1: { + label$2: { + label$3: { + label$4: { + if (($0 | 0) != ($1 | 0)) { + label$6: { + label$7: { + $6 = HEAPU8[$0 | 0]; + if (($6 | 0) != 45) { + break label$7; + } + $0 = $0 + 1 | 0; + if (($1 | 0) != ($0 | 0)) { + break label$7; + } + break label$6; + } + $5 = __errno_location(); + $7 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = 0; + std____2____cloc_28_29(); + $3 = strtoull_l_28char_20const__2c_20char___2c_20int_2c_20__locale_struct__29($0, $4 + 12 | 0, $3); + $8 = i64toi32_i32$HIGH_BITS; + $0 = HEAP32[$5 >> 2]; + label$8: { + if ($0) { + if (HEAP32[$4 + 12 >> 2] != ($1 | 0)) { + break label$8; + } + if (($0 | 0) == 68) { + break label$3; + } + break label$4; + } + HEAP32[$5 >> 2] = $7; + if (HEAP32[$4 + 12 >> 2] == ($1 | 0)) { + break label$4; + } + } + } + } + HEAP32[$2 >> 2] = 4; + $0 = 0; + break label$1; + } + if (!$8 & std____2__numeric_limits_unsigned_20long___max_28_29() >>> 0 >= $3 >>> 0) { + break label$2; + } + } + HEAP32[$2 >> 2] = 4; + $0 = std____2__numeric_limits_unsigned_20long___max_28_29(); + break label$1; + } + $0 = $3; + $0 = ($6 | 0) == 45 ? 0 - $0 | 0 : $0; + } + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function void_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______push_back_slow_path_vision__match_t_20const___28vision__match_t_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29($0); + $2 = std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__match_t___29($3 + 8 | 0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______recommend_28unsigned_20long_29_20const($0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0) + 1 | 0), std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0), $4); + void_20std____2__allocator_traits_std____2__allocator_vision__match_t____construct_vision__match_t_2c_20vision__match_t_20const__2c_20void__28std____2__allocator_vision__match_t___2c_20vision__match_t__2c_20vision__match_t_20const__29($4, vision__match_t__20std____2____to_address_vision__match_t__28vision__match_t__29(HEAP32[$2 + 8 >> 2]), $1); + HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 8; + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______swap_out_circular_buffer_28std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_____29($0, $2); + std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t________split_buffer_28_29($2); + __stack_pointer = $3 + 32 | 0; +} + +function void_20std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______push_back_slow_path_unsigned_20char_20const___28unsigned_20char_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0); + $2 = std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_unsigned_20char___29($3 + 8 | 0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______recommend_28unsigned_20long_29_20const($0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0) + 1 | 0), std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0), $4); + void_20std____2__allocator_traits_std____2__allocator_unsigned_20char____construct_unsigned_20char_2c_20unsigned_20char_20const__2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20char_20const__29($4, unsigned_20char__20std____2____to_address_unsigned_20char__28unsigned_20char__29(HEAP32[$2 + 8 >> 2]), $1); + HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 1; + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______swap_out_circular_buffer_28std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____29($0, $2); + std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char________split_buffer_28_29($2); + __stack_pointer = $3 + 32 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__NewExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NewExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20bool__2c_20bool___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20bool__2c_20bool__29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $8 = __stack_pointer - 32 | 0; + __stack_pointer = $8; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 32); + $7 = HEAP32[$1 >> 2]; + $9 = $7; + $6 = HEAP32[$1 + 4 >> 2]; + $11 = $6; + $7 = $8; + HEAP32[$7 + 24 >> 2] = $9; + HEAP32[$7 + 28 >> 2] = $6; + $1 = HEAP32[$2 >> 2]; + $6 = HEAP32[$3 >> 2]; + $10 = $6; + $7 = HEAP32[$3 + 4 >> 2]; + $12 = $7; + $6 = $8; + HEAP32[$6 + 16 >> 2] = $10; + HEAP32[$6 + 20 >> 2] = $7; + $2 = HEAPU8[$5 | 0]; + $3 = HEAPU8[$4 | 0]; + HEAP32[$6 + 8 >> 2] = $9; + $7 = $11; + HEAP32[$6 + 12 >> 2] = $7; + HEAP32[$6 >> 2] = $10; + $7 = $12; + HEAP32[$6 + 4 >> 2] = $7; + $1 = $28anonymous_20namespace_29__itanium_demangle__NewExpr__NewExpr_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool_2c_20bool_29($0, $6 + 8 | 0, $1, $6, $3, $2); + __stack_pointer = $6 + 32 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NewExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NewExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool__2c_20bool___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20bool__2c_20bool__29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $8 = __stack_pointer - 32 | 0; + __stack_pointer = $8; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 32); + $7 = HEAP32[$1 >> 2]; + $9 = $7; + $6 = HEAP32[$1 + 4 >> 2]; + $11 = $6; + $7 = $8; + HEAP32[$7 + 24 >> 2] = $9; + HEAP32[$7 + 28 >> 2] = $6; + $1 = HEAP32[$2 >> 2]; + $6 = HEAP32[$3 >> 2]; + $10 = $6; + $7 = HEAP32[$3 + 4 >> 2]; + $12 = $7; + $6 = $8; + HEAP32[$6 + 16 >> 2] = $10; + HEAP32[$6 + 20 >> 2] = $7; + $2 = HEAPU8[$5 | 0]; + $3 = HEAPU8[$4 | 0]; + HEAP32[$6 + 8 >> 2] = $9; + $7 = $11; + HEAP32[$6 + 12 >> 2] = $7; + HEAP32[$6 >> 2] = $10; + $7 = $12; + HEAP32[$6 + 4 >> 2] = $7; + $1 = $28anonymous_20namespace_29__itanium_demangle__NewExpr__NewExpr_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool_2c_20bool_29($0, $6 + 8 | 0, $1, $6, $3, $2); + __stack_pointer = $6 + 32 | 0; + return $1; +} + +function unsigned_20int_20std____2____num_get_unsigned_integral_unsigned_20int__28char_20const__2c_20char_20const__2c_20unsigned_20int__2c_20int_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + label$1: { + label$2: { + label$3: { + label$4: { + if (($0 | 0) != ($1 | 0)) { + label$6: { + label$7: { + $6 = HEAPU8[$0 | 0]; + if (($6 | 0) != 45) { + break label$7; + } + $0 = $0 + 1 | 0; + if (($1 | 0) != ($0 | 0)) { + break label$7; + } + break label$6; + } + $5 = __errno_location(); + $7 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = 0; + std____2____cloc_28_29(); + $3 = strtoull_l_28char_20const__2c_20char___2c_20int_2c_20__locale_struct__29($0, $4 + 12 | 0, $3); + $8 = i64toi32_i32$HIGH_BITS; + $0 = HEAP32[$5 >> 2]; + label$8: { + if ($0) { + if (HEAP32[$4 + 12 >> 2] != ($1 | 0)) { + break label$8; + } + if (($0 | 0) == 68) { + break label$3; + } + break label$4; + } + HEAP32[$5 >> 2] = $7; + if (HEAP32[$4 + 12 >> 2] == ($1 | 0)) { + break label$4; + } + } + } + } + HEAP32[$2 >> 2] = 4; + $0 = 0; + break label$1; + } + if (!$8 & std____2__numeric_limits_unsigned_20int___max_28_29() >>> 0 >= $3 >>> 0) { + break label$2; + } + } + HEAP32[$2 >> 2] = 4; + $0 = std____2__numeric_limits_unsigned_20int___max_28_29(); + break label$1; + } + $0 = $3; + $0 = ($6 | 0) == 45 ? 0 - $0 | 0 : $0; + } + __stack_pointer = $4 + 16 | 0; + return $0; } -function __ZNSt3__211char_traitsIcE4copyEPcPKcm(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - if (i3 | 0) _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - return i1 | 0; -} +function confidenceCutoff($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + label$1: { + label$2: { + switch (HEAP32[$0 + 24 >> 2]) { + case 0: + case 1: + $1 = HEAP32[$0 + 44 >> 2]; + $3 = ($1 | 0) > 0 ? $1 : 0; + $1 = 0; + while (1) { + if (($1 | 0) == ($3 | 0)) { + break label$1; + } + $2 = ($1 << 8) + $0 | 0; + $4 = $2 + 52 | 0; + if (!(HEAP32[$4 >> 2] < 0 | !(HEAPF64[$2 + 80 >> 3] < .5))) { + HEAP32[$2 + 56 >> 2] = -1; + HEAP32[$2 + 52 >> 2] = -1; + HEAP32[$2 + 284 >> 2] = 6; + } + $1 = $1 + 1 | 0; + continue; + } + ; -function __ZN10__cxxabiv112_GLOBAL__N_110save_valueIjEC2ERj(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = i2; - HEAP32[i1 + 4 >> 2] = HEAP32[i2 >> 2]; - return; -} + case 2: + $1 = HEAP32[$0 + 44 >> 2]; + $3 = ($1 | 0) > 0 ? $1 : 0; + $1 = 0; + while (1) { + if (($1 | 0) == ($3 | 0)) { + break label$1; + } + $2 = ($1 << 8) + $0 | 0; + $4 = $2 + 52 | 0; + if (!(HEAP32[$4 >> 2] < 0 | !(HEAPF64[$2 + 80 >> 3] < .5))) { + HEAP32[$2 + 60 >> 2] = -1; + HEAP32[$2 + 52 >> 2] = -1; + HEAP32[$2 + 284 >> 2] = 6; + } + $1 = $1 + 1 | 0; + continue; + } + ; -function _pthread_getspecific(i1) { - i1 = i1 | 0; - if ((HEAP32[i1 + 4 >> 2] | 0) != 38177486) { - i1 = 0; - return i1 | 0; + default: + break label$2; + } + } + $1 = HEAP32[$0 + 44 >> 2]; + $5 = ($1 | 0) > 0 ? $1 : 0; + $1 = 0; + while (1) { + if (($1 | 0) == ($5 | 0)) { + break label$1; + } + $4 = 0; + $2 = ($1 << 8) + $0 | 0; + $3 = $2 + 56 | 0; + if (!(HEAP32[$3 >> 2] < 0 | !(HEAPF64[$2 + 88 >> 3] < .5))) { + HEAP32[$2 + 56 >> 2] = -1; + $4 = 1; + } + $3 = $2 + 60 | 0; + label$11: { + if (!(HEAPF64[$2 + 96 >> 3] < .5) | HEAP32[$3 >> 2] < 0) { + break label$11; + } + HEAP32[$2 + 60 >> 2] = -1; + if (!$4) { + break label$11; + } + HEAP32[$2 + 284 >> 2] = 6; + } + $1 = $1 + 1 | 0; + continue; + } } - i1 = HEAP32[i1 >> 2] | 0; - return i1 | 0; } -function __ZNSt3__212_GLOBAL__N_14makeINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { - HEAP32[13957] = 0; - HEAP32[13956] = 14936; - return; -} +function $28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer + -64 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + label$3: { + switch (HEAP32[$0 + 8 >> 2]) { + case 0: + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 56 | 0, 30493); + break label$2; -function __ZNSt3__212_GLOBAL__N_14makeINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { - HEAP32[13955] = 0; - HEAP32[13954] = 14884; - return; -} + case 1: + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 48 | 0, 31617); + break label$2; -function __ZNSt3__212_GLOBAL__N_14makeINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEjEERT_T0_() { - HEAP32[13953] = 0; - HEAP32[13952] = 14820; - return; -} + case 2: + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37039); + break label$2; -function __ZNSt3__212_GLOBAL__N_14makeINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEjEERT_T0_() { - HEAP32[13951] = 0; - HEAP32[13950] = 14756; - return; -} + case 3: + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 36989); + break label$2; -function __ZN12_GLOBAL__N_116register_integerIsEEvPKc() { - __embind_register_integer(__ZN10emscripten8internal6TypeIDIsE3getEv() | 0, 50911, 2, -32768, 32767); - return; -} + case 4: + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 36939); + break label$2; -function _arGetTransMatMultiSquare(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - return +(+_arGetTransMatMultiSquare2(i1, i2, i3, i4, 0)); -} + case 5: + break label$3; -function _arGetPattRatio(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if (!i1) i1 = -1; else { - HEAPF64[i2 >> 3] = +HEAPF64[i1 + 7062416 >> 3]; - i1 = 0; + default: + break label$1; + } + } + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 36888); + } + $3 = HEAP32[$0 >> 2]; + $4 = HEAP32[$0 + 4 >> 2]; + $0 = $3; + $3 = $2; + HEAP32[$3 + 8 >> 2] = $0; + HEAP32[$3 + 12 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); } - return i1 | 0; -} - -function __ZNSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__214__shared_countD2Ev(i1); - __ZdlPv(i1); - return; + __stack_pointer = $2 - -64 | 0; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev(i1); - __ZdlPv(i1); - return; +function free_pool($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $3 = HEAP32[$0 + 4 >> 2]; + label$1: { + if ($1 >>> 0 >= 2) { + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = 15; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + break label$1; + } + if (($1 | 0) != 1) { + break label$1; + } + $2 = HEAP32[$3 + 68 >> 2]; + if ($2) { + while (1) { + if (HEAP32[$2 + 40 >> 2]) { + HEAP32[$2 + 40 >> 2] = 0; + FUNCTION_TABLE[HEAP32[$2 + 56 >> 2]]($0, $2 + 48 | 0); + } + $2 = HEAP32[$2 + 44 >> 2]; + if ($2) { + continue; + } + break; + } + } + HEAP32[$3 + 68 >> 2] = 0; + $2 = HEAP32[$3 + 72 >> 2]; + if ($2) { + while (1) { + if (HEAP32[$2 + 40 >> 2]) { + HEAP32[$2 + 40 >> 2] = 0; + FUNCTION_TABLE[HEAP32[$2 + 56 >> 2]]($0, $2 + 48 | 0); + } + $2 = HEAP32[$2 + 44 >> 2]; + if ($2) { + continue; + } + break; + } + } + HEAP32[$3 + 72 >> 2] = 0; + } + $5 = ($1 << 2) + $3 | 0; + $1 = $5 + 60 | 0; + $2 = HEAP32[$1 >> 2]; + HEAP32[$5 + 60 >> 2] = 0; + if ($2) { + while (1) { + $1 = HEAP32[$2 >> 2]; + $4 = (HEAP32[$2 + 4 >> 2] + HEAP32[$2 + 8 >> 2] | 0) + 16 | 0; + jpeg_free_large($0, $2, $4); + HEAP32[$3 + 76 >> 2] = HEAP32[$3 + 76 >> 2] - $4; + $2 = $1; + if ($2) { + continue; + } + break; + } + } + $1 = $5 + 52 | 0; + $2 = HEAP32[$1 >> 2]; + HEAP32[$5 + 52 >> 2] = 0; + if ($2) { + while (1) { + $1 = HEAP32[$2 >> 2]; + $4 = (HEAP32[$2 + 4 >> 2] + HEAP32[$2 + 8 >> 2] | 0) + 16 | 0; + jpeg_free_small($0, $2, $4); + HEAP32[$3 + 76 >> 2] = HEAP32[$3 + 76 >> 2] - $4; + $2 = $1; + if ($2) { + continue; + } + break; + } + } } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev(i1); - __ZdlPv(i1); - return; +function void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______construct_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, $1, $2) { + void_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______construct_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, $1, $2); } -function __ZNK6vision14VisualDatabaseINS_14FREAKExtractorENS_18BinaryFeatureStoreENS_20BinaryFeatureMatcherILi96EEEE7inliersEv(i1) { - i1 = i1 | 0; - return i1 + 12 | 0; +function float__20vision__Image__get_float__28unsigned_20long_29($0, $1) { + if (HEAPU32[$0 + 8 >> 2] <= $1 >>> 0) { + std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28int_29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29(81600, 25524), 25561), 3289), 119), 3786), 25650), 16); + abort(); + abort(); + } + return std____2__shared_ptr_unsigned_20char___get_28_29_20const($0 + 24 | 0) + Math_imul(HEAP32[$0 + 12 >> 2], $1) | 0; } -function __ZN6vision10ClipScalarIfEET_S1_S1_S1_(d1, d2, d3) { - d1 = +d1; - d2 = +d2; - d3 = +d3; - if (!(d1 < d2)) { - if (d1 > d3) d1 = d3; - } else d1 = d2; - return +d1; +function $28anonymous_20namespace_29__itanium_demangle__BracedExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + label$1: { + if (HEAPU8[$0 + 16 | 0]) { + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 91); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 93); + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 46); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + } + $3 = HEAP32[$0 + 12 >> 2]; + if (($28anonymous_20namespace_29__itanium_demangle__Node__getKind_28_29_20const($3) - 75 & 255) >>> 0 >= 2) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38420); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $3 = HEAP32[$0 + 12 >> 2]; + } + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($3, $1); + __stack_pointer = $2 + 16 | 0; } -function _strtoull(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i3 = _strtox_547(i1, i2, i3, -1, -1) | 0; - setTempRet0(getTempRet0() | 0); - return i3 | 0; -} +function $28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer + -64 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + label$3: { + switch (HEAP32[$0 + 8 >> 2]) { + case 0: + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 56 | 0, 30493); + break label$2; -function __ZN6vision8fastexp6IfEET_S1_(d1) { - d1 = +d1; - return +(((((((d1 + 6.0) * d1 + 30.0) * d1 + 120.0) * d1 + 360.0) * d1 + 720.0) * d1 + 720.0) * .0013888888); -} + case 1: + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 48 | 0, 31617); + break label$2; -function b23(i1, i2, i3, i4, i5, i6, i7) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - i7 = i7 | 0; - nullFunc_viiiiiii(23); -} + case 2: + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 31635); + break label$2; -function __ZN12_GLOBAL__N_116register_integerIcEEvPKc() { - __embind_register_integer(__ZN10emscripten8internal6TypeIDIcE3getEv() | 0, 50880, 1, -128, 127); - return; -} + case 3: + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 31359); + break label$2; -function __ZN12_GLOBAL__N_116register_integerIaEEvPKc() { - __embind_register_integer(__ZN10emscripten8internal6TypeIDIaE3getEv() | 0, 50885, 1, -128, 127); - return; -} + case 4: + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 31332); + break label$2; -function _icpGetXw2XcCleanup_221(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - _free(i1); - _free(i2); - _free(i3); - _free(i4); - return; -} + case 5: + break label$3; -function _arGetImageProcMode(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if (!i1) i1 = -1; else { - HEAP32[i2 >> 2] = HEAP32[i1 + 20 >> 2]; - i1 = 0; + default: + break label$1; + } + } + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 31304); + } + $3 = HEAP32[$0 >> 2]; + $4 = HEAP32[$0 + 4 >> 2]; + $0 = $3; + $3 = $2; + HEAP32[$3 + 8 >> 2] = $0; + HEAP32[$3 + 12 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); } - return i1 | 0; -} - -function __ZNSt3__26locale5facet16__on_zero_sharedEv(i1) { - i1 = i1 | 0; - if (i1 | 0) FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 4 >> 2] & 255](i1); - return; -} - -function __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev(i1); - __ZdlPv(i1); - return; -} - -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev(i1); - __ZdlPv(i1); - return; -} - -function __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev(i1); - __ZdlPv(i1); - return; -} - -function __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev(i1); - __ZdlPv(i1); - return; + __stack_pointer = $2 - -64 | 0; } -function __ZN12_GLOBAL__N_116register_integerItEEvPKc() { - __embind_register_integer(__ZN10emscripten8internal6TypeIDItE3getEv() | 0, 50917, 2, 0, 65535); - return; -} +function $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_float___printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $2 = __stack_pointer + -64 | 0; + __stack_pointer = $2; + $0 = $0 + 8 | 0; + $5 = $28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($0); + if (($28anonymous_20namespace_29__itanium_demangle__StringView__end_28_29_20const($0) - $5 | 0) + 1 >>> 0 >= 9) { + $4 = $2 + 56 | 0; + $0 = 0; + while (1) { + if (($0 | 0) != 8) { + $3 = HEAP8[($0 | 1) + $5 | 0]; + $6 = $3 + ($3 - 48 >>> 0 < 10 ? -48 : -87) | 0; + $3 = HEAP8[$0 + $5 | 0]; + HEAP8[$4 | 0] = $6 + ($3 + ($3 - 48 >>> 0 < 10 ? 0 : 9) << 4); + $4 = $4 + 1 | 0; + $0 = $0 + 2 | 0; + continue; + } + break; + } + void_20std____2__reverse_char___28char__2c_20char__29($2 + 56 | 0, $4); + HEAP32[$2 + 48 >> 2] = 0; + HEAP32[$2 + 52 >> 2] = 0; + HEAP32[$2 + 40 >> 2] = 0; + HEAP32[$2 + 44 >> 2] = 0; + HEAP32[$2 + 32 >> 2] = 0; + HEAP32[$2 + 36 >> 2] = 0; + HEAPF64[$2 + 16 >> 3] = HEAPF32[$2 + 56 >> 2]; + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($2 + 24 | 0, $2 + 32 | 0, snprintf($2 + 32 | 0, 24, 31748, $2 + 16 | 0) + ($2 + 32 | 0) | 0); + $3 = HEAP32[$0 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$2 + 12 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + } + __stack_pointer = $2 - -64 | 0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____append_28wchar_t_20const__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____capacity_28_29_20const($0); + $4 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($0); + label$1: { + if ($3 - $4 >>> 0 >= $2 >>> 0) { + if (!$2) { + break label$1; + } + $3 = wchar_t__20std____2____to_address_wchar_t__28wchar_t__29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29($0)); + std____2__char_traits_wchar_t___copy_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29($3 + ($4 << 2) | 0, $1, $2); + $2 = $2 + $4 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_size_28unsigned_20long_29($0, $2); + HEAP32[$5 + 12 >> 2] = 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29(($2 << 2) + $3 | 0, $5 + 12 | 0); + break label$1; + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______grow_by_and_replace_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20wchar_t_20const__29($0, $3, ($2 + $4 | 0) - $3 | 0, $4, $4, 0, $2, $1); + } + __stack_pointer = $5 + 16 | 0; + return $0; +} + +function pop_arg($0, $1, $2, $3) { + label$1: { + switch ($1 - 9 | 0) { + case 0: + $1 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $1 + 4; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return; -function _arMatrixSelfInv(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[i1 + 4 >> 2] | 0; - return ((_minv(HEAP32[i1 >> 2] | 0, i2, i2) | 0) == 0) << 31 >> 31 | 0; -} + case 6: + $1 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $1 + 4; + $1 = HEAP16[$1 >> 1]; + $2 = $1 >> 31; + HEAP32[$0 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = $2; + return; -function __ZNSt3__214__ptr_in_rangeIwEEbPKT_S3_S3_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return i2 >>> 0 <= i1 >>> 0 & i1 >>> 0 < i3 >>> 0 | 0; -} + case 7: + $1 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $1 + 4; + $2 = HEAPU16[$1 >> 1]; + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = 0; + return; -function __ZNSt3__214__ptr_in_rangeIcEEbPKT_S3_S3_(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return i2 >>> 0 <= i1 >>> 0 & i1 >>> 0 < i3 >>> 0 | 0; -} + case 8: + $1 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $1 + 4; + $1 = HEAP8[$1 | 0]; + $2 = $1 >> 31; + HEAP32[$0 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = $2; + return; -function __ZNSt11logic_errorC2EPKc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = 17420; - __ZNSt3__218__libcpp_refstringC2EPKc(i1 + 4 | 0, i2); - return; -} + case 9: + $1 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $1 + 4; + $2 = HEAPU8[$1 | 0]; + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = 0; + return; -function dynCall_iiii(i4, i1, i2, i3) { - i4 = i4 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return FUNCTION_TABLE_iiii[i4 & 63](i1 | 0, i2 | 0, i3 | 0) | 0; -} + case 16: + $1 = HEAP32[$2 >> 2] + 7 & -8; + HEAP32[$2 >> 2] = $1 + 8; + HEAPF64[$0 >> 3] = HEAPF64[$1 >> 3]; + return; -function __ZNSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; -} + case 17: + FUNCTION_TABLE[$3 | 0]($0, $2); -function __ZNSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; -} + default: + return; -function __ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; -} + case 1: + case 4: + case 14: + $1 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $1 + 4; + $1 = HEAP32[$1 >> 2]; + $2 = $1 >> 31; + HEAP32[$0 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = $2; + return; -function __ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; -} + case 2: + case 5: + case 11: + case 15: + $1 = HEAP32[$2 >> 2]; + HEAP32[$2 >> 2] = $1 + 4; + $2 = HEAP32[$1 >> 2]; + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = 0; + return; -function __ZNSt3__26locale2id6__initEv(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = HEAP32[14482] | 0; - HEAP32[14482] = i2 + 1; - HEAP32[i1 + 4 >> 2] = i2 + 1; - return; + case 3: + case 10: + case 12: + case 13: + break label$1; + } + } + $1 = HEAP32[$2 >> 2] + 7 & -8; + HEAP32[$2 >> 2] = $1 + 8; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$0 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = $2; } -function __ZN12_GLOBAL__N_116register_integerIhEEvPKc() { - __embind_register_integer(__ZN10emscripten8internal6TypeIDIhE3getEv() | 0, 50897, 1, 0, 255); - return; +function $28anonymous_20namespace_29__itanium_demangle__ReferenceType__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + if (!HEAPU8[$0 + 16 | 0]) { + $3 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool___SwapAndRestore_28bool__2c_20bool_29($2 + 24 | 0, $0 + 16 | 0, 1); + $28anonymous_20namespace_29__itanium_demangle__ReferenceType__collapse_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($2 + 16 | 0, $0, $1); + $0 = HEAP32[$2 + 20 >> 2]; + if ($0) { + label$3: { + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasArray_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1)) { + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasFunction_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$2 + 20 >> 2], $1)) { + break label$3; + } + } + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 37866); + $4 = HEAP32[$0 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + } + $0 = HEAP32[$2 + 20 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1); + } + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool____SwapAndRestore_28_29($3); + } + __stack_pointer = $2 + 32 | 0; } -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiNSt3__212basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEE3getEv() { - return 13740; +function __get_locale($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + label$1: { + if (HEAPU8[$1 | 0]) { + break label$1; + } + $1 = getenv(35232); + if (HEAPU8[$1 | 0] ? $1 : 0) { + break label$1; + } + $1 = getenv(Math_imul($0, 12) + 54592 | 0); + if (HEAPU8[$1 | 0] ? $1 : 0) { + break label$1; + } + $1 = getenv(35450); + if (HEAPU8[$1 | 0] ? $1 : 0) { + break label$1; + } + $1 = 37409; + } + label$5: { + while (1) { + $3 = HEAPU8[$1 + $2 | 0]; + if (!(!$3 | ($3 | 0) == 47)) { + $3 = 23; + $2 = $2 + 1 | 0; + if (($2 | 0) != 23) { + continue; + } + break label$5; + } + break; + } + $3 = $2; + } + $4 = 37409; + label$8: { + label$9: { + $2 = HEAPU8[$1 | 0]; + label$10: { + label$11: { + if (!(HEAPU8[$1 + $3 | 0] | ($2 | 0) == 46)) { + $4 = $1; + if (($2 | 0) != 67) { + break label$11; + } + } + if (!HEAPU8[$4 + 1 | 0]) { + break label$10; + } + } + if (!strcmp($4, 37409)) { + break label$10; + } + if (strcmp($4, 34505)) { + break label$9; + } + } + if (!$0) { + $2 = 54500; + if (HEAPU8[$4 + 1 | 0] == 46) { + break label$8; + } + } + return 0; + } + $2 = HEAP32[20575]; + if ($2) { + while (1) { + if (!strcmp($4, $2 + 8 | 0)) { + break label$8; + } + $2 = HEAP32[$2 + 32 >> 2]; + if ($2) { + continue; + } + break; + } + } + $2 = dlmalloc(36); + if ($2) { + $1 = HEAP32[13626]; + HEAP32[$2 >> 2] = HEAP32[13625]; + HEAP32[$2 + 4 >> 2] = $1; + $1 = $2 + 8 | 0; + __memcpy($1, $4, $3); + HEAP8[$1 + $3 | 0] = 0; + HEAP32[$2 + 32 >> 2] = HEAP32[20575]; + HEAP32[20575] = $2; + } + $2 = $0 | $2 ? $2 : 54500; + } + return $2; } -function __ZNSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SubobjectExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20bool__29($0, $1, $2, $3, $4, $5) { + return $28anonymous_20namespace_29__itanium_demangle__SubobjectExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SubobjectExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20bool__29($0 + 408 | 0, $1, $2, $3, $4, $5); } -function __ZNSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function gray_rgb_convert($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + if (($4 | 0) > 0) { + $7 = HEAP32[$0 + 112 >> 2]; + $12 = $7 & -4; + $10 = $7 & 3; + $13 = $7 - 1 >>> 0 < 3; + while (1) { + $11 = $4; + label$3: { + if (!$7) { + break label$3; + } + $6 = HEAP32[HEAP32[$1 >> 2] + ($2 << 2) >> 2]; + $4 = HEAP32[$3 >> 2]; + $8 = 0; + $0 = 0; + $9 = 0; + if (!$13) { + while (1) { + $5 = HEAPU8[$0 + $6 | 0]; + HEAP8[$4 + 1 | 0] = $5; + HEAP8[$4 + 2 | 0] = $5; + HEAP8[$4 | 0] = $5; + $5 = HEAPU8[($0 | 1) + $6 | 0]; + HEAP8[$4 + 4 | 0] = $5; + HEAP8[$4 + 5 | 0] = $5; + HEAP8[$4 + 3 | 0] = $5; + $5 = HEAPU8[($0 | 2) + $6 | 0]; + HEAP8[$4 + 7 | 0] = $5; + HEAP8[$4 + 8 | 0] = $5; + HEAP8[$4 + 6 | 0] = $5; + $5 = HEAPU8[($0 | 3) + $6 | 0]; + HEAP8[$4 + 10 | 0] = $5; + HEAP8[$4 + 11 | 0] = $5; + HEAP8[$4 + 9 | 0] = $5; + $0 = $0 + 4 | 0; + $4 = $4 + 12 | 0; + $9 = $9 + 4 | 0; + if (($12 | 0) != ($9 | 0)) { + continue; + } + break; + } + } + if (!$10) { + break label$3; + } + while (1) { + $5 = HEAPU8[$0 + $6 | 0]; + HEAP8[$4 + 1 | 0] = $5; + HEAP8[$4 + 2 | 0] = $5; + HEAP8[$4 | 0] = $5; + $0 = $0 + 1 | 0; + $4 = $4 + 3 | 0; + $8 = $8 + 1 | 0; + if (($8 | 0) != ($10 | 0)) { + continue; + } + break; + } + } + $3 = $3 + 4 | 0; + $2 = $2 + 1 | 0; + $4 = $11 - 1 | 0; + if (($11 | 0) >= 2) { + continue; + } + break; + } + } } -function __ZN6vision6Logger11getInstanceEv() { - if ((HEAP8[55232] | 0) == 0 ? ___cxa_guard_acquire(55232) | 0 : 0) __ZN6vision6LoggerC2Ev(56156); - return 56156; -} - -function __ZN12_GLOBAL__N_116register_integerImEEvPKc() { - __embind_register_integer(__ZN10emscripten8internal6TypeIDImE3getEv() | 0, 51138, 4, 0, -1); - return; -} - -function __ZN12_GLOBAL__N_116register_integerIjEEvPKc() { - __embind_register_integer(__ZN10emscripten8internal6TypeIDIjE3getEv() | 0, 51120, 4, 0, -1); - return; -} - -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiNSt3__212basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEE3getEv() { - return 13720; -} - -function __ZNSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; -} - -function __ZNSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; -} - -function __ZNSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; -} - -function __ZNSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; -} - -function __ZN6vision28BinaryHierarchicalClusteringILi96EE21setMinFeaturesPerNodeEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 + 108 >> 2] = i2; - return; -} - -function _strchr(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - i1 = ___strchrnul(i1, i2) | 0; - return ((HEAP8[i1 >> 0] | 0) == (i2 & 255) << 24 >> 24 ? i1 : 0) | 0; +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______resize_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______size_28_29_20const($0); + if ($2 >>> 0 < $1 >>> 0) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________append_28unsigned_20long_29($0, $1 - $2 | 0); + return; + } + if ($1 >>> 0 < $2 >>> 0) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________destruct_at_end_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, HEAP32[$0 >> 2] + Math_imul($1, 12) | 0); + } +} + +function genBWImageTwoThird_28unsigned_20char__2c_20int_2c_20int_2c_20int__2c_20int__29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $5 = ($1 | 0) / 3 | 0; + $7 = $5 << 1; + HEAP32[$3 >> 2] = $7; + $3 = ($2 | 0) / 3 | 0; + $2 = $3 << 1; + HEAP32[$4 >> 2] = $2; + $8 = dlmalloc(Math_imul($2, $7)); + if ($8) { + $11 = ($3 | 0) > 0 ? $3 : 0; + $12 = ($5 | 0) > 0 ? $5 : 0; + $4 = $8; + $6 = $4; + while (1) { + if (($9 | 0) != ($11 | 0)) { + $4 = $4 + $7 | 0; + $5 = Math_imul($9, 3); + $3 = Math_imul($5, $1) + $0 | 0; + $2 = Math_imul($5 + 2 | 0, $1) + $0 | 0; + $5 = Math_imul($5 + 1 | 0, $1) + $0 | 0; + $10 = 0; + while (1) { + if (($10 | 0) != ($12 | 0)) { + HEAP8[$6 | 0] = (HEAPU8[$3 | 0] + (HEAPU8[$3 + 1 | 0] >>> 1 | 0) + (HEAPU8[$5 | 0] >>> 1) + (HEAPU8[$5 + 1 | 0] >>> 2) << 2 >>> 0) / 9; + HEAP8[$4 | 0] = (HEAPU8[$2 | 0] + ((HEAPU8[$5 + 1 | 0] >>> 2) + (HEAPU8[$5 | 0] >>> 1) | 0) + (HEAPU8[$2 + 1 | 0] >>> 1) << 2 >>> 0) / 9; + HEAP8[$6 + 1 | 0] = (HEAPU8[$3 + 2 | 0] + (HEAPU8[$3 + 1 | 0] >>> 1 | 0) + (HEAPU8[$5 + 1 | 0] >>> 2) + (HEAPU8[$5 + 2 | 0] >>> 1) << 2 >>> 0) / 9; + HEAP8[$4 + 1 | 0] = (HEAPU8[$2 + 2 | 0] + ((HEAPU8[$5 + 2 | 0] >>> 1) + (HEAPU8[$5 + 1 | 0] >>> 2) + (HEAPU8[$2 + 1 | 0] >>> 1) | 0) << 2 >>> 0) / 9; + $10 = $10 + 1 | 0; + $2 = $2 + 3 | 0; + $5 = $5 + 3 | 0; + $3 = $3 + 3 | 0; + $4 = $4 + 2 | 0; + $6 = $6 + 2 | 0; + continue; + } + break; + } + $9 = $9 + 1 | 0; + $6 = $6 + $7 | 0; + continue; + } + break; + } + return $8; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); } -function _fputs(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = _strlen(i1) | 0; - return ((_fwrite(i1, 1, i3, i2) | 0) != (i3 | 0)) << 31 >> 31 | 0; -} +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___ScopedTemplateParamList__ScopedTemplateParamList_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___29($0, $1) { + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$0 >> 2] = $1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___size_28_29_20const($1 + 332 | 0), + HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + $1 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___PODSmallVector_28_29($0 + 8 | 0); + $3 = HEAP32[$0 >> 2]; + HEAP32[$2 + 12 >> 2] = $1; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___20const__29($3 + 332 | 0, $2 + 12 | 0); + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20void_20const__29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0; + $0 = __stack_pointer - 96 | 0; + __stack_pointer = $0; + $6 = std____2____cloc_28_29(); + HEAP32[$0 >> 2] = $4; + $5 = std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0 - -64 | 0, 20, $6, 30892, $0); + $4 = $5 + ($0 - -64 | 0) | 0; + $6 = std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0 - -64 | 0, $4, $2); + std____2__ios_base__getloc_28_29_20const($0 + 16 | 0, $2); + $7 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($0 + 16 | 0); + std____2__locale___locale_28_29($0 + 16 | 0); + std____2__ctype_char___widen_28char_20const__2c_20char_20const__2c_20char__29_20const($7, $0 - -64 | 0, $4, $0 + 16 | 0); + $5 = ($0 + 16 | 0) + $5 | 0; + $2 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____pad_and_output_char_2c_20std____2__char_traits_char___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20char_20const__2c_20char_20const__2c_20char_20const__2c_20std____2__ios_base__2c_20char_29($1, $0 + 16 | 0, ($4 | 0) == ($6 | 0) ? $5 : (($6 - $0 | 0) + $0 | 0) - 48 | 0, $5, $2, $3); + __stack_pointer = $0 + 96 | 0; + return $2 | 0; +} + +function setThreshold($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 28 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 28 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 24 | 0, $2 + 16 | 0)) { + break label$1; + } + $0 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 28 | 0); + if ($1 >>> 0 > 255) { + break label$1; + } + if (arSetLabelingThresh(HEAP32[$0 + 216 >> 2], $1)) { + break label$1; + } + HEAP32[$2 >> 2] = $1; + arLog(0, 1, 38680, $2); + } + __stack_pointer = $2 + 32 | 0; +} + +function __dynamic_cast($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0; + $4 = __stack_pointer + -64 | 0; + __stack_pointer = $4; + $6 = HEAP32[$0 >> 2]; + $5 = HEAP32[$6 - 4 >> 2]; + $6 = HEAP32[$6 - 8 >> 2]; + HEAP32[$4 + 32 >> 2] = 0; + HEAP32[$4 + 36 >> 2] = 0; + HEAP32[$4 + 40 >> 2] = 0; + HEAP32[$4 + 44 >> 2] = 0; + HEAP32[$4 + 48 >> 2] = 0; + HEAP32[$4 + 52 >> 2] = 0; + HEAP8[$4 + 55 | 0] = 0; + HEAP8[$4 + 56 | 0] = 0; + HEAP8[$4 + 57 | 0] = 0; + HEAP8[$4 + 58 | 0] = 0; + HEAP8[$4 + 59 | 0] = 0; + HEAP8[$4 + 60 | 0] = 0; + HEAP8[$4 + 61 | 0] = 0; + HEAP8[$4 + 62 | 0] = 0; + HEAP32[$4 + 24 >> 2] = 0; + HEAP32[$4 + 28 >> 2] = 0; + HEAP32[$4 + 20 >> 2] = $3; + HEAP32[$4 + 16 >> 2] = $1; + HEAP32[$4 + 12 >> 2] = $0; + HEAP32[$4 + 8 >> 2] = $2; + $0 = $0 + $6 | 0; + $3 = 0; + label$1: { + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($5, $2, 0)) { + HEAP32[$4 + 56 >> 2] = 1; + FUNCTION_TABLE[HEAP32[HEAP32[$5 >> 2] + 20 >> 2]]($5, $4 + 8 | 0, $0, $0, 1, 0); + $3 = HEAP32[$4 + 32 >> 2] == 1 ? $0 : 0; + break label$1; + } + FUNCTION_TABLE[HEAP32[HEAP32[$5 >> 2] + 24 >> 2]]($5, $4 + 8 | 0, $0, 1, 0); + label$3: { + switch (HEAP32[$4 + 44 >> 2]) { + case 0: + $3 = HEAP32[$4 + 48 >> 2] == 1 ? HEAP32[$4 + 36 >> 2] == 1 ? HEAP32[$4 + 40 >> 2] == 1 ? HEAP32[$4 + 28 >> 2] : 0 : 0 : 0; + break label$1; -function _compE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var d3 = 0.0; - d3 = +HEAPF64[i1 >> 3] - +HEAPF64[i2 >> 3]; - return (d3 < 0.0 ? -1 : d3 > 0.0 & 1) | 0; -} + case 1: + break label$3; -function ___ctype_get_mb_cur_max() { - var i1 = 0; - i1 = (___pthread_self_826() | 0) + 188 | 0; - return ((HEAP32[HEAP32[i1 >> 2] >> 2] | 0) == 0 ? 1 : 4) | 0; + default: + break label$1; + } + } + if (HEAP32[$4 + 32 >> 2] != 1) { + if (HEAP32[$4 + 48 >> 2] | HEAP32[$4 + 36 >> 2] != 1 | HEAP32[$4 + 40 >> 2] != 1) { + break label$1; + } + } + $3 = HEAP32[$4 + 24 >> 2]; + } + __stack_pointer = $4 - -64 | 0; + return $3; +} + +function std____2__vector_float_2c_20std____2__allocator_float______swap_out_circular_buffer_28std____2____split_buffer_float_2c_20std____2__allocator_float_____29($0, $1) { + var $2 = 0; + std____2__vector_float_2c_20std____2__allocator_float______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_float__2c_20float_2c_20void__28std____2__allocator_float___2c_20float__2c_20float__2c_20float___29(std____2__vector_float_2c_20std____2__allocator_float______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_float____value_20___20is_move_assignable_float____value_2c_20void___type_20std____2__swap_float___28float___2c_20float___29($0, $2); + std____2__enable_if_is_move_constructible_float____value_20___20is_move_assignable_float____value_2c_20void___type_20std____2__swap_float___28float___2c_20float___29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_float____value_20___20is_move_assignable_float____value_2c_20void___type_20std____2__swap_float___28float___2c_20float___29(std____2__vector_float_2c_20std____2__allocator_float______end_cap_28_29($0), std____2____split_buffer_float_2c_20std____2__allocator_float_______end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_float_2c_20std____2__allocator_float______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_float_2c_20std____2__allocator_float____size_28_29_20const($0)); + std____2__vector_float_2c_20std____2__allocator_float______invalidate_all_iterators_28_29($0); +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______reset_28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______operator_28_29_28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____29(std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______second_28_29($0), $2); + } +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______28std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_200_2c_20false_____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____29($0, $1); + std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_201_2c_20false_____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20void__28std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______29($1 + 4 | 0, $2); + return $1; +} + +function void_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______push_back_slow_path_vision__match_t__28vision__match_t___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29($0); + $2 = std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__match_t___29($3 + 8 | 0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______recommend_28unsigned_20long_29_20const($0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0) + 1 | 0), std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0), $4); + void_20std____2__allocator_traits_std____2__allocator_vision__match_t____construct_vision__match_t_2c_20vision__match_t_2c_20void__28std____2__allocator_vision__match_t___2c_20vision__match_t__2c_20vision__match_t___29($4, vision__match_t__20std____2____to_address_vision__match_t__28vision__match_t__29(HEAP32[$2 + 8 >> 2]), $1); + HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 8; + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______swap_out_circular_buffer_28std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_____29($0, $2); + std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t________split_buffer_28_29($2); + __stack_pointer = $3 + 32 | 0; +} + +function std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char______on_zero_shared_28_29($0) { + $0 = $0 | 0; + $0 = $0 + 12 | 0; + std____2__default_delete_unsigned_20char___operator_28_29_28unsigned_20char__29_20const(std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char____second_28_29(std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char____first_28_29($0)), HEAP32[std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char____first_28_29(std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char____first_28_29($0)) >> 2]); + std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char____second_28_29(std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char____first_28_29($0)); +} + +function std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________max_size_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29(Math_imul($1, 12), 4); +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______append_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + if (HEAP32[std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] >> 5 >>> 0 >= $1 >>> 0) { + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______construct_at_end_28unsigned_20long_29($0, $1); + break label$1; + } + $2 = std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______alloc_28_29($0); + $2 = std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__Image___29($3 + 8 | 0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______recommend_28unsigned_20long_29_20const($0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($0) + $1 | 0), std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($0), $2); + std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______construct_at_end_28unsigned_20long_29($2, $1); + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______swap_out_circular_buffer_28std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_____29($0, $2); + std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image________split_buffer_28_29($2); + } + __stack_pointer = $3 + 32 | 0; +} + +function arParamLTCreate($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = dlmalloc(208); + if ($4) { + label$2: { + wasm2js_memory_copy($4, $0, 184); + $5 = $1 << 1; + $6 = $5 + HEAP32[$0 >> 2] | 0; + HEAP32[$4 + 192 >> 2] = $6; + $2 = HEAP32[$0 + 4 >> 2]; + HEAP32[$4 + 204 >> 2] = $1; + HEAP32[$4 + 200 >> 2] = $1; + $7 = $2 + $5 | 0; + HEAP32[$4 + 196 >> 2] = $7; + $2 = Math_imul($6, $7) << 3; + $5 = dlmalloc($2); + HEAP32[$4 + 184 >> 2] = $5; + if (!$5) { + break label$2; + } + $2 = dlmalloc($2); + HEAP32[$4 + 188 >> 2] = $2; + if (!$2) { + break label$2; + } + $11 = ($7 | 0) > 0 ? $7 : 0; + $12 = ($6 | 0) > 0 ? $6 : 0; + $6 = $0 + 104 | 0; + $7 = HEAP32[$0 + 176 >> 2]; + while (1) { + if (($8 | 0) != ($11 | 0)) { + $9 = +Math_fround($8 - $1 | 0); + $0 = 0; + while (1) { + if (($0 | 0) != ($12 | 0)) { + $10 = +Math_fround($0 - $1 | 0); + arParamIdeal2Observ($6, $10, $9, $3 + 8 | 0, $3, $7); + HEAPF32[$5 >> 2] = HEAPF64[$3 + 8 >> 3]; + HEAPF32[$5 + 4 >> 2] = HEAPF64[$3 >> 3]; + arParamObserv2Ideal($6, $10, $9, $3 + 24 | 0, $3 + 16 | 0, $7); + HEAPF32[$2 >> 2] = HEAPF64[$3 + 24 >> 3]; + HEAPF32[$2 + 4 >> 2] = HEAPF64[$3 + 16 >> 3]; + $0 = $0 + 1 | 0; + $2 = $2 + 8 | 0; + $5 = $5 + 8 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + break; + } + __stack_pointer = $3 + 32 | 0; + return $4; + } + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9pbackfailEj(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return __ZNSt3__211char_traitsIwE3eofEv() | 0; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________bucket_count_28_29_20const($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________size_28_29_20const(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________get_deleter_28_29_20const($0)); } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9pbackfailEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return __ZNSt3__211char_traitsIcE3eofEv() | 0; +function std____2____compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96_______compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96____28std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96______2c_20std____2__allocator_vision__Keyframe_96_____29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Keyframe_96___2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_vision__Keyframe_96___2c_20void__28std____2__allocator_vision__Keyframe_96_____29(std____2____compressed_pair_elem_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_200_2c_20false_____compressed_pair_elem_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20void__28std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96______29($0, $1), $2); } -function b11(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - nullFunc_iiiiiii(11); - return 0; +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______construct_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple___2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4) { + void_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____construct_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4); } -function _arSetMatrixCodeType(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if (!i1) i1 = -1; else { - HEAP32[i1 + 7062424 >> 2] = i2; - i1 = 0; +function void_20std____2____pop_heap_std____2__less_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96_____28std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96____2c_20std____2__iterator_traits_std____2____wrap_iter_vision__PriorityQueueItem_96______difference_type_29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 >> 2] = $1; + HEAP32[$4 + 8 >> 2] = $0; + if (($3 | 0) >= 2) { + std____2__enable_if_is_move_constructible_vision__PriorityQueueItem_96____value_20___20is_move_assignable_vision__PriorityQueueItem_96____value_2c_20void___type_20std____2__swap_vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96___29(std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($4 + 8 | 0), std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const(std____2____wrap_iter_vision__PriorityQueueItem_96_____operator___28_29($4))); + $1 = HEAP32[$4 + 8 >> 2]; + void_20std____2____sift_down_std____2__less_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96_____28std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96____2c_20std____2__iterator_traits_std____2____wrap_iter_vision__PriorityQueueItem_96______difference_type_2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____29($1, $2, $3 - 1 | 0, $1); } - return i1 | 0; -} - -function __ZNSt3__24pairIKiNS_6vectorIiNS_9allocatorIiEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseIiNS_9allocatorIiEEED2Ev(i1 + 4 | 0); - return; + __stack_pointer = $4 + 16 | 0; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE8overflowEj(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return __ZNSt3__211char_traitsIwE3eofEv() | 0; -} +function jpeg_start_decompress($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0; + label$1: { + label$2: { + label$3: { + label$4: { + label$5: { + $1 = HEAP32[$0 + 20 >> 2]; + switch ($1 - 202 | 0) { + case 2: + break label$2; -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE8overflowEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return __ZNSt3__211char_traitsIcE3eofEv() | 0; -} + case 1: + break label$4; -function __ZN6vision20BinaryFeatureMatcherILi96EED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseIN6vision7match_tENS_9allocatorIS2_EEED2Ev(i1); - return; -} + case 0: + break label$5; -function ___cxx_global_var_init_1() { - HEAP32[14049] = 0; - HEAP32[14050] = 0; - HEAP32[14051] = 0; - HEAP32[14052] = 0; - HEAP32[14053] = 1065353216; - return; -} + default: + break label$3; + } + } + jinit_master_decompress($0); + if (HEAP32[$0 + 64 >> 2]) { + HEAP32[$0 + 20 >> 2] = 207; + return 1; + } + HEAP32[$0 + 20 >> 2] = 203; + } + label$7: { + if (!HEAP32[HEAP32[$0 + 460 >> 2] + 16 >> 2]) { + break label$7; + } + $1 = HEAP32[$0 + 8 >> 2]; + while (1) { + if ($1) { + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + label$10: { + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 460 >> 2] >> 2]]($0) | 0; + switch ($2 | 0) { + case 0: + break label$1; -function __ZNSt3__211char_traitsIwE4moveEPwPKwm(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - if (i3) _wmemmove(i1, i2, i3) | 0; - return i1 | 0; -} + case 2: + break label$7; -function __ZN10emscripten8internal6TypeIDINS_11memory_viewItEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewItEEE3getEv() | 0; + default: + break label$10; + } + } + $1 = HEAP32[$0 + 8 >> 2]; + if (!$1 | ($2 & -3) != 1) { + continue; + } + $2 = HEAP32[$1 + 4 >> 2] + 1 | 0; + HEAP32[$1 + 4 >> 2] = $2; + $3 = HEAP32[$1 + 8 >> 2]; + if (($3 | 0) > ($2 | 0)) { + continue; + } + HEAP32[$1 + 8 >> 2] = HEAP32[$0 + 332 >> 2] + $3; + continue; + } + } + HEAP32[$0 + 152 >> 2] = HEAP32[$0 + 144 >> 2]; + break label$2; + } + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = 21; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $2 = output_pass_setup($0); + } + return $2 | 0; } -function __ZN10emscripten8internal6TypeIDINS_11memory_viewIsEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIsEEE3getEv() | 0; +function std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______operator_28_29_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____29($0, $1) { + if (HEAPU8[$0 + 4 | 0]) { + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______destroy_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_____29(HEAP32[$0 >> 2], std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96________get_ptr_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_____29($1 + 8 | 0)); + } + if ($1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20unsigned_20long_29(HEAP32[$0 >> 2], $1, 1); + } } -function __ZN10emscripten8internal6TypeIDINS_11memory_viewImEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewImEEE3getEv() | 0; +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseNumber_28bool_29($0, $1, $2) { + var $3 = 0; + $3 = HEAP32[$1 >> 2]; + if ($2) { + $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($1, 110); + } + label$2: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($1)) { + break label$2; + } + $2 = HEAP32[$1 >> 2]; + if (HEAP8[$2 | 0] - 48 >>> 0 >= 10) { + break label$2; + } + while (1) { + if (!(!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($1) | HEAP8[$2 | 0] - 48 >>> 0 > 9)) { + $2 = $2 + 1 | 0; + HEAP32[$1 >> 2] = $2; + continue; + } + break; + } + $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($0, $3, $2); + return; + } + $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28_29($0); +} + +function std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________compressed_pair_std__nullptr_t_2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std__nullptr_t___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____allocate_28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20unsigned_20long_29(std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = ($2 << 3) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 3) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function rgb1_rgb_convert($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + if (($4 | 0) > 0) { + $7 = HEAP32[$0 + 112 >> 2]; + $14 = $7 & -2; + $15 = $7 & 1; + while (1) { + $13 = $4; + label$3: { + if (!$7) { + break label$3; + } + $4 = $2 << 2; + $8 = HEAP32[$4 + HEAP32[$1 + 8 >> 2] >> 2]; + $9 = HEAP32[HEAP32[$1 + 4 >> 2] + $4 >> 2]; + $6 = HEAP32[HEAP32[$1 >> 2] + $4 >> 2]; + $4 = HEAP32[$3 >> 2]; + $0 = 0; + $10 = 0; + if (($7 | 0) != 1) { + while (1) { + $11 = HEAPU8[$0 + $6 | 0]; + $12 = HEAPU8[$0 + $8 | 0]; + $5 = HEAPU8[$0 + $9 | 0]; + HEAP8[$4 + 1 | 0] = $5; + HEAP8[$4 + 2 | 0] = $5 + $12 ^ 128; + HEAP8[$4 | 0] = $5 + $11 ^ 128; + $5 = $0 | 1; + $11 = HEAPU8[$6 + $5 | 0]; + $12 = HEAPU8[$5 + $8 | 0]; + $5 = HEAPU8[$5 + $9 | 0]; + HEAP8[$4 + 4 | 0] = $5; + HEAP8[$4 + 5 | 0] = $5 + $12 ^ 128; + HEAP8[$4 + 3 | 0] = $5 + $11 ^ 128; + $0 = $0 + 2 | 0; + $4 = $4 + 6 | 0; + $10 = $10 + 2 | 0; + if (($14 | 0) != ($10 | 0)) { + continue; + } + break; + } + } + if (!$15) { + break label$3; + } + $5 = HEAPU8[$0 + $6 | 0]; + $6 = HEAPU8[$0 + $8 | 0]; + $0 = HEAPU8[$0 + $9 | 0]; + HEAP8[$4 + 1 | 0] = $0; + HEAP8[$4 + 2 | 0] = $0 + $6 ^ 128; + HEAP8[$4 | 0] = $0 + $5 ^ 128; + } + $3 = $3 + 4 | 0; + $2 = $2 + 1 | 0; + $4 = $13 - 1 | 0; + if (($13 | 0) >= 2) { + continue; + } + break; + } + } } -function __ZN10emscripten8internal6TypeIDINS_11memory_viewIlEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIlEEE3getEv() | 0; +function setPatternDetectionMode($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 28 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 28 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 24 | 0, $2 + 16 | 0)) { + break label$1; + } + if (arSetPatternDetectionMode(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 28 | 0) + 216 >> 2], $1)) { + break label$1; + } + HEAP32[$2 >> 2] = $1; + arLog(0, 1, 39598, $2); + } + __stack_pointer = $2 + 32 | 0; +} + +function vision__Point3d_float___20std____2__copy_vision__Point3d_float___2c_20vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___2c_20vision__Point3d_float___29($0, $1, $2) { + return vision__Point3d_float___20std____2____rewrap_iter_vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___29($2, std____2__enable_if_is_same_std____2__remove_const_vision__Point3d_float____type_2c_20vision__Point3d_float____value_20___20is_trivially_copy_assignable_vision__Point3d_float____value_2c_20vision__Point3d_float_____type_20std____2____copy_vision__Point3d_float__2c_20vision__Point3d_float___28vision__Point3d_float___2c_20vision__Point3d_float___2c_20vision__Point3d_float___29(decltype_28std____2____unwrap_iter_impl_vision__Point3d_float___2c_20true_____apply_28declval_vision__Point3d_float____28_29_29_29_20std____2____unwrap_iter_vision__Point3d_float___2c_20std____2____unwrap_iter_impl_vision__Point3d_float___2c_20true___28vision__Point3d_float___29($0), decltype_28std____2____unwrap_iter_impl_vision__Point3d_float___2c_20true_____apply_28declval_vision__Point3d_float____28_29_29_29_20std____2____unwrap_iter_vision__Point3d_float___2c_20std____2____unwrap_iter_impl_vision__Point3d_float___2c_20true___28vision__Point3d_float___29($1), decltype_28std____2____unwrap_iter_impl_vision__Point3d_float___2c_20true_____apply_28declval_vision__Point3d_float____28_29_29_29_20std____2____unwrap_iter_vision__Point3d_float___2c_20std____2____unwrap_iter_impl_vision__Point3d_float___2c_20true___28vision__Point3d_float___29($2))); +} + +function getPattRatio($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $2 = -1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1, $1 + 8 | 0)) { + break label$1; + } + $0 = HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 216 >> 2]; + $2 = -1; + if (!$0) { + break label$1; + } + $0 = arGetPattRatio($0, $1); + $2 = $0 ? -1 : HEAPF64[$1 >> 3]; + } + __stack_pointer = $1 + 16 | 0; + return +$2; +} + +function __extenddftf2($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $7 = __stack_pointer - 16 | 0; + __stack_pointer = $7; + wasm2js_scratch_store_f64(+$1); + $2 = wasm2js_scratch_load_i32(1) | 0; + $5 = wasm2js_scratch_load_i32(0) | 0; + $10 = $2; + $6 = $2 & 2147483647; + $4 = 1048576; + $4 = $6 - $4 | 0; + label$1: { + if (($4 | 0) == 2145386495 | $4 >>> 0 < 2145386495) { + $2 = $5; + $4 = $2 << 28; + $8 = $4; + $4 = $6; + $2 = $4 >>> 4 | 0; + $4 = ($4 & 15) << 28 | $5 >>> 4; + $9 = $4; + $3 = $2 + 1006632960 | 0; + break label$1; + } + $3 = $6; + if (($3 | 0) == 2146435072 | $3 >>> 0 > 2146435072) { + $2 = $5; + $3 = $2 << 28; + $8 = $3; + $3 = $10; + $2 = $3 >>> 4 | 0; + $3 = ($3 & 15) << 28 | $5 >>> 4; + $9 = $3; + $2 = $2 | 2147418112; + $3 = $2; + break label$1; + } + $2 = $6; + if (!($2 | $5)) { + $3 = 0; + break label$1; + } + $11 = $6 ? Math_clz32($6) : Math_clz32($5) + 32 | 0; + __ashlti3($7, $5, $6, 0, 0, $11 + 49 | 0); + $4 = $7; + $3 = HEAP32[$4 >> 2]; + $12 = $3; + $2 = HEAP32[$4 + 4 >> 2]; + $8 = $2; + $3 = HEAP32[$4 + 12 >> 2]; + $2 = HEAP32[$4 + 8 >> 2]; + $4 = $2; + $2 = $3 ^ 65536; + $9 = 0 | $4; + $3 = 15372 - $11 | 0; + $4 = $3 << 16; + $3 = $4; + $4 = $2; + $3 = $3 | $4; + } + $6 = $3; + $2 = $0; + HEAP32[$2 >> 2] = $12; + $3 = $8; + HEAP32[$2 + 4 >> 2] = $3; + $3 = $10; + $2 = $3 & -2147483648; + $4 = $2; + $2 = 0; + $5 = $9; + $3 = $5; + $2 = $2 | $3; + $3 = $0; + HEAP32[$3 + 8 >> 2] = $2; + $2 = $6; + $4 = $2 | $4; + HEAP32[$3 + 12 >> 2] = $4; + __stack_pointer = $7 + 16 | 0; +} + +function jinit_d_coef_controller($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 116) | 0; + HEAP32[$0 + 452 >> 2] = $2; + HEAP32[$2 + 112 >> 2] = 0; + HEAP32[$2 + 8 >> 2] = 172; + HEAP32[$2 >> 2] = 173; + if ($1) { + if (HEAP32[$0 + 36 >> 2] > 0) { + $1 = HEAP32[$0 + 216 >> 2]; + while (1) { + $4 = HEAP32[$1 + 12 >> 2]; + $5 = HEAP32[$0 + 224 >> 2]; + $6 = HEAP32[HEAP32[$0 + 4 >> 2] + 20 >> 2]; + wasm2js_i32$0 = ($3 << 2) + $2 | 0, wasm2js_i32$1 = FUNCTION_TABLE[$6 | 0]($0, 1, 1, jround_up(HEAP32[$1 + 28 >> 2], HEAP32[$1 + 8 >> 2]), jround_up(HEAP32[$1 + 32 >> 2], HEAP32[$1 + 12 >> 2]), $5 ? Math_imul($4, 3) : $4) | 0, + HEAP32[wasm2js_i32$0 + 72 >> 2] = wasm2js_i32$1; + $1 = $1 + 88 | 0; + $3 = $3 + 1 | 0; + if (($3 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; + } + break; + } + } + HEAP32[$2 + 12 >> 2] = 174; + HEAP32[$2 + 4 >> 2] = 175; + HEAP32[$2 + 16 >> 2] = $2 + 72; + return; + } + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 4 >> 2]]($0, 1, 1280) | 0; + HEAP32[$2 + 32 >> 2] = $1; + HEAP32[$2 + 68 >> 2] = $1 + 1152; + HEAP32[$2 - -64 >> 2] = $1 + 1024; + HEAP32[$2 + 60 >> 2] = $1 + 896; + HEAP32[$2 + 56 >> 2] = $1 + 768; + HEAP32[$2 + 52 >> 2] = $1 + 640; + HEAP32[$2 + 48 >> 2] = $1 + 512; + HEAP32[$2 + 44 >> 2] = $1 + 384; + HEAP32[$2 + 40 >> 2] = $1 + 256; + HEAP32[$2 + 36 >> 2] = $1 + 128; + if (!HEAP32[$0 + 436 >> 2]) { + memset($1, 0, 1280); + } + HEAP32[$2 + 12 >> 2] = 176; + HEAP32[$2 + 4 >> 2] = 177; + HEAP32[$2 + 16 >> 2] = 0; +} + +function setThresholdMode($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 28 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 28 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 24 | 0, $2 + 16 | 0)) { + break label$1; + } + if (arSetLabelingThreshMode(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 28 | 0) + 216 >> 2], $1)) { + break label$1; + } + HEAP32[$2 >> 2] = $1; + arLog(0, 1, 38654, $2); + } + __stack_pointer = $2 + 32 | 0; +} + +function setImageProcMode($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 28 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 28 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 24 | 0, $2 + 16 | 0)) { + break label$1; + } + if (arSetImageProcMode(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 28 | 0) + 216 >> 2], $1)) { + break label$1; + } + HEAP32[$2 >> 2] = $1; + arLog(0, 1, 39633, $2); + } + __stack_pointer = $2 + 32 | 0; +} + +function setLabelingMode($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 28 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 28 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + label$1: { + if (std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 24 | 0, $2 + 16 | 0)) { + break label$1; + } + if (arSetLabelingMode(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 28 | 0) + 216 >> 2], $1)) { + break label$1; + } + HEAP32[$2 >> 2] = $1; + arLog(0, 1, 38629, $2); + } + __stack_pointer = $2 + 32 | 0; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______reset_28std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______operator_28_29_28std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____29(std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______second_28_29($0), $2); + } +} + +function std____2__enable_if___is_cpp17_forward_iterator_std____2____wrap_iter_int_20const_____value_2c_20void___type_20std____2____split_buffer_int_2c_20std____2__allocator_int_______construct_at_end_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + HEAP32[$3 + 24 >> 2] = $1; + $1 = std____2____split_buffer_int_2c_20std____2__allocator_int______ConstructTransaction___ConstructTransaction_28int___2c_20unsigned_20long_29($3 + 8 | 0, $0 + 8 | 0, std____2__iterator_traits_std____2____wrap_iter_int_20const_____difference_type_20std____2__distance_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___29($1, $2)); + while (1) { + if (HEAP32[$1 >> 2] != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20int_20const__2c_20void__28std____2__allocator_int___2c_20int__2c_20int_20const__29(std____2____split_buffer_int_2c_20std____2__allocator_int_______alloc_28_29($0), int__20std____2____to_address_int__28int__29(HEAP32[$1 >> 2]), std____2____wrap_iter_int_20const____operator__28_29_20const($3 + 24 | 0)); + HEAP32[$1 >> 2] = HEAP32[$1 >> 2] + 4; + std____2____wrap_iter_int_20const____operator___28_29($3 + 24 | 0); + continue; + } + break; + } + std____2____split_buffer_int_2c_20std____2__allocator_int______ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $3 + 32 | 0; +} + +function setDebugMode($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 28 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 28 | 0), + HEAP32[wasm2js_i32$0 + 24 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + $0 = 0; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 24 | 0, $2 + 16 | 0)) { + arSetDebugMode(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 28 | 0) + 216 >> 2], ($1 | 0) != 0); + HEAP32[$2 >> 2] = $1 ? 37646 : 37650; + arLog(0, 1, 38586, $2); + $0 = $1; + } + __stack_pointer = $2 + 32 | 0; + return $0 | 0; +} + +function null_convert($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + if (($4 | 0) > 0) { + $9 = HEAP32[$0 + 112 >> 2]; + $11 = $9 & -4; + $10 = $9 & 3; + $6 = HEAP32[$0 + 36 >> 2]; + $12 = ($6 | 0) <= 0; + $13 = $9 - 1 >>> 0 < 3; + while (1) { + $8 = 0; + if (!$12) { + while (1) { + label$5: { + if (!$9) { + break label$5; + } + $0 = HEAP32[HEAP32[($8 << 2) + $1 >> 2] + ($2 << 2) >> 2]; + $5 = HEAP32[$3 >> 2] + $8 | 0; + $7 = 0; + if (!$13) { + while (1) { + HEAP8[$5 | 0] = HEAPU8[$0 | 0]; + $5 = $5 + $6 | 0; + HEAP8[$5 | 0] = HEAPU8[$0 + 1 | 0]; + $5 = $5 + $6 | 0; + HEAP8[$5 | 0] = HEAPU8[$0 + 2 | 0]; + $5 = $5 + $6 | 0; + HEAP8[$5 | 0] = HEAPU8[$0 + 3 | 0]; + $0 = $0 + 4 | 0; + $5 = $5 + $6 | 0; + $7 = $7 + 4 | 0; + if (($11 | 0) != ($7 | 0)) { + continue; + } + break; + } + } + $7 = 0; + if (!$10) { + break label$5; + } + while (1) { + HEAP8[$5 | 0] = HEAPU8[$0 | 0]; + $5 = $5 + $6 | 0; + $0 = $0 + 1 | 0; + $7 = $7 + 1 | 0; + if (($10 | 0) != ($7 | 0)) { + continue; + } + break; + } + } + $8 = $8 + 1 | 0; + if (($8 | 0) != ($6 | 0)) { + continue; + } + break; + } + } + $3 = $3 + 4 | 0; + $2 = $2 + 1 | 0; + $0 = ($4 | 0) > 1; + $4 = $4 - 1 | 0; + if ($0) { + continue; + } + break; + } + } } -function __ZN10emscripten8internal6TypeIDINS_11memory_viewIjEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIjEEE3getEv() | 0; +function void_20std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______push_back_slow_path_multi_marker_20const___28multi_marker_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______alloc_28_29($0); + $2 = std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_multi_marker___29($3 + 8 | 0, std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______recommend_28unsigned_20long_29_20const($0, std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____size_28_29_20const($0) + 1 | 0), std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____size_28_29_20const($0), $4); + void_20std____2__allocator_traits_std____2__allocator_multi_marker____construct_multi_marker_2c_20multi_marker_20const__2c_20void__28std____2__allocator_multi_marker___2c_20multi_marker__2c_20multi_marker_20const__29($4, multi_marker__20std____2____to_address_multi_marker__28multi_marker__29(HEAP32[$2 + 8 >> 2]), $1); + HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 8; + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______swap_out_circular_buffer_28std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_____29($0, $2); + std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker________split_buffer_28_29($2); + __stack_pointer = $3 + 32 | 0; } -function __ZN10emscripten8internal6TypeIDINS_11memory_viewIiEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIiEEE3getEv() | 0; -} +function __cxxabiv1____si_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], $4)) { + __cxxabiv1____class_type_info__process_static_type_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_29_20const($1, $1, $2, $3); + return; + } + label$2: { + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 >> 2], $4)) { + if (!(HEAP32[$1 + 16 >> 2] != ($2 | 0) & HEAP32[$1 + 20 >> 2] != ($2 | 0))) { + if (($3 | 0) != 1) { + break label$2; + } + HEAP32[$1 + 32 >> 2] = 1; + return; + } + HEAP32[$1 + 32 >> 2] = $3; + label$6: { + if (HEAP32[$1 + 44 >> 2] == 4) { + break label$6; + } + HEAP16[$1 + 52 >> 1] = 0; + $0 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1, $2, $2, 1, $4); + if (HEAPU8[$1 + 53 | 0]) { + HEAP32[$1 + 44 >> 2] = 3; + if (!HEAPU8[$1 + 52 | 0]) { + break label$6; + } + break label$2; + } + HEAP32[$1 + 44 >> 2] = 4; + } + HEAP32[$1 + 20 >> 2] = $2; + HEAP32[$1 + 40 >> 2] = HEAP32[$1 + 40 >> 2] + 1; + if (HEAP32[$1 + 36 >> 2] != 1 | HEAP32[$1 + 24 >> 2] != 2) { + break label$2; + } + HEAP8[$1 + 54 | 0] = 1; + return; + } + $0 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $1, $2, $3, $4); + } +} + +function std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char______on_zero_shared_weak_28_29($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $2 = $0 + 12 | 0; + $3 = std____2__allocator_std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char_____allocator_unsigned_20char__28std____2__allocator_unsigned_20char__20const__29($1 + 8 | 0, std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char____second_28_29($2)); + std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char____second_28_29($2); + std____2__allocator_std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char_____deallocate_28std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char____2c_20unsigned_20long_29($3, std____2__pointer_traits_std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char______pointer_to_28std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char____29($0), 1); + __stack_pointer = $1 + 16 | 0; +} + +function cosf($0) { + var $1 = Math_fround(0), $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $4 = (wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2)); + $3 = $4 & 2147483647; + label$1: { + if ($3 >>> 0 <= 1061752794) { + $1 = Math_fround(1); + if ($3 >>> 0 < 964689920) { + break label$1; + } + $1 = __cosdf(+$0); + break label$1; + } + if ($3 >>> 0 <= 1081824209) { + if ($3 >>> 0 >= 1075235812) { + $1 = Math_fround(-__cosdf((($4 | 0) < 0 ? 3.141592653589793 : -3.141592653589793) + +$0)); + break label$1; + } + $5 = +$0; + if (($4 | 0) < 0) { + $1 = __sindf($5 + 1.5707963267948966); + break label$1; + } + $1 = __sindf(1.5707963267948966 - $5); + break label$1; + } + if ($3 >>> 0 <= 1088565717) { + if ($3 >>> 0 >= 1085271520) { + $1 = __cosdf((($4 | 0) < 0 ? 6.283185307179586 : -6.283185307179586) + +$0); + break label$1; + } + if (($4 | 0) < 0) { + $1 = __sindf(-4.71238898038469 - +$0); + break label$1; + } + $1 = __sindf(+$0 + -4.71238898038469); + break label$1; + } + $1 = Math_fround($0 - $0); + if ($3 >>> 0 >= 2139095040) { + break label$1; + } + label$9: { + switch (__rem_pio2f($0, $2 + 8 | 0) & 3) { + case 0: + $1 = __cosdf(HEAPF64[$2 + 8 >> 3]); + break label$1; -function __ZN10emscripten8internal6TypeIDINS_11memory_viewIhEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIhEEE3getEv() | 0; -} + case 1: + $1 = __sindf(-HEAPF64[$2 + 8 >> 3]); + break label$1; -function __ZN10emscripten8internal6TypeIDINS_11memory_viewIfEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIfEEE3getEv() | 0; -} + case 2: + $1 = Math_fround(-__cosdf(HEAPF64[$2 + 8 >> 3])); + break label$1; -function __ZN10emscripten8internal6TypeIDINS_11memory_viewIeEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIeEEE3getEv() | 0; + default: + break label$9; + } + } + $1 = __sindf(HEAPF64[$2 + 8 >> 3]); + } + __stack_pointer = $2 + 16 | 0; + return $1; } -function __ZN10emscripten8internal6TypeIDINS_11memory_viewIdEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIdEEE3getEv() | 0; +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______annotate_delete_28_29_20const($0) { + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0), std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____size_28_29_20const($0) << 3) | 0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____capacity_28_29_20const($0) << 3) | 0); } -function __ZN10emscripten8internal6TypeIDINS_11memory_viewIcEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIcEEE3getEv() | 0; +function std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________compressed_pair_std__nullptr_t_2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std__nullptr_t___2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($1 + 4 | 0, $2); + return $1; } -function __ZN10emscripten8internal6TypeIDINS_11memory_viewIaEEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIaEEE3getEv() | 0; +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______2c_20true_____good_rval_ref_type_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______29($0, $3 + 12 | 0, $2); + __stack_pointer = $3 + 16 | 0; + return $1; } -function _icpSetInlierProbability(i1, d2) { - i1 = i1 | 0; - d2 = +d2; - if (!i1) i1 = -1; else { - HEAPF64[i1 + 128 >> 3] = d2; - i1 = 0; +function arPattCreateHandle2($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + label$1: { + label$2: { + if ($0 - 65 >>> 0 < 4294967247 | ($1 | 0) <= 0) { + break label$2; + } + $3 = dlmalloc(32); + if (!$3) { + break label$1; + } + HEAP32[$3 + 28 >> 2] = $0; + HEAP32[$3 + 4 >> 2] = $1; + HEAP32[$3 >> 2] = 0; + $5 = dlmalloc($1 << 2); + HEAP32[$3 + 8 >> 2] = $5; + if (!$5) { + break label$1; + } + $2 = $1 << 4; + $6 = dlmalloc($2); + HEAP32[$3 + 12 >> 2] = $6; + if (!$6) { + break label$1; + } + $7 = dlmalloc($2); + HEAP32[$3 + 20 >> 2] = $7; + if (!$7) { + break label$1; + } + $4 = $1 << 5; + $2 = dlmalloc($4); + HEAP32[$3 + 16 >> 2] = $2; + if (!$2) { + break label$1; + } + $2 = dlmalloc($4); + HEAP32[$3 + 24 >> 2] = $2; + if (!$2) { + break label$1; + } + $0 = Math_imul($0, $0); + $10 = $0 << 2; + $11 = Math_imul($0, 12); + while (1) { + if (($1 | 0) == ($8 | 0)) { + break label$2; + } + $0 = 0; + $9 = $8 << 2; + HEAP32[$9 + $5 >> 2] = 0; + label$4: { + while (1) { + if (($0 | 0) == 4) { + break label$4; + } + $4 = $0 + $9 << 2; + $2 = dlmalloc($11); + HEAP32[$6 + $4 >> 2] = $2; + if (!$2) { + break label$1; + } + $2 = dlmalloc($10); + HEAP32[$4 + $7 >> 2] = $2; + $0 = $0 + 1 | 0; + if ($2) { + continue; + } + break; + } + break label$1; + } + $8 = $8 + 1 | 0; + continue; + } + } + return $3; } - return i1 | 0; + arLog(0, 3, 1790, 0); + exit(1); + abort(); } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 14180; - __ZNSt3__26localeD2Ev(i1 + 4 | 0); - return; -} +function sinf($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $4 = (wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2)); + $2 = $4 & 2147483647; + label$1: { + if ($2 >>> 0 <= 1061752794) { + if ($2 >>> 0 < 964689920) { + break label$1; + } + $0 = __sindf(+$0); + break label$1; + } + if ($2 >>> 0 <= 1081824209) { + $3 = +$0; + if ($2 >>> 0 <= 1075235811) { + if (($4 | 0) < 0) { + $0 = Math_fround(-__cosdf($3 + 1.5707963267948966)); + break label$1; + } + $0 = __cosdf($3 + -1.5707963267948966); + break label$1; + } + $0 = __sindf(-((($4 | 0) >= 0 ? -3.141592653589793 : 3.141592653589793) + $3)); + break label$1; + } + if ($2 >>> 0 <= 1088565717) { + if ($2 >>> 0 <= 1085271519) { + $3 = +$0; + if (($4 | 0) < 0) { + $0 = __cosdf($3 + 4.71238898038469); + break label$1; + } + $0 = Math_fround(-__cosdf($3 + -4.71238898038469)); + break label$1; + } + $0 = __sindf((($4 | 0) < 0 ? 6.283185307179586 : -6.283185307179586) + +$0); + break label$1; + } + if ($2 >>> 0 >= 2139095040) { + $0 = Math_fround($0 - $0); + break label$1; + } + label$10: { + switch (__rem_pio2f($0, $1 + 8 | 0) & 3) { + case 0: + $0 = __sindf(HEAPF64[$1 + 8 >> 3]); + break label$1; -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 14116; - __ZNSt3__26localeD2Ev(i1 + 4 | 0); - return; -} + case 1: + $0 = __cosdf(HEAPF64[$1 + 8 >> 3]); + break label$1; -function __ZNSt3__211char_traitsIwE6assignEPwmw(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - if (i2) _wmemset(i1, i3, i2) | 0; - return i1 | 0; -} + case 2: + $0 = __sindf(-HEAPF64[$1 + 8 >> 3]); + break label$1; -function __ZNSt3__211char_traitsIwE4copyEPwPKwm(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - if (i3) _wmemcpy(i1, i2, i3) | 0; - return i1 | 0; + default: + break label$10; + } + } + $0 = Math_fround(-__cosdf(HEAPF64[$1 + 8 >> 3])); + } + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ClosureTypeName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 34343); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $3 = $0; + $5 = HEAP32[$3 + 24 >> 2]; + $4 = HEAP32[$3 + 28 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + HEAP32[$2 + 32 >> 2] = $5; + HEAP32[$2 + 36 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37989); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__ClosureTypeName__printDeclarator_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2)); + __stack_pointer = $2 + 48 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PostfixExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37973); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 37866); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $3 = $0; + $4 = HEAP32[$3 + 12 >> 2]; + $5 = HEAP32[$3 + 16 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + HEAP32[$2 + 24 >> 2] = $4; + HEAP32[$2 + 28 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 48 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__QualType__printQuals_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $3 = HEAP32[$0 + 8 >> 2]; + if ($3 & 1) { + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 29346); + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $3; + HEAP32[$2 + 20 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $3 = HEAP32[$0 + 8 >> 2]; + } + if ($3 & 2) { + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 32039); + $5 = HEAP32[$4 >> 2]; + $3 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $3 = HEAP32[$0 + 8 >> 2]; + } + if ($3 & 4) { + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 29707); + $3 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$2 >> 2] = $3; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + } + __stack_pointer = $2 + 48 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PrefixExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $3 = $0; + $4 = HEAP32[$3 + 8 >> 2]; + $5 = HEAP32[$3 + 12 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + HEAP32[$2 + 40 >> 2] = $4; + HEAP32[$2 + 44 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 32 | 0, 37973); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 16 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37866); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 48 | 0; +} + +function std____2__vector_int_2c_20std____2__allocator_int______swap_out_circular_buffer_28std____2____split_buffer_int_2c_20std____2__allocator_int_____29($0, $1) { + var $2 = 0; + std____2__vector_int_2c_20std____2__allocator_int______annotate_delete_28_29_20const($0); + $2 = $1 + 4 | 0; + void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_int__2c_20int_2c_20void__28std____2__allocator_int___2c_20int__2c_20int__2c_20int___29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0), HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_int___28int___2c_20int___29($0, $2); + std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_int___28int___2c_20int___29($0 + 4 | 0, $1 + 8 | 0); + std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_int___28int___2c_20int___29(std____2__vector_int_2c_20std____2__allocator_int______end_cap_28_29($0), std____2____split_buffer_int_2c_20std____2__allocator_int_______end_cap_28_29($1)); + HEAP32[$1 >> 2] = HEAP32[$1 + 4 >> 2]; + std____2__vector_int_2c_20std____2__allocator_int______annotate_new_28unsigned_20long_29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0)); + std____2__vector_int_2c_20std____2__allocator_int______invalidate_all_iterators_28_29($0); +} + +function setupAR2($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + $0 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0); + wasm2js_i32$0 = $0, wasm2js_i32$1 = createKpmHandle(HEAP32[$0 + 192 >> 2]), HEAP32[wasm2js_i32$0 + 232 >> 2] = wasm2js_i32$1; + $0 = 0; + } + __stack_pointer = $1 + 16 | 0; + return $0 | 0; +} + +function mbtowc($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $3 = 0; + label$1: { + if (!$1) { + break label$1; + } + label$2: { + if (!$2) { + break label$2; + } + $0 = $0 ? $0 : $5 + 12 | 0; + $3 = HEAPU8[$1 | 0]; + $4 = $3 << 24 >> 24; + if (($4 | 0) >= 0) { + HEAP32[$0 >> 2] = $3; + $3 = ($4 | 0) != 0; + break label$1; + } + $3 = __get_tp(); + $4 = HEAP8[$1 | 0]; + if (!HEAP32[HEAP32[$3 + 88 >> 2] >> 2]) { + HEAP32[$0 >> 2] = $4 & 57343; + $3 = 1; + break label$1; + } + $3 = ($4 & 255) - 194 | 0; + if ($3 >>> 0 > 50) { + break label$2; + } + $3 = HEAP32[($3 << 2) + 52560 >> 2]; + if ($3 << Math_imul($2, 6) - 6 < 0 & $2 >>> 0 <= 3) { + break label$2; + } + $4 = HEAPU8[$1 + 1 | 0]; + $2 = $4 >>> 3 | 0; + if (($2 - 16 | ($3 >> 26) + $2) >>> 0 > 7) { + break label$2; + } + $2 = $4 - 128 | $3 << 6; + if (($2 | 0) >= 0) { + HEAP32[$0 >> 2] = $2; + $3 = 2; + break label$1; + } + $3 = HEAPU8[$1 + 2 | 0] - 128 | 0; + if ($3 >>> 0 > 63) { + break label$2; + } + $2 = $2 << 6 | $3; + if (($2 | 0) >= 0) { + HEAP32[$0 >> 2] = $2; + $3 = 3; + break label$1; + } + $1 = HEAPU8[$1 + 3 | 0] - 128 | 0; + if ($1 >>> 0 > 63) { + break label$2; + } + HEAP32[$0 >> 2] = $2 << 6 | $1; + $3 = 4; + break label$1; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 25, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $3 = -1; + } + __stack_pointer = $5 + 16 | 0; + $1 = $3; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__ObjCProtoName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37315); + $4 = HEAP32[$3 >> 2]; + $3 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $4 = HEAP32[$0 + 16 >> 2]; + $3 = $0; + $3 = HEAP32[$3 + 12 >> 2]; + HEAP32[$2 + 8 >> 2] = $3; + HEAP32[$2 + 12 >> 2] = $4; + HEAP32[$2 + 32 >> 2] = $3; + HEAP32[$2 + 36 >> 2] = $4; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37108); + $4 = HEAP32[$3 >> 2]; + $3 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 48 | 0; +} + +function std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______find_28int_20const__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = HEAP32[std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____29($2 + 8 | 0, std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______find_int__28int_20const__29($0, $1)) >> 2]; + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__DotSuffix__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37972); + $4 = HEAP32[$3 >> 2]; + $3 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $4 = HEAP32[$0 + 16 >> 2]; + $3 = $0; + $3 = HEAP32[$3 + 12 >> 2]; + HEAP32[$2 + 8 >> 2] = $3; + HEAP32[$2 + 12 >> 2] = $4; + HEAP32[$2 + 32 >> 2] = $3; + HEAP32[$2 + 36 >> 2] = $4; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37866); + $4 = HEAP32[$3 >> 2]; + $3 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 48 | 0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____append_28char_20const__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($0); + $4 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0); + label$1: { + if ($3 - $4 >>> 0 >= $2 >>> 0) { + if (!$2) { + break label$1; + } + $3 = char__20std____2____to_address_char__28char__29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29($0)); + std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29($3 + $4 | 0, $1, $2); + $2 = $2 + $4 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_size_28unsigned_20long_29($0, $2); + HEAP8[$5 + 15 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($2 + $3 | 0, $5 + 15 | 0); + break label$1; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______grow_by_and_replace_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20char_20const__29($0, $3, ($2 + $4 | 0) - $3 | 0, $4, $4, 0, $2, $1); + } + __stack_pointer = $5 + 16 | 0; + return $0; +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = Math_imul($2, 12) + $1; + return $0; +} + +function std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________compressed_pair_std__nullptr_t_2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______28std__nullptr_t___2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29(std____2____compressed_pair_elem_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1), $2); +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0), std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____capacity_28_29_20const($0), 36) | 0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____capacity_28_29_20const($0), 36) | 0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0) + Math_imul($1, 36) | 0); +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0), std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____capacity_28_29_20const($0), 36) | 0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0) + Math_imul($1, 36) | 0, std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($0), 36) | 0); +} + +function std____2__shared_ptr_vision__Keyframe_96____shared_ptr_vision__Keyframe_96__2c_20void__28vision__Keyframe_96___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$0 >> 2] = $1; + $3 = std____2__unique_ptr_vision__Keyframe_96__2c_20std____2__default_delete_vision__Keyframe_96_____unique_ptr_true_2c_20void__28vision__Keyframe_96___29($2 + 24 | 0, $1); + $4 = operator_20new_28unsigned_20long_29(16); + std____2__allocator_vision__Keyframe_96____allocator_28_29($2 + 16 | 0); + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_______shared_ptr_pointer_28vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96___29($4, $1), + HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + std____2__unique_ptr_vision__Keyframe_96__2c_20std____2__default_delete_vision__Keyframe_96_____release_28_29($3); + HEAP32[$2 + 4 >> 2] = $1; + HEAP32[$2 >> 2] = $1; + std____2__shared_ptr_vision__Keyframe_96______enable_weak_this_28____29($0, $2); + std____2__unique_ptr_vision__Keyframe_96__2c_20std____2__default_delete_vision__Keyframe_96______unique_ptr_28_29($3); + __stack_pointer = $2 + 32 | 0; + return $0; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____xsgetn_28wchar_t__2c_20long_29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + while (1) { + label$2: { + if (($2 | 0) <= ($5 | 0)) { + break label$2; + } + $3 = HEAP32[$0 + 12 >> 2]; + $6 = HEAP32[$0 + 16 >> 2]; + label$3: { + if ($3 >>> 0 < $6 >>> 0) { + HEAP32[$4 + 12 >> 2] = 2147483647; + HEAP32[$4 + 8 >> 2] = $6 - $3 >> 2; + HEAP32[$4 + 4 >> 2] = $2 - $5; + $3 = long_20const__20std____2__min_long__28long_20const__2c_20long_20const__29($4 + 12 | 0, long_20const__20std____2__min_long__28long_20const__2c_20long_20const__29($4 + 8 | 0, $4 + 4 | 0)); + $3 = HEAP32[$3 >> 2]; + std____2__char_traits_wchar_t___copy_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29($1, HEAP32[$0 + 12 >> 2], $3); + std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____gbump_28int_29($0, $3); + $1 = ($3 << 2) + $1 | 0; + break label$3; + } + $3 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 40 >> 2]]($0) | 0; + if (($3 | 0) == -1) { + break label$2; + } + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__char_traits_wchar_t___to_char_type_28unsigned_20int_29($3), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $3 = 1; + $1 = $1 + 4 | 0; + } + $5 = $3 + $5 | 0; + continue; + } + break; + } + __stack_pointer = $4 + 16 | 0; + return $5 | 0; +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_percent_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4) { + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 8 >> 2] = $2; + $2 = 6; + label$1: { + label$2: { + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($1, $0 + 8 | 0)) { + break label$2; + } + $2 = 4; + if ((std____2__ctype_wchar_t___narrow_28wchar_t_2c_20char_29_20const($4, std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($1), 0) | 0) != 37) { + break label$2; + } + $2 = 2; + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1(std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($1), $0 + 8 | 0)) { + break label$1; + } + } + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | $2; + } + __stack_pointer = $0 + 16 | 0; +} + +function __vfprintf_internal($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $5 = __stack_pointer - 208 | 0; + __stack_pointer = $5; + HEAP32[$5 + 204 >> 2] = $2; + memset($5 + 160 | 0, 0, 40); + HEAP32[$5 + 200 >> 2] = HEAP32[$5 + 204 >> 2]; + label$1: { + if ((printf_core(0, $1, $5 + 200 | 0, $5 + 80 | 0, $5 + 160 | 0, $3, $4) | 0) < 0) { + $4 = -1; + break label$1; + } + if (HEAP32[$0 + 76 >> 2] >= 0) { + $8 = __lockfile($0); + } + $6 = HEAP32[$0 >> 2]; + if (HEAP32[$0 + 72 >> 2] <= 0) { + HEAP32[$0 >> 2] = $6 & -33; + } + label$5: { + label$6: { + label$7: { + if (!HEAP32[$0 + 48 >> 2]) { + HEAP32[$0 + 48 >> 2] = 80; + HEAP32[$0 + 28 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + $7 = HEAP32[$0 + 44 >> 2]; + HEAP32[$0 + 44 >> 2] = $5; + break label$7; + } + if (HEAP32[$0 + 16 >> 2]) { + break label$6; + } + } + $2 = -1; + if (__towrite($0)) { + break label$5; + } + } + $2 = printf_core($0, $1, $5 + 200 | 0, $5 + 80 | 0, $5 + 160 | 0, $3, $4); + } + $4 = $6 & 32; + if ($7) { + FUNCTION_TABLE[HEAP32[$0 + 36 >> 2]]($0, 0, 0) | 0; + HEAP32[$0 + 48 >> 2] = 0; + HEAP32[$0 + 44 >> 2] = $7; + HEAP32[$0 + 28 >> 2] = 0; + $3 = HEAP32[$0 + 20 >> 2]; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + $2 = $3 ? $2 : -1; + } + $3 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = $4 | $3; + $4 = $3 & 32 ? -1 : $2; + if (!$8) { + break label$1; + } + __unlockfile($0); + } + __stack_pointer = $5 + 208 | 0; + return $4; +} + +function std____2____check_grouping_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int__29($0, $1, $2, $3) { + var $4 = 0, $5 = 0; + label$1: { + $4 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0); + if (!$4 | ($2 - $1 | 0) < 5) { + break label$1; + } + void_20std____2__reverse_unsigned_20int___28unsigned_20int__2c_20unsigned_20int__29($1, $2); + $4 = $2 - 4 | 0; + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($0); + $5 = $2 + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0) | 0; + label$2: { + while (1) { + label$4: { + $0 = HEAP8[$2 | 0]; + if ($1 >>> 0 >= $4 >>> 0) { + break label$4; + } + label$5: { + if (($0 | 0) <= 0) { + break label$5; + } + if ((std____2__numeric_limits_char___max_28_29() | 0) <= ($0 | 0)) { + break label$5; + } + if (HEAP32[$1 >> 2] != HEAP8[$2 | 0]) { + break label$2; + } + } + $1 = $1 + 4 | 0; + $2 = (($5 - $2 | 0) > 1) + $2 | 0; + continue; + } + break; + } + if (($0 | 0) <= 0) { + break label$1; + } + if ((std____2__numeric_limits_char___max_28_29() | 0) <= ($0 | 0) | HEAP8[$2 | 0] >>> 0 > HEAP32[$4 >> 2] - 1 >>> 0) { + break label$1; + } + } + HEAP32[$3 >> 2] = 4; + } +} + +function getMultiMarkerCount($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + $0 = std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____size_28_29_20const(std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 328 | 0); + } + __stack_pointer = $1 + 16 | 0; + return $0 | 0; +} + +function getPatternDetectionMode($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + $0 = arGetPatternDetectionMode(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 216 >> 2], $1 + 8 | 0); + $0 = $0 ? -1 : HEAP32[$1 + 8 >> 2]; + } + __stack_pointer = $1 + 16 | 0; + return $0 | 0; +} + +function __fdopen($0, $1) { + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + label$2: { + label$3: { + if (!strchr(34285, HEAP8[$1 | 0])) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 28, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$3; + } + $2 = dlmalloc(1176); + if ($2) { + break label$2; + } + } + $2 = 0; + break label$1; + } + memset($2, 0, 144); + if (!strchr($1, 43)) { + HEAP32[$2 >> 2] = HEAPU8[$1 | 0] == 114 ? 8 : 4; + } + label$6: { + if (HEAPU8[$1 | 0] != 97) { + $1 = HEAP32[$2 >> 2]; + break label$6; + } + $1 = __syscall_fcntl64($0 | 0, 3, 0) | 0; + if (!($1 & 1024)) { + $1 = $1 | 1024; + HEAP32[$3 + 16 >> 2] = $1; + HEAP32[$3 + 20 >> 2] = $1 >> 31; + __syscall_fcntl64($0 | 0, 4, $3 + 16 | 0) | 0; + } + $1 = HEAP32[$2 >> 2] | 128; + HEAP32[$2 >> 2] = $1; + } + HEAP32[$2 + 80 >> 2] = -1; + HEAP32[$2 + 48 >> 2] = 1024; + HEAP32[$2 + 60 >> 2] = $0; + HEAP32[$2 + 44 >> 2] = $2 + 152; + label$9: { + if ($1 & 8) { + break label$9; + } + HEAP32[$3 >> 2] = $3 + 24; + HEAP32[$3 + 4 >> 2] = 0; + if (__syscall_ioctl($0 | 0, 21523, $3 | 0) | 0) { + break label$9; + } + HEAP32[$2 + 80 >> 2] = 10; + } + HEAP32[$2 + 40 >> 2] = 233; + HEAP32[$2 + 36 >> 2] = 234; + HEAP32[$2 + 32 >> 2] = 235; + HEAP32[$2 + 12 >> 2] = 236; + if (!HEAPU8[78433]) { + HEAP32[$2 + 76 >> 2] = -1; + } + $2 = __ofl_add($2); + } + __stack_pointer = $3 + 32 | 0; + return $2; +} + +function vision__FeaturePoint__20std____2__copy_vision__FeaturePoint__2c_20vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20vision__FeaturePoint__29($0, $1, $2) { + return vision__FeaturePoint__20std____2____rewrap_iter_vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__29($2, std____2__enable_if_is_same_std____2__remove_const_vision__FeaturePoint___type_2c_20vision__FeaturePoint___value_20___20is_trivially_copy_assignable_vision__FeaturePoint___value_2c_20vision__FeaturePoint____type_20std____2____copy_vision__FeaturePoint_2c_20vision__FeaturePoint__28vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20vision__FeaturePoint__29(decltype_28std____2____unwrap_iter_impl_vision__FeaturePoint__2c_20true_____apply_28declval_vision__FeaturePoint___28_29_29_29_20std____2____unwrap_iter_vision__FeaturePoint__2c_20std____2____unwrap_iter_impl_vision__FeaturePoint__2c_20true___28vision__FeaturePoint__29($0), decltype_28std____2____unwrap_iter_impl_vision__FeaturePoint__2c_20true_____apply_28declval_vision__FeaturePoint___28_29_29_29_20std____2____unwrap_iter_vision__FeaturePoint__2c_20std____2____unwrap_iter_impl_vision__FeaturePoint__2c_20true___28vision__FeaturePoint__29($1), decltype_28std____2____unwrap_iter_impl_vision__FeaturePoint__2c_20true_____apply_28declval_vision__FeaturePoint___28_29_29_29_20std____2____unwrap_iter_vision__FeaturePoint__2c_20std____2____unwrap_iter_impl_vision__FeaturePoint__2c_20true___28vision__FeaturePoint__29($2))); +} + +function setProjectionNearPlane($0, $1) { + $0 = $0 | 0; + $1 = +$1; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f64$0 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 8 | 0, $2)) { + wasm2js_i32$0 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 12 | 0), + wasm2js_f64$0 = $1, HEAPF64[wasm2js_i32$0 + 312 >> 3] = wasm2js_f64$0; + } + __stack_pointer = $2 + 16 | 0; +} + +function setProjectionFarPlane($0, $1) { + $0 = $0 | 0; + $1 = +$1; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_f64$0 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 8 | 0, $2)) { + wasm2js_i32$0 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 12 | 0), + wasm2js_f64$0 = $1, HEAPF64[wasm2js_i32$0 + 320 >> 3] = wasm2js_f64$0; + } + __stack_pointer = $2 + 16 | 0; +} + +function std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______unordered_map_28_29($0) { + $0 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________hash_table_28_29($0); + void_20std____2____debug_db_insert_c_std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______28std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______29($0); + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29__SaveTemplateParams___SaveTemplateParams_28_29($0) { + var $1 = 0, $2 = 0; + $1 = $0 + 4 | 0; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___operator__28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul____29(HEAP32[$0 >> 2] + 332 | 0, $1); + $2 = $0 + 32 | 0; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___operator__28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____29(HEAP32[$0 >> 2] + 288 | 0, $2); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____PODSmallVector_28_29($2); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul____PODSmallVector_28_29($1); + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___AbstractManglingParser_28char_20const__2c_20char_20const__29($0, $1, $2) { + HEAP32[$0 + 4 >> 2] = $2; + HEAP32[$0 >> 2] = $1; + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___PODSmallVector_28_29($0 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___PODSmallVector_28_29($0 + 148 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___PODSmallVector_28_29($0 + 288 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___PODSmallVector_28_29($0 + 332 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___PODSmallVector_28_29($0 + 360 | 0); + HEAP32[$0 + 396 >> 2] = 0; + HEAP32[$0 + 400 >> 2] = 0; + HEAP32[$0 + 392 >> 2] = -1; + HEAP16[$0 + 388 >> 1] = 1; + HEAP32[$0 + 404 >> 2] = 0; + $28anonymous_20namespace_29__DefaultAllocator__DefaultAllocator_28_29($0 + 408 | 0); + return $0; +} + +function getThresholdMode($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + $0 = arGetLabelingThreshMode(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 216 >> 2], $1 + 8 | 0); + $0 = $0 ? -1 : HEAP32[$1 + 8 >> 2]; + } + __stack_pointer = $1 + 16 | 0; + return $0 | 0; +} + +function std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____find_28unsigned_20int_20const__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = HEAP32[std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____29($2 + 8 | 0, std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____find_unsigned_20int__28unsigned_20int_20const__29($0, $1)) >> 2]; + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function wchar_t__20std____2__copy_std____2____wrap_iter_wchar_t_20const___2c_20wchar_t___28std____2____wrap_iter_wchar_t_20const___2c_20std____2____wrap_iter_wchar_t_20const___2c_20wchar_t__29($0, $1, $2) { + return wchar_t__20std____2____rewrap_iter_wchar_t___28wchar_t__2c_20wchar_t__29($2, std____2__enable_if_is_same_std____2__remove_const_wchar_t_20const___type_2c_20wchar_t___value_20___20is_trivially_copy_assignable_wchar_t___value_2c_20wchar_t____type_20std____2____copy_wchar_t_20const_2c_20wchar_t__28wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t__29(decltype_28std____2____unwrap_iter_impl_std____2____wrap_iter_wchar_t_20const___2c_20true_____apply_28declval_std____2____wrap_iter_wchar_t_20const____28_29_29_29_20std____2____unwrap_iter_std____2____wrap_iter_wchar_t_20const___2c_20std____2____unwrap_iter_impl_std____2____wrap_iter_wchar_t_20const___2c_20true___28std____2____wrap_iter_wchar_t_20const___29($0), decltype_28std____2____unwrap_iter_impl_std____2____wrap_iter_wchar_t_20const___2c_20true_____apply_28declval_std____2____wrap_iter_wchar_t_20const____28_29_29_29_20std____2____unwrap_iter_std____2____wrap_iter_wchar_t_20const___2c_20std____2____unwrap_iter_impl_std____2____wrap_iter_wchar_t_20const___2c_20true___28std____2____wrap_iter_wchar_t_20const___29($1), decltype_28std____2____unwrap_iter_impl_wchar_t__2c_20true_____apply_28declval_wchar_t___28_29_29_29_20std____2____unwrap_iter_wchar_t__2c_20std____2____unwrap_iter_impl_wchar_t__2c_20true___28wchar_t__29($2))); +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______unique_ptr_true_2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______2c_20true_____good_rval_ref_type_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______28std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______29($0, $3 + 12 | 0, $2); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function getImageProcMode($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + $0 = arGetImageProcMode(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 216 >> 2], $1 + 8 | 0); + $0 = $0 ? -1 : HEAP32[$1 + 8 >> 2]; + } + __stack_pointer = $1 + 16 | 0; + return $0 | 0; +} + +function getLabelingMode($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + $0 = arGetLabelingMode(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 216 >> 2], $1 + 8 | 0); + $0 = $0 ? -1 : HEAP32[$1 + 8 >> 2]; + } + __stack_pointer = $1 + 16 | 0; + return $0 | 0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______begin_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______29($1 + 8 | 0, HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______first_28_29($0 + 8 | 0) >> 2]) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function getThreshold($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + $0 = arGetLabelingThresh(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 216 >> 2], $1 + 8 | 0); + $0 = $0 ? -1 : HEAP32[$1 + 8 >> 2]; + } + __stack_pointer = $1 + 16 | 0; + return $0 | 0; +} + +function std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______compressed_pair_std__nullptr_t_2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____28std__nullptr_t___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul___29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____allocate_28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20unsigned_20long_29(std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = ($2 << 2) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 2) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____VisualDatabase_28_29($0) { + var $1 = 0; + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____vector_28_29($0 + 12 | 0); + std____2__shared_ptr_vision__Keyframe_96____shared_ptr_28_29($0 - -64 | 0); + std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______unordered_map_28_29($0 + 72 | 0); + vision__BinomialPyramid32f__BinomialPyramid32f_28_29($0 + 92 | 0); + $1 = vision__DoGScaleInvariantDetector__DoGScaleInvariantDetector_28_29($0 + 160 | 0); + vision__FREAKExtractor__FREAKExtractor_28_29($0 + 316 | 0); + vision__BinaryFeatureMatcher_96___BinaryFeatureMatcher_28_29($0 + 636 | 0); + vision__HoughSimilarityVoting__HoughSimilarityVoting_28_29($0 + 652 | 0); + vision__RobustHomography_float___RobustHomography_28float_2c_20int_2c_20int_2c_20int_29($0 + 788 | 0, Math_fround(.009999999776482582), 1024, 1064, 50); + vision__DoGScaleInvariantDetector__setLaplacianThreshold_28float_29($1, Math_fround(3)); + vision__DoGScaleInvariantDetector__setEdgeThreshold_28float_29($1, Math_fround(4)); + vision__DoGScaleInvariantDetector__setMaxNumFeaturePoints_28unsigned_20long_29($1, 500); + HEAP8[$0 + 8 | 0] = 1; + HEAP32[$0 >> 2] = 8; + HEAP32[$0 + 4 >> 2] = 1077936128; + return $0; +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_white_space_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4) { + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 8 >> 2] = $2; + while (1) { + label$2: { + if (!bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($1, $0 + 8 | 0)) { + break label$2; + } + if (!std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($4, 1, std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($1))) { + break label$2; + } + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($1); + continue; + } + break; + } + if (bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($1, $0 + 8 | 0)) { + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | 2; + } + __stack_pointer = $0 + 16 | 0; +} + +function getMatrixCodeType($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + arGetMatrixCodeType(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 216 >> 2], $1 + 8 | 0); + $0 = HEAP32[$1 + 8 >> 2]; + } + __stack_pointer = $1 + 16 | 0; + return $0 | 0; +} + +function setup($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 48 | 0; + __stack_pointer = $4; + $3 = HEAP32[19596]; + HEAP32[19596] = $3 + 1; + HEAP32[$4 + 44 >> 2] = $3; + $3 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $4 + 44 | 0); + $5 = HEAP32[$4 + 44 >> 2]; + HEAP32[$3 + 212 >> 2] = $1; + HEAP32[$3 + 208 >> 2] = $0; + HEAP32[$3 >> 2] = $5; + $1 = Math_imul($0, $1); + $0 = $1 << 2; + HEAP32[$3 + 200 >> 2] = $0; + wasm2js_i32$0 = $3, wasm2js_i32$1 = dlmalloc($0), HEAP32[wasm2js_i32$0 + 196 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $3, wasm2js_i32$1 = dlmalloc($1), HEAP32[wasm2js_i32$0 + 204 >> 2] = wasm2js_i32$1; + $1 = arPattCreateHandle(); + HEAP32[$3 + 220 >> 2] = $1; + if (!$1) { + arLog(0, 3, 39365, 0); + } + setCamera(HEAP32[$4 + 44 >> 2], $2); + HEAP32[$4 + 32 >> 2] = HEAP32[$3 + 200 >> 2]; + arLog(0, 1, 38701, $4 + 32 | 0); + $1 = HEAP32[$3 >> 2]; + $0 = HEAP32[$3 + 196 >> 2]; + $2 = HEAP32[$3 + 200 >> 2]; + HEAP32[$4 + 20 >> 2] = HEAP32[$3 + 204 >> 2]; + HEAP32[$4 + 16 >> 2] = 78288; + HEAP32[$4 + 12 >> 2] = $3 + 344; + HEAP32[$4 + 8 >> 2] = $2; + HEAP32[$4 + 4 >> 2] = $0; + HEAP32[$4 >> 2] = $1; + emscripten_asm_const_int(77658, 40130, $4 | 0) | 0; + __stack_pointer = $4 + 48 | 0; + $3 = HEAP32[$3 >> 2]; + return $3 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___reserve_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___size_28_29_20const($0); + label$1: { + label$2: { + if ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___isInline_28_29_20const($0)) { + $2 = dlmalloc($1 << 2); + if (!$2) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___20std____2__copy__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference____28_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___29(HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + HEAP32[$0 >> 2] = $2; + break label$2; + } + $2 = dlrealloc(HEAP32[$0 >> 2], $1 << 2); + HEAP32[$0 >> 2] = $2; + if (!$2) { + break label$1; + } + } + HEAP32[$0 + 8 >> 2] = ($1 << 2) + $2; + HEAP32[$0 + 4 >> 2] = ($3 << 2) + $2; + return; + } + std__terminate_28_29(); + abort(); } -function __ZNK6vision9Exception4whatEv(i1) { - i1 = i1 | 0; - i1 = i1 + 4 | 0; - if ((HEAP8[i1 + 11 >> 0] | 0) < 0) i1 = HEAP32[i1 >> 2] | 0; - return i1 | 0; +function $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $4 = 1; + while (1) { + if (HEAP32[$0 + 4 >> 2] != ($5 | 0)) { + $7 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__getCurrentPosition_28_29_20const($1); + if (!($4 & 1)) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38430); + $6 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $6; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + } + $6 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__getCurrentPosition_28_29_20const($1); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[HEAP32[$0 >> 2] + ($5 << 2) >> 2], $1); + $3 = 0; + $5 = $5 + 1 | 0; + if (($28anonymous_20namespace_29__itanium_demangle__OutputBuffer__getCurrentPosition_28_29_20const($1) | 0) == ($6 | 0)) { + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__setCurrentPosition_28unsigned_20long_29($1, $7); + $3 = $4; + } + $4 = $3; + continue; + } + break; + } + __stack_pointer = $2 + 16 | 0; +} + +function loadNFTMarker($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 80 | 0; + __stack_pointer = $3; + $4 = HEAP32[$0 + 232 >> 2]; + wasm2js_i32$0 = $0, wasm2js_i32$1 = trackingInit($4), HEAP32[wasm2js_i32$0 + 240 >> 2] = wasm2js_i32$1; + HEAP32[$3 + 76 >> 2] = 0; + HEAP32[$3 + 64 >> 2] = $2; + arLog(0, 1, 38768, $3 - -64 | 0); + label$1: { + label$2: { + if ((kpmLoadRefDataSet($2, 37523, $3 + 72 | 0) | 0) < 0) { + HEAP32[$3 >> 2] = $2; + arLog(0, 3, 38730, $3); + break label$2; + } + HEAP32[$3 + 48 >> 2] = $1; + arLog(0, 1, 39704, $3 + 48 | 0); + if ((kpmChangePageNoOfRefDataSet(HEAP32[$3 + 72 >> 2], -1, $1) | 0) < 0) { + arLog(0, 3, 38523, 0); + break label$2; + } + if ((kpmMergeRefDataSet($3 + 76 | 0, $3 + 72 | 0) | 0) < 0) { + arLog(0, 3, 38559, 0); + break label$2; + } + arLog(0, 1, 39258, 0); + HEAP32[$3 + 32 >> 2] = $2; + arLog(0, 1, 38481, $3 + 32 | 0); + $5 = ($1 << 2) + $0 | 0; + $0 = ar2ReadSurfaceSet($2, 29695, 0); + HEAP32[$5 + 272 >> 2] = $0; + if (!$0) { + HEAP32[$3 + 16 >> 2] = $2; + arLog(0, 3, 38448, $3 + 16 | 0); + } + arLog(0, 1, 39258, 0); + if (($1 | 0) == 10) { + break label$1; + } + if ((kpmSetRefDataSet($4, HEAP32[$3 + 76 >> 2]) | 0) < 0) { + arLog(0, 3, 38498, 0); + break label$2; + } + kpmDeleteRefDataSet($3 + 76 | 0); + $6 = 1; + arLog(0, 1, 39189, 0); + } + __stack_pointer = $3 + 80 | 0; + return $6; + } + exit(-1); + abort(); } -function __ZN6vision10CopyVectorIiEEvPT_PKS1_m(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - _memcpy(i1 | 0, i2 | 0, i3 << 2 | 0) | 0; - return; +function getDebugMode($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = 0; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + arGetDebugMode(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 216 >> 2], $1 + 8 | 0); + $0 = HEAP32[$1 + 8 >> 2]; + } + __stack_pointer = $1 + 16 | 0; + return $0 | 0; +} + +function arMatrixPCA($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $6 = -1; + $7 = HEAP32[$0 + 4 >> 2]; + label$1: { + if (($7 | 0) < 2) { + break label$1; + } + $4 = HEAP32[$0 + 8 >> 2]; + if (($4 | 0) < 2 | HEAP32[$1 + 8 >> 2] != ($4 | 0)) { + break label$1; + } + $5 = ($4 | 0) > ($7 | 0) ? $7 : $4; + if (($5 | 0) != HEAP32[$1 + 4 >> 2] | HEAP32[$2 + 4 >> 2] != ($5 | 0) | HEAP32[$3 + 4 >> 2] != ($4 | 0)) { + break label$1; + } + $5 = arMatrixAllocDup($0); + if (!$5) { + break label$1; + } + label$2: { + if ((EX($5, $3) | 0) < 0) { + break label$2; + } + if ((CENTER($5, $3) | 0) < 0) { + break label$2; + } + $8 = Math_sqrt(+($7 | 0)); + $0 = 0; + $6 = Math_imul($4, $7); + $4 = ($6 | 0) > 0 ? $6 : 0; + while (1) { + if (($0 | 0) != ($4 | 0)) { + $6 = HEAP32[$5 >> 2] + ($0 << 3) | 0; + HEAPF64[$6 >> 3] = HEAPF64[$6 >> 3] / $8; + $0 = $0 + 1 | 0; + continue; + } + break; + } + $6 = PCA($5, $1, $2); + arMatrixFree($5); + $0 = 0; + $4 = HEAP32[$2 + 4 >> 2]; + $1 = ($4 | 0) > 0 ? $4 : 0; + $8 = 0; + $4 = 0; + while (1) if (($1 | 0) == ($4 | 0)) { + while (1) { + if (($0 | 0) == ($1 | 0)) { + break label$1; + } + $4 = HEAP32[$2 >> 2] + ($0 << 3) | 0; + HEAPF64[$4 >> 3] = HEAPF64[$4 >> 3] / $8; + $0 = $0 + 1 | 0; + continue; + } + } else { + $8 = $8 + HEAPF64[HEAP32[$2 >> 2] + ($4 << 3) >> 3]; + $4 = $4 + 1 | 0; + continue; + } + } + arMatrixFree($5); + } + return $6; +} + +function $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 28); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37963); + $1 = HEAP32[$1 >> 2]; + $6 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 37866); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $5; + $3 = $6; + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__EnclosingExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 8 | 0, $1, $2); + __stack_pointer = $2 + 32 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 28); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37912); + $1 = HEAP32[$1 >> 2]; + $6 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 37866); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $5; + $3 = $6; + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__EnclosingExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2 + 8 | 0, $1, $2); + __stack_pointer = $2 + 32 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbiTagAttr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $4 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$4 >> 2] + 16 >> 2]]($4, $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37317); + $4 = HEAP32[$3 >> 2]; + $3 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $4 = HEAP32[$0 + 16 >> 2]; + $3 = $0; + $3 = HEAP32[$3 + 12 >> 2]; + HEAP32[$2 + 8 >> 2] = $3; + HEAP32[$2 + 12 >> 2] = $4; + HEAP32[$2 + 32 >> 2] = $3; + HEAP32[$2 + 36 >> 2] = $4; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 34409); + $4 = HEAP32[$3 >> 2]; + $3 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 48 | 0; +} + +function getMarkerNum($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = 74268; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + $0 = HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 216 >> 2] + 44 | 0; + } + __stack_pointer = $1 + 16 | 0; + $0 = HEAP32[$0 >> 2]; + return $0 | 0; +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____swap_28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____29($0, $1) { + std____2__enable_if_is_move_constructible_vision__match_t____value_20___20is_move_assignable_vision__match_t____value_2c_20void___type_20std____2__swap_vision__match_t___28vision__match_t___2c_20vision__match_t___29($0, $1); + std____2__enable_if_is_move_constructible_vision__match_t____value_20___20is_move_assignable_vision__match_t____value_2c_20void___type_20std____2__swap_vision__match_t___28vision__match_t___2c_20vision__match_t___29($0 + 4 | 0, $1 + 4 | 0); + std____2__enable_if_is_move_constructible_vision__match_t____value_20___20is_move_assignable_vision__match_t____value_2c_20void___type_20std____2__swap_vision__match_t___28vision__match_t___2c_20vision__match_t___29(std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______end_cap_28_29($0), std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______end_cap_28_29($1)); + void_20std____2____swap_allocator_std____2__allocator_vision__match_t___28std____2__allocator_vision__match_t___2c_20std____2__allocator_vision__match_t___2c_20std____2__integral_constant_bool_2c_20false__29(std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29($0), std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29($1)); +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______release_28_29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $1; +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______29($0, $1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20unsigned_20long_29(std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___________alloc_28_29($0), $1, HEAP32[std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________size_28_29($0) >> 2]); +} + +function std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char______compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char___28std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char_____2c_20std____2__allocator_unsigned_20char____29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_20void__28std____2__allocator_unsigned_20char____29(std____2____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_200_2c_20false_____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20void__28std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char_____29($0, $1), $2); +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______reserve_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + label$1: { + if (std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______capacity_28_29_20const($0) >>> 0 < $1 >>> 0) { + if (std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______max_size_28_29_20const($0) >>> 0 < $1 >>> 0) { + break label$1; + } + $3 = std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________alloc_28_29($0); + $1 = std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__Node_96_____29($2 + 8 | 0, $1, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______size_28_29_20const($0), $3); + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________swap_out_circular_buffer_28std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______29($0, $1); + std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96__________split_buffer_28_29($1); + } + __stack_pointer = $2 + 32 | 0; + return; + } + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________throw_length_error_28_29_20const($0); + abort(); } -function __ZN6vision10CopyVectorIfEEvPT_PKS1_m(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - _memcpy(i1 | 0, i2 | 0, i3 << 2 | 0) | 0; - return; +function getProcessingImage($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = 0; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + $0 = HEAP32[HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 216 >> 2] + 4834148 >> 2]; + } + __stack_pointer = $1 + 16 | 0; + return $0 | 0; +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($4 | 0)) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____construct_std____2__locale__facet__2c_20void_2c_20void__28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20std____2__locale__facet___29(std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______alloc_28_29($0), std____2__locale__facet___20std____2____to_address_std____2__locale__facet___28std____2__locale__facet___29($1)); + $1 = $1 + 4 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; + } } -function b10(i1, i2, i3, i4, i5, d6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - d6 = +d6; - nullFunc_iiiiiid(10); - return 0; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_time_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const($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, $9 = 0; + $7 = __stack_pointer - 32 | 0; + __stack_pointer = $7; + $6 = HEAP32[14499]; + $8 = HEAP32[14498]; + HEAP32[$7 + 24 >> 2] = $8; + HEAP32[$7 + 28 >> 2] = $6; + $8 = HEAP32[14497]; + $6 = HEAP32[14496]; + $9 = $6; + $6 = $7; + HEAP32[$6 + 16 >> 2] = $9; + HEAP32[$6 + 20 >> 2] = $8; + $6 = HEAP32[14495]; + $8 = HEAP32[14494]; + HEAP32[$7 + 8 >> 2] = $8; + HEAP32[$7 + 12 >> 2] = $6; + $8 = HEAP32[14493]; + $6 = HEAP32[14492]; + $9 = $6; + $6 = $7; + HEAP32[$6 >> 2] = $9; + HEAP32[$6 + 4 >> 2] = $8; + $5 = std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3, $4, $5, $6, $6 + 32 | 0); + __stack_pointer = $6 + 32 | 0; + return $5 | 0; +} + +function ycck_cmyk_convert($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0; + if (($4 | 0) > 0) { + $6 = HEAP32[$0 + 336 >> 2]; + $8 = HEAP32[$0 + 112 >> 2]; + $0 = HEAP32[$0 + 480 >> 2]; + $11 = HEAP32[$0 + 20 >> 2]; + $12 = HEAP32[$0 + 16 >> 2]; + $13 = HEAP32[$0 + 12 >> 2]; + $14 = HEAP32[$0 + 8 >> 2]; + while (1) { + $9 = $4; + if ($8) { + $4 = $2 << 2; + $15 = HEAP32[$4 + HEAP32[$1 + 12 >> 2] >> 2]; + $16 = HEAP32[HEAP32[$1 + 8 >> 2] + $4 >> 2]; + $17 = HEAP32[HEAP32[$1 + 4 >> 2] + $4 >> 2]; + $18 = HEAP32[HEAP32[$1 >> 2] + $4 >> 2]; + $4 = HEAP32[$3 >> 2]; + $0 = 0; + while (1) { + $5 = HEAPU8[$0 + $17 | 0]; + $7 = HEAPU8[$0 + $18 | 0] ^ 255; + $10 = HEAPU8[$0 + $16 | 0] << 2; + HEAP8[$4 | 0] = HEAPU8[($7 - HEAP32[$10 + $14 >> 2] | 0) + $6 | 0]; + $5 = $5 << 2; + HEAP8[$4 + 1 | 0] = HEAPU8[($7 - (HEAP32[$12 + $10 >> 2] + HEAP32[$11 + $5 >> 2] >> 16) | 0) + $6 | 0]; + HEAP8[$4 + 2 | 0] = HEAPU8[($7 - HEAP32[$5 + $13 >> 2] | 0) + $6 | 0]; + HEAP8[$4 + 3 | 0] = HEAPU8[$0 + $15 | 0]; + $4 = $4 + 4 | 0; + $0 = $0 + 1 | 0; + if (($8 | 0) != ($0 | 0)) { + continue; + } + break; + } + } + $3 = $3 + 4 | 0; + $2 = $2 + 1 | 0; + $4 = $9 - 1 | 0; + if (($9 | 0) >= 2) { + continue; + } + break; + } + } } -function _wcslen(i2) { - i2 = i2 | 0; - var i1 = 0; - i1 = i2; - while (1) if (!(HEAP32[i1 >> 2] | 0)) break; else i1 = i1 + 4 | 0; - return i1 - i2 >> 2 | 0; +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____xsgetn_28char__2c_20long_29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + while (1) { + label$2: { + if (($2 | 0) <= ($5 | 0)) { + break label$2; + } + $3 = HEAP32[$0 + 12 >> 2]; + $6 = HEAP32[$0 + 16 >> 2]; + label$3: { + if ($3 >>> 0 < $6 >>> 0) { + HEAP32[$4 + 12 >> 2] = 2147483647; + HEAP32[$4 + 8 >> 2] = $6 - $3; + HEAP32[$4 + 4 >> 2] = $2 - $5; + $3 = long_20const__20std____2__min_long__28long_20const__2c_20long_20const__29($4 + 12 | 0, long_20const__20std____2__min_long__28long_20const__2c_20long_20const__29($4 + 8 | 0, $4 + 4 | 0)); + $3 = HEAP32[$3 >> 2]; + std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29($1, HEAP32[$0 + 12 >> 2], $3); + std____2__basic_streambuf_char_2c_20std____2__char_traits_char____gbump_28int_29($0, $3); + break label$3; + } + $3 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 40 >> 2]]($0) | 0; + if (($3 | 0) == -1) { + break label$2; + } + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__char_traits_char___to_char_type_28int_29($3), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + $3 = 1; + } + $1 = $1 + $3 | 0; + $5 = $3 + $5 | 0; + continue; + } + break; + } + __stack_pointer = $4 + 16 | 0; + return $5 | 0; } -function ___cxx_global_var_init() { - HEAP32[14044] = 0; - HEAP32[14045] = 0; - HEAP32[14046] = 0; - HEAP32[14047] = 0; - HEAP32[14048] = 1065353216; - return; -} - -function __ZNSt3__28ios_base33__set_badbit_and_consider_rethrowEv(i1) { - i1 = i1 | 0; - i1 = i1 + 16 | 0; - HEAP32[i1 >> 2] = HEAP32[i1 >> 2] | 1; - return; -} - -function __ZNSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE21__on_zero_shared_weakEv(i1) { - i1 = i1 | 0; - __ZdlPv(i1); - return; -} - -function __ZN6vision28BinaryHierarchicalClusteringILi96EE16setMaxNodesToPopEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 + 104 >> 2] = i2; - return; -} - -function __ZNSt3__26locale5__imp12make_classicEv() { - __ZNSt3__212_GLOBAL__N_14makeINS_6locale5__impEjEERT_T0_(); - HEAP32[14563] = 55984; - return 58252; +function bool_20std____2____nth_element_find_guard_std____2__greater_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 8 >> 2] = $2; + while (1) { + $2 = bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_1($0, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29($1)); + if (!$2) { + if (!std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($3, std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($1), std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($4 + 8 | 0))) { + continue; + } + } + break; + } + __stack_pointer = $4 + 16 | 0; + return $2 ^ 1; +} + +function void_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______construct_one_at_end_vision__PriorityQueueItem_96__20const___28vision__PriorityQueueItem_96__20const__29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______ConstructTransaction___ConstructTransaction_28std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____2c_20unsigned_20long_29($3, $0, 1); + void_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____construct_vision__PriorityQueueItem_96__2c_20vision__PriorityQueueItem_96__20const__2c_20void__28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96__20const__29(std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______alloc_28_29($0), vision__PriorityQueueItem_96___20std____2____to_address_vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___29(HEAP32[$2 + 4 >> 2]), $1); + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 8; + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; +} + +function setMatrixCodeType($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $0; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $2 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($2 + 8 | 0, $2)) { + arSetMatrixCodeType(HEAP32[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $2 + 12 | 0) + 216 >> 2], $1); + } + __stack_pointer = $2 + 16 | 0; +} + +function getProjectionNearPlane($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = -1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + $2 = HEAPF64[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 312 >> 3]; + } + __stack_pointer = $1 + 16 | 0; + return +$2; +} + +function $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b10_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b10_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 28); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 24 | 0, $1); + $2 = HEAP32[$2 >> 2]; + $5 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 16 | 0, 37866); + $4 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$3 + 8 >> 2] = $1; + HEAP32[$3 + 12 >> 2] = $4; + $1 = HEAP32[$5 + 4 >> 2]; + $4 = HEAP32[$5 >> 2]; + HEAP32[$3 >> 2] = $4; + HEAP32[$3 + 4 >> 2] = $1; + $2 = $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__EnclosingExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $3 + 8 | 0, $2, $3); + __stack_pointer = $3 + 32 | 0; + return $2; +} + +function getProjectionFarPlane($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = -1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + $2 = HEAPF64[std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0) + 320 >> 3]; + } + __stack_pointer = $1 + 16 | 0; + return +$2; +} + +function $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 28); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 24 | 0, $1); + $2 = HEAP32[$2 >> 2]; + $5 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 16 | 0, 37866); + $4 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$3 + 8 >> 2] = $1; + HEAP32[$3 + 12 >> 2] = $4; + $1 = HEAP32[$5 + 4 >> 2]; + $4 = HEAP32[$5 >> 2]; + HEAP32[$3 >> 2] = $4; + HEAP32[$3 + 4 >> 2] = $1; + $2 = $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__EnclosingExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $3 + 8 | 0, $2, $3); + __stack_pointer = $3 + 32 | 0; + return $2; +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_percent_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4) { + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 8 >> 2] = $2; + $2 = 6; + label$1: { + label$2: { + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($1, $0 + 8 | 0)) { + break label$2; + } + $2 = 4; + if ((std____2__ctype_char___narrow_28char_2c_20char_29_20const($4, std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($1), 0) | 0) != 37) { + break label$2; + } + $2 = 2; + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1(std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($1), $0 + 8 | 0)) { + break label$1; + } + } + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | $2; + } + __stack_pointer = $0 + 16 | 0; +} +function std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________capacity_28_29_20const($0) { + return (HEAP32[std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] | 0) / 12 | 0; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____xsputn_28wchar_t_20const__2c_20long_29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_i32$2 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $7 = std____2__char_traits_wchar_t___eof_28_29(); + while (1) { + label$2: { + if (($2 | 0) <= ($5 | 0)) { + break label$2; + } + $3 = HEAP32[$0 + 24 >> 2]; + $6 = HEAP32[$0 + 28 >> 2]; + if ($3 >>> 0 >= $6 >>> 0) { + if (((wasm2js_i32$1 = $0, wasm2js_i32$2 = std____2__char_traits_wchar_t___to_int_type_28wchar_t_29(HEAP32[$1 >> 2]), + wasm2js_i32$0 = HEAP32[HEAP32[$0 >> 2] + 52 >> 2], FUNCTION_TABLE[wasm2js_i32$0](wasm2js_i32$1 | 0, wasm2js_i32$2 | 0) | 0) | 0) == ($7 | 0)) { + break label$2; + } + $5 = $5 + 1 | 0; + $1 = $1 + 4 | 0; + } else { + HEAP32[$4 + 12 >> 2] = $6 - $3 >> 2; + HEAP32[$4 + 8 >> 2] = $2 - $5; + $3 = long_20const__20std____2__min_long__28long_20const__2c_20long_20const__29($4 + 12 | 0, $4 + 8 | 0); + $3 = HEAP32[$3 >> 2]; + std____2__char_traits_wchar_t___copy_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29(HEAP32[$0 + 24 >> 2], $1, $3); + $6 = $3 << 2; + HEAP32[$0 + 24 >> 2] = $6 + HEAP32[$0 + 24 >> 2]; + $5 = $5 + $3 | 0; + $1 = $1 + $6 | 0; + } + continue; + } + break; + } + __stack_pointer = $4 + 16 | 0; + return $5 | 0; +} + +function jpeg_resync_to_restart($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = HEAP32[$0 >> 2]; + $2 = HEAP32[$0 + 440 >> 2]; + HEAP32[$3 + 24 >> 2] = $2; + HEAP32[$3 + 20 >> 2] = 124; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = $1; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, -1); + $4 = $1 + 6 & 7 | 208; + $5 = $1 - 1 & 7 | 208; + $6 = $1 + 2 & 7 | 208; + $3 = $1 + 1 & 7 | 208; + while (1) { + label$2: { + label$3: { + if (($2 | 0) < 192) { + break label$3; + } + if (($2 | 0) == ($3 | 0) | $2 - 216 >>> 0 < 4294967288 | ($2 | 0) == ($6 | 0)) { + break label$2; + } + if (($2 | 0) == ($5 | 0) | ($2 | 0) == ($4 | 0)) { + break label$3; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $2; + HEAP32[$1 + 20 >> 2] = 99; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = 1; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 4); + HEAP32[$0 + 440 >> 2] = 0; + return 1; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $2; + HEAP32[$1 + 20 >> 2] = 99; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = 2; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 4); + if (next_marker($0)) { + $2 = HEAP32[$0 + 440 >> 2]; + continue; + } else { + return 0; + } + } + break; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $2; + HEAP32[$1 + 20 >> 2] = 99; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = 3; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 4); + return 1; } -function __ZNK6vision18BinaryFeatureStore4sizeEv(i1) { - i1 = i1 | 0; - return ((HEAP32[i1 + 20 >> 2] | 0) - (HEAP32[i1 + 16 >> 2] | 0) | 0) / 20 | 0 | 0; -} +function arSetPixelFormat($0, $1) { + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = -1; + label$1: { + if (!$0) { + break label$1; + } + $3 = 0; + if (HEAP32[$0 + 4 >> 2] == ($1 | 0)) { + break label$1; + } + label$2: { + label$3: { + label$4: { + label$5: { + label$6: { + if ($1 >>> 0 <= 14) { + if (1 << $1 & 4063) { + break label$6; + } + HEAP32[$0 + 4 >> 2] = $1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = arUtilGetPixelSize($1), HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + switch (HEAP32[$0 + 24 >> 2]) { + case 3: + break label$4; -function b4(i1, d2, i3, i4, i5, i6) { - i1 = i1 | 0; - d2 = +d2; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - nullFunc_iidiiii(4); - return 0; -} + case 0: + break label$5; -function _kpmCreateHandle(i1) { - i1 = i1 | 0; - return __ZL19kpmCreateHandleCoreP9ARParamLTiii(i1, HEAP32[i1 >> 2] | 0, HEAP32[i1 + 4 >> 2] | 0, 1) | 0; -} + default: + break label$1; + } + } + HEAP32[$2 >> 2] = $1; + arLog(0, 3, 8e3, $2); + $3 = -1; + break label$1; + } + HEAP32[$0 + 4 >> 2] = $1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = arUtilGetPixelSize($1), HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + switch (HEAP32[$0 + 24 >> 2] - 1 | 0) { + case 3: + break label$2; -function __ZNSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE21__on_zero_shared_weakEv(i1) { - i1 = i1 | 0; - __ZdlPv(i1); - return; -} + case 0: + break label$3; -function __ZN6vision10CauchyCostIfEET_S1_S1_S1_(d1, d2, d3) { - d1 = +d1; - d2 = +d2; - d3 = +d3; - return +(+Math_log(+((d1 * d1 + d2 * d2) * d3 + 1.0))); + default: + break label$1; + } + } + HEAP32[$0 + 24 >> 2] = 1; + break label$1; + } + HEAP32[$0 + 24 >> 2] = 4; + break label$1; + } + HEAP32[$0 + 24 >> 2] = 4; + break label$1; + } + HEAP32[$0 + 24 >> 2] = 3; + } + __stack_pointer = $2 + 16 | 0; + return $3; } -function __ZNKSt3__26vectorIN10__cxxabiv112_GLOBAL__N_111string_pairENS2_11short_allocIS3_Lm4096EEEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 178956970; +function $28anonymous_20namespace_29__itanium_demangle__PointerType__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = HEAP32[$0 + 8 >> 2]; + label$1: { + if (($28anonymous_20namespace_29__itanium_demangle__Node__getKind_28_29_20const($2) | 0) == 10) { + if ($28anonymous_20namespace_29__itanium_demangle__ObjCProtoName__isObjCObject_28_29_20const($2)) { + break label$1; + } + $2 = HEAP32[$0 + 8 >> 2]; + } + label$3: { + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasArray_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($2, $1)) { + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasFunction_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1)) { + break label$3; + } + } + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 8 | 0, 37866); + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$3 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$3 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $3); + } + $0 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1); + } + __stack_pointer = $3 + 16 | 0; } -function __ZN6vision15HammingDistanceILi96EEEjPKhS2_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return __ZN6vision18HammingDistance768EPKjS1_(i1, i2) | 0; +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int______ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($4 | 0)) { + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int______ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____construct_std____2__pair_float_2c_20int__2c_20void__28std____2__allocator_std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int___29(std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______alloc_28_29($0), std____2__pair_float_2c_20int___20std____2____to_address_std____2__pair_float_2c_20int___28std____2__pair_float_2c_20int___29($1)); + $1 = $1 + 8 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; + } } -function dynCall_viii(i4, i1, i2, i3) { - i4 = i4 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - FUNCTION_TABLE_viii[i4 & 3](i1 | 0, i2 | 0, i3 | 0); -} +function std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_std____2__pair_float_2c_20int____29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int________compressed_pair_std__nullptr_t_2c_20std____2__allocator_std____2__pair_float_2c_20int_____28std__nullptr_t___2c_20std____2__allocator_std____2__pair_float_2c_20int____29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____allocate_28std____2__allocator_std____2__pair_float_2c_20int____2c_20unsigned_20long_29(std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = ($2 << 3) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 3) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function std____2__vector_int_2c_20std____2__allocator_int______append_28unsigned_20long_2c_20int_20const__29($0, $1, $2) { + var $3 = 0, $4 = 0; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + label$1: { + if (HEAP32[std____2__vector_int_2c_20std____2__allocator_int______end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] >> 2 >>> 0 >= $1 >>> 0) { + std____2__vector_int_2c_20std____2__allocator_int______construct_at_end_28unsigned_20long_2c_20int_20const__29($0, $1, $2); + break label$1; + } + $3 = std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0); + $3 = std____2____split_buffer_int_2c_20std____2__allocator_int_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_int___29($4 + 8 | 0, std____2__vector_int_2c_20std____2__allocator_int______recommend_28unsigned_20long_29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0) + $1 | 0), std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0), $3); + std____2____split_buffer_int_2c_20std____2__allocator_int_______construct_at_end_28unsigned_20long_2c_20int_20const__29($3, $1, $2); + std____2__vector_int_2c_20std____2__allocator_int______swap_out_circular_buffer_28std____2____split_buffer_int_2c_20std____2__allocator_int_____29($0, $3); + std____2____split_buffer_int_2c_20std____2__allocator_int________split_buffer_28_29($3); + } + __stack_pointer = $4 + 32 | 0; +} + +function std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______begin_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____29($1 + 8 | 0, std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______begin_28_29($0)) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________max_size_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______20const__29($0) { + return std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________max_size_28_29_20const($0); +} + +function __rem_pio2f($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $5 = (wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2)); + $2 = $5 & 2147483647; + label$1: { + if ($2 >>> 0 <= 1305022426) { + $6 = +$0; + $3 = $6 * .6366197723675814 + 6755399441055744 + -6755399441055744; + $7 = $6 + $3 * -1.5707963109016418 + $3 * -1.5893254773528196e-8; + HEAPF64[$1 >> 3] = $7; + $5 = $7 < -.7853981852531433; + if (Math_abs($3) < 2147483648) { + $2 = ~~$3; + } else { + $2 = -2147483648; + } + if ($5) { + $3 = $3 + -1; + HEAPF64[$1 >> 3] = $6 + $3 * -1.5707963109016418 + $3 * -1.5893254773528196e-8; + $2 = $2 - 1 | 0; + break label$1; + } + if (!($7 > .7853981852531433)) { + break label$1; + } + $3 = $3 + 1; + HEAPF64[$1 >> 3] = $6 + $3 * -1.5707963109016418 + $3 * -1.5893254773528196e-8; + $2 = $2 + 1 | 0; + break label$1; + } + if ($2 >>> 0 >= 2139095040) { + HEAPF64[$1 >> 3] = Math_fround($0 - $0); + $2 = 0; + break label$1; + } + $8 = ($2 >>> 23 | 0) - 150 | 0; + HEAPF64[$4 + 8 >> 3] = (wasm2js_scratch_store_i32(2, $2 - ($8 << 23) | 0), wasm2js_scratch_load_f32()); + $2 = __rem_pio2_large($4 + 8 | 0, $4, $8, 1, 0); + $3 = HEAPF64[$4 >> 3]; + if (($5 | 0) < 0) { + HEAPF64[$1 >> 3] = -$3; + $2 = 0 - $2 | 0; + break label$1; + } + HEAPF64[$1 >> 3] = $3; + } + __stack_pointer = $4 + 16 | 0; + return $2; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______begin_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($1 + 8 | 0, HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______first_28_29($0 + 8 | 0) >> 2]) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______end_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____29($1 + 8 | 0, std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______end_28_29($0)) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________capacity_28_29_20const($0) { + return (HEAP32[std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] | 0) / 12 | 0; +} -function __ZN6vision10CopyVectorIhEEvPT_PKS1_m(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - _memcpy(i1 | 0, i2 | 0, i3 | 0) | 0; - return; -} +function bool_20vision__Homography4PointsGeometricallyConsistent_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2, $3, $4, $5, $6, $7) { + var $8 = 0; + label$1: { + if (float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2) > Math_fround(0) ^ float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($4, $5, $6) > Math_fround(0)) { + break label$1; + } + if (float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($1, $2, $3) > Math_fround(0) ^ float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($5, $6, $7) > Math_fround(0)) { + break label$1; + } + if (float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($2, $3, $0) > Math_fround(0) ^ float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($6, $7, $4) > Math_fround(0)) { + break label$1; + } + $8 = !(float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($3, $0, $1) > Math_fround(0) ^ float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($7, $4, $5) > Math_fround(0)); + } + return $8; +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0), std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0) + ($1 << 3) | 0); +} + +function std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______unordered_map_28_29($0) { + $0 = std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________hash_table_28_29($0); + void_20std____2____debug_db_insert_c_std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______28std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______29($0); + return $0; +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0), std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0) + ($1 << 3) | 0, std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____size_28_29_20const($0) << 3) | 0); +} -function __ZN12_GLOBAL__N_114register_floatIfEEvPKc() { - __embind_register_float(__ZN10emscripten8internal6TypeIDIfE3getEv() | 0, 51162, 4); - return; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_monthname_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 8 >> 2] + 4 >> 2]]($0 + 8 | 0) | 0; + $0 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__20std____2____scan_keyword_std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__ctype_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__ctype_wchar_t__20const__2c_20unsigned_20int__2c_20bool_29($2, $3, $0, $0 + 288 | 0, $5, $4, 0) - $0 | 0; + if (($0 | 0) <= 287) { + HEAP32[$1 >> 2] = (($0 | 0) / 12 | 0) % 12; + } +} + +function jinit_memory_mgr($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$0 + 4 >> 2] = 0; + $3 = jpeg_mem_init($0); + HEAP32[$2 + 12 >> 2] = $3; + $1 = jpeg_get_small($0, 84); + if (!$1) { + jpeg_mem_term($0); + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 56; + HEAP32[$4 + 24 >> 2] = 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + HEAP32[$1 + 48 >> 2] = 1e9; + HEAP32[$1 + 40 >> 2] = 206; + HEAP32[$1 + 36 >> 2] = 207; + HEAP32[$1 + 32 >> 2] = 208; + HEAP32[$1 + 28 >> 2] = 209; + HEAP32[$1 + 24 >> 2] = 210; + HEAP32[$1 + 20 >> 2] = 211; + HEAP32[$1 + 16 >> 2] = 212; + HEAP32[$1 + 12 >> 2] = 213; + HEAP32[$1 + 8 >> 2] = 214; + HEAP32[$1 + 4 >> 2] = 215; + HEAP32[$1 >> 2] = 216; + HEAP32[$1 + 52 >> 2] = 0; + HEAP32[$1 + 56 >> 2] = 0; + HEAP32[$1 + 44 >> 2] = $3; + HEAP32[$1 + 76 >> 2] = 84; + HEAP32[$1 + 60 >> 2] = 0; + HEAP32[$1 + 64 >> 2] = 0; + HEAP32[$1 + 68 >> 2] = 0; + HEAP32[$1 + 72 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = $1; + $0 = getenv(35207); + label$2: { + if (!$0) { + break label$2; + } + HEAP8[$2 + 11 | 0] = 120; + HEAP32[$2 >> 2] = $2 + 12; + HEAP32[$2 + 4 >> 2] = $2 + 11; + if ((sscanf($0, 34208, $2) | 0) <= 0) { + break label$2; + } + $0 = HEAP32[$2 + 12 >> 2]; + if ((HEAPU8[$2 + 11 | 0] & 223) == 77) { + $0 = Math_imul($0, 1e3); + HEAP32[$2 + 12 >> 2] = $0; + } + HEAP32[$1 + 44 >> 2] = Math_imul($0, 1e3); + } + __stack_pointer = $2 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NewExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20bool__2c_20bool___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20bool__2c_20bool__29($0, $1, $2, $3, $4, $5) { + return $28anonymous_20namespace_29__itanium_demangle__NewExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NewExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20bool__2c_20bool___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20bool__2c_20bool__29($0 + 408 | 0, $1, $2, $3, $4, $5); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NewExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool__2c_20bool___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20bool__2c_20bool__29($0, $1, $2, $3, $4, $5) { + return $28anonymous_20namespace_29__itanium_demangle__NewExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NewExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool__2c_20bool___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___2c_20bool__2c_20bool__29($0 + 408 | 0, $1, $2, $3, $4, $5); +} + +function std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__PriorityQueueItem_96____29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96________compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__PriorityQueueItem_96_____28std__nullptr_t___2c_20std____2__allocator_vision__PriorityQueueItem_96____29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____allocate_28std____2__allocator_vision__PriorityQueueItem_96____2c_20unsigned_20long_29(std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = ($2 << 3) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 3) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_weekdayname_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 8 >> 2] >> 2]]($0 + 8 | 0) | 0; + $0 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__20std____2____scan_keyword_std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__ctype_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__ctype_wchar_t__20const__2c_20unsigned_20int__2c_20bool_29($2, $3, $0, $0 + 168 | 0, $5, $4, 0) - $0 | 0; + if (($0 | 0) <= 167) { + HEAP32[$1 >> 2] = (($0 | 0) / 12 | 0) % 7; + } +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____append_28unsigned_20long_2c_20char_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + if ($1) { + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($0); + $4 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0); + $6 = $4 + $1 | 0; + if ($3 - $4 >>> 0 < $1 >>> 0) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______grow_by_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_29($0, $3, $6 - $3 | 0, $4, $4, 0, 0); + } + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29($0); + std____2__char_traits_char___assign_28char__2c_20unsigned_20long_2c_20char_29(char__20std____2____to_address_char__28char__29($3) + $4 | 0, $1, $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_size_28unsigned_20long_29($0, $6); + HEAP8[$5 + 15 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($3 + $6 | 0, $5 + 15 | 0); + } + __stack_pointer = $5 + 16 | 0; + return $0; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______ConstructTransaction___ConstructTransaction_28std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($4 | 0)) { + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____construct_vision__PriorityQueueItem_96__2c_20void__28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___29(std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______alloc_28_29($0), vision__PriorityQueueItem_96___20std____2____to_address_vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___29($1)); + $1 = $1 + 8 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; + } } -function __ZN12_GLOBAL__N_114register_floatIdEEvPKc() { - __embind_register_float(__ZN10emscripten8internal6TypeIDIdE3getEv() | 0, 51274, 8); - return; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_white_space_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4) { + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 8 >> 2] = $2; + while (1) { + label$2: { + if (!bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($1, $0 + 8 | 0)) { + break label$2; + } + if (!std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($4, 1, std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($1))) { + break label$2; + } + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($1); + continue; + } + break; + } + if (bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($1, $0 + 8 | 0)) { + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | 2; + } + __stack_pointer = $0 + 16 | 0; +} + +function jinit_marker_reader($0) { + var $1 = 0; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 0, 172) | 0; + HEAP32[$0 + 464 >> 2] = $1; + HEAP32[$1 + 96 >> 2] = 0; + HEAP32[$1 + 100 >> 2] = 0; + HEAP32[$1 + 28 >> 2] = 107; + HEAP32[$1 + 8 >> 2] = 108; + HEAP32[$1 + 4 >> 2] = 109; + HEAP32[$1 >> 2] = 110; + HEAP32[$1 + 104 >> 2] = 0; + HEAP32[$1 + 36 >> 2] = 107; + HEAP32[$1 + 40 >> 2] = 107; + HEAP32[$1 + 108 >> 2] = 0; + HEAP32[$1 + 112 >> 2] = 0; + HEAP32[$1 + 44 >> 2] = 107; + HEAP32[$1 + 48 >> 2] = 107; + HEAP32[$1 + 116 >> 2] = 0; + HEAP32[$1 + 120 >> 2] = 0; + HEAP32[$1 + 52 >> 2] = 107; + HEAP32[$1 + 56 >> 2] = 107; + HEAP32[$1 + 124 >> 2] = 0; + HEAP32[$1 + 128 >> 2] = 0; + HEAP32[$1 + 60 >> 2] = 107; + HEAP32[$1 + 132 >> 2] = 0; + HEAP32[$1 - -64 >> 2] = 107; + HEAP32[$1 + 136 >> 2] = 0; + HEAP32[$1 + 140 >> 2] = 0; + HEAP32[$1 + 68 >> 2] = 107; + HEAP32[$1 + 72 >> 2] = 107; + HEAP32[$1 + 76 >> 2] = 107; + HEAP32[$1 + 80 >> 2] = 107; + HEAP32[$1 + 144 >> 2] = 0; + HEAP32[$1 + 148 >> 2] = 0; + HEAP32[$1 + 84 >> 2] = 107; + HEAP32[$1 + 152 >> 2] = 0; + HEAP32[$1 + 156 >> 2] = 0; + HEAP32[$1 + 160 >> 2] = 0; + HEAP32[$1 + 92 >> 2] = 107; + HEAP32[$1 + 32 >> 2] = 111; + HEAP32[$1 + 88 >> 2] = 111; + HEAP32[$0 + 440 >> 2] = 0; + HEAP32[$0 + 144 >> 2] = 0; + HEAP32[$0 + 216 >> 2] = 0; + $1 = HEAP32[$0 + 464 >> 2]; + HEAP32[$1 + 164 >> 2] = 0; + HEAP32[$1 + 24 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + HEAP32[$1 + 16 >> 2] = 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePositiveInteger_28unsigned_20long__29($0, $1) { + var $2 = 0, $3 = 0; + HEAP32[$1 >> 2] = 0; + label$1: { + $2 = ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) - 58 & 255) >>> 0 < 246; + if ($2) { + break label$1; + } + while (1) { + if (($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) - 48 & 255) >>> 0 > 9) { + break label$1; + } + HEAP32[$1 >> 2] = Math_imul($3, 10); + $3 = ($28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consume_28_29($0) + HEAP32[$1 >> 2] | 0) - 48 | 0; + HEAP32[$1 >> 2] = $3; + continue; + } + } + return $2; } -function _strerror(i1) { - i1 = i1 | 0; - var i2 = 0; - i2 = (___pthread_self_197() | 0) + 188 | 0; - return ___strerror_l(i1, HEAP32[i2 >> 2] | 0) | 0; +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____reserve_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + label$1: { + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____capacity_28_29_20const($0) >>> 0 < $1 >>> 0) { + if (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____max_size_28_29_20const($0) >>> 0 < $1 >>> 0) { + break label$1; + } + $3 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29($0); + $1 = std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__match_t___29($2 + 8 | 0, $1, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0), $3); + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______swap_out_circular_buffer_28std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_____29($0, $1); + std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t________split_buffer_28_29($1); + } + __stack_pointer = $2 + 32 | 0; + return; + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______throw_length_error_28_29_20const($0); + abort(); } -function ___cxa_is_pointer_type(i1) { - i1 = i1 | 0; - if (!i1) i1 = 0; else i1 = (___dynamic_cast(i1, 13232, 13320, 0) | 0) != 0 & 1; - return i1 | 0; +function std____2__vector_float_2c_20std____2__allocator_float______append_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + if (HEAP32[std____2__vector_float_2c_20std____2__allocator_float______end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] >> 2 >>> 0 >= $1 >>> 0) { + std____2__vector_float_2c_20std____2__allocator_float______construct_at_end_28unsigned_20long_29($0, $1); + break label$1; + } + $2 = std____2__vector_float_2c_20std____2__allocator_float______alloc_28_29($0); + $2 = std____2____split_buffer_float_2c_20std____2__allocator_float_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_float___29($3 + 8 | 0, std____2__vector_float_2c_20std____2__allocator_float______recommend_28unsigned_20long_29_20const($0, std____2__vector_float_2c_20std____2__allocator_float____size_28_29_20const($0) + $1 | 0), std____2__vector_float_2c_20std____2__allocator_float____size_28_29_20const($0), $2); + std____2____split_buffer_float_2c_20std____2__allocator_float_______construct_at_end_28unsigned_20long_29($2, $1); + std____2__vector_float_2c_20std____2__allocator_float______swap_out_circular_buffer_28std____2____split_buffer_float_2c_20std____2__allocator_float_____29($0, $2); + std____2____split_buffer_float_2c_20std____2__allocator_float________split_buffer_28_29($2); + } + __stack_pointer = $3 + 32 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SizeofParamPackExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 37898); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion__ParameterPackExpansion_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($2 + 24 | 0, HEAP32[$0 + 8 >> 2]), $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 37866); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 48 | 0; +} + +function std____2__shared_ptr_unsigned_20char___shared_ptr_unsigned_20char_2c_20void__28unsigned_20char__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$0 >> 2] = $1; + $3 = std____2__unique_ptr_unsigned_20char_2c_20std____2__default_delete_unsigned_20char____unique_ptr_true_2c_20void__28unsigned_20char__29($2 + 24 | 0, $1); + $4 = operator_20new_28unsigned_20long_29(16); + std____2__allocator_unsigned_20char___allocator_28_29($2 + 16 | 0); + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char______shared_ptr_pointer_28unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char__29($4, $1), + HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + std____2__unique_ptr_unsigned_20char_2c_20std____2__default_delete_unsigned_20char____release_28_29($3); + HEAP32[$2 + 4 >> 2] = $1; + HEAP32[$2 >> 2] = $1; + std____2__shared_ptr_unsigned_20char_____enable_weak_this_28____29($0, $2); + std____2__unique_ptr_unsigned_20char_2c_20std____2__default_delete_unsigned_20char_____unique_ptr_28_29($3); + __stack_pointer = $2 + 32 | 0; + return $0; +} + +function std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______operator_28_29_28std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____29($0, $1) { + if (HEAPU8[$0 + 4 | 0]) { + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______destroy_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int__2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__pair_unsigned_20int_20const_2c_20unsigned_20int___29(HEAP32[$0 >> 2], std____2____hash_key_value_types_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int______get_ptr_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int___29($1 + 8 | 0)); + } + if ($1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20unsigned_20long_29(HEAP32[$0 >> 2], $1, 1); + } +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseBareSourceName_28_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = 0; + label$1: { + label$2: { + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePositiveInteger_28unsigned_20long__29($1, $2 + 12 | 0)) { + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($1); + $4 = HEAP32[$2 + 12 >> 2]; + if ($3 >>> 0 >= $4 >>> 0) { + break label$2; + } + } + $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28_29($0); + break label$1; + } + $3 = HEAP32[$1 >> 2]; + $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($0, $3, $4 + $3 | 0); + HEAP32[$1 >> 2] = HEAP32[$1 >> 2] + $4; + } + __stack_pointer = $2 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__writeUnsigned_28unsigned_20long_20long_2c_20bool_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $3 = __stack_pointer - 48 | 0; + __stack_pointer = $3; + $4 = $2; + label$1: { + if (!($4 | $1)) { + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29_1($0); + break label$1; + } + $5 = std____2__array_char_2c_2021ul___data_28_29($3 + 24 | 0) + std____2__array_char_2c_2021ul___size_28_29_20const($3 + 24 | 0) | 0; + while (1) { + $4 = $2; + if ($4 | $1) { + $6 = __wasm_i64_udiv($1, $2, 10, 0); + $4 = i64toi32_i32$HIGH_BITS; + $8 = $4; + $7 = __wasm_i64_mul($6, $4, 10, 0); + $4 = i64toi32_i32$HIGH_BITS; + $5 = $5 - 1 | 0; + HEAP8[$5 | 0] = $1 - $7 | 48; + $1 = $6; + $2 = $8; + continue; + } + break; + } + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($3 + 16 | 0, $5, std____2__array_char_2c_2021ul___data_28_29($3 + 24 | 0) + std____2__array_char_2c_2021ul___size_28_29_20const($3 + 24 | 0) | 0); + $2 = HEAP32[$4 >> 2]; + $1 = HEAP32[$4 + 4 >> 2]; + HEAP32[$3 + 8 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $1; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29_1($0, $3 + 8 | 0); + } + __stack_pointer = $3 + 48 | 0; +} + +function bool_20vision__OrthogonalizePivot8x9Basis6_float__28float__2c_20float__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $0 + 216 | 0; + $5 = $0 + 180 | 0; + $4 = $1 + 216 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($3, $5, $4); + $0 = $0 + 252 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($0, $5, $1 + 252 | 0); + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($3), + HEAPF32[wasm2js_i32$0 + 8 >> 2] = wasm2js_f32$0; + wasm2js_i32$0 = $2, wasm2js_f32$0 = float_20vision__SumSquares9_float__28float_20const__29($0), + HEAPF32[wasm2js_i32$0 + 12 >> 2] = wasm2js_f32$0; + $0 = int_20vision__MaxIndex2_float__28float_20const__29($2 + 8 | 0); + $1 = ($2 + 8 | 0) + ($0 << 2) | 0; + $6 = HEAPF32[$1 >> 2]; + if ($6 != Math_fround(0)) { + $0 = Math_imul($0, 36); + void_20vision__Swap9_float__28float__2c_20float__29($3, $3 + $0 | 0); + void_20vision__Swap9_float__28float__2c_20float__29($4, $0 + $4 | 0); + void_20vision__ScaleVector9_float__28float__2c_20float_20const__2c_20float_29($3, $3, Math_fround(Math_fround(1) / sqrt_28float_29(HEAPF32[$1 >> 2]))); + } + __stack_pointer = $2 + 16 | 0; + return $6 != Math_fround(0); +} + +function std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________end_cap_28_29_20const($0) { + return std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________first_28_29_20const($0 + 12 | 0); +} + +function char__20std____2__copy_std____2____wrap_iter_char_20const___2c_20char___28std____2____wrap_iter_char_20const___2c_20std____2____wrap_iter_char_20const___2c_20char__29($0, $1, $2) { + return char__20std____2____rewrap_iter_char___28char__2c_20char__29($2, std____2__enable_if_is_same_std____2__remove_const_char_20const___type_2c_20char___value_20___20is_trivially_copy_assignable_char___value_2c_20char____type_20std____2____copy_char_20const_2c_20char__28char_20const__2c_20char_20const__2c_20char__29(decltype_28std____2____unwrap_iter_impl_std____2____wrap_iter_char_20const___2c_20true_____apply_28declval_std____2____wrap_iter_char_20const____28_29_29_29_20std____2____unwrap_iter_std____2____wrap_iter_char_20const___2c_20std____2____unwrap_iter_impl_std____2____wrap_iter_char_20const___2c_20true___28std____2____wrap_iter_char_20const___29($0), decltype_28std____2____unwrap_iter_impl_std____2____wrap_iter_char_20const___2c_20true_____apply_28declval_std____2____wrap_iter_char_20const____28_29_29_29_20std____2____unwrap_iter_std____2____wrap_iter_char_20const___2c_20std____2____unwrap_iter_impl_std____2____wrap_iter_char_20const___2c_20true___28std____2____wrap_iter_char_20const___29($1), decltype_28std____2____unwrap_iter_impl_char__2c_20true_____apply_28declval_char___28_29_29_29_20std____2____unwrap_iter_char__2c_20std____2____unwrap_iter_impl_char__2c_20true___28char__29($2))); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______29($0, $1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20unsigned_20long_29(std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___________alloc_28_29($0), $1, HEAP32[std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________size_28_29($0) >> 2]); +} + +function emscripten__internal__Invoker_int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____invoke_28int_20_28__29_28int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___29_2c_20int_2c_20emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void____unnamed___29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $1 = emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($1); + emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void___fromWireType_28emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void____unnamed___29($3, $2); + wasm2js_i32$0 = $3, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0]($1, $3) | 0, HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $2 = emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29($3 + 12 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + __stack_pointer = $3 + 16 | 0; + return $2 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__VectorType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 34416); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $0 = HEAP32[$0 + 12 >> 2]; + if ($0) { + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 34409); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 32 | 0; +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________end_cap_28_29_20const($0) { + return std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________first_28_29_20const($0 + 8 | 0); +} + +function detectNFTMarker($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29(77980, $1 + 12 | 0), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29(77980), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if (!std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($1 + 8 | 0, $1)) { + std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____operator_5b_5d_28int_20const__29(77980, $1 + 12 | 0); + } + __stack_pointer = $1 + 16 | 0; + return -1; } -function __ZNKSt3__26vectorIN6vision25DoGScaleInvariantDetector12FeaturePointENS_9allocatorIS3_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 119304647; +function trinkle($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $7 = __stack_pointer - 240 | 0; + __stack_pointer = $7; + $8 = HEAP32[$3 >> 2]; + HEAP32[$7 + 232 >> 2] = $8; + $3 = HEAP32[$3 + 4 >> 2]; + HEAP32[$7 >> 2] = $0; + HEAP32[$7 + 236 >> 2] = $3; + $10 = 1; + label$1: { + label$2: { + label$3: { + if (!(($8 | 0) != 1 | $3)) { + $3 = $0; + break label$3; + } + $11 = 0 - $1 | 0; + $8 = $0; + while (1) { + $9 = ($4 << 2) + $6 | 0; + $3 = $8 - HEAP32[$9 >> 2] | 0; + if ((FUNCTION_TABLE[$2 | 0]($3, $0) | 0) <= 0) { + $3 = $8; + break label$3; + } + label$7: { + if (!(($4 | 0) < 2 | $5)) { + $5 = HEAP32[$9 - 8 >> 2]; + $9 = $8 + $11 | 0; + if ((FUNCTION_TABLE[$2 | 0]($9, $3) | 0) >= 0) { + break label$7; + } + if ((FUNCTION_TABLE[$2 | 0]($9 - $5 | 0, $3) | 0) >= 0) { + break label$7; + } + } + HEAP32[($10 << 2) + $7 >> 2] = $3; + $8 = pntz($7 + 232 | 0); + shr($7 + 232 | 0, $8); + $10 = $10 + 1 | 0; + $4 = $4 + $8 | 0; + $5 = 0; + $8 = $3; + if (HEAP32[$7 + 236 >> 2] | HEAP32[$7 + 232 >> 2] != 1) { + continue; + } + break label$2; + } + break; + } + $3 = $8; + break label$2; + } + if ($5) { + break label$1; + } + } + cycle($1, $7, $10); + sift($3, $1, $2, $4, $6); + } + __stack_pointer = $7 + 240 | 0; } -function __ZN6vision7match_tC2Eii(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - HEAP32[i1 >> 2] = i2; - HEAP32[i1 + 4 >> 2] = i3; - return; +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________alloc_28_29_20const($0) { + return std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________second_28_29_20const($0 + 8 | 0); } -function ___cxa_guard_acquire(i1) { - i1 = i1 | 0; - if ((HEAP8[i1 >> 0] | 0) == 1) i1 = 0; else { - HEAP8[i1 >> 0] = 1; - i1 = 1; +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parsePrefixExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseExpr_28_29($0); + HEAP32[$2 + 12 >> 2] = $3; + if ($3) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PrefixExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2 + 12 | 0); + } else { + $0 = 0; } - return i1 | 0; + __stack_pointer = $2 + 16 | 0; + return $0; } -function __ZNSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______ConstructTransaction___ConstructTransaction_28std____2__locale__facet____2c_20unsigned_20long_29($2, $0 + 8 | 0, $1); + $3 = HEAP32[$1 >> 2]; + while (1) { + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____construct_std____2__locale__facet__2c_20void_2c_20void__28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20std____2__locale__facet___29(std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______alloc_28_29($0), std____2__locale__facet___20std____2____to_address_std____2__locale__facet___28std____2__locale__facet___29(HEAP32[$1 >> 2])); + $3 = HEAP32[$1 >> 2] + 4 | 0; + HEAP32[$1 >> 2] = $3; + continue; + } + break; + } + std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $2 + 16 | 0; } -function __ZNSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseSeqId_28unsigned_20long__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $3 = 1; + label$1: { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + if (($2 | 0) < 48 | ($2 - 65 & 255) >>> 0 > 25 & $2 >>> 0 >= 58) { + break label$1; + } + while (1) { + $3 = 0; + label$3: { + $2 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0); + if (($2 | 0) >= 48) { + $4 = -48; + if ($2 >>> 0 < 58) { + break label$3; + } + $4 = -55; + if (($2 - 65 & 255) >>> 0 < 26) { + break label$3; + } + } + HEAP32[$1 >> 2] = $5; + break label$1; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + $5 = (Math_imul($5, 36) + $4 | 0) + ($2 & 255) | 0; + continue; + } + } + return $3; +} + +function $28anonymous_20namespace_29__itanium_demangle__UnnamedTypeName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 48 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 40 | 0, 33014); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 16 >> 2] = $4; + HEAP32[$2 + 20 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 16 | 0); + $3 = $0; + $5 = HEAP32[$3 + 8 >> 2]; + $4 = HEAP32[$3 + 12 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + HEAP32[$2 + 32 >> 2] = $5; + HEAP32[$2 + 36 >> 2] = $4; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37989); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 48 | 0; +} + +function fflush($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0; + if (!$0) { + if (HEAP32[18644]) { + $1 = fflush(HEAP32[18644]); + } + if (HEAP32[18606]) { + $1 = fflush(HEAP32[18606]) | $1; + } + $0 = HEAP32[__ofl_lock() >> 2]; + if ($0) { + while (1) { + $2 = 0; + if (HEAP32[$0 + 76 >> 2] >= 0) { + $2 = __lockfile($0); + } + if (HEAP32[$0 + 20 >> 2] != HEAP32[$0 + 28 >> 2]) { + $1 = fflush($0) | $1; + } + if ($2) { + __unlockfile($0); + } + $0 = HEAP32[$0 + 56 >> 2]; + if ($0) { + continue; + } + break; + } + } + __ofl_unlock(); + return $1 | 0; + } + if (HEAP32[$0 + 76 >> 2] >= 0) { + $2 = __lockfile($0); + } + label$10: { + label$11: { + label$12: { + if (HEAP32[$0 + 20 >> 2] == HEAP32[$0 + 28 >> 2]) { + break label$12; + } + FUNCTION_TABLE[HEAP32[$0 + 36 >> 2]]($0, 0, 0) | 0; + if (HEAP32[$0 + 20 >> 2]) { + break label$12; + } + $1 = -1; + if ($2) { + break label$11; + } + break label$10; + } + $1 = HEAP32[$0 + 4 >> 2]; + $3 = HEAP32[$0 + 8 >> 2]; + if (($1 | 0) != ($3 | 0)) { + $1 = $1 - $3 | 0; + FUNCTION_TABLE[HEAP32[$0 + 40 >> 2]]($0, $1, $1 >> 31, 1) | 0; + } + $1 = 0; + HEAP32[$0 + 28 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = 0; + if (!$2) { + break label$10; + } + } + __unlockfile($0); + } + return $1 | 0; +} + +function std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________end_cap_28_29($0) { + return std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________first_28_29($0 + 12 | 0); +} + +function icpGetJ_T_S($0) { + var $1 = 0; + wasm2js_memory_fill($0, 0, 64); + $1 = $0; + HEAP32[$1 + 72 >> 2] = 0; + HEAP32[$1 + 76 >> 2] = 0; + $1 = $1 - -64 | 0; + HEAP32[$1 >> 2] = 0; + HEAP32[$1 + 4 >> 2] = -1074790400; + $1 = $0; + HEAP32[$1 + 80 >> 2] = 0; + HEAP32[$1 + 84 >> 2] = 0; + HEAP32[$1 + 88 >> 2] = 0; + HEAP32[$1 + 92 >> 2] = 0; + HEAP32[$1 + 96 >> 2] = 0; + HEAP32[$1 + 100 >> 2] = 0; + HEAP32[$1 + 104 >> 2] = 0; + HEAP32[$1 + 108 >> 2] = 1072693248; + wasm2js_memory_fill($1 + 112 | 0, 0, 48); + HEAP32[$1 + 160 >> 2] = 0; + HEAP32[$1 + 164 >> 2] = 1072693248; + wasm2js_memory_fill($1 + 168 | 0, 0, 72); + HEAP32[$1 + 240 >> 2] = 0; + HEAP32[$1 + 244 >> 2] = -1074790400; + wasm2js_memory_fill($1 + 248 | 0, 0, 48); + HEAP32[$1 + 304 >> 2] = 0; + HEAP32[$1 + 308 >> 2] = 0; + HEAP32[$1 + 296 >> 2] = 0; + HEAP32[$1 + 300 >> 2] = -1074790400; + HEAP32[$1 + 312 >> 2] = 0; + HEAP32[$1 + 316 >> 2] = 0; + HEAP32[$1 + 320 >> 2] = 0; + HEAP32[$1 + 324 >> 2] = 0; + HEAP32[$1 + 328 >> 2] = 0; + HEAP32[$1 + 332 >> 2] = 0; + HEAP32[$1 + 336 >> 2] = 0; + HEAP32[$1 + 340 >> 2] = 1072693248; + wasm2js_memory_fill($1 + 344 | 0, 0, 112); + HEAP32[$1 + 456 >> 2] = 0; + HEAP32[$1 + 460 >> 2] = 1072693248; + wasm2js_memory_fill($1 + 464 | 0, 0, 48); + HEAP32[$1 + 512 >> 2] = 0; + HEAP32[$1 + 516 >> 2] = 1072693248; + wasm2js_memory_fill($1 + 520 | 0, 0, 48); + HEAP32[$1 + 568 >> 2] = 0; + HEAP32[$1 + 572 >> 2] = 1072693248; +} + +function std____2__enable_if_is_same_std____2__remove_const__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____type_2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____value_20___20is_trivially_copy_assignable__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____value_2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul______type_20std____2____copy__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____29($0, $1, $2) { + if (($0 | 0) != ($1 | 0)) { + memmove($2, $0, $1 - $0 | 0); + } +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____xsputn_28char_20const__2c_20long_29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_i32$2 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $7 = std____2__char_traits_char___eof_28_29(); + while (1) { + label$2: { + if (($2 | 0) <= ($5 | 0)) { + break label$2; + } + $3 = HEAP32[$0 + 24 >> 2]; + $6 = HEAP32[$0 + 28 >> 2]; + if ($3 >>> 0 >= $6 >>> 0) { + if (((wasm2js_i32$1 = $0, wasm2js_i32$2 = std____2__char_traits_char___to_int_type_28char_29(HEAP8[$1 | 0]), + wasm2js_i32$0 = HEAP32[HEAP32[$0 >> 2] + 52 >> 2], FUNCTION_TABLE[wasm2js_i32$0](wasm2js_i32$1 | 0, wasm2js_i32$2 | 0) | 0) | 0) == ($7 | 0)) { + break label$2; + } + $5 = $5 + 1 | 0; + $1 = $1 + 1 | 0; + } else { + HEAP32[$4 + 12 >> 2] = $6 - $3; + HEAP32[$4 + 8 >> 2] = $2 - $5; + $3 = long_20const__20std____2__min_long__28long_20const__2c_20long_20const__29($4 + 12 | 0, $4 + 8 | 0); + $3 = HEAP32[$3 >> 2]; + std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29(HEAP32[$0 + 24 >> 2], $1, $3); + HEAP32[$0 + 24 >> 2] = HEAP32[$0 + 24 >> 2] + $3; + $5 = $3 + $5 | 0; + $1 = $1 + $3 | 0; + } + continue; + } + break; + } + __stack_pointer = $4 + 16 | 0; + return $5 | 0; } -function __ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____________alloc_28_29($0) { + return std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________second_28_29($0 + 12 | 0); } -function __ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function genBWImageQuart_28unsigned_20char__2c_20int_2c_20int_2c_20int__2c_20int__29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $5 = ($1 | 0) / 4 | 0; + HEAP32[$3 >> 2] = $5; + $3 = ($2 | 0) / 4 | 0; + HEAP32[$4 >> 2] = $3; + $6 = dlmalloc(Math_imul($3, $5)); + if ($6) { + $10 = ($3 | 0) > 0 ? $3 : 0; + $11 = ($5 | 0) > 0 ? $5 : 0; + $7 = $6; + while (1) { + if (($8 | 0) != ($10 | 0)) { + $4 = $8 << 2; + $5 = Math_imul($4, $1) + $0 | 0; + $3 = Math_imul($4 | 3, $1) + $0 | 0; + $2 = Math_imul($4 | 2, $1) + $0 | 0; + $4 = Math_imul($4 | 1, $1) + $0 | 0; + $9 = 0; + while (1) { + if (($9 | 0) != ($11 | 0)) { + HEAP8[$7 | 0] = HEAPU8[$3 + 3 | 0] + (HEAPU8[$3 + 2 | 0] + (HEAPU8[$3 + 1 | 0] + (HEAPU8[$3 | 0] + (HEAPU8[$2 + 3 | 0] + (HEAPU8[$2 + 2 | 0] + (HEAPU8[$2 + 1 | 0] + (HEAPU8[$2 | 0] + (HEAPU8[$4 + 3 | 0] + (HEAPU8[$4 + 2 | 0] + (HEAPU8[$4 + 1 | 0] + (HEAPU8[$4 | 0] + (HEAPU8[$5 + 3 | 0] + (HEAPU8[$5 + 2 | 0] + (HEAPU8[$5 + 1 | 0] + HEAPU8[$5 | 0] | 0) | 0) | 0) | 0) | 0) | 0) | 0) | 0) | 0) | 0) | 0) | 0) | 0) | 0) >>> 4; + $9 = $9 + 1 | 0; + $3 = $3 + 4 | 0; + $2 = $2 + 4 | 0; + $4 = $4 + 4 | 0; + $5 = $5 + 4 | 0; + $7 = $7 + 1 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + break; + } + return $6; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); } -function __ZNKSt3__26locale5__imp9use_facetEl(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return HEAP32[(HEAP32[i1 + 8 >> 2] | 0) + (i2 << 2) >> 2] | 0; +function $28anonymous_20namespace_29__itanium_demangle__CtorVtableSpecialName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 38267); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 37670); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + __stack_pointer = $2 + 32 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__CallExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37973); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + $4 = $0 + 12 | 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($4, $0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 37866); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 32 | 0; +} + +function std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____unordered_map_28_29($0) { + $0 = std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______hash_table_28_29($0); + void_20std____2____debug_db_insert_c_std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____28std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____29($0); + return $0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____clear_28_29($0) { + var $1 = 0, $2 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______invalidate_all_iterators_28_29($0); + label$1: { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______is_long_28_29_20const($0)) { + $2 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_pointer_28_29($0); + HEAP32[$1 + 12 >> 2] = 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29($2, $1 + 12 | 0); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_size_28unsigned_20long_29($0, 0); + break label$1; + } + $2 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_pointer_28_29($0); + HEAP32[$1 + 8 >> 2] = 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29($2, $1 + 8 | 0); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_short_size_28unsigned_20long_29($0, 0); + } + __stack_pointer = $1 + 16 | 0; +} + +function std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______ConstructTransaction___ConstructTransaction_28std____2__pair_float_2c_20int____2c_20unsigned_20long_29($2, $0 + 8 | 0, $1); + $3 = HEAP32[$1 >> 2]; + while (1) { + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____construct_std____2__pair_float_2c_20int__2c_20void__28std____2__allocator_std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int___29(std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________alloc_28_29($0), std____2__pair_float_2c_20int___20std____2____to_address_std____2__pair_float_2c_20int___28std____2__pair_float_2c_20int___29(HEAP32[$1 >> 2])); + $3 = HEAP32[$1 >> 2] + 8 | 0; + HEAP32[$1 >> 2] = $3; + continue; + } + break; + } + std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $2 + 16 | 0; +} + +function vision__BinomialPyramid32f__alloc_28unsigned_20long_2c_20unsigned_20long_2c_20int_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; + vision__GaussianScaleSpacePyramid__configure_28int_2c_20int_29($0, $3, 3); + $5 = $0 + 4 | 0; + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____resize_28unsigned_20long_29($5, Math_imul(HEAP32[$0 + 20 >> 2], $3)); + $7 = ($3 | 0) > 0 ? $3 : 0; + label$1: while (1) { + if (($4 | 0) != ($7 | 0)) { + $8 = $2 >>> $4 | 0; + $9 = $1 >>> $4 | 0; + $3 = 0; + while (1) { + $6 = HEAP32[$0 + 20 >> 2]; + if ($6 >>> 0 <= $3 >>> 0) { + $4 = $4 + 1 | 0; + continue label$1; + } else { + vision__Image__alloc_28vision__ImageType_2c_20unsigned_20long_2c_20unsigned_20long_2c_20int_2c_20unsigned_20long_29(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($5, Math_imul($4, $6) + $3 | 0), 2, $9, $8, -1, 1); + $3 = $3 + 1 | 0; + continue; + } + } + } + break; + } + $3 = Math_imul($1, $2); + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____resize_28unsigned_20long_29($0 + 32 | 0, $3); + std____2__vector_float_2c_20std____2__allocator_float____resize_28unsigned_20long_29($0 + 44 | 0, $3); + std____2__vector_float_2c_20std____2__allocator_float____resize_28unsigned_20long_29($0 + 56 | 0, $3); } -function __ZNK6vision25GaussianScaleSpacePyramid4sizeEv(i1) { - i1 = i1 | 0; - return (HEAP32[i1 + 8 >> 2] | 0) - (HEAP32[i1 + 4 >> 2] | 0) >> 5 | 0; +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________end_cap_28_29($0) { + return std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________first_28_29($0 + 8 | 0); } -function __ZNSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________alloc_28_29($0) { + return std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________second_28_29($0 + 8 | 0); } -function __ZNSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_delete_28_29_20const($0) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0), std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0) + (std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____capacity_28_29_20const($0) << 2) | 0, std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0) + (std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____size_28_29_20const($0) << 2) | 0, std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0) + (std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____capacity_28_29_20const($0) << 2) | 0); } -function b22(i1, i2, i3, i4, i5, i6) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - i6 = i6 | 0; - nullFunc_viiiiii(22); +function vision__VisualDatabaseImpl__VisualDatabaseImpl_28_29($0) { + $0 = std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______unique_ptr_true_2c_20void__28_29($0); + std____2__unordered_map_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________unordered_map_28_29($0 + 4 | 0); + std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______reset_28vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____29($0, vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____VisualDatabase_28_29(operator_20new_28unsigned_20long_29(840))); + return $0; } -function _dot(d1, d2, d3, d4, d5, d6) { - d1 = +d1; - d2 = +d2; - d3 = +d3; - d4 = +d4; - d5 = +d5; - d6 = +d6; - return +(d1 * d4 + d2 * d5 + d3 * d6); +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___reserve_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___size_28_29_20const($0); + label$1: { + label$2: { + if ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___isInline_28_29_20const($0)) { + $2 = dlmalloc($1 << 2); + if (!$2) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__Node_20const___20std____2__copy__28anonymous_20namespace_29__itanium_demangle__Node_20const___2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const____28_28anonymous_20namespace_29__itanium_demangle__Node_20const___2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const___2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const___29(HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + HEAP32[$0 >> 2] = $2; + break label$2; + } + $2 = dlrealloc(HEAP32[$0 >> 2], $1 << 2); + HEAP32[$0 >> 2] = $2; + if (!$2) { + break label$1; + } + } + HEAP32[$0 + 8 >> 2] = ($1 << 2) + $2; + HEAP32[$0 + 4 >> 2] = ($3 << 2) + $2; + return; + } + std__terminate_28_29(); + abort(); } -function __ZNSt3__28ios_base5clearEj(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 + 16 >> 2] = (HEAP32[i1 + 24 >> 2] | 0) == 0 | i2; - return; +function long_20double_20std____2____num_get_float_long_20double__28char_20const__2c_20char_20const__2c_20unsigned_20int__29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + label$1: { + label$2: { + label$3: { + if (($1 | 0) != ($2 | 0)) { + $5 = __errno_location(); + $10 = HEAP32[$5 >> 2]; + HEAP32[$5 >> 2] = 0; + long_20double_20std____2____do_strtod_long_20double__28char_20const__2c_20char___29($4 + 8 | 0, $1, $4 + 28 | 0); + $6 = HEAP32[$4 + 16 >> 2]; + $1 = HEAP32[$4 + 20 >> 2]; + $7 = $1; + $1 = HEAP32[$4 + 8 >> 2]; + $8 = $1; + $9 = HEAP32[$4 + 12 >> 2]; + $1 = HEAP32[$5 >> 2]; + if (!$1) { + break label$3; + } + if (HEAP32[$4 + 28 >> 2] != ($2 | 0)) { + break label$2; + } + $11 = $8; + $12 = $9; + $13 = $6; + $14 = $7; + if (($1 | 0) != 68) { + break label$1; + } + break label$2; + } + HEAP32[$3 >> 2] = 4; + break label$1; + } + HEAP32[$5 >> 2] = $10; + if (HEAP32[$4 + 28 >> 2] == ($2 | 0)) { + break label$1; + } + } + HEAP32[$3 >> 2] = 4; + $8 = $11; + $9 = $12; + $6 = $13; + $7 = $14; + } + $1 = $0; + HEAP32[$1 >> 2] = $8; + HEAP32[$1 + 4 >> 2] = $9; + HEAP32[$1 + 8 >> 2] = $6; + HEAP32[$1 + 12 >> 2] = $7; + __stack_pointer = $4 + 32 | 0; +} + +function int__20std____2__copy_std____2____wrap_iter_int_20const___2c_20int___28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___2c_20int__29($0, $1, $2) { + return int__20std____2____rewrap_iter_int___28int__2c_20int__29($2, std____2__enable_if_is_same_std____2__remove_const_int_20const___type_2c_20int___value_20___20is_trivially_copy_assignable_int___value_2c_20int____type_20std____2____copy_int_20const_2c_20int__28int_20const__2c_20int_20const__2c_20int__29(decltype_28std____2____unwrap_iter_impl_std____2____wrap_iter_int_20const___2c_20true_____apply_28declval_std____2____wrap_iter_int_20const____28_29_29_29_20std____2____unwrap_iter_std____2____wrap_iter_int_20const___2c_20std____2____unwrap_iter_impl_std____2____wrap_iter_int_20const___2c_20true___28std____2____wrap_iter_int_20const___29($0), decltype_28std____2____unwrap_iter_impl_std____2____wrap_iter_int_20const___2c_20true_____apply_28declval_std____2____wrap_iter_int_20const____28_29_29_29_20std____2____unwrap_iter_std____2____wrap_iter_int_20const___2c_20std____2____unwrap_iter_impl_std____2____wrap_iter_int_20const___2c_20true___28std____2____wrap_iter_int_20const___29($1), decltype_28std____2____unwrap_iter_impl_int__2c_20true_____apply_28declval_int___28_29_29_29_20std____2____unwrap_iter_int__2c_20std____2____unwrap_iter_impl_int__2c_20true___28int__29($2))); +} + +function __stpncpy($0, $1, $2) { + var $3 = 0; + label$1: { + label$2: { + label$3: { + label$4: { + if (($0 ^ $1) & 3) { + break label$4; + } + $3 = ($2 | 0) != 0; + label$5: { + if (!($1 & 3) | !$2) { + break label$5; + } + while (1) { + $3 = HEAPU8[$1 | 0]; + HEAP8[$0 | 0] = $3; + if (!$3) { + break label$1; + } + $0 = $0 + 1 | 0; + $2 = $2 - 1 | 0; + $3 = ($2 | 0) != 0; + $1 = $1 + 1 | 0; + if (!($1 & 3)) { + break label$5; + } + if ($2) { + continue; + } + break; + } + } + if (!$3) { + break label$2; + } + if (!HEAPU8[$1 | 0]) { + break label$1; + } + if ($2 >>> 0 < 4) { + break label$4; + } + while (1) { + $3 = HEAP32[$1 >> 2]; + if (($3 ^ -1) & $3 - 16843009 & -2139062144) { + break label$3; + } + HEAP32[$0 >> 2] = $3; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 - 4 | 0; + if ($2 >>> 0 > 3) { + continue; + } + break; + } + } + if (!$2) { + break label$2; + } + } + while (1) { + $3 = HEAPU8[$1 | 0]; + HEAP8[$0 | 0] = $3; + if (!$3) { + break label$1; + } + $0 = $0 + 1 | 0; + $1 = $1 + 1 | 0; + $2 = $2 - 1 | 0; + if ($2) { + continue; + } + break; + } + } + $2 = 0; + } + memset($0, 0, $2); + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PointerToMemberConversionExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__PointerToMemberConversionExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PointerToMemberConversionExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0 + 408 | 0, $1, $2, $3); +} + +function std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__Node_96__20const____29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const________compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__Node_96__20const_____28std__nullptr_t___2c_20std____2__allocator_vision__Node_96__20const____29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____allocate_28std____2__allocator_vision__Node_96__20const____2c_20unsigned_20long_29(std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = ($2 << 2) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 2) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function std____2__vector_int_2c_20std____2__allocator_int______append_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + label$1: { + if (HEAP32[std____2__vector_int_2c_20std____2__allocator_int______end_cap_28_29($0) >> 2] - HEAP32[$0 + 4 >> 2] >> 2 >>> 0 >= $1 >>> 0) { + std____2__vector_int_2c_20std____2__allocator_int______construct_at_end_28unsigned_20long_29($0, $1); + break label$1; + } + $2 = std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0); + $2 = std____2____split_buffer_int_2c_20std____2__allocator_int_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_int___29($3 + 8 | 0, std____2__vector_int_2c_20std____2__allocator_int______recommend_28unsigned_20long_29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0) + $1 | 0), std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0), $2); + std____2____split_buffer_int_2c_20std____2__allocator_int_______construct_at_end_28unsigned_20long_29($2, $1); + std____2__vector_int_2c_20std____2__allocator_int______swap_out_circular_buffer_28std____2____split_buffer_int_2c_20std____2__allocator_int_____29($0, $2); + std____2____split_buffer_int_2c_20std____2__allocator_int________split_buffer_28_29($2); + } + __stack_pointer = $3 + 32 | 0; +} + +function void_20std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______construct_one_at_end_vision__Node_96__20const__20const___28vision__Node_96__20const__20const__29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const______ConstructTransaction___ConstructTransaction_28std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____2c_20unsigned_20long_29($3, $0, 1); + void_20std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____construct_vision__Node_96__20const__2c_20vision__Node_96__20const__20const__2c_20void__28std____2__allocator_vision__Node_96__20const____2c_20vision__Node_96__20const___2c_20vision__Node_96__20const__20const__29(std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______alloc_28_29($0), vision__Node_96__20const___20std____2____to_address_vision__Node_96__20const___28vision__Node_96__20const___29(HEAP32[$2 + 4 >> 2]), $1); + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 4; + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const______ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; +} + +function void_20std____2__nth_element_std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long___29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + HEAP32[$3 + 16 >> 2] = $2; + HEAP32[$3 + 24 >> 2] = $1; + void_20std____2____nth_element_std____2__greater_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2, $3 + 8 | 0); + bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($3 + 24 | 0, $3 + 16 | 0); + __stack_pointer = $3 + 32 | 0; +} + +function rgb_convert($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + if (($4 | 0) > 0) { + $5 = HEAP32[$0 + 112 >> 2]; + $12 = $5 & -2; + $13 = $5 & 1; + while (1) { + $11 = $4; + label$3: { + if (!$5) { + break label$3; + } + $4 = $2 << 2; + $6 = HEAP32[$4 + HEAP32[$1 + 8 >> 2] >> 2]; + $7 = HEAP32[HEAP32[$1 + 4 >> 2] + $4 >> 2]; + $8 = HEAP32[HEAP32[$1 >> 2] + $4 >> 2]; + $4 = HEAP32[$3 >> 2]; + $0 = 0; + $9 = 0; + if (($5 | 0) != 1) { + while (1) { + HEAP8[$4 | 0] = HEAPU8[$0 + $8 | 0]; + HEAP8[$4 + 1 | 0] = HEAPU8[$0 + $7 | 0]; + HEAP8[$4 + 2 | 0] = HEAPU8[$0 + $6 | 0]; + $10 = $0 | 1; + HEAP8[$4 + 3 | 0] = HEAPU8[$10 + $8 | 0]; + HEAP8[$4 + 4 | 0] = HEAPU8[$7 + $10 | 0]; + HEAP8[$4 + 5 | 0] = HEAPU8[$6 + $10 | 0]; + $0 = $0 + 2 | 0; + $4 = $4 + 6 | 0; + $9 = $9 + 2 | 0; + if (($12 | 0) != ($9 | 0)) { + continue; + } + break; + } + } + if (!$13) { + break label$3; + } + HEAP8[$4 | 0] = HEAPU8[$0 + $8 | 0]; + HEAP8[$4 + 1 | 0] = HEAPU8[$0 + $7 | 0]; + HEAP8[$4 + 2 | 0] = HEAPU8[$0 + $6 | 0]; + } + $3 = $3 + 4 | 0; + $2 = $2 + 1 | 0; + $4 = $11 - 1 | 0; + if (($11 | 0) >= 2) { + continue; + } + break; + } + } } -function __ZNSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ClosureTypeName_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__ClosureTypeName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ClosureTypeName_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0 + 408 | 0, $1, $2, $3); } -function __ZNSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______begin_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____29($1 + 8 | 0, std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______begin_28_29($0)) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZNSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_date_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const($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; + $6 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 8 >> 2] + 20 >> 2]]($0 + 8 | 0) | 0; + return std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3, $4, $5, std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($6), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($6) + (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($6) << 2) | 0) | 0; } -function __ZNSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FoldExpr_2c_20bool__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28bool__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3, $4) { + return $28anonymous_20namespace_29__itanium_demangle__FoldExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FoldExpr_2c_20bool__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28bool__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2, $3, $4); } -function __ZNKSt3__26vectorINS0_INS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEEENS3_IS7_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 357913941; -} +function void_20std____2____debug_db_insert_c_std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________28std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________29($0) {} -function __ZN6vision25DoGScaleInvariantDetector21setLaplacianThresholdEf(i1, d2) { - i1 = i1 | 0; - d2 = +d2; - HEAPF32[i1 + 52 >> 2] = d2; - return; +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____begin_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($1 + 8 | 0, HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______first_28_29($0 + 8 | 0) >> 2]) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZNKSt3__25ctypeIwE9do_narrowEwc(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return (i2 >>> 0 < 128 ? i2 & 255 : i3) | 0; +function std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______end_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____29($1 + 8 | 0, std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______end_28_29($0)) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZNK6vision10DoGPyramid14scaleFromIndexEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return (i2 | 0) % (HEAP32[i1 + 16 >> 2] | 0) | 0 | 0; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______bucket_count_28_29_20const($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________size_28_29_20const(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________get_deleter_28_29_20const($0)); } -function __ZN6vision11ZeroVector3IfEEvPT_(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - return; +function color_quantize3($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, $10 = 0, $11 = 0, $12 = 0; + if (($3 | 0) > 0) { + $4 = HEAP32[HEAP32[$0 + 484 >> 2] + 24 >> 2]; + $7 = HEAP32[$4 + 8 >> 2]; + $8 = HEAP32[$4 + 4 >> 2]; + $9 = HEAP32[$4 >> 2]; + $5 = HEAP32[$0 + 112 >> 2]; + $11 = $5 - 1 | 0; + $12 = $5 & 1; + while (1) { + label$3: { + if (!$5) { + break label$3; + } + $4 = $10 << 2; + $0 = HEAP32[$4 + $1 >> 2]; + $4 = HEAP32[$2 + $4 >> 2]; + if ($12) { + HEAP8[$4 | 0] = HEAPU8[HEAPU8[$0 + 2 | 0] + $7 | 0] + (HEAPU8[HEAPU8[$0 + 1 | 0] + $8 | 0] + HEAPU8[HEAPU8[$0 | 0] + $9 | 0] | 0); + $4 = $4 + 1 | 0; + $0 = $0 + 3 | 0; + $6 = $11; + } else { + $6 = $5; + } + if (($5 | 0) == 1) { + break label$3; + } + while (1) { + HEAP8[$4 | 0] = HEAPU8[HEAPU8[$0 + 2 | 0] + $7 | 0] + (HEAPU8[HEAPU8[$0 + 1 | 0] + $8 | 0] + HEAPU8[HEAPU8[$0 | 0] + $9 | 0] | 0); + HEAP8[$4 + 1 | 0] = HEAPU8[HEAPU8[$0 + 5 | 0] + $7 | 0] + (HEAPU8[HEAPU8[$0 + 4 | 0] + $8 | 0] + HEAPU8[HEAPU8[$0 + 3 | 0] + $9 | 0] | 0); + $4 = $4 + 2 | 0; + $0 = $0 + 6 | 0; + $6 = $6 - 2 | 0; + if ($6) { + continue; + } + break; + } + } + $10 = $10 + 1 | 0; + if (($10 | 0) != ($3 | 0)) { + continue; + } + break; + } + } } -function dynCall_viid(i4, i1, i2, d3) { - i4 = i4 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - d3 = +d3; - FUNCTION_TABLE_viid[i4 & 3](i1 | 0, i2 | 0, +d3); +function $28anonymous_20namespace_29__itanium_demangle__VendorExtQualType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 38446); + $4 = HEAP32[$3 >> 2]; + $3 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $4 = HEAP32[$0 + 16 >> 2]; + $3 = HEAP32[$0 + 12 >> 2]; + HEAP32[$2 >> 2] = $3; + HEAP32[$2 + 4 >> 2] = $4; + HEAP32[$2 + 16 >> 2] = $3; + HEAP32[$2 + 20 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $0 = HEAP32[$0 + 20 >> 2]; + if ($0) { + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1); + } + __stack_pointer = $2 + 32 | 0; +} + +function std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__Point3d_float____29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float________compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__Point3d_float_____28std__nullptr_t___2c_20std____2__allocator_vision__Point3d_float____29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____allocate_28std____2__allocator_vision__Point3d_float____2c_20unsigned_20long_29(std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = Math_imul($2, 12) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________end_cap_28_29($0), + wasm2js_i32$1 = Math_imul($1, 12) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PointerToMemberConversionExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PointerToMemberConversionExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2, $3) { + var $4 = 0, $5 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 24); + $2 = HEAP32[$2 >> 2]; + $1 = HEAP32[$1 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + $3 = HEAP32[$3 >> 2]; + HEAP32[$4 >> 2] = $3; + HEAP32[$4 + 4 >> 2] = $5; + HEAP32[$4 + 8 >> 2] = $3; + HEAP32[$4 + 12 >> 2] = $5; + $2 = $28anonymous_20namespace_29__itanium_demangle__PointerToMemberConversionExpr__PointerToMemberConversionExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2, $4); + __stack_pointer = $4 + 16 | 0; + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__LambdaExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 34408); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $0 = HEAP32[$0 + 8 >> 2]; + if (($28anonymous_20namespace_29__itanium_demangle__Node__getKind_28_29_20const($0) | 0) == 46) { + $28anonymous_20namespace_29__itanium_demangle__ClosureTypeName__printDeclarator_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1); + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 27939); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 32 | 0; +} + +function unsigned_20char__20std____2__copy_unsigned_20char__2c_20unsigned_20char___28unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char__29($0, $1, $2) { + return unsigned_20char__20std____2____rewrap_iter_unsigned_20char___28unsigned_20char__2c_20unsigned_20char__29($2, std____2__enable_if_is_same_std____2__remove_const_unsigned_20char___type_2c_20unsigned_20char___value_20___20is_trivially_copy_assignable_unsigned_20char___value_2c_20unsigned_20char____type_20std____2____copy_unsigned_20char_2c_20unsigned_20char__28unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char__29(decltype_28std____2____unwrap_iter_impl_unsigned_20char__2c_20true_____apply_28declval_unsigned_20char___28_29_29_29_20std____2____unwrap_iter_unsigned_20char__2c_20std____2____unwrap_iter_impl_unsigned_20char__2c_20true___28unsigned_20char__29($0), decltype_28std____2____unwrap_iter_impl_unsigned_20char__2c_20true_____apply_28declval_unsigned_20char___28_29_29_29_20std____2____unwrap_iter_unsigned_20char__2c_20std____2____unwrap_iter_impl_unsigned_20char__2c_20true___28unsigned_20char__29($1), decltype_28std____2____unwrap_iter_impl_unsigned_20char__2c_20true_____apply_28declval_unsigned_20char___28_29_29_29_20std____2____unwrap_iter_unsigned_20char__2c_20std____2____unwrap_iter_impl_unsigned_20char__2c_20true___28unsigned_20char__29($2))); +} + +function $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___20std____2__copy__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference____28_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___29($0, $1, $2) { + std____2__enable_if_is_same_std____2__remove_const__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference____type_2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference____value_20___20is_trivially_copy_assignable__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference____value_2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference_____type_20std____2____copy__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___28_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___29($0, $1, $2); +} + +function x_by_xt($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + $10 = -1; + label$1: { + $2 = HEAP32[$0 + 4 >> 2]; + if (($2 | 0) != HEAP32[$1 + 4 >> 2] | HEAP32[$1 + 8 >> 2] != ($2 | 0)) { + break label$1; + } + $10 = 0; + $12 = ($2 | 0) > 0 ? $2 : 0; + $6 = HEAP32[$0 + 8 >> 2]; + $13 = ($6 | 0) > 0 ? $6 : 0; + $11 = HEAP32[$1 >> 2]; + $3 = $11; + label$2: while (1) { + if (($5 | 0) == ($12 | 0)) { + break label$1; + } + $14 = Math_imul($5, $6); + $4 = 0; + while (1) { + label$4: { + if (($4 | 0) != ($2 | 0)) { + if ($4 >>> 0 < $5 >>> 0) { + HEAPF64[$3 >> 3] = HEAPF64[(Math_imul($4, $2) + $5 << 3) + $11 >> 3]; + break label$4; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$3 >> 2] = 0; + HEAP32[$3 + 4 >> 2] = 0; + $7 = ($14 << 3) + $1 | 0; + $8 = (Math_imul($4, $6) << 3) + $1 | 0; + $1 = 0; + $9 = 0; + while (1) { + if (($1 | 0) == ($13 | 0)) { + break label$4; + } + $9 = HEAPF64[$7 >> 3] * HEAPF64[$8 >> 3] + $9; + HEAPF64[$3 >> 3] = $9; + $1 = $1 + 1 | 0; + $8 = $8 + 8 | 0; + $7 = $7 + 8 | 0; + continue; + } + } + $5 = $5 + 1 | 0; + continue label$2; + } + $4 = $4 + 1 | 0; + $3 = $3 + 8 | 0; + continue; + } + } + } + return $10; } -function __ZNSt3__211__stdoutbufIwED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev(i1); - __ZdlPv(i1); - return; +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______construct_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple___2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4) { + void_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____construct_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4); } -function __ZNSt3__211__stdoutbufIcED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev(i1); - __ZdlPv(i1); - return; +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______annotate_delete_28_29_20const($0) { + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0), std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____size_28_29_20const($0) << 3) | 0, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____capacity_28_29_20const($0) << 3) | 0); } -function __ZNKSt3__25ctypeIcE9do_narrowEcc(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return (i2 << 24 >> 24 > -1 ? i2 : i3) | 0; +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1, $2) { + $0 = std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0); + std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0 + 4 | 0); + return $0; } -function __ZNK6vision18BinaryFeatureStore5pointEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return (HEAP32[i1 + 16 >> 2] | 0) + (i2 * 20 | 0) | 0; +function ar2MarkerCoord2ScreenCoord($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = Math_fround(0), $8 = Math_fround(0), $9 = Math_fround(0), $10 = Math_fround(0); + $6 = __stack_pointer - 48 | 0; + __stack_pointer = $6; + label$1: { + if ($0) { + arUtilMatMuldff($0 + 8 | 0, $1, $6); + $7 = Math_fround(HEAPF32[$6 + 44 >> 2] + Math_fround(Math_fround(HEAPF32[$6 + 32 >> 2] * $2) + Math_fround(HEAPF32[$6 + 36 >> 2] * $3))); + $1 = arParamIdeal2ObservLTf($0 + 184 | 0, Math_fround(Math_fround(HEAPF32[$6 + 12 >> 2] + Math_fround(Math_fround(HEAPF32[$6 >> 2] * $2) + Math_fround(HEAPF32[$6 + 4 >> 2] * $3))) / $7), Math_fround(Math_fround(HEAPF32[$6 + 28 >> 2] + Math_fround(Math_fround(HEAPF32[$6 + 16 >> 2] * $2) + Math_fround(HEAPF32[$6 + 20 >> 2] * $3))) / $7), $4, $5) >> 31; + break label$1; + } + $7 = HEAPF32[$1 + 28 >> 2]; + $9 = HEAPF32[$1 + 20 >> 2]; + $10 = HEAPF32[$1 + 16 >> 2]; + $8 = Math_fround(HEAPF32[$1 + 44 >> 2] + Math_fround(Math_fround(HEAPF32[$1 + 32 >> 2] * $2) + Math_fround(HEAPF32[$1 + 36 >> 2] * $3))); + HEAPF32[$4 >> 2] = Math_fround(HEAPF32[$1 + 12 >> 2] + Math_fround(Math_fround(HEAPF32[$1 >> 2] * $2) + Math_fround(HEAPF32[$1 + 4 >> 2] * $3))) / $8; + HEAPF32[$5 >> 2] = Math_fround($7 + Math_fround(Math_fround($10 * $2) + Math_fround($9 * $3))) / $8; + $1 = 0; + } + __stack_pointer = $6 + 48 | 0; + return $1; } -function __ZN6vision25GaussianScaleSpacePyramidD0Ev(i1) { - i1 = i1 | 0; - __ZN6vision25GaussianScaleSpacePyramidD2Ev(i1); - __ZdlPv(i1); - return; +function std____2__enable_if___is_cpp17_forward_iterator_vision__Point3d_float_____value_2c_20void___type_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______construct_at_end_vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___2c_20unsigned_20long_29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $3 = std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______ConstructTransaction___ConstructTransaction_28std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20unsigned_20long_29($4, $0, $3); + void_20std____2____construct_range_forward_std____2__allocator_vision__Point3d_float___2c_20vision__Point3d_float__2c_20vision__Point3d_float__2c_20vision__Point3d_float__2c_20vision__Point3d_float__2c_20void__28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___2c_20vision__Point3d_float___2c_20vision__Point3d_float____29(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______alloc_28_29($0), $1, $2, $3 + 4 | 0); + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______ConstructTransaction____ConstructTransaction_28_29($3); + __stack_pointer = $4 + 16 | 0; } -function __ZN6vision11Cofactor2x2IfEET_S1_S1_S1_S1_(d1, d2, d3, d4) { - d1 = +d1; - d2 = +d2; - d3 = +d3; - d4 = +d4; - return +(d1 * d4 - d2 * d3); +function ycc_rgb_convert($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0; + if (($4 | 0) > 0) { + $6 = HEAP32[$0 + 336 >> 2]; + $8 = HEAP32[$0 + 112 >> 2]; + $0 = HEAP32[$0 + 480 >> 2]; + $11 = HEAP32[$0 + 20 >> 2]; + $12 = HEAP32[$0 + 16 >> 2]; + $13 = HEAP32[$0 + 12 >> 2]; + $14 = HEAP32[$0 + 8 >> 2]; + while (1) { + $9 = $4; + if ($8) { + $4 = $2 << 2; + $15 = HEAP32[$4 + HEAP32[$1 + 8 >> 2] >> 2]; + $16 = HEAP32[HEAP32[$1 + 4 >> 2] + $4 >> 2]; + $17 = HEAP32[HEAP32[$1 >> 2] + $4 >> 2]; + $4 = HEAP32[$3 >> 2]; + $0 = 0; + while (1) { + $5 = HEAPU8[$0 + $16 | 0]; + $7 = HEAPU8[$0 + $17 | 0]; + $10 = HEAPU8[$0 + $15 | 0] << 2; + HEAP8[$4 | 0] = HEAPU8[($7 + HEAP32[$10 + $14 >> 2] | 0) + $6 | 0]; + $5 = $5 << 2; + HEAP8[$4 + 1 | 0] = HEAPU8[((HEAP32[$12 + $10 >> 2] + HEAP32[$11 + $5 >> 2] >> 16) + $7 | 0) + $6 | 0]; + HEAP8[$4 + 2 | 0] = HEAPU8[(HEAP32[$5 + $13 >> 2] + $7 | 0) + $6 | 0]; + $4 = $4 + 3 | 0; + $0 = $0 + 1 | 0; + if (($8 | 0) != ($0 | 0)) { + continue; + } + break; + } + } + $3 = $3 + 4 | 0; + $2 = $2 + 1 | 0; + $4 = $9 - 1 | 0; + if (($9 | 0) >= 2) { + continue; + } + break; + } + } } -function __ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return (i1 | 0) == (i2 | 0) | 0; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_monthname_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 8 >> 2] + 4 >> 2]]($0 + 8 | 0) | 0; + $0 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__20std____2____scan_keyword_std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__ctype_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__ctype_char__20const__2c_20unsigned_20int__2c_20bool_29($2, $3, $0, $0 + 288 | 0, $5, $4, 0) - $0 | 0; + if (($0 | 0) <= 287) { + HEAP32[$1 >> 2] = (($0 | 0) / 12 | 0) % 12; + } } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6setbufEPwl(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return i1 | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__VendorExtQualType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__VendorExtQualType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__VendorExtQualType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2, $3); } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6setbufEPcl(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return i1 | 0; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_weekdayname_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 8 >> 2] >> 2]]($0 + 8 | 0) | 0; + $0 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__20std____2____scan_keyword_std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__ctype_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__ctype_char__20const__2c_20unsigned_20int__2c_20bool_29($2, $3, $0, $0 + 168 | 0, $5, $4, 0) - $0 | 0; + if (($0 | 0) <= 167) { + HEAP32[$1 >> 2] = (($0 | 0) / 12 | 0) % 7; + } } -function __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIwc11__mbstate_tEEjEERT_T0_() { - __ZNSt3__27codecvtIwc11__mbstate_tEC2Em(55712, 1); - return; -} - -function __ZNSt3__210__stdinbufIwED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev(i1); - __ZdlPv(i1); - return; +function sep_upsample($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 $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $3 = HEAP32[$0 + 320 >> 2]; + $7 = HEAP32[$0 + 476 >> 2]; + $8 = HEAP32[$7 + 92 >> 2]; + if (($3 | 0) <= ($8 | 0)) { + if (HEAP32[$0 + 36 >> 2] > 0) { + $11 = $7 + 12 | 0; + $3 = HEAP32[$0 + 216 >> 2]; + $8 = 0; + while (1) { + $9 = $8 << 2; + $10 = $9 + $7 | 0; + FUNCTION_TABLE[HEAP32[$10 + 52 >> 2]]($0, $3, HEAP32[$1 + $9 >> 2] + (Math_imul(HEAP32[$10 + 100 >> 2], HEAP32[$2 >> 2]) << 2) | 0, $9 + $11 | 0); + $3 = $3 + 88 | 0; + $8 = $8 + 1 | 0; + if (($8 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; + } + break; + } + $3 = HEAP32[$0 + 320 >> 2]; + } + HEAP32[$7 + 92 >> 2] = 0; + $8 = 0; + } + $9 = HEAP32[$5 >> 2]; + $1 = ($9 << 2) + $4 | 0; + $3 = $3 - $8 | 0; + $10 = HEAP32[$7 + 96 >> 2]; + $3 = $3 >>> 0 < $10 >>> 0 ? $3 : $10; + $9 = $6 - $9 | 0; + $3 = $3 >>> 0 < $9 >>> 0 ? $3 : $9; + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 480 >> 2] + 4 >> 2]]($0, $7 + 12 | 0, $8, $1, $3); + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $3; + HEAP32[$7 + 96 >> 2] = HEAP32[$7 + 96 >> 2] - $3; + $3 = HEAP32[$7 + 92 >> 2] + $3 | 0; + HEAP32[$7 + 92 >> 2] = $3; + if (HEAP32[$0 + 320 >> 2] <= ($3 | 0)) { + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + 1; + } +} + +function $28anonymous_20namespace_29__itanium_demangle__FoldExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FoldExpr_2c_20bool__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28bool__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 28); + $1 = HEAPU8[$1 | 0]; + $6 = HEAP32[$2 + 4 >> 2]; + $7 = HEAP32[$2 >> 2]; + HEAP32[$5 + 8 >> 2] = $7; + HEAP32[$5 + 12 >> 2] = $6; + $2 = HEAP32[$4 >> 2]; + $4 = HEAP32[$3 >> 2]; + HEAP32[$5 >> 2] = $7; + HEAP32[$5 + 4 >> 2] = $6; + $1 = $28anonymous_20namespace_29__itanium_demangle__FoldExpr__FoldExpr_28bool_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $5, $4, $2); + __stack_pointer = $5 + 16 | 0; + return $1; +} + +function vision__DoGScaleInvariantDetector___DoGScaleInvariantDetector_28_29($0) { + std____2__vector_float_2c_20std____2__allocator_float_____vector_28_29($0 + 144 | 0); + vision__OrientationAssignment___OrientationAssignment_28_29($0 + 92 | 0); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____vector_28_29($0 + 72 | 0); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____vector_28_29($0 + 60 | 0); + vision__DoGPyramid___DoGPyramid_28_29($0 + 32 | 0); + std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________vector_28_29($0 + 16 | 0); + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__IntegerLiteral__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__IntegerLiteral_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $5 = __stack_pointer - 32 | 0; + __stack_pointer = $5; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 24); + $4 = HEAP32[$1 >> 2]; + $6 = $4; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = $3; + $4 = $5; + HEAP32[$4 + 24 >> 2] = $6; + HEAP32[$4 + 28 >> 2] = $3; + $3 = HEAP32[$2 >> 2]; + $7 = $3; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = $4; + $3 = $5; + HEAP32[$3 + 16 >> 2] = $7; + HEAP32[$3 + 20 >> 2] = $4; + HEAP32[$3 + 8 >> 2] = $6; + $4 = $1; + HEAP32[$3 + 12 >> 2] = $4; + HEAP32[$3 >> 2] = $7; + $4 = $2; + HEAP32[$3 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__IntegerLiteral__IntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $3 + 8 | 0, $3); + __stack_pointer = $3 + 32 | 0; + return $1; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______annotate_delete_28_29_20const($0) { + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0), std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0) + (std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0) + (std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____size_28_29_20const($0) << 3) | 0, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0) + (std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____capacity_28_29_20const($0) << 3) | 0); +} + +function std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__FeaturePoint___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__FeaturePoint____28std__nullptr_t___2c_20std____2__allocator_vision__FeaturePoint___29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____allocate_28std____2__allocator_vision__FeaturePoint___2c_20unsigned_20long_29(std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = Math_imul($2, 20) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______end_cap_28_29($0), + wasm2js_i32$1 = Math_imul($1, 20) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function arMatrixMulf($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = Math_fround(0), $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + $11 = -1; + label$1: { + $4 = HEAP32[$1 + 8 >> 2]; + if (($4 | 0) != HEAP32[$2 + 4 >> 2]) { + break label$1; + } + $3 = HEAP32[$0 + 4 >> 2]; + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + break label$1; + } + $5 = HEAP32[$0 + 8 >> 2]; + if (($5 | 0) != HEAP32[$2 + 8 >> 2]) { + break label$1; + } + $11 = 0; + $12 = ($3 | 0) > 0 ? $3 : 0; + $13 = ($5 | 0) > 0 ? $5 : 0; + $14 = ($4 | 0) > 0 ? $4 : 0; + $6 = HEAP32[$0 >> 2]; + while (1) { + if (($8 | 0) == ($12 | 0)) { + break label$1; + } + $15 = Math_imul($4, $8); + $7 = 0; + while (1) { + if (($7 | 0) != ($13 | 0)) { + $0 = 0; + HEAP32[$6 >> 2] = 0; + $3 = HEAP32[$2 >> 2] + ($7 << 2) | 0; + $9 = HEAP32[$1 >> 2] + ($15 << 2) | 0; + $10 = Math_fround(0); + while (1) { + if (($0 | 0) != ($14 | 0)) { + $10 = Math_fround(Math_fround(HEAPF32[$9 >> 2] * HEAPF32[$3 >> 2]) + $10); + HEAPF32[$6 >> 2] = $10; + $0 = $0 + 1 | 0; + $9 = $9 + 4 | 0; + $3 = ($5 << 2) + $3 | 0; + continue; + } + break; + } + $7 = $7 + 1 | 0; + $6 = $6 + 4 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + } + return $11; +} + +function float_20vision__SmallestTriangleArea_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2, $3) { + var $4 = 0, $5 = Math_fround(0); + $4 = __stack_pointer - 48 | 0; + __stack_pointer = $4; + void_20vision__SubVector2_float__28float__2c_20float_20const__2c_20float_20const__29($4 + 40 | 0, $1, $0); + void_20vision__SubVector2_float__28float__2c_20float_20const__2c_20float_20const__29($4 + 32 | 0, $2, $0); + void_20vision__SubVector2_float__28float__2c_20float_20const__2c_20float_20const__29($4 + 24 | 0, $3, $0); + void_20vision__SubVector2_float__28float__2c_20float_20const__2c_20float_20const__29($4 + 16 | 0, $1, $2); + void_20vision__SubVector2_float__28float__2c_20float_20const__2c_20float_20const__29($4 + 8 | 0, $3, $2); + $5 = float_20vision__min4_float__28float_2c_20float_2c_20float_2c_20float_29(float_20vision__AreaOfTriangle_float__28float_20const__2c_20float_20const__29($4 + 40 | 0, $4 + 32 | 0), float_20vision__AreaOfTriangle_float__28float_20const__2c_20float_20const__29($4 + 32 | 0, $4 + 24 | 0), float_20vision__AreaOfTriangle_float__28float_20const__2c_20float_20const__29($4 + 40 | 0, $4 + 24 | 0), float_20vision__AreaOfTriangle_float__28float_20const__2c_20float_20const__29($4 + 16 | 0, $4 + 8 | 0)); + __stack_pointer = $4 + 48 | 0; + return $5; +} + +function __mo_lookup($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $5 = HEAP32[$0 >> 2] + 1794895138 | 0; + $4 = swapc(HEAP32[$0 + 8 >> 2], $5); + $3 = swapc(HEAP32[$0 + 12 >> 2], $5); + $6 = swapc(HEAP32[$0 + 16 >> 2], $5); + label$1: { + if ($1 >>> 2 >>> 0 <= $4 >>> 0) { + break label$1; + } + $7 = $1 - ($4 << 2) | 0; + if (($3 | $6) & 3 | ($7 >>> 0 <= $3 >>> 0 | $6 >>> 0 >= $7 >>> 0)) { + break label$1; + } + $11 = $6 >>> 2 | 0; + $12 = $3 >>> 2 | 0; + $7 = 0; + while (1) { + $8 = $4 >>> 1 | 0; + $9 = $8 + $7 | 0; + $10 = $9 << 1; + $3 = ($10 + $12 << 2) + $0 | 0; + $6 = swapc(HEAP32[$3 >> 2], $5); + $3 = swapc(HEAP32[$3 + 4 >> 2], $5); + if ($3 >>> 0 >= $1 >>> 0 | $1 - $3 >>> 0 <= $6 >>> 0 | HEAPU8[($3 + $6 | 0) + $0 | 0]) { + break label$1; + } + $3 = strcmp($2, $0 + $3 | 0); + if (!$3) { + $4 = ($11 + $10 << 2) + $0 | 0; + $3 = swapc(HEAP32[$4 >> 2], $5); + $4 = swapc(HEAP32[$4 + 4 >> 2], $5); + if ($4 >>> 0 >= $1 >>> 0 | $1 - $4 >>> 0 <= $3 >>> 0) { + break label$1; + } + $13 = HEAPU8[($3 + $4 | 0) + $0 | 0] ? 0 : $0 + $4 | 0; + break label$1; + } + if (($4 | 0) == 1) { + break label$1; + } + $3 = ($3 | 0) < 0; + $4 = $3 ? $8 : $4 - $8 | 0; + $7 = $3 ? $7 : $9; + continue; + } + } + return $13; } -function __ZNSt3__210__stdinbufIcED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev(i1); - __ZdlPv(i1); - return; +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______vallocate_28unsigned_20long_29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____max_size_28_29_20const($0) >>> 0 < $1 >>> 0) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______throw_length_error_28_29_20const($0); + abort(); + } + $2 = std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____allocate_28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20unsigned_20long_29(std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______alloc_28_29($0), $1); + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = $2; + wasm2js_i32$0 = std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 2) + $2 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_new_28unsigned_20long_29_20const($0, 0); } -function __ZNK6vision5Timer24duration_in_millisecondsEv(i1) { - i1 = i1 | 0; - return +(+__ZNK6vision5Timer19duration_in_secondsEv(i1) * 1.0e3); +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______assign_external_28wchar_t_20const__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____capacity_28_29_20const($0); + if ($3 >>> 0 >= $2 >>> 0) { + $3 = wchar_t__20std____2____to_address_wchar_t__28wchar_t__29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29($0)); + std____2__char_traits_wchar_t___move_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29($3, $1, $2); + return std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______null_terminate_at_28wchar_t__2c_20unsigned_20long_29($0, $3, $2); + } + $4 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($0); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______grow_by_and_replace_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20wchar_t_20const__29($0, $3, $2 - $3 | 0, $4, 0, $4, $2, $1); + return $0; } - -function __ZN6vision18BinaryFeatureStore5pointEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return (HEAP32[i1 + 16 >> 2] | 0) + (i2 * 20 | 0) | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__BinaryExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__BinaryExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__BinaryExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2, $3); } -function __ZN10__cxxabiv123__fundamental_type_infoD0Ev(i1) { - i1 = i1 | 0; - __ZN10__cxxabiv116__shim_type_infoD2Ev(i1); - __ZdlPv(i1); - return; +function xt_by_x($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0; + $9 = -1; + label$1: { + $2 = HEAP32[$0 + 8 >> 2]; + if (($2 | 0) != HEAP32[$1 + 4 >> 2] | HEAP32[$1 + 8 >> 2] != ($2 | 0)) { + break label$1; + } + $9 = 0; + $12 = ($2 | 0) > 0 ? $2 : 0; + $3 = HEAP32[$0 + 4 >> 2]; + $13 = ($3 | 0) > 0 ? $3 : 0; + $10 = HEAP32[$1 >> 2]; + $4 = $10; + label$2: while (1) { + $5 = 0; + if (($6 | 0) == ($12 | 0)) { + break label$1; + } + while (1) { + label$4: { + if (($2 | 0) != ($5 | 0)) { + if ($5 >>> 0 < $6 >>> 0) { + HEAPF64[$4 >> 3] = HEAPF64[(Math_imul($2, $5) + $6 << 3) + $10 >> 3]; + break label$4; + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$4 >> 2] = 0; + HEAP32[$4 + 4 >> 2] = 0; + $3 = ($5 << 3) + $1 | 0; + $7 = ($6 << 3) + $1 | 0; + $1 = 0; + $8 = 0; + while (1) { + if (($1 | 0) == ($13 | 0)) { + break label$4; + } + $8 = HEAPF64[$7 >> 3] * HEAPF64[$3 >> 3] + $8; + HEAPF64[$4 >> 3] = $8; + $1 = $1 + 1 | 0; + $11 = $2 << 3; + $3 = $11 + $3 | 0; + $7 = $7 + $11 | 0; + continue; + } + } + $6 = $6 + 1 | 0; + continue label$2; + } + $5 = $5 + 1 | 0; + $4 = $4 + 8 | 0; + continue; + } + } + } + return $9; } -function __ZN10__cxxabiv112_GLOBAL__N_110save_valueIbED2Ev(i1) { - i1 = i1 | 0; - HEAP8[HEAP32[i1 >> 2] >> 0] = HEAP8[i1 + 4 >> 0] | 0; - return; +function std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____begin_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____29($1 + 8 | 0, std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____begin_28_29($0)) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function _error_exit(i1) { - i1 = i1 | 0; - FUNCTION_TABLE_vi[HEAP32[(HEAP32[i1 >> 2] | 0) + 8 >> 2] & 255](i1); - _jpeg_destroy(i1); - _exit(1); +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ConditionalExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__ConditionalExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ConditionalExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2, $3); } -function _swapc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - var i3 = 0; - i3 = _llvm_bswap_i32(i1 | 0) | 0; - return ((i2 | 0) == 0 ? i1 : i3) | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__BracedRangeExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__BracedRangeExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__BracedRangeExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2, $3); } -function _out_728(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - if (!(HEAP32[i1 >> 2] & 32)) ___fwritex(i2, i3, i1) | 0; - return; +function std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____end_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____29($1 + 8 | 0, std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____end_28_29($0)) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZN6vision25DoGScaleInvariantDetector16setEdgeThresholdEf(i1, d2) { - i1 = i1 | 0; - d2 = +d2; - HEAPF32[i1 + 56 >> 2] = d2; - return; +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___reserve_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($0); + label$1: { + label$2: { + if ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___isInline_28_29_20const($0)) { + $2 = dlmalloc($1 << 2); + if (!$2) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__Node___20std____2__copy__28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29(HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + HEAP32[$0 >> 2] = $2; + break label$2; + } + $2 = dlrealloc(HEAP32[$0 >> 2], $1 << 2); + HEAP32[$0 >> 2] = $2; + if (!$2) { + break label$1; + } + } + HEAP32[$0 + 8 >> 2] = ($1 << 2) + $2; + HEAP32[$0 + 4 >> 2] = ($3 << 2) + $2; + return; + } + std__terminate_28_29(); + abort(); } -function __ZN10__cxxabiv121__vmi_class_type_infoD0Ev(i1) { - i1 = i1 | 0; - __ZN10__cxxabiv116__shim_type_infoD2Ev(i1); - __ZdlPv(i1); - return; +function __lshrti3($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + label$1: { + if ($5 & 64) { + $7 = $4; + $8 = $3; + $9 = $5 + -64 | 0; + $6 = $9 & 31; + if (($9 & 63) >>> 0 >= 32) { + $1 = $7 >>> $6 | 0; + } else { + $10 = $7 >>> $6 | 0; + $1 = ((1 << $6) - 1 & $7) << 32 - $6 | $8 >>> $6; + } + $2 = $10; + $3 = 0; + $4 = 0; + break label$1; + } + if (!$5) { + break label$1; + } + $10 = $4; + $7 = $3; + $9 = 64 - $5 | 0; + $6 = $9 & 31; + if (($9 & 63) >>> 0 >= 32) { + $8 = $7 << $6; + $11 = 0; + } else { + $8 = (1 << $6) - 1 & $7 >>> 32 - $6 | $10 << $6; + $11 = $7 << $6; + } + $12 = $8; + $8 = $2; + $10 = $1; + $7 = 0; + $9 = $5; + $6 = $9 & 31; + if (($9 & 63) >>> 0 >= 32) { + $9 = $8 >>> $6 | 0; + } else { + $7 = $8 >>> $6 | 0; + $9 = ((1 << $6) - 1 & $8) << 32 - $6 | $10 >>> $6; + } + $10 = $7; + $8 = $11; + $1 = $8 | $9; + $7 = $12; + $10 = $7 | $10; + $2 = $10; + $10 = $4; + $7 = $3; + $8 = 0; + $9 = $5; + $6 = $9 & 31; + if (($9 & 63) >>> 0 >= 32) { + $3 = $10 >>> $6 | 0; + } else { + $8 = $10 >>> $6 | 0; + $3 = ((1 << $6) - 1 & $10) << 32 - $6 | $7 >>> $6; + } + $4 = $8; + } + $7 = $0; + HEAP32[$7 >> 2] = $1; + $8 = $2; + HEAP32[$7 + 4 >> 2] = $8; + HEAP32[$7 + 8 >> 2] = $3; + $8 = $4; + HEAP32[$7 + 12 >> 2] = $8; +} + +function $28anonymous_20namespace_29__itanium_demangle__VendorExtQualType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__VendorExtQualType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 24); + $1 = HEAP32[$1 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + $6 = HEAP32[$2 >> 2]; + HEAP32[$4 + 8 >> 2] = $6; + HEAP32[$4 + 12 >> 2] = $5; + $2 = HEAP32[$3 >> 2]; + HEAP32[$4 >> 2] = $6; + HEAP32[$4 + 4 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__VendorExtQualType__VendorExtQualType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $4, $2); + __stack_pointer = $4 + 16 | 0; + return $1; +} + +function arImageProcLumaHistAndOtsu($0, $1, $2) { + var $3 = 0, $4 = Math_fround(0), $5 = 0, $6 = Math_fround(0), $7 = Math_fround(0), $8 = Math_fround(0), $9 = Math_fround(0), $10 = Math_fround(0), $11 = 0, $12 = Math_fround(0); + if ((arImageProcLumaHist($0, $1) | 0) < 0) { + return -1; + } + $1 = 1; + $3 = 1; + while (1) { + $8 = Math_fround($8 + Math_fround(Math_imul(HEAP32[(($1 << 2) + $0 | 0) + 12 >> 2], $1) >>> 0)); + $1 = $1 + 1 | 0; + $3 = ($3 & 255) + 1 | 0; + if (($3 | 0) == ($3 & 255)) { + continue; + } + break; + } + $12 = Math_fround(Math_imul(HEAP32[$0 + 8 >> 2], HEAP32[$0 + 4 >> 2]) | 0); + $1 = 0; + $3 = 0; + while (1) { + label$4: { + $5 = HEAP32[(($1 << 2) + $0 | 0) + 12 >> 2]; + $6 = Math_fround($6 + Math_fround($5 >>> 0)); + if ($6 != Math_fround(0)) { + $4 = Math_fround($12 - $6); + if ($4 == Math_fround(0)) { + break label$4; + } + $7 = Math_fround($7 + Math_fround(Math_imul($1, $5) >>> 0)); + $9 = Math_fround(Math_fround($7 / $6) - Math_fround(Math_fround($8 - $7) / $4)); + $4 = Math_fround($9 * Math_fround($9 * Math_fround($6 * $4))); + $5 = $10 < $4; + $11 = $5 ? $1 : $11; + $10 = $5 ? $4 : $10; + } + $1 = $1 + 1 | 0; + $3 = ($3 & 255) + 1 | 0; + if (($3 | 0) == ($3 & 255)) { + continue; + } + } + break; + } + HEAP8[$2 | 0] = $11; + return 0; } -function __ZN10__cxxabiv112_GLOBAL__N_110save_valueIjED2Ev(i1) { - i1 = i1 | 0; - HEAP32[HEAP32[i1 >> 2] >> 2] = HEAP32[i1 + 4 >> 2]; - return; +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___reserve_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $3 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___size_28_29_20const($0); + label$1: { + label$2: { + if ($28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___isInline_28_29_20const($0)) { + $2 = dlmalloc($1 << 2); + if (!$2) { + break label$1; + } + $28anonymous_20namespace_29__itanium_demangle__Node___20std____2__copy__28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29(HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + HEAP32[$0 >> 2] = $2; + break label$2; + } + $2 = dlrealloc(HEAP32[$0 >> 2], $1 << 2); + HEAP32[$0 >> 2] = $2; + if (!$2) { + break label$1; + } + } + HEAP32[$0 + 8 >> 2] = ($1 << 2) + $2; + HEAP32[$0 + 4 >> 2] = ($3 << 2) + $2; + return; + } + std__terminate_28_29(); + abort(); } -function ___udivdi3(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - return ___udivmoddi4(i1, i2, i3, i4, 0) | 0; +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____clear_28_29($0) { + var $1 = 0, $2 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______invalidate_all_iterators_28_29($0); + label$1: { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_28_29_20const($0)) { + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_28_29($0); + HEAP8[$1 + 15 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($2, $1 + 15 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_size_28unsigned_20long_29($0, 0); + break label$1; + } + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_28_29($0); + HEAP8[$1 + 14 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($2, $1 + 14 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_short_size_28unsigned_20long_29($0, 0); + } + __stack_pointer = $1 + 16 | 0; } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9underflowEv(i1) { - i1 = i1 | 0; - return __ZNSt3__211char_traitsIwE3eofEv() | 0; +function void_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________construct_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______vector_28_29($1); } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9underflowEv(i1) { - i1 = i1 | 0; - return __ZNSt3__211char_traitsIcE3eofEv() | 0; +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float______ConstructTransaction___ConstructTransaction_28std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($4 | 0)) { + std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float______ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_vision__Point2d_float_____construct_vision__Point2d_float__2c_20void__28std____2__allocator_vision__Point2d_float____2c_20vision__Point2d_float___29(std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______alloc_28_29($0), vision__Point2d_float___20std____2____to_address_vision__Point2d_float___28vision__Point2d_float___29($1)); + $1 = $1 + 8 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; + } } -function __ZN10__cxxabiv120__si_class_type_infoD0Ev(i1) { - i1 = i1 | 0; - __ZN10__cxxabiv116__shim_type_infoD2Ev(i1); - __ZdlPv(i1); - return; +function arMatrixMul($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + $11 = -1; + label$1: { + $5 = HEAP32[$1 + 8 >> 2]; + if (($5 | 0) != HEAP32[$2 + 4 >> 2]) { + break label$1; + } + $3 = HEAP32[$0 + 4 >> 2]; + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + break label$1; + } + $6 = HEAP32[$0 + 8 >> 2]; + if (($6 | 0) != HEAP32[$2 + 8 >> 2]) { + break label$1; + } + $11 = 0; + $12 = ($3 | 0) > 0 ? $3 : 0; + $13 = ($6 | 0) > 0 ? $6 : 0; + $14 = ($5 | 0) > 0 ? $5 : 0; + $4 = HEAP32[$0 >> 2]; + while (1) { + if (($8 | 0) == ($12 | 0)) { + break label$1; + } + $15 = Math_imul($5, $8); + $7 = 0; + while (1) { + if (($7 | 0) != ($13 | 0)) { + HEAP32[$4 >> 2] = 0; + HEAP32[$4 + 4 >> 2] = 0; + $3 = HEAP32[$2 >> 2] + ($7 << 3) | 0; + $9 = HEAP32[$1 >> 2] + ($15 << 3) | 0; + $0 = 0; + $10 = 0; + while (1) { + if (($0 | 0) != ($14 | 0)) { + $10 = HEAPF64[$9 >> 3] * HEAPF64[$3 >> 3] + $10; + HEAPF64[$4 >> 3] = $10; + $0 = $0 + 1 | 0; + $9 = $9 + 8 | 0; + $3 = ($6 << 3) + $3 | 0; + continue; + } + break; + } + $7 = $7 + 1 | 0; + $4 = $4 + 8 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + } + return $11; +} + +function ar2CreateHandleSub($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $4 = dlmalloc(13732); + if ($4) { + label$2: { + HEAP32[$4 + 40 >> 2] = 1058642330; + HEAP32[$4 + 44 >> 2] = 1073741824; + HEAP32[$4 + 32 >> 2] = 11; + HEAP32[$4 + 36 >> 2] = 10; + HEAP32[$4 + 24 >> 2] = 25; + HEAP32[$4 + 28 >> 2] = 11; + HEAP32[$4 + 8 >> 2] = $2; + HEAP32[$4 + 4 >> 2] = $1; + HEAP32[$4 + 20 >> 2] = $0; + if (($3 | 0) == -1) { + $3 = threadGetCPU(); + } + $3 = ($3 | 0) > 1 ? $3 : 1; + $0 = $3 >>> 0 < 8 ? $3 : 8; + HEAP32[$4 + 13280 >> 2] = $0; + HEAP32[$5 >> 2] = $0; + arLog(0, 1, 2632, $5); + $1 = Math_imul($1, $2); + $3 = 0; + while (1) { + if (($0 | 0) > ($3 | 0)) { + $0 = Math_imul($3, 52) + $4 | 0; + $2 = dlmalloc($1); + HEAP32[$0 + 13300 >> 2] = $2; + if (!$2) { + break label$2; + } + HEAP32[$0 + 13304 >> 2] = 0; + wasm2js_i32$0 = (($3 << 2) + $4 | 0) + 13700 | 0, wasm2js_i32$1 = threadInit($3, $0 + 13284 | 0, 2), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $3 = $3 + 1 | 0; + $0 = HEAP32[$4 + 13280 >> 2]; + continue; + } + break; + } + __stack_pointer = $5 + 16 | 0; + return $4; + } + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); } -function __GLOBAL__sub_I_ARToolKitJS_cpp() { - ___cxx_global_var_init(); - ___cxx_global_var_init_1(); - ___cxx_global_var_init_37(); - return; -} +function void_20std____2__vector_int_2c_20std____2__allocator_int______push_back_slow_path_int_20const___28int_20const__29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0); + $2 = std____2____split_buffer_int_2c_20std____2__allocator_int_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_int___29($3 + 8 | 0, std____2__vector_int_2c_20std____2__allocator_int______recommend_28unsigned_20long_29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0) + 1 | 0), std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0), $4); + void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20int_20const__2c_20void__28std____2__allocator_int___2c_20int__2c_20int_20const__29($4, int__20std____2____to_address_int__28int__29(HEAP32[$2 + 8 >> 2]), $1); + HEAP32[$2 + 8 >> 2] = HEAP32[$2 + 8 >> 2] + 4; + std____2__vector_int_2c_20std____2__allocator_int______swap_out_circular_buffer_28std____2____split_buffer_int_2c_20std____2__allocator_int_____29($0, $2); + std____2____split_buffer_int_2c_20std____2__allocator_int________split_buffer_28_29($2); + __stack_pointer = $3 + 32 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SyntheticTemplateParamName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + label$3: { + switch (HEAP32[$0 + 8 >> 2]) { + case 0: + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 34692); + break label$2; -function __ZN10emscripten8internal11LightTypeIDINSt3__212basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEEE3getEv() { - return 11216; -} + case 1: + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 35198); + break label$2; -function __ZN10emscripten8internal11LightTypeIDINSt3__212basic_stringIhNS2_11char_traitsIhEENS2_9allocatorIhEEEEE3getEv() { - return 11240; -} + case 2: + break label$3; -function __ZN10emscripten8internal11LightTypeIDINSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEE3getEv() { - return 11080; + default: + break label$1; + } + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 34627); + } + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + } + $0 = HEAP32[$0 + 12 >> 2]; + if ($0) { + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28unsigned_20int_29($1, $0 - 1 | 0); + } + __stack_pointer = $2 + 32 | 0; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________unique_ptr_true_2c_20void__28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1 + 8 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator____AbstractManglingParser_28_29($0) { + $28anonymous_20namespace_29__DefaultAllocator___DefaultAllocator_28_29($0 + 408 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul____PODSmallVector_28_29($0 + 360 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul____PODSmallVector_28_29($0 + 332 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____PODSmallVector_28_29($0 + 288 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul____PODSmallVector_28_29($0 + 148 | 0); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul____PODSmallVector_28_29($0 + 8 | 0); + return $0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______bucket_count_28_29_20const($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________size_28_29_20const(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________get_deleter_28_29_20const($0)); +} + +function merged_2v_upsample($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 $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $7 = HEAP32[$0 + 476 >> 2]; + label$1: { + label$2: { + if (HEAP32[$7 + 36 >> 2]) { + jcopy_sample_rows($7 + 32 | 0, 0, (HEAP32[$5 >> 2] << 2) + $4 | 0, 0, 1, HEAP32[$7 + 40 >> 2]); + HEAP32[$7 + 36 >> 2] = 0; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + HEAP32[$7 + 44 >> 2] = HEAP32[$7 + 44 >> 2] - 1; + break label$2; + } + $8 = HEAP32[$7 + 44 >> 2]; + $9 = HEAP32[$5 >> 2]; + $10 = ($9 << 2) + $4 | 0; + HEAP32[$3 + 8 >> 2] = HEAP32[$10 >> 2]; + $4 = $6 - $9 | 0; + $4 = $4 >>> 0 > $8 >>> 0 ? $8 : $4; + $4 = $4 >>> 0 < 2 ? $4 : 2; + if ($4 >>> 0 >= 2) { + $6 = HEAP32[$10 + 4 >> 2]; + } else { + HEAP32[$7 + 36 >> 2] = 1; + $6 = HEAP32[$7 + 32 >> 2]; + } + HEAP32[$3 + 12 >> 2] = $6; + FUNCTION_TABLE[HEAP32[$7 + 12 >> 2]]($0, $1, HEAP32[$2 >> 2], $3 + 8 | 0); + $0 = HEAP32[$7 + 36 >> 2]; + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $4; + HEAP32[$7 + 44 >> 2] = HEAP32[$7 + 44 >> 2] - $4; + if ($0) { + break label$1; + } + } + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + 1; + } + __stack_pointer = $3 + 16 | 0; } -function _largest_input_value(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return (((i1 << 1 | 1) * 255 | 0) + i2 | 0) / (i2 << 1 | 0) | 0 | 0; +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___popTrailingNodeArray_28unsigned_20long_29($0, $1, $2) { + var $3 = 0; + $3 = $1 + 8 | 0; + $28anonymous_20namespace_29__itanium_demangle__NodeArray_20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___makeNodeArray__28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___begin_28_29($3) + ($2 << 2) | 0, $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___end_28_29($3)); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___dropBack_28unsigned_20long_29($3, $2); } -function __ZNSt3__27codecvtIwc11__mbstate_tED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__27codecvtIwc11__mbstate_tED2Ev(i1); - __ZdlPv(i1); - return; +function icpUpdateMat($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $2 = __stack_pointer - 256 | 0; + __stack_pointer = $2; + icpGetQ_from_S($2 + 192 | 0, $1); + icpGetMat_from_Q($2 + 96 | 0, $2 + 192 | 0); + while (1) { + if (($6 | 0) == 3) { + while (1) { + $1 = 0; + if (($7 | 0) == 3) { + __stack_pointer = $2 + 256 | 0; + } else { + while (1) { + if (($1 | 0) != 4) { + $4 = $1 << 3; + $3 = $7 << 5; + HEAPF64[$4 + ($3 + $0 | 0) >> 3] = HEAPF64[($2 + $3 | 0) + $4 >> 3]; + $1 = $1 + 1 | 0; + continue; + } + break; + } + $7 = $7 + 1 | 0; + continue; + } + break; + } + } else { + $4 = $6 << 5; + $5 = $4 + $0 | 0; + $8 = HEAPF64[$5 + 16 >> 3]; + $9 = HEAPF64[$5 + 8 >> 3]; + $10 = HEAPF64[$5 >> 3]; + $1 = 0; + while (1) { + if (($1 | 0) != 4) { + $3 = $1 << 3; + $11 = $3 + ($2 + $4 | 0) | 0; + $3 = ($2 + 96 | 0) + $3 | 0; + HEAPF64[$11 >> 3] = $8 * HEAPF64[$3 - -64 >> 3] + ($10 * HEAPF64[$3 >> 3] + $9 * HEAPF64[$3 + 32 >> 3]); + $1 = $1 + 1 | 0; + continue; + } + break; + } + $1 = $2 + $4 | 0; + HEAPF64[$1 + 24 >> 3] = HEAPF64[$5 + 24 >> 3] + HEAPF64[$1 + 24 >> 3]; + $6 = $6 + 1 | 0; + continue; + } + break; + } + return 0; } -function __ZN6vision14BinarykMedoidsILi96EE16setNumHypothesesEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 + 8 >> 2] = i2; - return; +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______construct_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple___2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4) { + void_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____construct_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4); +} + +function quantize3_ord_dither($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0; + if (($3 | 0) > 0) { + $11 = HEAP32[$0 + 112 >> 2]; + $4 = HEAP32[$0 + 484 >> 2]; + $0 = HEAP32[$4 + 24 >> 2]; + $12 = HEAP32[$0 + 8 >> 2]; + $13 = HEAP32[$0 + 4 >> 2]; + $14 = HEAP32[$0 >> 2]; + $6 = HEAP32[$4 + 48 >> 2]; + while (1) { + if ($11) { + $0 = $6 << 6; + $15 = $0 + HEAP32[$4 + 60 >> 2] | 0; + $16 = HEAP32[$4 + 56 >> 2] + $0 | 0; + $17 = HEAP32[$4 + 52 >> 2] + $0 | 0; + $5 = $7 << 2; + $0 = HEAP32[$5 + $1 >> 2]; + $5 = HEAP32[$2 + $5 >> 2]; + $8 = 0; + $9 = $11; + while (1) { + $10 = $8 << 2; + HEAP8[$5 | 0] = (HEAPU8[(HEAP32[$16 + $10 >> 2] + HEAPU8[$0 + 1 | 0] | 0) + $13 | 0] + HEAPU8[(HEAP32[$10 + $17 >> 2] + HEAPU8[$0 | 0] | 0) + $14 | 0] | 0) + HEAPU8[(HEAP32[$10 + $15 >> 2] + HEAPU8[$0 + 2 | 0] | 0) + $12 | 0]; + $5 = $5 + 1 | 0; + $0 = $0 + 3 | 0; + $8 = $8 + 1 & 15; + $9 = $9 - 1 | 0; + if ($9) { + continue; + } + break; + } + } + $6 = $6 + 1 & 15; + HEAP32[$4 + 48 >> 2] = $6; + $7 = $7 + 1 | 0; + if (($7 | 0) != ($3 | 0)) { + continue; + } + break; + } + } } -function __ZN6vision10DoGPyramidD2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__213__vector_baseIN6vision5ImageENS_9allocatorIS2_EEED2Ev(i1); - return; +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______29($0, $1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20unsigned_20long_29(std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___________alloc_28_29($0), $1, HEAP32[std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________size_28_29($0) >> 2]); } -function _reset_error_mgr(i1) { - i1 = i1 | 0; - i1 = HEAP32[i1 >> 2] | 0; - HEAP32[i1 + 108 >> 2] = 0; - HEAP32[i1 + 20 >> 2] = 0; - return; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_date_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const($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; + $6 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 8 >> 2] + 20 >> 2]]($0 + 8 | 0) | 0; + return std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_20const__2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($6), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($6) + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($6) | 0) | 0; } -function __ZNSt3__26locale5__imp11make_globalEv() { - __ZNSt3__26localeC2ERKS0_(58260, __ZNSt3__26locale7classicEv() | 0); - return 58260; +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______construct_at_end_28unsigned_20long_2c_20unsigned_20char_20const__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $3 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____ConstructTransaction___ConstructTransaction_28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____2c_20unsigned_20long_29($4, $0, $1); + $1 = HEAP32[$3 + 4 >> 2]; + $5 = HEAP32[$3 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($5 | 0)) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____ConstructTransaction____ConstructTransaction_28_29($3); + __stack_pointer = $4 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_unsigned_20char____construct_unsigned_20char_2c_20unsigned_20char_20const__2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20char_20const__29(std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0), unsigned_20char__20std____2____to_address_unsigned_20char__28unsigned_20char__29($1), $2); + $1 = $1 + 1 | 0; + HEAP32[$3 + 4 >> 2] = $1; + continue; + } + break; + } } -function __ZNSt11logic_errorD2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 17420; - __ZNSt3__218__libcpp_refstringD2Ev(i1 + 4 | 0); - return; +function $28anonymous_20namespace_29__itanium_demangle__BinaryExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__BinaryExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 24); + $1 = HEAP32[$1 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + $6 = HEAP32[$2 >> 2]; + HEAP32[$4 + 8 >> 2] = $6; + HEAP32[$4 + 12 >> 2] = $5; + $2 = HEAP32[$3 >> 2]; + HEAP32[$4 >> 2] = $6; + HEAP32[$4 + 4 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__BinaryExpr__BinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $4, $2); + __stack_pointer = $4 + 16 | 0; + return $1; +} + +function vision__ScopedTimer___ScopedTimer_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_f64$0 = 0; + $1 = __stack_pointer - 48 | 0; + __stack_pointer = $1; + vision__Timer__stop_28_29($0); + $3 = vision__Logger__getInstance_28_29(); + vision__get_pretty_time_28_29($1 + 32 | 0); + $4 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($1 + 32 | 0); + $2 = $0 + 16 | 0; + $5 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($2); + wasm2js_i32$0 = $1, wasm2js_f64$0 = vision__Timer__duration_in_milliseconds_28_29_20const($0), + HEAPF64[wasm2js_i32$0 + 16 >> 3] = wasm2js_f64$0; + HEAP32[$1 + 12 >> 2] = $5; + HEAP32[$1 + 8 >> 2] = 27893; + HEAP32[$1 + 4 >> 2] = $4; + HEAP32[$1 >> 2] = 7726; + vision__Logger__write_28vision__LoggerPriorityLevel_2c_20char_20const__2c_20____29($3, 8, 6512, $1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($1 + 32 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($2); + vision__Timer___Timer_28_29($0); + __stack_pointer = $1 + 48 | 0; + return $0; +} + +function updateCandidate($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0; + $8 = HEAP32[$3 >> 2]; + if ($8) { + $9 = ($8 | 0) > 0 ? $8 : 0; + while (1) { + label$3: { + if (($7 | 0) != ($9 | 0)) { + if (HEAP32[($7 << 2) + $6 >> 2] >= ($2 | 0)) { + break label$3; + } + $9 = $7; + } + label$5: { + if (($8 | 0) == ($9 | 0)) { + if ($8 >>> 0 > 2) { + break label$5; + } + $7 = $8 << 2; + HEAP32[$7 + $4 >> 2] = $0; + HEAP32[$5 + $7 >> 2] = $1; + HEAP32[$6 + $7 >> 2] = $2; + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] + 1; + return; + } + $7 = 2; + if (($8 | 0) != 3) { + HEAP32[$3 >> 2] = $8 + 1; + $7 = $8; + } + while (1) { + if (($7 | 0) > ($9 | 0)) { + $8 = $7 << 2; + $7 = $7 - 1 | 0; + $3 = $7 << 2; + HEAP32[$8 + $4 >> 2] = HEAP32[$4 + $3 >> 2]; + HEAP32[$5 + $8 >> 2] = HEAP32[$3 + $5 >> 2]; + HEAP32[$6 + $8 >> 2] = HEAP32[$3 + $6 >> 2]; + continue; + } + break; + } + $7 = $7 << 2; + HEAP32[$7 + $4 >> 2] = $0; + HEAP32[$5 + $7 >> 2] = $1; + HEAP32[$6 + $7 >> 2] = $2; + } + return; + } + $7 = $7 + 1 | 0; + continue; + } + } + HEAP32[$4 >> 2] = $0; + HEAP32[$5 >> 2] = $1; + HEAP32[$6 >> 2] = $2; + HEAP32[$3 >> 2] = 1; +} + +function bool_20vision__Quadratic3Points_float__28float__2c_20float__2c_20float__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2, $3, $4, $5) { + var $6 = Math_fround(0), $7 = Math_fround(0), $8 = Math_fround(0), $9 = Math_fround(0), $10 = Math_fround(0), $11 = Math_fround(0), $12 = 0; + $10 = HEAPF32[$5 >> 2]; + $6 = HEAPF32[$3 >> 2]; + $7 = Math_fround($10 - $6); + $8 = HEAPF32[$4 >> 2]; + $11 = Math_fround(Math_fround($10 - $8) * $7); + $10 = Math_fround($6 - $8); + $7 = Math_fround($10 * $7); + $12 = $11 == Math_fround(0) | $7 == Math_fround(0) | $10 == Math_fround(0); + label$1: { + if ($12) { + HEAP32[$0 >> 2] = 0; + HEAP32[$1 >> 2] = 0; + break label$1; + } + $9 = HEAPF32[$4 + 4 >> 2]; + $9 = Math_fround(Math_fround(Math_fround(HEAPF32[$5 + 4 >> 2] - $9) / $11) - Math_fround(Math_fround(HEAPF32[$3 + 4 >> 2] - $9) / $7)); + HEAPF32[$0 >> 2] = $9; + $7 = Math_fround($8 * $8); + $8 = Math_fround($6 * $6); + $6 = Math_fround(Math_fround(Math_fround($9 * Math_fround($7 - $8)) + Math_fround(HEAPF32[$3 + 4 >> 2] - HEAPF32[$4 + 4 >> 2])) / $10); + HEAPF32[$1 >> 2] = $6; + $9 = Math_fround(Math_fround(HEAPF32[$3 + 4 >> 2] - Math_fround(HEAPF32[$0 >> 2] * $8)) - Math_fround($6 * HEAPF32[$3 >> 2])); + } + HEAPF32[$2 >> 2] = $9; + return !$12; +} + +function std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______operator_28_29_28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____29($0, $1) { + if (HEAPU8[$0 + 4 | 0]) { + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______destroy_std____2__pair_int_20const_2c_20arController__2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__pair_int_20const_2c_20arController___29(HEAP32[$0 >> 2], std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20arController______get_ptr_28std____2____hash_value_type_int_2c_20arController___29($1 + 8 | 0)); + } + if ($1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20unsigned_20long_29(HEAP32[$0 >> 2], $1, 1); + } +} + +function $28anonymous_20namespace_29__itanium_demangle__MemberExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__MemberExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 24); + $1 = HEAP32[$1 >> 2]; + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 8 | 0, 37658); + $2 = HEAP32[$2 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$3 >> 2] = HEAP32[$4 >> 2]; + HEAP32[$3 + 4 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__MemberExpr__MemberExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $3, $2); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____find_28int_20const__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = HEAP32[std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____29($2 + 8 | 0, std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____20std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____find_int__28int_20const__29($0, $1)) >> 2]; + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char____put_28char_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry__sentry_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29($2 + 8 | 0, $0); + label$1: { + if (!std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry__operator_20bool_28_29_20const($2 + 8 | 0)) { + break label$1; + } + $3 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____ostreambuf_iterator_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29($2, $0); + std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28char_29(std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29($3), $1); + if (!std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____failed_28_29_20const($3)) { + break label$1; + } + std____2__basic_ios_char_2c_20std____2__char_traits_char____setstate_28unsigned_20int_29(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0, 1); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry___sentry_28_29($2 + 8 | 0); + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function void_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______construct_one_at_end_vision__Point3d_float___28vision__Point3d_float____29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______ConstructTransaction___ConstructTransaction_28std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20unsigned_20long_29($3, $0, 1); + void_20std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____construct_vision__Point3d_float__2c_20vision__Point3d_float__2c_20void__28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___2c_20vision__Point3d_float____29(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______alloc_28_29($0), vision__Point3d_float___20std____2____to_address_vision__Point3d_float___28vision__Point3d_float___29(HEAP32[$2 + 4 >> 2]), $1); + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 12; + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____ConstructTransaction___ConstructTransaction_28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($4 | 0)) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____construct_vision__FeaturePoint_2c_20void__28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__29(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29($0), vision__FeaturePoint__20std____2____to_address_vision__FeaturePoint__28vision__FeaturePoint__29($1)); + $1 = $1 + 20 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; + } } -function __ZN10__cxxabiv117__class_type_infoD0Ev(i1) { - i1 = i1 | 0; - __ZN10__cxxabiv116__shim_type_infoD2Ev(i1); - __ZdlPv(i1); - return; +function icpGetJ_U_Xc($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + $7 = -1; + $5 = HEAPF64[$2 + 16 >> 3]; + $3 = HEAPF64[$1 + 64 >> 3]; + $8 = HEAPF64[$2 >> 3]; + $9 = HEAPF64[$2 + 8 >> 3]; + $4 = HEAPF64[$1 + 88 >> 3] + (HEAPF64[$1 + 80 >> 3] * $5 + ($3 * $8 + $9 * HEAPF64[$1 + 72 >> 3])); + if ($4 != 0) { + $11 = HEAPF64[$1 + 56 >> 3]; + $2 = $1 + 48 | 0; + $12 = HEAPF64[$2 >> 3]; + $7 = $1 + 40 | 0; + $13 = HEAPF64[$7 >> 3]; + $14 = HEAPF64[$1 + 32 >> 3]; + $6 = HEAPF64[$1 >> 3]; + $10 = $6 * $4; + $6 = HEAPF64[$1 + 24 >> 3] + (HEAPF64[$1 + 16 >> 3] * $5 + ($6 * $8 + $9 * HEAPF64[$1 + 8 >> 3])); + $10 = $10 - $6 * $3; + $3 = $4 * $4; + HEAPF64[$0 >> 3] = $10 / $3; + HEAPF64[$0 + 8 >> 3] = (HEAPF64[$1 + 8 >> 3] * $4 - $6 * HEAPF64[$1 + 72 >> 3]) / $3; + HEAPF64[$0 + 16 >> 3] = (HEAPF64[$1 + 16 >> 3] * $4 - $6 * HEAPF64[$1 + 80 >> 3]) / $3; + $5 = $11 + ($12 * $5 + ($14 * $8 + $9 * $13)); + HEAPF64[$0 + 24 >> 3] = (HEAPF64[$1 + 32 >> 3] * $4 - $5 * HEAPF64[$1 + 64 >> 3]) / $3; + HEAPF64[$0 + 32 >> 3] = (HEAPF64[$1 + 40 >> 3] * $4 - $5 * HEAPF64[$1 + 72 >> 3]) / $3; + HEAPF64[$0 + 40 >> 3] = (HEAPF64[$1 + 48 >> 3] * $4 - $5 * HEAPF64[$1 + 80 >> 3]) / $3; + $7 = 0; + } + return $7; +} + +function emscripten__internal__Invoker_int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____invoke_28int_20_28__29_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___29_2c_20emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void____unnamed___29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void___fromWireType_28emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void____unnamed___29($2, $1); + wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0]($2) | 0, HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $1 = emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29($2 + 12 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($2); + __stack_pointer = $2 + 16 | 0; + return $1 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__CastExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b17_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b17_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 24); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 8 | 0, 29422); + $2 = HEAP32[$2 >> 2]; + $1 = HEAP32[$1 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$3 >> 2] = HEAP32[$4 >> 2]; + HEAP32[$3 + 4 >> 2] = $5; + $2 = $28anonymous_20namespace_29__itanium_demangle__CastExpr__CastExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $3, $1, $2); + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__CastExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b13_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b13_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 24); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 8 | 0, 29451); + $2 = HEAP32[$2 >> 2]; + $1 = HEAP32[$1 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$3 >> 2] = HEAP32[$4 >> 2]; + HEAP32[$3 + 4 >> 2] = $5; + $2 = $28anonymous_20namespace_29__itanium_demangle__CastExpr__CastExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $3, $1, $2); + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__CastExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 24); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 8 | 0, 29439); + $2 = HEAP32[$2 >> 2]; + $1 = HEAP32[$1 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$3 >> 2] = HEAP32[$4 >> 2]; + HEAP32[$3 + 4 >> 2] = $5; + $2 = $28anonymous_20namespace_29__itanium_demangle__CastExpr__CastExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $3, $1, $2); + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__CastExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 24); + $4 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 8 | 0, 29411); + $2 = HEAP32[$2 >> 2]; + $1 = HEAP32[$1 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + HEAP32[$3 >> 2] = HEAP32[$4 >> 2]; + HEAP32[$3 + 4 >> 2] = $5; + $2 = $28anonymous_20namespace_29__itanium_demangle__CastExpr__CastExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $3, $1, $2); + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function vision__OrientationAssignment__alloc_28unsigned_20long_2c_20unsigned_20long_2c_20int_2c_20int_2c_20int_2c_20float_2c_20float_2c_20int_2c_20float_29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { + var $10 = 0, $11 = 0, $12 = 0; + HEAPF32[$0 + 24 >> 2] = $9; + HEAP32[$0 + 20 >> 2] = $8; + HEAPF32[$0 + 16 >> 2] = $7; + HEAPF32[$0 + 12 >> 2] = $6; + HEAP32[$0 + 8 >> 2] = $5; + HEAP32[$0 + 4 >> 2] = $4; + HEAP32[$0 >> 2] = $3; + std____2__vector_float_2c_20std____2__allocator_float____resize_28unsigned_20long_29($0 + 28 | 0, $5); + $11 = $0 + 40 | 0; + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____resize_28unsigned_20long_29($11, Math_imul(HEAP32[$0 + 4 >> 2], HEAP32[$0 >> 2])); + label$1: while (1) { + if (($3 | 0) != ($10 | 0)) { + $5 = $2 >>> $10 | 0; + $8 = $1 >>> $10 | 0; + $12 = Math_imul($4, $10); + $0 = 0; + while (1) if (($0 | 0) == ($4 | 0)) { + $10 = $10 + 1 | 0; + continue label$1; + } else { + vision__Image__alloc_28vision__ImageType_2c_20unsigned_20long_2c_20unsigned_20long_2c_20int_2c_20unsigned_20long_29(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($11, $0 + $12 | 0), 2, $8, $5, -1, 2); + $0 = $0 + 1 | 0; + continue; + } + } + break; + } } -function b9(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - nullFunc_iiiiii(9); - return 0; +function std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__Node_96_____29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96_________compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__Node_96______28std__nullptr_t___2c_20std____2__allocator_vision__Node_96_____29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_vision__Node_96______allocate_28std____2__allocator_vision__Node_96_____2c_20unsigned_20long_29(std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = ($2 << 2) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 2) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__MemberExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__MemberExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 24); + $1 = HEAP32[$1 >> 2]; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($4 + 8 | 0, $2); + $3 = HEAP32[$3 >> 2]; + $5 = HEAP32[$2 + 4 >> 2]; + HEAP32[$4 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$4 + 4 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__MemberExpr__MemberExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $4, $3); + __stack_pointer = $4 + 16 | 0; + return $1; +} + +function vision__HoughSimilarityVoting__mapVoteToBin_28float__2c_20float__2c_20float__2c_20float__2c_20float_2c_20float_2c_20float_2c_20float_29_20const($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var $9 = Math_fround(0), $10 = 0, wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $10 = HEAP32[$0 + 52 >> 2]; + $9 = HEAPF32[$0 + 20 >> 2]; + wasm2js_i32$0 = $1, wasm2js_f32$0 = Math_fround(float_20vision__SafeDivision_float__28float_2c_20float_29(Math_fround($5 - $9), Math_fround(HEAPF32[$0 + 24 >> 2] - $9)) * Math_fround($10 | 0)), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + $1 = HEAP32[$0 + 56 >> 2]; + $5 = HEAPF32[$0 + 28 >> 2]; + wasm2js_i32$0 = $2, wasm2js_f32$0 = Math_fround(float_20vision__SafeDivision_float__28float_2c_20float_29(Math_fround($6 - $5), Math_fround(HEAPF32[$0 + 32 >> 2] - $5)) * Math_fround($1 | 0)), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + HEAPF32[$3 >> 2] = (+$7 + 3.141592653589793) * .15915494309189535 * +HEAP32[$0 + 60 >> 2]; + $1 = HEAP32[$0 + 64 >> 2]; + $5 = HEAPF32[$0 + 36 >> 2]; + wasm2js_i32$0 = $4, wasm2js_f32$0 = Math_fround(float_20vision__SafeDivision_float__28float_2c_20float_29(Math_fround($8 - $5), Math_fround(HEAPF32[$0 + 40 >> 2] - $5)) * Math_fround($1 | 0)), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0), std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0) + (std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____capacity_28_29_20const($0) << 2) | 0, std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0) + (std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____capacity_28_29_20const($0) << 2) | 0, std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0) + ($1 << 2) | 0); +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0), std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0) + (std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____capacity_28_29_20const($0) << 2) | 0, std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0) + ($1 << 2) | 0, std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0) + (std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____size_28_29_20const($0) << 2) | 0); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float__________node_alloc_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______second_28_29($0 + 8 | 0); +} + +function __ashlti3($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; + label$1: { + if ($5 & 64) { + $7 = $2; + $8 = $1; + $5 = $5 + -64 | 0; + $6 = $5 & 31; + if (($5 & 63) >>> 0 >= 32) { + $9 = $8 << $6; + $3 = 0; + } else { + $9 = (1 << $6) - 1 & $8 >>> 32 - $6 | $7 << $6; + $3 = $8 << $6; + } + $4 = $9; + $1 = 0; + $2 = 0; + break label$1; + } + if (!$5) { + break label$1; + } + $9 = $4; + $7 = $3; + $10 = $5; + $6 = $5 & 31; + if (($5 & 63) >>> 0 >= 32) { + $8 = $7 << $6; + $3 = 0; + } else { + $8 = (1 << $6) - 1 & $7 >>> 32 - $6 | $9 << $6; + $3 = $7 << $6; + } + $4 = $8; + $8 = $2; + $9 = $1; + $7 = 0; + $5 = 64 - $5 | 0; + $6 = $5 & 31; + if (($5 & 63) >>> 0 >= 32) { + $5 = $8 >>> $6 | 0; + } else { + $7 = $8 >>> $6 | 0; + $5 = ((1 << $6) - 1 & $8) << 32 - $6 | $9 >>> $6; + } + $9 = $7; + $8 = $3; + $3 = $8 | $5; + $7 = $4; + $9 = $7 | $9; + $4 = $9; + $9 = $2; + $7 = $1; + $5 = $10; + $6 = $5 & 31; + if (($5 & 63) >>> 0 >= 32) { + $8 = $7 << $6; + $1 = 0; + } else { + $8 = (1 << $6) - 1 & $7 >>> 32 - $6 | $9 << $6; + $1 = $7 << $6; + } + $2 = $8; + } + $7 = $0; + HEAP32[$7 >> 2] = $1; + $8 = $2; + HEAP32[$7 + 4 >> 2] = $8; + HEAP32[$7 + 8 >> 2] = $3; + $8 = $4; + HEAP32[$7 + 12 >> 2] = $8; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______vallocate_28unsigned_20long_29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____max_size_28_29_20const($0) >>> 0 < $1 >>> 0) { + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______throw_length_error_28_29_20const($0); + abort(); + } + $2 = std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____allocate_28std____2__allocator_vision__PriorityQueueItem_96____2c_20unsigned_20long_29(std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______alloc_28_29($0), $1); + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = $2; + wasm2js_i32$0 = std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 3) + $2 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______annotate_new_28unsigned_20long_29_20const($0, 0); +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_weekday_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const($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; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + HEAP32[$6 + 8 >> 2] = $1; + std____2__ios_base__getloc_28_29_20const($6, $3); + $1 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($6); + std____2__locale___locale_28_29($6); + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_weekdayname_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 24 | 0, $6 + 8 | 0, $2, $4, $1); + __stack_pointer = $6 + 16 | 0; + $1 = HEAP32[$6 + 8 >> 2]; + return $1 | 0; +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_monthname_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const($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; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + HEAP32[$6 + 8 >> 2] = $1; + std____2__ios_base__getloc_28_29_20const($6, $3); + $1 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($6); + std____2__locale___locale_28_29($6); + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_monthname_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 16 | 0, $6 + 8 | 0, $2, $4, $1); + __stack_pointer = $6 + 16 | 0; + $1 = HEAP32[$6 + 8 >> 2]; + return $1 | 0; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______annotate_delete_28_29_20const($0) { + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____data_28_29_20const($0), std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____data_28_29_20const($0) + (std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____capacity_28_29_20const($0) << 2) | 0, std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____data_28_29_20const($0) + (std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____size_28_29_20const($0) << 2) | 0, std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____data_28_29_20const($0) + (std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____capacity_28_29_20const($0) << 2) | 0); +} + +function std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_unsigned_20short___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_unsigned_20short____28std__nullptr_t___2c_20std____2__allocator_unsigned_20short___29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_unsigned_20short____allocate_28std____2__allocator_unsigned_20short___2c_20unsigned_20long_29(std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = ($2 << 1) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 1) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function unsigned_20int_20const__20std____2____lower_bound_std____2____less_unsigned_20int_2c_20unsigned_20long___2c_20unsigned_20int_20const__2c_20unsigned_20long__28unsigned_20int_20const__2c_20unsigned_20int_20const__2c_20unsigned_20long_20const__2c_20std____2____less_unsigned_20int_2c_20unsigned_20long___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $1 = std____2__iterator_traits_unsigned_20int_20const____difference_type_20std____2__distance_unsigned_20int_20const___28unsigned_20int_20const__2c_20unsigned_20int_20const__29($0, $1); + while (1) { + if ($1) { + $5 = std____2__enable_if_is_integral_long___value_2c_20long___type_20std____2____half_positive_long__28long_29($1); + HEAP32[$4 + 12 >> 2] = $0; + void_20std____2__advance_unsigned_20int_20const__2c_20long_2c_20long_2c_20void__28unsigned_20int_20const___2c_20long_29($4 + 12 | 0, $5); + $6 = std____2____less_unsigned_20int_2c_20unsigned_20long___operator_28_29_28unsigned_20int_20const__2c_20unsigned_20long_20const__29_20const($3, HEAP32[$4 + 12 >> 2], $2); + $1 = $6 ? ($5 ^ -1) + $1 | 0 : $5; + $0 = $6 ? HEAP32[$4 + 12 >> 2] + 4 | 0 : $0; + continue; + } + break; + } + __stack_pointer = $4 + 16 | 0; + return $0; } -function __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIDsc11__mbstate_tEEjEERT_T0_() { - HEAP32[13933] = 0; - HEAP32[13932] = 17168; - return; +function arGetTransMatRobust($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $6 = __stack_pointer - 32 | 0; + __stack_pointer = $6; + $10 = dlmalloc($4 << 4); + HEAP32[$6 + 16 >> 2] = $10; + if ($10) { + label$2: { + $11 = dlmalloc(Math_imul($4, 24)); + HEAP32[$6 + 20 >> 2] = $11; + if (!$11) { + break label$2; + } + $12 = ($4 | 0) > 0 ? $4 : 0; + while (1) { + if (($9 | 0) != ($12 | 0)) { + $7 = $9 << 4; + $8 = $10 + $7 | 0; + $7 = $2 + $7 | 0; + HEAPF64[$8 >> 3] = HEAPF64[$7 >> 3]; + HEAPF64[$8 + 8 >> 3] = HEAPF64[$7 + 8 >> 3]; + $8 = Math_imul($9, 24); + $7 = $11 + $8 | 0; + $8 = $3 + $8 | 0; + HEAPF64[$7 >> 3] = HEAPF64[$8 >> 3]; + HEAPF64[$7 + 8 >> 3] = HEAPF64[$8 + 8 >> 3]; + HEAPF64[$7 + 16 >> 3] = HEAPF64[$8 + 16 >> 3]; + $9 = $9 + 1 | 0; + continue; + } + break; + } + HEAP32[$6 + 24 >> 2] = $4; + if ((icpPointRobust(HEAP32[$0 >> 2], $6 + 16 | 0, $1, $5, $6 + 8 | 0) | 0) < 0) { + HEAP32[$6 + 8 >> 2] = 0; + HEAP32[$6 + 12 >> 2] = 1100470148; + } + dlfree(HEAP32[$6 + 16 >> 2]); + dlfree(HEAP32[$6 + 20 >> 2]); + __stack_pointer = $6 + 32 | 0; + return HEAPF64[$6 + 8 >> 3]; + } + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); } -function __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIDic11__mbstate_tEEjEERT_T0_() { - HEAP32[13935] = 0; - HEAP32[13934] = 17216; - return; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_year_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const($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; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + HEAP32[$6 + 8 >> 2] = $1; + std____2__ios_base__getloc_28_29_20const($6, $3); + $1 = std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($6); + std____2__locale___locale_28_29($6); + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_year_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $5 + 20 | 0, $6 + 8 | 0, $2, $4, $1); + __stack_pointer = $6 + 16 | 0; + $1 = HEAP32[$6 + 8 >> 2]; + return $1 | 0; +} + +function std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char______shared_ptr_pointer_28unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $1 = std____2____shared_weak_count____shared_weak_count_28long_29($0, 0); + HEAP32[$1 >> 2] = 27560; + std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char______compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char___28std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char_____2c_20std____2__allocator_unsigned_20char____29($1 + 12 | 0, std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char______compressed_pair_unsigned_20char___2c_20NullArrayDeleter_unsigned_20char___28unsigned_20char___2c_20NullArrayDeleter_unsigned_20char____29($2 + 8 | 0, $2 + 12 | 0, $2 + 24 | 0), $2 + 16 | 0); + __stack_pointer = $2 + 32 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37286); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + $4 = $0 + 12 | 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($4, $0); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 38404); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $5; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 32 | 0; +} + +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______construct_at_end_28unsigned_20long_2c_20unsigned_20char_20const__29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $1 = std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char______ConstructTransaction___ConstructTransaction_28unsigned_20char___2c_20unsigned_20long_29($3, $0 + 8 | 0, $1); + $4 = HEAP32[$1 >> 2]; + while (1) { + if (($4 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_unsigned_20char____construct_unsigned_20char_2c_20unsigned_20char_20const__2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20char_20const__29(std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______alloc_28_29($0), unsigned_20char__20std____2____to_address_unsigned_20char__28unsigned_20char__29(HEAP32[$1 >> 2]), $2); + $4 = HEAP32[$1 >> 2] + 1 | 0; + HEAP32[$1 >> 2] = $4; + continue; + } + break; + } + std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char______ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $3 + 16 | 0; } -function __ZNKSt3__29__num_getIcE12__do_widen_pERNS_8ios_baseEPc(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return 10736; +function std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__match_t___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__match_t____28std__nullptr_t___2c_20std____2__allocator_vision__match_t___29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_vision__match_t____allocate_28std____2__allocator_vision__match_t___2c_20unsigned_20long_29(std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = ($2 << 3) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 3) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; } -function __ZN6vision18BinaryFeatureStore21setNumBytesPerFeatureEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = i2; - return; +function bool_20vision__SolveNullVector8x9Destructive_float__28float__2c_20float__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 288 | 0; + __stack_pointer = $2; + label$1: { + if (!bool_20vision__OrthogonalizePivot8x9Basis0_float__28float__2c_20float__29($2, $1)) { + break label$1; + } + if (!bool_20vision__OrthogonalizePivot8x9Basis1_float__28float__2c_20float__29($2, $1)) { + break label$1; + } + if (!bool_20vision__OrthogonalizePivot8x9Basis2_float__28float__2c_20float__29($2, $1)) { + break label$1; + } + if (!bool_20vision__OrthogonalizePivot8x9Basis3_float__28float__2c_20float__29($2, $1)) { + break label$1; + } + if (!bool_20vision__OrthogonalizePivot8x9Basis4_float__28float__2c_20float__29($2, $1)) { + break label$1; + } + if (!bool_20vision__OrthogonalizePivot8x9Basis5_float__28float__2c_20float__29($2, $1)) { + break label$1; + } + if (!bool_20vision__OrthogonalizePivot8x9Basis6_float__28float__2c_20float__29($2, $1)) { + break label$1; + } + if (!bool_20vision__OrthogonalizePivot8x9Basis7_float__28float__2c_20float__29($2, $1)) { + break label$1; + } + $3 = bool_20vision__OrthogonalizeIdentity8x9_float__28float__2c_20float_20const__29($0, $2); + } + __stack_pointer = $2 + 288 | 0; + return $3; } -function _llvm_bswap_i32(i1) { - i1 = i1 | 0; - return (i1 & 255) << 24 | (i1 >> 8 & 255) << 16 | (i1 >> 16 & 255) << 8 | i1 >>> 24 | 0; +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______assign_external_28char_20const__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($0); + if ($3 >>> 0 >= $2 >>> 0) { + $3 = char__20std____2____to_address_char__28char__29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29($0)); + std____2__char_traits_char___move_28char__2c_20char_20const__2c_20unsigned_20long_29($3, $1, $2); + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______null_terminate_at_28char__2c_20unsigned_20long_29($0, $3, $2); + } + $4 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______grow_by_and_replace_28unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20char_20const__29($0, $3, $2 - $3 | 0, $4, 0, $4, $2, $1); + return $0; } -function _fseek(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return ___fseeko(i1, i2, ((i2 | 0) < 0) << 31 >> 31, i3) | 0; +function arGetTransMat($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + $6 = __stack_pointer - 32 | 0; + __stack_pointer = $6; + $10 = dlmalloc($4 << 4); + HEAP32[$6 + 16 >> 2] = $10; + if ($10) { + label$2: { + $11 = dlmalloc(Math_imul($4, 24)); + HEAP32[$6 + 20 >> 2] = $11; + if (!$11) { + break label$2; + } + $12 = ($4 | 0) > 0 ? $4 : 0; + while (1) { + if (($9 | 0) != ($12 | 0)) { + $7 = $9 << 4; + $8 = $10 + $7 | 0; + $7 = $2 + $7 | 0; + HEAPF64[$8 >> 3] = HEAPF64[$7 >> 3]; + HEAPF64[$8 + 8 >> 3] = HEAPF64[$7 + 8 >> 3]; + $8 = Math_imul($9, 24); + $7 = $11 + $8 | 0; + $8 = $3 + $8 | 0; + HEAPF64[$7 >> 3] = HEAPF64[$8 >> 3]; + HEAPF64[$7 + 8 >> 3] = HEAPF64[$8 + 8 >> 3]; + HEAPF64[$7 + 16 >> 3] = HEAPF64[$8 + 16 >> 3]; + $9 = $9 + 1 | 0; + continue; + } + break; + } + HEAP32[$6 + 24 >> 2] = $4; + if ((icpPoint(HEAP32[$0 >> 2], $6 + 16 | 0, $1, $5, $6 + 8 | 0) | 0) < 0) { + HEAP32[$6 + 8 >> 2] = 0; + HEAP32[$6 + 12 >> 2] = 1100470148; + } + dlfree(HEAP32[$6 + 16 >> 2]); + dlfree(HEAP32[$6 + 20 >> 2]); + __stack_pointer = $6 + 32 | 0; + return HEAPF64[$6 + 8 >> 3]; + } + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); } -function __ZNSt3__212_GLOBAL__N_14makeINS_7codecvtIcc11__mbstate_tEEjEERT_T0_() { - HEAP32[13927] = 0; - HEAP32[13926] = 17120; - return; -} +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______release_28_29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $1; +} + +function std____2__enable_if___is_cpp17_forward_iterator_vision__FeaturePoint____value_2c_20void___type_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______construct_at_end_vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20unsigned_20long_29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $3 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____ConstructTransaction___ConstructTransaction_28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____2c_20unsigned_20long_29($4, $0, $3); + void_20std____2____construct_range_forward_std____2__allocator_vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20vision__FeaturePoint___28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20vision__FeaturePoint___29(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29($0), $1, $2, $3 + 4 | 0); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____ConstructTransaction____ConstructTransaction_28_29($3); + __stack_pointer = $4 + 16 | 0; +} + +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____bucket_count_28_29_20const($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________size_28_29_20const(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________get_deleter_28_29_20const($0)); +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____vector_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$2 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $2 + 12 | 0, $2 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____28std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____29($0); + if ($1) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______vallocate_28unsigned_20long_29($0, $1); + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______construct_at_end_28unsigned_20long_29($0, $1); + } + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function start_pass_dpost($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[$0 + 456 >> 2]; + label$1: { + label$2: { + switch ($1 | 0) { + case 0: + if (HEAP32[$0 + 84 >> 2]) { + HEAP32[$2 + 4 >> 2] = 191; + if (HEAP32[$2 + 12 >> 2]) { + break label$1; + } + wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 28 >> 2]]($0, HEAP32[$2 + 8 >> 2], 0, HEAP32[$2 + 16 >> 2], 1) | 0, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + break label$1; + } + HEAP32[$2 + 4 >> 2] = HEAP32[HEAP32[$0 + 476 >> 2] + 4 >> 2]; + break label$1; -function __ZN6vision6LoggerC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - HEAP32[i1 + 8 >> 2] = 0; - return; -} + case 3: + if (!HEAP32[$2 + 8 >> 2]) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 3; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + HEAP32[$2 + 4 >> 2] = 192; + break label$1; -function dynCall_iii(i3, i1, i2) { - i3 = i3 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - return FUNCTION_TABLE_iii[i3 & 63](i1 | 0, i2 | 0) | 0; -} + case 2: + if (!HEAP32[$2 + 8 >> 2]) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 3; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + HEAP32[$2 + 4 >> 2] = 193; + break label$1; -function _mbrlen(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return _mbrtowc(0, i1, i2, (i3 | 0) == 0 ? 56332 : i3) | 0; + default: + break label$2; + } + } + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 3; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + HEAP32[$2 + 20 >> 2] = 0; + HEAP32[$2 + 24 >> 2] = 0; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0), std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0) + ($1 << 3) | 0); +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0), std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0) + ($1 << 3) | 0, std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0) + (std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____size_28_29_20const($0) << 3) | 0); +} + +function void_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______construct_one_at_end_vision__FeaturePoint__28vision__FeaturePoint___29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____ConstructTransaction___ConstructTransaction_28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____2c_20unsigned_20long_29($3, $0, 1); + void_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____construct_vision__FeaturePoint_2c_20vision__FeaturePoint_2c_20void__28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20vision__FeaturePoint___29(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29($0), vision__FeaturePoint__20std____2____to_address_vision__FeaturePoint__28vision__FeaturePoint__29(HEAP32[$2 + 4 >> 2]), $1); + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 20; + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; +} + +function __extendsftf2($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $8 = __stack_pointer - 16 | 0; + __stack_pointer = $8; + $9 = (wasm2js_scratch_store_f32($1), wasm2js_scratch_load_i32(2)); + $5 = $9 & 2147483647; + label$1: { + if ($5 - 8388608 >>> 0 <= 2130706431) { + $2 = $5 >>> 7 | 0; + $3 = $5 << 25; + $6 = $3; + $4 = $2 + 1065353216 | 0; + $7 = $4; + break label$1; + } + if ($5 >>> 0 >= 2139095040) { + $2 = $9; + $3 = $2 >>> 7 | 0; + $4 = $2 << 25; + $6 = $4; + $2 = $3 | 2147418112; + $7 = $2; + break label$1; + } + if (!$5) { + $7 = 0; + break label$1; + } + $2 = $5; + $5 = Math_clz32($5); + __ashlti3($8, $2, 0, 0, 0, $5 + 81 | 0); + $3 = $8; + $4 = HEAP32[$3 >> 2]; + $10 = $4; + $2 = HEAP32[$3 + 4 >> 2]; + $11 = $2; + $4 = HEAP32[$3 + 12 >> 2]; + $2 = HEAP32[$3 + 8 >> 2]; + $6 = $2; + $2 = $4 ^ 65536; + $7 = $2; + $4 = 16265 - $5 | 0; + $3 = $4 << 16; + $4 = $3; + $2 = $6; + $6 = $2; + $3 = $7; + $4 = $3 | $4; + $7 = $4; + } + $2 = $0; + HEAP32[$2 >> 2] = $10; + $4 = $11; + HEAP32[$2 + 4 >> 2] = $4; + $4 = $2; + HEAP32[$2 + 8 >> 2] = $6; + $3 = $9 & -2147483648; + $2 = $7; + $3 = $3 | $2; + HEAP32[$4 + 12 >> 2] = $3; + __stack_pointer = $8 + 16 | 0; +} + +function std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____find_28int_20const__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = HEAP32[std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____29($2 + 8 | 0, std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____20std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____find_int__28int_20const__29($0, $1)) >> 2]; + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______ConstructTransaction___ConstructTransaction_28vision__FeaturePoint___2c_20unsigned_20long_29($2, $0 + 8 | 0, $1); + $3 = HEAP32[$1 >> 2]; + while (1) { + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____construct_vision__FeaturePoint_2c_20void__28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__29(std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______alloc_28_29($0), vision__FeaturePoint__20std____2____to_address_vision__FeaturePoint__28vision__FeaturePoint__29(HEAP32[$1 >> 2])); + $3 = HEAP32[$1 >> 2] + 20 | 0; + HEAP32[$1 >> 2] = $3; + continue; + } + break; + } + std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $2 + 16 | 0; +} + +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_unsigned_20char___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_unsigned_20char____28std__nullptr_t___2c_20std____2__allocator_unsigned_20char___29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_unsigned_20char____allocate_28std____2__allocator_unsigned_20char___2c_20unsigned_20long_29(std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = $2 + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______end_cap_28_29($0), + wasm2js_i32$1 = $1 + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_delete_28_29_20const($0) { + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0), std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0) + Math_imul(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____capacity_28_29_20const($0), 12) | 0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0) + Math_imul(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____size_28_29_20const($0), 12) | 0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0) + Math_imul(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____capacity_28_29_20const($0), 12) | 0); +} + +function ar2GetImageValue($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + $7 = -1; + label$1: { + if ((ar2ScreenCoord2MarkerCoord($0, $1, $3, $4, $6 + 12 | 0, $6 + 8 | 0) | 0) < 0) { + break label$1; + } + $3 = HEAPF32[$2 + 12 >> 2]; + $4 = Math_fround(Math_fround(Math_fround(HEAPF32[$6 + 12 >> 2] * $3) / Math_fround(25.399999618530273)) + Math_fround(.5)); + label$2: { + if (Math_fround(Math_abs($4)) < Math_fround(2147483648)) { + $1 = ~~$4; + break label$2; + } + $1 = -2147483648; + } + if (($1 | 0) < 0) { + break label$1; + } + $8 = HEAP32[$2 + 4 >> 2]; + if (($8 | 0) <= ($1 | 0)) { + break label$1; + } + $9 = HEAP32[$2 + 8 >> 2]; + $4 = Math_fround(Math_fround(Math_fround($9 | 0) + Math_fround(Math_fround($3 * HEAPF32[$6 + 8 >> 2]) / Math_fround(-25.399999618530273))) + Math_fround(.5)); + label$4: { + if (Math_fround(Math_abs($4)) < Math_fround(2147483648)) { + $0 = ~~$4; + break label$4; + } + $0 = -2147483648; + } + if (($0 | 0) < 0 | ($0 | 0) >= ($9 | 0)) { + break label$1; + } + HEAP8[$5 | 0] = HEAPU8[HEAP32[$2 >> 2] + (Math_imul($0, $8) + $1 | 0) | 0]; + $7 = 0; + } + __stack_pointer = $6 + 16 | 0; + return $7; +} + +function std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 >> 2]; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = Math_imul($2, 12) + $3; + return $0; +} + +function std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______operator_28_29_28std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____29($0, $1) { + if (HEAPU8[$0 + 4 | 0]) { + void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______destroy_std____2__pair_int_20const_2c_20ARParam__2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__pair_int_20const_2c_20ARParam___29(HEAP32[$0 >> 2], std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20ARParam______get_ptr_28std____2____hash_value_type_int_2c_20ARParam___29($1 + 8 | 0)); + } + if ($1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20unsigned_20long_29(HEAP32[$0 >> 2], $1, 1); + } +} + +function $28anonymous_20namespace_29__itanium_demangle__PixelVectorType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 34411); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 34409); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 32 | 0; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0), std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0) + (std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0) + (std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0) + ($1 << 3) | 0); +} + +function std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____flush_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + if (std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____rdbuf_28_29_20const(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0)) { + std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____sentry__sentry_28std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____29($1 + 8 | 0, $0); + label$2: { + if (!std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____sentry__operator_20bool_28_29_20const($1 + 8 | 0)) { + break label$2; + } + if ((std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____pubsync_28_29(std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____rdbuf_28_29_20const(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0)) | 0) != -1) { + break label$2; + } + std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____setstate_28unsigned_20int_29(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0, 1); + } + std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____sentry___sentry_28_29($1 + 8 | 0); + } + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__StringLiteral__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37314); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 38029); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 32 | 0; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0), std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0) + (std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0) + ($1 << 3) | 0, std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0) + (std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____size_28_29_20const($0) << 3) | 0); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_wchar_t__2c_20void__28wchar_t__2c_20wchar_t__2c_20std____2__allocator_wchar_t__20const__29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $3 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t______compressed_pair_std____2____default_init_tag_2c_20std____2__allocator_wchar_t__20const___28std____2____default_init_tag___2c_20std____2__allocator_wchar_t__20const__29($0, $4 + 8 | 0, $3); + std____2__enable_if___is_cpp17_forward_iterator_wchar_t____value_2c_20void___type_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______init_wchar_t___28wchar_t__2c_20wchar_t__29($3, $1, $2); + void_20std____2____debug_db_insert_c_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____29($3); + __stack_pointer = $4 + 16 | 0; + return $3; +} + +function $28anonymous_20namespace_29__itanium_demangle__NoexceptSpec__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 37875); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 16 | 0, 37866); + $5 = HEAP32[$3 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 32 | 0; +} + +function std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_vision__Image___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__Image____28std__nullptr_t___2c_20std____2__allocator_vision__Image___29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_vision__Image____allocate_28std____2__allocator_vision__Image___2c_20unsigned_20long_29(std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = ($2 << 5) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 5) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; +} + +function jpeg_CreateDecompress($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0; + HEAP32[$0 + 4 >> 2] = 0; + if (($1 | 0) != 90) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 13; + HEAP32[$3 + 24 >> 2] = 90; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = $1; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + if (($2 | 0) != 488) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 20 >> 2] = 22; + HEAP32[$3 + 24 >> 2] = 488; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = $2; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $1 = HEAP32[$0 >> 2]; + $2 = HEAP32[$0 + 12 >> 2]; + memset($0 + 4 | 0, 0, 484); + HEAP32[$0 + 16 >> 2] = 1; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 >> 2] = $1; + jinit_memory_mgr($0); + HEAP32[$0 + 312 >> 2] = 0; + HEAP32[$0 + 24 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 + 164 >> 2] = 0; + HEAP32[$0 + 168 >> 2] = 0; + HEAP32[$0 + 172 >> 2] = 0; + HEAP32[$0 + 176 >> 2] = 0; + HEAP32[$0 + 180 >> 2] = 0; + HEAP32[$0 + 184 >> 2] = 0; + HEAP32[$0 + 188 >> 2] = 0; + HEAP32[$0 + 192 >> 2] = 0; + HEAP32[$0 + 196 >> 2] = 0; + HEAP32[$0 + 200 >> 2] = 0; + HEAP32[$0 + 204 >> 2] = 0; + HEAP32[$0 + 208 >> 2] = 0; + jinit_marker_reader($0); + jinit_input_controller($0); + HEAP32[$0 + 20 >> 2] = 200; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__MemberExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__MemberExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__MemberExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2, $3); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______29($0, $1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_20unsigned_20long_29(std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void___________alloc_28_29($0), $1, HEAP32[std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_________size_28_29($0) >> 2]); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_wchar_t_20const__2c_20void__28wchar_t_20const__2c_20wchar_t_20const__29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t______compressed_pair_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $3 + 8 | 0, $3); + std____2__enable_if___is_cpp17_forward_iterator_wchar_t_20const____value_2c_20void___type_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______init_wchar_t_20const___28wchar_t_20const__2c_20wchar_t_20const__29($0, $1, $2); + void_20std____2____debug_db_insert_c_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____29($0); + __stack_pointer = $3 + 16 | 0; + return $0; +} + +function void_20std____2__push_heap_std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96____28std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96___29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 16 >> 2] = $1; + HEAP32[$2 + 24 >> 2] = $0; + void_20std____2____sift_up_std____2__less_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96_____28std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96____2c_20std____2__iterator_traits_std____2____wrap_iter_vision__PriorityQueueItem_96______difference_type_29($0, $1, $2 + 8 | 0, decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96____28std____2____wrap_iter_vision__PriorityQueueItem_96____20const__2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____20const__29($2 + 16 | 0, $2 + 24 | 0)); + __stack_pointer = $2 + 32 | 0; +} + +function void_20std____2__pop_heap_std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96____28std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96___29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + HEAP32[$2 + 16 >> 2] = $1; + HEAP32[$2 + 24 >> 2] = $0; + void_20std____2____pop_heap_std____2__less_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96_____28std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96____2c_20std____2__iterator_traits_std____2____wrap_iter_vision__PriorityQueueItem_96______difference_type_29($0, $1, $2 + 8 | 0, decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96____28std____2____wrap_iter_vision__PriorityQueueItem_96____20const__2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____20const__29($2 + 16 | 0, $2 + 24 | 0)); + __stack_pointer = $2 + 32 | 0; +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_weekday_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const($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; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + HEAP32[$6 + 8 >> 2] = $1; + std____2__ios_base__getloc_28_29_20const($6, $3); + $1 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($6); + std____2__locale___locale_28_29($6); + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_weekdayname_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 24 | 0, $6 + 8 | 0, $2, $4, $1); + __stack_pointer = $6 + 16 | 0; + $1 = HEAP32[$6 + 8 >> 2]; + return $1 | 0; +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_monthname_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const($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; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + HEAP32[$6 + 8 >> 2] = $1; + std____2__ios_base__getloc_28_29_20const($6, $3); + $1 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($6); + std____2__locale___locale_28_29($6); + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_monthname_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 16 | 0, $6 + 8 | 0, $2, $4, $1); + __stack_pointer = $6 + 16 | 0; + $1 = HEAP32[$6 + 8 >> 2]; + return $1 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__MemberExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__MemberExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__MemberExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); +} + +function bool_20std____2__equal_std____2____wrap_iter_wchar_t___2c_20std____2____wrap_iter_wchar_t___2c_20std____2____equal_to_wchar_t_2c_20wchar_t___28std____2____wrap_iter_wchar_t___2c_20std____2____wrap_iter_wchar_t___2c_20std____2____wrap_iter_wchar_t___2c_20std____2____equal_to_wchar_t_2c_20wchar_t__29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + HEAP32[$3 + 16 >> 2] = $1; + HEAP32[$3 + 24 >> 2] = $0; + HEAP32[$3 + 8 >> 2] = $2; + while (1) { + label$2: { + $1 = bool_20std____2__operator___wchar_t___28std____2____wrap_iter_wchar_t___20const__2c_20std____2____wrap_iter_wchar_t___20const__29($3 + 24 | 0, $3 + 16 | 0); + if (!$1) { + break label$2; + } + if (!std____2____equal_to_wchar_t_2c_20wchar_t___operator_28_29_28wchar_t_20const__2c_20wchar_t_20const__29_20const($3, std____2____wrap_iter_wchar_t____operator__28_29_20const($3 + 24 | 0), std____2____wrap_iter_wchar_t____operator__28_29_20const($3 + 8 | 0))) { + break label$2; + } + std____2____wrap_iter_wchar_t____operator___28_29($3 + 24 | 0); + std____2____wrap_iter_wchar_t____operator___28_29($3 + 8 | 0); + continue; + } + break; + } + __stack_pointer = $3 + 32 | 0; + return $1 ^ 1; } -function _jcopy_block_row(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - _memcpy(i2 | 0, i1 | 0, i3 << 7 | 0) | 0; - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b17_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b17_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__CastExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b17_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b17_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function _fullsize_upsample(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - HEAP32[i4 >> 2] = i3; - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b13_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b13_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__CastExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b13_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b13_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function __ZNSt3__25ctypeIcE21__classic_upper_tableEv() { - var i1 = 0; - i1 = ___ctype_toupper_loc() | 0; - return HEAP32[i1 >> 2] | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__CastExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function __ZNSt3__25ctypeIcE21__classic_lower_tableEv() { - var i1 = 0; - i1 = ___ctype_tolower_loc() | 0; - return HEAP32[i1 >> 2] | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__CastExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CastExpr_2c_20char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function __ZNSt3__211char_traitsIcE6assignERcRKc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP8[i1 >> 0] = HEAP8[i2 >> 0] | 0; - return; -} - -function __ZNKSt3__26vectorIN6vision17PriorityQueueItemILi96EEENS_9allocatorIS3_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 536870911; -} - -function b8(i1, i2, i3, i4, d5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - d5 = +d5; - nullFunc_iiiiid(8); - return 0; +function std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____sentry___sentry_28_29($0) { + var $1 = 0; + $1 = HEAP32[$0 + 4 >> 2]; + label$1: { + if (!std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____rdbuf_28_29_20const($1 + HEAP32[HEAP32[$1 >> 2] - 12 >> 2] | 0)) { + break label$1; + } + $1 = HEAP32[$0 + 4 >> 2]; + if (!std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____good_28_29_20const($1 + HEAP32[HEAP32[$1 >> 2] - 12 >> 2] | 0)) { + break label$1; + } + $1 = HEAP32[$0 + 4 >> 2]; + if (!(std____2__ios_base__flags_28_29_20const($1 + HEAP32[HEAP32[$1 >> 2] - 12 >> 2] | 0) & 8192)) { + break label$1; + } + if (std__uncaught_exception_28_29()) { + break label$1; + } + $1 = HEAP32[$0 + 4 >> 2]; + if ((std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____pubsync_28_29(std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____rdbuf_28_29_20const($1 + HEAP32[HEAP32[$1 >> 2] - 12 >> 2] | 0)) | 0) != -1) { + break label$1; + } + $1 = HEAP32[$0 + 4 >> 2]; + std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____setstate_28unsigned_20int_29($1 + HEAP32[HEAP32[$1 >> 2] - 12 >> 2] | 0, 1); + } + return $0; } -function __ZNSt3__211char_traitsIwE6assignERwRKw(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = HEAP32[i2 >> 2]; - return; +function std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_multi_marker___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_multi_marker____28std__nullptr_t___2c_20std____2__allocator_multi_marker___29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_multi_marker____allocate_28std____2__allocator_multi_marker___2c_20unsigned_20long_29(std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = ($2 << 3) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 3) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; } -function __ZN10emscripten8internal6TypeIDINS_3valEE3getEv() { - return __ZN10emscripten8internal11LightTypeIDINS_3valEE3getEv() | 0; +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______annotate_delete_28_29_20const($0) { + std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____data_28_29_20const($0), std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____data_28_29_20const($0) + (std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____data_28_29_20const($0) + (std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____size_28_29_20const($0) << 3) | 0, std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____data_28_29_20const($0) + (std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____capacity_28_29_20const($0) << 3) | 0); } -function _output_value(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return (((i2 | 0) / 2 | 0) + (i1 * 255 | 0) | 0) / (i2 | 0) | 0 | 0; +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short_____ConstructTransaction___ConstructTransaction_28std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($4 | 0)) { + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_unsigned_20short____construct_unsigned_20short_2c_20void__28std____2__allocator_unsigned_20short___2c_20unsigned_20short__29(std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______alloc_28_29($0), unsigned_20short__20std____2____to_address_unsigned_20short__28unsigned_20short__29($1)); + $1 = $1 + 2 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; + } } -function __ZNKSt3__28ios_base6getlocEv(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - __ZNSt3__26localeC2ERKS0_(i1, i2 + 28 | 0); - return; +function void_20std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________construct_one_at_end_vision__Node_96___20const___28vision__Node_96___20const__29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______ConstructTransaction___ConstructTransaction_28std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______2c_20unsigned_20long_29($3, $0, 1); + void_20std____2__allocator_traits_std____2__allocator_vision__Node_96______construct_vision__Node_96___2c_20vision__Node_96___20const__2c_20void__28std____2__allocator_vision__Node_96_____2c_20vision__Node_96____2c_20vision__Node_96___20const__29(std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________alloc_28_29($0), vision__Node_96____20std____2____to_address_vision__Node_96____28vision__Node_96____29(HEAP32[$2 + 4 >> 2]), $1); + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 4; + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____vector_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$2 + 12 >> 2] = 0; + std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $2 + 12 | 0, $2 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____28std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____29($0); + if ($1) { + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______vallocate_28unsigned_20long_29($0, $1); + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______construct_at_end_28unsigned_20long_29($0, $1); + } + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_year_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const($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; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + HEAP32[$6 + 8 >> 2] = $1; + std____2__ios_base__getloc_28_29_20const($6, $3); + $1 = std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($6); + std____2__locale___locale_28_29($6); + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_year_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $5 + 20 | 0, $6 + 8 | 0, $2, $4, $1); + __stack_pointer = $6 + 16 | 0; + $1 = HEAP32[$6 + 8 >> 2]; + return $1 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__NodeArray_20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___makeNodeArray__28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3) { + var $4 = 0; + $4 = $1 + 408 | 0; + $1 = $3 - $2 >> 2; + $4 = $28anonymous_20namespace_29__DefaultAllocator__allocateNodeArray_28unsigned_20long_29($4, $1); + $28anonymous_20namespace_29__itanium_demangle__Node___20std____2__copy__28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($2, $3, $4); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__NodeArray_28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20unsigned_20long_29($0, $4, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($2 + 24 | 0, HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2]); + $4 = HEAP32[$1 + 4 >> 2]; + $5 = HEAP32[$1 >> 2]; + HEAP32[$2 + 8 >> 2] = $5; + HEAP32[$2 + 12 >> 2] = $4; + HEAP32[$2 + 16 >> 2] = $5; + HEAP32[$2 + 20 >> 2] = $4; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__startsWith_28_28anonymous_20namespace_29__itanium_demangle__StringView_29_20const($3, $2 + 8 | 0); + if ($3) { + wasm2js_i32$0 = $0, wasm2js_i32$1 = HEAP32[$0 >> 2] + $28anonymous_20namespace_29__itanium_demangle__StringView__size_28_29_20const($1) | 0, + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + } + __stack_pointer = $2 + 32 | 0; + return $3; +} + +function std____2__vector_int_2c_20std____2__allocator_int______move_range_28int__2c_20int__2c_20int__29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $8 = HEAP32[$0 + 4 >> 2]; + $6 = ($8 - $3 | 0) + $1 | 0; + $7 = std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction___ConstructTransaction_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_29($5, $0, $2 - $6 >> 2); + $4 = HEAP32[$7 + 4 >> 2]; + $3 = $6; + while (1) { + if ($2 >>> 0 <= $3 >>> 0) { + std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction____ConstructTransaction_28_29($7); + int__20std____2__move_backward_int__2c_20int___28int__2c_20int__2c_20int__29($1, $6, $8); + __stack_pointer = $5 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20int_2c_20void__28std____2__allocator_int___2c_20int__2c_20int___29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0), int__20std____2____to_address_int__28int__29($4), $3); + $4 = $4 + 4 | 0; + HEAP32[$7 + 4 >> 2] = $4; + $3 = $3 + 4 | 0; + continue; + } + break; + } } -function dynCall_dii(i3, i1, i2) { - i3 = i3 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - return +FUNCTION_TABLE_dii[i3 & 1](i1 | 0, i2 | 0); +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1, $2) { + $0 = std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0); + std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0 + 4 | 0); + return $0; } -function __ZNSt3__212_GLOBAL__N_14makeINS_5ctypeIcEEDnbjEERT_T0_T1_T2_() { - __ZNSt3__25ctypeIcEC2EPKtbm(55680, 0, 0, 1); - return; +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______29($0, $1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20unsigned_20long_29(std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___________alloc_28_29($0), $1, HEAP32[std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________size_28_29($0) >> 2]); } -function __ZNKSt3__26vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lm28EEEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 1073741823; +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_delete_28_29_20const($0) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0), std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____capacity_28_29_20const($0), 20) | 0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0), 20) | 0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____capacity_28_29_20const($0), 20) | 0); } -function __ZN6vision18BinomialPyramid32fD0Ev(i1) { - i1 = i1 | 0; - __ZN6vision18BinomialPyramid32fD2Ev(i1); - __ZdlPv(i1); - return; +function output_pass_setup($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0; + if (HEAP32[$0 + 20 >> 2] != 204) { + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 444 >> 2] >> 2]]($0); + HEAP32[$0 + 20 >> 2] = 204; + HEAP32[$0 + 140 >> 2] = 0; + } + label$2: { + if (HEAP32[HEAP32[$0 + 444 >> 2] + 8 >> 2]) { + $4 = $0 + 140 | 0; + $2 = HEAP32[$0 + 140 >> 2]; + while (1) { + $3 = HEAP32[$0 + 116 >> 2]; + if ($3 >>> 0 > $2 >>> 0) { + $1 = HEAP32[$0 + 8 >> 2]; + if ($1) { + HEAP32[$1 + 8 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $2; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + $1 = HEAP32[$0 + 140 >> 2]; + } else { + $1 = $2; + } + $3 = 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 448 >> 2] + 4 >> 2]]($0, 0, $4, 0); + $2 = HEAP32[$0 + 140 >> 2]; + if (($2 | 0) != ($1 | 0)) { + continue; + } + break label$2; + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 444 >> 2] + 4 >> 2]]($0); + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 444 >> 2] >> 2]]($0); + $2 = 0; + HEAP32[$0 + 140 >> 2] = 0; + if (HEAP32[HEAP32[$0 + 444 >> 2] + 8 >> 2]) { + continue; + } + break; + } + } + HEAP32[$0 + 20 >> 2] = HEAP32[$0 + 68 >> 2] ? 206 : 205; + $3 = 1; + } + return $3; } -function _noop_upsample(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - HEAP32[i4 >> 2] = 0; - return; +function std____2__unordered_map_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_________unordered_map_28_29($0) { + return std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float___________hash_table_28_29($0); } -function __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIwLb1EEEjEERT_T0_() { - HEAP32[13965] = 0; - HEAP32[13964] = 16460; - return; +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____ConstructTransaction___ConstructTransaction_28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($4 | 0)) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_unsigned_20char____construct_unsigned_20char_2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__29(std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0), unsigned_20char__20std____2____to_address_unsigned_20char__28unsigned_20char__29($1)); + $1 = $1 + 1 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; + } } -function __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIwLb0EEEjEERT_T0_() { - HEAP32[13963] = 0; - HEAP32[13962] = 16404; - return; +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______release_28_29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $1; } -function __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIcLb1EEEjEERT_T0_() { - HEAP32[13961] = 0; - HEAP32[13960] = 16348; - return; +function std____2__enable_if___is_cpp17_forward_iterator_unsigned_20char____value_2c_20void___type_20std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______construct_at_end_unsigned_20char___28unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20long_29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $3 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____ConstructTransaction___ConstructTransaction_28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____2c_20unsigned_20long_29($4, $0, $3); + void_20std____2____construct_range_forward_std____2__allocator_unsigned_20char__2c_20unsigned_20char_2c_20unsigned_20char_2c_20unsigned_20char_2c_20unsigned_20char_2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char___29(std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0), $1, $2, $3 + 4 | 0); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____ConstructTransaction____ConstructTransaction_28_29($3); + __stack_pointer = $4 + 16 | 0; } -function __ZNSt3__212_GLOBAL__N_14makeINS_10moneypunctIcLb0EEEjEERT_T0_() { - HEAP32[13959] = 0; - HEAP32[13958] = 16292; - return; +function vision__FREAKExtractor__extract_28vision__BinaryFeatureStore__2c_20vision__GaussianScaleSpacePyramid_20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__29($0, $1, $2, $3) { + vision__BinaryFeatureStore__setNumBytesPerFeature_28int_29($1, 96); + vision__BinaryFeatureStore__resize_28unsigned_20long_29($1, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($3)); + vision__ExtractFREAK84_28vision__BinaryFeatureStore__2c_20vision__GaussianScaleSpacePyramid_20const__2c_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29($1, $2, $3, $0, $0 + 48 | 0, $0 + 96 | 0, $0 + 144 | 0, $0 + 192 | 0, $0 + 240 | 0, HEAPF32[$0 + 288 >> 2], HEAPF32[$0 + 292 >> 2], HEAPF32[$0 + 296 >> 2], HEAPF32[$0 + 300 >> 2], HEAPF32[$0 + 304 >> 2], HEAPF32[$0 + 308 >> 2], HEAPF32[$0 + 312 >> 2], HEAPF32[$0 + 316 >> 2]); } -function __ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13do_date_orderEv(i1) { - i1 = i1 | 0; - return 2; +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20unsigned_20long_29($0, $1, $2); } -function __ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13do_date_orderEv(i1) { - i1 = i1 | 0; - return 2; +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______vallocate_28unsigned_20long_29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____max_size_28_29_20const($0) >>> 0 < $1 >>> 0) { + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______throw_length_error_28_29_20const($0); + abort(); + } + $2 = std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____allocate_28std____2__allocator_vision__Point3d_float____2c_20unsigned_20long_29(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______alloc_28_29($0), $1); + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = $2; + wasm2js_i32$0 = std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______end_cap_28_29($0), + wasm2js_i32$1 = Math_imul($1, 12) + $2 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_new_28unsigned_20long_29_20const($0, 0); } -function __ZNKSt3__26vectorINS0_INS_4pairIfmEENS_9allocatorIS2_EEEENS3_IS5_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 357913941; +function std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter______vector_28_29($0) { + std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____deallocate_28std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter____2c_20std____2__shared_ptr_vision__FrontendSinkFilter___2c_20unsigned_20long_29(std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____capacity_28_29_20const($0)); + } + return $0; } -function __ZNK6vision10DoGPyramid4sizeEv(i1) { - i1 = i1 | 0; - return (HEAP32[i1 + 4 >> 2] | 0) - (HEAP32[i1 >> 2] | 0) >> 5 | 0; +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____max_size_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__20const__29(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function _vfprintf(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return ___vfprintf_internal(i1, i2, i3, 1, 56) | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node_20const___20std____2__copy__28anonymous_20namespace_29__itanium_demangle__Node_20const___2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const____28_28anonymous_20namespace_29__itanium_demangle__Node_20const___2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const___2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const___29($0, $1, $2) { + std____2__enable_if_is_same_std____2__remove_const__28anonymous_20namespace_29__itanium_demangle__Node_20const____type_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const____value_20___20is_trivially_copy_assignable__28anonymous_20namespace_29__itanium_demangle__Node_20const____value_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const_____type_20std____2____copy__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const___28_28anonymous_20namespace_29__itanium_demangle__Node_20const___2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const___2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const___29($0, $1, $2); } -function __ZNSt3__210shared_ptrIN6vision8KeyframeILi96EEEE18__enable_weak_thisEz(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return; +function std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry___sentry_28_29($0) { + var $1 = 0; + $1 = HEAP32[$0 + 4 >> 2]; + label$1: { + if (!std____2__basic_ios_char_2c_20std____2__char_traits_char____rdbuf_28_29_20const($1 + HEAP32[HEAP32[$1 >> 2] - 12 >> 2] | 0)) { + break label$1; + } + $1 = HEAP32[$0 + 4 >> 2]; + if (!std____2__basic_ios_char_2c_20std____2__char_traits_char____good_28_29_20const($1 + HEAP32[HEAP32[$1 >> 2] - 12 >> 2] | 0)) { + break label$1; + } + $1 = HEAP32[$0 + 4 >> 2]; + if (!(std____2__ios_base__flags_28_29_20const($1 + HEAP32[HEAP32[$1 >> 2] - 12 >> 2] | 0) & 8192)) { + break label$1; + } + if (std__uncaught_exception_28_29()) { + break label$1; + } + $1 = HEAP32[$0 + 4 >> 2]; + if ((std____2__basic_streambuf_char_2c_20std____2__char_traits_char____pubsync_28_29(std____2__basic_ios_char_2c_20std____2__char_traits_char____rdbuf_28_29_20const($1 + HEAP32[HEAP32[$1 >> 2] - 12 >> 2] | 0)) | 0) != -1) { + break label$1; + } + $1 = HEAP32[$0 + 4 >> 2]; + std____2__basic_ios_char_2c_20std____2__char_traits_char____setstate_28unsigned_20int_29($1 + HEAP32[HEAP32[$1 >> 2] - 12 >> 2] | 0, 1); + } + return $0; } -function __ZN6vision17PriorityQueueItemILi96EEC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 0; - HEAP32[i1 + 4 >> 2] = 0; - return; +function $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = HEAP32[$0 + 8 >> 2]; + label$1: { + if (!$3) { + break label$1; + } + FUNCTION_TABLE[HEAP32[HEAP32[$3 >> 2] + 16 >> 2]]($3, $1); + if ($28anonymous_20namespace_29__itanium_demangle__Node__hasRHSComponent_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1)) { + break label$1; + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38446); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + } + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + __stack_pointer = $2 + 16 | 0; } -function b21(i1, i2, i3, i4, i5) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - i5 = i5 | 0; - nullFunc_viiiii(21); +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______throw_length_error_28_29_20const($0); + abort(); } -function _ar2UtilReplaceExt(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return _arUtilReplaceExt(i1, i2, i3) | 0; +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______vallocate_28unsigned_20long_29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____max_size_28_29_20const($0) >>> 0 < $1 >>> 0) { + std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______throw_length_error_28_29_20const($0); + abort(); + } + $2 = std____2__allocator_traits_std____2__allocator_vision__Point2d_float_____allocate_28std____2__allocator_vision__Point2d_float____2c_20unsigned_20long_29(std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______alloc_28_29($0), $1); + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = $2; + wasm2js_i32$0 = std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 3) + $2 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______annotate_new_28unsigned_20long_29_20const($0, 0); +} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char____flush_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + if (std____2__basic_ios_char_2c_20std____2__char_traits_char____rdbuf_28_29_20const(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0)) { + std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry__sentry_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29($1 + 8 | 0, $0); + label$2: { + if (!std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry__operator_20bool_28_29_20const($1 + 8 | 0)) { + break label$2; + } + if ((std____2__basic_streambuf_char_2c_20std____2__char_traits_char____pubsync_28_29(std____2__basic_ios_char_2c_20std____2__char_traits_char____rdbuf_28_29_20const(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0)) | 0) != -1) { + break label$2; + } + std____2__basic_ios_char_2c_20std____2__char_traits_char____setstate_28unsigned_20int_29(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0, 1); + } + std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry___sentry_28_29($1 + 8 | 0); + } + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function build_ycc_rgb_table($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[$0 + 480 >> 2]; + wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0, + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0, + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + $3 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 1024) | 0; + HEAP32[$1 + 20 >> 2] = $3; + $4 = HEAP32[$1 + 16 >> 2]; + $5 = HEAP32[$1 + 12 >> 2]; + $6 = HEAP32[$1 + 8 >> 2]; + $0 = -128; + while (1) { + $1 = $2 << 2; + HEAP32[$6 + $1 >> 2] = Math_imul($0, 91881) + 32768 >> 16; + HEAP32[$1 + $5 >> 2] = Math_imul($0, 116130) + 32768 >> 16; + HEAP32[$1 + $4 >> 2] = Math_imul($0, -46802); + HEAP32[$1 + $3 >> 2] = Math_imul($0, -22553) + 32768; + $0 = $0 + 1 | 0; + $2 = $2 + 1 | 0; + if (($2 | 0) != 256) { + continue; + } + break; + } } -function __ZNSt3__27codecvtIDsc11__mbstate_tED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________max_size_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20void__28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 2, 4); } -function __ZNSt3__27codecvtIDic11__mbstate_tED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short______ConstructTransaction___ConstructTransaction_28unsigned_20short___2c_20unsigned_20long_29($2, $0 + 8 | 0, $1); + $3 = HEAP32[$1 >> 2]; + while (1) { + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_unsigned_20short____construct_unsigned_20short_2c_20void__28std____2__allocator_unsigned_20short___2c_20unsigned_20short__29(std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______alloc_28_29($0), unsigned_20short__20std____2____to_address_unsigned_20short__28unsigned_20short__29(HEAP32[$1 >> 2])); + $3 = HEAP32[$1 >> 2] + 2 | 0; + HEAP32[$1 >> 2] = $3; + continue; + } + break; + } + std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short______ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $2 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $5 = __stack_pointer - 32 | 0; + __stack_pointer = $5; + $3 = $0; + $2 = HEAP32[$3 + 8 >> 2]; + $0 = HEAP32[$3 + 12 >> 2]; + $4 = $2; + $2 = $5; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $0; + HEAP32[$2 + 24 >> 2] = $4; + HEAP32[$2 + 28 >> 2] = $0; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$3 + 16 >> 2], $1); + $2 = HEAP32[$3 + 24 >> 2]; + $0 = HEAP32[$3 + 20 >> 2]; + $4 = $0; + $0 = $5; + HEAP32[$0 >> 2] = $4; + HEAP32[$0 + 4 >> 2] = $2; + HEAP32[$0 + 16 >> 2] = $4; + HEAP32[$0 + 20 >> 2] = $2; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $0); + __stack_pointer = $0 + 32 | 0; +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____vector_28_29($0) { + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____deallocate_28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__2c_20unsigned_20long_29(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____capacity_28_29_20const($0)); + } + return $0; +} + +function genBWImageOneThird_28unsigned_20char__2c_20int_2c_20int_2c_20int__2c_20int__29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $5 = ($1 | 0) / 3 | 0; + HEAP32[$3 >> 2] = $5; + $3 = ($2 | 0) / 3 | 0; + HEAP32[$4 >> 2] = $3; + $6 = dlmalloc(Math_imul($3, $5)); + if ($6) { + $9 = ($3 | 0) > 0 ? $3 : 0; + $10 = ($5 | 0) > 0 ? $5 : 0; + $7 = $6; + while (1) { + if (($8 | 0) != ($9 | 0)) { + $2 = Math_imul($8, 3); + $5 = Math_imul($2, $1) + $0 | 0; + $3 = Math_imul($2 + 2 | 0, $1) + $0 | 0; + $2 = Math_imul($2 + 1 | 0, $1) + $0 | 0; + $4 = 0; + while (1) { + if (($4 | 0) != ($10 | 0)) { + HEAP8[$7 | 0] = (HEAPU8[$3 + 2 | 0] + (HEAPU8[$3 + 1 | 0] + (HEAPU8[$3 | 0] + (HEAPU8[$2 + 2 | 0] + (HEAPU8[$2 + 1 | 0] + (HEAPU8[$2 | 0] + (HEAPU8[$5 + 2 | 0] + (HEAPU8[$5 + 1 | 0] + HEAPU8[$5 | 0] | 0) | 0) | 0) | 0) | 0) | 0) | 0) >>> 0) / 9; + $4 = $4 + 1 | 0; + $3 = $3 + 3 | 0; + $2 = $2 + 3 | 0; + $5 = $5 + 3 | 0; + $7 = $7 + 1 | 0; + continue; + } + break; + } + $8 = $8 + 1 | 0; + continue; + } + break; + } + return $6; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); } -function __ZNSt3__217__widen_from_utf8ILm32EED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_______compressed_pair_vision__Keyframe_96____2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____28vision__Keyframe_96____2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_____29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_201_2c_20true_____compressed_pair_elem_std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20void__28std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_____29(std____2____compressed_pair_elem_vision__Keyframe_96___2c_200_2c_20false_____compressed_pair_elem_vision__Keyframe_96____2c_20void__28vision__Keyframe_96____29($0, $1), $2); } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE5imbueERKNS_6localeE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return; +function void_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______construct_one_at_end_vision__match_t_20const___28vision__match_t_20const__29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t_____ConstructTransaction___ConstructTransaction_28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____2c_20unsigned_20long_29($3, $0, 1); + void_20std____2__allocator_traits_std____2__allocator_vision__match_t____construct_vision__match_t_2c_20vision__match_t_20const__2c_20void__28std____2__allocator_vision__match_t___2c_20vision__match_t__2c_20vision__match_t_20const__29(std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29($0), vision__match_t__20std____2____to_address_vision__match_t__28vision__match_t__29(HEAP32[$2 + 4 >> 2]), $1); + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 8; + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return; +function void_20std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______construct_one_at_end_unsigned_20char_20const___28unsigned_20char_20const__29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____ConstructTransaction___ConstructTransaction_28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____2c_20unsigned_20long_29($3, $0, 1); + void_20std____2__allocator_traits_std____2__allocator_unsigned_20char____construct_unsigned_20char_2c_20unsigned_20char_20const__2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20char_20const__29(std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0), unsigned_20char__20std____2____to_address_unsigned_20char__28unsigned_20char__29(HEAP32[$2 + 4 >> 2]), $1); + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 1; + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; } -function __ZN6vision10ZeroVectorIfEEvPT_m(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - _memset(i1 | 0, 0, i2 << 2 | 0) | 0; - return; +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________operator_28_29_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______29($0, $1) { + std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20unsigned_20long_29(std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___________alloc_28_29($0), $1, HEAP32[std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________size_28_29($0) >> 2]); } -function _jround_up(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - i1 = i1 + -1 + i2 | 0; - return i1 - ((i1 | 0) % (i2 | 0) | 0) | 0; +function std____2__unordered_map_int_2c_20AR2SurfaceSetT__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20AR2SurfaceSetT______unordered_map_28_29($0) { + $0 = std____2____hash_table_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20AR2SurfaceSetT________hash_table_28_29($0); + void_20std____2____debug_db_insert_c_std____2__unordered_map_int_2c_20AR2SurfaceSetT__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20AR2SurfaceSetT______28std____2__unordered_map_int_2c_20AR2SurfaceSetT__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20AR2SurfaceSetT______29($0); + return $0; } -function __ZNSt3__27codecvtIcc11__mbstate_tED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1, $2) { + $0 = std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0); + std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0 + 4 | 0); + return $0; } -function __ZNSt3__216__narrow_to_utf8ILm32EED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____data_28_29_20const($0), std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____data_28_29_20const($0) + (std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____capacity_28_29_20const($0) << 2) | 0, std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____data_28_29_20const($0) + (std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____capacity_28_29_20const($0) << 2) | 0, std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____data_28_29_20const($0) + ($1 << 2) | 0); } -function __ZN6vision11Cofactor2x2IfEET_S1_S1_S1_(d1, d2, d3) { - d1 = +d1; - d2 = +d2; - d3 = +d3; - return +(d1 * d3 - d2 * d2); +function $28anonymous_20namespace_29__itanium_demangle__PointerToMemberType__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + label$1: { + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasArray_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1)) { + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasFunction_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1)) { + break label$1; + } + } + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 37866); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + } + $0 = HEAP32[$0 + 12 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1); + __stack_pointer = $2 + 16 | 0; } -function __ZNSt3__210__stdinbufIwE9underflowEv(i1) { - i1 = i1 | 0; - return __ZNSt3__210__stdinbufIwE9__getcharEb(i1, 0) | 0; +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image_____ConstructTransaction___ConstructTransaction_28std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($4 | 0)) { + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_vision__Image____construct_vision__Image_2c_20void__28std____2__allocator_vision__Image___2c_20vision__Image__29(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______alloc_28_29($0), vision__Image__20std____2____to_address_vision__Image__28vision__Image__29($1)); + $1 = $1 + 32 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; + } } -function __ZNSt3__210__stdinbufIcE9underflowEv(i1) { - i1 = i1 | 0; - return __ZNSt3__210__stdinbufIcE9__getcharEb(i1, 0) | 0; +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char______ConstructTransaction___ConstructTransaction_28unsigned_20char___2c_20unsigned_20long_29($2, $0 + 8 | 0, $1); + $3 = HEAP32[$1 >> 2]; + while (1) { + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_unsigned_20char____construct_unsigned_20char_2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__29(std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______alloc_28_29($0), unsigned_20char__20std____2____to_address_unsigned_20char__28unsigned_20char__29(HEAP32[$1 >> 2])); + $3 = HEAP32[$1 >> 2] + 1 | 0; + HEAP32[$1 >> 2] = $3; + continue; + } + break; + } + std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char______ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $2 + 16 | 0; } -function __ZNK6vision25GaussianScaleSpacePyramid18numScalesPerOctaveEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 20 >> 2] | 0; +function bool_20std____2__equal_std____2____wrap_iter_char___2c_20std____2____wrap_iter_char___2c_20std____2____equal_to_char_2c_20char___28std____2____wrap_iter_char___2c_20std____2____wrap_iter_char___2c_20std____2____wrap_iter_char___2c_20std____2____equal_to_char_2c_20char__29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + HEAP32[$3 + 16 >> 2] = $1; + HEAP32[$3 + 24 >> 2] = $0; + HEAP32[$3 + 8 >> 2] = $2; + while (1) { + label$2: { + $1 = bool_20std____2__operator___char___28std____2____wrap_iter_char___20const__2c_20std____2____wrap_iter_char___20const__29($3 + 24 | 0, $3 + 16 | 0); + if (!$1) { + break label$2; + } + if (!std____2____equal_to_char_2c_20char___operator_28_29_28char_20const__2c_20char_20const__29_20const($3, std____2____wrap_iter_char____operator__28_29_20const($3 + 24 | 0), std____2____wrap_iter_char____operator__28_29_20const($3 + 8 | 0))) { + break label$2; + } + std____2____wrap_iter_char____operator___28_29($3 + 24 | 0); + std____2____wrap_iter_char____operator___28_29($3 + 8 | 0); + continue; + } + break; + } + __stack_pointer = $3 + 32 | 0; + return $1 ^ 1; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______vallocate_28unsigned_20long_29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____max_size_28_29_20const($0) >>> 0 < $1 >>> 0) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______throw_length_error_28_29_20const($0); + abort(); + } + $2 = std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____allocate_28std____2__allocator_vision__FeaturePoint___2c_20unsigned_20long_29(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29($0), $1); + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = $2; + wasm2js_i32$0 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______end_cap_28_29($0), + wasm2js_i32$1 = Math_imul($1, 20) + $2 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_new_28unsigned_20long_29_20const($0, 0); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________hash_function_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____second_28_29($0 + 12 | 0); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_char_20const__2c_20void__28char_20const__2c_20char_20const__29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char______compressed_pair_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $3 + 8 | 0, $3); + std____2__enable_if___is_cpp17_forward_iterator_char_20const____value_2c_20void___type_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_char_20const___28char_20const__2c_20char_20const__29($0, $1, $2); + void_20std____2____debug_db_insert_c_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0); + __stack_pointer = $3 + 16 | 0; + return $0; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________unique_ptr_true_2c_20void__28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1 + 8 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_char__2c_20void__28char__2c_20char__2c_20std____2__allocator_char__20const__29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $3 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char______compressed_pair_std____2____default_init_tag_2c_20std____2__allocator_char__20const___28std____2____default_init_tag___2c_20std____2__allocator_char__20const__29($0, $4 + 8 | 0, $3); + std____2__enable_if___is_cpp17_forward_iterator_char____value_2c_20void___type_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_char___28char__2c_20char__29($3, $1, $2); + void_20std____2____debug_db_insert_c_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($3); + __stack_pointer = $4 + 16 | 0; + return $3; +} + +function arCreateHandle($0) { + var $1 = 0, $2 = 0; + $1 = dlmalloc(7062432); + if ($1) { + label$2: { + HEAP32[$1 + 7062408 >> 2] = 0; + HEAP32[$1 >> 2] = 0; + HEAP32[$1 + 4 >> 2] = -1; + HEAP32[$1 + 7062424 >> 2] = 3; + HEAP32[$1 + 7062416 >> 2] = 0; + HEAP32[$1 + 7062420 >> 2] = 1071644672; + HEAP32[$1 + 24 >> 2] = 0; + HEAP32[$1 + 28 >> 2] = 2; + HEAP32[$1 + 16 >> 2] = 100; + HEAP32[$1 + 20 >> 2] = 0; + HEAP32[$1 + 8 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 1; + HEAP32[$1 + 32 >> 2] = $0; + HEAP32[$1 + 4834148 >> 2] = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$1 + 36 >> 2] = $2; + $0 = HEAP32[$0 + 4 >> 2]; + HEAP32[$1 + 4834152 >> 2] = 0; + HEAP32[$1 + 15408 >> 2] = 0; + HEAP32[$1 + 44 >> 2] = 0; + HEAP32[$1 + 40 >> 2] = $0; + HEAP32[$1 + 4818296 >> 2] = 0; + $0 = dlmalloc(Math_imul($0, $2) << 1); + HEAP32[$1 + 4834144 >> 2] = $0; + if (!$0) { + break label$2; + } + HEAP32[$1 + 7062384 >> 2] = 0; + arSetDebugMode($1, 0); + HEAP32[$1 + 7062388 >> 2] = -1; + arSetLabelingThreshMode($1, 0); + arSetLabelingThreshModeAutoInterval($1, 7); + return $1; + } + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); } -function __ZNK6vision10DoGPyramid3getEm(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return (HEAP32[i1 >> 2] | 0) + (i2 << 5) | 0; +function icpGetMat_from_Q($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $2 = HEAPF64[$1 + 24 >> 3]; + $5 = cos($2); + $3 = HEAPF64[$1 >> 3]; + $4 = $3 * $3; + $3 = 1 - $5; + HEAPF64[$0 >> 3] = $5 + $4 * $3; + $4 = HEAPF64[$1 >> 3] * HEAPF64[$1 + 8 >> 3] * $3; + $6 = HEAPF64[$1 + 16 >> 3]; + $2 = sin($2); + HEAPF64[$0 + 8 >> 3] = $4 - $6 * $2; + HEAPF64[$0 + 16 >> 3] = HEAPF64[$1 >> 3] * HEAPF64[$1 + 16 >> 3] * $3 + $2 * HEAPF64[$1 + 8 >> 3]; + HEAPF64[$0 + 24 >> 3] = HEAPF64[$1 + 32 >> 3]; + HEAPF64[$0 + 32 >> 3] = HEAPF64[$1 + 8 >> 3] * HEAPF64[$1 >> 3] * $3 + $2 * HEAPF64[$1 + 16 >> 3]; + $4 = HEAPF64[$1 + 8 >> 3]; + HEAPF64[$0 + 40 >> 3] = $5 + $4 * $4 * $3; + HEAPF64[$0 + 48 >> 3] = HEAPF64[$1 + 8 >> 3] * HEAPF64[$1 + 16 >> 3] * $3 - $2 * HEAPF64[$1 >> 3]; + HEAPF64[$0 + 56 >> 3] = HEAPF64[$1 + 40 >> 3]; + HEAPF64[$0 + 64 >> 3] = HEAPF64[$1 + 16 >> 3] * HEAPF64[$1 >> 3] * $3 - $2 * HEAPF64[$1 + 8 >> 3]; + HEAPF64[$0 + 72 >> 3] = HEAPF64[$1 + 16 >> 3] * HEAPF64[$1 + 8 >> 3] * $3 + $2 * HEAPF64[$1 >> 3]; + $2 = HEAPF64[$1 + 16 >> 3]; + HEAPF64[$0 + 80 >> 3] = $5 + $2 * $2 * $3; + HEAPF64[$0 + 88 >> 3] = HEAPF64[$1 + 48 >> 3]; +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____max_size_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long___20const__29(std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______end_28_29($0) { + var $1 = 0; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + $1 = std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______29($0 + 8 | 0, 0); + __stack_pointer = $0 + 16 | 0; + return HEAP32[$1 >> 2]; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b10_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b10_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b10_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b10_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0 + 408 | 0, $1, $2); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____first_28_29($0 + 12 | 0); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________max_load_factor_28_29($0) { + return std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____first_28_29($0 + 16 | 0); +} + +function std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______destruct_at_end_28vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 36 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____destroy_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__29($3, vision__DoGScaleInvariantDetector__FeaturePoint__20std____2____to_address_vision__DoGScaleInvariantDetector__FeaturePoint__28vision__DoGScaleInvariantDetector__FeaturePoint__29($2)); + continue; + } + break; + } } -function __ZN6vision11SumSquares9IfEET_PKS1_(i1) { - i1 = i1 | 0; - return +(+__ZN6vision11DotProduct9IfEET_PKS1_S3_(i1, i1)); +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0 + 408 | 0, $1, $2); } -function _wctomb(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if (!i1) i1 = 0; else i1 = _wcrtomb(i1, i2, 0) | 0; - return i1 | 0; +function $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding__FunctionEncoding_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers_2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual_29($0, $1, $2, $3, $4, $5, $6) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 18, 0, 1, 0); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 72376; + $1 = HEAP32[$3 + 4 >> 2]; + $2 = HEAP32[$3 >> 2]; + HEAP8[$0 + 32 | 0] = $6; + HEAP32[$0 + 28 >> 2] = $5; + HEAP32[$0 + 24 >> 2] = $4; + HEAP32[$0 + 16 >> 2] = $2; + HEAP32[$0 + 20 >> 2] = $1; + return $0; } -function __ZNSt3__215__refstring_imp12_GLOBAL__N_113data_from_repEPNS1_9_Rep_baseE(i1) { - i1 = i1 | 0; - return i1 + 12 | 0; +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0), std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0) + Math_imul(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____capacity_28_29_20const($0), 12) | 0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0) + Math_imul(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____capacity_28_29_20const($0), 12) | 0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0) + Math_imul($1, 12) | 0); } -function __ZNSt3__211char_traitsIwE11eq_int_typeEjj(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return (i1 | 0) == (i2 | 0) | 0; +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0), std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0) + Math_imul(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____capacity_28_29_20const($0), 12) | 0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0) + Math_imul($1, 12) | 0, std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0) + Math_imul(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____size_28_29_20const($0), 12) | 0); } -function __ZNSt3__211char_traitsIcE11eq_int_typeEii(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return (i1 | 0) == (i2 | 0) | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0 + 408 | 0, $1); } -function dynCall_vii(i3, i1, i2) { - i3 = i3 | 0; - i1 = i1 | 0; - i2 = i2 | 0; - FUNCTION_TABLE_vii[i3 & 63](i1 | 0, i2 | 0); +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__EnclosingExpr_2c_20char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d__28char_20const_20_28__29_20_5b11_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b2_5d_29($0 + 408 | 0, $1); } -function _vsprintf(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return _vsnprintf(i1, 2147483647, i2, i3) | 0; +function std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____unordered_map_28_29($0) { + $0 = std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______hash_table_28_29($0); + void_20std____2____debug_db_insert_c_std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____28std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____29($0); + return $0; } -function __ZNKSt3__26vectorIPKN6vision4NodeILi96EEENS_9allocatorIS5_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 1073741823; +function void_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______construct_one_at_end_vision__match_t__28vision__match_t___29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t_____ConstructTransaction___ConstructTransaction_28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____2c_20unsigned_20long_29($3, $0, 1); + void_20std____2__allocator_traits_std____2__allocator_vision__match_t____construct_vision__match_t_2c_20vision__match_t_2c_20void__28std____2__allocator_vision__match_t___2c_20vision__match_t__2c_20vision__match_t___29(std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29($0), vision__match_t__20std____2____to_address_vision__match_t__28vision__match_t__29(HEAP32[$2 + 4 >> 2]), $1); + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 8; + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; } -function __ZN6vision8KeyframeILi96EE9setHeightEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 + 4 >> 2] = i2; - return; +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______throw_length_error_28_29_20const($0); + abort(); } -function ___loc_is_allocated(i1) { - i1 = i1 | 0; - return (i1 | 0) != 13788 & ((i1 | 0) != 0 & (i1 | 0) != 56288) & 1 | 0; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________key_eq_28_29($0) { + return std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____second_28_29($0 + 16 | 0); } -function __ZNSt3__212_GLOBAL__N_14makeINS_8messagesIwEEjEERT_T0_() { - HEAP32[13993] = 0; - HEAP32[13992] = 16660; - return; +function std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20void__28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; } -function __ZNSt3__212_GLOBAL__N_14makeINS_8messagesIcEEjEERT_T0_() { - HEAP32[13991] = 0; - HEAP32[13990] = 16628; - return; +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_std__nullptr_t__28wchar_t_20const__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t______compressed_pair_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $2 + 8 | 0, $2); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______init_28wchar_t_20const__2c_20unsigned_20long_29($0, $1, std____2__char_traits_wchar_t___length_28wchar_t_20const__29($1)); + void_20std____2____debug_db_insert_c_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____29($0); + __stack_pointer = $2 + 16 | 0; + return $0; } -function __ZNKSt3__26vectorIPN6vision4NodeILi96EEENS_9allocatorIS4_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 1073741823; +function std____2__iterator_traits_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const____difference_type_20std____2__distance_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const___28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__29($0, $1) { + return std____2__iterator_traits_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const____difference_type_20std____2____distance_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const___28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__random_access_iterator_tag_29($0, $1); } -function __ZNKSt3__26vectorIN6vision12FeaturePointENS_9allocatorIS2_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 214748364; +function std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____end_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____29($1 + 8 | 0, std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____end_28_29($0)) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZNKSt11logic_error4whatEv(i1) { - i1 = i1 | 0; - return __ZNKSt3__218__libcpp_refstring5c_strEv(i1 + 4 | 0) | 0; +function std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char______on_zero_shared_28_29($0) { + $0 = $0 | 0; + $0 = $0 + 12 | 0; + NullArrayDeleter_unsigned_20char___operator_28_29_28unsigned_20char__29_20const(std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char____second_28_29(std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char____first_28_29($0)), HEAP32[std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char____first_28_29(std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char____first_28_29($0)) >> 2]); + std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char____second_28_29(std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char____first_28_29($0)); } -function __ZN6vision10ZeroVectorIhEEvPT_m(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - _memset(i1 | 0, 0, i2 | 0) | 0; - return; +function std____2____num_get_wchar_t_____stage2_float_prep_28std____2__ios_base__2c_20wchar_t__2c_20wchar_t__2c_20wchar_t__29($0, $1, $2, $3, $4) { + var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + std____2__ios_base__getloc_28_29_20const($5 + 8 | 0, $1); + std____2__ctype_wchar_t___widen_28char_20const__2c_20char_20const__2c_20wchar_t__29_20const(std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($5 + 8 | 0), 57760, 57792, $2); + $1 = std____2__numpunct_wchar_t__20const__20std____2__use_facet_std____2__numpunct_wchar_t___28std____2__locale_20const__29($5 + 8 | 0); + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__numpunct_wchar_t___decimal_point_28_29_20const($1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__numpunct_wchar_t___thousands_sep_28_29_20const($1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__numpunct_wchar_t___grouping_28_29_20const($0, $1); + std____2__locale___locale_28_29($5 + 8 | 0); + __stack_pointer = $5 + 16 | 0; } -function __ZN10emscripten8internal6TypeIDIRKiE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIRKiE3getEv() | 0; -} +function std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image______ConstructTransaction___ConstructTransaction_28vision__Image___2c_20unsigned_20long_29($2, $0 + 8 | 0, $1); + $3 = HEAP32[$1 >> 2]; + while (1) { + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_vision__Image____construct_vision__Image_2c_20void__28std____2__allocator_vision__Image___2c_20vision__Image__29(std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______alloc_28_29($0), vision__Image__20std____2____to_address_vision__Image__28vision__Image__29(HEAP32[$1 >> 2])); + $3 = HEAP32[$1 >> 2] + 32 | 0; + HEAP32[$1 >> 2] = $3; + continue; + } + break; + } + std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image______ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____vector_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$2 + 12 >> 2] = 0; + std____2____compressed_pair_vision__Point2d_float___2c_20std____2__allocator_vision__Point2d_float_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $2 + 12 | 0, $2 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____28std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____29($0); + if ($1) { + std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______vallocate_28unsigned_20long_29($0, $1); + std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______construct_at_end_28unsigned_20long_29($0, $1); + } + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function arSetLabelingThreshMode($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + label$1: { + if (!$0) { + $4 = -1; + break label$1; + } + if (HEAP32[$0 + 7062388 >> 2] == ($1 | 0)) { + break label$1; + } + $3 = HEAP32[$0 + 7062408 >> 2]; + if ($3) { + arImageProcFinal($3); + HEAP32[$0 + 7062408 >> 2] = 0; + } + label$4: { + label$5: { + switch ($1 | 0) { + case 1: + case 2: + case 3: + wasm2js_i32$0 = $0, wasm2js_i32$1 = arImageProcInit(HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2]), + HEAP32[wasm2js_i32$0 + 7062408 >> 2] = wasm2js_i32$1; + break label$4; -function __ZN10emscripten8internal6TypeIDIRKdE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIRKdE3getEv() | 0; -} + case 4: + HEAP32[$0 + 7062400 >> 2] = 1; + HEAP32[$0 + 7062404 >> 2] = 1; + $1 = 4; + break label$4; -function __ZNSt3__212_GLOBAL__N_14makeINS_7collateIwEEjEERT_T0_() { - HEAP32[13919] = 0; - HEAP32[13918] = 14724; - return; -} + case 0: + break label$4; -function __ZNSt3__212_GLOBAL__N_14makeINS_7collateIcEEjEERT_T0_() { - HEAP32[13917] = 0; - HEAP32[13916] = 14692; - return; + default: + break label$5; + } + } + $1 = 0; + arLog(0, 3, 2789, 0); + } + HEAP32[$0 + 7062388 >> 2] = $1; + if (HEAP32[$0 >> 2] != 1) { + break label$1; + } + HEAP32[$2 >> 2] = HEAP32[($1 << 2) + 6480 >> 2]; + arLog(0, 3, 7021, $2); + } + __stack_pointer = $2 + 16 | 0; + return $4; } -function __ZNSt3__210__stdinbufIwE5uflowEv(i1) { - i1 = i1 | 0; - return __ZNSt3__210__stdinbufIwE9__getcharEb(i1, 1) | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__29($0 + 408 | 0, $1, $2); } -function __ZNSt3__210__stdinbufIcE5uflowEv(i1) { - i1 = i1 | 0; - return __ZNSt3__210__stdinbufIcE9__getcharEb(i1, 1) | 0; +function std____2____split_buffer_float_2c_20std____2__allocator_float_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_float___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_float__2c_20std____2__allocator_float_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_float____28std__nullptr_t___2c_20std____2__allocator_float___29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_float____allocate_28std____2__allocator_float___2c_20unsigned_20long_29(std____2____split_buffer_float_2c_20std____2__allocator_float_______alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = ($2 << 2) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_float_2c_20std____2__allocator_float_______end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 2) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; } -function __ZN6vision4min2IiEET_S1_S1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return ((i1 | 0) < (i2 | 0) ? i1 : i2) | 0; +function std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_201_2c_20true_____get_28_29_20const($0); } -function __ZN6vision4max2IiEET_S1_S1_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return ((i1 | 0) > (i2 | 0) ? i1 : i2) | 0; +function bool_20std____2__all_of__28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda1__28_28anonymous_20namespace_29__itanium_demangle__Node__29__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda1__28_28anonymous_20namespace_29__itanium_demangle__Node__29_29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + $2 = ($0 | 0) == ($1 | 0); + if (!$2) { + $3 = HEAP32[$0 >> 2]; + $0 = $0 + 4 | 0; + if ($28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda1__28_28anonymous_20namespace_29__itanium_demangle__Node__29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__Node__29_20const($3)) { + continue; + } + } + break; + } + return $2; } -function __ZNSt3__25ctypeIcE13classic_tableEv() { - var i1 = 0; - i1 = ___ctype_b_loc() | 0; - return HEAP32[i1 >> 2] | 0; +function bool_20std____2__all_of__28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda0__28_28anonymous_20namespace_29__itanium_demangle__Node__29__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda0__28_28anonymous_20namespace_29__itanium_demangle__Node__29_29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + $2 = ($0 | 0) == ($1 | 0); + if (!$2) { + $3 = HEAP32[$0 >> 2]; + $0 = $0 + 4 | 0; + if ($28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda0__28_28anonymous_20namespace_29__itanium_demangle__Node__29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__Node__29_20const($3)) { + continue; + } + } + break; + } + return $2; } -function __ZNSt3__210moneypunctIwLb1EED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________annotate_delete_28_29_20const($0) { + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______data_28_29_20const($0), std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______data_28_29_20const($0) + (std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______capacity_28_29_20const($0) << 2) | 0, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______data_28_29_20const($0) + (std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______size_28_29_20const($0) << 2) | 0, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______data_28_29_20const($0) + (std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______capacity_28_29_20const($0) << 2) | 0); } -function __ZNSt3__210moneypunctIwLb0EED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ElaboratedTypeSpefType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__ElaboratedTypeSpefType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ElaboratedTypeSpefType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function __ZNSt3__210moneypunctIcLb1EED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function bool_20std____2__all_of__28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda__28_28anonymous_20namespace_29__itanium_demangle__Node__29__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda__28_28anonymous_20namespace_29__itanium_demangle__Node__29_29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + $2 = ($0 | 0) == ($1 | 0); + if (!$2) { + $3 = HEAP32[$0 >> 2]; + $0 = $0 + 4 | 0; + if ($28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda__28_28anonymous_20namespace_29__itanium_demangle__Node__29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__Node__29_20const($3)) { + continue; + } + } + break; + } + return $2; } -function __ZNSt3__210moneypunctIcLb0EED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function __cxxabiv1____vmi_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + var $4 = 0, $5 = 0; + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], 0)) { + __cxxabiv1____class_type_info__process_found_base_class_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3); + return; + } + $4 = HEAP32[$0 + 12 >> 2]; + $5 = $0 + 16 | 0; + __cxxabiv1____base_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($5, $1, $2, $3); + $0 = $0 + 24 | 0; + $4 = ($4 << 3) + $5 | 0; + label$2: { + if ($0 >>> 0 >= $4 >>> 0) { + break label$2; + } + while (1) { + __cxxabiv1____base_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3); + if (HEAPU8[$1 + 54 | 0]) { + break label$2; + } + $0 = $0 + 8 | 0; + if ($4 >>> 0 > $0 >>> 0) { + continue; + } + break; + } + } } -function _strncpy(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - ___stpncpy(i1, i2, i3) | 0; - return i1 | 0; +function std____2__vector_int_2c_20std____2__allocator_int____swap_28std____2__vector_int_2c_20std____2__allocator_int____29($0, $1) { + std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_int___28int___2c_20int___29($0, $1); + std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_int___28int___2c_20int___29($0 + 4 | 0, $1 + 4 | 0); + std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_int___28int___2c_20int___29(std____2__vector_int_2c_20std____2__allocator_int______end_cap_28_29($0), std____2__vector_int_2c_20std____2__allocator_int______end_cap_28_29($1)); + void_20std____2____swap_allocator_std____2__allocator_int___28std____2__allocator_int___2c_20std____2__allocator_int___2c_20std____2__integral_constant_bool_2c_20false__29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0), std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($1)); } -function __ZNSt3__212_GLOBAL__N_14makeINS_6locale5__impEjEERT_T0_() { - __ZNSt3__26locale5__impC2Em(55984, 1); - return; +function std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________allocate_28std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________allocate_28unsigned_20long_29($0, $1); } -function __ZNSt3__212_GLOBAL__N_14makeINS_5ctypeIwEEjEERT_T0_() { - HEAP32[13925] = 0; - HEAP32[13924] = 17052; - return; +function std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_201_2c_20false_____get_28_29($0 + 4 | 0); } -function __ZNKSt3__26vectorIN6vision7Point3dIfEENS_9allocatorIS3_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 357913941; +function $28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$3 >> 2] = $2; + HEAP32[$3 + 4 >> 2] = $4; + HEAP32[$3 + 8 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl__TemplateTemplateParamDecl_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1, $3); + __stack_pointer = $3 + 16 | 0; + return $1; } -function __ZNKSt3__26vectorIN6vision7Point2dIfEENS_9allocatorIS3_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 536870911; +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____data_28_29_20const($0), std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____data_28_29_20const($0) + (std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____data_28_29_20const($0) + (std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____capacity_28_29_20const($0) << 3) | 0, std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____data_28_29_20const($0) + ($1 << 3) | 0); } -function __ZN6vision7Point2dIfEC2Ev(i1) { - i1 = i1 | 0; - HEAPF32[i1 >> 2] = 0.0; - HEAPF32[i1 + 4 >> 2] = 0.0; - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__IntegerLiteral_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__IntegerLiteral__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__IntegerLiteral_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0 + 408 | 0, $1, $2); } -function __ZN6vision4NodeILi96EE4leafEb(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP8[i1 + 100 >> 0] = i2 & 1; - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__BracedExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool___29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__BracedExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__BracedExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool___29($0 + 408 | 0, $1, $2, $3); } -function __ZN6vision12SafeDivisionIfEET_S1_S1_(d1, d2) { - d1 = +d1; - d2 = +d2; - return +(d1 / (d2 == 0.0 ? 1.0 : d2)); +function $28anonymous_20namespace_29__itanium_demangle__ElaboratedTypeSpefType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ElaboratedTypeSpefType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $4 = HEAP32[$1 + 4 >> 2]; + $5 = HEAP32[$1 >> 2]; + HEAP32[$3 + 8 >> 2] = $5; + HEAP32[$3 + 12 >> 2] = $4; + $1 = HEAP32[$2 >> 2]; + HEAP32[$3 >> 2] = $5; + HEAP32[$3 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__ElaboratedTypeSpefType__ElaboratedTypeSpefType_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $3, $1); + __stack_pointer = $3 + 16 | 0; + return $1; } -function _do_read_589(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return ___string_read(i1, i2, i3) | 0; +function vision__BinaryHierarchicalClustering_96___build_28unsigned_20char_20const__2c_20int_29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $3 = std____2__vector_int_2c_20std____2__allocator_int____vector_28unsigned_20long_29($5, $2); + while (1) { + if (std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($3) >>> 0 <= $4 >>> 0) { + vision__BinaryHierarchicalClustering_96___build_28unsigned_20char_20const__2c_20int_2c_20int_20const__2c_20int_29($0, $1, $2, std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29($3, 0), std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($3)); + std____2__vector_int_2c_20std____2__allocator_int_____vector_28_29($3); + __stack_pointer = $5 + 16 | 0; + } else { + wasm2js_i32$0 = std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29($3, $4), + wasm2js_i32$1 = $4, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $4 = $4 + 1 | 0; + continue; + } + break; + } } -function ___cxx_global_var_init_374() { - __ZN53EmscriptenBindingInitializer_native_and_builtin_typesC2Ev(0); - return; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________unique_ptr_true_2c_20void__28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1 + 8 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZNSt3__212_GLOBAL__N_17countofIwEEmPKT_S4_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return i2 - i1 >> 2 | 0; +function std____2____call_once_28unsigned_20long_20volatile__2c_20void__2c_20void_20_28__29_28void__29_29($0, $1, $2) { + std____2____libcpp_mutex_lock_28pthread_mutex_t__29(84336); + while (1) { + if (HEAP32[$0 >> 2] == 1) { + std____2____libcpp_condvar_wait_28pthread_cond_t__2c_20pthread_mutex_t__29(84360, 84336); + continue; + } + break; + } + if (!HEAP32[$0 >> 2]) { + void_20std____2___28anonymous_20namespace_29____libcpp_relaxed_store_unsigned_20long_20volatile_2c_20unsigned_20long__28unsigned_20long_20volatile__2c_20unsigned_20long_29($0); + std____2____libcpp_mutex_unlock_28pthread_mutex_t__29(84336); + FUNCTION_TABLE[$2 | 0]($1); + std____2____libcpp_mutex_lock_28pthread_mutex_t__29(84336); + void_20std____2___28anonymous_20namespace_29____libcpp_atomic_store_unsigned_20long_20volatile_2c_20unsigned_20long__28unsigned_20long_20volatile__2c_20unsigned_20long_2c_20int_29($0); + std____2____libcpp_mutex_unlock_28pthread_mutex_t__29(84336); + std____2____libcpp_condvar_broadcast_28pthread_cond_t__29(84360); + return; + } + std____2____libcpp_mutex_unlock_28pthread_mutex_t__29(84336); } -function __ZN6vision8KeyframeILi96EE8setWidthEi(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - HEAP32[i1 >> 2] = i2; - return; +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0), std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____capacity_28_29_20const($0), 20) | 0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____capacity_28_29_20const($0), 20) | 0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0) + Math_imul($1, 20) | 0); } -function __ZN10emscripten8internal6TypeIDIvE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIvE3getEv() | 0; +function void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______construct_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1) { + void_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______construct_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1); } -function __ZN10emscripten8internal6TypeIDItE3getEv() { - return __ZN10emscripten8internal11LightTypeIDItE3getEv() | 0; +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0), std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____capacity_28_29_20const($0), 20) | 0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0) + Math_imul($1, 20) | 0, std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0) + Math_imul(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0), 20) | 0); } -function __ZN10emscripten8internal6TypeIDIsE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIsE3getEv() | 0; +function std____2__enable_if___is_cpp17_forward_iterator_std____2____wrap_iter_int_20const_____value_2c_20void___type_20std____2__vector_int_2c_20std____2__allocator_int______construct_at_end_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___2c_20unsigned_20long_29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $3 = std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction___ConstructTransaction_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_29($4, $0, $3); + void_20std____2____construct_range_forward_std____2__allocator_int__2c_20std____2____wrap_iter_int_20const___2c_20int___28std____2__allocator_int___2c_20std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___2c_20int___29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0), $1, $2, $3 + 4 | 0); + std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction____ConstructTransaction_28_29($3); + __stack_pointer = $4 + 16 | 0; } -function __ZN10emscripten8internal6TypeIDImE3getEv() { - return __ZN10emscripten8internal11LightTypeIDImE3getEv() | 0; +function std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_201_2c_20true_____get_28_29($0); } -function __ZN10emscripten8internal6TypeIDIlE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIlE3getEv() | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function __ZN10emscripten8internal6TypeIDIjE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIjE3getEv() | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ReferenceType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__ReferenceType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ReferenceType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind___29($0 + 408 | 0, $1, $2); } -function __ZN10emscripten8internal6TypeIDIiE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIiE3getEv() | 0; +function void_20std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______construct_one_at_end_multi_marker_20const___28multi_marker_20const__29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker_____ConstructTransaction___ConstructTransaction_28std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____2c_20unsigned_20long_29($3, $0, 1); + void_20std____2__allocator_traits_std____2__allocator_multi_marker____construct_multi_marker_2c_20multi_marker_20const__2c_20void__28std____2__allocator_multi_marker___2c_20multi_marker__2c_20multi_marker_20const__29(std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______alloc_28_29($0), multi_marker__20std____2____to_address_multi_marker__28multi_marker__29(HEAP32[$2 + 4 >> 2]), $1); + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 8; + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; } -function __ZN10emscripten8internal6TypeIDIhE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIhE3getEv() | 0; +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______vector_28_29($0) { + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____deallocate_28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long___2c_20unsigned_20long_29(std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____capacity_28_29_20const($0)); + } + return $0; } -function __ZN10emscripten8internal6TypeIDIfE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIfE3getEv() | 0; +function $28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b11_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b11_5d_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = HEAP32[$1 >> 2]; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 28025); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType__PostfixQualifiedType_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2); + __stack_pointer = $2 + 16 | 0; + return $1; } -function __ZN10emscripten8internal6TypeIDIdE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIdE3getEv() | 0; +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______annotate_delete_28_29_20const($0) { + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0), std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0) + (std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____capacity_28_29_20const($0) << 1) | 0, std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0) + (std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____size_28_29_20const($0) << 1) | 0, std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0) + (std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____capacity_28_29_20const($0) << 1) | 0); } -function __ZN10emscripten8internal6TypeIDIcE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIcE3getEv() | 0; +function std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_200_2c_20false_____get_28_29_20const($0); } -function __ZN10emscripten8internal6TypeIDIbE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIbE3getEv() | 0; +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___parseEncoding_28_29___lambda__28_29__operator_28_29_28_29_20const($0) { + var $1 = 0; + $0 = HEAP32[$0 >> 2]; + if (!$28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($0)) { + return 1; + } + $0 = $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, 0) - 46 | 0; + if (($0 & 255) >>> 0 <= 49) { + $1 = $0 & 31; + $1 = (($0 & 63) >>> 0 >= 32 ? 131072 >>> $1 | 0 : ((1 << $1) - 1 & 131072) << 32 - $1 | 8388609 >>> $1) & 1; + } + return $1; +} + +function std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_200_2c_20false_____get_28_29_20const($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b9_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b9_5d_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = HEAP32[$1 >> 2]; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 28203); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType__PostfixQualifiedType_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____vector_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$2 + 12 >> 2] = 0; + std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $2 + 12 | 0, $2 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____29($0); + if ($1) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______vallocate_28unsigned_20long_29($0, $1); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______construct_at_end_28unsigned_20long_29($0, $1); + } + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____max_size_std____2____sso_allocator_std____2__locale__facet__2c_2030ul__2c_20void__28std____2____sso_allocator_std____2__locale__facet__2c_2030ul__20const__29(std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function EX($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $3 = -1; + label$1: { + $5 = HEAP32[$0 + 4 >> 2]; + if (($5 | 0) <= 0) { + break label$1; + } + $4 = HEAP32[$0 + 8 >> 2]; + if (($4 | 0) <= 0 | HEAP32[$1 + 4 >> 2] != ($4 | 0)) { + break label$1; + } + while (1) { + if (($2 | 0) != ($4 | 0)) { + $3 = HEAP32[$1 >> 2] + ($2 << 3) | 0; + HEAP32[$3 >> 2] = 0; + HEAP32[$3 + 4 >> 2] = 0; + $2 = $2 + 1 | 0; + continue; + } + break; + } + $3 = HEAP32[$0 >> 2]; + while (1) if (($5 | 0) == ($6 | 0)) { + $7 = +($5 | 0); + $3 = 0; + $2 = 0; + while (1) { + if (($2 | 0) == ($4 | 0)) { + break label$1; + } + $0 = HEAP32[$1 >> 2] + ($2 << 3) | 0; + HEAPF64[$0 >> 3] = HEAPF64[$0 >> 3] / $7; + $2 = $2 + 1 | 0; + continue; + } + } else { + $2 = HEAP32[$1 >> 2]; + $0 = 0; + while (1) { + if (($0 | 0) != ($4 | 0)) { + HEAPF64[$2 >> 3] = HEAPF64[$3 >> 3] + HEAPF64[$2 >> 3]; + $0 = $0 + 1 | 0; + $2 = $2 + 8 | 0; + $3 = $3 + 8 | 0; + continue; + } + break; + } + $6 = $6 + 1 | 0; + continue; + } + } + return $3; } -function __ZN10emscripten8internal6TypeIDIaE3getEv() { - return __ZN10emscripten8internal11LightTypeIDIaE3getEv() | 0; +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1, $2) { + $0 = std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0); + std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0 + 4 | 0); + return $0; } -function __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EEC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 + 4096 >> 2] = i1; - return; +function get_vertex($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0; + $7 = $3 << 2; + $9 = HEAP32[$7 + $0 >> 2]; + $8 = $2 << 2; + $14 = HEAP32[$8 + $1 >> 2]; + $7 = HEAP32[$1 + $7 >> 2]; + $8 = HEAP32[$0 + $8 >> 2]; + $15 = +(Math_imul($9, $14) - Math_imul($7, $8) | 0); + $11 = +($8 - $9 | 0); + $12 = +($7 - $14 | 0); + $7 = $2 + 1 | 0; + $9 = $7; + while (1) { + if (($3 | 0) > ($7 | 0)) { + $8 = $7 << 2; + $10 = $12 * +HEAP32[$8 + $0 >> 2] + $11 * +HEAP32[$1 + $8 >> 2] + $15; + $10 = $10 * $10; + $8 = $10 > $13; + $13 = $8 ? $10 : $13; + $9 = $8 ? $7 : $9; + $7 = $7 + 1 | 0; + continue; + } + break; + } + label$3: { + if ($13 / ($12 * $12 + $11 * $11) > $4) { + $7 = -1; + if ((get_vertex($0, $1, $2, $9, $4, $5, $6) | 0) < 0) { + break label$3; + } + $8 = HEAP32[$6 >> 2]; + if (($8 | 0) > 5) { + break label$3; + } + HEAP32[($8 << 2) + $5 >> 2] = $9; + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + 1; + if ((get_vertex($0, $1, $9, $3, $4, $5, $6) | 0) < 0) { + break label$3; + } + } + $7 = 0; + } + return $7; } -function b7(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - nullFunc_iiiii(7); - return 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CtorVtableSpecialName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__CtorVtableSpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CtorVtableSpecialName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function _strcat(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - _strcpy(i1 + (_strlen(i1) | 0) | 0, i2) | 0; - return i1 | 0; +function std____2____split_buffer_int_2c_20std____2__allocator_int_______split_buffer_28unsigned_20long_2c_20unsigned_20long_2c_20std____2__allocator_int___29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = 0; + std____2____compressed_pair_int__2c_20std____2__allocator_int_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_int____28std__nullptr_t___2c_20std____2__allocator_int___29($0 + 12 | 0, $4 + 12 | 0, $3); + if ($1) { + $5 = std____2__allocator_traits_std____2__allocator_int____allocate_28std____2__allocator_int___2c_20unsigned_20long_29(std____2____split_buffer_int_2c_20std____2__allocator_int_______alloc_28_29($0), $1); + } + HEAP32[$0 >> 2] = $5; + $3 = ($2 << 2) + $5 | 0; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $3; + wasm2js_i32$0 = std____2____split_buffer_int_2c_20std____2__allocator_int_______end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 2) + $5 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $4 + 16 | 0; + return $0; } -function _norm(d1, d2, d3) { - d1 = +d1; - d2 = +d2; - d3 = +d3; - return +(+Math_sqrt(+(d1 * d1 + d2 * d2 + d3 * d3))); +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function _close_backing_store(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - _fclose(HEAP32[i2 + 12 >> 2] | 0) | 0; - return; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________first_28_29_20const($0) >> 2] + ($1 << 2) | 0; } -function _arImageProcFinal(i1) { - i1 = i1 | 0; - if (i1 | 0) { - _free(HEAP32[i1 >> 2] | 0); - _free(i1); - } - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ObjCProtoName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__ObjCProtoName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ObjCProtoName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0 + 408 | 0, $1, $2); } -function __ZNSt3__212_GLOBAL__N_14makeINS_8numpunctIwEEjEERT_T0_() { - __ZNSt3__28numpunctIwEC2Em(55768, 1); - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ConversionExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__ConversionExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ConversionExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__29($0 + 408 | 0, $1, $2); } -function __ZNSt3__212_GLOBAL__N_14makeINS_8numpunctIcEEjEERT_T0_() { - __ZNSt3__28numpunctIcEC2Em(55744, 1); - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ConversionExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__ConversionExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ConversionExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0 + 408 | 0, $1, $2); } -function __ZNK6vision25GaussianScaleSpacePyramid10numOctavesEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 16 >> 2] | 0; +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______release_28_29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $1; } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiiEE8getCountEv(i1) { - i1 = i1 | 0; - return 4; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______end_28_29($0) { + var $1 = 0; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + $1 = std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($0 + 8 | 0, 0); + __stack_pointer = $0 + 16 | 0; + return HEAP32[$1 >> 2]; } -function __ZN10emscripten8internal11BindingTypeIdE10toWireTypeERKd(i1) { - i1 = i1 | 0; - return +(+HEAPF64[i1 >> 3]); +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PointerToMemberType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__PointerToMemberType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PointerToMemberType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EED2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 + 4096 >> 2] = 0; - return; +function std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____end_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____29($1 + 8 | 0, std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____end_28_29($0)) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function dynCall_vid(i3, i1, d2) { - i3 = i3 | 0; - i1 = i1 | 0; - d2 = +d2; - FUNCTION_TABLE_vid[i3 & 3](i1 | 0, +d2); +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____bucket_count_28_29_20const($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________size_28_29_20const(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________get_deleter_28_29_20const($0)); } -function _setThrew(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - if (!__THREW__) { - __THREW__ = i1; - threwValue = i2; - } +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ArraySubscriptExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__ArraySubscriptExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ArraySubscriptExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function _isxdigit(i1) { - i1 = i1 | 0; - return (((i1 | 32) + -97 | 0) >>> 0 < 6 | (_isdigit(i1) | 0) != 0) & 1 | 0; +function $28anonymous_20namespace_29__itanium_demangle__ClosureTypeName__ClosureTypeName_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 46, 1, 1, 1); + HEAP32[$0 >> 2] = 67728; + $4 = $1; + $1 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + $4 = $1; + $1 = $0; + HEAP32[$1 + 8 >> 2] = $4; + HEAP32[$1 + 12 >> 2] = $5; + $4 = $2; + $5 = HEAP32[$4 >> 2]; + $1 = HEAP32[$4 + 4 >> 2]; + HEAP32[$0 + 16 >> 2] = $5; + HEAP32[$0 + 20 >> 2] = $1; + $4 = $3; + $1 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + $2 = $1; + $1 = $0; + HEAP32[$1 + 24 >> 2] = $2; + HEAP32[$1 + 28 >> 2] = $5; + return $1; } -function __ZSt15get_new_handlerv() { - var i1 = 0; - i1 = HEAP32[14588] | 0; - HEAP32[14588] = i1 + 0; - return i1 | 0; +function std____2__locale____imp_____imp_28_29($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0; + HEAP32[$0 >> 2] = 58008; + $1 = $0 + 8 | 0; + while (1) { + if (std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____size_28_29_20const($1) >>> 0 > $2 >>> 0) { + if (HEAP32[std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____operator_5b_5d_28unsigned_20long_29($1, $2) >> 2]) { + std____2____shared_count____release_shared_28_29(HEAP32[std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____operator_5b_5d_28unsigned_20long_29($1, $2) >> 2]); + } + $2 = $2 + 1 | 0; + continue; + } + break; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0 + 152 | 0); + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____vector_28_29($1); + return std____2__locale__facet___facet_28_29($0) | 0; } -function __ZNSt3__29basic_iosIwNS_11char_traitsIwEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__28ios_baseD2Ev(i1); - return; +function std____2____num_get_char_____stage2_float_prep_28std____2__ios_base__2c_20char__2c_20char__2c_20char__29($0, $1, $2, $3, $4) { + var $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + std____2__ios_base__getloc_28_29_20const($5 + 8 | 0, $1); + std____2__ctype_char___widen_28char_20const__2c_20char_20const__2c_20char__29_20const(std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($5 + 8 | 0), 57760, 57792, $2); + $1 = std____2__numpunct_char__20const__20std____2__use_facet_std____2__numpunct_char___28std____2__locale_20const__29($5 + 8 | 0); + wasm2js_i32$0 = $3, wasm2js_i32$1 = std____2__numpunct_char___decimal_point_28_29_20const($1), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + wasm2js_i32$0 = $4, wasm2js_i32$1 = std____2__numpunct_char___thousands_sep_28_29_20const($1), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + std____2__numpunct_char___grouping_28_29_20const($0, $1); + std____2__locale___locale_28_29($5 + 8 | 0); + __stack_pointer = $5 + 16 | 0; } -function __ZNSt3__29basic_iosIcNS_11char_traitsIcEEED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__28ios_baseD2Ev(i1); - return; +function std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________first_28_29($0) { + return std____2____compressed_pair_elem_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_200_2c_20false_____get_28_29($0); } -function __ZNSt3__215__refstring_imp12_GLOBAL__N_113rep_from_dataEPKc_986(i1) { - i1 = i1 | 0; - return i1 + -12 | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnumLiteral_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__EnumLiteral__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__EnumLiteral_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0 + 408 | 0, $1, $2); } -function __ZNKSt3__26vectorIN6vision7match_tENS_9allocatorIS2_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 536870911; +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______destruct_at_end_28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, $1) { + var $2 = 0; + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______invalidate_iterators_past_28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, $1); + $2 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($0); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______base_destruct_at_end_28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, $1); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______annotate_shrink_28unsigned_20long_29_20const($0, $2); } -function __ZNK6vision28BinaryHierarchicalClusteringILi96EE12reverseIndexEv(i1) { - i1 = i1 | 0; - return i1 + 72 | 0; +function std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____unordered_map_28_29($0) { + $0 = std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______hash_table_28_29($0); + void_20std____2____debug_db_insert_c_std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____28std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____29($0); + return $0; } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJviiEE8getCountEv(i1) { - i1 = i1 | 0; - return 3; +function std____2____compressed_pair_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________first_28_29($0) { + return std____2____compressed_pair_elem_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_200_2c_20false_____get_28_29($0); } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJvifEE8getCountEv(i1) { - i1 = i1 | 0; - return 3; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__InitListExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__InitListExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__InitListExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0 + 408 | 0, $1, $2); } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJvidEE8getCountEv(i1) { - i1 = i1 | 0; - return 3; +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______annotate_delete_28_29_20const($0) { + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0), std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0) + (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____capacity_28_29_20const($0) << 3) | 0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0) + (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0) << 3) | 0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0) + (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____capacity_28_29_20const($0) << 3) | 0); } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiiEE8getCountEv(i1) { - i1 = i1 | 0; - return 3; +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______construct_std____2__pair_int_20const_2c_20arController__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple___2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__pair_int_20const_2c_20arController___2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4) { + void_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____construct_std____2__pair_int_20const_2c_20arController__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28std____2__pair_int_20const_2c_20arController___2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4); } -function __ZN6vision5TimerC2Ev(i1) { - i1 = i1 | 0; - HEAPF64[i1 >> 3] = -1.0; - HEAPF64[i1 + 8 >> 3] = -1.0; - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PrefixExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__PrefixExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PrefixExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function __ZN10emscripten8internal11BindingTypeIiE10toWireTypeERKi(i1) { - i1 = i1 | 0; - return HEAP32[i1 >> 2] | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__AbiTagAttr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__AbiTagAttr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__AbiTagAttr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0 + 408 | 0, $1, $2); } -function _strrchr(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return ___memrchr(i1, i2, (_strlen(i1) | 0) + 1 | 0) | 0; +function post_process_2pass($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 $7 = 0; + $1 = HEAP32[$0 + 456 >> 2]; + $2 = HEAP32[$1 + 24 >> 2]; + label$1: { + if ($2) { + $3 = HEAP32[$1 + 12 >> 2]; + break label$1; + } + $3 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 28 >> 2]]($0, HEAP32[$1 + 8 >> 2], HEAP32[$1 + 20 >> 2], HEAP32[$1 + 16 >> 2], 0) | 0; + HEAP32[$1 + 12 >> 2] = $3; + $2 = HEAP32[$1 + 24 >> 2]; + } + $7 = ($2 << 2) + $3 | 0; + $2 = HEAP32[$1 + 16 >> 2] - $2 | 0; + $3 = HEAP32[$5 >> 2]; + $6 = $6 - $3 | 0; + $2 = $6 >>> 0 > $2 >>> 0 ? $2 : $6; + $6 = HEAP32[$0 + 116 >> 2] - HEAP32[$1 + 20 >> 2] | 0; + $2 = $6 >>> 0 > $2 >>> 0 ? $2 : $6; + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 484 >> 2] + 4 >> 2]]($0, $7, ($3 << 2) + $4 | 0, $2); + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $2; + $0 = HEAP32[$1 + 24 >> 2] + $2 | 0; + HEAP32[$1 + 24 >> 2] = $0; + $5 = HEAP32[$1 + 16 >> 2]; + if ($5 >>> 0 <= $0 >>> 0) { + HEAP32[$1 + 24 >> 2] = 0; + HEAP32[$1 + 20 >> 2] = HEAP32[$1 + 20 >> 2] + $5; + } } -function _arMatrixFree(i1) { - i1 = i1 | 0; - if (i1 | 0) { - _free(HEAP32[i1 >> 2] | 0); - _free(i1); +function memchr($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = ($2 | 0) != 0; + label$1: { + label$2: { + label$3: { + if (!($0 & 3) | !$2) { + break label$3; + } + $4 = $1 & 255; + while (1) { + if (HEAPU8[$0 | 0] == ($4 | 0)) { + break label$2; + } + $2 = $2 - 1 | 0; + $3 = ($2 | 0) != 0; + $0 = $0 + 1 | 0; + if (!($0 & 3)) { + break label$3; + } + if ($2) { + continue; + } + break; + } + } + if (!$3) { + break label$1; + } + } + label$5: { + if (!(HEAPU8[$0 | 0] == ($1 & 255) | $2 >>> 0 < 4)) { + $4 = Math_imul($1 & 255, 16843009); + while (1) { + $3 = HEAP32[$0 >> 2] ^ $4; + if (($3 ^ -1) & $3 - 16843009 & -2139062144) { + break label$5; + } + $0 = $0 + 4 | 0; + $2 = $2 - 4 | 0; + if ($2 >>> 0 > 3) { + continue; + } + break; + } + } + if (!$2) { + break label$1; + } + } + $3 = $1 & 255; + while (1) { + if (HEAPU8[$0 | 0] == ($3 | 0)) { + return $0; + } + $0 = $0 + 1 | 0; + $2 = $2 - 1 | 0; + if ($2) { + continue; + } + break; + } } return 0; } -function __ZNK6vision21HoughSimilarityVoting24getSubBinLocationIndicesEv(i1) { - i1 = i1 | 0; - return i1 + 124 | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__DotSuffix_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__DotSuffix__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__DotSuffix_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___29($0 + 408 | 0, $1, $2); +} + +function $28anonymous_20namespace_29__itanium_demangle__ConversionExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ConversionExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$3 >> 2] = $2; + HEAP32[$3 + 4 >> 2] = $4; + HEAP32[$3 + 8 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__ConversionExpr__ConversionExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1, $3); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__ConversionExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ConversionExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$3 >> 2] = $2; + HEAP32[$3 + 4 >> 2] = $4; + HEAP32[$3 + 8 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__ConversionExpr__ConversionExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1, $3); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________destruct_at_end_28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 8 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____destroy_std____2__pair_float_2c_20unsigned_20long__2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long___29($3, std____2__pair_float_2c_20unsigned_20long___20std____2____to_address_std____2__pair_float_2c_20unsigned_20long___28std____2__pair_float_2c_20unsigned_20long___29($2)); + continue; + } + break; + } } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJviEE8getCountEv(i1) { - i1 = i1 | 0; - return 2; -} - -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiiEE8getCountEv(i1) { - i1 = i1 | 0; - return 2; +function __cxxabiv1____class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], $4)) { + __cxxabiv1____class_type_info__process_static_type_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_29_20const($1, $1, $2, $3); + return; + } + label$2: { + if (!is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 >> 2], $4)) { + break label$2; + } + if (!(HEAP32[$1 + 16 >> 2] != ($2 | 0) & HEAP32[$1 + 20 >> 2] != ($2 | 0))) { + if (($3 | 0) != 1) { + break label$2; + } + HEAP32[$1 + 32 >> 2] = 1; + return; + } + HEAP32[$1 + 20 >> 2] = $2; + HEAP32[$1 + 32 >> 2] = $3; + HEAP32[$1 + 40 >> 2] = HEAP32[$1 + 40 >> 2] + 1; + if (!(HEAP32[$1 + 36 >> 2] != 1 | HEAP32[$1 + 24 >> 2] != 2)) { + HEAP8[$1 + 54 | 0] = 1; + } + HEAP32[$1 + 44 >> 2] = 4; + } +} + +function $28anonymous_20namespace_29__itanium_demangle__ObjCProtoName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ObjCProtoName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$3 >> 2] = $2; + HEAP32[$3 + 4 >> 2] = $4; + HEAP32[$3 + 8 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__ObjCProtoName__ObjCProtoName_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $3); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________compressed_pair_true_2c_20void__28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29(std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0)); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__QualType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__QualType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__QualType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__29($0 + 408 | 0, $1, $2); +} + +function $28anonymous_20namespace_29__itanium_demangle__CtorDtorName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + if (HEAPU8[$0 + 12 | 0]) { + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 27937); + $4 = HEAP32[$3 >> 2]; + $3 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + } + $0 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($2 + 16 | 0, $0); + $4 = HEAP32[$2 + 20 >> 2]; + $3 = HEAP32[$2 + 16 >> 2]; + HEAP32[$2 >> 2] = $3; + HEAP32[$2 + 4 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 32 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b41_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b41_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38207); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $2, $1); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b31_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b31_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38128); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $2, $1); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b27_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b27_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38321); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $2, $1); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b25_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b25_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38103); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $2, $1); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b22_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b22_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38348); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $2, $1); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b20_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b20_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38292); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $2, $1); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b19_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b19_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38248); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $2, $1); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b18_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b18_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38352); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $2, $1); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b14_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b14_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38159); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $2, $1); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38280); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $2, $1); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96_____VisualDatabase_28_29($0) { + vision__RobustHomography_float____RobustHomography_28_29($0 + 788 | 0); + vision__HoughSimilarityVoting___HoughSimilarityVoting_28_29($0 + 652 | 0); + vision__BinaryFeatureMatcher_96____BinaryFeatureMatcher_28_29($0 + 636 | 0); + vision__FREAKExtractor___FREAKExtractor_28_29($0 + 316 | 0); + vision__DoGScaleInvariantDetector___DoGScaleInvariantDetector_28_29($0 + 160 | 0); + vision__BinomialPyramid32f___BinomialPyramid32f_28_29($0 + 92 | 0); + std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96________unordered_map_28_29($0 + 72 | 0); + std____2__shared_ptr_vision__Keyframe_96_____shared_ptr_28_29($0 - -64 | 0); + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t_____vector_28_29($0 + 12 | 0); + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38312); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $2, $1); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CallExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__CallExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CallExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0 + 408 | 0, $1, $2); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char______compressed_pair_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $2 + 8 | 0, $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_28char_20const__2c_20unsigned_20long_29($0, $1, std____2__char_traits_char___length_28char_20const__29($1)); + void_20std____2____debug_db_insert_c_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0); + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__QualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__QualifiedName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__QualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); +} + +function $28anonymous_20namespace_29__itanium_demangle__InitListExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__InitListExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$3 >> 2] = $2; + HEAP32[$3 + 4 >> 2] = $4; + HEAP32[$3 + 8 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__InitListExpr__InitListExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1, $3); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__EnumLiteral__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__EnumLiteral_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$3 >> 2] = $2; + HEAP32[$3 + 4 >> 2] = $4; + HEAP32[$3 + 8 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__EnumLiteral__EnumLiteral_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $3); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function vision__VisualDatabaseFacade__query_28unsigned_20char__2c_20unsigned_20long_2c_20unsigned_20long_29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + $2 = vision__Image__Image_28unsigned_20char__2c_20vision__ImageType_2c_20unsigned_20long_2c_20unsigned_20long_2c_20int_2c_20unsigned_20long_29($4, $1, 1, $2, $3, $2, 1); + $0 = vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____query_28vision__Image_20const__29(std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______operator___28_29_20const(std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____operator___28_29_20const($0)), $2); + vision__Image___Image_28_29($2); + __stack_pointer = $4 + 32 | 0; + return $0; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______vallocate_28unsigned_20long_29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____max_size_28_29_20const($0) >>> 0 < $1 >>> 0) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______throw_length_error_28_29_20const($0); + abort(); + } + $2 = std____2__allocator_traits_std____2__allocator_unsigned_20char____allocate_28std____2__allocator_unsigned_20char___2c_20unsigned_20long_29(std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0), $1); + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = $2; + wasm2js_i32$0 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______end_cap_28_29($0), + wasm2js_i32$1 = $1 + $2 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_new_28unsigned_20long_29_20const($0, 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b34_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b34_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 8 | 0, $1); + $2 = HEAP32[$2 >> 2]; + $4 = HEAP32[$1 + 4 >> 2]; + HEAP32[$3 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$3 + 4 >> 2] = $4; + $2 = $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $3, $2); + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__PrefixExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PrefixExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__StringView__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $4 = HEAP32[$1 + 4 >> 2]; + $5 = HEAP32[$1 >> 2]; + HEAP32[$3 + 8 >> 2] = $5; + HEAP32[$3 + 12 >> 2] = $4; + $1 = HEAP32[$2 >> 2]; + HEAP32[$3 >> 2] = $5; + HEAP32[$3 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__PrefixExpr__PrefixExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $3, $1); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__SubobjectExpr__SubobjectExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool_29($0, $1, $2, $3, $4, $5) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 53, 1, 1, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 70612; + $2 = HEAP32[$3 >> 2]; + $1 = HEAP32[$3 + 4 >> 2]; + HEAP32[$0 + 16 >> 2] = $2; + HEAP32[$0 + 20 >> 2] = $1; + $3 = $4; + $1 = HEAP32[$3 >> 2]; + $2 = HEAP32[$3 + 4 >> 2]; + HEAP8[$0 + 32 | 0] = $5; + HEAP32[$0 + 24 >> 2] = $1; + HEAP32[$0 + 28 >> 2] = $2; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PostfixExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PostfixExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = HEAP32[$1 >> 2]; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($3 + 8 | 0, $2); + $4 = HEAP32[$2 + 4 >> 2]; + HEAP32[$3 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$3 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__PostfixExpr__PostfixExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $3); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______base_destruct_at_end_28std____2__shared_ptr_vision__FrontendSinkFilter___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 8 | 0; + void_20std____2__allocator_traits_std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____destroy_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20void__28std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter____2c_20std____2__shared_ptr_vision__FrontendSinkFilter___29(std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______alloc_28_29($0), std____2__shared_ptr_vision__FrontendSinkFilter___20std____2____to_address_std____2__shared_ptr_vision__FrontendSinkFilter___28std____2__shared_ptr_vision__FrontendSinkFilter___29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJdiEE8getCountEv(i1) { - i1 = i1 | 0; - return 2; -} +function jpeg_finish_decompress($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0; + $1 = HEAP32[$0 + 20 >> 2]; + label$1: { + if (!(HEAP32[$0 + 64 >> 2] | $1 - 205 >>> 0 > 1)) { + if (HEAPU32[$0 + 140 >> 2] < HEAPU32[$0 + 116 >> 2]) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 69; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 444 >> 2] + 4 >> 2]]($0); + HEAP32[$0 + 20 >> 2] = 210; + break label$1; + } + label$4: { + switch ($1 - 207 | 0) { + case 0: + HEAP32[$0 + 20 >> 2] = 210; + break label$1; -function __ZN6vision9MaxIndex2IfEEiPKT_(i1) { - i1 = i1 | 0; - return +HEAPF32[i1 + 4 >> 2] > +HEAPF32[i1 >> 2] | 0; -} + case 3: + break label$1; -function _mbsinit(i1) { - i1 = i1 | 0; - if (!i1) i1 = 1; else i1 = (HEAP32[i1 >> 2] | 0) == 0 & 1; - return i1 | 0; + default: + break label$4; + } + } + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = 21; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + label$6: { + while (1) { + $1 = HEAP32[$0 + 460 >> 2]; + if (HEAP32[$1 + 20 >> 2]) { + break label$6; + } + if (FUNCTION_TABLE[HEAP32[$1 >> 2]]($0) | 0) { + continue; + } + break; + } + return 0; + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 24 >> 2] + 24 >> 2]]($0); + jpeg_abort($0); + return 1; } -function __ZNSt3__26locale5facetD0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_delete_28_29_20const($0) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0), std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0) + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____capacity_28_29_20const($0) | 0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0) + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0) | 0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0) + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____capacity_28_29_20const($0) | 0); } -function __ZNSt3__26locale5__impD0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5__impD2Ev(i1); - __ZdlPv(i1); - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__VectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__VectorType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__VectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function __ZNKSt3__26vectorIN6vision5ImageENS_9allocatorIS2_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 134217727; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NestedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__NestedName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NestedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function __ZNK10emscripten8internal12WithPoliciesIJEE11ArgTypeListIJiEE8getCountEv(i1) { - i1 = i1 | 0; - return 1; +function $28anonymous_20namespace_29__itanium_demangle__DotSuffix__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__DotSuffix_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$3 >> 2] = $2; + HEAP32[$3 + 4 >> 2] = $4; + HEAP32[$3 + 8 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__DotSuffix__DotSuffix_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $3); + __stack_pointer = $3 + 16 | 0; + return $1; } -function __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE10deallocateEPcm(i1) { - i1 = i1 | 0; - _free(i1); - return; +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____push_back_28vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($0, $1) { + if (HEAP32[$0 + 4 >> 2] != HEAP32[std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______end_cap_28_29($0) >> 2]) { + void_20std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______construct_one_at_end_vision__DoGScaleInvariantDetector__FeaturePoint_20const___28vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($0, $1); + return; + } + void_20std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______push_back_slow_path_vision__DoGScaleInvariantDetector__FeaturePoint_20const___28vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($0, $1); } -function _new_color_map_2_quant(i1) { - i1 = i1 | 0; - HEAP32[(HEAP32[i1 + 460 >> 2] | 0) + 28 >> 2] = 1; - return; +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______max_size_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29(Math_imul($1, 24), 4); } -function __ZNSt3__28messagesIwED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28unsigned_20long_2c_20wchar_t_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t______compressed_pair_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $3 + 8 | 0, $3); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______init_28unsigned_20long_2c_20wchar_t_29($0, $1, $2); + void_20std____2____debug_db_insert_c_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____29($0); + __stack_pointer = $3 + 16 | 0; + return $0; } -function __ZNSt3__28messagesIcED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function void_20std____2____construct_range_forward_std____2__allocator_int__2c_20std____2____wrap_iter_int_20const___2c_20int___28std____2__allocator_int___2c_20std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___2c_20int___29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 >> 2] = $2; + HEAP32[$4 + 8 >> 2] = $1; + while (1) { + if (bool_20std____2__operator___int_20const___28std____2____wrap_iter_int_20const___20const__2c_20std____2____wrap_iter_int_20const___20const__29($4 + 8 | 0, $4)) { + void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20int_20const__2c_20void__28std____2__allocator_int___2c_20int__2c_20int_20const__29($0, int__20std____2____to_address_int__28int__29(HEAP32[$3 >> 2]), std____2____wrap_iter_int_20const____operator__28_29_20const($4 + 8 | 0)); + std____2____wrap_iter_int_20const____operator___28_29($4 + 8 | 0); + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] + 4; + continue; + } + break; + } + __stack_pointer = $4 + 16 | 0; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____max_size_std____2__allocator_std____2__pair_float_2c_20int___2c_20void__28std____2__allocator_std____2__pair_float_2c_20int___20const__29(std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__LocalName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__LocalName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__LocalName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ArrayType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__ArrayType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ArrayType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbiTagAttr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__AbiTagAttr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$3 >> 2] = $2; + HEAP32[$3 + 4 >> 2] = $4; + HEAP32[$3 + 8 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__AbiTagAttr__AbiTagAttr_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $3); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20tm_20const__2c_20char_2c_20char_29_20const($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; + $2 = __stack_pointer - 416 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $2 + 416; + std____2____time_put____do_put_28wchar_t__2c_20wchar_t___2c_20tm_20const__2c_20char_2c_20char_29_20const($0 + 8 | 0, $2 + 16 | 0, $2 + 12 | 0, $4, $5, $6); + $0 = std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__copy_wchar_t__2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28wchar_t__2c_20wchar_t__2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___29($2 + 16 | 0, HEAP32[$2 + 12 >> 2], $1); + __stack_pointer = $2 + 416 | 0; + return $0 | 0; +} + +function std____2__iterator_traits_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const____difference_type_20std____2__distance_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const___28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29($0, $1) { + return std____2__iterator_traits_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const____difference_type_20std____2____distance_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const___28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function rgb1_gray_convert($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0, $12 = 0; + if (($4 | 0) > 0) { + $6 = HEAP32[$0 + 112 >> 2]; + $0 = HEAP32[HEAP32[$0 + 480 >> 2] + 24 >> 2]; + while (1) { + $7 = $4; + if ($6) { + $4 = $2 << 2; + $8 = HEAP32[$4 + HEAP32[$1 + 8 >> 2] >> 2]; + $9 = HEAP32[HEAP32[$1 + 4 >> 2] + $4 >> 2]; + $10 = HEAP32[HEAP32[$1 >> 2] + $4 >> 2]; + $11 = HEAP32[$3 >> 2]; + $4 = 0; + while (1) { + $5 = HEAPU8[$4 + $9 | 0]; + $12 = HEAP32[(($5 << 2) + $0 | 0) + 1024 >> 2]; + $5 = $5 ^ -128; + HEAP8[$4 + $11 | 0] = ($12 + HEAP32[(($5 + HEAPU8[$4 + $10 | 0] & 255) << 2) + $0 >> 2] | 0) + HEAP32[(((HEAPU8[$4 + $8 | 0] + $5 & 255) << 2) + $0 | 0) + 2048 >> 2] >>> 16; + $4 = $4 + 1 | 0; + if (($6 | 0) != ($4 | 0)) { + continue; + } + break; + } + } + $3 = $3 + 4 | 0; + $2 = $2 + 1 | 0; + $4 = $7 - 1 | 0; + if (($7 | 0) >= 2) { + continue; + } + break; + } + } } -function __ZNSt3__24pairIKi12arControllerED2Ev(i1) { - i1 = i1 | 0; - __ZN12arControllerD2Ev(i1 + 8 | 0); - return; +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1, $2) { + $0 = std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0); + std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0 + 4 | 0); + return $0; } -function __ZNSt3__212_GLOBAL__N_17countofIcEEmPKT_S4_(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return i2 - i1 | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node___20std____2__copy__28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + std____2__enable_if_is_same_std____2__remove_const__28anonymous_20namespace_29__itanium_demangle__Node____type_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____value_20___20is_trivially_copy_assignable__28anonymous_20namespace_29__itanium_demangle__Node____value_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_____type_20std____2____copy__28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2); } -function __ZNKSt3__26vectorI12multi_markerNS_9allocatorIS1_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 536870911; +function vision__VisualDatabaseFacade__getQueryFeaturePoints_28_29_20const($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____queryKeyframe_28_29_20const($1 + 8 | 0, std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______operator___28_29_20const(std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____operator___28_29_20const($0))); + $0 = vision__BinaryFeatureStore__points_28_29(vision__Keyframe_96___store_28_29(std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($1 + 8 | 0))); + std____2__shared_ptr_vision__Keyframe_96_____shared_ptr_28_29($1 + 8 | 0); + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZN10__cxxabiv112_GLOBAL__N_15arenaILm4096EE8align_upEm(i1) { - i1 = i1 | 0; - return i1 + 15 & -16 | 0; +function vision__ExtractFREAK84_28unsigned_20char__2c_20vision__GaussianScaleSpacePyramid_20const__2c_20vision__FeaturePoint_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16) { + var $17 = 0; + $17 = __stack_pointer - 160 | 0; + __stack_pointer = $17; + $8 = vision__SamplePyramidFREAK84_28float__2c_20vision__GaussianScaleSpacePyramid_20const__2c_20vision__FeaturePoint_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_2c_20float_29($17, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16); + if ($8) { + vision__CompareFREAK84_28unsigned_20char__2c_20float_20const__29($0, $17); + } + __stack_pointer = $17 + 160 | 0; + return $8; } -function __ZN10__cxxabiv112_GLOBAL__N_112malloc_allocIcE8allocateEm(i1) { - i1 = i1 | 0; - return _malloc(i1) | 0; +function arUtilMatInvf($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $5 = arMatrixAlloc(4, 4); + $2 = HEAP32[$5 >> 2]; + while (1) { + if (($4 | 0) != 3) { + $6 = $4 << 2; + $3 = 0; + while (1) { + if (($3 | 0) != 4) { + HEAPF64[($3 + $6 << 3) + $2 >> 3] = HEAPF32[(($4 << 4) + $0 | 0) + ($3 << 2) >> 2]; + $3 = $3 + 1 | 0; + continue; + } + break; + } + $4 = $4 + 1 | 0; + continue; + } + break; + } + HEAP32[$2 + 96 >> 2] = 0; + HEAP32[$2 + 100 >> 2] = 0; + HEAP32[$2 + 120 >> 2] = 0; + HEAP32[$2 + 124 >> 2] = 1072693248; + HEAP32[$2 + 112 >> 2] = 0; + HEAP32[$2 + 116 >> 2] = 0; + HEAP32[$2 + 104 >> 2] = 0; + HEAP32[$2 + 108 >> 2] = 0; + arMatrixSelfInv($5); + $2 = HEAP32[$5 >> 2]; + $4 = 0; + while (1) { + if (($4 | 0) != 3) { + $6 = $4 << 2; + $3 = 0; + while (1) { + if (($3 | 0) != 4) { + HEAPF32[(($4 << 4) + $1 | 0) + ($3 << 2) >> 2] = HEAPF64[($3 + $6 << 3) + $2 >> 3]; + $3 = $3 + 1 | 0; + continue; + } + break; + } + $4 = $4 + 1 | 0; + continue; + } + break; + } + arMatrixFree($5); + return 0; } -function __ZSt13get_terminatev() { - var i1 = 0; - i1 = HEAP32[4332] | 0; - HEAP32[4332] = i1 + 0; - return i1 | 0; +function $28anonymous_20namespace_29__itanium_demangle__CallExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CallExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $1 = HEAP32[$1 >> 2]; + $4 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$3 >> 2] = $2; + HEAP32[$3 + 4 >> 2] = $4; + HEAP32[$3 + 8 >> 2] = $2; + HEAP32[$3 + 12 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__CallExpr__CallExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1, $3); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function arUtilMatInv($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $5 = arMatrixAlloc(4, 4); + $2 = HEAP32[$5 >> 2]; + while (1) { + if (($4 | 0) != 3) { + $6 = $4 << 2; + $3 = 0; + while (1) { + if (($3 | 0) != 4) { + HEAPF64[($3 + $6 << 3) + $2 >> 3] = HEAPF64[(($4 << 5) + $0 | 0) + ($3 << 3) >> 3]; + $3 = $3 + 1 | 0; + continue; + } + break; + } + $4 = $4 + 1 | 0; + continue; + } + break; + } + HEAP32[$2 + 96 >> 2] = 0; + HEAP32[$2 + 100 >> 2] = 0; + HEAP32[$2 + 120 >> 2] = 0; + HEAP32[$2 + 124 >> 2] = 1072693248; + HEAP32[$2 + 112 >> 2] = 0; + HEAP32[$2 + 116 >> 2] = 0; + HEAP32[$2 + 104 >> 2] = 0; + HEAP32[$2 + 108 >> 2] = 0; + arMatrixSelfInv($5); + $2 = HEAP32[$5 >> 2]; + $4 = 0; + while (1) { + if (($4 | 0) != 3) { + $6 = $4 << 2; + $3 = 0; + while (1) { + if (($3 | 0) != 4) { + HEAPF64[(($4 << 5) + $1 | 0) + ($3 << 3) >> 3] = HEAPF64[($3 + $6 << 3) + $2 >> 3]; + $3 = $3 + 1 | 0; + continue; + } + break; + } + $4 = $4 + 1 | 0; + continue; + } + break; + } + arMatrixFree($5); + return 0; } -function __ZNSt3__28numpunctIwED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__28numpunctIwED2Ev(i1); - __ZdlPv(i1); - return; +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______base_destruct_at_end_28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 36 | 0; + void_20std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____destroy_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__29(std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29($0), vision__DoGScaleInvariantDetector__FeaturePoint__20std____2____to_address_vision__DoGScaleInvariantDetector__FeaturePoint__28vision__DoGScaleInvariantDetector__FeaturePoint__29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; } -function __ZNSt3__28numpunctIcED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__28numpunctIcED2Ev(i1); - __ZdlPv(i1); - return; +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______throw_length_error_28_29_20const($0); + abort(); } -function __ZNKSt3__26vectorINS_4pairIfmEENS_9allocatorIS2_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 536870911; +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____end_28_29($0) { + var $1 = 0; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + $1 = std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($0 + 8 | 0, 0); + __stack_pointer = $0 + 16 | 0; + return HEAP32[$1 >> 2]; } -function __ZNKSt3__26vectorINS_4pairIfiEENS_9allocatorIS2_EEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 536870911; +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____max_size_std____2__allocator_vision__PriorityQueueItem_96___2c_20void__28std____2__allocator_vision__PriorityQueueItem_96___20const__29(std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZNK6vision25DoGScaleInvariantDetector6heightEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 4 >> 2] | 0; +function std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____bucket_count_28_29_20const($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________size_28_29_20const(std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________get_deleter_28_29_20const($0)); } -function ___cxx_global_var_init_37() { - __ZN46EmscriptenBindingInitializer_constant_bindingsC2Ev(0); - return; +function wcrtomb($0, $1, $2) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = 1; + label$1: { + if ($0) { + if ($1 >>> 0 <= 127) { + break label$1; + } + label$3: { + if (!HEAP32[HEAP32[__get_tp() + 88 >> 2] >> 2]) { + if (($1 & -128) == 57216) { + break label$1; + } + break label$3; + } + if ($1 >>> 0 <= 2047) { + HEAP8[$0 + 1 | 0] = $1 & 63 | 128; + HEAP8[$0 | 0] = $1 >>> 6 | 192; + return 2; + } + if (!(($1 & -8192) != 57344 & $1 >>> 0 >= 55296)) { + HEAP8[$0 + 2 | 0] = $1 & 63 | 128; + HEAP8[$0 | 0] = $1 >>> 12 | 224; + HEAP8[$0 + 1 | 0] = $1 >>> 6 & 63 | 128; + return 3; + } + if ($1 - 65536 >>> 0 <= 1048575) { + HEAP8[$0 + 3 | 0] = $1 & 63 | 128; + HEAP8[$0 | 0] = $1 >>> 18 | 240; + HEAP8[$0 + 2 | 0] = $1 >>> 6 & 63 | 128; + HEAP8[$0 + 1 | 0] = $1 >>> 12 & 63 | 128; + return 4; + } + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 25, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $2 = -1; + } + return $2; + } + HEAP8[$0 | 0] = $1; + return 1; } -function __ZNSt3__27collateIwED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__27collateIwED2Ev(i1); - __ZdlPv(i1); - return; +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______reset_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____29($0, 0); + return $0; +} + +function post_process_prepass($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 $7 = 0, $8 = 0; + $4 = HEAP32[$0 + 456 >> 2]; + $8 = $4 + 24 | 0; + $6 = HEAP32[$4 + 24 >> 2]; + label$1: { + if ($6) { + $7 = HEAP32[$4 + 12 >> 2]; + break label$1; + } + $7 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] + 28 >> 2]]($0, HEAP32[$4 + 8 >> 2], HEAP32[$4 + 20 >> 2], HEAP32[$4 + 16 >> 2], 1) | 0; + HEAP32[$4 + 12 >> 2] = $7; + $6 = HEAP32[$4 + 24 >> 2]; + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 476 >> 2] + 4 >> 2]]($0, $1, $2, $3, $7, $8, HEAP32[$4 + 16 >> 2]); + $3 = HEAP32[$4 + 24 >> 2]; + if ($6 >>> 0 < $3 >>> 0) { + $1 = HEAP32[$4 + 12 >> 2] + ($6 << 2) | 0; + $6 = $3 - $6 | 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 484 >> 2] + 4 >> 2]]($0, $1, 0, $6); + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + $6; + $3 = HEAP32[$4 + 24 >> 2]; + } + $0 = HEAP32[$4 + 16 >> 2]; + if ($3 >>> 0 >= $0 >>> 0) { + HEAP32[$4 + 24 >> 2] = 0; + HEAP32[$4 + 20 >> 2] = HEAP32[$4 + 20 >> 2] + $0; + } +} + +function std____2__vector_int_2c_20std____2__allocator_int______construct_at_end_28unsigned_20long_2c_20int_20const__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $3 = std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction___ConstructTransaction_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_29($4, $0, $1); + $1 = HEAP32[$3 + 4 >> 2]; + $5 = HEAP32[$3 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($5 | 0)) { + std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction____ConstructTransaction_28_29($3); + __stack_pointer = $4 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20int_20const__2c_20void__28std____2__allocator_int___2c_20int__2c_20int_20const__29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0), int__20std____2____to_address_int__28int__29($1), $2); + $1 = $1 + 4 | 0; + HEAP32[$3 + 4 >> 2] = $1; + continue; + } + break; + } } -function __ZNSt3__27collateIcED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__27collateIcED2Ev(i1); - __ZdlPv(i1); - return; +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______construct_std____2__pair_int_20const_2c_20ARParam__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple___2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__pair_int_20const_2c_20ARParam___2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4) { + void_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____construct_std____2__pair_int_20const_2c_20ARParam__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28std____2__pair_int_20const_2c_20ARParam___2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4); } -function __ZNSt3__25ctypeIwED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - __ZdlPv(i1); - return; +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______annotate_delete_28_29_20const($0) { + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0), std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0) + (std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____capacity_28_29_20const($0) << 5) | 0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0) + (std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($0) << 5) | 0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0) + (std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____capacity_28_29_20const($0) << 5) | 0); } -function __ZN6vision9ExceptionD0Ev(i1) { - i1 = i1 | 0; - __ZN6vision9ExceptionD2Ev(i1); - __ZdlPv(i1); - return; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________reset_28std__nullptr_t_29($0, 0); + return $0; } -function _start_input_pass(i1) { - i1 = i1 | 0; - HEAP32[i1 + 148 >> 2] = 0; - _start_iMCU_row_28(i1); - return; +function __stdio_read($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + HEAP32[$4 + 16 >> 2] = $1; + $3 = HEAP32[$0 + 48 >> 2]; + HEAP32[$4 + 20 >> 2] = $2 - (($3 | 0) != 0); + $6 = HEAP32[$0 + 44 >> 2]; + HEAP32[$4 + 28 >> 2] = $3; + HEAP32[$4 + 24 >> 2] = $6; + $3 = 32; + label$1: { + label$2: { + if (!__wasi_syscall_ret(__wasi_fd_read(HEAP32[$0 + 60 >> 2], $4 + 16 | 0, 2, $4 + 12 | 0) | 0)) { + $3 = HEAP32[$4 + 12 >> 2]; + if (($3 | 0) > 0) { + break label$2; + } + $3 = $3 ? 32 : 16; + } + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] | $3; + break label$1; + } + $5 = $3; + $6 = HEAP32[$4 + 20 >> 2]; + if ($6 >>> 0 >= $3 >>> 0) { + break label$1; + } + $5 = HEAP32[$0 + 44 >> 2]; + HEAP32[$0 + 4 >> 2] = $5; + HEAP32[$0 + 8 >> 2] = ($3 - $6 | 0) + $5; + if (HEAP32[$0 + 48 >> 2]) { + HEAP32[$0 + 4 >> 2] = $5 + 1; + HEAP8[($1 + $2 | 0) - 1 | 0] = HEAPU8[$5 | 0]; + } + $5 = $2; + } + __stack_pointer = $4 + 32 | 0; + return $5 | 0; } -function _jdiv_round_up(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return (i1 + -1 + i2 | 0) / (i2 | 0) | 0 | 0; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_time_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const($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; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + HEAP32[$6 + 8 >> 2] = 624576549; + HEAP32[$6 + 12 >> 2] = 1394948685; + $5 = std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_20const__2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $6 + 8 | 0, $6 + 16 | 0); + __stack_pointer = $6 + 16 | 0; + return $5 | 0; } -function __ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED2Ev(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return; +function std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char______compressed_pair_unsigned_20char___2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___28unsigned_20char___2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char____29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_201_2c_20true_____compressed_pair_elem_std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20void__28std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char____29(std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____compressed_pair_elem_unsigned_20char___2c_20void__28unsigned_20char___29($0, $1), $2); } -function __ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED2Ev(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return; +function std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char______compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char___28std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char_____2c_20std____2__allocator_unsigned_20char____29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_20void__28std____2__allocator_unsigned_20char____29(std____2____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_200_2c_20false_____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20void__28std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char_____29($0, $1), $2); } -function __ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED2Ev(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return; +function std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20std____2__min_element_std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long___29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20std____2____min_element_std____2__greater_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__greater_std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2 + 8 | 0); + __stack_pointer = $2 + 16 | 0; + return $1; } -function __ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED2Ev(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_________node_alloc_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______second_28_29($0 + 8 | 0); } -function __ZNK6vision21HoughSimilarityVoting18getSubBinLocationsEv(i1) { - i1 = i1 | 0; - return i1 + 112 | 0; +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1, $2) { + $0 = std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0); + std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0 + 4 | 0); + return $0; +} + +function strspn($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $4 = __stack_pointer - 32 | 0; + HEAP32[$4 + 24 >> 2] = 0; + HEAP32[$4 + 28 >> 2] = 0; + HEAP32[$4 + 16 >> 2] = 0; + HEAP32[$4 + 20 >> 2] = 0; + HEAP32[$4 + 8 >> 2] = 0; + HEAP32[$4 + 12 >> 2] = 0; + HEAP32[$4 >> 2] = 0; + HEAP32[$4 + 4 >> 2] = 0; + $2 = HEAPU8[$1 | 0]; + if (!$2) { + return 0; + } + if (!HEAPU8[$1 + 1 | 0]) { + $1 = $0; + while (1) { + $3 = $1; + $1 = $1 + 1 | 0; + if (HEAPU8[$3 | 0] == ($2 | 0)) { + continue; + } + break; + } + return $3 - $0 | 0; + } + while (1) { + $3 = ($2 >>> 3 & 28) + $4 | 0; + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | 1 << $2; + $2 = HEAPU8[$1 + 1 | 0]; + $1 = $1 + 1 | 0; + if ($2) { + continue; + } + break; + } + $3 = $0; + $2 = HEAPU8[$3 | 0]; + label$5: { + if (!$2) { + break label$5; + } + $1 = $0; + while (1) { + if (!(HEAP32[($2 >>> 3 & 28) + $4 >> 2] >>> $2 & 1)) { + $3 = $1; + break label$5; + } + $2 = HEAPU8[$1 + 1 | 0]; + $3 = $1 + 1 | 0; + $1 = $3; + if ($2) { + continue; + } + break; + } + } + return $3 - $0 | 0; } -function __ZNK6vision10DoGPyramid17numScalePerOctaveEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 16 >> 2] | 0; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________unique_ptr_true_2c_20void__28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1 + 8 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; } -function b20(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - nullFunc_viiii(20); +function vision__FREAKExtractor__FREAKExtractor_28_29($0) { + void_20vision__CopyVector_float__28float__2c_20float_20const__2c_20unsigned_20long_29($0, 27264, 12); + void_20vision__CopyVector_float__28float__2c_20float_20const__2c_20unsigned_20long_29($0 + 48 | 0, 27312, 12); + void_20vision__CopyVector_float__28float__2c_20float_20const__2c_20unsigned_20long_29($0 + 96 | 0, 27360, 12); + void_20vision__CopyVector_float__28float__2c_20float_20const__2c_20unsigned_20long_29($0 + 144 | 0, 27408, 12); + void_20vision__CopyVector_float__28float__2c_20float_20const__2c_20unsigned_20long_29($0 + 192 | 0, 27456, 12); + void_20vision__CopyVector_float__28float__2c_20float_20const__2c_20unsigned_20long_29($0 + 240 | 0, 27504, 12); + HEAP32[$0 + 312 >> 2] = 1057803469; + HEAP32[$0 + 316 >> 2] = 1088421888; + HEAP32[$0 + 304 >> 2] = 1053609165; + HEAP32[$0 + 308 >> 2] = 1056125747; + HEAP32[$0 + 296 >> 2] = 1048576e3; + HEAP32[$0 + 300 >> 2] = 1051092582; + HEAP32[$0 + 288 >> 2] = 1036831949; + HEAP32[$0 + 292 >> 2] = 1043542835; + return $0; } -function _llvm_cttz_i32(i1) { - i1 = i1 | 0; - return (i1 ? 31 - (Math_clz32(i1 ^ i1 - 1) | 0) | 0 : 32) | 0; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________get_deleter_28_29_20const($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________second_28_29_20const($0); } -function _catgets(i1, i2, i3, i4) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - i4 = i4 | 0; - return i4 | 0; +function vision__Logger__write_28vision__LoggerPriorityLevel_2c_20char_20const__2c_20____29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + HEAP32[$4 + 28 >> 2] = $3; + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($4, $2); + vision__detail__create_formatted_string_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20void__29($4 + 16 | 0, $3, HEAP32[$4 + 28 >> 2]); + vision__Logger__write_28vision__LoggerPriorityLevel_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29($0, $1, $4 + 16 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($4 + 16 | 0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($3); + __stack_pointer = $4 + 32 | 0; } -function __ZNK6vision17PriorityQueueItemILi96EE4distEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 4 >> 2] | 0; +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______throw_length_error_28_29_20const($0); + abort(); } -function dynCall_ii(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - return FUNCTION_TABLE_ii[i2 & 127](i1 | 0) | 0; +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______data_28_29_20const($0), std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______data_28_29_20const($0) + (std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______capacity_28_29_20const($0) << 2) | 0, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______data_28_29_20const($0) + (std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______capacity_28_29_20const($0) << 2) | 0, std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______data_28_29_20const($0) + ($1 << 2) | 0); +} + +function void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($0, $1, $2) { + var $3 = Math_fround(0); + $3 = float_20vision__DotProduct9_float__28float_20const__2c_20float_20const__29($2, $1); + HEAPF32[$0 >> 2] = HEAPF32[$0 >> 2] - Math_fround($3 * HEAPF32[$1 >> 2]); + HEAPF32[$0 + 4 >> 2] = HEAPF32[$0 + 4 >> 2] - Math_fround($3 * HEAPF32[$1 + 4 >> 2]); + HEAPF32[$0 + 8 >> 2] = HEAPF32[$0 + 8 >> 2] - Math_fround($3 * HEAPF32[$1 + 8 >> 2]); + HEAPF32[$0 + 12 >> 2] = HEAPF32[$0 + 12 >> 2] - Math_fround($3 * HEAPF32[$1 + 12 >> 2]); + HEAPF32[$0 + 16 >> 2] = HEAPF32[$0 + 16 >> 2] - Math_fround($3 * HEAPF32[$1 + 16 >> 2]); + HEAPF32[$0 + 20 >> 2] = HEAPF32[$0 + 20 >> 2] - Math_fround($3 * HEAPF32[$1 + 20 >> 2]); + HEAPF32[$0 + 24 >> 2] = HEAPF32[$0 + 24 >> 2] - Math_fround($3 * HEAPF32[$1 + 24 >> 2]); + HEAPF32[$0 + 28 >> 2] = HEAPF32[$0 + 28 >> 2] - Math_fround($3 * HEAPF32[$1 + 28 >> 2]); + HEAPF32[$0 + 32 >> 2] = HEAPF32[$0 + 32 >> 2] - Math_fround($3 * HEAPF32[$1 + 32 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionType__FunctionType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers_2c_20_28anonymous_20namespace_29__itanium_demangle__FunctionRefQual_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2, $3, $4, $5) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 15, 0, 1, 0); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 72816; + $1 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$0 + 28 >> 2] = $5; + HEAP8[$0 + 24 | 0] = $4; + HEAP32[$0 + 20 >> 2] = $3; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} + +function void_20vision__Swap9_float__28float__2c_20float__29($0, $1) { + var $2 = Math_fround(0); + $2 = HEAPF32[$0 >> 2]; + HEAPF32[$0 >> 2] = HEAPF32[$1 >> 2]; + HEAPF32[$1 >> 2] = $2; + $2 = HEAPF32[$0 + 4 >> 2]; + HEAPF32[$0 + 4 >> 2] = HEAPF32[$1 + 4 >> 2]; + HEAPF32[$1 + 4 >> 2] = $2; + $2 = HEAPF32[$0 + 8 >> 2]; + HEAPF32[$0 + 8 >> 2] = HEAPF32[$1 + 8 >> 2]; + HEAPF32[$1 + 8 >> 2] = $2; + $2 = HEAPF32[$0 + 12 >> 2]; + HEAPF32[$0 + 12 >> 2] = HEAPF32[$1 + 12 >> 2]; + HEAPF32[$1 + 12 >> 2] = $2; + $2 = HEAPF32[$0 + 16 >> 2]; + HEAPF32[$0 + 16 >> 2] = HEAPF32[$1 + 16 >> 2]; + HEAPF32[$1 + 16 >> 2] = $2; + $2 = HEAPF32[$0 + 20 >> 2]; + HEAPF32[$0 + 20 >> 2] = HEAPF32[$1 + 20 >> 2]; + HEAPF32[$1 + 20 >> 2] = $2; + $2 = HEAPF32[$0 + 24 >> 2]; + HEAPF32[$0 + 24 >> 2] = HEAPF32[$1 + 24 >> 2]; + HEAPF32[$1 + 24 >> 2] = $2; + $2 = HEAPF32[$0 + 28 >> 2]; + HEAPF32[$0 + 28 >> 2] = HEAPF32[$1 + 28 >> 2]; + HEAPF32[$1 + 28 >> 2] = $2; + $2 = HEAPF32[$0 + 32 >> 2]; + HEAPF32[$0 + 32 >> 2] = HEAPF32[$1 + 32 >> 2]; + HEAPF32[$1 + 32 >> 2] = $2; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______throw_length_error_28_29_20const($0); + abort(); } -function ___clang_call_terminate(i1) { - i1 = i1 | 0; - ___cxa_begin_catch(i1 | 0) | 0; - __ZSt9terminatev(); +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______annotate_delete_28_29_20const($0) { + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____data_28_29_20const($0), std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____data_28_29_20const($0) + (std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____capacity_28_29_20const($0) << 3) | 0, std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____data_28_29_20const($0) + (std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____size_28_29_20const($0) << 3) | 0, std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____data_28_29_20const($0) + (std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____capacity_28_29_20const($0) << 3) | 0); } -function __ZNSt12length_errorD0Ev(i1) { - i1 = i1 | 0; - __ZNSt11logic_errorD2Ev(i1); - __ZdlPv(i1); - return; +function std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint________split_buffer_28_29($0) { + std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____deallocate_28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__2c_20unsigned_20long_29(std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____capacity_28_29_20const($0)); + } + return $0; } -function __ZNKSt3__28numpunctIwE16do_thousands_sepEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 12 >> 2] | 0; -} +function use_merged_upsample($0) { + var $1 = 0, $2 = 0, $3 = 0; + label$1: { + if (HEAP32[$0 + 308 >> 2]) { + break label$1; + } + label$2: { + switch (HEAP32[$0 + 40 >> 2] - 3 | 0) { + case 0: + case 4: + break label$2; -function __ZNKSt3__25ctypeIwE8do_widenEc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return i2 << 24 >> 24 | 0; + default: + break label$1; + } + } + if (HEAP32[$0 + 36 >> 2] != 3 | HEAP32[$0 + 44 >> 2] != 2 | (HEAP32[$0 + 304 >> 2] | HEAP32[$0 + 120 >> 2] != 3)) { + break label$1; + } + $1 = HEAP32[$0 + 216 >> 2]; + if (HEAP32[$1 + 8 >> 2] != 2 | HEAP32[$1 + 96 >> 2] != 1 | (HEAP32[$1 + 184 >> 2] != 1 | HEAP32[$1 + 12 >> 2] > 2)) { + break label$1; + } + if (HEAP32[$1 + 100 >> 2] != 1 | HEAP32[$1 + 188 >> 2] != 1) { + break label$1; + } + $2 = HEAP32[$1 + 36 >> 2]; + if (($2 | 0) != HEAP32[$0 + 324 >> 2] | HEAP32[$1 + 124 >> 2] != ($2 | 0) | HEAP32[$1 + 212 >> 2] != ($2 | 0)) { + break label$1; + } + $2 = HEAP32[$1 + 40 >> 2]; + if (($2 | 0) != HEAP32[$0 + 328 >> 2] | HEAP32[$1 + 128 >> 2] != ($2 | 0)) { + break label$1; + } + $3 = HEAP32[$1 + 216 >> 2] == ($2 | 0); + } + return $3; } -function _strtold_l(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return +(+_strtold(i1, i2)); +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___20const__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + if (($2 | 0) == HEAP32[$0 + 8 >> 2]) { + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___reserve_28unsigned_20long_29($0, $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___size_28_29_20const($0) << 1); + $2 = HEAP32[$0 + 4 >> 2]; + } + $1 = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = $2 + 4; + HEAP32[$2 >> 2] = $1; } -function __ZNSt3__28ios_baseD0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__28ios_baseD2Ev(i1); - __ZdlPv(i1); - return; +function void_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______construct_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, $1, $2) { + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____vector_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($1, $2); } -function __ZNSt3__25ctypeIcED0Ev(i1) { - i1 = i1 | 0; - __ZNSt3__25ctypeIcED2Ev(i1); - __ZdlPv(i1); - return; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________get_deleter_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________second_28_29($0); } -function __ZNSt3__210moneypunctIwLb1EED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function std____2____split_buffer_int_2c_20std____2__allocator_int_______construct_at_end_28unsigned_20long_2c_20int_20const__29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $1 = std____2____split_buffer_int_2c_20std____2__allocator_int______ConstructTransaction___ConstructTransaction_28int___2c_20unsigned_20long_29($3, $0 + 8 | 0, $1); + $4 = HEAP32[$1 >> 2]; + while (1) { + if (($4 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20int_20const__2c_20void__28std____2__allocator_int___2c_20int__2c_20int_20const__29(std____2____split_buffer_int_2c_20std____2__allocator_int_______alloc_28_29($0), int__20std____2____to_address_int__28int__29(HEAP32[$1 >> 2]), $2); + $4 = HEAP32[$1 >> 2] + 4 | 0; + HEAP32[$1 >> 2] = $4; + continue; + } + break; + } + std____2____split_buffer_int_2c_20std____2__allocator_int______ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $3 + 16 | 0; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____max_size_std____2__allocator_vision__Node_96__20const___2c_20void__28std____2__allocator_vision__Node_96__20const___20const__29(std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28char_20const__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char______compressed_pair_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $3 + 8 | 0, $3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_28char_20const__2c_20unsigned_20long_29($0, $1, $2); + void_20std____2____debug_db_insert_c_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0); + __stack_pointer = $3 + 16 | 0; + return $0; +} + +function std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________destruct_at_end_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1) { + std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________destruct_at_end_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1, $2) { + $0 = std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0); + std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0 + 4 | 0); + return $0; +} + +function std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__shared_ptr_vision__FrontendSinkFilter___2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____28std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__vector_float_2c_20std____2__allocator_float______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_float_2c_20std____2__allocator_float_____ConstructTransaction___ConstructTransaction_28std____2__vector_float_2c_20std____2__allocator_float____2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($4 | 0)) { + std____2__vector_float_2c_20std____2__allocator_float_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_float____construct_float_2c_20void__28std____2__allocator_float___2c_20float__29(std____2__vector_float_2c_20std____2__allocator_float______alloc_28_29($0), float__20std____2____to_address_float__28float__29($1)); + $1 = $1 + 4 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; + } } -function __ZNSt3__210moneypunctIwLb0EED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function $28anonymous_20namespace_29__itanium_demangle__FunctionParam__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 24 | 0, 30873); + $4 = HEAP32[$3 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $5; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2 + 8 | 0); + $3 = $0; + $5 = HEAP32[$3 + 8 >> 2]; + $4 = HEAP32[$3 + 12 >> 2]; + HEAP32[$2 >> 2] = $5; + HEAP32[$2 + 4 >> 2] = $4; + HEAP32[$2 + 16 >> 2] = $5; + HEAP32[$2 + 20 >> 2] = $4; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 32 | 0; } -function __ZNSt3__210moneypunctIcLb1EED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________max_size_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20void__28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 2, 4); } -function __ZNSt3__210moneypunctIcLb0EED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0), std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0) + (std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____capacity_28_29_20const($0) << 1) | 0, std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0) + (std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____capacity_28_29_20const($0) << 1) | 0, std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0) + ($1 << 1) | 0); } -function __ZNSt11logic_errorD0Ev(i1) { - i1 = i1 | 0; - __ZNSt11logic_errorD2Ev(i1); - __ZdlPv(i1); - return; -} +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________invalidate_iterators_past_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1) {} -function __ZNKSt3__28numpunctIwE16do_decimal_pointEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 8 >> 2] | 0; +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0), std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0) + (std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____capacity_28_29_20const($0) << 1) | 0, std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0) + ($1 << 1) | 0, std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0) + (std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____size_28_29_20const($0) << 1) | 0); } -function __ZNK6vision4NodeILi96EE4leafEv(i1) { - i1 = i1 | 0; - return (HEAP8[i1 + 100 >> 0] | 0) != 0 | 0; +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____28std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZNK6vision25DoGScaleInvariantDetector5widthEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 >> 2] | 0; +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______release_28_29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $1; } -function __ZNKSt3__28numpunctIcE16do_thousands_sepEv(i1) { - i1 = i1 | 0; - return HEAP8[i1 + 9 >> 0] | 0; +function loadCamera($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 192 | 0; + __stack_pointer = $1; + $2 = -1; + label$1: { + if ((arParamLoad(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($0), 1, $1 + 8 | 0, 0) | 0) < 0) { + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + arLog(0, 3, 39729, $1); + break label$1; + } + $2 = HEAP32[19505]; + HEAP32[19505] = $2 + 1; + HEAP32[$1 + 4 >> 2] = $2; + __memcpy(std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____operator_5b_5d_28int_20const__29(78e3, $1 + 4 | 0), $1 + 8 | 0, 184); + $2 = HEAP32[$1 + 4 >> 2]; + } + __stack_pointer = $1 + 192 | 0; + return $2 | 0; } -function __ZNKSt3__28numpunctIcE16do_decimal_pointEv(i1) { - i1 = i1 | 0; - return HEAP8[i1 + 8 >> 0] | 0; +function std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____push_28vision__PriorityQueueItem_96__20const__29($0, $1) { + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____push_back_28vision__PriorityQueueItem_96__20const__29($0, $1); + void_20std____2__push_heap_std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96____28std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96___29(std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____begin_28_29($0), std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____end_28_29($0)); } -function __ZNKSt3__221__basic_string_commonILb1EE20__throw_out_of_rangeEv(i1) { - i1 = i1 | 0; - _abort(); +function std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); } -function __ZNKSt3__221__basic_string_commonILb1EE20__throw_length_errorEv(i1) { - i1 = i1 | 0; - _abort(); +function jpeg_huff_decode($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0; + if (($2 | 0) < ($4 | 0)) { + if (!jpeg_fill_bit_buffer($0, $1, $2, $4)) { + return -1; + } + $2 = HEAP32[$0 + 12 >> 2]; + $1 = HEAP32[$0 + 8 >> 2]; + } + $6 = $4 << 2; + $2 = $2 - $4 | 0; + $5 = HEAP32[$6 + 42064 >> 2] & $1 >> $2; + if (($5 | 0) > HEAP32[$3 + $6 >> 2]) { + while (1) { + if (($2 | 0) <= 0) { + if (!jpeg_fill_bit_buffer($0, $1, $2, 1)) { + return -1; + } + $2 = HEAP32[$0 + 12 >> 2]; + $1 = HEAP32[$0 + 8 >> 2]; + } + $2 = $2 - 1 | 0; + $5 = $1 >>> $2 & 1 | $5 << 1; + $4 = $4 + 1 | 0; + if (($5 | 0) > HEAP32[($4 << 2) + $3 >> 2]) { + continue; + } + break; + } + } + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + if (($4 | 0) >= 17) { + $2 = HEAP32[$0 + 16 >> 2]; + $4 = HEAP32[$2 >> 2]; + HEAP32[$4 + 20 >> 2] = 121; + FUNCTION_TABLE[HEAP32[$4 + 4 >> 2]]($2, -1); + return 0; + } + return HEAPU8[(HEAP32[$3 + 140 >> 2] + (HEAP32[(($4 << 2) + $3 | 0) + 72 >> 2] + $5 | 0) | 0) + 17 | 0]; +} + +function $28anonymous_20namespace_29__itanium_demangle__NewExpr__NewExpr_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_2c_20bool_2c_20bool_29($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 58, 1, 1, 1); + HEAP32[$0 >> 2] = 70296; + $6 = HEAP32[$1 >> 2]; + $7 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 16 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $6; + HEAP32[$0 + 12 >> 2] = $7; + $1 = $3; + $7 = HEAP32[$1 >> 2]; + $6 = HEAP32[$1 + 4 >> 2]; + HEAP8[$0 + 29 | 0] = $5; + HEAP8[$0 + 28 | 0] = $4; + HEAP32[$0 + 20 >> 2] = $7; + HEAP32[$0 + 24 >> 2] = $6; + return $0; +} + +function std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20tm_20const__2c_20char_2c_20char_29_20const($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; + $2 = __stack_pointer - 128 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $2 + 116; + std____2____time_put____do_put_28char__2c_20char___2c_20tm_20const__2c_20char_2c_20char_29_20const($0 + 8 | 0, $2 + 16 | 0, $2 + 12 | 0, $4, $5, $6); + $0 = std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__copy_char__2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____28char__2c_20char__2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___29($2 + 16 | 0, HEAP32[$2 + 12 >> 2], $1); + __stack_pointer = $2 + 128 | 0; + return $0 | 0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28unsigned_20long_2c_20char_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char______compressed_pair_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $3 + 8 | 0, $3); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______init_28unsigned_20long_2c_20char_29($0, $1, $2); + void_20std____2____debug_db_insert_c_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0); + __stack_pointer = $3 + 16 | 0; + return $0; +} + +function pass2_no_dither($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, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0; + if (($3 | 0) > 0) { + $9 = HEAP32[$0 + 112 >> 2]; + $14 = HEAP32[HEAP32[$0 + 484 >> 2] + 24 >> 2]; + while (1) { + if ($9) { + $4 = $6 << 2; + $5 = HEAP32[$4 + $1 >> 2]; + $4 = HEAP32[$2 + $4 >> 2]; + $7 = $9; + while (1) { + $10 = HEAPU8[$5 | 0] >>> 3 | 0; + $11 = HEAPU8[$5 + 1 | 0] >>> 2 | 0; + $12 = HEAPU8[$5 + 2 | 0] >>> 3 | 0; + $13 = (HEAP32[($10 << 2) + $14 >> 2] + ($11 << 6) | 0) + ($12 << 1) | 0; + $8 = HEAPU16[$13 >> 1]; + if (!$8) { + fill_inverse_cmap($0, $10, $11, $12); + $8 = HEAPU8[$13 | 0]; + } + $5 = $5 + 3 | 0; + HEAP8[$4 | 0] = $8 - 1; + $4 = $4 + 1 | 0; + $7 = $7 - 1 | 0; + if ($7) { + continue; + } + break; + } + } + $6 = $6 + 1 | 0; + if (($6 | 0) != ($3 | 0)) { + continue; + } + break; + } + } } -function __ZN6vision5ImageD2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__210shared_ptrIhED2Ev(i1 + 24 | 0); - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SyntheticTemplateParamName_2c_20_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind__2c_20unsigned_20int___28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind__2c_20unsigned_20int__29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__SyntheticTemplateParamName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SyntheticTemplateParamName_2c_20_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind__2c_20unsigned_20int___28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind__2c_20unsigned_20int__29($0 + 408 | 0, $1, $2); } -function _strtof_l(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return +(+_strtof(i1, i2)); +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b11_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b11_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b11_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b11_5d_29($0 + 408 | 0, $1); } -function _strtod_l(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - return +(+_strtod(i1, i2)); +function $28anonymous_20namespace_29__itanium_demangle__ConditionalExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ConditionalExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__ConditionalExpr__ConditionalExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20), HEAP32[$1 >> 2], HEAP32[$2 >> 2], HEAP32[$3 >> 2]); } -function __ZNSt3__220__time_get_c_storageIwEC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 17300; - return; +function $28anonymous_20namespace_29__itanium_demangle__BracedRangeExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__BracedRangeExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__BracedRangeExpr__BracedRangeExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20), HEAP32[$1 >> 2], HEAP32[$2 >> 2], HEAP32[$3 >> 2]); } -function __ZNSt3__220__time_get_c_storageIcEC2Ev(i1) { - i1 = i1 | 0; - HEAP32[i1 >> 2] = 17264; - return; +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____max_size_std____2__allocator_vision__Point3d_float___2c_20void__28std____2__allocator_vision__Point3d_float___20const__29(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZNSt3__210shared_ptrIhE18__enable_weak_thisEz(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return; +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Point2d_float_____max_size_std____2__allocator_vision__Point2d_float___2c_20void__28std____2__allocator_vision__Point2d_float___20const__29(std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv(i1) { - i1 = i1 | 0; - _abort(); +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void__________unique_ptr_true_2c_20void__28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1 + 8 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZNK6vision17PriorityQueueItemILi96EE4nodeEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 >> 2] | 0; +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0), std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0) + (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____capacity_28_29_20const($0) << 3) | 0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0) + (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____capacity_28_29_20const($0) << 3) | 0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0) + ($1 << 3) | 0); } -function _jpeg_free_small(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - _free(i2); - return; +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0), std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0) + (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____capacity_28_29_20const($0) << 3) | 0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0) + ($1 << 3) | 0, std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0) + (std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0) << 3) | 0); } -function _jpeg_free_large(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - _free(i2); - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b9_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b9_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b9_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b9_5d_29($0 + 408 | 0, $1); } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9showmanycEv(i1) { - i1 = i1 | 0; - return 0; +function jpeg_read_scanlines($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $3 = HEAP32[$0 + 20 >> 2]; + if (($3 | 0) != 205) { + $5 = HEAP32[$0 >> 2]; + HEAP32[$5 + 24 >> 2] = $3; + HEAP32[$5 + 20 >> 2] = 21; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $5 = HEAP32[$0 + 140 >> 2]; + $6 = HEAP32[$0 + 116 >> 2]; + label$2: { + if ($5 >>> 0 >= $6 >>> 0) { + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 126; + FUNCTION_TABLE[HEAP32[$2 + 4 >> 2]]($0, -1); + $2 = 0; + break label$2; + } + $3 = HEAP32[$0 + 8 >> 2]; + if ($3) { + HEAP32[$3 + 8 >> 2] = $6; + HEAP32[$3 + 4 >> 2] = $5; + FUNCTION_TABLE[HEAP32[$3 >> 2]]($0); + } + HEAP32[$4 + 12 >> 2] = 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 448 >> 2] + 4 >> 2]]($0, $1, $4 + 12 | 0, $2); + $2 = HEAP32[$4 + 12 >> 2]; + HEAP32[$0 + 140 >> 2] = $2 + HEAP32[$0 + 140 >> 2]; + } + __stack_pointer = $4 + 16 | 0; + return $2 | 0; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______throw_length_error_28_29_20const($0); + abort(); } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9showmanycEv(i1) { - i1 = i1 | 0; - return 0; +function std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________destroy_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________vector_28_29($1); +} + +function std____2____stdoutbuf_wchar_t_____stdoutbuf_28_IO_FILE__2c_20__mbstate_t__29($0, $1, $2) { + var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____basic_streambuf_28_29($0); + HEAP32[$0 + 32 >> 2] = $1; + HEAP32[$0 >> 2] = 54384; + std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____getloc_28_29_20const($3 + 8 | 0, $0); + $1 = std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t__20const__20std____2__use_facet_std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___28std____2__locale_20const__29($3 + 8 | 0); + std____2__locale___locale_28_29($3 + 8 | 0); + HEAP32[$0 + 40 >> 2] = $2; + HEAP32[$0 + 36 >> 2] = $1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___always_noconv_28_29_20const($1), + HEAP8[wasm2js_i32$0 + 44 | 0] = wasm2js_i32$1; + __stack_pointer = $3 + 16 | 0; + return $0; +} + +function std____2____split_buffer_float_2c_20std____2__allocator_float_______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2____split_buffer_float_2c_20std____2__allocator_float______ConstructTransaction___ConstructTransaction_28float___2c_20unsigned_20long_29($2, $0 + 8 | 0, $1); + $3 = HEAP32[$1 >> 2]; + while (1) { + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_float____construct_float_2c_20void__28std____2__allocator_float___2c_20float__29(std____2____split_buffer_float_2c_20std____2__allocator_float_______alloc_28_29($0), float__20std____2____to_address_float__28float__29(HEAP32[$1 >> 2])); + $3 = HEAP32[$1 >> 2] + 4 | 0; + HEAP32[$1 >> 2] = $3; + continue; + } + break; + } + std____2____split_buffer_float_2c_20std____2__allocator_float______ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $2 + 16 | 0; } -function __ZN10emscripten8internal11BindingTypeIiE12fromWireTypeEi(i1) { - i1 = i1 | 0; - return i1 | 0; +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________max_size_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20void__28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______20const__29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________max_size_28_29_20const($0); } -function dynCall_di(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - return +FUNCTION_TABLE_di[i2 & 3](i1 | 0); +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______vdeallocate_28_29($0) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (HEAP32[$0 >> 2]) { + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____clear_28_29($0); + std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____deallocate_28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___2c_20unsigned_20long_29(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____capacity_28_29_20const($0)); + wasm2js_i32$0 = std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______end_cap_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + } } -function _init_source(i1) { - i1 = i1 | 0; - HEAP32[(HEAP32[i1 + 24 >> 2] | 0) + 36 >> 2] = 1; - return; +function $28anonymous_20namespace_29__itanium_demangle__QualifiedName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 37339); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + __stack_pointer = $2 + 16 | 0; } -function __ZNK6vision14BinarykMedoidsILi96EE1kEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 4 >> 2] | 0; +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long_20long__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_unsigned_unsigned_20long_20long__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long_20long__29_20const($0, $1, $2, $3, $4, $5) | 0; } -function __ZNK6vision25DoGScaleInvariantDetector8featuresEv(i1) { - i1 = i1 | 0; - return i1 + 60 | 0; +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______base_destruct_at_end_28std____2__pair_float_2c_20unsigned_20long___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 8 | 0; + void_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____destroy_std____2__pair_float_2c_20unsigned_20long__2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long___29(std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______alloc_28_29($0), std____2__pair_float_2c_20unsigned_20long___20std____2____to_address_std____2__pair_float_2c_20unsigned_20long___28std____2__pair_float_2c_20unsigned_20long___29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________unique_ptr_true_2c_20void__28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1 + 8 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____20const__2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____20const__29_20const($0, $1, $2) { + return std____2__equal_to_int___operator_28_29_28int_20const__2c_20int_20const__29_20const($0, std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________get_value_28_29_20const($1), std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________get_value_28_29_20const($2)); +} + +function $28anonymous_20namespace_29__itanium_demangle__NestedName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 37339); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + __stack_pointer = $2 + 16 | 0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_________node_alloc_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______second_28_29($0 + 8 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__LocalName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 37339); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____max_size_std____2__allocator_vision__FeaturePoint__2c_20void__28std____2__allocator_vision__FeaturePoint__20const__29(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t______compressed_pair_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $1 + 8 | 0, $1); + void_20std____2____debug_db_insert_c_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____29($0); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______zero_28_29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function byteswap($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $1 = __stack_pointer - 192 | 0; + __stack_pointer = $1; + byteSwapInt($0, $1 + 8 | 0); + byteSwapInt($0 + 4 | 0, $1 + 8 | 4); + while (1) { + label$2: { + $2 = 0; + if (($4 | 0) == 3) { + $4 = HEAP32[$0 + 176 >> 2]; + $3 = HEAP32[($4 << 3) + 21240 >> 2]; + $5 = ($3 | 0) > 0 ? $3 : 0; + while (1) { + if (($2 | 0) == ($5 | 0)) { + break label$2; + } + $3 = $2 << 3; + byteSwapDouble(($3 + $0 | 0) + 104 | 0, ($1 + $3 | 0) + 112 | 0); + $2 = $2 + 1 | 0; + continue; + } + } else { + while (1) { + if (($2 | 0) != 4) { + $5 = $2 << 3; + $3 = $4 << 5; + byteSwapDouble(($5 + ($3 + $0 | 0) | 0) + 8 | 0, (($1 + $3 | 0) + $5 | 0) + 16 | 0); + $2 = $2 + 1 | 0; + continue; + } + break; + } + $4 = $4 + 1 | 0; + continue; + } + } + break; + } + HEAP32[$1 + 184 >> 2] = $4; + wasm2js_memory_copy($0, $1 + 8 | 0, 184); + __stack_pointer = $1 + 192 | 0; } -function establishStackSpace(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - STACKTOP = i1; - STACK_MAX = i2; +function std____2__vector_int_2c_20std____2__allocator_int______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction___ConstructTransaction_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_29($3, $0, $1); + $1 = HEAP32[$2 + 4 >> 2]; + $4 = HEAP32[$2 + 8 >> 2]; + while (1) { + if (($1 | 0) == ($4 | 0)) { + std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; + } else { + void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20void__28std____2__allocator_int___2c_20int__29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0), int__20std____2____to_address_int__28int__29($1)); + $1 = $1 + 4 | 0; + HEAP32[$2 + 4 >> 2] = $1; + continue; + } + break; + } } -function _jzero_far(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - _memset(i1 | 0, 0, i2 | 0) | 0; - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b34_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b34_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b34_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b34_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1, $2); } -function _icpGetXw2XcCleanup(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - _free(i1); - _free(i2); - return; +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________max_size_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20void__28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 2, 4); } -function _arMultiFreeConfig(i1) { - i1 = i1 | 0; - _free(HEAP32[i1 >> 2] | 0); - _free(i1); - return 0; +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0), std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0) + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____capacity_28_29_20const($0) | 0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0) + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____capacity_28_29_20const($0) | 0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0) + $1 | 0); } -function __ZNKSt3__210moneypunctIwLb1EE16do_thousands_sepEv(i1) { - i1 = i1 | 0; - return 2147483647; +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______20std____2____to_address_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0) { + return $0; } -function __ZNKSt3__210moneypunctIwLb1EE16do_decimal_pointEv(i1) { - i1 = i1 | 0; - return 2147483647; +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______release_28_29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $1; } -function __ZNKSt3__210moneypunctIwLb0EE16do_thousands_sepEv(i1) { - i1 = i1 | 0; - return 2147483647; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PostfixExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__PostfixExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PostfixExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20char_20const_20_28__29_20_5b3_5d_29($0 + 408 | 0, $1, $2); } -function __ZNKSt3__210moneypunctIwLb0EE16do_decimal_pointEv(i1) { - i1 = i1 | 0; - return 2147483647; +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0), std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0) + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____capacity_28_29_20const($0) | 0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0) + $1 | 0, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0) + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0) | 0); } -function __ZNK6vision8KeyframeILi96EE6heightEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 4 >> 2] | 0; +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____vector_28_29($0) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______clear_28_29($0); + std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____deallocate_28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20std____2__locale__facet___2c_20unsigned_20long_29(std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____capacity_28_29_20const($0)); + } + return $0; } -function __ZNK6vision14BinarykMedoidsILi96EE10assignmentEv(i1) { - i1 = i1 | 0; - return i1 + 24 | 0; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______size_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____first_28_29_20const($0 + 12 | 0) >> 2]; } -function __ZN6vision4min2IfEET_S1_S1_(d1, d2) { - d1 = +d1; - d2 = +d2; - return +(d1 < d2 ? d1 : d2); +function std____2__shared_ptr_unsigned_20char___shared_ptr_unsigned_20char_2c_20NullArrayDeleter_unsigned_20char__2c_20void__28unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__29($0, $1) { + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$0 >> 2] = $1; + $3 = operator_20new_28unsigned_20long_29(16); + std____2__allocator_unsigned_20char___allocator_28_29($2 + 8 | 0); + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char______shared_ptr_pointer_28unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char__29($3, $1), + HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + HEAP32[$2 + 4 >> 2] = $1; + HEAP32[$2 >> 2] = $1; + std____2__shared_ptr_unsigned_20char_____enable_weak_this_28____29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $0; } -function __ZN6vision4max2IfEET_S1_S1_(d1, d2) { - d1 = +d1; - d2 = +d2; - return +(d1 > d2 ? d1 : d2); +function icpGetJ_U_S($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $4 = __stack_pointer - 224 | 0; + __stack_pointer = $4; + icpGetJ_Xc_S($4 + 80 | 0, $4 + 8 | 0, $2, $3); + $5 = -1; + label$1: { + if ((icpGetJ_U_Xc($4 + 32 | 0, $1, $4 + 8 | 0) | 0) >= 0) { + $2 = 0; + while (1) { + $5 = 0; + if (($2 | 0) == 2) { + break label$1; + } + while (1) { + if (($5 | 0) != 6) { + $1 = $5 << 3; + $7 = $1 + (Math_imul($2, 48) + $0 | 0) | 0; + $3 = 0; + $6 = 0; + while (1) { + if (($3 | 0) != 3) { + $6 = HEAPF64[(($4 + 32 | 0) + Math_imul($2, 24) | 0) + ($3 << 3) >> 3] * HEAPF64[(($4 + 80 | 0) + Math_imul($3, 48) | 0) + $1 >> 3] + $6; + $3 = $3 + 1 | 0; + continue; + } + break; + } + HEAPF64[$7 >> 3] = $6; + $5 = $5 + 1 | 0; + continue; + } + break; + } + $2 = $2 + 1 | 0; + continue; + } + } + arLog(0, 3, 2528, 0); + } + __stack_pointer = $4 + 224 | 0; + return $5; } -function __ZN10emscripten8internal14asGenericValueIiEEdT_(i1) { - i1 = i1 | 0; - return +(+(i1 | 0)); +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b41_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b41_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b41_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b41_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function _finish_input_pass(i1) { - i1 = i1 | 0; - HEAP32[HEAP32[i1 + 436 >> 2] >> 2] = 70; - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b31_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b31_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b31_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b31_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function __ZNSt3__28messagesIwED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b27_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b27_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b27_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b27_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function __ZNSt3__28messagesIcED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b25_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b25_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b25_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b25_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function __ZNKSt3__26vectorItNS_9allocatorItEEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 2147483647; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b22_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b22_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b22_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b22_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function __ZNKSt3__26vectorIiNS_9allocatorIiEEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 1073741823; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b20_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b20_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b20_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b20_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function __ZNKSt3__26vectorIhNS_9allocatorIhEEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 2147483647; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b19_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b19_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b19_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b19_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function __ZNKSt3__26vectorIfNS_9allocatorIfEEE8max_sizeEv(i1) { - i1 = i1 | 0; - return 1073741823; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b18_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b18_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b18_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b18_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function __ZN6vision4log2IfEET_S1_(d1) { - d1 = +d1; - return +(+Math_log(+d1) / .6931471824645996); +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b14_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b14_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b14_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b14_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJviiEEEE3getEv() { - return 13676; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b12_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJvifEEEE3getEv() { - return 13664; +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20short__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_unsigned_unsigned_20short__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20short__29_20const($0, $1, $2, $3, $4, $5) | 0; } -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJvidEEEE3getEv() { - return 13696; +function std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________split_buffer_28_29($0) { + std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____deallocate_28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long___2c_20unsigned_20long_29(std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______capacity_28_29_20const($0)); + } + return $0; } -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiiiEEEE3getEv() { - return 3456; +function vision__HoughSimilarityVoting__init_28float_2c_20float_2c_20float_2c_20float_2c_20int_2c_20int_2c_20int_2c_20int_29($0, $1, $2, $3, $4, $5, $6, $7, $8) { + HEAP32[$0 + 64 >> 2] = $8; + HEAP32[$0 + 60 >> 2] = $7; + HEAP32[$0 + 56 >> 2] = $6; + HEAP32[$0 + 52 >> 2] = $5; + HEAP32[$0 + 36 >> 2] = -1082130432; + HEAP32[$0 + 40 >> 2] = 1065353216; + HEAPF32[$0 + 32 >> 2] = $4; + HEAPF32[$0 + 28 >> 2] = $3; + HEAPF32[$0 + 24 >> 2] = $2; + HEAPF32[$0 + 20 >> 2] = $1; + HEAP32[$0 + 44 >> 2] = 1092616192; + $8 = Math_imul($5, $6); + HEAP32[$0 + 84 >> 2] = $8; + HEAP32[$0 + 88 >> 2] = Math_imul($7, $8); + $4 = log_28float_29(Math_fround(10)); + HEAP8[$0 + 16 | 0] = !($5 | $6); + HEAPF32[$0 + 48 >> 2] = Math_fround(1) / $4; + std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____clear_28_29($0 + 92 | 0); } -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiiEEEE3getEv() { - return 13728; +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______throw_length_error_28_29_20const($0); + abort(); } -function b6(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - nullFunc_iiii(6); - return 0; +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function float_20std____2____num_get_float_float__28char_20const__2c_20char_20const__2c_20unsigned_20int__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = Math_fround(0), $6 = 0, $7 = Math_fround(0); + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + label$1: { + label$2: { + label$3: { + if (($0 | 0) != ($1 | 0)) { + $4 = __errno_location(); + $6 = HEAP32[$4 >> 2]; + HEAP32[$4 >> 2] = 0; + $5 = float_20std____2____do_strtod_float__28char_20const__2c_20char___29($0, $3 + 12 | 0); + $0 = HEAP32[$4 >> 2]; + if (!$0) { + break label$3; + } + if (HEAP32[$3 + 12 >> 2] != ($1 | 0)) { + break label$2; + } + $7 = $5; + if (($0 | 0) != 68) { + break label$1; + } + break label$2; + } + HEAP32[$2 >> 2] = 4; + break label$1; + } + HEAP32[$4 >> 2] = $6; + if (HEAP32[$3 + 12 >> 2] == ($1 | 0)) { + break label$1; + } + } + HEAP32[$2 >> 2] = 4; + $5 = $7; + } + __stack_pointer = $3 + 16 | 0; + return $5; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialName_2c_20char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28char_20const_20_28__29_20_5b9_5d_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} + +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_unsigned_unsigned_20long__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long__29_20const($0, $1, $2, $3, $4, $5) | 0; +} + +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20double__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_floating_point_long_20double__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20double__29_20const($0, $1, $2, $3, $4, $5) | 0; +} + +function icpGetDeltaS($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 48 | 0; + __stack_pointer = $4; + HEAP32[$4 + 36 >> 2] = 6; + HEAP32[$4 + 40 >> 2] = 1; + HEAP32[$4 + 32 >> 2] = $0; + HEAP32[$4 + 24 >> 2] = 1; + HEAP32[$4 + 20 >> 2] = $3; + HEAP32[$4 + 16 >> 2] = $1; + HEAP32[$4 + 8 >> 2] = 6; + HEAP32[$4 + 4 >> 2] = $3; + HEAP32[$4 >> 2] = $2; + $3 = arMatrixAllocTrans($4); + label$1: { + if (!$3) { + $0 = -1; + break label$1; + } + $2 = arMatrixAllocMul($3, $4); + label$3: { + if (!$2) { + $0 = -1; + $1 = $3; + break label$3; + } + $1 = arMatrixAllocMul($3, $4 + 16 | 0); + label$5: { + if (!$1) { + $0 = -1; + $1 = $2; + break label$5; + } + $0 = 0; + label$7: { + if ((arMatrixSelfInv($2) | 0) < 0) { + $0 = -1; + break label$7; + } + arMatrixMul($4 + 32 | 0, $2, $1); + } + arMatrixFree($3); + $3 = $2; + } + arMatrixFree($3); + } + arMatrixFree($1); + } + __stack_pointer = $4 + 48 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__20std____2__min__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_2c_20std____2____less__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind___28_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20std____2____less__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind__29($0, $1) { + return std____2____less__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind___operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__29_20const($1, $0) ? $1 : $0; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________unique_ptr_true_2c_20void__28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1 + 8 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2____stdoutbuf_char_____stdoutbuf_28_IO_FILE__2c_20__mbstate_t__29($0, $1, $2) { + var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = std____2__basic_streambuf_char_2c_20std____2__char_traits_char____basic_streambuf_28_29($0); + HEAP32[$0 + 32 >> 2] = $1; + HEAP32[$0 >> 2] = 54180; + std____2__basic_streambuf_char_2c_20std____2__char_traits_char____getloc_28_29_20const($3 + 8 | 0, $0); + $1 = std____2__codecvt_char_2c_20char_2c_20__mbstate_t__20const__20std____2__use_facet_std____2__codecvt_char_2c_20char_2c_20__mbstate_t___28std____2__locale_20const__29($3 + 8 | 0); + std____2__locale___locale_28_29($3 + 8 | 0); + HEAP32[$0 + 40 >> 2] = $2; + HEAP32[$0 + 36 >> 2] = $1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__codecvt_char_2c_20char_2c_20__mbstate_t___always_noconv_28_29_20const($1), + HEAP8[wasm2js_i32$0 + 44 | 0] = wasm2js_i32$1; + __stack_pointer = $3 + 16 | 0; + return $0; +} + +function void_20emscripten__function_int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28char_20const__2c_20int_20_28__29_28int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___29_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + _embind_register_function($0 | 0, emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____getCount_28_29_20const($2 + 8 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____getTypes_28_29_20const($2 + 8 | 0) | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, 89, $1 | 0); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0), std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0) + (std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____capacity_28_29_20const($0) << 5) | 0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0) + (std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____capacity_28_29_20const($0) << 5) | 0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0) + ($1 << 5) | 0); +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0), std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0) + (std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____capacity_28_29_20const($0) << 5) | 0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0) + ($1 << 5) | 0, std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0) + (std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($0) << 5) | 0); +} + +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20int__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_unsigned_unsigned_20int__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20int__29_20const($0, $1, $2, $3, $4, $5) | 0; +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Node_96______max_size_std____2__allocator_vision__Node_96____2c_20void__28std____2__allocator_vision__Node_96____20const__29(std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______vdeallocate_28_29($0) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (HEAP32[$0 >> 2]) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____clear_28_29($0); + std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____deallocate_28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20unsigned_20long_29(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____capacity_28_29_20const($0)); + wasm2js_i32$0 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______end_cap_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + } +} + +function alloc_large($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = HEAP32[$0 + 4 >> 2]; + if ($2 >>> 0 >= 999999985) { + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 56; + HEAP32[$4 + 24 >> 2] = 3; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $5 = $2 & 7; + $5 = ($5 ? 8 - $5 | 0 : 0) + $2 | 0; + if ($1 >>> 0 >= 2) { + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 24 >> 2] = $1; + HEAP32[$2 + 20 >> 2] = 15; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $6 = $5 + 16 | 0; + $2 = jpeg_get_large($0, $6); + if (!$2) { + $4 = HEAP32[$0 >> 2]; + HEAP32[$4 + 20 >> 2] = 56; + HEAP32[$4 + 24 >> 2] = 4; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + HEAP32[$3 + 76 >> 2] = HEAP32[$3 + 76 >> 2] + $6; + $1 = ($1 << 2) + $3 | 0; + $0 = $1 + 60 | 0; + $3 = HEAP32[$0 >> 2]; + HEAP32[$2 + 8 >> 2] = 0; + HEAP32[$2 + 4 >> 2] = $5; + HEAP32[$2 >> 2] = $3; + HEAP32[$1 + 60 >> 2] = $2; + return $2 + 16 | 0; +} + +function __strchrnul($0, $1) { + var $2 = 0, $3 = 0; + label$1: { + $3 = $1 & 255; + if ($3) { + if ($0 & 3) { + while (1) { + $2 = HEAPU8[$0 | 0]; + if (!$2 | ($1 & 255) == ($2 | 0)) { + break label$1; + } + $0 = $0 + 1 | 0; + if ($0 & 3) { + continue; + } + break; + } + } + $2 = HEAP32[$0 >> 2]; + label$5: { + if (($2 ^ -1) & $2 - 16843009 & -2139062144) { + break label$5; + } + $3 = Math_imul($3, 16843009); + while (1) { + $2 = $2 ^ $3; + if (($2 ^ -1) & $2 - 16843009 & -2139062144) { + break label$5; + } + $2 = HEAP32[$0 + 4 >> 2]; + $0 = $0 + 4 | 0; + if (!($2 - 16843009 & ($2 ^ -1) & -2139062144)) { + continue; + } + break; + } + } + while (1) { + $2 = $0; + $3 = HEAPU8[$2 | 0]; + if ($3) { + $0 = $2 + 1 | 0; + if (($1 & 255) != ($3 | 0)) { + continue; + } + } + break; + } + return $2; + } + return strlen($0) + $0 | 0; + } + return $0; } -function _roundf(d1) { - d1 = +d1; - return d1 >= 0.0 ? +Math_floor(d1 + .5) : +Math_ceil(d1 - .5); +function __cxxabiv1____class_type_info__process_static_type_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_29_20const($0, $1, $2, $3, $4) { + HEAP8[$1 + 53 | 0] = 1; + label$1: { + if (HEAP32[$1 + 4 >> 2] != ($3 | 0)) { + break label$1; + } + HEAP8[$1 + 52 | 0] = 1; + $3 = HEAP32[$1 + 16 >> 2]; + label$2: { + if (!$3) { + HEAP32[$1 + 36 >> 2] = 1; + HEAP32[$1 + 24 >> 2] = $4; + HEAP32[$1 + 16 >> 2] = $2; + if (($4 | 0) != 1) { + break label$1; + } + if (HEAP32[$1 + 48 >> 2] == 1) { + break label$2; + } + break label$1; + } + if (($2 | 0) == ($3 | 0)) { + $3 = HEAP32[$1 + 24 >> 2]; + if (($3 | 0) == 2) { + HEAP32[$1 + 24 >> 2] = $4; + $3 = $4; + } + if (HEAP32[$1 + 48 >> 2] != 1) { + break label$1; + } + if (($3 | 0) == 1) { + break label$2; + } + break label$1; + } + HEAP32[$1 + 36 >> 2] = HEAP32[$1 + 36 >> 2] + 1; + } + HEAP8[$1 + 54 | 0] = 1; + } } -function _isspace(i1) { - i1 = i1 | 0; - return ((i1 | 0) == 32 | (i1 + -9 | 0) >>> 0 < 5) & 1 | 0; +function void_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____construct_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4) { + std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______pair_int_20const___28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const___2c_20std____2__tuple___29($1, HEAP32[$3 >> 2]); } -function __ZNSt3__27collateIwED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function $28anonymous_20namespace_29__itanium_demangle__InitListExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__InitListExpr_2c_20std__nullptr_t_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28std__nullptr_t___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__InitListExpr__InitListExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, 0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; } -function __ZNSt3__27collateIcED2Ev(i1) { - i1 = i1 | 0; - __ZNSt3__26locale5facetD2Ev(i1); - return; +function int__20std____2__move_backward_int__2c_20int___28int__2c_20int__2c_20int__29($0, $1, $2) { + return int__20std____2____rewrap_iter_int___28int__2c_20int__29($2, std____2__enable_if_is_same_std____2__remove_const_int___type_2c_20int___value_20___20is_trivially_move_assignable_int___value_2c_20int____type_20std____2____move_backward_int_2c_20int__28int__2c_20int__2c_20int__29(decltype_28std____2____unwrap_iter_impl_int__2c_20true_____apply_28declval_int___28_29_29_29_20std____2____unwrap_iter_int__2c_20std____2____unwrap_iter_impl_int__2c_20true___28int__29($0), decltype_28std____2____unwrap_iter_impl_int__2c_20true_____apply_28declval_int___28_29_29_29_20std____2____unwrap_iter_int__2c_20std____2____unwrap_iter_impl_int__2c_20true___28int__29($1), decltype_28std____2____unwrap_iter_impl_int__2c_20true_____apply_28declval_int___28_29_29_29_20std____2____unwrap_iter_int__2c_20std____2____unwrap_iter_impl_int__2c_20true___28int__29($2))); } -function __ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE4syncEv(i1) { - i1 = i1 | 0; - return 0; +function std____2____time_put____do_put_28wchar_t__2c_20wchar_t___2c_20tm_20const__2c_20char_2c_20char_29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0; + $6 = __stack_pointer - 144 | 0; + __stack_pointer = $6; + HEAP32[$6 + 28 >> 2] = $6 + 132; + std____2____time_put____do_put_28char__2c_20char___2c_20tm_20const__2c_20char_2c_20char_29_20const($0, $6 + 32 | 0, $6 + 28 | 0, $3, $4, $5); + HEAP32[$6 + 16 >> 2] = 0; + HEAP32[$6 + 20 >> 2] = 0; + HEAP32[$6 + 12 >> 2] = $6 + 32; + $0 = std____2____libcpp_mbsrtowcs_l_28wchar_t__2c_20char_20const___2c_20unsigned_20long_2c_20__mbstate_t__2c_20__locale_struct__29($1, $6 + 12 | 0, unsigned_20long_20std____2___28anonymous_20namespace_29__countof_wchar_t__28wchar_t_20const__2c_20wchar_t_20const__29($1, HEAP32[$2 >> 2]), $6 + 16 | 0, HEAP32[$0 >> 2]); + if (($0 | 0) == -1) { + std____2____throw_runtime_error_28char_20const__29($6); + abort(); + } + HEAP32[$2 >> 2] = ($0 << 2) + $1; + __stack_pointer = $6 + 144 | 0; } -function __ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE4syncEv(i1) { - i1 = i1 | 0; - return 0; +function std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int________unordered_map_28_29($0) { + return std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int__________hash_table_28_29($0); } -function __ZNKSt3__27codecvtIDsc11__mbstate_tE16do_always_noconvEv(i1) { - i1 = i1 | 0; - return 0; +function std____2____compressed_pair_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29(std____2____compressed_pair_elem_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0)); } -function __ZNKSt3__27codecvtIDic11__mbstate_tE16do_always_noconvEv(i1) { - i1 = i1 | 0; - return 0; +function void_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______destroy_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1) { + std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______destroy_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1); } -function __ZNKSt3__218__libcpp_refstring5c_strEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 >> 2] | 0; +function std____2____split_buffer_int_2c_20std____2__allocator_int_______construct_at_end_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2____split_buffer_int_2c_20std____2__allocator_int______ConstructTransaction___ConstructTransaction_28int___2c_20unsigned_20long_29($2, $0 + 8 | 0, $1); + $3 = HEAP32[$1 >> 2]; + while (1) { + if (($3 | 0) != HEAP32[$1 + 4 >> 2]) { + void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20void__28std____2__allocator_int___2c_20int__29(std____2____split_buffer_int_2c_20std____2__allocator_int_______alloc_28_29($0), int__20std____2____to_address_int__28int__29(HEAP32[$1 >> 2])); + $3 = HEAP32[$1 >> 2] + 4 | 0; + HEAP32[$1 >> 2] = $3; + continue; + } + break; + } + std____2____split_buffer_int_2c_20std____2__allocator_int______ConstructTransaction____ConstructTransaction_28_29($1); + __stack_pointer = $2 + 16 | 0; } -function __ZNK6vision25GaussianScaleSpacePyramid6imagesEv(i1) { - i1 = i1 | 0; - return i1 + 4 | 0; +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______construct_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int__2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int__2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__pair_unsigned_20int_20const_2c_20unsigned_20int___2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int____29($0, $1, $2) { + void_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____construct_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int__2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int___28std____2__pair_unsigned_20int_20const_2c_20unsigned_20int___2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int____29($0, $1, $2); } -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJviEEEE3getEv() { - return 13712; +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_unsigned_20short____max_size_std____2__allocator_unsigned_20short__2c_20void__28std____2__allocator_unsigned_20short__20const__29(std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiiEEEE3getEv() { - return 13752; +function std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______size_28_29_20const($0) { + return std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______size_28_29_20const($0); } -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJdiEEEE3getEv() { - return 13688; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______hash_function_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____second_28_29($0 + 12 | 0); } -function __ZNKSt3__27codecvtIwc11__mbstate_tE16do_always_noconvEv(i1) { - i1 = i1 | 0; - return 0; +function rgb_gray_convert($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0; + if (($4 | 0) > 0) { + $5 = HEAP32[$0 + 112 >> 2]; + $0 = HEAP32[HEAP32[$0 + 480 >> 2] + 24 >> 2]; + while (1) { + $6 = $4; + if ($5) { + $4 = $2 << 2; + $7 = HEAP32[$4 + HEAP32[$1 + 8 >> 2] >> 2]; + $8 = HEAP32[HEAP32[$1 + 4 >> 2] + $4 >> 2]; + $9 = HEAP32[HEAP32[$1 >> 2] + $4 >> 2]; + $10 = HEAP32[$3 >> 2]; + $4 = 0; + while (1) { + HEAP8[$4 + $10 | 0] = HEAP32[((HEAPU8[$4 + $7 | 0] << 2) + $0 | 0) + 2048 >> 2] + (HEAP32[((HEAPU8[$4 + $8 | 0] << 2) + $0 | 0) + 1024 >> 2] + HEAP32[(HEAPU8[$4 + $9 | 0] << 2) + $0 >> 2] | 0) >>> 16; + $4 = $4 + 1 | 0; + if (($5 | 0) != ($4 | 0)) { + continue; + } + break; + } + } + $3 = $3 + 4 | 0; + $2 = $2 + 1 | 0; + $4 = $6 - 1 | 0; + if (($6 | 0) >= 2) { + continue; + } + break; + } + } } -function __ZNKSt3__27codecvtIcc11__mbstate_tE16do_always_noconvEv(i1) { - i1 = i1 | 0; - return 1; +function $28anonymous_20namespace_29__itanium_demangle__parse_discriminator_28char_20const__2c_20char_20const__29($0, $1) { + var $2 = 0, $3 = 0; + label$1: { + if (($0 | 0) == ($1 | 0)) { + break label$1; + } + $2 = HEAP8[$0 | 0]; + if (($2 | 0) == 95) { + $2 = $0 + 1 | 0; + if (($2 | 0) == ($1 | 0)) { + break label$1; + } + $2 = HEAP8[$0 + 1 | 0]; + if ($2 - 48 >>> 0 <= 9) { + return $0 + 2 | 0; + } + if (($2 | 0) != 95) { + break label$1; + } + $2 = $0 + 2 | 0; + while (1) { + if (($1 | 0) == ($2 | 0)) { + break label$1; + } + $3 = HEAP8[$2 | 0]; + if ($3 - 48 >>> 0 <= 9) { + $2 = $2 + 1 | 0; + continue; + } + break; + } + return ($3 | 0) == 95 ? $2 + 1 | 0 : $0; + } + if ($2 - 48 >>> 0 > 9) { + break label$1; + } + $2 = $0; + while (1) { + $2 = $2 + 1 | 0; + if (($2 | 0) == ($1 | 0)) { + return $1; + } + if (HEAP8[$2 | 0] - 48 >>> 0 < 10) { + continue; + } + break; + } + } + return $0; } -function __ZNK6vision20BinaryFeatureMatcherILi96EE7matchesEv(i1) { - i1 = i1 | 0; - return i1 | 0; +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____push_back_28std____2__pair_float_2c_20unsigned_20long____29($0, $1) { + if (HEAPU32[$0 + 4 >> 2] < HEAPU32[std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______end_cap_28_29($0) >> 2]) { + void_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______construct_one_at_end_std____2__pair_float_2c_20unsigned_20long___28std____2__pair_float_2c_20unsigned_20long____29($0, $1); + return; + } + void_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______push_back_slow_path_std____2__pair_float_2c_20unsigned_20long___28std____2__pair_float_2c_20unsigned_20long____29($0, $1); } -function __ZN6vision25GaussianScaleSpacePyramid6imagesEv(i1) { - i1 = i1 | 0; - return i1 + 4 | 0; +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20long__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_signed_long_20long__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20long__29_20const($0, $1, $2, $3, $4, $5) | 0; } -function __ZN10emscripten8internal14ArgArrayGetterINS0_8TypeListIJiEEEE3getEv() { - return 13708; +function logf($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0; + $1 = (wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2)); + if (($1 | 0) == 1065353216) { + return Math_fround(0); + } + label$2: { + if ($1 - 2139095040 >>> 0 <= 2164260863) { + $2 = $1 << 1; + if (!$2) { + return __math_divzerof(1); + } + if (($1 | 0) == 2139095040) { + break label$2; + } + if (!($2 >>> 0 < 4278190080 & ($1 | 0) >= 0)) { + return __math_invalidf($0); + } + $1 = (wasm2js_scratch_store_f32(Math_fround($0 * Math_fround(8388608))), wasm2js_scratch_load_i32(2)) - 192937984 | 0; + } + $2 = $1 - 1060306944 | 0; + $3 = +(wasm2js_scratch_store_i32(2, $1 - ($2 & -8388608) | 0), wasm2js_scratch_load_f32()); + $1 = $2 >>> 15 & 240; + $3 = $3 * HEAPF64[$1 + 47984 >> 3] + -1; + $4 = $3 * $3; + $0 = Math_fround((HEAPF64[6031] * $4 + (HEAPF64[6032] * $3 + HEAPF64[6033])) * $4 + (+($2 >> 23) * HEAPF64[6030] + HEAPF64[$1 + 47992 >> 3] + $3)); + } + return $0; } -function __ZN10emscripten8internal11BindingTypeIfE12fromWireTypeEf(d1) { - d1 = +d1; - return +d1; +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______throw_length_error_28_29_20const($0); + abort(); } -function __ZN10emscripten8internal11BindingTypeIdE12fromWireTypeEd(d1) { - d1 = +d1; - return +d1; +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__match_t____max_size_std____2__allocator_vision__match_t__2c_20void__28std____2__allocator_vision__match_t__20const__29(std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function dynCall_vi(i2, i1) { - i2 = i2 | 0; - i1 = i1 | 0; - FUNCTION_TABLE_vi[i2 & 255](i1 | 0); +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_unsigned_20char____max_size_std____2__allocator_unsigned_20char__2c_20void__28std____2__allocator_unsigned_20char__20const__29(std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function _strcpy(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - ___stpcpy(i1, i2) | 0; - return i1 | 0; +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____data_28_29_20const($0), std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____data_28_29_20const($0) + (std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____capacity_28_29_20const($0) << 3) | 0, std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____data_28_29_20const($0) + (std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____capacity_28_29_20const($0) << 3) | 0, std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____data_28_29_20const($0) + ($1 << 3) | 0); } -function _freelocale(i1) { - i1 = i1 | 0; - if (___loc_is_allocated(i1) | 0) _free(i1); - return; +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_______node_alloc_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______second_28_29($0 + 8 | 0); } -function ___lctrans(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return ___lctrans_impl(i1, i2) | 0; +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96____28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96____29($0, $1, $2, $3) { + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 8 | 0; + void_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____construct_vision__PriorityQueueItem_96__2c_20vision__PriorityQueueItem_96__2c_20void__28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96____29($0, vision__PriorityQueueItem_96___20std____2____to_address_vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___29(HEAP32[$3 >> 2] - 8 | 0), $2); + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] - 8; + continue; + } + break; + } } -function __ZNKSt3__27codecvtIDsc11__mbstate_tE13do_max_lengthEv(i1) { - i1 = i1 | 0; - return 4; +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_unshift_28__mbstate_t__2c_20char__2c_20char__2c_20char___29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + HEAP32[$4 >> 2] = $2; + $6 = 2; + $2 = std____2____libcpp_wcrtomb_l_28char__2c_20wchar_t_2c_20__mbstate_t__2c_20__locale_struct__29($5 + 12 | 0, 0, $1, HEAP32[$0 + 8 >> 2]); + $0 = $6; + label$1: { + if ($2 + 1 >>> 0 < 2) { + break label$1; + } + $6 = 1; + $2 = $2 - 1 | 0; + $0 = $6; + if ($2 >>> 0 > $3 - HEAP32[$4 >> 2] >>> 0) { + break label$1; + } + $3 = $5 + 12 | 0; + while (1) { + if ($2) { + $0 = HEAPU8[$3 | 0]; + $1 = HEAP32[$4 >> 2]; + HEAP32[$4 >> 2] = $1 + 1; + HEAP8[$1 | 0] = $0; + $2 = $2 - 1 | 0; + $3 = $3 + 1 | 0; + continue; + } + break; + } + $0 = 0; + } + __stack_pointer = $5 + 16 | 0; + return $0 | 0; } -function __ZNKSt3__27codecvtIDic11__mbstate_tE13do_max_lengthEv(i1) { - i1 = i1 | 0; - return 4; +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20double__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_floating_point_double__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20double__29_20const($0, $1, $2, $3, $4, $5) | 0; } -function __ZNKSt3__25ctypeIcE8do_widenEc(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return i2 | 0; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____first_28_29($0 + 12 | 0); } -function __ZNK6vision8KeyframeILi96EE5widthEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 >> 2] | 0; +function double_20std____2____num_get_float_double__28char_20const__2c_20char_20const__2c_20unsigned_20int__29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + label$1: { + label$2: { + label$3: { + if (($0 | 0) != ($1 | 0)) { + $4 = __errno_location(); + $6 = HEAP32[$4 >> 2]; + HEAP32[$4 >> 2] = 0; + $5 = double_20std____2____do_strtod_double__28char_20const__2c_20char___29($0, $3 + 12 | 0); + $0 = HEAP32[$4 >> 2]; + if (!$0) { + break label$3; + } + if (HEAP32[$3 + 12 >> 2] != ($1 | 0)) { + break label$2; + } + $7 = $5; + if (($0 | 0) != 68) { + break label$1; + } + break label$2; + } + HEAP32[$2 >> 2] = 4; + break label$1; + } + HEAP32[$4 >> 2] = $6; + if (HEAP32[$3 + 12 >> 2] == ($1 | 0)) { + break label$1; + } + } + HEAP32[$2 >> 2] = 4; + $5 = $7; + } + __stack_pointer = $3 + 16 | 0; + return $5; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____operator__28std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____20const__29($0, $1) { + if (($0 | 0) != ($1 | 0)) { + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______copy_assign_alloc_28std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____20const__29($0, $1); + std____2__enable_if___is_cpp17_forward_iterator_vision__Point3d_float_____value_20___20is_constructible_vision__Point3d_float__2c_20std____2__iterator_traits_vision__Point3d_float_____reference___value_2c_20void___type_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____assign_vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___29($0, HEAP32[$1 >> 2], HEAP32[$1 + 4 >> 2]); + } + return $0; } -function __ZNK6vision5Image3getIfEEPKT_v(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 24 >> 2] | 0; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______max_load_factor_28_29($0) { + return std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____first_28_29($0 + 16 | 0); } - -function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewItEEE3getEv() { - return 11168; +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20float__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_floating_point_float__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20float__29_20const($0, $1, $2, $3, $4, $5) | 0; } -function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIsEEE3getEv() { - return 11176; +function std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________hash_map_const_iterator_28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = $1; + $1 = std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_const_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____20const__29($0, $2 + 8 | 0); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__MemberExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $3 = HEAP32[$0 + 16 >> 2]; + $4 = HEAP32[$0 + 12 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 20 >> 2], $1); + __stack_pointer = $2 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__DynamicExceptionSpec__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 37868); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $3 = $0 + 8 | 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($3, $0); + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($0, 41); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int______vector_28_29($0) { + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____deallocate_28std____2__allocator_std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int___2c_20unsigned_20long_29(std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____capacity_28_29_20const($0)); + } + return $0; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long_20long__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_unsigned_unsigned_20long_20long__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long_20long__29_20const($0, $1, $2, $3, $4, $5) | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = HEAP32[$0 + 12 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$3 >> 2] + 16 >> 2]]($3, $1); + if (!$28anonymous_20namespace_29__itanium_demangle__Node__hasRHSComponent_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1)) { + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38446); + $3 = HEAP32[$0 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + } + __stack_pointer = $2 + 16 | 0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______key_eq_28_29($0) { + return std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____second_28_29($0 + 16 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__20std____2__min__28anonymous_20namespace_29__itanium_demangle__ReferenceKind__28_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__20std____2__min__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_2c_20std____2____less__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind___28_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20std____2____less__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind__29($0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__EnclosingExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 54, 1, 1, 1); + HEAP32[$0 >> 2] = 70396; + $4 = HEAP32[$1 >> 2]; + $5 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 16 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $4; + HEAP32[$0 + 12 >> 2] = $5; + $1 = $3; + $5 = HEAP32[$1 >> 2]; + $4 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 20 >> 2] = $5; + HEAP32[$0 + 24 >> 2] = $4; + return $0; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Image____max_size_std____2__allocator_vision__Image__2c_20void__28std____2__allocator_vision__Image__20const__29(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char______compressed_pair_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $1 + 8 | 0, $1); + void_20std____2____debug_db_insert_c_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______zero_28_29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________first_28_29_20const($0) >> 2] + ($1 << 2) | 0; +} + +function int_upsample($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, $10 = 0; + if (HEAP32[$0 + 320 >> 2] > 0) { + $1 = HEAP32[$0 + 476 >> 2] + HEAP32[$1 + 4 >> 2] | 0; + $5 = HEAPU8[$1 + 140 | 0]; + $6 = HEAP32[$3 >> 2]; + $7 = HEAPU8[$1 + 150 | 0]; + $9 = $7 - 1 | 0; + while (1) { + $1 = HEAP32[$0 + 112 >> 2]; + if (($1 | 0) > 0) { + $3 = HEAP32[($4 << 2) + $6 >> 2]; + $10 = $3 + $1 | 0; + $1 = HEAP32[($8 << 2) + $2 >> 2]; + while (1) { + if ($5) { + $3 = memset($3, HEAPU8[$1 | 0], $5) + $5 | 0; + } + $1 = $1 + 1 | 0; + if ($3 >>> 0 < $10 >>> 0) { + continue; + } + break; + } + } + if ($7 >>> 0 >= 2) { + jcopy_sample_rows($6, $4, $6, $4 + 1 | 0, $9, HEAP32[$0 + 112 >> 2]); + } + $8 = $8 + 1 | 0; + $4 = $4 + $7 | 0; + if (($4 | 0) < HEAP32[$0 + 320 >> 2]) { + continue; + } + break; + } + } } -function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewImEEE3getEv() { - return 11136; +function $28anonymous_20namespace_29__itanium_demangle__EnableIfAttr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 37323); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $3 = $0 + 8 | 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($3, $0); + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($0, 93); + __stack_pointer = $2 + 16 | 0; } -function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIlEEE3getEv() { - return 11144; +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____copy_constexpr_wchar_t__2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28wchar_t__2c_20wchar_t__2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 8 >> 2] = $2; + while (1) { + if (($0 | 0) != ($1 | 0)) { + $2 = HEAP32[$0 >> 2]; + std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28wchar_t_29(std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29($3 + 8 | 0), $2); + $0 = $0 + 4 | 0; + std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($3 + 8 | 0); + continue; + } + break; + } + __stack_pointer = $3 + 16 | 0; + $0 = HEAP32[$3 + 8 >> 2]; + return $0; +} + +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_get_signed_long__28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long__29_20const($0, $1, $2, $3, $4, $5) | 0; +} + +function getDeltaS($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 48 | 0; + __stack_pointer = $4; + HEAP32[$4 + 36 >> 2] = 8; + HEAP32[$4 + 40 >> 2] = 1; + HEAP32[$4 + 32 >> 2] = $0; + HEAP32[$4 + 24 >> 2] = 1; + HEAP32[$4 + 20 >> 2] = $3; + HEAP32[$4 + 16 >> 2] = $1; + HEAP32[$4 + 8 >> 2] = 8; + HEAP32[$4 + 4 >> 2] = $3; + HEAP32[$4 >> 2] = $2; + $3 = arMatrixAllocTransf($4); + label$1: { + if (!$3) { + $0 = -1; + break label$1; + } + $1 = arMatrixAllocMulf($3, $4); + label$3: { + if (!$1) { + $0 = -1; + break label$3; + } + $2 = arMatrixAllocMulf($3, $4 + 16 | 0); + label$5: { + if (!$2) { + $0 = -1; + break label$5; + } + $0 = 0; + label$7: { + if ((arMatrixSelfInvf($1) | 0) < 0) { + $0 = -1; + break label$7; + } + arMatrixMulf($4 + 32 | 0, $1, $2); + } + arMatrixFreef($2); + } + arMatrixFreef($1); + } + arMatrixFreef($3); + } + __stack_pointer = $4 + 48 | 0; + return $0; +} + +function std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______destruct_at_end_28std____2__locale__facet___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 4 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____destroy_std____2__locale__facet__2c_20void_2c_20void__28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20std____2__locale__facet___29($3, std____2__locale__facet___20std____2____to_address_std____2__locale__facet___28std____2__locale__facet___29($2)); + continue; + } + break; + } } -function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIjEEE3getEv() { - return 11152; +function arParamObserv2IdealLTf($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $2 = Math_fround($2 + Math_fround(.5)); + label$1: { + if (Math_fround(Math_abs($2)) < Math_fround(2147483648)) { + $7 = ~~$2; + break label$1; + } + $7 = -2147483648; + } + $6 = HEAP32[$0 + 20 >> 2]; + $8 = -1; + $2 = Math_fround($1 + Math_fround(.5)); + label$4: { + if (Math_fround(Math_abs($2)) < Math_fround(2147483648)) { + $5 = ~~$2; + break label$4; + } + $5 = -2147483648; + } + $5 = $5 + HEAP32[$0 + 16 >> 2] | 0; + label$3: { + if (($5 | 0) < 0) { + break label$3; + } + $9 = HEAP32[$0 + 8 >> 2]; + if (($9 | 0) <= ($5 | 0)) { + break label$3; + } + $6 = $6 + $7 | 0; + if (($6 | 0) < 0 | HEAP32[$0 + 12 >> 2] <= ($6 | 0)) { + break label$3; + } + $0 = HEAP32[$0 + 4 >> 2] + (Math_imul($6, $9) + $5 << 3) | 0; + HEAPF32[$3 >> 2] = HEAPF32[$0 >> 2]; + HEAPF32[$4 >> 2] = HEAPF32[$0 + 4 >> 2]; + $8 = 0; + } + return $8; } -function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIiEEE3getEv() { - return 11160; +function void_20std____2__call_once_std____2___28anonymous_20namespace_29____fake_bind__28std____2__once_flag__2c_20std____2___28anonymous_20namespace_29____fake_bind___29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + if ((unsigned_20long_20std____2____libcpp_acquire_load_unsigned_20long__28unsigned_20long_20const__29($0) | 0) != -1) { + std____2____call_once_28unsigned_20long_20volatile__2c_20void__2c_20void_20_28__29_28void__29_29($0, std____2____call_once_param_std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind________call_once_param_28std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind_____29($2, std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind_____tuple_std____2___28anonymous_20namespace_29____fake_bind_2c_200__28std____2___28anonymous_20namespace_29____fake_bind___29($2 + 8 | 0, $1)), 318); + } + __stack_pointer = $2 + 16 | 0; } -function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIhEEE3getEv() { - return 11184; +function std____2__vector_float_2c_20std____2__allocator_float______vallocate_28unsigned_20long_29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (std____2__vector_float_2c_20std____2__allocator_float____max_size_28_29_20const($0) >>> 0 < $1 >>> 0) { + std____2__vector_float_2c_20std____2__allocator_float______throw_length_error_28_29_20const($0); + abort(); + } + $2 = std____2__allocator_traits_std____2__allocator_float____allocate_28std____2__allocator_float___2c_20unsigned_20long_29(std____2__vector_float_2c_20std____2__allocator_float______alloc_28_29($0), $1); + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = $2; + wasm2js_i32$0 = std____2__vector_float_2c_20std____2__allocator_float______end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 2) + $2 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__vector_float_2c_20std____2__allocator_float______annotate_new_28unsigned_20long_29_20const($0, 0); } -function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIfEEE3getEv() { - return 11128; +function std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________destruct_at_end_28std____2__pair_float_2c_20int___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 8 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____destroy_std____2__pair_float_2c_20int__2c_20void__28std____2__allocator_std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int___29($3, std____2__pair_float_2c_20int___20std____2____to_address_std____2__pair_float_2c_20int___28std____2__pair_float_2c_20int___29($2)); + continue; + } + break; + } } -function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIeEEE3getEv() { - return 11112; +function genBWImageHalf_28unsigned_20char__2c_20int_2c_20int_2c_20int__2c_20int__29($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $5 = ($1 | 0) / 2 | 0; + HEAP32[$3 >> 2] = $5; + $3 = ($2 | 0) / 2 | 0; + HEAP32[$4 >> 2] = $3; + $6 = dlmalloc(Math_imul($3, $5)); + if ($6) { + $8 = ($3 | 0) > 0 ? $3 : 0; + $9 = ($5 | 0) > 0 ? $5 : 0; + $4 = $6; + while (1) { + if (($7 | 0) != ($8 | 0)) { + $3 = $7 << 1; + $5 = Math_imul($3, $1) + $0 | 0; + $3 = Math_imul($3 | 1, $1) + $0 | 0; + $2 = 0; + while (1) { + if (($2 | 0) != ($9 | 0)) { + HEAP8[$4 | 0] = HEAPU8[$3 + 1 | 0] + (HEAPU8[$3 | 0] + (HEAPU8[$5 + 1 | 0] + HEAPU8[$5 | 0] | 0) | 0) >>> 2; + $2 = $2 + 1 | 0; + $3 = $3 + 2 | 0; + $5 = $5 + 2 | 0; + $4 = $4 + 1 | 0; + continue; + } + break; + } + $7 = $7 + 1 | 0; + continue; + } + break; + } + return $6; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); } -function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIdEEE3getEv() { - return 11120; +function fread($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0; + if (HEAP32[$3 + 76 >> 2] >= 0) { + $7 = __lockfile($3); + } + $6 = Math_imul($1, $2); + $4 = HEAP32[$3 + 72 >> 2]; + HEAP32[$3 + 72 >> 2] = $4 | $4 - 1; + $5 = HEAP32[$3 + 8 >> 2]; + $4 = HEAP32[$3 + 4 >> 2]; + if (($5 | 0) == ($4 | 0)) { + $4 = $6; + } else { + $5 = $5 - $4 | 0; + $5 = $5 >>> 0 < $6 >>> 0 ? $5 : $6; + __memcpy($0, $4, $5); + HEAP32[$3 + 4 >> 2] = HEAP32[$3 + 4 >> 2] + $5; + $0 = $0 + $5 | 0; + $4 = $6 - $5 | 0; + } + if ($4) { + while (1) { + label$6: { + if (!__toread($3)) { + $5 = FUNCTION_TABLE[HEAP32[$3 + 32 >> 2]]($3, $0, $4) | 0; + if ($5) { + break label$6; + } + } + if ($7) { + __unlockfile($3); + } + return ($6 - $4 >>> 0) / ($1 >>> 0) | 0; + } + $0 = $0 + $5 | 0; + $4 = $4 - $5 | 0; + if ($4) { + continue; + } + break; + } + } + $0 = $1 ? $2 : 0; + if ($7) { + __unlockfile($3); + } + return $0; } -function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIcEEE3getEv() { - return 11200; +function __cxxabiv1____class_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0; + $3 = __stack_pointer + -64 | 0; + __stack_pointer = $3; + $4 = 1; + label$1: { + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, $1, 0)) { + break label$1; + } + $4 = 0; + if (!$1) { + break label$1; + } + $1 = __dynamic_cast($1, 64816, 64864, 0); + $4 = 0; + if (!$1) { + break label$1; + } + memset($3 + 8 | 4, 0, 52); + HEAP32[$3 + 56 >> 2] = 1; + HEAP32[$3 + 20 >> 2] = -1; + HEAP32[$3 + 16 >> 2] = $0; + HEAP32[$3 + 8 >> 2] = $1; + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 28 >> 2]]($1, $3 + 8 | 0, HEAP32[$2 >> 2], 1); + $4 = HEAP32[$3 + 32 >> 2]; + if (($4 | 0) == 1) { + HEAP32[$2 >> 2] = HEAP32[$3 + 24 >> 2]; + } + $4 = ($4 | 0) == 1; + } + __stack_pointer = $3 - -64 | 0; + return $4 | 0; } -function __ZN10emscripten8internal11LightTypeIDINS_11memory_viewIaEEE3getEv() { - return 11192; +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______vector_28_29($0) { + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____deallocate_28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___2c_20unsigned_20long_29(std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____capacity_28_29_20const($0)); + } + return $0; } -function __ZNSt3__211char_traitsIcE12to_char_typeEi(i1) { - i1 = i1 | 0; - return i1 & 255 | 0; +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________throw_length_error_28_29_20const($0); + abort(); } -function __ZNKSt3__27codecvtIcc11__mbstate_tE13do_max_lengthEv(i1) { - i1 = i1 | 0; - return 1; +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_multi_marker____max_size_std____2__allocator_multi_marker__2c_20void__28std____2__allocator_multi_marker__20const__29(std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZSt18uncaught_exceptionv() { - return (__ZSt19uncaught_exceptionsv() | 0) > 0 | 0; +function std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______max_size_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29(Math_imul($1, 12), 4); } -function __ZNSt3__211char_traitsIcE11to_int_typeEc(i1) { - i1 = i1 | 0; - return i1 & 255 | 0; +function arParamIdeal2ObservLTf($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $2 = Math_fround($2 + Math_fround(.5)); + label$1: { + if (Math_fround(Math_abs($2)) < Math_fround(2147483648)) { + $7 = ~~$2; + break label$1; + } + $7 = -2147483648; + } + $6 = HEAP32[$0 + 20 >> 2]; + $8 = -1; + $2 = Math_fround($1 + Math_fround(.5)); + label$4: { + if (Math_fround(Math_abs($2)) < Math_fround(2147483648)) { + $5 = ~~$2; + break label$4; + } + $5 = -2147483648; + } + $5 = $5 + HEAP32[$0 + 16 >> 2] | 0; + label$3: { + if (($5 | 0) < 0) { + break label$3; + } + $9 = HEAP32[$0 + 8 >> 2]; + if (($9 | 0) <= ($5 | 0)) { + break label$3; + } + $6 = $6 + $7 | 0; + if (($6 | 0) < 0 | HEAP32[$0 + 12 >> 2] <= ($6 | 0)) { + break label$3; + } + $0 = HEAP32[$0 >> 2] + (Math_imul($6, $9) + $5 << 3) | 0; + HEAPF32[$3 >> 2] = HEAPF32[$0 >> 2]; + HEAPF32[$4 >> 2] = HEAPF32[$0 + 4 >> 2]; + $8 = 0; + } + return $8; } -function __ZNKSt3__27codecvtIDsc11__mbstate_tE11do_encodingEv(i1) { - i1 = i1 | 0; - return 0; +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____hash_function_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true____second_28_29($0 + 12 | 0); } -function __ZNKSt3__27codecvtIDic11__mbstate_tE11do_encodingEv(i1) { - i1 = i1 | 0; - return 0; +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20short__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_unsigned_unsigned_20short__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20short__29_20const($0, $1, $2, $3, $4, $5) | 0; } -function __ZNKSt3__210moneypunctIcLb1EE16do_thousands_sepEv(i1) { - i1 = i1 | 0; - return 127; +function __stpcpy($0, $1) { + var $2 = 0; + label$1: { + label$2: { + if (($0 ^ $1) & 3) { + $2 = HEAPU8[$1 | 0]; + break label$2; + } + if ($1 & 3) { + while (1) { + $2 = HEAPU8[$1 | 0]; + HEAP8[$0 | 0] = $2; + if (!$2) { + break label$1; + } + $0 = $0 + 1 | 0; + $1 = $1 + 1 | 0; + if ($1 & 3) { + continue; + } + break; + } + } + $2 = HEAP32[$1 >> 2]; + if (($2 ^ -1) & $2 - 16843009 & -2139062144) { + break label$2; + } + while (1) { + HEAP32[$0 >> 2] = $2; + $2 = HEAP32[$1 + 4 >> 2]; + $0 = $0 + 4 | 0; + $1 = $1 + 4 | 0; + if (!($2 - 16843009 & ($2 ^ -1) & -2139062144)) { + continue; + } + break; + } + } + HEAP8[$0 | 0] = $2; + if (!($2 & 255)) { + break label$1; + } + while (1) { + $2 = HEAPU8[$1 + 1 | 0]; + HEAP8[$0 + 1 | 0] = $2; + $0 = $0 + 1 | 0; + $1 = $1 + 1 | 0; + if ($2) { + continue; + } + break; + } + } + return $0; } -function __ZNKSt3__210moneypunctIcLb1EE16do_decimal_pointEv(i1) { - i1 = i1 | 0; - return 127; +function std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______unique_ptr_true_2c_20void__28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2____compressed_pair_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96________compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1 + 8 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZNKSt3__210moneypunctIcLb0EE16do_thousands_sepEv(i1) { - i1 = i1 | 0; - return 127; +function std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_201_2c_20false_____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20void__28std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______29($0, $1) { + var $2 = 0, $3 = 0; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + $3 = $1; + $1 = $0; + HEAP32[$1 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $2; + return $1; } -function __ZNKSt3__210moneypunctIcLb0EE16do_decimal_pointEv(i1) { - i1 = i1 | 0; - return 127; +function skip_variable($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $1 = HEAP32[$0 + 24 >> 2]; + $2 = HEAP32[$1 + 4 >> 2]; + if (!$2) { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + return 0; + } + $2 = HEAP32[$1 + 4 >> 2]; + } + $3 = HEAP32[$1 >> 2]; + $4 = HEAPU8[$3 | 0]; + $5 = $2 - 1 | 0; + if ($5) { + $2 = $3 + 1 | 0; + } else { + if (!(FUNCTION_TABLE[HEAP32[$1 + 12 >> 2]]($0) | 0)) { + return 0; + } + $5 = HEAP32[$1 + 4 >> 2]; + $2 = HEAP32[$1 >> 2]; + } + $3 = HEAPU8[$2 | 0]; + $6 = HEAP32[$0 >> 2]; + HEAP32[$6 + 20 >> 2] = 93; + HEAP32[$6 + 24 >> 2] = HEAP32[$0 + 440 >> 2]; + $4 = $4 << 8 | $3; + $3 = $4 - 2 | 0; + HEAP32[HEAP32[$0 >> 2] + 28 >> 2] = $3; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 1); + HEAP32[$1 + 4 >> 2] = $5 - 1; + HEAP32[$1 >> 2] = $2 + 1; + if ($4 >>> 0 >= 3) { + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 24 >> 2] + 16 >> 2]]($0, $3); + } + return 1; } -function __ZNK6vision5Image8channelsEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 16 >> 2] | 0; -} +function cos($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_scratch_store_f64(+$0); + $3 = wasm2js_scratch_load_i32(1) | 0; + wasm2js_scratch_load_i32(0) | 0; + $3 = $3 & 2147483647; + label$1: { + if ($3 >>> 0 <= 1072243195) { + $2 = 1; + if ($3 >>> 0 < 1044816030) { + break label$1; + } + $2 = __cos($0, 0); + break label$1; + } + $2 = $0 - $0; + if ($3 >>> 0 >= 2146435072) { + break label$1; + } + label$3: { + switch (__rem_pio2($0, $1) & 3) { + case 0: + $2 = __cos(HEAPF64[$1 >> 3], HEAPF64[$1 + 8 >> 3]); + break label$1; -function __ZN6vision5Image3getIfEEPT_v(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 24 >> 2] | 0; -} + case 1: + $2 = -__sin(HEAPF64[$1 >> 3], HEAPF64[$1 + 8 >> 3], 1); + break label$1; -function _arVecFree(i1) { - i1 = i1 | 0; - _free(HEAP32[i1 >> 2] | 0); - _free(i1); - return 0; -} + case 2: + $2 = -__cos(HEAPF64[$1 >> 3], HEAPF64[$1 + 8 >> 3]); + break label$1; -function ___getTypeName(i1) { - i1 = i1 | 0; - return ___strdup(HEAP32[i1 + 4 >> 2] | 0) | 0; + default: + break label$3; + } + } + $2 = __sin(HEAPF64[$1 >> 3], HEAPF64[$1 + 8 >> 3], 1); + } + __stack_pointer = $1 + 16 | 0; + return $2; } -function __ZSt19uncaught_exceptionsv() { - return (___cxa_uncaught_exception() | 0) & 1 | 0; +function void_20emscripten__function_int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28char_20const__2c_20int_20_28__29_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___29_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + _embind_register_function($0 | 0, emscripten__internal__WithPolicies____ArgTypeList_int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____getCount_28_29_20const($2 + 8 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____getTypes_28_29_20const($2 + 8 | 0) | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, 91, $1 | 0); + __stack_pointer = $2 + 16 | 0; } -function __ZNSt3__211char_traitsIwE6lengthEPKw(i1) { - i1 = i1 | 0; - return _wcslen(i1) | 0; -} - -function __ZNSt3__211char_traitsIcE6lengthEPKc(i1) { - i1 = i1 | 0; - return _strlen(i1) | 0; -} - -function __ZNKSt3__27codecvtIcc11__mbstate_tE11do_encodingEv(i1) { - i1 = i1 | 0; - return 1; -} - -function __ZNK6vision4NodeILi96EE12reverseIndexEv(i1) { - i1 = i1 | 0; - return i1 + 116 | 0; +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______throw_length_error_28_29_20const($0); + abort(); } -function __ZNK6vision18BinaryFeatureStore6pointsEv(i1) { - i1 = i1 | 0; - return i1 + 16 | 0; +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_unsigned_unsigned_20long__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long__29_20const($0, $1, $2, $3, $4, $5) | 0; } -function __ZN6vision18BinaryFeatureStore8featuresEv(i1) { - i1 = i1 | 0; - return i1 + 4 | 0; +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20double__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_floating_point_long_20double__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20double__29_20const($0, $1, $2, $3, $4, $5) | 0; } -function _my_error_exit(i1) { - i1 = i1 | 0; - _longjmp((HEAP32[i1 >> 2] | 0) + 132 | 0, 1); +function std____2__enable_if_is_same_std____2__remove_const__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference____type_2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference____value_20___20is_trivially_copy_assignable__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference____value_2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference_____type_20std____2____copy__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___28_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___2c_20_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___29($0, $1, $2) { + if (($0 | 0) != ($1 | 0)) { + memmove($2, $0, $1 - $0 | 0); + } } -function _ar3DCreateHandle(i1) { - i1 = i1 | 0; - return _ar3DCreateHandle2(i1 + 8 | 0) | 0; +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________compressed_pair_true_2c_20void__28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29(std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0)); } -function __ZNKSt3__28messagesIwE8do_closeEl(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return; +function kpmChangePageNoOfRefDataSet($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + label$1: { + if ($0) { + $4 = HEAP32[$0 + 4 >> 2]; + $6 = ($4 | 0) > 0 ? $4 : 0; + while (1) if (($3 | 0) == ($6 | 0)) { + $3 = HEAP32[$0 + 12 >> 2]; + $6 = ($3 | 0) > 0 ? $3 : 0; + $3 = 0; + while (1) { + if (($3 | 0) == ($6 | 0)) { + break label$1; + } + $5 = HEAP32[$0 + 8 >> 2] + Math_imul($3, 12) | 0; + $4 = HEAP32[$5 + 8 >> 2]; + if (!(($1 | 0) == -1 & ($4 | 0) >= 0 ? 0 : ($4 | 0) != ($1 | 0))) { + HEAP32[$5 + 8 >> 2] = $2; + } + $3 = $3 + 1 | 0; + continue; + } + } else { + $5 = HEAP32[$0 >> 2] + Math_imul($3, 132) | 0; + $4 = HEAP32[$5 + 124 >> 2]; + if (!(($1 | 0) == -1 & ($4 | 0) >= 0 ? 0 : ($4 | 0) != ($1 | 0))) { + HEAP32[$5 + 124 >> 2] = $2; + } + $3 = $3 + 1 | 0; + continue; + } + } + arLog(0, 3, 15163, 0); + $7 = -1; + } + return $7; } -function __ZNKSt3__28messagesIcE8do_closeEl(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__InitListExpr_2c_20std__nullptr_t_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28std__nullptr_t___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__InitListExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__InitListExpr_2c_20std__nullptr_t_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28std__nullptr_t___2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0 + 408 | 0, $1); } -function __ZNKSt3__218__libcpp_refstring15__uses_refcountEv(i1) { - i1 = i1 | 0; - return 1; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__CtorDtorName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool_2c_20int___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool___2c_20int__29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__CtorDtorName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CtorDtorName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool_2c_20int___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool___2c_20int__29($0 + 408 | 0, $1, $2, $3); } -function __ZN6vision4NodeILi96EE12reverseIndexEv(i1) { - i1 = i1 | 0; - return i1 + 116 | 0; +function vision__BinaryHierarchicalClustering_96___BinaryHierarchicalClustering_28_29($0) { + var $1 = 0; + HEAP32[$0 >> 2] = 1234; + HEAP32[$0 + 4 >> 2] = 0; + std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96_____unique_ptr_true_2c_20void__28_29($0 + 8 | 0); + $1 = vision__BinarykMedoids_96___BinarykMedoids_28int__29($0 + 12 | 0, $0); + std____2__vector_int_2c_20std____2__allocator_int____vector_28_29($0 + 72 | 0); + std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____priority_queue_28_29($0 + 84 | 0); + HEAP32[$0 + 108 >> 2] = 16; + HEAP32[$0 + 100 >> 2] = 0; + HEAP32[$0 + 104 >> 2] = 0; + vision__BinarykMedoids_96___setk_28int_29($1, 8); + vision__BinarykMedoids_96___setNumHypotheses_28int_29($1, 1); + return $0; } -function __ZN6vision18BinaryFeatureStore6pointsEv(i1) { - i1 = i1 | 0; - return i1 + 16 | 0; +function std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____pop_28_29($0) { + void_20std____2__pop_heap_std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96____28std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96___29(std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____begin_28_29($0), std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____end_28_29($0)); + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____pop_back_28_29($0); } -function __ZNK6vision5Image6heightEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 8 >> 2] | 0; +function std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________destruct_at_end_28vision__PriorityQueueItem_96___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 8 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____destroy_vision__PriorityQueueItem_96__2c_20void__28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___29($3, vision__PriorityQueueItem_96___20std____2____to_address_vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___29($2)); + continue; + } + break; + } } -function b19(i1, i2, i3) { - i1 = i1 | 0; - i2 = i2 | 0; - i3 = i3 | 0; - nullFunc_viii(19); +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__DeleteExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__2c_20bool__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__2c_20bool___29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__DeleteExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__DeleteExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__2c_20bool__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__2c_20bool___29($0 + 408 | 0, $1, $2, $3); } -function __ZNKSt3__210moneypunctIwLb1EE14do_frac_digitsEv(i1) { - i1 = i1 | 0; - return 0; +function std____2__pair_std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool_2c_20_28void__290__28std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool____29($0, $1) { + $0 = std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____29($0, HEAP32[$1 >> 2]); + HEAP8[$0 + 4 | 0] = HEAPU8[$1 + 4 | 0]; + return $0; } -function __ZNKSt3__210moneypunctIwLb0EE14do_frac_digitsEv(i1) { - i1 = i1 | 0; - return 0; +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20int__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_unsigned_unsigned_20int__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20int__29_20const($0, $1, $2, $3, $4, $5) | 0; } -function __ZNKSt3__210moneypunctIcLb1EE14do_frac_digitsEv(i1) { - i1 = i1 | 0; - return 0; +function std____2__pair_std____2____unwrap_ref_decay__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const____type_2c_20std____2____unwrap_ref_decay__28anonymous_20namespace_29__itanium_demangle__Node_20const__20const____type__20std____2__make_pair__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__20const___28_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__20const__29($0, $1, $2) { + std____2__pair__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const____pair_true_2c_20_28void__290__28_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__20const__29($0, $1, $2); } -function __ZNKSt3__210moneypunctIcLb0EE14do_frac_digitsEv(i1) { - i1 = i1 | 0; - return 0; +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true____first_28_29($0 + 12 | 0); } -function __ZNK6vision5Image5widthEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 4 >> 2] | 0; +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____max_load_factor_28_29($0) { + return std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true____first_28_29($0 + 16 | 0); } -function __ZNK6vision5Image4stepEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 12 >> 2] | 0; +function $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_long_20double___20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_long_20double__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_long_20double___FloatLiteralImpl_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; } -function __ZN6vision5roundIfEET_S1_(d1) { - d1 = +d1; - return +(+Math_floor(+(d1 + .5))); +function std____2__vector_float_2c_20std____2__allocator_float____vector_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$2 + 12 >> 2] = 0; + std____2____compressed_pair_float__2c_20std____2__allocator_float______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $2 + 12 | 0, $2 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_float_2c_20std____2__allocator_float____28std____2__vector_float_2c_20std____2__allocator_float____29($0); + if ($1) { + std____2__vector_float_2c_20std____2__allocator_float______vallocate_28unsigned_20long_29($0, $1); + std____2__vector_float_2c_20std____2__allocator_float______construct_at_end_28unsigned_20long_29($0, $1); + } + __stack_pointer = $2 + 16 | 0; + return $0; } -function __ZN10emscripten8internal19getGenericSignatureIJiiiiiEEEPKcv() { - return 44389; +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator__28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__29($0, $1) { + if (($0 | 0) != ($1 | 0)) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______copy_assign_alloc_28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__29($0, $1); + std____2__enable_if___is_cpp17_forward_iterator_vision__FeaturePoint____value_20___20is_constructible_vision__FeaturePoint_2c_20std____2__iterator_traits_vision__FeaturePoint____reference___value_2c_20void___type_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____assign_vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__29($0, HEAP32[$1 >> 2], HEAP32[$1 + 4 >> 2]); + } + return $0; } -function _strtold(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return +(+_strtox(i1, i2, 2)); +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______throw_length_error_28_29_20const($0); + abort(); } -function _jpeg_get_small(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return _malloc(i2) | 0; +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______throw_length_error_28_29_20const($0); + abort(); } -function _jpeg_get_large(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return _malloc(i2) | 0; +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______operator___28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______first_28_29_20const($0) >> 2]; +} + +function jinit_d_post_controller($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 28) | 0; + HEAP32[$0 + 456 >> 2] = $2; + HEAP32[$2 + 8 >> 2] = 0; + HEAP32[$2 + 12 >> 2] = 0; + HEAP32[$2 >> 2] = 190; + if (HEAP32[$0 + 84 >> 2]) { + $3 = HEAP32[$0 + 320 >> 2]; + HEAP32[$2 + 16 >> 2] = $3; + $4 = HEAP32[$0 + 4 >> 2]; + if ($1) { + $1 = HEAP32[$4 + 16 >> 2]; + wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[$1 | 0]($0, 1, 0, Math_imul(HEAP32[$0 + 120 >> 2], HEAP32[$0 + 112 >> 2]), jround_up(HEAP32[$0 + 116 >> 2], $3), HEAP32[$2 + 16 >> 2]) | 0, + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + return; + } + wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[$4 + 8 >> 2]]($0, 1, Math_imul(HEAP32[$0 + 120 >> 2], HEAP32[$0 + 112 >> 2]), $3) | 0, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + } } -function __ZNSt3__211char_traitsIwE12to_char_typeEj(i1) { - i1 = i1 | 0; - return i1 | 0; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______hash_function_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____second_28_29($0 + 12 | 0); } -function __ZNK6vision5Image3getEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 24 >> 2] | 0; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_year_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__2c_20int_29($2, $3, $4, $5, 4); + if (!(HEAPU8[$4 | 0] & 4)) { + HEAP32[$1 >> 2] = (($5 | 0) < 69 ? $5 + 2e3 | 0 : ($5 | 0) < 100 ? $5 + 1900 | 0 : $5) - 1900; + } } -function __ZNK16NullArrayDeleterIhEclEPh(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_day_year_num_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__2c_20int_29($2, $3, $4, $5, 3); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | ($5 | 0) > 365)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; } -function __ZN10emscripten8internal19getGenericSignatureIJviiiEEEPKcv() { - return 40735; +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________max_size_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20void__28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 2, 4); } -function __ZN10emscripten8internal19getGenericSignatureIJviifEEEPKcv() { - return 40643; +function void_20std____2__vector_int_2c_20std____2__allocator_int______construct_one_at_end_int_20const___28int_20const__29($0, $1) { + var $2 = 0, $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction___ConstructTransaction_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_29($3, $0, 1); + void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20int_20const__2c_20void__28std____2__allocator_int___2c_20int__2c_20int_20const__29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0), int__20std____2____to_address_int__28int__29(HEAP32[$2 + 4 >> 2]), $1); + HEAP32[$2 + 4 >> 2] = HEAP32[$2 + 4 >> 2] + 4; + std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction____ConstructTransaction_28_29($2); + __stack_pointer = $3 + 16 | 0; } -function __ZN10emscripten8internal19getGenericSignatureIJviidEEEPKcv() { - return 40770; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_12_hour_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__2c_20int_29($2, $3, $4, $5, 2); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | $5 - 1 >>> 0 > 11)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; } -function __ZN10emscripten8internal19getGenericSignatureIJiiiiEEEPKcv() { - return 43903; +function __fwritex($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $3 = HEAP32[$2 + 16 >> 2]; + label$1: { + if (!$3) { + if (__towrite($2)) { + break label$1; + } + $3 = HEAP32[$2 + 16 >> 2]; + } + $5 = HEAP32[$2 + 20 >> 2]; + if ($3 - $5 >>> 0 < $1 >>> 0) { + return FUNCTION_TABLE[HEAP32[$2 + 36 >> 2]]($2, $0, $1) | 0; + } + label$4: { + if (HEAP32[$2 + 80 >> 2] < 0) { + $3 = 0; + break label$4; + } + $4 = $1; + while (1) { + $3 = $4; + if (!$3) { + $3 = 0; + break label$4; + } + $4 = $3 - 1 | 0; + if (HEAPU8[$4 + $0 | 0] != 10) { + continue; + } + break; + } + $4 = FUNCTION_TABLE[HEAP32[$2 + 36 >> 2]]($2, $0, $3) | 0; + if ($4 >>> 0 < $3 >>> 0) { + break label$1; + } + $0 = $0 + $3 | 0; + $1 = $1 - $3 | 0; + $5 = HEAP32[$2 + 20 >> 2]; + } + __memcpy($5, $0, $1); + HEAP32[$2 + 20 >> 2] = HEAP32[$2 + 20 >> 2] + $1; + $4 = $1 + $3 | 0; + } + return $4; } -function __ZN10emscripten8internal14asGenericValueIdEEdT_(d1) { - d1 = +d1; - return +d1; +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___NameState__NameState_28_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + HEAP8[$0 + 8 | 0] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP16[$0 >> 1] = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___size_28_29_20const($1 + 360 | 0), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + return $0; } -function _strtof(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return +(+_strtox(i1, i2, 0)); +function std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____key_eq_28_29($0) { + return std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true____second_28_29($0 + 16 | 0); } -function _strtod(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return +(+_strtox(i1, i2, 1)); +function std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____28std__nullptr_t___2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_vision__DoGScaleInvariantDetector__FeaturePoint__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___29($1 + 4 | 0, $2); + return $1; } -function __ZNSt3__211char_traitsIwE11to_int_typeEw(i1) { - i1 = i1 | 0; - return i1 | 0; -} +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_month_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__2c_20int_29($2, $3, $4, $5, 2); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | ($5 | 0) > 12)) { + HEAP32[$1 >> 2] = $5 - 1; + return; + } + HEAP32[$4 >> 2] = $3 | 4; +} + +function std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________hash_map_const_iterator_28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = $1; + $1 = std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_const_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__29($0, $2 + 8 | 0); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function sin($0) { + var $1 = 0, $2 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_scratch_store_f64(+$0); + $2 = wasm2js_scratch_load_i32(1) | 0; + wasm2js_scratch_load_i32(0) | 0; + $2 = $2 & 2147483647; + label$1: { + if ($2 >>> 0 <= 1072243195) { + if ($2 >>> 0 < 1045430272) { + break label$1; + } + $0 = __sin($0, 0, 0); + break label$1; + } + if ($2 >>> 0 >= 2146435072) { + $0 = $0 - $0; + break label$1; + } + label$4: { + switch (__rem_pio2($0, $1) & 3) { + case 0: + $0 = __sin(HEAPF64[$1 >> 3], HEAPF64[$1 + 8 >> 3], 1); + break label$1; -function __ZNK6vision8KeyframeILi96EE5indexEv(i1) { - i1 = i1 | 0; - return i1 + 36 | 0; -} + case 1: + $0 = __cos(HEAPF64[$1 >> 3], HEAPF64[$1 + 8 >> 3]); + break label$1; -function __ZN6vision5Image3getEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 + 24 >> 2] | 0; -} + case 2: + $0 = -__sin(HEAPF64[$1 >> 3], HEAPF64[$1 + 8 >> 3], 1); + break label$1; -function __ZN10emscripten8internal19getGenericSignatureIJviiEEEPKcv() { - return 40778; + default: + break label$4; + } + } + $0 = -__cos(HEAPF64[$1 >> 3], HEAPF64[$1 + 8 >> 3]); + } + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZN10emscripten8internal19getGenericSignatureIJiiiEEEPKcv() { - return 43739; +function void_20vision__AccumulateScaledVector9_float__28float__2c_20float_20const__2c_20float_29($0, $1, $2) { + HEAPF32[$0 >> 2] = Math_fround(HEAPF32[$1 >> 2] * $2) + HEAPF32[$0 >> 2]; + HEAPF32[$0 + 4 >> 2] = Math_fround(HEAPF32[$1 + 4 >> 2] * $2) + HEAPF32[$0 + 4 >> 2]; + HEAPF32[$0 + 8 >> 2] = Math_fround(HEAPF32[$1 + 8 >> 2] * $2) + HEAPF32[$0 + 8 >> 2]; + HEAPF32[$0 + 12 >> 2] = Math_fround(HEAPF32[$1 + 12 >> 2] * $2) + HEAPF32[$0 + 12 >> 2]; + HEAPF32[$0 + 16 >> 2] = Math_fround(HEAPF32[$1 + 16 >> 2] * $2) + HEAPF32[$0 + 16 >> 2]; + HEAPF32[$0 + 20 >> 2] = Math_fround(HEAPF32[$1 + 20 >> 2] * $2) + HEAPF32[$0 + 20 >> 2]; + HEAPF32[$0 + 24 >> 2] = Math_fround(HEAPF32[$1 + 24 >> 2] * $2) + HEAPF32[$0 + 24 >> 2]; + HEAPF32[$0 + 28 >> 2] = Math_fround(HEAPF32[$1 + 28 >> 2] * $2) + HEAPF32[$0 + 28 >> 2]; + HEAPF32[$0 + 32 >> 2] = Math_fround(HEAPF32[$1 + 32 >> 2] * $2) + HEAPF32[$0 + 32 >> 2]; } -function __ZN10emscripten8internal19getGenericSignatureIJdiiEEEPKcv() { - return 40766; +function std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96________unordered_map_28_29($0) { + return std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96__________hash_table_28_29($0); } -function b18(i1, i2, d3) { - i1 = i1 | 0; - i2 = i2 | 0; - d3 = +d3; - nullFunc_viid(18); +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______get_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______first_28_29_20const($0) >> 2]; } -function _isxdigit_l(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return _isxdigit(i1) | 0; +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20long__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_signed_long_20long__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20long__29_20const($0, $1, $2, $3, $4, $5) | 0; } -function __ZNK6vision8KeyframeILi96EE5storeEv(i1) { - i1 = i1 | 0; - return i1 + 8 | 0; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_day_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__2c_20int_29($2, $3, $4, $5, 2); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | $5 - 1 >>> 0 > 30)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; } -function __ZN6vision4NodeILi96EE8childrenEv(i1) { - i1 = i1 | 0; - return i1 + 104 | 0; +function std____2__enable_if_is_move_constructible_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______value_20___20is_move_assignable_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______value_2c_20void___type_20std____2__swap_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; } -function __ZN10emscripten8internal19getGenericSignatureIJiiEEEPKcv() { - return 40775; +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______max_size_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29(Math_imul($1, 24), 4); } -function ___emscripten_environ_constructor() { - ___buildEnvironment(56864); - return; +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____end_28_29($0) { + var $1 = 0; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + $1 = std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______29($0 + 8 | 0, 0); + __stack_pointer = $0 + 16 | 0; + return HEAP32[$1 >> 2]; } -function __ZN6vision8KeyframeILi96EE5storeEv(i1) { - i1 = i1 | 0; - return i1 + 8 | 0; +function jinit_huff_decoder($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 220) | 0; + HEAP32[$0 + 468 >> 2] = $1; + HEAP32[$1 + 8 >> 2] = 164; + HEAP32[$1 >> 2] = 165; + if (!HEAP32[$0 + 224 >> 2]) { + HEAP32[$1 + 92 >> 2] = 0; + HEAP32[$1 + 96 >> 2] = 0; + HEAP32[$1 + 84 >> 2] = 0; + HEAP32[$1 + 88 >> 2] = 0; + HEAP32[$1 + 76 >> 2] = 0; + HEAP32[$1 + 80 >> 2] = 0; + HEAP32[$1 + 68 >> 2] = 0; + HEAP32[$1 + 72 >> 2] = 0; + return; + } + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, HEAP32[$0 + 36 >> 2] << 8) | 0; + HEAP32[$0 + 160 >> 2] = $2; + if (HEAP32[$0 + 36 >> 2] > 0) { + while (1) { + $2 = memset($2, 255, 256) + 256 | 0; + $3 = $3 + 1 | 0; + if (($3 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; + } + break; + } + } + HEAP32[$1 + 56 >> 2] = 0; + HEAP32[$1 + 60 >> 2] = 0; + HEAP32[$1 + 48 >> 2] = 0; + HEAP32[$1 + 52 >> 2] = 0; } -function _isdigit_l(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return _isdigit(i1) | 0; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_weekday_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__2c_20int_29($2, $3, $4, $5, 1); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | ($5 | 0) > 6)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; } -function __ZNK6vision5Image4typeEv(i1) { - i1 = i1 | 0; - return HEAP32[i1 >> 2] | 0; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_second_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__2c_20int_29($2, $3, $4, $5, 2); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | ($5 | 0) > 60)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; } -function _jpeg_destroy_decompress(i1) { - i1 = i1 | 0; - _jpeg_destroy(i1); - return; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_minute_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__2c_20int_29($2, $3, $4, $5, 2); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | ($5 | 0) > 59)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; +} + +function void_20vision__AddHomographyPointContraint_float__28float__2c_20float_20const__2c_20float_20const__29($0, $1, $2) { + var $3 = Math_fround(0); + HEAPF32[$0 >> 2] = -HEAPF32[$1 >> 2]; + $3 = HEAPF32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = -1082130432; + HEAPF32[$0 + 4 >> 2] = -$3; + void_20vision__ZeroVector3_float__28float__29($0 + 12 | 0); + HEAPF32[$0 + 24 >> 2] = HEAPF32[$2 >> 2] * HEAPF32[$1 >> 2]; + HEAPF32[$0 + 28 >> 2] = HEAPF32[$2 >> 2] * HEAPF32[$1 + 4 >> 2]; + HEAPF32[$0 + 32 >> 2] = HEAPF32[$2 >> 2]; + void_20vision__ZeroVector3_float__28float__29($0 + 36 | 0); + HEAPF32[$0 + 48 >> 2] = -HEAPF32[$1 >> 2]; + $3 = HEAPF32[$1 + 4 >> 2]; + HEAP32[$0 + 56 >> 2] = -1082130432; + HEAPF32[$0 + 52 >> 2] = -$3; + HEAPF32[$0 + 60 >> 2] = HEAPF32[$2 + 4 >> 2] * HEAPF32[$1 >> 2]; + HEAPF32[$0 + 64 >> 2] = HEAPF32[$2 + 4 >> 2] * HEAPF32[$1 + 4 >> 2]; + HEAPF32[$0 + 68 >> 2] = HEAPF32[$2 + 4 >> 2]; +} + +function vsniprintf($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 160 | 0; + __stack_pointer = $4; + __memcpy($4 + 8 | 0, 52064, 144); + label$1: { + label$2: { + if (($1 | 0) <= 0) { + if ($1) { + break label$2; + } + $1 = 1; + $0 = $4 + 159 | 0; + } + HEAP32[$4 + 52 >> 2] = $0; + HEAP32[$4 + 28 >> 2] = $0; + $5 = -2 - $0 | 0; + $1 = $1 >>> 0 < $5 >>> 0 ? $1 : $5; + HEAP32[$4 + 56 >> 2] = $1; + $0 = $0 + $1 | 0; + HEAP32[$4 + 36 >> 2] = $0; + HEAP32[$4 + 24 >> 2] = $0; + $0 = vfiprintf($4 + 8 | 0, $2, $3); + if (!$1) { + break label$1; + } + $1 = HEAP32[$4 + 28 >> 2]; + HEAP8[$1 - (HEAP32[$4 + 24 >> 2] == ($1 | 0)) | 0] = 0; + break label$1; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 61, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + } + __stack_pointer = $4 + 160 | 0; + return $0; +} + +function std____2__vector_int_2c_20std____2__allocator_int______vallocate_28unsigned_20long_29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (std____2__vector_int_2c_20std____2__allocator_int____max_size_28_29_20const($0) >>> 0 < $1 >>> 0) { + std____2__vector_int_2c_20std____2__allocator_int______throw_length_error_28_29_20const($0); + abort(); + } + $2 = std____2__allocator_traits_std____2__allocator_int____allocate_28std____2__allocator_int___2c_20unsigned_20long_29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0), $1); + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = $2; + wasm2js_i32$0 = std____2__vector_int_2c_20std____2__allocator_int______end_cap_28_29($0), + wasm2js_i32$1 = ($1 << 2) + $2 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__vector_int_2c_20std____2__allocator_int______annotate_new_28unsigned_20long_29_20const($0, 0); +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_hour_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__2c_20int_29($2, $3, $4, $5, 2); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | ($5 | 0) > 23)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; } -function _copysignl(d1, d2) { - d1 = +d1; - d2 = +d2; - return +(+_copysign(d1, d2)); +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____first_28_29($0 + 12 | 0); } -function ___cxx_global_var_init_640() { - __ZNSt3__28ios_base4InitC2Ev(0); - return; +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______max_load_factor_28_29($0) { + return std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____first_28_29($0 + 16 | 0); } -function __ZN10emscripten8internal11LightTypeIDINS_3valEE3getEv() { - return 11208; +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____resize_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($0); + if ($2 >>> 0 < $1 >>> 0) { + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______append_28unsigned_20long_29($0, $1 - $2 | 0); + return; + } + if ($1 >>> 0 < $2 >>> 0) { + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______destruct_at_end_28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, HEAP32[$0 >> 2] + Math_imul($1, 36) | 0); + } } -function _scalbnl(d1, i2) { - d1 = +d1; - i2 = i2 | 0; - return +(+_scalbn(d1, i2)); +function jcopy_sample_rows($0, $1, $2, $3, $4, $5) { + var $6 = 0; + label$1: { + if (($4 | 0) <= 0) { + break label$1; + } + $6 = $4 - 1 | 0; + $1 = ($1 << 2) + $0 | 0; + $3 = ($3 << 2) + $2 | 0; + $0 = $4 & 3; + if ($0) { + $2 = 0; + while (1) { + __memcpy(HEAP32[$3 >> 2], HEAP32[$1 >> 2], $5); + $4 = $4 - 1 | 0; + $3 = $3 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 + 1 | 0; + if (($2 | 0) != ($0 | 0)) { + continue; + } + break; + } + } + if ($6 >>> 0 < 3) { + break label$1; + } + while (1) { + __memcpy(HEAP32[$3 >> 2], HEAP32[$1 >> 2], $5); + __memcpy(HEAP32[$3 + 4 >> 2], HEAP32[$1 + 4 >> 2], $5); + __memcpy(HEAP32[$3 + 8 >> 2], HEAP32[$1 + 8 >> 2], $5); + __memcpy(HEAP32[$3 + 12 >> 2], HEAP32[$1 + 12 >> 2], $5); + $3 = $3 + 16 | 0; + $1 = $1 + 16 | 0; + $2 = $4 - 5 | 0; + $4 = $4 - 4 | 0; + if ($2 >>> 0 < 4294967294) { + continue; + } + break; + } + } } -function __ZNK10__cxxabiv116__shim_type_info5noop2Ev(i1) { - i1 = i1 | 0; - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution_2c_20_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind___28_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution_2c_20_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind___28_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind__29($0 + 408 | 0, $1); } -function __ZNK10__cxxabiv116__shim_type_info5noop1Ev(i1) { - i1 = i1 | 0; - return; +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______vdeallocate_28_29($0) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (HEAP32[$0 >> 2]) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____clear_28_29($0); + std____2__allocator_traits_std____2__allocator_unsigned_20char____deallocate_28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20long_29(std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____capacity_28_29_20const($0)); + wasm2js_i32$0 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______end_cap_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + } } -function b1(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - nullFunc_dii(1); - return 0.0; +function std____2__vector_float_2c_20std____2__allocator_float______annotate_delete_28_29_20const($0) { + std____2__vector_float_2c_20std____2__allocator_float______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0), std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0) + (std____2__vector_float_2c_20std____2__allocator_float____capacity_28_29_20const($0) << 2) | 0, std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0) + (std____2__vector_float_2c_20std____2__allocator_float____size_28_29_20const($0) << 2) | 0, std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0) + (std____2__vector_float_2c_20std____2__allocator_float____capacity_28_29_20const($0) << 2) | 0); } -function _ar2UtilRemoveExt(i1) { - i1 = i1 | 0; - return _arUtilRemoveExt(i1) | 0; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________first_28_29_20const($0) >> 2] + ($1 << 2) | 0; } -function _ldexp(d1, i2) { - d1 = +d1; - i2 = i2 | 0; - return +(+_scalbn(d1, i2)); +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20double__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_floating_point_double__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20double__29_20const($0, $1, $2, $3, $4, $5) | 0; } -function _createKpmHandle(i1) { - i1 = i1 | 0; - return _kpmCreateHandle(i1) | 0; +function std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_out_28__mbstate_t__2c_20char16_t_20const__2c_20char16_t_20const__2c_20char16_t_20const___2c_20char8_t__2c_20char8_t__2c_20char8_t___29_20const($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; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $5; + $2 = std____2__utf16_to_utf8_28unsigned_20short_20const__2c_20unsigned_20short_20const__2c_20unsigned_20short_20const___2c_20unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char___2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($2, $3, $0 + 12 | 0, $5, $6, $0 + 8 | 0, 1114111, 0); + HEAP32[$4 >> 2] = HEAP32[$0 + 12 >> 2]; + HEAP32[$7 >> 2] = HEAP32[$0 + 8 >> 2]; + __stack_pointer = $0 + 16 | 0; + return $2 | 0; } -function __ZN6vision17PriorityQueueItemILi96EED2Ev(i1) { - i1 = i1 | 0; - return; +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); } -function dynCall_i(i1) { - i1 = i1 | 0; - return FUNCTION_TABLE_i[i1 & 1]() | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__VectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20std__nullptr_t__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20std__nullptr_t___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__VectorType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__VectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20std__nullptr_t__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20std__nullptr_t___29($0 + 408 | 0, $1); } -function b5(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - nullFunc_iii(5); - return 0; +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______throw_length_error_28_29_20const($0); + abort(); } -function __ZNK6vision10DoGPyramid6imagesEv(i1) { - i1 = i1 | 0; - return i1 | 0; -} +function std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_in_28__mbstate_t__2c_20char8_t_20const__2c_20char8_t_20const__2c_20char8_t_20const___2c_20char16_t__2c_20char16_t__2c_20char16_t___29_20const($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; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $5; + $2 = std____2__utf8_to_utf16_28unsigned_20char_20const__2c_20unsigned_20char_20const__2c_20unsigned_20char_20const___2c_20unsigned_20short__2c_20unsigned_20short__2c_20unsigned_20short___2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($2, $3, $0 + 12 | 0, $5, $6, $0 + 8 | 0, 1114111, 0); + HEAP32[$4 >> 2] = HEAP32[$0 + 12 >> 2]; + HEAP32[$7 >> 2] = HEAP32[$0 + 8 >> 2]; + __stack_pointer = $0 + 16 | 0; + return $2 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_long_20double__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_long_20double___20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_long_20double__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0 + 408 | 0, $1); +} + +function sysconf($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + label$1: { + if ($0 >>> 0 <= 248) { + $0 = HEAP16[($0 << 1) + 51072 >> 1]; + if ($0) { + break label$1; + } + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 28, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return -1; + } + label$3: { + label$4: { + if (($0 | 0) > -2) { + break label$4; + } + $1 = 200809; + label$5: { + switch (($0 & 255) - 1 | 0) { + case 1: + return 131072; -function __ZNSt3__221__throw_runtime_errorEPKc(i1) { - i1 = i1 | 0; - _abort(); -} + case 2: + return 32768; -function __ZN10emscripten8internal11LightTypeIDIRKiE3getEv() { - return 13408; -} + case 3: + return 65536; -function __ZN10emscripten8internal11LightTypeIDIRKdE3getEv() { - return 13448; -} + case 4: + case 10: + return 2147483647; -function __GLOBAL__sub_I_bind_cpp() { - ___cxx_global_var_init_374(); - return; -} + case 5: + case 6: + return emscripten_num_logical_cores(); -function _isupper(i1) { - i1 = i1 | 0; - return (i1 + -65 | 0) >>> 0 < 26 | 0; -} + case 7: + case 8: + return emscripten_get_heap_max() >>> 16 | 0; -function _isdigit(i1) { - i1 = i1 | 0; - return (i1 + -48 | 0) >>> 0 < 10 | 0; -} + case 0: + break label$3; -function __ZN10__cxxabiv116__shim_type_infoD2Ev(i1) { - i1 = i1 | 0; - return; -} + case 9: + break label$5; -function __ZN10emscripten8internal11LightTypeIDIvE3getEv() { - return 13352; + default: + break label$4; + } + } + return 0; + } + $1 = $0; + } + return $1; +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____clear_28_29($0) { + var $1 = 0; + $1 = std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($0); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______clear_28_29($0); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______annotate_shrink_28unsigned_20long_29_20const($0, $1); + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______invalidate_all_iterators_28_29($0); +} + +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20float__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_floating_point_float__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20float__29_20const($0, $1, $2, $3, $4, $5) | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_double___20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_double__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_double___FloatLiteralImpl_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______key_eq_28_29($0) { + return std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____second_28_29($0 + 16 | 0); +} + +function vision__BinomialPyramid32f__apply_filter_twice_28vision__Image__2c_20vision__Image_20const__29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 32 | 0; + __stack_pointer = $3; + $4 = vision__Image__Image_28unsigned_20char__2c_20vision__ImageType_2c_20unsigned_20long_2c_20unsigned_20long_2c_20int_2c_20unsigned_20long_29($3, std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($0 + 56 | 0, 0), vision__Image__type_28_29_20const($2), vision__Image__width_28_29_20const($2), vision__Image__height_28_29_20const($2), vision__Image__step_28_29_20const($2), 1); + vision__BinomialPyramid32f__apply_filter_28vision__Image__2c_20vision__Image_20const__29($0, $4, $2); + vision__BinomialPyramid32f__apply_filter_28vision__Image__2c_20vision__Image_20const__29($0, $1, $4); + vision__Image___Image_28_29($4); + __stack_pointer = $3 + 32 | 0; +} + +function std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int______unordered_map_28_29($0) { + return std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int________hash_table_28_29($0); +} + +function std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_______get_deleter_28std__type_info_20const__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0; + if (HEAP32[$1 + 4 >> 2] == 26844) { + $2 = std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_____second_28_29_20const(std____2____compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96_____first_28_29_20const($0 + 12 | 0)); + } + return $2 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_float___20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_float__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_float___FloatLiteralImpl_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__vector_int_2c_20std____2__allocator_int____vector_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$2 + 12 >> 2] = 0; + std____2____compressed_pair_int__2c_20std____2__allocator_int______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $2 + 12 | 0, $2 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29($0); + if ($1) { + std____2__vector_int_2c_20std____2__allocator_int______vallocate_28unsigned_20long_29($0, $1); + std____2__vector_int_2c_20std____2__allocator_int______construct_at_end_28unsigned_20long_29($0, $1); + } + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________reset_28std__nullptr_t_29($0, 0); + return $0; +} + +function std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_out_28__mbstate_t__2c_20char32_t_20const__2c_20char32_t_20const__2c_20char32_t_20const___2c_20char8_t__2c_20char8_t__2c_20char8_t___29_20const($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; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $5; + $2 = std____2__ucs4_to_utf8_28unsigned_20int_20const__2c_20unsigned_20int_20const__2c_20unsigned_20int_20const___2c_20unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char___2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($2, $3, $0 + 12 | 0, $5, $6, $0 + 8 | 0, 1114111, 0); + HEAP32[$4 >> 2] = HEAP32[$0 + 12 >> 2]; + HEAP32[$7 >> 2] = HEAP32[$0 + 8 >> 2]; + __stack_pointer = $0 + 16 | 0; + return $2 | 0; +} + +function std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_in_28__mbstate_t__2c_20char8_t_20const__2c_20char8_t_20const__2c_20char8_t_20const___2c_20char32_t__2c_20char32_t__2c_20char32_t___29_20const($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; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $5; + $2 = std____2__utf8_to_ucs4_28unsigned_20char_20const__2c_20unsigned_20char_20const__2c_20unsigned_20char_20const___2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int___2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($2, $3, $0 + 12 | 0, $5, $6, $0 + 8 | 0, 1114111, 0); + HEAP32[$4 >> 2] = HEAP32[$0 + 12 >> 2]; + HEAP32[$7 >> 2] = HEAP32[$0 + 8 >> 2]; + __stack_pointer = $0 + 16 | 0; + return $2 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__FoldExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const___lambda__28_29__operator_28_29_28_29_20const($0) { + var $1 = 0, $2 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $2 = HEAP32[$0 + 4 >> 2]; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29(HEAP32[$0 >> 2], 40); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion__ParameterPackExpansion_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($1, HEAP32[$2 + 8 >> 2]), HEAP32[$0 >> 2]); + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29(HEAP32[$0 >> 2], 41); + __stack_pointer = $1 + 16 | 0; +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______throw_length_error_28_29_20const($0); + abort(); } -function __ZN10emscripten8internal11LightTypeIDItE3getEv() { - return 13400; -} +function $28anonymous_20namespace_29__itanium_demangle__StructuredBindingName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__StructuredBindingName_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__StructuredBindingName__StructuredBindingName_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______get_deleter_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______second_28_29($0); +} + +function std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_out_28__mbstate_t__2c_20char16_t_20const__2c_20char16_t_20const__2c_20char16_t_20const___2c_20char__2c_20char__2c_20char___29_20const($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; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $5; + $2 = std____2__utf16_to_utf8_28unsigned_20short_20const__2c_20unsigned_20short_20const__2c_20unsigned_20short_20const___2c_20unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char___2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($2, $3, $0 + 12 | 0, $5, $6, $0 + 8 | 0, 1114111, 0); + HEAP32[$4 >> 2] = HEAP32[$0 + 12 >> 2]; + HEAP32[$7 >> 2] = HEAP32[$0 + 8 >> 2]; + __stack_pointer = $0 + 16 | 0; + return $2 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ElaboratedTypeSpefType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = HEAP32[$0 + 12 >> 2]; + $4 = HEAP32[$0 + 8 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 32); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 16 >> 2], $1); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________get_deleter_28_29_20const($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________second_28_29_20const($0); +} + +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______do_get_signed_long__28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long__29_20const($0, $1, $2, $3, $4, $5) | 0; +} + +function std____2__enable_if_is_move_constructible__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul______value_20___20is_move_assignable__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul______value_2c_20void___type_20std____2__swap__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____28_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____2c_20_28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul_____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_in_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char16_t__2c_20char16_t__2c_20char16_t___29_20const($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; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $5; + $2 = std____2__utf8_to_utf16_28unsigned_20char_20const__2c_20unsigned_20char_20const__2c_20unsigned_20char_20const___2c_20unsigned_20short__2c_20unsigned_20short__2c_20unsigned_20short___2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($2, $3, $0 + 12 | 0, $5, $6, $0 + 8 | 0, 1114111, 0); + HEAP32[$4 >> 2] = HEAP32[$0 + 12 >> 2]; + HEAP32[$7 >> 2] = HEAP32[$0 + 8 >> 2]; + __stack_pointer = $0 + 16 | 0; + return $2 | 0; +} + +function arController__arController_28_29($0) { + HEAP32[$0 + 240 >> 2] = 0; + HEAP32[$0 + 192 >> 2] = 0; + HEAP32[$0 + 196 >> 2] = 0; + HEAP32[$0 + 204 >> 2] = 0; + HEAP32[$0 + 208 >> 2] = 0; + HEAP32[$0 + 244 >> 2] = -2; + HEAP32[$0 + 248 >> 2] = 0; + HEAP32[$0 + 212 >> 2] = 0; + HEAP32[$0 + 216 >> 2] = 0; + HEAP32[$0 + 220 >> 2] = 0; + HEAP32[$0 + 224 >> 2] = 0; + std____2__unordered_map_int_2c_20AR2SurfaceSetT__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20AR2SurfaceSetT______unordered_map_28_29($0 + 252 | 0); + HEAP32[$0 + 320 >> 2] = 0; + HEAP32[$0 + 324 >> 2] = 1083129856; + HEAP32[$0 + 312 >> 2] = -350469331; + HEAP32[$0 + 316 >> 2] = 1058682594; + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____vector_28_29($0 + 328 | 0); + HEAP32[$0 + 472 >> 2] = 2; + HEAP32[$0 + 340 >> 2] = 0; + return $0; +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____copy_constexpr_char__2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____28char__2c_20char__2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 8 >> 2] = $2; + while (1) { + if (($0 | 0) != ($1 | 0)) { + $2 = HEAP8[$0 | 0]; + std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28char_29(std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29($3 + 8 | 0), $2); + $0 = $0 + 1 | 0; + std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($3 + 8 | 0); + continue; + } + break; + } + __stack_pointer = $3 + 16 | 0; + $0 = HEAP32[$3 + 8 >> 2]; + return $0; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________compressed_pair_true_2c_20void__28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29(std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0)); +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_float_2c_200_2c_20false_____compressed_pair_elem_float_2c_20void__28float___29($0, $1)); +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack__TemplateArgumentPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__DynamicExceptionSpec__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__DynamicExceptionSpec_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__DynamicExceptionSpec__DynamicExceptionSpec_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_length_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20unsigned_20long_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0; + while (1) { + label$2: { + if (($2 | 0) == ($3 | 0) | $4 >>> 0 <= $6 >>> 0) { + break label$2; + } + $5 = 1; + label$3: { + label$4: { + $7 = std____2____libcpp_mbrlen_l_28char_20const__2c_20unsigned_20long_2c_20__mbstate_t__2c_20__locale_struct__29($2, $3 - $2 | 0, $1, HEAP32[$0 + 8 >> 2]); + switch ($7 + 2 | 0) { + case 0: + case 1: + break label$2; -function __ZN10emscripten8internal11LightTypeIDIsE3getEv() { - return 13392; -} + case 2: + break label$3; -function __ZN10emscripten8internal11LightTypeIDImE3getEv() { - return 13432; + default: + break label$4; + } + } + $5 = $7; + } + $6 = $6 + 1 | 0; + $8 = $5 + $8 | 0; + $2 = $2 + $5 | 0; + continue; + } + break; + } + return $8 | 0; +} + +function std____2__vector_float_2c_20std____2__allocator_float____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_float____max_size_std____2__allocator_float__2c_20void__28std____2__allocator_float__20const__29(std____2__vector_float_2c_20std____2__allocator_float______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_out_28__mbstate_t__2c_20char32_t_20const__2c_20char32_t_20const__2c_20char32_t_20const___2c_20char__2c_20char__2c_20char___29_20const($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; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $5; + $2 = std____2__ucs4_to_utf8_28unsigned_20int_20const__2c_20unsigned_20int_20const__2c_20unsigned_20int_20const___2c_20unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char___2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($2, $3, $0 + 12 | 0, $5, $6, $0 + 8 | 0, 1114111, 0); + HEAP32[$4 >> 2] = HEAP32[$0 + 12 >> 2]; + HEAP32[$7 >> 2] = HEAP32[$0 + 8 >> 2]; + __stack_pointer = $0 + 16 | 0; + return $2 | 0; +} + +function std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_in_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char32_t__2c_20char32_t__2c_20char32_t___29_20const($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; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $5; + $2 = std____2__utf8_to_ucs4_28unsigned_20char_20const__2c_20unsigned_20char_20const__2c_20unsigned_20char_20const___2c_20unsigned_20int__2c_20unsigned_20int__2c_20unsigned_20int___2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($2, $3, $0 + 12 | 0, $5, $6, $0 + 8 | 0, 1114111, 0); + HEAP32[$4 >> 2] = HEAP32[$0 + 12 >> 2]; + HEAP32[$7 >> 2] = HEAP32[$0 + 8 >> 2]; + __stack_pointer = $0 + 16 | 0; + return $2 | 0; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const______vector_28_29($0) { + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____deallocate_28std____2__allocator_vision__Node_96__20const____2c_20vision__Node_96__20const___2c_20unsigned_20long_29(std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____capacity_28_29_20const($0)); + } + return $0; +} + +function arImageProcLumaHistAndCDFAndPercentile($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0; + $4 = -1; + label$1: { + if ($2 < Math_fround(0) | $2 > Math_fround(1)) { + break label$1; + } + $4 = arImageProcLumaHistAndCDF($0, $1); + if (($4 | 0) < 0) { + break label$1; + } + $2 = Math_fround(Math_fround(Math_imul(HEAP32[$0 + 8 >> 2], HEAP32[$0 + 4 >> 2]) | 0) * $2); + label$2: { + if ($2 < Math_fround(4294967296) & $2 >= Math_fround(0)) { + $1 = ~~$2 >>> 0; + break label$2; + } + $1 = 0; + } + while (1) { + $4 = $5; + $5 = $4 + 1 | 0; + $6 = $4 & 255; + if (HEAPU32[(($6 << 2) + $0 | 0) + 1036 >> 2] < $1 >>> 0) { + continue; + } + break; + } + while (1) { + $5 = $4 & 255; + $4 = $4 + 1 | 0; + if (HEAP32[(($5 << 2) + $0 | 0) + 1036 >> 2] == ($1 | 0)) { + continue; + } + break; + } + HEAP8[$3 | 0] = $5 + $6 >>> 1; + $4 = 0; + } + return $4; } -function __ZN10emscripten8internal11LightTypeIDIlE3getEv() { - return 13424; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution_2c_20_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind___28_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution_2c_20_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind___28_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind__29($0 + 408 | 0, $1); } -function __ZN10emscripten8internal11LightTypeIDIjE3getEv() { - return 13416; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_double__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_double___20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_double__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0 + 408 | 0, $1); } -function __ZN10emscripten8internal11LightTypeIDIiE3getEv() { - return 13408; +function std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____end_28_29($0) { + var $1 = 0; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + $1 = std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______29($0 + 8 | 0, 0); + __stack_pointer = $0 + 16 | 0; + return HEAP32[$1 >> 2]; } -function __ZN10emscripten8internal11LightTypeIDIhE3getEv() { - return 13376; +function void_20vision__SmoothOrientationHistogram_float__28float__2c_20float_20const__2c_20unsigned_20long_2c_20float_20const__29($0, $1, $2, $3) { + var $4 = Math_fround(0), $5 = 0, $6 = 0, $7 = 0, $8 = Math_fround(0), $9 = Math_fround(0); + $5 = $2 - 1 | 0; + $6 = ($5 << 2) + $1 | 0; + $4 = HEAPF32[$6 >> 2]; + $8 = HEAPF32[$1 >> 2]; + $2 = 0; + while (1) { + if (($2 | 0) == ($5 | 0)) { + HEAPF32[($5 << 2) + $0 >> 2] = Math_fround(HEAPF32[$3 + 8 >> 2] * $8) + Math_fround(Math_fround(HEAPF32[$3 >> 2] * $4) + Math_fround(HEAPF32[$3 + 4 >> 2] * HEAPF32[$6 >> 2])); + } else { + $7 = $2 << 2; + $2 = $2 + 1 | 0; + $9 = Math_fround(HEAPF32[$3 >> 2] * $4); + $4 = HEAPF32[$1 + $7 >> 2]; + HEAPF32[$7 + $0 >> 2] = Math_fround(HEAPF32[$3 + 8 >> 2] * HEAPF32[($2 << 2) + $1 >> 2]) + Math_fround($9 + Math_fround($4 * HEAPF32[$3 + 4 >> 2])); + continue; + } + break; + } } -function __ZN10emscripten8internal11LightTypeIDIfE3getEv() { - return 13440; +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____28std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function __fseeko_unlocked($0, $1, $2, $3) { + var $4 = 0, $5 = 0; + label$1: { + if (($3 | 0) != 1) { + break label$1; + } + $4 = HEAP32[$0 + 8 >> 2]; + if (!$4) { + break label$1; + } + $4 = $4 - HEAP32[$0 + 4 >> 2] | 0; + $5 = $4; + $4 = $4 >> 31; + $4 = $4 + ($1 >>> 0 < $5 >>> 0) | 0; + $1 = $1 - $5 | 0; + $4 = $2 - $4 | 0; + $2 = $4; + } + label$2: { + if (HEAP32[$0 + 20 >> 2] != HEAP32[$0 + 28 >> 2]) { + FUNCTION_TABLE[HEAP32[$0 + 36 >> 2]]($0, 0, 0) | 0; + if (!HEAP32[$0 + 20 >> 2]) { + break label$2; + } + } + HEAP32[$0 + 28 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + $4 = $2; + FUNCTION_TABLE[HEAP32[$0 + 40 >> 2]]($0, $1, $4, $3) | 0; + if ((i64toi32_i32$HIGH_BITS | 0) < 0) { + break label$2; + } + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] & -17; + return 0; + } + return -1; } -function __ZN10emscripten8internal11LightTypeIDIdE3getEv() { - return 13448; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_float__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_float___20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_float__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0 + 408 | 0, $1); } -function __ZN10emscripten8internal11LightTypeIDIcE3getEv() { - return 13368; +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______max_size_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____20const__29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____max_size_28_29_20const($0); } -function __ZN10emscripten8internal11LightTypeIDIbE3getEv() { - return 13360; +function std____2____time_put____do_put_28char__2c_20char___2c_20tm_20const__2c_20char_2c_20char_29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + HEAP8[$6 + 15 | 0] = 0; + HEAP8[$6 + 14 | 0] = $5; + HEAP8[$6 + 13 | 0] = $4; + HEAP8[$6 + 12 | 0] = 37; + if ($5) { + std____2__enable_if_is_move_constructible_char___value_20___20is_move_assignable_char___value_2c_20void___type_20std____2__swap_char__28char__2c_20char__29($6 + 13 | 0, $6 + 14 | 0); + } + wasm2js_i32$0 = $2, wasm2js_i32$1 = (strftime_l($1 | 0, unsigned_20long_20std____2___28anonymous_20namespace_29__countof_char__28char_20const__2c_20char_20const__29($1, HEAP32[$2 >> 2]) | 0, $6 + 12 | 0, $3 | 0, HEAP32[$0 >> 2]) | 0) + $1 | 0, + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + __stack_pointer = $6 + 16 | 0; } -function __ZN10emscripten8internal11LightTypeIDIaE3getEv() { - return 13384; +function std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________destruct_at_end_28vision__Node_96__20const___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 4 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____destroy_vision__Node_96__20const__2c_20void__28std____2__allocator_vision__Node_96__20const____2c_20vision__Node_96__20const___29($3, vision__Node_96__20const___20std____2____to_address_vision__Node_96__20const___28vision__Node_96__20const___29($2)); + continue; + } + break; + } } -function _fmodl(d1, d2) { - d1 = +d1; - d2 = +d2; - return +(+_fmod(d1, d2)); +function arUtilMatMuldff($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = Math_fround(0), $8 = Math_fround(0), $9 = Math_fround(0), $10 = 0; + while (1) { + if (($5 | 0) != 3) { + $6 = ($5 << 5) + $0 | 0; + $7 = Math_fround(HEAPF64[$6 + 16 >> 3]); + $8 = Math_fround(HEAPF64[$6 + 8 >> 3]); + $9 = Math_fround(HEAPF64[$6 >> 3]); + $3 = 0; + while (1) { + if (($3 | 0) != 4) { + $4 = $3 << 2; + $10 = $4 + (($5 << 4) + $2 | 0) | 0; + $4 = $1 + $4 | 0; + HEAPF32[$10 >> 2] = Math_fround($7 * HEAPF32[$4 + 32 >> 2]) + Math_fround(Math_fround($9 * HEAPF32[$4 >> 2]) + Math_fround(HEAPF32[$4 + 16 >> 2] * $8)); + $3 = $3 + 1 | 0; + continue; + } + break; + } + $3 = ($5 << 4) + $2 | 0; + HEAPF32[$3 + 12 >> 2] = HEAPF32[$3 + 12 >> 2] + Math_fround(HEAPF64[$6 + 24 >> 3]); + $5 = $5 + 1 | 0; + continue; + } + break; + } + return 0; } -function _arPattCreateHandle() { - return _arPattCreateHandle2(16, 50) | 0; +function vision__BinaryHierarchicalClustering_96___build_28unsigned_20char_20const__2c_20int_2c_20int_20const__2c_20int_29($0, $1, $2, $3, $4) { + var $5 = 0; + $5 = $0 + 8 | 0; + std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96_____reset_28vision__Node_96___29($5, vision__Node_96___Node_28int_29(operator_20new_28unsigned_20long_29(128), vision__BinaryHierarchicalClustering_96___nextNodeId_28_29($0))); + vision__Node_96___leaf_28bool_29(std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96_____operator___28_29_20const($5), 0); + vision__BinaryHierarchicalClustering_96___build_28vision__Node_96___2c_20unsigned_20char_20const__2c_20int_2c_20int_20const__2c_20int_29($0, std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96_____get_28_29_20const($5), $1, $2, $3, $4); } -function _catopen(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - return -1 | 0; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________get_deleter_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________second_28_29($0); } -function __GLOBAL__I_000101() { - ___cxx_global_var_init_640(); - return; +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______max_size_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29(Math_imul($1, 20), 4); } -function _setLogLevel(i1) { - i1 = i1 | 0; - HEAP32[3368] = i1; - return; +function bool_20vision__SolveHomography4PointsInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var $9 = 0; + $9 = __stack_pointer - 288 | 0; + __stack_pointer = $9; + void_20vision__Homography4PointsInhomogeneousConstraint_float__28float__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($9, $1, $2, $3, $4, $5, $6, $7, $8); + $8 = 0; + if (bool_20vision__SolveNullVector8x9Destructive_float__28float__2c_20float__29($0, $9)) { + $8 = !(+abs_28float_29(float_20vision__Determinant3x3_float__28float_20const__29($0)) < 1e-5); + } + __stack_pointer = $9 + 288 | 0; + return $8; } -function __ZN6vision3sqrIfEET_S1_(d1) { - d1 = +d1; - return +(d1 * d1); +function $28anonymous_20namespace_29__itanium_demangle__FoldExpr__FoldExpr_28bool_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2, $3, $4) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 65, 1, 1, 1); + HEAP32[$0 + 12 >> 2] = $4; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 >> 2] = 68152; + $3 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP8[$0 + 24 | 0] = $1; + HEAP32[$0 + 16 >> 2] = $2; + HEAP32[$0 + 20 >> 2] = $3; + return $0; } -function b17(i1, i2) { - i1 = i1 | 0; - i2 = i2 | 0; - nullFunc_vii(17); +function std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____clear_28_29($0) { + std____2____hash_table_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____clear_28_29($0); } -function __ZN6vision14FREAKExtractorD2Ev(i1) { - i1 = i1 | 0; - return; +function std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul________split_buffer_28_29($0) { + std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____deallocate_28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20std____2__locale__facet___2c_20unsigned_20long_29(std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____capacity_28_29_20const($0)); + } + return $0; } -function __ZN6vision11ScopedTimercvbEv(i1) { - i1 = i1 | 0; - return 1; +function std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________compressed_pair_std__nullptr_t_2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std__nullptr_t___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_std____2__pair_float_2c_20unsigned_20long___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____29($1 + 4 | 0, $2); + return $1; } -function __ZNSt3__214__shared_countD2Ev(i1) { - i1 = i1 | 0; - return; +function std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______deallocate_28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______deallocate_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20unsigned_20long_29($0, $1, $2); } -function dynCall_v(i1) { - i1 = i1 | 0; - FUNCTION_TABLE_v[i1 & 3](); +function $28anonymous_20namespace_29__itanium_demangle__UnnamedTypeName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__UnnamedTypeName_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__UnnamedTypeName__UnnamedTypeName_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; } -function __ZN6vision12FeaturePointD2Ev(i1) { - i1 = i1 | 0; - return; +function std____2__vector_int_2c_20std____2__allocator_int____max_size_28_29_20const($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = unsigned_20long_20std____2__allocator_traits_std____2__allocator_int____max_size_std____2__allocator_int__2c_20void__28std____2__allocator_int__20const__29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29_20const($0)), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2__numeric_limits_long___max_28_29(), + HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + $0 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($1 + 12 | 0, $1 + 8 | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; } -function b16(i1, d2) { - i1 = i1 | 0; - d2 = +d2; - nullFunc_vid(16); +function std____2____num_put_base____format_float_28char__2c_20char_20const__2c_20unsigned_20int_29($0, $1, $2) { + var $3 = 0, $4 = 0; + if ($2 & 2048) { + HEAP8[$0 | 0] = 43; + $0 = $0 + 1 | 0; + } + if ($2 & 1024) { + HEAP8[$0 | 0] = 35; + $0 = $0 + 1 | 0; + } + $3 = $2 & 260; + if (($3 | 0) != 260) { + HEAP8[$0 | 0] = 46; + HEAP8[$0 + 1 | 0] = 42; + $0 = $0 + 2 | 0; + } + $4 = $2 & 16384; + while (1) { + $2 = HEAPU8[$1 | 0]; + if ($2) { + HEAP8[$0 | 0] = $2; + $0 = $0 + 1 | 0; + $1 = $1 + 1 | 0; + continue; + } + break; + } + label$6: { + label$7: { + if (($3 | 0) != 256) { + if (($3 | 0) != 4) { + break label$7; + } + $1 = $4 ? 70 : 102; + break label$6; + } + $1 = $4 ? 69 : 101; + break label$6; + } + $1 = $4 ? 65 : 97; + if (($3 | 0) == 260) { + break label$6; + } + $1 = $4 ? 71 : 103; + } + HEAP8[$0 | 0] = $1; + return ($3 | 0) != 260; } -function __ZNSt3__26locale5facetD2Ev(i1) { - i1 = i1 | 0; - return; +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____28std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; } -function __ZNSt3__212__do_nothingEPv(i1) { - i1 = i1 | 0; - return; +function std____2__vector_int_2c_20std____2__allocator_int______annotate_delete_28_29_20const($0) { + std____2__vector_int_2c_20std____2__allocator_int______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0), std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____capacity_28_29_20const($0) << 2) | 0, std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0) << 2) | 0, std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____capacity_28_29_20const($0) << 2) | 0); } -function _pthread_cond_broadcast(i1) { - i1 = i1 | 0; - return 0; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_year_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__2c_20int_29($2, $3, $4, $5, 4); + if (!(HEAPU8[$4 | 0] & 4)) { + HEAP32[$1 >> 2] = (($5 | 0) < 69 ? $5 + 2e3 | 0 : ($5 | 0) < 100 ? $5 + 1900 | 0 : $5) - 1900; + } } -function _lroundf(d1) { - d1 = +d1; - return ~~+_roundf(+d1) | 0; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_day_year_num_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__2c_20int_29($2, $3, $4, $5, 3); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | ($5 | 0) > 365)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________2c_201_2c_20false_____get_28_29_20const($0 + 4 | 0); +} + +function jpeg_idct_2x2($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $1 = HEAP32[$1 + 84 >> 2]; + $5 = Math_imul(HEAP32[$1 + 36 >> 2], HEAPU16[$2 + 18 >> 1]); + $6 = Math_imul(HEAP32[$1 + 4 >> 2], HEAPU16[$2 + 2 >> 1]); + $7 = $5 + $6 | 0; + $8 = Math_imul(HEAP32[$1 + 32 >> 2], HEAPU16[$2 + 16 >> 1]); + $9 = HEAP32[$3 >> 2] + $4 | 0; + $0 = HEAP32[$0 + 336 >> 2] - 384 | 0; + $2 = Math_imul(HEAP32[$1 >> 2], HEAPU16[$2 >> 1]) + 4100 | 0; + $1 = $8 + $2 | 0; + HEAP8[$9 | 0] = HEAPU8[$0 + ($7 + $1 >>> 3 & 1023) | 0]; + HEAP8[$9 + 1 | 0] = HEAPU8[($1 - $7 >>> 3 & 1023) + $0 | 0]; + $1 = HEAP32[$3 + 4 >> 2] + $4 | 0; + $2 = $2 - $8 | 0; + $3 = $6 - $5 | 0; + HEAP8[$1 | 0] = HEAPU8[($2 + $3 >>> 3 & 1023) + $0 | 0]; + HEAP8[$1 + 1 | 0] = HEAPU8[($2 - $3 >>> 3 & 1023) + $0 | 0]; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__StructuredBindingName_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__StructuredBindingName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__StructuredBindingName_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0 + 408 | 0, $1); +} +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______destruct_at_end_28std____2__locale__facet___29($0, $1) { + var $2 = 0; + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______invalidate_iterators_past_28std____2__locale__facet___29($0, $1); + $2 = std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____size_28_29_20const($0); + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______base_destruct_at_end_28std____2__locale__facet___29($0, $1); + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_shrink_28unsigned_20long_29_20const($0, $2); +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_12_hour_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__2c_20int_29($2, $3, $4, $5, 2); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | $5 - 1 >>> 0 > 11)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; } -function b0(i1) { - i1 = i1 | 0; - nullFunc_di(0); - return 0.0; +function $28anonymous_20namespace_29__itanium_demangle__PointerToMemberConversionExpr__PointerToMemberConversionExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2, $3) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 63, 1, 1, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 70068; + $1 = HEAP32[$3 + 4 >> 2]; + HEAP32[$0 + 16 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$0 + 20 >> 2] = $1; + return $0; } -function _pthread_mutex_unlock(i1) { - i1 = i1 | 0; - return 0; +function std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20long_20double_29_20const($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; + return std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_put_floating_point_long_20double__28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20long_20double_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $6, $7, 35319) | 0; } -function ___pthread_self_826() { - return _pthread_self() | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray___28_28anonymous_20namespace_29__itanium_demangle__NodeArray__29($0 + 408 | 0, $1); } -function ___pthread_self_604() { - return _pthread_self() | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__DynamicExceptionSpec_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__DynamicExceptionSpec__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__DynamicExceptionSpec_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0 + 408 | 0, $1); } -function ___pthread_self_523() { - return _pthread_self() | 0; +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______destruct_at_end_28std____2__pair_float_2c_20int___29($0, $1) { + var $2 = 0; + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______invalidate_iterators_past_28std____2__pair_float_2c_20int___29($0, $1); + $2 = std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____size_28_29_20const($0); + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______base_destruct_at_end_28std____2__pair_float_2c_20int___29($0, $1); + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______annotate_shrink_28unsigned_20long_29_20const($0, $2); } -function ___pthread_self_306() { - return _pthread_self() | 0; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_month_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__2c_20int_29($2, $3, $4, $5, 2); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | ($5 | 0) > 12)) { + HEAP32[$1 >> 2] = $5 - 1; + return; + } + HEAP32[$4 >> 2] = $3 | 4; } -function ___pthread_self_303() { - return _pthread_self() | 0; +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________max_size_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20void__28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 2, 4); } -function ___pthread_self_300() { - return _pthread_self() | 0; +function $28anonymous_20namespace_29__itanium_demangle__FunctionParam__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FunctionParam_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__FunctionParam__FunctionParam_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; } -function ___pthread_self_293() { - return _pthread_self() | 0; +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______reset_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____29($0, 0); + return $0; } -function ___pthread_self_197() { - return _pthread_self() | 0; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_day_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__2c_20int_29($2, $3, $4, $5, 2); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | $5 - 1 >>> 0 > 30)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; } -function b3(i1) { - i1 = i1 | 0; - nullFunc_ii(3); - return 0; +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20unsigned_20long_29($0, $1, $2); } -function _pthread_mutex_lock(i1) { - i1 = i1 | 0; - return 0; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_weekday_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__2c_20int_29($2, $3, $4, $5, 1); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | ($5 | 0) > 6)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; } -function _dummy_consume_data(i1) { - i1 = i1 | 0; - return 0; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_second_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__2c_20int_29($2, $3, $4, $5, 2); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | ($5 | 0) > 60)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; } -function __Znam(i1) { - i1 = i1 | 0; - return __Znwm(i1) | 0; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_minute_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__2c_20int_29($2, $3, $4, $5, 2); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | ($5 | 0) > 59)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ParameterPack_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NodeArrayNode__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NodeArrayNode_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NodeArrayNode__NodeArrayNode_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______destroy_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______29($0, $1) { + std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______pair_28_29($1); +} + +function std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____reset_28vision__VisualDatabaseImpl__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_vision__VisualDatabaseImpl__2c_20std____2__default_delete_vision__VisualDatabaseImpl____first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_vision__VisualDatabaseImpl__2c_20std____2__default_delete_vision__VisualDatabaseImpl____first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2__default_delete_vision__VisualDatabaseImpl___operator_28_29_28vision__VisualDatabaseImpl__29_20const(std____2____compressed_pair_vision__VisualDatabaseImpl__2c_20std____2__default_delete_vision__VisualDatabaseImpl____second_28_29($0), $2); + } +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________reset_28std__nullptr_t_29($0, 0); + return $0; +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_hour_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__2c_20int_29($2, $3, $4, $5, 2); + $3 = HEAP32[$4 >> 2]; + if (!($3 & 4 | ($5 | 0) > 23)) { + HEAP32[$1 >> 2] = $5; + return; + } + HEAP32[$4 >> 2] = $3 | 4; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateArgs__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__TemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__TemplateArgs__TemplateArgs_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__EnableIfAttr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__EnableIfAttr_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__EnableIfAttr__EnableIfAttr_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__enable_if_is_move_constructible_vision__PriorityQueueItem_96____value_20___20is_move_assignable_vision__PriorityQueueItem_96____value_2c_20void___type_20std____2__swap_vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96___29($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $4 = $0; + $5 = HEAP32[$4 >> 2]; + $6 = $5; + $2 = HEAP32[$4 + 4 >> 2]; + $7 = $2; + HEAP32[$3 + 8 >> 2] = $6; + HEAP32[$3 + 12 >> 2] = $2; + $4 = $1; + $2 = HEAP32[$4 >> 2]; + $5 = HEAP32[$4 + 4 >> 2]; + $1 = $2; + $2 = $0; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $5; + $2 = $4; + HEAP32[$2 >> 2] = $6; + $5 = $7; + HEAP32[$2 + 4 >> 2] = $5; + vision__PriorityQueueItem_96____PriorityQueueItem_28_29($3 + 8 | 0); + __stack_pointer = $3 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________get_deleter_28_29_20const($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________second_28_29_20const($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__UnnamedTypeName_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__UnnamedTypeName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__UnnamedTypeName_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__IntegerLiteral__IntegerLiteral_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2) { + var $3 = 0, $4 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 71, 1, 1, 1); + HEAP32[$0 >> 2] = 66376; + $3 = HEAP32[$1 >> 2]; + $4 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 12 >> 2] = $4; + $1 = $2; + $4 = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 16 >> 2] = $4; + HEAP32[$0 + 20 >> 2] = $3; + return $0; +} + +function strcspn($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $4 = __stack_pointer - 32 | 0; + __stack_pointer = $4; + $2 = HEAP8[$1 | 0]; + label$1: { + if (!(HEAPU8[$1 + 1 | 0] ? $2 : 0)) { + $3 = __strchrnul($0, $2); + break label$1; + } + memset($4, 0, 32); + $2 = HEAPU8[$1 | 0]; + if ($2) { + while (1) { + $3 = ($2 >>> 3 & 28) + $4 | 0; + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] | 1 << $2; + $2 = HEAPU8[$1 + 1 | 0]; + $1 = $1 + 1 | 0; + if ($2) { + continue; + } + break; + } + } + $3 = $0; + $2 = HEAPU8[$0 | 0]; + if (!$2) { + break label$1; + } + $1 = $0; + while (1) { + if (HEAP32[($2 >>> 3 & 28) + $4 >> 2] >>> $2 & 1) { + $3 = $1; + break label$1; + } + $2 = HEAPU8[$1 + 1 | 0]; + $3 = $1 + 1 | 0; + $1 = $3; + if ($2) { + continue; + } + break; + } + } + __stack_pointer = $4 + 32 | 0; + return $3 - $0 | 0; } -function __ZdaPv(i1) { - i1 = i1 | 0; - __ZdlPv(i1); - return; +function vision__RobustHomography_float___find_28float__2c_20float_20const__2c_20float_20const__2c_20int_2c_20float_20const__2c_20int_29($0, $1, $2, $3, $4, $5, $6) { + var $7 = 0; + $7 = $0 + 12 | 0; + std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_29($7, $4); + return bool_20vision__PreemptiveRobustHomography_float__28float__2c_20float_20const__2c_20float_20const__2c_20int_2c_20float_20const__2c_20int_2c_20std____2__vector_float_2c_20std____2__allocator_float____2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____2c_20float_2c_20int_2c_20int_2c_20int_29($1, $2, $3, $4, $5, $6, $0, $7, $0 + 24 | 0, HEAPF32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], HEAP32[$0 + 44 >> 2], HEAP32[$0 + 48 >> 2]); } -function _finish_pass_1_quant(i1) { - i1 = i1 | 0; - return; +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________second_28_29($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________2c_201_2c_20false_____get_28_29($0 + 4 | 0); } -function ___cxa_guard_release(i1) { - i1 = i1 | 0; - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function __ZNSt9type_infoD2Ev(i1) { - i1 = i1 | 0; - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function __ZNSt9exceptionD2Ev(i1) { - i1 = i1 | 0; - return; +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______destruct_at_end_28vision__PriorityQueueItem_96___29($0, $1) { + var $2 = 0; + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______invalidate_iterators_past_28vision__PriorityQueueItem_96___29($0, $1); + $2 = std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____size_28_29_20const($0); + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______base_destruct_at_end_28vision__PriorityQueueItem_96___29($0, $1); + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______annotate_shrink_28unsigned_20long_29_20const($0, $2); } -function stackRestore(i1) { - i1 = i1 | 0; - STACKTOP = i1; +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____clear_28_29($0) { + var $1 = 0; + $1 = std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____size_28_29_20const($0); + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______clear_28_29($0); + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______annotate_shrink_28unsigned_20long_29_20const($0, $1); + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______invalidate_all_iterators_28_29($0); } -function __ZdlPv(i1) { - i1 = i1 | 0; - _free(i1); - return; +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______base_destruct_at_end_28std____2__locale__facet___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 4 | 0; + void_20std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____destroy_std____2__locale__facet__2c_20void_2c_20void__28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20std____2__locale__facet___29(std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______alloc_28_29($0), std____2__locale__facet___20std____2____to_address_std____2__locale__facet___28std____2__locale__facet___29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; } -function __ZNSt3__211char_traitsIwE3eofEv() { - return -1; +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______get_year4_28int__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20unsigned_20int__2c_20std____2__ctype_wchar_t__20const__2c_20int_29($2, $3, $4, $5, 4); + if (!(HEAPU8[$4 | 0] & 4)) { + HEAP32[$1 >> 2] = $5 - 1900; + } } -function __ZNSt3__211char_traitsIcE3eofEv() { - return -1; +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___________bucket_list_deallocator_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = 0; + $0 = std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1 + 12 | 0, $1 + 8 | 0); + __stack_pointer = $1 + 16 | 0; + return $0; } -function _start_pass_dcolor(i1) { - i1 = i1 | 0; - return; +function $28anonymous_20namespace_29__itanium_demangle__VendorExtQualType__VendorExtQualType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2, $3) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 2, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 73032; + $1 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$0 + 20 >> 2] = $3; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 16 >> 2] = $1; + return $0; } -function _jpeg_mem_init(i1) { - i1 = i1 | 0; - return 1e6; +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = Math_imul($2, 12) + $1; + return $0; } -function ___ofl_lock() { - ___lock(56316); - return 56324; +function std____2__operator___28std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20const__2c_20std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______20const__29($0, $1) { + return std____2__operator___28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____20const__2c_20std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____20const__29($0, $1); } -function ___cxa_guard_abort(i1) { - i1 = i1 | 0; - return; +function std____2____stdinbuf_wchar_t___imbue_28std____2__locale_20const__29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t__20const__20std____2__use_facet_std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___28std____2__locale_20const__29($1); + HEAP32[$0 + 36 >> 2] = $1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___encoding_28_29_20const($1), + HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___always_noconv_28_29_20const(HEAP32[$0 + 36 >> 2]), + HEAP8[wasm2js_i32$0 + 53 | 0] = wasm2js_i32$1; + if (HEAP32[$0 + 44 >> 2] >= 9) { + std____2____throw_runtime_error_28char_20const__29(29272); + abort(); + } } -function _dummy_465(i1) { - i1 = i1 | 0; - return i1 | 0; +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______base_destruct_at_end_28std____2__pair_float_2c_20int___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 8 | 0; + void_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____destroy_std____2__pair_float_2c_20int__2c_20void__28std____2__allocator_std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int___29(std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______alloc_28_29($0), std____2__pair_float_2c_20int___20std____2____to_address_std____2__pair_float_2c_20int___28std____2__pair_float_2c_20int___29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__FunctionParam_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__FunctionParam__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__FunctionParam_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b22_5d__28char_20const_20_28__29_20_5b22_5d_29($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 8 | 0, 37768); + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$1 + 4 >> 2] = $3; + $0 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b19_5d__28char_20const_20_28__29_20_5b19_5d_29($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 8 | 0, 31559); + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$1 + 4 >> 2] = $3; + $0 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2____stdoutbuf_wchar_t___xsputn_28wchar_t_20const__2c_20long_29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_i32$2 = 0; + label$1: { + if (!HEAPU8[$0 + 44 | 0]) { + $2 = ($2 | 0) > 0 ? $2 : 0; + while (1) { + if (($2 | 0) == ($3 | 0)) { + break label$1; + } + if (((wasm2js_i32$1 = $0, wasm2js_i32$2 = std____2__char_traits_wchar_t___to_int_type_28wchar_t_29(HEAP32[$1 >> 2]), + wasm2js_i32$0 = HEAP32[HEAP32[$0 >> 2] + 52 >> 2], FUNCTION_TABLE[wasm2js_i32$0](wasm2js_i32$1 | 0, wasm2js_i32$2 | 0) | 0) | 0) == (std____2__char_traits_wchar_t___eof_28_29() | 0)) { + return $3 | 0; + } else { + $1 = $1 + 4 | 0; + $3 = $3 + 1 | 0; + continue; + } + } + } + $2 = fwrite($1, 4, $2, HEAP32[$0 + 32 >> 2]); + } + return $2 | 0; } -function ___ofl_unlock() { - ___unlock(56316); - return; -} +function std____2____stdoutbuf_wchar_t___sync_28_29($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $4 = $1 + 16 | 0; + label$1: { + while (1) { + $5 = std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___unshift_28__mbstate_t__2c_20char__2c_20char__2c_20char___29_20const(HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], $1 + 8 | 0, $4, $1 + 4 | 0); + $2 = -1; + $3 = HEAP32[$1 + 4 >> 2] - ($1 + 8 | 0) | 0; + if (($3 | 0) != (fwrite($1 + 8 | 0, 1, $3, HEAP32[$0 + 32 >> 2]) | 0)) { + break label$1; + } + label$3: { + switch ($5 - 1 | 0) { + case 1: + break label$1; -function _jpeg_mem_term(i1) { - i1 = i1 | 0; - return; -} + case 0: + continue; -function _getLogLevel() { - return HEAP32[3368] | 0; + default: + break label$3; + } + } + break; + } + $2 = fflush(HEAP32[$0 + 32 >> 2]) ? -1 : 0; + } + __stack_pointer = $1 + 16 | 0; + return $2 | 0; } -function _finish_pass2(i1) { - i1 = i1 | 0; - return; +function std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____28std__nullptr_t___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29(std____2____compressed_pair_elem_std____2__pair_float_2c_20unsigned_20long___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1), $2); } -function ___unlockfile(i1) { - i1 = i1 | 0; - return; +function arLabeling($0, $1, $2, $3, $4, $5, $6, $7, $8) { + if (!$3) { + if (($4 | 0) == 1) { + if ($8) { + return arLabelingSubDBZ($0, $1, $2, $8, $7); + } + if (!$6) { + return arLabelingSubDBRC($0, $1, $2, $5, $7); + } + return arLabelingSubDBIC($0, $1, $2, $5, $7); + } + if ($8) { + return arLabelingSubDWZ($0, $1, $2, $8, $7); + } + if (!$6) { + return arLabelingSubDWRC($0, $1, $2, $5, $7); + } + return arLabelingSubDWIC($0, $1, $2, $5, $7); + } + if (($4 | 0) == 1) { + if ($8) { + return arLabelingSubEBZ($0, $1, $2, $8, $7); + } + if (!$6) { + return arLabelingSubEBRC($0, $1, $2, $5, $7); + } + return arLabelingSubEBIC($0, $1, $2, $5, $7); + } + if ($8) { + return arLabelingSubEWZ($0, $1, $2, $8, $7); + } + if (!$6) { + return arLabelingSubEWRC($0, $1, $2, $5, $7); + } + return arLabelingSubEWIC($0, $1, $2, $5, $7); } -function ___lockfile(i1) { - i1 = i1 | 0; - return 1; +function $28anonymous_20namespace_29__itanium_demangle__CastExpr__CastExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2, $3) { + var $4 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 55, 1, 1, 1); + HEAP32[$0 >> 2] = 68576; + $4 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$0 + 20 >> 2] = $3; + HEAP32[$0 + 16 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = $4; + return $0; } -function b15(i1) { - i1 = i1 | 0; - nullFunc_vi(15); +function wcsnrtombs($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + $4 = HEAP32[$1 >> 2]; + label$1: { + if (!$4 | !$2) { + break label$1; + } + $5 = $0 ? $3 : 0; + while (1) { + $3 = wcrtomb($5 >>> 0 < 4 ? $6 + 12 | 0 : $0, HEAP32[$4 >> 2], 0); + if (($3 | 0) == -1) { + $7 = -1; + break label$1; + } + if ($0) { + if ($5 >>> 0 <= 3) { + if ($3 >>> 0 > $5 >>> 0) { + break label$1; + } + __memcpy($0, $6 + 12 | 0, $3); + } + $5 = $5 - $3 | 0; + $0 = $0 + $3 | 0; + } else { + $0 = 0; + } + if (!HEAP32[$4 >> 2]) { + $4 = 0; + break label$1; + } + $7 = $3 + $7 | 0; + $4 = $4 + 4 | 0; + $2 = $2 - 1 | 0; + if ($2) { + continue; + } + break; + } + } + if ($0) { + HEAP32[$1 >> 2] = $4; + } + __stack_pointer = $6 + 16 | 0; + return $7; } -function _term_source(i1) { - i1 = i1 | 0; - return; +function std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________clear_28_29($0) { + std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________destruct_at_end_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, HEAP32[$0 + 4 >> 2]); } -function __GLOBAL__sub_I_iostream_cpp() { - return; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__SizeofParamPackExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SizeofParamPackExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SizeofParamPackExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function _catclose(i1) { - i1 = i1 | 0; - return 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); } -function __ZSt17__throw_bad_allocv() { - _abort(); +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b7_5d__28char_20const_20_28__29_20_5b7_5d_29($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1 + 8 | 0, 32224); + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$1 + 4 >> 2] = $3; + $0 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; } -function ___ctype_toupper_loc() { - return 14084; +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________max_size_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20void__28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 2, 4); } -function ___ctype_tolower_loc() { - return 14088; +function std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________hash_map_const_iterator_28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = $1; + $1 = std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_const_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__29($0, $2 + 8 | 0); + __stack_pointer = $2 + 16 | 0; + return $1; } -function ___errno_location() { - return 56312; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ParameterPack_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__ParameterPack__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ParameterPack_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0 + 408 | 0, $1); } -function stackSave() { - return STACKTOP | 0; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NodeArrayNode_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NodeArrayNode__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NodeArrayNode_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0 + 408 | 0, $1); } -function b2() { - nullFunc_i(2); - return 0; +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; } -function __get_timezone() { - return 56860; +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__28_28anonymous_20namespace_29__itanium_demangle__StringView___29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; } -function __get_daylight() { - return 56856; +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________max_size_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20void__28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______20const__29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________max_size_28_29_20const($0); } -function ___ctype_b_loc() { - return 14080; +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______vector_28_29($0) { + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____deallocate_28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___2c_20unsigned_20long_29(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____capacity_28_29_20const($0)); + } + return $0; } -function _pthread_self() { - return 13828; +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float______vector_28_29($0) { + std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_vision__Point2d_float_____deallocate_28std____2__allocator_vision__Point2d_float____2c_20vision__Point2d_float___2c_20unsigned_20long_29(std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____capacity_28_29_20const($0)); + } + return $0; } -function __get_environ() { - return 56864; +function std____2__vector_float_2c_20std____2__allocator_float______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_float_2c_20std____2__allocator_float______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0), std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0) + (std____2__vector_float_2c_20std____2__allocator_float____capacity_28_29_20const($0) << 2) | 0, std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0) + (std____2__vector_float_2c_20std____2__allocator_float____capacity_28_29_20const($0) << 2) | 0, std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0) + ($1 << 2) | 0); } -function __get_tzname() { - return 56848; +function std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_________split_buffer_28_29($0) { + std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int______clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____deallocate_28std____2__allocator_std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int___2c_20unsigned_20long_29(std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int______capacity_28_29_20const($0)); + } + return $0; } -function b14() { - nullFunc_v(14); +function $28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38093); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + __stack_pointer = $2 + 16 | 0; } -function _dummy() { - return; +function std____2__vector_float_2c_20std____2__allocator_float______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_float_2c_20std____2__allocator_float______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0), std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0) + (std____2__vector_float_2c_20std____2__allocator_float____capacity_28_29_20const($0) << 2) | 0, std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0) + ($1 << 2) | 0, std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0) + (std____2__vector_float_2c_20std____2__allocator_float____size_28_29_20const($0) << 2) | 0); } -// EMSCRIPTEN_END_FUNCS -var FUNCTION_TABLE_di = [b0,_getProjectionNearPlane,_getProjectionFarPlane,_getPattRatio]; -var FUNCTION_TABLE_dii = [b1,__ZN10emscripten8internal7InvokerIdJiEE6invokeEPFdiEi]; -var FUNCTION_TABLE_i = [b2,_getLogLevel]; -var FUNCTION_TABLE_ii = [b3,__ZNK6vision9Exception4whatEv,___stdio_close,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE4syncEv,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9showmanycEv,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9underflowEv,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE5uflowEv,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE4syncEv,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9showmanycEv,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9underflowEv,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE5uflowEv,__ZNSt3__211__stdoutbufIwE4syncEv,__ZNSt3__211__stdoutbufIcE4syncEv,__ZNSt3__210__stdinbufIwE9underflowEv,__ZNSt3__210__stdinbufIwE5uflowEv,__ZNSt3__210__stdinbufIcE9underflowEv,__ZNSt3__210__stdinbufIcE5uflowEv,__ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13do_date_orderEv,__ZNKSt3__220__time_get_c_storageIcE7__weeksEv,__ZNKSt3__220__time_get_c_storageIcE8__monthsEv,__ZNKSt3__220__time_get_c_storageIcE7__am_pmEv,__ZNKSt3__220__time_get_c_storageIcE3__cEv,__ZNKSt3__220__time_get_c_storageIcE3__rEv,__ZNKSt3__220__time_get_c_storageIcE3__xEv,__ZNKSt3__220__time_get_c_storageIcE3__XEv,__ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13do_date_orderEv,__ZNKSt3__220__time_get_c_storageIwE7__weeksEv,__ZNKSt3__220__time_get_c_storageIwE8__monthsEv,__ZNKSt3__220__time_get_c_storageIwE7__am_pmEv -,__ZNKSt3__220__time_get_c_storageIwE3__cEv,__ZNKSt3__220__time_get_c_storageIwE3__rEv,__ZNKSt3__220__time_get_c_storageIwE3__xEv,__ZNKSt3__220__time_get_c_storageIwE3__XEv,__ZNKSt3__210moneypunctIcLb0EE16do_decimal_pointEv,__ZNKSt3__210moneypunctIcLb0EE16do_thousands_sepEv,__ZNKSt3__210moneypunctIcLb0EE14do_frac_digitsEv,__ZNKSt3__210moneypunctIcLb1EE16do_decimal_pointEv,__ZNKSt3__210moneypunctIcLb1EE16do_thousands_sepEv,__ZNKSt3__210moneypunctIcLb1EE14do_frac_digitsEv,__ZNKSt3__210moneypunctIwLb0EE16do_decimal_pointEv,__ZNKSt3__210moneypunctIwLb0EE16do_thousands_sepEv,__ZNKSt3__210moneypunctIwLb0EE14do_frac_digitsEv,__ZNKSt3__210moneypunctIwLb1EE16do_decimal_pointEv,__ZNKSt3__210moneypunctIwLb1EE16do_thousands_sepEv,__ZNKSt3__210moneypunctIwLb1EE14do_frac_digitsEv,__ZNKSt3__27codecvtIDic11__mbstate_tE11do_encodingEv,__ZNKSt3__27codecvtIDic11__mbstate_tE16do_always_noconvEv,__ZNKSt3__27codecvtIDic11__mbstate_tE13do_max_lengthEv,__ZNKSt3__27codecvtIwc11__mbstate_tE11do_encodingEv,__ZNKSt3__27codecvtIwc11__mbstate_tE16do_always_noconvEv,__ZNKSt3__27codecvtIwc11__mbstate_tE13do_max_lengthEv,__ZNKSt3__28numpunctIcE16do_decimal_pointEv,__ZNKSt3__28numpunctIcE16do_thousands_sepEv,__ZNKSt3__28numpunctIwE16do_decimal_pointEv,__ZNKSt3__28numpunctIwE16do_thousands_sepEv,__ZNKSt3__27codecvtIcc11__mbstate_tE11do_encodingEv,__ZNKSt3__27codecvtIcc11__mbstate_tE16do_always_noconvEv,__ZNKSt3__27codecvtIcc11__mbstate_tE13do_max_lengthEv,__ZNKSt3__27codecvtIDsc11__mbstate_tE11do_encodingEv -,__ZNKSt3__27codecvtIDsc11__mbstate_tE16do_always_noconvEv,__ZNKSt3__27codecvtIDsc11__mbstate_tE13do_max_lengthEv,__ZNKSt11logic_error4whatEv,_jpeg_std_error,_jpeg_start_decompress,_malloc,_jpeg_finish_decompress,_read_markers,_read_restart_marker,_skip_variable,_get_interesting_appn,_consume_markers,_consume_data,_dummy_consume_data,_fill_input_buffer,_teardown,_setupAR2,_getMultiMarkerCount,_loadCamera,_detectMarker,_getMarkerNum,_detectNFTMarker,_getDebugMode,_getProcessingImage,_getThresholdMode,_getThreshold,_getPatternDetectionMode,_getMatrixCodeType,_getLabelingMode,_getImageProcMode -,__ZN10emscripten8internal7InvokerIiJEE6invokeEPFivE,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3,b3 -,b3,b3,b3,b3,b3,b3,b3,b3,b3]; -var FUNCTION_TABLE_iidiiii = [b4,_fmt_fp]; -var FUNCTION_TABLE_iii = [b5,__ZNKSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE13__get_deleterERKSt9type_info,__ZNKSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE13__get_deleterERKSt9type_info,__ZNKSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE13__get_deleterERKSt9type_info,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE9pbackfailEi,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE8overflowEi,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE9pbackfailEj,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE8overflowEj,__ZNSt3__211__stdoutbufIwE8overflowEj,__ZNSt3__211__stdoutbufIcE8overflowEi,__ZNSt3__210__stdinbufIwE9pbackfailEj,__ZNSt3__210__stdinbufIcE9pbackfailEi,__ZNKSt3__25ctypeIcE10do_toupperEc,__ZNKSt3__25ctypeIcE10do_tolowerEc,__ZNKSt3__25ctypeIcE8do_widenEc,__ZNKSt3__25ctypeIwE10do_toupperEw,__ZNKSt3__25ctypeIwE10do_tolowerEw,__ZNKSt3__25ctypeIwE8do_widenEc,_compE,_jpeg_read_header,_decode_mcu,_decompress_data,_decompress_onepass,_decompress_smooth_data,_decode_mcu_AC_first,_decode_mcu_DC_first,_decode_mcu_AC_refine,_decode_mcu_DC_refine,_jpeg_resync_to_restart -,_addMarker,_addMultiMarker,_addNFTMarker,_getMultiMarkerNum,_setMarkerInfoVertex,_getTransMatMultiSquare,_getTransMatMultiSquareRobust,_getMarkerInfo,_getNFTMarkerInfo,_setDebugMode,__ZN10emscripten8internal7InvokerIiJiEE6invokeEPFiiEi,__ZN10emscripten8internal7InvokerIiJNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE6invokeEPFiS8_EPNS0_11BindingTypeIS8_EUt_E,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5,b5 -,b5,b5,b5,b5,b5]; -var FUNCTION_TABLE_iiii = [b6,___stdio_read,___stdio_write,___stdout_write,_sn_write,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6setbufEPcl,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6xsgetnEPcl,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKcl,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6setbufEPwl,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6xsgetnEPwl,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE6xsputnEPKwl,__ZNSt3__211__stdoutbufIwE6xsputnEPKwl,__ZNSt3__211__stdoutbufIcE6xsputnEPKcl,__ZNKSt3__27collateIcE7do_hashEPKcS3_,__ZNKSt3__27collateIwE7do_hashEPKwS3_,__ZNKSt3__28messagesIcE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE,__ZNKSt3__28messagesIwE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE,__ZNKSt3__25ctypeIcE10do_toupperEPcPKc,__ZNKSt3__25ctypeIcE10do_tolowerEPcPKc,__ZNKSt3__25ctypeIcE9do_narrowEcc,__ZNKSt3__25ctypeIwE5do_isEtw,__ZNKSt3__25ctypeIwE10do_toupperEPwPKw,__ZNKSt3__25ctypeIwE10do_tolowerEPwPKw,__ZNKSt3__25ctypeIwE9do_narrowEwc,__ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv,__ZNK10__cxxabiv123__fundamental_type_info9can_catchEPKNS_16__shim_type_infoERPv,_jpeg_read_scanlines,_alloc_small,_alloc_large -,_setup,_setMarkerInfoDir,_getTransMatSquare,_getTransMatSquareCont,_getMultiEachMarkerInfo,__ZN10emscripten8internal7InvokerIiJiNSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEE6invokeEPFiiS8_EiPNS0_11BindingTypeIS8_EUt_E,__ZN10emscripten8internal7InvokerIiJiiEE6invokeEPFiiiEii,_do_read_589,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6,b6 -,b6,b6,b6,b6,b6]; -var FUNCTION_TABLE_iiiii = [b7,___stdio_seek,__ZNKSt3__25ctypeIcE8do_widenEPKcS3_Pc,__ZNKSt3__25ctypeIwE5do_isEPKwS3_Pt,__ZNKSt3__25ctypeIwE10do_scan_isEtPKwS3_,__ZNKSt3__25ctypeIwE11do_scan_notEtPKwS3_,__ZNKSt3__25ctypeIwE8do_widenEPKcS3_Pw,_alloc_sarray,_alloc_barray,__ZN10emscripten8internal7InvokerIiJiiiEE6invokeEPFiiiiEiii,b7,b7,b7,b7,b7,b7]; -var FUNCTION_TABLE_iiiiid = [b8,__ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcd,__ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEce,__ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwd,__ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwe,b8,b8,b8]; -var FUNCTION_TABLE_iiiiii = [b9,__ZNKSt3__27collateIcE10do_compareEPKcS3_S3_S3_,__ZNKSt3__27collateIwE10do_compareEPKwS3_S3_S3_,__ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcb,__ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcl,__ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcm,__ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPKv,__ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwb,__ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwl,__ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwm,__ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPKv,__ZNKSt3__27codecvtIDic11__mbstate_tE10do_unshiftERS1_PcS4_RS4_,__ZNKSt3__27codecvtIDic11__mbstate_tE9do_lengthERS1_PKcS5_m,__ZNKSt3__27codecvtIwc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_,__ZNKSt3__27codecvtIwc11__mbstate_tE9do_lengthERS1_PKcS5_m,__ZNKSt3__25ctypeIcE9do_narrowEPKcS3_cPc,__ZNKSt3__25ctypeIwE9do_narrowEPKwS3_cPc,__ZNKSt3__27codecvtIcc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_,__ZNKSt3__27codecvtIcc11__mbstate_tE9do_lengthERS1_PKcS5_m,__ZNKSt3__27codecvtIDsc11__mbstate_tE10do_unshiftERS1_PcS4_RS4_,__ZNKSt3__27codecvtIDsc11__mbstate_tE9do_lengthERS1_PKcS5_m,_access_virt_sarray,_access_virt_barray,b9,b9,b9,b9,b9,b9 -,b9,b9,b9]; -var FUNCTION_TABLE_iiiiiid = [b10,__ZNKSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEce,__ZNKSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwe,b10]; -var FUNCTION_TABLE_iiiiiii = [b11,__ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRb,__ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRl,__ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRx,__ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRt,__ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_,__ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRm,__ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRy,__ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRf,__ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRd,__ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRe,__ZNKSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv,__ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRb,__ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRl,__ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRx,__ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRt,__ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_,__ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRm,__ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRy,__ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRf,__ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRd,__ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRe,__ZNKSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv,__ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcx,__ZNKSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcy,__ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwx,__ZNKSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwy,__ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm,__ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm -,__ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm,__ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm,__ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm,__ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm,__ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm,__ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm,__ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm,__ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm,__ZNKSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEcRKNS_12basic_stringIcS3_NS_9allocatorIcEEEE,__ZNKSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwRKNS_12basic_stringIwS3_NS_9allocatorIwEEEE,_request_virt_sarray,_request_virt_barray,b11,b11,b11,b11,b11,b11,b11,b11,b11,b11,b11,b11,b11,b11,b11,b11,b11,b11 -,b11,b11,b11,b11,b11]; -var FUNCTION_TABLE_iiiiiiii = [b12,__ZNKSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPK2tmcc,__ZNKSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPK2tmcc,__ZNKSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe,__ZNKSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIcS3_NS_9allocatorIcEEEE,__ZNKSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe,__ZNKSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIwS3_NS_9allocatorIwEEEE,b12]; -var FUNCTION_TABLE_iiiiiiiii = [b13,__ZNKSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc,__ZNKSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc,__ZNKSt3__27codecvtIDic11__mbstate_tE6do_outERS1_PKDiS5_RS5_PcS7_RS7_,__ZNKSt3__27codecvtIDic11__mbstate_tE5do_inERS1_PKcS5_RS5_PDiS7_RS7_,__ZNKSt3__27codecvtIwc11__mbstate_tE6do_outERS1_PKwS5_RS5_PcS7_RS7_,__ZNKSt3__27codecvtIwc11__mbstate_tE5do_inERS1_PKcS5_RS5_PwS7_RS7_,__ZNKSt3__27codecvtIcc11__mbstate_tE6do_outERS1_PKcS5_RS5_PcS7_RS7_,__ZNKSt3__27codecvtIcc11__mbstate_tE5do_inERS1_PKcS5_RS5_PcS7_RS7_,__ZNKSt3__27codecvtIDsc11__mbstate_tE6do_outERS1_PKDsS5_RS5_PcS7_RS7_,__ZNKSt3__27codecvtIDsc11__mbstate_tE5do_inERS1_PKcS5_RS5_PDsS7_RS7_,b13,b13,b13,b13,b13]; -var FUNCTION_TABLE_v = [b14,__ZL25default_terminate_handlerv,__ZN10__cxxabiv112_GLOBAL__N_110construct_Ev,b14]; -var FUNCTION_TABLE_vi = [b15,__ZN6vision18BinomialPyramid32fD2Ev,__ZN6vision18BinomialPyramid32fD0Ev,__ZN6vision25GaussianScaleSpacePyramidD2Ev,__ZN6vision25GaussianScaleSpacePyramidD0Ev,__ZN6vision9ExceptionD2Ev,__ZN6vision9ExceptionD0Ev,__ZNSt3__214__shared_countD2Ev,__ZNSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEED0Ev,__ZNSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE16__on_zero_sharedEv,__ZNSt3__220__shared_ptr_pointerIPN6vision8KeyframeILi96EEENS_14default_deleteIS3_EENS_9allocatorIS3_EEE21__on_zero_shared_weakEv,__ZNSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEED0Ev,__ZNSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE16__on_zero_sharedEv,__ZNSt3__220__shared_ptr_pointerIPhNS_14default_deleteIhEENS_9allocatorIhEEE21__on_zero_shared_weakEv,__ZNSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEED0Ev,__ZNSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE16__on_zero_sharedEv,__ZNSt3__220__shared_ptr_pointerIPh16NullArrayDeleterIhENS_9allocatorIhEEE21__on_zero_shared_weakEv,__ZNSt3__28ios_baseD2Ev,__ZNSt3__28ios_baseD0Ev,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED2Ev,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEED0Ev,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED2Ev,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEED0Ev,__ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev,__ZNSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev,__ZTv0_n12_NSt3__213basic_istreamIcNS_11char_traitsIcEEED1Ev,__ZTv0_n12_NSt3__213basic_istreamIcNS_11char_traitsIcEEED0Ev,__ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev,__ZNSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev -,__ZTv0_n12_NSt3__213basic_istreamIwNS_11char_traitsIwEEED1Ev,__ZTv0_n12_NSt3__213basic_istreamIwNS_11char_traitsIwEEED0Ev,__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev,__ZNSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev,__ZTv0_n12_NSt3__213basic_ostreamIcNS_11char_traitsIcEEED1Ev,__ZTv0_n12_NSt3__213basic_ostreamIcNS_11char_traitsIcEEED0Ev,__ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev,__ZNSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev,__ZTv0_n12_NSt3__213basic_ostreamIwNS_11char_traitsIwEEED1Ev,__ZTv0_n12_NSt3__213basic_ostreamIwNS_11char_traitsIwEEED0Ev,__ZNSt3__211__stdoutbufIwED0Ev,__ZNSt3__211__stdoutbufIcED0Ev,__ZNSt3__210__stdinbufIwED0Ev,__ZNSt3__210__stdinbufIcED0Ev,__ZNSt3__27collateIcED2Ev,__ZNSt3__27collateIcED0Ev,__ZNSt3__26locale5facet16__on_zero_sharedEv,__ZNSt3__27collateIwED2Ev,__ZNSt3__27collateIwED0Ev,__ZNSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev,__ZNSt3__27num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,__ZNSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev,__ZNSt3__27num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,__ZNSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev,__ZNSt3__27num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,__ZNSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev,__ZNSt3__27num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,__ZNSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev,__ZNSt3__28time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,__ZNSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev -,__ZNSt3__28time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,__ZNSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev,__ZNSt3__28time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,__ZNSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev,__ZNSt3__28time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,__ZNSt3__210moneypunctIcLb0EED2Ev,__ZNSt3__210moneypunctIcLb0EED0Ev,__ZNSt3__210moneypunctIcLb1EED2Ev,__ZNSt3__210moneypunctIcLb1EED0Ev,__ZNSt3__210moneypunctIwLb0EED2Ev,__ZNSt3__210moneypunctIwLb0EED0Ev,__ZNSt3__210moneypunctIwLb1EED2Ev,__ZNSt3__210moneypunctIwLb1EED0Ev,__ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev,__ZNSt3__29money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,__ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev,__ZNSt3__29money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,__ZNSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED2Ev,__ZNSt3__29money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,__ZNSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED2Ev,__ZNSt3__29money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,__ZNSt3__28messagesIcED2Ev,__ZNSt3__28messagesIcED0Ev,__ZNSt3__28messagesIwED2Ev,__ZNSt3__28messagesIwED0Ev,__ZNSt3__26locale5facetD2Ev,__ZNSt3__216__narrow_to_utf8ILm32EED0Ev,__ZNSt3__217__widen_from_utf8ILm32EED0Ev,__ZNSt3__27codecvtIwc11__mbstate_tED2Ev,__ZNSt3__27codecvtIwc11__mbstate_tED0Ev -,__ZNSt3__26locale5__impD2Ev,__ZNSt3__26locale5__impD0Ev,__ZNSt3__25ctypeIcED2Ev,__ZNSt3__25ctypeIcED0Ev,__ZNSt3__28numpunctIcED2Ev,__ZNSt3__28numpunctIcED0Ev,__ZNSt3__28numpunctIwED2Ev,__ZNSt3__28numpunctIwED0Ev,__ZNSt3__26locale5facetD0Ev,__ZNSt3__25ctypeIwED0Ev,__ZNSt3__27codecvtIcc11__mbstate_tED0Ev,__ZNSt3__27codecvtIDsc11__mbstate_tED0Ev,__ZNSt3__27codecvtIDic11__mbstate_tED0Ev,__ZN10__cxxabiv116__shim_type_infoD2Ev,__ZN10__cxxabiv117__class_type_infoD0Ev,__ZNK10__cxxabiv116__shim_type_info5noop1Ev,__ZNK10__cxxabiv116__shim_type_info5noop2Ev,__ZN10__cxxabiv120__si_class_type_infoD0Ev,__ZNSt11logic_errorD2Ev,__ZNSt11logic_errorD0Ev,__ZNSt12length_errorD0Ev,__ZN10__cxxabiv123__fundamental_type_infoD0Ev,__ZN10__cxxabiv121__vmi_class_type_infoD0Ev,_my_error_exit,_jpeg_destroy_decompress,_realize_virt_arrays,_self_destruct,_reset_marker_reader,_reset_input_controller,_start_input_pass_33 -,_finish_input_pass,_prepare_for_output_pass,_finish_output_pass,_finish_pass_1_quant,_new_color_map_1_quant,_new_color_map_2_quant,_start_pass_merged_upsample,_start_pass_dcolor,_start_pass_upsample,_start_pass,_start_pass_phuff_decoder,_start_pass_huff_decoder,_start_input_pass,_start_output_pass,_finish_pass1,_finish_pass2,_init_source,_term_source,_error_exit,_output_message,_reset_error_mgr,_setLogLevel,__ZNSt3__26locale2id6__initEv,__ZNSt3__217__call_once_proxyINS_5tupleIJONS_12_GLOBAL__N_111__fake_bindEEEEEEvPv,__ZNSt3__212__do_nothingEPv,_free,__ZN10__cxxabiv112_GLOBAL__N_19destruct_EPv,b15,b15,b15 -,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15 -,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15 -,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15 -,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15,b15]; -var FUNCTION_TABLE_vid = [b16,_setProjectionNearPlane,_setProjectionFarPlane,_setPattRatio]; -var FUNCTION_TABLE_vii = [b17,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE5imbueERKNS_6localeE,__ZNSt3__211__stdoutbufIwE5imbueERKNS_6localeE,__ZNSt3__211__stdoutbufIcE5imbueERKNS_6localeE,__ZNSt3__210__stdinbufIwE5imbueERKNS_6localeE,__ZNSt3__210__stdinbufIcE5imbueERKNS_6localeE,__ZNKSt3__210moneypunctIcLb0EE11do_groupingEv,__ZNKSt3__210moneypunctIcLb0EE14do_curr_symbolEv,__ZNKSt3__210moneypunctIcLb0EE16do_positive_signEv,__ZNKSt3__210moneypunctIcLb0EE16do_negative_signEv,__ZNKSt3__210moneypunctIcLb0EE13do_pos_formatEv,__ZNKSt3__210moneypunctIcLb0EE13do_neg_formatEv,__ZNKSt3__210moneypunctIcLb1EE11do_groupingEv,__ZNKSt3__210moneypunctIcLb1EE14do_curr_symbolEv,__ZNKSt3__210moneypunctIcLb1EE16do_positive_signEv,__ZNKSt3__210moneypunctIcLb1EE16do_negative_signEv,__ZNKSt3__210moneypunctIcLb1EE13do_pos_formatEv,__ZNKSt3__210moneypunctIcLb1EE13do_neg_formatEv,__ZNKSt3__210moneypunctIwLb0EE11do_groupingEv,__ZNKSt3__210moneypunctIwLb0EE14do_curr_symbolEv,__ZNKSt3__210moneypunctIwLb0EE16do_positive_signEv,__ZNKSt3__210moneypunctIwLb0EE16do_negative_signEv,__ZNKSt3__210moneypunctIwLb0EE13do_pos_formatEv,__ZNKSt3__210moneypunctIwLb0EE13do_neg_formatEv,__ZNKSt3__210moneypunctIwLb1EE11do_groupingEv,__ZNKSt3__210moneypunctIwLb1EE14do_curr_symbolEv,__ZNKSt3__210moneypunctIwLb1EE16do_positive_signEv,__ZNKSt3__210moneypunctIwLb1EE16do_negative_signEv -,__ZNKSt3__210moneypunctIwLb1EE13do_pos_formatEv,__ZNKSt3__210moneypunctIwLb1EE13do_neg_formatEv,__ZNKSt3__28messagesIcE8do_closeEl,__ZNKSt3__28messagesIwE8do_closeEl,__ZNKSt3__28numpunctIcE11do_groupingEv,__ZNKSt3__28numpunctIcE11do_truenameEv,__ZNKSt3__28numpunctIcE12do_falsenameEv,__ZNKSt3__28numpunctIwE11do_groupingEv,__ZNKSt3__28numpunctIwE11do_truenameEv,__ZNKSt3__28numpunctIwE12do_falsenameEv,_jpeg_stdio_src,_free_pool,_close_backing_store,_start_pass_1_quant,_start_pass_2_quant,_start_pass_dpost,_start_pass_main_36,_skip_input_data,_emit_message,_format_message,_setThresholdMode,_setThreshold,_setPatternDetectionMode,_setMatrixCodeType,_setLabelingMode,_setImageProcMode,__ZN10emscripten8internal7InvokerIvJiEE6invokeEPFviEi,_pop_arg_long_double,b17,b17 -,b17,b17,b17,b17,b17]; -var FUNCTION_TABLE_viid = [b18,__ZN10emscripten8internal7InvokerIvJidEE6invokeEPFvidEid,__ZN10emscripten8internal7InvokerIvJifEE6invokeEPFvifEif,b18]; -var FUNCTION_TABLE_viii = [b19,_jpeg_CreateDecompress,__ZN10emscripten8internal7InvokerIvJiiEE6invokeEPFviiEii,b19]; -var FUNCTION_TABLE_viiii = [b20,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE7seekposENS_4fposI11__mbstate_tEEj,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE7seekposENS_4fposI11__mbstate_tEEj,__ZNKSt3__27collateIcE12do_transformEPKcS3_,__ZNKSt3__27collateIwE12do_transformEPKwS3_,__ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,__ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,__ZNK10__cxxabiv121__vmi_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,_arLog,_h2v2_merged_upsample,_h2v1_merged_upsample,_noop_upsample,_fullsize_upsample,_h2v1_fancy_upsample,_h2v1_upsample,_h2v2_fancy_upsample,_h2v2_upsample,_int_upsample,_process_data_context_main,_process_data_simple_main_37,_process_data_crank_post,_prescan_quantize,_pass2_no_dither,_pass2_fs_dither,_color_quantize3,_color_quantize,_quantize_ord_dither,_quantize3_ord_dither,_quantize_fs_dither -,b20,b20,b20]; -var FUNCTION_TABLE_viiiii = [b21,__ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,__ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,__ZNK10__cxxabiv121__vmi_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,_read_backing_store,_write_backing_store,_grayscale_convert_29,_ycc_rgb_convert,_gray_rgb_convert,_null_convert_30,_ycck_cmyk_convert,_jpeg_idct_1x1,_jpeg_idct_2x2,_jpeg_idct_4x4,_jpeg_idct_islow,_jpeg_idct_ifast,_jpeg_idct_float,b21,b21,b21,b21,b21,b21,b21,b21,b21,b21,b21,b21 -,b21,b21,b21]; -var FUNCTION_TABLE_viiiiii = [b22,__ZNSt3__215basic_streambufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj,__ZNSt3__215basic_streambufIwNS_11char_traitsIwEEE7seekoffExNS_8ios_base7seekdirEj,__ZNKSt3__28messagesIcE6do_getEliiRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE,__ZNKSt3__28messagesIwE6do_getEliiRKNS_12basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEE,__ZNK10__cxxabiv117__class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib,__ZNK10__cxxabiv120__si_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib,__ZNK10__cxxabiv121__vmi_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib]; -var FUNCTION_TABLE_viiiiiii = [b23,_merged_2v_upsample,_merged_1v_upsample,_sep_upsample,_post_process_1pass,_post_process_prepass,_post_process_2pass,b23]; - - return { __GLOBAL__I_000101: __GLOBAL__I_000101, __GLOBAL__sub_I_ARToolKitJS_cpp: __GLOBAL__sub_I_ARToolKitJS_cpp, __GLOBAL__sub_I_bind_cpp: __GLOBAL__sub_I_bind_cpp, __GLOBAL__sub_I_iostream_cpp: __GLOBAL__sub_I_iostream_cpp, __ZSt18uncaught_exceptionv: __ZSt18uncaught_exceptionv, ___cxa_can_catch: ___cxa_can_catch, ___cxa_demangle: ___cxa_demangle, ___cxa_is_pointer_type: ___cxa_is_pointer_type, ___emscripten_environ_constructor: ___emscripten_environ_constructor, ___errno_location: ___errno_location, ___getTypeName: ___getTypeName, ___muldi3: ___muldi3, ___udivdi3: ___udivdi3, __get_daylight: __get_daylight, __get_environ: __get_environ, __get_timezone: __get_timezone, __get_tzname: __get_tzname, _bitshift64Lshr: _bitshift64Lshr, _bitshift64Shl: _bitshift64Shl, _emscripten_replace_memory: _emscripten_replace_memory, _fflush: _fflush, _free: _free, _i64Add: _i64Add, _i64Subtract: _i64Subtract, _llvm_bswap_i32: _llvm_bswap_i32, _malloc: _malloc, _memcpy: _memcpy, _memmove: _memmove, _memset: _memset, _pthread_cond_broadcast: _pthread_cond_broadcast, _realloc: _realloc, _roundf: _roundf, _saveSetjmp: _saveSetjmp, _sbrk: _sbrk, _setThrew: _setThrew, _testSetjmp: _testSetjmp, dynCall_di: dynCall_di, dynCall_dii: dynCall_dii, dynCall_i: dynCall_i, dynCall_ii: dynCall_ii, dynCall_iidiiii: dynCall_iidiiii, dynCall_iii: dynCall_iii, dynCall_iiii: dynCall_iiii, dynCall_iiiii: dynCall_iiiii, dynCall_iiiiid: dynCall_iiiiid, dynCall_iiiiii: dynCall_iiiiii, dynCall_iiiiiid: dynCall_iiiiiid, dynCall_iiiiiii: dynCall_iiiiiii, dynCall_iiiiiiii: dynCall_iiiiiiii, dynCall_iiiiiiiii: dynCall_iiiiiiiii, dynCall_v: dynCall_v, dynCall_vi: dynCall_vi, dynCall_vid: dynCall_vid, dynCall_vii: dynCall_vii, dynCall_viid: dynCall_viid, dynCall_viii: dynCall_viii, dynCall_viiii: dynCall_viiii, dynCall_viiiii: dynCall_viiiii, dynCall_viiiiii: dynCall_viiiiii, dynCall_viiiiiii: dynCall_viiiiiii, establishStackSpace: establishStackSpace, stackAlloc: stackAlloc, stackRestore: stackRestore, stackSave: stackSave }; -}) -// EMSCRIPTEN_END_ASM -(asmGlobalArg, asmLibraryArg, buffer); - -var real___GLOBAL__I_000101 = asm["__GLOBAL__I_000101"]; +function std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20unsigned_20long_20long_29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_put_integral_unsigned_20long_20long__28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20unsigned_20long_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, 31431) | 0; +} -asm["__GLOBAL__I_000101"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real___GLOBAL__I_000101.apply(null, arguments); -}; +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20unsigned_20long_29($0, $1, $2); +} -var real___GLOBAL__sub_I_ARToolKitJS_cpp = asm["__GLOBAL__sub_I_ARToolKitJS_cpp"]; +function std____2____stdoutbuf_char___sync_28_29($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $4 = $1 + 16 | 0; + label$1: { + while (1) { + $5 = std____2__codecvt_char_2c_20char_2c_20__mbstate_t___unshift_28__mbstate_t__2c_20char__2c_20char__2c_20char___29_20const(HEAP32[$0 + 36 >> 2], HEAP32[$0 + 40 >> 2], $1 + 8 | 0, $4, $1 + 4 | 0); + $2 = -1; + $3 = HEAP32[$1 + 4 >> 2] - ($1 + 8 | 0) | 0; + if (($3 | 0) != (fwrite($1 + 8 | 0, 1, $3, HEAP32[$0 + 32 >> 2]) | 0)) { + break label$1; + } + label$3: { + switch ($5 - 1 | 0) { + case 1: + break label$1; -asm["__GLOBAL__sub_I_ARToolKitJS_cpp"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real___GLOBAL__sub_I_ARToolKitJS_cpp.apply(null, arguments); -}; + case 0: + continue; -var real___GLOBAL__sub_I_bind_cpp = asm["__GLOBAL__sub_I_bind_cpp"]; + default: + break label$3; + } + } + break; + } + $2 = fflush(HEAP32[$0 + 32 >> 2]) ? -1 : 0; + } + __stack_pointer = $1 + 16 | 0; + return $2 | 0; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $28anonymous_20namespace_29__itanium_demangle__ParameterPack__initializePackExpansion_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1); + $2 = HEAP32[$1 + 12 >> 2]; + $0 = $0 + 8 | 0; + if ($2 >>> 0 < $28anonymous_20namespace_29__itanium_demangle__NodeArray__size_28_29_20const($0) >>> 0) { + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__hasRHSComponent_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($28anonymous_20namespace_29__itanium_demangle__NodeArray__operator_5b_5d_28unsigned_20long_29_20const($0, $2), $1); + } + return $3 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__TemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__TemplateArgs__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__TemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__EnableIfAttr_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__EnableIfAttr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__EnableIfAttr_2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray__28_28anonymous_20namespace_29__itanium_demangle__NodeArray___29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b18_5d__28char_20const_20_28__29_20_5b18_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b16_5d__28char_20const_20_28__29_20_5b16_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b15_5d__28char_20const_20_28__29_20_5b15_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b14_5d__28char_20const_20_28__29_20_5b14_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b13_5d__28char_20const_20_28__29_20_5b13_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b12_5d__28char_20const_20_28__29_20_5b12_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________destruct_at_end_28vision__Point3d_float___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 12 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____destroy_vision__Point3d_float__2c_20void__28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___29($3, vision__Point3d_float___20std____2____to_address_vision__Point3d_float___28vision__Point3d_float___29($2)); + continue; + } + break; + } +} -asm["__GLOBAL__sub_I_bind_cpp"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real___GLOBAL__sub_I_bind_cpp.apply(null, arguments); -}; +function $28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 37339); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____operator__28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char___20const__29($0, $1) { + if (($0 | 0) != ($1 | 0)) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______copy_assign_alloc_28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char___20const__29($0, $1); + std____2__enable_if___is_cpp17_forward_iterator_unsigned_20char____value_20___20is_constructible_unsigned_20char_2c_20std____2__iterator_traits_unsigned_20char____reference___value_2c_20void___type_20std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____assign_unsigned_20char___28unsigned_20char__2c_20unsigned_20char__29($0, HEAP32[$1 >> 2], HEAP32[$1 + 4 >> 2]); + } + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b9_5d__28char_20const_20_28__29_20_5b9_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b8_5d__28char_20const_20_28__29_20_5b8_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b6_5d__28char_20const_20_28__29_20_5b6_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b5_5d__28char_20const_20_28__29_20_5b5_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b4_5d__28char_20const_20_28__29_20_5b4_5d_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16); + $1 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, $1); + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____28std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__vector_float_2c_20std____2__allocator_float______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_float_2c_20std____2__allocator_float____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_float_2c_20std____2__allocator_float____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_float_2c_20std____2__allocator_float______throw_length_error_28_29_20const($0); + abort(); +} -var real___GLOBAL__sub_I_iostream_cpp = asm["__GLOBAL__sub_I_iostream_cpp"]; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________get_deleter_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________second_28_29($0); +} -asm["__GLOBAL__sub_I_iostream_cpp"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real___GLOBAL__sub_I_iostream_cpp.apply(null, arguments); -}; +function $28anonymous_20namespace_29__itanium_demangle__MemberExpr__MemberExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2, $3) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 52, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 69532; + $1 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$0 + 20 >> 2] = $3; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} -var real___ZSt18uncaught_exceptionv = asm["__ZSt18uncaught_exceptionv"]; +function $28anonymous_20namespace_29__itanium_demangle__BinaryExpr__BinaryExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2, $3) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 48, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 68368; + $1 = HEAP32[$2 + 4 >> 2]; + $2 = HEAP32[$2 >> 2]; + HEAP32[$0 + 20 >> 2] = $3; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} -asm["__ZSt18uncaught_exceptionv"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real___ZSt18uncaught_exceptionv.apply(null, arguments); -}; +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______base_destruct_at_end_28vision__PriorityQueueItem_96___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 8 | 0; + void_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____destroy_vision__PriorityQueueItem_96__2c_20void__28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___29(std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______alloc_28_29($0), vision__PriorityQueueItem_96___20std____2____to_address_vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__StdQualifiedName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 37336); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + __stack_pointer = $2 + 16 | 0; +} -var real____cxa_can_catch = asm["___cxa_can_catch"]; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__StdQualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__StdQualifiedName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__StdQualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} -asm["___cxa_can_catch"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real____cxa_can_catch.apply(null, arguments); -}; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________first_28_29_20const($0) >> 2] + ($1 << 2) | 0; +} -var real____cxa_demangle = asm["___cxa_demangle"]; +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($0) { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______is_long_28_29_20const($0)) { + std____2__allocator_traits_std____2__allocator_wchar_t____deallocate_28std____2__allocator_wchar_t___2c_20wchar_t__2c_20unsigned_20long_29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_pointer_28_29($0), std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_cap_28_29_20const($0)); + } + return $0; +} -asm["___cxa_demangle"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real____cxa_demangle.apply(null, arguments); -}; +function emscripten__internal__Invoker_int_2c_20int_2c_20int_2c_20int___invoke_28int_20_28__29_28int_2c_20int_2c_20int_29_2c_20int_2c_20int_2c_20int_29($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + var $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + wasm2js_i32$0 = $4, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($1), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($2), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($3)) | 0, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $0 = emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29($4 + 12 | 0); + __stack_pointer = $4 + 16 | 0; + return $0 | 0; +} -var real____cxa_is_pointer_type = asm["___cxa_is_pointer_type"]; +function $28anonymous_20namespace_29__itanium_demangle__LiteralOperator__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38436); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + __stack_pointer = $2 + 16 | 0; +} -asm["___cxa_is_pointer_type"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real____cxa_is_pointer_type.apply(null, arguments); -}; +function std____2____stdinbuf_char___imbue_28std____2__locale_20const__29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = std____2__codecvt_char_2c_20char_2c_20__mbstate_t__20const__20std____2__use_facet_std____2__codecvt_char_2c_20char_2c_20__mbstate_t___28std____2__locale_20const__29($1); + HEAP32[$0 + 36 >> 2] = $1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__codecvt_char_2c_20char_2c_20__mbstate_t___encoding_28_29_20const($1), + HEAP32[wasm2js_i32$0 + 44 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__codecvt_char_2c_20char_2c_20__mbstate_t___always_noconv_28_29_20const(HEAP32[$0 + 36 >> 2]), + HEAP8[wasm2js_i32$0 + 53 | 0] = wasm2js_i32$1; + if (HEAP32[$0 + 44 >> 2] >= 9) { + std____2____throw_runtime_error_28char_20const__29(29272); + abort(); + } +} -var real____emscripten_environ_constructor = asm["___emscripten_environ_constructor"]; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PixelVectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__PixelVectorType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PixelVectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} -asm["___emscripten_environ_constructor"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real____emscripten_environ_constructor.apply(null, arguments); -}; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__LiteralOperator_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__LiteralOperator__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__LiteralOperator_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} -var real____errno_location = asm["___errno_location"]; +function bool_20vision__QuadrilateralConvex_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2, $3) { + var $4 = Math_fround(0); + $4 = float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2); + $2 = (((float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($1, $2, $3) > Math_fround(0) ? 1 : -1) + ($4 > Math_fround(0) ? 1 : -1) | 0) + (float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($2, $3, $0) > Math_fround(0) ? 1 : -1) | 0) + (float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($3, $0, $1) > Math_fround(0) ? 1 : -1) | 0; + $0 = $2; + $2 = $2 >> 31; + return (($0 ^ $2) - $2 | 0) == 4; +} -asm["___errno_location"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real____errno_location.apply(null, arguments); -}; +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack__hasFunctionSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $28anonymous_20namespace_29__itanium_demangle__ParameterPack__initializePackExpansion_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1); + $2 = HEAP32[$1 + 12 >> 2]; + $0 = $0 + 8 | 0; + if ($2 >>> 0 < $28anonymous_20namespace_29__itanium_demangle__NodeArray__size_28_29_20const($0) >>> 0) { + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__hasFunction_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($28anonymous_20namespace_29__itanium_demangle__NodeArray__operator_5b_5d_28unsigned_20long_29_20const($0, $2), $1); + } + return $3 | 0; +} -var real____getTypeName = asm["___getTypeName"]; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView___28_28anonymous_20namespace_29__itanium_demangle__StringView__29($0 + 408 | 0, $1); +} -asm["___getTypeName"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real____getTypeName.apply(null, arguments); -}; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__28_28anonymous_20namespace_29__itanium_demangle__StringView___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20_28anonymous_20namespace_29__itanium_demangle__StringView__28_28anonymous_20namespace_29__itanium_demangle__StringView___29($0 + 408 | 0, $1); +} -var real____muldi3 = asm["___muldi3"]; +function $28anonymous_20namespace_29__itanium_demangle__BinaryFPType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 29739); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + __stack_pointer = $2 + 16 | 0; +} -asm["___muldi3"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real____muldi3.apply(null, arguments); -}; +function std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_________split_buffer_28_29($0) { + std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____deallocate_28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___2c_20unsigned_20long_29(std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______capacity_28_29_20const($0)); + } + return $0; +} -var real____udivdi3 = asm["___udivdi3"]; +function $28anonymous_20namespace_29__itanium_demangle__BracedExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__BracedExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool___29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__BracedExpr__BracedExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20bool_29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20), HEAP32[$1 >> 2], HEAP32[$2 >> 2], HEAPU8[$3 | 0]); +} -asm["___udivdi3"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real____udivdi3.apply(null, arguments); -}; +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________clear_28_29($0) { + std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________base_destruct_at_end_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, HEAP32[$0 >> 2]); +} -var real___get_daylight = asm["__get_daylight"]; +function std____2____stdoutbuf_char___xsputn_28char_20const__2c_20long_29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_i32$2 = 0; + label$1: { + if (!HEAPU8[$0 + 44 | 0]) { + $2 = ($2 | 0) > 0 ? $2 : 0; + while (1) { + if (($2 | 0) == ($3 | 0)) { + break label$1; + } + if (((wasm2js_i32$1 = $0, wasm2js_i32$2 = std____2__char_traits_char___to_int_type_28char_29(HEAP8[$1 | 0]), + wasm2js_i32$0 = HEAP32[HEAP32[$0 >> 2] + 52 >> 2], FUNCTION_TABLE[wasm2js_i32$0](wasm2js_i32$1 | 0, wasm2js_i32$2 | 0) | 0) | 0) == (std____2__char_traits_char___eof_28_29() | 0)) { + return $3 | 0; + } else { + $1 = $1 + 1 | 0; + $3 = $3 + 1 | 0; + continue; + } + } + } + $2 = fwrite($1, 1, $2, HEAP32[$0 + 32 >> 2]); + } + return $2 | 0; +} -asm["__get_daylight"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real___get_daylight.apply(null, arguments); -}; +function $28anonymous_20namespace_29__itanium_demangle__ThrowExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38072); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + __stack_pointer = $2 + 16 | 0; +} -var real___get_environ = asm["__get_environ"]; +function std____2____hash_table_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20AR2SurfaceSetT________node_alloc_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______second_28_29($0 + 8 | 0); +} -asm["__get_environ"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real___get_environ.apply(null, arguments); -}; +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____push_back_28vision__PriorityQueueItem_96__20const__29($0, $1) { + if (HEAP32[$0 + 4 >> 2] != HEAP32[std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______end_cap_28_29($0) >> 2]) { + void_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______construct_one_at_end_vision__PriorityQueueItem_96__20const___28vision__PriorityQueueItem_96__20const__29($0, $1); + return; + } + void_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______push_back_slow_path_vision__PriorityQueueItem_96__20const___28vision__PriorityQueueItem_96__20const__29($0, $1); +} -var real___get_timezone = asm["__get_timezone"]; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__StringLiteral_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__StringLiteral__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__StringLiteral_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} -asm["__get_timezone"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real___get_timezone.apply(null, arguments); -}; +function std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char______get_deleter_28std__type_info_20const__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0; + if (HEAP32[$1 + 4 >> 2] == 27836) { + $2 = std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char____second_28_29_20const(std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char____first_28_29_20const($0 + 12 | 0)); + } + return $2 | 0; +} -var real___get_tzname = asm["__get_tzname"]; +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} -asm["__get_tzname"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real___get_tzname.apply(null, arguments); -}; +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_float_2c_200_2c_20false_____compressed_pair_elem_float_2c_20void__28float___29($0, $1)); +} -var real__bitshift64Lshr = asm["_bitshift64Lshr"]; +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack__hasArraySlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $28anonymous_20namespace_29__itanium_demangle__ParameterPack__initializePackExpansion_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1); + $2 = HEAP32[$1 + 12 >> 2]; + $0 = $0 + 8 | 0; + if ($2 >>> 0 < $28anonymous_20namespace_29__itanium_demangle__NodeArray__size_28_29_20const($0) >>> 0) { + $3 = $28anonymous_20namespace_29__itanium_demangle__Node__hasArray_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($28anonymous_20namespace_29__itanium_demangle__NodeArray__operator_5b_5d_28unsigned_20long_29_20const($0, $2), $1); + } + return $3 | 0; +} -asm["_bitshift64Lshr"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__bitshift64Lshr.apply(null, arguments); -}; +function std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______compressed_pair_std__nullptr_t_2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____28std__nullptr_t___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul___29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_std____2__locale__facet___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_201_2c_20false_____compressed_pair_elem_std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20void__28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___29($1 + 4 | 0, $2); + return $1; +} -var real__bitshift64Shl = asm["_bitshift64Shl"]; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NoexceptSpec_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NoexceptSpec__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NoexceptSpec_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} -asm["_bitshift64Shl"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__bitshift64Shl.apply(null, arguments); -}; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__BinaryFPType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__BinaryFPType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__BinaryFPType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} -var real__fflush = asm["_fflush"]; +function $28anonymous_20namespace_29__itanium_demangle__CtorVtableSpecialName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CtorVtableSpecialName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__CtorVtableSpecialName__CtorVtableSpecialName_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} -asm["_fflush"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__fflush.apply(null, arguments); -}; +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_20double_29_20const($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; + return std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_______do_put_floating_point_long_20double__28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_20double_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, $6, $7, 35319) | 0; +} -var real__free = asm["_free"]; +function std____2__vector_int_2c_20std____2__allocator_int______recommend_28unsigned_20long_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $3 = std____2__vector_int_2c_20std____2__allocator_int____max_size_28_29_20const($0); + if ($3 >>> 0 >= $1 >>> 0) { + $1 = std____2__vector_int_2c_20std____2__allocator_int____capacity_28_29_20const($0); + if ($1 >>> 0 < $3 >>> 1 >>> 0) { + HEAP32[$2 + 8 >> 2] = $1 << 1; + $3 = HEAP32[unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($2 + 8 | 0, $2 + 12 | 0) >> 2]; + } + __stack_pointer = $2 + 16 | 0; + return $3; + } + std____2__vector_int_2c_20std____2__allocator_int______throw_length_error_28_29_20const($0); + abort(); +} -asm["_free"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__free.apply(null, arguments); -}; +function prescan_quantize($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; + if (($3 | 0) > 0) { + $6 = HEAP32[$0 + 112 >> 2]; + $7 = HEAP32[HEAP32[$0 + 484 >> 2] + 24 >> 2]; + while (1) { + if ($6) { + $0 = HEAP32[($4 << 2) + $1 >> 2]; + $5 = $6; + while (1) { + $2 = (HEAP32[(HEAPU8[$0 | 0] >>> 1 & 124) + $7 >> 2] + (HEAPU8[$0 + 1 | 0] << 4 & 4032) | 0) + (HEAPU8[$0 + 2 | 0] >>> 2 & 62) | 0; + $8 = $2; + $2 = HEAPU16[$2 >> 1]; + $9 = $2; + $2 = $2 + 1 | 0; + HEAP16[$8 >> 1] = ($2 & 65535) != ($2 | 0) ? $9 : $2; + $0 = $0 + 3 | 0; + $5 = $5 - 1 | 0; + if ($5) { + continue; + } + break; + } + } + $4 = $4 + 1 | 0; + if (($4 | 0) != ($3 | 0)) { + continue; + } + break; + } + } +} -var real__i64Add = asm["_i64Add"]; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__PointerType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__PointerType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PointerType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} -asm["_i64Add"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__i64Add.apply(null, arguments); -}; +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__FeaturePoint__2c_20vision__FeaturePoint___28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20vision__FeaturePoint___29($0, $1, $2, $3) { + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 20 | 0; + void_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____construct_vision__FeaturePoint_2c_20vision__FeaturePoint_2c_20void__28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20vision__FeaturePoint___29($0, vision__FeaturePoint__20std____2____to_address_vision__FeaturePoint__28vision__FeaturePoint__29(HEAP32[$3 >> 2] - 20 | 0), $2); + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] - 20; + continue; + } + break; + } +} -var real__i64Subtract = asm["_i64Subtract"]; +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________compressed_pair_true_2c_20void__28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29(std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0)); +} -asm["_i64Subtract"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__i64Subtract.apply(null, arguments); -}; +function $28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl__NonTypeTemplateParamDecl_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} -var real__llvm_bswap_i32 = asm["_llvm_bswap_i32"]; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__LambdaExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__LambdaExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__LambdaExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} -asm["_llvm_bswap_i32"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__llvm_bswap_i32.apply(null, arguments); -}; +function void_20std____2____construct_range_forward_std____2__allocator_vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20vision__FeaturePoint___28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20vision__FeaturePoint___29($0, $1, $2, $3) { + while (1) { + if (($1 | 0) != ($2 | 0)) { + void_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____construct_vision__FeaturePoint_2c_20vision__FeaturePoint__2c_20void__28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20vision__FeaturePoint__29($0, vision__FeaturePoint__20std____2____to_address_vision__FeaturePoint__28vision__FeaturePoint__29(HEAP32[$3 >> 2]), $1); + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] + 20; + $1 = $1 + 20 | 0; + continue; + } + break; + } +} -var real__malloc = asm["_malloc"]; +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____vector_28_29($0) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____deallocate_28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20unsigned_20long_29(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____capacity_28_29_20const($0)); + } + return $0; +} -asm["_malloc"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__malloc.apply(null, arguments); -}; +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______reset_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____29($0, 0); + return $0; +} -var real__memmove = asm["_memmove"]; +function std____2__enable_if_is_same_std____2__remove_const__28anonymous_20namespace_29__itanium_demangle__Node_20const____type_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const____value_20___20is_trivially_copy_assignable__28anonymous_20namespace_29__itanium_demangle__Node_20const____value_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const_____type_20std____2____copy__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const___28_28anonymous_20namespace_29__itanium_demangle__Node_20const___2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const___2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const___29($0, $1, $2) { + if (($0 | 0) != ($1 | 0)) { + memmove($2, $0, $1 - $0 | 0); + } +} -asm["_memmove"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__memmove.apply(null, arguments); -}; +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__20const__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + if (($2 | 0) == HEAP32[$0 + 8 >> 2]) { + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___reserve_28unsigned_20long_29($0, $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___size_28_29_20const($0) << 1); + $2 = HEAP32[$0 + 4 >> 2]; + } + $1 = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = $2 + 4; + HEAP32[$2 >> 2] = $1; +} -var real__pthread_cond_broadcast = asm["_pthread_cond_broadcast"]; +function void_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____construct_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4) { + std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_____pair_int_20const___28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const___2c_20std____2__tuple___29($1, HEAP32[$3 >> 2]); +} -asm["_pthread_cond_broadcast"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__pthread_cond_broadcast.apply(null, arguments); -}; +function std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______destruct_at_end_28vision__FeaturePoint__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 20 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____destroy_vision__FeaturePoint_2c_20void__28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__29($3, vision__FeaturePoint__20std____2____to_address_vision__FeaturePoint__28vision__FeaturePoint__29($2)); + continue; + } + break; + } +} -var real__realloc = asm["_realloc"]; +function $28anonymous_20namespace_29__itanium_demangle__PointerToMemberType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PointerToMemberType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__PointerToMemberType__PointerToMemberType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} -asm["_realloc"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__realloc.apply(null, arguments); -}; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ThrowExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__ThrowExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ThrowExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} -var real__roundf = asm["_roundf"]; +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____28std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} -asm["_roundf"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__roundf.apply(null, arguments); -}; +function std____2__operator___28std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20const__2c_20std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20const__29($0, $1) { + return std____2__operator___28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__2c_20std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__29($0, $1); +} -var real__saveSetjmp = asm["_saveSetjmp"]; +function std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________allocator_28_29($0); +} -asm["_saveSetjmp"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__saveSetjmp.apply(null, arguments); -}; +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_float_2c_200_2c_20false_____compressed_pair_elem_float_2c_20void__28float___29($0, $1)); +} -var real__sbrk = asm["_sbrk"]; +function std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_201_2c_20false_____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20void__28std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______29($0, $1) { + var $2 = 0, $3 = 0; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + $3 = $1; + $1 = $0; + HEAP32[$1 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $2; + return $1; +} -asm["_sbrk"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__sbrk.apply(null, arguments); -}; +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__DtorName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__DtorName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__DtorName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0 + 408 | 0, $1); +} -var real__setThrew = asm["_setThrew"]; +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_20unsigned_20long_29($0, $1, $2); +} -asm["_setThrew"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__setThrew.apply(null, arguments); -}; +function std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________deallocate_28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, Math_imul($2, 12), 4); +} -var real__testSetjmp = asm["_testSetjmp"]; +function $28anonymous_20namespace_29__itanium_demangle__ArraySubscriptExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ArraySubscriptExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__ArraySubscriptExpr__ArraySubscriptExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} -asm["_testSetjmp"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real__testSetjmp.apply(null, arguments); -}; +function std____2__vector_int_2c_20std____2__allocator_int______annotate_new_28unsigned_20long_29_20const($0, $1) { + std____2__vector_int_2c_20std____2__allocator_int______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0), std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____capacity_28_29_20const($0) << 2) | 0, std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____capacity_28_29_20const($0) << 2) | 0, std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0) + ($1 << 2) | 0); +} -var real_establishStackSpace = asm["establishStackSpace"]; +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______node_alloc_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______second_28_29($0 + 8 | 0); +} -asm["establishStackSpace"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real_establishStackSpace.apply(null, arguments); -}; +function std____2__vector_int_2c_20std____2__allocator_int______annotate_shrink_28unsigned_20long_29_20const($0, $1) { + std____2__vector_int_2c_20std____2__allocator_int______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0), std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____capacity_28_29_20const($0) << 2) | 0, std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0) + ($1 << 2) | 0, std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0) + (std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0) << 2) | 0); +} -var real_stackAlloc = asm["stackAlloc"]; +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} -asm["stackAlloc"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real_stackAlloc.apply(null, arguments); -}; +function std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20long_20long_29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_put_integral_long_20long__28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20long_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, 31431) | 0; +} -var real_stackRestore = asm["stackRestore"]; +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} -asm["stackRestore"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real_stackRestore.apply(null, arguments); -}; +function std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t______compressed_pair_std____2____default_init_tag_2c_20std____2__allocator_wchar_t__20const___28std____2____default_init_tag___2c_20std____2__allocator_wchar_t__20const__29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_wchar_t__2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_wchar_t__20const__2c_20void__28std____2__allocator_wchar_t__20const__29(std____2____compressed_pair_elem_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_200_2c_20false_____compressed_pair_elem_28std____2____default_init_tag_29($0), $2); +} -var real_stackSave = asm["stackSave"]; +function $28anonymous_20namespace_29__itanium_demangle__ReferenceType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ReferenceType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__ReferenceType__ReferenceType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} -asm["stackSave"] = function() { - assert(runtimeInitialized, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)"); - assert(!runtimeExited, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)"); - return real_stackSave.apply(null, arguments); -}; +function vision__Logger__write_28vision__LoggerPriorityLevel_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29($0, $1, $2) { + var $3 = 0, $4 = 0; + while (1) { + if (std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____size_28_29_20const($0) >>> 0 > $3 >>> 0) { + $4 = std____2__shared_ptr_vision__FrontendSinkFilter___operator___28_29_20const(std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____operator_5b_5d_28unsigned_20long_29($0, $3)); + FUNCTION_TABLE[HEAP32[HEAP32[$4 >> 2] + 8 >> 2]]($4, $1, $2); + $3 = $3 + 1 | 0; + continue; + } + break; + } +} -var __GLOBAL__I_000101 = Module["__GLOBAL__I_000101"] = asm["__GLOBAL__I_000101"]; +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________max_size_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20void__28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______20const__29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________max_size_28_29_20const($0); +} -var __GLOBAL__sub_I_ARToolKitJS_cpp = Module["__GLOBAL__sub_I_ARToolKitJS_cpp"] = asm["__GLOBAL__sub_I_ARToolKitJS_cpp"]; +function float_20vision__Determinant3x3_float__28float_20const__29($0) { + var $1 = Math_fround(0), $2 = Math_fround(0); + $1 = float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$0 + 16 >> 2], HEAPF32[$0 + 20 >> 2], HEAPF32[$0 + 28 >> 2], HEAPF32[$0 + 32 >> 2]); + $2 = float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$0 + 12 >> 2], HEAPF32[$0 + 20 >> 2], HEAPF32[$0 + 24 >> 2], HEAPF32[$0 + 32 >> 2]); + return Math_fround(Math_fround(float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29(HEAPF32[$0 + 12 >> 2], HEAPF32[$0 + 16 >> 2], HEAPF32[$0 + 24 >> 2], HEAPF32[$0 + 28 >> 2]) * HEAPF32[$0 + 8 >> 2]) + Math_fround(Math_fround($1 * HEAPF32[$0 >> 2]) - Math_fround($2 * HEAPF32[$0 + 4 >> 2]))); +} -var __GLOBAL__sub_I_bind_cpp = Module["__GLOBAL__sub_I_bind_cpp"] = asm["__GLOBAL__sub_I_bind_cpp"]; +function std____2____split_buffer_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; + return $0; +} -var __GLOBAL__sub_I_iostream_cpp = Module["__GLOBAL__sub_I_iostream_cpp"] = asm["__GLOBAL__sub_I_iostream_cpp"]; +function $28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs__NameWithTemplateArgs_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} -var __ZSt18uncaught_exceptionv = Module["__ZSt18uncaught_exceptionv"] = asm["__ZSt18uncaught_exceptionv"]; +function $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + if (!HEAPU8[$0 + 16 | 0]) { + $3 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool___SwapAndRestore_28bool__2c_20bool_29($2 + 8 | 0, $0 + 16 | 0, 1); + $4 = $28anonymous_20namespace_29__itanium_demangle__Node__hasRHSComponent_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool____SwapAndRestore_28_29($3); + } + __stack_pointer = $2 + 16 | 0; + return $4 | 0; +} -var ___cxa_can_catch = Module["___cxa_can_catch"] = asm["___cxa_can_catch"]; +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_______get_year4_28int__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__29_20const($0, $1, $2, $3, $4, $5) { + $5 = int_20std____2____get_up_to_n_digits_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20unsigned_20int__2c_20std____2__ctype_char__20const__2c_20int_29($2, $3, $4, $5, 4); + if (!(HEAPU8[$4 | 0] & 4)) { + HEAP32[$1 >> 2] = $5 - 1900; + } +} -var ___cxa_demangle = Module["___cxa_demangle"] = asm["___cxa_demangle"]; +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const__2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const__29_20const($0, $1, $2) { + return std____2__equal_to_int___operator_28_29_28int_20const__2c_20int_20const__29_20const($0, std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______get_value_28_29_20const($1), std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______get_value_28_29_20const($2)); +} -var ___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = asm["___cxa_is_pointer_type"]; +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_200_2c_20false_____get_28_29_20const($0); +} -var ___emscripten_environ_constructor = Module["___emscripten_environ_constructor"] = asm["___emscripten_environ_constructor"]; +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20unsigned_20long_20long_29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_______do_put_integral_unsigned_20long_20long__28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20unsigned_20long_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, 31431) | 0; +} -var ___errno_location = Module["___errno_location"] = asm["___errno_location"]; +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} -var ___getTypeName = Module["___getTypeName"] = asm["___getTypeName"]; +function std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20unsigned_20long_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + return std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_put_integral_unsigned_20long__28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20unsigned_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, 31496) | 0; +} -var ___muldi3 = Module["___muldi3"] = asm["___muldi3"]; +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} -var ___udivdi3 = Module["___udivdi3"] = asm["___udivdi3"]; +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______data_28_29_20const($0) { + return std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____20std____2____to_address_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29(HEAP32[$0 >> 2]); +} -var __get_daylight = Module["__get_daylight"] = asm["__get_daylight"]; +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20unsigned_20long_29($0, $1, $2); +} -var __get_environ = Module["__get_environ"] = asm["__get_environ"]; +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20unsigned_20long_29($0, $1, $2); +} -var __get_timezone = Module["__get_timezone"] = asm["__get_timezone"]; +function sift($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $6 = __stack_pointer - 240 | 0; + __stack_pointer = $6; + HEAP32[$6 >> 2] = $0; + $7 = 1; + label$1: { + if (($3 | 0) < 2) { + break label$1; + } + $11 = 0 - $1 | 0; + $5 = $0; + while (1) { + $5 = $5 + $11 | 0; + $9 = $3 - 2 | 0; + $8 = $5 - HEAP32[($9 << 2) + $4 >> 2] | 0; + if ((FUNCTION_TABLE[$2 | 0]($0, $8) | 0) >= 0) { + if ((FUNCTION_TABLE[$2 | 0]($0, $5) | 0) >= 0) { + break label$1; + } + } + $10 = (FUNCTION_TABLE[$2 | 0]($8, $5) | 0) >= 0; + $5 = $10 ? $8 : $5; + HEAP32[($7 << 2) + $6 >> 2] = $5; + $7 = $7 + 1 | 0; + $3 = $10 ? $3 - 1 | 0 : $9; + if (($3 | 0) > 1) { + continue; + } + break; + } + } + cycle($1, $6, $7); + __stack_pointer = $6 + 240 | 0; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______max_size_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 4, 4); +} + +function $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__hasFunctionSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + if (!HEAPU8[$0 + 16 | 0]) { + $3 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool___SwapAndRestore_28bool__2c_20bool_29($2 + 8 | 0, $0 + 16 | 0, 1); + $4 = $28anonymous_20namespace_29__itanium_demangle__Node__hasFunction_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool____SwapAndRestore_28_29($3); + } + __stack_pointer = $2 + 16 | 0; + return $4 | 0; +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_float_2c_200_2c_20false_____compressed_pair_elem_float_2c_20void__28float___29($0, $1)); +} + +function std____2__unique_ptr_vision__Keyframe_96__2c_20std____2__default_delete_vision__Keyframe_96_____reset_28vision__Keyframe_96___29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__default_delete_vision__Keyframe_96_____first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__default_delete_vision__Keyframe_96_____first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2__default_delete_vision__Keyframe_96____operator_28_29_28vision__Keyframe_96___29_20const(std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__default_delete_vision__Keyframe_96_____second_28_29($0), $2); + } +} + +function h2v2_upsample($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; + if (HEAP32[$0 + 320 >> 2] > 0) { + $5 = HEAP32[$3 >> 2]; + while (1) { + $1 = HEAP32[$0 + 112 >> 2]; + if (($1 | 0) > 0) { + $3 = HEAP32[($4 << 2) + $5 >> 2]; + $8 = $1 + $3 | 0; + $1 = HEAP32[($6 << 2) + $2 >> 2]; + while (1) { + $7 = HEAPU8[$1 | 0]; + HEAP8[$3 + 1 | 0] = $7; + HEAP8[$3 | 0] = $7; + $1 = $1 + 1 | 0; + $3 = $3 + 2 | 0; + if ($8 >>> 0 > $3 >>> 0) { + continue; + } + break; + } + $1 = HEAP32[$0 + 112 >> 2]; + } + jcopy_sample_rows($5, $4, $5, $4 | 1, 1, $1); + $6 = $6 + 1 | 0; + $4 = $4 + 2 | 0; + if (($4 | 0) < HEAP32[$0 + 320 >> 2]) { + continue; + } + break; + } + } +} + +function std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const____pointer_to_28std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const__29(std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______get_value_28_29_20const(std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______operator___28_29_20const($0))); +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________reset_28std__nullptr_t_29($0, 0); + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__QualifiedName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__QualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__QualifiedName__QualifiedName_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__hasArraySlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + if (!HEAPU8[$0 + 16 | 0]) { + $3 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool___SwapAndRestore_28bool__2c_20bool_29($2 + 8 | 0, $0 + 16 | 0, 1); + $4 = $28anonymous_20namespace_29__itanium_demangle__Node__hasArray_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool____SwapAndRestore_28_29($3); + } + __stack_pointer = $2 + 16 | 0; + return $4 | 0; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______base_destruct_at_end_28vision__Node_96__20const___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 4 | 0; + void_20std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____destroy_vision__Node_96__20const__2c_20void__28std____2__allocator_vision__Node_96__20const____2c_20vision__Node_96__20const___29(std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______alloc_28_29($0), vision__Node_96__20const___20std____2____to_address_vision__Node_96__20const___28vision__Node_96__20const___29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____construct_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20vision__DoGScaleInvariantDetector__FeaturePoint_20const__2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__2c_20vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($0, $1, $2) { + void_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___construct_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20vision__DoGScaleInvariantDetector__FeaturePoint_20const___28vision__DoGScaleInvariantDetector__FeaturePoint__2c_20vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($0, $1, $2); +} + +function std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_________split_buffer_28_29($0) { + std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const______clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____deallocate_28std____2__allocator_vision__Node_96__20const____2c_20vision__Node_96__20const___2c_20unsigned_20long_29(std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const______capacity_28_29_20const($0)); + } + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = HEAP32[$0 + 12 >> 2]; + $4 = HEAP32[$0 + 8 >> 2]; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $4; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 16 >> 2], $1); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________get_deleter_28_29_20const($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________second_28_29_20const($0); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void__________first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_201_2c_20false_____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20void__28std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______29($0, $1) { + var $2 = 0, $3 = 0; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + $3 = $1; + $1 = $0; + HEAP32[$1 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $2; + return $1; +} + +function void_20vision__Homography4PointsInhomogeneousConstraint_float__28float__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2, $3, $4, $5, $6, $7, $8) { + void_20vision__AddHomographyPointContraint_float__28float__2c_20float_20const__2c_20float_20const__29($0, $1, $5); + void_20vision__AddHomographyPointContraint_float__28float__2c_20float_20const__2c_20float_20const__29($0 + 72 | 0, $2, $6); + void_20vision__AddHomographyPointContraint_float__28float__2c_20float_20const__2c_20float_20const__29($0 + 144 | 0, $3, $7); + void_20vision__AddHomographyPointContraint_float__28float__2c_20float_20const__2c_20float_20const__29($0 + 216 | 0, $4, $8); +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________first_28_29_20const($0) >> 2] + ($1 << 2) | 0; +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________pointer_to_28std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________upcast_28_29(HEAP32[$0 >> 2]) + 8 | 0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} + +function $28anonymous_20namespace_29__itanium_demangle__ObjCProtoName__isObjCObject_28_29_20const($0) { + var $1 = 0, $2 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[$0 + 8 >> 2]; + if (($28anonymous_20namespace_29__itanium_demangle__Node__getKind_28_29_20const($0) | 0) == 7) { + $28anonymous_20namespace_29__itanium_demangle__NameType__getName_28_29_20const($1 + 8 | 0, $0); + $2 = $28anonymous_20namespace_29__itanium_demangle__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_20const__29($1 + 8 | 0, $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($1, 29717)); + } + __stack_pointer = $1 + 16 | 0; + return $2; +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(25415); + abort(); +} + +function std____2__operator___28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____20const__2c_20std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____20const__29($0, $1) { + return std____2__operator___28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____20const__2c_20std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____20const__29_1($0, $1) ^ 1; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0) { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_28_29_20const($0)) { + std____2__allocator_traits_std____2__allocator_char____deallocate_28std____2__allocator_char___2c_20char__2c_20unsigned_20long_29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_28_29($0), std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_cap_28_29_20const($0)); + } + return $0; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________allocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________allocate_28unsigned_20long_29($0, $1); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_______node_alloc_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______second_28_29($0 + 8 | 0); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________compressed_pair_true_2c_20void__28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29(std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0)); +} + +function void_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____construct_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_____2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4) { + std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_____pair_int_20const___28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const___2c_20std____2__tuple___29($1, HEAP32[$3 >> 2]); +} + +function unsigned_20int_20const__20std____2__lower_bound_unsigned_20int_20const__2c_20unsigned_20long_2c_20std____2____less_unsigned_20int_2c_20unsigned_20long___28unsigned_20int_20const__2c_20unsigned_20int_20const__2c_20unsigned_20long_20const__2c_20std____2____less_unsigned_20int_2c_20unsigned_20long__29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $2 = unsigned_20int_20const__20std____2____lower_bound_std____2____less_unsigned_20int_2c_20unsigned_20long___2c_20unsigned_20int_20const__2c_20unsigned_20long__28unsigned_20int_20const__2c_20unsigned_20int_20const__2c_20unsigned_20long_20const__2c_20std____2____less_unsigned_20int_2c_20unsigned_20long___29($0, $1, $2, $3 + 8 | 0); + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function decltype_28std____2____unwrap_iter_impl_std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20false_____apply_28declval_std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28_29_29_29_20std____2____unwrap_iter_std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2____unwrap_iter_impl_std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20false___28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___29($0) { + return std____2____unwrap_iter_impl_std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20false_____apply_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___29($0); +} + +function arUtilReplaceExt($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + label$1: { + label$2: { + while (1) { + label$4: { + $6 = $0 + $4 | 0; + $3 = HEAPU8[$6 | 0]; + label$5: { + if (($3 | 0) != 46) { + if ($3) { + break label$5; + } + $7 = strlen($2); + if ($5) { + break label$4; + } + $3 = -1; + if ((($4 + $7 | 0) + 2 | 0) > ($1 | 0)) { + break label$1; + } + HEAP8[$6 | 0] = 46; + $5 = $4; + break label$2; + } + $5 = $4; + } + $4 = $4 + 1 | 0; + continue; + } + break; + } + $3 = -1; + if ((($5 + $7 | 0) + 2 | 0) > ($1 | 0)) { + break label$1; + } + } + HEAP8[($0 + $5 | 0) + 1 | 0] = 0; + strcat($0, $2); + $3 = 0; + } + return $3; +} + +function std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________destruct_at_end_28vision__Node_96____2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 4 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_vision__Node_96______destroy_vision__Node_96___2c_20void__28std____2__allocator_vision__Node_96_____2c_20vision__Node_96____29($3, vision__Node_96____20std____2____to_address_vision__Node_96____28vision__Node_96____29($2)); + continue; + } + break; + } +} + +function $28anonymous_20namespace_29__itanium_demangle__QualType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__QualType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers__29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__QualType__QualType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers_29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______vector_28_29($0) { + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________clear_28_29($0); + std____2__allocator_traits_std____2__allocator_vision__Node_96______deallocate_28std____2__allocator_vision__Node_96_____2c_20vision__Node_96____2c_20unsigned_20long_29(std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______capacity_28_29_20const($0)); + } + return $0; +} + +function std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____erase_28int_20const__29($0, $1) { + return unsigned_20long_20std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_______erase_unique_int__28int_20const__29($0, $1); +} + +function std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______20const__29($0, $1) { + return std____2__operator___28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__2c_20std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__29($0, $1); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int________compressed_pair_std__nullptr_t_2c_20std____2__allocator_std____2__pair_float_2c_20int_____28std__nullptr_t___2c_20std____2__allocator_std____2__pair_float_2c_20int____29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_std____2__pair_float_2c_20int___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20int____2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20int____2c_20void__28std____2__allocator_std____2__pair_float_2c_20int____29($1 + 4 | 0, $2); + return $1; +} + +function std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t______compressed_pair_std____2____default_init_tag_2c_20std____2__allocator_wchar_t___28std____2____default_init_tag___2c_20std____2__allocator_wchar_t____29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_wchar_t__2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_wchar_t__2c_20void__28std____2__allocator_wchar_t____29(std____2____compressed_pair_elem_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_200_2c_20false_____compressed_pair_elem_28std____2____default_init_tag_29($0), $2); +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____push_back_28vision__Node_96__20const__20const__29($0, $1) { + if (HEAP32[$0 + 4 >> 2] != HEAP32[std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______end_cap_28_29($0) >> 2]) { + void_20std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______construct_one_at_end_vision__Node_96__20const__20const___28vision__Node_96__20const__20const__29($0, $1); + return; + } + void_20std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______push_back_slow_path_vision__Node_96__20const__20const___28vision__Node_96__20const__20const__29($0, $1); +} + +function arMatrixTransf($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $6 = -1; + label$1: { + $3 = HEAP32[$0 + 4 >> 2]; + if (($3 | 0) != HEAP32[$1 + 8 >> 2]) { + break label$1; + } + $2 = HEAP32[$0 + 8 >> 2]; + if (($2 | 0) != HEAP32[$1 + 4 >> 2]) { + break label$1; + } + $6 = 0; + $7 = ($3 | 0) > 0 ? $3 : 0; + $8 = ($2 | 0) > 0 ? $2 : 0; + $4 = HEAP32[$0 >> 2]; + while (1) { + if (($5 | 0) == ($7 | 0)) { + break label$1; + } + $2 = HEAP32[$1 >> 2] + ($5 << 2) | 0; + $0 = 0; + while (1) { + if (($0 | 0) != ($8 | 0)) { + HEAPF32[$4 >> 2] = HEAPF32[$2 >> 2]; + $0 = $0 + 1 | 0; + $4 = $4 + 4 | 0; + $2 = ($3 << 2) + $2 | 0; + continue; + } + break; + } + $5 = $5 + 1 | 0; + continue; + } + } + return $6; +} + +function std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20double_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = +$4; + return std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_put_floating_point_double__28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20double_2c_20char_20const__29_20const($0, $1, $2, $3, $4, 40067) | 0; +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___________bucket_list_deallocator_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = 0; + $0 = std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1 + 12 | 0, $1 + 8 | 0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function arMatrixTrans($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $6 = -1; + label$1: { + $3 = HEAP32[$0 + 4 >> 2]; + if (($3 | 0) != HEAP32[$1 + 8 >> 2]) { + break label$1; + } + $2 = HEAP32[$0 + 8 >> 2]; + if (($2 | 0) != HEAP32[$1 + 4 >> 2]) { + break label$1; + } + $6 = 0; + $7 = ($3 | 0) > 0 ? $3 : 0; + $8 = ($2 | 0) > 0 ? $2 : 0; + $4 = HEAP32[$0 >> 2]; + while (1) { + if (($5 | 0) == ($7 | 0)) { + break label$1; + } + $2 = HEAP32[$1 >> 2] + ($5 << 3) | 0; + $0 = 0; + while (1) { + if (($0 | 0) != ($8 | 0)) { + HEAPF64[$4 >> 3] = HEAPF64[$2 >> 3]; + $0 = $0 + 1 | 0; + $4 = $4 + 8 | 0; + $2 = ($3 << 3) + $2 | 0; + continue; + } + break; + } + $5 = $5 + 1 | 0; + continue; + } + } + return $6; +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96________compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______28std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function icpCreateHandle($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $1 = dlmalloc(136); + if ($1) { + while (1) { + $2 = 0; + if (($3 | 0) != 3) { + while (1) { + if (($2 | 0) != 4) { + $4 = $2 << 3; + $5 = $3 << 5; + HEAPF64[$4 + ($5 + $1 | 0) >> 3] = HEAPF64[($0 + $5 | 0) + $4 >> 3]; + $2 = $2 + 1 | 0; + continue; + } + break; + } + $3 = $3 + 1 | 0; + continue; + } + break; + } + HEAP32[$1 + 128 >> 2] = 0; + HEAP32[$1 + 132 >> 2] = 1071644672; + HEAP32[$1 + 120 >> 2] = 0; + HEAP32[$1 + 124 >> 2] = 1074790400; + HEAP32[$1 + 112 >> 2] = -2147483648; + HEAP32[$1 + 116 >> 2] = 1072672276; + HEAP32[$1 + 104 >> 2] = -1610612736; + HEAP32[$1 + 108 >> 2] = 1069128089; + HEAP32[$1 + 96 >> 2] = 10; + } + return $1; +} + +function std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char______compressed_pair_std____2____default_init_tag_2c_20std____2__allocator_char__20const___28std____2____default_init_tag___2c_20std____2__allocator_char__20const__29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_char__20const__2c_20void__28std____2__allocator_char__20const__29(std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____compressed_pair_elem_28std____2____default_init_tag_29($0), $2); +} + +function $28anonymous_20namespace_29__itanium_demangle__ConditionalExpr__ConditionalExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2, $3) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 51, 1, 1, 1); + HEAP32[$0 + 16 >> 2] = $3; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 70504; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__BracedRangeExpr__BracedRangeExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2, $3) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 76, 1, 1, 1); + HEAP32[$0 + 16 >> 2] = $3; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 69852; + return $0; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________deallocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________2c_20std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20unsigned_20long_29($0, $1, $2); +} + +function float_20vision__DeterminantSymmetric3x3_float__28float_20const__29($0) { + var $1 = Math_fround(0), $2 = Math_fround(0), $3 = Math_fround(0), $4 = Math_fround(0); + $2 = HEAPF32[$0 + 32 >> 2]; + $3 = float_20vision__sqr_float__28float_29(HEAPF32[$0 + 4 >> 2]); + $1 = HEAPF32[$0 + 4 >> 2]; + $4 = Math_fround($1 + $1); + $1 = HEAPF32[$0 + 8 >> 2]; + return Math_fround(Math_fround(Math_fround(Math_fround(Math_fround(Math_fround($4 * $1) * HEAPF32[$0 + 20 >> 2]) - Math_fround($2 * $3)) - Math_fround(HEAPF32[$0 + 16 >> 2] * float_20vision__sqr_float__28float_29($1))) - Math_fround(HEAPF32[$0 >> 2] * float_20vision__sqr_float__28float_29(HEAPF32[$0 + 20 >> 2]))) + Math_fround(Math_fround(HEAPF32[$0 >> 2] * HEAPF32[$0 + 16 >> 2]) * HEAPF32[$0 + 32 >> 2])); +} + +function $28anonymous_20namespace_29__itanium_demangle__VectorType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__VectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__VectorType__VectorType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbiTagAttr__AbiTagAttr_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 8, HEAPU8[$1 + 5 | 0], HEAPU8[$1 + 6 | 0], HEAPU8[$1 + 7 | 0]); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 71272; + $1 = HEAP32[$2 + 4 >> 2]; + HEAP32[$0 + 12 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} + +function std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______pair_int_20const__2c_200ul__28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const____2c_20std____2__tuple____2c_20std____2____tuple_indices_0ul__2c_20std____2____tuple_indices___29($0, $1, $2) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = HEAP32[std____2__tuple_element_0ul_2c_20std____2__tuple_int_20const_____type__20std____2__get_0ul_2c_20int_20const___28std____2__tuple_int_20const____29($1) >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____vector_28_29($0 + 4 | 0); + return $0; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________get_deleter_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________second_28_29($0); +} + +function std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96_______unique_ptr_28_29($0) { + std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______reset_28vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____29($0, 0); + return $0; +} + +function std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96________compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__PriorityQueueItem_96_____28std__nullptr_t___2c_20std____2__allocator_vision__PriorityQueueItem_96____29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_vision__PriorityQueueItem_96___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_vision__PriorityQueueItem_96____2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__PriorityQueueItem_96____2c_20void__28std____2__allocator_vision__PriorityQueueItem_96____29($1 + 4 | 0, $2); + return $1; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________compressed_pair_true_2c_20void__28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29(std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0)); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__20const__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + if (($2 | 0) == HEAP32[$0 + 8 >> 2]) { + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___reserve_28unsigned_20long_29($0, $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___size_28_29_20const($0) << 1); + $2 = HEAP32[$0 + 4 >> 2]; + } + $1 = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = $2 + 4; + HEAP32[$2 >> 2] = $1; +} + +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20bool__2c_20_28void__290__28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20bool__29($0, $1, $2) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP8[$0 + 4 | 0] = HEAPU8[$2 | 0]; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ElaboratedTypeSpefType__ElaboratedTypeSpefType_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1, $2) { + var $3 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 6, 1, 1, 1); + HEAP32[$0 >> 2] = 73780; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$0 + 16 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = $3; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ArrayType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ArrayType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__ArrayType__ArrayType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + Math_imul($1, 12) | 0; +} + +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_20long_29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + return std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_______do_put_integral_long_20long__28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, $5, 31431) | 0; +} + +function std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________non_trivial_if_28_29($0); +} + +function std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______destruct_at_end_28unsigned_20short__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 2 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_unsigned_20short____destroy_unsigned_20short_2c_20void__28std____2__allocator_unsigned_20short___2c_20unsigned_20short__29($3, unsigned_20short__20std____2____to_address_unsigned_20short__28unsigned_20short__29($2)); + continue; + } + break; + } +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____hash_function_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____second_28_29($0 + 12 | 0); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____28std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} -var __get_tzname = Module["__get_tzname"] = asm["__get_tzname"]; +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______first_28_29_20const($0) >> 2]; +} -var _bitshift64Lshr = Module["_bitshift64Lshr"] = asm["_bitshift64Lshr"]; +function std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20long_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + return std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_______do_put_integral_long__28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, 31496) | 0; +} -var _bitshift64Shl = Module["_bitshift64Shl"] = asm["_bitshift64Shl"]; +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___ScopedTemplateParamList___ScopedTemplateParamList_28_29($0) { + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___dropBack_28unsigned_20long_29(HEAP32[$0 >> 2] + 332 | 0, HEAP32[$0 + 4 >> 2]); + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____PODSmallVector_28_29($0 + 8 | 0); + return $0; +} -var _emscripten_replace_memory = Module["_emscripten_replace_memory"] = asm["_emscripten_replace_memory"]; +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short_____vector_28_29($0) { + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_unsigned_20short____deallocate_28std____2__allocator_unsigned_20short___2c_20unsigned_20short__2c_20unsigned_20long_29(std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____capacity_28_29_20const($0)); + } + return $0; +} -var _fflush = Module["_fflush"] = asm["_fflush"]; +function std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____sentry__sentry_28std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____29($0, $1) { + HEAP32[$0 + 4 >> 2] = $1; + HEAP8[$0 | 0] = 0; + if (std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____good_28_29_20const(HEAP32[HEAP32[$1 >> 2] - 12 >> 2] + $1 | 0)) { + if (std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____tie_28_29_20const(HEAP32[HEAP32[$1 >> 2] - 12 >> 2] + $1 | 0)) { + std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____flush_28_29(std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____tie_28_29_20const(HEAP32[HEAP32[$1 >> 2] - 12 >> 2] + $1 | 0)); + } + HEAP8[$0 | 0] = 1; + } + return $0; +} -var _free = Module["_free"] = asm["_free"]; +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} -var _i64Add = Module["_i64Add"] = asm["_i64Add"]; +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________first_28_29_20const($0) >> 2] + ($1 << 2) | 0; +} -var _i64Subtract = Module["_i64Subtract"] = asm["_i64Subtract"]; +function std____2____tuple_impl_std____2____tuple_indices_0ul__2c_20std____2___28anonymous_20namespace_29____fake_bind_______tuple_impl_0ul_2c_20std____2___28anonymous_20namespace_29____fake_bind___2c_20std____2___28anonymous_20namespace_29____fake_bind__28std____2____tuple_indices_0ul__2c_20std____2____tuple_types_std____2___28anonymous_20namespace_29____fake_bind____2c_20std____2____tuple_indices___2c_20std____2____tuple_types___2c_20std____2___28anonymous_20namespace_29____fake_bind___29($0, $1) { + return std____2____tuple_leaf_0ul_2c_20std____2___28anonymous_20namespace_29____fake_bind___2c_20false_____tuple_leaf_std____2___28anonymous_20namespace_29____fake_bind_2c_20void__28std____2___28anonymous_20namespace_29____fake_bind___29($0, $1); +} -var _llvm_bswap_i32 = Module["_llvm_bswap_i32"] = asm["_llvm_bswap_i32"]; +function $28anonymous_20namespace_29__itanium_demangle__NestedName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NestedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__NestedName__NestedName_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} -var _malloc = Module["_malloc"] = asm["_malloc"]; +function vision__VisualDatabaseFacade__get3DFeaturePoints_28int_29_20const($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $1 = std____2__unordered_map_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________operator_5b_5d_28int_20const__29(std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____operator___28_29_20const($0) + 4 | 0, $2 + 12 | 0); + __stack_pointer = $2 + 16 | 0; + return $1; +} -var _memcpy = Module["_memcpy"] = asm["_memcpy"]; +function vision__VisualDatabaseImpl___VisualDatabaseImpl_28_29($0) { + std____2__unordered_map_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_________unordered_map_28_29($0 + 4 | 0); + return std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96_______unique_ptr_28_29($0); +} -var _memmove = Module["_memmove"] = asm["_memmove"]; +function sn_write($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = HEAP32[$0 + 84 >> 2]; + $5 = HEAP32[$3 + 4 >> 2]; + $6 = HEAP32[$0 + 28 >> 2]; + $4 = HEAP32[$0 + 20 >> 2] - $6 | 0; + $4 = $4 >>> 0 > $5 >>> 0 ? $5 : $4; + if ($4) { + __memcpy(HEAP32[$3 >> 2], $6, $4); + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] + $4; + $5 = HEAP32[$3 + 4 >> 2] - $4 | 0; + HEAP32[$3 + 4 >> 2] = $5; + } + $4 = HEAP32[$3 >> 2]; + $5 = $2 >>> 0 > $5 >>> 0 ? $5 : $2; + if ($5) { + __memcpy($4, $1, $5); + $4 = HEAP32[$3 >> 2] + $5 | 0; + HEAP32[$3 >> 2] = $4; + HEAP32[$3 + 4 >> 2] = HEAP32[$3 + 4 >> 2] - $5; + } + HEAP8[$4 | 0] = 0; + $3 = HEAP32[$0 + 44 >> 2]; + HEAP32[$0 + 28 >> 2] = $3; + HEAP32[$0 + 20 >> 2] = $3; + return $2 | 0; +} -var _memset = Module["_memset"] = asm["_memset"]; +function vision__downsample_bilinear_28float__2c_20float_20const__2c_20unsigned_20long_2c_20unsigned_20long_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $7 = $2 << 1; + $8 = $3 >>> 1 | 0; + $9 = $2 >>> 1 | 0; + label$1: while (1) { + if (($5 | 0) != ($8 | 0)) { + $3 = (Math_imul($5, $7) << 2) + $1 | 0; + $4 = $3 + ($2 << 2) | 0; + $6 = 0; + while (1) if (($6 | 0) == ($9 | 0)) { + $5 = $5 + 1 | 0; + continue label$1; + } else { + HEAPF32[$0 >> 2] = Math_fround(Math_fround(Math_fround(HEAPF32[$3 >> 2] + HEAPF32[$3 + 4 >> 2]) + HEAPF32[$4 >> 2]) + HEAPF32[$4 + 4 >> 2]) * Math_fround(.25); + $4 = $4 + 8 | 0; + $3 = $3 + 8 | 0; + $6 = $6 + 1 | 0; + $0 = $0 + 4 | 0; + continue; + } + } + break; + } +} -var _pthread_cond_broadcast = Module["_pthread_cond_broadcast"] = asm["_pthread_cond_broadcast"]; +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______destruct_at_end_28vision__Point3d_float___29($0, $1) { + var $2 = 0; + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______invalidate_iterators_past_28vision__Point3d_float___29($0, $1); + $2 = std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____size_28_29_20const($0); + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______base_destruct_at_end_28vision__Point3d_float___29($0, $1); + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_shrink_28unsigned_20long_29_20const($0, $2); +} -var _realloc = Module["_realloc"] = asm["_realloc"]; +function $28anonymous_20namespace_29__itanium_demangle__LocalName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__LocalName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__LocalName__LocalName_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} -var _roundf = Module["_roundf"] = asm["_roundf"]; +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________size_28_29_20const($0) { + return (HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] | 0) / 12 | 0; +} -var _saveSetjmp = Module["_saveSetjmp"] = asm["_saveSetjmp"]; +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______get_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______first_28_29_20const($0) >> 2]; +} -var _sbrk = Module["_sbrk"] = asm["_sbrk"]; +function std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________capacity_28_29_20const($0) { + return (HEAP32[std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] | 0) / 12 | 0; +} -var _setThrew = Module["_setThrew"] = asm["_setThrew"]; +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($0, $1, $2) { + var $3 = Math_fround(0), $4 = Math_fround(0), $5 = Math_fround(0); + $3 = HEAPF32[$2 >> 2]; + $4 = HEAPF32[$2 + 4 >> 2]; + $5 = Math_fround(HEAPF32[$1 + 8 >> 2] + Math_fround(Math_fround(HEAPF32[$1 >> 2] * $3) + Math_fround($4 * HEAPF32[$1 + 4 >> 2]))); + $3 = Math_fround(HEAPF32[$1 + 32 >> 2] + Math_fround(Math_fround(HEAPF32[$1 + 24 >> 2] * $3) + Math_fround(HEAPF32[$1 + 28 >> 2] * $4))); + HEAPF32[$0 >> 2] = $5 / $3; + HEAPF32[$0 + 4 >> 2] = Math_fround(HEAPF32[$1 + 20 >> 2] + Math_fround(Math_fround(HEAPF32[$1 + 12 >> 2] * HEAPF32[$2 >> 2]) + Math_fround(HEAPF32[$1 + 16 >> 2] * HEAPF32[$2 + 4 >> 2]))) / $3; +} + +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20unsigned_20long_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + return std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_______do_put_integral_unsigned_20long__28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20unsigned_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, 31496) | 0; +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____20const__2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____20const__29_20const($0, $1, $2) { + return std____2__equal_to_int___operator_28_29_28int_20const__2c_20int_20const__29_20const($0, std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______get_value_28_29_20const($1), std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______get_value_28_29_20const($2)); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____first_28_29($0 + 12 | 0); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____max_load_factor_28_29($0) { + return std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____first_28_29($0 + 16 | 0); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___________bucket_list_deallocator_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = 0; + $0 = std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1 + 12 | 0, $1 + 8 | 0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack__getSyntaxNode_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $28anonymous_20namespace_29__itanium_demangle__ParameterPack__initializePackExpansion_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1); + $2 = HEAP32[$1 + 12 >> 2]; + $3 = $0 + 8 | 0; + if ($2 >>> 0 < $28anonymous_20namespace_29__itanium_demangle__NodeArray__size_28_29_20const($3) >>> 0) { + $0 = $28anonymous_20namespace_29__itanium_demangle__NodeArray__operator_5b_5d_28unsigned_20long_29_20const($3, $2); + $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0, $1) | 0; + } + return $0 | 0; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______second_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1); + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 37656); + $3 = HEAP32[$0 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__DtorName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 27937); + $4 = HEAP32[$3 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$3 >> 2]; + HEAP32[$2 + 4 >> 2] = $4; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + $0 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1); + __stack_pointer = $2 + 16 | 0; +} + +function threadInit($0, $1, $2) { + var $3 = 0, $4 = 0; + $4 = __stack_pointer + -64 | 0; + __stack_pointer = $4; + $3 = dlmalloc(140); + HEAP32[$4 + 60 >> 2] = $3; + label$1: { + if ($3) { + HEAP32[$3 + 136 >> 2] = $1; + HEAP32[$3 + 12 >> 2] = 0; + HEAP32[$3 + 4 >> 2] = 0; + HEAP32[$3 + 8 >> 2] = 0; + HEAP32[$3 >> 2] = $0; + pthread_mutex_init($3 + 16 | 0, 0); + pthread_cond_init($3 + 40 | 0, 0); + pthread_cond_init($3 + 88 | 0, 0); + pthread_attr_init($4 + 8 | 0); + pthread_attr_setdetachstate($4 + 8 | 0, 1); + $2 = __pthread_create($4 + 56 | 0, $4 + 8 | 0, $2, $3); + pthread_attr_destroy($4 + 8 | 0); + if (!$2) { + break label$1; + } + threadFree($4 + 60 | 0); + } + $3 = 0; + } + __stack_pointer = $4 - -64 | 0; + return $3; +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____resize_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____size_28_29_20const($0); + if ($2 >>> 0 < $1 >>> 0) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______append_28unsigned_20long_29($0, $1 - $2 | 0); + return; + } + if ($1 >>> 0 < $2 >>> 0) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______destruct_at_end_28std____2__locale__facet___29($0, HEAP32[$0 >> 2] + ($1 << 2) | 0); + } +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______max_size_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29(Math_imul($1, 496), 8); +} + +function std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______destruct_at_end_28vision__match_t__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 8 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_vision__match_t____destroy_vision__match_t_2c_20void__28std____2__allocator_vision__match_t___2c_20vision__match_t__29($3, vision__match_t__20std____2____to_address_vision__match_t__28vision__match_t__29($2)); + continue; + } + break; + } +} + +function std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_________split_buffer_28_29($0) { + std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____deallocate_28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___2c_20unsigned_20long_29(std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______capacity_28_29_20const($0)); + } + return $0; +} + +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______destruct_at_end_28unsigned_20char__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 1 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_unsigned_20char____destroy_unsigned_20char_2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__29($3, unsigned_20char__20std____2____to_address_unsigned_20char__28unsigned_20char__29($2)); + continue; + } + break; + } +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} + +function post_process_1pass($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 $7 = 0, $8 = 0, $9 = 0, $10 = 0; + $7 = __stack_pointer - 16 | 0; + __stack_pointer = $7; + $8 = HEAP32[$0 + 456 >> 2]; + $9 = HEAP32[$8 + 16 >> 2]; + $10 = HEAP32[$5 >> 2]; + HEAP32[$7 + 12 >> 2] = 0; + $6 = $6 - $10 | 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 476 >> 2] + 4 >> 2]]($0, $1, $2, $3, HEAP32[$8 + 12 >> 2], $7 + 12 | 0, $6 >>> 0 < $9 >>> 0 ? $6 : $9); + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 484 >> 2] + 4 >> 2]]($0, HEAP32[$8 + 12 >> 2], (HEAP32[$5 >> 2] << 2) + $4 | 0, HEAP32[$7 + 12 >> 2]); + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + HEAP32[$7 + 12 >> 2]; + __stack_pointer = $7 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName__SpecialName_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2) { + var $3 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 20, 1, 1, 1); + HEAP32[$0 >> 2] = 65740; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$0 + 16 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = $3; + return $0; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______base_destruct_at_end_28vision__Point3d_float___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 12 | 0; + void_20std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____destroy_vision__Point3d_float__2c_20void__28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___29(std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______alloc_28_29($0), vision__Point3d_float___20std____2____to_address_vision__Point3d_float___28vision__Point3d_float___29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________2c_201_2c_20false_____get_28_29_20const($0 + 4 | 0); +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______base_destruct_at_end_28vision__Point2d_float___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 8 | 0; + void_20std____2__allocator_traits_std____2__allocator_vision__Point2d_float_____destroy_vision__Point2d_float__2c_20void__28std____2__allocator_vision__Point2d_float____2c_20vision__Point2d_float___29(std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______alloc_28_29($0), vision__Point2d_float___20std____2____to_address_vision__Point2d_float___28vision__Point2d_float___29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function ar2Tracking2d($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $1 = threadGetArg($0); + $3 = threadGetID($0); + HEAP32[$2 + 16 >> 2] = $3; + arLog(0, 1, 1762, $2 + 16 | 0); + $4 = $1 + 24 | 0; + $5 = $1 + 20 | 0; + while (1) { + if ((threadStartWait($0) | 0) >= 0) { + wasm2js_i32$0 = $1, wasm2js_i32$1 = ar2Tracking2dSub(HEAP32[$1 >> 2], HEAP32[$1 + 4 >> 2], HEAP32[$1 + 8 >> 2], HEAP32[$1 + 12 >> 2], HEAP32[$1 + 16 >> 2], $5, $4), + HEAP32[wasm2js_i32$0 + 48 >> 2] = wasm2js_i32$1; + threadEndSignal($0); + continue; + } + break; + } + HEAP32[$2 >> 2] = $3; + arLog(0, 1, 3e3, $2); + __stack_pointer = $2 + 32 | 0; + return 0; +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t_____vector_28_29($0) { + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_vision__match_t____deallocate_28std____2__allocator_vision__match_t___2c_20vision__match_t__2c_20unsigned_20long_29(std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____capacity_28_29_20const($0)); + } + return $0; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____vector_28_29($0) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_unsigned_20char____deallocate_28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20long_29(std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____capacity_28_29_20const($0)); + } + return $0; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void___________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void__________reset_28std__nullptr_t_29($0, 0); + return $0; +} + +function std____2____num_put_base____format_int_28char__2c_20char_20const__2c_20bool_2c_20unsigned_20int_29($0, $1, $2, $3) { + var $4 = 0; + label$1: { + if (!($3 & 2048)) { + break label$1; + } + $4 = $3 & 74; + if (!$2 | (($4 | 0) == 8 | ($4 | 0) == 64)) { + break label$1; + } + HEAP8[$0 | 0] = 43; + $0 = $0 + 1 | 0; + } + if ($3 & 512) { + HEAP8[$0 | 0] = 35; + $0 = $0 + 1 | 0; + } + while (1) { + $4 = HEAPU8[$1 | 0]; + if ($4) { + HEAP8[$0 | 0] = $4; + $0 = $0 + 1 | 0; + $1 = $1 + 1 | 0; + continue; + } + break; + } + $1 = $3 & 74; + $4 = 111; + label$5: { + if (($1 | 0) == 64) { + break label$5; + } + $4 = $3 & 16384 ? 88 : 120; + if (($1 | 0) == 8) { + break label$5; + } + $4 = $2 ? 100 : 117; + } + $1 = $4; + HEAP8[$0 | 0] = $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__InitListExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0; + $2 = HEAP32[$0 + 8 >> 2]; + if ($2) { + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($2, $1); + } + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 123); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0 + 12 | 0, $1); + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 125); +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____clear_28_29($0) { + var $1 = 0; + $1 = std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____size_28_29_20const($0); + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______clear_28_29($0); + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_shrink_28unsigned_20long_29_20const($0, $1); + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______invalidate_all_iterators_28_29($0); +} + +function std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______pair_int_20const___28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const___2c_20std____2__tuple___29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = $1; + $1 = std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______pair_int_20const__2c_200ul__28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const____2c_20std____2__tuple____2c_20std____2____tuple_indices_0ul__2c_20std____2____tuple_indices___29($0, $2 + 8 | 0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function arMatrixDup($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0; + $5 = -1; + label$1: { + $2 = HEAP32[$0 + 4 >> 2]; + if (($2 | 0) != HEAP32[$1 + 4 >> 2]) { + break label$1; + } + $3 = HEAP32[$0 + 8 >> 2]; + if (($3 | 0) != HEAP32[$1 + 8 >> 2]) { + break label$1; + } + $5 = 0; + $7 = ($2 | 0) > 0 ? $2 : 0; + $8 = ($3 | 0) > 0 ? $3 : 0; + while (1) { + if (($4 | 0) == ($7 | 0)) { + break label$1; + } + $9 = Math_imul($3, $4); + $2 = 0; + while (1) { + if (($2 | 0) != ($8 | 0)) { + $6 = $2 + $9 << 3; + HEAPF64[$6 + HEAP32[$0 >> 2] >> 3] = HEAPF64[HEAP32[$1 >> 2] + $6 >> 3]; + $2 = $2 + 1 | 0; + continue; + } + break; + } + $4 = $4 + 1 | 0; + continue; + } + } + return $5; +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl__TemplateTemplateParamDecl_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 31, 0, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 67492; + $1 = HEAP32[$2 + 4 >> 2]; + HEAP32[$0 + 12 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} + +function std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96_____reset_28vision__Node_96___29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_vision__Node_96___2c_20std____2__default_delete_vision__Node_96_____first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_vision__Node_96___2c_20std____2__default_delete_vision__Node_96_____first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2__default_delete_vision__Node_96____operator_28_29_28vision__Node_96___29_20const(std____2____compressed_pair_vision__Node_96___2c_20std____2__default_delete_vision__Node_96_____second_28_29($0), $2); + } +} + +function float_20vision__DotProduct9_float__28float_20const__2c_20float_20const__29($0, $1) { + return Math_fround(Math_fround(HEAPF32[$0 + 32 >> 2] * HEAPF32[$1 + 32 >> 2]) + Math_fround(Math_fround(HEAPF32[$0 + 28 >> 2] * HEAPF32[$1 + 28 >> 2]) + Math_fround(Math_fround(HEAPF32[$0 + 24 >> 2] * HEAPF32[$1 + 24 >> 2]) + Math_fround(Math_fround(HEAPF32[$0 + 20 >> 2] * HEAPF32[$1 + 20 >> 2]) + Math_fround(Math_fround(HEAPF32[$0 + 16 >> 2] * HEAPF32[$1 + 16 >> 2]) + Math_fround(Math_fround(HEAPF32[$0 + 12 >> 2] * HEAPF32[$1 + 12 >> 2]) + Math_fround(Math_fround(HEAPF32[$0 + 8 >> 2] * HEAPF32[$1 + 8 >> 2]) + Math_fround(Math_fround(HEAPF32[$0 >> 2] * HEAPF32[$1 >> 2]) + Math_fround(HEAPF32[$0 + 4 >> 2] * HEAPF32[$1 + 4 >> 2]))))))))); +} + +function $28anonymous_20namespace_29__itanium_demangle__SyntheticTemplateParamName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SyntheticTemplateParamName_2c_20_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind__2c_20unsigned_20int___28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind__2c_20unsigned_20int__29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__SyntheticTemplateParamName__SyntheticTemplateParamName_28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind_2c_20unsigned_20int_29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAP32[$2 >> 2]); +} + +function void_20vision__Multiply_3x3_3x1_float__28float__2c_20float_20const__2c_20float_20const__29($0, $1, $2) { + HEAPF32[$0 >> 2] = Math_fround(HEAPF32[$1 + 8 >> 2] * HEAPF32[$2 + 8 >> 2]) + Math_fround(Math_fround(HEAPF32[$1 >> 2] * HEAPF32[$2 >> 2]) + Math_fround(HEAPF32[$1 + 4 >> 2] * HEAPF32[$2 + 4 >> 2])); + HEAPF32[$0 + 4 >> 2] = Math_fround(HEAPF32[$1 + 20 >> 2] * HEAPF32[$2 + 8 >> 2]) + Math_fround(Math_fround(HEAPF32[$1 + 12 >> 2] * HEAPF32[$2 >> 2]) + Math_fround(HEAPF32[$1 + 16 >> 2] * HEAPF32[$2 + 4 >> 2])); + HEAPF32[$0 + 8 >> 2] = Math_fround(HEAPF32[$1 + 32 >> 2] * HEAPF32[$2 + 8 >> 2]) + Math_fround(Math_fround(HEAPF32[$1 + 24 >> 2] * HEAPF32[$2 >> 2]) + Math_fround(HEAPF32[$1 + 28 >> 2] * HEAPF32[$2 + 4 >> 2])); +} + +function std____2__unordered_map_int_2c_20AR2SurfaceSetT__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20AR2SurfaceSetT_______unordered_map_28_29($0) { + return std____2____hash_table_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20AR2SurfaceSetT_________hash_table_28_29($0); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController_____key_eq_28_29($0) { + return std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____second_28_29($0 + 16 | 0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________compressed_pair_true_2c_20void__28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29(std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0)); +} + +function std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96____20const____pointer_to_28std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96____20const__29(std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______get_value_28_29_20const(std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______operator___28_29_20const($0))); +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______max_size_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____20const__29($0) { + return std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______max_size_28_29_20const($0); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______null_terminate_at_28wchar_t__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_size_28unsigned_20long_29($0, $2); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______invalidate_iterators_past_28unsigned_20long_29($0, $2); + HEAP32[$3 + 12 >> 2] = 0; + std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29(($2 << 2) + $1 | 0, $3 + 12 | 0); + __stack_pointer = $3 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1); + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, 38446); + $3 = HEAP32[$0 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__operator___28std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20const__2c_20std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20const__29($0, $1) { + return std____2__operator___28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__2c_20std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__29($0, $1); +} + +function std____2__operator___28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__2c_20std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__29($0, $1) { + return std____2__operator___28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__2c_20std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__29_1($0, $1) ^ 1; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____resize_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____size_28_29_20const($0); + if ($2 >>> 0 < $1 >>> 0) { + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______append_28unsigned_20long_29($0, $1 - $2 | 0); + return; + } + if ($1 >>> 0 < $2 >>> 0) { + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______destruct_at_end_28std____2__pair_float_2c_20int___29($0, HEAP32[$0 >> 2] + ($1 << 3) | 0); + } +} + +function std____2__enable_if_is_same_std____2__remove_const__28anonymous_20namespace_29__itanium_demangle__Node____type_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____value_20___20is_trivially_copy_assignable__28anonymous_20namespace_29__itanium_demangle__Node____value_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_____type_20std____2____copy__28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__Node___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1, $2) { + if (($0 | 0) != ($1 | 0)) { + memmove($2, $0, $1 - $0 | 0); + } +} + +function read_restart_marker($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0; + label$1: { + $1 = HEAP32[$0 + 440 >> 2]; + label$2: { + if (!$1) { + if (!next_marker($0)) { + break label$2; + } + $1 = HEAP32[$0 + 440 >> 2]; + } + $2 = HEAP32[HEAP32[$0 + 464 >> 2] + 20 >> 2]; + if (($2 + 208 | 0) == ($1 | 0)) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 24 >> 2] = $2; + HEAP32[$1 + 20 >> 2] = 100; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, 3); + HEAP32[$0 + 440 >> 2] = 0; + break label$1; + } + if (FUNCTION_TABLE[HEAP32[HEAP32[$0 + 24 >> 2] + 20 >> 2]]($0, $2) | 0) { + break label$1; + } + } + return 0; + } + $0 = HEAP32[$0 + 464 >> 2]; + HEAP32[$0 + 20 >> 2] = HEAP32[$0 + 20 >> 2] + 1 & 7; + return 1; +} + +function $28anonymous_20namespace_29__itanium_demangle__PrefixExpr__PrefixExpr_28_28anonymous_20namespace_29__itanium_demangle__StringView_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1, $2) { + var $3 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 60, 1, 1, 1); + HEAP32[$0 >> 2] = 68472; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$0 + 16 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = $3; + return $0; +} + +function cat($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + label$1: { + if (!$0) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 28, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$1; + } + $0 = fopen($0, 2551); + if (!$0) { + break label$1; + } + fseek($0, 0, 2); + $3 = ftell($0); + fseek($0, 0, 0); + $4 = $3 + 1 | 0; + $2 = dlmalloc($4); + if (!$2) { + fclose($0); + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 48, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return 0; + } + if (!fread($2, $3, 1, $0)) { + dlfree($2); + fclose($0); + break label$1; + } + HEAP8[$2 + $3 | 0] = 0; + fclose($0); + if ($1) { + HEAP32[$1 >> 2] = $4; + } + return $2; + } + return 0; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____28std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____hash_function_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____second_28_29($0 + 12 | 0); +} + +function __ftello_unlocked($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $1 = 1; + $1 = HEAPU8[$0 | 0] & 128 ? HEAP32[$0 + 20 >> 2] == HEAP32[$0 + 28 >> 2] ? 1 : 2 : $1; + $3 = FUNCTION_TABLE[HEAP32[$0 + 40 >> 2]]($0, 0, 0, $1) | 0; + $4 = $3; + $1 = i64toi32_i32$HIGH_BITS; + $2 = $1; + label$2: { + if (($1 | 0) < 0) { + break label$2; + } + $5 = $2; + $1 = HEAP32[$0 + 8 >> 2]; + if ($1) { + $0 = $0 + 4 | 0; + } else { + $1 = HEAP32[$0 + 28 >> 2]; + if (!$1) { + break label$2; + } + $0 = $0 + 20 | 0; + } + $1 = HEAP32[$0 >> 2] - $1 | 0; + $2 = $1 >> 31; + $3 = $1; + $4 = $4 + $1 | 0; + $1 = $2; + $2 = $5; + $2 = $1 + $2 | 0; + $2 = $3 >>> 0 > $4 >>> 0 ? $2 + 1 | 0 : $2; + } + i64toi32_i32$HIGH_BITS = $2; + return $4; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______capacity_28_29_20const($0) { + return (HEAP32[std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] | 0) / 12 | 0; +} + +function std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char______compressed_pair_std____2____default_init_tag_2c_20std____2__allocator_char___28std____2____default_init_tag___2c_20std____2__allocator_char____29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_char__2c_20void__28std____2__allocator_char____29(std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____compressed_pair_elem_28std____2____default_init_tag_29($0), $2); +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_float_2c_200_2c_20false_____compressed_pair_elem_float_2c_20void__28float___29($0, $1)); +} + +function $28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType__PostfixQualifiedType_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 5, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 74108; + $1 = HEAP32[$2 + 4 >> 2]; + HEAP32[$0 + 12 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________reset_28std__nullptr_t_29($0, 0); + return $0; +} + +function __gettimeofday($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $3 = +_emscripten_date_now(); + $2 = $3 / 1e3; + label$1: { + if (Math_abs($2) < 0x8000000000000000) { + $1 = Math_abs($2) >= 1 ? ~~($2 > 0 ? Math_min(Math_floor($2 * 2.3283064365386963e-10), 4294967295) : Math_ceil(($2 - +(~~$2 >>> 0 >>> 0)) * 2.3283064365386963e-10)) >>> 0 : 0; + $4 = ~~$2 >>> 0; + break label$1; + } + $1 = -2147483648; + } + HEAP32[$0 >> 2] = $4; + HEAP32[$0 + 4 >> 2] = $1; + $2 = +(__wasm_i64_mul($4, $1, 1e3, 0) >>> 0); + $1 = i64toi32_i32$HIGH_BITS; + $3 = ($3 - ($2 + +($1 | 0) * 4294967296)) * 1e3; + label$3: { + if (Math_abs($3) < 2147483648) { + $1 = ~~$3; + break label$3; + } + $1 = -2147483648; + } + HEAP32[$0 + 8 >> 2] = $1; + return 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + if (($2 | 0) == HEAP32[$0 + 8 >> 2]) { + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___reserve_28unsigned_20long_29($0, $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($0) << 1); + $2 = HEAP32[$0 + 4 >> 2]; + } + $1 = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = $2 + 4; + HEAP32[$2 >> 2] = $1; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________max_size_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20void__28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______20const__29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________max_size_28_29_20const($0); +} + +function std____2__unique_ptr_unsigned_20char_2c_20std____2__default_delete_unsigned_20char____reset_28unsigned_20char__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_unsigned_20char__2c_20std____2__default_delete_unsigned_20char____first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_unsigned_20char__2c_20std____2__default_delete_unsigned_20char____first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + std____2__default_delete_unsigned_20char___operator_28_29_28unsigned_20char__29_20const(std____2____compressed_pair_unsigned_20char__2c_20std____2__default_delete_unsigned_20char____second_28_29($0), $2); + } +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______get_deleter_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______second_28_29($0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true______compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} + +function std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true___operator_28_29_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__20const__2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__20const__29_20const($0, $1, $2) { + return std____2__equal_to_unsigned_20int___operator_28_29_28unsigned_20int_20const__2c_20unsigned_20int_20const__29_20const($0, std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____get_value_28_29_20const($1), std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____get_value_28_29_20const($2)); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________second_28_29($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function decltype_28std____2____unwrap_iter_impl_std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20false_____apply_28declval_std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____28_29_29_29_20std____2____unwrap_iter_std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2____unwrap_iter_impl_std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20false___28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___29($0) { + return std____2____unwrap_iter_impl_std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20false_____apply_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___29($0); +} + +function cycle($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $5 = __stack_pointer - 256 | 0; + __stack_pointer = $5; + label$1: { + if (($2 | 0) < 2) { + break label$1; + } + $7 = ($2 << 2) + $1 | 0; + HEAP32[$7 >> 2] = $5; + if (!$0) { + break label$1; + } + while (1) { + $4 = $0 >>> 0 < 256 ? $0 : 256; + __memcpy(HEAP32[$7 >> 2], HEAP32[$1 >> 2], $4); + $3 = 0; + while (1) { + $6 = ($3 << 2) + $1 | 0; + $3 = $3 + 1 | 0; + __memcpy(HEAP32[$6 >> 2], HEAP32[($3 << 2) + $1 >> 2], $4); + HEAP32[$6 >> 2] = HEAP32[$6 >> 2] + $4; + if (($2 | 0) != ($3 | 0)) { + continue; + } + break; + } + $0 = $0 - $4 | 0; + if ($0) { + continue; + } + break; + } + } + __stack_pointer = $5 + 256 | 0; +} + +function vision__Keyframe_96___buildIndex_28_29($0) { + var $1 = 0; + $1 = $0 + 36 | 0; + vision__BinaryHierarchicalClustering_96___setNumHypotheses_28int_29($1, 128); + vision__BinaryHierarchicalClustering_96___setNumCenters_28int_29($1, 8); + vision__BinaryHierarchicalClustering_96___setMaxNodesToPop_28int_29($1, 8); + vision__BinaryHierarchicalClustering_96___setMinFeaturesPerNode_28int_29($1, 16); + $0 = $0 + 8 | 0; + vision__BinaryHierarchicalClustering_96___build_28unsigned_20char_20const__2c_20int_29($1, std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____operator_5b_5d_28unsigned_20long_29(vision__BinaryFeatureStore__features_28_29($0), 0), vision__BinaryFeatureStore__size_28_29_20const($0)); +} + +function std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const________compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__Node_96__20const_____28std__nullptr_t___2c_20std____2__allocator_vision__Node_96__20const____29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_vision__Node_96__20const___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_vision__Node_96__20const____2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__Node_96__20const____2c_20void__28std____2__allocator_vision__Node_96__20const____29($1 + 4 | 0, $2); + return $1; +} + +function roundf($0) { + var $1 = Math_fround(0), $2 = 0, $3 = 0; + $2 = (wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2)); + $3 = $2 >>> 23 & 255; + if ($3 >>> 0 <= 149) { + if ($3 >>> 0 <= 125) { + return Math_fround($0 * Math_fround(0)); + } + $0 = ($2 | 0) >= 0 ? $0 : Math_fround(-$0); + $1 = Math_fround(Math_fround(Math_fround($0 + Math_fround(8388608)) + Math_fround(-8388608)) - $0); + label$3: { + if ($1 > Math_fround(.5)) { + $0 = Math_fround(Math_fround($0 + $1) + Math_fround(-1)); + break label$3; + } + $0 = Math_fround($0 + $1); + if (!($1 <= Math_fround(-.5))) { + break label$3; + } + $0 = Math_fround($0 + Math_fround(1)); + } + $0 = ($2 | 0) >= 0 ? $0 : Math_fround(-$0); + } + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___push_back_28_28anonymous_20namespace_29__itanium_demangle__Node__20const__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + if (($2 | 0) == HEAP32[$0 + 8 >> 2]) { + $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___reserve_28unsigned_20long_29($0, $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___size_28_29_20const($0) << 1); + $2 = HEAP32[$0 + 4 >> 2]; + } + $1 = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = $2 + 4; + HEAP32[$2 >> 2] = $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__ConversionExpr__ConversionExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 62, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 68776; + $1 = HEAP32[$2 + 4 >> 2]; + HEAP32[$0 + 12 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ObjCProtoName__ObjCProtoName_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 10, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 72924; + $1 = HEAP32[$2 + 4 >> 2]; + HEAP32[$0 + 12 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______max_size_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29(Math_imul($1, 200), 8); +} + +function std____2____stdinbuf_wchar_t_____stdinbuf_28_IO_FILE__2c_20__mbstate_t__29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____basic_streambuf_28_29($0); + HEAP32[$0 + 40 >> 2] = $2; + HEAP32[$0 + 32 >> 2] = $1; + HEAP32[$0 >> 2] = 54284; + $2 = std____2__char_traits_wchar_t___eof_28_29(); + HEAP8[$0 + 52 | 0] = 0; + HEAP32[$0 + 48 >> 2] = $2; + std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____getloc_28_29_20const($3 + 8 | 0, $0); + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 8 >> 2]]($0, $3 + 8 | 0); + std____2__locale___locale_28_29($3 + 8 | 0); + __stack_pointer = $3 + 16 | 0; + return $0; +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_float_2c_200_2c_20false_____compressed_pair_elem_float_2c_20void__28float___29($0, $1)); +} + +function std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_201_2c_20false_____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20void__28std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______29($0, $1) { + var $2 = 0, $3 = 0; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + $3 = $1; + $1 = $0; + HEAP32[$1 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $2; + return $1; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______destruct_at_end_28vision__FeaturePoint__29($0, $1) { + var $2 = 0; + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______invalidate_iterators_past_28vision__FeaturePoint__29($0, $1); + $2 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______base_destruct_at_end_28vision__FeaturePoint__29($0, $1); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_shrink_28unsigned_20long_29_20const($0, $2); +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____28std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________get_deleter_28_29_20const($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________second_28_29_20const($0); +} + +function vision__Node_96____Node_28_29($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = $0 + 104 | 0; + while (1) { + if (std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______size_28_29_20const($1) >>> 0 > $2 >>> 0) { + $3 = HEAP32[std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______operator_5b_5d_28unsigned_20long_29($1, $2) >> 2]; + if ($3) { + vision__Node_96____Node_28_29($3); + } + operator_20delete_28void__29($3); + $2 = $2 + 1 | 0; + continue; + } + break; + } + std____2__vector_int_2c_20std____2__allocator_int_____vector_28_29($0 + 116 | 0); + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______vector_28_29($1); + return $0; +} + +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20double_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = +$4; + return std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_______do_put_floating_point_double__28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20double_2c_20char_20const__29_20const($0, $1, $2, $3, $4, 40067) | 0; +} + +function std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint________split_buffer_28_29($0) { + std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____deallocate_28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20unsigned_20long_29(std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____capacity_28_29_20const($0)); + } + return $0; +} + +function icpGetQ_from_S($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = HEAPF64[$1 + 16 >> 3]; + $4 = $2 * $2; + $3 = HEAPF64[$1 >> 3]; + $2 = HEAPF64[$1 + 8 >> 3]; + $2 = $4 + ($3 * $3 + $2 * $2); + label$1: { + if ($2 == 0) { + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 1072693248; + $2 = 0; + break label$1; + } + $2 = Math_sqrt($2); + HEAPF64[$0 >> 3] = $3 / $2; + HEAPF64[$0 + 8 >> 3] = HEAPF64[$1 + 8 >> 3] / $2; + $5 = HEAPF64[$1 + 16 >> 3] / $2; + } + HEAPF64[$0 + 24 >> 3] = $2; + HEAPF64[$0 + 16 >> 3] = $5; + HEAPF64[$0 + 32 >> 3] = HEAPF64[$1 + 24 >> 3]; + HEAPF64[$0 + 40 >> 3] = HEAPF64[$1 + 32 >> 3]; + HEAPF64[$0 + 48 >> 3] = HEAPF64[$1 + 40 >> 3]; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b18_5d__28char_20const_20_28__29_20_5b18_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b18_5d__28char_20const_20_28__29_20_5b18_5d_29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b16_5d__28char_20const_20_28__29_20_5b16_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b16_5d__28char_20const_20_28__29_20_5b16_5d_29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b15_5d__28char_20const_20_28__29_20_5b15_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b15_5d__28char_20const_20_28__29_20_5b15_5d_29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b14_5d__28char_20const_20_28__29_20_5b14_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b14_5d__28char_20const_20_28__29_20_5b14_5d_29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b13_5d__28char_20const_20_28__29_20_5b13_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b13_5d__28char_20const_20_28__29_20_5b13_5d_29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b12_5d__28char_20const_20_28__29_20_5b12_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b12_5d__28char_20const_20_28__29_20_5b12_5d_29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b11_5d__28char_20const_20_28__29_20_5b11_5d_29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b10_5d__28char_20const_20_28__29_20_5b10_5d_29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__InitListExpr__InitListExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 64, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 69960; + $1 = HEAP32[$2 + 4 >> 2]; + HEAP32[$0 + 12 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__Image__2c_20vision__Image___28std____2__allocator_vision__Image___2c_20vision__Image__2c_20vision__Image__2c_20vision__Image___29($0, $1, $2, $3) { + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 32 | 0; + void_20std____2__allocator_traits_std____2__allocator_vision__Image____construct_vision__Image_2c_20vision__Image_20const__2c_20void__28std____2__allocator_vision__Image___2c_20vision__Image__2c_20vision__Image_20const__29($0, vision__Image__20std____2____to_address_vision__Image__28vision__Image__29(HEAP32[$3 >> 2] - 32 | 0), $2); + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] - 32; + continue; + } + break; + } +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______reset_28std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____29($0, 0); + return $0; +} + +function std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______destruct_at_end_28vision__Image__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 32 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_vision__Image____destroy_vision__Image_2c_20void__28std____2__allocator_vision__Image___2c_20vision__Image__29($3, vision__Image__20std____2____to_address_vision__Image__28vision__Image__29($2)); + continue; + } + break; + } +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____first_28_29($0 + 12 | 0); +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____max_load_factor_28_29($0) { + return std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____first_28_29($0 + 16 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PostfixExpr__PostfixExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 50, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 70192; + $1 = HEAP32[$2 + 4 >> 2]; + HEAP32[$0 + 12 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__EnumLiteral__EnumLiteral_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 70, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 67940; + $1 = HEAP32[$2 + 4 >> 2]; + HEAP32[$0 + 12 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} + +function std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController______unordered_map_28_29($0) { + return std____2____hash_table_std____2____hash_value_type_int_2c_20arController__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20arController________hash_table_28_29($0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} + +function std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t______compressed_pair_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_wchar_t__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_200_2c_20false_____compressed_pair_elem_28std____2____default_init_tag_29($0)); +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______base_destruct_at_end_28vision__FeaturePoint__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 20 | 0; + void_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____destroy_vision__FeaturePoint_2c_20void__28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__29(std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29($0), vision__FeaturePoint__20std____2____to_address_vision__FeaturePoint__28vision__FeaturePoint__29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______first_28_29_20const($0) >> 2]; +} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry__sentry_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29($0, $1) { + HEAP32[$0 + 4 >> 2] = $1; + HEAP8[$0 | 0] = 0; + if (std____2__basic_ios_char_2c_20std____2__char_traits_char____good_28_29_20const(HEAP32[HEAP32[$1 >> 2] - 12 >> 2] + $1 | 0)) { + if (std____2__basic_ios_char_2c_20std____2__char_traits_char____tie_28_29_20const(HEAP32[HEAP32[$1 >> 2] - 12 >> 2] + $1 | 0)) { + std____2__basic_ostream_char_2c_20std____2__char_traits_char____flush_28_29(std____2__basic_ios_char_2c_20std____2__char_traits_char____tie_28_29_20const(HEAP32[HEAP32[$1 >> 2] - 12 >> 2] + $1 | 0)); + } + HEAP8[$0 | 0] = 1; + } + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b9_5d__28char_20const_20_28__29_20_5b9_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b9_5d__28char_20const_20_28__29_20_5b9_5d_29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b8_5d__28char_20const_20_28__29_20_5b8_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b8_5d__28char_20const_20_28__29_20_5b8_5d_29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b6_5d__28char_20const_20_28__29_20_5b6_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b6_5d__28char_20const_20_28__29_20_5b6_5d_29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b5_5d__28char_20const_20_28__29_20_5b5_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b5_5d__28char_20const_20_28__29_20_5b5_5d_29($0 + 408 | 0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b4_5d__28char_20const_20_28__29_20_5b4_5d_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b4_5d__28char_20const_20_28__29_20_5b4_5d_29($0 + 408 | 0, $1); +} + +function std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind_____tuple_std____2___28anonymous_20namespace_29____fake_bind_2c_200__28std____2___28anonymous_20namespace_29____fake_bind___29($0, $1) { + return std____2____tuple_impl_std____2____tuple_indices_0ul__2c_20std____2___28anonymous_20namespace_29____fake_bind_______tuple_impl_0ul_2c_20std____2___28anonymous_20namespace_29____fake_bind___2c_20std____2___28anonymous_20namespace_29____fake_bind__28std____2____tuple_indices_0ul__2c_20std____2____tuple_types_std____2___28anonymous_20namespace_29____fake_bind____2c_20std____2____tuple_indices___2c_20std____2____tuple_types___2c_20std____2___28anonymous_20namespace_29____fake_bind___29($0, $1); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________2c_201_2c_20false_____get_28_29_20const($0 + 4 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__DotSuffix__DotSuffix_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 1, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 72488; + $1 = HEAP32[$2 + 4 >> 2]; + HEAP32[$0 + 12 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image_____vector_28_29($0) { + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_vision__Image____deallocate_28std____2__allocator_vision__Image___2c_20vision__Image__2c_20unsigned_20long_29(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____capacity_28_29_20const($0)); + } + return $0; +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true______compressed_pair_float_2c_20std____2____default_init_tag__28float___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_float_2c_200_2c_20false_____compressed_pair_elem_float_2c_20void__28float___29($0, $1)); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b22_5d__28char_20const_20_28__29_20_5b22_5d_29($0) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b22_5d__28char_20const_20_28__29_20_5b22_5d_29($0 + 408 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b19_5d__28char_20const_20_28__29_20_5b19_5d_29($0) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b19_5d__28char_20const_20_28__29_20_5b19_5d_29($0 + 408 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__CallExpr__CallExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 57, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 68676; + $1 = HEAP32[$2 + 4 >> 2]; + HEAP32[$0 + 12 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$0 + 16 >> 2] = $1; + return $0; +} + +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + return std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_______do_put_integral_long__28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_2c_20char_20const__29_20const($0, $1, $2, $3, $4, 31496) | 0; +} + +function std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam_____key_eq_28_29($0) { + return std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____second_28_29($0 + 16 | 0); +} + +function h2v1_upsample($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; + $1 = HEAP32[$0 + 320 >> 2]; + if (($1 | 0) > 0) { + $6 = HEAP32[$3 >> 2]; + while (1) { + $3 = HEAP32[$0 + 112 >> 2]; + if (($3 | 0) > 0) { + $4 = $5 << 2; + $1 = HEAP32[$6 + $4 >> 2]; + $7 = $1 + $3 | 0; + $3 = HEAP32[$2 + $4 >> 2]; + while (1) { + $4 = HEAPU8[$3 | 0]; + HEAP8[$1 + 1 | 0] = $4; + HEAP8[$1 | 0] = $4; + $3 = $3 + 1 | 0; + $1 = $1 + 2 | 0; + if ($7 >>> 0 > $1 >>> 0) { + continue; + } + break; + } + $1 = HEAP32[$0 + 320 >> 2]; + } + $5 = $5 + 1 | 0; + if (($5 | 0) < ($1 | 0)) { + continue; + } + break; + } + } +} + +function __floatsitf($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + label$1: { + if (!$1) { + break label$1; + } + $2 = $1 >> 31; + $2 = ($2 ^ $1) - $2 | 0; + $4 = $2; + $2 = Math_clz32($2); + __ashlti3($3, $4, 0, 0, 0, $2 + 81 | 0); + $2 = (HEAP32[$3 + 12 >> 2] ^ 65536) + (16414 - $2 << 16) | 0; + $4 = 0 + HEAP32[$3 + 8 >> 2] | 0; + $2 = $5 >>> 0 > $4 >>> 0 ? $2 + 1 | 0 : $2; + $5 = $2; + $2 = $4; + $6 = 0 | $2; + $4 = $1 & -2147483648 | $5; + $5 = HEAP32[$3 >> 2]; + $2 = HEAP32[$3 + 4 >> 2]; + } + HEAP32[$0 >> 2] = $5; + HEAP32[$0 + 4 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $6; + $2 = $4; + HEAP32[$0 + 12 >> 2] = $2; + __stack_pointer = $3 + 16 | 0; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______max_size_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____20const__29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____max_size_28_29_20const($0); +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______get_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______first_28_29_20const($0) >> 2]; +} + +function std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________end_cap_28_29_20const($0) { + return std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________first_28_29_20const($0 + 12 | 0); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___________bucket_list_deallocator_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = 0; + $0 = std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1 + 12 | 0, $1 + 8 | 0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function arPattDeleteHandle($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0; + if (!$0) { + return -1; + } + while (1) { + if (HEAP32[$0 + 4 >> 2] > ($1 | 0)) { + $3 = $1 << 2; + if (HEAP32[$3 + HEAP32[$0 + 8 >> 2] >> 2]) { + arPattFree($0, $1); + } + $2 = 0; + while (1) { + if (($2 | 0) != 4) { + $4 = $2 + $3 << 2; + dlfree(HEAP32[$4 + HEAP32[$0 + 12 >> 2] >> 2]); + dlfree(HEAP32[HEAP32[$0 + 20 >> 2] + $4 >> 2]); + $2 = $2 + 1 | 0; + continue; + } + break; + } + $1 = $1 + 1 | 0; + continue; + } + break; + } + dlfree(HEAP32[$0 + 12 >> 2]); + dlfree(HEAP32[$0 + 20 >> 2]); + dlfree(HEAP32[$0 + 8 >> 2]); + dlfree(HEAP32[$0 + 16 >> 2]); + dlfree(HEAP32[$0 + 24 >> 2]); + dlfree($0); + return 0; +} + +function void_20std____2____debug_db_insert_c_std____2__unordered_map_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________28std____2__unordered_map_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________29($0) {} + +function std____2__operator___28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__2c_20std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__29($0, $1) { + return std____2__operator___28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__2c_20std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__29_1($0, $1) ^ 1; +} + +function arUtilMatMulf($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + while (1) { + if (($6 | 0) != 3) { + $7 = $6 << 4; + $5 = $7 + $0 | 0; + $3 = 0; + while (1) { + if (($3 | 0) != 4) { + $4 = $3 << 2; + $8 = $4 + ($2 + $7 | 0) | 0; + $4 = $1 + $4 | 0; + HEAPF32[$8 >> 2] = Math_fround(HEAPF32[$5 + 8 >> 2] * HEAPF32[$4 + 32 >> 2]) + Math_fround(Math_fround(HEAPF32[$5 >> 2] * HEAPF32[$4 >> 2]) + Math_fround(HEAPF32[$5 + 4 >> 2] * HEAPF32[$4 + 16 >> 2])); + $3 = $3 + 1 | 0; + continue; + } + break; + } + $3 = $2 + $7 | 0; + HEAPF32[$3 + 12 >> 2] = HEAPF32[$5 + 12 >> 2] + HEAPF32[$3 + 12 >> 2]; + $6 = $6 + 1 | 0; + continue; + } + break; + } + return 0; +} + +function exp2_inline($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $5 = HEAPF64[6066]; + $6 = $5 + $0; + $0 = $0 - ($6 - $5); + $0 = (HEAPF64[6067] * $0 + HEAPF64[6068]) * ($0 * $0) + (HEAPF64[6069] * $0 + 1); + wasm2js_scratch_store_f64(+$6); + $4 = wasm2js_scratch_load_i32(1) | 0; + $7 = wasm2js_scratch_load_i32(0) | 0; + $3 = $1; + $2 = $7 + $3 | 0; + $1 = (($7 & 31) << 3) + 48272 | 0; + $4 = HEAP32[$1 + 4 >> 2]; + $3 = $4; + $4 = $2 << 15; + $2 = $3 + $4 | 0; + $3 = HEAP32[$1 >> 2]; + $1 = $8; + $1 = $3 + $1 | 0; + $2 = $1 >>> 0 < $3 >>> 0 ? $2 + 1 | 0 : $2; + wasm2js_scratch_store_i32(0, $1 | 0); + wasm2js_scratch_store_i32(1, $2 | 0); + return Math_fround($0 * +wasm2js_scratch_load_f64()); +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0; + $28anonymous_20namespace_29__itanium_demangle__ParameterPack__initializePackExpansion_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1); + $2 = HEAP32[$1 + 12 >> 2]; + $0 = $0 + 8 | 0; + if ($2 >>> 0 < $28anonymous_20namespace_29__itanium_demangle__NodeArray__size_28_29_20const($0) >>> 0) { + $0 = $28anonymous_20namespace_29__itanium_demangle__NodeArray__operator_5b_5d_28unsigned_20long_29_20const($0, $2); + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1); + } +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b7_5d__28char_20const_20_28__29_20_5b7_5d_29($0) { + return $28anonymous_20namespace_29__itanium_demangle__NameType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NameType_2c_20char_20const_20_28__29_20_5b7_5d__28char_20const_20_28__29_20_5b7_5d_29($0 + 408 | 0); +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________reset_28std__nullptr_t_29($0, 0); + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0; + $28anonymous_20namespace_29__itanium_demangle__ParameterPack__initializePackExpansion_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1); + $2 = HEAP32[$1 + 12 >> 2]; + $0 = $0 + 8 | 0; + if ($2 >>> 0 < $28anonymous_20namespace_29__itanium_demangle__NodeArray__size_28_29_20const($0) >>> 0) { + $0 = $28anonymous_20namespace_29__itanium_demangle__NodeArray__operator_5b_5d_28unsigned_20long_29_20const($0, $2); + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1); + } +} + +function std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______destruct_at_end_28multi_marker__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 8 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_multi_marker____destroy_multi_marker_2c_20void__28std____2__allocator_multi_marker___2c_20multi_marker__29($3, multi_marker__20std____2____to_address_multi_marker__28multi_marker__29($2)); + continue; + } + break; + } +} + +function icpGetU_from_X_by_MatX2U($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $10 = 0, $11 = 0; + $7 = -1; + $3 = HEAPF64[$2 + 16 >> 3]; + $4 = HEAPF64[$2 >> 3]; + $5 = HEAPF64[$2 + 8 >> 3]; + $6 = HEAPF64[$1 + 88 >> 3] + (HEAPF64[$1 + 80 >> 3] * $3 + (HEAPF64[$1 + 64 >> 3] * $4 + $5 * HEAPF64[$1 + 72 >> 3])); + if ($6 != 0) { + $8 = HEAPF64[$1 + 56 >> 3]; + $9 = HEAPF64[$1 + 48 >> 3]; + $10 = HEAPF64[$1 + 40 >> 3]; + $11 = HEAPF64[$1 + 32 >> 3]; + HEAPF64[$0 >> 3] = (HEAPF64[$1 + 24 >> 3] + (HEAPF64[$1 + 16 >> 3] * $3 + (HEAPF64[$1 >> 3] * $4 + $5 * HEAPF64[$1 + 8 >> 3]))) / $6; + HEAPF64[$0 + 8 >> 3] = ($8 + ($9 * $3 + ($11 * $4 + $5 * $10))) / $6; + $7 = 0; + } + return $7; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________get_deleter_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________second_28_29($0); +} + +function std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___operator__28std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29____29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___reset_28unsigned_20int__29($0, std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___release_28_29($1)); + $1 = HEAP32[std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_deleter_28_29($1) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29___second_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $0; +} + +function std____2____stdinbuf_char_____stdinbuf_28_IO_FILE__2c_20__mbstate_t__29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $0 = std____2__basic_streambuf_char_2c_20std____2__char_traits_char____basic_streambuf_28_29($0); + HEAP32[$0 + 40 >> 2] = $2; + HEAP32[$0 + 32 >> 2] = $1; + HEAP32[$0 >> 2] = 54080; + $2 = std____2__char_traits_char___eof_28_29(); + HEAP8[$0 + 52 | 0] = 0; + HEAP32[$0 + 48 >> 2] = $2; + std____2__basic_streambuf_char_2c_20std____2__char_traits_char____getloc_28_29_20const($3 + 8 | 0, $0); + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 8 >> 2]]($0, $3 + 8 | 0); + std____2__locale___locale_28_29($3 + 8 | 0); + __stack_pointer = $3 + 16 | 0; + return $0; +} + +function kpmUtilResizeImage($0, $1, $2, $3, $4, $5) { + label$1: { + switch ($3 - 1 | 0) { + case 0: + return genBWImageFull_28unsigned_20char__2c_20int_2c_20int_2c_20int__2c_20int__29($0, $1, $2, $4, $5); + + case 4: + return genBWImageTwoThird_28unsigned_20char__2c_20int_2c_20int_2c_20int__2c_20int__29($0, $1, $2, $4, $5); + + case 1: + return genBWImageHalf_28unsigned_20char__2c_20int_2c_20int_2c_20int__2c_20int__29($0, $1, $2, $4, $5); + + case 3: + return genBWImageOneThird_28unsigned_20char__2c_20int_2c_20int_2c_20int__2c_20int__29($0, $1, $2, $4, $5); + + default: + break label$1; + } + } + return genBWImageQuart_28unsigned_20char__2c_20int_2c_20int_2c_20int__2c_20int__29($0, $1, $2, $4, $5); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_200_2c_20false_____get_28_29($0); +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________get_deleter_28_29_20const($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________second_28_29_20const($0); +} + +function std____2__collate_char___do_compare_28char_20const__2c_20char_20const__2c_20char_20const__2c_20char_20const__29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0, $7 = 0; + $7 = ($4 - $3 | 0) + $1 | 0; + label$1: { + while (1) { + if (($3 | 0) != ($4 | 0)) { + $0 = -1; + if (($1 | 0) == ($2 | 0)) { + break label$1; + } + $5 = HEAP8[$1 | 0]; + $6 = HEAP8[$3 | 0]; + if (($5 | 0) < ($6 | 0)) { + break label$1; + } + if (($5 | 0) > ($6 | 0)) { + return 1; + } else { + $3 = $3 + 1 | 0; + $1 = $1 + 1 | 0; + continue; + } + } + break; + } + $0 = ($2 | 0) != ($7 | 0); + } + return $0 | 0; +} + +function emscripten__internal__Invoker_int_2c_20int_2c_20int___invoke_28int_20_28__29_28int_2c_20int_29_2c_20int_2c_20int_29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + wasm2js_i32$0 = $3, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($1), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($2)) | 0, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $0 = emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29($3 + 12 | 0); + __stack_pointer = $3 + 16 | 0; + return $0 | 0; +} + +function vsnprintf($0, $1, $2, $3) { + var $4 = 0, $5 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $4 = __stack_pointer - 160 | 0; + __stack_pointer = $4; + $5 = -1; + HEAP32[$4 + 148 >> 2] = $1 ? $1 - 1 | 0 : 0; + $0 = $1 ? $0 : $4 + 158 | 0; + HEAP32[$4 + 144 >> 2] = $0; + $4 = memset($4, 0, 144); + HEAP32[$4 + 76 >> 2] = -1; + HEAP32[$4 + 36 >> 2] = 241; + HEAP32[$4 + 80 >> 2] = -1; + HEAP32[$4 + 44 >> 2] = $4 + 159; + HEAP32[$4 + 84 >> 2] = $4 + 144; + label$1: { + if (($1 | 0) < 0) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 61, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$1; + } + HEAP8[$0 | 0] = 0; + $5 = vfprintf($4, $2, $3); + } + __stack_pointer = $4 + 160 | 0; + return $5; +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker_____vector_28_29($0) { + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_multi_marker____deallocate_28std____2__allocator_multi_marker___2c_20multi_marker__2c_20unsigned_20long_29(std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____capacity_28_29_20const($0)); + } + return $0; +} + +function std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float________compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__Point3d_float_____28std__nullptr_t___2c_20std____2__allocator_vision__Point3d_float____29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_vision__Point3d_float___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_vision__Point3d_float____2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__Point3d_float____2c_20void__28std____2__allocator_vision__Point3d_float____29($1 + 4 | 0, $2); + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference_2c_20unsigned_20long___28unsigned_20long__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference_2c_20unsigned_20long___28unsigned_20long__29($0 + 408 | 0, $1); +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________end_cap_28_29_20const($0) { + return std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______first_28_29_20const($0 + 8 | 0); +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____20const__2c_20int_20const__29_20const($0, $1, $2) { + return std____2__equal_to_int___operator_28_29_28int_20const__2c_20int_20const__29_20const($0, std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________get_value_28_29_20const($1), $2); +} + +function fopen($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + label$1: { + label$2: { + if (!strchr(34285, HEAP8[$1 | 0])) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 28, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + break label$2; + } + $4 = __fmodeflags($1); + HEAP32[$2 >> 2] = 438; + HEAP32[$2 + 4 >> 2] = 0; + $0 = __syscall_ret(__syscall_openat(-100, $0 | 0, $4 | 32768, $2 | 0) | 0); + if (($0 | 0) < 0) { + break label$1; + } + $3 = __fdopen($0, $1); + if ($3) { + break label$1; + } + __wasi_fd_close($0 | 0) | 0; + } + $3 = 0; + } + __stack_pointer = $2 + 16 | 0; + return $3; +} + +function $28anonymous_20namespace_29__itanium_demangle__ReferenceType__ReferenceType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 12, HEAPU8[$1 + 5 | 0], 1, 1); + HEAP8[$0 + 16 | 0] = 0; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 74e3; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__getSyntaxNode_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + if (!HEAPU8[$0 + 16 | 0]) { + $3 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool___SwapAndRestore_28bool__2c_20bool_29($2 + 8 | 0, $0 + 16 | 0, 1); + $0 = HEAP32[$0 + 12 >> 2]; + $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0, $1) | 0; + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool____SwapAndRestore_28_29($3); + } + __stack_pointer = $2 + 16 | 0; + return $0 | 0; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________alloc_28_29_20const($0) { + return std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______second_28_29_20const($0 + 8 | 0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________second_28_29($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$3 >> 2] + 16 >> 2]]($3, $1); + $3 = HEAP32[$0 + 16 >> 2]; + $0 = HEAP32[$0 + 12 >> 2]; + HEAP32[$2 >> 2] = $0; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $0; + HEAP32[$2 + 12 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__vector_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________invalidate_all_iterators_28_29($0) {} + +function std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______20const__29($0, $1) { + return std____2__operator___28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__2c_20std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__29($0, $1); +} + +function ungetc($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = -1; + label$1: { + if (($0 | 0) == -1) { + break label$1; + } + if (HEAP32[$1 + 76 >> 2] >= 0) { + $4 = __lockfile($1); + } + label$3: { + $3 = HEAP32[$1 + 4 >> 2]; + label$4: { + if (!$3) { + __toread($1); + $3 = HEAP32[$1 + 4 >> 2]; + if (!$3) { + break label$4; + } + } + if (HEAP32[$1 + 44 >> 2] - 8 >>> 0 < $3 >>> 0) { + break label$3; + } + } + if (!$4) { + break label$1; + } + __unlockfile($1); + return -1; + } + $2 = $3 - 1 | 0; + HEAP32[$1 + 4 >> 2] = $2; + HEAP8[$2 | 0] = $0; + HEAP32[$1 >> 2] = HEAP32[$1 >> 2] & -17; + if ($4) { + __unlockfile($1); + } + $2 = $0 & 255; + } + return $2; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 >> 2]; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = Math_imul($2, 12) + $3; + return $0; +} + +function std____2____num_get_wchar_t_____stage2_int_prep_28std____2__ios_base__2c_20wchar_t__29($0, $1, $2) { + var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + std____2__ios_base__getloc_28_29_20const($3 + 8 | 0, $1); + $1 = std____2__numpunct_wchar_t__20const__20std____2__use_facet_std____2__numpunct_wchar_t___28std____2__locale_20const__29($3 + 8 | 0); + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__numpunct_wchar_t___thousands_sep_28_29_20const($1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__numpunct_wchar_t___grouping_28_29_20const($0, $1); + std____2__locale___locale_28_29($3 + 8 | 0); + __stack_pointer = $3 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__QualType__QualType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 3, HEAPU8[$1 + 5 | 0], HEAPU8[$1 + 6 | 0], HEAPU8[$1 + 7 | 0]); + HEAP32[$0 + 12 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = $2; + HEAP32[$0 >> 2] = 73144; + return $0; +} + +function std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________end_cap_28_29($0) { + return std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________first_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char______compressed_pair_std____2____default_init_tag_2c_20std____2____default_init_tag__28std____2____default_init_tag___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____compressed_pair_elem_28std____2____default_init_tag_29($0)); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_201_2c_20true_____get_28_29($0); +} + +function fmt_u($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + label$1: { + if (!$1) { + $5 = $0; + $3 = $1; + $6 = $3; + break label$1; + } + while (1) { + $3 = $1; + $5 = __wasm_i64_udiv($0, $3, 10, 0); + $3 = i64toi32_i32$HIGH_BITS; + $6 = $3; + $4 = __wasm_i64_mul($5, $3, 10, 0); + $3 = $1; + $2 = $2 - 1 | 0; + HEAP8[$2 | 0] = $0 - $4 | 48; + $4 = $3 >>> 0 > 9; + $0 = $5; + $3 = $6; + $1 = $3; + if ($4) { + continue; + } + break; + } + } + $4 = $5; + if ($4) { + while (1) { + $2 = $2 - 1 | 0; + $0 = ($4 >>> 0) / 10 | 0; + HEAP8[$2 | 0] = $4 - Math_imul($0, 10) | 48; + $1 = $4 >>> 0 > 9; + $4 = $0; + if ($1) { + continue; + } + break; + } + } + return $2; +} + +function std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long__________alloc_28_29($0) { + return std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________second_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} + +function $28anonymous_20namespace_29__itanium_demangle__BracedExpr__BracedExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20bool_29($0, $1, $2, $3) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 75, 1, 1, 1); + HEAP8[$0 + 16 | 0] = $3; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 69748; + return $0; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______get_deleter_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______second_28_29($0); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void___________bucket_list_deallocator_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = 0; + $0 = std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1 + 12 | 0, $1 + 8 | 0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____construct_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__pair_float_2c_20unsigned_20long__2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2) { + void_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____construct_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__pair_float_2c_20unsigned_20long___28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2); +} + +function std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam______unordered_map_28_29($0) { + return std____2____hash_table_std____2____hash_value_type_int_2c_20ARParam__2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_20std____2__allocator_std____2____hash_value_type_int_2c_20ARParam________hash_table_28_29($0); +} + +function std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96__________split_buffer_28_29($0) { + std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_vision__Node_96______deallocate_28std____2__allocator_vision__Node_96_____2c_20vision__Node_96____2c_20unsigned_20long_29(std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______capacity_28_29_20const($0)); + } + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PointerToMemberType__PointerToMemberType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 13, HEAPU8[$2 + 5 | 0], 1, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 73668; + return $0; +} + +function trackingInitGetResult($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + if ($2 ? !$0 | !$1 : 1) { + arLog(0, 3, 39464, 0); + return -1; + } + if (!threadGetStatus($0)) { + return 0; + } + threadEndWait($0); + $3 = -1; + $4 = threadGetArg($0); + if (!(!$4 | !HEAP32[$4 + 64 >> 2])) { + while (1) { + $0 = 0; + if (($5 | 0) != 3) { + while (1) { + if (($0 | 0) != 4) { + $6 = $0 << 2; + $3 = $5 << 4; + HEAPF32[$6 + ($3 + $1 | 0) >> 2] = HEAPF32[(($3 + $4 | 0) + $6 | 0) + 12 >> 2]; + $0 = $0 + 1 | 0; + continue; + } + break; + } + $5 = $5 + 1 | 0; + continue; + } + break; + } + HEAP32[$2 >> 2] = HEAP32[$4 + 60 >> 2]; + $3 = 1; + } + return $3; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____push_back_28vision__Point3d_float____29($0, $1) { + if (HEAPU32[$0 + 4 >> 2] < HEAPU32[std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______end_cap_28_29($0) >> 2]) { + void_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______construct_one_at_end_vision__Point3d_float___28vision__Point3d_float____29($0, $1); + return; + } + void_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______push_back_slow_path_vision__Point3d_float___28vision__Point3d_float____29($0, $1); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______null_terminate_at_28char__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_size_28unsigned_20long_29($0, $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______invalidate_iterators_past_28unsigned_20long_29($0, $2); + HEAP8[$3 + 15 | 0] = 0; + std____2__char_traits_char___assign_28char__2c_20char_20const__29($1 + $2 | 0, $3 + 15 | 0); + __stack_pointer = $3 + 16 | 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_200_2c_20false_____compressed_pair_elem_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20void__28std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96______29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function std____2__unique_ptr_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20_5b_5d_2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________get_deleter_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________second_28_29($0); +} + +function std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__FeaturePoint____28std__nullptr_t___2c_20std____2__allocator_vision__FeaturePoint___29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_vision__FeaturePoint__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_vision__FeaturePoint___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__FeaturePoint___2c_20void__28std____2__allocator_vision__FeaturePoint___29($1 + 4 | 0, $2); + return $1; +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___________bucket_list_deallocator_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = 0; + $0 = std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1 + 12 | 0, $1 + 8 | 0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________end_cap_28_29($0) { + return std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______first_28_29($0 + 8 | 0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_201_2c_20false_____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20void__28std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______29($0, $1) { + var $2 = 0, $3 = 0; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + $3 = $1; + $1 = $0; + HEAP32[$1 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $2; + return $1; +} + +function vision__Image__Image_28unsigned_20char__2c_20vision__ImageType_2c_20unsigned_20long_2c_20unsigned_20long_2c_20int_2c_20unsigned_20long_29($0, $1, $2, $3, $4, $5, $6) { + HEAP32[$0 + 16 >> 2] = $6; + HEAP32[$0 + 8 >> 2] = $4; + HEAP32[$0 + 4 >> 2] = $3; + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 20 >> 2] = Math_imul($4, $5); + std____2__shared_ptr_unsigned_20char___shared_ptr_unsigned_20char_2c_20NullArrayDeleter_unsigned_20char__2c_20void__28unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__29($0 + 24 | 0, $1); + if (($5 | 0) < 0) { + $5 = Math_imul(vision__Image__calculate_unit_size_28vision__ImageType_29($2), Math_imul($3, $6)); + } + HEAP32[$0 + 12 >> 2] = $5; + return $0; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________alloc_28_29($0) { + return std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______second_28_29($0 + 8 | 0); +} + +function std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_____pair_int_20const__2c_200ul__28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const____2c_20std____2__tuple____2c_20std____2____tuple_indices_0ul__2c_20std____2____tuple_indices___29($0, $1, $2) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = HEAP32[std____2__tuple_element_0ul_2c_20std____2__tuple_int_20const_____type__20std____2__get_0ul_2c_20int_20const___28std____2__tuple_int_20const____29($1) >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__vector_int_2c_20std____2__allocator_int____vector_28_29($0 + 4 | 0); + return $0; +} + +function std____2__collate_wchar_t___do_compare_28wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0, $6 = 0; + label$1: { + while (1) { + if (($3 | 0) != ($4 | 0)) { + $0 = -1; + if (($1 | 0) == ($2 | 0)) { + break label$1; + } + $5 = HEAP32[$1 >> 2]; + $6 = HEAP32[$3 >> 2]; + if (($5 | 0) < ($6 | 0)) { + break label$1; + } + if (($5 | 0) > ($6 | 0)) { + return 1; + } else { + $3 = $3 + 4 | 0; + $1 = $1 + 4 | 0; + continue; + } + } + break; + } + $0 = ($1 | 0) != ($2 | 0); + } + return $0 | 0; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1)); +} + +function std____2__locale__id____get_28_29($0) { + var $1 = 0, $2 = 0; + $1 = __stack_pointer - 32 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = 0; + HEAP32[$1 + 8 >> 2] = 317; + $2 = HEAP32[$1 + 12 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$1 + 8 >> 2]; + HEAP32[$1 + 4 >> 2] = $2; + void_20std____2__call_once_std____2___28anonymous_20namespace_29____fake_bind__28std____2__once_flag__2c_20std____2___28anonymous_20namespace_29____fake_bind___29($0, std____2___28anonymous_20namespace_29____fake_bind____fake_bind_28void_20_28std____2__locale__id____29_28_29_2c_20std____2__locale__id__29($1 + 16 | 0, $1, $0)); + __stack_pointer = $1 + 32 | 0; + $0 = HEAP32[$0 + 4 >> 2]; + return $0 - 1 | 0; +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________base_destruct_at_end_28vision__Node_96____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 4 | 0; + void_20std____2__allocator_traits_std____2__allocator_vision__Node_96______destroy_vision__Node_96___2c_20void__28std____2__allocator_vision__Node_96_____2c_20vision__Node_96____29(std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________alloc_28_29($0), vision__Node_96____20std____2____to_address_vision__Node_96____28vision__Node_96____29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_200_2c_20false_____get_28_29($0); +} + +function CENTER($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $4 = -1; + label$1: { + $2 = HEAP32[$0 + 8 >> 2]; + if (($2 | 0) != HEAP32[$1 + 4 >> 2]) { + break label$1; + } + $4 = 0; + $6 = ($2 | 0) > 0 ? $2 : 0; + $2 = HEAP32[$0 + 4 >> 2]; + $7 = ($2 | 0) > 0 ? $2 : 0; + $0 = HEAP32[$0 >> 2]; + while (1) { + if (($5 | 0) == ($7 | 0)) { + break label$1; + } + $3 = HEAP32[$1 >> 2]; + $2 = 0; + while (1) { + if (($2 | 0) != ($6 | 0)) { + HEAPF64[$0 >> 3] = HEAPF64[$0 >> 3] - HEAPF64[$3 >> 3]; + $2 = $2 + 1 | 0; + $0 = $0 + 8 | 0; + $3 = $3 + 8 | 0; + continue; + } + break; + } + $5 = $5 + 1 | 0; + continue; + } + } + return $4; +} + +function strtox_1($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + $4 = __stack_pointer - 160 | 0; + __stack_pointer = $4; + HEAP32[$4 + 60 >> 2] = $1; + HEAP32[$4 + 20 >> 2] = $1; + HEAP32[$4 + 24 >> 2] = -1; + __shlim($4 + 16 | 0, 0, 0); + __floatscan($4, $4 + 16 | 0, $3, 1); + $5 = HEAP32[$4 + 8 >> 2]; + $3 = HEAP32[$4 + 12 >> 2]; + $6 = $3; + $3 = HEAP32[$4 >> 2]; + $7 = $3; + $8 = HEAP32[$4 + 4 >> 2]; + if ($2) { + HEAP32[$2 >> 2] = ((HEAP32[$4 + 20 >> 2] + HEAP32[$4 + 136 >> 2] | 0) - HEAP32[$4 + 60 >> 2] | 0) + $1; + } + $3 = $0; + HEAP32[$3 + 8 >> 2] = $5; + HEAP32[$3 + 12 >> 2] = $6; + HEAP32[$3 >> 2] = $7; + HEAP32[$3 + 4 >> 2] = $8; + __stack_pointer = $4 + 160 | 0; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______allocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____allocate_28unsigned_20long_29($0, $1); +} + +function std____2__shared_ptr_vision__Keyframe_96____swap_28std____2__shared_ptr_vision__Keyframe_96____29($0, $1) { + std____2__enable_if_is_move_constructible_vision__Keyframe_96_____value_20___20is_move_assignable_vision__Keyframe_96_____value_2c_20void___type_20std____2__swap_vision__Keyframe_96____28vision__Keyframe_96____2c_20vision__Keyframe_96____29($0, $1); + std____2__enable_if_is_move_constructible_std____2____shared_weak_count____value_20___20is_move_assignable_std____2____shared_weak_count____value_2c_20void___type_20std____2__swap_std____2____shared_weak_count___28std____2____shared_weak_count___2c_20std____2____shared_weak_count___29($0 + 4 | 0, $1 + 4 | 0); +} + +function __cxxabiv1____si_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], $5)) { + __cxxabiv1____class_type_info__process_static_type_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_29_20const($1, $1, $2, $3, $4); + return; + } + $0 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1, $2, $3, $4, $5); +} + +function vision__HoughSimilarityVoting__HoughSimilarityVoting_28_29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP8[$0 + 16 | 0] = 1; + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 + 12 >> 2] = 0; + wasm2js_memory_fill($0 + 20 | 0, 0, 72); + std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____unordered_map_28_29($0 + 92 | 0); + std____2__vector_float_2c_20std____2__allocator_float____vector_28_29($0 + 112 | 0); + std____2__vector_int_2c_20std____2__allocator_int____vector_28_29($0 + 124 | 0); + return $0; +} + +function std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short________split_buffer_28_29($0) { + std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_____clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_unsigned_20short____deallocate_28std____2__allocator_unsigned_20short___2c_20unsigned_20short__2c_20unsigned_20long_29(std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_____capacity_28_29_20const($0)); + } + return $0; +} + +function void_20std____2____call_once_param_std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind________execute___28std____2____tuple_indices___29($0) { + decltype_28static_cast_std____2___28anonymous_20namespace_29____fake_bind__28fp_29_28_29_29_20std____2____invoke_std____2___28anonymous_20namespace_29____fake_bind__28std____2___28anonymous_20namespace_29____fake_bind___29(std____2__tuple_element_0ul_2c_20std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind______type___20std____2__get_0ul_2c_20std____2___28anonymous_20namespace_29____fake_bind____28std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind______29(HEAP32[$0 >> 2])); +} + +function std____2____num_get_char_____stage2_int_prep_28std____2__ios_base__2c_20char__29($0, $1, $2) { + var $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + std____2__ios_base__getloc_28_29_20const($3 + 8 | 0, $1); + $1 = std____2__numpunct_char__20const__20std____2__use_facet_std____2__numpunct_char___28std____2__locale_20const__29($3 + 8 | 0); + wasm2js_i32$0 = $2, wasm2js_i32$1 = std____2__numpunct_char___thousands_sep_28_29_20const($1), + HEAP8[wasm2js_i32$0 | 0] = wasm2js_i32$1; + std____2__numpunct_char___grouping_28_29_20const($0, $1); + std____2__locale___locale_28_29($3 + 8 | 0); + __stack_pointer = $3 + 16 | 0; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_200_2c_20false_____get_28_29_20const($0); +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______max_size_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____20const__29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____max_size_28_29_20const($0); +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________max_size_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20void__28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______20const__29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________max_size_28_29_20const($0); +} + +function std____2__allocator_std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96______allocator_vision__Keyframe_96___28std____2__allocator_vision__Keyframe_96___20const__29($0, $1) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_________non_trivial_if_28_29($0); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___________bucket_list_deallocator_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = 0; + $0 = std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___________compressed_pair_int_2c_20std____2____default_init_tag__28int___2c_20std____2____default_init_tag___29($0, $1 + 12 | 0, $1 + 8 | 0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__CtorVtableSpecialName__CtorVtableSpecialName_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 21, 1, 1, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 65936; + return $0; +} + +function std____2____compressed_pair_std____2__shared_ptr_vision__FrontendSinkFilter___2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_std____2__shared_ptr_vision__FrontendSinkFilter___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function $28anonymous_20namespace_29__itanium_demangle__CtorDtorName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__CtorDtorName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool_2c_20int___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool___2c_20int__29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__CtorDtorName__CtorDtorName_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20bool_2c_20int_29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20), HEAP32[$1 >> 2], HEAPU8[$2 | 0], HEAP32[$3 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__BoolExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $0 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($2 + 8 | 0, HEAPU8[$0 + 8 | 0] ? 31762 : 31787); + $3 = HEAP32[$0 + 4 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$0 >> 2]; + HEAP32[$2 + 4 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + if (!HEAPU8[$0 + 16 | 0]) { + $3 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool___SwapAndRestore_28bool__2c_20bool_29($2 + 8 | 0, $0 + 16 | 0, 1); + $0 = HEAP32[$0 + 12 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1); + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool____SwapAndRestore_28_29($3); + } + __stack_pointer = $2 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + if (!HEAPU8[$0 + 16 | 0]) { + $3 = $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool___SwapAndRestore_28bool__2c_20bool_29($2 + 8 | 0, $0 + 16 | 0, 1); + $0 = HEAP32[$0 + 12 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1); + $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool____SwapAndRestore_28_29($3); + } + __stack_pointer = $2 + 16 | 0; +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______destruct_at_end_28unsigned_20short__29($0, $1) { + var $2 = 0; + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______invalidate_iterators_past_28unsigned_20short__29($0, $1); + $2 = std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____size_28_29_20const($0); + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______base_destruct_at_end_28unsigned_20short__29($0, $1); + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______annotate_shrink_28unsigned_20long_29_20const($0, $2); +} + +function float_20vision__CauchyProjectiveReprojectionCost_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float__2c_20float_20const__2c_20float_2c_20float_29($4 + 8 | 0, $4 + 12 | 0, $0, HEAPF32[$1 >> 2], HEAPF32[$1 + 4 >> 2]); + HEAPF32[$4 >> 2] = HEAPF32[$4 + 8 >> 2] - HEAPF32[$2 >> 2]; + HEAPF32[$4 + 4 >> 2] = HEAPF32[$4 + 12 >> 2] - HEAPF32[$2 + 4 >> 2]; + $3 = float_20vision__CauchyCost_float__28float_20const__2c_20float_29($4, $3); + __stack_pointer = $4 + 16 | 0; + return $3; +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______base_destruct_at_end_28unsigned_20short__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 2 | 0; + void_20std____2__allocator_traits_std____2__allocator_unsigned_20short____destroy_unsigned_20short_2c_20void__28std____2__allocator_unsigned_20short___2c_20unsigned_20short__29(std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______alloc_28_29($0), unsigned_20short__20std____2____to_address_unsigned_20short__28unsigned_20short__29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_____pair_int_20const__2c_200ul__28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const____2c_20std____2__tuple____2c_20std____2____tuple_indices_0ul__2c_20std____2____tuple_indices___29($0, $1, $2) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = HEAP32[std____2__tuple_element_0ul_2c_20std____2__tuple_int_20const_____type__20std____2__get_0ul_2c_20int_20const___28std____2__tuple_int_20const____29($1) >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + std____2__shared_ptr_vision__Keyframe_96____shared_ptr_28_29($0 + 4 | 0); + return $0; +} + +function std____2__iterator_traits_std____2____wrap_iter_int_20const_____difference_type_20std____2____distance_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___2c_20std____2__random_access_iterator_tag_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 8 >> 2] = $0; + $1 = decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__int_20const__2c_20int_20const___28std____2____wrap_iter_int_20const___20const__2c_20std____2____wrap_iter_int_20const___20const__29($2, $2 + 8 | 0); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_vision__DoGScaleInvariantDetector__FeaturePoint__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_201_2c_20false_____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20void__28std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______29($0, $1) { + var $2 = 0, $3 = 0; + $2 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + $3 = $1; + $1 = $0; + HEAP32[$1 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $2; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__ArraySubscriptExpr__ArraySubscriptExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 49, 1, 1, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 69636; + return $0; +} + +function std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______operator___28_29_20const($0) { + return HEAP32[std____2____compressed_pair_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______first_28_29_20const($0) >> 2]; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___________bucket_list_deallocator_28_29($0); +} + +function vision__VisualDatabaseFacade__inliers_28_29_20const($0) { + return vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____inliers_28_29_20const(std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______operator___28_29_20const(std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____operator___28_29_20const($0))); +} + +function vision__Image__calculate_unit_size_28vision__ImageType_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + label$1: { + switch ($0 - 1 | 0) { + default: + __cxa_throw(vision__Exception__Exception_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29(__cxa_allocate_exception(16) | 0, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($1, 11676)) | 0, 26576, 17); + abort(); + + case 1: + $0 = 4; + break; + + case 0: + break label$1; + } + } + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__vector_float_2c_20std____2__allocator_float____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_float__2c_20std____2__allocator_float______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_float_2c_20std____2__allocator_float____28std____2__vector_float_2c_20std____2__allocator_float____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__operator___28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__2c_20std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__29($0, $1) { + return std____2__operator___28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__2c_20std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__29_1($0, $1) ^ 1; +} + +function std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t________split_buffer_28_29($0) { + std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_____clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_vision__match_t____deallocate_28std____2__allocator_vision__match_t___2c_20vision__match_t__2c_20unsigned_20long_29(std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_____capacity_28_29_20const($0)); + } + return $0; +} + +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char________split_buffer_28_29($0) { + std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_unsigned_20char____deallocate_28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20long_29(std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____capacity_28_29_20const($0)); + } + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__VectorType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__VectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20std__nullptr_t__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20std__nullptr_t___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__VectorType__VectorType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], 0); +} + +function jinit_arith_decoder($0) { + var $1 = 0, $2 = 0; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 192) | 0; + HEAP32[$0 + 468 >> 2] = $1; + HEAP32[$1 + 8 >> 2] = 157; + HEAP32[$1 >> 2] = 158; + memset($1 + 60 | 0, 0, 128); + HEAP8[$1 + 188 | 0] = 113; + label$1: { + if (!HEAP32[$0 + 224 >> 2]) { + break label$1; + } + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, HEAP32[$0 + 36 >> 2] << 8) | 0; + HEAP32[$0 + 160 >> 2] = $1; + if (HEAP32[$0 + 36 >> 2] <= 0) { + break label$1; + } + while (1) { + $1 = memset($1, 255, 256) + 256 | 0; + $2 = $2 + 1 | 0; + if (($2 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; + } + break; + } + } +} + +function $28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl__NonTypeTemplateParamDecl_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 30, 0, 1, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 67372; + return $0; +} + +function void_20std____2____debug_db_insert_c_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______28std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0) {} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________2c_201_2c_20false_____get_28_29_20const($0 + 4 | 0); +} + +function std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_____pair_int_20const___28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const___2c_20std____2__tuple___29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = $1; + $1 = std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_____pair_int_20const__2c_200ul__28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const____2c_20std____2__tuple____2c_20std____2____tuple_indices_0ul__2c_20std____2____tuple_indices___29($0, $2 + 8 | 0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__init_wam_pm_28_29() { + var $0 = 0; + if (!HEAPU8[83832]) { + $0 = 83808; + while (1) { + $0 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($0) + 12 | 0; + if (($0 | 0) != 83832) { + continue; + } + break; + } + __cxa_atexit(324, 0, 1024); + HEAP8[83832] = 1; + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83808, 64544); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29(83820, 64556); +} + +function vision__VisualDatabaseFacade__matchedId_28_29($0) { + return vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____matchedId_28_29_20const(std____2__unique_ptr_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96___2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______operator___28_29_20const(std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____operator___28_29_20const($0))); +} + +function std____2__unique_ptr_std____2__locale__facet_2c_20std____2___28anonymous_20namespace_29__release___reset_28std____2__locale__facet__29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2__locale__facet__2c_20std____2___28anonymous_20namespace_29__release___first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2__locale__facet__2c_20std____2___28anonymous_20namespace_29__release___first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($1) { + std____2___28anonymous_20namespace_29__release__operator_28_29_28std____2__locale__facet__29($1); + } +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____push_back_28vision__FeaturePoint___29($0, $1) { + if (HEAPU32[$0 + 4 >> 2] < HEAPU32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______end_cap_28_29($0) >> 2]) { + void_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______construct_one_at_end_vision__FeaturePoint__28vision__FeaturePoint___29($0, $1); + return; + } + void_20std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______push_back_slow_path_vision__FeaturePoint__28vision__FeaturePoint___29($0, $1); +} + +function std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96_________compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__Node_96______28std__nullptr_t___2c_20std____2__allocator_vision__Node_96_____29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_vision__Node_96____2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_vision__Node_96_____2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__Node_96_____2c_20void__28std____2__allocator_vision__Node_96_____29($1 + 4 | 0, $2); + return $1; +} + +function arUtilMatMul($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0; + while (1) { + if (($6 | 0) != 3) { + $7 = $6 << 5; + $5 = $7 + $0 | 0; + $3 = 0; + while (1) { + if (($3 | 0) != 4) { + $4 = $3 << 3; + $8 = $4 + ($2 + $7 | 0) | 0; + $4 = $1 + $4 | 0; + HEAPF64[$8 >> 3] = HEAPF64[$5 + 16 >> 3] * HEAPF64[$4 - -64 >> 3] + (HEAPF64[$5 >> 3] * HEAPF64[$4 >> 3] + HEAPF64[$5 + 8 >> 3] * HEAPF64[$4 + 32 >> 3]); + $3 = $3 + 1 | 0; + continue; + } + break; + } + $3 = $2 + $7 | 0; + HEAPF64[$3 + 24 >> 3] = HEAPF64[$5 + 24 >> 3] + HEAPF64[$3 + 24 >> 3]; + $6 = $6 + 1 | 0; + continue; + } + break; + } + return 0; +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______push_back_28vision__Node_96___20const__29($0, $1) { + if (HEAP32[$0 + 4 >> 2] != HEAP32[std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________end_cap_28_29($0) >> 2]) { + void_20std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________construct_one_at_end_vision__Node_96___20const___28vision__Node_96___20const__29($0, $1); + return; + } + void_20std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________push_back_slow_path_vision__Node_96___20const___28vision__Node_96___20const__29($0, $1); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________upcast_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______29($0); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void__________first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_200_2c_20false_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_long_20double___FloatLiteralImpl_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1) { + var $2 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 74, 1, 1, 1); + HEAP32[$0 >> 2] = 66808; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 12 >> 2] = $2; + return $0; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____resize_28unsigned_20long_2c_20unsigned_20char_20const__29($0, $1, $2) { + var $3 = 0; + $3 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0); + if ($3 >>> 0 < $1 >>> 0) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______append_28unsigned_20long_2c_20unsigned_20char_20const__29($0, $1 - $3 | 0, $2); + return; + } + if ($1 >>> 0 < $3 >>> 0) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______destruct_at_end_28unsigned_20char__29($0, HEAP32[$0 >> 2] + $1 | 0); + } +} + +function jpeg_stdio_src($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[$0 + 24 >> 2]; + if (!$2) { + $2 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 0, 40) | 0; + HEAP32[$0 + 24 >> 2] = $2; + wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 0, 4096) | 0, + HEAP32[wasm2js_i32$0 + 32 >> 2] = wasm2js_i32$1; + $2 = HEAP32[$0 + 24 >> 2]; + } + HEAP32[$2 + 28 >> 2] = $1; + HEAP32[$2 + 24 >> 2] = 98; + HEAP32[$2 + 20 >> 2] = 99; + HEAP32[$2 + 16 >> 2] = 100; + HEAP32[$2 + 12 >> 2] = 101; + HEAP32[$2 + 8 >> 2] = 102; + HEAP32[$2 >> 2] = 0; + HEAP32[$2 + 4 >> 2] = 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__QualifiedName__QualifiedName_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 22, 1, 1, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 68988; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__DeleteExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__DeleteExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__2c_20bool__28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20bool__2c_20bool___29($0, $1, $2, $3) { + return $28anonymous_20namespace_29__itanium_demangle__DeleteExpr__DeleteExpr_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20bool_2c_20bool_29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 16), HEAP32[$1 >> 2], HEAPU8[$2 | 0], HEAPU8[$3 | 0]); +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______destroy_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_____29($0, $1) { + std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int______pair_28_29($1); +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______base_destruct_at_end_28vision__match_t__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 8 | 0; + void_20std____2__allocator_traits_std____2__allocator_vision__match_t____destroy_vision__match_t_2c_20void__28std____2__allocator_vision__match_t___2c_20vision__match_t__29(std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29($0), vision__match_t__20std____2____to_address_vision__match_t__28vision__match_t__29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______destruct_at_end_28unsigned_20char__29($0, $1) { + var $2 = 0; + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______invalidate_iterators_past_28unsigned_20char__29($0, $1); + $2 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______base_destruct_at_end_28unsigned_20char__29($0, $1); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_shrink_28unsigned_20long_29_20const($0, $2); +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______base_destruct_at_end_28unsigned_20char__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 1 | 0; + void_20std____2__allocator_traits_std____2__allocator_unsigned_20char____destroy_unsigned_20char_2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__29(std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0), unsigned_20char__20std____2____to_address_unsigned_20char__28unsigned_20char__29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________ptr_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($0 + 8 | 0, 38406); + $3 = HEAP32[$2 + 4 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$0 + 4 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $0); + __stack_pointer = $0 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs__NameWithTemplateArgs_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 38, 1, 1, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 72036; + return $0; +} + +function std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___operator__28std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29____29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___reset_28wchar_t__29($0, std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___release_28_29($1)); + $1 = HEAP32[std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_deleter_28_29($1) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29___second_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $0; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________max_size_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20void__28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______20const__29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________max_size_28_29_20const($0); +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______reset_28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____29($0, 0); + return $0; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________allocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________allocate_28unsigned_20long_29($0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__StructuredBindingName__StructuredBindingName_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1) { + var $2 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 47, 1, 1, 1); + HEAP32[$0 >> 2] = 71376; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 12 >> 2] = $2; + return $0; +} + +function std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_unsigned_20short____28std__nullptr_t___2c_20std____2__allocator_unsigned_20short___29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_unsigned_20short__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_unsigned_20short___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_unsigned_20short___2c_20void__28std____2__allocator_unsigned_20short___29($1 + 4 | 0, $2); + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_double___FloatLiteralImpl_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1) { + var $2 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 73, 1, 1, 1); + HEAP32[$0 >> 2] = 66696; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 12 >> 2] = $2; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack__TemplateArgumentPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1) { + var $2 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 34, 1, 1, 1); + HEAP32[$0 >> 2] = 72152; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 12 >> 2] = $2; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_float___FloatLiteralImpl_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1) { + var $2 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 72, 1, 1, 1); + HEAP32[$0 >> 2] = 66584; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 12 >> 2] = $2; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__DynamicExceptionSpec__DynamicExceptionSpec_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1) { + var $2 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 17, 1, 1, 1); + HEAP32[$0 >> 2] = 72700; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 12 >> 2] = $2; + return $0; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____resize_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0); + if ($2 >>> 0 < $1 >>> 0) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______append_28unsigned_20long_29($0, $1 - $2 | 0); + return; + } + if ($1 >>> 0 < $2 >>> 0) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______destruct_at_end_28vision__FeaturePoint__29($0, HEAP32[$0 >> 2] + Math_imul($1, 20) | 0); + } +} + +function std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int__20const____pointer_to_28std____2__pair_unsigned_20int_20const_2c_20unsigned_20int__20const__29(std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____get_value_28_29_20const(std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______operator___28_29_20const($0))); +} + +function std____2__vector_int_2c_20std____2__allocator_int____vector_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 0; + std____2____compressed_pair_int__2c_20std____2__allocator_int______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0 + 8 | 0, $1 + 12 | 0, $1 + 8 | 0); + void_20std____2____debug_db_insert_c_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29($0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______first_28_29_20const($0) >> 2]; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void____2c_20unsigned_20long_29($0, $1, $2); +} + +function $28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution_2c_20_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind___28_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution__ExpandedSpecialSubstitution_28_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind_29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_std____2__pair_float_2c_20unsigned_20long___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_200_2c_20false_____get_28_29_20const($0); +} + +function void_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____construct_std____2__pair_int_20const_2c_20arController__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28std____2__pair_int_20const_2c_20arController___2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4) { + std____2__pair_int_20const_2c_20arController___pair_int_20const___28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const___2c_20std____2__tuple___29($1, HEAP32[$3 >> 2]); +} + +function void_20emscripten__function_int_2c_20int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_2c_20int_29_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + _embind_register_function($0 | 0, emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int_2c_20int_2c_20int___getCount_28_29_20const($2 + 8 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int_2c_20int_2c_20int___getTypes_28_29_20const($2 + 8 | 0) | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int_2c_20int__28_29() | 0, 87, $1 | 0); + __stack_pointer = $2 + 16 | 0; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________second_28_29($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_200_2c_20false_____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function scalbn($0, $1) { + label$1: { + if (($1 | 0) >= 1024) { + $0 = $0 * 898846567431158e293; + if ($1 >>> 0 < 2047) { + $1 = $1 - 1023 | 0; + break label$1; + } + $0 = $0 * 898846567431158e293; + $1 = (($1 | 0) < 3069 ? $1 : 3069) - 2046 | 0; + break label$1; + } + if (($1 | 0) > -1023) { + break label$1; + } + $0 = $0 * 2004168360008973e-307; + if ($1 >>> 0 > 4294965304) { + $1 = $1 + 969 | 0; + break label$1; + } + $0 = $0 * 2004168360008973e-307; + $1 = (($1 | 0) > -2960 ? $1 : -2960) + 1938 | 0; + } + wasm2js_scratch_store_i32(0, 0); + wasm2js_scratch_store_i32(1, $1 + 1023 << 20); + return $0 * +wasm2js_scratch_load_f64(); +} + +function getenv($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0; + $1 = __strchrnul($0, 61); + if (($1 | 0) == ($0 | 0)) { + return 0; + } + $3 = $1 - $0 | 0; + label$2: { + if (HEAPU8[$3 + $0 | 0]) { + break label$2; + } + $1 = HEAP32[19607]; + if (!$1) { + break label$2; + } + $2 = HEAP32[$1 >> 2]; + if (!$2) { + break label$2; + } + while (1) { + label$4: { + if (!strncmp($0, $2, $3)) { + $2 = HEAP32[$1 >> 2] + $3 | 0; + if (HEAPU8[$2 | 0] == 61) { + break label$4; + } + } + $2 = HEAP32[$1 + 4 >> 2]; + $1 = $1 + 4 | 0; + if ($2) { + continue; + } + break label$2; + } + break; + } + $4 = $2 + 1 | 0; + } + return $4; +} + +function std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______20const__29($0, $1) { + return std____2__operator___28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____20const__2c_20std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____20const__29($0, $1); +} + +function std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_____pair_int_20const___28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const___2c_20std____2__tuple___29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = $1; + $1 = std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_____pair_int_20const__2c_200ul__28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const____2c_20std____2__tuple____2c_20std____2____tuple_indices_0ul__2c_20std____2____tuple_indices___29($0, $2 + 8 | 0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__match_t____28std__nullptr_t___2c_20std____2__allocator_vision__match_t___29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_vision__match_t__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_vision__match_t___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__match_t___2c_20void__28std____2__allocator_vision__match_t___29($1 + 4 | 0, $2); + return $1; +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_unsigned_20char____28std__nullptr_t___2c_20std____2__allocator_unsigned_20char___29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_unsigned_20char___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_unsigned_20char___2c_20void__28std____2__allocator_unsigned_20char___29($1 + 4 | 0, $2); + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__VectorType__VectorType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 25, 1, 1, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 73460; + return $0; +} + +function std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image________split_buffer_28_29($0) { + std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_____clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_vision__Image____deallocate_28std____2__allocator_vision__Image___2c_20vision__Image__2c_20unsigned_20long_29(std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_____capacity_28_29_20const($0)); + } + return $0; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______get_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______first_28_29_20const($0) >> 2]; +} + +function std____2__shared_ptr_unsigned_20char___swap_28std____2__shared_ptr_unsigned_20char___29($0, $1) { + std____2__enable_if_is_move_constructible_unsigned_20char____value_20___20is_move_assignable_unsigned_20char____value_2c_20void___type_20std____2__swap_unsigned_20char___28unsigned_20char___2c_20unsigned_20char___29($0, $1); + std____2__enable_if_is_move_constructible_std____2____shared_weak_count____value_20___20is_move_assignable_std____2____shared_weak_count____value_2c_20void___type_20std____2__swap_std____2____shared_weak_count___28std____2____shared_weak_count___2c_20std____2____shared_weak_count___29($0 + 4 | 0, $1 + 4 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__UnnamedTypeName__UnnamedTypeName_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1) { + var $2 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 45, 1, 1, 1); + HEAP32[$0 >> 2] = 67028; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 12 >> 2] = $2; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SyntheticTemplateParamName__SyntheticTemplateParamName_28_28anonymous_20namespace_29__itanium_demangle__TemplateParamKind_2c_20unsigned_20int_29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 28, 1, 1, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 67136; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ArrayType__ArrayType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 14, 0, 0, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 73564; + return $0; +} + +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20bool__2c_20_28void__290__28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20bool__29($0, $1, $2) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP8[$0 + 4 | 0] = HEAPU8[$2 | 0]; + return $0; +} + +function std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const____pointer_to_28std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const__29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________upcast_28_29(HEAP32[$0 >> 2]) + 8 | 0); +} + +function bool_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______addr_in_range_wchar_t___28wchar_t__29_20const($0, $1) { + var $2 = 0; + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($0) >>> 0 <= $1 >>> 0) { + $2 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($0) + (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($0) << 2) >>> 0 >= $1 >>> 0; + } + return $2; +} + +function fclose($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + if (HEAP32[$0 + 76 >> 2] < 0) { + $1 = 0; + } else { + $1 = __lockfile($0); + } + $4 = fflush($0); + $5 = FUNCTION_TABLE[HEAP32[$0 + 12 >> 2]]($0) | 0; + $1 = !$1; + if (!$1) { + __unlockfile($0); + } + if (!(HEAP8[$0 | 0] & 1)) { + dummy($0); + $1 = __ofl_lock(); + $2 = HEAP32[$0 + 52 >> 2]; + if ($2) { + HEAP32[$2 + 56 >> 2] = HEAP32[$0 + 56 >> 2]; + } + $3 = HEAP32[$0 + 56 >> 2]; + if ($3) { + HEAP32[$3 + 52 >> 2] = $2; + } + if (HEAP32[$1 >> 2] == ($0 | 0)) { + HEAP32[$1 >> 2] = $3; + } + __ofl_unlock(); + dlfree(HEAP32[$0 + 96 >> 2]); + dlfree($0); + } + return $4 | $5; +} + +function decode_mcu_DC_refine($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = HEAP32[$0 + 468 >> 2]; + if (HEAP32[$0 + 280 >> 2]) { + $3 = HEAP32[$2 + 56 >> 2]; + if (!$3) { + process_restart($0); + $3 = HEAP32[$2 + 56 >> 2]; + } + HEAP32[$2 + 56 >> 2] = $3 - 1; + } + if (HEAP32[$0 + 368 >> 2] > 0) { + $4 = $2 + 188 | 0; + $5 = 1 << HEAP32[$0 + 424 >> 2]; + $2 = 0; + while (1) { + if (arith_decode($0, $4)) { + $3 = HEAP32[($2 << 2) + $1 >> 2]; + HEAP16[$3 >> 1] = HEAPU16[$3 >> 1] | $5; + } + $2 = $2 + 1 | 0; + if (($2 | 0) < HEAP32[$0 + 368 >> 2]) { + continue; + } + break; + } + } + return 1; +} + +function $28anonymous_20namespace_29__itanium_demangle__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__StringView_20const__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__size_28_29_20const($0); + if (($2 | 0) == ($28anonymous_20namespace_29__itanium_demangle__StringView__size_28_29_20const($1) | 0)) { + $3 = !strncmp($28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($0), $28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($1), $2); + } + return $3; +} + +function std____2__unique_ptr_unsigned_20char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28unsigned_20char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_unsigned_20char__2c_20void_20_28__29_28void__29_____compressed_pair_unsigned_20char___2c_20void_20_28__29_28void__29__28unsigned_20char___2c_20void_20_28____29_28void__29_29($0, $3 + 12 | 0, $2); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__CtorDtorName__CtorDtorName_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_20bool_2c_20int_29($0, $1, $2, $3) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 43, 1, 1, 1); + HEAP32[$0 + 16 >> 2] = $3; + HEAP8[$0 + 12 | 0] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 71164; + return $0; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____clear_28_29($0) { + var $1 = 0; + $1 = std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____size_28_29_20const($0); + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______clear_28_29($0); + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_shrink_28unsigned_20long_29_20const($0, $1); + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______invalidate_all_iterators_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionParam__FunctionParam_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1) { + var $2 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 61, 1, 1, 1); + HEAP32[$0 >> 2] = 68044; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 12 >> 2] = $2; + return $0; +} + +function atoi($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0; + while (1) { + $1 = $0; + $0 = $1 + 1 | 0; + if (isspace(HEAP8[$1 | 0])) { + continue; + } + break; + } + label$2: { + label$3: { + label$4: { + $2 = HEAP8[$1 | 0]; + switch ($2 - 43 | 0) { + case 0: + break label$3; + + case 2: + break label$4; + + default: + break label$2; + } + } + $4 = 1; + } + $2 = HEAP8[$0 | 0]; + $1 = $0; + } + if (isdigit($2)) { + while (1) { + $3 = (Math_imul($3, 10) - HEAP8[$1 | 0] | 0) + 48 | 0; + $0 = HEAP8[$1 + 1 | 0]; + $1 = $1 + 1 | 0; + if (isdigit($0)) { + continue; + } + break; + } + } + return $4 ? $3 : 0 - $3 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__NodeArrayNode__NodeArrayNode_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1) { + var $2 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 0, 1, 1, 1); + HEAP32[$0 >> 2] = 70832; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 12 >> 2] = $2; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__NestedName__NestedName_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 23, 1, 1, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 66152; + return $0; +} + +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____copy_wchar_t__2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28wchar_t__2c_20wchar_t__2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___29($0, $1, $2) { + return std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____copy_constexpr_wchar_t__2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28wchar_t__2c_20wchar_t__2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___29($0, $1, $2); +} + +function __floatunsitf($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + label$1: { + if (!$1) { + $3 = 0; + break label$1; + } + $4 = $1; + $1 = Math_clz32($1); + __ashlti3($2, $4, 0, 0, 0, $1 + 81 | 0); + $1 = (HEAP32[$2 + 12 >> 2] ^ 65536) + (16414 - $1 << 16) | 0; + $5 = 0 + HEAP32[$2 + 8 >> 2] | 0; + $1 = $3 >>> 0 > $5 >>> 0 ? $1 + 1 | 0 : $1; + $4 = $1; + $6 = HEAP32[$2 + 4 >> 2]; + $1 = HEAP32[$2 >> 2]; + $3 = $1; + } + $1 = $0; + HEAP32[$1 >> 2] = $3; + HEAP32[$1 + 4 >> 2] = $6; + HEAP32[$0 + 8 >> 2] = $5; + HEAP32[$1 + 12 >> 2] = $4; + __stack_pointer = $2 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateArgs__TemplateArgs_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1) { + var $2 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 36, 1, 1, 1); + HEAP32[$0 >> 2] = 71928; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 12 >> 2] = $2; + return $0; +} + +function std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28unsigned_20int__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29_____compressed_pair_unsigned_20int___2c_20void_20_28__29_28void__29__28unsigned_20int___2c_20void_20_28____29_28void__29_29($0, $3 + 12 | 0, $2); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___operator__28std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($0, std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___release_28_29($1)); + $1 = HEAP32[std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_deleter_28_29($1) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_char__2c_20void_20_28__29_28void__29___second_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $0; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true_____unordered_map_hasher_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__LocalName__LocalName_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1, $2) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 24, 1, 1, 1); + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 71492; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__EnableIfAttr__EnableIfAttr_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29($0, $1) { + var $2 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 9, 1, 1, 1); + HEAP32[$0 >> 2] = 72268; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 12 >> 2] = $2; + return $0; +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____push_back_28vision__match_t_20const__29($0, $1) { + if (HEAP32[$0 + 4 >> 2] != HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______end_cap_28_29($0) >> 2]) { + void_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______construct_one_at_end_vision__match_t_20const___28vision__match_t_20const__29($0, $1); + return; + } + void_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______push_back_slow_path_vision__match_t_20const___28vision__match_t_20const__29($0, $1); +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______base_destruct_at_end_28vision__Image__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 32 | 0; + void_20std____2__allocator_traits_std____2__allocator_vision__Image____destroy_vision__Image_2c_20void__28std____2__allocator_vision__Image___2c_20vision__Image__29(std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______alloc_28_29($0), vision__Image__20std____2____to_address_vision__Image__28vision__Image__29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____push_back_28unsigned_20char_20const__29($0, $1) { + if (HEAP32[$0 + 4 >> 2] != HEAP32[std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______end_cap_28_29($0) >> 2]) { + void_20std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______construct_one_at_end_unsigned_20char_20const___28unsigned_20char_20const__29($0, $1); + return; + } + void_20std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______push_back_slow_path_unsigned_20char_20const___28unsigned_20char_20const__29($0, $1); +} + +function std____2__allocator_std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96______deallocate_28std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_____2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 4, 4); +} + +function std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker________split_buffer_28_29($0) { + std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_____clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_multi_marker____deallocate_28std____2__allocator_multi_marker___2c_20multi_marker__2c_20unsigned_20long_29(std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_____capacity_28_29_20const($0)); + } + return $0; +} + +function std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_std____2__locale__facet___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2____sso_allocator_std____2__locale__facet__2c_2030ul__2c_201_2c_20false_____compressed_pair_elem_28std____2____default_init_tag_29($1 + 8 | 0); + return $1; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void__________first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true_____unordered_map_equal_28_29($0); +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______destruct_at_end_28vision__Image__29($0, $1) { + var $2 = 0; + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______invalidate_iterators_past_28vision__Image__29($0, $1); + $2 = std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($0); + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______base_destruct_at_end_28vision__Image__29($0, $1); + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______annotate_shrink_28unsigned_20long_29_20const($0, $2); +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________unique_ptr_28_29($0) { + std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______reset_28std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____29($0, 0); + return $0; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______second_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2__init_am_pm_28_29() { + var $0 = 0; + if (!HEAPU8[83800]) { + $0 = 83776; + while (1) { + $0 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0) + 12 | 0; + if (($0 | 0) != 83800) { + continue; + } + break; + } + __cxa_atexit(323, 0, 1024); + HEAP8[83800] = 1; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83776, 35215); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29(83788, 35204); +} + +function std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_vision__Image____28std__nullptr_t___2c_20std____2__allocator_vision__Image___29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_vision__Image__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_vision__Image___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__Image___2c_20void__28std____2__allocator_vision__Image___29($1 + 4 | 0, $2); + return $1; +} + +function void_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____construct_std____2__pair_int_20const_2c_20ARParam__2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const___2c_20std____2__tuple____28std____2__pair_int_20const_2c_20ARParam___2c_20std____2__piecewise_construct_t_20const__2c_20std____2__tuple_int_20const_____2c_20std____2__tuple_____29($0, $1, $2, $3, $4) { + std____2__pair_int_20const_2c_20ARParam___pair_int_20const___28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const___2c_20std____2__tuple___29($1, HEAP32[$3 >> 2]); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____end_28_29_20const($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____wrap_iter_wchar_t_20const______wrap_iter_28wchar_t_20const__29($1 + 8 | 0, std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29_20const($0) + (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($0) << 2) | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________allocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________allocate_28unsigned_20long_29($0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__NameType_28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1) { + var $2 = 0; + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 7, 1, 1, 1); + HEAP32[$0 >> 2] = 66052; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 12 >> 2] = $2; + return $0; +} + +function void_20vision__MultiplyPointHomographyInhomogenous_float__28float__2c_20float__2c_20float_20const__2c_20float_2c_20float_29($0, $1, $2, $3, $4) { + var $5 = Math_fround(0); + $5 = Math_fround(HEAPF32[$2 + 32 >> 2] + Math_fround(Math_fround(HEAPF32[$2 + 24 >> 2] * $3) + Math_fround(HEAPF32[$2 + 28 >> 2] * $4))); + HEAPF32[$0 >> 2] = Math_fround(HEAPF32[$2 + 8 >> 2] + Math_fround(Math_fround(HEAPF32[$2 >> 2] * $3) + Math_fround(HEAPF32[$2 + 4 >> 2] * $4))) / $5; + HEAPF32[$1 >> 2] = Math_fround(HEAPF32[$2 + 20 >> 2] + Math_fround(Math_fround(HEAPF32[$2 + 12 >> 2] * $3) + Math_fround(HEAPF32[$2 + 16 >> 2] * $4))) / $5; +} + +function std____2__pair_int_20const_2c_20arController___pair_int_20const__2c_200ul__28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const____2c_20std____2__tuple____2c_20std____2____tuple_indices_0ul__2c_20std____2____tuple_indices___29($0, $1, $2) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = HEAP32[std____2__tuple_element_0ul_2c_20std____2__tuple_int_20const_____type__20std____2__get_0ul_2c_20int_20const___28std____2__tuple_int_20const____29($1) >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + arController__arController_28_29(memset($0 + 8 | 0, 0, 480)); + return $0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_2c_20char_29($0, $1, $2) { + var $3 = 0; + $3 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0); + if ($3 >>> 0 < $1 >>> 0) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____append_28unsigned_20long_2c_20char_29($0, $1 - $3 | 0, $2); + return; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______erase_to_end_28unsigned_20long_29($0, $1); +} + +function std____2____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_200_2c_20false_____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20void__28std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char_____29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function saveSetjmp($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + var $4 = 0, $5 = 0, $6 = 0; + $5 = HEAP32[20054] + 1 | 0; + HEAP32[20054] = $5; + HEAP32[$0 >> 2] = $5; + if ($3) { + while (1) { + $6 = ($4 << 3) + $2 | 0; + if (!HEAP32[$6 >> 2]) { + HEAP32[$6 >> 2] = $5; + $4 = ($4 << 3) + $2 | 0; + HEAP32[$4 + 4 >> 2] = $1; + HEAP32[$4 + 8 >> 2] = 0; + setTempRet0($3); + return $2 | 0; + } + $4 = $4 + 1 | 0; + if (($4 | 0) != ($3 | 0)) { + continue; + } + break; + } + } + $4 = $3 << 1; + $3 = saveSetjmp($0, $1, dlrealloc($2, $3 << 4 | 8), $4); + setTempRet0($4); + return $3 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__DeleteExpr__DeleteExpr_28_28anonymous_20namespace_29__itanium_demangle__Node__2c_20bool_2c_20bool_29($0, $1, $2, $3) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 59, 1, 1, 1); + HEAP8[$0 + 13 | 0] = $3; + HEAP8[$0 + 12 | 0] = $2; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 68884; + return $0; +} + +function std____2__operator___28std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20const__2c_20std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______20const__29($0, $1) { + return std____2__operator___28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____20const__2c_20std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____20const__29($0, $1); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________2c_201_2c_20false_____get_28_29_20const($0 + 4 | 0); +} + +function request_virt_sarray($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; + $6 = HEAP32[$0 + 4 >> 2]; + if (($1 | 0) != 1) { + $7 = HEAP32[$0 >> 2]; + HEAP32[$7 + 24 >> 2] = $1; + HEAP32[$7 + 20 >> 2] = 15; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $0 = alloc_small($0, $1, 128); + HEAP32[$0 + 40 >> 2] = 0; + HEAP32[$0 + 32 >> 2] = $2; + HEAP32[$0 + 12 >> 2] = $5; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $4; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 44 >> 2] = HEAP32[$6 + 68 >> 2]; + HEAP32[$6 + 68 >> 2] = $0; + return $0 | 0; +} + +function request_virt_barray($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; + $6 = HEAP32[$0 + 4 >> 2]; + if (($1 | 0) != 1) { + $7 = HEAP32[$0 >> 2]; + HEAP32[$7 + 24 >> 2] = $1; + HEAP32[$7 + 20 >> 2] = 15; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $0 = alloc_small($0, $1, 128); + HEAP32[$0 + 40 >> 2] = 0; + HEAP32[$0 + 32 >> 2] = $2; + HEAP32[$0 + 12 >> 2] = $5; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $4; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 44 >> 2] = HEAP32[$6 + 72 >> 2]; + HEAP32[$6 + 72 >> 2] = $0; + return $0 | 0; +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20vision__DoGScaleInvariantDetector__FeaturePoint_2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__2c_20vision__DoGScaleInvariantDetector__FeaturePoint__2c_20vision__DoGScaleInvariantDetector__FeaturePoint___29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] + Math_imul(($2 | 0) / -36 | 0, 36) | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + wasm2js_memory_copy($0, $1, $2); + } +} + +function vision__BinaryHierarchicalClustering_96____BinaryHierarchicalClustering_28_29($0) { + std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96______priority_queue_28_29($0 + 84 | 0); + std____2__vector_int_2c_20std____2__allocator_int_____vector_28_29($0 + 72 | 0); + vision__BinarykMedoids_96____BinarykMedoids_28_29($0 + 12 | 0); + std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96______unique_ptr_28_29($0 + 8 | 0); + return $0; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____get_28_29($0); +} + +function void_20emscripten__function_void_2c_20int_2c_20double__28char_20const__2c_20void_20_28__29_28int_2c_20double_29_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + _embind_register_function($0 | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int_2c_20double___getCount_28_29_20const($2 + 8 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int_2c_20double___getTypes_28_29_20const($2 + 8 | 0) | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20double__28_29() | 0, 94, $1 | 0); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______get_deleter_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______second_28_29($0); +} + +function std____2____split_buffer_float_2c_20std____2__allocator_float_______destruct_at_end_28float__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_float_2c_20std____2__allocator_float_______alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 4 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_float____destroy_float_2c_20void__28std____2__allocator_float___2c_20float__29($3, float__20std____2____to_address_float__28float__29($2)); + continue; + } + break; + } +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______base_destruct_at_end_28multi_marker__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 8 | 0; + void_20std____2__allocator_traits_std____2__allocator_multi_marker____destroy_multi_marker_2c_20void__28std____2__allocator_multi_marker___2c_20multi_marker__29(std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______alloc_28_29($0), multi_marker__20std____2____to_address_multi_marker__28multi_marker__29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_multi_marker____28std__nullptr_t___2c_20std____2__allocator_multi_marker___29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_multi_marker__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_multi_marker___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_multi_marker___2c_20void__28std____2__allocator_multi_marker___29($1 + 4 | 0, $2); + return $1; +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______pointer_to_28std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_____29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________upcast_28_29(HEAP32[$0 >> 2]) + 8 | 0); +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____clear_28_29($0) { + var $1 = 0; + $1 = std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______clear_28_29($0); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_shrink_28unsigned_20long_29_20const($0, $1); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______invalidate_all_iterators_28_29($0); +} + +function void_20emscripten__function_void_2c_20int_2c_20float__28char_20const__2c_20void_20_28__29_28int_2c_20float_29_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + _embind_register_function($0 | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int_2c_20float___getCount_28_29_20const($2 + 8 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int_2c_20float___getTypes_28_29_20const($2 + 8 | 0) | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() | 0, 97, $1 | 0); + __stack_pointer = $2 + 16 | 0; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void__________second_28_29($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function frexp($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + wasm2js_scratch_store_f64(+$0); + $2 = wasm2js_scratch_load_i32(1) | 0; + $3 = wasm2js_scratch_load_i32(0) | 0; + $4 = $2; + $2 = $2 >>> 20 & 2047; + if (($2 | 0) != 2047) { + if (!$2) { + if ($0 == 0) { + $2 = 0; + } else { + $0 = frexp($0 * 0x10000000000000000, $1); + $2 = HEAP32[$1 >> 2] + -64 | 0; + } + HEAP32[$1 >> 2] = $2; + return $0; + } + HEAP32[$1 >> 2] = $2 - 1022; + $2 = $3; + wasm2js_scratch_store_i32(0, $2 | 0); + $2 = $4 & -2146435073 | 1071644672; + wasm2js_scratch_store_i32(1, $2 | 0); + $0 = +wasm2js_scratch_load_f64(); + } + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution_2c_20_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind___28_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution__SpecialSubstitution_28_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind_29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function vision__SampleReceptor_28vision__GaussianScaleSpacePyramid_20const__2c_20float_2c_20float_2c_20int_2c_20int_29($0, $1, $2, $3, $4) { + var $5 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + $4 = vision__GaussianScaleSpacePyramid__get_28unsigned_20long_2c_20unsigned_20long_29_20const($0, $3, $4); + vision__bilinear_downsample_point_28float__2c_20float__2c_20float_2c_20float_2c_20int_29($5 + 12 | 0, $5 + 8 | 0, $1, $2, $3); + $2 = vision__SampleReceptor_28vision__Image_20const__2c_20float_2c_20float_29($4, HEAPF32[$5 + 12 >> 2], HEAPF32[$5 + 8 >> 2]); + __stack_pointer = $5 + 16 | 0; + return $2; +} + +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20bool__2c_20_28void__290__28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20bool__29($0, $1, $2) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP8[$0 + 4 | 0] = HEAPU8[$2 | 0]; + return $0; +} + +function std____2__allocator_std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char_____allocator_unsigned_20char__28std____2__allocator_unsigned_20char__20const__29($0, $1) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char________non_trivial_if_28_29($0); +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______destroy_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_____29($0, $1) { + std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96______pair_28_29($1); +} + +function std____2__iterator_traits_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const____difference_type_20std____2____distance_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const___28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__2c_20std____2__random_access_iterator_tag_29($0, $1) { + return ($1 - $0 | 0) / 12 | 0; +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion__ParameterPackExpansion_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType__ConversionOperatorType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function std____2__vector_float_2c_20std____2__allocator_float_____vector_28_29($0) { + std____2__vector_float_2c_20std____2__allocator_float______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_float_2c_20std____2__allocator_float______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_float____deallocate_28std____2__allocator_float___2c_20float__2c_20unsigned_20long_29(std____2__vector_float_2c_20std____2__allocator_float______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_float_2c_20std____2__allocator_float____capacity_28_29_20const($0)); + } + return $0; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______deallocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____unwrap_iter_impl_std____2____wrap_iter_wchar_t_20const___2c_20true_____apply_28std____2____wrap_iter_wchar_t_20const___29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 8 >> 2] = $0; + $0 = std____2__decay_decltype_28__to_address_helper_std____2____wrap_iter_wchar_t_20const_______call_28declval_std____2____wrap_iter_wchar_t_20const___20const___28_29_29_29___type_20std____2____to_address_std____2____wrap_iter_wchar_t_20const___2c_20void__28std____2____wrap_iter_wchar_t_20const___20const__29($1 + 8 | 0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________2c_201_2c_20false_____get_28_29_20const($0 + 4 | 0); +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sputc_28wchar_t_29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_i32$2 = 0; + $2 = HEAP32[$0 + 24 >> 2]; + if (($2 | 0) == HEAP32[$0 + 28 >> 2]) { + return wasm2js_i32$1 = $0, wasm2js_i32$2 = std____2__char_traits_wchar_t___to_int_type_28wchar_t_29($1), + wasm2js_i32$0 = HEAP32[HEAP32[$0 >> 2] + 52 >> 2], FUNCTION_TABLE[wasm2js_i32$0](wasm2js_i32$1 | 0, wasm2js_i32$2 | 0) | 0; + } + HEAP32[$0 + 24 >> 2] = $2 + 4; + HEAP32[$2 >> 2] = $1; + return std____2__char_traits_wchar_t___to_int_type_28wchar_t_29($1); +} + +function std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____pointer_to_28std____2__pair_unsigned_20int_20const_2c_20unsigned_20int___29(std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____get_value_28_29(std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______operator___28_29_20const($0))); +} + +function std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char______compressed_pair_unsigned_20char___2c_20NullArrayDeleter_unsigned_20char___28unsigned_20char___2c_20NullArrayDeleter_unsigned_20char____29($0, $1, $2) { + return std____2____compressed_pair_elem_NullArrayDeleter_unsigned_20char__2c_201_2c_20true_____compressed_pair_elem_NullArrayDeleter_unsigned_20char__2c_20void__28NullArrayDeleter_unsigned_20char____29(std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____compressed_pair_elem_unsigned_20char___2c_20void__28unsigned_20char___29($0, $1), $2); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________second_28_29($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function void_20vision__NormalizeHomography_float__28float__29($0) { + var $1 = Math_fround(0); + $1 = HEAPF32[$0 + 32 >> 2]; + HEAP32[$0 + 32 >> 2] = 1065353216; + $1 = Math_fround(Math_fround(1) / $1); + HEAPF32[$0 >> 2] = HEAPF32[$0 >> 2] * $1; + HEAPF32[$0 + 4 >> 2] = $1 * HEAPF32[$0 + 4 >> 2]; + HEAPF32[$0 + 8 >> 2] = $1 * HEAPF32[$0 + 8 >> 2]; + HEAPF32[$0 + 12 >> 2] = $1 * HEAPF32[$0 + 12 >> 2]; + HEAPF32[$0 + 16 >> 2] = $1 * HEAPF32[$0 + 16 >> 2]; + HEAPF32[$0 + 20 >> 2] = $1 * HEAPF32[$0 + 20 >> 2]; + HEAPF32[$0 + 24 >> 2] = $1 * HEAPF32[$0 + 24 >> 2]; + HEAPF32[$0 + 28 >> 2] = $1 * HEAPF32[$0 + 28 >> 2]; +} + +function void_20emscripten__function_void_2c_20int_2c_20int__28char_20const__2c_20void_20_28__29_28int_2c_20int_29_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + _embind_register_function($0 | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int_2c_20int___getCount_28_29_20const($2 + 8 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int_2c_20int___getTypes_28_29_20const($2 + 8 | 0) | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() | 0, 96, $1 | 0); + __stack_pointer = $2 + 16 | 0; +} + +function int_20vision__MaxIndex9_float__28float_20const__29($0) { + var $1 = 0; + $1 = HEAPF32[$0 + 4 >> 2] > HEAPF32[$0 >> 2]; + $1 = HEAPF32[$0 + 8 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 2 : $1; + $1 = HEAPF32[$0 + 12 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 3 : $1; + $1 = HEAPF32[$0 + 16 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 4 : $1; + $1 = HEAPF32[$0 + 20 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 5 : $1; + $1 = HEAPF32[$0 + 24 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 6 : $1; + $1 = HEAPF32[$0 + 28 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 7 : $1; + return HEAPF32[$0 + 32 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 8 : $1; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______max_size_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____20const__29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____max_size_28_29_20const($0); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____resize_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____size_28_29_20const($0); + if ($2 >>> 0 < $1 >>> 0) { + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______append_28unsigned_20long_29($0, $1 - $2 | 0); + return; + } + if ($1 >>> 0 < $2 >>> 0) { + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______destruct_at_end_28unsigned_20short__29($0, HEAP32[$0 >> 2] + ($1 << 1) | 0); + } +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_size_28unsigned_20long_29($0, $1) { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______is_long_28_29_20const($0)) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_size_28unsigned_20long_29($0, $1); + return; + } + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_short_size_28unsigned_20long_29($0, $1); +} + +function std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____20const____pointer_to_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____20const__29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________upcast_28_29(HEAP32[$0 >> 2]) + 8 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__20_28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___make__28anonymous_20namespace_29__itanium_demangle__BoolExpr_2c_20int__28int___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__BoolExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__BoolExpr_2c_20int__28int___29($0 + 408 | 0, $1); +} + +function std____2____num_put_base____identify_padding_28char__2c_20char__2c_20std____2__ios_base_20const__29($0, $1, $2) { + $2 = std____2__ios_base__flags_28_29_20const($2) & 176; + if (($2 | 0) == 32) { + return $1; + } + label$2: { + if (($2 | 0) != 16) { + break label$2; + } + label$3: { + label$4: { + $2 = HEAPU8[$0 | 0]; + switch ($2 - 43 | 0) { + case 0: + case 2: + break label$4; + + default: + break label$3; + } + } + return $0 + 1 | 0; + } + if (($2 | 0) != 48 | ($1 - $0 | 0) < 2 | (HEAPU8[$0 + 1 | 0] | 32) != 120) { + break label$2; + } + $0 = $0 + 2 | 0; + } + return $0; +} + +function void_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______construct_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1) { + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____vector_28_29($1); +} + +function void_20emscripten__function_int_2c_20int_2c_20int__28char_20const__2c_20int_20_28__29_28int_2c_20int_29_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + _embind_register_function($0 | 0, emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int_2c_20int___getCount_28_29_20const($2 + 8 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int_2c_20int___getTypes_28_29_20const($2 + 8 | 0) | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() | 0, 90, $1 | 0); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__unique_ptr_unsigned_20char_2c_20void_20_28__29_28void__29___reset_28unsigned_20char__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_unsigned_20char__2c_20void_20_28__29_28void__29___first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_unsigned_20char__2c_20void_20_28__29_28void__29___first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + FUNCTION_TABLE[HEAP32[std____2____compressed_pair_unsigned_20char__2c_20void_20_28__29_28void__29___second_28_29($0) >> 2]]($2); + } +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______second_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function fill_input_buffer($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0; + $1 = HEAP32[$0 + 24 >> 2]; + $2 = fread(HEAP32[$1 + 32 >> 2], 1, 4096, HEAP32[$1 + 28 >> 2]); + if (!$2) { + if (HEAP32[$1 + 36 >> 2]) { + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 43; + FUNCTION_TABLE[HEAP32[$2 >> 2]]($0); + } + $2 = HEAP32[$0 >> 2]; + HEAP32[$2 + 20 >> 2] = 123; + FUNCTION_TABLE[HEAP32[$2 + 4 >> 2]]($0, -1); + HEAP8[HEAP32[$1 + 32 >> 2]] = 255; + HEAP8[HEAP32[$1 + 32 >> 2] + 1 | 0] = 217; + $2 = 2; + } + HEAP32[$1 + 36 >> 2] = 0; + HEAP32[$1 + 4 >> 2] = $2; + HEAP32[$1 >> 2] = HEAP32[$1 + 32 >> 2]; + return 1; +} + +function std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char______get_deleter_28std__type_info_20const__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0; + if (HEAP32[$1 + 4 >> 2] == 27668) { + $2 = std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char____second_28_29_20const(std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char____first_28_29_20const($0 + 12 | 0)); + } + return $2 | 0; +} + +function std____2____stdoutbuf_wchar_t___imbue_28std____2__locale_20const__29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0) | 0; + $1 = std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t__20const__20std____2__use_facet_std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___28std____2__locale_20const__29($1); + HEAP32[$0 + 36 >> 2] = $1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___always_noconv_28_29_20const($1), + HEAP8[wasm2js_i32$0 + 44 | 0] = wasm2js_i32$1; +} + +function std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20int___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_std____2__pair_float_2c_20int___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28wchar_t__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29_____compressed_pair_wchar_t___2c_20void_20_28__29_28void__29__28wchar_t___2c_20void_20_28____29_28void__29_29($0, $3 + 12 | 0, $2); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____split_buffer_int_2c_20std____2__allocator_int_______destruct_at_end_28int__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + $3 = std____2____split_buffer_int_2c_20std____2__allocator_int_______alloc_28_29($0); + $2 = HEAP32[$0 + 8 >> 2] - 4 | 0; + HEAP32[$0 + 8 >> 2] = $2; + void_20std____2__allocator_traits_std____2__allocator_int____destroy_int_2c_20void__28std____2__allocator_int___2c_20int__29($3, int__20std____2____to_address_int__28int__29($2)); + continue; + } + break; + } +} + +function $28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl__TypeTemplateParamDecl_28_28anonymous_20namespace_29__itanium_demangle__Node__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl__TemplateParamPackDecl_28_28anonymous_20namespace_29__itanium_demangle__Node__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__SizeofParamPackExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__SizeofParamPackExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__SizeofParamPackExpr__SizeofParamPackExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = HEAP32[$0 + 12 >> 2]; + $0 = HEAP32[$0 + 8 >> 2]; + HEAP32[$2 >> 2] = $0; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $0; + HEAP32[$2 + 12 >> 2] = $3; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($1, $2); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___reset_28unsigned_20int__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29___first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29___first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + FUNCTION_TABLE[HEAP32[std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29___second_28_29($0) >> 2]]($2); + } +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______operator___28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______first_28_29_20const($0) >> 2]; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_vision__PriorityQueueItem_96___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_vision__PriorityQueueItem_96___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____push_back_28vision__match_t___29($0, $1) { + if (HEAPU32[$0 + 4 >> 2] < HEAPU32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______end_cap_28_29($0) >> 2]) { + void_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______construct_one_at_end_vision__match_t__28vision__match_t___29($0, $1); + return; + } + void_20std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______push_back_slow_path_vision__match_t__28vision__match_t___29($0, $1); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____end_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____wrap_iter_wchar_t______wrap_iter_28wchar_t__29($1 + 8 | 0, std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29($0) + (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($0) << 2) | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____push_back_28multi_marker_20const__29($0, $1) { + if (HEAP32[$0 + 4 >> 2] != HEAP32[std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______end_cap_28_29($0) >> 2]) { + void_20std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______construct_one_at_end_multi_marker_20const___28multi_marker_20const__29($0, $1); + return; + } + void_20std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______push_back_slow_path_multi_marker_20const___28multi_marker_20const__29($0, $1); +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20arController__20const__2c_20std____2____hash_value_type_int_2c_20arController__20const__29_20const($0, $1, $2) { + return std____2__equal_to_int___operator_28_29_28int_20const__2c_20int_20const__29_20const($0, std____2____hash_value_type_int_2c_20arController_____get_value_28_29_20const($1), std____2____hash_value_type_int_2c_20arController_____get_value_28_29_20const($2)); +} + +function std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____max_size_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29(Math_imul($1, 36), 4); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________second_28_29($0) { + return std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_vision__VisualDatabaseImpl__2c_20std____2__default_delete_vision__VisualDatabaseImpl______compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__default_delete_vision__VisualDatabaseImpl__2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29(std____2____compressed_pair_elem_vision__VisualDatabaseImpl__2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0)); +} + +function std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__default_delete_vision__Keyframe_96_______compressed_pair_vision__Keyframe_96____2c_20std____2____value_init_tag__28vision__Keyframe_96____2c_20std____2____value_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__default_delete_vision__Keyframe_96___2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29(std____2____compressed_pair_elem_vision__Keyframe_96___2c_200_2c_20false_____compressed_pair_elem_vision__Keyframe_96____2c_20void__28vision__Keyframe_96____29($0, $1)); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________size_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________first_28_29_20const($0) >> 2]; +} + +function emscripten__internal__Invoker_double_2c_20int___invoke_28double_20_28__29_28int_29_2c_20int_29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_f64$0 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + wasm2js_i32$0 = $2, wasm2js_f64$0 = +FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($1)), + HEAPF64[wasm2js_i32$0 + 8 >> 3] = wasm2js_f64$0; + $3 = emscripten__internal__BindingType_double_2c_20void___toWireType_28double_20const__29($2 + 8 | 0); + __stack_pointer = $2 + 16 | 0; + return +$3; +} + +function bool_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______addr_in_range_char___28char__29_20const($0, $1) { + var $2 = 0; + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($0) >>> 0 <= $1 >>> 0) { + $2 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($0) + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0) >>> 0 >= $1 >>> 0; + } + return $2; +} + +function std____2____unwrap_iter_impl_std____2____wrap_iter_char_20const___2c_20true_____apply_28std____2____wrap_iter_char_20const___29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 8 >> 2] = $0; + $0 = std____2__decay_decltype_28__to_address_helper_std____2____wrap_iter_char_20const_______call_28declval_std____2____wrap_iter_char_20const___20const___28_29_29_29___type_20std____2____to_address_std____2____wrap_iter_char_20const___2c_20void__28std____2____wrap_iter_char_20const___20const__29($1 + 8 | 0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____resize_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0); + if ($2 >>> 0 < $1 >>> 0) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______append_28unsigned_20long_29($0, $1 - $2 | 0); + return; + } + if ($1 >>> 0 < $2 >>> 0) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______destruct_at_end_28unsigned_20char__29($0, HEAP32[$0 >> 2] + $1 | 0); + } +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______get_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______first_28_29_20const($0) >> 2]; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___________bucket_list_deallocator_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName__GlobalQualifiedName_28_28anonymous_20namespace_29__itanium_demangle__Node__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__ForwardTemplateReference_28unsigned_20long_29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 37, 2, 2, 2); + HEAP8[$0 + 16 | 0] = 0; + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 66256; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution__ExpandedSpecialSubstitution_28_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind_29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 41, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 71044; + return $0; +} + +function std____2____stdoutbuf_char___imbue_28std____2__locale_20const__29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0) | 0; + $1 = std____2__codecvt_char_2c_20char_2c_20__mbstate_t__20const__20std____2__use_facet_std____2__codecvt_char_2c_20char_2c_20__mbstate_t___28std____2__locale_20const__29($1); + HEAP32[$0 + 36 >> 2] = $1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__codecvt_char_2c_20char_2c_20__mbstate_t___always_noconv_28_29_20const($1), + HEAP8[wasm2js_i32$0 + 44 | 0] = wasm2js_i32$1; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_200_2c_20false_____get_28_29($0); +} + +function std____2__pair_int_20const_2c_20ARParam___pair_int_20const__2c_200ul__28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const____2c_20std____2__tuple____2c_20std____2____tuple_indices_0ul__2c_20std____2____tuple_indices___29($0, $1, $2) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = HEAP32[std____2__tuple_element_0ul_2c_20std____2__tuple_int_20const_____type__20std____2__get_0ul_2c_20int_20const___28std____2__tuple_int_20const____29($1) >> 2], + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + memset($0 + 8 | 0, 0, 184); + return $0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____end_28_29_20const($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____wrap_iter_char_20const______wrap_iter_28char_20const__29($1 + 8 | 0, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29_20const($0) + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0) | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2__unique_ptr_std____2__locale__facet_2c_20std____2___28anonymous_20namespace_29__release___unique_ptr_true_2c_20void__28std____2__locale__facet__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_std____2__locale__facet__2c_20std____2___28anonymous_20namespace_29__release_____compressed_pair_std____2__locale__facet___2c_20std____2____value_init_tag__28std____2__locale__facet___2c_20std____2____value_init_tag___29($0, $2 + 12 | 0); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29_20const($0) { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______is_long_28_29_20const($0)) { + return std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_pointer_28_29_20const($0); + } + return std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_pointer_28_29_20const($0); +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sputc_28char_29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0, wasm2js_i32$2 = 0; + $2 = HEAP32[$0 + 24 >> 2]; + if (($2 | 0) == HEAP32[$0 + 28 >> 2]) { + return wasm2js_i32$1 = $0, wasm2js_i32$2 = std____2__char_traits_char___to_int_type_28char_29($1), + wasm2js_i32$0 = HEAP32[HEAP32[$0 >> 2] + 52 >> 2], FUNCTION_TABLE[wasm2js_i32$0](wasm2js_i32$1 | 0, wasm2js_i32$2 | 0) | 0; + } + HEAP32[$0 + 24 >> 2] = $2 + 1; + HEAP8[$2 | 0] = $1; + return std____2__char_traits_char___to_int_type_28char_29($1); +} + +function std____2____unwrap_iter_impl_std____2____wrap_iter_int_20const___2c_20true_____apply_28std____2____wrap_iter_int_20const___29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 8 >> 2] = $0; + $0 = std____2__decay_decltype_28__to_address_helper_std____2____wrap_iter_int_20const_______call_28declval_std____2____wrap_iter_int_20const___20const___28_29_29_29___type_20std____2____to_address_std____2____wrap_iter_int_20const___2c_20void__28std____2____wrap_iter_int_20const___20const__29($1 + 8 | 0); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const__2c_20int_20const__29_20const($0, $1, $2) { + return std____2__equal_to_int___operator_28_29_28int_20const__2c_20int_20const__29_20const($0, std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______get_value_28_29_20const($1), $2); +} + +function __emscripten_environ_constructor() { + var $0 = 0, $1 = 0; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + label$1: { + if (__wasi_environ_sizes_get($0 + 12 | 0, $0 + 8 | 0) | 0) { + break label$1; + } + $1 = dlmalloc((HEAP32[$0 + 12 >> 2] << 2) + 4 | 0); + HEAP32[19607] = $1; + if (!$1) { + break label$1; + } + $1 = dlmalloc(HEAP32[$0 + 8 >> 2]); + if ($1) { + HEAP32[HEAP32[19607] + (HEAP32[$0 + 12 >> 2] << 2) >> 2] = 0; + if (!(__wasi_environ_get(HEAP32[19607], $1 | 0) | 0)) { + break label$1; + } + } + HEAP32[19607] = 0; + } + __stack_pointer = $0 + 16 | 0; +} + +function std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___unique_ptr_true_2c_20void__28char__2c_20std____2____dependent_type_std____2____unique_ptr_deleter_sfinae_void_20_28__29_28void__29__2c_20true_____good_rval_ref_type_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_char__2c_20void_20_28__29_28void__29_____compressed_pair_char___2c_20void_20_28__29_28void__29__28char___2c_20void_20_28____29_28void__29_29($0, $3 + 12 | 0, $2); + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function std____2__pair_int_20const_2c_20arController___pair_int_20const___28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const___2c_20std____2__tuple___29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = $1; + $1 = std____2__pair_int_20const_2c_20arController___pair_int_20const__2c_200ul__28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const____2c_20std____2__tuple____2c_20std____2____tuple_indices_0ul__2c_20std____2____tuple_indices___29($0, $2 + 8 | 0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true___operator_28_29_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__20const__2c_20unsigned_20int_20const__29_20const($0, $1, $2) { + return std____2__equal_to_unsigned_20int___operator_28_29_28unsigned_20int_20const__2c_20unsigned_20int_20const__29_20const($0, std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____get_value_28_29_20const($1), $2); +} + +function std____2____compressed_pair_unsigned_20char__2c_20void_20_28__29_28void__29_____compressed_pair_unsigned_20char___2c_20void_20_28__29_28void__29__28unsigned_20char___2c_20void_20_28____29_28void__29_29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____compressed_pair_elem_unsigned_20char___2c_20void__28unsigned_20char___29($0, $1); + std____2____compressed_pair_elem_void_20_28__29_28void__29_2c_201_2c_20false_____compressed_pair_elem_void_20_28__29_28void__29_2c_20void__28void_20_28____29_28void__29_29($1 + 4 | 0, $2); + return $1; +} + +function void_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____construct_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int__2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int___28std____2__pair_unsigned_20int_20const_2c_20unsigned_20int___2c_20std____2__pair_unsigned_20int_2c_20unsigned_20int____29($0, $1, $2) { + std____2__pair_unsigned_20int_20const_2c_20unsigned_20int___pair_unsigned_20int_2c_20unsigned_20int_2c_20_28void__290__28std____2__pair_unsigned_20int_2c_20unsigned_20int____29($1, $2); +} + +function std____2__vector_int_2c_20std____2__allocator_int_____vector_28_29($0) { + std____2__vector_int_2c_20std____2__allocator_int______annotate_delete_28_29_20const($0); + if (HEAP32[$0 >> 2]) { + std____2__vector_int_2c_20std____2__allocator_int______clear_28_29($0); + std____2__allocator_traits_std____2__allocator_int____deallocate_28std____2__allocator_int___2c_20int__2c_20unsigned_20long_29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0), HEAP32[$0 >> 2], std____2__vector_int_2c_20std____2__allocator_int____capacity_28_29_20const($0)); + } + return $0; +} + +function std____2__allocator_std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char_____deallocate_28std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char____2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 4, 4); +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______pointer_to_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_____29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________upcast_28_29(HEAP32[$0 >> 2]) + 8 | 0); +} + +function std____2__unique_ptr_vision__Keyframe_96__2c_20std____2__default_delete_vision__Keyframe_96_____unique_ptr_true_2c_20void__28vision__Keyframe_96___29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__default_delete_vision__Keyframe_96_______compressed_pair_vision__Keyframe_96____2c_20std____2____value_init_tag__28vision__Keyframe_96____2c_20std____2____value_init_tag___29($0, $2 + 12 | 0, $2 + 8 | 0); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__allocator_traits_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______allocate_28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______allocate_28unsigned_20long_29($0, $1); +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_200_2c_20false_____get_28_29_20const($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PixelVectorType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PixelVectorType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__PixelVectorType__PixelVectorType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__LiteralOperator__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__LiteralOperator_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__LiteralOperator__LiteralOperator_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function wmemmove($0, $1, $2) { + var $3 = 0; + label$1: { + if (($0 | 0) == ($1 | 0)) { + break label$1; + } + if ($0 - $1 >>> 0 >= $2 << 2 >>> 0) { + if (!$2) { + break label$1; + } + $3 = $0; + while (1) { + HEAP32[$3 >> 2] = HEAP32[$1 >> 2]; + $3 = $3 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 - 1 | 0; + if ($2) { + continue; + } + break; + } + break label$1; + } + if (!$2) { + break label$1; + } + while (1) { + $2 = $2 - 1 | 0; + $3 = $2 << 2; + HEAP32[$3 + $0 >> 2] = HEAP32[$1 + $3 >> 2]; + if ($2) { + continue; + } + break; + } + } + return $0; +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____copy_char__2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____28char__2c_20char__2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___29($0, $1, $2) { + return std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____copy_constexpr_char__2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____28char__2c_20char__2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___29($0, $1, $2); +} + +function std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void__________first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_200_2c_20false_____get_28_29($0); +} + +function wchar_t_20const__20std____2____num_get_wchar_t_____do_widen_p_wchar_t__28std____2__ios_base__2c_20wchar_t__29_20const($0, $1, $2) { + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + std____2__ios_base__getloc_28_29_20const($0 + 8 | 0, $1); + std____2__ctype_wchar_t___widen_28char_20const__2c_20char_20const__2c_20wchar_t__29_20const(std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($0 + 8 | 0), 57760, 57786, $2); + std____2__locale___locale_28_29($0 + 8 | 0); + __stack_pointer = $0 + 16 | 0; + return $2; +} + +function std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Node_96__20const___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_vision__Node_96__20const___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_201_2c_20true_____get_28_29($0); +} + +function vision__detail__create_formatted_string_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20void__29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 2048 | 0; + __stack_pointer = $3; + vsnprintf($3, 2048, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($1), $2); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($0, $3); + __stack_pointer = $3 + 2048 | 0; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____resize_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($0); + if ($2 >>> 0 < $1 >>> 0) { + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______append_28unsigned_20long_29($0, $1 - $2 | 0); + return; + } + if ($1 >>> 0 < $2 >>> 0) { + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______destruct_at_end_28vision__Image__29($0, HEAP32[$0 >> 2] + ($1 << 5) | 0); + } +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_201_2c_20true_____get_28_29($0); +} + +function emscripten__internal__Invoker_int_2c_20int___invoke_28int_20_28__29_28int_29_2c_20int_29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + wasm2js_i32$0 = $2, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($1)) | 0, + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $0 = emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29($2 + 12 | 0); + __stack_pointer = $2 + 16 | 0; + return $0 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__StringView__startsWith_28_28anonymous_20namespace_29__itanium_demangle__StringView_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__size_28_29_20const($1); + if ($2 >>> 0 <= $28anonymous_20namespace_29__itanium_demangle__StringView__size_28_29_20const($0) >>> 0) { + $3 = !strncmp($28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($1), $28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($0), $2); + } + return $3; +} + +function std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29_____compressed_pair_unsigned_20int___2c_20void_20_28__29_28void__29__28unsigned_20int___2c_20void_20_28____29_28void__29_29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_unsigned_20int__2c_200_2c_20false_____compressed_pair_elem_unsigned_20int___2c_20void__28unsigned_20int___29($0, $1); + std____2____compressed_pair_elem_void_20_28__29_28void__29_2c_201_2c_20false_____compressed_pair_elem_void_20_28__29_28void__29_2c_20void__28void_20_28____29_28void__29_29($1 + 4 | 0, $2); + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__StdQualifiedName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__StdQualifiedName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__StdQualifiedName__StdQualifiedName_28_28anonymous_20namespace_29__itanium_demangle__Node__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion__ParameterPackExpansion_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 35, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 68252; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29_1($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = HEAP32[$1 + 4 >> 2]; + $1 = HEAP32[$1 >> 2]; + HEAP32[$2 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $3; + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 12 >> 2] = $3; + $1 = $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____construct_vision__PriorityQueueItem_96__2c_20vision__PriorityQueueItem_96__20const__2c_20void__28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96__20const__29($0, $1, $2) { + void_20std____2__allocator_vision__PriorityQueueItem_96____construct_vision__PriorityQueueItem_96__2c_20vision__PriorityQueueItem_96__20const___28vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96__20const__29($0, $1, $2); +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______operator___28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______first_28_29_20const($0) >> 2]; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________allocator_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType__ConversionOperatorType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 4, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 69196; + return $0; +} + +function std____2__iterator_traits_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const____difference_type_20std____2____distance_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const___28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__random_access_iterator_tag_29($0, $1) { + return ($1 - $0 | 0) / 12 | 0; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________allocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________allocate_28unsigned_20long_29($0, $1); +} + +function $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $1 = $1 + 15 & -16; + $2 = HEAP32[$0 + 4096 >> 2]; + $3 = $1 + HEAP32[$2 + 4 >> 2] | 0; + if ($3 >>> 0 >= 4088) { + if ($1 >>> 0 >= 4089) { + return $28anonymous_20namespace_29__BumpPointerAllocator__allocateMassive_28unsigned_20long_29($0, $1); + } + $28anonymous_20namespace_29__BumpPointerAllocator__grow_28_29($0); + $2 = HEAP32[$0 + 4096 >> 2]; + $3 = HEAP32[$2 + 4 >> 2] + $1 | 0; + } + HEAP32[$2 + 4 >> 2] = $3; + return (($3 + $2 | 0) - $1 | 0) + 8 | 0; +} + +function threadStartWait($0) { + var $1 = 0, $2 = 0; + $2 = $0 + 16 | 0; + __pthread_mutex_lock($2); + $1 = $0 + 40 | 0; + label$1: { + label$2: { + while (1) { + label$4: { + switch (HEAP32[$0 + 4 >> 2]) { + case 0: + pthread_cond_wait($1, $2); + continue; + + case 1: + break label$4; + + default: + break label$2; + } + } + break; + } + HEAP32[$0 + 12 >> 2] = 1; + HEAP32[$0 + 4 >> 2] = 0; + $1 = 0; + break label$1; + } + HEAP32[$0 + 8 >> 2] = 2; + pthread_cond_signal($0 + 88 | 0); + $1 = -1; + } + __pthread_mutex_unlock($2); + return $1; +} + +function std____2__pair_int_20const_2c_20ARParam___pair_int_20const___28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const___2c_20std____2__tuple___29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = $1; + $1 = std____2__pair_int_20const_2c_20ARParam___pair_int_20const__2c_200ul__28std____2__piecewise_construct_t_2c_20std____2__tuple_int_20const____2c_20std____2__tuple____2c_20std____2____tuple_indices_0ul__2c_20std____2____tuple_indices___29($0, $2 + 8 | 0, $2); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20void__28std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______29($0, $1) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__StringLiteral__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__StringLiteral_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__StringLiteral__StringLiteral_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function loadMultiMarker_28char_20const__2c_20ARHandle__2c_20ARPattHandle___2c_20ARMultiMarkerInfoT___29($0, $1, $2, $3) { + $0 = arMultiReadConfigFile($0, HEAP32[$2 >> 2]); + HEAP32[$3 >> 2] = $0; + if (!$0) { + arLog(0, 3, 40017, 0); + arPattDeleteHandle(HEAP32[$2 >> 2]); + return 0; + } + label$2: { + label$3: { + switch (HEAP32[$0 + 108 >> 2]) { + case 0: + arSetPatternDetectionMode($1, 0); + break label$2; + + case 1: + arSetPatternDetectionMode($1, 2); + break label$2; + + default: + break label$3; + } + } + arSetPatternDetectionMode($1, 3); + } + return 1; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution__SpecialSubstitution_28_28anonymous_20namespace_29__itanium_demangle__SpecialSubKind_29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 42, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 71596; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PointerType__PointerType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 11, HEAPU8[$1 + 5 | 0], 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 73896; + return $0; +} + +function void_20emscripten__function_double_2c_20int__28char_20const__2c_20double_20_28__29_28int_29_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + _embind_register_function($0 | 0, emscripten__internal__WithPolicies____ArgTypeList_double_2c_20int___getCount_28_29_20const($2 + 8 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_double_2c_20int___getTypes_28_29_20const($2 + 8 | 0) | 0, char_20const__20emscripten__internal__getGenericSignature_double_2c_20int_2c_20int__28_29() | 0, 95, $1 | 0); + __stack_pointer = $2 + 16 | 0; +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true_____unordered_map_hasher_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___________bucket_list_deallocator_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__SizeofParamPackExpr__SizeofParamPackExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 56, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 70720; + return $0; +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_length_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20unsigned_20long_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + HEAP32[$0 + 12 >> 2] = $4; + HEAP32[$0 + 8 >> 2] = $3 - $2; + $4 = HEAP32[unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($0 + 12 | 0, $0 + 8 | 0) >> 2]; + __stack_pointer = $0 + 16 | 0; + return $4 | 0; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______get_deleter_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______second_28_29($0); +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______get_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______first_28_29_20const($0) >> 2]; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($0) { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______is_long_28_29_20const($0)) { + return std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_size_28_29_20const($0); + } + return std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_size_28_29_20const($0); +} + +function std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_201_2c_20true_____get_28_29($0); +} + +function __cxxabiv1____si_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], 0)) { + __cxxabiv1____class_type_info__process_found_base_class_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($1, $1, $2, $3); + return; + } + $0 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 28 >> 2]]($0, $1, $2, $3); +} + +function $28anonymous_20namespace_29__itanium_demangle__NoexceptSpec__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__NoexceptSpec_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__NoexceptSpec__NoexceptSpec_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__BinaryFPType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__BinaryFPType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__BinaryFPType__BinaryFPType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_size_28unsigned_20long_29($0, $1) { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_28_29_20const($0)) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_size_28unsigned_20long_29($0, $1); + return; + } + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_short_size_28unsigned_20long_29($0, $1); +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20ARParam__20const__2c_20std____2____hash_value_type_int_2c_20ARParam__20const__29_20const($0, $1, $2) { + return std____2__equal_to_int___operator_28_29_28int_20const__2c_20int_20const__29_20const($0, std____2____hash_value_type_int_2c_20ARParam_____get_value_28_29_20const($1), std____2____hash_value_type_int_2c_20ARParam_____get_value_28_29_20const($2)); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true_____unordered_map_equal_28_29($0); +} + +function dlrealloc($0, $1) { + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (!$0) { + return dlmalloc($1); + } + if ($1 >>> 0 >= 4294967232) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 48, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return 0; + } + $2 = try_realloc_chunk($0 - 8 | 0, $1 >>> 0 < 11 ? 16 : $1 + 11 & -8); + if ($2) { + return $2 + 8 | 0; + } + $2 = dlmalloc($1); + if (!$2) { + return 0; + } + $3 = HEAP32[$0 - 4 >> 2]; + $3 = ($3 & 3 ? -4 : -8) + ($3 & -8) | 0; + __memcpy($2, $0, $1 >>> 0 > $3 >>> 0 ? $3 : $1); + dlfree($0); + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28_28anonymous_20namespace_29__itanium_demangle__StringView_29($0, $1) { + var $2 = 0; + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__size_28_29_20const($1); + if ($2) { + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__grow_28unsigned_20long_29($0, $2); + memmove(HEAP32[$0 >> 2] + HEAP32[$0 + 4 >> 2] | 0, $28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($1), $2); + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] + $2; + } + return $0; +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____clear_28_29($0) { + var $1 = 0; + $1 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0); + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______clear_28_29($0); + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______annotate_shrink_28unsigned_20long_29_20const($0, $1); + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______invalidate_all_iterators_28_29($0); +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____clear_28_29($0) { + var $1 = 0; + $1 = std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______clear_28_29($0); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_shrink_28unsigned_20long_29_20const($0, $1); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______invalidate_all_iterators_28_29($0); +} + +function std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Point3d_float___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_vision__Point3d_float___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function std____2____compressed_pair_vision__Point2d_float___2c_20std____2__allocator_vision__Point2d_float_______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Point2d_float___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_vision__Point2d_float___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function arVecHousehold($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0; + label$1: { + $1 = Math_sqrt(arVecInnerproduct($0, $0)); + if ($1 == 0) { + break label$1; + } + $3 = HEAP32[$0 >> 2]; + $2 = HEAPF64[$3 >> 3]; + $1 = $2 < 0 ? -$1 : $1; + $2 = $2 + $1; + HEAPF64[$3 >> 3] = $2; + $2 = 1 / Math_sqrt($1 * $2); + $0 = HEAP32[$0 + 4 >> 2]; + $5 = ($0 | 0) > 0 ? $0 : 0; + while (1) { + if (($4 | 0) == ($5 | 0)) { + break label$1; + } + $0 = ($4 << 3) + $3 | 0; + HEAPF64[$0 >> 3] = $2 * HEAPF64[$0 >> 3]; + $4 = $4 + 1 | 0; + continue; + } + } + return -$1; +} + +function $28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl__TypeTemplateParamDecl_28_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 29, 0, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 67256; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl__TemplateParamPackDecl_28_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 32, 0, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 67612; + return $0; +} + +function std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___________alloc_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________second_28_29($0); +} + +function std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_200_2c_20false_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PointerType__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__PointerType_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__PointerType__PointerType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______allocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____allocate_28unsigned_20long_29($0, $1); +} + +function std____2____compressed_pair_float__2c_20std____2__allocator_float_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_float____28std__nullptr_t___2c_20std____2__allocator_float___29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_float__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_float___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_float___2c_20void__28std____2__allocator_float___29($1 + 4 | 0, $2); + return $1; +} + +function arPattLoad($0, $1) { + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = __stack_pointer - 32 | 0; + __stack_pointer = $2; + $3 = cat($1, 0); + label$1: { + if (!$3) { + HEAP32[$2 + 16 >> 2] = $1; + arLog(0, 3, 5609, $2 + 16 | 0); + wasm2js_i32$0 = $2, wasm2js_i32$1 = strerror(HEAP32[__errno_location() >> 2]), HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + HEAP32[$2 >> 2] = 7256; + arLog(0, 3, 6101, $2); + $1 = -1; + break label$1; + } + $1 = arPattLoadFromBuffer($0, $3); + dlfree($3); + } + __stack_pointer = $2 + 32 | 0; + return $1; +} + +function __subtf3($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var $9 = 0, $10 = 0, $11 = 0; + $11 = __stack_pointer - 16 | 0; + __stack_pointer = $11; + $9 = $8; + $8 = $9 ^ -2147483648; + $10 = $4; + $9 = $6; + $4 = $8; + __addtf3($11, $1, $2, $3, $10, $5, $9, $7, $4); + $10 = $11; + $4 = HEAP32[$10 >> 2]; + $7 = $4; + $9 = HEAP32[$10 + 4 >> 2]; + $8 = $9; + $4 = HEAP32[$10 + 12 >> 2]; + $9 = HEAP32[$10 + 8 >> 2]; + $1 = $9; + $9 = $0; + HEAP32[$9 + 8 >> 2] = $1; + HEAP32[$9 + 12 >> 2] = $4; + HEAP32[$9 >> 2] = $7; + $4 = $8; + HEAP32[$9 + 4 >> 2] = $4; + __stack_pointer = $10 + 16 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PixelVectorType__PixelVectorType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 26, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 73352; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__LiteralOperator__LiteralOperator_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 19, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 69312; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName__GlobalQualifiedName_28_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 39, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 69420; + return $0; +} + +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool__2c_20_28void__290__28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20bool__29($0, $1, $2) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP8[$0 + 4 | 0] = HEAPU8[$2 | 0]; + return $0; +} + +function std____2__allocator_std____2__pair_float_2c_20unsigned_20long____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____max_size_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long___20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 3, 4); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________first_28_29($0); +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long__2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] - $2 | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + wasm2js_memory_copy($0, $1, $2); + } +} + +function void_20emscripten__function_void_2c_20int__28char_20const__2c_20void_20_28__29_28int_29_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + _embind_register_function($0 | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int___getCount_28_29_20const($2 + 8 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int___getTypes_28_29_20const($2 + 8 | 0) | 0, char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() | 0, 92, $1 | 0); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___reset_28wchar_t__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29___first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29___first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + FUNCTION_TABLE[HEAP32[std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29___second_28_29($0) >> 2]]($2); + } +} + +function jinit_inverse_dct($0) { + var $1 = 0, $2 = 0, $3 = 0, $4 = 0; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 84) | 0; + HEAP32[$0 + 472 >> 2] = $1; + HEAP32[$1 >> 2] = 122; + if (HEAP32[$0 + 36 >> 2] > 0) { + $2 = HEAP32[$0 + 216 >> 2]; + while (1) { + $4 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 1, 256) | 0; + HEAP32[$2 + 84 >> 2] = $4; + memset($4, 0, 256); + HEAP32[(($3 << 2) + $1 | 0) + 44 >> 2] = -1; + $2 = $2 + 88 | 0; + $3 = $3 + 1 | 0; + if (($3 | 0) < HEAP32[$0 + 36 >> 2]) { + continue; + } + break; + } + } +} + +function $28anonymous_20namespace_29__itanium_demangle__LambdaExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__LambdaExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__LambdaExpr__LambdaExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function void_20vision__ScaleVector9_float__28float__2c_20float_20const__2c_20float_29($0, $1, $2) { + HEAPF32[$0 >> 2] = HEAPF32[$1 >> 2] * $2; + HEAPF32[$0 + 4 >> 2] = HEAPF32[$1 + 4 >> 2] * $2; + HEAPF32[$0 + 8 >> 2] = HEAPF32[$1 + 8 >> 2] * $2; + HEAPF32[$0 + 12 >> 2] = HEAPF32[$1 + 12 >> 2] * $2; + HEAPF32[$0 + 16 >> 2] = HEAPF32[$1 + 16 >> 2] * $2; + HEAPF32[$0 + 20 >> 2] = HEAPF32[$1 + 20 >> 2] * $2; + HEAPF32[$0 + 24 >> 2] = HEAPF32[$1 + 24 >> 2] * $2; + HEAPF32[$0 + 28 >> 2] = HEAPF32[$1 + 28 >> 2] * $2; + HEAPF32[$0 + 32 >> 2] = HEAPF32[$1 + 32 >> 2] * $2; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29($0) { + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______is_long_28_29_20const($0)) { + return std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_pointer_28_29($0); + } + return std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_pointer_28_29($0); +} + +function std____2____libcpp_refstring____libcpp_refstring_28char_20const__29($0, $1) { + var $2 = 0, $3 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = strlen($1); + $3 = operator_20new_28unsigned_20long_29($2 + 13 | 0); + HEAP32[$3 + 8 >> 2] = 0; + HEAP32[$3 + 4 >> 2] = $2; + HEAP32[$3 >> 2] = $2; + wasm2js_i32$0 = $0, wasm2js_i32$1 = __memcpy(std____2____refstring_imp___28anonymous_20namespace_29__data_from_rep_28std____2____refstring_imp___28anonymous_20namespace_29___Rep_base__29($3), $1, $2 + 1 | 0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $0; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_200_2c_20false_____get_28_29($0); +} + +function __cxxabiv1____class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], $5)) { + __cxxabiv1____class_type_info__process_static_type_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_29_20const($1, $1, $2, $3, $4); + } +} + +function std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_vision__FeaturePoint__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_vision__FeaturePoint__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function $28anonymous_20namespace_29__itanium_demangle__StringLiteral__StringLiteral_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 68, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 66920; + return $0; +} + +function kpmFopen($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + label$1: { + label$2: { + if (!$0) { + $0 = 0; + break label$2; + } + if ($1) { + $4 = dlmalloc((strlen($0) + strlen($1) | 0) + 2 | 0); + if (!$4) { + break label$1; + } + HEAP32[$3 + 4 >> 2] = $1; + HEAP32[$3 >> 2] = $0; + siprintf($4, 1850, $3); + $0 = fopen($4, $2); + dlfree($4); + break label$2; + } + $0 = fopen($0, $2); + } + __stack_pointer = $3 + 16 | 0; + return $0; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____20const__2c_20int_20const__29_20const($0, $1, $2) { + return std____2__equal_to_int___operator_28_29_28int_20const__2c_20int_20const__29_20const($0, std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______get_value_28_29_20const($1), $2); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true_____unordered_map_hasher_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ThrowExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ThrowExpr_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__ThrowExpr__ThrowExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__StdQualifiedName__StdQualifiedName_28_28anonymous_20namespace_29__itanium_demangle__Node__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 40, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 71708; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__NoexceptSpec__NoexceptSpec_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 16, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 72592; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__BinaryFPType__BinaryFPType_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 27, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 73244; + return $0; +} + +function void_20std____2____debug_db_insert_c_std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______28std____2__unordered_map_int_2c_20std____2__vector_int_2c_20std____2__allocator_int___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int_______29($0) {} + +function void_20emscripten__function_int_2c_20int__28char_20const__2c_20int_20_28__29_28int_29_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + _embind_register_function($0 | 0, emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int___getCount_28_29_20const($2 + 8 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int___getTypes_28_29_20const($2 + 8 | 0) | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() | 0, 88, $1 | 0); + __stack_pointer = $2 + 16 | 0; +} + +function ar2FreeImageSet($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = -1; + label$1: { + if (!$0) { + break label$1; + } + $2 = HEAP32[$0 >> 2]; + if (!$2) { + break label$1; + } + $1 = 0; + while (1) { + $3 = HEAP32[$2 >> 2]; + if (($1 | 0) < HEAP32[$2 + 4 >> 2]) { + $2 = $1 << 2; + dlfree(HEAP32[HEAP32[$3 + $2 >> 2] >> 2]); + dlfree(HEAP32[HEAP32[HEAP32[$0 >> 2] >> 2] + $2 >> 2]); + $1 = $1 + 1 | 0; + $2 = HEAP32[$0 >> 2]; + continue; + } + break; + } + dlfree($3); + dlfree(HEAP32[$0 >> 2]); + $1 = 0; + HEAP32[$0 >> 2] = 0; + } + return $1; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____end_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____wrap_iter_char______wrap_iter_28char__29($1 + 8 | 0, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29($0) + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0) | 0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2____split_buffer_float_2c_20std____2__allocator_float________split_buffer_28_29($0) { + std____2____split_buffer_float_2c_20std____2__allocator_float_____clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_float____deallocate_28std____2__allocator_float___2c_20float__2c_20unsigned_20long_29(std____2____split_buffer_float_2c_20std____2__allocator_float_______alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_float_2c_20std____2__allocator_float_____capacity_28_29_20const($0)); + } + return $0; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true_____unordered_map_equal_28_29($0); +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______max_size_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____20const__29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____max_size_28_29_20const($0); +} + +function std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____unique_ptr_true_2c_20void__28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2____compressed_pair_vision__VisualDatabaseImpl__2c_20std____2__default_delete_vision__VisualDatabaseImpl______compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1 + 8 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__LambdaExpr__LambdaExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 69, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 67836; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__DtorName__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__DtorName_2c_20_28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__DtorName__DtorName_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2]); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_vision__Node_96___2c_20std____2__default_delete_vision__Node_96_______compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__default_delete_vision__Node_96___2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29(std____2____compressed_pair_elem_vision__Node_96___2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0)); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__default_delete_unsigned_20char______compressed_pair_unsigned_20char___2c_20std____2____value_init_tag__28unsigned_20char___2c_20std____2____value_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__default_delete_unsigned_20char__2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29(std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____compressed_pair_elem_unsigned_20char___2c_20void__28unsigned_20char___29($0, $1)); +} + +function $28anonymous_20namespace_29__itanium_demangle__ThrowExpr__ThrowExpr_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 66, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 70940; + return $0; +} + +function std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________first_28_29($0) { + return std____2____compressed_pair_elem_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______second_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void__________first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_200_2c_20false_____get_28_29($0); +} + +function unsigned_20long_20const__20std____2__min_unsigned_20long_2c_20std____2____less_unsigned_20long_2c_20unsigned_20long___28unsigned_20long_20const__2c_20unsigned_20long_20const__2c_20std____2____less_unsigned_20long_2c_20unsigned_20long__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = std____2____less_unsigned_20long_2c_20unsigned_20long___operator_28_29_28unsigned_20long_20const__2c_20unsigned_20long_20const__29_20const($2 + 8 | 0, $1, $0); + __stack_pointer = $2 + 16 | 0; + return $3 ? $1 : $0; +} + +function unsigned_20long_20const__20std____2__max_unsigned_20long_2c_20std____2____less_unsigned_20long_2c_20unsigned_20long___28unsigned_20long_20const__2c_20unsigned_20long_20const__2c_20std____2____less_unsigned_20long_2c_20unsigned_20long__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = std____2____less_unsigned_20long_2c_20unsigned_20long___operator_28_29_28unsigned_20long_20const__2c_20unsigned_20long_20const__29_20const($2 + 8 | 0, $0, $1); + __stack_pointer = $2 + 16 | 0; + return $3 ? $1 : $0; +} + +function std____2__unique_ptr_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______get_deleter_28_29($0) { + return std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______second_28_29($0); +} + +function std____2__shared_ptr_vision__Keyframe_96____operator__28std____2__shared_ptr_vision__Keyframe_96___20const__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2__shared_ptr_vision__Keyframe_96____shared_ptr_28std____2__shared_ptr_vision__Keyframe_96___20const__29($2 + 8 | 0, $1); + std____2__shared_ptr_vision__Keyframe_96____swap_28std____2__shared_ptr_vision__Keyframe_96____29($1, $0); + std____2__shared_ptr_vision__Keyframe_96_____shared_ptr_28_29($1); + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function std____2____compressed_pair_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______first_28_29($0) { + return std____2____compressed_pair_elem_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_200_2c_20false_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__DtorName__DtorName_28_28anonymous_20namespace_29__itanium_demangle__Node_20const__29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 44, 1, 1, 1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 69096; + return $0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29_20const($0) { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_28_29_20const($0)) { + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_28_29_20const($0); + } + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_28_29_20const($0); +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_201_2c_20true_____get_28_29($0); +} + +function std____2__enable_if_is_same_std____2__remove_const_vision__Point3d_float____type_2c_20vision__Point3d_float____value_20___20is_trivially_copy_assignable_vision__Point3d_float____value_2c_20vision__Point3d_float_____type_20std____2____copy_vision__Point3d_float__2c_20vision__Point3d_float___28vision__Point3d_float___2c_20vision__Point3d_float___2c_20vision__Point3d_float___29($0, $1, $2) { + var $3 = 0; + $3 = $1 - $0 | 0; + if (($0 | 0) != ($1 | 0)) { + wasm2js_memory_copy($2, $0, $3); + } + return Math_imul(($3 | 0) / 12 | 0, 12) + $2 | 0; +} + +function std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96________compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Node_96____2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_vision__Node_96____2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function std____2____compressed_pair_int__2c_20std____2__allocator_int_______compressed_pair_std__nullptr_t_2c_20std____2__allocator_int____28std__nullptr_t___2c_20std____2__allocator_int___29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_int__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1); + std____2____compressed_pair_elem_std____2__allocator_int___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_int___2c_20void__28std____2__allocator_int___29($1 + 4 | 0, $2); + return $1; +} + +function std____2__unique_ptr_unsigned_20char_2c_20std____2__default_delete_unsigned_20char____unique_ptr_true_2c_20void__28unsigned_20char__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 12 >> 2] = $1; + $1 = std____2____compressed_pair_unsigned_20char__2c_20std____2__default_delete_unsigned_20char______compressed_pair_unsigned_20char___2c_20std____2____value_init_tag__28unsigned_20char___2c_20std____2____value_init_tag___29($0, $2 + 12 | 0, $2 + 8 | 0); + __stack_pointer = $2 + 16 | 0; + return $1; +} + +function std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($0, $1) { + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $2 = HEAP32[std____2____compressed_pair_char__2c_20void_20_28__29_28void__29___first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_char__2c_20void_20_28__29_28void__29___first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + if ($2) { + FUNCTION_TABLE[HEAP32[std____2____compressed_pair_char__2c_20void_20_28__29_28void__29___second_28_29($0) >> 2]]($2); + } +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_200_2c_20false_____get_28_29_20const($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__StructuredBindingName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 91); + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0 + 8 | 0, $1); + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($1, 93); +} + +function vision__ComputeEdgeScore_28float__2c_20float_20const__29($0, $1) { + var $2 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + $2 = Math_fround(Math_fround(HEAPF32[$1 >> 2] * HEAPF32[$1 + 16 >> 2]) - float_20vision__sqr_float__28float_29(HEAPF32[$1 + 4 >> 2])); + if ($2 != Math_fround(0)) { + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround(float_20vision__sqr_float__28float_29(Math_fround(HEAPF32[$1 >> 2] + HEAPF32[$1 + 16 >> 2])) / $2), + HEAPF32[wasm2js_i32$0 >> 2] = wasm2js_f32$0; + } + return $2 != Math_fround(0); +} + +function std____2__messages_wchar_t___do_get_28long_2c_20int_2c_20int_2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__29($0, $5); +} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__operator___std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__29($0, $1) { + return std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2____put_character_sequence_char_2c_20std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____2c_20char_20const__2c_20unsigned_20long_29($0, $1, std____2__char_traits_char___length_28char_20const__29($1)); +} + +function void_20std____2__shared_ptr_vision__Keyframe_96____reset_vision__Keyframe_96__2c_20void__28vision__Keyframe_96___29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2__shared_ptr_vision__Keyframe_96____shared_ptr_vision__Keyframe_96__2c_20void__28vision__Keyframe_96___29($2 + 8 | 0, $1); + std____2__shared_ptr_vision__Keyframe_96____swap_28std____2__shared_ptr_vision__Keyframe_96____29($1, $0); + std____2__shared_ptr_vision__Keyframe_96_____shared_ptr_28_29($1); + __stack_pointer = $2 + 16 | 0; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____construct_vision__PriorityQueueItem_96__2c_20vision__PriorityQueueItem_96__2c_20void__28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96____29($0, $1, $2) { + void_20std____2__allocator_vision__PriorityQueueItem_96____construct_vision__PriorityQueueItem_96__2c_20vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96____29($0, $1, $2); +} + +function vision__bilinear_upsample_point_28float__2c_20float__2c_20float_2c_20float_2c_20int_29($0, $1, $2, $3, $4) { + var $5 = Math_fround(0), $6 = Math_fround(0); + $5 = Math_fround(1 << $4); + $6 = Math_fround($2 * $5); + $2 = Math_fround(std____2__enable_if_std__is_arithmetic_float___value_20___20std__is_arithmetic_int___value_2c_20std____2____promote_float_2c_20int_2c_20void____type__type_20pow_float_2c_20int__28float_2c_20int_29(Math_fround(2), $4 - 1 | 0) + -.5); + HEAPF32[$0 >> 2] = $6 + $2; + HEAPF32[$1 >> 2] = Math_fround($3 * $5) + $2; +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________upcast_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______29($0); +} + +function bool_20std____2__equal_std____2____wrap_iter_wchar_t___2c_20std____2____wrap_iter_wchar_t____28std____2____wrap_iter_wchar_t___2c_20std____2____wrap_iter_wchar_t___2c_20std____2____wrap_iter_wchar_t___29($0, $1, $2) { + return bool_20std____2__equal_std____2____wrap_iter_wchar_t___2c_20std____2____wrap_iter_wchar_t___2c_20std____2____equal_to_wchar_t_2c_20wchar_t___28std____2____wrap_iter_wchar_t___2c_20std____2____wrap_iter_wchar_t___2c_20std____2____wrap_iter_wchar_t___2c_20std____2____equal_to_wchar_t_2c_20wchar_t__29($0, $1, $2); +} + +function std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_unsigned_20short__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20short__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function vision__BinaryFeatureStore__resize_28unsigned_20long_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = HEAP32[$0 >> 2]; + HEAP8[$2 + 15 | 0] = 0; + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____resize_28unsigned_20long_2c_20unsigned_20char_20const__29($0 + 4 | 0, Math_imul($1, $3), $2 + 15 | 0); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____resize_28unsigned_20long_29($0 + 16 | 0, $1); + __stack_pointer = $2 + 16 | 0; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______move_assign_alloc_28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20std____2__integral_constant_bool_2c_20true__29($0, $1) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($1); + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________ptr_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______29($0); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void__________first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_200_2c_20false_____get_28_29($0); +} + +function bool_20vision__OrthogonalizePivot8x9Basis7_float__28float__2c_20float__29($0, $1) { + var $2 = 0, $3 = Math_fround(0); + $2 = $0 + 252 | 0; + void_20vision__AccumulateProjection9_float__28float__2c_20float_20const__2c_20float_20const__29($2, $0 + 216 | 0, $1 + 252 | 0); + $3 = float_20vision__SumSquares9_float__28float_20const__29($2); + if ($3 != Math_fround(0)) { + void_20vision__ScaleVector9_float__28float__2c_20float_20const__2c_20float_29($2, $2, Math_fround(Math_fround(1) / sqrt_28float_29($3))); + } + return $3 != Math_fround(0); +} + +function void_20std____2____construct_forward_with_exception_guarantees_std____2__allocator_int__2c_20int___28std____2__allocator_int___2c_20int__2c_20int__2c_20int___29($0, $1, $2, $3) { + while (1) { + if (($1 | 0) != ($2 | 0)) { + void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20int_2c_20void__28std____2__allocator_int___2c_20int__2c_20int___29($0, int__20std____2____to_address_int__28int__29(HEAP32[$3 >> 2]), $1); + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] + 4; + $1 = $1 + 4 | 0; + continue; + } + break; + } +} + +function std____2____compressed_pair_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_201_2c_20true_____get_28_29($0); +} + +function decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($0, $1) { + return std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____base_28_29_20const($0) - std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____base_28_29_20const($1) >> 3; +} + +function std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_vision__match_t__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_vision__match_t__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true_____unordered_map_hasher_28_29($0); +} + +function __cxxabiv1____class_type_info__process_found_base_class_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3) { + $0 = HEAP32[$1 + 16 >> 2]; + if (!$0) { + HEAP32[$1 + 36 >> 2] = 1; + HEAP32[$1 + 24 >> 2] = $3; + HEAP32[$1 + 16 >> 2] = $2; + return; + } + label$2: { + if (($2 | 0) == ($0 | 0)) { + if (HEAP32[$1 + 24 >> 2] != 2) { + break label$2; + } + HEAP32[$1 + 24 >> 2] = $3; + return; + } + HEAP8[$1 + 54 | 0] = 1; + HEAP32[$1 + 24 >> 2] = 2; + HEAP32[$1 + 36 >> 2] = HEAP32[$1 + 36 >> 2] + 1; + } +} + +function std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t____basic_istream_28std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____29($0, $1) { + var $2 = 0; + $2 = std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____basic_ios_28_29($0 + 8 | 0); + HEAP32[$0 >> 2] = 53388; + HEAP32[$2 >> 2] = 53408; + HEAP32[$0 + 4 >> 2] = 0; + std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____init_28std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____29($2, $1); + return $0; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________hash_node_base_28_29($0); +} + +function get_buff($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + if (fgets($0, 256, $1)) { + $2 = strlen($0); + while (1) { + label$4: { + if (!$2) { + break label$4; + } + label$5: { + $2 = $2 - 1 | 0; + $3 = $2 + $0 | 0; + switch (HEAPU8[$3 | 0] - 10 | 0) { + case 0: + case 3: + break label$5; + + default: + break label$4; + } + } + HEAP8[$3 | 0] = 0; + continue; + } + break; + } + $2 = HEAPU8[$0 | 0]; + if (!$2 | ($2 | 0) == 35) { + continue; + } + } + break; + } +} + +function std____2____sso_allocator_std____2__locale__facet__2c_2030ul___deallocate_28std____2__locale__facet___2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + label$1: { + if (($0 | 0) == ($1 | 0)) { + HEAP8[$1 + 120 | 0] = 0; + break label$1; + } + std____2__allocator_std____2__locale__facet____deallocate_28std____2__locale__facet___2c_20unsigned_20long_29(std____2__allocator_std____2__locale__facet____allocator_28_29($3 + 8 | 0), $1, $2); + } + __stack_pointer = $3 + 16 | 0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___________bucket_list_deallocator_28_29($0); +} + +function long_20double_20std____2____do_strtod_long_20double__28char_20const__2c_20char___29($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + strtold_l($3, $1, $2, std____2____cloc_28_29()); + $2 = HEAP32[$3 >> 2]; + $4 = $2; + $1 = HEAP32[$3 + 4 >> 2]; + $5 = $1; + $2 = HEAP32[$3 + 12 >> 2]; + $1 = HEAP32[$3 + 8 >> 2]; + $6 = $1; + $1 = $0; + HEAP32[$1 + 8 >> 2] = $6; + HEAP32[$1 + 12 >> 2] = $2; + HEAP32[$1 >> 2] = $4; + $2 = $5; + HEAP32[$1 + 4 >> 2] = $2; + __stack_pointer = $3 + 16 | 0; +} + +function int_20vision__MaxIndex8_float__28float_20const__29($0) { + var $1 = 0; + $1 = HEAPF32[$0 + 4 >> 2] > HEAPF32[$0 >> 2]; + $1 = HEAPF32[$0 + 8 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 2 : $1; + $1 = HEAPF32[$0 + 12 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 3 : $1; + $1 = HEAPF32[$0 + 16 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 4 : $1; + $1 = HEAPF32[$0 + 20 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 5 : $1; + $1 = HEAPF32[$0 + 24 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 6 : $1; + return HEAPF32[$0 + 28 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 7 : $1; +} + +function void_20std____2____construct_range_forward_std____2__allocator_vision__Point3d_float___2c_20vision__Point3d_float__2c_20vision__Point3d_float__2c_20vision__Point3d_float__2c_20vision__Point3d_float__2c_20void__28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___2c_20vision__Point3d_float___2c_20vision__Point3d_float____29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + if (($2 | 0) > 0) { + wasm2js_memory_copy(HEAP32[$3 >> 2], $1, $2); + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] + Math_imul(($2 >>> 0) / 12 | 0, 12); + } +} + +function std____2__unique_ptr_std____2__locale__facet_2c_20std____2___28anonymous_20namespace_29__release___release_28_29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_std____2__locale__facet__2c_20std____2___28anonymous_20namespace_29__release___first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_std____2__locale__facet__2c_20std____2___28anonymous_20namespace_29__release___first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $1; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______move_assign_alloc_28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____29($0, $1) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______move_assign_alloc_28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20std____2__integral_constant_bool_2c_20true__29($0, $1); +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______allocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____allocate_28unsigned_20long_29($0, $1); +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________allocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________allocate_28unsigned_20long_29($0, $1); +} + +function std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__20const____pointer_to_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__20const__29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________upcast_28_29(HEAP32[$0 >> 2]) + 8 | 0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true_____unordered_map_equal_28_29($0); +} + +function std____2__vector_float_2c_20std____2__allocator_float______base_destruct_at_end_28float__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 4 | 0; + void_20std____2__allocator_traits_std____2__allocator_float____destroy_float_2c_20void__28std____2__allocator_float___2c_20float__29(std____2__vector_float_2c_20std____2__allocator_float______alloc_28_29($0), float__20std____2____to_address_float__28float__29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function std____2____libcpp_wcsnrtombs_l_28char__2c_20wchar_t_20const___2c_20unsigned_20long_2c_20unsigned_20long_2c_20__mbstate_t__2c_20__locale_struct__29($0, $1, $2, $3, $4, $5) { + var $6 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + HEAP32[$6 + 12 >> 2] = $5; + $5 = std____2____libcpp_locale_guard____libcpp_locale_guard_28__locale_struct___29($6 + 8 | 0, $6 + 12 | 0); + $4 = wcsnrtombs($0, $1, $2, $3, $4); + std____2____libcpp_locale_guard_____libcpp_locale_guard_28_29($5); + __stack_pointer = $6 + 16 | 0; + return $4; +} + +function std____2____libcpp_mbsnrtowcs_l_28wchar_t__2c_20char_20const___2c_20unsigned_20long_2c_20unsigned_20long_2c_20__mbstate_t__2c_20__locale_struct__29($0, $1, $2, $3, $4, $5) { + var $6 = 0; + $6 = __stack_pointer - 16 | 0; + __stack_pointer = $6; + HEAP32[$6 + 12 >> 2] = $5; + $5 = std____2____libcpp_locale_guard____libcpp_locale_guard_28__locale_struct___29($6 + 8 | 0, $6 + 12 | 0); + $4 = mbsnrtowcs($0, $1, $2, $3, $4); + std____2____libcpp_locale_guard_____libcpp_locale_guard_28_29($5); + __stack_pointer = $6 + 16 | 0; + return $4; +} + +function std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29_____compressed_pair_wchar_t___2c_20void_20_28__29_28void__29__28wchar_t___2c_20void_20_28____29_28void__29_29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_wchar_t__2c_200_2c_20false_____compressed_pair_elem_wchar_t___2c_20void__28wchar_t___29($0, $1); + std____2____compressed_pair_elem_void_20_28__29_28void__29_2c_201_2c_20false_____compressed_pair_elem_void_20_28__29_28void__29_2c_20void__28void_20_28____29_28void__29_29($1 + 4 | 0, $2); + return $1; +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____get_28_29($0); +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______max_size_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____20const__29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____max_size_28_29_20const($0); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____29($0, $1) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______move_assign_28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____2c_20std____2__integral_constant_bool_2c_20true__29($0, $1); + return $0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0) { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_28_29_20const($0)) { + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_size_28_29_20const($0); + } + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_size_28_29_20const($0); +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____construct_vision__Node_96__20const__2c_20vision__Node_96__20const__20const__2c_20void__28std____2__allocator_vision__Node_96__20const____2c_20vision__Node_96__20const___2c_20vision__Node_96__20const__20const__29($0, $1, $2) { + void_20std____2__allocator_vision__Node_96__20const____construct_vision__Node_96__20const__2c_20vision__Node_96__20const__20const___28vision__Node_96__20const___2c_20vision__Node_96__20const__20const__29($0, $1, $2); +} + +function std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_2c_20int_20const__29($0, $1, $2) { + var $3 = 0; + $3 = std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0); + if ($3 >>> 0 < $1 >>> 0) { + std____2__vector_int_2c_20std____2__allocator_int______append_28unsigned_20long_2c_20int_20const__29($0, $1 - $3 | 0, $2); + return; + } + if ($1 >>> 0 < $3 >>> 0) { + std____2__vector_int_2c_20std____2__allocator_int______destruct_at_end_28int__29($0, HEAP32[$0 >> 2] + ($1 << 2) | 0); + } +} + +function std____2____split_buffer_int_2c_20std____2__allocator_int________split_buffer_28_29($0) { + std____2____split_buffer_int_2c_20std____2__allocator_int_____clear_28_29($0); + if (HEAP32[$0 >> 2]) { + std____2__allocator_traits_std____2__allocator_int____deallocate_28std____2__allocator_int___2c_20int__2c_20unsigned_20long_29(std____2____split_buffer_int_2c_20std____2__allocator_int_______alloc_28_29($0), HEAP32[$0 >> 2], std____2____split_buffer_int_2c_20std____2__allocator_int_____capacity_28_29_20const($0)); + } + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_200_2c_20false_____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function std____2____compressed_pair_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Image__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_vision__Image__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function strncmp($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + if (!$2) { + return 0; + } + $3 = HEAPU8[$0 | 0]; + label$2: { + if (!$3) { + break label$2; + } + while (1) { + label$4: { + $4 = HEAPU8[$1 | 0]; + if (!$4) { + break label$4; + } + $2 = $2 - 1 | 0; + if (!$2 | ($3 | 0) != ($4 | 0)) { + break label$4; + } + $1 = $1 + 1 | 0; + $3 = HEAPU8[$0 + 1 | 0]; + $0 = $0 + 1 | 0; + if ($3) { + continue; + } + break label$2; + } + break; + } + $5 = $3; + } + return ($5 & 255) - HEAPU8[$1 | 0] | 0; +} + +function std____2____compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96_____first_28_29($0) { + return std____2____compressed_pair_elem_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_200_2c_20false_____get_28_29($0); +} + +function std____2__enable_if_is_same_std____2__remove_const_vision__FeaturePoint___type_2c_20vision__FeaturePoint___value_20___20is_trivially_copy_assignable_vision__FeaturePoint___value_2c_20vision__FeaturePoint____type_20std____2____copy_vision__FeaturePoint_2c_20vision__FeaturePoint__28vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20vision__FeaturePoint__29($0, $1, $2) { + var $3 = 0; + $3 = $1 - $0 | 0; + if (($0 | 0) != ($1 | 0)) { + wasm2js_memory_copy($2, $0, $3); + } + return Math_imul(($3 | 0) / 20 | 0, 20) + $2 | 0; +} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__endl_char_2c_20std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29($0) { + $0 = $0 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char____put_28char_29($0, std____2__basic_ios_char_2c_20std____2__char_traits_char____widen_28char_29_20const(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0, 10)); + std____2__basic_ostream_char_2c_20std____2__char_traits_char____flush_28_29($0); + return $0 | 0; +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___________non_trivial_if_28_29($0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____get_28_29($0); +} + +function std____2__unique_ptr_vision__Keyframe_96__2c_20std____2__default_delete_vision__Keyframe_96_____release_28_29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__default_delete_vision__Keyframe_96_____first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__default_delete_vision__Keyframe_96_____first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $1; +} + +function std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_multi_marker__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_multi_marker__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function std____2____libcpp_snprintf_l_28char__2c_20unsigned_20long_2c_20__locale_struct__2c_20char_20const__2c_20____29($0, $1, $2, $3, $4) { + var $5 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + HEAP32[$5 + 12 >> 2] = $2; + HEAP32[$5 + 8 >> 2] = $4; + $4 = std____2____libcpp_locale_guard____libcpp_locale_guard_28__locale_struct___29($5, $5 + 12 | 0); + $2 = vsnprintf($0, $1, $3, HEAP32[$5 + 8 >> 2]); + std____2____libcpp_locale_guard_____libcpp_locale_guard_28_29($4); + __stack_pointer = $5 + 16 | 0; + return $2; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void__________first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_200_2c_20false_____get_28_29($0); +} + +function std____2__vector_float_2c_20std____2__allocator_float______destruct_at_end_28float__29($0, $1) { + var $2 = 0; + std____2__vector_float_2c_20std____2__allocator_float______invalidate_iterators_past_28float__29($0, $1); + $2 = std____2__vector_float_2c_20std____2__allocator_float____size_28_29_20const($0); + std____2__vector_float_2c_20std____2__allocator_float______base_destruct_at_end_28float__29($0, $1); + std____2__vector_float_2c_20std____2__allocator_float______annotate_shrink_28unsigned_20long_29_20const($0, $2); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29($0) { + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_28_29_20const($0)) { + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_28_29($0); + } + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_28_29($0); +} + +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20bool__2c_20_28void__290__28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20bool__29($0, $1, $2) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP8[$0 + 4 | 0] = HEAPU8[$2 | 0]; + return $0; +} + +function vision__RobustHomography_float___RobustHomography_28float_2c_20int_2c_20int_2c_20int_29($0, $1, $2, $3, $4) { + $0 = std____2__vector_float_2c_20std____2__allocator_float____vector_28_29($0); + std____2__vector_int_2c_20std____2__allocator_int____vector_28_29($0 + 12 | 0); + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____vector_28_29($0 + 24 | 0); + vision__RobustHomography_float___init_28float_2c_20int_2c_20int_2c_20int_29($0, $1, $2, $3, $4); + return $0; +} + +function unsigned_20int_20const__20std____2__lower_bound_unsigned_20int_20const__2c_20unsigned_20long__28unsigned_20int_20const__2c_20unsigned_20int_20const__2c_20unsigned_20long_20const__29($0, $1, $2) { + return unsigned_20int_20const__20std____2__lower_bound_unsigned_20int_20const__2c_20unsigned_20long_2c_20std____2____less_unsigned_20int_2c_20unsigned_20long___28unsigned_20int_20const__2c_20unsigned_20int_20const__2c_20unsigned_20long_20const__2c_20std____2____less_unsigned_20int_2c_20unsigned_20long__29($0, $1, $2); +} + +function std____2__pair_float_2c_20unsigned_20long___swap_28std____2__pair_float_2c_20unsigned_20long___29($0, $1) { + std____2__enable_if_is_move_constructible_float___value_20___20is_move_assignable_float___value_2c_20void___type_20std____2__swap_float__28float__2c_20float__29($0, $1); + std____2__enable_if_is_move_constructible_unsigned_20long___value_20___20is_move_assignable_unsigned_20long___value_2c_20void___type_20std____2__swap_unsigned_20long__28unsigned_20long__2c_20unsigned_20long__29($0 + 4 | 0, $1 + 4 | 0); +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________allocate_28std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________allocate_28unsigned_20long_29($0, $1); +} + +function process_data_simple_main($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + var $4 = 0, $5 = 0; + label$1: { + $4 = HEAP32[$0 + 448 >> 2]; + $5 = HEAP32[$4 + 52 >> 2]; + if ($5 >>> 0 <= HEAPU32[$4 + 48 >> 2]) { + if (!(FUNCTION_TABLE[HEAP32[HEAP32[$0 + 452 >> 2] + 12 >> 2]]($0, $4 + 8 | 0) | 0)) { + break label$1; + } + HEAP32[$4 + 48 >> 2] = 0; + $5 = HEAP32[$4 + 52 >> 2]; + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 456 >> 2] + 4 >> 2]]($0, $4 + 8 | 0, $4 + 48 | 0, $5, $1, $2, $3); + } +} + +function void_20std____2____debug_db_insert_c_std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______28std____2__unordered_map_int_2c_20std____2__shared_ptr_vision__Keyframe_96___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96_______29($0) {} + +function std____2__pointer_traits_std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_______pointer_to_28std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_____29($0) { + return $0; +} + +function std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______destruct_at_end_28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, $1) { + std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______destruct_at_end_28vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_20bool_29($0, $1, $2) { + HEAP8[$0 + 4 | 0] = $2; + HEAP32[$0 >> 2] = $1; + return $0; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____construct_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__29($0, $1) { + void_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___construct_vision__DoGScaleInvariantDetector__FeaturePoint__28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, $1); +} + +function strlen($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = $0; + label$1: { + if ($1 & 3) { + while (1) { + if (!HEAPU8[$1 | 0]) { + break label$1; + } + $1 = $1 + 1 | 0; + if ($1 & 3) { + continue; + } + break; + } + } + while (1) { + $2 = $1; + $1 = $1 + 4 | 0; + $3 = HEAP32[$2 >> 2]; + if (!(($3 ^ -1) & $3 - 16843009 & -2139062144)) { + continue; + } + break; + } + while (1) { + $1 = $2; + $2 = $1 + 1 | 0; + if (HEAPU8[$1 | 0]) { + continue; + } + break; + } + } + return $1 - $0 | 0; +} + +function decltype_28std____2____unwrap_iter_impl_std____2____wrap_iter_wchar_t_20const___2c_20true_____apply_28declval_std____2____wrap_iter_wchar_t_20const____28_29_29_29_20std____2____unwrap_iter_std____2____wrap_iter_wchar_t_20const___2c_20std____2____unwrap_iter_impl_std____2____wrap_iter_wchar_t_20const___2c_20true___28std____2____wrap_iter_wchar_t_20const___29($0) { + return std____2____unwrap_iter_impl_std____2____wrap_iter_wchar_t_20const___2c_20true_____apply_28std____2____wrap_iter_wchar_t_20const___29($0); +} + +function void_20emscripten__function_int__28char_20const__2c_20int_20_28__29_28_29_29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + _embind_register_function($0 | 0, emscripten__internal__WithPolicies____ArgTypeList_int___getCount_28_29_20const($2 + 8 | 0) | 0, emscripten__internal__WithPolicies____ArgTypeList_int___getTypes_28_29_20const($2 + 8 | 0) | 0, char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() | 0, 93, $1 | 0); + __stack_pointer = $2 + 16 | 0; +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________upcast_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($0); +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void___________bucket_list_deallocator_28_29($0); +} + +function std____2____compressed_pair_char__2c_20void_20_28__29_28void__29_____compressed_pair_char___2c_20void_20_28__29_28void__29__28char___2c_20void_20_28____29_28void__29_29($0, $1, $2) { + $1 = std____2____compressed_pair_elem_char__2c_200_2c_20false_____compressed_pair_elem_char___2c_20void__28char___29($0, $1); + std____2____compressed_pair_elem_void_20_28__29_28void__29_2c_201_2c_20false_____compressed_pair_elem_void_20_28__29_28void__29_2c_20void__28void_20_28____29_28void__29_29($1 + 4 | 0, $2); + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1); +} + +function std____2__iterator_traits_std____2____wrap_iter_int_20const_____difference_type_20std____2__distance_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___29($0, $1) { + return std____2__iterator_traits_std____2____wrap_iter_int_20const_____difference_type_20std____2____distance_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const___2c_20std____2____wrap_iter_int_20const___2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function std____2____libcpp_refstring_____libcpp_refstring_28_29($0) { + var $1 = 0; + label$1: { + if (!std____2____libcpp_refstring____uses_refcount_28_29_20const($0)) { + break label$1; + } + $1 = std____2____refstring_imp___28anonymous_20namespace_29__rep_from_data_28char_20const__29(HEAP32[$0 >> 2]); + if ((int_20std____2___28anonymous_20namespace_29____libcpp_atomic_add_int_2c_20int__28int__2c_20int_2c_20int_29_1($1 + 8 | 0) | 0) >= 0) { + break label$1; + } + operator_20delete_28void__29($1); + } + return $0; +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____get_28_29($0); +} + +function __shlim($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0; + $3 = $0; + HEAP32[$3 + 112 >> 2] = $1; + HEAP32[$3 + 116 >> 2] = $2; + $6 = HEAP32[$3 + 4 >> 2]; + $3 = HEAP32[$3 + 44 >> 2] - $6 | 0; + $4 = $3 >> 31; + $7 = $3; + $3 = $0; + HEAP32[$3 + 120 >> 2] = $7; + HEAP32[$3 + 124 >> 2] = $4; + $5 = HEAP32[$3 + 8 >> 2]; + $3 = $5 - $6 | 0; + $4 = $3 >> 31; + $7 = $3; + $3 = $2; + $5 = !($1 | $3) | (($3 | 0) >= ($4 | 0) & $1 >>> 0 >= $7 >>> 0 | ($3 | 0) > ($4 | 0)) ? $5 : $1 + $6 | 0; + HEAP32[$0 + 104 >> 2] = $5; +} + +function std____2__messages_char___do_get_28long_2c_20int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29_20const($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29($0, $5); +} + +function std____2____compressed_pair_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_20std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96______first_28_29($0) { + return std____2____compressed_pair_elem_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_200_2c_20false_____get_28_29($0); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________size_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________first_28_29_20const($0) >> 2]; +} + +function std____2__shared_ptr_unsigned_20char___operator__28std____2__shared_ptr_unsigned_20char__20const__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2__shared_ptr_unsigned_20char___shared_ptr_28std____2__shared_ptr_unsigned_20char__20const__29($2 + 8 | 0, $1); + std____2__shared_ptr_unsigned_20char___swap_28std____2__shared_ptr_unsigned_20char___29($1, $0); + std____2__shared_ptr_unsigned_20char____shared_ptr_28_29($1); + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function std____2__allocator_std____2__pair_float_2c_20int____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____max_size_std____2__allocator_std____2__pair_float_2c_20int___2c_20void__28std____2__allocator_std____2__pair_float_2c_20int___20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 3, 4); +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, Math_imul($2, 24), 4); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________ptr_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($0); +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____pointer_to_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int___29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________upcast_28_29(HEAP32[$0 >> 2]) + 8 | 0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____allocator_28_29($0); +} + +function std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96_____unique_ptr_true_2c_20void__28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = std____2____compressed_pair_vision__Node_96___2c_20std____2__default_delete_vision__Node_96_______compressed_pair_std____2____value_init_tag_2c_20std____2____value_init_tag__28std____2____value_init_tag___2c_20std____2____value_init_tag___29($0, $1 + 8 | 0, $1); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function __toread($0) { + var $1 = 0, $2 = 0; + $1 = HEAP32[$0 + 72 >> 2]; + HEAP32[$0 + 72 >> 2] = $1 | $1 - 1; + if (HEAP32[$0 + 20 >> 2] != HEAP32[$0 + 28 >> 2]) { + FUNCTION_TABLE[HEAP32[$0 + 36 >> 2]]($0, 0, 0) | 0; + } + HEAP32[$0 + 28 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + $1 = HEAP32[$0 >> 2]; + if ($1 & 4) { + HEAP32[$0 >> 2] = $1 | 32; + return -1; + } + $2 = HEAP32[$0 + 44 >> 2] + HEAP32[$0 + 48 >> 2] | 0; + HEAP32[$0 + 8 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = $2; + return $1 << 27 >> 31; +} + +function vision__SampleReceptorBilinear_28vision__Image_20const__2c_20float_2c_20float_29($0, $1, $2) { + return float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($0, float_20vision__ClipScalar_float__28float_2c_20float_2c_20float_29($1, Math_fround(0), Math_fround(vision__Image__width_28_29_20const($0) - 2 >>> 0)), float_20vision__ClipScalar_float__28float_2c_20float_2c_20float_29($2, Math_fround(0), Math_fround(vision__Image__height_28_29_20const($0) - 2 >>> 0))); +} + +function std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____basic_ostream_28std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____29($0, $1) { + var $2 = 0; + $2 = std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____basic_ios_28_29($0 + 4 | 0); + HEAP32[$0 >> 2] = 53436; + HEAP32[$2 >> 2] = 53456; + std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____init_28std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____29($2, $1); + return $0; +} + +function vision__HoughSimilarityVoting___HoughSimilarityVoting_28_29($0) { + std____2__vector_int_2c_20std____2__allocator_int_____vector_28_29($0 + 124 | 0); + std____2__vector_float_2c_20std____2__allocator_float_____vector_28_29($0 + 112 | 0); + std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int______unordered_map_28_29($0 + 92 | 0); + return $0; +} + +function std____2__vector_int_2c_20std____2__allocator_int______base_destruct_at_end_28int__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $2 = $2 - 4 | 0; + void_20std____2__allocator_traits_std____2__allocator_int____destroy_int_2c_20void__28std____2__allocator_int___2c_20int__29(std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0), int__20std____2____to_address_int__28int__29($2)); + continue; + } + break; + } + HEAP32[$0 + 4 >> 2] = $1; +} + +function std____2__enable_if_is_move_constructible__28anonymous_20namespace_29__itanium_demangle__Node_____value_20___20is_move_assignable__28anonymous_20namespace_29__itanium_demangle__Node_____value_2c_20void___type_20std____2__swap__28anonymous_20namespace_29__itanium_demangle__Node____28_28anonymous_20namespace_29__itanium_demangle__Node____2c_20_28anonymous_20namespace_29__itanium_demangle__Node____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______second_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___________bucket_list_deallocator_28_29($0); +} + +function bool_20vision__SolveSymmetricLinearSystem3x3_float__28float__2c_20float_20const__2c_20float_20const__29($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 48 | 0; + __stack_pointer = $3; + $1 = bool_20vision__MatrixInverseSymmetric3x3_float__28float__2c_20float_20const__2c_20float_29($3, $1, std____2__numeric_limits_float___epsilon_28_29()); + if ($1) { + void_20vision__Multiply_3x3_3x1_float__28float__2c_20float_20const__2c_20float_20const__29($0, $3, $2); + } + __stack_pointer = $3 + 48 | 0; + return $1; +} + +function std____2__allocator_vision__PriorityQueueItem_96____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____max_size_std____2__allocator_vision__PriorityQueueItem_96___2c_20void__28std____2__allocator_vision__PriorityQueueItem_96___20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 3, 4); +} + +function __cxxabiv1____base_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3) { + var $4 = 0, $5 = 0; + $5 = HEAP32[$0 + 4 >> 2]; + $4 = 0; + label$1: { + if (!$2) { + break label$1; + } + $4 = $5 >> 8; + if (!($5 & 1)) { + break label$1; + } + $4 = update_offset_to_base_28char_20const__2c_20long_29(HEAP32[$2 >> 2], $4); + } + $0 = HEAP32[$0 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 28 >> 2]]($0, $1, $2 + $4 | 0, $5 & 2 ? $3 : 2); +} + +function std____2____sso_allocator_std____2__locale__facet__2c_2030ul___allocate_28unsigned_20long_2c_20void_20const__29($0, $1, $2) { + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + label$1: { + if (!(HEAPU8[$0 + 120 | 0] | $1 >>> 0 > 30)) { + HEAP8[$0 + 120 | 0] = 1; + break label$1; + } + $0 = std____2__allocator_std____2__locale__facet____allocate_28unsigned_20long_29(std____2__allocator_std____2__locale__facet____allocator_28_29($2 + 8 | 0), $1); + } + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_200_2c_20false_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul____PODSmallVector_28_29($0) { + if (!$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___isInline_28_29_20const($0)) { + dlfree(HEAP32[$0 >> 2]); + } + return $0; +} + +function void_20vision__Similarity_float__28float__2c_20float_2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3, $4) { + var $5 = Math_fround(0); + $5 = cos_28float_29($3); + $3 = sin_28float_29($3); + HEAP32[$0 + 32 >> 2] = 1065353216; + HEAP32[$0 + 24 >> 2] = 0; + HEAP32[$0 + 28 >> 2] = 0; + HEAPF32[$0 + 20 >> 2] = $2; + $2 = Math_fround($5 * $4); + HEAPF32[$0 + 16 >> 2] = $2; + HEAPF32[$0 + 8 >> 2] = $1; + HEAPF32[$0 >> 2] = $2; + $3 = Math_fround($3 * $4); + HEAPF32[$0 + 12 >> 2] = $3; + HEAPF32[$0 + 4 >> 2] = -$3; +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____ConstructTransaction___ConstructTransaction_28std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = Math_imul($2, 36) + $1; + return $0; +} + +function std____2__pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20bool___pair_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20bool__2c_20_28void__290__28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20bool__29($0, $1, $2) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP8[$0 + 4 | 0] = HEAPU8[$2 | 0]; + return $0; +} + +function std____2__basic_istream_char_2c_20std____2__char_traits_char____basic_istream_28std____2__basic_streambuf_char_2c_20std____2__char_traits_char____29($0, $1) { + var $2 = 0; + $2 = std____2__basic_ios_char_2c_20std____2__char_traits_char____basic_ios_28_29($0 + 8 | 0); + HEAP32[$0 >> 2] = 53228; + HEAP32[$2 >> 2] = 53248; + HEAP32[$0 + 4 >> 2] = 0; + std____2__basic_ios_char_2c_20std____2__char_traits_char____init_28std____2__basic_streambuf_char_2c_20std____2__char_traits_char____29($2, $1); + return $0; +} + +function bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($0, $1) { + return bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_1($0, $1) ^ 1; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___PODSmallVector_28_29($0) { + var $1 = 0; + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = $0 + 44; + $1 = $0 + 12 | 0; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 >> 2] = $1; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 24 >> 2] = 0; + HEAP32[$0 + 28 >> 2] = 0; + HEAP32[$0 + 32 >> 2] = 0; + HEAP32[$0 + 36 >> 2] = 0; + HEAP32[$0 + 40 >> 2] = 0; + return $0; +} + +function bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_2($0, $1) { + return bool_20std____2__operator__std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($0, $1) ^ 1; +} + +function std____2__vector_float_2c_20std____2__allocator_float____resize_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = std____2__vector_float_2c_20std____2__allocator_float____size_28_29_20const($0); + if ($2 >>> 0 < $1 >>> 0) { + std____2__vector_float_2c_20std____2__allocator_float______append_28unsigned_20long_29($0, $1 - $2 | 0); + return; + } + if ($1 >>> 0 < $2 >>> 0) { + std____2__vector_float_2c_20std____2__allocator_float______destruct_at_end_28float__29($0, HEAP32[$0 >> 2] + ($1 << 2) | 0); + } +} + +function std____2__enable_if_is_move_constructible__28anonymous_20namespace_29__itanium_demangle__Node____value_20___20is_move_assignable__28anonymous_20namespace_29__itanium_demangle__Node____value_2c_20void___type_20std____2__swap__28anonymous_20namespace_29__itanium_demangle__Node___28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20_28anonymous_20namespace_29__itanium_demangle__Node___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__OutputBuffer_28_29($0) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__numeric_limits_unsigned_20int___max_28_29(), + HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__numeric_limits_unsigned_20int___max_28_29(), + HEAP32[wasm2js_i32$0 + 16 >> 2] = wasm2js_i32$1; + return $0; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______copy_assign_alloc_28std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____20const__29($0, $1) { + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______copy_assign_alloc_28std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____20const__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______move_assign_alloc_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__integral_constant_bool_2c_20true__29($0, $1) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($1); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_200_2c_20false_____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function std____2____libcpp_mbsrtowcs_l_28wchar_t__2c_20char_20const___2c_20unsigned_20long_2c_20__mbstate_t__2c_20__locale_struct__29($0, $1, $2, $3, $4) { + var $5 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + HEAP32[$5 + 12 >> 2] = $4; + $4 = std____2____libcpp_locale_guard____libcpp_locale_guard_28__locale_struct___29($5 + 8 | 0, $5 + 12 | 0); + $3 = mbsrtowcs($0, $1, $2, $3); + std____2____libcpp_locale_guard_____libcpp_locale_guard_28_29($4); + __stack_pointer = $5 + 16 | 0; + return $3; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_200_2c_20false_____get_28_29_20const($0); +} + +function emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void___fromWireType_28emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void____unnamed___29($0, $1) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28char_20const__2c_20unsigned_20long_29($0, $1 + 4 | 0, HEAP32[$1 >> 2]); +} +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_201_2c_20true_____get_28_29($0); +} + +function bool_20std____2__equal_std____2____wrap_iter_char___2c_20std____2____wrap_iter_char____28std____2____wrap_iter_char___2c_20std____2____wrap_iter_char___2c_20std____2____wrap_iter_char___29($0, $1, $2) { + return bool_20std____2__equal_std____2____wrap_iter_char___2c_20std____2____wrap_iter_char___2c_20std____2____equal_to_char_2c_20char___28std____2____wrap_iter_char___2c_20std____2____wrap_iter_char___2c_20std____2____wrap_iter_char___2c_20std____2____equal_to_char_2c_20char__29($0, $1, $2); +} + +function std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96_____operator_28_29_28vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____29_20const($0, $1) { + if ($1) { + vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96_____VisualDatabase_28_29($1); + } + operator_20delete_28void__29($1); +} + +function std____2____libcpp_sscanf_l_28char_20const__2c_20__locale_struct__2c_20char_20const__2c_20____29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = $1; + HEAP32[$4 + 8 >> 2] = $3; + $3 = std____2____libcpp_locale_guard____libcpp_locale_guard_28__locale_struct___29($4, $4 + 12 | 0); + $1 = vsscanf($0, $2, HEAP32[$4 + 8 >> 2]); + std____2____libcpp_locale_guard_____libcpp_locale_guard_28_29($3); + __stack_pointer = $4 + 16 | 0; + return $1; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char____first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________2c_201_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___________bucket_list_deallocator_28_29($0); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______move_assign_alloc_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0, $1) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______move_assign_alloc_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__integral_constant_bool_2c_20true__29($0, $1); +} + +function std____2__allocator_std____2__locale__facet____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__locale__facet_____max_size_std____2__allocator_std____2__locale__facet___2c_20void_2c_20void__28std____2__allocator_std____2__locale__facet___20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 2, 4); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________allocator_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___PODSmallVector_28_29($0) { + var $1 = 0; + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = $0 + 44; + $1 = $0 + 12 | 0; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 >> 2] = $1; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 24 >> 2] = 0; + HEAP32[$0 + 28 >> 2] = 0; + HEAP32[$0 + 32 >> 2] = 0; + HEAP32[$0 + 36 >> 2] = 0; + HEAP32[$0 + 40 >> 2] = 0; + return $0; +} + +function void_20std____2__shared_ptr_unsigned_20char___reset_unsigned_20char_2c_20void__28unsigned_20char__29($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $1 = std____2__shared_ptr_unsigned_20char___shared_ptr_unsigned_20char_2c_20void__28unsigned_20char__29($2 + 8 | 0, $1); + std____2__shared_ptr_unsigned_20char___swap_28std____2__shared_ptr_unsigned_20char___29($1, $0); + std____2__shared_ptr_unsigned_20char____shared_ptr_28_29($1); + __stack_pointer = $2 + 16 | 0; +} + +function std____2__vector_int_2c_20std____2__allocator_int______destruct_at_end_28int__29($0, $1) { + var $2 = 0; + std____2__vector_int_2c_20std____2__allocator_int______invalidate_iterators_past_28int__29($0, $1); + $2 = std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0); + std____2__vector_int_2c_20std____2__allocator_int______base_destruct_at_end_28int__29($0, $1); + std____2__vector_int_2c_20std____2__allocator_int______annotate_shrink_28unsigned_20long_29_20const($0, $2); +} + +function std____2____libcpp_mbrtowc_l_28wchar_t__2c_20char_20const__2c_20unsigned_20long_2c_20__mbstate_t__2c_20__locale_struct__29($0, $1, $2, $3, $4) { + var $5 = 0; + $5 = __stack_pointer - 16 | 0; + __stack_pointer = $5; + HEAP32[$5 + 12 >> 2] = $4; + $4 = std____2____libcpp_locale_guard____libcpp_locale_guard_28__locale_struct___29($5 + 8 | 0, $5 + 12 | 0); + $3 = mbrtowc($0, $1, $2, $3); + std____2____libcpp_locale_guard_____libcpp_locale_guard_28_29($4); + __stack_pointer = $5 + 16 | 0; + return $3; +} + +function std____2____compressed_pair_float__2c_20std____2__allocator_float______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_float__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_float__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function std____2____libcpp_asprintf_l_28char___2c_20__locale_struct__2c_20char_20const__2c_20____29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = $1; + HEAP32[$4 + 8 >> 2] = $3; + $3 = std____2____libcpp_locale_guard____libcpp_locale_guard_28__locale_struct___29($4, $4 + 12 | 0); + $1 = vasprintf($0, $2, HEAP32[$4 + 8 >> 2]); + std____2____libcpp_locale_guard_____libcpp_locale_guard_28_29($3); + __stack_pointer = $4 + 16 | 0; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference_2c_20unsigned_20long___28unsigned_20long__29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__ForwardTemplateReference_28unsigned_20long_29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 20), HEAP32[$1 >> 2]); +} + +function std____2__unique_ptr_unsigned_20char_2c_20std____2__default_delete_unsigned_20char____release_28_29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_unsigned_20char__2c_20std____2__default_delete_unsigned_20char____first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_unsigned_20char__2c_20std____2__default_delete_unsigned_20char____first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $1; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____29($0, $1) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______move_assign_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____2c_20std____2__integral_constant_bool_2c_20true__29($0, $1); + return $0; +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________size_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________first_28_29_20const($0) >> 2]; +} + +function kpmCreateHandleCore_28ARParamLT__2c_20int_2c_20int_2c_20int_29($0, $1, $2, $3) { + var $4 = 0, $5 = 0; + $4 = dlcalloc(1, 4156); + if (!$4) { + arLog(0, 3, 1790, 0); + exit(1); + abort(); + } + $5 = vision__VisualDatabaseFacade__VisualDatabaseFacade_28_29(operator_20new_28unsigned_20long_29(4)); + HEAP32[$4 + 20 >> 2] = 1; + HEAP32[$4 + 24 >> 2] = -1; + HEAP32[$4 + 16 >> 2] = $2; + HEAP32[$4 + 12 >> 2] = $1; + HEAP32[$4 + 8 >> 2] = $3; + HEAP32[$4 + 4 >> 2] = $0; + HEAP32[$4 >> 2] = $5; + return $4; +} + +function decltype_28std____2____unwrap_iter_impl_std____2____wrap_iter_char_20const___2c_20true_____apply_28declval_std____2____wrap_iter_char_20const____28_29_29_29_20std____2____unwrap_iter_std____2____wrap_iter_char_20const___2c_20std____2____unwrap_iter_impl_std____2____wrap_iter_char_20const___2c_20true___28std____2____wrap_iter_char_20const___29($0) { + return std____2____unwrap_iter_impl_std____2____wrap_iter_char_20const___2c_20true_____apply_28std____2____wrap_iter_char_20const___29($0); +} + +function void_20std____2____debug_db_insert_c_std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____28std____2__unordered_map_unsigned_20int_2c_20unsigned_20int_2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__allocator_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____29($0) {} + +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28wchar_t_29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + label$1: { + if (!$2) { + break label$1; + } + if (!std____2__char_traits_wchar_t___eq_int_type_28unsigned_20int_2c_20unsigned_20int_29(std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sputc_28wchar_t_29($2, $1), std____2__char_traits_wchar_t___eof_28_29())) { + break label$1; + } + HEAP32[$0 >> 2] = 0; + } + return $0; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______second_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator___ManglingParser_28char_20const__2c_20char_20const__29($0, $1, $2) { + return $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___AbstractManglingParser_28char_20const__2c_20char_20const__29($0, $1, $2); +} + +function std____2__basic_ios_char_2c_20std____2__char_traits_char____widen_28char_29_20const($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + std____2__ios_base__getloc_28_29_20const($2 + 8 | 0, $0); + $0 = std____2__ctype_char___widen_28char_29_20const(std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($2 + 8 | 0), $1); + std____2__locale___locale_28_29($2 + 8 | 0); + __stack_pointer = $2 + 16 | 0; + return $0; +} + +function std____2__allocator_vision__Node_96__20const____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____max_size_std____2__allocator_vision__Node_96__20const___2c_20void__28std____2__allocator_vision__Node_96__20const___20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 2, 4); +} + +function std____2__allocator_vision__Point3d_float____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____max_size_std____2__allocator_vision__Point3d_float___2c_20void__28std____2__allocator_vision__Point3d_float___20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29(Math_imul($1, 12), 4); +} + +function std____2____compressed_pair_int__2c_20std____2__allocator_int______compressed_pair_std__nullptr_t_2c_20std____2____default_init_tag__28std__nullptr_t___2c_20std____2____default_init_tag___29($0, $1, $2) { + return std____2____compressed_pair_elem_std____2__allocator_int__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29(std____2____compressed_pair_elem_int__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1)); +} + +function __time($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = +_emscripten_date_now() / 1e3; + label$1: { + if (Math_abs($1) < 0x8000000000000000) { + $2 = Math_abs($1) >= 1 ? ~~($1 > 0 ? Math_min(Math_floor($1 * 2.3283064365386963e-10), 4294967295) : Math_ceil(($1 - +(~~$1 >>> 0 >>> 0)) * 2.3283064365386963e-10)) >>> 0 : 0; + $3 = ~~$1 >>> 0; + break label$1; + } + $2 = -2147483648; + } + if ($0) { + HEAP32[$0 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $2; + } + i64toi32_i32$HIGH_BITS = $2; + return $3; +} + +function $28anonymous_20namespace_29__itanium_demangle__BoolExpr__BoolExpr_28bool_29($0, $1) { + $0 = $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, 67, 1, 1, 1); + HEAP8[$0 + 8 | 0] = $1; + HEAP32[$0 >> 2] = 66484; + return $0; +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___________alloc_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________second_28_29($0); +} + +function kpmDeleteRefDataSet($0) { + var $1 = 0, $2 = 0, $3 = 0; + if (!$0) { + arLog(0, 3, 7782, 0); + return -1; + } + $1 = HEAP32[$0 >> 2]; + if (!$1) { + return 0; + } + dlfree(HEAP32[$1 >> 2]); + $1 = 0; + while (1) { + $2 = HEAP32[$0 >> 2]; + $3 = HEAP32[$2 + 8 >> 2]; + if (HEAP32[$2 + 12 >> 2] <= ($1 | 0)) { + dlfree($3); + dlfree(HEAP32[$0 >> 2]); + HEAP32[$0 >> 2] = 0; + } else { + dlfree(HEAP32[Math_imul($1, 12) + $3 >> 2]); + $1 = $1 + 1 | 0; + continue; + } + break; + } + return 0; +} + +function decltype_28std____2____unwrap_iter_impl_std____2____wrap_iter_int_20const___2c_20true_____apply_28declval_std____2____wrap_iter_int_20const____28_29_29_29_20std____2____unwrap_iter_std____2____wrap_iter_int_20const___2c_20std____2____unwrap_iter_impl_std____2____wrap_iter_int_20const___2c_20true___28std____2____wrap_iter_int_20const___29($0) { + return std____2____unwrap_iter_impl_std____2____wrap_iter_int_20const___2c_20true_____apply_28std____2____wrap_iter_int_20const___29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___operator_5b_5d_28unsigned_20long_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___begin_28_29($0) + ($1 << 2) | 0; +} + +function void_20std____2__allocator_vision__FeaturePoint___construct_vision__FeaturePoint_2c_20vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = $2; + $2 = HEAP32[$3 >> 2]; + $0 = HEAP32[$3 + 4 >> 2]; + $4 = $2; + $2 = $1; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $0; + HEAP32[$2 + 16 >> 2] = HEAP32[$3 + 16 >> 2]; + $2 = HEAP32[$3 + 12 >> 2]; + $0 = HEAP32[$3 + 8 >> 2]; + HEAP32[$1 + 8 >> 2] = $0; + HEAP32[$1 + 12 >> 2] = $2; +} + +function void_20std____2__allocator_vision__FeaturePoint___construct_vision__FeaturePoint_2c_20vision__FeaturePoint__28vision__FeaturePoint__2c_20vision__FeaturePoint___29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = $2; + $2 = HEAP32[$3 >> 2]; + $0 = HEAP32[$3 + 4 >> 2]; + $4 = $2; + $2 = $1; + HEAP32[$2 >> 2] = $4; + HEAP32[$2 + 4 >> 2] = $0; + HEAP32[$2 + 16 >> 2] = HEAP32[$3 + 16 >> 2]; + $2 = HEAP32[$3 + 12 >> 2]; + $0 = HEAP32[$3 + 8 >> 2]; + HEAP32[$1 + 8 >> 2] = $0; + HEAP32[$1 + 12 >> 2] = $2; +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_std____2__pair_float_2c_20int___2c_20std____2__pair_float_2c_20int__2c_20void__28std____2__allocator_std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int___2c_20std____2__pair_float_2c_20int___2c_20std____2__pair_float_2c_20int____29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] - $2 | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + wasm2js_memory_copy($0, $1, $2); + } +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______copy_assign_alloc_28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__29($0, $1) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______copy_assign_alloc_28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____begin_28_29_20const($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____wrap_iter_wchar_t_20const______wrap_iter_28wchar_t_20const__29($1 + 8 | 0, std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29_20const($0)) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________destruct_at_end_28std____2__pair_float_2c_20unsigned_20long___29($0, $1) { + std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________destruct_at_end_28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0); + if ($2 >>> 0 < $1 >>> 0) { + std____2__vector_int_2c_20std____2__allocator_int______append_28unsigned_20long_29($0, $1 - $2 | 0); + return; + } + if ($1 >>> 0 < $2 >>> 0) { + std____2__vector_int_2c_20std____2__allocator_int______destruct_at_end_28int__29($0, HEAP32[$0 >> 2] + ($1 << 2) | 0); + } +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_cap_28unsigned_20long_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29($0), + wasm2js_i32$1 = $1 | -2147483648, HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function vision__GaussianScaleSpacePyramid__configure_28int_2c_20int_29($0, $1, $2) { + var $3 = Math_fround(0), wasm2js_i32$0 = 0, wasm2js_f32$0 = Math_fround(0); + HEAP32[$0 + 20 >> 2] = $2; + HEAP32[$0 + 16 >> 2] = $1; + $3 = pow_28float_2c_20float_29(Math_fround(2), Math_fround(Math_fround(1) / Math_fround($2 - 1 | 0))); + HEAPF32[$0 + 24 >> 2] = $3; + wasm2js_i32$0 = $0, wasm2js_f32$0 = Math_fround(Math_fround(1) / log_28float_29($3)), + HEAPF32[wasm2js_i32$0 + 28 >> 2] = wasm2js_f32$0; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_200_2c_20false_____get_28_29($0); +} + +function sbrk($0) { + var $1 = 0, $2 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[18645]; + $2 = $0 + 7 & -8; + $0 = $1 + $2 | 0; + label$1: { + if ($0 >>> 0 <= $1 >>> 0 ? $2 : 0) { + break label$1; + } + if (emscripten_get_heap_size() >>> 0 < $0 >>> 0) { + if (!(emscripten_resize_heap($0 | 0) | 0)) { + break label$1; + } + } + HEAP32[18645] = $0; + return $1; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 48, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return -1; +} + +function _ZN17compiler_builtins3int3mul3Mul3mul17h070e9a1c69faec5bE($0, $1, $2, $3) { + var $4 = 0, $5 = 0; + $4 = $2 >>> 16 | 0; + $5 = $0 >>> 16 | 0; + $3 = (Math_imul($4, $5) + Math_imul($1, $2) | 0) + Math_imul($3, $0) | 0; + $2 = $2 & 65535; + $0 = $0 & 65535; + $1 = Math_imul($2, $0); + $2 = ($1 >>> 16 | 0) + Math_imul($2, $5) | 0; + $3 = $3 + ($2 >>> 16 | 0) | 0; + $2 = Math_imul($0, $4) + ($2 & 65535) | 0; + i64toi32_i32$HIGH_BITS = $3 + ($2 >>> 16 | 0) | 0; + return $1 & 65535 | $2 << 16; +} + +function std____2__enable_if_is_move_constructible_vision__DoGScaleInvariantDetector__FeaturePoint____value_20___20is_move_assignable_vision__DoGScaleInvariantDetector__FeaturePoint____value_2c_20void___type_20std____2__swap_vision__DoGScaleInvariantDetector__FeaturePoint___28vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________first_28_29($0); +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______allocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____allocate_28unsigned_20long_29($0, $1); +} + +function std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28int_29($0, $1) { + $1 = HEAP32[$0 >> 2]; + std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29($0); + return $1; +} + +function std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char____first_28_29($0) { + return std____2____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true_____unordered_map_hasher_28_29($0); +} + +function std____2__allocator_vision__FeaturePoint___allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____max_size_std____2__allocator_vision__FeaturePoint__2c_20void__28std____2__allocator_vision__FeaturePoint__20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29(Math_imul($1, 20), 4); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_201_2c_20true_____get_28_29($0); +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________invalidate_iterators_past_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1) {} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char____basic_ostream_28std____2__basic_streambuf_char_2c_20std____2__char_traits_char____29($0, $1) { + var $2 = 0; + $2 = std____2__basic_ios_char_2c_20std____2__char_traits_char____basic_ios_28_29($0 + 4 | 0); + HEAP32[$0 >> 2] = 53276; + HEAP32[$2 >> 2] = 53296; + std____2__basic_ios_char_2c_20std____2__char_traits_char____init_28std____2__basic_streambuf_char_2c_20std____2__char_traits_char____29($2, $1); + return $0; +} + +function std____2__allocator_vision__Point2d_float____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Point2d_float_____max_size_std____2__allocator_vision__Point2d_float___2c_20void__28std____2__allocator_vision__Point2d_float___20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 3, 4); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true_____unordered_map_equal_28_29($0); +} + +function arSetDebugMode($0, $1) { + if (!$0) { + return -1; + } + label$2: { + if (HEAP32[$0 >> 2] == ($1 | 0)) { + break label$2; + } + HEAP32[$0 >> 2] = $1; + if (!$1) { + $0 = $0 + 4834148 | 0; + dlfree(HEAP32[$0 >> 2]); + HEAP32[$0 >> 2] = 0; + break label$2; + } + $1 = $0 + 4834148 | 0; + $0 = dlmalloc(Math_imul(HEAP32[$0 + 40 >> 2], HEAP32[$0 + 36 >> 2])); + HEAP32[$1 >> 2] = $0; + if ($0) { + break label$2; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); + } + return 0; +} + +function vision__VisualDatabaseFacade__VisualDatabaseFacade_28_29($0) { + $0 = std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____unique_ptr_true_2c_20void__28_29($0); + std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____reset_28vision__VisualDatabaseImpl__29($0, vision__VisualDatabaseImpl__VisualDatabaseImpl_28_29(operator_20new_28unsigned_20long_29(24))); + return $0; +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 3) + $1; + return $0; +} + +function std____2____compressed_pair_elem_std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_201_2c_20true_____compressed_pair_elem_std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20void__28std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_____29($0, $1) { + return $0; +} + +function bool_20vision__Homography3PointsGeometricallyConsistent_float__28float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2, $3, $4, $5) { + return !(float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2) > Math_fround(0) ^ float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($3, $4, $5) > Math_fround(0)); +} + +function ar2SetInitTrans($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + if (!$0) { + return -1; + } + HEAP32[$0 + 152 >> 2] = 1; + while (1) { + $2 = 0; + if (($3 | 0) != 3) { + while (1) { + if (($2 | 0) != 4) { + $4 = $2 << 2; + $5 = $3 << 4; + HEAPF32[($4 + ($5 + $0 | 0) | 0) + 8 >> 2] = HEAPF32[($1 + $5 | 0) + $4 >> 2]; + $2 = $2 + 1 | 0; + continue; + } + break; + } + $3 = $3 + 1 | 0; + continue; + } + break; + } + HEAP32[$0 + 168 >> 2] = -1; + return 0; +} + +function vision__RobustHomography_float___init_28float_2c_20int_2c_20int_2c_20int_29($0, $1, $2, $3, $4) { + std____2__vector_float_2c_20std____2__allocator_float____resize_28unsigned_20long_29($0, Math_imul($2, 9)); + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____resize_28unsigned_20long_29($0 + 24 | 0, $2); + HEAP32[$0 + 48 >> 2] = $4; + HEAP32[$0 + 44 >> 2] = $3; + HEAP32[$0 + 40 >> 2] = $2; + HEAPF32[$0 + 36 >> 2] = $1; +} + +function vision__BinarykMedoids_96___BinarykMedoids_28int__29($0, $1) { + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 >> 2] = $1; + std____2__vector_int_2c_20std____2__allocator_int____vector_28_29($0 + 12 | 0); + std____2__vector_int_2c_20std____2__allocator_int____vector_28_29($0 + 24 | 0); + std____2__vector_int_2c_20std____2__allocator_int____vector_28_29($0 + 36 | 0); + std____2__vector_int_2c_20std____2__allocator_int____vector_28_29($0 + 48 | 0); + return $0; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true_____unordered_map_hasher_28_29($0); +} + +function std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_________get_ptr_28std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______29($0) { + return std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________get_value_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__Node_28_28anonymous_20namespace_29__itanium_demangle__Node__Kind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_2c_20_28anonymous_20namespace_29__itanium_demangle__Node__Cache_29($0, $1, $2, $3, $4) { + HEAP8[$0 + 7 | 0] = $4; + HEAP8[$0 + 6 | 0] = $3; + HEAP8[$0 + 5 | 0] = $2; + HEAP8[$0 + 4 | 0] = $1; + HEAP32[$0 >> 2] = 65892; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__initializeOutputBuffer_28char__2c_20unsigned_20long__2c_20_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__2c_20unsigned_20long_29($0, $1, $2) { + label$1: { + if (!$0) { + $0 = dlmalloc(1024); + $1 = 1024; + if ($0) { + break label$1; + } + return 0; + } + $1 = HEAP32[$1 >> 2]; + } + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__reset_28char__2c_20unsigned_20long_29($2, $0, $1); + return 1; +} + +function std____2__vector_int_2c_20std____2__allocator_int____push_back_28int_20const__29($0, $1) { + if (HEAP32[$0 + 4 >> 2] != HEAP32[std____2__vector_int_2c_20std____2__allocator_int______end_cap_28_29($0) >> 2]) { + void_20std____2__vector_int_2c_20std____2__allocator_int______construct_one_at_end_int_20const___28int_20const__29($0, $1); + return; + } + void_20std____2__vector_int_2c_20std____2__allocator_int______push_back_slow_path_int_20const___28int_20const__29($0, $1); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true_____unordered_map_equal_28_29($0); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_short_size_28unsigned_20long_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29($0), + wasm2js_i32$1 = $1, HEAP8[wasm2js_i32$0 + 11 | 0] = wasm2js_i32$1; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_size_28unsigned_20long_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; +} + +function std____2____libcpp_mbrlen_l_28char_20const__2c_20unsigned_20long_2c_20__mbstate_t__2c_20__locale_struct__29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = $3; + $3 = std____2____libcpp_locale_guard____libcpp_locale_guard_28__locale_struct___29($4 + 8 | 0, $4 + 12 | 0); + $2 = mbrlen($0, $1, $2); + std____2____libcpp_locale_guard_____libcpp_locale_guard_28_29($3); + __stack_pointer = $4 + 16 | 0; + return $2; +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2____sso_allocator_std____2__locale__facet__2c_2030ul__2c_20std____2__locale__facet__2c_20void__28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20std____2__locale__facet___2c_20std____2__locale__facet___2c_20std____2__locale__facet____29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] - $2 | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + __memcpy($0, $1, $2); + } +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__Point3d_float___2c_20vision__Point3d_float__2c_20void__28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___2c_20vision__Point3d_float___2c_20vision__Point3d_float____29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] + Math_imul(($2 | 0) / -12 | 0, 12) | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + wasm2js_memory_copy($0, $1, $2); + } +} + +function vision__Node_96___Node_28int_2c_20unsigned_20char_20const__29($0, $1, $2) { + HEAP8[$0 + 100 | 0] = 1; + HEAP32[$0 >> 2] = $1; + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______vector_28_29($0 + 104 | 0); + std____2__vector_int_2c_20std____2__allocator_int____vector_28_29($0 + 116 | 0); + void_20vision__CopyVector_unsigned_20char__28unsigned_20char__2c_20unsigned_20char_20const__2c_20unsigned_20long_29($0 + 4 | 0, $2, 96); + return $0; +} + +function std____2__decay_decltype_28__to_address_helper_std____2____wrap_iter_wchar_t_20const_______call_28declval_std____2____wrap_iter_wchar_t_20const___20const___28_29_29_29___type_20std____2____to_address_std____2____wrap_iter_wchar_t_20const___2c_20void__28std____2____wrap_iter_wchar_t_20const___20const__29($0) { + return std____2____to_address_helper_std____2____wrap_iter_wchar_t_20const___2c_20void_____call_28std____2____wrap_iter_wchar_t_20const___20const__29($0); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___________alloc_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________second_28_29($0); +} + +function jpeg_idct_1x2($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + var $5 = 0; + $1 = HEAP32[$1 + 84 >> 2]; + $5 = Math_imul(HEAP32[$1 + 32 >> 2], HEAPU16[$2 + 16 >> 1]); + $0 = HEAP32[$0 + 336 >> 2] - 384 | 0; + $2 = Math_imul(HEAP32[$1 >> 2], HEAPU16[$2 >> 1]) + 4100 | 0; + HEAP8[HEAP32[$3 >> 2] + $4 | 0] = HEAPU8[$0 + ($5 + $2 >>> 3 & 1023) | 0]; + HEAP8[HEAP32[$3 + 4 >> 2] + $4 | 0] = HEAPU8[($2 - $5 >>> 3 & 1023) + $0 | 0]; +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______make_iter_28std____2__pair_float_2c_20unsigned_20long___29($0, $1) { + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + $1 = HEAP32[std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_______wrap_iter_28std____2__pair_float_2c_20unsigned_20long___29($0 + 8 | 0, $1) >> 2]; + __stack_pointer = $0 + 16 | 0; + return $1; +} + +function std____2__allocator_std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char_____allocator_unsigned_20char__28std____2__allocator_unsigned_20char__20const__29($0, $1) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char________non_trivial_if_28_29($0); +} + +function std____2____libcpp_mbtowc_l_28wchar_t__2c_20char_20const__2c_20unsigned_20long_2c_20__locale_struct__29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = $3; + $3 = std____2____libcpp_locale_guard____libcpp_locale_guard_28__locale_struct___29($4 + 8 | 0, $4 + 12 | 0); + $2 = mbtowc($0, $1, $2); + std____2____libcpp_locale_guard_____libcpp_locale_guard_28_29($3); + __stack_pointer = $4 + 16 | 0; + return $2; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void____2c_201_2c_20true_____get_28_29($0); +} + +function jpeg_read_header($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + $2 = HEAP32[$0 + 20 >> 2]; + if (($2 & -2) != 200) { + $3 = HEAP32[$0 >> 2]; + HEAP32[$3 + 24 >> 2] = $2; + HEAP32[$3 + 20 >> 2] = 21; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0); + } + $2 = jpeg_consume_input($0); + if (($2 | 0) == 2) { + if ($1) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 53; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); + } + jpeg_abort($0); + } + return $2 | 0; +} + +function void_20vision__MultiplyPointSimilarityInhomogenous_float__28float__2c_20float_20const__2c_20float_20const__29($0, $1, $2) { + HEAPF32[$0 >> 2] = HEAPF32[$1 + 8 >> 2] + Math_fround(Math_fround(HEAPF32[$1 >> 2] * HEAPF32[$2 >> 2]) + Math_fround(HEAPF32[$1 + 4 >> 2] * HEAPF32[$2 + 4 >> 2])); + HEAPF32[$0 + 4 >> 2] = HEAPF32[$1 + 20 >> 2] + Math_fround(Math_fround(HEAPF32[$1 + 12 >> 2] * HEAPF32[$2 >> 2]) + Math_fround(HEAPF32[$1 + 16 >> 2] * HEAPF32[$2 + 4 >> 2])); +} + +function void_20vision__ArrayShuffle_int__28int__2c_20int_2c_20int_2c_20int__29($0, $1, $2, $3) { + var $4 = 0; + $2 = ($2 | 0) > 0 ? $2 : 0; + while (1) { + if (($2 | 0) != ($4 | 0)) { + std____2__enable_if_is_move_constructible_int___value_20___20is_move_assignable_int___value_2c_20void___type_20std____2__swap_int__28int__2c_20int__29(($4 << 2) + $0 | 0, ((vision__FastRandom_28int__29($3) | 0) % ($1 | 0) << 2) + $0 | 0); + $4 = $4 + 1 | 0; + continue; + } + break; + } +} + +function vision__BinomialPyramid32f___BinomialPyramid32f_28_29($0) { + $0 = $0 | 0; + HEAP32[$0 >> 2] = 26548; + std____2__vector_float_2c_20std____2__allocator_float_____vector_28_29($0 + 56 | 0); + std____2__vector_float_2c_20std____2__allocator_float_____vector_28_29($0 + 44 | 0); + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short_____vector_28_29($0 + 32 | 0); + return vision__GaussianScaleSpacePyramid___GaussianScaleSpacePyramid_28_29($0) | 0; +} + +function std____2__pointer_traits_std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char______pointer_to_28std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char____29($0) { + return $0; +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_200_2c_20false_____get_28_29($0); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______erase_to_end_28unsigned_20long_29($0, $1) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______null_terminate_at_28char__2c_20unsigned_20long_29($0, char__20std____2____to_address_char__28char__29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29($0)), $1); +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________non_trivial_if_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true_____unordered_map_hasher_28_29($0); +} + +function __cxxabiv1____base_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4, $5) { + var $6 = 0, $7 = 0; + $6 = HEAP32[$0 + 4 >> 2]; + $7 = $6 >> 8; + if ($6 & 1) { + $7 = update_offset_to_base_28char_20const__2c_20long_29(HEAP32[$3 >> 2], $7); + } + $0 = HEAP32[$0 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1, $2, $3 + $7 | 0, $6 & 2 ? $4 : 2, $5); +} + +function std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____20std____2___28anonymous_20namespace_29__make_std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20unsigned_20int__28unsigned_20int_29() { + std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____money_put_28unsigned_20long_29(84080, 1); +} + +function std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____20std____2___28anonymous_20namespace_29__make_std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20unsigned_20int__28unsigned_20int_29() { + std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____money_get_28unsigned_20long_29(84064, 1); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________first_28_29($0); +} + +function locking_getc($0) { + var $1 = 0, $2 = 0; + $1 = HEAP32[$0 + 76 >> 2]; + HEAP32[$0 + 76 >> 2] = $1 ? $1 : 1073741823; + if ($1) { + __lockfile($0); + } + $1 = $0 + 76 | 0; + $2 = HEAP32[$0 + 4 >> 2]; + label$2: { + if (($2 | 0) != HEAP32[$0 + 8 >> 2]) { + HEAP32[$0 + 4 >> 2] = $2 + 1; + $0 = HEAPU8[$2 | 0]; + break label$2; + } + $0 = __uflow($0); + } + $2 = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = 0; + if ($2 & 1073741824) { + emscripten_futex_wake($1, 1); + } + return $0; +} + +function int_20vision__MaxIndex7_float__28float_20const__29($0) { + var $1 = 0; + $1 = HEAPF32[$0 + 4 >> 2] > HEAPF32[$0 >> 2]; + $1 = HEAPF32[$0 + 8 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 2 : $1; + $1 = HEAPF32[$0 + 12 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 3 : $1; + $1 = HEAPF32[$0 + 16 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 4 : $1; + $1 = HEAPF32[$0 + 20 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 5 : $1; + return HEAPF32[$0 + 24 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 6 : $1; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____construct_vision__Point3d_float__2c_20vision__Point3d_float__2c_20void__28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___2c_20vision__Point3d_float____29($0, $1, $2) { + void_20std____2__allocator_vision__Point3d_float____construct_vision__Point3d_float__2c_20vision__Point3d_float___28vision__Point3d_float___2c_20vision__Point3d_float____29($0, $1, $2); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______set_long_pointer_28wchar_t__29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_cap_28unsigned_20long_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29($0), + wasm2js_i32$1 = $1 | -2147483648, HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20arController__20const__2c_20int_20const__29_20const($0, $1, $2) { + return std____2__equal_to_int___operator_28_29_28int_20const__2c_20int_20const__29_20const($0, std____2____hash_value_type_int_2c_20arController_____get_value_28_29_20const($1), $2); +} + +function std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28int_29($0, $1) { + $1 = HEAP32[$0 >> 2]; + std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29($0); + return $1; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______zero_28_29($0) { + var $1 = 0; + $1 = std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29($0); + $0 = 0; + while (1) { + if (($0 | 0) != 3) { + HEAP32[($0 << 2) + $1 >> 2] = 0; + $0 = $0 + 1 | 0; + continue; + } + break; + } +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________upcast_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true_____unordered_map_equal_28_29($0); +} + +function bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29($0, $1) { + return std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____equal_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_20const($0, $1) ^ 1; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____capacity_28_29_20const($0) { + var $1 = 0; + $1 = 1; + if (std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______is_long_28_29_20const($0)) { + $1 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_cap_28_29_20const($0) - 1 | 0; + } + return $1; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____begin_28_29_20const($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____wrap_iter_char_20const______wrap_iter_28char_20const__29($1 + 8 | 0, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29_20const($0)) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function bool_20std____2__operator__float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_1($0, $1) { + var $2 = 0, $3 = Math_fround(0), $4 = Math_fround(0); + $3 = HEAPF32[$0 >> 2]; + $4 = HEAPF32[$1 >> 2]; + $2 = 1; + label$1: { + if ($3 < $4) { + break label$1; + } + $2 = 0; + if ($3 > $4) { + break label$1; + } + $2 = HEAPU32[$0 + 4 >> 2] < HEAPU32[$1 + 4 >> 2]; + } + return $2; +} + +function ar2GenTemplate($0, $1) { + var $2 = 0; + $2 = dlmalloc(40); + if ($2) { + label$2: { + HEAP32[$2 + 20 >> 2] = $1; + HEAP32[$2 + 8 >> 2] = $0; + HEAP32[$2 + 16 >> 2] = $0; + HEAP32[$2 + 12 >> 2] = $1; + $1 = ($0 + $1 | 0) + 1 | 0; + HEAP32[$2 + 4 >> 2] = $1; + HEAP32[$2 >> 2] = $1; + $1 = dlmalloc(Math_imul($1, $1) << 1); + HEAP32[$2 + 24 >> 2] = $1; + if (!$1) { + break label$2; + } + return $2; + } + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); +} + +function $28anonymous_20namespace_29__itanium_demangle__StringView__find_28char_2c_20unsigned_20long_29_20const($0, $1) { + var $2 = 0; + label$1: { + $2 = $28anonymous_20namespace_29__itanium_demangle__StringView__size_28_29_20const($0); + if (!$2) { + break label$1; + } + $1 = memchr_28void_20const__2c_20int_2c_20unsigned_20long_29_20_5benable_if_true_5d(HEAP32[$0 >> 2], $1, $2); + if (!$1) { + break label$1; + } + return $1 - HEAP32[$0 >> 2] | 0; + } + return -1; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___PODSmallVector_28_29($0) { + var $1 = 0; + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = $0 + 28; + $1 = $0 + 12 | 0; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 >> 2] = $1; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 24 >> 2] = 0; + return $0; +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____destroy_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20void__28std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter____2c_20std____2__shared_ptr_vision__FrontendSinkFilter___29($0, $1) { + std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter____destroy_28std____2__shared_ptr_vision__FrontendSinkFilter___29($0, $1); +} + +function vision__Exception__Exception_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29($0, $1) { + $0 = std__exception__exception_28_29($0); + HEAP32[$0 >> 2] = 26640; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29($0 + 4 | 0, $1); + return $0; +} + +function std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____20std____2___28anonymous_20namespace_29__make_std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20unsigned_20int__28unsigned_20int_29() { + std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____time_put_28unsigned_20long_29(84136, 1); +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____20std____2___28anonymous_20namespace_29__make_std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20unsigned_20int__28unsigned_20int_29() { + std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____time_get_28unsigned_20long_29(84104, 1); +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_200_2c_20false_____get_28_29_20const($0); +} + +function bool_20std____2__operator___wchar_t_2c_20std____2__char_traits_wchar_t___28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_1($0, $1) { + return std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____equal_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_20const($0, $1); +} + +function arImageProcLumaHist($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + $2 = -1; + label$1: { + if (!$0 | !$1) { + break label$1; + } + $2 = 0; + wasm2js_memory_fill($0 + 12 | 0, 0, 1024); + $4 = Math_imul(HEAP32[$0 + 8 >> 2], HEAP32[$0 + 4 >> 2]) + $1 | 0; + while (1) { + if ($1 >>> 0 >= $4 >>> 0) { + break label$1; + } + $3 = (HEAPU8[$1 | 0] << 2) + $0 | 0; + HEAP32[$3 + 12 >> 2] = HEAP32[$3 + 12 >> 2] + 1; + $1 = $1 + 1 | 0; + continue; + } + } + return $2; +} + +function vasprintf($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $2; + HEAP32[$3 + 8 >> 2] = $2; + $4 = -1; + $2 = vsnprintf(0, 0, $1, $2); + label$1: { + if (($2 | 0) < 0) { + break label$1; + } + $5 = $2 + 1 | 0; + $2 = dlmalloc($5); + HEAP32[$0 >> 2] = $2; + if (!$2) { + break label$1; + } + $4 = vsnprintf($2, $5, $1, HEAP32[$3 + 12 >> 2]); + } + __stack_pointer = $3 + 16 | 0; + return $4; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____max_size_28_29_20const($0) { + return unsigned_20long_20std____2__allocator_traits_std____2__allocator_wchar_t____max_size_std____2__allocator_wchar_t__2c_20void_2c_20void__28std____2__allocator_wchar_t__20const__29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29_20const($0)) - 16 | 0; +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________ptr_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($0); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________size_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________first_28_29_20const($0) >> 2]; +} + +function kpmDeleteHandle($0) { + var $1 = 0; + $1 = HEAP32[$0 >> 2]; + if (!$1) { + return -1; + } + $1 = HEAP32[$1 >> 2]; + if ($1) { + vision__VisualDatabaseFacade___VisualDatabaseFacade_28_29($1); + } + operator_20delete_28void__29($1); + dlfree(HEAP32[HEAP32[$0 >> 2] + 28 >> 2]); + dlfree(HEAP32[HEAP32[$0 >> 2] + 36 >> 2]); + dlfree(HEAP32[HEAP32[$0 >> 2] + 52 >> 2]); + dlfree(HEAP32[HEAP32[$0 >> 2] + 44 >> 2]); + dlfree(HEAP32[$0 >> 2]); + HEAP32[$0 >> 2] = 0; + return 0; +} + +function std____2__locale____imp__has_facet_28long_29_20const($0, $1) { + var $2 = 0; + $0 = $0 + 8 | 0; + if (std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____size_28_29_20const($0) >>> 0 > $1 >>> 0) { + $2 = HEAP32[std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____operator_5b_5d_28unsigned_20long_29_20const($0, $1) >> 2] != 0; + } + return $2; +} + +function std____2__allocator_vision__Node_96_____allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Node_96______max_size_std____2__allocator_vision__Node_96____2c_20void__28std____2__allocator_vision__Node_96____20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 2, 4); +} + +function std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______destroy_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1) { + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______vector_28_29($1); +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2____hash_value_type_int_2c_20arController_____pointer_to_28std____2____hash_value_type_int_2c_20arController___29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________upcast_28_29(HEAP32[$0 >> 2]) + 8 | 0); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_node_base_28_29($0); +} + +function emscripten__internal__Invoker_int___invoke_28int_20_28__29_28_29_29($0) { + $0 = $0 | 0; + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + wasm2js_i32$0 = $1, wasm2js_i32$1 = FUNCTION_TABLE[$0 | 0]() | 0, HEAP32[wasm2js_i32$0 + 12 >> 2] = wasm2js_i32$1; + $0 = emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29($1 + 12 | 0); + __stack_pointer = $1 + 16 | 0; + return $0 | 0; +} + +function decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96____28std____2____wrap_iter_vision__PriorityQueueItem_96____20const__2c_20std____2____wrap_iter_vision__PriorityQueueItem_96____20const__29($0, $1) { + return std____2____wrap_iter_vision__PriorityQueueItem_96_____base_28_29_20const($0) - std____2____wrap_iter_vision__PriorityQueueItem_96_____base_28_29_20const($1) >> 3; +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__grow_28unsigned_20long_29($0, $1) { + var $2 = 0; + label$1: { + $1 = HEAP32[$0 + 4 >> 2] + $1 | 0; + $2 = HEAP32[$0 + 8 >> 2]; + if ($1 >>> 0 < $2 >>> 0) { + break label$1; + } + $2 = $2 << 1; + $1 = $1 >>> 0 < $2 >>> 0 ? $2 : $1; + HEAP32[$0 + 8 >> 2] = $1; + $1 = dlrealloc(HEAP32[$0 >> 2], $1); + HEAP32[$0 >> 2] = $1; + if ($1) { + break label$1; + } + std__terminate_28_29(); + abort(); + } +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______destroy_std____2__pair_int_20const_2c_20arController__2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20std____2__pair_int_20const_2c_20arController___29($0, $1) { + std____2__pair_int_20const_2c_20arController____pair_28_29($1); +} + +function vision__Image__shallowCopy_28vision__Image_20const__29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 8 >> 2] = HEAP32[$1 + 8 >> 2]; + HEAP32[$0 + 12 >> 2] = HEAP32[$1 + 12 >> 2]; + HEAP32[$0 + 16 >> 2] = HEAP32[$1 + 16 >> 2]; + HEAP32[$0 + 20 >> 2] = HEAP32[$1 + 20 >> 2]; + std____2__shared_ptr_unsigned_20char___operator__28std____2__shared_ptr_unsigned_20char__20const__29($0 + 24 | 0, $1 + 24 | 0); +} + +function std____2__enable_if_is_move_constructible_std____2__pair_float_2c_20unsigned_20long_____value_20___20is_move_assignable_std____2__pair_float_2c_20unsigned_20long_____value_2c_20void___type_20std____2__swap_std____2__pair_float_2c_20unsigned_20long____28std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2____libcpp_wcrtomb_l_28char__2c_20wchar_t_2c_20__mbstate_t__2c_20__locale_struct__29($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = $3; + $3 = std____2____libcpp_locale_guard____libcpp_locale_guard_28__locale_struct___29($4 + 8 | 0, $4 + 12 | 0); + $2 = wcrtomb($0, $1, $2); + std____2____libcpp_locale_guard_____libcpp_locale_guard_28_29($3); + __stack_pointer = $4 + 16 | 0; + return $2; +} + +function __cxxabiv1____class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + if (is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, HEAP32[$1 + 8 >> 2], 0)) { + __cxxabiv1____class_type_info__process_found_base_class_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const($1, $1, $2, $3); + } +} + +function std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____20std____2___28anonymous_20namespace_29__make_std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20unsigned_20int__28unsigned_20int_29() { + std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____num_put_28unsigned_20long_29(84016, 1); +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______test_for_eof_28_29_20const($0) { + var $1 = 0; + $1 = HEAP32[$0 >> 2]; + if ($1) { + if (!std____2__char_traits_wchar_t___eq_int_type_28unsigned_20int_2c_20unsigned_20int_29(std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sgetc_28_29($1), std____2__char_traits_wchar_t___eof_28_29())) { + return !HEAP32[$0 >> 2]; + } + HEAP32[$0 >> 2] = 0; + } + return 1; +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__Node_96__20const___2c_20vision__Node_96__20const__2c_20void__28std____2__allocator_vision__Node_96__20const____2c_20vision__Node_96__20const___2c_20vision__Node_96__20const___2c_20vision__Node_96__20const____29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] - $2 | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + wasm2js_memory_copy($0, $1, $2); + } +} + +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____20std____2___28anonymous_20namespace_29__make_std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____2c_20unsigned_20int__28unsigned_20int_29() { + std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____num_get_28unsigned_20long_29(84e3, 1); +} + +function std____2__ctype_wchar_t___do_is_28wchar_t_20const__2c_20wchar_t_20const__2c_20unsigned_20long__29_20const($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + var $4 = 0; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $0 = 0; + $4 = HEAP32[$1 >> 2]; + if ($4 >>> 0 <= 127) { + $0 = HEAP32[($4 << 2) + 58080 >> 2]; + } + HEAP32[$3 >> 2] = $0; + $3 = $3 + 4 | 0; + $1 = $1 + 4 | 0; + continue; + } + break; + } + return $2 | 0; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____destroy_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__29($0, $1) { + std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___destroy_28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, $1); +} + +function vision__bilinear_downsample_point_28float__2c_20float__2c_20float__2c_20float_2c_20float_2c_20float_2c_20int_29($0, $1, $2, $3, $4, $5, $6) { + var $7 = Math_fround(0), $8 = Math_fround(0); + $7 = Math_fround(Math_fround(1) / Math_fround(1 << $6)); + $8 = Math_fround($3 * $7); + $3 = Math_fround(Math_fround($7 * Math_fround(.5)) + Math_fround(-.5)); + HEAPF32[$0 >> 2] = $8 + $3; + HEAPF32[$1 >> 2] = Math_fround($4 * $7) + $3; + HEAPF32[$2 >> 2] = $7 * $5; +} + +function std____2__allocator_unsigned_20short___allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_unsigned_20short____max_size_std____2__allocator_unsigned_20short__2c_20void__28std____2__allocator_unsigned_20short__20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 1, 2); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____get_28_29($0); +} + +function bool_20std____2__operator___std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29_1($0, $1) { + return (std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____base_28_29_20const($0) | 0) == (std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____base_28_29_20const($1) | 0); +} + +function vision__BinomialPyramid32f__BinomialPyramid32f_28_29($0) { + $0 = vision__GaussianScaleSpacePyramid__GaussianScaleSpacePyramid_28_29($0); + HEAP32[$0 >> 2] = 26548; + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____vector_28_29($0 + 32 | 0); + std____2__vector_float_2c_20std____2__allocator_float____vector_28_29($0 + 44 | 0); + std____2__vector_float_2c_20std____2__allocator_float____vector_28_29($0 + 56 | 0); + return $0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____begin_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____wrap_iter_wchar_t______wrap_iter_28wchar_t__29($1 + 8 | 0, std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29($0)) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__basic_ios_char_2c_20std____2__char_traits_char____fill_28_29_20const($0) { + var $1 = 0; + label$1: { + if (!std____2__char_traits_char___eq_int_type_28int_2c_20int_29(std____2__char_traits_char___eof_28_29(), HEAP32[$0 + 76 >> 2])) { + $1 = HEAP32[$0 + 76 >> 2]; + break label$1; + } + $1 = std____2__basic_ios_char_2c_20std____2__char_traits_char____widen_28char_29_20const($0, 32); + HEAP32[$0 + 76 >> 2] = $1; + } + return $1 << 24 >> 24; +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____get_28_29($0); +} + +function void_20std____2____reverse_unsigned_20int___28unsigned_20int__2c_20unsigned_20int__2c_20std____2__random_access_iterator_tag_29($0, $1) { + label$1: { + if (($0 | 0) == ($1 | 0)) { + break label$1; + } + while (1) { + $1 = $1 - 4 | 0; + if ($1 >>> 0 <= $0 >>> 0) { + break label$1; + } + void_20std____2__iter_swap_unsigned_20int__2c_20unsigned_20int___28unsigned_20int__2c_20unsigned_20int__29($0, $1); + $0 = $0 + 4 | 0; + continue; + } + } +} + +function std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_length_28__mbstate_t__2c_20char8_t_20const__2c_20char8_t_20const__2c_20unsigned_20long_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + return std____2__utf8_to_utf16_length_28unsigned_20char_20const__2c_20unsigned_20char_20const__2c_20unsigned_20long_2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($2, $3, $4, 1114111, 0) | 0; +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_200_2c_20false_____get_28_29($0); +} + +function std____2__enable_if_is_same_std____2__remove_const_unsigned_20char___type_2c_20unsigned_20char___value_20___20is_trivially_copy_assignable_unsigned_20char___value_2c_20unsigned_20char____type_20std____2____copy_unsigned_20char_2c_20unsigned_20char__28unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char__29($0, $1, $2) { + var $3 = 0; + $3 = $1 - $0 | 0; + if (($0 | 0) != ($1 | 0)) { + wasm2js_memory_copy($2, $0, $3); + } + return $2 + $3 | 0; +} + +function std____2__decay_decltype_28__to_address_helper_std____2____wrap_iter_char_20const_______call_28declval_std____2____wrap_iter_char_20const___20const___28_29_29_29___type_20std____2____to_address_std____2____wrap_iter_char_20const___2c_20void__28std____2____wrap_iter_char_20const___20const__29($0) { + return std____2____to_address_helper_std____2____wrap_iter_char_20const___2c_20void_____call_28std____2____wrap_iter_char_20const___20const__29($0); +} + +function std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_length_28__mbstate_t__2c_20char8_t_20const__2c_20char8_t_20const__2c_20unsigned_20long_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + return std____2__utf8_to_ucs4_length_28unsigned_20char_20const__2c_20unsigned_20char_20const__2c_20unsigned_20long_2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($2, $3, $4, 1114111, 0) | 0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_short_size_28unsigned_20long_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29($0), + wasm2js_i32$1 = $1, HEAP8[wasm2js_i32$0 + 11 | 0] = wasm2js_i32$1; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_size_28unsigned_20long_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; +} + +function std____2__allocator_vision__match_t___allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__match_t____max_size_std____2__allocator_vision__match_t__2c_20void__28std____2__allocator_vision__match_t__20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 3, 4); +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_200_2c_20false_____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20void__28std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function skip_input_data($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, $3 = 0; + if (($1 | 0) > 0) { + $2 = HEAP32[$0 + 24 >> 2]; + $3 = HEAP32[$2 + 4 >> 2]; + if (($3 | 0) < ($1 | 0)) { + while (1) { + FUNCTION_TABLE[HEAP32[$2 + 12 >> 2]]($0) | 0; + $1 = $1 - $3 | 0; + $3 = HEAP32[$2 + 4 >> 2]; + if (($1 | 0) > ($3 | 0)) { + continue; + } + break; + } + } + HEAP32[$2 + 4 >> 2] = $3 - $1; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + $1; + } +} + +function bool_20std____2__operator__std____2__pair_float_2c_20unsigned_20long____28std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__2c_20std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long____20const__29($0, $1) { + return std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____base_28_29_20const($0) >>> 0 < std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____base_28_29_20const($1) >>> 0; +} + +function std____2__allocator_traits_std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____deallocate_28std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter____2c_20std____2__shared_ptr_vision__FrontendSinkFilter___2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter____deallocate_28std____2__shared_ptr_vision__FrontendSinkFilter___2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___________non_trivial_if_28_29($0); +} + +function jpeg_idct_2x1($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $3 = HEAP32[$3 >> 2] + $4 | 0; + $1 = HEAP32[$1 + 84 >> 2]; + $4 = Math_imul(HEAP32[$1 + 4 >> 2], HEAPU16[$2 + 2 >> 1]); + $0 = HEAP32[$0 + 336 >> 2] - 384 | 0; + $2 = Math_imul(HEAP32[$1 >> 2], HEAPU16[$2 >> 1]) + 4100 | 0; + HEAP8[$3 | 0] = HEAPU8[$0 + ($4 + $2 >>> 3 & 1023) | 0]; + HEAP8[$3 + 1 | 0] = HEAPU8[($2 - $4 >>> 3 & 1023) + $0 | 0]; +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true___operator_28_29_28std____2____hash_value_type_int_2c_20ARParam__20const__2c_20int_20const__29_20const($0, $1, $2) { + return std____2__equal_to_int___operator_28_29_28int_20const__2c_20int_20const__29_20const($0, std____2____hash_value_type_int_2c_20ARParam_____get_value_28_29_20const($1), $2); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______allocator_28_29($0); +} + +function __cxa_guard_acquire($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = __cxxabiv1___28anonymous_20namespace_29__GuardObject___cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads___cxa_guard_acquire_28_29(__cxxabiv1___28anonymous_20namespace_29__GuardObject___cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads___GuardObject_28unsigned_20int__29($1 + 8 | 0, $0)); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____uflow_28_29($0) { + $0 = $0 | 0; + var $1 = 0; + if ((FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 36 >> 2]]($0) | 0) == (std____2__char_traits_wchar_t___eof_28_29() | 0)) { + return std____2__char_traits_wchar_t___eof_28_29() | 0; + } + $1 = HEAP32[$0 + 12 >> 2]; + HEAP32[$0 + 12 >> 2] = $1 + 4; + return std____2__char_traits_wchar_t___to_int_type_28wchar_t_29(HEAP32[$1 >> 2]) | 0; +} + +function std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void______29($0) { + return $0; +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28char_29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + label$1: { + if (!$2) { + break label$1; + } + if (!std____2__char_traits_char___eq_int_type_28int_2c_20int_29(std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sputc_28char_29($2, $1), std____2__char_traits_char___eof_28_29())) { + break label$1; + } + HEAP32[$0 >> 2] = 0; + } + return $0; +} + +function std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______deallocate_28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, Math_imul($2, 12), 4); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_std____2__locale__facet__2c_20std____2___28anonymous_20namespace_29__release_____compressed_pair_std____2__locale__facet___2c_20std____2____value_init_tag__28std____2__locale__facet___2c_20std____2____value_init_tag___29($0, $1) { + return std____2____compressed_pair_elem_std____2__locale__facet__2c_200_2c_20false_____compressed_pair_elem_std____2__locale__facet___2c_20void__28std____2__locale__facet___29($0, $1); +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______copy_assign_alloc_28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char___20const__29($0, $1) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______copy_assign_alloc_28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char___20const__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2__ctype_wchar_t___do_scan_not_28unsigned_20long_2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + label$1: { + while (1) { + if (($2 | 0) == ($3 | 0)) { + break label$1; + } + $0 = HEAP32[$2 >> 2]; + if (!($0 >>> 0 > 127 | !(HEAP32[($0 << 2) + 58080 >> 2] & $1))) { + $2 = $2 + 4 | 0; + continue; + } + break; + } + $3 = $2; + } + return $3 | 0; +} + +function std____2__allocator_unsigned_20char___allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_unsigned_20char____max_size_std____2__allocator_unsigned_20char__2c_20void__28std____2__allocator_unsigned_20char__20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1, 1); +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_200_2c_20false_____get_28_29_20const($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); + $0 = HEAP32[$0 + 12 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1); +} + +function std____2__decay_decltype_28__to_address_helper_std____2____wrap_iter_int_20const_______call_28declval_std____2____wrap_iter_int_20const___20const___28_29_29_29___type_20std____2____to_address_std____2____wrap_iter_int_20const___2c_20void__28std____2____wrap_iter_int_20const___20const__29($0) { + return std____2____to_address_helper_std____2____wrap_iter_int_20const___2c_20void_____call_28std____2____wrap_iter_int_20const___20const__29($0); +} + +function std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____deallocate_28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20vision__DoGScaleInvariantDetector__FeaturePoint__2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___deallocate_28vision__DoGScaleInvariantDetector__FeaturePoint__2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______ConstructTransaction___ConstructTransaction_28vision__DoGScaleInvariantDetector__FeaturePoint___2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 >> 2]; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = Math_imul($2, 36) + $3; + return $0; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________allocator_28_29($0); +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______destroy_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int__2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20std____2__pair_unsigned_20int_20const_2c_20unsigned_20int___29($0, $1) {} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__vector_int_2c_20std____2__allocator_int____clear_28_29($0) { + var $1 = 0; + $1 = std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0); + std____2__vector_int_2c_20std____2__allocator_int______clear_28_29($0); + std____2__vector_int_2c_20std____2__allocator_int______annotate_shrink_28unsigned_20long_29_20const($0, $1); + std____2__vector_int_2c_20std____2__allocator_int______invalidate_all_iterators_28_29($0); +} + +function std____2____compressed_pair_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_201_2c_20true_____get_28_29($0); +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____20std____2____to_address_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0) { + return $0; +} + +function std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___release_28_29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29___first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29___first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $1; +} + +function std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_length_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20unsigned_20long_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + return std____2__utf8_to_utf16_length_28unsigned_20char_20const__2c_20unsigned_20char_20const__2c_20unsigned_20long_2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($2, $3, $4, 1114111, 0) | 0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______recommend_28unsigned_20long_29($0) { + var $1 = 0; + $1 = 1; + if ($0 >>> 0 >= 2) { + $0 = unsigned_20long_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______align_it_4ul__28unsigned_20long_29($0 + 1 | 0); + $1 = $0; + $0 = $0 - 1 | 0; + $1 = ($0 | 0) == 2 ? $1 : $0; + } + return $1; +} + +function std____2__allocator_vision__Image___allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Image____max_size_std____2__allocator_vision__Image__2c_20void__28std____2__allocator_vision__Image__20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 5, 4); +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______allocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____allocate_28unsigned_20long_29($0, $1); +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____get_28_29($0); +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____construct_vision__FeaturePoint_2c_20vision__FeaturePoint__2c_20void__28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20vision__FeaturePoint__29($0, $1, $2) { + void_20std____2__allocator_vision__FeaturePoint___construct_vision__FeaturePoint_2c_20vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__29($0, $1, $2); +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____construct_vision__FeaturePoint_2c_20vision__FeaturePoint_2c_20void__28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20vision__FeaturePoint___29($0, $1, $2) { + void_20std____2__allocator_vision__FeaturePoint___construct_vision__FeaturePoint_2c_20vision__FeaturePoint__28vision__FeaturePoint__2c_20vision__FeaturePoint___29($0, $1, $2); +} + +function void_20std____2__advance_std____2____wrap_iter_int_20const___2c_20long_2c_20long_2c_20void__28std____2____wrap_iter_int_20const____2c_20long_29($0, $1) { + void_20std____2____advance_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const____2c_20std____2__iterator_traits_std____2____wrap_iter_int_20const_____difference_type_2c_20std____2__random_access_iterator_tag_29($0, std____2____convert_to_integral_28long_29($1)); +} + +function std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_length_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20unsigned_20long_29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + return std____2__utf8_to_ucs4_length_28unsigned_20char_20const__2c_20unsigned_20char_20const__2c_20unsigned_20long_2c_20unsigned_20long_2c_20std____2__codecvt_mode_29($2, $3, $4, 1114111, 0) | 0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______zero_28_29($0) { + var $1 = 0; + $1 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29($0); + $0 = 0; + while (1) { + if (($0 | 0) != 3) { + HEAP32[($0 << 2) + $1 >> 2] = 0; + $0 = $0 + 1 | 0; + continue; + } + break; + } +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__Node_96______construct_vision__Node_96___2c_20vision__Node_96___20const__2c_20void__28std____2__allocator_vision__Node_96_____2c_20vision__Node_96____2c_20vision__Node_96___20const__29($0, $1, $2) { + void_20std____2__allocator_vision__Node_96_____construct_vision__Node_96___2c_20vision__Node_96___20const___28vision__Node_96____2c_20vision__Node_96___20const__29($0, $1, $2); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_node_base_28_29($0); +} + +function ar2GetVectorAngle($0, $1, $2, $3) { + var $4 = Math_fround(0), $5 = Math_fround(0); + $4 = Math_fround(HEAPF32[$1 >> 2] - HEAPF32[$0 >> 2]); + $5 = Math_fround($4 * $4); + $4 = Math_fround(HEAPF32[$1 + 4 >> 2] - HEAPF32[$0 + 4 >> 2]); + $5 = Math_fround(Math_sqrt(Math_fround($5 + Math_fround($4 * $4)))); + if ($5 != Math_fround(0)) { + HEAPF32[$2 >> 2] = $4 / $5; + HEAPF32[$3 >> 2] = Math_fround(HEAPF32[$1 >> 2] - HEAPF32[$0 >> 2]) / $5; + } +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______set_long_pointer_28char__29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29($0), + wasm2js_i32$1 = $1, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; +} + +function std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_20bool_29($0, $1, $2) { + HEAP8[$0 + 4 | 0] = $2; + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2__allocator_multi_marker___allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_multi_marker____max_size_std____2__allocator_multi_marker__2c_20void__28std____2__allocator_multi_marker__20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 3, 4); +} + +function std____2____split_buffer_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; + return $0; +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______operator___28_29_20const($0) { + return std____2__pointer_traits_std____2____hash_value_type_int_2c_20ARParam_____pointer_to_28std____2____hash_value_type_int_2c_20ARParam___29(std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________upcast_28_29(HEAP32[$0 >> 2]) + 8 | 0); +} + +function __cxxabiv1____base_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const($0, $1, $2, $3, $4) { + var $5 = 0, $6 = 0; + $5 = HEAP32[$0 + 4 >> 2]; + $6 = $5 >> 8; + if ($5 & 1) { + $6 = update_offset_to_base_28char_20const__2c_20long_29(HEAP32[$2 >> 2], $6); + } + $0 = HEAP32[$0 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0, $1, $2 + $6 | 0, $5 & 2 ? $3 : 2, $4); +} + +function void_20std____2____construct_range_forward_std____2__allocator_unsigned_20char__2c_20unsigned_20char_2c_20unsigned_20char_2c_20unsigned_20char_2c_20unsigned_20char_2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char___29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + if (($2 | 0) > 0) { + wasm2js_memory_copy(HEAP32[$3 >> 2], $1, $2); + HEAP32[$3 >> 2] = HEAP32[$3 >> 2] + $2; + } +} + +function std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____20std____2___28anonymous_20namespace_29__make_std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20unsigned_20int__28unsigned_20int_29() { + std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____money_put_28unsigned_20long_29(84072, 1); +} + +function std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____20std____2___28anonymous_20namespace_29__make_std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20unsigned_20int__28unsigned_20int_29() { + std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____money_get_28unsigned_20long_29(84056, 1); +} + +function float_20vision__bilinear_interpolation_float__28vision__Image_20const__2c_20float_2c_20float_29($0, $1, $2) { + return float_20vision__bilinear_interpolation_float__28float_20const__2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20float_2c_20float_29(vision__Image__get_28_29_20const($0), vision__Image__width_28_29_20const($0), vision__Image__height_28_29_20const($0), vision__Image__step_28_29_20const($0), $1, $2); +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 2) + $1; + return $0; +} + +function std____2__allocator_std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char_____deallocate_28std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char____2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 4, 4); +} + +function std____2__ctype_wchar_t___do_scan_is_28unsigned_20long_2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + while (1) { + label$2: { + if (($2 | 0) != ($3 | 0)) { + $0 = HEAP32[$2 >> 2]; + if ($0 >>> 0 > 127 | !(HEAP32[($0 << 2) + 58080 >> 2] & $1)) { + break label$2; + } + $3 = $2; + } + return $3 | 0; + } + $2 = $2 + 4 | 0; + continue; + } +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____capacity_28_29_20const($0) { + var $1 = 0; + $1 = 10; + if (std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_28_29_20const($0)) { + $1 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_cap_28_29_20const($0) - 1 | 0; + } + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___look_28unsigned_20int_29_20const($0, $1) { + var $2 = 0, $3 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + $0 = HEAP32[$0 >> 2]; + if ($2 - $0 >>> 0 > $1 >>> 0) { + $3 = HEAPU8[$0 + $1 | 0]; + } + return $3 << 24 >> 24; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, Math_imul($2, 24), 4); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____allocator_28_29($0); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___________alloc_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________second_28_29($0); +} + +function strtold($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0, $6 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + strtox_1($3, $1, $2, 2); + $2 = HEAP32[$3 >> 2]; + $4 = $2; + $1 = HEAP32[$3 + 4 >> 2]; + $5 = $1; + $2 = HEAP32[$3 + 12 >> 2]; + $1 = HEAP32[$3 + 8 >> 2]; + $6 = $1; + $1 = $0; + HEAP32[$1 + 8 >> 2] = $6; + HEAP32[$1 + 12 >> 2] = $2; + HEAP32[$1 >> 2] = $4; + $2 = $5; + HEAP32[$1 + 4 >> 2] = $2; + __stack_pointer = $3 + 16 | 0; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____20std____2___28anonymous_20namespace_29__make_std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20unsigned_20int__28unsigned_20int_29() { + std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____time_put_28unsigned_20long_29(84120, 1); +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____20std____2___28anonymous_20namespace_29__make_std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20unsigned_20int__28unsigned_20int_29() { + std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____time_get_28unsigned_20long_29(84088, 1); +} + +function std____2__pair_float_2c_20int___swap_28std____2__pair_float_2c_20int___29($0, $1) { + std____2__enable_if_is_move_constructible_float___value_20___20is_move_assignable_float___value_2c_20void___type_20std____2__swap_float__28float__2c_20float__29($0, $1); + std____2__enable_if_is_move_constructible_int___value_20___20is_move_assignable_int___value_2c_20void___type_20std____2__swap_int__28int__2c_20int__29($0 + 4 | 0, $1 + 4 | 0); +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____ostreambuf_iterator_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__basic_ios_char_2c_20std____2__char_traits_char____rdbuf_28_29_20const(HEAP32[HEAP32[$1 >> 2] - 12 >> 2] + $1 | 0), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $0; +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________size_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________first_28_29_20const($0) >> 2]; +} + +function $28anonymous_20namespace_29__itanium_demangle__QualType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0; + $2 = HEAP32[$0 + 12 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$2 >> 2] + 16 >> 2]]($2, $1); + $28anonymous_20namespace_29__itanium_demangle__QualType__printQuals_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consumeIf_28char_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = HEAP32[$0 >> 2]; + if (!(($2 | 0) == HEAP32[$0 + 4 >> 2] | HEAP8[$2 | 0] != ($1 & 255))) { + HEAP32[$0 >> 2] = $2 + 1; + $3 = 1; + } + return $3; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____max_size_28_29_20const($0) { + return unsigned_20long_20std____2__allocator_traits_std____2__allocator_char____max_size_std____2__allocator_char__2c_20void_2c_20void__28std____2__allocator_char__20const__29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29_20const($0)) - 16 | 0; +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________upcast_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______29($0); +} + +function bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29($0, $1) { + return std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____equal_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_20const($0, $1) ^ 1; +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___________non_trivial_if_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_201_2c_20true_____compressed_pair_elem_std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20void__28std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char____29($0, $1) { + return $0; +} + +function __cxa_guard_release($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + __cxxabiv1___28anonymous_20namespace_29__GuardObject___cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads___cxa_guard_release_28_29(__cxxabiv1___28anonymous_20namespace_29__GuardObject___cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads___GuardObject_28unsigned_20int__29($1 + 8 | 0, $0)); + __stack_pointer = $1 + 16 | 0; +} + +function std____2__pointer_traits_std____2____wrap_iter_wchar_t_20const_____to_address_28std____2____wrap_iter_wchar_t_20const___29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 8 >> 2] = $0; + $0 = wchar_t_20const__20std____2____to_address_wchar_t_20const__28wchar_t_20const__29(std____2____wrap_iter_wchar_t_20const____base_28_29_20const($1 + 8 | 0)); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2____tuple_impl_std____2____tuple_indices_0ul__2c_20int_20const______tuple_impl_0ul_2c_20int_20const__2c_20int_20const___28std____2____tuple_indices_0ul__2c_20std____2____tuple_types_int_20const___2c_20std____2____tuple_indices___2c_20std____2____tuple_types___2c_20int_20const__29($0, $1) { + return std____2____tuple_leaf_0ul_2c_20int_20const__2c_20false_____tuple_leaf_int_20const__2c_20void__28int_20const__29($0, $1); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________first_28_29($0); +} + +function bool_20std____2__operator___char_2c_20std____2__char_traits_char___28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_1($0, $1) { + return std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____equal_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_20const($0, $1); +} + +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____20std____2___28anonymous_20namespace_29__make_std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20unsigned_20int__28unsigned_20int_29() { + std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____num_put_28unsigned_20long_29(84008, 1); +} + +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____20std____2___28anonymous_20namespace_29__make_std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____2c_20unsigned_20int__28unsigned_20int_29() { + std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____num_get_28unsigned_20long_29(83992, 1); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____begin_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2____wrap_iter_char______wrap_iter_28char__29($1 + 8 | 0, std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29($0)) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28int_29($0, $1) { + $1 = HEAP32[$0 >> 2]; + std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29($0); + return $1; +} + +function std____2____compressed_pair_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______first_28_29($0) { + return std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_200_2c_20false_____get_28_29($0); +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int______ConstructTransaction___ConstructTransaction_28std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 3) + $1; + return $0; +} + +function std____2__ctype_wchar_t___do_toupper_28wchar_t__2c_20wchar_t_20const__29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $0 = HEAP32[$1 >> 2]; + if ($0 >>> 0 <= 127) { + $0 = HEAP32[std____2__ctype_char_____classic_upper_table_28_29() + (HEAP32[$1 >> 2] << 2) >> 2]; + } + HEAP32[$1 >> 2] = $0; + $1 = $1 + 4 | 0; + continue; + } + break; + } + return $2 | 0; +} + +function std____2__ctype_wchar_t___do_tolower_28wchar_t__2c_20wchar_t_20const__29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $0 = HEAP32[$1 >> 2]; + if ($0 >>> 0 <= 127) { + $0 = HEAP32[std____2__ctype_char_____classic_lower_table_28_29() + (HEAP32[$1 >> 2] << 2) >> 2]; + } + HEAP32[$1 >> 2] = $0; + $1 = $1 + 4 | 0; + continue; + } + break; + } + return $2 | 0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_pointer_28_29_20const($0) { + return std____2__pointer_traits_wchar_t_20const____pointer_to_28wchar_t_20const__29(std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29_20const($0)); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______recommend_28unsigned_20long_29($0) { + var $1 = 0; + $1 = 10; + if ($0 >>> 0 >= 11) { + $0 = unsigned_20long_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______align_it_16ul__28unsigned_20long_29($0 + 1 | 0); + $1 = $0; + $0 = $0 - 1 | 0; + $1 = ($0 | 0) == 11 ? $1 : $0; + } + return $1; +} + +function std____2__allocator_wchar_t___allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_wchar_t____max_size_std____2__allocator_wchar_t__2c_20void_2c_20void__28std____2__allocator_wchar_t__20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 2, 4); +} + +function strtold_l($0, $1, $2, $3) { + var $4 = 0, $5 = 0, $6 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + strtold($4, $1, $2); + $3 = HEAP32[$4 >> 2]; + $5 = $3; + $1 = HEAP32[$4 + 4 >> 2]; + $2 = $1; + $3 = HEAP32[$4 + 12 >> 2]; + $1 = HEAP32[$4 + 8 >> 2]; + $6 = $1; + $1 = $0; + HEAP32[$1 + 8 >> 2] = $6; + HEAP32[$1 + 12 >> 2] = $3; + HEAP32[$1 >> 2] = $5; + $3 = $2; + HEAP32[$1 + 4 >> 2] = $3; + __stack_pointer = $4 + 16 | 0; +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____uflow_28_29($0) { + $0 = $0 | 0; + var $1 = 0; + if ((FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 36 >> 2]]($0) | 0) == (std____2__char_traits_char___eof_28_29() | 0)) { + return std____2__char_traits_char___eof_28_29() | 0; + } + $1 = HEAP32[$0 + 12 >> 2]; + HEAP32[$0 + 12 >> 2] = $1 + 1; + return std____2__char_traits_char___to_int_type_28char_29(HEAP8[$1 | 0]) | 0; +} + +function std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______allocate_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____allocate_28unsigned_20long_29($0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___consume_28_29($0) { + var $1 = 0; + $1 = HEAP32[$0 >> 2]; + if (($1 | 0) == HEAP32[$0 + 4 >> 2]) { + $0 = 0; + } else { + HEAP32[$0 >> 2] = $1 + 1; + $0 = HEAPU8[$1 | 0]; + } + return $0 << 24 >> 24; +} + +function std____2__pair__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const____pair_true_2c_20_28void__290__28_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__Node_20const__20const__29($0, $1, $2) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$2 >> 2]; + return $0; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_________second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_201_2c_20true_____get_28_29($0); +} + +function void_20std____2__advance_vision__Point3d_float___2c_20unsigned_20long_2c_20unsigned_20long_2c_20void__28vision__Point3d_float____2c_20unsigned_20long_29($0, $1) { + void_20std____2____advance_vision__Point3d_float____28vision__Point3d_float____2c_20std____2__iterator_traits_vision__Point3d_float_____difference_type_2c_20std____2__random_access_iterator_tag_29($0, std____2____convert_to_integral_28unsigned_20long_29($1)); +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____destroy_std____2__pair_float_2c_20unsigned_20long__2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long___29($0, $1) { + std____2__allocator_std____2__pair_float_2c_20unsigned_20long____destroy_28std____2__pair_float_2c_20unsigned_20long___29($0, $1); +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______ConstructTransaction___ConstructTransaction_28std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 3) + $1; + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________allocator_28_29($0); +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____equal_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20const__29_20const($0, $1) { + return std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______test_for_eof_28_29_20const($0) ^ std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______test_for_eof_28_29_20const($1) ^ 1; +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________upcast_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________size_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________first_28_29_20const($0) >> 2]; +} + +function $28anonymous_20namespace_29__itanium_demangle__StringView__dropFront_28unsigned_20long_29_20const($0, $1, $2) { + var $3 = 0, $4 = 0; + $4 = HEAP32[$1 >> 2]; + $3 = $28anonymous_20namespace_29__itanium_demangle__StringView__size_28_29_20const($1); + $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($0, $4 + ($2 >>> 0 > $3 >>> 0 ? $3 : $2) | 0, HEAP32[$1 + 4 >> 2]); +} + +function std____2__operator___28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____20const__2c_20std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____20const__29_1($0, $1) { + return HEAP32[$0 >> 2] == HEAP32[$1 >> 2]; +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_encoding_28_29_20const($0) { + $0 = $0 | 0; + var $1 = 0; + $1 = -1; + if (!std____2____libcpp_mbtowc_l_28wchar_t__2c_20char_20const__2c_20unsigned_20long_2c_20__locale_struct__29(0, 0, 4, HEAP32[$0 + 8 >> 2])) { + $0 = HEAP32[$0 + 8 >> 2]; + if (!$0) { + return 1; + } + $1 = (std____2____libcpp_mb_cur_max_l_28__locale_struct__29($0) | 0) == 1; + } + return $1 | 0; +} + +function std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___release_28_29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29___first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29___first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $1; +} + +function std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_20bool_29($0, $1, $2) { + HEAP8[$0 + 4 | 0] = $2; + HEAP32[$0 >> 2] = $1; + return $0; +} + +function bool_20std____2__operator__float_2c_20int__28std____2__pair_float_2c_20int__20const__2c_20std____2__pair_float_2c_20int__20const__29($0, $1) { + var $2 = 0, $3 = Math_fround(0), $4 = Math_fround(0); + $3 = HEAPF32[$0 >> 2]; + $4 = HEAPF32[$1 >> 2]; + $2 = 1; + label$1: { + if ($3 < $4) { + break label$1; + } + $2 = 0; + if ($3 > $4) { + break label$1; + } + $2 = HEAP32[$0 + 4 >> 2] < HEAP32[$1 + 4 >> 2]; + } + return $2; +} + +function vision__OrientationAssignment__OrientationAssignment_28_29($0) { + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 24 >> 2] = 0; + std____2__vector_float_2c_20std____2__allocator_float____vector_28_29($0 + 28 | 0); + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____vector_28_29($0 + 40 | 0); + return $0; +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28int_29($0, $1, $2) { + std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______proxy____proxy_28wchar_t_2c_20std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____29($0, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sbumpc_28_29(HEAP32[$1 >> 2]), HEAP32[$1 >> 2]); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________ptr_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______29($0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_201_2c_20true_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack__initializePackExpansion_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + if (HEAP32[$1 + 16 >> 2] == (std____2__numeric_limits_unsigned_20int___max_28_29() | 0)) { + $0 = $28anonymous_20namespace_29__itanium_demangle__NodeArray__size_28_29_20const($0 + 8 | 0); + HEAP32[$1 + 12 >> 2] = 0; + HEAP32[$1 + 16 >> 2] = $0; + } +} + +function std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____deallocate_28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__pair_float_2c_20unsigned_20long___2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2__pair_float_2c_20unsigned_20long____deallocate_28std____2__pair_float_2c_20unsigned_20long___2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____libcpp_mb_cur_max_l_28__locale_struct__29($0) { + var $1 = 0, $2 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 12 >> 2] = $0; + $0 = std____2____libcpp_locale_guard____libcpp_locale_guard_28__locale_struct___29($1 + 8 | 0, $1 + 12 | 0); + $2 = __ctype_get_mb_cur_max(); + std____2____libcpp_locale_guard_____libcpp_locale_guard_28_29($0); + __stack_pointer = $1 + 16 | 0; + return $2; +} + +function jpeg_std_error($0) { + $0 = $0 | 0; + HEAP32[$0 + 104 >> 2] = 0; + HEAP32[$0 + 108 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 201; + HEAP32[$0 + 12 >> 2] = 202; + HEAP32[$0 + 8 >> 2] = 203; + HEAP32[$0 + 4 >> 2] = 204; + HEAP32[$0 >> 2] = 205; + HEAP32[$0 + 124 >> 2] = 0; + HEAP32[$0 + 128 >> 2] = 0; + HEAP32[$0 + 116 >> 2] = 126; + HEAP32[$0 + 120 >> 2] = 0; + HEAP32[$0 + 112 >> 2] = 42160; + HEAP32[$0 + 20 >> 2] = 0; + return $0 | 0; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__match_t____construct_vision__match_t_2c_20vision__match_t_20const__2c_20void__28std____2__allocator_vision__match_t___2c_20vision__match_t__2c_20vision__match_t_20const__29($0, $1, $2) { + void_20std____2__allocator_vision__match_t___construct_vision__match_t_2c_20vision__match_t_20const___28vision__match_t__2c_20vision__match_t_20const__29($0, $1, $2); +} + +function void_20std____2__allocator_traits_std____2__allocator_unsigned_20char____construct_unsigned_20char_2c_20unsigned_20char_20const__2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20char_20const__29($0, $1, $2) { + void_20std____2__allocator_unsigned_20char___construct_unsigned_20char_2c_20unsigned_20char_20const___28unsigned_20char__2c_20unsigned_20char_20const__29($0, $1, $2); +} + +function std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____clear_28_29($0) { + std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______destruct_at_end_28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________allocator_28_29($0); +} + +function pad($0, $1, $2, $3, $4) { + var $5 = 0; + $5 = __stack_pointer - 256 | 0; + __stack_pointer = $5; + if (!($4 & 73728 | ($2 | 0) <= ($3 | 0))) { + $3 = $2 - $3 | 0; + $2 = $3 >>> 0 < 256; + memset($5, $1 & 255, $2 ? $3 : 256); + if (!$2) { + while (1) { + out($0, $5, 256); + $3 = $3 - 256 | 0; + if ($3 >>> 0 > 255) { + continue; + } + break; + } + } + out($0, $5, $3); + } + __stack_pointer = $5 + 256 | 0; +} + +function log2_inline($0) { + var $1 = 0, $2 = 0, $3 = 0; + $2 = $0 - 1060306944 | 0; + $1 = +(wasm2js_scratch_store_i32(2, $0 - ($2 & -8388608) | 0), wasm2js_scratch_load_f32()); + $0 = $2 >>> 15 & 240; + $1 = $1 * HEAPF64[$0 + 48600 >> 3] + -1; + $3 = $1 * $1; + return (HEAPF64[6107] * $1 + HEAPF64[6108]) * ($3 * $3) + ((HEAPF64[6109] * $1 + HEAPF64[6110]) * $3 + (HEAPF64[6111] * $1 + (HEAPF64[$0 + 48608 >> 3] + +($2 >> 23)))); +} + +function ar2GetTriangleArea($0, $1, $2) { + var $3 = Math_fround(0), $4 = Math_fround(0); + $3 = HEAPF32[$0 >> 2]; + $4 = HEAPF32[$0 + 4 >> 2]; + $3 = Math_fround(Math_fround(Math_fround(Math_fround(HEAPF32[$1 >> 2] - $3) * Math_fround(HEAPF32[$2 + 4 >> 2] - $4)) - Math_fround(Math_fround(HEAPF32[$1 + 4 >> 2] - $4) * Math_fround(HEAPF32[$2 >> 2] - $3))) * Math_fround(.5)); + return $3 < Math_fround(0) ? Math_fround(-$3) : $3; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(25415); + abort(); +} + +function std____2__iterator_traits_vision__Point3d_float_____difference_type_20std____2__distance_vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___29($0, $1) { + return std____2__iterator_traits_vision__Point3d_float_____difference_type_20std____2____distance_vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function std____2__iterator_traits_unsigned_20int_20const____difference_type_20std____2__distance_unsigned_20int_20const___28unsigned_20int_20const__2c_20unsigned_20int_20const__29($0, $1) { + return std____2__iterator_traits_unsigned_20int_20const____difference_type_20std____2____distance_unsigned_20int_20const___28unsigned_20int_20const__2c_20unsigned_20int_20const__2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______test_for_eof_28_29_20const($0) { + var $1 = 0; + $1 = HEAP32[$0 >> 2]; + if ($1) { + if (!std____2__char_traits_char___eq_int_type_28int_2c_20int_29(std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sgetc_28_29($1), std____2__char_traits_char___eof_28_29())) { + return !HEAP32[$0 >> 2]; + } + HEAP32[$0 >> 2] = 0; + } + return 1; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, Math_imul($2, 20), 4); +} + +function std____2____wrap_iter_wchar_t_20const______wrap_iter_wchar_t___28std____2____wrap_iter_wchar_t___20const__2c_20std____2__enable_if_is_convertible_wchar_t__2c_20wchar_t_20const____value_2c_20void___type__29($0, $1, $2) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2____wrap_iter_wchar_t____base_28_29_20const($1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____allocator_28_29($0); +} + +function __cxxabiv1___28anonymous_20namespace_29__GuardObject___cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads___GuardObject_28unsigned_20int__29($0, $1) { + $0 = __cxxabiv1___28anonymous_20namespace_29__GuardByte__GuardByte_28unsigned_20char__29($0, $1); + __cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads__InitByteNoThreads_28unsigned_20char__2c_20unsigned_20int__29($0 + 4 | 0, $1 + 1 | 0); + return $0; +} + +function void_20std____2__advance_vision__FeaturePoint__2c_20unsigned_20long_2c_20unsigned_20long_2c_20void__28vision__FeaturePoint___2c_20unsigned_20long_29($0, $1) { + void_20std____2____advance_vision__FeaturePoint___28vision__FeaturePoint___2c_20std____2__iterator_traits_vision__FeaturePoint____difference_type_2c_20std____2__random_access_iterator_tag_29($0, std____2____convert_to_integral_28unsigned_20long_29($1)); +} + +function std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______operator___28_29($0) { + std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______operator___28_29($0); + return $0; +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void___________alloc_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_________second_28_29($0); +} + +function getint($0) { + var $1 = 0, $2 = 0, $3 = 0; + if (!isdigit(HEAP8[HEAP32[$0 >> 2]])) { + return 0; + } + while (1) { + $3 = HEAP32[$0 >> 2]; + $1 = -1; + if ($2 >>> 0 <= 214748364) { + $1 = HEAP8[$3 | 0] - 48 | 0; + $2 = Math_imul($2, 10); + $1 = ($2 ^ 2147483647) < ($1 | 0) ? -1 : $1 + $2 | 0; + } + HEAP32[$0 >> 2] = $3 + 1; + $2 = $1; + if (isdigit(HEAP8[$3 + 1 | 0])) { + continue; + } + break; + } + return $1; +} + +function std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____capacity_28_29_20const($0) { + return (HEAP32[std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] | 0) / 36 | 0; +} + +function std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________destruct_at_end_28std____2__pair_float_2c_20int___29($0, $1) { + std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________destruct_at_end_28std____2__pair_float_2c_20int___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function long_20const__20std____2__min_long_2c_20std____2____less_long_2c_20long___28long_20const__2c_20long_20const__2c_20std____2____less_long_2c_20long__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = std____2____less_long_2c_20long___operator_28_29_28long_20const__2c_20long_20const__29_20const($2 + 8 | 0, $1, $0); + __stack_pointer = $2 + 16 | 0; + return $3 ? $1 : $0; +} + +function float_20vision__LinePointSide_float__28float_20const__2c_20float_20const__2c_20float_20const__29($0, $1, $2) { + var $3 = Math_fround(0), $4 = Math_fround(0); + $3 = HEAPF32[$0 >> 2]; + $4 = HEAPF32[$0 + 4 >> 2]; + return Math_fround(Math_fround(Math_fround(HEAPF32[$1 >> 2] - $3) * Math_fround(HEAPF32[$2 + 4 >> 2] - $4)) - Math_fround(Math_fround(HEAPF32[$2 >> 2] - $3) * Math_fround(HEAPF32[$1 + 4 >> 2] - $4))); +} + +function std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___release_28_29($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = HEAP32[std____2____compressed_pair_char__2c_20void_20_28__29_28void__29___first_28_29($0) >> 2]; + wasm2js_i32$0 = std____2____compressed_pair_char__2c_20void_20_28__29_28void__29___first_28_29($0), + wasm2js_i32$1 = 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $1; +} + +function std____2__pointer_traits_std____2____wrap_iter_char_20const_____to_address_28std____2____wrap_iter_char_20const___29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 8 >> 2] = $0; + $0 = char_20const__20std____2____to_address_char_20const__28char_20const__29(std____2____wrap_iter_char_20const____base_28_29_20const($1 + 8 | 0)); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function std____2__ctype_char___do_toupper_28char__2c_20char_20const__29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $0 = HEAP8[$1 | 0]; + if (($0 | 0) >= 0) { + $0 = HEAP32[std____2__ctype_char_____classic_upper_table_28_29() + (HEAP8[$1 | 0] << 2) >> 2]; + } + HEAP8[$1 | 0] = $0; + $1 = $1 + 1 | 0; + continue; + } + break; + } + return $2 | 0; +} + +function std____2__ctype_char___do_tolower_28char__2c_20char_20const__29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $0 = HEAP8[$1 | 0]; + if (($0 | 0) >= 0) { + $0 = HEAP32[std____2__ctype_char_____classic_lower_table_28_29() + (HEAP8[$1 | 0] << 2) >> 2]; + } + HEAP8[$1 | 0] = $0; + $1 = $1 + 1 | 0; + continue; + } + break; + } + return $2 | 0; +} + +function std____2__allocator_char___allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_char____max_size_std____2__allocator_char__2c_20void_2c_20void__28std____2__allocator_char__20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1, 1); +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_200_2c_20false_____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function std____2__allocator_float___allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_float____max_size_std____2__allocator_float__2c_20void__28std____2__allocator_float__20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 2, 4); +} + +function std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_201_2c_20true_____get_28_29($0); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_________size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_________first_28_29($0); +} + +function void_20std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____construct_std____2__locale__facet__2c_20void_2c_20void__28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20std____2__locale__facet___29($0, $1) { + std____2__locale__facet___20std____2__construct_at_std____2__locale__facet__2c_20std____2__locale__facet____28std____2__locale__facet___29($1); +} + +function std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______destruct_at_end_28std____2__locale__facet___29($0, $1) { + std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______destruct_at_end_28std____2__locale__facet___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2__DoIOSInit___DoIOSInit_28_29($0) { + std____2__basic_ostream_char_2c_20std____2__char_traits_char____flush_28_29(81432); + std____2__basic_ostream_char_2c_20std____2__char_traits_char____flush_28_29(81768); + std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____flush_28_29(81516); + std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____flush_28_29(81852); + return $0; +} + +function void_20std____2____debug_db_insert_c_std____2__unordered_map_int_2c_20AR2SurfaceSetT__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20AR2SurfaceSetT______28std____2__unordered_map_int_2c_20AR2SurfaceSetT__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20AR2SurfaceSetT______29($0) {} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const______ConstructTransaction___ConstructTransaction_28std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 2) + $1; + return $0; +} + +function std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______clear_28_29($0) { + std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______base_destruct_at_end_28std____2__shared_ptr_vision__FrontendSinkFilter___29($0, HEAP32[$0 >> 2]); +} + +function std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____init_28std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + std____2__ios_base__init_28void__29($0, $1); + HEAP32[$0 + 72 >> 2] = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__char_traits_wchar_t___eof_28_29(), + HEAP32[wasm2js_i32$0 + 76 >> 2] = wasm2js_i32$1; +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________upcast_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_200_2c_20false_____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20void__28std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char_____29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___________alloc_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________second_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___PODSmallVector_28_29($0) { + var $1 = 0; + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = $0 + 28; + $1 = $0 + 12 | 0; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 >> 2] = $1; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 24 >> 2] = 0; + return $0; +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__Node_96____2c_20vision__Node_96___2c_20void__28std____2__allocator_vision__Node_96_____2c_20vision__Node_96____2c_20vision__Node_96____2c_20vision__Node_96_____29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] - $2 | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + wasm2js_memory_copy($0, $1, $2); + } +} + +function std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________destruct_at_end_28vision__PriorityQueueItem_96___29($0, $1) { + std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________destruct_at_end_28vision__PriorityQueueItem_96___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function matrixCopy($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + label$1: while (1) { + label$2: { + $2 = 0; + if (($3 | 0) == 3) { + break label$2; + } + while (1) if (($2 | 0) == 4) { + $3 = $3 + 1 | 0; + continue label$1; + } else { + $4 = $2 << 3; + $5 = $3 << 5; + HEAPF64[$4 + ($5 + $1 | 0) >> 3] = HEAPF64[($0 + $5 | 0) + $4 >> 3]; + $2 = $2 + 1 | 0; + continue; + } + } + break; + } +} + +function std____2__pointer_traits_std____2____wrap_iter_int_20const_____to_address_28std____2____wrap_iter_int_20const___29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + HEAP32[$1 + 8 >> 2] = $0; + $0 = int_20const__20std____2____to_address_int_20const__28int_20const__29(std____2____wrap_iter_int_20const____base_28_29_20const($1 + 8 | 0)); + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long___________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_const_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____20const__29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_node_base_28_29($0); +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28int_29($0, $1, $2) { + std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______proxy____proxy_28char_2c_20std____2__basic_streambuf_char_2c_20std____2__char_traits_char____29($0, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sbumpc_28_29(HEAP32[$1 >> 2]) << 24 >> 24, HEAP32[$1 >> 2]); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________ptr_28_29($0) { + return std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______29($0); +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______ConstructTransaction___ConstructTransaction_28std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = Math_imul($2, 12) + $1; + return $0; +} + +function std____2__operator___28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__2c_20std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__29_1($0, $1) { + return HEAP32[$0 >> 2] == HEAP32[$1 >> 2]; +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________first_28_29($0); +} + +function loadMarker_28char_20const__2c_20int__2c_20ARHandle__2c_20ARPattHandle___29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + $4 = arPattLoad(HEAP32[$2 >> 2], $0); + HEAP32[$1 >> 2] = $4; + $1 = 1; + if (($4 | 0) < 0) { + HEAP32[$3 >> 2] = $0; + arLog(0, 3, 38802, $3); + arPattDeleteHandle(HEAP32[$2 >> 2]); + $1 = 0; + } + __stack_pointer = $3 + 16 | 0; + return $1; +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______destroy_std____2__pair_int_20const_2c_20AR2SurfaceSetT___2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_20std____2__pair_int_20const_2c_20AR2SurfaceSetT____29($0, $1) {} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______clear_28_29($0) { + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______base_destruct_at_end_28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, HEAP32[$0 >> 2]); +} + +function std____2____shared_weak_count____release_weak_28_29($0) { + var $1 = 0; + label$1: { + $1 = $0 + 8 | 0; + if (long_20std____2___28anonymous_20namespace_29____libcpp_atomic_load_long__28long_20const__2c_20int_29($1, 2)) { + if ((long_20std____2____libcpp_atomic_refcount_decrement_long__28long__29($1) | 0) != -1) { + break label$1; + } + } + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0); + } +} + +function arVecInnerproduct($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + if (($2 | 0) == HEAP32[$1 + 4 >> 2]) { + $5 = ($2 | 0) > 0 ? $2 : 0; + while (1) { + if (($3 | 0) != ($5 | 0)) { + $2 = $3 << 3; + $4 = HEAPF64[$2 + HEAP32[$0 >> 2] >> 3] * HEAPF64[HEAP32[$1 >> 2] + $2 >> 3] + $4; + $3 = $3 + 1 | 0; + continue; + } + break; + } + return $4; + } + exit(0); + abort(); +} + +function void_20std____2____reverse_wchar_t___28wchar_t__2c_20wchar_t__2c_20std____2__random_access_iterator_tag_29($0, $1) { + label$1: { + if (($0 | 0) == ($1 | 0)) { + break label$1; + } + while (1) { + $1 = $1 - 4 | 0; + if ($1 >>> 0 <= $0 >>> 0) { + break label$1; + } + void_20std____2__iter_swap_wchar_t__2c_20wchar_t___28wchar_t__2c_20wchar_t__29($0, $1); + $0 = $0 + 4 | 0; + continue; + } + } +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______make_iter_28vision__PriorityQueueItem_96___29($0, $1) { + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + $1 = HEAP32[std____2____wrap_iter_vision__PriorityQueueItem_96_______wrap_iter_28vision__PriorityQueueItem_96___29($0 + 8 | 0, $1) >> 2]; + __stack_pointer = $0 + 16 | 0; + return $1; +} + +function std____2__allocator_int___allocate_28unsigned_20long_29($0, $1) { + if (unsigned_20long_20std____2__allocator_traits_std____2__allocator_int____max_size_std____2__allocator_int__2c_20void__28std____2__allocator_int__20const__29($0) >>> 0 < $1 >>> 0) { + std____throw_bad_array_new_length_28_29(); + abort(); + } + return std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($1 << 2, 4); +} + +function decltype_28std____2____unwrap_iter_impl_vision__Point3d_float___2c_20true_____apply_28declval_vision__Point3d_float____28_29_29_29_20std____2____unwrap_iter_vision__Point3d_float___2c_20std____2____unwrap_iter_impl_vision__Point3d_float___2c_20true___28vision__Point3d_float___29($0) { + return std____2____unwrap_iter_impl_vision__Point3d_float___2c_20true_____apply_28vision__Point3d_float___29($0); +} + +function void_20std____2__locale____imp__install_std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____28std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82496)); +} + +function void_20std____2__locale____imp__install_std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____28std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82480)); +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_unsigned_20short__2c_20unsigned_20short_2c_20void__28std____2__allocator_unsigned_20short___2c_20unsigned_20short__2c_20unsigned_20short__2c_20unsigned_20short___29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] - $2 | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + wasm2js_memory_copy($0, $1, $2); + } +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____max_size_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__20const__29($0) { + return std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___max_size_28_29_20const($0); +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + Math_imul($1, 12) | 0; +} + +function std____2__greater_std____2__pair_float_2c_20unsigned_20long____operator_28_29_28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_20const($0, $1, $2) { + return bool_20std____2__operator__float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29($1, $2); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______assign_external_28wchar_t_20const__29($0, $1) { + return std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______assign_external_28wchar_t_20const__2c_20unsigned_20long_29($0, $1, std____2__char_traits_wchar_t___length_28wchar_t_20const__29($1)); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_28_29_20const($0) { + return std____2__pointer_traits_char_20const____pointer_to_28char_20const__29(std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29_20const($0)); +} + +function std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________non_trivial_if_28_29($0); +} + +function int_20const__20std____2__max_int_2c_20std____2____less_int_2c_20int___28int_20const__2c_20int_20const__2c_20std____2____less_int_2c_20int__29($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + $3 = std____2____less_int_2c_20int___operator_28_29_28int_20const__2c_20int_20const__29_20const($2 + 8 | 0, $0, $1); + __stack_pointer = $2 + 16 | 0; + return $3 ? $1 : $0; +} + +function vision__Node_96___Node_28int_29($0, $1) { + HEAP8[$0 + 100 | 0] = 1; + HEAP32[$0 >> 2] = $1; + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______vector_28_29($0 + 104 | 0); + std____2__vector_int_2c_20std____2__allocator_int____vector_28_29($0 + 116 | 0); + void_20vision__ZeroVector_unsigned_20char__28unsigned_20char__2c_20unsigned_20long_29($0 + 4 | 0, 96); + return $0; +} + +function std____2__iterator_traits_vision__FeaturePoint____difference_type_20std____2__distance_vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__29($0, $1) { + return std____2__iterator_traits_vision__FeaturePoint____difference_type_20std____2____distance_vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function std____2__ctype_wchar_t___do_narrow_28wchar_t_20const__2c_20wchar_t_20const__2c_20char_2c_20char__29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $0 = HEAP32[$1 >> 2]; + HEAP8[$4 | 0] = $0 >>> 0 < 128 ? $0 : $3; + $4 = $4 + 1 | 0; + $1 = $1 + 4 | 0; + continue; + } + break; + } + return $2 | 0; +} + +function emit_message($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + if (($1 | 0) < 0) { + $1 = HEAP32[$2 + 108 >> 2]; + if (!(HEAP32[$2 + 104 >> 2] < 3 ? $1 : 0)) { + FUNCTION_TABLE[HEAP32[$2 + 8 >> 2]]($0); + $1 = HEAP32[$2 + 108 >> 2]; + } + HEAP32[$2 + 108 >> 2] = $1 + 1; + return; + } + if (HEAP32[$2 + 104 >> 2] >= ($1 | 0)) { + FUNCTION_TABLE[HEAP32[$2 + 8 >> 2]]($0); + } +} + +function $28anonymous_20namespace_29__itanium_demangle__BoolExpr__20_28anonymous_20namespace_29__DefaultAllocator__makeNode__28anonymous_20namespace_29__itanium_demangle__BoolExpr_2c_20int__28int___29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__BoolExpr__BoolExpr_28bool_29($28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, 12), HEAP32[$1 >> 2] != 0); +} + +function void_20std____2__locale____imp__install_std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____28std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82432)); +} + +function void_20std____2__locale____imp__install_std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____28std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82416)); +} + +function store_int($0, $1, $2, $3) { + label$1: { + if (!$0) { + break label$1; + } + label$2: { + switch ($1 + 2 | 0) { + case 0: + HEAP8[$0 | 0] = $2; + return; + + case 1: + HEAP16[$0 >> 1] = $2; + return; + + case 2: + case 3: + HEAP32[$0 >> 2] = $2; + return; + + case 5: + break label$2; + + default: + break label$1; + } + } + HEAP32[$0 >> 2] = $2; + HEAP32[$0 + 4 >> 2] = $3; + } +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____equal_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___20const__29_20const($0, $1) { + return std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______test_for_eof_28_29_20const($0) ^ std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______test_for_eof_28_29_20const($1) ^ 1; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function getc($0) { + var $1 = 0; + label$1: { + $1 = HEAP32[$0 + 76 >> 2]; + if (($1 | 0) >= 0) { + if (!$1) { + break label$1; + } + if (HEAP32[__get_tp() + 16 >> 2] != ($1 & -1073741825)) { + break label$1; + } + } + $1 = HEAP32[$0 + 4 >> 2]; + if (($1 | 0) != HEAP32[$0 + 8 >> 2]) { + HEAP32[$0 + 4 >> 2] = $1 + 1; + return HEAPU8[$1 | 0]; + } + return __uflow($0); + } + return locking_getc($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul____PODSmallVector_28_29($0) { + if (!$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___isInline_28_29_20const($0)) { + dlfree(HEAP32[$0 >> 2]); + } + return $0; +} + +function std____2__enable_if_is_same_std____2__remove_const_wchar_t_20const___type_2c_20wchar_t___value_20___20is_trivially_copy_assignable_wchar_t___value_2c_20wchar_t____type_20std____2____copy_wchar_t_20const_2c_20wchar_t__28wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t__29($0, $1, $2) { + var $3 = 0; + $3 = $1 - $0 | 0; + if (($0 | 0) != ($1 | 0)) { + memmove($2, $0, $3); + } + return $2 + $3 | 0; +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___codecvt_28unsigned_20long_29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $1 = std____2__codecvt_base__codecvt_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 59112; + wasm2js_i32$0 = $1, wasm2js_i32$1 = std____2____cloc_28_29(), HEAP32[wasm2js_i32$0 + 8 >> 2] = wasm2js_i32$1; + return $1; +} + +function std____2____wrap_iter_char_20const______wrap_iter_char___28std____2____wrap_iter_char___20const__2c_20std____2__enable_if_is_convertible_char__2c_20char_20const____value_2c_20void___type__29($0, $1, $2) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2____wrap_iter_char____base_28_29_20const($1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $0; +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___________alloc_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________second_28_29($0); +} + +function void_20std____2__locale____imp__install_std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____28std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82400)); +} + +function void_20std____2__locale____imp__install_std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____28std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82384)); +} + +function vision__BinarykMedoids_96____BinarykMedoids_28_29($0) { + std____2__vector_int_2c_20std____2__allocator_int_____vector_28_29($0 + 48 | 0); + std____2__vector_int_2c_20std____2__allocator_int_____vector_28_29($0 + 36 | 0); + std____2__vector_int_2c_20std____2__allocator_int_____vector_28_29($0 + 24 | 0); + std____2__vector_int_2c_20std____2__allocator_int_____vector_28_29($0 + 12 | 0); + return $0; +} + +function std____2__enable_if_is_move_constructible_std____2__pair_float_2c_20int_____value_20___20is_move_assignable_std____2__pair_float_2c_20int_____value_2c_20void___type_20std____2__swap_std____2__pair_float_2c_20int____28std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___________non_trivial_if_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__Image____construct_vision__Image_2c_20vision__Image_20const__2c_20void__28std____2__allocator_vision__Image___2c_20vision__Image__2c_20vision__Image_20const__29($0, $1, $2) { + void_20std____2__allocator_vision__Image___construct_vision__Image_2c_20vision__Image_20const___28vision__Image__2c_20vision__Image_20const__29($0, $1, $2); +} + +function void_20std____2____debug_db_insert_c_std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____28std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____29($0) {} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float______ConstructTransaction___ConstructTransaction_28std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 3) + $1; + return $0; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____ConstructTransaction___ConstructTransaction_28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = Math_imul($2, 20) + $1; + return $0; +} + +function std____2__tuple_element_0ul_2c_20std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind______type___20std____2__get_0ul_2c_20std____2___28anonymous_20namespace_29____fake_bind____28std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind______29($0) { + return std____2____tuple_leaf_0ul_2c_20std____2___28anonymous_20namespace_29____fake_bind___2c_20false___get_28_29($0); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_pointer_28_29($0) { + return std____2__pointer_traits_wchar_t____pointer_to_28wchar_t__29(std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29($0)); +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________deallocate_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______operator___28_29($0) { + std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______operator___28_29($0); + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_200_2c_20false_____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20void__28std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____getTypes_28_29_20const($0) { + return emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_28_29(); +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____construct_std____2__pair_float_2c_20int__2c_20void__28std____2__allocator_std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int___29($0, $1) { + void_20std____2__allocator_std____2__pair_float_2c_20int____construct_std____2__pair_float_2c_20int___28std____2__pair_float_2c_20int___29($0, $1); +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_vision__match_t__2c_20vision__match_t_2c_20void__28std____2__allocator_vision__match_t___2c_20vision__match_t__2c_20vision__match_t__2c_20vision__match_t___29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] - $2 | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + wasm2js_memory_copy($0, $1, $2); + } +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_unsigned_20char__2c_20unsigned_20char_2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20char__2c_20unsigned_20char___29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] - $2 | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + wasm2js_memory_copy($0, $1, $2); + } +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____capacity_28_29_20const($0) { + return (HEAP32[std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] | 0) / 36 | 0; +} + +function std____2__tuple_int_20const____tuple_std____2___And_2c_200__28int_20const__29($0, $1) { + return std____2____tuple_impl_std____2____tuple_indices_0ul__2c_20int_20const______tuple_impl_0ul_2c_20int_20const__2c_20int_20const___28std____2____tuple_indices_0ul__2c_20std____2____tuple_types_int_20const___2c_20std____2____tuple_indices___2c_20std____2____tuple_types___2c_20int_20const__29($0, $1); +} + +function std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_200_2c_20false_____get_28_29_20const($0); +} + +function int_20vision__MaxIndex6_float__28float_20const__29($0) { + var $1 = 0; + $1 = HEAPF32[$0 + 4 >> 2] > HEAPF32[$0 >> 2]; + $1 = HEAPF32[$0 + 8 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 2 : $1; + $1 = HEAPF32[$0 + 12 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 3 : $1; + $1 = HEAPF32[$0 + 16 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 4 : $1; + return HEAPF32[$0 + 20 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 5 : $1; +} + +function vision__bilinear_downsample_point_28float__2c_20float__2c_20float_2c_20float_2c_20int_29($0, $1, $2, $3, $4) { + var $5 = Math_fround(0), $6 = Math_fround(0); + $5 = Math_fround(Math_fround(1) / Math_fround(1 << $4)); + $6 = Math_fround($2 * $5); + $2 = Math_fround(Math_fround($5 * Math_fround(.5)) + Math_fround(-.5)); + HEAPF32[$0 >> 2] = $6 + $2; + HEAPF32[$1 >> 2] = Math_fround($3 * $5) + $2; +} + +function std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_201_2c_20true_____get_28_29($0); +} + +function std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________size_28_29($0) { + return std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________first_28_29($0); +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______size_28_29_20const($0) { + return (HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] | 0) / 12 | 0; +} + +function std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28long_29_20const($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = HEAP32[$0 >> 2]; + std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28long_29($2 + 8 | 0, $1); + __stack_pointer = $2 + 16 | 0; + $0 = HEAP32[$2 + 8 >> 2]; + return $0; +} + +function std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______clear_28_29($0) { + std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________destruct_at_end_28std____2__pair_float_2c_20unsigned_20long___29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________first_28_29_20const($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2__operator___28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__2c_20std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__29_1($0, $1) { + return HEAP32[$0 >> 2] == HEAP32[$1 >> 2]; +} + +function std____2__enable_if_is_move_constructible_vision__PriorityQueueItem_96_____value_20___20is_move_assignable_vision__PriorityQueueItem_96_____value_2c_20void___type_20std____2__swap_vision__PriorityQueueItem_96____28vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__enable_if_is_move_constructible_std____2____shared_weak_count____value_20___20is_move_assignable_std____2____shared_weak_count____value_2c_20void___type_20std____2__swap_std____2____shared_weak_count___28std____2____shared_weak_count___2c_20std____2____shared_weak_count___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2____wrap_iter_int_20const______wrap_iter_int___28std____2____wrap_iter_int___20const__2c_20std____2__enable_if_is_convertible_int__2c_20int_20const____value_2c_20void___type__29($0, $1, $2) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2____wrap_iter_int____base_28_29_20const($1), + HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $0; +} + +function std____2____compressed_pair_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_20std____2__allocator_vision__Keyframe_96_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Keyframe_96___2c_201_2c_20true_____get_28_29($0); +} + +function std____2__basic_ios_char_2c_20std____2__char_traits_char____init_28std____2__basic_streambuf_char_2c_20std____2__char_traits_char____29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + std____2__ios_base__init_28void__29($0, $1); + HEAP32[$0 + 72 >> 2] = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2__char_traits_char___eof_28_29(), HEAP32[wasm2js_i32$0 + 76 >> 2] = wasm2js_i32$1; +} + +function arUtilGetDirectoryNameFromPath($0, $1, $2, $3) { + var $4 = 0, $5 = 0; + $4 = 0; + label$1: { + if (!$2 | (!$0 | !$1)) { + break label$1; + } + $4 = $0; + $5 = strrchr($1, 47); + if ($5) { + $3 = ((($3 | 0) != 0) + $5 | 0) - $1 | 0; + $4 = 0; + if ($3 + 1 >>> 0 > $2 >>> 0) { + break label$1; + } + $4 = strncpy($0, $1, $3) + $3 | 0; + } + HEAP8[$4 | 0] = 0; + $4 = $0; + } + return $4; +} + +function void_20std____2__advance_unsigned_20char__2c_20unsigned_20long_2c_20unsigned_20long_2c_20void__28unsigned_20char___2c_20unsigned_20long_29($0, $1) { + void_20std____2____advance_unsigned_20char___28unsigned_20char___2c_20std____2__iterator_traits_unsigned_20char____difference_type_2c_20std____2__random_access_iterator_tag_29($0, std____2____convert_to_integral_28unsigned_20long_29($1)); +} + +function strcmp($0, $1) { + var $2 = 0, $3 = 0; + $2 = HEAPU8[$0 | 0]; + $3 = HEAPU8[$1 | 0]; + label$1: { + if (!$2 | ($3 | 0) != ($2 | 0)) { + break label$1; + } + while (1) { + $3 = HEAPU8[$1 + 1 | 0]; + $2 = HEAPU8[$0 + 1 | 0]; + if (!$2) { + break label$1; + } + $1 = $1 + 1 | 0; + $0 = $0 + 1 | 0; + if (($2 | 0) == ($3 | 0)) { + continue; + } + break; + } + } + return $2 - $3 | 0; +} + +function std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________non_trivial_if_28_29($0); +} + +function std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_elem_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____construct_vision__PriorityQueueItem_96__2c_20void__28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___29($0, $1) { + void_20std____2__allocator_vision__PriorityQueueItem_96____construct_vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___29($0, $1); +} + +function std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_const_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____20const__29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function deleteHandle($0) { + var $1 = 0; + $1 = HEAP32[$0 + 216 >> 2]; + if ($1) { + arPattDetach($1); + arDeleteHandle(HEAP32[$0 + 216 >> 2]); + HEAP32[$0 + 216 >> 2] = 0; + } + if (HEAP32[$0 + 228 >> 2]) { + $1 = $0 + 228 | 0; + ar3DDeleteHandle($1); + HEAP32[$0 + 228 >> 2] = 0; + } + if (HEAP32[$0 + 192 >> 2]) { + $1 = $0; + $0 = $0 + 192 | 0; + arParamLTFree($0); + HEAP32[$1 + 192 >> 2] = 0; + } +} + +function decltype_28std____2____unwrap_iter_impl_vision__FeaturePoint__2c_20true_____apply_28declval_vision__FeaturePoint___28_29_29_29_20std____2____unwrap_iter_vision__FeaturePoint__2c_20std____2____unwrap_iter_impl_vision__FeaturePoint__2c_20true___28vision__FeaturePoint__29($0) { + return std____2____unwrap_iter_impl_vision__FeaturePoint__2c_20true_____apply_28vision__FeaturePoint__29($0); +} + +function std____2__ctype_char___do_narrow_28char_20const__2c_20char_20const__2c_20char_2c_20char__29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + while (1) { + if (($1 | 0) != ($2 | 0)) { + $0 = HEAP8[$1 | 0]; + HEAP8[$4 | 0] = ($0 | 0) < 0 ? $3 : $0; + $4 = $4 + 1 | 0; + $1 = $1 + 1 | 0; + continue; + } + break; + } + return $2 | 0; +} + +function std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_20bool_29($0, $1, $2) { + HEAP8[$0 + 4 | 0] = $2; + HEAP32[$0 >> 2] = $1; + return $0; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__match_t____construct_vision__match_t_2c_20vision__match_t_2c_20void__28std____2__allocator_vision__match_t___2c_20vision__match_t__2c_20vision__match_t___29($0, $1, $2) { + void_20std____2__allocator_vision__match_t___construct_vision__match_t_2c_20vision__match_t__28vision__match_t__2c_20vision__match_t___29($0, $1, $2); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________hash_node_base_28_29($0); +} + +function void_20std____2__allocator_traits_std____2__allocator_multi_marker____construct_multi_marker_2c_20multi_marker_20const__2c_20void__28std____2__allocator_multi_marker___2c_20multi_marker__2c_20multi_marker_20const__29($0, $1, $2) { + void_20std____2__allocator_multi_marker___construct_multi_marker_2c_20multi_marker_20const___28multi_marker__2c_20multi_marker_20const__29($0, $1, $2); +} + +function std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______ConstructTransaction___ConstructTransaction_28std____2__pair_float_2c_20int____2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 >> 2]; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = ($2 << 3) + $3; + return $0; +} + +function unsigned_20long_20const__20std____2__min_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($0, $1) { + return unsigned_20long_20const__20std____2__min_unsigned_20long_2c_20std____2____less_unsigned_20long_2c_20unsigned_20long___28unsigned_20long_20const__2c_20unsigned_20long_20const__2c_20std____2____less_unsigned_20long_2c_20unsigned_20long__29($0, $1); +} + +function unsigned_20long_20const__20std____2__max_unsigned_20long__28unsigned_20long_20const__2c_20unsigned_20long_20const__29($0, $1) { + return unsigned_20long_20const__20std____2__max_unsigned_20long_2c_20std____2____less_unsigned_20long_2c_20unsigned_20long___28unsigned_20long_20const__2c_20unsigned_20long_20const__2c_20std____2____less_unsigned_20long_2c_20unsigned_20long__29($0, $1); +} + +function void_20std____2__locale____imp__install_std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82488)); +} + +function void_20std____2__locale____imp__install_std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82472)); +} + +function std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________destruct_at_end_28vision__Node_96__20const___29($0, $1) { + std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________destruct_at_end_28vision__Node_96__20const___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______ConstructTransaction___ConstructTransaction_28std____2__locale__facet____2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 >> 2]; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = ($2 << 2) + $3; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PointerToMemberType__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return $28anonymous_20namespace_29__itanium_demangle__Node__hasRHSComponent_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1) | 0; +} + +function string_read($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0, $4 = 0, $5 = 0; + $4 = HEAP32[$0 + 84 >> 2]; + $3 = $2 + 256 | 0; + $5 = memchr($4, 0, $3); + $3 = $5 ? $5 - $4 | 0 : $3; + $2 = $2 >>> 0 > $3 >>> 0 ? $3 : $2; + __memcpy($1, $4, $2); + $3 = $3 + $4 | 0; + HEAP32[$0 + 84 >> 2] = $3; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 4 >> 2] = $2 + $4; + return $2 | 0; +} + +function std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____empty_28_29_20const($0) { + return std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____empty_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____allocator_28_29($0); +} + +function void_20std____2__locale____imp__install_std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82424)); +} + +function void_20std____2__locale____imp__install_std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82408)); +} + +function void_20std____2__advance_unsigned_20int_20const__2c_20long_2c_20long_2c_20void__28unsigned_20int_20const___2c_20long_29($0, $1) { + void_20std____2____advance_unsigned_20int_20const___28unsigned_20int_20const___2c_20std____2__iterator_traits_unsigned_20int_20const____difference_type_2c_20std____2__random_access_iterator_tag_29($0, std____2____convert_to_integral_28long_29($1)); +} + +function void_20std____2____reverse_char___28char__2c_20char__2c_20std____2__random_access_iterator_tag_29($0, $1) { + label$1: { + if (($0 | 0) == ($1 | 0)) { + break label$1; + } + while (1) { + $1 = $1 - 1 | 0; + if ($1 >>> 0 <= $0 >>> 0) { + break label$1; + } + void_20std____2__iter_swap_char__2c_20char___28char__2c_20char__29($0, $1); + $0 = $0 + 1 | 0; + continue; + } + } +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____max_size_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long___20const__29($0) { + return std____2__allocator_std____2__pair_float_2c_20unsigned_20long____max_size_28_29_20const($0); +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_out_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char__2c_20char__2c_20char___29_20const($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; + HEAP32[$4 >> 2] = $2; + HEAP32[$7 >> 2] = $5; + return 3; +} + +function std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____top_28_29_20const($0) { + return std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____front_28_29_20const($0); +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_in_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char__2c_20char__2c_20char___29_20const($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; + HEAP32[$4 >> 2] = $2; + HEAP32[$7 >> 2] = $5; + return 3; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_node_base_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___operator_5b_5d_28unsigned_20long_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___begin_28_29($0) + ($1 << 2) | 0; +} + +function void_20std____2__locale____imp__install_std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82392)); +} + +function void_20std____2__locale____imp__install_std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82376)); +} + +function std____2__locale____imp__use_facet_28long_29_20const($0, $1) { + if (!std____2__locale____imp__has_facet_28long_29_20const($0, $1)) { + std____2____throw_bad_cast_28_29(); + abort(); + } + return HEAP32[std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____operator_5b_5d_28unsigned_20long_29_20const($0 + 8 | 0, $1) >> 2]; +} + +function std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29($0) { + return std____2____compressed_pair_elem_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_200_2c_20false_____get_28_29($0); +} + +function __sin($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + $3 = $0 * $0; + $5 = $3 * ($3 * $3) * ($3 * 1.58969099521155e-10 + -2.5050760253406863e-8) + ($3 * ($3 * 27557313707070068e-22 + -.0001984126982985795) + .00833333333332249); + $4 = $3 * $0; + if (!$2) { + return $4 * ($3 * $5 + -.16666666666666632) + $0; + } + return $0 - ($3 * ($1 * .5 - $5 * $4) - $1 + $4 * .16666666666666632); +} + +function void_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____construct_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__pair_float_2c_20unsigned_20long___28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long____29($0, $1, $2) { + $0 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$1 + 4 >> 2] = $0; +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______clear_28_29($0) { + std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______base_destruct_at_end_28std____2__pair_float_2c_20unsigned_20long___29($0, HEAP32[$0 >> 2]); +} + +function std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96______priority_queue_28_29($0) { + return std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______vector_28_29($0); +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____first_28_29($0) { + return std____2____compressed_pair_elem_float_2c_200_2c_20false_____get_28_29($0); +} + +function emscripten__internal__WithPolicies____ArgTypeList_int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____getTypes_28_29_20const($0) { + return emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_28_29(); +} + +function vision__get_pretty_time_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 272 | 0; + __stack_pointer = $1; + __time($1 + 264 | 0); + strftime($1 | 0, 256, 1057, localtime($1 + 264 | 0) | 0) | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($0, $1); + __stack_pointer = $1 + 272 | 0; +} + +function strtok($0, $1) { + var $2 = 0; + label$1: { + if (!$0) { + $0 = HEAP32[19926]; + if (!$0) { + break label$1; + } + } + $2 = strspn($0, $1) + $0 | 0; + if (!HEAPU8[$2 | 0]) { + HEAP32[19926] = 0; + return 0; + } + $0 = strcspn($2, $1) + $2 | 0; + if (HEAPU8[$0 | 0]) { + HEAP32[19926] = $0 + 1; + HEAP8[$0 | 0] = 0; + return $2; + } + HEAP32[19926] = 0; + } + return $2; +} + +function std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____deallocate_28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20std____2__locale__facet___2c_20unsigned_20long_29($0, $1, $2) { + std____2____sso_allocator_std____2__locale__facet__2c_2030ul___deallocate_28std____2__locale__facet___2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void___________non_trivial_if_28_29($0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_________first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____first_28_29_20const($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29_20const($0); +} + +function void_20std____2____debug_db_insert_c_std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____28std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____29($0) {} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______ConstructTransaction___ConstructTransaction_28std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 2) + $1; + return $0; +} + +function std____2__priority_queue_vision__PriorityQueueItem_96__2c_20std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96____2c_20std____2__less_vision__PriorityQueueItem_96_____priority_queue_28_29($0) { + return std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____vector_28_29($0); +} + +function std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____first_28_29_20const($0 + 12 | 0); +} +function ar2FreeFeatureSet($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = HEAP32[$0 >> 2]; + if (!$1) { + return -1; + } + while (1) { + $3 = HEAP32[$1 >> 2]; + if (($2 | 0) < HEAP32[$1 + 4 >> 2]) { + dlfree(HEAP32[Math_imul($2, 20) + $3 >> 2]); + $2 = $2 + 1 | 0; + $1 = HEAP32[$0 >> 2]; + continue; + } + break; + } + dlfree($3); + dlfree(HEAP32[$0 >> 2]); + HEAP32[$0 >> 2] = 0; + return 0; +} + +function __towrite($0) { + var $1 = 0; + $1 = HEAP32[$0 + 72 >> 2]; + HEAP32[$0 + 72 >> 2] = $1 | $1 - 1; + $1 = HEAP32[$0 >> 2]; + if ($1 & 8) { + HEAP32[$0 >> 2] = $1 | 32; + return -1; + } + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = 0; + $1 = HEAP32[$0 + 44 >> 2]; + HEAP32[$0 + 28 >> 2] = $1; + HEAP32[$0 + 20 >> 2] = $1; + HEAP32[$0 + 16 >> 2] = HEAP32[$0 + 48 >> 2] + $1; + return 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ReferenceType__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return $28anonymous_20namespace_29__itanium_demangle__Node__hasRHSComponent_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1) | 0; +} + +function std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____data_28_29_20const($0) { + return std____2__shared_ptr_vision__FrontendSinkFilter___20std____2____to_address_std____2__shared_ptr_vision__FrontendSinkFilter___28std____2__shared_ptr_vision__FrontendSinkFilter___29(HEAP32[$0 >> 2]); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_cap_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29_20const($0) + 8 >> 2] & 2147483647; +} + +function std____2__allocator_std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________max_size_28_29_20const($0) { + return 357913941; +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_201_2c_20true_____get_28_29_20const($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul____PODSmallVector_28_29($0) { + if (!$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___isInline_28_29_20const($0)) { + dlfree(HEAP32[$0 >> 2]); + } + return $0; +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____end_28_29($0) { + return std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______make_iter_28std____2__pair_float_2c_20unsigned_20long___29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2__enable_if_is_same_std____2__remove_const_int_20const___type_2c_20int___value_20___20is_trivially_copy_assignable_int___value_2c_20int____type_20std____2____copy_int_20const_2c_20int__28int_20const__2c_20int_20const__2c_20int__29($0, $1, $2) { + var $3 = 0; + $3 = $1 - $0 | 0; + if (($0 | 0) != ($1 | 0)) { + wasm2js_memory_copy($2, $0, $3); + } + return $2 + $3 | 0; +} + +function std____2__enable_if___is_swappable_float___value_20___20__is_swappable_unsigned_20long___value_2c_20void___type_20std____2__swap_float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long___2c_20std____2__pair_float_2c_20unsigned_20long___29($0, $1) { + std____2__pair_float_2c_20unsigned_20long___swap_28std____2__pair_float_2c_20unsigned_20long___29($0, $1); +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____get_28_29_20const($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PointerType__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return $28anonymous_20namespace_29__itanium_demangle__Node__hasRHSComponent_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1) | 0; +} + +function void_20std____2__allocator_vision__Point3d_float____construct_vision__Point3d_float__2c_20vision__Point3d_float___28vision__Point3d_float___2c_20vision__Point3d_float____29($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = HEAP32[$2 + 4 >> 2]; + $0 = HEAP32[$2 >> 2]; + $4 = $0; + $0 = $1; + HEAP32[$0 >> 2] = $4; + HEAP32[$0 + 4 >> 2] = $3; + HEAP32[$0 + 8 >> 2] = HEAP32[$2 + 8 >> 2]; +} + +function unsigned_20long_20std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____max_size_std____2____sso_allocator_std____2__locale__facet__2c_2030ul__2c_20void__28std____2____sso_allocator_std____2__locale__facet__2c_2030ul__20const__29($0) { + return std____2____sso_allocator_std____2__locale__facet__2c_2030ul___max_size_28_29_20const($0); +} + +function std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true___operator_28_29_28unsigned_20int_20const__29_20const($0, $1) { + return std____2__hash_unsigned_20int___operator_28_29_28unsigned_20int_29_20const($0, HEAP32[$1 >> 2]); +} + +function std____2____less__28anonymous_20namespace_29__itanium_demangle__ReferenceKind_2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind___operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__2c_20_28anonymous_20namespace_29__itanium_demangle__ReferenceKind_20const__29_20const($0, $1) { + return HEAP32[$0 >> 2] < HEAP32[$1 >> 2]; +} + +function fwrite($0, $1, $2, $3) { + var $4 = 0, $5 = 0; + $4 = Math_imul($1, $2); + label$1: { + if (HEAP32[$3 + 76 >> 2] < 0) { + $0 = __fwritex($0, $4, $3); + break label$1; + } + $5 = __lockfile($3); + $0 = __fwritex($0, $4, $3); + if (!$5) { + break label$1; + } + __unlockfile($3); + } + if (($0 | 0) == ($4 | 0)) { + return $1 ? $2 : 0; + } + return ($0 >>> 0) / ($1 >>> 0) | 0; +} + +function float_20vision__bilinear_interpolation_float__28float_20const__2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20float_2c_20float_29($0, $1, $2, $3, $4, $5) { + return float_20vision__bilinear_interpolation_float_2c_20float__28float_20const__2c_20unsigned_20long_2c_20unsigned_20long_2c_20unsigned_20long_2c_20float_2c_20float_29($0, $1, $2, $3, $4, $5); +} + +function emscripten__internal__Invoker_void_2c_20int_2c_20float___invoke_28void_20_28__29_28int_2c_20float_29_2c_20int_2c_20float_29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = Math_fround($2); + FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($1), emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29($2)); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short_____ConstructTransaction___ConstructTransaction_28std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 1) + $1; + return $0; +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____begin_28_29($0) { + return std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______make_iter_28std____2__pair_float_2c_20unsigned_20long___29($0, HEAP32[$0 >> 2]); +} + +function std____2__enable_if_is_move_constructible_vision__Node_96__20const_____value_20___20is_move_assignable_vision__Node_96__20const_____value_2c_20void___type_20std____2__swap_vision__Node_96__20const____28vision__Node_96__20const____2c_20vision__Node_96__20const____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 4, 4); +} + +function $28anonymous_20namespace_29__itanium_demangle__QualType__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return $28anonymous_20namespace_29__itanium_demangle__Node__hasRHSComponent_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1) | 0; +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______destroy_std____2__pair_int_20const_2c_20ARParam__2c_20void_2c_20void__28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20std____2__pair_int_20const_2c_20ARParam___29($0, $1) {} + +function std____2__enable_if_is_same_std____2__remove_const_char_20const___type_2c_20char___value_20___20is_trivially_copy_assignable_char___value_2c_20char____type_20std____2____copy_char_20const_2c_20char__28char_20const__2c_20char_20const__2c_20char__29($0, $1, $2) { + var $3 = 0; + $3 = $1 - $0 | 0; + if (($0 | 0) != ($1 | 0)) { + memmove($2, $0, $3); + } + return $2 + $3 | 0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______assign_external_28char_20const__29($0, $1) { + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______assign_external_28char_20const__2c_20unsigned_20long_29($0, $1, std____2__char_traits_char___length_28char_20const__29($1)); +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________non_trivial_if_28_29($0); +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___________non_trivial_if_28_29($0); +} + +function std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const($0, $1) { + return std____2__hash_int___operator_28_29_28int_29_20const($0, HEAP32[$1 >> 2]); +} + +function arController___arController_28_29($0) { + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker_____vector_28_29($0 + 328 | 0); + std____2__unordered_map_int_2c_20AR2SurfaceSetT__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20AR2SurfaceSetT_______unordered_map_28_29($0 + 252 | 0); + return $0; +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____data_28_29_20const($0) { + return vision__DoGScaleInvariantDetector__FeaturePoint__20std____2____to_address_vision__DoGScaleInvariantDetector__FeaturePoint__28vision__DoGScaleInvariantDetector__FeaturePoint__29(HEAP32[$0 >> 2]); +} + +function std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_std____2__shared_ptr_vision__FrontendSinkFilter___2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____first_28_29_20const($0 + 8 | 0); +} + +function std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______29($0) { + return $0; +} + +function std____2__operator___28std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__2c_20std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__29_1($0, $1) { + return HEAP32[$0 >> 2] == HEAP32[$1 >> 2]; +} + +function std____2__collate_wchar_t___do_transform_28wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_wchar_t_20const__2c_20void__28wchar_t_20const__2c_20wchar_t_20const__29($0, $2, $3); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_node_base_28_29($0); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_pointer_28_29($0) { + return std____2__pointer_traits_char____pointer_to_28char__29(std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29($0)); +} + +function float_20vision__fastexp6_float__28float_29($0) { + return Math_fround(+Math_fround(Math_fround($0 * Math_fround(Math_fround($0 * Math_fround(Math_fround($0 * Math_fround(Math_fround($0 * Math_fround(Math_fround($0 * Math_fround($0 + Math_fround(6))) + Math_fround(30))) + Math_fround(120))) + Math_fround(360))) + Math_fround(720))) + Math_fround(720)) * .0013888888); +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t_____ConstructTransaction___ConstructTransaction_28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 3) + $1; + return $0; +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____time_get_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + $0 = std____2____time_get_c_storage_wchar_t_____time_get_c_storage_28_29($1 + 8 | 0); + HEAP32[$1 >> 2] = 61812; + HEAP32[$0 >> 2] = 61860; + return $1; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function bool_20std____2__operator__float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29($0, $1) { + return bool_20std____2__operator__float_2c_20unsigned_20long__28std____2__pair_float_2c_20unsigned_20long__20const__2c_20std____2__pair_float_2c_20unsigned_20long__20const__29_1($1, $0); +} + +function testSetjmp($0, $1, $2) { + var $3 = 0, $4 = 0; + label$1: { + if (!$2) { + break label$1; + } + while (1) { + $4 = HEAP32[($3 << 3) + $1 >> 2]; + if (!$4) { + break label$1; + } + if (($0 | 0) == ($4 | 0)) { + return HEAP32[(($3 << 3) + $1 | 0) + 4 >> 2]; + } + $3 = $3 + 1 | 0; + if (($3 | 0) != ($2 | 0)) { + continue; + } + break; + } + } + return 0; +} + +function std____2__enable_if_is_move_constructible_std____2__locale__facet_____value_20___20is_move_assignable_std____2__locale__facet_____value_2c_20void___type_20std____2__swap_std____2__locale__facet____28std____2__locale__facet____2c_20std____2__locale__facet____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______is_long_28_29_20const($0) { + return HEAPU8[std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29_20const($0) + 11 | 0] >>> 7 | 0; +} + +function std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28long_29_20const($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = HEAP32[$0 >> 2]; + std____2____wrap_iter_vision__PriorityQueueItem_96_____operator___28long_29($2 + 8 | 0, $1); + __stack_pointer = $2 + 16 | 0; + $0 = HEAP32[$2 + 8 >> 2]; + return $0; +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_multi_marker__2c_20multi_marker_2c_20void__28std____2__allocator_multi_marker___2c_20multi_marker__2c_20multi_marker__2c_20multi_marker___29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] - $2 | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + __memcpy($0, $1, $2); + } +} + +function vision__RobustHomography_float____RobustHomography_28_29($0) { + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int______vector_28_29($0 + 24 | 0); + std____2__vector_int_2c_20std____2__allocator_int_____vector_28_29($0 + 12 | 0); + return std____2__vector_float_2c_20std____2__allocator_float_____vector_28_29($0); +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____first_28_29_20const($0 + 8 | 0); +} + +function std____2__collate_wchar_t___do_hash_28wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0; + while (1) { + if (!(($1 | 0) == ($2 | 0))) { + $3 = HEAP32[$1 >> 2] + ($3 << 4) | 0; + $0 = $3 & -268435456; + $3 = ($0 >>> 24 | $0) ^ $3; + $1 = $1 + 4 | 0; + continue; + } + break; + } + return $3 | 0; +} + +function emscripten__internal__Invoker_void_2c_20int_2c_20double___invoke_28void_20_28__29_28int_2c_20double_29_2c_20int_2c_20double_29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = +$2; + FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($1), emscripten__internal__BindingType_double_2c_20void___fromWireType_28double_29($2)); +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29_20const($0) { + return std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____second_28_29_20const($0 + 8 | 0); +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________destruct_at_end_28vision__Point3d_float___29($0, $1) { + std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________destruct_at_end_28vision__Point3d_float___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_short_size_28_29_20const($0) { + return HEAPU8[std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29_20const($0) + 11 | 0]; +} + +function arImageProcLumaHistAndCDF($0, $1) { + var $2 = 0, $3 = 0, $4 = 0; + if ((arImageProcLumaHist($0, $1) | 0) < 0) { + return -1; + } + $1 = 0; + while (1) { + $3 = ($2 << 2) + $0 | 0; + $4 = HEAP32[$3 + 12 >> 2] + $4 | 0; + HEAP32[$3 + 1036 >> 2] = $4; + $2 = $2 + 1 | 0; + $1 = ($1 & 255) + 1 | 0; + if (($1 | 0) == ($1 & 255)) { + continue; + } + break; + } + return 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__QualType__hasFunctionSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return $28anonymous_20namespace_29__itanium_demangle__Node__hasFunction_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1) | 0; +} + +function void_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___construct_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20vision__DoGScaleInvariantDetector__FeaturePoint_20const___28vision__DoGScaleInvariantDetector__FeaturePoint__2c_20vision__DoGScaleInvariantDetector__FeaturePoint_20const__29($0, $1, $2) { + wasm2js_memory_copy($1, $2, 36); +} + +function vision__Image__Image_28vision__Image_20const__29($0, $1) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 + 12 >> 2] = 0; + std____2__shared_ptr_unsigned_20char___shared_ptr_28_29($0 + 24 | 0); + vision__Image__shallowCopy_28vision__Image_20const__29($0, $1); + return $0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_size_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29_20const($0) + 4 >> 2]; +} + +function std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______ConstructTransaction___ConstructTransaction_28vision__FeaturePoint___2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 >> 2]; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = Math_imul($2, 20) + $3; + return $0; +} + +function std____2__pair_std____2____unwrap_ref_decay_float___type_2c_20std____2____unwrap_ref_decay_unsigned_20long____type__20std____2__make_pair_float_2c_20unsigned_20long___28float___2c_20unsigned_20long__29($0, $1, $2) { + std____2__pair_float_2c_20unsigned_20long___pair_float_2c_20unsigned_20long__2c_20_28void__290__28float___2c_20unsigned_20long__29($0, $1, $2); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_pointer_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29_20const($0) >> 2]; +} + +function std____2____hash_map_const_iterator_std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______operator___28_29($0) { + std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______operator___28_29($0); + return $0; +} + +function std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_20std____2__allocator_unsigned_20char____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____allocator_28_29($0); +} + +function memcmp($0, $1, $2) { + var $3 = 0, $4 = 0, $5 = 0; + label$1: { + if (!$2) { + break label$1; + } + while (1) { + $3 = HEAPU8[$0 | 0]; + $4 = HEAPU8[$1 | 0]; + if (($3 | 0) == ($4 | 0)) { + $1 = $1 + 1 | 0; + $0 = $0 + 1 | 0; + $2 = $2 - 1 | 0; + if ($2) { + continue; + } + break label$1; + } + break; + } + $5 = $3 - $4 | 0; + } + return $5; +} + +function wchar_t_20const__20std____2__find_wchar_t_20const__2c_20wchar_t__28wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__29($0, $1, $2) { + $2 = HEAP32[$2 >> 2]; + while (1) { + label$2: { + if (($0 | 0) != ($1 | 0)) { + if (HEAP32[$0 >> 2] != ($2 | 0)) { + break label$2; + } + $1 = $0; + } + return $1; + } + $0 = $0 + 4 | 0; + continue; + } +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____ConstructTransaction___ConstructTransaction_28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = $1 + $2; + return $0; +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___________non_trivial_if_28_29($0); +} + +function std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______end_cap_28_29($0) { + return std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____first_28_29($0 + 12 | 0); +} + +function std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_20bool_29($0, $1, $2) { + HEAP8[$0 + 4 | 0] = $2; + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul____PODSmallVector_28_29($0) { + if (!$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___isInline_28_29_20const($0)) { + dlfree(HEAP32[$0 >> 2]); + } + return $0; +} + +function void_20std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____destroy_std____2__locale__facet__2c_20void_2c_20void__28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20std____2__locale__facet___29($0, $1) { + void_20std____2__destroy_at_std____2__locale__facet__2c_200__28std____2__locale__facet___29($1); +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image_____ConstructTransaction___ConstructTransaction_28std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 5) + $1; + return $0; +} + +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___20std____2____rewrap_iter_std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___29($0, $1) { + return $1; +} + +function std____2__iterator_traits_wchar_t_20const____difference_type_20std____2__distance_wchar_t_20const___28wchar_t_20const__2c_20wchar_t_20const__29($0, $1) { + return std____2__iterator_traits_wchar_t_20const____difference_type_20std____2____distance_wchar_t_20const___28wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function std____2__iterator_traits_unsigned_20char____difference_type_20std____2__distance_unsigned_20char___28unsigned_20char__2c_20unsigned_20char__29($0, $1) { + return std____2__iterator_traits_unsigned_20char____difference_type_20std____2____distance_unsigned_20char___28unsigned_20char__2c_20unsigned_20char__2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sbumpc_28_29($0) { + var $1 = 0; + $1 = HEAP32[$0 + 12 >> 2]; + if (($1 | 0) == HEAP32[$0 + 16 >> 2]) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 40 >> 2]]($0) | 0; + } + HEAP32[$0 + 12 >> 2] = $1 + 4; + return std____2__char_traits_wchar_t___to_int_type_28wchar_t_29(HEAP32[$1 >> 2]); +} + +function std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_______alloc_28_29($0) { + return std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____second_28_29($0 + 12 | 0); +} + +function std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96________shared_ptr_pointer_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2____shared_count_____shared_count_28_29($0)); +} + +function std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int________get_ptr_28std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_____29($0) { + return std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______get_value_28_29($0); +} + +function std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____deallocate_28std____2__allocator_std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int___2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_std____2__pair_float_2c_20int____deallocate_28std____2__pair_float_2c_20int___2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_201_2c_20true_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul____PODSmallVector_28_29($0) { + if (!$28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___isInline_28_29_20const($0)) { + dlfree(HEAP32[$0 >> 2]); + } + return $0; +} + +function strncat($0, $1, $2) { + var $3 = 0, $4 = 0; + $3 = strlen($0) + $0 | 0; + label$1: { + if (!$2) { + break label$1; + } + while (1) { + $4 = HEAPU8[$1 | 0]; + if (!$4) { + break label$1; + } + HEAP8[$3 | 0] = $4; + $3 = $3 + 1 | 0; + $1 = $1 + 1 | 0; + $2 = $2 - 1 | 0; + if ($2) { + continue; + } + break; + } + } + HEAP8[$3 | 0] = 0; + return $0; +} + +function std____2__numpunct_wchar_t___numpunct_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + HEAP32[$1 + 8 >> 2] = 46; + HEAP32[$1 + 12 >> 2] = 44; + HEAP32[$1 >> 2] = 59200; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($1 + 16 | 0); + return $1; +} + +function std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29($0) { + return std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__QualType__hasArraySlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return $28anonymous_20namespace_29__itanium_demangle__Node__hasArray_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 12 >> 2], $1) | 0; +} + +function std____2__enable_if_is_move_constructible_vision__Point3d_float_____value_20___20is_move_assignable_vision__Point3d_float_____value_2c_20void___type_20std____2__swap_vision__Point3d_float____28vision__Point3d_float____2c_20vision__Point3d_float____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, Math_imul($2, 496), 8); +} + +function std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________end_cap_28_29_20const($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______first_28_29_20const($0 + 12 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0 + 8 | 0, $1); +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker_____ConstructTransaction___ConstructTransaction_28std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 3) + $1; + return $0; +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____time_get_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + $0 = std____2____time_get_c_storage_char_____time_get_c_storage_28_29($1 + 8 | 0); + HEAP32[$1 >> 2] = 61548; + HEAP32[$0 >> 2] = 61596; + return $1; +} + +function std____2__operator___28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__2c_20std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__29($0, $1) { + return HEAP32[$0 >> 2] == HEAP32[$1 >> 2]; +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____allocator_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___operator_5b_5d_28unsigned_20long_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___begin_28_29($0) + ($1 << 2) | 0; +} + +function $28anonymous_20namespace_29__BumpPointerAllocator__reset_28_29($0) { + var $1 = 0; + while (1) { + $1 = HEAP32[$0 + 4096 >> 2]; + if ($1) { + HEAP32[$0 + 4096 >> 2] = HEAP32[$1 >> 2]; + if (($0 | 0) == ($1 | 0)) { + continue; + } + dlfree($1); + continue; + } + break; + } + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$0 + 4096 >> 2] = $0; +} + +function void_20emscripten__constant_double__28char_20const__2c_20double_20const__29($0, $1) { + _embind_register_constant($0 | 0, emscripten__internal__TypeID_double_20const__2c_20void___get_28_29() | 0, +double_20emscripten__internal__asGenericValue_double__28double_29(emscripten__internal__BindingType_double_2c_20void___toWireType_28double_20const__29($1))); +} + +function std____2__collate_char___do_hash_28char_20const__2c_20char_20const__29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0; + while (1) { + if (!(($1 | 0) == ($2 | 0))) { + $3 = HEAP8[$1 | 0] + ($3 << 4) | 0; + $0 = $3 & -268435456; + $3 = ($0 >>> 24 | $0) ^ $3; + $1 = $1 + 1 | 0; + continue; + } + break; + } + return $3 | 0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($0) { + return wchar_t_20const__20std____2____to_address_wchar_t_20const__28wchar_t_20const__29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29_20const($0)); +} + +function std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________first_28_29_20const($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char____first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_200_2c_20false_____get_28_29_20const($0); +} + +function trackingInitInit($0) { + var $1 = 0; + if (!$0) { + arLog(0, 3, 39321, 0); + return 0; + } + $1 = dlmalloc(68); + if (!$1) { + return 0; + } + HEAP32[$1 >> 2] = $0; + $0 = Math_imul(kpmHandleGetXSize($0), kpmHandleGetYSize($0)); + HEAP32[$1 + 8 >> 2] = $0; + $0 = dlmalloc($0); + HEAP32[$1 + 64 >> 2] = 0; + HEAP32[$1 + 4 >> 2] = $0; + return threadInit(0, $1, 38); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_cap_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29_20const($0) + 8 >> 2] & 2147483647; +} + +function std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____deallocate_28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_vision__PriorityQueueItem_96____deallocate_28vision__PriorityQueueItem_96___2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_const_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____20const__29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function emscripten__internal__Invoker_void_2c_20int_2c_20int___invoke_28void_20_28__29_28int_2c_20int_29_2c_20int_2c_20int_29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($1), emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($2)); +} + +function bool_20std____2__operator___wchar_t_20const__2c_20wchar_t___28std____2____wrap_iter_wchar_t_20const___20const__2c_20std____2____wrap_iter_wchar_t___20const__29($0, $1) { + return bool_20std____2__operator___wchar_t_20const__2c_20wchar_t___28std____2____wrap_iter_wchar_t_20const___20const__2c_20std____2____wrap_iter_wchar_t___20const__29_1($0, $1) ^ 1; +} + +function $28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const(HEAP32[$0 + 8 >> 2], $1); +} + +function std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______alloc_28_29($0) { + return std____2____compressed_pair_std____2__shared_ptr_vision__FrontendSinkFilter___2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____second_28_29($0 + 8 | 0); +} + +function std____2__ctype_char___ctype_28unsigned_20long_20const__2c_20bool_2c_20unsigned_20long_29($0, $1, $2, $3) { + $3 = std____2__ctype_base__ctype_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $3)); + HEAP8[$3 + 12 | 0] = $2; + HEAP32[$3 + 8 >> 2] = $1; + HEAP32[$3 >> 2] = 58028; + if (!$1) { + HEAP32[$3 + 8 >> 2] = 58080; + } + return $3; +} + +function std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______destruct_at_end_28vision__FeaturePoint__29($0, $1) { + std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______destruct_at_end_28vision__FeaturePoint__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function decltype_28std____2____unwrap_iter_impl_unsigned_20char__2c_20true_____apply_28declval_unsigned_20char___28_29_29_29_20std____2____unwrap_iter_unsigned_20char__2c_20std____2____unwrap_iter_impl_unsigned_20char__2c_20true___28unsigned_20char__29($0) { + return std____2____unwrap_iter_impl_unsigned_20char__2c_20true_____apply_28unsigned_20char__29($0); +} + +function void_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____destroy_std____2__pair_float_2c_20int__2c_20void__28std____2__allocator_std____2__pair_float_2c_20int____2c_20std____2__pair_float_2c_20int___29($0, $1) { + std____2__allocator_std____2__pair_float_2c_20int____destroy_28std____2__pair_float_2c_20int___29($0, $1); +} + +function std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______29($0) { + return $0; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 4, 4); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function __cos($0, $1) { + var $2 = 0, $3 = 0, $4 = 0, $5 = 0; + $2 = $0 * $0; + $3 = $2 * .5; + $4 = 1 - $3; + $5 = 1 - $4 - $3; + $3 = $2 * $2; + return $4 + ($5 + ($2 * ($2 * ($2 * ($2 * 2480158728947673e-20 + -.001388888888887411) + .0416666666666666) + $3 * $3 * ($2 * ($2 * -11359647557788195e-27 + 2.087572321298175e-9) + -2.7557314351390663e-7)) - $0 * $1)); +} + +function std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_node_destructor_28std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_20bool_29($0, $1, $2) { + HEAP8[$0 + 4 | 0] = $2; + HEAP32[$0 >> 2] = $1; + return $0; +} + +function void_20vision__SequentialVector_int__28int__2c_20int_2c_20int_29($0, $1, $2) { + var $3 = 0; + label$1: { + if (($1 | 0) <= 0) { + break label$1; + } + HEAP32[$0 >> 2] = $2; + $3 = 1; + while (1) { + if (($1 | 0) == ($3 | 0)) { + break label$1; + } + $2 = $2 + 1 | 0; + HEAP32[($3 << 2) + $0 >> 2] = $2; + $3 = $3 + 1 | 0; + continue; + } + } +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______end_cap_28_29($0) { + return std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____first_28_29($0 + 8 | 0); +} + +function std____2__enable_if_is_same_std____2__remove_const_int___type_2c_20int___value_20___20is_trivially_move_assignable_int___value_2c_20int____type_20std____2____move_backward_int_2c_20int__28int__2c_20int__2c_20int__29($0, $1, $2) { + if (($0 | 0) != ($1 | 0)) { + $1 = $1 - $0 | 0; + $2 = $2 - $1 | 0; + wasm2js_memory_copy($2, $0, $1); + } + return $2; +} + +function decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__wchar_t_20const__2c_20wchar_t___28std____2____wrap_iter_wchar_t_20const___20const__2c_20std____2____wrap_iter_wchar_t___20const__29($0, $1) { + return std____2____wrap_iter_wchar_t_20const____base_28_29_20const($0) - std____2____wrap_iter_wchar_t____base_28_29_20const($1) >> 2; +} + +function decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__int_20const__2c_20int_20const___28std____2____wrap_iter_int_20const___20const__2c_20std____2____wrap_iter_int_20const___20const__29($0, $1) { + return std____2____wrap_iter_int_20const____base_28_29_20const($0) - std____2____wrap_iter_int_20const____base_28_29_20const($1) >> 2; +} + +function __cxxabiv1___28anonymous_20namespace_29__GuardObject___cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads___cxa_guard_acquire_28_29($0) { + var $1 = 0; + if (!__cxxabiv1___28anonymous_20namespace_29__GuardByte__acquire_28_29($0)) { + $1 = __cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads__acquire_28_29($0 + 4 | 0) ^ 1; + } + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__NodeArrayNode__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $28anonymous_20namespace_29__itanium_demangle__NodeArray__printWithComma_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0 + 8 | 0, $1); +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______alloc_28_29($0) { + return std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____second_28_29($0 + 8 | 0); +} + +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____20const__20std____2__use_facet_std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____28std____2__locale_20const__29($0) { + return std____2__locale__use_facet_28std____2__locale__id__29_20const($0, 82392); +} + +function pop_arg_long_double($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0, wasm2js_i32$0 = 0, wasm2js_f64$0 = 0; + $2 = HEAP32[$1 >> 2] + 7 & -8; + HEAP32[$1 >> 2] = $2 + 16; + wasm2js_i32$0 = $0, wasm2js_f64$0 = __trunctfdf2(HEAP32[$2 >> 2], HEAP32[$2 + 4 >> 2], HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2]), + HEAPF64[wasm2js_i32$0 >> 3] = wasm2js_f64$0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20void__28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2__ios_base___ios_base_28_29($0) { + $0 = $0 | 0; + HEAP32[$0 >> 2] = 54032; + std____2__ios_base____call_callbacks_28std____2__ios_base__event_29($0, 0); + std____2__locale___locale_28_29($0 + 28 | 0); + dlfree(HEAP32[$0 + 32 >> 2]); + dlfree(HEAP32[$0 + 36 >> 2]); + dlfree(HEAP32[$0 + 48 >> 2]); + dlfree(HEAP32[$0 + 60 >> 2]); + return $0 | 0; +} + +function std____2__enable_if_is_move_constructible_vision__Keyframe_96_____value_20___20is_move_assignable_vision__Keyframe_96_____value_2c_20void___type_20std____2__swap_vision__Keyframe_96____28vision__Keyframe_96____2c_20vision__Keyframe_96____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__enable_if_is_move_constructible_vision__FeaturePoint____value_20___20is_move_assignable_vision__FeaturePoint____value_2c_20void___type_20std____2__swap_vision__FeaturePoint___28vision__FeaturePoint___2c_20vision__FeaturePoint___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____deallocate_28std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, Math_imul($2, 200), 8); +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true____first_28_29($0) { + return std____2____compressed_pair_elem_float_2c_200_2c_20false_____get_28_29($0); +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____destroy_vision__PriorityQueueItem_96__2c_20void__28std____2__allocator_vision__PriorityQueueItem_96____2c_20vision__PriorityQueueItem_96___29($0, $1) { + std____2__allocator_vision__PriorityQueueItem_96____destroy_28vision__PriorityQueueItem_96___29($0, $1); +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____first_28_29_20const($0 + 8 | 0); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_long_pointer_28_29($0) { + return HEAP32[std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____first_28_29($0) >> 2]; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______is_long_28_29_20const($0) { + return HEAPU8[std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29_20const($0) + 11 | 0] >>> 7 | 0; +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sbumpc_28_29($0) { + var $1 = 0; + $1 = HEAP32[$0 + 12 >> 2]; + if (($1 | 0) == HEAP32[$0 + 16 >> 2]) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 40 >> 2]]($0) | 0; + } + HEAP32[$0 + 12 >> 2] = $1 + 1; + return std____2__char_traits_char___to_int_type_28char_29(HEAP8[$1 | 0]); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________first_28_29_20const($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____allocator_28_29($0); +} + +function __cxxabiv1___28anonymous_20namespace_29__AtomicInt_unsigned_20char___store_28unsigned_20char_2c_20std____2___28anonymous_20namespace_29____libcpp_atomic_order_29($0) { + void_20std____2___28anonymous_20namespace_29____libcpp_atomic_store_unsigned_20char_2c_20unsigned_20char__28unsigned_20char__2c_20unsigned_20char_2c_20int_29(HEAP32[$0 >> 2]); +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____data_28_29_20const($0) { + return std____2__pair_float_2c_20unsigned_20long___20std____2____to_address_std____2__pair_float_2c_20unsigned_20long___28std____2__pair_float_2c_20unsigned_20long___29(HEAP32[$0 >> 2]); +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______alloc_28_29_20const($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____second_28_29_20const($0 + 8 | 0); +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____basic_streambuf_28_29($0) { + HEAP32[$0 >> 2] = 53320; + std____2__locale__locale_28_29($0 + 4 | 0); + HEAP32[$0 + 24 >> 2] = 0; + HEAP32[$0 + 28 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 + 12 >> 2] = 0; + return $0; +} + +function std____2__vector_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________invalidate_all_iterators_28_29($0) {} + +function merged_1v_upsample($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; + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 476 >> 2] + 12 >> 2]]($0, $1, HEAP32[$2 >> 2], (HEAP32[$5 >> 2] << 2) + $4 | 0); + HEAP32[$5 >> 2] = HEAP32[$5 >> 2] + 1; + HEAP32[$2 >> 2] = HEAP32[$2 >> 2] + 1; +} + +function std____2__collate_char___do_transform_28char_20const__2c_20char_20const__29_20const($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_char_20const__2c_20void__28char_20const__2c_20char_20const__29($0, $2, $3); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_short_size_28_29_20const($0) { + return HEAPU8[std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29_20const($0) + 11 | 0]; +} + +function std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short______ConstructTransaction___ConstructTransaction_28unsigned_20short___2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 >> 2]; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = ($2 << 1) + $3; + return $0; +} + +function std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function dlcalloc($0, $1) { + var $2 = 0, $3 = 0; + $2 = 0; + label$2: { + if (!$0) { + break label$2; + } + $2 = __wasm_i64_mul($0, 0, $1, 0); + $3 = i64toi32_i32$HIGH_BITS; + if (($0 | $1) >>> 0 < 65536) { + break label$2; + } + $2 = $3 ? -1 : $2; + } + $0 = dlmalloc($2); + if (!(!$0 | !(HEAPU8[$0 - 4 | 0] & 3))) { + memset($0, 0, $2); + } + return $0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_size_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29_20const($0) + 4 >> 2]; +} + +function std____2____time_get_c_storage_wchar_t_____x_28_29_20const($0) { + $0 = $0 | 0; + if (!HEAPU8[82712]) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_std__nullptr_t__28wchar_t_20const__29(82700, 59276); + __cxa_atexit(326, 0, 1024); + HEAP8[82712] = 1; + } + return 82700; +} + +function std____2____time_get_c_storage_wchar_t_____r_28_29_20const($0) { + $0 = $0 | 0; + if (!HEAPU8[82808]) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_std__nullptr_t__28wchar_t_20const__29(82796, 59432); + __cxa_atexit(332, 0, 1024); + HEAP8[82808] = 1; + } + return 82796; +} + +function std____2____time_get_c_storage_wchar_t_____c_28_29_20const($0) { + $0 = $0 | 0; + if (!HEAPU8[82776]) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_std__nullptr_t__28wchar_t_20const__29(82764, 59348); + __cxa_atexit(330, 0, 1024); + HEAP8[82776] = 1; + } + return 82764; +} + +function std____2____time_get_c_storage_wchar_t_____X_28_29_20const($0) { + $0 = $0 | 0; + if (!HEAPU8[82744]) { + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_std__nullptr_t__28wchar_t_20const__29(82732, 59312); + __cxa_atexit(328, 0, 1024); + HEAP8[82744] = 1; + } + return 82732; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________2c_201_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___operator_5b_5d_28unsigned_20long_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___begin_28_29($0) + ($1 << 2) | 0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29_20const($0) >> 2]; +} + +function std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________end_cap_28_29($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______first_28_29($0 + 12 | 0); +} + +function char_20const__20std____2__find_char_20const__2c_20char__28char_20const__2c_20char_20const__2c_20char_20const__29($0, $1, $2) { + $2 = HEAPU8[$2 | 0]; + while (1) { + label$2: { + if (($0 | 0) != ($1 | 0)) { + if (HEAPU8[$0 | 0] != ($2 | 0)) { + break label$2; + } + $1 = $0; + } + return $1; + } + $0 = $0 + 1 | 0; + continue; + } +} + +function std____2____split_buffer_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long________alloc_28_29($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______second_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____first_28_29($0) { + return std____2____compressed_pair_elem_float_2c_200_2c_20false_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___operator_5b_5d_28unsigned_20long_29($0, $1) { + return $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___begin_28_29($0) + ($1 << 2) | 0; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__Point2d_float_____construct_vision__Point2d_float__2c_20void__28std____2__allocator_vision__Point2d_float____2c_20vision__Point2d_float___29($0, $1) { + void_20std____2__allocator_vision__Point2d_float____construct_vision__Point2d_float___28vision__Point2d_float___29($0, $1); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29_20const($0) { + return std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____second_28_29_20const($0); +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____basic_streambuf_28_29($0) { + HEAP32[$0 >> 2] = 53160; + std____2__locale__locale_28_29($0 + 4 | 0); + HEAP32[$0 + 24 >> 2] = 0; + HEAP32[$0 + 28 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 + 12 >> 2] = 0; + return $0; +} + +function std____2____wrap_iter_wchar_t_20const____operator__28long_29_20const($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = HEAP32[$0 >> 2]; + std____2____wrap_iter_wchar_t_20const____operator___28long_29($2 + 8 | 0, $1); + __stack_pointer = $2 + 16 | 0; + $0 = HEAP32[$2 + 8 >> 2]; + return $0; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_________first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char____first_28_29($0) { + return std____2____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_200_2c_20false_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___clearInline_28_29($0) { + var $1 = 0; + HEAP32[$0 + 8 >> 2] = $0 + 28; + $1 = $0 + 12 | 0; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 >> 2] = $1; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________non_trivial_if_28_29($0); +} + +function $28anonymous_20namespace_29__BumpPointerAllocator__allocateMassive_28unsigned_20long_29($0, $1) { + var $2 = 0; + $1 = dlmalloc($1 + 8 | 0); + if (!$1) { + std__terminate_28_29(); + abort(); + } + $0 = HEAP32[$0 + 4096 >> 2]; + $2 = HEAP32[$0 >> 2]; + HEAP32[$1 + 4 >> 2] = 0; + HEAP32[$1 >> 2] = $2; + HEAP32[$0 >> 2] = $1; + return $1 + 8 | 0; +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___20std____2____rewrap_iter_std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___29($0, $1) { + return $1; +} + +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_29_20const($0, $1, $2, $3, $4) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1, $2, $3, $4) | 0; +} + +function std____2__iterator_traits_char_20const____difference_type_20std____2__distance_char_20const___28char_20const__2c_20char_20const__29($0, $1) { + return std____2__iterator_traits_char_20const____difference_type_20std____2____distance_char_20const___28char_20const__2c_20char_20const__2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29_1($0) { + $0 = $0 | 0; + $0 = std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29($0, 53464); + std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ios_28_29($0 + 4 | 0); + return $0 | 0; +} + +function std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29_1($0) { + $0 = $0 | 0; + $0 = std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29($0, 53416); + std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ios_28_29($0 + 8 | 0); + return $0 | 0; +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_float__2c_20float_2c_20void__28std____2__allocator_float___2c_20float__2c_20float__2c_20float___29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] - $2 | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + wasm2js_memory_copy($0, $1, $2); + } +} + +function std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________destruct_at_end_28vision__Node_96____29($0, $1) { + std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________destruct_at_end_28vision__Node_96____2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int______capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____clear_28_29($0) { + std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______destruct_at_end_28std____2__locale__facet___29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char_______shared_ptr_pointer_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2____shared_count_____shared_count_28_29($0)); +} + +function std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__2c_201_2c_20true_____get_28_29_20const($0); +} + +function void_20std____2__iter_swap_unsigned_20int__2c_20unsigned_20int___28unsigned_20int__2c_20unsigned_20int__29($0, $1) { + std____2__enable_if_is_move_constructible_unsigned_20int___value_20___20is_move_assignable_unsigned_20int___value_2c_20void___type_20std____2__swap_unsigned_20int__28unsigned_20int__2c_20unsigned_20int__29($0, $1); +} + +function void_20std____2____debug_db_insert_c_std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____28std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____29($0) {} + +function void_20emscripten__constant_int__28char_20const__2c_20int_20const__29($0, $1) { + _embind_register_constant($0 | 0, emscripten__internal__TypeID_int_20const__2c_20void___get_28_29() | 0, +double_20emscripten__internal__asGenericValue_int__28int_29(emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29($1))); +} + +function std____2__ctype_wchar_t___do_widen_28char_20const__2c_20char_20const__2c_20wchar_t__29_20const($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + while (1) { + if (($1 | 0) != ($2 | 0)) { + HEAP32[$3 >> 2] = HEAP8[$1 | 0]; + $3 = $3 + 4 | 0; + $1 = $1 + 1 | 0; + continue; + } + break; + } + return $2 | 0; +} + +function std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____deallocate_28std____2__allocator_vision__Node_96__20const____2c_20vision__Node_96__20const___2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_vision__Node_96__20const____deallocate_28vision__Node_96__20const___2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image______ConstructTransaction___ConstructTransaction_28vision__Image___2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 >> 2]; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = ($2 << 5) + $3; + return $0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____max_size_std____2__allocator_std____2__pair_float_2c_20int___2c_20void__28std____2__allocator_std____2__pair_float_2c_20int___20const__29($0) { + return std____2__allocator_std____2__pair_float_2c_20int____max_size_28_29_20const($0); +} + +function std____2____wrap_iter_char_20const____operator__28long_29_20const($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = HEAP32[$0 >> 2]; + std____2____wrap_iter_char_20const____operator___28long_29($2 + 8 | 0, $1); + __stack_pointer = $2 + 16 | 0; + $0 = HEAP32[$2 + 8 >> 2]; + return $0; +} + +function std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const($0, $1) { + return std____2__hash_int___operator_28_29_28int_29_20const($0, HEAP32[$1 >> 2]); +} + +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char______ConstructTransaction___ConstructTransaction_28unsigned_20char___2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 >> 2]; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = $2 + $3; + return $0; +} + +function std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int______clear_28_29($0) { + std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________destruct_at_end_28std____2__pair_float_2c_20int___29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96________get_ptr_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_____29($0) { + return std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______get_value_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function jinit_input_controller($0) { + var $1 = 0; + $1 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 0, 28) | 0; + HEAP32[$0 + 460 >> 2] = $1; + HEAP32[$1 + 24 >> 2] = 1; + HEAP32[$1 + 16 >> 2] = 0; + HEAP32[$1 + 20 >> 2] = 0; + HEAP32[$1 + 12 >> 2] = 103; + HEAP32[$1 + 8 >> 2] = 104; + HEAP32[$1 + 4 >> 2] = 105; + HEAP32[$1 >> 2] = 106; +} + +function std____2__enable_if_is_move_constructible_vision__Node_96______value_20___20is_move_assignable_vision__Node_96______value_2c_20void___type_20std____2__swap_vision__Node_96_____28vision__Node_96_____2c_20vision__Node_96_____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__allocator_traits_std____2____sso_allocator_std____2__locale__facet__2c_2030ul____allocate_28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20unsigned_20long_29($0, $1) { + return std____2____sso_allocator_std____2__locale__facet__2c_2030ul___allocate_28unsigned_20long_2c_20void_20const__29($0, $1, 0); +} + +function reset_input_controller($0) { + $0 = $0 | 0; + var $1 = 0; + $1 = HEAP32[$0 + 460 >> 2]; + HEAP32[$1 + 24 >> 2] = 1; + HEAP32[$1 + 16 >> 2] = 0; + HEAP32[$1 + 20 >> 2] = 0; + HEAP32[$1 >> 2] = 106; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0); + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 464 >> 2] >> 2]]($0); + HEAP32[$0 + 160 >> 2] = 0; +} + +function std____2__allocator_traits_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____allocate_28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___allocate_28unsigned_20long_29($0, $1); +} + +function std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____first_28_29($0) { + return std____2____compressed_pair_elem_float_2c_200_2c_20false_____get_28_29($0); +} + +function rewind($0) { + var $1 = 0; + label$1: { + if (HEAP32[$0 + 76 >> 2] >= 0) { + $1 = __lockfile($0); + __fseeko_unlocked($0, 0, 0, 0); + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] & -33; + if (!$1) { + break label$1; + } + __unlockfile($0); + return; + } + __fseeko_unlocked($0, 0, 0, 0); + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] & -33; + } +} + +function decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__char_20const__2c_20char___28std____2____wrap_iter_char_20const___20const__2c_20std____2____wrap_iter_char___20const__29($0, $1) { + return std____2____wrap_iter_char_20const____base_28_29_20const($0) - std____2____wrap_iter_char____base_28_29_20const($1) | 0; +} + +function __uflow($0) { + var $1 = 0, $2 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $2 = -1; + label$1: { + if (__toread($0)) { + break label$1; + } + if ((FUNCTION_TABLE[HEAP32[$0 + 32 >> 2]]($0, $1 + 15 | 0, 1) | 0) != 1) { + break label$1; + } + $2 = HEAPU8[$1 + 15 | 0]; + } + __stack_pointer = $1 + 16 | 0; + return $2; +} + +function void_20std____2____debug_db_insert_c_std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____28std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____29($0) {} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______end_cap_28_29($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____first_28_29($0 + 8 | 0); +} + +function std____2__operator___28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____20const__2c_20std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____20const__29($0, $1) { + return HEAP32[$0 >> 2] == HEAP32[$1 >> 2]; +} + +function std____2__numpunct_char___numpunct_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + HEAP16[$1 + 8 >> 1] = 11310; + HEAP32[$1 >> 2] = 59160; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($1 + 12 | 0); + return $1; +} + +function std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_________first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function bool_20std____2__operator___char_20const__2c_20char___28std____2____wrap_iter_char_20const___20const__2c_20std____2____wrap_iter_char___20const__29($0, $1) { + return bool_20std____2__operator___char_20const__2c_20char___28std____2____wrap_iter_char_20const___20const__2c_20std____2____wrap_iter_char___20const__29_1($0, $1) ^ 1; +} + +function __lseek($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + $3 = __wasi_syscall_ret(legalfunc$__wasi_fd_seek($0, $1, $2, $3 & 255, $4 + 8 | 0)); + __stack_pointer = $4 + 16 | 0; + $2 = HEAP32[$4 + 12 >> 2]; + i64toi32_i32$HIGH_BITS = $3 ? -1 : $2; + $1 = HEAP32[$4 + 8 >> 2]; + return $3 ? -1 : $1; +} + +function wchar_t__20std____2__find_wchar_t__2c_20wchar_t__28wchar_t__2c_20wchar_t__2c_20wchar_t_20const__29($0, $1, $2) { + $2 = HEAP32[$2 >> 2]; + while (1) { + label$2: { + if (($0 | 0) != ($1 | 0)) { + if (HEAP32[$0 >> 2] != ($2 | 0)) { + break label$2; + } + $1 = $0; + } + return $1; + } + $0 = $0 + 4 | 0; + continue; + } +} + +function void_20vision__Similarity2x2_float__28float__2c_20float_2c_20float_29($0, $1, $2) { + var $3 = Math_fround(0); + $3 = cos_28float_29($1); + $1 = sin_28float_29($1); + $3 = Math_fround($3 * $2); + HEAPF32[$0 + 12 >> 2] = $3; + HEAPF32[$0 >> 2] = $3; + $2 = Math_fround($1 * $2); + HEAPF32[$0 + 8 >> 2] = $2; + HEAPF32[$0 + 4 >> 2] = -$2; +} + +function void_20std____2__allocator_vision__PriorityQueueItem_96____construct_vision__PriorityQueueItem_96__2c_20vision__PriorityQueueItem_96__20const___28vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96__20const__29($0, $1, $2) { + $0 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$1 + 4 >> 2] = $0; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____max_size_std____2__allocator_vision__PriorityQueueItem_96___2c_20void__28std____2__allocator_vision__PriorityQueueItem_96___20const__29($0) { + return std____2__allocator_vision__PriorityQueueItem_96____max_size_28_29_20const($0); +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______alloc_28_29($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____second_28_29($0 + 8 | 0); +} + +function std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______destruct_at_end_28unsigned_20short__29($0, $1) { + std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______destruct_at_end_28unsigned_20short__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________first_28_29_20const($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29_20const($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda1__28_28anonymous_20namespace_29__itanium_demangle__Node__29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__Node__29_20const($0) { + return HEAPU8[$0 + 5 | 0] == 1; +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda0__28_28anonymous_20namespace_29__itanium_demangle__Node__29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__Node__29_20const($0) { + return HEAPU8[$0 + 7 | 0] == 1; +} + +function std____2__vector_float_2c_20std____2__allocator_float_____ConstructTransaction___ConstructTransaction_28std____2__vector_float_2c_20std____2__allocator_float____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 2) + $1; + return $0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($0) { + return char_20const__20std____2____to_address_char_20const__28char_20const__29(std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29_20const($0)); +} + +function std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______clear_28_29($0) { + std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________destruct_at_end_28vision__PriorityQueueItem_96___29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_const_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____20const__29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack__ParameterPack_28_28anonymous_20namespace_29__itanium_demangle__NodeArray_29___lambda__28_28anonymous_20namespace_29__itanium_demangle__Node__29__operator_28_29_28_28anonymous_20namespace_29__itanium_demangle__Node__29_20const($0) { + return HEAPU8[$0 + 6 | 0] == 1; +} + +function std____2__numpunct_wchar_t___do_grouping_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29($0, $1 + 16 | 0); +} + +function std____2__enable_if_is_move_constructible_unsigned_20short____value_20___20is_move_assignable_unsigned_20short____value_2c_20void___type_20std____2__swap_unsigned_20short___28unsigned_20short___2c_20unsigned_20short___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__ctype_char___do_widen_28char_20const__2c_20char_20const__2c_20char__29_20const($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + while (1) { + if (($1 | 0) != ($2 | 0)) { + HEAP8[$3 | 0] = HEAPU8[$1 | 0]; + $3 = $3 + 1 | 0; + $1 = $1 + 1 | 0; + continue; + } + break; + } + return $2 | 0; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sgetc_28_29($0) { + var $1 = 0; + $1 = HEAP32[$0 + 12 >> 2]; + if (($1 | 0) == HEAP32[$0 + 16 >> 2]) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 36 >> 2]]($0) | 0; + } + return std____2__char_traits_wchar_t___to_int_type_28wchar_t_29(HEAP32[$1 >> 2]); +} + +function std____2____time_get_c_storage_char_____x_28_29_20const($0) { + $0 = $0 | 0; + if (!HEAPU8[82696]) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29(82684, 28105); + __cxa_atexit(325, 0, 1024); + HEAP8[82696] = 1; + } + return 82684; +} + +function std____2____time_get_c_storage_char_____r_28_29_20const($0) { + $0 = $0 | 0; + if (!HEAPU8[82792]) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29(82780, 30883); + __cxa_atexit(331, 0, 1024); + HEAP8[82792] = 1; + } + return 82780; +} + +function std____2____time_get_c_storage_char_____c_28_29_20const($0) { + $0 = $0 | 0; + if (!HEAPU8[82760]) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29(82748, 34484); + __cxa_atexit(329, 0, 1024); + HEAP8[82760] = 1; + } + return 82748; +} + +function std____2____time_get_c_storage_char_____X_28_29_20const($0) { + $0 = $0 | 0; + if (!HEAPU8[82728]) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29(82716, 34831); + __cxa_atexit(327, 0, 1024); + HEAP8[82728] = 1; + } + return 82716; +} + +function std____2____compressed_pair_elem_std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_201_2c_20false_____compressed_pair_elem_std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_20void__28std____2____sso_allocator_std____2__locale__facet__2c_2030ul___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2__ios_base____call_callbacks_28std____2__ios_base__event_29($0, $1) { + var $2 = 0, $3 = 0; + $2 = HEAP32[$0 + 40 >> 2]; + while (1) { + if ($2) { + $2 = $2 - 1 | 0; + $3 = $2 << 2; + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 32 >> 2] + $3 >> 2]]($1, $0, HEAP32[$3 + HEAP32[$0 + 36 >> 2] >> 2]); + continue; + } + break; + } +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____seekoff_28long_20long_2c_20std____2__ios_base__seekdir_2c_20unsigned_20int_29($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + std____2__fpos___mbstate_t___fpos_28long_20long_29($0, -1, -1); +} + +function start_input_pass_1($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0; + HEAP32[$0 + 148 >> 2] = 0; + $1 = 1; + $2 = HEAP32[$0 + 452 >> 2]; + $1 = HEAP32[$0 + 340 >> 2] <= 1 ? HEAP32[HEAP32[$0 + 344 >> 2] + (HEAP32[$0 + 332 >> 2] == 1 ? 76 : 12) >> 2] : $1; + HEAP32[$2 + 20 >> 2] = 0; + HEAP32[$2 + 24 >> 2] = 0; + HEAP32[$2 + 28 >> 2] = $1; +} + +function int_20vision__MaxIndex5_float__28float_20const__29($0) { + var $1 = 0; + $1 = HEAPF32[$0 + 4 >> 2] > HEAPF32[$0 >> 2]; + $1 = HEAPF32[$0 + 8 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 2 : $1; + $1 = HEAPF32[$0 + 12 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 3 : $1; + return HEAPF32[$0 + 16 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 4 : $1; +} + +function decltype_28fp_base_28_29_20__20fp0_base_28_29_29_20std____2__operator__int_20const__2c_20int___28std____2____wrap_iter_int_20const___20const__2c_20std____2____wrap_iter_int___20const__29($0, $1) { + return std____2____wrap_iter_int_20const____base_28_29_20const($0) - std____2____wrap_iter_int____base_28_29_20const($1) >> 2; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____construct_vision__FeaturePoint_2c_20void__28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__29($0, $1) { + void_20std____2__allocator_vision__FeaturePoint___construct_vision__FeaturePoint__28vision__FeaturePoint__29($0, $1); +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_long_pointer_28_29($0) { + return HEAP32[std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____first_28_29($0) >> 2]; +} + +function std____2____wrap_iter_wchar_t____operator__28long_29_20const_1($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = HEAP32[$0 >> 2]; + std____2____wrap_iter_wchar_t____operator___28long_29($2 + 8 | 0, $1); + __stack_pointer = $2 + 16 | 0; + $0 = HEAP32[$2 + 8 >> 2]; + return $0; +} + +function std____2__tuple_int_20const___20std____2__forward_as_tuple_int_20const___28int_20const__29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + $0 = HEAP32[std____2__tuple_int_20const____tuple_std____2___And_2c_200__28int_20const__29($1 + 8 | 0, $0) >> 2]; + __stack_pointer = $1 + 16 | 0; + return $0; +} + +function std____2__pointer_traits_std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char______pointer_to_28std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char____29($0) { + return $0; +} + +function std____2__numpunct_char___do_grouping_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29($0, $1 + 12 | 0); +} + +function std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const($0, $1) { + return std____2__hash_int___operator_28_29_28int_29_20const($0, HEAP32[$1 >> 2]); +} + +function void_20std____2____construct_backward_with_exception_guarantees_std____2__allocator_int__2c_20int_2c_20void__28std____2__allocator_int___2c_20int__2c_20int__2c_20int___29($0, $1, $2, $3) { + $2 = $2 - $1 | 0; + $0 = HEAP32[$3 >> 2] - $2 | 0; + HEAP32[$3 >> 2] = $0; + if (($2 | 0) > 0) { + wasm2js_memory_copy($0, $1, $2); + } +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______alloc_28_29($0) { + return std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____second_28_29($0); +} + +function std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______destruct_at_end_28vision__match_t__29($0, $1) { + std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______destruct_at_end_28vision__match_t__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______destruct_at_end_28unsigned_20char__29($0, $1) { + std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______destruct_at_end_28unsigned_20char__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____destroy_vision__Node_96__20const__2c_20void__28std____2__allocator_vision__Node_96__20const____2c_20vision__Node_96__20const___29($0, $1) { + std____2__allocator_vision__Node_96__20const____destroy_28vision__Node_96__20const___29($0, $1); +} + +function std____2__enable_if_is_move_constructible_vision__match_t____value_20___20is_move_assignable_vision__match_t____value_2c_20void___type_20std____2__swap_vision__match_t___28vision__match_t___2c_20vision__match_t___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__enable_if_is_move_constructible_unsigned_20char____value_20___20is_move_assignable_unsigned_20char____value_2c_20void___type_20std____2__swap_unsigned_20char___28unsigned_20char___2c_20unsigned_20char___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_std____2__shared_ptr_vision__FrontendSinkFilter___2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter___2c_201_2c_20true_____get_28_29($0); +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____pop_back_28_29($0) { + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______destruct_at_end_28vision__PriorityQueueItem_96___29($0, HEAP32[$0 + 4 >> 2] - 8 | 0); +} + +function vision__GaussianScaleSpacePyramid__GaussianScaleSpacePyramid_28_29($0) { + HEAP32[$0 >> 2] = 26532; + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____vector_28_29($0 + 4 | 0); + HEAP32[$0 + 24 >> 2] = 0; + HEAP32[$0 + 28 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + return $0; +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______clear_28_29($0) { + std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______base_destruct_at_end_28std____2__locale__facet___29($0, HEAP32[$0 >> 2]); +} + +function std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction___ConstructTransaction_28std____2__vector_int_2c_20std____2__allocator_int____2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 >> 2] = $1; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 + 8 >> 2] = ($2 << 2) + $1; + return $0; +} + +function std____2__pointer_traits_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________pointer_to_28std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______29($0) { + return $0; +} + +function std____2__operator___28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____20const__2c_20std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____20const__29($0, $1) { + return HEAP32[$0 >> 2] == HEAP32[$1 >> 2]; +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____seekoff_28long_20long_2c_20std____2__ios_base__seekdir_2c_20unsigned_20int_29($0, $1, $2, $3, $4, $5) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $5 = $5 | 0; + std____2__fpos___mbstate_t___fpos_28long_20long_29($0, -1, -1); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_201_2c_20true_____get_28_29_20const($0); +} + +function __fmodeflags($0) { + var $1 = 0; + $1 = 2; + if (!strchr($0, 43)) { + $1 = HEAPU8[$0 | 0] != 114; + } + $1 = strchr($0, 120) ? $1 | 128 : $1; + $1 = strchr($0, 101) ? $1 | 524288 : $1; + $0 = HEAPU8[$0 | 0]; + $1 = ($0 | 0) == 114 ? $1 : $1 | 64; + $1 = ($0 | 0) == 119 ? $1 | 512 : $1; + return ($0 | 0) == 97 ? $1 | 1024 : $1; +} + +function std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____deallocate_28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_vision__Point3d_float____deallocate_28vision__Point3d_float___2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2__allocator_traits_std____2__allocator_vision__Point2d_float_____deallocate_28std____2__allocator_vision__Point2d_float____2c_20vision__Point2d_float___2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_vision__Point2d_float____deallocate_28vision__Point2d_float___2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____wrap_iter_char____operator__28long_29_20const_1($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + HEAP32[$2 + 8 >> 2] = HEAP32[$0 >> 2]; + std____2____wrap_iter_char____operator___28long_29($2 + 8 | 0, $1); + __stack_pointer = $2 + 16 | 0; + $0 = HEAP32[$2 + 8 >> 2]; + return $0; +} + +function std____2____hash_map_iterator_std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________hash_map_iterator_28std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__2c_201_2c_20true_____get_28_29($0); +} + +function memmove($0, $1, $2) { + var $3 = 0; + if ($0 >>> 0 < $1 >>> 0) { + return __memcpy($0, $1, $2); + } + if ($2) { + $3 = $0 + $2 | 0; + $1 = $1 + $2 | 0; + while (1) { + $3 = $3 - 1 | 0; + $1 = $1 - 1 | 0; + HEAP8[$3 | 0] = HEAPU8[$1 | 0]; + $2 = $2 - 1 | 0; + if ($2) { + continue; + } + break; + } + } + return $0; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______clear_28_29($0) { + std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______base_destruct_at_end_28std____2__pair_float_2c_20int___29($0, HEAP32[$0 >> 2]); +} + +function std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______29($0) { + return $0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29_20const($0) { + return std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____second_28_29_20const($0); +} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29_1($0) { + $0 = $0 | 0; + $0 = std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29($0, 53304); + std____2__basic_ios_char_2c_20std____2__char_traits_char_____basic_ios_28_29($0 + 4 | 0); + return $0 | 0; +} + +function std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29_1($0) { + $0 = $0 | 0; + $0 = std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29($0, 53256); + std____2__basic_ios_char_2c_20std____2__char_traits_char_____basic_ios_28_29($0 + 8 | 0); + return $0 | 0; +} + +function std____2____compressed_pair_std____2__shared_ptr_vision__FrontendSinkFilter___2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__shared_ptr_vision__FrontendSinkFilter___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function bool_20std____2__operator___int_20const___28std____2____wrap_iter_int_20const___20const__2c_20std____2____wrap_iter_int_20const___20const__29($0, $1) { + return bool_20std____2__operator___int_20const___28std____2____wrap_iter_int_20const___20const__2c_20std____2____wrap_iter_int_20const___20const__29_1($0, $1) ^ 1; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__enable_if_is_move_constructible_unsigned_20long___value_20___20is_move_assignable_unsigned_20long___value_2c_20void___type_20std____2__swap_unsigned_20long__28unsigned_20long__2c_20unsigned_20long__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________non_trivial_if_28_29($0); +} + +function std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____first_28_29_20const($0 + 12 | 0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function decltype_28static_cast_std____2___28anonymous_20namespace_29____fake_bind__28fp_29_28_29_29_20std____2____invoke_std____2___28anonymous_20namespace_29____fake_bind__28std____2___28anonymous_20namespace_29____fake_bind___29($0) { + std____2___28anonymous_20namespace_29____fake_bind__operator_28_29_28_29_20const($0); +} + +function bool_20std____2__operator___wchar_t_20const__2c_20wchar_t___28std____2____wrap_iter_wchar_t_20const___20const__2c_20std____2____wrap_iter_wchar_t___20const__29_1($0, $1) { + return (std____2____wrap_iter_wchar_t_20const____base_28_29_20const($0) | 0) == (std____2____wrap_iter_wchar_t____base_28_29_20const($1) | 0); +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___out_28__mbstate_t__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const___2c_20char__2c_20char__2c_20char___29_20const($0, $1, $2, $3, $4, $5, $6, $7) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0, $1, $2, $3, $4, $5, $6, $7) | 0; +} + +function std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____allocate_28std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2__pair_float_2c_20unsigned_20long____allocate_28unsigned_20long_29($0, $1); +} + +function std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__DoGScaleInvariantDetector__FeaturePoint__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________first_28_29_20const($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___in_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20wchar_t__2c_20wchar_t__2c_20wchar_t___29_20const($0, $1, $2, $3, $4, $5, $6, $7) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1, $2, $3, $4, $5, $6, $7) | 0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29($0) { + return wchar_t__20std____2____to_address_wchar_t__28wchar_t__29(std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29($0)); +} + +function std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const______capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__DoGScaleInvariantDetector__FeaturePoint__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_wchar_t__2c_201_2c_20true_____get_28_29_20const($0); +} + +function __cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads__acquire_28_29($0) { + var $1 = 0, $2 = 0; + label$1: { + $1 = HEAP32[$0 >> 2]; + $2 = HEAPU8[$1 | 0]; + $0 = ($2 | 0) == 1; + if (!$0) { + if ($2 & 2) { + break label$1; + } + HEAP8[$1 | 0] = 2; + } + return $0; + } + abort_message(31049, 0); + abort(); +} + +function void_20std____2____swap_allocator_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___28std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) {} + +function void_20std____2__allocator_vision__PriorityQueueItem_96____construct_vision__PriorityQueueItem_96__2c_20vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___2c_20vision__PriorityQueueItem_96____29($0, $1, $2) { + $0 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$1 + 4 >> 2] = $0; +} + +function vision__BinaryFeatureStore__BinaryFeatureStore_28_29($0) { + HEAP32[$0 >> 2] = 0; + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____vector_28_29($0 + 4 | 0); + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____vector_28_29($0 + 16 | 0); + return $0; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____max_size_std____2__allocator_vision__Node_96__20const___2c_20void__28std____2__allocator_vision__Node_96__20const___20const__29($0) { + return std____2__allocator_vision__Node_96__20const____max_size_28_29_20const($0); +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______clear_28_29($0) { + std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______base_destruct_at_end_28vision__PriorityQueueItem_96___29($0, HEAP32[$0 >> 2]); +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sgetc_28_29($0) { + var $1 = 0; + $1 = HEAP32[$0 + 12 >> 2]; + if (($1 | 0) == HEAP32[$0 + 16 >> 2]) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 36 >> 2]]($0) | 0; + } + return std____2__char_traits_char___to_int_type_28char_29(HEAP8[$1 | 0]); +} + +function std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______capacity_28_29_20const($0) { + return (HEAP32[std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] | 0) / 12 | 0; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_________first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function void_20std____2____advance_std____2____wrap_iter_int_20const____28std____2____wrap_iter_int_20const____2c_20std____2__iterator_traits_std____2____wrap_iter_int_20const_____difference_type_2c_20std____2__random_access_iterator_tag_29($0, $1) { + std____2____wrap_iter_int_20const____operator___28long_29($0, $1); +} + +function std____2__pair_float_2c_20int__20vision__FastMedian_float_2c_20int__28std____2__pair_float_2c_20int___2c_20int_29($0, $1, $2) { + std____2__pair_float_2c_20int__20vision__PartialSort_float_2c_20int__28std____2__pair_float_2c_20int___2c_20int_2c_20int_29($0, $1, $2, ((($2 | 0) / 2 | 0) + ($2 & 1) | 0) - 1 | 0); +} + +function std____2__enable_if_is_move_constructible_vision__Image____value_20___20is_move_assignable_vision__Image____value_2c_20void___type_20std____2__swap_vision__Image___28vision__Image___2c_20vision__Image___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__enable_if_is_move_constructible_unsigned_20int___value_20___20is_move_assignable_unsigned_20int___value_2c_20void___type_20std____2__swap_unsigned_20int__28unsigned_20int__2c_20unsigned_20int__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function arParamLTFree($0) { + var $1 = 0, $2 = 0; + $1 = -1; + label$1: { + if (!$0) { + break label$1; + } + $2 = HEAP32[$0 >> 2]; + if (!$2) { + break label$1; + } + dlfree(HEAP32[$2 + 184 >> 2]); + dlfree(HEAP32[HEAP32[$0 >> 2] + 188 >> 2]); + dlfree(HEAP32[$0 >> 2]); + $1 = 0; + HEAP32[$0 >> 2] = 0; + } + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__AbstractManglingParser__28anonymous_20namespace_29__itanium_demangle__ManglingParser__28anonymous_20namespace_29__DefaultAllocator__2c_20_28anonymous_20namespace_29__DefaultAllocator___numLeft_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] | 0; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________non_trivial_if_28_29($0); +} + +function std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______destruct_at_end_28vision__Image__29($0, $1) { + std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______destruct_at_end_28vision__Image__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________first_28_29_20const($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29_20const($0); +} + +function operator_20new_28unsigned_20long_29($0) { + var $1 = 0; + $1 = $0 ? $0 : 1; + label$1: { + while (1) { + $0 = dlmalloc($1); + if ($0) { + break label$1; + } + $0 = std__get_new_handler_28_29(); + if ($0) { + FUNCTION_TABLE[$0 | 0](); + continue; + } + break; + } + abort(); + abort(); + } + return $0; +} + +function arUtilRemoveExt($0) { + var $1 = 0, $2 = 0, $3 = 0; + $1 = -1; + while (1) { + $3 = HEAPU8[$0 + $2 | 0]; + label$2: { + if (($3 | 0) != 46) { + if ($3) { + break label$2; + } + if (($1 | 0) != -1) { + HEAP8[$0 + $1 | 0] = 0; + } + return 0; + } + $1 = $2; + } + $2 = $2 + 1 | 0; + continue; + } +} + +function void_20std____2____debug_db_insert_c_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____28std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0) {} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_std____2__locale__facet_____max_size_std____2__allocator_std____2__locale__facet___2c_20void_2c_20void__28std____2__allocator_std____2__locale__facet___20const__29($0) { + return std____2__numeric_limits_unsigned_20long___max_28_29() >>> 2 | 0; +} + +function std____2____split_buffer_float_2c_20std____2__allocator_float______ConstructTransaction___ConstructTransaction_28float___2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 >> 2]; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = ($2 << 2) + $3; + return $0; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____end_28_29($0) { + return std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______make_iter_28vision__PriorityQueueItem_96___29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______time_put_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______time_put_28_29_1($0)); +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______time_get_28_29_1($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______time_get_28_29($0)); +} + +function std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___20std____2___28anonymous_20namespace_29__make_std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___codecvt_28unsigned_20long_29(83928, 1); +} + +function std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___20std____2___28anonymous_20namespace_29__make_std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___codecvt_28unsigned_20long_29(83920, 1); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____data_28_29_20const($0) + ($1 << 2) | 0; +} + +function std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____deallocate_28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_vision__FeaturePoint___deallocate_28vision__FeaturePoint__2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________end_cap_28_29_20const($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int______first_28_29_20const($0 + 12 | 0); +} + +function char__20std____2__find_char__2c_20char__28char__2c_20char__2c_20char_20const__29($0, $1, $2) { + $2 = HEAPU8[$2 | 0]; + while (1) { + label$2: { + if (($0 | 0) != ($1 | 0)) { + if (HEAPU8[$0 | 0] != ($2 | 0)) { + break label$2; + } + $1 = $0; + } + return $1; + } + $0 = $0 + 1 | 0; + continue; + } +} + +function std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____time_put_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + std____2____time_put____time_put_28_29($1 + 8 | 0); + HEAP32[$1 >> 2] = 62204; + return $1; +} + +function std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____money_put_28unsigned_20long_29($0, $1) { + $1 = std____2____money_put_wchar_t_____money_put_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 63320; + return $1; +} + +function std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____money_get_28unsigned_20long_29($0, $1) { + $1 = std____2____money_get_wchar_t_____money_get_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 62992; + return $1; +} + +function std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const______clear_28_29($0) { + std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________destruct_at_end_28vision__Node_96__20const___29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_20void__28std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____29($0, $1) { + return $0; +} + +function vision__DoGScaleInvariantDetector__setMaxNumFeaturePoints_28unsigned_20long_29($0, $1) { + HEAP32[$0 + 84 >> 2] = $1; + std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____reserve_28unsigned_20long_29($0 + 60 | 0, $1); +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____begin_28_29($0) { + return std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______make_iter_28vision__PriorityQueueItem_96___29($0, HEAP32[$0 >> 2]); +} + +function std____2__enable_if_is_move_constructible_multi_marker____value_20___20is_move_assignable_multi_marker____value_2c_20void___type_20std____2__swap_multi_marker___28multi_marker___2c_20multi_marker___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2____sso_allocator_std____2__locale__facet__2c_2030ul__2c_201_2c_20false_____get_28_29_20const($0 + 8 | 0); +} + +function fmt_x($0, $1, $2, $3) { + var $4 = 0; + if ($0 | $1) { + while (1) { + $2 = $2 - 1 | 0; + HEAP8[$2 | 0] = HEAPU8[($0 & 15) + 52048 | 0] | $3; + $4 = !$1 & $0 >>> 0 > 15 | ($1 | 0) != 0; + $0 = ($1 & 15) << 28 | $0 >>> 4; + $1 = $1 >>> 4 | 0; + if ($4) { + continue; + } + break; + } + } + return $2; +} + +function __cxxabiv1___28anonymous_20namespace_29__AtomicInt_unsigned_20char___load_28std____2___28anonymous_20namespace_29____libcpp_atomic_order_29($0) { + return unsigned_20char_20std____2___28anonymous_20namespace_29____libcpp_atomic_load_unsigned_20char__28unsigned_20char_20const__2c_20int_29(HEAP32[$0 >> 2]); +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______end_cap_28_29_20const($0) { + return std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____first_28_29_20const($0 + 8 | 0); +} + +function ftell($0) { + var $1 = 0, wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + $0 = __ftello($0); + $1 = i64toi32_i32$HIGH_BITS; + if (($1 | 0) >= 0 & $0 >>> 0 >= 2147483648 | ($1 | 0) > 0) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 61, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return -1; + } + return $0; +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______alloc_28_29_20const($0) { + return std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____second_28_29_20const($0 + 8 | 0); +} + +function std____2__ctype_char___20std____2___28anonymous_20namespace_29__make_std____2__ctype_char__2c_20std__nullptr_t_2c_20bool_2c_20unsigned_20int__28std__nullptr_t_2c_20bool_2c_20unsigned_20int_29() { + std____2__ctype_char___ctype_28unsigned_20long_20const__2c_20bool_2c_20unsigned_20long_29(83856, 0, 0, 1); +} + +function std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96______first_28_29_20const($0 + 12 | 0); +} + +function std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____capacity_28_29_20const($0) { + return (HEAP32[std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] | 0) / 20 | 0; +} + +function std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______destruct_at_end_28multi_marker__29($0, $1) { + std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______destruct_at_end_28multi_marker__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function __cxxabiv1___28anonymous_20namespace_29__GuardObject___cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads___cxa_guard_release_28_29($0) { + __cxxabiv1___28anonymous_20namespace_29__GuardByte__release_28_29($0); + __cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads__release_28_29($0 + 4 | 0); +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____destroy_vision__Point3d_float__2c_20void__28std____2__allocator_vision__Point3d_float____2c_20vision__Point3d_float___29($0, $1) { + std____2__allocator_vision__Point3d_float____destroy_28vision__Point3d_float___29($0, $1); +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__Point2d_float_____destroy_vision__Point2d_float__2c_20void__28std____2__allocator_vision__Point2d_float____2c_20vision__Point2d_float___29($0, $1) { + std____2__allocator_vision__Point2d_float____destroy_28vision__Point2d_float___29($0, $1); +} + +function std____2__vector_int_2c_20std____2__allocator_int______make_iter_28int_20const__29_20const($0, $1) { + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + $1 = HEAP32[std____2____wrap_iter_int_20const______wrap_iter_28int_20const__29($0 + 8 | 0, $1) >> 2]; + __stack_pointer = $0 + 16 | 0; + return $1; +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___out_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char__2c_20char__2c_20char___29_20const($0, $1, $2, $3, $4, $5, $6, $7) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0, $1, $2, $3, $4, $5, $6, $7) | 0; +} + +function std____2____split_buffer_int_2c_20std____2__allocator_int______ConstructTransaction___ConstructTransaction_28int___2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $3 = HEAP32[$1 >> 2]; + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = ($2 << 2) + $3; + return $0; +} + +function std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________2c_201_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function vsscanf($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 144 | 0; + __stack_pointer = $3; + $3 = memset($3, 0, 144); + HEAP32[$3 + 76 >> 2] = -1; + HEAP32[$3 + 44 >> 2] = $0; + HEAP32[$3 + 32 >> 2] = 242; + HEAP32[$3 + 84 >> 2] = $0; + $0 = vfscanf($3, $1, $2); + __stack_pointer = $3 + 144 | 0; + return $0; +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___in_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char__2c_20char__2c_20char___29_20const($0, $1, $2, $3, $4, $5, $6, $7) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1, $2, $3, $4, $5, $6, $7) | 0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____assign_28wchar_t_20const__29($0, $1) { + return std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______assign_external_28wchar_t_20const__29($0, $1); +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_________first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___PODSmallVector_28_29($0) { + var $1 = 0; + HEAP32[$0 + 8 >> 2] = $0 + 140; + $1 = $0 + 12 | 0; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 >> 2] = $1; + memset($1, 0, 128); + return $0; +} + +function vision__ScopedTimer__ScopedTimer_28char_20const__29($0, $1) { + vision__Timer__Timer_28_29($0); + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($0 + 16 | 0, $1); + vision__Timer__start_28_29($0); + return $0; +} + +function std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____operator___28_29_20const($0) { + return HEAP32[std____2____compressed_pair_vision__VisualDatabaseImpl__2c_20std____2__default_delete_vision__VisualDatabaseImpl____first_28_29_20const($0) >> 2]; +} + +function std____2__enable_if___is_swappable_float___value_20___20__is_swappable_int___value_2c_20void___type_20std____2__swap_float_2c_20int__28std____2__pair_float_2c_20int___2c_20std____2__pair_float_2c_20int___29($0, $1) { + std____2__pair_float_2c_20int___swap_28std____2__pair_float_2c_20int___29($0, $1); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator_5b_5d_28unsigned_20long_29($0, $1) { + return std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______get_pointer_28_29($0) + ($1 << 2) | 0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______alloc_28_29($0) { + return std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____second_28_29($0); +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____max_size_std____2__allocator_vision__Point3d_float___2c_20void__28std____2__allocator_vision__Point3d_float___20const__29($0) { + return std____2__allocator_vision__Point3d_float____max_size_28_29_20const($0); +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Point2d_float_____max_size_std____2__allocator_vision__Point2d_float___2c_20void__28std____2__allocator_vision__Point2d_float___20const__29($0) { + return std____2__allocator_vision__Point2d_float____max_size_28_29_20const($0); +} + +function std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl_____unique_ptr_28_29($0) { + std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl____reset_28vision__VisualDatabaseImpl__29($0, 0); + return $0; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________non_trivial_if_28_29($0); +} + +function std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______end_cap_28_29($0) { + return std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____first_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__pair_float_2c_20unsigned_20long___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____first_28_29($0) { + return std____2____compressed_pair_elem_float_2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, $1, $2) { + if (!$2) { + return HEAP32[$0 + 4 >> 2] == HEAP32[$1 + 4 >> 2]; + } + if (($0 | 0) == ($1 | 0)) { + return 1; + } + return !strcmp(std__type_info__name_28_29_20const($0), std__type_info__name_28_29_20const($1)); +} + +function std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___20std____2___28anonymous_20namespace_29__make_std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___codecvt_28unsigned_20long_29(83912, 1); +} + +function std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___20std____2___28anonymous_20namespace_29__make_std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___codecvt_28unsigned_20long_29(83904, 1); +} + +function std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_______alloc_28_29($0) { + return std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____second_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____first_28_29($0) { + return std____2____compressed_pair_elem_vision__DoGScaleInvariantDetector__FeaturePoint__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_________first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__pair_float_2c_20unsigned_20long___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__print_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1); + if (HEAPU8[$0 + 5 | 0] != 1) { + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1); + } +} + +function void_20std____2__locale____imp__install_std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___28std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82612)); +} + +function void_20std____2__locale____imp__install_std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___28std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82596)); +} + +function std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____time_put_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + std____2____time_put____time_put_28_29($1 + 8 | 0); + HEAP32[$1 >> 2] = 62048; + return $1; +} + +function std____2____to_address_helper_std____2____wrap_iter_wchar_t_20const___2c_20void_____call_28std____2____wrap_iter_wchar_t_20const___20const__29($0) { + return std____2__pointer_traits_std____2____wrap_iter_wchar_t_20const_____to_address_28std____2____wrap_iter_wchar_t_20const___29(HEAP32[$0 >> 2]); +} + +function std____2____compressed_pair_vision__DoGScaleInvariantDetector__FeaturePoint__2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____first_28_29($0) { + return std____2____compressed_pair_elem_vision__DoGScaleInvariantDetector__FeaturePoint__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_20std____2__allocator_wchar_t____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_wchar_t__2c_201_2c_20true_____get_28_29($0); +} + +function bool_20std____2__operator___int_20const___28std____2____wrap_iter_int_20const___20const__2c_20std____2____wrap_iter_int_20const___20const__29_1($0, $1) { + return (std____2____wrap_iter_int_20const____base_28_29_20const($0) | 0) == (std____2____wrap_iter_int_20const____base_28_29_20const($1) | 0); +} + +function bool_20std____2__operator___char_20const__2c_20char___28std____2____wrap_iter_char_20const___20const__2c_20std____2____wrap_iter_char___20const__29_1($0, $1) { + return (std____2____wrap_iter_char_20const____base_28_29_20const($0) | 0) == (std____2____wrap_iter_char____base_28_29_20const($1) | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($0, $1) { + var $2 = 0; + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__grow_28unsigned_20long_29($0, 1); + $2 = HEAP32[$0 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $2 + 1; + HEAP8[HEAP32[$0 >> 2] + $2 | 0] = $1; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int_____first_28_29_20const($0 + 8 | 0); +} + +function std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void______29($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_unsigned_20long___SwapAndRestore_28unsigned_20long__2c_20unsigned_20long_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = $1; + $3 = HEAP32[$1 >> 2]; + HEAP8[$0 + 8 | 0] = 1; + HEAP32[$0 + 4 >> 2] = $3; + HEAP32[$1 >> 2] = $2; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__hasRHSComponent_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + var $2 = 0; + $2 = HEAPU8[$0 + 5 | 0]; + if (($2 | 0) != 2) { + return !$2; + } + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] >> 2]]($0, $1) | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__hasFunction_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + var $2 = 0; + $2 = HEAPU8[$0 + 7 | 0]; + if (($2 | 0) != 2) { + return !$2; + } + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 8 >> 2]]($0, $1) | 0; +} + +function void_20std____2__allocator_traits_std____2__allocator_unsigned_20short____construct_unsigned_20short_2c_20void__28std____2__allocator_unsigned_20short___2c_20unsigned_20short__29($0, $1) { + void_20std____2__allocator_unsigned_20short___construct_unsigned_20short__28unsigned_20short__29($0, $1); +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______alloc_28_29_20const($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int_____second_28_29_20const($0 + 8 | 0); +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___20std____2___28anonymous_20namespace_29__make_std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___codecvt_28unsigned_20long_29(83888, 1); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20int____2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20int____2c_20void__28std____2__allocator_std____2__pair_float_2c_20int____29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function decltype_28std____2____unwrap_iter_impl_wchar_t__2c_20true_____apply_28declval_wchar_t___28_29_29_29_20std____2____unwrap_iter_wchar_t__2c_20std____2____unwrap_iter_impl_wchar_t__2c_20true___28wchar_t__29($0) { + return std____2____unwrap_iter_impl_wchar_t__2c_20true_____apply_28wchar_t__29($0); +} + +function checkint($0) { + var $1 = 0, $2 = 0; + $2 = $0 >>> 23 & 255; + $1 = 0; + label$1: { + if ($2 >>> 0 < 127) { + break label$1; + } + $1 = 2; + if ($2 >>> 0 > 150) { + break label$1; + } + $2 = 1 << 150 - $2; + $1 = 0; + if ($2 - 1 & $0) { + break label$1; + } + $1 = $0 & $2 ? 1 : 2; + } + return $1; +} + +function std____2__shared_ptr_vision__Keyframe_96____shared_ptr_28std____2__shared_ptr_vision__Keyframe_96___20const__29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + if ($1) { + std____2____shared_weak_count____add_shared_28_29($1); + } + return $0; +} + +function std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____money_put_28unsigned_20long_29($0, $1) { + $1 = std____2____money_put_char_____money_put_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 63156; + return $1; +} + +function std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____money_get_28unsigned_20long_29($0, $1) { + $1 = std____2____money_get_char_____money_get_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 62828; + return $1; +} + +function std____2__locale__id____init_28_29($0) { + $0 = $0 | 0; + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = int_20std____2___28anonymous_20namespace_29____libcpp_atomic_add_int_2c_20int__28int__2c_20int_2c_20int_29(), + HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; +} + +function std____2__iterator_traits_wchar_t____difference_type_20std____2__distance_wchar_t___28wchar_t__2c_20wchar_t__29($0, $1) { + return std____2__iterator_traits_wchar_t____difference_type_20std____2____distance_wchar_t___28wchar_t__2c_20wchar_t__2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96_____first_28_29($0) { + return std____2____compressed_pair_elem_vision__Keyframe_96___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_float_2c_20std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true____first_28_29($0) { + return std____2____compressed_pair_elem_float_2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2___28anonymous_20namespace_29____fake_bind____fake_bind_28void_20_28std____2__locale__id____29_28_29_2c_20std____2__locale__id__29($0, $1, $2) { + var $3 = 0; + $3 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 >> 2] = $2; + return $0; +} + +function genBWImageFull_28unsigned_20char__2c_20int_2c_20int_2c_20int__2c_20int__29($0, $1, $2, $3, $4) { + HEAP32[$3 >> 2] = $1; + HEAP32[$4 >> 2] = $2; + $2 = Math_imul($1, $2); + $1 = dlmalloc($2); + if (!$1) { + arLog(0, 3, 1790, 0); + exit(1); + abort(); + } + wasm2js_memory_copy($1, $0, $2); + return $1; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____capacity_28_29_20const($0) { + return (HEAP32[std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] | 0) / 12 | 0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____operator__28wchar_t_20const__29($0, $1) { + return std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____assign_28wchar_t_20const__29($0, $1); +} + +function std____2____compressed_pair_unsigned_20long_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_________first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________2c_201_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__hasArray_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + var $2 = 0; + $2 = HEAPU8[$0 + 6 | 0]; + if (($2 | 0) != 2) { + return !$2; + } + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0, $1) | 0; +} + +function vision__BinaryFeatureStore___BinaryFeatureStore_28_29($0) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____vector_28_29($0 + 16 | 0); + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____vector_28_29($0 + 4 | 0); + return $0; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96_____first_28_29_20const($0 + 8 | 0); +} + +function std____2__allocator_traits_std____2__allocator_vision__Node_96______deallocate_28std____2__allocator_vision__Node_96_____2c_20vision__Node_96____2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_vision__Node_96_____deallocate_28vision__Node_96____2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const($0, $1) { + return std____2__hash_int___operator_28_29_28int_29_20const($0, HEAP32[$1 >> 2]); +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void___________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__PriorityQueueItem_96____2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__PriorityQueueItem_96____2c_20void__28std____2__allocator_vision__PriorityQueueItem_96____29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function bool_20std____2__operator___wchar_t___28std____2____wrap_iter_wchar_t___20const__2c_20std____2____wrap_iter_wchar_t___20const__29($0, $1) { + return bool_20std____2__operator___wchar_t___28std____2____wrap_iter_wchar_t___20const__2c_20std____2____wrap_iter_wchar_t___20const__29_1($0, $1) ^ 1; +} + +function void_20std____2__locale____imp__install_std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___28std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82604)); +} + +function void_20std____2__locale____imp__install_std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___28std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82588)); +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____max_size_std____2__allocator_vision__FeaturePoint__2c_20void__28std____2__allocator_vision__FeaturePoint__20const__29($0) { + return std____2__allocator_vision__FeaturePoint___max_size_28_29_20const($0); +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______alloc_28_29_20const($0) { + return std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96_____second_28_29_20const($0 + 8 | 0); +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______clear_28_29($0) { + std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______base_destruct_at_end_28vision__Node_96__20const___29($0, HEAP32[$0 >> 2]); +} + +function std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______clear_28_29($0) { + std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________destruct_at_end_28vision__Point3d_float___29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________end_cap_28_29($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int______first_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____destroy_vision__FeaturePoint_2c_20void__28std____2__allocator_vision__FeaturePoint___2c_20vision__FeaturePoint__29($0, $1) { + std____2__allocator_vision__FeaturePoint___destroy_28vision__FeaturePoint__29($0, $1); +} + +function std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______29($0) { + return $0; +} + +function std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int________alloc_28_29($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int______second_28_29($0 + 12 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_char_20const____SwapAndRestore_28char_20const___2c_20char_20const__29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = $1; + $3 = HEAP32[$1 >> 2]; + HEAP8[$0 + 8 | 0] = 1; + HEAP32[$0 + 4 >> 2] = $3; + HEAP32[$1 >> 2] = $2; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___dropBack_28unsigned_20long_29($0, $1) { + HEAP32[$0 + 4 >> 2] = HEAP32[$0 >> 2] + ($1 << 2); +} + +function void_20std____2__locale____imp__install_std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___28std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82580)); +} + +function std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char______time_put_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char______time_put_28_29_1($0)); +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______time_get_28_29_1($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______time_get_28_29($0)); +} + +function std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____second_28_29($0) { + return std____2____compressed_pair_elem_std____2____sso_allocator_std____2__locale__facet__2c_2030ul__2c_201_2c_20false_____get_28_29($0 + 8 | 0); +} + +function std____2____compressed_pair_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_20std____2__allocator_unsigned_20char____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_201_2c_20true_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_unsigned_20int___SwapAndRestore_28unsigned_20int__2c_20unsigned_20int_29($0, $1) { + var $2 = 0; + HEAP32[$0 >> 2] = $1; + $2 = HEAP32[$1 >> 2]; + HEAP8[$0 + 8 | 0] = 1; + HEAP32[$0 + 4 >> 2] = $2; + HEAP32[$1 >> 2] = -1; + return $0; +} + +function void_20std____2__allocator_traits_std____2__allocator_unsigned_20char____construct_unsigned_20char_2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__29($0, $1) { + void_20std____2__allocator_unsigned_20char___construct_unsigned_20char__28unsigned_20char__29($0, $1); +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______end_cap_28_29($0) { + return std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____first_28_29($0 + 8 | 0); +} + +function vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____queryKeyframe_28_29_20const($0, $1) { + std____2__shared_ptr_vision__Keyframe_96____shared_ptr_28std____2__shared_ptr_vision__Keyframe_96___20const__29($0, $1 - -64 | 0); +} + +function vision__Logger__getInstance_28_29() { + label$1: { + if (Atomics.load(HEAPU8, 77976) & 1) { + break label$1; + } + if (!__cxa_guard_acquire(77976)) { + break label$1; + } + vision__Logger__Logger_28_29(77964); + __cxa_atexit(18, 0, 1024); + __cxa_guard_release(77976); + } + return 77964; +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______alloc_28_29($0) { + return std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____second_28_29($0 + 8 | 0); +} + +function std____2__allocator_traits_std____2__allocator_unsigned_20short____deallocate_28std____2__allocator_unsigned_20short___2c_20unsigned_20short__2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_unsigned_20short___deallocate_28unsigned_20short__2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true___operator_28_29_28int_20const__29_20const($0, $1) { + return std____2__hash_int___operator_28_29_28int_29_20const($0, HEAP32[$1 >> 2]); +} + +function std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________end_cap_28_29($0) { + return std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96______first_28_29($0 + 12 | 0); +} + +function std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const______first_28_29_20const($0 + 12 | 0); +} + +function std____2__ios_base__init_28void__29($0, $1) { + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 24 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 4098; + HEAP32[$0 + 8 >> 2] = 6; + HEAP32[$0 + 16 >> 2] = !$1; + memset($0 + 32 | 0, 0, 40); + std____2__locale__locale_28_29($0 + 28 | 0); +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___20std____2___28anonymous_20namespace_29__make_std____2__codecvt_char_2c_20char_2c_20__mbstate_t__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__codecvt_char_2c_20char_2c_20__mbstate_t___codecvt_28unsigned_20long_29(83880, 1); +} + +function std____2____split_buffer_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96________alloc_28_29($0) { + return std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96______second_28_29($0 + 12 | 0); +} + +function arLog($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + if (!(!HEAPU8[$2 | 0] | (!$2 | HEAP32[18566] > ($1 | 0)))) { + HEAP32[$0 + 12 >> 2] = $3; + arLogv($2, $1, $2, $3); + } + __stack_pointer = $0 + 16 | 0; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____capacity_28_29_20const($0) { + return (HEAP32[std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] | 0) / 20 | 0; +} + +function std____2____to_address_helper_std____2____wrap_iter_char_20const___2c_20void_____call_28std____2____wrap_iter_char_20const___20const__29($0) { + return std____2__pointer_traits_std____2____wrap_iter_char_20const_____to_address_28std____2____wrap_iter_char_20const___29(HEAP32[$0 >> 2]); +} + +function std____2____num_get_base____get_base_28std____2__ios_base__29($0) { + label$1: { + $0 = std____2__ios_base__flags_28_29_20const($0) & 74; + if ($0) { + if (($0 | 0) == 64) { + return 8; + } + if (($0 | 0) != 8) { + break label$1; + } + return 16; + } + return 0; + } + return 10; +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20int_20const__2c_20void__28std____2__allocator_int___2c_20int__2c_20int_20const__29($0, $1, $2) { + void_20std____2__allocator_int___construct_int_2c_20int_20const___28int__2c_20int_20const__29($0, $1, $2); +} + +function threadWaitQuit($0) { + var $1 = 0, $2 = 0; + $1 = $0 + 16 | 0; + __pthread_mutex_lock($1); + HEAP32[$0 + 4 >> 2] = 2; + pthread_cond_signal($0 + 40 | 0); + $2 = $0 + 88 | 0; + while (1) { + if (HEAP32[$0 + 8 >> 2] != 2) { + pthread_cond_wait($2, $1); + continue; + } + break; + } + return 0; +} + +function std____2__shared_ptr_unsigned_20char___shared_ptr_28std____2__shared_ptr_unsigned_20char__20const__29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + $1 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1; + if ($1) { + std____2____shared_weak_count____add_shared_28_29($1); + } + return $0; +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_iterator_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter____allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____call_once_param_std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind______operator_28_29_28_29($0) { + void_20std____2____call_once_param_std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind________execute___28std____2____tuple_indices___29($0); +} + +function std____2___28anonymous_20namespace_29____fake_bind__operator_28_29_28_29_20const($0) { + var $1 = 0, $2 = 0; + $1 = HEAP32[$0 + 8 >> 2]; + $2 = HEAP32[$0 >> 2] + ($1 >> 1) | 0; + $0 = HEAP32[$0 + 4 >> 2]; + $0 = $1 & 1 ? HEAP32[HEAP32[$2 >> 2] + $0 >> 2] : $0; + FUNCTION_TABLE[$0 | 0]($2); +} + +function void_20std____2__locale____imp__install_std____2__codecvt_char_2c_20char_2c_20__mbstate_t___28std____2__codecvt_char_2c_20char_2c_20__mbstate_t___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82572)); +} + +function virtual_20thunk_20to_20std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29($0) { + $0 = $0 | 0; + return std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29_1(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0) | 0; +} + +function virtual_20thunk_20to_20std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29($0) { + $0 = $0 | 0; + return std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29_1(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0) | 0; +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____data_28_29_20const($0) { + return std____2__pair_float_2c_20int___20std____2____to_address_std____2__pair_float_2c_20int___28std____2__pair_float_2c_20int___29(HEAP32[$0 >> 2]); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______first_28_29($0) { + return std____2____compressed_pair_elem_std____2__pair_float_2c_20unsigned_20long___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution__getBaseName_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($0, HEAP32[(HEAP32[$1 + 8 >> 2] << 2) + 74216 >> 2]); +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______time_get_28_29($0) { + $0 = $0 | 0; + std____2____time_get_c_storage_wchar_t______time_get_c_storage_28_29($0 + 8 | 0); + return std____2__locale__facet___facet_28_29($0) | 0; +} + +function std____2__enable_if_is_move_constructible_float___value_20___20is_move_assignable_float___value_2c_20void___type_20std____2__swap_float__28float__2c_20float__29($0, $1) { + var $2 = Math_fround(0); + $2 = HEAPF32[$0 >> 2]; + HEAPF32[$0 >> 2] = HEAPF32[$1 >> 2]; + HEAPF32[$1 >> 2] = $2; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($0) + $1 | 0; +} + +function std____2__allocator_traits_std____2__allocator_vision__match_t____deallocate_28std____2__allocator_vision__match_t___2c_20vision__match_t__2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_vision__match_t___deallocate_28vision__match_t__2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2__allocator_traits_std____2__allocator_unsigned_20char____deallocate_28std____2__allocator_unsigned_20char___2c_20unsigned_20char__2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_unsigned_20char___deallocate_28unsigned_20char__2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true_____unordered_map_hasher_28_29($0) { + return $0; +} + +function std____2____compressed_pair_std____2__pair_float_2c_20unsigned_20long___2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____first_28_29($0) { + return std____2____compressed_pair_elem_std____2__pair_float_2c_20unsigned_20long___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int_____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20int___2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_20std____2__allocator_char____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___allocator_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + HEAP32[$0 >> 2] = $1; + wasm2js_i32$0 = $0, wasm2js_i32$1 = strlen($1) + $1 | 0, HEAP32[wasm2js_i32$0 + 4 >> 2] = wasm2js_i32$1; + return $0; +} + +function std____2__less_vision__PriorityQueueItem_96____operator_28_29_28vision__PriorityQueueItem_96__20const__2c_20vision__PriorityQueueItem_96__20const__29_20const($0, $1, $2) { + return vision__PriorityQueueItem_96___operator__28vision__PriorityQueueItem_96__20const__29_20const($1, $2); +} + +function std____2____to_address_helper_std____2____wrap_iter_int_20const___2c_20void_____call_28std____2____wrap_iter_int_20const___20const__29($0) { + return std____2__pointer_traits_std____2____wrap_iter_int_20const_____to_address_28std____2____wrap_iter_int_20const___29(HEAP32[$0 >> 2]); +} + +function std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____clear_28_29($0) { + std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______destruct_at_end_28vision__FeaturePoint__29($0, HEAP32[$0 + 4 >> 2]); +} + +function bool_20std____2__operator___wchar_t_2c_20void_20_28__29_28void__29__28std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29__20const__2c_20std__nullptr_t_29($0, $1) { + return std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___operator_20bool_28_29_20const($0) ^ 1; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______end_cap_28_29($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int_____first_28_29($0 + 8 | 0); +} + +function std____2__pointer_traits_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________pointer_to_28std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void______29($0) { + return $0; +} + +function std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___deallocate_28vision__DoGScaleInvariantDetector__FeaturePoint__2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, Math_imul($2, 36), 4); +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true_____unordered_map_equal_28_29($0) { + return $0; +} + +function std____2____hash_key_value_types_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int______get_ptr_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int___29($0) { + return std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____get_value_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Node_96__20const____2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__Node_96__20const____2c_20void__28std____2__allocator_vision__Node_96__20const____29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Node_96______max_size_std____2__allocator_vision__Node_96____2c_20void__28std____2__allocator_vision__Node_96____20const__29($0) { + return std____2__allocator_vision__Node_96_____max_size_28_29_20const($0); +} + +function std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______alloc_28_29($0) { + return std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int_____second_28_29($0 + 8 | 0); +} + +function std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96_____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__PriorityQueueItem_96___2c_201_2c_20true_____get_28_29_20const($0); +} + +function __ftello($0) { + var $1 = 0, $2 = 0, $3 = 0; + if (HEAP32[$0 + 76 >> 2] < 0) { + $1 = __ftello_unlocked($0); + return $1; + } + $2 = __lockfile($0); + $1 = __ftello_unlocked($0); + $3 = i64toi32_i32$HIGH_BITS; + if ($2) { + __unlockfile($0); + } + i64toi32_i32$HIGH_BITS = $3; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $0 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1); +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____data_28_29_20const($0) { + return vision__PriorityQueueItem_96___20std____2____to_address_vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___29(HEAP32[$0 >> 2]); +} + +function std____2__pair_unsigned_20int_20const_2c_20unsigned_20int___pair_unsigned_20int_2c_20unsigned_20int_2c_20_28void__290__28std____2__pair_unsigned_20int_2c_20unsigned_20int____29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; + return $0; +} + +function std____2__char_traits_wchar_t___not_eof_28unsigned_20int_29($0) { + if (std____2__char_traits_wchar_t___eq_int_type_28unsigned_20int_2c_20unsigned_20int_29($0, std____2__char_traits_wchar_t___eof_28_29())) { + $0 = std____2__char_traits_wchar_t___eof_28_29() ^ -1; + } + return $0; +} + +function std____2__allocator_traits_std____2__allocator_std____2__pair_float_2c_20int_____allocate_28std____2__allocator_std____2__pair_float_2c_20int____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_std____2__pair_float_2c_20int____allocate_28unsigned_20long_29($0, $1); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function shr($0, $1) { + var $2 = 0, $3 = 0; + label$1: { + if ($1 >>> 0 <= 31) { + $3 = HEAP32[$0 + 4 >> 2]; + $2 = $0; + break label$1; + } + $1 = $1 - 32 | 0; + $2 = $0 + 4 | 0; + } + $2 = HEAP32[$2 >> 2]; + HEAP32[$0 + 4 >> 2] = $3 >>> $1; + HEAP32[$0 >> 2] = $3 << 32 - $1 | $2 >>> $1; +} + +function legalstub$dynCall_iiiiiijj($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; + return dynCall_iiiiiijj($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) | 0; +} + +function trackingInitQuit($0) { + var $1 = 0; + if (!$0) { + arLog(0, 3, 39109, 0); + return -1; + } + $1 = HEAP32[$0 >> 2]; + if ($1) { + threadWaitQuit($1); + $1 = threadGetArg(HEAP32[$0 >> 2]); + if ($1) { + dlfree(HEAP32[$1 + 4 >> 2]); + dlfree($1); + } + threadFree($0); + } + return 0; +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____assign_28char_20const__29($0, $1) { + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______assign_external_28char_20const__29($0, $1); +} + +function std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_____capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 1; +} + +function std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20int____2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function bool_20std____2__operator___wchar_t___28std____2____wrap_iter_wchar_t___20const__2c_20std____2____wrap_iter_wchar_t___20const__29_1($0, $1) { + return (std____2____wrap_iter_wchar_t____base_28_29_20const($0) | 0) == (std____2____wrap_iter_wchar_t____base_28_29_20const($1) | 0); +} + +function strtof($0, $1) { + var $2 = 0, $3 = Math_fround(0); + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + strtox_1($2, $0, $1, 0); + $3 = __trunctfsf2(HEAP32[$2 >> 2], HEAP32[$2 + 4 >> 2], HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2]); + __stack_pointer = $2 + 16 | 0; + return $3; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______end_cap_28_29($0) { + return std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96_____first_28_29($0 + 8 | 0); +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______clear_28_29($0) { + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______base_destruct_at_end_28vision__Point3d_float___29($0, HEAP32[$0 >> 2]); +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______clear_28_29($0) { + std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______base_destruct_at_end_28vision__Point2d_float___29($0, HEAP32[$0 >> 2]); +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const_____first_28_29_20const($0 + 8 | 0); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_29($0, $1) { + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____resize_28unsigned_20long_2c_20char_29($0, $1, 0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________2c_201_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function fmt_o($0, $1, $2) { + var $3 = 0; + if ($0 | $1) { + while (1) { + $2 = $2 - 1 | 0; + HEAP8[$2 | 0] = $0 & 7 | 48; + $3 = !$1 & $0 >>> 0 > 7 | ($1 | 0) != 0; + $0 = ($1 & 7) << 29 | $0 >>> 3; + $1 = $1 >>> 3 | 0; + if ($3) { + continue; + } + break; + } + } + return $2; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_unsigned_20short____max_size_std____2__allocator_unsigned_20short__2c_20void__28std____2__allocator_unsigned_20short__20const__29($0) { + return std____2__allocator_unsigned_20short___max_size_28_29_20const($0); +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______alloc_28_29($0) { + return std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96_____second_28_29($0 + 8 | 0); +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______alloc_28_29_20const($0) { + return std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const_____second_28_29_20const($0 + 8 | 0); +} + +function std____2__unique_ptr_std____2__locale__facet_2c_20std____2___28anonymous_20namespace_29__release____unique_ptr_28_29($0) { + std____2__unique_ptr_std____2__locale__facet_2c_20std____2___28anonymous_20namespace_29__release___reset_28std____2__locale__facet__29($0); + return $0; +} + +function std____2__enable_if_is_move_constructible_wchar_t___value_20___20is_move_assignable_wchar_t___value_2c_20void___type_20std____2__swap_wchar_t__28wchar_t__2c_20wchar_t__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator_5b_5d_28unsigned_20long_29($0, $1) { + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_pointer_28_29($0) + $1 | 0; +} + +function std____2__allocator_traits_std____2__allocator_vision__PriorityQueueItem_96_____allocate_28std____2__allocator_vision__PriorityQueueItem_96____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_vision__PriorityQueueItem_96____allocate_28unsigned_20long_29($0, $1); +} + +function std____2____tuple_leaf_0ul_2c_20std____2___28anonymous_20namespace_29____fake_bind___2c_20false_____tuple_leaf_std____2___28anonymous_20namespace_29____fake_bind_2c_20void__28std____2___28anonymous_20namespace_29____fake_bind___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float______first_28_29_20const($0 + 12 | 0); +} + +function std____2____compressed_pair_elem_std____2____sso_allocator_std____2__locale__facet__2c_2030ul__2c_201_2c_20false_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____sso_allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_______2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution__getBaseName_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__29($0, HEAP32[(HEAP32[$1 + 8 >> 2] << 2) + 74240 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__Image____construct_vision__Image_2c_20void__28std____2__allocator_vision__Image___2c_20vision__Image__29($0, $1) { + void_20std____2__allocator_vision__Image___construct_vision__Image__28vision__Image__29($0, $1); +} + +function virtual_20thunk_20to_20std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29_1($0) { + $0 = $0 | 0; + std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29_2(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0); +} + +function virtual_20thunk_20to_20std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29_1($0) { + $0 = $0 | 0; + std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29_2(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0); +} + +function std____2__numpunct_wchar_t____numpunct_28_29($0) { + $0 = $0 | 0; + HEAP32[$0 >> 2] = 59200; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0 + 16 | 0); + return std____2__locale__facet___facet_28_29($0) | 0; +} + +function std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__PriorityQueueItem_96____2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function jpeg_idct_1x1($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + HEAP8[HEAP32[$3 >> 2] + $4 | 0] = HEAPU8[(HEAP32[$0 + 336 >> 2] + (Math_imul(HEAP32[HEAP32[$1 + 84 >> 2] >> 2], HEAPU16[$2 >> 1]) + 4100 >>> 3 & 1023) | 0) - 384 | 0]; +} + +function decltype_28std____2____unwrap_iter_impl_char__2c_20true_____apply_28declval_char___28_29_29_29_20std____2____unwrap_iter_char__2c_20std____2____unwrap_iter_impl_char__2c_20true___28char__29($0) { + return std____2____unwrap_iter_impl_char__2c_20true_____apply_28char__29($0); +} + +function bool_20std____2__operator___char___28std____2____wrap_iter_char___20const__2c_20std____2____wrap_iter_char___20const__29($0, $1) { + return bool_20std____2__operator___char___28std____2____wrap_iter_char___20const__2c_20std____2____wrap_iter_char___20const__29_1($0, $1) ^ 1; +} + +function trackingInitStart($0, $1) { + var $2 = 0; + if (!($1 ? $0 : 0)) { + arLog(0, 3, 38848, 0); + return -1; + } + $2 = threadGetArg($0); + if (!$2) { + arLog(0, 3, 39267, 0); + return -1; + } + __memcpy(HEAP32[$2 + 4 >> 2], $1, HEAP32[$2 + 8 >> 2]); + threadStartSignal($0); + return 0; +} + +function threadEndWait($0) { + var $1 = 0, $2 = 0; + $1 = $0 + 16 | 0; + __pthread_mutex_lock($1); + $2 = $0 + 88 | 0; + while (1) { + if (!HEAP32[$0 + 8 >> 2]) { + pthread_cond_wait($2, $1); + continue; + } + break; + } + HEAP32[$0 + 8 >> 2] = 0; + __pthread_mutex_unlock($1); + return 0; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______copy_assign_alloc_28std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float____20const__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) {} + +function std____2__moneypunct_wchar_t_2c_20false___do_negative_sign_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28unsigned_20long_2c_20wchar_t_29($0, 1, 45); +} + +function std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_____capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function shl($0, $1) { + var $2 = 0, $3 = 0; + label$1: { + if ($1 >>> 0 <= 31) { + $3 = HEAP32[$0 >> 2]; + $2 = $0 + 4 | 0; + break label$1; + } + $1 = $1 - 32 | 0; + $2 = $0; + } + $2 = HEAP32[$2 >> 2]; + HEAP32[$0 >> 2] = $3 << $1; + HEAP32[$0 + 4 >> 2] = $2 << $1 | $3 >>> 32 - $1; +} + +function __cxx_global_array_dtor_136($0) { + $0 = $0 | 0; + $0 = 83832; + while (1) { + $0 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($0 - 12 | 0); + if (($0 | 0) != 83808) { + continue; + } + break; + } +} + +function __cxx_global_array_dtor_109($0) { + $0 = $0 | 0; + $0 = 83760; + while (1) { + $0 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($0 - 12 | 0); + if (($0 | 0) != 83472) { + continue; + } + break; + } +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__Node_96______destroy_vision__Node_96___2c_20void__28std____2__allocator_vision__Node_96_____2c_20vision__Node_96____29($0, $1) { + std____2__allocator_vision__Node_96_____destroy_28vision__Node_96____29($0, $1); +} + +function std____2__pair_int_20const_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______pair_28_29($0) { + std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______vector_28_29($0 + 4 | 0); + return $0; +} + +function std____2__moneypunct_wchar_t_2c_20true___do_negative_sign_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28unsigned_20long_2c_20wchar_t_29($0, 1, 45); +} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char____operator___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____20_28__29_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29_29($0, $1) { + return FUNCTION_TABLE[$1 | 0]($0) | 0; +} + +function std____2__allocator_traits_std____2__allocator_vision__Image____deallocate_28std____2__allocator_vision__Image___2c_20vision__Image__2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_vision__Image___deallocate_28vision__Image__2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter____deallocate_28std____2__shared_ptr_vision__FrontendSinkFilter___2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 3, 4); +} + +function std____2____split_buffer_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; + return $0; +} + +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] | 0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_std____2__pair_float_2c_20unsigned_20long____allocator_28_29($0); +} + +function bool_20std____2__operator___char_2c_20void_20_28__29_28void__29__28std____2__unique_ptr_char_2c_20void_20_28__29_28void__29__20const__2c_20std__nullptr_t_29($0, $1) { + return std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___operator_20bool_28_29_20const($0) ^ 1; +} + +function __cxx_global_array_dtor_70($0) { + $0 = $0 | 0; + $0 = 83160; + while (1) { + $0 = std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29($0 - 12 | 0); + if (($0 | 0) != 82992) { + continue; + } + break; + } +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___empty_28_29_20const($0) { + return HEAP32[$0 >> 2] == HEAP32[$0 + 4 >> 2]; +} + +function virtual_20thunk_20to_20std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29($0) { + $0 = $0 | 0; + return std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29_1(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0) | 0; +} + +function virtual_20thunk_20to_20std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29($0) { + $0 = $0 | 0; + return std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29_1(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0) | 0; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__match_t____max_size_std____2__allocator_vision__match_t__2c_20void__28std____2__allocator_vision__match_t__20const__29($0) { + return std____2__allocator_vision__match_t___max_size_28_29_20const($0); +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_unsigned_20char____max_size_std____2__allocator_unsigned_20char__2c_20void__28std____2__allocator_unsigned_20char__20const__29($0) { + return std____2__allocator_unsigned_20char___max_size_28_29_20const($0); +} + +function std____2__numpunct_char____numpunct_28_29($0) { + $0 = $0 | 0; + HEAP32[$0 >> 2] = 59160; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0 + 12 | 0); + return std____2__locale__facet___facet_28_29($0) | 0; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____seekpos_28std____2__fpos___mbstate_t__2c_20unsigned_20int_29($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + std____2__fpos___mbstate_t___fpos_28long_20long_29($0, -1, -1); +} + +function std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________end_cap_28_29($0) { + return std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const______first_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Point3d_float____2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__Point3d_float____2c_20void__28std____2__allocator_vision__Point3d_float____29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function __fpclassifyl($0, $1, $2, $3) { + var $4 = 0, $5 = 0; + $4 = $3 & 65535; + $5 = $3 >>> 16 & 32767; + label$1: { + if (($5 | 0) != 32767) { + $3 = 4; + if ($5) { + break label$1; + } + return $0 | $2 | ($1 | $4) ? 3 : 2; + } + $3 = !($0 | $2 | ($1 | $4)); + } + return $3; +} + +function $28anonymous_20namespace_29__BumpPointerAllocator__grow_28_29($0) { + var $1 = 0, $2 = 0; + $1 = dlmalloc(4096); + if (!$1) { + std__terminate_28_29(); + abort(); + } + $2 = HEAP32[$0 + 4096 >> 2]; + HEAP32[$1 + 4 >> 2] = 0; + HEAP32[$1 >> 2] = $2; + HEAP32[$0 + 4096 >> 2] = $1; +} + +function vision__Image__Image_28_29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 + 12 >> 2] = 0; + std____2__shared_ptr_unsigned_20char___shared_ptr_28_29($0 + 24 | 0); + return $0; +} + +function std____2__vector_int_2c_20std____2__allocator_int______make_iter_28int__29($0, $1) { + $0 = __stack_pointer - 16 | 0; + __stack_pointer = $0; + $1 = HEAP32[std____2____wrap_iter_int______wrap_iter_28int__29($0 + 8 | 0, $1) >> 2]; + __stack_pointer = $0 + 16 | 0; + return $1; +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______time_get_28_29($0) { + $0 = $0 | 0; + std____2____time_get_c_storage_char______time_get_c_storage_28_29($0 + 8 | 0); + return std____2__locale__facet___facet_28_29($0) | 0; +} + +function std____2__iterator_traits_char____difference_type_20std____2__distance_char___28char__2c_20char__29($0, $1) { + return std____2__iterator_traits_char____difference_type_20std____2____distance_char___28char__2c_20char__2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function std____2__enable_if_is_move_constructible_float____value_20___20is_move_assignable_float____value_2c_20void___type_20std____2__swap_float___28float___2c_20float___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t____codecvt_28_29($0) { + $0 = $0 | 0; + HEAP32[$0 >> 2] = 59112; + if (HEAP32[$0 + 8 >> 2] != (std____2____cloc_28_29() | 0)) { + freelocale(HEAP32[$0 + 8 >> 2]); + } + return std____2__locale__facet___facet_28_29($0) | 0; +} + +function std____2____split_buffer_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const________alloc_28_29($0) { + return std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const______second_28_29($0 + 12 | 0); +} + +function output_message($0) { + $0 = $0 | 0; + var $1 = 0; + $1 = __stack_pointer - 224 | 0; + __stack_pointer = $1; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0, $1 + 16 | 0); + HEAP32[$1 >> 2] = $1 + 16; + fiprintf(HEAP32[12232], 38604, $1); + __stack_pointer = $1 + 224 | 0; +} + +function void_20std____2__iter_swap_wchar_t__2c_20wchar_t___28wchar_t__2c_20wchar_t__29($0, $1) { + std____2__enable_if_is_move_constructible_wchar_t___value_20___20is_move_assignable_wchar_t___value_2c_20void___type_20std____2__swap_wchar_t__28wchar_t__2c_20wchar_t__29($0, $1); +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____data_28_29_20const($0) { + return std____2__locale__facet___20std____2____to_address_std____2__locale__facet___28std____2__locale__facet___29(HEAP32[$0 >> 2]); +} + +function std____2__unique_ptr_vision__Keyframe_96__2c_20std____2__default_delete_vision__Keyframe_96______unique_ptr_28_29($0) { + std____2__unique_ptr_vision__Keyframe_96__2c_20std____2__default_delete_vision__Keyframe_96_____reset_28vision__Keyframe_96___29($0, 0); + return $0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____operator__28char_20const__29($0, $1) { + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____assign_28char_20const__29($0, $1); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___isInline_28_29_20const($0) { + return HEAP32[$0 >> 2] == ($0 + 12 | 0); +} + +function void_20std____2____debug_db_insert_c_std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____28std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____29($0) {} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function arMatrixAllocf($0, $1) { + var $2 = 0, $3 = 0; + $2 = dlmalloc(12); + if ($2) { + $3 = dlmalloc(Math_imul($0, $1) << 2); + HEAP32[$2 >> 2] = $3; + if (!$3) { + dlfree($2); + return 0; + } + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $0; + $3 = $2; + } + return $3; +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint_____ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__allocator_traits_std____2__allocator_multi_marker____deallocate_28std____2__allocator_multi_marker___2c_20multi_marker__2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_multi_marker___deallocate_28multi_marker__2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint_____first_28_29_20const($0 + 12 | 0); +} + +function std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const_____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Node_96__20const___2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return $0; +} + +function decltype_28std____2____unwrap_iter_impl_int__2c_20true_____apply_28declval_int___28_29_29_29_20std____2____unwrap_iter_int__2c_20std____2____unwrap_iter_impl_int__2c_20true___28int__29($0) { + return std____2____unwrap_iter_impl_int__2c_20true_____apply_28int__29($0); +} + +function arMatrixAlloc($0, $1) { + var $2 = 0, $3 = 0; + $2 = dlmalloc(12); + if ($2) { + $3 = dlmalloc(Math_imul($0, $1) << 3); + HEAP32[$2 >> 2] = $3; + if (!$3) { + dlfree($2); + return 0; + } + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $0; + $3 = $2; + } + return $3; +} + +function $28anonymous_20namespace_29__itanium_demangle__QualType__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $0 = HEAP32[$0 + 12 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___pop_back_28_29($0) { + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] - 4; +} + +function void_20std____2__allocator_traits_std____2__allocator_unsigned_20short____destroy_unsigned_20short_2c_20void__28std____2__allocator_unsigned_20short___2c_20unsigned_20short__29($0, $1) { + std____2__allocator_unsigned_20short___destroy_28unsigned_20short__29($0, $1); +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______clear_28_29($0) { + std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______base_destruct_at_end_28vision__FeaturePoint__29($0, HEAP32[$0 >> 2]); +} + +function std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______clear_28_29($0) { + std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________destruct_at_end_28vision__Node_96____29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20int___2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function __cxxabiv1____fundamental_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + return is_equal_28std__type_info_20const__2c_20std__type_info_20const__2c_20bool_29($0, $1, 0) | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ArrayType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $0 = HEAP32[$0 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0, $1); +} + +function vision__OrientationAssignment___OrientationAssignment_28_29($0) { + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image_____vector_28_29($0 + 40 | 0); + std____2__vector_float_2c_20std____2__allocator_float_____vector_28_29($0 + 28 | 0); + return $0; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______copy_assign_alloc_28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint___20const__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) {} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____seekpos_28std____2__fpos___mbstate_t__2c_20unsigned_20int_29($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + std____2__fpos___mbstate_t___fpos_28long_20long_29($0, -1, -1); +} + +function std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_____capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 5; +} + +function std____2____compressed_pair_elem_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__FeaturePoint___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__FeaturePoint___2c_20void__28std____2__allocator_vision__FeaturePoint___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float_____first_28_29_20const($0 + 8 | 0); +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__Point2d_float___2c_20std____2__allocator_vision__Point2d_float_____first_28_29_20const($0 + 8 | 0); +} + +function std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_unshift_28__mbstate_t__2c_20char8_t__2c_20char8_t__2c_20char8_t___29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + HEAP32[$4 >> 2] = $2; + return 3; +} + +function std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_unshift_28__mbstate_t__2c_20char8_t__2c_20char8_t__2c_20char8_t___29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + HEAP32[$4 >> 2] = $2; + return 3; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____empty_28_29_20const($0) { + return !std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____size_28_29_20const($0); +} + +function std____2____compressed_pair_vision__VisualDatabaseImpl__2c_20std____2__default_delete_vision__VisualDatabaseImpl____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__default_delete_vision__VisualDatabaseImpl__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function float_20vision__AreaOfTriangle_float__28float_20const__2c_20float_20const__29($0, $1) { + return Math_fround(abs_28float_29(Math_fround(Math_fround(HEAPF32[$0 >> 2] * HEAPF32[$1 + 4 >> 2]) - Math_fround(HEAPF32[$1 >> 2] * HEAPF32[$0 + 4 >> 2]))) * Math_fround(.5)); +} + +function __cxx_global_array_dtor_133($0) { + $0 = $0 | 0; + $0 = 83800; + while (1) { + $0 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0 - 12 | 0); + if (($0 | 0) != 83776) { + continue; + } + break; + } +} + +function void_20std____2__locale____imp__install_std____2__moneypunct_wchar_t_2c_20false___28std____2__moneypunct_wchar_t_2c_20false___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82456)); +} + +function void_20std____2____call_once_proxy_std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind_____28void__29($0) { + $0 = $0 | 0; + std____2____call_once_param_std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind______operator_28_29_28_29($0); +} + +function vision__Timer__start_28_29($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + __stack_pointer = $1; + __gettimeofday($1, 0); + HEAPF64[$0 >> 3] = +HEAP32[$1 + 8 >> 2] * 1e-6 + (+HEAPU32[$1 >> 2] + +HEAP32[$1 + 4 >> 2] * 4294967296); + __stack_pointer = $1 + 16 | 0; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_vision__Image____max_size_std____2__allocator_vision__Image__2c_20void__28std____2__allocator_vision__Image__20const__29($0) { + return std____2__allocator_vision__Image___max_size_28_29_20const($0); +} + +function strtod($0, $1) { + var $2 = 0, $3 = 0; + $2 = __stack_pointer - 16 | 0; + __stack_pointer = $2; + strtox_1($2, $0, $1, 1); + $3 = __trunctfdf2(HEAP32[$2 >> 2], HEAP32[$2 + 4 >> 2], HEAP32[$2 + 8 >> 2], HEAP32[$2 + 12 >> 2]); + __stack_pointer = $2 + 16 | 0; + return $3; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______alloc_28_29_20const($0) { + return std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float_____second_28_29_20const($0 + 8 | 0); +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______alloc_28_29_20const($0) { + return std____2____compressed_pair_vision__Point2d_float___2c_20std____2__allocator_vision__Point2d_float_____second_28_29_20const($0 + 8 | 0); +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______capacity_28_29_20const($0) { + return HEAP32[std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2__allocator_traits_std____2__allocator_vision__Node_96__20const_____allocate_28std____2__allocator_vision__Node_96__20const____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_vision__Node_96__20const____allocate_28unsigned_20long_29($0, $1); +} + +function std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__PriorityQueueItem_96___2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int______first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__pair_float_2c_20int___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________2c_201_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function ar2ReadJpegImage2($0) { + var $1 = 0; + $1 = dlmalloc(20); + if ($1) { + $0 = jpgread($0, $1 + 8 | 0, $1 + 12 | 0, $1 + 4 | 0, $1 + 16 | 0); + HEAP32[$1 >> 2] = $0; + if (!$0) { + dlfree($1); + $1 = 0; + } + return $1; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); +} + +function __cxx_global_array_dtor_85($0) { + $0 = $0 | 0; + $0 = 83456; + while (1) { + $0 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0 - 12 | 0); + if (($0 | 0) != 83168) { + continue; + } + break; + } +} + +function __cxx_global_array_dtor_55($0) { + $0 = $0 | 0; + $0 = 82984; + while (1) { + $0 = std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0 - 12 | 0); + if (($0 | 0) != 82816) { + continue; + } + break; + } +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___clearInline_28_29($0) { + var $1 = 0; + HEAP32[$0 + 8 >> 2] = $0 + 44; + $1 = $0 + 12 | 0; + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 >> 2] = $1; +} + +function void_20std____2____advance_vision__Point3d_float____28vision__Point3d_float____2c_20std____2__iterator_traits_vision__Point3d_float_____difference_type_2c_20std____2__random_access_iterator_tag_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + Math_imul($1, 12); +} + +function virtual_20thunk_20to_20std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29_1($0) { + $0 = $0 | 0; + std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29_2(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0); +} + +function virtual_20thunk_20to_20std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29_1($0) { + $0 = $0 | 0; + std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29_2(HEAP32[HEAP32[$0 >> 2] - 12 >> 2] + $0 | 0); +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________max_size_28_29_20const($0) { + return 1073741823; +} + +function std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char_______shared_ptr_pointer_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2____shared_count_____shared_count_28_29($0)); +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Node_96__20const____2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__pair_float_2c_20int___2c_200_2c_20false_____get_28_29_20const($0); +} + +function bool_20std____2__operator___char___28std____2____wrap_iter_char___20const__2c_20std____2____wrap_iter_char___20const__29_1($0, $1) { + return (std____2____wrap_iter_char____base_28_29_20const($0) | 0) == (std____2____wrap_iter_char____base_28_29_20const($1) | 0); +} + +function void_20std____2__locale____imp__install_std____2__moneypunct_wchar_t_2c_20true___28std____2__moneypunct_wchar_t_2c_20true___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82464)); +} + +function vision__Keyframe_96___Keyframe_28_29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + vision__BinaryFeatureStore__BinaryFeatureStore_28_29($0 + 8 | 0); + vision__BinaryHierarchicalClustering_96___BinaryHierarchicalClustering_28_29($0 + 36 | 0); + return $0; +} + +function vision__FeaturePoint__FeaturePoint_28float_2c_20float_2c_20float_2c_20float_2c_20bool_29($0, $1, $2, $3, $4, $5) { + HEAP8[$0 + 16 | 0] = $5; + HEAPF32[$0 + 12 >> 2] = $4; + HEAPF32[$0 + 8 >> 2] = $3; + HEAPF32[$0 + 4 >> 2] = $2; + HEAPF32[$0 >> 2] = $1; + return $0; +} + +function std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_____clear_28_29($0) { + std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______destruct_at_end_28unsigned_20short__29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_____capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2____split_buffer_float_2c_20std____2__allocator_float_______destruct_at_end_28float__29($0, $1) { + std____2____split_buffer_float_2c_20std____2__allocator_float_______destruct_at_end_28float__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function std____2____shared_count____release_shared_28_29($0) { + var $1 = 0; + $1 = long_20std____2____libcpp_atomic_refcount_decrement_long__28long__29($0 + 4 | 0); + if (($1 | 0) == -1) { + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 8 >> 2]]($0); + } + return ($1 | 0) == -1; +} + +function std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__locale__facet___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function reset_marker_reader($0) { + $0 = $0 | 0; + HEAP32[$0 + 216 >> 2] = 0; + HEAP32[$0 + 440 >> 2] = 0; + HEAP32[$0 + 144 >> 2] = 0; + $0 = HEAP32[$0 + 464 >> 2]; + HEAP32[$0 + 164 >> 2] = 0; + HEAP32[$0 + 24 >> 2] = 0; + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; +} + +function arDeleteHandle($0) { + var $1 = 0; + if (!$0) { + return -1; + } + $1 = HEAP32[$0 + 7062408 >> 2]; + if ($1) { + arImageProcFinal($1); + HEAP32[$0 + 7062408 >> 2] = 0; + } + dlfree(HEAP32[$0 + 4834144 >> 2]); + dlfree(HEAP32[$0 + 4834148 >> 2]); + dlfree($0); + return 0; +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__match_t____destroy_vision__match_t_2c_20void__28std____2__allocator_vision__match_t___2c_20vision__match_t__29($0, $1) { + std____2__allocator_vision__match_t___destroy_28vision__match_t__29($0, $1); +} + +function void_20std____2__allocator_traits_std____2__allocator_unsigned_20char____destroy_unsigned_20char_2c_20void__28std____2__allocator_unsigned_20char___2c_20unsigned_20char__29($0, $1) { + std____2__allocator_unsigned_20char___destroy_28unsigned_20char__29($0, $1); +} + +function void_20std____2____debug_db_insert_c_std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____28std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____29($0) {} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______end_cap_28_29($0) { + return std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const_____first_28_29($0 + 8 | 0); +} + +function std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96_____operator___28_29_20const($0) { + return HEAP32[std____2____compressed_pair_vision__Node_96___2c_20std____2__default_delete_vision__Node_96_____first_28_29_20const($0) >> 2]; +} + +function std____2__numpunct_wchar_t___do_falsename_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_std__nullptr_t__28wchar_t_20const__29($0, 59252); +} + +function std____2__enable_if_is_move_constructible_int____value_20___20is_move_assignable_int____value_2c_20void___type_20std____2__swap_int___28int___2c_20int___29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2__allocator_std____2__pair_float_2c_20unsigned_20long____deallocate_28std____2__pair_float_2c_20unsigned_20long___2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 3, 4); +} + +function std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96______first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__PriorityQueueItem_96___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____first_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__locale__facet___2c_200_2c_20false_____get_28_29_20const($0); +} + +function vision__Exception___Exception_28_29($0) { + $0 = $0 | 0; + HEAP32[$0 >> 2] = 26640; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29($0 + 4 | 0); + return std__exception___exception_28_29($0) | 0; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_multi_marker____max_size_std____2__allocator_multi_marker__2c_20void__28std____2__allocator_multi_marker__20const__29($0) { + return std____2__allocator_multi_marker___max_size_28_29_20const($0); +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______alloc_28_29($0) { + return std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const_____second_28_29($0 + 8 | 0); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 1; +} + +function std____2__numpunct_wchar_t___do_truename_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_std__nullptr_t__28wchar_t_20const__29($0, 59232); +} + +function std____2__moneypunct_wchar_t_2c_20false___20std____2___28anonymous_20namespace_29__make_std____2__moneypunct_wchar_t_2c_20false__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__moneypunct_wchar_t_2c_20false___moneypunct_28unsigned_20long_29(84040, 1); +} + +function std____2__ctype_char____ctype_28_29($0) { + $0 = $0 | 0; + var $1 = 0; + HEAP32[$0 >> 2] = 58028; + $1 = HEAP32[$0 + 8 >> 2]; + if (!(!$1 | !HEAPU8[$0 + 12 | 0])) { + operator_20delete_5b_5d_28void__29($1); + } + return std____2__locale__facet___facet_28_29($0) | 0; +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t__20const__20std____2__use_facet_std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___28std____2__locale_20const__29($0) { + return std____2__locale__use_facet_28std____2__locale__id__29_20const($0, 82580); +} + +function std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________end_cap_28_29($0) { + return std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float______first_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__PriorityQueueItem_96___2c_200_2c_20false_____get_28_29_20const($0); +} + +function ar2CreateHandle($0, $1, $2) { + $2 = ar2CreateHandleSub($1, HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], $2); + HEAP32[$2 + 12 >> 2] = $0; + HEAP32[$2 >> 2] = 1; + $0 = icpCreateHandle($0 + 8 | 0); + HEAP32[$2 + 16 >> 2] = $0; + icpSetInlierProbability($0, 0); + return $2; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____data_28_29_20const($0) { + return vision__Node_96__20const___20std____2____to_address_vision__Node_96__20const___28vision__Node_96__20const___29(HEAP32[$0 >> 2]); +} + +function std____2__pointer_traits_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const____pointer_to_28std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const__29($0) { + return $0; +} + +function std____2__moneypunct_char_2c_20false___do_negative_sign_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28unsigned_20long_2c_20char_29($0, 1, 45); +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______proxy____proxy_28wchar_t_2c_20std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____29($0, $1, $2) { + HEAP32[$0 + 4 >> 2] = $2; + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____split_buffer_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________alloc_28_29($0) { + return std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float______second_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float_____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Point3d_float___2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_vision__Point2d_float___2c_20std____2__allocator_vision__Point2d_float_____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Point2d_float___2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________2c_201_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool___SwapAndRestore_28bool__2c_20bool_29($0, $1, $2) { + var $3 = 0; + HEAP32[$0 >> 2] = $1; + $3 = HEAPU8[$1 | 0]; + HEAP8[$0 + 5 | 0] = 1; + HEAP8[$0 + 4 | 0] = $3; + HEAP8[$1 | 0] = $2; + return $0; +} + +function void_20std____2__locale____imp__install_std____2__moneypunct_char_2c_20false___28std____2__moneypunct_char_2c_20false___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82440)); +} + +function void_20std____2__allocator_vision__match_t___construct_vision__match_t_2c_20vision__match_t_20const___28vision__match_t__2c_20vision__match_t_20const__29($0, $1, $2) { + $0 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$1 + 4 >> 2] = $0; +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_wchar_t____max_size_std____2__allocator_wchar_t__2c_20void_2c_20void__28std____2__allocator_wchar_t__20const__29($0) { + return std____2__numeric_limits_unsigned_20long___max_28_29() >>> 2 | 0; +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__moneypunct_char_2c_20true___do_negative_sign_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28unsigned_20long_2c_20char_29($0, 1, 45); +} + +function std____2__iterator_traits_vision__Point3d_float_____difference_type_20std____2____distance_vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___2c_20std____2__random_access_iterator_tag_29($0, $1) { + return ($1 - $0 | 0) / 12 | 0; +} + +function void_20std____2____debug_db_insert_c_std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____28std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____29($0) {} + +function void_20std____2____advance_vision__FeaturePoint___28vision__FeaturePoint___2c_20std____2__iterator_traits_vision__FeaturePoint____difference_type_2c_20std____2__random_access_iterator_tag_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + Math_imul($1, 20); +} + +function vision__HammingDistance32_28unsigned_20int_2c_20unsigned_20int_29($0, $1) { + $0 = $0 ^ $1; + $0 = $0 - ($0 >>> 1 & 1431655765) | 0; + $0 = ($0 >>> 2 & 858993459) + ($0 & 858993459) | 0; + return Math_imul($0 + ($0 >>> 4 | 0) & 252645135, 16843009) >>> 24 | 0; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint____first_28_29_20const($0 + 8 | 0); +} + +function std____2__moneypunct_wchar_t_2c_20true___20std____2___28anonymous_20namespace_29__make_std____2__moneypunct_wchar_t_2c_20true__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__moneypunct_wchar_t_2c_20true___moneypunct_28unsigned_20long_29(84048, 1); +} + +function std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_____clear_28_29($0) { + std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______destruct_at_end_28vision__match_t__29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____clear_28_29($0) { + std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______destruct_at_end_28unsigned_20char__29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Node_96_____2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__Node_96_____2c_20void__28std____2__allocator_vision__Node_96_____29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function __cxx_global_var_init() { + std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController_____unordered_map_28_29(77980); + __cxa_atexit(39, 0, 1024); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___clear_28_29($0) { + HEAP32[$0 + 4 >> 2] = HEAP32[$0 >> 2]; +} + +function void_20std____2__locale____imp__install_std____2__moneypunct_char_2c_20true___28std____2__moneypunct_char_2c_20true___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82448)); +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29_20const($0) { + return std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint____second_28_29_20const($0 + 8 | 0); +} + +function std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______time_put_28_29_1($0) { + $0 = $0 | 0; + std____2____time_put_____time_put_28_29($0 + 8 | 0); + return std____2__locale__facet___facet_28_29($0) | 0; +} + +function std____2__enable_if_is_move_constructible_int___value_20___20is_move_assignable_int___value_2c_20void___type_20std____2__swap_int__28int__2c_20int__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$1 >> 2] = $2; +} + +function std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96_______first_28_29_20const($0 + 12 | 0); +} + +function std____2____compressed_pair_vision__VisualDatabaseImpl__2c_20std____2__default_delete_vision__VisualDatabaseImpl____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__VisualDatabaseImpl__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function int_20vision__MaxIndex4_float__28float_20const__29($0) { + var $1 = 0; + $1 = HEAPF32[$0 + 4 >> 2] > HEAPF32[$0 >> 2]; + $1 = HEAPF32[$0 + 8 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 2 : $1; + return HEAPF32[$0 + 12 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 3 : $1; +} + +function __cxxabiv1____class_type_info__process_static_type_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_29_20const($0, $1, $2, $3) { + if (!(HEAP32[$1 + 28 >> 2] == 1 | HEAP32[$1 + 4 >> 2] != ($2 | 0))) { + HEAP32[$1 + 28 >> 2] = $3; + } +} + +function void_20std____2____advance_unsigned_20int_20const___28unsigned_20int_20const___2c_20std____2__iterator_traits_unsigned_20int_20const____difference_type_2c_20std____2__random_access_iterator_tag_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + ($1 << 2); +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] | 0; +} + +function std____2__enable_if_is_move_constructible_char___value_20___20is_move_assignable_char___value_2c_20void___type_20std____2__swap_char__28char__2c_20char__29($0, $1) { + var $2 = 0; + $2 = HEAPU8[$0 | 0]; + HEAP8[$0 | 0] = HEAPU8[$1 | 0]; + HEAP8[$1 | 0] = $2; +} + +function std____2__allocator_traits_std____2__allocator_vision__Point3d_float_____allocate_28std____2__allocator_vision__Point3d_float____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_vision__Point3d_float____allocate_28unsigned_20long_29($0, $1); +} + +function std____2__allocator_traits_std____2__allocator_vision__Point2d_float_____allocate_28std____2__allocator_vision__Point2d_float____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_vision__Point2d_float____allocate_28unsigned_20long_29($0, $1); +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void___________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________hash_node_base_28_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function legalstub$dynCall_iiiiijj($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; + return dynCall_iiiiijj($0, $1, $2, $3, $4, $5, $6, $7, $8) | 0; +} + +function void_20std____2__allocator_vision__Node_96__20const____construct_vision__Node_96__20const__2c_20vision__Node_96__20const__20const___28vision__Node_96__20const___2c_20vision__Node_96__20const__20const__29($0, $1, $2) { + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; +} + +function std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96_____get_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_vision__Node_96___2c_20std____2__default_delete_vision__Node_96_____first_28_29_20const($0) >> 2]; +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t__20const__20std____2__use_facet_std____2__codecvt_char_2c_20char_2c_20__mbstate_t___28std____2__locale_20const__29($0) { + return std____2__locale__use_facet_28std____2__locale__id__29_20const($0, 82572); +} + +function std____2____libcpp_locale_guard____libcpp_locale_guard_28__locale_struct___29($0, $1) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = __uselocale(HEAP32[$1 >> 2]), HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $0; +} + +function std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Point3d_float____2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_elem_std____2__allocator_unsigned_20short___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_unsigned_20short___2c_20void__28std____2__allocator_unsigned_20short___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function jpeg_abort($0) { + var $1 = 0; + $1 = HEAP32[$0 + 4 >> 2]; + if ($1) { + FUNCTION_TABLE[HEAP32[$1 + 36 >> 2]]($0, 1); + if (HEAP32[$0 + 16 >> 2]) { + HEAP32[$0 + 312 >> 2] = 0; + HEAP32[$0 + 20 >> 2] = 200; + return; + } + HEAP32[$0 + 20 >> 2] = 100; + } +} + +function ferror($0) { + var $1 = 0, $2 = 0; + label$1: { + if (HEAP32[$0 + 76 >> 2] < 0) { + $1 = HEAP32[$0 >> 2]; + break label$1; + } + $2 = __lockfile($0); + $1 = HEAP32[$0 >> 2]; + if (!$2) { + break label$1; + } + __unlockfile($0); + } + return $1 >>> 5 & 1; +} + +function void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20int_2c_20void__28std____2__allocator_int___2c_20int__2c_20int___29($0, $1, $2) { + void_20std____2__allocator_int___construct_int_2c_20int__28int__2c_20int___29($0, $1, $2); +} + +function void_20std____2____debug_db_insert_c_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____28std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____29($0) {} + +function std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_unshift_28__mbstate_t__2c_20char__2c_20char__2c_20char___29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + HEAP32[$4 >> 2] = $2; + return 3; +} + +function std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_unshift_28__mbstate_t__2c_20char__2c_20char__2c_20char___29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + HEAP32[$4 >> 2] = $2; + return 3; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_streambuf_28_29_1($0) { + $0 = $0 | 0; + std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_streambuf_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__FeaturePoint__2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___back_28_29($0) { + return HEAP32[$0 + 4 >> 2] - 4 | 0; +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________clear_28_29($0) { + std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________base_destruct_at_end_28vision__Node_96____29($0, HEAP32[$0 >> 2]); +} + +function std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____num_put_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + HEAP32[$1 >> 2] = 61348; + return $1; +} + +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____num_get_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + HEAP32[$1 >> 2] = 60904; + return $1; +} + +function std____2____unordered_map_hasher_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20true_____unordered_map_hasher_28_29($0) { + return $0; +} + +function std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______end_cap_28_29($0) { + return std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint_____first_28_29($0 + 12 | 0); +} + +function std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short_____first_28_29_20const($0 + 12 | 0); +} + +function std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Node_96__20const___2c_201_2c_20true_____get_28_29($0); +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(25415); + abort(); +} + +function std____2__moneypunct_char_2c_20false___20std____2___28anonymous_20namespace_29__make_std____2__moneypunct_char_2c_20false__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__moneypunct_char_2c_20false___moneypunct_28unsigned_20long_29(84024, 1); +} + +function std____2__messages_wchar_t___do_open_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__locale_20const__29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + return -1; +} + +function std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_______alloc_28_29($0) { + return std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint_____second_28_29($0 + 12 | 0); +} + +function std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20AR2SurfaceSetT_______get_ptr_28std____2____hash_value_type_int_2c_20AR2SurfaceSetT____29($0) { + return std____2____hash_value_type_int_2c_20AR2SurfaceSetT______get_value_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__match_t___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__match_t___2c_20void__28std____2__allocator_vision__match_t___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_unsigned_20char___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_unsigned_20char___2c_20void__28std____2__allocator_unsigned_20char___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_elem_std____2____bucket_list_deallocator_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function long_20const__20std____2__min_long__28long_20const__2c_20long_20const__29($0, $1) { + return long_20const__20std____2__min_long_2c_20std____2____less_long_2c_20long___28long_20const__2c_20long_20const__2c_20std____2____less_long_2c_20long__29($0, $1); +} + +function std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96______unique_ptr_28_29($0) { + std____2__unique_ptr_vision__Node_96__2c_20std____2__default_delete_vision__Node_96_____reset_28vision__Node_96___29($0, 0); + return $0; +} + +function std____2__iterator_traits_vision__FeaturePoint____difference_type_20std____2____distance_vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__2c_20std____2__random_access_iterator_tag_29($0, $1) { + return ($1 - $0 | 0) / 20 | 0; +} + +function std____2____unordered_map_equal_unsigned_20int_2c_20std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20std____2__equal_to_unsigned_20int__2c_20std____2__hash_unsigned_20int__2c_20true_____unordered_map_equal_28_29($0) { + return $0; +} + +function std____2____split_buffer_int_2c_20std____2__allocator_int_______destruct_at_end_28int__29($0, $1) { + std____2____split_buffer_int_2c_20std____2__allocator_int_______destruct_at_end_28int__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1); +} + +function __cxx_global_array_dtor_1($0) { + $0 = $0 | 0; + std____2__unordered_map_int_2c_20arController_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20arController______unordered_map_28_29(77980); +} + +function void_20std____2__allocator_traits_std____2__allocator_vision__Image____destroy_vision__Image_2c_20void__28std____2__allocator_vision__Image___2c_20vision__Image__29($0, $1) { + std____2__allocator_vision__Image___destroy_28vision__Image__29($0, $1); +} + +function vision__BinaryFeatureStore__feature_28unsigned_20long_29_20const($0, $1) { + return std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____operator_5b_5d_28unsigned_20long_29_20const($0 + 4 | 0, Math_imul(HEAP32[$0 >> 2], $1)); +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______end_cap_28_29($0) { + return std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float_____first_28_29($0 + 8 | 0); +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______end_cap_28_29($0) { + return std____2____compressed_pair_vision__Point2d_float___2c_20std____2__allocator_vision__Point2d_float_____first_28_29($0 + 8 | 0); +} + +function std____2__pointer_traits_std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const____pointer_to_28std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int____20const__29($0) { + return $0; +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_unshift_28__mbstate_t__2c_20char__2c_20char__2c_20char___29_20const($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + HEAP32[$4 >> 2] = $2; + return 3; +} + +function std____2__allocator_traits_std____2__allocator_vision__FeaturePoint____allocate_28std____2__allocator_vision__FeaturePoint___2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_vision__FeaturePoint___allocate_28unsigned_20long_29($0, $1); +} + +function std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const______first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__Node_96__20const___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20int___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_std____2__pair_float_2c_20int____allocator_28_29($0); +} + +function vision__DoGPyramid__get_28unsigned_20long_2c_20unsigned_20long_29($0, $1, $2) { + return std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($0, Math_imul(HEAP32[$0 + 16 >> 2], $1) + $2 | 0); +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______alloc_28_29($0) { + return std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float_____second_28_29($0 + 8 | 0); +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______alloc_28_29($0) { + return std____2____compressed_pair_vision__Point2d_float___2c_20std____2__allocator_vision__Point2d_float_____second_28_29($0 + 8 | 0); +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 5; +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__moneypunct_char_2c_20true___20std____2___28anonymous_20namespace_29__make_std____2__moneypunct_char_2c_20true__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__moneypunct_char_2c_20true___moneypunct_28unsigned_20long_29(84032, 1); +} + +function std____2__messages_char___do_open_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__locale_20const__29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + return -1; +} + +function std____2__iterator_traits_unsigned_20int_20const____difference_type_20std____2____distance_unsigned_20int_20const___28unsigned_20int_20const__2c_20unsigned_20int_20const__2c_20std____2__random_access_iterator_tag_29($0, $1) { + return $1 - $0 >> 2; +} + +function std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t_____first_28_29_20const($0 + 12 | 0); +} + +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char_____first_28_29_20const($0 + 12 | 0); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void________hash_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__Node_96__20const___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__FeaturePoint___2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int______first_28_29($0) { + return std____2____compressed_pair_elem_std____2__pair_float_2c_20int___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function __cxx_global_var_init_1() { + std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam_____unordered_map_28_29(78e3); + __cxa_atexit(40, 0, 1024); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______clear_28_29($0) { + std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______base_destruct_at_end_28unsigned_20short__29($0, HEAP32[$0 >> 2]); +} + +function std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char______time_put_28_29_1($0) { + $0 = $0 | 0; + std____2____time_put_____time_put_28_29($0 + 8 | 0); + return std____2__locale__facet___facet_28_29($0) | 0; +} + +function std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___codecvt_28unsigned_20long_29($0, $1) { + $1 = std____2__codecvt_base__codecvt_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 60188; + return $1; +} + +function std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___codecvt_28unsigned_20long_29($0, $1) { + $1 = std____2__codecvt_base__codecvt_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 59956; + return $1; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____empty_28_29_20const($0) { + return !std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____size_28_29_20const($0); +} + +function std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_____clear_28_29($0) { + std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______destruct_at_end_28vision__Image__29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__default_delete_vision__Keyframe_96_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__default_delete_vision__Keyframe_96___2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_std____2__pair_float_2c_20int___2c_20std____2__allocator_std____2__pair_float_2c_20int_____first_28_29($0) { + return std____2____compressed_pair_elem_std____2__pair_float_2c_20int___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__PriorityQueueItem_96___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_vision__PriorityQueueItem_96____allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______copy_assign_alloc_28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char___20const__2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) {} + +function std____2__numpunct_char___do_falsename_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($0, 31787); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($0) { + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____data_28_29_20const($0); +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void___________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____first_28_29($0) { + return std____2____compressed_pair_elem_std____2__locale__facet___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function rand() { + var $0 = 0, $1 = 0; + $1 = __wasm_i64_mul(HEAP32[19664], HEAP32[19665], 1284865837, 1481765933); + $0 = i64toi32_i32$HIGH_BITS; + $1 = $1 + 1 | 0; + $0 = $1 ? $0 : $0 + 1 | 0; + HEAP32[19664] = $1; + HEAP32[19665] = $0; + return $0 >>> 1 | 0; +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96______first_28_29_20const($0 + 8 | 0); +} + +function std____2__unique_ptr_unsigned_20char_2c_20std____2__default_delete_unsigned_20char_____unique_ptr_28_29($0) { + std____2__unique_ptr_unsigned_20char_2c_20std____2__default_delete_unsigned_20char____reset_28unsigned_20char__29($0, 0); + return $0; +} + +function std____2__numpunct_char___do_truename_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_std__nullptr_t__28char_20const__29($0, 31762); +} + +function std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true_____unordered_map_hasher_28_29($0) { + return $0; +} + +function std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96______first_28_29($0) { + return std____2____compressed_pair_elem_vision__PriorityQueueItem_96___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_std____2__locale__facet___2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____first_28_29($0) { + return std____2____compressed_pair_elem_std____2__locale__facet___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Image___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_vision__Image___2c_20void__28std____2__allocator_vision__Image___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____data_28_29_20const($0) { + return vision__Point3d_float___20std____2____to_address_vision__Point3d_float___28vision__Point3d_float___29(HEAP32[$0 >> 2]); +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____data_28_29_20const($0) { + return vision__Point2d_float___20std____2____to_address_vision__Point2d_float___28vision__Point2d_float___29(HEAP32[$0 >> 2]); +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________alloc_28_29_20const($0) { + return std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96______second_28_29_20const($0 + 8 | 0); +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[$0 >> 2] + Math_imul($1, 36) | 0; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___codecvt_28unsigned_20long_29($0, $1) { + $1 = std____2__codecvt_base__codecvt_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 60072; + return $1; +} + +function std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___codecvt_28unsigned_20long_29($0, $1) { + $1 = std____2__codecvt_base__codecvt_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 59840; + return $1; +} + +function std____2____compressed_pair_vision__PriorityQueueItem_96___2c_20std____2__allocator_vision__PriorityQueueItem_96_____first_28_29($0) { + return std____2____compressed_pair_elem_vision__PriorityQueueItem_96___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96______second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Node_96____2c_201_2c_20true_____get_28_29_20const($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___end_28_29($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function void_20std____2__iter_swap_char__2c_20char___28char__2c_20char__29($0, $1) { + std____2__enable_if_is_move_constructible_char___value_20___20is_move_assignable_char___value_2c_20void___type_20std____2__swap_char__28char__2c_20char__29($0, $1); +} + +function void_20std____2__allocator_traits_std____2__allocator_multi_marker____destroy_multi_marker_2c_20void__28std____2__allocator_multi_marker___2c_20multi_marker__29($0, $1) { + std____2__allocator_multi_marker___destroy_28multi_marker__29($0, $1); +} + +function void_20std____2__allocator_multi_marker___construct_multi_marker_2c_20multi_marker_20const___28multi_marker__2c_20multi_marker_20const__29($0, $1, $2) { + $0 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$1 + 4 >> 2] = $0; +} + +function std____2__pointer_traits_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______pointer_to_28std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_____29($0) { + return $0; +} + +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____num_put_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + HEAP32[$1 >> 2] = 61116; + return $1; +} + +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____num_get_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + HEAP32[$1 >> 2] = 60660; + return $1; +} + +function std____2__allocator_traits_std____2__allocator_wchar_t____deallocate_28std____2__allocator_wchar_t___2c_20wchar_t__2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_wchar_t___deallocate_28wchar_t__2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true_____unordered_map_equal_28_29($0) { + return $0; +} + +function std____2____split_buffer_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; + return $0; +} + +function std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void______operator___28_29($0) { + HEAP32[$0 >> 2] = HEAP32[HEAP32[$0 >> 2] >> 2]; + return $0; +} + +function std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Point3d_float___2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_vision__Point2d_float___2c_20std____2__allocator_vision__Point2d_float_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Point2d_float___2c_201_2c_20true_____get_28_29($0); +} + +function void_20std____2__allocator_vision__match_t___construct_vision__match_t_2c_20vision__match_t__28vision__match_t__2c_20vision__match_t___29($0, $1, $2) { + $0 = HEAP32[$2 + 4 >> 2]; + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; + HEAP32[$1 + 4 >> 2] = $0; +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______clear_28_29($0) { + std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______base_destruct_at_end_28vision__match_t__29($0, HEAP32[$0 >> 2]); +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______clear_28_29($0) { + std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______base_destruct_at_end_28unsigned_20char__29($0, HEAP32[$0 >> 2]); +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______proxy____proxy_28char_2c_20std____2__basic_streambuf_char_2c_20std____2__char_traits_char____29($0, $1, $2) { + HEAP32[$0 + 4 >> 2] = $2; + HEAP8[$0 | 0] = $1; + return $0; +} + +function std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29_2($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29_1($0)); +} + +function std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29_2($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29_1($0)); +} + +function std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_____clear_28_29($0) { + std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______destruct_at_end_28multi_marker__29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20arController______get_ptr_28std____2____hash_value_type_int_2c_20arController___29($0) { + return std____2____hash_value_type_int_2c_20arController_____get_value_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_multi_marker___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_multi_marker___2c_20void__28std____2__allocator_multi_marker___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___2c_204ul___begin_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function void_20std____2____debug_db_insert_c_std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____28std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____29($0) {} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______end_cap_28_29($0) { + return std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint____first_28_29($0 + 8 | 0); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______end_cap_28_29_20const($0) { + return std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short____first_28_29_20const($0 + 8 | 0); +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(25415); + abort(); +} + +function std____2__pointer_traits_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____20const____pointer_to_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____20const__29($0) { + return $0; +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char_____basic_streambuf_28_29_1($0) { + $0 = $0 | 0; + std____2__basic_streambuf_char_2c_20std____2__char_traits_char_____basic_streambuf_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2____num_get_wchar_t_____do_widen_28std____2__ios_base__2c_20wchar_t__29_20const($0, $1, $2) { + return wchar_t_20const__20std____2____num_get_wchar_t_____do_widen_p_wchar_t__28std____2__ios_base__2c_20wchar_t__29_20const($0, $1, $2); +} + +function std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_unsigned_20short__2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Keyframe_96___2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_vision__Keyframe_96___2c_20void__28std____2__allocator_vision__Keyframe_96_____29($0, $1) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28unsigned_20long_20long_29($0, $1, $2) { + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__writeUnsigned_28unsigned_20long_20long_2c_20bool_29($0, $1, $2); +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______alloc_28_29($0) { + return std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint____second_28_29($0 + 8 | 0); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______alloc_28_29_20const($0) { + return std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short____second_28_29_20const($0 + 8 | 0); +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___codecvt_28unsigned_20long_29($0, $1) { + $1 = std____2__codecvt_base__codecvt_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 59692; + return $1; +} + +function std____2__allocator_traits_std____2__allocator_vision__Node_96______allocate_28std____2__allocator_vision__Node_96_____2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_vision__Node_96_____allocate_28unsigned_20long_29($0, $1); +} + +function std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________end_cap_28_29($0) { + return std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96_______first_28_29($0 + 12 | 0); +} + +function std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image_____first_28_29_20const($0 + 12 | 0); +} + +function std____2____compressed_pair_vision__VisualDatabaseImpl__2c_20std____2__default_delete_vision__VisualDatabaseImpl____first_28_29($0) { + return std____2____compressed_pair_elem_vision__VisualDatabaseImpl__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float______first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__Point3d_float___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function __cxxabiv1___28anonymous_20namespace_29__GuardByte__release_28_29($0) { + __cxxabiv1___28anonymous_20namespace_29__AtomicInt_unsigned_20char___store_28unsigned_20char_2c_20std____2___28anonymous_20namespace_29____libcpp_atomic_order_29($0); +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_char____max_size_std____2__allocator_char__2c_20void_2c_20void__28std____2__allocator_char__20const__29($0) { + return std____2__numeric_limits_unsigned_20long___max_28_29(); +} + +function std____2__moneypunct_wchar_t_2c_20false___do_positive_sign_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($0); +} + +function std____2____split_buffer_vision__Node_96___2c_20std____2__allocator_vision__Node_96_________alloc_28_29($0) { + return std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96_______second_28_29($0 + 12 | 0); +} + +function std____2____split_buffer_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; + return $0; +} + +function std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__Point3d_float___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_vision__Point2d_float___2c_20std____2__allocator_vision__Point2d_float_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__Point2d_float___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96_______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Node_96_____2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Node_96__20const___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_vision__Node_96__20const____allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char___2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____call_once_param_std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind________call_once_param_28std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind_____29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function int_20const__20std____2__max_int__28int_20const__2c_20int_20const__29($0, $1) { + return int_20const__20std____2__max_int_2c_20std____2____less_int_2c_20int___28int_20const__2c_20int_20const__2c_20std____2____less_int_2c_20int__29($0, $1); +} + +function __cxx_global_array_dtor_2($0) { + $0 = $0 | 0; + std____2__unordered_map_int_2c_20ARParam_2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20std____2__allocator_std____2__pair_int_20const_2c_20ARParam______unordered_map_28_29(78e3); +} + +function void_20std____2__locale____imp__install_std____2__numpunct_wchar_t___28std____2__numpunct_wchar_t___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82628)); +} + +function void_20std____2__locale____imp__install_std____2__messages_wchar_t___28std____2__messages_wchar_t___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82512)); +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__moneypunct_wchar_t_2c_20true___do_positive_sign_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($0); +} + +function std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______non_trivial_if_28_29($0); +} + +function std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__match_t__2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_______2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___dropBack_28unsigned_20long_29($0, $1) { + HEAP32[$0 + 4 >> 2] = HEAP32[$0 >> 2] + ($1 << 2); +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t____first_28_29_20const($0 + 8 | 0); +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______end_cap_28_29_20const($0) { + return std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char____first_28_29_20const($0 + 8 | 0); +} + +function std____2__moneypunct_wchar_t_2c_20false___do_curr_symbol_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($0); +} + +function std____2__allocator_traits_std____2__allocator_unsigned_20short____allocate_28std____2__allocator_unsigned_20short___2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_unsigned_20short___allocate_28unsigned_20long_29($0, $1); +} + +function std____2__allocator_std____2__pair_float_2c_20int____deallocate_28std____2__pair_float_2c_20int___2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 3, 4); +} + +function std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__FeaturePoint__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_200_2c_20false_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function void_20std____2__locale____imp__install_std____2__collate_wchar_t___28std____2__collate_wchar_t___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82368)); +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29_20const($0) { + return std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t____second_28_29_20const($0 + 8 | 0); +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + Math_imul($1, 36) | 0; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29_20const($0) { + return std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char____second_28_29_20const($0 + 8 | 0); +} + +function std____2__moneypunct_wchar_t_2c_20true___do_curr_symbol_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____basic_string_28_29($0); +} + +function std____2__enable_if_std__is_arithmetic_float___value_20___20std__is_arithmetic_int___value_2c_20std____2____promote_float_2c_20int_2c_20void____type__type_20pow_float_2c_20int__28float_2c_20int_29($0, $1) { + return pow(+$0, +($1 | 0)); +} + +function std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____tie_28std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 72 >> 2]; + HEAP32[$0 + 72 >> 2] = $1; + return $2; +} + +function std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______non_trivial_if_28_29($0); +} + +function std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true_____unordered_map_hasher_28_29($0) { + return $0; +} + +function std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______end_cap_28_29($0) { + return std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short_____first_28_29($0 + 12 | 0); +} + +function std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker_____first_28_29_20const($0 + 12 | 0); +} + +function std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_unsigned_20short___2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function finish_pass_huff($0) { + $0 = $0 | 0; + var $1 = 0, $2 = 0; + $1 = HEAP32[$0 + 464 >> 2]; + $2 = HEAP32[$0 + 468 >> 2]; + $0 = $2 + 16 | 0; + HEAP32[$1 + 24 >> 2] = HEAP32[$1 + 24 >> 2] + (HEAP32[$0 >> 2] / 8 | 0); + HEAP32[$2 + 16 >> 2] = 0; +} + +function __cxxabiv1___28anonymous_20namespace_29__GuardByte__acquire_28_29($0) { + return (__cxxabiv1___28anonymous_20namespace_29__AtomicInt_unsigned_20char___load_28std____2___28anonymous_20namespace_29____libcpp_atomic_order_29($0) | 0) != 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__operator___28_28anonymous_20namespace_29__itanium_demangle__Qualifiers__2c_20_28anonymous_20namespace_29__itanium_demangle__Qualifiers_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] | $1; +} + +function void_20std____2____debug_db_insert_c_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29($0) {} + +function vision__numOctaves_28int_2c_20int_2c_20int_29($0, $1, $2) { + var $3 = 0; + while (1) { + if (!(($0 | 0) < ($2 | 0) | ($1 | 0) < ($2 | 0))) { + $3 = $3 + 1 | 0; + $1 = $1 >> 1; + $0 = $0 >> 1; + continue; + } + break; + } + return $3; +} + +function std____2__pair_unsigned_20int_2c_20unsigned_20int___pair_int__2c_20unsigned_20int__2c_20_28void__290__28int__2c_20unsigned_20int__29($0, $1, $2) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$2 >> 2]; + return $0; +} + +function std____2__pair_float_2c_20unsigned_20long___pair_float_2c_20unsigned_20long__2c_20_28void__290__28float___2c_20unsigned_20long__29($0, $1, $2) { + HEAPF32[$0 >> 2] = HEAPF32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$2 >> 2]; + return $0; +} + +function std____2__allocator_vision__PriorityQueueItem_96____deallocate_28vision__PriorityQueueItem_96___2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 3, 4); +} + +function std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short_______alloc_28_29($0) { + return std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short_____second_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_vision__Node_96___2c_20std____2__default_delete_vision__Node_96_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__default_delete_vision__Node_96___2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int_2c_20int_2c_20int___getTypes_28_29_20const($0) { + return emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20int_2c_20int_2c_20int____get_28_29(); +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__back_28_29_20const($0) { + var $1 = 0; + $1 = HEAP32[$0 + 4 >> 2]; + if ($1) { + $0 = HEAPU8[(HEAP32[$0 >> 2] + $1 | 0) - 1 | 0]; + } else { + $0 = 0; + } + return $0 << 24 >> 24; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____data_28_29_20const($0) { + return vision__FeaturePoint__20std____2____to_address_vision__FeaturePoint__28vision__FeaturePoint__29(HEAP32[$0 >> 2]); +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__moneypunct_wchar_t_2c_20false__20const__20std____2__use_facet_std____2__moneypunct_wchar_t_2c_20false___28std____2__locale_20const__29($0) { + return std____2__locale__use_facet_28std____2__locale__id__29_20const($0, 82456); +} + +function std____2__char_traits_char___not_eof_28int_29($0) { + if (std____2__char_traits_char___eq_int_type_28int_2c_20int_29($0, std____2__char_traits_char___eof_28_29())) { + $0 = std____2__char_traits_char___eof_28_29() ^ -1; + } + return $0; +} + +function std____2__allocator_traits_std____2__allocator_vision__match_t____allocate_28std____2__allocator_vision__match_t___2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_vision__match_t___allocate_28unsigned_20long_29($0, $1); +} + +function std____2__allocator_traits_std____2__allocator_unsigned_20char____allocate_28std____2__allocator_unsigned_20char___2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_unsigned_20char___allocate_28unsigned_20long_29($0, $1); +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true_____unordered_map_equal_28_29($0) { + return $0; +} + +function std____2____split_buffer_float_2c_20std____2__allocator_float_____capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_float_2c_20std____2__allocator_float_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void______operator___28_29($0) { + HEAP32[$0 >> 2] = HEAP32[HEAP32[$0 >> 2] >> 2]; + return $0; +} + +function std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__FeaturePoint__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function void_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___construct_vision__DoGScaleInvariantDetector__FeaturePoint__28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, $1) { + wasm2js_memory_fill($1, 0, 36); +} + +function vision__BinaryFeatureStore__feature_28unsigned_20long_29($0, $1) { + return std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____operator_5b_5d_28unsigned_20long_29($0 + 4 | 0, Math_imul(HEAP32[$0 >> 2], $1)); +} + +function std____2__tuple_element_0ul_2c_20std____2__tuple_int_20const_____type__20std____2__get_0ul_2c_20int_20const___28std____2__tuple_int_20const____29($0) { + return std____2____tuple_leaf_0ul_2c_20int_20const__2c_20false___get_28_29($0); +} + +function std____2__ctype_char___do_toupper_28char_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + if (($1 | 0) >= 0) { + $1 = HEAP32[std____2__ctype_char_____classic_upper_table_28_29() + (($1 & 255) << 2) >> 2]; + } + return $1 << 24 >> 24; +} + +function std____2__ctype_char___do_tolower_28char_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + if (($1 | 0) >= 0) { + $1 = HEAP32[std____2__ctype_char_____classic_lower_table_28_29() + (($1 & 255) << 2) >> 2]; + } + return $1 << 24 >> 24; +} + +function std____2__allocator_traits_std____2__allocator_float____deallocate_28std____2__allocator_float___2c_20float__2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_float___deallocate_28float__2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__match_t___2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const______first_28_29($0) { + return std____2____compressed_pair_elem_vision__Node_96__20const___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__FeaturePoint__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_unsigned_20char___2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Point3d_float___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_vision__Point3d_float____allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Point2d_float___2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_vision__Point2d_float____allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function void_20std____2__reverse_unsigned_20int___28unsigned_20int__2c_20unsigned_20int__29($0, $1) { + void_20std____2____reverse_unsigned_20int___28unsigned_20int__2c_20unsigned_20int__2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function void_20std____2__locale____imp__install_std____2__numpunct_char___28std____2__numpunct_char___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82620)); +} + +function void_20std____2__locale____imp__install_std____2__messages_char___28std____2__messages_char___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82504)); +} + +function void_20std____2__locale____imp__install_std____2__ctype_wchar_t___28std____2__ctype_wchar_t___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82556)); +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_float____max_size_std____2__allocator_float__2c_20void__28std____2__allocator_float__20const__29($0) { + return std____2__allocator_float___max_size_28_29_20const($0); +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______clear_28_29($0) { + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______base_destruct_at_end_28vision__Image__29($0, HEAP32[$0 >> 2]); +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______invalidate_iterators_past_28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, $1) {} + +function std____2__moneypunct_wchar_t_2c_20true__20const__20std____2__use_facet_std____2__moneypunct_wchar_t_2c_20true___28std____2__locale_20const__29($0) { + return std____2__locale__use_facet_28std____2__locale__id__29_20const($0, 82464); +} + +function std____2__ctype_wchar_t___do_is_28unsigned_20long_2c_20wchar_t_29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + var $3 = 0; + $3 = $2 >>> 0 <= 127 ? (HEAP32[($2 << 2) + 58080 >> 2] & $1) != 0 : $3; + return $3 | 0; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____2c_20void_____max_size_28_29_20const($0) { + return 178956970; +} + +function std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______end_cap_28_29($0) { + return std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t_____first_28_29($0 + 12 | 0); +} + +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______end_cap_28_29($0) { + return std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char_____first_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_vision__Node_96__20const___2c_20std____2__allocator_vision__Node_96__20const_____first_28_29($0) { + return std____2____compressed_pair_elem_vision__Node_96__20const___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Image__2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__default_delete_unsigned_20char____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__default_delete_unsigned_20char__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char____second_28_29_20const($0) { + return std____2____compressed_pair_elem_NullArrayDeleter_unsigned_20char__2c_201_2c_20true_____get_28_29_20const($0); +} + +function bool_20vision__QuadraticCriticalPoint_float__28float__2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3) { + if ($1 != Math_fround(0)) { + HEAPF32[$0 >> 2] = Math_fround(-$2) / Math_fround($1 + $1); + } + return $1 != Math_fround(0); +} + +function vision__GaussianScaleSpacePyramid___GaussianScaleSpacePyramid_28_29($0) { + $0 = $0 | 0; + HEAP32[$0 >> 2] = 26532; + std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image_____vector_28_29($0 + 4 | 0); + return $0 | 0; +} + +function std____2__pointer_traits_std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96____20const____pointer_to_28std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96____20const__29($0) { + return $0; +} + +function std____2__allocator_vision__Point3d_float____deallocate_28vision__Point3d_float___2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, Math_imul($2, 12), 4); +} + +function std____2____split_buffer_vision__match_t_2c_20std____2__allocator_vision__match_t_______alloc_28_29($0) { + return std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t_____second_28_29($0 + 12 | 0); +} + +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char_______alloc_28_29($0) { + return std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char_____second_28_29($0 + 12 | 0); +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function emscripten__internal__Invoker_void_2c_20int___invoke_28void_20_28__29_28int_29_2c_20int_29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + FUNCTION_TABLE[$0 | 0](emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($1)); +} + +function wmemcpy($0, $1, $2) { + var $3 = 0; + if ($2) { + $3 = $0; + while (1) { + HEAP32[$3 >> 2] = HEAP32[$1 >> 2]; + $3 = $3 + 4 | 0; + $1 = $1 + 4 | 0; + $2 = $2 - 1 | 0; + if ($2) { + continue; + } + break; + } + } + return $0; +} + +function void_20std____2__locale____imp__install_std____2__collate_char___28std____2__collate_char___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82360)); +} + +function vision__BinaryFeatureStore__point_28unsigned_20long_29_20const($0, $1) { + return std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($0 + 16 | 0, $1); +} + +function std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 3) | 0; +} + +function std____2__default_delete_vision__VisualDatabaseImpl___operator_28_29_28vision__VisualDatabaseImpl__29_20const($0, $1) { + if ($1) { + vision__VisualDatabaseImpl___VisualDatabaseImpl_28_29($1); + } + operator_20delete_28void__29($1); +} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29_2($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29_1($0)); +} + +function std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29_2($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29_1($0)); +} + +function std____2____compressed_pair_elem_void_20_28__29_28void__29_2c_201_2c_20false_____compressed_pair_elem_void_20_28__29_28void__29_2c_20void__28void_20_28____29_28void__29_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function __syscall_ret($0) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if ($0 >>> 0 >= 4294963201) { + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = 0 - $0 | 0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + $0 = -1; + } + return $0; +} + +function void_20std____2____debug_db_insert_c_std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____28std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____29($0) {} + +function void_20std____2____debug_db_insert_c_std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____28std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____29($0) {} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________end_cap_28_29($0) { + return std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96______first_28_29($0 + 8 | 0); +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______end_cap_28_29_20const($0) { + return std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image____first_28_29_20const($0 + 8 | 0); +} + +function std____2__moneypunct_wchar_t_2c_20false___moneypunct_28unsigned_20long_29($0, $1) { + $1 = std____2__money_base__money_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 62596; + return $1; +} + +function std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ios_28_29_1($0) { + $0 = $0 | 0; + std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ios_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void___________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_multi_marker__2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__FeaturePoint__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_vision__FeaturePoint___allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_______2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function __fseeko($0, $1, $2, $3) { + var $4 = 0; + if (HEAP32[$0 + 76 >> 2] < 0) { + return __fseeko_unlocked($0, $1, $2, $3); + } + $4 = __lockfile($0); + $3 = __fseeko_unlocked($0, $1, $2, $3); + if ($4) { + __unlockfile($0); + } + return $3; +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__getBaseName_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0; + $2 = HEAP32[$1 + 12 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 + 8 >> 2]; + HEAP32[$0 + 4 >> 2] = $2; +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________alloc_28_29($0) { + return std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96______second_28_29($0 + 8 | 0); +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______alloc_28_29_20const($0) { + return std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image____second_28_29_20const($0 + 8 | 0); +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint____size_28_29_20const($0) { + return (HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] | 0) / 36 | 0; +} + +function std____2__moneypunct_wchar_t_2c_20true___moneypunct_28unsigned_20long_29($0, $1) { + $1 = std____2__money_base__money_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 62712; + return $1; +} + +function std____2__moneypunct_char_2c_20false__20const__20std____2__use_facet_std____2__moneypunct_char_2c_20false___28std____2__locale_20const__29($0) { + return std____2__locale__use_facet_28std____2__locale__id__29_20const($0, 82440); +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___unshift_28__mbstate_t__2c_20char__2c_20char__2c_20char___29_20const($0, $1, $2, $3, $4) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1, $2, $3, $4) | 0; +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_max_length_28_29_20const($0) { + $0 = $0 | 0; + $0 = HEAP32[$0 + 8 >> 2]; + if (!$0) { + return 1; + } + return std____2____libcpp_mb_cur_max_l_28__locale_struct__29($0) | 0; +} + +function std____2__allocator_traits_std____2__allocator_vision__Image____allocate_28std____2__allocator_vision__Image___2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_vision__Image___allocate_28unsigned_20long_29($0, $1); +} + +function std____2__allocator_traits_std____2__allocator_char____deallocate_28std____2__allocator_char___2c_20char__2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_char___deallocate_28char__2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96______second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Node_96____2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_std____2__locale__facet__2c_20std____2___28anonymous_20namespace_29__release___first_28_29($0) { + return std____2____compressed_pair_elem_std____2__locale__facet__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return $0; +} + +function __memcpy($0, $1, $2) { + var $3 = 0; + if ($2) { + $3 = $0; + while (1) { + HEAP8[$3 | 0] = HEAPU8[$1 | 0]; + $3 = $3 + 1 | 0; + $1 = $1 + 1 | 0; + $2 = $2 - 1 | 0; + if ($2) { + continue; + } + break; + } + } + return $0; +} + +function void_20std____2____advance_unsigned_20char___28unsigned_20char___2c_20std____2__iterator_traits_unsigned_20char____difference_type_2c_20std____2__random_access_iterator_tag_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + $1; +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______clear_28_29($0) { + std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______base_destruct_at_end_28multi_marker__29($0, HEAP32[$0 >> 2]); +} + +function std____2__moneypunct_char_2c_20false___do_positive_sign_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0); +} + +function std____2__locale____imp__make_classic_28_29() { + std____2__locale____imp__20std____2___28anonymous_20namespace_29__make_std____2__locale____imp_2c_20unsigned_20int__28unsigned_20int_29(); + HEAP32[20632] = 84168; + return 82528; +} + +function std____2__allocator_vision__Node_96__20const____deallocate_28vision__Node_96__20const___2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function std____2__allocator_vision__FeaturePoint___deallocate_28vision__FeaturePoint__2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, Math_imul($2, 20), 4); +} + +function std____2____hash_key_value_types_std____2____hash_value_type_int_2c_20ARParam______get_ptr_28std____2____hash_value_type_int_2c_20ARParam___29($0) { + return std____2____hash_value_type_int_2c_20ARParam_____get_value_28_29($0); +} + +function std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Image___2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_elem_std____2__locale__facet__2c_200_2c_20false_____compressed_pair_elem_std____2__locale__facet___2c_20void__28std____2__locale__facet___29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function float_20vision__min4_float__28float_2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3) { + return float_20vision__min2_float__28float_2c_20float_29(float_20vision__min3_float__28float_2c_20float_2c_20float_29($0, $1, $2), $3); +} + +function void_20std____2__locale____imp__install_std____2__ctype_char___28std____2__ctype_char___29($0, $1) { + std____2__locale____imp__install_28std____2__locale__facet__2c_20long_29($0, $1, std____2__locale__id____get_28_29(82564)); +} + +function std__logic_error__logic_error_28char_20const__29($0, $1) { + $0 = std__exception__exception_28_29($0); + HEAP32[$0 >> 2] = 65616; + std____2____libcpp_refstring____libcpp_refstring_28char_20const__29($0 + 4 | 0, $1); + return $0; +} + +function std____2__moneypunct_char_2c_20true___do_positive_sign_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0); +} + +function std____2__moneypunct_char_2c_20true__20const__20std____2__use_facet_std____2__moneypunct_char_2c_20true___28std____2__locale_20const__29($0) { + return std____2__locale__use_facet_28std____2__locale__id__29_20const($0, 82448); +} + +function std____2__moneypunct_char_2c_20false___moneypunct_28unsigned_20long_29($0, $1) { + $1 = std____2__money_base__money_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 62332; + return $1; +} + +function std____2__allocator_std____2__pair_float_2c_20unsigned_20long____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______non_trivial_if_28_29($0); +} + +function std____2____split_buffer_int_2c_20std____2__allocator_int_____capacity_28_29_20const($0) { + return HEAP32[std____2____split_buffer_int_2c_20std____2__allocator_int_______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2____compressed_pair_vision__Node_96___2c_20std____2__default_delete_vision__Node_96_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__Node_96___2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_20void__28std____2__allocator_unsigned_20char____29($0, $1) { + return $0; +} + +function void_20vision__SubVector2_float__28float__2c_20float_20const__2c_20float_20const__29($0, $1, $2) { + HEAPF32[$0 >> 2] = HEAPF32[$1 >> 2] - HEAPF32[$2 >> 2]; + HEAPF32[$0 + 4 >> 2] = HEAPF32[$1 + 4 >> 2] - HEAPF32[$2 + 4 >> 2]; +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______end_cap_28_29($0) { + return std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short____first_28_29($0 + 8 | 0); +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______end_cap_28_29_20const($0) { + return std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker____first_28_29_20const($0 + 8 | 0); +} + +function std____2__pointer_traits_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______pointer_to_28std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_____29($0) { + return $0; +} + +function std____2__moneypunct_wchar_t_2c_20false___do_grouping_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0); +} + +function std____2__moneypunct_char_2c_20true___moneypunct_28unsigned_20long_29($0, $1) { + $1 = std____2__money_base__money_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 62480; + return $1; +} + +function std____2__moneypunct_char_2c_20false___do_curr_symbol_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0); +} + +function std____2__ctype_wchar_t___do_toupper_28wchar_t_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + if ($1 >>> 0 <= 127) { + $1 = HEAP32[std____2__ctype_char_____classic_upper_table_28_29() + ($1 << 2) >> 2]; + } + return $1 | 0; +} + +function std____2__ctype_wchar_t___do_tolower_28wchar_t_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + if ($1 >>> 0 <= 127) { + $1 = HEAP32[std____2__ctype_char_____classic_lower_table_28_29() + ($1 << 2) >> 2]; + } + return $1 | 0; +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___unshift_28__mbstate_t__2c_20char__2c_20char__2c_20char___29_20const($0, $1, $2, $3, $4) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 20 >> 2]]($0, $1, $2, $3, $4) | 0; +} + +function std____2__allocator_wchar_t__20std____2__allocator_traits_std____2__allocator_wchar_t____select_on_container_copy_construction_std____2__allocator_wchar_t__2c_20void_2c_20void__28std____2__allocator_wchar_t__20const__29($0) {} + +function std____2__allocator_traits_std____2__allocator_multi_marker____allocate_28std____2__allocator_multi_marker___2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_multi_marker___allocate_28unsigned_20long_29($0, $1); +} + +function std____2__allocator_std____2__locale__facet____deallocate_28std____2__locale__facet___2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________max_size_28_29_20const($0) { + return 1073741823; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____constrain_hash_28unsigned_20long_2c_20unsigned_20long_29($0, $1) { + var $2 = 0; + $2 = $1 - 1 | 0; + if (!($2 & $1)) { + return $0 & $2; + } + $0 = $0 >>> 0 >= $1 >>> 0 ? ($0 >>> 0) % ($1 >>> 0) | 0 : $0; + return $0; +} + +function std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96_______first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__Node_96____2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_unsigned_20short__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__default_delete_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function finish_output_pass($0) { + $0 = $0 | 0; + var $1 = 0; + $1 = HEAP32[$0 + 444 >> 2]; + if (HEAP32[$0 + 84 >> 2]) { + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 484 >> 2] + 8 >> 2]]($0); + } + HEAP32[$1 + 12 >> 2] = HEAP32[$1 + 12 >> 2] + 1; +} + +function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int_2c_20double___getTypes_28_29_20const($0) { + return emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20int_2c_20double____get_28_29(); +} + +function unsigned_20long_20std____2__allocator_traits_std____2__allocator_int____max_size_std____2__allocator_int__2c_20void__28std____2__allocator_int__20const__29($0) { + return std____2__allocator_int___max_size_28_29_20const($0); +} + +function threadFree($0) { + pthread_mutex_destroy(HEAP32[$0 >> 2] + 16 | 0); + pthread_cond_destroy(HEAP32[$0 >> 2] + 40 | 0); + pthread_cond_destroy(HEAP32[$0 >> 2] + 88 | 0); + dlfree(HEAP32[$0 >> 2]); + HEAP32[$0 >> 2] = 0; + return 0; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______alloc_28_29($0) { + return std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short____second_28_29($0 + 8 | 0); +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______alloc_28_29_20const($0) { + return std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker____second_28_29_20const($0 + 8 | 0); +} + +function std____2__moneypunct_wchar_t_2c_20true___do_grouping_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0); +} + +function std____2__moneypunct_char_2c_20true___do_curr_symbol_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0); +} + +function std____2__basic_ios_char_2c_20std____2__char_traits_char____tie_28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 72 >> 2]; + HEAP32[$0 + 72 >> 2] = $1; + return $2; +} + +function std____2____time_get_c_storage_wchar_t_____months_28_29_20const($0) { + $0 = $0 | 0; + if (HEAPU8[82664]) { + return HEAP32[20665]; + } + std____2__init_wmonths_28_29(); + HEAP8[82664] = 1; + HEAP32[20665] = 83472; + return 83472; +} + +function std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______end_cap_28_29($0) { + return std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image_____first_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float______first_28_29($0) { + return std____2____compressed_pair_elem_vision__Point3d_float___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96______first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__Node_96____2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_multi_marker___2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__NodeArray__NodeArray_28_28anonymous_20namespace_29__itanium_demangle__Node___2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 + 4 >> 2] = $2; + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2__allocator_traits_std____2__allocator_int____deallocate_28std____2__allocator_int___2c_20int__2c_20unsigned_20long_29($0, $1, $2) { + std____2__allocator_int___deallocate_28int__2c_20unsigned_20long_29($0, $1, $2); +} + +function std____2____unwrap_iter_impl_vision__Point3d_float___2c_20true_____apply_28vision__Point3d_float___29($0) { + return vision__Point3d_float___20std____2____to_address_vision__Point3d_float___28vision__Point3d_float___29($0); +} + +function std____2____unwrap_iter_impl_std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20false_____apply_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___29($0) { + return $0; +} + +function std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image_______alloc_28_29($0) { + return std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image_____second_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_vision__Point3d_float___2c_20std____2__allocator_vision__Point3d_float_____first_28_29($0) { + return std____2____compressed_pair_elem_vision__Point3d_float___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_vision__Point2d_float___2c_20std____2__allocator_vision__Point2d_float_____first_28_29($0) { + return std____2____compressed_pair_elem_vision__Point2d_float___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Node_96____2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_vision__Node_96_____allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int_2c_20float___getTypes_28_29_20const($0) { + return emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20int_2c_20float____get_28_29(); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function void_20std____2__allocator_std____2__pair_float_2c_20int____construct_std____2__pair_float_2c_20int___28std____2__pair_float_2c_20int___29($0, $1) { + std____2__pair_float_2c_20int___pair_true_2c_20_28void__290__28_29($1); +} + +function std____2__moneypunct_char_2c_20false___do_grouping_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0); +} + +function std____2__enable_if_4ul_20___204_2c_20void___type_20std____2____check_for_overflow_4ul__28unsigned_20long_29($0) { + if ($0 >>> 0 >= 4294967292) { + std____2____throw_overflow_error_28char_20const__29(28539); + abort(); + } +} + +function std____2____time_get_c_storage_wchar_t_____weeks_28_29_20const($0) { + $0 = $0 | 0; + if (HEAPU8[82648]) { + return HEAP32[20661]; + } + std____2__init_wweeks_28_29(); + HEAP8[82648] = 1; + HEAP32[20661] = 82992; + return 82992; +} + +function std____2____time_get_c_storage_wchar_t_____am_pm_28_29_20const($0) { + $0 = $0 | 0; + if (HEAPU8[82680]) { + return HEAP32[20669]; + } + std____2__init_wam_pm_28_29(); + HEAP8[82680] = 1; + HEAP32[20669] = 83808; + return 83808; +} + +function std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__match_t__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_vision__Keyframe_96___2c_20std____2__default_delete_vision__Keyframe_96_____first_28_29($0) { + return std____2____compressed_pair_elem_vision__Keyframe_96___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_unsigned_20short__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function void_20std____2____debug_db_insert_c_std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____28std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____29($0) {} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______end_cap_28_29($0) { + return std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t____first_28_29($0 + 8 | 0); +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______end_cap_28_29($0) { + return std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char____first_28_29($0 + 8 | 0); +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(30486); + abort(); +} + +function std____2__moneypunct_char_2c_20true___do_grouping_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____basic_string_28_29($0); +} + +function std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______money_put_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______money_get_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2__ios_base__clear_28unsigned_20int_29($0, $1) { + $1 = !HEAP32[$0 + 24 >> 2] | $1; + HEAP32[$0 + 16 >> 2] = $1; + if (HEAP32[$0 + 20 >> 2] & $1) { + std____2____throw_failure_28char_20const__29(30757); + abort(); + } +} + +function std____2__allocator_vision__Point2d_float____deallocate_28vision__Point2d_float___2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 3, 4); +} + +function std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short____first_28_29_20const($0) { + return std____2____compressed_pair_elem_unsigned_20short__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_unsigned_20short__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_unsigned_20short___allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_float___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_float___2c_20void__28std____2__allocator_float___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function ar3DCreateHandle2($0) { + var $1 = 0; + $1 = dlmalloc(4); + if ($1) { + $0 = icpCreateHandle($0); + HEAP32[$1 >> 2] = $0; + if (!$0) { + dlfree($1); + $1 = 0; + } + return $1; + } + arLog(0, 3, 1790, 0); + exit(1); + abort(); +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______alloc_28_29($0) { + return std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t____second_28_29($0 + 8 | 0); +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______alloc_28_29($0) { + return std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char____second_28_29($0 + 8 | 0); +} + +function std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__messages_wchar_t___messages_28unsigned_20long_29($0, $1) { + $1 = std____2__messages_base__messages_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 63604; + return $1; +} + +function std____2__iterator_traits_wchar_t_20const____difference_type_20std____2____distance_wchar_t_20const___28wchar_t_20const__2c_20wchar_t_20const__2c_20std____2__random_access_iterator_tag_29($0, $1) { + return $1 - $0 >> 2; +} + +function std____2____time_get_c_storage_char_____months_28_29_20const($0) { + $0 = $0 | 0; + if (HEAPU8[82656]) { + return HEAP32[20663]; + } + std____2__init_months_28_29(); + HEAP8[82656] = 1; + HEAP32[20663] = 83168; + return 83168; +} + +function std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______end_cap_28_29($0) { + return std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker_____first_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function __sindf($0) { + var $1 = 0, $2 = 0; + $1 = $0 * $0; + $2 = $1 * $0; + return Math_fround($2 * ($1 * $1) * ($1 * 2718311493989822e-21 + -.00019839334836096632) + ($2 * ($1 * .008333329385889463 + -.16666666641626524) + $0)); +} + +function $28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs__getBaseName_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $1 = HEAP32[$1 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($0, $1); +} + +function void_20std____2__allocator_traits_std____2__allocator_float____construct_float_2c_20void__28std____2__allocator_float___2c_20float__29($0, $1) { + void_20std____2__allocator_float___construct_float__28float__29($0, $1); +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______data_28_29_20const($0) { + return vision__Node_96____20std____2____to_address_vision__Node_96____28vision__Node_96____29(HEAP32[$0 >> 2]); +} + +function std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___operator_20bool_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29___first_28_29_20const($0) >> 2] != 0; +} + +function std____2__numpunct_wchar_t___20std____2___28anonymous_20namespace_29__make_std____2__numpunct_wchar_t__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__numpunct_wchar_t___numpunct_28unsigned_20long_29(83960, 1); +} + +function std____2__messages_wchar_t___20std____2___28anonymous_20namespace_29__make_std____2__messages_wchar_t__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__messages_wchar_t___messages_28unsigned_20long_29(84160, 1); +} + +function std____2__iterator_traits_unsigned_20char____difference_type_20std____2____distance_unsigned_20char___28unsigned_20char__2c_20unsigned_20char__2c_20std____2__random_access_iterator_tag_29($0, $1) { + return $1 - $0 | 0; +} + +function std____2____split_buffer_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; + return $0; +} + +function std____2____split_buffer_multi_marker_2c_20std____2__allocator_multi_marker_______alloc_28_29($0) { + return std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker_____second_28_29($0 + 12 | 0); +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void___________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__match_t__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__match_t__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_vision__match_t___allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_unsigned_20char___allocator_28_29($0); +} + +function legalstub$dynCall_jiji($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + $0 = dynCall_jiji($0, $1, $2, $3, $4); + $2 = i64toi32_i32$HIGH_BITS; + setTempRet0($2); + return $0 | 0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int_2c_20int___getTypes_28_29_20const($0) { + return emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20int_2c_20int____get_28_29(); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___dropBack_28unsigned_20long_29($0, $1) { + HEAP32[$0 + 4 >> 2] = HEAP32[$0 >> 2] + ($1 << 2); +} + +function $28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName__getBaseName_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $1 = HEAP32[$1 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($0, $1); +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 3) | 0; +} + +function std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter____destroy_28std____2__shared_ptr_vision__FrontendSinkFilter___29($0, $1) { + std____2__shared_ptr_vision__FrontendSinkFilter____shared_ptr_28_29($1); +} + +function std____2____time_get_c_storage_char_____weeks_28_29_20const($0) { + $0 = $0 | 0; + if (HEAPU8[82640]) { + return HEAP32[20659]; + } + std____2__init_weeks_28_29(); + HEAP8[82640] = 1; + HEAP32[20659] = 82816; + return 82816; +} + +function std____2____time_get_c_storage_char_____am_pm_28_29_20const($0) { + $0 = $0 | 0; + if (HEAPU8[82672]) { + return HEAP32[20667]; + } + std____2__init_am_pm_28_29(); + HEAP8[82672] = 1; + HEAP32[20667] = 83776; + return 83776; +} + +function std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__match_t__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint_____first_28_29($0) { + return std____2____compressed_pair_elem_vision__FeaturePoint__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char____first_28_29_20const($0) { + return std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_vision__Keyframe_96___2c_200_2c_20false_____compressed_pair_elem_vision__Keyframe_96____2c_20void__28vision__Keyframe_96____29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function std____2____compressed_pair_elem_std____2__shared_ptr_vision__FrontendSinkFilter___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_wchar_t__2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_wchar_t__20const__2c_20void__28std____2__allocator_wchar_t__20const__29($0, $1) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_destructor_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function void_20std____2__allocator_vision__Image___construct_vision__Image_2c_20vision__Image_20const___28vision__Image__2c_20vision__Image_20const__29($0, $1, $2) { + vision__Image__Image_28vision__Image_20const__29($1, $2); +} + +function void_20std____2____swap_allocator_std____2__allocator_vision__match_t___28std____2__allocator_vision__match_t___2c_20std____2__allocator_vision__match_t___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) {} + +function vision__Keyframe_96____Keyframe_28_29($0) { + vision__BinaryHierarchicalClustering_96____BinaryHierarchicalClustering_28_29($0 + 36 | 0); + vision__BinaryFeatureStore___BinaryFeatureStore_28_29($0 + 8 | 0); + return $0; +} + +function unsigned_20int_20vision__HammingDistance_96__28unsigned_20char_20const__2c_20unsigned_20char_20const__29($0, $1) { + return vision__HammingDistance768_28unsigned_20int_20const__2c_20unsigned_20int_20const__29($0, $1); +} + +function std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______num_put_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______num_get_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2__messages_char___messages_28unsigned_20long_29($0, $1) { + $1 = std____2__messages_base__messages_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 63484; + return $1; +} + +function std____2__basic_ios_char_2c_20std____2__char_traits_char_____basic_ios_28_29_1($0) { + $0 = $0 | 0; + std____2__basic_ios_char_2c_20std____2__char_traits_char_____basic_ios_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_node_base_28_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____hash_const_iterator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void______operator___28_29($0) { + HEAP32[$0 >> 2] = HEAP32[HEAP32[$0 >> 2] >> 2]; + return $0; +} + +function std____2____compressed_pair_vision__FeaturePoint__2c_20std____2__allocator_vision__FeaturePoint____first_28_29($0) { + return std____2____compressed_pair_elem_vision__FeaturePoint__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_vision__DoGScaleInvariantDetector__FeaturePoint__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_NullArrayDeleter_unsigned_20char__2c_201_2c_20true_____compressed_pair_elem_NullArrayDeleter_unsigned_20char__2c_20void__28NullArrayDeleter_unsigned_20char____29($0, $1) { + return $0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int_2c_20int___getTypes_28_29_20const($0) { + return emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20int_2c_20int____get_28_29(); +} + +function arVecAlloc($0) { + var $1 = 0, $2 = 0; + $1 = dlmalloc(8); + if ($1) { + $2 = dlmalloc($0 << 3); + HEAP32[$1 >> 2] = $2; + if (!$2) { + dlfree($1); + return 0; + } + HEAP32[$1 + 4 >> 2] = $0; + $2 = $1; + } + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___isInline_28_29_20const($0) { + return HEAP32[$0 >> 2] == ($0 + 12 | 0); +} + +function vision__BinaryFeatureMatcher_96___BinaryFeatureMatcher_28_29($0) { + $0 = std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____vector_28_29($0); + HEAP32[$0 + 12 >> 2] = 1060320051; + return $0; +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(1041); + abort(); +} + +function std____2__vector_float_2c_20std____2__allocator_float____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_float_2c_20std____2__allocator_float______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29___first_28_29_20const($0) >> 2]; +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29_20const($0) { + return std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sgetc_28_29(HEAP32[$0 >> 2]); +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29_20const($0) { + return std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sgetc_28_29(HEAP32[$0 >> 2]) << 24 >> 24; +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________max_size_28_29_20const($0) { + return 1073741823; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void___________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_vision__Image__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char____second_28_29($0) { + return std____2____compressed_pair_elem_NullArrayDeleter_unsigned_20char__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function __ofl_add($0) { + var $1 = 0, $2 = 0; + $1 = __ofl_lock(); + HEAP32[$0 + 56 >> 2] = HEAP32[$1 >> 2]; + $2 = HEAP32[$1 >> 2]; + if ($2) { + HEAP32[$2 + 52 >> 2] = $0; + } + HEAP32[$1 >> 2] = $0; + __ofl_unlock(); + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__StdQualifiedName__getBaseName_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $1 = HEAP32[$1 + 8 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($0, $1); +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0) { + std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sbumpc_28_29(HEAP32[$0 >> 2]); + return $0; +} + +function std____2__collate_wchar_t___20std____2___28anonymous_20namespace_29__make_std____2__collate_wchar_t__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__collate_wchar_t___collate_28unsigned_20long_29(83848, 1); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Image__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_vision__Image___allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_int___2c_201_2c_20false_____compressed_pair_elem_std____2__allocator_int___2c_20void__28std____2__allocator_int___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28unsigned_20int_29($0, $1) { + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28unsigned_20long_20long_29($0, $1, 0); +} + +function void_20std____2__allocator_vision__Node_96_____construct_vision__Node_96___2c_20vision__Node_96___20const___28vision__Node_96____2c_20vision__Node_96___20const__29($0, $1, $2) { + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; +} + +function vision__BinaryFeatureStore__point_28unsigned_20long_29($0, $1) { + return std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29($0 + 16 | 0, $1); +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(1041); + abort(); +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint_____ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____data_28_29_20const($0) { + return unsigned_20short__20std____2____to_address_unsigned_20short__28unsigned_20short__29(HEAP32[$0 >> 2]); +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2____compressed_pair_elem_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function arMatrixAllocMulf($0, $1) { + var $2 = 0; + $2 = arMatrixAllocf(HEAP32[$0 + 4 >> 2], HEAP32[$1 + 8 >> 2]); + if ($2) { + if ((arMatrixMulf($2, $0, $1) | 0) >= 0) { + return $2; + } + arMatrixFreef($2); + } + return 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__QualifiedName__getBaseName_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $1 = HEAP32[$1 + 12 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($0, $1); +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______end_cap_28_29($0) { + return std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image____first_28_29($0 + 8 | 0); +} + +function std____2__unique_ptr_unsigned_20char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($0) { + std____2__unique_ptr_unsigned_20char_2c_20void_20_28__29_28void__29___reset_28unsigned_20char__29($0, 0); + return $0; +} + +function std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___operator_20bool_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_char__2c_20void_20_28__29_28void__29___first_28_29_20const($0) >> 2] != 0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(31622); + abort(); +} + +function std____2__allocator_char__20std____2__allocator_traits_std____2__allocator_char____select_on_container_copy_construction_std____2__allocator_char__2c_20void_2c_20void__28std____2__allocator_char__20const__29($0) {} + +function std____2____unwrap_iter_impl_vision__FeaturePoint__2c_20true_____apply_28vision__FeaturePoint__29($0) { + return vision__FeaturePoint__20std____2____to_address_vision__FeaturePoint__28vision__FeaturePoint__29($0); +} + +function std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__Image__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_multi_marker__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_multi_marker__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_multi_marker___allocator_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack__getElements_28_29_20const($0, $1) { + var $2 = 0; + $2 = HEAP32[$1 + 12 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 + 8 >> 2]; + HEAP32[$0 + 4 >> 2] = $2; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______alloc_28_29($0) { + return std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image____second_28_29($0 + 8 | 0); +} + +function std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char______money_put_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______money_get_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image____first_28_29_20const($0) { + return std____2____compressed_pair_elem_vision__Image__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__pair_float_2c_20unsigned_20long___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_______2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function __memrchr($0, $1, $2) { + var $3 = 0; + $1 = $1 & 255; + while (1) { + if (!$2) { + return 0; + } + $2 = $2 - 1 | 0; + $3 = $2 + $0 | 0; + if (HEAPU8[$3 | 0] != ($1 | 0)) { + continue; + } + break; + } + return $3; +} + +function __cxxabiv1___28anonymous_20namespace_29__GuardByte__GuardByte_28unsigned_20char__29($0, $1) { + return __cxxabiv1___28anonymous_20namespace_29__AtomicInt_unsigned_20char___AtomicInt_28unsigned_20char__29($0, $1); +} + +function std____2__allocator_vision__Node_96_____deallocate_28vision__Node_96____2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function std____2____unwrap_iter_impl_std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20false_____apply_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___29($0) { + return $0; +} + +function std____2____split_buffer_unsigned_20short_2c_20std____2__allocator_unsigned_20short______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void___________non_trivial_if_28_29($0) { + return $0; +} + +function float_20vision__ClipScalar_float__28float_2c_20float_2c_20float_29($0, $1, $2) { + label$1: { + if ($0 < $1) { + break label$1; + } + $1 = $0; + if (!($0 > $2)) { + break label$1; + } + $1 = $2; + } + return $1; +} + +function float_20vision__CauchyCost_float__28float_2c_20float_2c_20float_29($0, $1, $2) { + return log_28float_29(Math_fround(Math_fround(Math_fround(Math_fround($0 * $0) + Math_fround($1 * $1)) * $2) + Math_fround(1))); +} + +function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_28_29() { + return 40180; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function $28anonymous_20namespace_29__itanium_demangle__NestedName__getBaseName_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $1 = HEAP32[$1 + 12 >> 2]; + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($0, $1); +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29____unique_ptr_28_29($0) { + std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___reset_28unsigned_20int__29($0, 0); + return $0; +} + +function std____2__numpunct_char___20std____2___28anonymous_20namespace_29__make_std____2__numpunct_char__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__numpunct_char___numpunct_28unsigned_20long_29(83936, 1); +} + +function std____2__messages_char___20std____2___28anonymous_20namespace_29__make_std____2__messages_char__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__messages_char___messages_28unsigned_20long_29(84152, 1); +} + +function std____2__allocator_traits_std____2__allocator_wchar_t____allocate_28std____2__allocator_wchar_t___2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_wchar_t___allocate_28unsigned_20long_29($0, $1); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void________hash_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function std____2____compressed_pair_vision__Node_96___2c_20std____2__default_delete_vision__Node_96_____first_28_29($0) { + return std____2____compressed_pair_elem_vision__Node_96___2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_multi_marker__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function arMatrixAllocTransf($0) { + var $1 = 0; + $1 = arMatrixAllocf(HEAP32[$0 + 8 >> 2], HEAP32[$0 + 4 >> 2]); + if ($1) { + if ((arMatrixTransf($1, $0) | 0) >= 0) { + return $1; + } + arMatrixFreef($1); + } + return 0; +} + +function arMatrixAllocMul($0, $1) { + var $2 = 0; + $2 = arMatrixAlloc(HEAP32[$0 + 4 >> 2], HEAP32[$1 + 8 >> 2]); + if ($2) { + if ((arMatrixMul($2, $0, $1) | 0) >= 0) { + return $2; + } + arMatrixFree($2); + } + return 0; +} + +function void_20std____2____debug_db_insert_c_std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______28std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______29($0) {} + +function void_20std____2___28anonymous_20namespace_29____libcpp_atomic_store_unsigned_20long_20volatile_2c_20unsigned_20long__28unsigned_20long_20volatile__2c_20unsigned_20long_2c_20int_29($0) { + HEAP32[$0 >> 2] = -1; +} + +function threadEndSignal($0) { + var $1 = 0; + $1 = $0 + 16 | 0; + __pthread_mutex_lock($1); + HEAP32[$0 + 8 >> 2] = 1; + HEAP32[$0 + 12 >> 2] = 0; + pthread_cond_signal($0 + 88 | 0); + __pthread_mutex_unlock($1); + return 0; +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____data_28_29_20const($0) { + return vision__match_t__20std____2____to_address_vision__match_t__28vision__match_t__29(HEAP32[$0 >> 2]); +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____data_28_29_20const($0) { + return unsigned_20char__20std____2____to_address_unsigned_20char__28unsigned_20char__29(HEAP32[$0 >> 2]); +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______end_cap_28_29($0) { + return std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker____first_28_29($0 + 8 | 0); +} + +function std____2__allocator_unsigned_20short___deallocate_28unsigned_20short__2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 1, 2); +} + +function std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true_____unordered_map_hasher_28_29($0) { + return $0; +} + +function std____2____split_buffer_unsigned_20char_2c_20std____2__allocator_unsigned_20char______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; + return $0; +} + +function std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96_______first_28_29($0) { + return std____2____compressed_pair_elem_vision__Node_96____2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_unsigned_20char__2c_20void_20_28__29_28void__29___second_28_29($0) { + return std____2____compressed_pair_elem_void_20_28__29_28void__29_2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker____first_28_29_20const($0) { + return std____2____compressed_pair_elem_multi_marker__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_char__20const__2c_20void__28std____2__allocator_char__20const__29($0, $1) { + return $0; +} + +function legalstub$dynCall_iiiiij($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; + return dynCall_iiiiij($0, $1, $2, $3, $4, $5, $6) | 0; +} + +function copysignl($0, $1, $2, $3, $4, $5, $6, $7, $8) { + HEAP32[$0 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = $2; + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 12 >> 2] = $4 & 65535 | ($8 >>> 16 & 32768 | $4 >>> 16 & 32767) << 16; +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96_______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______alloc_28_29($0) { + return std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker____second_28_29($0 + 8 | 0); +} + +function std____2__vector_int_2c_20std____2__allocator_int____capacity_28_29_20const($0) { + return HEAP32[std____2__vector_int_2c_20std____2__allocator_int______end_cap_28_29_20const($0) >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2__numpunct_wchar_t__20const__20std____2__use_facet_std____2__numpunct_wchar_t___28std____2__locale_20const__29($0) { + return std____2__locale__use_facet_28std____2__locale__id__29_20const($0, 82628); +} + +function std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char______num_put_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______num_get_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2__ctype_wchar_t___ctype_28unsigned_20long_29($0, $1) { + $1 = std____2__ctype_base__ctype_base_28_29(std____2__locale__facet__facet_28unsigned_20long_29($0, $1)); + HEAP32[$1 >> 2] = 59544; + return $1; +} + +function std____2____split_buffer_float_2c_20std____2__allocator_float_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_float__2c_20std____2__allocator_float_____first_28_29_20const($0 + 12 | 0); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_node_base_28_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_vision__Node_96____2c_20std____2__allocator_vision__Node_96______first_28_29($0) { + return std____2____compressed_pair_elem_vision__Node_96____2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29___second_28_29($0) { + return std____2____compressed_pair_elem_void_20_28__29_28void__29_2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_float__2c_20std____2__allocator_float____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_float__2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function __wasi_syscall_ret($0) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + if (!$0) { + return 0; + } + wasm2js_i32$0 = __errno_location(), wasm2js_i32$1 = $0, HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return -1; +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return 1; +} + +function void_20std____2__allocator_vision__PriorityQueueItem_96____construct_vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___29($0, $1) { + vision__PriorityQueueItem_96___PriorityQueueItem_28_29($1); +} + +function std____2__pointer_traits_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__20const____pointer_to_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__20const__29($0) { + return $0; +} + +function std____2__iterator_traits_char_20const____difference_type_20std____2____distance_char_20const___28char_20const__2c_20char_20const__2c_20std____2__random_access_iterator_tag_29($0, $1) { + return $1 - $0 | 0; +} + +function std____2__ctype_wchar_t___20std____2___28anonymous_20namespace_29__make_std____2__ctype_wchar_t__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__ctype_wchar_t___ctype_28unsigned_20long_29(83872, 1); +} + +function std____2__allocator_vision__match_t___deallocate_28vision__match_t__2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 3, 4); +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true_____unordered_map_equal_28_29($0) { + return $0; +} + +function std____2____time_put____time_put_28_29($0) { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + wasm2js_i32$0 = $0, wasm2js_i32$1 = std____2____cloc_28_29(), HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; + return $0; +} + +function std____2____split_buffer_float_2c_20std____2__allocator_float_____clear_28_29($0) { + std____2____split_buffer_float_2c_20std____2__allocator_float_______destruct_at_end_28float__29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__default_delete_unsigned_20char____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function get_buff_2($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + $2 = fgets($0, 256, $1); + if ($2) { + $3 = HEAPU8[$0 | 0]; + if (($3 | 0) == 10 | ($3 | 0) == 35) { + continue; + } + } + break; + } + return $2; +} + +function get_buff_1($0, $1) { + var $2 = 0, $3 = 0; + while (1) { + $2 = fgets($0, 256, $1); + if ($2) { + $3 = HEAPU8[$0 | 0]; + if (($3 | 0) == 10 | ($3 | 0) == 35) { + continue; + } + } + break; + } + return $2; +} + +function _embind_initialize_bindings() { + var $0 = 0; + $0 = HEAP32[19599]; + if ($0) { + while (1) { + FUNCTION_TABLE[HEAP32[$0 >> 2]](); + $0 = HEAP32[$0 + 4 >> 2]; + if ($0) { + continue; + } + break; + } + } +} + +function vision__Logger___Logger_28_29($0) { + return std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter______vector_28_29($0); +} + +function vision__DoGPyramid__DoGPyramid_28_29($0) { + $0 = std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____vector_28_29($0); + HEAP32[$0 + 12 >> 2] = 0; + HEAP32[$0 + 16 >> 2] = 0; + return $0; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(1041); + abort(); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short_____ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 2) | 0; +} + +function std____2__collate_char___20std____2___28anonymous_20namespace_29__make_std____2__collate_char__2c_20unsigned_20int__28unsigned_20int_29() { + std____2__collate_char___collate_28unsigned_20long_29(83840, 1); +} + +function std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true_____unordered_map_hasher_28_29($0) { + return $0; +} + +function std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short_____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20short__2c_200_2c_20false_____get_28_29($0); +} + +function arMatrixAllocTrans($0) { + var $1 = 0; + $1 = arMatrixAlloc(HEAP32[$0 + 8 >> 2], HEAP32[$0 + 4 >> 2]); + if ($1) { + if ((arMatrixTrans($1, $0) | 0) >= 0) { + return $1; + } + arMatrixFree($1); + } + return 0; +} + +function void_20std____2__allocator_traits_std____2__allocator_int____construct_int_2c_20void__28std____2__allocator_int___2c_20int__29($0, $1) { + void_20std____2__allocator_int___construct_int__28int__29($0, $1); +} + +function void_20std____2____debug_db_insert_c_std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____28std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____29($0) {} + +function std____2____split_buffer_vision__Image_2c_20std____2__allocator_vision__Image______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; + return $0; +} + +function std____2____compressed_pair_unsigned_20short__2c_20std____2__allocator_unsigned_20short____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20short__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29___first_28_29_20const($0) { + return std____2____compressed_pair_elem_unsigned_20int__2c_200_2c_20false_____get_28_29_20const($0); +} + +function emscripten__internal__WithPolicies____ArgTypeList_double_2c_20int___getTypes_28_29_20const($0) { + return emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_double_2c_20int____get_28_29(); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___isInline_28_29_20const($0) { + return HEAP32[$0 >> 2] == ($0 + 12 | 0); +} + +function vision__Logger__Logger_28_29($0) { + return std____2__vector_std____2__shared_ptr_vision__FrontendSinkFilter__2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_____vector_28_29($0); +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t_____ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char_____ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__locale____imp__20std____2___28anonymous_20namespace_29__make_std____2__locale____imp_2c_20unsigned_20int__28unsigned_20int_29() { + std____2__locale____imp____imp_28unsigned_20long_29(84168, 1); +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(31622); + abort(); +} + +function std____2__allocator_traits_std____2__allocator_float____allocate_28std____2__allocator_float___2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_float___allocate_28unsigned_20long_29($0, $1); +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20arController__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true_____unordered_map_equal_28_29($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_unsigned_20long____SwapAndRestore_28_29($0) { + if (HEAPU8[$0 + 8 | 0]) { + HEAP32[HEAP32[$0 >> 2] >> 2] = HEAP32[$0 + 4 >> 2]; + } + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionType__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return 1; +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding__hasFunctionSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return 1; +} + +function vision__VisualDatabaseFacade___VisualDatabaseFacade_28_29($0) { + return std____2__unique_ptr_vision__VisualDatabaseImpl_2c_20std____2__default_delete_vision__VisualDatabaseImpl_____unique_ptr_28_29($0); +} + +function std__logic_error___logic_error_28_29($0) { + $0 = $0 | 0; + HEAP32[$0 >> 2] = 65616; + std____2____libcpp_refstring_____libcpp_refstring_28_29($0 + 4 | 0); + return std__exception___exception_28_29($0) | 0; +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0) { + std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sbumpc_28_29(HEAP32[$0 >> 2]); + return $0; +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t____codecvt_28_29_1($0) { + $0 = $0 | 0; + std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t____codecvt_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_streambuf_28_29($0) { + $0 = $0 | 0; + HEAP32[$0 >> 2] = 53320; + std____2__locale___locale_28_29($0 + 4 | 0); + return $0 | 0; +} + +function std____2__allocator_vision__Image___deallocate_28vision__Image__2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 5, 4); +} + +function std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t_____first_28_29($0) { + return std____2____compressed_pair_elem_vision__match_t__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char_____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_float__2c_20std____2__allocator_float_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_float___2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____compressed_pair_elem_unsigned_20char___2c_20void__28unsigned_20char___29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_wchar_t__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_wchar_t___allocator_28_29($0); +} + +function emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____getCount_28_29_20const($0) { + return 3; +} + +function $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_unsigned_20int____SwapAndRestore_28_29($0) { + if (HEAPU8[$0 + 8 | 0]) { + HEAP32[HEAP32[$0 >> 2] >> 2] = HEAP32[$0 + 4 >> 2]; + } + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2__vector_int_2c_20std____2__allocator_int____end_28_29_20const($0) { + return std____2__vector_int_2c_20std____2__allocator_int______make_iter_28int_20const__29_20const($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29___first_28_29_20const($0) >> 2]; +} + +function std____2__numpunct_char__20const__20std____2__use_facet_std____2__numpunct_char___28std____2__locale_20const__29($0) { + return std____2__locale__use_facet_28std____2__locale__id__29_20const($0, 82620); +} + +function std____2__default_delete_vision__Keyframe_96____operator_28_29_28vision__Keyframe_96___29_20const($0, $1) { + if ($1) { + vision__Keyframe_96____Keyframe_28_29($1); + } + operator_20delete_28void__29($1); +} + +function std____2__ctype_wchar_t__20const__20std____2__use_facet_std____2__ctype_wchar_t___28std____2__locale_20const__29($0) { + return std____2__locale__use_facet_28std____2__locale__id__29_20const($0, 82556); +} + +function std____2__allocator_unsigned_20char___deallocate_28unsigned_20char__2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2, 1); +} + +function std____2__allocator_std____2__pair_float_2c_20int____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2__pair_float_2c_20int_______non_trivial_if_28_29($0); +} + +function std____2____stdoutbuf_wchar_t______stdoutbuf_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_streambuf_28_29($0)); +} + +function std____2____shared_weak_count____shared_weak_count_28long_29($0, $1) { + $0 = std____2____shared_count____shared_count_28long_29($0, $1); + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 >> 2] = 64704; + return $0; +} + +function std____2____compressed_pair_vision__match_t__2c_20std____2__allocator_vision__match_t____first_28_29($0) { + return std____2____compressed_pair_elem_vision__match_t__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_unsigned_20char__2c_20std____2__allocator_unsigned_20char____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_int__2c_20std____2__allocator_int____second_28_29_20const($0) { + return std____2____compressed_pair_elem_std____2__allocator_int__2c_201_2c_20true_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_wchar_t__2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_wchar_t__2c_20void__28std____2__allocator_wchar_t____29($0, $1) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_______2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______get_28_29() { + return 40284; +} + +function arMatrixAllocDup($0) { + var $1 = 0; + $1 = arMatrixAlloc(HEAP32[$0 + 4 >> 2], HEAP32[$0 + 8 >> 2]); + if ($1) { + if ((arMatrixDup($1, $0) | 0) >= 0) { + return $1; + } + arMatrixFree($1); + } + return 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_char_20const_____SwapAndRestore_28_29($0) { + if (HEAPU8[$0 + 8 | 0]) { + HEAP32[HEAP32[$0 >> 2] >> 2] = HEAP32[$0 + 4 >> 2]; + } + return $0; +} + +function void_20std____2__allocator_unsigned_20char___construct_unsigned_20char_2c_20unsigned_20char_20const___28unsigned_20char__2c_20unsigned_20char_20const__29($0, $1, $2) { + HEAP8[$1 | 0] = HEAPU8[$2 | 0]; +} + +function void_20std____2__allocator_traits_std____2__allocator_float____destroy_float_2c_20void__28std____2__allocator_float___2c_20float__29($0, $1) { + std____2__allocator_float___destroy_28float__29($0, $1); +} + +function void_20std____2____debug_db_insert_c_std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____28std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____29($0) {} + +function void_20std____2____debug_db_insert_c_std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____28std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____29($0) {} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(15320); + abort(); +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(21376); + abort(); +} + +function std____2__shared_ptr_vision__FrontendSinkFilter____shared_ptr_28_29($0) { + var $1 = 0; + $1 = HEAP32[$0 + 4 >> 2]; + if ($1) { + std____2____shared_weak_count____release_shared_28_29($1); + } + return $0; +} + +function std____2__allocator_traits_std____2__allocator_char____allocate_28std____2__allocator_char___2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_char___allocate_28unsigned_20long_29($0, $1); +} + +function std____2__allocator_multi_marker___deallocate_28multi_marker__2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 3, 4); +} + +function std____2____unordered_map_hasher_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__hash_int__2c_20std____2__equal_to_int__2c_20true_____unordered_map_hasher_28_29($0) { + return $0; +} + +function std____2____num_get_char_____do_widen_28std____2__ios_base__2c_20char__29_20const($0, $1, $2) { + return std____2____num_get_char_____do_widen_p_28std____2__ios_base__2c_20char__29_20const($0, $1, $2); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void________hash_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29___second_28_29($0) { + return std____2____compressed_pair_elem_void_20_28__29_28void__29_2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_elem_vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int___getTypes_28_29_20const($0) { + return emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20int____get_28_29(); +} + +function $28anonymous_20namespace_29__itanium_demangle__StringView__operator_5b_5d_28unsigned_20long_29_20const($0) { + return $28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___empty_28_29_20const($0) { + return HEAP32[$0 >> 2] == HEAP32[$0 + 4 >> 2]; +} + +function $28anonymous_20namespace_29__itanium_demangle__ArrayType__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return 1; +} + +function void_20std____2___28anonymous_20namespace_29____libcpp_relaxed_store_unsigned_20long_20volatile_2c_20unsigned_20long__28unsigned_20long_20volatile__2c_20unsigned_20long_29($0) { + HEAP32[$0 >> 2] = 1; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image_____ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__vector_int_2c_20std____2__allocator_int____begin_28_29_20const($0) { + return std____2__vector_int_2c_20std____2__allocator_int______make_iter_28int_20const__29_20const($0, HEAP32[$0 >> 2]); +} + +function std____2__moneypunct_wchar_t_2c_20false___do_pos_format_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + HEAP8[$0 | 0] = 2; + HEAP8[$0 + 1 | 0] = 3; + HEAP8[$0 + 2 | 0] = 0; + HEAP8[$0 + 3 | 0] = 4; +} + +function std____2__moneypunct_wchar_t_2c_20false___do_neg_format_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + HEAP8[$0 | 0] = 2; + HEAP8[$0 + 1 | 0] = 3; + HEAP8[$0 + 2 | 0] = 0; + HEAP8[$0 + 3 | 0] = 4; +} + +function std____2__allocator_vision__PriorityQueueItem_96____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_vision__PriorityQueueItem_96_______non_trivial_if_28_29($0); +} + +function std____2__allocator_std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long______max_size_28_29_20const($0) { + return 357913941; +} + +function std____2____stdinbuf_wchar_t______stdinbuf_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_streambuf_28_29($0)); +} + +function std____2____split_buffer_int_2c_20std____2__allocator_int_______end_cap_28_29_20const($0) { + return std____2____compressed_pair_int__2c_20std____2__allocator_int_____first_28_29_20const($0 + 12 | 0); +} + +function std____2____compressed_pair_elem_unsigned_20int__2c_200_2c_20false_____compressed_pair_elem_unsigned_20int___2c_20void__28unsigned_20int___29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function std____2____compressed_pair_elem_std____2__pair_float_2c_20int___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void_____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function snprintf($0, $1, $2, $3) { + var $4 = 0; + $4 = __stack_pointer - 16 | 0; + __stack_pointer = $4; + HEAP32[$4 + 12 >> 2] = $3; + $3 = vsnprintf($0, $1, $2, $3); + __stack_pointer = $4 + 16 | 0; + return $3; +} + +function arg_n($0, $1) { + var $2 = 0; + $2 = __stack_pointer - 16 | 0; + HEAP32[$2 + 12 >> 2] = $0; + $1 = ($1 >>> 0 > 1 ? ($1 << 2) - 4 | 0 : 0) + $0 | 0; + HEAP32[$2 + 8 >> 2] = $1 + 4; + return HEAP32[$1 >> 2]; +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionType__hasFunctionSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return 1; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____data_28_29_20const($0) { + return vision__Image__20std____2____to_address_vision__Image__28vision__Image__29(HEAP32[$0 >> 2]); +} + +function std____2__moneypunct_wchar_t_2c_20true___do_pos_format_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + HEAP8[$0 | 0] = 2; + HEAP8[$0 + 1 | 0] = 3; + HEAP8[$0 + 2 | 0] = 0; + HEAP8[$0 + 3 | 0] = 4; +} + +function std____2__moneypunct_wchar_t_2c_20true___do_neg_format_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + HEAP8[$0 | 0] = 2; + HEAP8[$0 + 1 | 0] = 3; + HEAP8[$0 + 2 | 0] = 0; + HEAP8[$0 + 3 | 0] = 4; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sputn_28wchar_t_20const__2c_20long_29($0, $1, $2) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 48 >> 2]]($0, $1, $2) | 0; +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________max_size_28_29_20const($0) { + return 1073741823; +} + +function std____2____unordered_map_equal_int_2c_20std____2____hash_value_type_int_2c_20ARParam__2c_20std____2__equal_to_int__2c_20std____2__hash_int__2c_20true_____unordered_map_equal_28_29($0) { + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char____first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_vision__PriorityQueueItem_96___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_float__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_float___allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_______2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int___getTypes_28_29_20const($0) { + return emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20int____get_28_29(); +} + +function __cosdf($0) { + var $1 = 0; + $0 = $0 * $0; + $1 = $0 * $0; + return Math_fround($0 * $1 * ($0 * 2439044879627741e-20 + -.001388676377460993) + ($1 * .04166662332373906 + ($0 * -.499999997251031 + 1))); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__getBaseName_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28_29($0); +} + +function $28anonymous_20namespace_29__DefaultAllocator__allocateNodeArray_28unsigned_20long_29($0, $1) { + return $28anonymous_20namespace_29__BumpPointerAllocator__allocate_28unsigned_20long_29($0, $1 << 2); +} + +function void_20std____2__destroy_at_std____2__locale__facet__2c_200__28std____2__locale__facet___29($0) { + void_20std____2____destroy_at_std____2__locale__facet__2c_200__28std____2__locale__facet___29($0); +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 2) | 0; +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker_____ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__shared_ptr_vision__FrontendSinkFilter___20std____2____to_address_std____2__shared_ptr_vision__FrontendSinkFilter___28std____2__shared_ptr_vision__FrontendSinkFilter___29($0) { + return $0; +} + +function std____2__allocator_traits_std____2__allocator_int____allocate_28std____2__allocator_int___2c_20unsigned_20long_29($0, $1) { + return std____2__allocator_int___allocate_28unsigned_20long_29($0, $1); +} + +function std____2____less_unsigned_20long_2c_20unsigned_20long___operator_28_29_28unsigned_20long_20const__2c_20unsigned_20long_20const__29_20const($0, $1, $2) { + return HEAPU32[$1 >> 2] < HEAPU32[$2 >> 2]; +} + +function std____2____hash_iterator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void______operator___28_29($0) { + HEAP32[$0 >> 2] = HEAP32[HEAP32[$0 >> 2] >> 2]; + return $0; +} + +function std____2____compressed_pair_char__2c_20void_20_28__29_28void__29___second_28_29($0) { + return std____2____compressed_pair_elem_void_20_28__29_28void__29_2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function legalstub$dynCall_viijii($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; + dynCall_viijii($0, $1, $2, $3, $4, $5, $6); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___isInline_28_29_20const($0) { + return HEAP32[$0 >> 2] == ($0 + 12 | 0); +} + +function wmemset($0, $1, $2) { + var $3 = 0; + if ($2) { + $3 = $0; + while (1) { + HEAP32[$3 >> 2] = $1; + $3 = $3 + 4 | 0; + $2 = $2 - 1 | 0; + if ($2) { + continue; + } + break; + } + } + return $0; +} + +function vision__Exception__what_28_29_20const($0) { + $0 = $0 | 0; + return std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____c_str_28_29_20const($0 + 4 | 0) | 0; +} + +function vision__DoGPyramid__get_28unsigned_20long_29_20const($0, $1) { + return std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const($0, $1); +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(15320); + abort(); +} + +function std____2__vector_float_2c_20std____2__allocator_float______end_cap_28_29_20const($0) { + return std____2____compressed_pair_float__2c_20std____2__allocator_float____first_28_29_20const($0 + 8 | 0); +} + +function std____2__pointer_traits_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int__20const____pointer_to_28std____2__pair_unsigned_20int_20const_2c_20unsigned_20int__20const__29($0) { + return $0; +} + +function std____2__pair_int_20const_2c_20std____2__vector_int_2c_20std____2__allocator_int______pair_28_29($0) { + std____2__vector_int_2c_20std____2__allocator_int_____vector_28_29($0 + 4 | 0); + return $0; +} + +function std____2__moneypunct_char_2c_20false___do_pos_format_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + HEAP8[$0 | 0] = 2; + HEAP8[$0 + 1 | 0] = 3; + HEAP8[$0 + 2 | 0] = 0; + HEAP8[$0 + 3 | 0] = 4; +} + +function std____2__moneypunct_char_2c_20false___do_neg_format_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + HEAP8[$0 | 0] = 2; + HEAP8[$0 + 1 | 0] = 3; + HEAP8[$0 + 2 | 0] = 0; + HEAP8[$0 + 3 | 0] = 4; +} + +function std____2__ctype_char___is_28unsigned_20long_2c_20char_29_20const($0, $1, $2) { + var $3 = 0; + $3 = ($2 | 0) >= 0 ? (HEAP32[HEAP32[$0 + 8 >> 2] + (($2 & 255) << 2) >> 2] & $1) != 0 : $3; + return $3; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____pbackfail_28unsigned_20int_29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return std____2__char_traits_wchar_t___eof_28_29() | 0; +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char_____basic_streambuf_28_29($0) { + $0 = $0 | 0; + HEAP32[$0 >> 2] = 53160; + std____2__locale___locale_28_29($0 + 4 | 0); + return $0 | 0; +} + +function std____2____split_buffer_int_2c_20std____2__allocator_int_____clear_28_29($0) { + std____2____split_buffer_int_2c_20std____2__allocator_int_______destruct_at_end_28int__29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image_____first_28_29($0) { + return std____2____compressed_pair_elem_vision__Image__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_int__2c_20std____2__allocator_int_____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_int___2c_201_2c_20false_____get_28_29($0 + 4 | 0); +} + +function std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_char___allocator_28_29($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function float_20vision__min3_float__28float_2c_20float_2c_20float_29($0, $1, $2) { + return float_20vision__min2_float__28float_2c_20float_29(float_20vision__min2_float__28float_2c_20float_29($0, $1), $2); +} + +function emscripten__internal__InitFunc__InitFunc_28void_20_28__29_28_29_29($0, $1) { + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$0 >> 2] = $1; + FUNCTION_TABLE[$1 | 0](); + _embind_register_bindings($0); + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___isInline_28_29_20const($0) { + return HEAP32[$0 >> 2] == ($0 + 12 | 0); +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType__getName_28_29_20const($0, $1) { + var $2 = 0; + $2 = HEAP32[$1 + 12 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 + 8 >> 2]; + HEAP32[$0 + 4 >> 2] = $2; +} + +function std____2__vector_float_2c_20std____2__allocator_float______alloc_28_29_20const($0) { + return std____2____compressed_pair_float__2c_20std____2__allocator_float____second_28_29_20const($0 + 8 | 0); +} + +function std____2__unique_ptr_unsigned_20int_2c_20void_20_28__29_28void__29___get_deleter_28_29($0) { + return std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29___second_28_29($0); +} + +function std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_28_29_20const($0) { + return HEAP32[std____2____compressed_pair_char__2c_20void_20_28__29_28void__29___first_28_29_20const($0) >> 2]; +} + +function std____2__moneypunct_char_2c_20true___do_pos_format_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + HEAP8[$0 | 0] = 2; + HEAP8[$0 + 1 | 0] = 3; + HEAP8[$0 + 2 | 0] = 0; + HEAP8[$0 + 3 | 0] = 4; +} + +function std____2__moneypunct_char_2c_20true___do_neg_format_28_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + HEAP8[$0 | 0] = 2; + HEAP8[$0 + 1 | 0] = 3; + HEAP8[$0 + 2 | 0] = 0; + HEAP8[$0 + 3 | 0] = 4; +} + +function std____2__ctype_char__20const__20std____2__use_facet_std____2__ctype_char___28std____2__locale_20const__29($0) { + return std____2__locale__use_facet_28std____2__locale__id__29_20const($0, 82564); +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____overflow_28unsigned_20int_29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return std____2__char_traits_wchar_t___eof_28_29() | 0; +} + +function std____2____less_unsigned_20int_2c_20unsigned_20long___operator_28_29_28unsigned_20int_20const__2c_20unsigned_20long_20const__29_20const($0, $1, $2) { + return HEAPU32[$1 >> 2] < HEAPU32[$2 >> 2]; +} + +function std____2____compressed_pair_vision__Image__2c_20std____2__allocator_vision__Image____first_28_29($0) { + return std____2____compressed_pair_elem_vision__Image__2c_200_2c_20false_____get_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___pop_back_28_29($0) { + HEAP32[$0 + 4 >> 2] = HEAP32[$0 + 4 >> 2] - 4; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return 0; +} + +function vision__DoGScaleInvariantDetector__FeaturePoint__20std____2____to_address_vision__DoGScaleInvariantDetector__FeaturePoint__28vision__DoGScaleInvariantDetector__FeaturePoint__29($0) { + return $0; +} + +function std____2__shared_ptr_vision__Keyframe_96_____shared_ptr_28_29($0) { + var $1 = 0; + $1 = HEAP32[$0 + 4 >> 2]; + if ($1) { + std____2____shared_weak_count____release_shared_28_29($1); + } + return $0; +} + +function std____2____compressed_pair_elem_vision__Node_96__20const___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_int__2c_201_2c_20true_____compressed_pair_elem_28std____2____default_init_tag_29($0) { + return std____2__allocator_int___allocator_28_29($0); +} + +function float_20vision__CauchyCost_float__28float_20const__2c_20float_29($0, $1) { + return float_20vision__CauchyCost_float__28float_2c_20float_2c_20float_29(HEAPF32[$0 >> 2], HEAPF32[$0 + 4 >> 2], $1); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__getSyntaxNode_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return $0 | 0; +} + +function vision__GaussianScaleSpacePyramid___GaussianScaleSpacePyramid_28_29_1($0) { + $0 = $0 | 0; + operator_20delete_28void__29(vision__GaussianScaleSpacePyramid___GaussianScaleSpacePyramid_28_29($0)); +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[$0 >> 2] + Math_imul($1, 12) | 0; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 3) | 0; +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____data_28_29_20const($0) { + return multi_marker__20std____2____to_address_multi_marker__28multi_marker__29(HEAP32[$0 >> 2]); +} + +function std____2__vector_float_2c_20std____2__allocator_float______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int____2c_20void_____max_size_28_29_20const($0) { + return 178956970; +} + +function std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker_____first_28_29($0) { + return std____2____compressed_pair_elem_multi_marker__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__locale__facet___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_______2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function memset($0, $1, $2) { + var $3 = 0; + if ($2) { + $3 = $0; + while (1) { + HEAP8[$3 | 0] = $1; + $3 = $3 + 1 | 0; + $2 = $2 - 1 | 0; + if ($2) { + continue; + } + break; + } + } + return $0; +} + +function int_20std____2___28anonymous_20namespace_29____libcpp_atomic_add_int_2c_20int__28int__2c_20int_2c_20int_29_1($0) { + var $1 = 0; + $1 = HEAP32[$0 >> 2] - 1 | 0; + HEAP32[$0 >> 2] = $1; + return $1; +} + +function emscripten__internal__WithPolicies____ArgTypeList_int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____getCount_28_29_20const($0) { + return 2; +} + +function __DOUBLE_BITS($0) { + var $1 = 0, $2 = 0; + wasm2js_scratch_store_f64(+$0); + $1 = wasm2js_scratch_load_i32(1) | 0; + $2 = wasm2js_scratch_load_i32(0) | 0; + i64toi32_i32$HIGH_BITS = $1; + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__ArrayType__hasArraySlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return 1; +} + +function void_20std____2____debug_db_insert_c_std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____28std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____29($0) {} + +function std__get_new_handler_28_29() { + return void_20_28_std____2___28anonymous_20namespace_29____libcpp_atomic_load_void_20_28__29_28_29__28void_20_28__20const__29_28_29_2c_20int_29_29_28_29(84408); +} + +function std____2____stdoutbuf_char______stdoutbuf_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__basic_streambuf_char_2c_20std____2__char_traits_char_____basic_streambuf_28_29($0)); +} + +function std____2____compressed_pair_multi_marker__2c_20std____2__allocator_multi_marker____first_28_29($0) { + return std____2____compressed_pair_elem_multi_marker__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____compressed_pair_elem_std____2__allocator_char__2c_20void__28std____2__allocator_char____29($0, $1) { + return $0; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 3) | 0; +} + +function std____2__vector_float_2c_20std____2__allocator_float______clear_28_29($0) { + std____2__vector_float_2c_20std____2__allocator_float______base_destruct_at_end_28float__29($0, HEAP32[$0 >> 2]); +} + +function std____2__char_traits_char___assign_28char__2c_20unsigned_20long_2c_20char_29($0, $1, $2) { + if ($1) { + memset($0, std____2__char_traits_char___to_int_type_28char_29($2), $1); + } + return $0; +} + +function std____2__allocator_vision__Node_96__20const____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_vision__Node_96__20const_______non_trivial_if_28_29($0); +} + +function std____2____split_buffer_float_2c_20std____2__allocator_float_______end_cap_28_29($0) { + return std____2____compressed_pair_float__2c_20std____2__allocator_float_____first_28_29($0 + 12 | 0); +} + +function std____2____compressed_pair_float__2c_20std____2__allocator_float____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_float__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_vision__Point3d_float___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_vision__Point2d_float___2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______rep_2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function siprintf($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $2; + $2 = vsiprintf($0, $1, $2); + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function float_20vision__FastMedian_float__28float__2c_20int_29($0, $1) { + return float_20vision__PartialSort_float__28float__2c_20int_2c_20int_29($0, $1, ((($1 | 0) / 2 | 0) + ($1 & 1) | 0) - 1 | 0); +} + +function fiprintf($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $2; + $2 = vfiprintf($0, $1, $2); + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function __wasm_call_ctors() { + emscripten_stack_init(); + __emscripten_environ_constructor(); + _GLOBAL__I_000100(); + _GLOBAL__sub_I_ARToolKitJS_cpp(); + _GLOBAL__sub_I_bind_cpp(); + init_pthread_self(); +} + +function __math_divzerof($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + HEAPF32[$1 + 12 >> 2] = $0 ? Math_fround(-1) : Math_fround(1); + return Math_fround(HEAPF32[$1 + 12 >> 2] / Math_fround(0)); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__hasFunctionSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return 0; +} + +function std__get_terminate_28_29() { + return void_20_28_std____2___28anonymous_20namespace_29____libcpp_atomic_load_void_20_28__29_28_29__28void_20_28__20const__29_28_29_2c_20int_29_29_28_29(74728); +} + +function std____2__pointer_traits_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____pointer_to_28std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int___29($0) { + return $0; +} + +function std____2__pair_float_2c_20int___operator__28std____2__pair_float_2c_20int__20const__29($0, $1) { + HEAPF32[$0 >> 2] = HEAPF32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = HEAP32[$1 + 4 >> 2]; + return $0; +} + +function std____2__locale__use_facet_28std____2__locale__id__29_20const($0, $1) { + return std____2__locale____imp__use_facet_28long_29_20const(HEAP32[$0 >> 2], std____2__locale__id____get_28_29($1)); +} + +function std____2__locale__locale_28_29($0) { + var $1 = 0; + $1 = HEAP32[std____2__locale____global_28_29() >> 2]; + HEAP32[$0 >> 2] = $1; + std____2____shared_count____add_shared_28_29($1); + return $0; +} + +function std____2__locale__classic_28_29() { + if (HEAPU8[82536]) { + return HEAP32[20633]; + } + std____2__locale____imp__make_classic_28_29(); + HEAP8[82536] = 1; + HEAP32[20633] = 82528; + return 82528; +} + +function std____2__locale____global_28_29() { + if (HEAPU8[82548]) { + return HEAP32[20636]; + } + std____2__locale____imp__make_global_28_29(); + HEAP8[82548] = 1; + HEAP32[20636] = 82540; + return 82540; +} + +function std____2__allocator_wchar_t___deallocate_28wchar_t__2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function std____2____stdinbuf_char______stdinbuf_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__basic_streambuf_char_2c_20std____2__char_traits_char_____basic_streambuf_28_29($0)); +} + +function std____2____split_buffer_float_2c_20std____2__allocator_float_______alloc_28_29($0) { + return std____2____compressed_pair_float__2c_20std____2__allocator_float_____second_28_29($0 + 12 | 0); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_node_base_28_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29___first_28_29_20const($0) { + return std____2____compressed_pair_elem_wchar_t__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_unsigned_20char__2c_20void_20_28__29_28void__29___first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void____2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function void_20std____2__reverse_wchar_t___28wchar_t__2c_20wchar_t__29($0, $1) { + void_20std____2____reverse_wchar_t___28wchar_t__2c_20wchar_t__2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(1041); + abort(); +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[$0 >> 2] + Math_imul($1, 20) | 0; +} + +function std____2__vector_int_2c_20std____2__allocator_int______annotate_contiguous_container_28void_20const__2c_20void_20const__2c_20void_20const__2c_20void_20const__29_20const($0, $1, $2, $3, $4) {} + +function std____2__shared_ptr_unsigned_20char____shared_ptr_28_29($0) { + var $1 = 0; + $1 = HEAP32[$0 + 4 >> 2]; + if ($1) { + std____2____shared_weak_count____release_shared_28_29($1); + } + return $0; +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sputn_28char_20const__2c_20long_29($0, $1, $2) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 48 >> 2]]($0, $1, $2) | 0; +} + +function std____2__allocator_std____2__locale__facet____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_std____2__locale__facet_______non_trivial_if_28_29($0); +} + +function std____2____compressed_pair_elem_vision__FeaturePoint__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function compE_1($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = Math_fround(0); + $2 = Math_fround(HEAPF32[$0 >> 2] - HEAPF32[$1 >> 2]); + return ($2 < Math_fround(0) ? -1 : $2 > Math_fround(0)) | 0; +} + +function ar2GetTransMatHomography($0, $1, $2, $3, $4, $5, $6) { + if (!$5) { + return ar2GetTransMatHomography2($0, $1, $2, $3, $4); + } + return ar2GetTransMatHomographyRobust($0, $1, $2, $3, $4, $6); +} + +function __uselocale($0) { + var $1 = 0, $2 = 0; + $1 = __get_tp(); + $2 = HEAP32[$1 + 88 >> 2]; + if ($0) { + HEAP32[$1 + 88 >> 2] = ($0 | 0) == -1 ? 78464 : $0; + } + return ($2 | 0) == 78464 ? -1 : $2; +} + +function void_20std____2__allocator_traits_std____2__allocator_int____destroy_int_2c_20void__28std____2__allocator_int___2c_20int__29($0, $1) { + std____2__allocator_int___destroy_28int__29($0, $1); +} + +function void_20std____2____debug_db_insert_c_std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____28std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____29($0) {} + +function vision__SampleReceptor_28vision__Image_20const__2c_20float_2c_20float_29($0, $1, $2) { + return vision__SampleReceptorBilinear_28vision__Image_20const__2c_20float_2c_20float_29($0, $1, $2); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(16035); + abort(); +} + +function std____2__vector_int_2c_20std____2__allocator_int______end_cap_28_29_20const($0) { + return std____2____compressed_pair_int__2c_20std____2__allocator_int____first_28_29_20const($0 + 8 | 0); +} + +function std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29____unique_ptr_28_29($0) { + std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___reset_28wchar_t__29($0, 0); + return $0; +} + +function std____2__ctype_wchar_t___widen_28char_20const__2c_20char_20const__2c_20wchar_t__29_20const($0, $1, $2, $3) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 48 >> 2]]($0, $1, $2, $3) | 0; +} + +function std____2____split_buffer_float_2c_20std____2__allocator_float______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_unsigned_20int__2c_20void_20_28__29_28void__29___first_28_29($0) { + return std____2____compressed_pair_elem_unsigned_20int__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_float__2c_20std____2__allocator_float_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_float__2c_200_2c_20false_____get_28_29_20const($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__2c_204ul___begin_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__reset_28char__2c_20unsigned_20long_29($0, $1, $2) { + HEAP32[$0 + 8 >> 2] = $2; + HEAP32[$0 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__hasArraySlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return 0; +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29_20const($0) { + return std____2____compressed_pair_int__2c_20std____2__allocator_int____second_28_29_20const($0 + 8 | 0); +} + +function std____2__iterator_traits_wchar_t____difference_type_20std____2____distance_wchar_t___28wchar_t__2c_20wchar_t__2c_20std____2__random_access_iterator_tag_29($0, $1) { + return $1 - $0 >> 2; +} + +function std____2____unwrap_iter_impl_unsigned_20char__2c_20true_____apply_28unsigned_20char__29($0) { + return unsigned_20char__20std____2____to_address_unsigned_20char__28unsigned_20char__29($0); +} + +function std____2____compressed_pair_float__2c_20std____2__allocator_float____first_28_29_20const($0) { + return std____2____compressed_pair_elem_float__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function sscanf($0, $1, $2) { + var $3 = 0; + $3 = __stack_pointer - 16 | 0; + __stack_pointer = $3; + HEAP32[$3 + 12 >> 2] = $2; + $2 = vsscanf($0, $1, $2); + __stack_pointer = $3 + 16 | 0; + return $2; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(15320); + abort(); +} + +function std____2__allocator_float___deallocate_28float__2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function std____2____compressed_pair_elem_vision__Node_96____2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function int_20vision__MaxIndex3_float__28float_20const__29($0) { + var $1 = 0; + $1 = HEAPF32[$0 + 4 >> 2] > HEAPF32[$0 >> 2]; + return HEAPF32[$0 + 8 >> 2] > HEAPF32[($1 << 2) + $0 >> 2] ? 2 : $1; +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(1041); + abort(); +} + +function std____2__default_delete_vision__Node_96____operator_28_29_28vision__Node_96___29_20const($0, $1) { + if ($1) { + vision__Node_96____Node_28_29($1); + } + operator_20delete_28void__29($1); +} + +function std____2__allocator_vision__Point3d_float____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_vision__Point3d_float_______non_trivial_if_28_29($0); +} + +function std____2__allocator_vision__Point2d_float____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_vision__Point2d_float_______non_trivial_if_28_29($0); +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________max_size_28_29_20const($0) { + return 1073741823; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($0, $1, $2) { + void_20std____2____do_deallocate_handle_size___28void__2c_20unsigned_20long_29($0, $1); +} + +function std____2____compressed_pair_int__2c_20std____2__allocator_int____second_28_29($0) { + return std____2____compressed_pair_elem_std____2__allocator_int__2c_201_2c_20true_____get_28_29($0); +} + +function std____2____compressed_pair_elem_unsigned_20short__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function int_20std____2___28anonymous_20namespace_29____libcpp_atomic_add_int_2c_20int__28int__2c_20int_2c_20int_29() { + var $0 = 0; + $0 = HEAP32[20638] + 1 | 0; + HEAP32[20638] = $0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SwapAndRestore_bool____SwapAndRestore_28_29($0) { + if (HEAPU8[$0 + 5 | 0]) { + HEAP8[HEAP32[$0 >> 2]] = HEAPU8[$0 + 4 | 0]; + } + return $0; +} + +function vision__FeaturePoint__FeaturePoint_28_29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP8[$0 + 16 | 0] = 1; + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 + 12 >> 2] = 0; + return $0; +} + +function unsigned_20long_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______align_it_4ul__28unsigned_20long_29($0) { + return $0 + 3 & -4; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96____2c_20void_____max_size_28_29_20const($0) { + return 214748364; +} + +function std____2____split_buffer_int_2c_20std____2__allocator_int______ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 + 8 >> 2] >> 2] = HEAP32[$0 >> 2]; + return $0; +} + +function std____2____compressed_pair_elem_vision__match_t__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_char__2c_20void_20_28__29_28void__29___first_28_29_20const($0) { + return std____2____compressed_pair_elem_char__2c_200_2c_20false_____get_28_29_20const($0); +} + +function grayscale_convert($0, $1, $2, $3, $4) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $4 = $4 | 0; + jcopy_sample_rows(HEAP32[$1 >> 2], $2, $3, 0, $4, HEAP32[$0 + 112 >> 2]); +} + +function void_20std____2___28anonymous_20namespace_29____libcpp_atomic_store_unsigned_20char_2c_20unsigned_20char__28unsigned_20char__2c_20unsigned_20char_2c_20int_29($0) { + HEAP8[$0 | 0] = 1; +} + +function threadStartSignal($0) { + var $1 = 0; + $1 = $0 + 16 | 0; + __pthread_mutex_lock($1); + HEAP32[$0 + 4 >> 2] = 1; + pthread_cond_signal($0 + 40 | 0); + __pthread_mutex_unlock($1); + return 0; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 2) | 0; +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__vector_float_2c_20std____2__allocator_float_____ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2____throw_length_error_28char_20const__29($0) { + __cxa_throw(std__length_error__length_error_28char_20const__29(__cxa_allocate_exception(8) | 0, $0) | 0, 65696, 14); + abort(); +} + +function std____2____split_buffer_int_2c_20std____2__allocator_int_______end_cap_28_29($0) { + return std____2____compressed_pair_int__2c_20std____2__allocator_int_____first_28_29($0 + 12 | 0); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void________hash_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28char_20const__2c_20char_20const__29($0, $1, $2) { + HEAP32[$0 + 4 >> 2] = $2; + HEAP32[$0 >> 2] = $1; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___clear_28_29($0) { + HEAP32[$0 + 4 >> 2] = HEAP32[$0 >> 2]; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(25415); + abort(); +} + +function std____2__pair_int_20const_2c_20std____2__shared_ptr_vision__Keyframe_96______pair_28_29($0) { + std____2__shared_ptr_vision__Keyframe_96_____shared_ptr_28_29($0 + 4 | 0); + return $0; +} + +function std____2__ctype_char___widen_28char_20const__2c_20char_20const__2c_20char__29_20const($0, $1, $2, $3) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 32 >> 2]]($0, $1, $2, $3) | 0; +} + +function std____2__allocator_int___deallocate_28int__2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2 << 2, 4); +} + +function std____2____split_buffer_int_2c_20std____2__allocator_int_______alloc_28_29($0) { + return std____2____compressed_pair_int__2c_20std____2__allocator_int_____second_28_29($0 + 12 | 0); +} + +function std____2____shared_weak_count____release_shared_28_29($0) { + if (std____2____shared_count____release_shared_28_29($0)) { + std____2____shared_weak_count____release_weak_28_29($0); + } +} + +function std____2____compressed_pair_int__2c_20std____2__allocator_int_____first_28_29_20const($0) { + return std____2____compressed_pair_elem_int__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_vision__Image__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______rep_2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function init_pthread_self() { + var wasm2js_i32$0 = 0, wasm2js_i32$1 = 0; + HEAP32[19657] = 78464; + wasm2js_i32$0 = 78556, wasm2js_i32$1 = getpid(), HEAP32[wasm2js_i32$0 >> 2] = wasm2js_i32$1; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + Math_imul($1, 20) | 0; +} + +function std____2__vector_int_2c_20std____2__allocator_int______clear_28_29($0) { + std____2__vector_int_2c_20std____2__allocator_int______base_destruct_at_end_28int__29($0, HEAP32[$0 >> 2]); +} + +function std____2__unique_ptr_wchar_t_2c_20void_20_28__29_28void__29___get_deleter_28_29($0) { + return std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29___second_28_29($0); +} + +function std____2__allocator_vision__Keyframe_96____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_vision__Keyframe_96_______non_trivial_if_28_29($0); +} + +function std____2__allocator_vision__FeaturePoint___allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_vision__FeaturePoint______non_trivial_if_28_29($0); +} + +function std____2____compressed_pair_int__2c_20std____2__allocator_int____first_28_29_20const($0) { + return std____2____compressed_pair_elem_int__2c_200_2c_20false_____get_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_multi_marker__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____cloc_28_29() { + var $0 = 0; + if (HEAPU8[82524]) { + return HEAP32[20630]; + } + $0 = __newlocale(2147483647, 36123, 0); + HEAP8[82524] = 1; + HEAP32[20630] = $0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29_1($0) { + $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__operator___28char_29($0, 48); +} + +function void_20std____2____swap_allocator_std____2__allocator_int___28std____2__allocator_int___2c_20std____2__allocator_int___2c_20std____2__integral_constant_bool_2c_20false__29($0, $1) {} + +function vision__BinaryFeatureStore__size_28_29_20const($0) { + return std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0 + 16 | 0); +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______invalidate_iterators_past_28std____2__pair_float_2c_20int___29($0, $1) {} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(30486); + abort(); +} + +function std____2__vector_float_2c_20std____2__allocator_float______end_cap_28_29($0) { + return std____2____compressed_pair_float__2c_20std____2__allocator_float____first_28_29($0 + 8 | 0); +} + +function std____2__pointer_traits_std____2__pair_unsigned_20int_20const_2c_20unsigned_20int_____pointer_to_28std____2__pair_unsigned_20int_20const_2c_20unsigned_20int___29($0) { + return $0; +} + +function std____2__allocator_std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________max_size_28_29_20const($0) { + return 1073741823; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20AR2SurfaceSetT___2c_20void________hash_node_base_28_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_int___getTypes_28_29_20const($0) { + return emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int____get_28_29(); +} + +function std____2__vector_int_2c_20std____2__allocator_int_____ConstructTransaction____ConstructTransaction_28_29($0) { + HEAP32[HEAP32[$0 >> 2] + 4 >> 2] = HEAP32[$0 + 4 >> 2]; + return $0; +} + +function std____2__vector_float_2c_20std____2__allocator_float______alloc_28_29($0) { + return std____2____compressed_pair_float__2c_20std____2__allocator_float____second_28_29($0 + 8 | 0); +} + +function std____2__unique_ptr_char_2c_20void_20_28__29_28void__29____unique_ptr_28_29($0) { + std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___reset_28char__29($0, 0); + return $0; +} + +function std____2__pair_float_2c_20unsigned_20long___20std____2____to_address_std____2__pair_float_2c_20unsigned_20long___28std____2__pair_float_2c_20unsigned_20long___29($0) { + return $0; +} + +function std____2__fpos___mbstate_t___fpos_28long_20long_29($0, $1, $2) { + HEAP32[$0 + 8 >> 2] = $1; + HEAP32[$0 + 12 >> 2] = $2; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + return $0; +} + +function std____2__allocator_char___deallocate_28char__2c_20unsigned_20long_29($0, $1, $2) { + std____2____libcpp_deallocate_28void__2c_20unsigned_20long_2c_20unsigned_20long_29($1, $2, 1); +} + +function process_data_crank_post($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 456 >> 2] + 4 >> 2]]($0, 0, 0, 0, $1, $2, $3); +} + +function void_20vision__CopyVector2_float__28float__2c_20float_20const__29($0, $1) { + var $2 = 0; + $2 = HEAP32[$1 + 4 >> 2]; + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + HEAP32[$0 + 4 >> 2] = $2; +} + +function vision__BinarykMedoids_96___setk_28int_29($0, $1) { + HEAP32[$0 + 4 >> 2] = $1; + std____2__vector_int_2c_20std____2__allocator_int____resize_28unsigned_20long_29($0 + 12 | 0, $1); +} + +function unsigned_20long_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______align_it_16ul__28unsigned_20long_29($0) { + return $0 + 15 & -16; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____empty_28_29_20const($0) { + return HEAP32[$0 >> 2] == HEAP32[$0 + 4 >> 2]; +} + +function std____2__vector_vision__DoGScaleInvariantDetector__FeaturePoint_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______invalidate_all_iterators_28_29($0) {} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______invalidate_iterators_past_28std____2__locale__facet___29($0, $1) {} + +function std____2__locale__facet___20std____2__construct_at_std____2__locale__facet__2c_20std____2__locale__facet____28std____2__locale__facet___29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_wchar_t__2c_200_2c_20false_____compressed_pair_elem_wchar_t___2c_20void__28wchar_t___29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function memchr_28void_20const__2c_20int_2c_20unsigned_20long_29_20_5benable_if_true_5d($0, $1, $2) { + return __libcpp_memchr_28void_20const__2c_20int_2c_20unsigned_20long_29($0, $1, $2); +} + +function ar2GetRegionArea($0, $1, $2, $3) { + $2 = ($2 << 3) + $0 | 0; + return Math_fround(ar2GetTriangleArea($0, ($1 << 3) + $0 | 0, $2) + ar2GetTriangleArea($0, $2, ($3 << 3) + $0 | 0)); +} + +function __cxx_global_array_dtor_44($0) { + $0 = $0 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29(82796); +} + +function __cxx_global_array_dtor_40($0) { + $0 = $0 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29(82764); +} + +function __cxx_global_array_dtor_36($0) { + $0 = $0 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29(82732); +} + +function __cxx_global_array_dtor_32($0) { + $0 = $0 | 0; + std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t_____basic_string_28_29(82700); +} + +function vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____matchedId_28_29_20const($0) { + return HEAP32[$0 + 24 >> 2]; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______invalidate_iterators_past_28vision__PriorityQueueItem_96___29($0, $1) {} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_____size_28_29_20const($0) { + return (HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] | 0) / 12 | 0; +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 3) | 0; +} + +function std____2__vector_int_2c_20std____2__allocator_int____end_28_29($0) { + return std____2__vector_int_2c_20std____2__allocator_int______make_iter_28int__29($0, HEAP32[$0 + 4 >> 2]); +} + +function std____2__ios_base__Init__Init_28_29($0) { + if (!HEAPU8[82293]) { + std____2__DoIOSInit__DoIOSInit_28_29(82292); + __cxa_atexit(294, 0, 1024); + HEAP8[82293] = 1; + } + return $0; +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_node_base_28_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2__default_delete_vision__VisualDatabaseImpl__2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return $0; +} + +function byteSwapDouble($0, $1) { + var $2 = 0; + while (1) { + if (($2 | 0) != 8) { + HEAP8[$1 + $2 | 0] = HEAPU8[($0 - $2 | 0) + 7 | 0]; + $2 = $2 + 1 | 0; + continue; + } + break; + } +} + +function arPattFree($0, $1) { + $1 = HEAP32[$0 + 8 >> 2] + ($1 << 2) | 0; + if (!HEAP32[$1 >> 2]) { + return -1; + } + HEAP32[$1 >> 2] = 0; + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] - 1; + return 1; +} + +function __cxxabiv1____fundamental_type_info_____fundamental_type_info_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(__cxxabiv1____shim_type_info_____shim_type_info_28_29($0)); +} + +function void_20_28_std____2___28anonymous_20namespace_29____libcpp_atomic_load_void_20_28__29_28_29__28void_20_28__20const__29_28_29_2c_20int_29_29_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function vision__bitstring_set_bit_28unsigned_20char__2c_20int_2c_20unsigned_20char_29($0, $1, $2) { + $0 = (($1 | 0) / 8 | 0) + $0 | 0; + HEAP8[$0 | 0] = HEAPU8[$0 | 0] | $2 << ($1 & 7); +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____getloc_28_29_20const($0, $1) { + std____2__locale__locale_28std____2__locale_20const__29($0, $1 + 4 | 0); +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____pbackfail_28int_29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return std____2__char_traits_char___eof_28_29() | 0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node_20const__2c_208ul___begin_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function vision__PriorityQueueItem_96___PriorityQueueItem_28vision__Node_96__20const__2c_20unsigned_20int_29($0, $1, $2) { + HEAP32[$0 + 4 >> 2] = $2; + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 2) | 0; +} + +function std____2__vector_int_2c_20std____2__allocator_int____begin_28_29($0) { + return std____2__vector_int_2c_20std____2__allocator_int______make_iter_28int__29($0, HEAP32[$0 >> 2]); +} + +function std____2__unique_ptr_char_2c_20void_20_28__29_28void__29___get_deleter_28_29($0) { + return std____2____compressed_pair_char__2c_20void_20_28__29_28void__29___second_28_29($0); +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____overflow_28int_29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return std____2__char_traits_char___eof_28_29() | 0; +} + +function std____2__allocator_vision__Node_96_____allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_vision__Node_96________non_trivial_if_28_29($0); +} + +function std____2____compressed_pair_elem_vision__VisualDatabaseImpl__2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____compressed_pair_elem_int_2c_20void__28int___29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function std____2____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function start_pass_upsample($0) { + $0 = $0 | 0; + var $1 = 0; + $1 = HEAP32[$0 + 476 >> 2]; + HEAP32[$1 + 92 >> 2] = HEAP32[$0 + 320 >> 2]; + HEAP32[$1 + 96 >> 2] = HEAP32[$0 + 116 >> 2]; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; +} + +function vision__Point3d_float___Point3d_28float_2c_20float_2c_20float_29($0, $1, $2, $3) { + HEAPF32[$0 + 8 >> 2] = $3; + HEAPF32[$0 + 4 >> 2] = $2; + HEAPF32[$0 >> 2] = $1; + return $0; +} + +function std____2__locale__locale_28std____2__locale_20const__29($0, $1) { + $1 = HEAP32[$1 >> 2]; + HEAP32[$0 >> 2] = $1; + std____2____shared_count____add_shared_28_29($1); + return $0; +} + +function std____2__iterator_traits_char____difference_type_20std____2____distance_char___28char__2c_20char__2c_20std____2__random_access_iterator_tag_29($0, $1) { + return $1 - $0 | 0; +} + +function std____2__equal_to_unsigned_20int___operator_28_29_28unsigned_20int_20const__2c_20unsigned_20int_20const__29_20const($0, $1, $2) { + return HEAP32[$1 >> 2] == HEAP32[$2 >> 2]; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____setbuf_28wchar_t__2c_20long_29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + return $0 | 0; +} + +function std____2____compressed_pair_wchar_t__2c_20void_20_28__29_28void__29___first_28_29($0) { + return std____2____compressed_pair_elem_wchar_t__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_float__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function byteSwapInt($0, $1) { + var $2 = 0; + while (1) { + if (($2 | 0) != 4) { + HEAP8[$1 + $2 | 0] = HEAPU8[($0 - $2 | 0) + 3 | 0]; + $2 = $2 + 1 | 0; + continue; + } + break; + } +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint____size_28_29_20const($0) { + return (HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] | 0) / 20 | 0; +} + +function std____2__locale__facet__facet_28unsigned_20long_29($0, $1) { + $1 = std____2____shared_count____shared_count_28long_29($0, $1 - 1 | 0); + HEAP32[$1 >> 2] = 59488; + return $1; +} + +function std____2__allocator_unsigned_20short___allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_unsigned_20short______non_trivial_if_28_29($0); +} + +function std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_______wrap_iter_28std____2__pair_float_2c_20unsigned_20long___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function __cxxabiv1____vmi_class_type_info_____vmi_class_type_info_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(__cxxabiv1____shim_type_info_____shim_type_info_28_29($0)); +} + +function $28anonymous_20namespace_29__BumpPointerAllocator__BumpPointerAllocator_28_29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$0 + 4096 >> 2] = $0; + return $0; +} + +function vision__GaussianScaleSpacePyramid__size_28_29_20const($0) { + return std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($0 + 4 | 0); +} + +function std____2__vector_int_2c_20std____2__allocator_int______end_cap_28_29($0) { + return std____2____compressed_pair_int__2c_20std____2__allocator_int____first_28_29($0 + 8 | 0); +} + +function std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t____codecvt_28_29($0) { + $0 = $0 | 0; + std____2__locale__facet___facet_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t____codecvt_28_29($0) { + $0 = $0 | 0; + std____2__locale__facet___facet_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________get_value_28_29_20const($0) { + return $0; +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_node_base_28_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_float__2c_20std____2__allocator_float_____first_28_29($0) { + return std____2____compressed_pair_elem_float__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_int__2c_200_2c_20false_____compressed_pair_elem_std__nullptr_t_2c_20void__28std__nullptr_t___29($0, $1) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function void_20std____2__reverse_char___28char__2c_20char__29($0, $1) { + void_20std____2____reverse_char___28char__2c_20char__2c_20std____2__random_access_iterator_tag_29($0, $1); +} + +function vision__BinaryFeatureMatcher_96____BinaryFeatureMatcher_28_29($0) { + return std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t_____vector_28_29($0); +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 3) | 0; +} + +function std____2__vector_int_2c_20std____2__allocator_int______alloc_28_29($0) { + return std____2____compressed_pair_int__2c_20std____2__allocator_int____second_28_29($0 + 8 | 0); +} + +function std____2__collate_wchar_t___collate_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + HEAP32[$1 >> 2] = 60628; + return $1; +} + +function std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____basic_ios_28_29($0) { + $0 = std____2__ios_base__ios_base_28_29($0); + HEAP32[$0 >> 2] = 53756; + return $0; +} + +function std____2__allocator_vision__match_t___allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_vision__match_t______non_trivial_if_28_29($0); +} + +function std____2__allocator_unsigned_20char___allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_unsigned_20char______non_trivial_if_28_29($0); +} + +function std____2____compressed_pair_float__2c_20std____2__allocator_float____first_28_29($0) { + return std____2____compressed_pair_elem_float__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__default_delete_vision__Keyframe_96___2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_float_2c_200_2c_20false_____compressed_pair_elem_float_2c_20void__28float___29($0, $1) { + HEAPF32[$0 >> 2] = HEAPF32[$1 >> 2]; + return $0; +} + +function __cxxabiv1____si_class_type_info_____si_class_type_info_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(__cxxabiv1____shim_type_info_____shim_type_info_28_29($0)); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___end_28_29($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function vision__BinomialPyramid32f___BinomialPyramid32f_28_29_1($0) { + $0 = $0 | 0; + vision__BinomialPyramid32f___BinomialPyramid32f_28_29($0); + operator_20delete_28void__29($0); +} + +function std____throw_bad_array_new_length_28_29() { + __cxa_throw(std__bad_array_new_length__bad_array_new_length_28_29(__cxa_allocate_exception(4) | 0) | 0, 65596, 15); + abort(); +} + +function std____2__ctype_wchar_t___do_narrow_28wchar_t_2c_20char_29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + return ($1 >>> 0 < 128 ? $1 : $2) << 24 >> 24; +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____getloc_28_29_20const($0, $1) { + std____2__locale__locale_28std____2__locale_20const__29($0, $1 + 4 | 0); +} + +function std____2____libcpp_allocate_28unsigned_20long_2c_20unsigned_20long_29($0, $1) { + return void__20std____2____libcpp_operator_new_unsigned_20long__28unsigned_20long_29($0); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void________hash_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___end_28_29($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t____codecvt_28_29($0) { + $0 = $0 | 0; + std____2__locale__facet___facet_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t____codecvt_28_29($0) { + $0 = $0 | 0; + std____2__locale__facet___facet_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2____compressed_pair_elem_char__2c_200_2c_20false_____compressed_pair_elem_char___2c_20void__28char___29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; + return $0; +} + +function jpeg_destroy($0) { + var $1 = 0; + $1 = HEAP32[$0 + 4 >> 2]; + if ($1) { + FUNCTION_TABLE[HEAP32[$1 + 40 >> 2]]($0); + } + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; +} + +function __cxx_global_array_dtor_42($0) { + $0 = $0 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29(82780); +} + +function __cxx_global_array_dtor_38($0) { + $0 = $0 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29(82748); +} + +function __cxx_global_array_dtor_34($0) { + $0 = $0 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29(82716); +} + +function $28anonymous_20namespace_29__itanium_demangle__PointerToMemberConversionExpr___PointerToMemberConversionExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_2032ul___begin_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function void_20std____2__allocator_vision__Point2d_float____construct_vision__Point2d_float___28vision__Point2d_float___29($0, $1) { + vision__Point2d_float___Point2d_28_29($1); +} + +function std____2__vector_std____2__pair_float_2c_20unsigned_20long__2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______invalidate_all_iterators_28_29($0) {} + +function std____2__collate_char___collate_28unsigned_20long_29($0, $1) { + $1 = std____2__locale__facet__facet_28unsigned_20long_29($0, $1); + HEAP32[$1 >> 2] = 60596; + return $1; +} + +function std____2____refstring_imp___28anonymous_20namespace_29__data_from_rep_28std____2____refstring_imp___28anonymous_20namespace_29___Rep_base__29($0) { + return $0 + 12 | 0; +} + +function std____2____equal_to_wchar_t_2c_20wchar_t___operator_28_29_28wchar_t_20const__2c_20wchar_t_20const__29_20const($0, $1, $2) { + return HEAP32[$1 >> 2] == HEAP32[$2 >> 2]; +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_char__2c_20void_20_28__29_28void__29___first_28_29($0) { + return std____2____compressed_pair_elem_char__2c_200_2c_20false_____get_28_29($0); +} + +function pntz($0) { + var $1 = 0; + $1 = __builtin_ctz(HEAP32[$0 >> 2] - 1 | 0); + if (!$1) { + $0 = __builtin_ctz(HEAP32[$0 + 4 >> 2]); + $1 = $0 ? $0 + 32 | 0 : 0; + } + return $1; +} + +function ar2GetResolution($0, $1, $2, $3) { + label$1: { + if ($0) { + ar2GetResolution2($0, $1, $2, $3); + break label$1; + } + ar2GetResolution2(0, $1, $2, $3); + } + return 0; +} + +function __cxx_global_array_dtor_4($0) { + $0 = $0 | 0; + std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____basic_string_28_29(82684); +} + +function $28anonymous_20namespace_29__itanium_demangle__PODSmallVector__28anonymous_20namespace_29__itanium_demangle__Node__2c_208ul___begin_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function $28anonymous_20namespace_29__DefaultAllocator___DefaultAllocator_28_29($0) { + return $28anonymous_20namespace_29__BumpPointerAllocator___BumpPointerAllocator_28_29($0); +} + +function std____2__vector_vision__Point2d_float__2c_20std____2__allocator_vision__Point2d_float_____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 2) | 0; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 5) | 0; +} + +function std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_date_order_28_29_20const($0) { + $0 = $0 | 0; + return 2; +} + +function std____2__allocator_vision__PriorityQueueItem_96____destroy_28vision__PriorityQueueItem_96___29($0, $1) { + vision__PriorityQueueItem_96____PriorityQueueItem_28_29($1); +} + +function std____2__allocator_vision__Image___allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_vision__Image______non_trivial_if_28_29($0); +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int__2c_20void_____max_size_28_29_20const($0) { + return 268435455; +} + +function std____2____compressed_pair_elem_std____2__default_delete_vision__Node_96___2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____compressed_pair_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char___2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function ar3DDeleteHandle($0) { + var $1 = 0; + $1 = HEAP32[$0 >> 2]; + if (!$1) { + return -1; + } + icpDeleteHandle($1); + dlfree(HEAP32[$0 >> 2]); + HEAP32[$0 >> 2] = 0; + return 0; +} + +function vision__VisualDatabase_vision__FREAKExtractor_2c_20vision__BinaryFeatureStore_2c_20vision__BinaryFeatureMatcher_96____inliers_28_29_20const($0) { + return $0 + 12 | 0; +} + +function std____2__vector_float_2c_20std____2__allocator_float______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(25415); + abort(); +} + +function std____2____compressed_pair_int__2c_20std____2__allocator_int_____first_28_29($0) { + return std____2____compressed_pair_elem_int__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_std____2__default_delete_unsigned_20char__2c_201_2c_20true_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + return $0; +} + +function $28anonymous_20namespace_29__DefaultAllocator__DefaultAllocator_28_29($0) { + return $28anonymous_20namespace_29__BumpPointerAllocator__BumpPointerAllocator_28_29($0); +} + +function void_20std____2__allocator_vision__FeaturePoint___construct_vision__FeaturePoint__28vision__FeaturePoint__29($0, $1) { + vision__FeaturePoint__FeaturePoint_28_29($1); +} + +function vision__Timer__Timer_28_29($0) { + HEAP32[$0 + 8 >> 2] = 0; + HEAP32[$0 + 12 >> 2] = -1074790400; + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = -1074790400; + return $0; +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 1) | 0; +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t____codecvt_28_29($0) { + $0 = $0 | 0; + std____2__locale__facet___facet_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______fits_in_sso_28unsigned_20long_29($0) { + return $0 >>> 0 < 2; +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____setbuf_28char__2c_20long_29($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + return $0 | 0; +} + +function std____2__basic_ios_char_2c_20std____2__char_traits_char____basic_ios_28_29($0) { + $0 = std____2__ios_base__ios_base_28_29($0); + HEAP32[$0 >> 2] = 53480; + return $0; +} + +function std____2__allocator_multi_marker___allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_multi_marker______non_trivial_if_28_29($0); +} + +function std____2____hash_node_base_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void________hash_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function std____2____compressed_pair_int__2c_20std____2__allocator_int____first_28_29($0) { + return std____2____compressed_pair_elem_int__2c_200_2c_20false_____get_28_29($0); +} + +function std____2____compressed_pair_elem_vision__Node_96___2c_200_2c_20false_____compressed_pair_elem_28std____2____value_init_tag_29($0) { + HEAP32[$0 >> 2] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function arImageProcInit($0, $1) { + var $2 = 0; + $2 = dlmalloc(2064); + if ($2) { + HEAP32[$2 + 8 >> 2] = $1; + HEAP32[$2 + 4 >> 2] = $0; + HEAP32[$2 >> 2] = 0; + } + return $2; +} + +function __cxxabiv1____class_type_info_____class_type_info_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(__cxxabiv1____shim_type_info_____shim_type_info_28_29($0)); +} + +function __cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads__InitByteNoThreads_28unsigned_20char__2c_20unsigned_20int__29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution___ExpandedSpecialSubstitution_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__BumpPointerAllocator___BumpPointerAllocator_28_29($0) { + $28anonymous_20namespace_29__BumpPointerAllocator__reset_28_29($0); + return $0; +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[$0 >> 2] + $1 | 0; +} + +function std____2__pointer_traits_std____2____hash_value_type_int_2c_20arController_____pointer_to_28std____2____hash_value_type_int_2c_20arController___29($0) { + return $0; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____underflow_28_29($0) { + $0 = $0 | 0; + return std____2__char_traits_wchar_t___eof_28_29() | 0; +} + +function std____2____next_hash_pow2_28unsigned_20long_29($0) { + if ($0 >>> 0 >= 2) { + $0 = 1 << 32 - std____2____libcpp_clz_28unsigned_20long_29($0 - 1 | 0); + } + return $0; +} + +function std____2____hash_value_type_int_2c_20std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float________get_value_28_29($0) { + return $0; +} + +function self_destruct($0) { + $0 = $0 | 0; + free_pool($0, 1); + free_pool($0, 0); + jpeg_free_small($0, HEAP32[$0 + 4 >> 2], 84); + HEAP32[$0 + 4 >> 2] = 0; + jpeg_mem_term($0); +} + +function void_20vision__CopyVector_unsigned_20char__28unsigned_20char__2c_20unsigned_20char_20const__2c_20unsigned_20long_29($0, $1, $2) { + wasm2js_memory_copy($0, $1, $2); +} + +function unsigned_20char_20std____2___28anonymous_20namespace_29____libcpp_atomic_load_unsigned_20char__28unsigned_20char_20const__2c_20int_29($0) { + return HEAPU8[$0 | 0]; +} + +function std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____setstate_28unsigned_20int_29($0, $1) { + std____2__ios_base__setstate_28unsigned_20int_29($0, $1); +} + +function std____2____compressed_pair_elem_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SyntheticTemplateParamName___SyntheticTemplateParamName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function wcslen($0) { + var $1 = 0, $2 = 0; + $2 = $0; + while (1) { + $1 = $2; + $2 = $1 + 4 | 0; + if (HEAP32[$1 >> 2]) { + continue; + } + break; + } + return $1 - $0 >> 2; +} + +function std__length_error__length_error_28char_20const__29($0, $1) { + $1 = std__logic_error__logic_error_28char_20const__29($0, $1); + HEAP32[$1 >> 2] = 65664; + return $1; +} + +function std____2__char_traits_wchar_t___move_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29($0, $1, $2) { + if ($2) { + $0 = wmemmove($0, $1, $2); + } + return $0; +} + +function start_pass_merged_upsample($0) { + $0 = $0 | 0; + var $1 = 0; + $1 = HEAP32[$0 + 476 >> 2]; + HEAP32[$1 + 36 >> 2] = 0; + HEAP32[$1 + 44 >> 2] = HEAP32[$0 + 116 >> 2]; +} + +function float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_2c_20float_29($0, $1, $2, $3) { + return Math_fround(Math_fround($0 * $3) - Math_fround($1 * $2)); +} + +function std____2__vector_int_2c_20std____2__allocator_int______throw_length_error_28_29_20const($0) { + std____2____throw_length_error_28char_20const__29(1041); + abort(); +} + +function std____2__locale____imp__make_global_28_29() { + std____2__locale__locale_28std____2__locale_20const__29(82540, std____2__locale__classic_28_29()); + return 82540; +} + +function std____2__char_traits_wchar_t___copy_28wchar_t__2c_20wchar_t_20const__2c_20unsigned_20long_29($0, $1, $2) { + if ($2) { + $0 = wmemcpy($0, $1, $2); + } + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl___TemplateTemplateParamDecl_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__NodeArray__operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[HEAP32[$0 >> 2] + ($1 << 2) >> 2]; +} + +function void_20std____2____debug_db_insert_c_std____2__vector_float_2c_20std____2__allocator_float____28std____2__vector_float_2c_20std____2__allocator_float____29($0) {} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______invalidate_iterators_past_28unsigned_20long_29($0, $1) {} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long____2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 5) | 0; +} + +function std____2__ctype_wchar_t___is_28unsigned_20long_2c_20wchar_t_29_20const($0, $1, $2) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0, $1, $2) | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl___NonTypeTemplateParamDecl_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___ForwardTemplateReference_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function std____2__vector_float_2c_20std____2__allocator_float____data_28_29_20const($0) { + return float__20std____2____to_address_float__28float__29(HEAP32[$0 >> 2]); +} + +function std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_date_order_28_29_20const($0) { + $0 = $0 | 0; + return 2; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____pubsync_28_29($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0) | 0; +} + +function std____2____wrap_iter_wchar_t____operator__28long_29_20const($0, $1) { + return std____2____wrap_iter_wchar_t____operator__28long_29_20const_1($0, 0 - $1 | 0); +} + +function std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28long_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + ($1 << 3); + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2____sso_allocator_std____2__locale__facet__2c_2030ul___2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_long_20double____FloatLiteralImpl_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96______size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 3) | 0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______fits_in_sso_28unsigned_20long_29($0) { + return $0 >>> 0 < 11; +} + +function std____2__basic_ios_char_2c_20std____2__char_traits_char____setstate_28unsigned_20int_29($0, $1) { + std____2__ios_base__setstate_28unsigned_20int_29($0, $1); +} + +function std____2____tuple_leaf_0ul_2c_20int_20const__2c_20false_____tuple_leaf_int_20const__2c_20void__28int_20const__29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function legalfunc$_embind_register_bigint($0, $1, $2, $3, $4, $5, $6) { + legalimport$_embind_register_bigint($0 | 0, $1 | 0, $2 | 0, $3 | 0, $4 | 0, $5 | 0, $6 | 0); +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______invalidate_iterators_past_28vision__Point3d_float___29($0, $1) {} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + $1 | 0; +} + +function vision__PriorityQueueItem_96___operator__28vision__PriorityQueueItem_96__20const__29_20const($0, $1) { + return HEAPU32[$0 + 4 >> 2] > HEAPU32[$1 + 4 >> 2]; +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_____front_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 1; +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___always_noconv_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 28 >> 2]]($0) | 0; +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____underflow_28_29($0) { + $0 = $0 | 0; + return std____2__char_traits_char___eof_28_29() | 0; +} + +function std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ios_28_29($0) { + $0 = $0 | 0; + return std____2__ios_base___ios_base_28_29($0) | 0; +} + +function std____2__allocator_wchar_t___allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_wchar_t______non_trivial_if_28_29($0); +} + +function _GLOBAL__sub_I_bind_cpp() { + HEAP32[19600] = 232; + HEAP32[19601] = 0; + embind_init_builtin_28_29(); + HEAP32[19601] = HEAP32[19599]; + HEAP32[19599] = 78400; +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion___ParameterPackExpansion_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ElaboratedTypeSpefType___ElaboratedTypeSpefType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType___ConversionOperatorType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function void_20std____2____do_deallocate_handle_size___28void__2c_20unsigned_20long_29($0, $1) { + void_20std____2____libcpp_operator_delete_void___28void__29($0); +} + +function vision__Point3d_float___20std____2____rewrap_iter_vision__Point3d_float____28vision__Point3d_float___2c_20vision__Point3d_float___29($0, $1) { + return $1; +} + +function std____2__pointer_traits_std____2____hash_value_type_int_2c_20ARParam_____pointer_to_28std____2____hash_value_type_int_2c_20ARParam___29($0) { + return $0; +} + +function std____2__ctype_char___do_narrow_28char_2c_20char_29_20const($0, $1, $2) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + return (($1 | 0) < 0 ? $2 : $1) | 0; +} + +function std____2__char_traits_wchar_t___assign_28wchar_t__2c_20unsigned_20long_2c_20wchar_t_29($0, $1, $2) { + if ($1) { + $0 = wmemset($0, $2, $1); + } + return $0; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____gbump_28int_29($0, $1) { + HEAP32[$0 + 12 >> 2] = HEAP32[$0 + 12 >> 2] + ($1 << 2); +} + +function std____2____equal_to_char_2c_20char___operator_28_29_28char_20const__2c_20char_20const__29_20const($0, $1, $2) { + return HEAPU8[$1 | 0] == HEAPU8[$2 | 0]; +} + +function __localtime_r($0, $1) { + tzset(); + _localtime_js($0 | 0, $1 | 0); + HEAP32[$1 + 40 >> 2] = HEAP32[(HEAP32[$1 + 32 >> 2] ? 78424 : 78420) >> 2]; + return $1; +} + +function EmBindInit_constant_bindings__EmBindInit_constant_bindings_28_29($0) { + return emscripten__internal__InitFunc__InitFunc_28void_20_28__29_28_29_29($0, 41); +} + +function vision__FastRandom_28int__29($0) { + var $1 = 0; + $1 = Math_imul(HEAP32[$0 >> 2], 214013) + 2531011 | 0; + HEAP32[$0 >> 2] = $1; + return $1 >>> 16 & 32767; +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__numeric_limits_unsigned_20long_20long___max_28_29() { + return std____2____libcpp_numeric_limits_unsigned_20long_20long_2c_20true___max_28_29(); +} + +function std____2__moneypunct_wchar_t_2c_20false____moneypunct_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2___28anonymous_20namespace_29__release__operator_28_29_28std____2__locale__facet__29($0) { + std____2____shared_count____release_shared_28_29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl___TypeTemplateParamDecl_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl___TemplateParamPackDecl_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__StructuredBindingName___StructuredBindingName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__CtorVtableSpecialName___CtorVtableSpecialName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function void_20std____2____debug_db_insert_c_std____2__vector_int_2c_20std____2__allocator_int____28std____2__vector_int_2c_20std____2__allocator_int____29($0) {} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] | 0; +} + +function std____2__numpunct_wchar_t____numpunct_28_29_1($0) { + $0 = $0 | 0; + std____2__numpunct_wchar_t____numpunct_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__moneypunct_wchar_t_2c_20true____moneypunct_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2__moneypunct_wchar_t_2c_20false___do_thousands_sep_28_29_20const($0) { + $0 = $0 | 0; + return std____2__numeric_limits_wchar_t___max_28_29() | 0; +} + +function std____2__moneypunct_wchar_t_2c_20false___do_decimal_point_28_29_20const($0) { + $0 = $0 | 0; + return std____2__numeric_limits_wchar_t___max_28_29() | 0; +} + +function std____2__ctype_wchar_t___narrow_28wchar_t_2c_20char_29_20const($0, $1, $2) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 52 >> 2]]($0, $1, $2) | 0; +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___always_noconv_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 28 >> 2]]($0) | 0; +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____pubsync_28_29($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0) | 0; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20arController__2c_20void_____max_size_28_29_20const($0) { + return 8659208; +} + +function std____2____wrap_iter_char____operator__28long_29_20const($0, $1) { + return std____2____wrap_iter_char____operator__28long_29_20const_1($0, 0 - $1 | 0); +} + +function std____2____compressed_pair_elem_std____2____sso_allocator_std____2__locale__facet__2c_2030ul__2c_201_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function float_20vision__SumSquares9_float__28float_20const__29($0) { + return float_20vision__DotProduct9_float__28float_20const__2c_20float_20const__29($0, $0); +} + +function std____2__moneypunct_wchar_t_2c_20true___do_thousands_sep_28_29_20const($0) { + $0 = $0 | 0; + return std____2__numeric_limits_wchar_t___max_28_29() | 0; +} + +function std____2__moneypunct_wchar_t_2c_20true___do_decimal_point_28_29_20const($0) { + $0 = $0 | 0; + return std____2__numeric_limits_wchar_t___max_28_29() | 0; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______invalidate_iterators_past_28unsigned_20long_29($0, $1) {} + +function std____2__allocator_float___allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_float______non_trivial_if_28_29($0); +} + +function std____2____less_long_2c_20long___operator_28_29_28long_20const__2c_20long_20const__29_20const($0, $1, $2) { + return HEAP32[$1 >> 2] < HEAP32[$2 >> 2]; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter___2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function __stdio_seek($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + $2 = __lseek(HEAP32[$0 + 60 >> 2], $1, $2, $3); + return $2 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack___TemplateArgumentPack_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType___PostfixQualifiedType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs___NameWithTemplateArgs_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_double____FloatLiteralImpl_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__DynamicExceptionSpec___DynamicExceptionSpec_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function vision__HoughSimilarityVoting__setObjectCenterInReference_28float_2c_20float_29($0, $1, $2) { + HEAPF32[$0 + 12 >> 2] = $2; + HEAPF32[$0 + 8 >> 2] = $1; +} + +function vision__BinaryHierarchicalClustering_96___setNumHypotheses_28int_29($0, $1) { + vision__BinarykMedoids_96___setNumHypotheses_28int_29($0 + 12 | 0, $1); +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______invalidate_iterators_past_28vision__FeaturePoint__29($0, $1) {} + +function std____2__moneypunct_char_2c_20false____moneypunct_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___encoding_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0) | 0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_float____FloatLiteralImpl_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function vision__DoGPyramid__size_28_29_20const($0) { + return std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($0); +} + +function unsigned_20long_20std____2___28anonymous_20namespace_29__countof_wchar_t__28wchar_t_20const__2c_20wchar_t_20const__29($0, $1) { + return $1 - $0 >> 2; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 5; +} + +function std____2__moneypunct_char_2c_20true____moneypunct_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2__basic_ios_char_2c_20std____2__char_traits_char_____basic_ios_28_29($0) { + $0 = $0 | 0; + return std____2__ios_base___ios_base_28_29($0) | 0; +} + +function std____2__allocator_char___allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_char______non_trivial_if_28_29($0); +} + +function std____2____time_put_____time_put_28_29($0) { + if (HEAP32[$0 >> 2] != (std____2____cloc_28_29() | 0)) { + freelocale(HEAP32[$0 >> 2]); + } + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2__shared_ptr_vision__FrontendSinkFilter_______non_trivial_if_28_29($0) { + return $0; +} + +function arSetLabelingThreshModeAutoInterval($0, $1) { + if (!$0) { + return -1; + } + HEAP32[$0 + 7062396 >> 2] = 0; + HEAP32[$0 + 7062392 >> 2] = $1; + return 0; +} + +function arGetLabelingThreshMode($0, $1) { + var $2 = 0; + $2 = -1; + if (!(!$0 | !$1)) { + HEAP32[$1 >> 2] = HEAP32[$0 + 7062388 >> 2]; + $2 = 0; + } + return $2; +} + +function ar2SetSearchFeatureNum($0, $1) { + if (!$0) { + return -1; + } + $1 = ($1 | 0) < 40 ? $1 : 40; + HEAP32[$0 + 36 >> 2] = ($1 | 0) > 3 ? $1 : 3; + return 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution___SpecialSubstitution_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__SizeofParamPackExpr___SizeofParamPackExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PointerToMemberType___PointerToMemberType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName___GlobalQualifiedName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function threadGetStatus($0) { + var $1 = 0; + $1 = $0 + 16 | 0; + __pthread_mutex_lock($1); + $0 = HEAP32[$0 + 8 >> 2]; + __pthread_mutex_unlock($1); + return $0; +} + +function std__bad_array_new_length___bad_array_new_length_28_29($0) { + $0 = $0 | 0; + std__exception___exception_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__vector_std____2__locale__facet__2c_20std____2____sso_allocator_std____2__locale__facet__2c_2030ul______invalidate_all_iterators_28_29($0) {} + +function std____2__vector_int_2c_20std____2__allocator_int____data_28_29_20const($0) { + return int__20std____2____to_address_int__28int__29(HEAP32[$0 >> 2]); +} + +function std____2__collate_wchar_t____collate_28_29_1($0) { + $0 = $0 | 0; + std____2__collate_wchar_t____collate_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__char_traits_char___copy_28char__2c_20char_20const__2c_20unsigned_20long_29($0, $1, $2) { + if ($2) { + __memcpy($0, $1, $2); + } + return $0; +} + +function std____2__allocator_std____2____hash_node_std____2____hash_value_type_int_2c_20ARParam__2c_20void_____max_size_28_29_20const($0) { + return 21474836; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____libcpp_locale_guard_____libcpp_locale_guard_28_29($0) { + var $1 = 0; + $1 = HEAP32[$0 >> 2]; + if ($1) { + __uselocale($1); + } + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20int____2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function vision__BinaryHierarchicalClustering_96___nextNodeId_28_29($0) { + var $1 = 0; + $1 = HEAP32[$0 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $1 + 1; + return $1; +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 3; +} + +function std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29_20const($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 2) | 0; +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___encoding_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 24 >> 2]]($0) | 0; +} + +function std____2__char_traits_char___move_28char__2c_20char_20const__2c_20unsigned_20long_29($0, $1, $2) { + if ($2) { + memmove($0, $1, $2); + } + return $0; +} + +function std____2__allocator_int___allocator_28_29($0) { + return std____2____non_trivial_if_true_2c_20std____2__allocator_int______non_trivial_if_28_29($0); +} + +function std____2____wrap_iter_vision__PriorityQueueItem_96_______wrap_iter_28vision__PriorityQueueItem_96___29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____unwrap_iter_impl_wchar_t__2c_20true_____apply_28wchar_t__29($0) { + return wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($0); +} + +function std____2____less_int_2c_20int___operator_28_29_28int_20const__2c_20int_20const__29_20const($0, $1, $2) { + return HEAP32[$1 >> 2] < HEAP32[$2 >> 2]; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__PriorityQueueItem_96____2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function kpmGetResult($0, $1, $2) { + if (!$0) { + return -1; + } + HEAP32[$1 >> 2] = HEAP32[$0 + 52 >> 2]; + HEAP32[$2 >> 2] = HEAP32[$0 + 56 >> 2]; + return 0; +} + +function float_20vision__Cofactor2x2_float__28float_2c_20float_2c_20float_29($0, $1, $2) { + return Math_fround(Math_fround($0 * $2) - Math_fround($1 * $1)); +} + +function arPattAttach($0, $1) { + var $2 = 0; + $2 = -1; + if (!(HEAP32[$0 + 7062384 >> 2] | !$0)) { + HEAP32[$0 + 7062384 >> 2] = $1; + $2 = 0; + } + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__ArraySubscriptExpr___ArraySubscriptExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function vision__FeaturePoint__20std____2____rewrap_iter_vision__FeaturePoint___28vision__FeaturePoint__2c_20vision__FeaturePoint__29($0, $1) { + return $1; +} + +function std____2__numpunct_char____numpunct_28_29_1($0) { + $0 = $0 | 0; + std____2__numpunct_char____numpunct_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__moneypunct_char_2c_20false___do_thousands_sep_28_29_20const($0) { + $0 = $0 | 0; + return std____2__numeric_limits_char___max_28_29() | 0; +} + +function std____2__moneypunct_char_2c_20false___do_decimal_point_28_29_20const($0) { + $0 = $0 | 0; + return std____2__numeric_limits_char___max_28_29() | 0; +} + +function std____2__ctype_char___narrow_28char_2c_20char_29_20const($0, $1, $2) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 36 >> 2]]($0, $1, $2) | 0; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____imbue_28std____2__locale_20const__29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; +} + +function std____2__moneypunct_char_2c_20true___do_thousands_sep_28_29_20const($0) { + $0 = $0 | 0; + return std____2__numeric_limits_char___max_28_29() | 0; +} + +function std____2__moneypunct_char_2c_20true___do_decimal_point_28_29_20const($0) { + $0 = $0 | 0; + return std____2__numeric_limits_char___max_28_29() | 0; +} + +function std____2____wrap_iter_vision__PriorityQueueItem_96_____operator___28long_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + ($1 << 3); + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20unsigned_20long___2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function fabsl($0, $1, $2, $3, $4) { + HEAP32[$0 + 8 >> 2] = $3; + HEAP32[$0 + 12 >> 2] = $4 & 2147483647; + HEAP32[$0 >> 2] = $1; + HEAP32[$0 + 4 >> 2] = $2; +} + +function arGetMatrixCodeType($0, $1) { + var $2 = 0; + $2 = -1; + if (!(!$0 | !$1)) { + HEAP32[$1 >> 2] = HEAP32[$0 + 7062424 >> 2]; + $2 = 0; + } + return $2; +} + +function __cxxabiv1___28anonymous_20namespace_29__AtomicInt_unsigned_20char___AtomicInt_28unsigned_20char__29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__VendorExtQualType___VendorExtQualType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function std____2__vector_std____2__pair_float_2c_20int__2c_20std____2__allocator_std____2__pair_float_2c_20int_______invalidate_all_iterators_28_29($0) {} + +function std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____rdbuf_28_29_20const($0) { + return std____2__ios_base__rdbuf_28_29_20const($0); +} + +function std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29_1($0) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 8; + return $0; +} + +function std____2____compressed_pair_elem_std____2____sso_allocator_std____2__locale__facet__2c_2030ul__2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function void_20std____2__allocator_int___construct_int_2c_20int_20const___28int__2c_20int_20const__29($0, $1, $2) { + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; +} + +function vision__DoGPyramid___DoGPyramid_28_29($0) { + return std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image_____vector_28_29($0); +} + +function std____2__vector_float_2c_20std____2__allocator_float____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 2) | 0; +} + +function std____2__pair_float_2c_20int___20std____2____to_address_std____2__pair_float_2c_20int___28std____2__pair_float_2c_20int___29($0) { + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2__pair_float_2c_20unsigned_20long_______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Node_96__20const____2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function new_color_map_1_quant($0) { + $0 = $0 | 0; + var $1 = 0; + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 47; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); +} + +function emscripten__internal__TypeID_double_20const__2c_20void___get_28_29() { + return emscripten__internal__LightTypeID_double_20const____get_28_29(); +} + +function arPattDetach($0) { + var $1 = 0; + $1 = -1; + if (!(!$0 | !HEAP32[$0 + 7062384 >> 2])) { + HEAP32[$0 + 7062384 >> 2] = 0; + $1 = 0; + } + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__StdQualifiedName___StdQualifiedName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding___FunctionEncoding_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function std____2__vector_vision__PriorityQueueItem_96__2c_20std____2__allocator_vision__PriorityQueueItem_96_______invalidate_all_iterators_28_29($0) {} + +function std____2__moneypunct_wchar_t_2c_20false___thousands_sep_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0) | 0; +} + +function std____2__moneypunct_wchar_t_2c_20false___decimal_point_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0) | 0; +} + +function std____2__collate_char____collate_28_29_1($0) { + $0 = $0 | 0; + std____2__collate_char____collate_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____good_28_29_20const($0) { + return std____2__ios_base__good_28_29_20const($0); +} + +function std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator___28_29($0) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] - 8; + return $0; +} + +function arSetPatternDetectionMode($0, $1) { + var $2 = 0; + $2 = -1; + if (!(!$0 | $1 >>> 0 > 4)) { + HEAP32[$0 + 24 >> 2] = $1; + $2 = 0; + } + return $2; +} + +function arSetPattRatio($0, $1) { + var $2 = 0; + $2 = -1; + if (!(!$0 | $1 <= 0 | $1 >= 1)) { + HEAPF64[$0 + 7062416 >> 3] = $1; + $2 = 0; + } + return $2; +} + +function __lctrans_impl($0, $1) { + if ($1) { + $1 = __mo_lookup(HEAP32[$1 >> 2], HEAP32[$1 + 4 >> 2], $0); + } else { + $1 = 0; + } + return $1 ? $1 : $0; +} + +function std____2__numeric_limits_unsigned_20short___max_28_29() { + return std____2____libcpp_numeric_limits_unsigned_20short_2c_20true___max_28_29(); +} + +function std____2__moneypunct_wchar_t_2c_20true___thousands_sep_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0) | 0; +} + +function std____2__moneypunct_wchar_t_2c_20true___decimal_point_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0) | 0; +} + +function std____2__equal_to_int___operator_28_29_28int_20const__2c_20int_20const__29_20const($0, $1, $2) { + return HEAP32[$1 >> 2] == HEAP32[$2 >> 2]; +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____gbump_28int_29($0, $1) { + HEAP32[$0 + 12 >> 2] = HEAP32[$0 + 12 >> 2] + $1; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20int___2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function float_20const__20vision__Image__get_float__28_29_20const($0) { + return std____2__shared_ptr_unsigned_20char___get_28_29_20const($0 + 24 | 0); +} + +function finish_input_pass($0) { + $0 = $0 | 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 + 468 >> 2] + 8 >> 2]]($0); + HEAP32[HEAP32[$0 + 460 >> 2] >> 2] = 106; +} + +function $28anonymous_20namespace_29__itanium_demangle__UnnamedTypeName___UnnamedTypeName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__StringView__StringView_28_29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__LiteralOperator___LiteralOperator_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ConditionalExpr___ConditionalExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ClosureTypeName___ClosureTypeName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__BracedRangeExpr___BracedRangeExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function vision__PriorityQueueItem_96___20std____2____to_address_vision__PriorityQueueItem_96___28vision__PriorityQueueItem_96___29($0) { + return $0; +} + +function std__bad_array_new_length__bad_array_new_length_28_29($0) { + $0 = std__bad_alloc__bad_alloc_28_29($0); + HEAP32[$0 >> 2] = 65484; + return $0; +} + +function std____2__moneypunct_wchar_t_2c_20false___frac_digits_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 36 >> 2]]($0) | 0; +} + +function std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t______invalidate_all_iterators_28_29($0) {} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____imbue_28std____2__locale_20const__29($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; +} + +function std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___destroy_28vision__DoGScaleInvariantDetector__FeaturePoint__29($0, $1) {} + +function std____2____compressed_pair_elem_std____2__shared_ptr_vision__FrontendSinkFilter___2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__PriorityQueueItem_96___2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Point3d_float____2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function jpeg_alloc_quant_table($0) { + $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 0, 132) | 0; + HEAP32[$0 + 128 >> 2] = 0; + return $0; +} + +function arGetLabelingThresh($0, $1) { + var $2 = 0; + $2 = -1; + if (!(!$0 | !$1)) { + HEAP32[$1 >> 2] = HEAP32[$0 + 16 >> 2]; + $2 = 0; + } + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__PixelVectorType___PixelVectorType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} +function unsigned_20long_20std____2___28anonymous_20namespace_29__countof_char__28char_20const__2c_20char_20const__29($0, $1) { + return $1 - $0 | 0; +} + +function std____2__vector_int_2c_20std____2__allocator_int____operator_5b_5d_28unsigned_20long_29($0, $1) { + return HEAP32[$0 >> 2] + ($1 << 2) | 0; +} + +function std____2__numeric_limits_unsigned_20long___max_28_29() { + return std____2____libcpp_numeric_limits_unsigned_20long_2c_20true___max_28_29(); +} + +function std____2__moneypunct_wchar_t_2c_20true___frac_digits_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 36 >> 2]]($0) | 0; +} + +function std____2__moneypunct_wchar_t_2c_20false___positive_sign_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 28 >> 2]]($0, $1); +} + +function std____2__moneypunct_wchar_t_2c_20false___negative_sign_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 32 >> 2]]($0, $1); +} + +function std____2__moneypunct_char_2c_20false___thousands_sep_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0) | 0; +} + +function std____2__moneypunct_char_2c_20false___decimal_point_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0) | 0; +} + +function std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______proxy__operator__28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____compressed_pair_elem_vision__DoGScaleInvariantDetector__FeaturePoint__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function jpeg_alloc_huff_table($0) { + $0 = FUNCTION_TABLE[HEAP32[HEAP32[$0 + 4 >> 2] >> 2]]($0, 0, 280) | 0; + HEAP32[$0 + 276 >> 2] = 0; + return $0; +} + +function float_20vision__SafeDivision_float__28float_2c_20float_29($0, $1) { + return Math_fround($0 / ($1 == Math_fround(0) ? Math_fround(1) : $1)); +} + +function $28anonymous_20namespace_29__itanium_demangle__NodeArray__end_28_29_20const($0) { + return HEAP32[$0 >> 2] + (HEAP32[$0 + 4 >> 2] << 2) | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__NodeArray__NodeArray_28_29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__IntegerLiteral___IntegerLiteral_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ConversionExpr___ConversionExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function void_20vision__CopyVector_float__28float__2c_20float_20const__2c_20unsigned_20long_29($0, $1, $2) { + wasm2js_memory_copy($0, $1, $2 << 2); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______invalidate_iterators_past_28unsigned_20short__29($0, $1) {} + +function std____2__moneypunct_wchar_t_2c_20true___positive_sign_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 28 >> 2]]($0, $1); +} + +function std____2__moneypunct_wchar_t_2c_20true___negative_sign_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 32 >> 2]]($0, $1); +} + +function std____2__moneypunct_char_2c_20true___thousands_sep_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0) | 0; +} + +function std____2__moneypunct_char_2c_20true___decimal_point_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0) | 0; +} + +function std____2__messages_wchar_t____messages_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2__locale__facet___facet_28_29_1($0) { + $0 = $0 | 0; + std____2__locale__facet___facet_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__locale____imp_____imp_28_29_1($0) { + $0 = $0 | 0; + std____2__locale____imp_____imp_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__ios_base__setf_28unsigned_20int_29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 4 >> 2]; + HEAP32[$0 + 4 >> 2] = $2 | $1; + return $2; +} + +function std____2__basic_ios_char_2c_20std____2__char_traits_char____rdbuf_28_29_20const($0) { + return std____2__ios_base__rdbuf_28_29_20const($0); +} + +function std____2____tuple_leaf_0ul_2c_20std____2___28anonymous_20namespace_29____fake_bind___2c_20false___get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__FeaturePoint___2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function kpmCreateHandle($0) { + return kpmCreateHandleCore_28ARParamLT__2c_20int_2c_20int_2c_20int_29($0, HEAP32[$0 >> 2], HEAP32[$0 + 4 >> 2], 1); +} + +function arSetLabelingThresh($0, $1) { + var $2 = 0; + $2 = -1; + if (!(!$0 | $1 >>> 0 > 255)) { + HEAP32[$0 + 16 >> 2] = $1; + $2 = 0; + } + return $2; +} + +function arGetLabelingMode($0, $1) { + var $2 = 0; + $2 = -1; + if (!(!$0 | !$1)) { + HEAP32[$1 >> 2] = HEAP32[$0 + 12 >> 2]; + $2 = 0; + } + return $2; +} + +function __emscripten_stdout_seek($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + i64toi32_i32$HIGH_BITS = 0; + return 0; +} + +function std____2__numeric_limits_unsigned_20int___max_28_29() { + return std____2____libcpp_numeric_limits_unsigned_20int_2c_20true___max_28_29(); +} + +function std____2__moneypunct_wchar_t_2c_20false___curr_symbol_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($0, $1); +} + +function std____2__moneypunct_char_2c_20false___frac_digits_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 36 >> 2]]($0) | 0; +} + +function std____2__ios_base__setstate_28unsigned_20int_29($0, $1) { + std____2__ios_base__clear_28unsigned_20int_29($0, HEAP32[$0 + 16 >> 2] | $1); +} + +function std____2__ctype_wchar_t____ctype_28_29($0) { + $0 = $0 | 0; + std____2__locale__facet___facet_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t____sentry__operator_20bool_28_29_20const($0) { + return HEAPU8[$0 | 0]; +} + +function std____2____stdinbuf_wchar_t___underflow_28_29($0) { + $0 = $0 | 0; + return std____2____stdinbuf_wchar_t_____getchar_28bool_29($0, 0) | 0; +} + +function emscripten__internal__TypeID_int_20const__2c_20void___get_28_29() { + return emscripten__internal__LightTypeID_int_20const____get_28_29(); +} + +function $28anonymous_20namespace_29__itanium_demangle__SubobjectExpr___SubobjectExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__StringLiteral___StringLiteral_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ReferenceType___ReferenceType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__QualifiedName___QualifiedName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ParameterPack___ParameterPack_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__setCurrentPosition_28unsigned_20long_29($0, $1) { + HEAP32[$0 + 4 >> 2] = $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__ObjCProtoName___ObjCProtoName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__NodeArrayNode___NodeArrayNode_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionParam___FunctionParam_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr___EnclosingExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function strdup($0) { + var $1 = 0, $2 = 0; + $1 = strlen($0) + 1 | 0; + $2 = dlmalloc($1); + if (!$2) { + return 0; + } + return __memcpy($2, $0, $1); +} + +function std__logic_error___logic_error_28_29_1($0) { + $0 = $0 | 0; + std__logic_error___logic_error_28_29($0); + operator_20delete_28void__29($0); +} + +function std__length_error___length_error_28_29($0) { + $0 = $0 | 0; + std__logic_error___logic_error_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__moneypunct_wchar_t_2c_20true___curr_symbol_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($0, $1); +} + +function std____2__moneypunct_wchar_t_2c_20false___pos_format_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 40 >> 2]]($0, $1); +} + +function std____2__moneypunct_wchar_t_2c_20false___neg_format_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 44 >> 2]]($0, $1); +} + +function std____2__moneypunct_char_2c_20true___frac_digits_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 36 >> 2]]($0) | 0; +} + +function std____2__moneypunct_char_2c_20false___positive_sign_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 28 >> 2]]($0, $1); +} + +function std____2__moneypunct_char_2c_20false___negative_sign_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 32 >> 2]]($0, $1); +} + +function std____2__basic_ios_char_2c_20std____2__char_traits_char____good_28_29_20const($0) { + return std____2__ios_base__good_28_29_20const($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Node_96__20const___2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function vision__BinaryHierarchicalClustering_96___setNumCenters_28int_29($0, $1) { + vision__BinarykMedoids_96___setk_28int_29($0 + 12 | 0, $1); +} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______invalidate_iterators_past_28unsigned_20char__29($0, $1) {} + +function std____2__moneypunct_wchar_t_2c_20true___pos_format_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 40 >> 2]]($0, $1); +} + +function std____2__moneypunct_wchar_t_2c_20true___neg_format_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 44 >> 2]]($0, $1); +} + +function std____2__moneypunct_char_2c_20true___positive_sign_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 28 >> 2]]($0, $1); +} + +function std____2__moneypunct_char_2c_20true___negative_sign_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 32 >> 2]]($0, $1); +} + +function std____2__messages_char____messages_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29(std____2__locale__facet___facet_28_29($0)); +} + +function std____2__ctype_wchar_t___toupper_28wchar_t_29_20const($0, $1) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 28 >> 2]]($0, $1) | 0; +} + +function std____2__allocator_vision__FeaturePoint___destroy_28vision__FeaturePoint__29($0, $1) { + vision__FeaturePoint___FeaturePoint_28_29($1); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Node_96_____2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function long_20std____2___28anonymous_20namespace_29____libcpp_atomic_load_long__28long_20const__2c_20int_29($0, $1) { + return HEAP32[$0 >> 2]; +} + +function compE($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + var $2 = 0; + $2 = HEAPF64[$0 >> 3] - HEAPF64[$1 >> 3]; + return ($2 < 0 ? -1 : $2 > 0) | 0; +} + +function arSetImageProcMode($0, $1) { + var $2 = 0; + $2 = -1; + if (!(!$0 | $1 >>> 0 > 1)) { + HEAP32[$0 + 20 >> 2] = $1; + $2 = 0; + } + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__TemplateArgs___TemplateArgs_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__NoexceptSpec___NoexceptSpec_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__InitListExpr___InitListExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__FunctionType___FunctionType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__EnableIfAttr___EnableIfAttr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__CtorDtorName___CtorDtorName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__BinaryFPType___BinaryFPType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function vision__HoughSimilarityVoting__setRefImageDimensions_28int_2c_20int_29($0, $1, $2) { + HEAP32[$0 + 4 >> 2] = $2; + HEAP32[$0 >> 2] = $1; +} + +function std____2__vector_vision__Node_96__20const__2c_20std____2__allocator_vision__Node_96__20const_______invalidate_all_iterators_28_29($0) {} + +function std____2__moneypunct_wchar_t_2c_20false___grouping_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 20 >> 2]]($0, $1); +} + +function std____2__moneypunct_char_2c_20false___curr_symbol_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($0, $1); +} + +function std____2__ios_base___ios_base_28_29_1($0) { + $0 = $0 | 0; + std____2__ios_base___ios_base_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__ctype_char____ctype_28_29_1($0) { + $0 = $0 | 0; + std____2__ctype_char____ctype_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______get_value_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__pair_float_2c_20unsigned_20long___2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__default_delete_vision__VisualDatabaseImpl__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_unsigned_20short___2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function arSetLabelingMode($0, $1) { + var $2 = 0; + $2 = -1; + if (!(!$0 | $1 >>> 0 > 1)) { + HEAP32[$0 + 12 >> 2] = $1; + $2 = 0; + } + return $2; +} + +function $28anonymous_20namespace_29__itanium_demangle__StringView__size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] | 0; +} + +function std____2__vector_float_2c_20std____2__allocator_float____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2__moneypunct_wchar_t_2c_20true___grouping_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 20 >> 2]]($0, $1); +} + +function std____2__moneypunct_char_2c_20true___curr_symbol_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($0, $1); +} + +function std____2__moneypunct_char_2c_20false___pos_format_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 40 >> 2]]($0, $1); +} + +function std____2__moneypunct_char_2c_20false___neg_format_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 44 >> 2]]($0, $1); +} + +function std____2__enable_if_is_integral_long___value_2c_20long___type_20std____2____half_positive_long__28long_29($0) { + return $0 >>> 1 | 0; +} + +function std____2____stdinbuf_wchar_t___uflow_28_29($0) { + $0 = $0 | 0; + return std____2____stdinbuf_wchar_t_____getchar_28bool_29($0, 1) | 0; +} + +function std____2____shared_count____add_shared_28_29($0) { + long_20std____2____libcpp_atomic_refcount_increment_long__28long__29($0 + 4 | 0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__match_t___2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Point3d_float___2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Point2d_float___2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_unsigned_20char___2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____compressed_pair_elem_std____2__allocator_std____2__pair_float_2c_20int___2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function $28anonymous_20namespace_29__itanium_demangle__SpecialName___SpecialName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PostfixExpr___PostfixExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PointerType___PointerType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__EnumLiteral___EnumLiteral_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function void__20std____2____libcpp_operator_new_unsigned_20long__28unsigned_20long_29($0) { + return operator_20new_28unsigned_20long_29($0); +} + +function void_20vision__CopyVector_int__28int__2c_20int_20const__2c_20unsigned_20long_29($0, $1, $2) { + wasm2js_memory_copy($0, $1, $2 << 2); +} + +function std____2__pair_float_2c_20int___pair_true_2c_20_28void__290__28_29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + return $0; +} + +function std____2__moneypunct_char_2c_20true___pos_format_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 40 >> 2]]($0, $1); +} + +function std____2__moneypunct_char_2c_20true___neg_format_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 44 >> 2]]($0, $1); +} + +function std____2__default_delete_unsigned_20char___operator_28_29_28unsigned_20char__29_20const($0, $1) { + operator_20delete_28void__29($1); +} + +function std____2____unwrap_iter_impl_char__2c_20true_____apply_28char__29($0) { + return char__20std____2____to_address_char__28char__29($0); +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__PriorityQueueItem_96___2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function __wasm_i64_udiv($0, $1, $2, $3) { + $3 = _ZN17compiler_builtins3int4udiv10divmod_u6417h6026910b5ed08e40E($0, $1, $2, $3); + return $3; +} + +function $28anonymous_20namespace_29__itanium_demangle__StringView__empty_28_29_20const($0) { + return HEAP32[$0 >> 2] == HEAP32[$0 + 4 >> 2]; +} + +function std__logic_error__what_28_29_20const($0) { + $0 = $0 | 0; + return std____2____libcpp_refstring__c_str_28_29_20const($0 + 4 | 0) | 0; +} + +function std____2__numeric_limits_long_20long___min_28_29() { + return std____2____libcpp_numeric_limits_long_20long_2c_20true___min_28_29(); +} + +function std____2__numeric_limits_long_20long___max_28_29() { + return std____2____libcpp_numeric_limits_long_20long_2c_20true___max_28_29(); +} + +function std____2__moneypunct_char_2c_20false___grouping_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 20 >> 2]]($0, $1); +} + +function std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______proxy__operator__28_29_20const($0) { + return HEAP8[$0 | 0]; +} + +function std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char______invalidate_all_iterators_28_29($0) {} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char____sentry__operator_20bool_28_29_20const($0) { + return HEAPU8[$0 | 0]; +} + +function std____2____wrap_iter_wchar_t_20const____operator___28long_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + ($1 << 2); + return $0; +} + +function std____2____wrap_iter_vision__PriorityQueueItem_96_____operator___28_29_1($0) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 8; + return $0; +} + +function std____2____stdinbuf_char___underflow_28_29($0) { + $0 = $0 | 0; + return std____2____stdinbuf_char_____getchar_28bool_29($0, 0) | 0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2__pair_float_2c_20int_______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__DoGScaleInvariantDetector__FeaturePoint__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Image___2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__FeaturePoint__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function icpDeleteHandle($0) { + var $1 = 0; + $1 = HEAP32[$0 >> 2]; + if (!$1) { + return -1; + } + dlfree($1); + HEAP32[$0 >> 2] = 0; + return 0; +} + +function double_20std____2____do_strtod_double__28char_20const__2c_20char___29($0, $1) { + return strtod_l($0, $1, std____2____cloc_28_29()); +} + +function __strerror_l($0, $1) { + return __lctrans(HEAPU16[(($0 >>> 0 > 149 ? 0 : $0) << 1) + 50768 >> 1] + 48936 | 0, HEAP32[$1 + 20 >> 2]); +} + +function $28anonymous_20namespace_29__itanium_demangle__VectorType___VectorType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__PrefixExpr___PrefixExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__NestedName___NestedName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__MemberExpr___MemberExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__LambdaExpr___LambdaExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__DeleteExpr___DeleteExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__BracedExpr___BracedExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__BinaryExpr___BinaryExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__AbiTagAttr___AbiTagAttr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function void_20std____2__allocator_vision__Image___construct_vision__Image__28vision__Image__29($0, $1) { + vision__Image__Image_28_29($1); +} + +function std____2__moneypunct_char_2c_20true___grouping_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 20 >> 2]]($0, $1); +} + +function std____2__ctype_wchar_t___widen_28char_29_20const($0, $1) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 44 >> 2]]($0, $1) | 0; +} + +function std____2__allocator_std____2__pair_float_2c_20unsigned_20long____destroy_28std____2__pair_float_2c_20unsigned_20long___29($0, $1) {} + +function std____2____shared_weak_count____get_deleter_28std__type_info_20const__29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return 0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_vision__PriorityQueueItem_96_______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_multi_marker___2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function lroundf($0) { + $0 = roundf($0); + if (Math_fround(Math_abs($0)) < Math_fround(2147483648)) { + return ~~$0; + } + return -2147483648; +} + +function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20int_2c_20int_2c_20int____get_28_29() { + return 40144; +} + +function dynCall_iiiiiijj($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) { + return FUNCTION_TABLE[$0 | 0]($1, $2, $3, $4, $5, $6, $7, $8, $9) | 0; +} + +function arGetDebugMode($0, $1) { + var $2 = 0; + $2 = -1; + if (!(!$0 | !$1)) { + HEAP32[$1 >> 2] = HEAP32[$0 >> 2]; + $2 = 0; + } + return $2; +} + +function vision__Exception___Exception_28_29_1($0) { + $0 = $0 | 0; + operator_20delete_28void__29(vision__Exception___Exception_28_29($0)); +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______invalidate_iterators_past_28vision__Image__29($0, $1) {} + +function std____2__vector_int_2c_20std____2__allocator_int____size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2] - HEAP32[$0 >> 2] >> 2; +} + +function std____2__numpunct_wchar_t___thousands_sep_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0) | 0; +} + +function std____2__numpunct_wchar_t___decimal_point_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0) | 0; +} + +function std____2__ctype_char___toupper_28char_29_20const($0, $1) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0, $1) | 0; +} + +function std____2____wrap_iter_vision__PriorityQueueItem_96_____operator___28_29($0) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] - 8; + return $0; +} + +function float_20std____2____do_strtod_float__28char_20const__2c_20char___29($0, $1) { + return strtof_l($0, $1, std____2____cloc_28_29()); +} + +function __wasm_rotl_i32($0, $1) { + var $2 = 0; + $2 = $1 & 31; + $1 = 0 - $1 & 31; + return (-1 >>> $2 & $0) << $2 | (-1 << $1 & $0) >>> $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__ThrowExpr___ThrowExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__LocalName___LocalName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__DotSuffix___DotSuffix_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__ArrayType___ArrayType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function void_20vision__ZeroVector_unsigned_20char__28unsigned_20char__2c_20unsigned_20long_29($0, $1) { + wasm2js_memory_fill($0, 0, $1); +} + +function void_20std____2__allocator_unsigned_20short___construct_unsigned_20short__28unsigned_20short__29($0, $1) { + HEAP16[$1 >> 1] = 0; +} + +function vision__Node_96__20const___20std____2____to_address_vision__Node_96__20const___28vision__Node_96__20const___29($0) { + return $0; +} + +function std__exception___exception_28_29_1($0) { + $0 = $0 | 0; + std__exception___exception_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__vector_vision__Point3d_float__2c_20std____2__allocator_vision__Point3d_float_______invalidate_all_iterators_28_29($0) {} + +function std____2____sso_allocator_std____2__locale__facet__2c_2030ul_____sso_allocator_28_29($0) { + HEAP8[$0 + 120 | 0] = 0; + return $0; +} + +function std____2____compressed_pair_elem_std____2__default_delete_vision__Keyframe_96___2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Node_96____2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Node_96__20const___2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function __cxa_is_pointer_type($0) { + $0 = $0 | 0; + if (!$0) { + return 0; + } + return (__dynamic_cast($0, 64816, 64960, 0) | 0) != 0 | 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__getCurrentPosition_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function void_20std____2__allocator_int___construct_int_2c_20int__28int__2c_20int___29($0, $1, $2) { + HEAP32[$1 >> 2] = HEAP32[$2 >> 2]; +} + +function vision__Timer__duration_in_milliseconds_28_29_20const($0) { + return vision__Timer__duration_in_seconds_28_29_20const($0) * 1e3; +} + +function unsigned_20long_20std____2____libcpp_acquire_load_unsigned_20long__28unsigned_20long_20const__29($0) { + return HEAP32[$0 >> 2]; +} + +function std____2__numeric_limits_float___epsilon_28_29() { + return std____2____libcpp_numeric_limits_float_2c_20true___epsilon_28_29(); +} + +function std____2__ctype_char___widen_28char_29_20const($0, $1) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 28 >> 2]]($0, $1) | 0; +} + +function std____2____wrap_iter_int_20const____operator___28long_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + ($1 << 2); + return $0; +} + +function std____2____unwrap_iter_impl_int__2c_20true_____apply_28int__29($0) { + return int__20std____2____to_address_int__28int__29($0); +} + +function std____2____stdinbuf_char___uflow_28_29($0) { + $0 = $0 | 0; + return std____2____stdinbuf_char_____getchar_28bool_29($0, 1) | 0; +} + +function std____2____compressed_pair_elem_std____2__allocator_unsigned_20short__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function __loc_is_allocated($0) { + return ($0 | 0) != 0 & ($0 | 0) != 54536 & ($0 | 0) != 54560 & ($0 | 0) != 82304 & ($0 | 0) != 82328; +} + +function $28anonymous_20namespace_29__itanium_demangle__QualType___QualType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__NameType___NameType_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__FoldExpr___FoldExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__DtorName___DtorName_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__CastExpr___CastExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__CallExpr___CallExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function $28anonymous_20namespace_29__itanium_demangle__BoolExpr___BoolExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function unsigned_20char__20std____2____rewrap_iter_unsigned_20char___28unsigned_20char__2c_20unsigned_20char__29($0, $1) { + return $1; +} + +function std__bad_alloc___bad_alloc_28_29($0) { + $0 = $0 | 0; + std__exception___exception_28_29($0); + operator_20delete_28void__29($0); +} + +function std____2__shared_ptr_vision__Keyframe_96____shared_ptr_28_29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + return $0; +} + +function std____2__numpunct_char___thousands_sep_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 16 >> 2]]($0) | 0; +} + +function std____2__numpunct_char___decimal_point_28_29_20const($0) { + return FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 12 >> 2]]($0) | 0; +} + +function std____2__ios_base__width_28long_29($0, $1) { + var $2 = 0; + $2 = HEAP32[$0 + 12 >> 2]; + HEAP32[$0 + 12 >> 2] = $1; + return $2; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_vision__Node_96__20const_______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____hash_value_type_int_2c_20std____2__vector_int_2c_20std____2__allocator_int_______get_value_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__pair_float_2c_20unsigned_20long___2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__match_t__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function legalfunc$__wasi_fd_seek($0, $1, $2, $3, $4) { + return legalimport$__wasi_fd_seek($0 | 0, $1 | 0, $2 | 0, $3 | 0, $4 | 0) | 0; +} + +function jpeg_open_backing_store($0, $1, $2) { + $1 = HEAP32[$0 >> 2]; + HEAP32[$1 + 20 >> 2] = 51; + FUNCTION_TABLE[HEAP32[$1 >> 2]]($0); +} + +function __wasm_i64_mul($0, $1, $2, $3) { + $3 = _ZN17compiler_builtins3int3mul3Mul3mul17h070e9a1c69faec5bE($0, $1, $2, $3); + return $3; +} + +function void_20vision__ZeroVector3_float__28float__29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + HEAP32[$0 + 8 >> 2] = 0; +} + +function std____2__locale__facet___20std____2____to_address_std____2__locale__facet___28std____2__locale__facet___29($0) { + return $0; +} + +function std____2__ios_base__getloc_28_29_20const($0, $1) { + std____2__locale__locale_28std____2__locale_20const__29($0, $1 + 28 | 0); +} + +function std____2____shared_count____shared_count_28long_29($0, $1) { + HEAP32[$0 + 4 >> 2] = $1; + HEAP32[$0 >> 2] = 64648; + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_std____2__locale__facet_______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______get_value_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Point3d_float___2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Point2d_float___2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function float__20vision__Image__get_float__28_29($0) { + return std____2__shared_ptr_unsigned_20char___get_28_29_20const($0 + 24 | 0); +} + +function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20int_2c_20double____get_28_29() { + return 40312; +} + +function arImageProcLumaHistAndCDFAndMedian($0, $1, $2) { + return arImageProcLumaHistAndCDFAndPercentile($0, $1, Math_fround(.5), $2); +} + +function $28anonymous_20namespace_29__itanium_demangle__NewExpr___NewExpr_28_29($0) { + $0 = $0 | 0; + operator_20delete_28void__29($0); +} + +function std____2__vector_vision__FeaturePoint_2c_20std____2__allocator_vision__FeaturePoint______invalidate_all_iterators_28_29($0) {} + +function std____2__pair_int_20const_2c_20arController____pair_28_29($0) { + arController___arController_28_29($0 + 8 | 0); + return $0; +} + +function std____2____libcpp_numeric_limits_unsigned_20long_20long_2c_20true___max_28_29() { + i64toi32_i32$HIGH_BITS = -1; + return -1; +} + +function std____2____compressed_pair_elem_std____2__default_delete_vision__Node_96___2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Image__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function long_20std____2____libcpp_atomic_refcount_decrement_long__28long__29($0) { + return Atomics.add(HEAP32, $0 >> 2, -1) - 1 | 0; +} + +function fp_barrierf_1($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + HEAPF32[$1 + 12 >> 2] = $0; + return HEAPF32[$1 + 12 >> 2]; +} + +function error_exit($0) { + $0 = $0 | 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 8 >> 2]]($0); + jpeg_destroy($0); + exit(1); + abort(); +} + +function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20int_2c_20float____get_28_29() { + return 40364; +} + +function void_20std____2__allocator_unsigned_20char___construct_unsigned_20char__28unsigned_20char__29($0, $1) { + HEAP8[$1 | 0] = 0; +} + +function std____2__numeric_limits_wchar_t___max_28_29() { + return std____2____libcpp_numeric_limits_wchar_t_2c_20true___max_28_29(); +} + +function std____2__char_traits_wchar_t___eq_int_type_28unsigned_20int_2c_20unsigned_20int_29($0, $1) { + return ($0 | 0) == ($1 | 0); +} + +function std____2____wrap_iter_wchar_t____operator___28long_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + ($1 << 2); + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_vision__Point3d_float_______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_vision__Point2d_float_______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__default_delete_unsigned_20char__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Keyframe_96___2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__FeaturePoint__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_multi_marker__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_float___2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____compressed_pair_elem_NullArrayDeleter_unsigned_20char__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function long_20std____2____libcpp_atomic_refcount_increment_long__28long__29($0) { + return Atomics.add(HEAP32, $0 >> 2, 1) + 1 | 0; +} + +function char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int_2c_20int__28_29() { + return 40160; +} + +function __cxxabiv1____shim_type_info_____shim_type_info_28_29($0) { + $0 = $0 | 0; + return std__type_info___type_info_28_29($0) | 0; +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____failed_28_29_20const($0) { + return !HEAP32[$0 >> 2]; +} + +function std____2__numpunct_wchar_t___falsename_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 28 >> 2]]($0, $1); +} + +function std____2__locale__facet___facet_28_29($0) { + $0 = $0 | 0; + return std____2____shared_count_____shared_count_28_29($0) | 0; +} + +function std____2__locale__facet____on_zero_shared_28_29($0) { + $0 = $0 | 0; + FUNCTION_TABLE[HEAP32[HEAP32[$0 >> 2] + 4 >> 2]]($0); +} + +function std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____operator__28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____compressed_pair_elem_std____2__pair_float_2c_20int___2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function fp_barrierf($0) { + var $1 = 0; + $1 = __stack_pointer - 16 | 0; + HEAPF32[$1 + 12 >> 2] = $0; + return HEAPF32[$1 + 12 >> 2]; +} + +function emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int_2c_20int_2c_20int___getCount_28_29_20const($0) { + return 4; +} + +function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20int_2c_20int____get_28_29() { + return 40344; +} + +function std____2__shared_ptr_unsigned_20char___shared_ptr_28_29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + return $0; +} + +function std____2__numpunct_wchar_t___truename_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($0, $1); +} + +function std____2__numpunct_wchar_t___grouping_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 20 >> 2]]($0, $1); +} + +function std____2____wrap_iter_char_20const____operator___28long_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + $1; + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_vision__Keyframe_96_______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_vision__FeaturePoint______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____libcpp_numeric_limits_long_20long_2c_20true___min_28_29() { + i64toi32_i32$HIGH_BITS = -2147483648; + return 0; +} + +function std____2____libcpp_numeric_limits_long_20long_2c_20true___max_28_29() { + i64toi32_i32$HIGH_BITS = 2147483647; + return -1; +} + +function std____2____compressed_pair_elem_vision__PriorityQueueItem_96___2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_int___2c_201_2c_20false_____get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20int_2c_20int____get_28_29() { + return 40272; +} + +function dynCall_iiiiijj($0, $1, $2, $3, $4, $5, $6, $7, $8) { + return FUNCTION_TABLE[$0 | 0]($1, $2, $3, $4, $5, $6, $7, $8) | 0; +} + +function arMatrixSelfInvf($0) { + var $1 = 0; + $1 = HEAP32[$0 >> 2]; + $0 = HEAP32[$0 + 4 >> 2]; + return minvf($1, $0, $0) ? 0 : -1; +} + +function vision__PriorityQueueItem_96___PriorityQueueItem_28_29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + return $0; +} + +function std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_always_noconv_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_always_noconv_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__char_traits_wchar_t___assign_28wchar_t__2c_20wchar_t_20const__29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$1 >> 2]; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Node_96____2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function vision__Point3d_float___20std____2____to_address_vision__Point3d_float___28vision__Point3d_float___29($0) { + return $0; +} + +function vision__Point2d_float___20std____2____to_address_vision__Point2d_float___28vision__Point2d_float___29($0) { + return $0; +} + +function std____2__numpunct_char___falsename_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 28 >> 2]]($0, $1); +} + +function std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t____tie_28_29_20const($0) { + return HEAP32[$0 + 72 >> 2]; +} + +function std____2____wrap_iter_wchar_t_20const______wrap_iter_28wchar_t_20const__29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____libcpp_condvar_wait_28pthread_cond_t__2c_20pthread_mutex_t__29($0, $1) { + return pthread_cond_wait($0, $1); +} + +function std____2____compressed_pair_elem_std____2__allocator_unsigned_20short__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function arMatrixSelfInv($0) { + var $1 = 0; + $1 = HEAP32[$0 >> 2]; + $0 = HEAP32[$0 + 4 >> 2]; + return minv($1, $0, $0) ? 0 : -1; +} + +function vision__match_t__match_t_28int_2c_20int_29($0, $1, $2) { + HEAP32[$0 + 4 >> 2] = $2; + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std__bad_alloc__bad_alloc_28_29($0) { + $0 = std__exception__exception_28_29($0); + HEAP32[$0 >> 2] = 65464; + return $0; +} + +function std____2__vector_vision__Node_96___2c_20std____2__allocator_vision__Node_96________invalidate_all_iterators_28_29($0) {} + +function std____2__numpunct_char___truename_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 24 >> 2]]($0, $1); +} + +function std____2__numpunct_char___grouping_28_29_20const($0, $1) { + FUNCTION_TABLE[HEAP32[HEAP32[$1 >> 2] + 20 >> 2]]($0, $1); +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____showmanyc_28_29($0) { + $0 = $0 | 0; + return 0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_vision__Node_96________non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__VisualDatabaseImpl__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_wchar_t__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__match_t__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_unsigned_20char__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function float_20vision__log2_float__28float_29($0) { + return Math_fround(log_28float_29($0) / log_28float_29(Math_fround(2))); +} + +function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20double__28_29() { + return 40324; +} + +function vision__Image__get_28_29_20const($0) { + return std____2__shared_ptr_unsigned_20char___get_28_29_20const($0 + 24 | 0); +} + +function vision__Image___Image_28_29($0) { + std____2__shared_ptr_unsigned_20char____shared_ptr_28_29($0 + 24 | 0); + return $0; +} + +function std____2__unitbuf_28std____2__ios_base__29($0) { + std____2__ios_base__setf_28unsigned_20int_29($0, 8192); + return $0; +} + +function std____2__numeric_limits_long___min_28_29() { + return std____2____libcpp_numeric_limits_long_2c_20true___min_28_29(); +} + +function std____2__numeric_limits_long___max_28_29() { + return std____2____libcpp_numeric_limits_long_2c_20true___max_28_29(); +} + +function std____2__numeric_limits_char___max_28_29() { + return std____2____libcpp_numeric_limits_char_2c_20true___max_28_29(); +} + +function std____2__locale___locale_28_29($0) { + std____2____shared_count____release_shared_28_29(HEAP32[$0 >> 2]); + return $0; +} + +function std____2__collate_wchar_t____collate_28_29($0) { + $0 = $0 | 0; + return std____2__locale__facet___facet_28_29($0) | 0; +} + +function std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_always_noconv_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_max_length_28_29_20const($0) { + $0 = $0 | 0; + return 4; +} + +function std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_always_noconv_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_max_length_28_29_20const($0) { + $0 = $0 | 0; + return 4; +} + +function std____2__allocator_vision__DoGScaleInvariantDetector__FeaturePoint___max_size_28_29_20const($0) { + return 119304647; +} + +function std____2____wrap_iter_std____2__pair_float_2c_20unsigned_20long_____base_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_unsigned_20short______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____hash_value_type_int_2c_20std____2__shared_ptr_vision__Keyframe_96_______get_value_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__Node_96__20const___2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int_2c_20double___getCount_28_29_20const($0) { + return 3; +} + +function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20float__28_29() { + return 40376; +} + +function _GLOBAL__sub_I_ARToolKitJS_cpp() { + __cxx_global_var_init(); + __cxx_global_var_init_1(); + __cxx_global_var_init_43(); +} + +function strtoull_l_28char_20const__2c_20char___2c_20int_2c_20__locale_struct__29($0, $1, $2) { + return strtoull($0, $1, $2); +} + +function std____2__vector_unsigned_20short_2c_20std____2__allocator_unsigned_20short______invalidate_all_iterators_28_29($0) {} + +function std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_always_noconv_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_vision__match_t______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_unsigned_20char______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__locale__facet___2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_vision__Image__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_float__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function setThrew($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + if (!HEAP32[20052]) { + HEAP32[20052] = $0; + HEAP32[20053] = $1; + } +} + +function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int_2c_20float___getCount_28_29_20const($0) { + return 3; +} + +function emscripten__internal__BindingType_double_2c_20void___toWireType_28double_20const__29($0) { + return HEAPF64[$0 >> 3]; +} + +function std____2__numeric_limits_int___max_28_29() { + return std____2____libcpp_numeric_limits_int_2c_20true___max_28_29(); +} + +function std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_encoding_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_encoding_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2____wrap_iter_wchar_t_20const____operator___28_29($0) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 4; + return $0; +} + +function std____2____refstring_imp___28anonymous_20namespace_29__rep_from_data_28char_20const__29($0) { + return $0 - 12 | 0; +} + +function std____2____compressed_pair_elem_std____2__allocator_multi_marker__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_NullArrayDeleter_unsigned_20char__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_double_2c_20int____get_28_29() { + return 40332; +} + +function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int_2c_20int__28_29() { + return 40356; +} + +function arGetPatternDetectionMode($0, $1) { + if (!$0) { + return -1; + } + HEAP32[$1 >> 2] = HEAP32[$0 + 24 >> 2]; + return 0; +} + +function strtoll_l_28char_20const__2c_20char___2c_20int_2c_20__locale_struct__29($0, $1, $2) { + return strtoll($0, $1, $2); +} + +function std____2__vector_vision__match_t_2c_20std____2__allocator_vision__match_t______invalidate_all_iterators_28_29($0) {} + +function std____2__vector_unsigned_20char_2c_20std____2__allocator_unsigned_20char______invalidate_all_iterators_28_29($0) {} + +function std____2__collate_char____collate_28_29($0) { + $0 = $0 | 0; + return std____2__locale__facet___facet_28_29($0) | 0; +} + +function std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_max_length_28_29_20const($0) { + $0 = $0 | 0; + return 4; +} + +function std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_max_length_28_29_20const($0) { + $0 = $0 | 0; + return 4; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_vision__Image______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__Point3d_float___2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__Point2d_float___2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__pair_float_2c_20int___2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_int__2c_201_2c_20true_____get_28_29_20const($0) { + return $0; +} + +function fullsize_upsample($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + HEAP32[$3 >> 2] = $2; +} + +function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int_2c_20int___getCount_28_29_20const($0) { + return 3; +} + +function char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int_2c_20int__28_29() { + return 40264; +} + +function void_20vision__ZeroVector_float__28float__2c_20unsigned_20long_29($0, $1) { + wasm2js_memory_fill($0, 0, $1 << 2); +} + +function vision__FeaturePoint__20std____2____to_address_vision__FeaturePoint__28vision__FeaturePoint__29($0) { + return $0; +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_always_noconv_28_29_20const($0) { + $0 = $0 | 0; + return 1; +} + +function std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sync_28_29($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__basic_ios_char_2c_20std____2__char_traits_char____tie_28_29_20const($0) { + return HEAP32[$0 + 72 >> 2]; +} + +function std____2____wrap_iter_char____operator___28long_29($0, $1) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + $1; + return $0; +} + +function std____2____wrap_iter_char_20const______wrap_iter_28char_20const__29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_multi_marker______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____libcpp_numeric_limits_float_2c_20true___epsilon_28_29() { + return Math_fround(1.1920928955078125e-7); +} + +function std____2____compressed_pair_elem_vision__PriorityQueueItem_96___2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function reset_error_mgr($0) { + $0 = $0 | 0; + $0 = HEAP32[$0 >> 2]; + HEAP32[$0 + 20 >> 2] = 0; + HEAP32[$0 + 108 >> 2] = 0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int_2c_20int___getCount_28_29_20const($0) { + return 3; +} + +function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_void_2c_20int____get_28_29() { + return 40292; +} + +function $28anonymous_20namespace_29__itanium_demangle__NodeArray__empty_28_29_20const($0) { + return !HEAP32[$0 + 4 >> 2]; +} + +function std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_encoding_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_encoding_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____showmanyc_28_29($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29($0, $1) { + return $0; +} + +function std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29($0, $1) { + return $0; +} + +function std____2__allocator_std____2__pair_float_2c_20unsigned_20long____max_size_28_29_20const($0) { + return 536870911; +} + +function std____2____wrap_iter_char_20const____operator___28_29($0) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + return $0; +} + +function std____2____num_get_char_____do_widen_p_28std____2__ios_base__2c_20char__29_20const($0, $1, $2) { + return 57760; +} + +function std____2____compressed_pair_elem_vision__FeaturePoint__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int_2c_20int____get_28_29() { + return 40168; +} + +function vision__BinaryHierarchicalClustering_96___setMinFeaturesPerNode_28int_29($0, $1) { + HEAP32[$0 + 108 >> 2] = $1; +} + +function std____terminate_28void_20_28__29_28_29_29($0) { + FUNCTION_TABLE[$0 | 0](); + abort_message(32855, 0); + abort(); +} + +function std____2____wrap_iter_int_20const____operator___28_29($0) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 4; + return $0; +} + +function std____2____wrap_iter_int_20const______wrap_iter_28int_20const__29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____time_get_c_storage_wchar_t_____time_get_c_storage_28_29($0) { + HEAP32[$0 >> 2] = 64612; + return $0; +} + +function std____2____sso_allocator_std____2__locale__facet__2c_2030ul___max_size_28_29_20const($0) { + return 1073741823; +} + +function arGetPattRatio($0, $1) { + if (!$0) { + return -1; + } + HEAPF64[$1 >> 3] = HEAPF64[$0 + 7062416 >> 3]; + return 0; +} + +function $28anonymous_20namespace_29__itanium_demangle__StringView__end_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function $28anonymous_20namespace_29__itanium_demangle__NodeArray__size_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function std____2__vector_vision__Image_2c_20std____2__allocator_vision__Image______invalidate_all_iterators_28_29($0) {} + +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator___28_29($0) { + return $0; +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_max_length_28_29_20const($0) { + $0 = $0 | 0; + return 1; +} + +function std____2____compressed_pair_elem_vision__VisualDatabaseImpl__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_wchar_t__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function void_20vision__CopyVector9_float__28float__2c_20float_20const__29($0, $1) { + wasm2js_memory_copy($0, $1, 36); +} + +function vision__Image__get_28_29($0) { + return std____2__shared_ptr_unsigned_20char___get_28_29_20const($0 + 24 | 0); +} + +function std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t____operator__28_29($0) { + return $0; +} + +function std____2__numpunct_wchar_t___do_thousands_sep_28_29_20const($0) { + $0 = $0 | 0; + return HEAP32[$0 + 12 >> 2]; +} + +function std____2____wrap_iter_vision__PriorityQueueItem_96_____operator__28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____compressed_pair_elem_vision__Node_96____2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__Node_96__20const___2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function noop_upsample($0, $1, $2, $3) { + $0 = $0 | 0; + $1 = $1 | 0; + $2 = $2 | 0; + $3 = $3 | 0; + HEAP32[$3 >> 2] = 0; +} + +function emscripten__internal__BindingType_int_2c_20void___toWireType_28int_20const__29($0) { + return HEAP32[$0 >> 2]; +} + +function arUtilGetPixelSize($0) { + var $1 = 0; + $1 = $0 >>> 0 <= 14 ? HEAP32[($0 << 2) + 21188 >> 2] : $1; + return $1; +} + +function $28anonymous_20namespace_29__itanium_demangle__StringView__begin_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2__vector_multi_marker_2c_20std____2__allocator_multi_marker______invalidate_all_iterators_28_29($0) {} + +function std____2__numpunct_wchar_t___do_decimal_point_28_29_20const($0) { + $0 = $0 | 0; + return HEAP32[$0 + 8 >> 2]; +} + +function std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_encoding_28_29_20const($0) { + $0 = $0 | 0; + return 1; +} + +function std____2__char_traits_char___assign_28char__2c_20char_20const__29($0, $1) { + HEAP8[$0 | 0] = HEAPU8[$1 | 0]; +} + +function std____2____time_get_c_storage_char_____time_get_c_storage_28_29($0) { + HEAP32[$0 >> 2] = 64576; + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_wchar_t______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____get_value_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_void_20_28__29_28void__29_2c_201_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__Node_96___2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_unsigned_20short__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__locale__facet___2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_float__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function char_20const__20emscripten__internal__getGenericSignature_double_2c_20int_2c_20int__28_29() { + return 40340; +} + +function arGetImageProcMode($0, $1) { + if (!$0) { + return -1; + } + HEAP32[$1 >> 2] = HEAP32[$0 + 20 >> 2]; + return 0; +} + +function __cxxabiv1___28anonymous_20namespace_29__InitByteNoThreads__release_28_29($0) { + HEAP8[HEAP32[$0 >> 2]] = 1; +} + +function $28anonymous_20namespace_29__itanium_demangle__Node__getKind_28_29_20const($0) { + return HEAPU8[$0 + 4 | 0]; +} + +function $28anonymous_20namespace_29__itanium_demangle__NodeArray__begin_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std__terminate_28_29() { + std____terminate_28void_20_28__29_28_29_29(std__get_terminate_28_29()); + abort(); +} + +function std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sync_28_29($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__allocator_vision__Image___destroy_28vision__Image__29($0, $1) { + vision__Image___Image_28_29($1); +} + +function std____2____wrap_iter_wchar_t____operator___28_29($0) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 4; + return $0; +} + +function std____2____compressed_pair_elem_vision__match_t__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__locale__facet__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_char__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_double_2c_20int___getCount_28_29_20const($0) { + return 2; +} + +function $28anonymous_20namespace_29__itanium_demangle__OutputBuffer__getBuffer_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function wchar_t__20std____2__end_wchar_t_2c_2010ul__28wchar_t_20_28__29_20_5b10ul_5d_29($0) { + return $0 + 40 | 0; +} + +function vision__DoGScaleInvariantDetector__setLaplacianThreshold_28float_29($0, $1) { + HEAPF32[$0 + 52 >> 2] = $1; +} + +function vision__DoGPyramid__scaleFromIndex_28int_29_20const($0, $1) { + return ($1 | 0) % HEAP32[$0 + 16 >> 2] | 0; +} + +function vision__BinaryHierarchicalClustering_96___setMaxNodesToPop_28int_29($0, $1) { + HEAP32[$0 + 104 >> 2] = $1; +} + +function std____2__ctype_wchar_t___do_widen_28char_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return $1 | 0; +} + +function std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29($0, $1) { + return $0; +} + +function std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29($0, $1) { + return $0; +} + +function std____2__allocator_std____2__pair_float_2c_20int____destroy_28std____2__pair_float_2c_20int___29($0, $1) {} + +function std____2____shared_weak_count____add_shared_28_29($0) { + std____2____shared_count____add_shared_28_29($0); +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_float______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__Point3d_float___2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__Point2d_float___2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_unsigned_20int__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_std____2__allocator_int__2c_201_2c_20true_____get_28_29($0) { + return $0; +} + +function float_20vision__round_float__28float_29($0) { + return floor_28float_29(Math_fround($0 + Math_fround(.5))); +} + +function char_20const__20emscripten__internal__getGenericSignature_void_2c_20int_2c_20int__28_29() { + return 40300; +} + +function __libcpp_memchr_28void_20const__2c_20int_2c_20unsigned_20long_29($0, $1, $2) { + return memchr($0, $1, $2); +} + +function std____2__vector_float_2c_20std____2__allocator_float______invalidate_iterators_past_28float__29($0, $1) {} + +function std____2__shared_ptr_vision__FrontendSinkFilter___operator___28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_char______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__Image__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function int_20vision__MaxIndex2_float__28float_20const__29($0) { + return HEAPF32[$0 + 4 >> 2] > HEAPF32[$0 >> 2]; +} + +function emscripten__internal__WithPolicies____ArgTypeList_void_2c_20int___getCount_28_29_20const($0) { + return 2; +} + +function char_20const__20emscripten__internal__getGenericSignature_int_2c_20int_2c_20int__28_29() { + return 40176; +} + +function vision__Node_96____20std____2____to_address_vision__Node_96____28vision__Node_96____29($0) { + return $0; +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____operator___28_29($0) { + return $0; +} + +function std____2____wrap_iter_vision__PriorityQueueItem_96_____base_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____wrap_iter_char____operator___28_29($0) { + HEAP32[$0 >> 2] = HEAP32[$0 >> 2] + 1; + return $0; +} + +function std____2____non_trivial_if_true_2c_20std____2__allocator_int______non_trivial_if_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__Keyframe_96___2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__FeaturePoint__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_multi_marker__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function fputs($0, $1) { + var $2 = 0; + $2 = strlen($0); + return ($2 | 0) != (fwrite($0, 1, $2, $1) | 0) ? -1 : 0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_int_2c_20int___getCount_28_29_20const($0) { + return 2; +} + +function dynCall_iiiiij($0, $1, $2, $3, $4, $5, $6) { + return FUNCTION_TABLE[$0 | 0]($1, $2, $3, $4, $5, $6) | 0; +} + +function vision__Point2d_float___Point2d_28_29($0) { + HEAP32[$0 >> 2] = 0; + HEAP32[$0 + 4 >> 2] = 0; + return $0; +} + +function vision__GaussianScaleSpacePyramid__numScalesPerOctave_28_29_20const($0) { + return HEAP32[$0 + 20 >> 2]; +} + +function std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char____operator__28_29($0) { + return $0; +} + +function std____2__numpunct_char___do_thousands_sep_28_29_20const($0) { + $0 = $0 | 0; + return HEAP8[$0 + 9 | 0]; +} + +function std____2__numpunct_char___do_decimal_point_28_29_20const($0) { + $0 = $0 | 0; + return HEAP8[$0 + 8 | 0]; +} + +function std____2__ctype_char___do_widen_28char_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; + return $1 | 0; +} + +function std____2____wrap_iter_wchar_t______wrap_iter_28wchar_t__29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function stackAlloc($0) { + $0 = $0 | 0; + $0 = __stack_pointer - $0 & -16; + __stack_pointer = $0; + return $0 | 0; +} + +function emscripten__internal__ArgArrayGetter_emscripten__internal__TypeList_int____get_28_29() { + return 40304; +} + +function __newlocale($0, $1, $2) { + __lock(82296); + $2 = do_newlocale($0, $1, $2); + __unlock(82296); + return $2; +} + +function icpSetInlierProbability($0, $1) { + if (!$0) { + return -1; + } + HEAPF64[$0 + 128 >> 3] = $1; + return 0; +} + +function arGetTransMatMultiSquareRobust($0, $1, $2, $3) { + return arGetTransMatMultiSquare2($0, $1, $2, $3, 1); +} + +function __cxx_global_var_init_43() { + EmBindInit_constant_bindings__EmBindInit_constant_bindings_28_29(78388); +} + +function __cxx_global_var_init_2() { + std____2__ios_base__Init__Init_28_29(81936); + __cxa_atexit(293, 0, 1024); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node___Node_28_29_1($0) { + $0 = $0 | 0; + return $0 | 0; +} + +function vision__DoGScaleInvariantDetector__setEdgeThreshold_28float_29($0, $1) { + HEAPF32[$0 + 56 >> 2] = $1; +} + +function unsigned_20short__20std____2____to_address_unsigned_20short__28unsigned_20short__29($0) { + return $0; +} + +function std____2__moneypunct_wchar_t_2c_20false___do_frac_digits_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2____compressed_pair_elem_vision__Node_96____2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function arSetMatrixCodeType($0, $1) { + if (!$0) { + return -1; + } + HEAP32[$0 + 7062424 >> 2] = $1; + return 0; +} + +function void_20std____2____libcpp_operator_delete_void___28void__29($0) { + operator_20delete_28void__29($0); +} + +function std____2__moneypunct_wchar_t_2c_20true___do_frac_digits_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__allocator_std____2__pair_float_2c_20int____max_size_28_29_20const($0) { + return 536870911; +} + +function std____2____hash_value_type_unsigned_20int_2c_20unsigned_20int_____get_value_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__Node_96___2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_unsigned_20short__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2__vector_int_2c_20std____2__allocator_int______invalidate_iterators_past_28int__29($0, $1) {} + +function std____2__shared_ptr_vision__Keyframe_96____operator___28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2__allocator_vision__PriorityQueueItem_96____max_size_28_29_20const($0) { + return 536870911; +} + +function std____2____libcpp_condvar_broadcast_28pthread_cond_t__29($0) { + return pthread_cond_broadcast($0); +} + +function std____2____compressed_pair_elem_wchar_t__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_vision__match_t__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_unsigned_20char__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function wchar_t_20const__20std____2____to_address_wchar_t_20const__28wchar_t_20const__29($0) { + return $0; +} + +function void_20std____2____destroy_at_std____2__locale__facet__2c_200__28std____2__locale__facet___29($0) {} + +function vision__match_t__20std____2____to_address_vision__match_t__28vision__match_t__29($0) { + return $0; +} + +function unsigned_20char__20std____2____to_address_unsigned_20char__28unsigned_20char__29($0) { + return $0; +} + +function std____2__moneypunct_char_2c_20false___do_frac_digits_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__ctype_char_____classic_upper_table_28_29() { + return HEAP32[__ctype_toupper_loc() >> 2]; +} + +function std____2__ctype_char_____classic_lower_table_28_29() { + return HEAP32[__ctype_tolower_loc() >> 2]; +} + +function std____2__char_traits_char___eq_int_type_28int_2c_20int_29($0, $1) { + return ($0 | 0) == ($1 | 0); +} + +function std____2____tuple_leaf_0ul_2c_20int_20const__2c_20false___get_28_29($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____compressed_pair_elem_unsigned_20long_2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_unsigned_20int__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function ar2SetTrackingThresh($0, $1) { + if (!$0) { + return -1; + } + HEAPF32[$0 + 44 >> 2] = $1; + return 0; +} + +function vision__HoughSimilarityVoting__getSubBinLocationIndices_28_29_20const($0) { + return $0 + 124 | 0; +} + +function swapc($0, $1) { + return $1 ? $0 << 8 & 16711680 | $0 << 24 | ($0 >>> 8 & 65280 | $0 >>> 24) : $0; +} + +function std____2__moneypunct_char_2c_20true___do_frac_digits_28_29_20const($0) { + $0 = $0 | 0; + return 0; +} + +function std____2____wrap_iter_char______wrap_iter_28char__29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____compressed_pair_elem_vision__Image__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_float__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function char__20std____2__end_char_2c_2010ul__28char_20_28__29_20_5b10ul_5d_29($0) { + return $0 + 10 | 0; +} + +function __stdio_close($0) { + $0 = $0 | 0; + return __wasi_fd_close(dummy_1(HEAP32[$0 + 60 >> 2]) | 0) | 0; +} + +function trackingInit($0) { + $0 = trackingInitInit($0); + if (!$0) { + exit(-1); + abort(); + } + return $0; +} + +function std____2__hash_unsigned_20int___operator_28_29_28unsigned_20int_29_20const($0, $1) { + return $1; +} + +function std____2__allocator_vision__Node_96__20const____max_size_28_29_20const($0) { + return 1073741823; +} + +function std____2__allocator_vision__Node_96__20const____destroy_28vision__Node_96__20const___29($0, $1) {} + +function std____2____compressed_pair_elem_multi_marker__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_char__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function operator_20new_5b_5d_28unsigned_20long_29($0) { + return operator_20new_28unsigned_20long_29($0); +} + +function dynCall_jiji($0, $1, $2, $3, $4) { + $3 = FUNCTION_TABLE[$0 | 0]($1, $2, $3, $4) | 0; + return $3; +} + +function char_20const__20emscripten__internal__getGenericSignature_int_2c_20int__28_29() { + return 40308; +} + +function arGetTransMatMultiSquare($0, $1, $2, $3) { + return arGetTransMatMultiSquare2($0, $1, $2, $3, 0); +} + +function ar2SetTemplateSize2($0, $1) { + if (!$0) { + return -1; + } + HEAP32[$0 + 32 >> 2] = $1; + return 0; +} + +function ar2SetTemplateSize1($0, $1) { + if (!$0) { + return -1; + } + HEAP32[$0 + 28 >> 2] = $1; + return 0; +} + +function void_20std____2__allocator_float___construct_float__28float__29($0, $1) { + HEAP32[$1 >> 2] = 0; +} + +function vision__GaussianScaleSpacePyramid__numOctaves_28_29_20const($0) { + return HEAP32[$0 + 16 >> 2]; +} + +function vision__BinaryHierarchicalClustering_96___reverseIndex_28_29_20const($0) { + return $0 + 72 | 0; +} + +function std____2____wrap_iter_wchar_t_20const____operator__28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____wrap_iter_int______wrap_iter_28int__29($0, $1) { + HEAP32[$0 >> 2] = $1; + return $0; +} + +function std____2____libcpp_mutex_unlock_28pthread_mutex_t__29($0) { + return __pthread_mutex_unlock($0); +} + +function std____2____hash_value_type_int_2c_20arController_____get_value_28_29_20const($0) { + return $0; +} + +function std____2____compressed_pair_elem_int__2c_200_2c_20false_____get_28_29_20const($0) { + return $0; +} + +function emscripten__internal__WithPolicies____ArgTypeList_int___getCount_28_29_20const($0) { + return 1; +} + +function emscripten__internal__BindingType_double_2c_20void___fromWireType_28double_29($0) { + return $0; +} + +function wchar_t__20std____2____rewrap_iter_wchar_t___28wchar_t__2c_20wchar_t__29($0, $1) { + return $1; +} + +function std____2__vector_float_2c_20std____2__allocator_float______invalidate_all_iterators_28_29($0) {} + +function std____2__pointer_traits_wchar_t_20const____pointer_to_28wchar_t_20const__29($0) { + return $0; +} + +function my_error_exit($0) { + $0 = $0 | 0; + emscripten_longjmp(HEAP32[$0 >> 2] + 132 | 0, 1); + abort(); +} + +function __cxx_global_array_dtor_1_1($0) { + $0 = $0 | 0; + std____2__DoIOSInit___DoIOSInit_28_29(82292); +} + +function $28anonymous_20namespace_29__itanium_demangle__Node___Node_28_29($0) { + $0 = $0 | 0; + abort(); +} + +function std____2__messages_wchar_t___do_close_28long_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; +} + +function emscripten__internal__BindingType_float_2c_20void___fromWireType_28float_29($0) { + return $0; +} + +function dynCall_viijii($0, $1, $2, $3, $4, $5, $6) { + FUNCTION_TABLE[$0 | 0]($1, $2, $3, $4, $5, $6); +} + +function ar2SetSimThresh($0, $1) { + if (!$0) { + return -1; + } + HEAPF32[$0 + 40 >> 2] = $1; + return 0; +} + +function ar2SetSearchSize($0, $1) { + if (!$0) { + return -1; + } + HEAP32[$0 + 24 >> 2] = $1; + return 0; +} + +function vision__Image__20std____2____to_address_vision__Image__28vision__Image__29($0) { + return $0; +} + +function std____2__shared_ptr_vision__Keyframe_96____get_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2__allocator_vision__Point3d_float____max_size_28_29_20const($0) { + return 357913941; +} + +function std____2__allocator_vision__Point2d_float____max_size_28_29_20const($0) { + return 536870911; +} + +function std____2____wrap_iter_char_20const____operator__28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____is_hash_power2_28unsigned_20long_29($0) { + return !($0 - 1 & $0) & $0 >>> 0 > 2; +} + +function jround_up($0, $1) { + $0 = ($0 + $1 | 0) - 1 | 0; + return $0 - (($0 | 0) % ($1 | 0) | 0) | 0; +} + +function __cxx_global_array_dtor_3($0) { + $0 = $0 | 0; + std____2__ios_base__Init___Init_28_29(81936); +} + +function vision__HoughSimilarityVoting__getSubBinLocations_28_29_20const($0) { + return $0 + 112 | 0; +} + +function vision__BinaryFeatureStore__setNumBytesPerFeature_28int_29($0, $1) { + HEAP32[$0 >> 2] = $1; +} + +function std____2____wrap_iter_int_20const____operator__28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____libcpp_numeric_limits_unsigned_20short_2c_20true___max_28_29() { + return 65535; +} + +function std____2____libcpp_mutex_lock_28pthread_mutex_t__29($0) { + return __pthread_mutex_lock($0); +} + +function std____2____compressed_pair_elem_wchar_t__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function vision__DoGScaleInvariantDetector__height_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function vision__BinarykMedoids_96___setNumHypotheses_28int_29($0, $1) { + HEAP32[$0 + 8 >> 2] = $1; +} + +function update_offset_to_base_28char_20const__2c_20long_29($0, $1) { + return HEAP32[$0 + $1 >> 2]; +} + +function strchr($0, $1) { + $0 = __strchrnul($0, $1); + return HEAPU8[$0 | 0] == ($1 & 255) ? $0 : 0; +} + +function std____2__vector_int_2c_20std____2__allocator_int______invalidate_all_iterators_28_29($0) {} + +function std____2__messages_char___do_close_28long_29_20const($0, $1) { + $0 = $0 | 0; + $1 = $1 | 0; +} + +function std____2__allocator_vision__Point3d_float____destroy_28vision__Point3d_float___29($0, $1) {} + +function std____2__allocator_vision__Point2d_float____destroy_28vision__Point2d_float___29($0, $1) {} + +function std____2__allocator_vision__FeaturePoint___max_size_28_29_20const($0) { + return 214748364; +} + +function std____2____wrap_iter_wchar_t_20const____base_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____hash_value_type_int_2c_20ARParam_____get_value_28_29_20const($0) { + return $0; +} + +function std____2____hash_value_type_int_2c_20AR2SurfaceSetT______get_value_28_29($0) { + return $0; +} + +function int_20vision__min2_int__28int_2c_20int_29($0, $1) { + return ($0 | 0) < ($1 | 0) ? $0 : $1; +} + +function int_20vision__max2_int__28int_2c_20int_29($0, $1) { + return ($0 | 0) > ($1 | 0) ? $0 : $1; +} + +function icpGetXw2XcCleanup_1($0, $1, $2, $3) { + dlfree($0); + dlfree($1); + dlfree($2); + dlfree($3); +} + +function _embind_register_bindings($0) { + HEAP32[$0 + 4 >> 2] = HEAP32[19599]; + HEAP32[19599] = $0; +} + +function __math_xflowf($0, $1) { + return Math_fround(fp_barrierf($0 ? Math_fround(-$1) : $1) * $1); +} + +function void_20std____2__allocator_int___construct_int__28int__29($0, $1) { + HEAP32[$1 >> 2] = 0; +} + +function std____2____compressed_pair_elem_float__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function multi_marker__20std____2____to_address_multi_marker__28multi_marker__29($0) { + return $0; +} + +function emscripten__internal__BindingType_int_2c_20void___fromWireType_28int_29($0) { + return $0; +} + +function char_20const__20std____2____to_address_char_20const__28char_20const__29($0) { + return $0; +} + +function a_ctz_32($0) { + return HEAP8[(Math_imul(0 - $0 & $0, 124511785) >>> 27 | 0) + 48896 | 0]; +} + +function std____2__pointer_traits_char_20const____pointer_to_28char_20const__29($0) { + return $0; +} + +function std____2__allocator_vision__Node_96_____max_size_28_29_20const($0) { + return 1073741823; +} + +function std____2____compressed_pair_elem_float_2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_char__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function __wasm_ctz_i32($0) { + if ($0) { + return 31 - Math_clz32($0 - 1 ^ $0) | 0; + } + return 32; +} +function __FLOAT_BITS_1($0) { + return wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2); +} + +function NullArrayDeleter_unsigned_20char___operator_28_29_28unsigned_20char__29_20const($0, $1) {} + +function vision__DoGPyramid__numScalePerOctave_28_29_20const($0) { + return HEAP32[$0 + 16 >> 2]; +} + +function std____2__shared_ptr_unsigned_20char___get_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2__allocator_unsigned_20short___max_size_28_29_20const($0) { + return 2147483647; +} + +function std____2____wrap_iter_wchar_t____operator__28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____wrap_iter_char_20const____base_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____shared_weak_count_____shared_weak_count_28_29($0) { + $0 = $0 | 0; + abort(); +} + +function std____2____libcpp_numeric_limits_wchar_t_2c_20true___max_28_29() { + return 2147483647; +} + +function std____2____libcpp_numeric_limits_unsigned_20long_2c_20true___max_28_29() { + return -1; +} + +function std____2____hash_value_type_int_2c_20arController_____get_value_28_29($0) { + return $0; +} + +function std____2____compressed_pair_elem_int__2c_200_2c_20false_____get_28_29($0) { + return $0; +} + +function new_color_map_2_quant($0) { + $0 = $0 | 0; + HEAP32[HEAP32[$0 + 484 >> 2] + 28 >> 2] = 1; +} + +function strnlen($0, $1) { + var $2 = 0; + $2 = memchr($0, 0, $1); + return $2 ? $2 - $0 | 0 : $1; +} + +function std____2__char_traits_wchar_t___length_28wchar_t_20const__29($0) { + return wcslen($0); +} + +function std____2____wrap_iter_int_20const____base_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____time_get_c_storage_wchar_t______time_get_c_storage_28_29($0) { + return $0; +} + +function std____2____libcpp_numeric_limits_unsigned_20int_2c_20true___max_28_29() { + return -1; +} + +function int_20const__20std____2____to_address_int_20const__28int_20const__29($0) { + return $0; +} + +function float_20vision__min2_float__28float_2c_20float_29($0, $1) { + return $0 < $1 ? $0 : $1; +} + +function float_20vision__max2_float__28float_2c_20float_29($0, $1) { + return $0 > $1 ? $0 : $1; +} + +function __FLOAT_BITS($0) { + return wasm2js_scratch_store_f32($0), wasm2js_scratch_load_i32(2); +} + +function vision__DoGScaleInvariantDetector__width_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std__uncaught_exception_28_29() { + return (std__uncaught_exceptions_28_29() | 0) > 0; +} + +function std____2__allocator_vision__match_t___max_size_28_29_20const($0) { + return 536870911; +} + +function std____2____libcpp_numeric_limits_long_2c_20true___min_28_29() { + return -2147483648; +} + +function arMatrixFreef($0) { + if ($0) { + dlfree(HEAP32[$0 >> 2]); + dlfree($0); + } + return 0; +} + +function __ctype_get_mb_cur_max() { + return HEAP32[HEAP32[__get_tp() + 88 >> 2] >> 2] ? 4 : 1; +} + +function vision__PriorityQueueItem_96___dist_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function vision__DoGScaleInvariantDetector__features_28_29_20const($0) { + return $0 + 60 | 0; +} + +function std____2____wrap_iter_char____operator__28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____libcpp_numeric_limits_long_2c_20true___max_28_29() { + return 2147483647; +} + +function double_20emscripten__internal__asGenericValue_int__28int_29($0) { + return +($0 | 0); +} + +function arMatrixFree($0) { + if ($0) { + dlfree(HEAP32[$0 >> 2]); + dlfree($0); + } + return 0; +} + +function std____2__allocator_vision__Image___max_size_28_29_20const($0) { + return 134217727; +} + +function std____2____time_get_c_storage_char______time_get_c_storage_28_29($0) { + return $0; +} + +function std____2____shared_count_____shared_count_28_29($0) { + $0 = $0 | 0; + return $0 | 0; +} + +function std____2____libcpp_numeric_limits_int_2c_20true___max_28_29() { + return 2147483647; +} + +function double_20emscripten__internal__asGenericValue_double__28double_29($0) { + return $0; +} + +function std____2__char_traits_wchar_t___to_char_type_28unsigned_20int_29($0) { + return $0; +} + +function std____2__allocator_multi_marker___max_size_28_29_20const($0) { + return 536870911; +} + +function std____2____wrap_iter_wchar_t____base_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____hash_value_type_int_2c_20ARParam_____get_value_28_29($0) { + return $0; +} + +function char__20std____2____rewrap_iter_char___28char__2c_20char__29($0, $1) { + return $1; +} + +function __cxx_global_array_dtor($0) { + $0 = $0 | 0; + vision__Logger___Logger_28_29(77964); +} + +function vision__GaussianScaleSpacePyramid__images_28_29_20const($0) { + return $0 + 4 | 0; +} + +function __math_uflowf($0) { + return __math_xflowf($0, Math_fround(2524354896707238e-44)); +} + +function __math_oflowf($0) { + return __math_xflowf($0, Math_fround(15845632502852868e13)); +} + +function vision__PriorityQueueItem_96___node_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std__bad_array_new_length__what_28_29_20const($0) { + $0 = $0 | 0; + return 31508; +} + +function std____2__shared_ptr_vision__Keyframe_96______enable_weak_this_28____29($0, $1) {} + +function std____2__char_traits_char___to_char_type_28int_29($0) { + return $0 << 24 >> 24; +} + +function std____2__char_traits_char___length_28char_20const__29($0) { + return strlen($0); +} + +function std____2__allocator_vision__Node_96_____destroy_28vision__Node_96____29($0, $1) {} + +function std____2____libcpp_refstring__c_str_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function kpmHandleGetYSize($0) { + if (!$0) { + return 0; + } + return HEAP32[$0 + 16 >> 2]; +} + +function kpmHandleGetXSize($0) { + if (!$0) { + return 0; + } + return HEAP32[$0 + 12 >> 2]; +} + +function emscripten__internal__LightTypeID_double_20const____get_28_29() { + return 65224; +} + +function vision__BinarykMedoids_96___assignment_28_29_20const($0) { + return $0 + 24 | 0; +} + +function std____2____wrap_iter_char____base_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function std____2____shared_count_____shared_count_28_29_1($0) { + $0 = $0 | 0; + abort(); +} + +function __math_invalidf($0) { + $0 = Math_fround($0 - $0); + return Math_fround($0 / $0); +} + +function vision__BinarykMedoids_96___k_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function std____2__pointer_traits_wchar_t____pointer_to_28wchar_t__29($0) { + return $0; +} + +function std____2__ios_base__precision_28_29_20const($0) { + return HEAP32[$0 + 8 >> 2]; +} + +function std____2__ios_base__ios_base_28_29($0) { + HEAP32[$0 >> 2] = 54032; + return $0; +} + +function std____2__allocator_unsigned_20short___destroy_28unsigned_20short__29($0, $1) {} + +function std____2__allocator_unsigned_20char___max_size_28_29_20const($0) { + return -1; +} + +function std____2____wrap_iter_int____base_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function int__20std____2____rewrap_iter_int___28int__2c_20int__29($0, $1) { + return $1; +} + +function vision__Keyframe_96___setHeight_28int_29($0, $1) { + HEAP32[$0 + 4 >> 2] = $1; +} + +function vision__Keyframe_96___height_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function std____2____throw_overflow_error_28char_20const__29($0) { + abort(); + abort(); +} + +function std____2____libcpp_numeric_limits_char_2c_20true___max_28_29() { + return 127; +} + +function emscripten_longjmp($0, $1) { + setThrew($0, $1); + _emscripten_throw_longjmp(); +} + +function emscripten__internal__LightTypeID_int_20const____get_28_29() { + return 65140; +} + +function arImageProcFinal($0) { + if ($0) { + dlfree(HEAP32[$0 >> 2]); + dlfree($0); + } +} + +function std____2__allocator_vision__match_t___destroy_28vision__match_t__29($0, $1) {} + +function std____2__allocator_unsigned_20char___destroy_28unsigned_20char__29($0, $1) {} + +function std____2__allocator_float___max_size_28_29_20const($0) { + return 1073741823; +} + +function std____2____throw_runtime_error_28char_20const__29($0) { + abort(); + abort(); +} + +function std____2____libcpp_refstring____uses_refcount_28_29_20const($0) { + return 1; +} + +function out($0, $1, $2) { + if (!(HEAPU8[$0 | 0] & 32)) { + __fwritex($1, $2, $0); + } +} + +function init_source($0) { + $0 = $0 | 0; + HEAP32[HEAP32[$0 + 24 >> 2] + 36 >> 2] = 1; +} + +function vision__BinaryFeatureStore__points_28_29_20const($0) { + return $0 + 16 | 0; +} + +function std__exception__exception_28_29($0) { + HEAP32[$0 >> 2] = 65504; + return $0; +} + +function std____2__shared_ptr_unsigned_20char_____enable_weak_this_28____29($0, $1) {} + +function std____2__ios_base__width_28_29_20const($0) { + return HEAP32[$0 + 12 >> 2]; +} + +function std____2__ios_base__rdbuf_28_29_20const($0) { + return HEAP32[$0 + 24 >> 2]; +} + +function std____2__ios_base__good_28_29_20const($0) { + return !HEAP32[$0 + 16 >> 2]; +} + +function operator_20delete_5b_5d_28void__29($0) { + operator_20delete_28void__29($0); +} + +function wchar_t__20std____2____to_address_wchar_t__28wchar_t__29($0) { + return $0; +} + +function std____2__ios_base__flags_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function std____2__hash_int___operator_28_29_28int_29_20const($0, $1) { + return $1; +} + +function std____2__char_traits_wchar_t___to_int_type_28wchar_t_29($0) { + return $0; +} + +function std____2__char_traits_char___to_int_type_28char_29($0) { + return $0 & 255; +} + +function std____2__allocator_int___max_size_28_29_20const($0) { + return 1073741823; +} + +function demangling_terminate_handler_28_29() { + abort_message(31592, 0); + abort(); +} + +function __getTypeName($0) { + $0 = $0 | 0; + return strdup(HEAP32[$0 + 4 >> 2]) | 0; +} + +function vision__PriorityQueueItem_96____PriorityQueueItem_28_29($0) { + return $0; +} + +function vision__Image__channels_28_29_20const($0) { + return HEAP32[$0 + 16 >> 2]; +} + +function vision__GaussianScaleSpacePyramid__images_28_29($0) { + return $0 + 4 | 0; +} + +function vision__BinaryFeatureMatcher_96___matches_28_29_20const($0) { + return $0; +} + +function vfprintf($0, $1, $2) { + return __vfprintf_internal($0, $1, $2, 239, 240); +} + +function std____2____libcpp_clz_28unsigned_20long_29($0) { + return Math_clz32($0); +} + +function isxdigit($0) { + return (isdigit($0) | 0) != 0 | ($0 | 32) - 97 >>> 0 < 6; +} + +function float_20vision__sqr_float__28float_29($0) { + return Math_fround($0 * $0); +} + +function arMultiFreeConfig($0) { + dlfree(HEAP32[$0 >> 2]); + dlfree($0); + return 0; +} + +function vision__Node_96___reverseIndex_28_29_20const($0) { + return $0 + 116 | 0; +} + +function vision__Node_96___leaf_28_29_20const($0) { + return HEAPU8[$0 + 100 | 0]; +} + +function vision__Keyframe_96___width_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function vision__Keyframe_96___setWidth_28int_29($0, $1) { + HEAP32[$0 >> 2] = $1; +} + +function std____2__pointer_traits_char____pointer_to_28char__29($0) { + return $0; +} + +function emscripten_stack_init() { + __stack_base = 5327296; + __stack_end = 84416; +} + +function emscripten_stack_get_free() { + return __stack_pointer - __stack_end | 0; +} + +function wctomb($0, $1) { + if (!$0) { + return 0; + } + return wcrtomb($0, $1, 0); +} + +function std__uncaught_exceptions_28_29() { + return __cxa_uncaught_exceptions(); +} + +function jdiv_round_up($0, $1) { + return (($0 + $1 | 0) - 1 | 0) / ($1 | 0) | 0; +} + +function vision__Image__height_28_29_20const($0) { + return HEAP32[$0 + 8 >> 2]; +} + +function vfiprintf($0, $1, $2) { + return __vfprintf_internal($0, $1, $2, 0, 0); +} + +function strerror($0) { + return __strerror_l($0, HEAP32[__get_tp() + 88 >> 2]); +} + +function std____2__allocator_multi_marker___destroy_28multi_marker__29($0, $1) {} + +function std____2____throw_failure_28char_20const__29($0) { + abort(); + abort(); +} + +function std____2____convert_to_integral_28unsigned_20long_29($0) { + return $0; +} + +function vision__Node_96___leaf_28bool_29($0, $1) { + HEAP8[$0 + 100 | 0] = $1; +} + +function vision__Image__width_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function vision__Image__step_28_29_20const($0) { + return HEAP32[$0 + 12 >> 2]; +} + +function std__type_info__name_28_29_20const($0) { + return HEAP32[$0 + 4 >> 2]; +} + +function std__exception__what_28_29_20const($0) { + $0 = $0 | 0; + return 30967; +} + +function std__bad_alloc__what_28_29_20const($0) { + $0 = $0 | 0; + return 34189; +} + +function std____2__array_char_2c_2021ul___size_28_29_20const($0) { + return 21; +} + +function ar2UtilReplaceExt($0, $1, $2) { + return arUtilReplaceExt($0, $1, $2); +} + +function __cxxabiv1____shim_type_info__noop2_28_29_20const($0) { + $0 = $0 | 0; +} + +function __cxxabiv1____shim_type_info__noop1_28_29_20const($0) { + $0 = $0 | 0; +} + +function vision__Keyframe_96___index_28_29_20const($0) { + return $0 + 36 | 0; +} + +function vision__BinaryFeatureStore__features_28_29($0) { + return $0 + 4 | 0; +} + +function std__exception___exception_28_29($0) { + $0 = $0 | 0; + return $0 | 0; +} + +function norm($0, $1, $2) { + return Math_sqrt($2 * $2 + ($0 * $0 + $1 * $1)); +} + +function float__20std____2____to_address_float__28float__29($0) { + return $0; +} + +function dot($0, $1, $2, $3, $4, $5) { + return $2 * $5 + ($0 * $3 + $1 * $4); +} + +function vsiprintf($0, $1, $2) { + return vsniprintf($0, 2147483647, $1, $2); +} + +function vision__Keyframe_96___store_28_29_20const($0) { + return $0 + 8 | 0; +} + +function vision__BinaryFeatureStore__points_28_29($0) { + return $0 + 16 | 0; +} + +function std____2____money_put_wchar_t_____money_put_28_29($0) { + return $0; +} + +function std____2____money_get_wchar_t_____money_get_28_29($0) { + return $0; +} + +function mbsinit($0) { + if (!$0) { + return 1; + } + return !HEAP32[$0 >> 2]; +} + +function strtoll($0, $1, $2) { + return strtox($0, $1, $2, 0, -2147483648); +} + +function mbrlen($0, $1, $2) { + return mbrtowc(0, $0, $1, $2 ? $2 : 82356); +} + +function char__20std____2____to_address_char__28char__29($0) { + return $0; +} + +function arVecFree($0) { + dlfree(HEAP32[$0 >> 2]); + dlfree($0); + return 0; +} + +function vision__Node_96___reverseIndex_28_29($0) { + return $0 + 116 | 0; +} + +function vision__Image__type_28_29_20const($0) { + return HEAP32[$0 >> 2]; +} + +function strrchr($0, $1) { + return __memrchr($0, $1, strlen($0) + 1 | 0); +} + +function std____2____money_put_char_____money_put_28_29($0) { + return $0; +} + +function std____2____money_get_char_____money_get_28_29($0) { + return $0; +} + +function freelocale($0) { + if (__loc_is_allocated($0)) { + dlfree($0); + } +} + +function emscripten_get_heap_size() { + return __wasm_memory_size() << 16; +} + +function zeroinfnan($0) { + return ($0 << 1) + 16777216 >>> 0 < 16777217; +} + +function vision__FREAKExtractor___FREAKExtractor_28_29($0) { + return $0; +} + +function strcat($0, $1) { + strcpy(strlen($0) + $0 | 0, $1); + return $0; +} + +function std____2__messages_base__messages_base_28_29($0) { + return $0; +} + +function jpeg_destroy_decompress($0) { + $0 = $0 | 0; + jpeg_destroy($0); +} + +function int__20std____2____to_address_int__28int__29($0) { + return $0; +} + +function std____2__array_char_2c_2021ul___data_28_29($0) { + return $0; +} + +function atan2_28float_2c_20float_29($0, $1) { + return atan2f($0, $1); +} + +function ar3DCreateHandle($0) { + return ar3DCreateHandle2($0 + 8 | 0); +} + +function vision__Node_96___children_28_29($0) { + return $0 + 104 | 0; +} + +function std____2__codecvt_base__codecvt_base_28_29($0) { + return $0; +} + +function __wasm_init_memory() { + wasm2js_memory_fill(77936, 0, 6476); +} + +function vision__ScopedTimer__operator_20bool_28_29($0) { + return 1; +} + +function vision__Keyframe_96___store_28_29($0) { + return $0 + 8 | 0; +} + +function vision__FeaturePoint___FeaturePoint_28_29($0) { + return $0; +} + +function std____2____convert_to_integral_28long_29($0) { + return $0; +} + +function fseek($0, $1, $2) { + return __fseeko($0, $1, $1 >> 31, $2); +} + +function floor_28float_29($0) { + return Math_fround(Math_floor($0)); +} + +function arPattCreateHandle() { + return arPattCreateHandle2(16, 50); +} + +function vision__DoGPyramid__images_28_29_20const($0) { + return $0; +} + +function strtoull($0, $1, $2) { + return strtox($0, $1, $2, -1, -1); +} + +function __cxa_pure_virtual() { + abort_message(38042, 0); + abort(); +} + +function strncpy($0, $1, $2) { + __stpncpy($0, $1, $2); + return $0; +} + +function std____2__char_traits_wchar_t___eof_28_29() { + return -1; +} + +function sqrt_28float_29($0) { + return Math_fround(Math_sqrt($0)); +} + +function pow_28float_2c_20float_29($0, $1) { + return powf($0, $1); +} + +function jcopy_block_row($0, $1, $2) { + __memcpy($1, $0, $2 << 7); +} + +function ceil_28float_29($0) { + return Math_fround(Math_ceil($0)); +} + +function std____2__tuple___20std____2__forward_as_tuple___28_29() {} +function std____2__money_base__money_base_28_29($0) { + return $0; +} + +function std____2__ctype_base__ctype_base_28_29($0) { + return $0; +} + +function std____2__allocator_float___destroy_28float__29($0, $1) {} + +function std____2____throw_bad_cast_28_29() { + abort(); + abort(); +} + +function srand($0) { + HEAP32[19664] = $0 - 1; + HEAP32[19665] = 0; +} + +function isspace($0) { + return ($0 | 0) == 32 | $0 - 9 >>> 0 < 5; +} + +function __emscripten_stdout_close($0) { + $0 = $0 | 0; + return 0; +} + +function std____2__ios_base__Init___Init_28_29($0) { + return $0; +} + +function stackRestore($0) { + $0 = $0 | 0; + __stack_pointer = $0; +} + +function emscripten_stack_get_base() { + return __stack_base | 0; +} + +function abs_28float_29($0) { + return Math_fround(Math_abs($0)); +} + +function std____2__char_traits_char___eof_28_29() { + return -1; +} + +function icpGetXw2XcCleanup($0, $1) { + dlfree($0); + dlfree($1); +} + +function std____2____do_nothing_28void__29($0) { + $0 = $0 | 0; +} + +function emscripten_stack_get_end() { + return __stack_end | 0; +} + +function std____throw_bad_alloc_28_29() { + abort(); + abort(); +} + +function std____2__allocator_int___destroy_28int__29($0, $1) {} + +function setLogLevel($0) { + $0 = $0 | 0; + HEAP32[18566] = $0; +} + +function ar2UtilRemoveExt($0) { + return arUtilRemoveExt($0); +} + +function __lctrans($0, $1) { + return __lctrans_impl($0, $1); +} + +function std__type_info___type_info_28_29($0) { + return $0; +} + +function createKpmHandle($0) { + return kpmCreateHandle($0); +} + +function threadGetArg($0) { + return HEAP32[$0 + 136 >> 2]; +} + +function localtime($0) { + return __localtime_r($0, 78488); +} + +function dummy_consume_data($0) { + $0 = $0 | 0; + return 0; +} + +function _GLOBAL__I_000100() { + __cxx_global_var_init_2(); +} + +function pthread_attr_setdetachstate($0, $1) { + return 0; +} + +function jpeg_mem_available($0, $1, $2, $3) { + return $2; +} + +function strcpy($0, $1) { + __stpcpy($0, $1); + return $0; +} + +function setTempRet0($0) { + $0 = $0 | 0; + tempRet0 = $0; +} + +function operator_20delete_28void__29($0) { + dlfree($0); +} + +function __pthread_self_internal() { + return __get_tp(); +} + +function strtof_l($0, $1, $2) { + return strtof($0, $1); +} + +function strtod_l($0, $1, $2) { + return strtod($0, $1); +} + +function jpeg_get_small($0, $1) { + return dlmalloc($1); +} + +function jpeg_get_large($0, $1) { + return dlmalloc($1); +} + +function fabsf($0) { + return Math_fround(Math_abs($0)); +} + +function vision__Timer___Timer_28_29($0) { + return $0; +} + +function __pthread_create($0, $1, $2, $3) { + return 6; +} + +function __ofl_lock() { + __lock(78532); + return 78536; +} + +function __isxdigit_l($0, $1) { + return isxdigit($0); +} + +function emscripten_num_logical_cores() { + return 1; +} + +function abort_message($0, $1) { + abort(); + abort(); +} + +function tzset() { + _tzset_js(78412, 78416, 78420); +} + +function threadGetID($0) { + return HEAP32[$0 >> 2]; +} + +function stackSave() { + return __stack_pointer | 0; +} + +function jpeg_free_small($0, $1, $2) { + dlfree($1); +} + +function jpeg_free_large($0, $1, $2) { + dlfree($1); +} + +function emscripten_futex_wake($0, $1) { + return 0; +} + +function __isdigit_l($0, $1) { + return isdigit($0); +} + +function isdigit($0) { + return $0 - 48 >>> 0 < 10; +} + +function __builtin_ctz($0) { + return a_ctz_32($0); +} + +function __cxa_uncaught_exceptions() { + return 0; +} + +function pthread_mutex_init($0, $1) { + return 0; +} + +function pthread_cond_broadcast($0) { + return 0; +} + +function finish_pass_1_quant($0) { + $0 = $0 | 0; +} + +function __pthread_mutex_unlock($0) { + return 0; +} + +function sin_28float_29($0) { + return sinf($0); +} + +function pthread_mutex_destroy($0) { + return 0; +} + +function pthread_cond_wait($0, $1) { + return 0; +} + +function pthread_cond_init($0, $1) { + return 0; +} + +function log_28float_29($0) { + return logf($0); +} + +function getpid() { + return __syscall_getpid(); +} + +function getLogLevel() { + return HEAP32[18566]; +} + +function cos_28float_29($0) { + return cosf($0); +} + +function __ctype_toupper_loc() { + return 54664; +} + +function __ctype_tolower_loc() { + return 56208; +} + +function threadGetCPU() { + return sysconf(84); +} + +function start_pass_dcolor($0) { + $0 = $0 | 0; +} + +function pthread_cond_destroy($0) { + return 0; +} + +function pthread_attr_destroy($0) { + return 0; +} + +function getTempRet0() { + return tempRet0 | 0; +} + +function __pthread_mutex_lock($0) { + return 0; +} + +function __cxa_atexit($0, $1, $2) { + return 0; +} + +function pthread_cond_signal($0) { + return 0; +} + +function floor($0) { + return Math_floor($0); +} + +function __errno_location() { + return 78408; +} + +function pthread_attr_init($0) { + return 0; +} + +function __ofl_unlock() { + __unlock(78532); +} + +function sqrt($0) { + return Math_sqrt($0); +} + +function __fe_raise_inexact() { + return 0; +} + +function finish_pass2($0) { + $0 = $0 | 0; +} + +function fabs($0) { + return Math_abs($0); +} + +function __syscall_getpid() { + return 42; +} + +function term_source($0) { + $0 = $0 | 0; +} + +function finish_pass($0) { + $0 = $0 | 0; +} + +function jpeg_mem_init($0) { + return 0; +} + +function __fe_getround() { + return 0; +} + +function __lockfile($0) { + return 1; +} + +function __get_tp() { + return 78540; +} + +function dummy_1($0) { + return $0; +} + +function jpeg_mem_term($0) {} + +function __unlockfile($0) {} + +function __unlock($0) {} + +function __lock($0) {} + +function dummy($0) {} + + +// EMSCRIPTEN_END_FUNCS + +; + bufferView = HEAPU8; + initActiveSegments(env); + var FUNCTION_TABLE = Table([null, compE, ar2Tracking2d, jpeg_std_error, my_error_exit, jpeg_destroy_decompress, arLog, jpeg_CreateDecompress, jpeg_stdio_src, jpeg_read_header, jpeg_start_decompress, jpeg_finish_decompress, jpeg_read_scanlines, compE_1, std__logic_error___logic_error_28_29, std__exception___exception_28_29, std____2__basic_ostream_char_2c_20std____2__char_traits_char____20std____2__endl_char_2c_20std____2__char_traits_char___28std____2__basic_ostream_char_2c_20std____2__char_traits_char____29, vision__Exception___Exception_28_29, __cxx_global_array_dtor, vision__GaussianScaleSpacePyramid___GaussianScaleSpacePyramid_28_29, vision__GaussianScaleSpacePyramid___GaussianScaleSpacePyramid_28_29_1, vision__BinomialPyramid32f___BinomialPyramid32f_28_29, vision__BinomialPyramid32f___BinomialPyramid32f_28_29_1, vision__Exception___Exception_28_29_1, vision__Exception__what_28_29_20const, std____2____shared_count_____shared_count_28_29, std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96________shared_ptr_pointer_28_29, std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_______on_zero_shared_28_29, std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_______get_deleter_28std__type_info_20const__29_20const, std____2____shared_ptr_pointer_vision__Keyframe_96___2c_20std____2__shared_ptr_vision__Keyframe_96______shared_ptr_default_delete_vision__Keyframe_96__2c_20vision__Keyframe_96___2c_20std____2__allocator_vision__Keyframe_96_______on_zero_shared_weak_28_29, std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char_______shared_ptr_pointer_28_29, std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char______on_zero_shared_28_29, std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char______get_deleter_28std__type_info_20const__29_20const, std____2____shared_ptr_pointer_unsigned_20char__2c_20NullArrayDeleter_unsigned_20char__2c_20std____2__allocator_unsigned_20char______on_zero_shared_weak_28_29, std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char_______shared_ptr_pointer_28_29, std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char______on_zero_shared_28_29, std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char______get_deleter_28std__type_info_20const__29_20const, std____2____shared_ptr_pointer_unsigned_20char__2c_20std____2__shared_ptr_unsigned_20char_____shared_ptr_default_delete_unsigned_20char_2c_20unsigned_20char__2c_20std____2__allocator_unsigned_20char______on_zero_shared_weak_28_29, trackingInitMain, __cxx_global_array_dtor_1, __cxx_global_array_dtor_2, embind_init_constant_bindings_28_29, setup, teardown, setupAR2, setupAR2Threads, addMarker, addMultiMarker, addNFTMarker, getMultiMarkerNum, getMultiMarkerCount, loadCamera, setMarkerInfoDir, setMarkerInfoVertex, getTransMatSquare, getTransMatSquareCont, getTransMatMultiSquare, getTransMatMultiSquareRobust, detectMarker, getMarkerNum, detectNFTMarker, getMultiEachMarkerInfo, getMarkerInfo, getNFTMarkerInfo, setDebugMode, getDebugMode, getProcessingImage, setLogLevel, getLogLevel, setProjectionNearPlane, getProjectionNearPlane, setProjectionFarPlane, getProjectionFarPlane, setThresholdMode, getThresholdMode, setThreshold, getThreshold, setPatternDetectionMode, getPatternDetectionMode, setPattRatio, getPattRatio, setMatrixCodeType, getMatrixCodeType, setLabelingMode, getLabelingMode, setImageProcMode, getImageProcMode, emscripten__internal__Invoker_int_2c_20int_2c_20int_2c_20int___invoke_28int_20_28__29_28int_2c_20int_2c_20int_29_2c_20int_2c_20int_2c_20int_29, emscripten__internal__Invoker_int_2c_20int___invoke_28int_20_28__29_28int_29_2c_20int_29, emscripten__internal__Invoker_int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____invoke_28int_20_28__29_28int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___29_2c_20int_2c_20emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void____unnamed___29, emscripten__internal__Invoker_int_2c_20int_2c_20int___invoke_28int_20_28__29_28int_2c_20int_29_2c_20int_2c_20int_29, emscripten__internal__Invoker_int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char_____invoke_28int_20_28__29_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___29_2c_20emscripten__internal__BindingType_std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___2c_20void____unnamed___29, emscripten__internal__Invoker_void_2c_20int___invoke_28void_20_28__29_28int_29_2c_20int_29, emscripten__internal__Invoker_int___invoke_28int_20_28__29_28_29_29, emscripten__internal__Invoker_void_2c_20int_2c_20double___invoke_28void_20_28__29_28int_2c_20double_29_2c_20int_2c_20double_29, emscripten__internal__Invoker_double_2c_20int___invoke_28double_20_28__29_28int_29_2c_20int_29, emscripten__internal__Invoker_void_2c_20int_2c_20int___invoke_28void_20_28__29_28int_2c_20int_29_2c_20int_2c_20int_29, emscripten__internal__Invoker_void_2c_20int_2c_20float___invoke_28void_20_28__29_28int_2c_20float_29_2c_20int_2c_20float_29, term_source, jpeg_resync_to_restart, skip_input_data, fill_input_buffer, init_source, finish_input_pass, start_input_pass, reset_input_controller, consume_markers, skip_variable, read_restart_marker, read_markers, reset_marker_reader, get_interesting_appn, start_pass_dcolor, grayscale_convert, rgb_gray_convert, rgb1_gray_convert, gray_rgb_convert, ycc_rgb_convert, rgb_convert, rgb1_rgb_convert, ycck_cmyk_convert, null_convert, start_pass, jpeg_idct_1x1, jpeg_idct_2x2, jpeg_idct_3x3, jpeg_idct_4x4, jpeg_idct_5x5, jpeg_idct_6x6, jpeg_idct_7x7, jpeg_idct_10x10, jpeg_idct_11x11, jpeg_idct_12x12, jpeg_idct_13x13, jpeg_idct_14x14, jpeg_idct_15x15, jpeg_idct_16x16, jpeg_idct_16x8, jpeg_idct_14x7, jpeg_idct_12x6, jpeg_idct_10x5, jpeg_idct_8x4, jpeg_idct_6x3, jpeg_idct_4x2, jpeg_idct_2x1, jpeg_idct_8x16, jpeg_idct_7x14, jpeg_idct_6x12, jpeg_idct_5x10, jpeg_idct_4x8, jpeg_idct_3x6, jpeg_idct_2x4, jpeg_idct_1x2, jpeg_idct_9x9, jpeg_idct_islow, jpeg_idct_ifast, jpeg_idct_float, finish_pass, start_pass_1, decode_mcu_DC_first, decode_mcu_AC_first, decode_mcu_DC_refine, decode_mcu_AC_refine, decode_mcu, finish_pass_huff, start_pass_huff_decoder, decode_mcu_AC_refine_1, decode_mcu_DC_refine_1, decode_mcu_AC_first_1, decode_mcu_DC_first_1, decode_mcu_1, decode_mcu_sub, start_output_pass, start_input_pass_1, decompress_data, consume_data, decompress_onepass, dummy_consume_data, decompress_smooth_data, start_pass_main, process_data_context_main, process_data_simple_main, process_data_crank_post, finish_output_pass, prepare_for_output_pass, start_pass_merged_upsample, h2v2_merged_upsample, merged_2v_upsample, h2v1_merged_upsample, merged_1v_upsample, start_pass_dpost, post_process_1pass, post_process_prepass, post_process_2pass, sep_upsample, start_pass_upsample, noop_upsample, fullsize_upsample, h2v1_upsample, h2v2_upsample, int_upsample, reset_error_mgr, format_message, output_message, emit_message, error_exit, self_destruct, free_pool, access_virt_barray, access_virt_sarray, realize_virt_arrays, request_virt_barray, request_virt_sarray, alloc_barray, alloc_sarray, alloc_large, alloc_small, new_color_map_1_quant, finish_pass_1_quant, start_pass_1_quant, color_quantize3, color_quantize, quantize3_ord_dither, quantize_ord_dither, quantize_fs_dither, new_color_map_2_quant, start_pass_2_quant, pass2_no_dither, pass2_fs_dither, finish_pass2, finish_pass1, prescan_quantize, embind_init_builtin_28_29, __stdio_seek, __stdio_write, __stdio_read, __stdio_close, __emscripten_stdout_close, __emscripten_stdout_seek, fmt_fp, pop_arg_long_double, sn_write, string_read, std____2__basic_streambuf_char_2c_20std____2__char_traits_char_____basic_streambuf_28_29, std____2__basic_streambuf_char_2c_20std____2__char_traits_char_____basic_streambuf_28_29_1, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____imbue_28std____2__locale_20const__29, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____setbuf_28char__2c_20long_29, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____seekoff_28long_20long_2c_20std____2__ios_base__seekdir_2c_20unsigned_20int_29, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____seekpos_28std____2__fpos___mbstate_t__2c_20unsigned_20int_29, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____sync_28_29, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____showmanyc_28_29, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____xsgetn_28char__2c_20long_29, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____underflow_28_29, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____uflow_28_29, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____pbackfail_28int_29, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____xsputn_28char_20const__2c_20long_29, std____2__basic_streambuf_char_2c_20std____2__char_traits_char____overflow_28int_29, std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29_1, std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29_2, virtual_20thunk_20to_20std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29, virtual_20thunk_20to_20std____2__basic_istream_char_2c_20std____2__char_traits_char_____basic_istream_28_29_1, std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29_1, std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29_2, virtual_20thunk_20to_20std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29, virtual_20thunk_20to_20std____2__basic_ostream_char_2c_20std____2__char_traits_char_____basic_ostream_28_29_1, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_streambuf_28_29, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_streambuf_28_29_1, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____imbue_28std____2__locale_20const__29, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____setbuf_28wchar_t__2c_20long_29, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____seekoff_28long_20long_2c_20std____2__ios_base__seekdir_2c_20unsigned_20int_29, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____seekpos_28std____2__fpos___mbstate_t__2c_20unsigned_20int_29, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____sync_28_29, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____showmanyc_28_29, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____xsgetn_28wchar_t__2c_20long_29, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____underflow_28_29, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____uflow_28_29, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____pbackfail_28unsigned_20int_29, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____xsputn_28wchar_t_20const__2c_20long_29, std____2__basic_streambuf_wchar_t_2c_20std____2__char_traits_wchar_t____overflow_28unsigned_20int_29, std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29_1, std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29_2, virtual_20thunk_20to_20std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29, virtual_20thunk_20to_20std____2__basic_istream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_istream_28_29_1, std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29_1, std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29_2, virtual_20thunk_20to_20std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29, virtual_20thunk_20to_20std____2__basic_ostream_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ostream_28_29_1, std____2__basic_ios_char_2c_20std____2__char_traits_char_____basic_ios_28_29, std____2__basic_ios_char_2c_20std____2__char_traits_char_____basic_ios_28_29_1, std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ios_28_29, std____2__basic_ios_wchar_t_2c_20std____2__char_traits_wchar_t_____basic_ios_28_29_1, std____2__ios_base___ios_base_28_29, std____2__ios_base___ios_base_28_29_1, __cxx_global_array_dtor_3, __cxx_global_array_dtor_1_1, std____2____stdinbuf_char______stdinbuf_28_29, std____2____stdinbuf_char___imbue_28std____2__locale_20const__29, std____2____stdinbuf_char___underflow_28_29, std____2____stdinbuf_char___uflow_28_29, std____2____stdinbuf_char___pbackfail_28int_29, std____2____stdoutbuf_char______stdoutbuf_28_29, std____2____stdoutbuf_char___imbue_28std____2__locale_20const__29, std____2____stdoutbuf_char___sync_28_29, std____2____stdoutbuf_char___xsputn_28char_20const__2c_20long_29, std____2____stdoutbuf_char___overflow_28int_29, std____2____stdinbuf_wchar_t______stdinbuf_28_29, std____2____stdinbuf_wchar_t___imbue_28std____2__locale_20const__29, std____2____stdinbuf_wchar_t___underflow_28_29, std____2____stdinbuf_wchar_t___uflow_28_29, std____2____stdinbuf_wchar_t___pbackfail_28unsigned_20int_29, std____2____stdoutbuf_wchar_t______stdoutbuf_28_29, std____2____stdoutbuf_wchar_t___imbue_28std____2__locale_20const__29, std____2____stdoutbuf_wchar_t___sync_28_29, std____2____stdoutbuf_wchar_t___xsputn_28wchar_t_20const__2c_20long_29, std____2____stdoutbuf_wchar_t___overflow_28unsigned_20int_29, dlfree, std____2____do_nothing_28void__29, std____2__locale__id____init_28_29, void_20std____2____call_once_proxy_std____2__tuple_std____2___28anonymous_20namespace_29____fake_bind_____28void__29, __cxx_global_array_dtor_55, __cxx_global_array_dtor_70, __cxx_global_array_dtor_85, __cxx_global_array_dtor_109, __cxx_global_array_dtor_133, __cxx_global_array_dtor_136, __cxx_global_array_dtor_4, __cxx_global_array_dtor_32, __cxx_global_array_dtor_34, __cxx_global_array_dtor_36, __cxx_global_array_dtor_38, __cxx_global_array_dtor_40, __cxx_global_array_dtor_42, __cxx_global_array_dtor_44, std____2__locale____imp_____imp_28_29, std____2__locale____imp_____imp_28_29_1, std____2__locale__facet____on_zero_shared_28_29, std____2__ctype_char____ctype_28_29, std____2__ctype_char____ctype_28_29_1, std____2__ctype_char___do_toupper_28char_29_20const, std____2__ctype_char___do_toupper_28char__2c_20char_20const__29_20const, std____2__ctype_char___do_tolower_28char_29_20const, std____2__ctype_char___do_tolower_28char__2c_20char_20const__29_20const, std____2__ctype_char___do_widen_28char_29_20const, std____2__ctype_char___do_widen_28char_20const__2c_20char_20const__2c_20char__29_20const, std____2__ctype_char___do_narrow_28char_2c_20char_29_20const, std____2__ctype_char___do_narrow_28char_20const__2c_20char_20const__2c_20char_2c_20char__29_20const, std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t____codecvt_28_29, std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t____codecvt_28_29_1, std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_out_28__mbstate_t__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const___2c_20char__2c_20char__2c_20char___29_20const, std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_in_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20wchar_t__2c_20wchar_t__2c_20wchar_t___29_20const, std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_unshift_28__mbstate_t__2c_20char__2c_20char__2c_20char___29_20const, std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_encoding_28_29_20const, std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_always_noconv_28_29_20const, std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_length_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20unsigned_20long_29_20const, std____2__codecvt_wchar_t_2c_20char_2c_20__mbstate_t___do_max_length_28_29_20const, std____2__numpunct_char____numpunct_28_29, std____2__numpunct_char____numpunct_28_29_1, std____2__numpunct_char___do_decimal_point_28_29_20const, std____2__numpunct_char___do_thousands_sep_28_29_20const, std____2__numpunct_char___do_grouping_28_29_20const, std____2__numpunct_char___do_truename_28_29_20const, std____2__numpunct_char___do_falsename_28_29_20const, std____2__numpunct_wchar_t____numpunct_28_29, std____2__numpunct_wchar_t____numpunct_28_29_1, std____2__numpunct_wchar_t___do_decimal_point_28_29_20const, std____2__numpunct_wchar_t___do_thousands_sep_28_29_20const, std____2__numpunct_wchar_t___do_grouping_28_29_20const, std____2__numpunct_wchar_t___do_truename_28_29_20const, std____2__numpunct_wchar_t___do_falsename_28_29_20const, std____2__locale__facet___facet_28_29, std____2__locale__facet___facet_28_29_1, std____2__ctype_wchar_t____ctype_28_29, std____2__ctype_wchar_t___do_is_28unsigned_20long_2c_20wchar_t_29_20const, std____2__ctype_wchar_t___do_is_28wchar_t_20const__2c_20wchar_t_20const__2c_20unsigned_20long__29_20const, std____2__ctype_wchar_t___do_scan_is_28unsigned_20long_2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const, std____2__ctype_wchar_t___do_scan_not_28unsigned_20long_2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const, std____2__ctype_wchar_t___do_toupper_28wchar_t_29_20const, std____2__ctype_wchar_t___do_toupper_28wchar_t__2c_20wchar_t_20const__29_20const, std____2__ctype_wchar_t___do_tolower_28wchar_t_29_20const, std____2__ctype_wchar_t___do_tolower_28wchar_t__2c_20wchar_t_20const__29_20const, std____2__ctype_wchar_t___do_widen_28char_29_20const, std____2__ctype_wchar_t___do_widen_28char_20const__2c_20char_20const__2c_20wchar_t__29_20const, std____2__ctype_wchar_t___do_narrow_28wchar_t_2c_20char_29_20const, std____2__ctype_wchar_t___do_narrow_28wchar_t_20const__2c_20wchar_t_20const__2c_20char_2c_20char__29_20const, std____2__codecvt_char_2c_20char_2c_20__mbstate_t____codecvt_28_29, std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_out_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char__2c_20char__2c_20char___29_20const, std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_in_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char__2c_20char__2c_20char___29_20const, std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_unshift_28__mbstate_t__2c_20char__2c_20char__2c_20char___29_20const, std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_encoding_28_29_20const, std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_always_noconv_28_29_20const, std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_length_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20unsigned_20long_29_20const, std____2__codecvt_char_2c_20char_2c_20__mbstate_t___do_max_length_28_29_20const, std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t____codecvt_28_29, std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_out_28__mbstate_t__2c_20char16_t_20const__2c_20char16_t_20const__2c_20char16_t_20const___2c_20char__2c_20char__2c_20char___29_20const, std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_in_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char16_t__2c_20char16_t__2c_20char16_t___29_20const, std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_unshift_28__mbstate_t__2c_20char__2c_20char__2c_20char___29_20const, std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_encoding_28_29_20const, std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_always_noconv_28_29_20const, std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_length_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20unsigned_20long_29_20const, std____2__codecvt_char16_t_2c_20char_2c_20__mbstate_t___do_max_length_28_29_20const, std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t____codecvt_28_29, std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_out_28__mbstate_t__2c_20char16_t_20const__2c_20char16_t_20const__2c_20char16_t_20const___2c_20char8_t__2c_20char8_t__2c_20char8_t___29_20const, std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_in_28__mbstate_t__2c_20char8_t_20const__2c_20char8_t_20const__2c_20char8_t_20const___2c_20char16_t__2c_20char16_t__2c_20char16_t___29_20const, std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_unshift_28__mbstate_t__2c_20char8_t__2c_20char8_t__2c_20char8_t___29_20const, std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_encoding_28_29_20const, std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_always_noconv_28_29_20const, std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_length_28__mbstate_t__2c_20char8_t_20const__2c_20char8_t_20const__2c_20unsigned_20long_29_20const, std____2__codecvt_char16_t_2c_20char8_t_2c_20__mbstate_t___do_max_length_28_29_20const, std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t____codecvt_28_29, std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_out_28__mbstate_t__2c_20char32_t_20const__2c_20char32_t_20const__2c_20char32_t_20const___2c_20char__2c_20char__2c_20char___29_20const, std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_in_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20char_20const___2c_20char32_t__2c_20char32_t__2c_20char32_t___29_20const, std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_unshift_28__mbstate_t__2c_20char__2c_20char__2c_20char___29_20const, std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_encoding_28_29_20const, std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_always_noconv_28_29_20const, std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_length_28__mbstate_t__2c_20char_20const__2c_20char_20const__2c_20unsigned_20long_29_20const, std____2__codecvt_char32_t_2c_20char_2c_20__mbstate_t___do_max_length_28_29_20const, std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t____codecvt_28_29, std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_out_28__mbstate_t__2c_20char32_t_20const__2c_20char32_t_20const__2c_20char32_t_20const___2c_20char8_t__2c_20char8_t__2c_20char8_t___29_20const, std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_in_28__mbstate_t__2c_20char8_t_20const__2c_20char8_t_20const__2c_20char8_t_20const___2c_20char32_t__2c_20char32_t__2c_20char32_t___29_20const, std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_unshift_28__mbstate_t__2c_20char8_t__2c_20char8_t__2c_20char8_t___29_20const, std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_encoding_28_29_20const, std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_always_noconv_28_29_20const, std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_length_28__mbstate_t__2c_20char8_t_20const__2c_20char8_t_20const__2c_20unsigned_20long_29_20const, std____2__codecvt_char32_t_2c_20char8_t_2c_20__mbstate_t___do_max_length_28_29_20const, std____2__collate_char____collate_28_29, std____2__collate_char____collate_28_29_1, std____2__collate_char___do_compare_28char_20const__2c_20char_20const__2c_20char_20const__2c_20char_20const__29_20const, std____2__collate_char___do_transform_28char_20const__2c_20char_20const__29_20const, std____2__collate_char___do_hash_28char_20const__2c_20char_20const__29_20const, std____2__collate_wchar_t____collate_28_29, std____2__collate_wchar_t____collate_28_29_1, std____2__collate_wchar_t___do_compare_28wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__2c_20wchar_t_20const__29_20const, std____2__collate_wchar_t___do_transform_28wchar_t_20const__2c_20wchar_t_20const__29_20const, std____2__collate_wchar_t___do_hash_28wchar_t_20const__2c_20wchar_t_20const__29_20const, std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______num_get_28_29, std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20bool__29_20const, std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long__29_20const, std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20long__29_20const, std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20short__29_20const, std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20int__29_20const, std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long__29_20const, std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long_20long__29_20const, std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20float__29_20const, std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20double__29_20const, std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20double__29_20const, std____2__num_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20void___29_20const, std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______num_get_28_29, std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20bool__29_20const, std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long__29_20const, std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20long__29_20const, std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20short__29_20const, std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20int__29_20const, std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long__29_20const, std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20unsigned_20long_20long__29_20const, std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20float__29_20const, std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20double__29_20const, std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20double__29_20const, std____2__num_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20void___29_20const, std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char______num_put_28_29, std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20bool_29_20const, std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_29_20const, std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_20long_29_20const, std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20unsigned_20long_29_20const, std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20unsigned_20long_20long_29_20const, std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20double_29_20const, std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20long_20double_29_20const, std____2__num_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20void_20const__29_20const, std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______num_put_28_29, std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20bool_29_20const, std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20long_29_20const, std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20long_20long_29_20const, std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20unsigned_20long_29_20const, std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20unsigned_20long_20long_29_20const, std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20double_29_20const, std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20long_20double_29_20const, std____2__num_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20void_20const__29_20const, std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______time_get_28_29, std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______time_get_28_29_1, std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_date_order_28_29_20const, std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_time_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const, std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_date_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const, std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_weekday_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const, std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_monthname_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const, std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_year_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const, std____2__time_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_2c_20char_29_20const, std____2____time_get_c_storage_char_____weeks_28_29_20const, std____2____time_get_c_storage_char_____months_28_29_20const, std____2____time_get_c_storage_char_____am_pm_28_29_20const, std____2____time_get_c_storage_char_____c_28_29_20const, std____2____time_get_c_storage_char_____r_28_29_20const, std____2____time_get_c_storage_char_____x_28_29_20const, std____2____time_get_c_storage_char_____X_28_29_20const, std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______time_get_28_29, std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______time_get_28_29_1, std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_date_order_28_29_20const, std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_time_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const, std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_date_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const, std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_weekday_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const, std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_monthname_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const, std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_year_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__29_20const, std____2__time_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20unsigned_20int__2c_20tm__2c_20char_2c_20char_29_20const, std____2____time_get_c_storage_wchar_t_____weeks_28_29_20const, std____2____time_get_c_storage_wchar_t_____months_28_29_20const, std____2____time_get_c_storage_wchar_t_____am_pm_28_29_20const, std____2____time_get_c_storage_wchar_t_____c_28_29_20const, std____2____time_get_c_storage_wchar_t_____r_28_29_20const, std____2____time_get_c_storage_wchar_t_____x_28_29_20const, std____2____time_get_c_storage_wchar_t_____X_28_29_20const, std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char______time_put_28_29_1, std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char______time_put_28_29, std____2__time_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__ios_base__2c_20char_2c_20tm_20const__2c_20char_2c_20char_29_20const, std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______time_put_28_29_1, std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______time_put_28_29, std____2__time_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__ios_base__2c_20wchar_t_2c_20tm_20const__2c_20char_2c_20char_29_20const, std____2__moneypunct_char_2c_20false____moneypunct_28_29, std____2__moneypunct_char_2c_20false___do_decimal_point_28_29_20const, std____2__moneypunct_char_2c_20false___do_thousands_sep_28_29_20const, std____2__moneypunct_char_2c_20false___do_grouping_28_29_20const, std____2__moneypunct_char_2c_20false___do_curr_symbol_28_29_20const, std____2__moneypunct_char_2c_20false___do_positive_sign_28_29_20const, std____2__moneypunct_char_2c_20false___do_negative_sign_28_29_20const, std____2__moneypunct_char_2c_20false___do_frac_digits_28_29_20const, std____2__moneypunct_char_2c_20false___do_pos_format_28_29_20const, std____2__moneypunct_char_2c_20false___do_neg_format_28_29_20const, std____2__moneypunct_char_2c_20true____moneypunct_28_29, std____2__moneypunct_char_2c_20true___do_decimal_point_28_29_20const, std____2__moneypunct_char_2c_20true___do_thousands_sep_28_29_20const, std____2__moneypunct_char_2c_20true___do_grouping_28_29_20const, std____2__moneypunct_char_2c_20true___do_curr_symbol_28_29_20const, std____2__moneypunct_char_2c_20true___do_positive_sign_28_29_20const, std____2__moneypunct_char_2c_20true___do_negative_sign_28_29_20const, std____2__moneypunct_char_2c_20true___do_frac_digits_28_29_20const, std____2__moneypunct_char_2c_20true___do_pos_format_28_29_20const, std____2__moneypunct_char_2c_20true___do_neg_format_28_29_20const, std____2__moneypunct_wchar_t_2c_20false____moneypunct_28_29, std____2__moneypunct_wchar_t_2c_20false___do_decimal_point_28_29_20const, std____2__moneypunct_wchar_t_2c_20false___do_thousands_sep_28_29_20const, std____2__moneypunct_wchar_t_2c_20false___do_grouping_28_29_20const, std____2__moneypunct_wchar_t_2c_20false___do_curr_symbol_28_29_20const, std____2__moneypunct_wchar_t_2c_20false___do_positive_sign_28_29_20const, std____2__moneypunct_wchar_t_2c_20false___do_negative_sign_28_29_20const, std____2__moneypunct_wchar_t_2c_20false___do_frac_digits_28_29_20const, std____2__moneypunct_wchar_t_2c_20false___do_pos_format_28_29_20const, std____2__moneypunct_wchar_t_2c_20false___do_neg_format_28_29_20const, std____2__moneypunct_wchar_t_2c_20true____moneypunct_28_29, std____2__moneypunct_wchar_t_2c_20true___do_decimal_point_28_29_20const, std____2__moneypunct_wchar_t_2c_20true___do_thousands_sep_28_29_20const, std____2__moneypunct_wchar_t_2c_20true___do_grouping_28_29_20const, std____2__moneypunct_wchar_t_2c_20true___do_curr_symbol_28_29_20const, std____2__moneypunct_wchar_t_2c_20true___do_positive_sign_28_29_20const, std____2__moneypunct_wchar_t_2c_20true___do_negative_sign_28_29_20const, std____2__moneypunct_wchar_t_2c_20true___do_frac_digits_28_29_20const, std____2__moneypunct_wchar_t_2c_20true___do_pos_format_28_29_20const, std____2__moneypunct_wchar_t_2c_20true___do_neg_format_28_29_20const, std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char______money_get_28_29, std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20bool_2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20double__29_20const, std____2__money_get_char_2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char_____do_get_28std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20std____2__istreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20bool_2c_20std____2__ios_base__2c_20unsigned_20int__2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char____29_20const, std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______money_get_28_29, std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20bool_2c_20std____2__ios_base__2c_20unsigned_20int__2c_20long_20double__29_20const, std____2__money_get_wchar_t_2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_get_28std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20std____2__istreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20bool_2c_20std____2__ios_base__2c_20unsigned_20int__2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t____29_20const, std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char______money_put_28_29, std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20bool_2c_20std____2__ios_base__2c_20char_2c_20long_20double_29_20const, std____2__money_put_char_2c_20std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char_____do_put_28std____2__ostreambuf_iterator_char_2c_20std____2__char_traits_char___2c_20bool_2c_20std____2__ios_base__2c_20char_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29_20const, std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t______money_put_28_29, std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20bool_2c_20std____2__ios_base__2c_20wchar_t_2c_20long_20double_29_20const, std____2__money_put_wchar_t_2c_20std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t_____do_put_28std____2__ostreambuf_iterator_wchar_t_2c_20std____2__char_traits_wchar_t___2c_20bool_2c_20std____2__ios_base__2c_20wchar_t_2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__29_20const, std____2__messages_char____messages_28_29, std____2__messages_char___do_open_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__locale_20const__29_20const, std____2__messages_char___do_get_28long_2c_20int_2c_20int_2c_20std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__29_20const, std____2__messages_char___do_close_28long_29_20const, std____2__messages_wchar_t____messages_28_29, std____2__messages_wchar_t___do_open_28std____2__basic_string_char_2c_20std____2__char_traits_char__2c_20std____2__allocator_char___20const__2c_20std____2__locale_20const__29_20const, std____2__messages_wchar_t___do_get_28long_2c_20int_2c_20int_2c_20std____2__basic_string_wchar_t_2c_20std____2__char_traits_wchar_t__2c_20std____2__allocator_wchar_t___20const__29_20const, std____2__messages_wchar_t___do_close_28long_29_20const, std____2____shared_count_____shared_count_28_29_1, __cxa_pure_virtual, std____2____shared_weak_count_____shared_weak_count_28_29, std____2____shared_weak_count____get_deleter_28std__type_info_20const__29_20const, demangling_terminate_handler_28_29, __cxxabiv1____shim_type_info_____shim_type_info_28_29, __cxxabiv1____fundamental_type_info_____fundamental_type_info_28_29, __cxxabiv1____shim_type_info__noop1_28_29_20const, __cxxabiv1____shim_type_info__noop2_28_29_20const, __cxxabiv1____fundamental_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const, __cxxabiv1____class_type_info_____class_type_info_28_29, __cxxabiv1____class_type_info__can_catch_28__cxxabiv1____shim_type_info_20const__2c_20void___29_20const, __cxxabiv1____class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const, __cxxabiv1____class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const, __cxxabiv1____class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const, __cxxabiv1____si_class_type_info_____si_class_type_info_28_29, __cxxabiv1____si_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const, __cxxabiv1____si_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const, __cxxabiv1____si_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const, __cxxabiv1____vmi_class_type_info_____vmi_class_type_info_28_29, __cxxabiv1____vmi_class_type_info__search_above_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20void_20const__2c_20int_2c_20bool_29_20const, __cxxabiv1____vmi_class_type_info__search_below_dst_28__cxxabiv1____dynamic_cast_info__2c_20void_20const__2c_20int_2c_20bool_29_20const, __cxxabiv1____vmi_class_type_info__has_unambiguous_public_base_28__cxxabiv1____dynamic_cast_info__2c_20void__2c_20int_29_20const, std__bad_alloc___bad_alloc_28_29, std__bad_alloc__what_28_29_20const, std__bad_array_new_length___bad_array_new_length_28_29, std__bad_array_new_length__what_28_29_20const, std__exception___exception_28_29_1, std__exception__what_28_29_20const, std__logic_error___logic_error_28_29_1, std__logic_error__what_28_29_20const, std__length_error___length_error_28_29, $28anonymous_20namespace_29__itanium_demangle__Node__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__Node__hasArraySlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__Node__hasFunctionSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__Node__getSyntaxNode_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__SpecialName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__Node__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__Node__getBaseName_28_29_20const, $28anonymous_20namespace_29__itanium_demangle__Node___Node_28_29_1, $28anonymous_20namespace_29__itanium_demangle__SpecialName___SpecialName_28_29, $28anonymous_20namespace_29__itanium_demangle__Node___Node_28_29, $28anonymous_20namespace_29__itanium_demangle__CtorVtableSpecialName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__CtorVtableSpecialName___CtorVtableSpecialName_28_29, $28anonymous_20namespace_29__itanium_demangle__NameType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__NameType__getBaseName_28_29_20const, $28anonymous_20namespace_29__itanium_demangle__NameType___NameType_28_29, $28anonymous_20namespace_29__itanium_demangle__NestedName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__NestedName__getBaseName_28_29_20const, $28anonymous_20namespace_29__itanium_demangle__NestedName___NestedName_28_29, $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__hasArraySlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__hasFunctionSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__getSyntaxNode_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ForwardTemplateReference___ForwardTemplateReference_28_29, $28anonymous_20namespace_29__itanium_demangle__IntegerLiteral__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__IntegerLiteral___IntegerLiteral_28_29, $28anonymous_20namespace_29__itanium_demangle__BoolExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__BoolExpr___BoolExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_float___printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_float____FloatLiteralImpl_28_29, $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_double___printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_double____FloatLiteralImpl_28_29, $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_long_20double___printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FloatLiteralImpl_long_20double____FloatLiteralImpl_28_29, $28anonymous_20namespace_29__itanium_demangle__StringLiteral__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__StringLiteral___StringLiteral_28_29, $28anonymous_20namespace_29__itanium_demangle__UnnamedTypeName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__UnnamedTypeName___UnnamedTypeName_28_29, $28anonymous_20namespace_29__itanium_demangle__SyntheticTemplateParamName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__SyntheticTemplateParamName___SyntheticTemplateParamName_28_29, $28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__TypeTemplateParamDecl___TypeTemplateParamDecl_28_29, $28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__NonTypeTemplateParamDecl___NonTypeTemplateParamDecl_28_29, $28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__TemplateTemplateParamDecl___TemplateTemplateParamDecl_28_29, $28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__TemplateParamPackDecl___TemplateParamPackDecl_28_29, $28anonymous_20namespace_29__itanium_demangle__ClosureTypeName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ClosureTypeName___ClosureTypeName_28_29, $28anonymous_20namespace_29__itanium_demangle__LambdaExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__LambdaExpr___LambdaExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__EnumLiteral__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__EnumLiteral___EnumLiteral_28_29, $28anonymous_20namespace_29__itanium_demangle__FunctionParam__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FunctionParam___FunctionParam_28_29, $28anonymous_20namespace_29__itanium_demangle__FoldExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FoldExpr___FoldExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ParameterPackExpansion___ParameterPackExpansion_28_29, $28anonymous_20namespace_29__itanium_demangle__BinaryExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__BinaryExpr___BinaryExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__PrefixExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__PrefixExpr___PrefixExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__CastExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__CastExpr___CastExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__CallExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__CallExpr___CallExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__ConversionExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ConversionExpr___ConversionExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__DeleteExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__DeleteExpr___DeleteExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__QualifiedName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__QualifiedName__getBaseName_28_29_20const, $28anonymous_20namespace_29__itanium_demangle__QualifiedName___QualifiedName_28_29, $28anonymous_20namespace_29__itanium_demangle__DtorName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__DtorName___DtorName_28_29, $28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ConversionOperatorType___ConversionOperatorType_28_29, $28anonymous_20namespace_29__itanium_demangle__LiteralOperator__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__LiteralOperator___LiteralOperator_28_29, $28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName__getBaseName_28_29_20const, $28anonymous_20namespace_29__itanium_demangle__GlobalQualifiedName___GlobalQualifiedName_28_29, $28anonymous_20namespace_29__itanium_demangle__MemberExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__MemberExpr___MemberExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__ArraySubscriptExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ArraySubscriptExpr___ArraySubscriptExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__BracedExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__BracedExpr___BracedExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__BracedRangeExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__BracedRangeExpr___BracedRangeExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__InitListExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__InitListExpr___InitListExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__PointerToMemberConversionExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__PointerToMemberConversionExpr___PointerToMemberConversionExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__PostfixExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__PostfixExpr___PostfixExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__NewExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__NewExpr___NewExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__EnclosingExpr___EnclosingExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__ConditionalExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ConditionalExpr___ConditionalExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__SubobjectExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__SubobjectExpr___SubobjectExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__SizeofParamPackExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__SizeofParamPackExpr___SizeofParamPackExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__NodeArrayNode__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__NodeArrayNode___NodeArrayNode_28_29, $28anonymous_20namespace_29__itanium_demangle__ThrowExpr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ThrowExpr___ThrowExpr_28_29, $28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution__getBaseName_28_29_20const, $28anonymous_20namespace_29__itanium_demangle__ExpandedSpecialSubstitution___ExpandedSpecialSubstitution_28_29, $28anonymous_20namespace_29__itanium_demangle__CtorDtorName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__CtorDtorName___CtorDtorName_28_29, $28anonymous_20namespace_29__itanium_demangle__AbiTagAttr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__AbiTagAttr___AbiTagAttr_28_29, $28anonymous_20namespace_29__itanium_demangle__StructuredBindingName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__StructuredBindingName___StructuredBindingName_28_29, $28anonymous_20namespace_29__itanium_demangle__LocalName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__LocalName___LocalName_28_29, $28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution__getBaseName_28_29_20const, $28anonymous_20namespace_29__itanium_demangle__SpecialSubstitution___SpecialSubstitution_28_29, $28anonymous_20namespace_29__itanium_demangle__StdQualifiedName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__StdQualifiedName__getBaseName_28_29_20const, $28anonymous_20namespace_29__itanium_demangle__StdQualifiedName___StdQualifiedName_28_29, $28anonymous_20namespace_29__itanium_demangle__ParameterPack__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ParameterPack__hasArraySlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ParameterPack__hasFunctionSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ParameterPack__getSyntaxNode_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ParameterPack__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ParameterPack__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ParameterPack___ParameterPack_28_29, $28anonymous_20namespace_29__itanium_demangle__TemplateArgs__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__TemplateArgs___TemplateArgs_28_29, $28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs__getBaseName_28_29_20const, $28anonymous_20namespace_29__itanium_demangle__NameWithTemplateArgs___NameWithTemplateArgs_28_29, $28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__TemplateArgumentPack___TemplateArgumentPack_28_29, $28anonymous_20namespace_29__itanium_demangle__EnableIfAttr__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__EnableIfAttr___EnableIfAttr_28_29, $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding__hasFunctionSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FunctionEncoding___FunctionEncoding_28_29, $28anonymous_20namespace_29__itanium_demangle__DotSuffix__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__DotSuffix___DotSuffix_28_29, $28anonymous_20namespace_29__itanium_demangle__NoexceptSpec__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__NoexceptSpec___NoexceptSpec_28_29, $28anonymous_20namespace_29__itanium_demangle__DynamicExceptionSpec__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__DynamicExceptionSpec___DynamicExceptionSpec_28_29, $28anonymous_20namespace_29__itanium_demangle__FunctionType__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FunctionType__hasFunctionSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FunctionType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FunctionType__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__FunctionType___FunctionType_28_29, $28anonymous_20namespace_29__itanium_demangle__ObjCProtoName__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ObjCProtoName___ObjCProtoName_28_29, $28anonymous_20namespace_29__itanium_demangle__VendorExtQualType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__VendorExtQualType___VendorExtQualType_28_29, $28anonymous_20namespace_29__itanium_demangle__QualType__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__QualType__hasArraySlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__QualType__hasFunctionSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__QualType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__QualType__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__QualType___QualType_28_29, $28anonymous_20namespace_29__itanium_demangle__BinaryFPType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__BinaryFPType___BinaryFPType_28_29, $28anonymous_20namespace_29__itanium_demangle__PixelVectorType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__PixelVectorType___PixelVectorType_28_29, $28anonymous_20namespace_29__itanium_demangle__VectorType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__VectorType___VectorType_28_29, $28anonymous_20namespace_29__itanium_demangle__ArrayType__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ArrayType__hasArraySlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ArrayType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ArrayType__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ArrayType___ArrayType_28_29, $28anonymous_20namespace_29__itanium_demangle__PointerToMemberType__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__PointerToMemberType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__PointerToMemberType__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__PointerToMemberType___PointerToMemberType_28_29, $28anonymous_20namespace_29__itanium_demangle__ElaboratedTypeSpefType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ElaboratedTypeSpefType___ElaboratedTypeSpefType_28_29, $28anonymous_20namespace_29__itanium_demangle__PointerType__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__PointerType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__PointerType__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__PointerType___PointerType_28_29, $28anonymous_20namespace_29__itanium_demangle__ReferenceType__hasRHSComponentSlow_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ReferenceType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ReferenceType__printRight_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__ReferenceType___ReferenceType_28_29, $28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType__printLeft_28_28anonymous_20namespace_29__itanium_demangle__OutputBuffer__29_20const, $28anonymous_20namespace_29__itanium_demangle__PostfixQualifiedType___PostfixQualifiedType_28_29]); + __wasm_init_memory(); + function __wasm_memory_size() { + return buffer.byteLength / 65536 | 0; +} + + function __wasm_memory_grow(pagesToAdd) { + pagesToAdd = pagesToAdd | 0; + var oldPages = __wasm_memory_size() | 0; + var newPages = oldPages + pagesToAdd | 0; + if ((oldPages < newPages) && (newPages < 65536)) { + var newBuffer = new ArrayBuffer(Math_imul(newPages, 65536)); + var newHEAP8 = new Int8Array(newBuffer); + newHEAP8.set(HEAP8); + HEAP8 = new Int8Array(newBuffer); + HEAP16 = new Int16Array(newBuffer); + HEAP32 = new Int32Array(newBuffer); + HEAPU8 = new Uint8Array(newBuffer); + HEAPU16 = new Uint16Array(newBuffer); + HEAPU32 = new Uint32Array(newBuffer); + HEAPF32 = new Float32Array(newBuffer); + HEAPF64 = new Float64Array(newBuffer); + buffer = newBuffer; + memory.buffer = buffer; + bufferView = HEAPU8; + } + return oldPages; +} + + return { + "__wasm_call_ctors": __wasm_call_ctors, + "malloc": dlmalloc, + "free": dlfree, + "__errno_location": __errno_location, + "__indirect_function_table": FUNCTION_TABLE, + "setTempRet0": setTempRet0, + "getTempRet0": getTempRet0, + "saveSetjmp": saveSetjmp, + "fflush": fflush, + "__getTypeName": __getTypeName, + "_embind_initialize_bindings": _embind_initialize_bindings, + "setThrew": setThrew, + "emscripten_stack_init": emscripten_stack_init, + "emscripten_stack_get_free": emscripten_stack_get_free, + "emscripten_stack_get_base": emscripten_stack_get_base, + "emscripten_stack_get_end": emscripten_stack_get_end, + "stackSave": stackSave, + "stackRestore": stackRestore, + "stackAlloc": stackAlloc, + "__cxa_demangle": __cxa_demangle, + "__cxa_is_pointer_type": __cxa_is_pointer_type, + "dynCall_jiji": legalstub$dynCall_jiji, + "dynCall_viijii": legalstub$dynCall_viijii, + "dynCall_iiiiij": legalstub$dynCall_iiiiij, + "dynCall_iiiiijj": legalstub$dynCall_iiiiijj, + "dynCall_iiiiiijj": legalstub$dynCall_iiiiiijj +}; +} + + return asmFunc(asmLibraryArg); +} +// EMSCRIPTEN_END_ASM + + + + +)(asmLibraryArg); + }, + + instantiate: /** @suppress{checkTypes} */ function(binary, info) { + return { + then: function(ok) { + var module = new WebAssembly.Module(binary); + ok({ + 'instance': new WebAssembly.Instance(module) + }); + // Emulate a simple WebAssembly.instantiate(..).then(()=>{}).catch(()=>{}) syntax. + return { catch: function() {} }; + } + }; + }, + + RuntimeError: Error +}; + +// We don't need to actually download a wasm binary, mark it as present but empty. +wasmBinary = []; + +// end include: wasm2js.js +if (typeof WebAssembly != 'object') { + abort('no native wasm support detected'); +} + +// Wasm globals + +var wasmMemory; + +//======================================== +// Runtime essentials +//======================================== + +// whether we are quitting the application. no code should run after this. +// set in exit() and abort() +var ABORT = false; + +// set by exit() and abort(). Passed to 'onExit' handler. +// NOTE: This is also used as the process return code code in shell environments +// but only when noExitRuntime is false. +var EXITSTATUS; + +/** @type {function(*, string=)} */ +function assert(condition, text) { + if (!condition) { + abort('Assertion failed' + (text ? ': ' + text : '')); + } +} + +// We used to include malloc/free by default in the past. Show a helpful error in +// builds with assertions. + +// include: runtime_strings.js + + +// runtime_strings.js: Strings related runtime functions that are part of both MINIMAL_RUNTIME and regular runtime. + +var UTF8Decoder = typeof TextDecoder != 'undefined' ? new TextDecoder('utf8') : undefined; + +// Given a pointer 'ptr' to a null-terminated UTF8-encoded string in the given array that contains uint8 values, returns +// a copy of that string as a Javascript String object. +/** + * heapOrArray is either a regular array, or a JavaScript typed array view. + * @param {number} idx + * @param {number=} maxBytesToRead + * @return {string} + */ +function UTF8ArrayToString(heapOrArray, idx, maxBytesToRead) { + var endIdx = idx + maxBytesToRead; + var endPtr = idx; + // TextDecoder needs to know the byte length in advance, it doesn't stop on null terminator by itself. + // Also, use the length info to avoid running tiny strings through TextDecoder, since .subarray() allocates garbage. + // (As a tiny code save trick, compare endPtr against endIdx using a negation, so that undefined means Infinity) + while (heapOrArray[endPtr] && !(endPtr >= endIdx)) ++endPtr; + + if (endPtr - idx > 16 && heapOrArray.buffer && UTF8Decoder) { + return UTF8Decoder.decode(heapOrArray.subarray(idx, endPtr)); + } + var str = ''; + // If building with TextDecoder, we have already computed the string length above, so test loop end condition against that + while (idx < endPtr) { + // For UTF8 byte structure, see: + // http://en.wikipedia.org/wiki/UTF-8#Description + // https://www.ietf.org/rfc/rfc2279.txt + // https://tools.ietf.org/html/rfc3629 + var u0 = heapOrArray[idx++]; + if (!(u0 & 0x80)) { str += String.fromCharCode(u0); continue; } + var u1 = heapOrArray[idx++] & 63; + if ((u0 & 0xE0) == 0xC0) { str += String.fromCharCode(((u0 & 31) << 6) | u1); continue; } + var u2 = heapOrArray[idx++] & 63; + if ((u0 & 0xF0) == 0xE0) { + u0 = ((u0 & 15) << 12) | (u1 << 6) | u2; + } else { + if ((u0 & 0xF8) != 0xF0) warnOnce('Invalid UTF-8 leading byte 0x' + u0.toString(16) + ' encountered when deserializing a UTF-8 string in wasm memory to a JS string!'); + u0 = ((u0 & 7) << 18) | (u1 << 12) | (u2 << 6) | (heapOrArray[idx++] & 63); + } + + if (u0 < 0x10000) { + str += String.fromCharCode(u0); + } else { + var ch = u0 - 0x10000; + str += String.fromCharCode(0xD800 | (ch >> 10), 0xDC00 | (ch & 0x3FF)); + } + } + return str; +} + +// Given a pointer 'ptr' to a null-terminated UTF8-encoded string in the emscripten HEAP, returns a +// copy of that string as a Javascript String object. +// maxBytesToRead: an optional length that specifies the maximum number of bytes to read. You can omit +// this parameter to scan the string until the first \0 byte. If maxBytesToRead is +// passed, and the string at [ptr, ptr+maxBytesToReadr[ contains a null byte in the +// middle, then the string will cut short at that byte index (i.e. maxBytesToRead will +// not produce a string of exact length [ptr, ptr+maxBytesToRead[) +// N.B. mixing frequent uses of UTF8ToString() with and without maxBytesToRead may +// throw JS JIT optimizations off, so it is worth to consider consistently using one +// style or the other. +/** + * @param {number} ptr + * @param {number=} maxBytesToRead + * @return {string} + */ +function UTF8ToString(ptr, maxBytesToRead) { + return ptr ? UTF8ArrayToString(HEAPU8, ptr, maxBytesToRead) : ''; +} + +// Copies the given Javascript String object 'str' to the given byte array at address 'outIdx', +// encoded in UTF8 form and null-terminated. The copy will require at most str.length*4+1 bytes of space in the HEAP. +// Use the function lengthBytesUTF8 to compute the exact number of bytes (excluding null terminator) that this function will write. +// Parameters: +// str: the Javascript string to copy. +// heap: the array to copy to. Each index in this array is assumed to be one 8-byte element. +// outIdx: The starting offset in the array to begin the copying. +// maxBytesToWrite: The maximum number of bytes this function can write to the array. +// This count should include the null terminator, +// i.e. if maxBytesToWrite=1, only the null terminator will be written and nothing else. +// maxBytesToWrite=0 does not write any bytes to the output, not even the null terminator. +// Returns the number of bytes written, EXCLUDING the null terminator. + +function stringToUTF8Array(str, heap, outIdx, maxBytesToWrite) { + if (!(maxBytesToWrite > 0)) // Parameter maxBytesToWrite is not optional. Negative values, 0, null, undefined and false each don't write out any bytes. + return 0; + + var startIdx = outIdx; + var endIdx = outIdx + maxBytesToWrite - 1; // -1 for string null terminator. + for (var i = 0; i < str.length; ++i) { + // Gotcha: charCodeAt returns a 16-bit word that is a UTF-16 encoded code unit, not a Unicode code point of the character! So decode UTF16->UTF32->UTF8. + // See http://unicode.org/faq/utf_bom.html#utf16-3 + // For UTF8 byte structure, see http://en.wikipedia.org/wiki/UTF-8#Description and https://www.ietf.org/rfc/rfc2279.txt and https://tools.ietf.org/html/rfc3629 + var u = str.charCodeAt(i); // possibly a lead surrogate + if (u >= 0xD800 && u <= 0xDFFF) { + var u1 = str.charCodeAt(++i); + u = 0x10000 + ((u & 0x3FF) << 10) | (u1 & 0x3FF); + } + if (u <= 0x7F) { + if (outIdx >= endIdx) break; + heap[outIdx++] = u; + } else if (u <= 0x7FF) { + if (outIdx + 1 >= endIdx) break; + heap[outIdx++] = 0xC0 | (u >> 6); + heap[outIdx++] = 0x80 | (u & 63); + } else if (u <= 0xFFFF) { + if (outIdx + 2 >= endIdx) break; + heap[outIdx++] = 0xE0 | (u >> 12); + heap[outIdx++] = 0x80 | ((u >> 6) & 63); + heap[outIdx++] = 0x80 | (u & 63); + } else { + if (outIdx + 3 >= endIdx) break; + if (u > 0x10FFFF) warnOnce('Invalid Unicode code point 0x' + u.toString(16) + ' encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF).'); + heap[outIdx++] = 0xF0 | (u >> 18); + heap[outIdx++] = 0x80 | ((u >> 12) & 63); + heap[outIdx++] = 0x80 | ((u >> 6) & 63); + heap[outIdx++] = 0x80 | (u & 63); + } + } + // Null-terminate the pointer to the buffer. + heap[outIdx] = 0; + return outIdx - startIdx; +} + +// Copies the given Javascript String object 'str' to the emscripten HEAP at address 'outPtr', +// null-terminated and encoded in UTF8 form. The copy will require at most str.length*4+1 bytes of space in the HEAP. +// Use the function lengthBytesUTF8 to compute the exact number of bytes (excluding null terminator) that this function will write. +// Returns the number of bytes written, EXCLUDING the null terminator. + +function stringToUTF8(str, outPtr, maxBytesToWrite) { + assert(typeof maxBytesToWrite == 'number', 'stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!'); + return stringToUTF8Array(str, HEAPU8,outPtr, maxBytesToWrite); +} + +// Returns the number of bytes the given Javascript string takes if encoded as a UTF8 byte array, EXCLUDING the null terminator byte. +function lengthBytesUTF8(str) { + var len = 0; + for (var i = 0; i < str.length; ++i) { + // Gotcha: charCodeAt returns a 16-bit word that is a UTF-16 encoded code unit, not a Unicode code point of the character! So decode UTF16->UTF32->UTF8. + // See http://unicode.org/faq/utf_bom.html#utf16-3 + var c = str.charCodeAt(i); // possibly a lead surrogate + if (c <= 0x7F) { + len++; + } else if (c <= 0x7FF) { + len += 2; + } else if (c >= 0xD800 && c <= 0xDFFF) { + len += 4; ++i; + } else { + len += 3; + } + } + return len; +} + +// end include: runtime_strings.js +// Memory management + +var HEAP, +/** @type {!ArrayBuffer} */ + buffer, +/** @type {!Int8Array} */ + HEAP8, +/** @type {!Uint8Array} */ + HEAPU8, +/** @type {!Int16Array} */ + HEAP16, +/** @type {!Uint16Array} */ + HEAPU16, +/** @type {!Int32Array} */ + HEAP32, +/** @type {!Uint32Array} */ + HEAPU32, +/** @type {!Float32Array} */ + HEAPF32, +/** @type {!Float64Array} */ + HEAPF64; + +function updateGlobalBufferAndViews(buf) { + buffer = buf; + Module['HEAP8'] = HEAP8 = new Int8Array(buf); + Module['HEAP16'] = HEAP16 = new Int16Array(buf); + Module['HEAP32'] = HEAP32 = new Int32Array(buf); + Module['HEAPU8'] = HEAPU8 = new Uint8Array(buf); + Module['HEAPU16'] = HEAPU16 = new Uint16Array(buf); + Module['HEAPU32'] = HEAPU32 = new Uint32Array(buf); + Module['HEAPF32'] = HEAPF32 = new Float32Array(buf); + Module['HEAPF64'] = HEAPF64 = new Float64Array(buf); +} + +var TOTAL_STACK = 5242880; +if (Module['TOTAL_STACK']) assert(TOTAL_STACK === Module['TOTAL_STACK'], 'the stack size can no longer be determined at runtime') + +var INITIAL_MEMORY = Module['INITIAL_MEMORY'] || 268435456;legacyModuleProp('INITIAL_MEMORY', 'INITIAL_MEMORY'); + +assert(INITIAL_MEMORY >= TOTAL_STACK, 'INITIAL_MEMORY should be larger than TOTAL_STACK, was ' + INITIAL_MEMORY + '! (TOTAL_STACK=' + TOTAL_STACK + ')'); + +// check for full engine support (use string 'subarray' to avoid closure compiler confusion) +assert(typeof Int32Array != 'undefined' && typeof Float64Array !== 'undefined' && Int32Array.prototype.subarray != undefined && Int32Array.prototype.set != undefined, + 'JS engine does not provide full typed array support'); + +// In non-standalone/normal mode, we create the memory here. +// include: runtime_init_memory.js + + +// Create the wasm memory. (Note: this only applies if IMPORTED_MEMORY is defined) + + if (Module['wasmMemory']) { + wasmMemory = Module['wasmMemory']; + } else + { + wasmMemory = new WebAssembly.Memory({ + 'initial': INITIAL_MEMORY / 65536, + // In theory we should not need to emit the maximum if we want "unlimited" + // or 4GB of memory, but VMs error on that atm, see + // https://github.com/emscripten-core/emscripten/issues/14130 + // And in the pthreads case we definitely need to emit a maximum. So + // always emit one. + 'maximum': 2147483648 / 65536 + }); + } + +if (wasmMemory) { + buffer = wasmMemory.buffer; +} + +// If the user provides an incorrect length, just use that length instead rather than providing the user to +// specifically provide the memory length with Module['INITIAL_MEMORY']. +INITIAL_MEMORY = buffer.byteLength; +assert(INITIAL_MEMORY % 65536 === 0); +updateGlobalBufferAndViews(buffer); + +// end include: runtime_init_memory.js + +// include: runtime_init_table.js +// In regular non-RELOCATABLE mode the table is exported +// from the wasm module and this will be assigned once +// the exports are available. +var wasmTable; + +// end include: runtime_init_table.js +// include: runtime_stack_check.js + + +// Initializes the stack cookie. Called at the startup of main and at the startup of each thread in pthreads mode. +function writeStackCookie() { + var max = _emscripten_stack_get_end(); + assert((max & 3) == 0); + // The stack grow downwards towards _emscripten_stack_get_end. + // We write cookies to the final two words in the stack and detect if they are + // ever overwritten. + HEAPU32[((max)>>2)] = 0x2135467; + HEAPU32[(((max)+(4))>>2)] = 0x89BACDFE; + // Also test the global address 0 for integrity. + HEAPU32[0] = 0x63736d65; /* 'emsc' */ +} + +function checkStackCookie() { + if (ABORT) return; + var max = _emscripten_stack_get_end(); + var cookie1 = HEAPU32[((max)>>2)]; + var cookie2 = HEAPU32[(((max)+(4))>>2)]; + if (cookie1 != 0x2135467 || cookie2 != 0x89BACDFE) { + abort('Stack overflow! Stack cookie has been overwritten at 0x' + max.toString(16) + ', expected hex dwords 0x89BACDFE and 0x2135467, but received 0x' + cookie2.toString(16) + ' 0x' + cookie1.toString(16)); + } + // Also test the global address 0 for integrity. + if (HEAPU32[0] !== 0x63736d65 /* 'emsc' */) abort('Runtime error: The application has corrupted its heap memory area (address zero)!'); +} + +// end include: runtime_stack_check.js +// include: runtime_assertions.js + + +// Endianness check +(function() { + var h16 = new Int16Array(1); + var h8 = new Int8Array(h16.buffer); + h16[0] = 0x6373; + if (h8[0] !== 0x73 || h8[1] !== 0x63) throw 'Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)'; +})(); + +// end include: runtime_assertions.js +var __ATPRERUN__ = []; // functions called before the runtime is initialized +var __ATINIT__ = []; // functions called during startup +var __ATEXIT__ = []; // functions called during shutdown +var __ATPOSTRUN__ = []; // functions called after the main() is called + +var runtimeInitialized = false; + +function keepRuntimeAlive() { + return noExitRuntime; +} + +function preRun() { + + if (Module['preRun']) { + if (typeof Module['preRun'] == 'function') Module['preRun'] = [Module['preRun']]; + while (Module['preRun'].length) { + addOnPreRun(Module['preRun'].shift()); + } + } + + callRuntimeCallbacks(__ATPRERUN__); +} + +function initRuntime() { + assert(!runtimeInitialized); + runtimeInitialized = true; + + checkStackCookie(); + + +if (!Module["noFSInit"] && !FS.init.initialized) + FS.init(); +FS.ignorePermissions = false; + +TTY.init(); + callRuntimeCallbacks(__ATINIT__); +} + +function postRun() { + checkStackCookie(); + + if (Module['postRun']) { + if (typeof Module['postRun'] == 'function') Module['postRun'] = [Module['postRun']]; + while (Module['postRun'].length) { + addOnPostRun(Module['postRun'].shift()); + } + } + + callRuntimeCallbacks(__ATPOSTRUN__); +} + +function addOnPreRun(cb) { + __ATPRERUN__.unshift(cb); +} + +function addOnInit(cb) { + __ATINIT__.unshift(cb); +} + +function addOnExit(cb) { +} + +function addOnPostRun(cb) { + __ATPOSTRUN__.unshift(cb); +} + +// include: runtime_math.js + + +// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/imul + +// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/fround + +// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/clz32 + +// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc + +assert(Math.imul, 'This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill'); +assert(Math.fround, 'This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill'); +assert(Math.clz32, 'This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill'); +assert(Math.trunc, 'This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill'); + +// end include: runtime_math.js +// A counter of dependencies for calling run(). If we need to +// do asynchronous work before running, increment this and +// decrement it. Incrementing must happen in a place like +// Module.preRun (used by emcc to add file preloading). +// Note that you can add dependencies in preRun, even though +// it happens right before run - run will be postponed until +// the dependencies are met. +var runDependencies = 0; +var runDependencyWatcher = null; +var dependenciesFulfilled = null; // overridden to take different actions when all run dependencies are fulfilled +var runDependencyTracking = {}; + +function getUniqueRunDependency(id) { + var orig = id; + while (1) { + if (!runDependencyTracking[id]) return id; + id = orig + Math.random(); + } +} + +function addRunDependency(id) { + runDependencies++; + + if (Module['monitorRunDependencies']) { + Module['monitorRunDependencies'](runDependencies); + } + + if (id) { + assert(!runDependencyTracking[id]); + runDependencyTracking[id] = 1; + if (runDependencyWatcher === null && typeof setInterval != 'undefined') { + // Check for missing dependencies every few seconds + runDependencyWatcher = setInterval(function() { + if (ABORT) { + clearInterval(runDependencyWatcher); + runDependencyWatcher = null; + return; + } + var shown = false; + for (var dep in runDependencyTracking) { + if (!shown) { + shown = true; + err('still waiting on run dependencies:'); + } + err('dependency: ' + dep); + } + if (shown) { + err('(end of list)'); + } + }, 10000); + } + } else { + err('warning: run dependency added without ID'); + } +} + +function removeRunDependency(id) { + runDependencies--; + + if (Module['monitorRunDependencies']) { + Module['monitorRunDependencies'](runDependencies); + } + + if (id) { + assert(runDependencyTracking[id]); + delete runDependencyTracking[id]; + } else { + err('warning: run dependency removed without ID'); + } + if (runDependencies == 0) { + if (runDependencyWatcher !== null) { + clearInterval(runDependencyWatcher); + runDependencyWatcher = null; + } + if (dependenciesFulfilled) { + var callback = dependenciesFulfilled; + dependenciesFulfilled = null; + callback(); // can add another dependenciesFulfilled + } + } +} + +/** @param {string|number=} what */ +function abort(what) { + { + if (Module['onAbort']) { + Module['onAbort'](what); + } + } + + what = 'Aborted(' + what + ')'; + // TODO(sbc): Should we remove printing and leave it up to whoever + // catches the exception? + err(what); + + ABORT = true; + EXITSTATUS = 1; + + // Use a wasm runtime error, because a JS error might be seen as a foreign + // exception, which means we'd run destructors on it. We need the error to + // simply make the program stop. + // FIXME This approach does not work in Wasm EH because it currently does not assume + // all RuntimeErrors are from traps; it decides whether a RuntimeError is from + // a trap or not based on a hidden field within the object. So at the moment + // we don't have a way of throwing a wasm trap from JS. TODO Make a JS API that + // allows this in the wasm spec. + + // Suppress closure compiler warning here. Closure compiler's builtin extern + // defintion for WebAssembly.RuntimeError claims it takes no arguments even + // though it can. + // TODO(https://github.com/google/closure-compiler/pull/3913): Remove if/when upstream closure gets fixed. + /** @suppress {checkTypes} */ + var e = new WebAssembly.RuntimeError(what); + + // Throw the error whether or not MODULARIZE is set because abort is used + // in code paths apart from instantiation where an exception is expected + // to be thrown when abort is called. + throw e; +} + +// {{MEM_INITIALIZER}} + +// include: memoryprofiler.js + + +// end include: memoryprofiler.js +// include: URIUtils.js + + +// Prefix of data URIs emitted by SINGLE_FILE and related options. +var dataURIPrefix = 'data:application/octet-stream;base64,'; + +// Indicates whether filename is a base64 data URI. +function isDataURI(filename) { + // Prefix of data URIs emitted by SINGLE_FILE and related options. + return filename.startsWith(dataURIPrefix); +} + +// Indicates whether filename is delivered via file protocol (as opposed to http/https) +function isFileURI(filename) { + return filename.startsWith('file://'); +} + +// end include: URIUtils.js +/** @param {boolean=} fixedasm */ +function createExportWrapper(name, fixedasm) { + return function() { + var displayName = name; + var asm = fixedasm; + if (!fixedasm) { + asm = Module['asm']; + } + assert(runtimeInitialized, 'native function `' + displayName + '` called before runtime initialization'); + if (!asm[name]) { + assert(asm[name], 'exported native function `' + displayName + '` not found'); + } + return asm[name].apply(null, arguments); + }; +} + +var wasmBinaryFile; + wasmBinaryFile = 'artoolkitNft.debug.wasm'; + if (!isDataURI(wasmBinaryFile)) { + wasmBinaryFile = locateFile(wasmBinaryFile); + } + +function getBinary(file) { + try { + if (file == wasmBinaryFile && wasmBinary) { + return new Uint8Array(wasmBinary); + } + var binary = tryParseAsDataURI(file); + if (binary) { + return binary; + } + if (readBinary) { + return readBinary(file); + } + throw "both async and sync fetching of the wasm failed"; + } + catch (err) { + abort(err); + } +} + +function getBinaryPromise() { + // If we don't have the binary yet, try to to load it asynchronously. + // Fetch has some additional restrictions over XHR, like it can't be used on a file:// url. + // See https://github.com/github/fetch/pull/92#issuecomment-140665932 + // Cordova or Electron apps are typically loaded from a file:// url. + // So use fetch if it is available and the url is not a file, otherwise fall back to XHR. + if (!wasmBinary && (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER)) { + if (typeof fetch == 'function' + && !isFileURI(wasmBinaryFile) + ) { + return fetch(wasmBinaryFile, { credentials: 'same-origin' }).then(function(response) { + if (!response['ok']) { + throw "failed to load wasm binary file at '" + wasmBinaryFile + "'"; + } + return response['arrayBuffer'](); + }).catch(function () { + return getBinary(wasmBinaryFile); + }); + } + else { + if (readAsync) { + // fetch is not available or url is file => try XHR (readAsync uses XHR internally) + return new Promise(function(resolve, reject) { + readAsync(wasmBinaryFile, function(response) { resolve(new Uint8Array(/** @type{!ArrayBuffer} */(response))) }, reject) + }); + } + } + } + + // Otherwise, getBinary should be able to get it synchronously + return Promise.resolve().then(function() { return getBinary(wasmBinaryFile); }); +} + +// Create the wasm instance. +// Receives the wasm imports, returns the exports. +function createWasm() { + // prepare imports + var info = { + 'env': asmLibraryArg, + 'wasi_snapshot_preview1': asmLibraryArg, + }; + // Load the wasm module and create an instance of using native support in the JS engine. + // handle a generated wasm instance, receiving its exports and + // performing other necessary setup + /** @param {WebAssembly.Module=} module*/ + function receiveInstance(instance, module) { + var exports = instance.exports; + + Module['asm'] = exports; + + wasmTable = Module['asm']['__indirect_function_table']; + assert(wasmTable, "table not found in wasm exports"); + + addOnInit(Module['asm']['__wasm_call_ctors']); + + removeRunDependency('wasm-instantiate'); + + } + // we can't run yet (except in a pthread, where we have a custom sync instantiator) + addRunDependency('wasm-instantiate'); + + // Prefer streaming instantiation if available. + // Async compilation can be confusing when an error on the page overwrites Module + // (for example, if the order of elements is wrong, and the one defining Module is + // later), so we save Module and check it later. + var trueModule = Module; + function receiveInstantiationResult(result) { + // 'result' is a ResultObject object which has both the module and instance. + // receiveInstance() will swap in the exports (to Module.asm) so they can be called + assert(Module === trueModule, 'the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?'); + trueModule = null; + // TODO: Due to Closure regression https://github.com/google/closure-compiler/issues/3193, the above line no longer optimizes out down to the following line. + // When the regression is fixed, can restore the above USE_PTHREADS-enabled path. + receiveInstance(result['instance']); + } + + function instantiateArrayBuffer(receiver) { + return getBinaryPromise().then(function(binary) { + return WebAssembly.instantiate(binary, info); + }).then(function (instance) { + return instance; + }).then(receiver, function(reason) { + err('failed to asynchronously prepare wasm: ' + reason); + + // Warn on some common problems. + if (isFileURI(wasmBinaryFile)) { + err('warning: Loading from a file URI (' + wasmBinaryFile + ') is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing'); + } + abort(reason); + }); + } + + function instantiateAsync() { + if (!wasmBinary && + typeof WebAssembly.instantiateStreaming == 'function' && + !isDataURI(wasmBinaryFile) && + // Don't use streaming for file:// delivered objects in a webview, fetch them synchronously. + !isFileURI(wasmBinaryFile) && + // Avoid instantiateStreaming() on Node.js environment for now, as while + // Node.js v18.1.0 implements it, it does not have a full fetch() + // implementation yet. + // + // Reference: + // https://github.com/emscripten-core/emscripten/pull/16917 + !ENVIRONMENT_IS_NODE && + typeof fetch == 'function') { + return fetch(wasmBinaryFile, { credentials: 'same-origin' }).then(function(response) { + // Suppress closure warning here since the upstream definition for + // instantiateStreaming only allows Promise rather than + // an actual Response. + // TODO(https://github.com/google/closure-compiler/pull/3913): Remove if/when upstream closure is fixed. + /** @suppress {checkTypes} */ + var result = WebAssembly.instantiateStreaming(response, info); + + return result.then( + receiveInstantiationResult, + function(reason) { + // We expect the most common failure cause to be a bad MIME type for the binary, + // in which case falling back to ArrayBuffer instantiation should work. + err('wasm streaming compile failed: ' + reason); + err('falling back to ArrayBuffer instantiation'); + return instantiateArrayBuffer(receiveInstantiationResult); + }); + }); + } else { + return instantiateArrayBuffer(receiveInstantiationResult); + } + } + + // User shell pages can write their own Module.instantiateWasm = function(imports, successCallback) callback + // to manually instantiate the Wasm module themselves. This allows pages to run the instantiation parallel + // to any other async startup actions they are performing. + // Also pthreads and wasm workers initialize the wasm instance through this path. + if (Module['instantiateWasm']) { + try { + var exports = Module['instantiateWasm'](info, receiveInstance); + return exports; + } catch(e) { + err('Module.instantiateWasm callback failed with error: ' + e); + return false; + } + } + + instantiateAsync(); + return {}; // no exports yet; we'll fill them in later +} + +// Globals used by JS i64 conversions (see makeSetValue) +var tempDouble; +var tempI64; + +// === Body === + +var ASM_CONSTS = { + 74732: function() { var $a = arguments; var i = 0; if (!artoolkit["NFTMarkerInfo"]) { artoolkit["NFTMarkerInfo"] = ({ id: 0, error: -1, found: 0, pose: [0,0,0,0, 0,0,0,0, 0,0,0,0] }); } var markerInfo = artoolkit["NFTMarkerInfo"]; markerInfo["id"] = $a[i++]; markerInfo["error"] = $a[i++]; markerInfo["found"] = 1; markerInfo["pose"][0] = $a[i++]; markerInfo["pose"][1] = $a[i++]; markerInfo["pose"][2] = $a[i++]; markerInfo["pose"][3] = $a[i++]; markerInfo["pose"][4] = $a[i++]; markerInfo["pose"][5] = $a[i++]; markerInfo["pose"][6] = $a[i++]; markerInfo["pose"][7] = $a[i++]; markerInfo["pose"][8] = $a[i++]; markerInfo["pose"][9] = $a[i++]; markerInfo["pose"][10] = $a[i++]; markerInfo["pose"][11] = $a[i++]; }, + 75429: function() { var $a = arguments; var i = 0; if (!artoolkit["NFTMarkerInfo"]) { artoolkit["NFTMarkerInfo"] = ({ id: 0, error: -1, found: 0, pose: [0,0,0,0, 0,0,0,0, 0,0,0,0] }); } var markerInfo = artoolkit["NFTMarkerInfo"]; markerInfo["id"] = $a[i++]; markerInfo["error"] = -1; markerInfo["found"] = 0; markerInfo["pose"][0] = 0; markerInfo["pose"][1] = 0; markerInfo["pose"][2] = 0; markerInfo["pose"][3] = 0; markerInfo["pose"][4] = 0; markerInfo["pose"][5] = 0; markerInfo["pose"][6] = 0; markerInfo["pose"][7] = 0; markerInfo["pose"][8] = 0; markerInfo["pose"][9] = 0; markerInfo["pose"][10] = 0; markerInfo["pose"][11] = 0; }, + 76049: ($0, $1, $2, $3) => { if (!artoolkit["multiEachMarkerInfo"]) { artoolkit["multiEachMarkerInfo"] = ({}); } var multiEachMarker = artoolkit["multiEachMarkerInfo"]; multiEachMarker['visible'] = $0; multiEachMarker['pattId'] = $1; multiEachMarker['pattType'] = $2; multiEachMarker['width'] = $3; }, + 76323: function($0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) { var $a = arguments; var i = 12; if (!artoolkit["markerInfo"]) { artoolkit["markerInfo"] = ({ pos: [0,0], line: [[0,0,0], [0,0,0], [0,0,0], [0,0,0]], vertex: [[0,0], [0,0], [0,0], [0,0]] }); } var markerInfo = artoolkit["markerInfo"]; markerInfo["area"] = $0; markerInfo["id"] = $1; markerInfo["idPatt"] = $2; markerInfo["idMatrix"] = $3; markerInfo["dir"] = $4; markerInfo["dirPatt"] = $5; markerInfo["dirMatrix"] = $6; markerInfo["cf"] = $7; markerInfo["cfPatt"] = $8; markerInfo["cfMatrix"] = $9; markerInfo["pos"][0] = $10; markerInfo["pos"][1] = $11; markerInfo["line"][0][0] = $a[i++]; markerInfo["line"][0][1] = $a[i++]; markerInfo["line"][0][2] = $a[i++]; markerInfo["line"][1][0] = $a[i++]; markerInfo["line"][1][1] = $a[i++]; markerInfo["line"][1][2] = $a[i++]; markerInfo["line"][2][0] = $a[i++]; markerInfo["line"][2][1] = $a[i++]; markerInfo["line"][2][2] = $a[i++]; markerInfo["line"][3][0] = $a[i++]; markerInfo["line"][3][1] = $a[i++]; markerInfo["line"][3][2] = $a[i++]; markerInfo["vertex"][0][0] = $a[i++]; markerInfo["vertex"][0][1] = $a[i++]; markerInfo["vertex"][1][0] = $a[i++]; markerInfo["vertex"][1][1] = $a[i++]; markerInfo["vertex"][2][0] = $a[i++]; markerInfo["vertex"][2][1] = $a[i++]; markerInfo["vertex"][3][0] = $a[i++]; markerInfo["vertex"][3][1] = $a[i++]; markerInfo["errorCorrected"] = $a[i++]; }, + 77658: ($0, $1, $2, $3, $4, $5) => { if (!artoolkit["frameMalloc"]) { artoolkit["frameMalloc"] = ({}); } var frameMalloc = artoolkit["frameMalloc"]; frameMalloc["framepointer"] = $1; frameMalloc["framesize"] = $2; frameMalloc["camera"] = $3; frameMalloc["transform"] = $4; frameMalloc["videoLumaPointer"] = $5; } +}; + + + + + + + /** @constructor */ + function ExitStatus(status) { + this.name = 'ExitStatus'; + this.message = 'Program terminated with exit(' + status + ')'; + this.status = status; + } + + function callRuntimeCallbacks(callbacks) { + while (callbacks.length > 0) { + // Pass the module as the first argument. + callbacks.shift()(Module); + } + } + + function withStackSave(f) { + var stack = stackSave(); + var ret = f(); + stackRestore(stack); + return ret; + } + function demangle(func) { + // If demangle has failed before, stop demangling any further function names + // This avoids an infinite recursion with malloc()->abort()->stackTrace()->demangle()->malloc()->... + demangle.recursionGuard = (demangle.recursionGuard|0)+1; + if (demangle.recursionGuard > 1) return func; + assert(___cxa_demangle); + return withStackSave(function() { + try { + var s = func; + if (s.startsWith('__Z')) + s = s.substr(1); + var len = lengthBytesUTF8(s)+1; + var buf = stackAlloc(len); + stringToUTF8(s, buf, len); + var status = stackAlloc(4); + var ret = ___cxa_demangle(buf, 0, 0, status); + if (HEAP32[((status)>>2)] === 0 && ret) { + return UTF8ToString(ret); + } + // otherwise, libcxxabi failed + } catch(e) { + } finally { + _free(ret); + if (demangle.recursionGuard < 2) --demangle.recursionGuard; + } + // failure when using libcxxabi, don't demangle + return func; + }); + } + + function demangleAll(text) { + var regex = + /\b_Z[\w\d_]+/g; + return text.replace(regex, + function(x) { + var y = demangle(x); + return x === y ? x : (y + ' [' + x + ']'); + }); + } + + + /** + * @param {number} ptr + * @param {string} type + */ + function getValue(ptr, type = 'i8') { + if (type.endsWith('*')) type = '*'; + switch (type) { + case 'i1': return HEAP8[((ptr)>>0)]; + case 'i8': return HEAP8[((ptr)>>0)]; + case 'i16': return HEAP16[((ptr)>>1)]; + case 'i32': return HEAP32[((ptr)>>2)]; + case 'i64': return HEAP32[((ptr)>>2)]; + case 'float': return HEAPF32[((ptr)>>2)]; + case 'double': return HEAPF64[((ptr)>>3)]; + case '*': return HEAPU32[((ptr)>>2)]; + default: abort('invalid type for getValue: ' + type); + } + return null; + } + + function handleException(e) { + // Certain exception types we do not treat as errors since they are used for + // internal control flow. + // 1. ExitStatus, which is thrown by exit() + // 2. "unwind", which is thrown by emscripten_unwind_to_js_event_loop() and others + // that wish to return to JS event loop. + if (e instanceof ExitStatus || e == 'unwind') { + return EXITSTATUS; + } + quit_(1, e); + } + + function intArrayToString(array) { + var ret = []; + for (var i = 0; i < array.length; i++) { + var chr = array[i]; + if (chr > 0xFF) { + if (ASSERTIONS) { + assert(false, 'Character code ' + chr + ' (' + String.fromCharCode(chr) + ') at offset ' + i + ' not in 0x00-0xFF.'); + } + chr &= 0xFF; + } + ret.push(String.fromCharCode(chr)); + } + return ret.join(''); + } + + function jsStackTrace() { + var error = new Error(); + if (!error.stack) { + // IE10+ special cases: It does have callstack info, but it is only + // populated if an Error object is thrown, so try that as a special-case. + try { + throw new Error(); + } catch(e) { + error = e; + } + if (!error.stack) { + return '(no stack trace available)'; + } + } + return error.stack.toString(); + } + + + /** + * @param {number} ptr + * @param {number} value + * @param {string} type + */ + function setValue(ptr, value, type = 'i8') { + if (type.endsWith('*')) type = '*'; + switch (type) { + case 'i1': HEAP8[((ptr)>>0)] = value; break; + case 'i8': HEAP8[((ptr)>>0)] = value; break; + case 'i16': HEAP16[((ptr)>>1)] = value; break; + case 'i32': HEAP32[((ptr)>>2)] = value; break; + case 'i64': (tempI64 = [value>>>0,(tempDouble=value,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? ((Math.min((+(Math.floor((tempDouble)/4294967296.0))), 4294967295.0))|0)>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)],HEAP32[((ptr)>>2)] = tempI64[0],HEAP32[(((ptr)+(4))>>2)] = tempI64[1]); break; + case 'float': HEAPF32[((ptr)>>2)] = value; break; + case 'double': HEAPF64[((ptr)>>3)] = value; break; + case '*': HEAPU32[((ptr)>>2)] = value; break; + default: abort('invalid type for setValue: ' + type); + } + } + + function stackTrace() { + var js = jsStackTrace(); + if (Module['extraStackTrace']) js += '\n' + Module['extraStackTrace'](); + return demangleAll(js); + } + + function warnOnce(text) { + if (!warnOnce.shown) warnOnce.shown = {}; + if (!warnOnce.shown[text]) { + warnOnce.shown[text] = 1; + if (ENVIRONMENT_IS_NODE) text = 'warning: ' + text; + err(text); + } + } + + function writeArrayToMemory(array, buffer) { + assert(array.length >= 0, 'writeArrayToMemory array must have a length (should be an array or typed array)') + HEAP8.set(array, buffer); + } + + function ___cxa_allocate_exception(size) { + // Thrown object is prepended by exception metadata block + return _malloc(size + 24) + 24; + } + + /** @constructor */ + function ExceptionInfo(excPtr) { + this.excPtr = excPtr; + this.ptr = excPtr - 24; + + this.set_type = function(type) { + HEAPU32[(((this.ptr)+(4))>>2)] = type; + }; + + this.get_type = function() { + return HEAPU32[(((this.ptr)+(4))>>2)]; + }; + + this.set_destructor = function(destructor) { + HEAPU32[(((this.ptr)+(8))>>2)] = destructor; + }; + + this.get_destructor = function() { + return HEAPU32[(((this.ptr)+(8))>>2)]; + }; + + this.set_refcount = function(refcount) { + HEAP32[((this.ptr)>>2)] = refcount; + }; + + this.set_caught = function (caught) { + caught = caught ? 1 : 0; + HEAP8[(((this.ptr)+(12))>>0)] = caught; + }; + + this.get_caught = function () { + return HEAP8[(((this.ptr)+(12))>>0)] != 0; + }; + + this.set_rethrown = function (rethrown) { + rethrown = rethrown ? 1 : 0; + HEAP8[(((this.ptr)+(13))>>0)] = rethrown; + }; + + this.get_rethrown = function () { + return HEAP8[(((this.ptr)+(13))>>0)] != 0; + }; + + // Initialize native structure fields. Should be called once after allocated. + this.init = function(type, destructor) { + this.set_adjusted_ptr(0); + this.set_type(type); + this.set_destructor(destructor); + this.set_refcount(0); + this.set_caught(false); + this.set_rethrown(false); + } + + this.add_ref = function() { + var value = HEAP32[((this.ptr)>>2)]; + HEAP32[((this.ptr)>>2)] = value + 1; + }; + + // Returns true if last reference released. + this.release_ref = function() { + var prev = HEAP32[((this.ptr)>>2)]; + HEAP32[((this.ptr)>>2)] = prev - 1; + assert(prev > 0); + return prev === 1; + }; + + this.set_adjusted_ptr = function(adjustedPtr) { + HEAPU32[(((this.ptr)+(16))>>2)] = adjustedPtr; + }; + + this.get_adjusted_ptr = function() { + return HEAPU32[(((this.ptr)+(16))>>2)]; + }; + + // Get pointer which is expected to be received by catch clause in C++ code. It may be adjusted + // when the pointer is casted to some of the exception object base classes (e.g. when virtual + // inheritance is used). When a pointer is thrown this method should return the thrown pointer + // itself. + this.get_exception_ptr = function() { + // Work around a fastcomp bug, this code is still included for some reason in a build without + // exceptions support. + var isPointer = ___cxa_is_pointer_type(this.get_type()); + if (isPointer) { + return HEAPU32[((this.excPtr)>>2)]; + } + var adjusted = this.get_adjusted_ptr(); + if (adjusted !== 0) return adjusted; + return this.excPtr; + }; + } + + var exceptionLast = 0; + + var uncaughtExceptionCount = 0; + function ___cxa_throw(ptr, type, destructor) { + var info = new ExceptionInfo(ptr); + // Initialize ExceptionInfo content after it was allocated in __cxa_allocate_exception. + info.init(type, destructor); + exceptionLast = ptr; + uncaughtExceptionCount++; + throw ptr + " - Exception catching is disabled, this exception cannot be caught. Compile with -sNO_DISABLE_EXCEPTION_CATCHING or -sEXCEPTION_CATCHING_ALLOWED=[..] to catch."; + } + + function setErrNo(value) { + HEAP32[((___errno_location())>>2)] = value; + return value; + } + + var PATH = {isAbs:(path) => path.charAt(0) === '/',splitPath:(filename) => { + var splitPathRe = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/; + return splitPathRe.exec(filename).slice(1); + },normalizeArray:(parts, allowAboveRoot) => { + // if the path tries to go above the root, `up` ends up > 0 + var up = 0; + for (var i = parts.length - 1; i >= 0; i--) { + var last = parts[i]; + if (last === '.') { + parts.splice(i, 1); + } else if (last === '..') { + parts.splice(i, 1); + up++; + } else if (up) { + parts.splice(i, 1); + up--; + } + } + // if the path is allowed to go above the root, restore leading ..s + if (allowAboveRoot) { + for (; up; up--) { + parts.unshift('..'); + } + } + return parts; + },normalize:(path) => { + var isAbsolute = PATH.isAbs(path), + trailingSlash = path.substr(-1) === '/'; + // Normalize the path + path = PATH.normalizeArray(path.split('/').filter((p) => !!p), !isAbsolute).join('/'); + if (!path && !isAbsolute) { + path = '.'; + } + if (path && trailingSlash) { + path += '/'; + } + return (isAbsolute ? '/' : '') + path; + },dirname:(path) => { + var result = PATH.splitPath(path), + root = result[0], + dir = result[1]; + if (!root && !dir) { + // No dirname whatsoever + return '.'; + } + if (dir) { + // It has a dirname, strip trailing slash + dir = dir.substr(0, dir.length - 1); + } + return root + dir; + },basename:(path) => { + // EMSCRIPTEN return '/'' for '/', not an empty string + if (path === '/') return '/'; + path = PATH.normalize(path); + path = path.replace(/\/$/, ""); + var lastSlash = path.lastIndexOf('/'); + if (lastSlash === -1) return path; + return path.substr(lastSlash+1); + },join:function() { + var paths = Array.prototype.slice.call(arguments); + return PATH.normalize(paths.join('/')); + },join2:(l, r) => { + return PATH.normalize(l + '/' + r); + }}; + + function getRandomDevice() { + if (typeof crypto == 'object' && typeof crypto['getRandomValues'] == 'function') { + // for modern web browsers + var randomBuffer = new Uint8Array(1); + return () => { crypto.getRandomValues(randomBuffer); return randomBuffer[0]; }; + } else + if (ENVIRONMENT_IS_NODE) { + // for nodejs with or without crypto support included + try { + var crypto_module = require('crypto'); + // nodejs has crypto support + return () => crypto_module['randomBytes'](1)[0]; + } catch (e) { + // nodejs doesn't have crypto support + } + } + // we couldn't find a proper implementation, as Math.random() is not suitable for /dev/random, see emscripten-core/emscripten/pull/7096 + return () => abort("no cryptographic support found for randomDevice. consider polyfilling it if you want to use something insecure like Math.random(), e.g. put this in a --pre-js: var crypto = { getRandomValues: function(array) { for (var i = 0; i < array.length; i++) array[i] = (Math.random()*256)|0 } };"); + } + + var PATH_FS = {resolve:function() { + var resolvedPath = '', + resolvedAbsolute = false; + for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { + var path = (i >= 0) ? arguments[i] : FS.cwd(); + // Skip empty and invalid entries + if (typeof path != 'string') { + throw new TypeError('Arguments to path.resolve must be strings'); + } else if (!path) { + return ''; // an invalid portion invalidates the whole thing + } + resolvedPath = path + '/' + resolvedPath; + resolvedAbsolute = PATH.isAbs(path); + } + // At this point the path should be resolved to a full absolute path, but + // handle relative paths to be safe (might happen when process.cwd() fails) + resolvedPath = PATH.normalizeArray(resolvedPath.split('/').filter((p) => !!p), !resolvedAbsolute).join('/'); + return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.'; + },relative:(from, to) => { + from = PATH_FS.resolve(from).substr(1); + to = PATH_FS.resolve(to).substr(1); + function trim(arr) { + var start = 0; + for (; start < arr.length; start++) { + if (arr[start] !== '') break; + } + var end = arr.length - 1; + for (; end >= 0; end--) { + if (arr[end] !== '') break; + } + if (start > end) return []; + return arr.slice(start, end - start + 1); + } + var fromParts = trim(from.split('/')); + var toParts = trim(to.split('/')); + var length = Math.min(fromParts.length, toParts.length); + var samePartsLength = length; + for (var i = 0; i < length; i++) { + if (fromParts[i] !== toParts[i]) { + samePartsLength = i; + break; + } + } + var outputParts = []; + for (var i = samePartsLength; i < fromParts.length; i++) { + outputParts.push('..'); + } + outputParts = outputParts.concat(toParts.slice(samePartsLength)); + return outputParts.join('/'); + }}; + + /** @type {function(string, boolean=, number=)} */ + function intArrayFromString(stringy, dontAddNull, length) { + var len = length > 0 ? length : lengthBytesUTF8(stringy)+1; + var u8array = new Array(len); + var numBytesWritten = stringToUTF8Array(stringy, u8array, 0, u8array.length); + if (dontAddNull) u8array.length = numBytesWritten; + return u8array; + } + var TTY = {ttys:[],init:function () { + // https://github.com/emscripten-core/emscripten/pull/1555 + // if (ENVIRONMENT_IS_NODE) { + // // currently, FS.init does not distinguish if process.stdin is a file or TTY + // // device, it always assumes it's a TTY device. because of this, we're forcing + // // process.stdin to UTF8 encoding to at least make stdin reading compatible + // // with text files until FS.init can be refactored. + // process['stdin']['setEncoding']('utf8'); + // } + },shutdown:function() { + // https://github.com/emscripten-core/emscripten/pull/1555 + // if (ENVIRONMENT_IS_NODE) { + // // inolen: any idea as to why node -e 'process.stdin.read()' wouldn't exit immediately (with process.stdin being a tty)? + // // isaacs: because now it's reading from the stream, you've expressed interest in it, so that read() kicks off a _read() which creates a ReadReq operation + // // inolen: I thought read() in that case was a synchronous operation that just grabbed some amount of buffered data if it exists? + // // isaacs: it is. but it also triggers a _read() call, which calls readStart() on the handle + // // isaacs: do process.stdin.pause() and i'd think it'd probably close the pending call + // process['stdin']['pause'](); + // } + },register:function(dev, ops) { + TTY.ttys[dev] = { input: [], output: [], ops: ops }; + FS.registerDevice(dev, TTY.stream_ops); + },stream_ops:{open:function(stream) { + var tty = TTY.ttys[stream.node.rdev]; + if (!tty) { + throw new FS.ErrnoError(43); + } + stream.tty = tty; + stream.seekable = false; + },close:function(stream) { + // flush any pending line data + stream.tty.ops.fsync(stream.tty); + },fsync:function(stream) { + stream.tty.ops.fsync(stream.tty); + },read:function(stream, buffer, offset, length, pos /* ignored */) { + if (!stream.tty || !stream.tty.ops.get_char) { + throw new FS.ErrnoError(60); + } + var bytesRead = 0; + for (var i = 0; i < length; i++) { + var result; + try { + result = stream.tty.ops.get_char(stream.tty); + } catch (e) { + throw new FS.ErrnoError(29); + } + if (result === undefined && bytesRead === 0) { + throw new FS.ErrnoError(6); + } + if (result === null || result === undefined) break; + bytesRead++; + buffer[offset+i] = result; + } + if (bytesRead) { + stream.node.timestamp = Date.now(); + } + return bytesRead; + },write:function(stream, buffer, offset, length, pos) { + if (!stream.tty || !stream.tty.ops.put_char) { + throw new FS.ErrnoError(60); + } + try { + for (var i = 0; i < length; i++) { + stream.tty.ops.put_char(stream.tty, buffer[offset+i]); + } + } catch (e) { + throw new FS.ErrnoError(29); + } + if (length) { + stream.node.timestamp = Date.now(); + } + return i; + }},default_tty_ops:{get_char:function(tty) { + if (!tty.input.length) { + var result = null; + if (ENVIRONMENT_IS_NODE) { + // we will read data by chunks of BUFSIZE + var BUFSIZE = 256; + var buf = Buffer.alloc(BUFSIZE); + var bytesRead = 0; + + try { + bytesRead = fs.readSync(process.stdin.fd, buf, 0, BUFSIZE, -1); + } catch(e) { + // Cross-platform differences: on Windows, reading EOF throws an exception, but on other OSes, + // reading EOF returns 0. Uniformize behavior by treating the EOF exception to return 0. + if (e.toString().includes('EOF')) bytesRead = 0; + else throw e; + } + + if (bytesRead > 0) { + result = buf.slice(0, bytesRead).toString('utf-8'); + } else { + result = null; + } + } else + if (typeof window != 'undefined' && + typeof window.prompt == 'function') { + // Browser. + result = window.prompt('Input: '); // returns null on cancel + if (result !== null) { + result += '\n'; + } + } else if (typeof readline == 'function') { + // Command line. + result = readline(); + if (result !== null) { + result += '\n'; + } + } + if (!result) { + return null; + } + tty.input = intArrayFromString(result, true); + } + return tty.input.shift(); + },put_char:function(tty, val) { + if (val === null || val === 10) { + out(UTF8ArrayToString(tty.output, 0)); + tty.output = []; + } else { + if (val != 0) tty.output.push(val); // val == 0 would cut text output off in the middle. + } + },fsync:function(tty) { + if (tty.output && tty.output.length > 0) { + out(UTF8ArrayToString(tty.output, 0)); + tty.output = []; + } + }},default_tty1_ops:{put_char:function(tty, val) { + if (val === null || val === 10) { + err(UTF8ArrayToString(tty.output, 0)); + tty.output = []; + } else { + if (val != 0) tty.output.push(val); + } + },fsync:function(tty) { + if (tty.output && tty.output.length > 0) { + err(UTF8ArrayToString(tty.output, 0)); + tty.output = []; + } + }}}; + + function zeroMemory(address, size) { + HEAPU8.fill(0, address, address + size); + return address; + } + + function alignMemory(size, alignment) { + assert(alignment, "alignment argument is required"); + return Math.ceil(size / alignment) * alignment; + } + function mmapAlloc(size) { + abort('internal error: mmapAlloc called but `emscripten_builtin_memalign` native symbol not exported'); + } + var MEMFS = {ops_table:null,mount:function(mount) { + return MEMFS.createNode(null, '/', 16384 | 511 /* 0777 */, 0); + },createNode:function(parent, name, mode, dev) { + if (FS.isBlkdev(mode) || FS.isFIFO(mode)) { + // no supported + throw new FS.ErrnoError(63); + } + if (!MEMFS.ops_table) { + MEMFS.ops_table = { + dir: { + node: { + getattr: MEMFS.node_ops.getattr, + setattr: MEMFS.node_ops.setattr, + lookup: MEMFS.node_ops.lookup, + mknod: MEMFS.node_ops.mknod, + rename: MEMFS.node_ops.rename, + unlink: MEMFS.node_ops.unlink, + rmdir: MEMFS.node_ops.rmdir, + readdir: MEMFS.node_ops.readdir, + symlink: MEMFS.node_ops.symlink + }, + stream: { + llseek: MEMFS.stream_ops.llseek + } + }, + file: { + node: { + getattr: MEMFS.node_ops.getattr, + setattr: MEMFS.node_ops.setattr + }, + stream: { + llseek: MEMFS.stream_ops.llseek, + read: MEMFS.stream_ops.read, + write: MEMFS.stream_ops.write, + allocate: MEMFS.stream_ops.allocate, + mmap: MEMFS.stream_ops.mmap, + msync: MEMFS.stream_ops.msync + } + }, + link: { + node: { + getattr: MEMFS.node_ops.getattr, + setattr: MEMFS.node_ops.setattr, + readlink: MEMFS.node_ops.readlink + }, + stream: {} + }, + chrdev: { + node: { + getattr: MEMFS.node_ops.getattr, + setattr: MEMFS.node_ops.setattr + }, + stream: FS.chrdev_stream_ops + } + }; + } + var node = FS.createNode(parent, name, mode, dev); + if (FS.isDir(node.mode)) { + node.node_ops = MEMFS.ops_table.dir.node; + node.stream_ops = MEMFS.ops_table.dir.stream; + node.contents = {}; + } else if (FS.isFile(node.mode)) { + node.node_ops = MEMFS.ops_table.file.node; + node.stream_ops = MEMFS.ops_table.file.stream; + node.usedBytes = 0; // The actual number of bytes used in the typed array, as opposed to contents.length which gives the whole capacity. + // When the byte data of the file is populated, this will point to either a typed array, or a normal JS array. Typed arrays are preferred + // for performance, and used by default. However, typed arrays are not resizable like normal JS arrays are, so there is a small disk size + // penalty involved for appending file writes that continuously grow a file similar to std::vector capacity vs used -scheme. + node.contents = null; + } else if (FS.isLink(node.mode)) { + node.node_ops = MEMFS.ops_table.link.node; + node.stream_ops = MEMFS.ops_table.link.stream; + } else if (FS.isChrdev(node.mode)) { + node.node_ops = MEMFS.ops_table.chrdev.node; + node.stream_ops = MEMFS.ops_table.chrdev.stream; + } + node.timestamp = Date.now(); + // add the new node to the parent + if (parent) { + parent.contents[name] = node; + parent.timestamp = node.timestamp; + } + return node; + },getFileDataAsTypedArray:function(node) { + if (!node.contents) return new Uint8Array(0); + if (node.contents.subarray) return node.contents.subarray(0, node.usedBytes); // Make sure to not return excess unused bytes. + return new Uint8Array(node.contents); + },expandFileStorage:function(node, newCapacity) { + var prevCapacity = node.contents ? node.contents.length : 0; + if (prevCapacity >= newCapacity) return; // No need to expand, the storage was already large enough. + // Don't expand strictly to the given requested limit if it's only a very small increase, but instead geometrically grow capacity. + // For small filesizes (<1MB), perform size*2 geometric increase, but for large sizes, do a much more conservative size*1.125 increase to + // avoid overshooting the allocation cap by a very large margin. + var CAPACITY_DOUBLING_MAX = 1024 * 1024; + newCapacity = Math.max(newCapacity, (prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2.0 : 1.125)) >>> 0); + if (prevCapacity != 0) newCapacity = Math.max(newCapacity, 256); // At minimum allocate 256b for each file when expanding. + var oldContents = node.contents; + node.contents = new Uint8Array(newCapacity); // Allocate new storage. + if (node.usedBytes > 0) node.contents.set(oldContents.subarray(0, node.usedBytes), 0); // Copy old data over to the new storage. + },resizeFileStorage:function(node, newSize) { + if (node.usedBytes == newSize) return; + if (newSize == 0) { + node.contents = null; // Fully decommit when requesting a resize to zero. + node.usedBytes = 0; + } else { + var oldContents = node.contents; + node.contents = new Uint8Array(newSize); // Allocate new storage. + if (oldContents) { + node.contents.set(oldContents.subarray(0, Math.min(newSize, node.usedBytes))); // Copy old data over to the new storage. + } + node.usedBytes = newSize; + } + },node_ops:{getattr:function(node) { + var attr = {}; + // device numbers reuse inode numbers. + attr.dev = FS.isChrdev(node.mode) ? node.id : 1; + attr.ino = node.id; + attr.mode = node.mode; + attr.nlink = 1; + attr.uid = 0; + attr.gid = 0; + attr.rdev = node.rdev; + if (FS.isDir(node.mode)) { + attr.size = 4096; + } else if (FS.isFile(node.mode)) { + attr.size = node.usedBytes; + } else if (FS.isLink(node.mode)) { + attr.size = node.link.length; + } else { + attr.size = 0; + } + attr.atime = new Date(node.timestamp); + attr.mtime = new Date(node.timestamp); + attr.ctime = new Date(node.timestamp); + // NOTE: In our implementation, st_blocks = Math.ceil(st_size/st_blksize), + // but this is not required by the standard. + attr.blksize = 4096; + attr.blocks = Math.ceil(attr.size / attr.blksize); + return attr; + },setattr:function(node, attr) { + if (attr.mode !== undefined) { + node.mode = attr.mode; + } + if (attr.timestamp !== undefined) { + node.timestamp = attr.timestamp; + } + if (attr.size !== undefined) { + MEMFS.resizeFileStorage(node, attr.size); + } + },lookup:function(parent, name) { + throw FS.genericErrors[44]; + },mknod:function(parent, name, mode, dev) { + return MEMFS.createNode(parent, name, mode, dev); + },rename:function(old_node, new_dir, new_name) { + // if we're overwriting a directory at new_name, make sure it's empty. + if (FS.isDir(old_node.mode)) { + var new_node; + try { + new_node = FS.lookupNode(new_dir, new_name); + } catch (e) { + } + if (new_node) { + for (var i in new_node.contents) { + throw new FS.ErrnoError(55); + } + } + } + // do the internal rewiring + delete old_node.parent.contents[old_node.name]; + old_node.parent.timestamp = Date.now() + old_node.name = new_name; + new_dir.contents[new_name] = old_node; + new_dir.timestamp = old_node.parent.timestamp; + old_node.parent = new_dir; + },unlink:function(parent, name) { + delete parent.contents[name]; + parent.timestamp = Date.now(); + },rmdir:function(parent, name) { + var node = FS.lookupNode(parent, name); + for (var i in node.contents) { + throw new FS.ErrnoError(55); + } + delete parent.contents[name]; + parent.timestamp = Date.now(); + },readdir:function(node) { + var entries = ['.', '..']; + for (var key in node.contents) { + if (!node.contents.hasOwnProperty(key)) { + continue; + } + entries.push(key); + } + return entries; + },symlink:function(parent, newname, oldpath) { + var node = MEMFS.createNode(parent, newname, 511 /* 0777 */ | 40960, 0); + node.link = oldpath; + return node; + },readlink:function(node) { + if (!FS.isLink(node.mode)) { + throw new FS.ErrnoError(28); + } + return node.link; + }},stream_ops:{read:function(stream, buffer, offset, length, position) { + var contents = stream.node.contents; + if (position >= stream.node.usedBytes) return 0; + var size = Math.min(stream.node.usedBytes - position, length); + assert(size >= 0); + if (size > 8 && contents.subarray) { // non-trivial, and typed array + buffer.set(contents.subarray(position, position + size), offset); + } else { + for (var i = 0; i < size; i++) buffer[offset + i] = contents[position + i]; + } + return size; + },write:function(stream, buffer, offset, length, position, canOwn) { + // The data buffer should be a typed array view + assert(!(buffer instanceof ArrayBuffer)); + // If the buffer is located in main memory (HEAP), and if + // memory can grow, we can't hold on to references of the + // memory buffer, as they may get invalidated. That means we + // need to do copy its contents. + if (buffer.buffer === HEAP8.buffer) { + canOwn = false; + } + + if (!length) return 0; + var node = stream.node; + node.timestamp = Date.now(); + + if (buffer.subarray && (!node.contents || node.contents.subarray)) { // This write is from a typed array to a typed array? + if (canOwn) { + assert(position === 0, 'canOwn must imply no weird position inside the file'); + node.contents = buffer.subarray(offset, offset + length); + node.usedBytes = length; + return length; + } else if (node.usedBytes === 0 && position === 0) { // If this is a simple first write to an empty file, do a fast set since we don't need to care about old data. + node.contents = buffer.slice(offset, offset + length); + node.usedBytes = length; + return length; + } else if (position + length <= node.usedBytes) { // Writing to an already allocated and used subrange of the file? + node.contents.set(buffer.subarray(offset, offset + length), position); + return length; + } + } + + // Appending to an existing file and we need to reallocate, or source data did not come as a typed array. + MEMFS.expandFileStorage(node, position+length); + if (node.contents.subarray && buffer.subarray) { + // Use typed array write which is available. + node.contents.set(buffer.subarray(offset, offset + length), position); + } else { + for (var i = 0; i < length; i++) { + node.contents[position + i] = buffer[offset + i]; // Or fall back to manual write if not. + } + } + node.usedBytes = Math.max(node.usedBytes, position + length); + return length; + },llseek:function(stream, offset, whence) { + var position = offset; + if (whence === 1) { + position += stream.position; + } else if (whence === 2) { + if (FS.isFile(stream.node.mode)) { + position += stream.node.usedBytes; + } + } + if (position < 0) { + throw new FS.ErrnoError(28); + } + return position; + },allocate:function(stream, offset, length) { + MEMFS.expandFileStorage(stream.node, offset + length); + stream.node.usedBytes = Math.max(stream.node.usedBytes, offset + length); + },mmap:function(stream, length, position, prot, flags) { + if (!FS.isFile(stream.node.mode)) { + throw new FS.ErrnoError(43); + } + var ptr; + var allocated; + var contents = stream.node.contents; + // Only make a new copy when MAP_PRIVATE is specified. + if (!(flags & 2) && contents.buffer === buffer) { + // We can't emulate MAP_SHARED when the file is not backed by the buffer + // we're mapping to (e.g. the HEAP buffer). + allocated = false; + ptr = contents.byteOffset; + } else { + // Try to avoid unnecessary slices. + if (position > 0 || position + length < contents.length) { + if (contents.subarray) { + contents = contents.subarray(position, position + length); + } else { + contents = Array.prototype.slice.call(contents, position, position + length); + } + } + allocated = true; + ptr = mmapAlloc(length); + if (!ptr) { + throw new FS.ErrnoError(48); + } + HEAP8.set(contents, ptr); + } + return { ptr: ptr, allocated: allocated }; + },msync:function(stream, buffer, offset, length, mmapFlags) { + if (!FS.isFile(stream.node.mode)) { + throw new FS.ErrnoError(43); + } + if (mmapFlags & 2) { + // MAP_PRIVATE calls need not to be synced back to underlying fs + return 0; + } + + var bytesWritten = MEMFS.stream_ops.write(stream, buffer, 0, length, offset, false); + // should we check if bytesWritten and length are the same? + return 0; + }}}; + + /** @param {boolean=} noRunDep */ + function asyncLoad(url, onload, onerror, noRunDep) { + var dep = !noRunDep ? getUniqueRunDependency('al ' + url) : ''; + readAsync(url, (arrayBuffer) => { + assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).'); + onload(new Uint8Array(arrayBuffer)); + if (dep) removeRunDependency(dep); + }, (event) => { + if (onerror) { + onerror(); + } else { + throw 'Loading data file "' + url + '" failed.'; + } + }); + if (dep) addRunDependency(dep); + } + + var ERRNO_MESSAGES = {0:"Success",1:"Arg list too long",2:"Permission denied",3:"Address already in use",4:"Address not available",5:"Address family not supported by protocol family",6:"No more processes",7:"Socket already connected",8:"Bad file number",9:"Trying to read unreadable message",10:"Mount device busy",11:"Operation canceled",12:"No children",13:"Connection aborted",14:"Connection refused",15:"Connection reset by peer",16:"File locking deadlock error",17:"Destination address required",18:"Math arg out of domain of func",19:"Quota exceeded",20:"File exists",21:"Bad address",22:"File too large",23:"Host is unreachable",24:"Identifier removed",25:"Illegal byte sequence",26:"Connection already in progress",27:"Interrupted system call",28:"Invalid argument",29:"I/O error",30:"Socket is already connected",31:"Is a directory",32:"Too many symbolic links",33:"Too many open files",34:"Too many links",35:"Message too long",36:"Multihop attempted",37:"File or path name too long",38:"Network interface is not configured",39:"Connection reset by network",40:"Network is unreachable",41:"Too many open files in system",42:"No buffer space available",43:"No such device",44:"No such file or directory",45:"Exec format error",46:"No record locks available",47:"The link has been severed",48:"Not enough core",49:"No message of desired type",50:"Protocol not available",51:"No space left on device",52:"Function not implemented",53:"Socket is not connected",54:"Not a directory",55:"Directory not empty",56:"State not recoverable",57:"Socket operation on non-socket",59:"Not a typewriter",60:"No such device or address",61:"Value too large for defined data type",62:"Previous owner died",63:"Not super-user",64:"Broken pipe",65:"Protocol error",66:"Unknown protocol",67:"Protocol wrong type for socket",68:"Math result not representable",69:"Read only file system",70:"Illegal seek",71:"No such process",72:"Stale file handle",73:"Connection timed out",74:"Text file busy",75:"Cross-device link",100:"Device not a stream",101:"Bad font file fmt",102:"Invalid slot",103:"Invalid request code",104:"No anode",105:"Block device required",106:"Channel number out of range",107:"Level 3 halted",108:"Level 3 reset",109:"Link number out of range",110:"Protocol driver not attached",111:"No CSI structure available",112:"Level 2 halted",113:"Invalid exchange",114:"Invalid request descriptor",115:"Exchange full",116:"No data (for no delay io)",117:"Timer expired",118:"Out of streams resources",119:"Machine is not on the network",120:"Package not installed",121:"The object is remote",122:"Advertise error",123:"Srmount error",124:"Communication error on send",125:"Cross mount point (not really error)",126:"Given log. name not unique",127:"f.d. invalid for this operation",128:"Remote address changed",129:"Can access a needed shared lib",130:"Accessing a corrupted shared lib",131:".lib section in a.out corrupted",132:"Attempting to link in too many libs",133:"Attempting to exec a shared library",135:"Streams pipe error",136:"Too many users",137:"Socket type not supported",138:"Not supported",139:"Protocol family not supported",140:"Can't send after socket shutdown",141:"Too many references",142:"Host is down",148:"No medium (in tape drive)",156:"Level 2 not synchronized"}; + + var ERRNO_CODES = {}; + var FS = {root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:(path, opts = {}) => { + path = PATH_FS.resolve(FS.cwd(), path); + + if (!path) return { path: '', node: null }; + + var defaults = { + follow_mount: true, + recurse_count: 0 + }; + opts = Object.assign(defaults, opts) + + if (opts.recurse_count > 8) { // max recursive lookup of 8 + throw new FS.ErrnoError(32); + } + + // split the path + var parts = PATH.normalizeArray(path.split('/').filter((p) => !!p), false); + + // start at the root + var current = FS.root; + var current_path = '/'; + + for (var i = 0; i < parts.length; i++) { + var islast = (i === parts.length-1); + if (islast && opts.parent) { + // stop resolving + break; + } + + current = FS.lookupNode(current, parts[i]); + current_path = PATH.join2(current_path, parts[i]); + + // jump to the mount's root node if this is a mountpoint + if (FS.isMountpoint(current)) { + if (!islast || (islast && opts.follow_mount)) { + current = current.mounted.root; + } + } + + // by default, lookupPath will not follow a symlink if it is the final path component. + // setting opts.follow = true will override this behavior. + if (!islast || opts.follow) { + var count = 0; + while (FS.isLink(current.mode)) { + var link = FS.readlink(current_path); + current_path = PATH_FS.resolve(PATH.dirname(current_path), link); + + var lookup = FS.lookupPath(current_path, { recurse_count: opts.recurse_count + 1 }); + current = lookup.node; + + if (count++ > 40) { // limit max consecutive symlinks to 40 (SYMLOOP_MAX). + throw new FS.ErrnoError(32); + } + } + } + } + + return { path: current_path, node: current }; + },getPath:(node) => { + var path; + while (true) { + if (FS.isRoot(node)) { + var mount = node.mount.mountpoint; + if (!path) return mount; + return mount[mount.length-1] !== '/' ? mount + '/' + path : mount + path; + } + path = path ? node.name + '/' + path : node.name; + node = node.parent; + } + },hashName:(parentid, name) => { + var hash = 0; + + for (var i = 0; i < name.length; i++) { + hash = ((hash << 5) - hash + name.charCodeAt(i)) | 0; + } + return ((parentid + hash) >>> 0) % FS.nameTable.length; + },hashAddNode:(node) => { + var hash = FS.hashName(node.parent.id, node.name); + node.name_next = FS.nameTable[hash]; + FS.nameTable[hash] = node; + },hashRemoveNode:(node) => { + var hash = FS.hashName(node.parent.id, node.name); + if (FS.nameTable[hash] === node) { + FS.nameTable[hash] = node.name_next; + } else { + var current = FS.nameTable[hash]; + while (current) { + if (current.name_next === node) { + current.name_next = node.name_next; + break; + } + current = current.name_next; + } + } + },lookupNode:(parent, name) => { + var errCode = FS.mayLookup(parent); + if (errCode) { + throw new FS.ErrnoError(errCode, parent); + } + var hash = FS.hashName(parent.id, name); + for (var node = FS.nameTable[hash]; node; node = node.name_next) { + var nodeName = node.name; + if (node.parent.id === parent.id && nodeName === name) { + return node; + } + } + // if we failed to find it in the cache, call into the VFS + return FS.lookup(parent, name); + },createNode:(parent, name, mode, rdev) => { + assert(typeof parent == 'object') + var node = new FS.FSNode(parent, name, mode, rdev); + + FS.hashAddNode(node); + + return node; + },destroyNode:(node) => { + FS.hashRemoveNode(node); + },isRoot:(node) => { + return node === node.parent; + },isMountpoint:(node) => { + return !!node.mounted; + },isFile:(mode) => { + return (mode & 61440) === 32768; + },isDir:(mode) => { + return (mode & 61440) === 16384; + },isLink:(mode) => { + return (mode & 61440) === 40960; + },isChrdev:(mode) => { + return (mode & 61440) === 8192; + },isBlkdev:(mode) => { + return (mode & 61440) === 24576; + },isFIFO:(mode) => { + return (mode & 61440) === 4096; + },isSocket:(mode) => { + return (mode & 49152) === 49152; + },flagModes:{"r":0,"r+":2,"w":577,"w+":578,"a":1089,"a+":1090},modeStringToFlags:(str) => { + var flags = FS.flagModes[str]; + if (typeof flags == 'undefined') { + throw new Error('Unknown file open mode: ' + str); + } + return flags; + },flagsToPermissionString:(flag) => { + var perms = ['r', 'w', 'rw'][flag & 3]; + if ((flag & 512)) { + perms += 'w'; + } + return perms; + },nodePermissions:(node, perms) => { + if (FS.ignorePermissions) { + return 0; + } + // return 0 if any user, group or owner bits are set. + if (perms.includes('r') && !(node.mode & 292)) { + return 2; + } else if (perms.includes('w') && !(node.mode & 146)) { + return 2; + } else if (perms.includes('x') && !(node.mode & 73)) { + return 2; + } + return 0; + },mayLookup:(dir) => { + var errCode = FS.nodePermissions(dir, 'x'); + if (errCode) return errCode; + if (!dir.node_ops.lookup) return 2; + return 0; + },mayCreate:(dir, name) => { + try { + var node = FS.lookupNode(dir, name); + return 20; + } catch (e) { + } + return FS.nodePermissions(dir, 'wx'); + },mayDelete:(dir, name, isdir) => { + var node; + try { + node = FS.lookupNode(dir, name); + } catch (e) { + return e.errno; + } + var errCode = FS.nodePermissions(dir, 'wx'); + if (errCode) { + return errCode; + } + if (isdir) { + if (!FS.isDir(node.mode)) { + return 54; + } + if (FS.isRoot(node) || FS.getPath(node) === FS.cwd()) { + return 10; + } + } else { + if (FS.isDir(node.mode)) { + return 31; + } + } + return 0; + },mayOpen:(node, flags) => { + if (!node) { + return 44; + } + if (FS.isLink(node.mode)) { + return 32; + } else if (FS.isDir(node.mode)) { + if (FS.flagsToPermissionString(flags) !== 'r' || // opening for write + (flags & 512)) { // TODO: check for O_SEARCH? (== search for dir only) + return 31; + } + } + return FS.nodePermissions(node, FS.flagsToPermissionString(flags)); + },MAX_OPEN_FDS:4096,nextfd:(fd_start = 0, fd_end = FS.MAX_OPEN_FDS) => { + for (var fd = fd_start; fd <= fd_end; fd++) { + if (!FS.streams[fd]) { + return fd; + } + } + throw new FS.ErrnoError(33); + },getStream:(fd) => FS.streams[fd],createStream:(stream, fd_start, fd_end) => { + if (!FS.FSStream) { + FS.FSStream = /** @constructor */ function() { + this.shared = { }; + }; + FS.FSStream.prototype = {}; + Object.defineProperties(FS.FSStream.prototype, { + object: { + /** @this {FS.FSStream} */ + get: function() { return this.node; }, + /** @this {FS.FSStream} */ + set: function(val) { this.node = val; } + }, + isRead: { + /** @this {FS.FSStream} */ + get: function() { return (this.flags & 2097155) !== 1; } + }, + isWrite: { + /** @this {FS.FSStream} */ + get: function() { return (this.flags & 2097155) !== 0; } + }, + isAppend: { + /** @this {FS.FSStream} */ + get: function() { return (this.flags & 1024); } + }, + flags: { + /** @this {FS.FSStream} */ + get: function() { return this.shared.flags; }, + /** @this {FS.FSStream} */ + set: function(val) { this.shared.flags = val; }, + }, + position : { + /** @this {FS.FSStream} */ + get: function() { return this.shared.position; }, + /** @this {FS.FSStream} */ + set: function(val) { this.shared.position = val; }, + }, + }); + } + // clone it, so we can return an instance of FSStream + stream = Object.assign(new FS.FSStream(), stream); + var fd = FS.nextfd(fd_start, fd_end); + stream.fd = fd; + FS.streams[fd] = stream; + return stream; + },closeStream:(fd) => { + FS.streams[fd] = null; + },chrdev_stream_ops:{open:(stream) => { + var device = FS.getDevice(stream.node.rdev); + // override node's stream ops with the device's + stream.stream_ops = device.stream_ops; + // forward the open call + if (stream.stream_ops.open) { + stream.stream_ops.open(stream); + } + },llseek:() => { + throw new FS.ErrnoError(70); + }},major:(dev) => ((dev) >> 8),minor:(dev) => ((dev) & 0xff),makedev:(ma, mi) => ((ma) << 8 | (mi)),registerDevice:(dev, ops) => { + FS.devices[dev] = { stream_ops: ops }; + },getDevice:(dev) => FS.devices[dev],getMounts:(mount) => { + var mounts = []; + var check = [mount]; + + while (check.length) { + var m = check.pop(); + + mounts.push(m); + + check.push.apply(check, m.mounts); + } + + return mounts; + },syncfs:(populate, callback) => { + if (typeof populate == 'function') { + callback = populate; + populate = false; + } + + FS.syncFSRequests++; + + if (FS.syncFSRequests > 1) { + err('warning: ' + FS.syncFSRequests + ' FS.syncfs operations in flight at once, probably just doing extra work'); + } + + var mounts = FS.getMounts(FS.root.mount); + var completed = 0; + + function doCallback(errCode) { + assert(FS.syncFSRequests > 0); + FS.syncFSRequests--; + return callback(errCode); + } + + function done(errCode) { + if (errCode) { + if (!done.errored) { + done.errored = true; + return doCallback(errCode); + } + return; + } + if (++completed >= mounts.length) { + doCallback(null); + } + }; + + // sync all mounts + mounts.forEach((mount) => { + if (!mount.type.syncfs) { + return done(null); + } + mount.type.syncfs(mount, populate, done); + }); + },mount:(type, opts, mountpoint) => { + if (typeof type == 'string') { + // The filesystem was not included, and instead we have an error + // message stored in the variable. + throw type; + } + var root = mountpoint === '/'; + var pseudo = !mountpoint; + var node; + + if (root && FS.root) { + throw new FS.ErrnoError(10); + } else if (!root && !pseudo) { + var lookup = FS.lookupPath(mountpoint, { follow_mount: false }); + + mountpoint = lookup.path; // use the absolute path + node = lookup.node; + + if (FS.isMountpoint(node)) { + throw new FS.ErrnoError(10); + } + + if (!FS.isDir(node.mode)) { + throw new FS.ErrnoError(54); + } + } + + var mount = { + type: type, + opts: opts, + mountpoint: mountpoint, + mounts: [] + }; + + // create a root node for the fs + var mountRoot = type.mount(mount); + mountRoot.mount = mount; + mount.root = mountRoot; + + if (root) { + FS.root = mountRoot; + } else if (node) { + // set as a mountpoint + node.mounted = mount; + + // add the new mount to the current mount's children + if (node.mount) { + node.mount.mounts.push(mount); + } + } + + return mountRoot; + },unmount:(mountpoint) => { + var lookup = FS.lookupPath(mountpoint, { follow_mount: false }); + + if (!FS.isMountpoint(lookup.node)) { + throw new FS.ErrnoError(28); + } + + // destroy the nodes for this mount, and all its child mounts + var node = lookup.node; + var mount = node.mounted; + var mounts = FS.getMounts(mount); + + Object.keys(FS.nameTable).forEach((hash) => { + var current = FS.nameTable[hash]; + + while (current) { + var next = current.name_next; + + if (mounts.includes(current.mount)) { + FS.destroyNode(current); + } + + current = next; + } + }); + + // no longer a mountpoint + node.mounted = null; + + // remove this mount from the child mounts + var idx = node.mount.mounts.indexOf(mount); + assert(idx !== -1); + node.mount.mounts.splice(idx, 1); + },lookup:(parent, name) => { + return parent.node_ops.lookup(parent, name); + },mknod:(path, mode, dev) => { + var lookup = FS.lookupPath(path, { parent: true }); + var parent = lookup.node; + var name = PATH.basename(path); + if (!name || name === '.' || name === '..') { + throw new FS.ErrnoError(28); + } + var errCode = FS.mayCreate(parent, name); + if (errCode) { + throw new FS.ErrnoError(errCode); + } + if (!parent.node_ops.mknod) { + throw new FS.ErrnoError(63); + } + return parent.node_ops.mknod(parent, name, mode, dev); + },create:(path, mode) => { + mode = mode !== undefined ? mode : 438 /* 0666 */; + mode &= 4095; + mode |= 32768; + return FS.mknod(path, mode, 0); + },mkdir:(path, mode) => { + mode = mode !== undefined ? mode : 511 /* 0777 */; + mode &= 511 | 512; + mode |= 16384; + return FS.mknod(path, mode, 0); + },mkdirTree:(path, mode) => { + var dirs = path.split('/'); + var d = ''; + for (var i = 0; i < dirs.length; ++i) { + if (!dirs[i]) continue; + d += '/' + dirs[i]; + try { + FS.mkdir(d, mode); + } catch(e) { + if (e.errno != 20) throw e; + } + } + },mkdev:(path, mode, dev) => { + if (typeof dev == 'undefined') { + dev = mode; + mode = 438 /* 0666 */; + } + mode |= 8192; + return FS.mknod(path, mode, dev); + },symlink:(oldpath, newpath) => { + if (!PATH_FS.resolve(oldpath)) { + throw new FS.ErrnoError(44); + } + var lookup = FS.lookupPath(newpath, { parent: true }); + var parent = lookup.node; + if (!parent) { + throw new FS.ErrnoError(44); + } + var newname = PATH.basename(newpath); + var errCode = FS.mayCreate(parent, newname); + if (errCode) { + throw new FS.ErrnoError(errCode); + } + if (!parent.node_ops.symlink) { + throw new FS.ErrnoError(63); + } + return parent.node_ops.symlink(parent, newname, oldpath); + },rename:(old_path, new_path) => { + var old_dirname = PATH.dirname(old_path); + var new_dirname = PATH.dirname(new_path); + var old_name = PATH.basename(old_path); + var new_name = PATH.basename(new_path); + // parents must exist + var lookup, old_dir, new_dir; + + // let the errors from non existant directories percolate up + lookup = FS.lookupPath(old_path, { parent: true }); + old_dir = lookup.node; + lookup = FS.lookupPath(new_path, { parent: true }); + new_dir = lookup.node; + + if (!old_dir || !new_dir) throw new FS.ErrnoError(44); + // need to be part of the same mount + if (old_dir.mount !== new_dir.mount) { + throw new FS.ErrnoError(75); + } + // source must exist + var old_node = FS.lookupNode(old_dir, old_name); + // old path should not be an ancestor of the new path + var relative = PATH_FS.relative(old_path, new_dirname); + if (relative.charAt(0) !== '.') { + throw new FS.ErrnoError(28); + } + // new path should not be an ancestor of the old path + relative = PATH_FS.relative(new_path, old_dirname); + if (relative.charAt(0) !== '.') { + throw new FS.ErrnoError(55); + } + // see if the new path already exists + var new_node; + try { + new_node = FS.lookupNode(new_dir, new_name); + } catch (e) { + // not fatal + } + // early out if nothing needs to change + if (old_node === new_node) { + return; + } + // we'll need to delete the old entry + var isdir = FS.isDir(old_node.mode); + var errCode = FS.mayDelete(old_dir, old_name, isdir); + if (errCode) { + throw new FS.ErrnoError(errCode); + } + // need delete permissions if we'll be overwriting. + // need create permissions if new doesn't already exist. + errCode = new_node ? + FS.mayDelete(new_dir, new_name, isdir) : + FS.mayCreate(new_dir, new_name); + if (errCode) { + throw new FS.ErrnoError(errCode); + } + if (!old_dir.node_ops.rename) { + throw new FS.ErrnoError(63); + } + if (FS.isMountpoint(old_node) || (new_node && FS.isMountpoint(new_node))) { + throw new FS.ErrnoError(10); + } + // if we are going to change the parent, check write permissions + if (new_dir !== old_dir) { + errCode = FS.nodePermissions(old_dir, 'w'); + if (errCode) { + throw new FS.ErrnoError(errCode); + } + } + // remove the node from the lookup hash + FS.hashRemoveNode(old_node); + // do the underlying fs rename + try { + old_dir.node_ops.rename(old_node, new_dir, new_name); + } catch (e) { + throw e; + } finally { + // add the node back to the hash (in case node_ops.rename + // changed its name) + FS.hashAddNode(old_node); + } + },rmdir:(path) => { + var lookup = FS.lookupPath(path, { parent: true }); + var parent = lookup.node; + var name = PATH.basename(path); + var node = FS.lookupNode(parent, name); + var errCode = FS.mayDelete(parent, name, true); + if (errCode) { + throw new FS.ErrnoError(errCode); + } + if (!parent.node_ops.rmdir) { + throw new FS.ErrnoError(63); + } + if (FS.isMountpoint(node)) { + throw new FS.ErrnoError(10); + } + parent.node_ops.rmdir(parent, name); + FS.destroyNode(node); + },readdir:(path) => { + var lookup = FS.lookupPath(path, { follow: true }); + var node = lookup.node; + if (!node.node_ops.readdir) { + throw new FS.ErrnoError(54); + } + return node.node_ops.readdir(node); + },unlink:(path) => { + var lookup = FS.lookupPath(path, { parent: true }); + var parent = lookup.node; + if (!parent) { + throw new FS.ErrnoError(44); + } + var name = PATH.basename(path); + var node = FS.lookupNode(parent, name); + var errCode = FS.mayDelete(parent, name, false); + if (errCode) { + // According to POSIX, we should map EISDIR to EPERM, but + // we instead do what Linux does (and we must, as we use + // the musl linux libc). + throw new FS.ErrnoError(errCode); + } + if (!parent.node_ops.unlink) { + throw new FS.ErrnoError(63); + } + if (FS.isMountpoint(node)) { + throw new FS.ErrnoError(10); + } + parent.node_ops.unlink(parent, name); + FS.destroyNode(node); + },readlink:(path) => { + var lookup = FS.lookupPath(path); + var link = lookup.node; + if (!link) { + throw new FS.ErrnoError(44); + } + if (!link.node_ops.readlink) { + throw new FS.ErrnoError(28); + } + return PATH_FS.resolve(FS.getPath(link.parent), link.node_ops.readlink(link)); + },stat:(path, dontFollow) => { + var lookup = FS.lookupPath(path, { follow: !dontFollow }); + var node = lookup.node; + if (!node) { + throw new FS.ErrnoError(44); + } + if (!node.node_ops.getattr) { + throw new FS.ErrnoError(63); + } + return node.node_ops.getattr(node); + },lstat:(path) => { + return FS.stat(path, true); + },chmod:(path, mode, dontFollow) => { + var node; + if (typeof path == 'string') { + var lookup = FS.lookupPath(path, { follow: !dontFollow }); + node = lookup.node; + } else { + node = path; + } + if (!node.node_ops.setattr) { + throw new FS.ErrnoError(63); + } + node.node_ops.setattr(node, { + mode: (mode & 4095) | (node.mode & ~4095), + timestamp: Date.now() + }); + },lchmod:(path, mode) => { + FS.chmod(path, mode, true); + },fchmod:(fd, mode) => { + var stream = FS.getStream(fd); + if (!stream) { + throw new FS.ErrnoError(8); + } + FS.chmod(stream.node, mode); + },chown:(path, uid, gid, dontFollow) => { + var node; + if (typeof path == 'string') { + var lookup = FS.lookupPath(path, { follow: !dontFollow }); + node = lookup.node; + } else { + node = path; + } + if (!node.node_ops.setattr) { + throw new FS.ErrnoError(63); + } + node.node_ops.setattr(node, { + timestamp: Date.now() + // we ignore the uid / gid for now + }); + },lchown:(path, uid, gid) => { + FS.chown(path, uid, gid, true); + },fchown:(fd, uid, gid) => { + var stream = FS.getStream(fd); + if (!stream) { + throw new FS.ErrnoError(8); + } + FS.chown(stream.node, uid, gid); + },truncate:(path, len) => { + if (len < 0) { + throw new FS.ErrnoError(28); + } + var node; + if (typeof path == 'string') { + var lookup = FS.lookupPath(path, { follow: true }); + node = lookup.node; + } else { + node = path; + } + if (!node.node_ops.setattr) { + throw new FS.ErrnoError(63); + } + if (FS.isDir(node.mode)) { + throw new FS.ErrnoError(31); + } + if (!FS.isFile(node.mode)) { + throw new FS.ErrnoError(28); + } + var errCode = FS.nodePermissions(node, 'w'); + if (errCode) { + throw new FS.ErrnoError(errCode); + } + node.node_ops.setattr(node, { + size: len, + timestamp: Date.now() + }); + },ftruncate:(fd, len) => { + var stream = FS.getStream(fd); + if (!stream) { + throw new FS.ErrnoError(8); + } + if ((stream.flags & 2097155) === 0) { + throw new FS.ErrnoError(28); + } + FS.truncate(stream.node, len); + },utime:(path, atime, mtime) => { + var lookup = FS.lookupPath(path, { follow: true }); + var node = lookup.node; + node.node_ops.setattr(node, { + timestamp: Math.max(atime, mtime) + }); + },open:(path, flags, mode) => { + if (path === "") { + throw new FS.ErrnoError(44); + } + flags = typeof flags == 'string' ? FS.modeStringToFlags(flags) : flags; + mode = typeof mode == 'undefined' ? 438 /* 0666 */ : mode; + if ((flags & 64)) { + mode = (mode & 4095) | 32768; + } else { + mode = 0; + } + var node; + if (typeof path == 'object') { + node = path; + } else { + path = PATH.normalize(path); + try { + var lookup = FS.lookupPath(path, { + follow: !(flags & 131072) + }); + node = lookup.node; + } catch (e) { + // ignore + } + } + // perhaps we need to create the node + var created = false; + if ((flags & 64)) { + if (node) { + // if O_CREAT and O_EXCL are set, error out if the node already exists + if ((flags & 128)) { + throw new FS.ErrnoError(20); + } + } else { + // node doesn't exist, try to create it + node = FS.mknod(path, mode, 0); + created = true; + } + } + if (!node) { + throw new FS.ErrnoError(44); + } + // can't truncate a device + if (FS.isChrdev(node.mode)) { + flags &= ~512; + } + // if asked only for a directory, then this must be one + if ((flags & 65536) && !FS.isDir(node.mode)) { + throw new FS.ErrnoError(54); + } + // check permissions, if this is not a file we just created now (it is ok to + // create and write to a file with read-only permissions; it is read-only + // for later use) + if (!created) { + var errCode = FS.mayOpen(node, flags); + if (errCode) { + throw new FS.ErrnoError(errCode); + } + } + // do truncation if necessary + if ((flags & 512) && !created) { + FS.truncate(node, 0); + } + // we've already handled these, don't pass down to the underlying vfs + flags &= ~(128 | 512 | 131072); + + // register the stream with the filesystem + var stream = FS.createStream({ + node: node, + path: FS.getPath(node), // we want the absolute path to the node + flags: flags, + seekable: true, + position: 0, + stream_ops: node.stream_ops, + // used by the file family libc calls (fopen, fwrite, ferror, etc.) + ungotten: [], + error: false + }); + // call the new stream's open function + if (stream.stream_ops.open) { + stream.stream_ops.open(stream); + } + if (Module['logReadFiles'] && !(flags & 1)) { + if (!FS.readFiles) FS.readFiles = {}; + if (!(path in FS.readFiles)) { + FS.readFiles[path] = 1; + } + } + return stream; + },close:(stream) => { + if (FS.isClosed(stream)) { + throw new FS.ErrnoError(8); + } + if (stream.getdents) stream.getdents = null; // free readdir state + try { + if (stream.stream_ops.close) { + stream.stream_ops.close(stream); + } + } catch (e) { + throw e; + } finally { + FS.closeStream(stream.fd); + } + stream.fd = null; + },isClosed:(stream) => { + return stream.fd === null; + },llseek:(stream, offset, whence) => { + if (FS.isClosed(stream)) { + throw new FS.ErrnoError(8); + } + if (!stream.seekable || !stream.stream_ops.llseek) { + throw new FS.ErrnoError(70); + } + if (whence != 0 && whence != 1 && whence != 2) { + throw new FS.ErrnoError(28); + } + stream.position = stream.stream_ops.llseek(stream, offset, whence); + stream.ungotten = []; + return stream.position; + },read:(stream, buffer, offset, length, position) => { + if (length < 0 || position < 0) { + throw new FS.ErrnoError(28); + } + if (FS.isClosed(stream)) { + throw new FS.ErrnoError(8); + } + if ((stream.flags & 2097155) === 1) { + throw new FS.ErrnoError(8); + } + if (FS.isDir(stream.node.mode)) { + throw new FS.ErrnoError(31); + } + if (!stream.stream_ops.read) { + throw new FS.ErrnoError(28); + } + var seeking = typeof position != 'undefined'; + if (!seeking) { + position = stream.position; + } else if (!stream.seekable) { + throw new FS.ErrnoError(70); + } + var bytesRead = stream.stream_ops.read(stream, buffer, offset, length, position); + if (!seeking) stream.position += bytesRead; + return bytesRead; + },write:(stream, buffer, offset, length, position, canOwn) => { + if (length < 0 || position < 0) { + throw new FS.ErrnoError(28); + } + if (FS.isClosed(stream)) { + throw new FS.ErrnoError(8); + } + if ((stream.flags & 2097155) === 0) { + throw new FS.ErrnoError(8); + } + if (FS.isDir(stream.node.mode)) { + throw new FS.ErrnoError(31); + } + if (!stream.stream_ops.write) { + throw new FS.ErrnoError(28); + } + if (stream.seekable && stream.flags & 1024) { + // seek to the end before writing in append mode + FS.llseek(stream, 0, 2); + } + var seeking = typeof position != 'undefined'; + if (!seeking) { + position = stream.position; + } else if (!stream.seekable) { + throw new FS.ErrnoError(70); + } + var bytesWritten = stream.stream_ops.write(stream, buffer, offset, length, position, canOwn); + if (!seeking) stream.position += bytesWritten; + return bytesWritten; + },allocate:(stream, offset, length) => { + if (FS.isClosed(stream)) { + throw new FS.ErrnoError(8); + } + if (offset < 0 || length <= 0) { + throw new FS.ErrnoError(28); + } + if ((stream.flags & 2097155) === 0) { + throw new FS.ErrnoError(8); + } + if (!FS.isFile(stream.node.mode) && !FS.isDir(stream.node.mode)) { + throw new FS.ErrnoError(43); + } + if (!stream.stream_ops.allocate) { + throw new FS.ErrnoError(138); + } + stream.stream_ops.allocate(stream, offset, length); + },mmap:(stream, length, position, prot, flags) => { + // User requests writing to file (prot & PROT_WRITE != 0). + // Checking if we have permissions to write to the file unless + // MAP_PRIVATE flag is set. According to POSIX spec it is possible + // to write to file opened in read-only mode with MAP_PRIVATE flag, + // as all modifications will be visible only in the memory of + // the current process. + if ((prot & 2) !== 0 + && (flags & 2) === 0 + && (stream.flags & 2097155) !== 2) { + throw new FS.ErrnoError(2); + } + if ((stream.flags & 2097155) === 1) { + throw new FS.ErrnoError(2); + } + if (!stream.stream_ops.mmap) { + throw new FS.ErrnoError(43); + } + return stream.stream_ops.mmap(stream, length, position, prot, flags); + },msync:(stream, buffer, offset, length, mmapFlags) => { + if (!stream || !stream.stream_ops.msync) { + return 0; + } + return stream.stream_ops.msync(stream, buffer, offset, length, mmapFlags); + },munmap:(stream) => 0,ioctl:(stream, cmd, arg) => { + if (!stream.stream_ops.ioctl) { + throw new FS.ErrnoError(59); + } + return stream.stream_ops.ioctl(stream, cmd, arg); + },readFile:(path, opts = {}) => { + opts.flags = opts.flags || 0; + opts.encoding = opts.encoding || 'binary'; + if (opts.encoding !== 'utf8' && opts.encoding !== 'binary') { + throw new Error('Invalid encoding type "' + opts.encoding + '"'); + } + var ret; + var stream = FS.open(path, opts.flags); + var stat = FS.stat(path); + var length = stat.size; + var buf = new Uint8Array(length); + FS.read(stream, buf, 0, length, 0); + if (opts.encoding === 'utf8') { + ret = UTF8ArrayToString(buf, 0); + } else if (opts.encoding === 'binary') { + ret = buf; + } + FS.close(stream); + return ret; + },writeFile:(path, data, opts = {}) => { + opts.flags = opts.flags || 577; + var stream = FS.open(path, opts.flags, opts.mode); + if (typeof data == 'string') { + var buf = new Uint8Array(lengthBytesUTF8(data)+1); + var actualNumBytes = stringToUTF8Array(data, buf, 0, buf.length); + FS.write(stream, buf, 0, actualNumBytes, undefined, opts.canOwn); + } else if (ArrayBuffer.isView(data)) { + FS.write(stream, data, 0, data.byteLength, undefined, opts.canOwn); + } else { + throw new Error('Unsupported data type'); + } + FS.close(stream); + },cwd:() => FS.currentPath,chdir:(path) => { + var lookup = FS.lookupPath(path, { follow: true }); + if (lookup.node === null) { + throw new FS.ErrnoError(44); + } + if (!FS.isDir(lookup.node.mode)) { + throw new FS.ErrnoError(54); + } + var errCode = FS.nodePermissions(lookup.node, 'x'); + if (errCode) { + throw new FS.ErrnoError(errCode); + } + FS.currentPath = lookup.path; + },createDefaultDirectories:() => { + FS.mkdir('/tmp'); + FS.mkdir('/home'); + FS.mkdir('/home/web_user'); + },createDefaultDevices:() => { + // create /dev + FS.mkdir('/dev'); + // setup /dev/null + FS.registerDevice(FS.makedev(1, 3), { + read: () => 0, + write: (stream, buffer, offset, length, pos) => length, + }); + FS.mkdev('/dev/null', FS.makedev(1, 3)); + // setup /dev/tty and /dev/tty1 + // stderr needs to print output using err() rather than out() + // so we register a second tty just for it. + TTY.register(FS.makedev(5, 0), TTY.default_tty_ops); + TTY.register(FS.makedev(6, 0), TTY.default_tty1_ops); + FS.mkdev('/dev/tty', FS.makedev(5, 0)); + FS.mkdev('/dev/tty1', FS.makedev(6, 0)); + // setup /dev/[u]random + var random_device = getRandomDevice(); + FS.createDevice('/dev', 'random', random_device); + FS.createDevice('/dev', 'urandom', random_device); + // we're not going to emulate the actual shm device, + // just create the tmp dirs that reside in it commonly + FS.mkdir('/dev/shm'); + FS.mkdir('/dev/shm/tmp'); + },createSpecialDirectories:() => { + // create /proc/self/fd which allows /proc/self/fd/6 => readlink gives the + // name of the stream for fd 6 (see test_unistd_ttyname) + FS.mkdir('/proc'); + var proc_self = FS.mkdir('/proc/self'); + FS.mkdir('/proc/self/fd'); + FS.mount({ + mount: () => { + var node = FS.createNode(proc_self, 'fd', 16384 | 511 /* 0777 */, 73); + node.node_ops = { + lookup: (parent, name) => { + var fd = +name; + var stream = FS.getStream(fd); + if (!stream) throw new FS.ErrnoError(8); + var ret = { + parent: null, + mount: { mountpoint: 'fake' }, + node_ops: { readlink: () => stream.path }, + }; + ret.parent = ret; // make it look like a simple root node + return ret; + } + }; + return node; + } + }, {}, '/proc/self/fd'); + },createStandardStreams:() => { + // TODO deprecate the old functionality of a single + // input / output callback and that utilizes FS.createDevice + // and instead require a unique set of stream ops + + // by default, we symlink the standard streams to the + // default tty devices. however, if the standard streams + // have been overwritten we create a unique device for + // them instead. + if (Module['stdin']) { + FS.createDevice('/dev', 'stdin', Module['stdin']); + } else { + FS.symlink('/dev/tty', '/dev/stdin'); + } + if (Module['stdout']) { + FS.createDevice('/dev', 'stdout', null, Module['stdout']); + } else { + FS.symlink('/dev/tty', '/dev/stdout'); + } + if (Module['stderr']) { + FS.createDevice('/dev', 'stderr', null, Module['stderr']); + } else { + FS.symlink('/dev/tty1', '/dev/stderr'); + } + + // open default streams for the stdin, stdout and stderr devices + var stdin = FS.open('/dev/stdin', 0); + var stdout = FS.open('/dev/stdout', 1); + var stderr = FS.open('/dev/stderr', 1); + assert(stdin.fd === 0, 'invalid handle for stdin (' + stdin.fd + ')'); + assert(stdout.fd === 1, 'invalid handle for stdout (' + stdout.fd + ')'); + assert(stderr.fd === 2, 'invalid handle for stderr (' + stderr.fd + ')'); + },ensureErrnoError:() => { + if (FS.ErrnoError) return; + FS.ErrnoError = /** @this{Object} */ function ErrnoError(errno, node) { + this.node = node; + this.setErrno = /** @this{Object} */ function(errno) { + this.errno = errno; + for (var key in ERRNO_CODES) { + if (ERRNO_CODES[key] === errno) { + this.code = key; + break; + } + } + }; + this.setErrno(errno); + this.message = ERRNO_MESSAGES[errno]; + + // Try to get a maximally helpful stack trace. On Node.js, getting Error.stack + // now ensures it shows what we want. + if (this.stack) { + // Define the stack property for Node.js 4, which otherwise errors on the next line. + Object.defineProperty(this, "stack", { value: (new Error).stack, writable: true }); + this.stack = demangleAll(this.stack); + } + }; + FS.ErrnoError.prototype = new Error(); + FS.ErrnoError.prototype.constructor = FS.ErrnoError; + // Some errors may happen quite a bit, to avoid overhead we reuse them (and suffer a lack of stack info) + [44].forEach((code) => { + FS.genericErrors[code] = new FS.ErrnoError(code); + FS.genericErrors[code].stack = ''; + }); + },staticInit:() => { + FS.ensureErrnoError(); + + FS.nameTable = new Array(4096); + + FS.mount(MEMFS, {}, '/'); + + FS.createDefaultDirectories(); + FS.createDefaultDevices(); + FS.createSpecialDirectories(); + + FS.filesystems = { + 'MEMFS': MEMFS, + }; + },init:(input, output, error) => { + assert(!FS.init.initialized, 'FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)'); + FS.init.initialized = true; + + FS.ensureErrnoError(); + + // Allow Module.stdin etc. to provide defaults, if none explicitly passed to us here + Module['stdin'] = input || Module['stdin']; + Module['stdout'] = output || Module['stdout']; + Module['stderr'] = error || Module['stderr']; + + FS.createStandardStreams(); + },quit:() => { + FS.init.initialized = false; + // force-flush all streams, so we get musl std streams printed out + _fflush(0); + // close all of our streams + for (var i = 0; i < FS.streams.length; i++) { + var stream = FS.streams[i]; + if (!stream) { + continue; + } + FS.close(stream); + } + },getMode:(canRead, canWrite) => { + var mode = 0; + if (canRead) mode |= 292 | 73; + if (canWrite) mode |= 146; + return mode; + },findObject:(path, dontResolveLastLink) => { + var ret = FS.analyzePath(path, dontResolveLastLink); + if (!ret.exists) { + return null; + } + return ret.object; + },analyzePath:(path, dontResolveLastLink) => { + // operate from within the context of the symlink's target + try { + var lookup = FS.lookupPath(path, { follow: !dontResolveLastLink }); + path = lookup.path; + } catch (e) { + } + var ret = { + isRoot: false, exists: false, error: 0, name: null, path: null, object: null, + parentExists: false, parentPath: null, parentObject: null + }; + try { + var lookup = FS.lookupPath(path, { parent: true }); + ret.parentExists = true; + ret.parentPath = lookup.path; + ret.parentObject = lookup.node; + ret.name = PATH.basename(path); + lookup = FS.lookupPath(path, { follow: !dontResolveLastLink }); + ret.exists = true; + ret.path = lookup.path; + ret.object = lookup.node; + ret.name = lookup.node.name; + ret.isRoot = lookup.path === '/'; + } catch (e) { + ret.error = e.errno; + }; + return ret; + },createPath:(parent, path, canRead, canWrite) => { + parent = typeof parent == 'string' ? parent : FS.getPath(parent); + var parts = path.split('/').reverse(); + while (parts.length) { + var part = parts.pop(); + if (!part) continue; + var current = PATH.join2(parent, part); + try { + FS.mkdir(current); + } catch (e) { + // ignore EEXIST + } + parent = current; + } + return current; + },createFile:(parent, name, properties, canRead, canWrite) => { + var path = PATH.join2(typeof parent == 'string' ? parent : FS.getPath(parent), name); + var mode = FS.getMode(canRead, canWrite); + return FS.create(path, mode); + },createDataFile:(parent, name, data, canRead, canWrite, canOwn) => { + var path = name; + if (parent) { + parent = typeof parent == 'string' ? parent : FS.getPath(parent); + path = name ? PATH.join2(parent, name) : parent; + } + var mode = FS.getMode(canRead, canWrite); + var node = FS.create(path, mode); + if (data) { + if (typeof data == 'string') { + var arr = new Array(data.length); + for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i); + data = arr; + } + // make sure we can write to the file + FS.chmod(node, mode | 146); + var stream = FS.open(node, 577); + FS.write(stream, data, 0, data.length, 0, canOwn); + FS.close(stream); + FS.chmod(node, mode); + } + return node; + },createDevice:(parent, name, input, output) => { + var path = PATH.join2(typeof parent == 'string' ? parent : FS.getPath(parent), name); + var mode = FS.getMode(!!input, !!output); + if (!FS.createDevice.major) FS.createDevice.major = 64; + var dev = FS.makedev(FS.createDevice.major++, 0); + // Create a fake device that a set of stream ops to emulate + // the old behavior. + FS.registerDevice(dev, { + open: (stream) => { + stream.seekable = false; + }, + close: (stream) => { + // flush any pending line data + if (output && output.buffer && output.buffer.length) { + output(10); + } + }, + read: (stream, buffer, offset, length, pos /* ignored */) => { + var bytesRead = 0; + for (var i = 0; i < length; i++) { + var result; + try { + result = input(); + } catch (e) { + throw new FS.ErrnoError(29); + } + if (result === undefined && bytesRead === 0) { + throw new FS.ErrnoError(6); + } + if (result === null || result === undefined) break; + bytesRead++; + buffer[offset+i] = result; + } + if (bytesRead) { + stream.node.timestamp = Date.now(); + } + return bytesRead; + }, + write: (stream, buffer, offset, length, pos) => { + for (var i = 0; i < length; i++) { + try { + output(buffer[offset+i]); + } catch (e) { + throw new FS.ErrnoError(29); + } + } + if (length) { + stream.node.timestamp = Date.now(); + } + return i; + } + }); + return FS.mkdev(path, mode, dev); + },forceLoadFile:(obj) => { + if (obj.isDevice || obj.isFolder || obj.link || obj.contents) return true; + if (typeof XMLHttpRequest != 'undefined') { + throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread."); + } else if (read_) { + // Command-line. + try { + // WARNING: Can't read binary files in V8's d8 or tracemonkey's js, as + // read() will try to parse UTF8. + obj.contents = intArrayFromString(read_(obj.url), true); + obj.usedBytes = obj.contents.length; + } catch (e) { + throw new FS.ErrnoError(29); + } + } else { + throw new Error('Cannot load without read() or XMLHttpRequest.'); + } + },createLazyFile:(parent, name, url, canRead, canWrite) => { + // Lazy chunked Uint8Array (implements get and length from Uint8Array). Actual getting is abstracted away for eventual reuse. + /** @constructor */ + function LazyUint8Array() { + this.lengthKnown = false; + this.chunks = []; // Loaded chunks. Index is the chunk number + } + LazyUint8Array.prototype.get = /** @this{Object} */ function LazyUint8Array_get(idx) { + if (idx > this.length-1 || idx < 0) { + return undefined; + } + var chunkOffset = idx % this.chunkSize; + var chunkNum = (idx / this.chunkSize)|0; + return this.getter(chunkNum)[chunkOffset]; + }; + LazyUint8Array.prototype.setDataGetter = function LazyUint8Array_setDataGetter(getter) { + this.getter = getter; + }; + LazyUint8Array.prototype.cacheLength = function LazyUint8Array_cacheLength() { + // Find length + var xhr = new XMLHttpRequest(); + xhr.open('HEAD', url, false); + xhr.send(null); + if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status); + var datalength = Number(xhr.getResponseHeader("Content-length")); + var header; + var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes"; + var usesGzip = (header = xhr.getResponseHeader("Content-Encoding")) && header === "gzip"; + + var chunkSize = 1024*1024; // Chunk size in bytes + + if (!hasByteServing) chunkSize = datalength; + + // Function to get a range from the remote URL. + var doXHR = (from, to) => { + if (from > to) throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!"); + if (to > datalength-1) throw new Error("only " + datalength + " bytes available! programmer error!"); + + // TODO: Use mozResponseArrayBuffer, responseStream, etc. if available. + var xhr = new XMLHttpRequest(); + xhr.open('GET', url, false); + if (datalength !== chunkSize) xhr.setRequestHeader("Range", "bytes=" + from + "-" + to); + + // Some hints to the browser that we want binary data. + xhr.responseType = 'arraybuffer'; + if (xhr.overrideMimeType) { + xhr.overrideMimeType('text/plain; charset=x-user-defined'); + } + + xhr.send(null); + if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status); + if (xhr.response !== undefined) { + return new Uint8Array(/** @type{Array} */(xhr.response || [])); + } + return intArrayFromString(xhr.responseText || '', true); + }; + var lazyArray = this; + lazyArray.setDataGetter((chunkNum) => { + var start = chunkNum * chunkSize; + var end = (chunkNum+1) * chunkSize - 1; // including this byte + end = Math.min(end, datalength-1); // if datalength-1 is selected, this is the last block + if (typeof lazyArray.chunks[chunkNum] == 'undefined') { + lazyArray.chunks[chunkNum] = doXHR(start, end); + } + if (typeof lazyArray.chunks[chunkNum] == 'undefined') throw new Error('doXHR failed!'); + return lazyArray.chunks[chunkNum]; + }); + + if (usesGzip || !datalength) { + // if the server uses gzip or doesn't supply the length, we have to download the whole file to get the (uncompressed) length + chunkSize = datalength = 1; // this will force getter(0)/doXHR do download the whole file + datalength = this.getter(0).length; + chunkSize = datalength; + out("LazyFiles on gzip forces download of the whole file when length is accessed"); + } + + this._length = datalength; + this._chunkSize = chunkSize; + this.lengthKnown = true; + }; + if (typeof XMLHttpRequest != 'undefined') { + if (!ENVIRONMENT_IS_WORKER) throw 'Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc'; + var lazyArray = new LazyUint8Array(); + Object.defineProperties(lazyArray, { + length: { + get: /** @this{Object} */ function() { + if (!this.lengthKnown) { + this.cacheLength(); + } + return this._length; + } + }, + chunkSize: { + get: /** @this{Object} */ function() { + if (!this.lengthKnown) { + this.cacheLength(); + } + return this._chunkSize; + } + } + }); + + var properties = { isDevice: false, contents: lazyArray }; + } else { + var properties = { isDevice: false, url: url }; + } + + var node = FS.createFile(parent, name, properties, canRead, canWrite); + // This is a total hack, but I want to get this lazy file code out of the + // core of MEMFS. If we want to keep this lazy file concept I feel it should + // be its own thin LAZYFS proxying calls to MEMFS. + if (properties.contents) { + node.contents = properties.contents; + } else if (properties.url) { + node.contents = null; + node.url = properties.url; + } + // Add a function that defers querying the file size until it is asked the first time. + Object.defineProperties(node, { + usedBytes: { + get: /** @this {FSNode} */ function() { return this.contents.length; } + } + }); + // override each stream op with one that tries to force load the lazy file first + var stream_ops = {}; + var keys = Object.keys(node.stream_ops); + keys.forEach((key) => { + var fn = node.stream_ops[key]; + stream_ops[key] = function forceLoadLazyFile() { + FS.forceLoadFile(node); + return fn.apply(null, arguments); + }; + }); + function writeChunks(stream, buffer, offset, length, position) { + var contents = stream.node.contents; + if (position >= contents.length) + return 0; + var size = Math.min(contents.length - position, length); + assert(size >= 0); + if (contents.slice) { // normal array + for (var i = 0; i < size; i++) { + buffer[offset + i] = contents[position + i]; + } + } else { + for (var i = 0; i < size; i++) { // LazyUint8Array from sync binary XHR + buffer[offset + i] = contents.get(position + i); + } + } + return size; + } + // use a custom read function + stream_ops.read = (stream, buffer, offset, length, position) => { + FS.forceLoadFile(node); + return writeChunks(stream, buffer, offset, length, position) + }; + // use a custom mmap function + stream_ops.mmap = (stream, length, position, prot, flags) => { + FS.forceLoadFile(node); + var ptr = mmapAlloc(length); + if (!ptr) { + throw new FS.ErrnoError(48); + } + writeChunks(stream, HEAP8, ptr, length, position); + return { ptr: ptr, allocated: true }; + }; + node.stream_ops = stream_ops; + return node; + },createPreloadedFile:(parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile, canOwn, preFinish) => { + // TODO we should allow people to just pass in a complete filename instead + // of parent and name being that we just join them anyways + var fullname = name ? PATH_FS.resolve(PATH.join2(parent, name)) : parent; + var dep = getUniqueRunDependency('cp ' + fullname); // might have several active requests for the same fullname + function processData(byteArray) { + function finish(byteArray) { + if (preFinish) preFinish(); + if (!dontCreateFile) { + FS.createDataFile(parent, name, byteArray, canRead, canWrite, canOwn); + } + if (onload) onload(); + removeRunDependency(dep); + } + if (Browser.handledByPreloadPlugin(byteArray, fullname, finish, () => { + if (onerror) onerror(); + removeRunDependency(dep); + })) { + return; + } + finish(byteArray); + } + addRunDependency(dep); + if (typeof url == 'string') { + asyncLoad(url, (byteArray) => processData(byteArray), onerror); + } else { + processData(url); + } + },indexedDB:() => { + return window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB; + },DB_NAME:() => { + return 'EM_FS_' + window.location.pathname; + },DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:(paths, onload, onerror) => { + onload = onload || (() => {}); + onerror = onerror || (() => {}); + var indexedDB = FS.indexedDB(); + try { + var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION); + } catch (e) { + return onerror(e); + } + openRequest.onupgradeneeded = () => { + out('creating db'); + var db = openRequest.result; + db.createObjectStore(FS.DB_STORE_NAME); + }; + openRequest.onsuccess = () => { + var db = openRequest.result; + var transaction = db.transaction([FS.DB_STORE_NAME], 'readwrite'); + var files = transaction.objectStore(FS.DB_STORE_NAME); + var ok = 0, fail = 0, total = paths.length; + function finish() { + if (fail == 0) onload(); else onerror(); + } + paths.forEach((path) => { + var putRequest = files.put(FS.analyzePath(path).object.contents, path); + putRequest.onsuccess = () => { ok++; if (ok + fail == total) finish() }; + putRequest.onerror = () => { fail++; if (ok + fail == total) finish() }; + }); + transaction.onerror = onerror; + }; + openRequest.onerror = onerror; + },loadFilesFromDB:(paths, onload, onerror) => { + onload = onload || (() => {}); + onerror = onerror || (() => {}); + var indexedDB = FS.indexedDB(); + try { + var openRequest = indexedDB.open(FS.DB_NAME(), FS.DB_VERSION); + } catch (e) { + return onerror(e); + } + openRequest.onupgradeneeded = onerror; // no database to load from + openRequest.onsuccess = () => { + var db = openRequest.result; + try { + var transaction = db.transaction([FS.DB_STORE_NAME], 'readonly'); + } catch(e) { + onerror(e); + return; + } + var files = transaction.objectStore(FS.DB_STORE_NAME); + var ok = 0, fail = 0, total = paths.length; + function finish() { + if (fail == 0) onload(); else onerror(); + } + paths.forEach((path) => { + var getRequest = files.get(path); + getRequest.onsuccess = () => { + if (FS.analyzePath(path).exists) { + FS.unlink(path); + } + FS.createDataFile(PATH.dirname(path), PATH.basename(path), getRequest.result, true, true, true); + ok++; + if (ok + fail == total) finish(); + }; + getRequest.onerror = () => { fail++; if (ok + fail == total) finish() }; + }); + transaction.onerror = onerror; + }; + openRequest.onerror = onerror; + },absolutePath:() => { + abort('FS.absolutePath has been removed; use PATH_FS.resolve instead'); + },createFolder:() => { + abort('FS.createFolder has been removed; use FS.mkdir instead'); + },createLink:() => { + abort('FS.createLink has been removed; use FS.symlink instead'); + },joinPath:() => { + abort('FS.joinPath has been removed; use PATH.join instead'); + },mmapAlloc:() => { + abort('FS.mmapAlloc has been replaced by the top level function mmapAlloc'); + },standardizePath:() => { + abort('FS.standardizePath has been removed; use PATH.normalize instead'); + }}; + var SYSCALLS = {DEFAULT_POLLMASK:5,calculateAt:function(dirfd, path, allowEmpty) { + if (PATH.isAbs(path)) { + return path; + } + // relative path + var dir; + if (dirfd === -100) { + dir = FS.cwd(); + } else { + var dirstream = SYSCALLS.getStreamFromFD(dirfd); + dir = dirstream.path; + } + if (path.length == 0) { + if (!allowEmpty) { + throw new FS.ErrnoError(44);; + } + return dir; + } + return PATH.join2(dir, path); + },doStat:function(func, path, buf) { + try { + var stat = func(path); + } catch (e) { + if (e && e.node && PATH.normalize(path) !== PATH.normalize(FS.getPath(e.node))) { + // an error occurred while trying to look up the path; we should just report ENOTDIR + return -54; + } + throw e; + } + HEAP32[((buf)>>2)] = stat.dev; + HEAP32[(((buf)+(8))>>2)] = stat.ino; + HEAP32[(((buf)+(12))>>2)] = stat.mode; + HEAPU32[(((buf)+(16))>>2)] = stat.nlink; + HEAP32[(((buf)+(20))>>2)] = stat.uid; + HEAP32[(((buf)+(24))>>2)] = stat.gid; + HEAP32[(((buf)+(28))>>2)] = stat.rdev; + (tempI64 = [stat.size>>>0,(tempDouble=stat.size,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? ((Math.min((+(Math.floor((tempDouble)/4294967296.0))), 4294967295.0))|0)>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)],HEAP32[(((buf)+(40))>>2)] = tempI64[0],HEAP32[(((buf)+(44))>>2)] = tempI64[1]); + HEAP32[(((buf)+(48))>>2)] = 4096; + HEAP32[(((buf)+(52))>>2)] = stat.blocks; + (tempI64 = [Math.floor(stat.atime.getTime() / 1000)>>>0,(tempDouble=Math.floor(stat.atime.getTime() / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? ((Math.min((+(Math.floor((tempDouble)/4294967296.0))), 4294967295.0))|0)>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)],HEAP32[(((buf)+(56))>>2)] = tempI64[0],HEAP32[(((buf)+(60))>>2)] = tempI64[1]); + HEAPU32[(((buf)+(64))>>2)] = 0; + (tempI64 = [Math.floor(stat.mtime.getTime() / 1000)>>>0,(tempDouble=Math.floor(stat.mtime.getTime() / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? ((Math.min((+(Math.floor((tempDouble)/4294967296.0))), 4294967295.0))|0)>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)],HEAP32[(((buf)+(72))>>2)] = tempI64[0],HEAP32[(((buf)+(76))>>2)] = tempI64[1]); + HEAPU32[(((buf)+(80))>>2)] = 0; + (tempI64 = [Math.floor(stat.ctime.getTime() / 1000)>>>0,(tempDouble=Math.floor(stat.ctime.getTime() / 1000),(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? ((Math.min((+(Math.floor((tempDouble)/4294967296.0))), 4294967295.0))|0)>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)],HEAP32[(((buf)+(88))>>2)] = tempI64[0],HEAP32[(((buf)+(92))>>2)] = tempI64[1]); + HEAPU32[(((buf)+(96))>>2)] = 0; + (tempI64 = [stat.ino>>>0,(tempDouble=stat.ino,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? ((Math.min((+(Math.floor((tempDouble)/4294967296.0))), 4294967295.0))|0)>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)],HEAP32[(((buf)+(104))>>2)] = tempI64[0],HEAP32[(((buf)+(108))>>2)] = tempI64[1]); + return 0; + },doMsync:function(addr, stream, len, flags, offset) { + var buffer = HEAPU8.slice(addr, addr + len); + FS.msync(stream, buffer, offset, len, flags); + },varargs:undefined,get:function() { + assert(SYSCALLS.varargs != undefined); + SYSCALLS.varargs += 4; + var ret = HEAP32[(((SYSCALLS.varargs)-(4))>>2)]; + return ret; + },getStr:function(ptr) { + var ret = UTF8ToString(ptr); + return ret; + },getStreamFromFD:function(fd) { + var stream = FS.getStream(fd); + if (!stream) throw new FS.ErrnoError(8); + return stream; + }}; + function ___syscall_fcntl64(fd, cmd, varargs) { + SYSCALLS.varargs = varargs; + try { + + var stream = SYSCALLS.getStreamFromFD(fd); + switch (cmd) { + case 0: { + var arg = SYSCALLS.get(); + if (arg < 0) { + return -28; + } + var newStream; + newStream = FS.createStream(stream, arg); + return newStream.fd; + } + case 1: + case 2: + return 0; // FD_CLOEXEC makes no sense for a single process. + case 3: + return stream.flags; + case 4: { + var arg = SYSCALLS.get(); + stream.flags |= arg; + return 0; + } + case 5: + /* case 5: Currently in musl F_GETLK64 has same value as F_GETLK, so omitted to avoid duplicate case blocks. If that changes, uncomment this */ { + + var arg = SYSCALLS.get(); + var offset = 0; + // We're always unlocked. + HEAP16[(((arg)+(offset))>>1)] = 2; + return 0; + } + case 6: + case 7: + /* case 6: Currently in musl F_SETLK64 has same value as F_SETLK, so omitted to avoid duplicate case blocks. If that changes, uncomment this */ + /* case 7: Currently in musl F_SETLKW64 has same value as F_SETLKW, so omitted to avoid duplicate case blocks. If that changes, uncomment this */ + + + return 0; // Pretend that the locking is successful. + case 16: + case 8: + return -28; // These are for sockets. We don't have them fully implemented yet. + case 9: + // musl trusts getown return values, due to a bug where they must be, as they overlap with errors. just return -1 here, so fcntl() returns that, and we set errno ourselves. + setErrNo(28); + return -1; + default: { + return -28; + } + } + } catch (e) { + if (typeof FS == 'undefined' || !(e instanceof FS.ErrnoError)) throw e; + return -e.errno; + } + } -var _testSetjmp = Module["_testSetjmp"] = asm["_testSetjmp"]; + function ___syscall_ioctl(fd, op, varargs) { + SYSCALLS.varargs = varargs; + try { + + var stream = SYSCALLS.getStreamFromFD(fd); + switch (op) { + case 21509: + case 21505: { + if (!stream.tty) return -59; + return 0; + } + case 21510: + case 21511: + case 21512: + case 21506: + case 21507: + case 21508: { + if (!stream.tty) return -59; + return 0; // no-op, not actually adjusting terminal settings + } + case 21519: { + if (!stream.tty) return -59; + var argp = SYSCALLS.get(); + HEAP32[((argp)>>2)] = 0; + return 0; + } + case 21520: { + if (!stream.tty) return -59; + return -28; // not supported + } + case 21531: { + var argp = SYSCALLS.get(); + return FS.ioctl(stream, op, argp); + } + case 21523: { + // TODO: in theory we should write to the winsize struct that gets + // passed in, but for now musl doesn't read anything on it + if (!stream.tty) return -59; + return 0; + } + case 21524: { + // TODO: technically, this ioctl call should change the window size. + // but, since emscripten doesn't have any concept of a terminal window + // yet, we'll just silently throw it away as we do TIOCGWINSZ + if (!stream.tty) return -59; + return 0; + } + default: return -28; // not supported + } + } catch (e) { + if (typeof FS == 'undefined' || !(e instanceof FS.ErrnoError)) throw e; + return -e.errno; + } + } -var establishStackSpace = Module["establishStackSpace"] = asm["establishStackSpace"]; + function ___syscall_openat(dirfd, path, flags, varargs) { + SYSCALLS.varargs = varargs; + try { + + path = SYSCALLS.getStr(path); + path = SYSCALLS.calculateAt(dirfd, path); + var mode = varargs ? SYSCALLS.get() : 0; + return FS.open(path, flags, mode).fd; + } catch (e) { + if (typeof FS == 'undefined' || !(e instanceof FS.ErrnoError)) throw e; + return -e.errno; + } + } -var stackAlloc = Module["stackAlloc"] = asm["stackAlloc"]; + function __embind_register_bigint(primitiveType, name, size, minRange, maxRange) {} -var stackRestore = Module["stackRestore"] = asm["stackRestore"]; + function getShiftFromSize(size) { + switch (size) { + case 1: return 0; + case 2: return 1; + case 4: return 2; + case 8: return 3; + default: + throw new TypeError('Unknown type size: ' + size); + } + } + + function embind_init_charCodes() { + var codes = new Array(256); + for (var i = 0; i < 256; ++i) { + codes[i] = String.fromCharCode(i); + } + embind_charCodes = codes; + } + var embind_charCodes = undefined; + function readLatin1String(ptr) { + var ret = ""; + var c = ptr; + while (HEAPU8[c]) { + ret += embind_charCodes[HEAPU8[c++]]; + } + return ret; + } + + var awaitingDependencies = {}; + + var registeredTypes = {}; + + var typeDependencies = {}; + + var char_0 = 48; + + var char_9 = 57; + function makeLegalFunctionName(name) { + if (undefined === name) { + return '_unknown'; + } + name = name.replace(/[^a-zA-Z0-9_]/g, '$'); + var f = name.charCodeAt(0); + if (f >= char_0 && f <= char_9) { + return '_' + name; + } + return name; + } + function createNamedFunction(name, body) { + name = makeLegalFunctionName(name); + /*jshint evil:true*/ + return new Function( + "body", + "return function " + name + "() {\n" + + " \"use strict\";" + + " return body.apply(this, arguments);\n" + + "};\n" + )(body); + } + function extendError(baseErrorType, errorName) { + var errorClass = createNamedFunction(errorName, function(message) { + this.name = errorName; + this.message = message; + + var stack = (new Error(message)).stack; + if (stack !== undefined) { + this.stack = this.toString() + '\n' + + stack.replace(/^Error(:[^\n]*)?\n/, ''); + } + }); + errorClass.prototype = Object.create(baseErrorType.prototype); + errorClass.prototype.constructor = errorClass; + errorClass.prototype.toString = function() { + if (this.message === undefined) { + return this.name; + } else { + return this.name + ': ' + this.message; + } + }; + + return errorClass; + } + var BindingError = undefined; + function throwBindingError(message) { + throw new BindingError(message); + } + + var InternalError = undefined; + function throwInternalError(message) { + throw new InternalError(message); + } + function whenDependentTypesAreResolved(myTypes, dependentTypes, getTypeConverters) { + myTypes.forEach(function(type) { + typeDependencies[type] = dependentTypes; + }); + + function onComplete(typeConverters) { + var myTypeConverters = getTypeConverters(typeConverters); + if (myTypeConverters.length !== myTypes.length) { + throwInternalError('Mismatched type converter count'); + } + for (var i = 0; i < myTypes.length; ++i) { + registerType(myTypes[i], myTypeConverters[i]); + } + } + + var typeConverters = new Array(dependentTypes.length); + var unregisteredTypes = []; + var registered = 0; + dependentTypes.forEach((dt, i) => { + if (registeredTypes.hasOwnProperty(dt)) { + typeConverters[i] = registeredTypes[dt]; + } else { + unregisteredTypes.push(dt); + if (!awaitingDependencies.hasOwnProperty(dt)) { + awaitingDependencies[dt] = []; + } + awaitingDependencies[dt].push(() => { + typeConverters[i] = registeredTypes[dt]; + ++registered; + if (registered === unregisteredTypes.length) { + onComplete(typeConverters); + } + }); + } + }); + if (0 === unregisteredTypes.length) { + onComplete(typeConverters); + } + } + /** @param {Object=} options */ + function registerType(rawType, registeredInstance, options = {}) { + if (!('argPackAdvance' in registeredInstance)) { + throw new TypeError('registerType registeredInstance requires argPackAdvance'); + } + + var name = registeredInstance.name; + if (!rawType) { + throwBindingError('type "' + name + '" must have a positive integer typeid pointer'); + } + if (registeredTypes.hasOwnProperty(rawType)) { + if (options.ignoreDuplicateRegistrations) { + return; + } else { + throwBindingError("Cannot register type '" + name + "' twice"); + } + } + + registeredTypes[rawType] = registeredInstance; + delete typeDependencies[rawType]; + + if (awaitingDependencies.hasOwnProperty(rawType)) { + var callbacks = awaitingDependencies[rawType]; + delete awaitingDependencies[rawType]; + callbacks.forEach((cb) => cb()); + } + } + function __embind_register_bool(rawType, name, size, trueValue, falseValue) { + var shift = getShiftFromSize(size); + + name = readLatin1String(name); + registerType(rawType, { + name: name, + 'fromWireType': function(wt) { + // ambiguous emscripten ABI: sometimes return values are + // true or false, and sometimes integers (0 or 1) + return !!wt; + }, + 'toWireType': function(destructors, o) { + return o ? trueValue : falseValue; + }, + 'argPackAdvance': 8, + 'readValueFromPointer': function(pointer) { + // TODO: if heap is fixed (like in asm.js) this could be executed outside + var heap; + if (size === 1) { + heap = HEAP8; + } else if (size === 2) { + heap = HEAP16; + } else if (size === 4) { + heap = HEAP32; + } else { + throw new TypeError("Unknown boolean type size: " + name); + } + return this['fromWireType'](heap[pointer >> shift]); + }, + destructorFunction: null, // This type does not need a destructor + }); + } -var stackSave = Module["stackSave"] = asm["stackSave"]; + function __embind_register_constant(name, type, value) { + name = readLatin1String(name); + whenDependentTypesAreResolved([], [type], function(type) { + type = type[0]; + Module[name] = type['fromWireType'](value); + return []; + }); + } -var dynCall_di = Module["dynCall_di"] = asm["dynCall_di"]; + var emval_free_list = []; + + var emval_handle_array = [{},{value:undefined},{value:null},{value:true},{value:false}]; + function __emval_decref(handle) { + if (handle > 4 && 0 === --emval_handle_array[handle].refcount) { + emval_handle_array[handle] = undefined; + emval_free_list.push(handle); + } + } + + function count_emval_handles() { + var count = 0; + for (var i = 5; i < emval_handle_array.length; ++i) { + if (emval_handle_array[i] !== undefined) { + ++count; + } + } + return count; + } + + function get_first_emval() { + for (var i = 5; i < emval_handle_array.length; ++i) { + if (emval_handle_array[i] !== undefined) { + return emval_handle_array[i]; + } + } + return null; + } + function init_emval() { + Module['count_emval_handles'] = count_emval_handles; + Module['get_first_emval'] = get_first_emval; + } + var Emval = {toValue:(handle) => { + if (!handle) { + throwBindingError('Cannot use deleted val. handle = ' + handle); + } + return emval_handle_array[handle].value; + },toHandle:(value) => { + switch (value) { + case undefined: return 1; + case null: return 2; + case true: return 3; + case false: return 4; + default:{ + var handle = emval_free_list.length ? + emval_free_list.pop() : + emval_handle_array.length; + + emval_handle_array[handle] = {refcount: 1, value: value}; + return handle; + } + } + }}; + + function simpleReadValueFromPointer(pointer) { + return this['fromWireType'](HEAP32[((pointer)>>2)]); + } + function __embind_register_emval(rawType, name) { + name = readLatin1String(name); + registerType(rawType, { + name: name, + 'fromWireType': function(handle) { + var rv = Emval.toValue(handle); + __emval_decref(handle); + return rv; + }, + 'toWireType': function(destructors, value) { + return Emval.toHandle(value); + }, + 'argPackAdvance': 8, + 'readValueFromPointer': simpleReadValueFromPointer, + destructorFunction: null, // This type does not need a destructor + + // TODO: do we need a deleteObject here? write a test where + // emval is passed into JS via an interface + }); + } -var dynCall_dii = Module["dynCall_dii"] = asm["dynCall_dii"]; + function embindRepr(v) { + if (v === null) { + return 'null'; + } + var t = typeof v; + if (t === 'object' || t === 'array' || t === 'function') { + return v.toString(); + } else { + return '' + v; + } + } + + function floatReadValueFromPointer(name, shift) { + switch (shift) { + case 2: return function(pointer) { + return this['fromWireType'](HEAPF32[pointer >> 2]); + }; + case 3: return function(pointer) { + return this['fromWireType'](HEAPF64[pointer >> 3]); + }; + default: + throw new TypeError("Unknown float type: " + name); + } + } + function __embind_register_float(rawType, name, size) { + var shift = getShiftFromSize(size); + name = readLatin1String(name); + registerType(rawType, { + name: name, + 'fromWireType': function(value) { + return value; + }, + 'toWireType': function(destructors, value) { + if (typeof value != "number" && typeof value != "boolean") { + throw new TypeError('Cannot convert "' + embindRepr(value) + '" to ' + this.name); + } + // The VM will perform JS to Wasm value conversion, according to the spec: + // https://www.w3.org/TR/wasm-js-api-1/#towebassemblyvalue + return value; + }, + 'argPackAdvance': 8, + 'readValueFromPointer': floatReadValueFromPointer(name, shift), + destructorFunction: null, // This type does not need a destructor + }); + } -var dynCall_i = Module["dynCall_i"] = asm["dynCall_i"]; + function new_(constructor, argumentList) { + if (!(constructor instanceof Function)) { + throw new TypeError('new_ called with constructor type ' + typeof(constructor) + " which is not a function"); + } + /* + * Previously, the following line was just: + * function dummy() {}; + * Unfortunately, Chrome was preserving 'dummy' as the object's name, even + * though at creation, the 'dummy' has the correct constructor name. Thus, + * objects created with IMVU.new would show up in the debugger as 'dummy', + * which isn't very helpful. Using IMVU.createNamedFunction addresses the + * issue. Doublely-unfortunately, there's no way to write a test for this + * behavior. -NRD 2013.02.22 + */ + var dummy = createNamedFunction(constructor.name || 'unknownFunctionName', function(){}); + dummy.prototype = constructor.prototype; + var obj = new dummy; + + var r = constructor.apply(obj, argumentList); + return (r instanceof Object) ? r : obj; + } + + function runDestructors(destructors) { + while (destructors.length) { + var ptr = destructors.pop(); + var del = destructors.pop(); + del(ptr); + } + } + function craftInvokerFunction(humanName, argTypes, classType, cppInvokerFunc, cppTargetFunc) { + // humanName: a human-readable string name for the function to be generated. + // argTypes: An array that contains the embind type objects for all types in the function signature. + // argTypes[0] is the type object for the function return value. + // argTypes[1] is the type object for function this object/class type, or null if not crafting an invoker for a class method. + // argTypes[2...] are the actual function parameters. + // classType: The embind type object for the class to be bound, or null if this is not a method of a class. + // cppInvokerFunc: JS Function object to the C++-side function that interops into C++ code. + // cppTargetFunc: Function pointer (an integer to FUNCTION_TABLE) to the target C++ function the cppInvokerFunc will end up calling. + var argCount = argTypes.length; + + if (argCount < 2) { + throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!"); + } + + var isClassMethodFunc = (argTypes[1] !== null && classType !== null); + + // Free functions with signature "void function()" do not need an invoker that marshalls between wire types. + // TODO: This omits argument count check - enable only at -O3 or similar. + // if (ENABLE_UNSAFE_OPTS && argCount == 2 && argTypes[0].name == "void" && !isClassMethodFunc) { + // return FUNCTION_TABLE[fn]; + // } + + // Determine if we need to use a dynamic stack to store the destructors for the function parameters. + // TODO: Remove this completely once all function invokers are being dynamically generated. + var needsDestructorStack = false; + + for (var i = 1; i < argTypes.length; ++i) { // Skip return value at index 0 - it's not deleted here. + if (argTypes[i] !== null && argTypes[i].destructorFunction === undefined) { // The type does not define a destructor function - must use dynamic stack + needsDestructorStack = true; + break; + } + } + + var returns = (argTypes[0].name !== "void"); + + var argsList = ""; + var argsListWired = ""; + for (var i = 0; i < argCount - 2; ++i) { + argsList += (i!==0?", ":"")+"arg"+i; + argsListWired += (i!==0?", ":"")+"arg"+i+"Wired"; + } + + var invokerFnBody = + "return function "+makeLegalFunctionName(humanName)+"("+argsList+") {\n" + + "if (arguments.length !== "+(argCount - 2)+") {\n" + + "throwBindingError('function "+humanName+" called with ' + arguments.length + ' arguments, expected "+(argCount - 2)+" args!');\n" + + "}\n"; + + if (needsDestructorStack) { + invokerFnBody += "var destructors = [];\n"; + } + + var dtorStack = needsDestructorStack ? "destructors" : "null"; + var args1 = ["throwBindingError", "invoker", "fn", "runDestructors", "retType", "classParam"]; + var args2 = [throwBindingError, cppInvokerFunc, cppTargetFunc, runDestructors, argTypes[0], argTypes[1]]; + + if (isClassMethodFunc) { + invokerFnBody += "var thisWired = classParam.toWireType("+dtorStack+", this);\n"; + } + + for (var i = 0; i < argCount - 2; ++i) { + invokerFnBody += "var arg"+i+"Wired = argType"+i+".toWireType("+dtorStack+", arg"+i+"); // "+argTypes[i+2].name+"\n"; + args1.push("argType"+i); + args2.push(argTypes[i+2]); + } + + if (isClassMethodFunc) { + argsListWired = "thisWired" + (argsListWired.length > 0 ? ", " : "") + argsListWired; + } + + invokerFnBody += + (returns?"var rv = ":"") + "invoker(fn"+(argsListWired.length>0?", ":"")+argsListWired+");\n"; + + if (needsDestructorStack) { + invokerFnBody += "runDestructors(destructors);\n"; + } else { + for (var i = isClassMethodFunc?1:2; i < argTypes.length; ++i) { // Skip return value at index 0 - it's not deleted here. Also skip class type if not a method. + var paramName = (i === 1 ? "thisWired" : ("arg"+(i - 2)+"Wired")); + if (argTypes[i].destructorFunction !== null) { + invokerFnBody += paramName+"_dtor("+paramName+"); // "+argTypes[i].name+"\n"; + args1.push(paramName+"_dtor"); + args2.push(argTypes[i].destructorFunction); + } + } + } + + if (returns) { + invokerFnBody += "var ret = retType.fromWireType(rv);\n" + + "return ret;\n"; + } else { + } + + invokerFnBody += "}\n"; + + args1.push(invokerFnBody); + + var invokerFunction = new_(Function, args1).apply(null, args2); + return invokerFunction; + } + + function ensureOverloadTable(proto, methodName, humanName) { + if (undefined === proto[methodName].overloadTable) { + var prevFunc = proto[methodName]; + // Inject an overload resolver function that routes to the appropriate overload based on the number of arguments. + proto[methodName] = function() { + // TODO This check can be removed in -O3 level "unsafe" optimizations. + if (!proto[methodName].overloadTable.hasOwnProperty(arguments.length)) { + throwBindingError("Function '" + humanName + "' called with an invalid number of arguments (" + arguments.length + ") - expects one of (" + proto[methodName].overloadTable + ")!"); + } + return proto[methodName].overloadTable[arguments.length].apply(this, arguments); + }; + // Move the previous function into the overload table. + proto[methodName].overloadTable = []; + proto[methodName].overloadTable[prevFunc.argCount] = prevFunc; + } + } + /** @param {number=} numArguments */ + function exposePublicSymbol(name, value, numArguments) { + if (Module.hasOwnProperty(name)) { + if (undefined === numArguments || (undefined !== Module[name].overloadTable && undefined !== Module[name].overloadTable[numArguments])) { + throwBindingError("Cannot register public name '" + name + "' twice"); + } + + // We are exposing a function with the same name as an existing function. Create an overload table and a function selector + // that routes between the two. + ensureOverloadTable(Module, name, name); + if (Module.hasOwnProperty(numArguments)) { + throwBindingError("Cannot register multiple overloads of a function with the same number of arguments (" + numArguments + ")!"); + } + // Add the new function into the overload table. + Module[name].overloadTable[numArguments] = value; + } + else { + Module[name] = value; + if (undefined !== numArguments) { + Module[name].numArguments = numArguments; + } + } + } + + function heap32VectorToArray(count, firstElement) { + var array = []; + for (var i = 0; i < count; i++) { + // TODO(https://github.com/emscripten-core/emscripten/issues/17310): + // Find a way to hoist the `>> 2` or `>> 3` out of this loop. + array.push(HEAPU32[(((firstElement)+(i * 4))>>2)]); + } + return array; + } + + /** @param {number=} numArguments */ + function replacePublicSymbol(name, value, numArguments) { + if (!Module.hasOwnProperty(name)) { + throwInternalError('Replacing nonexistant public symbol'); + } + // If there's an overload table for this symbol, replace the symbol in the overload table instead. + if (undefined !== Module[name].overloadTable && undefined !== numArguments) { + Module[name].overloadTable[numArguments] = value; + } + else { + Module[name] = value; + Module[name].argCount = numArguments; + } + } + + function dynCallLegacy(sig, ptr, args) { + assert(('dynCall_' + sig) in Module, 'bad function pointer type - no table for sig \'' + sig + '\''); + if (args && args.length) { + // j (64-bit integer) must be passed in as two numbers [low 32, high 32]. + assert(args.length === sig.substring(1).replace(/j/g, '--').length); + } else { + assert(sig.length == 1); + } + var f = Module['dynCall_' + sig]; + return args && args.length ? f.apply(null, [ptr].concat(args)) : f.call(null, ptr); + } + + function getWasmTableEntry(funcPtr) { + // In -Os and -Oz builds, do not implement a JS side wasm table mirror for small + // code size, but directly access wasmTable, which is a bit slower as uncached. + return wasmTable.get(funcPtr); + } + /** @param {Object=} args */ + function dynCall(sig, ptr, args) { + // Without WASM_BIGINT support we cannot directly call function with i64 as + // part of thier signature, so we rely the dynCall functions generated by + // wasm-emscripten-finalize + if (sig.includes('j')) { + return dynCallLegacy(sig, ptr, args); + } + assert(getWasmTableEntry(ptr), 'missing table entry in dynCall: ' + ptr); + var rtn = getWasmTableEntry(ptr).apply(null, args); + return rtn; + } + function getDynCaller(sig, ptr) { + assert(sig.includes('j') || sig.includes('p'), 'getDynCaller should only be called with i64 sigs') + var argCache = []; + return function() { + argCache.length = 0; + Object.assign(argCache, arguments); + return dynCall(sig, ptr, argCache); + }; + } + function embind__requireFunction(signature, rawFunction) { + signature = readLatin1String(signature); + + function makeDynCaller() { + if (signature.includes('j')) { + return getDynCaller(signature, rawFunction); + } + return getWasmTableEntry(rawFunction); + } + + var fp = makeDynCaller(); + if (typeof fp != "function") { + throwBindingError("unknown function pointer with signature " + signature + ": " + rawFunction); + } + return fp; + } + + var UnboundTypeError = undefined; + + function getTypeName(type) { + var ptr = ___getTypeName(type); + var rv = readLatin1String(ptr); + _free(ptr); + return rv; + } + function throwUnboundTypeError(message, types) { + var unboundTypes = []; + var seen = {}; + function visit(type) { + if (seen[type]) { + return; + } + if (registeredTypes[type]) { + return; + } + if (typeDependencies[type]) { + typeDependencies[type].forEach(visit); + return; + } + unboundTypes.push(type); + seen[type] = true; + } + types.forEach(visit); + + throw new UnboundTypeError(message + ': ' + unboundTypes.map(getTypeName).join([', '])); + } + function __embind_register_function(name, argCount, rawArgTypesAddr, signature, rawInvoker, fn) { + var argTypes = heap32VectorToArray(argCount, rawArgTypesAddr); + name = readLatin1String(name); + + rawInvoker = embind__requireFunction(signature, rawInvoker); + + exposePublicSymbol(name, function() { + throwUnboundTypeError('Cannot call ' + name + ' due to unbound types', argTypes); + }, argCount - 1); + + whenDependentTypesAreResolved([], argTypes, function(argTypes) { + var invokerArgsArray = [argTypes[0] /* return value */, null /* no class 'this'*/].concat(argTypes.slice(1) /* actual params */); + replacePublicSymbol(name, craftInvokerFunction(name, invokerArgsArray, null /* no class 'this'*/, rawInvoker, fn), argCount - 1); + return []; + }); + } -var dynCall_ii = Module["dynCall_ii"] = asm["dynCall_ii"]; + function integerReadValueFromPointer(name, shift, signed) { + // integers are quite common, so generate very specialized functions + switch (shift) { + case 0: return signed ? + function readS8FromPointer(pointer) { return HEAP8[pointer]; } : + function readU8FromPointer(pointer) { return HEAPU8[pointer]; }; + case 1: return signed ? + function readS16FromPointer(pointer) { return HEAP16[pointer >> 1]; } : + function readU16FromPointer(pointer) { return HEAPU16[pointer >> 1]; }; + case 2: return signed ? + function readS32FromPointer(pointer) { return HEAP32[pointer >> 2]; } : + function readU32FromPointer(pointer) { return HEAPU32[pointer >> 2]; }; + default: + throw new TypeError("Unknown integer type: " + name); + } + } + function __embind_register_integer(primitiveType, name, size, minRange, maxRange) { + name = readLatin1String(name); + // LLVM doesn't have signed and unsigned 32-bit types, so u32 literals come + // out as 'i32 -1'. Always treat those as max u32. + if (maxRange === -1) { + maxRange = 4294967295; + } + + var shift = getShiftFromSize(size); + + var fromWireType = (value) => value; + + if (minRange === 0) { + var bitshift = 32 - 8*size; + fromWireType = (value) => (value << bitshift) >>> bitshift; + } + + var isUnsignedType = (name.includes('unsigned')); + var checkAssertions = (value, toTypeName) => { + if (typeof value != "number" && typeof value != "boolean") { + throw new TypeError('Cannot convert "' + embindRepr(value) + '" to ' + toTypeName); + } + if (value < minRange || value > maxRange) { + throw new TypeError('Passing a number "' + embindRepr(value) + '" from JS side to C/C++ side to an argument of type "' + name + '", which is outside the valid range [' + minRange + ', ' + maxRange + ']!'); + } + } + var toWireType; + if (isUnsignedType) { + toWireType = function(destructors, value) { + checkAssertions(value, this.name); + return value >>> 0; + } + } else { + toWireType = function(destructors, value) { + checkAssertions(value, this.name); + // The VM will perform JS to Wasm value conversion, according to the spec: + // https://www.w3.org/TR/wasm-js-api-1/#towebassemblyvalue + return value; + } + } + registerType(primitiveType, { + name: name, + 'fromWireType': fromWireType, + 'toWireType': toWireType, + 'argPackAdvance': 8, + 'readValueFromPointer': integerReadValueFromPointer(name, shift, minRange !== 0), + destructorFunction: null, // This type does not need a destructor + }); + } -var dynCall_iidiiii = Module["dynCall_iidiiii"] = asm["dynCall_iidiiii"]; + function __embind_register_memory_view(rawType, dataTypeIndex, name) { + var typeMapping = [ + Int8Array, + Uint8Array, + Int16Array, + Uint16Array, + Int32Array, + Uint32Array, + Float32Array, + Float64Array, + ]; + + var TA = typeMapping[dataTypeIndex]; + + function decodeMemoryView(handle) { + handle = handle >> 2; + var heap = HEAPU32; + var size = heap[handle]; // in elements + var data = heap[handle + 1]; // byte offset into emscripten heap + return new TA(buffer, data, size); + } + + name = readLatin1String(name); + registerType(rawType, { + name: name, + 'fromWireType': decodeMemoryView, + 'argPackAdvance': 8, + 'readValueFromPointer': decodeMemoryView, + }, { + ignoreDuplicateRegistrations: true, + }); + } -var dynCall_iii = Module["dynCall_iii"] = asm["dynCall_iii"]; + function __embind_register_std_string(rawType, name) { + name = readLatin1String(name); + var stdStringIsUTF8 + //process only std::string bindings with UTF8 support, in contrast to e.g. std::basic_string + = (name === "std::string"); + + registerType(rawType, { + name: name, + 'fromWireType': function(value) { + var length = HEAPU32[((value)>>2)]; + var payload = value + 4; + + var str; + if (stdStringIsUTF8) { + var decodeStartPtr = payload; + // Looping here to support possible embedded '0' bytes + for (var i = 0; i <= length; ++i) { + var currentBytePtr = payload + i; + if (i == length || HEAPU8[currentBytePtr] == 0) { + var maxRead = currentBytePtr - decodeStartPtr; + var stringSegment = UTF8ToString(decodeStartPtr, maxRead); + if (str === undefined) { + str = stringSegment; + } else { + str += String.fromCharCode(0); + str += stringSegment; + } + decodeStartPtr = currentBytePtr + 1; + } + } + } else { + var a = new Array(length); + for (var i = 0; i < length; ++i) { + a[i] = String.fromCharCode(HEAPU8[payload + i]); + } + str = a.join(''); + } + + _free(value); + + return str; + }, + 'toWireType': function(destructors, value) { + if (value instanceof ArrayBuffer) { + value = new Uint8Array(value); + } + + var length; + var valueIsOfTypeString = (typeof value == 'string'); + + if (!(valueIsOfTypeString || value instanceof Uint8Array || value instanceof Uint8ClampedArray || value instanceof Int8Array)) { + throwBindingError('Cannot pass non-string to std::string'); + } + if (stdStringIsUTF8 && valueIsOfTypeString) { + length = lengthBytesUTF8(value); + } else { + length = value.length; + } + + // assumes 4-byte alignment + var base = _malloc(4 + length + 1); + var ptr = base + 4; + HEAPU32[((base)>>2)] = length; + if (stdStringIsUTF8 && valueIsOfTypeString) { + stringToUTF8(value, ptr, length + 1); + } else { + if (valueIsOfTypeString) { + for (var i = 0; i < length; ++i) { + var charCode = value.charCodeAt(i); + if (charCode > 255) { + _free(ptr); + throwBindingError('String has UTF-16 code units that do not fit in 8 bits'); + } + HEAPU8[ptr + i] = charCode; + } + } else { + for (var i = 0; i < length; ++i) { + HEAPU8[ptr + i] = value[i]; + } + } + } + + if (destructors !== null) { + destructors.push(_free, base); + } + return base; + }, + 'argPackAdvance': 8, + 'readValueFromPointer': simpleReadValueFromPointer, + destructorFunction: function(ptr) { _free(ptr); }, + }); + } -var dynCall_iiii = Module["dynCall_iiii"] = asm["dynCall_iiii"]; + var UTF16Decoder = typeof TextDecoder != 'undefined' ? new TextDecoder('utf-16le') : undefined;; + function UTF16ToString(ptr, maxBytesToRead) { + assert(ptr % 2 == 0, 'Pointer passed to UTF16ToString must be aligned to two bytes!'); + var endPtr = ptr; + // TextDecoder needs to know the byte length in advance, it doesn't stop on null terminator by itself. + // Also, use the length info to avoid running tiny strings through TextDecoder, since .subarray() allocates garbage. + var idx = endPtr >> 1; + var maxIdx = idx + maxBytesToRead / 2; + // If maxBytesToRead is not passed explicitly, it will be undefined, and this + // will always evaluate to true. This saves on code size. + while (!(idx >= maxIdx) && HEAPU16[idx]) ++idx; + endPtr = idx << 1; + + if (endPtr - ptr > 32 && UTF16Decoder) { + return UTF16Decoder.decode(HEAPU8.subarray(ptr, endPtr)); + } else { + var str = ''; + + // If maxBytesToRead is not passed explicitly, it will be undefined, and the for-loop's condition + // will always evaluate to true. The loop is then terminated on the first null char. + for (var i = 0; !(i >= maxBytesToRead / 2); ++i) { + var codeUnit = HEAP16[(((ptr)+(i*2))>>1)]; + if (codeUnit == 0) break; + // fromCharCode constructs a character from a UTF-16 code unit, so we can pass the UTF16 string right through. + str += String.fromCharCode(codeUnit); + } + + return str; + } + } + + function stringToUTF16(str, outPtr, maxBytesToWrite) { + assert(outPtr % 2 == 0, 'Pointer passed to stringToUTF16 must be aligned to two bytes!'); + assert(typeof maxBytesToWrite == 'number', 'stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!'); + // Backwards compatibility: if max bytes is not specified, assume unsafe unbounded write is allowed. + if (maxBytesToWrite === undefined) { + maxBytesToWrite = 0x7FFFFFFF; + } + if (maxBytesToWrite < 2) return 0; + maxBytesToWrite -= 2; // Null terminator. + var startPtr = outPtr; + var numCharsToWrite = (maxBytesToWrite < str.length*2) ? (maxBytesToWrite / 2) : str.length; + for (var i = 0; i < numCharsToWrite; ++i) { + // charCodeAt returns a UTF-16 encoded code unit, so it can be directly written to the HEAP. + var codeUnit = str.charCodeAt(i); // possibly a lead surrogate + HEAP16[((outPtr)>>1)] = codeUnit; + outPtr += 2; + } + // Null-terminate the pointer to the HEAP. + HEAP16[((outPtr)>>1)] = 0; + return outPtr - startPtr; + } + + function lengthBytesUTF16(str) { + return str.length*2; + } + + function UTF32ToString(ptr, maxBytesToRead) { + assert(ptr % 4 == 0, 'Pointer passed to UTF32ToString must be aligned to four bytes!'); + var i = 0; + + var str = ''; + // If maxBytesToRead is not passed explicitly, it will be undefined, and this + // will always evaluate to true. This saves on code size. + while (!(i >= maxBytesToRead / 4)) { + var utf32 = HEAP32[(((ptr)+(i*4))>>2)]; + if (utf32 == 0) break; + ++i; + // Gotcha: fromCharCode constructs a character from a UTF-16 encoded code (pair), not from a Unicode code point! So encode the code point to UTF-16 for constructing. + // See http://unicode.org/faq/utf_bom.html#utf16-3 + if (utf32 >= 0x10000) { + var ch = utf32 - 0x10000; + str += String.fromCharCode(0xD800 | (ch >> 10), 0xDC00 | (ch & 0x3FF)); + } else { + str += String.fromCharCode(utf32); + } + } + return str; + } + + function stringToUTF32(str, outPtr, maxBytesToWrite) { + assert(outPtr % 4 == 0, 'Pointer passed to stringToUTF32 must be aligned to four bytes!'); + assert(typeof maxBytesToWrite == 'number', 'stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!'); + // Backwards compatibility: if max bytes is not specified, assume unsafe unbounded write is allowed. + if (maxBytesToWrite === undefined) { + maxBytesToWrite = 0x7FFFFFFF; + } + if (maxBytesToWrite < 4) return 0; + var startPtr = outPtr; + var endPtr = startPtr + maxBytesToWrite - 4; + for (var i = 0; i < str.length; ++i) { + // Gotcha: charCodeAt returns a 16-bit word that is a UTF-16 encoded code unit, not a Unicode code point of the character! We must decode the string to UTF-32 to the heap. + // See http://unicode.org/faq/utf_bom.html#utf16-3 + var codeUnit = str.charCodeAt(i); // possibly a lead surrogate + if (codeUnit >= 0xD800 && codeUnit <= 0xDFFF) { + var trailSurrogate = str.charCodeAt(++i); + codeUnit = 0x10000 + ((codeUnit & 0x3FF) << 10) | (trailSurrogate & 0x3FF); + } + HEAP32[((outPtr)>>2)] = codeUnit; + outPtr += 4; + if (outPtr + 4 > endPtr) break; + } + // Null-terminate the pointer to the HEAP. + HEAP32[((outPtr)>>2)] = 0; + return outPtr - startPtr; + } + + function lengthBytesUTF32(str) { + var len = 0; + for (var i = 0; i < str.length; ++i) { + // Gotcha: charCodeAt returns a 16-bit word that is a UTF-16 encoded code unit, not a Unicode code point of the character! We must decode the string to UTF-32 to the heap. + // See http://unicode.org/faq/utf_bom.html#utf16-3 + var codeUnit = str.charCodeAt(i); + if (codeUnit >= 0xD800 && codeUnit <= 0xDFFF) ++i; // possibly a lead surrogate, so skip over the tail surrogate. + len += 4; + } + + return len; + } + function __embind_register_std_wstring(rawType, charSize, name) { + name = readLatin1String(name); + var decodeString, encodeString, getHeap, lengthBytesUTF, shift; + if (charSize === 2) { + decodeString = UTF16ToString; + encodeString = stringToUTF16; + lengthBytesUTF = lengthBytesUTF16; + getHeap = () => HEAPU16; + shift = 1; + } else if (charSize === 4) { + decodeString = UTF32ToString; + encodeString = stringToUTF32; + lengthBytesUTF = lengthBytesUTF32; + getHeap = () => HEAPU32; + shift = 2; + } + registerType(rawType, { + name: name, + 'fromWireType': function(value) { + // Code mostly taken from _embind_register_std_string fromWireType + var length = HEAPU32[value >> 2]; + var HEAP = getHeap(); + var str; + + var decodeStartPtr = value + 4; + // Looping here to support possible embedded '0' bytes + for (var i = 0; i <= length; ++i) { + var currentBytePtr = value + 4 + i * charSize; + if (i == length || HEAP[currentBytePtr >> shift] == 0) { + var maxReadBytes = currentBytePtr - decodeStartPtr; + var stringSegment = decodeString(decodeStartPtr, maxReadBytes); + if (str === undefined) { + str = stringSegment; + } else { + str += String.fromCharCode(0); + str += stringSegment; + } + decodeStartPtr = currentBytePtr + charSize; + } + } + + _free(value); + + return str; + }, + 'toWireType': function(destructors, value) { + if (!(typeof value == 'string')) { + throwBindingError('Cannot pass non-string to C++ string type ' + name); + } + + // assumes 4-byte alignment + var length = lengthBytesUTF(value); + var ptr = _malloc(4 + length + charSize); + HEAPU32[ptr >> 2] = length >> shift; + + encodeString(value, ptr + 4, length + charSize); + + if (destructors !== null) { + destructors.push(_free, ptr); + } + return ptr; + }, + 'argPackAdvance': 8, + 'readValueFromPointer': simpleReadValueFromPointer, + destructorFunction: function(ptr) { _free(ptr); }, + }); + } -var dynCall_iiiii = Module["dynCall_iiiii"] = asm["dynCall_iiiii"]; + function __embind_register_void(rawType, name) { + name = readLatin1String(name); + registerType(rawType, { + isVoid: true, // void return values can be optimized out sometimes + name: name, + 'argPackAdvance': 0, + 'fromWireType': function() { + return undefined; + }, + 'toWireType': function(destructors, o) { + // TODO: assert if anything else is given? + return undefined; + }, + }); + } -var dynCall_iiiiid = Module["dynCall_iiiiid"] = asm["dynCall_iiiiid"]; + function __emscripten_date_now() { + return Date.now(); + } + + function __emscripten_throw_longjmp() { throw Infinity; } + + function readI53FromI64(ptr) { + return HEAPU32[ptr>>2] + HEAP32[ptr+4>>2] * 4294967296; + } + function __localtime_js(time, tmPtr) { + var date = new Date(readI53FromI64(time)*1000); + HEAP32[((tmPtr)>>2)] = date.getSeconds(); + HEAP32[(((tmPtr)+(4))>>2)] = date.getMinutes(); + HEAP32[(((tmPtr)+(8))>>2)] = date.getHours(); + HEAP32[(((tmPtr)+(12))>>2)] = date.getDate(); + HEAP32[(((tmPtr)+(16))>>2)] = date.getMonth(); + HEAP32[(((tmPtr)+(20))>>2)] = date.getFullYear()-1900; + HEAP32[(((tmPtr)+(24))>>2)] = date.getDay(); + + var start = new Date(date.getFullYear(), 0, 1); + var yday = ((date.getTime() - start.getTime()) / (1000 * 60 * 60 * 24))|0; + HEAP32[(((tmPtr)+(28))>>2)] = yday; + HEAP32[(((tmPtr)+(36))>>2)] = -(date.getTimezoneOffset() * 60); + + // Attention: DST is in December in South, and some regions don't have DST at all. + var summerOffset = new Date(date.getFullYear(), 6, 1).getTimezoneOffset(); + var winterOffset = start.getTimezoneOffset(); + var dst = (summerOffset != winterOffset && date.getTimezoneOffset() == Math.min(winterOffset, summerOffset))|0; + HEAP32[(((tmPtr)+(32))>>2)] = dst; + } + + function allocateUTF8(str) { + var size = lengthBytesUTF8(str) + 1; + var ret = _malloc(size); + if (ret) stringToUTF8Array(str, HEAP8, ret, size); + return ret; + } + function _tzset_impl(timezone, daylight, tzname) { + var currentYear = new Date().getFullYear(); + var winter = new Date(currentYear, 0, 1); + var summer = new Date(currentYear, 6, 1); + var winterOffset = winter.getTimezoneOffset(); + var summerOffset = summer.getTimezoneOffset(); + + // Local standard timezone offset. Local standard time is not adjusted for daylight savings. + // This code uses the fact that getTimezoneOffset returns a greater value during Standard Time versus Daylight Saving Time (DST). + // Thus it determines the expected output during Standard Time, and it compares whether the output of the given date the same (Standard) or less (DST). + var stdTimezoneOffset = Math.max(winterOffset, summerOffset); + + // timezone is specified as seconds west of UTC ("The external variable + // `timezone` shall be set to the difference, in seconds, between + // Coordinated Universal Time (UTC) and local standard time."), the same + // as returned by stdTimezoneOffset. + // See http://pubs.opengroup.org/onlinepubs/009695399/functions/tzset.html + HEAP32[((timezone)>>2)] = stdTimezoneOffset * 60; + + HEAP32[((daylight)>>2)] = Number(winterOffset != summerOffset); + + function extractZone(date) { + var match = date.toTimeString().match(/\(([A-Za-z ]+)\)$/); + return match ? match[1] : "GMT"; + }; + var winterName = extractZone(winter); + var summerName = extractZone(summer); + var winterNamePtr = allocateUTF8(winterName); + var summerNamePtr = allocateUTF8(summerName); + if (summerOffset < winterOffset) { + // Northern hemisphere + HEAPU32[((tzname)>>2)] = winterNamePtr; + HEAPU32[(((tzname)+(4))>>2)] = summerNamePtr; + } else { + HEAPU32[((tzname)>>2)] = summerNamePtr; + HEAPU32[(((tzname)+(4))>>2)] = winterNamePtr; + } + } + function __tzset_js(timezone, daylight, tzname) { + // TODO: Use (malleable) environment variables instead of system settings. + if (__tzset_js.called) return; + __tzset_js.called = true; + _tzset_impl(timezone, daylight, tzname); + } + + function _abort() { + abort('native code called abort()'); + } + + var readAsmConstArgsArray = []; + function readAsmConstArgs(sigPtr, buf) { + // Nobody should have mutated _readAsmConstArgsArray underneath us to be something else than an array. + assert(Array.isArray(readAsmConstArgsArray)); + // The input buffer is allocated on the stack, so it must be stack-aligned. + assert(buf % 16 == 0); + readAsmConstArgsArray.length = 0; + var ch; + // Most arguments are i32s, so shift the buffer pointer so it is a plain + // index into HEAP32. + buf >>= 2; + while (ch = HEAPU8[sigPtr++]) { + var chr = String.fromCharCode(ch); + var validChars = ['d', 'f', 'i']; + assert(validChars.includes(chr), 'Invalid character ' + ch + '("' + chr + '") in readAsmConstArgs! Use only [' + validChars + '], and do not specify "v" for void return argument.'); + // Floats are always passed as doubles, and doubles and int64s take up 8 + // bytes (two 32-bit slots) in memory, align reads to these: + buf += (ch != 105/*i*/) & buf; + readAsmConstArgsArray.push( + ch == 105/*i*/ ? HEAP32[buf] : + HEAPF64[buf++ >> 1] + ); + ++buf; + } + return readAsmConstArgsArray; + } + function _emscripten_asm_const_int(code, sigPtr, argbuf) { + var args = readAsmConstArgs(sigPtr, argbuf); + if (!ASM_CONSTS.hasOwnProperty(code)) abort('No EM_ASM constant found at address ' + code); + return ASM_CONSTS[code].apply(null, args); + } -var dynCall_iiiiii = Module["dynCall_iiiiii"] = asm["dynCall_iiiiii"]; + function getHeapMax() { + // Stay one Wasm page short of 4GB: while e.g. Chrome is able to allocate + // full 4GB Wasm memories, the size will wrap back to 0 bytes in Wasm side + // for any code that deals with heap sizes, which would require special + // casing all heap size related code to treat 0 specially. + return 2147483648; + } + function _emscripten_get_heap_max() { + return getHeapMax(); + } -var dynCall_iiiiiid = Module["dynCall_iiiiiid"] = asm["dynCall_iiiiiid"]; + function emscripten_realloc_buffer(size) { + try { + // round size grow request up to wasm page size (fixed 64KB per spec) + wasmMemory.grow((size - buffer.byteLength + 65535) >>> 16); // .grow() takes a delta compared to the previous size + updateGlobalBufferAndViews(wasmMemory.buffer); + return 1 /*success*/; + } catch(e) { + err('emscripten_realloc_buffer: Attempted to grow heap from ' + buffer.byteLength + ' bytes to ' + size + ' bytes, but got error: ' + e); + } + // implicit 0 return to save code size (caller will cast "undefined" into 0 + // anyhow) + } + function _emscripten_resize_heap(requestedSize) { + var oldSize = HEAPU8.length; + requestedSize = requestedSize >>> 0; + // With multithreaded builds, races can happen (another thread might increase the size + // in between), so return a failure, and let the caller retry. + assert(requestedSize > oldSize); + + // Memory resize rules: + // 1. Always increase heap size to at least the requested size, rounded up + // to next page multiple. + // 2a. If MEMORY_GROWTH_LINEAR_STEP == -1, excessively resize the heap + // geometrically: increase the heap size according to + // MEMORY_GROWTH_GEOMETRIC_STEP factor (default +20%), At most + // overreserve by MEMORY_GROWTH_GEOMETRIC_CAP bytes (default 96MB). + // 2b. If MEMORY_GROWTH_LINEAR_STEP != -1, excessively resize the heap + // linearly: increase the heap size by at least + // MEMORY_GROWTH_LINEAR_STEP bytes. + // 3. Max size for the heap is capped at 2048MB-WASM_PAGE_SIZE, or by + // MAXIMUM_MEMORY, or by ASAN limit, depending on which is smallest + // 4. If we were unable to allocate as much memory, it may be due to + // over-eager decision to excessively reserve due to (3) above. + // Hence if an allocation fails, cut down on the amount of excess + // growth, in an attempt to succeed to perform a smaller allocation. + + // A limit is set for how much we can grow. We should not exceed that + // (the wasm binary specifies it, so if we tried, we'd fail anyhow). + var maxHeapSize = getHeapMax(); + if (requestedSize > maxHeapSize) { + err('Cannot enlarge memory, asked to go up to ' + requestedSize + ' bytes, but the limit is ' + maxHeapSize + ' bytes!'); + return false; + } + + let alignUp = (x, multiple) => x + (multiple - x % multiple) % multiple; + + // Loop through potential heap size increases. If we attempt a too eager + // reservation that fails, cut down on the attempted size and reserve a + // smaller bump instead. (max 3 times, chosen somewhat arbitrarily) + for (var cutDown = 1; cutDown <= 4; cutDown *= 2) { + var overGrownHeapSize = oldSize * (1 + 0.2 / cutDown); // ensure geometric growth + // but limit overreserving (default to capping at +96MB overgrowth at most) + overGrownHeapSize = Math.min(overGrownHeapSize, requestedSize + 100663296 ); + + var newSize = Math.min(maxHeapSize, alignUp(Math.max(requestedSize, overGrownHeapSize), 65536)); + + var replacement = emscripten_realloc_buffer(newSize); + if (replacement) { + err('Warning: Enlarging memory arrays, this is not fast! ' + [oldSize, newSize]); + + return true; + } + } + err('Failed to grow the heap from ' + oldSize + ' bytes to ' + newSize + ' bytes, not enough memory!'); + return false; + } + + var ENV = {}; + + function getExecutableName() { + return thisProgram || './this.program'; + } + function getEnvStrings() { + if (!getEnvStrings.strings) { + // Default values. + // Browser language detection #8751 + var lang = ((typeof navigator == 'object' && navigator.languages && navigator.languages[0]) || 'C').replace('-', '_') + '.UTF-8'; + var env = { + 'USER': 'web_user', + 'LOGNAME': 'web_user', + 'PATH': '/', + 'PWD': '/', + 'HOME': '/home/web_user', + 'LANG': lang, + '_': getExecutableName() + }; + // Apply the user-provided values, if any. + for (var x in ENV) { + // x is a key in ENV; if ENV[x] is undefined, that means it was + // explicitly set to be so. We allow user code to do that to + // force variables with default values to remain unset. + if (ENV[x] === undefined) delete env[x]; + else env[x] = ENV[x]; + } + var strings = []; + for (var x in env) { + strings.push(x + '=' + env[x]); + } + getEnvStrings.strings = strings; + } + return getEnvStrings.strings; + } + + /** @param {boolean=} dontAddNull */ + function writeAsciiToMemory(str, buffer, dontAddNull) { + for (var i = 0; i < str.length; ++i) { + assert(str.charCodeAt(i) === (str.charCodeAt(i) & 0xff)); + HEAP8[((buffer++)>>0)] = str.charCodeAt(i); + } + // Null-terminate the pointer to the HEAP. + if (!dontAddNull) HEAP8[((buffer)>>0)] = 0; + } + function _environ_get(__environ, environ_buf) { + var bufSize = 0; + getEnvStrings().forEach(function(string, i) { + var ptr = environ_buf + bufSize; + HEAPU32[(((__environ)+(i*4))>>2)] = ptr; + writeAsciiToMemory(string, ptr); + bufSize += string.length + 1; + }); + return 0; + } -var dynCall_iiiiiii = Module["dynCall_iiiiiii"] = asm["dynCall_iiiiiii"]; + function _environ_sizes_get(penviron_count, penviron_buf_size) { + var strings = getEnvStrings(); + HEAPU32[((penviron_count)>>2)] = strings.length; + var bufSize = 0; + strings.forEach(function(string) { + bufSize += string.length + 1; + }); + HEAPU32[((penviron_buf_size)>>2)] = bufSize; + return 0; + } -var dynCall_iiiiiiii = Module["dynCall_iiiiiiii"] = asm["dynCall_iiiiiiii"]; + function _proc_exit(code) { + EXITSTATUS = code; + if (!keepRuntimeAlive()) { + if (Module['onExit']) Module['onExit'](code); + ABORT = true; + } + quit_(code, new ExitStatus(code)); + } + /** @param {boolean|number=} implicit */ + function exitJS(status, implicit) { + EXITSTATUS = status; + + checkUnflushedContent(); + + // if exit() was called explicitly, warn the user if the runtime isn't actually being shut down + if (keepRuntimeAlive() && !implicit) { + var msg = 'program exited (with status: ' + status + '), but EXIT_RUNTIME is not set, so halting execution but not exiting the runtime or preventing further async execution (build with EXIT_RUNTIME=1, if you want a true shutdown)'; + err(msg); + } + + _proc_exit(status); + } + var _exit = exitJS; -var dynCall_iiiiiiiii = Module["dynCall_iiiiiiiii"] = asm["dynCall_iiiiiiiii"]; + function _fd_close(fd) { + try { + + var stream = SYSCALLS.getStreamFromFD(fd); + FS.close(stream); + return 0; + } catch (e) { + if (typeof FS == 'undefined' || !(e instanceof FS.ErrnoError)) throw e; + return e.errno; + } + } + + /** @param {number=} offset */ + function doReadv(stream, iov, iovcnt, offset) { + var ret = 0; + for (var i = 0; i < iovcnt; i++) { + var ptr = HEAPU32[((iov)>>2)]; + var len = HEAPU32[(((iov)+(4))>>2)]; + iov += 8; + var curr = FS.read(stream, HEAP8,ptr, len, offset); + if (curr < 0) return -1; + ret += curr; + if (curr < len) break; // nothing more to read + } + return ret; + } + function _fd_read(fd, iov, iovcnt, pnum) { + try { + + var stream = SYSCALLS.getStreamFromFD(fd); + var num = doReadv(stream, iov, iovcnt); + HEAPU32[((pnum)>>2)] = num; + return 0; + } catch (e) { + if (typeof FS == 'undefined' || !(e instanceof FS.ErrnoError)) throw e; + return e.errno; + } + } -var dynCall_v = Module["dynCall_v"] = asm["dynCall_v"]; + function convertI32PairToI53Checked(lo, hi) { + assert(lo == (lo >>> 0) || lo == (lo|0)); // lo should either be a i32 or a u32 + assert(hi === (hi|0)); // hi should be a i32 + return ((hi + 0x200000) >>> 0 < 0x400001 - !!lo) ? (lo >>> 0) + hi * 4294967296 : NaN; + } + function _fd_seek(fd, offset_low, offset_high, whence, newOffset) { + try { + + var offset = convertI32PairToI53Checked(offset_low, offset_high); if (isNaN(offset)) return 61; + var stream = SYSCALLS.getStreamFromFD(fd); + FS.llseek(stream, offset, whence); + (tempI64 = [stream.position>>>0,(tempDouble=stream.position,(+(Math.abs(tempDouble))) >= 1.0 ? (tempDouble > 0.0 ? ((Math.min((+(Math.floor((tempDouble)/4294967296.0))), 4294967295.0))|0)>>>0 : (~~((+(Math.ceil((tempDouble - +(((~~(tempDouble)))>>>0))/4294967296.0)))))>>>0) : 0)],HEAP32[((newOffset)>>2)] = tempI64[0],HEAP32[(((newOffset)+(4))>>2)] = tempI64[1]); + if (stream.getdents && offset === 0 && whence === 0) stream.getdents = null; // reset readdir state + return 0; + } catch (e) { + if (typeof FS == 'undefined' || !(e instanceof FS.ErrnoError)) throw e; + return e.errno; + } + } -var dynCall_vi = Module["dynCall_vi"] = asm["dynCall_vi"]; + /** @param {number=} offset */ + function doWritev(stream, iov, iovcnt, offset) { + var ret = 0; + for (var i = 0; i < iovcnt; i++) { + var ptr = HEAPU32[((iov)>>2)]; + var len = HEAPU32[(((iov)+(4))>>2)]; + iov += 8; + var curr = FS.write(stream, HEAP8,ptr, len, offset); + if (curr < 0) return -1; + ret += curr; + } + return ret; + } + function _fd_write(fd, iov, iovcnt, pnum) { + try { + + var stream = SYSCALLS.getStreamFromFD(fd); + var num = doWritev(stream, iov, iovcnt); + HEAPU32[((pnum)>>2)] = num; + return 0; + } catch (e) { + if (typeof FS == 'undefined' || !(e instanceof FS.ErrnoError)) throw e; + return e.errno; + } + } -var dynCall_vid = Module["dynCall_vid"] = asm["dynCall_vid"]; + function __isLeapYear(year) { + return year%4 === 0 && (year%100 !== 0 || year%400 === 0); + } + + function __arraySum(array, index) { + var sum = 0; + for (var i = 0; i <= index; sum += array[i++]) { + // no-op + } + return sum; + } + + var __MONTH_DAYS_LEAP = [31,29,31,30,31,30,31,31,30,31,30,31]; + + var __MONTH_DAYS_REGULAR = [31,28,31,30,31,30,31,31,30,31,30,31]; + function __addDays(date, days) { + var newDate = new Date(date.getTime()); + while (days > 0) { + var leap = __isLeapYear(newDate.getFullYear()); + var currentMonth = newDate.getMonth(); + var daysInCurrentMonth = (leap ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR)[currentMonth]; + + if (days > daysInCurrentMonth-newDate.getDate()) { + // we spill over to next month + days -= (daysInCurrentMonth-newDate.getDate()+1); + newDate.setDate(1); + if (currentMonth < 11) { + newDate.setMonth(currentMonth+1) + } else { + newDate.setMonth(0); + newDate.setFullYear(newDate.getFullYear()+1); + } + } else { + // we stay in current month + newDate.setDate(newDate.getDate()+days); + return newDate; + } + } + + return newDate; + } + function _strftime(s, maxsize, format, tm) { + // size_t strftime(char *restrict s, size_t maxsize, const char *restrict format, const struct tm *restrict timeptr); + // http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html + + var tm_zone = HEAP32[(((tm)+(40))>>2)]; + + var date = { + tm_sec: HEAP32[((tm)>>2)], + tm_min: HEAP32[(((tm)+(4))>>2)], + tm_hour: HEAP32[(((tm)+(8))>>2)], + tm_mday: HEAP32[(((tm)+(12))>>2)], + tm_mon: HEAP32[(((tm)+(16))>>2)], + tm_year: HEAP32[(((tm)+(20))>>2)], + tm_wday: HEAP32[(((tm)+(24))>>2)], + tm_yday: HEAP32[(((tm)+(28))>>2)], + tm_isdst: HEAP32[(((tm)+(32))>>2)], + tm_gmtoff: HEAP32[(((tm)+(36))>>2)], + tm_zone: tm_zone ? UTF8ToString(tm_zone) : '' + }; + + var pattern = UTF8ToString(format); + + // expand format + var EXPANSION_RULES_1 = { + '%c': '%a %b %d %H:%M:%S %Y', // Replaced by the locale's appropriate date and time representation - e.g., Mon Aug 3 14:02:01 2013 + '%D': '%m/%d/%y', // Equivalent to %m / %d / %y + '%F': '%Y-%m-%d', // Equivalent to %Y - %m - %d + '%h': '%b', // Equivalent to %b + '%r': '%I:%M:%S %p', // Replaced by the time in a.m. and p.m. notation + '%R': '%H:%M', // Replaced by the time in 24-hour notation + '%T': '%H:%M:%S', // Replaced by the time + '%x': '%m/%d/%y', // Replaced by the locale's appropriate date representation + '%X': '%H:%M:%S', // Replaced by the locale's appropriate time representation + // Modified Conversion Specifiers + '%Ec': '%c', // Replaced by the locale's alternative appropriate date and time representation. + '%EC': '%C', // Replaced by the name of the base year (period) in the locale's alternative representation. + '%Ex': '%m/%d/%y', // Replaced by the locale's alternative date representation. + '%EX': '%H:%M:%S', // Replaced by the locale's alternative time representation. + '%Ey': '%y', // Replaced by the offset from %EC (year only) in the locale's alternative representation. + '%EY': '%Y', // Replaced by the full alternative year representation. + '%Od': '%d', // Replaced by the day of the month, using the locale's alternative numeric symbols, filled as needed with leading zeros if there is any alternative symbol for zero; otherwise, with leading characters. + '%Oe': '%e', // Replaced by the day of the month, using the locale's alternative numeric symbols, filled as needed with leading characters. + '%OH': '%H', // Replaced by the hour (24-hour clock) using the locale's alternative numeric symbols. + '%OI': '%I', // Replaced by the hour (12-hour clock) using the locale's alternative numeric symbols. + '%Om': '%m', // Replaced by the month using the locale's alternative numeric symbols. + '%OM': '%M', // Replaced by the minutes using the locale's alternative numeric symbols. + '%OS': '%S', // Replaced by the seconds using the locale's alternative numeric symbols. + '%Ou': '%u', // Replaced by the weekday as a number in the locale's alternative representation (Monday=1). + '%OU': '%U', // Replaced by the week number of the year (Sunday as the first day of the week, rules corresponding to %U ) using the locale's alternative numeric symbols. + '%OV': '%V', // Replaced by the week number of the year (Monday as the first day of the week, rules corresponding to %V ) using the locale's alternative numeric symbols. + '%Ow': '%w', // Replaced by the number of the weekday (Sunday=0) using the locale's alternative numeric symbols. + '%OW': '%W', // Replaced by the week number of the year (Monday as the first day of the week) using the locale's alternative numeric symbols. + '%Oy': '%y', // Replaced by the year (offset from %C ) using the locale's alternative numeric symbols. + }; + for (var rule in EXPANSION_RULES_1) { + pattern = pattern.replace(new RegExp(rule, 'g'), EXPANSION_RULES_1[rule]); + } + + var WEEKDAYS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']; + var MONTHS = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; + + function leadingSomething(value, digits, character) { + var str = typeof value == 'number' ? value.toString() : (value || ''); + while (str.length < digits) { + str = character[0]+str; + } + return str; + } + + function leadingNulls(value, digits) { + return leadingSomething(value, digits, '0'); + } + + function compareByDay(date1, date2) { + function sgn(value) { + return value < 0 ? -1 : (value > 0 ? 1 : 0); + } + + var compare; + if ((compare = sgn(date1.getFullYear()-date2.getFullYear())) === 0) { + if ((compare = sgn(date1.getMonth()-date2.getMonth())) === 0) { + compare = sgn(date1.getDate()-date2.getDate()); + } + } + return compare; + } + + function getFirstWeekStartDate(janFourth) { + switch (janFourth.getDay()) { + case 0: // Sunday + return new Date(janFourth.getFullYear()-1, 11, 29); + case 1: // Monday + return janFourth; + case 2: // Tuesday + return new Date(janFourth.getFullYear(), 0, 3); + case 3: // Wednesday + return new Date(janFourth.getFullYear(), 0, 2); + case 4: // Thursday + return new Date(janFourth.getFullYear(), 0, 1); + case 5: // Friday + return new Date(janFourth.getFullYear()-1, 11, 31); + case 6: // Saturday + return new Date(janFourth.getFullYear()-1, 11, 30); + } + } + + function getWeekBasedYear(date) { + var thisDate = __addDays(new Date(date.tm_year+1900, 0, 1), date.tm_yday); + + var janFourthThisYear = new Date(thisDate.getFullYear(), 0, 4); + var janFourthNextYear = new Date(thisDate.getFullYear()+1, 0, 4); + + var firstWeekStartThisYear = getFirstWeekStartDate(janFourthThisYear); + var firstWeekStartNextYear = getFirstWeekStartDate(janFourthNextYear); + + if (compareByDay(firstWeekStartThisYear, thisDate) <= 0) { + // this date is after the start of the first week of this year + if (compareByDay(firstWeekStartNextYear, thisDate) <= 0) { + return thisDate.getFullYear()+1; + } + return thisDate.getFullYear(); + } + return thisDate.getFullYear()-1; + } + + var EXPANSION_RULES_2 = { + '%a': function(date) { + return WEEKDAYS[date.tm_wday].substring(0,3); + }, + '%A': function(date) { + return WEEKDAYS[date.tm_wday]; + }, + '%b': function(date) { + return MONTHS[date.tm_mon].substring(0,3); + }, + '%B': function(date) { + return MONTHS[date.tm_mon]; + }, + '%C': function(date) { + var year = date.tm_year+1900; + return leadingNulls((year/100)|0,2); + }, + '%d': function(date) { + return leadingNulls(date.tm_mday, 2); + }, + '%e': function(date) { + return leadingSomething(date.tm_mday, 2, ' '); + }, + '%g': function(date) { + // %g, %G, and %V give values according to the ISO 8601:2000 standard week-based year. + // In this system, weeks begin on a Monday and week 1 of the year is the week that includes + // January 4th, which is also the week that includes the first Thursday of the year, and + // is also the first week that contains at least four days in the year. + // If the first Monday of January is the 2nd, 3rd, or 4th, the preceding days are part of + // the last week of the preceding year; thus, for Saturday 2nd January 1999, + // %G is replaced by 1998 and %V is replaced by 53. If December 29th, 30th, + // or 31st is a Monday, it and any following days are part of week 1 of the following year. + // Thus, for Tuesday 30th December 1997, %G is replaced by 1998 and %V is replaced by 01. + + return getWeekBasedYear(date).toString().substring(2); + }, + '%G': function(date) { + return getWeekBasedYear(date); + }, + '%H': function(date) { + return leadingNulls(date.tm_hour, 2); + }, + '%I': function(date) { + var twelveHour = date.tm_hour; + if (twelveHour == 0) twelveHour = 12; + else if (twelveHour > 12) twelveHour -= 12; + return leadingNulls(twelveHour, 2); + }, + '%j': function(date) { + // Day of the year (001-366) + return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900) ? __MONTH_DAYS_LEAP : __MONTH_DAYS_REGULAR, date.tm_mon-1), 3); + }, + '%m': function(date) { + return leadingNulls(date.tm_mon+1, 2); + }, + '%M': function(date) { + return leadingNulls(date.tm_min, 2); + }, + '%n': function() { + return '\n'; + }, + '%p': function(date) { + if (date.tm_hour >= 0 && date.tm_hour < 12) { + return 'AM'; + } + return 'PM'; + }, + '%S': function(date) { + return leadingNulls(date.tm_sec, 2); + }, + '%t': function() { + return '\t'; + }, + '%u': function(date) { + return date.tm_wday || 7; + }, + '%U': function(date) { + var days = date.tm_yday + 7 - date.tm_wday; + return leadingNulls(Math.floor(days / 7), 2); + }, + '%V': function(date) { + // Replaced by the week number of the year (Monday as the first day of the week) + // as a decimal number [01,53]. If the week containing 1 January has four + // or more days in the new year, then it is considered week 1. + // Otherwise, it is the last week of the previous year, and the next week is week 1. + // Both January 4th and the first Thursday of January are always in week 1. [ tm_year, tm_wday, tm_yday] + var val = Math.floor((date.tm_yday + 7 - (date.tm_wday + 6) % 7 ) / 7); + // If 1 Jan is just 1-3 days past Monday, the previous week + // is also in this year. + if ((date.tm_wday + 371 - date.tm_yday - 2) % 7 <= 2) { + val++; + } + if (!val) { + val = 52; + // If 31 December of prev year a Thursday, or Friday of a + // leap year, then the prev year has 53 weeks. + var dec31 = (date.tm_wday + 7 - date.tm_yday - 1) % 7; + if (dec31 == 4 || (dec31 == 5 && __isLeapYear(date.tm_year%400-1))) { + val++; + } + } else if (val == 53) { + // If 1 January is not a Thursday, and not a Wednesday of a + // leap year, then this year has only 52 weeks. + var jan1 = (date.tm_wday + 371 - date.tm_yday) % 7; + if (jan1 != 4 && (jan1 != 3 || !__isLeapYear(date.tm_year))) + val = 1; + } + return leadingNulls(val, 2); + }, + '%w': function(date) { + return date.tm_wday; + }, + '%W': function(date) { + var days = date.tm_yday + 7 - ((date.tm_wday + 6) % 7); + return leadingNulls(Math.floor(days / 7), 2); + }, + '%y': function(date) { + // Replaced by the last two digits of the year as a decimal number [00,99]. [ tm_year] + return (date.tm_year+1900).toString().substring(2); + }, + '%Y': function(date) { + // Replaced by the year as a decimal number (for example, 1997). [ tm_year] + return date.tm_year+1900; + }, + '%z': function(date) { + // Replaced by the offset from UTC in the ISO 8601:2000 standard format ( +hhmm or -hhmm ). + // For example, "-0430" means 4 hours 30 minutes behind UTC (west of Greenwich). + var off = date.tm_gmtoff; + var ahead = off >= 0; + off = Math.abs(off) / 60; + // convert from minutes into hhmm format (which means 60 minutes = 100 units) + off = (off / 60)*100 + (off % 60); + return (ahead ? '+' : '-') + String("0000" + off).slice(-4); + }, + '%Z': function(date) { + return date.tm_zone; + }, + '%%': function() { + return '%'; + } + }; + + // Replace %% with a pair of NULLs (which cannot occur in a C string), then + // re-inject them after processing. + pattern = pattern.replace(/%%/g, '\0\0') + for (var rule in EXPANSION_RULES_2) { + if (pattern.includes(rule)) { + pattern = pattern.replace(new RegExp(rule, 'g'), EXPANSION_RULES_2[rule](date)); + } + } + pattern = pattern.replace(/\0\0/g, '%') + + var bytes = intArrayFromString(pattern, false); + if (bytes.length > maxsize) { + return 0; + } + + writeArrayToMemory(bytes, s); + return bytes.length-1; + } -var dynCall_vii = Module["dynCall_vii"] = asm["dynCall_vii"]; + function _strftime_l(s, maxsize, format, tm) { + return _strftime(s, maxsize, format, tm); // no locale support yet + } -var dynCall_viid = Module["dynCall_viid"] = asm["dynCall_viid"]; -var dynCall_viii = Module["dynCall_viii"] = asm["dynCall_viii"]; + function uleb128Encode(n, target) { + assert(n < 16384); + if (n < 128) { + target.push(n); + } else { + target.push((n % 128) | 128, n >> 7); + } + } + + function sigToWasmTypes(sig) { + var typeNames = { + 'i': 'i32', + 'j': 'i64', + 'f': 'f32', + 'd': 'f64', + 'p': 'i32', + }; + var type = { + parameters: [], + results: sig[0] == 'v' ? [] : [typeNames[sig[0]]] + }; + for (var i = 1; i < sig.length; ++i) { + assert(sig[i] in typeNames, 'invalid signature char: ' + sig[i]); + type.parameters.push(typeNames[sig[i]]); + } + return type; + } + function convertJsFunctionToWasm(func, sig) { + return func; + } + + function updateTableMap(offset, count) { + if (functionsInTableMap) { + for (var i = offset; i < offset + count; i++) { + var item = getWasmTableEntry(i); + // Ignore null values. + if (item) { + functionsInTableMap.set(item, i); + } + } + } + } + + var functionsInTableMap = undefined; + + var freeTableIndexes = []; + function getEmptyTableSlot() { + // Reuse a free index if there is one, otherwise grow. + if (freeTableIndexes.length) { + return freeTableIndexes.pop(); + } + // Grow the table + try { + wasmTable.grow(1); + } catch (err) { + if (!(err instanceof RangeError)) { + throw err; + } + throw 'Unable to grow wasm table. Set ALLOW_TABLE_GROWTH.'; + } + return wasmTable.length - 1; + } + + function setWasmTableEntry(idx, func) { + wasmTable.set(idx, func); + } + /** @param {string=} sig */ + function addFunction(func, sig) { + assert(typeof func != 'undefined'); + + // Check if the function is already in the table, to ensure each function + // gets a unique index. First, create the map if this is the first use. + if (!functionsInTableMap) { + functionsInTableMap = new WeakMap(); + updateTableMap(0, wasmTable.length); + } + if (functionsInTableMap.has(func)) { + return functionsInTableMap.get(func); + } + + // It's not in the table, add it now. + + var ret = getEmptyTableSlot(); + + // Set the new value. + try { + // Attempting to call this with JS function will cause of table.set() to fail + setWasmTableEntry(ret, func); + } catch (err) { + if (!(err instanceof TypeError)) { + throw err; + } + assert(typeof sig != 'undefined', 'Missing signature argument to addFunction: ' + func); + var wrapped = convertJsFunctionToWasm(func, sig); + setWasmTableEntry(ret, wrapped); + } + + functionsInTableMap.set(func, ret); + + return ret; + } -var dynCall_viiii = Module["dynCall_viiii"] = asm["dynCall_viiii"]; + function removeFunction(index) { + functionsInTableMap.delete(getWasmTableEntry(index)); + freeTableIndexes.push(index); + } -var dynCall_viiiii = Module["dynCall_viiiii"] = asm["dynCall_viiiii"]; + var ALLOC_NORMAL = 0; + + var ALLOC_STACK = 1; + function allocate(slab, allocator) { + var ret; + assert(typeof allocator == 'number', 'allocate no longer takes a type argument') + assert(typeof slab != 'number', 'allocate no longer takes a number as arg0') + + if (allocator == ALLOC_STACK) { + ret = stackAlloc(slab.length); + } else { + ret = _malloc(slab.length); + } + + if (!slab.subarray && !slab.slice) { + slab = new Uint8Array(slab); + } + HEAPU8.set(slab, ret); + return ret; + } -var dynCall_viiiiii = Module["dynCall_viiiiii"] = asm["dynCall_viiiiii"]; -var dynCall_viiiiiii = Module["dynCall_viiiiiii"] = asm["dynCall_viiiiiii"]; -Module["asm"] = asm; + function AsciiToString(ptr) { + var str = ''; + while (1) { + var ch = HEAPU8[((ptr++)>>0)]; + if (!ch) return str; + str += String.fromCharCode(ch); + } + } -if (!Module["intArrayFromString"]) Module["intArrayFromString"] = function() { - abort("'intArrayFromString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + function stringToAscii(str, outPtr) { + return writeAsciiToMemory(str, outPtr, false); + } -if (!Module["intArrayToString"]) Module["intArrayToString"] = function() { - abort("'intArrayToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["ccall"]) Module["ccall"] = function() { - abort("'ccall' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["cwrap"]) Module["cwrap"] = function() { - abort("'cwrap' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["setValue"]) Module["setValue"] = function() { - abort("'setValue' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["getValue"]) Module["getValue"] = function() { - abort("'getValue' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["allocate"]) Module["allocate"] = function() { - abort("'allocate' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["getMemory"]) Module["getMemory"] = function() { - abort("'getMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you"); -}; -if (!Module["AsciiToString"]) Module["AsciiToString"] = function() { - abort("'AsciiToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + function allocateUTF8OnStack(str) { + var size = lengthBytesUTF8(str) + 1; + var ret = stackAlloc(size); + stringToUTF8Array(str, HEAP8, ret, size); + return ret; + } -if (!Module["stringToAscii"]) Module["stringToAscii"] = function() { - abort("'stringToAscii' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + /** @deprecated @param {boolean=} dontAddNull */ + function writeStringToMemory(string, buffer, dontAddNull) { + warnOnce('writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!'); + + var /** @type {number} */ lastChar, /** @type {number} */ end; + if (dontAddNull) { + // stringToUTF8Array always appends null. If we don't want to do that, remember the + // character that existed at the location where the null will be placed, and restore + // that after the write (below). + end = buffer + lengthBytesUTF8(string); + lastChar = HEAP8[end]; + } + stringToUTF8(string, buffer, Infinity); + if (dontAddNull) HEAP8[end] = lastChar; // Restore the value under the null character. + } -if (!Module["UTF8ArrayToString"]) Module["UTF8ArrayToString"] = function() { - abort("'UTF8ArrayToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["UTF8ToString"]) Module["UTF8ToString"] = function() { - abort("'UTF8ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["stringToUTF8Array"]) Module["stringToUTF8Array"] = function() { - abort("'stringToUTF8Array' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["stringToUTF8"]) Module["stringToUTF8"] = function() { - abort("'stringToUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["lengthBytesUTF8"]) Module["lengthBytesUTF8"] = function() { - abort("'lengthBytesUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["UTF16ToString"]) Module["UTF16ToString"] = function() { - abort("'UTF16ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + function getCFunc(ident) { + var func = Module['_' + ident]; // closure exported function + assert(func, 'Cannot call unknown function ' + ident + ', make sure it is exported'); + return func; + } + + /** + * @param {string|null=} returnType + * @param {Array=} argTypes + * @param {Arguments|Array=} args + * @param {Object=} opts + */ + function ccall(ident, returnType, argTypes, args, opts) { + // For fast lookup of conversion functions + var toC = { + 'string': (str) => { + var ret = 0; + if (str !== null && str !== undefined && str !== 0) { // null string + // at most 4 bytes per UTF-8 code point, +1 for the trailing '\0' + var len = (str.length << 2) + 1; + ret = stackAlloc(len); + stringToUTF8(str, ret, len); + } + return ret; + }, + 'array': (arr) => { + var ret = stackAlloc(arr.length); + writeArrayToMemory(arr, ret); + return ret; + } + }; + + function convertReturnValue(ret) { + if (returnType === 'string') { + + return UTF8ToString(ret); + } + if (returnType === 'boolean') return Boolean(ret); + return ret; + } + + var func = getCFunc(ident); + var cArgs = []; + var stack = 0; + assert(returnType !== 'array', 'Return type should not be "array".'); + if (args) { + for (var i = 0; i < args.length; i++) { + var converter = toC[argTypes[i]]; + if (converter) { + if (stack === 0) stack = stackSave(); + cArgs[i] = converter(args[i]); + } else { + cArgs[i] = args[i]; + } + } + } + var ret = func.apply(null, cArgs); + function onDone(ret) { + if (stack !== 0) stackRestore(stack); + return convertReturnValue(ret); + } + + ret = onDone(ret); + return ret; + } -if (!Module["stringToUTF16"]) Module["stringToUTF16"] = function() { - abort("'stringToUTF16' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + + /** + * @param {string=} returnType + * @param {Array=} argTypes + * @param {Object=} opts + */ + function cwrap(ident, returnType, argTypes, opts) { + return function() { + return ccall(ident, returnType, argTypes, arguments, opts); + } + } -if (!Module["lengthBytesUTF16"]) Module["lengthBytesUTF16"] = function() { - abort("'lengthBytesUTF16' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["UTF32ToString"]) Module["UTF32ToString"] = function() { - abort("'UTF32ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["stringToUTF32"]) Module["stringToUTF32"] = function() { - abort("'stringToUTF32' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + var FSNode = /** @constructor */ function(parent, name, mode, rdev) { + if (!parent) { + parent = this; // root node sets parent to itself + } + this.parent = parent; + this.mount = parent.mount; + this.mounted = null; + this.id = FS.nextInode++; + this.name = name; + this.mode = mode; + this.node_ops = {}; + this.stream_ops = {}; + this.rdev = rdev; + }; + var readMode = 292/*292*/ | 73/*73*/; + var writeMode = 146/*146*/; + Object.defineProperties(FSNode.prototype, { + read: { + get: /** @this{FSNode} */function() { + return (this.mode & readMode) === readMode; + }, + set: /** @this{FSNode} */function(val) { + val ? this.mode |= readMode : this.mode &= ~readMode; + } + }, + write: { + get: /** @this{FSNode} */function() { + return (this.mode & writeMode) === writeMode; + }, + set: /** @this{FSNode} */function(val) { + val ? this.mode |= writeMode : this.mode &= ~writeMode; + } + }, + isFolder: { + get: /** @this{FSNode} */function() { + return FS.isDir(this.mode); + } + }, + isDevice: { + get: /** @this{FSNode} */function() { + return FS.isChrdev(this.mode); + } + } + }); + FS.FSNode = FSNode; + FS.staticInit();; +ERRNO_CODES = { + 'EPERM': 63, + 'ENOENT': 44, + 'ESRCH': 71, + 'EINTR': 27, + 'EIO': 29, + 'ENXIO': 60, + 'E2BIG': 1, + 'ENOEXEC': 45, + 'EBADF': 8, + 'ECHILD': 12, + 'EAGAIN': 6, + 'EWOULDBLOCK': 6, + 'ENOMEM': 48, + 'EACCES': 2, + 'EFAULT': 21, + 'ENOTBLK': 105, + 'EBUSY': 10, + 'EEXIST': 20, + 'EXDEV': 75, + 'ENODEV': 43, + 'ENOTDIR': 54, + 'EISDIR': 31, + 'EINVAL': 28, + 'ENFILE': 41, + 'EMFILE': 33, + 'ENOTTY': 59, + 'ETXTBSY': 74, + 'EFBIG': 22, + 'ENOSPC': 51, + 'ESPIPE': 70, + 'EROFS': 69, + 'EMLINK': 34, + 'EPIPE': 64, + 'EDOM': 18, + 'ERANGE': 68, + 'ENOMSG': 49, + 'EIDRM': 24, + 'ECHRNG': 106, + 'EL2NSYNC': 156, + 'EL3HLT': 107, + 'EL3RST': 108, + 'ELNRNG': 109, + 'EUNATCH': 110, + 'ENOCSI': 111, + 'EL2HLT': 112, + 'EDEADLK': 16, + 'ENOLCK': 46, + 'EBADE': 113, + 'EBADR': 114, + 'EXFULL': 115, + 'ENOANO': 104, + 'EBADRQC': 103, + 'EBADSLT': 102, + 'EDEADLOCK': 16, + 'EBFONT': 101, + 'ENOSTR': 100, + 'ENODATA': 116, + 'ETIME': 117, + 'ENOSR': 118, + 'ENONET': 119, + 'ENOPKG': 120, + 'EREMOTE': 121, + 'ENOLINK': 47, + 'EADV': 122, + 'ESRMNT': 123, + 'ECOMM': 124, + 'EPROTO': 65, + 'EMULTIHOP': 36, + 'EDOTDOT': 125, + 'EBADMSG': 9, + 'ENOTUNIQ': 126, + 'EBADFD': 127, + 'EREMCHG': 128, + 'ELIBACC': 129, + 'ELIBBAD': 130, + 'ELIBSCN': 131, + 'ELIBMAX': 132, + 'ELIBEXEC': 133, + 'ENOSYS': 52, + 'ENOTEMPTY': 55, + 'ENAMETOOLONG': 37, + 'ELOOP': 32, + 'EOPNOTSUPP': 138, + 'EPFNOSUPPORT': 139, + 'ECONNRESET': 15, + 'ENOBUFS': 42, + 'EAFNOSUPPORT': 5, + 'EPROTOTYPE': 67, + 'ENOTSOCK': 57, + 'ENOPROTOOPT': 50, + 'ESHUTDOWN': 140, + 'ECONNREFUSED': 14, + 'EADDRINUSE': 3, + 'ECONNABORTED': 13, + 'ENETUNREACH': 40, + 'ENETDOWN': 38, + 'ETIMEDOUT': 73, + 'EHOSTDOWN': 142, + 'EHOSTUNREACH': 23, + 'EINPROGRESS': 26, + 'EALREADY': 7, + 'EDESTADDRREQ': 17, + 'EMSGSIZE': 35, + 'EPROTONOSUPPORT': 66, + 'ESOCKTNOSUPPORT': 137, + 'EADDRNOTAVAIL': 4, + 'ENETRESET': 39, + 'EISCONN': 30, + 'ENOTCONN': 53, + 'ETOOMANYREFS': 141, + 'EUSERS': 136, + 'EDQUOT': 19, + 'ESTALE': 72, + 'ENOTSUP': 138, + 'ENOMEDIUM': 148, + 'EILSEQ': 25, + 'EOVERFLOW': 61, + 'ECANCELED': 11, + 'ENOTRECOVERABLE': 56, + 'EOWNERDEAD': 62, + 'ESTRPIPE': 135, + };; +embind_init_charCodes(); +BindingError = Module['BindingError'] = extendError(Error, 'BindingError');; +InternalError = Module['InternalError'] = extendError(Error, 'InternalError');; +init_emval();; +UnboundTypeError = Module['UnboundTypeError'] = extendError(Error, 'UnboundTypeError');; +var ASSERTIONS = true; -if (!Module["lengthBytesUTF32"]) Module["lengthBytesUTF32"] = function() { - abort("'lengthBytesUTF32' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +// Copied from https://github.com/strophe/strophejs/blob/e06d027/src/polyfills.js#L149 + +// This code was written by Tyler Akins and has been placed in the +// public domain. It would be nice if you left this header intact. +// Base64 code from Tyler Akins -- http://rumkin.com + +/** + * Decodes a base64 string. + * @param {string} input The string to decode. + */ +var decodeBase64 = typeof atob == 'function' ? atob : function (input) { + var keyStr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; + + var output = ''; + var chr1, chr2, chr3; + var enc1, enc2, enc3, enc4; + var i = 0; + // remove all characters that are not A-Z, a-z, 0-9, +, /, or = + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ''); + do { + enc1 = keyStr.indexOf(input.charAt(i++)); + enc2 = keyStr.indexOf(input.charAt(i++)); + enc3 = keyStr.indexOf(input.charAt(i++)); + enc4 = keyStr.indexOf(input.charAt(i++)); -if (!Module["allocateUTF8"]) Module["allocateUTF8"] = function() { - abort("'allocateUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + chr1 = (enc1 << 2) | (enc2 >> 4); + chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); + chr3 = ((enc3 & 3) << 6) | enc4; -if (!Module["stackTrace"]) Module["stackTrace"] = function() { - abort("'stackTrace' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + output = output + String.fromCharCode(chr1); -if (!Module["addOnPreRun"]) Module["addOnPreRun"] = function() { - abort("'addOnPreRun' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); + if (enc3 !== 64) { + output = output + String.fromCharCode(chr2); + } + if (enc4 !== 64) { + output = output + String.fromCharCode(chr3); + } + } while (i < input.length); + return output; }; -if (!Module["addOnInit"]) Module["addOnInit"] = function() { - abort("'addOnInit' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +// Converts a string of base64 into a byte array. +// Throws error on invalid input. +function intArrayFromBase64(s) { + if (typeof ENVIRONMENT_IS_NODE == 'boolean' && ENVIRONMENT_IS_NODE) { + var buf = Buffer.from(s, 'base64'); + return new Uint8Array(buf['buffer'], buf['byteOffset'], buf['byteLength']); + } -if (!Module["addOnPreMain"]) Module["addOnPreMain"] = function() { - abort("'addOnPreMain' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + try { + var decoded = decodeBase64(s); + var bytes = new Uint8Array(decoded.length); + for (var i = 0 ; i < decoded.length ; ++i) { + bytes[i] = decoded.charCodeAt(i); + } + return bytes; + } catch (_) { + throw new Error('Converting base64 string to bytes failed.'); + } +} -if (!Module["addOnExit"]) Module["addOnExit"] = function() { - abort("'addOnExit' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +// If filename is a base64 data URI, parses and returns data (Buffer on node, +// Uint8Array otherwise). If filename is not a base64 data URI, returns undefined. +function tryParseAsDataURI(filename) { + if (!isDataURI(filename)) { + return; + } -if (!Module["addOnPostRun"]) Module["addOnPostRun"] = function() { - abort("'addOnPostRun' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + return intArrayFromBase64(filename.slice(dataURIPrefix.length)); +} -if (!Module["writeStringToMemory"]) Module["writeStringToMemory"] = function() { - abort("'writeStringToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["writeArrayToMemory"]) Module["writeArrayToMemory"] = function() { - abort("'writeArrayToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); +function checkIncomingModuleAPI() { + ignoredModuleProp('fetchSettings'); +} +var asmLibraryArg = { + "__cxa_allocate_exception": ___cxa_allocate_exception, + "__cxa_throw": ___cxa_throw, + "__syscall_fcntl64": ___syscall_fcntl64, + "__syscall_ioctl": ___syscall_ioctl, + "__syscall_openat": ___syscall_openat, + "_embind_register_bigint": __embind_register_bigint, + "_embind_register_bool": __embind_register_bool, + "_embind_register_constant": __embind_register_constant, + "_embind_register_emval": __embind_register_emval, + "_embind_register_float": __embind_register_float, + "_embind_register_function": __embind_register_function, + "_embind_register_integer": __embind_register_integer, + "_embind_register_memory_view": __embind_register_memory_view, + "_embind_register_std_string": __embind_register_std_string, + "_embind_register_std_wstring": __embind_register_std_wstring, + "_embind_register_void": __embind_register_void, + "_emscripten_date_now": __emscripten_date_now, + "_emscripten_throw_longjmp": __emscripten_throw_longjmp, + "_localtime_js": __localtime_js, + "_tzset_js": __tzset_js, + "abort": _abort, + "emscripten_asm_const_int": _emscripten_asm_const_int, + "emscripten_get_heap_max": _emscripten_get_heap_max, + "emscripten_resize_heap": _emscripten_resize_heap, + "environ_get": _environ_get, + "environ_sizes_get": _environ_sizes_get, + "exit": _exit, + "fd_close": _fd_close, + "fd_read": _fd_read, + "fd_seek": _fd_seek, + "fd_write": _fd_write, + "invoke_ii": invoke_ii, + "invoke_iii": invoke_iii, + "invoke_iiii": invoke_iiii, + "invoke_vi": invoke_vi, + "invoke_vii": invoke_vii, + "invoke_viii": invoke_viii, + "invoke_viiii": invoke_viiii, + "memory": wasmMemory, + "strftime": _strftime, + "strftime_l": _strftime_l }; +var asm = createWasm(); +/** @type {function(...*):?} */ +var ___wasm_call_ctors = Module["___wasm_call_ctors"] = createExportWrapper("__wasm_call_ctors"); -if (!Module["writeAsciiToMemory"]) Module["writeAsciiToMemory"] = function() { - abort("'writeAsciiToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var _malloc = Module["_malloc"] = createExportWrapper("malloc"); -if (!Module["addRunDependency"]) Module["addRunDependency"] = function() { - abort("'addRunDependency' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you"); -}; +/** @type {function(...*):?} */ +var _free = Module["_free"] = createExportWrapper("free"); -if (!Module["removeRunDependency"]) Module["removeRunDependency"] = function() { - abort("'removeRunDependency' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you"); -}; +/** @type {function(...*):?} */ +var ___errno_location = Module["___errno_location"] = createExportWrapper("__errno_location"); -if (!Module["ENV"]) Module["ENV"] = function() { - abort("'ENV' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var setTempRet0 = Module["setTempRet0"] = createExportWrapper("setTempRet0"); -if (!Module["FS"]) Module["FS"] = function() { - abort("'FS' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var getTempRet0 = Module["getTempRet0"] = createExportWrapper("getTempRet0"); -if (!Module["FS_createFolder"]) Module["FS_createFolder"] = function() { - abort("'FS_createFolder' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you"); -}; +/** @type {function(...*):?} */ +var _saveSetjmp = Module["_saveSetjmp"] = createExportWrapper("saveSetjmp"); -if (!Module["FS_createPath"]) Module["FS_createPath"] = function() { - abort("'FS_createPath' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you"); -}; +/** @type {function(...*):?} */ +var _fflush = Module["_fflush"] = createExportWrapper("fflush"); -if (!Module["FS_createDataFile"]) Module["FS_createDataFile"] = function() { - abort("'FS_createDataFile' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you"); -}; +/** @type {function(...*):?} */ +var ___getTypeName = Module["___getTypeName"] = createExportWrapper("__getTypeName"); -if (!Module["FS_createPreloadedFile"]) Module["FS_createPreloadedFile"] = function() { - abort("'FS_createPreloadedFile' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you"); -}; +/** @type {function(...*):?} */ +var __embind_initialize_bindings = Module["__embind_initialize_bindings"] = createExportWrapper("_embind_initialize_bindings"); -if (!Module["FS_createLazyFile"]) Module["FS_createLazyFile"] = function() { - abort("'FS_createLazyFile' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you"); -}; +/** @type {function(...*):?} */ +var _setThrew = Module["_setThrew"] = createExportWrapper("setThrew"); -if (!Module["FS_createLink"]) Module["FS_createLink"] = function() { - abort("'FS_createLink' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you"); +/** @type {function(...*):?} */ +var _emscripten_stack_init = Module["_emscripten_stack_init"] = function() { + return (_emscripten_stack_init = Module["_emscripten_stack_init"] = Module["asm"]["emscripten_stack_init"]).apply(null, arguments); }; -if (!Module["FS_createDevice"]) Module["FS_createDevice"] = function() { - abort("'FS_createDevice' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you"); +/** @type {function(...*):?} */ +var _emscripten_stack_get_free = Module["_emscripten_stack_get_free"] = function() { + return (_emscripten_stack_get_free = Module["_emscripten_stack_get_free"] = Module["asm"]["emscripten_stack_get_free"]).apply(null, arguments); }; -if (!Module["FS_unlink"]) Module["FS_unlink"] = function() { - abort("'FS_unlink' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you"); +/** @type {function(...*):?} */ +var _emscripten_stack_get_base = Module["_emscripten_stack_get_base"] = function() { + return (_emscripten_stack_get_base = Module["_emscripten_stack_get_base"] = Module["asm"]["emscripten_stack_get_base"]).apply(null, arguments); }; -if (!Module["GL"]) Module["GL"] = function() { - abort("'GL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); +/** @type {function(...*):?} */ +var _emscripten_stack_get_end = Module["_emscripten_stack_get_end"] = function() { + return (_emscripten_stack_get_end = Module["_emscripten_stack_get_end"] = Module["asm"]["emscripten_stack_get_end"]).apply(null, arguments); }; -if (!Module["dynamicAlloc"]) Module["dynamicAlloc"] = function() { - abort("'dynamicAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var stackSave = Module["stackSave"] = createExportWrapper("stackSave"); -if (!Module["warnOnce"]) Module["warnOnce"] = function() { - abort("'warnOnce' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var stackRestore = Module["stackRestore"] = createExportWrapper("stackRestore"); -if (!Module["loadDynamicLibrary"]) Module["loadDynamicLibrary"] = function() { - abort("'loadDynamicLibrary' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var stackAlloc = Module["stackAlloc"] = createExportWrapper("stackAlloc"); -if (!Module["loadWebAssemblyModule"]) Module["loadWebAssemblyModule"] = function() { - abort("'loadWebAssemblyModule' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var ___cxa_demangle = Module["___cxa_demangle"] = createExportWrapper("__cxa_demangle"); -if (!Module["getLEB"]) Module["getLEB"] = function() { - abort("'getLEB' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var ___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = createExportWrapper("__cxa_is_pointer_type"); -if (!Module["getFunctionTables"]) Module["getFunctionTables"] = function() { - abort("'getFunctionTables' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var dynCall_jiji = Module["dynCall_jiji"] = createExportWrapper("dynCall_jiji"); -if (!Module["alignFunctionTables"]) Module["alignFunctionTables"] = function() { - abort("'alignFunctionTables' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var dynCall_viijii = Module["dynCall_viijii"] = createExportWrapper("dynCall_viijii"); -if (!Module["registerFunctions"]) Module["registerFunctions"] = function() { - abort("'registerFunctions' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var dynCall_iiiiij = Module["dynCall_iiiiij"] = createExportWrapper("dynCall_iiiiij"); -if (!Module["addFunction"]) Module["addFunction"] = function() { - abort("'addFunction' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var dynCall_iiiiijj = Module["dynCall_iiiiijj"] = createExportWrapper("dynCall_iiiiijj"); -if (!Module["removeFunction"]) Module["removeFunction"] = function() { - abort("'removeFunction' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(...*):?} */ +var dynCall_iiiiiijj = Module["dynCall_iiiiiijj"] = createExportWrapper("dynCall_iiiiiijj"); -if (!Module["getFuncWrapper"]) Module["getFuncWrapper"] = function() { - abort("'getFuncWrapper' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; -if (!Module["prettyPrint"]) Module["prettyPrint"] = function() { - abort("'prettyPrint' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +function invoke_ii(index,a1) { + var sp = stackSave(); + try { + return getWasmTableEntry(index)(a1); + } catch(e) { + stackRestore(sp); + if (e !== e+0) throw e; + _setThrew(1, 0); + } +} -if (!Module["makeBigInt"]) Module["makeBigInt"] = function() { - abort("'makeBigInt' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +function invoke_vi(index,a1) { + var sp = stackSave(); + try { + getWasmTableEntry(index)(a1); + } catch(e) { + stackRestore(sp); + if (e !== e+0) throw e; + _setThrew(1, 0); + } +} -if (!Module["dynCall"]) Module["dynCall"] = function() { - abort("'dynCall' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +function invoke_viiii(index,a1,a2,a3,a4) { + var sp = stackSave(); + try { + getWasmTableEntry(index)(a1,a2,a3,a4); + } catch(e) { + stackRestore(sp); + if (e !== e+0) throw e; + _setThrew(1, 0); + } +} -if (!Module["getCompilerSetting"]) Module["getCompilerSetting"] = function() { - abort("'getCompilerSetting' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +function invoke_viii(index,a1,a2,a3) { + var sp = stackSave(); + try { + getWasmTableEntry(index)(a1,a2,a3); + } catch(e) { + stackRestore(sp); + if (e !== e+0) throw e; + _setThrew(1, 0); + } +} -if (!Module["stackSave"]) Module["stackSave"] = function() { - abort("'stackSave' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +function invoke_vii(index,a1,a2) { + var sp = stackSave(); + try { + getWasmTableEntry(index)(a1,a2); + } catch(e) { + stackRestore(sp); + if (e !== e+0) throw e; + _setThrew(1, 0); + } +} -if (!Module["stackRestore"]) Module["stackRestore"] = function() { - abort("'stackRestore' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +function invoke_iii(index,a1,a2) { + var sp = stackSave(); + try { + return getWasmTableEntry(index)(a1,a2); + } catch(e) { + stackRestore(sp); + if (e !== e+0) throw e; + _setThrew(1, 0); + } +} -if (!Module["stackAlloc"]) Module["stackAlloc"] = function() { - abort("'stackAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +function invoke_iiii(index,a1,a2,a3) { + var sp = stackSave(); + try { + return getWasmTableEntry(index)(a1,a2,a3); + } catch(e) { + stackRestore(sp); + if (e !== e+0) throw e; + _setThrew(1, 0); + } +} + + + + +// === Auto-generated postamble setup entry stuff === + +Module["FS"] = FS; +var unexportedRuntimeSymbols = [ + 'run', + 'UTF8ArrayToString', + 'UTF8ToString', + 'stringToUTF8Array', + 'stringToUTF8', + 'lengthBytesUTF8', + 'addOnPreRun', + 'addOnInit', + 'addOnPreMain', + 'addOnExit', + 'addOnPostRun', + 'addRunDependency', + 'removeRunDependency', + 'FS_createFolder', + 'FS_createPath', + 'FS_createDataFile', + 'FS_createPreloadedFile', + 'FS_createLazyFile', + 'FS_createLink', + 'FS_createDevice', + 'FS_unlink', + 'getLEB', + 'getFunctionTables', + 'alignFunctionTables', + 'registerFunctions', + 'prettyPrint', + 'getCompilerSetting', + 'print', + 'printErr', + 'callMain', + 'abort', + 'keepRuntimeAlive', + 'wasmMemory', + 'stackAlloc', + 'stackSave', + 'stackRestore', + 'getTempRet0', + 'setTempRet0', + 'writeStackCookie', + 'checkStackCookie', + 'intArrayFromBase64', + 'tryParseAsDataURI', + 'ptrToString', + 'zeroMemory', + 'stringToNewUTF8', + 'exitJS', + 'getHeapMax', + 'emscripten_realloc_buffer', + 'ENV', + 'ERRNO_CODES', + 'ERRNO_MESSAGES', + 'setErrNo', + 'inetPton4', + 'inetNtop4', + 'inetPton6', + 'inetNtop6', + 'readSockaddr', + 'writeSockaddr', + 'DNS', + 'getHostByName', + 'Protocols', + 'Sockets', + 'getRandomDevice', + 'warnOnce', + 'traverseStack', + 'UNWIND_CACHE', + 'convertPCtoSourceLocation', + 'readAsmConstArgsArray', + 'readAsmConstArgs', + 'mainThreadEM_ASM', + 'jstoi_q', + 'jstoi_s', + 'getExecutableName', + 'listenOnce', + 'autoResumeAudioContext', + 'dynCallLegacy', + 'getDynCaller', + 'dynCall', + 'setWasmTableEntry', + 'getWasmTableEntry', + 'handleException', + 'runtimeKeepalivePush', + 'runtimeKeepalivePop', + 'callUserCallback', + 'maybeExit', + 'safeSetTimeout', + 'asmjsMangle', + 'asyncLoad', + 'alignMemory', + 'mmapAlloc', + 'writeI53ToI64', + 'writeI53ToI64Clamped', + 'writeI53ToI64Signaling', + 'writeI53ToU64Clamped', + 'writeI53ToU64Signaling', + 'readI53FromI64', + 'readI53FromU64', + 'convertI32PairToI53', + 'convertI32PairToI53Checked', + 'convertU32PairToI53', + 'getCFunc', + 'ccall', + 'cwrap', + 'uleb128Encode', + 'sigToWasmTypes', + 'convertJsFunctionToWasm', + 'freeTableIndexes', + 'functionsInTableMap', + 'getEmptyTableSlot', + 'updateTableMap', + 'addFunction', + 'removeFunction', + 'reallyNegative', + 'unSign', + 'strLen', + 'reSign', + 'formatString', + 'setValue', + 'getValue', + 'PATH', + 'PATH_FS', + 'intArrayFromString', + 'intArrayToString', + 'AsciiToString', + 'stringToAscii', + 'UTF16Decoder', + 'UTF16ToString', + 'stringToUTF16', + 'lengthBytesUTF16', + 'UTF32ToString', + 'stringToUTF32', + 'lengthBytesUTF32', + 'allocateUTF8', + 'allocateUTF8OnStack', + 'writeStringToMemory', + 'writeArrayToMemory', + 'writeAsciiToMemory', + 'SYSCALLS', + 'getSocketFromFD', + 'getSocketAddress', + 'JSEvents', + 'registerKeyEventCallback', + 'specialHTMLTargets', + 'maybeCStringToJsString', + 'findEventTarget', + 'findCanvasEventTarget', + 'getBoundingClientRect', + 'fillMouseEventData', + 'registerMouseEventCallback', + 'registerWheelEventCallback', + 'registerUiEventCallback', + 'registerFocusEventCallback', + 'fillDeviceOrientationEventData', + 'registerDeviceOrientationEventCallback', + 'fillDeviceMotionEventData', + 'registerDeviceMotionEventCallback', + 'screenOrientation', + 'fillOrientationChangeEventData', + 'registerOrientationChangeEventCallback', + 'fillFullscreenChangeEventData', + 'registerFullscreenChangeEventCallback', + 'JSEvents_requestFullscreen', + 'JSEvents_resizeCanvasForFullscreen', + 'registerRestoreOldStyle', + 'hideEverythingExceptGivenElement', + 'restoreHiddenElements', + 'setLetterbox', + 'currentFullscreenStrategy', + 'restoreOldWindowedStyle', + 'softFullscreenResizeWebGLRenderTarget', + 'doRequestFullscreen', + 'fillPointerlockChangeEventData', + 'registerPointerlockChangeEventCallback', + 'registerPointerlockErrorEventCallback', + 'requestPointerLock', + 'fillVisibilityChangeEventData', + 'registerVisibilityChangeEventCallback', + 'registerTouchEventCallback', + 'fillGamepadEventData', + 'registerGamepadEventCallback', + 'registerBeforeUnloadEventCallback', + 'fillBatteryEventData', + 'battery', + 'registerBatteryEventCallback', + 'setCanvasElementSize', + 'getCanvasElementSize', + 'demangle', + 'demangleAll', + 'jsStackTrace', + 'stackTrace', + 'ExitStatus', + 'getEnvStrings', + 'checkWasiClock', + 'doReadv', + 'doWritev', + 'dlopenMissingError', + 'setImmediateWrapped', + 'clearImmediateWrapped', + 'polyfillSetImmediate', + 'uncaughtExceptionCount', + 'exceptionLast', + 'exceptionCaught', + 'ExceptionInfo', + 'exception_addRef', + 'exception_decRef', + 'Browser', + 'setMainLoop', + 'wget', + 'MEMFS', + 'TTY', + 'PIPEFS', + 'SOCKFS', + '_setNetworkCallback', + 'tempFixedLengthArray', + 'miniTempWebGLFloatBuffers', + 'heapObjectForWebGLType', + 'heapAccessShiftForWebGLHeap', + 'GL', + 'emscriptenWebGLGet', + 'computeUnpackAlignedImageSize', + 'emscriptenWebGLGetTexPixelData', + 'emscriptenWebGLGetUniform', + 'webglGetUniformLocation', + 'webglPrepareUniformLocationsBeforeFirstUse', + 'webglGetLeftBracePos', + 'emscriptenWebGLGetVertexAttrib', + 'writeGLArray', + 'AL', + 'SDL_unicode', + 'SDL_ttfContext', + 'SDL_audio', + 'SDL', + 'SDL_gfx', + 'GLUT', + 'EGL', + 'GLFW_Window', + 'GLFW', + 'GLEW', + 'IDBStore', + 'runAndAbortIfError', + 'ALLOC_NORMAL', + 'ALLOC_STACK', + 'allocate', + 'InternalError', + 'BindingError', + 'UnboundTypeError', + 'PureVirtualError', + 'init_embind', + 'throwInternalError', + 'throwBindingError', + 'throwUnboundTypeError', + 'ensureOverloadTable', + 'exposePublicSymbol', + 'replacePublicSymbol', + 'extendError', + 'createNamedFunction', + 'embindRepr', + 'registeredInstances', + 'getBasestPointer', + 'registerInheritedInstance', + 'unregisterInheritedInstance', + 'getInheritedInstance', + 'getInheritedInstanceCount', + 'getLiveInheritedInstances', + 'registeredTypes', + 'awaitingDependencies', + 'typeDependencies', + 'registeredPointers', + 'registerType', + 'whenDependentTypesAreResolved', + 'embind_charCodes', + 'embind_init_charCodes', + 'readLatin1String', + 'getTypeName', + 'heap32VectorToArray', + 'requireRegisteredType', + 'getShiftFromSize', + 'integerReadValueFromPointer', + 'enumReadValueFromPointer', + 'floatReadValueFromPointer', + 'simpleReadValueFromPointer', + 'runDestructors', + 'new_', + 'craftInvokerFunction', + 'embind__requireFunction', + 'tupleRegistrations', + 'structRegistrations', + 'genericPointerToWireType', + 'constNoSmartPtrRawPointerToWireType', + 'nonConstNoSmartPtrRawPointerToWireType', + 'init_RegisteredPointer', + 'RegisteredPointer', + 'RegisteredPointer_getPointee', + 'RegisteredPointer_destructor', + 'RegisteredPointer_deleteObject', + 'RegisteredPointer_fromWireType', + 'runDestructor', + 'releaseClassHandle', + 'finalizationRegistry', + 'detachFinalizer_deps', + 'detachFinalizer', + 'attachFinalizer', + 'makeClassHandle', + 'init_ClassHandle', + 'ClassHandle', + 'ClassHandle_isAliasOf', + 'throwInstanceAlreadyDeleted', + 'ClassHandle_clone', + 'ClassHandle_delete', + 'deletionQueue', + 'ClassHandle_isDeleted', + 'ClassHandle_deleteLater', + 'flushPendingDeletes', + 'delayFunction', + 'setDelayFunction', + 'RegisteredClass', + 'shallowCopyInternalPointer', + 'downcastPointer', + 'upcastPointer', + 'validateThis', + 'char_0', + 'char_9', + 'makeLegalFunctionName', + 'emval_handle_array', + 'emval_free_list', + 'emval_symbols', + 'init_emval', + 'count_emval_handles', + 'get_first_emval', + 'getStringOrSymbol', + 'Emval', + 'emval_newers', + 'craftEmvalAllocator', + 'emval_get_global', + 'emval_lookupTypes', + 'emval_allocateDestructors', + 'emval_methodCallers', + 'emval_addMethodCaller', + 'emval_registeredMethods', +]; +unexportedRuntimeSymbols.forEach(unexportedRuntimeSymbol); +var missingLibrarySymbols = [ + 'ptrToString', + 'stringToNewUTF8', + 'inetPton4', + 'inetNtop4', + 'inetPton6', + 'inetNtop6', + 'readSockaddr', + 'writeSockaddr', + 'getHostByName', + 'traverseStack', + 'convertPCtoSourceLocation', + 'mainThreadEM_ASM', + 'jstoi_q', + 'jstoi_s', + 'listenOnce', + 'autoResumeAudioContext', + 'runtimeKeepalivePush', + 'runtimeKeepalivePop', + 'callUserCallback', + 'maybeExit', + 'safeSetTimeout', + 'asmjsMangle', + 'writeI53ToI64', + 'writeI53ToI64Clamped', + 'writeI53ToI64Signaling', + 'writeI53ToU64Clamped', + 'writeI53ToU64Signaling', + 'readI53FromU64', + 'convertI32PairToI53', + 'convertU32PairToI53', + 'reallyNegative', + 'unSign', + 'strLen', + 'reSign', + 'formatString', + 'getSocketFromFD', + 'getSocketAddress', + 'registerKeyEventCallback', + 'maybeCStringToJsString', + 'findEventTarget', + 'findCanvasEventTarget', + 'getBoundingClientRect', + 'fillMouseEventData', + 'registerMouseEventCallback', + 'registerWheelEventCallback', + 'registerUiEventCallback', + 'registerFocusEventCallback', + 'fillDeviceOrientationEventData', + 'registerDeviceOrientationEventCallback', + 'fillDeviceMotionEventData', + 'registerDeviceMotionEventCallback', + 'screenOrientation', + 'fillOrientationChangeEventData', + 'registerOrientationChangeEventCallback', + 'fillFullscreenChangeEventData', + 'registerFullscreenChangeEventCallback', + 'JSEvents_requestFullscreen', + 'JSEvents_resizeCanvasForFullscreen', + 'registerRestoreOldStyle', + 'hideEverythingExceptGivenElement', + 'restoreHiddenElements', + 'setLetterbox', + 'softFullscreenResizeWebGLRenderTarget', + 'doRequestFullscreen', + 'fillPointerlockChangeEventData', + 'registerPointerlockChangeEventCallback', + 'registerPointerlockErrorEventCallback', + 'requestPointerLock', + 'fillVisibilityChangeEventData', + 'registerVisibilityChangeEventCallback', + 'registerTouchEventCallback', + 'fillGamepadEventData', + 'registerGamepadEventCallback', + 'registerBeforeUnloadEventCallback', + 'fillBatteryEventData', + 'battery', + 'registerBatteryEventCallback', + 'setCanvasElementSize', + 'getCanvasElementSize', + 'checkWasiClock', + 'setImmediateWrapped', + 'clearImmediateWrapped', + 'polyfillSetImmediate', + 'exception_addRef', + 'exception_decRef', + 'setMainLoop', + '_setNetworkCallback', + 'heapObjectForWebGLType', + 'heapAccessShiftForWebGLHeap', + 'emscriptenWebGLGet', + 'computeUnpackAlignedImageSize', + 'emscriptenWebGLGetTexPixelData', + 'emscriptenWebGLGetUniform', + 'webglGetUniformLocation', + 'webglPrepareUniformLocationsBeforeFirstUse', + 'webglGetLeftBracePos', + 'emscriptenWebGLGetVertexAttrib', + 'writeGLArray', + 'SDL_unicode', + 'SDL_ttfContext', + 'SDL_audio', + 'GLFW_Window', + 'runAndAbortIfError', + 'init_embind', + 'getBasestPointer', + 'registerInheritedInstance', + 'unregisterInheritedInstance', + 'getInheritedInstance', + 'getInheritedInstanceCount', + 'getLiveInheritedInstances', + 'requireRegisteredType', + 'enumReadValueFromPointer', + 'genericPointerToWireType', + 'constNoSmartPtrRawPointerToWireType', + 'nonConstNoSmartPtrRawPointerToWireType', + 'init_RegisteredPointer', + 'RegisteredPointer', + 'RegisteredPointer_getPointee', + 'RegisteredPointer_destructor', + 'RegisteredPointer_deleteObject', + 'RegisteredPointer_fromWireType', + 'runDestructor', + 'releaseClassHandle', + 'detachFinalizer', + 'attachFinalizer', + 'makeClassHandle', + 'init_ClassHandle', + 'ClassHandle', + 'ClassHandle_isAliasOf', + 'throwInstanceAlreadyDeleted', + 'ClassHandle_clone', + 'ClassHandle_delete', + 'ClassHandle_isDeleted', + 'ClassHandle_deleteLater', + 'flushPendingDeletes', + 'setDelayFunction', + 'RegisteredClass', + 'shallowCopyInternalPointer', + 'downcastPointer', + 'upcastPointer', + 'validateThis', + 'getStringOrSymbol', + 'craftEmvalAllocator', + 'emval_get_global', + 'emval_lookupTypes', + 'emval_allocateDestructors', + 'emval_addMethodCaller', +]; +missingLibrarySymbols.forEach(missingLibrarySymbol) + + +var calledRun; -if (!Module["establishStackSpace"]) Module["establishStackSpace"] = function() { - abort("'establishStackSpace' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); +dependenciesFulfilled = function runCaller() { + // If run has never been called, and we should call run (INVOKE_RUN is true, and Module.noInitialRun is not false) + if (!calledRun) run(); + if (!calledRun) dependenciesFulfilled = runCaller; // try this again later, after new deps are fulfilled }; -if (!Module["print"]) Module["print"] = function() { - abort("'print' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +function stackCheckInit() { + // This is normally called automatically during __wasm_call_ctors but need to + // get these values before even running any of the ctors so we call it redundantly + // here. + _emscripten_stack_init(); + // TODO(sbc): Move writeStackCookie to native to to avoid this. + writeStackCookie(); +} -if (!Module["printErr"]) Module["printErr"] = function() { - abort("'printErr' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; +/** @type {function(Array=)} */ +function run(args) { + args = args || arguments_; -if (!Module["getTempRet0"]) Module["getTempRet0"] = function() { - abort("'getTempRet0' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + if (runDependencies > 0) { + return; + } -if (!Module["setTempRet0"]) Module["setTempRet0"] = function() { - abort("'setTempRet0' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + stackCheckInit(); -if (!Module["Pointer_stringify"]) Module["Pointer_stringify"] = function() { - abort("'Pointer_stringify' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + preRun(); -if (!Module["intArrayFromBase64"]) Module["intArrayFromBase64"] = function() { - abort("'intArrayFromBase64' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + // a preRun added a dependency, run will be called later + if (runDependencies > 0) { + return; + } -if (!Module["tryParseAsDataURI"]) Module["tryParseAsDataURI"] = function() { - abort("'tryParseAsDataURI' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); -}; + function doRun() { + // run may have just been called through dependencies being fulfilled just in this very frame, + // or while the async setStatus time below was happening + if (calledRun) return; + calledRun = true; + Module['calledRun'] = true; -if (!Module["ALLOC_NORMAL"]) Object.defineProperty(Module, "ALLOC_NORMAL", { - get: function() { - abort("'ALLOC_NORMAL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); - } -}); + if (ABORT) return; -if (!Module["ALLOC_STACK"]) Object.defineProperty(Module, "ALLOC_STACK", { - get: function() { - abort("'ALLOC_STACK' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); - } -}); + initRuntime(); -if (!Module["ALLOC_DYNAMIC"]) Object.defineProperty(Module, "ALLOC_DYNAMIC", { - get: function() { - abort("'ALLOC_DYNAMIC' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); - } -}); + if (Module['onRuntimeInitialized']) Module['onRuntimeInitialized'](); -if (!Module["ALLOC_NONE"]) Object.defineProperty(Module, "ALLOC_NONE", { - get: function() { - abort("'ALLOC_NONE' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)"); - } -}); + assert(!Module['_main'], 'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'); -if (memoryInitializer) { - if (!isDataURI(memoryInitializer)) { - memoryInitializer = locateFile(memoryInitializer); - } - if (ENVIRONMENT_IS_NODE || ENVIRONMENT_IS_SHELL) { - var data = Module["readBinary"](memoryInitializer); - HEAPU8.set(data, GLOBAL_BASE); - } else { - addRunDependency("memory initializer"); - var applyMemoryInitializer = function(data) { - if (data.byteLength) data = new Uint8Array(data); - for (var i = 0; i < data.length; i++) { - assert(HEAPU8[GLOBAL_BASE + i] === 0, "area for memory initializer should not have been touched before it's loaded"); - } - HEAPU8.set(data, GLOBAL_BASE); - if (Module["memoryInitializerRequest"]) delete Module["memoryInitializerRequest"].response; - removeRunDependency("memory initializer"); - }; - var doBrowserLoad = function() { - Module["readAsync"](memoryInitializer, applyMemoryInitializer, function() { - throw "could not load memory initializer " + memoryInitializer; - }); - }; - var memoryInitializerBytes = tryParseAsDataURI(memoryInitializer); - if (memoryInitializerBytes) { - applyMemoryInitializer(memoryInitializerBytes.buffer); - } else if (Module["memoryInitializerRequest"]) { - var useRequest = function() { - var request = Module["memoryInitializerRequest"]; - var response = request.response; - if (request.status !== 200 && request.status !== 0) { - var data = tryParseAsDataURI(Module["memoryInitializerRequestURL"]); - if (data) { - response = data.buffer; - } else { - console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: " + request.status + ", retrying " + memoryInitializer); - doBrowserLoad(); - return; - } - } - applyMemoryInitializer(response); - }; - if (Module["memoryInitializerRequest"].response) { - setTimeout(useRequest, 0); - } else { - Module["memoryInitializerRequest"].addEventListener("load", useRequest); - } - } else { - doBrowserLoad(); + postRun(); } - } -} -function ExitStatus(status) { - this.name = "ExitStatus"; - this.message = "Program terminated with exit(" + status + ")"; - this.status = status; -} - -ExitStatus.prototype = new Error(); - -ExitStatus.prototype.constructor = ExitStatus; - -dependenciesFulfilled = function runCaller() { - if (!Module["calledRun"]) run(); - if (!Module["calledRun"]) dependenciesFulfilled = runCaller; -}; - -function run(args) { - args = args || Module["arguments"]; - if (runDependencies > 0) { - return; - } - writeStackCookie(); - 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"](); - assert(!Module["_main"], 'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'); - postRun(); - } - if (Module["setStatus"]) { - Module["setStatus"]("Running..."); - setTimeout(function() { - setTimeout(function() { - Module["setStatus"](""); - }, 1); - doRun(); - }, 1); - } else { - doRun(); - } - checkStackCookie(); + if (Module['setStatus']) { + Module['setStatus']('Running...'); + setTimeout(function() { + setTimeout(function() { + Module['setStatus'](''); + }, 1); + doRun(); + }, 1); + } else + { + doRun(); + } + checkStackCookie(); } -Module["run"] = run; - function checkUnflushedContent() { - var print = out; - var printErr = err; - var has = false; - out = err = function(x) { - has = true; - }; - try { - var flush = Module["_fflush"]; - if (flush) flush(0); - [ "stdout", "stderr" ].forEach(function(name) { - var info = FS.analyzePath("/dev/" + name); - if (!info) return; - var stream = info.object; - var rdev = stream.rdev; - var tty = TTY.ttys[rdev]; - if (tty && tty.output && tty.output.length) { + // Compiler settings do not allow exiting the runtime, so flushing + // the streams is not possible. but in ASSERTIONS mode we check + // if there was something to flush, and if so tell the user they + // should request that the runtime be exitable. + // Normally we would not even include flush() at all, but in ASSERTIONS + // builds we do so just for this check, and here we see if there is any + // content to flush, that is, we check if there would have been + // something a non-ASSERTIONS build would have not seen. + // How we flush the streams depends on whether we are in SYSCALLS_REQUIRE_FILESYSTEM=0 + // mode (which has its own special function for this; otherwise, all + // the code is inside libc) + var oldOut = out; + var oldErr = err; + var has = false; + out = err = (x) => { has = true; - } - }); - } catch (e) {} - out = print; - err = printErr; - if (has) { - warnOnce("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc."); - } + } + try { // it doesn't matter if it fails + _fflush(0); + // also flush in the JS FS layer + ['stdout', 'stderr'].forEach(function(name) { + var info = FS.analyzePath('/dev/' + name); + if (!info) return; + var stream = info.object; + var rdev = stream.rdev; + var tty = TTY.ttys[rdev]; + if (tty && tty.output && tty.output.length) { + has = true; + } + }); + } catch(e) {} + out = oldOut; + err = oldErr; + if (has) { + warnOnce('stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc.'); + } } -function exit(status, implicit) { - checkUnflushedContent(); - if (implicit && Module["noExitRuntime"] && status === 0) { - return; - } - if (Module["noExitRuntime"]) { - if (!implicit) { - err("exit(" + status + ") called, but EXIT_RUNTIME is not set, so halting execution but not exiting the runtime or preventing further async execution (build with EXIT_RUNTIME=1, if you want a true shutdown)"); +if (Module['preInit']) { + if (typeof Module['preInit'] == 'function') Module['preInit'] = [Module['preInit']]; + while (Module['preInit'].length > 0) { + Module['preInit'].pop()(); } - } else { - ABORT = true; - EXITSTATUS = status; - exitRuntime(); - if (Module["onExit"]) Module["onExit"](status); - } - Module["quit"](status, new ExitStatus(status)); } -var abortDecorators = []; - -function abort(what) { - if (Module["onAbort"]) { - Module["onAbort"](what); - } - if (what !== undefined) { - out(what); - err(what); - what = JSON.stringify(what); - } else { - what = ""; - } - ABORT = true; - EXITSTATUS = 1; - var extra = ""; - var output = "abort(" + what + ") at " + stackTrace() + extra; - if (abortDecorators) { - abortDecorators.forEach(function(decorator) { - output = decorator(output, what); - }); - } - throw output; -} +run(); -Module["abort"] = abort; -if (Module["preInit"]) { - if (typeof Module["preInit"] == "function") Module["preInit"] = [ Module["preInit"] ]; - while (Module["preInit"].length > 0) { - Module["preInit"].pop()(); - } -} -Module["noExitRuntime"] = true; -run(); diff --git a/build/artoolkitNft.min.js b/build/artoolkitNft.min.js index acc32073..016e0932 100644 --- a/build/artoolkitNft.min.js +++ b/build/artoolkitNft.min.js @@ -1,20 +1,272 @@ -var Module=typeof Module!=="undefined"?Module:{};(function(){"use strict";if(window.artoolkit_wasm_url){function downloadWasm(url){return new Promise(function(resolve,reject){var wasmXHR=new XMLHttpRequest;wasmXHR.open("GET",url,true);wasmXHR.responseType="arraybuffer";wasmXHR.onload=function(){resolve(wasmXHR.response)};wasmXHR.onerror=function(){reject("error "+wasmXHR.status)};wasmXHR.send(null)})}var wasm=downloadWasm(window.artoolkit_wasm_url);Module.instantiateWasm=function(imports,successCallback){console.log("instantiateWasm: instantiating synchronously");wasm.then(function(wasmBinary){console.log("wasm download finished, begin instantiating");var wasmInstantiate=WebAssembly.instantiate(new Uint8Array(wasmBinary),imports).then(function(output){console.log("wasm instantiation succeeded");successCallback(output.instance)}).catch(function(e){console.log("wasm instantiation failed! "+e)})});return{}}}var ARController=function(width,height,cameraPara){this.id=undefined;var w=width,h=height;this.orientation="landscape";this.listeners={};if(typeof width!=="number"){var image=width;cameraPara=height;w=image.videoWidth||image.width;h=image.videoHeight||image.height;this.image=image}this.nftMarkerCount=0;this.defaultMarkerWidth=1;this.patternMarkers={};this.barcodeMarkers={};this.nftMarkers={};this.transform_mat=new Float32Array(16);this.transformGL_RH=new Float64Array(16);this.canvas=document.createElement("canvas");this.canvas.width=w;this.canvas.height=h;this.ctx=this.canvas.getContext("2d");this.videoWidth=w;this.videoHeight=h;this.videoSize=this.videoWidth*this.videoHeight;this.framepointer=null;this.framesize=null;this.dataHeap=null;this.videoLuma=null;this.camera_mat=null;this.marker_transform_mat=null;this.videoLumaPointer=null;this._bwpointer=undefined;this._lumaCtx=undefined;if(typeof cameraPara==="string"){this.cameraParam=new ARCameraParam(cameraPara,function(){this._initialize()}.bind(this),function(err){console.error("ARController: Failed to load ARCameraParam",err);this.onload(err)}.bind(this))}else{this.cameraParam=cameraPara;this._initialize()}};ARController.prototype.dispose=function(){if(this.id>-1){artoolkit.teardown(this.id)}if(this.image&&this.image.srcObject){ARController._teardownVideo(this.image)}for(var t in this){this[t]=null}};ARController.prototype.process=function(image){var result=this.detectMarker(image);if(result!=0){console.error("detectMarker error: "+result)}var markerNum=this.getMarkerNum();var k,o;for(k in this.patternMarkers){o=this.patternMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.barcodeMarkers){o=this.barcodeMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.nftMarkers){o=this.nftMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(var i=0;i-1&&(markerInfo.id===markerInfo.idPatt||markerInfo.idMatrix===-1)){visible=this.trackPatternMarkerId(markerInfo.idPatt);markerType=artoolkit.PATTERN_MARKER;if(markerInfo.dir!==markerInfo.dirPatt){this.setMarkerInfoDir(i,markerInfo.dirPatt)}}else if(markerInfo.idMatrix>-1){visible=this.trackBarcodeMarkerId(markerInfo.idMatrix);markerType=artoolkit.BARCODE_MARKER;if(markerInfo.dir!==markerInfo.dirMatrix){this.setMarkerInfoDir(i,markerInfo.dirMatrix)}}if(markerType!==artoolkit.UNKNOWN_MARKER&&visible.inPrevious){this.getTransMatSquareCont(i,visible.markerWidth,visible.matrix,visible.matrix)}else{this.getTransMatSquare(i,visible.markerWidth,visible.matrix)}visible.inCurrent=true;this.transMatToGLMat(visible.matrix,this.transform_mat);this.transformGL_RH=this.arglCameraViewRHf(this.transform_mat);this.dispatchEvent({name:"getMarker",target:this,data:{index:i,type:markerType,marker:markerInfo,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}})}var nftMarkerCount=this.nftMarkerCount;artoolkit.detectNFTMarker(this.id);for(var i=0;i=0){visible=true;this.dispatchEvent({name:"getMultiMarker",target:this,data:{multiMarkerId:i,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}});break}}if(visible){for(var j=0;j-1){this.listeners[name].splice(index,1)}}};ARController.prototype.dispatchEvent=function(event){var listeners=this.listeners[event.name];if(listeners){for(var i=0;i>3;q+=4}}if(this.dataHeap){this.dataHeap.set(data);return true}return false};ARController.prototype._debugMarker=function(marker){var vertex,pos;vertex=marker.vertex;var ctx=this.ctx;ctx.strokeStyle="red";ctx.beginPath();ctx.moveTo(vertex[0][0],vertex[0][1]);ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[2][0],vertex[2][1]);ctx.lineTo(vertex[3][0],vertex[3][1]);ctx.stroke();ctx.strokeStyle="green";ctx.beginPath();ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.lineTo(vertex[2][0],vertex[2][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[3][0],vertex[3][1]);ctx.lineTo(vertex[0][0],vertex[0][1]);ctx.stroke();pos=marker.pos;ctx.beginPath();ctx.arc(pos[0],pos[1],8,0,Math.PI*2);ctx.fillStyle="red";ctx.fill()};ARController.getUserMedia=function(configuration){var facing=configuration.facingMode||"environment";var onSuccess=configuration.onSuccess;var onError=configuration.onError||function(err){console.error("ARController.getUserMedia",err)};var video=document.createElement("video");var readyToPlay=false;var eventNames=["touchstart","touchend","touchmove","touchcancel","click","mousedown","mouseup","mousemove","keydown","keyup","keypress","scroll"];var play=function(){if(readyToPlay){video.play().then(function(){onSuccess(video)}).catch(function(error){onError(error);ARController._teardownVideo(video)});if(!video.paused){eventNames.forEach(function(eventName){window.removeEventListener(eventName,play,true)})}}};eventNames.forEach(function(eventName){window.addEventListener(eventName,play,true)});var success=function(stream){if(window.URL.createObjectURL){try{video.srcObject=stream}catch(ex){}}video.srcObject=stream;readyToPlay=true;video.autoplay=true;video.playsInline=true;play()};var constraints={};var mediaDevicesConstraints={};if(configuration.width){mediaDevicesConstraints.width=configuration.width;if(typeof configuration.width==="object"){if(configuration.width.max){constraints.maxWidth=configuration.width.max}if(configuration.width.min){constraints.minWidth=configuration.width.min}}else{constraints.maxWidth=configuration.width}}if(configuration.height){mediaDevicesConstraints.height=configuration.height;if(typeof configuration.height==="object"){if(configuration.height.max){constraints.maxHeight=configuration.height.max}if(configuration.height.min){constraints.minHeight=configuration.height.min}}else{constraints.maxHeight=configuration.height}}mediaDevicesConstraints.facingMode=facing;mediaDevicesConstraints.deviceId=configuration.deviceId;navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;var hdConstraints={audio:false,video:constraints};if(navigator.mediaDevices||window.MediaStreamTrack.getSources){if(navigator.mediaDevices){navigator.mediaDevices.getUserMedia({audio:false,video:mediaDevicesConstraints}).then(success,onError)}else{window.MediaStreamTrack.getSources(function(sources){var facingDir=mediaDevicesConstraints.facingMode;if(facing&&facing.exact){facingDir=facing.exact}for(var i=0;i-1){writeStringToFS(filename,url,writeCallback)}else{ajax(url,filename,writeCallback,errorCallback)}}function writeStringToFS(target,string,callback){var byteArray=new Uint8Array(string.length);for(var i=0;i1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);Module["quit"]=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){Module["read"]=function shell_read(f){var data=tryParseAsDataURI(f);if(data){return intArrayToString(data)}return read(f)}}Module["readBinary"]=function readBinary(f){var data;data=tryParseAsDataURI(f);if(data){return data}if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}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){quit(status)}}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}Module["read"]=function shell_read(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}}}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);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()};xhr.onerror=onerror;xhr.send(null)};Module["setWindowTitle"]=function(title){document.title=title}}else{}var out=Module["print"]||(typeof console!=="undefined"?console.log.bind(console):typeof print!=="undefined"?print:null);var err=Module["printErr"]||(typeof printErr!=="undefined"?printErr:typeof console!=="undefined"&&console.warn.bind(console)||out);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var STACK_ALIGN=16;function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;if(end<=_emscripten_get_heap_size()){HEAP32[DYNAMICTOP_PTR>>2]=end}else{return 0}return ret}function getNativeTypeSize(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return 4}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0,"getNativeTypeSize invalid bits "+bits+", type "+type);return bits/8}else{return 0}}}}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;err(text)}}var jsCallStartIndex=1;var functionPointers=new Array(0);var funcWrappers={};function dynCall(sig,ptr,args){if(args&&args.length){return Module["dynCall_"+sig].apply(null,[ptr].concat(args))}else{return Module["dynCall_"+sig].call(null,ptr)}}var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};var GLOBAL_BASE=8;var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}var ALLOC_NORMAL=0;var ALLOC_NONE=3;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[_malloc,stackAlloc,dynamicAlloc][allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var stop;ptr=ret;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr>2]=0}stop=ret+size;while(ptr>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i=endIdx))++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}function demangle(func){return func}function demangleAll(text){var regex=/__Z[\w\d_]+/g;return text.replace(regex,function(x){var y=demangle(x);return x===y?x:y+" ["+x+"]"})}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferViews(){Module["HEAP8"]=HEAP8=new Int8Array(buffer);Module["HEAP16"]=HEAP16=new Int16Array(buffer);Module["HEAP32"]=HEAP32=new Int32Array(buffer);Module["HEAPU8"]=HEAPU8=new Uint8Array(buffer);Module["HEAPU16"]=HEAPU16=new Uint16Array(buffer);Module["HEAPU32"]=HEAPU32=new Uint32Array(buffer);Module["HEAPF32"]=HEAPF32=new Float32Array(buffer);Module["HEAPF64"]=HEAPF64=new Float64Array(buffer)}var STACK_BASE=56800,DYNAMIC_BASE=5299680,DYNAMICTOP_PTR=56768;var TOTAL_STACK=5242880;var INITIAL_TOTAL_MEMORY=Module["TOTAL_MEMORY"]||268435456;if(INITIAL_TOTAL_MEMORY>2]=DYNAMIC_BASE;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Module["dynCall_v"](func)}else{Module["dynCall_vi"](func,callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){if(runtimeInitialized)return;runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var Math_abs=Math.abs;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_min=Math.min;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};var memoryInitializer=null;var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return String.prototype.startsWith?filename.startsWith(dataURIPrefix):filename.indexOf(dataURIPrefix)===0}var ASM_CONSTS=[function($0,$1,$2,$3,$4,$5){if(!artoolkit["frameMalloc"]){artoolkit["frameMalloc"]={}}var frameMalloc=artoolkit["frameMalloc"];frameMalloc["framepointer"]=$1;frameMalloc["framesize"]=$2;frameMalloc["camera"]=$3;frameMalloc["transform"]=$4;frameMalloc["videoLumaPointer"]=$5},function($0,$1,$2,$3){if(!artoolkit["multiEachMarkerInfo"]){artoolkit["multiEachMarkerInfo"]={}}var multiEachMarker=artoolkit["multiEachMarkerInfo"];multiEachMarker["visible"]=$0;multiEachMarker["pattId"]=$1;multiEachMarker["pattType"]=$2;multiEachMarker["width"]=$3},function($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,$26,$27,$28,$29,$30,$31,$32){var $a=arguments;var i=12;if(!artoolkit["markerInfo"]){artoolkit["markerInfo"]={pos:[0,0],line:[[0,0,0],[0,0,0],[0,0,0],[0,0,0]],vertex:[[0,0],[0,0],[0,0],[0,0]]}}var markerInfo=artoolkit["markerInfo"];markerInfo["area"]=$0;markerInfo["id"]=$1;markerInfo["idPatt"]=$2;markerInfo["idMatrix"]=$3;markerInfo["dir"]=$4;markerInfo["dirPatt"]=$5;markerInfo["dirMatrix"]=$6;markerInfo["cf"]=$7;markerInfo["cfPatt"]=$8;markerInfo["cfMatrix"]=$9;markerInfo["pos"][0]=$10;markerInfo["pos"][1]=$11;markerInfo["line"][0][0]=$a[i++];markerInfo["line"][0][1]=$a[i++];markerInfo["line"][0][2]=$a[i++];markerInfo["line"][1][0]=$a[i++];markerInfo["line"][1][1]=$a[i++];markerInfo["line"][1][2]=$a[i++];markerInfo["line"][2][0]=$a[i++];markerInfo["line"][2][1]=$a[i++];markerInfo["line"][2][2]=$a[i++];markerInfo["line"][3][0]=$a[i++];markerInfo["line"][3][1]=$a[i++];markerInfo["line"][3][2]=$a[i++];markerInfo["vertex"][0][0]=$a[i++];markerInfo["vertex"][0][1]=$a[i++];markerInfo["vertex"][1][0]=$a[i++];markerInfo["vertex"][1][1]=$a[i++];markerInfo["vertex"][2][0]=$a[i++];markerInfo["vertex"][2][1]=$a[i++];markerInfo["vertex"][3][0]=$a[i++];markerInfo["vertex"][3][1]=$a[i++];markerInfo["errorCorrected"]=$a[i++]},function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=$a[i++];markerInfo["found"]=1;markerInfo["pose"][0]=$a[i++];markerInfo["pose"][1]=$a[i++];markerInfo["pose"][2]=$a[i++];markerInfo["pose"][3]=$a[i++];markerInfo["pose"][4]=$a[i++];markerInfo["pose"][5]=$a[i++];markerInfo["pose"][6]=$a[i++];markerInfo["pose"][7]=$a[i++];markerInfo["pose"][8]=$a[i++];markerInfo["pose"][9]=$a[i++];markerInfo["pose"][10]=$a[i++];markerInfo["pose"][11]=$a[i++]},function($0){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=-1;markerInfo["found"]=0;markerInfo["pose"][0]=0;markerInfo["pose"][1]=0;markerInfo["pose"][2]=0;markerInfo["pose"][3]=0;markerInfo["pose"][4]=0;markerInfo["pose"][5]=0;markerInfo["pose"][6]=0;markerInfo["pose"][7]=0;markerInfo["pose"][8]=0;markerInfo["pose"][9]=0;markerInfo["pose"][10]=0;markerInfo["pose"][11]=0}];function _emscripten_asm_const_iiiiiii(code,a0,a1,a2,a3,a4,a5){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5)}function _emscripten_asm_const_iiiid(code,a0,a1,a2,a3){return ASM_CONSTS[code](a0,a1,a2,a3)}function _emscripten_asm_const_iiddddddddddddd(code,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13)}function _emscripten_asm_const_ii(code,a0){return ASM_CONSTS[code](a0)}function _emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi(code,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32)}__ATINIT__.push({func:function(){__GLOBAL__I_000101()}},{func:function(){__GLOBAL__sub_I_ARToolKitJS_cpp()}},{func:function(){__GLOBAL__sub_I_bind_cpp()}},{func:function(){___emscripten_environ_constructor()}},{func:function(){__GLOBAL__sub_I_iostream_cpp()}});memoryInitializer="data:application/octet-stream;base64,AAAAAAAAAAD+RAAABUUAABFFAAAbRQAAKUUAAAAAAAAAAAAAAAAAAP//////////AAAAAAEAAAABAAAAAQAAAAAAAAD/////AAAAAAEAAAABAAAAAQAAAAAAAAD///////////////8AAAABAAEBAQACBP//BQMBAAL/Bgf/AwECAgMCAwIDAwD/BAYHBf8BBAUEBAUFBAUHBgYGBwcHBv8CBAYHBQP/AAEBAQEBAQABAQEAAAEBAQEBAAEBAAEBAQABAQEBAAEBAAEBAQEAAQEBAAEBAAEBAQEBAAABAQEAAQEBAQEBAAD//wP/BQb//wkK/wz//w//ERL/FP//Fxj//xv/HR7//wEC/wT//wcI//8L/w0O/xD//xP/FRb//xka/xz//x8BAAAAAgAAAAQAAAAIAAAAEAAAAAUAAAAKAAAAFAAAAA0AAAAaAAAAEQAAAAcAAAAOAAAAHAAAAB0AAAAfAAAAGwAAABMAAAADAAAABgAAAAwAAAAYAAAAFQAAAA8AAAAeAAAAGQAAABcAAAALAAAAFgAAAAkAAAASAAAAAAAAAAEAAAACAAAABAAAAAgAAAADAAAABgAAAAwAAAALAAAABQAAAAoAAAAHAAAADgAAAA8AAAANAAAACQAAAAAAAAD/////AAAAAAEAAAASAAAAAgAAAAUAAAATAAAACwAAAAMAAAAdAAAABgAAABsAAAAUAAAACAAAAAwAAAAXAAAABAAAAAoAAAAeAAAAEQAAAAcAAAAWAAAAHAAAABoAAAAVAAAAGQAAAAkAAAAQAAAADQAAAA4AAAAYAAAADwAAAP////8AAAAAAQAAAAQAAAACAAAACAAAAAUAAAAKAAAAAwAAAA4AAAAJAAAABwAAAAYAAAANAAAACwAAAAwAAAABAAAAAgAAAAQAAAAIAAAAEAAAACAAAABAAAAAAwAAAAYAAAAMAAAAGAAAADAAAABgAAAAQwAAAAUAAAAKAAAAFAAAACgAAABQAAAAIwAAAEYAAAAPAAAAHgAAADwAAAB4AAAAcwAAAGUAAABJAAAAEQAAACIAAABEAAAACwAAABYAAAAsAAAAWAAAADMAAABmAAAATwAAAB0AAAA6AAAAdAAAAGsAAABVAAAAKQAAAFIAAAAnAAAATgAAAB8AAAA+AAAAfAAAAHsAAAB1AAAAaQAAAFEAAAAhAAAAQgAAAAcAAAAOAAAAHAAAADgAAABwAAAAYwAAAEUAAAAJAAAAEgAAACQAAABIAAAAEwAAACYAAABMAAAAGwAAADYAAABsAAAAWwAAADUAAABqAAAAVwAAAC0AAABaAAAANwAAAG4AAABfAAAAPQAAAHoAAAB3AAAAbQAAAFkAAAAxAAAAYgAAAEcAAAANAAAAGgAAADQAAABoAAAAUwAAACUAAABKAAAAFwAAAC4AAABcAAAAOwAAAHYAAABvAAAAXQAAADkAAAByAAAAZwAAAE0AAAAZAAAAMgAAAGQAAABLAAAAFQAAACoAAABUAAAAKwAAAFYAAAAvAAAAXgAAAD8AAAB+AAAAfwAAAH0AAAB5AAAAcQAAAGEAAABBAAAAAAAAAP////8AAAAAAQAAAAcAAAACAAAADgAAAAgAAAA4AAAAAwAAAD8AAAAPAAAAHwAAAAkAAABaAAAAOQAAABUAAAAEAAAAHAAAAEAAAABDAAAAEAAAAHAAAAAgAAAAYQAAAAoAAABsAAAAWwAAAEYAAAA6AAAAJgAAABYAAAAvAAAABQAAADYAAAAdAAAAEwAAAEEAAABfAAAARAAAAC0AAAARAAAAKwAAAHEAAABzAAAAIQAAAE0AAABiAAAAdQAAAAsAAABXAAAAbQAAACMAAABcAAAASgAAAEcAAABPAAAAOwAAAGgAAAAnAAAAZAAAABcAAABSAAAAMAAAAHcAAAAGAAAAfgAAADcAAAANAAAAHgAAAD4AAAAUAAAAWQAAAEIAAAAbAAAAYAAAAG8AAABFAAAAawAAAC4AAAAlAAAAEgAAADUAAAAsAAAAXgAAAHIAAAAqAAAAdAAAAEwAAAAiAAAAVgAAAE4AAABJAAAAYwAAAGcAAAB2AAAAUQAAAAwAAAB9AAAAWAAAAD0AAABuAAAAGgAAACQAAABqAAAAXQAAADQAAABLAAAAKQAAAEgAAABVAAAAUAAAAGYAAAA8AAAAfAAAAGkAAAAZAAAAKAAAADMAAABlAAAAVAAAABgAAAB7AAAAUwAAADIAAAAxAAAAegAAAHgAAAB5AAAABAAAAIgAAAAFAAAAkAAAAAYAAACYAAAACQAAALAAAAC6SwAAwEsAAMVLAADNSwAAAAAAALK+uT4S3KC+kL45PhLcoL6Qvjm+AAAAgLK+ub4S3KA+kL45vhLcoD6Qvjk+0nIYvwAAAADScpi+OgYEv9JymD46BgS/0nIYPwAAAIDScpg+OgYEP9JymL46BgQ/AAAAgFa4Pb9mTSQ/Vri9vmZNJD9WuL0+AAAAAFa4PT9mTSS/Vri9PmZNJL9WuL2+DOlYPwAAAIAM6dg+mdk7Pwzp2L6Z2Ts/DOlYvwAAAAAM6di+mdk7vwzp2D6Z2Tu/AAAAAPxTbj/xZU6/DVTuPvFlTr8NVO6+AAAAgPxTbr/xZU4/DVTuvvFlTj8NVO4+AACAvwAAAAAAAAC/0LNdvwAAAD/Qs12/AACAPwAAAIAAAAA/0LNdPwAAAL/Qs10/pYMAALuDAAD0gwAAFIQAADmEAABThAAAcoQAAI+EAAC3hAAA1oQAAO2EAAADhQAAF4UAAFSFAACEhQAAoIUAAMOFAAD6hQAAMYYAAEiGAABohgAAkoYAAN+GAAD6hgAAJYcAAEGHAABmhwAAjIcAALGHAADEhwAA2YcAAOyHAAD/hwAAJIgAADmIAABNiAAAbogAAISIAACziAAA24gAAPyIAAAdiQAATIkAAF2JAAB5iQAAt4kAAN6JAAAFigAAGYoAAEeKAABjigAAiIoAAKqKAADUigAA/4oAAB2LAABLiwAAc4sAAJqLAADHiwAA94sAACGMAABOjAAAeowAAJ2MAAC7jAAA2YwAAA+NAAA5jQAAWI0AAHuNAACijQAAt40AAMuNAADujQAA/o0AADyOAAB+jgAAqI4AANSOAAD7jgAAF48AAEKPAABdjwAAcY8AAIiPAACVjwAAvY8AAPKPAAAukAAAXJAAAH2QAACkkAAAvZAAAOWQAAAIkQAAIJEAAESRAABpkQAAb5EAAKiRAADikQAAAZIAABCSAAAtkgAAS5IAAGiSAACBkgAAmpIAANySAAAWkwAATJMAAICTAACUkwAAq5MAANGTAAATlAAAT5QAAICUAACklAAA0pQAAO2UAAAllQAAUJUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAIAAAABkAAAASAAAACwAAAAQAAAAFAAAADAAAABMAAAAaAAAAIQAAACgAAAAwAAAAKQAAACIAAAAbAAAAFAAAAA0AAAAGAAAABwAAAA4AAAAVAAAAHAAAACMAAAAqAAAAMQAAADgAAAA5AAAAMgAAACsAAAAkAAAAHQAAABYAAAAPAAAAFwAAAB4AAAAlAAAALAAAADMAAAA6AAAAOwAAADQAAAAtAAAAJgAAAB8AAAAnAAAALgAAADUAAAA8AAAAPQAAADYAAAAvAAAANwAAAD4AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAABAAAAAgAAAAQAAAAIAAAAEAAAACAAAABAAAAAgAAAAAABAAAAAgAAAAQAAAAIAAAAEAAAACAAAABAAAAAAAAA//////3////5////8f///+H////B////gf///wH///8B/v//Afz//wH4//8B8P//AeD//wHA//8BgP//AEDFWJ9TQksAQEkyoyKoEcVYIXv8c2JoxVi/RQswfhifU/xzQW1UYp9Ts0FBLRIXQktiaFRiflhCSyE7uijDFABAxVifU0JLAEBJMqMiqBFJMr9Fs0EhO0kygic3G+ANoyILMEEtuiijIjcbvxKOCagRfhgSF8MUqBHgDY4J3wQAAAAAAADwP+9hSLFQMfY/ym9Nka7n9D+qEWzvYtDyPwAAAAAAAPA/O7+nwGkk6T+7IMd7elHhP12rct5VqNE/AMAw8AzMPPwDwzPzD88//4BAsHCMTLx8g0Ozc49Pv38g4BDQLOwc3CPjE9Mv7x/foGCQUKxsnFyjY5NTr2+fXwjIOPgExDT0C8s7+wfHN/eISLh4hES0dItLu3uHR7d3KOgY2CTkFNQr6xvbJ+cX16homFikZJRUq2ubW6dnl1cCwjLyDs4+/gHBMfENzT39gkKyco5Ovn6BQbFxjU29fSLiEtIu7h7eIeER0S3tHd2iYpJSrm6eXqFhkVGtbZ1dCso6+gbGNvYJyTn5BcU19YpKunqGRrZ2iUm5eYVFtXUq6hraJuYW1inpGdkl5RXVqmqaWqZmllapaZlZpWWVVWA0AABgNAAAYDQAAGA0AAACAADAAwAAwAQAAMAFAADABgAAwAcAAMAIAADACQAAwAoAAMALAADADAAAwA0AAMAOAADADwAAwBAAAMARAADAEgAAwBMAAMAUAADAFQAAwBYAAMAXAADAGAAAwBkAAMAaAADAGwAAwBwAAMAdAADAHgAAwB8AAMAAAACzAQAAwwIAAMMDAADDBAAAwwUAAMMGAADDBwAAwwgAAMMJAADDCgAAwwsAAMMMAADDDQAA0w4AAMMPAADDAAAMuwEADMMCAAzDAwAMwwQADNMAAAAA3hIElQAAAAD///////////////8AAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////AAECAwQFBgcICf////////8KCwwNDg8QERITFBUWFxgZGhscHR4fICEiI////////woLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIj/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wAAAAAAAAAAAAAAAAAAABEACgAREREAAAAABQAAAAAAAAkAAAAACwAAAAAAAAAAEQAPChEREQMKBwABEwkLCwAACQYLAAALAAYRAAAAERERAAAAAAAAAAAAAAAAAAAAAAsAAAAAAAAAABEACgoREREACgAAAgAJCwAAAAkACwAACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAAMAAAAAAwAAAAACQwAAAAAAAwAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAADQAAAAQNAAAAAAkOAAAAAAAOAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA8AAAAADwAAAAAJEAAAAAAAEAAAEAAAEgAAABISEgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAAAAEhISAAAAAAAACQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAAAAAAAAAACgAAAAAKAAAAAAkLAAAAAAALAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAAwAAAAADAAAAAAJDAAAAAAADAAADAAAMDEyMzQ1Njc4OUFCQ0RFRgoAAABkAAAA6AMAABAnAACghgEAQEIPAICWmAAA4fUFVCEiGQ0BAgMRSxwMEAQLHRIeJ2hub3BxYiAFBg8TFBUaCBYHKCQXGAkKDhsfJSODgn0mKis8PT4/Q0dKTVhZWltcXV5fYGFjZGVmZ2lqa2xyc3R5ent8AAAAAAAAAAAASWxsZWdhbCBieXRlIHNlcXVlbmNlAERvbWFpbiBlcnJvcgBSZXN1bHQgbm90IHJlcHJlc2VudGFibGUATm90IGEgdHR5AFBlcm1pc3Npb24gZGVuaWVkAE9wZXJhdGlvbiBub3QgcGVybWl0dGVkAE5vIHN1Y2ggZmlsZSBvciBkaXJlY3RvcnkATm8gc3VjaCBwcm9jZXNzAEZpbGUgZXhpc3RzAFZhbHVlIHRvbyBsYXJnZSBmb3IgZGF0YSB0eXBlAE5vIHNwYWNlIGxlZnQgb24gZGV2aWNlAE91dCBvZiBtZW1vcnkAUmVzb3VyY2UgYnVzeQBJbnRlcnJ1cHRlZCBzeXN0ZW0gY2FsbABSZXNvdXJjZSB0ZW1wb3JhcmlseSB1bmF2YWlsYWJsZQBJbnZhbGlkIHNlZWsAQ3Jvc3MtZGV2aWNlIGxpbmsAUmVhZC1vbmx5IGZpbGUgc3lzdGVtAERpcmVjdG9yeSBub3QgZW1wdHkAQ29ubmVjdGlvbiByZXNldCBieSBwZWVyAE9wZXJhdGlvbiB0aW1lZCBvdXQAQ29ubmVjdGlvbiByZWZ1c2VkAEhvc3QgaXMgZG93bgBIb3N0IGlzIHVucmVhY2hhYmxlAEFkZHJlc3MgaW4gdXNlAEJyb2tlbiBwaXBlAEkvTyBlcnJvcgBObyBzdWNoIGRldmljZSBvciBhZGRyZXNzAEJsb2NrIGRldmljZSByZXF1aXJlZABObyBzdWNoIGRldmljZQBOb3QgYSBkaXJlY3RvcnkASXMgYSBkaXJlY3RvcnkAVGV4dCBmaWxlIGJ1c3kARXhlYyBmb3JtYXQgZXJyb3IASW52YWxpZCBhcmd1bWVudABBcmd1bWVudCBsaXN0IHRvbyBsb25nAFN5bWJvbGljIGxpbmsgbG9vcABGaWxlbmFtZSB0b28gbG9uZwBUb28gbWFueSBvcGVuIGZpbGVzIGluIHN5c3RlbQBObyBmaWxlIGRlc2NyaXB0b3JzIGF2YWlsYWJsZQBCYWQgZmlsZSBkZXNjcmlwdG9yAE5vIGNoaWxkIHByb2Nlc3MAQmFkIGFkZHJlc3MARmlsZSB0b28gbGFyZ2UAVG9vIG1hbnkgbGlua3MATm8gbG9ja3MgYXZhaWxhYmxlAFJlc291cmNlIGRlYWRsb2NrIHdvdWxkIG9jY3VyAFN0YXRlIG5vdCByZWNvdmVyYWJsZQBQcmV2aW91cyBvd25lciBkaWVkAE9wZXJhdGlvbiBjYW5jZWxlZABGdW5jdGlvbiBub3QgaW1wbGVtZW50ZWQATm8gbWVzc2FnZSBvZiBkZXNpcmVkIHR5cGUASWRlbnRpZmllciByZW1vdmVkAERldmljZSBub3QgYSBzdHJlYW0ATm8gZGF0YSBhdmFpbGFibGUARGV2aWNlIHRpbWVvdXQAT3V0IG9mIHN0cmVhbXMgcmVzb3VyY2VzAExpbmsgaGFzIGJlZW4gc2V2ZXJlZABQcm90b2NvbCBlcnJvcgBCYWQgbWVzc2FnZQBGaWxlIGRlc2NyaXB0b3IgaW4gYmFkIHN0YXRlAE5vdCBhIHNvY2tldABEZXN0aW5hdGlvbiBhZGRyZXNzIHJlcXVpcmVkAE1lc3NhZ2UgdG9vIGxhcmdlAFByb3RvY29sIHdyb25nIHR5cGUgZm9yIHNvY2tldABQcm90b2NvbCBub3QgYXZhaWxhYmxlAFByb3RvY29sIG5vdCBzdXBwb3J0ZWQAU29ja2V0IHR5cGUgbm90IHN1cHBvcnRlZABOb3Qgc3VwcG9ydGVkAFByb3RvY29sIGZhbWlseSBub3Qgc3VwcG9ydGVkAEFkZHJlc3MgZmFtaWx5IG5vdCBzdXBwb3J0ZWQgYnkgcHJvdG9jb2wAQWRkcmVzcyBub3QgYXZhaWxhYmxlAE5ldHdvcmsgaXMgZG93bgBOZXR3b3JrIHVucmVhY2hhYmxlAENvbm5lY3Rpb24gcmVzZXQgYnkgbmV0d29yawBDb25uZWN0aW9uIGFib3J0ZWQATm8gYnVmZmVyIHNwYWNlIGF2YWlsYWJsZQBTb2NrZXQgaXMgY29ubmVjdGVkAFNvY2tldCBub3QgY29ubmVjdGVkAENhbm5vdCBzZW5kIGFmdGVyIHNvY2tldCBzaHV0ZG93bgBPcGVyYXRpb24gYWxyZWFkeSBpbiBwcm9ncmVzcwBPcGVyYXRpb24gaW4gcHJvZ3Jlc3MAU3RhbGUgZmlsZSBoYW5kbGUAUmVtb3RlIEkvTyBlcnJvcgBRdW90YSBleGNlZWRlZABObyBtZWRpdW0gZm91bmQAV3JvbmcgbWVkaXVtIHR5cGUATm8gZXJyb3IgaW5mb3JtYXRpb24AAAAAAABMQ19DVFlQRQAAAABMQ19OVU1FUklDAABMQ19USU1FAAAAAABMQ19DT0xMQVRFAABMQ19NT05FVEFSWQBMQ19NRVNTQUdFUwAAAAAAAAAAAC90bXAvdG1wZmlsZV9YWFhYWFgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAgACAAIAAgACAAIAAgACAAMgAiACIAIgAiACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgABYATABMAEwATABMAEwATABMAEwATABMAEwATABMAEwAjYCNgI2AjYCNgI2AjYCNgI2AjYBMAEwATABMAEwATABMAI1QjVCNUI1QjVCNUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFCMUIxQjFBMAEwATABMAEwATACNYI1gjWCNYI1gjWCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgjGCMYIxgTABMAEwATAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAEEAAABCAAAAQwAAAEQAAABFAAAARgAAAEcAAABIAAAASQAAAEoAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAABRAAAAUgAAAFMAAABUAAAAVQAAAFYAAABXAAAAWAAAAFkAAABaAAAAWwAAAFwAAABdAAAAXgAAAF8AAABgAAAAQQAAAEIAAABDAAAARAAAAEUAAABGAAAARwAAAEgAAABJAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAFEAAABSAAAAUwAAAFQAAABVAAAAVgAAAFcAAABYAAAAWQAAAFoAAAB7AAAAfAAAAH0AAAB+AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAGEAAABiAAAAYwAAAGQAAABlAAAAZgAAAGcAAABoAAAAaQAAAGoAAABrAAAAbAAAAG0AAABuAAAAbwAAAHAAAABxAAAAcgAAAHMAAAB0AAAAdQAAAHYAAAB3AAAAeAAAAHkAAAB6AAAAWwAAAFwAAABdAAAAXgAAAF8AAABgAAAAYQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAagAAAGsAAABsAAAAbQAAAG4AAABvAAAAcAAAAHEAAAByAAAAcwAAAHQAAAB1AAAAdgAAAHcAAAB4AAAAeQAAAHoAAAB7AAAAfAAAAH0AAAB+AAAAfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAADAAAABQAAAAcAAAALAAAADQAAABEAAAATAAAAFwAAAB0AAAAfAAAAJQAAACkAAAArAAAALwAAADUAAAA7AAAAPQAAAEMAAABHAAAASQAAAE8AAABTAAAAWQAAAGEAAABlAAAAZwAAAGsAAABtAAAAcQAAAH8AAACDAAAAiQAAAIsAAACVAAAAlwAAAJ0AAACjAAAApwAAAK0AAACzAAAAtQAAAL8AAADBAAAAxQAAAMcAAADTAAAAAQAAAAsAAAANAAAAEQAAABMAAAAXAAAAHQAAAB8AAAAlAAAAKQAAACsAAAAvAAAANQAAADsAAAA9AAAAQwAAAEcAAABJAAAATwAAAFMAAABZAAAAYQAAAGUAAABnAAAAawAAAG0AAABxAAAAeQAAAH8AAACDAAAAiQAAAIsAAACPAAAAlQAAAJcAAACdAAAAowAAAKcAAACpAAAArQAAALMAAAC1AAAAuwAAAL8AAADBAAAAxQAAAMcAAADRAAAAMDEyMzQ1Njc4OWFiY2RlZkFCQ0RFRnhYKy1wUGlJbk4AAAAAAAAAAAAAAAAAAAAAJQAAAG0AAAAvAAAAJQAAAGQAAAAvAAAAJQAAAHkAAAAlAAAAWQAAAC0AAAAlAAAAbQAAAC0AAAAlAAAAZAAAACUAAABJAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAAIAAAACUAAABwAAAAAAAAACUAAABIAAAAOgAAACUAAABNAAAAAAAAAAAAAAAAAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAlAAAASAAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAALxDAADxVAAA5EMAAK1hAADwKgAAAAAAAORDAAC8ZAAAmDMAAAAAAADkQwAAH3AAAIAzAAAAAAAA5EMAAKeBAACAMwAAAAAAAORDAAAbggAAgDMAAAAAAABQRAAA36oAAAAAAAABAAAAYCsAAAAAAAC8QwAAHqsAALxDAAB5sQAAvEMAALixAAC8QwAA9rEAALxDAAA8sgAAvEMAAHmyAAC8QwAAmLIAALxDAAC3sgAAvEMAANayAAC8QwAA9bIAALxDAAAUswAAvEMAADOzAAC8QwAAcLMAALxDAACPswAAUEQAAKKzAAAAAAAAAQAAAGArAAAAAAAAUEQAAOGzAAAAAAAAAQAAAGArAAAAAAAACQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAEAAADIwgAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAEAAAD+3AAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAA//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAEAAADYxgAAAAQAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAACv////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA5EMAAA21AABQLgAAAAAAALxDAAD7tAAA5EMAADe1AABQLgAAAAAAALxDAABhtQAAvEMAAJK1AABQRAAAw7UAAAAAAAABAAAAQC4AAAP0//9QRAAA8rUAAAAAAAABAAAAWC4AAAP0//9QRAAAIbYAAAAAAAABAAAAQC4AAAP0//9QRAAAULYAAAAAAAABAAAAWC4AAAP0///kQwAAf7YAAHAuAAAAAAAA5EMAAJi2AABoLgAAAAAAAORDAADXtgAAcC4AAAAAAADkQwAA77YAAGguAAAAAAAA5EMAAAe3AAAoLwAAAAAAAORDAAAbtwAAeDMAAAAAAADkQwAAMbcAACgvAAAAAAAAUEQAAEq3AAAAAAAAAgAAACgvAAACAAAAaC8AAAAAAABQRAAAjrcAAAAAAAABAAAAgC8AAAAAAAC8QwAApLcAAFBEAAC9twAAAAAAAAIAAAAoLwAAAgAAAKgvAAAAAAAAUEQAAAG4AAAAAAAAAQAAAIAvAAAAAAAAUEQAACq4AAAAAAAAAgAAACgvAAACAAAA4C8AAAAAAABQRAAAbrgAAAAAAAABAAAA+C8AAAAAAAC8QwAAhLgAAFBEAACduAAAAAAAAAIAAAAoLwAAAgAAACAwAAAAAAAAUEQAAOG4AAAAAAAAAQAAAPgvAAAAAAAAUEQAADe6AAAAAAAAAwAAACgvAAACAAAAYDAAAAIAAABoMAAAAAgAALxDAACeugAAvEMAAHy6AABQRAAAsboAAAAAAAADAAAAKC8AAAIAAABgMAAAAgAAAJgwAAAACAAAvEMAAPa6AABQRAAAGLsAAAAAAAACAAAAKC8AAAIAAADAMAAAAAgAALxDAABduwAAUEQAAHK7AAAAAAAAAgAAACgvAAACAAAAwDAAAAAIAABQRAAAt7sAAAAAAAACAAAAKC8AAAIAAAAIMQAAAgAAALxDAADTuwAAUEQAAOi7AAAAAAAAAgAAACgvAAACAAAACDEAAAIAAABQRAAABLwAAAAAAAACAAAAKC8AAAIAAAAIMQAAAgAAAFBEAAAgvAAAAAAAAAIAAAAoLwAAAgAAAAgxAAACAAAAUEQAAEu8AAAAAAAAAgAAACgvAAACAAAAkDEAAAAAAAC8QwAAkbwAAFBEAAC1vAAAAAAAAAIAAAAoLwAAAgAAALgxAAAAAAAAvEMAAPu8AABQRAAAGr0AAAAAAAACAAAAKC8AAAIAAADgMQAAAAAAALxDAABgvQAAUEQAAHm9AAAAAAAAAgAAACgvAAACAAAACDIAAAAAAAC8QwAAv70AAFBEAADYvQAAAAAAAAIAAAAoLwAAAgAAADAyAAACAAAAvEMAAO29AABQRAAAhL4AAAAAAAACAAAAKC8AAAIAAAAwMgAAAgAAAORDAAAFvgAAaDIAAAAAAABQRAAAKL4AAAAAAAACAAAAKC8AAAIAAACIMgAAAgAAALxDAABLvgAA5EMAAGK+AABoMgAAAAAAAFBEAACZvgAAAAAAAAIAAAAoLwAAAgAAAIgyAAACAAAAUEQAALu+AAAAAAAAAgAAACgvAAACAAAAiDIAAAIAAABQRAAA3b4AAAAAAAACAAAAKC8AAAIAAACIMgAAAgAAAORDAAAAvwAAKC8AAAAAAABQRAAAFr8AAAAAAAACAAAAKC8AAAIAAAAwMwAAAgAAALxDAAAovwAAUEQAAD2/AAAAAAAAAgAAACgvAAACAAAAMDMAAAIAAADkQwAAWr8AACgvAAAAAAAA5EMAAG+/AAAoLwAAAAAAALxDAACEvwAAUEQAAJ2/AAAAAAAAAQAAAHgzAAAAAAAAvEMAAEzAAADkQwAArMAAALAzAAAAAAAA5EMAAFnAAADAMwAAAAAAALxDAAB6wAAA5EMAAIfAAACgMwAAAAAAAORDAACOwQAAmDMAAAAAAADkQwAAnsEAANgzAAAAAAAA5EMAANPBAACwMwAAAAAAAORDAACvwQAA+DMAAAAAAADkQwAA9cEAALAzAAAAAAAANEQAAB3CAAA0RAAAH8IAADREAAAhwgAANEQAACPCAAA0RAAAJcIAADREAAAnwgAANEQAACnCAAA0RAAAK8IAADREAAAtwgAANEQAACi4AAA0RAAAL8IAADREAAAxwgAANEQAADPCAADkQwAANcIAAKAzAAAAAAAAAQAAAAAAAAD4KgAAAQAAAAIAAAAAAAAA8CoAAAMAAAAEAAAAAAAAAAgrAAAFAAAABgAAAAEAAAC5Uow+jlrnPrlSjD4AAAAAGCsAAAcAAAAIAAAACQAAAAEAAAAKAAAAAAAAACgrAAAHAAAACwAAAAwAAAACAAAADQAAAAAAAAA4KwAABwAAAA4AAAAPAAAAAwAAABAAAABABgAAgD4AAAAAAACIEwAAAQAAAAAAAAACAAAA//////7////9////KDQAAGA0AACANAAAKDQAAGA0AABgNAAAiDQAAGA0AAAoNAAAYDQAAIg0AABgNAAAKDQAAGA0AABgNAAASCsAAGA0AABgNAAAYDQAAGA0AABgNAAASCsAAGA0AABgNAAAYA4AABQAAABDLlVURi04AAAAAAAAAAAAAAAAAMA1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAACQLAAAIC0AACAtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMjUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAX3CJAP8JLw9wGgAAcB4AAHAkAAAAAAAAUC4AABEAAAASAAAAAAAAAGguAAATAAAAFAAAAAEAAAAFAAAAAQAAAAEAAAADAAAABAAAAAYAAAAFAAAABgAAAAQAAAAHAAAABQAAAAAAAABwLgAAFQAAABYAAAACAAAACAAAAAIAAAACAAAABwAAAAgAAAAJAAAACQAAAAoAAAAGAAAACgAAAAcAAAAIAAAAAAAAAHguAAAXAAAAGAAAAPj////4////eC4AABkAAAAaAAAAqDcAALw3AAAIAAAAAAAAAJAuAAAbAAAAHAAAAPj////4////kC4AAB0AAAAeAAAA2DcAAOw3AAAEAAAAAAAAAKguAAAfAAAAIAAAAPz////8////qC4AACEAAAAiAAAACDgAABw4AAAEAAAAAAAAAMAuAAAjAAAAJAAAAPz////8////wC4AACUAAAAmAAAAODgAAEw4AAAAAAAA2C4AABUAAAAnAAAAAwAAAAgAAAACAAAAAgAAAAsAAAAIAAAACQAAAAkAAAAKAAAABgAAAAsAAAAIAAAAAAAAAOguAAATAAAAKAAAAAQAAAAFAAAAAQAAAAEAAAAMAAAABAAAAAYAAAAFAAAABgAAAAQAAAAMAAAACQAAAAAAAAD4LgAAFQAAACkAAAAFAAAACAAAAAIAAAACAAAABwAAAAgAAAAJAAAADQAAAA4AAAAKAAAACgAAAAcAAAAAAAAACC8AABMAAAAqAAAABgAAAAUAAAABAAAAAQAAAAMAAAAEAAAABgAAAA8AAAAQAAAACwAAAAcAAAAFAAAAAAAAABgvAAArAAAALAAAAC0AAAABAAAAAwAAAA0AAAAAAAAAOC8AAC4AAAAvAAAALQAAAAIAAAAEAAAADgAAAAAAAABILwAAMAAAADEAAAAtAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAAAAAAiC8AADIAAAAzAAAALQAAAAwAAAANAAAADgAAAA8AAAAQAAAAEQAAABIAAAATAAAAFAAAABUAAAAWAAAAAAAAAMAvAAA0AAAANQAAAC0AAAADAAAABAAAABcAAAAFAAAAGAAAAAEAAAACAAAABgAAAAAAAAAAMAAANgAAADcAAAAtAAAABwAAAAgAAAAZAAAACQAAABoAAAADAAAABAAAAAoAAAAAAAAAODAAADgAAAA5AAAALQAAABEAAAAbAAAAHAAAAB0AAAAeAAAAHwAAAAEAAAD4////ODAAABIAAAATAAAAFAAAABUAAAAWAAAAFwAAABgAAAAAAAAAcDAAADoAAAA7AAAALQAAABkAAAAgAAAAIQAAACIAAAAjAAAAJAAAAAIAAAD4////cDAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAlAAAASAAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAAAAAAAAlAAAAbQAAAC8AAAAlAAAAZAAAAC8AAAAlAAAAeQAAAAAAAAAlAAAASQAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAACAAAAAlAAAAcAAAAAAAAAAlAAAAYQAAACAAAAAlAAAAYgAAACAAAAAlAAAAZAAAACAAAAAlAAAASAAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAACAAAAAlAAAAWQAAAAAAAABBAAAATQAAAAAAAABQAAAATQAAAAAAAABKAAAAYQAAAG4AAAB1AAAAYQAAAHIAAAB5AAAAAAAAAEYAAABlAAAAYgAAAHIAAAB1AAAAYQAAAHIAAAB5AAAAAAAAAE0AAABhAAAAcgAAAGMAAABoAAAAAAAAAEEAAABwAAAAcgAAAGkAAABsAAAAAAAAAE0AAABhAAAAeQAAAAAAAABKAAAAdQAAAG4AAABlAAAAAAAAAEoAAAB1AAAAbAAAAHkAAAAAAAAAQQAAAHUAAABnAAAAdQAAAHMAAAB0AAAAAAAAAFMAAABlAAAAcAAAAHQAAABlAAAAbQAAAGIAAABlAAAAcgAAAAAAAABPAAAAYwAAAHQAAABvAAAAYgAAAGUAAAByAAAAAAAAAE4AAABvAAAAdgAAAGUAAABtAAAAYgAAAGUAAAByAAAAAAAAAEQAAABlAAAAYwAAAGUAAABtAAAAYgAAAGUAAAByAAAAAAAAAEoAAABhAAAAbgAAAAAAAABGAAAAZQAAAGIAAAAAAAAATQAAAGEAAAByAAAAAAAAAEEAAABwAAAAcgAAAAAAAABKAAAAdQAAAG4AAAAAAAAASgAAAHUAAABsAAAAAAAAAEEAAAB1AAAAZwAAAAAAAABTAAAAZQAAAHAAAAAAAAAATwAAAGMAAAB0AAAAAAAAAE4AAABvAAAAdgAAAAAAAABEAAAAZQAAAGMAAAAAAAAAUwAAAHUAAABuAAAAZAAAAGEAAAB5AAAAAAAAAE0AAABvAAAAbgAAAGQAAABhAAAAeQAAAAAAAABUAAAAdQAAAGUAAABzAAAAZAAAAGEAAAB5AAAAAAAAAFcAAABlAAAAZAAAAG4AAABlAAAAcwAAAGQAAABhAAAAeQAAAAAAAABUAAAAaAAAAHUAAAByAAAAcwAAAGQAAABhAAAAeQAAAAAAAABGAAAAcgAAAGkAAABkAAAAYQAAAHkAAAAAAAAAUwAAAGEAAAB0AAAAdQAAAHIAAABkAAAAYQAAAHkAAAAAAAAAUwAAAHUAAABuAAAAAAAAAE0AAABvAAAAbgAAAAAAAABUAAAAdQAAAGUAAAAAAAAAVwAAAGUAAABkAAAAAAAAAFQAAABoAAAAdQAAAAAAAABGAAAAcgAAAGkAAAAAAAAAUwAAAGEAAAB0AAAAAAAAAAAAAACgMAAAPAAAAD0AAAAtAAAAAQAAAAAAAADIMAAAPgAAAD8AAAAtAAAAAgAAAAAAAADoMAAAQAAAAEEAAAAtAAAAIQAAACIAAAAHAAAACAAAAAkAAAAKAAAAIwAAAAsAAAAMAAAAAAAAABAxAABCAAAAQwAAAC0AAAAkAAAAJQAAAA0AAAAOAAAADwAAABAAAAAmAAAAEQAAABIAAAAAAAAAMDEAAEQAAABFAAAALQAAACcAAAAoAAAAEwAAABQAAAAVAAAAFgAAACkAAAAXAAAAGAAAAAAAAABQMQAARgAAAEcAAAAtAAAAKgAAACsAAAAZAAAAGgAAABsAAAAcAAAALAAAAB0AAAAeAAAAAAAAAHAxAABIAAAASQAAAC0AAAADAAAABAAAAAAAAACYMQAASgAAAEsAAAAtAAAABQAAAAYAAAAAAAAAwDEAAEwAAABNAAAALQAAAAEAAAAlAAAAAAAAAOgxAABOAAAATwAAAC0AAAACAAAAJgAAAAAAAAAQMgAAUAAAAFEAAAAtAAAADwAAAAMAAAAfAAAAAAAAADgyAABSAAAAUwAAAC0AAAAQAAAABAAAACAAAAAAAAAAkDIAAFQAAABVAAAALQAAAAMAAAAEAAAACwAAAC0AAAAuAAAADAAAAC8AAAAAAAAAWDIAAFQAAABWAAAALQAAAAMAAAAEAAAACwAAAC0AAAAuAAAADAAAAC8AAAAAAAAAwDIAAFcAAABYAAAALQAAAAUAAAAGAAAADQAAADAAAAAxAAAADgAAADIAAAAAAAAAADMAAFkAAABaAAAALQAAAAAAAAAQMwAAWwAAAFwAAAAtAAAADAAAABEAAAANAAAAEgAAAA4AAAACAAAAEwAAAA8AAAAAAAAAWDMAAF0AAABeAAAALQAAADMAAAA0AAAAIQAAACIAAAAjAAAAAAAAAGgzAABfAAAAYAAAAC0AAAA1AAAANgAAACQAAAAlAAAAJgAAAGYAAABhAAAAbAAAAHMAAABlAAAAAAAAAHQAAAByAAAAdQAAAGUAAAAAAAAAAAAAACgvAABUAAAAYQAAAC0AAAAAAAAAODMAAFQAAABiAAAALQAAABQAAAADAAAABAAAAAUAAAAPAAAAFQAAABAAAAAWAAAAEQAAAAYAAAAXAAAAEAAAAAAAAACgMgAAVAAAAGMAAAAtAAAABwAAAAgAAAARAAAANwAAADgAAAASAAAAOQAAAAAAAADgMgAAVAAAAGQAAAAtAAAACQAAAAoAAAATAAAAOgAAADsAAAAUAAAAPAAAAAAAAABoMgAAVAAAAGUAAAAtAAAAAwAAAAQAAAALAAAALQAAAC4AAAAMAAAALwAAAAAAAABoMAAAEgAAABMAAAAUAAAAFQAAABYAAAAXAAAAGAAAAAAAAACYMAAAGgAAABsAAAAcAAAAHQAAAB4AAAAfAAAAIAAAAAEAAAAAAAAAoDMAAGYAAABnAAAAaAAAAGkAAAAYAAAABQAAAAEAAAAFAAAAAAAAAMgzAABmAAAAagAAAGgAAABpAAAAGAAAAAYAAAACAAAABgAAAAAAAADYMwAAawAAAGwAAAA9AAAAAAAAAOgzAABrAAAAbQAAAD0AAAAAAAAAGDQAAGYAAABuAAAAaAAAAGkAAAAZAAAAAAAAAJA0AABmAAAAbwAAAGgAAABpAAAAGAAAAAcAAAADAAAABwAAAEVycm9yOiBsYWJlbGluZyB3b3JrIG92ZXJmbG93LgoAVW5rbm93biBvciB1bnN1cHBvcnRlZCBsYWJlbGluZyB0aHJlc2hvbGQgbW9kZSByZXF1ZXN0ZWQuIFNldCB0byBtYW51YWwuCgBMYWJlbGluZyB0aHJlc2hvbGQgbW9kZSBzZXQgdG8gJXMuCgBNQU5VQUwAQVVUT19NRURJQU4AQVVUT19PVFNVAEFVVE9fQURBUFRJVkUAQVVUT19CUkFDS0VUSU5HAEVycm9yOiBVbnN1cHBvcnRlZCBwaXhlbCBmb3JtYXQgKCVkKSByZXF1ZXN0ZWQuCgBBdXRvIHRocmVzaG9sZCAoYnJhY2tldCkgbWFya2VyIGNvdW50cyAtWyUzZDogJTNkXSBbJTNkOiAlM2RdIFslM2Q6ICUzZF0rLgoAQXV0byB0aHJlc2hvbGQgKGJyYWNrZXQpIGFkanVzdGVkIHRocmVzaG9sZCB0byAlZC4KAG1lZGlhbgBPdHN1AEF1dG8gdGhyZXNob2xkICglcykgYWRqdXN0ZWQgdGhyZXNob2xkIHRvICVkLgoAPz8/IDEKAD8/PyAyCgA/Pz8gMwoARXJyb3I6IHVuc3VwcG9ydGVkIHBpeGVsIGZvcm1hdC4KAEVycm9yOiBOVUxMIHBhdHRIYW5kbGUuCgBFcnJvcjogY2FuJ3QgbG9hZCBwYXR0ZXJuIGZyb20gTlVMTCBidWZmZXIuCgBFcnJvcjogb3V0IG9mIG1lbW9yeS4KACAJCg0AUGF0dGVybiBEYXRhIHJlYWQgZXJyb3IhIQoARXJyb3IgcmVhZGluZyBwYXR0ZXJuIGZpbGUgJyVzJy4KAEVycm9yICglZCk6IHVuYWJsZSB0byBvcGVuIGNhbWVyYSBwYXJhbWV0ZXJzIGZpbGUgIiVzIiBmb3IgcmVhZGluZy4KAEVycm9yICglZCk6IHVuYWJsZSB0byBkZXRlcm1pbmUgZmlsZSBsZW5ndGguAEVycm9yOiBzdXBwbGllZCBmaWxlIGRvZXMgbm90IGFwcGVhciB0byBiZSBhbiBBUlRvb2xLaXQgY2FtZXJhIHBhcmFtZXRlciBmaWxlLgoARXJyb3IgKCVkKTogdW5hYmxlIHRvIHJlYWQgZnJvbSBmaWxlLgBhcmdsQ2FtZXJhRnJ1c3R1bVJIKCk6IGFyUGFyYW1EZWNvbXBNYXQoKSBpbmRpY2F0ZWQgcGFyYW1ldGVyIGVycm9yLgoARXJyb3I6IGljcEdldEpfVV9YYwBFcnJvcjogbWFsbG9jCgBFcnJvciAxOiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIDI6IGljcEdldEluaXRYdzJYYwoARXJyb3IgMzogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciA0OiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIDU6IGljcEdldEluaXRYdzJYYwoARXJyb3IgNjogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciA3OiBpY3BHZXRJbml0WHcyWGMKAEVycm9yOiB1bmFibGUgdG8gb3BlbiBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnLgoARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnOiBGaXJzdCBsaW5lIG11c3QgYmUgbnVtYmVyIG9mIG1hcmtlciBjb25maWdzIHRvIHJlYWQuCgAlbGx1JWMARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnOiBwYXR0ZXJuICclcycgc3BlY2lmaWVkIGluIG11bHRpbWFya2VyIGNvbmZpZ3VyYXRpb24gd2hpbGUgaW4gYmFyY29kZS1vbmx5IG1vZGUuCgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcyc6IFVuYWJsZSB0byBkZXRlcm1pbmUgZGlyZWN0b3J5IG5hbWUuCgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcyc6IFVuYWJsZSB0byBsb2FkIHBhdHRlcm4gJyVzJy4KACVsZgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcycsIG1hcmtlciBkZWZpbml0aW9uICUzZDogRmlyc3QgbGluZSBtdXN0IGJlIHBhdHRlcm4gd2lkdGguCgAlbGYgJWxmICVsZiAlbGYAJWYgJWYARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnLCBtYXJrZXIgZGVmaW5pdGlvbiAlM2Q6IExpbmVzIDIgLSA0IG11c3QgYmUgbWFya2VyIHRyYW5zZm9ybS4KAFslc10gAGRlYnVnAGluZm8Ad2FybmluZwBlcnJvcgAlcyVzAC5pc2V0AEVycm9yOiB1bmFibGUgdG8gb3BlbiBmaWxlICclcyVzJyBmb3IgcmVhZGluZy4KAEVycm9yIHJlYWRpbmcgaW1hZ2VTZXQuCgBJbWFnZXNldCBjb250YWlucyAlZCBpbWFnZXMuCgBGYWxsaW5nIGJhY2sgdG8gcmVhZGluZyAnJXMlcycgaW4gQVJUb29sS2l0IHY0LnggZm9ybWF0LgoARXJyb3IgcmVhZGluZyBKUEVHIGZpbGUuCgBFcnJvciByZWFkaW5nIEpQRUcgZmlsZSBoZWFkZXIuCgAlZgBGaWxlIG9wZW4gZXJyb3IuICVzCgBSZWFkIGVycm9yISEKAHIARXJyb3Igb3BlbmluZyBmaWxlICclcyc6IAAlcyVzCgAlZAAKIyMjIFN1cmZhY2UgTm8uJWQgIyMjCgAlcwAgIFJlYWQgSW1hZ2VTZXQuCgBFcnJvciBvcGVuaW5nIGZpbGUgJyVzLmlzZXQnLgoAICAgIGVuZC4KACAgUmVhZCBGZWF0dXJlU2V0LgoARXJyb3Igb3BlbmluZyBmaWxlICclcy5mc2V0Jy4KACAgUmVhZCBNYXJrZXJTZXQuCgBtcmsARXJyb3Igb3BlbmluZyBmaWxlICclcy5tcmsnLgoAJWYgJWYgJWYgJWYAVHJhbnNmb3JtYXRpb24gbWF0cml4IHJlYWQgZXJyb3IhIQoAanBnAGtwbURlbGV0ZVJlZkRhdGFTZXQoKTogTlVMTCByZWZEYXRhU2V0UHRyMS9yZWZEYXRhU2V0UHRyMi4KAGtwbURlbGV0ZVJlZkRhdGFTZXQoKTogTlVMTCByZWZEYXRhU2V0UHRyLgoAcmIAa3BtTG9hZFJlZkRhdGFTZXQoKTogTlVMTCBmaWxlbmFtZS9yZWZEYXRhU2V0UHRyLgoARXJyb3IgbG9hZGluZyBLUE0gZGF0YTogdW5hYmxlIHRvIG9wZW4gZmlsZSAnJXMlcyVzJyBmb3IgcmVhZGluZy4KAEVycm9yIGxvYWRpbmcgS1BNIGRhdGE6IGVycm9yIHJlYWRpbmcgZGF0YS4KAGtwbUNoYW5nZVBhZ2VOb09mUmVmRGF0YVNldCgpOiBOVUxMIHJlZkRhdGFTZXQuCgBrcG1TZXRSZWZEYXRhU2V0KCk6IE5VTEwga3BtSGFuZGxlL3JlZkRhdGFTZXQuCgBrcG1TZXRSZWZEYXRhU2V0KCk6IHJlZkRhdGFTZXQuCgBwb2ludHMtJWQKAGtwbU1hdGNoaW5nKCk6IE5VTEwga3BtSGFuZGxlL2luSW1hZ2VMdW1hLgoAUGFnZVslZF0gIHByZTolM2QsIGFmdDolM2QsIGVycm9yID0gJWYKAE91dCBvZiBtZW1vcnkhIQoAJXMuJXMAQXNzZXJ0aW9uIGBweXJhbWlkLT5zaXplKCkgPiAwYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdDUvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvRG9HX3NjYWxlX2ludmFyaWFudF9kZXRlY3Rvci5jcHAAUHlyYW1pZCBpcyBub3QgYWxsb2NhdGVkAE9jdGF2ZSBvdXQgb2YgcmFuZ2UAU2NhbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgbUltYWdlcy5zaXplKCkgPiAwYCBmYWlsZWQgaW4gAExhcGxhY2lhbiBweXJhbWlkIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQAQXNzZXJ0aW9uIGBweXJhbWlkLT5udW1PY3RhdmVzKCkgPiAwYCBmYWlsZWQgaW4gAFB5cmFtaWQgZG9lcyBub3QgY29udGFpbiBhbnkgbGV2ZWxzAEFzc2VydGlvbiBgZHluYW1pY19jYXN0PGNvbnN0IEJpbm9taWFsUHlyYW1pZDMyZio+KHB5cmFtaWQpYCBmYWlsZWQgaW4gAE9ubHkgYmlub21pYWwgcHlyYW1pZCBpcyBzdXBwb3J0ZWQAQXNzZXJ0aW9uIGBkLnR5cGUoKSA9PSBJTUFHRV9GMzJgIGZhaWxlZCBpbiAAT25seSBGMzIgaW1hZ2VzIHN1cHBvcnRlZABBc3NlcnRpb24gYGltMS50eXBlKCkgPT0gSU1BR0VfRjMyYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0yLnR5cGUoKSA9PSBJTUFHRV9GMzJgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBkLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIABPbmx5IHNpbmdsZSBjaGFubmVsIGltYWdlcyBzdXBwb3J0ZWQAQXNzZXJ0aW9uIGBpbTEuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0yLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGQud2lkdGgoKSA9PSBpbTIud2lkdGgoKWAgZmFpbGVkIGluIABJbWFnZXMgbXVzdCBoYXZlIHRoZSBzYW1lIHdpZHRoAEFzc2VydGlvbiBgZC5oZWlnaHQoKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAASW1hZ2VzIG11c3QgaGF2ZSB0aGUgc2FtZSBoZWlnaHQAQXNzZXJ0aW9uIGBpbTEud2lkdGgoKSA9PSBpbTIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltMS5oZWlnaHQoKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGByb3cgPCBtSGVpZ2h0YCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdDUvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9mcmFtZXdvcmsvaW1hZ2UuaAByb3cgb3V0IG9mIGJvdW5kcwBONnZpc2lvbjI1R2F1c3NpYW5TY2FsZVNwYWNlUHlyYW1pZEUARG9HIFB5cmFtaWQATm9uLW1heCBzdXBwcmVzc2lvbgBTdWJwaXhlbABwcnVuZUZlYXR1cmVzAEZpbmQgT3JpZW50YXRpb25zAEFzc2VydGlvbiBgbUJ1Y2tldHMuc2l6ZSgpID09IG1OdW1CdWNrZXRzWGAgZmFpbGVkIGluIABCdWNrZXRzIGFyZSBub3QgYWxsb2NhdGVkAEFzc2VydGlvbiBgbUJ1Y2tldHNbMF0uc2l6ZSgpID09IG1OdW1CdWNrZXRzWWAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1GZWF0dXJlUG9pbnRzLnNpemUoKSA8PSBtTWF4TnVtRmVhdHVyZVBvaW50c2AgZmFpbGVkIGluIABUb28gbWFueSBmZWF0dXJlIHBvaW50cwBBc3NlcnRpb24gYGJ1Y2tldFswXS5maXJzdCA+PSBidWNrZXRbbl0uZmlyc3RgIGZhaWxlZCBpbiAAbnRoX2VsZW1lbnQgZmFpbGVkAEFzc2VydGlvbiBga3Auc2NhbGUgPCBtTGFwbGFjaWFuUHlyYW1pZC5udW1TY2FsZVBlck9jdGF2ZSgpYCBmYWlsZWQgaW4gAEZlYXR1cmUgcG9pbnQgc2NhbGUgaXMgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYGtwLnNjb3JlID09IGxhcDEuZ2V0PGZsb2F0Pih5KVt4XWAgZmFpbGVkIGluIABTY29yZSBpcyBub3QgY29uc2lzdGVudCB3aXRoIHRoZSBEb0cgaW1hZ2UAQXNzZXJ0aW9uIGBsYXAwLmhlaWdodCgpID09IGxhcDEuaGVpZ2h0KCkgPT0gbGFwMi5oZWlnaHQoKWAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL0RvR19zY2FsZV9pbnZhcmlhbnRfZGV0ZWN0b3IuaABXaWR0aC9oZWlnaHQgYXJlIG5vdCBjb25zaXN0ZW50AEFzc2VydGlvbiBgKGxhcDAuaGVpZ2h0KCkgPT0gbGFwMS5oZWlnaHQoKSkgJiYgKChsYXAxLmhlaWdodCgpPj4xKSA9PSBsYXAyLmhlaWdodCgpKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYCgobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAxLndpZHRoKCkpICYmIChsYXAxLndpZHRoKCkgPT0gbGFwMi53aWR0aCgpKWAgZmFpbGVkIGluIABJbWFnZSBzaXplcyBhcmUgaW5jb25zaXN0ZW50AEFzc2VydGlvbiBgKHgtMSkgPj0gMCAmJiAoeCsxKSA8IGxhcDEud2lkdGgoKWAgZmFpbGVkIGluIAB4IG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGAoeS0xKSA+PSAwICYmICh5KzEpIDwgbGFwMS5oZWlnaHQoKWAgZmFpbGVkIGluIAB5IG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGAobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAxLndpZHRoKClgIGZhaWxlZCBpbiAASW1hZ2UgZGltZW5zaW9ucyBpbmNvbnNpc3RlbnQAQXNzZXJ0aW9uIGAobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAyLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAobGFwMC5oZWlnaHQoKT4+MSkgPT0gbGFwMS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChsYXAwLmhlaWdodCgpPj4xKSA9PSBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGludClzdGQ6OmZsb29yKHgpID09IChpbnQpeGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2ludGVycG9sYXRlLmgAZmxvb3IoKSBhbmQgY2FzdCBub3QgdGhlIHNhbWUAQXNzZXJ0aW9uIGAoaW50KXN0ZDo6Zmxvb3IoeSkgPT0gKGludCl5YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeXAgPj0gMCAmJiB5cCA8IGhlaWdodGAgZmFpbGVkIGluIAB5cCBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgeXBfcGx1c18xID49IDAgJiYgeXBfcGx1c18xIDwgaGVpZ2h0YCBmYWlsZWQgaW4gAHlwX3BsdXNfMSBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgeHAgPj0gMCAmJiB4cCA8IHdpZHRoYCBmYWlsZWQgaW4gAHhwIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGB4cF9wbHVzXzEgPj0gMCAmJiB4cF9wbHVzXzEgPCB3aWR0aGAgZmFpbGVkIGluIAB4cF9wbHVzXzEgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYHcwID49IDAgJiYgdzAgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAE91dCBvZiByYW5nZQBBc3NlcnRpb24gYHcxID49IDAgJiYgdzEgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgdzIgPj0gMCAmJiB3MiA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3MyA+PSAwICYmIHczIDw9IDEuMDAwMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYCh3MCt3MSt3Mit3MykgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKHgtMSkgPj0gMCAmJiAoeCsxKSA8IGltLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoeS0xKSA+PSAwICYmICh5KzEpIDwgaW0uaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBsYXAwLndpZHRoKCkgPT0gbGFwMS53aWR0aCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbGFwMC5oZWlnaHQoKSA9PSBsYXAxLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeF9kaXZfMi0wLjVmID49IDBgIGZhaWxlZCBpbiAAeF9kaXZfMiBvdXQgb2YgYm91bmRzIG91dCBvZiBib3VuZHMgZm9yIGludGVycG9sYXRpb24AQXNzZXJ0aW9uIGB5X2Rpdl8yLTAuNWYgPj0gMGAgZmFpbGVkIGluIAB5X2Rpdl8yIG91dCBvZiBib3VuZHMgb3V0IG9mIGJvdW5kcyBmb3IgaW50ZXJwb2xhdGlvbgBBc3NlcnRpb24gYHhfZGl2XzIrMC41ZiA8IGxhcDIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHlfZGl2XzIrMC41ZiA8IGxhcDIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBsYXAwLndpZHRoKCkgPT0gbGFwMi53aWR0aCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbGFwMC5oZWlnaHQoKSA9PSBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0wLmhlaWdodCgpID09IGltMS5oZWlnaHQoKWAgZmFpbGVkIGluIABIZWlnaHQgaXMgaW5jb25zaXN0ZW50AEFzc2VydGlvbiBgaW0wLmhlaWdodCgpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChpbTEuaGVpZ2h0KCk+PjEpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChpbTAuaGVpZ2h0KCk+PjEpID09IGltMS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChpbTAuaGVpZ2h0KCk+PjEpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGluZGV4IDwgbUltYWdlcy5zaXplKClgIGZhaWxlZCBpbiAASW5kZXggaXMgb3V0IG9mIHJhbmdlAE42dmlzaW9uMThCaW5vbWlhbFB5cmFtaWQzMmZFAEFzc2VydGlvbiBgd2lkdGggPj0gNWAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2dhdXNzaWFuX3NjYWxlX3NwYWNlX3B5cmFtaWQuY3BwAEltYWdlIGlzIHRvbyBzbWFsbABBc3NlcnRpb24gYGhlaWdodCA+PSA1YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW1hZ2UudHlwZSgpID09IElNQUdFX1VJTlQ4YCBmYWlsZWQgaW4gAEltYWdlIG11c3QgYmUgZ3JheXNjYWxlAEFzc2VydGlvbiBgaW1hZ2UuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAEltYWdlIG11c3QgaGF2ZSAxIGNoYW5uZWwAQXNzZXJ0aW9uIGBtUHlyYW1pZC5zaXplKCkgPT0gbU51bU9jdGF2ZXMqbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIABQeXJhbWlkIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQgeWV0AEFzc2VydGlvbiBgaW1hZ2Uud2lkdGgoKSA9PSBtUHlyYW1pZFswXS53aWR0aCgpYCBmYWlsZWQgaW4gAEltYWdlIG9mIHdyb25nIHNpemUgZm9yIHB5cmFtaWQAQXNzZXJ0aW9uIGBpbWFnZS5oZWlnaHQoKSA9PSBtUHlyYW1pZFswXS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGRzdC50eXBlKCkgPT0gSU1BR0VfRjMyYCBmYWlsZWQgaW4gAERlc3RpbmF0aW9uIGltYWdlIHNob3VsZCBiZSBhIGZsb2F0AFVua25vd24gaW1hZ2UgdHlwZQBVbnN1cHBvcnRlZCBpbWFnZSB0eXBlAE42dmlzaW9uOUV4Y2VwdGlvbkUAQXNzZXJ0aW9uIGBpbS53aWR0aCgpID09IGltLnN0ZXAoKS9zaXplb2YoZmxvYXQpYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdDUvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvb3JpZW50YXRpb25fYXNzaWdubWVudC5jcHAAU3RlcCBzaXplIG11c3QgYmUgZXF1YWwgdG8gd2lkdGggZm9yIG5vdwBBc3NlcnRpb24gYHggPj0gMGAgZmFpbGVkIGluIAB4IG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGB4IDwgbUdyYWRpZW50c1tvY3RhdmUqbU51bVNjYWxlc1Blck9jdGF2ZStzY2FsZV0ud2lkdGgoKWAgZmFpbGVkIGluIAB4IG11c3QgYmUgbGVzcyB0aGFuIHRoZSBpbWFnZSB3aWR0aABBc3NlcnRpb24gYHkgPj0gMGAgZmFpbGVkIGluIAB5IG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGB5IDwgbUdyYWRpZW50c1tvY3RhdmUqbU51bVNjYWxlc1Blck9jdGF2ZStzY2FsZV0uaGVpZ2h0KClgIGZhaWxlZCBpbiAAeSBtdXN0IGJlIGxlc3MgdGhhbiB0aGUgaW1hZ2UgaGVpZ2h0AEFzc2VydGlvbiBgZy5jaGFubmVscygpID09IDJgIGZhaWxlZCBpbiAATnVtYmVyIG9mIGNoYW5uZWxzIHNob3VsZCBiZSAyAEFzc2VydGlvbiBgbWF4X2hlaWdodCA+IDBgIGZhaWxlZCBpbiAATWF4aW11bSBiaW4gc2hvdWxkIGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgaGlzdCAhPSBOVUxMYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdDUvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvb3JpZW50YXRpb25fYXNzaWdubWVudC5oAEhpc3RvZ3JhbSBwb2ludGVyIGlzIE5VTEwAQXNzZXJ0aW9uIGAoZmJpbiswLjVmKSA+IDAgJiYgKGZiaW4tMC41ZikgPCBudW1fYmluc2AgZmFpbGVkIGluIABEZWNpbWFsIGJpbiBwb3NpdGlvbiBpbmRleCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBtYWduaXR1ZGUgPj0gMGAgZmFpbGVkIGluIABNYWduaXR1ZGUgY2Fubm90IGJlIG5lZ2F0aXZlAEFzc2VydGlvbiBgbnVtX2JpbnMgPj0gMGAgZmFpbGVkIGluIABOdW1iZXIgYmlucyBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgdzEgPj0gMGAgZmFpbGVkIGluIAB3MSBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgdzIgPj0gMGAgZmFpbGVkIGluIAB3MiBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgYjEgPj0gMCAmJiBiMSA8IG51bV9iaW5zYCBmYWlsZWQgaW4gAGIxIGJpbiBpbmRleCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiMiA+PSAwICYmIGIyIDwgbnVtX2JpbnNgIGZhaWxlZCBpbiAAYjIgYmluIGluZGV4IG91dCBvZiByYW5nZQBJRCBhbHJlYWR5IGV4aXN0cwBCdWlsZCBQeXJhbWlkAEV4dHJhY3QgRmVhdHVyZXMAQXNzZXJ0aW9uIGBhc3NpZ25tZW50LnNpemUoKSA9PSBudW1faW5kaWNlc2AgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvYmluYXJ5X2hpZXJhcmNoaWNhbF9jbHVzdGVyaW5nLmgAQXNzaWdubWVudCBzaXplIHdyb25nAEFzc2VydGlvbiBgYXNzaWdubWVudFtpXSAhPSAtMWAgZmFpbGVkIGluIABBc3NpZ25tZW50IGlzIGludmFsaWQAQXNzZXJ0aW9uIGBhc3NpZ25tZW50W2ldIDwgbnVtX2luZGljZXNgIGZhaWxlZCBpbiAAQXNzaWdubWVudCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBpbmRpY2VzW2Fzc2lnbm1lbnRbaV1dIDwgbnVtX2ZlYXR1cmVzYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaXQtPnNlY29uZC5zaXplKCkgIT0gMGAgZmFpbGVkIGluIABDbHVzdGVyIG11c3QgaGF2ZSBhdGxlYXNldCAxIGZlYXR1cmUAQXNzZXJ0aW9uIGBtSyA9PSBtQ2VudGVycy5zaXplKClgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0NS9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2ttZWRvaWRzLmgAayBzaG91bGQgbWF0Y2ggdGhlIG51bWJlciBvZiBjbHVzdGVyIGNlbnRlcnMAQXNzZXJ0aW9uIGBudW1fZmVhdHVyZXMgPiAwYCBmYWlsZWQgaW4gAE51bWJlciBvZiBmZWF0dXJlcyBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbnVtX2luZGljZXMgPD0gbnVtX2ZlYXR1cmVzYCBmYWlsZWQgaW4gAE1vcmUgaW5kaWNlcyB0aGFuIGZlYXR1cmVzAEFzc2VydGlvbiBgbnVtX2luZGljZXMgPj0gbUtgIGZhaWxlZCBpbiAATm90IGVub3VnaCBmZWF0dXJlcwBBc3NpZ25tZW50IHNpemUgaXMgaW5jb3JyZWN0AEFzc2VydGlvbiBgbnVtX2NlbnRlcnMgPiAwYCBmYWlsZWQgaW4gAFRoZXJlIG11c3QgYmUgYXQgbGVhc3QgMSBjZW50ZXIAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0NS9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL3Zpc3VhbF9kYXRhYmFzZS5oAEFzc2VydGlvbiBgZGV0ZWN0b3JgIGZhaWxlZCBpbiAARGV0ZWN0b3IgaXMgTlVMTABBc3NlcnRpb24gYHB5cmFtaWQtPmltYWdlcygpLnNpemUoKSA+IDBgIGZhaWxlZCBpbiAAUHlyYW1pZCBpcyBlbXB0eQBBc3NlcnRpb24gYHB5cmFtaWQtPmltYWdlcygpWzBdLndpZHRoKCkgPT0gZGV0ZWN0b3ItPndpZHRoKClgIGZhaWxlZCBpbiAAUHlyYW1pZCBhbmQgZGV0ZWN0b3Igc2l6ZSBtaXNtYXRjaABBc3NlcnRpb24gYHB5cmFtaWQtPmltYWdlcygpWzBdLmhlaWdodCgpID09IGRldGVjdG9yLT5oZWlnaHQoKWAgZmFpbGVkIGluIABOU3QzX18yMTRkZWZhdWx0X2RlbGV0ZUlONnZpc2lvbjhLZXlmcmFtZUlMaTk2RUVFRUUATlN0M19fMjIwX19zaGFyZWRfcHRyX3BvaW50ZXJJUE42dmlzaW9uOEtleWZyYW1lSUxpOTZFRUVOU18xNGRlZmF1bHRfZGVsZXRlSVMzX0VFTlNfOWFsbG9jYXRvcklTM19FRUVFAFslc10gWyVzXSBbJXNdIDogRm91bmQgJWQgZmVhdHVyZXMgaW4gcXVlcnkAYm9vbCB2aXNpb246OlZpc3VhbERhdGFiYXNlPHZpc2lvbjo6RlJFQUtFeHRyYWN0b3IsIHZpc2lvbjo6QmluYXJ5RmVhdHVyZVN0b3JlLCB2aXNpb246OkJpbmFyeUZlYXR1cmVNYXRjaGVyPDk2PiA+OjpxdWVyeShjb25zdCB2aXNpb246OkdhdXNzaWFuU2NhbGVTcGFjZVB5cmFtaWQgKikgW0ZFQVRVUkVfRVhUUkFDVE9SID0gdmlzaW9uOjpGUkVBS0V4dHJhY3RvciwgU1RPUkUgPSB2aXNpb246OkJpbmFyeUZlYXR1cmVTdG9yZSwgTUFUQ0hFUiA9IHZpc2lvbjo6QmluYXJ5RmVhdHVyZU1hdGNoZXI8OTY+XQBGaW5kIE1hdGNoZXMgKDEpAEhvdWdoIFZvdGluZyAoMSkARmluZCBIb3VnaCBNYXRjaGVzICgxKQBFc3RpbWF0ZSBIb21vZ3JhcGh5ICgxKQBGaW5kIElubGllcnMgKDEpAEZpbmQgTWF0Y2hlcyAoMikASG91Z2ggVm90aW5nICgyKQBGaW5kIEhvdWdoIE1hdGNoZXMgKDIpAEVzdGltYXRlIEhvbW9ncmFwaHkgKDIpAEZpbmQgSW5saWVycyAoMikAQXNzZXJ0aW9uIGAwYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdDUvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9mZWF0dXJlX21hdGNoZXItaW5saW5lLmgARmFpbGVkIHRvIGNvbXB1dGUgbWF0cml4IGludmVyc2UAQXNzZXJ0aW9uIGBiZXN0X2luZGV4ICE9IHN0ZDo6bnVtZXJpY19saW1pdHM8c2l6ZV90Pjo6bWF4KClgIGZhaWxlZCBpbiAAU29tZXRoaW5nIHN0cmFuZ2UAQXNzZXJ0aW9uIGBtTWF0Y2hlcy5zaXplKCkgPD0gZmVhdHVyZXMxLT5zaXplKClgIGZhaWxlZCBpbiAATnVtYmVyIG9mIG1hdGNoZXMgc2hvdWxkIGJlIGxvd2VyAEFzc2VydGlvbiBgaHlwLnNpemUoKSA+PSA5Km1heF9udW1faHlwb3RoZXNlc2AgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvaG9tb2dyYXBoeV9lc3RpbWF0aW9uL3JvYnVzdF9ob21vZ3JhcGh5LmgAaHlwIHZlY3RvciBzaG91bGQgYmUgb2Ygc2l6ZSA5Km1heF9udW1faHlwb3RoZXNlcwBBc3NlcnRpb24gYHRtcF9pLnNpemUoKSA+PSBudW1fcG9pbnRzYCBmYWlsZWQgaW4gAHRtcF9pIHZlY3RvciBzaG91bGQgYmUgb2Ygc2l6ZSBudW1fcG9pbnRzAEFzc2VydGlvbiBgaHlwX2Nvc3RzLnNpemUoKSA+PSBtYXhfbnVtX2h5cG90aGVzZXNgIGZhaWxlZCBpbiAAaHlwX2Nvc3RzIHZlY3RvciBzaG91bGQgYmUgb2Ygc2l6ZSBtYXhfbnVtX2h5cG90aGVzZXMAQXNzZXJ0aW9uIGBuIDw9IGluX21hdGNoZXMuc2l6ZSgpYCBmYWlsZWQgaW4gAFNob3VsZCBiZSB0aGUgc2FtZQBBc3NlcnRpb24gYGRpc3RCaW5BbmdsZSA+PSAwYCBmYWlsZWQgaW4gAGRpc3RCaW5BbmdsZSBtdXN0IG5vdCBiZSBuZWdhdGl2ZQBBc3NlcnRpb24gYG1Sb290LmdldCgpYCBmYWlsZWQgaW4gAFJvb3QgY2Fubm90IGJlIE5VTEwAQXNzZXJ0aW9uIGBtaW5pICE9IC0xYCBmYWlsZWQgaW4gAE1pbmltdW0gaW5kZXggbm90IHNldABBc3NlcnRpb24gYHggPj0gbU1pblhgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0NS9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2hvdWdoX3NpbWlsYXJpdHlfdm90aW5nLmgAeCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGB4IDwgbU1heFhgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB5ID49IG1NaW5ZYCBmYWlsZWQgaW4gAHkgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgeSA8IG1NYXhZYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYW5nbGUgPiAtUElgIGZhaWxlZCBpbiAAYW5nbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYW5nbGUgPD0gUElgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBzY2FsZSA+PSBtTWluU2NhbGVgIGZhaWxlZCBpbiAAc2NhbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgc2NhbGUgPCBtTWF4U2NhbGVgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbmRleCA+PSAwYCBmYWlsZWQgaW4gAGluZGV4IG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblggPj0gMGAgZmFpbGVkIGluIABiaW5YIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblggPCBtTnVtWEJpbnNgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBiaW5ZID49IDBgIGZhaWxlZCBpbiAAYmluWSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiaW5ZIDwgbU51bVlCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYmluQW5nbGUgPj0gMGAgZmFpbGVkIGluIABiaW5BbmdsZSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiaW5BbmdsZSA8IG1OdW1BbmdsZUJpbnNgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBiaW5TY2FsZSA+PSAwYCBmYWlsZWQgaW4gAGJpblNjYWxlIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblNjYWxlIDwgbU51bVNjYWxlQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGluZGV4IDw9IChiaW5YICsgYmluWSptTnVtWEJpbnMgKyBiaW5BbmdsZSptTnVtWEJpbnMqbU51bVlCaW5zICsgYmluU2NhbGUqbU51bVhCaW5zKm1OdW1ZQmlucyptTnVtQW5nbGVCaW5zKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHNpemUgPiAwYCBmYWlsZWQgaW4gAC9ob21lL3dhbHRlci9rYWx3YWx0LWdpdGh1Yi9qc2FydG9vbGtpdDUvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9ob3VnaF9zaW1pbGFyaXR5X3ZvdGluZy5jcHAAc2l6ZSBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbVJlZkltYWdlV2lkdGggPiAwYCBmYWlsZWQgaW4gAHdpZHRoIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBtUmVmSW1hZ2VIZWlnaHQgPiAwYCBmYWlsZWQgaW4gAGhlaWdodCBtdXN0IGJlIHBvc2l0aXZlAEFzc2VydGlvbiBgbiA+IDBgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0NS9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL3V0aWxzL3BhcnRpYWxfc29ydC5oAG4gbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYGsgPiAwYCBmYWlsZWQgaW4gAGsgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHB5cmFtaWRgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0NS9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2ZyZWFrLmgAUHlyYW1pZCBpcyBOVUxMAEFzc2VydGlvbiBgc3RvcmUuc2l6ZSgpID09IHBvaW50cy5zaXplKClgIGZhaWxlZCBpbiAARmVhdHVyZSBzdG9yZSBoYXMgbm90IGJlZW4gYWxsb2NhdGVkAEFzc2VydGlvbiBgbnVtX3BvaW50cyA9PSBwb2ludHMuc2l6ZSgpYCBmYWlsZWQgaW4gAFNob3VsZCBiZSBzYW1lIHNpemUAQXNzZXJ0aW9uIGBvY3RhdmUgPj0gMGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2dhdXNzaWFuX3NjYWxlX3NwYWNlX3B5cmFtaWQuaABPY3RhdmUgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYG9jdGF2ZSA8IG1OdW1PY3RhdmVzYCBmYWlsZWQgaW4gAE9jdGF2ZSBtdXN0IGJlIGxlc3MgdGhhbiBudW1iZXIgb2Ygb2N0YXZlcwBBc3NlcnRpb24gYHNjYWxlID49IDBgIGZhaWxlZCBpbiAAU2NhbGUgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYHNjYWxlIDwgbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIABTY2FsZSBtdXN0IGJlIGxlc3MgdGhhbiBudW1iZXIgb2Ygc2NhbGUgcGVyIG9jdGF2ZQAlbS0lZC0lWS0lSC0lTS0lUwBBc3NlcnRpb24gYHdpZHRoID4gMGAgZmFpbGVkIGluIAAvaG9tZS93YWx0ZXIva2Fsd2FsdC1naXRodWIvanNhcnRvb2xraXQ1L2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZnJhbWV3b3JrL2ltYWdlLmNwcABXaWR0aCBjYW5ub3QgYmUgemVybwBBc3NlcnRpb24gYGhlaWdodCA+IDBgIGZhaWxlZCBpbiAASGVpZ2h0IGNhbm5vdCBiZSB6ZXJvAEFzc2VydGlvbiBgc3RlcCA+PSB3aWR0aGAgZmFpbGVkIGluIABTdGVwIG11c3QgYmUgZ3JlYXRlciB0aGFuIG9yIGVxdWFsIHRoZSB3aWR0aABBc3NlcnRpb24gYGNoYW5uZWxzID4gMGAgZmFpbGVkIGluIABOdW1iZXIgb2YgY2hhbm5lbHMgY2Fubm90IGJlIHplcm8AQXNzZXJ0aW9uIGBtRGF0YS5nZXQoKWAgZmFpbGVkIGluIABEYXRhIHBvaW50ZXIgaXMgTlVMTABOU3QzX18yMTRkZWZhdWx0X2RlbGV0ZUloRUUATlN0M19fMjIwX19zaGFyZWRfcHRyX3BvaW50ZXJJUGhOU18xNGRlZmF1bHRfZGVsZXRlSWhFRU5TXzlhbGxvY2F0b3JJaEVFRUUASW52YWxpZCBpbWFnZSB0eXBlADE2TnVsbEFycmF5RGVsZXRlckloRQBOU3QzX18yMjBfX3NoYXJlZF9wdHJfcG9pbnRlcklQaDE2TnVsbEFycmF5RGVsZXRlckloRU5TXzlhbGxvY2F0b3JJaEVFRUUAQXNzZXJ0aW9uIGBtU3RhcnRUaW1lID49IDBgIGZhaWxlZCBpbiAAL2hvbWUvd2FsdGVyL2thbHdhbHQtZ2l0aHViL2pzYXJ0b29sa2l0NS9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2ZyYW1ld29yay90aW1lcnMuY3BwACBsaW5lIAA6IABDbG9jayBoYXMgbm90IGJlZW4gc3RhcnRlZABBc3NlcnRpb24gYG1TdG9wVGltZSA+PSAwYCBmYWlsZWQgaW4gAENsb2NrIGhhcyBub3QgYmVlbiBzdG9wcGVkAFslc10gWyVzXSBbJXNdIDogJXM6ICVmIG1zACBJTkZPICAAdmlzaW9uOjpTY29wZWRUaW1lcjo6flNjb3BlZFRpbWVyKCkAQm9ndXMgbWVzc2FnZSBjb2RlICVkAFNvcnJ5LCB0aGVyZSBhcmUgbGVnYWwgcmVzdHJpY3Rpb25zIG9uIGFyaXRobWV0aWMgY29kaW5nAEFMSUdOX1RZUEUgaXMgd3JvbmcsIHBsZWFzZSBmaXgATUFYX0FMTE9DX0NIVU5LIGlzIHdyb25nLCBwbGVhc2UgZml4AEJvZ3VzIGJ1ZmZlciBjb250cm9sIG1vZGUASW52YWxpZCBjb21wb25lbnQgSUQgJWQgaW4gU09TAERDVCBjb2VmZmljaWVudCBvdXQgb2YgcmFuZ2UASURDVCBvdXRwdXQgYmxvY2sgc2l6ZSAlZCBub3Qgc3VwcG9ydGVkAEJvZ3VzIEh1ZmZtYW4gdGFibGUgZGVmaW5pdGlvbgBCb2d1cyBpbnB1dCBjb2xvcnNwYWNlAEJvZ3VzIEpQRUcgY29sb3JzcGFjZQBCb2d1cyBtYXJrZXIgbGVuZ3RoAFdyb25nIEpQRUcgbGlicmFyeSB2ZXJzaW9uOiBsaWJyYXJ5IGlzICVkLCBjYWxsZXIgZXhwZWN0cyAlZABTYW1wbGluZyBmYWN0b3JzIHRvbyBsYXJnZSBmb3IgaW50ZXJsZWF2ZWQgc2NhbgBJbnZhbGlkIG1lbW9yeSBwb29sIGNvZGUgJWQAVW5zdXBwb3J0ZWQgSlBFRyBkYXRhIHByZWNpc2lvbiAlZABJbnZhbGlkIHByb2dyZXNzaXZlIHBhcmFtZXRlcnMgU3M9JWQgU2U9JWQgQWg9JWQgQWw9JWQASW52YWxpZCBwcm9ncmVzc2l2ZSBwYXJhbWV0ZXJzIGF0IHNjYW4gc2NyaXB0IGVudHJ5ICVkAEJvZ3VzIHNhbXBsaW5nIGZhY3RvcnMASW52YWxpZCBzY2FuIHNjcmlwdCBhdCBlbnRyeSAlZABJbXByb3BlciBjYWxsIHRvIEpQRUcgbGlicmFyeSBpbiBzdGF0ZSAlZABKUEVHIHBhcmFtZXRlciBzdHJ1Y3QgbWlzbWF0Y2g6IGxpYnJhcnkgdGhpbmtzIHNpemUgaXMgJXUsIGNhbGxlciBleHBlY3RzICV1AEJvZ3VzIHZpcnR1YWwgYXJyYXkgYWNjZXNzAEJ1ZmZlciBwYXNzZWQgdG8gSlBFRyBsaWJyYXJ5IGlzIHRvbyBzbWFsbABTdXNwZW5zaW9uIG5vdCBhbGxvd2VkIGhlcmUAQ0NJUjYwMSBzYW1wbGluZyBub3QgaW1wbGVtZW50ZWQgeWV0AFRvbyBtYW55IGNvbG9yIGNvbXBvbmVudHM6ICVkLCBtYXggJWQAVW5zdXBwb3J0ZWQgY29sb3IgY29udmVyc2lvbiByZXF1ZXN0AEJvZ3VzIERBQyBpbmRleCAlZABCb2d1cyBEQUMgdmFsdWUgMHgleABCb2d1cyBESFQgaW5kZXggJWQAQm9ndXMgRFFUIGluZGV4ICVkAEVtcHR5IEpQRUcgaW1hZ2UgKEROTCBub3Qgc3VwcG9ydGVkKQBSZWFkIGZyb20gRU1TIGZhaWxlZABXcml0ZSB0byBFTVMgZmFpbGVkAERpZG4ndCBleHBlY3QgbW9yZSB0aGFuIG9uZSBzY2FuAElucHV0IGZpbGUgcmVhZCBlcnJvcgBPdXRwdXQgZmlsZSB3cml0ZSBlcnJvciAtLS0gb3V0IG9mIGRpc2sgc3BhY2U/AEZyYWN0aW9uYWwgc2FtcGxpbmcgbm90IGltcGxlbWVudGVkIHlldABIdWZmbWFuIGNvZGUgc2l6ZSB0YWJsZSBvdmVyZmxvdwBNaXNzaW5nIEh1ZmZtYW4gY29kZSB0YWJsZSBlbnRyeQBNYXhpbXVtIHN1cHBvcnRlZCBpbWFnZSBkaW1lbnNpb24gaXMgJXUgcGl4ZWxzAEVtcHR5IGlucHV0IGZpbGUAUHJlbWF0dXJlIGVuZCBvZiBpbnB1dCBmaWxlAENhbm5vdCB0cmFuc2NvZGUgZHVlIHRvIG11bHRpcGxlIHVzZSBvZiBxdWFudGl6YXRpb24gdGFibGUgJWQAU2NhbiBzY3JpcHQgZG9lcyBub3QgdHJhbnNtaXQgYWxsIGRhdGEASW52YWxpZCBjb2xvciBxdWFudGl6YXRpb24gbW9kZSBjaGFuZ2UATm90IGltcGxlbWVudGVkIHlldABSZXF1ZXN0ZWQgZmVhdHVyZSB3YXMgb21pdHRlZCBhdCBjb21waWxlIHRpbWUAQmFja2luZyBzdG9yZSBub3Qgc3VwcG9ydGVkAEh1ZmZtYW4gdGFibGUgMHglMDJ4IHdhcyBub3QgZGVmaW5lZABKUEVHIGRhdGFzdHJlYW0gY29udGFpbnMgbm8gaW1hZ2UAUXVhbnRpemF0aW9uIHRhYmxlIDB4JTAyeCB3YXMgbm90IGRlZmluZWQATm90IGEgSlBFRyBmaWxlOiBzdGFydHMgd2l0aCAweCUwMnggMHglMDJ4AEluc3VmZmljaWVudCBtZW1vcnkgKGNhc2UgJWQpAENhbm5vdCBxdWFudGl6ZSBtb3JlIHRoYW4gJWQgY29sb3IgY29tcG9uZW50cwBDYW5ub3QgcXVhbnRpemUgdG8gZmV3ZXIgdGhhbiAlZCBjb2xvcnMAQ2Fubm90IHF1YW50aXplIHRvIG1vcmUgdGhhbiAlZCBjb2xvcnMASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiB0d28gU09GIG1hcmtlcnMASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiBtaXNzaW5nIFNPUyBtYXJrZXIAVW5zdXBwb3J0ZWQgSlBFRyBwcm9jZXNzOiBTT0YgdHlwZSAweCUwMngASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiB0d28gU09JIG1hcmtlcnMASW52YWxpZCBKUEVHIGZpbGUgc3RydWN0dXJlOiBTT1MgYmVmb3JlIFNPRgBGYWlsZWQgdG8gY3JlYXRlIHRlbXBvcmFyeSBmaWxlICVzAFJlYWQgZmFpbGVkIG9uIHRlbXBvcmFyeSBmaWxlAFNlZWsgZmFpbGVkIG9uIHRlbXBvcmFyeSBmaWxlAFdyaXRlIGZhaWxlZCBvbiB0ZW1wb3JhcnkgZmlsZSAtLS0gb3V0IG9mIGRpc2sgc3BhY2U/AEFwcGxpY2F0aW9uIHRyYW5zZmVycmVkIHRvbyBmZXcgc2NhbmxpbmVzAFVuc3VwcG9ydGVkIG1hcmtlciB0eXBlIDB4JTAyeABWaXJ0dWFsIGFycmF5IGNvbnRyb2xsZXIgbWVzc2VkIHVwAEltYWdlIHRvbyB3aWRlIGZvciB0aGlzIGltcGxlbWVudGF0aW9uAFJlYWQgZnJvbSBYTVMgZmFpbGVkAFdyaXRlIHRvIFhNUyBmYWlsZWQAQ29weXJpZ2h0IChDKSAxOTk4LCBUaG9tYXMgRy4gTGFuZQA2YiAgMjctTWFyLTE5OTgAQ2F1dGlvbjogcXVhbnRpemF0aW9uIHRhYmxlcyBhcmUgdG9vIGNvYXJzZSBmb3IgYmFzZWxpbmUgSlBFRwBBZG9iZSBBUFAxNCBtYXJrZXI6IHZlcnNpb24gJWQsIGZsYWdzIDB4JTA0eCAweCUwNHgsIHRyYW5zZm9ybSAlZABVbmtub3duIEFQUDAgbWFya2VyIChub3QgSkZJRiksIGxlbmd0aCAldQBVbmtub3duIEFQUDE0IG1hcmtlciAobm90IEFkb2JlKSwgbGVuZ3RoICV1AERlZmluZSBBcml0aG1ldGljIFRhYmxlIDB4JTAyeDogMHglMDJ4AERlZmluZSBIdWZmbWFuIFRhYmxlIDB4JTAyeABEZWZpbmUgUXVhbnRpemF0aW9uIFRhYmxlICVkICBwcmVjaXNpb24gJWQARGVmaW5lIFJlc3RhcnQgSW50ZXJ2YWwgJXUARnJlZWQgRU1TIGhhbmRsZSAldQBPYnRhaW5lZCBFTVMgaGFuZGxlICV1AEVuZCBPZiBJbWFnZQAgICAgICAgICUzZCAlM2QgJTNkICUzZCAlM2QgJTNkICUzZCAlM2QASkZJRiBBUFAwIG1hcmtlcjogdmVyc2lvbiAlZC4lMDJkLCBkZW5zaXR5ICVkeCVkICAlZABXYXJuaW5nOiB0aHVtYm5haWwgaW1hZ2Ugc2l6ZSBkb2VzIG5vdCBtYXRjaCBkYXRhIGxlbmd0aCAldQBKRklGIGV4dGVuc2lvbiBtYXJrZXI6IHR5cGUgMHglMDJ4LCBsZW5ndGggJXUAICAgIHdpdGggJWQgeCAlZCB0aHVtYm5haWwgaW1hZ2UATWlzY2VsbGFuZW91cyBtYXJrZXIgMHglMDJ4LCBsZW5ndGggJXUAVW5leHBlY3RlZCBtYXJrZXIgMHglMDJ4ACAgICAgICAgJTR1ICU0dSAlNHUgJTR1ICU0dSAlNHUgJTR1ICU0dQBRdWFudGl6aW5nIHRvICVkID0gJWQqJWQqJWQgY29sb3JzAFF1YW50aXppbmcgdG8gJWQgY29sb3JzAFNlbGVjdGVkICVkIGNvbG9ycyBmb3IgcXVhbnRpemF0aW9uAEF0IG1hcmtlciAweCUwMngsIHJlY292ZXJ5IGFjdGlvbiAlZABSU1QlZABTbW9vdGhpbmcgbm90IHN1cHBvcnRlZCB3aXRoIG5vbnN0YW5kYXJkIHNhbXBsaW5nIHJhdGlvcwBTdGFydCBPZiBGcmFtZSAweCUwMng6IHdpZHRoPSV1LCBoZWlnaHQ9JXUsIGNvbXBvbmVudHM9JWQAICAgIENvbXBvbmVudCAlZDogJWRoeCVkdiBxPSVkAFN0YXJ0IG9mIEltYWdlAFN0YXJ0IE9mIFNjYW46ICVkIGNvbXBvbmVudHMAICAgIENvbXBvbmVudCAlZDogZGM9JWQgYWM9JWQAICBTcz0lZCwgU2U9JWQsIEFoPSVkLCBBbD0lZABDbG9zZWQgdGVtcG9yYXJ5IGZpbGUgJXMAT3BlbmVkIHRlbXBvcmFyeSBmaWxlICVzAEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogSlBFRy1jb21wcmVzc2VkIHRodW1ibmFpbCBpbWFnZSwgbGVuZ3RoICV1AEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogcGFsZXR0ZSB0aHVtYm5haWwgaW1hZ2UsIGxlbmd0aCAldQBKRklGIGV4dGVuc2lvbiBtYXJrZXI6IFJHQiB0aHVtYm5haWwgaW1hZ2UsIGxlbmd0aCAldQBVbnJlY29nbml6ZWQgY29tcG9uZW50IElEcyAlZCAlZCAlZCwgYXNzdW1pbmcgWUNiQ3IARnJlZWQgWE1TIGhhbmRsZSAldQBPYnRhaW5lZCBYTVMgaGFuZGxlICV1AFVua25vd24gQWRvYmUgY29sb3IgdHJhbnNmb3JtIGNvZGUgJWQASW5jb25zaXN0ZW50IHByb2dyZXNzaW9uIHNlcXVlbmNlIGZvciBjb21wb25lbnQgJWQgY29lZmZpY2llbnQgJWQAQ29ycnVwdCBKUEVHIGRhdGE6ICV1IGV4dHJhbmVvdXMgYnl0ZXMgYmVmb3JlIG1hcmtlciAweCUwMngAQ29ycnVwdCBKUEVHIGRhdGE6IHByZW1hdHVyZSBlbmQgb2YgZGF0YSBzZWdtZW50AENvcnJ1cHQgSlBFRyBkYXRhOiBiYWQgSHVmZm1hbiBjb2RlAFdhcm5pbmc6IHVua25vd24gSkZJRiByZXZpc2lvbiBudW1iZXIgJWQuJTAyZABQcmVtYXR1cmUgZW5kIG9mIEpQRUcgZmlsZQBDb3JydXB0IEpQRUcgZGF0YTogZm91bmQgbWFya2VyIDB4JTAyeCBpbnN0ZWFkIG9mIFJTVCVkAEludmFsaWQgU09TIHBhcmFtZXRlcnMgZm9yIHNlcXVlbnRpYWwgSlBFRwBBcHBsaWNhdGlvbiB0cmFuc2ZlcnJlZCB0b28gbWFueSBzY2FubGluZXMASlBFR01FTQAlbGQlYwAlcwoAc2V0dXAAdGVhcmRvd24Ac2V0dXBBUjIAX2FkZE1hcmtlcgBfYWRkTXVsdGlNYXJrZXIAX2FkZE5GVE1hcmtlcgBnZXRNdWx0aU1hcmtlck51bQBnZXRNdWx0aU1hcmtlckNvdW50AF9sb2FkQ2FtZXJhAHNldE1hcmtlckluZm9EaXIAc2V0TWFya2VySW5mb1ZlcnRleABnZXRUcmFuc01hdFNxdWFyZQBnZXRUcmFuc01hdFNxdWFyZUNvbnQAZ2V0VHJhbnNNYXRNdWx0aVNxdWFyZQBnZXRUcmFuc01hdE11bHRpU3F1YXJlUm9idXN0AGRldGVjdE1hcmtlcgBnZXRNYXJrZXJOdW0AZGV0ZWN0TkZUTWFya2VyAGdldE11bHRpRWFjaE1hcmtlcgBnZXRNYXJrZXIAZ2V0TkZUTWFya2VyAHNldERlYnVnTW9kZQBnZXREZWJ1Z01vZGUAZ2V0UHJvY2Vzc2luZ0ltYWdlAHNldExvZ0xldmVsAGdldExvZ0xldmVsAHNldFByb2plY3Rpb25OZWFyUGxhbmUAZ2V0UHJvamVjdGlvbk5lYXJQbGFuZQBzZXRQcm9qZWN0aW9uRmFyUGxhbmUAZ2V0UHJvamVjdGlvbkZhclBsYW5lAHNldFRocmVzaG9sZE1vZGUAZ2V0VGhyZXNob2xkTW9kZQBzZXRUaHJlc2hvbGQAZ2V0VGhyZXNob2xkAHNldFBhdHRlcm5EZXRlY3Rpb25Nb2RlAGdldFBhdHRlcm5EZXRlY3Rpb25Nb2RlAHNldFBhdHRSYXRpbwBnZXRQYXR0UmF0aW8Ac2V0TWF0cml4Q29kZVR5cGUAZ2V0TWF0cml4Q29kZVR5cGUAc2V0TGFiZWxpbmdNb2RlAGdldExhYmVsaW5nTW9kZQBzZXRJbWFnZVByb2NNb2RlAGdldEltYWdlUHJvY01vZGUARVJST1JfQVJDT05UUk9MTEVSX05PVF9GT1VORABFUlJPUl9NVUxUSU1BUktFUl9OT1RfRk9VTkQARVJST1JfTUFSS0VSX0lOREVYX09VVF9PRl9CT1VORFMAQVJfREVCVUdfRElTQUJMRQBBUl9ERUJVR19FTkFCTEUAQVJfREVGQVVMVF9ERUJVR19NT0RFAEFSX0xBQkVMSU5HX1dISVRFX1JFR0lPTgBBUl9MQUJFTElOR19CTEFDS19SRUdJT04AQVJfREVGQVVMVF9MQUJFTElOR19NT0RFAEFSX0RFRkFVTFRfTEFCRUxJTkdfVEhSRVNIAEFSX0lNQUdFX1BST0NfRlJBTUVfSU1BR0UAQVJfSU1BR0VfUFJPQ19GSUVMRF9JTUFHRQBBUl9ERUZBVUxUX0lNQUdFX1BST0NfTU9ERQBBUl9URU1QTEFURV9NQVRDSElOR19DT0xPUgBBUl9URU1QTEFURV9NQVRDSElOR19NT05PAEFSX01BVFJJWF9DT0RFX0RFVEVDVElPTgBBUl9URU1QTEFURV9NQVRDSElOR19DT0xPUl9BTkRfTUFUUklYAEFSX1RFTVBMQVRFX01BVENISU5HX01PTk9fQU5EX01BVFJJWABBUl9ERUZBVUxUX1BBVFRFUk5fREVURUNUSU9OX01PREUAQVJfVVNFX1RSQUNLSU5HX0hJU1RPUlkAQVJfTk9VU0VfVFJBQ0tJTkdfSElTVE9SWQBBUl9VU0VfVFJBQ0tJTkdfSElTVE9SWV9WMgBBUl9ERUZBVUxUX01BUktFUl9FWFRSQUNUSU9OX01PREUAQVJfTUFYX0xPT1BfQ09VTlQAQVJfTE9PUF9CUkVBS19USFJFU0gAQVJfTE9HX0xFVkVMX0RFQlVHAEFSX0xPR19MRVZFTF9JTkZPAEFSX0xPR19MRVZFTF9XQVJOAEFSX0xPR19MRVZFTF9FUlJPUgBBUl9MT0dfTEVWRUxfUkVMX0lORk8AQVJfTUFUUklYX0NPREVfM3gzAEFSX01BVFJJWF9DT0RFXzN4M19IQU1NSU5HNjMAQVJfTUFUUklYX0NPREVfM3gzX1BBUklUWTY1AEFSX01BVFJJWF9DT0RFXzR4NABBUl9NQVRSSVhfQ09ERV80eDRfQkNIXzEzXzlfMwBBUl9NQVRSSVhfQ09ERV80eDRfQkNIXzEzXzVfNQBBUl9MQUJFTElOR19USFJFU0hfTU9ERV9NQU5VQUwAQVJfTEFCRUxJTkdfVEhSRVNIX01PREVfQVVUT19NRURJQU4AQVJfTEFCRUxJTkdfVEhSRVNIX01PREVfQVVUT19PVFNVAEFSX0xBQkVMSU5HX1RIUkVTSF9NT0RFX0FVVE9fQURBUFRJVkUAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX05PTkUAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX1BBVFRFUk5fRVhUUkFDVElPTgBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTUFUQ0hfR0VORVJJQwBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTUFUQ0hfQ09OVFJBU1QAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX01BVENIX0JBUkNPREVfTk9UX0ZPVU5EAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9CQVJDT0RFX0VEQ19GQUlMAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9DT05GSURFTkNFAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9QT1NFX0VSUk9SAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9QT1NFX0VSUk9SX01VTFRJAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9IRVVSSVNUSUNfVFJPVUJMRVNPTUVfTUFUUklYX0NPREVTAGFsbG9jYXRvcjxUPjo6YWxsb2NhdGUoc2l6ZV90IG4pICduJyBleGNlZWRzIG1heGltdW0gc3VwcG9ydGVkIHNpemUASW1hZ2UgcHJvYy4gbW9kZSBzZXQgdG8gJWQuCgBMYWJlbGluZyBtb2RlIHNldCB0byAlZAoAdmlpZgBQYXR0ZXJuIHJhdGlvIHNpemUgc2V0IHRvICVmLgoAUGF0dGVybiBkZXRlY3Rpb24gbW9kZSBzZXQgdG8gJWQuCgBUaHJlc2hvbGQgc2V0IHRvICVkCgB2aWlpAFRocmVzaG9sZCBtb2RlIHNldCB0byAlZAoAZGlpAHZpaWQAaWkAdmlpAG9uLgBvZmYuAERlYnVnIG1vZGUgc2V0IHRvICVzCgB7IHZhciAkYSA9IGFyZ3VtZW50czsgdmFyIGkgPSAwOyBpZiAoIWFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdKSB7IGFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdID0gKHsgaWQ6IDAsIGVycm9yOiAtMSwgZm91bmQ6IDAsIHBvc2U6IFswLDAsMCwwLCAwLDAsMCwwLCAwLDAsMCwwXSB9KTsgfSB2YXIgbWFya2VySW5mbyA9IGFydG9vbGtpdFsiTkZUTWFya2VySW5mbyJdOyBtYXJrZXJJbmZvWyJpZCJdID0gJGFbaSsrXTsgbWFya2VySW5mb1siZXJyb3IiXSA9ICRhW2krK107IG1hcmtlckluZm9bImZvdW5kIl0gPSAxOyBtYXJrZXJJbmZvWyJwb3NlIl1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bM10gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bNF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bNV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bNl0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bN10gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bOF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bOV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJwb3NlIl1bMTBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sicG9zZSJdWzExXSA9ICRhW2krK107IH0AeyB2YXIgJGEgPSBhcmd1bWVudHM7IHZhciBpID0gMDsgaWYgKCFhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXSkgeyBhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXSA9ICh7IGlkOiAwLCBlcnJvcjogLTEsIGZvdW5kOiAwLCBwb3NlOiBbMCwwLDAsMCwgMCwwLDAsMCwgMCwwLDAsMF0gfSk7IH0gdmFyIG1hcmtlckluZm8gPSBhcnRvb2xraXRbIk5GVE1hcmtlckluZm8iXTsgbWFya2VySW5mb1siaWQiXSA9ICRhW2krK107IG1hcmtlckluZm9bImVycm9yIl0gPSAtMTsgbWFya2VySW5mb1siZm91bmQiXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVswXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsxXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsyXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVszXSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs0XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs1XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs2XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs3XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs4XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVs5XSA9IDA7IG1hcmtlckluZm9bInBvc2UiXVsxMF0gPSAwOyBtYXJrZXJJbmZvWyJwb3NlIl1bMTFdID0gMDsgfQB7IHZhciAkYSA9IGFyZ3VtZW50czsgdmFyIGkgPSAxMjsgaWYgKCFhcnRvb2xraXRbIm1hcmtlckluZm8iXSkgeyBhcnRvb2xraXRbIm1hcmtlckluZm8iXSA9ICh7IHBvczogWzAsMF0sIGxpbmU6IFtbMCwwLDBdLCBbMCwwLDBdLCBbMCwwLDBdLCBbMCwwLDBdXSwgdmVydGV4OiBbWzAsMF0sIFswLDBdLCBbMCwwXSwgWzAsMF1dIH0pOyB9IHZhciBtYXJrZXJJbmZvID0gYXJ0b29sa2l0WyJtYXJrZXJJbmZvIl07IG1hcmtlckluZm9bImFyZWEiXSA9ICQwOyBtYXJrZXJJbmZvWyJpZCJdID0gJDE7IG1hcmtlckluZm9bImlkUGF0dCJdID0gJDI7IG1hcmtlckluZm9bImlkTWF0cml4Il0gPSAkMzsgbWFya2VySW5mb1siZGlyIl0gPSAkNDsgbWFya2VySW5mb1siZGlyUGF0dCJdID0gJDU7IG1hcmtlckluZm9bImRpck1hdHJpeCJdID0gJDY7IG1hcmtlckluZm9bImNmIl0gPSAkNzsgbWFya2VySW5mb1siY2ZQYXR0Il0gPSAkODsgbWFya2VySW5mb1siY2ZNYXRyaXgiXSA9ICQ5OyBtYXJrZXJJbmZvWyJwb3MiXVswXSA9ICQxMDsgbWFya2VySW5mb1sicG9zIl1bMV0gPSAkMTE7IG1hcmtlckluZm9bImxpbmUiXVswXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVswXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVswXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsxXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsxXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsxXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsyXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsyXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVsyXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVszXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVszXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bImxpbmUiXVszXVsyXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzBdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bMF1bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVsxXVswXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzFdWzFdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bMl1bMF0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJ2ZXJ0ZXgiXVsyXVsxXSA9ICRhW2krK107IG1hcmtlckluZm9bInZlcnRleCJdWzNdWzBdID0gJGFbaSsrXTsgbWFya2VySW5mb1sidmVydGV4Il1bM11bMV0gPSAkYVtpKytdOyBtYXJrZXJJbmZvWyJlcnJvckNvcnJlY3RlZCJdID0gJGFbaSsrXTsgfQB7IGlmICghYXJ0b29sa2l0WyJtdWx0aUVhY2hNYXJrZXJJbmZvIl0pIHsgYXJ0b29sa2l0WyJtdWx0aUVhY2hNYXJrZXJJbmZvIl0gPSAoe30pOyB9IHZhciBtdWx0aUVhY2hNYXJrZXIgPSBhcnRvb2xraXRbIm11bHRpRWFjaE1hcmtlckluZm8iXTsgbXVsdGlFYWNoTWFya2VyWyd2aXNpYmxlJ10gPSAkMDsgbXVsdGlFYWNoTWFya2VyWydwYXR0SWQnXSA9ICQxOyBtdWx0aUVhY2hNYXJrZXJbJ3BhdHRUeXBlJ10gPSAkMjsgbXVsdGlFYWNoTWFya2VyWyd3aWR0aCddID0gJDM7IH0AaWlpAE5TdDNfXzIxMmJhc2ljX3N0cmluZ0ljTlNfMTFjaGFyX3RyYWl0c0ljRUVOU185YWxsb2NhdG9ySWNFRUVFAE5TdDNfXzIyMV9fYmFzaWNfc3RyaW5nX2NvbW1vbklMYjFFRUUAbG9hZENhbWVyYSgpOiBFcnJvciBsb2FkaW5nIHBhcmFtZXRlciBmaWxlICVzIGZvciBjYW1lcmEuCgBpaWlpAEFSVG9vbEtpdEpTKCk6IFVuYWJsZSB0byBzZXQgdXAgTkZUIG1hcmtlci4KAFJlYWRpbmcgJXMuZnNldDMKAGZzZXQzAEVycm9yIHJlYWRpbmcgS1BNIGRhdGEgZnJvbSAlcy5mc2V0MwoAICBBc3NpZ25lZCBwYWdlIG5vLiAlZC4KAEVycm9yOiBrcG1DaGFuZ2VQYWdlTm9PZlJlZkRhdGFTZXQKAEVycm9yOiBrcG1NZXJnZVJlZkRhdGFTZXQKACAgRG9uZS4KAFJlYWRpbmcgJXMuZnNldAoAZnNldABFcnJvciByZWFkaW5nIGRhdGEgZnJvbSAlcy5mc2V0CgBFcnJvcjoga3BtU2V0UmVmRGF0YVNldAoATG9hZGluZyBvZiBORlQgZGF0YSBjb21wbGV0ZS4KAEFSVG9vbEtpdEpTKCk6IFVuYWJsZSB0byBzZXQgdXAgQVIgbXVsdGltYXJrZXIuCgBjb25maWcgZGF0YSBsb2FkIGVycm9yICEhCgBBUlRvb2xLaXRKUygpOiBVbmFibGUgdG8gc2V0IHVwIEFSIG1hcmtlci4KAGxvYWRNYXJrZXIoKTogRXJyb3IgbG9hZGluZyBwYXR0ZXJuIGZpbGUgJXMuCgBpaWlpaQBzZXR1cCgpOiBFcnJvcjogYXJQYXR0Q3JlYXRlSGFuZGxlLgoAQWxsb2NhdGVkIHZpZGVvRnJhbWVTaXplICVkCgB7IGlmICghYXJ0b29sa2l0WyJmcmFtZU1hbGxvYyJdKSB7IGFydG9vbGtpdFsiZnJhbWVNYWxsb2MiXSA9ICh7fSk7IH0gdmFyIGZyYW1lTWFsbG9jID0gYXJ0b29sa2l0WyJmcmFtZU1hbGxvYyJdOyBmcmFtZU1hbGxvY1siZnJhbWVwb2ludGVyIl0gPSAkMTsgZnJhbWVNYWxsb2NbImZyYW1lc2l6ZSJdID0gJDI7IGZyYW1lTWFsbG9jWyJjYW1lcmEiXSA9ICQzOyBmcmFtZU1hbGxvY1sidHJhbnNmb3JtIl0gPSAkNDsgZnJhbWVNYWxsb2NbInZpZGVvTHVtYVBvaW50ZXIiXSA9ICQ1OyB9ACoqKiBDYW1lcmEgUGFyYW1ldGVyIHJlc2l6ZWQgZnJvbSAlZCwgJWQuICoqKgoAc2V0Q2FtZXJhKCk6IEVycm9yOiBhclBhcmFtTFRDcmVhdGUuCgBzZXRDYW1lcmEoKTogRXJyb3I6IGFyQ3JlYXRlSGFuZGxlLgoAc2V0Q2FtZXJhKCk6IEVycm9yIGNyZWF0aW5nIDNEIGhhbmRsZQB2b2lkAGJvb2wAc3RkOjpzdHJpbmcAc3RkOjpiYXNpY19zdHJpbmc8dW5zaWduZWQgY2hhcj4Ac3RkOjp3c3RyaW5nAGVtc2NyaXB0ZW46OnZhbABlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxzaWduZWQgY2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgY2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8c2hvcnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIHNob3J0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIGludD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50OF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50OF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MTZfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dWludDMyX3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGxvbmcgZG91YmxlPgBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0llRUUAZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8ZG91YmxlPgBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lkRUUAZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8ZmxvYXQ+AE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWZFRQBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBsb25nPgBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0ltRUUAZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8bG9uZz4ATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJbEVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWpFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lpRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJdEVFAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SXNFRQBOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0loRUUATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJYUVFAGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGNoYXI+AE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWNFRQBOMTBlbXNjcmlwdGVuM3ZhbEUATlN0M19fMjEyYmFzaWNfc3RyaW5nSXdOU18xMWNoYXJfdHJhaXRzSXdFRU5TXzlhbGxvY2F0b3JJd0VFRUUATlN0M19fMjEyYmFzaWNfc3RyaW5nSWhOU18xMWNoYXJfdHJhaXRzSWhFRU5TXzlhbGxvY2F0b3JJaEVFRUUAZG91YmxlAGZsb2F0AHVuc2lnbmVkIGxvbmcAbG9uZwB1bnNpZ25lZCBpbnQAaW50AHVuc2lnbmVkIHNob3J0AHNob3J0AHVuc2lnbmVkIGNoYXIAc2lnbmVkIGNoYXIAY2hhcgAAAQIEBwMGBQAtKyAgIDBYMHgAKG51bGwpAC0wWCswWCAwWC0weCsweCAweABpbmYASU5GAE5BTgAuAGluZmluaXR5AG5hbgByd2EATENfQUxMAExBTkcAQy5VVEYtOABQT1NJWABNVVNMX0xPQ1BBVEgAdysATlN0M19fMjhpb3NfYmFzZUUATlN0M19fMjliYXNpY19pb3NJY05TXzExY2hhcl90cmFpdHNJY0VFRUUATlN0M19fMjliYXNpY19pb3NJd05TXzExY2hhcl90cmFpdHNJd0VFRUUATlN0M19fMjE1YmFzaWNfc3RyZWFtYnVmSWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFAE5TdDNfXzIxNWJhc2ljX3N0cmVhbWJ1Zkl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRQBOU3QzX18yMTNiYXNpY19pc3RyZWFtSWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFAE5TdDNfXzIxM2Jhc2ljX2lzdHJlYW1Jd05TXzExY2hhcl90cmFpdHNJd0VFRUUATlN0M19fMjEzYmFzaWNfb3N0cmVhbUljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRQBOU3QzX18yMTNiYXNpY19vc3RyZWFtSXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFAE5TdDNfXzIxMV9fc3Rkb3V0YnVmSXdFRQBOU3QzX18yMTFfX3N0ZG91dGJ1ZkljRUUAdW5zdXBwb3J0ZWQgbG9jYWxlIGZvciBzdGFuZGFyZCBpbnB1dABOU3QzX18yMTBfX3N0ZGluYnVmSXdFRQBOU3QzX18yMTBfX3N0ZGluYnVmSWNFRQBOU3QzX18yN2NvbGxhdGVJY0VFAE5TdDNfXzI2bG9jYWxlNWZhY2V0RQBOU3QzX18yN2NvbGxhdGVJd0VFACVwAEMATlN0M19fMjdudW1fZ2V0SWNOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yOV9fbnVtX2dldEljRUUATlN0M19fMjE0X19udW1fZ2V0X2Jhc2VFAE5TdDNfXzI3bnVtX2dldEl3TlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFRUUATlN0M19fMjlfX251bV9nZXRJd0VFACVwAAAAAEwAbGwAJQAAAAAAbABOU3QzX18yN251bV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzI5X19udW1fcHV0SWNFRQBOU3QzX18yMTRfX251bV9wdXRfYmFzZUUATlN0M19fMjdudW1fcHV0SXdOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yOV9fbnVtX3B1dEl3RUUAJUg6JU06JVMAJW0vJWQvJXkAJUk6JU06JVMgJXAAJWEgJWIgJWQgJUg6JU06JVMgJVkAQU0AUE0ASmFudWFyeQBGZWJydWFyeQBNYXJjaABBcHJpbABNYXkASnVuZQBKdWx5AEF1Z3VzdABTZXB0ZW1iZXIAT2N0b2JlcgBOb3ZlbWJlcgBEZWNlbWJlcgBKYW4ARmViAE1hcgBBcHIASnVuAEp1bABBdWcAU2VwAE9jdABOb3YARGVjAFN1bmRheQBNb25kYXkAVHVlc2RheQBXZWRuZXNkYXkAVGh1cnNkYXkARnJpZGF5AFNhdHVyZGF5AFN1bgBNb24AVHVlAFdlZABUaHUARnJpAFNhdAAlbS8lZC8leSVZLSVtLSVkJUk6JU06JVMgJXAlSDolTSVIOiVNOiVTJUg6JU06JVNOU3QzX18yOHRpbWVfZ2V0SWNOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yMjBfX3RpbWVfZ2V0X2Nfc3RvcmFnZUljRUUATlN0M19fMjl0aW1lX2Jhc2VFAE5TdDNfXzI4dGltZV9nZXRJd05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAE5TdDNfXzIyMF9fdGltZV9nZXRfY19zdG9yYWdlSXdFRQBOU3QzX18yOHRpbWVfcHV0SWNOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yMTBfX3RpbWVfcHV0RQBOU3QzX18yOHRpbWVfcHV0SXdOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yMTBtb25leXB1bmN0SWNMYjBFRUUATlN0M19fMjEwbW9uZXlfYmFzZUUATlN0M19fMjEwbW9uZXlwdW5jdEljTGIxRUVFAE5TdDNfXzIxMG1vbmV5cHVuY3RJd0xiMEVFRQBOU3QzX18yMTBtb25leXB1bmN0SXdMYjFFRUUAMDEyMzQ1Njc4OQAlTGYATlN0M19fMjltb25leV9nZXRJY05TXzE5aXN0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfZ2V0SWNFRQAwMTIzNDU2Nzg5AE5TdDNfXzI5bW9uZXlfZ2V0SXdOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yMTFfX21vbmV5X2dldEl3RUUAJS4wTGYATlN0M19fMjltb25leV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfcHV0SWNFRQBOU3QzX18yOW1vbmV5X3B1dEl3TlNfMTlvc3RyZWFtYnVmX2l0ZXJhdG9ySXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFRUUATlN0M19fMjExX19tb25leV9wdXRJd0VFAE5TdDNfXzI4bWVzc2FnZXNJY0VFAE5TdDNfXzIxM21lc3NhZ2VzX2Jhc2VFAE5TdDNfXzIxN19fd2lkZW5fZnJvbV91dGY4SUxtMzJFRUUATlN0M19fMjdjb2RlY3Z0SURpYzExX19tYnN0YXRlX3RFRQBOU3QzX18yMTJjb2RlY3Z0X2Jhc2VFAE5TdDNfXzIxNl9fbmFycm93X3RvX3V0ZjhJTG0zMkVFRQBOU3QzX18yOG1lc3NhZ2VzSXdFRQBOU3QzX18yN2NvZGVjdnRJY2MxMV9fbWJzdGF0ZV90RUUATlN0M19fMjdjb2RlY3Z0SXdjMTFfX21ic3RhdGVfdEVFAE5TdDNfXzI3Y29kZWN2dElEc2MxMV9fbWJzdGF0ZV90RUUATlN0M19fMjZsb2NhbGU1X19pbXBFAE5TdDNfXzI1Y3R5cGVJY0VFAE5TdDNfXzIxMGN0eXBlX2Jhc2VFAE5TdDNfXzI1Y3R5cGVJd0VFAGZhbHNlAHRydWUATlN0M19fMjhudW1wdW5jdEljRUUATlN0M19fMjhudW1wdW5jdEl3RUUATlN0M19fMjE0X19zaGFyZWRfY291bnRFAE5TdDNfXzIxOV9fc2hhcmVkX3dlYWtfY291bnRFAHRlcm1pbmF0aW5nIHdpdGggJXMgZXhjZXB0aW9uIG9mIHR5cGUgJXM6ICVzAHRlcm1pbmF0aW5nIHdpdGggJXMgZXhjZXB0aW9uIG9mIHR5cGUgJXMAdGVybWluYXRpbmcgd2l0aCAlcyBmb3JlaWduIGV4Y2VwdGlvbgB0ZXJtaW5hdGluZwB1bmNhdWdodABTdDlleGNlcHRpb24ATjEwX19jeHhhYml2MTE2X19zaGltX3R5cGVfaW5mb0UAU3Q5dHlwZV9pbmZvAE4xMF9fY3h4YWJpdjEyMF9fc2lfY2xhc3NfdHlwZV9pbmZvRQBOMTBfX2N4eGFiaXYxMTdfX2NsYXNzX3R5cGVfaW5mb0UAcHRocmVhZF9vbmNlIGZhaWx1cmUgaW4gX19jeGFfZ2V0X2dsb2JhbHNfZmFzdCgpAGNhbm5vdCBjcmVhdGUgcHRocmVhZCBrZXkgZm9yIF9fY3hhX2dldF9nbG9iYWxzKCkAY2Fubm90IHplcm8gb3V0IHRocmVhZCB2YWx1ZSBmb3IgX19jeGFfZ2V0X2dsb2JhbHMoKQB0ZXJtaW5hdGVfaGFuZGxlciB1bmV4cGVjdGVkbHkgcmV0dXJuZWQAU3QxMWxvZ2ljX2Vycm9yAFN0MTJsZW5ndGhfZXJyb3IATjEwX19jeHhhYml2MTE5X19wb2ludGVyX3R5cGVfaW5mb0UATjEwX19jeHhhYml2MTE3X19wYmFzZV90eXBlX2luZm9FAE4xMF9fY3h4YWJpdjEyM19fZnVuZGFtZW50YWxfdHlwZV9pbmZvRQB2AGIAYwBoAGEAcwB0AGkAagBtAGYAZABOMTBfX2N4eGFiaXYxMjFfX3ZtaV9jbGFzc190eXBlX2luZm9F";var tempDoublePtr=56784;var ENV={};function ___buildEnvironment(environ){var MAX_ENV_VALUES=64;var TOTAL_ENV_SIZE=1024;var poolPtr;var envPtr;if(!___buildEnvironment.called){___buildEnvironment.called=true;ENV["USER"]=ENV["LOGNAME"]="web_user";ENV["PATH"]="/";ENV["PWD"]="/";ENV["HOME"]="/home/web_user";ENV["LANG"]="C.UTF-8";ENV["_"]=Module["thisProgram"];poolPtr=getMemory(TOTAL_ENV_SIZE);envPtr=getMemory(MAX_ENV_VALUES*4);HEAP32[envPtr>>2]=poolPtr;HEAP32[environ>>2]=envPtr}else{envPtr=HEAP32[environ>>2];poolPtr=HEAP32[envPtr>>2]}var strings=[];var totalSize=0;for(var key in ENV){if(typeof ENV[key]==="string"){var line=key+"="+ENV[key];strings.push(line);totalSize+=line.length}}if(totalSize>TOTAL_ENV_SIZE){throw new Error("Environment size exceeded TOTAL_ENV_SIZE!")}var ptrSize=4;for(var i=0;i>2]=poolPtr;poolPtr+=line.length+1}HEAP32[envPtr+strings.length*ptrSize>>2]=0}function _emscripten_get_now(){abort()}function _emscripten_get_now_is_monotonic(){return 0||ENVIRONMENT_IS_NODE||typeof dateNow!=="undefined"||typeof performance==="object"&&performance&&typeof performance["now"]==="function"}function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if(clk_id===1&&_emscripten_get_now_is_monotonic()){now=_emscripten_get_now()}else{___setErrNo(22);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}function ___cxa_allocate_exception(size){return _malloc(size)}function ___cxa_free_exception(ptr){try{return _free(ptr)}catch(e){}}var EXCEPTIONS={last:0,caught:[],infos:{},deAdjust:function(adjusted){if(!adjusted||EXCEPTIONS.infos[adjusted])return adjusted;for(var key in EXCEPTIONS.infos){var ptr=+key;var adj=EXCEPTIONS.infos[ptr].adjusted;var len=adj.length;for(var i=0;i0);info.refcount--;if(info.refcount===0&&!info.rethrown){if(info.destructor){Module["dynCall_vi"](info.destructor,ptr)}delete EXCEPTIONS.infos[ptr];___cxa_free_exception(ptr)}},clearRef:function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount=0}};function ___cxa_begin_catch(ptr){var info=EXCEPTIONS.infos[ptr];if(info&&!info.caught){info.caught=true;__ZSt18uncaught_exceptionv.uncaught_exception--}if(info)info.rethrown=false;EXCEPTIONS.caught.push(ptr);EXCEPTIONS.addRef(EXCEPTIONS.deAdjust(ptr));return ptr}function ___resumeException(ptr){if(!EXCEPTIONS.last){EXCEPTIONS.last=ptr}throw ptr}function ___cxa_find_matching_catch(){var thrown=EXCEPTIONS.last;if(!thrown){return(setTempRet0(0),0)|0}var info=EXCEPTIONS.infos[thrown];var throwntype=info.type;if(!throwntype){return(setTempRet0(0),thrown)|0}var typeArray=Array.prototype.slice.call(arguments);var pointer=Module["___cxa_is_pointer_type"](throwntype);if(!___cxa_find_matching_catch.buffer)___cxa_find_matching_catch.buffer=_malloc(4);HEAP32[___cxa_find_matching_catch.buffer>>2]=thrown;thrown=___cxa_find_matching_catch.buffer;for(var i=0;i>2];info.adjusted.push(thrown);return(setTempRet0(typeArray[i]),thrown)|0}}thrown=HEAP32[thrown>>2];return(setTempRet0(throwntype),thrown)|0}function ___cxa_throw(ptr,type,destructor){EXCEPTIONS.infos[ptr]={ptr:ptr,adjusted:[ptr],type:type,destructor:destructor,refcount:0,caught:false,rethrown:false};EXCEPTIONS.last=ptr;if(!("uncaught_exception"in __ZSt18uncaught_exceptionv)){__ZSt18uncaught_exceptionv.uncaught_exception=1}else{__ZSt18uncaught_exceptionv.uncaught_exception++}throw ptr}function ___cxa_uncaught_exception(){return!!__ZSt18uncaught_exceptionv.uncaught_exception}function ___gxx_personality_v0(){}function ___lock(){}function ___map_file(pathname,size){___setErrNo(1);return-1}var PATH={splitPath:function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:function(path){if(path==="/")return"/";var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},extname:function(path){return PATH.splitPath(path)[3]},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:function(l,r){return PATH.normalize(l+"/"+r)},resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH.resolve(from).substr(1);to=PATH.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(1)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node},getFileDataAsRegularArray:function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(new ArrayBuffer(newSize));if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+lengthe2.timestamp){create.push(key);total++}});var remove=[];Object.keys(dst.entries).forEach(function(key){var e=dst.entries[key];var e2=src.entries[key];if(!e2){remove.push(key);total++}});if(!total){return callback(null)}var errored=false;var completed=0;var db=src.type==="remote"?src.db:dst.db;var transaction=db.transaction([IDBFS.DB_STORE_NAME],"readwrite");var store=transaction.objectStore(IDBFS.DB_STORE_NAME);function done(err){if(err){if(!done.errored){done.errored=true;return callback(err)}return}if(++completed>=total){return callback(null)}}transaction.onerror=function(e){done(this.error);e.preventDefault()};create.sort().forEach(function(path){if(dst.type==="local"){IDBFS.loadRemoteEntry(store,path,function(err,entry){if(err)return done(err);IDBFS.storeLocalEntry(path,entry,done)})}else{IDBFS.loadLocalEntry(path,function(err,entry){if(err)return done(err);IDBFS.storeRemoteEntry(store,path,entry,done)})}});remove.sort().reverse().forEach(function(path){if(dst.type==="local"){IDBFS.removeLocalEntry(path,done)}else{IDBFS.removeRemoteEntry(store,path,done)}})}};var NODEFS={isWindows:false,staticInit:function(){NODEFS.isWindows=!!process.platform.match(/^win/);var flags=process["binding"]("constants");if(flags["fs"]){flags=flags["fs"]}NODEFS.flagsForNodeMap={1024:flags["O_APPEND"],64:flags["O_CREAT"],128:flags["O_EXCL"],0:flags["O_RDONLY"],2:flags["O_RDWR"],4096:flags["O_SYNC"],512:flags["O_TRUNC"],1:flags["O_WRONLY"]}},bufferFrom:function(arrayBuffer){return Buffer.alloc?Buffer.from(arrayBuffer):new Buffer(arrayBuffer)},mount:function(mount){assert(ENVIRONMENT_IS_NODE);return NODEFS.createNode(null,"/",NODEFS.getMode(mount.opts.root),0)},createNode:function(parent,name,mode,dev){if(!FS.isDir(mode)&&!FS.isFile(mode)&&!FS.isLink(mode)){throw new FS.ErrnoError(22)}var node=FS.createNode(parent,name,mode);node.node_ops=NODEFS.node_ops;node.stream_ops=NODEFS.stream_ops;return node},getMode:function(path){var stat;try{stat=fs.lstatSync(path);if(NODEFS.isWindows){stat.mode=stat.mode|(stat.mode&292)>>2}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}return stat.mode},realPath:function(node){var parts=[];while(node.parent!==node){parts.push(node.name);node=node.parent}parts.push(node.mount.opts.root);parts.reverse();return PATH.join.apply(null,parts)},flagsForNode:function(flags){flags&=~2097152;flags&=~2048;flags&=~32768;flags&=~524288;var newFlags=0;for(var k in NODEFS.flagsForNodeMap){if(flags&k){newFlags|=NODEFS.flagsForNodeMap[k];flags^=k}}if(!flags){return newFlags}else{throw new FS.ErrnoError(22)}},node_ops:{getattr:function(node){var path=NODEFS.realPath(node);var stat;try{stat=fs.lstatSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}if(NODEFS.isWindows&&!stat.blksize){stat.blksize=4096}if(NODEFS.isWindows&&!stat.blocks){stat.blocks=(stat.size+stat.blksize-1)/stat.blksize|0}return{dev:stat.dev,ino:stat.ino,mode:stat.mode,nlink:stat.nlink,uid:stat.uid,gid:stat.gid,rdev:stat.rdev,size:stat.size,atime:stat.atime,mtime:stat.mtime,ctime:stat.ctime,blksize:stat.blksize,blocks:stat.blocks}},setattr:function(node,attr){var path=NODEFS.realPath(node);try{if(attr.mode!==undefined){fs.chmodSync(path,attr.mode);node.mode=attr.mode}if(attr.timestamp!==undefined){var date=new Date(attr.timestamp);fs.utimesSync(path,date,date)}if(attr.size!==undefined){fs.truncateSync(path,attr.size)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},lookup:function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);var mode=NODEFS.getMode(path);return NODEFS.createNode(parent,name,mode)},mknod:function(parent,name,mode,dev){var node=NODEFS.createNode(parent,name,mode,dev);var path=NODEFS.realPath(node);try{if(FS.isDir(node.mode)){fs.mkdirSync(path,node.mode)}else{fs.writeFileSync(path,"",{mode:node.mode})}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}return node},rename:function(oldNode,newDir,newName){var oldPath=NODEFS.realPath(oldNode);var newPath=PATH.join2(NODEFS.realPath(newDir),newName);try{fs.renameSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},unlink:function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.unlinkSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},rmdir:function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.rmdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},readdir:function(node){var path=NODEFS.realPath(node);try{return fs.readdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},symlink:function(parent,newName,oldPath){var newPath=PATH.join2(NODEFS.realPath(parent),newName);try{fs.symlinkSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},readlink:function(node){var path=NODEFS.realPath(node);try{path=fs.readlinkSync(path);path=NODEJS_PATH.relative(NODEJS_PATH.resolve(node.mount.opts.root),path);return path}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}}},stream_ops:{open:function(stream){var path=NODEFS.realPath(stream.node);try{if(FS.isFile(stream.node.mode)){stream.nfd=fs.openSync(path,NODEFS.flagsForNode(stream.flags))}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},close:function(stream){try{if(FS.isFile(stream.node.mode)&&stream.nfd){fs.closeSync(stream.nfd)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},read:function(stream,buffer,offset,length,position){if(length===0)return 0;try{return fs.readSync(stream.nfd,NODEFS.bufferFrom(buffer.buffer),offset,length,position)}catch(e){throw new FS.ErrnoError(-e.errno)}},write:function(stream,buffer,offset,length,position){try{return fs.writeSync(stream.nfd,NODEFS.bufferFrom(buffer.buffer),offset,length,position)}catch(e){throw new FS.ErrnoError(-e.errno)}},llseek:function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){try{var stat=fs.fstatSync(stream.nfd);position+=stat.size}catch(e){throw new FS.ErrnoError(-e.errno)}}}if(position<0){throw new FS.ErrnoError(22)}return position}}};var WORKERFS={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount:function(mount){assert(ENVIRONMENT_IS_WORKER);if(!WORKERFS.reader)WORKERFS.reader=new FileReaderSync;var root=WORKERFS.createNode(null,"/",WORKERFS.DIR_MODE,0);var createdParents={};function ensureParent(path){var parts=path.split("/");var parent=root;for(var i=0;i=stream.node.size)return 0;var chunk=stream.node.contents.slice(position,position+length);var ab=WORKERFS.reader.readAsArrayBuffer(chunk);buffer.set(new Uint8Array(ab),offset);return chunk.size},write:function(stream,buffer,offset,length,position){throw new FS.ErrnoError(5)},llseek:function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.size}}if(position<0){throw new FS.ErrnoError(22)}return position}}};var FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:function(e){if(!(e instanceof FS.ErrnoError))throw e+" : "+stackTrace();return ___setErrNo(e.errno)},lookupPath:function(path,opts){path=PATH.resolve(FS.cwd(),path);opts=opts||{};if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};for(var key in defaults){if(opts[key]===undefined){opts[key]=defaults[key]}}if(opts.recurse_count>8){throw new FS.ErrnoError(40)}var parts=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(40)}}}}return{path:current_path,node:current}},getPath:function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:function(parent,name){var err=FS.mayLookup(parent);if(err){throw new FS.ErrnoError(err,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:function(parent,name,mode,rdev){if(!FS.FSNode){FS.FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};FS.FSNode.prototype={};var readMode=292|73;var writeMode=146;Object.defineProperties(FS.FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}})}var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:function(node){FS.hashRemoveNode(node)},isRoot:function(node){return node===node.parent},isMountpoint:function(node){return!!node.mounted},isFile:function(mode){return(mode&61440)===32768},isDir:function(mode){return(mode&61440)===16384},isLink:function(mode){return(mode&61440)===40960},isChrdev:function(mode){return(mode&61440)===8192},isBlkdev:function(mode){return(mode&61440)===24576},isFIFO:function(mode){return(mode&61440)===4096},isSocket:function(mode){return(mode&49152)===49152},flagModes:{"r":0,"rs":1052672,"r+":2,"w":577,"wx":705,"xw":705,"w+":578,"wx+":706,"xw+":706,"a":1089,"ax":1217,"xa":1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return 13}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 13}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 13}return 0},mayLookup:function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return 13;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 17}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var err=FS.nodePermissions(dir,"wx");if(err){return err}if(isdir){if(!FS.isDir(node.mode)){return 20}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 16}}else{if(FS.isDir(node.mode)){return 21}}return 0},mayOpen:function(node,flags){if(!node){return 2}if(FS.isLink(node.mode)){return 40}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 21}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(24)},getStream:function(fd){return FS.streams[fd]},createStream:function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=function(){};FS.FSStream.prototype={};Object.defineProperties(FS.FSStream.prototype,{object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}})}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:function(fd){FS.streams[fd]=null},chrdev_stream_ops:{open:function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:function(){throw new FS.ErrnoError(29)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(err){FS.syncFSRequests--;return callback(err)}function done(err){if(err){if(!done.errored){done.errored=true;return doCallback(err)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(16)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(16)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(20)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(22)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(22)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(1)}return parent.node_ops.mknod(parent,name,mode,dev)},create:function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:function(path,mode){var dirs=path.split("/");var d="";for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;console.log("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(5)}return fn.apply(null,arguments)}});stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(5)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags){var buffer=new Uint8Array(HEAPU8.subarray(addr,addr+len));FS.msync(stream,buffer,0,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-ERRNO_CODES.EINVAL}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-ERRNO_CODES.EINVAL;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len},doAccess:function(path,amode){if(amode&~7){return-ERRNO_CODES.EINVAL}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-ERRNO_CODES.EACCES}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:0,get:function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(){var ret=UTF8ToString(SYSCALLS.get());return ret},getStreamFromFD:function(){var stream=FS.getStream(SYSCALLS.get());if(!stream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return stream},getSocketFromFD:function(){var socket=SOCKFS.getSocket(SYSCALLS.get());if(!socket)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return socket},getSocketAddress:function(allowNull){var addrp=SYSCALLS.get(),addrlen=SYSCALLS.get();if(allowNull&&addrp===0)return null;var info=__read_sockaddr(addrp,addrlen);if(info.errno)throw new FS.ErrnoError(info.errno);info.addr=DNS.lookup_addr(info.addr)||info.addr;return info},get64:function(){var low=SYSCALLS.get(),high=SYSCALLS.get();return low},getZero:function(){SYSCALLS.get()}};function ___syscall10(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr();FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall140(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),offset_high=SYSCALLS.get(),offset_low=SYSCALLS.get(),result=SYSCALLS.get(),whence=SYSCALLS.get();if(!(offset_high==-1&&offset_low<0)&&!(offset_high==0&&offset_low>=0)){return-ERRNO_CODES.EOVERFLOW}var offset=offset_low;FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[result>>2]=tempI64[0],HEAP32[result+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall145(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();return SYSCALLS.doReadv(stream,iov,iovcnt)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall146(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();return SYSCALLS.doWritev(stream,iov,iovcnt)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall221(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),cmd=SYSCALLS.get();switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-ERRNO_CODES.EINVAL}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-ERRNO_CODES.EINVAL;case 9:___setErrNo(ERRNO_CODES.EINVAL);return-1;default:{return-ERRNO_CODES.EINVAL}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall5(which,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(),flags=SYSCALLS.get(),mode=SYSCALLS.get();var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),op=SYSCALLS.get();switch(op){case 21509:case 21505:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0}case 21519:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return-ERRNO_CODES.EINVAL}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0}case 21524:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall6(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall91(which,varargs){SYSCALLS.varargs=varargs;try{var addr=SYSCALLS.get(),len=SYSCALLS.get();var info=SYSCALLS.mappings[addr];if(!info)return 0;if(len===info.len){var stream=FS.getStream(info.fd);SYSCALLS.doMsync(addr,stream,len,info.flags);FS.munmap(stream);SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___unlock(){}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+size)}}function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}var awaitingDependencies={};var registeredTypes={};var typeDependencies={};var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return"_"+name}else{return name}}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return new Function("body","return function "+name+"() {\n"+' "use strict";'+" return body.apply(this, arguments);\n"+"};\n")(body)}function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return this.name+": "+this.message}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i>shift])},destructorFunction:null})}function __embind_register_constant(name,type,value){name=readLatin1String(name);whenDependentTypesAreResolved([],[type],function(type){type=type[0];Module[name]=type["fromWireType"](value);return[]})}var emval_free_list=[];var emval_handle_array=[{},{value:undefined},{value:null},{value:true},{value:false}];function __emval_decref(handle){if(handle>4&&0===--emval_handle_array[handle].refcount){emval_handle_array[handle]=undefined;emval_free_list.push(handle)}}function count_emval_handles(){var count=0;for(var i=5;i>2])}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=emval_handle_array[handle].value;__emval_decref(handle);return rv},"toWireType":function(destructors,value){return __emval_register(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function _embind_repr(v){if(v===null){return"null"}var t=typeof v;if(t==="object"||t==="array"||t==="function"){return v.toString()}else{return""+v}}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function new_(constructor,argumentList){if(!(constructor instanceof Function)){throw new TypeError("new_ called with constructor type "+typeof constructor+" which is not a function")}var dummy=createNamedFunction(constructor.name||"unknownFunctionName",function(){});dummy.prototype=constructor.prototype;var obj=new dummy;var r=constructor.apply(obj,argumentList);return r instanceof Object?r:obj}function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i0?", ":"")+argsListWired}invokerFnBody+=(returns?"var rv = ":"")+"invoker(fn"+(argsListWired.length>0?", ":"")+argsListWired+");\n";if(needsDestructorStack){invokerFnBody+="runDestructors(destructors);\n"}else{for(var i=isClassMethodFunc?1:2;i>2)+i])}return array}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(dynCall){var args=[];for(var i=1;i>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=function(value){return value};if(minRange===0){var bitshift=32-8*size;fromWireType=function(value){return value<>>bitshift}}var isUnsignedType=name.indexOf("unsigned")!=-1;registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}if(valuemaxRange){throw new TypeError('Passing a number "'+_embind_repr(value)+'" from JS side to C/C++ side to an argument of type "'+name+'", which is outside the valid range ['+minRange+", "+maxRange+"]!")}return isUnsignedType?value>>>0:value|0},"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(heap["buffer"],data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var str;if(stdStringIsUTF8){var endChar=HEAPU8[value+4+length];var endCharSwap=0;if(endChar!=0){endCharSwap=endChar;HEAPU8[value+4+length]=0}var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i;if(HEAPU8[currentBytePtr]==0){var stringSegment=UTF8ToString(decodeStartPtr);if(str===undefined)str=stringSegment;else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}if(endCharSwap!=0)HEAPU8[value+4+length]=endCharSwap}else{var a=new Array(length);for(var i=0;i>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr+4,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+4+i]=charCode}}else{for(var i=0;i>2];var a=new Array(length);var start=value+4>>shift;for(var i=0;i>2]=length;var start=ptr+4>>shift;for(var i=0;i>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _llvm_exp2_f32(x){return Math.pow(2,x)}function _llvm_stackrestore(p){var self=_llvm_stacksave;var ret=self.LLVM_SAVEDSTACKS[p];self.LLVM_SAVEDSTACKS.splice(p,1);stackRestore(ret)}function _llvm_stacksave(){var self=_llvm_stacksave;if(!self.LLVM_SAVEDSTACKS){self.LLVM_SAVEDSTACKS=[]}self.LLVM_SAVEDSTACKS.push(stackSave());return self.LLVM_SAVEDSTACKS.length-1}var ___tm_current=56624;var ___tm_timezone=(stringToUTF8("GMT",56672,4),56672);function _tzset(){if(_tzset.called)return;_tzset.called=true;HEAP32[__get_timezone()>>2]=(new Date).getTimezoneOffset()*60;var winter=new Date(2e3,0,1);var summer=new Date(2e3,6,1);HEAP32[__get_daylight()>>2]=Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset());function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocate(intArrayFromString(winterName),"i8",ALLOC_NORMAL);var summerNamePtr=allocate(intArrayFromString(summerName),"i8",ALLOC_NORMAL);if(summer.getTimezoneOffset()>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(2e3,6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[__get_tzname()+(dst?4:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function _localtime(time){return _localtime_r(time,___tm_current)}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest)}function _pthread_cond_wait(){return 0}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]);return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){var day=new Date(date.tm_year+1900,date.tm_mon+1,date.tm_mday,0,0,0,0);return day.getDay()||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}if(ENVIRONMENT_IS_NODE){_emscripten_get_now=function _emscripten_get_now_actual(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now=dateNow}else if(typeof performance==="object"&&performance&&typeof performance["now"]==="function"){_emscripten_get_now=function(){return performance["now"]()}}else{_emscripten_get_now=Date.now}FS.staticInit();if(ENVIRONMENT_IS_NODE){var fs=require("fs");var NODEJS_PATH=require("path");NODEFS.staticInit()}embind_init_charCodes();BindingError=Module["BindingError"]=extendError(Error,"BindingError");InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_emval();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");var ASSERTIONS=false;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}function intArrayToString(array){var ret=[];for(var i=0;i255){if(ASSERTIONS){assert(false,"Character code "+chr+" ("+String.fromCharCode(chr)+") at offset "+i+" not in 0x00-0xFF.")}chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}var decodeBase64=typeof atob==="function"?atob:function(input){var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{enc1=keyStr.indexOf(input.charAt(i++));enc2=keyStr.indexOf(input.charAt(i++));enc3=keyStr.indexOf(input.charAt(i++));enc4=keyStr.indexOf(input.charAt(i++));chr1=enc1<<2|enc2>>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1);if(enc3!==64){output=output+String.fromCharCode(chr2)}if(enc4!==64){output=output+String.fromCharCode(chr3)}}while(i>2]=b;Ie(0,3,18137,e);a=Ez(c[(cy()|0)>>2]|0)|0;c[f>>2]=56574;c[f+4>>2]=a;Ie(0,3,19708,f);a=-1}else{a=pd(a,d)|0;jB(d)}yb=g;return a|0}function rd(a,b){a=a|0;b=b|0;b=(c[a+8>>2]|0)+(b<<2)|0;if(!(c[b>>2]|0))b=-1;else{c[b>>2]=0;c[a>>2]=(c[a>>2]|0)+-1;b=1}return b|0}function sd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,h=0,i=0;d=0;while(1){if((d|0)==3)break;f=a+(d<<5)|0;h=a+(d<<5)+8|0;i=a+(d<<5)+16|0;e=0;while(1){if((e|0)==4)break;g[c+(d<<5)+(e<<3)>>3]=+g[f>>3]*+g[b+(e<<3)>>3]+ +g[h>>3]*+g[b+32+(e<<3)>>3]+ +g[i>>3]*+g[b+64+(e<<3)>>3];e=e+1|0}i=c+(d<<5)+24|0;g[i>>3]=+g[a+(d<<5)+24>>3]+ +g[i>>3];d=d+1|0}return 0}function td(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0;h=zd(4,4)|0;d=0;while(1){if((d|0)==3)break;f=d<<2;e=0;while(1){if((e|0)==4)break;g[(c[h>>2]|0)+(e+f<<3)>>3]=+g[a+(d<<5)+(e<<3)>>3];e=e+1|0}d=d+1|0}d=c[h>>2]|0;f=d+96|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;g[d+120>>3]=1.0;Od(h)|0;d=0;while(1){if((d|0)==3)break;a=d<<2;e=0;while(1){if((e|0)==4)break;g[b+(d<<5)+(e<<3)>>3]=+g[(c[h>>2]|0)+(e+a<<3)>>3];e=e+1|0}d=d+1|0}Ed(h)|0;return 0}function ud(a,b){a=a|0;b=b|0;var d=0,e=0,h=0,i=0;i=zd(4,4)|0;d=0;while(1){if((d|0)==3)break;h=d<<2;e=0;while(1){if((e|0)==4)break;g[(c[i>>2]|0)+(e+h<<3)>>3]=+f[a+(d<<4)+(e<<2)>>2];e=e+1|0}d=d+1|0}d=c[i>>2]|0;h=d+96|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;g[d+120>>3]=1.0;Od(i)|0;d=0;while(1){if((d|0)==3)break;a=d<<2;e=0;while(1){if((e|0)==4)break;f[b+(d<<4)+(e<<2)>>2]=+g[(c[i>>2]|0)+(e+a<<3)>>3];e=e+1|0}d=d+1|0}Ed(i)|0;return 0}function vd(a){a=a|0;switch(a|0){case 1:case 0:{a=3;break}case 6:case 4:case 3:case 2:{a=4;break}case 14:case 13:case 12:case 5:{a=1;break}case 11:case 10:case 9:case 8:case 7:{a=2;break}default:a=0}return a|0}function wd(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;do if((b|0)!=0&(c|0)!=0&(d|0)!=0){f=Lz(c,47)|0;if(!f){a[b>>0]=0;break}e=f+((e|0)!=0&1)-c|0;if((e+1|0)>>>0<=d>>>0){sA(b,c,e)|0;a[b+e>>0]=0}else b=0}else b=0;while(0);return b|0}function xd(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=0;h=0;a:while(1){switch(a[b+h>>0]|0){case 0:break a;case 46:{e=h;break}default:{}}h=h+1|0}f=b+h|0;g=(Ey(d)|0)+2|0;if(!e)if((g+h|0)>(c|0))e=-1;else{a[f>>0]=46;e=h;i=9}else if((g+e|0)>(c|0))e=-1;else i=9;if((i|0)==9){a[b+(e+1)>>0]=0;Py(b,d)|0;e=0}return e|0}function yd(b){b=b|0;var c=0,d=0;c=-1;d=0;a:while(1){switch(a[b+d>>0]|0){case 0:break a;case 46:{c=d;break}default:{}}d=d+1|0}if((c|0)!=-1)a[b+c>>0]=0;return 0}function zd(a,b){a=a|0;b=b|0;var d=0,e=0;d=iB(12)|0;do if(d){e=iB(C(a<<3,b)|0)|0;c[d>>2]=e;if(!e){jB(d);d=0;break}else{c[d+4>>2]=a;c[d+8>>2]=b;break}}else d=0;while(0);return d|0}function Ad(a){a=a|0;var b=0;b=zd(c[a+4>>2]|0,c[a+8>>2]|0)|0;if(b){if((Dd(b,a)|0)<0){Ed(b)|0;b=0}}else b=0;return b|0}function Bd(a,b){a=a|0;b=b|0;var d=0;d=zd(c[a+4>>2]|0,c[b+8>>2]|0)|0;if(d){if((Fd(d,a,b)|0)<0){Ed(d)|0;d=0}}else d=0;return d|0}function Cd(a){a=a|0;var b=0;b=zd(c[a+8>>2]|0,c[a+4>>2]|0)|0;if(b){if((Qd(b,a)|0)<0){Ed(b)|0;b=0}}else b=0;return b|0}function Dd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0;h=c[a+4>>2]|0;a:do if((h|0)==(c[b+4>>2]|0)?(i=c[a+8>>2]|0,(i|0)==(c[b+8>>2]|0)):0){e=0;while(1){if((e|0)>=(h|0)){d=0;break a}f=C(e,i)|0;d=0;while(1){if((d|0)>=(i|0))break;j=d+f|0;g[(c[a>>2]|0)+(j<<3)>>3]=+g[(c[b>>2]|0)+(j<<3)>>3];d=d+1|0}e=e+1|0}}else d=-1;while(0);return d|0}function Ed(a){a=a|0;if(a|0){jB(c[a>>2]|0);jB(a)}return 0}function Fd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0;n=c[b+8>>2]|0;a:do if(((n|0)==(c[d+4>>2]|0)?(o=c[a+4>>2]|0,(o|0)==(c[b+4>>2]|0)):0)?(m=c[a+8>>2]|0,(m|0)==(c[d+8>>2]|0)):0){a=c[a>>2]|0;k=0;while(1){if((k|0)>=(o|0)){a=0;break a}l=C(k,n)|0;j=0;while(1){if((j|0)>=(m|0))break;g[a>>3]=0.0;e=(c[d>>2]|0)+(j<<3)|0;f=(c[b>>2]|0)+(l<<3)|0;h=0;i=0.0;while(1){if((h|0)>=(n|0))break;p=i+ +g[f>>3]*+g[e>>3];g[a>>3]=p;e=e+(m<<3)|0;f=f+8|0;h=h+1|0;i=p}j=j+1|0;a=a+8|0}k=k+1|0}}else a=-1;while(0);return a|0}function Gd(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0,i=0,j=0,k=0,l=0;i=c[a+4>>2]|0;j=c[a+8>>2]|0;f=(i|0)<(j|0)?i:j;a:do if(((((!((i|0)<2|(j|0)<2)?(c[b+8>>2]|0)==(j|0):0)?(c[b+4>>2]|0)==(f|0):0)?(k=d+4|0,(c[k>>2]|0)==(f|0)):0)?(c[e+4>>2]|0)==(j|0):0)?(l=Ad(a)|0,(l|0)!=0):0){h=+v(+(+(i|0)));if((Hd(l,e)|0)<0){Ed(l)|0;a=-1;break}if((Id(l,e)|0)<0){Ed(l)|0;a=-1;break}f=C(j,i)|0;a=0;while(1){if((a|0)>=(f|0))break;j=(c[l>>2]|0)+(a<<3)|0;g[j>>3]=+g[j>>3]/h;a=a+1|0}a=Jd(l,b,d)|0;Ed(l)|0;e=c[k>>2]|0;h=0.0;f=0;while(1){if((f|0)>=(e|0))break;h=h+ +g[(c[d>>2]|0)+(f<<3)>>3];f=f+1|0}f=0;while(1){if((f|0)>=(e|0))break a;l=(c[d>>2]|0)+(f<<3)|0;g[l>>3]=+g[l>>3]/h;f=f+1|0}}else a=-1;while(0);return a|0}function Hd(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0,h=0,i=0,j=0,k=0;j=c[a+4>>2]|0;k=c[a+8>>2]|0;a:do if(!((j|0)<1|(k|0)<1)?(c[b+4>>2]|0)==(k|0):0){d=0;while(1){if((d|0)==(k|0))break;g[(c[b>>2]|0)+(d<<3)>>3]=0.0;d=d+1|0}a=c[a>>2]|0;h=0;while(1){if((h|0)==(j|0))break;d=0;f=c[b>>2]|0;i=a;while(1){if((d|0)==(k|0))break;g[f>>3]=+g[i>>3]+ +g[f>>3];d=d+1|0;f=f+8|0;i=i+8|0}a=a+(k<<3)|0;h=h+1|0}e=+(j|0);d=0;while(1){if((d|0)==(k|0)){d=0;break a}j=(c[b>>2]|0)+(d<<3)|0;g[j>>3]=+g[j>>3]/e;d=d+1|0}}else d=-1;while(0);return d|0}function Id(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0;h=c[a+4>>2]|0;i=c[a+8>>2]|0;a:do if((c[b+4>>2]|0)==(i|0)){f=0;a=c[a>>2]|0;while(1){if((f|0)>=(h|0)){a=0;break a}d=0;e=c[b>>2]|0;while(1){if((d|0)>=(i|0))break;g[a>>3]=+g[a>>3]-+g[e>>3];d=d+1|0;e=e+8|0;a=a+8|0}f=f+1|0}}else a=-1;while(0);return a|0}function Jd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0;e=c[a+4>>2]|0;f=c[a+8>>2]|0;i=(f|0)<(e|0)?f:e;a:do if(((!((e|0)<2|(f|0)<2)?(c[b+8>>2]|0)==(f|0):0)?(c[b+4>>2]|0)==(i|0):0)?(c[d+4>>2]|0)==(i|0):0){h=zd(i,i)|0;if((c[h+4>>2]|0)==(i|0)?(c[h+8>>2]|0)==(i|0):0){e=(e|0)<(f|0);if(e){if((Kd(a,h)|0)<0){Ed(h)|0;e=-1;break}}else if((Ld(a,h)|0)<0){Ed(h)|0;e=-1;break}if((Md(h,d)|0)<0){Ed(h)|0;e=-1;break}b:do if(e){if((Nd(a,h,b,d)|0)<0){Ed(h)|0;e=-1;break a}}else{a=0;f=c[h>>2]|0;e=c[b>>2]|0;while(1){if((a|0)>=(i|0))break;if(+g[(c[d>>2]|0)+(a<<3)>>3]<1.0e-16)break;b=0;while(1){if((b|0)>=(i|0))break;g[e>>3]=+g[f>>3];b=b+1|0;f=f+8|0;e=e+8|0}a=a+1|0}while(1){if((a|0)>=(i|0))break b;g[(c[d>>2]|0)+(a<<3)>>3]=0.0;f=0;while(1){if((f|0)>=(i|0))break;g[e>>3]=0.0;f=f+1|0;e=e+8|0}a=a+1|0}}while(0);Ed(h)|0;e=0;break}Ed(h)|0;e=-1}else e=-1;while(0);return e|0}function Kd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0.0,n=0,o=0,p=0.0;n=c[a+4>>2]|0;o=c[a+8>>2]|0;a:do if((c[b+4>>2]|0)==(n|0)?(c[b+8>>2]|0)==(n|0):0){k=c[b>>2]|0;e=0;h=k;while(1){if((e|0)>=(n|0)){b=0;break a}l=C(e,o)|0;d=0;j=h;while(1){if((d|0)==(n|0))break;b:do if(d>>>0>>0)g[j>>3]=+g[k+((C(d,n)|0)+e<<3)>>3];else{f=c[a>>2]|0;i=f+((C(d,o)|0)<<3)|0;g[j>>3]=0.0;b=0;f=f+(l<<3)|0;m=0.0;while(1){if((b|0)>=(o|0))break b;p=m+ +g[f>>3]*+g[i>>3];g[j>>3]=p;b=b+1|0;f=f+8|0;i=i+8|0;m=p}}while(0);d=d+1|0;j=j+8|0}e=e+1|0;h=h+(n<<3)|0}}else b=-1;while(0);return b|0}function Ld(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0.0,m=0,n=0,o=0.0;m=c[a+4>>2]|0;n=c[a+8>>2]|0;a:do if((c[b+4>>2]|0)==(n|0)?(c[b+8>>2]|0)==(n|0):0){k=c[b>>2]|0;e=0;h=k;while(1){if((e|0)>=(n|0)){b=0;break a}d=0;j=h;while(1){if((d|0)==(n|0))break;b:do if(d>>>0>>0)g[j>>3]=+g[k+((C(d,n)|0)+e<<3)>>3];else{i=c[a>>2]|0;g[j>>3]=0.0;b=0;f=i+(e<<3)|0;i=i+(d<<3)|0;l=0.0;while(1){if((b|0)>=(m|0))break b;o=l+ +g[f>>3]*+g[i>>3];g[j>>3]=o;b=b+1|0;f=f+(n<<3)|0;i=i+(n<<3)|0;l=o}}while(0);d=d+1|0;j=j+8|0}e=e+1|0;h=h+(n<<3)|0}}else b=-1;while(0);return b|0}function Md(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0.0,i=0,j=0.0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0.0,H=0.0,I=0.0,J=0,K=0;F=yb;yb=yb+16|0;d=F;E=c[a+4>>2]|0;do if((!((E|0)<2?1:(E|0)!=(c[a+8>>2]|0))?(c[b+4>>2]|0)==(E|0):0)?(B=ee(E)|0,(B|0)!=0):0){D=E+-1|0;c[d+4>>2]=D;c[d>>2]=(c[B>>2]|0)+8;if((ie(a,b,d)|0)<0){fe(B)|0;d=-1;break}A=c[B>>2]|0;g[A>>3]=0.0;y=D;while(1){if((y|0)<=0)break;z=y;while(1){if((z|0)<=0)break;n=+u(+(+g[A+(z<<3)>>3]));x=c[b>>2]|0;d=z+-1|0;o=+u(+(+g[x+(d<<3)>>3]));if(n>(o+ +u(+(+g[x+(z<<3)>>3])))*1.0e-06)z=d;else break}q=y+-1|0;a:do if((z|0)!=(y|0)){r=A+(y<<3)|0;s=A+(z+1<<3)|0;p=0;do{if(p>>>0>99)break a;p=p+1|0;t=c[b>>2]|0;w=t+(q<<3)|0;x=t+(y<<3)|0;h=+g[x>>3];o=(+g[w>>3]-h)*.5;m=+g[r>>3];m=m*m;j=+v(+(m+o*o));l=z;n=+g[s>>3];j=+g[t+(z<<3)>>3]-h+m/(o+(o<0.0?-j:j));while(1){if((l|0)>=(y|0))break;h=+u(+j);if(h>=+u(+n))if(h>1.0e-16){h=-n/j;o=1.0/+v(+(h*h+1.0));m=o;o=h*o}else{m=1.0;o=0.0}else{m=-j/n;o=1.0/+v(+(m*m+1.0));m=m*o}f=t+(l<<3)|0;I=+g[f>>3];k=l+1|0;d=t+(k<<3)|0;H=+g[d>>3];h=I-H;i=A+(k<<3)|0;G=o*(o*h+m*2.0*+g[i>>3]);g[f>>3]=I-G;g[d>>3]=H+G;d=A+(l<<3)|0;if((l|0)>(z|0))g[d>>3]=m*+g[d>>3]-n*o;I=+g[i>>3];g[i>>3]=I+o*(m*h-o*2.0*I);e=C(l,E)|0;f=C(k,E)|0;d=0;h=n;while(1){if((d|0)==(E|0))break;J=c[a>>2]|0;K=J+(d+e<<3)|0;j=+g[K>>3];J=J+(d+f<<3)|0;h=+g[J>>3];g[K>>3]=m*j-o*h;g[J>>3]=o*j+m*h;d=d+1|0}if((l|0)<(q|0)){j=+g[i>>3];K=A+(l+2<<3)|0;h=+g[K>>3];g[K>>3]=m*h;h=-(o*h)}l=k;n=h}H=+u(+(+g[r>>3]));I=+u(+(+g[w>>3]))}while(H>(I+ +u(+(+g[x>>3])))*1.0e-06)}while(0);y=q}d=0;while(1){if((d|0)==(D|0))break;f=c[b>>2]|0;i=f+(d<<3)|0;j=+g[i>>3];l=d+1|0;h=j;k=d;e=l;while(1){if((e|0)>=(E|0))break;I=+g[f+(e<<3)>>3];K=I>h;h=K?I:h;k=K?e:k;e=e+1|0}g[f+(k<<3)>>3]=j;g[i>>3]=h;e=c[a>>2]|0;f=e+((C(d,E)|0)<<3)|0;d=e+((C(k,E)|0)<<3)|0;e=0;while(1){if((e|0)==(E|0))break;I=+g[d>>3];g[d>>3]=+g[f>>3];g[f>>3]=I;f=f+8|0;d=d+8|0;e=e+1|0}d=l}fe(B)|0;d=0}else d=-1;while(0);yb=F;return d|0}function Nd(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0,i=0.0,j=0,k=0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0.0;p=c[a+4>>2]|0;q=c[a+8>>2]|0;a:do if(((((!((p|0)<1|(q|0)<1)?(c[b+4>>2]|0)==(p|0):0)?(c[b+8>>2]|0)==(p|0):0)?(c[d+4>>2]|0)==(p|0):0)?(c[d+8>>2]|0)==(q|0):0)?(c[e+4>>2]|0)==(p|0):0){h=0;d=c[d>>2]|0;while(1){if((h|0)>=(p|0))break;i=+g[(c[e>>2]|0)+(h<<3)>>3];if(i<1.0e-16)break;n=1.0/+v(+(+u(+i)));o=C(h,p)|0;j=0;m=d;while(1){if((j|0)==(q|0))break;f=0;k=(c[b>>2]|0)+(o<<3)|0;i=0.0;l=(c[a>>2]|0)+(j<<3)|0;while(1){if((f|0)==(p|0))break;r=i+ +g[k>>3]*+g[l>>3];f=f+1|0;k=k+8|0;i=r;l=l+(q<<3)|0}g[m>>3]=n*i;j=j+1|0;m=m+8|0}h=h+1|0;d=d+(q<<3)|0}while(1){if((h|0)>=(p|0)){d=0;break a}g[(c[e>>2]|0)+(h<<3)>>3]=0.0;f=0;while(1){if((f|0)>=(q|0))break;g[d>>3]=0.0;f=f+1|0;d=d+8|0}h=h+1|0}}else d=-1;while(0);return d|0}function Od(a){a=a|0;var b=0;b=c[a+4>>2]|0;return ((Pd(c[a>>2]|0,b,b)|0)==0)<<31>>31|0}function Pd(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.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0;q=yb;yb=yb+2e3|0;p=q;a:do if((b|0)>500)a=0;else{switch(b|0){case 0:{a=0;break a}case 1:{g[a>>3]=1.0/+g[a>>3];break a}default:{}}e=0;while(1){if((e|0)>=(b|0))break;c[p+(e<<2)>>2]=e;e=e+1|0}o=a+(b+-1<<3)|0;l=0;n=o;while(1){if((l|0)>=(b|0))break;m=a+((C(l,d)|0)<<3)|0;k=0.0;e=m;i=-1;f=l;while(1){if((f|0)==(b|0))break;r=+u(+(+g[e>>3]));j=k>2]|0;f=p+(l<<2)|0;c[e>>2]=c[f>>2];c[f>>2]=h;f=0;h=m;e=a+((C(i,d)|0)<<3)|0;while(1){if((f|0)==(b|0))break;r=+g[e>>3];g[e>>3]=+g[h>>3];g[h>>3]=r;f=f+1|0;h=h+8|0;e=e+8|0}k=+g[m>>3];e=1;f=m;while(1){if((e|0)==(b|0))break;j=f+8|0;g[f>>3]=+g[j>>3]/k;e=e+1|0;f=j}g[n>>3]=1.0/k;e=0;j=o;while(1){if((e|0)==(b|0))break;if((e|0)!=(l|0)){i=a+((C(e,d)|0)<<3)|0;k=+g[i>>3];f=m;h=1;while(1){if((h|0)==(b|0))break;s=i+8|0;g[i>>3]=+g[s>>3]-k*+g[f>>3];f=f+8|0;h=h+1|0;i=s}g[j>>3]=-(k*+g[n>>3])}e=e+1|0;j=j+(d<<3)|0}l=l+1|0;n=n+(d<<3)|0}j=0;while(1){if((j|0)>=(b|0))break a;i=j;while(1){e=p+(i<<2)|0;if((i|0)>=(b|0))break;if((c[e>>2]|0)==(j|0))break;i=i+1|0}c[e>>2]=c[p+(j<<2)>>2];f=0;h=a+(j<<3)|0;e=a+(i<<3)|0;while(1){if((f|0)>=(b|0))break;r=+g[e>>3];g[e>>3]=+g[h>>3];g[h>>3]=r;f=f+1|0;h=h+(d<<3)|0;e=e+(d<<3)|0}j=j+1|0}}while(0);yb=q;return a|0}function Qd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0;h=c[a+4>>2]|0;a:do if((h|0)==(c[b+8>>2]|0)?(i=c[a+8>>2]|0,(i|0)==(c[b+4>>2]|0)):0){a=c[a>>2]|0;f=0;while(1){if((f|0)>=(h|0)){a=0;break a}d=(c[b>>2]|0)+(f<<3)|0;e=0;while(1){if((e|0)>=(i|0))break;g[a>>3]=+g[d>>3];d=d+(h<<3)|0;e=e+1|0;a=a+8|0}f=f+1|0}}else a=-1;while(0);return a|0}function Rd(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0.0,h=0.0,i=0;h=+(b|0)/+(c[a>>2]|0);f=+(d|0)/+(c[a+4>>2]|0);c[e>>2]=b;c[e+4>>2]=d;b=0;while(1){if((b|0)==4)break;g[e+8+(b<<3)>>3]=h*+g[a+8+(b<<3)>>3];g[e+40+(b<<3)>>3]=f*+g[a+40+(b<<3)>>3];g[e+72+(b<<3)>>3]=+g[a+72+(b<<3)>>3];b=b+1|0}b=c[a+176>>2]|0;switch(b|0){case 4:{g[e+104>>3]=+g[a+104>>3];g[e+112>>3]=+g[a+112>>3];g[e+120>>3]=+g[a+120>>3];g[e+128>>3]=+g[a+128>>3];g[e+136>>3]=h*+g[a+136>>3];g[e+144>>3]=f*+g[a+144>>3];g[e+152>>3]=h*+g[a+152>>3];g[e+160>>3]=f*+g[a+160>>3];g[e+168>>3]=+g[a+168>>3];i=9;break}case 3:{g[e+104>>3]=h*+g[a+104>>3];g[e+112>>3]=f*+g[a+112>>3];g[e+120>>3]=+g[a+120>>3];g[e+128>>3]=+g[a+128>>3];g[e+136>>3]=+g[a+136>>3]/(h*f);g[e+144>>3]=+g[a+144>>3]/(f*(h*h*f));i=9;break}case 2:{g[e+104>>3]=h*+g[a+104>>3];g[e+112>>3]=f*+g[a+112>>3];g[e+120>>3]=+g[a+120>>3];g[e+128>>3]=+g[a+128>>3]/(h*f);g[e+136>>3]=+g[a+136>>3]/(f*(h*h*f));i=9;break}case 1:{g[e+104>>3]=h*+g[a+104>>3];g[e+112>>3]=f*+g[a+112>>3];g[e+120>>3]=+g[a+120>>3];g[e+128>>3]=+g[a+128>>3]/(h*f);i=9;break}default:b=-1}if((i|0)==9){c[e+176>>2]=b;b=0}return b|0}function Sd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0.0,o=0.0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0.0;h=yb;yb=yb+96|0;f=h;a:do if(!(+g[a+88>>3]>=0.0)){d=0;while(1){if((d|0)==3)break a;e=0;while(1){if((e|0)==4)break;g[f+(d<<5)+(e<<3)>>3]=-+g[a+(d<<5)+(e<<3)>>3];e=e+1|0}d=d+1|0}}else{d=0;while(1){if((d|0)==3)break a;e=0;while(1){if((e|0)==4)break;g[f+(d<<5)+(e<<3)>>3]=+g[a+(d<<5)+(e<<3)>>3];e=e+1|0}d=d+1|0}}while(0);d=0;while(1){if((d|0)==3)break;e=0;while(1){if((e|0)==4)break;g[b+(d<<5)+(e<<3)>>3]=0.0;e=e+1|0}d=d+1|0}i=+g[f+64>>3];n=+g[f+72>>3];o=+g[f+80>>3];w=+Td(i,n,o);a=b+80|0;g[a>>3]=w;w=i/w;u=c+64|0;g[u>>3]=w;n=n/+g[a>>3];s=c+72|0;g[s>>3]=n;o=o/+g[a>>3];p=c+80|0;g[p>>3]=o;m=c+88|0;g[m>>3]=+g[f+88>>3]/+g[a>>3];i=+g[f+32>>3];j=+g[f+40>>3];r=+g[f+48>>3];o=+Ud(w,n,o,i,j,r);l=b+48|0;g[l>>3]=o;i=i-o*+g[u>>3];j=j-o*+g[s>>3];o=r-o*+g[p>>3];r=+Td(i,j,o);k=b+40|0;g[k>>3]=r;v=c+32|0;g[v>>3]=i/r;t=c+40|0;g[t>>3]=j/+g[k>>3];q=c+48|0;g[q>>3]=o/+g[k>>3];o=+g[f>>3];j=+g[f+8>>3];r=+g[f+16>>3];i=+Ud(+g[u>>3],+g[s>>3],+g[p>>3],o,j,r);d=b+16|0;g[d>>3]=i;n=+Ud(+g[v>>3],+g[t>>3],+g[q>>3],o,j,r);e=b+8|0;g[e>>3]=n;o=o-n*+g[v>>3]-i*+g[u>>3];j=j-n*+g[t>>3]-i*+g[s>>3];i=r-n*+g[q>>3]-i*+g[p>>3];n=+Td(o,j,i);g[b>>3]=n;g[c>>3]=o/n;g[c+8>>3]=j/+g[b>>3];g[c+16>>3]=i/+g[b>>3];i=+g[m>>3];j=(+g[f+56>>3]-+g[l>>3]*i)/+g[k>>3];g[c+56>>3]=j;g[c+24>>3]=(+g[f+24>>3]-j*+g[e>>3]-i*+g[d>>3])/+g[b>>3];d=0;while(1){if((d|0)==3)break;e=0;while(1){if((e|0)==3)break;v=b+(d<<5)+(e<<3)|0;g[v>>3]=+g[v>>3]/+g[a>>3];e=e+1|0}d=d+1|0}yb=h;return 0}function Td(a,b,c){a=+a;b=+b;c=+c;return +(+v(+(a*a+b*b+c*c)))}function Ud(a,b,c,d,e,f){a=+a;b=+b;c=+c;d=+d;e=+e;f=+f;return +(a*d+b*e+c*f)}function Vd(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=d|0;e=e|0;f=f|0;var h=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0;switch(f|0){case 4:{t=+g[a>>3];u=+g[a+8>>3];r=+g[a+16>>3];s=+g[a+24>>3];x=+g[a+32>>3];y=+g[a+40>>3];z=+g[a+48>>3];A=+g[a+56>>3];w=+g[a+64>>3];q=(b-z)/x;l=(c-A)/y;m=r*2.0;n=s*6.0;o=s*2.0;p=r*6.0;i=q;j=l;k=q*q;b=l*l;f=1;while(1){if(!(b!=0.0|k!=0.0)){c=0.0;b=0.0;break}D=b+k;C=t*D+1.0+D*(u*D);c=k*3.0;B=b*c;c=i-(s*(D+k*2.0)+(j*(m*i)+i*C)-q)/(n*i+(m*j+(t*(b+c)+1.0+u*(b*b+(k*(k*5.0)+B)))));i=o*c;b=j-(r*(b*2.0+D)+j*C+j*i-l)/(p*j+(t*(k+b*3.0)+1.0+u*(b*(b*5.0)+(k*k+B)))+i);if((f|0)==4)break;i=c;j=b;k=c*c;b=b*b;f=f+1|0}g[d>>3]=z+x*c/w;b=A+y*b/w;h=22;break}case 3:{p=+g[a>>3];b=(b-p)/+g[a+24>>3];h=a+8|0;c=c-+g[h>>3];k=+g[a+32>>3]/1.0e8;l=+g[a+40>>3]/1.0e8/1.0e5;i=b*b+c*c;m=+v(+i);n=k*3.0;o=l*5.0;f=1;j=m;while(1){if(!(j!=0.0)){c=0.0;b=0.0;break}D=j-(j*(1.0-k*i-i*(l*i))-m)/(1.0-n*i-i*(o*i));b=b*D/j;c=c*D/j;if((f|0)==3)break;j=b*b+c*c;i=j;f=f+1|0;j=+v(+j)}a=a+16|0;g[d>>3]=p+b/+g[a>>3];b=c/+g[a>>3]+ +g[h>>3];h=22;break}case 2:{p=+g[a>>3];b=b-p;h=a+8|0;c=c-+g[h>>3];k=+g[a+24>>3]/1.0e8;l=+g[a+32>>3]/1.0e8/1.0e5;i=b*b+c*c;m=+v(+i);n=k*3.0;o=l*5.0;f=1;j=m;while(1){if(!(j!=0.0)){c=0.0;b=0.0;break}D=j-(j*(1.0-k*i-i*(l*i))-m)/(1.0-n*i-i*(o*i));b=b*D/j;c=c*D/j;if((f|0)==3)break;i=b*b+c*c;f=f+1|0;j=+v(+i)}a=a+16|0;g[d>>3]=p+b/+g[a>>3];b=c/+g[a>>3]+ +g[h>>3];h=22;break}case 1:{n=+g[a>>3];b=b-n;h=a+8|0;c=c-+g[h>>3];k=+g[a+24>>3]/1.0e8;i=b*b+c*c;l=+v(+i);m=k*3.0;f=1;j=l;while(1){if(!(j!=0.0)){c=0.0;b=0.0;break}D=j-(j*(1.0-k*i)-l)/(1.0-m*i);b=b*D/j;c=c*D/j;if((f|0)==3)break;i=b*b+c*c;f=f+1|0;j=+v(+i)}a=a+16|0;g[d>>3]=n+b/+g[a>>3];b=c/+g[a>>3]+ +g[h>>3];h=22;break}default:f=-1}if((h|0)==22){g[e>>3]=b;f=0}return f|0}function Wd(a,b,c,d,e,f){a=a|0;b=+b;c=+c;d=d|0;e=e|0;f=f|0;var h=0.0,i=0.0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0.0;a:do switch(f|0){case 4:{h=+g[a+16>>3];l=+g[a+24>>3];o=+g[a+32>>3];m=+g[a+40>>3];p=+g[a+48>>3];n=+g[a+56>>3];i=+g[a+64>>3];k=(b-p)*i/o;c=(c-n)*i/m;i=k*k+c*c;b=+g[a>>3]*i+1.0+i*(+g[a+8>>3]*i);g[d>>3]=p+o*(l*(i+k*(k*2.0))+(c*(h*2.0*k)+k*b));b=n+m*(c*(l*2.0*k)+(h*(i+c*(c*2.0))+c*b));j=12;break}case 3:{i=+g[a>>3];p=+g[a+16>>3];h=(b-i)*p;f=a+8|0;b=p*(c-+g[f>>3]);if(h==0.0&b==0.0){g[d>>3]=i;b=+g[f>>3];j=12;break a}else{p=h*h+b*b;p=1.0-p*(+g[a+32>>3]/1.0e8)-p*(p*(+g[a+40>>3]/1.0e8/1.0e5));g[d>>3]=i+ +g[a+24>>3]*(h*p);b=+g[f>>3]+b*p;j=12;break a}}case 2:{i=+g[a>>3];p=+g[a+16>>3];h=(b-i)*p;f=a+8|0;b=p*(c-+g[f>>3]);if(h==0.0&b==0.0){g[d>>3]=i;b=+g[f>>3];j=12;break a}else{p=h*h+b*b;p=1.0-p*(+g[a+24>>3]/1.0e8)-p*(p*(+g[a+32>>3]/1.0e8/1.0e5));g[d>>3]=i+h*p;b=+g[f>>3]+b*p;j=12;break a}}case 1:{i=+g[a>>3];p=+g[a+16>>3];h=(b-i)*p;f=a+8|0;b=p*(c-+g[f>>3]);if(h==0.0&b==0.0){g[d>>3]=i;b=+g[f>>3];j=12;break a}else{p=1.0-(h*h+b*b)*(+g[a+24>>3]/1.0e8);g[d>>3]=i+h*p;b=+g[f>>3]+b*p;j=12;break a}}default:f=-1}while(0);if((j|0)==12){g[e>>3]=b;f=0}return f|0}function Xd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=yb;yb=yb+192|0;f=g;Yd(a,f);Yd(a+4|0,f+4|0);b=0;while(1){if((b|0)==3)break;d=0;while(1){if((d|0)==4)break;Zd(a+8+(b<<5)+(d<<3)|0,f+8+(b<<5)+(d<<3)|0);d=d+1|0}b=b+1|0}d=a+176|0;b=0;while(1){e=c[d>>2]|0;if((b|0)>=(c[1712+(e+-1<<3)>>2]|0))break;Zd(a+104+(b<<3)|0,f+104+(b<<3)|0);b=b+1|0}c[f+176>>2]=e;VN(a|0,f|0,184)|0;yb=g;return}function Yd(b,c){b=b|0;c=c|0;var d=0;d=0;while(1){if((d|0)==4)break;a[c+d>>0]=a[b+(3-d)>>0]|0;d=d+1|0}return}function Zd(b,c){b=b|0;c=c|0;var d=0;d=0;while(1){if((d|0)==8)break;a[c+d>>0]=a[b+(7-d)>>0]|0;d=d+1|0}return}function _d(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;s=yb;yb=yb+256|0;n=s+248|0;l=s+240|0;k=s+232|0;j=s+224|0;i=s+216|0;h=s+208|0;f=s+200|0;p=s;q=s+16|0;do if((a|0)!=0&(b|0)>0&(d|0)!=0){r=Oz(a,20063)|0;if(!r){c[f>>2]=c[(cy()|0)>>2];c[f+4>>2]=a;Ie(0,3,18171,f);a=Ez(c[(cy()|0)>>2]|0)|0;c[h>>2]=56574;c[h+4>>2]=a;Ie(0,3,19708,h);a=-1;break}hA(r,0,2)|0;a:do if(!(Yz(r)|0)){h=XA(r)|0;bB(r);f=0;while(1){if(f>>>0>=4){o=9;break}a=c[1712+(f<<3)+4>>2]|0;f=f+1|0;if(!((h|0)%(a|0)|0)){m=f;break}}do if((o|0)==9)if((f|0)==4){Ie(0,3,18285,k);a=-1;break a}else{m=0;a=c[1712+(0<<3)+4>>2]|0;break}while(0);if((aB(q,a,1,r)|0)!=1){c[l>>2]=c[(cy()|0)>>2];Ie(0,3,18365,l);a=Ez(c[(cy()|0)>>2]|0)|0;c[n>>2]=56574;c[n+4>>2]=a;Ie(0,3,19708,n);a=-1;break}j=q+176|0;c[j>>2]=m;Xd(q);k=(m|0)==1;l=q+120|0;if(k){t=+g[l>>3];i=q+128|0;g[l>>3]=+g[i>>3];g[i>>3]=t}else i=q+128|0;VN(d|0,q|0,184)|0;c[p>>2]=e;f=d+176|0;a=1;while(1){if((a|0)>=(b|0)){a=0;break a}e=(c[p>>2]|0)+(4-1)&~(4-1);h=c[e>>2]|0;c[p>>2]=e+4;c[h+176>>2]=c[f>>2];if((aB(q,c[1712+((c[f>>2]|0)+-1<<3)+4>>2]|0,1,r)|0)!=1){a=-1;break a}c[j>>2]=m;Xd(q);if(k){t=+g[l>>3];g[l>>3]=+g[i>>3];g[i>>3]=t}VN(h|0,q|0,184)|0;a=a+1|0}}else{c[i>>2]=c[(cy()|0)>>2];Ie(0,3,18240,i);a=Ez(c[(cy()|0)>>2]|0)|0;c[j>>2]=56574;c[j+4>>2]=a;Ie(0,3,19708,j);a=-1}while(0);Uz(r)|0}else a=-1;while(0);yb=s;return a|0}function $d(a,b,d,e){a=a|0;b=+b;d=+d;e=e|0;var f=0,h=0.0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+416|0;j=o+304|0;m=o+208|0;k=o+128|0;n=o;l=c[a>>2]|0;f=c[a+4>>2]|0;a:do if((Sd(a+8|0,j,m)|0)<0)Ie(0,3,18403,o+400|0);else{i=+(f+-1|0);a=0;while(1){if((a|0)==4)break;f=j+32+(a<<3)|0;g[f>>3]=+g[j+64+(a<<3)>>3]*i-+g[f>>3];a=a+1|0}h=+g[j+80>>3];f=0;while(1){if((f|0)==3)break;a=0;while(1){if((a|0)==3)break;g[k+(f*24|0)+(a<<3)>>3]=+g[j+(f<<5)+(a<<3)>>3]/h;a=a+1|0}f=f+1|0}h=+(l+-1|0);g[n>>3]=+g[k>>3]*2.0/h;g[n+8>>3]=+g[k+8>>3]*2.0/h;g[n+16>>3]=-(+g[k+16>>3]*2.0/h+-1.0);f=n+24|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;g[n+40>>3]=-(+g[k+32>>3]*2.0/i);g[n+48>>3]=-(+g[k+40>>3]*2.0/i+-1.0);f=n+56|0;h=b-d;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;g[n+80>>3]=(b+d)/h;g[n+88>>3]=d*2.0*b/h;f=n+96|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;g[n+112>>3]=-1.0;g[n+120>>3]=0.0;h=+g[m+24>>3];i=+g[m+56>>3];b=+g[m+88>>3];f=0;while(1){if((f|0)==4)break a;d=+g[n+(f<<5)>>3];j=n+(f<<5)+8|0;k=n+(f<<5)+16|0;a=0;while(1){if((a|0)==3)break;g[e+((a<<2)+f<<3)>>3]=d*+g[m+(a<<3)>>3]+ +g[j>>3]*+g[m+32+(a<<3)>>3]+ +g[k>>3]*+g[m+64+(a<<3)>>3];a=a+1|0}g[e+(f+12<<3)>>3]=+g[n+(f<<5)+24>>3]+(d*h+ +g[j>>3]*i+ +g[k>>3]*b);f=f+1|0}}while(0);yb=o;return}function ae(a,b){a=a|0;b=b|0;var d=0,e=0,h=0.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.0;s=yb;yb=yb+64|0;n=s+24|0;o=s+16|0;p=s+8|0;q=s;r=iB(208)|0;if(!r){Ie(0,3,20454,s+32|0);La(1)}VN(r|0,a|0,184)|0;m=b<<1;l=(c[a>>2]|0)+m|0;c[r+192>>2]=l;m=(c[a+4>>2]|0)+m|0;c[r+196>>2]=m;c[r+200>>2]=b;c[r+204>>2]=b;d=C(l<<3,m)|0;e=iB(d)|0;c[r+184>>2]=e;if(!e){Ie(0,3,20454,s+40|0);La(1)}d=iB(d)|0;c[r+188>>2]=d;if(!d){Ie(0,3,20454,s+48|0);La(1)}k=a+104|0;j=c[a+176>>2]|0;i=0;a=e;while(1){if((i|0)>=(m|0))break;h=+(i-b|0);e=0;while(1){if((e|0)>=(l|0))break;t=+(e-b|0);Wd(k,t,h,p,q,j)|0;f[a>>2]=+g[p>>3];f[a+4>>2]=+g[q>>3];Vd(k,t,h,n,o,j)|0;f[d>>2]=+g[n>>3];f[d+4>>2]=+g[o>>3];e=e+1|0;d=d+8|0;a=a+8|0}i=i+1|0}yb=s;return r|0}function be(a){a=a|0;var b=0;if((a|0)!=0?(b=c[a>>2]|0,(b|0)!=0):0){jB(c[b+184>>2]|0);jB(c[(c[a>>2]|0)+188>>2]|0);jB(c[a>>2]|0);c[a>>2]=0;a=0}else a=-1;return a|0}function ce(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var g=0,h=0,i=0;h=(c[a+16>>2]|0)+~~(b+.5)|0;g=(c[a+20>>2]|0)+~~(d+.5)|0;if(((h|0)>=0?(i=c[a+8>>2]|0,!((g|0)<0|(h|0)>=(i|0))):0)?(g|0)<(c[a+12>>2]|0):0){g=(c[a>>2]|0)+((C(i,g)|0)+h<<1<<2)|0;c[e>>2]=c[g>>2];c[f>>2]=c[g+4>>2];g=0}else g=-1;return g|0}function de(a,b,d,e,f){a=a|0;b=+b;d=+d;e=e|0;f=f|0;var g=0,h=0,i=0;h=(c[a+16>>2]|0)+~~(b+.5)|0;g=(c[a+20>>2]|0)+~~(d+.5)|0;if(((h|0)>=0?(i=c[a+8>>2]|0,!((g|0)<0|(h|0)>=(i|0))):0)?(g|0)<(c[a+12>>2]|0):0){g=(c[a+4>>2]|0)+((C(i,g)|0)+h<<1<<2)|0;c[e>>2]=c[g>>2];c[f>>2]=c[g+4>>2];g=0}else g=-1;return g|0}function ee(a){a=a|0;var b=0,d=0;b=iB(8)|0;do if(b){d=iB(a<<3)|0;c[b>>2]=d;if(!d){jB(b);b=0;break}else{c[b+4>>2]=a;break}}else b=0;while(0);return b|0}function fe(a){a=a|0;jB(c[a>>2]|0);jB(a);return 0}function ge(a){a=a|0;var b=0.0,d=0,e=0.0,f=0,h=0;b=+v(+(+he(a,a)));a:do if(b!=0.0){f=c[a>>2]|0;e=+g[f>>3];b=e<0.0?-b:b;e=e+b;g[f>>3]=e;e=1.0/+v(+(b*e));d=c[a+4>>2]|0;a=0;while(1){if((a|0)>=(d|0))break a;h=f+(a<<3)|0;g[h>>3]=e*+g[h>>3];a=a+1|0}}while(0);return +-b}function he(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0,h=0.0;f=c[a+4>>2]|0;if((f|0)!=(c[b+4>>2]|0))La(0);d=0;e=0.0;while(1){if((d|0)>=(f|0))break;h=e+ +g[(c[a>>2]|0)+(d<<3)>>3]*+g[(c[b>>2]|0)+(d<<3)>>3];d=d+1|0;e=h}return +e}function ie(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,h=0,i=0.0,j=0,k=0,l=0,m=0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=yb;yb=yb+16|0;u=x+8|0;v=x;w=c[a+8>>2]|0;a:do if(((w|0)==(c[a+4>>2]|0)?(w|0)==(c[b+4>>2]|0):0)?(w|0)==((c[d+4>>2]|0)+1|0):0){r=w+-2|0;s=u+4|0;t=v+4|0;l=0;while(1){if((l|0)>=(r|0))break;m=(c[a>>2]|0)+((C(l,w)|0)<<3)|0;g[(c[b>>2]|0)+(l<<3)>>3]=+g[m+(l<<3)>>3];j=w-l+-1|0;c[s>>2]=j;p=l+1|0;k=m+(p<<3)|0;c[u>>2]=k;o=+ge(u);g[(c[d>>2]|0)+(l<<3)>>3]=o;b:do if(!(o==0.0)){h=p;while(1){if((h|0)>=(w|0))break;e=p;i=0.0;while(1){if(e>>>0>=h>>>0)break;o=+g[(c[a>>2]|0)+((C(e,w)|0)+h<<3)>>3];o=i+o*+g[m+(e<<3)>>3];e=e+1|0;i=o}f=C(h,w)|0;e=h;while(1){if((e|0)>=(w|0))break;o=i+ +g[(c[a>>2]|0)+(e+f<<3)>>3]*+g[m+(e<<3)>>3];e=e+1|0;i=o}g[(c[b>>2]|0)+(h<<3)>>3]=i;h=h+1|0}c[t>>2]=j;c[s>>2]=j;c[u>>2]=k;c[v>>2]=(c[b>>2]|0)+(p<<3);o=+he(u,v)*.5;e=w;while(1){e=e+-1|0;if((e|0)<=(l|0))break b;i=+g[m+(e<<3)>>3];h=c[b>>2]|0;j=h+(e<<3)|0;n=+g[j>>3]-o*i;g[j>>3]=n;j=C(e,w)|0;f=e;while(1){if((f|0)>=(w|0))break;k=(c[a>>2]|0)+(f+j<<3)|0;g[k>>3]=+g[k>>3]-(i*+g[h+(f<<3)>>3]+n*+g[m+(f<<3)>>3]);f=f+1|0}}}while(0);l=p}if((w|0)<=1)if((w|0)==1){h=0;e=c[a>>2]|0;f=c[b>>2]|0;q=27}else j=w;else{e=c[a>>2]|0;q=C(r,w)|0;f=c[b>>2]|0;g[f+(r<<3)>>3]=+g[e+(q+r<<3)>>3];h=w+-1|0;g[(c[d>>2]|0)+(r<<3)>>3]=+g[e+(h+q<<3)>>3];q=27}if((q|0)==27){j=w;i=+g[e+((C(h,w)|0)+h<<3)>>3];e=f+(h<<3)|0;q=28}while(1){if((q|0)==28)g[e>>3]=i;d=j+-1|0;if((j|0)<=0){e=0;break a}m=(c[a>>2]|0)+((C(d,w)|0)<<3)|0;c:do if((j|0)<=(r|0)){h=w-d+-1|0;k=m+(j<<3)|0;e=j;while(1){if((e|0)>=(w|0))break c;c[t>>2]=h;c[s>>2]=h;c[u>>2]=k;l=C(e,w)|0;c[v>>2]=(c[a>>2]|0)+(l+j<<3);i=+he(u,v);f=j;while(1){if((f|0)>=(w|0))break;q=(c[a>>2]|0)+(f+l<<3)|0;g[q>>3]=+g[q>>3]-i*+g[m+(f<<3)>>3];f=f+1|0}e=e+1|0}}while(0);e=0;while(1){if((e|0)>=(w|0))break;g[m+(e<<3)>>3]=0.0;e=e+1|0}j=d;i=1.0;e=m+(d<<3)|0;q=28}}else e=-1;while(0);yb=x;return e|0}function je(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0.0,h=0.0,i=0.0;f=+g[c>>3];h=+g[c+8>>3];e=+g[c+16>>3];d=+g[b+88>>3]+(f*+g[b+64>>3]+h*+g[b+72>>3]+e*+g[b+80>>3]);if(d==0.0)c=-1;else{i=+g[b+56>>3]+(f*+g[b+32>>3]+h*+g[b+40>>3]+e*+g[b+48>>3]);g[a>>3]=(+g[b+24>>3]+(f*+g[b>>3]+h*+g[b+8>>3]+e*+g[b+16>>3]))/d;g[a+8>>3]=i/d;c=0}return c|0}function ke(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0,h=0,i=0,j=0,k=0.0;j=yb;yb=yb+224|0;h=j+48|0;i=j;f=j+192|0;le(h,f,c,d);a:do if((me(i,b,f)|0)<0){Ie(0,3,18473,j+216|0);b=-1}else{c=0;while(1){if((c|0)==2){b=0;break a}d=0;while(1){if((d|0)==6)break;f=a+(c*48|0)+(d<<3)|0;g[f>>3]=0.0;b=0;e=0.0;while(1){if((b|0)==3)break;k=e+ +g[i+(c*24|0)+(b<<3)>>3]*+g[h+(b*48|0)+(d<<3)>>3];g[f>>3]=k;b=b+1|0;e=k}d=d+1|0}c=c+1|0}}while(0);yb=j;return b|0}function le(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0.0,h=0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;j=yb;yb=yb+864|0;h=j+576|0;i=j;u=c+8|0;e=d+8|0;n=+g[e>>3];t=c+16|0;v=d+16|0;l=+g[v>>3];g[b>>3]=+g[c+24>>3]+(+g[c>>3]*+g[d>>3]+ +g[u>>3]*n+ +g[t>>3]*l);s=c+32|0;o=+g[d>>3];r=c+40|0;q=c+48|0;g[b+8>>3]=+g[c+56>>3]+(+g[s>>3]*o+n*+g[r>>3]+l*+g[q>>3]);p=c+64|0;d=c+72|0;n=+g[e>>3];e=c+80|0;g[b+16>>3]=+g[c+88>>3]+(o*+g[p>>3]+ +g[d>>3]*n+l*+g[e>>3]);l=+g[c>>3];g[h>>3]=o*l;g[h+8>>3]=n*l;m=+g[v>>3];g[h+16>>3]=l*m;k=+g[u>>3];g[h+24>>3]=o*k;g[h+32>>3]=n*k;g[h+40>>3]=m*k;f=+g[t>>3];g[h+48>>3]=o*f;g[h+56>>3]=n*f;g[h+64>>3]=m*f;g[h+72>>3]=l;g[h+80>>3]=k;g[h+88>>3]=f;f=+g[s>>3];g[h+96>>3]=o*f;g[h+104>>3]=n*f;g[h+112>>3]=m*f;k=+g[r>>3];g[h+120>>3]=o*k;g[h+128>>3]=n*k;g[h+136>>3]=m*k;l=+g[q>>3];g[h+144>>3]=o*l;g[h+152>>3]=n*l;g[h+160>>3]=m*l;g[h+168>>3]=f;g[h+176>>3]=k;g[h+184>>3]=l;l=+g[p>>3];g[h+192>>3]=o*l;g[h+200>>3]=n*l;g[h+208>>3]=m*l;k=+g[d>>3];g[h+216>>3]=o*k;g[h+224>>3]=n*k;g[h+232>>3]=m*k;f=+g[e>>3];g[h+240>>3]=o*f;g[h+248>>3]=n*f;g[h+256>>3]=m*f;g[h+264>>3]=l;g[h+272>>3]=k;g[h+280>>3]=f;ne(i);c=0;while(1){if((c|0)==3)break;d=0;while(1){if((d|0)==6)break;e=a+(c*48|0)+(d<<3)|0;g[e>>3]=0.0;b=0;f=0.0;while(1){if((b|0)==12)break;o=f+ +g[h+(c*96|0)+(b<<3)>>3]*+g[i+(b*48|0)+(d<<3)>>3];g[e>>3]=o;b=b+1|0;f=o}d=d+1|0}c=c+1|0}yb=j;return}function me(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,f=0,h=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0.0,p=0,q=0.0,r=0.0;o=+g[b>>3];r=+g[c>>3];p=b+8|0;q=+g[c+8>>3];n=b+16|0;d=+g[c+16>>3];e=+g[b+24>>3]+(o*r+ +g[p>>3]*q+ +g[n>>3]*d);c=b+32|0;f=b+40|0;h=b+48|0;i=+g[b+56>>3]+(r*+g[c>>3]+q*+g[f>>3]+d*+g[h>>3]);j=b+64|0;k=+g[j>>3];l=b+72|0;m=b+80|0;d=+g[b+88>>3]+(r*k+q*+g[l>>3]+d*+g[m>>3]);if(d==0.0)c=-1;else{r=d*d;g[a>>3]=(o*d-e*k)/r;g[a+8>>3]=(d*+g[p>>3]-e*+g[l>>3])/r;g[a+16>>3]=(d*+g[n>>3]-e*+g[m>>3])/r;g[a+24>>3]=(d*+g[c>>3]-i*+g[j>>3])/r;g[a+32>>3]=(d*+g[f>>3]-i*+g[l>>3])/r;g[a+40>>3]=(d*+g[h>>3]-i*+g[m>>3])/r;c=0}return c|0}function ne(a){a=a|0;var b=0,d=0,e=0;b=a+64|0;d=a;e=d+64|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=-1.0;b=a+72|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;g[a+104>>3]=1.0;b=a+160|0;d=a+112|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=1.0;b=a+240|0;d=a+168|0;e=d+72|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=-1.0;b=a+296|0;d=a+248|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=-1.0;b=a+304|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=0;g[a+336>>3]=1.0;b=a+456|0;d=a+344|0;e=d+112|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=1.0;b=a+512|0;d=a+464|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=1.0;b=a+568|0;d=a+520|0;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));g[b>>3]=1.0;return}function oe(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;i=yb;yb=yb+48|0;h=i+24|0;g=i+12|0;f=i;c[h+4>>2]=6;c[h+8>>2]=1;c[h>>2]=a;c[g+4>>2]=e;c[g+8>>2]=1;c[g>>2]=b;c[f+4>>2]=e;c[f+8>>2]=6;c[f>>2]=d;d=Cd(f)|0;do if(d){b=Bd(d,f)|0;if(!b){Ed(d)|0;a=-1;break}a=Bd(d,g)|0;if(!a){Ed(d)|0;Ed(b)|0;a=-1;break}if((Od(b)|0)<0){Ed(d)|0;Ed(b)|0;Ed(a)|0;a=-1;break}else{Fd(h,b,a)|0;Ed(d)|0;Ed(b)|0;Ed(a)|0;a=0;break}}else a=-1;while(0);yb=i;return a|0}function pe(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,h=0,i=0,j=0;j=yb;yb=yb+256|0;f=j+192|0;h=j+96|0;i=j;qe(f,b);re(h,f);b=0;while(1){if((b|0)==3)break;d=a+(b<<5)|0;e=a+(b<<5)+8|0;f=a+(b<<5)+16|0;c=0;while(1){if((c|0)==4)break;g[i+(b<<5)+(c<<3)>>3]=+g[d>>3]*+g[h+(c<<3)>>3]+ +g[e>>3]*+g[h+32+(c<<3)>>3]+ +g[f>>3]*+g[h+64+(c<<3)>>3];c=c+1|0}f=i+(b<<5)+24|0;g[f>>3]=+g[a+(b<<5)+24>>3]+ +g[f>>3];b=b+1|0}b=0;while(1){if((b|0)==3)break;c=0;while(1){if((c|0)==4)break;g[a+(b<<5)+(c<<3)>>3]=+g[i+(b<<5)+(c<<3)>>3];c=c+1|0}b=b+1|0}yb=j;return 0}function qe(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0,f=0,h=0.0;d=+g[b>>3];e=b+8|0;h=+g[e>>3];f=b+16|0;c=+g[f>>3];c=d*d+h*h+c*c;if(c==0.0){g[a>>3]=1.0;g[a+8>>3]=0.0;d=0.0;c=0.0}else{c=+v(+c);g[a>>3]=d/c;g[a+8>>3]=+g[e>>3]/c;d=c;c=+g[f>>3]/c}g[a+16>>3]=c;g[a+24>>3]=d;g[a+32>>3]=+g[b+24>>3];g[a+40>>3]=+g[b+32>>3];g[a+48>>3]=+g[b+40>>3];return}function re(a,b){a=a|0;b=b|0;var c=0.0,d=0.0,e=0.0,f=0,h=0,i=0.0;c=+g[b+24>>3];e=+x(+c);d=1.0-e;c=+y(+c);i=+g[b>>3];g[a>>3]=e+i*i*d;h=b+8|0;f=b+16|0;g[a+8>>3]=d*(+g[b>>3]*+g[h>>3])-c*+g[f>>3];g[a+16>>3]=d*(+g[b>>3]*+g[f>>3])+c*+g[h>>3];g[a+24>>3]=+g[b+32>>3];g[a+32>>3]=d*(+g[h>>3]*+g[b>>3])+c*+g[f>>3];i=+g[h>>3];g[a+40>>3]=e+d*(i*i);g[a+48>>3]=d*(+g[h>>3]*+g[f>>3])-c*+g[b>>3];g[a+56>>3]=+g[b+40>>3];g[a+64>>3]=d*(+g[f>>3]*+g[b>>3])-c*+g[h>>3];g[a+72>>3]=d*(+g[f>>3]*+g[h>>3])+c*+g[b>>3];c=+g[f>>3];g[a+80>>3]=e+d*(c*c);g[a+88>>3]=+g[b+48>>3];return}function se(a){a=a|0;var b=0,d=0,e=0;b=iB(136)|0;if(!b)b=0;else{d=0;while(1){if((d|0)==3)break;e=0;while(1){if((e|0)==4)break;g[b+(d<<5)+(e<<3)>>3]=+g[a+(d<<5)+(e<<3)>>3];e=e+1|0}d=d+1|0}c[b+96>>2]=10;g[b+104>>3]=.10000000149011612;g[b+112>>3]=.9900000095367432;g[b+120>>3]=4.0;g[b+128>>3]=.5}return b|0}function te(a){a=a|0;var b=0;b=c[a>>2]|0;if(!b)a=-1;else{jB(b);c[a>>2]=0;a=0}return a|0}function ue(a,b){a=a|0;b=+b;if(!a)a=-1;else{g[a+128>>3]=b;a=0}return a|0}function ve(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.0,l=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.0,z=0.0;x=yb;yb=yb+176|0;j=x+168|0;i=x+160|0;s=x+144|0;t=x+48|0;u=x;v=b+8|0;h=c[v>>2]|0;do if((h|0)>=3){w=iB(h*96|0)|0;if(!w){Ie(0,3,18493,i);h=-1;break}r=iB(h<<4)|0;if(!r){Ie(0,3,18493,j);jB(w);h=-1;break}h=0;while(1){if((h|0)==3)break;i=0;while(1){if((i|0)==4)break;g[e+(h<<5)+(i<<3)>>3]=+g[d+(h<<5)+(i<<3)>>3];i=i+1|0}h=h+1|0}d=b+4|0;m=s+8|0;n=a+104|0;o=a+96|0;p=a+120|0;q=a+112|0;l=0.0;j=0;a:while(1){sd(a,e,t)|0;k=0.0;i=0;while(1){h=c[v>>2]|0;if((i|0)>=(h|0))break;if((je(s,t,(c[d>>2]|0)+(i*24|0)|0)|0)<0){i=16;break a}h=c[b>>2]|0;z=+g[h+(i<<4)>>3]-+g[s>>3];y=+g[h+(i<<4)+8>>3]-+g[m>>3];h=i<<1;g[r+(h<<3)>>3]=z;g[r+((h|1)<<3)>>3]=y;k=k+(z*z+y*y);i=i+1|0}k=k/+(h|0);if(k<+g[n>>3]){i=31;break}if((j|0?k<+g[p>>3]:0)?k/l>+g[q>>3]:0){i=31;break}if((j|0)==(c[o>>2]|0)){i=31;break}i=0;while(1){if((i|0)>=(h|0))break;if((ke(w+(i*12<<3)|0,a,e,(c[d>>2]|0)+(i*24|0)|0)|0)<0){i=27;break a}i=i+1|0;h=c[v>>2]|0}if((oe(u,r,w,h<<1)|0)<0){i=29;break}pe(e,u)|0;l=k;j=j+1|0}if((i|0)==16){we(w,r);h=-1;break}else if((i|0)==27){we(w,r);h=-1;break}else if((i|0)==29){we(w,r);h=-1;break}else if((i|0)==31){g[f>>3]=k;jB(w);jB(r);h=0;break}}else h=-1;while(0);yb=x;return h|0}function we(a,b){a=a|0;b=b|0;jB(a);jB(b);return}function xe(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,l=0,m=0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.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=yb;yb=yb+192|0;l=F+184|0;k=F+176|0;j=F+168|0;h=F+160|0;A=F+144|0;B=F+48|0;C=F;D=b+8|0;i=c[D>>2]|0;do if((i|0)>=4){m=~~(+g[a+128>>3]*+(i|0))+-1|0;m=(m|0)>3?m:3;E=iB(i*96|0)|0;if(!E){Ie(0,3,18493,h);h=-1;break}z=iB(i<<4)|0;if(!z){Ie(0,3,18493,j);jB(E);h=-1;break}h=i<<3;y=iB(h)|0;if(!y){Ie(0,3,18493,k);jB(E);jB(z);h=-1;break}x=iB(h)|0;if(!x){Ie(0,3,18493,l);jB(E);jB(z);jB(y);h=-1;break}h=0;while(1){if((h|0)==3)break;i=0;while(1){if((i|0)==4)break;g[e+(h<<5)+(i<<3)>>3]=+g[d+(h<<5)+(i<<3)>>3];i=i+1|0}h=h+1|0}v=b+4|0;w=A+8|0;d=x+(m<<3)|0;m=a+104|0;s=a+96|0;t=a+120|0;u=a+112|0;q=0.0;l=0;a:while(1){sd(a,e,B)|0;h=0;while(1){i=c[D>>2]|0;if((h|0)>=(i|0))break;if((je(A,B,(c[v>>2]|0)+(h*24|0)|0)|0)<0){i=20;break a}k=c[b>>2]|0;p=+g[k+(h<<4)>>3]-+g[A>>3];r=+g[k+(h<<4)+8>>3]-+g[w>>3];k=h<<1;g[z+(k<<3)>>3]=p;g[z+((k|1)<<3)>>3]=r;r=p*p+r*r;g[x+(h<<3)>>3]=r;g[y+(h<<3)>>3]=r;h=h+1|0}Fy(x,i,8,18);r=+g[d>>3]*4.0;r=r<16.0?16.0:r;i=c[D>>2]|0;p=r/6.0;o=0.0;h=0;while(1){if((h|0)>=(i|0))break;n=+g[x+(h<<3)>>3];if(n>r)n=p;else{n=1.0-n/r;n=p*(1.0-n*(n*n))}o=o+n;h=h+1|0}o=o/+(i|0);if(o<+g[m>>3]){i=44;break}if((l|0?o<+g[t>>3]:0)?o/q>+g[u>>3]:0){i=44;break}if((l|0)==(c[s>>2]|0)){i=44;break}h=0;k=0;while(1){if((k|0)>=(i|0))break;n=+g[y+(k<<3)>>3];if(n<=r){j=h*6|0;i=E+(j<<3)|0;if((ke(i,a,e,(c[v>>2]|0)+(k*24|0)|0)|0)<0){i=36;break a}q=1.0-n/r;q=q*q;g[i>>3]=q*+g[i>>3];i=E+((j|1)<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+2<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+3<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+4<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+5<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+6<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+7<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+8<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+9<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+10<<3)|0;g[i>>3]=q*+g[i>>3];i=E+(j+11<<3)|0;g[i>>3]=q*+g[i>>3];i=k<<1;g[z+(h<<3)>>3]=q*+g[z+(i<<3)>>3];g[z+(h+1<<3)>>3]=q*+g[z+((i|1)<<3)>>3];h=h+2|0;i=c[D>>2]|0}k=k+1|0}if((h|0)<6){i=40;break}if((oe(C,z,E,h)|0)<0){i=42;break}pe(e,C)|0;q=o;l=l+1|0}if((i|0)==20){ye(E,z,y,x);h=-1;break}else if((i|0)==36){ye(E,z,y,x);h=-1;break}else if((i|0)==40){ye(E,z,y,x);h=-1;break}else if((i|0)==42){ye(E,z,y,x);h=-1;break}else if((i|0)==44){g[f>>3]=o;jB(E);jB(z);jB(y);jB(x);h=0;break}}else h=-1;while(0);yb=F;return h|0}function ye(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;jB(a);jB(b);jB(c);jB(d);return}function ze(a,b){a=a|0;b=b|0;var c=0.0;c=+g[a>>3]-+g[b>>3];return (c<0.0?-1:c>0.0&1)|0}function Ae(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0.0,L=0.0,M=0.0,N=0.0,O=0.0;t=yb;yb=yb+128|0;s=t+120|0;p=t+112|0;o=t+104|0;m=t+96|0;l=t+88|0;j=t+80|0;i=t+72|0;r=t;a:do if((e|0)>=4){h=0;while(1){if((h|0)>=(e|0))break;if(+g[d+(h*24|0)+16>>3]!=0.0){h=-1;break a}else h=h+1|0}if((((((((!(+g[a>>3]==0.0)?!(+g[a+32>>3]!=0.0):0)?(q=a+40|0,!(+g[q>>3]==0.0)):0)?!(+g[a+64>>3]!=0.0):0)?!(+g[a+72>>3]!=0.0):0)?!(+g[a+80>>3]!=1.0):0)?!(+g[a+24>>3]!=0.0):0)?!(+g[a+56>>3]!=0.0):0)?!(+g[a+88>>3]!=0.0):0){h=e<<1;n=zd(h,8)|0;if(!n){Ie(0,3,18508,i);h=-1;break}k=zd(h,1)|0;if(!k){Ed(n)|0;Ie(0,3,18534,j);h=-1;break}h=0;while(1){if((h|0)==(e|0))break;y=d+(h*24|0)|0;j=c[n>>2]|0;i=h<<4;g[j+(i<<3)>>3]=+g[y>>3];x=d+(h*24|0)+8|0;g[j+((i|1)<<3)>>3]=+g[x>>3];g[j+((i|2)<<3)>>3]=1.0;g[j+((i|3)<<3)>>3]=0.0;g[j+((i|4)<<3)>>3]=0.0;g[j+((i|5)<<3)>>3]=0.0;w=b+(h<<4)|0;g[j+((i|6)<<3)>>3]=-(+g[y>>3]*+g[w>>3]);g[j+((i|7)<<3)>>3]=-(+g[x>>3]*+g[w>>3]);g[j+((i|8)<<3)>>3]=0.0;g[j+((i|9)<<3)>>3]=0.0;g[j+((i|10)<<3)>>3]=0.0;g[j+((i|11)<<3)>>3]=+g[y>>3];g[j+((i|12)<<3)>>3]=+g[x>>3];g[j+((i|13)<<3)>>3]=1.0;u=b+(h<<4)+8|0;g[j+((i|14)<<3)>>3]=-(+g[y>>3]*+g[u>>3]);g[j+((i|15)<<3)>>3]=-(+g[x>>3]*+g[u>>3]);i=c[k>>2]|0;j=h<<1;g[i+(j<<3)>>3]=+g[w>>3];g[i+((j|1)<<3)>>3]=+g[u>>3];h=h+1|0}b=Cd(n)|0;if(!b){Ed(n)|0;Ed(k)|0;Ie(0,3,18560,l);h=-1;break}j=Bd(b,n)|0;if(!j){Ed(n)|0;Ed(k)|0;Ed(b)|0;Ie(0,3,18586,m);h=-1;break}i=Bd(b,k)|0;if(!i){Ed(n)|0;Ed(k)|0;Ed(b)|0;Ed(j)|0;Ie(0,3,18612,o);h=-1;break}if((Od(j)|0)<0){Ed(n)|0;Ed(k)|0;Ed(b)|0;Ed(j)|0;Ed(i)|0;Ie(0,3,18638,p);h=-1;break}h=Bd(j,i)|0;if(!h){Ed(n)|0;Ed(k)|0;Ed(b)|0;Ed(j)|0;Ed(i)|0;Ie(0,3,18664,s);h=-1;break}else{p=c[h>>2]|0;H=+g[p+48>>3];w=r+16|0;E=+g[a+48>>3];A=+g[q>>3];K=(+g[p+24>>3]-H*E)/A;s=r+8|0;D=+g[a+16>>3];C=+g[a+8>>3];B=+g[a>>3];N=(+g[p>>3]-H*D-K*C)/B;I=+g[p+56>>3];u=r+40|0;L=(+g[p+32>>3]-E*I)/A;x=r+32|0;J=(+g[p+8>>3]-D*I-C*L)/B;y=r+24|0;A=(+g[p+40>>3]-E)/A;E=+g[p+16>>3];Ed(n)|0;Ed(k)|0;Ed(b)|0;Ed(j)|0;Ed(i)|0;Ed(h)|0;M=+v(+(H*H+(K*K+N*N)));z=+v(+(I*I+(L*L+J*J)));g[r>>3]=N/M;g[s>>3]=K/M;g[w>>3]=H/M;g[y>>3]=J/z;g[x>>3]=L/z;g[u>>3]=I/z;z=(M+z)*.5;Be(r);M=+g[s>>3];I=+g[u>>3];L=+g[w>>3];J=+g[x>>3];H=M*I-L*J;K=+g[y>>3];N=+g[r>>3];G=L*K-I*N;O=J*N-M*K;F=+v(+(O*O+(H*H+G*G)));H=H/F;g[r+48>>3]=H;G=G/F;g[r+56>>3]=G;F=O/F;g[r+64>>3]=F;g[f>>3]=N;g[f+32>>3]=M;g[f+64>>3]=L;g[f+8>>3]=K;g[f+40>>3]=J;g[f+72>>3]=I;g[f+16>>3]=H;g[f+48>>3]=G;g[f+80>>3]=F;g[f+24>>3]=(E-D-C*A)/B/z;g[f+56>>3]=A/z;g[f+88>>3]=1.0/z;h=0;break}}else h=-1}else h=-1;while(0);yb=t;return h|0}function Be(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.0,D=0.0,E=0.0,F=0.0,G=0.0,H=0.0,I=0.0,J=0.0,K=0,L=0,M=0,N=0,O=0,P=0;l=+g[a>>3];L=a+8|0;o=+g[L>>3];M=a+16|0;p=+g[M>>3];N=a+24|0;B=+g[N>>3];O=a+32|0;C=+g[O>>3];K=a+40|0;f=+g[K>>3];b=o*f-p*C;c=p*B-l*f;d=l*C-o*B;e=+v(+(d*d+(b*b+c*c)));do if(!(e==0.0)){m=b/e;k=c/e;j=d/e;A=l*B+o*C+p*f;A=A<0.0?-A:A;A=(+v(+(A+1.0))+ +v(+(1.0-A)))*.5;d=l*k;b=o*m;c=d-b;if(c!=0.0){n=0;y=m;h=l;i=o;z=k;e=p}else{P=l*j-p*m!=0.0;i=P?p:o;h=P?l:p;z=P?j:k;y=P?m:j;d=h*z;c=i*y;n=P?1:2;b=c;c=d-c;e=P?o:l;j=P?k:m}if(!(c==0.0)?(t=(i*j-e*z)/c,u=A*z/c,x=b-d,w=(h*j-e*y)/x,x=A*y/x,r=t*t+w*w+1.0,s=t*u+w*x,q=s*s-r*(u*u+x*x+-1.0),!(q<0.0)):0){d=+v(+q);h=(d-s)/r;i=u+t*h;e=x+w*h;d=(-s-d)/r;c=u+t*d;b=x+w*d;switch(n&3){case 1:{t=b;s=d;q=c;r=e;p=h;o=i;l=y;m=j;b=z;break}case 2:{t=c;s=b;q=d;r=i;p=e;o=h;l=j;m=z;b=y;break}default:{t=d;s=b;q=c;r=h;p=e;o=i;l=y;m=z;b=j}}c=B*m;d=C*l;e=c-d;if(e!=0.0){n=0;h=l;i=B;j=C;k=m}else{P=B*b-f*l!=0.0;j=P?f:C;i=P?B:f;k=P?b:m;h=P?l:b;f=i*k;e=j*h;n=P?1:2;c=f;d=e;e=f-e;f=P?C:B;b=P?m:l}if(!(e==0.0)?(G=(j*b-f*k)/e,H=A*k/e,J=d-c,I=(i*b-f*h)/J,J=A*h/J,E=G*G+I*I+1.0,F=G*H+I*J,D=F*F-E*(H*H+J*J+-1.0),!(D<0.0)):0){j=+v(+D);h=(j-F)/E;d=H+G*h;i=J+I*h;j=(-F-j)/E;c=H+G*j;b=J+I*j;switch(n&3){case 1:{l=b;b=j;j=c;k=i;i=h;h=d;break}case 2:{l=c;k=d;break}default:{l=j;j=c;k=h;h=d}}f=o*h+p*i+r*k;f=f<0.0?-f:f;e=o*j+p*b+r*l;e=e<0.0?-e:e;d=q*h+s*i+t*k;d=d<0.0?-d:d;c=q*j+s*b+t*l;c=c<0.0?-c:c;if(f>3]=o;g[L>>3]=p;g[M>>3]=r;g[N>>3]=h;g[O>>3]=i;g[K>>3]=k;break}else{g[a>>3]=q;g[L>>3]=s;g[M>>3]=t;g[N>>3]=j;g[O>>3]=b;g[K>>3]=l;break}else{g[a>>3]=q;g[L>>3]=s;g[M>>3]=t;if(d>3]=h;g[O>>3]=i;g[K>>3]=k;break}else{g[N>>3]=j;g[O>>3]=b;g[K>>3]=l;break}}else if(e>3]=o;g[L>>3]=p;g[M>>3]=r;g[N>>3]=j;g[O>>3]=b;g[K>>3]=l;break}else{g[a>>3]=q;g[L>>3]=s;g[M>>3]=t;g[N>>3]=j;g[O>>3]=b;g[K>>3]=l;break}else{g[a>>3]=q;g[L>>3]=s;g[M>>3]=t;if(d>3]=h;g[O>>3]=i;g[K>>3]=k;break}else{g[N>>3]=j;g[O>>3]=b;g[K>>3]=l;break}}}}}while(0);return}function Ce(a){a=a|0;jB(c[a>>2]|0);jB(a);return 0}function De(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return +(+Ee(a,b,c,d,0))}function Ee(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,l=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;C=yb;yb=yb+208|0;w=C+200|0;v=C+192|0;y=C+96|0;x=C;z=e+4|0;i=c[z>>2]|0;u=e+112|0;p=e+120|0;o=0;while(1){if((o|0)>=(i|0))break;q=c[e>>2]|0;r=q+(o*320|0)|0;if(!(c[q+(o*320|0)+4>>2]|0)){j=-1;k=0;while(1){if((k|0)>=(d|0))break;if((c[b+(k<<8)+8>>2]|0)==(c[r>>2]|0)?(l=+g[b+(k<<8)+40>>3],!(l<+g[u>>3])):0)if(!((j|0)!=-1?!(+g[b+(j<<8)+40>>3]>2]=j;if((j|0)>-1)c[b+(j<<8)+16>>2]=c[b+(j<<8)+20>>2]}else{n=q+(o*320|0)+312|0;m=0;j=-1;while(1){if((m|0)>=(d|0))break;k=c[b+(m<<8)+12>>2]|0;if((k|0)==0?(t=b+(m<<8)+248|0,s=c[t>>2]|0,t=c[t+4>>2]|0,!((s|0)==0&(t|0)==0)):0){k=n;if((s|0)==(c[k>>2]|0)?(t|0)==(c[k+4>>2]|0):0)B=20}else if((k|0)==(c[r>>2]|0))B=20;if((B|0)==20){B=0;h=+g[b+(m<<8)+48>>3];if(!(h<+g[p>>3]))if(!((j|0)!=-1?!(+g[b+(j<<8)+48>>3]>2]=j;if((j|0)>-1)c[b+(j<<8)+16>>2]=c[b+(j<<8)+24>>2]}o=o+1|0}p=0;n=0;j=0;o=0;while(1){if((o|0)>=(i|0))break;i=c[e>>2]|0;k=c[i+(o*320|0)+304>>2]|0;do if((k|0)<0){k=p;i=n}else{m=b+(k<<8)|0;if(+Sc(a,m,+g[i+(o*320|0)+8>>3],x)>4.0){c[(c[e>>2]|0)+(o*320|0)+304>>2]=-1;i=b+(k<<8)+236|0;if(c[i>>2]|0){k=p;i=n;break}c[i>>2]=7;k=p;i=n;break}k=c[m>>2]|0;a:do if((p|0)==0|(n|0)<(k|0)){i=0;while(1){if((i|0)==3){i=k;j=o;break a}j=0;while(1){if((j|0)==4)break;g[y+(i<<5)+(j<<3)>>3]=+g[x+(i<<5)+(j<<3)>>3];j=j+1|0}i=i+1|0}}else i=n;while(0);k=p+1|0}while(0);p=k;n=i;o=o+1|0;i=c[z>>2]|0}b:do if((p|0)!=0?(p|0)>=(c[e+128>>2]|0):0){sd(y,(c[e>>2]|0)+(j*320|0)+112|0,x)|0;o=p<<2;q=iB(p<<6)|0;if(!q){Ie(0,3,20454,v);La(1)}p=iB(p*96|0)|0;if(!p){Ie(0,3,20454,w);La(1)}n=c[z>>2]|0;m=0;i=0;while(1){if((m|0)>=(n|0))break;j=c[e>>2]|0;k=c[j+(m*320|0)+304>>2]|0;if((k|0)>=0){v=c[b+(k<<8)+16>>2]|0;u=(4-v|0)%4|0;w=i<<3;g[q+(w<<3)>>3]=+g[b+(k<<8)+168+(u<<4)>>3];g[q+((w|1)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)+8>>3];u=(5-v|0)%4|0;g[q+((w|2)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)>>3];g[q+((w|3)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)+8>>3];u=(6-v|0)%4|0;g[q+((w|4)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)>>3];g[q+((w|5)<<3)>>3]=+g[b+(k<<8)+168+(u<<4)+8>>3];v=(7-v|0)%4|0;g[q+((w|6)<<3)>>3]=+g[b+(k<<8)+168+(v<<4)>>3];g[q+((w|7)<<3)>>3]=+g[b+(k<<8)+168+(v<<4)+8>>3];w=i*12|0;g[p+(w<<3)>>3]=+g[j+(m*320|0)+208>>3];g[p+((w|1)<<3)>>3]=+g[j+(m*320|0)+216>>3];g[p+((w|2)<<3)>>3]=+g[j+(m*320|0)+224>>3];g[p+((w|3)<<3)>>3]=+g[j+(m*320|0)+232>>3];g[p+(w+4<<3)>>3]=+g[j+(m*320|0)+240>>3];g[p+(w+5<<3)>>3]=+g[j+(m*320|0)+248>>3];g[p+(w+6<<3)>>3]=+g[j+(m*320|0)+256>>3];g[p+(w+7<<3)>>3]=+g[j+(m*320|0)+264>>3];g[p+(w+8<<3)>>3]=+g[j+(m*320|0)+272>>3];g[p+(w+9<<3)>>3]=+g[j+(m*320|0)+280>>3];g[p+(w+10<<3)>>3]=+g[j+(m*320|0)+288>>3];g[p+(w+11<<3)>>3]=+g[j+(m*320|0)+296>>3];i=i+1|0}m=m+1|0}m=e+104|0;j=(f|0)!=0;if(!(c[m>>2]|0)){i=e+8|0;h=+Uc(a,x,q,p,o,i);if(j&h>=20.0){ue(c[a>>2]|0,.8)|0;h=+Vc(a,x,q,p,o,i);if(h>=20.0){ue(c[a>>2]|0,.6)|0;h=+Vc(a,x,q,p,o,i);if(h>=20.0){ue(c[a>>2]|0,.4)|0;h=+Vc(a,x,q,p,o,i);if(h>=20.0){ue(c[a>>2]|0,0.0)|0;h=+Vc(a,x,q,p,o,i)}}}}jB(p);jB(q)}else{h=+Uc(a,x,q,p,o,y);k=e+8|0;l=+Uc(a,k,q,p,o,k);i=h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);if(h>=20.0){ue(c[a>>2]|0,.8)|0;h=+Vc(a,x,q,p,o,y);l=+Vc(a,k,q,p,o,k);e:do if(h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);if(h>=20.0){ue(c[a>>2]|0,.6)|0;h=+Vc(a,x,q,p,o,y);l=+Vc(a,k,q,p,o,k);f:do if(h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);if(h>=20.0){ue(c[a>>2]|0,.4)|0;h=+Vc(a,x,q,p,o,y);l=+Vc(a,k,q,p,o,k);g:do if(h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l;while(0);if(h>=20.0){ue(c[a>>2]|0,0.0)|0;h=+Vc(a,x,q,p,o,y);l=+Vc(a,k,q,p,o,k);if(h>3]=+g[y+(j<<5)+(i<<3)>>3];i=i+1|0}j=j+1|0}}else h=l}}}}}else if(i){i=0;while(1){if((i|0)==3)break c;j=0;while(1){if((j|0)==4)break;g[e+8+(i<<5)+(j<<3)>>3]=+g[y+(i<<5)+(j<<3)>>3];j=j+1|0}i=i+1|0}}else h=l;while(0);jB(p);jB(q)}if(h<20.0){c[m>>2]=1;break}c[m>>2]=0;j=c[z>>2]|0;i=0;while(1){if((i|0)>=(j|0))break b;k=c[(c[e>>2]|0)+(i*320|0)+304>>2]|0;if((k|0)>=0?(A=b+(k<<8)+236|0,(c[A>>2]|0)==0):0)c[A>>2]=8;i=i+1|0}}else B=45;while(0);if((B|0)==45){c[e+104>>2]=0;h=-1.0}yb=C;return +h}function Fe(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return +(+Ee(a,b,c,d,1))}function Ge(a,b){a=a|0;b=b|0;var d=0,e=0,f=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,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,P=0,Q=0,R=0,S=0,T=0,U=0.0,V=0.0;T=yb;yb=yb+2528|0;S=T+2512|0;Q=T+2504|0;G=T+2488|0;P=T+2480|0;F=T+2472|0;E=T+2456|0;O=T+2448|0;D=T+2440|0;N=T+2432|0;M=T+2424|0;L=T+2416|0;C=T+2408|0;h=T+2400|0;f=T+2392|0;H=T+2384|0;e=T+2376|0;d=T+2368|0;z=T+2304|0;I=T+2048|0;J=T;A=T+2524|0;R=T+2520|0;B=T+2516|0;K=Oz(a,19680)|0;do if(!K){c[d>>2]=a;Ie(0,3,18690,d);d=Ez(c[(cy()|0)>>2]|0)|0;c[e>>2]=56574;c[e+4>>2]=d;Ie(0,3,19708,e);d=0}else{He(I,K);c[H>>2]=R;if((Zz(I,19714,H)|0)!=1){c[f>>2]=a;Ie(0,3,18743,f);Uz(K)|0;d=0;break}d=c[R>>2]|0;y=iB(d*320|0)|0;if(!y){Ie(0,3,20454,h);La(1)}p=(b|0)==0;q=z+8|0;r=z+16|0;s=z+24|0;t=z+32|0;u=z+40|0;v=z+48|0;w=z+56|0;x=0;f=0;a:while(1){if((x|0)>=(d|0)){d=31;break}He(I,K);d=y+(x*320|0)|0;e=y+(x*320|0)+312|0;c[C>>2]=e;c[C+4>>2]=A;if((Zz(I,18844,C)|0)!=1){if(p){d=11;break}if(!(wd(J,a,2048,1)|0)){d=13;break}xA(J,I,2047-(Ey(J)|0)|0)|0;o=qd(b,J)|0;c[d>>2]=o;if((o|0)<0){d=15;break}else{d=1;e=0}}else{e=c[e>>2]|0;c[d>>2]=(e&-32768|0)==0&0==0?e&32767:0;d=2;e=1}c[y+(x*320|0)+4>>2]=e;f=f|d;He(I,K);e=y+(x*320|0)+8|0;c[D>>2]=e;if((Zz(I,19140,D)|0)!=1){d=18;break}He(I,K);m=y+(x*320|0)+16|0;n=y+(x*320|0)+24|0;o=y+(x*320|0)+40|0;c[E>>2]=m;c[E+4>>2]=n;c[E+8>>2]=y+(x*320|0)+32;c[E+12>>2]=o;if((Zz(I,19249,E)|0)==4)d=1;else{c[F>>2]=H;c[F+4>>2]=B;if((Zz(I,19265,F)|0)!=2){d=23;break}d=0}do{He(I,K);c[G>>2]=y+(x*320|0)+16+(d<<5);c[G+4>>2]=y+(x*320|0)+16+(d<<5)+8;c[G+8>>2]=y+(x*320|0)+16+(d<<5)+16;c[G+12>>2]=y+(x*320|0)+16+(d<<5)+24;if((Zz(I,19249,G)|0)!=4){d=25;break a}d=d+1|0}while(d>>>0<3);td(m,y+(x*320|0)+112|0)|0;V=+g[e>>3];U=V*-.5;g[z>>3]=U;V=V*.5;g[q>>3]=V;g[r>>3]=V;g[s>>3]=V;g[t>>3]=V;g[u>>3]=U;g[v>>3]=U;g[w>>3]=U;e=y+(x*320|0)+48|0;h=y+(x*320|0)+56|0;i=y+(x*320|0)+72|0;j=y+(x*320|0)+80|0;k=y+(x*320|0)+88|0;l=y+(x*320|0)+104|0;d=0;while(1){if((d|0)==4)break;U=+g[z+(d<<4)>>3];V=+g[z+(d<<4)+8>>3];g[y+(x*320|0)+208+(d*24|0)>>3]=+g[o>>3]+(+g[m>>3]*U+ +g[n>>3]*V);g[y+(x*320|0)+208+(d*24|0)+8>>3]=+g[i>>3]+(U*+g[e>>3]+V*+g[h>>3]);g[y+(x*320|0)+208+(d*24|0)+16>>3]=+g[l>>3]+(U*+g[j>>3]+V*+g[k>>3]);d=d+1|0}x=x+1|0;d=c[R>>2]|0}if((d|0)==11){c[L>>2]=a;c[L+4>>2]=I;Ie(0,3,18851,L)}else if((d|0)==13){c[M>>2]=a;Ie(0,3,18979,M)}else if((d|0)==15){c[N>>2]=a;c[N+4>>2]=J;Ie(0,3,19063,N)}else if((d|0)==18){c[O>>2]=a;c[O+4>>2]=x+1;Ie(0,3,19144,O)}else if((d|0)==23){c[P>>2]=a;c[P+4>>2]=x+1;Ie(0,3,19271,P)}else if((d|0)==25){c[Q>>2]=a;c[Q+4>>2]=x+1;Ie(0,3,19271,Q)}else if((d|0)==31){Uz(K)|0;d=iB(136)|0;if(!d){Ie(0,3,20454,S);La(1)}c[d>>2]=y;c[d+4>>2]=c[R>>2];c[d+128>>2]=0;c[d+104>>2]=0;do if((f&3|0)!=3){e=d+108|0;if(!(f&1)){c[e>>2]=1;break}else{c[e>>2]=0;break}}else c[d+108>>2]=2;while(0);g[d+112>>3]=.5;g[d+120>>3]=.5;break}Uz(K)|0;jB(y);d=0}while(0);yb=T;return d|0}function He(b,c){b=b|0;c=c|0;var d=0,e=0;a:while(1){if(!(Xz(b,256,c)|0))break;d=Ey(b)|0;b:while(1){if(!d)break;d=d+-1|0;e=b+d|0;switch(a[e>>0]|0){case 13:case 10:break;default:break b}a[e>>0]=0}switch(a[b>>0]|0){case 0:case 35:break;default:break a}}return}function Ie(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=yb;yb=yb+16|0;b=g;if((e|0)!=0&(c[3368]|0)<=(d|0)?a[e>>0]|0:0){c[b>>2]=f;Je(0,d,e,b)}yb=g;return}function Je(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,l=0,m=0;l=yb;yb=yb+32|0;j=l+16|0;b=l;if((!((e|0)==0|(c[3368]|0)>(d|0))?a[e>>0]|0:0)?(c[b>>2]=c[f>>2],k=Yy(0,0,e,b)|0,k|0):0){if(d>>>0<4)b=(Ey(c[1744+(d<<2)>>2]|0)|0)+3|0;else b=0;g=b+k|0;h=g+1|0;i=iB(h)|0;if(b|0){c[j>>2]=c[1744+(d<<2)>>2];Xy(i,b+1|0,19380,j)|0}Yy(i+b|0,k+1|0,e,f)|0;do if(0){if(0?(m=c[13590]|0,m>>>0<0):0){b=0+m|0;if(g>>>0>(-4-m+0|0)>>>0){a[b>>0]=46;a[b+1>>0]=46;a[b+2>>0]=46;a[b+3>>0]=0;c[13590]=0;break}else{sA(b,i,h)|0;c[13590]=(c[13590]|0)+g;break}}}else Gz(i,c[3454]|0)|0;while(0);jB(i)}yb=l;return}function Ke(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;do if(b){e=Oz(b,20063)|0;if(e){hA(e,0,2)|0;f=XA(e)|0;hA(e,0,0)|0;g=f+1|0;b=iB(g)|0;if(!b){Uz(e)|0;c[(cy()|0)>>2]=12;b=0;break}if(!(aB(b,f,1,e)|0)){jB(b);Uz(e)|0;b=0;break}a[b+f>>0]=0;Uz(e)|0;if(d)c[d>>2]=g}else b=0}else{c[(cy()|0)>>2]=22;b=0}while(0);return b|0}function Le(b,e){b=b|0;e=+e;var 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,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0;z=yb;yb=yb+16|0;w=b+4|0;x=b+12|0;A=+f[x>>2];y=Ay(+(c[w>>2]|0)*e/A)|0;t=b+8|0;u=Ay(+(c[t>>2]|0)*e/A)|0;v=iB(16)|0;if(!v){Ie(0,3,20454,z);La(1)}c[v+4>>2]=y;c[v+8>>2]=u;f[v+12>>2]=e;g=iB(C(u,y)|0)|0;c[v>>2]=g;if(!g){Ie(0,3,20454,z+8|0);La(1)}h=0;while(1){if((h|0)>=(u|0))break;A=+f[x>>2];s=Ay(A*+(h|0)/e)|0;h=h+1|0;r=Ay(A*+(h|0)/e)|0;i=c[t>>2]|0;r=(r|0)>(i|0)?i:r;i=0;while(1){if((i|0)>=(y|0))break;A=+f[x>>2];q=Ay(A*+(i|0)/e)|0;i=i+1|0;p=Ay(A*+(i|0)/e)|0;o=c[w>>2]|0;p=(p|0)>(o|0)?o:p;j=0;k=0;l=s;while(1){if((l|0)>=(r|0))break;m=q;n=(c[b>>2]|0)+((C(l,o)|0)+q)|0;while(1){if((m|0)>=(p|0))break;B=j+(d[n>>0]|0)|0;m=m+1|0;n=n+1|0;j=B;k=k+1|0}l=l+1|0}a[g>>0]=(j|0)/(k|0)|0;g=g+1|0}}yb=z;return v|0}function Me(a){a=a|0;var b=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=yb;yb=yb+96|0;m=q+72|0;l=q+64|0;k=q+56|0;j=q+48|0;i=q+40|0;h=q+32|0;g=q+24|0;e=q+16|0;b=q+8|0;n=q+80|0;d=iB((Ey(a)|0)+6|0)|0;if(!d){Ie(0,3,20454,q);La(1)}c[b>>2]=a;c[b+4>>2]=19416;wz(d,19411,b)|0;p=Oz(d,20063)|0;jB(d);a:do if(!p){c[e>>2]=a;c[e+4>>2]=19416;Ie(0,3,19422,e);b=0}else{b=iB(8)|0;if(!b){Ie(0,3,20454,g);La(1)}d=b+4|0;if((aB(d,4,1,p)|0)==1?(o=c[d>>2]|0,(o|0)>=1):0){c[i>>2]=o;Ie(0,1,19495,i);e=o<<2;g=iB(e)|0;c[b>>2]=g;if(!g){Ie(0,3,20454,j);La(1)}j=iB(16)|0;c[g>>2]=j;if(!j){Ie(0,3,20454,k);La(1)}d=Pe(p)|0;if(!d){c[l>>2]=a;c[l+4>>2]=19416;Ie(0,2,19525,l);jB(c[g>>2]|0);jB(g);jB(b);bB(p);b=Ne(p)|0;break}if((c[d+4>>2]|0)!=1){c[m>>2]=a;c[m+4>>2]=19416;Ie(0,2,19525,m);jB(c[g>>2]|0);jB(g);jB(b);jB(d);Uz(p)|0;b=0;break}m=c[g>>2]|0;c[m+4>>2]=c[d+8>>2];c[m+8>>2]=c[d+12>>2];c[m+12>>2]=c[d+16>>2];c[m>>2]=c[d>>2];jB(d);hA(p,4-e|0,2)|0;e=1;while(1){if((e|0)>=(o|0)){d=29;break}if((aB(n,4,1,p)|0)!=1){d=21;break}m=Le(c[g>>2]|0,+f[n>>2])|0;c[g+(e<<2)>>2]=m;if(!m){d=25;break}e=e+1|0}b:do if((d|0)==21){d=0;while(1){if((d|0)==(e|0))break b;o=g+(d<<2)|0;jB(c[c[o>>2]>>2]|0);jB(c[o>>2]|0);d=d+1|0}}else if((d|0)==25){d=0;while(1){if((d|0)==(e|0))break b;o=g+(d<<2)|0;jB(c[c[o>>2]>>2]|0);jB(c[o>>2]|0);d=d+1|0}}else if((d|0)==29){Uz(p)|0;break a}while(0);jB(g)}else Ie(0,3,19470,h);jB(b);Uz(p)|0;b=0}while(0);yb=q;return b|0}function Ne(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+48|0;h=l+32|0;g=l+24|0;f=l+16|0;e=l+8|0;b=iB(8)|0;if(!b){Ie(0,3,20454,l);La(1)}d=b+4|0;a:do if((aB(d,4,1,a)|0)==1?(k=c[d>>2]|0,(k|0)>=1):0){j=iB(k<<2)|0;c[b>>2]=j;if(!j){Ie(0,3,20454,f);La(1)}d=0;while(1){if((d|0)>=(k|0))break;f=iB(16)|0;c[j+(d<<2)>>2]=f;if(!f){i=12;break}else d=d+1|0}if((i|0)==12){Ie(0,3,20454,g);La(1)}e=0;while(1){if((e|0)>=(k|0)){i=44;break}d=j+(e<<2)|0;if((aB((c[d>>2]|0)+4|0,4,1,a)|0)!=1){i=15;break}if((aB((c[d>>2]|0)+8|0,4,1,a)|0)!=1){i=22;break}if((aB((c[d>>2]|0)+12|0,4,1,a)|0)!=1){i=29;break}i=c[d>>2]|0;i=iB(C(c[i+8>>2]|0,c[i+4>>2]|0)|0)|0;c[c[d>>2]>>2]=i;if(!i){i=36;break}g=c[d>>2]|0;g=aB(c[g>>2]|0,1,C(c[g+8>>2]|0,c[g+4>>2]|0)|0,a)|0;i=c[d>>2]|0;e=e+1|0;if((g|0)!=(C(c[i+8>>2]|0,c[i+4>>2]|0)|0)){i=38;break}}b:do if((i|0)==15){d=0;while(1){if((d|0)==(e|0))break;jB(c[c[j+(d<<2)>>2]>>2]|0);d=d+1|0}d=0;while(1){if((d|0)==(k|0))break b;jB(c[j+(d<<2)>>2]|0);d=d+1|0}}else if((i|0)==22){d=0;while(1){if((d|0)==(e|0))break;jB(c[c[j+(d<<2)>>2]>>2]|0);d=d+1|0}d=0;while(1){if((d|0)==(k|0))break b;jB(c[j+(d<<2)>>2]|0);d=d+1|0}}else if((i|0)==29){d=0;while(1){if((d|0)==(e|0))break;jB(c[c[j+(d<<2)>>2]>>2]|0);d=d+1|0}d=0;while(1){if((d|0)==(k|0))break b;jB(c[j+(d<<2)>>2]|0);d=d+1|0}}else if((i|0)==36){Ie(0,3,20454,h);La(1)}else if((i|0)==38){d=0;while(1){if((d|0)==(e|0))break;jB(c[c[j+(d<<2)>>2]>>2]|0);d=d+1|0}d=0;while(1){if((d|0)==(k|0))break b;jB(c[j+(d<<2)>>2]|0);d=d+1|0}}else if((i|0)==44){Uz(a)|0;break a}while(0);jB(j);i=46}else i=5;while(0);if((i|0)==5){Ie(0,3,19470,e);i=46}if((i|0)==46){jB(b);Uz(a)|0;b=0}yb=l;return b|0}function Oe(a){a=a|0;var b=0,d=0,e=0;if((a|0)!=0?(b=c[a>>2]|0,(b|0)!=0):0){e=0;while(1){d=c[b>>2]|0;if((e|0)>=(c[b+4>>2]|0))break;jB(c[c[d+(e<<2)>>2]>>2]|0);jB(c[(c[c[a>>2]>>2]|0)+(e<<2)>>2]|0);e=e+1|0;b=c[a>>2]|0}jB(d);jB(c[a>>2]|0);c[a>>2]=0;b=0}else b=-1;return b|0}function Pe(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=iB(20)|0;if(!b){Ie(0,3,20454,d);La(1)}a=Qe(a,b+8|0,b+12|0,b+4|0,b+16|0)|0;c[b>>2]=a;if(!a){jB(b);b=0}yb=d;return b|0}function Qe(d,e,g,h,i){d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var l=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,D=0,E=0;E=yb;yb=yb+800|0;z=E+504|0;y=E+496|0;x=E+488|0;A=4;D=iB(40)|0;c[D>>2]=0;B=E+24|0;n=E+512|0;w=E;XN(B|0,0,464)|0;j=0;o=H(62,n|0)|0;l=j;j=0;if((l|0)!=0&(k|0)!=0){m=TN(c[l>>2]|0,D|0,A|0)|0;if(!m)Ta(l|0,k|0);F(k|0)}else m=-1;l=G()|0;if((m|0)!=1){c[B>>2]=o;c[n>>2]=112;D=SN(n+132|0,1,D|0,A|0)|0;A=G()|0;j=0;l=j;j=0;if((l|0)!=0&(k|0)!=0){m=TN(c[l>>2]|0,D|0,A|0)|0;if(!m)Ta(l|0,k|0);F(k|0)}else m=-1;l=G()|0;if((m|0)==1)m=l;else m=0}else m=l;a:while(1){if(m|0){j=0;K(113,B|0);l=j;j=0;if((l|0)!=0&(k|0)!=0){m=TN(c[l>>2]|0,D|0,A|0)|0;if(!m)Ta(l|0,k|0);F(k|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}j=0;N(8,0,3,19583,x|0);l=j;j=0;if((l|0)!=0&(k|0)!=0){m=TN(c[l>>2]|0,D|0,A|0)|0;if(!m)Ta(l|0,k|0);F(k|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}else{m=7;break}}j=0;M(1,B|0,62,464);l=j;j=0;if((l|0)!=0&(k|0)!=0){m=TN(c[l>>2]|0,D|0,A|0)|0;if(!m)Ta(l|0,k|0);F(k|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}j=0;L(39,B|0,d|0);l=j;j=0;if((l|0)!=0&(k|0)!=0){m=TN(c[l>>2]|0,D|0,A|0)|0;if(!m)Ta(l|0,k|0);F(k|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}j=0;m=I(19,B|0,1)|0;l=j;j=0;if((l|0)!=0&(k|0)!=0){n=TN(c[l>>2]|0,D|0,A|0)|0;if(!n)Ta(l|0,k|0);F(k|0)}else n=-1;l=G()|0;if((n|0)==1){m=l;continue}if((m|0)!=1){j=0;N(8,0,3,19609,y|0);l=j;j=0;if((l|0)!=0&(k|0)!=0){m=TN(c[l>>2]|0,D|0,A|0)|0;if(!m)Ta(l|0,k|0);F(k|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}j=0;K(113,B|0);l=j;j=0;if((l|0)!=0&(k|0)!=0){m=TN(c[l>>2]|0,D|0,A|0)|0;if(!m)Ta(l|0,k|0);F(k|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}else{m=14;break}}j=0;H(63,B|0)|0;l=j;j=0;if((l|0)!=0&(k|0)!=0){m=TN(c[l>>2]|0,D|0,A|0)|0;if(!m)Ta(l|0,k|0);F(k|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}t=B+36|0;u=B+28|0;s=C(c[u>>2]|0,c[t>>2]|0)|0;v=B+32|0;l=C(s,c[v>>2]|0)|0;j=0;l=H(64,l|0)|0;m=j;j=0;if((m|0)!=0&(k|0)!=0){n=TN(c[m>>2]|0,D|0,A|0)|0;if(!n)Ta(m|0,k|0);F(k|0)}else n=-1;m=G()|0;if((n|0)==1)continue;if(!l){j=0;N(8,0,3,20454,z|0);l=j;j=0;if((l|0)!=0&(k|0)!=0){m=TN(c[l>>2]|0,D|0,A|0)|0;if(!m)Ta(l|0,k|0);F(k|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}j=0;K(113,B|0);l=j;j=0;if((l|0)!=0&(k|0)!=0){m=TN(c[l>>2]|0,D|0,A|0)|0;if(!m)Ta(l|0,k|0);F(k|0)}else m=-1;l=G()|0;if((m|0)==1){m=l;continue}else{m=20;break}}q=B+140|0;r=B+116|0;p=0;while(1){if((c[q>>2]|0)>>>0>=(c[r>>2]|0)>>>0)break;m=0;while(1){if((m|0)==5)break;c[w+(m<<2)>>2]=l+(C(m+p|0,s)|0);m=m+1|0}j=0;n=J(26,B|0,w|0,5)|0;m=j;j=0;if((m|0)!=0&(k|0)!=0){o=TN(c[m>>2]|0,D|0,A|0)|0;if(!o)Ta(m|0,k|0);F(k|0)}else o=-1;m=G()|0;if((o|0)==1)continue a;p=n+p|0}j=0;H(65,B|0)|0;m=j;j=0;if((m|0)!=0&(k|0)!=0){n=TN(c[m>>2]|0,D|0,A|0)|0;if(!n)Ta(m|0,k|0);F(k|0)}else n=-1;m=G()|0;if((n|0)==1)continue;j=0;K(113,B|0);m=j;j=0;if((m|0)!=0&(k|0)!=0){n=TN(c[m>>2]|0,D|0,A|0)|0;if(!n)Ta(m|0,k|0);F(k|0)}else n=-1;m=G()|0;if((n|0)!=1){m=30;break}}b:do if((m|0)==7)l=0;else if((m|0)==14)l=0;else if((m|0)==20)l=0;else if((m|0)==30){if(e|0)c[e>>2]=c[u>>2];if(g|0)c[g>>2]=c[v>>2];if(h|0)c[h>>2]=c[t>>2];if(i){m=a[B+286>>0]|0;switch(m<<24>>24){case 1:{m=b[B+288>>1]|0;if(m<<16>>16==(b[B+290>>1]|0)){f[i>>2]=+(m&65535);break b}break}case 2:{m=b[B+288>>1]|0;if(m<<16>>16==(b[B+290>>1]|0)){f[i>>2]=+(m&65535)*2.5399999618530273;break b}break}default:if(((m&255)>2?(b[B+288>>1]|0)==0:0)?(b[B+290>>1]|0)==0:0){f[i>>2]=+(m&255);break b}}f[i>>2]=0.0}}while(0);jB(D|0);yb=E;return l|0}function Re(a){a=a|0;Ta((c[a>>2]|0)+132|0,1)}function Se(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,l=0,m=0,n=0,o=0;o=yb;yb=yb+1088|0;m=o+1072|0;l=o+1064|0;n=o+1056|0;g=o+1048|0;f=o+1040|0;e=o+1032|0;h=o+1024|0;i=o+768|0;j=o+512|0;k=o;c[h>>2]=a;c[h+4>>2]=b;wz(k,20471,h)|0;k=Oz(k,19680)|0;if(!k)a=0;else{a=iB(8)|0;if(!a){Ie(0,3,20454,e);La(1)}a:do if(Te(i,k)|0){h=a+4|0;c[f>>2]=h;if((Zz(i,19714,f)|0)!=1){jB(a);a=0;break}b=c[h>>2]|0;if((b|0)<1){jB(a);a=0;break}f=iB(b*56|0)|0;c[a>>2]=f;if(!f){Ie(0,3,20454,g);La(1)}f=0;b:while(1){if((f|0)>=(b|0))break a;if(!(Te(i,k)|0)){b=15;break}c[n>>2]=j;if((Zz(i,19741,n)|0)!=1){b=17;break}g=qd(d,j)|0;e=c[a>>2]|0;c[e+(f*56|0)+4>>2]=g;if((g|0)<0){b=19;break}if(!(Te(i,k)|0)){b=21;break}c[l>>2]=(c[a>>2]|0)+(f*56|0);if((Zz(i,19642,l)|0)!=1){b=24;break}b=0;while(1){if(b>>>0>=3)break;if(!(Te(i,k)|0)){b=27;break b}g=c[a>>2]|0;c[m>>2]=g+(f*56|0)+8+(b<<4);c[m+4>>2]=g+(f*56|0)+8+(b<<4)+4;c[m+8>>2]=g+(f*56|0)+8+(b<<4)+8;c[m+12>>2]=g+(f*56|0)+8+(b<<4)+12;if((Zz(i,19907,m)|0)==4)b=b+1|0;else{b=29;break b}}f=f+1|0;b=c[h>>2]|0}if((b|0)==15){jB(c[a>>2]|0);jB(a);a=0;break}else if((b|0)==17){jB(c[a>>2]|0);jB(a);a=0;break}else if((b|0)==19){jB(e);jB(a);a=0;break}else if((b|0)==21){jB(c[a>>2]|0);jB(a);a=0;break}else if((b|0)==24){jB(c[a>>2]|0);jB(a);a=0;break}else if((b|0)==27){jB(c[a>>2]|0);jB(a);a=0;break}else if((b|0)==29){jB(c[a>>2]|0);jB(a);a=0;break}}else{jB(a);a=0}while(0);Uz(k)|0}yb=o;return a|0}function Te(b,c){b=b|0;c=c|0;var d=0;a:while(1){d=Xz(b,256,c)|0;if(!d){d=0;break}switch(a[b>>0]|0){case 35:case 10:break;default:break a}}return d|0}function Ue(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,r=0,s=0,t=0,u=0,v=0;v=yb;yb=yb+640|0;s=v+624|0;r=v+616|0;q=v+608|0;p=v+600|0;o=v+592|0;n=v+584|0;m=v+576|0;l=v+568|0;k=v+560|0;j=v+552|0;g=v+544|0;f=v+536|0;e=v+528|0;d=v+520|0;i=v+512|0;t=v;c[i>>2]=a;c[i+4>>2]=b;wz(t,20471,i)|0;t=Oz(t,20063)|0;if(!t){c[d>>2]=a;Ie(0,3,19645,d);b=0}else{b=iB(8)|0;if(!b){Ie(0,3,20454,e);La(1)}a=b+4|0;a:do if((aB(a,4,1,t)|0)==1){h=c[a>>2]|0;i=iB(h*20|0)|0;c[b>>2]=i;if(!i){Ie(0,3,20454,g);La(1)}g=0;b:while(1){if((g|0)>=(h|0))break a;if((aB(i+(g*20|0)+8|0,4,1,t)|0)!=1){u=12;break}if((aB(i+(g*20|0)+12|0,4,1,t)|0)!=1){u=15;break}if((aB(i+(g*20|0)+16|0,4,1,t)|0)!=1){u=17;break}e=i+(g*20|0)+4|0;if((aB(e,4,1,t)|0)!=1){u=19;break}a=c[e>>2]|0;d=iB(a*20|0)|0;f=i+(g*20|0)|0;c[f>>2]=d;if(!d){u=22;break}d=0;while(1){if((d|0)>=(a|0))break;if((aB((c[f>>2]|0)+(d*20|0)|0,4,1,t)|0)!=1){u=25;break b}if((aB((c[f>>2]|0)+(d*20|0)+4|0,4,1,t)|0)!=1){u=27;break b}if((aB((c[f>>2]|0)+(d*20|0)+8|0,4,1,t)|0)!=1){u=29;break b}if((aB((c[f>>2]|0)+(d*20|0)+12|0,4,1,t)|0)!=1){u=31;break b}if((aB((c[f>>2]|0)+(d*20|0)+16|0,4,1,t)|0)!=1){u=34;break b}d=d+1|0;a=c[e>>2]|0}g=g+1|0}switch(u|0){case 12:{Ie(0,3,19666,j);break}case 15:{Ie(0,3,19666,k);break}case 17:{Ie(0,3,19666,l);break}case 19:{Ie(0,3,19666,m);break}case 22:{Ie(0,3,20454,n);La(1);break}case 25:{Ie(0,3,19666,o);break}case 27:{Ie(0,3,19666,p);break}case 29:{Ie(0,3,19666,q);break}case 31:{Ie(0,3,19666,r);break}case 34:{Ie(0,3,19666,s);break}}a=0;while(1){if((a|0)==(g|0))break;jB(c[i+(a*20|0)>>2]|0);a=a+1|0}jB(i);u=39}else{Ie(0,3,19666,f);u=39}while(0);if((u|0)==39){jB(b);b=0}Uz(t)|0}yb=v;return b|0}function Ve(a){a=a|0;var b=0,d=0,e=0;b=c[a>>2]|0;if(!b)b=-1;else{e=0;while(1){d=c[b>>2]|0;if((e|0)>=(c[b+4>>2]|0))break;jB(c[d+(e*20|0)>>2]|0);e=e+1|0;b=c[a>>2]|0}jB(d);jB(c[a>>2]|0);c[a>>2]=0;b=0}return b|0}function We(b,d,e){b=b|0;d=d|0;e=e|0;var 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,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=yb;yb=yb+1248|0;L=M+1232|0;K=M+1224|0;J=M+1208|0;I=M+1200|0;H=M+1184|0;G=M+1176|0;F=M+1160|0;E=M+1152|0;D=M+1144|0;C=M+1136|0;B=M+1128|0;A=M+1120|0;z=M+1112|0;y=M+1104|0;x=M+1096|0;w=M+1088|0;v=M+1080|0;u=M+1072|0;p=M+1064|0;l=M+1056|0;k=M+1048|0;j=M+1040|0;i=M+1032|0;h=M+1024|0;r=M+768|0;s=M+512|0;t=M+1236|0;g=M;do if(((d|0)!=0?(a[d>>0]|0)!=0:0)?(Ny(d,44129)|0)!=0:0){c[h>>2]=b;c[h+4>>2]=d;wz(g,20471,h)|0;d=Oz(g,19680)|0;if(!d){c[i>>2]=b;Ie(0,3,19682,i);q=Ez(c[(cy()|0)>>2]|0)|0;c[j>>2]=56574;c[j+4>>2]=q;Ie(0,3,19708,j);q=0;break}else{n=d;d=1;m=8;break}}else m=4;while(0);if((m|0)==4){sA(s,b,255)|0;a[s+255>>0]=0;n=0;d=0;m=8}do if((m|0)==8){o=iB(1140)|0;if(!o){Ie(0,3,20454,k);La(1)}k=(d|0)!=0;if(k){if(!(Xe(r,n)|0)){Uz(n)|0;jB(o);q=0;break}c[l>>2]=t;if((Zz(r,19714,l)|0)!=1){Uz(n)|0;jB(o);q=0;break}d=c[t>>2]|0;if((d|0)<1){Uz(n)|0;jB(o);q=0;break}}else d=1;c[o+4>>2]=d;c[o+152>>2]=0;j=iB(d*112|0)|0;c[o>>2]=j;if(!j){Ie(0,3,20454,p);La(1)}i=(e|0)==0;g=0;a:while(1){c[t>>2]=g;if((g|0)>=(d|0)){m=57;break}c[u>>2]=g+1;Ie(0,1,19717,u);if(k){if(!(Xe(r,n)|0)){m=57;break}c[v>>2]=s;if((Zz(r,19741,v)|0)!=1){m=57;break}Ze(s)|0}Ie(0,1,19744,w);p=Me(s)|0;c[j+((c[t>>2]|0)*112|0)>>2]=p;if(!p){m=26;break}Ie(0,1,19793,y);Ie(0,1,19803,z);p=Ue(s,44129)|0;c[j+((c[t>>2]|0)*112|0)+4>>2]=p;if(!p){m=29;break}Ie(0,1,19793,B);if(i)c[j+((c[t>>2]|0)*112|0)+8>>2]=0;else{Ie(0,1,19854,C);Ze(s)|0;p=Se(s,19873,e)|0;c[j+((c[t>>2]|0)*112|0)+8>>2]=p;if(!p){m=33;break}Ie(0,1,19793,E)}b:do if(k){if(!(Xe(r,n)|0)){m=57;break a}p=c[t>>2]|0;c[F>>2]=j+(p*112|0)+12;c[F+4>>2]=j+(p*112|0)+16;c[F+8>>2]=j+(p*112|0)+20;c[F+12>>2]=j+(p*112|0)+24;if((Zz(r,19907,F)|0)!=4){m=40;break a}if(!(Xe(r,n)|0)){m=57;break a}p=c[t>>2]|0;c[H>>2]=j+(p*112|0)+28;c[H+4>>2]=j+(p*112|0)+32;c[H+8>>2]=j+(p*112|0)+36;c[H+12>>2]=j+(p*112|0)+40;if((Zz(r,19907,H)|0)!=4){m=43;break a}if(!(Xe(r,n)|0)){m=57;break a}p=c[t>>2]|0;c[J>>2]=j+(p*112|0)+44;c[J+4>>2]=j+(p*112|0)+48;c[J+8>>2]=j+(p*112|0)+52;c[J+12>>2]=j+(p*112|0)+56;if((Zz(r,19907,J)|0)!=4){m=47;break a}g=c[t>>2]|0}else{g=c[t>>2]|0;b=0;while(1){if((b|0)==3)break b;h=0;while(1){if((h|0)==4)break;f[j+(g*112|0)+12+(b<<4)+(h<<2)>>2]=(b|0)==(h|0)?1.0:0.0;h=h+1|0}b=b+1|0}}while(0);ud(j+(g*112|0)+12|0,j+(g*112|0)+60|0)|0;Ye(s,256,19955)|0;g=iB(256)|0;c[j+((c[t>>2]|0)*112|0)+108>>2]=g;if(!g){m=55;break}sA(g,s,256)|0;g=(c[t>>2]|0)+1|0}if((m|0)==26){c[x>>2]=s;Ie(0,3,19762,x);jB(j);jB(o);if(!n){q=0;break}Uz(n)|0;q=0;break}else if((m|0)==29){c[A>>2]=s;Ie(0,3,19823,A);Oe(j+((c[t>>2]|0)*112|0)|0)|0;jB(j);jB(o);if(!n){q=0;break}Uz(n)|0;q=0;break}else if((m|0)==33){c[D>>2]=s;Ie(0,3,19877,D);Ve(j+((c[t>>2]|0)*112|0)+4|0)|0;Oe(j+((c[t>>2]|0)*112|0)|0)|0;jB(j);jB(o);if(!n){q=0;break}Uz(n)|0;q=0;break}else if((m|0)==40){Ie(0,3,19919,G);Uz(n)|0;La(0)}else if((m|0)==43){Ie(0,3,19919,I);Uz(n)|0;La(0)}else if((m|0)==47){Ie(0,3,19919,K);Uz(n)|0;La(0)}else if((m|0)==55){Ie(0,3,20454,L);La(1)}else if((m|0)==57){if(n|0)Uz(n)|0;if((c[t>>2]|0)>=(d|0)){q=o;break}La(0)}}while(0);yb=M;return q|0}function Xe(b,c){b=b|0;c=c|0;var d=0;a:while(1){d=Xz(b,256,c)|0;if(!d){d=0;break}switch(a[b>>0]|0){case 35:case 10:break;default:break a}}return d|0}function Ye(a,b,c){a=a|0;b=b|0;c=c|0;return xd(a,b,c)|0}function Ze(a){a=a|0;return yd(a)|0}function _e(a){a=a|0;return $e(a,c[a>>2]|0,c[a+4>>2]|0,1)|0}function $e(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=yb;yb=yb+16|0;f=kB(1,4156)|0;if(!f){Ie(0,3,20454,g);La(1)}else{h=aM(4)|0;Xi(h);c[f>>2]=h;c[f+4>>2]=a;c[f+8>>2]=e;c[f+12>>2]=b;c[f+16>>2]=d;c[f+20>>2]=1;c[f+24>>2]=-1;e=f+28|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;c[e+20>>2]=0;c[e+24>>2]=0;c[e+28>>2]=0;yb=g;return f|0}return 0}function af(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function bf(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;if(d|0){e=a+4|0;b=c[e>>2]|0;while(1){if((b|0)==(d|0))break;f=b+-20|0;cf(f);b=f}c[e>>2]=d;cM(c[a>>2]|0)}return}function cf(a){a=a|0;return}function df(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,r=0,s=0,t=0;s=yb;yb=yb+48|0;r=s+40|0;p=s+32|0;m=s+24|0;k=s+16|0;f=s+8|0;e=s;if((a|0)!=0&(b|0)!=0){e=c[a>>2]|0;do if(!e){e=iB(16)|0;c[a>>2]=e;if(!e){Ie(0,3,20454,f);La(1)}else{c[e+4>>2]=0;c[e>>2]=0;c[e+12>>2]=0;c[e+8>>2]=0;l=e;d=e;break}}else{l=e;d=e}while(0);f=c[b>>2]|0;if(!f)d=0;else{g=c[l+4>>2]|0;h=c[f+4>>2]|0;i=h+g|0;j=iB(i*132|0)|0;if(!j){Ie(0,3,20454,k);La(1)}e=0;while(1){if((e|0)>=(g|0))break;VN(j+(e*132|0)|0,(c[l>>2]|0)+(e*132|0)|0,132)|0;e=e+1|0}e=0;while(1){if((e|0)>=(h|0))break;VN(j+((e+g|0)*132|0)|0,(c[f>>2]|0)+(e*132|0)|0,132)|0;e=e+1|0}e=c[l>>2]|0;if(e){jB(e);d=c[a>>2]|0}c[d>>2]=j;h=c[a>>2]|0;c[h+4>>2]=i;k=c[h+12>>2]|0;g=c[b>>2]|0;l=c[g+12>>2]|0;g=g+8|0;h=h+8|0;d=0;f=0;while(1){if((f|0)>=(l|0))break;e=0;while(1){if((e|0)>=(k|0))break;if((c[(c[g>>2]|0)+(f*12|0)+8>>2]|0)==(c[(c[h>>2]|0)+(e*12|0)+8>>2]|0)){q=23;break}else e=e+1|0}if((q|0)==23){q=0;d=d+1|0}f=f+1|0}n=l+k-d|0;o=iB(n*12|0)|0;if(!o){Ie(0,3,20454,m);La(1)}j=0;while(1){if((j|0)>=(k|0))break;h=(c[a>>2]|0)+8|0;d=c[h>>2]|0;g=d+(j*12|0)+8|0;c[o+(j*12|0)+8>>2]=c[g>>2];d=c[d+(j*12|0)+4>>2]|0;f=0;while(1){if((f|0)>=(l|0))break;e=c[(c[b>>2]|0)+8>>2]|0;if((c[e+(f*12|0)+8>>2]|0)==(c[g>>2]|0))d=(c[e+(f*12|0)+4>>2]|0)+d|0;f=f+1|0}i=o+(j*12|0)|0;m=iB(d*12|0)|0;c[i>>2]=m;if(!m){q=36;break}h=c[(c[h>>2]|0)+(j*12|0)+4>>2]|0;e=0;while(1){if((e|0)>=(h|0))break;g=(c[(c[(c[a>>2]|0)+8>>2]|0)+(j*12|0)>>2]|0)+(e*12|0)|0;m=(c[i>>2]|0)+(e*12|0)|0;c[m>>2]=c[g>>2];c[m+4>>2]=c[g+4>>2];c[m+8>>2]=c[g+8>>2];e=e+1|0}g=0;while(1){if((g|0)>=(l|0))break;e=c[(c[b>>2]|0)+8>>2]|0;if((c[e+(g*12|0)+8>>2]|0)==(c[(c[(c[a>>2]|0)+8>>2]|0)+(j*12|0)+8>>2]|0)){q=43;break}g=g+1|0}a:do if((q|0)==43){q=0;f=0;while(1){if((f|0)>=(c[e+(g*12|0)+4>>2]|0))break a;t=(c[e+(g*12|0)>>2]|0)+(f*12|0)|0;m=(c[i>>2]|0)+((f+h|0)*12|0)|0;c[m>>2]=c[t>>2];c[m+4>>2]=c[t+4>>2];c[m+8>>2]=c[t+8>>2];f=f+1|0;e=c[(c[b>>2]|0)+8>>2]|0}}while(0);c[o+(j*12|0)+4>>2]=d;j=j+1|0}if((q|0)==36){Ie(0,3,20454,p);La(1)}d=0;j=0;while(1){if((j|0)>=(l|0))break;f=c[(c[b>>2]|0)+8>>2]|0;g=c[f+(j*12|0)+8>>2]|0;e=0;while(1){if((e|0)>=(k|0)){q=53;break}if((g|0)==(c[(c[(c[a>>2]|0)+8>>2]|0)+(e*12|0)+8>>2]|0)){q=52;break}else e=e+1|0}if((q|0)==52){q=0;d=d+1|0}else if((q|0)==53){q=0;h=j+k-d|0;i=o+(h*12|0)|0;c[o+(h*12|0)+8>>2]=g;f=c[f+(j*12|0)+4>>2]|0;t=iB(f*12|0)|0;c[i>>2]=t;if(!t){q=55;break}e=0;while(1){if((e|0)>=(f|0))break;p=(c[(c[(c[b>>2]|0)+8>>2]|0)+(j*12|0)>>2]|0)+(e*12|0)|0;t=(c[i>>2]|0)+(e*12|0)|0;c[t>>2]=c[p>>2];c[t+4>>2]=c[p+4>>2];c[t+8>>2]=c[p+8>>2];e=e+1|0}c[o+(h*12|0)+4>>2]=f}j=j+1|0}if((q|0)==55){Ie(0,3,20454,r);La(1)}e=c[a>>2]|0;d=e+8|0;g=c[d>>2]|0;if(g){f=0;d=g;while(1){if((f|0)>=(c[e+12>>2]|0))break;jB(c[d+(f*12|0)>>2]|0);t=c[a>>2]|0;f=f+1|0;e=t;d=c[t+8>>2]|0}jB(d);d=(c[a>>2]|0)+8|0}c[d>>2]=o;c[(c[a>>2]|0)+12>>2]=n;ef(b)|0;d=0}}else{Ie(0,3,19959,e);d=-1}yb=s;return d|0}function ef(a){a=a|0;var b=0,d=0,e=0,f=0;e=yb;yb=yb+16|0;if(a){b=c[a>>2]|0;if(!b)b=0;else{b=c[b>>2]|0;if(b|0)jB(b);b=0;while(1){f=c[a>>2]|0;d=f+8|0;if((b|0)>=(c[f+12>>2]|0))break;jB(c[(c[d>>2]|0)+(b*12|0)>>2]|0);b=b+1|0}jB(c[d>>2]|0);jB(c[a>>2]|0);c[a>>2]=0;b=0}}else{Ie(0,3,20019,e);b=-1}yb=e;return b|0}function ff(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,l=0,m=0,n=0,o=0,p=0;p=yb;yb=yb+64|0;o=p+56|0;n=p+48|0;l=p+40|0;k=p+32|0;j=p+24|0;i=p+8|0;h=p;g=p+60|0;a[g>>0]=a[20063]|0;a[g+1>>0]=a[20064]|0;a[g+2>>0]=a[20065]|0;a:do if((b|0)!=0&(e|0)!=0){m=Wf(b,d,g)|0;if(!m){f=(d|0)!=0;c[i>>2]=b;c[i+4>>2]=f?46270:56574;c[i+8>>2]=f?d:56574;Ie(0,3,20117,i);f=-1;break}i=kB(1,16)|0;if(!i){Ie(0,3,20454,j);La(1)}h=i+4|0;b:do if((aB(h,4,1,m)|0)==1?(f=c[h>>2]|0,(f|0)>=1):0){j=iB(f*132|0)|0;c[i>>2]=j;if(!j){Ie(0,3,20454,k);La(1)}g=0;while(1){if((g|0)>=(f|0))break;if((aB((c[i>>2]|0)+(g*132|0)|0,8,1,m)|0)!=1)break b;if((aB((c[i>>2]|0)+(g*132|0)+8|0,8,1,m)|0)!=1)break b;if((aB((c[i>>2]|0)+(g*132|0)+16|0,108,1,m)|0)!=1)break b;if((aB((c[i>>2]|0)+(g*132|0)+124|0,4,1,m)|0)!=1)break b;if((aB((c[i>>2]|0)+(g*132|0)+128|0,4,1,m)|0)!=1)break b;g=g+1|0;f=c[h>>2]|0}b=i+12|0;if((aB(b,4,1,m)|0)==1){f=c[b>>2]|0;if((f|0)<1){c[i+8>>2]=0;break}k=iB(f*12|0)|0;d=i+8|0;c[d>>2]=k;if(!k){Ie(0,3,20454,l);La(1)}h=0;while(1){if((h|0)>=(f|0)){f=32;break}if((aB((c[d>>2]|0)+(h*12|0)+8|0,4,1,m)|0)!=1)break b;if((aB((c[d>>2]|0)+(h*12|0)+4|0,4,1,m)|0)!=1)break b;l=c[d>>2]|0;f=c[l+(h*12|0)+4>>2]|0;g=iB(f*12|0)|0;c[l+(h*12|0)>>2]=g;if(!g){f=29;break}if((aB(g,12,f,m)|0)!=(f|0))break b;h=h+1|0;f=c[b>>2]|0}if((f|0)==29){Ie(0,3,20454,n);La(1)}else if((f|0)==32){c[e>>2]=i;Uz(m)|0;f=0;break a}}}while(0);Ie(0,3,20184,o);f=c[i+8>>2]|0;if(f|0)jB(f);f=c[i>>2]|0;if(f|0)jB(f);jB(i);Uz(m)|0;f=-1}else{Ie(0,3,20066,h);f=-1}while(0);yb=p;return f|0}function gf(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=yb;yb=yb+16|0;a:do if(!a){Ie(0,3,20229,j);e=-1}else{g=c[a+4>>2]|0;i=(b|0)==-1;e=0;while(1){if((e|0)>=(g|0))break;f=(c[a>>2]|0)+(e*132|0)+124|0;h=c[f>>2]|0;if((h|0)==(b|0)|i&(h|0)>-1)c[f>>2]=d;e=e+1|0}h=c[a+12>>2]|0;f=a+8|0;e=0;while(1){if((e|0)>=(h|0)){e=0;break a}g=(c[f>>2]|0)+(e*12|0)+8|0;a=c[g>>2]|0;if((a|0)==(b|0)|i&(a|0)>-1)c[g>>2]=d;e=e+1|0}}while(0);yb=j;return e|0}function hf(){return -1}function jf(a,b){a=a|0;b=b|0;return lf(a,b,kf(b)|0)|0}function kf(a){a=a|0;return Ey(a)|0}function lf(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,l=0,m=0;l=yb;yb=yb+16|0;g=l+12|0;j=l;k=l+8|0;MC(j,b);if(a[j>>0]|0){h=(c[b>>2]|0)+-12|0;c[k>>2]=c[b+(c[h>>2]|0)+24>>2];h=b+(c[h>>2]|0)|0;i=c[h+4>>2]|0;f=d+e|0;m=hf()|0;e=h+76|0;if(mf(m,c[e>>2]|0)|0){HC(g,h);m=WD(g,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,32)|0;XD(g);m=m<<24>>24;c[e>>2]=m;e=m}else e=c[e>>2]|0;c[g>>2]=c[k>>2];if(!(nf(g,d,(i&176|0)==32?f:d,f,h,e&255)|0)){m=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;FC(m,c[m+16>>2]|5)}}NC(j);yb=l;return b|0}function mf(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function nf(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,l=0,m=0,n=0;n=yb;yb=yb+16|0;m=n;i=c[b>>2]|0;a:do if(!i)i=0;else{k=d;j=f-k|0;l=g+12|0;g=c[l>>2]|0;g=(g|0)>(j|0)?g-j|0:0;j=e;k=j-k|0;if((k|0)>0?(Hb[c[(c[i>>2]|0)+48>>2]&63](i,d,k)|0)!=(k|0):0){c[b>>2]=0;i=0;break}do if((g|0)>0){c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;lM(m,g,h);if((Hb[c[(c[i>>2]|0)+48>>2]&63](i,(a[m+11>>0]|0)<0?c[m>>2]|0:m,g)|0)==(g|0)){nM(m);break}else{c[b>>2]=0;nM(m);i=0;break a}}while(0);f=f-j|0;if((f|0)>0?(Hb[c[(c[i>>2]|0)+48>>2]&63](i,e,f)|0)!=(f|0):0){c[b>>2]=0;i=0;break}c[l>>2]=0}while(0);yb=n;return i|0}function of(a){a=a|0;R(a|0)|0;iN()}function pf(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;j=yb;yb=yb+16|0;g=d;i=j;f=e-g|0;if(f>>>0>4294967279)iM(b);if(f>>>0<11){a[b+11>>0]=f;h=b}else{k=f+16&-16;h=aM(k)|0;c[b>>2]=h;c[b+8>>2]=k|-2147483648;c[b+4>>2]=f}f=e-g|0;b=h;while(1){if((d|0)==(e|0))break;qf(b,d);d=d+1|0;b=b+1|0}a[i>>0]=0;qf(h+f|0,i);yb=j;return}function qf(b,c){b=b|0;c=c|0;a[b>>0]=a[c>>0]|0;return}function rf(a){a=a|0;return a&255|0}function sf(a){a=a|0;if(mf(a,hf()|0)|0)a=~(hf()|0);return a|0}function tf(a){a=a|0;return a&255|0}function uf(b,d){b=b|0;d=d|0;var e=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,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=yb;yb=yb+112|0;z=A+48|0;p=A+40|0;n=A+32|0;l=A+24|0;h=A+16|0;g=A+8|0;e=A;v=A+96|0;w=A+84|0;x=A+72|0;y=A+52|0;a:do if((b|0)!=0&(d|0)!=0){i=d+4|0;e=c[i>>2]|0;if(!e){Ie(0,3,20326,g);e=-1;break}u=b+28|0;g=c[u>>2]|0;if(g){jB(g);e=c[i>>2]|0;if(!e){c[u>>2]=0;e=0}else j=7}else j=7;b:do if((j|0)==7){t=iB(e*132|0)|0;c[u>>2]=t;if(!t){Ie(0,3,20454,h);La(1)}g=0;while(1){if((g|0)>=(e|0))break b;VN((c[u>>2]|0)+(g*132|0)|0,(c[d>>2]|0)+(g*132|0)|0,132)|0;g=g+1|0;e=c[i>>2]|0}}while(0);m=b+32|0;c[m>>2]=e;t=b+36|0;e=c[t>>2]|0;if(e|0){i=b+40|0;h=0;while(1){if((h|0)>=(c[i>>2]|0))break;g=c[e+(h*12|0)>>2]|0;if(g){jB(g);e=c[t>>2]|0}h=h+1|0}jB(e)}k=d+12|0;e=c[k>>2]|0;c:do if(!e){c[t>>2]=0;o=0}else{s=iB(e*12|0)|0;c[t>>2]=s;if(!s){Ie(0,3,20454,l);La(1)}d=d+8|0;j=0;while(1){if((j|0)>=(e|0)){o=e;break c}i=c[d>>2]|0;g=c[t>>2]|0;c[g+(j*12|0)+8>>2]=c[i+(j*12|0)+8>>2];h=i+(j*12|0)+4|0;c[g+(j*12|0)+4>>2]=c[h>>2];h=c[h>>2]|0;if(!h)c[i+(j*12|0)>>2]=0;else{s=iB(h*12|0)|0;c[g+(j*12|0)>>2]=s;if(!s)break;g=0;e=i;while(1){if((g|0)>=(c[e+(j*12|0)+4>>2]|0))break;r=(c[e+(j*12|0)>>2]|0)+(g*12|0)|0;s=(c[(c[t>>2]|0)+(j*12|0)>>2]|0)+(g*12|0)|0;c[s>>2]=c[r>>2];c[s+4>>2]=c[r+4>>2];c[s+8>>2]=c[r+8>>2];g=g+1|0;e=c[d>>2]|0}e=c[k>>2]|0}j=j+1|0}Ie(0,3,20454,n);La(1)}while(0);s=b+40|0;c[s>>2]=o;i=b+52|0;e=c[i>>2]|0;if(e|0){jB(e);c[i>>2]=0;c[b+56>>2]=0}g=c[k>>2]|0;d:do if((g|0)>0){c[b+56>>2]=g;h=iB(g*68|0)|0;c[i>>2]=h;if(!h){Ie(0,3,20454,p);La(1)}e=0;while(1){if((e|0)==(g|0))break d;c[h+(e*68|0)+64>>2]=0;e=e+1|0}}while(0);l=c[m>>2]|0;if(!l)e=0;else{m=v+4|0;n=v+8|0;o=w+4|0;p=w+8|0;q=x+4|0;r=x+8|0;k=0;e=0;while(1){if((k|0)>=(c[s>>2]|0)){e=0;break a}d=0;while(1){if((d|0)>=(c[(c[t>>2]|0)+(k*12|0)+4>>2]|0))break;c[v>>2]=0;c[m>>2]=0;c[n>>2]=0;c[w>>2]=0;c[o>>2]=0;c[p>>2]=0;c[x>>2]=0;c[q>>2]=0;c[r>>2]=0;j=0;while(1){if((j|0)>=(l|0))break;g=c[u>>2]|0;i=c[t>>2]|0;e:do if((c[g+(j*132|0)+128>>2]|0)==(c[(c[i+(k*12|0)>>2]|0)+(d*12|0)+8>>2]|0)?(c[g+(j*132|0)+124>>2]|0)==(c[i+(k*12|0)+8>>2]|0):0){vf(y,+f[g+(j*132|0)>>2],+f[g+(j*132|0)+4>>2],+f[g+(j*132|0)+112>>2],+f[g+(j*132|0)+116>>2],(c[g+(j*132|0)+120>>2]|0)!=0);g=c[m>>2]|0;if(g>>>0<(c[n>>2]|0)>>>0){c[g>>2]=c[y>>2];c[g+4>>2]=c[y+4>>2];c[g+8>>2]=c[y+8>>2];c[g+12>>2]=c[y+12>>2];c[g+16>>2]=c[y+16>>2];c[m>>2]=g+20}else wf(v,y);cf(y);g=c[u>>2]|0;xf(y,+f[g+(j*132|0)+8>>2],+f[g+(j*132|0)+12>>2],0.0);g=c[o>>2]|0;if(g>>>0<(c[p>>2]|0)>>>0){c[g>>2]=c[y>>2];c[g+4>>2]=c[y+4>>2];c[g+8>>2]=c[y+8>>2];c[o>>2]=(c[o>>2]|0)+12}else yf(w,y);g=0;while(1){if(g>>>0>=96)break e;h=(c[u>>2]|0)+(j*132|0)+16+g|0;i=c[q>>2]|0;if((i|0)==(c[r>>2]|0))zf(x,h);else{a[i>>0]=a[h>>0]|0;c[q>>2]=(c[q>>2]|0)+1}g=g+1|0}}while(0);j=j+1|0}c[z>>2]=((c[m>>2]|0)-(c[v>>2]|0)|0)/20|0;Ie(0,1,20359,z);j=c[t>>2]|0;c[b+60+(e<<2)>>2]=c[j+(k*12|0)+8>>2];j=c[j+(k*12|0)>>2]|0;sl(c[b>>2]|0,v,x,w,c[j+(d*12|0)>>2]|0,c[j+(d*12|0)+4>>2]|0,e);af(x);Af(w);bf(v);d=d+1|0;e=e+1|0}k=k+1|0}}}else{Ie(0,3,20278,e);e=-1}while(0);yb=A;return e|0}function vf(b,c,d,e,g,h){b=b|0;c=+c;d=+d;e=+e;g=+g;h=h|0;f[b>>2]=c;f[b+4>>2]=d;f[b+8>>2]=e;f[b+12>>2]=g;a[b+16>>0]=h&1;return}function wf(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;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=(((c[e>>2]|0)-(c[a>>2]|0)|0)/20|0)+1|0;g=Jf(a)|0;if(g>>>0>>0)KM(a);else{i=c[a>>2]|0;k=((c[a+8>>2]|0)-i|0)/20|0;j=k<<1;Kf(d,k>>>0>>1>>>0?(j>>>0>>0?f:j):g,((c[e>>2]|0)-i|0)/20|0,a+8|0);g=d+8|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[f+12>>2]=c[b+12>>2];c[f+16>>2]=c[b+16>>2];c[g>>2]=(c[g>>2]|0)+20;Lf(a,d);Mf(d);yb=h;return}}function xf(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;f[a>>2]=b;f[a+4>>2]=c;f[a+8>>2]=d;return}function yf(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;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=(((c[e>>2]|0)-(c[a>>2]|0)|0)/12|0)+1|0;g=Ff(a)|0;if(g>>>0>>0)KM(a);else{i=c[a>>2]|0;k=((c[a+8>>2]|0)-i|0)/12|0;j=k<<1;Gf(d,k>>>0>>1>>>0?(j>>>0>>0?f:j):g,((c[e>>2]|0)-i|0)/12|0,a+8|0);g=d+8|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=c[b+4>>2];c[f+8>>2]=c[b+8>>2];c[g>>2]=(c[g>>2]|0)+12;Hf(a,d);If(d);yb=h;return}}function zf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=yb;yb=yb+32|0;e=i;f=b+4|0;g=(c[f>>2]|0)-(c[b>>2]|0)+1|0;h=Bf(b)|0;if(h>>>0>>0)KM(b);else{j=c[b>>2]|0;l=(c[b+8>>2]|0)-j|0;k=l<<1;Cf(e,l>>>0>>1>>>0?(k>>>0>>0?g:k):h,(c[f>>2]|0)-j|0,b+8|0);h=e+8|0;a[c[h>>2]>>0]=a[d>>0]|0;c[h>>2]=(c[h>>2]|0)+1;Df(b,e);Ef(e);yb=i;return}}function Af(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function Bf(a){a=a|0;return 2147483647}function Cf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;if(!b)e=0;else e=aM(b)|0;c[a>>2]=e;d=e+d|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+b;return}function Df(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-f)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function Ef(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-1|0;c[d>>2]=f;e=f}cM(c[a>>2]|0);return}function Ff(a){a=a|0;return 357913941}function Gf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>357913941){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b*12|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*12|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*12|0);return}function Hf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(((f|0)/-12|0)*12|0)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function If(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-12|0;c[d>>2]=f;e=f}a=c[a>>2]|0;if(a|0)cM(a);return}function Jf(a){a=a|0;return 214748364}function Kf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>214748364){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b*20|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*20|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*20|0);return}function Lf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=c[a>>2]|0;f=a+4|0;g=b+4|0;d=c[f>>2]|0;while(1){if((d|0)==(e|0))break;i=(c[g>>2]|0)+-20|0;h=d+-20|0;c[i>>2]=c[h>>2];c[i+4>>2]=c[h+4>>2];c[i+8>>2]=c[h+8>>2];c[i+12>>2]=c[h+12>>2];c[i+16>>2]=c[h+16>>2];c[g>>2]=(c[g>>2]|0)+-20;d=h}i=c[a>>2]|0;c[a>>2]=c[g>>2];c[g>>2]=i;i=b+8|0;h=c[f>>2]|0;c[f>>2]=c[i>>2];c[i>>2]=h;f=a+8|0;i=b+12|0;h=c[f>>2]|0;c[f>>2]=c[i>>2];c[i>>2]=h;c[b>>2]=c[g>>2];return}function Mf(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;while(1){e=c[d>>2]|0;if((e|0)==(b|0))break;e=e+-20|0;c[d>>2]=e;cf(e)}a=c[a>>2]|0;if(a|0)cM(a);return}function Nf(a,b){a=a|0;b=b|0;var d=0,e=0,h=0,i=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=yb;yb=yb+48|0;r=u+16|0;o=u+8|0;d=u;e=u+44|0;h=u+40|0;do if((a|0)!=0&(b|0)!=0){i=c[a+12>>2]|0;j=c[a+16>>2]|0;m=c[a+20>>2]|0;n=(m|0)==1;if(!n){d=Qf(b,i,j,m,e,h)|0;if(!d){d=-1;break}else{s=d;t=1}}else{s=b;t=0}Sl(c[a>>2]|0,s,i,j)|0;j=to(c[a>>2]|0)|0;j=(c[j+4>>2]|0)-(c[j>>2]|0)|0;d=(j|0)/20|0;i=a+48|0;c[i>>2]=d;a:do if(!j){e=c[a+56>>2]|0;b=a+52|0;d=0;while(1){if((d|0)>=(e|0))break a;c[(c[b>>2]|0)+(d*68|0)+60>>2]=-1;d=d+1|0}}else{j=a+44|0;b=c[j>>2]|0;if(b){jB(b);d=c[i>>2]|0}h=iB(d<<3)|0;c[j>>2]=h;if(!h){Ie(0,3,20454,o);La(1)}e=to(c[a>>2]|0)|0;b:do if(n){h=a+4|0;d=0;while(1){if((d|0)>=(c[i>>2]|0))break b;b=c[e>>2]|0;k=+f[b+(d*20|0)>>2];l=+f[b+(d*20|0)+4>>2];b=c[h>>2]|0;if(!b){o=c[j>>2]|0;f[o+(d<<3)>>2]=k;f[o+(d<<3)+4>>2]=l}else{o=c[j>>2]|0;de(b+184|0,k,l,o+(d<<3)|0,o+(d<<3)+4|0)|0}d=d+1|0}}else switch(m|0){case 5:{h=a+4|0;d=0;while(1){if((d|0)>=(c[i>>2]|0))break b;b=c[e>>2]|0;k=+f[b+(d*20|0)>>2];l=+f[b+(d*20|0)+4>>2];b=c[h>>2]|0;if(!b){o=c[j>>2]|0;f[o+(d<<3)>>2]=k*1.5;f[o+(d<<3)+4>>2]=l*1.5}else{o=c[j>>2]|0;de(b+184|0,k*1.5,l*1.5,o+(d<<3)|0,o+(d<<3)+4|0)|0}d=d+1|0}}case 2:{h=a+4|0;d=0;while(1){if((d|0)>=(c[i>>2]|0))break b;b=c[e>>2]|0;k=+f[b+(d*20|0)>>2];l=+f[b+(d*20|0)+4>>2];b=c[h>>2]|0;if(!b){o=c[j>>2]|0;f[o+(d<<3)>>2]=k*2.0;f[o+(d<<3)+4>>2]=l*2.0}else{o=c[j>>2]|0;de(b+184|0,k*2.0,l*2.0,o+(d<<3)|0,o+(d<<3)+4|0)|0}d=d+1|0}}case 4:{h=a+4|0;d=0;while(1){if((d|0)>=(c[i>>2]|0))break b;b=c[e>>2]|0;k=+f[b+(d*20|0)>>2];l=+f[b+(d*20|0)+4>>2];b=c[h>>2]|0;if(!b){o=c[j>>2]|0;f[o+(d<<3)>>2]=k*3.0;f[o+(d<<3)+4>>2]=l*3.0}else{o=c[j>>2]|0;de(b+184|0,k*3.0,l*3.0,o+(d<<3)|0,o+(d<<3)+4|0)|0}d=d+1|0}}default:{h=a+4|0;d=0;while(1){if((d|0)>=(c[i>>2]|0))break b;b=c[e>>2]|0;k=+f[b+(d*20|0)>>2];l=+f[b+(d*20|0)+4>>2];b=c[h>>2]|0;if(!b){o=c[j>>2]|0;f[o+(d<<3)>>2]=k*4.0;f[o+(d<<3)+4>>2]=l*4.0}else{o=c[j>>2]|0;de(b+184|0,k*4.0,l*4.0,o+(d<<3)|0,o+(d<<3)+4|0)|0}d=d+1|0}}}while(0);i=a+56|0;j=a+36|0;b=a+52|0;d=0;while(1){e=c[i>>2]|0;if((d|0)>=(e|0))break a;o=c[b>>2]|0;c[o+(d*68|0)+48>>2]=c[(c[j>>2]|0)+(d*12|0)+8>>2];c[o+(d*68|0)+60>>2]=-1;if(((c[o+(d*68|0)+64>>2]|0)==0?(p=vo(c[a>>2]|0)|0,q=qo(c[a>>2]|0)|0,(q|0)>=0):0)?(e=c[h>>2]|0,m=so(c[a>>2]|0,q)|0,n=to(c[a>>2]|0)|0,o=c[b>>2]|0,(Of(e,p,m,n,o+(d*68|0)|0,o+(d*68|0)+52|0)|0)==0):0){n=c[b>>2]|0;c[n+(d*68|0)+60>>2]=0;o=(c[p+4>>2]|0)-(c[p>>2]|0)>>3;c[n+(d*68|0)+56>>2]=o;c[n+(d*68|0)+48>>2]=c[a+60+(q<<2)>>2];l=+f[n+(d*68|0)+52>>2];c[r>>2]=d;c[r+4>>2]=o;c[r+8>>2]=o;g[r+16>>3]=l;Ie(0,1,20414,r)}d=d+1|0}}while(0);d=0;while(1){if((d|0)>=(e|0))break;c[(c[b>>2]|0)+(d*68|0)+64>>2]=0;d=d+1|0}if(!t)d=0;else{jB(s);d=0}}else{Ie(0,3,20370,d);d=-1}while(0);yb=u;return d|0}function Of(a,b,d,e,h,i){a=a|0;b=b|0;d=d|0;e=e|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0;u=yb;yb=yb+240|0;k=u+208|0;j=u+200|0;s=u+224|0;p=u+212|0;q=u+96|0;t=u+192|0;r=u;l=c[b>>2]|0;b=(c[b+4>>2]|0)-l|0;m=b>>3;do if(m>>>0<4)b=-1;else{o=iB(b<<1)|0;if(!o){Ie(0,3,20454,j);La(1)}n=iB(m*24|0)|0;if(!n){Ie(0,3,20454,k);La(1)}e=c[e>>2]|0;j=c[d>>2]|0;b=0;while(1){if((b|0)==(m|0))break;d=c[l+(b<<3)>>2]|0;g[o+(b<<4)>>3]=+f[e+(d*20|0)>>2];g[o+(b<<4)+8>>3]=+f[e+(d*20|0)+4>>2];d=c[l+(b<<3)+4>>2]|0;g[n+(b*24|0)>>3]=+f[j+(d*12|0)>>2];g[n+(b*24|0)+8>>3]=+f[j+(d*12|0)+4>>2];g[n+(b*24|0)+16>>3]=0.0;b=b+1|0}c[p+8>>2]=m;c[p>>2]=o;c[p+4>>2]=n;b=a+8|0;if((Ae(b,o,n,m,q)|0)<0){jB(o);jB(n);b=-1;break}b=se(b)|0;c[s>>2]=b;if(!b){jB(o);jB(n);b=-1;break}if((ve(b,p,q,r,t)|0)<0){jB(o);jB(n);te(s)|0;b=-1}else{j=0;while(1){if((j|0)==3)break;b=0;while(1){if((b|0)==4)break;f[h+(j<<4)+(b<<2)>>2]=+g[r+(j<<5)+(b<<3)>>3];b=b+1|0}j=j+1|0}te(s)|0;jB(o);jB(n);v=+g[t>>3];f[i>>2]=v;b=(v>10.0)<<31>>31}}while(0);yb=u;return b|0}function Pf(a,b,d){a=a|0;b=b|0;d=d|0;if(!a)a=-1;else{c[b>>2]=c[a+52>>2];c[d>>2]=c[a+56>>2];a=0}return a|0}function Qf(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;switch(d|0){case 1:{a=Rf(a,b,c,e,f)|0;break}case 5:{a=Sf(a,b,c,e,f)|0;break}case 2:{a=Tf(a,b,c,e,f)|0;break}case 4:{a=Uf(a,b,c,e,f)|0;break}default:a=Vf(a,b,c,e,f)|0}return a|0}function Rf(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=yb;yb=yb+16|0;c[e>>2]=b;c[f>>2]=d;b=C(d,b)|0;d=iB(b)|0;if(!d){Ie(0,3,20454,g);La(1)}else{VN(d|0,a|0,b|0)|0;yb=g;return d|0}return 0}function Sf(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=yb;yb=yb+16|0;o=(e|0)/3|0;p=o<<1;c[g>>2]=p;n=(f|0)/3|0;m=n<<1;c[h>>2]=m;m=iB(C(m,p)|0)|0;if(!m){Ie(0,3,20454,q);La(1)}h=0;f=m;g=m;while(1){if((h|0)>=(n|0))break;l=h*3|0;i=0;j=b+(C(l+2|0,e)|0)|0;k=b+(C(l+1|0,e)|0)|0;l=b+(C(l,e)|0)|0;g=g+p|0;while(1){if((i|0)>=(o|0))break;u=l+1|0;s=k+1|0;a[f>>0]=(((d[u>>0]|0)>>>1&255)+(d[l>>0]|0)+((d[k>>0]|0)>>>1&255)+((d[s>>0]|0)>>>2&255)<<2>>>0)/9|0;r=j+1|0;a[g>>0]=((((d[s>>0]|0)>>>2)+((d[k>>0]|0)>>>1)&255)+(d[j>>0]|0)+((d[r>>0]|0)>>>1&255)<<2>>>0)/9|0;t=k+2|0;a[f+1>>0]=(((d[u>>0]|0)>>>1&255)+(d[l+2>>0]|0)+((d[s>>0]|0)>>>2&255)+((d[t>>0]|0)>>>1&255)<<2>>>0)/9|0;a[g+1>>0]=((((d[t>>0]|0)>>>1)+((d[s>>0]|0)>>>2)&255)+((d[r>>0]|0)>>>1&255)+(d[j+2>>0]|0)<<2>>>0)/9|0;i=i+1|0;j=j+3|0;k=k+3|0;l=l+3|0;f=f+2|0;g=g+2|0}h=h+1|0;f=f+p|0}yb=q;return m|0}function Tf(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,l=0,m=0,n=0;n=yb;yb=yb+16|0;m=(e|0)/2|0;c[g>>2]=m;l=(f|0)/2|0;c[h>>2]=l;k=iB(C(l,m)|0)|0;if(!k){Ie(0,3,20454,n);La(1)}g=0;f=k;while(1){if((g|0)>=(l|0))break;j=g<<1;h=0;i=b+(C(j,e)|0)|0;j=b+(C(j|1,e)|0)|0;while(1){if((h|0)>=(m|0))break;a[f>>0]=((d[i+1>>0]|0)+(d[i>>0]|0)+(d[j>>0]|0)+(d[j+1>>0]|0)|0)>>>2;h=h+1|0;i=i+2|0;j=j+2|0;f=f+1|0}g=g+1|0}yb=n;return k|0}function Uf(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,l=0,m=0,n=0,o=0;o=yb;yb=yb+16|0;n=(e|0)/3|0;c[g>>2]=n;m=(f|0)/3|0;c[h>>2]=m;l=iB(C(m,n)|0)|0;if(!l){Ie(0,3,20454,o);La(1)}g=0;f=l;while(1){if((g|0)>=(m|0))break;k=g*3|0;h=0;i=b+(C(k,e)|0)|0;j=b+(C(k+2|0,e)|0)|0;k=b+(C(k+1|0,e)|0)|0;while(1){if((h|0)>=(n|0))break;a[f>>0]=((d[i+1>>0]|0)+(d[i>>0]|0)+(d[i+2>>0]|0)+(d[k>>0]|0)+(d[k+1>>0]|0)+(d[k+2>>0]|0)+(d[j>>0]|0)+(d[j+1>>0]|0)+(d[j+2>>0]|0)|0)/9|0;h=h+1|0;i=i+3|0;j=j+3|0;k=k+3|0;f=f+1|0}g=g+1|0}yb=o;return l|0}function Vf(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,l=0,m=0,n=0,o=0,p=0;p=yb;yb=yb+16|0;o=(e|0)/4|0;c[g>>2]=o;n=(f|0)/4|0;c[h>>2]=n;m=iB(C(n,o)|0)|0;if(!m){Ie(0,3,20454,p);La(1)}g=0;f=m;while(1){if((g|0)>=(n|0))break;l=g<<2;h=0;i=b+(C(l,e)|0)|0;j=b+(C(l|3,e)|0)|0;k=b+(C(l|2,e)|0)|0;l=b+(C(l|1,e)|0)|0;while(1){if((h|0)>=(o|0))break;a[f>>0]=((d[i+1>>0]|0)+(d[i>>0]|0)+(d[i+2>>0]|0)+(d[i+3>>0]|0)+(d[l>>0]|0)+(d[l+1>>0]|0)+(d[l+2>>0]|0)+(d[l+3>>0]|0)+(d[k>>0]|0)+(d[k+1>>0]|0)+(d[k+2>>0]|0)+(d[k+3>>0]|0)+(d[j>>0]|0)+(d[j+1>>0]|0)+(d[j+2>>0]|0)+(d[j+3>>0]|0)|0)/16|0;h=h+1|0;i=i+4|0;j=j+4|0;k=k+4|0;l=l+4|0;f=f+1|0}g=g+1|0}yb=p;return m|0}function Wf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;h=i+8|0;g=i;do if(a){if(!b){e=Oz(a,d)|0;break}f=Ey(a)|0;f=iB(f+2+(Ey(b)|0)|0)|0;if(!f){Ie(0,3,20454,g);La(1)}else{c[h>>2]=a;c[h+4>>2]=b;wz(f,20471,h)|0;e=Oz(f,d)|0;jB(f);break}}else e=0;while(0);yb=i;return e|0}function Xf(a){a=a|0;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 Yf(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;m=yb;yb=yb+16|0;d=m;if(!(Zf(b)|0)){l=jf(jf(OC(jf(jf(jf(55420,20477)|0,20520)|0,33528)|0,53)|0,33535)|0,20651)|0;HC(d,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(d,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(d);PC(l,k)|0;LC(l)|0;ya()}i=$f(_f(b,0,0)|0)|0;j=ag(_f(b,0,0)|0)|0;k=bg(_f(b,0,0)|0)|0;l=a+12|0;c[l>>2]=cg(b)|0;b=(dg(b)|0)+-1|0;e=a+16|0;c[e>>2]=b;eg(a,C(c[l>>2]|0,b)|0);b=0;while(1){if(b>>>0>=(c[l>>2]|0)>>>0)break;f=j>>>b;g=k>>>b;d=0;while(1){h=c[e>>2]|0;if(d>>>0>=h>>>0)break;h=(C(h,b)|0)+d|0;qp((c[a>>2]|0)+(h<<5)|0,i,f,g,-1,1);d=d+1|0}b=b+1|0}yb=m;return}function Zf(a){a=a|0;return (c[a+8>>2]|0)-(c[a+4>>2]|0)>>5|0}function _f(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=yb;yb=yb+16|0;f=g;if((c[a+16>>2]|0)>>>0<=b>>>0){e=jf(jf(OC(jf(jf(jf(55420,32473)|0,32320)|0,33528)|0,218)|0,33535)|0,20676)|0;HC(f,e+(c[(c[e>>2]|0)+-12>>2]|0)|0);h=WD(f,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(f);PC(e,h)|0;LC(e)|0;ya()}e=c[a+20>>2]|0;if(e>>>0>d>>>0){h=(C(e,b)|0)+d|0;yb=g;return (c[a+4>>2]|0)+(h<<5)|0}else{h=jf(jf(OC(jf(jf(jf(55420,32617)|0,32320)|0,33528)|0,219)|0,33535)|0,20696)|0;HC(f,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);g=WD(f,56124)|0;g=Gb[c[(c[g>>2]|0)+28>>2]&63](g,10)|0;XD(f);PC(h,g)|0;LC(h)|0;ya()}return 0}function $f(a){a=a|0;return c[a>>2]|0}function ag(a){a=a|0;return c[a+4>>2]|0}function bg(a){a=a|0;return c[a+8>>2]|0}function cg(a){a=a|0;return c[a+16>>2]|0}function dg(a){a=a|0;return c[a+20>>2]|0}function eg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;f=c[a>>2]|0;e=d-f>>5;if(e>>>0>=b>>>0){if(e>>>0>b>>>0){a=f+(b<<5)|0;while(1){if((d|0)==(a|0))break;f=d+-32|0;Fp(f);d=f}c[g>>2]=a}}else fg(a,b-e|0);return}function fg(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;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>5>>>0>>0){d=(d-(c[a>>2]|0)>>5)+b|0;e=hg(a)|0;if(e>>>0>>0)KM(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>4;ig(f,k>>5>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j>>5,a+8|0);jg(f,b);kg(a,f);lg(f);break}}else gg(a,b);while(0);yb=i;return}function gg(a,b){a=a|0;b=b|0;var d=0;d=a+4|0;a=b;b=c[d>>2]|0;do{mp(b);b=(c[d>>2]|0)+32|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function hg(a){a=a|0;return 134217727}function ig(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>134217727){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b<<5)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<5)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<5);return}function jg(a,b){a=a|0;b=b|0;var d=0;d=a+8|0;a=b;b=c[d>>2]|0;do{mp(b);b=(c[d>>2]|0)+32|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function kg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;f=a+4|0;g=b+4|0;d=c[f>>2]|0;while(1){if((d|0)==(e|0))break;h=d+-32|0;pp((c[g>>2]|0)+-32|0,h);c[g>>2]=(c[g>>2]|0)+-32;d=h}e=c[a>>2]|0;c[a>>2]=c[g>>2];c[g>>2]=e;e=b+8|0;h=c[f>>2]|0;c[f>>2]=c[e>>2];c[e>>2]=h;e=a+8|0;h=b+12|0;f=c[e>>2]|0;c[e>>2]=c[h>>2];c[h>>2]=f;c[b>>2]=c[g>>2];return}function lg(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;while(1){e=c[d>>2]|0;if((e|0)==(b|0))break;e=e+-32|0;c[d>>2]=e;Fp(e)}a=c[a>>2]|0;if(a|0)cM(a);return}function mg(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;h=yb;yb=yb+16|0;d=h;if((c[a+4>>2]|0)==(c[a>>2]|0)){g=jf(jf(OC(jf(jf(jf(55420,20715)|0,20520)|0,33528)|0,72)|0,33535)|0,20757)|0;HC(d,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);f=WD(d,56124)|0;f=Gb[c[(c[f>>2]|0)+28>>2]&63](f,10)|0;XD(d);PC(g,f)|0;LC(g)|0;ya()}if((cg(b)|0)<=0){g=jf(jf(OC(jf(jf(jf(55420,20798)|0,20520)|0,33528)|0,73)|0,33535)|0,20847)|0;HC(d,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);f=WD(d,56124)|0;f=Gb[c[(c[f>>2]|0)+28>>2]&63](f,10)|0;XD(d);PC(g,f)|0;LC(g)|0;ya()}if(b|0?aN(b,10992,11e3,0)|0:0){f=a+12|0;g=a+16|0;e=0;while(1){if(e>>>0>=(c[f>>2]|0)>>>0)break;d=0;while(1){if(d>>>0>=(c[g>>2]|0)>>>0)break;k=ng(a,e,d)|0;j=_f(b,e,d)|0;i=d+1|0;og(0,k,j,_f(b,e,i)|0);d=i}e=e+1|0}yb=h;return}k=jf(jf(OC(jf(jf(jf(55420,20883)|0,20520)|0,33528)|0,74)|0,33535)|0,20955)|0;HC(d,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);j=WD(d,56124)|0;j=Gb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;XD(d);PC(k,j)|0;LC(k)|0;ya()}function ng(a,b,d){a=a|0;b=b|0;d=d|0;d=(C(c[a+16>>2]|0,b)|0)+d|0;return (c[a>>2]|0)+(d<<5)|0}function og(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+16|0;a=k;if(($f(b)|0)!=2){j=jf(jf(OC(jf(jf(jf(55420,20990)|0,20520)|0,33528)|0,86)|0,33535)|0,21035)|0;HC(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(a,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(a);PC(j,i)|0;LC(j)|0;ya()}if(($f(d)|0)!=2){j=jf(jf(OC(jf(jf(jf(55420,21061)|0,20520)|0,33528)|0,87)|0,33535)|0,21035)|0;HC(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(a,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(a);PC(j,i)|0;LC(j)|0;ya()}if(($f(e)|0)!=2){j=jf(jf(OC(jf(jf(jf(55420,21108)|0,20520)|0,33528)|0,88)|0,33535)|0,21035)|0;HC(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(a,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(a);PC(j,i)|0;LC(j)|0;ya()}if((pg(b)|0)!=1){j=jf(jf(OC(jf(jf(jf(55420,21155)|0,20520)|0,33528)|0,89)|0,33535)|0,21196)|0;HC(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(a,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(a);PC(j,i)|0;LC(j)|0;ya()}if((pg(d)|0)!=1){j=jf(jf(OC(jf(jf(jf(55420,21233)|0,20520)|0,33528)|0,90)|0,33535)|0,21196)|0;HC(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(a,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(a);PC(j,i)|0;LC(j)|0;ya()}if((pg(e)|0)!=1){j=jf(jf(OC(jf(jf(jf(55420,21276)|0,20520)|0,33528)|0,91)|0,33535)|0,21196)|0;HC(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(a,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(a);PC(j,i)|0;LC(j)|0;ya()}j=ag(b)|0;if((j|0)!=(ag(e)|0)){j=jf(jf(OC(jf(jf(jf(55420,21319)|0,20520)|0,33528)|0,92)|0,33535)|0,21367)|0;HC(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(a,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(a);PC(j,i)|0;LC(j)|0;ya()}j=bg(b)|0;if((j|0)!=(bg(e)|0)){j=jf(jf(OC(jf(jf(jf(55420,21399)|0,20520)|0,33528)|0,93)|0,33535)|0,21449)|0;HC(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(a,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(a);PC(j,i)|0;LC(j)|0;ya()}j=ag(d)|0;if((j|0)!=(ag(e)|0)){j=jf(jf(OC(jf(jf(jf(55420,21482)|0,20520)|0,33528)|0,94)|0,33535)|0,21367)|0;HC(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(a,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(a);PC(j,i)|0;LC(j)|0;ya()}j=bg(d)|0;if((j|0)!=(bg(e)|0)){j=jf(jf(OC(jf(jf(jf(55420,21532)|0,20520)|0,33528)|0,95)|0,33535)|0,21449)|0;HC(a,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(a,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(a);PC(j,i)|0;LC(j)|0;ya()}g=0;while(1){if(g>>>0>=(bg(d)|0)>>>0)break;h=qg(b,g)|0;i=rg(d,g)|0;j=rg(e,g)|0;a=0;while(1){if(a>>>0>=(ag(d)|0)>>>0)break;f[h+(a<<2)>>2]=+f[i+(a<<2)>>2]-+f[j+(a<<2)>>2];a=a+1|0}g=g+1|0}yb=k;return}function pg(a){a=a|0;return c[a+16>>2]|0}function qg(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=e;if((c[a+8>>2]|0)>>>0>b>>>0){d=(c[a+24>>2]|0)+(C(c[a+12>>2]|0,b)|0)|0;yb=e;return d|0}else{e=jf(jf(OC(jf(jf(jf(55420,21584)|0,21621)|0,33528)|0,119)|0,33535)|0,21727)|0;HC(d,e+(c[(c[e>>2]|0)+-12>>2]|0)|0);b=WD(d,56124)|0;b=Gb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;XD(d);PC(e,b)|0;LC(e)|0;ya()}return 0}function rg(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=e;if((c[a+8>>2]|0)>>>0>b>>>0){d=(c[a+24>>2]|0)+(C(c[a+12>>2]|0,b)|0)|0;yb=e;return d|0}else{e=jf(jf(OC(jf(jf(jf(55420,21584)|0,21621)|0,33528)|0,124)|0,33535)|0,21727)|0;HC(d,e+(c[(c[e>>2]|0)+-12>>2]|0)|0);b=WD(d,56124)|0;b=Gb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;XD(d);PC(e,b)|0;LC(e)|0;ya()}return 0}function sg(b){b=b|0;var d=0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=10;c[b+12>>2]=10;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=0;a[b+28>>0]=1;Xf(b+32|0);f[b+52>>2]=0.0;f[b+56>>2]=10.0;d=b+60|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;f[b+88>>2]=9.0;Hi(b+92|0);d=b+144|0;c[d>>2]=0;c[b+148>>2]=0;c[b+152>>2]=0;tg(b,5e3);ug(d,36);return}function tg(a,b){a=a|0;b=b|0;c[a+84>>2]=b;Jg(a+60|0,b);return}function ug(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=(c[d>>2]|0)-f>>2;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+(b<<2)}else Cg(a,b-e|0);return}function vg(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function wg(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function xg(a){a=a|0;Bg(a);return}function yg(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;if(d|0){e=a+4|0;b=c[e>>2]|0;while(1){if((b|0)==(d|0))break;f=b+-12|0;zg(f);b=f}c[e>>2]=d;cM(c[a>>2]|0)}return}function zg(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;if(d|0){e=a+4|0;b=c[e>>2]|0;while(1){if((b|0)==(d|0))break;f=b+-12|0;Ag(f);b=f}c[e>>2]=d;cM(c[a>>2]|0)}return}function Ag(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function Bg(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;if(d|0){e=a+4|0;b=c[e>>2]|0;while(1){if((b|0)==(d|0))break;f=b+-32|0;Fp(f);b=f}c[e>>2]=d;cM(c[a>>2]|0)}return}function Cg(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;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>2>>>0>>0){d=(d-(c[a>>2]|0)>>2)+b|0;e=Eg(a)|0;if(e>>>0>>0)KM(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>1;Fg(f,k>>2>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j>>2,a+8|0);Gg(f,b);Hg(a,f);Ig(f);break}}else Dg(a,b);while(0);yb=i;return}function Dg(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;XN(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function Eg(a){a=a|0;return 1073741823}function Fg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<2);return}function Gg(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;XN(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function Hg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function Ig(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-4|0;c[d>>2]=f;e=f}a=c[a>>2]|0;if(a|0)cM(a);return}function Jg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+32|0;d=f;e=c[a>>2]|0;if((((c[a+8>>2]|0)-e|0)/36|0)>>>0>>0){Kg(d,b,((c[a+4>>2]|0)-e|0)/36|0,a+8|0);Lg(a,d);Mg(d)}yb=f;return}function Kg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>119304647){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b*36|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*36|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*36|0);return}function Lg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(((f|0)/-36|0)*36|0)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function Mg(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-36|0;c[d>>2]=f;e=f}a=c[a>>2]|0;if(a|0)cM(a);return}function Ng(a){a=a|0;vg(a+144|0);Ii(a+92|0);wg(a+72|0);wg(a+60|0);xg(a+32|0);yg(a+16|0);return}function Og(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;Yf(a+32|0,b);d=ag(c[(Pg(b)|0)>>2]|0)|0;f=bg(c[(Pg(b)|0)>>2]|0)|0;e=cg(b)|0;Ji(a+92|0,d,f,e,dg(b)|0,36,3.0,1.5,5,.800000011920929);c[a>>2]=ag(c[(Pg(b)|0)>>2]|0)|0;c[a+4>>2]=bg(c[(Pg(b)|0)>>2]|0)|0;e=a+16|0;Qg(e,c[a+8>>2]|0);f=a+20|0;a=a+12|0;b=0;while(1){d=c[e>>2]|0;if(b>>>0>=(((c[f>>2]|0)-d|0)/12|0)>>>0)break;Rg(d+(b*12|0)|0,c[a>>2]|0);b=b+1|0}return}function Pg(a){a=a|0;return a+4|0}function Qg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;f=c[a>>2]|0;e=(d-f|0)/12|0;if(e>>>0>=b>>>0){if(e>>>0>b>>>0){a=f+(b*12|0)|0;while(1){if((d|0)==(a|0))break;f=d+-12|0;zg(f);d=f}c[g>>2]=a}}else Zg(a,b-e|0);return}function Rg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;f=c[a>>2]|0;e=(d-f|0)/12|0;if(e>>>0>=b>>>0){if(e>>>0>b>>>0){a=f+(b*12|0)|0;while(1){if((d|0)==(a|0))break;f=d+-12|0;Ag(f);d=f}c[g>>2]=a}}else Sg(a,b-e|0);return}function Sg(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;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((((c[g>>2]|0)-d|0)/12|0)>>>0>>0){d=((d-(c[a>>2]|0)|0)/12|0)+b|0;e=Ug(a)|0;if(e>>>0>>0)KM(a);else{j=c[a>>2]|0;k=((c[g>>2]|0)-j|0)/12|0;g=k<<1;Vg(f,k>>>0>>1>>>0?(g>>>0>>0?d:g):e,((c[h>>2]|0)-j|0)/12|0,a+8|0);Wg(f,b);Xg(a,f);Yg(f);break}}else Tg(a,b);while(0);yb=i;return}function Tg(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;XN(d|0,0,b*12|0)|0;c[a>>2]=d+(b*12|0);return}function Ug(a){a=a|0;return 357913941}function Vg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>357913941){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b*12|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*12|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*12|0);return}function Wg(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;XN(d|0,0,b*12|0)|0;c[a>>2]=d+(b*12|0);return}function Xg(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;e=c[a>>2]|0;f=a+4|0;g=b+4|0;d=c[f>>2]|0;while(1){if((d|0)==(e|0))break;k=c[g>>2]|0;i=k+-12|0;h=d+-12|0;c[i>>2]=0;j=k+-8|0;c[j>>2]=0;k=k+-4|0;c[k>>2]=0;c[i>>2]=c[h>>2];i=d+-8|0;c[j>>2]=c[i>>2];j=d+-4|0;c[k>>2]=c[j>>2];c[j>>2]=0;c[i>>2]=0;c[h>>2]=0;c[g>>2]=(c[g>>2]|0)+-12;d=h}i=c[a>>2]|0;c[a>>2]=c[g>>2];c[g>>2]=i;i=b+8|0;k=c[f>>2]|0;c[f>>2]=c[i>>2];c[i>>2]=k;i=a+8|0;k=b+12|0;j=c[i>>2]|0;c[i>>2]=c[k>>2];c[k>>2]=j;c[b>>2]=c[g>>2];return}function Yg(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;while(1){e=c[d>>2]|0;if((e|0)==(b|0))break;e=e+-12|0;c[d>>2]=e;Ag(e)}a=c[a>>2]|0;if(a|0)cM(a);return}function Zg(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;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((((c[g>>2]|0)-d|0)/12|0)>>>0>>0){d=((d-(c[a>>2]|0)|0)/12|0)+b|0;e=$g(a)|0;if(e>>>0>>0)KM(a);else{j=c[a>>2]|0;k=((c[g>>2]|0)-j|0)/12|0;g=k<<1;ah(f,k>>>0>>1>>>0?(g>>>0>>0?d:g):e,((c[h>>2]|0)-j|0)/12|0,a+8|0);bh(f,b);ch(a,f);dh(f);break}}else _g(a,b);while(0);yb=i;return}function _g(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;XN(d|0,0,b*12|0)|0;c[a>>2]=d+(b*12|0);return}function $g(a){a=a|0;return 357913941}function ah(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>357913941){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b*12|0)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d*12|0)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b*12|0);return}function bh(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;XN(d|0,0,b*12|0)|0;c[a>>2]=d+(b*12|0);return}function ch(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;e=c[a>>2]|0;f=a+4|0;g=b+4|0;d=c[f>>2]|0;while(1){if((d|0)==(e|0))break;k=c[g>>2]|0;i=k+-12|0;h=d+-12|0;c[i>>2]=0;j=k+-8|0;c[j>>2]=0;k=k+-4|0;c[k>>2]=0;c[i>>2]=c[h>>2];i=d+-8|0;c[j>>2]=c[i>>2];j=d+-4|0;c[k>>2]=c[j>>2];c[j>>2]=0;c[i>>2]=0;c[h>>2]=0;c[g>>2]=(c[g>>2]|0)+-12;d=h}i=c[a>>2]|0;c[a>>2]=c[g>>2];c[g>>2]=i;i=b+8|0;k=c[f>>2]|0;c[f>>2]=c[i>>2];c[i>>2]=k;i=a+8|0;k=b+12|0;j=c[i>>2]|0;c[i>>2]=c[k>>2];c[k>>2]=j;c[b>>2]=c[g>>2];return}function dh(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;while(1){e=c[d>>2]|0;if((e|0)==(b|0))break;e=e+-12|0;c[d>>2]=e;zg(e)}a=c[a>>2]|0;if(a|0)cM(a);return}function eh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=yb;yb=yb+32|0;d=e;if((cg(b)|0)<=0){f=jf(jf(OC(jf(jf(jf(55420,20798)|0,20520)|0,33528)|0,147)|0,33535)|0,20847)|0;HC(d,f+(c[(c[f>>2]|0)+-12>>2]|0)|0);g=WD(d,56124)|0;g=Gb[c[(c[g>>2]|0)+28>>2]&63](g,10)|0;XD(d);PC(f,g)|0;LC(f)|0;ya()}Pp(d,21782);if(fh(d)|0)mg(a+32|0,b);Qp(d);Pp(d,21794);if(fh(d)|0)gh(a,b,a+32|0);Qp(d);Pp(d,21814);if(fh(d)|0)hh(a,b);Qp(d);Pp(d,21823);if(fh(d)|0)ih(a);Qp(d);Pp(d,21837);if(fh(d)|0)jh(a,b);Qp(d);yb=e;return}function fh(a){a=a|0;return 1}function gh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,g=0.0,h=0,i=0,j=0.0,k=0,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,y=0.0,z=0.0,A=0.0,B=0.0,C=0.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,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.0,ga=0,ha=0,ia=0.0;ha=yb;yb=yb+48|0;aa=ha;ca=a+60|0;da=a+64|0;c[da>>2]=c[ca>>2];fa=+yh(+f[a+52>>2]);V=a+32|0;W=aa+12|0;Y=aa+16|0;Z=aa+24|0;_=aa+28|0;$=aa+4|0;F=a+68|0;G=aa+12|0;H=aa+16|0;I=aa+24|0;J=aa+28|0;K=aa+4|0;L=aa+12|0;M=aa+16|0;N=aa+24|0;O=aa+28|0;P=aa+4|0;a=1;a:while(1){if(a>>>0>=((Zh(V)|0)+-1|0)>>>0){ga=3;break}Q=_h(d,a+-1|0)|0;R=_h(d,a)|0;S=a+1|0;T=_h(d,S)|0;U=$h(d,a)|0;E=ai(d,a)|0;D=ag(Q)|0;b:do if((D|0)==(ag(R)|0)?(D=ag(Q)|0,(D|0)==(ag(T)|0)):0){D=bg(Q)|0;if((D|0)!=(bg(R)|0)){ga=7;break a}D=bg(Q)|0;if((D|0)!=(bg(T)|0)){ga=9;break a}k=(ag(R)|0)+-1|0;l=(bg(R)|0)+-1|0;m=+(E|0);a=1;while(1){if(a>>>0>=l>>>0)break b;v=a+-1|0;n=rg(Q,v)|0;o=rg(Q,a)|0;p=a+1|0;q=rg(Q,p)|0;r=rg(R,v)|0;s=rg(R,a)|0;u=rg(R,p)|0;v=rg(T,v)|0;w=rg(T,a)|0;x=rg(T,p)|0;j=+(a>>>0);i=1;while(1){if(i>>>0>=k>>>0)break;a=s+(i<<2)|0;do if(!(+yh(+f[a>>2])>2];h=i+-1|0;e=+f[n+(h<<2)>>2];do if(((((g>e?g>+f[n+(i<<2)>>2]:0)?(X=i+1|0,g>+f[n+(X<<2)>>2]):0)?g>+f[o+(h<<2)>>2]:0)?g>+f[o+(i<<2)>>2]:0)?g>+f[o+(X<<2)>>2]:0){if(!(g>+f[q+(h<<2)>>2])){ga=42;break}if(!(g>+f[q+(i<<2)>>2])){ga=42;break}if(!(g>+f[q+(X<<2)>>2])){ga=42;break}if(!(g>+f[r+(h<<2)>>2])){ga=42;break}if(!(g>+f[r+(i<<2)>>2])){ga=42;break}if(!(g>+f[r+(X<<2)>>2])){ga=42;break}if(!(g>+f[s+(h<<2)>>2])){ga=42;break}if(!(g>+f[s+(X<<2)>>2])){ga=42;break}if(!(g>+f[u+(h<<2)>>2])){ga=42;break}if(!(g>+f[u+(i<<2)>>2])){ga=42;break}if(!(g>+f[u+(X<<2)>>2])){ga=42;break}if(!(g>+f[v+(h<<2)>>2])){ga=42;break}if(!(g>+f[v+(i<<2)>>2])){ga=42;break}if(!(g>+f[v+(X<<2)>>2])){ga=42;break}if(!(g>+f[w+(h<<2)>>2])){ga=42;break}if(!(g>+f[w+(i<<2)>>2])){ga=42;break}if(!(g>+f[w+(X<<2)>>2])){ga=42;break}if(!(g>+f[x+(h<<2)>>2])){ga=42;break}if(!(g>+f[x+(i<<2)>>2])){ga=42;break}if(!(g>+f[x+(X<<2)>>2]))ga=42}else ga=42;while(0);if((ga|0)==42){ga=0;if(!(g>2]))break;a=i+1|0;if(!(g<+f[n+(a<<2)>>2]))break;if(!(g<+f[o+(h<<2)>>2]))break;if(!(g<+f[o+(i<<2)>>2]))break;if(!(g<+f[o+(a<<2)>>2]))break;if(!(g<+f[q+(h<<2)>>2]))break;if(!(g<+f[q+(i<<2)>>2]))break;if(!(g<+f[q+(a<<2)>>2]))break;if(!(g<+f[r+(h<<2)>>2]))break;if(!(g<+f[r+(i<<2)>>2]))break;if(!(g<+f[r+(a<<2)>>2]))break;if(!(g<+f[s+(h<<2)>>2]))break;if(!(g<+f[s+(a<<2)>>2]))break;if(!(g<+f[u+(h<<2)>>2]))break;if(!(g<+f[u+(i<<2)>>2]))break;if(!(g<+f[u+(a<<2)>>2]))break;if(!(g<+f[v+(h<<2)>>2]))break;if(!(g<+f[v+(i<<2)>>2]))break;if(!(g<+f[v+(a<<2)>>2]))break;if(!(g<+f[w+(h<<2)>>2]))break;if(!(g<+f[w+(i<<2)>>2]))break;if(!(g<+f[w+(a<<2)>>2]))break;if(!(g<+f[x+(h<<2)>>2]))break;if(!(g<+f[x+(i<<2)>>2]))break;if(!(g<+f[x+(a<<2)>>2]))break}c[W>>2]=U;c[Y>>2]=E;f[Z>>2]=g;f[_>>2]=+Hh(b,U,m);Gh(aa,$,+(i>>>0),j,U);a=c[da>>2]|0;if((a|0)==(c[F>>2]|0)){nh(ca,aa);break}else{h=aa;D=a+36|0;do{c[a>>2]=c[h>>2];a=a+4|0;h=h+4|0}while((a|0)<(D|0));c[da>>2]=(c[da>>2]|0)+36;break}}while(0);i=i+1|0}a=p}}else ga=72;while(0);c:do if((ga|0)==72){ga=0;D=ag(Q)|0;if((D|0)==(ag(R)|0)?(D=(ag(R)|0)>>>1,(D|0)==(ag(T)|0)):0){D=bg(Q)|0;if((D|0)!=(bg(R)|0)){ga=75;break a}D=(bg(R)|0)>>>1;if((D|0)!=(bg(T)|0)){ga=77;break a}l=~~+t(+((+(((ag(T)|0)+-1|0)>>>0)+-.5)*2.0+.5))>>>0;n=~~+t(+((+(((bg(T)|0)+-1|0)>>>0)+-.5)*2.0+.5))>>>0;C=+(E|0);a=2;while(1){if(a>>>0>=n>>>0)break c;s=a+-1|0;o=rg(Q,s)|0;p=rg(Q,a)|0;q=a+1|0;r=rg(Q,q)|0;s=rg(R,s)|0;u=rg(R,a)|0;v=rg(R,q)|0;y=+(a>>>0);z=y*.5+-.25;A=z+-.5;B=z+.5;k=2;while(1){if(k>>>0>=l>>>0)break;i=u+(k<<2)|0;do if(!(+yh(+f[i>>2])>>0);m=j*.5+-.25;e=+f[i>>2];h=k+-1|0;a=o+(h<<2)|0;do if(((e>+f[a>>2]?e>+f[o+(k<<2)>>2]:0)?(ba=k+1|0,e>+f[o+(ba<<2)>>2]):0)?e>+f[p+(h<<2)>>2]:0){if(!(e>+f[p+(k<<2)>>2])){ga=110;break}if(!(e>+f[p+(ba<<2)>>2])){ga=110;break}if(!(e>+f[r+(h<<2)>>2])){ga=110;break}if(!(e>+f[r+(k<<2)>>2])){ga=110;break}if(!(e>+f[r+(ba<<2)>>2])){ga=110;break}if(!(e>+f[s+(h<<2)>>2])){ga=110;break}if(!(e>+f[s+(k<<2)>>2])){ga=110;break}if(!(e>+f[s+(ba<<2)>>2])){ga=110;break}if(!(e>+f[u+(h<<2)>>2])){ga=110;break}if(!(e>+f[u+(ba<<2)>>2])){ga=110;break}if(!(e>+f[v+(h<<2)>>2])){ga=110;break}if(!(e>+f[v+(k<<2)>>2])){ga=110;break}if(!(e>+f[v+(ba<<2)>>2])){ga=110;break}g=m+-.5;if(!(e>+Rh(T,g,A))){ga=110;break}e=+f[i>>2];if(!(e>+Rh(T,m,A))){ga=110;break}ia=+f[i>>2];e=m+.5;if(!(ia>+Rh(T,e,A))){ga=110;break}ia=+f[i>>2];if(!(ia>+Rh(T,g,z))){ga=110;break}ia=+f[i>>2];if(!(ia>+Rh(T,m,z))){ga=110;break}ia=+f[i>>2];if(!(ia>+Rh(T,e,z))){ga=110;break}ia=+f[i>>2];if(!(ia>+Rh(T,g,B))){ga=110;break}ia=+f[i>>2];if(!(ia>+Rh(T,m,B))){ga=110;break}ia=+f[i>>2];if(!(ia>+Rh(T,e,B)))ga=110}else ga=110;while(0);if((ga|0)==110){ga=0;e=+f[i>>2];if(!(e<+f[a>>2]))break;if(!(e<+f[o+(k<<2)>>2]))break;a=k+1|0;if(!(e<+f[o+(a<<2)>>2]))break;if(!(e<+f[p+(h<<2)>>2]))break;if(!(e<+f[p+(k<<2)>>2]))break;if(!(e<+f[p+(a<<2)>>2]))break;if(!(e<+f[r+(h<<2)>>2]))break;if(!(e<+f[r+(k<<2)>>2]))break;if(!(e<+f[r+(a<<2)>>2]))break;if(!(e<+f[s+(h<<2)>>2]))break;if(!(e<+f[s+(k<<2)>>2]))break;if(!(e<+f[s+(a<<2)>>2]))break;if(!(e<+f[u+(h<<2)>>2]))break;if(!(e<+f[u+(a<<2)>>2]))break;if(!(e<+f[v+(h<<2)>>2]))break;if(!(e<+f[v+(k<<2)>>2]))break;if(!(e<+f[v+(a<<2)>>2]))break;g=m+-.5;if(!(e<+Rh(T,g,A)))break;ia=+f[i>>2];if(!(ia<+Rh(T,m,A)))break;ia=+f[i>>2];e=m+.5;if(!(ia<+Rh(T,e,A)))break;ia=+f[i>>2];if(!(ia<+Rh(T,g,z)))break;ia=+f[i>>2];if(!(ia<+Rh(T,m,z)))break;ia=+f[i>>2];if(!(ia<+Rh(T,e,z)))break;ia=+f[i>>2];if(!(ia<+Rh(T,g,B)))break;ia=+f[i>>2];if(!(ia<+Rh(T,m,B)))break;ia=+f[i>>2];if(!(ia<+Rh(T,e,B)))break}c[G>>2]=U;c[H>>2]=E;c[I>>2]=c[i>>2];f[J>>2]=+Hh(b,U,C);Gh(aa,K,j,y,U);a=c[da>>2]|0;if((a|0)==(c[F>>2]|0)){nh(ca,aa);break}else{h=aa;D=a+36|0;do{c[a>>2]=c[h>>2];a=a+4|0;h=h+4|0}while((a|0)<(D|0));c[da>>2]=(c[da>>2]|0)+36;break}}while(0);k=k+1|0}a=q}}D=(ag(Q)|0)>>>1;if((D|0)==(ag(R)|0)?(D=(ag(Q)|0)>>>1,(D|0)==(ag(T)|0)):0){D=(bg(Q)|0)>>>1;if((D|0)!=(bg(R)|0)){ga=144;break a}D=(bg(Q)|0)>>>1;if((D|0)!=(bg(T)|0)){ga=146;break a}l=(ag(R)|0)+-1|0;n=(bg(R)|0)+-1|0;A=+(E|0);a=1;while(1){if(a>>>0>=n>>>0)break c;s=a+-1|0;o=rg(R,s)|0;p=rg(R,a)|0;q=a+1|0;r=rg(R,q)|0;s=rg(T,s)|0;u=rg(T,a)|0;v=rg(T,q)|0;B=+(a<<1>>>0)+.5;m=+(a>>>0);y=B+-2.0;z=B+2.0;k=1;while(1){if(k>>>0>=l>>>0)break;i=p+(k<<2)|0;do if(!(+yh(+f[i>>2])>>0)+.5;e=+f[i>>2];h=k+-1|0;a=o+(h<<2)|0;do if(((e>+f[a>>2]?e>+f[o+(k<<2)>>2]:0)?(ea=k+1|0,e>+f[o+(ea<<2)>>2]):0)?e>+f[p+(h<<2)>>2]:0){if(!(e>+f[p+(ea<<2)>>2])){ga=179;break}if(!(e>+f[r+(h<<2)>>2])){ga=179;break}if(!(e>+f[r+(k<<2)>>2])){ga=179;break}if(!(e>+f[r+(ea<<2)>>2])){ga=179;break}if(!(e>+f[s+(h<<2)>>2])){ga=179;break}if(!(e>+f[s+(k<<2)>>2])){ga=179;break}if(!(e>+f[s+(ea<<2)>>2])){ga=179;break}if(!(e>+f[u+(h<<2)>>2])){ga=179;break}if(!(e>+f[u+(k<<2)>>2])){ga=179;break}if(!(e>+f[u+(ea<<2)>>2])){ga=179;break}if(!(e>+f[v+(h<<2)>>2])){ga=179;break}if(!(e>+f[v+(k<<2)>>2])){ga=179;break}if(!(e>+f[v+(ea<<2)>>2])){ga=179;break}g=j+-2.0;if(!(e>+Rh(Q,g,y))){ga=179;break}ia=+f[i>>2];if(!(ia>+Rh(Q,j,y))){ga=179;break}ia=+f[i>>2];e=j+2.0;if(!(ia>+Rh(Q,e,y))){ga=179;break}ia=+f[i>>2];if(!(ia>+Rh(Q,g,B))){ga=179;break}ia=+f[i>>2];if(!(ia>+Rh(Q,j,B))){ga=179;break}ia=+f[i>>2];if(!(ia>+Rh(Q,e,B))){ga=179;break}ia=+f[i>>2];if(!(ia>+Rh(Q,g,z))){ga=179;break}ia=+f[i>>2];if(!(ia>+Rh(Q,j,z))){ga=179;break}ia=+f[i>>2];if(!(ia>+Rh(Q,e,z)))ga=179}else ga=179;while(0);if((ga|0)==179){ga=0;e=+f[i>>2];if(!(e<+f[a>>2]))break;if(!(e<+f[o+(k<<2)>>2]))break;a=k+1|0;if(!(e<+f[o+(a<<2)>>2]))break;if(!(e<+f[p+(h<<2)>>2]))break;if(!(e<+f[p+(a<<2)>>2]))break;if(!(e<+f[r+(h<<2)>>2]))break;if(!(e<+f[r+(k<<2)>>2]))break;if(!(e<+f[r+(a<<2)>>2]))break;if(!(e<+f[s+(h<<2)>>2]))break;if(!(e<+f[s+(k<<2)>>2]))break;if(!(e<+f[s+(a<<2)>>2]))break;if(!(e<+f[u+(h<<2)>>2]))break;if(!(e<+f[u+(k<<2)>>2]))break;if(!(e<+f[u+(a<<2)>>2]))break;if(!(e<+f[v+(h<<2)>>2]))break;if(!(e<+f[v+(k<<2)>>2]))break;if(!(e<+f[v+(a<<2)>>2]))break;g=j+-2.0;if(!(e<+Rh(Q,g,y)))break;ia=+f[i>>2];if(!(ia<+Rh(Q,j,y)))break;ia=+f[i>>2];e=j+2.0;if(!(ia<+Rh(Q,e,y)))break;ia=+f[i>>2];if(!(ia<+Rh(Q,g,B)))break;ia=+f[i>>2];if(!(ia<+Rh(Q,j,B)))break;ia=+f[i>>2];if(!(ia<+Rh(Q,e,B)))break;ia=+f[i>>2];if(!(ia<+Rh(Q,g,z)))break;ia=+f[i>>2];if(!(ia<+Rh(Q,j,z)))break;ia=+f[i>>2];if(!(ia<+Rh(Q,e,z)))break}c[L>>2]=U;c[M>>2]=E;c[N>>2]=c[i>>2];f[O>>2]=+Hh(b,U,A);Gh(aa,P,+(k>>>0),m,U);a=c[da>>2]|0;if((a|0)==(c[F>>2]|0)){nh(ca,aa);break}else{h=aa;D=a+36|0;do{c[a>>2]=c[h>>2];a=a+4|0;h=h+4|0}while((a|0)<(D|0));c[da>>2]=(c[da>>2]|0)+36;break}}while(0);k=k+1|0}a=q}}}while(0);a=S}if((ga|0)==3){yb=ha;return}else if((ga|0)==7){ha=jf(jf(OC(jf(jf(jf(55420,24639)|0,20520)|0,33528)|0,192)|0,33535)|0,24691)|0;HC(aa,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=WD(aa,56124)|0;ga=Gb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;XD(aa);PC(ha,ga)|0;LC(ha)|0;ya()}else if((ga|0)==9){ha=jf(jf(OC(jf(jf(jf(55420,24714)|0,20520)|0,33528)|0,193)|0,33535)|0,24691)|0;HC(aa,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=WD(aa,56124)|0;ga=Gb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;XD(aa);PC(ha,ga)|0;LC(ha)|0;ya()}else if((ga|0)==75){ha=jf(jf(OC(jf(jf(jf(55420,24639)|0,20520)|0,33528)|0,277)|0,33535)|0,24691)|0;HC(aa,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=WD(aa,56124)|0;ga=Gb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;XD(aa);PC(ha,ga)|0;LC(ha)|0;ya()}else if((ga|0)==77){ha=jf(jf(OC(jf(jf(jf(55420,24766)|0,20520)|0,33528)|0,278)|0,33535)|0,24691)|0;HC(aa,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=WD(aa,56124)|0;ga=Gb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;XD(aa);PC(ha,ga)|0;LC(ha)|0;ya()}else if((ga|0)==144){ha=jf(jf(OC(jf(jf(jf(55420,24823)|0,20520)|0,33528)|0,362)|0,33535)|0,24691)|0;HC(aa,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=WD(aa,56124)|0;ga=Gb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;XD(aa);PC(ha,ga)|0;LC(ha)|0;ya()}else if((ga|0)==146){ha=jf(jf(OC(jf(jf(jf(55420,24880)|0,20520)|0,33528)|0,363)|0,33535)|0,24691)|0;HC(aa,ha+(c[(c[ha>>2]|0)+-12>>2]|0)|0);ga=WD(aa,56124)|0;ga=Gb[c[(c[ga>>2]|0)+28>>2]&63](ga,10)|0;XD(aa);PC(ha,ga)|0;LC(ha)|0;ya()}}function hh(a,b){a=a|0;b=b|0;var d=0,e=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.0,t=0.0,v=0.0,w=0.0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0.0,M=0.0,N=0.0;J=yb;yb=yb+80|0;I=J+68|0;A=J;B=J+56|0;D=J+44|0;E=J+40|0;F=J+36|0;s=+yh(+f[a+52>>2]);H=a+56|0;w=+yh(+f[H>>2]+1.0);w=w/+f[H>>2];H=a+60|0;x=a+64|0;y=a+32|0;z=D+4|0;o=a+88|0;p=B+4|0;q=B+8|0;r=D+8|0;m=0;n=0;while(1){l=c[H>>2]|0;i=l;if(n>>>0>=(((c[x>>2]|0)-l|0)/36|0)>>>0){a=3;break}d=i+(n*36|0)|0;a=i+(n*36|0)+16|0;l=c[a>>2]|0;if((l|0)>=(Ah(y)|0)){a=5;break}j=i+(n*36|0)+12|0;l=c[j>>2]|0;l=C(Ah(y)|0,l)|0;l=l+(c[a>>2]|0)|0;k=i+(n*36|0)+4|0;Bh(E,F,+f[d>>2],+f[k>>2],c[j>>2]|0);e=~~(+f[E>>2]+.5);g=~~(+f[F>>2]+.5);K=(c[(Ch(y)|0)>>2]|0)+(l+-1<<5)|0;h=(c[(Ch(y)|0)>>2]|0)+(l<<5)|0;if(((Dh(A,B,K,h,(c[(Ch(y)|0)>>2]|0)+(l+1<<5)|0,e,g)|0?Eh(D,A,B)|0:0)?(L=+yh(+f[D>>2]),L=L+ +yh(+f[z>>2]),!(L>+f[o>>2])):0)?(G=i+(n*36|0)+32|0,Fh(G,A)|0):0){l=i+(n*36|0)+24|0;L=+f[l>>2];if(!(L==+f[(rg(h,g)|0)+(e<<2)>>2])){a=11;break}N=+f[(rg(h,g)|0)+(e<<2)>>2];M=+f[D>>2];L=+f[z>>2];f[l>>2]=N-(+f[B>>2]*M+ +f[p>>2]*L+ +f[q>>2]*+f[r>>2]);Gh(d,k,M+ +f[E>>2],L+ +f[F>>2],c[j>>2]|0);L=+f[r>>2]+ +(c[a>>2]|0);a=i+(n*36|0)+20|0;f[a>>2]=L;f[a>>2]=+mh(L,0.0,+(Ah(y)|0));if(((((+u(+(+f[G>>2]))>2])>=s:0)?(t=+f[d>>2],t>=0.0):0)?t<+((ag(c[(Ch(y)|0)>>2]|0)|0)>>>0):0)?(v=+f[k>>2],v>=0.0):0)?v<+((bg(c[(Ch(y)|0)>>2]|0)|0)>>>0):0){f[i+(n*36|0)+28>>2]=+Hh(b,c[j>>2]|0,+f[a>>2]);a=m+1|0;g=(c[H>>2]|0)+(m*36|0)|0;e=g+36|0;do{c[g>>2]=c[d>>2];g=g+4|0;d=d+4|0}while((g|0)<(e|0))}else a=m}else a=m;m=a;n=n+1|0}if((a|0)==3){zh(H,m);yb=J;return}else if((a|0)==5){K=jf(jf(OC(jf(jf(jf(55420,22164)|0,20520)|0,33528)|0,489)|0,33535)|0,22236)|0;HC(I,K+(c[(c[K>>2]|0)+-12>>2]|0)|0);J=WD(I,56124)|0;J=Gb[c[(c[J>>2]|0)+28>>2]&63](J,10)|0;XD(I);PC(K,J)|0;LC(K)|0;ya()}else if((a|0)==11){K=jf(jf(OC(jf(jf(jf(55420,22273)|0,20520)|0,33528)|0,526)|0,33535)|0,22330)|0;HC(I,K+(c[(c[K>>2]|0)+-12>>2]|0)|0);J=WD(I,56124)|0;J=Gb[c[(c[J>>2]|0)+28>>2]&63](J,10)|0;XD(I);PC(K,J)|0;LC(K)|0;ya()}}function ih(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=yb;yb=yb+16|0;d=l+12|0;h=l;i=a+60|0;j=a+64|0;k=a+84|0;e=c[k>>2]|0;do if((((c[j>>2]|0)-(c[i>>2]|0)|0)/36|0)>>>0>e>>>0){f=a+16|0;b=c[f>>2]|0;g=((c[a+20>>2]|0)-b|0)/12|0;if((g|0)!=(c[a+8>>2]|0)){m=jf(jf(OC(jf(jf(jf(55420,21855)|0,20520)|0,33528)|0,454)|0,33535)|0,21910)|0;HC(d,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);n=WD(d,56124)|0;n=Gb[c[(c[n>>2]|0)+28>>2]&63](n,10)|0;XD(d);PC(m,n)|0;LC(m)|0;ya()}b=((c[b+4>>2]|0)-(c[b>>2]|0)|0)/12|0;if((b|0)!=(c[a+12>>2]|0)){n=jf(jf(OC(jf(jf(jf(55420,21936)|0,20520)|0,33528)|0,455)|0,33535)|0,21910)|0;HC(d,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(d,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(d);PC(n,m)|0;LC(n)|0;ya()}c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;ph(f,h,i,g,b,c[a>>2]|0,c[a+4>>2]|0,e);kh(i,h);if((((c[j>>2]|0)-(c[i>>2]|0)|0)/36|0)>>>0>(c[k>>2]|0)>>>0){n=jf(jf(OC(jf(jf(jf(55420,21994)|0,20520)|0,33528)|0,469)|0,33535)|0,22063)|0;HC(d,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(d,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(d);PC(n,m)|0;LC(n)|0;ya()}else{wg(h);break}}while(0);yb=l;return}function jh(b,d){b=b|0;d=d|0;var e=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,u=0,v=0,w=0,x=0.0;w=yb;yb=yb+64|0;l=w+48|0;s=w+44|0;t=w+40|0;u=w+36|0;v=w;a:do if(!(a[b+28>>0]|0)){g=c[b+60>>2]|0;e=((c[b+64>>2]|0)-g|0)/36|0;b=0;while(1){if((b|0)==(e|0))break a;f[g+(b*36|0)+8>>2]=0.0;b=b+1|0}}else{k=b+72|0;m=b+76|0;c[m>>2]=c[k>>2];n=b+60|0;o=b+64|0;Jg(k,(c[o>>2]|0)-(c[n>>2]|0)|0);p=b+92|0;Ki(p,d);q=b+144|0;r=v+8|0;j=b+80|0;i=0;while(1){h=c[n>>2]|0;b=h;if(i>>>0>=(((c[o>>2]|0)-h|0)/36|0)>>>0)break;lh(s,t,u,+f[b+(i*36|0)>>2],+f[b+(i*36|0)+4>>2],+f[b+(i*36|0)+28>>2],c[b+(i*36|0)+12>>2]|0);x=+f[s>>2];f[s>>2]=+mh(x,0.0,+(((ag(_f(d,c[(c[n>>2]|0)+(i*36|0)+12>>2]|0,0)|0)|0)+-1|0)>>>0));x=+f[t>>2];x=+mh(x,0.0,+(((bg(_f(d,c[(c[n>>2]|0)+(i*36|0)+12>>2]|0,0)|0)|0)+-1|0)>>>0));f[t>>2]=x;h=c[n>>2]|0;Ni(p,c[q>>2]|0,l,c[h+(i*36|0)+12>>2]|0,c[h+(i*36|0)+16>>2]|0,+f[s>>2],x,+f[u>>2]);h=0;while(1){if((h|0)>=(c[l>>2]|0))break;b=v;e=(c[n>>2]|0)+(i*36|0)|0;g=b+36|0;do{c[b>>2]=c[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(g|0));c[r>>2]=c[(c[q>>2]|0)+(h<<2)>>2];b=c[m>>2]|0;if((b|0)==(c[j>>2]|0))nh(k,v);else{e=v;g=b+36|0;do{c[b>>2]=c[e>>2];b=b+4|0;e=e+4|0}while((b|0)<(g|0));c[m>>2]=(c[m>>2]|0)+36}h=h+1|0}i=i+1|0}kh(n,k)}while(0);yb=w;return}function kh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=c[a>>2]|0;c[a>>2]=c[b>>2];c[b>>2]=f;f=a+4|0;d=b+4|0;e=c[f>>2]|0;c[f>>2]=c[d>>2];c[d>>2]=e;d=a+8|0;b=b+8|0;a=c[d>>2]|0;c[d>>2]=c[b>>2];c[b>>2]=a;return}function lh(a,b,c,d,e,g,h){a=a|0;b=b|0;c=c|0;d=+d;e=+e;g=+g;h=h|0;var i=0.0,j=0.0;i=1.0/+(1<>2]=i*d+j;f[b>>2]=i*e+j;f[c>>2]=i*g;return}function mh(a,b,c){a=+a;b=+b;c=+c;if(!(ac)a=c}else a=b;return +a}function nh(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;j=yb;yb=yb+32|0;i=j;d=a+4|0;e=(((c[d>>2]|0)-(c[a>>2]|0)|0)/36|0)+1|0;f=oh(a)|0;if(f>>>0>>0)KM(a);else{g=c[a>>2]|0;k=((c[a+8>>2]|0)-g|0)/36|0;h=k<<1;Kg(i,k>>>0>>1>>>0?(h>>>0>>0?e:h):f,((c[d>>2]|0)-g|0)/36|0,a+8|0);f=i+8|0;g=c[f>>2]|0;h=g;d=b;e=h+36|0;do{c[h>>2]=c[d>>2];h=h+4|0;d=d+4|0}while((h|0)<(e|0));c[f>>2]=g+36;Lg(a,i);Mg(i);yb=j;return}}function oh(a){a=a|0;return 119304647} -function dn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0;e=yb;yb=yb+16|0;g=e;c=a+180|0;i=a+144|0;d=b+180|0;on(c,i,d);h=a+216|0;on(h,i,b+216|0);a=a+252|0;on(a,i,b+252|0);f[g>>2]=+mn(c);f[g+4>>2]=+mn(h);f[g+8>>2]=+mn(a);a=rn(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)a=0;else{a=a*9|0;qn(c,c+(a<<2)|0);qn(d,d+(a<<2)|0);kn(c,c,1.0/+v(+(+f[b>>2])));a=1}yb=e;return a|0}function en(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;e=yb;yb=yb+16|0;g=e;c=a+216|0;h=a+180|0;d=b+216|0;on(c,h,d);a=a+252|0;on(a,h,b+252|0);f[g>>2]=+mn(c);f[g+4>>2]=+mn(a);a=pn(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)a=0;else{a=a*9|0;qn(c,c+(a<<2)|0);qn(d,d+(a<<2)|0);kn(c,c,1.0/+v(+(+f[b>>2])));a=1}yb=e;return a|0}function fn(a,b){a=a|0;b=b|0;var c=0.0,d=0;d=a+252|0;on(d,a+216|0,b+252|0);c=+mn(d);if(c==0.0)a=0;else{kn(d,d,1.0/+v(+c));a=1}return a|0}function gn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=yb;yb=yb+384|0;e=d+336|0;c=d;f[e>>2]=+hn(c,b,0);f[e+4>>2]=+hn(c+36|0,b,1);f[e+8>>2]=+hn(c+72|0,b,2);f[e+12>>2]=+hn(c+108|0,b,3);f[e+16>>2]=+hn(c+144|0,b,4);f[e+20>>2]=+hn(c+180|0,b,5);f[e+24>>2]=+hn(c+216|0,b,6);f[e+28>>2]=+hn(c+252|0,b,7);f[e+32>>2]=+hn(c+288|0,b,8);b=jn(e)|0;if(+f[e+(b<<2)>>2]==0.0)b=0;else{hm(a,c+(b*9<<2)|0);b=1}yb=d;return b|0}function hn(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0,g=0;kn(a,b,-+f[b+(c<<2)>>2]);g=a+(c<<2)|0;f[g>>2]=+f[g>>2]+1.0;ln(a,b+36|0,-+f[b+(c+9<<2)>>2]);ln(a,b+72|0,-+f[b+(c+18<<2)>>2]);ln(a,b+108|0,-+f[b+(c+27<<2)>>2]);ln(a,b+144|0,-+f[b+(c+36<<2)>>2]);ln(a,b+180|0,-+f[b+(c+45<<2)>>2]);ln(a,b+216|0,-+f[b+(c+54<<2)>>2]);ln(a,b+252|0,-+f[b+(c+63<<2)>>2]);e=+mn(a);d=+v(+e);if(e==0.0)d=0.0;else kn(a,a,1.0/d);return +d}function jn(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;b=+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b;b=+f[a+20>>2]>+f[a+(b<<2)>>2]?5:b;b=+f[a+24>>2]>+f[a+(b<<2)>>2]?6:b;b=+f[a+28>>2]>+f[a+(b<<2)>>2]?7:b;return (+f[a+32>>2]>+f[a+(b<<2)>>2]?8:b)|0}function kn(a,b,c){a=a|0;b=b|0;c=+c;f[a>>2]=+f[b>>2]*c;f[a+4>>2]=+f[b+4>>2]*c;f[a+8>>2]=+f[b+8>>2]*c;f[a+12>>2]=+f[b+12>>2]*c;f[a+16>>2]=+f[b+16>>2]*c;f[a+20>>2]=+f[b+20>>2]*c;f[a+24>>2]=+f[b+24>>2]*c;f[a+28>>2]=+f[b+28>>2]*c;f[a+32>>2]=+f[b+32>>2]*c;return}function ln(a,b,c){a=a|0;b=b|0;c=+c;var d=0;f[a>>2]=+f[a>>2]+ +f[b>>2]*c;d=a+4|0;f[d>>2]=+f[d>>2]+ +f[b+4>>2]*c;d=a+8|0;f[d>>2]=+f[d>>2]+ +f[b+8>>2]*c;d=a+12|0;f[d>>2]=+f[d>>2]+ +f[b+12>>2]*c;d=a+16|0;f[d>>2]=+f[d>>2]+ +f[b+16>>2]*c;d=a+20|0;f[d>>2]=+f[d>>2]+ +f[b+20>>2]*c;d=a+24|0;f[d>>2]=+f[d>>2]+ +f[b+24>>2]*c;d=a+28|0;f[d>>2]=+f[d>>2]+ +f[b+28>>2]*c;a=a+32|0;f[a>>2]=+f[a>>2]+ +f[b+32>>2]*c;return}function mn(a){a=a|0;return +(+nn(a,a))}function nn(a,b){a=a|0;b=b|0;return +(+f[a>>2]*+f[b>>2]+ +f[a+4>>2]*+f[b+4>>2]+ +f[a+8>>2]*+f[b+8>>2]+ +f[a+12>>2]*+f[b+12>>2]+ +f[a+16>>2]*+f[b+16>>2]+ +f[a+20>>2]*+f[b+20>>2]+ +f[a+24>>2]*+f[b+24>>2]+ +f[a+28>>2]*+f[b+28>>2]+ +f[a+32>>2]*+f[b+32>>2])}function on(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0;d=+nn(c,b);f[a>>2]=+f[a>>2]-d*+f[b>>2];c=a+4|0;f[c>>2]=+f[c>>2]-d*+f[b+4>>2];c=a+8|0;f[c>>2]=+f[c>>2]-d*+f[b+8>>2];c=a+12|0;f[c>>2]=+f[c>>2]-d*+f[b+12>>2];c=a+16|0;f[c>>2]=+f[c>>2]-d*+f[b+16>>2];c=a+20|0;f[c>>2]=+f[c>>2]-d*+f[b+20>>2];c=a+24|0;f[c>>2]=+f[c>>2]-d*+f[b+24>>2];c=a+28|0;f[c>>2]=+f[c>>2]-d*+f[b+28>>2];c=a+32|0;f[c>>2]=+f[c>>2]-d*+f[b+32>>2];return}function pn(a){a=a|0;return +f[a+4>>2]>+f[a>>2]|0}function qn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=c[a>>2]|0;f=a+4|0;c[a>>2]=c[b>>2];d=b+4|0;c[b>>2]=g;g=c[f>>2]|0;e=a+8|0;c[f>>2]=c[d>>2];f=b+8|0;c[d>>2]=g;d=c[e>>2]|0;g=a+12|0;c[e>>2]=c[f>>2];e=b+12|0;c[f>>2]=d;f=c[g>>2]|0;d=a+16|0;c[g>>2]=c[e>>2];g=b+16|0;c[e>>2]=f;e=c[d>>2]|0;f=a+20|0;c[d>>2]=c[g>>2];d=b+20|0;c[g>>2]=e;g=c[f>>2]|0;e=a+24|0;c[f>>2]=c[d>>2];f=b+24|0;c[d>>2]=g;d=c[e>>2]|0;g=a+28|0;c[e>>2]=c[f>>2];e=b+28|0;c[f>>2]=d;f=c[g>>2]|0;d=a+32|0;c[g>>2]=c[e>>2];b=b+32|0;c[e>>2]=f;a=c[d>>2]|0;c[d>>2]=c[b>>2];c[b>>2]=a;return}function rn(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;return (+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b)|0}function sn(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;return (+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b)|0}function tn(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;return (+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b)|0}function un(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;b=+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b;return (+f[a+20>>2]>+f[a+(b<<2)>>2]?5:b)|0}function vn(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;b=+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b;b=+f[a+20>>2]>+f[a+(b<<2)>>2]?5:b;return (+f[a+24>>2]>+f[a+(b<<2)>>2]?6:b)|0}function wn(a){a=a|0;var b=0;b=+f[a+4>>2]>+f[a>>2]&1;b=+f[a+8>>2]>+f[a+(b<<2)>>2]?2:b;b=+f[a+12>>2]>+f[a+(b<<2)>>2]?3:b;b=+f[a+16>>2]>+f[a+(b<<2)>>2]?4:b;b=+f[a+20>>2]>+f[a+(b<<2)>>2]?5:b;b=+f[a+24>>2]>+f[a+(b<<2)>>2]?6:b;return (+f[a+28>>2]>+f[a+(b<<2)>>2]?7:b)|0}function xn(a,b,c){a=a|0;b=b|0;c=c|0;VN(a|0,b|0,c<<2|0)|0;return}function yn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;f[a>>2]=-+f[b>>2];e=b+4|0;f[a+4>>2]=-+f[e>>2];f[a+8>>2]=-1.0;zn(a+12|0);f[a+24>>2]=+f[d>>2]*+f[b>>2];f[a+28>>2]=+f[d>>2]*+f[e>>2];c[a+32>>2]=c[d>>2];zn(a+36|0);f[a+48>>2]=-+f[b>>2];f[a+52>>2]=-+f[e>>2];f[a+56>>2]=-1.0;d=d+4|0;f[a+60>>2]=+f[d>>2]*+f[b>>2];f[a+64>>2]=+f[d>>2]*+f[e>>2];c[a+68>>2]=c[d>>2];return}function zn(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function An(a,b){a=a|0;b=b|0;var d=0;if((Gi(a)|0)>>>0>>0)KM(a);if(b>>>0>536870911){b=Q(8)|0;gM(b,40521);c[b>>2]=17440;U(b|0,13288,107)}else{d=aM(b<<3)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<3);return}}function Bn(a,b){a=a|0;b=b|0;var d=0;d=a+4|0;a=b;b=c[d>>2]|0;do{Cn(b);b=(c[d>>2]|0)+8|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function Cn(a){a=a|0;f[a>>2]=0.0;f[a+4>>2]=0.0;return}function Dn(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,l=0,m=0,n=0;k=yb;yb=yb+16|0;j=k;i=a+88|0;n=a+84|0;h=a+52|0;m=(((g|0)%(c[i>>2]|0)|0|0)%(c[n>>2]|0)|0|0)%(c[h>>2]|0)|0;c[b>>2]=m;m=(((g-m|0)%(c[i>>2]|0)|0|0)%(c[n>>2]|0)|0|0)/(c[h>>2]|0)|0;c[d>>2]=m;m=g-(c[b>>2]|0)-(C(c[h>>2]|0,m)|0)|0;m=((m|0)%(c[i>>2]|0)|0|0)/(c[n>>2]|0)|0;c[e>>2]=m;l=C(c[h>>2]|0,c[d>>2]|0)|0;g=g-(c[b>>2]|0)-((C(c[n>>2]|0,m)|0)+l)|0;i=(g|0)/(c[i>>2]|0)|0;c[f>>2]=i;g=c[b>>2]|0;if((g|0)<=-1){n=jf(jf(OC(jf(jf(jf(55420,30928)|0,30431)|0,33528)|0,190)|0,33535)|0,30961)|0;HC(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(j,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(j);PC(n,m)|0;LC(n)|0;ya()}if((g|0)>=(c[h>>2]|0)){n=jf(jf(OC(jf(jf(jf(55420,30979)|0,30431)|0,33528)|0,191)|0,33535)|0,30961)|0;HC(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(j,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(j);PC(n,m)|0;LC(n)|0;ya()}g=c[d>>2]|0;if((g|0)<=-1){n=jf(jf(OC(jf(jf(jf(55420,31019)|0,30431)|0,33528)|0,192)|0,33535)|0,31052)|0;HC(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(j,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(j);PC(n,m)|0;LC(n)|0;ya()}if((g|0)>=(c[a+56>>2]|0)){n=jf(jf(OC(jf(jf(jf(55420,31070)|0,30431)|0,33528)|0,193)|0,33535)|0,31052)|0;HC(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(j,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(j);PC(n,m)|0;LC(n)|0;ya()}g=c[e>>2]|0;if((g|0)<=-1){n=jf(jf(OC(jf(jf(jf(55420,31110)|0,30431)|0,33528)|0,194)|0,33535)|0,31147)|0;HC(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(j,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(j);PC(n,m)|0;LC(n)|0;ya()}if((g|0)>=(c[a+60>>2]|0)){n=jf(jf(OC(jf(jf(jf(55420,31169)|0,30431)|0,33528)|0,195)|0,33535)|0,31147)|0;HC(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(j,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(j);PC(n,m)|0;LC(n)|0;ya()}if((i|0)<=-1){n=jf(jf(OC(jf(jf(jf(55420,31217)|0,30431)|0,33528)|0,196)|0,33535)|0,31254)|0;HC(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(j,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(j);PC(n,m)|0;LC(n)|0;ya()}if((i|0)<(c[a+64>>2]|0)){yb=k;return}else{n=jf(jf(OC(jf(jf(jf(55420,31276)|0,30431)|0,33528)|0,197)|0,33535)|0,31254)|0;HC(j,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(j,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(j);PC(n,m)|0;LC(n)|0;ya()}}function En(a){a=a|0;return a+124|0}function Fn(a){a=a|0;return a+112|0}function Gn(a,b,d,e,g,h,i,j,k,l,m,n,o){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=+h;i=+i;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;var p=0,q=0;q=yb;yb=yb+16|0;p=q;f[b>>2]=+u(+(h-l));f[d>>2]=+u(+(i-m));f[g>>2]=+u(+(k-o));l=+u(+(j-n));l=+Im(l,+(c[a+60>>2]|0)-l);f[e>>2]=l;if(!(l>=0.0)){q=jf(jf(OC(jf(jf(jf(55420,30211)|0,30431)|0,33528)|0,333)|0,33535)|0,30252)|0;HC(p,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);g=WD(p,56124)|0;g=Gb[c[(c[g>>2]|0)+28>>2]&63](g,10)|0;XD(p);PC(q,g)|0;LC(q)|0;ya()}else{yb=q;return}}function Hn(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Kn(a,b);Dg(a,b)}return}function In(a,b,c){a=a|0;b=+b;c=+c;f[a+8>>2]=b;f[a+12>>2]=c;return}function Jn(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;return}function Kn(a,b){a=a|0;b=b|0;var d=0;if((Eg(a)|0)>>>0>>0)KM(a);if(b>>>0>1073741823){b=Q(8)|0;gM(b,40521);c[b>>2]=17440;U(b|0,13288,107)}else{d=aM(b<<2)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<2);return}}function Ln(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,r=0,s=0,t=0,u=0,v=0,w=0,x=0;t=yb;yb=yb+48|0;j=t+8|0;i=t+32|0;h=t+28|0;k=t+24|0;p=t+20|0;q=t+16|0;r=t;s=a+8|0;if(!(c[s>>2]|0)){o=jf(jf(OC(jf(jf(jf(55420,30286)|0,27286)|0,33528)|0,405)|0,33535)|0,30321)|0;HC(j,o+(c[(c[o>>2]|0)+-12>>2]|0)|0);n=WD(j,56124)|0;n=Gb[c[(c[n>>2]|0)+28>>2]&63](n,10)|0;XD(j);PC(o,n)|0;LC(o)|0;ya()}c[a+100>>2]=0;l=a+72|0;m=a+76|0;c[m>>2]=c[l>>2];n=a+84|0;o=a+88|0;e=c[o>>2]|0;while(1){d=c[n>>2]|0;f=d;if((d|0)==(e|0))break;g=e-f|0;if((g|0)>8){e=e+-8|0;u=d;v=c[u>>2]|0;u=c[u+4>>2]|0;x=j;c[x>>2]=v;c[x+4>>2]=u;x=e;w=c[x+4>>2]|0;c[d>>2]=c[x>>2];c[d+4>>2]=w;d=e;c[d>>2]=v;c[d+4>>2]=u;kl(j);c[k>>2]=f;c[p>>2]=e;c[q>>2]=f;c[h>>2]=c[k>>2];c[i>>2]=c[p>>2];c[j>>2]=c[q>>2];Nn(h,i,r,(g>>>3)+-1|0,j);e=c[o>>2]|0}d=0;while(1){if((d|0)==-1)break;x=d+-1|0;kl(e+(x<<3)|0);d=x}e=e+-8|0;c[o>>2]=e}On(a,n,c[s>>2]|0,b);yb=t;return (c[m>>2]|0)-(c[l>>2]|0)>>2|0}function Mn(a){a=a|0;return a+72|0}function Nn(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,l=0,m=0,n=0,o=0;m=yb;yb=yb+16|0;l=m;j=c[f>>2]|0;k=c[a>>2]|0;b=j-k|0;i=j;h=j;if((e|0)>=2?(n=(e+-2|0)/2|0,(n|0)>=(b>>3|0)):0){b=b>>2|1;a=k+(b<<3)|0;d=a;g=b+1|0;if((g|0)<(e|0)){o=a+8|0;a=$n(a,o)|0;b=a?g:b;d=a?o:d}if(!($n(d,i)|0)){o=c[j+4>>2]|0;i=l;c[i>>2]=c[j>>2];c[i+4>>2]=o;i=d;while(1){o=h;h=i;g=h;j=c[g+4>>2]|0;c[o>>2]=c[g>>2];c[o+4>>2]=j;c[f>>2]=i;if((n|0)<(b|0))break;b=b<<1|1;a=k+(b<<3)|0;d=a;g=b+1|0;if((g|0)<(e|0)){o=a+8|0;j=$n(a,o)|0;b=j?g:b;d=j?o:d}if($n(d,l)|0)break;else i=d}e=l;f=c[e+4>>2]|0;o=i;c[o>>2]=c[e>>2];c[o+4>>2]=f;kl(l)}}yb=m;return}function On(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,l=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;t=yb;yb=yb+64|0;m=t+8|0;l=t+56|0;k=t+52|0;n=t+44|0;o=t+36|0;p=t+28|0;q=t;g=t+48|0;h=t+40|0;f=t+32|0;r=t+16|0;if(Pn(d)|0){c[g>>2]=c[a+76>>2];c[h>>2]=c[(Qn(d)|0)>>2];c[f>>2]=c[(Qn(d)|0)+4>>2];c[k>>2]=c[g>>2];c[l>>2]=c[h>>2];c[m>>2]=c[f>>2];Rn(a+72|0,k,l,m)|0}else{c[r>>2]=0;h=r+4|0;c[h>>2]=0;c[r+8>>2]=0;Sn(d,r,b,e);f=0;while(1){g=c[r>>2]|0;if(f>>>0>=(c[h>>2]|0)-g>>2>>>0)break;On(a,b,c[g+(f<<2)>>2]|0,e);f=f+1|0}i=a+100|0;if((c[i>>2]|0)<(c[a+104>>2]|0)?(j=c[b>>2]|0,s=b+4|0,(j|0)!=(c[s>>2]|0)):0){d=Tn(j)|0;f=c[b>>2]|0;g=c[s>>2]|0;h=g-f|0;if((h|0)>8){j=f;g=g+-8|0;u=j;v=c[u>>2]|0;u=c[u+4>>2]|0;x=m;c[x>>2]=v;c[x+4>>2]=u;x=g;w=c[x+4>>2]|0;c[j>>2]=c[x>>2];c[j+4>>2]=w;j=g;c[j>>2]=v;c[j+4>>2]=u;kl(m);c[n>>2]=f;c[o>>2]=g;c[p>>2]=f;c[k>>2]=c[n>>2];c[l>>2]=c[o>>2];c[m>>2]=c[p>>2];Nn(k,l,q,(h>>>3)+-1|0,m);g=c[s>>2]|0}f=0;while(1){if((f|0)==-1)break;x=f+-1|0;kl(g+(x<<3)|0);f=x}c[s>>2]=g+-8;c[i>>2]=(c[i>>2]|0)+1;On(a,b,d,e)}Un(r)}yb=t;return}function Pn(b){b=b|0;return (a[b+100>>0]|0)!=0|0}function Qn(a){a=a|0;return a+116|0}function Rn(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+48|0;p=s+40|0;o=s+36|0;q=s+32|0;r=s+28|0;j=s+8|0;k=s+4|0;l=s;f=c[a>>2]|0;g=f;b=f+((c[b>>2]|0)-g>>2<<2)|0;d=c[d>>2]|0;f=c[e>>2]|0;n=f-d|0;m=n>>2;a:do if((n|0)>0){h=a+8|0;n=c[a+4>>2]|0;i=n;if((m|0)>((c[h>>2]|0)-i>>2|0)){e=(i-g>>2)+m|0;g=zk(a)|0;if(g>>>0>>0)KM(a);else{r=c[a>>2]|0;n=(c[h>>2]|0)-r|0;q=n>>1;Ak(j,n>>2>>>0>>1>>>0?(q>>>0>>0?e:q):g,b-r>>2,a+8|0);c[k>>2]=d;c[l>>2]=f;c[o>>2]=c[k>>2];c[p>>2]=c[l>>2];oo(j,o,p);b=po(a,j,b)|0;Ck(j);break}}g=i-b|0;h=g>>2;e=d+(h<<2)|0;if((m|0)>(h|0)){c[q>>2]=e;c[r>>2]=f;c[o>>2]=c[q>>2];c[p>>2]=c[r>>2];mo(a,o,p,m-h|0);if((g|0)>0)f=e;else break}no(a,b,n,b+(m<<2)|0);e=b;while(1){if((d|0)==(f|0))break a;c[e>>2]=c[d>>2];e=e+4|0;d=d+4|0}}while(0);yb=s;return b|0}function Sn(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;t=yb;yb=yb+48|0;n=t+8|0;m=t+36|0;o=t+32|0;p=t+28|0;q=t;r=t+16|0;s=a+104|0;Vn(r,(c[a+108>>2]|0)-(c[s>>2]|0)>>2);l=r+4|0;a=-1;f=0;k=-1;while(1){if(f>>>0>=(c[l>>2]|0)-(c[r>>2]|0)>>3>>>0)break;i=Mk((c[(c[s>>2]|0)+(f<<2)>>2]|0)+4|0,e)|0;Wn(n,c[(c[s>>2]|0)+(f<<2)>>2]|0,i);g=n;j=c[g+4>>2]|0;h=(c[r>>2]|0)+(f<<3)|0;c[h>>2]=c[g>>2];c[h+4>>2]=j;kl(n);h=i>>>0>>0;j=h?f:k;a=h?i:a;f=f+1|0;k=j}if((k|0)==-1){j=jf(jf(OC(jf(jf(jf(55420,30341)|0,27286)|0,33528)|0,155)|0,33535)|0,30375)|0;HC(n,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(n,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(n);PC(j,i)|0;LC(j)|0;ya()}a=c[(c[s>>2]|0)+(k<<2)>>2]|0;c[n>>2]=a;i=b+4|0;f=c[i>>2]|0;j=b+8|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=a;c[i>>2]=(c[i>>2]|0)+4}else Xn(b,n);g=d+4|0;h=d+8|0;e=0;while(1){a=c[r>>2]|0;if(e>>>0>=(c[l>>2]|0)-a>>3>>>0)break;do if((e|0)!=(k|0)){f=Yn(a+(e<<3)|0)|0;if((f|0)==(Yn((c[r>>2]|0)+(k<<3)|0)|0)){a=c[(c[s>>2]|0)+(e<<2)>>2]|0;c[n>>2]=a;f=c[i>>2]|0;if(f>>>0<(c[j>>2]|0)>>>0){c[f>>2]=a;c[i>>2]=(c[i>>2]|0)+4}else Xn(b,n);break}else{a=(c[r>>2]|0)+(e<<3)|0;f=c[g>>2]|0;if((f|0)==(c[h>>2]|0)){Zn(d,a);a=c[g>>2]|0}else{v=a;u=c[v+4>>2]|0;a=f;c[a>>2]=c[v>>2];c[a+4>>2]=u;a=(c[g>>2]|0)+8|0;c[g>>2]=a}v=c[d>>2]|0;c[o>>2]=v;c[p>>2]=a;c[m>>2]=c[o>>2];c[n>>2]=c[p>>2];_n(m,n,q,a-v>>3);break}}while(0);e=e+1|0}jl(r);yb=t;return}function Tn(a){a=a|0;return c[a>>2]|0}function Un(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function Vn(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){jo(a,b);ko(a,b)}return}function Wn(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;return}function Xn(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;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>2)+1|0;g=fo(a)|0;if(g>>>0>>0)KM(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>1;go(d,k>>2>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>2,a+8|0);g=d+8|0;c[c[g>>2]>>2]=c[b>>2];c[g>>2]=(c[g>>2]|0)+4;ho(a,d);io(d);yb=h;return}}function Yn(a){a=a|0;return c[a+4>>2]|0}function Zn(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;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=ao(a)|0;if(g>>>0>>0)KM(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;bo(d,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>3,a+8|0);g=d+8|0;e=c[b+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=e;c[g>>2]=(c[g>>2]|0)+8;co(a,d);eo(d);yb=h;return}}function _n(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=yb;yb=yb+16|0;i=j;if((e|0)>1?(g=(e+-2|0)/2|0,k=c[a>>2]|0,h=k+(g<<3)|0,f=(c[b>>2]|0)+-8|0,c[b>>2]=f,$n(h,f)|0):0){a=f;e=c[a+4>>2]|0;d=i;c[d>>2]=c[a>>2];c[d+4>>2]=e;d=h;while(1){a=d;e=c[a+4>>2]|0;h=f;c[h>>2]=c[a>>2];c[h+4>>2]=e;c[b>>2]=d;if(!g)break;g=(g+-1|0)/2|0;f=k+(g<<3)|0;if(!($n(f,i)|0))break;else{h=d;d=f;f=h}}h=i;b=c[h+4>>2]|0;k=d;c[k>>2]=c[h>>2];c[k+4>>2]=b;kl(i)}yb=j;return}function $n(a,b){a=a|0;b=b|0;return (c[a+4>>2]|0)>>>0>(c[b+4>>2]|0)>>>0|0}function ao(a){a=a|0;return 536870911}function bo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function co(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;e=c[a>>2]|0;f=a+4|0;g=b+4|0;d=c[f>>2]|0;while(1){if((d|0)==(e|0))break;h=d+-8|0;k=h;j=c[k+4>>2]|0;i=(c[g>>2]|0)+-8|0;c[i>>2]=c[k>>2];c[i+4>>2]=j;c[g>>2]=(c[g>>2]|0)+-8;d=h}i=c[a>>2]|0;c[a>>2]=c[g>>2];c[g>>2]=i;i=b+8|0;k=c[f>>2]|0;c[f>>2]=c[i>>2];c[i>>2]=k;i=a+8|0;k=b+12|0;j=c[i>>2]|0;c[i>>2]=c[k>>2];c[k>>2]=j;c[b>>2]=c[g>>2];return}function eo(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;d=a+8|0;while(1){e=c[d>>2]|0;if((e|0)==(b|0))break;e=e+-8|0;c[d>>2]=e;kl(e)}a=c[a>>2]|0;if(a|0)cM(a);return}function fo(a){a=a|0;return 1073741823}function go(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<2);return}function ho(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function io(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-4|0;c[d>>2]=f;e=f}a=c[a>>2]|0;if(a|0)cM(a);return}function jo(a,b){a=a|0;b=b|0;var d=0;if((ao(a)|0)>>>0>>0)KM(a);if(b>>>0>536870911){b=Q(8)|0;gM(b,40521);c[b>>2]=17440;U(b|0,13288,107)}else{d=aM(b<<3)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<3);return}}function ko(a,b){a=a|0;b=b|0;var d=0;d=a+4|0;a=b;b=c[d>>2]|0;do{lo(b);b=(c[d>>2]|0)+8|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function lo(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;return}function mo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=c[d>>2]|0;e=a+4|0;d=c[b>>2]|0;while(1){if((d|0)==(f|0))break;b=c[e>>2]|0;c[b>>2]=c[d>>2];c[e>>2]=b+4;d=d+4|0}return}function no(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;h=a+4|0;i=c[h>>2]|0;f=i-e|0;g=f>>2;a=b+(g<<2)|0;e=i;while(1){if(a>>>0>=d>>>0)break;c[e>>2]=c[a>>2];j=e+4|0;c[h>>2]=j;a=a+4|0;e=j}if(f|0)WN(i+(0-g<<2)|0,b|0,f|0)|0;return}function oo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[d>>2]|0;d=a+8|0;a=c[b>>2]|0;while(1){if((a|0)==(e|0))break;f=c[d>>2]|0;c[f>>2]=c[a>>2];c[d>>2]=f+4;f=a+4|0;c[b>>2]=f;a=f}return}function po(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=b+4|0;j=c[i>>2]|0;f=c[a>>2]|0;h=d;g=h-f|0;e=j+(0-(g>>2)<<2)|0;c[i>>2]=e;if((g|0)>0)VN(e|0,f|0,g|0)|0;f=a+4|0;g=b+8|0;e=(c[f>>2]|0)-h|0;if((e|0)>0){VN(c[g>>2]|0,d|0,e|0)|0;c[g>>2]=(c[g>>2]|0)+(e>>>2<<2)}h=c[a>>2]|0;c[a>>2]=c[i>>2];c[i>>2]=h;h=c[f>>2]|0;c[f>>2]=c[g>>2];c[g>>2]=h;h=a+8|0;d=b+12|0;a=c[h>>2]|0;c[h>>2]=c[d>>2];c[d>>2]=a;c[b>>2]=c[i>>2];return j|0}function qo(a){a=a|0;return ro(c[c[a>>2]>>2]|0)|0}function ro(a){a=a|0;return c[a+24>>2]|0}function so(a,b){a=a|0;b=b|0;var d=0,e=0;d=yb;yb=yb+16|0;e=d;c[e>>2]=b;b=Al((c[a>>2]|0)+4|0,e)|0;yb=d;return b|0}function to(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;uo(d,c[c[a>>2]>>2]|0);a=ul(Nj(c[d>>2]|0)|0)|0;ej(d);yb=b;return a|0}function uo(a,b){a=a|0;b=b|0;c[a>>2]=c[b+64>>2];b=c[b+68>>2]|0;c[a+4>>2]=b;if(b|0){a=b+4|0;c[a>>2]=(c[a>>2]|0)+1}return}function vo(a){a=a|0;return wo(c[c[a>>2]>>2]|0)|0}function wo(a){a=a|0;return a+12|0}function xo(b){b=b|0;var d=0,e=0,f=0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;a[b+16>>0]=1;d=b+108|0;e=b+20|0;f=e+88|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));c[d>>2]=1065353216;f=b+112|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;return}function yo(a){a=a|0;kj(a+124|0);vg(a+112|0);zo(a+92|0);return}function zo(a){a=a|0;Ao(a);return}function Ao(a){a=a|0;var b=0;Bo(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)cM(b);return}function Bo(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;cM(b);b=a}return}function Co(b,d,e,g,h,i,j,k,l){b=b|0;d=+d;e=+e;g=+g;h=+h;i=i|0;j=j|0;k=k|0;l=l|0;f[b+20>>2]=d;f[b+24>>2]=e;f[b+28>>2]=g;f[b+32>>2]=h;f[b+36>>2]=-1.0;f[b+40>>2]=1.0;c[b+52>>2]=i;c[b+56>>2]=j;c[b+60>>2]=k;c[b+64>>2]=l;l=C(j,i)|0;c[b+84>>2]=l;c[b+88>>2]=C(l,k)|0;f[b+44>>2]=10.0;f[b+48>>2]=.4342944622039795;a[b+16>>0]=(j|i|0)==0&1;Do(b+92|0);return}function Do(a){a=a|0;var b=0,d=0,e=0;d=a+12|0;if(c[d>>2]|0){e=a+8|0;Bo(a,c[e>>2]|0);c[e>>2]=0;e=c[a+4>>2]|0;b=0;while(1){if((b|0)==(e|0))break;c[(c[a>>2]|0)+(b<<2)>>2]=0;b=b+1|0}c[d>>2]=0}return}function Eo(b,d,e,g){b=b|0;d=d|0;e=e|0;g=g|0;var 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,u=0,v=0;t=yb;yb=yb+16|0;p=t+12|0;q=t+8|0;r=t+4|0;s=t;Do(b+92|0);if(g|0){j=b+112|0;ug(j,g<<2);k=b+124|0;hk(k,g);if(a[b+16>>0]|0)Fo(b,d,e,g);l=b+68|0;m=b+72|0;n=b+76|0;o=b+80|0;h=0;i=0;while(1){if((i|0)>=(g|0))break;u=i<<2;v=d+(u<<2)|0;u=e+(u<<2)|0;Go(b,p,q,r,s,+f[v>>2],+f[v+4>>2],+f[v+8>>2],+f[v+12>>2],+f[u>>2],+f[u+4>>2],+f[u+8>>2],+f[u+12>>2]);if(Ho(b,+f[p>>2],+f[q>>2],+f[r>>2],+f[s>>2])|0){v=(c[j>>2]|0)+(h<<2<<2)|0;c[v>>2]=c[l>>2];c[v+4>>2]=c[m>>2];c[v+8>>2]=c[n>>2];c[v+12>>2]=c[o>>2];c[(c[k>>2]|0)+(h<<2)>>2]=i;h=h+1|0}i=i+1|0}ug(j,h<<2);hk(k,h)}yb=t;return}function Fo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0.0;l=yb;yb=yb+16|0;g=l+12|0;k=l;i=a+4|0;j=Pi(c[a>>2]|0,c[i>>2]|0)|0;Hn(k,e);if((e|0)<=0){m=jf(jf(OC(jf(jf(jf(55420,31456)|0,31488)|0,33528)|0,208)|0,33535)|0,31613)|0;HC(g,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);n=WD(g,56124)|0;n=Gb[c[(c[n>>2]|0)+28>>2]&63](n,10)|0;XD(g);PC(m,n)|0;LC(m)|0;ya()}if((c[a>>2]|0)<=0){n=jf(jf(OC(jf(jf(jf(55420,31635)|0,31488)|0,33528)|0,209)|0,33535)|0,31677)|0;HC(g,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(g,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(g);PC(n,m)|0;LC(n)|0;ya()}if((c[i>>2]|0)<=0){n=jf(jf(OC(jf(jf(jf(55420,31700)|0,31488)|0,33528)|0,210)|0,33535)|0,31743)|0;HC(g,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(g,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(g);PC(n,m)|0;LC(n)|0;ya()}h=+(j|0);g=0;while(1){if((g|0)==(e|0))break;n=g<<2;o=+Po(+f[b+(n<<2)+12>>2],+f[d+(n<<2)+12>>2])*h;f[(c[k>>2]|0)+(g<<2)>>2]=o;g=g+1|0}m=c[k>>2]|0;o=+Ro(m,(c[k+4>>2]|0)-m>>2)*.25;m=a+52|0;c[m>>2]=Pi(5,~~+B(+((+f[a+24>>2]-+f[a+20>>2])/o)))|0;n=Pi(5,~~+B(+((+f[a+32>>2]-+f[a+28>>2])/o)))|0;c[a+56>>2]=n;n=C(c[m>>2]|0,n)|0;c[a+84>>2]=n;c[a+88>>2]=C(c[a+60>>2]|0,n)|0;vg(k);yb=l;return}function Go(a,b,d,e,g,h,i,j,k,l,m,n,o){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=+h;i=+i;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;var p=0,q=0,r=0,s=0,t=0;s=yb;yb=yb+32|0;q=s+16|0;r=s;n=j-n;f[e>>2]=n;j=n;if(!(j<=-3.141592653589793)){if(j>3.141592653589793){n=j+-6.283185307179586;p=5}}else{n=j+6.283185307179586;p=5}if((p|0)==5)f[e>>2]=n;if(!(n>-3.141592653589793)){p=jf(jf(OC(jf(jf(jf(55420,30684)|0,30431)|0,33528)|0,468)|0,33535)|0,30719)|0;HC(q,p+(c[(c[p>>2]|0)+-12>>2]|0)|0);t=WD(q,56124)|0;t=Gb[c[(c[t>>2]|0)+28>>2]&63](t,10)|0;XD(q);PC(p,t)|0;LC(p)|0;ya()}if(!(n<=3.141592653589793)){t=jf(jf(OC(jf(jf(jf(55420,30738)|0,30431)|0,33528)|0,469)|0,33535)|0,30719)|0;HC(q,t+(c[(c[t>>2]|0)+-12>>2]|0)|0);s=WD(q,56124)|0;s=Gb[c[(c[s>>2]|0)+28>>2]&63](s,10)|0;XD(q);PC(t,s)|0;LC(t)|0;ya()}else{n=+Po(k,o);f[g>>2]=n;Qo(r,+f[e>>2],n);n=+A(+(+f[g>>2]));f[g>>2]=n*+f[a+48>>2];n=+f[r>>2];j=+f[r+4>>2];o=+f[r+8>>2];k=+f[r+12>>2];g=a+8|0;t=a+12|0;f[b>>2]=h-(n*l+j*m)+(n*+f[g>>2]+j*+f[t>>2]);f[d>>2]=i-(o*l+k*m)+(o*+f[g>>2]+k*+f[t>>2]);yb=s;return}}function Ho(a,b,d,e,g){a=a|0;b=+b;d=+d;e=+e;g=+g;var h=0,i=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,u=0,v=0,w=0,x=0;x=yb;yb=yb+16|0;h=x;s=+f[a+20>>2];if((((((!(s>b)?(m=+f[a+24>>2],!(m<=b)):0)?(n=+f[a+28>>2],!(n>d)):0)?(o=+f[a+32>>2],!(o<=d)):0)?(p=e,!(p<=-3.141592653589793|p>3.141592653589793)):0)?(q=+f[a+36>>2],!(q>g)):0)?(r=+f[a+40>>2],!(r<=g)):0){if(!(s<=b)){l=jf(jf(OC(jf(jf(jf(55420,30397)|0,30431)|0,33528)|0,360)|0,33535)|0,30554)|0;HC(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(h,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(h);PC(l,k)|0;LC(l)|0;ya()}if(!(m>b)){l=jf(jf(OC(jf(jf(jf(55420,30569)|0,30431)|0,33528)|0,361)|0,33535)|0,30554)|0;HC(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(h,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(h);PC(l,k)|0;LC(l)|0;ya()}if(!(n<=d)){l=jf(jf(OC(jf(jf(jf(55420,30602)|0,30431)|0,33528)|0,362)|0,33535)|0,30636)|0;HC(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(h,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(h);PC(l,k)|0;LC(l)|0;ya()}if(!(o>d)){l=jf(jf(OC(jf(jf(jf(55420,30651)|0,30431)|0,33528)|0,363)|0,33535)|0,30636)|0;HC(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(h,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(h);PC(l,k)|0;LC(l)|0;ya()}if(!(p>-3.141592653589793)){l=jf(jf(OC(jf(jf(jf(55420,30684)|0,30431)|0,33528)|0,364)|0,33535)|0,30719)|0;HC(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(h,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(h);PC(l,k)|0;LC(l)|0;ya()}if(!(p<=3.141592653589793)){l=jf(jf(OC(jf(jf(jf(55420,30738)|0,30431)|0,33528)|0,365)|0,33535)|0,30719)|0;HC(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(h,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(h);PC(l,k)|0;LC(l)|0;ya()}if(!(q<=g)){l=jf(jf(OC(jf(jf(jf(55420,30773)|0,30431)|0,33528)|0,366)|0,33535)|0,30815)|0;HC(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(h,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(h);PC(l,k)|0;LC(l)|0;ya()}if(!(r>g)){l=jf(jf(OC(jf(jf(jf(55420,30834)|0,30431)|0,33528)|0,367)|0,33535)|0,30815)|0;HC(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(h,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(h);PC(l,k)|0;LC(l)|0;ya()}h=a+68|0;i=a+72|0;l=a+76|0;j=a+80|0;Io(a,h,i,l,j,b,d,e,g);h=~~+t(+(+f[h>>2]+-.5));i=~~+t(+(+f[i>>2]+-.5));l=~~+t(+(+f[l>>2]+-.5));j=~~+t(+(+f[j>>2]+-.5));k=c[a+60>>2]|0;l=(k+l|0)%(k|0)|0;if((((h|0)>=0?(u=h+1|0,!((i|0)<0?1:(u|0)>=(c[a+52>>2]|0))):0)?(v=i+1|0,!((j|0)<0?1:(v|0)>=(c[a+56>>2]|0))):0)?(w=j+1|0,(w|0)<(c[a+64>>2]|0)):0){k=(l+1|0)%(k|0)|0;Ko(a,Jo(a,h,i,l,j)|0,1);Ko(a,Jo(a,u,i,l,j)|0,1);Ko(a,Jo(a,u,v,l,j)|0,1);Ko(a,Jo(a,u,v,k,j)|0,1);Ko(a,Jo(a,u,v,k,w)|0,1);Ko(a,Jo(a,u,v,l,w)|0,1);Ko(a,Jo(a,u,i,k,j)|0,1);Ko(a,Jo(a,u,i,k,w)|0,1);Ko(a,Jo(a,u,i,l,w)|0,1);Ko(a,Jo(a,h,v,l,j)|0,1);Ko(a,Jo(a,h,v,k,j)|0,1);Ko(a,Jo(a,h,v,k,w)|0,1);Ko(a,Jo(a,h,v,l,w)|0,1);Ko(a,Jo(a,h,i,k,j)|0,1);Ko(a,Jo(a,h,i,k,w)|0,1);Ko(a,Jo(a,h,i,l,w)|0,1);h=1}else h=0}else h=0;yb=x;return h|0}function Io(a,b,d,e,g,h,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=+h;i=+i;j=+j;k=+k;var l=0.0,m=0.0;l=+(c[a+52>>2]|0);m=+f[a+20>>2];f[b>>2]=+Po(h-m,+f[a+24>>2]-m)*l;h=+(c[a+56>>2]|0);l=+f[a+28>>2];f[d>>2]=+Po(i-l,+f[a+32>>2]-l)*h;f[e>>2]=(j+3.141592653589793)*.15915494309189535*+(c[a+60>>2]|0);j=+(c[a+64>>2]|0);i=+f[a+36>>2];f[g>>2]=+Po(k-i,+f[a+40>>2]-i)*j;return}function Jo(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,l=0,m=0;k=yb;yb=yb+16|0;h=k;if((b|0)<=-1){j=jf(jf(OC(jf(jf(jf(55420,30928)|0,30431)|0,33528)|0,165)|0,33535)|0,30961)|0;HC(h,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(h,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(h);PC(j,i)|0;LC(j)|0;ya()}g=c[a+52>>2]|0;if((g|0)<=(b|0)){j=jf(jf(OC(jf(jf(jf(55420,30979)|0,30431)|0,33528)|0,166)|0,33535)|0,30961)|0;HC(h,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(h,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(h);PC(j,i)|0;LC(j)|0;ya()}if((d|0)<=-1){j=jf(jf(OC(jf(jf(jf(55420,31019)|0,30431)|0,33528)|0,167)|0,33535)|0,31052)|0;HC(h,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(h,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(h);PC(j,i)|0;LC(j)|0;ya()}i=c[a+56>>2]|0;if((i|0)<=(d|0)){j=jf(jf(OC(jf(jf(jf(55420,31070)|0,30431)|0,33528)|0,168)|0,33535)|0,31052)|0;HC(h,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);l=WD(h,56124)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;XD(h);PC(j,l)|0;LC(j)|0;ya()}if((e|0)<=-1){l=jf(jf(OC(jf(jf(jf(55420,31110)|0,30431)|0,33528)|0,169)|0,33535)|0,31147)|0;HC(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);j=WD(h,56124)|0;j=Gb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;XD(h);PC(l,j)|0;LC(l)|0;ya()}j=c[a+60>>2]|0;if((j|0)<=(e|0)){l=jf(jf(OC(jf(jf(jf(55420,31169)|0,30431)|0,33528)|0,170)|0,33535)|0,31147)|0;HC(h,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);m=WD(h,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(h);PC(l,m)|0;LC(l)|0;ya()}if((f|0)<=-1){m=jf(jf(OC(jf(jf(jf(55420,31217)|0,30431)|0,33528)|0,171)|0,33535)|0,31254)|0;HC(h,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);l=WD(h,56124)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;XD(h);PC(m,l)|0;LC(m)|0;ya()}if((c[a+64>>2]|0)<=(f|0)){m=jf(jf(OC(jf(jf(jf(55420,31276)|0,30431)|0,33528)|0,172)|0,33535)|0,31254)|0;HC(h,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);l=WD(h,56124)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;XD(h);PC(m,l)|0;LC(m)|0;ya()}m=(C(g,d)|0)+b|0;l=(C(c[a+84>>2]|0,e)|0)+m|0;a=l+(C(c[a+88>>2]|0,f)|0)|0;if((a|0)>((C(C(i,g)|0,(C(j,f)|0)+e|0)|0)+m|0)){m=jf(jf(OC(jf(jf(jf(55420,31324)|0,30431)|0,33528)|0,176)|0,33535)|0,30909)|0;HC(h,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);l=WD(h,56124)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;XD(h);PC(m,l)|0;LC(m)|0;ya()}else{yb=k;return a|0}return 0}function Ko(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;e=s+8|0;n=s;if((b|0)<=-1){r=jf(jf(OC(jf(jf(jf(55420,30875)|0,30431)|0,33528)|0,290)|0,33535)|0,30909)|0;HC(e,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=WD(e,56124)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;XD(e);PC(r,q)|0;LC(r)|0;ya()}r=a+92|0;c[e>>2]=b;g=Lo(r,e)|0;if(!g){c[n>>2]=b;c[n+4>>2]=d;p=a+96|0;k=c[p>>2]|0;q=(k|0)==0;a:do if(!q){l=k+-1|0;m=(l&k|0)==0;if(!m)if(k>>>0>b>>>0)d=b;else d=(b>>>0)%(k>>>0)|0;else d=l&b;g=c[(c[r>>2]|0)+(d<<2)>>2]|0;if(!g)o=19;else do{g=c[g>>2]|0;if(!g){o=19;break a}h=c[g+4>>2]|0;if((h|0)!=(b|0)){if(!m){if(h>>>0>=k>>>0)h=(h>>>0)%(k>>>0)|0}else h=h&l;if((h|0)!=(d|0)){o=19;break a}}}while((c[g+8>>2]|0)!=(b|0))}else{d=0;o=19}while(0);if((o|0)==19){Mo(e,r,b,n);l=a+104|0;i=+(((c[l>>2]|0)+1|0)>>>0);j=+f[a+108>>2];do if(q|j*+(k>>>0)>>0<3|(k+-1&k|0)!=0)&1;g=~~+B(+(i/j))>>>0;No(r,d>>>0>>0?g:d);d=c[p>>2]|0;g=d+-1|0;if(!(g&d)){k=d;d=g&b;break}if(d>>>0>b>>>0){k=d;d=b}else{k=d;d=(b>>>0)%(d>>>0)|0}}while(0);g=c[(c[r>>2]|0)+(d<<2)>>2]|0;if(!g){h=a+100|0;c[c[e>>2]>>2]=c[h>>2];c[h>>2]=c[e>>2];c[(c[r>>2]|0)+(d<<2)>>2]=h;h=c[e>>2]|0;d=c[h>>2]|0;if(d){d=c[d+4>>2]|0;g=k+-1|0;if(g&k){if(d>>>0>=k>>>0)d=(d>>>0)%(k>>>0)|0}else d=d&g;c[(c[r>>2]|0)+(d<<2)>>2]=h}}else{c[c[e>>2]>>2]=c[g>>2];c[g>>2]=c[e>>2]}c[l>>2]=(c[l>>2]|0)+1;c[e>>2]=0}}else{r=g+12|0;c[r>>2]=(c[r>>2]|0)+d}yb=s;return}function Lo(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[b>>2]|0;f=c[a+4>>2]|0;a:do if(f){g=f+-1|0;h=(g&f|0)==0;if(!h)if(e>>>0>>0)d=e;else d=(e>>>0)%(f>>>0)|0;else d=g&e;b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(b)while(1){b=c[b>>2]|0;if(!b){b=0;break a}a=c[b+4>>2]|0;if((a|0)==(e|0)){if((c[b+8>>2]|0)==(e|0))break a}else{if(!h){if(a>>>0>=f>>>0)a=(a>>>0)%(f>>>0)|0}else a=a&g;if((a|0)!=(d|0)){b=0;break a}}}else b=0}else b=0;while(0);return b|0}function Mo(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=aM(16)|0;c[b>>2]=g;c[b+4>>2]=d+8;c[g+8>>2]=c[f>>2];c[g+12>>2]=c[f+4>>2];a[b+8>>0]=1;c[g+4>>2]=e;c[g>>2]=0;return}function No(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=zB(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=zB(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)Oo(a,b)}}else Oo(a,b);return}function Oo(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;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=Q(8)|0;gM(a,40521);c[a>>2]=17440;U(a|0,13288,107)}l=aM(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)cM(d);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)cM(d);c[e>>2]=0}while(0);return}function Po(a,b){a=+a;b=+b;return +(a/(b==0.0?1.0:b))}function Qo(a,b,c){a=a|0;b=+b;c=+c;var d=0.0;d=+x(+b)*c;c=+y(+b)*c;f[a>>2]=d;f[a+4>>2]=-c;f[a+8>>2]=c;f[a+12>>2]=d;return}function Ro(a,b){a=a|0;b=b|0;return +(+So(a,b,(b&1)+-1+((b|0)/2|0)|0))}function So(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,g=0,h=0.0,i=0,j=0.0,k=0,l=0,m=0,n=0,o=0.0,p=0,q=0,r=0;r=yb;yb=yb+16|0;e=r;if((b|0)<=0){q=jf(jf(OC(jf(jf(jf(55420,31767)|0,31796)|0,33528)|0,53)|0,33535)|0,31905)|0;HC(e,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);p=WD(e,56124)|0;p=Gb[c[(c[p>>2]|0)+28>>2]&63](p,10)|0;XD(e);PC(q,p)|0;LC(q)|0;ya()}if((d|0)<=0){q=jf(jf(OC(jf(jf(jf(55420,31924)|0,31796)|0,33528)|0,54)|0,33535)|0,31953)|0;HC(e,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);p=WD(e,56124)|0;p=Gb[c[(c[p>>2]|0)+28>>2]&63](p,10)|0;XD(e);PC(q,p)|0;LC(q)|0;ya()}p=d+-1|0;q=a+(p<<2)|0;m=b+-1|0;n=0;while(1){o=+f[q>>2];if((n|0)>=(m|0))break;e=n;b=m;do{while(1){i=a+(e<<2)|0;j=+f[i>>2];k=e+1|0;if(j>2];l=b+-1|0;if(o>2]=h;f[g>>2]=j;e=k;b=l}}while((e|0)<=(b|0));m=(e|0)<(d|0)?m:b;n=(b|0)<(p|0)?e:n}yb=r;return +o}function To(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,g=0,h=0;f[b>>2]=0.0;c[d>>2]=-1;a=a+100|0;e=0.0;while(1){a=c[a>>2]|0;if(!a)break;g=a;h=g+12|0;if(e<+((c[h>>2]|0)>>>0)){c[d>>2]=c[g+8>>2];e=+((c[h>>2]|0)>>>0);f[b>>2]=e}}return}function Uo(a){a=a|0;xn(a,1760,12);xn(a+48|0,1808,12);xn(a+96|0,1856,12);xn(a+144|0,1904,12);xn(a+192|0,1952,12);xn(a+240|0,2e3,12);f[a+288>>2]=.10000000149011612;f[a+292>>2]=.17499999701976776;f[a+296>>2]=.25;f[a+300>>2]=.32499998807907104;f[a+304>>2]=.4000000059604645;f[a+308>>2]=.4749999940395355;f[a+312>>2]=.550000011920929;f[a+316>>2]=7.0;return}function Vo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;tl(b,96);Wo(b,((c[e+4>>2]|0)-(c[e>>2]|0)|0)/20|0);Xo(b,d,e,a,a+48|0,a+96|0,a+144|0,a+192|0,a+240|0,+f[a+288>>2],+f[a+292>>2],+f[a+296>>2],+f[a+300>>2],+f[a+304>>2],+f[a+308>>2],+f[a+312>>2],+f[a+316>>2]);return}function Wo(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=yb;yb=yb+16|0;f=e;g=C(c[b>>2]|0,d)|0;a[f>>0]=0;ip(b+4|0,g,f);vl(b+16|0,d);yb=e;return}function Xo(b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=+l;m=+m;n=+n;o=+o;p=+p;q=+q;r=+r;s=+s;var t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=yb;yb=yb+16|0;x=z;if(!d){y=jf(jf(OC(jf(jf(jf(55420,31972)|0,32003)|0,33528)|0,537)|0,33535)|0,32108)|0;HC(x,y+(c[(c[y>>2]|0)+-12>>2]|0)|0);w=WD(x,56124)|0;w=Gb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;XD(x);PC(y,w)|0;LC(y)|0;ya()}w=Oj(b)|0;y=e+4|0;v=c[y>>2]|0;u=c[e>>2]|0;if((w|0)!=((v-u|0)/20|0|0)){w=jf(jf(OC(jf(jf(jf(55420,32124)|0,32003)|0,33528)|0,538)|0,33535)|0,32177)|0;HC(x,w+(c[(c[w>>2]|0)+-12>>2]|0)|0);t=WD(x,56124)|0;t=Gb[c[(c[t>>2]|0)+28>>2]&63](t,10)|0;XD(x);PC(w,t)|0;LC(w)|0;ya()}w=0;t=0;while(1){u=(v-u|0)/20|0;if(w>>>0>=u>>>0)break;v=Yo(b,t)|0;if(Zo(v,d,(c[e>>2]|0)+(w*20|0)|0,f,g,h,i,j,k,l,m,n,o,p,q,r,s)|0){u=(c[e>>2]|0)+(w*20|0)|0;v=_o(b,t)|0;c[v>>2]=c[u>>2];c[v+4>>2]=c[u+4>>2];c[v+8>>2]=c[u+8>>2];c[v+12>>2]=c[u+12>>2];a[v+16>>0]=a[u+16>>0]|0;t=t+1|0}w=w+1|0;u=c[e>>2]|0;v=c[y>>2]|0}if((t|0)==(u|0)){Wo(b,t);yb=z;return}else{z=jf(jf(OC(jf(jf(jf(55420,32214)|0,32003)|0,33528)|0,617)|0,33535)|0,32265)|0;HC(x,z+(c[(c[z>>2]|0)+-12>>2]|0)|0);k=WD(x,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(x);PC(z,k)|0;LC(z)|0;ya()}}function Yo(a,b){a=a|0;b=b|0;b=C(c[a>>2]|0,b)|0;return (c[a+4>>2]|0)+b|0}function Zo(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=+j;k=+k;l=+l;m=+m;n=+n;o=+o;p=+p;q=+q;var r=0,s=0;s=yb;yb=yb+160|0;r=s;if($o(r,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)|0){ap(a,r);a=1}else a=0;yb=s;return a|0}function _o(a,b){a=a|0;b=b|0;return (c[a+16>>2]|0)+(b*20|0)|0}function $o(a,b,d,e,g,h,i,j,k,l,m,n,o,p,q,r,s){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=+l;m=+m;n=+n;o=+o;p=+p;q=+q;r=+r;s=+s;var t=0,u=0,v=0,w=0.0,x=0.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,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;t=yb;yb=yb+336|0;aa=t+288|0;y=t+240|0;D=t+192|0;I=t+144|0;N=t+96|0;S=t+48|0;X=t;v=t+328|0;u=t+324|0;x=+f[d+12>>2]*s;x=x<1.0?1.0:x;cp(aa,+f[d>>2],+f[d+4>>2],+f[d+8>>2],x);w=+f[aa+8>>2];s=+f[aa+20>>2];dp(y,aa,e);C=y+8|0;dp(C,aa,e+8|0);B=y+16|0;dp(B,aa,e+16|0);A=y+24|0;dp(A,aa,e+24|0);z=y+32|0;dp(z,aa,e+32|0);d=y+40|0;dp(d,aa,e+40|0);dp(D,aa,g);H=D+8|0;dp(H,aa,g+8|0);G=D+16|0;dp(G,aa,g+16|0);F=D+24|0;dp(F,aa,g+24|0);E=D+32|0;dp(E,aa,g+32|0);e=D+40|0;dp(e,aa,g+40|0);dp(I,aa,h);M=I+8|0;dp(M,aa,h+8|0);L=I+16|0;dp(L,aa,h+16|0);K=I+24|0;dp(K,aa,h+24|0);J=I+32|0;dp(J,aa,h+32|0);g=I+40|0;dp(g,aa,h+40|0);dp(N,aa,i);R=N+8|0;dp(R,aa,i+8|0);Q=N+16|0;dp(Q,aa,i+16|0);P=N+24|0;dp(P,aa,i+24|0);O=N+32|0;dp(O,aa,i+32|0);h=N+40|0;dp(h,aa,i+40|0);dp(S,aa,j);W=S+8|0;dp(W,aa,j+8|0);V=S+16|0;dp(V,aa,j+16|0);U=S+24|0;dp(U,aa,j+24|0);T=S+32|0;dp(T,aa,j+32|0);i=S+40|0;dp(i,aa,j+40|0);dp(X,aa,k);$=X+8|0;dp($,aa,k+8|0);_=X+16|0;dp(_,aa,k+16|0);Z=X+24|0;dp(Z,aa,k+24|0);Y=X+32|0;dp(Y,aa,k+32|0);j=X+40|0;dp(j,aa,k+40|0);ep(b,v,u,x*r);f[a>>2]=+fp(b,+f[X>>2],+f[X+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+4>>2]=+fp(b,+f[$>>2],+f[X+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+8>>2]=+fp(b,+f[_>>2],+f[X+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+12>>2]=+fp(b,+f[Z>>2],+f[X+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+16>>2]=+fp(b,+f[Y>>2],+f[X+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+20>>2]=+fp(b,+f[j>>2],+f[X+44>>2],c[v>>2]|0,c[u>>2]|0);ep(b,v,u,x*q);f[a+24>>2]=+fp(b,+f[S>>2],+f[S+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+28>>2]=+fp(b,+f[W>>2],+f[S+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+32>>2]=+fp(b,+f[V>>2],+f[S+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+36>>2]=+fp(b,+f[U>>2],+f[S+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+40>>2]=+fp(b,+f[T>>2],+f[S+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+44>>2]=+fp(b,+f[i>>2],+f[S+44>>2],c[v>>2]|0,c[u>>2]|0);ep(b,v,u,x*p);f[a+48>>2]=+fp(b,+f[N>>2],+f[N+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+52>>2]=+fp(b,+f[R>>2],+f[N+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+56>>2]=+fp(b,+f[Q>>2],+f[N+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+60>>2]=+fp(b,+f[P>>2],+f[N+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+64>>2]=+fp(b,+f[O>>2],+f[N+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+68>>2]=+fp(b,+f[h>>2],+f[N+44>>2],c[v>>2]|0,c[u>>2]|0);ep(b,v,u,x*o);f[a+72>>2]=+fp(b,+f[I>>2],+f[I+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+76>>2]=+fp(b,+f[M>>2],+f[I+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+80>>2]=+fp(b,+f[L>>2],+f[I+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+84>>2]=+fp(b,+f[K>>2],+f[I+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+88>>2]=+fp(b,+f[J>>2],+f[I+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+92>>2]=+fp(b,+f[g>>2],+f[I+44>>2],c[v>>2]|0,c[u>>2]|0);ep(b,v,u,x*n);f[a+96>>2]=+fp(b,+f[D>>2],+f[D+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+100>>2]=+fp(b,+f[H>>2],+f[D+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+104>>2]=+fp(b,+f[G>>2],+f[D+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+108>>2]=+fp(b,+f[F>>2],+f[D+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+112>>2]=+fp(b,+f[E>>2],+f[D+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+116>>2]=+fp(b,+f[e>>2],+f[D+44>>2],c[v>>2]|0,c[u>>2]|0);ep(b,v,u,x*m);f[a+120>>2]=+fp(b,+f[y>>2],+f[y+4>>2],c[v>>2]|0,c[u>>2]|0);f[a+124>>2]=+fp(b,+f[C>>2],+f[y+12>>2],c[v>>2]|0,c[u>>2]|0);f[a+128>>2]=+fp(b,+f[B>>2],+f[y+20>>2],c[v>>2]|0,c[u>>2]|0);f[a+132>>2]=+fp(b,+f[A>>2],+f[y+28>>2],c[v>>2]|0,c[u>>2]|0);f[a+136>>2]=+fp(b,+f[z>>2],+f[y+36>>2],c[v>>2]|0,c[u>>2]|0);f[a+140>>2]=+fp(b,+f[d>>2],+f[y+44>>2],c[v>>2]|0,c[u>>2]|0);ep(b,v,u,x*l);f[a+144>>2]=+fp(b,w,s,c[v>>2]|0,c[u>>2]|0);yb=t;return 1}function ap(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;Wk(a,84);c=0;g=0;i=36;j=35;k=36;while(1){if((c|0)==37)break;h=c+1|0;e=b+(c<<2)|0;c=h;d=g;while(1){if((d|0)==(k|0))break;bp(a,d,+f[e>>2]<+f[b+(c<<2)>>2]&1);c=c+1|0;d=d+1|0}e=k+j|0;c=h;g=g+i|0;i=i+-1|0;j=j+-1|0;k=e}return}function bp(b,c,e){b=b|0;c=c|0;e=e|0;b=b+((c|0)/8|0)|0;a[b>>0]=(e&255)<<(c&7)|(d[b>>0]|0);return}function cp(a,b,c,d,e){a=a|0;b=+b;c=+c;d=+d;e=+e;var g=0.0;g=+x(+d)*e;e=+y(+d)*e;f[a>>2]=g;f[a+4>>2]=-e;f[a+8>>2]=b;f[a+12>>2]=e;f[a+16>>2]=g;f[a+20>>2]=c;f[a+24>>2]=0.0;f[a+28>>2]=0.0;f[a+32>>2]=1.0;return}function dp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=c+4|0;f[a>>2]=+f[b+8>>2]+(+f[b>>2]*+f[c>>2]+ +f[b+4>>2]*+f[d>>2]);f[a+4>>2]=+f[b+20>>2]+(+f[b+12>>2]*+f[c>>2]+ +f[b+16>>2]*+f[d>>2]);return}function ep(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=yb;yb=yb+16|0;l=m;g=~~+t(+(+bi(e)));c[b>>2]=g;e=+A(+(e/+(1<>2]*e);c[d>>2]=g;j=a+20|0;if(((c[j>>2]|0)+-1|0)==(g|0)){c[b>>2]=(c[b>>2]|0)+1;c[d>>2]=0;g=0}h=c[b>>2]|0;if((h|0)>=0){i=c[a+16>>2]|0;if((h|0)<(i|0))h=g;else{c[b>>2]=i+-1;g=(c[j>>2]|0)+-1|0;k=7}}else{c[b>>2]=0;g=0;k=7}if((k|0)==7){c[d>>2]=g;h=g}g=c[b>>2]|0;if((g|0)<=-1){k=jf(jf(OC(jf(jf(jf(55420,32285)|0,32320)|0,33528)|0,268)|0,33535)|0,32449)|0;HC(l,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);b=WD(l,56124)|0;b=Gb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;XD(l);PC(k,b)|0;LC(k)|0;ya()}if((g|0)>=(c[a+16>>2]|0)){a=jf(jf(OC(jf(jf(jf(55420,32473)|0,32320)|0,33528)|0,269)|0,33535)|0,32517)|0;HC(l,a+(c[(c[a>>2]|0)+-12>>2]|0)|0);k=WD(l,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(l);PC(a,k)|0;LC(a)|0;ya()}if((h|0)<=-1){a=jf(jf(OC(jf(jf(jf(55420,32560)|0,32320)|0,33528)|0,270)|0,33535)|0,32594)|0;HC(l,a+(c[(c[a>>2]|0)+-12>>2]|0)|0);k=WD(l,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(l);PC(a,k)|0;LC(a)|0;ya()}if((h|0)<(c[j>>2]|0)){yb=m;return}else{m=jf(jf(OC(jf(jf(jf(55420,32617)|0,32320)|0,33528)|0,271)|0,33535)|0,32668)|0;HC(l,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);a=WD(l,56124)|0;a=Gb[c[(c[a>>2]|0)+28>>2]&63](a,10)|0;XD(l);PC(m,a)|0;LC(m)|0;ya()}}function fp(a,b,c,d,e){a=a|0;b=+b;c=+c;d=d|0;e=e|0;var g=0,h=0,i=0;g=yb;yb=yb+16|0;i=g+4|0;h=g;e=_f(a,d,e)|0;Bh(i,h,b,c,d);c=+gp(e,+f[i>>2],+f[h>>2]);yb=g;return +c}function gp(a,b,c){a=a|0;b=+b;c=+c;return +(+hp(a,b,c))}function hp(a,b,c){a=a|0;b=+b;c=+c;b=+mh(b,0.0,+(((ag(a)|0)+-2|0)>>>0));return +(+Rh(a,b,+mh(c,0.0,+(((bg(a)|0)+-2|0)>>>0))))}function ip(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+4|0;g=c[a>>2]|0;f=(c[e>>2]|0)-g|0;if(f>>>0>=b>>>0){if(f>>>0>b>>>0)c[e>>2]=g+b}else jp(a,b-f|0,d);return}function jp(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,l=0,m=0;k=yb;yb=yb+32|0;h=k;i=b+8|0;j=b+4|0;f=c[j>>2]|0;do if(((c[i>>2]|0)-f|0)>>>0>>0){f=f-(c[b>>2]|0)+d|0;g=Bf(b)|0;if(g>>>0>>0)KM(b);else{l=c[b>>2]|0;m=(c[i>>2]|0)-l|0;i=m<<1;Cf(h,m>>>0>>1>>>0?(i>>>0>>0?f:i):g,(c[j>>2]|0)-l|0,b+8|0);kp(h,d,e);Df(b,h);Ef(h);break}}else do{a[f>>0]=a[e>>0]|0;f=(c[j>>2]|0)+1|0;c[j>>2]=f;d=d+-1|0}while((d|0)!=0);while(0);yb=k;return}function kp(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=b+8|0;b=d;d=c[f>>2]|0;do{a[d>>0]=a[e>>0]|0;d=(c[f>>2]|0)+1|0;c[f>>2]=d;b=b+-1|0}while((b|0)!=0);return}function lp(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+272|0;e=b+256|0;d=b;Xa(e|0)|0;Va(d|0,256,32719,Ra(e|0)|0)|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;kM(a,d,kf(d)|0);yb=b;return}function mp(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;return}function np(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;f=i;c[a>>2]=c[b>>2];c[a+4>>2]=c[b+4>>2];c[a+8>>2]=c[b+8>>2];c[a+12>>2]=c[b+12>>2];c[a+16>>2]=c[b+16>>2];c[a+20>>2]=c[b+20>>2];g=a+24|0;h=c[b+24>>2]|0;c[f>>2]=h;e=f+4|0;b=c[b+28>>2]|0;c[e>>2]=b;if(!b){d=e;b=0}else{d=b+4|0;c[d>>2]=(c[d>>2]|0)+1;d=e;b=c[e>>2]|0}c[f>>2]=c[g>>2];c[g>>2]=h;h=a+28|0;c[d>>2]=c[h>>2];c[h>>2]=b;op(f);yb=i;return}function op(a){a=a|0;var b=0,d=0;a=c[a+4>>2]|0;if(a|0?(d=a+4|0,b=c[d>>2]|0,c[d>>2]=b+-1,(b|0)==0):0){Qb[c[(c[a>>2]|0)+8>>2]&255](a);ZL(a)}return}function pp(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+28>>2]=0;np(a,b);return}function qp(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,l=0,m=0,n=0,o=0;l=yb;yb=yb+32|0;i=l+16|0;j=l+8|0;k=l;if(!d){h=jf(jf(OC(jf(jf(jf(55420,32737)|0,32770)|0,33528)|0,127)|0,33535)|0,32878)|0;HC(i,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);m=WD(i,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(i);PC(h,m)|0;LC(h)|0;ya()}if(!e){m=jf(jf(OC(jf(jf(jf(55420,32899)|0,32770)|0,33528)|0,128)|0,33535)|0,32933)|0;HC(i,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);h=WD(i,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(i);PC(m,h)|0;LC(m)|0;ya()}if(f>>>0>>0){m=jf(jf(OC(jf(jf(jf(55420,32955)|0,32770)|0,33528)|0,129)|0,33535)|0,32992)|0;HC(i,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);h=WD(i,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(i);PC(m,h)|0;LC(m)|0;ya()}if(!g){m=jf(jf(OC(jf(jf(jf(55420,33037)|0,32770)|0,33528)|0,130)|0,33535)|0,33073)|0;HC(i,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);h=WD(i,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(i);PC(m,h)|0;LC(m)|0;ya()}if((f|0)<0)f=C(C(g,d)|0,rp(b)|0)|0;c[a+12>>2]=f;f=C(f,e)|0;h=a+20|0;if((c[h>>2]|0)!=(f|0)?(m=a+24|0,o=bM(f)|0,c[k>>2]=0,c[i>>2]=c[k>>2],sp(j,o,i),o=c[j>>2]|0,c[j>>2]=c[m>>2],c[m>>2]=o,o=j+4|0,k=a+28|0,n=c[o>>2]|0,c[o>>2]=c[k>>2],c[k>>2]=n,op(j),(c[m>>2]|0)==0):0){o=jf(jf(OC(jf(jf(jf(55420,33107)|0,32770)|0,33528)|0,149)|0,33535)|0,33142)|0;HC(i,o+(c[(c[o>>2]|0)+-12>>2]|0)|0);n=WD(i,56124)|0;n=Gb[c[(c[n>>2]|0)+28>>2]&63](n,10)|0;XD(i);PC(o,n)|0;LC(o)|0;ya()}c[a>>2]=b;c[a+4>>2]=d;c[a+8>>2]=e;c[a+16>>2]=g;c[h>>2]=f;yb=l;return}function rp(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=d;switch(a|0){case 1:break;case 2:{a=4;break}default:{d=Q(16)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;kM(b,33266,kf(33266)|0);Bi(d,b);U(d|0,11016,5)}}yb=d;return a|0}function sp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;d=yb;yb=yb+16|0;e=d;c[a>>2]=b;f=aM(16)|0;c[f+4>>2]=0;c[f+8>>2]=0;c[f>>2]=13576;c[f+12>>2]=b;c[a+4>>2]=f;c[e>>2]=b;c[e+4>>2]=b;tp(a,e);yb=d;return}function tp(a,b){a=a|0;b=b|0;return}function up(a){a=a|0;YL(a);cM(a);return}function vp(a){a=a|0;cM(c[a+12>>2]|0);return}function wp(a,b){a=a|0;b=b|0;return ((c[b+4>>2]|0)==33163?a+12|0:0)|0}function xp(a){a=a|0;cM(a);return}function yp(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,l=0,m=0;j=yb;yb=yb+16|0;k=j+8|0;l=j+4|0;m=j;c[b>>2]=e;c[b+4>>2]=f;c[b+8>>2]=g;c[b+16>>2]=i;c[b+20>>2]=C(h,g)|0;c[m>>2]=0;a[l>>0]=a[j+12>>0]|0;c[k>>2]=c[m>>2];zp(b+24|0,d,l,k);if((h|0)<0)h=C(C(i,f)|0,rp(e)|0)|0;c[b+12>>2]=h;yb=j;return}function zp(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;e=yb;yb=yb+16|0;d=e;c[a>>2]=b;f=aM(16)|0;c[f+4>>2]=0;c[f+8>>2]=0;c[f>>2]=13604;c[f+12>>2]=b;c[a+4>>2]=f;c[d>>2]=b;c[d+4>>2]=b;tp(a,d);yb=e;return}function Ap(a,b){a=a|0;b=b|0;return}function Bp(a){a=a|0;YL(a);cM(a);return}function Cp(a){a=a|0;a=a+12|0;Ap(a,c[a>>2]|0);return}function Dp(a,b){a=a|0;b=b|0;return ((c[b+4>>2]|0)==33285?a+12|0:0)|0}function Ep(a){a=a|0;cM(a);return}function Fp(a){a=a|0;op(a+24|0);return}function Gp(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function Hp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=a+4|0;e=0;while(1){g=c[a>>2]|0;if(e>>>0>=(c[f>>2]|0)-g>>3>>>0)break;g=c[g+(e<<3)>>2]|0;Ub[c[(c[g>>2]|0)+8>>2]&3](g,b,d);e=e+1|0}return}function Ip(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;f=yb;yb=yb+48|0;i=f;h=f+28|0;g=f+16|0;c[i>>2]=e;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;kM(g,d,kf(d)|0);Jp(h,g,i);Hp(a,b,h);nM(h);nM(g);yb=f;return}function Jp(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+2048|0;g=f;Yy(g,2048,(a[d+11>>0]|0)<0?c[d>>2]|0:d,e)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;kM(b,g,kf(g)|0);yb=f;return}function Kp(a){a=a|0;g[a>>3]=-1.0;g[a+8>>3]=-1.0;return}function Lp(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;Na(d|0,0)|0;g[a>>3]=+(c[d+4>>2]|0)*1.0e-06+ +(c[d>>2]|0);yb=b;return}function Mp(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=d;if(!(+g[a>>3]>=0.0)){d=jf(jf(OC(jf(jf(jf(55420,33380)|0,33419)|0,33528)|0,67)|0,33535)|0,33538)|0;HC(b,d+(c[(c[d>>2]|0)+-12>>2]|0)|0);a=WD(b,56124)|0;a=Gb[c[(c[a>>2]|0)+28>>2]&63](a,10)|0;XD(b);PC(d,a)|0;LC(d)|0;ya()}else{Na(b|0,0)|0;g[a+8>>3]=+(c[b+4>>2]|0)*1.0e-06+ +(c[b>>2]|0);yb=d;return}}function Np(a){a=a|0;var b=0.0,d=0,e=0.0,f=0,h=0,i=0;f=yb;yb=yb+16|0;d=f;e=+g[a>>3];if(!(e>=0.0)){h=jf(jf(OC(jf(jf(jf(55420,33380)|0,33419)|0,33528)|0,80)|0,33535)|0,33538)|0;HC(d,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);i=WD(d,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(d);PC(h,i)|0;LC(h)|0;ya()}b=+g[a+8>>3];if(!(b>=0.0)){i=jf(jf(OC(jf(jf(jf(55420,33565)|0,33419)|0,33528)|0,81)|0,33535)|0,33603)|0;HC(d,i+(c[(c[i>>2]|0)+-12>>2]|0)|0);h=WD(d,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(d);PC(i,h)|0;LC(i)|0;ya()}else{yb=f;return +(b-e)}return +(0.0)}function Op(a){a=a|0;return +(+Np(a)*1.0e3)}function Pp(a,b){a=a|0;b=b|0;var d=0;Kp(a);d=a+16|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;kM(d,b,kf(b)|0);Lp(a);return}function Qp(b){b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0.0;k=yb;yb=yb+48|0;j=k;d=k+24|0;Mp(b);f=Mj()|0;lp(d);h=(a[d+11>>0]|0)<0?c[d>>2]|0:d;i=b+16|0;if((a[i+11>>0]|0)<0)e=c[i>>2]|0;else e=i;l=+Op(b);c[j>>2]=33657;c[j+4>>2]=h;c[j+8>>2]=33665;c[j+12>>2]=e;g[j+16>>3]=l;Ip(f,8,33630,j);nM(d);nM(i);yb=k;return}function Rp(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+16|0;k=l;h=l+8|0;i=l+12|0;f=b+4|0;c[f>>2]=0;d=Sp(b)|0;c[h>>2]=d;g=Tp(b,84)|0;if(!g){Up(b);j=c[b>>2]|0;c[j+20>>2]=54;c[j+24>>2]=0;Qb[c[c[b>>2]>>2]&255](b)}c[g>>2]=27;c[g+4>>2]=28;c[g+8>>2]=7;c[g+12>>2]=8;c[g+16>>2]=39;c[g+20>>2]=40;c[g+24>>2]=114;c[g+28>>2]=21;c[g+32>>2]=22;c[g+36>>2]=40;c[g+40>>2]=115;c[g+48>>2]=1e9;j=g+44|0;c[j>>2]=d;d=g+52|0;e=g+60|0;b=1;while(1){if((b|0)<=-1)break;c[d+(b<<2)>>2]=0;c[e+(b<<2)>>2]=0;b=b+-1|0}c[g+68>>2]=0;c[g+72>>2]=0;c[g+76>>2]=84;c[f>>2]=g;b=Ma(38267)|0;if(b|0?(a[i>>0]=120,c[k>>2]=h,c[k+4>>2]=i,(Zz(b,38275,k)|0)>0):0){switch(a[i>>0]|0){case 77:case 109:{b=(c[h>>2]|0)*1e3|0;c[h>>2]=b;break}default:b=c[h>>2]|0}c[j>>2]=b*1e3}yb=l;return}function Sp(a){a=a|0;return 1e6}function Tp(a,b){a=a|0;b=b|0;return iB(b)|0}function Up(a){a=a|0;return}function Vp(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=c[a+4>>2]|0;if(d>>>0>999999984)oq(a,1);j=d&7;j=((j|0)==0?0:8-j|0)+d|0;if(b>>>0>1){i=c[a>>2]|0;c[i+20>>2]=14;c[i+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}i=k+52+(b<<2)|0;e=i;h=0;while(1){d=c[e>>2]|0;if(!d){f=9;break}if((c[d+8>>2]|0)>>>0>=j>>>0)break;e=d;h=d}do if((f|0)==9){g=(h|0)==0;e=c[(g?13624:13632)+(b<<2)>>2]|0;f=999999984-j|0;e=e>>>0>f>>>0?f:e;while(1){b=e+j|0;f=b+16|0;d=Tp(a,f)|0;if(d|0)break;if(e>>>0<100)oq(a,2);e=e>>>1}k=k+76|0;c[k>>2]=(c[k>>2]|0)+f;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=b;if(g){c[i>>2]=d;break}else{c[h>>2]=d;break}}while(0);a=d+4|0;k=c[a>>2]|0;c[a>>2]=k+j;a=d+8|0;c[a>>2]=(c[a>>2]|0)-j;return d+16+k|0}function Wp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=c[a+4>>2]|0;if(d>>>0>999999984)oq(a,3);f=d&7;d=((f|0)==0?0:8-f|0)+d|0;if(b>>>0>1){f=c[a>>2]|0;c[f+20>>2]=14;c[f+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}e=d+16|0;f=pq(a,e)|0;if(!f)oq(a,4);a=g+76|0;c[a>>2]=(c[a>>2]|0)+e;g=g+60+(b<<2)|0;c[f>>2]=c[g>>2];c[f+4>>2]=d;c[f+8>>2]=0;c[g>>2]=f;return f+16|0}function Xp(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,l=0,m=0;f=c[a+4>>2]|0;g=999999984/(d>>>0)|0;if(d>>>0>999999984){m=c[a>>2]|0;c[m+20>>2]=70;Qb[c[m>>2]&255](a)}k=(g|0)<(e|0)?g:e;c[f+80>>2]=k;l=Vp(a,b,e<<2)|0;m=~e;j=0;f=k;while(1){if(j>>>0>=e>>>0)break;k=e-j|0;k=f>>>0>>0?f:k;g=Wp(a,b,C(k,d)|0)|0;h=j+m|0;i=~f;i=h>>>0>i>>>0?h:i;f=g;g=k;h=j;while(1){if(!g)break;c[l+(h<<2)>>2]=f;f=f+d|0;g=g+-1|0;h=h+1|0}j=j+-1-i|0;f=k}return l|0}function Yp(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,l=0,m=0,n=0;f=c[a+4>>2]|0;n=d<<7;g=999999984/(n>>>0)|0;if(n>>>0>999999984){m=c[a>>2]|0;c[m+20>>2]=70;Qb[c[m>>2]&255](a)}k=(g|0)<(e|0)?g:e;c[f+80>>2]=k;l=Vp(a,b,e<<2)|0;m=~e;j=0;f=k;while(1){if(j>>>0>=e>>>0)break;k=e-j|0;k=f>>>0>>0?f:k;g=Wp(a,b,C(n,k)|0)|0;h=j+m|0;i=~f;i=h>>>0>i>>>0?h:i;f=g;g=k;h=j;while(1){if(!g)break;c[l+(h<<2)>>2]=f;f=f+(d<<7)|0;g=g+-1|0;h=h+1|0}j=j+-1-i|0;f=k}return l|0}function Zp(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;h=c[a+4>>2]|0;if((b|0)!=1){i=c[a>>2]|0;c[i+20>>2]=14;c[i+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}i=Vp(a,b,128)|0;c[i>>2]=0;c[i+4>>2]=f;c[i+8>>2]=e;c[i+12>>2]=g;c[i+32>>2]=d;c[i+40>>2]=0;h=h+68|0;c[i+44>>2]=c[h>>2];c[h>>2]=i;return i|0}function _p(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;h=c[a+4>>2]|0;if((b|0)!=1){i=c[a>>2]|0;c[i+20>>2]=14;c[i+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}i=Vp(a,b,128)|0;c[i>>2]=0;c[i+4>>2]=f;c[i+8>>2]=e;c[i+12>>2]=g;c[i+32>>2]=d;c[i+40>>2]=0;h=h+72|0;c[i+44>>2]=c[h>>2];c[h>>2]=i;return i|0}function $p(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=c[a+4>>2]|0;d=h+68|0;g=0;e=0;b=d;while(1){f=c[b>>2]|0;if(!f)break;if(!(c[f>>2]|0)){i=c[f+8>>2]|0;b=(C(i,c[f+12>>2]|0)|0)+g|0;e=(C(c[f+4>>2]|0,i)|0)+e|0}else b=g;g=b;b=f+44|0}b=h+72|0;f=b;while(1){f=c[f>>2]|0;if(!f)break;if(!(c[f>>2]|0)){i=c[f+8>>2]|0;g=(C(c[f+12>>2]<<7,i)|0)+g|0;e=(C(i<<7,c[f+4>>2]|0)|0)+e|0}f=f+44|0}a:do if((g|0)>=1){f=jq(a,g,e,c[h+76>>2]|0)|0;if((f|0)<(e|0)){i=(f|0)/(g|0)|0;i=(i|0)>1?i:1}else i=1e9;h=h+80|0;while(1){g=c[d>>2]|0;if(!g)break;if(!(c[g>>2]|0)){f=c[g+4>>2]|0;d=c[g+12>>2]|0;if(((((f+-1|0)>>>0)/(d>>>0)|0)+1|0)>(i|0)){j=g+16|0;c[j>>2]=C(d,i)|0;e=g+8|0;kq(a,g+48|0,C(c[e>>2]|0,f)|0);c[g+40>>2]=1;d=c[j>>2]|0}else{c[g+16>>2]=f;e=g+8|0;d=f}c[g>>2]=Xp(a,1,c[e>>2]|0,d)|0;c[g+20>>2]=c[h>>2];c[g+24>>2]=0;c[g+28>>2]=0;c[g+36>>2]=0}d=g+44|0}while(1){f=c[b>>2]|0;if(!f)break a;if(!(c[f>>2]|0)){e=c[f+4>>2]|0;b=c[f+12>>2]|0;if(((((e+-1|0)>>>0)/(b>>>0)|0)+1|0)>(i|0)){j=f+16|0;c[j>>2]=C(b,i)|0;d=f+8|0;kq(a,f+48|0,C(e<<7,c[d>>2]|0)|0);c[f+40>>2]=1;b=c[j>>2]|0}else{c[f+16>>2]=e;d=f+8|0;b=e}c[f>>2]=Yp(a,1,c[d>>2]|0,b)|0;c[f+20>>2]=c[h>>2];c[f+24>>2]=0;c[f+28>>2]=0;c[f+36>>2]=0}b=f+44|0}}while(0);return}function aq(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;j=e+d|0;if(!((j>>>0<=(c[b+4>>2]|0)>>>0?(c[b+12>>2]|0)>>>0>=e>>>0:0)?(c[b>>2]|0)!=0:0)){k=c[a>>2]|0;c[k+20>>2]=22;Qb[c[k>>2]&255](a)}k=b+24|0;h=c[k>>2]|0;if(!(h>>>0<=d>>>0?j>>>0<=((c[b+16>>2]|0)+h|0)>>>0:0)){if(!(c[b+40>>2]|0)){h=c[a>>2]|0;c[h+20>>2]=69;Qb[c[h>>2]&255](a)}e=b+36|0;if(c[e>>2]|0){iq(a,b,1);c[e>>2]=0}if((c[k>>2]|0)>>>0>>0)e=d;else{e=j-(c[b+16>>2]|0)|0;e=(e|0)>0?e:0}c[k>>2]=e;iq(a,b,0)}h=b+28|0;e=c[h>>2]|0;a:do if(e>>>0>>0){g=(f|0)==0;if(e>>>0>>0)if(g){e=d;g=0}else{e=c[a>>2]|0;c[e+20>>2]=22;Qb[c[e>>2]&255](a);e=d;i=19}else if(g)g=0;else i=19;if((i|0)==19){c[h>>2]=j;g=1}if(!(c[b+32>>2]|0)){if(g)break;j=c[a>>2]|0;c[j+20>>2]=22;Qb[c[j>>2]&255](a);break}h=c[b+8>>2]|0;i=c[k>>2]|0;g=j-i|0;e=e-i|0;while(1){if(e>>>0>=g>>>0)break a;hq(c[(c[b>>2]|0)+(e<<2)>>2]|0,h);e=e+1|0}}while(0);if(f|0)c[b+36>>2]=1;return (c[b>>2]|0)+(d-(c[k>>2]|0)<<2)|0}function bq(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;j=e+d|0;if(!((j>>>0<=(c[b+4>>2]|0)>>>0?(c[b+12>>2]|0)>>>0>=e>>>0:0)?(c[b>>2]|0)!=0:0)){k=c[a>>2]|0;c[k+20>>2]=22;Qb[c[k>>2]&255](a)}k=b+24|0;h=c[k>>2]|0;if(!(h>>>0<=d>>>0?j>>>0<=((c[b+16>>2]|0)+h|0)>>>0:0)){if(!(c[b+40>>2]|0)){h=c[a>>2]|0;c[h+20>>2]=69;Qb[c[h>>2]&255](a)}e=b+36|0;if(c[e>>2]|0){gq(a,b,1);c[e>>2]=0}if((c[k>>2]|0)>>>0>>0)e=d;else{e=j-(c[b+16>>2]|0)|0;e=(e|0)>0?e:0}c[k>>2]=e;gq(a,b,0)}h=b+28|0;e=c[h>>2]|0;a:do if(e>>>0>>0){g=(f|0)==0;if(e>>>0>>0)if(g){e=d;g=0}else{e=c[a>>2]|0;c[e+20>>2]=22;Qb[c[e>>2]&255](a);e=d;i=19}else if(g)g=0;else i=19;if((i|0)==19){c[h>>2]=j;g=1}if(!(c[b+32>>2]|0)){if(g)break;j=c[a>>2]|0;c[j+20>>2]=22;Qb[c[j>>2]&255](a);break}h=c[b+8>>2]<<7;i=c[k>>2]|0;g=j-i|0;e=e-i|0;while(1){if(e>>>0>=g>>>0)break a;hq(c[(c[b>>2]|0)+(e<<2)>>2]|0,h);e=e+1|0}}while(0);if(f|0)c[b+36>>2]=1;return (c[b>>2]|0)+(d-(c[k>>2]|0)<<2)|0}function cq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;g=c[a+4>>2]|0;if(b>>>0<=1){if((b|0)==1){f=g+68|0;d=f;while(1){d=c[d>>2]|0;if(!d)break;e=d+40|0;if(c[e>>2]|0){c[e>>2]=0;Sb[c[d+56>>2]&63](a,d+48|0)}d=d+44|0}c[f>>2]=0;f=g+72|0;d=f;while(1){d=c[d>>2]|0;if(!d)break;e=d+40|0;if(c[e>>2]|0){c[e>>2]=0;Sb[c[d+56>>2]&63](a,d+48|0)}d=d+44|0}c[f>>2]=0}}else{f=c[a>>2]|0;c[f+20>>2]=14;c[f+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}e=g+60+(b<<2)|0;d=c[e>>2]|0;c[e>>2]=0;e=g+76|0;while(1){if(!d)break;f=c[d>>2]|0;h=(c[d+4>>2]|0)+16+(c[d+8>>2]|0)|0;fq(a,d,h);c[e>>2]=(c[e>>2]|0)-h;d=f}h=g+52+(b<<2)|0;d=c[h>>2]|0;c[h>>2]=0;while(1){if(!d)break;h=c[d>>2]|0;g=(c[d+4>>2]|0)+16+(c[d+8>>2]|0)|0;eq(a,d,g);c[e>>2]=(c[e>>2]|0)-g;d=h}return}function dq(a){a=a|0;var b=0;b=1;while(1){if((b|0)<=-1)break;cq(a,b);b=b+-1|0}b=a+4|0;eq(a,c[b>>2]|0,84);c[b>>2]=0;Up(a);return}function eq(a,b,c){a=a|0;b=b|0;c=c|0;jB(b);return}function fq(a,b,c){a=a|0;b=b|0;c=c|0;jB(b);return}function gq(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,l=0,m=0,n=0,o=0,p=0,q=0;m=c[b+8>>2]<<7;n=b+24|0;o=b+20|0;j=b+16|0;k=b+28|0;l=b+4|0;g=(d|0)==0;h=b+48|0;i=b+52|0;e=0;f=C(c[n>>2]|0,m)|0;while(1){d=c[j>>2]|0;if((d|0)<=(e|0))break;p=c[o>>2]|0;q=d-e|0;q=(p|0)<(q|0)?p:q;d=(c[n>>2]|0)+e|0;p=(c[k>>2]|0)-d|0;p=(q|0)<(p|0)?q:p;d=(c[l>>2]|0)-d|0;d=(p|0)<(d|0)?p:d;if((d|0)<1)break;d=C(d,m)|0;if(g)Wb[c[h>>2]&31](a,h,c[(c[b>>2]|0)+(e<<2)>>2]|0,f,d);else Wb[c[i>>2]&31](a,h,c[(c[b>>2]|0)+(e<<2)>>2]|0,f,d);e=(c[o>>2]|0)+e|0;f=d+f|0}return}function hq(a,b){a=a|0;b=b|0;XN(a|0,0,b|0)|0;return}function iq(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,l=0,m=0,n=0,o=0,p=0,q=0;l=c[b+8>>2]|0;m=b+24|0;n=b+20|0;o=b+16|0;j=b+28|0;k=b+4|0;g=(d|0)==0;h=b+48|0;i=b+52|0;e=0;f=C(c[m>>2]|0,l)|0;while(1){d=c[o>>2]|0;if((d|0)<=(e|0))break;p=c[n>>2]|0;q=d-e|0;q=(p|0)<(q|0)?p:q;d=(c[m>>2]|0)+e|0;p=(c[j>>2]|0)-d|0;p=(q|0)<(p|0)?q:p;d=(c[k>>2]|0)-d|0;d=(p|0)<(d|0)?p:d;if((d|0)<1)break;d=C(d,l)|0;if(g)Wb[c[h>>2]&31](a,h,c[(c[b>>2]|0)+(e<<2)>>2]|0,f,d);else Wb[c[i>>2]&31](a,h,c[(c[b>>2]|0)+(e<<2)>>2]|0,f,d);e=(c[n>>2]|0)+e|0;f=d+f|0}return}function jq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;return (c[(c[a+4>>2]|0)+44>>2]|0)-e|0}function kq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;f=ZA()|0;c[d+12>>2]=f;if(!f){e=c[b>>2]|0;c[e+20>>2]=63;e=e+24|0;f=e+80|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));Qb[c[c[b>>2]>>2]&255](b)}c[d>>2]=4;c[d+4>>2]=5;c[d+8>>2]=41;return}function lq(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;b=b+12|0;if(hA(c[b>>2]|0,e,0)|0){e=c[a>>2]|0;c[e+20>>2]=65;Qb[c[e>>2]&255](a)}if((aB(d,1,f,c[b>>2]|0)|0)!=(f|0)){f=c[a>>2]|0;c[f+20>>2]=64;Qb[c[f>>2]&255](a)}return}function mq(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;b=b+12|0;if(hA(c[b>>2]|0,e,0)|0){e=c[a>>2]|0;c[e+20>>2]=65;Qb[c[e>>2]&255](a)}if((Hz(d,1,f,c[b>>2]|0)|0)!=(f|0)){f=c[a>>2]|0;c[f+20>>2]=66;Qb[c[f>>2]&255](a)}return}function nq(a,b){a=a|0;b=b|0;Uz(c[b+12>>2]|0)|0;return}function oq(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;c[d+20>>2]=54;c[d+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a);return}function pq(a,b){a=a|0;b=b|0;return iB(b)|0}function qq(a){a=a|0;var b=0,d=0;b=a+4|0;d=c[b>>2]|0;if(d|0)Qb[c[d+40>>2]&255](a);c[b>>2]=0;c[a+20>>2]=0;return}function rq(a){a=a|0;var b=0,d=0;d=a+4|0;do if(c[d>>2]|0){b=1;while(1){if(!b)break;Sb[c[(c[d>>2]|0)+36>>2]&63](a,b);b=b+-1|0}b=a+20|0;if(!(c[a+16>>2]|0)){c[b>>2]=100;break}else{c[b>>2]=200;c[a+304>>2]=0;break}}while(0);return}function sq(a,b){a=a|0;b=b|0;a=a+-1+b|0;return a-((a|0)%(b|0)|0)|0}function tq(a){a=a|0;a=Hb[c[c[a+4>>2]>>2]&63](a,0,280)|0;c[a+276>>2]=0;return a|0}function uq(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;h=f;a=a+(b<<2)|0;f=d+(e<<2)|0;while(1){if((h|0)<=0)break;VN(c[f>>2]|0,c[a>>2]|0,g|0)|0;h=h+-1|0;a=a+4|0;f=f+4|0}return}function vq(a,b){a=a|0;b=b|0;return (a+-1+b|0)/(b|0)|0|0}function wq(a){a=a|0;a=Hb[c[c[a+4>>2]>>2]&63](a,0,132)|0;c[a+128>>2]=0;return a|0}function xq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;c[a+4>>2]=0;if((b|0)!=62){e=c[a>>2]|0;c[e+20>>2]=12;c[e+24>>2]=62;c[(c[a>>2]|0)+28>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}if((d|0)==464)b=a;else{b=c[a>>2]|0;c[b+20>>2]=21;c[b+24>>2]=464;c[(c[a>>2]|0)+28>>2]=d;Qb[c[c[a>>2]>>2]&255](a);b=a}f=c[a>>2]|0;e=a+12|0;d=c[e>>2]|0;XN(a+4|0,0,460)|0;c[a>>2]=f;c[e>>2]=d;c[a+16>>2]=1;Rp(b);c[a+8>>2]=0;c[a+24>>2]=0;b=0;while(1){if((b|0)==4)break;c[a+164+(b<<2)>>2]=0;b=b+1|0}b=0;while(1){if((b|0)==4)break;c[a+180+(b<<2)>>2]=0;c[a+196+(b<<2)>>2]=0;b=b+1|0}c[a+304>>2]=0;yq(a);zq(a);c[a+20>>2]=200;return}function yq(a){a=a|0;var b=0,d=0,e=0,f=0;f=Hb[c[c[a+4>>2]>>2]&63](a,0,172)|0;c[a+440>>2]=f;c[f>>2]=116;c[f+4>>2]=66;c[f+8>>2]=67;c[f+28>>2]=68;c[f+96>>2]=0;d=f+32|0;e=f+100|0;b=0;while(1){if((b|0)==16)break;c[d+(b<<2)>>2]=68;c[e+(b<<2)>>2]=0;b=b+1|0}c[d>>2]=69;c[f+88>>2]=69;Hq(a);return}function zq(a){a=a|0;var b=0;b=Hb[c[c[a+4>>2]>>2]&63](a,0,28)|0;c[a+436>>2]=b;c[b>>2]=70;c[b+4>>2]=117;c[b+8>>2]=118;c[b+12>>2]=119;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=1;return}function Aq(a){a=a|0;var b=0,d=0,e=0,f=0;f=c[a+436>>2]|0;d=f+20|0;a:do if(!(c[d>>2]|0)){e=a+440|0;b=Eb[c[(c[e>>2]|0)+4>>2]&127](a)|0;switch(b|0){case 1:{b=f+24|0;if(c[b>>2]|0){Gq(a);c[b>>2]=0;b=1;break a}if(!(c[f+16>>2]|0)){f=c[a>>2]|0;c[f+20>>2]=35;Qb[c[f>>2]&255](a)}Cq(a);b=1;break a}case 2:{c[d>>2]=1;if(!(c[f+24>>2]|0)){d=a+152|0;b=c[a+144>>2]|0;if((c[d>>2]|0)<=(b|0)){b=2;break a}c[d>>2]=b;b=2;break a}else{if(!(c[(c[e>>2]|0)+16>>2]|0)){b=2;break a}b=c[a>>2]|0;c[b+20>>2]=59;Qb[c[b>>2]&255](a);b=2;break a}}default:break a}}else b=2;while(0);return b|0}function Bq(a){a=a|0;var b=0;b=c[a+436>>2]|0;c[b>>2]=70;c[b+16>>2]=0;c[b+20>>2]=0;c[b+24>>2]=1;Qb[c[(c[a>>2]|0)+16>>2]&255](a);Qb[c[c[a+440>>2]>>2]&255](a);c[a+160>>2]=0;return}function Cq(a){a=a|0;var b=0;Eq(a);Fq(a);Qb[c[c[a+444>>2]>>2]&255](a);b=a+428|0;Qb[c[c[b>>2]>>2]&255](a);c[c[a+436>>2]>>2]=c[(c[b>>2]|0)+4>>2];return}function Dq(a){a=a|0;c[c[a+436>>2]>>2]=70;return}function Eq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=a+328|0;b=c[g>>2]|0;a:do if((b|0)==1){g=c[a+332>>2]|0;c[a+348>>2]=c[g+28>>2];f=c[g+32>>2]|0;c[a+352>>2]=f;c[g+52>>2]=1;c[g+56>>2]=1;c[g+60>>2]=1;c[g+64>>2]=c[g+36>>2];c[g+68>>2]=1;e=c[g+12>>2]|0;f=(f>>>0)%(e>>>0)|0;c[g+72>>2]=(f|0)==0?e:f;c[a+356>>2]=1;c[a+360>>2]=0}else{if((b+-1|0)>>>0>3){e=c[a>>2]|0;c[e+20>>2]=26;c[e+24>>2]=b;c[(c[a>>2]|0)+28>>2]=4;Qb[c[c[a>>2]>>2]&255](a);e=a}else e=a;c[a+348>>2]=vq(c[a+28>>2]|0,c[a+308>>2]<<3)|0;c[a+352>>2]=vq(c[a+32>>2]|0,c[a+312>>2]<<3)|0;f=a+356|0;c[f>>2]=0;d=0;while(1){if((d|0)>=(c[g>>2]|0))break a;h=c[a+332+(d<<2)>>2]|0;k=c[h+8>>2]|0;c[h+52>>2]=k;j=c[h+12>>2]|0;c[h+56>>2]=j;b=C(j,k)|0;c[h+60>>2]=b;c[h+64>>2]=C(c[h+36>>2]|0,k)|0;i=((c[h+28>>2]|0)>>>0)%(k>>>0)|0;c[h+68>>2]=(i|0)==0?k:i;i=((c[h+32>>2]|0)>>>0)%(j>>>0)|0;c[h+72>>2]=(i|0)==0?j:i;if(((c[f>>2]|0)+b|0)>10){k=c[a>>2]|0;c[k+20>>2]=13;Qb[c[k>>2]&255](e)}while(1){if((b|0)<=0)break;k=c[f>>2]|0;c[f>>2]=k+1;c[a+360+(k<<2)>>2]=d;b=b+-1|0}d=d+1|0}}while(0);return}function Fq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;f=a+328|0;g=a+4|0;e=0;while(1){if((e|0)>=(c[f>>2]|0))break;b=c[a+332+(e<<2)>>2]|0;h=b+76|0;if(!(c[h>>2]|0)){d=c[b+16>>2]|0;b=a+164+(d<<2)|0;if(!(d>>>0<=3?(c[b>>2]|0)!=0:0)){i=c[a>>2]|0;c[i+20>>2]=52;c[i+24>>2]=d;Qb[c[c[a>>2]>>2]&255](a)}i=Hb[c[c[g>>2]>>2]&63](a,1,132)|0;VN(i|0,c[b>>2]|0,132)|0;c[h>>2]=i}e=e+1|0}return}function Gq(a){a=a|0;var b=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;p=a+32|0;if(!((c[p>>2]|0)<=65500?(c[a+28>>2]|0)<=65500:0)){o=c[a>>2]|0;c[o+20>>2]=41;c[o+24>>2]=65500;Qb[c[c[a>>2]>>2]&255](a)}b=c[a+212>>2]|0;if((b|0)!=8){o=c[a>>2]|0;c[o+20>>2]=15;c[o+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}o=a+36|0;b=c[o>>2]|0;if((b|0)>10){j=c[a>>2]|0;c[j+20>>2]=26;c[j+24>>2]=b;c[(c[a>>2]|0)+28>>2]=10;Qb[c[c[a>>2]>>2]&255](a);j=a}else j=a;m=a+308|0;c[m>>2]=1;n=a+312|0;c[n>>2]=1;k=a+216|0;h=c[k>>2]|0;i=0;d=1;e=1;while(1){b=c[o>>2]|0;if((i|0)>=(b|0))break;b=h+8|0;f=c[b>>2]|0;g=h+12|0;if((f+-1|0)>>>0<=3?(l=c[g>>2]|0,(l+-1|0)>>>0<=3):0)b=l;else{e=c[a>>2]|0;c[e+20>>2]=18;Qb[c[e>>2]&255](j);e=c[m>>2]|0;f=c[b>>2]|0;d=c[n>>2]|0;b=c[g>>2]|0}e=(e|0)>(f|0)?e:f;c[m>>2]=e;d=(d|0)>(b|0)?d:b;c[n>>2]=d;h=h+84|0;i=i+1|0}c[a+316>>2]=8;f=a+28|0;d=c[k>>2]|0;e=0;while(1){if((e|0)>=(b|0))break;c[d+36>>2]=8;l=d+8|0;b=C(c[l>>2]|0,c[f>>2]|0)|0;c[d+28>>2]=vq(b,c[m>>2]<<3)|0;b=d+12|0;k=C(c[b>>2]|0,c[p>>2]|0)|0;c[d+32>>2]=vq(k,c[n>>2]<<3)|0;l=C(c[l>>2]|0,c[f>>2]|0)|0;c[d+40>>2]=vq(l,c[m>>2]|0)|0;b=C(c[b>>2]|0,c[p>>2]|0)|0;c[d+44>>2]=vq(b,c[n>>2]|0)|0;c[d+48>>2]=1;c[d+76>>2]=0;d=d+84|0;e=e+1|0;b=c[o>>2]|0}c[a+320>>2]=vq(c[p>>2]|0,c[n>>2]<<3)|0;if((c[a+328>>2]|0)<(c[o>>2]|0))b=1;else b=(c[a+220>>2]|0)!=0&1;c[(c[a+436>>2]|0)+16>>2]=b;return}function Hq(a){a=a|0;var b=0;b=c[a+440>>2]|0;c[a+216>>2]=0;c[a+144>>2]=0;c[a+416>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+24>>2]=0;c[b+164>>2]=0;return}function Iq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=a+416|0;e=a+440|0;b=c[d>>2]|0;a:while(1){if(!b){if(!(c[(c[e>>2]|0)+12>>2]|0)){if(!(Pq(a)|0)){b=0;break}}else if(!(Oq(a)|0)){b=0;break}b=c[d>>2]|0}do switch(b|0){case 218:{f=14;break a}case 217:{f=16;break a}case 216:{Qq(a);break}case 193:case 192:{if(!(Rq(a,0,0)|0)){b=0;break a}break}case 194:{if(!(Rq(a,1,0)|0)){b=0;break a}break}case 201:{if(!(Rq(a,0,1)|0)){b=0;break a}break}case 202:{if(!(Rq(a,1,1)|0)){b=0;break a}break}case 207:case 206:case 205:case 203:case 200:case 199:case 198:case 197:case 195:{g=c[a>>2]|0;c[g+20>>2]=60;c[g+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a);break}case 204:{if(!(Kq(a)|0)){b=0;break a}break}case 196:{if(!(Tq(a)|0)){b=0;break a}break}case 219:{if(!(Uq(a)|0)){b=0;break a}break}case 221:{if(!(Vq(a)|0)){b=0;break a}break}case 239:case 238:case 237:case 236:case 235:case 234:case 233:case 232:case 231:case 230:case 229:case 228:case 227:case 226:case 225:case 224:{if(!(Eb[c[(c[e>>2]|0)+32+(b+-224<<2)>>2]&127](a)|0)){b=0;break a}break}case 254:{if(!(Eb[c[(c[e>>2]|0)+28>>2]&127](a)|0)){b=0;break a}break}case 1:case 215:case 214:case 213:case 212:case 211:case 210:case 209:case 208:{g=c[a>>2]|0;c[g+20>>2]=92;c[g+24>>2]=b;Sb[c[(c[a>>2]|0)+4>>2]&63](a,1);break}case 220:{if(!(Kq(a)|0)){b=0;break a}break}default:{g=c[a>>2]|0;c[g+20>>2]=68;c[g+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}}while(0);c[d>>2]=0;b=0}if((f|0)==14)if(!(Sq(a)|0))b=0;else{c[d>>2]=0;b=1}else if((f|0)==16){b=c[a>>2]|0;c[b+20>>2]=85;Sb[c[b+4>>2]&63](a,1);c[d>>2]=0;b=2}return b|0}function Jq(a){a=a|0;var b=0,d=0,e=0,f=0;f=a+416|0;b=c[f>>2]|0;if(!b)if(!(Oq(a)|0))b=0;else{b=c[f>>2]|0;d=4}else d=4;do if((d|0)==4){d=a+440|0;e=c[(c[d>>2]|0)+20>>2]|0;if((b|0)!=(e+208|0)){if(!(Gb[c[(c[a+24>>2]|0)+20>>2]&63](a,e)|0)){b=0;break}}else{b=c[a>>2]|0;c[b+20>>2]=98;c[b+24>>2]=e;Sb[c[(c[a>>2]|0)+4>>2]&63](a,3);c[f>>2]=0}b=(c[d>>2]|0)+20|0;c[b>>2]=(c[b>>2]|0)+1&7;b=1}while(0);return b|0}function Kq(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=a+24|0;h=c[g>>2]|0;i=h+4|0;b=c[i>>2]|0;if(!b)if(!(Eb[c[h+12>>2]&127](a)|0))b=0;else{b=c[i>>2]|0;e=4}else e=4;do if((e|0)==4){e=c[h>>2]|0;b=b+-1|0;f=e+1|0;e=(d[e>>0]|0)<<8;if(!b){if(!(Eb[c[h+12>>2]&127](a)|0)){b=0;break}b=c[i>>2]|0;f=c[h>>2]|0}j=e|(d[f>>0]|0);e=j+-2|0;k=c[a>>2]|0;c[k+20>>2]=91;c[k+24>>2]=c[a+416>>2];c[(c[a>>2]|0)+28>>2]=e;Sb[c[(c[a>>2]|0)+4>>2]&63](a,1);c[h>>2]=f+1;c[i>>2]=b+-1;if(j>>>0>2){Sb[c[(c[g>>2]|0)+16>>2]&63](a,e);b=1}else b=1}while(0);return b|0}function Lq(b){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;p=yb;yb=yb+16|0;l=p;m=b+24|0;n=c[m>>2]|0;o=n+4|0;e=c[o>>2]|0;if(!e)if(!(Eb[c[n+12>>2]&127](b)|0))e=0;else{e=c[o>>2]|0;f=4}else f=4;a:do if((f|0)==4){f=c[n>>2]|0;e=e+-1|0;h=(d[f>>0]|0)<<8;if(!e){f=n+12|0;if(!(Eb[c[f>>2]&127](b)|0)){e=0;break}e=c[o>>2]|0;g=c[n>>2]|0}else{g=f+1|0;f=n+12|0}k=h|(d[g>>0]|0);j=k+-2|0;k=k>>>0>15?14:k>>>0>2?j:0;i=0;while(1){e=e+-1|0;h=g+1|0;if(i>>>0>=k>>>0)break;if(!e){if(!(Eb[c[f>>2]&127](b)|0)){e=0;break a}e=c[o>>2]|0;g=c[n>>2]|0}else g=h;a[l+i>>0]=a[g>>0]|0;i=i+1|0}f=j-k|0;g=c[b+416>>2]|0;switch(g|0){case 224:{Mq(b,l,k,f);break}case 238:{Nq(b,l,k,f);break}default:{l=c[b>>2]|0;c[l+20>>2]=68;c[l+24>>2]=g;Qb[c[c[b>>2]>>2]&255](b)}}c[n>>2]=h;c[o>>2]=e;if((f|0)>0){Sb[c[(c[m>>2]|0)+16>>2]&63](b,f);e=1}else e=1}while(0);yb=p;return e|0}function Mq(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=h+g|0;if(g>>>0>13)if((a[f>>0]|0)==74)if((((a[f+1>>0]|0)==70?(a[f+2>>0]|0)==73:0)?(a[f+3>>0]|0)==70:0)?(a[f+4>>0]|0)==0:0){c[e+280>>2]=1;i=a[f+5>>0]|0;j=e+284|0;a[j>>0]=i;k=a[f+6>>0]|0;l=e+285|0;a[l>>0]=k;h=a[f+7>>0]|0;p=e+286|0;a[p>>0]=h;m=(d[f+8>>0]<<8|d[f+9>>0])&65535;n=e+288|0;b[n>>1]=m;g=(d[f+10>>0]<<8|d[f+11>>0])&65535;o=e+290|0;b[o>>1]=g;if(i<<24>>24==1){q=e;j=1;i=m}else{q=c[e>>2]|0;c[q+20>>2]=119;c[q+24>>2]=i&255;c[(c[e>>2]|0)+28>>2]=d[l>>0];Sb[c[(c[e>>2]|0)+4>>2]&63](e,-1);q=e;j=a[j>>0]|0;k=a[l>>0]|0;i=b[n>>1]|0;g=b[o>>1]|0;h=a[p>>0]|0}p=c[e>>2]|0;c[p+24>>2]=j&255;c[p+28>>2]=k&255;c[p+32>>2]=i&65535;c[p+36>>2]=g&65535;c[p+40>>2]=h&255;c[p+20>>2]=87;Sb[c[p+4>>2]&63](q,1);h=f+12|0;i=a[h>>0]|0;j=f+13|0;g=a[j>>0]|0;if((g|i)<<24>>24){i=c[e>>2]|0;c[i+20>>2]=90;c[i+24>>2]=d[h>>0];c[(c[e>>2]|0)+28>>2]=d[j>>0];Sb[c[(c[e>>2]|0)+4>>2]&63](q,1);i=a[h>>0]|0;g=a[j>>0]|0}h=r+-14|0;if((h|0)!=(C((i&255)*3|0,g&255)|0)){r=c[e>>2]|0;c[r+20>>2]=88;c[r+24>>2]=h;Sb[c[(c[e>>2]|0)+4>>2]&63](q,1)}}else s=16;else s=25;else if(g>>>0>5?(a[f>>0]|0)==74:0)s=16;else s=25;a:do if((s|0)==16)if((((a[f+1>>0]|0)==70?(a[f+2>>0]|0)==88:0)?(a[f+3>>0]|0)==88:0)?(a[f+4>>0]|0)==0:0){h=f+5|0;switch(a[h>>0]|0){case 16:{q=c[e>>2]|0;c[q+20>>2]=108;c[q+24>>2]=r;Sb[c[(c[e>>2]|0)+4>>2]&63](e,1);break a}case 17:{q=c[e>>2]|0;c[q+20>>2]=109;c[q+24>>2]=r;Sb[c[(c[e>>2]|0)+4>>2]&63](e,1);break a}case 19:{q=c[e>>2]|0;c[q+20>>2]=110;c[q+24>>2]=r;Sb[c[(c[e>>2]|0)+4>>2]&63](e,1);break a}default:{q=c[e>>2]|0;c[q+20>>2]=89;c[q+24>>2]=d[h>>0];c[(c[e>>2]|0)+28>>2]=r;Sb[c[(c[e>>2]|0)+4>>2]&63](e,1);break a}}}else s=25;while(0);if((s|0)==25){s=c[e>>2]|0;c[s+20>>2]=77;c[s+24>>2]=r;Sb[c[(c[e>>2]|0)+4>>2]&63](e,1)}return}function Nq(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;if(((((f>>>0>11?(a[e>>0]|0)==65:0)?(a[e+1>>0]|0)==100:0)?(a[e+2>>0]|0)==111:0)?(a[e+3>>0]|0)==98:0)?(a[e+4>>0]|0)==101:0){i=d[e+7>>0]<<8|d[e+8>>0];h=d[e+9>>0]<<8|d[e+10>>0];g=a[e+11>>0]|0;f=c[b>>2]|0;c[f+24>>2]=d[e+5>>0]<<8|d[e+6>>0];c[f+28>>2]=i;c[f+32>>2]=h;c[f+36>>2]=g&255;c[f+20>>2]=76;Sb[c[f+4>>2]&63](b,1);c[b+292>>2]=1;a[b+296>>0]=g}else{i=c[b>>2]|0;c[i+20>>2]=78;c[i+24>>2]=g+f;Sb[c[(c[b>>2]|0)+4>>2]&63](b,1)}return}function Oq(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=c[b+24>>2]|0;k=j+4|0;i=j+12|0;l=b+440|0;d=c[k>>2]|0;e=c[j>>2]|0;a:while(1){if(!d){if(!(Eb[c[i>>2]&127](b)|0)){d=0;break}d=c[k>>2]|0;e=c[j>>2]|0}while(1){d=d+-1|0;f=e+1|0;if((a[e>>0]|0)==-1)break;h=(c[l>>2]|0)+24|0;c[h>>2]=(c[h>>2]|0)+1;c[j>>2]=f;c[k>>2]=d;if(!d){if(!(Eb[c[i>>2]&127](b)|0)){d=0;break a}d=c[k>>2]|0;e=c[j>>2]|0}else e=f}h=d;e=f;do{if(!h){if(!(Eb[c[i>>2]&127](b)|0)){d=0;break a}d=c[k>>2]|0;f=c[j>>2]|0}else{d=h;f=e}h=d+-1|0;e=f+1|0;d=a[f>>0]|0}while(d<<24>>24==-1);f=(c[l>>2]|0)+24|0;g=c[f>>2]|0;if(d<<24>>24){m=18;break}c[f>>2]=g+2;c[j>>2]=e;c[k>>2]=h;d=h}if((m|0)==18){d=d&255;if(g|0){m=c[b>>2]|0;c[m+20>>2]=116;c[m+24>>2]=g;c[(c[b>>2]|0)+28>>2]=d;Sb[c[(c[b>>2]|0)+4>>2]&63](b,-1);c[(c[l>>2]|0)+24>>2]=0}c[b+416>>2]=d;c[j>>2]=e;c[k>>2]=h;d=1}return d|0}function Pq(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=c[b+24>>2]|0;j=i+4|0;d=c[j>>2]|0;if(!d)if(!(Eb[c[i+12>>2]&127](b)|0))d=0;else{d=c[j>>2]|0;e=4}else e=4;do if((e|0)==4){g=c[i>>2]|0;d=d+-1|0;e=g+1|0;g=a[g>>0]|0;h=g&255;if(!d){if(!(Eb[c[i+12>>2]&127](b)|0)){d=0;break}d=c[j>>2]|0;e=c[i>>2]|0}k=a[e>>0]|0;f=k&255;if(g<<24>>24!=-1|k<<24>>24!=-40){k=c[b>>2]|0;c[k+20>>2]=53;c[k+24>>2]=h;c[(c[b>>2]|0)+28>>2]=f;Qb[c[c[b>>2]>>2]&255](b)}c[b+416>>2]=f;c[i>>2]=e+1;c[j>>2]=d+-1;d=1}while(0);return d|0}function Qq(d){d=d|0;var e=0,f=0;f=c[d>>2]|0;c[f+20>>2]=102;Sb[c[f+4>>2]&63](d,1);f=d+440|0;if(c[(c[f>>2]|0)+12>>2]|0){e=c[d>>2]|0;c[e+20>>2]=61;Qb[c[e>>2]&255](d)}e=0;while(1){if((e|0)==16)break;a[d+228+e>>0]=0;a[d+244+e>>0]=1;a[d+260+e>>0]=5;e=e+1|0}c[d+276>>2]=0;c[d+40>>2]=0;c[d+300>>2]=0;c[d+280>>2]=0;a[d+284>>0]=1;a[d+285>>0]=1;a[d+286>>0]=0;b[d+288>>1]=1;b[d+290>>1]=1;c[d+292>>2]=0;a[d+296>>0]=0;c[(c[f>>2]|0)+12>>2]=1;return}function Rq(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=c[a+24>>2]|0;g=c[n>>2]|0;o=n+4|0;f=c[o>>2]|0;c[a+220>>2]=b;c[a+224>>2]=e;if(!f)if(!(Eb[c[n+12>>2]&127](a)|0))f=0;else{f=c[o>>2]|0;g=c[n>>2]|0;h=4}else h=4;a:do if((h|0)==4){f=f+-1|0;b=g+1|0;e=(d[g>>0]|0)<<8;if(!f){if(!(Eb[c[n+12>>2]&127](a)|0)){f=0;break}f=c[o>>2]|0;g=c[n>>2]|0}else g=b;f=f+-1|0;b=g+1|0;j=e|(d[g>>0]|0);if(!f){if(!(Eb[c[n+12>>2]&127](a)|0)){f=0;break}f=c[o>>2]|0;g=c[n>>2]|0}else g=b;f=f+-1|0;b=g+1|0;c[a+212>>2]=d[g>>0];if(!f){if(!(Eb[c[n+12>>2]&127](a)|0)){f=0;break}f=c[o>>2]|0;g=c[n>>2]|0}else g=b;f=f+-1|0;b=g+1|0;g=(d[g>>0]|0)<<8;i=a+32|0;c[i>>2]=g;if(!f){if(!(Eb[c[n+12>>2]&127](a)|0)){f=0;break}f=c[o>>2]|0;b=c[n>>2]|0;e=c[i>>2]|0}else e=g;f=f+-1|0;g=b+1|0;c[i>>2]=e+(d[b>>0]|0);if(!f){if(!(Eb[c[n+12>>2]&127](a)|0)){f=0;break}f=c[o>>2]|0;g=c[n>>2]|0}f=f+-1|0;b=g+1|0;g=(d[g>>0]|0)<<8;h=a+28|0;c[h>>2]=g;if(!f){if(!(Eb[c[n+12>>2]&127](a)|0)){f=0;break}f=c[o>>2]|0;e=c[n>>2]|0;g=c[h>>2]|0}else e=b;f=f+-1|0;b=e+1|0;c[h>>2]=g+(d[e>>0]|0);if(!f){if(!(Eb[c[n+12>>2]&127](a)|0)){f=0;break}e=c[o>>2]|0;b=c[n>>2]|0}else e=f;m=a+36|0;c[m>>2]=d[b>>0];g=j+-8|0;l=c[a>>2]|0;c[l+24>>2]=c[a+416>>2];c[l+28>>2]=c[h>>2];c[l+32>>2]=c[i>>2];c[l+36>>2]=c[m>>2];c[l+20>>2]=100;Sb[c[l+4>>2]&63](a,1);l=a+440|0;if(c[(c[l>>2]|0)+16>>2]|0){j=c[a>>2]|0;c[j+20>>2]=58;Qb[c[j>>2]&255](a)}if(((c[i>>2]|0)!=0?(c[h>>2]|0)!=0:0)?(k=c[m>>2]|0,(k|0)>=1):0)f=k;else{f=c[a>>2]|0;c[f+20>>2]=32;Qb[c[f>>2]&255](a);f=c[m>>2]|0}if((g|0)!=(f*3|0)){k=c[a>>2]|0;c[k+20>>2]=11;Qb[c[k>>2]&255](a)}f=a+216|0;g=c[f>>2]|0;if(!g){g=Hb[c[c[a+4>>2]>>2]&63](a,1,(c[m>>2]|0)*84|0)|0;c[f>>2]=g}k=n+12|0;j=0;f=e;while(1){f=f+-1|0;b=b+1|0;if((j|0)>=(c[m>>2]|0))break;c[g+4>>2]=j;if(!f){if(!(Eb[c[k>>2]&127](a)|0)){f=0;break a}f=c[o>>2]|0;b=c[n>>2]|0}f=f+-1|0;e=b+1|0;c[g>>2]=d[b>>0];if(!f){if(!(Eb[c[k>>2]&127](a)|0)){f=0;break a}f=c[o>>2]|0;b=c[n>>2]|0}else b=e;f=f+-1|0;e=b+1|0;b=d[b>>0]|0;h=g+8|0;c[h>>2]=b>>>4;i=g+12|0;c[i>>2]=b&15;if(!f){if(!(Eb[c[k>>2]&127](a)|0)){f=0;break a}f=c[o>>2]|0;b=c[n>>2]|0}else b=e;p=g+16|0;c[p>>2]=d[b>>0];e=c[a>>2]|0;c[e+24>>2]=c[g>>2];c[e+28>>2]=c[h>>2];c[e+32>>2]=c[i>>2];c[e+36>>2]=c[p>>2];c[e+20>>2]=101;Sb[c[e+4>>2]&63](a,1);j=j+1|0;g=g+84|0}c[(c[l>>2]|0)+16>>2]=1;c[n>>2]=b;c[o>>2]=f;f=1}while(0);return f|0}function Sq(b){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,u=0;r=c[b+24>>2]|0;f=c[r>>2]|0;s=r+4|0;e=c[s>>2]|0;t=b+440|0;if(!(c[(c[t>>2]|0)+16>>2]|0)){p=c[b>>2]|0;c[p+20>>2]=62;Qb[c[p>>2]&255](b)}if(!e)if(!(Eb[c[r+12>>2]&127](b)|0))e=0;else{e=c[s>>2]|0;f=c[r>>2]|0;q=6}else q=6;a:do if((q|0)==6){e=e+-1|0;g=f+1|0;h=(d[f>>0]|0)<<8;if(!e){if(!(Eb[c[r+12>>2]&127](b)|0)){e=0;break}e=c[s>>2]|0;f=c[r>>2]|0}else f=g;e=e+-1|0;g=f+1|0;f=h|(d[f>>0]|0);if(!e){if(!(Eb[c[r+12>>2]&127](b)|0)){e=0;break}e=c[s>>2]|0;g=c[r>>2]|0}p=a[g>>0]|0;o=p&255;n=c[b>>2]|0;c[n+20>>2]=103;c[n+24>>2]=o;Sb[c[(c[b>>2]|0)+4>>2]&63](b,1);if((p+-1&255)>3|(f|0)!=((o<<1)+6|0)){p=c[b>>2]|0;c[p+20>>2]=11;Qb[c[p>>2]&255](b)}c[b+328>>2]=o;p=r+12|0;m=b+216|0;n=b+36|0;l=0;while(1){e=e+-1|0;f=g+1|0;g=(e|0)==0;if(l>>>0>=o>>>0)break;if(g){if(!(Eb[c[p>>2]&127](b)|0)){e=0;break a}e=c[s>>2]|0;f=c[r>>2]|0}e=e+-1|0;g=f+1|0;k=d[f>>0]|0;if(!e){if(!(Eb[c[p>>2]&127](b)|0)){e=0;break a}e=c[s>>2]|0;g=c[r>>2]|0}i=d[g>>0]|0;j=c[n>>2]|0;f=c[m>>2]|0;h=0;while(1){if((h|0)>=(j|0)){q=26;break}if((c[f>>2]|0)==(k|0))break;f=f+84|0;h=h+1|0}if((q|0)==26){q=0;j=c[b>>2]|0;c[j+20>>2]=5;c[j+24>>2]=k;Qb[c[c[b>>2]>>2]&255](b)}c[b+332+(l<<2)>>2]=f;u=f+20|0;c[u>>2]=i>>>4;h=f+24|0;c[h>>2]=i&15;j=c[b>>2]|0;c[j+24>>2]=k;c[j+28>>2]=c[u>>2];c[j+32>>2]=c[h>>2];c[j+20>>2]=104;Sb[c[j+4>>2]&63](b,1);l=l+1|0}if(g){if(!(Eb[c[p>>2]&127](b)|0)){e=0;break}e=c[s>>2]|0;f=c[r>>2]|0}e=e+-1|0;g=f+1|0;i=b+400|0;c[i>>2]=d[f>>0];if(!e){if(!(Eb[c[p>>2]&127](b)|0)){e=0;break}e=c[s>>2]|0;g=c[r>>2]|0}f=e+-1|0;e=g+1|0;h=b+404|0;c[h>>2]=d[g>>0];if(!f){if(!(Eb[c[p>>2]&127](b)|0)){e=0;break}f=c[s>>2]|0;e=c[r>>2]|0}u=d[e>>0]|0;p=b+408|0;c[p>>2]=u>>>4;q=b+412|0;c[q>>2]=u&15;u=c[b>>2]|0;c[u+24>>2]=c[i>>2];c[u+28>>2]=c[h>>2];c[u+32>>2]=c[p>>2];c[u+36>>2]=c[q>>2];c[u+20>>2]=105;Sb[c[u+4>>2]&63](b,1);c[(c[t>>2]|0)+20>>2]=0;u=b+144|0;c[u>>2]=(c[u>>2]|0)+1;c[r>>2]=e+1;c[s>>2]=f+-1;e=1}while(0);return e|0}function Tq(b){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,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=yb;yb=yb+288|0;C=G+256|0;D=G;E=c[b+24>>2]|0;F=E+4|0;e=c[F>>2]|0;if(!e)if(!(Eb[c[E+12>>2]&127](b)|0))e=0;else{e=c[F>>2]|0;f=4}else f=4;a:do if((f|0)==4){f=c[E>>2]|0;e=e+-1|0;g=(d[f>>0]|0)<<8;if(!e){f=E+12|0;if(!(Eb[c[f>>2]&127](b)|0)){e=0;break}e=c[F>>2]|0;h=c[E>>2]|0}else{h=f+1|0;f=E+12|0}m=C+1|0;n=C+2|0;o=C+3|0;p=C+4|0;q=C+5|0;r=C+6|0;s=C+7|0;t=C+8|0;u=C+9|0;v=C+10|0;w=C+11|0;x=C+12|0;y=C+13|0;z=C+14|0;A=C+15|0;B=C+16|0;i=(g|(d[h>>0]|0))+-2|0;g=e+-1|0;e=h+1|0;while(1){if((i|0)<=16)break;if(!g){if(!(Eb[c[f>>2]&127](b)|0)){e=0;break a}g=c[F>>2]|0;e=c[E>>2]|0}k=d[e>>0]|0;h=c[b>>2]|0;c[h+20>>2]=80;c[h+24>>2]=k;Sb[c[(c[b>>2]|0)+4>>2]&63](b,1);a[C>>0]=0;h=1;l=0;while(1){g=g+-1|0;e=e+1|0;if(h>>>0>=17)break;if(!g){if(!(Eb[c[f>>2]&127](b)|0)){e=0;break a}g=c[F>>2]|0;e=c[E>>2]|0}j=a[e>>0]|0;a[C+h>>0]=j;h=h+1|0;l=l+(j&255)|0}j=i+-17|0;i=c[b>>2]|0;c[i+24>>2]=d[m>>0];c[i+28>>2]=d[n>>0];c[i+32>>2]=d[o>>0];c[i+36>>2]=d[p>>0];c[i+40>>2]=d[q>>0];c[i+44>>2]=d[r>>0];c[i+48>>2]=d[s>>0];c[i+52>>2]=d[t>>0];c[i+20>>2]=86;Sb[c[i+4>>2]&63](b,2);i=c[b>>2]|0;c[i+24>>2]=d[u>>0];c[i+28>>2]=d[v>>0];c[i+32>>2]=d[w>>0];c[i+36>>2]=d[x>>0];c[i+40>>2]=d[y>>0];c[i+44>>2]=d[z>>0];c[i+48>>2]=d[A>>0];c[i+52>>2]=d[B>>0];c[i+20>>2]=86;Sb[c[i+4>>2]&63](b,2);if(l>>>0>256|(j|0)<(l|0)){i=c[b>>2]|0;c[i+20>>2]=8;Qb[c[i>>2]&255](b)}h=0;while(1){if(h>>>0>=l>>>0)break;if(!g){if(!(Eb[c[f>>2]&127](b)|0)){e=0;break a}g=c[F>>2]|0;e=c[E>>2]|0}a[D+h>>0]=a[e>>0]|0;h=h+1|0;g=g+-1|0;e=e+1|0}H=(k&16|0)==0;i=k+-16|0;h=H?k:i;i=H?b+180+(k<<2)|0:b+196+(i<<2)|0;if(h>>>0>3){H=c[b>>2]|0;c[H+20>>2]=30;c[H+24>>2]=h;Qb[c[c[b>>2]>>2]&255](b)}h=c[i>>2]|0;if(!h){h=tq(b)|0;c[i>>2]=h};c[h>>2]=c[C>>2];c[h+4>>2]=c[C+4>>2];c[h+8>>2]=c[C+8>>2];c[h+12>>2]=c[C+12>>2];a[h+16>>0]=a[C+16>>0]|0;VN((c[i>>2]|0)+17|0,D|0,256)|0;i=j-l|0}if(i|0){H=c[b>>2]|0;c[H+20>>2]=11;Qb[c[H>>2]&255](b)}c[E>>2]=e;c[F>>2]=g;e=1}while(0);yb=G;return e|0}function Uq(a){a=a|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=c[a+24>>2]|0;o=n+4|0;f=c[o>>2]|0;if(!f)if(!(Eb[c[n+12>>2]&127](a)|0))f=0;else{f=c[o>>2]|0;g=4}else g=4;a:do if((g|0)==4){g=c[n>>2]|0;f=f+-1|0;h=(d[g>>0]|0)<<8;if(!f){g=n+12|0;if(!(Eb[c[g>>2]&127](a)|0)){f=0;break}f=c[o>>2]|0;i=c[n>>2]|0}else{i=g+1|0;g=n+12|0}m=(h|(d[i>>0]|0))+-2|0;h=f+-1|0;f=i+1|0;while(1){if((m|0)<=0)break;if(!h){if(!(Eb[c[g>>2]&127](a)|0)){f=0;break a}h=c[o>>2]|0;f=c[n>>2]|0}i=d[f>>0]|0;k=i>>>4;i=i&15;l=c[a>>2]|0;c[l+20>>2]=81;c[l+24>>2]=i;c[(c[a>>2]|0)+28>>2]=k;Sb[c[(c[a>>2]|0)+4>>2]&63](a,1);if(i>>>0>3){l=c[a>>2]|0;c[l+20>>2]=31;c[l+24>>2]=i;Qb[c[c[a>>2]>>2]&255](a)}i=a+164+(i<<2)|0;j=c[i>>2]|0;if(!j){j=wq(a)|0;c[i>>2]=j}l=(k|0)==0;k=0;while(1){h=h+-1|0;f=f+1|0;if(k>>>0>=64)break;i=(h|0)==0;if(l){if(i){if(!(Eb[c[g>>2]&127](a)|0)){f=0;break a}h=c[o>>2]|0;f=c[n>>2]|0}i=d[f>>0]|0}else{if(i){if(!(Eb[c[g>>2]&127](a)|0)){f=0;break a}h=c[o>>2]|0;i=c[n>>2]|0}else i=f;h=h+-1|0;f=i+1|0;i=(d[i>>0]|0)<<8;if(!h){if(!(Eb[c[g>>2]&127](a)|0)){f=0;break a}h=c[o>>2]|0;f=c[n>>2]|0}i=i|(d[f>>0]|0)}b[j+(c[2560+(k<<2)>>2]<<1)>>1]=i;k=k+1|0}b:do if((c[(c[a>>2]|0)+104>>2]|0)>1){i=0;while(1){if(i>>>0>=64)break b;k=c[a>>2]|0;c[k+24>>2]=e[j+(i<<1)>>1];c[k+28>>2]=e[j+((i|1)<<1)>>1];c[k+32>>2]=e[j+((i|2)<<1)>>1];c[k+36>>2]=e[j+((i|3)<<1)>>1];c[k+40>>2]=e[j+((i|4)<<1)>>1];c[k+44>>2]=e[j+((i|5)<<1)>>1];c[k+48>>2]=e[j+((i|6)<<1)>>1];c[k+52>>2]=e[j+((i|7)<<1)>>1];c[k+20>>2]=93;Sb[c[k+4>>2]&63](a,2);i=i+8|0}}while(0);m=(l?-65:-129)+m|0}if(m|0){m=c[a>>2]|0;c[m+20>>2]=11;Qb[c[m>>2]&255](a)}c[n>>2]=f;c[o>>2]=h;f=1}while(0);return f|0}function Vq(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0;h=c[a+24>>2]|0;i=h+4|0;b=c[i>>2]|0;if(!b)if(!(Eb[c[h+12>>2]&127](a)|0))b=0;else{b=c[i>>2]|0;e=4}else e=4;do if((e|0)==4){g=c[h>>2]|0;b=b+-1|0;e=g+1|0;g=(d[g>>0]|0)<<8;if(!b){if(!(Eb[c[h+12>>2]&127](a)|0)){b=0;break}b=c[i>>2]|0;f=c[h>>2]|0}else f=e;b=b+-1|0;e=f+1|0;if((g|(d[f>>0]|0)|0)!=4){g=c[a>>2]|0;c[g+20>>2]=11;Qb[c[g>>2]&255](a)}if(!b){if(!(Eb[c[h+12>>2]&127](a)|0)){b=0;break}b=c[i>>2]|0;e=c[h>>2]|0}f=b+-1|0;b=e+1|0;g=(d[e>>0]|0)<<8;if(!f){if(!(Eb[c[h+12>>2]&127](a)|0)){b=0;break}e=c[i>>2]|0;b=c[h>>2]|0}else e=f;g=g|(d[b>>0]|0);f=c[a>>2]|0;c[f+20>>2]=82;c[f+24>>2]=g;Sb[c[(c[a>>2]|0)+4>>2]&63](a,1);c[a+276>>2]=g;c[h>>2]=b+1;c[i>>2]=e+-1;b=1}while(0);return b|0}function Wq(a){a=a|0;qq(a);return}function Xq(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+20>>2]|0;if((d&-2|0)!=200){e=c[a>>2]|0;c[e+20>>2]=20;c[e+24>>2]=d;Qb[c[c[a>>2]>>2]&255](a)}d=Yq(a)|0;switch(d|0){case 1:{d=1;break}case 2:{if(!b)d=a;else{d=c[a>>2]|0;c[d+20>>2]=51;Qb[c[d>>2]&255](a);d=a}rq(d);d=2;break}default:{}}return d|0}function Yq(a){a=a|0;var b=0,d=0,e=0;d=a+20|0;b=c[d>>2]|0;switch(b|0){case 200:{b=a+436|0;Qb[c[(c[b>>2]|0)+4>>2]&255](a);Qb[c[(c[a+24>>2]|0)+8>>2]&255](a);c[d>>2]=201;e=4;break}case 201:{b=a+436|0;e=4;break}case 202:{b=1;break}case 210:case 208:case 207:case 206:case 205:case 204:case 203:{b=Eb[c[c[a+436>>2]>>2]&127](a)|0;break}default:{d=c[a>>2]|0;c[d+20>>2]=20;c[d+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a);b=0}}if((e|0)==4){b=Eb[c[c[b>>2]>>2]&127](a)|0;if((b|0)==1){Zq(a);c[d>>2]=202;b=1}}return b|0}function Zq(b){b=b|0;var d=0,e=0,f=0,h=0;d=c[b+36>>2]|0;a:do switch(d|0){case 1:{e=d;break}case 3:{if(!(c[b+280>>2]|0))if(!(c[b+292>>2]|0)){f=c[b+216>>2]|0;d=c[f>>2]|0;e=c[f+84>>2]|0;f=c[f+168>>2]|0;if((d|0)==1&(e|0)==2&(f|0)==3){e=2;d=3;break a}if((d|0)==82&(e|0)==71&(f|0)==66){e=2;d=2;break a}h=c[b>>2]|0;c[h+24>>2]=d;c[h+28>>2]=e;c[h+32>>2]=f;c[h+20>>2]=111;Sb[c[h+4>>2]&63](b,1);e=2;d=3;break a}else{d=a[b+296>>0]|0;switch(d<<24>>24){case 0:{e=2;d=2;break a}case 1:{e=2;d=3;break a}default:{e=c[b>>2]|0;c[e+20>>2]=114;c[e+24>>2]=d&255;Sb[c[(c[b>>2]|0)+4>>2]&63](b,-1);e=2;d=3;break a}}}else{e=2;d=3}break}case 4:{if(!(c[b+292>>2]|0)){e=4;d=4}else{d=a[b+296>>0]|0;switch(d<<24>>24){case 0:{e=4;d=4;break a}case 2:{e=4;d=5;break a}default:{e=c[b>>2]|0;c[e+20>>2]=114;c[e+24>>2]=d&255;Sb[c[(c[b>>2]|0)+4>>2]&63](b,-1);e=4;d=5;break a}}}break}default:{e=0;d=0}}while(0);c[b+40>>2]=d;c[b+44>>2]=e;c[b+48>>2]=1;c[b+52>>2]=1;g[b+56>>3]=1.0;c[b+64>>2]=0;c[b+68>>2]=0;c[b+72>>2]=0;c[b+76>>2]=1;c[b+80>>2]=1;c[b+84>>2]=0;c[b+88>>2]=2;c[b+92>>2]=1;c[b+96>>2]=256;c[b+136>>2]=0;c[b+100>>2]=0;c[b+104>>2]=0;c[b+108>>2]=0;return}function _q(a){a=a|0;var b=0,d=0,e=0;b=a+20|0;d=c[b>>2]|0;if((d+-205|0)>>>0<2?(c[a+64>>2]|0)==0:0){if((c[a+140>>2]|0)>>>0<(c[a+116>>2]|0)>>>0){d=c[a>>2]|0;c[d+20>>2]=67;Qb[c[d>>2]&255](a)}Qb[c[(c[a+420>>2]|0)+4>>2]&255](a);c[b>>2]=210}else e=6;a:do if((e|0)==6)switch(d|0){case 210:break a;case 207:{c[b>>2]=210;break a}default:{b=c[a>>2]|0;c[b+20>>2]=20;c[b+24>>2]=d;Qb[c[c[a>>2]>>2]&255](a);break a}}while(0);b=a+436|0;while(1){d=c[b>>2]|0;if(c[d+20>>2]|0){e=12;break}if(!(Eb[c[d>>2]&127](a)|0)){b=0;break}}if((e|0)==12){Qb[c[(c[a+24>>2]|0)+24>>2]&255](a);rq(a);b=1}return b|0}function $q(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=a+20|0;d=c[b>>2]|0;a:do switch(d|0){case 202:{ar(a);if(!(c[a+64>>2]|0)){c[b>>2]=203;j=5;break a}else{c[b>>2]=207;b=1;break a}}case 203:{j=5;break}case 204:{j=16;break}default:{j=c[a>>2]|0;c[j+20>>2]=20;c[j+24>>2]=d;Qb[c[c[a>>2]>>2]&255](a);j=16}}while(0);b:do if((j|0)==5){g=a+436|0;c:do if(c[(c[g>>2]|0)+16>>2]|0){e=a+8|0;f=a+320|0;b=c[e>>2]|0;while(1){if(b|0)Qb[c[b>>2]&255](a);b=Eb[c[c[g>>2]>>2]&127](a)|0;switch(b|0){case 0:break b;case 2:break c;default:{}}d=c[e>>2]|0;if((b|2|0)==3&(d|0)!=0?(h=d+4|0,b=(c[h>>2]|0)+1|0,c[h>>2]=b,h=d+8|0,i=c[h>>2]|0,(b|0)>=(i|0)):0)c[h>>2]=(c[f>>2]|0)+i;b=d}}while(0);c[a+152>>2]=c[a+144>>2];j=16}while(0);if((j|0)==16)b=br(a)|0;return b|0}function ar(a){a=a|0;var b=0;b=Hb[c[c[a+4>>2]>>2]&63](a,1,28)|0;c[a+420>>2]=b;c[b>>2]=120;c[b+4>>2]=121;c[b+8>>2]=0;er(a);return}function br(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=a+20|0;f=a+420|0;if((c[g>>2]|0)==204)e=a+140|0;else{Qb[c[c[f>>2]>>2]&255](a);e=a+140|0;c[e>>2]=0;c[g>>2]=204}i=a+116|0;j=a+8|0;k=a+424|0;a:while(1){if(!(c[(c[f>>2]|0)+8>>2]|0)){l=12;break}h=c[e>>2]|0;while(1){b=c[i>>2]|0;if(h>>>0>=b>>>0)break;d=c[j>>2]|0;if(!d)b=h;else{c[d+4>>2]=h;c[d+8>>2]=b;Qb[c[d>>2]&255](a);b=c[e>>2]|0}Vb[c[(c[k>>2]|0)+4>>2]&31](a,0,e,0);h=c[e>>2]|0;if((h|0)==(b|0)){b=0;break a}}Qb[c[(c[f>>2]|0)+4>>2]&255](a);Qb[c[c[f>>2]>>2]&255](a);c[e>>2]=0}if((l|0)==12){c[g>>2]=(c[a+68>>2]|0)==0?205:206;b=1}return b|0}function cr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;d=c[a+420>>2]|0;e=d+8|0;if(!(c[e>>2]|0)){b=a+84|0;do if(c[b>>2]|0?(c[a+136>>2]|0)==0:0){if(c[a+92>>2]|0?c[a+108>>2]|0:0){c[a+460>>2]=c[d+24>>2];c[e>>2]=1;break}if(!(c[a+100>>2]|0)){h=c[a>>2]|0;c[h+20>>2]=46;Qb[c[h>>2]&255](a);break}else{c[a+460>>2]=c[d+20>>2];break}}while(0);Qb[c[c[a+448>>2]>>2]&255](a);Qb[c[(c[a+428>>2]|0)+8>>2]&255](a);if(!(c[a+68>>2]|0)){if(!(c[d+16>>2]|0))Qb[c[c[a+456>>2]>>2]&255](a);Qb[c[c[a+452>>2]>>2]&255](a);if(c[b>>2]|0)Sb[c[c[a+460>>2]>>2]&63](a,c[e>>2]|0);Sb[c[c[a+432>>2]>>2]&63](a,(c[e>>2]|0)==0?0:3);Sb[c[c[a+424>>2]>>2]&63](a,0)}}else{c[e>>2]=0;Sb[c[c[a+460>>2]>>2]&63](a,0);Sb[c[c[a+432>>2]>>2]&63](a,2);Sb[c[c[a+424>>2]>>2]&63](a,2)}b=c[a+8>>2]|0;if((b|0?(f=c[d+12>>2]|0,c[b+12>>2]=f,f=((c[e>>2]|0)==0?1:2)+f|0,g=b+16|0,c[g>>2]=f,c[a+64>>2]|0):0)?(c[(c[a+436>>2]|0)+20>>2]|0)==0:0)c[g>>2]=((c[a+108>>2]|0)==0?1:2)+f;return}function dr(a){a=a|0;var b=0;b=c[a+420>>2]|0;if(c[a+84>>2]|0)Qb[c[(c[a+460>>2]|0)+8>>2]&255](a);b=b+12|0;c[b>>2]=(c[b>>2]|0)+1;return}function er(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;f=c[a+420>>2]|0;fr(a);gr(a);b=a+120|0;h=f+12|0;c[h>>2]=0;g=f+16|0;c[g>>2]=hr(a)|0;e=f+20|0;c[e>>2]=0;f=f+24|0;c[f>>2]=0;do if(!(c[a+84>>2]|0)){c[a+100>>2]=0;c[a+104>>2]=0;c[a+108>>2]=0;d=a+68|0}else{if(!(c[a+64>>2]|0)){c[a+100>>2]=0;c[a+104>>2]=0;c[a+108>>2]=0}d=a+68|0;if(c[d>>2]|0){i=c[a>>2]|0;c[i+20>>2]=47;Qb[c[i>>2]&255](a)}do if((c[b>>2]|0)==3){if(c[a+136>>2]|0){c[a+104>>2]=1;break}if(!(c[a+92>>2]|0)){c[a+100>>2]=1;break}else{c[a+108>>2]=1;break}}else{c[a+100>>2]=1;c[a+104>>2]=0;c[a+108>>2]=0;c[a+136>>2]=0}while(0);if(c[a+100>>2]|0){ir(a);c[e>>2]=c[a+460>>2]}if((c[a+108>>2]|0)==0?(c[a+104>>2]|0)==0:0)break;jr(a);c[f>>2]=c[a+460>>2]}while(0);if(!(c[d>>2]|0)){if(!(c[g>>2]|0)){lr(a);mr(a)}else kr(a);nr(a,c[a+108>>2]|0)}or(a);do if(!(c[a+224>>2]|0))if(!(c[a+220>>2]|0)){qr(a);break}else{pr(a);break}else{i=c[a>>2]|0;c[i+20>>2]=1;Qb[c[i>>2]&255](a)}while(0);e=a+436|0;if(!(c[(c[e>>2]|0)+16>>2]|0))b=(c[a+64>>2]|0)!=0&1;else b=1;rr(a,b);if(!(c[d>>2]|0))sr(a,0);Qb[c[(c[a+4>>2]|0)+24>>2]&255](a);Qb[c[(c[e>>2]|0)+8>>2]&255](a);b=c[a+8>>2]|0;if((b|0?(c[a+64>>2]|0)==0:0)?c[(c[e>>2]|0)+16>>2]|0:0){i=c[a+36>>2]|0;i=(c[a+220>>2]|0)==0?i:(i*3|0)+2|0;c[b+4>>2]=0;c[b+8>>2]=C(i,c[a+320>>2]|0)|0;c[b+12>>2]=0;c[b+16>>2]=(c[a+108>>2]|0)==0?2:3;c[h>>2]=(c[h>>2]|0)+1}return}function fr(a){a=a|0;var b=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;b=c[a+20>>2]|0;if((b|0)!=202){n=c[a>>2]|0;c[n+20>>2]=20;c[n+24>>2]=b;Qb[c[c[a>>2]>>2]&255](a)}b=c[a+48>>2]|0;d=c[a+52>>2]|0;do if(b<<3>>>0>d>>>0){if(b<<2>>>0<=d>>>0){c[a+112>>2]=vq(c[a+28>>2]|0,4)|0;k=2;b=vq(c[a+32>>2]|0,4)|0;break}e=c[a+28>>2]|0;if(b<<1>>>0>d>>>0){c[a+112>>2]=e;k=8;b=c[a+32>>2]|0;break}else{c[a+112>>2]=vq(e,2)|0;k=4;b=vq(c[a+32>>2]|0,2)|0;break}}else{c[a+112>>2]=vq(c[a+28>>2]|0,8)|0;k=1;b=vq(c[a+32>>2]|0,8)|0}while(0);c[a+116>>2]=b;c[a+316>>2]=k;d=c[a+216>>2]|0;l=a+36|0;b=c[l>>2]|0;m=a+308|0;n=a+312|0;f=d;g=0;while(1){if((g|0)>=(b|0))break;h=f+8|0;i=f+12|0;e=k;while(1){if((e|0)>=8)break;j=e<<1;o=C(j,c[h>>2]|0)|0;if((o|0)>(C(c[m>>2]|0,k)|0))break;o=C(j,c[i>>2]|0)|0;if((o|0)>(C(c[n>>2]|0,k)|0))break;else e=j}c[f+36>>2]=e;f=f+84|0;g=g+1|0}f=a+28|0;g=a+32|0;e=0;while(1){if((e|0)>=(b|0))break;b=d+36|0;o=C(C(c[d+8>>2]|0,c[f>>2]|0)|0,c[b>>2]|0)|0;c[d+40>>2]=vq(o,c[m>>2]<<3)|0;b=C(C(c[d+12>>2]|0,c[g>>2]|0)|0,c[b>>2]|0)|0;c[d+44>>2]=vq(b,c[n>>2]<<3)|0;d=d+84|0;e=e+1|0;b=c[l>>2]|0}d=c[a+44>>2]|0;switch(d|0){case 1:{b=d;break}case 3:case 2:{b=3;break}case 5:case 4:{b=4;break}default:{}}c[a+120>>2]=b;c[a+124>>2]=(c[a+84>>2]|0)==0?b:1;if(!(hr(a)|0))b=1;else b=c[n>>2]|0;c[a+128>>2]=b;return}function gr(b){b=b|0;var d=0,e=0,f=0;e=Hb[c[c[b+4>>2]>>2]&63](b,1,1408)|0;d=e+256|0;f=b+324|0;c[f>>2]=d;XN(e|0,0,256)|0;b=0;while(1){if((b|0)==256)break;a[d+b>>0]=b;b=b+1|0}d=e+384|0;b=128;while(1){if((b|0)==512)break;a[d+b>>0]=-1;b=b+1|0}XN(e+896|0,0,384)|0;e=e+1280|0;b=c[f>>2]|0;d=e+128|0;do{a[e>>0]=a[b>>0]|0;e=e+1|0;b=b+1|0}while((e|0)<(d|0));return}function hr(a){a=a|0;var b=0,d=0;if((((((((((((((c[a+76>>2]|0)==0?(c[a+300>>2]|0)==0:0)?(c[a+40>>2]|0)==3:0)?(c[a+36>>2]|0)==3:0)?(c[a+44>>2]|0)==2:0)?(c[a+120>>2]|0)==3:0)?(b=c[a+216>>2]|0,(c[b+8>>2]|0)==2):0)?(c[b+92>>2]|0)==1:0)?(c[b+176>>2]|0)==1:0)?(c[b+12>>2]|0)<=2:0)?(c[b+96>>2]|0)==1:0)?(c[b+180>>2]|0)==1:0)?(d=c[b+36>>2]|0,(d|0)==(c[a+316>>2]|0)):0)?(c[b+120>>2]|0)==(d|0):0)return (c[b+204>>2]|0)==(d|0)|0;return 0}function ir(a){a=a|0;var b=0;b=Hb[c[c[a+4>>2]>>2]&63](a,1,88)|0;c[a+460>>2]=b;c[b>>2]=42;c[b+8>>2]=122;c[b+12>>2]=123;c[b+68>>2]=0;c[b+52>>2]=0;if((c[a+120>>2]|0)>4){b=c[a>>2]|0;c[b+20>>2]=55;c[b+24>>2]=4;Qb[c[c[a>>2]>>2]&255](a)}if((c[a+96>>2]|0)>256){b=c[a>>2]|0;c[b+20>>2]=57;c[b+24>>2]=256;Qb[c[c[a>>2]>>2]&255](a)}Ws(a);Xs(a);if((c[a+88>>2]|0)==2)Ys(a);return}function jr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;f=a+4|0;e=Hb[c[c[f>>2]>>2]&63](a,1,44)|0;c[a+460>>2]=e;c[e>>2]=43;c[e+12>>2]=124;g=e+32|0;c[g>>2]=0;c[e+40>>2]=0;if((c[a+120>>2]|0)!=3){d=c[a>>2]|0;c[d+20>>2]=47;Qb[c[d>>2]&255](a)}d=e+24|0;c[d>>2]=Hb[c[c[f>>2]>>2]&63](a,1,128)|0;b=0;while(1){if((b|0)==32)break;h=Hb[c[(c[f>>2]|0)+4>>2]&63](a,1,4096)|0;c[(c[d>>2]|0)+(b<<2)>>2]=h;b=b+1|0}c[e+28>>2]=1;if(!(c[a+108>>2]|0))c[e+16>>2]=0;else{b=c[a+96>>2]|0;if((b|0)>=8){if((b|0)>256){h=c[a>>2]|0;c[h+20>>2]=57;c[h+24>>2]=256;Qb[c[c[a>>2]>>2]&255](a)}}else{h=c[a>>2]|0;c[h+20>>2]=56;c[h+24>>2]=8;Qb[c[c[a>>2]>>2]&255](a)}c[e+16>>2]=Ib[c[(c[f>>2]|0)+8>>2]&15](a,1,b,3)|0;c[e+20>>2]=b}b=a+88|0;if(c[b>>2]|0){c[b>>2]=2;c[g>>2]=Hb[c[(c[f>>2]|0)+4>>2]&63](a,1,((c[a+112>>2]|0)*6|0)+12|0)|0;Es(a)}return}function kr(a){a=a|0;var b=0,d=0,e=0,f=0;b=a+4|0;f=Hb[c[c[b>>2]>>2]&63](a,1,48)|0;c[a+452>>2]=f;c[f>>2]=125;c[f+8>>2]=0;d=C(c[a+120>>2]|0,c[a+112>>2]|0)|0;c[f+40>>2]=d;e=f+4|0;if((c[a+312>>2]|0)==2){c[e>>2]=1;c[f+12>>2]=9;b=Hb[c[(c[b>>2]|0)+4>>2]&63](a,1,d)|0}else{c[e>>2]=2;c[f+12>>2]=10;b=0}c[f+32>>2]=b;Bs(a);return}function lr(a){a=a|0;var b=0,d=0,e=0;d=Hb[c[c[a+4>>2]>>2]&63](a,1,24)|0;c[a+456>>2]=d;c[d>>2]=126;e=a+40|0;switch(c[e>>2]|0){case 1:{if((c[a+36>>2]|0)!=1){b=c[a>>2]|0;c[b+20>>2]=10;Qb[c[b>>2]&255](a)}break}case 3:case 2:{if((c[a+36>>2]|0)!=3){b=c[a>>2]|0;c[b+20>>2]=10;Qb[c[b>>2]&255](a)}break}case 5:case 4:{if((c[a+36>>2]|0)!=4){b=c[a>>2]|0;c[b+20>>2]=10;Qb[c[b>>2]&255](a)}break}default:if((c[a+36>>2]|0)<1){b=c[a>>2]|0;c[b+20>>2]=10;Qb[c[b>>2]&255](a)}}b=c[a+44>>2]|0;a:do switch(b|0){case 1:{c[a+120>>2]=1;switch(c[e>>2]|0){case 3:case 1:break;default:{e=c[a>>2]|0;c[e+20>>2]=27;Qb[c[e>>2]&255](a);break a}}c[d+4>>2]=6;d=c[a+36>>2]|0;e=a+216|0;b=1;while(1){if((b|0)>=(d|0))break a;c[(c[e>>2]|0)+(b*84|0)+48>>2]=0;b=b+1|0}}case 2:{c[a+120>>2]=3;switch(c[e>>2]|0){case 3:{c[d+4>>2]=7;ss(a);break a}case 1:{c[d+4>>2]=8;break a}case 2:{c[d+4>>2]=9;break a}default:{e=c[a>>2]|0;c[e+20>>2]=27;Qb[c[e>>2]&255](a);break a}}}case 4:{c[a+120>>2]=4;switch(c[e>>2]|0){case 5:{c[d+4>>2]=10;ss(a);break a}case 4:{c[d+4>>2]=9;break a}default:{e=c[a>>2]|0;c[e+20>>2]=27;Qb[c[e>>2]&255](a);break a}}}default:if((b|0)==(c[e>>2]|0)){c[a+120>>2]=c[a+36>>2];c[d+4>>2]=9;break a}else{e=c[a>>2]|0;c[e+20>>2]=27;Qb[c[e>>2]&255](a);break a}}while(0);if(!(c[a+84>>2]|0))b=c[a+120>>2]|0;else b=1;c[a+124>>2]=b;return}function mr(b){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,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;n=b+4|0;d=Hb[c[c[n>>2]>>2]&63](b,1,160)|0;c[b+452>>2]=d;c[d>>2]=127;c[d+4>>2]=3;w=d+8|0;c[w>>2]=0;if(c[b+300>>2]|0){y=c[b>>2]|0;c[y+20>>2]=25;Qb[c[y>>2]&255](b)}m=b+316|0;if(!(c[b+76>>2]|0))y=0;else y=(c[m>>2]|0)>1;o=b+36|0;p=b+308|0;q=b+312|0;r=d+100|0;s=d+52|0;t=b+112|0;u=d+12|0;v=d+140|0;h=d+150|0;f=0;g=c[b+216>>2]|0;while(1){if((f|0)>=(c[o>>2]|0))break;k=c[g+36>>2]|0;i=C(k,c[g+8>>2]|0)|0;j=c[m>>2]|0;i=(i|0)/(j|0)|0;j=(C(c[g+12>>2]|0,k)|0)/(j|0)|0;k=c[p>>2]|0;l=c[q>>2]|0;c[r+(f<<2)>>2]=j;do if(!(c[g+48>>2]|0))c[s+(f<<2)>>2]=11;else{d=(j|0)==(l|0);if((i|0)==(k|0)&d){c[s+(f<<2)>>2]=12;break}e=(i<<1|0)==(k|0);do if(!(e&d))if(e&(j<<1|0)==(l|0)){if(y?(c[g+40>>2]|0)>>>0>2:0){c[s+(f<<2)>>2]=15;c[w>>2]=1;break}c[s+(f<<2)>>2]=16;break}else{d=(k|0)/(i|0)|0;if((k-(C(d,i)|0)|0)==0?(x=(l|0)/(j|0)|0,(l-(C(x,j)|0)|0)==0):0){c[s+(f<<2)>>2]=17;a[v+f>>0]=d;a[h+f>>0]=x;break}l=c[b>>2]|0;c[l+20>>2]=38;Qb[c[l>>2]&255](b);break}else{if(y?(c[g+40>>2]|0)>>>0>2:0){c[s+(f<<2)>>2]=13;break}c[s+(f<<2)>>2]=14}while(0);k=c[(c[n>>2]|0)+8>>2]|0;l=sq(c[t>>2]|0,c[p>>2]|0)|0;c[u+(f<<2)>>2]=Ib[k&15](b,1,l,c[q>>2]|0)|0}while(0);f=f+1|0;g=g+84|0}return}function nr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=a+4|0;d=Hb[c[c[f>>2]>>2]&63](a,1,28)|0;c[a+432>>2]=d;c[d>>2]=44;h=d+8|0;c[h>>2]=0;i=d+12|0;c[i>>2]=0;do if(c[a+84>>2]|0){g=c[a+312>>2]|0;e=d+16|0;c[e>>2]=g;d=c[f>>2]|0;if(!b){h=C(c[a+120>>2]|0,c[a+112>>2]|0)|0;c[i>>2]=Ib[c[d+8>>2]&15](a,1,h,g)|0;break}else{f=c[d+16>>2]|0;b=C(c[a+120>>2]|0,c[a+112>>2]|0)|0;i=sq(c[a+116>>2]|0,g)|0;c[h>>2]=Mb[f&63](a,1,0,b,i,c[e>>2]|0)|0;break}}while(0);return}function or(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;e=a+4|0;g=Hb[c[c[e>>2]>>2]&63](a,1,84)|0;c[a+448>>2]=g;c[g>>2]=128;f=a+36|0;g=g+44|0;b=c[a+216>>2]|0;d=0;while(1){if((d|0)>=(c[f>>2]|0))break;h=Hb[c[c[e>>2]>>2]&63](a,1,256)|0;c[b+80>>2]=h;XN(h|0,0,256)|0;c[g+(d<<2)>>2]=-1;b=b+84|0;d=d+1|0}return}function pr(a){a=a|0;var b=0,d=0,e=0,f=0;e=a+4|0;d=Hb[c[c[e>>2]>>2]&63](a,1,64)|0;c[a+444>>2]=d;c[d>>2]=129;d=d+44|0;b=0;while(1){if((b|0)==4)break;c[d+(b<<2)>>2]=0;b=b+1|0}f=a+36|0;d=Hb[c[c[e>>2]>>2]&63](a,1,c[f>>2]<<8)|0;c[a+160>>2]=d;b=0;while(1){if((b|0)>=(c[f>>2]|0))break;a=0;e=d;while(1){if((a|0)==64)break;c[e>>2]=-1;a=a+1|0;e=e+4|0}b=b+1|0;d=d+256|0}return}function qr(a){a=a|0;var b=0,d=0;d=Hb[c[c[a+4>>2]>>2]&63](a,1,232)|0;c[a+444>>2]=d;c[d>>2]=130;c[d+4>>2]=20;b=d+56|0;d=d+40|0;a=0;while(1){if((a|0)==4)break;c[b+(a<<2)>>2]=0;c[d+(a<<2)>>2]=0;a=a+1|0}return}function rr(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;h=a+4|0;i=Hb[c[c[h>>2]>>2]&63](a,1,116)|0;c[a+428>>2]=i;c[i>>2]=131;c[i+8>>2]=132;c[i+112>>2]=0;if(!b){d=Hb[c[(c[h>>2]|0)+4>>2]&63](a,1,1280)|0;e=i+32|0;b=0;while(1){if((b|0)==10)break;c[e+(b<<2)>>2]=d+(b<<7);b=b+1|0}c[i+4>>2]=72;c[i+12>>2]=22;c[i+16>>2]=0}else{e=a+36|0;f=a+220|0;g=i+72|0;b=0;d=c[a+216>>2]|0;while(1){if((b|0)>=(c[e>>2]|0))break;k=d+12|0;j=c[k>>2]|0;j=(c[f>>2]|0)==0?j:j*3|0;m=c[(c[h>>2]|0)+20>>2]|0;l=sq(c[d+28>>2]|0,c[d+8>>2]|0)|0;k=sq(c[d+32>>2]|0,c[k>>2]|0)|0;c[g+(b<<2)>>2]=Mb[m&63](a,1,1,l,k,j)|0;b=b+1|0;d=d+84|0}c[i+4>>2]=71;c[i+12>>2]=21;c[i+16>>2]=g}return}function sr(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;i=a+4|0;d=Hb[c[c[i>>2]>>2]&63](a,1,80)|0;c[a+424>>2]=d;c[d>>2]=45;if(b|0){h=c[a>>2]|0;c[h+20>>2]=4;Qb[c[h>>2]&255](a)}h=a+316|0;b=c[h>>2]|0;if(c[(c[a+452>>2]|0)+8>>2]|0){if((b|0)<2){g=c[a>>2]|0;c[g+20>>2]=47;Qb[c[g>>2]&255](a)}ur(a);b=(c[h>>2]|0)+2|0}g=a+36|0;f=d+8|0;d=c[a+216>>2]|0;e=0;while(1){if((e|0)>=(c[g>>2]|0))break;k=c[d+36>>2]|0;j=C(k,c[d+12>>2]|0)|0;k=C(c[d+28>>2]|0,k)|0;j=C((j|0)/(c[h>>2]|0)|0,b)|0;c[f+(e<<2)>>2]=Ib[c[(c[i>>2]|0)+8>>2]&15](a,1,k,j)|0;d=d+84|0;e=e+1|0}return}function tr(a,b){a=a|0;b=b|0;var d=0;d=c[a+424>>2]|0;switch(b|0){case 0:{b=d+4|0;if(!(c[(c[a+452>>2]|0)+8>>2]|0))c[b>>2]=19;else{c[b>>2]=18;wr(a);c[d+64>>2]=0;c[d+68>>2]=0;c[d+76>>2]=0}c[d+48>>2]=0;c[d+52>>2]=0;break}case 2:{c[d+4>>2]=20;break}default:{d=c[a>>2]|0;c[d+20>>2]=4;Qb[c[d>>2]&255](a)}}return}function ur(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=c[a+424>>2]|0;i=a+316|0;g=c[i>>2]|0;j=a+4|0;k=a+36|0;b=Hb[c[c[j>>2]>>2]&63](a,1,c[k>>2]<<3)|0;e=f+56|0;c[e>>2]=b;h=c[k>>2]|0;f=f+60|0;c[f>>2]=b+(h<<2);g=g+4|0;b=0;d=c[a+216>>2]|0;while(1){if((b|0)>=(h|0))break;l=C(c[d+36>>2]|0,c[d+12>>2]|0)|0;l=(l|0)/(c[i>>2]|0)|0;h=C(l,g)|0;l=(Hb[c[c[j>>2]>>2]&63](a,1,h<<3)|0)+(l<<2)|0;c[(c[e>>2]|0)+(b<<2)>>2]=l;c[(c[f>>2]|0)+(b<<2)>>2]=l+(h<<2);b=b+1|0;d=d+84|0;h=c[k>>2]|0}return}function vr(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=c[a+424>>2]|0;k=j+48|0;if(!(c[k>>2]|0)){if(Gb[c[(c[a+428>>2]|0)+12>>2]&63](a,c[j+56+(c[j+64>>2]<<2)>>2]|0)|0){c[k>>2]=1;h=j+76|0;c[h>>2]=(c[h>>2]|0)+1;h=4}}else h=4;a:do if((h|0)==4){i=j+68|0;switch(c[i>>2]|0){case 2:{g=j+52|0;f=j+72|0;Yb[c[(c[a+432>>2]|0)+4>>2]&7](a,c[j+56+(c[j+64>>2]<<2)>>2]|0,g,c[f>>2]|0,b,d,e);if((c[g>>2]|0)>>>0<(c[f>>2]|0)>>>0)break a;c[i>>2]=0;if((c[d>>2]|0)>>>0>>0)h=9;else break a;break}case 0:{f=j+72|0;g=j+52|0;h=9;break}case 1:{g=j+52|0;f=j+72|0;break}default:break a}if((h|0)==9){c[g>>2]=0;c[f>>2]=(c[a+316>>2]|0)+-1;if((c[j+76>>2]|0)==(c[a+320>>2]|0))zr(a);c[i>>2]=1}h=j+64|0;Yb[c[(c[a+432>>2]|0)+4>>2]&7](a,c[j+56+(c[h>>2]<<2)>>2]|0,g,c[f>>2]|0,b,d,e);if((c[g>>2]|0)>>>0>=(c[f>>2]|0)>>>0){if((c[j+76>>2]|0)==1)Ar(a);c[h>>2]=c[h>>2]^1;c[k>>2]=0;k=c[a+316>>2]|0;c[g>>2]=k+1;c[f>>2]=k+2;c[i>>2]=2}}while(0);return}function wr(a){a=a|0;var b=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,r=0,s=0,t=0;o=c[a+424>>2]|0;p=c[a+316>>2]|0;q=c[a+36>>2]|0;r=o+56|0;l=o+60|0;m=p+2|0;n=p+-2|0;k=0;h=c[a+216>>2]|0;while(1){if((k|0)>=(q|0))break;i=(C(c[h+36>>2]|0,c[h+12>>2]|0)|0)/(p|0)|0;j=c[(c[r>>2]|0)+(k<<2)>>2]|0;f=c[(c[l>>2]|0)+(k<<2)>>2]|0;g=c[o+8+(k<<2)>>2]|0;b=C(i,m)|0;a=0;while(1){if((a|0)>=(b|0))break;e=c[g+(a<<2)>>2]|0;c[f+(a<<2)>>2]=e;c[j+(a<<2)>>2]=e;a=a+1|0}b=i<<1;d=C(i,p)|0;e=C(i,n)|0;a=0;while(1){if((a|0)>=(b|0))break;s=a+d|0;t=a+e|0;c[f+(t<<2)>>2]=c[g+(s<<2)>>2];c[f+(s<<2)>>2]=c[g+(t<<2)>>2];a=a+1|0}a=0;while(1){if((a|0)>=(i|0))break;c[j+(a-i<<2)>>2]=c[j>>2];a=a+1|0}k=k+1|0;h=h+84|0}return}function xr(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;i=c[a+424>>2]|0;j=i+48|0;if(!(c[j>>2]|0)){g=i+8|0;if(Gb[c[(c[a+428>>2]|0)+12>>2]&63](a,g)|0){c[j>>2]=1;f=g;k=5}}else{f=i+8|0;k=5}if((k|0)==5?(k=c[a+316>>2]|0,h=i+52|0,Yb[c[(c[a+432>>2]|0)+4>>2]&7](a,f,h,k,b,d,e),(c[h>>2]|0)>>>0>=k>>>0):0){c[j>>2]=0;c[h>>2]=0}return}function yr(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;Yb[c[(c[a+432>>2]|0)+4>>2]&7](a,0,0,0,b,d,e);return}function zr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=c[a+424>>2]|0;j=c[a+36>>2]|0;k=a+316|0;l=i+72|0;m=i+64|0;h=0;e=c[a+216>>2]|0;while(1){if((h|0)>=(j|0))break;b=C(c[e+36>>2]|0,c[e+12>>2]|0)|0;a=(b|0)/(c[k>>2]|0)|0;g=((c[e+44>>2]|0)>>>0)%(b>>>0)|0;g=(g|0)==0?b:g;b=g+-1|0;if(!h)c[l>>2]=((b|0)/(a|0)|0)+1;f=c[(c[i+56+(c[m>>2]<<2)>>2]|0)+(h<<2)>>2]|0;d=a<<1;b=f+(b<<2)|0;a=0;while(1){if((a|0)>=(d|0))break;c[f+(a+g<<2)>>2]=c[b>>2];a=a+1|0}h=h+1|0;e=e+84|0}return}function Ar(a){a=a|0;var b=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;j=c[a+424>>2]|0;m=c[a+316>>2]|0;n=c[a+36>>2]|0;o=j+56|0;j=j+60|0;k=m+1|0;l=m+2|0;i=0;b=c[a+216>>2]|0;while(1){if((i|0)>=(n|0))break;d=(C(c[b+36>>2]|0,c[b+12>>2]|0)|0)/(m|0)|0;e=c[(c[o>>2]|0)+(i<<2)>>2]|0;f=c[(c[j>>2]|0)+(i<<2)>>2]|0;g=C(d,k)|0;h=C(d,l)|0;a=0;while(1){if((a|0)>=(d|0))break;q=a+g|0;p=a-d|0;c[e+(p<<2)>>2]=c[e+(q<<2)>>2];c[f+(p<<2)>>2]=c[f+(q<<2)>>2];p=a+h|0;c[e+(p<<2)>>2]=c[e+(a<<2)>>2];c[f+(p<<2)>>2]=c[f+(a<<2)>>2];a=a+1|0}i=i+1|0;b=b+84|0}return}function Br(a){a=a|0;c[a+148>>2]=0;Hr(a);return}function Cr(a){a=a|0;var b=0,d=0;b=c[a+428>>2]|0;if(c[b+16>>2]|0){if((c[a+80>>2]|0)!=0?(Ir(a)|0)!=0:0)d=23;else d=21;c[b+12>>2]=d}c[a+156>>2]=0;return}function Dr(a){a=a|0;var b=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,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=yb;yb=yb+16|0;u=y;v=c[a+428>>2]|0;w=a+328|0;d=a+4|0;x=a+148|0;b=0;while(1){if((b|0)>=(c[w>>2]|0))break;r=c[a+332+(b<<2)>>2]|0;t=c[r+12>>2]|0;s=C(t,c[x>>2]|0)|0;c[u+(b<<2)>>2]=Kb[c[(c[d>>2]|0)+32>>2]&31](a,c[v+72+(c[r+4>>2]<<2)>>2]|0,s,t,1)|0;b=b+1|0}s=v+24|0;h=v+28|0;t=v+20|0;i=a+348|0;j=a+444|0;k=v+32|0;q=c[s>>2]|0;a:while(1){if((q|0)>=(c[h>>2]|0)){d=21;break}r=c[t>>2]|0;while(1){if(r>>>0>=(c[i>>2]|0)>>>0)break;l=c[w>>2]|0;b=0;g=0;while(1){if((g|0)>=(l|0))break;o=c[a+332+(g<<2)>>2]|0;m=c[o+52>>2]|0;n=C(m,r)|0;o=c[o+56>>2]|0;p=u+(g<<2)|0;f=0;while(1){if((f|0)>=(o|0))break;d=(c[(c[p>>2]|0)+(f+q<<2)>>2]|0)+(n<<7)|0;e=0;while(1){if((e|0)>=(m|0))break;c[v+32+(b<<2)>>2]=d;d=d+128|0;e=e+1|0;b=b+1|0}f=f+1|0}g=g+1|0}if(!(Gb[c[(c[j>>2]|0)+4>>2]&63](a,k)|0)){d=18;break a}r=r+1|0}c[t>>2]=0;q=q+1|0}do if((d|0)==18){c[s>>2]=q;c[t>>2]=r;b=0}else if((d|0)==21){w=(c[x>>2]|0)+1|0;c[x>>2]=w;if(w>>>0<(c[a+320>>2]|0)>>>0){Hr(a);b=3;break}else{Qb[c[(c[a+436>>2]|0)+12>>2]&255](a);b=4;break}}while(0);yb=y;return b|0}function Er(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,r=0,s=0,t=0,u=0,v=0;t=c[a+428>>2]|0;u=a+320|0;v=(c[u>>2]|0)+-1|0;g=a+144|0;h=a+152|0;i=a+436|0;d=a+148|0;s=a+156|0;while(1){e=c[g>>2]|0;f=c[h>>2]|0;if((e|0)>=(f|0)){if((e|0)!=(f|0)){j=6;break}if((c[d>>2]|0)>>>0>(c[s>>2]|0)>>>0){j=6;break}}if(!(Eb[c[c[i>>2]>>2]&127](a)|0)){d=0;break}}if((j|0)==6){o=a+36|0;p=a+4|0;q=a+448|0;m=c[a+216>>2]|0;n=0;while(1){if((n|0)>=(c[o>>2]|0))break;a:do if(c[m+48>>2]|0){d=m+12|0;r=c[d>>2]|0;l=C(r,c[s>>2]|0)|0;r=Kb[c[(c[p>>2]|0)+32>>2]&31](a,c[t+72+(n<<2)>>2]|0,l,r,0)|0;if((c[s>>2]|0)>>>0>>0)h=c[d>>2]|0;else{l=c[d>>2]|0;h=((c[m+32>>2]|0)>>>0)%(l>>>0)|0;h=(h|0)==0?l:h}j=c[(c[q>>2]|0)+4+(n<<2)>>2]|0;k=m+28|0;l=m+36|0;e=c[b+(n<<2)>>2]|0;i=0;while(1){if((i|0)>=(h|0))break a;d=0;f=c[r+(i<<2)>>2]|0;g=0;while(1){if(g>>>0>=(c[k>>2]|0)>>>0)break;Wb[j&31](a,m,f,e,d);d=(c[l>>2]|0)+d|0;f=f+128|0;g=g+1|0}e=e+(c[l>>2]<<2)|0;i=i+1|0}}while(0);m=m+84|0;n=n+1|0}d=(c[s>>2]|0)+1|0;c[s>>2]=d;d=d>>>0<(c[u>>2]|0)>>>0?3:4}return d|0}function Fr(a){a=a|0;return 0}function Gr(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,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;E=c[a+428>>2]|0;G=(c[a+348>>2]|0)+-1|0;H=a+320|0;I=(c[H>>2]|0)+-1|0;u=E+24|0;v=E+28|0;w=E+20|0;x=E+32|0;y=a+356|0;z=a+444|0;A=a+328|0;B=a+448|0;D=a+148|0;s=c[u>>2]|0;a:while(1){if((s|0)>=(c[v>>2]|0)){J=22;break}t=c[w>>2]|0;while(1){if(t>>>0>G>>>0)break;hq(c[x>>2]|0,c[y>>2]<<7);if(!(Gb[c[(c[z>>2]|0)+4>>2]&63](a,x)|0)){J=6;break a}F=t>>>0>>0;d=0;r=0;while(1){if((r|0)>=(c[A>>2]|0))break;j=c[a+332+(r<<2)>>2]|0;b:do if(!(c[j+48>>2]|0))d=(c[j+60>>2]|0)+d|0;else{h=c[j+4>>2]|0;k=c[(c[B>>2]|0)+4+(h<<2)>>2]|0;l=j+52|0;m=c[(F?l:j+68|0)>>2]|0;n=j+36|0;e=c[n>>2]|0;h=(c[b+(h<<2)>>2]|0)+((C(e,s)|0)<<2)|0;o=C(c[j+64>>2]|0,t)|0;p=j+56|0;q=j+72|0;i=0;while(1){if((i|0)>=(c[p>>2]|0))break b;if(!((c[D>>2]|0)>>>0>=I>>>0?(i+s|0)>=(c[q>>2]|0):0))J=15;c:do if((J|0)==15){J=0;f=o;g=0;while(1){if((g|0)>=(m|0))break c;Wb[k&31](a,j,c[E+32+(g+d<<2)>>2]|0,h,f);e=c[n>>2]|0;f=e+f|0;g=g+1|0}}while(0);h=h+(e<<2)|0;i=i+1|0;d=(c[l>>2]|0)+d|0}}while(0);r=r+1|0}t=t+1|0}c[w>>2]=0;s=s+1|0}do if((J|0)==6){c[u>>2]=s;c[w>>2]=t;d=0}else if((J|0)==22){J=a+156|0;c[J>>2]=(c[J>>2]|0)+1;J=(c[D>>2]|0)+1|0;c[D>>2]=J;if(J>>>0<(c[H>>2]|0)>>>0){Hr(a);d=3;break}else{Qb[c[(c[a+436>>2]|0)+12>>2]&255](a);d=4;break}}while(0);return d|0}function Hr(a){a=a|0;var b=0,d=0;b=c[a+428>>2]|0;if((c[a+328>>2]|0)>1)a=1;else{d=c[a+332>>2]|0;a=c[((c[a+148>>2]|0)>>>0<((c[a+320>>2]|0)+-1|0)>>>0?d+12|0:d+72|0)>>2]|0}c[b+28>>2]=a;c[b+20>>2]=0;c[b+24>>2]=0;return}function Ir(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=c[a+428>>2]|0;a:do if((c[a+220>>2]|0)!=0?(j=a+160|0,(c[j>>2]|0)!=0):0){e=d+112|0;d=c[e>>2]|0;if(!d){i=a+36|0;d=Hb[c[c[a+4>>2]>>2]&63](a,1,(c[i>>2]|0)*24|0)|0;c[e>>2]=d}else i=a+36|0;h=d;d=0;f=c[a+216>>2]|0;g=0;while(1){if((g|0)>=(c[i>>2]|0))break a;e=c[f+76>>2]|0;if(!e){d=0;break a}if(!(b[e>>1]|0)){d=0;break a}if(!(b[e+2>>1]|0)){d=0;break a}if(!(b[e+16>>1]|0)){d=0;break a}if(!(b[e+32>>1]|0)){d=0;break a}if(!(b[e+18>>1]|0)){d=0;break a}if(!(b[e+4>>1]|0)){d=0;break a}a=c[j>>2]|0;if((c[a+(g<<8)>>2]|0)<0){d=0;break a}e=1;while(1){if((e|0)==6)break;k=a+(g<<8)+(e<<2)|0;c[h+(e<<2)>>2]=c[k>>2];e=e+1|0;d=(c[k>>2]|0)==0?d:1}h=h+24|0;f=f+84|0;g=g+1|0}}else d=0;while(0);return d|0}function Jr(a,d){a=a|0;d=d|0;var 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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=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,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;na=yb;yb=yb+128|0;ja=na;ka=c[a+428>>2]|0;la=a+320|0;ma=(c[la>>2]|0)+-1|0;l=a+144|0;m=a+152|0;f=a+436|0;g=a+400|0;h=a+148|0;ia=a+156|0;while(1){i=c[l>>2]|0;j=c[m>>2]|0;if((i|0)>(j|0)){n=7;break}k=c[f>>2]|0;if(c[k+20>>2]|0){n=7;break}if((i|0)==(j|0)?(c[h>>2]|0)>>>0>((c[ia>>2]|0)+((c[g>>2]|0)==0&1)|0)>>>0:0){n=7;break}if(!(Eb[c[k>>2]&127](a)|0)){f=0;break}}if((n|0)==7){$=a+36|0;aa=a+4|0;ba=ka+112|0;ca=a+448|0;da=ja+2|0;ea=ja+16|0;fa=ja+32|0;ga=ja+18|0;ha=ja+4|0;Y=0;Z=c[a+216>>2]|0;while(1){if((Y|0)>=(c[$>>2]|0))break;a:do if(c[Z+48>>2]|0){g=c[ia>>2]|0;if(g>>>0>>0){h=c[Z+12>>2]|0;f=h<<1;i=0;_=h}else{h=c[Z+12>>2]|0;_=((c[Z+32>>2]|0)>>>0)%(h>>>0)|0;_=(_|0)==0?h:_;f=_;i=1}if(!g){V=Kb[c[(c[aa>>2]|0)+32>>2]&31](a,c[ka+72+(Y<<2)>>2]|0,0,f,0)|0;W=1}else{V=C(h,g+-1|0)|0;V=Kb[c[(c[aa>>2]|0)+32>>2]&31](a,c[ka+72+(Y<<2)>>2]|0,V,h+f|0,0)|0;V=V+(c[Z+12>>2]<<2)|0;W=0}J=(c[ba>>2]|0)+(Y*6<<2)|0;T=c[Z+76>>2]|0;O=e[T>>1]|0;I=e[T+2>>1]|0;M=e[T+16>>1]|0;Q=e[T+32>>1]|0;S=e[T+18>>1]|0;T=e[T+4>>1]|0;X=c[(c[ca>>2]|0)+4+(Y<<2)>>2]|0;x=(i|0)!=0;y=_+-1|0;z=Z+28|0;A=J+4|0;B=J+8|0;D=J+12|0;E=O*36|0;F=I<<7;G=J+16|0;H=M<<7;I=I<<8;J=J+20|0;K=O*9|0;L=Q<<7;M=M<<8;N=Z+36|0;O=O*5|0;P=S<<7;Q=Q<<8;R=T<<7;S=S<<8;T=T<<8;v=0;w=c[d+(Y<<2)>>2]|0;while(1){if((v|0)>=(_|0))break a;f=c[V+(v<<2)>>2]|0;if(W&(v|0)==0)g=f;else g=c[V+(v+-1<<2)>>2]|0;if(x&(v|0)==(y|0))h=f;else h=c[V+(v+1<<2)>>2]|0;k=b[g>>1]|0;p=b[f>>1]|0;j=b[h>>1]|0;U=(c[z>>2]|0)+-1|0;r=j;s=p;t=k;u=0;q=0;o=h;while(1){if(u>>>0>U>>>0)break;Kr(f,ja,1);if(u>>>0>>0){l=b[o+128>>1]|0;m=b[f+128>>1]|0;n=b[g+128>>1]|0}else{l=r;m=s;n=t}h=c[A>>2]|0;if((h|0)!=0&(b[da>>1]|0)==0){i=C(E,p-m|0)|0;if((i|0)>-1){i=(i+F|0)/(I|0)|0;oa=1<0?((i|0)<(oa|0)?i:oa+-1|0):i}else{oa=(F-i|0)/(I|0)|0;i=1<0?((oa|0)<(i|0)?oa:i+-1|0):oa)|0}b[da>>1]=h}h=c[B>>2]|0;if((h|0)!=0&(b[ea>>1]|0)==0){i=C(E,t-r|0)|0;if((i|0)>-1){oa=(i+H|0)/(M|0)|0;i=1<0?((oa|0)<(i|0)?oa:i+-1|0):oa}else{oa=(H-i|0)/(M|0)|0;i=1<0?((oa|0)<(i|0)?oa:i+-1|0):oa)|0}b[ea>>1]=h}h=c[D>>2]|0;if((h|0)!=0&(b[fa>>1]|0)==0){i=C(K,t-(s<<1)+r|0)|0;if((i|0)>-1){oa=(i+L|0)/(Q|0)|0;i=1<0?((oa|0)<(i|0)?oa:i+-1|0):oa}else{oa=(L-i|0)/(Q|0)|0;i=1<0?((oa|0)<(i|0)?oa:i+-1|0):oa)|0}b[fa>>1]=h}i=c[G>>2]|0;if((i|0)!=0&(b[ga>>1]|0)==0){h=C(O,k-j-n+l|0)|0;if((h|0)>-1){h=(h+P|0)/(S|0)|0;oa=1<0?((h|0)<(oa|0)?h:oa+-1|0):h}else{h=(P-h|0)/(S|0)|0;oa=1<0?((h|0)<(oa|0)?h:oa+-1|0):h)|0}b[ga>>1]=h}i=c[J>>2]|0;if((i|0)!=0&(b[ha>>1]|0)==0){h=C(K,p-(s<<1)+m|0)|0;if((h|0)>-1){h=(h+R|0)/(T|0)|0;oa=1<0?((h|0)<(oa|0)?h:oa+-1|0):h}else{h=(R-h|0)/(T|0)|0;oa=1<0?((h|0)<(oa|0)?h:oa+-1|0):h)|0}b[ha>>1]=h}Wb[X&31](a,Z,ja,w,q);k=t;p=s;j=r;r=l;s=m;t=n;u=u+1|0;f=f+128|0;q=(c[N>>2]|0)+q|0;g=g+128|0;o=o+128|0}v=v+1|0;w=w+(c[N>>2]<<2)|0}}while(0);Y=Y+1|0;Z=Z+84|0}f=(c[ia>>2]|0)+1|0;c[ia>>2]=f;f=f>>>0<(c[la>>2]|0)>>>0?3:4}yb=na;return f|0}function Kr(a,b,c){a=a|0;b=b|0;c=c|0;VN(b|0,a|0,c<<7|0)|0;return}function Lr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=c[a+444>>2]|0;if(!((((c[a+400>>2]|0)==0?(c[a+404>>2]|0)==63:0)?(c[a+408>>2]|0)==0:0)?!(c[a+412>>2]|0):0)){f=c[a>>2]|0;c[f+20>>2]=122;Sb[c[f+4>>2]&63](a,-1)}d=a+328|0;b=0;while(1){if((b|0)>=(c[d>>2]|0))break;f=c[a+332+(b<<2)>>2]|0;e=c[f+20>>2]|0;f=c[f+24>>2]|0;Qr(a,1,e,g+40+(e<<2)|0);Qr(a,0,f,g+56+(f<<2)|0);c[g+20+(b<<2)>>2]=0;b=b+1|0}f=a+356|0;e=0;while(1){if((e|0)>=(c[f>>2]|0))break;b=c[a+332+(c[a+360+(e<<2)>>2]<<2)>>2]|0;c[g+72+(e<<2)>>2]=c[g+40+(c[b+20>>2]<<2)>>2];c[g+112+(e<<2)>>2]=c[g+56+(c[b+24>>2]<<2)>>2];d=g+152+(e<<2)|0;if(!(c[b+48>>2]|0)){c[d>>2]=0;b=0}else{c[d>>2]=1;b=(c[b+36>>2]|0)>1&1}c[g+192+(e<<2)>>2]=b;e=e+1|0}c[g+16>>2]=0;c[g+12>>2]=0;c[g+8>>2]=0;c[g+36>>2]=c[a+276>>2];return}function Mr(a,e){a=a|0;e=e|0;var 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,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=yb;yb=yb+48|0;q=A+16|0;w=A;z=c[a+444>>2]|0;if(((c[a+276>>2]|0)!=0?(c[z+36>>2]|0)==0:0)?(Nr(a)|0)==0:0)f=0;else l=4;a:do if((l|0)==4){if(!(c[z+8>>2]|0)){c[q+16>>2]=a;p=a+24|0;s=c[p>>2]|0;c[q>>2]=c[s>>2];r=q+4|0;c[r>>2]=c[s+4>>2];s=z+12|0;g=c[s>>2]|0;t=z+16|0;f=c[t>>2]|0;u=z+20|0;c[w>>2]=c[u>>2];c[w+4>>2]=c[u+4>>2];c[w+8>>2]=c[u+8>>2];c[w+12>>2]=c[u+12>>2];v=a+356|0;x=q+8|0;y=q+12|0;o=0;while(1){if((o|0)>=(c[v>>2]|0))break;m=c[e+(o<<2)>>2]|0;j=c[z+72+(o<<2)>>2]|0;n=c[z+112+(o<<2)>>2]|0;if((f|0)<8){if(!(Or(q,g,f,0)|0)){f=0;break a}g=c[x>>2]|0;f=c[y>>2]|0;if((f|0)<8){h=1;l=12}else l=10}else l=10;if((l|0)==10){l=0;h=g>>f+-8&255;i=c[j+144+(h<<2)>>2]|0;if(!i){h=9;l=12}else{j=d[j+1168+h>>0]|0;f=f-i|0}}if((l|0)==12){f=Pr(q,g,f,j,h)|0;if((f|0)<0){f=0;break a}j=f;g=c[x>>2]|0;f=c[y>>2]|0}if(j){if((f|0)<(j|0)){if(!(Or(q,g,f,j)|0)){f=0;break a}g=c[x>>2]|0;f=c[y>>2]|0}f=f-j|0;h=g>>f&(1<>2]|0))h=(c[2944+(j<<2)>>2]|0)+h|0}else h=0;if(c[z+152+(o<<2)>>2]|0){k=w+(c[a+360+(o<<2)>>2]<<2)|0;l=(c[k>>2]|0)+h|0;c[k>>2]=l;b[m>>1]=l}b:do if(!(c[z+192+(o<<2)>>2]|0)){k=1;while(1){if((k|0)>=64)break b;if((f|0)<8){if(!(Or(q,g,f,0)|0)){f=0;break a}g=c[x>>2]|0;f=c[y>>2]|0;if((f|0)<8){h=1;l=49}else l=47}else l=47;if((l|0)==47){l=0;h=g>>f+-8&255;i=c[n+144+(h<<2)>>2]|0;if(!i){h=9;l=49}else{j=d[n+1168+h>>0]|0;f=f-i|0}}if((l|0)==49){f=Pr(q,g,f,n,h)|0;if((f|0)<0){f=0;break a}j=f;g=c[x>>2]|0;f=c[y>>2]|0}h=j>>>4;i=j&15;if(!i)if((h|0)==15)h=15;else break b;else{if((f|0)<(i|0)){if(!(Or(q,g,f,i)|0)){f=0;break a}g=c[x>>2]|0;f=c[y>>2]|0}f=f-i|0}k=k+1+h|0}}else{k=1;while(1){if((k|0)>=64)break b;if((f|0)<8){if(!(Or(q,g,f,0)|0)){f=0;break a}g=c[x>>2]|0;f=c[y>>2]|0;if((f|0)<8){h=1;l=31}else l=29}else l=29;if((l|0)==29){l=0;i=g>>f+-8&255;h=c[n+144+(i<<2)>>2]|0;if(!h){h=9;l=31}else{f=f-h|0;h=d[n+1168+i>>0]|0}}if((l|0)==31){h=Pr(q,g,f,n,h)|0;if((h|0)<0){f=0;break a}g=c[x>>2]|0;f=c[y>>2]|0}i=h>>>4;j=h&15;if(!j){if((i|0)!=15)break b;h=k+15|0}else{i=i+k|0;if((f|0)<(j|0)){if(!(Or(q,g,f,j)|0)){f=0;break a}g=c[x>>2]|0;f=c[y>>2]|0}f=f-j|0;h=g>>f&(1<>2]|0))h=(c[2944+(j<<2)>>2]|0)+h|0;b[m+(c[2560+(i<<2)>>2]<<1)>>1]=h;h=i}k=h+1|0}}while(0);o=o+1|0}y=c[p>>2]|0;c[y>>2]=c[q>>2];c[y+4>>2]=c[r>>2];c[s>>2]=g;c[t>>2]=f;c[u>>2]=c[w>>2];c[u+4>>2]=c[w+4>>2];c[u+8>>2]=c[w+8>>2];c[u+12>>2]=c[w+12>>2]}f=z+36|0;c[f>>2]=(c[f>>2]|0)+-1;f=1}while(0);yb=A;return f|0}function Nr(a){a=a|0;var b=0,d=0,e=0,f=0;e=c[a+444>>2]|0;b=e+16|0;d=c[a+440>>2]|0;f=d+24|0;c[f>>2]=(c[f>>2]|0)+((c[b>>2]|0)/8|0);c[b>>2]=0;if(Eb[c[d+8>>2]&127](a)|0){d=a+328|0;b=0;while(1){if((b|0)>=(c[d>>2]|0))break;c[e+20+(b<<2)>>2]=0;b=b+1|0}c[e+36>>2]=c[a+276>>2];if(!(c[a+416>>2]|0)){c[e+8>>2]=0;b=1}else b=1}else b=0;return b|0}function Or(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,l=0,m=0,n=0,o=0;g=c[b>>2]|0;n=b+4|0;h=c[n>>2]|0;m=c[b+16>>2]|0;l=m+416|0;a:do if(!(c[l>>2]|0)){k=m+24|0;j=d;b:while(1){if((e|0)>=25){d=j;o=19;break a}if(!h){if(!(Eb[c[(c[k>>2]|0)+12>>2]&127](m)|0)){g=0;break a}g=c[k>>2]|0;h=c[g+4>>2]|0;g=c[g>>2]|0}h=h+-1|0;d=g+1|0;i=a[g>>0]|0;g=i&255;c:do if(i<<24>>24==-1){g=d;while(1){if(!h){if(!(Eb[c[(c[k>>2]|0)+12>>2]&127](m)|0)){g=0;break a}d=c[k>>2]|0;h=c[d+4>>2]|0;d=c[d>>2]|0}else d=g;h=h+-1|0;g=d+1|0;d=a[d>>0]|0;switch(d<<24>>24){case 0:{i=255;break c}case -1:break;default:break b}}}else{i=g;g=d}while(0);j=i|j<<8;e=e+8|0}c[l>>2]=d&255;d=j;i=h;o=15}else{i=h;o=15}while(0);if((o|0)==15)if((e|0)<(f|0)){h=m+444|0;if(!(c[(c[h>>2]|0)+8>>2]|0)){o=c[m>>2]|0;c[o+20>>2]=117;Sb[c[o+4>>2]&63](m,-1);c[(c[h>>2]|0)+8>>2]=1}d=d<<25-e;e=25;h=i;o=19}else{h=i;o=19}if((o|0)==19){c[b>>2]=g;c[n>>2]=h;c[b+8>>2]=d;c[b+12>>2]=e;g=1}return g|0}function Pr(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;if((e|0)<(g|0))if(!(Or(a,b,e,g)|0))b=-1;else{j=a+8|0;i=a+12|0;b=c[j>>2]|0;e=c[i>>2]|0;h=5}else{i=a+12|0;j=a+8|0;h=5}a:do if((h|0)==5){e=e-g|0;h=b>>e&(1<>2]|0))break;h=h<<1;if((e|0)<1){if(!(Or(a,b,e,1)|0)){b=-1;break a}b=c[j>>2]|0;e=c[i>>2]|0}e=e+-1|0;h=b>>>e&1|h;g=g+1|0}c[j>>2]=b;c[i>>2]=e;if((g|0)>16){b=c[a+16>>2]|0;f=c[b>>2]|0;c[f+20>>2]=118;Sb[c[f+4>>2]&63](b,-1);b=0;break}else{b=d[(c[f+72+(g<<2)>>2]|0)+h+((c[f+140>>2]|0)+17)>>0]|0;break}}while(0);return b|0}function Qr(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=yb;yb=yb+1312|0;k=t+1040|0;s=t;if(f>>>0>3){r=c[b>>2]|0;c[r+20>>2]=50;c[r+24>>2]=f;Qb[c[c[b>>2]>>2]&255](b)}q=(e|0)!=0;r=c[(q?b+180+(f<<2)|0:b+196+(f<<2)|0)>>2]|0;if(!r){p=c[b>>2]|0;c[p+20>>2]=50;c[p+24>>2]=f;Qb[c[c[b>>2]>>2]&255](b)}e=c[g>>2]|0;if(!e){e=Hb[c[c[b+4>>2]>>2]&63](b,1,1424)|0;c[g>>2]=e;p=b}else p=b;c[e+140>>2]=r;o=0;h=1;while(1){if((h|0)==17)break;f=d[r+h>>0]|0;i=o+f|0;if((i|0)>256){n=c[b>>2]|0;c[n+20>>2]=8;Qb[c[n>>2]&255](p)}j=h&255;g=f;f=o;while(1){if(!g)break;a[k+f>>0]=j;g=g+-1|0;f=f+1|0}o=i;h=h+1|0}a[k+o>>0]=0;h=a[k>>0]|0;f=0;i=h<<24>>24;g=0;while(1){if(!(h<<24>>24))break;while(1){if((i|0)!=(h<<24>>24|0))break;h=g+1|0;c[s+(g<<2)>>2]=f;f=f+1|0;g=h;h=a[k+h>>0]|0}if((f|0)>=(1<>2]|0;c[n+20>>2]=8;Qb[c[n>>2]&255](p)}f=f<<1;i=i+1|0}h=1;f=0;while(1){if((h|0)==17)break;g=r+h|0;if(!(a[g>>0]|0))g=-1;else{c[e+72+(h<<2)>>2]=f-(c[s+(f<<2)>>2]|0);g=f+(d[g>>0]|0)|0;f=g;g=c[s+(g+-1<<2)>>2]|0}c[e+(h<<2)>>2]=g;h=h+1|0}c[e+68>>2]=1048575;XN(e+144|0,0,1024)|0;k=1;f=0;while(1){if((k|0)==9)break;l=r+k|0;m=8-k|0;n=1<>>0>(d[l>>0]|0)>>>0)break;i=r+17+f|0;g=n;h=c[s+(f<<2)>>2]<>2]=k;a[e+1168+h>>0]=a[i>>0]|0;g=g+-1|0;h=h+1|0}j=j+1|0;f=f+1|0}k=k+1|0}a:do if(q){e=0;while(1){if((e|0)>=(o|0))break a;if((d[r+17+e>>0]|0)>15){s=c[b>>2]|0;c[s+20>>2]=8;Qb[c[s>>2]&255](p)}e=e+1|0}}while(0);yb=t;return}function Rr(a){a=a|0;var b=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;o=c[a+444>>2]|0;l=a+400|0;e=c[l>>2]|0;p=(e|0)==0;m=a+404|0;b=c[m>>2]|0;if(p)b=(b|0)!=0;else b=(e|0)>(b|0)|(b|0)>63|(c[a+328>>2]|0)!=1;n=a+408|0;d=c[n>>2]|0;if(!d){d=a+412|0;j=d;d=c[d>>2]|0}else{j=a+412|0;k=c[j>>2]|0;b=b|(k|0)!=(d+-1|0);d=k}if((d|0)<14&(b^1))h=a;else{h=c[a>>2]|0;c[h+20>>2]=16;c[h+24>>2]=e;c[(c[a>>2]|0)+28>>2]=c[m>>2];c[(c[a>>2]|0)+32>>2]=c[n>>2];c[(c[a>>2]|0)+36>>2]=c[j>>2];Qb[c[c[a>>2]>>2]&255](a);h=a}k=a+328|0;i=a+160|0;g=0;while(1){b=c[k>>2]|0;if((g|0)>=(b|0))break;d=c[(c[a+332+(g<<2)>>2]|0)+4>>2]|0;e=c[i>>2]|0;if(!p?(c[e+(d<<8)>>2]|0)<0:0){f=c[a>>2]|0;c[f+20>>2]=115;c[f+24>>2]=d;c[(c[a>>2]|0)+28>>2]=0;Sb[c[(c[a>>2]|0)+4>>2]&63](h,-1)}b=c[l>>2]|0;while(1){if((b|0)>(c[m>>2]|0))break;f=e+(d<<8)+(b<<2)|0;q=c[f>>2]|0;if((c[n>>2]|0)!=(((q|0)>0?q:0)|0)){q=c[a>>2]|0;c[q+20>>2]=115;c[q+24>>2]=d;c[(c[a>>2]|0)+28>>2]=b;Sb[c[(c[a>>2]|0)+4>>2]&63](h,-1)}c[f>>2]=c[j>>2];b=b+1|0}g=g+1|0}c[o+4>>2]=(c[n>>2]|0)==0?(p?25:24):p?27:26;e=o+60|0;d=0;while(1){if((d|0)>=(b|0))break;b=c[a+332+(d<<2)>>2]|0;if(p){if(!(c[n>>2]|0)){q=c[b+20>>2]|0;Qr(a,1,q,o+44+(q<<2)|0)}}else{m=c[b+24>>2]|0;q=o+44+(m<<2)|0;Qr(a,0,m,q);c[e>>2]=c[q>>2]}c[o+24+(d<<2)>>2]=0;d=d+1|0;b=c[k>>2]|0}q=o+8|0;c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;c[q+12>>2]=0;c[o+40>>2]=c[a+276>>2];return} -function Zb(a){a=a|0;var b=0;b=yb;yb=yb+a|0;yb=yb+15&-16;return b|0}function _b(){return yb|0}function $b(a){a=a|0;yb=a}function ac(a,b){a=a|0;b=b|0;yb=a;zb=b}function bc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=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=yb;yb=yb+16|0;v=y;x=(e|0)/2|0;w=(f|0)/2|0;m=c[i>>2]|0;u=w+-1|0;f=m;j=m+((C(u,x)|0)<<1)|0;k=0;while(1){if((k|0)>=(x|0))break;b[j>>1]=0;b[f>>1]=0;f=f+2|0;j=j+2|0;k=k+1|0}t=x+-1|0;f=m;j=m+(t<<1)|0;k=0;while(1){if((k|0)>=(w|0))break;b[j>>1]=0;b[f>>1]=0;f=f+(x<<1)|0;j=j+(x<<1)|0;k=k+1|0}l=i+1179664|0;s=0-x|0;j=a+((e<<1)+2)|0;r=1;o=0;k=m+(x+1<<1)|0;a:while(1){if((r|0)>=(u|0)){j=59;break}q=j;f=o;p=1;while(1){if((p|0)>=(t|0))break;do if((d[q>>0]|0|0)>(h|0))b[k>>1]=0;else{a=k+(s<<1)|0;j=b[a>>1]|0;if(j<<16>>16>0){b[k>>1]=j;o=(j<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+r;c[i+1310736+(o+-1<<2)>>2]=r;break}n=b[a+2>>1]|0;o=n<<16>>16;j=b[a+-2>>1]|0;m=j<<16>>16;a=j<<16>>16>0;if(n<<16>>16<=0){if(a){b[k>>1]=j;j=m*7|0;a=i+1310736+(j+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(j+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+p;a=i+1310736+(j+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+r;a=i+1310736+(j+-3<<2)|0;if((c[a>>2]|0)<(p|0))c[a>>2]=p;c[i+1310736+(j+-1<<2)>>2]=r;break}j=b[k+-2>>1]|0;if(j<<16>>16>0){b[k>>1]=j;j=(j<<16>>16)*7|0;o=i+1310736+(j+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(j+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+p;o=i+1310736+(j+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+r;j=i+1310736+(j+-3<<2)|0;if((c[j>>2]|0)>=(p|0))break;c[j>>2]=p;break}else{j=f+1|0;if((f|0)>32767){j=54;break a}b[k>>1]=j;c[i+1179664+(f<<2)>>2]=j<<16>>16;f=f*7|0;c[i+1310736+(f<<2)>>2]=1;c[i+1310736+(f+1<<2)>>2]=p;c[i+1310736+(f+2<<2)>>2]=r;c[i+1310736+(f+3<<2)>>2]=p;c[i+1310736+(f+4<<2)>>2]=p;c[i+1310736+(f+5<<2)>>2]=r;c[i+1310736+(f+6<<2)>>2]=r;f=j;break}}if(a){j=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+(m+-1<<2)>>2]|0;b:do if((j|0)<=(n|0)){b[k>>1]=j;if((j|0)<(n|0)){a=l;m=0;while(1){if((m|0)>=(f|0))break b;if((c[a>>2]|0)==(n|0))c[a>>2]=j;a=a+4|0;m=m+1|0}}}else{b[k>>1]=n;a=l;m=0;while(1){if((m|0)>=(f|0)){j=n;break b}if((c[a>>2]|0)==(j|0))c[a>>2]=n;a=a+4|0;m=m+1|0}}while(0);o=(j<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+r;c[i+1310736+(o+-1<<2)>>2]=r;break}a=b[k+-2>>1]|0;if(a<<16>>16<=0){b[k>>1]=n;j=o*7|0;a=i+1310736+(j+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(j+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+p;a=i+1310736+(j+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+r;a=i+1310736+(j+-4<<2)|0;if((c[a>>2]|0)>(p|0))c[a>>2]=p;c[i+1310736+(j+-1<<2)>>2]=r;break}j=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+((a<<16>>16)+-1<<2)>>2]|0;c:do if((j|0)<=(n|0)){b[k>>1]=j;if((j|0)<(n|0)){a=l;m=0;while(1){if((m|0)>=(f|0))break c;if((c[a>>2]|0)==(n|0))c[a>>2]=j;a=a+4|0;m=m+1|0}}}else{b[k>>1]=n;a=l;m=0;while(1){if((m|0)>=(f|0)){j=n;break c}if((c[a>>2]|0)==(j|0))c[a>>2]=n;a=a+4|0;m=m+1|0}}while(0);o=(j<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;o=i+1310736+(o+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+r}while(0);q=q+2|0;p=p+1|0;k=k+2|0}j=q+e+4|0;r=r+1|0;o=f;k=k+4|0}d:do if((j|0)==54){Ie(0,3,17520,v);f=-1}else if((j|0)==59){m=i+12|0;f=1;a=1;while(1){if((a|0)>(o|0))break;j=c[l>>2]|0;if((j|0)==(a|0))k=f+1|0;else{k=f;f=c[i+1179664+(j+-1<<2)>>2]|0}c[l>>2]=f;f=k;a=a+1|0;l=l+4|0}n=i+8|0;j=f+-1|0;c[n>>2]=j;if(!j)f=0;else{XN(m|0,0,j<<2|0)|0;XN(i+655376|0,0,j<<4|0)|0;f=0;while(1){if((f|0)>=(j|0))break;v=f<<2;c[i+131084+(v<<2)>>2]=x;c[i+131084+((v|1)<<2)>>2]=0;c[i+131084+((v|2)<<2)>>2]=w;c[i+131084+((v|3)<<2)>>2]=0;f=f+1|0}a=0;while(1){if((a|0)>=(o|0))break;k=(c[i+1179664+(a<<2)>>2]|0)+-1|0;l=a*7|0;f=i+12+(k<<2)|0;c[f>>2]=(c[f>>2]|0)+(c[i+1310736+(l<<2)>>2]|0);f=k<<1;j=i+655376+(f<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(l+1<<2)>>2]|0);f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]+ +(c[i+1310736+(l+2<<2)>>2]|0);k=k<<2;f=i+131084+(k<<2)|0;j=c[i+1310736+(l+3<<2)>>2]|0;if((c[f>>2]|0)>(j|0))c[f>>2]=j;f=i+131084+((k|1)<<2)|0;j=c[i+1310736+(l+4<<2)>>2]|0;if((c[f>>2]|0)<(j|0))c[f>>2]=j;f=i+131084+((k|2)<<2)|0;j=c[i+1310736+(l+5<<2)>>2]|0;if((c[f>>2]|0)>(j|0))c[f>>2]=j;j=i+131084+((k|3)<<2)|0;f=c[i+1310736+(l+6<<2)>>2]|0;if((c[j>>2]|0)<(f|0))c[j>>2]=f;a=a+1|0}j=c[n>>2]|0;f=0;while(1){if((f|0)>=(j|0)){f=0;break d}z=+(c[i+12+(f<<2)>>2]|0);x=f<<1;w=i+655376+(x<<3)|0;g[w>>3]=+g[w>>3]/z;x=i+655376+((x|1)<<3)|0;g[x>>3]=+g[x>>3]/z;f=f+1|0}}}while(0);yb=y;return f|0}function cc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=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.0;x=yb;yb=yb+16|0;w=x;n=c[i>>2]|0;v=f+-1|0;j=n;k=n+((C(v,e)|0)<<1)|0;l=0;while(1){if((l|0)>=(e|0))break;b[k>>1]=0;b[j>>1]=0;j=j+2|0;k=k+2|0;l=l+1|0}u=e+-1|0;j=n;k=n+(u<<1)|0;l=0;while(1){if((l|0)>=(f|0))break;b[k>>1]=0;b[j>>1]=0;j=j+(e<<1)|0;k=k+(e<<1)|0;l=l+1|0}m=i+1179664|0;l=e+1|0;t=0-e|0;k=a+l|0;s=1;p=0;l=n+(l<<1)|0;a:while(1){if((s|0)>=(v|0)){k=59;break}r=k;j=p;q=1;while(1){if((q|0)>=(u|0))break;do if((d[r>>0]|0|0)>(h|0))b[l>>1]=0;else{a=l+(t<<1)|0;k=b[a>>1]|0;if(k<<16>>16>0){b[l>>1]=k;p=(k<<16>>16)*7|0;o=i+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=i+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s;c[i+1310736+(p+-1<<2)>>2]=s;break}o=b[a+2>>1]|0;p=o<<16>>16;k=b[a+-2>>1]|0;n=k<<16>>16;a=k<<16>>16>0;if(o<<16>>16<=0){if(a){b[l>>1]=k;k=n*7|0;a=i+1310736+(k+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(k+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+q;a=i+1310736+(k+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+s;a=i+1310736+(k+-3<<2)|0;if((c[a>>2]|0)<(q|0))c[a>>2]=q;c[i+1310736+(k+-1<<2)>>2]=s;break}k=b[l+-2>>1]|0;if(k<<16>>16>0){b[l>>1]=k;k=(k<<16>>16)*7|0;p=i+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=i+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+q;p=i+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+s;k=i+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(q|0))break;c[k>>2]=q;break}else{k=j+1|0;if((j|0)>32767){k=54;break a}b[l>>1]=k;c[i+1179664+(j<<2)>>2]=k<<16>>16;j=j*7|0;c[i+1310736+(j<<2)>>2]=1;c[i+1310736+(j+1<<2)>>2]=q;c[i+1310736+(j+2<<2)>>2]=s;c[i+1310736+(j+3<<2)>>2]=q;c[i+1310736+(j+4<<2)>>2]=q;c[i+1310736+(j+5<<2)>>2]=s;c[i+1310736+(j+6<<2)>>2]=s;j=k;break}}if(a){k=c[i+1179664+(p+-1<<2)>>2]|0;o=c[i+1179664+(n+-1<<2)>>2]|0;b:do if((k|0)<=(o|0)){b[l>>1]=k;if((k|0)<(o|0)){a=m;n=0;while(1){if((n|0)>=(j|0))break b;if((c[a>>2]|0)==(o|0))c[a>>2]=k;a=a+4|0;n=n+1|0}}}else{b[l>>1]=o;a=m;n=0;while(1){if((n|0)>=(j|0)){k=o;break b}if((c[a>>2]|0)==(k|0))c[a>>2]=o;a=a+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=i+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=i+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s;c[i+1310736+(p+-1<<2)>>2]=s;break}k=b[l+-2>>1]|0;if(k<<16>>16<=0){b[l>>1]=o;k=p*7|0;a=i+1310736+(k+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(k+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+q;a=i+1310736+(k+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+s;a=i+1310736+(k+-4<<2)|0;if((c[a>>2]|0)>(q|0))c[a>>2]=q;c[i+1310736+(k+-1<<2)>>2]=s;break}o=c[i+1179664+(p+-1<<2)>>2]|0;k=c[i+1179664+((k<<16>>16)+-1<<2)>>2]|0;c:do if((o|0)<=(k|0)){b[l>>1]=o;if((o|0)<(k|0)){a=m;n=0;while(1){if((n|0)>=(j|0)){k=o;break c}if((c[a>>2]|0)==(k|0))c[a>>2]=o;a=a+4|0;n=n+1|0}}else k=o}else{b[l>>1]=k;a=m;n=0;while(1){if((n|0)>=(j|0))break c;if((c[a>>2]|0)==(o|0))c[a>>2]=k;a=a+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=i+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;p=i+1310736+(p+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+s}while(0);r=r+1|0;q=q+1|0;l=l+2|0}k=r+2|0;s=s+1|0;p=j;l=l+4|0}d:do if((k|0)==54){Ie(0,3,17520,w);j=-1}else if((k|0)==59){n=i+12|0;j=1;a=1;while(1){if((a|0)>(p|0))break;k=c[m>>2]|0;if((k|0)==(a|0))l=j+1|0;else{l=j;j=c[i+1179664+(k+-1<<2)>>2]|0}c[m>>2]=j;j=l;a=a+1|0;m=m+4|0}o=i+8|0;k=j+-1|0;c[o>>2]=k;if(!k)j=0;else{XN(n|0,0,k<<2|0)|0;XN(i+655376|0,0,k<<4|0)|0;j=0;while(1){if((j|0)>=(k|0))break;w=j<<2;c[i+131084+(w<<2)>>2]=e;c[i+131084+((w|1)<<2)>>2]=0;c[i+131084+((w|2)<<2)>>2]=f;c[i+131084+((w|3)<<2)>>2]=0;j=j+1|0}a=0;while(1){if((a|0)>=(p|0))break;l=(c[i+1179664+(a<<2)>>2]|0)+-1|0;m=a*7|0;j=i+12+(l<<2)|0;c[j>>2]=(c[j>>2]|0)+(c[i+1310736+(m<<2)>>2]|0);j=l<<1;k=i+655376+(j<<3)|0;g[k>>3]=+g[k>>3]+ +(c[i+1310736+(m+1<<2)>>2]|0);j=i+655376+((j|1)<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(m+2<<2)>>2]|0);l=l<<2;j=i+131084+(l<<2)|0;k=c[i+1310736+(m+3<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;j=i+131084+((l|1)<<2)|0;k=c[i+1310736+(m+4<<2)>>2]|0;if((c[j>>2]|0)<(k|0))c[j>>2]=k;j=i+131084+((l|2)<<2)|0;k=c[i+1310736+(m+5<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;k=i+131084+((l|3)<<2)|0;j=c[i+1310736+(m+6<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;a=a+1|0}k=c[o>>2]|0;j=0;while(1){if((j|0)>=(k|0)){j=0;break d}y=+(c[i+12+(j<<2)>>2]|0);f=j<<1;e=i+655376+(f<<3)|0;g[e>>3]=+g[e>>3]/y;f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]/y;j=j+1|0}}}while(0);yb=x;return j|0}function dc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=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.0;x=yb;yb=yb+16|0;w=x;n=c[i>>2]|0;v=f+-1|0;j=n;k=0;l=n+((C(v,e)|0)<<1)|0;while(1){if((k|0)>=(e|0))break;b[l>>1]=0;b[j>>1]=0;j=j+2|0;k=k+1|0;l=l+2|0}u=e+-1|0;j=n;k=0;l=n+(u<<1)|0;while(1){if((k|0)>=(f|0))break;b[l>>1]=0;b[j>>1]=0;j=j+(e<<1)|0;k=k+1|0;l=l+(e<<1)|0}m=i+1179664|0;l=e+1|0;t=0-e|0;a=a+l|0;k=h+l|0;s=1;o=0;l=n+(l<<1)|0;a:while(1){if((s|0)>=(v|0)){k=59;break}q=k;j=o;p=1;r=l;while(1){if((p|0)>=(u|0))break;do if((d[a>>0]|0)>(d[q>>0]|0))b[r>>1]=0;else{l=r+(t<<1)|0;k=b[l>>1]|0;if(k<<16>>16>0){b[r>>1]=k;o=(k<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;c[i+1310736+(o+-1<<2)>>2]=s;break}n=b[l+2>>1]|0;o=n<<16>>16;k=b[l+-2>>1]|0;h=k<<16>>16;l=k<<16>>16>0;if(n<<16>>16<=0){if(l){b[r>>1]=k;k=h*7|0;l=i+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=i+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+p;l=i+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+s;l=i+1310736+(k+-3<<2)|0;if((c[l>>2]|0)<(p|0))c[l>>2]=p;c[i+1310736+(k+-1<<2)>>2]=s;break}k=b[r+-2>>1]|0;if(k<<16>>16>0){b[r>>1]=k;k=(k<<16>>16)*7|0;o=i+1310736+(k+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(k+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+p;o=i+1310736+(k+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s;k=i+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(p|0))break;c[k>>2]=p;break}else{k=j+1|0;if((j|0)>32767){k=54;break a}b[r>>1]=k;c[i+1179664+(j<<2)>>2]=k<<16>>16;j=j*7|0;c[i+1310736+(j<<2)>>2]=1;c[i+1310736+(j+1<<2)>>2]=p;c[i+1310736+(j+2<<2)>>2]=s;c[i+1310736+(j+3<<2)>>2]=p;c[i+1310736+(j+4<<2)>>2]=p;c[i+1310736+(j+5<<2)>>2]=s;c[i+1310736+(j+6<<2)>>2]=s;j=k;break}}if(l){k=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+(h+-1<<2)>>2]|0;b:do if((k|0)<=(n|0)){b[r>>1]=k;if((k|0)<(n|0)){l=m;h=0;while(1){if((h|0)>=(j|0))break b;if((c[l>>2]|0)==(n|0))c[l>>2]=k;l=l+4|0;h=h+1|0}}}else{b[r>>1]=n;l=m;h=0;while(1){if((h|0)>=(j|0)){k=n;break b}if((c[l>>2]|0)==(k|0))c[l>>2]=n;l=l+4|0;h=h+1|0}}while(0);o=(k<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;c[i+1310736+(o+-1<<2)>>2]=s;break}l=b[r+-2>>1]|0;if(l<<16>>16<=0){b[r>>1]=n;k=o*7|0;l=i+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=i+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+p;l=i+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+s;l=i+1310736+(k+-4<<2)|0;if((c[l>>2]|0)>(p|0))c[l>>2]=p;c[i+1310736+(k+-1<<2)>>2]=s;break}k=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+((l<<16>>16)+-1<<2)>>2]|0;c:do if((k|0)<=(n|0)){b[r>>1]=k;if((k|0)<(n|0)){l=m;h=0;while(1){if((h|0)>=(j|0))break c;if((c[l>>2]|0)==(n|0))c[l>>2]=k;l=l+4|0;h=h+1|0}}}else{b[r>>1]=n;l=m;h=0;while(1){if((h|0)>=(j|0)){k=n;break c}if((c[l>>2]|0)==(k|0))c[l>>2]=n;l=l+4|0;h=h+1|0}}while(0);o=(k<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;o=i+1310736+(o+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s}while(0);a=a+1|0;q=q+1|0;p=p+1|0;r=r+2|0}a=a+2|0;k=q+2|0;s=s+1|0;o=j;l=r+4|0}d:do if((k|0)==54){Ie(0,3,17520,w);j=-1}else if((k|0)==59){h=i+12|0;j=1;a=1;while(1){if((a|0)>(o|0))break;k=c[m>>2]|0;if((k|0)==(a|0))l=j+1|0;else{l=j;j=c[i+1179664+(k+-1<<2)>>2]|0}c[m>>2]=j;j=l;a=a+1|0;m=m+4|0}n=i+8|0;k=j+-1|0;c[n>>2]=k;if(!k)j=0;else{XN(h|0,0,k<<2|0)|0;XN(i+655376|0,0,k<<4|0)|0;j=0;while(1){if((j|0)>=(k|0))break;w=j<<2;c[i+131084+(w<<2)>>2]=e;c[i+131084+((w|1)<<2)>>2]=0;c[i+131084+((w|2)<<2)>>2]=f;c[i+131084+((w|3)<<2)>>2]=0;j=j+1|0}a=0;while(1){if((a|0)>=(o|0))break;l=(c[i+1179664+(a<<2)>>2]|0)+-1|0;m=a*7|0;j=i+12+(l<<2)|0;c[j>>2]=(c[j>>2]|0)+(c[i+1310736+(m<<2)>>2]|0);j=l<<1;k=i+655376+(j<<3)|0;g[k>>3]=+g[k>>3]+ +(c[i+1310736+(m+1<<2)>>2]|0);j=i+655376+((j|1)<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(m+2<<2)>>2]|0);l=l<<2;j=i+131084+(l<<2)|0;k=c[i+1310736+(m+3<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;j=i+131084+((l|1)<<2)|0;k=c[i+1310736+(m+4<<2)>>2]|0;if((c[j>>2]|0)<(k|0))c[j>>2]=k;j=i+131084+((l|2)<<2)|0;k=c[i+1310736+(m+5<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;k=i+131084+((l|3)<<2)|0;j=c[i+1310736+(m+6<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;a=a+1|0}k=c[n>>2]|0;j=0;while(1){if((j|0)>=(k|0)){j=0;break d}y=+(c[i+12+(j<<2)>>2]|0);f=j<<1;e=i+655376+(f<<3)|0;g[e>>3]=+g[e>>3]/y;f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]/y;j=j+1|0}}}while(0);yb=x;return j|0}function ec(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=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=yb;yb=yb+16|0;v=y;x=(e|0)/2|0;w=(f|0)/2|0;m=c[i>>2]|0;u=w+-1|0;f=m;j=m+((C(u,x)|0)<<1)|0;k=0;while(1){if((k|0)>=(x|0))break;b[j>>1]=0;b[f>>1]=0;f=f+2|0;j=j+2|0;k=k+1|0}t=x+-1|0;f=m;j=m+(t<<1)|0;k=0;while(1){if((k|0)>=(w|0))break;b[j>>1]=0;b[f>>1]=0;f=f+(x<<1)|0;j=j+(x<<1)|0;k=k+1|0}l=i+1179664|0;s=0-x|0;j=a+((e<<1)+2)|0;r=1;o=0;k=m+(x+1<<1)|0;a:while(1){if((r|0)>=(u|0)){j=59;break}q=j;f=o;p=1;while(1){if((p|0)>=(t|0))break;do if((d[q>>0]|0|0)>(h|0)){a=k+(s<<1)|0;j=b[a>>1]|0;if(j<<16>>16>0){b[k>>1]=j;o=(j<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+r;c[i+1310736+(o+-1<<2)>>2]=r;break}n=b[a+2>>1]|0;o=n<<16>>16;j=b[a+-2>>1]|0;m=j<<16>>16;a=j<<16>>16>0;if(n<<16>>16<=0){if(a){b[k>>1]=j;j=m*7|0;a=i+1310736+(j+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(j+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+p;a=i+1310736+(j+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+r;a=i+1310736+(j+-3<<2)|0;if((c[a>>2]|0)<(p|0))c[a>>2]=p;c[i+1310736+(j+-1<<2)>>2]=r;break}j=b[k+-2>>1]|0;if(j<<16>>16>0){b[k>>1]=j;j=(j<<16>>16)*7|0;o=i+1310736+(j+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(j+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+p;o=i+1310736+(j+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+r;j=i+1310736+(j+-3<<2)|0;if((c[j>>2]|0)>=(p|0))break;c[j>>2]=p;break}else{j=f+1|0;if((f|0)>32767){j=54;break a}b[k>>1]=j;c[i+1179664+(f<<2)>>2]=j<<16>>16;f=f*7|0;c[i+1310736+(f<<2)>>2]=1;c[i+1310736+(f+1<<2)>>2]=p;c[i+1310736+(f+2<<2)>>2]=r;c[i+1310736+(f+3<<2)>>2]=p;c[i+1310736+(f+4<<2)>>2]=p;c[i+1310736+(f+5<<2)>>2]=r;c[i+1310736+(f+6<<2)>>2]=r;f=j;break}}if(a){j=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+(m+-1<<2)>>2]|0;b:do if((j|0)<=(n|0)){b[k>>1]=j;if((j|0)<(n|0)){a=l;m=0;while(1){if((m|0)>=(f|0))break b;if((c[a>>2]|0)==(n|0))c[a>>2]=j;a=a+4|0;m=m+1|0}}}else{b[k>>1]=n;a=l;m=0;while(1){if((m|0)>=(f|0)){j=n;break b}if((c[a>>2]|0)==(j|0))c[a>>2]=n;a=a+4|0;m=m+1|0}}while(0);o=(j<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+r;c[i+1310736+(o+-1<<2)>>2]=r;break}a=b[k+-2>>1]|0;if(a<<16>>16<=0){b[k>>1]=n;j=o*7|0;a=i+1310736+(j+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(j+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+p;a=i+1310736+(j+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+r;a=i+1310736+(j+-4<<2)|0;if((c[a>>2]|0)>(p|0))c[a>>2]=p;c[i+1310736+(j+-1<<2)>>2]=r;break}j=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+((a<<16>>16)+-1<<2)>>2]|0;c:do if((j|0)<=(n|0)){b[k>>1]=j;if((j|0)<(n|0)){a=l;m=0;while(1){if((m|0)>=(f|0))break c;if((c[a>>2]|0)==(n|0))c[a>>2]=j;a=a+4|0;m=m+1|0}}}else{b[k>>1]=n;a=l;m=0;while(1){if((m|0)>=(f|0)){j=n;break c}if((c[a>>2]|0)==(j|0))c[a>>2]=n;a=a+4|0;m=m+1|0}}while(0);o=(j<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;o=i+1310736+(o+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+r}else b[k>>1]=0;while(0);q=q+2|0;p=p+1|0;k=k+2|0}j=q+e+4|0;r=r+1|0;o=f;k=k+4|0}d:do if((j|0)==54){Ie(0,3,17520,v);f=-1}else if((j|0)==59){m=i+12|0;f=1;a=1;while(1){if((a|0)>(o|0))break;j=c[l>>2]|0;if((j|0)==(a|0))k=f+1|0;else{k=f;f=c[i+1179664+(j+-1<<2)>>2]|0}c[l>>2]=f;f=k;a=a+1|0;l=l+4|0}n=i+8|0;j=f+-1|0;c[n>>2]=j;if(!j)f=0;else{XN(m|0,0,j<<2|0)|0;XN(i+655376|0,0,j<<4|0)|0;f=0;while(1){if((f|0)>=(j|0))break;v=f<<2;c[i+131084+(v<<2)>>2]=x;c[i+131084+((v|1)<<2)>>2]=0;c[i+131084+((v|2)<<2)>>2]=w;c[i+131084+((v|3)<<2)>>2]=0;f=f+1|0}a=0;while(1){if((a|0)>=(o|0))break;k=(c[i+1179664+(a<<2)>>2]|0)+-1|0;l=a*7|0;f=i+12+(k<<2)|0;c[f>>2]=(c[f>>2]|0)+(c[i+1310736+(l<<2)>>2]|0);f=k<<1;j=i+655376+(f<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(l+1<<2)>>2]|0);f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]+ +(c[i+1310736+(l+2<<2)>>2]|0);k=k<<2;f=i+131084+(k<<2)|0;j=c[i+1310736+(l+3<<2)>>2]|0;if((c[f>>2]|0)>(j|0))c[f>>2]=j;f=i+131084+((k|1)<<2)|0;j=c[i+1310736+(l+4<<2)>>2]|0;if((c[f>>2]|0)<(j|0))c[f>>2]=j;f=i+131084+((k|2)<<2)|0;j=c[i+1310736+(l+5<<2)>>2]|0;if((c[f>>2]|0)>(j|0))c[f>>2]=j;j=i+131084+((k|3)<<2)|0;f=c[i+1310736+(l+6<<2)>>2]|0;if((c[j>>2]|0)<(f|0))c[j>>2]=f;a=a+1|0}j=c[n>>2]|0;f=0;while(1){if((f|0)>=(j|0)){f=0;break d}z=+(c[i+12+(f<<2)>>2]|0);x=f<<1;w=i+655376+(x<<3)|0;g[w>>3]=+g[w>>3]/z;x=i+655376+((x|1)<<3)|0;g[x>>3]=+g[x>>3]/z;f=f+1|0}}}while(0);yb=y;return f|0}function fc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=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.0;x=yb;yb=yb+16|0;w=x;n=c[i>>2]|0;v=f+-1|0;j=n;k=n+((C(v,e)|0)<<1)|0;l=0;while(1){if((l|0)>=(e|0))break;b[k>>1]=0;b[j>>1]=0;j=j+2|0;k=k+2|0;l=l+1|0}u=e+-1|0;j=n;k=n+(u<<1)|0;l=0;while(1){if((l|0)>=(f|0))break;b[k>>1]=0;b[j>>1]=0;j=j+(e<<1)|0;k=k+(e<<1)|0;l=l+1|0}m=i+1179664|0;l=e+1|0;t=0-e|0;k=a+l|0;s=1;p=0;l=n+(l<<1)|0;a:while(1){if((s|0)>=(v|0)){k=59;break}r=k;j=p;q=1;while(1){if((q|0)>=(u|0))break;do if((d[r>>0]|0|0)>(h|0)){a=l+(t<<1)|0;k=b[a>>1]|0;if(k<<16>>16>0){b[l>>1]=k;p=(k<<16>>16)*7|0;o=i+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=i+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s;c[i+1310736+(p+-1<<2)>>2]=s;break}o=b[a+2>>1]|0;p=o<<16>>16;k=b[a+-2>>1]|0;n=k<<16>>16;a=k<<16>>16>0;if(o<<16>>16<=0){if(a){b[l>>1]=k;k=n*7|0;a=i+1310736+(k+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(k+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+q;a=i+1310736+(k+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+s;a=i+1310736+(k+-3<<2)|0;if((c[a>>2]|0)<(q|0))c[a>>2]=q;c[i+1310736+(k+-1<<2)>>2]=s;break}k=b[l+-2>>1]|0;if(k<<16>>16>0){b[l>>1]=k;k=(k<<16>>16)*7|0;p=i+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=i+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+q;p=i+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+s;k=i+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(q|0))break;c[k>>2]=q;break}else{k=j+1|0;if((j|0)>32767){k=54;break a}b[l>>1]=k;c[i+1179664+(j<<2)>>2]=k<<16>>16;j=j*7|0;c[i+1310736+(j<<2)>>2]=1;c[i+1310736+(j+1<<2)>>2]=q;c[i+1310736+(j+2<<2)>>2]=s;c[i+1310736+(j+3<<2)>>2]=q;c[i+1310736+(j+4<<2)>>2]=q;c[i+1310736+(j+5<<2)>>2]=s;c[i+1310736+(j+6<<2)>>2]=s;j=k;break}}if(a){k=c[i+1179664+(p+-1<<2)>>2]|0;o=c[i+1179664+(n+-1<<2)>>2]|0;b:do if((k|0)<=(o|0)){b[l>>1]=k;if((k|0)<(o|0)){a=m;n=0;while(1){if((n|0)>=(j|0))break b;if((c[a>>2]|0)==(o|0))c[a>>2]=k;a=a+4|0;n=n+1|0}}}else{b[l>>1]=o;a=m;n=0;while(1){if((n|0)>=(j|0)){k=o;break b}if((c[a>>2]|0)==(k|0))c[a>>2]=o;a=a+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=i+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=i+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s;c[i+1310736+(p+-1<<2)>>2]=s;break}k=b[l+-2>>1]|0;if(k<<16>>16<=0){b[l>>1]=o;k=p*7|0;a=i+1310736+(k+-7<<2)|0;c[a>>2]=(c[a>>2]|0)+1;a=i+1310736+(k+-6<<2)|0;c[a>>2]=(c[a>>2]|0)+q;a=i+1310736+(k+-5<<2)|0;c[a>>2]=(c[a>>2]|0)+s;a=i+1310736+(k+-4<<2)|0;if((c[a>>2]|0)>(q|0))c[a>>2]=q;c[i+1310736+(k+-1<<2)>>2]=s;break}o=c[i+1179664+(p+-1<<2)>>2]|0;k=c[i+1179664+((k<<16>>16)+-1<<2)>>2]|0;c:do if((o|0)<=(k|0)){b[l>>1]=o;if((o|0)<(k|0)){a=m;n=0;while(1){if((n|0)>=(j|0)){k=o;break c}if((c[a>>2]|0)==(k|0))c[a>>2]=o;a=a+4|0;n=n+1|0}}else k=o}else{b[l>>1]=k;a=m;n=0;while(1){if((n|0)>=(j|0))break c;if((c[a>>2]|0)==(o|0))c[a>>2]=k;a=a+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=i+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;p=i+1310736+(p+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+s}else b[l>>1]=0;while(0);r=r+1|0;q=q+1|0;l=l+2|0}k=r+2|0;s=s+1|0;p=j;l=l+4|0}d:do if((k|0)==54){Ie(0,3,17520,w);j=-1}else if((k|0)==59){n=i+12|0;j=1;a=1;while(1){if((a|0)>(p|0))break;k=c[m>>2]|0;if((k|0)==(a|0))l=j+1|0;else{l=j;j=c[i+1179664+(k+-1<<2)>>2]|0}c[m>>2]=j;j=l;a=a+1|0;m=m+4|0}o=i+8|0;k=j+-1|0;c[o>>2]=k;if(!k)j=0;else{XN(n|0,0,k<<2|0)|0;XN(i+655376|0,0,k<<4|0)|0;j=0;while(1){if((j|0)>=(k|0))break;w=j<<2;c[i+131084+(w<<2)>>2]=e;c[i+131084+((w|1)<<2)>>2]=0;c[i+131084+((w|2)<<2)>>2]=f;c[i+131084+((w|3)<<2)>>2]=0;j=j+1|0}a=0;while(1){if((a|0)>=(p|0))break;l=(c[i+1179664+(a<<2)>>2]|0)+-1|0;m=a*7|0;j=i+12+(l<<2)|0;c[j>>2]=(c[j>>2]|0)+(c[i+1310736+(m<<2)>>2]|0);j=l<<1;k=i+655376+(j<<3)|0;g[k>>3]=+g[k>>3]+ +(c[i+1310736+(m+1<<2)>>2]|0);j=i+655376+((j|1)<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(m+2<<2)>>2]|0);l=l<<2;j=i+131084+(l<<2)|0;k=c[i+1310736+(m+3<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;j=i+131084+((l|1)<<2)|0;k=c[i+1310736+(m+4<<2)>>2]|0;if((c[j>>2]|0)<(k|0))c[j>>2]=k;j=i+131084+((l|2)<<2)|0;k=c[i+1310736+(m+5<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;k=i+131084+((l|3)<<2)|0;j=c[i+1310736+(m+6<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;a=a+1|0}k=c[o>>2]|0;j=0;while(1){if((j|0)>=(k|0)){j=0;break d}y=+(c[i+12+(j<<2)>>2]|0);f=j<<1;e=i+655376+(f<<3)|0;g[e>>3]=+g[e>>3]/y;f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]/y;j=j+1|0}}}while(0);yb=x;return j|0}function gc(a,e,f,h,i){a=a|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=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.0;x=yb;yb=yb+16|0;w=x;n=c[i>>2]|0;v=f+-1|0;j=n;k=0;l=n+((C(v,e)|0)<<1)|0;while(1){if((k|0)>=(e|0))break;b[l>>1]=0;b[j>>1]=0;j=j+2|0;k=k+1|0;l=l+2|0}u=e+-1|0;j=n;k=0;l=n+(u<<1)|0;while(1){if((k|0)>=(f|0))break;b[l>>1]=0;b[j>>1]=0;j=j+(e<<1)|0;k=k+1|0;l=l+(e<<1)|0}m=i+1179664|0;l=e+1|0;t=0-e|0;a=a+l|0;k=h+l|0;s=1;o=0;l=n+(l<<1)|0;a:while(1){if((s|0)>=(v|0)){k=59;break}q=k;j=o;p=1;r=l;while(1){if((p|0)>=(u|0))break;do if((d[a>>0]|0)>(d[q>>0]|0)){l=r+(t<<1)|0;k=b[l>>1]|0;if(k<<16>>16>0){b[r>>1]=k;o=(k<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;c[i+1310736+(o+-1<<2)>>2]=s;break}n=b[l+2>>1]|0;o=n<<16>>16;k=b[l+-2>>1]|0;h=k<<16>>16;l=k<<16>>16>0;if(n<<16>>16<=0){if(l){b[r>>1]=k;k=h*7|0;l=i+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=i+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+p;l=i+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+s;l=i+1310736+(k+-3<<2)|0;if((c[l>>2]|0)<(p|0))c[l>>2]=p;c[i+1310736+(k+-1<<2)>>2]=s;break}k=b[r+-2>>1]|0;if(k<<16>>16>0){b[r>>1]=k;k=(k<<16>>16)*7|0;o=i+1310736+(k+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=i+1310736+(k+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+p;o=i+1310736+(k+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s;k=i+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(p|0))break;c[k>>2]=p;break}else{k=j+1|0;if((j|0)>32767){k=54;break a}b[r>>1]=k;c[i+1179664+(j<<2)>>2]=k<<16>>16;j=j*7|0;c[i+1310736+(j<<2)>>2]=1;c[i+1310736+(j+1<<2)>>2]=p;c[i+1310736+(j+2<<2)>>2]=s;c[i+1310736+(j+3<<2)>>2]=p;c[i+1310736+(j+4<<2)>>2]=p;c[i+1310736+(j+5<<2)>>2]=s;c[i+1310736+(j+6<<2)>>2]=s;j=k;break}}if(l){k=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+(h+-1<<2)>>2]|0;b:do if((k|0)<=(n|0)){b[r>>1]=k;if((k|0)<(n|0)){l=m;h=0;while(1){if((h|0)>=(j|0))break b;if((c[l>>2]|0)==(n|0))c[l>>2]=k;l=l+4|0;h=h+1|0}}}else{b[r>>1]=n;l=m;h=0;while(1){if((h|0)>=(j|0)){k=n;break b}if((c[l>>2]|0)==(k|0))c[l>>2]=n;l=l+4|0;h=h+1|0}}while(0);o=(k<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;n=i+1310736+(o+-5<<2)|0;c[n>>2]=(c[n>>2]|0)+s;c[i+1310736+(o+-1<<2)>>2]=s;break}l=b[r+-2>>1]|0;if(l<<16>>16<=0){b[r>>1]=n;k=o*7|0;l=i+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=i+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+p;l=i+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+s;l=i+1310736+(k+-4<<2)|0;if((c[l>>2]|0)>(p|0))c[l>>2]=p;c[i+1310736+(k+-1<<2)>>2]=s;break}k=c[i+1179664+(o+-1<<2)>>2]|0;n=c[i+1179664+((l<<16>>16)+-1<<2)>>2]|0;c:do if((k|0)<=(n|0)){b[r>>1]=k;if((k|0)<(n|0)){l=m;h=0;while(1){if((h|0)>=(j|0))break c;if((c[l>>2]|0)==(n|0))c[l>>2]=k;l=l+4|0;h=h+1|0}}}else{b[r>>1]=n;l=m;h=0;while(1){if((h|0)>=(j|0)){k=n;break c}if((c[l>>2]|0)==(k|0))c[l>>2]=n;l=l+4|0;h=h+1|0}}while(0);o=(k<<16>>16)*7|0;n=i+1310736+(o+-7<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=i+1310736+(o+-6<<2)|0;c[n>>2]=(c[n>>2]|0)+p;o=i+1310736+(o+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+s}else b[r>>1]=0;while(0);a=a+1|0;q=q+1|0;p=p+1|0;r=r+2|0}a=a+2|0;k=q+2|0;s=s+1|0;o=j;l=r+4|0}d:do if((k|0)==54){Ie(0,3,17520,w);j=-1}else if((k|0)==59){h=i+12|0;j=1;a=1;while(1){if((a|0)>(o|0))break;k=c[m>>2]|0;if((k|0)==(a|0))l=j+1|0;else{l=j;j=c[i+1179664+(k+-1<<2)>>2]|0}c[m>>2]=j;j=l;a=a+1|0;m=m+4|0}n=i+8|0;k=j+-1|0;c[n>>2]=k;if(!k)j=0;else{XN(h|0,0,k<<2|0)|0;XN(i+655376|0,0,k<<4|0)|0;j=0;while(1){if((j|0)>=(k|0))break;w=j<<2;c[i+131084+(w<<2)>>2]=e;c[i+131084+((w|1)<<2)>>2]=0;c[i+131084+((w|2)<<2)>>2]=f;c[i+131084+((w|3)<<2)>>2]=0;j=j+1|0}a=0;while(1){if((a|0)>=(o|0))break;l=(c[i+1179664+(a<<2)>>2]|0)+-1|0;m=a*7|0;j=i+12+(l<<2)|0;c[j>>2]=(c[j>>2]|0)+(c[i+1310736+(m<<2)>>2]|0);j=l<<1;k=i+655376+(j<<3)|0;g[k>>3]=+g[k>>3]+ +(c[i+1310736+(m+1<<2)>>2]|0);j=i+655376+((j|1)<<3)|0;g[j>>3]=+g[j>>3]+ +(c[i+1310736+(m+2<<2)>>2]|0);l=l<<2;j=i+131084+(l<<2)|0;k=c[i+1310736+(m+3<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;j=i+131084+((l|1)<<2)|0;k=c[i+1310736+(m+4<<2)>>2]|0;if((c[j>>2]|0)<(k|0))c[j>>2]=k;j=i+131084+((l|2)<<2)|0;k=c[i+1310736+(m+5<<2)>>2]|0;if((c[j>>2]|0)>(k|0))c[j>>2]=k;k=i+131084+((l|3)<<2)|0;j=c[i+1310736+(m+6<<2)>>2]|0;if((c[k>>2]|0)<(j|0))c[k>>2]=j;a=a+1|0}k=c[n>>2]|0;j=0;while(1){if((j|0)>=(k|0)){j=0;break d}y=+(c[i+12+(j<<2)>>2]|0);f=j<<1;e=i+655376+(f<<3)|0;g[e>>3]=+g[e>>3]/y;f=i+655376+((f|1)<<3)|0;g[f>>3]=+g[f>>3]/y;j=j+1|0}}}while(0);yb=x;return j|0}function hc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=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.0;A=yb;yb=yb+16|0;x=A;z=(f|0)/2|0;y=(h|0)/2|0;n=c[j>>2]|0;w=y+-1|0;h=n;k=n+((C(w,z)|0)<<1)|0;l=0;while(1){if((l|0)>=(z|0))break;b[k>>1]=0;b[h>>1]=0;h=h+2|0;k=k+2|0;l=l+1|0}v=z+-1|0;h=n;k=n+(v<<1)|0;l=0;while(1){if((l|0)>=(y|0))break;b[k>>1]=0;b[h>>1]=0;h=h+(z<<1)|0;k=k+(z<<1)|0;l=l+1|0}m=j+1179664|0;s=z+1|0;u=0-z|0;k=e+((f<<1)+2)|0;t=1;p=0;l=(c[j+4>>2]|0)+s|0;e=n+(s<<1)|0;a:while(1){if((t|0)>=(w|0)){k=59;break}r=k;h=p;s=l;q=1;while(1){if((q|0)>=(v|0))break;do if((d[r>>0]|0|0)>(i|0)){b[e>>1]=0;a[s>>0]=0}else{a[s>>0]=-1;l=e+(u<<1)|0;k=b[l>>1]|0;if(k<<16>>16>0){b[e>>1]=k;p=(k<<16>>16)*7|0;o=j+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=j+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;c[j+1310736+(p+-1<<2)>>2]=t;break}o=b[l+2>>1]|0;p=o<<16>>16;k=b[l+-2>>1]|0;n=k<<16>>16;l=k<<16>>16>0;if(o<<16>>16<=0){if(l){b[e>>1]=k;k=n*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+q;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+t;l=j+1310736+(k+-3<<2)|0;if((c[l>>2]|0)<(q|0))c[l>>2]=q;c[j+1310736+(k+-1<<2)>>2]=t;break}k=b[e+-2>>1]|0;if(k<<16>>16>0){b[e>>1]=k;k=(k<<16>>16)*7|0;p=j+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+q;p=j+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+t;k=j+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(q|0))break;c[k>>2]=q;break}else{k=h+1|0;if((h|0)>32767){k=54;break a}b[e>>1]=k;c[j+1179664+(h<<2)>>2]=k<<16>>16;h=h*7|0;c[j+1310736+(h<<2)>>2]=1;c[j+1310736+(h+1<<2)>>2]=q;c[j+1310736+(h+2<<2)>>2]=t;c[j+1310736+(h+3<<2)>>2]=q;c[j+1310736+(h+4<<2)>>2]=q;c[j+1310736+(h+5<<2)>>2]=t;c[j+1310736+(h+6<<2)>>2]=t;h=k;break}}if(l){k=c[j+1179664+(p+-1<<2)>>2]|0;o=c[j+1179664+(n+-1<<2)>>2]|0;b:do if((k|0)<=(o|0)){b[e>>1]=k;if((k|0)<(o|0)){l=m;n=0;while(1){if((n|0)>=(h|0))break b;if((c[l>>2]|0)==(o|0))c[l>>2]=k;l=l+4|0;n=n+1|0}}}else{b[e>>1]=o;l=m;n=0;while(1){if((n|0)>=(h|0)){k=o;break b}if((c[l>>2]|0)==(k|0))c[l>>2]=o;l=l+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=j+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=j+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;c[j+1310736+(p+-1<<2)>>2]=t;break}l=b[e+-2>>1]|0;if(l<<16>>16<=0){b[e>>1]=o;k=p*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+q;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+t;l=j+1310736+(k+-4<<2)|0;if((c[l>>2]|0)>(q|0))c[l>>2]=q;c[j+1310736+(k+-1<<2)>>2]=t;break}k=c[j+1179664+(p+-1<<2)>>2]|0;o=c[j+1179664+((l<<16>>16)+-1<<2)>>2]|0;c:do if((k|0)<=(o|0)){b[e>>1]=k;if((k|0)<(o|0)){l=m;n=0;while(1){if((n|0)>=(h|0))break c;if((c[l>>2]|0)==(o|0))c[l>>2]=k;l=l+4|0;n=n+1|0}}}else{b[e>>1]=o;l=m;n=0;while(1){if((n|0)>=(h|0)){k=o;break c}if((c[l>>2]|0)==(k|0))c[l>>2]=o;l=l+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=j+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;p=j+1310736+(p+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+t}while(0);r=r+2|0;s=s+1|0;q=q+1|0;e=e+2|0}k=r+f+4|0;t=t+1|0;p=h;l=s+2|0;e=e+4|0}d:do if((k|0)==54){Ie(0,3,17520,x);h=-1}else if((k|0)==59){n=j+12|0;h=1;e=1;while(1){if((e|0)>(p|0))break;k=c[m>>2]|0;if((k|0)==(e|0))l=h+1|0;else{l=h;h=c[j+1179664+(k+-1<<2)>>2]|0}c[m>>2]=h;h=l;e=e+1|0;m=m+4|0}o=j+8|0;k=h+-1|0;c[o>>2]=k;if(!k)h=0;else{XN(n|0,0,k<<2|0)|0;XN(j+655376|0,0,k<<4|0)|0;h=0;while(1){if((h|0)>=(k|0))break;x=h<<2;c[j+131084+(x<<2)>>2]=z;c[j+131084+((x|1)<<2)>>2]=0;c[j+131084+((x|2)<<2)>>2]=y;c[j+131084+((x|3)<<2)>>2]=0;h=h+1|0}e=0;while(1){if((e|0)>=(p|0))break;l=(c[j+1179664+(e<<2)>>2]|0)+-1|0;m=e*7|0;h=j+12+(l<<2)|0;c[h>>2]=(c[h>>2]|0)+(c[j+1310736+(m<<2)>>2]|0);h=l<<1;k=j+655376+(h<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(m+1<<2)>>2]|0);h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]+ +(c[j+1310736+(m+2<<2)>>2]|0);l=l<<2;h=j+131084+(l<<2)|0;k=c[j+1310736+(m+3<<2)>>2]|0;if((c[h>>2]|0)>(k|0))c[h>>2]=k;h=j+131084+((l|1)<<2)|0;k=c[j+1310736+(m+4<<2)>>2]|0;if((c[h>>2]|0)<(k|0))c[h>>2]=k;h=j+131084+((l|2)<<2)|0;k=c[j+1310736+(m+5<<2)>>2]|0;if((c[h>>2]|0)>(k|0))c[h>>2]=k;k=j+131084+((l|3)<<2)|0;h=c[j+1310736+(m+6<<2)>>2]|0;if((c[k>>2]|0)<(h|0))c[k>>2]=h;e=e+1|0}k=c[o>>2]|0;h=0;while(1){if((h|0)>=(k|0)){h=0;break d}B=+(c[j+12+(h<<2)>>2]|0);z=h<<1;y=j+655376+(z<<3)|0;g[y>>3]=+g[y>>3]/B;z=j+655376+((z|1)<<3)|0;g[z>>3]=+g[z>>3]/B;h=h+1|0}}}while(0);yb=A;return h|0}function ic(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=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=yb;yb=yb+16|0;y=z;o=c[j>>2]|0;x=h+-1|0;k=o;l=o+((C(x,f)|0)<<1)|0;m=0;while(1){if((m|0)>=(f|0))break;b[l>>1]=0;b[k>>1]=0;k=k+2|0;l=l+2|0;m=m+1|0}w=f+-1|0;k=o;l=o+(w<<1)|0;m=0;while(1){if((m|0)>=(h|0))break;b[l>>1]=0;b[k>>1]=0;k=k+(f<<1)|0;l=l+(f<<1)|0;m=m+1|0}n=j+1179664|0;t=f+1|0;v=0-f|0;l=e+t|0;u=1;q=0;m=(c[j+4>>2]|0)+t|0;e=o+(t<<1)|0;a:while(1){if((u|0)>=(x|0)){l=59;break}s=l;k=q;t=m;r=1;while(1){if((r|0)>=(w|0))break;do if((d[s>>0]|0|0)>(i|0)){b[e>>1]=0;a[t>>0]=0}else{a[t>>0]=-1;m=e+(v<<1)|0;l=b[m>>1]|0;if(l<<16>>16>0){b[e>>1]=l;q=(l<<16>>16)*7|0;p=j+1310736+(q+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(q+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+r;p=j+1310736+(q+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;c[j+1310736+(q+-1<<2)>>2]=u;break}p=b[m+2>>1]|0;q=p<<16>>16;l=b[m+-2>>1]|0;o=l<<16>>16;m=l<<16>>16>0;if(p<<16>>16<=0){if(m){b[e>>1]=l;l=o*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+r;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-3<<2)|0;if((c[m>>2]|0)<(r|0))c[m>>2]=r;c[j+1310736+(l+-1<<2)>>2]=u;break}l=b[e+-2>>1]|0;if(l<<16>>16>0){b[e>>1]=l;l=(l<<16>>16)*7|0;q=j+1310736+(l+-7<<2)|0;c[q>>2]=(c[q>>2]|0)+1;q=j+1310736+(l+-6<<2)|0;c[q>>2]=(c[q>>2]|0)+r;q=j+1310736+(l+-5<<2)|0;c[q>>2]=(c[q>>2]|0)+u;l=j+1310736+(l+-3<<2)|0;if((c[l>>2]|0)>=(r|0))break;c[l>>2]=r;break}else{l=k+1|0;if((k|0)>32767){l=54;break a}b[e>>1]=l;c[j+1179664+(k<<2)>>2]=l<<16>>16;k=k*7|0;c[j+1310736+(k<<2)>>2]=1;c[j+1310736+(k+1<<2)>>2]=r;c[j+1310736+(k+2<<2)>>2]=u;c[j+1310736+(k+3<<2)>>2]=r;c[j+1310736+(k+4<<2)>>2]=r;c[j+1310736+(k+5<<2)>>2]=u;c[j+1310736+(k+6<<2)>>2]=u;k=l;break}}if(m){l=c[j+1179664+(q+-1<<2)>>2]|0;p=c[j+1179664+(o+-1<<2)>>2]|0;b:do if((l|0)<=(p|0)){b[e>>1]=l;if((l|0)<(p|0)){m=n;o=0;while(1){if((o|0)>=(k|0))break b;if((c[m>>2]|0)==(p|0))c[m>>2]=l;m=m+4|0;o=o+1|0}}}else{b[e>>1]=p;m=n;o=0;while(1){if((o|0)>=(k|0)){l=p;break b}if((c[m>>2]|0)==(l|0))c[m>>2]=p;m=m+4|0;o=o+1|0}}while(0);q=(l<<16>>16)*7|0;p=j+1310736+(q+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(q+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+r;p=j+1310736+(q+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;c[j+1310736+(q+-1<<2)>>2]=u;break}m=b[e+-2>>1]|0;if(m<<16>>16<=0){b[e>>1]=p;l=q*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+r;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-4<<2)|0;if((c[m>>2]|0)>(r|0))c[m>>2]=r;c[j+1310736+(l+-1<<2)>>2]=u;break}l=c[j+1179664+(q+-1<<2)>>2]|0;p=c[j+1179664+((m<<16>>16)+-1<<2)>>2]|0;c:do if((l|0)<=(p|0)){b[e>>1]=l;if((l|0)<(p|0)){m=n;o=0;while(1){if((o|0)>=(k|0))break c;if((c[m>>2]|0)==(p|0))c[m>>2]=l;m=m+4|0;o=o+1|0}}}else{b[e>>1]=p;m=n;o=0;while(1){if((o|0)>=(k|0)){l=p;break c}if((c[m>>2]|0)==(l|0))c[m>>2]=p;m=m+4|0;o=o+1|0}}while(0);q=(l<<16>>16)*7|0;p=j+1310736+(q+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(q+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+r;q=j+1310736+(q+-5<<2)|0;c[q>>2]=(c[q>>2]|0)+u}while(0);s=s+1|0;t=t+1|0;r=r+1|0;e=e+2|0}l=s+2|0;u=u+1|0;q=k;m=t+2|0;e=e+4|0}d:do if((l|0)==54){Ie(0,3,17520,y);k=-1}else if((l|0)==59){o=j+12|0;k=1;e=1;while(1){if((e|0)>(q|0))break;l=c[n>>2]|0;if((l|0)==(e|0))m=k+1|0;else{m=k;k=c[j+1179664+(l+-1<<2)>>2]|0}c[n>>2]=k;k=m;e=e+1|0;n=n+4|0}p=j+8|0;l=k+-1|0;c[p>>2]=l;if(!l)k=0;else{XN(o|0,0,l<<2|0)|0;XN(j+655376|0,0,l<<4|0)|0;k=0;while(1){if((k|0)>=(l|0))break;y=k<<2;c[j+131084+(y<<2)>>2]=f;c[j+131084+((y|1)<<2)>>2]=0;c[j+131084+((y|2)<<2)>>2]=h;c[j+131084+((y|3)<<2)>>2]=0;k=k+1|0}e=0;while(1){if((e|0)>=(q|0))break;m=(c[j+1179664+(e<<2)>>2]|0)+-1|0;n=e*7|0;k=j+12+(m<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[j+1310736+(n<<2)>>2]|0);k=m<<1;l=j+655376+(k<<3)|0;g[l>>3]=+g[l>>3]+ +(c[j+1310736+(n+1<<2)>>2]|0);k=j+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(n+2<<2)>>2]|0);m=m<<2;k=j+131084+(m<<2)|0;l=c[j+1310736+(n+3<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;k=j+131084+((m|1)<<2)|0;l=c[j+1310736+(n+4<<2)>>2]|0;if((c[k>>2]|0)<(l|0))c[k>>2]=l;k=j+131084+((m|2)<<2)|0;l=c[j+1310736+(n+5<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;l=j+131084+((m|3)<<2)|0;k=c[j+1310736+(n+6<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;e=e+1|0}l=c[p>>2]|0;k=0;while(1){if((k|0)>=(l|0)){k=0;break d}A=+(c[j+12+(k<<2)>>2]|0);h=k<<1;f=j+655376+(h<<3)|0;g[f>>3]=+g[f>>3]/A;h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]/A;k=k+1|0}}}while(0);yb=z;return k|0}function jc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=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=yb;yb=yb+16|0;y=z;p=c[j>>2]|0;x=h+-1|0;k=p;l=0;m=p+((C(x,f)|0)<<1)|0;while(1){if((l|0)>=(f|0))break;b[m>>1]=0;b[k>>1]=0;k=k+2|0;l=l+1|0;m=m+2|0}w=f+-1|0;k=p;l=0;m=p+(w<<1)|0;while(1){if((l|0)>=(h|0))break;b[m>>1]=0;b[k>>1]=0;k=k+(f<<1)|0;l=l+1|0;m=m+(f<<1)|0}n=j+1179664|0;t=f+1|0;v=0-f|0;o=e+t|0;l=i+t|0;u=1;q=0;m=(c[j+4>>2]|0)+t|0;e=p+(t<<1)|0;a:while(1){if((u|0)>=(x|0)){l=59;break}r=l;k=q;s=m;q=1;t=e;while(1){if((q|0)>=(w|0))break;do if((d[o>>0]|0)>(d[r>>0]|0)){b[t>>1]=0;a[s>>0]=0}else{a[s>>0]=-1;m=t+(v<<1)|0;l=b[m>>1]|0;if(l<<16>>16>0){b[t>>1]=l;p=(l<<16>>16)*7|0;i=j+1310736+(p+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(p+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(p+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;c[j+1310736+(p+-1<<2)>>2]=u;break}i=b[m+2>>1]|0;p=i<<16>>16;l=b[m+-2>>1]|0;e=l<<16>>16;m=l<<16>>16>0;if(i<<16>>16<=0){if(m){b[t>>1]=l;l=e*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-3<<2)|0;if((c[m>>2]|0)<(q|0))c[m>>2]=q;c[j+1310736+(l+-1<<2)>>2]=u;break}l=b[t+-2>>1]|0;if(l<<16>>16>0){b[t>>1]=l;l=(l<<16>>16)*7|0;p=j+1310736+(l+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(l+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+q;p=j+1310736+(l+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;l=j+1310736+(l+-3<<2)|0;if((c[l>>2]|0)>=(q|0))break;c[l>>2]=q;break}else{l=k+1|0;if((k|0)>32767){l=54;break a}b[t>>1]=l;c[j+1179664+(k<<2)>>2]=l<<16>>16;k=k*7|0;c[j+1310736+(k<<2)>>2]=1;c[j+1310736+(k+1<<2)>>2]=q;c[j+1310736+(k+2<<2)>>2]=u;c[j+1310736+(k+3<<2)>>2]=q;c[j+1310736+(k+4<<2)>>2]=q;c[j+1310736+(k+5<<2)>>2]=u;c[j+1310736+(k+6<<2)>>2]=u;k=l;break}}if(m){l=c[j+1179664+(p+-1<<2)>>2]|0;i=c[j+1179664+(e+-1<<2)>>2]|0;b:do if((l|0)<=(i|0)){b[t>>1]=l;if((l|0)<(i|0)){m=n;e=0;while(1){if((e|0)>=(k|0))break b;if((c[m>>2]|0)==(i|0))c[m>>2]=l;m=m+4|0;e=e+1|0}}}else{b[t>>1]=i;m=n;e=0;while(1){if((e|0)>=(k|0)){l=i;break b}if((c[m>>2]|0)==(l|0))c[m>>2]=i;m=m+4|0;e=e+1|0}}while(0);p=(l<<16>>16)*7|0;i=j+1310736+(p+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(p+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(p+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;c[j+1310736+(p+-1<<2)>>2]=u;break}m=b[t+-2>>1]|0;if(m<<16>>16<=0){b[t>>1]=i;l=p*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-4<<2)|0;if((c[m>>2]|0)>(q|0))c[m>>2]=q;c[j+1310736+(l+-1<<2)>>2]=u;break}l=c[j+1179664+(p+-1<<2)>>2]|0;i=c[j+1179664+((m<<16>>16)+-1<<2)>>2]|0;c:do if((l|0)<=(i|0)){b[t>>1]=l;if((l|0)<(i|0)){m=n;e=0;while(1){if((e|0)>=(k|0))break c;if((c[m>>2]|0)==(i|0))c[m>>2]=l;m=m+4|0;e=e+1|0}}}else{b[t>>1]=i;m=n;e=0;while(1){if((e|0)>=(k|0)){l=i;break c}if((c[m>>2]|0)==(l|0))c[m>>2]=i;m=m+4|0;e=e+1|0}}while(0);p=(l<<16>>16)*7|0;i=j+1310736+(p+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(p+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;p=j+1310736+(p+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u}while(0);o=o+1|0;r=r+1|0;s=s+1|0;q=q+1|0;t=t+2|0}o=o+2|0;l=r+2|0;u=u+1|0;q=k;m=s+2|0;e=t+4|0}d:do if((l|0)==54){Ie(0,3,17520,y);k=-1}else if((l|0)==59){i=j+12|0;k=1;e=1;while(1){if((e|0)>(q|0))break;l=c[n>>2]|0;if((l|0)==(e|0))m=k+1|0;else{m=k;k=c[j+1179664+(l+-1<<2)>>2]|0}c[n>>2]=k;k=m;e=e+1|0;n=n+4|0}o=j+8|0;l=k+-1|0;c[o>>2]=l;if(!l)k=0;else{XN(i|0,0,l<<2|0)|0;XN(j+655376|0,0,l<<4|0)|0;k=0;while(1){if((k|0)>=(l|0))break;y=k<<2;c[j+131084+(y<<2)>>2]=f;c[j+131084+((y|1)<<2)>>2]=0;c[j+131084+((y|2)<<2)>>2]=h;c[j+131084+((y|3)<<2)>>2]=0;k=k+1|0}e=0;while(1){if((e|0)>=(q|0))break;m=(c[j+1179664+(e<<2)>>2]|0)+-1|0;n=e*7|0;k=j+12+(m<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[j+1310736+(n<<2)>>2]|0);k=m<<1;l=j+655376+(k<<3)|0;g[l>>3]=+g[l>>3]+ +(c[j+1310736+(n+1<<2)>>2]|0);k=j+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(n+2<<2)>>2]|0);m=m<<2;k=j+131084+(m<<2)|0;l=c[j+1310736+(n+3<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;k=j+131084+((m|1)<<2)|0;l=c[j+1310736+(n+4<<2)>>2]|0;if((c[k>>2]|0)<(l|0))c[k>>2]=l;k=j+131084+((m|2)<<2)|0;l=c[j+1310736+(n+5<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;l=j+131084+((m|3)<<2)|0;k=c[j+1310736+(n+6<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;e=e+1|0}l=c[o>>2]|0;k=0;while(1){if((k|0)>=(l|0)){k=0;break d}A=+(c[j+12+(k<<2)>>2]|0);h=k<<1;f=j+655376+(h<<3)|0;g[f>>3]=+g[f>>3]/A;h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]/A;k=k+1|0}}}while(0);yb=z;return k|0}function kc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=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.0;A=yb;yb=yb+16|0;x=A;z=(f|0)/2|0;y=(h|0)/2|0;n=c[j>>2]|0;w=y+-1|0;h=n;k=n+((C(w,z)|0)<<1)|0;l=0;while(1){if((l|0)>=(z|0))break;b[k>>1]=0;b[h>>1]=0;h=h+2|0;k=k+2|0;l=l+1|0}v=z+-1|0;h=n;k=n+(v<<1)|0;l=0;while(1){if((l|0)>=(y|0))break;b[k>>1]=0;b[h>>1]=0;h=h+(z<<1)|0;k=k+(z<<1)|0;l=l+1|0}m=j+1179664|0;s=z+1|0;u=0-z|0;k=e+((f<<1)+2)|0;t=1;p=0;l=(c[j+4>>2]|0)+s|0;e=n+(s<<1)|0;a:while(1){if((t|0)>=(w|0)){k=59;break}r=k;h=p;s=l;q=1;while(1){if((q|0)>=(v|0))break;do if((d[r>>0]|0|0)>(i|0)){a[s>>0]=-1;l=e+(u<<1)|0;k=b[l>>1]|0;if(k<<16>>16>0){b[e>>1]=k;p=(k<<16>>16)*7|0;o=j+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=j+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;c[j+1310736+(p+-1<<2)>>2]=t;break}o=b[l+2>>1]|0;p=o<<16>>16;k=b[l+-2>>1]|0;n=k<<16>>16;l=k<<16>>16>0;if(o<<16>>16<=0){if(l){b[e>>1]=k;k=n*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+q;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+t;l=j+1310736+(k+-3<<2)|0;if((c[l>>2]|0)<(q|0))c[l>>2]=q;c[j+1310736+(k+-1<<2)>>2]=t;break}k=b[e+-2>>1]|0;if(k<<16>>16>0){b[e>>1]=k;k=(k<<16>>16)*7|0;p=j+1310736+(k+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(k+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+q;p=j+1310736+(k+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+t;k=j+1310736+(k+-3<<2)|0;if((c[k>>2]|0)>=(q|0))break;c[k>>2]=q;break}else{k=h+1|0;if((h|0)>32767){k=54;break a}b[e>>1]=k;c[j+1179664+(h<<2)>>2]=k<<16>>16;h=h*7|0;c[j+1310736+(h<<2)>>2]=1;c[j+1310736+(h+1<<2)>>2]=q;c[j+1310736+(h+2<<2)>>2]=t;c[j+1310736+(h+3<<2)>>2]=q;c[j+1310736+(h+4<<2)>>2]=q;c[j+1310736+(h+5<<2)>>2]=t;c[j+1310736+(h+6<<2)>>2]=t;h=k;break}}if(l){k=c[j+1179664+(p+-1<<2)>>2]|0;o=c[j+1179664+(n+-1<<2)>>2]|0;b:do if((k|0)<=(o|0)){b[e>>1]=k;if((k|0)<(o|0)){l=m;n=0;while(1){if((n|0)>=(h|0))break b;if((c[l>>2]|0)==(o|0))c[l>>2]=k;l=l+4|0;n=n+1|0}}}else{b[e>>1]=o;l=m;n=0;while(1){if((n|0)>=(h|0)){k=o;break b}if((c[l>>2]|0)==(k|0))c[l>>2]=o;l=l+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=j+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;o=j+1310736+(p+-5<<2)|0;c[o>>2]=(c[o>>2]|0)+t;c[j+1310736+(p+-1<<2)>>2]=t;break}l=b[e+-2>>1]|0;if(l<<16>>16<=0){b[e>>1]=o;k=p*7|0;l=j+1310736+(k+-7<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=j+1310736+(k+-6<<2)|0;c[l>>2]=(c[l>>2]|0)+q;l=j+1310736+(k+-5<<2)|0;c[l>>2]=(c[l>>2]|0)+t;l=j+1310736+(k+-4<<2)|0;if((c[l>>2]|0)>(q|0))c[l>>2]=q;c[j+1310736+(k+-1<<2)>>2]=t;break}k=c[j+1179664+(p+-1<<2)>>2]|0;o=c[j+1179664+((l<<16>>16)+-1<<2)>>2]|0;c:do if((k|0)<=(o|0)){b[e>>1]=k;if((k|0)<(o|0)){l=m;n=0;while(1){if((n|0)>=(h|0))break c;if((c[l>>2]|0)==(o|0))c[l>>2]=k;l=l+4|0;n=n+1|0}}}else{b[e>>1]=o;l=m;n=0;while(1){if((n|0)>=(h|0)){k=o;break c}if((c[l>>2]|0)==(k|0))c[l>>2]=o;l=l+4|0;n=n+1|0}}while(0);p=(k<<16>>16)*7|0;o=j+1310736+(p+-7<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=j+1310736+(p+-6<<2)|0;c[o>>2]=(c[o>>2]|0)+q;p=j+1310736+(p+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+t}else{b[e>>1]=0;a[s>>0]=0}while(0);r=r+2|0;s=s+1|0;q=q+1|0;e=e+2|0}k=r+f+4|0;t=t+1|0;p=h;l=s+2|0;e=e+4|0}d:do if((k|0)==54){Ie(0,3,17520,x);h=-1}else if((k|0)==59){n=j+12|0;h=1;e=1;while(1){if((e|0)>(p|0))break;k=c[m>>2]|0;if((k|0)==(e|0))l=h+1|0;else{l=h;h=c[j+1179664+(k+-1<<2)>>2]|0}c[m>>2]=h;h=l;e=e+1|0;m=m+4|0}o=j+8|0;k=h+-1|0;c[o>>2]=k;if(!k)h=0;else{XN(n|0,0,k<<2|0)|0;XN(j+655376|0,0,k<<4|0)|0;h=0;while(1){if((h|0)>=(k|0))break;x=h<<2;c[j+131084+(x<<2)>>2]=z;c[j+131084+((x|1)<<2)>>2]=0;c[j+131084+((x|2)<<2)>>2]=y;c[j+131084+((x|3)<<2)>>2]=0;h=h+1|0}e=0;while(1){if((e|0)>=(p|0))break;l=(c[j+1179664+(e<<2)>>2]|0)+-1|0;m=e*7|0;h=j+12+(l<<2)|0;c[h>>2]=(c[h>>2]|0)+(c[j+1310736+(m<<2)>>2]|0);h=l<<1;k=j+655376+(h<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(m+1<<2)>>2]|0);h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]+ +(c[j+1310736+(m+2<<2)>>2]|0);l=l<<2;h=j+131084+(l<<2)|0;k=c[j+1310736+(m+3<<2)>>2]|0;if((c[h>>2]|0)>(k|0))c[h>>2]=k;h=j+131084+((l|1)<<2)|0;k=c[j+1310736+(m+4<<2)>>2]|0;if((c[h>>2]|0)<(k|0))c[h>>2]=k;h=j+131084+((l|2)<<2)|0;k=c[j+1310736+(m+5<<2)>>2]|0;if((c[h>>2]|0)>(k|0))c[h>>2]=k;k=j+131084+((l|3)<<2)|0;h=c[j+1310736+(m+6<<2)>>2]|0;if((c[k>>2]|0)<(h|0))c[k>>2]=h;e=e+1|0}k=c[o>>2]|0;h=0;while(1){if((h|0)>=(k|0)){h=0;break d}B=+(c[j+12+(h<<2)>>2]|0);z=h<<1;y=j+655376+(z<<3)|0;g[y>>3]=+g[y>>3]/B;z=j+655376+((z|1)<<3)|0;g[z>>3]=+g[z>>3]/B;h=h+1|0}}}while(0);yb=A;return h|0}function lc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=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=yb;yb=yb+16|0;y=z;o=c[j>>2]|0;x=h+-1|0;k=o;l=o+((C(x,f)|0)<<1)|0;m=0;while(1){if((m|0)>=(f|0))break;b[l>>1]=0;b[k>>1]=0;k=k+2|0;l=l+2|0;m=m+1|0}w=f+-1|0;k=o;l=o+(w<<1)|0;m=0;while(1){if((m|0)>=(h|0))break;b[l>>1]=0;b[k>>1]=0;k=k+(f<<1)|0;l=l+(f<<1)|0;m=m+1|0}n=j+1179664|0;t=f+1|0;v=0-f|0;l=e+t|0;u=1;q=0;m=(c[j+4>>2]|0)+t|0;e=o+(t<<1)|0;a:while(1){if((u|0)>=(x|0)){l=59;break}s=l;k=q;t=m;r=1;while(1){if((r|0)>=(w|0))break;do if((d[s>>0]|0|0)>(i|0)){a[t>>0]=-1;m=e+(v<<1)|0;l=b[m>>1]|0;if(l<<16>>16>0){b[e>>1]=l;q=(l<<16>>16)*7|0;p=j+1310736+(q+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(q+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+r;p=j+1310736+(q+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;c[j+1310736+(q+-1<<2)>>2]=u;break}p=b[m+2>>1]|0;q=p<<16>>16;l=b[m+-2>>1]|0;o=l<<16>>16;m=l<<16>>16>0;if(p<<16>>16<=0){if(m){b[e>>1]=l;l=o*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+r;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-3<<2)|0;if((c[m>>2]|0)<(r|0))c[m>>2]=r;c[j+1310736+(l+-1<<2)>>2]=u;break}l=b[e+-2>>1]|0;if(l<<16>>16>0){b[e>>1]=l;l=(l<<16>>16)*7|0;q=j+1310736+(l+-7<<2)|0;c[q>>2]=(c[q>>2]|0)+1;q=j+1310736+(l+-6<<2)|0;c[q>>2]=(c[q>>2]|0)+r;q=j+1310736+(l+-5<<2)|0;c[q>>2]=(c[q>>2]|0)+u;l=j+1310736+(l+-3<<2)|0;if((c[l>>2]|0)>=(r|0))break;c[l>>2]=r;break}else{l=k+1|0;if((k|0)>32767){l=54;break a}b[e>>1]=l;c[j+1179664+(k<<2)>>2]=l<<16>>16;k=k*7|0;c[j+1310736+(k<<2)>>2]=1;c[j+1310736+(k+1<<2)>>2]=r;c[j+1310736+(k+2<<2)>>2]=u;c[j+1310736+(k+3<<2)>>2]=r;c[j+1310736+(k+4<<2)>>2]=r;c[j+1310736+(k+5<<2)>>2]=u;c[j+1310736+(k+6<<2)>>2]=u;k=l;break}}if(m){l=c[j+1179664+(q+-1<<2)>>2]|0;p=c[j+1179664+(o+-1<<2)>>2]|0;b:do if((l|0)<=(p|0)){b[e>>1]=l;if((l|0)<(p|0)){m=n;o=0;while(1){if((o|0)>=(k|0))break b;if((c[m>>2]|0)==(p|0))c[m>>2]=l;m=m+4|0;o=o+1|0}}}else{b[e>>1]=p;m=n;o=0;while(1){if((o|0)>=(k|0)){l=p;break b}if((c[m>>2]|0)==(l|0))c[m>>2]=p;m=m+4|0;o=o+1|0}}while(0);q=(l<<16>>16)*7|0;p=j+1310736+(q+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(q+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+r;p=j+1310736+(q+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;c[j+1310736+(q+-1<<2)>>2]=u;break}m=b[e+-2>>1]|0;if(m<<16>>16<=0){b[e>>1]=p;l=q*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+r;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-4<<2)|0;if((c[m>>2]|0)>(r|0))c[m>>2]=r;c[j+1310736+(l+-1<<2)>>2]=u;break}l=c[j+1179664+(q+-1<<2)>>2]|0;p=c[j+1179664+((m<<16>>16)+-1<<2)>>2]|0;c:do if((l|0)<=(p|0)){b[e>>1]=l;if((l|0)<(p|0)){m=n;o=0;while(1){if((o|0)>=(k|0))break c;if((c[m>>2]|0)==(p|0))c[m>>2]=l;m=m+4|0;o=o+1|0}}}else{b[e>>1]=p;m=n;o=0;while(1){if((o|0)>=(k|0)){l=p;break c}if((c[m>>2]|0)==(l|0))c[m>>2]=p;m=m+4|0;o=o+1|0}}while(0);q=(l<<16>>16)*7|0;p=j+1310736+(q+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(q+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+r;q=j+1310736+(q+-5<<2)|0;c[q>>2]=(c[q>>2]|0)+u}else{b[e>>1]=0;a[t>>0]=0}while(0);s=s+1|0;t=t+1|0;r=r+1|0;e=e+2|0}l=s+2|0;u=u+1|0;q=k;m=t+2|0;e=e+4|0}d:do if((l|0)==54){Ie(0,3,17520,y);k=-1}else if((l|0)==59){o=j+12|0;k=1;e=1;while(1){if((e|0)>(q|0))break;l=c[n>>2]|0;if((l|0)==(e|0))m=k+1|0;else{m=k;k=c[j+1179664+(l+-1<<2)>>2]|0}c[n>>2]=k;k=m;e=e+1|0;n=n+4|0}p=j+8|0;l=k+-1|0;c[p>>2]=l;if(!l)k=0;else{XN(o|0,0,l<<2|0)|0;XN(j+655376|0,0,l<<4|0)|0;k=0;while(1){if((k|0)>=(l|0))break;y=k<<2;c[j+131084+(y<<2)>>2]=f;c[j+131084+((y|1)<<2)>>2]=0;c[j+131084+((y|2)<<2)>>2]=h;c[j+131084+((y|3)<<2)>>2]=0;k=k+1|0}e=0;while(1){if((e|0)>=(q|0))break;m=(c[j+1179664+(e<<2)>>2]|0)+-1|0;n=e*7|0;k=j+12+(m<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[j+1310736+(n<<2)>>2]|0);k=m<<1;l=j+655376+(k<<3)|0;g[l>>3]=+g[l>>3]+ +(c[j+1310736+(n+1<<2)>>2]|0);k=j+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(n+2<<2)>>2]|0);m=m<<2;k=j+131084+(m<<2)|0;l=c[j+1310736+(n+3<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;k=j+131084+((m|1)<<2)|0;l=c[j+1310736+(n+4<<2)>>2]|0;if((c[k>>2]|0)<(l|0))c[k>>2]=l;k=j+131084+((m|2)<<2)|0;l=c[j+1310736+(n+5<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;l=j+131084+((m|3)<<2)|0;k=c[j+1310736+(n+6<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;e=e+1|0}l=c[p>>2]|0;k=0;while(1){if((k|0)>=(l|0)){k=0;break d}A=+(c[j+12+(k<<2)>>2]|0);h=k<<1;f=j+655376+(h<<3)|0;g[f>>3]=+g[f>>3]/A;h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]/A;k=k+1|0}}}while(0);yb=z;return k|0}function mc(e,f,h,i,j){e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;var k=0,l=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=yb;yb=yb+16|0;y=z;p=c[j>>2]|0;x=h+-1|0;k=p;l=0;m=p+((C(x,f)|0)<<1)|0;while(1){if((l|0)>=(f|0))break;b[m>>1]=0;b[k>>1]=0;k=k+2|0;l=l+1|0;m=m+2|0}w=f+-1|0;k=p;l=0;m=p+(w<<1)|0;while(1){if((l|0)>=(h|0))break;b[m>>1]=0;b[k>>1]=0;k=k+(f<<1)|0;l=l+1|0;m=m+(f<<1)|0}n=j+1179664|0;t=f+1|0;v=0-f|0;o=e+t|0;l=i+t|0;u=1;q=0;m=(c[j+4>>2]|0)+t|0;e=p+(t<<1)|0;a:while(1){if((u|0)>=(x|0)){l=59;break}r=l;k=q;s=m;q=1;t=e;while(1){if((q|0)>=(w|0))break;do if((d[o>>0]|0)>(d[r>>0]|0)){a[s>>0]=-1;m=t+(v<<1)|0;l=b[m>>1]|0;if(l<<16>>16>0){b[t>>1]=l;p=(l<<16>>16)*7|0;i=j+1310736+(p+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(p+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(p+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;c[j+1310736+(p+-1<<2)>>2]=u;break}i=b[m+2>>1]|0;p=i<<16>>16;l=b[m+-2>>1]|0;e=l<<16>>16;m=l<<16>>16>0;if(i<<16>>16<=0){if(m){b[t>>1]=l;l=e*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-3<<2)|0;if((c[m>>2]|0)<(q|0))c[m>>2]=q;c[j+1310736+(l+-1<<2)>>2]=u;break}l=b[t+-2>>1]|0;if(l<<16>>16>0){b[t>>1]=l;l=(l<<16>>16)*7|0;p=j+1310736+(l+-7<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=j+1310736+(l+-6<<2)|0;c[p>>2]=(c[p>>2]|0)+q;p=j+1310736+(l+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u;l=j+1310736+(l+-3<<2)|0;if((c[l>>2]|0)>=(q|0))break;c[l>>2]=q;break}else{l=k+1|0;if((k|0)>32767){l=54;break a}b[t>>1]=l;c[j+1179664+(k<<2)>>2]=l<<16>>16;k=k*7|0;c[j+1310736+(k<<2)>>2]=1;c[j+1310736+(k+1<<2)>>2]=q;c[j+1310736+(k+2<<2)>>2]=u;c[j+1310736+(k+3<<2)>>2]=q;c[j+1310736+(k+4<<2)>>2]=q;c[j+1310736+(k+5<<2)>>2]=u;c[j+1310736+(k+6<<2)>>2]=u;k=l;break}}if(m){l=c[j+1179664+(p+-1<<2)>>2]|0;i=c[j+1179664+(e+-1<<2)>>2]|0;b:do if((l|0)<=(i|0)){b[t>>1]=l;if((l|0)<(i|0)){m=n;e=0;while(1){if((e|0)>=(k|0))break b;if((c[m>>2]|0)==(i|0))c[m>>2]=l;m=m+4|0;e=e+1|0}}}else{b[t>>1]=i;m=n;e=0;while(1){if((e|0)>=(k|0)){l=i;break b}if((c[m>>2]|0)==(l|0))c[m>>2]=i;m=m+4|0;e=e+1|0}}while(0);p=(l<<16>>16)*7|0;i=j+1310736+(p+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(p+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;i=j+1310736+(p+-5<<2)|0;c[i>>2]=(c[i>>2]|0)+u;c[j+1310736+(p+-1<<2)>>2]=u;break}m=b[t+-2>>1]|0;if(m<<16>>16<=0){b[t>>1]=i;l=p*7|0;m=j+1310736+(l+-7<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=j+1310736+(l+-6<<2)|0;c[m>>2]=(c[m>>2]|0)+q;m=j+1310736+(l+-5<<2)|0;c[m>>2]=(c[m>>2]|0)+u;m=j+1310736+(l+-4<<2)|0;if((c[m>>2]|0)>(q|0))c[m>>2]=q;c[j+1310736+(l+-1<<2)>>2]=u;break}l=c[j+1179664+(p+-1<<2)>>2]|0;i=c[j+1179664+((m<<16>>16)+-1<<2)>>2]|0;c:do if((l|0)<=(i|0)){b[t>>1]=l;if((l|0)<(i|0)){m=n;e=0;while(1){if((e|0)>=(k|0))break c;if((c[m>>2]|0)==(i|0))c[m>>2]=l;m=m+4|0;e=e+1|0}}}else{b[t>>1]=i;m=n;e=0;while(1){if((e|0)>=(k|0)){l=i;break c}if((c[m>>2]|0)==(l|0))c[m>>2]=i;m=m+4|0;e=e+1|0}}while(0);p=(l<<16>>16)*7|0;i=j+1310736+(p+-7<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=j+1310736+(p+-6<<2)|0;c[i>>2]=(c[i>>2]|0)+q;p=j+1310736+(p+-5<<2)|0;c[p>>2]=(c[p>>2]|0)+u}else{b[t>>1]=0;a[s>>0]=0}while(0);o=o+1|0;r=r+1|0;s=s+1|0;q=q+1|0;t=t+2|0}o=o+2|0;l=r+2|0;u=u+1|0;q=k;m=s+2|0;e=t+4|0}d:do if((l|0)==54){Ie(0,3,17520,y);k=-1}else if((l|0)==59){i=j+12|0;k=1;e=1;while(1){if((e|0)>(q|0))break;l=c[n>>2]|0;if((l|0)==(e|0))m=k+1|0;else{m=k;k=c[j+1179664+(l+-1<<2)>>2]|0}c[n>>2]=k;k=m;e=e+1|0;n=n+4|0}o=j+8|0;l=k+-1|0;c[o>>2]=l;if(!l)k=0;else{XN(i|0,0,l<<2|0)|0;XN(j+655376|0,0,l<<4|0)|0;k=0;while(1){if((k|0)>=(l|0))break;y=k<<2;c[j+131084+(y<<2)>>2]=f;c[j+131084+((y|1)<<2)>>2]=0;c[j+131084+((y|2)<<2)>>2]=h;c[j+131084+((y|3)<<2)>>2]=0;k=k+1|0}e=0;while(1){if((e|0)>=(q|0))break;m=(c[j+1179664+(e<<2)>>2]|0)+-1|0;n=e*7|0;k=j+12+(m<<2)|0;c[k>>2]=(c[k>>2]|0)+(c[j+1310736+(n<<2)>>2]|0);k=m<<1;l=j+655376+(k<<3)|0;g[l>>3]=+g[l>>3]+ +(c[j+1310736+(n+1<<2)>>2]|0);k=j+655376+((k|1)<<3)|0;g[k>>3]=+g[k>>3]+ +(c[j+1310736+(n+2<<2)>>2]|0);m=m<<2;k=j+131084+(m<<2)|0;l=c[j+1310736+(n+3<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;k=j+131084+((m|1)<<2)|0;l=c[j+1310736+(n+4<<2)>>2]|0;if((c[k>>2]|0)<(l|0))c[k>>2]=l;k=j+131084+((m|2)<<2)|0;l=c[j+1310736+(n+5<<2)>>2]|0;if((c[k>>2]|0)>(l|0))c[k>>2]=l;l=j+131084+((m|3)<<2)|0;k=c[j+1310736+(n+6<<2)>>2]|0;if((c[l>>2]|0)<(k|0))c[l>>2]=k;e=e+1|0}l=c[o>>2]|0;k=0;while(1){if((k|0)>=(l|0)){k=0;break d}A=+(c[j+12+(k<<2)>>2]|0);h=k<<1;f=j+655376+(h<<3)|0;g[f>>3]=+g[f>>3]/A;h=j+655376+((h|1)<<3)|0;g[h>>3]=+g[h>>3]/A;k=k+1|0}}}while(0);yb=z;return k|0}function nc(a){a=a|0;return oc(a+8|0)|0}function oc(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=iB(4)|0;if(!b){Ie(0,3,20454,d);La(1)}a=se(a)|0;c[b>>2]=a;if(!a){jB(b);b=0}yb=d;return b|0}function pc(a){a=a|0;var b=0;b=c[a>>2]|0;if(!b)a=-1;else{te(b)|0;jB(c[a>>2]|0);c[a>>2]=0;a=0}return a|0}function qc(a){a=a|0;var b=0,d=0,e=0;d=yb;yb=yb+16|0;b=iB(7062432)|0;if(!b){Ie(0,3,20454,d);La(1)}c[b>>2]=0;c[b+4834148>>2]=0;c[b+7062408>>2]=0;c[b+4>>2]=-1;c[b+8>>2]=0;c[b+12>>2]=1;c[b+16>>2]=100;c[b+20>>2]=0;c[b+24>>2]=0;c[b+28>>2]=2;g[b+7062416>>3]=.5;c[b+7062424>>2]=3;c[b+32>>2]=a;e=c[a>>2]|0;c[b+36>>2]=e;a=c[a+4>>2]|0;c[b+40>>2]=a;c[b+44>>2]=0;c[b+15408>>2]=0;c[b+4834152>>2]=0;c[b+4818296>>2]=0;a=iB(C(e<<1,a)|0)|0;c[b+4834144>>2]=a;if(!a){Ie(0,3,20454,d+8|0);La(1)}else{c[b+7062384>>2]=0;rc(b,0)|0;c[b+7062388>>2]=-1;sc(b,0)|0;tc(b,7)|0;yb=d;return b|0}return 0}function rc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;do if(a)if((c[a>>2]|0)!=(b|0)){c[a>>2]=b;if(!b){d=a+4834148|0;jB(c[d>>2]|0);c[d>>2]=0;d=0;break}b=iB(C(c[a+40>>2]|0,c[a+36>>2]|0)|0)|0;c[a+4834148>>2]=b;if(!b){Ie(0,3,20454,e);La(1)}else d=0}else d=0;else d=-1;while(0);yb=f;return d|0}function sc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;h=i+8|0;f=i;if(a){g=a+7062388|0;if((c[g>>2]|0)!=(b|0)){d=a+7062408|0;e=c[d>>2]|0;if(e|0){Xc(e);c[d>>2]=0}switch(b|0){case 3:case 2:case 1:{c[d>>2]=Wc(c[a+36>>2]|0,c[a+40>>2]|0)|0;break}case 4:{c[a+7062404>>2]=1;c[a+7062400>>2]=1;b=4;break}case 0:break;default:{Ie(0,3,17552,f);b=0}}c[g>>2]=b;if((c[a>>2]|0)==1){c[h>>2]=c[16+(b<<2)>>2];Ie(0,3,17626,h);b=0}else b=0}else b=0}else b=-1;yb=i;return b|0}function tc(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[a+7062392>>2]=b;c[a+7062396>>2]=0;a=0}return a|0}function uc(a){a=a|0;var b=0,d=0;if(!a)a=-1;else{b=a+7062408|0;d=c[b>>2]|0;if(d|0){Xc(d);c[b>>2]=0}jB(c[a+4834144>>2]|0);jB(c[a+4834148>>2]|0);jB(a);a=0}return a|0}function vc(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a>>2];a=0}else a=-1;return a|0}function wc(a,b){a=a|0;b=b|0;if((a|0)!=0&b>>>0<2){c[a+12>>2]=b;a=0}else a=-1;return a|0}function xc(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a+12>>2];a=0}else a=-1;return a|0}function yc(a,b){a=a|0;b=b|0;if((a|0)==0|b>>>0>255)a=-1;else{c[a+16>>2]=b;a=0}return a|0}function zc(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a+16>>2];a=0}else a=-1;return a|0}function Ac(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a+7062388>>2];a=0}else a=-1;return a|0}function Bc(a,b){a=a|0;b=b|0;if((a|0)!=0&b>>>0<2){c[a+20>>2]=b;a=0}else a=-1;return a|0}function Cc(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[b>>2]=c[a+20>>2];a=0}return a|0}function Dc(a,b){a=a|0;b=b|0;if((a|0)!=0&b>>>0<5){c[a+24>>2]=b;a=0}else a=-1;return a|0}function Ec(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[a+7062424>>2]=b;a=0}return a|0}function Fc(a,b){a=a|0;b=b|0;if((a|0)!=0&(b|0)!=0){c[b>>2]=c[a+7062424>>2];a=0}else a=-1;return a|0}function Gc(a,b){a=a|0;b=b|0;if(!a)a=-1;else{c[b>>2]=c[a+24>>2];a=0}return a|0}function Hc(a,b){a=a|0;b=+b;if((a|0)!=0?!(b<=0.0|b>=1.0):0){g[a+7062416>>3]=b;a=0}else a=-1;return a|0}function Ic(a,b){a=a|0;b=b|0;if(!a)a=-1;else{g[b>>3]=+g[a+7062416>>3];a=0}return a|0}function Jc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;a:do if(a){d=a+4|0;if((c[d>>2]|0)!=(b|0)){if(b>>>0>=15){c[e>>2]=b;Ie(0,3,17721,e);a=-1;break}c[d>>2]=b;c[a+8>>2]=vd(b)|0;a=a+24|0;d=c[a>>2]|0;if(!(28704>>>(b&32767)&1))switch(d|0){case 1:{c[a>>2]=4;a=0;break a}case 4:{c[a>>2]=3;a=0;break a}default:{a=0;break a}}else switch(d|0){case 0:{c[a>>2]=1;a=0;break a}case 3:{c[a>>2]=4;a=0;break a}default:{a=0;break a}}}else a=0}else a=-1;while(0);yb=f;return a|0}function Kc(a,b){a=a|0;b=b|0;var e=0,f=0,h=0,i=0,j=0,k=0,l=0.0,m=0.0,n=0,o=0.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.0,O=0,P=0,Q=0.0,R=0.0;P=yb;yb=yb+64|0;L=P+32|0;F=P+24|0;y=P;J=P+52|0;C=P+40|0;a:do if((a|0)!=0&(b|0)!=0){O=a+44|0;c[O>>2]=0;K=a+7062388|0;e=c[K>>2]|0;b:do if((e|0)==4){H=a+7062396|0;e=c[H>>2]|0;do if((e|0)>0)c[H>>2]=e+-1;else{B=a+16|0;D=c[B>>2]|0;E=a+7062400|0;z=(c[E>>2]|0)+D|0;z=(z|0)<255?z:255;c[J>>2]=z;G=a+7062404|0;A=D-(c[G>>2]|0)|0;A=(A|0)>0?A:0;c[J+4>>2]=A;c[J+8>>2]=D;f=b+12|0;h=a+36|0;i=a+40|0;j=a+12|0;k=a+20|0;n=a+4834144|0;p=a+15416|0;q=a+15408|0;r=a+4|0;s=a+7062384|0;t=a+24|0;u=a+32|0;v=a+7062416|0;w=a+48|0;x=a+7062424|0;e=0;while(1){if(e>>>0>=3)break;if((cd(c[f>>2]|0,c[h>>2]|0,c[i>>2]|0,c[a>>2]|0,c[j>>2]|0,c[J+(e<<2)>>2]|0,c[k>>2]|0,n,0)|0)<0){M=29;break}if((Mc(c[h>>2]|0,c[i>>2]|0,n,c[k>>2]|0,1e6,70,1.0,p,q)|0)<0){M=29;break}if((Rc(c[b>>2]|0,c[h>>2]|0,c[i>>2]|0,c[r>>2]|0,p,c[q>>2]|0,c[s>>2]|0,c[k>>2]|0,c[t>>2]|0,(c[u>>2]|0)+184|0,+g[v>>3],w,O,c[x>>2]|0)|0)<0){M=29;break}c[C+(e<<2)>>2]=c[O>>2];e=e+1|0}if((M|0)==29){e=-1;break a}if((c[a>>2]|0)==1){x=c[C+4>>2]|0;h=c[C+8>>2]|0;f=c[C>>2]|0;c[y>>2]=A;c[y+4>>2]=x;c[y+8>>2]=D;c[y+12>>2]=h;c[y+16>>2]=z;c[y+20>>2]=f;Ie(0,3,17770,y)}else{f=c[C>>2]|0;h=c[C+8>>2]|0}e=c[C+4>>2]|0;if((f|0)>(h|0)|(e|0)>(h|0)){f=(f|0)<(e|0)?A:z;c[B>>2]=f;e=f-D|0;if((e|0)>0){c[E>>2]=e;e=1}else{c[E>>2]=1;e=0-e|0}c[G>>2]=e;if((c[a>>2]|0)==1){c[F>>2]=f;Ie(0,3,17846,F);c[H>>2]=c[a+7062392>>2];break}else{c[H>>2]=c[a+7062392>>2];break}}e=c[E>>2]|0;f=c[G>>2]|0;do if((e|0)>=(f|0))if((e|0)>(f|0)){c[G>>2]=f+1;break}else{e=e+1|0;c[E>>2]=e;c[G>>2]=f+1;break}else{e=e+1|0;c[E>>2]=e}while(0);if((e+D|0)>254){c[E>>2]=1;e=1}if((D|0)<=(e|0))c[G>>2]=1;c[H>>2]=c[a+7062392>>2];break b}while(0);h=c[K>>2]|0;M=33}else{h=e;M=33}while(0);if((M|0)==33){c:do switch(h|0){case 3:{f=a+7062408|0;h=b+12|0;e=bd(c[f>>2]|0,c[h>>2]|0,9,-7)|0;if((e|0)<0)break a;e=c[f>>2]|0;k=a+4834144|0;e=cd(c[h>>2]|0,c[e+4>>2]|0,c[e+8>>2]|0,c[a>>2]|0,c[a+12>>2]|0,0,0,k,c[e>>2]|0)|0;if((e|0)<0)break a;e=a+36|0;f=a+40|0;h=a+20|0;break}case 2:case 1:{i=a+7062396|0;e=c[i>>2]|0;if((e|0)>0){c[i>>2]=e+-1;M=48;break c}e=c[a+7062408>>2]|0;f=c[b+12>>2]|0;if((h|0)==1)e=$c(e,f,J)|0;else e=ad(e,f,J)|0;if((e|0)<0)break a;e=a+16|0;if((c[a>>2]|0)==1?(I=d[J>>0]|0,(c[e>>2]|0)!=(I|0)):0){c[L>>2]=(c[K>>2]|0)==1?17898:17905;c[L+4>>2]=I;Ie(0,3,17910,L)}c[e>>2]=d[J>>0];c[i>>2]=c[a+7062392>>2];M=48;break}default:M=48}while(0);if((M|0)==48){e=a+36|0;f=a+40|0;h=a+20|0;k=a+4834144|0;if((cd(c[b+12>>2]|0,c[e>>2]|0,c[f>>2]|0,c[a>>2]|0,c[a+12>>2]|0,c[a+16>>2]|0,c[h>>2]|0,k,0)|0)<0){e=-1;break}}i=a+15416|0;j=a+15408|0;if((Mc(c[e>>2]|0,c[f>>2]|0,k,c[h>>2]|0,1e6,70,1.0,i,j)|0)<0){e=-1;break}if((Rc(c[b>>2]|0,c[e>>2]|0,c[f>>2]|0,c[a+4>>2]|0,i,c[j>>2]|0,c[a+7062384>>2]|0,c[h>>2]|0,c[a+24>>2]|0,(c[a+32>>2]|0)+184|0,+g[a+7062416>>3],a+48|0,O,c[a+7062424>>2]|0)|0)<0){e=-1;break}}s=a+28|0;if((c[s>>2]|0)==1){Lc(a);e=0;break}t=a+4818296|0;q=c[t>>2]|0;r=a+24|0;p=0;while(1){if((p|0)>=(q|0))break;h=c[O>>2]|0;i=a+4818304+(p*264|0)|0;j=a+4818304+(p*264|0)+56|0;k=a+4818304+(p*264|0)+64|0;f=0;n=-1;l=.5;while(1){if((f|0)>=(h|0))break;m=+(c[a+48+(f<<8)>>2]|0);o=+(c[i>>2]|0)/m;if(!(o<.7|o>1.43)?(o=+g[a+48+(f<<8)+56>>3]-+g[j>>3],N=+g[a+48+(f<<8)+64>>3]-+g[k>>3],N=(o*o+N*N)/m,N-1){k=c[r>>2]|0;switch(k|0){case 2:case 1:case 0:break;case 4:case 3:{f=a+48+(n<<8)+40|0;m=+g[a+4818304+(p*264|0)+40>>3];if(!(+g[f>>3]>3];if(!(+g[e>>3]>3]}g[f>>3]=m;c[a+48+(n<<8)+8>>2]=c[a+4818304+(p*264|0)+8>>2];g[e>>3]=l;c[a+48+(n<<8)+12>>2]=c[a+4818304+(p*264|0)+12>>2];f=0;h=-1;m=1.0e8;while(1){if((f|0)==4)break;e=0;l=0.0;while(1){if((e|0)==4)break;b=e+f&3;Q=+g[a+4818304+(p*264|0)+168+(e<<4)>>3]-+g[a+48+(n<<8)+168+(b<<4)>>3];o=+g[a+4818304+(p*264|0)+168+(e<<4)+8>>3]-+g[a+48+(n<<8)+168+(b<<4)+8>>3];e=e+1|0;l=l+(Q*Q+o*o)}b=l>2]=(b+(c[a+4818304+(p*264|0)+20>>2]|0)|0)%4|0;c[a+48+(n<<8)+24>>2]=(b+(c[a+4818304+(p*264|0)+24>>2]|0)|0)%4|0;break d}default:{e=-1;break a}}e=a+48+(n<<8)+32|0;o=+g[a+4818304+(p*264|0)+32>>3];if(+g[e>>3]>3]=o;i=c[a+4818304+(p*264|0)+4>>2]|0;c[a+48+(n<<8)+4>>2]=i;j=a+4818304+(p*264|0)+16|0;f=-1;l=1.0e8;h=0;while(1){if((h|0)==4)break;e=0;m=0.0;while(1){if((e|0)==4)break;b=e+h&3;R=+g[a+4818304+(p*264|0)+168+(e<<4)>>3]-+g[a+48+(n<<8)+168+(b<<4)>>3];Q=+g[a+4818304+(p*264|0)+168+(e<<4)+8>>3]-+g[a+48+(n<<8)+168+(b<<4)+8>>3];e=e+1|0;m=m+(R*R+Q*Q)}if(m>2]|0)|0)%4|0;l=m}else e=f;f=e;h=h+1|0}c[a+48+(n<<8)+16>>2]=f;if(k>>>0<2){c[a+48+(n<<8)+8>>2]=i;g[a+48+(n<<8)+40>>3]=o;c[a+48+(n<<8)+20>>2]=f;break}else{c[a+48+(n<<8)+12>>2]=i;g[a+48+(n<<8)+48>>3]=o;c[a+48+(n<<8)+24>>2]=f;break}}}while(0);p=p+1|0}Lc(a);f=0;e=0;while(1){if((f|0)>=(c[t>>2]|0))break;M=a+4818304+(f*264|0)+256|0;b=c[M>>2]|0;c[M>>2]=b+1;if((b|0)<3){if((f|0)!=(e|0))VN(a+4818304+(e*264|0)|0,a+4818304+(f*264|0)|0,264)|0;e=e+1|0}f=f+1|0}c[t>>2]=e;f=c[O>>2]|0;k=0;while(1){if((k|0)>=(f|0))break;j=a+48+(k<<8)|0;h=c[a+48+(k<<8)+4>>2]|0;if((h|0)>=0){i=0;while(1){if((i|0)>=(e|0))break;if((c[a+4818304+(i*264|0)+4>>2]|0)==(h|0))break;i=i+1|0}if((i|0)==(e|0)){if((e|0)==60)break;e=e+1|0;c[t>>2]=e}VN(a+4818304+(i*264|0)|0,j|0,256)|0;c[a+4818304+(i*264|0)+256>>2]=1}k=k+1|0}if((c[s>>2]|0)==2)e=0;else{n=0;while(1){if((n|0)>=(e|0)){e=0;break a}i=a+4818304+(n*264|0)|0;j=a+4818304+(n*264|0)+56|0;k=a+4818304+(n*264|0)+64|0;h=0;while(1){if((h|0)>=(f|0))break;l=+(c[a+48+(h<<8)>>2]|0);R=+(c[i>>2]|0)/l;if(!(R<.7|R>1.43)?(Q=+g[a+48+(h<<8)+56>>3]-+g[j>>3],R=+g[a+48+(h<<8)+64>>3]-+g[k>>3],(Q*Q+R*R)/l<.5):0)break;h=h+1|0}if((h|0)==(f|0)){VN(a+48+(f<<8)|0,a+4818304+(n*264|0)|0,256)|0;f=f+1|0;c[O>>2]=f;e=c[t>>2]|0}n=n+1|0}}}else e=-1;while(0);yb=P;return e|0}function Lc(a){a=a|0;var b=0,d=0,e=0,f=0;a:do switch(c[a+24>>2]|0){case 1:case 0:{d=c[a+44>>2]|0;b=0;while(1){if((b|0)>=(d|0))break a;e=a+48+(b<<8)+4|0;if((c[e>>2]|0)>-1?+g[a+48+(b<<8)+32>>3]<.5:0){c[a+48+(b<<8)+8>>2]=-1;c[e>>2]=-1;c[a+48+(b<<8)+236>>2]=6}b=b+1|0}}case 2:{d=c[a+44>>2]|0;b=0;while(1){if((b|0)>=(d|0))break a;e=a+48+(b<<8)+4|0;if((c[e>>2]|0)>-1?+g[a+48+(b<<8)+32>>3]<.5:0){c[a+48+(b<<8)+12>>2]=-1;c[e>>2]=-1;c[a+48+(b<<8)+236>>2]=6}b=b+1|0}}default:{f=c[a+44>>2]|0;e=0;while(1){if((e|0)>=(f|0))break a;b=a+48+(e<<8)+8|0;if((c[b>>2]|0)>-1?+g[a+48+(e<<8)+40>>3]<.5:0){c[b>>2]=-1;b=0}else b=1;d=a+48+(e<<8)+12|0;if(((c[d>>2]|0)>-1?+g[a+48+(e<<8)+48>>3]<.5:0)?(c[d>>2]=-1,(b|0)==0):0)c[a+48+(e<<8)+236>>2]=6;e=e+1|0}}}while(0);return}function Mc(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;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0;r=(e|0)==1;if(r){a=(a|0)/2|0;b=(b|0)/2|0;f=(f|0)/4|0;h=(h|0)/4|0}c[k>>2]=0;n=d+8|0;o=a+-2|0;b=b+-2|0;l=d+1179664|0;e=0;while(1){if((e|0)>=(c[n>>2]|0)){q=5;break}m=d+12+(e<<2)|0;s=c[m>>2]|0;if(((((((!((s|0)<(h|0)|(s|0)>(f|0))?(p=d+131084+(e<<4)|0,(c[p>>2]|0)!=1):0)?(c[d+131084+(e<<4)+4>>2]|0)!=(o|0):0)?(c[d+131084+(e<<4)+8>>2]|0)!=1:0)?(c[d+131084+(e<<4)+12>>2]|0)!=(b|0):0)?(Nc(c[d>>2]|0,a,0,l,e+1|0,p,j+((c[k>>2]|0)*80048|0)|0)|0)>=0:0)?(Oc(c[m>>2]|0,j+((c[k>>2]|0)*80048|0)|0,i)|0)>=0:0)?(c[j+((c[k>>2]|0)*80048|0)>>2]=c[m>>2],s=c[k>>2]|0,g[j+(s*80048|0)+8>>3]=+g[d+655376+(e<<4)>>3],g[j+(s*80048|0)+16>>3]=+g[d+655376+(e<<4)+8>>3],s=s+1|0,c[k>>2]=s,(s|0)==60):0){e=60;break}e=e+1|0}if((q|0)==5)e=c[k>>2]|0;a=0;while(1){if((a|0)>=(e|0))break;l=a+1|0;m=j+(a*80048|0)+8|0;n=j+(a*80048|0)+16|0;h=j+(a*80048|0)|0;f=l;while(1){if((f|0)>=(e|0))break;t=+g[m>>3]-+g[j+(f*80048|0)+8>>3];i=+g[n>>3]-+g[j+(f*80048|0)+16>>3];i=t*t+i*i;e=c[h>>2]|0;a=j+(f*80048|0)|0;b=c[a>>2]|0;if((e|0)>(b|0)){if(i<+((e|0)/4|0|0))c[a>>2]=0}else if(i<+((b|0)/4|0|0))c[h>>2]=0;f=f+1|0;e=c[k>>2]|0}a=l}f=0;while(1){if((f|0)>=(e|0))break;if(!(c[j+(f*80048|0)>>2]|0)){b=f;while(1){a=b+1|0;if((a|0)>=(e|0))break;VN(j+(b*80048|0)|0,j+(a*80048|0)|0,80048)|0;b=a;e=c[k>>2]|0}e=e+-1|0;c[k>>2]=e}f=f+1|0}a:do if(r){b=0;while(1){if((b|0)>=(e|0))break a;c[j>>2]=c[j>>2]<<2;a=j+8|0;g[a>>3]=+g[a>>3]*2.0;a=j+16|0;g[a>>3]=+g[a>>3]*2.0;a=c[j+24>>2]|0;e=0;while(1){if((e|0)>=(a|0))break;s=j+28+(e<<2)|0;c[s>>2]=c[s>>2]<<1;s=j+40028+(e<<2)|0;c[s>>2]=c[s>>2]<<1;e=e+1|0}j=j+80048|0;b=b+1|0;e=c[k>>2]|0}}while(0);return 0}function Nc(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,l=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=yb;yb=yb+80032|0;n=w+80016|0;m=w+80008|0;j=w+8e4|0;u=w+4e4|0;v=w;s=c[h+8>>2]|0;t=C(s,d)|0;e=c[h>>2]|0;h=c[h+4>>2]|0;r=e;e=a+(t+e<<1)|0;while(1){if((r|0)>(h|0)){t=7;break}t=b[e>>1]|0;if(t<<16>>16>0?(c[f+((t<<16>>16)+-1<<2)>>2]|0)==(g|0):0){t=6;break}r=r+1|0;e=e+2|0}do if((t|0)==6)if((r|0)!=-1){o=i+24|0;c[o>>2]=1;p=i+28|0;c[p>>2]=r;q=i+40028|0;c[q>>2]=s;g=5;e=s;l=r;f=1;while(1){k=a+((C(e,d)|0)+l<<1)|0;j=0;e=g+5|0;while(1){g=(e|0)%8|0;if(j>>>0>=8){t=13;break}e=c[48+(g<<2)>>2]|0;x=C(e,d)|0;h=c[80+(g<<2)>>2]|0;if((b[k+(x+h<<1)>>1]|0)>0)break;j=j+1|0;e=g+1|0}if((t|0)==13){t=0;if((j|0)==8){t=15;break}h=c[80+(g<<2)>>2]|0;e=c[48+(g<<2)>>2]|0}c[i+28+(f<<2)>>2]=h+l;j=c[o>>2]|0;c[i+40028+(j<<2)>>2]=e+(c[i+40028+(j+-1<<2)>>2]|0);j=c[o>>2]|0;h=i+28+(j<<2)|0;if((c[h>>2]|0)==(r|0)?(c[i+40028+(j<<2)>>2]|0)==(s|0):0){t=18;break}f=j+1|0;c[o>>2]=f;if((f|0)==9999){t=21;break}e=c[i+40028+(j<<2)>>2]|0;l=c[h>>2]|0}if((t|0)==15){Ie(0,3,17964,m);e=-1;break}else if((t|0)==18){f=0;e=0;h=1;while(1){if((h|0)>=(j|0))break;x=(c[i+28+(h<<2)>>2]|0)-r|0;x=C(x,x)|0;d=(c[i+40028+(h<<2)>>2]|0)-s|0;x=(C(d,d)|0)+x|0;d=(x|0)>(e|0);f=d?h:f;e=d?x:e;h=h+1|0}e=0;while(1){if((e|0)>=(f|0))break;c[u+(e<<2)>>2]=c[i+28+(e<<2)>>2];c[v+(e<<2)>>2]=c[i+40028+(e<<2)>>2];e=e+1|0}h=f;e=j;while(1){if((h|0)>=(e|0))break;e=h-f|0;c[i+28+(e<<2)>>2]=c[i+28+(h<<2)>>2];c[i+40028+(e<<2)>>2]=c[i+40028+(h<<2)>>2];h=h+1|0;e=c[o>>2]|0}e=0;while(1){if((e|0)>=(f|0))break;x=e-f|0;c[i+28+((c[o>>2]|0)+x<<2)>>2]=c[u+(e<<2)>>2];c[i+40028+((c[o>>2]|0)+x<<2)>>2]=c[v+(e<<2)>>2];e=e+1|0}c[i+28+(c[o>>2]<<2)>>2]=c[p>>2];c[i+40028+(c[o>>2]<<2)>>2]=c[q>>2];c[o>>2]=(c[o>>2]|0)+1;e=0;break}else if((t|0)==21){Ie(0,3,17971,n);e=-1;break}}else t=7;while(0);if((t|0)==7){Ie(0,3,17957,j);e=-1}yb=w;return e|0}function Oc(a,b,d){a=a|0;b=b|0;d=+d;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,u=0;r=yb;yb=yb+96|0;o=r+48|0;k=r+92|0;p=r;l=r+88|0;m=b+28|0;j=c[m>>2]|0;n=b+40028|0;h=c[n>>2]|0;q=b+24|0;i=(c[q>>2]|0)+-1|0;f=1;g=0;e=0;while(1){if((f|0)>=(i|0))break;t=(c[b+28+(f<<2)>>2]|0)-j|0;t=C(t,t)|0;u=(c[b+40028+(f<<2)>>2]|0)-h|0;t=(C(u,u)|0)+t|0;u=(t|0)>(g|0);s=u?f:e;f=f+1|0;g=u?t:g;e=s}d=+(a|0)/.75*.01*d;c[k>>2]=0;c[l>>2]=0;a:do if((Pc(m,n,0,e,d,o,k)|0)>=0?(Pc(m,n,e,(c[q>>2]|0)+-1|0,d,p,l)|0)>=0:0){f=c[k>>2]|0;g=c[l>>2]|0;do if((f|0)==1&(g|0)==1){f=c[p>>2]|0;g=c[o>>2]|0}else{if((f|0)>1&(g|0)==0){f=(e|0)/2|0;c[l>>2]=0;c[k>>2]=0;if((Pc(m,n,0,f,d,o,k)|0)<0){e=-1;break a}if((Pc(m,n,f,e,d,p,l)|0)<0){e=-1;break a}if(!((c[k>>2]|0)==1&(c[l>>2]|0)==1)){e=-1;break a}f=e;g=c[o>>2]|0;e=c[p>>2]|0;break}if(!((f|0)==0&(g|0)>1)){e=-1;break a}f=(e+-1+(c[q>>2]|0)|0)/2|0;c[l>>2]=0;c[k>>2]=0;if((Pc(m,n,e,f,d,o,k)|0)<0){e=-1;break a}if((Pc(m,n,f,(c[q>>2]|0)+-1|0,d,p,l)|0)<0){e=-1;break a}if(!((c[k>>2]|0)==1&(c[l>>2]|0)==1)){e=-1;break a}f=c[p>>2]|0;g=e;e=c[o>>2]|0}while(0);c[b+80028>>2]=0;c[b+80032>>2]=g;c[b+80036>>2]=e;c[b+80040>>2]=f;c[b+80044>>2]=(c[q>>2]|0)+-1;e=0}else e=-1;while(0);yb=r;return e|0}function Pc(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;g=g|0;h=h|0;var i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0.0;j=c[b+(e<<2)>>2]|0;q=c[b+(d<<2)>>2]|0;l=+(j-q|0);i=c[a+(d<<2)>>2]|0;r=c[a+(e<<2)>>2]|0;m=+(i-r|0);n=+((C(r,q)|0)-(C(i,j)|0)|0);j=d+1|0;i=j;k=0.0;while(1){if((j|0)>=(e|0))break;s=l*+(c[a+(j<<2)>>2]|0)+m*+(c[b+(j<<2)>>2]|0)+n;s=s*s;r=s>k;i=r?j:i;j=j+1|0;k=r?s:k}if(k/(l*l+m*m)>f)if(((Pc(a,b,d,i,f,g,h)|0)>=0?(o=c[h>>2]|0,(o|0)<=5):0)?(c[g+(o<<2)>>2]=i,c[h>>2]=(c[h>>2]|0)+1,(Pc(a,b,i,e,f,g,h)|0)>=0):0)p=8;else i=-1;else p=8;if((p|0)==8)i=0;return i|0}function Qc(a,b,d,e,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0.0,n=0,o=0.0,p=0.0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0;y=yb;yb=yb+16|0;r=y+4|0;s=y;x=ee(2)|0;t=ee(2)|0;v=zd(2,2)|0;k=0;a:while(1){if(k>>>0>=4){q=10;break}l=k+1|0;q=c[e+(l<<2)>>2]|0;n=c[e+(k<<2)>>2]|0;p=+(q+1-n|0)*.05+.5;n=~~(p+ +(n|0));q=~~(+(q|0)-p)-n|0;w=zd(q+1|0,2)|0;d=0;while(1){if((d|0)>(q|0))break;z=d+n|0;if((de(h,+(c[a+(z<<2)>>2]|0),+(c[b+(z<<2)>>2]|0),r,s)|0)<0){q=6;break a}A=c[w>>2]|0;z=d<<1;g[A+(z<<3)>>3]=+f[r>>2];g[A+((z|1)<<3)>>3]=+f[s>>2];d=d+1|0}if((Gd(w,v,x,t)|0)<0){q=14;break}A=c[v>>2]|0;o=+g[A+8>>3];g[i+(k*24|0)>>3]=o;p=-+g[A>>3];g[i+(k*24|0)+8>>3]=p;A=c[t>>2]|0;g[i+(k*24|0)+16>>3]=-(o*+g[A>>3]+ +g[A+8>>3]*p);Ed(w)|0;k=l}b:do if((q|0)==6)q=14;else if((q|0)==10){Ed(v)|0;fe(t)|0;fe(x)|0;d=0;while(1){if(d>>>0>=4){d=0;break b}k=d+3&3;l=i+(k*24|0)|0;m=+g[i+(d*24|0)+8>>3];n=i+(d*24|0)|0;o=+g[i+(k*24|0)+8>>3];p=+g[l>>3]*m-+g[n>>3]*o;if(+u(+p)<.0001){d=-1;break b}A=i+(d*24|0)+16|0;z=i+(k*24|0)+16|0;g[j+(d<<4)>>3]=(o*+g[A>>3]-m*+g[z>>3])/p;g[j+(d<<4)+8>>3]=(+g[n>>3]*+g[z>>3]-+g[l>>3]*+g[A>>3])/p;d=d+1|0}}while(0);if((q|0)==14){Ed(w)|0;Ed(v)|0;fe(t)|0;fe(x)|0;d=-1}yb=y;return d|0}function Rc(a,b,d,e,h,i,j,k,l,m,n,o,p,q){a=a|0;b=b|0;d=d|0;e=e|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=+n;o=o|0;p=p|0;q=q|0;var 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=yb;yb=yb+16|0;A=G+4|0;B=G;C=l>>>0<2;D=(l|0)==2;z=0;r=0;while(1){if((z|0)>=(i|0))break;c[o+(r<<8)>>2]=c[h+(z*80048|0)>>2];if((de(m,+g[h+(z*80048|0)+8>>3],+g[h+(z*80048|0)+16>>3],A,B)|0)>=0?(g[o+(r<<8)+56>>3]=+f[A>>2],g[o+(r<<8)+64>>3]=+f[B>>2],E=o+(r<<8)+168|0,(Qc(h+(z*80048|0)+28|0,h+(z*80048|0)+40028|0,c[h+(z*80048|0)+24>>2]|0,h+(z*80048|0)+80028|0,m,o+(r<<8)+72|0,E)|0)>=0):0){v=o+(r<<8)+8|0;s=o+(r<<8)+20|0;t=o+(r<<8)+40|0;w=o+(r<<8)+12|0;y=o+(r<<8)+24|0;x=o+(r<<8)+48|0;u=md(j,k,l,a,b,d,e,m,E,n,v,s,t,w,y,x,q,o+(r<<8)+240|0,o+(r<<8)+248|0)|0;switch(u|0){case 0:{F=12;break}case -1:{u=2;F=12;break}case -2:{u=3;F=12;break}case -3:{u=4;F=12;break}case -4:{u=5;F=12;break}case -5:{u=9;F=12;break}case -6:{u=1;F=12;break}default:{}}if((F|0)==12){F=0;c[o+(r<<8)+236>>2]=u}if(!C){if(D){c[o+(r<<8)+4>>2]=c[w>>2];t=x;s=y;F=17}}else{c[o+(r<<8)+4>>2]=c[v>>2];F=17}if((F|0)==17){F=0;c[o+(r<<8)+16>>2]=c[s>>2];g[o+(r<<8)+32>>3]=+g[t>>3]}r=r+1|0}z=z+1|0}c[p>>2]=r;yb=G;return 0}function Sc(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,l=0,m=0,n=0.0,o=0;m=yb;yb=yb+288|0;h=m+192|0;i=m+96|0;j=m+264|0;k=m;l=m+256|0;do if((c[b+12>>2]|0)>=0)if((c[b+8>>2]|0)<0){f=b+24|0;break}else{f=b+16|0;break}else f=b+20|0;while(0);f=c[f>>2]|0;o=(4-f|0)%4|0;g[h>>3]=+g[b+168+(o<<4)>>3];g[h+8>>3]=+g[b+168+(o<<4)+8>>3];o=(5-f|0)%4|0;g[h+16>>3]=+g[b+168+(o<<4)>>3];g[h+24>>3]=+g[b+168+(o<<4)+8>>3];o=(6-f|0)%4|0;g[h+32>>3]=+g[b+168+(o<<4)>>3];g[h+40>>3]=+g[b+168+(o<<4)+8>>3];f=(7-f|0)%4|0;g[h+48>>3]=+g[b+168+(f<<4)>>3];g[h+56>>3]=+g[b+168+(f<<4)+8>>3];n=d*-.5;g[i>>3]=n;d=d*.5;g[i+8>>3]=d;g[i+16>>3]=0.0;g[i+24>>3]=d;g[i+32>>3]=d;g[i+40>>3]=0.0;g[i+48>>3]=d;g[i+56>>3]=n;g[i+64>>3]=0.0;g[i+72>>3]=n;g[i+80>>3]=n;g[i+88>>3]=0.0;c[j>>2]=h;c[j+4>>2]=i;c[j+8>>2]=4;if((Ae(c[a>>2]|0,h,i,4,k)|0)<0)d=1.0e8;else{o=(ve(c[a>>2]|0,j,k,e,l)|0)<0;d=o?1.0e8:+g[l>>3]}yb=m;return +d}function Tc(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=+e;f=f|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0;m=yb;yb=yb+192|0;i=m+96|0;j=m;k=m+168|0;l=m+160|0;do if((c[b+12>>2]|0)>=0)if((c[b+8>>2]|0)<0){h=b+24|0;break}else{h=b+16|0;break}else h=b+20|0;while(0);h=c[h>>2]|0;o=(4-h|0)%4|0;g[i>>3]=+g[b+168+(o<<4)>>3];g[i+8>>3]=+g[b+168+(o<<4)+8>>3];o=(5-h|0)%4|0;g[i+16>>3]=+g[b+168+(o<<4)>>3];g[i+24>>3]=+g[b+168+(o<<4)+8>>3];o=(6-h|0)%4|0;g[i+32>>3]=+g[b+168+(o<<4)>>3];g[i+40>>3]=+g[b+168+(o<<4)+8>>3];h=(7-h|0)%4|0;g[i+48>>3]=+g[b+168+(h<<4)>>3];g[i+56>>3]=+g[b+168+(h<<4)+8>>3];n=e*-.5;g[j>>3]=n;e=e*.5;g[j+8>>3]=e;g[j+16>>3]=0.0;g[j+24>>3]=e;g[j+32>>3]=e;g[j+40>>3]=0.0;g[j+48>>3]=e;g[j+56>>3]=n;g[j+64>>3]=0.0;g[j+72>>3]=n;g[j+80>>3]=n;g[j+88>>3]=0.0;c[k>>2]=i;c[k+4>>2]=j;c[k+8>>2]=4;k=(ve(c[a>>2]|0,k,d,f,l)|0)<0;yb=m;return +(k?1.0e8:+g[l>>3])}function Uc(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,l=0,m=0,n=0,o=0;o=yb;yb=yb+32|0;l=o+20|0;m=o;n=iB(f<<4)|0;c[l>>2]=n;if(!n){Ie(0,3,20454,o+8|0);La(1)}j=iB(f*24|0)|0;k=l+4|0;c[k>>2]=j;if(!j){Ie(0,3,20454,o+16|0);La(1)}i=0;while(1){if((i|0)>=(f|0))break;g[n+(i<<4)>>3]=+g[d+(i<<4)>>3];g[n+(i<<4)+8>>3]=+g[d+(i<<4)+8>>3];g[j+(i*24|0)>>3]=+g[e+(i*24|0)>>3];g[j+(i*24|0)+8>>3]=+g[e+(i*24|0)+8>>3];g[j+(i*24|0)+16>>3]=+g[e+(i*24|0)+16>>3];i=i+1|0}c[l+8>>2]=f;if((ve(c[a>>2]|0,l,b,h,m)|0)<0)g[m>>3]=1.0e8;jB(c[l>>2]|0);jB(c[k>>2]|0);yb=o;return +(+g[m>>3])}function Vc(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,l=0,m=0,n=0,o=0;o=yb;yb=yb+32|0;l=o+20|0;m=o;n=iB(f<<4)|0;c[l>>2]=n;if(!n){Ie(0,3,20454,o+8|0);La(1)}j=iB(f*24|0)|0;k=l+4|0;c[k>>2]=j;if(!j){Ie(0,3,20454,o+16|0);La(1)}i=0;while(1){if((i|0)>=(f|0))break;g[n+(i<<4)>>3]=+g[d+(i<<4)>>3];g[n+(i<<4)+8>>3]=+g[d+(i<<4)+8>>3];g[j+(i*24|0)>>3]=+g[e+(i*24|0)>>3];g[j+(i*24|0)+8>>3]=+g[e+(i*24|0)+8>>3];g[j+(i*24|0)+16>>3]=+g[e+(i*24|0)+16>>3];i=i+1|0}c[l+8>>2]=f;if((xe(c[a>>2]|0,l,b,h,m)|0)<0)g[m>>3]=1.0e8;jB(c[l>>2]|0);jB(c[k>>2]|0);yb=o;return +(+g[m>>3])}function Wc(a,b){a=a|0;b=b|0;var d=0;d=iB(2064)|0;if(d|0){c[d>>2]=0;c[d+4>>2]=a;c[d+8>>2]=b}return d|0}function Xc(a){a=a|0;if(a|0){jB(c[a>>2]|0);jB(a)}return}function Yc(a,b){a=a|0;b=b|0;var e=0,f=0;a:do if((a|0)!=0&(b|0)!=0){XN(a+12|0,0,1024)|0;e=b+(C(c[a+8>>2]|0,c[a+4>>2]|0)|0)|0;while(1){if(b>>>0>=e>>>0){b=0;break a}f=a+12+((d[b>>0]|0)<<2)|0;c[f>>2]=(c[f>>2]|0)+1;b=b+1|0}}else b=-1;while(0);return b|0}function Zc(a,b){a=a|0;b=b|0;var d=0;b=Yc(a,b)|0;if((b|0)>=0){b=0;d=0;do{b=(c[a+12+(d<<2)>>2]|0)+b|0;c[a+1036+(d<<2)>>2]=b;d=d+1|0}while((d|0)!=256);b=0}return b|0}function _c(b,d,e,f){b=b|0;d=d|0;e=+e;f=f|0;var g=0,h=0,i=0,j=0;if(!(e<0.0|e>1.0)){d=Zc(b,d)|0;if((d|0)>=0){i=~~(+(C(c[b+8>>2]|0,c[b+4>>2]|0)|0)*e)>>>0;d=0;while(1){j=d&255;g=c[b+1036+(j<<2)>>2]|0;if(g>>>0>>0)d=d+1<<24>>24;else break}while(1){h=d+1<<24>>24;if((g|0)!=(i|0))break;d=h;g=c[b+1036+((h&255)<<2)>>2]|0}a[f>>0]=((d&255)+j|0)>>>1;d=0}}else d=-1;return d|0}function $c(a,b,c){a=a|0;b=b|0;c=c|0;return _c(a,b,.5,c)|0}function ad(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0,m=0.0,n=0,o=0.0;d=Yc(b,d)|0;if((d|0)>=0){m=0.0;d=1;do{m=m+ +((C(c[b+12+(d<<2)>>2]|0,d)|0)>>>0);d=d+1|0}while((d|0)!=256);k=+(C(c[b+8>>2]|0,c[b+4>>2]|0)|0);d=0;h=0.0;j=0.0;g=0.0;l=0;while(1){f=c[b+12+(l<<2)>>2]|0;j=j+ +(f>>>0);if(j!=0.0){i=k-j;if(i==0.0)break;g=g+ +((C(f,l)|0)>>>0);o=g/j-(m-g)/i;i=o*(j*i*o);n=i>h;f=l&255;d=n?f:d;h=n?i:h}else f=l&255;if(f<<24>>24==-1)break;else l=l+1|0}a[e>>0]=d;d=0}return d|0}function bd(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Yc(b,e)|0;a:do if((h|0)>=0){if(!(c[b>>2]|0)){h=b+4|0;i=b+8|0;s=iB(C(c[i>>2]|0,c[h>>2]|0)|0)|0;c[b>>2]=s;if(!s){h=-1;break}else{s=h;r=i}}else{s=b+4|0;r=b+8|0}p=f>>1;q=0-p|0;o=0;while(1){h=c[r>>2]|0;if((o|0)>=(h|0))break;l=0;while(1){n=c[s>>2]|0;if((l|0)>=(n|0))break;m=q;f=0;h=0;while(1){if((m|0)>(p|0))break;i=m+o|0;b:do if((i|0)>=0?(i|0)<(c[r>>2]|0):0){k=C(i,n)|0;j=q;i=f;while(1){if((j|0)>(p|0))break b;f=j+l|0;if((f|0)>-1&(f|0)<(n|0)){i=i+1|0;h=h+(d[e+(f+k)>>0]|0)|0}j=j+1|0}}else i=f;while(0);m=m+1|0;f=i}a[(c[b>>2]|0)+((C(n,o)|0)+l)>>0]=(h|0)/(f|0)|0;l=l+1|0}o=o+1|0}if(!g)h=0;else{i=0;while(1){if((i|0)>=(C(h,c[s>>2]|0)|0)){h=0;break a}h=(c[b>>2]|0)+i|0;a[h>>0]=(d[h>>0]|0)+g;i=i+1|0;h=c[r>>2]|0}}}while(0);return h|0}function cd(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;e=(e|0)==1;j=(i|0)!=0;do if(!d)if(e){if(j){e=dc(a,b,c,i,h)|0;break}if(!g){e=cc(a,b,c,f,h)|0;break}else{e=bc(a,b,c,f,h)|0;break}}else{if(j){e=gc(a,b,c,i,h)|0;break}if(!g){e=fc(a,b,c,f,h)|0;break}else{e=ec(a,b,c,f,h)|0;break}}else if(e){if(j){e=jc(a,b,c,i,h)|0;break}if(!g){e=ic(a,b,c,f,h)|0;break}else{e=hc(a,b,c,f,h)|0;break}}else{if(j){e=mc(a,b,c,i,h)|0;break}if(!g){e=lc(a,b,c,f,h)|0;break}else{e=kc(a,b,c,f,h)|0;break}}while(0);return e|0}function dd(a,b){a=a|0;b=b|0;var d=0;if((a|0)!=0?(d=a+7062384|0,(c[d>>2]|0)==0):0){c[d>>2]=b;a=0}else a=-1;return a|0}function ed(a){a=a|0;var b=0;if((a|0)!=0?(b=a+7062384|0,(c[b>>2]|0)!=0):0){c[b>>2]=0;a=0}else a=-1;return a|0}function fd(){return gd(16,50)|0}function gd(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;q=yb;yb=yb+64|0;p=q+56|0;o=q+48|0;i=q+40|0;h=q+32|0;g=q+24|0;f=q+16|0;e=q+8|0;d=q;a:do if(!((a+-16|0)>>>0>48|(b|0)<1)){m=iB(32)|0;if(!m){Ie(0,3,20454,d);La(1)}c[m>>2]=0;c[m+4>>2]=b;c[m+28>>2]=a;l=iB(b<<2)|0;c[m+8>>2]=l;if(!l){Ie(0,3,20454,e);La(1)}d=b<<4;k=iB(d)|0;c[m+12>>2]=k;if(!k){Ie(0,3,20454,f);La(1)}f=iB(d)|0;j=m+20|0;c[j>>2]=f;if(!f){Ie(0,3,20454,g);La(1)}d=b<<5;g=iB(d)|0;c[m+16>>2]=g;if(!g){Ie(0,3,20454,h);La(1)}h=iB(d)|0;c[m+24>>2]=h;if(!h){Ie(0,3,20454,i);La(1)}g=C(a,a)|0;f=g*12|0;g=g<<2;e=0;b:while(1){if((e|0)>=(b|0)){n=m;break a}c[l+(e<<2)>>2]=0;a=e<<2;d=0;while(1){if(d>>>0>=4)break;i=iB(f)|0;h=d+a|0;c[k+(h<<2)>>2]=i;if(!i){d=19;break b}i=iB(g)|0;c[(c[j>>2]|0)+(h<<2)>>2]=i;if(!i){d=21;break b}else d=d+1|0}e=e+1|0}if((d|0)==19){Ie(0,3,20454,o);La(1)}else if((d|0)==21){Ie(0,3,20454,p);La(1)}}else n=0;while(0);yb=q;return n|0}function hd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a)b=-1;else{f=a+4|0;g=a+8|0;h=a+12|0;i=a+20|0;d=0;while(1){if((d|0)>=(c[f>>2]|0))break;if(c[(c[g>>2]|0)+(d<<2)>>2]|0)rd(a,d)|0;e=d<<2;b=0;while(1){if((b|0)==4)break;j=b+e|0;jB(c[(c[h>>2]|0)+(j<<2)>>2]|0);jB(c[(c[i>>2]|0)+(j<<2)>>2]|0);b=b+1|0}d=d+1|0}jB(c[h>>2]|0);jB(c[i>>2]|0);jB(c[g>>2]|0);jB(c[a+16>>2]|0);jB(c[a+24>>2]|0);jB(a);b=0}return b|0}function id(b,e,f,h,i,j,k){b=b|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=yb;yb=yb+32|0;p=u+24|0;o=u;t=u+16|0;a:do if((e+-3|0)>>>0>5){c[f>>2]=-1;c[h>>2]=0;g[i>>3]=-1.0;l=-1}else{c[o>>2]=0;s=e+-1|0;c[o+4>>2]=C(s,e)|0;q=C(e,e)|0;c[o+8>>2]=q+-1;c[o+12>>2]=s;l=0;m=0;n=-1;while(1){if((l|0)==4)break;r=a[b+(c[o+(l<<2)>>2]|0)>>0]|0;l=l+1|0;m=(r&255)>(m&255)?r:m;n=(r&255)<(n&255)?r:n}m=m&255;l=n&255;if((m-l|0)<30){c[f>>2]=-1;c[h>>2]=0;g[i>>3]=-1.0;l=-2;break}n=(m+l|0)>>>1;l=0;while(1){if((l|0)==4)break;a[p+l>>0]=n>>>0>(d[b+(c[o+(l<<2)>>2]|0)>>0]|0)>>>0&1;l=l+1|0}m=0;while(1){if(m>>>0>=4){l=18;break}l=m+1|0;if(((a[p+m>>0]|0)==1?(a[p+(l&3)>>0]|0)==1:0)?(a[p+(m+2&3)>>0]|0)==0:0){l=17;break}m=l}if((l|0)==17)c[h>>2]=m;else if((l|0)==18?(m|0)==4:0){c[f>>2]=-1;c[h>>2]=0;g[i>>3]=-1.0;l=-3;break}r=255;l=0;while(1){if((l|0)==(q|0))break;o=b+l|0;m=d[o>>0]|0;p=m-n|0;p=(p|0)<0?0-p|0:p;a[o>>0]=n>>>0>m>>>0&1;r=(p|0)<(r|0)?p:r;l=l+1|0}l=c[h>>2]|0;b:do switch(l|0){case 0:{n=l;m=0;l=0;while(1){if((n|0)>=(e|0))break b;p=(n|0)==(s|0);q=C(n,e)|0;o=0;while(1){if((o|0)==(e|0))break;if((o|n|0)!=0?!(p&((o|0)==0|(o|0)==(s|0))):0){m=QN(m|0,l|0,1)|0;l=G()|0;m=m|(a[b+(o+q)>>0]|0)!=0}o=o+1|0}n=n+1|0}}case 1:{o=0;m=0;l=0;while(1){if((o|0)>=(e|0))break b;p=(o|0)==0;q=(o|0)==(s|0);n=s;while(1){if((n|0)<=-1)break;h=(n|0)==(s|0);if(!(p&h)?!(q&(h|(n|0)==0)):0){m=QN(m|0,l|0,1)|0;l=G()|0;m=m|(a[b+((C(n,e)|0)+o)>>0]|0)!=0}n=n+-1|0}o=o+1|0}}case 2:{n=s;m=0;l=0;while(1){if((n|0)<=-1)break b;q=(n|0)==(s|0)|(n|0)==0;p=C(n,e)|0;o=s;while(1){if((o|0)<=-1)break;if(!(q&(o|0)==(s|0)|(o|n|0)==0)){m=QN(m|0,l|0,1)|0;l=G()|0;m=m|(a[b+(o+p)>>0]|0)!=0}o=o+-1|0}n=n+-1|0}}case 3:{o=s;m=0;l=0;while(1){if((o|0)<=-1)break b;p=(o|0)==(s|0);q=(o|0)==0;n=0;while(1){if((n|0)>=(e|0))break;if(!(p&(n|0)==0|(n|o|0)==0|q&(n|0)==(s|0))){m=QN(m|0,l|0,1)|0;l=G()|0;m=m|(a[b+((C(n,e)|0)+o)>>0]|0)!=0}n=n+1|0}o=o+-1|0}}default:{m=0;l=0}}while(0);g[i>>3]=(r|0)>30?1.0:+(r|0)/30.0;switch(j|0){case 259:{k=a[240+m>>0]|0;s=k<<24>>24;j=t;c[j>>2]=s;c[j+4>>2]=((s|0)<0)<<31>>31;if(k<<24>>24<0){c[f>>2]=-1;g[i>>3]=-1.0;l=-4;break a}break}case 515:{l=a[112+m>>0]|0;s=l<<24>>24;j=t;c[j>>2]=s;c[j+4>>2]=((s|0)<0)<<31>>31;if(k|0)c[k>>2]=d[176+m>>0];if(l<<24>>24<0){c[f>>2]=-1;g[i>>3]=-1.0;l=-4;break a}break}case 772:case 1028:case 1029:case 1285:{l=kd(j,m,l,0,t)|0;if((l|0)<0){c[f>>2]=-1;g[i>>3]=-1.0;l=-4;break a}if((k|0)!=0&(l|0)!=0)c[k>>2]=l;break}default:{k=t;c[k>>2]=m;c[k+4>>2]=l}}c[f>>2]=c[t>>2];l=0}while(0);yb=u;return l|0}function jd(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,l=0,m=0.0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0,w=0,x=0,y=0,z=0,A=0.0;z=yb;yb=yb+16|0;l=z+8|0;k=z;a:do if((b|0)==0|(f|0)<1){c[h>>2]=0;c[i>>2]=0;g[j>>3]=-1.0;d=-1}else switch(d|0){case 0:{x=C(f,f)|0;w=x*3|0;x=iB(x*12|0)|0;if(!x){Ie(0,3,20454,k);La(1)}d=0;k=0;while(1){if((d|0)==(w|0))break;t=k+(~a[e+d>>0]&255)|0;d=d+1|0;k=t}l=(k>>>0)/(w>>>0)|0;d=0;k=0;while(1){if((k|0)==(w|0))break;t=(~a[e+k>>0]&255)-l|0;c[x+(k<<2)>>2]=t;d=(C(t,t)|0)+d|0;k=k+1|0}u=+v(+(+(d|0)));if(u/(+(f|0)*1.7320508)<15.0){c[h>>2]=0;c[i>>2]=0;g[j>>3]=-1.0;jB(x);d=-2;break a}r=c[b>>2]|0;s=b+8|0;t=b+12|0;q=b+16|0;m=0.0;p=0;d=-1;e=-1;k=-1;while(1){if((p|0)>=(r|0))break;l=c[s>>2]|0;b:while(1){d=d+1|0;switch(c[l+(d<<2)>>2]|0){case 0:break;case 2:{l=e;break b}default:{y=18;break b}}}c:do if((y|0)==18){y=0;o=d<<2;n=0;l=e;while(1){if((n|0)==4)break c;b=n+o|0;e=0;f=0;while(1){if((f|0)==(w|0))break;e=(C(c[(c[(c[t>>2]|0)+(b<<2)>>2]|0)+(f<<2)>>2]|0,c[x+(f<<2)>>2]|0)|0)+e|0;f=f+1|0}A=+(e|0)/+g[(c[q>>2]|0)+(b<<3)>>3]/u;f=A>m;b=f?n:k;n=n+1|0;m=f?A:m;l=f?d:l;k=b}}while(0);p=p+1|0;e=l}c[i>>2]=k;c[h>>2]=e;g[j>>3]=m;jB(x);d=0;break a}case 1:{w=C(f,f)|0;x=iB(w<<2)|0;if(!x){Ie(0,3,20454,l);La(1)}d=0;k=0;while(1){if((k|0)==(w|0))break;d=d+(~a[e+k>>0]&255)|0;k=k+1|0}l=(d>>>0)/(w>>>0)|0;d=0;k=0;while(1){if((k|0)==(w|0))break;t=(~a[e+k>>0]&255)-l|0;c[x+(k<<2)>>2]=t;d=(C(t,t)|0)+d|0;k=k+1|0}u=+v(+(+(d|0)));if(u/+(f|0)<15.0){c[h>>2]=0;c[i>>2]=0;g[j>>3]=-1.0;jB(x);d=-2;break a}r=c[b>>2]|0;s=b+8|0;t=b+20|0;q=b+24|0;p=0;d=-1;m=0.0;e=-1;k=-1;while(1){if((p|0)>=(r|0))break;l=c[s>>2]|0;d:while(1){d=d+1|0;switch(c[l+(d<<2)>>2]|0){case 0:break;case 2:{l=e;break d}default:{y=40;break d}}}e:do if((y|0)==40){y=0;o=d<<2;n=0;l=e;while(1){if((n|0)==4)break e;b=n+o|0;e=0;f=0;while(1){if((f|0)==(w|0))break;e=(C(c[(c[(c[t>>2]|0)+(b<<2)>>2]|0)+(f<<2)>>2]|0,c[x+(f<<2)>>2]|0)|0)+e|0;f=f+1|0}A=+(e|0)/+g[(c[q>>2]|0)+(b<<3)>>3]/u;f=A>m;b=f?n:k;n=n+1|0;m=f?A:m;l=f?d:l;k=b}}while(0);p=p+1|0;e=l}c[i>>2]=k;c[h>>2]=e;g[j>>3]=m;jB(x);d=0;break a}default:{d=-1;break a}}while(0);yb=z;return d|0}function kd(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,l=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,D=0,E=0,F=0,H=0,I=0;I=yb;yb=yb+2384|0;l=I+2320|0;D=I+880|0;A=I+800|0;H=I+720|0;B=I+640|0;y=I+560|0;F=I+48|0;E=I;switch(b|0){case 2830:{l=g;u=1200;x=688;m=120;n=127;w=64;o=9;i=8;break}case 772:{j=624;k=432;m=13;n=15;b=9;o=1;i=5;break}case 1028:{j=624;k=432;m=13;n=15;b=5;o=2;i=5;break}case 1029:{b=12;g=2;i=4;break}case 1285:{b=7;g=3;i=4;break}default:b=-1}if((i|0)==4){j=496;k=304;m=22;n=31;o=g;i=5}a:do if((i|0)==5){i=0;g=f;while(1){if((i|0)==(m|0)){u=j;x=k;w=b;i=8;break a}a[l+i>>0]=e&1;x=PN(e|0,g|0,1)|0;i=i+1|0;e=x;g=G()|0}}while(0);b:do if((i|0)==8){t=o<<1;g=0;i=1;while(1){if((i|0)>(t|0))break;j=y+(i<<2)|0;c[j>>2]=0;e=0;b=0;while(1){if((e|0)>=(m|0))break;if(a[l+e>>0]|0){b=b^c[x+(((C(e,i)|0)%(n|0)|0)<<2)>>2];c[j>>2]=b}e=e+1|0}c[j>>2]=c[u+(b<<2)>>2];g=(b|0)==0?g:1;i=i+1|0}v=(g|0)!=0;c:do if(v){c[A>>2]=0;g=c[y+4>>2]|0;c[A+4>>2]=g;c[D>>2]=0;c[D+72>>2]=1;b=1;while(1){if((b|0)>=(t|0))break;c[D+(b<<2)>>2]=-1;c[D+72+(b<<2)>>2]=0;b=b+1|0}c[H>>2]=0;c[H+4>>2]=0;c[B>>2]=-1;c[B+4>>2]=0;s=0;r=0;while(1){f=s;s=s+1|0;d:do if((g|0)==-1){f=f+2|0;c[H+(f<<2)>>2]=r;b=0;while(1){if((b|0)>(r|0)){q=r;break d}q=D+(s*72|0)+(b<<2)|0;p=c[q>>2]|0;c[D+(f*72|0)+(b<<2)>>2]=p;c[q>>2]=c[u+(p<<2)>>2];b=b+1|0}}else{e=f;while(1){b=(e|0)>0;if(b&(c[A+(e<<2)>>2]|0)==-1)e=e+-1|0;else break}if(b){b=e;i=e;while(1){j=i;i=i+-1|0;if((c[A+(i<<2)>>2]|0)==-1)e=b;else e=(c[B+(b<<2)>>2]|0)<(c[B+(i<<2)>>2]|0)?i:b;if((j|0)<=1)break;else b=e}}i=H+(e<<2)|0;p=s-e|0;q=p+(c[i>>2]|0)|0;f=f+2|0;q=(r|0)>(q|0)?r:q;c[H+(f<<2)>>2]=q;b=0;while(1){if((b|0)>=(t|0))break;c[D+(f*72|0)+(b<<2)>>2]=0;b=b+1|0}j=g+n|0;k=A+(e<<2)|0;g=c[i>>2]|0;b=0;while(1){if((b|0)>(g|0))break;i=c[D+(e*72|0)+(b<<2)>>2]|0;if((i|0)!=-1)c[D+(f*72|0)+(p+b<<2)>>2]=c[x+(((j+i-(c[k>>2]|0)|0)%(n|0)|0)<<2)>>2];b=b+1|0}b=0;while(1){if((b|0)>(r|0))break d;p=D+(s*72|0)+(b<<2)|0;k=c[p>>2]|0;j=D+(f*72|0)+(b<<2)|0;c[j>>2]=c[j>>2]^k;c[p>>2]=c[u+(k<<2)>>2];b=b+1|0}}while(0);c[B+(f<<2)>>2]=s-q;if((s|0)>=(t|0))break;b=c[y+(f<<2)>>2]|0;if((b|0)==-1)b=0;else b=c[x+(b<<2)>>2]|0;i=A+(f<<2)|0;c[i>>2]=b;e=1;while(1){if((e|0)>(q|0))break;g=c[y+(f-e<<2)>>2]|0;if((g|0)!=-1?(z=c[D+(f*72|0)+(e<<2)>>2]|0,(z|0)!=0):0){b=b^c[x+((((c[u+(z<<2)>>2]|0)+g|0)%(n|0)|0)<<2)>>2];c[i>>2]=b}e=e+1|0}g=c[u+(b<<2)>>2]|0;c[i>>2]=g;if((q|0)>(o|0))break;else r=q}if((q|0)>(o|0)){b=-1;break b}b=0;while(1){if((b|0)>(q|0))break;B=D+(f*72|0)+(b<<2)|0;c[B>>2]=c[u+(c[B>>2]<<2)>>2];b=b+1|0}b=1;while(1){if((b|0)>(q|0))break;c[E+(b<<2)>>2]=c[D+(f*72|0)+(b<<2)>>2];b=b+1|0}b=0;k=1;while(1){if((n|0)<(k|0))break;j=1;g=1;while(1){if((j|0)>(q|0))break;e=E+(j<<2)|0;i=c[e>>2]|0;if((i|0)!=-1){D=(i+j|0)%(n|0)|0;c[e>>2]=D;g=c[x+(D<<2)>>2]^g}j=j+1|0}if(!g){c[F+(b<<2)>>2]=n-k;b=b+1|0}k=k+1|0}if((b|0)!=(q|0)){b=-1;break b}b=0;while(1){if((b|0)>=(q|0))break c;E=l+(c[F+(b<<2)>>2]|0)|0;a[E>>0]=a[E>>0]^1;b=b+1|0}}else f=0;while(0);b=h;c[b>>2]=0;c[b+4>>2]=0;b=m-w|0;g=1;e=0;i=0;j=0;while(1){if((b|0)>=(m|0))break;E=JN(g|0,e|0,d[l+b>>0]|0,0)|0;E=KN(E|0,G()|0,i|0,j|0)|0;F=G()|0;D=h;c[D>>2]=E;c[D+4>>2]=F;D=QN(g|0,e|0,1)|0;b=b+1|0;g=D;e=G()|0;i=E;j=F}if(v)b=c[H+(f<<2)>>2]|0;else b=0}while(0);yb=I;return b|0}function ld(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,l=0,m=0,n=0,o=0;f=zd(8,8)|0;h=zd(8,1)|0;i=zd(8,1)|0;e=0;while(1){if((e|0)==4)break;o=a+(e<<4)|0;j=c[f>>2]|0;k=e<<4;g[j+(k<<3)>>3]=+g[o>>3];n=a+(e<<4)+8|0;g[j+((k|1)<<3)>>3]=+g[n>>3];g[j+((k|2)<<3)>>3]=1.0;g[j+((k|3)<<3)>>3]=0.0;g[j+((k|4)<<3)>>3]=0.0;g[j+((k|5)<<3)>>3]=0.0;m=b+(e<<4)|0;g[j+((k|6)<<3)>>3]=-(+g[o>>3]*+g[m>>3]);g[j+((k|7)<<3)>>3]=-(+g[n>>3]*+g[m>>3]);g[j+((k|8)<<3)>>3]=0.0;g[j+((k|9)<<3)>>3]=0.0;g[j+((k|10)<<3)>>3]=0.0;g[j+((k|11)<<3)>>3]=+g[o>>3];g[j+((k|12)<<3)>>3]=+g[n>>3];g[j+((k|13)<<3)>>3]=1.0;l=b+(e<<4)+8|0;g[j+((k|14)<<3)>>3]=-(+g[o>>3]*+g[l>>3]);g[j+((k|15)<<3)>>3]=-(+g[n>>3]*+g[l>>3]);k=c[h>>2]|0;j=e<<1;g[k+(j<<3)>>3]=+g[m>>3];g[k+((j|1)<<3)>>3]=+g[l>>3];e=e+1|0}Od(f)|0;Fd(i,f,h)|0;a=c[i>>2]|0;e=0;while(1){if((e|0)==2)break;o=e*3|0;g[d+(e*24|0)>>3]=+g[a+(o<<3)>>3];g[d+(e*24|0)+8>>3]=+g[a+(o+1<<3)>>3];g[d+(e*24|0)+16>>3]=+g[a+(o+2<<3)>>3];e=e+1|0}g[d+48>>3]=+g[a+48>>3];g[d+56>>3]=+g[a+56>>3];g[d+64>>3]=1.0;Ed(f)|0;Ed(h)|0;Ed(i)|0;return}function md(a,b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){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;k=+k;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;s=s|0;t=t|0;var u=0,v=0,w=0;w=yb;yb=yb+12304|0;v=w;u=w+12288|0;do if((d+-2|0)>>>0<3){if((r|0)!=2830){u=r&255;if((nd(b,2,u,u*3|0,e,f,g,h,i,j,k,v)|0)<0){c[o>>2]=-1;r=-6;break}u=id(v,u,o,p,q,r,s)|0;if(!t){r=u;break}r=t;c[r>>2]=0;c[r+4>>2]=0;r=u;break}if((nd(b,2,14,42,e,f,g,h,i,j,.875,v)|0)<0){c[o>>2]=-1;r=-6;break}r=od(v,u,p,q,s)|0;if((r|0)<0){c[o>>2]=-1;break}p=u;u=c[p>>2]|0;p=c[p+4>>2]|0;if((u|0)==-1&(p|0)==-1){c[o>>2]=-1;r=-5;break}c[o>>2]=(u&-32768|0)==0&0==0?u&32767:0;if(t){c[t>>2]=u;c[t+4>>2]=p}}else r=1;while(0);a:do switch(d|0){case 0:case 1:case 3:case 4:{if(!a){c[l>>2]=-1;u=-1;break a}u=a+28|0;p=c[u>>2]|0;q=p<<2;switch(d|0){case 0:case 3:if((nd(b,0,p,q,e,f,g,h,i,j,k,v)|0)<0){c[l>>2]=-1;u=-6;break a}else{u=jd(a,0,v,c[u>>2]|0,l,m,n)|0;break a}default:if((nd(b,1,p,q,e,f,g,h,i,j,k,v)|0)<0){c[l>>2]=-1;u=-6;break a}else{u=jd(a,1,v,c[u>>2]|0,l,m,n)|0;break a}}}default:u=1}while(0);if((r|0)!=1)u=(u|0)==1?r:(u&r|0)<0?u:0;yb=w;return u|0}function nd(b,e,h,i,j,k,l,m,n,o,p,q){b=b|0;e=e|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=+p;q=q|0;var r=0,s=0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0.0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0.0,T=0.0,U=0.0,V=0.0,W=0,X=0;R=yb;yb=yb+256|0;A=R+232|0;z=R+224|0;D=R+216|0;B=R+208|0;s=R+144|0;t=R+80|0;N=R;O=R+240|0;P=R+236|0;g[s>>3]=100.0;g[s+8>>3]=100.0;g[s+16>>3]=110.0;g[s+24>>3]=100.0;g[s+32>>3]=110.0;g[s+40>>3]=110.0;g[s+48>>3]=100.0;g[s+56>>3]=110.0;r=0;while(1){if((r|0)==4)break;g[t+(r<<4)>>3]=+g[o+(r<<4)>>3];g[t+(r<<4)+8>>3]=+g[o+(r<<4)+8>>3];r=r+1|0}ld(s,t,N);y=+g[t>>3];T=+g[t+16>>3];w=y-T;I=+g[t+8>>3];S=+g[t+24>>3];u=I-S;r=~~(w*w+u*u);u=+g[t+32>>3];w=+g[t+48>>3];V=u-w;v=+g[t+40>>3];x=+g[t+56>>3];U=v-x;L=~~(V*V+U*U);u=T-u;v=S-v;t=~~(u*u+v*v);y=w-y;I=x-I;M=~~(y*y+I*I);r=~~(+(((L|0)>(r|0)?L:r)|0)*p*p);t=~~(+(((M|0)>(t|0)?M:t)|0)*p*p);if(!b){s=h;while(1)if((s|0)<(i|0)&(C(s,s)|0)<(r|0))s=s<<1;else break;r=h;while(1)if((r|0)<(i|0)&(C(r,r)|0)<(t|0))r=r<<1;else break}else{s=h;while(1)if((s|0)<(i|0)&(C(s<<2,s)|0)<(r|0))s=s<<1;else break;r=h;while(1)if((r|0)<(i|0)&(C(r<<2,r)|0)<(t|0))r=r<<1;else break}M=(s|0)>(i|0)?i:s;J=(r|0)>(i|0)?i:r;K=(M|0)/(h|0)|0;L=(J|0)/(h|0)|0;u=(1.0-p)*.5*10.0;I=p*10.0;H=C(h,h)|0;a:do if(!e){H=H*3|0;r=kB(H,4)|0;if(!r){Ie(0,3,20454,B);La(1)}b:do switch(m|0){case 0:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=((C(t,k)|0)+s|0)*3|0;b=((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t+2)>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t+1)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+t>>0]|0)}i=i+1|0}o=o+1|0}}case 1:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=((C(t,k)|0)+s|0)*3|0;b=((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+t>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t+1)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+(t+2)>>0]|0)}i=i+1|0}o=o+1|0}}case 2:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=(C(t,k)|0)+s<<2;b=((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|2)>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|1)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+t>>0]|0)}i=i+1|0}o=o+1|0}}case 3:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=(C(t,k)|0)+s<<2;b=((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+t>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|1)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+(t|2)>>0]|0)}i=i+1|0}o=o+1|0}}case 4:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=(C(t,k)|0)+s<<2;b=((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|1)>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|2)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+(t|3)>>0]|0)}i=i+1|0}o=o+1|0}}case 5:case 12:case 13:case 14:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=d[j+((C(t,k)|0)+s)>>0]|0;b=((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+t;s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+t;b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+t}i=i+1|0}o=o+1|0}}case 6:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=(C(t,k)|0)+s<<2;b=((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|3)>>0]|0);s=r+(b+1<<2)|0;c[s>>2]=(c[s>>2]|0)+(d[j+(t|2)>>0]|0);b=r+(b+2<<2)|0;c[b>>2]=(c[b>>2]|0)+(d[j+(t|1)>>0]|0)}i=i+1|0}o=o+1|0}}case 7:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){X=C(t,k)|0;W=(s&65534)+X<<1;T=+((d[j+W>>0]|0)+-128|0);V=+((d[j+(W+2)>>0]|0)+-128|0);U=+((d[j+(X+s<<1|1)>>0]|0)+-16|0)*298.0820007324219;X=~~(T*516.4110107421875+U)>>8;W=~~(U-T*100.29100036621094-V*208.1199951171875)>>8;t=~~(U+V*408.5830078125)>>8;X=(X|0)>0?X:0;b=((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;s=r+(b<<2)|0;c[s>>2]=((X|0)<255?X:255)+(c[s>>2]|0);W=(W|0)>0?W:0;s=r+(b+1<<2)|0;c[s>>2]=((W|0)<255?W:255)+(c[s>>2]|0);t=(t|0)>0?t:0;b=r+(b+2<<2)|0;c[b>>2]=((t|0)<255?t:255)+(c[b>>2]|0)}i=i+1|0}o=o+1|0}}case 8:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){t=C(t,k)|0;W=(s&65534)+t<<1;T=+((d[j+(W|1)>>0]|0)+-128|0);V=+((d[j+(W+3)>>0]|0)+-128|0);U=+((d[j+(t+s<<1)>>0]|0)+-16|0)*298.0820007324219;s=~~(U+T*516.4110107421875)>>8;t=~~(U-T*100.29100036621094-V*208.1199951171875)>>8;W=~~(U+V*408.5830078125)>>8;s=(s|0)>0?s:0;X=((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;b=r+(X<<2)|0;c[b>>2]=((s|0)<255?s:255)+(c[b>>2]|0);t=(t|0)>0?t:0;b=r+(X+1<<2)|0;c[b>>2]=((t|0)<255?t:255)+(c[b>>2]|0);W=(W|0)>0?W:0;X=r+(X+2<<2)|0;c[X>>2]=((W|0)<255?W:255)+(c[X>>2]|0)}i=i+1|0}o=o+1|0}}case 9:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;i=0;while(1){if((i|0)>=(J|0))break b;v=w+I*(+(i|0)+.5)/x;o=0;while(1){if((o|0)>=(M|0))break;u=w+I*(+(o|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(C(t,k)|0)+s<<1;t=a[j+(W|1)>>0]|0;X=((C((i|0)/(L|0)|0,h)|0)+((o|0)/(K|0)|0)|0)*3|0;b=r+(X<<2)|0;c[b>>2]=(c[b>>2]|0)+((t<<3&255|4)&255);W=a[j+W>>0]|0;b=r+(X+1<<2)|0;c[b>>2]=((t&-32&255)>>>3|W<<5&255|2)+(c[b>>2]|0);X=r+(X+2<<2)|0;c[X>>2]=(c[X>>2]|0)+((W&-8|4)&255)}o=o+1|0}i=i+1|0}}case 10:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(C(t,k)|0)+s<<1;t=a[j+(W|1)>>0]|0;X=((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;b=r+(X<<2)|0;c[b>>2]=(c[b>>2]|0)+((t<<2&255|4)&255);W=a[j+W>>0]|0;b=r+(X+1<<2)|0;c[b>>2]=((t&-64&255)>>>3|W<<5&255|4)+(c[b>>2]|0);X=r+(X+2<<2)|0;c[X>>2]=(c[X>>2]|0)+((W&-8|4)&255)}i=i+1|0}o=o+1|0}}case 11:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break b;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(C(t,k)|0)+s<<1;X=((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)|0)*3|0;b=r+(X<<2)|0;c[b>>2]=(c[b>>2]|0)+((a[j+(W|1)>>0]&-16|8)&255);W=a[j+W>>0]|0;b=r+(X+1<<2)|0;c[b>>2]=(c[b>>2]|0)+((W<<4&255|8)&255);X=r+(X+2<<2)|0;c[X>>2]=(c[X>>2]|0)+((W&-16|8)&255)}i=i+1|0}o=o+1|0}}default:{Ie(0,3,17978,D);Q=306;break a}}while(0);t=C(L,K)|0;s=0;while(1){if((s|0)==(H|0))break;a[q+s>>0]=((c[r+(s<<2)>>2]|0)>>>0)/(t>>>0)|0;s=s+1|0}jB(r);r=0}else{r=kB(H,4)|0;if(!r){Ie(0,3,20454,z);La(1)}c:do if(m>>>0<2){w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=((C(t,k)|0)+s|0)*3|0;X=r+((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+((((d[j+(W+1)>>0]|0)+(d[j+W>>0]|0)+(d[j+(W+2)>>0]|0)|0)>>>0)/3|0)}i=i+1|0}o=o+1|0}}else{if((m|1|0)==3){w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(C(t,k)|0)+s<<2;X=r+((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+((((d[j+(W|1)>>0]|0)+(d[j+W>>0]|0)+(d[j+(W|2)>>0]|0)|0)>>>0)/3|0)}i=i+1|0}o=o+1|0}}if((m|2|0)==6){w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(C(t,k)|0)+s<<2;X=r+((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+((((d[j+(W|2)>>0]|0)+(d[j+(W|1)>>0]|0)+(d[j+(W|3)>>0]|0)|0)>>>0)/3|0)}i=i+1|0}o=o+1|0}}switch(m|0){case 5:case 12:case 13:case 14:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=d[j+((C(t,k)|0)+s)>>0]|0;X=r+((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+W}i=i+1|0}o=o+1|0}}case 7:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=d[j+((C(t,k)|0)+s<<1|1)>>0]|0;X=r+((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+W}i=i+1|0}o=o+1|0}}case 8:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=d[j+((C(t,k)|0)+s<<1)>>0]|0;X=r+((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=(c[X>>2]|0)+W}i=i+1|0}o=o+1|0}}case 9:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(C(t,k)|0)+s<<1;b=d[j+W>>0]|0;W=d[j+(W|1)>>0]|0;X=r+((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=((((b<<5&224|W>>>3&28|2)+(b&248|4)+(W<<3&248|4)|0)>>>0)/3|0)+(c[X>>2]|0)}i=i+1|0}o=o+1|0}}case 10:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(C(t,k)|0)+s<<1;b=d[j+W>>0]|0;W=d[j+(W|1)>>0]|0;X=r+((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=((((b<<5&224|W>>>3&24|4)+(b&248|4)+(W<<2&248|4)|0)>>>0)/3|0)+(c[X>>2]|0)}i=i+1|0}o=o+1|0}}case 11:{w=u+100.0;x=+(J|0);y=+(M|0);z=N+48|0;A=N+56|0;B=N+64|0;D=N+8|0;m=N+16|0;E=N+24|0;F=N+32|0;G=N+40|0;e=(b|0)==1;o=0;while(1){if((o|0)>=(J|0))break c;v=w+I*(+(o|0)+.5)/x;i=0;while(1){if((i|0)>=(M|0))break;u=w+I*(+(i|0)+.5)/y;p=+g[B>>3]+(u*+g[z>>3]+v*+g[A>>3]);if(p==0.0){Q=306;break a}V=(+g[m>>3]+(u*+g[N>>3]+v*+g[D>>3]))/p;f[O>>2]=V;u=(+g[G>>3]+(u*+g[E>>3]+v*+g[F>>3]))/p;f[P>>2]=u;ce(n,V,u,O,P)|0;u=+f[O>>2];if(e){s=((~~(u+1.0)|0)/2|0)<<1;t=((~~(+f[P>>2]+1.0)|0)/2|0)<<1}else{s=~~(u+.5);t=~~(+f[P>>2]+.5)}if((s|0)>-1?(t|0)<(l|0)&((t|0)>-1&(s|0)<(k|0)):0){W=(C(t,k)|0)+s<<1;b=d[j+W>>0]|0;X=r+((C((o|0)/(L|0)|0,h)|0)+((i|0)/(K|0)|0)<<2)|0;c[X>>2]=((((b<<4&240|8)+(b&240|8)+((a[j+(W|1)>>0]&-16|8)&255)|0)>>>0)/3|0)+(c[X>>2]|0)}i=i+1|0}o=o+1|0}}default:{Ie(0,3,17978,A);Q=306;break a}}}while(0);t=C(L,K)|0;s=0;while(1){if((s|0)==(H|0))break;a[q+s>>0]=((c[r+(s<<2)>>2]|0)>>>0)/(t>>>0)|0;s=s+1|0}jB(r);r=0}while(0);if((Q|0)==306){jB(r);r=-1}yb=R;return r|0}function od(b,e,f,h,i){b=b|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0.0,l=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=yb;yb=yb+160|0;o=y+152|0;n=y+128|0;x=y+144|0;w=y;c[n>>2]=0;c[n+4>>2]=182;c[n+8>>2]=195;c[n+12>>2]=13;j=0;l=0;m=-1;while(1){if((j|0)==4)break;v=a[b+(c[n+(j<<2)>>2]|0)>>0]|0;j=j+1|0;l=(v&255)>(l&255)?v:l;m=(v&255)<(m&255)?v:m}l=l&255;j=m&255;a:do if((l-j|0)>=30){v=(l+j|0)>>>1;j=0;while(1){if((j|0)==4)break;a[o+j>>0]=v>>>0>(d[b+(c[n+(j<<2)>>2]|0)>>0]|0)>>>0&1;j=j+1|0}u=0;while(1){if(u>>>0>=4)break;j=u+1|0;if(((a[o+u>>0]|0)==1?(a[o+(j&3)>>0]|0)==1:0)?(a[o+(u+2&3)>>0]|0)==0:0)break;u=j}b:do switch(u&2147483647|0){case 4:{c[f>>2]=0;g[h>>3]=-1.0;j=-3;break a}case 0:{l=119;n=0;j=255;while(1){if((n|0)==14){p=57;break b}o=n+-3|0;p=(n&2147483646|0)==12;q=n*14|0;m=0;while(1){if((m|0)==14)break;if(((m+-3|o)>>>0>=8?(r=m&2147483646,((m|n)&2147483646|0)!=0):0)?!(p&((r|0)==0|(r|0)==12)):0){t=(d[b+(m+q)>>0]|0)-v|0;a[w+l>>0]=t>>>31;t=(t|0)>-1?t:0-t|0;l=l+-1|0;j=(t|0)<(j|0)?t:j}m=m+1|0}n=n+1|0}}case 1:{l=119;j=255;n=0;while(1){if((n|0)==14){p=57;break b}o=n+-3|0;q=n&2147483646;p=(q|0)==0;q=(q|0)==12;m=13;while(1){if((m|0)<=-1)break;if(((m+-3|o)>>>0>=8?(s=(m&-2|0)==12,!(p&s)):0)?!(q&(m>>>0<2|s)):0){t=(d[b+((m*14|0)+n)>>0]|0)-v|0;a[w+l>>0]=t>>>31;t=(t|0)>-1?t:0-t|0;l=l+-1|0;j=(t|0)<(j|0)?t:j}m=m+-1|0}n=n+1|0}}case 2:{m=13;l=119;j=255;while(1){if((m|0)<=-1){p=57;break b}n=m+-3|0;q=m>>>0<2|(m&-2|0)==12;p=m*14|0;o=13;while(1){if((o|0)<=-1)break;if((o+-3|n)>>>0>=8?!((o|m)>>>0<2|q&(o&-2|0)==12):0){t=(d[b+(o+p)>>0]|0)-v|0;a[w+l>>0]=t>>>31;t=(t|0)>-1?t:0-t|0;l=l+-1|0;j=(t|0)<(j|0)?t:j}o=o+-1|0}m=m+-1|0}}case 3:{n=13;l=119;j=255;while(1){if((n|0)<=-1){p=57;break b}o=n+-3|0;p=n&-2;q=(p|0)==12;r=(p|0)==0;m=0;while(1){if((m|0)==14)break;if(((m+-3|o)>>>0>=8?(t=m&2147483646,!(q&(t|0)==0)):0)?!((t|p|0)==0|r&(t|0)==12):0){s=(d[b+((m*14|0)+n)>>0]|0)-v|0;a[w+l>>0]=s>>>31;s=(s|0)>-1?s:0-s|0;l=l+-1|0;j=(s|0)<(j|0)?s:j}m=m+1|0}n=n+-1|0}}default:{c[f>>2]=u;k=1.0}}while(0);if((p|0)==57){c[f>>2]=u;k=(j|0)>30?1.0:+(j|0)/30.0}g[h>>3]=k;j=kd(2830,0,0,w,x)|0;if((j|0)<0)j=-4;else{if(i|0)c[i>>2]=j;i=x;x=c[i+4>>2]|0;j=e;c[j>>2]=c[i>>2];c[j+4>>2]=x;j=0}}else{c[f>>2]=0;g[h>>3]=-1.0;j=-2}while(0);yb=y;return j|0}function pd(a,b){a=a|0;b=b|0;var d=0,e=0,f=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,u=0,w=0,x=0,y=0,z=0,A=0,B=0.0;A=yb;yb=yb+32|0;z=A+24|0;f=A+16|0;d=A+8|0;do if(a){if(!b){Ie(0,3,18037,d);d=-1;break}y=a+8|0;e=c[a+4>>2]|0;d=0;while(1){if((d|0)>=(e|0))break;if(!(c[(c[y>>2]|0)+(d<<2)>>2]|0))break;d=d+1|0}if((d|0)!=(e|0)){x=Nz(b)|0;if(!x){Ie(0,3,18082,f);d=-1;break}p=a+28|0;q=a+12|0;r=d<<2;s=a+20|0;t=a+16|0;u=a+24|0;e=vA(x,18105)|0;o=0;a:while(1){if(o>>>0>=4){e=36;break}w=o+r|0;b=0;n=0;while(1){if(n>>>0>=3)break;l=(n|0)==0;m=(n|0)==2;k=0;f=c[p>>2]|0;while(1){if((k|0)>=(f|0))break;j=0;while(1){if((j|0)>=(f|0))break;if(!e){e=21;break a}f=PA(e)|0;e=vA(0,18105)|0;f=255-f|0;c[(c[(c[q>>2]|0)+(w<<2)>>2]|0)+((((C(c[p>>2]|0,k)|0)+j|0)*3|0)+n<<2)>>2]=f;h=c[(c[s>>2]|0)+(w<<2)>>2]|0;i=h+((C(c[p>>2]|0,k)|0)+j<<2)|0;if(!l){c[i>>2]=(c[i>>2]|0)+f;if(m){i=h+((C(c[p>>2]|0,k)|0)+j<<2)|0;c[i>>2]=(c[i>>2]|0)/3|0}}else c[i>>2]=f;j=j+1|0;b=f+b|0;f=c[p>>2]|0}k=k+1|0}n=n+1|0}i=c[p>>2]|0;j=(b|0)/(C(i*3|0,i)|0)|0;b=0;f=0;while(1){if(f>>>0>=(C(i*3|0,i)|0)>>>0)break;n=(c[(c[q>>2]|0)+(w<<2)>>2]|0)+(f<<2)|0;i=(c[n>>2]|0)-j|0;c[n>>2]=i;i=(C(i,i)|0)+b|0;b=i;f=f+1|0;i=c[p>>2]|0}B=+v(+(+(b|0)));g[(c[t>>2]|0)+(w<<3)>>3]=B==0.0?1.0e-07:B;f=0;h=0;b=i;while(1){if(h>>>0>=(C(b,b)|0)>>>0)break;n=(c[(c[s>>2]|0)+(w<<2)>>2]|0)+(h<<2)|0;b=(c[n>>2]|0)-j|0;c[n>>2]=b;b=(C(b,b)|0)+f|0;f=b;h=h+1|0;b=c[p>>2]|0}B=+v(+(+(f|0)));g[(c[u>>2]|0)+(w<<3)>>3]=B==0.0?1.0e-07:B;o=o+1|0}if((e|0)==21){Ie(0,3,18110,z);jB(x);d=-1;break}else if((e|0)==36){jB(x);c[(c[y>>2]|0)+(d<<2)>>2]=1;c[a>>2]=(c[a>>2]|0)+1;break}}else d=-1}else{Ie(0,3,18012,A);d=-1}while(0);yb=A;return d|0} -function bz(d,e,f,h,i,j,k){d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=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,H=0,I=0,J=0,K=0;J=yb;yb=yb+64|0;F=J+56|0;I=J+40|0;A=J;C=J+48|0;D=J+60|0;c[F>>2]=e;x=(d|0)!=0;y=A+40|0;z=y;A=A+39|0;B=C+4|0;l=0;e=0;n=0;a:while(1){do{do if((e|0)>-1)if((l|0)>(2147483647-e|0)){c[(cy()|0)>>2]=75;e=-1;break}else{e=l+e|0;break}while(0);r=c[F>>2]|0;l=a[r>>0]|0;if(!(l<<24>>24)){w=92;break a}m=r;b:while(1){switch(l<<24>>24){case 37:{w=10;break b}case 0:{l=m;break b}default:{}}v=m+1|0;c[F>>2]=v;l=a[v>>0]|0;m=v}c:do if((w|0)==10){w=0;l=m;do{if((a[m+1>>0]|0)!=37)break c;l=l+1|0;m=m+2|0;c[F>>2]=m}while((a[m>>0]|0)==37)}while(0);l=l-r|0;if(x)ez(d,r,l)}while((l|0)!=0);v=(fz(a[(c[F>>2]|0)+1>>0]|0)|0)==0;m=c[F>>2]|0;if(!v?(a[m+2>>0]|0)==36:0){t=(a[m+1>>0]|0)+-48|0;p=1;l=3}else{t=-1;p=n;l=1}l=m+l|0;c[F>>2]=l;m=a[l>>0]|0;n=(m<<24>>24)+-32|0;if(n>>>0>31|(1<>2]=l;m=a[l>>0]|0;n=(m<<24>>24)+-32|0}while(!(n>>>0>31|(1<>24==42){if((fz(a[l+1>>0]|0)|0)!=0?(H=c[F>>2]|0,(a[H+2>>0]|0)==36):0){l=H+1|0;c[i+((a[l>>0]|0)+-48<<2)>>2]=10;l=c[h+((a[l>>0]|0)+-48<<3)>>2]|0;n=1;m=H+3|0}else{if(p|0){e=-1;break}if(x){v=(c[f>>2]|0)+(4-1)&~(4-1);l=c[v>>2]|0;c[f>>2]=v+4}else l=0;n=0;m=(c[F>>2]|0)+1|0}c[F>>2]=m;v=(l|0)<0;u=v?0-l|0:l;o=v?o|8192:o;v=n}else{l=gz(F)|0;if((l|0)<0){e=-1;break}u=l;v=p;m=c[F>>2]|0}do if((a[m>>0]|0)==46){l=m+1|0;if((a[l>>0]|0)!=42){c[F>>2]=l;l=gz(F)|0;m=c[F>>2]|0;break}if(fz(a[m+2>>0]|0)|0?(E=c[F>>2]|0,(a[E+3>>0]|0)==36):0){l=E+2|0;c[i+((a[l>>0]|0)+-48<<2)>>2]=10;l=c[h+((a[l>>0]|0)+-48<<3)>>2]|0;m=E+4|0;c[F>>2]=m;break}if(v|0){e=-1;break a}if(x){s=(c[f>>2]|0)+(4-1)&~(4-1);l=c[s>>2]|0;c[f>>2]=s+4}else l=0;m=(c[F>>2]|0)+2|0;c[F>>2]=m}else l=-1;while(0);s=0;while(1){if(((a[m>>0]|0)+-65|0)>>>0>57){e=-1;break a}n=m;m=m+1|0;c[F>>2]=m;n=a[(a[n>>0]|0)+-65+(3984+(s*58|0))>>0]|0;p=n&255;if((p+-1|0)>>>0>=8)break;else s=p}if(!(n<<24>>24)){e=-1;break}q=(t|0)>-1;do if(n<<24>>24==19)if(q){e=-1;break a}else w=54;else{if(q){c[i+(t<<2)>>2]=p;q=h+(t<<3)|0;t=c[q+4>>2]|0;w=I;c[w>>2]=c[q>>2];c[w+4>>2]=t;w=54;break}if(!x){e=0;break a}hz(I,p,f,k);m=c[F>>2]|0;w=55}while(0);if((w|0)==54){w=0;if(x)w=55;else l=0}d:do if((w|0)==55){w=0;m=a[m+-1>>0]|0;m=(s|0)!=0&(m&15|0)==3?m&-33:m;n=o&-65537;t=(o&8192|0)==0?o:n;e:do switch(m|0){case 110:switch((s&255)<<24>>24){case 0:{c[c[I>>2]>>2]=e;l=0;break d}case 1:{c[c[I>>2]>>2]=e;l=0;break d}case 2:{l=c[I>>2]|0;c[l>>2]=e;c[l+4>>2]=((e|0)<0)<<31>>31;l=0;break d}case 3:{b[c[I>>2]>>1]=e;l=0;break d}case 4:{a[c[I>>2]>>0]=e;l=0;break d}case 6:{c[c[I>>2]>>2]=e;l=0;break d}case 7:{l=c[I>>2]|0;c[l>>2]=e;c[l+4>>2]=((e|0)<0)<<31>>31;l=0;break d}default:{l=0;break d}}case 112:{m=120;l=l>>>0>8?l:8;n=t|8;w=67;break}case 88:case 120:{n=t;w=67;break}case 111:{q=I;q=jz(c[q>>2]|0,c[q+4>>2]|0,y)|0;n=z-q|0;o=0;p=46222;l=(t&8|0)==0|(l|0)>(n|0)?l:n+1|0;n=t;w=73;break}case 105:case 100:{n=I;m=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)<0){m=LN(0,0,m|0,n|0)|0;n=G()|0;o=I;c[o>>2]=m;c[o+4>>2]=n;o=1;p=46222;w=72;break e}else{o=(t&2049|0)!=0&1;p=(t&2048|0)==0?((t&1|0)==0?46222:46224):46223;w=72;break e}}case 117:{n=I;o=0;p=46222;m=c[n>>2]|0;n=c[n+4>>2]|0;w=72;break}case 99:{a[A>>0]=c[I>>2];r=A;o=0;p=46222;q=1;m=n;l=z;break}case 115:{s=c[I>>2]|0;s=(s|0)==0?46232:s;t=Wy(s,0,l)|0;K=(t|0)==0;r=s;o=0;p=46222;q=K?l:t-s|0;m=n;l=K?s+l|0:t;break}case 67:{c[C>>2]=c[I>>2];c[B>>2]=0;c[I>>2]=C;p=-1;w=79;break}case 83:{if(!l){lz(d,32,u,0,t);l=0;w=89}else{p=l;w=79}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{l=Fb[j&1](d,+g[I>>3],u,l,t,m)|0;break d}default:{o=0;p=46222;q=l;m=t;l=z}}while(0);f:do if((w|0)==67){q=I;q=iz(c[q>>2]|0,c[q+4>>2]|0,y,m&32)|0;p=I;p=(n&8|0)==0|(c[p>>2]|0)==0&(c[p+4>>2]|0)==0;o=p?0:2;p=p?46222:46222+(m>>>4)|0;w=73}else if((w|0)==72){q=kz(m,n,y)|0;n=t;w=73}else if((w|0)==79){w=0;o=c[I>>2]|0;l=0;while(1){m=c[o>>2]|0;if(!m)break;m=mz(D,m)|0;n=(m|0)<0;if(n|m>>>0>(p-l|0)>>>0){w=83;break}l=m+l|0;if(p>>>0>l>>>0)o=o+4|0;else break}if((w|0)==83){w=0;if(n){e=-1;break a}}lz(d,32,u,l,t);if(!l){l=0;w=89}else{n=c[I>>2]|0;o=0;while(1){m=c[n>>2]|0;if(!m){w=89;break f}m=mz(D,m)|0;o=m+o|0;if((o|0)>(l|0)){w=89;break f}ez(d,D,m);if(o>>>0>=l>>>0){w=89;break}else n=n+4|0}}}while(0);if((w|0)==73){w=0;m=I;m=(c[m>>2]|0)!=0|(c[m+4>>2]|0)!=0;K=(l|0)!=0|m;m=z-q+((m^1)&1)|0;r=K?q:y;q=K?((l|0)>(m|0)?l:m):0;m=(l|0)>-1?n&-65537:n;l=z}else if((w|0)==89){w=0;lz(d,32,u,l,t^8192);l=(u|0)>(l|0)?u:l;break}t=l-r|0;s=(q|0)<(t|0)?t:q;K=s+o|0;l=(u|0)<(K|0)?K:u;lz(d,32,l,K,m);ez(d,p,o);lz(d,48,l,K,m^65536);lz(d,48,s,t,0);ez(d,r,t);lz(d,32,l,K,m^8192)}while(0);n=v}g:do if((w|0)==92)if(!d)if(!n)e=0;else{e=1;while(1){l=c[i+(e<<2)>>2]|0;if(!l)break;hz(h+(e<<3)|0,l,f,k);e=e+1|0;if(e>>>0>=10){e=1;break g}}while(1){if(c[i+(e<<2)>>2]|0){e=-1;break g}e=e+1|0;if(e>>>0>=10){e=1;break}}}while(0);yb=J;return e|0}function cz(a){a=a|0;return 1}function dz(a){a=a|0;return}function ez(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a>>2]&32))pz(b,d,a)|0;return}function fz(a){a=a|0;return (a+-48|0)>>>0<10|0}function gz(b){b=b|0;var d=0,e=0;if(!(fz(a[c[b>>2]>>0]|0)|0))d=0;else{d=0;do{e=c[b>>2]|0;d=(d*10|0)+-48+(a[e>>0]|0)|0;e=e+1|0;c[b>>2]=e}while((fz(a[e>>0]|0)|0)!=0)}return d|0}function hz(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,h=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{b=(c[d>>2]|0)+(4-1)&~(4-1);e=c[b>>2]|0;c[d>>2]=b+4;c[a>>2]=e;break a}case 10:{e=(c[d>>2]|0)+(4-1)&~(4-1);b=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=b;c[e+4>>2]=((b|0)<0)<<31>>31;break a}case 11:{e=(c[d>>2]|0)+(4-1)&~(4-1);b=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=b;c[e+4>>2]=0;break a}case 12:{e=(c[d>>2]|0)+(8-1)&~(8-1);b=e;f=c[b>>2]|0;b=c[b+4>>2]|0;c[d>>2]=e+8;e=a;c[e>>2]=f;c[e+4>>2]=b;break a}case 13:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;e=(e&65535)<<16>>16;f=a;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;break a}case 14:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=e&65535;c[f+4>>2]=0;break a}case 15:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;e=(e&255)<<24>>24;f=a;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;break a}case 16:{f=(c[d>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[d>>2]=f+4;f=a;c[f>>2]=e&255;c[f+4>>2]=0;break a}case 17:{f=(c[d>>2]|0)+(8-1)&~(8-1);h=+g[f>>3];c[d>>2]=f+8;g[a>>3]=h;break a}case 18:{Sb[e&63](a,d);break a}default:break a}while(0);while(0);return}function iz(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;if(!((b|0)==0&(c|0)==0))do{e=e+-1|0;a[e>>0]=d[4448+(b&15)>>0]|0|f;b=PN(b|0,c|0,4)|0;c=G()|0}while(!((b|0)==0&(c|0)==0));return e|0}function jz(b,c,d){b=b|0;c=c|0;d=d|0;if(!((b|0)==0&(c|0)==0))do{d=d+-1|0;a[d>>0]=b&7|48;b=PN(b|0,c|0,3)|0;c=G()|0}while(!((b|0)==0&(c|0)==0));return d|0}function kz(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(c>>>0>0|(c|0)==0&b>>>0>4294967295){do{e=b;b=ON(b|0,c|0,10,0)|0;f=c;c=G()|0;g=JN(b|0,c|0,10,0)|0;g=LN(e|0,f|0,g|0,G()|0)|0;G()|0;d=d+-1|0;a[d>>0]=g&255|48}while(f>>>0>9|(f|0)==9&e>>>0>4294967295);c=b}else c=b;if(c)do{g=c;c=(c>>>0)/10|0;d=d+-1|0;a[d>>0]=g-(c*10|0)|48}while(g>>>0>=10);return d|0}function lz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=yb;yb=yb+256|0;f=g;if((c|0)>(d|0)&(e&73728|0)==0){e=c-d|0;XN(f|0,b<<24>>24|0,(e>>>0<256?e:256)|0)|0;if(e>>>0>255){b=c-d|0;do{ez(a,f,256);e=e+-256|0}while(e>>>0>255);e=b&255}ez(a,f,e)}yb=g;return}function mz(a,b){a=a|0;b=b|0;if(!a)a=0;else a=nz(a,b,0)|0;return a|0}function nz(b,d,e){b=b|0;d=d|0;e=e|0;do if(b){if(d>>>0<128){a[b>>0]=d;b=1;break}if(!(c[c[(oz()|0)+188>>2]>>2]|0))if((d&-128|0)==57216){a[b>>0]=d;b=1;break}else{c[(cy()|0)>>2]=84;b=-1;break}if(d>>>0<2048){a[b>>0]=d>>>6|192;a[b+1>>0]=d&63|128;b=2;break}if(d>>>0<55296|(d&-8192|0)==57344){a[b>>0]=d>>>12|224;a[b+1>>0]=d>>>6&63|128;a[b+2>>0]=d&63|128;b=3;break}if((d+-65536|0)>>>0<1048576){a[b>>0]=d>>>18|240;a[b+1>>0]=d>>>12&63|128;a[b+2>>0]=d>>>6&63|128;a[b+3>>0]=d&63|128;b=4;break}else{c[(cy()|0)>>2]=84;b=-1;break}}else b=1;while(0);return b|0}function oz(){return Sy()|0}function pz(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=e+16|0;g=c[f>>2]|0;if(!g)if(!(qz(e)|0)){g=c[f>>2]|0;h=5}else f=0;else h=5;a:do if((h|0)==5){j=e+20|0;i=c[j>>2]|0;f=i;if((g-i|0)>>>0>>0){f=Hb[c[e+36>>2]&63](e,b,d)|0;break}b:do if((a[e+75>>0]|0)<0|(d|0)==0){h=0;g=b}else{i=d;while(1){g=i+-1|0;if((a[b+g>>0]|0)==10)break;if(!g){h=0;g=b;break b}else i=g}f=Hb[c[e+36>>2]&63](e,b,i)|0;if(f>>>0>>0)break a;h=i;g=b+i|0;d=d-i|0;f=c[j>>2]|0}while(0);VN(f|0,g|0,d|0)|0;c[j>>2]=(c[j>>2]|0)+d;f=h+d|0}while(0);return f|0}function qz(b){b=b|0;var d=0,e=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;d=c[b>>2]|0;if(!(d&8)){c[b+8>>2]=0;c[b+4>>2]=0;e=c[b+44>>2]|0;c[b+28>>2]=e;c[b+20>>2]=e;c[b+16>>2]=e+(c[b+48>>2]|0);b=0}else{c[b>>2]=d|32;b=-1}return b|0}function rz(a){a=+a;var b=0;g[h>>3]=a;b=c[h>>2]|0;F(c[h+4>>2]|0);return b|0}function sz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=a+20|0;f=c[e>>2]|0;a=(c[a+16>>2]|0)-f|0;a=a>>>0>d>>>0?d:a;VN(f|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a;return d|0}function tz(a,b){a=a|0;b=b|0;if(!b)b=0;else b=uz(c[b>>2]|0,c[b+4>>2]|0,a)|0;return ((b|0)==0?a:b)|0}function uz(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,l=0,m=0,n=0,o=0;o=(c[b>>2]|0)+1794895138|0;h=vz(c[b+8>>2]|0,o)|0;f=vz(c[b+12>>2]|0,o)|0;g=vz(c[b+16>>2]|0,o)|0;a:do if((h>>>0>>2>>>0?(n=d-(h<<2)|0,f>>>0>>0&g>>>0>>0):0)?((g|f)&3|0)==0:0){n=f>>>2;m=g>>>2;l=0;while(1){j=h>>>1;k=l+j|0;i=k<<1;g=i+n|0;f=vz(c[b+(g<<2)>>2]|0,o)|0;g=vz(c[b+(g+1<<2)>>2]|0,o)|0;if(!(g>>>0>>0&f>>>0<(d-g|0)>>>0)){f=0;break a}if(a[b+(g+f)>>0]|0){f=0;break a}f=Ny(e,b+g|0)|0;if(!f)break;f=(f|0)<0;if((h|0)==1){f=0;break a}l=f?l:k;h=f?j:h-j|0}f=i+m|0;g=vz(c[b+(f<<2)>>2]|0,o)|0;f=vz(c[b+(f+1<<2)>>2]|0,o)|0;if(f>>>0>>0&g>>>0<(d-f|0)>>>0)f=(a[b+(f+g)>>0]|0)==0?b+f|0:0;else f=0}else f=0;while(0);return f|0}function vz(a,b){a=a|0;b=b|0;var c=0;c=RN(a|0)|0;return ((b|0)==0?a:c)|0}function wz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=yb;yb=yb+16|0;f=e;c[f>>2]=d;d=xz(a,b,f)|0;yb=e;return d|0}function xz(a,b,c){a=a|0;b=b|0;c=c|0;return Yy(a,2147483647,b,c)|0}function yz(b,e,f){b=b|0;e=e|0;f=f|0;var g=0.0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;switch(e|0){case 0:{l=-149;m=24;j=4;break}case 1:{l=-1074;m=53;j=4;break}case 2:{l=-1074;m=53;j=4;break}default:g=0.0}a:do if((j|0)==4){o=b+4|0;n=b+104|0;do{e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0}else e=ly(b)|0}while((my(e)|0)!=0);b:do switch(e|0){case 43:case 45:{i=1-(((e|0)==45&1)<<1)|0;e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;h=d[e>>0]|0;break b}else{h=ly(b)|0;break b}}default:{h=e;i=1}}while(0);e=0;while(1){if((h|32|0)!=(a[46272+e>>0]|0))break;do if(e>>>0<7){h=c[o>>2]|0;if(h>>>0<(c[n>>2]|0)>>>0){c[o>>2]=h+1;h=d[h>>0]|0;break}else{h=ly(b)|0;break}}while(0);e=e+1|0;if(e>>>0>=8){e=8;break}}c:do switch(e&2147483647|0){case 8:break;case 3:{j=23;break}default:{k=(f|0)!=0;if(k&e>>>0>3)if((e|0)==8)break c;else{j=23;break c}d:do if(!e){e=0;while(1){if((h|32|0)!=(a[46281+e>>0]|0))break d;do if(e>>>0<2){h=c[o>>2]|0;if(h>>>0<(c[n>>2]|0)>>>0){c[o>>2]=h+1;h=d[h>>0]|0;break}else{h=ly(b)|0;break}}while(0);e=e+1|0;if(e>>>0>=3){e=3;break}}}while(0);switch(e|0){case 3:{e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0}else e=ly(b)|0;if((e|0)!=40){if(!(c[n>>2]|0)){g=r;break a}c[o>>2]=(c[o>>2]|0)+-1;g=r;break a}e=1;while(1){h=c[o>>2]|0;if(h>>>0<(c[n>>2]|0)>>>0){c[o>>2]=h+1;h=d[h>>0]|0}else h=ly(b)|0;if(!((h+-48|0)>>>0<10|(h+-65|0)>>>0<26)?!((h|0)==95|(h+-97|0)>>>0<26):0)break;e=e+1|0}if((h|0)==41){g=r;break a}h=(c[n>>2]|0)==0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if(!k){c[(cy()|0)>>2]=22;jy(b,0,0);g=0.0;break a}if(!e){g=r;break a}while(1){e=e+-1|0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if(!e){g=r;break a}}}case 0:{if((h|0)==48){e=c[o>>2]|0;if(e>>>0<(c[n>>2]|0)>>>0){c[o>>2]=e+1;e=d[e>>0]|0}else e=ly(b)|0;if((e|32|0)==120){g=+zz(b,m,l,i,f);break a}if(!(c[n>>2]|0))e=48;else{c[o>>2]=(c[o>>2]|0)+-1;e=48}}else e=h;g=+Az(b,e,m,l,i,f);break a}default:{if(c[n>>2]|0)c[o>>2]=(c[o>>2]|0)+-1;c[(cy()|0)>>2]=22;jy(b,0,0);g=0.0;break a}}}}while(0);if((j|0)==23){h=(c[n>>2]|0)==0;if(!h)c[o>>2]=(c[o>>2]|0)+-1;if((f|0)!=0&e>>>0>3)do{if(!h)c[o>>2]=(c[o>>2]|0)+-1;e=e+-1|0}while(e>>>0>3)}g=+(i|0)*s}while(0);return +g}function zz(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0.0,i=0,j=0,k=0.0,l=0,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;y=a+4|0;i=c[y>>2]|0;x=a+104|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=ly(a)|0;j=0;a:while(1){switch(i|0){case 46:{w=10;break a}case 48:break;default:{p=0;m=j;l=0;j=0;break a}}i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=ly(a)|0;j=1}if((w|0)==10){i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=ly(a)|0;if((i|0)==48){l=0;j=0;do{i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=ly(a)|0;l=KN(l|0,j|0,-1,-1)|0;j=G()|0}while((i|0)==48);p=1;m=1}else{p=1;m=j;l=0;j=0}}o=0;n=1.0;h=0.0;v=0;s=p;t=m;u=0;m=0;while(1){q=i+-48|0;p=i|32;if(q>>>0>=10){r=(i|0)==46;if(!(r|(p+-97|0)>>>0<6))break;if(r)if(!s){s=1;k=n;q=v;r=t;l=m;j=u;p=u}else{i=46;break}else w=24}else w=24;if((w|0)==24){w=0;i=(i|0)>57?p+-87|0:q;do if(!((u|0)<0|(u|0)==0&m>>>0<8))if((u|0)<0|(u|0)==0&m>>>0<14){n=n*.0625;k=n;h=h+n*+(i|0);i=v;break}else{i=(o|0)!=0|(i|0)==0;o=i?o:1;k=n;h=i?h:h+n*.5;i=v;break}else{k=n;i=i+(v<<4)|0}while(0);m=KN(m|0,u|0,1,0)|0;q=i;r=1;p=G()|0}i=c[y>>2]|0;if(i>>>0<(c[x>>2]|0)>>>0){c[y>>2]=i+1;i=d[i>>0]|0}else i=ly(a)|0;n=k;v=q;t=r;u=p}do if(!t){i=(c[x>>2]|0)==0;if(!i)c[y>>2]=(c[y>>2]|0)+-1;if(g){if(!i?(c[y>>2]=(c[y>>2]|0)+-1,!((s|0)==0|i)):0)c[y>>2]=(c[y>>2]|0)+-1}else jy(a,0,0);h=+(f|0)*0.0}else{o=(s|0)==0;p=o?m:l;o=o?u:j;if((u|0)<0|(u|0)==0&m>>>0<8){j=v;l=u;do{j=j<<4;w=m;m=KN(m|0,l|0,1,0)|0;v=l;l=G()|0}while((v|0)<0|(v|0)==0&w>>>0<7);m=j}else m=v;if((i|32|0)==112){j=Bz(a,g)|0;i=G()|0;if((j|0)==0&(i|0)==-2147483648){if(!g){jy(a,0,0);h=0.0;break}if(!(c[x>>2]|0)){j=0;i=0}else{c[y>>2]=(c[y>>2]|0)+-1;j=0;i=0}}}else if(!(c[x>>2]|0)){j=0;i=0}else{c[y>>2]=(c[y>>2]|0)+-1;j=0;i=0}l=QN(p|0,o|0,2)|0;l=KN(l|0,G()|0,-32,-1)|0;l=KN(l|0,G()|0,j|0,i|0)|0;i=G()|0;if(!m){h=+(f|0)*0.0;break}y=0-e|0;g=((y|0)<0)<<31>>31;if((i|0)>(g|0)|(i|0)==(g|0)&l>>>0>y>>>0){c[(cy()|0)>>2]=34;h=+(f|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}y=e+-106|0;g=((y|0)<0)<<31>>31;if((i|0)<(g|0)|(i|0)==(g|0)&l>>>0>>0){c[(cy()|0)>>2]=34;h=+(f|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if((m|0)>-1){j=m;do{y=!(h>=.5);j=j<<1|(y^1)&1;h=h+(y?h:h+-1.0);l=KN(l|0,i|0,-1,-1)|0;i=G()|0}while((j|0)>-1);n=h;m=j}else n=h;y=((b|0)<0)<<31>>31;e=LN(32,0,e|0,((e|0)<0)<<31>>31|0)|0;i=KN(e|0,G()|0,l|0,i|0)|0;e=G()|0;if((e|0)<(y|0)|(e|0)==(y|0)&i>>>0>>0)if((i|0)>0)w=65;else{j=0;i=84;w=67}else{i=b;w=65}if((w|0)==65)if((i|0)<53){j=i;i=84-i|0;w=67}else{k=0.0;h=+(f|0)}if((w|0)==67){h=+(f|0);k=+zy(+sy(1.0,i),h);i=j}f=(m&1|0)==0&(n!=0.0&(i|0)<32);h=(f?0.0:n)*h+(k+h*+((m+(f&1)|0)>>>0))-k;if(!(h!=0.0))c[(cy()|0)>>2]=34;h=+yy(h,l)}while(0);return +h}function Az(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0,t=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,H=0,I=0,J=0.0;I=yb;yb=yb+512|0;E=I;F=f+e|0;H=0-F|0;D=a+4|0;B=a+104|0;j=0;a:while(1){switch(b|0){case 46:{z=7;break a}case 48:break;default:{v=0;p=j;j=0;o=0;break a}}b=c[D>>2]|0;if(b>>>0<(c[B>>2]|0)>>>0){c[D>>2]=b+1;b=d[b>>0]|0}else b=ly(a)|0;j=1}if((z|0)==7){b=c[D>>2]|0;if(b>>>0<(c[B>>2]|0)>>>0){c[D>>2]=b+1;b=d[b>>0]|0}else b=ly(a)|0;if((b|0)==48){j=0;b=0;while(1){j=KN(j|0,b|0,-1,-1)|0;o=G()|0;b=c[D>>2]|0;if(b>>>0<(c[B>>2]|0)>>>0){c[D>>2]=b+1;b=d[b>>0]|0}else b=ly(a)|0;if((b|0)==48)b=o;else{v=1;p=1;break}}}else{v=1;p=j;j=0;o=0}}c[E>>2]=0;n=b+-48|0;m=(b|0)==46;b:do if(m|n>>>0<10){A=E+496|0;w=0;l=0;s=0;x=v;y=p;z=n;p=0;n=0;c:while(1){do if(m)if(!x){x=1;j=p;o=n}else break c;else{p=KN(p|0,n|0,1,0)|0;n=G()|0;v=(b|0)!=48;if((l|0)>=125){if(!v)break;c[A>>2]=c[A>>2]|1;break}m=E+(l<<2)|0;if(!w)b=z;else b=b+-48+((c[m>>2]|0)*10|0)|0;c[m>>2]=b;w=w+1|0;y=(w|0)==9;w=y?0:w;l=l+(y&1)|0;s=v?p:s;y=1}while(0);b=c[D>>2]|0;if(b>>>0<(c[B>>2]|0)>>>0){c[D>>2]=b+1;b=d[b>>0]|0}else b=ly(a)|0;z=b+-48|0;m=(b|0)==46;if(!(m|z>>>0<10)){v=x;m=y;z=31;break b}}b=w;m=(y|0)!=0;z=39}else{w=0;l=0;s=0;m=p;p=0;n=0;z=31}while(0);do if((z|0)==31){A=(v|0)==0;j=A?p:j;o=A?n:o;m=(m|0)!=0;if(!(m&(b|32|0)==101))if((b|0)>-1){b=w;z=39;break}else{b=w;z=41;break}m=Bz(a,h)|0;b=G()|0;if((m|0)==0&(b|0)==-2147483648){if(!h){jy(a,0,0);i=0.0;break}if(!(c[B>>2]|0)){m=0;b=0}else{c[D>>2]=(c[D>>2]|0)+-1;m=0;b=0}}j=KN(m|0,b|0,j|0,o|0)|0;b=w;o=G()|0;z=43}while(0);if((z|0)==39)if(c[B>>2]|0){c[D>>2]=(c[D>>2]|0)+-1;if(m)z=43;else z=42}else z=41;if((z|0)==41)if(m)z=43;else z=42;do if((z|0)==42){c[(cy()|0)>>2]=22;jy(a,0,0);i=0.0}else if((z|0)==43){m=c[E>>2]|0;if(!m){i=+(g|0)*0.0;break}if(((n|0)<0|(n|0)==0&p>>>0<10)&((j|0)==(p|0)&(o|0)==(n|0))?(e|0)>30|(m>>>e|0)==0:0){i=+(g|0)*+(m>>>0);break}a=(f|0)/-2|0;D=((a|0)<0)<<31>>31;if((o|0)>(D|0)|(o|0)==(D|0)&j>>>0>a>>>0){c[(cy()|0)>>2]=34;i=+(g|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}a=f+-106|0;D=((a|0)<0)<<31>>31;if((o|0)<(D|0)|(o|0)==(D|0)&j>>>0>>0){c[(cy()|0)>>2]=34;i=+(g|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if(b){if((b|0)<9){n=E+(l<<2)|0;m=c[n>>2]|0;while(1){m=m*10|0;if((b|0)>=8)break;else b=b+1|0}c[n>>2]=m}l=l+1|0}if((s|0)<9?(s|0)<=(j|0)&(j|0)<18:0){if((j|0)==9){i=+(g|0)*+((c[E>>2]|0)>>>0);break}if((j|0)<9){i=+(g|0)*+((c[E>>2]|0)>>>0)/+(c[4464+(8-j<<2)>>2]|0);break}a=e+27+(C(j,-3)|0)|0;b=c[E>>2]|0;if((a|0)>30|(b>>>a|0)==0){i=+(g|0)*+(b>>>0)*+(c[4464+(j+-10<<2)>>2]|0);break}}b=(j|0)%9|0;if(!b)m=0;else{s=(j|0)>-1?b:b+9|0;o=c[4464+(8-s<<2)>>2]|0;if(l){p=1e9/(o|0)|0;n=0;m=0;b=0;do{B=E+(b<<2)|0;D=c[B>>2]|0;a=(D>>>0)/(o>>>0)|0;D=D-(C(a,o)|0)|0;a=a+n|0;c[B>>2]=a;n=C(p,D)|0;a=(b|0)==(m|0)&(a|0)==0;j=a?j+-9|0:j;m=a?m+1&127:m;b=b+1|0}while((b|0)!=(l|0));if(!n)b=l;else{c[E+(l<<2)>>2]=n;b=l+1|0}}else{m=0;b=0}l=b;j=9-s+j|0}b=0;d:while(1){v=(j|0)<18;w=(j|0)==18;x=E+(m<<2)|0;while(1){if(!v){if(!w)break d;if((c[x>>2]|0)>>>0>=9007199){j=18;break d}}n=0;y=l;l=l+127|0;while(1){p=l&127;o=E+(p<<2)|0;l=QN(c[o>>2]|0,0,29)|0;l=KN(l|0,G()|0,n|0,0)|0;n=G()|0;if(n>>>0>0|(n|0)==0&l>>>0>1e9){s=ON(l|0,n|0,1e9,0)|0;a=JN(s|0,G()|0,1e9,0)|0;l=LN(l|0,n|0,a|0,G()|0)|0;G()|0}else s=0;c[o>>2]=l;a=(p|0)==(m|0);o=(p|0)!=(y+127&127|0)|a?y:(l|0)==0?p:y;if(a)break;else{n=s;y=o;l=p+-1|0}}b=b+-29|0;if(!s)l=y;else break}m=m+127&127;l=o+127&127;n=E+((o+126&127)<<2)|0;if((m|0)==(o|0))c[n>>2]=c[n>>2]|c[E+(l<<2)>>2];else l=y;c[E+(m<<2)>>2]=s;j=j+9|0}e:while(1){w=l+1&127;x=E+((l+127&127)<<2)|0;while(1){p=(j|0)==18;v=(j|0)>27?9:1;y=m;while(1){o=0;while(1){m=o+y&127;if((m|0)==(l|0)){z=92;break}m=c[E+(m<<2)>>2]|0;n=c[14072+(o<<2)>>2]|0;if(m>>>0>>0){z=92;break}if(m>>>0>n>>>0)break;if((o+1|0)>>>0<2)o=1;else{z=92;break}}if((z|0)==92?(z=0,p):0)break e;b=v+b|0;if((y|0)==(l|0))y=l;else break}p=(1<>>v;o=0;m=y;n=y;do{B=E+(n<<2)|0;D=c[B>>2]|0;a=(D>>>v)+o|0;c[B>>2]=a;o=C(D&p,s)|0;a=(n|0)==(m|0)&(a|0)==0;j=a?j+-9|0:j;m=a?m+1&127:m;n=n+1&127}while((n|0)!=(l|0));if(o|0){if((w|0)!=(m|0))break;c[x>>2]=c[x>>2]|1}}c[E+(l<<2)>>2]=o;l=w}i=0.0;j=l;m=0;do{n=m+y&127;l=j+1&127;if((n|0)==(j|0)){c[E+(l+-1<<2)>>2]=0;j=l}i=i*1.0e9+ +((c[E+(n<<2)>>2]|0)>>>0);m=m+1|0}while((m|0)!=2);t=+(g|0);k=i*t;n=b+53|0;o=n-f|0;p=(o|0)<(e|0);m=p?((o|0)>0?o:0):e;if((m|0)<53){J=+zy(+sy(1.0,105-m|0),k);q=+vy(k,+sy(1.0,53-m|0));r=J;i=q;q=J+(k-q)}else{r=0.0;i=0.0;q=k}l=y+2&127;if((l|0)!=(j|0)){l=c[E+(l<<2)>>2]|0;do if(l>>>0>=5e8){if((l|0)!=5e8){i=t*.75+i;break}if((y+3&127|0)==(j|0)){i=t*.5+i;break}else{i=t*.75+i;break}}else{if((l|0)==0?(y+3&127|0)==(j|0):0)break;i=t*.25+i}while(0);if((53-m|0)>1?!(+vy(i,1.0)!=0.0):0)k=i+1.0;else k=i}else k=i;i=q+k-r;do if((n&2147483647|0)>(-2-F|0)){F=!(+u(+i)>=9007199254740992.0);b=b+((F^1)&1)|0;i=F?i:i*.5;if((b+50|0)<=(H|0)?!(k!=0.0&(p&((m|0)!=(o|0)|F))):0)break;c[(cy()|0)>>2]=34}while(0);i=+yy(i,b)}while(0);yb=I;return +i}function Bz(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;i=a+4|0;e=c[i>>2]|0;j=a+104|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;f=d[e>>0]|0}else f=ly(a)|0;switch(f|0){case 43:case 45:{g=(f|0)==45&1;e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=ly(a)|0;f=e+-48|0;if((b|0)!=0&f>>>0>9)if(!(c[j>>2]|0)){f=0;e=-2147483648}else{c[i>>2]=(c[i>>2]|0)+-1;k=14}else k=12;break}default:{g=0;e=f;f=f+-48|0;k=12}}if((k|0)==12)if(f>>>0>9)k=14;else{f=0;do{f=e+-48+(f*10|0)|0;e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=ly(a)|0;b=e+-48|0}while(b>>>0<10&(f|0)<214748364);h=((f|0)<0)<<31>>31;if(b>>>0<10){do{l=JN(f|0,h|0,10,0)|0;b=G()|0;e=KN(e|0,((e|0)<0)<<31>>31|0,-48,-1)|0;f=KN(e|0,G()|0,l|0,b|0)|0;h=G()|0;e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=ly(a)|0;b=e+-48|0}while(b>>>0<10&((h|0)<21474836|(h|0)==21474836&f>>>0<2061584302));if(b>>>0<10){do{e=c[i>>2]|0;if(e>>>0<(c[j>>2]|0)>>>0){c[i>>2]=e+1;e=d[e>>0]|0}else e=ly(a)|0}while((e+-48|0)>>>0<10);e=h}else e=h}else e=h;if(c[j>>2]|0)c[i>>2]=(c[i>>2]|0)+-1;j=(g|0)==0;i=LN(0,0,f|0,e|0)|0;l=G()|0;f=j?f:i;e=j?e:l}if((k|0)==14)if(!(c[j>>2]|0)){f=0;e=-2147483648}else{c[i>>2]=(c[i>>2]|0)+-1;f=0;e=-2147483648}F(e|0);return f|0}function Cz(b,e){b=b|0;e=e|0;var f=0,g=0;f=0;while(1){if((d[4496+f>>0]|0)==(b|0)){g=4;break}f=f+1|0;if((f|0)==87){b=87;g=5;break}}if((g|0)==4)if(!f)f=4592;else{b=f;g=5}if((g|0)==5){f=4592;do{do{g=f;f=f+1|0}while((a[g>>0]|0)!=0);b=b+-1|0}while((b|0)!=0)}return Dz(f,c[e+20>>2]|0)|0}function Dz(a,b){a=a|0;b=b|0;return tz(a,b)|0}function Ez(a){a=a|0;return Cz(a,c[(Fz()|0)+188>>2]|0)|0}function Fz(){return Sy()|0}function Gz(a,b){a=a|0;b=b|0;var c=0;c=Ey(a)|0;return ((Hz(a,1,c,b)|0)!=(c|0))<<31>>31|0}function Hz(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=C(d,b)|0;d=(b|0)==0?0:d;if((c[e+76>>2]|0)>-1){g=(cz(e)|0)==0;a=pz(a,f,e)|0;if(!g)dz(e)}else a=pz(a,f,e)|0;if((a|0)!=(f|0))d=(a>>>0)/(b>>>0)|0;return d|0}function Iz(a){a=a|0;var b=0;if(c[a+68>>2]|0){b=c[a+132>>2]|0;a=a+128|0;if(b|0)c[b+128>>2]=c[a>>2];a=c[a>>2]|0;if(!a)a=(Jz()|0)+232|0;else a=a+132|0;c[a>>2]=b}return}function Jz(){return Sy()|0}function Kz(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+16|0;j=l;k=e&255;a[j>>0]=k;g=b+16|0;h=c[g>>2]|0;if(!h)if(!(qz(b)|0)){h=c[g>>2]|0;i=4}else f=-1;else i=4;do if((i|0)==4){i=b+20|0;g=c[i>>2]|0;if(g>>>0>>0?(f=e&255,(f|0)!=(a[b+75>>0]|0)):0){c[i>>2]=g+1;a[g>>0]=k;break}if((Hb[c[b+36>>2]&63](b,j,1)|0)==1)f=d[j>>0]|0;else f=-1}while(0);yb=l;return f|0}function Lz(a,b){a=a|0;b=b|0;return Mz(a,b,(Ey(a)|0)+1|0)|0}function Mz(b,c,d){b=b|0;c=c|0;d=d|0;a:do if(!d)d=0;else{c=c&255;while(1){d=d+-1|0;if((a[b+d>>0]|0)==c<<24>>24)break;if(!d){d=0;break a}}d=b+d|0}while(0);return d|0}function Nz(a){a=a|0;var b=0,c=0;b=(Ey(a)|0)+1|0;c=iB(b)|0;if(!c)a=0;else a=VN(c|0,a|0,b|0)|0;return a|0}function Oz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+48|0;h=i+32|0;g=i+16|0;e=i;if(Ry(46285,a[d>>0]|0)|0){f=Pz(d)|0;c[e>>2]=b;c[e+4>>2]=f|32768;c[e+8>>2]=438;e=by(ea(5,e|0)|0)|0;if((e|0)>=0){if(f&524288|0){c[g>>2]=e;c[g+4>>2]=2;c[g+8>>2]=1;da(221,g|0)|0}b=Qz(e,d)|0;if(!b){c[h>>2]=e;ga(6,h|0)|0;b=0}}else b=0}else{c[(cy()|0)>>2]=22;b=0}yb=i;return b|0}function Pz(b){b=b|0;var c=0,d=0,e=0;d=(Ry(b,43)|0)==0;c=a[b>>0]|0;d=d?c<<24>>24!=114&1:2;e=(Ry(b,120)|0)==0;d=e?d:d|128;b=(Ry(b,101)|0)==0;b=b?d:d|524288;b=c<<24>>24==114?b:b|64;b=c<<24>>24==119?b|512:b;return (c<<24>>24==97?b|1024:b)|0}function Qz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+64|0;j=k+40|0;h=k+24|0;g=k+16|0;f=k;i=k+56|0;if(Ry(46285,a[d>>0]|0)|0){e=iB(1176)|0;if(!e)e=0;else{XN(e|0,0,144)|0;if(!(Ry(d,43)|0))c[e>>2]=(a[d>>0]|0)==114?8:4;if(Ry(d,101)|0){c[f>>2]=b;c[f+4>>2]=2;c[f+8>>2]=1;da(221,f|0)|0}if((a[d>>0]|0)==97){c[g>>2]=b;c[g+4>>2]=3;d=da(221,g|0)|0;if(!(d&1024)){c[h>>2]=b;c[h+4>>2]=4;c[h+8>>2]=d|1024;da(221,h|0)|0}f=c[e>>2]|128;c[e>>2]=f}else f=c[e>>2]|0;c[e+60>>2]=b;c[e+44>>2]=e+152;c[e+48>>2]=1024;d=e+75|0;a[d>>0]=-1;if((f&8|0)==0?(c[j>>2]=b,c[j+4>>2]=21523,c[j+8>>2]=i,(fa(54,j|0)|0)==0):0)a[d>>0]=10;c[e+32>>2]=1;c[e+36>>2]=2;c[e+40>>2]=1;c[e+12>>2]=2;if(!(c[13609]|0))c[e+76>>2]=-1;Rz(e)|0}}else{c[(cy()|0)>>2]=22;e=0}yb=k;return e|0}function Rz(a){a=a|0;var b=0,d=0;b=Sz()|0;c[a+56>>2]=c[b>>2];d=c[b>>2]|0;if(d|0)c[d+52>>2]=a;c[b>>2]=a;Tz();return a|0}function Sz(){X(54524);return 54532}function Tz(){ia(54524);return}function Uz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;if((c[a+76>>2]|0)>-1)f=cz(a)|0;else f=0;Iz(a);g=(c[a>>2]&1|0)!=0;if(!g){e=Sz()|0;d=c[a+52>>2]|0;b=a+56|0;if(d|0)c[d+56>>2]=c[b>>2];b=c[b>>2]|0;if(b|0)c[b+52>>2]=d;if((c[e>>2]|0)==(a|0))c[e>>2]=b;Tz()}b=Vz(a)|0;b=Eb[c[a+12>>2]&127](a)|0|b;d=c[a+96>>2]|0;if(d|0)jB(d);if(g){if(f|0)dz(a)}else jB(a);return b|0}function Vz(a){a=a|0;var b=0,d=0;do if(a){if((c[a+76>>2]|0)<=-1){b=Wz(a)|0;break}d=(cz(a)|0)==0;b=Wz(a)|0;if(!d)dz(a)}else{if(!(c[3456]|0))b=0;else b=Vz(c[3456]|0)|0;a=c[(Sz()|0)>>2]|0;if(a)do{if((c[a+76>>2]|0)>-1)d=cz(a)|0;else d=0;if((c[a+20>>2]|0)>>>0>(c[a+28>>2]|0)>>>0)b=Wz(a)|0|b;if(d|0)dz(a);a=c[a+56>>2]|0}while((a|0)!=0);Tz()}while(0);return b|0}function Wz(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a+20|0;h=a+28|0;if((c[b>>2]|0)>>>0>(c[h>>2]|0)>>>0?(Hb[c[a+36>>2]&63](a,0,0)|0,(c[b>>2]|0)==0):0)a=-1;else{d=a+4|0;e=c[d>>2]|0;f=a+8|0;g=c[f>>2]|0;if(e>>>0>>0){g=e-g|0;Ib[c[a+40>>2]&15](a,g,((g|0)<0)<<31>>31,1)|0;G()|0}c[a+16>>2]=0;c[h>>2]=0;c[b>>2]=0;c[f>>2]=0;c[d>>2]=0;a=0}return a|0}function Xz(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,m=0,n=0,o=0,p=0;if((c[f+76>>2]|0)>-1)m=cz(f)|0;else m=0;g=e+-1|0;if((e|0)<2){n=f+74|0;l=a[n>>0]|0;a[n>>0]=l+255|l;if(m|0)dz(f);if(!g)a[b>>0]=0;else b=0}else{a:do if(g){k=f+4|0;l=f+8|0;e=b;while(1){h=c[k>>2]|0;o=h;p=(c[l>>2]|0)-o|0;j=Wy(h,10,p)|0;i=(j|0)==0;j=i?p:1-o+j|0;j=j>>>0>>0?j:g;VN(e|0,h|0,j|0)|0;h=(c[k>>2]|0)+j|0;c[k>>2]=h;e=e+j|0;j=g-j|0;if(!(i&(j|0)!=0)){n=17;break a}if(h>>>0>=(c[l>>2]|0)>>>0){g=ny(f)|0;if((g|0)<0)break;else h=g}else{c[k>>2]=h+1;h=d[h>>0]|0}i=e+1|0;a[e>>0]=h;g=j+-1|0;if((h&255|0)==10|(g|0)==0){e=i;n=17;break a}else e=i}if((e|0)!=(b|0)?(c[f>>2]&16|0)!=0:0)n=17;else b=0}else{e=b;n=17}while(0);if((n|0)==17)if(!b)b=0;else a[e>>0]=0;if(m)dz(f)}return b|0}function Yz(a){a=a|0;var b=0,d=0;if((c[a+76>>2]|0)>-1){d=(cz(a)|0)==0;b=(c[a>>2]|0)>>>5&1;if(!d)dz(a)}else b=(c[a>>2]|0)>>>5&1;return b|0}function Zz(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=yb;yb=yb+16|0;f=e;c[f>>2]=d;d=_z(a,b,f)|0;yb=e;return d|0}function _z(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=yb;yb=yb+144|0;f=e;XN(f|0,0,144)|0;c[f+32>>2]=36;c[f+44>>2]=a;c[f+76>>2]=-1;c[f+84>>2]=a;d=aA(f,b,d)|0;yb=e;return d|0}function $z(a,b,c){a=a|0;b=b|0;c=c|0;return gA(a,b,c)|0}function aA(e,h,i){e=e|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0.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,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;Q=yb;yb=yb+288|0;K=Q+264|0;L=Q;M=Q+260|0;N=Q+272|0;if((c[e+76>>2]|0)>-1)P=cz(e)|0;else P=0;j=a[h>>0]|0;a:do if(j<<24>>24){B=e+4|0;C=e+104|0;D=e+120|0;E=e+8|0;F=L+10|0;H=L+33|0;I=L+46|0;J=L+94|0;A=K+4|0;m=h;h=0;k=0;l=j;j=0;u=0;v=0;b:while(1){c:do if(!(my(l&255)|0)){n=(a[m>>0]|0)==37;d:do if(n){l=m+1|0;o=a[l>>0]|0;e:do switch(o<<24>>24){case 37:break d;case 42:{z=0;l=m+2|0;break}default:{if(fz(o&255)|0?(a[m+2>>0]|0)==36:0){z=bA(i,(d[l>>0]|0)+-48|0)|0;l=m+3|0;break e}y=(c[i>>2]|0)+(4-1)&~(4-1);z=c[y>>2]|0;c[i>>2]=y+4}}while(0);if(!(fz(d[l>>0]|0)|0)){r=0;o=l}else{m=0;do{m=(m*10|0)+-48+(d[l>>0]|0)|0;l=l+1|0}while((fz(d[l>>0]|0)|0)!=0);r=m;o=l}n=a[o>>0]|0;q=o+1|0;if(n<<24>>24==109){l=(z|0)!=0&1;k=0;m=q;o=o+2|0;n=a[q>>0]|0;j=0}else{l=0;m=o;o=q}switch(n<<24>>24){case 104:{y=(a[o>>0]|0)==104;n=y?-2:-1;m=y?m+2|0:o;break}case 108:{y=(a[o>>0]|0)==108;n=y?3:1;m=y?m+2|0:o;break}case 106:{n=3;m=o;break}case 116:case 122:{n=1;m=o;break}case 76:{n=2;m=o;break}case 110:case 112:case 67:case 83:case 91:case 99:case 115:case 88:case 71:case 70:case 69:case 65:case 103:case 102:case 101:case 97:case 120:case 117:case 111:case 105:case 100:{n=0;break}default:{O=143;break b}}s=d[m>>0]|0;t=(s&47|0)==3;s=t?s|32:s;t=t?1:n;q=s&255;switch(q<<24>>24){case 99:{y=(r|0)>1?r:1;break}case 91:{y=r;break}case 110:{cA(z,t,u,v);n=u;o=v;break c}default:{jy(e,0,0);do{n=c[B>>2]|0;if(n>>>0<(c[C>>2]|0)>>>0){c[B>>2]=n+1;n=d[n>>0]|0}else n=ly(e)|0}while((my(n)|0)!=0);if(!(c[C>>2]|0))n=c[B>>2]|0;else{n=(c[B>>2]|0)+-1|0;c[B>>2]=n}x=D;y=n-(c[E>>2]|0)|0;u=KN(c[x>>2]|0,c[x+4>>2]|0,u|0,v|0)|0;u=KN(u|0,G()|0,y|0,((y|0)<0)<<31>>31|0)|0;y=r;v=G()|0}}x=((y|0)<0)<<31>>31;jy(e,y,x);o=c[B>>2]|0;n=c[C>>2]|0;if(o>>>0>>0)c[B>>2]=o+1;else{if((ly(e)|0)<0){O=143;break b}n=c[C>>2]|0}if(n|0)c[B>>2]=(c[B>>2]|0)+-1;f:do switch(q<<24>>24){case 91:case 99:case 115:{w=(s|0)==99;g:do if((s|16|0)==115){XN(L|0,-1,257)|0;a[L>>0]=0;if((s|0)==115){a[H>>0]=0;b[F>>1]=0;b[F+2>>1]=0;a[F+4>>0]=0}}else{s=m+1|0;r=(a[s>>0]|0)==94;n=r&1;m=r?m+2|0:s;XN(L|0,n|0,257)|0;a[L>>0]=0;switch(a[m>>0]|0){case 45:{q=(n^1)&255;a[I>>0]=q;m=m+1|0;break}case 93:{q=(n^1)&255;a[J>>0]=q;m=m+1|0;break}default:q=(n^1)&255}while(1){n=a[m>>0]|0;h:do switch(n<<24>>24){case 0:{O=143;break b}case 93:break g;case 45:{o=m+1|0;n=a[o>>0]|0;switch(n<<24>>24){case 93:case 0:{n=45;break h}default:{}}m=a[m+-1>>0]|0;if((m&255)<(n&255)){m=m&255;do{m=m+1|0;a[L+m>>0]=q;n=a[o>>0]|0}while(m>>>0<(n&255)>>>0);m=o}else m=o;break}default:{}}while(0);a[L+((n&255)+1)>>0]=q;m=m+1|0}}while(0);n=w?y+1|0:31;s=(t|0)==1;t=(l|0)!=0;i:do if(s){if(t){j=iB(n<<2)|0;if(!j){k=0;j=0;O=143;break b}}else j=z;c[K>>2]=0;c[A>>2]=0;k=0;j:while(1){q=(j|0)==0;do{k:while(1){o=c[B>>2]|0;if(o>>>0<(c[C>>2]|0)>>>0){c[B>>2]=o+1;o=d[o>>0]|0}else o=ly(e)|0;if(!(a[L+(o+1)>>0]|0))break j;a[N>>0]=o;switch(dA(M,N,1,K)|0){case -1:{k=0;O=143;break b}case -2:break;default:break k}}if(!q){c[j+(k<<2)>>2]=c[M>>2];k=k+1|0}}while(!(t&(k|0)==(n|0)));n=n<<1|1;o=lB(j,n<<2)|0;if(!o){k=0;O=143;break b}else j=o}if(!(eA(K)|0)){k=0;O=143;break b}else{q=k;k=0;r=j}}else{if(t){k=iB(n)|0;if(!k){k=0;j=0;O=143;break b}j=0;while(1){q=j;do{j=c[B>>2]|0;if(j>>>0<(c[C>>2]|0)>>>0){c[B>>2]=j+1;j=d[j>>0]|0}else j=ly(e)|0;if(!(a[L+(j+1)>>0]|0)){r=0;j=0;break i}r=q;q=q+1|0;a[k+r>>0]=j}while((q|0)!=(n|0));n=n<<1|1;o=lB(k,n)|0;if(!o){j=0;O=143;break b}else{j=q;k=o}}}if(!z)while(1){j=c[B>>2]|0;if(j>>>0<(c[C>>2]|0)>>>0){c[B>>2]=j+1;j=d[j>>0]|0}else j=ly(e)|0;if(!(a[L+(j+1)>>0]|0)){q=0;k=0;r=0;j=0;break i}}k=0;while(1){j=c[B>>2]|0;if(j>>>0<(c[C>>2]|0)>>>0){c[B>>2]=j+1;j=d[j>>0]|0}else j=ly(e)|0;if(!(a[L+(j+1)>>0]|0)){q=k;k=z;r=0;j=0;break i}a[z+k>>0]=j;k=k+1|0}}while(0);if(!(c[C>>2]|0))n=c[B>>2]|0;else{n=(c[B>>2]|0)+-1|0;c[B>>2]=n}o=D;n=n-(c[E>>2]|0)|0;n=KN(c[o>>2]|0,c[o+4>>2]|0,n|0,((n|0)<0)<<31>>31|0)|0;o=G()|0;if((n|0)==0&(o|0)==0)break b;if(!((n|0)==(y|0)&(o|0)==(x|0)|w^1))break b;do if(t)if(s){c[z>>2]=r;break}else{c[z>>2]=k;break}while(0);if(!w){if(r|0)c[r+(q<<2)>>2]=0;if(!k){k=0;break f}a[k+q>>0]=0}break}case 120:case 88:case 112:{n=16;O=131;break}case 111:{n=8;O=131;break}case 117:case 100:{n=10;O=131;break}case 105:{n=0;O=131;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{p=+yz(e,t,0);y=D;w=c[y>>2]|0;y=c[y+4>>2]|0;x=(c[B>>2]|0)-(c[E>>2]|0)|0;x=LN(0,0,x|0,((x|0)<0)<<31>>31|0)|0;if((w|0)==(x|0)&(y|0)==(G()|0))break b;if(z)switch(t|0){case 0:{f[z>>2]=p;break f}case 1:{g[z>>3]=p;break f}case 2:{g[z>>3]=p;break f}default:break f}break}default:{}}while(0);do if((O|0)==131){O=0;n=ky(e,n,0,-1,-1)|0;o=G()|0;y=D;w=c[y>>2]|0;y=c[y+4>>2]|0;x=(c[B>>2]|0)-(c[E>>2]|0)|0;x=LN(0,0,x|0,((x|0)<0)<<31>>31|0)|0;if((w|0)==(x|0)&(y|0)==(G()|0))break b;if((z|0)!=0&(s|0)==112){c[z>>2]=n;break}else{cA(z,t,n,o);break}}while(0);o=D;n=(c[B>>2]|0)-(c[E>>2]|0)|0;o=KN(c[o>>2]|0,c[o+4>>2]|0,u|0,v|0)|0;n=KN(o|0,G()|0,n|0,((n|0)<0)<<31>>31|0)|0;h=h+((z|0)!=0&1)|0;o=G()|0;break c}while(0);m=m+(n&1)|0;jy(e,0,0);l=c[B>>2]|0;if(l>>>0<(c[C>>2]|0)>>>0){c[B>>2]=l+1;l=d[l>>0]|0}else l=ly(e)|0;if((l|0)!=(d[m>>0]|0)){O=23;break b}n=KN(u|0,v|0,1,0)|0;o=G()|0}else{while(1){l=m+1|0;if(!(my(d[l>>0]|0)|0))break;else m=l}jy(e,0,0);do{l=c[B>>2]|0;if(l>>>0<(c[C>>2]|0)>>>0){c[B>>2]=l+1;l=d[l>>0]|0}else l=ly(e)|0}while((my(l)|0)!=0);if(!(c[C>>2]|0))l=c[B>>2]|0;else{l=(c[B>>2]|0)+-1|0;c[B>>2]=l}o=D;n=l-(c[E>>2]|0)|0;o=KN(c[o>>2]|0,c[o+4>>2]|0,u|0,v|0)|0;n=KN(o|0,G()|0,n|0,((n|0)<0)<<31>>31|0)|0;o=G()|0}while(0);m=m+1|0;l=a[m>>0]|0;if(!(l<<24>>24))break a;else{u=n;v=o}}if((O|0)==23){if(c[C>>2]|0)c[B>>2]=(c[B>>2]|0)+-1;if((h|0)!=0|(l|0)>-1)break;else{l=0;h=k;O=144}}else if((O|0)==143)if(!h){h=k;O=144}if((O|0)==144){k=h;h=-1}if(l){jB(k);jB(j)}}else h=0;while(0);if(P|0)dz(e);yb=Q;return h|0}function bA(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=c[a>>2];while(1){f=(c[d>>2]|0)+(4-1)&~(4-1);a=c[f>>2]|0;c[d>>2]=f+4;if(b>>>0>1)b=b+-1|0;else break}yb=e;return a|0}function cA(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;a:do if(d|0)switch(e|0){case -2:{a[d>>0]=f;break a}case -1:{b[d>>1]=f;break a}case 0:{c[d>>2]=f;break a}case 1:{c[d>>2]=f;break a}case 3:{e=d;c[e>>2]=f;c[e+4>>2]=g;break a}default:break a}while(0);return}function dA(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,l=0,m=0;l=yb;yb=yb+16|0;h=l;j=(g|0)==0?54536:g;g=c[j>>2]|0;a:do if(!e)if(!g)g=0;else k=19;else{i=(b|0)==0?h:b;if(!f)g=-2;else{if(!g){g=a[e>>0]|0;if(g<<24>>24>-1){c[i>>2]=g&255;g=g<<24>>24!=0&1;break}h=(c[c[(fA()|0)+188>>2]>>2]|0)==0;g=a[e>>0]|0;if(h){c[i>>2]=g<<24>>24&57343;g=1;break}g=(g&255)+-194|0;if(g>>>0>50){k=19;break}g=c[3472+(g<<2)>>2]|0;h=f+-1|0;if(h){e=e+1|0;k=11}}else{h=f;k=11}b:do if((k|0)==11){b=d[e>>0]|0;m=b>>>3;if((m+-16|m+(g>>26))>>>0>7){k=19;break a}g=b+-128|g<<6;b=h+-1|0;if((g|0)<0)do{e=e+1|0;if(!b)break b;h=a[e>>0]|0;if((h&-64)<<24>>24!=-128){k=19;break a}g=(h&255)+-128|g<<6;b=b+-1|0}while((g|0)<0);c[j>>2]=0;c[i>>2]=g;g=f-b|0;break a}while(0);c[j>>2]=g;g=-2}}while(0);if((k|0)==19){c[j>>2]=0;c[(cy()|0)>>2]=84;g=-1}yb=l;return g|0}function eA(a){a=a|0;if(!a)a=1;else a=(c[a>>2]|0)==0&1;return a|0}function fA(){return Sy()|0}function gA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=a+84|0;g=c[e>>2]|0;h=d+256|0;f=Wy(g,0,h)|0;f=(f|0)==0?h:f-g|0;d=f>>>0>>0?f:d;VN(b|0,g|0,d|0)|0;c[a+4>>2]=g+d;b=g+f|0;c[a+8>>2]=b;c[e>>2]=b;return d|0}function hA(a,b,c){a=a|0;b=b|0;c=c|0;return jA(a,b,((b|0)<0)<<31>>31,c)|0}function iA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=yb;yb=yb+16|0;f=e;c[f>>2]=d;d=Zy(a,b,f)|0;yb=e;return d|0}function jA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if((c[a+76>>2]|0)>-1){f=(cz(a)|0)==0;b=kA(a,b,d,e)|0;if(!f)dz(a)}else b=kA(a,b,d,e)|0;return b|0}function kA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;if((e|0)==1){g=(c[a+8>>2]|0)-(c[a+4>>2]|0)|0;b=LN(b|0,d|0,g|0,((g|0)<0)<<31>>31|0)|0;d=G()|0}f=a+20|0;g=a+28|0;if((c[f>>2]|0)>>>0>(c[g>>2]|0)>>>0?(Hb[c[a+36>>2]&63](a,0,0)|0,(c[f>>2]|0)==0):0)b=-1;else{c[a+16>>2]=0;c[g>>2]=0;c[f>>2]=0;Ib[c[a+40>>2]&15](a,b,d,e)|0;if((G()|0)<0)b=-1;else{c[a+8>>2]=0;c[a+4>>2]=0;c[a>>2]=c[a>>2]&-17;b=0}}return b|0}function lA(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;j=yb;yb=yb+16|0;i=j;a:do if(!b){e=c[d>>2]|0;f=c[e>>2]|0;if(!f)e=0;else{b=e;e=0;do{if(f>>>0>127){f=nz(i,f,0)|0;if((f|0)==-1){e=-1;break a}}else f=1;e=f+e|0;b=b+4|0;f=c[b>>2]|0}while((f|0)!=0)}}else{b:do if(e>>>0>3){f=e;g=c[d>>2]|0;while(1){h=c[g>>2]|0;if((h+-1|0)>>>0>126){if(!h)break;h=nz(b,h,0)|0;if((h|0)==-1){e=-1;break a}b=b+h|0;f=f-h|0}else{a[b>>0]=h;b=b+1|0;f=f+-1|0;g=c[d>>2]|0}g=g+4|0;c[d>>2]=g;if(f>>>0<=3)break b}a[b>>0]=0;c[d>>2]=0;e=e-f|0;break a}else f=e;while(0);if(f){g=c[d>>2]|0;while(1){h=c[g>>2]|0;if((h+-1|0)>>>0>126){if(!h){g=20;break}h=nz(i,h,0)|0;if((h|0)==-1){e=-1;break a}if(f>>>0>>0){g=23;break}nz(b,c[g>>2]|0,0)|0;b=b+h|0;f=f-h|0}else{a[b>>0]=h;b=b+1|0;f=f+-1|0;g=c[d>>2]|0}g=g+4|0;c[d>>2]=g;if(!f)break a}if((g|0)==20){a[b>>0]=0;c[d>>2]=0;e=e-f|0;break}else if((g|0)==23){e=e-f|0;break}}}while(0);yb=j;return e|0}function mA(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,l=0;l=yb;yb=yb+272|0;i=l;j=l+256|0;f=c[b>>2]|0;c[j>>2]=f;k=(a|0)!=0;g=k?e:256;h=k?a:i;e=f;a:do if((g|0)!=0&(f|0)!=0){f=0;a=e;while(1){e=d>>>0>=g>>>0;if(!(e|d>>>0>32)){e=a;break a}e=e?g:d;d=d-e|0;e=lA(h,j,e,0)|0;if((e|0)==-1)break;a=(h|0)==(i|0);g=g-(a?0:e)|0;h=a?h:h+e|0;f=e+f|0;e=c[j>>2]|0;if((g|0)!=0&(e|0)!=0)a=e;else break a}f=-1;g=0;e=c[j>>2]|0}else f=0;while(0);b:do if((e|0)!=0?(g|0)!=0&(d|0)!=0:0){while(1){a=nz(h,c[e>>2]|0,0)|0;if((a+1|0)>>>0<2)break;e=(c[j>>2]|0)+4|0;c[j>>2]=e;d=d+-1|0;g=g-a|0;f=a+f|0;if(!((g|0)!=0&(d|0)!=0))break b;else h=h+a|0}if(!a)c[j>>2]=0;else f=-1}while(0);if(k)c[b>>2]=c[j>>2];yb=l;return f|0}function nA(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,l=0;h=c[e>>2]|0;if((g|0)!=0?(i=c[g>>2]|0,(i|0)!=0):0)if(!b){j=h;g=f;l=26}else{c[g>>2]=0;k=f;j=h;l=48}else l=5;a:do if((l|0)==5){g=(b|0)!=0;if(c[c[(oA()|0)+188>>2]>>2]|0)if(g){g=f;l=33;break}else{g=f;l=15;break}if(!g){f=Ey(h)|0;l=63;break}b:do if(f){g=f;while(1){i=a[h>>0]|0;if(!(i<<24>>24))break;h=h+1|0;c[b>>2]=i<<24>>24&57343;g=g+-1|0;if(!g)break b;else b=b+4|0}c[b>>2]=0;c[e>>2]=0;f=f-g|0;l=63;break a}while(0);c[e>>2]=h;l=63}while(0);c:while(1){d:do if((l|0)==15){while(1){i=a[h>>0]|0;if(((i&255)+-1|0)>>>0<127?(h&3|0)==0:0){l=c[h>>2]|0;i=l&255;if(!((l+-16843009|l)&-2139062144)){do{h=h+4|0;g=g+-4|0;i=c[h>>2]|0}while(!((i+-16843009|i)&-2139062144|0));i=i&255}}i=i&255;if((i+-1|0)>>>0>=127)break;g=g+-1|0;h=h+1|0}i=i+-194|0;if(i>>>0>50)l=57;else{i=c[3472+(i<<2)>>2]|0;j=h+1|0;l=26;continue c}}else if((l|0)==26){l=(d[j>>0]|0)>>>3;if((l+-16|l+(i>>26))>>>0>7){h=j;l=56}else{h=j+1|0;if(i&33554432){if((a[h>>0]&-64)<<24>>24!=-128){h=j;l=56;break}h=j+2|0;if(i&524288){if((a[h>>0]&-64)<<24>>24!=-128){h=j;l=56;break}h=j+3|0}}g=g+-1|0;l=15;continue c}}else if((l|0)==33){l=0;e:do if(g){while(1){i=d[h>>0]|0;j=i+-1|0;if(j>>>0<127){if((h&3|0)==0&g>>>0>4){while(1){i=c[h>>2]|0;if((i+-16843009|i)&-2139062144|0){l=42;break}c[b>>2]=i&255;c[b+4>>2]=d[h+1>>0];c[b+8>>2]=d[h+2>>0];j=h+4|0;i=b+16|0;c[b+12>>2]=d[h+3>>0];g=g+-4|0;if(g>>>0>4){b=i;h=j}else{l=41;break}}if((l|0)==41){b=i;h=j;i=a[j>>0]|0}else if((l|0)==42)i=i&255;i=i&255;j=i+-1|0;l=44}}else l=44;if((l|0)==44){l=0;if(j>>>0>=127)break}h=h+1|0;c[b>>2]=i;g=g+-1|0;if(!g)break e;else b=b+4|0}i=i+-194|0;if(i>>>0>50){l=57;break d}i=c[3472+(i<<2)>>2]|0;k=g;j=h+1|0;l=48;continue c}while(0);c[e>>2]=h;l=63;continue c}else if((l|0)==48){l=0;g=d[j>>0]|0;h=g>>>3;if((h+-16|h+(i>>26))>>>0>7){h=j;g=k;l=56}else{h=j+1|0;g=g+-128|i<<6;do if((g|0)<0){i=(d[h>>0]|0)+-128|0;if(i>>>0<=63){h=j+2|0;g=i|g<<6;if((g|0)>=0)break;i=(d[h>>0]|0)+-128|0;if(i>>>0<=63){h=j+3|0;g=i|g<<6;break}}c[(cy()|0)>>2]=84;h=j+-1|0;break d}while(0);c[b>>2]=g;b=b+4|0;g=k+-1|0;l=33;continue c}}else if((l|0)==63)return f|0;while(0);if((l|0)==56){h=h+-1|0;if(!i)l=57;else{f=b;l=61}}if((l|0)==57)if(!(a[h>>0]|0)){if(b|0){c[b>>2]=0;c[e>>2]=0}f=f-g|0;l=63;continue}else{f=b;l=61}if((l|0)==61){c[(cy()|0)>>2]=84;if(!f){f=-1;l=63;continue}}c[e>>2]=h;f=-1;l=63}return 0}function oA(){return Sy()|0}function pA(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,l=0,m=0,n=0;n=yb;yb=yb+1040|0;k=n;l=n+1024|0;j=c[b>>2]|0;c[l>>2]=j;m=(a|0)!=0;h=m?e:256;i=m?a:k;g=j;a:do if((h|0)!=0&(j|0)!=0){e=0;j=i;while(1){a=d>>>2;i=a>>>0>=h>>>0;if(!(d>>>0>131|i)){i=j;break a}a=i?h:a;d=d-a|0;a=nA(j,l,a,f)|0;if((a|0)==-1)break;i=(j|0)==(k|0);h=h-(i?0:a)|0;i=i?j:j+(a<<2)|0;e=a+e|0;g=c[l>>2]|0;if((h|0)!=0&(g|0)!=0)j=i;else break a}e=-1;i=j;h=0;g=c[l>>2]|0}else e=0;while(0);b:do if((g|0)!=0?(h|0)!=0&(d|0)!=0:0){while(1){a=dA(i,g,d,f)|0;if((a+2|0)>>>0<3)break;g=(c[l>>2]|0)+a|0;c[l>>2]=g;d=d-a|0;h=h+-1|0;e=e+1|0;if(!((h|0)!=0&(d|0)!=0))break b;else i=i+4|0}switch(a|0){case -1:{e=a;break b}case 0:{c[l>>2]=0;break b}default:{c[f>>2]=0;break b}}}while(0);if(m)c[b>>2]=c[l>>2];yb=n;return e|0}function qA(a,b,c){a=a|0;b=b|0;c=c|0;return dA(0,a,b,(c|0)==0?54540:c)|0}function rA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=yb;yb=yb+32|0;f=g;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;e=a[d>>0]|0;do if(!(e<<24>>24))d=0;else{if(!(a[d+1>>0]|0)){d=b;while(1)if((a[d>>0]|0)==e<<24>>24)d=d+1|0;else break;d=d-b|0;break}do{i=e&255;h=f+(i>>>5<<2)|0;c[h>>2]=c[h>>2]|1<<(i&31);d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0);e=a[b>>0]|0;a:do if(!(e<<24>>24))d=b;else{d=b;do{i=e&255;if(!(c[f+(i>>>5<<2)>>2]&1<<(i&31)))break a;d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0)}while(0);d=d-b|0}while(0);yb=g;return d|0}function sA(a,b,c){a=a|0;b=b|0;c=c|0;tA(a,b,c)|0;return a|0}function tA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=d;a:do if(!((g^b)&3)){f=(e|0)!=0;if(f&(g&3|0)!=0)do{g=a[d>>0]|0;a[b>>0]=g;if(!(g<<24>>24))break a;e=e+-1|0;d=d+1|0;b=b+1|0;f=(e|0)!=0}while(f&(d&3|0)!=0);if(f){if(a[d>>0]|0){b:do if(e>>>0>3){f=d;while(1){d=c[f>>2]|0;if((d&-2139062144^-2139062144)&d+-16843009|0){d=f;break b}c[b>>2]=d;e=e+-4|0;d=f+4|0;b=b+4|0;if(e>>>0>3)f=d;else break}}while(0);h=13}}else e=0}else h=13;while(0);c:do if((h|0)==13)if(!e)e=0;else while(1){h=a[d>>0]|0;a[b>>0]=h;if(!(h<<24>>24))break c;e=e+-1|0;b=b+1|0;if(!e){e=0;break}else d=d+1|0}while(0);XN(b|0,0,e|0)|0;return b|0}function uA(a){a=a|0;var b=0,e=0,f=0;if((c[a+76>>2]|0)>=0?(cz(a)|0)!=0:0){b=a+4|0;e=c[b>>2]|0;if(e>>>0<(c[a+8>>2]|0)>>>0){c[b>>2]=e+1;b=d[e>>0]|0}else b=ny(a)|0;dz(a)}else f=3;do if((f|0)==3){b=a+4|0;e=c[b>>2]|0;if(e>>>0<(c[a+8>>2]|0)>>>0){c[b>>2]=e+1;b=d[e>>0]|0;break}else{b=ny(a)|0;break}}while(0);return b|0}function vA(b,d){b=b|0;d=d|0;var e=0;if(!b){b=c[13636]|0;if(!b)b=0;else e=3}else e=3;do if((e|0)==3){b=b+(rA(b,d)|0)|0;if(!(a[b>>0]|0)){c[13636]=0;b=0;break}d=b+(wA(b,d)|0)|0;c[13636]=d;if(!(a[d>>0]|0)){c[13636]=0;break}else{c[13636]=d+1;a[d>>0]=0;break}}while(0);return b|0}function wA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=yb;yb=yb+32|0;f=h;e=a[d>>0]|0;a:do if(e<<24>>24!=0?(a[d+1>>0]|0)!=0:0){XN(f|0,0,32)|0;e=a[d>>0]|0;if(e<<24>>24)do{j=e&255;i=f+(j>>>5<<2)|0;c[i>>2]=c[i>>2]|1<<(j&31);d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0);d=a[b>>0]|0;if(!(d<<24>>24))e=b;else{e=b;do{j=d&255;if(c[f+(j>>>5<<2)>>2]&1<<(j&31)|0)break a;e=e+1|0;d=a[e>>0]|0}while(d<<24>>24!=0)}}else g=3;while(0);if((g|0)==3)e=Dy(b,e<<24>>24)|0;yb=h;return e-b|0}function xA(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=b+(Ey(b)|0)|0;a:do if(d)while(1){g=a[c>>0]|0;if(!(g<<24>>24))break a;d=d+-1|0;f=e+1|0;a[e>>0]=g;if(!d){e=f;break}else{c=c+1|0;e=f}}while(0);a[e>>0]=0;return b|0}function yA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=c[b>>2];if(!d)break;else{b=b+4|0;e=e+4|0}}}return a|0}function zA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(a-b>>2>>>0>=d>>>0){if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=c[b>>2];if(!d)break;else{b=b+4|0;e=e+4|0}}}}else do{d=d+-1|0;c[a+(d<<2)>>2]=c[b+(d<<2)>>2]}while((d|0)!=0);return a|0}function AA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=a;while(1){d=d+-1|0;c[e>>2]=b;if(!d)break;else e=e+4|0}}return a|0}function BA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+272|0;m=o;n=o+256|0;do if(!(a[d>>0]|0)){d=Ma(46289)|0;if(d|0?a[d>>0]|0:0)break;d=Ma(6400+(b*12|0)|0)|0;if(d|0?a[d>>0]|0:0)break;d=Ma(46296)|0;if(d|0?a[d>>0]|0:0)break;d=46301}while(0);e=0;a:while(1){switch(a[d+e>>0]|0){case 47:case 0:break a;default:{}}e=e+1|0;if(e>>>0>=15){e=15;break}}f=a[d>>0]|0;if(f<<24>>24!=46?(a[d+e>>0]|0)==0:0)if(f<<24>>24==67)l=15;else{k=d;l=16}else{d=46301;l=15}if((l|0)==15)if(!(a[d+1>>0]|0))l=18;else{k=d;l=16}b:do if((l|0)==16)if((Ny(k,46301)|0)!=0?(Ny(k,46309)|0)!=0:0){d=c[13637]|0;if(d|0)do{if(!(Ny(k,d+8|0)|0))break b;d=c[d+24>>2]|0}while((d|0)!=0);X(54552);d=c[13637]|0;c:do if(d|0){while(1){if(!(Ny(k,d+8|0)|0))break;d=c[d+24>>2]|0;if(!d)break c}ia(54552);break b}while(0);d:do if(((c[13610]|0)==0?(g=Ma(46315)|0,(g|0)!=0):0)?(a[g>>0]|0)!=0:0){i=254-e|0;j=e+1|0;f=g;while(1){h=Dy(f,58)|0;d=a[h>>0]|0;g=h-f+((d<<24>>24!=0)<<31>>31)|0;if(g>>>0>>0){VN(m|0,f|0,g|0)|0;f=m+g|0;a[f>>0]=47;VN(f+1|0,k|0,e|0)|0;a[m+(j+g)>>0]=0;f=Y(m|0,n|0)|0;if(f|0)break;d=a[h>>0]|0}f=h+(d<<24>>24!=0&1)|0;if(!(a[f>>0]|0)){l=41;break d}}d=iB(28)|0;if(!d){By(f,c[n>>2]|0)|0;l=41;break}else{c[d>>2]=f;c[d+4>>2]=c[n>>2];n=d+8|0;VN(n|0,k|0,e|0)|0;a[n+e>>0]=0;c[d+24>>2]=c[13637];c[13637]=d;break}}else l=41;while(0);if((l|0)==41){d=iB(28)|0;if(d){c[d>>2]=c[3440];c[d+4>>2]=c[3441];n=d+8|0;VN(n|0,k|0,e|0)|0;a[n+e>>0]=0;c[d+24>>2]=c[13637];c[13637]=d}}ia(54552);d=(b|0)==0&(d|0)==0?13760:d}else{d=k;l=18}while(0);do if((l|0)==18){if((b|0)==0?(a[d+1>>0]|0)==46:0){d=13760;break}d=0}while(0);yb=o;return d|0}function CA(a,b){a=a|0;b=b|0;return fz(a)|0}function DA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return d|0}function EA(a,b){a=a|0;b=b|0;return -1|0}function FA(a,b){a=a|0;b=b|0;return GA(a)|0}function GA(a){a=a|0;return (((a|32)+-97|0)>>>0<6|(fz(a)|0)!=0)&1|0}function HA(a){a=a|0;var b=0,d=0;b=(IA()|0)+188|0;d=c[b>>2]|0;if(a|0)c[b>>2]=(a|0)==(-1|0)?54472:a;return ((d|0)==54472?-1:d)|0}function IA(){return Sy()|0}function JA(a){a=a|0;return 0}function KA(a){a=a|0;if(LA(a)|0)jB(a);return}function LA(a){a=a|0;return (a|0)!=13788&((a|0)!=0&(a|0)!=54496)&1|0}function MA(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=yb;yb=yb+32|0;i=j;a:do if(!(LA(d)|0)){h=(d|0)!=0;f=0;g=0;do{e=1<>2]|0;else e=BA(g,(e|0)==0?56574:b)|0;f=f+((e|0)!=0&1)|0;c[i+(g<<2)>>2]=e;g=g+1|0}while((g|0)!=6);switch(f&2147483647|0){case 0:{d=54496;break a}case 1:{if((c[i>>2]|0)==13760){d=13788;break a}break}default:{}}}else{e=0;do{if(1<>2]=BA(e,b)|0;e=e+1|0}while((e|0)!=6)}while(0);yb=j;return d|0}function NA(a,b){a=a|0;b=b|0;return +(+OA(a,b,1))}function OA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,g=0,h=0,i=0;g=yb;yb=yb+144|0;e=g;XN(e|0,0,144)|0;i=e+4|0;c[i>>2]=a;h=e+8|0;c[h>>2]=-1;c[e+44>>2]=a;c[e+76>>2]=-1;jy(e,0,0);f=+yz(e,d,1);e=e+120|0;d=(c[i>>2]|0)-(c[h>>2]|0)|0;d=KN(c[e>>2]|0,c[e+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;e=G()|0;if(b|0)c[b>>2]=(d|0)==0&(e|0)==0?a:a+d|0;yb=g;return +f}function PA(b){b=b|0;var c=0,d=0,e=0,f=0,g=0;while(1){e=b+1|0;if(!(my(a[b>>0]|0)|0))break;else b=e}d=a[b>>0]|0;switch(d|0){case 45:{b=1;f=5;break}case 43:{b=0;f=5;break}default:{g=0;c=b;b=d}}if((f|0)==5){g=b;c=e;b=a[e>>0]|0}if(!(fz(b)|0))b=0;else{b=0;do{b=(b*10|0)+48-(a[c>>0]|0)|0;c=c+1|0}while((fz(a[c>>0]|0)|0)!=0)}return ((g|0)==0?0-b|0:b)|0}function QA(a,b){a=a|0;b=b|0;return +(+OA(a,b,0))}function RA(a,b){a=a|0;b=b|0;return +(+OA(a,b,2))}function SA(a,b,c){a=a|0;b=b|0;c=c|0;return +(+QA(a,b))}function TA(a,b,c){a=a|0;b=b|0;c=c|0;return +(+NA(a,b))}function UA(a,b,c){a=a|0;b=b|0;c=c|0;return +(+RA(a,b))}function VA(a){a=a|0;var b=0,d=0,e=0;if(!(c[a>>2]&128))b=1;else b=(c[a+20>>2]|0)>>>0>(c[a+28>>2]|0)>>>0?2:1;b=Ib[c[a+40>>2]&15](a,0,0,b)|0;d=G()|0;if((d|0)>=0){e=(c[a+8>>2]|0)-(c[a+4>>2]|0)|0;e=LN(b|0,d|0,e|0,((e|0)<0)<<31>>31|0)|0;d=G()|0;b=(c[a+20>>2]|0)-(c[a+28>>2]|0)|0;b=KN(e|0,d|0,b|0,((b|0)<0)<<31>>31|0)|0;d=G()|0}F(d|0);return b|0}function WA(a){a=a|0;var b=0,d=0,e=0;if((c[a+76>>2]|0)>-1){e=(cz(a)|0)==0;d=VA(a)|0;b=G()|0;if(e)a=d;else{dz(a);a=d}}else{a=VA(a)|0;b=G()|0}F(b|0);return a|0}function XA(a){a=a|0;var b=0;a=WA(a)|0;b=G()|0;if((b|0)>0|(b|0)==0&a>>>0>2147483647){c[(cy()|0)>>2]=75;a=-1}return a|0}function YA(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((c[d+76>>2]|0)>=0?(cz(d)|0)!=0:0){f=b&255;e=b&255;if((e|0)!=(a[d+75>>0]|0)?(i=d+20|0,j=c[i>>2]|0,j>>>0<(c[d+16>>2]|0)>>>0):0){c[i>>2]=j+1;a[j>>0]=f}else e=Kz(d,b)|0;dz(d)}else k=3;do if((k|0)==3){f=b&255;e=b&255;if((e|0)!=(a[d+75>>0]|0)?(g=d+20|0,h=c[g>>2]|0,h>>>0<(c[d+16>>2]|0)>>>0):0){c[g>>2]=h+1;a[h>>0]=f;break}e=Kz(d,b)|0}while(0);return e|0}function ZA(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+64|0;h=j+48|0;f=j+40|0;e=j+24|0;d=j;c[d>>2]=c[1620];c[d+4>>2]=c[1621];c[d+8>>2]=c[1622];c[d+12>>2]=c[1623];c[d+16>>2]=c[1624];b=d+13|0;a=0;while(1){_A(b)|0;c[e>>2]=d;c[e+4>>2]=32962;c[e+8>>2]=384;g=by(ea(5,e|0)|0)|0;a=a+1|0;if((g|0)>-1){i=4;break}if(a>>>0>=100){a=0;break}}if((i|0)==4){c[f>>2]=d;$(10,f|0)|0;a=Qz(g,46328)|0;if(!a){c[h>>2]=g;ga(6,h|0)|0;a=0}}yb=j;return a|0}function _A(b){b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;P(0,e|0)|0;d=0;e=(c[e+4>>2]|0)*65537^(e>>>4)+b;while(1){a[b+d>>0]=(e&15)+65|e<<1&32;d=d+1|0;if((d|0)==6)break;else e=e>>>5}yb=f;return b|0}function $A(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=yb;yb=yb+16|0;e=h;c[e>>2]=c[d>>2];e=Yy(0,0,b,e)|0;if((e|0)>=0?(f=e+1|0,g=iB(f)|0,c[a>>2]=g,(g|0)!=0):0)a=Yy(g,f,b,d)|0;else a=-1;yb=h;return a|0}function aB(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,l=0;k=C(e,d)|0;e=(d|0)==0?0:e;if((c[f+76>>2]|0)>-1)j=cz(f)|0;else j=0;g=f+74|0;h=a[g>>0]|0;a[g>>0]=h+255|h;g=f+4|0;h=c[g>>2]|0;i=(c[f+8>>2]|0)-h|0;if((i|0)>0){i=i>>>0>>0?i:k;VN(b|0,h|0,i|0)|0;c[g>>2]=(c[g>>2]|0)+i;g=k-i|0;b=b+i|0}else g=k;a:do if(!g)l=13;else{i=f+32|0;while(1){if(oy(f)|0)break;h=Hb[c[i>>2]&63](f,b,g)|0;if((h+1|0)>>>0<2)break;g=g-h|0;if(!g){l=13;break a}else b=b+h|0}if(j|0)dz(f);e=((k-g|0)>>>0)/(d>>>0)|0}while(0);if((l|0)==13)if(j)dz(f);return e|0}function bB(a){a=a|0;var b=0;if((c[a+76>>2]|0)>-1){b=(cz(a)|0)==0;kA(a,0,0,0)|0;c[a>>2]=c[a>>2]&-33;if(!b)dz(a)}else{kA(a,0,0,0)|0;c[a>>2]=c[a>>2]&-33}return}function cB(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;do if((b|0)!=-1){if((c[d+76>>2]|0)>-1)g=cz(d)|0;else g=0;h=d+4|0;e=c[h>>2]|0;if(!e){oy(d)|0;e=c[h>>2]|0;if(e|0){f=e;i=6}}else{f=e;i=6}if((i|0)==6?f>>>0>((c[d+44>>2]|0)+-8|0)>>>0:0){i=f+-1|0;c[h>>2]=i;a[i>>0]=b;c[d>>2]=c[d>>2]&-17;if(!g)break;dz(d);break}if(g){dz(d);b=-1}else b=-1}else b=-1;while(0);return b|0}function dB(){return 14080}function eB(){return 14084}function fB(){return 14088}function gB(){var a=0;a=(c[c[(hB()|0)+188>>2]>>2]|0)==0;return (a?1:4)|0}function hB(){return Sy()|0}function iB(a){a=a|0;var b=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,r=0,s=0,t=0,u=0,v=0,w=0;w=yb;yb=yb+16|0;n=w;do if(a>>>0<245){k=a>>>0<11?16:a+11&-8;a=k>>>3;m=c[13640]|0;d=m>>>a;if(d&3|0){b=(d&1^1)+a|0;a=54600+(b<<1<<2)|0;d=a+8|0;e=c[d>>2]|0;f=e+8|0;g=c[f>>2]|0;if((g|0)==(a|0))c[13640]=m&~(1<>2]=a;c[d>>2]=g}v=b<<3;c[e+4>>2]=v|3;v=e+v+4|0;c[v>>2]=c[v>>2]|1;v=f;yb=w;return v|0}l=c[13642]|0;if(k>>>0>l>>>0){if(d|0){b=2<>>12&16;b=b>>>i;d=b>>>5&8;b=b>>>d;g=b>>>2&4;b=b>>>g;a=b>>>1&2;b=b>>>a;e=b>>>1&1;e=(d|i|g|a|e)+(b>>>e)|0;b=54600+(e<<1<<2)|0;a=b+8|0;g=c[a>>2]|0;i=g+8|0;d=c[i>>2]|0;if((d|0)==(b|0)){a=m&~(1<>2]=b;c[a>>2]=d;a=m}v=e<<3;h=v-k|0;c[g+4>>2]=k|3;f=g+k|0;c[f+4>>2]=h|1;c[g+v>>2]=h;if(l|0){e=c[13645]|0;b=l>>>3;d=54600+(b<<1<<2)|0;b=1<>2]|0}c[a>>2]=e;c[b+12>>2]=e;c[e+8>>2]=b;c[e+12>>2]=d}c[13642]=h;c[13645]=f;v=i;yb=w;return v|0}g=c[13641]|0;if(g){d=(g&0-g)+-1|0;f=d>>>12&16;d=d>>>f;e=d>>>5&8;d=d>>>e;h=d>>>2&4;d=d>>>h;i=d>>>1&2;d=d>>>i;j=d>>>1&1;j=c[54864+((e|f|h|i|j)+(d>>>j)<<2)>>2]|0;d=j;i=j;j=(c[j+4>>2]&-8)-k|0;while(1){a=c[d+16>>2]|0;if(!a){a=c[d+20>>2]|0;if(!a)break}h=(c[a+4>>2]&-8)-k|0;f=h>>>0>>0;d=a;i=f?a:i;j=f?h:j}h=i+k|0;if(h>>>0>i>>>0){f=c[i+24>>2]|0;b=c[i+12>>2]|0;do if((b|0)==(i|0)){a=i+20|0;b=c[a>>2]|0;if(!b){a=i+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){e=b+16|0;d=c[e>>2]|0;if(!d)break;else{b=d;a=e}}else{b=d;a=e}}c[a>>2]=0;d=b}else{d=c[i+8>>2]|0;c[d+12>>2]=b;c[b+8>>2]=d;d=b}while(0);do if(f|0){b=c[i+28>>2]|0;a=54864+(b<<2)|0;if((i|0)==(c[a>>2]|0)){c[a>>2]=d;if(!d){c[13641]=g&~(1<>2]|0)==(i|0)?v:f+20|0)>>2]=d;if(!d)break}c[d+24>>2]=f;b=c[i+16>>2]|0;if(b|0){c[d+16>>2]=b;c[b+24>>2]=d}b=c[i+20>>2]|0;if(b|0){c[d+20>>2]=b;c[b+24>>2]=d}}while(0);if(j>>>0<16){v=j+k|0;c[i+4>>2]=v|3;v=i+v+4|0;c[v>>2]=c[v>>2]|1}else{c[i+4>>2]=k|3;c[h+4>>2]=j|1;c[h+j>>2]=j;if(l|0){e=c[13645]|0;b=l>>>3;d=54600+(b<<1<<2)|0;b=1<>2]|0}c[a>>2]=e;c[b+12>>2]=e;c[e+8>>2]=b;c[e+12>>2]=d}c[13642]=j;c[13645]=h}v=i+8|0;yb=w;return v|0}else m=k}else m=k}else m=k}else if(a>>>0<=4294967231){a=a+11|0;k=a&-8;e=c[13641]|0;if(e){f=0-k|0;a=a>>>8;if(a)if(k>>>0>16777215)j=31;else{m=(a+1048320|0)>>>16&8;q=a<>>16&4;q=q<>>16&2;j=14-(i|m|j)+(q<>>15)|0;j=k>>>(j+7|0)&1|j<<1}else j=0;d=c[54864+(j<<2)>>2]|0;a:do if(!d){d=0;a=0;q=61}else{a=0;i=k<<((j|0)==31?0:25-(j>>>1)|0);g=0;while(1){h=(c[d+4>>2]&-8)-k|0;if(h>>>0>>0)if(!h){a=d;f=0;q=65;break a}else{a=d;f=h}q=c[d+20>>2]|0;d=c[d+16+(i>>>31<<2)>>2]|0;g=(q|0)==0|(q|0)==(d|0)?g:q;if(!d){d=g;q=61;break}else i=i<<1}}while(0);if((q|0)==61){if((d|0)==0&(a|0)==0){a=2<>>12&16;m=m>>>h;g=m>>>5&8;m=m>>>g;i=m>>>2&4;m=m>>>i;j=m>>>1&2;m=m>>>j;d=m>>>1&1;a=0;d=c[54864+((g|h|i|j|d)+(m>>>d)<<2)>>2]|0}if(!d){i=a;h=f}else q=65}if((q|0)==65){g=d;while(1){m=(c[g+4>>2]&-8)-k|0;d=m>>>0>>0;f=d?m:f;a=d?g:a;d=c[g+16>>2]|0;if(!d)d=c[g+20>>2]|0;if(!d){i=a;h=f;break}else g=d}}if(((i|0)!=0?h>>>0<((c[13642]|0)-k|0)>>>0:0)?(l=i+k|0,l>>>0>i>>>0):0){g=c[i+24>>2]|0;b=c[i+12>>2]|0;do if((b|0)==(i|0)){a=i+20|0;b=c[a>>2]|0;if(!b){a=i+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){f=b+16|0;d=c[f>>2]|0;if(!d)break;else{b=d;a=f}}else{b=d;a=f}}c[a>>2]=0}else{v=c[i+8>>2]|0;c[v+12>>2]=b;c[b+8>>2]=v}while(0);do if(g){a=c[i+28>>2]|0;d=54864+(a<<2)|0;if((i|0)==(c[d>>2]|0)){c[d>>2]=b;if(!b){e=e&~(1<>2]|0)==(i|0)?v:g+20|0)>>2]=b;if(!b)break}c[b+24>>2]=g;a=c[i+16>>2]|0;if(a|0){c[b+16>>2]=a;c[a+24>>2]=b}a=c[i+20>>2]|0;if(a){c[b+20>>2]=a;c[a+24>>2]=b}}while(0);b:do if(h>>>0<16){v=h+k|0;c[i+4>>2]=v|3;v=i+v+4|0;c[v>>2]=c[v>>2]|1}else{c[i+4>>2]=k|3;c[l+4>>2]=h|1;c[l+h>>2]=h;b=h>>>3;if(h>>>0<256){d=54600+(b<<1<<2)|0;a=c[13640]|0;b=1<>2]|0}c[a>>2]=l;c[b+12>>2]=l;c[l+8>>2]=b;c[l+12>>2]=d;break}b=h>>>8;if(b)if(h>>>0>16777215)d=31;else{u=(b+1048320|0)>>>16&8;v=b<>>16&4;v=v<>>16&2;d=14-(t|u|d)+(v<>>15)|0;d=h>>>(d+7|0)&1|d<<1}else d=0;b=54864+(d<<2)|0;c[l+28>>2]=d;a=l+16|0;c[a+4>>2]=0;c[a>>2]=0;a=1<>2]=l;c[l+24>>2]=b;c[l+12>>2]=l;c[l+8>>2]=l;break}b=c[b>>2]|0;c:do if((c[b+4>>2]&-8|0)!=(h|0)){e=h<<((d|0)==31?0:25-(d>>>1)|0);while(1){d=b+16+(e>>>31<<2)|0;a=c[d>>2]|0;if(!a)break;if((c[a+4>>2]&-8|0)==(h|0)){b=a;break c}else{e=e<<1;b=a}}c[d>>2]=l;c[l+24>>2]=b;c[l+12>>2]=l;c[l+8>>2]=l;break b}while(0);u=b+8|0;v=c[u>>2]|0;c[v+12>>2]=l;c[u>>2]=l;c[l+8>>2]=v;c[l+12>>2]=b;c[l+24>>2]=0}while(0);v=i+8|0;yb=w;return v|0}else m=k}else m=k}else m=-1;while(0);d=c[13642]|0;if(d>>>0>=m>>>0){b=d-m|0;a=c[13645]|0;if(b>>>0>15){v=a+m|0;c[13645]=v;c[13642]=b;c[v+4>>2]=b|1;c[a+d>>2]=b;c[a+4>>2]=m|3}else{c[13642]=0;c[13645]=0;c[a+4>>2]=d|3;v=a+d+4|0;c[v>>2]=c[v>>2]|1}v=a+8|0;yb=w;return v|0}h=c[13643]|0;if(h>>>0>m>>>0){t=h-m|0;c[13643]=t;v=c[13646]|0;u=v+m|0;c[13646]=u;c[u+4>>2]=t|1;c[v+4>>2]=m|3;v=v+8|0;yb=w;return v|0}if(!(c[13758]|0)){c[13760]=4096;c[13759]=4096;c[13761]=-1;c[13762]=-1;c[13763]=0;c[13751]=0;c[13758]=n&-16^1431655768;a=4096}else a=c[13760]|0;i=m+48|0;j=m+47|0;g=a+j|0;f=0-a|0;k=g&f;if(k>>>0<=m>>>0){v=0;yb=w;return v|0}a=c[13750]|0;if(a|0?(l=c[13748]|0,n=l+k|0,n>>>0<=l>>>0|n>>>0>a>>>0):0){v=0;yb=w;return v|0}d:do if(!(c[13751]&4)){d=c[13646]|0;e:do if(d){e=55008;while(1){n=c[e>>2]|0;if(n>>>0<=d>>>0?(n+(c[e+4>>2]|0)|0)>>>0>d>>>0:0)break;a=c[e+8>>2]|0;if(!a){q=128;break e}else e=a}b=g-h&f;if(b>>>0<2147483647){a=_N(b|0)|0;if((a|0)==((c[e>>2]|0)+(c[e+4>>2]|0)|0)){if((a|0)!=(-1|0)){h=b;g=a;q=145;break d}}else{e=a;q=136}}else b=0}else q=128;while(0);do if((q|0)==128){d=_N(0)|0;if((d|0)!=(-1|0)?(b=d,o=c[13759]|0,p=o+-1|0,b=((p&b|0)==0?0:(p+b&0-o)-b|0)+k|0,o=c[13748]|0,p=b+o|0,b>>>0>m>>>0&b>>>0<2147483647):0){n=c[13750]|0;if(n|0?p>>>0<=o>>>0|p>>>0>n>>>0:0){b=0;break}a=_N(b|0)|0;if((a|0)==(d|0)){h=b;g=d;q=145;break d}else{e=a;q=136}}else b=0}while(0);do if((q|0)==136){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=b;g=e;q=145;break d}a=c[13760]|0;a=j-b+a&0-a;if(a>>>0>=2147483647){h=b;g=e;q=145;break d}if((_N(a|0)|0)==(-1|0)){_N(d|0)|0;b=0;break}else{h=a+b|0;g=e;q=145;break d}}while(0);c[13751]=c[13751]|4;q=143}else{b=0;q=143}while(0);if(((q|0)==143?k>>>0<2147483647:0)?(t=_N(k|0)|0,p=_N(0)|0,r=p-t|0,s=r>>>0>(m+40|0)>>>0,!((t|0)==(-1|0)|s^1|t>>>0

>>0&((t|0)!=(-1|0)&(p|0)!=(-1|0))^1)):0){h=s?r:b;g=t;q=145}if((q|0)==145){b=(c[13748]|0)+h|0;c[13748]=b;if(b>>>0>(c[13749]|0)>>>0)c[13749]=b;j=c[13646]|0;f:do if(j){b=55008;while(1){a=c[b>>2]|0;d=c[b+4>>2]|0;if((g|0)==(a+d|0)){q=154;break}e=c[b+8>>2]|0;if(!e)break;else b=e}if(((q|0)==154?(u=b+4|0,(c[b+12>>2]&8|0)==0):0)?g>>>0>j>>>0&a>>>0<=j>>>0:0){c[u>>2]=d+h;v=(c[13643]|0)+h|0;t=j+8|0;t=(t&7|0)==0?0:0-t&7;u=j+t|0;t=v-t|0;c[13646]=u;c[13643]=t;c[u+4>>2]=t|1;c[j+v+4>>2]=40;c[13647]=c[13762];break}if(g>>>0<(c[13644]|0)>>>0)c[13644]=g;d=g+h|0;b=55008;while(1){if((c[b>>2]|0)==(d|0)){q=162;break}a=c[b+8>>2]|0;if(!a)break;else b=a}if((q|0)==162?(c[b+12>>2]&8|0)==0:0){c[b>>2]=g;l=b+4|0;c[l>>2]=(c[l>>2]|0)+h;l=g+8|0;l=g+((l&7|0)==0?0:0-l&7)|0;b=d+8|0;b=d+((b&7|0)==0?0:0-b&7)|0;k=l+m|0;i=b-l-m|0;c[l+4>>2]=m|3;g:do if((j|0)==(b|0)){v=(c[13643]|0)+i|0;c[13643]=v;c[13646]=k;c[k+4>>2]=v|1}else{if((c[13645]|0)==(b|0)){v=(c[13642]|0)+i|0;c[13642]=v;c[13645]=k;c[k+4>>2]=v|1;c[k+v>>2]=v;break}a=c[b+4>>2]|0;if((a&3|0)==1){h=a&-8;e=a>>>3;h:do if(a>>>0<256){a=c[b+8>>2]|0;d=c[b+12>>2]|0;if((d|0)==(a|0)){c[13640]=c[13640]&~(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)){d=b+16|0;e=d+4|0;a=c[e>>2]|0;if(!a){a=c[d>>2]|0;if(!a){a=0;break}}else d=e;while(1){f=a+20|0;e=c[f>>2]|0;if(!e){f=a+16|0;e=c[f>>2]|0;if(!e)break;else{a=e;d=f}}else{a=e;d=f}}c[d>>2]=0}else{v=c[b+8>>2]|0;c[v+12>>2]=a;c[a+8>>2]=v}while(0);if(!g)break;d=c[b+28>>2]|0;e=54864+(d<<2)|0;do if((c[e>>2]|0)!=(b|0)){v=g+16|0;c[((c[v>>2]|0)==(b|0)?v:g+20|0)>>2]=a;if(!a)break h}else{c[e>>2]=a;if(a|0)break;c[13641]=c[13641]&~(1<>2]=g;d=b+16|0;e=c[d>>2]|0;if(e|0){c[a+16>>2]=e;c[e+24>>2]=a}d=c[d+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=54600+(b<<1<<2)|0;a=c[13640]|0;b=1<>2]|0}c[a>>2]=k;c[b+12>>2]=k;c[k+8>>2]=b;c[k+12>>2]=d;break}b=f>>>8;do if(!b)e=0;else{if(f>>>0>16777215){e=31;break}u=(b+1048320|0)>>>16&8;v=b<>>16&4;v=v<>>16&2;e=14-(t|u|e)+(v<>>15)|0;e=f>>>(e+7|0)&1|e<<1}while(0);b=54864+(e<<2)|0;c[k+28>>2]=e;a=k+16|0;c[a+4>>2]=0;c[a>>2]=0;a=c[13641]|0;d=1<>2]=k;c[k+24>>2]=b;c[k+12>>2]=k;c[k+8>>2]=k;break}b=c[b>>2]|0;i:do if((c[b+4>>2]&-8|0)!=(f|0)){e=f<<((e|0)==31?0:25-(e>>>1)|0);while(1){d=b+16+(e>>>31<<2)|0;a=c[d>>2]|0;if(!a)break;if((c[a+4>>2]&-8|0)==(f|0)){b=a;break i}else{e=e<<1;b=a}}c[d>>2]=k;c[k+24>>2]=b;c[k+12>>2]=k;c[k+8>>2]=k;break g}while(0);u=b+8|0;v=c[u>>2]|0;c[v+12>>2]=k;c[u>>2]=k;c[k+8>>2]=v;c[k+12>>2]=b;c[k+24>>2]=0}while(0);v=l+8|0;yb=w;return v|0}b=55008;while(1){a=c[b>>2]|0;if(a>>>0<=j>>>0?(v=a+(c[b+4>>2]|0)|0,v>>>0>j>>>0):0)break;b=c[b+8>>2]|0}f=v+-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=h+-40|0;t=g+8|0;t=(t&7|0)==0?0:0-t&7;u=g+t|0;t=d-t|0;c[13646]=u;c[13643]=t;c[u+4>>2]=t|1;c[g+d+4>>2]=40;c[13647]=c[13762];d=a+4|0;c[d>>2]=27;c[b>>2]=c[13752];c[b+4>>2]=c[13753];c[b+8>>2]=c[13754];c[b+12>>2]=c[13755];c[13752]=g;c[13753]=h;c[13755]=0;c[13754]=b;b=a+24|0;do{u=b;b=b+4|0;c[b>>2]=7}while((u+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=54600+(b<<1<<2)|0;a=c[13640]|0;b=1<>2]|0}c[a>>2]=j;c[b+12>>2]=j;c[j+8>>2]=b;c[j+12>>2]=d;break}b=g>>>8;if(b)if(g>>>0>16777215)e=31;else{u=(b+1048320|0)>>>16&8;v=b<>>16&4;v=v<>>16&2;e=14-(t|u|e)+(v<>>15)|0;e=g>>>(e+7|0)&1|e<<1}else e=0;d=54864+(e<<2)|0;c[j+28>>2]=e;c[j+20>>2]=0;c[f>>2]=0;b=c[13641]|0;a=1<>2]=j;c[j+24>>2]=d;c[j+12>>2]=j;c[j+8>>2]=j;break}b=c[d>>2]|0;j:do if((c[b+4>>2]&-8|0)!=(g|0)){e=g<<((e|0)==31?0:25-(e>>>1)|0);while(1){d=b+16+(e>>>31<<2)|0;a=c[d>>2]|0;if(!a)break;if((c[a+4>>2]&-8|0)==(g|0)){b=a;break j}else{e=e<<1;b=a}}c[d>>2]=j;c[j+24>>2]=b;c[j+12>>2]=j;c[j+8>>2]=j;break f}while(0);u=b+8|0;v=c[u>>2]|0;c[v+12>>2]=j;c[u>>2]=j;c[j+8>>2]=v;c[j+12>>2]=b;c[j+24>>2]=0}}else{v=c[13644]|0;if((v|0)==0|g>>>0>>0)c[13644]=g;c[13752]=g;c[13753]=h;c[13755]=0;c[13649]=c[13758];c[13648]=-1;c[13653]=54600;c[13652]=54600;c[13655]=54608;c[13654]=54608;c[13657]=54616;c[13656]=54616;c[13659]=54624;c[13658]=54624;c[13661]=54632;c[13660]=54632;c[13663]=54640;c[13662]=54640;c[13665]=54648;c[13664]=54648;c[13667]=54656;c[13666]=54656;c[13669]=54664;c[13668]=54664;c[13671]=54672;c[13670]=54672;c[13673]=54680;c[13672]=54680;c[13675]=54688;c[13674]=54688;c[13677]=54696;c[13676]=54696;c[13679]=54704;c[13678]=54704;c[13681]=54712;c[13680]=54712;c[13683]=54720;c[13682]=54720;c[13685]=54728;c[13684]=54728;c[13687]=54736;c[13686]=54736;c[13689]=54744;c[13688]=54744;c[13691]=54752;c[13690]=54752;c[13693]=54760;c[13692]=54760;c[13695]=54768;c[13694]=54768;c[13697]=54776;c[13696]=54776;c[13699]=54784;c[13698]=54784;c[13701]=54792;c[13700]=54792;c[13703]=54800;c[13702]=54800;c[13705]=54808;c[13704]=54808;c[13707]=54816;c[13706]=54816;c[13709]=54824;c[13708]=54824;c[13711]=54832;c[13710]=54832;c[13713]=54840;c[13712]=54840;c[13715]=54848;c[13714]=54848;v=h+-40|0;t=g+8|0;t=(t&7|0)==0?0:0-t&7;u=g+t|0;t=v-t|0;c[13646]=u;c[13643]=t;c[u+4>>2]=t|1;c[g+v+4>>2]=40;c[13647]=c[13762]}while(0);b=c[13643]|0;if(b>>>0>m>>>0){t=b-m|0;c[13643]=t;v=c[13646]|0;u=v+m|0;c[13646]=u;c[u+4>>2]=t|1;c[v+4>>2]=m|3;v=v+8|0;yb=w;return v|0}}c[(cy()|0)>>2]=12;v=0;yb=w;return v|0}function jB(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a)return;d=a+-8|0;f=c[13644]|0;a=c[a+-4>>2]|0;b=a&-8;j=d+b|0;do if(!(a&1)){e=c[d>>2]|0;if(!(a&3))return;h=d+(0-e)|0;g=e+b|0;if(h>>>0>>0)return;if((c[13645]|0)==(h|0)){a=j+4|0;b=c[a>>2]|0;if((b&3|0)!=3){i=h;b=g;break}c[13642]=g;c[a>>2]=b&-2;c[h+4>>2]=g|1;c[h+g>>2]=g;return}d=e>>>3;if(e>>>0<256){a=c[h+8>>2]|0;b=c[h+12>>2]|0;if((b|0)==(a|0)){c[13640]=c[13640]&~(1<>2]=b;c[b+8>>2]=a;i=h;b=g;break}}f=c[h+24>>2]|0;a=c[h+12>>2]|0;do if((a|0)==(h|0)){b=h+16|0;d=b+4|0;a=c[d>>2]|0;if(!a){a=c[b>>2]|0;if(!a){a=0;break}}else b=d;while(1){e=a+20|0;d=c[e>>2]|0;if(!d){e=a+16|0;d=c[e>>2]|0;if(!d)break;else{a=d;b=e}}else{a=d;b=e}}c[b>>2]=0}else{i=c[h+8>>2]|0;c[i+12>>2]=a;c[a+8>>2]=i}while(0);if(f){b=c[h+28>>2]|0;d=54864+(b<<2)|0;if((c[d>>2]|0)==(h|0)){c[d>>2]=a;if(!a){c[13641]=c[13641]&~(1<>2]|0)==(h|0)?i:f+20|0)>>2]=a;if(!a){i=h;b=g;break}}c[a+24>>2]=f;b=h+16|0;d=c[b>>2]|0;if(d|0){c[a+16>>2]=d;c[d+24>>2]=a}b=c[b+4>>2]|0;if(b){c[a+20>>2]=b;c[b+24>>2]=a;i=h;b=g}else{i=h;b=g}}else{i=h;b=g}}else{i=d;h=d}while(0);if(h>>>0>=j>>>0)return;a=j+4|0;e=c[a>>2]|0;if(!(e&1))return;if(!(e&2)){if((c[13646]|0)==(j|0)){j=(c[13643]|0)+b|0;c[13643]=j;c[13646]=i;c[i+4>>2]=j|1;if((i|0)!=(c[13645]|0))return;c[13645]=0;c[13642]=0;return}if((c[13645]|0)==(j|0)){j=(c[13642]|0)+b|0;c[13642]=j;c[13645]=h;c[i+4>>2]=j|1;c[h+j>>2]=j;return}f=(e&-8)+b|0;d=e>>>3;do if(e>>>0<256){b=c[j+8>>2]|0;a=c[j+12>>2]|0;if((a|0)==(b|0)){c[13640]=c[13640]&~(1<>2]=a;c[a+8>>2]=b;break}}else{g=c[j+24>>2]|0;a=c[j+12>>2]|0;do if((a|0)==(j|0)){b=j+16|0;d=b+4|0;a=c[d>>2]|0;if(!a){a=c[b>>2]|0;if(!a){d=0;break}}else b=d;while(1){e=a+20|0;d=c[e>>2]|0;if(!d){e=a+16|0;d=c[e>>2]|0;if(!d)break;else{a=d;b=e}}else{a=d;b=e}}c[b>>2]=0;d=a}else{d=c[j+8>>2]|0;c[d+12>>2]=a;c[a+8>>2]=d;d=a}while(0);if(g|0){a=c[j+28>>2]|0;b=54864+(a<<2)|0;if((c[b>>2]|0)==(j|0)){c[b>>2]=d;if(!d){c[13641]=c[13641]&~(1<>2]|0)==(j|0)?e:g+20|0)>>2]=d;if(!d)break}c[d+24>>2]=g;a=j+16|0;b=c[a>>2]|0;if(b|0){c[d+16>>2]=b;c[b+24>>2]=d}a=c[a+4>>2]|0;if(a|0){c[d+20>>2]=a;c[a+24>>2]=d}}}while(0);c[i+4>>2]=f|1;c[h+f>>2]=f;if((i|0)==(c[13645]|0)){c[13642]=f;return}}else{c[a>>2]=e&-2;c[i+4>>2]=b|1;c[h+b>>2]=b;f=b}a=f>>>3;if(f>>>0<256){d=54600+(a<<1<<2)|0;b=c[13640]|0;a=1<>2]|0}c[b>>2]=i;c[a+12>>2]=i;c[i+8>>2]=a;c[i+12>>2]=d;return}a=f>>>8;if(a)if(f>>>0>16777215)e=31;else{h=(a+1048320|0)>>>16&8;j=a<>>16&4;j=j<>>16&2;e=14-(g|h|e)+(j<>>15)|0;e=f>>>(e+7|0)&1|e<<1}else e=0;a=54864+(e<<2)|0;c[i+28>>2]=e;c[i+20>>2]=0;c[i+16>>2]=0;b=c[13641]|0;d=1<>2]=i;c[i+24>>2]=a;c[i+12>>2]=i;c[i+8>>2]=i}else{a=c[a>>2]|0;b:do if((c[a+4>>2]&-8|0)!=(f|0)){e=f<<((e|0)==31?0:25-(e>>>1)|0);while(1){d=a+16+(e>>>31<<2)|0;b=c[d>>2]|0;if(!b)break;if((c[b+4>>2]&-8|0)==(f|0)){a=b;break b}else{e=e<<1;a=b}}c[d>>2]=i;c[i+24>>2]=a;c[i+12>>2]=i;c[i+8>>2]=i;break a}while(0);h=a+8|0;j=c[h>>2]|0;c[j+12>>2]=i;c[h>>2]=i;c[i+8>>2]=j;c[i+12>>2]=a;c[i+24>>2]=0}while(0);j=(c[13648]|0)+-1|0;c[13648]=j;if(j|0)return;a=55016;while(1){a=c[a>>2]|0;if(!a)break;else a=a+8|0}c[13648]=-1;return}function kB(a,b){a=a|0;b=b|0;var d=0;if(a){d=C(b,a)|0;if((b|a)>>>0>65535)d=((d>>>0)/(a>>>0)|0|0)==(b|0)?d:-1}else d=0;a=iB(d)|0;if(!a)return a|0;if(!(c[a+-4>>2]&3))return a|0;XN(a|0,0,d|0)|0;return a|0}function lB(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){b=iB(b)|0;return b|0}if(b>>>0>4294967231){c[(cy()|0)>>2]=12;b=0;return b|0}d=mB(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(d|0){b=d+8|0;return b|0}d=iB(b)|0;if(!d){b=0;return b|0}e=c[a+-4>>2]|0;e=(e&-8)-((e&3|0)==0?8:4)|0;VN(d|0,a|0,(e>>>0>>0?e:b)|0)|0;jB(a);b=d;return b|0}function mB(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;l=a+4|0;m=c[l>>2]|0;d=m&-8;i=a+d|0;if(!(m&3)){if(b>>>0<256){a=0;return a|0}if(d>>>0>=(b+4|0)>>>0?(d-b|0)>>>0<=c[13760]<<1>>>0:0)return a|0;a=0;return a|0}if(d>>>0>=b>>>0){d=d-b|0;if(d>>>0<=15)return a|0;k=a+b|0;c[l>>2]=m&1|b|2;c[k+4>>2]=d|3;m=i+4|0;c[m>>2]=c[m>>2]|1;nB(k,d);return a|0}if((c[13646]|0)==(i|0)){k=(c[13643]|0)+d|0;d=k-b|0;e=a+b|0;if(k>>>0<=b>>>0){a=0;return a|0}c[l>>2]=m&1|b|2;c[e+4>>2]=d|1;c[13646]=e;c[13643]=d;return a|0}if((c[13645]|0)==(i|0)){e=(c[13642]|0)+d|0;if(e>>>0>>0){a=0;return a|0}d=e-b|0;if(d>>>0>15){k=a+b|0;e=a+e|0;c[l>>2]=m&1|b|2;c[k+4>>2]=d|1;c[e>>2]=d;e=e+4|0;c[e>>2]=c[e>>2]&-2;e=k}else{c[l>>2]=m&1|e|2;e=a+e+4|0;c[e>>2]=c[e>>2]|1;e=0;d=0}c[13642]=d;c[13645]=e;return a|0}e=c[i+4>>2]|0;if(e&2|0){a=0;return a|0}j=(e&-8)+d|0;if(j>>>0>>0){a=0;return a|0}k=j-b|0;f=e>>>3;do if(e>>>0<256){e=c[i+8>>2]|0;d=c[i+12>>2]|0;if((d|0)==(e|0)){c[13640]=c[13640]&~(1<>2]=d;c[d+8>>2]=e;break}}else{h=c[i+24>>2]|0;d=c[i+12>>2]|0;do if((d|0)==(i|0)){e=i+16|0;f=e+4|0;d=c[f>>2]|0;if(!d){d=c[e>>2]|0;if(!d){f=0;break}}else e=f;while(1){g=d+20|0;f=c[g>>2]|0;if(!f){g=d+16|0;f=c[g>>2]|0;if(!f)break;else{d=f;e=g}}else{d=f;e=g}}c[e>>2]=0;f=d}else{f=c[i+8>>2]|0;c[f+12>>2]=d;c[d+8>>2]=f;f=d}while(0);if(h|0){d=c[i+28>>2]|0;e=54864+(d<<2)|0;if((c[e>>2]|0)==(i|0)){c[e>>2]=f;if(!f){c[13641]=c[13641]&~(1<>2]|0)==(i|0)?g:h+20|0)>>2]=f;if(!f)break}c[f+24>>2]=h;d=i+16|0;e=c[d>>2]|0;if(e|0){c[f+16>>2]=e;c[e+24>>2]=f}d=c[d+4>>2]|0;if(d|0){c[f+20>>2]=d;c[d+24>>2]=f}}}while(0);if(k>>>0<16){c[l>>2]=m&1|j|2;m=a+j+4|0;c[m>>2]=c[m>>2]|1;return a|0}else{i=a+b|0;c[l>>2]=m&1|b|2;c[i+4>>2]=k|3;m=a+j+4|0;c[m>>2]=c[m>>2]|1;nB(i,k);return a|0}return 0}function nB(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=a+b|0;d=c[a+4>>2]|0;do if(!(d&1)){f=c[a>>2]|0;if(!(d&3))return;h=a+(0-f)|0;b=f+b|0;if((c[13645]|0)==(h|0)){a=i+4|0;d=c[a>>2]|0;if((d&3|0)!=3)break;c[13642]=b;c[a>>2]=d&-2;c[h+4>>2]=b|1;c[i>>2]=b;return}e=f>>>3;if(f>>>0<256){a=c[h+8>>2]|0;d=c[h+12>>2]|0;if((d|0)==(a|0)){c[13640]=c[13640]&~(1<>2]=d;c[d+8>>2]=a;break}}g=c[h+24>>2]|0;a=c[h+12>>2]|0;do if((a|0)==(h|0)){d=h+16|0;e=d+4|0;a=c[e>>2]|0;if(!a){a=c[d>>2]|0;if(!a){a=0;break}}else d=e;while(1){f=a+20|0;e=c[f>>2]|0;if(!e){f=a+16|0;e=c[f>>2]|0;if(!e)break;else{a=e;d=f}}else{a=e;d=f}}c[d>>2]=0}else{f=c[h+8>>2]|0;c[f+12>>2]=a;c[a+8>>2]=f}while(0);if(g){d=c[h+28>>2]|0;e=54864+(d<<2)|0;if((c[e>>2]|0)==(h|0)){c[e>>2]=a;if(!a){c[13641]=c[13641]&~(1<>2]|0)==(h|0)?f:g+20|0)>>2]=a;if(!a)break}c[a+24>>2]=g;d=h+16|0;e=c[d>>2]|0;if(e|0){c[a+16>>2]=e;c[e+24>>2]=a}d=c[d+4>>2]|0;if(d){c[a+20>>2]=d;c[d+24>>2]=a}}}else h=a;while(0);a=i+4|0;e=c[a>>2]|0;if(!(e&2)){if((c[13646]|0)==(i|0)){i=(c[13643]|0)+b|0;c[13643]=i;c[13646]=h;c[h+4>>2]=i|1;if((h|0)!=(c[13645]|0))return;c[13645]=0;c[13642]=0;return}if((c[13645]|0)==(i|0)){i=(c[13642]|0)+b|0;c[13642]=i;c[13645]=h;c[h+4>>2]=i|1;c[h+i>>2]=i;return}f=(e&-8)+b|0;d=e>>>3;do if(e>>>0<256){a=c[i+8>>2]|0;b=c[i+12>>2]|0;if((b|0)==(a|0)){c[13640]=c[13640]&~(1<>2]=b;c[b+8>>2]=a;break}}else{g=c[i+24>>2]|0;b=c[i+12>>2]|0;do if((b|0)==(i|0)){a=i+16|0;d=a+4|0;b=c[d>>2]|0;if(!b){b=c[a>>2]|0;if(!b){d=0;break}}else a=d;while(1){e=b+20|0;d=c[e>>2]|0;if(!d){e=b+16|0;d=c[e>>2]|0;if(!d)break;else{b=d;a=e}}else{b=d;a=e}}c[a>>2]=0;d=b}else{d=c[i+8>>2]|0;c[d+12>>2]=b;c[b+8>>2]=d;d=b}while(0);if(g|0){b=c[i+28>>2]|0;a=54864+(b<<2)|0;if((c[a>>2]|0)==(i|0)){c[a>>2]=d;if(!d){c[13641]=c[13641]&~(1<>2]|0)==(i|0)?e:g+20|0)>>2]=d;if(!d)break}c[d+24>>2]=g;b=i+16|0;a=c[b>>2]|0;if(a|0){c[d+16>>2]=a;c[a+24>>2]=d}b=c[b+4>>2]|0;if(b|0){c[d+20>>2]=b;c[b+24>>2]=d}}}while(0);c[h+4>>2]=f|1;c[h+f>>2]=f;if((h|0)==(c[13645]|0)){c[13642]=f;return}}else{c[a>>2]=e&-2;c[h+4>>2]=b|1;c[h+b>>2]=b;f=b}b=f>>>3;if(f>>>0<256){d=54600+(b<<1<<2)|0;a=c[13640]|0;b=1<>2]|0}c[a>>2]=h;c[b+12>>2]=h;c[h+8>>2]=b;c[h+12>>2]=d;return}b=f>>>8;if(b)if(f>>>0>16777215)e=31;else{g=(b+1048320|0)>>>16&8;i=b<>>16&4;i=i<>>16&2;e=14-(d|g|e)+(i<>>15)|0;e=f>>>(e+7|0)&1|e<<1}else e=0;b=54864+(e<<2)|0;c[h+28>>2]=e;c[h+20>>2]=0;c[h+16>>2]=0;a=c[13641]|0;d=1<>2]=h;c[h+24>>2]=b;c[h+12>>2]=h;c[h+8>>2]=h;return}b=c[b>>2]|0;a:do if((c[b+4>>2]&-8|0)!=(f|0)){e=f<<((e|0)==31?0:25-(e>>>1)|0);while(1){d=b+16+(e>>>31<<2)|0;a=c[d>>2]|0;if(!a)break;if((c[a+4>>2]&-8|0)==(f|0)){b=a;break a}else{e=e<<1;b=a}}c[d>>2]=h;c[h+24>>2]=b;c[h+12>>2]=h;c[h+8>>2]=h;return}while(0);g=b+8|0;i=c[g>>2]|0;c[i+12>>2]=h;c[g>>2]=h;c[h+8>>2]=i;c[h+12>>2]=b;c[h+24>>2]=0;return}function oB(a){a=a|0;return 0}function pB(a){a=a|0;return 0}function qB(a,b){a=a|0;b=b|0;if(!a){b=22;return b|0}b=iB(8)|0;c[b>>2]=0;c[b+4>>2]=38177486;c[a>>2]=b;b=0;return b|0}function rB(a){a=a|0;if((c[a+4>>2]|0)!=38177486){a=0;return a|0}a=c[a>>2]|0;return a|0}function sB(a,b){a=a|0;b=b|0;if((c[a+4>>2]|0)!=38177486){b=22;return b|0}c[a>>2]=b;b=0;return b|0}function tB(a,b){a=a|0;b=b|0;if((c[a>>2]|0)==324508639)return 0;Pb[b&3]();c[a>>2]=324508639;return 0}function uB(){O(55072);return}function vB(){return 55056}function wB(){return 55064}function xB(){return 55068}function yB(){return 55072}function zB(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=yb;yb=yb+16|0;d=k;i=k+8|0;e=k+4|0;c[i>>2]=a;do if(a>>>0>=212){h=(a>>>0)/210|0;b=h*210|0;c[e>>2]=a-b;a=0;g=(AB(10544,10736,e,d)|0)-10544>>2;a:while(1){f=(c[10544+(g<<2)>>2]|0)+b|0;b=5;while(1){if(b>>>0>=47){j=6;break}d=c[10352+(b<<2)>>2]|0;e=(f>>>0)/(d>>>0)|0;if(e>>>0>>0){j=107;break a}if((f|0)==(C(e,d)|0))break;else b=b+1|0}b:do if((j|0)==6){j=0;e=211;c:while(1){b=(f>>>0)/(e>>>0)|0;do if(b>>>0>=e>>>0)if((f|0)!=(C(b,e)|0)){b=e+10|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>=b>>>0)if((f|0)!=(C(d,b)|0)){b=e+12|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>=b>>>0)if((f|0)!=(C(d,b)|0)){b=e+16|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>=b>>>0)if((f|0)!=(C(d,b)|0)){b=e+18|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>=b>>>0)if((f|0)!=(C(d,b)|0)){b=e+22|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>=b>>>0)if((f|0)!=(C(d,b)|0)){b=e+28|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>=b>>>0)if((f|0)==(C(d,b)|0))d=9;else{b=e+30|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+36|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+40|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+42|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+46|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+52|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+58|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+60|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+66|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+70|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+72|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+78|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+82|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+88|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+96|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+100|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+102|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+106|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+108|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+112|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+120|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+126|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+130|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+136|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+138|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+142|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+148|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+150|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+156|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+162|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+166|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+168|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+172|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+178|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+180|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+186|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+190|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+192|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+196|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+198|0;d=(f>>>0)/(b>>>0)|0;if(d>>>0>>0){d=1;a=f;break}if((f|0)==(C(d,b)|0)){d=9;break}b=e+208|0;d=(f>>>0)/(b>>>0)|0;l=d>>>0>>0;d=(f|0)==(C(d,b)|0);b=l|d?b:e+210|0;d=l?1:d?9:0;a=l?f:a}else{d=1;a=f}}else d=9;else{d=1;a=f}}else d=9;else{d=1;a=f}}else d=9;else{d=1;a=f}}else d=9;else{d=1;a=f}}else d=9;else{d=1;a=f}}else{b=e;d=9}else{b=e;d=1;a=f}while(0);switch(d&15){case 9:break b;case 0:{e=b;break}default:break c}}if(d){j=108;break a}}while(0);l=g+1|0;f=(l|0)==48;b=h+(f&1)|0;h=b;b=b*210|0;g=f?0:l}if((j|0)==107){c[i>>2]=f;a=f;break}else if((j|0)==108){c[i>>2]=f;break}}else a=c[(AB(10352,10544,i,d)|0)>>2]|0;while(0);yb=k;return a|0}function AB(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[d>>2]|0;e=a;d=b-a>>2;while(1){if(!d)break;b=(d|0)/2|0;g=e+(b<<2)|0;a=(c[g>>2]|0)>>>0>>0;e=a?g+4|0:e;d=a?d+-1-b|0:b}return e|0}function BB(a){a=a|0;CB(a);return}function CB(a){a=a|0;c[a>>2]=14100;DB(a,0);XD(a+28|0);jB(c[a+32>>2]|0);jB(c[a+36>>2]|0);jB(c[a+48>>2]|0);jB(c[a+60>>2]|0);return}function DB(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;e=a+32|0;f=a+36|0;d=c[a+40>>2]|0;while(1){if(!d)break;g=d+-1|0;Ub[c[(c[e>>2]|0)+(g<<2)>>2]&3](b,a,c[(c[f>>2]|0)+(g<<2)>>2]|0);d=g}return}function EB(a){a=a|0;CB(a);cM(a);return}function FB(a){a=a|0;CB(a);return}function GB(a){a=a|0;c[a>>2]=14116;XD(a+4|0);return}function HB(a){a=a|0;GB(a);cM(a);return}function IB(a,b){a=a|0;b=b|0;return}function JB(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function KB(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;g=a;c[g>>2]=0;c[g+4>>2]=0;g=a+8|0;c[g>>2]=-1;c[g+4>>2]=-1;return}function LB(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=a;c[e>>2]=0;c[e+4>>2]=0;e=a+8|0;c[e>>2]=-1;c[e+4>>2]=-1;return}function MB(a){a=a|0;return 0}function NB(a){a=a|0;return 0}function OB(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;hf()|0;i=b+12|0;j=b+16|0;h=0;while(1){if((h|0)>=(e|0))break;f=c[i>>2]|0;g=c[j>>2]|0;if(f>>>0>>0){g=g-f|0;k=e-h|0;g=(k|0)<(g|0)?k:g;UB(d,f,g)|0;c[i>>2]=(c[i>>2]|0)+g;d=d+g|0;f=g}else{f=Eb[c[(c[b>>2]|0)+40>>2]&127](b)|0;if((f|0)==-1)break;a[d>>0]=tf(f)|0;d=d+1|0;f=1}h=f+h|0}return h|0}function PB(a){a=a|0;return hf()|0}function QB(b){b=b|0;var d=0;d=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;if((d|0)==(hf()|0))b=hf()|0;else{d=b+12|0;b=c[d>>2]|0;c[d>>2]=b+1;b=rf(a[b>>0]|0)|0}return b|0}function RB(a,b){a=a|0;b=b|0;return hf()|0}function SB(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,l=0;i=hf()|0;j=b+24|0;k=b+28|0;f=0;while(1){if((f|0)>=(e|0))break;g=c[j>>2]|0;h=c[k>>2]|0;if(g>>>0>>0){h=h-g|0;l=e-f|0;h=(l|0)<(h|0)?l:h;UB(g,d,h)|0;c[j>>2]=(c[j>>2]|0)+h;d=d+h|0;f=h+f|0}else{h=c[(c[b>>2]|0)+52>>2]|0;l=rf(a[d>>0]|0)|0;if((Gb[h&63](b,l)|0)==(i|0))break;d=d+1|0;f=f+1|0}}return f|0}function TB(a,b){a=a|0;b=b|0;return hf()|0}function UB(a,b,c){a=a|0;b=b|0;c=c|0;if(c|0)VN(a|0,b|0,c|0)|0;return a|0}function VB(a){a=a|0;c[a>>2]=14180;XD(a+4|0);return}function WB(a){a=a|0;VB(a);cM(a);return}function XB(a,b){a=a|0;b=b|0;return}function YB(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function ZB(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;g=a;c[g>>2]=0;c[g+4>>2]=0;g=a+8|0;c[g>>2]=-1;c[g+4>>2]=-1;return}function _B(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=a;c[e>>2]=0;c[e+4>>2]=0;e=a+8|0;c[e>>2]=-1;c[e+4>>2]=-1;return}function $B(a){a=a|0;return 0}function aC(a){a=a|0;return 0}function bC(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;hC()|0;h=a+12|0;i=a+16|0;g=0;while(1){if((g|0)>=(d|0))break;e=c[h>>2]|0;f=c[i>>2]|0;if(e>>>0>>0){f=f-e>>2;j=d-g|0;f=(j|0)<(f|0)?j:f;jC(b,e,f)|0;c[h>>2]=(c[h>>2]|0)+(f<<2);b=b+(f<<2)|0;e=f}else{e=Eb[c[(c[a>>2]|0)+40>>2]&127](a)|0;if((e|0)==-1)break;c[b>>2]=kC(e)|0;b=b+4|0;e=1}g=e+g|0}return g|0}function cC(a){a=a|0;return hC()|0}function dC(a){a=a|0;var b=0;b=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;if((b|0)==(hC()|0))a=hC()|0;else{b=a+12|0;a=c[b>>2]|0;c[b>>2]=a+4;a=iC(c[a>>2]|0)|0}return a|0}function eC(a,b){a=a|0;b=b|0;return hC()|0}function fC(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;h=hC()|0;i=a+24|0;j=a+28|0;e=0;while(1){if((e|0)>=(d|0))break;f=c[i>>2]|0;g=c[j>>2]|0;if(f>>>0>>0){g=g-f>>2;k=d-e|0;g=(k|0)<(g|0)?k:g;jC(f,b,g)|0;c[i>>2]=(c[i>>2]|0)+(g<<2);b=b+(g<<2)|0;e=g+e|0}else{g=c[(c[a>>2]|0)+52>>2]|0;k=iC(c[b>>2]|0)|0;if((Gb[g&63](a,k)|0)==(h|0))break;b=b+4|0;e=e+1|0}}return e|0}function gC(a,b){a=a|0;b=b|0;return hC()|0}function hC(){return -1}function iC(a){a=a|0;return a|0}function jC(a,b,c){a=a|0;b=b|0;c=c|0;if(c)yA(a,b,c)|0;return a|0}function kC(a){a=a|0;return a|0}function lC(a){a=a|0;pC(a,14276);BB(a+8|0);return}function mC(a){a=a|0;lC(a);cM(a);return}function nC(a){a=a|0;lC(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function oC(a){a=a|0;mC(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function pC(a,b){a=a|0;b=b|0;return}function qC(a){a=a|0;uC(a,14324);FB(a+8|0);return}function rC(a){a=a|0;qC(a);cM(a);return}function sC(a){a=a|0;qC(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function tC(a){a=a|0;rC(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function uC(a,b){a=a|0;b=b|0;return}function vC(a){a=a|0;zC(a,14372);BB(a+4|0);return}function wC(a){a=a|0;vC(a);cM(a);return}function xC(a){a=a|0;vC(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function yC(a){a=a|0;wC(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function zC(a,b){a=a|0;b=b|0;return}function AC(a){a=a|0;EC(a,14420);FB(a+4|0);return}function BC(a){a=a|0;AC(a);cM(a);return}function CC(a){a=a|0;AC(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function DC(a){a=a|0;BC(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function EC(a,b){a=a|0;b=b|0;return}function FC(a,b){a=a|0;b=b|0;c[a+16>>2]=(c[a+24>>2]|0)==0|b;return}function GC(a,b){a=a|0;b=b|0;var d=0;c[a+24>>2]=b;c[a+16>>2]=(b|0)==0&1;c[a+20>>2]=0;c[a+4>>2]=4098;c[a+12>>2]=0;c[a+8>>2]=6;d=a+28|0;b=a+32|0;a=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(a|0));XL(d);return}function HC(a,b){a=a|0;b=b|0;VL(a,b+28|0);return}function IC(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function JC(a){a=a|0;c[a>>2]=14116;XL(a+4|0);a=a+8|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function KC(a){a=a|0;c[a>>2]=14180;XL(a+4|0);a=a+8|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;return}function LC(b){b=b|0;var d=0,e=0,f=0;e=yb;yb=yb+16|0;d=e;if(c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0){MC(d,b);if(a[d>>0]|0?(f=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0,(Eb[c[(c[f>>2]|0)+24>>2]&127](f)|0)==-1):0){f=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;FC(f,c[f+16>>2]|1)}NC(d)}yb=e;return b|0}function MC(b,d){b=b|0;d=d|0;a[b>>0]=0;c[b+4>>2]=d;d=d+(c[(c[d>>2]|0)+-12>>2]|0)|0;if(!(c[d+16>>2]|0)){d=c[d+72>>2]|0;if(d|0)LC(d)|0;a[b>>0]=1}return}function NC(a){a=a|0;var b=0;a=a+4|0;b=c[a>>2]|0;b=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;if((((c[b+24>>2]|0?(c[b+16>>2]|0)==0:0)?c[b+4>>2]&8192|0:0)?!(LM()|0):0)?(b=c[a>>2]|0,b=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0,(Eb[c[(c[b>>2]|0)+24>>2]&127](b)|0)==-1):0){b=c[a>>2]|0;b=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;FC(b,c[b+16>>2]|1)}return}function OC(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=yb;yb=yb+16|0;f=l+12|0;j=l+8|0;k=l;MC(k,b);if(a[k>>0]|0){HC(f,b+(c[(c[b>>2]|0)+-12>>2]|0)|0);g=WD(f,56180)|0;XD(f);h=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;i=c[h+24>>2]|0;m=hf()|0;e=h+76|0;if(mf(m,c[e>>2]|0)|0){HC(f,h);m=WD(f,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,32)|0;XD(f);m=m<<24>>24;c[e>>2]=m;e=m}else e=c[e>>2]|0;m=c[(c[g>>2]|0)+16>>2]|0;c[j>>2]=i;c[f>>2]=c[j>>2];if(!(Kb[m&31](g,f,h,e&255,d)|0)){m=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;FC(m,c[m+16>>2]|5)}}NC(k);yb=l;return b|0}function PC(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;i=j;MC(i,b);do if(a[i>>0]|0){e=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0;f=e;if(e|0){g=f+24|0;h=c[g>>2]|0;if((h|0)==(c[f+28>>2]|0)){h=c[(c[e>>2]|0)+52>>2]|0;d=rf(d)|0;d=Gb[h&63](f,d)|0}else{c[g>>2]=h+1;a[h>>0]=d;d=rf(d)|0}if(!(mf(d,hf()|0)|0))break}h=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;FC(h,c[h+16>>2]|1)}while(0);NC(i);yb=j;return b|0}function QC(a){a=a|0;a=a+16|0;c[a>>2]=c[a>>2]|1;return}function RC(){TC();return}function SC(){return}function TC(){UC(0);return}function UC(a){a=a|0;var b=0,d=0;b=c[3453]|0;VC(55756,b,55812);c[13769]=14248;c[13771]=14268;c[13770]=0;GC(55084,55756);c[13789]=0;c[13790]=hf()|0;WC(55820,b,55876);c[13791]=14296;c[13793]=14316;c[13792]=0;GC(55172,55820);c[13811]=0;c[13812]=hC()|0;b=c[3455]|0;XC(55884,b,55932);c[13813]=14344;c[13814]=14364;GC(55256,55884);c[13832]=0;c[13833]=hf()|0;YC(55940,b,55988);c[13834]=14392;c[13835]=14412;GC(55340,55940);c[13853]=0;c[13854]=hC()|0;b=c[3454]|0;XC(55996,b,56044);c[13855]=14344;c[13856]=14364;GC(55424,55996);c[13874]=0;c[13875]=hf()|0;a=c[55420+(c[(c[13855]|0)+-12>>2]|0)+24>>2]|0;c[13897]=14344;c[13898]=14364;GC(55592,a);c[13916]=0;c[13917]=hf()|0;YC(56052,b,56100);c[13876]=14392;c[13877]=14412;GC(55508,56052);c[13895]=0;c[13896]=hC()|0;b=c[55504+(c[(c[13876]|0)+-12>>2]|0)+24>>2]|0;c[13918]=14392;c[13919]=14412;GC(55676,b);c[13937]=0;c[13938]=hC()|0;c[55076+(c[(c[13769]|0)+-12>>2]|0)+72>>2]=55252;c[55164+(c[(c[13791]|0)+-12>>2]|0)+72>>2]=55336;b=(c[13855]|0)+-12|0;a=55420+(c[b>>2]|0)+4|0;c[a>>2]=c[a>>2]|8192;a=(c[13876]|0)+-12|0;d=55504+(c[a>>2]|0)+4|0;c[d>>2]=c[d>>2]|8192;c[55420+(c[b>>2]|0)+72>>2]=55252;c[55504+(c[a>>2]|0)+72>>2]=55336;return}function VC(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;JC(b);c[b>>2]=14628;c[b+32>>2]=d;c[b+40>>2]=e;c[b+48>>2]=hf()|0;a[b+52>>0]=0;e=c[(c[b>>2]|0)+8>>2]|0;VL(g,b+4|0);Sb[e&63](b,g);XD(g);yb=f;return}function WC(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;KC(b);c[b>>2]=14564;c[b+32>>2]=d;c[b+40>>2]=e;c[b+48>>2]=hC()|0;a[b+52>>0]=0;e=c[(c[b>>2]|0)+8>>2]|0;VL(g,b+4|0);Sb[e&63](b,g);XD(g);yb=f;return}function XC(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;JC(b);c[b>>2]=14500;c[b+32>>2]=d;VL(g,b+4|0);d=WD(g,56428)|0;XD(g);c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=(Eb[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;yb=f;return}function YC(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;KC(b);c[b>>2]=14436;c[b+32>>2]=d;VL(g,b+4|0);d=WD(g,56436)|0;XD(g);c[b+36>>2]=d;c[b+40>>2]=e;a[b+44>>0]=(Eb[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;yb=f;return}function ZC(a){a=a|0;VB(a);cM(a);return}function _C(b,d){b=b|0;d=d|0;Eb[c[(c[b>>2]|0)+24>>2]&127](b)|0;d=WD(d,56436)|0;c[b+36>>2]=d;a[b+44>>0]=(Eb[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;return}function $C(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=yb;yb=yb+16|0;d=k+8|0;e=k;f=a+36|0;g=a+40|0;h=d+8|0;i=d;b=a+32|0;a:while(1){a=c[f>>2]|0;a=Kb[c[(c[a>>2]|0)+20>>2]&31](a,c[g>>2]|0,d,h,e)|0;l=(c[e>>2]|0)-i|0;if((Hz(d,1,l,c[b>>2]|0)|0)!=(l|0)){a=-1;break}switch(a|0){case 1:break;case 2:{a=-1;break a}default:{j=4;break a}}}if((j|0)==4)a=((Vz(c[b>>2]|0)|0)!=0)<<31>>31;yb=k;return a|0}function aD(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if(!(a[b+44>>0]|0)){f=0;while(1){if((f|0)>=(e|0))break a;h=c[(c[b>>2]|0)+52>>2]|0;g=iC(c[d>>2]|0)|0;g=Gb[h&63](b,g)|0;if((g|0)==(hC()|0))break a;f=f+1|0;d=d+4|0}}else f=Hz(d,4,e,c[b+32>>2]|0)|0;while(0);return f|0}function bD(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+32|0;l=o+16|0;f=o+8|0;m=o+4|0;n=o;do if(!(IC(d,hC()|0)|0)){c[f>>2]=kC(d)|0;if(a[b+44>>0]|0){if((Hz(f,4,1,c[b+32>>2]|0)|0)==1){e=15;break}b=hC()|0;break}c[m>>2]=l;e=f+4|0;g=b+36|0;h=b+40|0;i=l+8|0;j=l;k=b+32|0;while(1){b=c[g>>2]|0;b=Ob[c[(c[b>>2]|0)+12>>2]&15](b,c[h>>2]|0,f,e,n,l,i,m)|0;if((c[n>>2]|0)==(f|0)){e=14;break}if((b|0)==3){e=8;break}if(b>>>0>=2){e=14;break}f=(c[m>>2]|0)-j|0;if((Hz(l,1,f,c[k>>2]|0)|0)!=(f|0)){e=14;break}if((b|0)==1)f=c[n>>2]|0;else{e=13;break}}if((e|0)==8)if((Hz(f,1,1,c[k>>2]|0)|0)==1)e=13;else e=14;if((e|0)==13){e=15;break}else if((e|0)==14){b=hC()|0;break}}else e=15;while(0);if((e|0)==15)b=cD(d)|0;yb=o;return b|0}function cD(a){a=a|0;if(IC(a,hC()|0)|0)a=~(hC()|0);return a|0}function dD(a){a=a|0;GB(a);cM(a);return}function eD(b,d){b=b|0;d=d|0;Eb[c[(c[b>>2]|0)+24>>2]&127](b)|0;d=WD(d,56428)|0;c[b+36>>2]=d;a[b+44>>0]=(Eb[c[(c[d>>2]|0)+28>>2]&127](d)|0)&1;return}function fD(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=yb;yb=yb+16|0;d=k+8|0;e=k;f=a+36|0;g=a+40|0;h=d+8|0;i=d;b=a+32|0;a:while(1){a=c[f>>2]|0;a=Kb[c[(c[a>>2]|0)+20>>2]&31](a,c[g>>2]|0,d,h,e)|0;l=(c[e>>2]|0)-i|0;if((Hz(d,1,l,c[b>>2]|0)|0)!=(l|0)){a=-1;break}switch(a|0){case 1:break;case 2:{a=-1;break a}default:{j=4;break a}}}if((j|0)==4)a=((Vz(c[b>>2]|0)|0)!=0)<<31>>31;yb=k;return a|0}function gD(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if(!(a[b+44>>0]|0)){f=0;while(1){if((f|0)>=(e|0))break a;h=c[(c[b>>2]|0)+52>>2]|0;g=rf(a[d>>0]|0)|0;g=Gb[h&63](b,g)|0;if((g|0)==(hf()|0))break a;f=f+1|0;d=d+1|0}}else f=Hz(d,1,e,c[b+32>>2]|0)|0;while(0);return f|0}function hD(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=yb;yb=yb+32|0;l=o+16|0;f=o+8|0;m=o+4|0;n=o;do if(!(mf(d,hf()|0)|0)){a[f>>0]=tf(d)|0;if(a[b+44>>0]|0){if((Hz(f,1,1,c[b+32>>2]|0)|0)==1){e=15;break}b=hf()|0;break}c[m>>2]=l;e=f+1|0;g=b+36|0;h=b+40|0;i=l+8|0;j=l;k=b+32|0;while(1){b=c[g>>2]|0;b=Ob[c[(c[b>>2]|0)+12>>2]&15](b,c[h>>2]|0,f,e,n,l,i,m)|0;if((c[n>>2]|0)==(f|0)){e=14;break}if((b|0)==3){e=8;break}if(b>>>0>=2){e=14;break}f=(c[m>>2]|0)-j|0;if((Hz(l,1,f,c[k>>2]|0)|0)!=(f|0)){e=14;break}if((b|0)==1)f=c[n>>2]|0;else{e=13;break}}if((e|0)==8)if((Hz(f,1,1,c[k>>2]|0)|0)==1)e=13;else e=14;if((e|0)==13){e=15;break}else if((e|0)==14){b=hf()|0;break}}else e=15;while(0);if((e|0)==15)b=sf(d)|0;yb=o;return b|0}function iD(a){a=a|0;VB(a);cM(a);return}function jD(b,d){b=b|0;d=d|0;var e=0,f=0;f=WD(d,56436)|0;e=b+36|0;c[e>>2]=f;d=b+44|0;c[d>>2]=Eb[c[(c[f>>2]|0)+24>>2]&127](f)|0;e=c[e>>2]|0;a[b+53>>0]=(Eb[c[(c[e>>2]|0)+28>>2]&127](e)|0)&1;if((c[d>>2]|0)>8)mH(46769);else return}function kD(a){a=a|0;return nD(a,0)|0}function lD(a){a=a|0;return nD(a,1)|0}function mD(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+32|0;h=l+16|0;i=l+8|0;f=l+4|0;g=l;j=IC(d,hC()|0)|0;k=b+52|0;e=(a[k>>0]|0)!=0;do if(j)if(e)e=d;else{e=c[b+48>>2]|0;a[k>>0]=((IC(e,hC()|0)|0)^1)&1}else{if(e){j=b+48|0;c[f>>2]=kC(c[j>>2]|0)|0;e=c[b+36>>2]|0;switch(Ob[c[(c[e>>2]|0)+12>>2]&15](e,c[b+40>>2]|0,f,f+4|0,g,h,h+8|0,i)|0){case 1:case 2:{g=11;break}case 3:{a[h>>0]=c[j>>2];c[i>>2]=h+1;g=8;break}default:g=8}a:do if((g|0)==8){e=b+32|0;while(1){f=c[i>>2]|0;if(f>>>0<=h>>>0){f=1;e=0;break a}b=f+-1|0;c[i>>2]=b;if((cB(a[b>>0]|0,c[e>>2]|0)|0)==-1){g=11;break}}}while(0);if((g|0)==11){f=0;e=hC()|0}if(f)e=j;else break}else e=b+48|0;c[e>>2]=d;a[k>>0]=1;e=d}while(0);yb=l;return e|0}function nD(b,d){b=b|0;d=d|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;r=yb;yb=yb+32|0;p=r+16|0;q=r+8|0;l=r+4|0;m=r;g=b+52|0;if(a[g>>0]|0){f=b+48|0;e=c[f>>2]|0;if(d){c[f>>2]=hC()|0;a[g>>0]=0}}else{e=c[b+44>>2]|0;e=(e|0)>1?e:1;o=b+32|0;f=0;while(1){if(f>>>0>=e>>>0){n=9;break}g=uA(c[o>>2]|0)|0;if((g|0)==-1){n=8;break}a[p+f>>0]=g;f=f+1|0}if((n|0)==8)e=hC()|0;else if((n|0)==9){do if(!(a[b+53>>0]|0)){i=b+40|0;j=b+36|0;k=q+4|0;a:while(1){s=c[i>>2]|0;g=s;f=c[g>>2]|0;g=c[g+4>>2]|0;t=c[j>>2]|0;h=p+e|0;switch(Ob[c[(c[t>>2]|0)+16>>2]&15](t,s,p,h,l,q,k,m)|0){case 3:{n=15;break a}case 2:{n=17;break a}case 1:break;default:break a}t=c[i>>2]|0;c[t>>2]=f;c[t+4>>2]=g;if((e|0)==8){n=17;break}f=uA(c[o>>2]|0)|0;if((f|0)==-1){n=17;break}a[h>>0]=f;e=e+1|0}if((n|0)==15)c[q>>2]=a[p>>0];else if((n|0)==17){e=hC()|0;break}n=19}else{c[q>>2]=a[p>>0];n=19}while(0);b:do if((n|0)==19){c:do if(d)c[b+48>>2]=iC(c[q>>2]|0)|0;else{do{if((e|0)<=0)break c;e=e+-1|0;t=iC(a[p+e>>0]|0)|0}while((cB(t,c[o>>2]|0)|0)!=-1);e=hC()|0;break b}while(0);e=iC(c[q>>2]|0)|0}while(0)}}yb=r;return e|0}function oD(a){a=a|0;GB(a);cM(a);return}function pD(b,d){b=b|0;d=d|0;var e=0,f=0;f=WD(d,56428)|0;e=b+36|0;c[e>>2]=f;d=b+44|0;c[d>>2]=Eb[c[(c[f>>2]|0)+24>>2]&127](f)|0;e=c[e>>2]|0;a[b+53>>0]=(Eb[c[(c[e>>2]|0)+28>>2]&127](e)|0)&1;if((c[d>>2]|0)>8)mH(46769);else return}function qD(a){a=a|0;return tD(a,0)|0}function rD(a){a=a|0;return tD(a,1)|0}function sD(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=yb;yb=yb+32|0;h=l+16|0;i=l+4|0;f=l+8|0;g=l;j=mf(d,hf()|0)|0;k=b+52|0;e=(a[k>>0]|0)!=0;do if(j)if(e)e=d;else{e=c[b+48>>2]|0;a[k>>0]=((mf(e,hf()|0)|0)^1)&1}else{if(e){j=b+48|0;a[f>>0]=tf(c[j>>2]|0)|0;e=c[b+36>>2]|0;switch(Ob[c[(c[e>>2]|0)+12>>2]&15](e,c[b+40>>2]|0,f,f+1|0,g,h,h+8|0,i)|0){case 1:case 2:{g=11;break}case 3:{a[h>>0]=c[j>>2];c[i>>2]=h+1;g=8;break}default:g=8}a:do if((g|0)==8){e=b+32|0;while(1){f=c[i>>2]|0;if(f>>>0<=h>>>0){f=1;e=0;break a}b=f+-1|0;c[i>>2]=b;if((cB(a[b>>0]|0,c[e>>2]|0)|0)==-1){g=11;break}}}while(0);if((g|0)==11){f=0;e=hf()|0}if(f)e=j;else break}else e=b+48|0;c[e>>2]=d;a[k>>0]=1;e=d}while(0);yb=l;return e|0}function tD(b,d){b=b|0;d=d|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;r=yb;yb=yb+32|0;p=r+16|0;q=r+8|0;l=r+4|0;m=r;g=b+52|0;if(a[g>>0]|0){f=b+48|0;e=c[f>>2]|0;if(d){c[f>>2]=hf()|0;a[g>>0]=0}}else{e=c[b+44>>2]|0;e=(e|0)>1?e:1;o=b+32|0;f=0;while(1){if(f>>>0>=e>>>0){n=9;break}g=uA(c[o>>2]|0)|0;if((g|0)==-1){n=8;break}a[p+f>>0]=g;f=f+1|0}if((n|0)==8)e=hf()|0;else if((n|0)==9){do if(!(a[b+53>>0]|0)){i=b+40|0;j=b+36|0;k=q+1|0;a:while(1){s=c[i>>2]|0;g=s;f=c[g>>2]|0;g=c[g+4>>2]|0;t=c[j>>2]|0;h=p+e|0;switch(Ob[c[(c[t>>2]|0)+16>>2]&15](t,s,p,h,l,q,k,m)|0){case 3:{n=15;break a}case 2:{n=17;break a}case 1:break;default:break a}t=c[i>>2]|0;c[t>>2]=f;c[t+4>>2]=g;if((e|0)==8){n=17;break}f=uA(c[o>>2]|0)|0;if((f|0)==-1){n=17;break}a[h>>0]=f;e=e+1|0}if((n|0)==15)a[q>>0]=a[p>>0]|0;else if((n|0)==17){e=hf()|0;break}n=19}else{a[q>>0]=a[p>>0]|0;n=19}while(0);b:do if((n|0)==19){c:do if(d)c[b+48>>2]=rf(a[q>>0]|0)|0;else{do{if((e|0)<=0)break c;e=e+-1|0;t=rf(a[p+e>>0]|0)|0}while((cB(t,c[o>>2]|0)|0)!=-1);e=hf()|0;break b}while(0);e=rf(a[q>>0]|0)|0}while(0)}}yb=r;return e|0}function uD(a){a=a|0;BD(a);return}function vD(a){a=a|0;uD(a);cM(a);return}function wD(a){a=a|0;if(a|0)Qb[c[(c[a>>2]|0)+4>>2]&255](a);return}function xD(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=c;while(1){if((e|0)==(f|0)){h=7;break}if((b|0)==(d|0)){b=-1;break}c=a[b>>0]|0;g=a[e>>0]|0;if(c<<24>>24>24){b=-1;break}if(g<<24>>24>24){b=1;break}e=e+1|0;b=b+1|0}if((h|0)==7)b=(b|0)!=(d|0)&1;return b|0}function yD(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;AD(a,d,e);return}function zD(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;b=0;while(1){if((c|0)==(d|0))break;e=(b<<4)+(a[c>>0]|0)|0;f=e&-268435456;b=(f>>>24|f)^e;c=c+1|0}return b|0}function AD(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;j=yb;yb=yb+16|0;g=d;i=j;f=e-g|0;if(f>>>0>4294967279)iM(b);if(f>>>0<11){a[b+11>>0]=f;h=b}else{k=f+16&-16;h=aM(k)|0;c[b>>2]=h;c[b+8>>2]=k|-2147483648;c[b+4>>2]=f}f=e-g|0;b=h;while(1){if((d|0)==(e|0))break;qf(b,d);d=d+1|0;b=b+1|0}a[i>>0]=0;qf(h+f|0,i);yb=j;return}function BD(a){a=a|0;return}function CD(a){a=a|0;BD(a);return}function DD(a){a=a|0;CD(a);cM(a);return}function ED(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;a=b;while(1){if((e|0)==(f|0)){h=7;break}if((a|0)==(d|0)){a=-1;break}b=c[a>>2]|0;g=c[e>>2]|0;if((b|0)<(g|0)){a=-1;break}if((g|0)<(b|0)){a=1;break}e=e+4|0;a=a+4|0}if((h|0)==7)a=(a|0)!=(d|0)&1;return a|0}function FD(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;HD(a,d,e);return}function GD(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a=0;while(1){if((b|0)==(d|0))break;e=(c[b>>2]|0)+(a<<4)|0;f=e&-268435456;a=(f>>>24|f)^e;b=b+4|0}return a|0}function HD(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;i=j;h=e-d>>2;if(h>>>0>1073741807)iM(b);do if(h>>>0>=2){g=h+4&-4;if(g>>>0>1073741823)ya();else{f=aM(g<<2)|0;c[b>>2]=f;c[b+8>>2]=g|-2147483648;c[b+4>>2]=h;break}}else{a[b+8+3>>0]=h;f=b}while(0);while(1){if((d|0)==(e|0))break;ID(f,d);d=d+4|0;f=f+4|0}c[i>>2]=0;ID(f,i);yb=j;return}function ID(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];return}function JD(a){a=a|0;BD(a);return}function KD(a){a=a|0;BD(a);cM(a);return}function LD(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,l=0,m=0,n=0,o=0;o=yb;yb=yb+48|0;i=o+40|0;n=o;j=o+32|0;k=o+36|0;l=o+28|0;m=o+24|0;if(!(c[f+4>>2]&1)){c[j>>2]=-1;m=c[(c[b>>2]|0)+16>>2]|0;c[k>>2]=c[d>>2];c[l>>2]=c[e>>2];c[n>>2]=c[k>>2];c[i>>2]=c[l>>2];c[d>>2]=Mb[m&63](b,n,i,f,g,j)|0;switch(c[j>>2]|0){case 0:{a[h>>0]=0;break}case 1:{a[h>>0]=1;break}default:{a[h>>0]=1;c[g>>2]=4}}i=c[d>>2]|0}else{HC(i,f);l=WD(i,56124)|0;XD(i);HC(i,f);b=WD(i,56140)|0;XD(i);Sb[c[(c[b>>2]|0)+24>>2]&63](n,b);Sb[c[(c[b>>2]|0)+28>>2]&63](n+12|0,b);c[m>>2]=c[e>>2];b=n+24|0;c[i>>2]=c[m>>2];a[h>>0]=(EE(d,i,n,b,l,g,1)|0)==(n|0)&1;i=c[d>>2]|0;do{b=b+-12|0;nM(b)}while((b|0)!=(n|0))}yb=o;return i|0}function MD(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=CE(a,j,i,e,f,g)|0;yb=h;return g|0}function ND(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=AE(a,j,i,e,f,g)|0;yb=h;return g|0}function OD(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=yE(a,j,i,e,f,g)|0;yb=h;return g|0}function PD(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=wE(a,j,i,e,f,g)|0;yb=h;return g|0}function QD(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=uE(a,j,i,e,f,g)|0;yb=h;return g|0}function RD(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=oE(a,j,i,e,f,g)|0;yb=h;return g|0}function SD(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=mE(a,j,i,e,f,g)|0;yb=h;return g|0}function TD(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=kE(a,j,i,e,f,g)|0;yb=h;return g|0}function UD(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=fE(a,j,i,e,f,g)|0;yb=h;return g|0}function VD(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,l=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=yb;yb=yb+240|0;v=y+192|0;t=y+160|0;w=y+220|0;x=y+208|0;u=y+204|0;q=y;r=y+200|0;s=y+196|0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[w+(b<<2)>>2]=0;b=b+1|0}HC(x,f);b=WD(x,56124)|0;Ib[c[(c[b>>2]|0)+32>>2]&15](b,10736,10762,t)|0;XD(x);c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}p=x+11|0;o=x+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;tM(x,b,0);b=(a[p>>0]|0)<0?c[x>>2]|0:x;c[u>>2]=b;c[r>>2]=q;c[s>>2]=0;n=x+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(mf(f,hf()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=rf(a[f>>0]|0)|0;if(!(mf(f,hf()|0)|0))if(k)break;else break a;else{c[e>>2]=0;z=22;break}}else z=22;while(0);if((z|0)==22){z=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[u>>2]|0)==(b+f|0)){tM(x,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;tM(x,b,0);b=(a[p>>0]|0)<0?c[x>>2]|0:x;c[u>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(YD(f&255,16,b,u,s,0,w,q,r,t)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+1;rf(a[f>>0]|0)|0}i=m}tM(x,(c[u>>2]|0)-b|0,0);t=(a[p>>0]|0)<0?c[x>>2]|0:x;u=ZD()|0;c[v>>2]=h;if((_D(t,u,46917,v)|0)!=1)c[g>>2]=4;if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=rf(a[b>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=rf(a[b>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(f)break;else{z=52;break}else{c[e>>2]=0;z=50;break}}else z=50;while(0);if((z|0)==50?f:0)z=52;if((z|0)==52)c[g>>2]=c[g>>2]|2;z=c[d>>2]|0;nM(x);nM(w);yb=y;return z|0}function WD(a,b){a=a|0;b=b|0;a=c[a>>2]|0;return aE(a,$D(b)|0)|0}function XD(a){a=a|0;var b=0,d=0;a=c[a>>2]|0;d=a+4|0;b=c[d>>2]|0;c[d>>2]=b+-1;if(!b)Qb[c[(c[a>>2]|0)+8>>2]&255](a);return}function YD(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;o=c[f>>2]|0;p=(o|0)==(e|0);do if(p){m=(a[l+24>>0]|0)==b<<24>>24;if(!m?(a[l+25>>0]|0)!=b<<24>>24:0){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=a[i+11>>0]|0;if(b<<24>>24==h<<24>>24?((n<<24>>24<0?c[i+4>>2]|0:n&255)|0)!=0:0){m=c[k>>2]|0;if((m-j|0)>=160){m=0;break}f=c[g>>2]|0;c[k>>2]=m+4;c[m>>2]=f;c[g>>2]=0;m=0;break}i=l+26|0;h=0;while(1){m=l+h|0;if((h|0)==26){m=i;break}if((a[m>>0]|0)==b<<24>>24)break;else h=h+1|0}m=m-l|0;if((m|0)>23)m=-1;else{switch(d|0){case 10:case 8:{if((m|0)>=(d|0)){m=-1;break a}break}case 16:{if((m|0)>=22){if(p){m=-1;break a}if((o-e|0)>=3){m=-1;break a}if((a[o+-1>>0]|0)!=48){m=-1;break a}c[g>>2]=0;m=a[10736+m>>0]|0;c[f>>2]=o+1;a[o>>0]=m;m=0;break a}break}default:{}}m=a[10736+m>>0]|0;c[f>>2]=o+1;a[o>>0]=m;c[g>>2]=(c[g>>2]|0)+1;m=0}}while(0);return m|0}function ZD(){if((a[53704]|0)==0?CN(53704)|0:0)c[14033]=MA(2147483647,46920,0)|0;return c[14033]|0}function _D(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;c[g>>2]=e;e=HA(b)|0;b=_z(a,d,g)|0;if(e|0)HA(e)|0;yb=f;return b|0}function $D(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;f=yb;yb=yb+48|0;b=f+32|0;d=f+24|0;e=f;g=f+16|0;c[g>>2]=141;c[g+4>>2]=0;c[b>>2]=c[g>>2];c[b+4>>2]=c[g+4>>2];cE(e,b,a);if((c[a>>2]|0)!=-1){c[b>>2]=e;c[d>>2]=b;_L(a,d,142)}yb=f;return (c[a+4>>2]|0)+-1|0}function aE(a,b){a=a|0;b=b|0;return c[(c[a+8>>2]|0)+(b<<2)>>2]|0}function bE(a){a=a|0;var b=0;b=c[14034]|0;c[14034]=b+1;c[a+4>>2]=b+1;return}function cE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=c[b>>2]|0;b=c[b+4>>2]|0;c[a>>2]=d;c[a+4>>2]=e;c[a+8>>2]=b;return}function dE(a){a=a|0;eE(c[c[a>>2]>>2]|0);return}function eE(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;e=c[a+8>>2]|0;d=(c[a>>2]|0)+(e>>1)|0;if(!(e&1))a=b;else a=c[(c[d>>2]|0)+b>>2]|0;Qb[a&255](d);return}function fE(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=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;D=yb;yb=yb+240|0;s=D+160|0;t=D+231|0;u=D+230|0;C=D+216|0;B=D+204|0;v=D+200|0;w=D;x=D+196|0;y=D+192|0;z=D+229|0;r=D+228|0;gE(C,f,s,t,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tM(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[x>>2]=w;c[y>>2]=0;a[z>>0]=1;a[r>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(k){f=c[k+12>>2]|0;if((f|0)==(c[k+16>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=rf(a[f>>0]|0)|0;if(mf(f,hf()|0)|0){c[d>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(!(mf(f,hf()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){tM(B,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tM(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+f}l=k+12|0;f=c[l>>2]|0;m=k+16|0;if((f|0)==(c[m>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=rf(a[f>>0]|0)|0;if(hE(f&255,z,r,b,v,a[t>>0]|0,a[u>>0]|0,C,w,x,y,s)|0)break;f=c[l>>2]|0;if((f|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=f+1;rf(a[f>>0]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[x>>2]|0,(A-w|0)<160):0){z=c[y>>2]|0;c[x>>2]=A+4;c[A>>2]=z}g[i>>3]=+iE(b,c[v>>2]|0,h);jE(C,w,c[x>>2]|0,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else b=rf(a[b>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=rf(a[b>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(f)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?f:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;nM(B);nM(C);yb=D;return E|0}function gE(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;h=yb;yb=yb+16|0;i=h;HC(i,d);d=WD(i,56124)|0;Ib[c[(c[d>>2]|0)+32>>2]&15](d,10736,10768,e)|0;e=WD(i,56140)|0;a[f>>0]=Eb[c[(c[e>>2]|0)+12>>2]&127](e)|0;a[g>>0]=Eb[c[(c[e>>2]|0)+16>>2]&127](e)|0;Sb[c[(c[e>>2]|0)+20>>2]&63](b,e);XD(i);yb=h;return}function hE(b,d,e,f,g,h,i,j,k,l,m,n){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0;a:do if(b<<24>>24==h<<24>>24)if(a[d>>0]|0){a[d>>0]=0;e=c[g>>2]|0;c[g>>2]=e+1;a[e>>0]=46;g=a[j+11>>0]|0;if(((g<<24>>24<0?c[j+4>>2]|0:g&255)|0)!=0?(o=c[l>>2]|0,(o-k|0)<160):0){k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;o=0}else o=0}else o=-1;else{if(b<<24>>24==i<<24>>24?(i=a[j+11>>0]|0,(i<<24>>24<0?c[j+4>>2]|0:i&255)|0):0){if(!(a[d>>0]|0)){o=-1;break}o=c[l>>2]|0;if((o-k|0)>=160){o=0;break}k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;c[m>>2]=0;o=0;break}i=n+32|0;h=0;while(1){o=n+h|0;if((h|0)==32){o=i;break}if((a[o>>0]|0)==b<<24>>24)break;else h=h+1|0}h=o-n|0;if((h|0)>31)o=-1;else{i=a[10736+h>>0]|0;switch(h|0){case 24:case 25:{o=c[g>>2]|0;if((o|0)!=(f|0)?(a[o+-1>>0]&95)!=(a[e>>0]&127):0){o=-1;break a}c[g>>2]=o+1;a[o>>0]=i;o=0;break a}case 23:case 22:{a[e>>0]=80;o=c[g>>2]|0;c[g>>2]=o+1;a[o>>0]=i;o=0;break a}default:{o=i&95;if((((o|0)==(a[e>>0]|0)?(a[e>>0]=o|128,a[d>>0]|0):0)?(a[d>>0]=0,e=a[j+11>>0]|0,(e<<24>>24<0?c[j+4>>2]|0:e&255)|0):0)?(p=c[l>>2]|0,(p-k|0)<160):0){k=c[m>>2]|0;c[l>>2]=p+4;c[p>>2]=k}l=c[g>>2]|0;c[g>>2]=l+1;a[l>>0]=i;if((h|0)>21){o=0;break a}c[m>>2]=(c[m>>2]|0)+1;o=0;break a}}}}while(0);return o|0}function iE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;f=i;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{g=c[(cy()|0)>>2]|0;c[(cy()|0)>>2]=0;e=+UA(a,f,ZD()|0);a=c[(cy()|0)>>2]|0;if(!a)c[(cy()|0)>>2]=g;if((c[f>>2]|0)==(b|0)){if((a|0)==34)h=6}else{e=0.0;h=6}if((h|0)==6)c[d>>2]=4}yb=i;return +e}function jE(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,l=0;j=b+11|0;h=a[j>>0]|0;k=b+4|0;g=c[k>>2]|0;i=h&255;do if((h<<24>>24<0?g:i)|0){if((d|0)!=(e|0)){g=e;h=d;while(1){g=g+-4|0;if(h>>>0>=g>>>0)break;i=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=i;h=h+4|0}h=a[j>>0]|0;i=h&255;g=c[k>>2]|0}j=h<<24>>24<0;b=j?c[b>>2]|0:b;k=e+-4|0;j=b+(j?g:i)|0;g=b;while(1){h=a[g>>0]|0;i=h<<24>>24>0&h<<24>>24!=127;if(d>>>0>=k>>>0)break;if(i?(c[d>>2]|0)!=(h<<24>>24|0):0){l=11;break}d=d+4|0;g=(j-g|0)>1?g+1|0:g}if((l|0)==11){c[f>>2]=4;break}if(i?((c[k>>2]|0)+-1|0)>>>0>=h<<24>>24>>>0:0)c[f>>2]=4}while(0);return}function kE(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=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;D=yb;yb=yb+240|0;s=D+160|0;t=D+231|0;u=D+230|0;C=D+216|0;B=D+204|0;v=D+200|0;w=D;x=D+196|0;y=D+192|0;z=D+229|0;r=D+228|0;gE(C,f,s,t,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tM(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[x>>2]=w;c[y>>2]=0;a[z>>0]=1;a[r>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(k){f=c[k+12>>2]|0;if((f|0)==(c[k+16>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=rf(a[f>>0]|0)|0;if(mf(f,hf()|0)|0){c[d>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(!(mf(f,hf()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){tM(B,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tM(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+f}l=k+12|0;f=c[l>>2]|0;m=k+16|0;if((f|0)==(c[m>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=rf(a[f>>0]|0)|0;if(hE(f&255,z,r,b,v,a[t>>0]|0,a[u>>0]|0,C,w,x,y,s)|0)break;f=c[l>>2]|0;if((f|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=f+1;rf(a[f>>0]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[x>>2]|0,(A-w|0)<160):0){z=c[y>>2]|0;c[x>>2]=A+4;c[A>>2]=z}g[i>>3]=+lE(b,c[v>>2]|0,h);jE(C,w,c[x>>2]|0,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else b=rf(a[b>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=rf(a[b>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(f)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?f:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;nM(B);nM(C);yb=D;return E|0}function lE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;f=i;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{g=c[(cy()|0)>>2]|0;c[(cy()|0)>>2]=0;e=+TA(a,f,ZD()|0);a=c[(cy()|0)>>2]|0;if(!a)c[(cy()|0)>>2]=g;if((c[f>>2]|0)==(b|0)){if((a|0)==34)h=6}else{e=0.0;h=6}if((h|0)==6)c[d>>2]=4}yb=i;return +e}function mE(b,d,e,g,h,i){b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=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;D=yb;yb=yb+240|0;s=D+160|0;t=D+231|0;u=D+230|0;C=D+216|0;B=D+204|0;v=D+200|0;w=D;x=D+196|0;y=D+192|0;z=D+229|0;r=D+228|0;gE(C,g,s,t,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tM(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[x>>2]=w;c[y>>2]=0;a[z>>0]=1;a[r>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(k){g=c[k+12>>2]|0;if((g|0)==(c[k+16>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=rf(a[g>>0]|0)|0;if(mf(g,hf()|0)|0){c[d>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[e>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=rf(a[g>>0]|0)|0;if(!(mf(g,hf()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}g=a[p>>0]|0;g=g<<24>>24<0?c[o>>2]|0:g&255;if((c[v>>2]|0)==(b+g|0)){tM(B,g<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tM(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+g}l=k+12|0;g=c[l>>2]|0;m=k+16|0;if((g|0)==(c[m>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=rf(a[g>>0]|0)|0;if(hE(g&255,z,r,b,v,a[t>>0]|0,a[u>>0]|0,C,w,x,y,s)|0)break;g=c[l>>2]|0;if((g|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=g+1;rf(a[g>>0]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[x>>2]|0,(A-w|0)<160):0){z=c[y>>2]|0;c[x>>2]=A+4;c[A>>2]=z}f[i>>2]=+nE(b,c[v>>2]|0,h);jE(C,w,c[x>>2]|0,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else b=rf(a[b>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;g=1}else g=0}else g=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=rf(a[b>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(g)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?g:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;nM(B);nM(C);yb=D;return E|0} -function nE(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;f=i;if((a|0)==(b|0)){c[d>>2]=4;e=0.0}else{g=c[(cy()|0)>>2]|0;c[(cy()|0)>>2]=0;e=+SA(a,f,ZD()|0);a=c[(cy()|0)>>2]|0;if(!a)c[(cy()|0)>>2]=g;if((c[f>>2]|0)==(b|0)){if((a|0)==34)h=6}else{e=0.0;h=6}if((h|0)==6)c[d>>2]=4}yb=i;return +e}function oE(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,l=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;B=yb;yb=yb+240|0;r=B+224|0;y=B+212|0;z=B+200|0;s=B+196|0;t=B;v=B+192|0;w=B+188|0;x=pE(f)|0;q=qE(b,f,B+160|0)|0;rE(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(mf(f,hf()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=rf(a[f>>0]|0)|0;if(!(mf(f,hf()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){tM(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(YD(f&255,x,b,s,w,a[r>>0]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+1;rf(a[f>>0]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}w=sE(b,c[s>>2]|0,g,x)|0;x=G()|0;c[h>>2]=w;c[h+4>>2]=x;jE(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=rf(a[b>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=rf(a[b>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;nM(z);nM(y);yb=B;return A|0}function pE(a){a=a|0;switch(c[a+4>>2]&74){case 64:{a=8;break}case 8:{a=16;break}case 0:{a=0;break}default:a=10}return a|0}function qE(a,b,c){a=a|0;b=b|0;c=c|0;return tE(a,b,c)|0}function rE(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;HC(g,d);d=WD(g,56140)|0;a[e>>0]=Eb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Sb[c[(c[d>>2]|0)+20>>2]&63](b,d);XD(g);yb=f;return}function sE(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;k=yb;yb=yb+16|0;h=k;do if((b|0)==(d|0)){c[e>>2]=4;f=0;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;f=0;b=0;break}i=c[(cy()|0)>>2]|0;c[(cy()|0)>>2]=0;b=gy(b,h,f,ZD()|0)|0;f=G()|0;g=c[(cy()|0)>>2]|0;if(!g)c[(cy()|0)>>2]=i;if((c[h>>2]|0)==(d|0)){if((g|0)==34){b=-1;f=-1;j=8}}else{b=0;f=0;j=8}if((j|0)==8)c[e>>2]=4}while(0);F(f|0);yb=k;return b|0}function tE(a,b,c){a=a|0;b=b|0;c=c|0;return 10736}function uE(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,l=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;B=yb;yb=yb+240|0;r=B+224|0;y=B+212|0;z=B+200|0;s=B+196|0;t=B;v=B+192|0;w=B+188|0;x=pE(f)|0;q=qE(b,f,B+160|0)|0;rE(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(mf(f,hf()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=rf(a[f>>0]|0)|0;if(!(mf(f,hf()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){tM(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(YD(f&255,x,b,s,w,a[r>>0]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+1;rf(a[f>>0]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}c[h>>2]=vE(b,c[s>>2]|0,g,x)|0;jE(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=rf(a[b>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=rf(a[b>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;nM(z);nM(y);yb=B;return A|0}function vE(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;j=yb;yb=yb+16|0;h=j;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}i=c[(cy()|0)>>2]|0;c[(cy()|0)>>2]=0;b=gy(b,h,f,ZD()|0)|0;f=G()|0;g=c[(cy()|0)>>2]|0;if(!g)c[(cy()|0)>>2]=i;do if((c[h>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>4294967295|(g|0)==34){c[e>>2]=4;b=-1;break}else break;else{c[e>>2]=4;b=0}while(0)}while(0);yb=j;return b|0}function wE(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,l=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;B=yb;yb=yb+240|0;r=B+224|0;y=B+212|0;z=B+200|0;s=B+196|0;t=B;v=B+192|0;w=B+188|0;x=pE(f)|0;q=qE(b,f,B+160|0)|0;rE(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(mf(f,hf()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=rf(a[f>>0]|0)|0;if(!(mf(f,hf()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){tM(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(YD(f&255,x,b,s,w,a[r>>0]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+1;rf(a[f>>0]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}c[h>>2]=xE(b,c[s>>2]|0,g,x)|0;jE(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=rf(a[b>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=rf(a[b>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;nM(z);nM(y);yb=B;return A|0}function xE(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;j=yb;yb=yb+16|0;h=j;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}i=c[(cy()|0)>>2]|0;c[(cy()|0)>>2]=0;b=gy(b,h,f,ZD()|0)|0;f=G()|0;g=c[(cy()|0)>>2]|0;if(!g)c[(cy()|0)>>2]=i;do if((c[h>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>4294967295|(g|0)==34){c[e>>2]=4;b=-1;break}else break;else{c[e>>2]=4;b=0}while(0)}while(0);yb=j;return b|0}function yE(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,l=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=yb;yb=yb+240|0;s=C+224|0;z=C+212|0;A=C+200|0;t=C+196|0;u=C;w=C+192|0;x=C+188|0;y=pE(g)|0;r=qE(d,g,C+160|0)|0;rE(z,g,s);c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[A+(d<<2)>>2]=0;d=d+1|0}p=A+11|0;q=A+8|0;if((a[p>>0]|0)<0)d=(c[q>>2]&2147483647)+-1|0;else d=10;tM(A,d,0);d=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=d;c[w>>2]=u;c[x>>2]=0;o=A+4|0;k=c[e>>2]|0;j=k;a:while(1){if(k){g=c[k+12>>2]|0;if((g|0)==(c[k+16>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=rf(a[g>>0]|0)|0;if(mf(g,hf()|0)|0){c[e>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[f>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=rf(a[g>>0]|0)|0;if(!(mf(g,hf()|0)|0))if(l)break;else break a;else{c[f>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(l){j=0;break}else j=0}g=a[p>>0]|0;g=g<<24>>24<0?c[o>>2]|0:g&255;if((c[t>>2]|0)==(d+g|0)){tM(A,g<<1,0);if((a[p>>0]|0)<0)d=(c[q>>2]&2147483647)+-1|0;else d=10;tM(A,d,0);d=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=d+g}l=k+12|0;g=c[l>>2]|0;m=k+16|0;if((g|0)==(c[m>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=rf(a[g>>0]|0)|0;if(YD(g&255,y,d,t,x,a[s>>0]|0,z,u,w,r)|0)break;g=c[l>>2]|0;if((g|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=g+1;rf(a[g>>0]|0)|0}j=n}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(v=c[w>>2]|0,(v-u|0)<160):0){x=c[x>>2]|0;c[w>>2]=v+4;c[v>>2]=x}b[i>>1]=zE(d,c[t>>2]|0,h,y)|0;jE(z,u,c[w>>2]|0,h);if(k){d=c[k+12>>2]|0;if((d|0)==(c[k+16>>2]|0))d=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else d=rf(a[d>>0]|0)|0;if(mf(d,hf()|0)|0){c[e>>2]=0;g=1}else g=0}else g=1;do if(j){d=c[j+12>>2]|0;if((d|0)==(c[j+16>>2]|0))d=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else d=rf(a[d>>0]|0)|0;if(!(mf(d,hf()|0)|0))if(g)break;else{B=50;break}else{c[f>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?g:0)B=50;if((B|0)==50)c[h>>2]=c[h>>2]|2;B=c[e>>2]|0;nM(A);nM(z);yb=C;return B|0}function zE(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;j=yb;yb=yb+16|0;h=j;do if((b|0)==(d|0)){c[e>>2]=4;b=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;b=0;break}i=c[(cy()|0)>>2]|0;c[(cy()|0)>>2]=0;b=gy(b,h,f,ZD()|0)|0;f=G()|0;g=c[(cy()|0)>>2]|0;if(!g)c[(cy()|0)>>2]=i;do if((c[h>>2]|0)==(d|0))if(f>>>0>0|(f|0)==0&b>>>0>65535|(g|0)==34){c[e>>2]=4;b=-1;break}else{b=b&65535;break}else{c[e>>2]=4;b=0}while(0)}while(0);yb=j;return b|0}function AE(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,l=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;B=yb;yb=yb+240|0;r=B+224|0;y=B+212|0;z=B+200|0;s=B+196|0;t=B;v=B+192|0;w=B+188|0;x=pE(f)|0;q=qE(b,f,B+160|0)|0;rE(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(mf(f,hf()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=rf(a[f>>0]|0)|0;if(!(mf(f,hf()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){tM(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(YD(f&255,x,b,s,w,a[r>>0]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+1;rf(a[f>>0]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}w=BE(b,c[s>>2]|0,g,x)|0;x=G()|0;c[h>>2]=w;c[h+4>>2]=x;jE(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=rf(a[b>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=rf(a[b>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;nM(z);nM(y);yb=B;return A|0}function BE(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;i=yb;yb=yb+16|0;g=i;if((a|0)==(b|0)){c[d>>2]=4;e=0;a=0}else{h=c[(cy()|0)>>2]|0;c[(cy()|0)>>2]=0;a=py(a,g,e,ZD()|0)|0;e=G()|0;f=c[(cy()|0)>>2]|0;if(!f)c[(cy()|0)>>2]=h;if((c[g>>2]|0)==(b|0)){if((f|0)==34){c[d>>2]=4;e=(e|0)>0|(e|0)==0&a>>>0>0;a=e?-1:0;e=e?2147483647:-2147483648}}else{c[d>>2]=4;a=0;e=0}}F(e|0);yb=i;return a|0}function CE(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,l=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;B=yb;yb=yb+240|0;r=B+224|0;y=B+212|0;z=B+200|0;s=B+196|0;t=B;v=B+192|0;w=B+188|0;x=pE(f)|0;q=qE(b,f,B+160|0)|0;rE(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(mf(f,hf()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=rf(a[f>>0]|0)|0;if(!(mf(f,hf()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){tM(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=rf(a[f>>0]|0)|0;if(YD(f&255,x,b,s,w,a[r>>0]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+1;rf(a[f>>0]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}c[h>>2]=DE(b,c[s>>2]|0,g,x)|0;jE(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=rf(a[b>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=rf(a[b>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;nM(z);nM(y);yb=B;return A|0}function DE(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;i=yb;yb=yb+16|0;g=i;if((a|0)==(b|0)){c[d>>2]=4;a=0}else{h=c[(cy()|0)>>2]|0;c[(cy()|0)>>2]=0;a=py(a,g,e,ZD()|0)|0;e=G()|0;f=c[(cy()|0)>>2]|0;if(!f)c[(cy()|0)>>2]=h;a:do if((c[g>>2]|0)==(b|0)){do if((f|0)==34){c[d>>2]=4;if((e|0)>0|(e|0)==0&a>>>0>0){a=2147483647;break a}}else{if((e|0)<-1|(e|0)==-1&a>>>0<2147483648){c[d>>2]=4;break}if((e|0)>0|(e|0)==0&a>>>0>2147483647){c[d>>2]=4;a=2147483647;break a}else break a}while(0);a=-2147483648}else{c[d>>2]=4;a=0}while(0)}yb=i;return a|0}function EE(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=yb;yb=yb+112|0;k=w;l=(f-e|0)/12|0;if(l>>>0>100){k=iB(l)|0;if(!k)$L();else{j=k;u=k}}else{j=k;u=0}n=e;o=j;k=0;while(1){if((n|0)==(f|0))break;m=a[n+11>>0]|0;if(m<<24>>24<0)m=c[n+4>>2]|0;else m=m&255;if(!m){a[o>>0]=2;l=l+-1|0;k=k+1|0}else a[o>>0]=1;n=n+12|0;o=o+1|0}t=0;r=k;while(1){k=c[b>>2]|0;do if(k){m=c[k+12>>2]|0;if((m|0)==(c[k+16>>2]|0))k=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else k=rf(a[m>>0]|0)|0;if(mf(k,hf()|0)|0){c[b>>2]=0;o=1;break}else{o=(c[b>>2]|0)==0;break}}else o=1;while(0);m=c[d>>2]|0;if(m){k=c[m+12>>2]|0;if((k|0)==(c[m+16>>2]|0))k=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else k=rf(a[k>>0]|0)|0;if(mf(k,hf()|0)|0){c[d>>2]=0;k=1;m=0}else k=0}else{k=1;m=0}n=c[b>>2]|0;if(!((l|0)!=0&(o^k)))break;k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else k=rf(a[k>>0]|0)|0;k=k&255;if(!i)k=Gb[c[(c[g>>2]|0)+12>>2]&63](g,k)|0;s=t+1|0;p=e;o=0;q=j;while(1){if((p|0)==(f|0))break;do if((a[q>>0]|0)==1){n=p+11|0;if((a[n>>0]|0)<0)m=c[p>>2]|0;else m=p;m=a[m+t>>0]|0;if(!i)m=Gb[c[(c[g>>2]|0)+12>>2]&63](g,m)|0;if(k<<24>>24!=m<<24>>24){a[q>>0]=0;m=o;n=r;l=l+-1|0;break}m=a[n>>0]|0;if(m<<24>>24<0)m=c[p+4>>2]|0;else m=m&255;if((m|0)==(s|0)){a[q>>0]=2;m=1;n=r+1|0;l=l+-1|0}else{m=1;n=r}}else{m=o;n=r}while(0);p=p+12|0;o=m;q=q+1|0;r=n}a:do if(o){k=c[b>>2]|0;m=k+12|0;n=c[m>>2]|0;if((n|0)==(c[k+16>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[m>>2]=n+1;rf(a[n>>0]|0)|0}if((r+l|0)>>>0>1){n=e;o=j;k=r;while(1){if((n|0)==(f|0))break a;if((a[o>>0]|0)==2){m=a[n+11>>0]|0;if(m<<24>>24<0)m=c[n+4>>2]|0;else m=m&255;if((m|0)!=(s|0)){a[o>>0]=0;k=k+-1|0}}n=n+12|0;o=o+1|0}}else k=r}else k=r;while(0);t=s;r=k}do if(n){k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else k=rf(a[k>>0]|0)|0;if(mf(k,hf()|0)|0){c[b>>2]=0;l=1;break}else{l=(c[b>>2]|0)==0;break}}else l=1;while(0);do if(m){k=c[m+12>>2]|0;if((k|0)==(c[m+16>>2]|0))k=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else k=rf(a[k>>0]|0)|0;if(!(mf(k,hf()|0)|0))if(l)break;else{v=79;break}else{c[d>>2]=0;v=41;break}}else v=41;while(0);if((v|0)==41?l:0)v=79;if((v|0)==79)c[h>>2]=c[h>>2]|2;while(1){if((e|0)==(f|0)){v=84;break}if((a[j>>0]|0)==2)break;e=e+12|0;j=j+1|0}if((v|0)==84){c[h>>2]=c[h>>2]|4;e=f}jB(u);yb=w;return e|0}function FE(a){a=a|0;BD(a);return}function GE(a){a=a|0;BD(a);cM(a);return}function HE(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,l=0,m=0,n=0,o=0;o=yb;yb=yb+48|0;i=o+40|0;n=o;j=o+32|0;k=o+36|0;l=o+28|0;m=o+24|0;if(!(c[f+4>>2]&1)){c[j>>2]=-1;m=c[(c[b>>2]|0)+16>>2]|0;c[k>>2]=c[d>>2];c[l>>2]=c[e>>2];c[n>>2]=c[k>>2];c[i>>2]=c[l>>2];c[d>>2]=Mb[m&63](b,n,i,f,g,j)|0;switch(c[j>>2]|0){case 0:{a[h>>0]=0;break}case 1:{a[h>>0]=1;break}default:{a[h>>0]=1;c[g>>2]=4}}i=c[d>>2]|0}else{HC(i,f);l=WD(i,56156)|0;XD(i);HC(i,f);b=WD(i,56164)|0;XD(i);Sb[c[(c[b>>2]|0)+24>>2]&63](n,b);Sb[c[(c[b>>2]|0)+28>>2]&63](n+12|0,b);c[m>>2]=c[e>>2];b=n+24|0;c[i>>2]=c[m>>2];a[h>>0]=(fF(d,i,n,b,l,g,1)|0)==(n|0)&1;i=c[d>>2]|0;do{b=b+-12|0;BM(b)}while((b|0)!=(n|0))}yb=o;return i|0}function IE(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=eF(a,j,i,e,f,g)|0;yb=h;return g|0}function JE(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=dF(a,j,i,e,f,g)|0;yb=h;return g|0}function KE(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=cF(a,j,i,e,f,g)|0;yb=h;return g|0}function LE(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=bF(a,j,i,e,f,g)|0;yb=h;return g|0}function ME(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=aF(a,j,i,e,f,g)|0;yb=h;return g|0}function NE(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=YE(a,j,i,e,f,g)|0;yb=h;return g|0}function OE(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=XE(a,j,i,e,f,g)|0;yb=h;return g|0}function PE(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=WE(a,j,i,e,f,g)|0;yb=h;return g|0}function QE(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=TE(a,j,i,e,f,g)|0;yb=h;return g|0}function RE(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,l=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=yb;yb=yb+304|0;v=y+264|0;t=y+160|0;w=y+292|0;x=y+280|0;u=y+276|0;q=y;r=y+272|0;s=y+268|0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[w+(b<<2)>>2]=0;b=b+1|0}HC(x,f);b=WD(x,56156)|0;Ib[c[(c[b>>2]|0)+48>>2]&15](b,10736,10762,t)|0;XD(x);c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[x+(b<<2)>>2]=0;b=b+1|0}p=x+11|0;o=x+8|0;if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;tM(x,b,0);b=(a[p>>0]|0)<0?c[x>>2]|0:x;c[u>>2]=b;c[r>>2]=q;c[s>>2]=0;n=x+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(IC(f,hC()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=iC(c[f>>2]|0)|0;if(!(IC(f,hC()|0)|0))if(k)break;else break a;else{c[e>>2]=0;z=22;break}}else z=22;while(0);if((z|0)==22){z=0;if(k){i=0;break}else i=0}f=a[p>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[u>>2]|0)==(b+f|0)){tM(x,f<<1,0);if((a[p>>0]|0)<0)b=(c[o>>2]&2147483647)+-1|0;else b=10;tM(x,b,0);b=(a[p>>0]|0)<0?c[x>>2]|0:x;c[u>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(SE(f,16,b,u,s,0,w,q,r,t)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+4;iC(c[f>>2]|0)|0}i=m}tM(x,(c[u>>2]|0)-b|0,0);t=(a[p>>0]|0)<0?c[x>>2]|0:x;u=ZD()|0;c[v>>2]=h;if((_D(t,u,46917,v)|0)!=1)c[g>>2]=4;if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=iC(c[b>>2]|0)|0;if(IC(b,hC()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=iC(c[b>>2]|0)|0;if(!(IC(b,hC()|0)|0))if(f)break;else{z=52;break}else{c[e>>2]=0;z=50;break}}else z=50;while(0);if((z|0)==50?f:0)z=52;if((z|0)==52)c[g>>2]=c[g>>2]|2;z=c[d>>2]|0;nM(x);nM(w);yb=y;return z|0}function SE(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;o=c[f>>2]|0;p=(o|0)==(e|0);do if(p){m=(c[l+96>>2]|0)==(b|0);if(!m?(c[l+100>>2]|0)!=(b|0):0){n=5;break}c[f>>2]=e+1;a[e>>0]=m?43:45;c[g>>2]=0;m=0}else n=5;while(0);a:do if((n|0)==5){n=a[i+11>>0]|0;if((b|0)==(h|0)?((n<<24>>24<0?c[i+4>>2]|0:n&255)|0)!=0:0){m=c[k>>2]|0;if((m-j|0)>=160){m=0;break}f=c[g>>2]|0;c[k>>2]=m+4;c[m>>2]=f;c[g>>2]=0;m=0;break}i=l+104|0;h=0;while(1){m=l+(h<<2)|0;if((h|0)==26){m=i;break}if((c[m>>2]|0)==(b|0))break;else h=h+1|0}m=m-l|0;h=m>>2;if((m|0)>92)m=-1;else{switch(d|0){case 10:case 8:{if((h|0)>=(d|0)){m=-1;break a}break}case 16:{if((m|0)>=88){if(p){m=-1;break a}if((o-e|0)>=3){m=-1;break a}if((a[o+-1>>0]|0)!=48){m=-1;break a}c[g>>2]=0;m=a[10736+h>>0]|0;c[f>>2]=o+1;a[o>>0]=m;m=0;break a}break}default:{}}m=a[10736+h>>0]|0;c[f>>2]=o+1;a[o>>0]=m;c[g>>2]=(c[g>>2]|0)+1;m=0}}while(0);return m|0}function TE(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=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;D=yb;yb=yb+336|0;s=D+160|0;t=D+328|0;u=D+324|0;C=D+312|0;B=D+300|0;v=D+296|0;w=D;x=D+292|0;y=D+288|0;z=D+333|0;r=D+332|0;UE(C,f,s,t,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tM(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[x>>2]=w;c[y>>2]=0;a[z>>0]=1;a[r>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(k){f=c[k+12>>2]|0;if((f|0)==(c[k+16>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=iC(c[f>>2]|0)|0;if(IC(f,hC()|0)|0){c[d>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(!(IC(f,hC()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){tM(B,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tM(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+f}l=k+12|0;f=c[l>>2]|0;m=k+16|0;if((f|0)==(c[m>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=iC(c[f>>2]|0)|0;if(VE(f,z,r,b,v,c[t>>2]|0,c[u>>2]|0,C,w,x,y,s)|0)break;f=c[l>>2]|0;if((f|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=f+4;iC(c[f>>2]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[x>>2]|0,(A-w|0)<160):0){z=c[y>>2]|0;c[x>>2]=A+4;c[A>>2]=z}g[i>>3]=+iE(b,c[v>>2]|0,h);jE(C,w,c[x>>2]|0,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else b=iC(c[b>>2]|0)|0;if(IC(b,hC()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=iC(c[b>>2]|0)|0;if(!(IC(b,hC()|0)|0))if(f)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?f:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;nM(B);nM(C);yb=D;return E|0}function UE(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;g=yb;yb=yb+16|0;h=g;HC(h,b);b=WD(h,56156)|0;Ib[c[(c[b>>2]|0)+48>>2]&15](b,10736,10768,d)|0;d=WD(h,56164)|0;c[e>>2]=Eb[c[(c[d>>2]|0)+12>>2]&127](d)|0;c[f>>2]=Eb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Sb[c[(c[d>>2]|0)+20>>2]&63](a,d);XD(h);yb=g;return}function VE(b,d,e,f,g,h,i,j,k,l,m,n){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0;a:do if((b|0)==(h|0))if(a[d>>0]|0){a[d>>0]=0;e=c[g>>2]|0;c[g>>2]=e+1;a[e>>0]=46;g=a[j+11>>0]|0;if(((g<<24>>24<0?c[j+4>>2]|0:g&255)|0)!=0?(o=c[l>>2]|0,(o-k|0)<160):0){k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;o=0}else o=0}else o=-1;else{if((b|0)==(i|0)?(i=a[j+11>>0]|0,(i<<24>>24<0?c[j+4>>2]|0:i&255)|0):0){if(!(a[d>>0]|0)){o=-1;break}o=c[l>>2]|0;if((o-k|0)>=160){o=0;break}k=c[m>>2]|0;c[l>>2]=o+4;c[o>>2]=k;c[m>>2]=0;o=0;break}i=n+128|0;h=0;while(1){o=n+(h<<2)|0;if((h|0)==32){o=i;break}if((c[o>>2]|0)==(b|0))break;else h=h+1|0}h=o-n|0;if((h|0)<=124){i=a[10736+(h>>2)>>0]|0;n=h+-88|0;switch(n>>>2|n<<30|0){case 2:case 3:{o=c[g>>2]|0;if((o|0)!=(f|0)?(a[o+-1>>0]&95)!=(a[e>>0]&127):0){o=-1;break a}c[g>>2]=o+1;a[o>>0]=i;o=0;break a}case 1:case 0:{a[e>>0]=80;break}default:{o=i&95;if((((o|0)==(a[e>>0]|0)?(a[e>>0]=o|128,a[d>>0]|0):0)?(a[d>>0]=0,e=a[j+11>>0]|0,(e<<24>>24<0?c[j+4>>2]|0:e&255)|0):0)?(p=c[l>>2]|0,(p-k|0)<160):0){k=c[m>>2]|0;c[l>>2]=p+4;c[p>>2]=k}}}l=c[g>>2]|0;c[g>>2]=l+1;a[l>>0]=i;if((h|0)>84)o=0;else{c[m>>2]=(c[m>>2]|0)+1;o=0}}else o=-1}while(0);return o|0}function WE(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=i|0;var j=0,k=0,l=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;D=yb;yb=yb+336|0;s=D+160|0;t=D+328|0;u=D+324|0;C=D+312|0;B=D+300|0;v=D+296|0;w=D;x=D+292|0;y=D+288|0;z=D+333|0;r=D+332|0;UE(C,f,s,t,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tM(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[x>>2]=w;c[y>>2]=0;a[z>>0]=1;a[r>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(k){f=c[k+12>>2]|0;if((f|0)==(c[k+16>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=iC(c[f>>2]|0)|0;if(IC(f,hC()|0)|0){c[d>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[e>>2]|0;do if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(!(IC(f,hC()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}f=a[p>>0]|0;f=f<<24>>24<0?c[o>>2]|0:f&255;if((c[v>>2]|0)==(b+f|0)){tM(B,f<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tM(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+f}l=k+12|0;f=c[l>>2]|0;m=k+16|0;if((f|0)==(c[m>>2]|0))f=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else f=iC(c[f>>2]|0)|0;if(VE(f,z,r,b,v,c[t>>2]|0,c[u>>2]|0,C,w,x,y,s)|0)break;f=c[l>>2]|0;if((f|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=f+4;iC(c[f>>2]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[x>>2]|0,(A-w|0)<160):0){z=c[y>>2]|0;c[x>>2]=A+4;c[A>>2]=z}g[i>>3]=+lE(b,c[v>>2]|0,h);jE(C,w,c[x>>2]|0,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else b=iC(c[b>>2]|0)|0;if(IC(b,hC()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=iC(c[b>>2]|0)|0;if(!(IC(b,hC()|0)|0))if(f)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?f:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;nM(B);nM(C);yb=D;return E|0}function XE(b,d,e,g,h,i){b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=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;D=yb;yb=yb+336|0;s=D+160|0;t=D+328|0;u=D+324|0;C=D+312|0;B=D+300|0;v=D+296|0;w=D;x=D+292|0;y=D+288|0;z=D+333|0;r=D+332|0;UE(C,g,s,t,u);c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}p=B+11|0;q=B+8|0;if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tM(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b;c[x>>2]=w;c[y>>2]=0;a[z>>0]=1;a[r>>0]=69;o=B+4|0;k=c[d>>2]|0;j=k;a:while(1){if(k){g=c[k+12>>2]|0;if((g|0)==(c[k+16>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=iC(c[g>>2]|0)|0;if(IC(g,hC()|0)|0){c[d>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[e>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=iC(c[g>>2]|0)|0;if(!(IC(g,hC()|0)|0))if(l)break;else break a;else{c[e>>2]=0;E=19;break}}else E=19;while(0);if((E|0)==19){E=0;if(l){j=0;break}else j=0}g=a[p>>0]|0;g=g<<24>>24<0?c[o>>2]|0:g&255;if((c[v>>2]|0)==(b+g|0)){tM(B,g<<1,0);if((a[p>>0]|0)<0)b=(c[q>>2]&2147483647)+-1|0;else b=10;tM(B,b,0);b=(a[p>>0]|0)<0?c[B>>2]|0:B;c[v>>2]=b+g}l=k+12|0;g=c[l>>2]|0;m=k+16|0;if((g|0)==(c[m>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=iC(c[g>>2]|0)|0;if(VE(g,z,r,b,v,c[t>>2]|0,c[u>>2]|0,C,w,x,y,s)|0)break;g=c[l>>2]|0;if((g|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=g+4;iC(c[g>>2]|0)|0}j=n}u=a[C+11>>0]|0;if(!((a[z>>0]|0)==0?1:((u<<24>>24<0?c[C+4>>2]|0:u&255)|0)==0)?(A=c[x>>2]|0,(A-w|0)<160):0){z=c[y>>2]|0;c[x>>2]=A+4;c[A>>2]=z}f[i>>2]=+nE(b,c[v>>2]|0,h);jE(C,w,c[x>>2]|0,h);if(k){b=c[k+12>>2]|0;if((b|0)==(c[k+16>>2]|0))b=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else b=iC(c[b>>2]|0)|0;if(IC(b,hC()|0)|0){c[d>>2]=0;g=1}else g=0}else g=1;do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=iC(c[b>>2]|0)|0;if(!(IC(b,hC()|0)|0))if(g)break;else{E=50;break}else{c[e>>2]=0;E=48;break}}else E=48;while(0);if((E|0)==48?g:0)E=50;if((E|0)==50)c[h>>2]=c[h>>2]|2;E=c[d>>2]|0;nM(B);nM(C);yb=D;return E|0}function YE(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,l=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;B=yb;yb=yb+304|0;r=B+300|0;y=B+288|0;z=B+276|0;s=B+272|0;t=B;v=B+268|0;w=B+264|0;x=pE(f)|0;q=ZE(b,f,B+160|0)|0;_E(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(IC(f,hC()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=iC(c[f>>2]|0)|0;if(!(IC(f,hC()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){tM(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(SE(f,x,b,s,w,c[r>>2]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+4;iC(c[f>>2]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}w=sE(b,c[s>>2]|0,g,x)|0;x=G()|0;c[h>>2]=w;c[h+4>>2]=x;jE(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=iC(c[b>>2]|0)|0;if(IC(b,hC()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=iC(c[b>>2]|0)|0;if(!(IC(b,hC()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;nM(z);nM(y);yb=B;return A|0}function ZE(a,b,c){a=a|0;b=b|0;c=c|0;return $E(a,b,c)|0}function _E(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=yb;yb=yb+16|0;f=e;HC(f,b);b=WD(f,56164)|0;c[d>>2]=Eb[c[(c[b>>2]|0)+16>>2]&127](b)|0;Sb[c[(c[b>>2]|0)+20>>2]&63](a,b);XD(f);yb=e;return}function $E(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a=yb;yb=yb+16|0;e=a;HC(e,b);b=WD(e,56156)|0;Ib[c[(c[b>>2]|0)+48>>2]&15](b,10736,10762,d)|0;XD(e);yb=a;return d|0}function aF(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,l=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;B=yb;yb=yb+304|0;r=B+300|0;y=B+288|0;z=B+276|0;s=B+272|0;t=B;v=B+268|0;w=B+264|0;x=pE(f)|0;q=ZE(b,f,B+160|0)|0;_E(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(IC(f,hC()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=iC(c[f>>2]|0)|0;if(!(IC(f,hC()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){tM(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(SE(f,x,b,s,w,c[r>>2]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+4;iC(c[f>>2]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}c[h>>2]=vE(b,c[s>>2]|0,g,x)|0;jE(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=iC(c[b>>2]|0)|0;if(IC(b,hC()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=iC(c[b>>2]|0)|0;if(!(IC(b,hC()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;nM(z);nM(y);yb=B;return A|0}function bF(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,l=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;B=yb;yb=yb+304|0;r=B+300|0;y=B+288|0;z=B+276|0;s=B+272|0;t=B;v=B+268|0;w=B+264|0;x=pE(f)|0;q=ZE(b,f,B+160|0)|0;_E(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(IC(f,hC()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=iC(c[f>>2]|0)|0;if(!(IC(f,hC()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){tM(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(SE(f,x,b,s,w,c[r>>2]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+4;iC(c[f>>2]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}c[h>>2]=xE(b,c[s>>2]|0,g,x)|0;jE(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=iC(c[b>>2]|0)|0;if(IC(b,hC()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=iC(c[b>>2]|0)|0;if(!(IC(b,hC()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;nM(z);nM(y);yb=B;return A|0}function cF(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,l=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=yb;yb=yb+304|0;s=C+300|0;z=C+288|0;A=C+276|0;t=C+272|0;u=C;w=C+268|0;x=C+264|0;y=pE(g)|0;r=ZE(d,g,C+160|0)|0;_E(z,g,s);c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[A+(d<<2)>>2]=0;d=d+1|0}p=A+11|0;q=A+8|0;if((a[p>>0]|0)<0)d=(c[q>>2]&2147483647)+-1|0;else d=10;tM(A,d,0);d=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=d;c[w>>2]=u;c[x>>2]=0;o=A+4|0;k=c[e>>2]|0;j=k;a:while(1){if(k){g=c[k+12>>2]|0;if((g|0)==(c[k+16>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=iC(c[g>>2]|0)|0;if(IC(g,hC()|0)|0){c[e>>2]=0;n=0;l=1;k=0}else{n=j;l=0}}else{n=0;l=1;k=0}j=c[f>>2]|0;do if(j){g=c[j+12>>2]|0;if((g|0)==(c[j+16>>2]|0))g=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else g=iC(c[g>>2]|0)|0;if(!(IC(g,hC()|0)|0))if(l)break;else break a;else{c[f>>2]=0;B=19;break}}else B=19;while(0);if((B|0)==19){B=0;if(l){j=0;break}else j=0}g=a[p>>0]|0;g=g<<24>>24<0?c[o>>2]|0:g&255;if((c[t>>2]|0)==(d+g|0)){tM(A,g<<1,0);if((a[p>>0]|0)<0)d=(c[q>>2]&2147483647)+-1|0;else d=10;tM(A,d,0);d=(a[p>>0]|0)<0?c[A>>2]|0:A;c[t>>2]=d+g}l=k+12|0;g=c[l>>2]|0;m=k+16|0;if((g|0)==(c[m>>2]|0))g=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else g=iC(c[g>>2]|0)|0;if(SE(g,y,d,t,x,c[s>>2]|0,z,u,w,r)|0)break;g=c[l>>2]|0;if((g|0)==(c[m>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=g+4;iC(c[g>>2]|0)|0}j=n}s=a[z+11>>0]|0;if((s<<24>>24<0?c[z+4>>2]|0:s&255)|0?(v=c[w>>2]|0,(v-u|0)<160):0){x=c[x>>2]|0;c[w>>2]=v+4;c[v>>2]=x}b[i>>1]=zE(d,c[t>>2]|0,h,y)|0;jE(z,u,c[w>>2]|0,h);if(k){d=c[k+12>>2]|0;if((d|0)==(c[k+16>>2]|0))d=Eb[c[(c[n>>2]|0)+36>>2]&127](k)|0;else d=iC(c[d>>2]|0)|0;if(IC(d,hC()|0)|0){c[e>>2]=0;g=1}else g=0}else g=1;do if(j){d=c[j+12>>2]|0;if((d|0)==(c[j+16>>2]|0))d=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else d=iC(c[d>>2]|0)|0;if(!(IC(d,hC()|0)|0))if(g)break;else{B=50;break}else{c[f>>2]=0;B=48;break}}else B=48;while(0);if((B|0)==48?g:0)B=50;if((B|0)==50)c[h>>2]=c[h>>2]|2;B=c[e>>2]|0;nM(A);nM(z);yb=C;return B|0}function dF(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,l=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;B=yb;yb=yb+304|0;r=B+300|0;y=B+288|0;z=B+276|0;s=B+272|0;t=B;v=B+268|0;w=B+264|0;x=pE(f)|0;q=ZE(b,f,B+160|0)|0;_E(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(IC(f,hC()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=iC(c[f>>2]|0)|0;if(!(IC(f,hC()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){tM(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(SE(f,x,b,s,w,c[r>>2]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+4;iC(c[f>>2]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}w=BE(b,c[s>>2]|0,g,x)|0;x=G()|0;c[h>>2]=w;c[h+4>>2]=x;jE(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=iC(c[b>>2]|0)|0;if(IC(b,hC()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=iC(c[b>>2]|0)|0;if(!(IC(b,hC()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;nM(z);nM(y);yb=B;return A|0}function eF(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,l=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;B=yb;yb=yb+304|0;r=B+300|0;y=B+288|0;z=B+276|0;s=B+272|0;t=B;v=B+268|0;w=B+264|0;x=pE(f)|0;q=ZE(b,f,B+160|0)|0;_E(y,f,r);c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}o=z+11|0;p=z+8|0;if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b;c[v>>2]=t;c[w>>2]=0;n=z+4|0;j=c[d>>2]|0;i=j;a:while(1){if(j){f=c[j+12>>2]|0;if((f|0)==(c[j+16>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(IC(f,hC()|0)|0){c[d>>2]=0;m=0;k=1;j=0}else{m=i;k=0}}else{m=0;k=1;j=0}i=c[e>>2]|0;do if(i){f=c[i+12>>2]|0;if((f|0)==(c[i+16>>2]|0))f=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else f=iC(c[f>>2]|0)|0;if(!(IC(f,hC()|0)|0))if(k)break;else break a;else{c[e>>2]=0;A=19;break}}else A=19;while(0);if((A|0)==19){A=0;if(k){i=0;break}else i=0}f=a[o>>0]|0;f=f<<24>>24<0?c[n>>2]|0:f&255;if((c[s>>2]|0)==(b+f|0)){tM(z,f<<1,0);if((a[o>>0]|0)<0)b=(c[p>>2]&2147483647)+-1|0;else b=10;tM(z,b,0);b=(a[o>>0]|0)<0?c[z>>2]|0:z;c[s>>2]=b+f}k=j+12|0;f=c[k>>2]|0;l=j+16|0;if((f|0)==(c[l>>2]|0))f=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else f=iC(c[f>>2]|0)|0;if(SE(f,x,b,s,w,c[r>>2]|0,y,t,v,q)|0)break;f=c[k>>2]|0;if((f|0)==(c[l>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=f+4;iC(c[f>>2]|0)|0}i=m}r=a[y+11>>0]|0;if((r<<24>>24<0?c[y+4>>2]|0:r&255)|0?(u=c[v>>2]|0,(u-t|0)<160):0){w=c[w>>2]|0;c[v>>2]=u+4;c[u>>2]=w}c[h>>2]=DE(b,c[s>>2]|0,g,x)|0;jE(y,t,c[v>>2]|0,g);if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[m>>2]|0)+36>>2]&127](j)|0;else b=iC(c[b>>2]|0)|0;if(IC(b,hC()|0)|0){c[d>>2]=0;f=1}else f=0}else f=1;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))b=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else b=iC(c[b>>2]|0)|0;if(!(IC(b,hC()|0)|0))if(f)break;else{A=50;break}else{c[e>>2]=0;A=48;break}}else A=48;while(0);if((A|0)==48?f:0)A=50;if((A|0)==50)c[g>>2]=c[g>>2]|2;A=c[d>>2]|0;nM(z);nM(y);yb=B;return A|0}function fF(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=yb;yb=yb+112|0;k=w;l=(f-e|0)/12|0;if(l>>>0>100){k=iB(l)|0;if(!k)$L();else{j=k;u=k}}else{j=k;u=0}k=0;n=e;o=j;while(1){if((n|0)==(f|0))break;m=a[n+8+3>>0]|0;if(m<<24>>24<0)m=c[n+4>>2]|0;else m=m&255;if(!m){a[o>>0]=2;k=k+1|0;l=l+-1|0}else a[o>>0]=1;n=n+12|0;o=o+1|0}t=0;r=k;while(1){k=c[b>>2]|0;do if(k){m=c[k+12>>2]|0;if((m|0)==(c[k+16>>2]|0))k=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else k=iC(c[m>>2]|0)|0;if(IC(k,hC()|0)|0){c[b>>2]=0;o=1;break}else{o=(c[b>>2]|0)==0;break}}else o=1;while(0);m=c[d>>2]|0;if(m){k=c[m+12>>2]|0;if((k|0)==(c[m+16>>2]|0))k=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else k=iC(c[k>>2]|0)|0;if(IC(k,hC()|0)|0){c[d>>2]=0;k=1;m=0}else k=0}else{k=1;m=0}n=c[b>>2]|0;if(!((l|0)!=0&(o^k)))break;k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else k=iC(c[k>>2]|0)|0;if(!i)k=Gb[c[(c[g>>2]|0)+28>>2]&63](g,k)|0;s=t+1|0;p=e;o=0;q=j;while(1){if((p|0)==(f|0))break;do if((a[q>>0]|0)==1){n=p+8+3|0;if((a[n>>0]|0)<0)m=c[p>>2]|0;else m=p;m=c[m+(t<<2)>>2]|0;if(!i)m=Gb[c[(c[g>>2]|0)+28>>2]&63](g,m)|0;if((k|0)!=(m|0)){a[q>>0]=0;m=o;n=r;l=l+-1|0;break}m=a[n>>0]|0;if(m<<24>>24<0)m=c[p+4>>2]|0;else m=m&255;if((m|0)==(s|0)){a[q>>0]=2;m=1;n=r+1|0;l=l+-1|0}else{m=1;n=r}}else{m=o;n=r}while(0);p=p+12|0;o=m;q=q+1|0;r=n}a:do if(o){k=c[b>>2]|0;m=k+12|0;n=c[m>>2]|0;if((n|0)==(c[k+16>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[m>>2]=n+4;iC(c[n>>2]|0)|0}if((r+l|0)>>>0>1){n=e;o=j;k=r;while(1){if((n|0)==(f|0))break a;if((a[o>>0]|0)==2){m=a[n+8+3>>0]|0;if(m<<24>>24<0)m=c[n+4>>2]|0;else m=m&255;if((m|0)!=(s|0)){a[o>>0]=0;k=k+-1|0}}n=n+12|0;o=o+1|0}}else k=r}else k=r;while(0);t=s;r=k}do if(n){k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else k=iC(c[k>>2]|0)|0;if(IC(k,hC()|0)|0){c[b>>2]=0;l=1;break}else{l=(c[b>>2]|0)==0;break}}else l=1;while(0);do if(m){k=c[m+12>>2]|0;if((k|0)==(c[m+16>>2]|0))k=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else k=iC(c[k>>2]|0)|0;if(!(IC(k,hC()|0)|0))if(l)break;else{v=79;break}else{c[d>>2]=0;v=41;break}}else v=41;while(0);if((v|0)==41?l:0)v=79;if((v|0)==79)c[h>>2]=c[h>>2]|2;while(1){if((e|0)==(f|0)){v=84;break}if((a[j>>0]|0)==2)break;e=e+12|0;j=j+1|0}if((v|0)==84){c[h>>2]=c[h>>2]|4;e=f}jB(u);yb=w;return e|0}function gF(a){a=a|0;BD(a);return}function hF(a){a=a|0;BD(a);cM(a);return}function iF(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,l=0;l=yb;yb=yb+16|0;k=l+4|0;h=l;if(!(c[e+4>>2]&1)){j=c[(c[b>>2]|0)+24>>2]|0;c[h>>2]=c[d>>2];c[k>>2]=c[h>>2];b=Kb[j&31](b,k,e,f,g&1)|0}else{HC(k,e);b=WD(k,56140)|0;XD(k);e=c[b>>2]|0;if(g)Sb[c[e+24>>2]&63](k,b);else Sb[c[e+28>>2]&63](k,b);i=k+11|0;b=a[i>>0]|0;e=c[k>>2]|0;j=k+4|0;g=b<<24>>24<0?e:k;while(1){h=b<<24>>24<0;if((g|0)==((h?e:k)+(h?c[j>>2]|0:b&255)|0))break;b=a[g>>0]|0;e=c[d>>2]|0;if(e|0){f=e+24|0;h=c[f>>2]|0;if((h|0)==(c[e+28>>2]|0)){h=c[(c[e>>2]|0)+52>>2]|0;b=rf(b)|0;b=Gb[h&63](e,b)|0}else{c[f>>2]=h+1;a[h>>0]=b;b=rf(b)|0}if(mf(b,hf()|0)|0)c[d>>2]=0}g=g+1|0;b=a[i>>0]|0;e=c[k>>2]|0}b=c[d>>2]|0;nM(k)}yb=l;return b|0}function jF(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,l=0,m=0,n=0,o=0,p=0,q=0;b=yb;yb=yb+32|0;j=b;n=b+16|0;m=b+12|0;l=b+4|0;k=b+8|0;a[n>>0]=a[47138]|0;a[n+1>>0]=a[47139]|0;a[n+2>>0]=a[47140]|0;a[n+3>>0]=a[47141]|0;a[n+4>>0]=a[47142]|0;a[n+5>>0]=a[47143]|0;p=e+4|0;vF(n+1|0,47144,1,c[p>>2]|0);p=(c[p>>2]|0)>>>9&1;q=p+13|0;h=Qa()|0;o=yb;yb=yb+((1*q|0)+15&-16)|0;i=ZD()|0;c[j>>2]=g;g=o+(qF(o,q,i,n,j)|0)|0;n=rF(o,g,e)|0;i=yb;yb=yb+((1*((p<<1|24)+-1|0)|0)+15&-16)|0;HC(j,e);wF(o,n,g,i,m,l,j);XD(j);c[k>>2]=c[d>>2];d=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=nf(j,i,d,g,e,f)|0;Pa(h|0);yb=b;return g|0}function kF(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=yb;yb=yb+32|0;j=a+8|0;i=a;m=a+24|0;l=a+16|0;k=a+20|0;o=i;c[o>>2]=37;c[o+4>>2]=0;o=d+4|0;vF(i+1|0,47135,1,c[o>>2]|0);o=(c[o>>2]|0)>>>9&1;q=o+23|0;h=Qa()|0;n=yb;yb=yb+((1*q|0)+15&-16)|0;p=ZD()|0;r=j;c[r>>2]=f;c[r+4>>2]=g;f=n+(qF(n,q,p,i,j)|0)|0;g=rF(n,f,d)|0;i=yb;yb=yb+((1*((o<<1|44)+-1|0)|0)+15&-16)|0;HC(j,d);wF(n,g,f,i,m,l,j);XD(j);c[k>>2]=c[b>>2];f=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=nf(j,i,f,g,d,e)|0;Pa(h|0);yb=a;return g|0}function lF(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,l=0,m=0,n=0,o=0,p=0,q=0;b=yb;yb=yb+32|0;j=b;n=b+16|0;m=b+12|0;l=b+4|0;k=b+8|0;a[n>>0]=a[47138]|0;a[n+1>>0]=a[47139]|0;a[n+2>>0]=a[47140]|0;a[n+3>>0]=a[47141]|0;a[n+4>>0]=a[47142]|0;a[n+5>>0]=a[47143]|0;p=e+4|0;vF(n+1|0,47144,0,c[p>>2]|0);p=(c[p>>2]|0)>>>9&1;q=p|12;h=Qa()|0;o=yb;yb=yb+((1*q|0)+15&-16)|0;i=ZD()|0;c[j>>2]=g;g=o+(qF(o,q,i,n,j)|0)|0;n=rF(o,g,e)|0;i=yb;yb=yb+((1*(p<<1|21)|0)+15&-16)|0;HC(j,e);wF(o,n,g,i,m,l,j);XD(j);c[k>>2]=c[d>>2];d=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=nf(j,i,d,g,e,f)|0;Pa(h|0);yb=b;return g|0}function mF(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=yb;yb=yb+32|0;j=a+8|0;i=a;m=a+24|0;l=a+16|0;k=a+20|0;o=i;c[o>>2]=37;c[o+4>>2]=0;o=d+4|0;vF(i+1|0,47135,0,c[o>>2]|0);o=(c[o>>2]|0)>>>9&1|22;q=o+1|0;h=Qa()|0;n=yb;yb=yb+((1*q|0)+15&-16)|0;p=ZD()|0;r=j;c[r>>2]=f;c[r+4>>2]=g;f=n+(qF(n,q,p,i,j)|0)|0;g=rF(n,f,d)|0;i=yb;yb=yb+((1*((o<<1)+-1|0)|0)+15&-16)|0;HC(j,d);wF(n,g,f,i,m,l,j);XD(j);c[k>>2]=c[b>>2];f=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=nf(j,i,f,g,d,e)|0;Pa(h|0);yb=a;return g|0}function nF(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var 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,u=0,v=0,w=0,x=0,y=0,z=0;v=yb;yb=yb+176|0;r=v+168|0;m=v+144|0;l=v+128|0;i=v+120|0;h=v+104|0;k=v+96|0;o=v+64|0;n=v+164|0;p=v;u=v+160|0;s=v+156|0;t=v+152|0;j=k;c[j>>2]=37;c[j+4>>2]=0;j=sF(k+1|0,56574,c[d+4>>2]|0)|0;c[n>>2]=o;a=ZD()|0;if(j){c[h>>2]=c[d+8>>2];g[h+8>>3]=f;a=qF(o,30,a,k,h)|0}else{g[i>>3]=f;a=qF(o,30,a,k,i)|0}if((a|0)>29){a=ZD()|0;if(j){c[l>>2]=c[d+8>>2];g[l+8>>3]=f;h=tF(n,a,k,l)|0}else{g[m>>3]=f;h=tF(n,a,k,m)|0}a=c[n>>2]|0;if(!a)$L();else{q=h;y=a;z=a}}else{q=a;y=0;z=c[n>>2]|0}h=z+q|0;i=rF(z,h,d)|0;if((z|0)!=(o|0)){a=iB(q<<1)|0;if(!a)$L();else{w=a;x=a}}else{w=p;x=0}HC(r,d);uF(z,i,h,w,u,s,r);XD(r);c[t>>2]=c[b>>2];b=c[u>>2]|0;z=c[s>>2]|0;c[r>>2]=c[t>>2];z=nf(r,w,b,z,d,e)|0;jB(x);jB(y);yb=v;return z|0}function oF(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var 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,u=0,v=0,w=0,x=0,y=0,z=0;v=yb;yb=yb+176|0;r=v+168|0;m=v+144|0;l=v+128|0;i=v+120|0;h=v+104|0;k=v+96|0;o=v+64|0;n=v+164|0;p=v;u=v+160|0;s=v+156|0;t=v+152|0;j=k;c[j>>2]=37;c[j+4>>2]=0;j=sF(k+1|0,47133,c[d+4>>2]|0)|0;c[n>>2]=o;a=ZD()|0;if(j){c[h>>2]=c[d+8>>2];g[h+8>>3]=f;a=qF(o,30,a,k,h)|0}else{g[i>>3]=f;a=qF(o,30,a,k,i)|0}if((a|0)>29){a=ZD()|0;if(j){c[l>>2]=c[d+8>>2];g[l+8>>3]=f;h=tF(n,a,k,l)|0}else{g[m>>3]=f;h=tF(n,a,k,m)|0}a=c[n>>2]|0;if(!a)$L();else{q=h;y=a;z=a}}else{q=a;y=0;z=c[n>>2]|0}h=z+q|0;i=rF(z,h,d)|0;if((z|0)!=(o|0)){a=iB(q<<1)|0;if(!a)$L();else{w=a;x=a}}else{w=p;x=0}HC(r,d);uF(z,i,h,w,u,s,r);XD(r);c[t>>2]=c[b>>2];b=c[u>>2]|0;z=c[s>>2]|0;c[r>>2]=c[t>>2];z=nf(r,w,b,z,d,e)|0;jB(x);jB(y);yb=v;return z|0}function pF(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,l=0,m=0,n=0;b=yb;yb=yb+96|0;l=b+72|0;k=b+80|0;h=b+48|0;j=b;m=b+76|0;a[k>>0]=a[47127]|0;a[k+1>>0]=a[47128]|0;a[k+2>>0]=a[47129]|0;a[k+3>>0]=a[47130]|0;a[k+4>>0]=a[47131]|0;a[k+5>>0]=a[47132]|0;i=ZD()|0;c[l>>2]=g;g=qF(h,20,i,k,l)|0;k=h+g|0;i=rF(h,k,e)|0;HC(l,e);n=WD(l,56124)|0;XD(l);Ib[c[(c[n>>2]|0)+32>>2]&15](n,h,k,j)|0;g=j+g|0;c[m>>2]=c[d>>2];c[l>>2]=c[m>>2];g=nf(l,j,(i|0)==(k|0)?g:j+(i-h)|0,g,e,f)|0;yb=b;return g|0}function qF(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;g=yb;yb=yb+16|0;h=g;c[h>>2]=f;f=HA(d)|0;d=Yy(a,b,e,h)|0;if(f|0)HA(f)|0;yb=g;return d|0}function rF(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;a:do switch((c[e+4>>2]&176)<<24>>24){case 16:{e=a[b>>0]|0;switch(e<<24>>24){case 43:case 45:{b=b+1|0;break a}default:{}}if((d-b|0)>1&e<<24>>24==48){switch(a[b+1>>0]|0){case 88:case 120:break;default:{f=7;break a}}b=b+2|0}else f=7;break}case 32:{b=d;break}default:f=7}while(0);return b|0}function sF(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(d&2048){a[b>>0]=43;b=b+1|0}if(d&1024){a[b>>0]=35;b=b+1|0}g=d&260;e=d&16384;f=(g|0)==260;if(f)h=0;else{a[b>>0]=46;a[b+1>>0]=42;h=1;b=b+2|0}while(1){d=a[c>>0]|0;if(!(d<<24>>24))break;a[b>>0]=d;c=c+1|0;b=b+1|0}a:do switch(g&511){case 4:{d=e>>>9&255^102;break}case 256:{d=e>>>9&255^101;break}default:{d=e>>>9&255;if(f){d=d^97;break a}else{d=d^103;break a}}}while(0);a[b>>0]=d;return h|0}function tF(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;c[g>>2]=e;e=HA(b)|0;b=$A(a,d,g)|0;if(e|0)HA(e)|0;yb=f;return b|0}function uF(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,l=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;v=yb;yb=yb+16|0;s=v;t=WD(i,56124)|0;r=WD(i,56140)|0;Sb[c[(c[r>>2]|0)+20>>2]&63](s,r);c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{q=Gb[c[(c[t>>2]|0)+28>>2]&63](t,i)|0;j=c[h>>2]|0;c[h>>2]=j+1;a[j>>0]=q;j=b+1|0;break}default:j=b}q=e;a:do if((q-j|0)>1?(a[j>>0]|0)==48:0){i=j+1|0;switch(a[i>>0]|0){case 88:case 120:break;default:{u=4;break a}}o=Gb[c[(c[t>>2]|0)+28>>2]&63](t,48)|0;p=c[h>>2]|0;c[h>>2]=p+1;a[p>>0]=o;j=j+2|0;p=Gb[c[(c[t>>2]|0)+28>>2]&63](t,a[i>>0]|0)|0;i=c[h>>2]|0;c[h>>2]=i+1;a[i>>0]=p;i=j;while(1){if(i>>>0>=e>>>0)break a;p=a[i>>0]|0;if(!(FA(p,ZD()|0)|0))break a;i=i+1|0}}else u=4;while(0);b:do if((u|0)==4){i=j;while(1){if(i>>>0>=e>>>0)break b;p=a[i>>0]|0;if(!(CA(p,ZD()|0)|0))break b;i=i+1|0}}while(0);o=s+11|0;n=a[o>>0]|0;p=s+4|0;c:do if((n<<24>>24<0?c[p>>2]|0:n&255)|0){d:do if((j|0)!=(i|0)){k=i;l=j;while(1){k=k+-1|0;if(l>>>0>=k>>>0)break d;n=a[l>>0]|0;a[l>>0]=a[k>>0]|0;a[k>>0]=n;l=l+1|0}}while(0);n=Eb[c[(c[r>>2]|0)+16>>2]&127](r)|0;m=j;l=0;k=0;while(1){if(m>>>0>=i>>>0)break;w=a[((a[o>>0]|0)<0?c[s>>2]|0:s)+k>>0]|0;if(w<<24>>24>0&(l|0)==(w<<24>>24|0)){l=c[h>>2]|0;c[h>>2]=l+1;a[l>>0]=n;l=a[o>>0]|0;k=k+(k>>>0<((l<<24>>24<0?c[p>>2]|0:l&255)+-1|0)>>>0&1)|0;l=0}x=Gb[c[(c[t>>2]|0)+28>>2]&63](t,a[m>>0]|0)|0;w=c[h>>2]|0;c[h>>2]=w+1;a[w>>0]=x;m=m+1|0;l=l+1|0}k=f+(j-b)|0;j=c[h>>2]|0;if((k|0)==(j|0))k=t;else while(1){j=j+-1|0;if(k>>>0>=j>>>0){k=t;break c}x=a[k>>0]|0;a[k>>0]=a[j>>0]|0;a[j>>0]=x;k=k+1|0}}else{Ib[c[(c[t>>2]|0)+32>>2]&15](t,j,i,c[h>>2]|0)|0;c[h>>2]=(c[h>>2]|0)+(i-j);k=t}while(0);while(1){if(i>>>0>=e>>>0)break;j=a[i>>0]|0;if(j<<24>>24==46){u=32;break}w=Gb[c[(c[k>>2]|0)+28>>2]&63](t,j)|0;x=c[h>>2]|0;c[h>>2]=x+1;a[x>>0]=w;i=i+1|0}if((u|0)==32){w=Eb[c[(c[r>>2]|0)+12>>2]&127](r)|0;x=c[h>>2]|0;c[h>>2]=x+1;a[x>>0]=w;i=i+1|0}Ib[c[(c[t>>2]|0)+32>>2]&15](t,i,e,c[h>>2]|0)|0;x=(c[h>>2]|0)+(q-i)|0;c[h>>2]=x;c[g>>2]=(d|0)==(e|0)?x:f+(d-b)|0;nM(s);yb=v;return}function vF(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0;if(e&2048){a[b>>0]=43;b=b+1|0}if(e&512){a[b>>0]=35;b=b+1|0}f=b;while(1){b=a[c>>0]|0;if(!(b<<24>>24))break;a[f>>0]=b;c=c+1|0;f=f+1|0}switch(e&74){case 64:{b=111;break}case 8:{b=e>>>9&32^120;break}default:b=d?100:117}a[f>>0]=b;return}function wF(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=yb;yb=yb+16|0;q=r;p=WD(i,56124)|0;l=WD(i,56140)|0;Sb[c[(c[l>>2]|0)+20>>2]&63](q,l);n=q+11|0;m=a[n>>0]|0;o=q+4|0;if((m<<24>>24<0?c[o>>2]|0:m&255)|0){c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{m=Gb[c[(c[p>>2]|0)+28>>2]&63](p,i)|0;i=c[h>>2]|0;c[h>>2]=i+1;a[i>>0]=m;i=b+1|0;break}default:i=b}a:do if((e-i|0)>1?(a[i>>0]|0)==48:0){j=i+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:break a}m=Gb[c[(c[p>>2]|0)+28>>2]&63](p,48)|0;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=m;k=Gb[c[(c[p>>2]|0)+28>>2]&63](p,a[j>>0]|0)|0;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=k;i=i+2|0}while(0);b:do if((i|0)!=(e|0)){j=e;k=i;while(1){j=j+-1|0;if(k>>>0>=j>>>0)break b;m=a[k>>0]|0;a[k>>0]=a[j>>0]|0;a[j>>0]=m;k=k+1|0}}while(0);m=Eb[c[(c[l>>2]|0)+16>>2]&127](l)|0;l=i;j=0;k=0;while(1){if(l>>>0>=e>>>0)break;s=a[((a[n>>0]|0)<0?c[q>>2]|0:q)+j>>0]|0;if(s<<24>>24!=0&(k|0)==(s<<24>>24|0)){k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=m;k=a[n>>0]|0;j=j+(j>>>0<((k<<24>>24<0?c[o>>2]|0:k&255)+-1|0)>>>0&1)|0;k=0}t=Gb[c[(c[p>>2]|0)+28>>2]&63](p,a[l>>0]|0)|0;s=c[h>>2]|0;c[h>>2]=s+1;a[s>>0]=t;l=l+1|0;k=k+1|0}i=f+(i-b)|0;j=c[h>>2]|0;if((i|0)!=(j|0)){while(1){j=j+-1|0;if(i>>>0>=j>>>0)break;t=a[i>>0]|0;a[i>>0]=a[j>>0]|0;a[j>>0]=t;i=i+1|0}i=c[h>>2]|0}}else{Ib[c[(c[p>>2]|0)+32>>2]&15](p,b,e,f)|0;i=f+(e-b)|0;c[h>>2]=i}c[g>>2]=(d|0)==(e|0)?i:f+(d-b)|0;nM(q);yb=r;return}function xF(a){a=a|0;BD(a);return}function yF(a){a=a|0;BD(a);cM(a);return}function zF(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,l=0;l=yb;yb=yb+16|0;k=l+4|0;h=l;if(!(c[e+4>>2]&1)){j=c[(c[b>>2]|0)+24>>2]|0;c[h>>2]=c[d>>2];c[k>>2]=c[h>>2];b=Kb[j&31](b,k,e,f,g&1)|0}else{HC(k,e);b=WD(k,56164)|0;XD(k);e=c[b>>2]|0;if(g)Sb[c[e+24>>2]&63](k,b);else Sb[c[e+28>>2]&63](k,b);i=k+8+3|0;b=a[i>>0]|0;e=c[k>>2]|0;j=k+4|0;g=b<<24>>24<0?e:k;while(1){h=b<<24>>24<0;if((g|0)==((h?e:k)+((h?c[j>>2]|0:b&255)<<2)|0))break;b=c[g>>2]|0;e=c[d>>2]|0;if(e|0){f=e+24|0;h=c[f>>2]|0;if((h|0)==(c[e+28>>2]|0)){h=c[(c[e>>2]|0)+52>>2]|0;b=iC(b)|0;b=Gb[h&63](e,b)|0}else{c[f>>2]=h+4;c[h>>2]=b;b=iC(b)|0}if(IC(b,hC()|0)|0)c[d>>2]=0}g=g+4|0;b=a[i>>0]|0;e=c[k>>2]|0}b=c[d>>2]|0;BM(k)}yb=l;return b|0}function AF(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,l=0,m=0,n=0,o=0,p=0,q=0;b=yb;yb=yb+32|0;j=b;n=b+16|0;m=b+12|0;l=b+4|0;k=b+8|0;a[n>>0]=a[47138]|0;a[n+1>>0]=a[47139]|0;a[n+2>>0]=a[47140]|0;a[n+3>>0]=a[47141]|0;a[n+4>>0]=a[47142]|0;a[n+5>>0]=a[47143]|0;p=e+4|0;vF(n+1|0,47144,1,c[p>>2]|0);p=(c[p>>2]|0)>>>9&1;q=p+13|0;h=Qa()|0;o=yb;yb=yb+((1*q|0)+15&-16)|0;i=ZD()|0;c[j>>2]=g;g=o+(qF(o,q,i,n,j)|0)|0;n=rF(o,g,e)|0;i=yb;yb=yb+((1*((p<<1|24)+-1<<2)|0)+15&-16)|0;HC(j,e);JF(o,n,g,i,m,l,j);XD(j);c[k>>2]=c[d>>2];d=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=HF(j,i,d,g,e,f)|0;Pa(h|0);yb=b;return g|0}function BF(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=yb;yb=yb+32|0;j=a+8|0;i=a;m=a+24|0;l=a+16|0;k=a+20|0;o=i;c[o>>2]=37;c[o+4>>2]=0;o=d+4|0;vF(i+1|0,47135,1,c[o>>2]|0);o=(c[o>>2]|0)>>>9&1;q=o+23|0;h=Qa()|0;n=yb;yb=yb+((1*q|0)+15&-16)|0;p=ZD()|0;r=j;c[r>>2]=f;c[r+4>>2]=g;f=n+(qF(n,q,p,i,j)|0)|0;g=rF(n,f,d)|0;i=yb;yb=yb+((1*((o<<1|44)+-1<<2)|0)+15&-16)|0;HC(j,d);JF(n,g,f,i,m,l,j);XD(j);c[k>>2]=c[b>>2];f=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=HF(j,i,f,g,d,e)|0;Pa(h|0);yb=a;return g|0}function CF(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,l=0,m=0,n=0,o=0,p=0,q=0;b=yb;yb=yb+32|0;j=b;n=b+16|0;m=b+12|0;l=b+4|0;k=b+8|0;a[n>>0]=a[47138]|0;a[n+1>>0]=a[47139]|0;a[n+2>>0]=a[47140]|0;a[n+3>>0]=a[47141]|0;a[n+4>>0]=a[47142]|0;a[n+5>>0]=a[47143]|0;p=e+4|0;vF(n+1|0,47144,0,c[p>>2]|0);p=(c[p>>2]|0)>>>9&1;q=p|12;h=Qa()|0;o=yb;yb=yb+((1*q|0)+15&-16)|0;i=ZD()|0;c[j>>2]=g;g=o+(qF(o,q,i,n,j)|0)|0;n=rF(o,g,e)|0;i=yb;yb=yb+((1*((p<<1|21)<<2)|0)+15&-16)|0;HC(j,e);JF(o,n,g,i,m,l,j);XD(j);c[k>>2]=c[d>>2];d=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=HF(j,i,d,g,e,f)|0;Pa(h|0);yb=b;return g|0}function DF(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=yb;yb=yb+32|0;j=a+8|0;i=a;m=a+24|0;l=a+16|0;k=a+20|0;o=i;c[o>>2]=37;c[o+4>>2]=0;o=d+4|0;vF(i+1|0,47135,0,c[o>>2]|0);o=(c[o>>2]|0)>>>9&1|22;q=o+1|0;h=Qa()|0;n=yb;yb=yb+((1*q|0)+15&-16)|0;p=ZD()|0;r=j;c[r>>2]=f;c[r+4>>2]=g;f=n+(qF(n,q,p,i,j)|0)|0;g=rF(n,f,d)|0;i=yb;yb=yb+((1*((o<<1)+-1<<2)|0)+15&-16)|0;HC(j,d);JF(n,g,f,i,m,l,j);XD(j);c[k>>2]=c[b>>2];f=c[m>>2]|0;g=c[l>>2]|0;c[j>>2]=c[k>>2];g=HF(j,i,f,g,d,e)|0;Pa(h|0);yb=a;return g|0}function EF(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var 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,u=0,v=0,w=0,x=0,y=0,z=0,A=0;x=yb;yb=yb+352|0;r=x+344|0;m=x+320|0;l=x+304|0;i=x+296|0;h=x+280|0;k=x+272|0;o=x+240|0;n=x+340|0;p=x;u=x+336|0;s=x+332|0;t=x+328|0;j=k;c[j>>2]=37;c[j+4>>2]=0;j=sF(k+1|0,56574,c[d+4>>2]|0)|0;c[n>>2]=o;a=ZD()|0;if(j){c[h>>2]=c[d+8>>2];g[h+8>>3]=f;a=qF(o,30,a,k,h)|0}else{g[i>>3]=f;a=qF(o,30,a,k,i)|0}if((a|0)>29){a=ZD()|0;if(j){c[l>>2]=c[d+8>>2];g[l+8>>3]=f;h=tF(n,a,k,l)|0}else{g[m>>3]=f;h=tF(n,a,k,m)|0}a=c[n>>2]|0;if(!a)$L();else{q=h;z=a;w=a}}else{q=a;z=0;w=c[n>>2]|0}h=w+q|0;i=rF(w,h,d)|0;do if((w|0)!=(o|0)){a=iB(q<<3)|0;if(!a)$L();else{v=a;y=0;A=a;break}}else{v=p;y=1;A=0}while(0);HC(r,d);IF(w,i,h,v,u,s,r);XD(r);c[t>>2]=c[b>>2];w=c[u>>2]|0;a=c[s>>2]|0;c[r>>2]=c[t>>2];a=HF(r,v,w,a,d,e)|0;c[b>>2]=a;if(!y)jB(A);jB(z);yb=x;return a|0}function FF(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var 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,u=0,v=0,w=0,x=0,y=0,z=0,A=0;x=yb;yb=yb+352|0;r=x+344|0;m=x+320|0;l=x+304|0;i=x+296|0;h=x+280|0;k=x+272|0;o=x+240|0;n=x+340|0;p=x;u=x+336|0;s=x+332|0;t=x+328|0;j=k;c[j>>2]=37;c[j+4>>2]=0;j=sF(k+1|0,47133,c[d+4>>2]|0)|0;c[n>>2]=o;a=ZD()|0;if(j){c[h>>2]=c[d+8>>2];g[h+8>>3]=f;a=qF(o,30,a,k,h)|0}else{g[i>>3]=f;a=qF(o,30,a,k,i)|0}if((a|0)>29){a=ZD()|0;if(j){c[l>>2]=c[d+8>>2];g[l+8>>3]=f;h=tF(n,a,k,l)|0}else{g[m>>3]=f;h=tF(n,a,k,m)|0}a=c[n>>2]|0;if(!a)$L();else{q=h;z=a;w=a}}else{q=a;z=0;w=c[n>>2]|0}h=w+q|0;i=rF(w,h,d)|0;do if((w|0)!=(o|0)){a=iB(q<<3)|0;if(!a)$L();else{v=a;y=0;A=a;break}}else{v=p;y=1;A=0}while(0);HC(r,d);IF(w,i,h,v,u,s,r);XD(r);c[t>>2]=c[b>>2];w=c[u>>2]|0;a=c[s>>2]|0;c[r>>2]=c[t>>2];a=HF(r,v,w,a,d,e)|0;c[b>>2]=a;if(!y)jB(A);jB(z);yb=x;return a|0}function GF(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,l=0,m=0,n=0;b=yb;yb=yb+208|0;l=b+184|0;k=b+192|0;h=b+160|0;j=b;m=b+188|0;a[k>>0]=a[47127]|0;a[k+1>>0]=a[47128]|0;a[k+2>>0]=a[47129]|0;a[k+3>>0]=a[47130]|0;a[k+4>>0]=a[47131]|0;a[k+5>>0]=a[47132]|0;i=ZD()|0;c[l>>2]=g;g=qF(h,20,i,k,l)|0;k=h+g|0;i=rF(h,k,e)|0;HC(l,e);n=WD(l,56156)|0;XD(l);Ib[c[(c[n>>2]|0)+48>>2]&15](n,h,k,j)|0;g=j+(g<<2)|0;c[m>>2]=c[d>>2];c[l>>2]=c[m>>2];g=HF(l,j,(i|0)==(k|0)?g:j+(i-h<<2)|0,g,e,f)|0;yb=b;return g|0}function HF(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,l=0,m=0,n=0,o=0;n=yb;yb=yb+16|0;m=n;i=c[b>>2]|0;a:do if(!i)i=0;else{o=d;j=f-o>>2;l=g+12|0;g=c[l>>2]|0;g=(g|0)>(j|0)?g-j|0:0;j=e;o=j-o|0;k=o>>2;if((o|0)>0?(Hb[c[(c[i>>2]|0)+48>>2]&63](i,d,k)|0)!=(k|0):0){c[b>>2]=0;i=0;break}do if((g|0)>0){c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;zM(m,g,h);if((Hb[c[(c[i>>2]|0)+48>>2]&63](i,(a[m+8+3>>0]|0)<0?c[m>>2]|0:m,g)|0)==(g|0)){BM(m);break}else{c[b>>2]=0;BM(m);i=0;break a}}while(0);o=f-j|0;f=o>>2;if((o|0)>0?(Hb[c[(c[i>>2]|0)+48>>2]&63](i,e,f)|0)!=(f|0):0){c[b>>2]=0;i=0;break}c[l>>2]=0}while(0);yb=n;return i|0}function IF(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,l=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;v=yb;yb=yb+16|0;s=v;t=WD(i,56156)|0;q=WD(i,56164)|0;Sb[c[(c[q>>2]|0)+20>>2]&63](s,q);c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{r=Gb[c[(c[t>>2]|0)+44>>2]&63](t,i)|0;i=c[h>>2]|0;c[h>>2]=i+4;c[i>>2]=r;i=b+1|0;break}default:i=b}r=e;a:do if((r-i|0)>1?(a[i>>0]|0)==48:0){j=i+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:{u=4;break a}}o=Gb[c[(c[t>>2]|0)+44>>2]&63](t,48)|0;p=c[h>>2]|0;c[h>>2]=p+4;c[p>>2]=o;i=i+2|0;p=Gb[c[(c[t>>2]|0)+44>>2]&63](t,a[j>>0]|0)|0;j=c[h>>2]|0;c[h>>2]=j+4;c[j>>2]=p;j=i;while(1){if(j>>>0>=e>>>0)break a;p=a[j>>0]|0;if(!(FA(p,ZD()|0)|0))break a;j=j+1|0}}else u=4;while(0);b:do if((u|0)==4){j=i;while(1){if(j>>>0>=e>>>0)break b;p=a[j>>0]|0;if(!(CA(p,ZD()|0)|0))break b;j=j+1|0}}while(0);o=s+11|0;n=a[o>>0]|0;p=s+4|0;c:do if((n<<24>>24<0?c[p>>2]|0:n&255)|0){d:do if((i|0)!=(j|0)){k=j;l=i;while(1){k=k+-1|0;if(l>>>0>=k>>>0)break d;n=a[l>>0]|0;a[l>>0]=a[k>>0]|0;a[k>>0]=n;l=l+1|0}}while(0);n=Eb[c[(c[q>>2]|0)+16>>2]&127](q)|0;m=i;k=0;l=0;while(1){if(m>>>0>=j>>>0)break;w=a[((a[o>>0]|0)<0?c[s>>2]|0:s)+k>>0]|0;if(w<<24>>24>0&(l|0)==(w<<24>>24|0)){l=c[h>>2]|0;c[h>>2]=l+4;c[l>>2]=n;l=a[o>>0]|0;k=k+(k>>>0<((l<<24>>24<0?c[p>>2]|0:l&255)+-1|0)>>>0&1)|0;l=0}x=Gb[c[(c[t>>2]|0)+44>>2]&63](t,a[m>>0]|0)|0;w=c[h>>2]|0;c[h>>2]=w+4;c[w>>2]=x;m=m+1|0;l=l+1|0}i=f+(i-b<<2)|0;l=c[h>>2]|0;if((i|0)==(l|0))k=t;else{k=l;while(1){k=k+-4|0;if(i>>>0>=k>>>0){k=t;i=l;break c}x=c[i>>2]|0;c[i>>2]=c[k>>2];c[k>>2]=x;i=i+4|0}}}else{Ib[c[(c[t>>2]|0)+48>>2]&15](t,i,j,c[h>>2]|0)|0;i=(c[h>>2]|0)+(j-i<<2)|0;c[h>>2]=i;k=t}while(0);while(1){if(j>>>0>=e>>>0)break;i=a[j>>0]|0;if(i<<24>>24==46){u=32;break}w=Gb[c[(c[k>>2]|0)+44>>2]&63](t,i)|0;x=c[h>>2]|0;i=x+4|0;c[h>>2]=i;c[x>>2]=w;j=j+1|0}if((u|0)==32){w=Eb[c[(c[q>>2]|0)+12>>2]&127](q)|0;x=c[h>>2]|0;i=x+4|0;c[h>>2]=i;c[x>>2]=w;j=j+1|0}Ib[c[(c[t>>2]|0)+48>>2]&15](t,j,e,i)|0;x=(c[h>>2]|0)+(r-j<<2)|0;c[h>>2]=x;c[g>>2]=(d|0)==(e|0)?x:f+(d-b<<2)|0;nM(s);yb=v;return}function JF(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=yb;yb=yb+16|0;q=r;p=WD(i,56156)|0;l=WD(i,56164)|0;Sb[c[(c[l>>2]|0)+20>>2]&63](q,l);n=q+11|0;m=a[n>>0]|0;o=q+4|0;if((m<<24>>24<0?c[o>>2]|0:m&255)|0){c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{m=Gb[c[(c[p>>2]|0)+44>>2]&63](p,i)|0;i=c[h>>2]|0;c[h>>2]=i+4;c[i>>2]=m;i=b+1|0;break}default:i=b}a:do if((e-i|0)>1?(a[i>>0]|0)==48:0){j=i+1|0;switch(a[j>>0]|0){case 88:case 120:break;default:break a}m=Gb[c[(c[p>>2]|0)+44>>2]&63](p,48)|0;k=c[h>>2]|0;c[h>>2]=k+4;c[k>>2]=m;k=Gb[c[(c[p>>2]|0)+44>>2]&63](p,a[j>>0]|0)|0;m=c[h>>2]|0;c[h>>2]=m+4;c[m>>2]=k;i=i+2|0}while(0);b:do if((i|0)!=(e|0)){j=e;k=i;while(1){j=j+-1|0;if(k>>>0>=j>>>0)break b;m=a[k>>0]|0;a[k>>0]=a[j>>0]|0;a[j>>0]=m;k=k+1|0}}while(0);m=Eb[c[(c[l>>2]|0)+16>>2]&127](l)|0;l=i;j=0;k=0;while(1){if(l>>>0>=e>>>0)break;s=a[((a[n>>0]|0)<0?c[q>>2]|0:q)+j>>0]|0;if(s<<24>>24!=0&(k|0)==(s<<24>>24|0)){k=c[h>>2]|0;c[h>>2]=k+4;c[k>>2]=m;k=a[n>>0]|0;j=j+(j>>>0<((k<<24>>24<0?c[o>>2]|0:k&255)+-1|0)>>>0&1)|0;k=0}t=Gb[c[(c[p>>2]|0)+44>>2]&63](p,a[l>>0]|0)|0;s=c[h>>2]|0;c[h>>2]=s+4;c[s>>2]=t;l=l+1|0;k=k+1|0}i=f+(i-b<<2)|0;j=c[h>>2]|0;if((i|0)!=(j|0)){while(1){j=j+-4|0;if(i>>>0>=j>>>0)break;t=c[i>>2]|0;c[i>>2]=c[j>>2];c[j>>2]=t;i=i+4|0}i=c[h>>2]|0}}else{Ib[c[(c[p>>2]|0)+48>>2]&15](p,b,e,f)|0;i=f+(e-b<<2)|0;c[h>>2]=i}c[g>>2]=(d|0)==(e|0)?i:f+(d-b<<2)|0;nM(q);yb=r;return}function KF(a){a=a|0;BD(a);return}function LF(a){a=a|0;BD(a);cM(a);return}function MF(a){a=a|0;return 2}function NF(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=dG(a,j,i,e,f,g,47663,47671)|0;yb=h;return g|0}function OF(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,l=0,m=0,n=0,o=0;i=yb;yb=yb+16|0;j=i+12|0;k=i+8|0;m=i+4|0;l=i;n=b+8|0;n=Eb[c[(c[n>>2]|0)+20>>2]&127](n)|0;c[m>>2]=c[d>>2];c[l>>2]=c[e>>2];e=a[n+11>>0]|0;o=e<<24>>24<0;d=o?c[n>>2]|0:n;e=d+(o?c[n+4>>2]|0:e&255)|0;c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];h=dG(b,k,j,f,g,h,d,e)|0;yb=i;return h|0}function PF(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;h=yb;yb=yb+16|0;i=h+4|0;j=h;HC(i,e);e=WD(i,56124)|0;XD(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];bG(a,g+24|0,b,i,f,e);yb=h;return c[b>>2]|0}function QF(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;h=yb;yb=yb+16|0;i=h+4|0;j=h;HC(i,e);e=WD(i,56124)|0;XD(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];cG(a,g+16|0,b,i,f,e);yb=h;return c[b>>2]|0}function RF(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;h=yb;yb=yb+16|0;i=h+4|0;j=h;HC(i,e);e=WD(i,56124)|0;XD(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];oG(a,g+20|0,b,i,f,e);yb=h;return c[b>>2]|0}function SF(b,d,e,f,g,h,i,j){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,l=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,N=0,O=0,P=0,Q=0,R=0,S=0;R=yb;yb=yb+144|0;k=R+128|0;j=R+112|0;P=R+124|0;Q=R+120|0;l=R+116|0;m=R+108|0;n=R+104|0;o=R+100|0;p=R+96|0;q=R+92|0;r=R+88|0;s=R+84|0;t=R+80|0;u=R+76|0;v=R+72|0;w=R+68|0;x=R+64|0;y=R+60|0;z=R+56|0;A=R+52|0;B=R+48|0;C=R+44|0;D=R+40|0;E=R+36|0;F=R+32|0;G=R+28|0;H=R+24|0;I=R+20|0;J=R+16|0;K=R+12|0;L=R+8|0;M=R+4|0;N=R;c[g>>2]=0;HC(k,f);O=WD(k,56124)|0;XD(k);do switch(i<<24>>24|0){case 65:case 97:{c[P>>2]=c[e>>2];c[k>>2]=c[P>>2];bG(b,h+24|0,d,k,g,O);S=26;break}case 104:case 66:case 98:{c[Q>>2]=c[e>>2];c[k>>2]=c[Q>>2];cG(b,h+16|0,d,k,g,O);S=26;break}case 99:{Q=b+8|0;Q=Eb[c[(c[Q>>2]|0)+12>>2]&127](Q)|0;c[l>>2]=c[d>>2];c[m>>2]=c[e>>2];S=a[Q+11>>0]|0;e=S<<24>>24<0;i=e?c[Q>>2]|0:Q;S=i+(e?c[Q+4>>2]|0:S&255)|0;c[j>>2]=c[l>>2];c[k>>2]=c[m>>2];c[d>>2]=dG(b,j,k,f,g,h,i,S)|0;S=26;break}case 101:case 100:{c[n>>2]=c[e>>2];c[k>>2]=c[n>>2];eG(b,h+12|0,d,k,g,O);S=26;break}case 68:{c[o>>2]=c[d>>2];c[p>>2]=c[e>>2];c[j>>2]=c[o>>2];c[k>>2]=c[p>>2];c[d>>2]=dG(b,j,k,f,g,h,47623,47631)|0;S=26;break}case 70:{c[q>>2]=c[d>>2];c[r>>2]=c[e>>2];c[j>>2]=c[q>>2];c[k>>2]=c[r>>2];c[d>>2]=dG(b,j,k,f,g,h,47631,47639)|0;S=26;break}case 72:{c[s>>2]=c[e>>2];c[k>>2]=c[s>>2];fG(b,h+8|0,d,k,g,O);S=26;break}case 73:{c[t>>2]=c[e>>2];c[k>>2]=c[t>>2];gG(b,h+8|0,d,k,g,O);S=26;break}case 106:{c[u>>2]=c[e>>2];c[k>>2]=c[u>>2];hG(b,h+28|0,d,k,g,O);S=26;break}case 109:{c[v>>2]=c[e>>2];c[k>>2]=c[v>>2];iG(b,h+16|0,d,k,g,O);S=26;break}case 77:{c[w>>2]=c[e>>2];c[k>>2]=c[w>>2];jG(b,h+4|0,d,k,g,O);S=26;break}case 116:case 110:{c[x>>2]=c[e>>2];c[k>>2]=c[x>>2];kG(b,d,k,g,O);S=26;break}case 112:{c[y>>2]=c[e>>2];c[k>>2]=c[y>>2];lG(b,h+8|0,d,k,g,O);S=26;break}case 114:{c[z>>2]=c[d>>2];c[A>>2]=c[e>>2];c[j>>2]=c[z>>2];c[k>>2]=c[A>>2];c[d>>2]=dG(b,j,k,f,g,h,47639,47650)|0;S=26;break}case 82:{c[B>>2]=c[d>>2];c[C>>2]=c[e>>2];c[j>>2]=c[B>>2];c[k>>2]=c[C>>2];c[d>>2]=dG(b,j,k,f,g,h,47650,47655)|0;S=26;break}case 83:{c[D>>2]=c[e>>2];c[k>>2]=c[D>>2];mG(b,h,d,k,g,O);S=26;break}case 84:{c[E>>2]=c[d>>2];c[F>>2]=c[e>>2];c[j>>2]=c[E>>2];c[k>>2]=c[F>>2];c[d>>2]=dG(b,j,k,f,g,h,47655,47663)|0;S=26;break}case 119:{c[G>>2]=c[e>>2];c[k>>2]=c[G>>2];nG(b,h+24|0,d,k,g,O);S=26;break}case 120:{i=c[(c[b>>2]|0)+20>>2]|0;c[H>>2]=c[d>>2];c[I>>2]=c[e>>2];c[j>>2]=c[H>>2];c[k>>2]=c[I>>2];j=Mb[i&63](b,j,k,f,g,h)|0;break}case 88:{Q=b+8|0;Q=Eb[c[(c[Q>>2]|0)+24>>2]&127](Q)|0;c[J>>2]=c[d>>2];c[K>>2]=c[e>>2];S=a[Q+11>>0]|0;e=S<<24>>24<0;i=e?c[Q>>2]|0:Q;S=i+(e?c[Q+4>>2]|0:S&255)|0;c[j>>2]=c[J>>2];c[k>>2]=c[K>>2];c[d>>2]=dG(b,j,k,f,g,h,i,S)|0;S=26;break}case 121:{c[L>>2]=c[e>>2];c[k>>2]=c[L>>2];oG(b,h+20|0,d,k,g,O);S=26;break}case 89:{c[M>>2]=c[e>>2];c[k>>2]=c[M>>2];pG(b,h+20|0,d,k,g,O);S=26;break}case 37:{c[N>>2]=c[e>>2];c[k>>2]=c[N>>2];qG(b,d,k,g,O);S=26;break}default:{c[g>>2]=c[g>>2]|4;S=26}}while(0);if((S|0)==26)j=c[d>>2]|0;yb=R;return j|0}function TF(b){b=b|0;if((a[53776]|0)==0?CN(53776)|0:0){aG();c[14063]=52512}return c[14063]|0}function UF(b){b=b|0;if((a[53760]|0)==0?CN(53760)|0:0){$F();c[14062]=52224}return c[14062]|0}function VF(b){b=b|0;if((a[53744]|0)==0?CN(53744)|0:0){_F();c[14061]=51936}return c[14061]|0}function WF(b){b=b|0;if((a[53736]|0)==0?CN(53736)|0:0){c[14058]=0;c[14059]=0;c[14060]=0;kM(56232,47381,kf(47381)|0)}return 56232}function XF(b){b=b|0;if((a[53728]|0)==0?CN(53728)|0:0){c[14055]=0;c[14056]=0;c[14057]=0;kM(56220,47369,kf(47369)|0)}return 56220}function YF(b){b=b|0;if((a[53720]|0)==0?CN(53720)|0:0){c[14052]=0;c[14053]=0;c[14054]=0;kM(56208,47360,kf(47360)|0)}return 56208}function ZF(b){b=b|0;if((a[53712]|0)==0?CN(53712)|0:0){c[14049]=0;c[14050]=0;c[14051]=0;kM(56196,47351,kf(47351)|0)}return 56196}function _F(){var b=0,d=0;if((a[53752]|0)==0?CN(53752)|0:0){d=51936;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=52224)}sM(51936,47402)|0;sM(51948,47405)|0;return}function $F(){var b=0,d=0;if((a[53768]|0)==0?CN(53768)|0:0){d=52224;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=52512)}sM(52224,47408)|0;sM(52236,47416)|0;sM(52248,47425)|0;sM(52260,47431)|0;sM(52272,47437)|0;sM(52284,47441)|0;sM(52296,47446)|0;sM(52308,47451)|0;sM(52320,47458)|0;sM(52332,47468)|0;sM(52344,47476)|0;sM(52356,47485)|0;sM(52368,47494)|0;sM(52380,47498)|0;sM(52392,47502)|0;sM(52404,47506)|0;sM(52416,47437)|0;sM(52428,47510)|0;sM(52440,47514)|0;sM(52452,47518)|0;sM(52464,47522)|0;sM(52476,47526)|0;sM(52488,47530)|0;sM(52500,47534)|0;return}function aG(){var b=0,d=0;if((a[53784]|0)==0?CN(53784)|0:0){d=52512;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=52680)}sM(52512,47538)|0;sM(52524,47545)|0;sM(52536,47552)|0;sM(52548,47560)|0;sM(52560,47570)|0;sM(52572,47579)|0;sM(52584,47586)|0;sM(52596,47595)|0;sM(52608,47599)|0;sM(52620,47603)|0;sM(52632,47607)|0;sM(52644,47611)|0;sM(52656,47615)|0;sM(52668,47619)|0;return}function bG(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;h=yb;yb=yb+16|0;i=h+4|0;j=h;a=a+8|0;a=Eb[c[c[a>>2]>>2]&127](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];a=(EE(d,i,a,a+168|0,g,f,0)|0)-a|0;if((a|0)<168)c[b>>2]=((a|0)/12|0|0)%7|0;yb=h;return}function cG(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;h=yb;yb=yb+16|0;i=h+4|0;j=h;a=a+8|0;a=Eb[c[(c[a>>2]|0)+4>>2]&127](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];a=(EE(d,i,a,a+288|0,g,f,0)|0)-a|0;if((a|0)<288)c[b>>2]=((a|0)/12|0|0)%12|0;yb=h;return}function dG(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 l=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;z=yb;yb=yb+16|0;s=z+12|0;r=z+8|0;w=z+4|0;x=z;HC(s,g);t=WD(s,56124)|0;XD(s);c[h>>2]=0;u=t+8|0;m=0;a:while(1){l=c[e>>2]|0;if(!((j|0)!=(k|0)&(m|0)==0))break;n=l;if(l){m=c[l+12>>2]|0;if((m|0)==(c[l+16>>2]|0))m=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else m=rf(a[m>>0]|0)|0;if(mf(m,hf()|0)|0){c[e>>2]=0;l=0;o=1;q=0}else{o=0;q=n}}else{l=0;o=1;q=n}p=c[f>>2]|0;m=p;do if(p){n=c[p+12>>2]|0;if((n|0)==(c[p+16>>2]|0))n=Eb[c[(c[p>>2]|0)+36>>2]&127](p)|0;else n=rf(a[n>>0]|0)|0;if(!(mf(n,hf()|0)|0))if(o)break;else{y=63;break a}else{c[f>>2]=0;m=0;y=15;break}}else y=15;while(0);if((y|0)==15){y=0;if(o){y=63;break}else p=0}b:do if((Hb[c[(c[t>>2]|0)+36>>2]&63](t,a[j>>0]|0,0)|0)<<24>>24==37){p=j+1|0;if((p|0)==(k|0)){y=63;break a}n=Hb[c[(c[t>>2]|0)+36>>2]&63](t,a[p>>0]|0,0)|0;switch(n<<24>>24){case 48:case 69:{j=j+2|0;if((j|0)==(k|0)){y=63;break a}o=n;l=Hb[c[(c[t>>2]|0)+36>>2]&63](t,a[j>>0]|0,0)|0;j=p;break}default:{o=0;l=n}}p=c[(c[d>>2]|0)+36>>2]|0;c[w>>2]=q;c[x>>2]=m;c[r>>2]=c[w>>2];c[s>>2]=c[x>>2];c[e>>2]=Ob[p&15](d,r,s,g,h,i,l,o)|0;j=j+2|0}else{m=a[j>>0]|0;if(m<<24>>24>-1?(v=c[u>>2]|0,b[v+(m<<24>>24<<1)>>1]&8192):0){do{j=j+1|0;if((j|0)==(k|0)){j=k;break}m=a[j>>0]|0;if(m<<24>>24<=-1)break}while((b[v+(m<<24>>24<<1)>>1]&8192)!=0);while(1){if(l){m=c[l+12>>2]|0;if((m|0)==(c[l+16>>2]|0))m=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else m=rf(a[m>>0]|0)|0;if(mf(m,hf()|0)|0){c[e>>2]=0;l=0;n=1}else n=0}else{l=0;n=1}do if(p){m=c[p+12>>2]|0;if((m|0)==(c[p+16>>2]|0))m=Eb[c[(c[p>>2]|0)+36>>2]&127](p)|0;else m=rf(a[m>>0]|0)|0;if(!(mf(m,hf()|0)|0))if(n)break;else break b;else{c[f>>2]=0;y=42;break}}else y=42;while(0);if((y|0)==42){y=0;if(n)break b;else p=0}n=l+12|0;m=c[n>>2]|0;o=l+16|0;if((m|0)==(c[o>>2]|0))m=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else m=rf(a[m>>0]|0)|0;if((m&255)<<24>>24<=-1)break b;if(!(b[(c[u>>2]|0)+(m<<24>>24<<1)>>1]&8192))break b;m=c[n>>2]|0;if((m|0)==(c[o>>2]|0))Eb[c[(c[l>>2]|0)+40>>2]&127](l)|0;else{c[n>>2]=m+1;rf(a[m>>0]|0)|0}}}n=l+12|0;m=c[n>>2]|0;o=l+16|0;if((m|0)==(c[o>>2]|0))m=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else m=rf(a[m>>0]|0)|0;q=Gb[c[(c[t>>2]|0)+12>>2]&63](t,m&255)|0;if(q<<24>>24!=(Gb[c[(c[t>>2]|0)+12>>2]&63](t,a[j>>0]|0)|0)<<24>>24){c[h>>2]=4;break}m=c[n>>2]|0;if((m|0)==(c[o>>2]|0))Eb[c[(c[l>>2]|0)+40>>2]&127](l)|0;else{c[n>>2]=m+1;rf(a[m>>0]|0)|0}j=j+1|0}while(0);m=c[h>>2]|0}if((y|0)==63)c[h>>2]=4;if(l){j=c[l+12>>2]|0;if((j|0)==(c[l+16>>2]|0))j=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else j=rf(a[j>>0]|0)|0;if(mf(j,hf()|0)|0){c[e>>2]=0;l=0;n=1}else n=0}else{l=0;n=1}j=c[f>>2]|0;do if(j){m=c[j+12>>2]|0;if((m|0)==(c[j+16>>2]|0))j=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else j=rf(a[m>>0]|0)|0;if(!(mf(j,hf()|0)|0))if(n)break;else{y=78;break}else{c[f>>2]=0;y=76;break}}else y=76;while(0);if((y|0)==76?n:0)y=78;if((y|0)==78)c[h>>2]=c[h>>2]|2;yb=z;return l|0}function eG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=rG(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<31&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function fG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=rG(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<24&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function gG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=rG(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<12&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function hG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=rG(d,a,f,g,3)|0;d=c[f>>2]|0;if((a|0)<366&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function iG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=rG(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<13&(d&4|0)==0)c[b>>2]=a+-1;else c[f>>2]=d|4;yb=h;return}function jG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=rG(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<60&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function kG(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;j=h+8|0;a:while(1){d=c[e>>2]|0;do if(d){h=c[d+12>>2]|0;if((h|0)==(c[d+16>>2]|0))d=Eb[c[(c[d>>2]|0)+36>>2]&127](d)|0;else d=rf(a[h>>0]|0)|0;if(mf(d,hf()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);i=c[f>>2]|0;do if(i){d=c[i+12>>2]|0;if((d|0)==(c[i+16>>2]|0))d=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else d=rf(a[d>>0]|0)|0;if(!(mf(d,hf()|0)|0))if(h)break;else break a;else{c[f>>2]=0;k=15;break}}else k=15;while(0);if((k|0)==15){k=0;if(h){i=0;break}else i=0}d=c[e>>2]|0;h=c[d+12>>2]|0;if((h|0)==(c[d+16>>2]|0))d=Eb[c[(c[d>>2]|0)+36>>2]&127](d)|0;else d=rf(a[h>>0]|0)|0;if((d&255)<<24>>24<=-1)break;if(!(b[(c[j>>2]|0)+(d<<24>>24<<1)>>1]&8192))break;d=c[e>>2]|0;h=d+12|0;i=c[h>>2]|0;if((i|0)==(c[d+16>>2]|0))Eb[c[(c[d>>2]|0)+40>>2]&127](d)|0;else{c[h>>2]=i+1;rf(a[i>>0]|0)|0}}d=c[e>>2]|0;do if(d){h=c[d+12>>2]|0;if((h|0)==(c[d+16>>2]|0))d=Eb[c[(c[d>>2]|0)+36>>2]&127](d)|0;else d=rf(a[h>>0]|0)|0;if(mf(d,hf()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);do if(i){d=c[i+12>>2]|0;if((d|0)==(c[i+16>>2]|0))d=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else d=rf(a[d>>0]|0)|0;if(!(mf(d,hf()|0)|0))if(h)break;else{k=41;break}else{c[f>>2]=0;k=39;break}}else k=39;while(0);if((k|0)==39?h:0)k=41;if((k|0)==41)c[g>>2]=c[g>>2]|2;return}function lG(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,l=0,m=0;m=yb;yb=yb+16|0;k=m+4|0;l=m;j=b+8|0;j=Eb[c[(c[j>>2]|0)+8>>2]&127](j)|0;b=a[j+11>>0]|0;if(b<<24>>24<0)i=c[j+4>>2]|0;else i=b&255;b=a[j+12+11>>0]|0;if(b<<24>>24<0)b=c[j+16>>2]|0;else b=b&255;do if((i|0)!=(0-b|0)){c[l>>2]=c[f>>2];c[k>>2]=c[l>>2];b=(EE(e,k,j,j+24|0,h,g,0)|0)-j|0;i=c[d>>2]|0;if((i|0)==12&(b|0)==0){c[d>>2]=0;break}if((i|0)<12&(b|0)==12)c[d>>2]=i+12}else c[g>>2]=c[g>>2]|4;while(0);yb=m;return}function mG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=rG(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<61&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function nG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=rG(d,a,f,g,1)|0;d=c[f>>2]|0;if((a|0)<7&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function oG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=rG(d,a,f,g,4)|0;if(!(c[f>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a|0)<100?a+1900|0:a;c[b>>2]=a+-1900}yb=h;return}function pG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=rG(d,a,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=a+-1900;yb=h;return}function qG(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;b=c[d>>2]|0;do if(b){h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=rf(a[h>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;i=1;break}else{i=(c[d>>2]|0)==0;break}}else i=1;while(0);h=c[e>>2]|0;do if(h){b=c[h+12>>2]|0;if((b|0)==(c[h+16>>2]|0))b=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else b=rf(a[b>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(i){j=h;k=17;break}else{k=16;break}else{c[e>>2]=0;k=14;break}}else k=14;while(0);if((k|0)==14)if(i)k=16;else{j=0;k=17}a:do if((k|0)==16)c[f>>2]=c[f>>2]|6;else if((k|0)==17){b=c[d>>2]|0;h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=rf(a[h>>0]|0)|0;if((Hb[c[(c[g>>2]|0)+36>>2]&63](g,b&255,0)|0)<<24>>24!=37){c[f>>2]=c[f>>2]|4;break}b=c[d>>2]|0;h=b+12|0;i=c[h>>2]|0;if((i|0)==(c[b+16>>2]|0))Eb[c[(c[b>>2]|0)+40>>2]&127](b)|0;else{c[h>>2]=i+1;rf(a[i>>0]|0)|0}b=c[d>>2]|0;do if(b){h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=rf(a[h>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;h=1;break}else{h=(c[d>>2]|0)==0;break}}else h=1;while(0);do if(j){b=c[j+12>>2]|0;if((b|0)==(c[j+16>>2]|0))b=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else b=rf(a[b>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(h)break a;else break;else{c[e>>2]=0;k=38;break}}else k=38;while(0);if((k|0)==38?!h:0)break;c[f>>2]=c[f>>2]|2}while(0);return}function rG(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,l=0,m=0,n=0,o=0,p=0,q=0;i=c[d>>2]|0;do if(i){j=c[i+12>>2]|0;if((j|0)==(c[i+16>>2]|0))i=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else i=rf(a[j>>0]|0)|0;if(mf(i,hf()|0)|0){c[d>>2]=0;k=1;break}else{k=(c[d>>2]|0)==0;break}}else k=1;while(0);j=c[e>>2]|0;do if(j){i=c[j+12>>2]|0;if((i|0)==(c[j+16>>2]|0))i=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else i=rf(a[i>>0]|0)|0;if(!(mf(i,hf()|0)|0))if(k){q=17;break}else{q=16;break}else{c[e>>2]=0;q=14;break}}else q=14;while(0);if((q|0)==14)if(k)q=16;else{j=0;q=17}a:do if((q|0)==16){c[f>>2]=c[f>>2]|6;i=0}else if((q|0)==17){i=c[d>>2]|0;k=c[i+12>>2]|0;if((k|0)==(c[i+16>>2]|0))i=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else i=rf(a[k>>0]|0)|0;k=i&255;if(k<<24>>24>-1?(p=g+8|0,b[(c[p>>2]|0)+(i<<24>>24<<1)>>1]&2048):0){i=(Hb[c[(c[g>>2]|0)+36>>2]&63](g,k,0)|0)<<24>>24;k=c[d>>2]|0;l=k+12|0;m=c[l>>2]|0;if((m|0)==(c[k+16>>2]|0))Eb[c[(c[k>>2]|0)+40>>2]&127](k)|0;else{c[l>>2]=m+1;rf(a[m>>0]|0)|0}n=j;m=j;while(1){i=i+-48|0;o=h+-1|0;j=c[d>>2]|0;do if(j){k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))j=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else j=rf(a[k>>0]|0)|0;if(mf(j,hf()|0)|0){c[d>>2]=0;l=1;break}else{l=(c[d>>2]|0)==0;break}}else l=1;while(0);if(m){j=c[m+12>>2]|0;if((j|0)==(c[m+16>>2]|0))j=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else j=rf(a[j>>0]|0)|0;if(mf(j,hf()|0)|0){c[e>>2]=0;j=1;n=0;m=0}else j=0}else{j=1;m=0}k=c[d>>2]|0;if(!((h|0)>1&(l^j)))break;j=c[k+12>>2]|0;if((j|0)==(c[k+16>>2]|0))j=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else j=rf(a[j>>0]|0)|0;k=j&255;if(k<<24>>24<=-1)break a;if(!(b[(c[p>>2]|0)+(j<<24>>24<<1)>>1]&2048))break a;i=(i*10|0)+((Hb[c[(c[g>>2]|0)+36>>2]&63](g,k,0)|0)<<24>>24)|0;j=c[d>>2]|0;k=j+12|0;l=c[k>>2]|0;if((l|0)==(c[j+16>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[k>>2]=l+1;rf(a[l>>0]|0)|0}h=o}do if(k){j=c[k+12>>2]|0;if((j|0)==(c[k+16>>2]|0))j=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else j=rf(a[j>>0]|0)|0;if(mf(j,hf()|0)|0){c[d>>2]=0;k=1;break}else{k=(c[d>>2]|0)==0;break}}else k=1;while(0);do if(n){j=c[n+12>>2]|0;if((j|0)==(c[n+16>>2]|0))j=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else j=rf(a[j>>0]|0)|0;if(!(mf(j,hf()|0)|0))if(k)break a;else break;else{c[e>>2]=0;q=63;break}}else q=63;while(0);if((q|0)==63?!k:0)break;c[f>>2]=c[f>>2]|2;break}c[f>>2]=c[f>>2]|4;i=0}while(0);return i|0}function sG(a){a=a|0;BD(a);return}function tG(a){a=a|0;BD(a);cM(a);return}function uG(a){a=a|0;return 2}function vG(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,l=0;h=yb;yb=yb+16|0;i=h+12|0;j=h+8|0;l=h+4|0;k=h;c[l>>2]=c[b>>2];c[k>>2]=c[d>>2];c[j>>2]=c[l>>2];c[i>>2]=c[k>>2];g=OG(a,j,i,e,f,g,10960,10992)|0;yb=h;return g|0}function wG(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,l=0,m=0,n=0,o=0;i=yb;yb=yb+16|0;j=i+12|0;k=i+8|0;m=i+4|0;l=i;n=b+8|0;n=Eb[c[(c[n>>2]|0)+20>>2]&127](n)|0;c[m>>2]=c[d>>2];c[l>>2]=c[e>>2];e=a[n+8+3>>0]|0;o=e<<24>>24<0;d=o?c[n>>2]|0:n;e=d+((o?c[n+4>>2]|0:e&255)<<2)|0;c[k>>2]=c[m>>2];c[j>>2]=c[l>>2];h=OG(b,k,j,f,g,h,d,e)|0;yb=i;return h|0}function xG(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;h=yb;yb=yb+16|0;i=h+4|0;j=h;HC(i,e);e=WD(i,56156)|0;XD(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];MG(a,g+24|0,b,i,f,e);yb=h;return c[b>>2]|0}function yG(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;h=yb;yb=yb+16|0;i=h+4|0;j=h;HC(i,e);e=WD(i,56156)|0;XD(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];NG(a,g+16|0,b,i,f,e);yb=h;return c[b>>2]|0}function zG(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;h=yb;yb=yb+16|0;i=h+4|0;j=h;HC(i,e);e=WD(i,56156)|0;XD(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];ZG(a,g+20|0,b,i,f,e);yb=h;return c[b>>2]|0}function AG(b,d,e,f,g,h,i,j){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,l=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,N=0,O=0,P=0,Q=0,R=0,S=0;R=yb;yb=yb+144|0;k=R+128|0;j=R+112|0;P=R+124|0;Q=R+120|0;l=R+116|0;m=R+108|0;n=R+104|0;o=R+100|0;p=R+96|0;q=R+92|0;r=R+88|0;s=R+84|0;t=R+80|0;u=R+76|0;v=R+72|0;w=R+68|0;x=R+64|0;y=R+60|0;z=R+56|0;A=R+52|0;B=R+48|0;C=R+44|0;D=R+40|0;E=R+36|0;F=R+32|0;G=R+28|0;H=R+24|0;I=R+20|0;J=R+16|0;K=R+12|0;L=R+8|0;M=R+4|0;N=R;c[g>>2]=0;HC(k,f);O=WD(k,56156)|0;XD(k);do switch(i<<24>>24|0){case 65:case 97:{c[P>>2]=c[e>>2];c[k>>2]=c[P>>2];MG(b,h+24|0,d,k,g,O);S=26;break}case 104:case 66:case 98:{c[Q>>2]=c[e>>2];c[k>>2]=c[Q>>2];NG(b,h+16|0,d,k,g,O);S=26;break}case 99:{Q=b+8|0;Q=Eb[c[(c[Q>>2]|0)+12>>2]&127](Q)|0;c[l>>2]=c[d>>2];c[m>>2]=c[e>>2];S=a[Q+8+3>>0]|0;e=S<<24>>24<0;i=e?c[Q>>2]|0:Q;S=i+((e?c[Q+4>>2]|0:S&255)<<2)|0;c[j>>2]=c[l>>2];c[k>>2]=c[m>>2];c[d>>2]=OG(b,j,k,f,g,h,i,S)|0;S=26;break}case 101:case 100:{c[n>>2]=c[e>>2];c[k>>2]=c[n>>2];PG(b,h+12|0,d,k,g,O);S=26;break}case 68:{c[o>>2]=c[d>>2];c[p>>2]=c[e>>2];c[j>>2]=c[o>>2];c[k>>2]=c[p>>2];c[d>>2]=OG(b,j,k,f,g,h,10784,10816)|0;S=26;break}case 70:{c[q>>2]=c[d>>2];c[r>>2]=c[e>>2];c[j>>2]=c[q>>2];c[k>>2]=c[r>>2];c[d>>2]=OG(b,j,k,f,g,h,10816,10848)|0;S=26;break}case 72:{c[s>>2]=c[e>>2];c[k>>2]=c[s>>2];QG(b,h+8|0,d,k,g,O);S=26;break}case 73:{c[t>>2]=c[e>>2];c[k>>2]=c[t>>2];RG(b,h+8|0,d,k,g,O);S=26;break}case 106:{c[u>>2]=c[e>>2];c[k>>2]=c[u>>2];SG(b,h+28|0,d,k,g,O);S=26;break}case 109:{c[v>>2]=c[e>>2];c[k>>2]=c[v>>2];TG(b,h+16|0,d,k,g,O);S=26;break}case 77:{c[w>>2]=c[e>>2];c[k>>2]=c[w>>2];UG(b,h+4|0,d,k,g,O);S=26;break}case 116:case 110:{c[x>>2]=c[e>>2];c[k>>2]=c[x>>2];VG(b,d,k,g,O);S=26;break}case 112:{c[y>>2]=c[e>>2];c[k>>2]=c[y>>2];WG(b,h+8|0,d,k,g,O);S=26;break}case 114:{c[z>>2]=c[d>>2];c[A>>2]=c[e>>2];c[j>>2]=c[z>>2];c[k>>2]=c[A>>2];c[d>>2]=OG(b,j,k,f,g,h,10848,10892)|0;S=26;break}case 82:{c[B>>2]=c[d>>2];c[C>>2]=c[e>>2];c[j>>2]=c[B>>2];c[k>>2]=c[C>>2];c[d>>2]=OG(b,j,k,f,g,h,10896,10916)|0;S=26;break}case 83:{c[D>>2]=c[e>>2];c[k>>2]=c[D>>2];XG(b,h,d,k,g,O);S=26;break}case 84:{c[E>>2]=c[d>>2];c[F>>2]=c[e>>2];c[j>>2]=c[E>>2];c[k>>2]=c[F>>2];c[d>>2]=OG(b,j,k,f,g,h,10928,10960)|0;S=26;break}case 119:{c[G>>2]=c[e>>2];c[k>>2]=c[G>>2];YG(b,h+24|0,d,k,g,O);S=26;break}case 120:{i=c[(c[b>>2]|0)+20>>2]|0;c[H>>2]=c[d>>2];c[I>>2]=c[e>>2];c[j>>2]=c[H>>2];c[k>>2]=c[I>>2];j=Mb[i&63](b,j,k,f,g,h)|0;break}case 88:{Q=b+8|0;Q=Eb[c[(c[Q>>2]|0)+24>>2]&127](Q)|0;c[J>>2]=c[d>>2];c[K>>2]=c[e>>2];S=a[Q+8+3>>0]|0;e=S<<24>>24<0;i=e?c[Q>>2]|0:Q;S=i+((e?c[Q+4>>2]|0:S&255)<<2)|0;c[j>>2]=c[J>>2];c[k>>2]=c[K>>2];c[d>>2]=OG(b,j,k,f,g,h,i,S)|0;S=26;break}case 121:{c[L>>2]=c[e>>2];c[k>>2]=c[L>>2];ZG(b,h+20|0,d,k,g,O);S=26;break}case 89:{c[M>>2]=c[e>>2];c[k>>2]=c[M>>2];_G(b,h+20|0,d,k,g,O);S=26;break}case 37:{c[N>>2]=c[e>>2];c[k>>2]=c[N>>2];$G(b,d,k,g,O);S=26;break}default:{c[g>>2]=c[g>>2]|4;S=26}}while(0);if((S|0)==26)j=c[d>>2]|0;yb=R;return j|0}function BG(b){b=b|0;if((a[53856]|0)==0?CN(53856)|0:0){LG();c[14080]=53264}return c[14080]|0}function CG(b){b=b|0;if((a[53840]|0)==0?CN(53840)|0:0){KG();c[14079]=52976}return c[14079]|0}function DG(b){b=b|0;if((a[53824]|0)==0?CN(53824)|0:0){JG();c[14078]=52688}return c[14078]|0}function EG(b){b=b|0;if((a[53816]|0)==0?CN(53816)|0:0){c[14075]=0;c[14076]=0;c[14077]=0;yM(56300,15268,IG(15268)|0)}return 56300}function FG(b){b=b|0;if((a[53808]|0)==0?CN(53808)|0:0){c[14072]=0;c[14073]=0;c[14074]=0;yM(56288,15220,IG(15220)|0)}return 56288}function GG(b){b=b|0;if((a[53800]|0)==0?CN(53800)|0:0){c[14069]=0;c[14070]=0;c[14071]=0;yM(56276,15184,IG(15184)|0)}return 56276}function HG(b){b=b|0;if((a[53792]|0)==0?CN(53792)|0:0){c[14066]=0;c[14067]=0;c[14068]=0;yM(56264,15148,IG(15148)|0)}return 56264}function IG(a){a=a|0;return Uy(a)|0}function JG(){var b=0,d=0;if((a[53832]|0)==0?CN(53832)|0:0){d=52688;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=52976)}GM(52688,15352)|0;GM(52700,15364)|0;return}function KG(){var b=0,d=0;if((a[53848]|0)==0?CN(53848)|0:0){d=52976;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=53264)}GM(52976,15376)|0;GM(52988,15408)|0;GM(53e3,15444)|0;GM(53012,15468)|0;GM(53024,15492)|0;GM(53036,15508)|0;GM(53048,15528)|0;GM(53060,15548)|0;GM(53072,15576)|0;GM(53084,15616)|0;GM(53096,15648)|0;GM(53108,15684)|0;GM(53120,15720)|0;GM(53132,15736)|0;GM(53144,15752)|0;GM(53156,15768)|0;GM(53168,15492)|0;GM(53180,15784)|0;GM(53192,15800)|0;GM(53204,15816)|0;GM(53216,15832)|0;GM(53228,15848)|0;GM(53240,15864)|0;GM(53252,15880)|0;return}function LG(){var b=0,d=0;if((a[53864]|0)==0?CN(53864)|0:0){d=53264;do{c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}d=d+12|0}while((d|0)!=53432)}GM(53264,15896)|0;GM(53276,15924)|0;GM(53288,15952)|0;GM(53300,15984)|0;GM(53312,16024)|0;GM(53324,16060)|0;GM(53336,16088)|0;GM(53348,16124)|0;GM(53360,16140)|0;GM(53372,16156)|0;GM(53384,16172)|0;GM(53396,16188)|0;GM(53408,16204)|0;GM(53420,16220)|0;return}function MG(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;h=yb;yb=yb+16|0;i=h+4|0;j=h;a=a+8|0;a=Eb[c[c[a>>2]>>2]&127](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];a=(fF(d,i,a,a+168|0,g,f,0)|0)-a|0;if((a|0)<168)c[b>>2]=((a|0)/12|0|0)%7|0;yb=h;return}function NG(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;h=yb;yb=yb+16|0;i=h+4|0;j=h;a=a+8|0;a=Eb[c[(c[a>>2]|0)+4>>2]&127](a)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];a=(fF(d,i,a,a+288|0,g,f,0)|0)-a|0;if((a|0)<288)c[b>>2]=((a|0)/12|0|0)%12|0;yb=h;return}function OG(a,b,d,e,f,g,h,i){a=a|0;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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=yb;yb=yb+16|0;q=v+12|0;p=v+8|0;s=v+4|0;t=v;HC(q,e);r=WD(q,56156)|0;XD(q);c[f>>2]=0;k=0;a:while(1){j=c[b>>2]|0;if(!((h|0)!=(i|0)&(k|0)==0))break;l=j;if(j){k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))k=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=iC(c[k>>2]|0)|0;if(IC(k,hC()|0)|0){c[b>>2]=0;j=0;m=1;o=0}else{m=0;o=l}}else{j=0;m=1;o=l}n=c[d>>2]|0;k=n;do if(n){l=c[n+12>>2]|0;if((l|0)==(c[n+16>>2]|0))l=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else l=iC(c[l>>2]|0)|0;if(!(IC(l,hC()|0)|0))if(m)break;else{u=60;break a}else{c[d>>2]=0;k=0;u=15;break}}else u=15;while(0);if((u|0)==15){u=0;if(m){u=60;break}else n=0}b:do if((Hb[c[(c[r>>2]|0)+52>>2]&63](r,c[h>>2]|0,0)|0)<<24>>24==37){n=h+4|0;if((n|0)==(i|0)){u=60;break a}l=Hb[c[(c[r>>2]|0)+52>>2]&63](r,c[n>>2]|0,0)|0;switch(l<<24>>24){case 48:case 69:{h=h+8|0;if((h|0)==(i|0)){u=60;break a}m=l;j=Hb[c[(c[r>>2]|0)+52>>2]&63](r,c[h>>2]|0,0)|0;h=n;break}default:{m=0;j=l}}n=c[(c[a>>2]|0)+36>>2]|0;c[s>>2]=o;c[t>>2]=k;c[p>>2]=c[s>>2];c[q>>2]=c[t>>2];c[b>>2]=Ob[n&15](a,p,q,e,f,g,j,m)|0;h=h+8|0}else{if(!(Hb[c[(c[r>>2]|0)+12>>2]&63](r,8192,c[h>>2]|0)|0)){l=j+12|0;k=c[l>>2]|0;m=j+16|0;if((k|0)==(c[m>>2]|0))k=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=iC(c[k>>2]|0)|0;o=Gb[c[(c[r>>2]|0)+28>>2]&63](r,k)|0;if((o|0)!=(Gb[c[(c[r>>2]|0)+28>>2]&63](r,c[h>>2]|0)|0)){c[f>>2]=4;break}k=c[l>>2]|0;if((k|0)==(c[m>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[l>>2]=k+4;iC(c[k>>2]|0)|0}h=h+4|0;break}do{h=h+4|0;if((h|0)==(i|0)){h=i;break}}while(Hb[c[(c[r>>2]|0)+12>>2]&63](r,8192,c[h>>2]|0)|0);while(1){if(j){k=c[j+12>>2]|0;if((k|0)==(c[j+16>>2]|0))k=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=iC(c[k>>2]|0)|0;if(IC(k,hC()|0)|0){c[b>>2]=0;j=0;l=1}else l=0}else{j=0;l=1}do if(n){k=c[n+12>>2]|0;if((k|0)==(c[n+16>>2]|0))k=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else k=iC(c[k>>2]|0)|0;if(!(IC(k,hC()|0)|0))if(l)break;else break b;else{c[d>>2]=0;u=40;break}}else u=40;while(0);if((u|0)==40){u=0;if(l)break b;else n=0}l=j+12|0;k=c[l>>2]|0;m=j+16|0;if((k|0)==(c[m>>2]|0))k=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else k=iC(c[k>>2]|0)|0;if(!(Hb[c[(c[r>>2]|0)+12>>2]&63](r,8192,k)|0))break b;k=c[l>>2]|0;if((k|0)==(c[m>>2]|0))Eb[c[(c[j>>2]|0)+40>>2]&127](j)|0;else{c[l>>2]=k+4;iC(c[k>>2]|0)|0}}}while(0);k=c[f>>2]|0}if((u|0)==60)c[f>>2]=4;if(j){h=c[j+12>>2]|0;if((h|0)==(c[j+16>>2]|0))h=Eb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else h=iC(c[h>>2]|0)|0;if(IC(h,hC()|0)|0){c[b>>2]=0;j=0;l=1}else l=0}else{j=0;l=1}h=c[d>>2]|0;do if(h){k=c[h+12>>2]|0;if((k|0)==(c[h+16>>2]|0))h=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=iC(c[k>>2]|0)|0;if(!(IC(h,hC()|0)|0))if(l)break;else{u=75;break}else{c[d>>2]=0;u=73;break}}else u=73;while(0);if((u|0)==73?l:0)u=75;if((u|0)==75)c[f>>2]=c[f>>2]|2;yb=v;return j|0}function PG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=aH(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<31&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function QG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=aH(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<24&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function RG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=aH(d,a,f,g,2)|0;d=c[f>>2]|0;if((a+-1|0)>>>0<12&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function SG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=aH(d,a,f,g,3)|0;d=c[f>>2]|0;if((a|0)<366&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function TG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=aH(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<13&(d&4|0)==0)c[b>>2]=a+-1;else c[f>>2]=d|4;yb=h;return}function UG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=aH(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<60&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function VG(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;a:while(1){a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=iC(c[g>>2]|0)|0;if(IC(a,hC()|0)|0){c[b>>2]=0;h=1;break}else{h=(c[b>>2]|0)==0;break}}else h=1;while(0);g=c[d>>2]|0;do if(g){a=c[g+12>>2]|0;if((a|0)==(c[g+16>>2]|0))a=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else a=iC(c[a>>2]|0)|0;if(!(IC(a,hC()|0)|0))if(h){h=g;break}else{h=g;break a}else{c[d>>2]=0;i=15;break}}else i=15;while(0);if((i|0)==15){i=0;if(h){h=0;break}else h=0}a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=iC(c[g>>2]|0)|0;if(!(Hb[c[(c[f>>2]|0)+12>>2]&63](f,8192,a)|0))break;a=c[b>>2]|0;g=a+12|0;h=c[g>>2]|0;if((h|0)==(c[a+16>>2]|0))Eb[c[(c[a>>2]|0)+40>>2]&127](a)|0;else{c[g>>2]=h+4;iC(c[h>>2]|0)|0}}a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=iC(c[g>>2]|0)|0;if(IC(a,hC()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){a=c[h+12>>2]|0;if((a|0)==(c[h+16>>2]|0))a=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else a=iC(c[a>>2]|0)|0;if(!(IC(a,hC()|0)|0))if(g)break;else{i=40;break}else{c[d>>2]=0;i=38;break}}else i=38;while(0);if((i|0)==38?g:0)i=40;if((i|0)==40)c[e>>2]=c[e>>2]|2;return}function WG(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,l=0,m=0;m=yb;yb=yb+16|0;k=m+4|0;l=m;j=b+8|0;j=Eb[c[(c[j>>2]|0)+8>>2]&127](j)|0;b=a[j+8+3>>0]|0;if(b<<24>>24<0)i=c[j+4>>2]|0;else i=b&255;b=a[j+20+3>>0]|0;if(b<<24>>24<0)b=c[j+16>>2]|0;else b=b&255;do if((i|0)!=(0-b|0)){c[l>>2]=c[f>>2];c[k>>2]=c[l>>2];b=(fF(e,k,j,j+24|0,h,g,0)|0)-j|0;i=c[d>>2]|0;if((i|0)==12&(b|0)==0){c[d>>2]=0;break}if((i|0)<12&(b|0)==12)c[d>>2]=i+12}else c[g>>2]=c[g>>2]|4;while(0);yb=m;return}function XG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=aH(d,a,f,g,2)|0;d=c[f>>2]|0;if((a|0)<61&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function YG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=aH(d,a,f,g,1)|0;d=c[f>>2]|0;if((a|0)<7&(d&4|0)==0)c[b>>2]=a;else c[f>>2]=d|4;yb=h;return}function ZG(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=aH(d,a,f,g,4)|0;if(!(c[f>>2]&4)){if((a|0)<69)a=a+2e3|0;else a=(a|0)<100?a+1900|0:a;c[b>>2]=a+-1900}yb=h;return}function _G(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;h=yb;yb=yb+16|0;a=h+4|0;i=h;c[i>>2]=c[e>>2];c[a>>2]=c[i>>2];a=aH(d,a,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=a+-1900;yb=h;return}function $G(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;a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=iC(c[g>>2]|0)|0;if(IC(a,hC()|0)|0){c[b>>2]=0;h=1;break}else{h=(c[b>>2]|0)==0;break}}else h=1;while(0);g=c[d>>2]|0;do if(g){a=c[g+12>>2]|0;if((a|0)==(c[g+16>>2]|0))a=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else a=iC(c[a>>2]|0)|0;if(!(IC(a,hC()|0)|0))if(h){i=g;j=17;break}else{j=16;break}else{c[d>>2]=0;j=14;break}}else j=14;while(0);if((j|0)==14)if(h)j=16;else{i=0;j=17}a:do if((j|0)==16)c[e>>2]=c[e>>2]|6;else if((j|0)==17){a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=iC(c[g>>2]|0)|0;if((Hb[c[(c[f>>2]|0)+52>>2]&63](f,a,0)|0)<<24>>24!=37){c[e>>2]=c[e>>2]|4;break}a=c[b>>2]|0;g=a+12|0;h=c[g>>2]|0;if((h|0)==(c[a+16>>2]|0))Eb[c[(c[a>>2]|0)+40>>2]&127](a)|0;else{c[g>>2]=h+4;iC(c[h>>2]|0)|0}a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))a=Eb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else a=iC(c[g>>2]|0)|0;if(IC(a,hC()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(i){a=c[i+12>>2]|0;if((a|0)==(c[i+16>>2]|0))a=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else a=iC(c[a>>2]|0)|0;if(!(IC(a,hC()|0)|0))if(g)break a;else break;else{c[d>>2]=0;j=38;break}}else j=38;while(0);if((j|0)==38?!g:0)break;c[e>>2]=c[e>>2]|2}while(0);return}function aH(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,l=0,m=0,n=0;g=c[a>>2]|0;do if(g){h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=iC(c[h>>2]|0)|0;if(IC(g,hC()|0)|0){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}else i=1;while(0);h=c[b>>2]|0;do if(h){g=c[h+12>>2]|0;if((g|0)==(c[h+16>>2]|0))g=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else g=iC(c[g>>2]|0)|0;if(!(IC(g,hC()|0)|0))if(i){n=17;break}else{n=16;break}else{c[b>>2]=0;n=14;break}}else n=14;while(0);if((n|0)==14)if(i)n=16;else{h=0;n=17}a:do if((n|0)==16){c[d>>2]=c[d>>2]|6;g=0}else if((n|0)==17){g=c[a>>2]|0;i=c[g+12>>2]|0;if((i|0)==(c[g+16>>2]|0))g=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=iC(c[i>>2]|0)|0;if(!(Hb[c[(c[e>>2]|0)+12>>2]&63](e,2048,g)|0)){c[d>>2]=c[d>>2]|4;g=0;break}g=(Hb[c[(c[e>>2]|0)+52>>2]&63](e,g,0)|0)<<24>>24;i=c[a>>2]|0;j=i+12|0;k=c[j>>2]|0;if((k|0)==(c[i+16>>2]|0))Eb[c[(c[i>>2]|0)+40>>2]&127](i)|0;else{c[j>>2]=k+4;iC(c[k>>2]|0)|0}l=h;k=h;while(1){g=g+-48|0;m=f+-1|0;h=c[a>>2]|0;do if(h){i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0))h=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else h=iC(c[i>>2]|0)|0;if(IC(h,hC()|0)|0){c[a>>2]=0;j=1;break}else{j=(c[a>>2]|0)==0;break}}else j=1;while(0);if(k){h=c[k+12>>2]|0;if((h|0)==(c[k+16>>2]|0))h=Eb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else h=iC(c[h>>2]|0)|0;if(IC(h,hC()|0)|0){c[b>>2]=0;h=1;l=0;k=0}else h=0}else{h=1;k=0}i=c[a>>2]|0;if(!((f|0)>1&(j^h)))break;h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else h=iC(c[h>>2]|0)|0;if(!(Hb[c[(c[e>>2]|0)+12>>2]&63](e,2048,h)|0))break a;g=(g*10|0)+((Hb[c[(c[e>>2]|0)+52>>2]&63](e,h,0)|0)<<24>>24)|0;h=c[a>>2]|0;i=h+12|0;j=c[i>>2]|0;if((j|0)==(c[h+16>>2]|0))Eb[c[(c[h>>2]|0)+40>>2]&127](h)|0;else{c[i>>2]=j+4;iC(c[j>>2]|0)|0}f=m}do if(i){h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))h=Eb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else h=iC(c[h>>2]|0)|0;if(IC(h,hC()|0)|0){c[a>>2]=0;i=1;break}else{i=(c[a>>2]|0)==0;break}}else i=1;while(0);do if(l){h=c[l+12>>2]|0;if((h|0)==(c[l+16>>2]|0))h=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else h=iC(c[h>>2]|0)|0;if(!(IC(h,hC()|0)|0))if(i)break a;else break;else{c[b>>2]=0;n=61;break}}else n=61;while(0);if((n|0)==61?!i:0)break;c[d>>2]=c[d>>2]|2}while(0);return g|0}function bH(a){a=a|0;gH(a+8|0);BD(a);return}function cH(a){a=a|0;gH(a+8|0);BD(a);cM(a);return}function dH(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;j=yb;yb=yb+112|0;e=j;f=j+100|0;c[f>>2]=e+100;eH(b+8|0,e,f,g,h,i);i=c[f>>2]|0;h=e;e=c[d>>2]|0;while(1){if((h|0)==(i|0))break;f=a[h>>0]|0;if(!e)e=0;else{b=e+24|0;g=c[b>>2]|0;if((g|0)==(c[e+28>>2]|0)){d=c[(c[e>>2]|0)+52>>2]|0;f=rf(f)|0;f=Gb[d&63](e,f)|0}else{c[b>>2]=g+1;a[g>>0]=f;f=rf(f)|0}d=mf(f,hf()|0)|0;e=d?0:e}h=h+1|0}yb=j;return e|0}function eH(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,l=0;l=yb;yb=yb+16|0;i=l;a[i>>0]=37;j=i+1|0;a[j>>0]=g;k=i+2|0;a[k>>0]=h;a[i+3>>0]=0;if(h<<24>>24){a[j>>0]=h;a[k>>0]=g}k=fH(d,c[e>>2]|0)|0;c[e>>2]=d+(Wa(d|0,k|0,i|0,f|0,c[b>>2]|0)|0);yb=l;return}function fH(a,b){a=a|0;b=b|0;return b-a|0}function gH(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)!=(ZD()|0))KA(c[a>>2]|0);return}function hH(a){a=a|0;gH(a+8|0);BD(a);return}function iH(a){a=a|0;gH(a+8|0);BD(a);cM(a);return}function jH(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;i=yb;yb=yb+416|0;d=i;e=i+400|0;c[e>>2]=d+400;kH(a+8|0,d,e,f,g,h);h=c[e>>2]|0;g=d;d=c[b>>2]|0;while(1){if((g|0)==(h|0))break;e=c[g>>2]|0;if(!d)d=0;else{a=d+24|0;f=c[a>>2]|0;if((f|0)==(c[d+28>>2]|0)){b=c[(c[d>>2]|0)+52>>2]|0;e=iC(e)|0;e=Gb[b&63](d,e)|0}else{c[a>>2]=f+4;c[f>>2]=e;e=iC(e)|0}b=IC(e,hC()|0)|0;d=b?0:d}g=g+4|0}yb=i;return d|0}function kH(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,l=0;h=yb;yb=yb+128|0;k=h;l=h+116|0;i=h+104|0;j=h+112|0;c[l>>2]=k+100;eH(a,k,l,e,f,g);e=i;c[e>>2]=0;c[e+4>>2]=0;c[j>>2]=k;e=lH(b,c[d>>2]|0)|0;a=HA(c[a>>2]|0)|0;e=nA(b,j,e,i)|0;if(a|0)HA(a)|0;if((e|0)==-1)mH(0);else{c[d>>2]=b+(e<<2);yb=h;return}}function lH(a,b){a=a|0;b=b|0;return b-a>>2|0}function mH(a){a=a|0;ya()}function nH(a){a=a|0;BD(a);return}function oH(a){a=a|0;BD(a);cM(a);return}function pH(a){a=a|0;return 127}function qH(a){a=a|0;return 127}function rH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function sH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function tH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function uH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;lM(a,1,45);return}function vH(a){a=a|0;return 0}function wH(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function xH(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function yH(a){a=a|0;BD(a);return}function zH(a){a=a|0;BD(a);cM(a);return}function AH(a){a=a|0;return 127}function BH(a){a=a|0;return 127}function CH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function DH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function EH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function FH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;lM(a,1,45);return}function GH(a){a=a|0;return 0}function HH(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function IH(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function JH(a){a=a|0;BD(a);return}function KH(a){a=a|0;BD(a);cM(a);return}function LH(a){a=a|0;return 2147483647}function MH(a){a=a|0;return 2147483647}function NH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function OH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function PH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function QH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;zM(a,1,45);return}function RH(a){a=a|0;return 0}function SH(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function TH(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function UH(a){a=a|0;BD(a);return}function VH(a){a=a|0;BD(a);cM(a);return}function WH(a){a=a|0;return 2147483647}function XH(a){a=a|0;return 2147483647}function YH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function ZH(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function _H(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[a+(b<<2)>>2]=0;b=b+1|0}return}function $H(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;zM(a,1,45);return}function aI(a){a=a|0;return 0}function bI(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function cI(b,c){b=b|0;c=c|0;a[b>>0]=2;a[b+1>>0]=3;a[b+2>>0]=0;a[b+3>>0]=4;return}function dI(a){a=a|0;BD(a);return}function eI(a){a=a|0;BD(a);cM(a);return}function fI(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=yb;yb=yb+256|0;n=v+240|0;q=v+216|0;m=v+112|0;u=v+232|0;p=v+228|0;s=v+224|0;j=v+250|0;w=v+220|0;o=v;c[u>>2]=m;c[u+4>>2]=143;HC(s,g);b=WD(s,56124)|0;a[j>>0]=0;c[w>>2]=c[e>>2];l=c[g+4>>2]|0;c[n>>2]=c[w>>2];if(iI(d,n,f,s,l,h,j,b,u,p,m+100|0)|0){Ib[c[(c[b>>2]|0)+32>>2]&15](b,48188,48198,n)|0;l=c[p>>2]|0;f=c[u>>2]|0;b=l-f|0;if((b|0)>98){b=iB(b+2|0)|0;if(!b)$L();else{k=b;r=b}}else{k=o;r=0}if(!(a[j>>0]|0))b=k;else{a[k>>0]=45;b=k+1|0}k=n+10|0;m=n;j=f;g=b;b=l;while(1){if(j>>>0>=b>>>0)break;f=a[j>>0]|0;b=n;while(1){if((b|0)==(k|0)){b=k;break}if((a[b>>0]|0)==f<<24>>24)break;b=b+1|0}a[g>>0]=a[48188+(b-m)>>0]|0;j=j+1|0;g=g+1|0;b=c[p>>2]|0}a[g>>0]=0;c[q>>2]=i;if((Zz(o,48199,q)|0)!=1)mH(0);if(r|0)jB(r)}b=c[d>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=rf(a[f>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);b=c[e>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=rf(a[f>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(g)break;else{t=34;break}else{c[e>>2]=0;t=32;break}}else t=32;while(0);if((t|0)==32?g:0)t=34;if((t|0)==34)c[h>>2]=c[h>>2]|2;f=c[d>>2]|0;XD(s);b=c[u>>2]|0;c[u>>2]=0;if(b|0)Qb[c[u+4>>2]&255](b);yb=v;return f|0}function gI(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+128|0;j=s+120|0;b=s;r=s+112|0;m=s+108|0;p=s+100|0;k=s+124|0;n=s+104|0;c[r>>2]=b;c[r+4>>2]=143;HC(p,g);l=WD(p,56124)|0;a[k>>0]=0;o=c[e>>2]|0;c[n>>2]=o;g=c[g+4>>2]|0;c[j>>2]=c[n>>2];n=o;if(iI(d,j,f,p,g,h,k,l,r,m,b+100|0)|0){b=i+11|0;if((a[b>>0]|0)<0){f=c[i>>2]|0;a[j>>0]=0;qf(f,j);c[i+4>>2]=0}else{a[j>>0]=0;qf(i,j);a[b>>0]=0}if(a[k>>0]|0)xM(i,Gb[c[(c[l>>2]|0)+28>>2]&63](l,45)|0);k=Gb[c[(c[l>>2]|0)+28>>2]&63](l,48)|0;g=c[m>>2]|0;j=g+-1|0;b=c[r>>2]|0;while(1){if(b>>>0>=j>>>0)break;if((a[b>>0]|0)!=k<<24>>24)break;b=b+1|0}jI(i,b,g)|0}b=c[d>>2]|0;do if(b){g=c[b+12>>2]|0;if((g|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=rf(a[g>>0]|0)|0;if(mf(b,hf()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);do if(o){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Eb[c[(c[o>>2]|0)+36>>2]&127](n)|0;else b=rf(a[b>>0]|0)|0;if(!(mf(b,hf()|0)|0))if(g)break;else{q=27;break}else{c[e>>2]=0;q=25;break}}else q=25;while(0);if((q|0)==25?g:0)q=27;if((q|0)==27)c[h>>2]=c[h>>2]|2;g=c[d>>2]|0;XD(p);b=c[r>>2]|0;c[r>>2]=0;if(b|0)Qb[c[r+4>>2]&255](b);yb=s;return g|0}function hI(a){a=a|0;return} -function Sr(a,e){a=a|0;e=e|0;var 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,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=yb;yb=yb+48|0;m=A+20|0;r=A;y=c[a+444>>2]|0;z=c[a+412>>2]|0;if(((c[a+276>>2]|0)!=0?(c[y+40>>2]|0)==0:0)?(Wr(a)|0)==0:0)f=0;else k=4;a:do if((k|0)==4){if(!(c[y+8>>2]|0)){c[m+16>>2]=a;n=a+24|0;p=c[n>>2]|0;c[m>>2]=c[p>>2];o=m+4|0;c[o>>2]=c[p+4>>2];p=y+12|0;g=c[p>>2]|0;q=y+16|0;f=c[q>>2]|0;s=y+20|0;c[r>>2]=c[s>>2];c[r+4>>2]=c[s+4>>2];c[r+8>>2]=c[s+8>>2];c[r+12>>2]=c[s+12>>2];c[r+16>>2]=c[s+16>>2];t=a+356|0;u=m+8|0;v=m+12|0;l=0;while(1){if((l|0)>=(c[t>>2]|0))break;w=c[e+(l<<2)>>2]|0;x=c[a+360+(l<<2)>>2]|0;j=c[y+44+(c[(c[a+332+(x<<2)>>2]|0)+20>>2]<<2)>>2]|0;if((f|0)<8){if(!(Or(m,g,f,0)|0)){f=0;break a}g=c[u>>2]|0;f=c[v>>2]|0;if((f|0)<8){h=1;k=12}else{i=f;k=10}}else{i=f;k=10}if((k|0)==10){k=0;f=g>>i+-8&255;h=c[j+144+(f<<2)>>2]|0;if(!h){h=9;f=i;k=12}else{f=d[j+1168+f>>0]|0;h=i-h|0}}if((k|0)==12){f=Pr(m,g,f,j,h)|0;if((f|0)<0){f=0;break a}h=c[v>>2]|0;g=c[u>>2]|0}if(f){if((h|0)<(f|0)){if(!(Or(m,g,h,f)|0)){f=0;break a}h=c[v>>2]|0;g=c[u>>2]|0}i=h-f|0;h=g>>i&(1<>2]|0)){j=(c[2944+(f<<2)>>2]|0)+h|0;f=i}else{j=h;f=i}}else{j=0;f=h}k=r+4+(x<<2)|0;x=(c[k>>2]|0)+j|0;c[k>>2]=x;b[w>>1]=x<>2]|0;c[z>>2]=c[m>>2];c[z+4>>2]=c[o>>2];c[p>>2]=g;c[q>>2]=f;c[s>>2]=c[r>>2];c[s+4>>2]=c[r+4>>2];c[s+8>>2]=c[r+8>>2];c[s+12>>2]=c[r+12>>2];c[s+16>>2]=c[r+16>>2]}f=y+40|0;c[f>>2]=(c[f>>2]|0)+-1;f=1}while(0);yb=A;return f|0}function Tr(a,e){a=a|0;e=e|0;var 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,u=0,v=0,w=0,x=0,y=0;y=yb;yb=yb+32|0;v=y;x=c[a+444>>2]|0;o=c[a+404>>2]|0;p=c[a+412>>2]|0;if(((c[a+276>>2]|0)!=0?(c[x+40>>2]|0)==0:0)?(Wr(a)|0)==0:0)f=0;else q=4;a:do if((q|0)==4){if(!(c[x+8>>2]|0)){w=x+20|0;f=c[w>>2]|0;if(!f){c[v+16>>2]=a;r=a+24|0;t=c[r>>2]|0;c[v>>2]=c[t>>2];s=v+4|0;c[s>>2]=c[t+4>>2];t=x+12|0;u=x+16|0;k=c[e>>2]|0;l=c[x+60>>2]|0;n=v+8|0;m=v+12|0;g=c[u>>2]|0;e=c[t>>2]|0;j=c[a+400>>2]|0;while(1){if((j|0)>(o|0)){f=0;break}if((g|0)<8){if(!(Or(v,e,g,0)|0)){f=0;break a}e=c[n>>2]|0;g=c[m>>2]|0;if((g|0)<8){f=1;q=14}else q=12}else q=12;if((q|0)==12){q=0;f=e>>g+-8&255;a=c[l+144+(f<<2)>>2]|0;if(!a){f=9;q=14}else{f=d[l+1168+f>>0]|0;g=g-a|0}}if((q|0)==14){q=0;f=Pr(v,e,g,l,f)|0;if((f|0)<0){f=0;break a}g=c[m>>2]|0;e=c[n>>2]|0}h=f>>>4;i=f&15;if(!i){if((h|0)!=15){q=25;break}f=j+15|0}else{a=h+j|0;if((g|0)<(i|0)){if(!(Or(v,e,g,i)|0)){f=0;break a}g=c[m>>2]|0;e=c[n>>2]|0}g=g-i|0;f=e>>g&(1<>2]|0))f=(c[2944+(i<<2)>>2]|0)+f|0;b[k+(c[2560+(a<<2)>>2]<<1)>>1]=f<>2]|0;e=c[n>>2]|0}else f=g;g=f-h|0;f=a+-1|0;f=f+(e>>g&f)|0}}r=c[r>>2]|0;c[r>>2]=c[v>>2];c[r+4>>2]=c[s>>2];c[t>>2]=e;c[u>>2]=g}else f=f+-1|0;c[w>>2]=f}f=x+40|0;c[f>>2]=(c[f>>2]|0)+-1;f=1}while(0);yb=y;return f|0}function Ur(a,d){a=a|0;d=d|0;var 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;s=yb;yb=yb+32|0;p=s;q=c[a+444>>2]|0;r=1<>2];if(((c[a+276>>2]|0)!=0?(c[q+40>>2]|0)==0:0)?(Wr(a)|0)==0:0)a=0;else f=4;a:do if((f|0)==4){c[p+16>>2]=a;l=a+24|0;n=c[l>>2]|0;c[p>>2]=c[n>>2];m=p+4|0;c[m>>2]=c[n+4>>2];n=q+12|0;o=q+16|0;h=a+356|0;i=p+8|0;j=p+12|0;a=c[o>>2]|0;f=c[n>>2]|0;g=0;while(1){if((g|0)>=(c[h>>2]|0))break;k=c[d+(g<<2)>>2]|0;if((a|0)<1){if(!(Or(p,f,a,1)|0)){a=0;break a}a=c[j>>2]|0;f=c[i>>2]|0}a=a+-1|0;if(1<>1]=r|(e[k>>1]|0);g=g+1|0}r=c[l>>2]|0;c[r>>2]=c[p>>2];c[r+4>>2]=c[m>>2];c[n>>2]=f;c[o>>2]=a;a=q+40|0;c[a>>2]=(c[a>>2]|0)+-1;a=1}while(0);yb=s;return a|0}function Vr(a,e){a=a|0;e=e|0;var 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,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=yb;yb=yb+288|0;y=F+256|0;x=F;E=c[a+444>>2]|0;v=c[a+404>>2]|0;s=c[a+412>>2]|0;r=1<>2]|0)!=0?(c[E+40>>2]|0)==0:0)?(Wr(a)|0)==0:0)e=0;else q=4;a:do if((q|0)==4){do if(!(c[E+8>>2]|0)){c[y+16>>2]=a;z=a+24|0;B=c[z>>2]|0;c[y>>2]=c[B>>2];A=y+4|0;c[A>>2]=c[B+4>>2];B=E+12|0;h=c[B>>2]|0;C=E+16|0;f=c[C>>2]|0;D=E+20|0;g=c[D>>2]|0;w=c[e>>2]|0;l=c[E+60>>2]|0;i=c[a+400>>2]|0;o=y+8|0;p=y+12|0;b:do if(!g){e=0;c:while(1){if((i|0)>(v|0)){g=0;e=h;q=56;break b}if((f|0)<8){if(!(Or(y,h,f,0)|0))break b;h=c[o>>2]|0;f=c[p>>2]|0;if((f|0)<8){g=1;q=13}else q=11}else q=11;if((q|0)==11){q=0;g=h>>f+-8&255;j=c[l+144+(g<<2)>>2]|0;if(!j){g=9;q=13}else{g=d[l+1168+g>>0]|0;f=f-j|0}}if((q|0)==13){q=0;f=Pr(y,h,f,l,g)|0;if((f|0)<0)break b;g=f;f=c[p>>2]|0;h=c[o>>2]|0}j=g>>>4;switch(g&15){case 0:{if((j|0)==15)k=0;else break c;break}case 1:{q=17;break}default:{q=c[a>>2]|0;c[q+20>>2]=118;Sb[c[q+4>>2]&63](a,-1);q=17}}if((q|0)==17){q=0;if((f|0)<1){if(!(Or(y,h,f,1)|0))break b;f=c[p>>2]|0;h=c[o>>2]|0}f=f+-1|0;k=(1<>2]<<1)|0;do if(!(b[j>>1]|0))if((g|0)<1)break d;else g=g+-1|0;else{if((f|0)<1){if(!(Or(y,h,f,1)|0))break b;f=c[p>>2]|0;h=c[o>>2]|0}f=f+-1|0;if((1<>1]|0,n=m<<16>>16,(r&n|0)==0):0)if(m<<16>>16>-1){b[j>>1]=r+n;break}else{b[j>>1]=s+n;break}}while(0);j=i+1|0;if((i|0)<(v|0))i=j;else{i=j;break}}if(k){j=c[2560+(i<<2)>>2]|0;b[w+(j<<1)>>1]=k;c[x+(e<<2)>>2]=j;e=e+1|0}i=i+1|0}g=1<>2]|0;h=c[o>>2]|0}f=f-j|0;g=(h>>f&g+-1)+g|0;if(!g){g=0;e=h;q=56}else q=43}else{g=1;q=43}}else{e=0;q=43}while(0);e:do if((q|0)==43){while(1){if((i|0)>(v|0))break;j=w+(c[2560+(i<<2)>>2]<<1)|0;do if(b[j>>1]|0){if((f|0)<1){if(!(Or(y,h,f,1)|0))break e;f=c[p>>2]|0;h=c[o>>2]|0}f=f+-1|0;if((1<>1]|0,u=t<<16>>16,(r&u|0)==0):0)if(t<<16>>16>-1){b[j>>1]=r+u;break}else{b[j>>1]=s+u;break}}while(0);i=i+1|0}g=g+-1|0;e=h;q=56}while(0);if((q|0)==56){z=c[z>>2]|0;c[z>>2]=c[y>>2];c[z+4>>2]=c[A>>2];c[B>>2]=e;c[C>>2]=f;c[D>>2]=g;break}while(1){if((e|0)<=0){e=0;break a}E=e+-1|0;b[w+(c[x+(E<<2)>>2]<<1)>>1]=0;e=E}}while(0);e=E+40|0;c[e>>2]=(c[e>>2]|0)+-1;e=1}while(0);yb=F;return e|0}function Wr(a){a=a|0;var b=0,d=0,e=0,f=0;e=c[a+444>>2]|0;b=e+16|0;d=c[a+440>>2]|0;f=d+24|0;c[f>>2]=(c[f>>2]|0)+((c[b>>2]|0)/8|0);c[b>>2]=0;if(Eb[c[d+8>>2]&127](a)|0){d=a+328|0;b=0;while(1){if((b|0)>=(c[d>>2]|0))break;c[e+24+(b<<2)>>2]=0;b=b+1|0}c[e+20>>2]=0;c[e+40>>2]=c[a+276>>2];if(!(c[a+416>>2]|0)){c[e+8>>2]=0;b=1}else b=1}else b=0;return b|0}function Xr(a){a=a|0;var d=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,u=0;q=c[a+448>>2]|0;t=a+36|0;u=a+72|0;o=0;p=c[a+216>>2]|0;h=0;i=0;while(1){if((o|0)>=(c[t>>2]|0))break;d=c[p+36>>2]|0;a:do switch(d|0){case 1:{d=0;n=11;break}case 2:{d=0;n=12;break}case 4:{d=0;n=13;break}case 8:{d=c[u>>2]|0;switch(d|0){case 0:{n=14;break a}case 1:{n=15;break a}case 2:{n=16;break a}default:{d=c[a>>2]|0;c[d+20>>2]=48;Qb[c[d>>2]&255](a);d=h;n=i;break a}}}default:{n=c[a>>2]|0;c[n+20>>2]=7;c[n+24>>2]=d;Qb[c[c[a>>2]>>2]&255](a);d=h;n=i}}while(0);c[q+4+(o<<2)>>2]=n;b:do if((c[p+48>>2]|0?(r=q+44+(o<<2)|0,(c[r>>2]|0)!=(d|0)):0)?(s=c[p+76>>2]|0,s|0):0){c[r>>2]=d;switch(d|0){case 0:{i=c[p+80>>2]|0;h=0;while(1){if((h|0)==64)break b;c[i+(h<<2)>>2]=e[s+(h<<1)>>1];h=h+1|0}}case 1:{i=c[p+80>>2]|0;h=0;while(1){if((h|0)==64)break b;c[i+(h<<2)>>2]=(C(b[3008+(h<<1)>>1]|0,e[s+(h<<1)>>1]|0)|0)+2048>>12;h=h+1|0}}case 2:{l=c[p+80>>2]|0;i=0;j=0;while(1){if((i|0)==8)break b;m=3136+(i<<3)|0;h=0;k=j;while(1){if((h|0)==8)break;f[l+(k<<2)>>2]=+g[m>>3]*+(e[s+(k<<1)>>1]|0)*+g[3136+(h<<3)>>3];h=h+1|0;k=k+1|0}i=i+1|0;j=j+8|0}}default:{m=c[a>>2]|0;c[m+20>>2]=48;Qb[c[m>>2]&255](a);break b}}}while(0);o=o+1|0;p=p+84|0;h=d;i=n}return}function Yr(d,e,g,h,i){d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0;q=yb;yb=yb+256|0;j=q;o=c[d+324>>2]|0;m=8;n=j;l=c[e+80>>2]|0;while(1){if(!m)break;e=b[g+16>>1]|0;d=b[g+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[g+48>>1]|0)==0?(b[g+64>>1]|0)==0:0)?(b[g+80>>1]|0)==0:0)?(b[g+96>>1]|0)==0:0)?(b[g+112>>1]|0)==0:0){k=+f[l>>2]*+(b[g>>1]|0);f[n>>2]=k;f[n+32>>2]=k;f[n+64>>2]=k;f[n+96>>2]=k;f[n+128>>2]=k;f[n+160>>2]=k;f[n+192>>2]=k;d=56}else{d=0;p=10}else p=10;if((p|0)==10){p=0;r=+f[l>>2]*+(b[g>>1]|0);x=+f[l+64>>2]*+(d<<16>>16);w=+f[l+128>>2]*+(b[g+64>>1]|0);t=+f[l+192>>2]*+(b[g+96>>1]|0);v=r+w;w=r-w;r=x+t;t=(x-t)*1.4142135381698608-r;x=v+r;r=v-r;v=w+t;t=w-t;w=+f[l+32>>2]*+(e<<16>>16);u=+f[l+96>>2]*+(b[g+48>>1]|0);z=+f[l+160>>2]*+(b[g+80>>1]|0);y=+f[l+224>>2]*+(b[g+112>>1]|0);s=u+z;u=z-u;z=w+y;y=w-y;w=s+z;k=(u+y)*1.8477590084075928;u=k-u*2.613126039505005-w;s=(z-s)*1.4142135381698608-u;k=y*1.0823922157287598-k+s;f[n>>2]=x+w;f[n+224>>2]=x-w;f[n+32>>2]=v+u;f[n+192>>2]=v-u;f[n+64>>2]=t+s;f[n+160>>2]=t-s;f[n+128>>2]=r+k;k=r-k;d=24}f[n+(d<<2)>>2]=k;m=m+-1|0;n=n+4|0;l=l+4|0;g=g+2|0}e=o+128|0;d=0;while(1){if((d|0)==8)break;p=(c[h+(d<<2)>>2]|0)+i|0;s=+f[j>>2];t=+f[j+16>>2];u=s+t;t=s-t;s=+f[j+8>>2];w=+f[j+24>>2];y=s+w;w=(s-w)*1.4142135381698608-y;s=u+y;y=u-y;u=t+w;w=t-w;t=+f[j+20>>2];v=+f[j+12>>2];x=t+v;v=t-v;t=+f[j+4>>2];r=+f[j+28>>2];k=t+r;r=t-r;t=x+k;z=(v+r)*1.8477590084075928;v=z-v*2.613126039505005-t;x=(k-x)*1.4142135381698608-v;z=r*1.0823922157287598-z+x;a[p>>0]=a[e+((~~(s+t)+4|0)>>>3&1023)>>0]|0;a[p+7>>0]=a[e+((~~(s-t)+4|0)>>>3&1023)>>0]|0;a[p+1>>0]=a[e+((~~(u+v)+4|0)>>>3&1023)>>0]|0;a[p+6>>0]=a[e+((~~(u-v)+4|0)>>>3&1023)>>0]|0;a[p+2>>0]=a[e+((~~(w+x)+4|0)>>>3&1023)>>0]|0;a[p+5>>0]=a[e+((~~(w-x)+4|0)>>>3&1023)>>0]|0;a[p+4>>0]=a[e+((~~(y+z)+4|0)>>>3&1023)>>0]|0;a[p+3>>0]=a[e+((~~(y-z)+4|0)>>>3&1023)>>0]|0;d=d+1|0;j=j+32|0}yb=q;return}function Zr(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;o=yb;yb=yb+256|0;i=o;m=c[d+324>>2]|0;k=8;l=i;j=c[e+80>>2]|0;while(1){if(!k)break;e=b[f+16>>1]|0;d=b[f+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[f+48>>1]|0)==0?(b[f+64>>1]|0)==0:0)?(b[f+80>>1]|0)==0:0)?(b[f+96>>1]|0)==0:0)?(b[f+112>>1]|0)==0:0){d=C(c[j>>2]|0,b[f>>1]|0)|0;c[l>>2]=d;c[l+32>>2]=d;c[l+64>>2]=d;c[l+96>>2]=d;c[l+128>>2]=d;c[l+160>>2]=d;c[l+192>>2]=d;e=56}else{d=0;n=10}else n=10;if((n|0)==10){n=0;p=C(c[j>>2]|0,b[f>>1]|0)|0;u=C(c[j+64>>2]|0,d<<16>>16)|0;t=C(c[j+128>>2]|0,b[f+64>>1]|0)|0;q=C(c[j+192>>2]|0,b[f+96>>1]|0)|0;s=t+p|0;t=p-t|0;p=q+u|0;q=((u-q|0)*362>>8)-p|0;u=p+s|0;p=s-p|0;s=q+t|0;q=t-q|0;t=C(c[j+32>>2]|0,e<<16>>16)|0;r=C(c[j+96>>2]|0,b[f+48>>1]|0)|0;w=C(c[j+160>>2]|0,b[f+80>>1]|0)|0;v=C(c[j+224>>2]|0,b[f+112>>1]|0)|0;e=w+r|0;r=w-r|0;w=v+t|0;v=t-v|0;t=w+e|0;d=(v+r|0)*473>>8;r=((C(r,-669)|0)>>8)-t+d|0;e=((w-e|0)*362>>8)-r|0;d=e+((v*277>>8)-d)|0;c[l>>2]=t+u;c[l+224>>2]=u-t;c[l+32>>2]=r+s;c[l+192>>2]=s-r;c[l+64>>2]=e+q;c[l+160>>2]=q-e;c[l+128>>2]=d+p;d=p-d|0;e=24}c[l+(e<<2)>>2]=d;k=k+-1|0;l=l+4|0;j=j+4|0;f=f+2|0}k=m+128|0;j=0;while(1){if((j|0)==8)break;e=(c[g+(j<<2)>>2]|0)+h|0;f=c[i+4>>2]|0;d=c[i+8>>2]|0;if(!(f|d))if(((((c[i+12>>2]|0)==0?(c[i+16>>2]|0)==0:0)?(c[i+20>>2]|0)==0:0)?(c[i+24>>2]|0)==0:0)?(c[i+28>>2]|0)==0:0){w=a[k+((c[i>>2]|0)>>>5&1023)>>0]|0;a[e>>0]=w;XN(e+1|0,w|0,7)|0}else{d=0;n=21}else n=21;if((n|0)==21){n=0;t=c[i>>2]|0;m=c[i+16>>2]|0;r=m+t|0;m=t-m|0;t=c[i+24>>2]|0;v=t+d|0;t=((d-t|0)*362>>8)-v|0;p=v+r|0;v=r-v|0;r=t+m|0;t=m-t|0;m=c[i+20>>2]|0;s=c[i+12>>2]|0;u=s+m|0;s=m-s|0;m=c[i+28>>2]|0;l=m+f|0;m=f-m|0;q=l+u|0;w=(m+s|0)*473>>8;s=((C(s,-669)|0)>>8)-q+w|0;u=((l-u|0)*362>>8)-s|0;w=u+((m*277>>8)-w)|0;a[e>>0]=a[k+((q+p|0)>>>5&1023)>>0]|0;a[e+7>>0]=a[k+((p-q|0)>>>5&1023)>>0]|0;a[e+1>>0]=a[k+((s+r|0)>>>5&1023)>>0]|0;a[e+6>>0]=a[k+((r-s|0)>>>5&1023)>>0]|0;a[e+2>>0]=a[k+((u+t|0)>>>5&1023)>>0]|0;a[e+5>>0]=a[k+((t-u|0)>>>5&1023)>>0]|0;a[e+4>>0]=a[k+((w+v|0)>>>5&1023)>>0]|0;a[e+3>>0]=a[k+((v-w|0)>>>5&1023)>>0]|0}j=j+1|0;i=i+32|0}yb=o;return}function _r(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;o=yb;yb=yb+128|0;m=o;l=c[d+324>>2]|0;j=8;k=m;i=c[e+80>>2]|0;a:while(1){switch(j|0){case 0:break a;case 4:break;default:{e=b[f+16>>1]|0;d=b[f+32>>1]|0;if(!((e|d)<<16>>16))if((((b[f+48>>1]|0)==0?(b[f+80>>1]|0)==0:0)?(b[f+96>>1]|0)==0:0)?(b[f+112>>1]|0)==0:0){d=C(b[f>>1]<<2,c[i>>2]|0)|0;c[k>>2]=d;c[k+32>>2]=d;c[k+64>>2]=d;e=24}else{d=0;n=9}else n=9;if((n|0)==9){n=0;q=C(b[f>>1]<<14,c[i>>2]|0)|0;p=(C(C(b[f+96>>1]|0,-6270)|0,c[i+192>>2]|0)|0)+(C((d<<16>>16)*15137|0,c[i+64>>2]|0)|0)|0;s=C(c[i+224>>2]|0,b[f+112>>1]|0)|0;t=C(c[i+160>>2]|0,b[f+80>>1]|0)|0;r=C(c[i+96>>2]|0,b[f+48>>1]|0)|0;e=C(c[i+32>>2]|0,e<<16>>16)|0;d=(t*11893|0)+(C(s,-1730)|0)+(C(r,-17799)|0)+(e*8697|0)|0;e=(C(t,-4926)|0)+(C(s,-4176)|0)+(r*7373|0)+(e*20995|0)|0;r=p+q+2048|0;c[k>>2]=r+e>>12;c[k+96>>2]=r-e>>12;e=q-p+2048|0;c[k+32>>2]=e+d>>12;d=e-d>>12;e=16}c[k+(e<<2)>>2]=d}}j=j+-1|0;k=k+4|0;i=i+4|0;f=f+2|0}k=l+128|0;j=0;f=m;while(1){if((j|0)==4)break;i=(c[g+(j<<2)>>2]|0)+h|0;e=c[f+4>>2]|0;d=c[f+8>>2]|0;if(!(e|d))if((((c[f+12>>2]|0)==0?(c[f+20>>2]|0)==0:0)?(c[f+24>>2]|0)==0:0)?(c[f+28>>2]|0)==0:0){d=a[k+(((c[f>>2]|0)+16|0)>>>5&1023)>>0]|0;a[i>>0]=d;a[i+1>>0]=d;a[i+2>>0]=d;e=3}else{d=0;n=20}else n=20;if((n|0)==20){n=0;s=c[f>>2]<<14;t=(C(c[f+24>>2]|0,-6270)|0)+(d*15137|0)|0;p=c[f+28>>2]|0;q=c[f+20>>2]|0;r=c[f+12>>2]|0;d=(C(p,-1730)|0)+(e*8697|0)+(q*11893|0)+(C(r,-17799)|0)|0;e=(C(p,-4176)|0)+(e*20995|0)+(C(q,-4926)|0)+(r*7373|0)|0;r=t+s+262144|0;a[i>>0]=a[k+((r+e|0)>>>19&1023)>>0]|0;a[i+3>>0]=a[k+((r-e|0)>>>19&1023)>>0]|0;e=s-t+262144|0;a[i+1>>0]=a[k+((e+d|0)>>>19&1023)>>0]|0;d=a[k+((e-d|0)>>>19&1023)>>0]|0;e=2}a[i+e>>0]=d;j=j+1|0;f=f+32|0}yb=o;return}function $r(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,l=0,m=0,n=0,o=0,p=0;o=yb;yb=yb+64|0;m=o;l=c[d+324>>2]|0;k=8;e=c[e+80>>2]|0;i=m;a:while(1){b:do switch(k|0){case 0:break a;case 2:case 4:case 6:break;default:{j=b[f+16>>1]|0;d=b[f+48>>1]|0;if(!((j|d)<<16>>16))if((b[f+80>>1]|0)==0?(b[f+112>>1]|0)==0:0){j=C(b[f>>1]<<2,c[e>>2]|0)|0;c[i>>2]=j;c[i+32>>2]=j;break b}else d=0;p=C(b[f>>1]<<15,c[e>>2]|0)|0;j=(C(C(b[f+112>>1]|0,-5906)|0,c[e+224>>2]|0)|0)+(C((b[f+80>>1]|0)*6967|0,c[e+160>>2]|0)|0)+(C(C(d<<16>>16,-10426)|0,c[e+96>>2]|0)|0)+(C((j<<16>>16)*29692|0,c[e+32>>2]|0)|0)|0;d=p|4096;c[i>>2]=d+j>>13;c[i+32>>2]=d-j>>13}}while(0);k=k+-1|0;f=f+2|0;e=e+4|0;i=i+4|0}k=l+128|0;j=0;e=m;while(1){if((j|0)==2)break;i=(c[g+(j<<2)>>2]|0)+h|0;f=c[e+4>>2]|0;d=c[e+12>>2]|0;if(!(f|d))if((c[e+20>>2]|0)==0?(c[e+28>>2]|0)==0:0){d=a[k+(((c[e>>2]|0)+16|0)>>>5&1023)>>0]|0;a[i>>0]=d}else{d=0;n=15}else n=15;if((n|0)==15){n=0;p=C(c[e+28>>2]|0,-5906)|0;d=p+(f*29692|0)+((c[e+20>>2]|0)*6967|0)+(C(d,-10426)|0)|0;p=(c[e>>2]<<15)+524288|0;a[i>>0]=a[k+((p+d|0)>>>20&1023)>>0]|0;d=a[k+((p-d|0)>>>20&1023)>>0]|0}a[i+1>>0]=d;j=j+1|0;e=e+32|0}yb=o;return}function as(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;f=a[(c[d+324>>2]|0)+128+(((C(c[c[e+80>>2]>>2]|0,b[f>>1]|0)|0)+4|0)>>>3&1023)>>0]|0;a[(c[g>>2]|0)+h>>0]=f;return}function bs(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,l=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;o=yb;yb=yb+256|0;i=o;m=c[d+324>>2]|0;k=8;l=i;j=c[e+80>>2]|0;while(1){if(!k)break;e=b[f+16>>1]|0;d=b[f+32>>1]|0;if(!((e|d)<<16>>16))if(((((b[f+48>>1]|0)==0?(b[f+64>>1]|0)==0:0)?(b[f+80>>1]|0)==0:0)?(b[f+96>>1]|0)==0:0)?(b[f+112>>1]|0)==0:0){d=C(b[f>>1]<<2,c[j>>2]|0)|0;c[l>>2]=d;c[l+32>>2]=d;c[l+64>>2]=d;c[l+96>>2]=d;c[l+128>>2]=d;c[l+160>>2]=d;c[l+192>>2]=d;e=56}else{d=0;n=10}else n=10;if((n|0)==10){n=0;p=C(c[j+64>>2]|0,d<<16>>16)|0;r=C(c[j+192>>2]|0,b[f+96>>1]|0)|0;d=(r+p|0)*4433|0;r=d+(C(r,-15137)|0)|0;p=d+(p*6270|0)|0;d=C(c[j>>2]|0,b[f>>1]|0)|0;s=C(c[j+128>>2]|0,b[f+64>>1]|0)|0;q=s+d<<13;s=d-s<<13;d=C(c[j+224>>2]|0,b[f+112>>1]|0)|0;z=C(c[j+160>>2]|0,b[f+80>>1]|0)|0;x=C(c[j+96>>2]|0,b[f+48>>1]|0)|0;v=C(c[j+32>>2]|0,e<<16>>16)|0;t=x+d|0;u=v+z|0;e=(u+t|0)*9633|0;w=C(v+d|0,-7373)|0;y=C(x+z|0,-20995)|0;t=e+(C(t,-16069)|0)|0;u=e+(C(u,-3196)|0)|0;d=w+(d*2446|0)+t|0;e=y+(z*16819|0)+u|0;t=y+(x*25172|0)+t|0;u=w+(v*12299|0)+u|0;v=q+p+1024|0;c[l>>2]=v+u>>11;c[l+224>>2]=v-u>>11;u=s+r+1024|0;c[l+32>>2]=u+t>>11;c[l+192>>2]=u-t>>11;r=s-r+1024|0;c[l+64>>2]=r+e>>11;c[l+160>>2]=r-e>>11;e=q-p+1024|0;c[l+96>>2]=e+d>>11;d=e-d>>11;e=32}c[l+(e<<2)>>2]=d;k=k+-1|0;l=l+4|0;j=j+4|0;f=f+2|0}k=m+128|0;j=0;while(1){if((j|0)==8)break;e=(c[g+(j<<2)>>2]|0)+h|0;f=c[i+4>>2]|0;d=c[i+8>>2]|0;if(!(f|d))if(((((c[i+12>>2]|0)==0?(c[i+16>>2]|0)==0:0)?(c[i+20>>2]|0)==0:0)?(c[i+24>>2]|0)==0:0)?(c[i+28>>2]|0)==0:0){z=a[k+(((c[i>>2]|0)+16|0)>>>5&1023)>>0]|0;a[e>>0]=z;XN(e+1|0,z|0,7)|0}else{d=0;n=21}else n=21;if((n|0)==21){n=0;v=c[i+24>>2]|0;y=(v+d|0)*4433|0;v=y+(C(v,-15137)|0)|0;y=y+(d*6270|0)|0;z=c[i>>2]|0;u=c[i+16>>2]|0;x=u+z<<13;u=z-u<<13;z=c[i+28>>2]|0;w=c[i+20>>2]|0;q=c[i+12>>2]|0;t=q+z|0;s=w+f|0;m=(t+s|0)*9633|0;r=C(z+f|0,-7373)|0;p=C(q+w|0,-20995)|0;t=m+(C(t,-16069)|0)|0;s=m+(C(s,-3196)|0)|0;z=r+(z*2446|0)+t|0;w=p+(w*16819|0)+s|0;t=p+(q*25172|0)+t|0;s=r+(f*12299|0)+s|0;r=x+y+131072|0;a[e>>0]=a[k+((r+s|0)>>>18&1023)>>0]|0;a[e+7>>0]=a[k+((r-s|0)>>>18&1023)>>0]|0;s=u+v+131072|0;a[e+1>>0]=a[k+((s+t|0)>>>18&1023)>>0]|0;a[e+6>>0]=a[k+((s-t|0)>>>18&1023)>>0]|0;v=u-v+131072|0;a[e+2>>0]=a[k+((v+w|0)>>>18&1023)>>0]|0;a[e+5>>0]=a[k+((v-w|0)>>>18&1023)>>0]|0;y=x-y+131072|0;a[e+3>>0]=a[k+((y+z|0)>>>18&1023)>>0]|0;a[e+4>>0]=a[k+((y-z|0)>>>18&1023)>>0]|0}j=j+1|0;i=i+32|0}yb=o;return}function cs(a,b){a=a|0;b=b|0;var d=0;d=c[a+432>>2]|0;a:do switch(b|0){case 0:{if(!(c[a+84>>2]|0)){c[d+4>>2]=c[(c[a+452>>2]|0)+4>>2];break a}c[d+4>>2]=4;b=d+12|0;if(!(c[b>>2]|0))c[b>>2]=Kb[c[(c[a+4>>2]|0)+28>>2]&31](a,c[d+8>>2]|0,0,c[d+16>>2]|0,1)|0;break}case 3:{if(!(c[d+8>>2]|0)){b=c[a>>2]|0;c[b+20>>2]=4;Qb[c[b>>2]&255](a)}c[d+4>>2]=5;break}case 2:{if(!(c[d+8>>2]|0)){b=c[a>>2]|0;c[b+20>>2]=4;Qb[c[b>>2]&255](a)}c[d+4>>2]=6;break}default:{b=c[a>>2]|0;c[b+20>>2]=4;Qb[c[b>>2]&255](a)}}while(0);c[d+24>>2]=0;c[d+20>>2]=0;return}function ds(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,l=0,m=0;i=yb;yb=yb+16|0;j=i;m=c[a+432>>2]|0;k=h-(c[g>>2]|0)|0;l=c[m+16>>2]|0;c[j>>2]=0;h=m+12|0;Yb[c[(c[a+452>>2]|0)+4>>2]&7](a,b,d,e,c[h>>2]|0,j,k>>>0>l>>>0?l:k);Vb[c[(c[a+460>>2]|0)+4>>2]&31](a,c[h>>2]|0,f+(c[g>>2]<<2)|0,c[j>>2]|0);c[g>>2]=(c[g>>2]|0)+(c[j>>2]|0);yb=i;return}function es(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,l=0;k=c[a+432>>2]|0;l=k+24|0;f=c[l>>2]|0;if(!f){j=k+16|0;h=Kb[c[(c[a+4>>2]|0)+28>>2]&31](a,c[k+8>>2]|0,c[k+20>>2]|0,c[j>>2]|0,1)|0;i=k+12|0;c[i>>2]=h;f=c[l>>2]|0}else{h=k+12|0;j=k+16|0;i=h;h=c[h>>2]|0}Yb[c[(c[a+452>>2]|0)+4>>2]&7](a,b,d,e,h,l,c[j>>2]|0);h=c[l>>2]|0;if(h>>>0>f>>>0){h=h-f|0;Vb[c[(c[a+460>>2]|0)+4>>2]&31](a,(c[i>>2]|0)+(f<<2)|0,0,h);c[g>>2]=(c[g>>2]|0)+h;h=c[l>>2]|0}f=c[j>>2]|0;if(h>>>0>=f>>>0){k=k+20|0;c[k>>2]=(c[k>>2]|0)+f;c[l>>2]=0}return}function fs(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,l=0;d=c[a+432>>2]|0;j=d+24|0;b=c[j>>2]|0;if(!b){i=d+20|0;e=d+16|0;k=Kb[c[(c[a+4>>2]|0)+28>>2]&31](a,c[d+8>>2]|0,c[i>>2]|0,c[e>>2]|0,0)|0;c[d+12>>2]=k;b=c[j>>2]|0;d=k}else{i=d+20|0;e=d+16|0;d=c[d+12>>2]|0}k=(c[e>>2]|0)-b|0;l=c[g>>2]|0;h=h-l|0;k=k>>>0>h>>>0?h:k;h=(c[a+116>>2]|0)-(c[i>>2]|0)|0;k=k>>>0>h>>>0?h:k;Vb[c[(c[a+460>>2]|0)+4>>2]&31](a,d+(b<<2)|0,f+(l<<2)|0,k);c[g>>2]=(c[g>>2]|0)+k;k=(c[j>>2]|0)+k|0;c[j>>2]=k;b=c[e>>2]|0;if(k>>>0>=b>>>0){c[i>>2]=(c[i>>2]|0)+b;c[j>>2]=0}return}function gs(a){a=a|0;var b=0;b=c[a+452>>2]|0;c[b+92>>2]=c[a+312>>2];c[b+96>>2]=c[a+116>>2];return}function hs(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,l=0,m=0,n=0;l=c[a+452>>2]|0;m=l+92|0;i=c[m>>2]|0;k=a+312|0;e=c[k>>2]|0;if((i|0)>=(e|0)){j=a+36|0;e=c[a+216>>2]|0;i=0;while(1){if((i|0)>=(c[j>>2]|0))break;n=(c[b+(i<<2)>>2]|0)+((C(c[l+100+(i<<2)>>2]|0,c[d>>2]|0)|0)<<2)|0;Vb[c[l+52+(i<<2)>>2]&31](a,e,n,l+12+(i<<2)|0);e=e+84|0;i=i+1|0}c[m>>2]=0;i=0;e=c[k>>2]|0}n=e-i|0;b=l+96|0;j=c[b>>2]|0;n=n>>>0>j>>>0?j:n;j=c[g>>2]|0;h=h-j|0;n=n>>>0>h>>>0?h:n;Wb[c[(c[a+456>>2]|0)+4>>2]&31](a,l+12|0,i,f+(j<<2)|0,n);c[g>>2]=(c[g>>2]|0)+n;c[b>>2]=(c[b>>2]|0)-n;n=(c[m>>2]|0)+n|0;c[m>>2]=n;if((n|0)>=(c[k>>2]|0))c[d>>2]=(c[d>>2]|0)+1;return}function is(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[e>>2]=0;return}function js(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[e>>2]=d;return}function ks(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=c[g>>2]|0;o=b+312|0;l=e+40|0;g=0;while(1){if((g|0)>=(c[o>>2]|0))break;m=c[f+(g<<2)>>2]|0;j=c[p+(g<<2)>>2]|0;h=m+1|0;b=a[m>>0]|0;a[j>>0]=b;a[j+1>>0]=(((b&255)*3|0)+2+(d[h>>0]|0)|0)>>>2;b=c[l>>2]|0;m=m+-1+b|0;k=b<<1;n=j+-2|0;b=b+-2|0;i=j;while(1){e=i+2|0;if(!b)break;q=h+1|0;r=(d[h>>0]|0)*3|0;a[e>>0]=((d[h+-1>>0]|0)+1+r|0)>>>2;a[i+3>>0]=(r+2+(d[q>>0]|0)|0)>>>2;b=b+-1|0;h=q;i=e}r=a[m>>0]|0;a[n+k>>0]=((d[m+-1>>0]|0)+1+((r&255)*3|0)|0)>>>2;a[j+-4+k+3>>0]=r;g=g+1|0}return}function ls(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;i=c[f>>2]|0;j=b+312|0;h=b+112|0;d=0;while(1){if((d|0)>=(c[j>>2]|0))break;b=c[i+(d<<2)>>2]|0;g=b+(c[h>>2]|0)|0;f=c[e+(d<<2)>>2]|0;while(1){if(b>>>0>=g>>>0)break;k=a[f>>0]|0;a[b>>0]=k;a[b+1>>0]=k;f=f+1|0;b=b+2|0}d=d+1|0}return}function ms(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,l=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;v=c[g>>2]|0;u=b+312|0;r=e+40|0;b=0;e=0;while(1){if((b|0)>=(c[u>>2]|0))break;s=f+(e<<2)|0;g=0;m=b;while(1){if((g|0)==2)break;l=c[s>>2]|0;n=c[f+(((g|0)==0?-1:1)+e<<2)>>2]|0;p=c[v+(m<<2)>>2]|0;i=((d[l>>0]|0)*3|0)+(d[n>>0]|0)|0;j=((d[l+1>>0]|0)*3|0)+(d[n+1>>0]|0)|0;a[p>>0]=((i<<2)+8|0)>>>4;a[p+1>>0]=((i*3|0)+7+j|0)>>>4;h=c[r>>2]|0;q=h<<1;t=p+-2|0;h=h+-2|0;l=l+2|0;n=n+2|0;o=p;while(1){k=o+2|0;if(!h)break;x=((d[l>>0]|0)*3|0)+(d[n>>0]|0)|0;w=j*3|0;a[k>>0]=(i+8+w|0)>>>4;a[o+3>>0]=(w+7+x|0)>>>4;w=j;h=h+-1|0;j=x;l=l+1|0;n=n+1|0;o=k;i=w}a[t+q>>0]=(i+8+(j*3|0)|0)>>>4;a[p+-4+q+3>>0]=((j<<2)+7|0)>>>4;g=g+1|0;m=m+1|0}b=b+2|0;e=e+1|0}return}function ns(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,l=0;j=c[f>>2]|0;k=b+312|0;i=b+112|0;d=0;f=0;while(1){if((d|0)>=(c[k>>2]|0))break;g=c[j+(d<<2)>>2]|0;h=g+(c[i>>2]|0)|0;b=c[e+(f<<2)>>2]|0;while(1){if(g>>>0>=h>>>0)break;l=a[b>>0]|0;a[g>>0]=l;a[g+1>>0]=l;b=b+1|0;g=g+2|0}uq(j,d,j,d|1,1,c[i>>2]|0);d=d+2|0;f=f+1|0}return}function os(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=c[b+452>>2]|0;s=c[g>>2]|0;l=c[e+4>>2]|0;p=d[q+140+l>>0]|0;l=a[q+150+l>>0]|0;q=l&255;r=b+312|0;k=b+112|0;l=(l&255)>1;m=q+-1|0;g=0;e=0;while(1){if((g|0)>=(c[r>>2]|0))break;h=c[s+(g<<2)>>2]|0;n=h+(c[k>>2]|0)|0;b=c[f+(e<<2)>>2]|0;while(1){if(h>>>0>=n>>>0)break;o=a[b>>0]|0;i=p;j=h;while(1){if((i|0)<=0)break;a[j>>0]=o;i=i+-1|0;j=j+1|0}b=b+1|0;h=h+p|0}if(l)uq(s,g,s,g+1|0,m,c[k>>2]|0);g=g+q|0;e=e+1|0}return}function ps(a){a=a|0;return}function qs(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;uq(c[b>>2]|0,d,e,0,f,c[a+112>>2]|0);return}function rs(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;q=c[b+456>>2]|0;t=c[b+112>>2]|0;m=c[b+324>>2]|0;n=c[q+8>>2]|0;o=c[q+12>>2]|0;p=c[q+16>>2]|0;q=c[q+20>>2]|0;r=e+4|0;s=e+8|0;b=h;while(1){l=b+-1|0;if((b|0)<=0)break;i=c[(c[e>>2]|0)+(f<<2)>>2]|0;j=c[(c[r>>2]|0)+(f<<2)>>2]|0;k=c[(c[s>>2]|0)+(f<<2)>>2]|0;f=f+1|0;b=c[g>>2]|0;h=0;while(1){if((h|0)==(t|0))break;u=d[i+h>>0]|0;v=d[j+h>>0]|0;w=d[k+h>>0]|0;a[b>>0]=a[m+((c[n+(w<<2)>>2]|0)+u)>>0]|0;a[b+1>>0]=a[m+(((c[p+(w<<2)>>2]|0)+(c[q+(v<<2)>>2]|0)>>16)+u)>>0]|0;a[b+2>>0]=a[m+((c[o+(v<<2)>>2]|0)+u)>>0]|0;b=b+3|0;h=h+1|0}g=g+4|0;b=l}return}function ss(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=c[a+456>>2]|0;d=a+4|0;g=b+8|0;c[g>>2]=Hb[c[c[d>>2]>>2]&63](a,1,1024)|0;e=b+12|0;c[e>>2]=Hb[c[c[d>>2]>>2]&63](a,1,1024)|0;f=b+16|0;c[f>>2]=Hb[c[c[d>>2]>>2]&63](a,1,1024)|0;d=Hb[c[c[d>>2]>>2]&63](a,1,1024)|0;c[b+20>>2]=d;a=-128;b=0;while(1){if((b|0)==256)break;c[(c[g>>2]|0)+(b<<2)>>2]=(a*91881|0)+32768>>16;c[(c[e>>2]|0)+(b<<2)>>2]=(a*116130|0)+32768>>16;h=C(a,-46802)|0;c[(c[f>>2]|0)+(b<<2)>>2]=h;c[d+(b<<2)>>2]=(C(a,-22554)|0)+32768;a=a+1|0;b=b+1|0}return}function ts(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;j=c[b+112>>2]|0;b=g;while(1){i=b+-1|0;if((b|0)<=0)break;h=c[(c[d>>2]|0)+(e<<2)>>2]|0;b=0;g=c[f>>2]|0;while(1){if((b|0)==(j|0))break;k=a[h+b>>0]|0;a[g+2>>0]=k;a[g+1>>0]=k;a[g>>0]=k;b=b+1|0;g=g+3|0}e=e+1|0;f=f+4|0;b=i}return}function us(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,l=0;l=c[b+36>>2]|0;k=c[b+112>>2]|0;b=g;while(1){j=b+-1|0;if((b|0)<=0)break;b=0;while(1){if((b|0)>=(l|0))break;g=k;h=(c[f>>2]|0)+b|0;i=c[(c[d+(b<<2)>>2]|0)+(e<<2)>>2]|0;while(1){if(!g)break;a[h>>0]=a[i>>0]|0;g=g+-1|0;h=h+l|0;i=i+1|0}b=b+1|0}e=e+1|0;f=f+4|0;b=j}return}function vs(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,l=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=c[b+456>>2]|0;v=c[b+112>>2]|0;n=c[b+324>>2]|0;o=c[r+8>>2]|0;p=c[r+12>>2]|0;q=c[r+16>>2]|0;r=c[r+20>>2]|0;s=e+4|0;t=e+8|0;u=e+12|0;b=h;while(1){m=b+-1|0;if((b|0)<=0)break;i=c[(c[e>>2]|0)+(f<<2)>>2]|0;j=c[(c[s>>2]|0)+(f<<2)>>2]|0;k=c[(c[t>>2]|0)+(f<<2)>>2]|0;l=c[(c[u>>2]|0)+(f<<2)>>2]|0;f=f+1|0;b=c[g>>2]|0;h=0;while(1){if((h|0)==(v|0))break;w=d[j+h>>0]|0;y=d[k+h>>0]|0;x=~a[i+h>>0]&255;a[b>>0]=a[n+(x-(c[o+(y<<2)>>2]|0))>>0]|0;a[b+1>>0]=a[n+(x-((c[q+(y<<2)>>2]|0)+(c[r+(w<<2)>>2]|0)>>16))>>0]|0;a[b+2>>0]=a[n+(x-(c[p+(w<<2)>>2]|0))>>0]|0;a[b+3>>0]=a[l+h>>0]|0;b=b+4|0;h=h+1|0}g=g+4|0;b=m}return}function ws(a){a=a|0;var b=0;b=c[a+452>>2]|0;c[b+36>>2]=0;c[b+44>>2]=c[a+116>>2];return}function xs(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,l=0,m=0,n=0;m=yb;yb=yb+16|0;j=m;k=c[a+452>>2]|0;l=k+36|0;if(!(c[l>>2]|0)){e=k+44|0;n=c[e>>2]|0;n=n>>>0<2?n:2;i=c[g>>2]|0;h=h-i|0;h=n>>>0>h>>>0?h:n;c[j>>2]=c[f+(i<<2)>>2];if(h>>>0>1)c[j+4>>2]=c[f+(i+1<<2)>>2];else{c[j+4>>2]=c[k+32>>2];c[l>>2]=1}Vb[c[k+12>>2]&31](a,b,c[d>>2]|0,j)}else{uq(k+32|0,0,f+(c[g>>2]<<2)|0,0,1,c[k+40>>2]|0);c[l>>2]=0;h=1;e=k+44|0}c[g>>2]=(c[g>>2]|0)+h;c[e>>2]=(c[e>>2]|0)-h;if(!(c[l>>2]|0))c[d>>2]=(c[d>>2]|0)+1;yb=m;return}function ys(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,l=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;v=c[b+452>>2]|0;x=c[b+324>>2]|0;y=c[v+16>>2]|0;t=c[v+20>>2]|0;u=c[v+24>>2]|0;v=c[v+28>>2]|0;i=c[e>>2]|0;w=f<<1;h=c[i+(w<<2)>>2]|0;w=c[i+((w|1)<<2)>>2]|0;i=c[(c[e+4>>2]|0)+(f<<2)>>2]|0;s=c[(c[e+8>>2]|0)+(f<<2)>>2]|0;j=c[g>>2]|0;l=c[g+4>>2]|0;m=b+112|0;o=c[m>>2]|0;n=o>>>1;k=n*6|0;p=j+k|0;o=o&-2;q=h+o|0;r=i+n|0;e=n;f=s;g=i;b=w;i=l;while(1){if(!e)break;A=d[g>>0]|0;B=d[f>>0]|0;C=c[y+(B<<2)>>2]|0;B=(c[u+(B<<2)>>2]|0)+(c[v+(A<<2)>>2]|0)>>16;A=c[t+(A<<2)>>2]|0;z=d[h>>0]|0;a[j>>0]=a[x+(C+z)>>0]|0;a[j+1>>0]=a[x+(B+z)>>0]|0;a[j+2>>0]=a[x+(A+z)>>0]|0;z=d[h+1>>0]|0;a[j+3>>0]=a[x+(C+z)>>0]|0;a[j+4>>0]=a[x+(B+z)>>0]|0;a[j+5>>0]=a[x+(A+z)>>0]|0;z=d[b>>0]|0;a[i>>0]=a[x+(C+z)>>0]|0;a[i+1>>0]=a[x+(B+z)>>0]|0;a[i+2>>0]=a[x+(A+z)>>0]|0;z=d[b+1>>0]|0;a[i+3>>0]=a[x+(C+z)>>0]|0;a[i+4>>0]=a[x+(B+z)>>0]|0;a[i+5>>0]=a[x+(A+z)>>0]|0;e=e+-1|0;f=f+1|0;g=g+1|0;b=b+2|0;h=h+2|0;i=i+6|0;j=j+6|0}e=l+k|0;if(c[m>>2]&1|0){B=d[r>>0]|0;A=d[s+n>>0]|0;z=c[y+(A<<2)>>2]|0;A=(c[u+(A<<2)>>2]|0)+(c[v+(B<<2)>>2]|0)>>16;B=c[t+(B<<2)>>2]|0;C=d[q>>0]|0;a[p>>0]=a[x+(z+C)>>0]|0;a[p+1>>0]=a[x+(A+C)>>0]|0;a[p+2>>0]=a[x+(B+C)>>0]|0;C=d[w+o>>0]|0;a[e>>0]=a[x+(z+C)>>0]|0;a[e+1>>0]=a[x+(A+C)>>0]|0;a[e+2>>0]=a[x+(B+C)>>0]|0}return}function zs(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;Vb[c[(c[a+452>>2]|0)+12>>2]&31](a,b,c[d>>2]|0,f+(c[g>>2]<<2)|0);c[g>>2]=(c[g>>2]|0)+1;c[d>>2]=(c[d>>2]|0)+1;return}function As(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,l=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=c[b+452>>2]|0;t=c[b+324>>2]|0;u=c[r+16>>2]|0;p=c[r+20>>2]|0;q=c[r+24>>2]|0;r=c[r+28>>2]|0;s=c[(c[e>>2]|0)+(f<<2)>>2]|0;h=c[(c[e+4>>2]|0)+(f<<2)>>2]|0;o=c[(c[e+8>>2]|0)+(f<<2)>>2]|0;j=c[g>>2]|0;k=b+112|0;m=c[k>>2]|0;l=m>>>1;i=l*6|0;m=m&-2;n=h+l|0;e=l;f=o;g=h;b=s;h=j;while(1){if(!e)break;w=d[g>>0]|0;x=d[f>>0]|0;y=c[u+(x<<2)>>2]|0;x=(c[q+(x<<2)>>2]|0)+(c[r+(w<<2)>>2]|0)>>16;w=c[p+(w<<2)>>2]|0;v=d[b>>0]|0;a[h>>0]=a[t+(y+v)>>0]|0;a[h+1>>0]=a[t+(x+v)>>0]|0;a[h+2>>0]=a[t+(w+v)>>0]|0;v=d[b+1>>0]|0;a[h+3>>0]=a[t+(y+v)>>0]|0;a[h+4>>0]=a[t+(x+v)>>0]|0;a[h+5>>0]=a[t+(w+v)>>0]|0;e=e+-1|0;f=f+1|0;g=g+1|0;b=b+2|0;h=h+6|0}e=j+i|0;if(c[k>>2]&1|0){x=d[n>>0]|0;v=d[o+l>>0]|0;w=(c[q+(v<<2)>>2]|0)+(c[r+(x<<2)>>2]|0)>>16;x=c[p+(x<<2)>>2]|0;y=d[s+m>>0]|0;a[e>>0]=a[t+((c[u+(v<<2)>>2]|0)+y)>>0]|0;a[e+1>>0]=a[t+(w+y)>>0]|0;a[e+2>>0]=a[t+(x+y)>>0]|0}return}function Bs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=c[a+452>>2]|0;d=a+4|0;g=b+16|0;c[g>>2]=Hb[c[c[d>>2]>>2]&63](a,1,1024)|0;e=b+20|0;c[e>>2]=Hb[c[c[d>>2]>>2]&63](a,1,1024)|0;f=b+24|0;c[f>>2]=Hb[c[c[d>>2]>>2]&63](a,1,1024)|0;d=Hb[c[c[d>>2]>>2]&63](a,1,1024)|0;c[b+28>>2]=d;a=-128;b=0;while(1){if((b|0)==256)break;c[(c[g>>2]|0)+(b<<2)>>2]=(a*91881|0)+32768>>16;c[(c[e>>2]|0)+(b<<2)>>2]=(a*116130|0)+32768>>16;h=C(a,-46802)|0;c[(c[f>>2]|0)+(b<<2)>>2]=h;c[d+(b<<2)>>2]=(C(a,-22554)|0)+32768;a=a+1|0;b=b+1|0}return}function Cs(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[a+460>>2]|0;g=c[f+24>>2]|0;e=a+88|0;if(!(c[e>>2]|0))d=0;else{c[e>>2]=2;d=2}if(!b){c[f+4>>2]=(d|0)==2?23:22;c[f+8>>2]=134;b=c[a+132>>2]|0;if((b|0)>=1){if((b|0)>256){d=c[a>>2]|0;c[d+20>>2]=57;c[d+24>>2]=256;Qb[c[c[a>>2]>>2]&255](a)}}else{d=c[a>>2]|0;c[d+20>>2]=56;c[d+24>>2]=1;Qb[c[c[a>>2]>>2]&255](a)}if((c[e>>2]|0)==2){e=((c[a+112>>2]|0)*6|0)+12|0;d=f+32|0;b=c[d>>2]|0;if(!b){b=Hb[c[(c[a+4>>2]|0)+4>>2]&63](a,1,e)|0;c[d>>2]=b}hq(b,e);if(!(c[f+40>>2]|0))Es(a);c[f+36>>2]=0}}else{c[f+4>>2]=21;c[f+8>>2]=133;c[f+28>>2]=1}d=f+28|0;if(c[d>>2]|0){b=0;while(1){if((b|0)==32)break;hq(c[g+(b<<2)>>2]|0,4096);b=b+1|0}c[d>>2]=0}return}function Ds(a){a=a|0;c[(c[a+460>>2]|0)+28>>2]=1;return}function Es(a){a=a|0;var b=0,d=0,e=0;d=c[a+460>>2]|0;e=(Hb[c[c[a+4>>2]>>2]&63](a,1,2044)|0)+1020|0;c[d+40>>2]=e;a=0;while(1){if((a|0)==16)break;c[e+(a<<2)>>2]=a;d=0-a|0;c[e+(d<<2)>>2]=d;a=a+1|0}b=16;a=16;while(1){if(a>>>0>=48)break;c[e+(a<<2)>>2]=b;c[e+(0-a<<2)>>2]=0-b;d=a+1|0;b=(d&1^1)+b|0;a=d}d=0-b|0;while(1){if(a>>>0>=256)break;c[e+(a<<2)>>2]=b;c[e+(0-a<<2)>>2]=d;a=a+1|0}return}function Fs(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,l=0,m=0;j=c[(c[a+460>>2]|0)+24>>2]|0;i=c[a+112>>2]|0;h=0;while(1){if((h|0)>=(g|0))break;f=c[e+(h<<2)>>2]|0;a=i;while(1){if(!a)break;k=(c[j+((d[f>>0]|0)>>>3<<2)>>2]|0)+((d[f+1>>0]|0)>>>2<<6)+((d[f+2>>0]|0)>>>3<<1)|0;m=b[k>>1]|0;l=m+1<<16>>16;b[k>>1]=l<<16>>16==0?m:l;f=f+3|0;a=a+-1|0}h=h+1|0}return}function Gs(a){a=a|0;var b=0;b=c[a+460>>2]|0;c[a+136>>2]=c[b+16>>2];Ns(a,c[b+20>>2]|0);c[b+28>>2]=1;return}function Hs(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=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,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,R=0,S=0,T=0,U=0,V=0;P=c[e+460>>2]|0;T=c[P+24>>2]|0;U=c[e+112>>2]|0;J=c[e+324>>2]|0;K=c[P+40>>2]|0;N=c[e+136>>2]|0;L=c[N>>2]|0;M=c[N+4>>2]|0;N=c[N+8>>2]|0;O=P+36|0;P=P+32|0;Q=U+-1|0;R=Q*3|0;S=(U*3|0)+3|0;F=0;while(1){if((F|0)>=(h|0))break;j=c[f+(F<<2)>>2]|0;i=c[g+(F<<2)>>2]|0;if(!(c[O>>2]|0)){G=3;H=1;I=c[P>>2]|0;k=1}else{G=-3;H=-1;I=(c[P>>2]|0)+(S<<1)|0;i=i+Q|0;j=j+R|0;k=0}c[O>>2]=k;B=G+1|0;D=G+2|0;E=C(U,G)|0;k=0;l=0;m=0;t=0;u=0;v=0;w=0;x=0;y=0;z=U;A=I;while(1){if(!z)break;s=A+(G<<1)|0;r=d[J+((c[K+(k+8+(b[s>>1]|0)>>4<<2)>>2]|0)+(d[j>>0]|0))>>0]|0;q=d[J+((c[K+(l+8+(b[A+(B<<1)>>1]|0)>>4<<2)>>2]|0)+(d[j+1>>0]|0))>>0]|0;p=d[J+((c[K+(m+8+(b[A+(D<<1)>>1]|0)>>4<<2)>>2]|0)+(d[j+2>>0]|0))>>0]|0;l=r>>>3;m=q>>>2;n=p>>>3;o=(c[T+(l<<2)>>2]|0)+(m<<6)+(n<<1)|0;k=b[o>>1]|0;if(!(k<<16>>16)){Ks(e,l,m,n);k=b[o>>1]|0}o=(k&65535)+-1|0;a[i>>0]=o;V=r-(d[L+o>>0]|0)|0;n=q-(d[M+o>>0]|0)|0;o=p-(d[N+o>>0]|0)|0;b[A>>1]=(V*3|0)+w;p=(V*5|0)+t|0;b[A+2>>1]=(n*3|0)+x;q=(n*5|0)+u|0;b[A+4>>1]=(o*3|0)+y;r=(o*5|0)+v|0;k=V*7|0;l=n*7|0;m=o*7|0;t=V;u=n;v=o;w=p;x=q;y=r;z=z+-1|0;A=s;i=i+H|0;j=j+G|0}V=I+(E<<1)|0;b[V>>1]=w;b[V+2>>1]=x;b[V+4>>1]=y;F=F+1|0}return}function Is(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=c[(c[e+460>>2]|0)+24>>2]|0;s=c[e+112>>2]|0;p=0;while(1){if((p|0)>=(h|0))break;n=c[f+(p<<2)>>2]|0;o=s;q=c[g+(p<<2)>>2]|0;while(1){if(!o)break;j=(d[n>>0]|0)>>>3;k=(d[n+1>>0]|0)>>>2;l=(d[n+2>>0]|0)>>>3;m=(c[r+(j<<2)>>2]|0)+(k<<6)+(l<<1)|0;i=b[m>>1]|0;if(!(i<<16>>16)){Ks(e,j,k,l);i=b[m>>1]|0}a[q>>0]=(i&65535)+255;n=n+3|0;o=o+-1|0;q=q+1|0}p=p+1|0}return}function Js(a){a=a|0;return}function Ks(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,l=0,m=0,n=0,o=0;o=yb;yb=yb+384|0;m=o+128|0;h=o;n=c[(c[a+460>>2]|0)+24>>2]|0;k=e>>>2<<5|4;i=f>>>3<<5|2;l=g>>>2<<5|4;Ms(a,k,i,l,Ls(a,k,i,l,m)|0,m,h);m=e&-4;l=f&-8;i=g&-4;f=h;h=0;while(1){if((h|0)==4)break;j=n+(h+m<<2)|0;g=0;a=f;while(1){if((g|0)==8)break;k=a+4|0;e=(c[j>>2]|0)+(g+l<<6)+(i<<1)|0;while(1){if((a|0)==(k|0))break;b[e>>1]=(d[a>>0]|0)+1;e=e+2|0;a=a+1|0}g=g+1|0;a=k}f=f+32|0;h=h+1|0}yb=o;return}function Ls(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,l=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=yb;yb=yb+1024|0;u=w;v=c[b+132>>2]|0;s=e+24|0;n=s+e>>1;o=f+28|0;p=o+f>>1;q=g+24|0;r=q+g>>1;m=b+136|0;t=2147483647;l=0;while(1){if((l|0)>=(v|0))break;k=c[m>>2]|0;b=d[(c[k>>2]|0)+l>>0]|0;do if((b|0)>=(e|0)){if((s|0)<(b|0)){i=b-s<<1;j=b-e<<1;j=C(j,j)|0;b=C(i,i)|0;break}if((n|0)<(b|0)){j=b-e<<1;j=C(j,j)|0;b=0;break}else{j=b-s<<1;j=C(j,j)|0;b=0;break}}else{i=b-e<<1;j=b-s<<1;j=C(j,j)|0;b=C(i,i)|0}while(0);i=d[(c[k+4>>2]|0)+l>>0]|0;do if((i|0)>=(f|0)){if((o|0)<(i|0)){x=(i-o|0)*3|0;i=(i-f|0)*3|0;b=(C(x,x)|0)+b|0;i=C(i,i)|0;break}if((p|0)<(i|0)){i=(i-f|0)*3|0;i=C(i,i)|0;break}else{i=(i-o|0)*3|0;i=C(i,i)|0;break}}else{x=(i-f|0)*3|0;i=(i-o|0)*3|0;b=(C(x,x)|0)+b|0;i=C(i,i)|0}while(0);j=i+j|0;i=d[(c[k+8>>2]|0)+l>>0]|0;do if((i|0)>=(g|0)){if((q|0)<(i|0)){x=i-q|0;i=i-g|0;b=(C(x,x)|0)+b|0;i=C(i,i)|0;break}if((r|0)<(i|0)){i=i-g|0;i=C(i,i)|0;break}else{i=i-q|0;i=C(i,i)|0;break}}else{x=i-g|0;i=i-q|0;b=(C(x,x)|0)+b|0;i=C(i,i)|0}while(0);x=j+i|0;c[u+(l<<2)>>2]=b;t=(x|0)<(t|0)?x:t;l=l+1|0}b=0;i=0;while(1){if((i|0)>=(v|0))break;if((c[u+(i<<2)>>2]|0)<=(t|0)){a[h+b>>0]=i;b=b+1|0}i=i+1|0}yb=w;return b|0}function Ms(b,e,f,g,h,i,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=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,D=0,E=0,F=0,G=0;F=yb;yb=yb+512|0;E=F;k=E;l=127;while(1){if((l|0)<=-1)break;c[k>>2]=2147483647;k=k+4|0;l=l+-1|0}y=b+136|0;x=0;while(1){if((x|0)>=(h|0))break;z=a[i+x>>0]|0;t=z&255;B=c[y>>2]|0;r=e-(d[(c[B>>2]|0)+t>>0]|0)|0;u=r<<1;u=C(u,u)|0;A=f-(d[(c[B+4>>2]|0)+t>>0]|0)|0;p=A*3|0;u=(C(p,p)|0)+u|0;t=g-(d[(c[B+8>>2]|0)+t>>0]|0)|0;A=(A*72|0)+144|0;B=(t<<4)+64|0;p=3;r=(r<<6)+256|0;t=u+(C(t,t)|0)|0;u=j;k=E;while(1){if((p|0)<=-1)break;D=k+128|0;q=A;s=t;v=7;w=u;while(1){if((v|0)<=-1)break;o=k+16|0;l=3;b=B;m=s;n=w;while(1){if((l|0)<=-1)break;if((m|0)<(c[k>>2]|0)){c[k>>2]=m;a[n>>0]=z}G=b+m|0;l=l+-1|0;b=b+128|0;m=G;n=n+1|0;k=k+4|0}k=q+s|0;q=q+288|0;s=k;v=v+-1|0;w=w+4|0;k=o}k=r+t|0;p=p+-1|0;r=r+512|0;t=k;u=u+32|0;k=D}x=x+1|0}yb=F;return}function Ns(a,b){a=a|0;b=b|0;var d=0,e=0;e=Hb[c[c[a+4>>2]>>2]&63](a,1,b<<5)|0;c[e>>2]=0;c[e+4>>2]=31;c[e+8>>2]=0;c[e+12>>2]=63;c[e+16>>2]=0;c[e+20>>2]=31;Os(a,e);d=Ps(a,e,b)|0;b=0;while(1){if((b|0)>=(d|0))break;Qs(a,e+(b<<5)|0,b);b=b+1|0}c[a+132>>2]=d;e=c[a>>2]|0;c[e+20>>2]=96;c[e+24>>2]=d;Sb[c[(c[a>>2]|0)+4>>2]&63](a,1);return}function Os(a,d){a=a|0;d=d|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;t=c[(c[a+460>>2]|0)+24>>2]|0;h=c[d>>2]|0;j=d+4|0;l=c[j>>2]|0;o=d+8|0;n=c[o>>2]|0;p=d+12|0;m=c[p>>2]|0;q=d+16|0;k=c[q>>2]|0;r=d+20|0;s=c[r>>2]|0;a:do if((l|0)>(h|0)){i=h;b:while(1){if((i|0)>(l|0)){i=h;break a}g=t+(i<<2)|0;e=n;while(1){if((e|0)>(m|0))break;a=(c[g>>2]|0)+(e<<6)+(k<<1)|0;f=k;while(1){if((f|0)>(s|0))break;if(b[a>>1]|0)break b;a=a+2|0;f=f+1|0}e=e+1|0}i=i+1|0}c[d>>2]=i}else i=h;while(0);c:do if((l|0)>(i|0)){e=l;d:while(1){if((e|0)<(i|0))break c;h=t+(e<<2)|0;f=n;while(1){if((f|0)>(m|0))break;a=(c[h>>2]|0)+(f<<6)+(k<<1)|0;g=k;while(1){if((g|0)>(s|0))break;if(b[a>>1]|0)break d;a=a+2|0;g=g+1|0}f=f+1|0}e=e+-1|0}c[j>>2]=e;l=e}while(0);e:do if((m|0)>(n|0)){f=n;f:while(1){if((f|0)>(m|0))break e;e=i;while(1){if((e|0)>(l|0))break;a=(c[t+(e<<2)>>2]|0)+(f<<6)+(k<<1)|0;g=k;while(1){if((g|0)>(s|0))break;if(b[a>>1]|0)break f;a=a+2|0;g=g+1|0}e=e+1|0}f=f+1|0}c[o>>2]=f;n=f}while(0);g:do if((m|0)>(n|0)){f=m;h:while(1){if((f|0)<(n|0))break g;e=i;while(1){if((e|0)>(l|0))break;a=(c[t+(e<<2)>>2]|0)+(f<<6)+(k<<1)|0;g=k;while(1){if((g|0)>(s|0))break;if(b[a>>1]|0)break h;a=a+2|0;g=g+1|0}e=e+1|0}f=f+-1|0}c[p>>2]=f;m=f}while(0);i:do if((s|0)>(k|0)){g=k;j:while(1){if((g|0)>(s|0))break i;e=i;while(1){if((e|0)>(l|0))break;a=(c[t+(e<<2)>>2]|0)+(n<<6)+(g<<1)|0;f=n;while(1){if((f|0)>(m|0))break;if(b[a>>1]|0)break j;a=a+64|0;f=f+1|0}e=e+1|0}g=g+1|0}c[q>>2]=g;k=g}while(0);k:do if((s|0)>(k|0)){g=s;l:while(1){if((g|0)<(k|0)){g=s;break k}e=i;while(1){if((e|0)>(l|0))break;a=(c[t+(e<<2)>>2]|0)+(n<<6)+(g<<1)|0;f=n;while(1){if((f|0)>(m|0))break;if(b[a>>1]|0)break l;a=a+64|0;f=f+1|0}e=e+1|0}g=g+-1|0}c[r>>2]=g}else g=s;while(0);s=l-i<<4;r=(m-n|0)*12|0;a=g-k<<3;c[d+24>>2]=(C(r,r)|0)+(C(s,s)|0)+(C(a,a)|0);a=0;while(1){if((i|0)>(l|0))break;j=t+(i<<2)|0;h=n;while(1){if((h|0)>(m|0))break;e=(c[j>>2]|0)+(h<<6)+(k<<1)|0;f=k;while(1){if((f|0)>(g|0))break;a=a+((b[e>>1]|0)!=0&1)|0;e=e+2|0;f=f+1|0}h=h+1|0}i=i+1|0}c[d+28>>2]=a;return}function Ps(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;p=1;while(1){if((p|0)>=(d|0))break;if((p<<1|0)>(d|0))q=Ss(b,p)|0;else q=Rs(b,p)|0;if(!q)break;r=b+(p<<5)|0;f=q+4|0;c[b+(p<<5)+4>>2]=c[f>>2];g=q+12|0;c[b+(p<<5)+12>>2]=c[g>>2];h=q+20|0;c[b+(p<<5)+20>>2]=c[h>>2];c[r>>2]=c[q>>2];m=q+8|0;e=b+(p<<5)+8|0;c[e>>2]=c[m>>2];o=q+16|0;i=b+(p<<5)+16|0;c[i>>2]=c[o>>2];j=c[f>>2]|0;k=c[q>>2]|0;v=j-k<<4;l=c[g>>2]|0;m=c[m>>2]|0;u=(l-m|0)*12|0;n=c[h>>2]|0;o=c[o>>2]|0;t=(v|0)>(u|0);switch(((n-o<<3|0)>((t?v:u)|0)?2:(t^1)&1)&3){case 0:{s=(k+j|0)/2|0;c[f>>2]=s;e=r;f=s;s=11;break}case 1:{f=(m+l|0)/2|0;c[g>>2]=f;s=11;break}case 2:{f=(o+n|0)/2|0;c[h>>2]=f;e=i;s=11;break}default:{}}if((s|0)==11){s=0;c[e>>2]=f+1}Os(a,q);Os(a,r);p=p+1|0}return p|0}function Qs(d,e,f){d=d|0;e=e|0;f=f|0;var 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,u=0,v=0,w=0,x=0;v=c[(c[d+460>>2]|0)+24>>2]|0;w=c[e+4>>2]|0;r=c[e+8>>2]|0;s=c[e+12>>2]|0;t=c[e+16>>2]|0;u=c[e+20>>2]|0;g=0;h=0;i=0;j=0;n=c[e>>2]|0;while(1){if((n|0)>(w|0))break;p=v+(n<<2)|0;q=n<<3|4;o=r;while(1){if((o|0)>(s|0))break;m=o<<2|2;k=(c[p>>2]|0)+(o<<6)+(t<<1)|0;l=t;while(1){if((l|0)>(u|0))break;x=b[k>>1]|0;e=x&65535;if(x<<16>>16){g=(C(l<<3|4,e)|0)+g|0;h=(C(m,e)|0)+h|0;i=(C(q,e)|0)+i|0;j=j+e|0}k=k+2|0;l=l+1|0}o=o+1|0}n=n+1|0}w=j>>1;x=d+136|0;a[(c[c[x>>2]>>2]|0)+f>>0]=(i+w|0)/(j|0)|0;a[(c[(c[x>>2]|0)+4>>2]|0)+f>>0]=(h+w|0)/(j|0)|0;a[(c[(c[x>>2]|0)+8>>2]|0)+f>>0]=(g+w|0)/(j|0)|0;return}function Rs(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=0;d=0;g=0;while(1){if((g|0)>=(b|0))break;f=c[a+28>>2]|0;if((f|0)>(d|0)){h=(c[a+24>>2]|0)>0;e=h?a:e;d=h?f:d}g=g+1|0;a=a+32|0}return e|0}function Ss(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=0;e=0;f=0;while(1){if((f|0)>=(b|0))break;g=c[a+24>>2]|0;h=(g|0)>(e|0);d=h?a:d;e=h?g:e;f=f+1|0;a=a+32|0}return d|0}function Ts(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a+460>>2]|0;c[a+136>>2]=c[d+16>>2];c[a+132>>2]=c[d+20>>2];a:do switch(c[a+88>>2]|0){case 0:{b=d+4|0;if((c[a+120>>2]|0)==3){c[b>>2]=24;break a}else{c[b>>2]=25;break a}}case 1:{c[d+4>>2]=(c[a+120>>2]|0)==3?27:26;c[d+48>>2]=0;if(!(c[d+28>>2]|0))Xs(a);if(!(c[d+52>>2]|0))et(a);break}case 2:{c[d+4>>2]=28;c[d+84>>2]=0;if(!(c[d+68>>2]|0))Ys(a);e=(c[a+112>>2]<<1)+4|0;a=a+120|0;b=0;while(1){if((b|0)>=(c[a>>2]|0))break a;hq(c[d+68+(b<<2)>>2]|0,e);b=b+1|0}}default:{e=c[a>>2]|0;c[e+20>>2]=48;Qb[c[e>>2]&255](a)}}while(0);return}function Us(a){a=a|0;return}function Vs(a){a=a|0;var b=0;b=c[a>>2]|0;c[b+20>>2]=46;Qb[c[b>>2]&255](a);return}function Ws(b){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;n=c[b+460>>2]|0;d=n+32|0;o=_s(b,d)|0;p=b+120|0;e=c[b>>2]|0;if((c[p>>2]|0)==3){c[e+24>>2]=o;c[e+28>>2]=c[d>>2];c[e+32>>2]=c[n+36>>2];c[e+36>>2]=c[n+40>>2];c[e+20>>2]=94;Sb[c[e+4>>2]&63](b,1);d=b}else{c[e+20>>2]=95;c[e+24>>2]=o;Sb[c[(c[b>>2]|0)+4>>2]&63](b,1);d=b}h=Ib[c[(c[b+4>>2]|0)+8>>2]&15](d,1,o,c[p>>2]|0)|0;d=0;f=o;while(1){if((d|0)>=(c[p>>2]|0))break;i=c[n+32+(d<<2)>>2]|0;j=(f|0)/(i|0)|0;k=i+-1|0;l=h+(d<<2)|0;e=0;while(1){if((e|0)>=(i|0))break;m=($s(e,k)|0)&255;b=C(e,j)|0;while(1){if((b|0)>=(o|0))break;g=0;while(1){if((g|0)>=(j|0))break;a[(c[l>>2]|0)+(g+b)>>0]=m;g=g+1|0}b=b+f|0}e=e+1|0}d=d+1|0;f=j}c[n+16>>2]=h;c[n+20>>2]=o;return}function Xs(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=c[b+460>>2]|0;m=(c[b+88>>2]|0)==1;c[l+28>>2]=m&1;j=b+120|0;k=l+24|0;c[k>>2]=Ib[c[(c[b+4>>2]|0)+8>>2]&15](b,1,m?766:256,c[j>>2]|0)|0;b=c[l+20>>2]|0;i=0;while(1){if((i|0)>=(c[j>>2]|0))break;d=c[l+32+(i<<2)>>2]|0;b=(b|0)/(d|0)|0;if(m){h=(c[k>>2]|0)+(i<<2)|0;c[h>>2]=(c[h>>2]|0)+255}h=c[(c[k>>2]|0)+(i<<2)>>2]|0;g=d+-1|0;d=0;e=Zs(0,g)|0;f=0;while(1){if((f|0)==256)break;while(1){if((f|0)<=(e|0))break;e=d+1|0;d=e;e=Zs(e,g)|0}a[h+f>>0]=C(d,b)|0;f=f+1|0}a:do if(m){e=h+255|0;d=1;while(1){if((d|0)==256)break a;a[h+(0-d)>>0]=a[h>>0]|0;a[h+(d+255)>>0]=a[e>>0]|0;d=d+1|0}}while(0);i=i+1|0}return}function Ys(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;d=c[a+460>>2]|0;e=(c[a+112>>2]<<1)+4|0;f=a+120|0;g=a+4|0;b=0;while(1){if((b|0)>=(c[f>>2]|0))break;c[d+68+(b<<2)>>2]=Hb[c[(c[g>>2]|0)+4>>2]&63](a,1,e)|0;b=b+1|0}return}function Zs(a,b){a=a|0;b=b|0;return (((a<<1|1)*255|0)+b|0)/(b<<1|0)|0|0}function _s(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;j=c[a+120>>2]|0;k=c[a+96>>2]|0;g=1;while(1){f=g+1|0;d=f;e=1;while(1){if((e|0)>=(j|0))break;d=C(d,f)|0;e=e+1|0}if((d|0)>(k|0))break;else g=f}if(g>>>0<2){i=c[a>>2]|0;c[i+20>>2]=56;c[i+24>>2]=d;Qb[c[c[a>>2]>>2]&255](a)}e=1;d=0;while(1){if((d|0)>=(j|0))break;c[b+(d<<2)>>2]=g;e=C(e,g)|0;d=d+1|0}i=a+44|0;f=0;h=e;d=0;a:while(1){while(1){if((d|0)<(j|0)){if((c[i>>2]|0)==2)e=c[13640+(d<<2)>>2]|0;else e=d;e=b+(e<<2)|0;a=c[e>>2]|0;g=a+1|0;a=C((h|0)/(a|0)|0,g)|0;if((a|0)<=(k|0))break}if(!f)break a;else{f=0;d=0}}c[e>>2]=g;f=1;h=a;d=d+1|0}return h|0}function $s(a,b){a=a|0;b=b|0;return (((b|0)/2|0)+(a*255|0)|0)/(b|0)|0|0}function at(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,l=0,m=0,n=0;m=c[(c[b+460>>2]|0)+24>>2]|0;n=c[m>>2]|0;l=c[m+4>>2]|0;m=c[m+8>>2]|0;k=c[b+112>>2]|0;i=0;while(1){if((i|0)>=(g|0))break;b=c[e+(i<<2)>>2]|0;h=k;j=c[f+(i<<2)>>2]|0;while(1){if(!h)break;a[j>>0]=(d[l+(d[b+1>>0]|0)>>0]|0)+(d[n+(d[b>>0]|0)>>0]|0)+(d[m+(d[b+2>>0]|0)>>0]|0);b=b+3|0;h=h+-1|0;j=j+1|0}i=i+1|0}return}function bt(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,l=0,m=0,n=0,o=0;n=c[(c[b+460>>2]|0)+24>>2]|0;o=c[b+112>>2]|0;m=c[b+120>>2]|0;k=0;while(1){if((k|0)>=(g|0))break;j=o;l=c[f+(k<<2)>>2]|0;b=c[e+(k<<2)>>2]|0;while(1){if(!j)break;h=0;i=0;while(1){if((i|0)>=(m|0))break;h=h+(d[(c[n+(i<<2)>>2]|0)+(d[b>>0]|0)>>0]|0)|0;i=i+1|0;b=b+1|0}a[l>>0]=h;j=j+-1|0;l=l+1|0}k=k+1|0}return}function ct(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;p=c[b+460>>2]|0;v=c[p+24>>2]|0;w=c[v>>2]|0;u=c[v+4>>2]|0;v=c[v+8>>2]|0;l=c[b+112>>2]|0;m=p+48|0;n=p+52|0;o=p+56|0;p=p+60|0;i=0;while(1){if((i|0)>=(g|0))break;q=c[m>>2]|0;r=c[n>>2]|0;s=c[o>>2]|0;t=c[p>>2]|0;b=c[e+(i<<2)>>2]|0;h=l;j=0;k=c[f+(i<<2)>>2]|0;while(1){if(!h)break;a[k>>0]=(d[u+((c[s+(q<<6)+(j<<2)>>2]|0)+(d[b+1>>0]|0))>>0]|0)+(d[w+((c[r+(q<<6)+(j<<2)>>2]|0)+(d[b>>0]|0))>>0]|0)+(d[v+((c[t+(q<<6)+(j<<2)>>2]|0)+(d[b+2>>0]|0))>>0]|0);b=b+3|0;h=h+-1|0;j=j+1&15;k=k+1|0}c[m>>2]=q+1&15;i=i+1|0}return}function dt(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=c[b+460>>2]|0;v=c[b+120>>2]|0;t=c[b+112>>2]|0;m=u+48|0;n=u+24|0;i=0;while(1){if((i|0)>=(g|0))break;o=f+(i<<2)|0;hq(c[o>>2]|0,t);p=c[m>>2]|0;q=e+(i<<2)|0;j=0;while(1){if((j|0)>=(v|0))break;r=c[(c[n>>2]|0)+(j<<2)>>2]|0;s=c[u+52+(j<<2)>>2]|0;b=(c[q>>2]|0)+j|0;h=t;k=c[o>>2]|0;l=0;while(1){if(!h)break;a[k>>0]=(d[k>>0]|0)+(d[r+((c[s+(p<<6)+(l<<2)>>2]|0)+(d[b>>0]|0))>>0]|0);b=b+v|0;h=h+-1|0;k=k+1|0;l=l+1&15}j=j+1|0}c[m>>2]=p+1&15;i=i+1|0}return}function et(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;f=c[a+460>>2]|0;g=a+120|0;e=0;while(1){if((e|0)>=(c[g>>2]|0))break;d=c[f+32+(e<<2)>>2]|0;b=0;while(1){if(b>>>0>=e>>>0){h=8;break}if((d|0)==(c[f+32+(b<<2)>>2]|0)){h=7;break}b=b+1|0}if((h|0)==7){h=0;b=c[f+52+(b<<2)>>2]|0;if(!b)h=8}if((h|0)==8)b=gt(a,d)|0;c[f+52+(e<<2)>>2]=b;e=e+1|0}return}function ft(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=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,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;H=c[e+460>>2]|0;I=c[e+120>>2]|0;J=c[e+112>>2]|0;w=c[e+324>>2]|0;x=H+84|0;y=H+24|0;z=H+16|0;A=J+-1|0;B=C(A,I)|0;D=0-I|0;E=J+1|0;r=0;while(1){if((r|0)>=(h|0))break;F=g+(r<<2)|0;hq(c[F>>2]|0,J);G=f+(r<<2)|0;s=0;while(1){if((s|0)>=(I|0))break;e=(c[G>>2]|0)+s|0;i=c[F>>2]|0;if(!(c[x>>2]|0)){t=I;u=1;v=c[H+68+(s<<2)>>2]|0}else{t=D;u=-1;v=(c[H+68+(s<<2)>>2]|0)+(E<<1)|0;e=e+B|0;i=i+A|0}o=c[(c[y>>2]|0)+(s<<2)>>2]|0;p=c[(c[z>>2]|0)+(s<<2)>>2]|0;q=C(J,u)|0;j=0;k=0;l=J;m=0;n=v;while(1){if(!l)break;K=n+(u<<1)|0;L=d[w+((j+8+(b[K>>1]|0)>>4)+(d[e>>0]|0))>>0]|0;M=d[o+L>>0]|0;a[i>>0]=(d[i>>0]|0)+M;M=L-(d[p+M>>0]|0)|0;b[n>>1]=(M*3|0)+m;L=(M*5|0)+k|0;j=M*7|0;k=M;l=l+-1|0;m=L;n=K;e=e+t|0;i=i+u|0}b[v+(q<<1)>>1]=m;s=s+1|0}c[x>>2]=(c[x>>2]|0)==0&1;r=r+1|0}return}function gt(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0;g=Hb[c[c[a+4>>2]>>2]&63](a,1,1024)|0;f=(b<<9)+-512|0;b=0;while(1){if((b|0)==16)break;e=0;while(1){if((e|0)==16)break;h=255-((d[3200+(b<<4)+e>>0]|0)<<1)|0;a=h*255|0;if((h|0)<0)a=0-((0-a|0)/(f|0)|0)|0;else a=(a|0)/(f|0)|0;c[g+(b<<6)+(e<<2)>>2]=a;e=e+1|0}b=b+1|0}return g|0}function ht(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=yb;yb=yb+16|0;i=j;e=c[a+20>>2]|0;if((e|0)!=205){h=c[a>>2]|0;c[h+20>>2]=20;c[h+24>>2]=e;Qb[c[c[a>>2]>>2]&255](a)}e=a+140|0;f=c[e>>2]|0;g=c[a+116>>2]|0;if(f>>>0>>0){h=c[a+8>>2]|0;if(h|0){c[h+4>>2]=f;c[h+8>>2]=g;Qb[c[h>>2]&255](a)}c[i>>2]=0;Vb[c[(c[a+424>>2]|0)+4>>2]&31](a,b,i,d);i=c[i>>2]|0;c[e>>2]=(c[e>>2]|0)+i;e=i}else{e=c[a>>2]|0;c[e+20>>2]=123;Sb[c[e+4>>2]&63](a,-1);e=0}yb=j;return e|0}function it(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=a+24|0;d=c[e>>2]|0;if(!d){f=a+4|0;d=Hb[c[c[f>>2]>>2]&63](a,0,40)|0;c[e>>2]=d;c[d+32>>2]=Hb[c[c[f>>2]>>2]&63](a,0,4096)|0;d=c[e>>2]|0}c[d+8>>2]=135;c[d+12>>2]=73;c[d+16>>2]=46;c[d+20>>2]=28;c[d+24>>2]=136;c[d+28>>2]=b;c[d+4>>2]=0;c[d>>2]=0;return}function jt(a){a=a|0;c[(c[a+24>>2]|0)+36>>2]=1;return}function kt(b){b=b|0;var d=0,e=0,f=0,g=0;e=c[b+24>>2]|0;f=e+32|0;d=aB(c[f>>2]|0,1,4096,c[e+28>>2]|0)|0;g=e+36|0;if(!d){if(!(c[g>>2]|0))d=b;else{d=c[b>>2]|0;c[d+20>>2]=42;Qb[c[d>>2]&255](b);d=b}b=c[b>>2]|0;c[b+20>>2]=120;Sb[c[b+4>>2]&63](d,-1);a[c[f>>2]>>0]=-1;a[(c[f>>2]|0)+1>>0]=-39;d=2}c[e>>2]=c[f>>2];c[e+4>>2]=d;c[g>>2]=0;return 1}function lt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=c[a+24>>2]|0;if((b|0)>0){f=e+4|0;while(1){d=c[f>>2]|0;if((b|0)<=(d|0))break;kt(a)|0;b=b-d|0}c[e>>2]=(c[e>>2]|0)+b;c[f>>2]=d-b}return}function mt(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;j=a+416|0;g=c[j>>2]|0;h=c[a>>2]|0;c[h+20>>2]=121;c[h+24>>2]=g;c[(c[a>>2]|0)+28>>2]=b;Sb[c[(c[a>>2]|0)+4>>2]&63](a,-1);h=b+1&7|208;i=b+2&7|208;k=b+7&7|208;d=b+6&7|208;b=g;a:while(1){e=(b|0)<192;f=(b&-8|0)!=208|(b|0)==(h|0)|(b|0)==(i|0);g=(b|0)==(k|0)|(b|0)==(d|0)?2:1;b:while(1){m=e?2:f?3:g;n=c[a>>2]|0;c[n+20>>2]=97;c[n+24>>2]=b;c[(c[a>>2]|0)+28>>2]=m;Sb[c[(c[a>>2]|0)+4>>2]&63](a,4);switch(m&3){case 3:{b=1;break a}case 1:{l=4;break a}case 2:break b;default:{}}}if(!(Oq(a)|0)){b=0;break}b=c[j>>2]|0}if((l|0)==4){c[j>>2]=0;b=1}return b|0}function nt(a){a=a|0;return}function ot(a){a=a|0;c[a>>2]=137;c[a+4>>2]=47;c[a+8>>2]=138;c[a+12>>2]=48;c[a+16>>2]=139;c[a+104>>2]=0;c[a+108>>2]=0;c[a+20>>2]=0;c[a+112>>2]=2048;c[a+116>>2]=123;c[a+120>>2]=0;c[a+124>>2]=0;c[a+128>>2]=0;return a|0}function pt(a){a=a|0;Qb[c[(c[a>>2]|0)+8>>2]&255](a);qq(a);La(1)}function qt(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;if((b|0)>=0){if((c[d+104>>2]|0)>=(b|0))Qb[c[d+8>>2]&255](a)}else{e=d+108|0;b=c[e>>2]|0;if(!((b|0)!=0?(c[d+104>>2]|0)<=2:0)){Qb[c[d+8>>2]&255](a);b=c[e>>2]|0}c[e>>2]=b+1}return}function rt(a){a=a|0;var b=0,d=0,e=0;b=yb;yb=yb+208|0;d=b+200|0;e=b;Sb[c[(c[a>>2]|0)+12>>2]&63](a,e);a=c[3454]|0;c[d>>2]=e;iA(a,38281,d)|0;yb=b;return}function st(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=yb;yb=yb+48|0;i=j+8|0;h=j;g=c[b>>2]|0;f=c[g+20>>2]|0;if((f|0)>0?(f|0)<=(c[g+116>>2]|0):0){b=(c[g+112>>2]|0)+(f<<2)|0;e=8}else{b=c[g+120>>2]|0;if(((b|0)!=0?(e=c[g+124>>2]|0,(f|0)>=(e|0)):0)?(f|0)<=(c[g+128>>2]|0):0){b=b+(f-e<<2)|0;e=8}else e=9}if((e|0)==8){b=c[b>>2]|0;if(!b)e=9}if((e|0)==9){c[g+24>>2]=f;b=c[c[g+112>>2]>>2]|0}e=b;a:while(1){f=e+1|0;switch(a[e>>0]|0){case 0:{e=14;break a}case 37:{e=12;break a}default:e=f}}if((e|0)==12)if((a[f>>0]|0)==115){c[h>>2]=g+24;wz(d,b,h)|0}else e=14;if((e|0)==14){n=c[g+28>>2]|0;m=c[g+32>>2]|0;l=c[g+36>>2]|0;k=c[g+40>>2]|0;e=c[g+44>>2]|0;f=c[g+48>>2]|0;h=c[g+52>>2]|0;c[i>>2]=c[g+24>>2];c[i+4>>2]=n;c[i+8>>2]=m;c[i+12>>2]=l;c[i+16>>2]=k;c[i+20>>2]=e;c[i+24>>2]=f;c[i+28>>2]=h;wz(d,b,i)|0}yb=j;return}function tt(a){a=a|0;a=c[a>>2]|0;c[a+108>>2]=0;c[a+20>>2]=0;return}function ut(){vt();wt();xt();return}function vt(){c[13596]=0;c[13597]=0;c[13598]=0;c[13599]=0;c[13600]=1065353216;return}function wt(){c[13601]=0;c[13602]=0;c[13603]=0;c[13604]=0;c[13605]=1065353216;return}function xt(){yt(0);return}function yt(a){a=a|0;var b=0;a=yb;yb=yb+16|0;b=a;At(38285,29);Ct(38291,74);Ct(38300,75);Ft(38309,29);Ft(38320,30);Ft(38336,31);Jt(38350,32);Ct(38368,76);Mt(38388,77);At(38400,30);Jt(38417,33);At(38437,31);At(38455,32);Jt(38477,34);Jt(38500,35);Ct(38529,78);Ct(38542,79);Ct(38555,80);At(38571,33);Jt(38590,36);Jt(38600,37);Jt(38613,38);Ct(38626,81);Ct(38639,82);bu(38658,140);du(38670,1);fu(38682,1);hu(38705,1);fu(38728,2);hu(38750,2);lu(38772,49);Ct(38789,83);lu(38806,50);Ct(38819,84);lu(38832,51);Ct(38856,85);su(38880,3);hu(38893,3);lu(38906,52);Ct(38924,86);lu(38942,53);Ct(38958,87);lu(38974,54);Ct(38991,88);Au(39008,13652);Au(39037,13656);Au(39065,13660);c[b>>2]=0;Au(39098,b);c[b>>2]=1;Au(39115,b);c[b>>2]=0;Au(39131,b);c[b>>2]=0;Au(39153,b);c[b>>2]=1;Au(39178,b);c[b>>2]=1;Au(39203,b);c[b>>2]=100;Au(39228,b);c[b>>2]=0;Au(39255,b);c[b>>2]=1;Au(39281,b);c[b>>2]=0;Au(39307,b);c[b>>2]=0;Au(39334,b);c[b>>2]=1;Au(39361,b);c[b>>2]=2;Au(39387,b);c[b>>2]=3;Au(39412,b);c[b>>2]=4;Au(39450,b);c[b>>2]=0;Au(39487,b);c[b>>2]=0;Au(39521,b);c[b>>2]=1;Au(39545,b);c[b>>2]=2;Au(39571,b);c[b>>2]=2;Au(39598,b);c[b>>2]=5;Au(39632,b);g[b>>3]=.5;Bu(39650,b);c[b>>2]=0;Au(39671,b);c[b>>2]=1;Au(39690,b);c[b>>2]=2;Au(39708,b);c[b>>2]=3;Au(39726,b);c[b>>2]=4;Au(39745,b);c[b>>2]=3;Au(39767,b);c[b>>2]=515;Au(39786,b);c[b>>2]=259;Au(39815,b);c[b>>2]=4;Au(39843,b);c[b>>2]=772;Au(39862,b);c[b>>2]=1028;Au(39892,b);c[b>>2]=0;Au(39922,b);c[b>>2]=1;Au(39953,b);c[b>>2]=2;Au(39989,b);c[b>>2]=3;Au(40023,b);c[b>>2]=0;Au(40061,b);c[b>>2]=1;Au(40094,b);c[b>>2]=2;Au(40141,b);c[b>>2]=3;Au(40183,b);c[b>>2]=4;Au(40226,b);c[b>>2]=5;Au(40278,b);c[b>>2]=6;Au(40329,b);c[b>>2]=7;Au(40374,b);c[b>>2]=8;Au(40413,b);c[b>>2]=9;Au(40458,b);yb=a;return}function zt(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=yb;yb=yb+16|0;h=i+8|0;f=i+12|0;g=c[13607]|0;c[13607]=g+1;c[f>>2]=g;g=Lu(54384,f)|0;c[g>>2]=c[f>>2];c[g+208>>2]=a;c[g+212>>2]=b;e=C(a<<2,b)|0;a=g+200|0;c[a>>2]=e;b=g+196|0;c[b>>2]=iB(e)|0;e=g+204|0;c[e>>2]=iB((c[a>>2]|0)/4|0)|0;j=fd()|0;c[g+220>>2]=j;if(!j)Ie(0,3,44395,i);tw(c[f>>2]|0,d)|0;c[h>>2]=c[a>>2];Ie(0,1,44432,h);Ea(0,c[g>>2]|0,c[b>>2]|0,c[a>>2]|0,g+296|0,49760,c[e>>2]|0)|0;yb=i;return c[g>>2]|0}function At(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=ow(d)|0;d=pw(d)|0;pa(a|0,e|0,d|0,qw()|0,9,b|0);yb=c;return}function Bt(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;g=yb;yb=yb+16|0;d=g;c[d>>2]=a;if(!(Ku(54384,d)|0))a=-1;else{f=Lu(54384,d)|0;a=f+196|0;b=c[a>>2]|0;if(b|0){jB(b);c[a>>2]=0;c[f+200>>2]=0}kw(f);hd(c[f+220>>2]|0)|0;lw(54384,d)|0;b=f+280|0;d=f+284|0;a=0;while(1){e=c[b>>2]|0;if(a>>>0>=(c[d>>2]|0)-e>>3>>>0)break;Ce(c[e+(a<<3)+4>>2]|0)|0;a=a+1|0}Qu(b);cM(b);Pu(f);cM(f);a=0}yb=g;return a|0}function Ct(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=gw(d)|0;d=hw(d)|0;pa(a|0,e|0,d|0,Ev()|0,39,b|0);yb=c;return}function Dt(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=d;c[b>>2]=a;if(!(Ku(54384,b)|0))a=-1;else{a=Lu(54384,b)|0;c[a+232>>2]=fw(c[a+192>>2]|0)|0;a=0}yb=d;return a|0}function Et(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=yb;yb=yb+16|0;f=g;e=g+4|0;c[e>>2]=b;do if(Ku(54384,e)|0){e=Lu(54384,e)|0;if((a[d+11>>0]|0)<0)d=c[d>>2]|0;b=e+292|0;if(!(ew(d,b,e+220|0)|0)){Ie(0,3,44299,f);b=-1;break}else{b=c[b>>2]|0;break}}else b=-1;while(0);yb=g;return b|0}function Ft(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=aw(d)|0;d=bw(d)|0;pa(a|0,e|0,d|0,Ov()|0,34,b|0);yb=c;return}function Gt(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;g=j+8|0;e=j+12|0;i=j;c[e>>2]=b;do if(!(Ku(54384,e)|0))b=-1;else{h=Lu(54384,e)|0;if((a[d+11>>0]|0)<0)b=c[d>>2]|0;else b=d;f=h+224|0;if(!(Wv(b,c[h+216>>2]|0,h+220|0,f)|0)){Ie(0,3,44223,g);b=-1;break}b=h+280|0;e=h+284|0;d=c[e>>2]|0;c[i>>2]=d-(c[b>>2]|0)>>3;c[i+4>>2]=c[f>>2];if((c[h+288>>2]|0)==(d|0))Xv(b,i);else{f=i;g=c[f+4>>2]|0;h=d;c[h>>2]=c[f>>2];c[h+4>>2]=g;c[e>>2]=(c[e>>2]|0)+8}b=c[i>>2]|0}while(0);yb=j;return b|0}function Ht(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;h=i;e=i+4|0;c[e>>2]=b;do if(Ku(54384,e)|0){f=Lu(54384,e)|0;g=f+240|0;b=c[g>>2]|0;if((a[d+11>>0]|0)<0)e=c[d>>2]|0;else e=d;if(!(Rv(f,b,e)|0)){Ie(0,3,43908,h);b=-1;break}else{c[g>>2]=(c[g>>2]|0)+1;break}}else b=-1;while(0);yb=i;return b|0}function It(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=yb;yb=yb+16|0;e=g;c[e>>2]=a;if(((Ku(54384,e)|0)!=0?(f=Lu(54384,e)|0,(b|0)>=0):0)?(d=c[f+280>>2]|0,(c[f+284>>2]|0)-d>>3>>>0>b>>>0):0)a=c[(c[d+(b<<3)+4>>2]|0)+4>>2]|0;else a=-1;yb=g;return a|0}function Jt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=Mv(d)|0;d=Nv(d)|0;pa(a|0,e|0,d|0,Ov()|0,35,b|0);yb=c;return}function Kt(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=d;c[b>>2]=a;if(!(Ku(54384,b)|0))a=-1;else{a=Lu(54384,b)|0;a=(c[a+284>>2]|0)-(c[a+280>>2]|0)>>3}yb=d;return a|0}function Lt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+208|0;h=i+192|0;g=i+184|0;d=i;e=b+11|0;if((a[e>>0]|0)<0)f=c[b>>2]|0;else f=b;if((_d(f,1,d,g)|0)<0){if((a[e>>0]|0)<0)b=c[b>>2]|0;c[h>>2]=b;Ie(0,3,43844,h);b=-1}else{b=c[13606]|0;c[13606]=b+1;c[g>>2]=b;VN(Iv(54404,g)|0,d|0,184)|0;b=c[g>>2]|0}yb=i;return b|0}function Mt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=Cv(d)|0;d=Dv(d)|0;pa(a|0,e|0,d|0,Ev()|0,40,b|0);yb=c;return}function Nt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=yb;yb=yb+16|0;e=f;c[e>>2]=a;do if(Ku(54384,e)|0){a=c[(Lu(54384,e)|0)+216>>2]|0;if((c[a+44>>2]|0)>(b|0)){c[((b|0)<0?53448:a+48+(b<<8)|0)+16>>2]=d;a=0;break}else{a=c[3415]|0;break}}else a=c[3413]|0;while(0);yb=f;return a|0}function Ot(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;do if(Ku(54384,d)|0){a=c[(Lu(54384,d)|0)+216>>2]|0;if((c[a+44>>2]|0)>(b|0)){a=(b|0)<0?53448:a+48+(b<<8)|0;n=+g[6220];g[a+168>>3]=n;j=+g[6221];g[a+176>>3]=j;m=+g[6222];g[a+184>>3]=m;i=+g[6223];g[a+192>>3]=i;l=+g[6224];g[a+200>>3]=l;h=+g[6225];g[a+208>>3]=h;k=+g[6226];g[a+216>>3]=k;f=+g[6227];g[a+224>>3]=f;g[a+56>>3]=(n+m+l+k)*.25;g[a+64>>3]=(j+i+h+f)*.25;a=0;break}else{a=c[3415]|0;break}}else a=c[3413]|0;while(0);yb=e;return a|0}function Pt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=yb;yb=yb+16|0;e=f;c[e>>2]=a;do if(Ku(54384,e)|0){a=Lu(54384,e)|0;e=c[a+216>>2]|0;if((c[e+44>>2]|0)>(b|0)){+Sc(c[a+228>>2]|0,(b|0)<0?53448:e+48+(b<<8)|0,+(d|0),49760);a=0;break}else{a=c[3415]|0;break}}else a=c[3413]|0;while(0);yb=f;return a|0}function Qt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=yb;yb=yb+16|0;e=f;c[e>>2]=a;do if(Ku(54384,e)|0){a=Lu(54384,e)|0;e=c[a+216>>2]|0;if((c[e+44>>2]|0)>(b|0)){+Tc(c[a+228>>2]|0,(b|0)<0?53448:e+48+(b<<8)|0,49760,+(d|0),49760);a=0;break}else{a=c[3415]|0;break}}else a=c[3413]|0;while(0);yb=f;return a|0}function Rt(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;do if(Ku(54384,d)|0){d=Lu(54384,d)|0;a=c[d+280>>2]|0;if((b|0)<0?1:(c[d+284>>2]|0)-a>>3>>>0<=b>>>0){a=c[3414]|0;break}else{a=c[a+(b<<3)+4>>2]|0;b=c[d+216>>2]|0;+De(c[d+228>>2]|0,b+48|0,c[b+44>>2]|0,a);Bv(a+8|0,49760);a=0;break}}else a=c[3413]|0;while(0);yb=e;return a|0}function St(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;do if(Ku(54384,d)|0){d=Lu(54384,d)|0;a=c[d+280>>2]|0;if((b|0)<0?1:(c[d+284>>2]|0)-a>>3>>>0<=b>>>0){a=c[3414]|0;break}else{a=c[a+(b<<3)+4>>2]|0;b=c[d+216>>2]|0;+Fe(c[d+228>>2]|0,b+48|0,c[b+44>>2]|0,a);Bv(a+8|0,49760);a=0;break}}else a=c[3413]|0;while(0);yb=e;return a|0}function Tt(a){a=a|0;var b=0,d=0,e=0,f=0;f=yb;yb=yb+48|0;b=f+40|0;e=f;c[b>>2]=a;if(!(Ku(54384,b)|0))a=c[3413]|0;else{a=Lu(54384,b)|0;b=e;d=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));c[e>>2]=c[a+196>>2];c[e+16>>2]=1;c[e+12>>2]=c[a+204>>2];a=Kc(c[a+216>>2]|0,e)|0}yb=f;return a|0}function Ut(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=d;c[b>>2]=a;if(!(Ku(54384,b)|0))a=13652;else a=(c[(Lu(54384,b)|0)+216>>2]|0)+44|0;yb=d;return c[a>>2]|0}function Vt(a){a=a|0;var b=0,d=0,e=0,f=0;f=yb;yb=yb+16|0;b=f+4|0;d=f+8|0;e=f;c[b>>2]=a;if(!(Ku(54384,b)|0))a=-1;else{b=Lu(54384,b)|0;c[d>>2]=0;c[e>>2]=-1;a=b+232|0;Nf(c[a>>2]|0,c[b+204>>2]|0)|0;Pf(c[a>>2]|0,d,e)|0;a=c[e>>2]|0}yb=f;return a|0}function Wt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=yb;yb=yb+16|0;e=f;c[e>>2]=a;do if(Ku(54384,e)|0){e=Lu(54384,e)|0;a=c[e+280>>2]|0;if((b|0)<0?1:(c[e+284>>2]|0)-a>>3>>>0<=b>>>0){a=c[3414]|0;break}a=c[a+(b<<3)+4>>2]|0;if((d|0)<0?1:(c[a+4>>2]|0)<=(d|0)){a=c[3415]|0;break}else{a=c[a>>2]|0;Bv(a+(d*320|0)+16|0,49760);Da(1,c[a+(d*320|0)+304>>2]|0,c[a+(d*320|0)>>2]|0,c[a+(d*320|0)+4>>2]|0,+(+g[a+(d*320|0)+8>>3]))|0;a=0;break}}else a=c[3413]|0;while(0);yb=f;return a|0}function Xt(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;do if(Ku(54384,d)|0){a=c[(Lu(54384,d)|0)+216>>2]|0;if((c[a+44>>2]|0)>(b|0)){a=(b|0)<0?53448:a+48+(b<<8)|0;Fa(2,c[a>>2]|0,c[a+4>>2]|0,c[a+8>>2]|0,c[a+12>>2]|0,c[a+16>>2]|0,c[a+20>>2]|0,c[a+24>>2]|0,+(+g[a+32>>3]),+(+g[a+40>>3]),+(+g[a+48>>3]),+(+g[a+56>>3]),+(+g[a+64>>3]),+(+g[a+72>>3]),+(+g[a+80>>3]),+(+g[a+88>>3]),+(+g[a+96>>3]),+(+g[a+104>>3]),+(+g[a+112>>3]),+(+g[a+120>>3]),+(+g[a+128>>3]),+(+g[a+136>>3]),+(+g[a+144>>3]),+(+g[a+152>>3]),+(+g[a+160>>3]),+(+g[a+168>>3]),+(+g[a+176>>3]),+(+g[a+184>>3]),+(+g[a+192>>3]),+(+g[a+200>>3]),+(+g[a+208>>3]),+(+g[a+216>>3]),+(+g[a+224>>3]),c[a+240>>2]|0)|0;a=0;break}else{a=c[3415]|0;break}}else a=c[3413]|0;while(0);yb=e;return a|0}function Yt(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0,i=0,j=0,k=0,l=0.0;k=yb;yb=yb+64|0;d=k+52|0;h=k+56|0;e=k+48|0;j=k;c[d>>2]=a;do if(!(Ku(54384,d)|0))a=c[3413]|0;else{a=Lu(54384,d)|0;if((c[a+240>>2]|0)<=(b|0)){a=c[3415]|0;break}c[h>>2]=0;c[e>>2]=-1;Pf(c[a+232>>2]|0,h,e)|0;i=c[e>>2]|0;h=c[h>>2]|0;g=-1.0;e=-1;d=0;while(1){if((d|0)>=(i|0))break;if((c[h+(d*68|0)+48>>2]|0)==(b|0)?(c[h+(d*68|0)+60>>2]|0)==0:0){l=+f[h+(d*68|0)+52>>2];a=(e|0)==-1|g>l;g=a?l:g;a=a?d:e}else a=e;e=a;d=d+1|0}if((e|0)>-1){d=0;while(1){if((d|0)==3)break;a=0;while(1){if((a|0)==4)break;c[j+(d<<4)+(a<<2)>>2]=c[h+(e*68|0)+(d<<4)+(a<<2)>>2];a=a+1|0}d=d+1|0}Ca(3,b|0,+g,+(+f[j>>2]),+(+f[j+4>>2]),+(+f[j+8>>2]),+(+f[j+12>>2]),+(+f[j+16>>2]),+(+f[j+20>>2]),+(+f[j+24>>2]),+(+f[j+28>>2]),+(+f[j+32>>2]),+(+f[j+36>>2]),+(+f[j+40>>2]),+(+f[j+44>>2]))|0}else Ba(4,b|0)|0;a=0}while(0);yb=k;return a|0}function Zt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(!(Ku(54384,d)|0))b=0;else{a=(b|0)!=0;rc(c[(Lu(54384,d)|0)+216>>2]|0,a&1)|0;c[e>>2]=a?40782:40786;Ie(0,1,40791,e)}yb=f;return b|0}function _t(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Ku(54384,b)|0))a=0;else{vc(c[(Lu(54384,b)|0)+216>>2]|0,d)|0;a=c[d>>2]|0}yb=e;return a|0}function $t(a){a=a|0;var b=0,d=0;d=yb;yb=yb+16|0;b=d;c[b>>2]=a;if(!(Ku(54384,b)|0))a=0;else a=c[(c[(Lu(54384,b)|0)+216>>2]|0)+4834148>>2]|0;yb=d;return a|0}function au(a){a=a|0;c[3368]=a;return}function bu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=wv(d)|0;d=xv(d)|0;pa(a|0,e|0,d|0,yv()|0,55,b|0);yb=c;return}function cu(){return c[3368]|0}function du(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=rv(d)|0;d=sv(d)|0;pa(a|0,e|0,d|0,tv()|0,89,b|0);yb=c;return}function eu(a,b){a=a|0;b=+b;var d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;if(Ku(54384,d)|0)g[(Lu(54384,d)|0)+264>>3]=b;yb=e;return}function fu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=lv(d)|0;d=mv(d)|0;pa(a|0,e|0,d|0,nv()|0,1,b|0);yb=c;return}function gu(a){a=a|0;var b=0.0,d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;if(!(Ku(54384,d)|0))b=-1.0;else b=+g[(Lu(54384,d)|0)+264>>3];yb=e;return +b}function hu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=gv(d)|0;d=hv(d)|0;pa(a|0,e|0,d|0,iv()|0,1,b|0);yb=c;return}function iu(a,b){a=a|0;b=+b;var d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;if(Ku(54384,d)|0)g[(Lu(54384,d)|0)+272>>3]=b;yb=e;return}function ju(a){a=a|0;var b=0.0,d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;if(!(Ku(54384,d)|0))b=-1.0;else b=+g[(Lu(54384,d)|0)+272>>3];yb=e;return +b}function ku(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(Ku(54384,d)|0?(sc(c[(Lu(54384,d)|0)+216>>2]|0,b)|0)==0:0){c[e>>2]=b;Ie(0,1,40740,e)}yb=f;return}function lu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=bv(d)|0;d=cv(d)|0;pa(a|0,e|0,d|0,dv()|0,2,b|0);yb=c;return}function mu(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Ku(54384,b)|0))a=-1;else{a=(Ac(c[(Lu(54384,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}yb=e;return a|0}function nu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=yb;yb=yb+16|0;f=g;d=g+4|0;c[d>>2]=a;if((Ku(54384,d)|0?(e=Lu(54384,d)|0,b>>>0<=255):0)?(yc(c[e+216>>2]|0,b)|0)==0:0){c[f>>2]=b;Ie(0,1,40714,f)}yb=g;return}function ou(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Ku(54384,b)|0))a=-1;else{a=(zc(c[(Lu(54384,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}yb=e;return a|0}function pu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(Ku(54384,d)|0?(Dc(c[(Lu(54384,d)|0)+216>>2]|0,b)|0)==0:0){c[e>>2]=b;Ie(0,1,40679,e)}yb=f;return}function qu(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Ku(54384,b)|0))a=-1;else{a=(Gc(c[(Lu(54384,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}yb=e;return a|0}function ru(a,b){a=a|0;b=+b;var d=0,e=0,f=0,h=0.0,i=0,j=0;j=yb;yb=yb+16|0;i=j;e=j+8|0;c[e>>2]=a;if(((Ku(54384,e)|0?(f=Lu(54384,e)|0,!(b<=0.0|b>=1.0)):0)?(h=b,d=c[f+216>>2]|0,d|0):0)?(Hc(d,h)|0)==0:0){g[i>>3]=h;Ie(0,1,40648,i)}yb=j;return}function su(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=yb;yb=yb+16|0;d=c;e=Wu(d)|0;d=Xu(d)|0;pa(a|0,e|0,d|0,Yu()|0,2,b|0);yb=c;return}function tu(a){a=a|0;var b=0.0,d=0,e=0,f=0;f=yb;yb=yb+16|0;d=f+8|0;e=f;c[d>>2]=a;if(!(Ku(54384,d)|0))b=-1.0;else{a=c[(Lu(54384,d)|0)+216>>2]|0;if(!a)b=-1.0;else{d=(Ic(a,e)|0)==0;b=d?+g[e>>3]:-1.0}}yb=f;return +b}function uu(a,b){a=a|0;b=b|0;var d=0,e=0;e=yb;yb=yb+16|0;d=e;c[d>>2]=a;if(Ku(54384,d)|0)Ec(c[(Lu(54384,d)|0)+216>>2]|0,b)|0;yb=e;return}function vu(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Ku(54384,b)|0))a=-1;else{Fc(c[(Lu(54384,b)|0)+216>>2]|0,d)|0;a=c[d>>2]|0}yb=e;return a|0}function wu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(Ku(54384,d)|0?(wc(c[(Lu(54384,d)|0)+216>>2]|0,b)|0)==0:0){c[e>>2]=b;Ie(0,1,40618,e)}yb=f;return}function xu(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Ku(54384,b)|0))a=-1;else{a=(xc(c[(Lu(54384,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}yb=e;return a|0}function yu(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;e=f;d=f+4|0;c[d>>2]=a;if(Ku(54384,d)|0?(Bc(c[(Lu(54384,d)|0)+216>>2]|0,b)|0)==0:0){c[e>>2]=b;Ie(0,1,40589,e)}yb=f;return}function zu(a){a=a|0;var b=0,d=0,e=0;e=yb;yb=yb+16|0;b=e;d=e+4|0;c[b>>2]=a;if(!(Ku(54384,b)|0))a=-1;else{a=(Cc(c[(Lu(54384,b)|0)+216>>2]|0,d)|0)==0;a=a?c[d>>2]|0:-1}yb=e;return a|0}function Au(a,b){a=a|0;b=b|0;var c=0;c=Gu()|0;ma(a|0,c|0,+(+Iu(Hu(b)|0)));return}function Bu(a,b){a=a|0;b=b|0;var c=0;c=Cu()|0;ma(a|0,c|0,+(+Eu(+Du(b))));return}function Cu(){return Fu()|0}function Du(a){a=a|0;return +(+g[a>>3])}function Eu(a){a=+a;return +a}function Fu(){return 13448}function Gu(){return Ju()|0}function Hu(a){a=a|0;return c[a>>2]|0}function Iu(a){a=a|0;return +(+(a|0))}function Ju(){return 13408}function Ku(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[b>>2]|0;f=c[a+4>>2]|0;a:do if(f){g=f+-1|0;h=(g&f|0)==0;if(!h)if(e>>>0>>0)d=e;else d=(e>>>0)%(f>>>0)|0;else d=g&e;b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(b)while(1){b=c[b>>2]|0;if(!b){b=0;break a}a=c[b+4>>2]|0;if((a|0)==(e|0)){if((c[b+8>>2]|0)==(e|0))break a}else{if(!h){if(a>>>0>=f>>>0)a=(a>>>0)%(f>>>0)|0}else a=a&g;if((a|0)!=(d|0)){b=0;break a}}}else b=0}else b=0;while(0);return b|0}function Lu(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;r=s+4|0;l=s;m=s+16|0;c[l>>2]=b;q=c[b>>2]|0;o=a+4|0;i=c[o>>2]|0;p=(i|0)==0;a:do if(!p){k=i+-1|0;e=(k&i|0)==0;if(!e)if(q>>>0>>0)j=q;else j=(q>>>0)%(i>>>0)|0;else j=k&q;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;n=16}else do{b=c[b>>2]|0;if(!b){b=j;n=16;break a}d=c[b+4>>2]|0;if((d|0)!=(q|0)){if(!e){if(d>>>0>=i>>>0)d=(d>>>0)%(i>>>0)|0}else d=d&k;if((d|0)!=(j|0)){b=j;n=16;break a}}}while((c[b+8>>2]|0)!=(q|0))}else{b=0;n=16}while(0);if((n|0)==16){Mu(r,a,q,56565,l,m);j=a+12|0;g=+(((c[j>>2]|0)+1|0)>>>0);h=+f[a+16>>2];do if(p|h*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;d=~~+B(+(g/h))>>>0;Nu(a,b>>>0>>0?d:b);b=c[o>>2]|0;d=b+-1|0;if(!(d&b)){i=b;b=d&q;break}if(q>>>0>>0){i=b;b=q}else{i=b;b=(q>>>0)%(b>>>0)|0}}while(0);d=c[(c[a>>2]|0)+(b<<2)>>2]|0;if(!d){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(b<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[d>>2];c[d>>2]=c[r>>2];b=r}r=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=r}yb=s;return b+16|0}function Mu(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=aM(448)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];g=h+16|0;XN(g|0,0,432)|0;Vu(g);a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function Nu(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=zB(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=zB(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)Uu(a,b)}}else Uu(a,b);return}function Ou(a){a=a|0;Pu(a+8|0);return}function Pu(a){a=a|0;Qu(a+280|0);Ru(a+244|0);return}function Qu(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function Ru(a){a=a|0;Su(a);return}function Su(a){a=a|0;var b=0;Tu(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)cM(b);return}function Tu(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;cM(b);b=a}return}function Uu(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;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=Q(8)|0;gM(a,40521);c[a>>2]=17440;U(a|0,13288,107)}l=aM(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)cM(d);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)cM(d);c[e>>2]=0}while(0);return}function Vu(a){a=a|0;var b=0,d=0;c[a+192>>2]=0;c[a+196>>2]=0;d=a+204|0;b=a+240|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=0;c[a+260>>2]=1065353216;g[a+264>>3]=.0001;g[a+272>>3]=1.0e3;b=a+280|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[a+424>>2]=2;return}function Wu(a){a=a|0;return 3}function Xu(a){a=a|0;return av()|0}function Yu(){return 40643}function Zu(a,b,c){a=a|0;b=b|0;c=+c;b=_u(b)|0;c=+$u(c);Rb[a&3](b,c);return}function _u(a){a=a|0;return a|0}function $u(a){a=+a;return +a}function av(){return 13664}function bv(a){a=a|0;return 3}function cv(a){a=a|0;return fv()|0}function dv(){return 40735}function ev(a,b,c){a=a|0;b=b|0;c=c|0;b=_u(b)|0;c=_u(c)|0;Sb[a&63](b,c);return}function fv(){return 13676}function gv(a){a=a|0;return 2}function hv(a){a=a|0;return kv()|0}function iv(){return 40766}function jv(a,b){a=a|0;b=b|0;var c=0.0,d=0,e=0;d=yb;yb=yb+16|0;e=d;b=_u(b)|0;g[e>>3]=+Bb[a&3](b);c=+Du(e);yb=d;return +c}function kv(){return 13688}function lv(a){a=a|0;return 3}function mv(a){a=a|0;return qv()|0}function nv(){return 40770}function ov(a,b,c){a=a|0;b=b|0;c=+c;b=_u(b)|0;c=+pv(c);Rb[a&3](b,c);return}function pv(a){a=+a;return +a}function qv(){return 13696}function rv(a){a=a|0;return 1}function sv(a){a=a|0;return vv()|0}function tv(){return 40775}function uv(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=Db[a&1]()|0;a=Hu(d)|0;yb=b;return a|0}function vv(){return 13708}function wv(a){a=a|0;return 2}function xv(a){a=a|0;return Av()|0}function yv(){return 40778}function zv(a,b){a=a|0;b=b|0;b=_u(b)|0;Qb[a&255](b);return}function Av(){return 13712}function Bv(a,b){a=a|0;b=b|0;var c=0,d=0;d=0;while(1){if((d|0)==3)break;c=0;while(1){if((c|0)==4)break;g[b+(d<<5)+(c<<3)>>3]=+g[a+(d<<5)+(c<<3)>>3];c=c+1|0}d=d+1|0}return}function Cv(a){a=a|0;return 2}function Dv(a){a=a|0;return Hv()|0}function Ev(){return 43739}function Fv(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=yb;yb=yb+16|0;f=d+12|0;e=d;Gv(e,b);c[f>>2]=Eb[a&127](e)|0;b=Hu(f)|0;nM(e);yb=d;return b|0}function Gv(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;kM(a,b+4|0,d);return}function Hv(){return 13720}function Iv(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;r=s+4|0;l=s;m=s+16|0;c[l>>2]=b;q=c[b>>2]|0;o=a+4|0;i=c[o>>2]|0;p=(i|0)==0;a:do if(!p){k=i+-1|0;e=(k&i|0)==0;if(!e)if(q>>>0>>0)j=q;else j=(q>>>0)%(i>>>0)|0;else j=k&q;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;n=16}else do{b=c[b>>2]|0;if(!b){b=j;n=16;break a}d=c[b+4>>2]|0;if((d|0)!=(q|0)){if(!e){if(d>>>0>=i>>>0)d=(d>>>0)%(i>>>0)|0}else d=d&k;if((d|0)!=(j|0)){b=j;n=16;break a}}}while((c[b+8>>2]|0)!=(q|0))}else{b=0;n=16}while(0);if((n|0)==16){Jv(r,a,q,56565,l,m);j=a+12|0;g=+(((c[j>>2]|0)+1|0)>>>0);h=+f[a+16>>2];do if(p|h*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;d=~~+B(+(g/h))>>>0;Kv(a,b>>>0>>0?d:b);b=c[o>>2]|0;d=b+-1|0;if(!(d&b)){i=b;b=d&q;break}if(q>>>0>>0){i=b;b=q}else{i=b;b=(q>>>0)%(b>>>0)|0}}while(0);d=c[(c[a>>2]|0)+(b<<2)>>2]|0;if(!d){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(b<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[d>>2];c[d>>2]=c[r>>2];b=r}r=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=r}yb=s;return b+16|0}function Jv(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=aM(200)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];XN(h+16|0,0,184)|0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function Kv(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=zB(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=zB(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)Lv(a,b)}}else Lv(a,b);return}function Lv(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;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=Q(8)|0;gM(a,40521);c[a>>2]=17440;U(a|0,13288,107)}l=aM(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)cM(d);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)cM(d);c[e>>2]=0}while(0);return}function Mv(a){a=a|0;return 3}function Nv(a){a=a|0;return Qv()|0}function Ov(){return 43903}function Pv(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=yb;yb=yb+16|0;f=e;b=_u(b)|0;d=_u(d)|0;c[f>>2]=Gb[a&63](b,d)|0;d=Hu(f)|0;yb=e;return d|0}function Qv(){return 13728}function Rv(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=yb;yb=yb+96|0;r=s+80|0;q=s+72|0;p=s+64|0;o=s+56|0;h=s+48|0;g=s+40|0;k=s+32|0;j=s+24|0;i=s+16|0;f=s+8|0;t=s;l=s+88|0;m=s+92|0;e=s+84|0;c[l>>2]=b;n=c[a+232>>2]|0;c[m>>2]=0;c[t>>2]=d;Ie(0,1,43953,t);do if((ff(d,43971,e)|0)>=0){c[i>>2]=b;Ie(0,1,44015,i);if((gf(c[e>>2]|0,-1,b)|0)<0){Ie(0,3,44040,j);b=0;break}if((df(m,e)|0)<0){Ie(0,3,44076,k);b=0;break}Ie(0,1,44103,g);c[h>>2]=d;Ie(0,1,44112,h);b=We(d,44129,0)|0;if(!b){c[o>>2]=d;Ie(0,3,44134,o)}Ie(0,1,44103,p);c[(Sv(a+244|0,l)|0)>>2]=b;if((uf(n,c[m>>2]|0)|0)<0){Ie(0,3,44167,q);b=0;break}else{ef(m)|0;Ie(0,1,44192,r);b=1;break}}else{c[f>>2]=d;Ie(0,3,43977,f);b=0}while(0);yb=s;return b|0}function Sv(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;r=s+4|0;l=s;m=s+16|0;c[l>>2]=b;q=c[b>>2]|0;o=a+4|0;i=c[o>>2]|0;p=(i|0)==0;a:do if(!p){k=i+-1|0;e=(k&i|0)==0;if(!e)if(q>>>0>>0)j=q;else j=(q>>>0)%(i>>>0)|0;else j=k&q;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;n=16}else do{b=c[b>>2]|0;if(!b){b=j;n=16;break a}d=c[b+4>>2]|0;if((d|0)!=(q|0)){if(!e){if(d>>>0>=i>>>0)d=(d>>>0)%(i>>>0)|0}else d=d&k;if((d|0)!=(j|0)){b=j;n=16;break a}}}while((c[b+8>>2]|0)!=(q|0))}else{b=0;n=16}while(0);if((n|0)==16){Tv(r,a,q,56565,l,m);j=a+12|0;g=+(((c[j>>2]|0)+1|0)>>>0);h=+f[a+16>>2];do if(p|h*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;d=~~+B(+(g/h))>>>0;Uv(a,b>>>0>>0?d:b);b=c[o>>2]|0;d=b+-1|0;if(!(d&b)){i=b;b=d&q;break}if(q>>>0>>0){i=b;b=q}else{i=b;b=(q>>>0)%(b>>>0)|0}}while(0);d=c[(c[a>>2]|0)+(b<<2)>>2]|0;if(!d){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(b<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[d>>2];c[d>>2]=c[r>>2];b=r}r=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=r}yb=s;return b+12|0}function Tv(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=aM(16)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];c[h+12>>2]=0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function Uv(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=zB(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=zB(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)Vv(a,b)}}else Vv(a,b);return}function Vv(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;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=Q(8)|0;gM(a,40521);c[a>>2]=17440;U(a|0,13288,107)}l=aM(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)cM(d);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)cM(d);c[e>>2]=0}while(0);return}function Wv(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=yb;yb=yb+16|0;a=Ge(a,c[d>>2]|0)|0;c[e>>2]=a;a:do if(!a){Ie(0,3,44272,f);hd(c[d>>2]|0)|0;a=0}else switch(c[a+108>>2]|0){case 0:{Dc(b,0)|0;a=1;break a}case 1:{Dc(b,2)|0;a=1;break a}default:{Dc(b,3)|0;a=1;break a}}while(0);yb=f;return a|0}function Xv(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;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=Yv(a)|0;if(g>>>0>>0)KM(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;Zv(d,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>3,a+8|0);g=d+8|0;e=c[b+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=e;c[g>>2]=(c[g>>2]|0)+8;_v(a,d);$v(d);yb=h;return}}function Yv(a){a=a|0;return 536870911}function Zv(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function _v(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>3)<<3)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function $v(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-8|0;c[d>>2]=f;e=f}a=c[a>>2]|0;if(a|0)cM(a);return}function aw(a){a=a|0;return 3}function bw(a){a=a|0;return dw()|0}function cw(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=yb;yb=yb+16|0;g=e+12|0;f=e;b=_u(b)|0;Gv(f,d);c[g>>2]=Gb[a&63](b,f)|0;d=Hu(g)|0;nM(f);yb=e;return d|0}function dw(){return 13740}function ew(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=yb;yb=yb+16|0;e=f;g=qd(c[d>>2]|0,a)|0;c[b>>2]=g;if((g|0)<0){c[e>>2]=a;Ie(0,3,44343,e);hd(c[d>>2]|0)|0;a=0}else a=1;yb=f;return a|0}function fw(a){a=a|0;return _e(a)|0}function gw(a){a=a|0;return 2}function hw(a){a=a|0;return jw()|0}function iw(a,b){a=a|0;b=b|0;var d=0,e=0;d=yb;yb=yb+16|0;e=d;b=_u(b)|0;c[e>>2]=Eb[a&127](b)|0;b=Hu(e)|0;yb=d;return b|0}function jw(){return 13752}function kw(a){a=a|0;var b=0,d=0;b=a+216|0;d=c[b>>2]|0;if(d|0){ed(d)|0;uc(c[b>>2]|0)|0;c[b>>2]=0}b=a+228|0;if(c[b>>2]|0){pc(b)|0;c[b>>2]=0}b=a+192|0;if(c[b>>2]|0){be(b)|0;c[b>>2]=0}return}function lw(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;d=f+4|0;e=f;b=Ku(a,b)|0;if(!b)b=0;else{c[e>>2]=b;c[d>>2]=c[e>>2];mw(a,d)|0;b=1}yb=f;return b|0}function mw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=yb;yb=yb+32|0;h=g+16|0;f=g+4|0;i=g;d=c[d>>2]|0;e=c[d>>2]|0;c[i>>2]=d;c[h>>2]=c[i>>2];nw(f,b,h);d=c[f>>2]|0;c[f>>2]=0;if(d|0){if(a[f+8>>0]|0)Ou(d+8|0);cM(d)}yb=g;return e|0}function nw(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,l=0,m=0,n=0,o=0;o=c[e>>2]|0;l=c[d+4>>2]|0;e=c[o+4>>2]|0;m=l+-1|0;i=(m&l|0)==0;if(!i)if(e>>>0>>0)j=e;else j=(e>>>0)%(l>>>0)|0;else j=m&e;f=(c[d>>2]|0)+(j<<2)|0;n=c[f>>2]|0;while(1){e=c[n>>2]|0;if((e|0)==(o|0))break;else n=e}k=d+8|0;if((n|0)!=(k|0)){e=c[n+4>>2]|0;if(!i){if(e>>>0>=l>>>0)e=(e>>>0)%(l>>>0)|0}else e=e&m;if((e|0)==(j|0))g=o;else h=14}else h=14;do if((h|0)==14){e=c[o>>2]|0;if(e|0){e=c[e+4>>2]|0;if(!i){if(e>>>0>=l>>>0)e=(e>>>0)%(l>>>0)|0}else e=e&m;if((e|0)==(j|0)){g=o;break}}c[f>>2]=0;g=o}while(0);f=c[g>>2]|0;e=f;if(f){f=c[f+4>>2]|0;if(!i){if(f>>>0>=l>>>0)f=(f>>>0)%(l>>>0)|0}else f=f&m;if((f|0)!=(j|0)){c[(c[d>>2]|0)+(f<<2)>>2]=n;e=c[o>>2]|0}}c[n>>2]=e;c[g>>2]=0;d=d+12|0;c[d>>2]=(c[d>>2]|0)+-1;c[b>>2]=o;c[b+4>>2]=k;a[b+8>>0]=1;return}function ow(a){a=a|0;return 4}function pw(a){a=a|0;return sw()|0}function qw(){return 44389}function rw(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;b=_u(b)|0;d=_u(d)|0;e=_u(e)|0;c[g>>2]=Hb[a&63](b,d,e)|0;e=Hu(g)|0;yb=f;return e|0}function sw(){return 3456}function tw(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,h=0,i=0,j=0,k=0,l=0,m=0;m=yb;yb=yb+48|0;l=m+24|0;k=m+16|0;i=m+8|0;f=m;d=m+32|0;e=m+28|0;c[d>>2]=a;c[e>>2]=b;do if((Ku(54384,d)|0)!=0?(j=Lu(54384,d)|0,(uw(54404,e)|0)!=0):0){h=j+8|0;VN(h|0,Iv(54404,e)|0,184)|0;a=c[h>>2]|0;b=j+208|0;d=c[j+12>>2]|0;e=j+212|0;if(!((a|0)==(c[b>>2]|0)?(d|0)==(c[e>>2]|0):0)){c[f>>2]=a;c[f+4>>2]=d;Ie(0,2,44739,f);Rd(h,c[b>>2]|0,c[e>>2]|0,h)|0}kw(j);a=ae(h,15)|0;d=j+192|0;c[d>>2]=a;if(!a){Ie(0,3,44786,i);a=-1;break}a=qc(a)|0;b=j+216|0;c[b>>2]=a;if(!a){Ie(0,3,44824,k);a=-1;break}Jc(a,c[j+424>>2]|0)|0;k=nc(h)|0;c[j+228>>2]=k;if(!k){Ie(0,3,44861,l);a=-1;break}else{dd(c[b>>2]|0,c[j+220>>2]|0)|0;$d(c[d>>2]|0,+g[j+264>>3],+g[j+272>>3],j+296|0);c[j+232>>2]=fw(c[d>>2]|0)|0;a=0;break}}else a=-1;while(0);yb=m;return a|0}function uw(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[b>>2]|0;f=c[a+4>>2]|0;a:do if(f){g=f+-1|0;h=(g&f|0)==0;if(!h)if(e>>>0>>0)d=e;else d=(e>>>0)%(f>>>0)|0;else d=g&e;b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(b)while(1){b=c[b>>2]|0;if(!b){b=0;break a}a=c[b+4>>2]|0;if((a|0)==(e|0)){if((c[b+8>>2]|0)==(e|0))break a}else{if(!h){if(a>>>0>=f>>>0)a=(a>>>0)%(f>>>0)|0}else a=a&g;if((a|0)!=(d|0)){b=0;break a}}}else b=0}else b=0;while(0);return b|0}function vw(){ww();return}function ww(){xw(0);return}function xw(a){a=a|0;ua(yw()|0,44899);la(zw()|0,44904,1,1,0);Aw();Bw();Cw();Dw();Ew();Fw();Gw();Hw();Iw();Jw();Kw();sa(Lw()|0,44909);sa(Mw()|0,44921);ta(Nw()|0,4,44954);na(Ow()|0,44967);Pw();Qw(44983);Rw(45020);Sw(45059);Tw(45090);Uw(45130);Vw(45159);Ww();Xw();Qw(45197);Rw(45229);Sw(45262);Tw(45295);Uw(45329);Vw(45362);Yw();Zw();_w();return}function yw(){return Yx()|0}function zw(){return Xx()|0}function Aw(){qa(Vx()|0,46208,1,-128,127);return}function Bw(){qa(Tx()|0,46196,1,-128,127);return}function Cw(){qa(Rx()|0,46182,1,0,255);return}function Dw(){qa(Px()|0,46176,2,-32768,32767);return}function Ew(){qa(Nx()|0,46161,2,0,65535);return}function Fw(){qa(Lx()|0,46157,4,-2147483648,2147483647);return}function Gw(){qa(Jx()|0,46144,4,0,-1);return}function Hw(){qa(Hx()|0,46139,4,-2147483648,2147483647);return}function Iw(){qa(Fx()|0,46125,4,0,-1);return}function Jw(){oa(Dx()|0,46119,4);return}function Kw(){oa(Bx()|0,46112,8);return}function Lw(){return Ax()|0}function Mw(){return zx()|0}function Nw(){return yx()|0}function Ow(){return xx()|0}function Pw(){ra(vx()|0,0,45906);return}function Qw(a){a=a|0;ra(tx()|0,0,a|0);return}function Rw(a){a=a|0;ra(rx()|0,1,a|0);return}function Sw(a){a=a|0;ra(px()|0,2,a|0);return}function Tw(a){a=a|0;ra(nx()|0,3,a|0);return}function Uw(a){a=a|0;ra(lx()|0,4,a|0);return}function Vw(a){a=a|0;ra(jx()|0,5,a|0);return}function Ww(){ra(hx()|0,4,45659);return}function Xw(){ra(fx()|0,5,45589);return}function Yw(){ra(dx()|0,6,45527);return}function Zw(){ra(bx()|0,7,45464);return}function _w(){ra($w()|0,7,45396);return}function $w(){return ax()|0}function ax(){return 11112}function bx(){return cx()|0}function cx(){return 11120}function dx(){return ex()|0}function ex(){return 11128}function fx(){return gx()|0}function gx(){return 11136}function hx(){return ix()|0}function ix(){return 11144}function jx(){return kx()|0}function kx(){return 11152}function lx(){return mx()|0}function mx(){return 11160}function nx(){return ox()|0}function ox(){return 11168}function px(){return qx()|0}function qx(){return 11176}function rx(){return sx()|0}function sx(){return 11184}function tx(){return ux()|0}function ux(){return 11192}function vx(){return wx()|0}function wx(){return 11200}function xx(){return 11208}function yx(){return 11216}function zx(){return 11240}function Ax(){return 11080}function Bx(){return Cx()|0}function Cx(){return 13448}function Dx(){return Ex()|0}function Ex(){return 13440}function Fx(){return Gx()|0}function Gx(){return 13432}function Hx(){return Ix()|0}function Ix(){return 13424}function Jx(){return Kx()|0}function Kx(){return 13416}function Lx(){return Mx()|0}function Mx(){return 13408}function Nx(){return Ox()|0}function Ox(){return 13400}function Px(){return Qx()|0}function Qx(){return 13392}function Rx(){return Sx()|0}function Sx(){return 13376}function Tx(){return Ux()|0}function Ux(){return 13384}function Vx(){return Wx()|0}function Wx(){return 13368}function Xx(){return 13360}function Yx(){return 13352}function Zx(a){a=a|0;return Nz(c[a+4>>2]|0)|0}function _x(a){a=a|0;var b=0,d=0;b=yb;yb=yb+16|0;d=b;c[d>>2]=dy(c[a+60>>2]|0)|0;a=by(ga(6,d|0)|0)|0;yb=b;return a|0}function $x(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,l=0;k=yb;yb=yb+32|0;f=k+16|0;i=k;c[i>>2]=d;g=i+4|0;j=b+48|0;l=c[j>>2]|0;c[g>>2]=e-((l|0)!=0&1);h=b+44|0;c[i+8>>2]=c[h>>2];c[i+12>>2]=l;c[f>>2]=c[b+60>>2];c[f+4>>2]=i;c[f+8>>2]=2;f=by(ba(145,f|0)|0)|0;if((f|0)>=1){i=c[g>>2]|0;if(f>>>0>i>>>0){g=c[h>>2]|0;h=b+4|0;c[h>>2]=g;c[b+8>>2]=g+(f-i);if(!(c[j>>2]|0))f=e;else{c[h>>2]=g+1;a[d+(e+-1)>>0]=a[g>>0]|0;f=e}}}else c[b>>2]=c[b>>2]|f&48^16;yb=k;return f|0}function ay(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=yb;yb=yb+32|0;h=g+8|0;f=g;c[h>>2]=c[a+60>>2];c[h+4>>2]=d;c[h+8>>2]=b;c[h+12>>2]=f;c[h+16>>2]=e;if((by(aa(140,h|0)|0)|0)<0){a=f;c[a>>2]=-1;c[a+4>>2]=-1;a=-1;b=-1}else{b=f;a=c[b+4>>2]|0;b=c[b>>2]|0}F(a|0);yb=g;return b|0}function by(a){a=a|0;if(a>>>0>4294963200){c[(cy()|0)>>2]=0-a;a=-1}return a|0}function cy(){return 54520}function dy(a){a=a|0;return a|0}function ey(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,l=0,m=0,n=0,o=0;m=yb;yb=yb+48|0;k=m+32|0;g=m+16|0;f=m;i=a+28|0;e=c[i>>2]|0;c[f>>2]=e;j=a+20|0;e=(c[j>>2]|0)-e|0;c[f+4>>2]=e;c[f+8>>2]=b;c[f+12>>2]=d;e=e+d|0;h=a+60|0;c[g>>2]=c[h>>2];c[g+4>>2]=f;c[g+8>>2]=2;g=by(ca(146,g|0)|0)|0;a:do if((e|0)!=(g|0)){b=2;while(1){if((g|0)<0)break;e=e-g|0;o=c[f+4>>2]|0;n=g>>>0>o>>>0;f=n?f+8|0:f;b=b+(n<<31>>31)|0;o=g-(n?o:0)|0;c[f>>2]=(c[f>>2]|0)+o;n=f+4|0;c[n>>2]=(c[n>>2]|0)-o;c[k>>2]=c[h>>2];c[k+4>>2]=f;c[k+8>>2]=b;g=by(ca(146,k|0)|0)|0;if((e|0)==(g|0)){l=3;break a}}c[a+16>>2]=0;c[i>>2]=0;c[j>>2]=0;c[a>>2]=c[a>>2]|32;if((b|0)==2)d=0;else d=d-(c[f+4>>2]|0)|0}else l=3;while(0);if((l|0)==3){o=c[a+44>>2]|0;c[a+16>>2]=o+(c[a+48>>2]|0);c[i>>2]=o;c[j>>2]=o}yb=m;return d|0}function fy(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=yb;yb=yb+32|0;f=g;c[b+36>>2]=2;if((c[b>>2]&64|0)==0?(c[f>>2]=c[b+60>>2],c[f+4>>2]=21523,c[f+8>>2]=g+16,fa(54,f|0)|0):0)a[b+75>>0]=-1;f=ey(b,d,e)|0;yb=g;return f|0}function gy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=hy(a,b,c)|0;F(G()|0);return d|0}function hy(a,b,c){a=a|0;b=b|0;c=c|0;c=iy(a,b,c,-1,-1)|0;F(G()|0);return c|0}function iy(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;j=yb;yb=yb+144|0;h=j;c[h>>2]=0;i=h+4|0;c[i>>2]=a;c[h+44>>2]=a;g=h+8|0;c[g>>2]=(a|0)<0?-1:a+2147483647|0;c[h+76>>2]=-1;jy(h,0,0);d=ky(h,d,1,e,f)|0;e=G()|0;if(b|0)c[b>>2]=a+((c[i>>2]|0)+(c[h+120>>2]|0)-(c[g>>2]|0));F(e|0);yb=j;return d|0}function jy(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=a+112|0;c[f>>2]=b;c[f+4>>2]=d;f=c[a+8>>2]|0;e=c[a+4>>2]|0;g=f-e|0;h=((g|0)<0)<<31>>31;i=a+120|0;c[i>>2]=g;c[i+4>>2]=h;if(((b|0)!=0|(d|0)!=0)&((h|0)>(d|0)|(h|0)==(d|0)&g>>>0>b>>>0))c[a+104>>2]=e+b;else c[a+104>>2]=f;return}function ky(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:do if(e>>>0>36){c[(cy()|0)>>2]=22;h=0;g=0}else{r=b+4|0;q=b+104|0;do{i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=ly(b)|0}while((my(i)|0)!=0);b:do switch(i|0){case 43:case 45:{i=((i|0)==45)<<31>>31;j=c[r>>2]|0;if(j>>>0<(c[q>>2]|0)>>>0){c[r>>2]=j+1;p=i;i=d[j>>0]|0;break b}else{p=i;i=ly(b)|0;break b}}default:p=0}while(0);j=(e|0)==0;do if((e|16|0)==16&(i|0)==48){i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=ly(b)|0;if((i|32|0)!=120)if(j){o=8;n=47;break}else{n=32;break}i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=ly(b)|0;if((d[3713+i>>0]|0)>15){g=(c[q>>2]|0)==0;if(!g)c[r>>2]=(c[r>>2]|0)+-1;if(!f){jy(b,0,0);h=0;g=0;break a}if(g){h=0;g=0;break a}c[r>>2]=(c[r>>2]|0)+-1;h=0;g=0;break a}else{o=16;n=47}}else{e=j?10:e;if(e>>>0>(d[3713+i>>0]|0)>>>0)n=32;else{if(c[q>>2]|0)c[r>>2]=(c[r>>2]|0)+-1;jy(b,0,0);c[(cy()|0)>>2]=22;h=0;g=0;break a}}while(0);c:do if((n|0)==32)if((e|0)==10){e=i+-48|0;if(e>>>0<10){i=0;do{i=(i*10|0)+e|0;e=c[r>>2]|0;if(e>>>0<(c[q>>2]|0)>>>0){c[r>>2]=e+1;j=d[e>>0]|0}else j=ly(b)|0;e=j+-48|0}while(e>>>0<10&i>>>0<429496729);if(e>>>0<10){m=0;do{f=JN(i|0,m|0,10,0)|0;k=G()|0;l=((e|0)<0)<<31>>31;o=~l;if(k>>>0>o>>>0|(k|0)==(o|0)&f>>>0>~e>>>0){f=10;e=m;n=76;break c}i=KN(f|0,k|0,e|0,l|0)|0;m=G()|0;e=c[r>>2]|0;if(e>>>0<(c[q>>2]|0)>>>0){c[r>>2]=e+1;j=d[e>>0]|0}else j=ly(b)|0;e=j+-48|0}while(e>>>0<10&(m>>>0<429496729|(m|0)==429496729&i>>>0<2576980378));if(e>>>0>9){j=p;e=m}else{f=10;e=m;n=76}}else{j=p;e=0}}else{j=p;e=0;i=0}}else{o=e;n=47}while(0);d:do if((n|0)==47){if(!(o+-1&o)){n=a[46213+((o*23|0)>>>5&7)>>0]|0;f=a[3713+i>>0]|0;e=f&255;if(o>>>0>e>>>0){i=0;do{i=e|i<>2]|0;if(e>>>0<(c[q>>2]|0)>>>0){c[r>>2]=e+1;j=d[e>>0]|0}else j=ly(b)|0;f=a[3713+j>>0]|0;e=f&255}while(i>>>0<134217728&o>>>0>e>>>0);k=e;e=0}else{j=i;k=e;e=0;i=0}l=PN(-1,-1,n|0)|0;m=G()|0;if(o>>>0<=k>>>0|(m>>>0>>0|(m|0)==(e|0)&l>>>0>>0)){f=o;n=76;break}while(1){i=QN(i|0,e|0,n|0)|0;e=G()|0;i=i|f&255;j=c[r>>2]|0;if(j>>>0<(c[q>>2]|0)>>>0){c[r>>2]=j+1;j=d[j>>0]|0}else j=ly(b)|0;f=a[3713+j>>0]|0;if(o>>>0<=(f&255)>>>0|(e>>>0>m>>>0|(e|0)==(m|0)&i>>>0>l>>>0)){f=o;n=76;break d}}}e=a[3713+i>>0]|0;f=e&255;if(o>>>0>f>>>0){i=0;do{i=f+(C(i,o)|0)|0;e=c[r>>2]|0;if(e>>>0<(c[q>>2]|0)>>>0){c[r>>2]=e+1;j=d[e>>0]|0}else j=ly(b)|0;e=a[3713+j>>0]|0;f=e&255}while(i>>>0<119304647&o>>>0>f>>>0);k=e;e=0}else{j=i;k=e;i=0;e=0}if(o>>>0>f>>>0){m=ON(-1,-1,o|0,0)|0;n=G()|0;f=k;while(1){if(e>>>0>n>>>0|(e|0)==(n|0)&i>>>0>m>>>0){f=o;n=76;break d}k=JN(i|0,e|0,o|0,0)|0;l=G()|0;f=f&255;if(l>>>0>4294967295|(l|0)==-1&k>>>0>~f>>>0){f=o;n=76;break d}i=KN(k|0,l|0,f|0,0)|0;e=G()|0;j=c[r>>2]|0;if(j>>>0<(c[q>>2]|0)>>>0){c[r>>2]=j+1;j=d[j>>0]|0}else j=ly(b)|0;f=a[3713+j>>0]|0;if(o>>>0<=(f&255)>>>0){f=o;n=76;break}}}else{f=o;n=76}}while(0);if((n|0)==76)if(f>>>0>(d[3713+j>>0]|0)>>>0){do{i=c[r>>2]|0;if(i>>>0<(c[q>>2]|0)>>>0){c[r>>2]=i+1;i=d[i>>0]|0}else i=ly(b)|0}while(f>>>0>(d[3713+i>>0]|0)>>>0);c[(cy()|0)>>2]=34;j=(g&1|0)==0&0==0?p:0;e=h;i=g}else j=p;if(c[q>>2]|0)c[r>>2]=(c[r>>2]|0)+-1;if(!(e>>>0>>0|(e|0)==(h|0)&i>>>0>>0)){if(!((g&1|0)!=0|0!=0|(j|0)!=0)){c[(cy()|0)>>2]=34;g=KN(g|0,h|0,-1,-1)|0;h=G()|0;break}if(e>>>0>h>>>0|(e|0)==(h|0)&i>>>0>g>>>0){c[(cy()|0)>>2]=34;break}}g=((j|0)<0)<<31>>31;g=LN(i^j|0,e^g|0,j|0,g|0)|0;h=G()|0}while(0);F(h|0);return g|0}function ly(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=b+112|0;f=g;e=c[f>>2]|0;f=c[f+4>>2]|0;if(!((e|0)==0&(f|0)==0)?(i=b+120|0,h=c[i+4>>2]|0,!((h|0)<(f|0)|((h|0)==(f|0)?(c[i>>2]|0)>>>0>>0:0))):0)j=4;else{e=ny(b)|0;if((e|0)>=0){f=c[g>>2]|0;g=c[g+4>>2]|0;i=c[b+8>>2]|0;if(!((f|0)==0&(g|0)==0)){h=c[b+4>>2]|0;k=i-h|0;l=((k|0)<0)<<31>>31;m=b+120|0;f=LN(f|0,g|0,c[m>>2]|0,c[m+4>>2]|0)|0;m=G()|0;g=i;if((m|0)>(l|0)|(m|0)==(l|0)&f>>>0>k>>>0)j=9;else c[b+104>>2]=h+(f+-1)}else{g=i;j=9}if((j|0)==9)c[b+104>>2]=i;f=b+4|0;if(!g)f=c[f>>2]|0;else{f=c[f>>2]|0;k=g+1-f|0;m=b+120|0;l=m;k=KN(c[l>>2]|0,c[l+4>>2]|0,k|0,((k|0)<0)<<31>>31|0)|0;l=G()|0;c[m>>2]=k;c[m+4>>2]=l}f=f+-1|0;if((e|0)!=(d[f>>0]|0|0))a[f>>0]=e}else j=4}if((j|0)==4){c[b+104>>2]=0;e=-1}return e|0}function my(a){a=a|0;return ((a|0)==32|(a+-9|0)>>>0<5)&1|0}function ny(a){a=a|0;var b=0,e=0;e=yb;yb=yb+16|0;b=e;if((oy(a)|0)==0?(Hb[c[a+32>>2]&63](a,b,1)|0)==1:0)a=d[b>>0]|0;else a=-1;yb=e;return a|0}function oy(b){b=b|0;var d=0,e=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;d=b+20|0;e=b+28|0;if((c[d>>2]|0)>>>0>(c[e>>2]|0)>>>0)Hb[c[b+36>>2]&63](b,0,0)|0;c[b+16>>2]=0;c[e>>2]=0;c[d>>2]=0;d=c[b>>2]|0;if(!(d&4)){e=(c[b+44>>2]|0)+(c[b+48>>2]|0)|0;c[b+8>>2]=e;c[b+4>>2]=e;d=d<<27>>31}else{c[b>>2]=d|32;d=-1}return d|0}function py(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=qy(a,b,c)|0;F(G()|0);return d|0}function qy(a,b,c){a=a|0;b=b|0;c=c|0;c=iy(a,b,c,0,-2147483648)|0;F(G()|0);return c|0}function ry(a,b){a=+a;b=b|0;var d=0,e=0,f=0;g[h>>3]=a;d=c[h>>2]|0;e=c[h+4>>2]|0;f=PN(d|0,e|0,52)|0;G()|0;switch(f&2047){case 0:{if(a!=0.0){a=+ry(a*18446744073709551616.0,b);d=(c[b>>2]|0)+-64|0}else d=0;c[b>>2]=d;break}case 2047:break;default:{c[b>>2]=(f&2047)+-1022;c[h>>2]=d;c[h+4>>2]=e&-2146435073|1071644672;a=+g[h>>3]}}return +a}function sy(a,b){a=+a;b=b|0;var d=0,e=0;if((b|0)<=1023){if((b|0)<-1022){a=a*2.2250738585072014e-308;e=(b|0)<-2044;d=b+2044|0;a=e?a*2.2250738585072014e-308:a;b=e?((d|0)>-1022?d:-1022):b+1022|0}}else{a=a*8988465674311579538646525.0e283;d=(b|0)>2046;e=b+-2046|0;a=d?a*8988465674311579538646525.0e283:a;b=d?((e|0)<1023?e:1023):b+-1023|0}d=QN(b+1023|0,0,52)|0;e=G()|0;c[h>>2]=d;c[h+4>>2]=e;return +(a*+g[h>>3])}function ty(a,b){a=+a;b=+b;var d=0,e=0;g[h>>3]=a;e=c[h>>2]|0;d=c[h+4>>2]|0;g[h>>3]=b;d=c[h+4>>2]&-2147483648|d&2147483647;c[h>>2]=e;c[h+4>>2]=d;return +(+g[h>>3])}function uy(a,b){a=+a;b=b|0;return +(+sy(a,b))}function vy(a,b){a=+a;b=+b;return +(+wy(a,b))}function wy(a,b){a=+a;b=+b;var d=0,e=0,f=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g[h>>3]=a;j=c[h>>2]|0;l=c[h+4>>2]|0;g[h>>3]=b;n=c[h>>2]|0;o=c[h+4>>2]|0;e=PN(j|0,l|0,52)|0;G()|0;e=e&2047;m=PN(n|0,o|0,52)|0;G()|0;m=m&2047;p=l&-2147483648;i=QN(n|0,o|0,1)|0;k=G()|0;a:do if(!((i|0)==0&(k|0)==0)?(f=xy(b)|0,d=(G()|0)&2147483647,!((e|0)==2047|(d>>>0>2146435072|(d|0)==2146435072&f>>>0>0))):0){d=QN(j|0,l|0,1)|0;f=G()|0;if(!(f>>>0>k>>>0|(f|0)==(k|0)&d>>>0>i>>>0))return +((d|0)==(i|0)&(f|0)==(k|0)?a*0.0:a);if(!e){d=QN(j|0,l|0,12)|0;f=G()|0;if((f|0)>-1|(f|0)==-1&d>>>0>4294967295){e=0;do{e=e+-1|0;d=QN(d|0,f|0,1)|0;f=G()|0}while((f|0)>-1|(f|0)==-1&d>>>0>4294967295)}else e=0;j=QN(j|0,l|0,1-e|0)|0;i=G()|0}else i=l&1048575|1048576;if(!m){f=QN(n|0,o|0,12)|0;k=G()|0;if((k|0)>-1|(k|0)==-1&f>>>0>4294967295){d=0;do{d=d+-1|0;f=QN(f|0,k|0,1)|0;k=G()|0}while((k|0)>-1|(k|0)==-1&f>>>0>4294967295)}else d=0;n=QN(n|0,o|0,1-d|0)|0;m=d;l=G()|0}else l=o&1048575|1048576;f=LN(j|0,i|0,n|0,l|0)|0;d=G()|0;k=(d|0)>-1|(d|0)==-1&f>>>0>4294967295;b:do if((e|0)>(m|0)){while(1){if(k){if((f|0)==0&(d|0)==0)break}else{f=j;d=i}j=QN(f|0,d|0,1)|0;i=G()|0;e=e+-1|0;f=LN(j|0,i|0,n|0,l|0)|0;d=G()|0;k=(d|0)>-1|(d|0)==-1&f>>>0>4294967295;if((e|0)<=(m|0))break b}b=a*0.0;break a}while(0);if(k){if((f|0)==0&(d|0)==0){b=a*0.0;break}}else{d=i;f=j}if(d>>>0<1048576|(d|0)==1048576&f>>>0<0)do{f=QN(f|0,d|0,1)|0;d=G()|0;e=e+-1|0}while(d>>>0<1048576|(d|0)==1048576&f>>>0<0);if((e|0)>0){o=KN(f|0,d|0,0,-1048576)|0;d=G()|0;e=QN(e|0,0,52)|0;d=d|(G()|0);e=o|e}else{e=PN(f|0,d|0,1-e|0)|0;d=G()|0}c[h>>2]=e;c[h+4>>2]=d|p;b=+g[h>>3]}else q=3;while(0);if((q|0)==3){b=a*b;b=b/b}return +b}function xy(a){a=+a;var b=0;g[h>>3]=a;b=c[h>>2]|0;F(c[h+4>>2]|0);return b|0}function yy(a,b){a=+a;b=b|0;return +(+sy(a,b))}function zy(a,b){a=+a;b=+b;return +(+ty(a,b))}function Ay(a){a=+a;return ~~+ZN(+a)|0}function By(a,b){a=a|0;b=b|0;var d=0,e=0;d=yb;yb=yb+16|0;e=d;c[e>>2]=a;c[e+4>>2]=b;b=by(ha(91,e|0)|0)|0;yb=d;return b|0}function Cy(){return}function Dy(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=d&255;a:do if(!f)b=b+(Ey(b)|0)|0;else{if(b&3){e=d&255;do{g=a[b>>0]|0;if(g<<24>>24==0?1:g<<24>>24==e<<24>>24)break a;b=b+1|0}while((b&3|0)!=0)}f=C(f,16843009)|0;e=c[b>>2]|0;b:do if(!((e&-2139062144^-2139062144)&e+-16843009))do{g=e^f;if((g&-2139062144^-2139062144)&g+-16843009|0)break b;b=b+4|0;e=c[b>>2]|0}while(!((e&-2139062144^-2139062144)&e+-16843009|0));while(0);e=d&255;while(1){g=a[b>>0]|0;if(g<<24>>24==0?1:g<<24>>24==e<<24>>24)break;else b=b+1|0}}while(0);return b|0}function Ey(b){b=b|0;var d=0,e=0,f=0;f=b;a:do if(!(f&3))e=5;else{d=f;while(1){if(!(a[b>>0]|0)){b=d;break a}b=b+1|0;d=b;if(!(d&3)){e=5;break}}}while(0);if((e|0)==5){while(1){d=c[b>>2]|0;if(!((d&-2139062144^-2139062144)&d+-16843009))b=b+4|0;else break}if((d&255)<<24>>24)do b=b+1|0;while((a[b>>0]|0)!=0)}return b-f|0}function Fy(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,l=0,m=0,n=0;m=yb;yb=yb+208|0;j=m;k=m+192|0;h=C(d,b)|0;i=k;c[i>>2]=1;c[i+4>>2]=0;a:do if(h|0){i=0-d|0;c[j+4>>2]=d;c[j>>2]=d;f=2;b=d;g=d;while(1){b=b+d+g|0;c[j+(f<<2)>>2]=b;if(b>>>0>>0){n=g;f=f+1|0;g=b;b=n}else break}g=a+h+i|0;if(g>>>0>a>>>0){h=g;f=1;b=1;do{do if((b&3|0)!=3){b=f+-1|0;if((c[j+(b<<2)>>2]|0)>>>0<(h-a|0)>>>0)Gy(a,d,e,f,j);else Iy(a,d,e,k,f,0,j);if((f|0)==1){Jy(k,1);f=0;break}else{Jy(k,b);f=1;break}}else{Gy(a,d,e,f,j);Hy(k,2);f=f+2|0}while(0);b=c[k>>2]|1;c[k>>2]=b;a=a+d|0}while(a>>>0>>0)}else{f=1;b=1}Iy(a,d,e,k,f,0,j);g=k+4|0;while(1){if((f|0)==1&(b|0)==1)if(!(c[g>>2]|0))break a;else l=19;else if((f|0)<2)l=19;else{Jy(k,2);n=f+-2|0;c[k>>2]=c[k>>2]^7;Hy(k,1);Iy(a+(0-(c[j+(n<<2)>>2]|0))+i|0,d,e,k,f+-1|0,1,j);Jy(k,1);b=c[k>>2]|1;c[k>>2]=b;a=a+i|0;Iy(a,d,e,k,n,1,j);f=n}if((l|0)==19){l=0;b=Ky(k)|0;Hy(k,b);a=a+i|0;f=b+f|0;b=c[k>>2]|0}}}while(0);yb=m;return}function Gy(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,l=0,m=0;m=yb;yb=yb+240|0;l=m;c[l>>2]=a;a:do if((e|0)>1){k=0-b|0;i=a;g=e;e=1;h=a;while(1){i=i+k|0;j=g+-2|0;a=i+(0-(c[f+(j<<2)>>2]|0))|0;if((Gb[d&63](h,a)|0)>-1?(Gb[d&63](h,i)|0)>-1:0)break a;h=l+(e<<2)|0;if((Gb[d&63](a,i)|0)>-1){c[h>>2]=a;g=g+-1|0}else{c[h>>2]=i;a=i;g=j}e=e+1|0;if((g|0)<=1)break a;i=a;h=c[l>>2]|0}}else e=1;while(0);My(b,l,e);yb=m;return}function Hy(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=a+4|0;if(b>>>0>31){e=c[f>>2]|0;c[a>>2]=e;c[f>>2]=0;b=b+-32|0;d=0}else{d=c[f>>2]|0;e=c[a>>2]|0}c[a>>2]=d<<32-b|e>>>b;c[f>>2]=d>>>b;return}function Iy(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,l=0,m=0,n=0,o=0,p=0;o=yb;yb=yb+240|0;m=o+232|0;n=o;p=c[e>>2]|0;c[m>>2]=p;j=c[e+4>>2]|0;k=m+4|0;c[k>>2]=j;c[n>>2]=a;a:do if((p|0)!=1|(j|0)!=0?(l=0-b|0,i=a+(0-(c[h+(f<<2)>>2]|0))|0,(Gb[d&63](i,a)|0)>=1):0){e=1;g=(g|0)==0;j=i;while(1){if(g&(f|0)>1){g=a+l|0;i=c[h+(f+-2<<2)>>2]|0;if((Gb[d&63](g,j)|0)>-1){i=10;break a}if((Gb[d&63](g+(0-i)|0,j)|0)>-1){i=10;break a}}g=e+1|0;c[n+(e<<2)>>2]=j;p=Ky(m)|0;Hy(m,p);f=p+f|0;if(!((c[m>>2]|0)!=1|(c[k>>2]|0)!=0)){e=g;a=j;i=10;break a}a=j+(0-(c[h+(f<<2)>>2]|0))|0;if((Gb[d&63](a,c[n>>2]|0)|0)<1){a=j;e=g;g=0;i=9;break}else{p=j;e=g;g=1;j=a;a=p}}}else{e=1;i=9}while(0);if((i|0)==9?(g|0)==0:0)i=10;if((i|0)==10){My(b,n,e);Gy(a,b,d,f,h)}yb=o;return}function Jy(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=a+4|0;if(b>>>0>31){e=c[a>>2]|0;c[f>>2]=e;c[a>>2]=0;b=b+-32|0;d=0}else{d=c[a>>2]|0;e=c[f>>2]|0}c[f>>2]=d>>>(32-b|0)|e<>2]=d<>2]|0)+-1|0)|0;if(!b){b=Ly(c[a+4>>2]|0)|0;return ((b|0)==0?0:b+32|0)|0}else return b|0;return 0}function Ly(a){a=a|0;var b=0;if(a)if(!(a&1)){b=a;a=0;while(1){a=a+1|0;if(!(b&2))b=b>>>1;else break}}else a=0;else a=32;return a|0}function My(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=yb;yb=yb+256|0;e=h;a:do if((d|0)>=2?(g=b+(d<<2)|0,c[g>>2]=e,a|0):0)while(1){f=a>>>0<256?a:256;VN(e|0,c[b>>2]|0,f|0)|0;e=0;do{i=b+(e<<2)|0;e=e+1|0;VN(c[i>>2]|0,c[b+(e<<2)>>2]|0,f|0)|0;c[i>>2]=(c[i>>2]|0)+f}while((e|0)!=(d|0));a=a-f|0;if(!a)break a;e=c[g>>2]|0}while(0);yb=h;return}function Ny(b,c){b=b|0;c=c|0;var d=0,e=0;d=a[b>>0]|0;e=a[c>>0]|0;if(d<<24>>24==0?1:d<<24>>24!=e<<24>>24)b=e;else{do{b=b+1|0;c=c+1|0;d=a[b>>0]|0;e=a[c>>0]|0}while(!(d<<24>>24==0?1:d<<24>>24!=e<<24>>24));b=e}return (d&255)-(b&255)|0}function Oy(a,b){a=a|0;b=b|0;Qy(a,b)|0;return a|0}function Py(a,b){a=a|0;b=b|0;Oy(a+(Ey(a)|0)|0,b)|0;return a|0}function Qy(b,d){b=b|0;d=d|0;var e=0,f=0;e=d;a:do if(!((e^b)&3)){if(e&3)do{e=a[d>>0]|0;a[b>>0]=e;if(!(e<<24>>24))break a;d=d+1|0;b=b+1|0}while((d&3|0)!=0);e=c[d>>2]|0;if(!((e&-2139062144^-2139062144)&e+-16843009)){f=b;while(1){d=d+4|0;b=f+4|0;c[f>>2]=e;e=c[d>>2]|0;if((e&-2139062144^-2139062144)&e+-16843009|0)break;else f=b}}f=10}else f=10;while(0);if((f|0)==10){f=a[d>>0]|0;a[b>>0]=f;if(f<<24>>24)do{d=d+1|0;b=b+1|0;f=a[d>>0]|0;a[b>>0]=f}while(f<<24>>24!=0)}return b|0}function Ry(b,c){b=b|0;c=c|0;b=Dy(b,c)|0;return ((a[b>>0]|0)==(c&255)<<24>>24?b:0)|0}function Sy(){return 13828}function Ty(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;g=j;a:do if(!e)b=0;else{do if(f|0){i=(b|0)==0?g:b;b=a[e>>0]|0;if(b<<24>>24>-1){c[i>>2]=b&255;b=b<<24>>24!=0&1;break a}h=(c[c[(Vy()|0)+188>>2]>>2]|0)==0;b=a[e>>0]|0;if(h){c[i>>2]=b<<24>>24&57343;b=1;break a}b=(b&255)+-194|0;if(b>>>0<=50){g=e+1|0;h=c[3472+(b<<2)>>2]|0;if(f>>>0<4?h&-2147483648>>>((f*6|0)+-6|0)|0:0)break;b=d[g>>0]|0;f=b>>>3;if((f+-16|f+(h>>26))>>>0<=7){b=b+-128|h<<6;if((b|0)>=0){c[i>>2]=b;b=2;break a}g=(d[e+2>>0]|0)+-128|0;if(g>>>0<=63){g=g|b<<6;if((g|0)>=0){c[i>>2]=g;b=3;break a}b=(d[e+3>>0]|0)+-128|0;if(b>>>0<=63){c[i>>2]=b|g<<6;b=4;break a}}}}}while(0);c[(cy()|0)>>2]=84;b=-1}while(0);yb=j;return b|0}function Uy(a){a=a|0;var b=0;b=a;while(1)if(!(c[b>>2]|0))break;else b=b+4|0;return b-a>>2|0}function Vy(){return Sy()|0}function Wy(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=d&255;f=(e|0)!=0;a:do if(f&(b&3|0)!=0){g=d&255;while(1){if((a[b>>0]|0)==g<<24>>24){i=6;break a}b=b+1|0;e=e+-1|0;f=(e|0)!=0;if(!(f&(b&3|0)!=0)){i=5;break}}}else i=5;while(0);if((i|0)==5)if(f)i=6;else i=16;b:do if((i|0)==6){g=d&255;if((a[b>>0]|0)==g<<24>>24)if(!e){i=16;break}else break;f=C(h,16843009)|0;c:do if(e>>>0>3)while(1){h=c[b>>2]^f;if((h&-2139062144^-2139062144)&h+-16843009|0)break c;b=b+4|0;e=e+-4|0;if(e>>>0<=3){i=11;break}}else i=11;while(0);if((i|0)==11)if(!e){i=16;break}while(1){if((a[b>>0]|0)==g<<24>>24)break b;e=e+-1|0;if(!e){i=16;break}else b=b+1|0}}while(0);if((i|0)==16)b=0;return b|0}function Xy(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+16|0;g=f;c[g>>2]=e;e=Yy(a,b,d,g)|0;yb=f;return e|0}function Yy(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;j=yb;yb=yb+160|0;g=j+144|0;i=j;VN(i|0,11696,144)|0;if((d+-1|0)>>>0>2147483646)if(!d){b=g;d=1;h=4}else{c[(cy()|0)>>2]=75;d=-1}else h=4;if((h|0)==4){h=-2-b|0;h=d>>>0>h>>>0?h:d;c[i+48>>2]=h;g=i+20|0;c[g>>2]=b;c[i+44>>2]=b;d=b+h|0;b=i+16|0;c[b>>2]=d;c[i+28>>2]=d;d=Zy(i,e,f)|0;if(h){i=c[g>>2]|0;a[i+(((i|0)==(c[b>>2]|0))<<31>>31)>>0]=0}}yb=j;return d|0}function Zy(a,b,c){a=a|0;b=b|0;c=c|0;return az(a,b,c,1,56)|0}function _y(b,e,f,g,h,i){b=b|0;e=+e;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=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,z=0,A=0,B=0,D=0,E=0,F=0,H=0;H=yb;yb=yb+560|0;l=H+32|0;u=H+536|0;F=H;E=F;m=H+540|0;c[u>>2]=0;D=m+12|0;rz(e)|0;j=G()|0;if((j|0)<0){e=-e;rz(e)|0;B=1;A=46239;j=G()|0}else{B=(h&2049|0)!=0&1;A=(h&2048|0)==0?((h&1|0)==0?46240:46245):46242}do if(0==0&(j&2146435072|0)==2146435072){F=(i&32|0)!=0;j=B+3|0;lz(b,32,f,j,h&-65537);ez(b,A,B);ez(b,e!=e|0.0!=0.0?(F?46281:46266):F?46258:46262,3);lz(b,32,f,j,h^8192)}else{q=+ry(e,u)*2.0;j=q!=0.0;if(j)c[u>>2]=(c[u>>2]|0)+-1;t=i|32;if((t|0)==97){o=i&32;r=(o|0)==0?A:A+9|0;p=B|2;j=12-g|0;do if(!(g>>>0>11|(j|0)==0)){e=8.0;do{j=j+-1|0;e=e*16.0}while((j|0)!=0);if((a[r>>0]|0)==45){e=-(e+(-q-e));break}else{e=q+e-e;break}}else e=q;while(0);k=c[u>>2]|0;j=(k|0)<0?0-k|0:k;j=kz(j,((j|0)<0)<<31>>31,D)|0;if((j|0)==(D|0)){j=m+11|0;a[j>>0]=48}a[j+-1>>0]=(k>>31&2)+43;n=j+-2|0;a[n>>0]=i+15;k=(g|0)<1;l=(h&8|0)==0;m=F;do{B=~~e;j=m+1|0;a[m>>0]=o|d[4448+B>>0];e=(e-+(B|0))*16.0;if((j-E|0)==1?!(l&(k&e==0.0)):0){a[j>>0]=46;m=m+2|0}else m=j}while(e!=0.0);if((g|0)!=0?(-2-E+m|0)<(g|0):0){k=D;l=n;j=g+2+k-l|0}else{k=D;l=n;j=k-E-l+m|0}D=j+p|0;lz(b,32,f,D,h);ez(b,r,p);lz(b,48,f,D,h^65536);E=m-E|0;ez(b,F,E);F=k-l|0;lz(b,48,j-(E+F)|0,0,0);ez(b,n,F);lz(b,32,f,D,h^8192);j=D;break}k=(g|0)<0?6:g;if(j){j=(c[u>>2]|0)+-28|0;c[u>>2]=j;e=q*268435456.0}else{e=q;j=c[u>>2]|0}z=(j|0)<0?l:l+288|0;l=z;do{x=~~e>>>0;c[l>>2]=x;l=l+4|0;e=(e-+(x>>>0))*1.0e9}while(e!=0.0);x=z;if((j|0)>0){o=z;while(1){n=(j|0)<29?j:29;j=l+-4|0;if(j>>>0>=o>>>0){m=0;do{s=QN(c[j>>2]|0,0,n|0)|0;s=KN(s|0,G()|0,m|0,0)|0;v=G()|0;m=ON(s|0,v|0,1e9,0)|0;w=JN(m|0,G()|0,1e9,0)|0;w=LN(s|0,v|0,w|0,G()|0)|0;G()|0;c[j>>2]=w;j=j+-4|0}while(j>>>0>=o>>>0);if(m){w=o+-4|0;c[w>>2]=m;m=w}else m=o}else m=o;a:do if(l>>>0>m>>>0){j=l;while(1){l=j+-4|0;if(c[l>>2]|0){l=j;break a}if(l>>>0>m>>>0)j=l;else break}}while(0);j=(c[u>>2]|0)-n|0;c[u>>2]=j;if((j|0)>0)o=m;else break}}else m=z;if((j|0)<0){g=((k+25|0)/9|0)+1|0;s=(t|0)==102;do{r=0-j|0;r=(r|0)<9?r:9;if(m>>>0>>0){n=(1<>>r;p=0;j=m;do{w=c[j>>2]|0;c[j>>2]=(w>>>r)+p;p=C(w&n,o)|0;j=j+4|0}while(j>>>0>>0);m=(c[m>>2]|0)==0?m+4|0:m;if(p){c[l>>2]=p;l=l+4|0}}else m=(c[m>>2]|0)==0?m+4|0:m;j=s?z:m;l=(l-j>>2|0)>(g|0)?j+(g<<2)|0:l;j=(c[u>>2]|0)+r|0;c[u>>2]=j}while((j|0)<0);s=m}else s=m;if(s>>>0>>0){j=(x-s>>2)*9|0;n=c[s>>2]|0;if(n>>>0>=10){m=10;do{m=m*10|0;j=j+1|0}while(n>>>0>=m>>>0)}}else j=0;v=(t|0)==103;w=(k|0)!=0;m=k-((t|0)==102?0:j)+((w&v)<<31>>31)|0;if((m|0)<(((l-x>>2)*9|0)+-9|0)){u=m+9216|0;m=(u|0)/9|0;g=z+4+(m+-1024<<2)|0;m=u-(m*9|0)|0;if((m|0)<8){n=10;while(1){n=n*10|0;if((m|0)<7)m=m+1|0;else break}}else n=10;p=c[g>>2]|0;m=(p>>>0)/(n>>>0)|0;r=p-(C(m,n)|0)|0;o=(g+4|0)==(l|0);if(!(o&(r|0)==0)){q=(m&1|0)==0?9007199254740992.0:9007199254740994.0;u=n>>>1;e=r>>>0>>0?.5:o&(r|0)==(u|0)?1.0:1.5;if(B){u=(a[A>>0]|0)==45;e=u?-e:e;q=u?-q:q}m=p-r|0;c[g>>2]=m;if(q+e!=q){u=m+n|0;c[g>>2]=u;if(u>>>0>999999999){n=g;j=s;while(1){m=n+-4|0;c[n>>2]=0;if(m>>>0>>0){j=j+-4|0;c[j>>2]=0}u=(c[m>>2]|0)+1|0;c[m>>2]=u;if(u>>>0>999999999)n=m;else{n=j;break}}}else{m=g;n=s}j=(x-n>>2)*9|0;p=c[n>>2]|0;if(p>>>0>=10){o=10;do{o=o*10|0;j=j+1|0}while(p>>>0>=o>>>0)}}else{m=g;n=s}}else{m=g;n=s}u=m+4|0;l=l>>>0>u>>>0?u:l}else n=s;g=0-j|0;b:do if(l>>>0>n>>>0)while(1){m=l+-4|0;if(c[m>>2]|0){u=l;t=1;break b}if(m>>>0>n>>>0)l=m;else{u=m;t=0;break}}else{u=l;t=0}while(0);do if(v){k=k+((w^1)&1)|0;if((k|0)>(j|0)&(j|0)>-5){o=i+-1|0;k=k+-1-j|0}else{o=i+-2|0;k=k+-1|0}if(!(h&8)){if(t?(y=c[u+-4>>2]|0,(y|0)!=0):0)if(!((y>>>0)%10|0)){m=0;l=10;do{l=l*10|0;m=m+1|0}while(!((y>>>0)%(l>>>0)|0|0))}else m=0;else m=9;l=((u-x>>2)*9|0)+-9|0;if((o|32|0)==102){i=l-m|0;i=(i|0)>0?i:0;k=(k|0)<(i|0)?k:i;break}else{i=l+j-m|0;i=(i|0)>0?i:0;k=(k|0)<(i|0)?k:i;break}}}else o=i;while(0);s=(k|0)!=0;p=s?1:h>>>3&1;r=(o|32|0)==102;if(r){v=0;j=(j|0)>0?j:0}else{l=(j|0)<0?g:j;l=kz(l,((l|0)<0)<<31>>31,D)|0;m=D;if((m-l|0)<2)do{l=l+-1|0;a[l>>0]=48}while((m-l|0)<2);a[l+-1>>0]=(j>>31&2)+43;j=l+-2|0;a[j>>0]=o;v=j;j=m-j|0}j=B+1+k+p+j|0;lz(b,32,f,j,h);ez(b,A,B);lz(b,48,f,j,h^65536);if(r){p=n>>>0>z>>>0?z:n;r=F+9|0;n=r;o=F+8|0;m=p;do{l=kz(c[m>>2]|0,0,r)|0;if((m|0)==(p|0)){if((l|0)==(r|0)){a[o>>0]=48;l=o}}else if(l>>>0>F>>>0){XN(F|0,48,l-E|0)|0;do l=l+-1|0;while(l>>>0>F>>>0)}ez(b,l,n-l|0);m=m+4|0}while(m>>>0<=z>>>0);if(!((h&8|0)==0&(s^1)))ez(b,46270,1);if(m>>>0>>0&(k|0)>0)while(1){l=kz(c[m>>2]|0,0,r)|0;if(l>>>0>F>>>0){XN(F|0,48,l-E|0)|0;do l=l+-1|0;while(l>>>0>F>>>0)}ez(b,l,(k|0)<9?k:9);m=m+4|0;l=k+-9|0;if(!(m>>>0>>0&(k|0)>9)){k=l;break}else k=l}lz(b,48,k+9|0,9,0)}else{u=t?u:n+4|0;if(n>>>0>>0&(k|0)>-1){g=F+9|0;s=(h&8|0)==0;t=g;p=0-E|0;r=F+8|0;o=n;do{l=kz(c[o>>2]|0,0,g)|0;if((l|0)==(g|0)){a[r>>0]=48;l=r}do if((o|0)==(n|0)){m=l+1|0;ez(b,l,1);if(s&(k|0)<1){l=m;break}ez(b,46270,1);l=m}else{if(l>>>0<=F>>>0)break;XN(F|0,48,l+p|0)|0;do l=l+-1|0;while(l>>>0>F>>>0)}while(0);E=t-l|0;ez(b,l,(k|0)>(E|0)?E:k);k=k-E|0;o=o+4|0}while(o>>>0>>0&(k|0)>-1)}lz(b,48,k+18|0,18,0);ez(b,v,D-v|0)}lz(b,32,f,j,h^8192)}while(0);yb=H;return ((j|0)<(f|0)?f:j)|0}function $y(a,b){a=a|0;b=b|0;var d=0.0,e=0;e=(c[b>>2]|0)+(8-1)&~(8-1);d=+g[e>>3];c[b>>2]=e+8;g[a>>3]=d;return}function az(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=yb;yb=yb+224|0;p=t+208|0;q=t+160|0;r=t+80|0;s=t;h=q;i=h+40|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));c[p>>2]=c[e>>2];if((bz(0,d,p,r,q,f,g)|0)<0)e=-1;else{if((c[b+76>>2]|0)>-1)o=cz(b)|0;else o=0;e=c[b>>2]|0;n=e&32;if((a[b+74>>0]|0)<1)c[b>>2]=e&-33;h=b+48|0;if(!(c[h>>2]|0)){i=b+44|0;j=c[i>>2]|0;c[i>>2]=s;k=b+28|0;c[k>>2]=s;l=b+20|0;c[l>>2]=s;c[h>>2]=80;m=b+16|0;c[m>>2]=s+80;e=bz(b,d,p,r,q,f,g)|0;if(j){Hb[c[b+36>>2]&63](b,0,0)|0;e=(c[l>>2]|0)==0?-1:e;c[i>>2]=j;c[h>>2]=0;c[m>>2]=0;c[k>>2]=0;c[l>>2]=0}}else e=bz(b,d,p,r,q,f,g)|0;h=c[b>>2]|0;c[b>>2]=h|n;if(o|0)dz(b);e=(h&32|0)==0?e:-1}yb=t;return e|0} -function ph(a,b,d,e,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0.0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0;D=yb;yb=yb+48|0;A=D+8|0;v=D+32|0;t=D+28|0;y=D+24|0;z=D+20|0;w=D+16|0;x=D;o=C(g,e)|0;n=+B(+(+(h|0)/+(e|0)));m=+B(+(+(i|0)/+(g|0)));r=b+4|0;c[r>>2]=c[b>>2];Jg(b,j);s=a+4|0;g=c[a>>2]|0;i=((c[s>>2]|0)-g|0)/12|0;e=0;while(1){if((e|0)==(i|0))break;l=c[g+(e*12|0)>>2]|0;k=((c[g+(e*12|0)+4>>2]|0)-l|0)/12|0;h=0;while(1){if((h|0)==(k|0))break;c[l+(h*12|0)+4>>2]=c[l+(h*12|0)>>2];h=h+1|0}e=e+1|0}q=(j|0)/(o|0)|0;o=d+4|0;n=+(~~n|0);m=+(~~m|0);g=A+4|0;l=0;while(1){p=c[d>>2]|0;e=p;if(l>>>0>=(((c[o>>2]|0)-p|0)/36|0)>>>0)break;i=~~(+f[e+(l*36|0)+4>>2]/m);k=c[(c[a>>2]|0)+(~~(+f[e+(l*36|0)>>2]/n)*12|0)>>2]|0;f[A>>2]=+u(+(+f[e+(l*36|0)+24>>2]));c[g>>2]=l;e=k+(i*12|0)+4|0;h=c[e>>2]|0;if(h>>>0<(c[k+(i*12|0)+8>>2]|0)>>>0){k=A;j=c[k+4>>2]|0;p=h;c[p>>2]=c[k>>2];c[p+4>>2]=j;c[e>>2]=(c[e>>2]|0)+8}else qh(k+(i*12|0)|0,A);l=l+1|0}p=b+8|0;e=c[a>>2]|0;g=e;j=0;h=g;a:while(1){if(j>>>0>=(((c[s>>2]|0)-e|0)/12|0)>>>0){e=16;break}o=0;i=g;while(1){l=c[i+(j*12|0)>>2]|0;e=l;if(o>>>0>=(((c[i+(j*12|0)+4>>2]|0)-l|0)/12|0)>>>0)break;l=e+(o*12|0)|0;e=e+(o*12|0)+4|0;g=c[e>>2]|0;i=c[l>>2]|0;k=g-i>>3;k=q>>>0>>0?q:k;if(!k)e=h;else{c[y>>2]=i;c[z>>2]=i+(k<<3);c[w>>2]=g;c[t>>2]=c[y>>2];c[v>>2]=c[z>>2];c[A>>2]=c[w>>2];rh(t,v,A,x);g=c[l>>2]|0;i=g;if(k>>>0>(c[e>>2]|0)-g>>3>>>0?!(+f[i>>2]>=+f[i+(k<<3)>>2]):0){e=23;break a}i=0;while(1){if(i>>>0>=k>>>0)break;h=(c[d>>2]|0)+((c[(c[l>>2]|0)+(i<<3)+4>>2]|0)*36|0)|0;e=c[r>>2]|0;if((e|0)==(c[p>>2]|0))nh(b,h);else{g=e+36|0;do{c[e>>2]=c[h>>2];e=e+4|0;h=h+4|0}while((e|0)<(g|0));c[r>>2]=(c[r>>2]|0)+36}i=i+1|0}e=c[a>>2]|0}o=o+1|0;h=e;i=e}j=j+1|0;g=i;e=i}if((e|0)==16){yb=D;return}else if((e|0)==23){D=jf(jf(OC(jf(jf(jf(55420,22087)|0,20520)|0,33528)|0,661)|0,33535)|0,22145)|0;HC(A,D+(c[(c[D>>2]|0)+-12>>2]|0)|0);z=WD(A,56124)|0;z=Gb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;XD(A);PC(D,z)|0;LC(D)|0;ya()}}function qh(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;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=uh(a)|0;if(g>>>0>>0)KM(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;vh(d,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>3,a+8|0);g=d+8|0;e=c[b+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=e;c[g>>2]=(c[g>>2]|0)+8;wh(a,d);xh(d);yb=h;return}}function rh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0.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;K=yb;yb=yb+48|0;y=K+40|0;x=K+36|0;w=K+32|0;C=K+28|0;D=K+24|0;E=K+20|0;G=K+16|0;H=K+12|0;I=K+8|0;z=K+4|0;A=K;v=c[b>>2]|0;a:while(1){u=c[d>>2]|0;n=u;t=u+-8|0;q=t;s=u+-4|0;if((v|0)==(u|0))break;r=c[a>>2]|0;k=r;b:while(1){b=n-k|0;g=b>>3;switch(g|0){case 1:case 0:break a;case 2:{J=5;break a}case 3:{J=10;break a}default:{}}if((b|0)<64){J=12;break a}g=g>>>1;p=r+(g<<3)|0;c[I>>2]=k;c[z>>2]=p;c[A>>2]=q;c[w>>2]=c[I>>2];c[x>>2]=c[z>>2];c[y>>2]=c[A>>2];b=sh(w,x,y,e)|0;l=k;j=+f[p>>2];i=+f[l>>2];if(j>2]|0)>>>0<(c[l+4>>2]|0)>>>0:0){J=53;break}g=t;while(1){m=g+-8|0;if((m|0)==(l|0))break;i=+f[m>>2];if(j>2]|0,(c[h>>2]|0)>>>0>>0):0){J=51;break b}g=m}h=l+8|0;b=h;o=+f[t>>2];j=+f[r>>2];do if(!(o>2]|0)>>>0<(c[g>>2]|0)>>>0)break}else g=r+4|0;while(1){if((h|0)==(t|0))break a;i=+f[h>>2];if(i>2]|0,F>>>0<(c[g>>2]|0)>>>0):0){J=28;break}h=h+8|0}if((J|0)==25){J=0;g=h+4|0;b=g;g=c[g>>2]|0}else if((J|0)==28){J=0;b=h+4|0;g=F}f[h>>2]=o;f[t>>2]=i;c[b>>2]=c[s>>2];c[s>>2]=g;b=h+8|0}while(0);if((t|0)==(b|0))break a;l=r+4|0;g=q;while(1){j=+f[r>>2];k=b;while(1){b=k;i=+f[b>>2];if(i>2]|0)>>>0<(c[l>>2]|0)>>>0:0)break;k=b+8|0}h=k;while(1){b=g+-8|0;i=+f[b>>2];if(!(i>2]|0)>>>0>=(c[l>>2]|0)>>>0)break}g=b}if(b>>>0<=h>>>0)break;m=c[k>>2]|0;f[k>>2]=i;c[b>>2]=m;m=h+4|0;g=g+-4|0;p=c[m>>2]|0;c[m>>2]=c[g>>2];c[g>>2]=p;g=b;b=h+8|0}b=k;if(v>>>0>>0)break a;c[a>>2]=k;r=b}if((J|0)==47){h=g+-4|0;g=h;h=c[h>>2]|0;J=52}else if((J|0)==51){g=g+-4|0;h=B;J=52}else if((J|0)==53){J=0;h=t;s=k}if((J|0)==52){J=0;s=k;r=c[k>>2]|0;f[k>>2]=i;c[m>>2]=r;r=s+4|0;t=c[r>>2]|0;c[r>>2]=h;c[g>>2]=t;b=b+1|0;h=m}g=s+8|0;k=g;if(g>>>0>>0){q=p;g=k;while(1){p=q;n=p+4|0;j=+f[p>>2];while(1){k=g;i=+f[k>>2];if(!(j>2]|0)>>>0>=(c[k+4>>2]|0)>>>0)break}g=k+8|0}m=g;while(1){l=h+-8|0;i=+f[l>>2];if(j>2]|0)>>>0<(c[h+-4>>2]|0)>>>0:0)break;h=l}k=l;if(l>>>0<=m>>>0)break;t=c[g>>2]|0;f[g>>2]=i;c[l>>2]=t;t=m+4|0;h=h+-4|0;g=c[t>>2]|0;c[t>>2]=c[h>>2];c[h>>2]=g;b=b+1|0;h=k;q=(p|0)==(m|0)?k:q;g=m+8|0}r=g;p=q;k=g}else r=g;n=k;do if((p|0)!=(r|0)){i=+f[r>>2];j=+f[p>>2];if(!(i>2]|0;g=p+4|0;m=c[g>>2]|0;if(h>>>0>=m>>>0)break}else{h=r+4|0;m=p+4|0;g=m;l=h;m=c[m>>2]|0;h=c[h>>2]|0}t=c[k>>2]|0;f[k>>2]=j;c[p>>2]=t;c[l>>2]=m;c[g>>2]=h;b=b+1|0}while(0);if((v|0)==(r|0))break;c:do if(!b)if(v>>>0>>0){b=s;while(1){g=b+8|0;if((g|0)==(r|0))break a;i=+f[b>>2];j=+f[g>>2];if(i>2]|0)>>>0<(c[b+12>>2]|0)>>>0:0)break c;b=g}}else{b=n;while(1){g=b+8|0;if((g|0)==(u|0))break a;i=+f[b>>2];j=+f[g>>2];if(i>2]|0)>>>0<(c[b+12>>2]|0)>>>0:0)break c;b=g}}while(0);if(v>>>0>>0)c[d>>2]=k;else c[a>>2]=r+8}do if((J|0)==5){c[d>>2]=t;i=+f[r>>2];j=+f[t>>2];if(!(i>2]|0;h=c[s>>2]|0;if(g>>>0>=h>>>0)break}else{g=r+4|0;b=g;h=c[s>>2]|0;g=c[g>>2]|0}f[r>>2]=j;f[t>>2]=i;c[b>>2]=h;c[s>>2]=g}else if((J|0)==10){c[C>>2]=k;c[D>>2]=k+8;c[d>>2]=t;c[E>>2]=t;c[w>>2]=c[C>>2];c[x>>2]=c[D>>2];c[y>>2]=c[E>>2];sh(w,x,y,e)|0}else if((J|0)==12){c[G>>2]=k;c[H>>2]=u;c[x>>2]=c[G>>2];c[y>>2]=c[H>>2];th(x,y,e)}while(0);yb=K;return}function sh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0.0,h=0.0,i=0,j=0.0,k=0,l=0;l=c[b>>2]|0;k=c[a>>2]|0;j=+f[k>>2];h=+f[l>>2];if(!(j>2]|0)>>>0<(c[l+4>>2]|0)>>>0;else e=1;i=c[d>>2]|0;g=+f[i>>2];if(!(h>2]|0)>>>0<(c[i+4>>2]|0)>>>0;else b=1;do if(!e)if(b){f[l>>2]=g;f[i>>2]=h;d=l+4|0;i=i+4|0;a=c[d>>2]|0;c[d>>2]=c[i>>2];c[i>>2]=a;g=+f[k>>2];h=+f[l>>2];if(!(g>2]|0;a=c[d>>2]|0;if(e>>>0>=a>>>0){b=1;break}}else{e=k+4|0;b=e;a=c[d>>2]|0;e=c[e>>2]|0}f[k>>2]=h;f[l>>2]=g;c[b>>2]=a;c[d>>2]=e;b=2}else b=0;else{if(b){f[k>>2]=g;f[i>>2]=j;k=k+4|0;b=i+4|0;l=c[k>>2]|0;c[k>>2]=c[b>>2];c[b>>2]=l;b=1;break}f[k>>2]=h;f[l>>2]=j;k=k+4|0;a=l+4|0;d=c[k>>2]|0;c[k>>2]=c[a>>2];c[a>>2]=d;g=+f[i>>2];if(!(j>2]|0;if(d>>>0>=e>>>0){b=1;break}}else{e=i+4|0;b=e;e=c[e>>2]|0}f[l>>2]=g;f[i>>2]=j;c[a>>2]=e;c[b>>2]=d;b=2}while(0);return b|0}function th(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,g=0.0,h=0,i=0,j=0,k=0,l=0;j=c[b>>2]|0;k=j+-8|0;l=c[a>>2]|0;while(1){if((l|0)==(k|0))break;a:do if((l|0)==(j|0))b=j;else{b=l;while(1){h=b+4|0;d=b;while(1){i=d+8|0;if((i|0)==(j|0))break a;e=+f[b>>2];g=+f[i>>2];if(e>2]|0)>>>0<(c[d+12>>2]|0)>>>0:0)break;d=i}b=i}}while(0);if((b|0)!=(l|0)){d=c[l>>2]|0;c[l>>2]=c[b>>2];c[b>>2]=d;d=l+4|0;i=b+4|0;h=c[d>>2]|0;c[d>>2]=c[i>>2];c[i>>2]=h}i=l+8|0;c[a>>2]=i;l=i}return}function uh(a){a=a|0;return 536870911}function vh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function wh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>3)<<3)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function xh(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-8|0;c[d>>2]=f;e=f}a=c[a>>2]|0;if(a|0)cM(a);return}function yh(a){a=+a;return +(a*a)}function zh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=((c[d>>2]|0)-f|0)/36|0;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+(b*36|0)}else Wh(a,b-e|0);return}function Ah(a){a=a|0;return c[a+16>>2]|0}function Bh(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=e|0;var g=0.0,h=0.0;h=1.0/+(1<>2]=h*c+g;f[b>>2]=h*d+g;return}function Ch(a){a=a|0;return a|0}function Dh(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,l=0;j=yb;yb=yb+16|0;i=j;k=ag(d)|0;k=(k|0)==(ag(e)|0)&1;do if((ag(f)|0)==(k|0)){k=bg(d)|0;k=(k|0)==(bg(e)|0)&1;if((bg(f)|0)==(k|0)){Nh(a,b,d,e,f,g,h);break}else{k=jf(jf(OC(jf(jf(jf(55420,22373)|0,22444)|0,33528)|0,466)|0,33535)|0,22573)|0;HC(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);h=WD(i,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(i);PC(k,h)|0;LC(k)|0;ya()}}else{k=ag(d)|0;if((k|0)==(ag(e)|0)?(k=(ag(e)|0)>>>1,(k|0)==(ag(f)|0)):0){k=bg(d)|0;if((k|0)==(bg(e)|0)?(k=(bg(e)|0)>>>1,(k|0)==(bg(f)|0)):0){Oh(a,b,d,e,f,g,h);break}k=jf(jf(OC(jf(jf(jf(55420,22605)|0,22444)|0,33528)|0,469)|0,33535)|0,22573)|0;HC(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);l=WD(i,56124)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;XD(i);PC(k,l)|0;LC(k)|0;ya()}l=(ag(d)|0)>>>1;if((l|0)==(ag(e)|0)?(l=ag(e)|0,(l|0)==(ag(f)|0)):0){l=(ag(d)|0)>>>1;if((l|0)==(ag(e)|0)?(l=ag(e)|0,(l|0)==(ag(f)|0)):0){Ph(a,b,d,e,f,g,h);break}l=jf(jf(OC(jf(jf(jf(55420,22702)|0,22444)|0,33528)|0,472)|0,33535)|0,22573)|0;HC(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(i,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(i);PC(l,k)|0;LC(l)|0;ya()}l=jf(jf(OC(jf(jf(jf(55420,29336)|0,22444)|0,33528)|0,475)|0,33535)|0,22795)|0;HC(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(i,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(i);PC(l,k)|0;LC(l)|0;ya()}while(0);yb=j;return 1}function Eh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=yb;yb=yb+48|0;d=e;if(Ih(d,b,1.1920928955078125e-07)|0){Jh(a,d,c);a=1}else a=0;yb=e;return a|0}function Fh(a,b){a=a|0;b=b|0;var c=0,d=0.0;c=b+16|0;d=+f[b>>2]*+f[c>>2];d=d-+yh(+f[b+4>>2]);if(d==0.0)a=0;else{f[a>>2]=+yh(+f[b>>2]+ +f[c>>2])/d;a=1}return a|0}function Gh(a,b,c,d,e){a=a|0;b=b|0;c=+c;d=+d;e=e|0;var g=0.0,h=0.0;g=+uy(1.0,e+-1|0)+-.5;h=+(1<>2]=h*c+g;f[b>>2]=h*d+g;return}function Hh(a,b,d){a=a|0;b=b|0;d=+d;var e=0,g=0,h=0,i=0;g=yb;yb=yb+16|0;e=g;if(!(d>=0.0)){h=jf(jf(OC(jf(jf(jf(55420,32560)|0,32320)|0,33528)|0,232)|0,33535)|0,32594)|0;HC(e,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);i=WD(e,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(e);PC(h,i)|0;LC(h)|0;ya()}if(+(c[a+20>>2]|0)>d){d=+w(+(+f[a+24>>2]),+d)*+(1<>2]|0)+-12>>2]|0)|0);h=WD(e,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(e);PC(i,h)|0;LC(i)|0;ya()}return +(0.0)}function Ih(a,b,d){a=a|0;b=b|0;d=+d;var e=0.0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=+Kh(b);if(!(+u(+e)<=d)){e=1.0/e;j=b+16|0;l=b+20|0;g=b+32|0;f[a>>2]=e*+Lh(+f[j>>2],+f[l>>2],+f[g>>2]);m=b+8|0;k=b+4|0;i=a+4|0;f[i>>2]=e*+Mh(+f[m>>2],+f[k>>2],+f[g>>2],+f[b+28>>2]);h=a+8|0;f[h>>2]=e*+Mh(+f[k>>2],+f[m>>2],+f[j>>2],+f[l>>2]);f[a+16>>2]=e*+Lh(+f[b>>2],+f[m>>2],+f[g>>2]);g=a+20|0;f[g>>2]=e*+Mh(+f[m>>2],+f[b>>2],+f[l>>2],+f[b+12>>2]);f[a+32>>2]=e*+Lh(+f[b>>2],+f[k>>2],+f[j>>2]);c[a+12>>2]=c[i>>2];c[a+24>>2]=c[h>>2];c[a+28>>2]=c[g>>2];a=1}else a=0;return a|0}function Jh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=c+4|0;d=c+8|0;f[a>>2]=+f[b>>2]*+f[c>>2]+ +f[b+4>>2]*+f[e>>2]+ +f[b+8>>2]*+f[d>>2];f[a+4>>2]=+f[b+12>>2]*+f[c>>2]+ +f[b+16>>2]*+f[e>>2]+ +f[b+20>>2]*+f[d>>2];f[a+8>>2]=+f[b+24>>2]*+f[c>>2]+ +f[b+28>>2]*+f[e>>2]+ +f[b+32>>2]*+f[d>>2];return}function Kh(a){a=a|0;var b=0,c=0,d=0.0,e=0.0,g=0.0,h=0.0,i=0;b=a+32|0;g=+f[b>>2];c=a+4|0;g=g*+yh(+f[c>>2]);e=+f[a+8>>2];i=a+20|0;h=+f[c>>2]*2.0*e*+f[i>>2];c=a+16|0;d=+f[c>>2];e=d*+yh(e);d=+f[a>>2];d=d*+yh(+f[i>>2]);return +(h-g-e-d+ +f[a>>2]*+f[c>>2]*+f[b>>2])}function Lh(a,b,c){a=+a;b=+b;c=+c;return +(a*c-b*b)}function Mh(a,b,c,d){a=+a;b=+b;c=+c;d=+d;return +(a*d-b*c)}function Nh(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0,A=0;r=yb;yb=yb+32|0;o=r+20|0;p=r+16|0;q=r+12|0;j=r+8|0;k=r+4|0;l=r;if((h|0)>0?(h+1|0)>>>0<(ag(e)|0)>>>0:0){m=i+-1|0;if((i|0)>0?(n=i+1|0,n>>>0<(bg(e)|0)>>>0):0){s=ag(d)|0;if((s|0)!=(ag(e)|0)){s=jf(jf(OC(jf(jf(jf(55420,24134)|0,22444)|0,33528)|0,311)|0,33535)|0,23030)|0;HC(o,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);t=WD(o,56124)|0;t=Gb[c[(c[t>>2]|0)+28>>2]&63](t,10)|0;XD(o);PC(s,t)|0;LC(s)|0;ya()}t=ag(d)|0;if((t|0)!=(ag(g)|0)){t=jf(jf(OC(jf(jf(jf(55420,24533)|0,22444)|0,33528)|0,312)|0,33535)|0,23030)|0;HC(o,t+(c[(c[t>>2]|0)+-12>>2]|0)|0);s=WD(o,56124)|0;s=Gb[c[(c[s>>2]|0)+28>>2]&63](s,10)|0;XD(o);PC(t,s)|0;LC(t)|0;ya()}t=bg(d)|0;if((t|0)!=(bg(e)|0)){t=jf(jf(OC(jf(jf(jf(55420,24186)|0,22444)|0,33528)|0,313)|0,33535)|0,23030)|0;HC(o,t+(c[(c[t>>2]|0)+-12>>2]|0)|0);s=WD(o,56124)|0;s=Gb[c[(c[s>>2]|0)+28>>2]&63](s,10)|0;XD(o);PC(t,s)|0;LC(t)|0;ya()}t=bg(d)|0;if((t|0)==(bg(g)|0)){z=(rg(d,m)|0)+(h<<2)|0;A=(rg(d,i)|0)+(h<<2)|0;o=(rg(d,n)|0)+(h<<2)|0;d=(rg(e,i)|0)+(h<<2)|0;t=(rg(g,m)|0)+(h<<2)|0;m=(rg(g,i)|0)+(h<<2)|0;s=(rg(g,n)|0)+(h<<2)|0;Qh(p,q,j,k,l,e,h,i);v=+f[m>>2];u=+f[A>>2];w=v+(u-+f[d>>2]*2.0);y=(+f[A+-4>>2]-+f[A+4>>2]+(+f[m+4>>2]-+f[m+-4>>2]))*.25;x=(+f[z>>2]-+f[o>>2]+(+f[s>>2]-+f[t>>2]))*.25;c[a>>2]=c[j>>2];t=c[l>>2]|0;c[a+4>>2]=t;f[a+8>>2]=y;c[a+12>>2]=t;c[a+16>>2]=c[k>>2];f[a+20>>2]=x;f[a+24>>2]=y;f[a+28>>2]=x;f[a+32>>2]=w;f[b>>2]=-+f[p>>2];f[b+4>>2]=-+f[q>>2];f[b+8>>2]=-((v-u)*.5);yb=r;return}else{A=jf(jf(OC(jf(jf(jf(55420,24585)|0,22444)|0,33528)|0,314)|0,33535)|0,23030)|0;HC(o,A+(c[(c[A>>2]|0)+-12>>2]|0)|0);z=WD(o,56124)|0;z=Gb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;XD(o);PC(A,z)|0;LC(A)|0;ya()}}A=jf(jf(OC(jf(jf(jf(55420,22898)|0,22444)|0,33528)|0,310)|0,33535)|0,22957)|0;HC(o,A+(c[(c[A>>2]|0)+-12>>2]|0)|0);z=WD(o,56124)|0;z=Gb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;XD(o);PC(A,z)|0;LC(A)|0;ya()}A=jf(jf(OC(jf(jf(jf(55420,22824)|0,22444)|0,33528)|0,309)|0,33535)|0,22882)|0;HC(o,A+(c[(c[A>>2]|0)+-12>>2]|0)|0);z=WD(o,56124)|0;z=Gb[c[(c[z>>2]|0)+28>>2]&63](z,10)|0;XD(o);PC(A,z)|0;LC(A)|0;ya()}function Oh(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0.0,l=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.0,z=0.0,A=0.0,B=0.0,C=0.0;w=yb;yb=yb+32|0;t=w+28|0;u=w+24|0;v=w+20|0;o=w+16|0;p=w+12|0;q=w+8|0;r=w+4|0;s=w;if((h|0)>0?(h+1|0)>>>0<(ag(e)|0)>>>0:0){j=i+-1|0;if((i|0)>0?(l=i+1|0,l>>>0<(bg(e)|0)>>>0):0){n=ag(d)|0;if((n|0)!=(ag(e)|0)){n=jf(jf(OC(jf(jf(jf(55420,24134)|0,22444)|0,33528)|0,415)|0,33535)|0,23030)|0;HC(t,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(t,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(t);PC(n,m)|0;LC(n)|0;ya()}n=(ag(d)|0)>>>1;if((n|0)!=(ag(g)|0)){n=jf(jf(OC(jf(jf(jf(55420,23060)|0,22444)|0,33528)|0,416)|0,33535)|0,23030)|0;HC(t,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(t,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(t);PC(n,m)|0;LC(n)|0;ya()}n=bg(d)|0;if((n|0)!=(bg(e)|0)){n=jf(jf(OC(jf(jf(jf(55420,24186)|0,22444)|0,33528)|0,417)|0,33535)|0,23030)|0;HC(t,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(t,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(t);PC(n,m)|0;LC(n)|0;ya()}n=(bg(d)|0)>>>1;if((n|0)!=(bg(g)|0)){n=jf(jf(OC(jf(jf(jf(55420,23176)|0,22444)|0,33528)|0,418)|0,33535)|0,23030)|0;HC(t,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(t,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(t);PC(n,m)|0;LC(n)|0;ya()}m=(rg(d,j)|0)+(h<<2)|0;n=(rg(d,i)|0)+(h<<2)|0;j=(rg(d,l)|0)+(h<<2)|0;d=(rg(e,i)|0)+(h<<2)|0;Bh(u,v,+(h|0),+(i|0),1);k=+f[u>>2];if(!(k+-.5>=0.0)){l=jf(jf(OC(jf(jf(jf(55420,24240)|0,22444)|0,33528)|0,428)|0,33535)|0,24281)|0;HC(t,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);x=WD(t,56124)|0;x=Gb[c[(c[x>>2]|0)+28>>2]&63](x,10)|0;XD(t);PC(l,x)|0;LC(l)|0;ya()}if(!(+f[v>>2]+-.5>=0.0)){x=jf(jf(OC(jf(jf(jf(55420,24335)|0,22444)|0,33528)|0,429)|0,33535)|0,24376)|0;HC(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);l=WD(t,56124)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;XD(t);PC(x,l)|0;LC(x)|0;ya()}if(!(k+.5<+((ag(g)|0)>>>0))){x=jf(jf(OC(jf(jf(jf(55420,24430)|0,22444)|0,33528)|0,430)|0,33535)|0,24281)|0;HC(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);l=WD(t,56124)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;XD(t);PC(x,l)|0;LC(x)|0;ya()}k=+f[v>>2]+.5;if(k<+((bg(g)|0)>>>0)){Qh(o,p,q,r,s,e,h,i);y=+Rh(g,+f[u>>2],+f[v>>2]);k=+f[n>>2];z=y+(k-+f[d>>2]*2.0);C=+f[n+-4>>2];C=C+ +Rh(g,+f[u>>2]+.5,+f[v>>2]);B=+f[n+4>>2];B=(C-(B+ +Rh(g,+f[u>>2]+-.5,+f[v>>2])))*.25;C=+f[m>>2];C=C+ +Rh(g,+f[u>>2],+f[v>>2]+.5);A=+f[j>>2];A=(C-(A+ +Rh(g,+f[u>>2],+f[v>>2]+-.5)))*.25;c[a>>2]=c[q>>2];x=c[s>>2]|0;c[a+4>>2]=x;f[a+8>>2]=B;c[a+12>>2]=x;c[a+16>>2]=c[r>>2];f[a+20>>2]=A;f[a+24>>2]=B;f[a+28>>2]=A;f[a+32>>2]=z;f[b>>2]=-+f[o>>2];f[b+4>>2]=-+f[p>>2];f[b+8>>2]=-((y-k)*.5);yb=w;return}else{x=jf(jf(OC(jf(jf(jf(55420,24481)|0,22444)|0,33528)|0,431)|0,33535)|0,24376)|0;HC(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);w=WD(t,56124)|0;w=Gb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;XD(t);PC(x,w)|0;LC(x)|0;ya()}}x=jf(jf(OC(jf(jf(jf(55420,22898)|0,22444)|0,33528)|0,414)|0,33535)|0,22957)|0;HC(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);w=WD(t,56124)|0;w=Gb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;XD(t);PC(x,w)|0;LC(x)|0;ya()}x=jf(jf(OC(jf(jf(jf(55420,22824)|0,22444)|0,33528)|0,413)|0,33535)|0,22882)|0;HC(t,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);w=WD(t,56124)|0;w=Gb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;XD(t);PC(x,w)|0;LC(x)|0;ya()}function Ph(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0,B=0.0,C=0;t=yb;yb=yb+32|0;q=t+28|0;r=t+24|0;s=t+20|0;j=t+16|0;k=t+12|0;l=t+8|0;m=t+4|0;n=t;if((h|0)>0?(h+1|0)>>>0<(ag(e)|0)>>>0:0){o=i+-1|0;if((i|0)>0?(p=i+1|0,p>>>0<(bg(e)|0)>>>0):0){u=(ag(d)|0)>>>1;if((u|0)!=(ag(e)|0)){u=jf(jf(OC(jf(jf(jf(55420,22973)|0,22444)|0,33528)|0,361)|0,33535)|0,23030)|0;HC(q,u+(c[(c[u>>2]|0)+-12>>2]|0)|0);v=WD(q,56124)|0;v=Gb[c[(c[v>>2]|0)+28>>2]&63](v,10)|0;XD(q);PC(u,v)|0;LC(u)|0;ya()}v=(ag(d)|0)>>>1;if((v|0)!=(ag(g)|0)){v=jf(jf(OC(jf(jf(jf(55420,23060)|0,22444)|0,33528)|0,362)|0,33535)|0,23030)|0;HC(q,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=WD(q,56124)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;XD(q);PC(v,u)|0;LC(v)|0;ya()}v=(bg(d)|0)>>>1;if((v|0)!=(bg(e)|0)){v=jf(jf(OC(jf(jf(jf(55420,23117)|0,22444)|0,33528)|0,363)|0,33535)|0,23030)|0;HC(q,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=WD(q,56124)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;XD(q);PC(v,u)|0;LC(v)|0;ya()}v=(bg(d)|0)>>>1;if((v|0)==(bg(g)|0)){C=(rg(e,i)|0)+(h<<2)|0;v=(rg(g,o)|0)+(h<<2)|0;q=(rg(g,i)|0)+(h<<2)|0;u=(rg(g,p)|0)+(h<<2)|0;Gh(r,s,+(h|0),+(i|0),1);Qh(j,k,l,m,n,e,h,i);w=+Rh(d,+f[r>>2],+f[s>>2]);x=+f[q>>2];y=x+(w-+f[C>>2]*2.0);B=+Rh(d,+f[r>>2]+-2.0,+f[s>>2]);B=B+ +f[q+4>>2];A=+Rh(d,+f[r>>2]+2.0,+f[s>>2]);A=(B-(A+ +f[q+-4>>2]))*.25;B=+Rh(d,+f[r>>2],+f[s>>2]+-2.0);B=B+ +f[u>>2];z=+Rh(d,+f[r>>2],+f[s>>2]+2.0);z=(B-(z+ +f[v>>2]))*.25;c[a>>2]=c[l>>2];v=c[n>>2]|0;c[a+4>>2]=v;f[a+8>>2]=A;c[a+12>>2]=v;c[a+16>>2]=c[m>>2];f[a+20>>2]=z;f[a+24>>2]=A;f[a+28>>2]=z;f[a+32>>2]=y;f[b>>2]=-+f[j>>2];f[b+4>>2]=-+f[k>>2];f[b+8>>2]=-((x-w)*.5);yb=t;return}else{C=jf(jf(OC(jf(jf(jf(55420,23176)|0,22444)|0,33528)|0,364)|0,33535)|0,23030)|0;HC(q,C+(c[(c[C>>2]|0)+-12>>2]|0)|0);v=WD(q,56124)|0;v=Gb[c[(c[v>>2]|0)+28>>2]&63](v,10)|0;XD(q);PC(C,v)|0;LC(C)|0;ya()}}C=jf(jf(OC(jf(jf(jf(55420,22898)|0,22444)|0,33528)|0,360)|0,33535)|0,22957)|0;HC(q,C+(c[(c[C>>2]|0)+-12>>2]|0)|0);v=WD(q,56124)|0;v=Gb[c[(c[v>>2]|0)+28>>2]&63](v,10)|0;XD(q);PC(C,v)|0;LC(C)|0;ya()}C=jf(jf(OC(jf(jf(jf(55420,22824)|0,22444)|0,33528)|0,359)|0,33535)|0,22882)|0;HC(q,C+(c[(c[C>>2]|0)+-12>>2]|0)|0);v=WD(q,56124)|0;v=Gb[c[(c[v>>2]|0)+28>>2]&63](v,10)|0;XD(q);PC(C,v)|0;LC(C)|0;ya()}function Qh(a,b,d,e,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0;n=yb;yb=yb+16|0;m=n;if((i|0)>0?(i+1|0)>>>0<(ag(h)|0)>>>0:0){k=j+-1|0;if((j|0)>0?(l=j+1|0,l>>>0<(bg(h)|0)>>>0):0){k=(rg(h,k)|0)+(i<<2)|0;j=(rg(h,j)|0)+(i<<2)|0;m=(rg(h,l)|0)+(i<<2)|0;h=j+4|0;i=j+-4|0;f[a>>2]=(+f[h>>2]-+f[i>>2])*.5;f[b>>2]=(+f[m>>2]-+f[k>>2])*.5;f[d>>2]=+f[h>>2]+(+f[i>>2]-+f[j>>2]*2.0);f[e>>2]=+f[m>>2]+(+f[k>>2]-+f[j>>2]*2.0);f[g>>2]=(+f[k+-4>>2]+ +f[m+4>>2]-(+f[k+4>>2]+ +f[m+-4>>2]))*.25;yb=n;return}n=jf(jf(OC(jf(jf(jf(55420,24077)|0,22444)|0,33528)|0,285)|0,33535)|0,22957)|0;HC(m,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);j=WD(m,56124)|0;j=Gb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;XD(m);PC(n,j)|0;LC(n)|0;ya()}n=jf(jf(OC(jf(jf(jf(55420,24021)|0,22444)|0,33528)|0,284)|0,33535)|0,22882)|0;HC(m,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);j=WD(m,56124)|0;j=Gb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;XD(m);PC(n,j)|0;LC(n)|0;ya()}function Rh(a,b,c){a=a|0;b=+b;c=+c;var d=0,e=0,f=0;f=Sh(a)|0;e=ag(a)|0;d=bg(a)|0;return +(+Uh(f,e,d,Th(a)|0,b,c))}function Sh(a){a=a|0;return c[a+24>>2]|0}function Th(a){a=a|0;return c[a+12>>2]|0}function Uh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;f=+f;return +(+Vh(a,b,c,d,e,f))}function Vh(a,b,d,e,g,h){a=a|0;b=b|0;d=d|0;e=e|0;g=+g;h=+h;var i=0.0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,u=0.0;p=yb;yb=yb+16|0;n=p;o=~~+t(+g);if((o|0)!=(~~g|0)){m=jf(jf(OC(jf(jf(jf(55420,23235)|0,23287)|0,33528)|0,69)|0,33535)|0,23399)|0;HC(n,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);l=WD(n,56124)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;XD(n);PC(m,l)|0;LC(m)|0;ya()}l=~~+t(+h);if((l|0)!=(~~h|0)){m=jf(jf(OC(jf(jf(jf(55420,23429)|0,23287)|0,33528)|0,70)|0,33535)|0,23399)|0;HC(n,m+(c[(c[m>>2]|0)+-12>>2]|0)|0);k=WD(n,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(n);PC(m,k)|0;LC(m)|0;ya()}m=o+1|0;k=l+1|0;if(!((l|0)>-1&l>>>0>>0)){q=jf(jf(OC(jf(jf(jf(55420,23481)|0,23287)|0,33528)|0,79)|0,33535)|0,23527)|0;HC(n,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);r=WD(n,56124)|0;r=Gb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;XD(n);PC(q,r)|0;LC(q)|0;ya()}if(k>>>0>=d>>>0){r=jf(jf(OC(jf(jf(jf(55420,23544)|0,23287)|0,33528)|0,80)|0,33535)|0,23604)|0;HC(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=WD(n,56124)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;XD(n);PC(r,q)|0;LC(r)|0;ya()}if(!((o|0)>-1&o>>>0>>0)){r=jf(jf(OC(jf(jf(jf(55420,23628)|0,23287)|0,33528)|0,81)|0,33535)|0,23673)|0;HC(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=WD(n,56124)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;XD(n);PC(r,q)|0;LC(r)|0;ya()}if(m>>>0>=b>>>0){r=jf(jf(OC(jf(jf(jf(55420,23690)|0,23287)|0,33528)|0,82)|0,33535)|0,23749)|0;HC(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=WD(n,56124)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;XD(n);PC(r,q)|0;LC(r)|0;ya()}b=a+(C(l,e)|0)|0;a=b+e|0;u=+(m|0)-g;i=+(k|0)-h;j=u*i;s=g-+(o|0);i=s*i;h=h-+(l|0);g=u*h;h=s*h;if(!(j>=0.0)|!(j<=1.0001)){r=jf(jf(OC(jf(jf(jf(55420,23773)|0,23287)|0,33528)|0,94)|0,33535)|0,23820)|0;HC(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=WD(n,56124)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;XD(n);PC(r,q)|0;LC(r)|0;ya()}if(!(i>=0.0)|!(i<=1.0001)){r=jf(jf(OC(jf(jf(jf(55420,23833)|0,23287)|0,33528)|0,95)|0,33535)|0,23820)|0;HC(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=WD(n,56124)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;XD(n);PC(r,q)|0;LC(r)|0;ya()}if(!(g>=0.0)|!(g<=1.0001)){r=jf(jf(OC(jf(jf(jf(55420,23880)|0,23287)|0,33528)|0,96)|0,33535)|0,23820)|0;HC(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=WD(n,56124)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;XD(n);PC(r,q)|0;LC(r)|0;ya()}if(!(h>=0.0)|!(h<=1.0001)){r=jf(jf(OC(jf(jf(jf(55420,23927)|0,23287)|0,33528)|0,97)|0,33535)|0,23820)|0;HC(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=WD(n,56124)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;XD(n);PC(r,q)|0;LC(r)|0;ya()}if(!(h+(g+(j+i))<=1.0001)){r=jf(jf(OC(jf(jf(jf(55420,23974)|0,23287)|0,33528)|0,98)|0,33535)|0,23820)|0;HC(n,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=WD(n,56124)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;XD(n);PC(r,q)|0;LC(r)|0;ya()}else{yb=p;return +(j*+f[b+(o<<2)>>2]+i*+f[b+(m<<2)>>2]+g*+f[a+(o<<2)>>2]+h*+f[a+(m<<2)>>2])}return +(0.0)}function Wh(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;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((((c[g>>2]|0)-d|0)/36|0)>>>0>>0){d=((d-(c[a>>2]|0)|0)/36|0)+b|0;e=oh(a)|0;if(e>>>0>>0)KM(a);else{j=c[a>>2]|0;k=((c[g>>2]|0)-j|0)/36|0;g=k<<1;Kg(f,k>>>0>>1>>>0?(g>>>0>>0?d:g):e,((c[h>>2]|0)-j|0)/36|0,a+8|0);Yh(f,b);Lg(a,f);Mg(f);break}}else Xh(a,b);while(0);yb=i;return}function Xh(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+4|0;a=c[e>>2]|0;do{d=a+36|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));a=(c[e>>2]|0)+36|0;c[e>>2]=a;b=b+-1|0}while((b|0)!=0);return}function Yh(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+8|0;a=c[e>>2]|0;do{d=a+36|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));a=(c[e>>2]|0)+36|0;c[e>>2]=a;b=b+-1|0}while((b|0)!=0);return}function Zh(a){a=a|0;return (c[a+4>>2]|0)-(c[a>>2]|0)>>5|0}function _h(a,b){a=a|0;b=b|0;return (c[a>>2]|0)+(b<<5)|0}function $h(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+16|0;d=f;e=c[a>>2]|0;if((c[a+4>>2]|0)-e>>5>>>0>b>>>0){e=ag(e)|0;e=~~+ci(+bi(+(((e>>>0)/((ag((c[a>>2]|0)+(b<<5)|0)|0)>>>0)|0)>>>0)));yb=f;return e|0}else{f=jf(jf(OC(jf(jf(jf(55420,24937)|0,22444)|0,33528)|0,94)|0,33535)|0,24983)|0;HC(d,f+(c[(c[f>>2]|0)+-12>>2]|0)|0);e=WD(d,56124)|0;e=Gb[c[(c[e>>2]|0)+28>>2]&63](e,10)|0;XD(d);PC(f,e)|0;LC(f)|0;ya()}return 0}function ai(a,b){a=a|0;b=b|0;return (b|0)%(c[a+16>>2]|0)|0|0}function bi(a){a=+a;return +(+A(+a)/.6931471824645996)}function ci(a){a=+a;return +(+t(+(a+.5)))}function di(a){a=a|0;c[a>>2]=13484;vg(a+56|0);vg(a+44|0);fi(a+32|0);gi(a);return}function ei(a){a=a|0;di(a);cM(a);return}function fi(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function gi(a){a=a|0;c[a>>2]=13500;Bg(a+4|0);return}function hi(a){a=a|0;gi(a);cM(a);return}function ii(a,g,h,i,j){a=a|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;t=yb;yb=yb+16|0;k=t;if(i>>>0<=4){s=jf(jf(OC(jf(jf(jf(55420,25035)|0,25069)|0,33528)|0,55)|0,33535)|0,25200)|0;HC(k,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);r=WD(k,56124)|0;r=Gb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;XD(k);PC(s,r)|0;LC(s)|0;ya()}if(j>>>0<=4){s=jf(jf(OC(jf(jf(jf(55420,25219)|0,25069)|0,33528)|0,56)|0,33535)|0,25200)|0;HC(k,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);r=WD(k,56124)|0;r=Gb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;XD(k);PC(s,r)|0;LC(s)|0;ya()}o=i+-1|0;p=i+-2|0;q=i+-3|0;r=i+-4|0;l=g;m=0;while(1){if((m|0)==(j|0))break;s=h+(C(m,i)|0)|0;k=d[s>>0]|0;u=s+1|0;n=s+2|0;b[l>>1]=(k*7|0)+(d[n>>0]|0)+((d[u>>0]|0)+k<<2);k=d[s>>0]|0;b[l+2>>1]=((d[u>>0]|0)*6|0)+k+(d[s+3>>0]|0)+((d[n>>0]|0)+k<<2);k=2;n=l+4|0;while(1){if((k|0)==(p|0))break;u=k+1|0;b[n>>1]=((d[s+k>>0]|0)*6|0)+(d[s+(k+-2)>>0]|0)+((d[s+u>>0]|0)+(d[s+(k+-1)>>0]|0)<<2)+(d[s+(k+2)>>0]|0);k=u;n=n+2|0}u=l+(p<<1)|0;n=s+p|0;k=s+q|0;v=s+o|0;w=d[v>>0]|0;b[u>>1]=((d[n>>0]|0)*6|0)+w+(d[s+r>>0]|0)+(w+(d[k>>0]|0)<<2);s=d[v>>0]|0;b[u+2>>1]=(s*7|0)+(d[k>>0]|0)+((d[n>>0]|0)+s<<2);l=l+(i<<1)|0;m=m+1|0}s=j+-2|0;k=g+(i<<1)|0;q=k+(i<<1)|0;l=0;m=q;n=k;o=g;p=a;while(1){if((l|0)==(i|0))break;w=e[o>>1]|0;f[p>>2]=+((w*7|0)+((e[n>>1]|0)+w<<2)+(e[m>>1]|0)|0)*.00390625;l=l+1|0;m=m+2|0;n=n+2|0;o=o+2|0;p=p+4|0}o=0;p=q+(i<<1)|0;n=q;l=g;m=a+(i<<2)|0;while(1){if((o|0)==(i|0))break;w=e[l>>1]|0;f[m>>2]=+(((e[k>>1]|0)*6|0)+w+((e[n>>1]|0)+w<<2)+(e[p>>1]|0)|0)*.00390625;o=o+1|0;p=p+2|0;n=n+2|0;k=k+2|0;l=l+2|0;m=m+4|0}l=2;while(1){if((l|0)==(s|0))break;q=g+((C(l+-2|0,i)|0)<<1)|0;p=q+(i<<1)|0;o=p+(i<<1)|0;n=o+(i<<1)|0;k=0;m=n+(i<<1)|0;r=a+((C(l,i)|0)<<2)|0;while(1){if((k|0)==(i|0))break;f[r>>2]=+(((e[o>>1]|0)*6|0)+(e[q>>1]|0)+((e[n>>1]|0)+(e[p>>1]|0)<<2)+(e[m>>1]|0)|0)*.00390625;k=k+1|0;m=m+2|0;n=n+2|0;o=o+2|0;p=p+2|0;q=q+2|0;r=r+4|0}l=l+1|0}p=g+((C(j+-4|0,i)|0)<<1)|0;o=p+(i<<1)|0;n=o+(i<<1)|0;l=0;m=n+(i<<1)|0;k=a+((C(s,i)|0)<<2)|0;while(1){if((l|0)==(i|0))break;w=e[m>>1]|0;f[k>>2]=+(((e[n>>1]|0)*6|0)+(e[p>>1]|0)+(w+(e[o>>1]|0)<<2)+w|0)*.00390625;l=l+1|0;m=m+2|0;n=n+2|0;o=o+2|0;p=p+2|0;k=k+4|0}o=g+((C(j+-3|0,i)|0)<<1)|0;n=o+(i<<1)|0;l=0;m=n+(i<<1)|0;k=a+((C(j+-1|0,i)|0)<<2)|0;while(1){if((l|0)==(i|0))break;w=e[m>>1]|0;f[k>>2]=+((w*6|0)+(e[o>>1]|0)+(w+(e[n>>1]|0)<<2)+w|0)*.00390625;l=l+1|0;m=m+2|0;n=n+2|0;o=o+2|0;k=k+4|0}yb=t;return}function ji(a,b,d,e,g){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0;q=yb;yb=yb+16|0;h=q;if(e>>>0<=4){p=jf(jf(OC(jf(jf(jf(55420,25035)|0,25069)|0,33528)|0,168)|0,33535)|0,25200)|0;HC(h,p+(c[(c[p>>2]|0)+-12>>2]|0)|0);o=WD(h,56124)|0;o=Gb[c[(c[o>>2]|0)+28>>2]&63](o,10)|0;XD(h);PC(p,o)|0;LC(p)|0;ya()}if(g>>>0<=4){p=jf(jf(OC(jf(jf(jf(55420,25219)|0,25069)|0,33528)|0,169)|0,33535)|0,25200)|0;HC(h,p+(c[(c[p>>2]|0)+-12>>2]|0)|0);o=WD(h,56124)|0;o=Gb[c[(c[o>>2]|0)+28>>2]&63](o,10)|0;XD(h);PC(p,o)|0;LC(p)|0;ya()}l=e+-1|0;m=e+-2|0;n=e+-3|0;o=e+-4|0;i=b;j=0;while(1){if((j|0)==(g|0))break;p=d+((C(j,e)|0)<<2)|0;r=+f[p>>2];k=p+4|0;h=p+8|0;f[i>>2]=+f[h>>2]+(r+(r*6.0+(r+ +f[k>>2])*4.0));r=+f[p>>2];f[i+4>>2]=+f[p+12>>2]+(r+(+f[k>>2]*6.0+(r+ +f[h>>2])*4.0));h=2;k=i+8|0;while(1){if((h|0)==(m|0))break;s=h+1|0;f[k>>2]=+f[p+(h+2<<2)>>2]+(+f[p+(h+-2<<2)>>2]+(+f[p+(h<<2)>>2]*6.0+(+f[p+(h+-1<<2)>>2]+ +f[p+(s<<2)>>2])*4.0));h=s;k=k+4|0}s=i+(m<<2)|0;k=p+(m<<2)|0;h=p+(n<<2)|0;t=p+(l<<2)|0;r=+f[t>>2];f[s>>2]=r+(+f[p+(o<<2)>>2]+(+f[k>>2]*6.0+(+f[h>>2]+r)*4.0));r=+f[t>>2];f[s+4>>2]=r+(+f[h>>2]+(r*6.0+(r+ +f[k>>2])*4.0));i=i+(e<<2)|0;j=j+1|0}p=g+-2|0;h=b+(e<<2)|0;n=h+(e<<2)|0;i=0;j=n;k=h;l=b;m=a;while(1){if((i|0)==(e|0))break;r=+f[l>>2];f[m>>2]=(+f[j>>2]+(r+(r*6.0+(r+ +f[k>>2])*4.0)))*.00390625;i=i+1|0;j=j+4|0;k=k+4|0;l=l+4|0;m=m+4|0}l=0;m=n+(e<<2)|0;k=n;i=b;j=a+(e<<2)|0;while(1){if((l|0)==(e|0))break;r=+f[i>>2];f[j>>2]=(+f[m>>2]+(r+(+f[h>>2]*6.0+(r+ +f[k>>2])*4.0)))*.00390625;l=l+1|0;m=m+4|0;k=k+4|0;h=h+4|0;i=i+4|0;j=j+4|0}i=2;while(1){if((i|0)==(p|0))break;n=b+((C(i+-2|0,e)|0)<<2)|0;m=n+(e<<2)|0;l=m+(e<<2)|0;k=l+(e<<2)|0;h=0;j=k+(e<<2)|0;o=a+((C(i,e)|0)<<2)|0;while(1){if((h|0)==(e|0))break;f[o>>2]=(+f[j>>2]+(+f[n>>2]+(+f[l>>2]*6.0+(+f[m>>2]+ +f[k>>2])*4.0)))*.00390625;h=h+1|0;j=j+4|0;k=k+4|0;l=l+4|0;m=m+4|0;n=n+4|0;o=o+4|0}i=i+1|0}m=b+((C(g+-4|0,e)|0)<<2)|0;l=m+(e<<2)|0;k=l+(e<<2)|0;i=0;j=k+(e<<2)|0;h=a+((C(p,e)|0)<<2)|0;while(1){if((i|0)==(e|0))break;r=+f[j>>2];f[h>>2]=(r+(+f[m>>2]+(+f[k>>2]*6.0+(+f[l>>2]+r)*4.0)))*.00390625;i=i+1|0;j=j+4|0;k=k+4|0;l=l+4|0;m=m+4|0;h=h+4|0}l=b+((C(g+-3|0,e)|0)<<2)|0;k=l+(e<<2)|0;i=0;j=k+(e<<2)|0;h=a+((C(g+-1|0,e)|0)<<2)|0;while(1){if((i|0)==(e|0))break;r=+f[j>>2];f[h>>2]=(r+(+f[l>>2]+(r*6.0+(+f[k>>2]+r)*4.0)))*.00390625;i=i+1|0;j=j+4|0;k=k+4|0;l=l+4|0;h=h+4|0}yb=q;return}function ki(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0;l=c>>>1;j=d>>>1;k=c<<1;i=0;while(1){if((i|0)==(j|0))break;g=b+((C(k,i)|0)<<2)|0;d=0;e=g+(c<<2)|0;h=a;while(1){if((d|0)==(l|0))break;f[h>>2]=(+f[g>>2]+ +f[g+4>>2]+ +f[e>>2]+ +f[e+4>>2])*.25;d=d+1|0;e=e+8|0;g=g+8|0;h=h+4|0}i=i+1|0;a=a+(l<<2)|0}return}function li(a){a=a|0;c[a>>2]=13500;a=a+4|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;return}function mi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;c[a+16>>2]=b;c[a+20>>2]=d;e=+Oa(+(1.0/+(d+-1|0)));f[a+24>>2]=e;f[a+28>>2]=1.0/+A(+e);return}function ni(a){a=a|0;var b=0;li(a);c[a>>2]=13484;a=a+32|0;b=a+36|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function oi(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,l=0;mi(a,e,3);k=a+4|0;l=a+20|0;eg(k,C(c[l>>2]|0,e)|0);g=0;while(1){if((g|0)>=(e|0))break;h=b>>>g;i=d>>>g;f=0;while(1){j=c[l>>2]|0;if(f>>>0>=j>>>0)break;j=(C(j,g)|0)+f|0;qp((c[k>>2]|0)+(j<<5)|0,2,h,i,-1,1);f=f+1|0}g=g+1|0}l=C(d,b)|0;pi(a+32|0,l);ug(a+44|0,l);ug(a+56|0,l);return}function pi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=(c[d>>2]|0)-f>>1;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+(b<<1)}else qi(a,b-e|0);return}function qi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>1>>>0>>0){d=(d-(c[a>>2]|0)>>1)+b|0;e=si(a)|0;if(e>>>0>>0)KM(a);else{j=c[a>>2]|0;g=(c[g>>2]|0)-j|0;ti(f,g>>1>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j>>1,a+8|0);ui(f,b);vi(a,f);wi(f);break}}else ri(a,b);while(0);yb=i;return}function ri(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;XN(d|0,0,b<<1|0)|0;c[a>>2]=d+(b<<1);return}function si(a){a=a|0;return 2147483647}function ti(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if((b|0)<0){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b<<1)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<1)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<1);return}function ui(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;XN(d|0,0,b<<1|0)|0;c[a>>2]=d+(b<<1);return}function vi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>1)<<1)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function wi(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-2|0;c[d>>2]=f;e=f}a=c[a>>2]|0;if(a|0)cM(a);return}function xi(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;h=yb;yb=yb+16|0;d=h;if(($f(b)|0)!=1){g=jf(jf(OC(jf(jf(jf(55420,25254)|0,25069)|0,33528)|0,330)|0,33535)|0,25305)|0;HC(d,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);f=WD(d,56124)|0;f=Gb[c[(c[f>>2]|0)+28>>2]&63](f,10)|0;XD(d);PC(g,f)|0;LC(g)|0;ya()}if((pg(b)|0)!=1){g=jf(jf(OC(jf(jf(jf(55420,25329)|0,25069)|0,33528)|0,331)|0,33535)|0,25374)|0;HC(d,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);f=WD(d,56124)|0;f=Gb[c[(c[f>>2]|0)+28>>2]&63](f,10)|0;XD(d);PC(g,f)|0;LC(g)|0;ya()}e=a+4|0;f=a+16|0;g=a+20|0;if(((c[a+8>>2]|0)-(c[e>>2]|0)>>5|0)!=(C(c[g>>2]|0,c[f>>2]|0)|0)){i=jf(jf(OC(jf(jf(jf(55420,25400)|0,25069)|0,33528)|0,333)|0,33535)|0,25474)|0;HC(d,i+(c[(c[i>>2]|0)+-12>>2]|0)|0);j=WD(d,56124)|0;j=Gb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;XD(d);PC(i,j)|0;LC(i)|0;ya()}j=ag(b)|0;if((j|0)!=(ag(c[e>>2]|0)|0)){j=jf(jf(OC(jf(jf(jf(55420,25509)|0,25069)|0,33528)|0,334)|0,33535)|0,25569)|0;HC(d,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(d,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(d);PC(j,i)|0;LC(j)|0;ya()}j=bg(b)|0;if((j|0)!=(bg(c[e>>2]|0)|0)){j=jf(jf(OC(jf(jf(jf(55420,25601)|0,25069)|0,33528)|0,335)|0,33535)|0,25569)|0;HC(d,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(d,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(d);PC(j,i)|0;LC(j)|0;ya()}yi(a,c[e>>2]|0,b);b=c[e>>2]|0;yi(a,b+32|0,b);b=c[e>>2]|0;zi(a,b+64|0,b+32|0);b=1;while(1){if(b>>>0>=(c[f>>2]|0)>>>0)break;k=C(c[g>>2]|0,b)|0;k=Ai((c[e>>2]|0)+(k<<5)|0)|0;d=(C(c[g>>2]|0,b)|0)+-1|0;d=Ai((c[e>>2]|0)+(d<<5)|0)|0;i=(C(c[g>>2]|0,b)|0)+-1|0;i=ag((c[e>>2]|0)+(i<<5)|0)|0;j=(C(c[g>>2]|0,b)|0)+-1|0;ki(k,d,i,bg((c[e>>2]|0)+(j<<5)|0)|0);j=C(c[g>>2]|0,b)|0;i=c[e>>2]|0;yi(a,i+(j+1<<5)|0,i+(j<<5)|0);j=C(c[g>>2]|0,b)|0;i=c[e>>2]|0;zi(a,i+(j+2<<5)|0,i+(j+1<<5)|0);b=b+1|0}yb=h;return}function yi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;f=yb;yb=yb+16|0;e=f;if(($f(b)|0)!=2){g=jf(jf(OC(jf(jf(jf(55420,25663)|0,25069)|0,33528)|0,357)|0,33535)|0,25710)|0;HC(e,g+(c[(c[g>>2]|0)+-12>>2]|0)|0);h=WD(e,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(e);PC(g,h)|0;LC(g)|0;ya()}switch($f(d)|0){case 1:{e=Ai(b)|0;g=c[a+32>>2]|0;h=Sh(d)|0;ii(e,g,h,ag(d)|0,bg(d)|0);break}case 2:{e=Ai(b)|0;g=c[a+44>>2]|0;h=Sh(d)|0;ji(e,g,h,ag(d)|0,bg(d)|0);break}case 0:{h=Q(16)|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;kM(e,25746,kf(25746)|0);Bi(h,e);U(h|0,11016,5)}default:{h=Q(16)|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;kM(e,25765,kf(25765)|0);Bi(h,e);U(h|0,11016,5)}}yb=f;return}function zi(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;e=yb;yb=yb+32|0;f=e;j=c[a+56>>2]|0;i=$f(d)|0;h=ag(d)|0;g=bg(d)|0;yp(f,j,i,h,g,Th(d)|0,1);yi(a,f,d);yi(a,b,f);Fp(f);yb=e;return}function Ai(a){a=a|0;return c[a+24>>2]|0}function Bi(a,b){a=a|0;b=b|0;c[a>>2]=13516;jM(a+4|0,b);return}function Ci(a){a=a|0;c[a>>2]=13516;nM(a+4|0);return}function Di(a){a=a|0;Ci(a);cM(a);return}function Ei(b){b=b|0;b=b+4|0;if((a[b+11>>0]|0)<0)b=c[b>>2]|0;return b|0}function Fi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0.0,p=0;m=c+-1|0;j=b+(c<<2)|0;h=b+4|0;n=+f[b>>2];o=+f[h>>2]-n;n=+f[j>>2]-n;f[a>>2]=+z(+n,+o)+3.141592653589793;f[a+4>>2]=+v(+(o*o+n*n));g=1;e=j;while(1){i=a+8|0;e=e+4|0;if(g>>>0>=m>>>0)break;l=h+4|0;n=+f[l>>2]-+f[h+-4>>2];o=+f[e>>2]-+f[h>>2];f[i>>2]=+z(+o,+n)+3.141592653589793;f[a+12>>2]=+v(+(n*n+o*o));g=g+1|0;h=l;a=i}l=d+-1|0;o=+f[h>>2];n=o-+f[h+-4>>2];o=+f[e>>2]-o;f[i>>2]=+z(+o,+n)+3.141592653589793;f[a+12>>2]=+v(+(n*n+o*o));k=1;g=i;d=j+(c<<2)|0;h=b;a=j;while(1){e=g+8|0;if(k>>>0>=l>>>0)break;j=a+4|0;n=+f[j>>2]-+f[a>>2];o=+f[d>>2]-+f[h>>2];f[e>>2]=+z(+o,+n)+3.141592653589793;f[g+12>>2]=+v(+(n*n+o*o));i=1;g=g+16|0;while(1){a=d+4|0;e=h+4|0;if(i>>>0>=m>>>0)break;p=j+4|0;n=+f[p>>2]-+f[j+-4>>2];o=+f[a>>2]-+f[e>>2];f[g>>2]=+z(+o,+n)+3.141592653589793;f[g+4>>2]=+v(+(n*n+o*o));i=i+1|0;d=a;h=e;j=p;g=g+8|0}n=+f[j>>2]-+f[j+-4>>2];o=+f[a>>2]-+f[e>>2];f[g>>2]=+z(+o,+n)+3.141592653589793;f[g+4>>2]=+v(+(n*n+o*o));k=k+1|0;d=d+8|0;h=h+8|0;a=j+4|0}h=b+((C(l,c)|0)<<2)|0;a=h+(0-c<<2)|0;p=h+4|0;o=+f[h>>2];n=+f[p>>2]-o;o=o-+f[a>>2];f[e>>2]=+z(+o,+n)+3.141592653589793;f[g+12>>2]=+v(+(n*n+o*o));h=1;g=p;while(1){d=e+8|0;a=a+4|0;if(h>>>0>=m>>>0)break;p=g+4|0;n=+f[p>>2]-+f[g+-4>>2];o=+f[g>>2]-+f[a>>2];f[d>>2]=+z(+o,+n)+3.141592653589793;f[e+12>>2]=+v(+(n*n+o*o));h=h+1|0;e=d;g=p}o=+f[g>>2];n=o-+f[g+-4>>2];o=o-+f[a>>2];f[d>>2]=+z(+o,+n)+3.141592653589793;f[e+12>>2]=+v(+(n*n+o*o));return}function Gi(a){a=a|0;return 536870911}function Hi(a){a=a|0;var b=0;c[a>>2]=0;c[a+4>>2]=0;a=a+12|0;b=a+40|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Ii(a){a=a|0;Bg(a+40|0);vg(a+28|0);return}function Ji(a,b,d,e,g,h,i,j,k,l){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=+i;j=+j;k=k|0;l=+l;var m=0,n=0,o=0;c[a>>2]=e;n=a+4|0;c[n>>2]=g;c[a+8>>2]=h;f[a+12>>2]=i;f[a+16>>2]=j;c[a+20>>2]=k;f[a+24>>2]=l;ug(a+28|0,h);o=a+40|0;eg(o,C(c[n>>2]|0,c[a>>2]|0)|0);k=0;while(1){if((k|0)==(e|0))break;a=C(k,g)|0;m=b>>>k;n=d>>>k;h=0;while(1){if((h|0)==(g|0))break;qp((c[o>>2]|0)+(h+a<<5)|0,2,m,n,-1,2);h=h+1|0}k=k+1|0}return}function Ki(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=yb;yb=yb+16|0;f=g;e=a+40|0;a=0;while(1){d=Pg(b)|0;if(a>>>0>=(c[d+4>>2]|0)-(c[d>>2]|0)>>5>>>0){a=3;break}d=(c[(Pg(b)|0)>>2]|0)+(a<<5)|0;h=ag(d)|0;if((h|0)!=((Th(d)|0)>>>2|0)){a=5;break}j=Li((c[e>>2]|0)+(a<<5)|0)|0;i=Mi(d)|0;h=ag(d)|0;Fi(j,i,h,bg(d)|0);a=a+1|0}if((a|0)==3){yb=g;return}else if((a|0)==5){j=jf(jf(OC(jf(jf(jf(55420,25808)|0,25869)|0,33528)|0,96)|0,33535)|0,25994)|0;HC(f,j+(c[(c[j>>2]|0)+-12>>2]|0)|0);i=WD(f,56124)|0;i=Gb[c[(c[i>>2]|0)+28>>2]&63](i,10)|0;XD(f);PC(j,i)|0;LC(j)|0;ya()}}function Li(a){a=a|0;return c[a+24>>2]|0}function Mi(a){a=a|0;return c[a+24>>2]|0}function Ni(a,b,d,e,g,i,j,k){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;i=+i;j=+j;k=+k;var l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,F=0,G=0;F=yb;yb=yb+48|0;D=F+32|0;E=F+24|0;w=F+16|0;x=F+12|0;y=F+8|0;z=F+4|0;A=F;if(!(i>=0.0)){v=jf(jf(OC(jf(jf(jf(55420,26035)|0,25869)|0,33528)|0,119)|0,33535)|0,26065)|0;HC(D,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=WD(D,56124)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;XD(D);PC(v,u)|0;LC(v)|0;ya()}l=a+4|0;v=(C(c[l>>2]|0,e)|0)+g|0;m=a+40|0;if(!(+((ag((c[m>>2]|0)+(v<<5)|0)|0)>>>0)>i)){v=jf(jf(OC(jf(jf(jf(55420,26084)|0,25869)|0,33528)|0,120)|0,33535)|0,26164)|0;HC(D,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=WD(D,56124)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;XD(D);PC(v,u)|0;LC(v)|0;ya()}if(!(j>=0.0)){v=jf(jf(OC(jf(jf(jf(55420,26200)|0,25869)|0,33528)|0,121)|0,33535)|0,26230)|0;HC(D,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=WD(D,56124)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;XD(D);PC(v,u)|0;LC(v)|0;ya()}v=(C(c[l>>2]|0,e)|0)+g|0;if(!(+((bg((c[m>>2]|0)+(v<<5)|0)|0)>>>0)>j)){v=jf(jf(OC(jf(jf(jf(55420,26249)|0,25869)|0,33528)|0,122)|0,33535)|0,26330)|0;HC(D,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=WD(D,56124)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;XD(D);PC(v,u)|0;LC(v)|0;ya()}q=(C(c[l>>2]|0,e)|0)+g|0;q=(c[m>>2]|0)+(q<<5)|0;if((pg(q)|0)!=2){v=jf(jf(OC(jf(jf(jf(55420,26367)|0,25869)|0,33528)|0,126)|0,33535)|0,26408)|0;HC(D,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=WD(D,56124)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;XD(D);PC(v,u)|0;LC(v)|0;ya()}c[d>>2]=0;e=~~(i+.5);l=~~(j+.5);a:do if(((e|0)>=0?!((l|0)<0|(ag(q)|0)>>>0<=e>>>0):0)?(bg(q)|0)>>>0>l>>>0:0){n=+Oi(1.0,+f[a+12>>2]*k);s=-1.0/(+yh(n)*2.0);n=n*+f[a+16>>2];t=+B(+(+yh(n)));m=~~(n+.5);p=Pi(0,e-m|0)|0;o=Qi(m+e|0,(ag(q)|0)+-1|0)|0;e=Pi(0,l-m|0)|0;m=Qi(m+l|0,(bg(q)|0)+-1|0)|0;u=a+28|0;v=c[u>>2]|0;Ri(v,(c[a+32>>2]|0)-v>>2);v=a+8|0;while(1){if((e|0)>(m|0))break;k=+yh(+(e|0)-j);g=rg(q,e)|0;l=p;while(1){if((l|0)>(o|0))break;n=k+ +yh(+(l|0)-i);if(!(n>t)){G=g+(l<<1<<2)|0;n=+Si(s*n);r=c[v>>2]|0;Ti(c[u>>2]|0,+f[G>>2]*+(r|0)*.159154943091895,n*+f[G+4>>2],r)}l=l+1|0}e=e+1|0}l=a+20|0;e=0;while(1){if((e|0)>=(c[l>>2]|0))break;G=c[u>>2]|0;Ui(G,G,c[v>>2]|0,13528);e=e+1|0}l=c[v>>2]|0;e=0;s=0.0;while(1){if((e|0)>=(l|0))break;j=+f[(c[u>>2]|0)+(e<<2)>>2];e=e+1|0;s=j>s?j:s}if(!(s==0.0)){if(!(s>0.0)){G=jf(jf(OC(jf(jf(jf(55420,26439)|0,25869)|0,33528)|0,218)|0,33535)|0,26477)|0;HC(D,G+(c[(c[G>>2]|0)+-12>>2]|0)|0);r=WD(D,56124)|0;r=Gb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;XD(D);PC(G,r)|0;LC(G)|0;ya()}p=D+4|0;q=E+4|0;r=w+4|0;o=a+24|0;m=0;e=l;while(1){if((m|0)>=(e|0))break a;n=+(m|0);f[D>>2]=n;l=c[u>>2]|0;G=l+(m<<2)|0;a=c[G>>2]|0;c[p>>2]=a;g=m+-1|0;f[E>>2]=+(g|0);g=c[l+(((g+e|0)%(e|0)|0)<<2)>>2]|0;c[q>>2]=g;m=m+1|0;f[w>>2]=+(m|0);l=c[l+(((m+e|0)%(e|0)|0)<<2)>>2]|0;c[r>>2]=l;k=(c[h>>2]=a,+f[h>>2]);if(+f[G>>2]>s*+f[o>>2]?(j=(c[h>>2]=l,+f[h>>2]),k>(c[h>>2]=g,+f[h>>2])&k>j):0){f[A>>2]=n;if(Vi(x,y,z,E,D,w)|0)Wi(A,+f[x>>2],+f[y>>2],+f[z>>2])|0;j=+(c[v>>2]|0);e=c[d>>2]|0;f[b+(e<<2)>>2]=(+f[A>>2]+.5+j)/j*6.283185307179586%6.283185307179586;c[d>>2]=e+1;e=c[v>>2]|0}}}}while(0);yb=F;return}function Oi(a,b){a=+a;b=+b;return +(a>b?a:b)}function Pi(a,b){a=a|0;b=b|0;return ((a|0)>(b|0)?a:b)|0}function Qi(a,b){a=a|0;b=b|0;return ((a|0)<(b|0)?a:b)|0}function Ri(a,b){a=a|0;b=b|0;XN(a|0,0,b<<2|0)|0;return}function Si(a){a=+a;return +(((((((a+6.0)*a+30.0)*a+120.0)*a+360.0)*a+720.0)*a+720.0)*.0013888888)}function Ti(a,b,d,e){a=a|0;b=+b;d=+d;e=e|0;var g=0.0,h=0,i=0,j=0,k=0,l=0;j=yb;yb=yb+16|0;i=j;if(!a){h=jf(jf(OC(jf(jf(jf(55420,26508)|0,26544)|0,33528)|0,139)|0,33535)|0,26667)|0;HC(i,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);k=WD(i,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(i);PC(h,k)|0;LC(h)|0;ya()}if(b+.5>0.0?(g=b+-.5,g<+(e|0)):0){if(!(d>=0.0)){k=jf(jf(OC(jf(jf(jf(55420,26798)|0,26544)|0,33528)|0,141)|0,33535)|0,26836)|0;HC(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);h=WD(i,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(i);PC(k,h)|0;LC(k)|0;ya()}if((e|0)<=-1){k=jf(jf(OC(jf(jf(jf(55420,26865)|0,26544)|0,33528)|0,142)|0,33535)|0,26902)|0;HC(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);h=WD(i,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(i);PC(k,h)|0;LC(k)|0;ya()}k=~~+t(+g);b=b-+(k|0)+-.5;g=1.0-b;h=(k+e|0)%(e|0)|0;e=(k+1|0)%(e|0)|0;if(!(g>=0.0)){k=jf(jf(OC(jf(jf(jf(55420,26931)|0,26544)|0,33528)|0,150)|0,33535)|0,26962)|0;HC(i,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);l=WD(i,56124)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;XD(i);PC(k,l)|0;LC(k)|0;ya()}if(!(b>=0.0)){l=jf(jf(OC(jf(jf(jf(55420,26982)|0,26544)|0,33528)|0,151)|0,33535)|0,27013)|0;HC(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(i,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(i);PC(l,k)|0;LC(l)|0;ya()}if((h|0)<=-1){l=jf(jf(OC(jf(jf(jf(55420,27033)|0,26544)|0,33528)|0,152)|0,33535)|0,27081)|0;HC(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(i,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(i);PC(l,k)|0;LC(l)|0;ya()}if((e|0)>-1){l=a+(h<<2)|0;f[l>>2]=g*d+ +f[l>>2];l=a+(e<<2)|0;f[l>>2]=b*d+ +f[l>>2];yb=j;return}else{l=jf(jf(OC(jf(jf(jf(55420,27107)|0,26544)|0,33528)|0,153)|0,33535)|0,27155)|0;HC(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(i,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(i);PC(l,k)|0;LC(l)|0;ya()}}l=jf(jf(OC(jf(jf(jf(55420,26693)|0,26544)|0,33528)|0,140)|0,33535)|0,26758)|0;HC(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(i,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(i);PC(l,k)|0;LC(l)|0;ya()}function Ui(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,g=0,h=0,i=0,j=0,k=0.0,l=0,m=0.0;k=+f[b>>2];g=c+-1|0;h=b+(g<<2)|0;i=d+4|0;j=d+8|0;e=+f[h>>2];c=0;while(1){if((c|0)==(g|0))break;m=+f[b+(c<<2)>>2];l=c+1|0;f[a+(c<<2)>>2]=e*+f[d>>2]+m*+f[i>>2]+ +f[j>>2]*+f[b+(l<<2)>>2];e=m;c=l}f[a+(g<<2)>>2]=e*+f[d>>2]+ +f[i>>2]*+f[h>>2]+k*+f[j>>2];return}function Vi(a,b,c,d,e,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0.0,i=0.0,j=0.0,k=0.0,l=0.0,m=0,n=0.0;h=+f[g>>2];k=+f[e>>2];l=+f[d>>2];j=h-l;h=(h-k)*j;i=l-k;j=i*j;if(i==0.0|(h==0.0|j==0.0)){f[a>>2]=0.0;f[b>>2]=0.0;b=0;h=0.0}else{l=l*l;m=e+4|0;n=+f[m>>2];e=d+4|0;h=(+f[g+4>>2]-n)/h-(+f[e>>2]-n)/j;f[a>>2]=h;h=(+f[e>>2]-+f[m>>2]+(k*k-l)*h)/i;f[b>>2]=h;b=1;h=+f[e>>2]-l*+f[a>>2]-h*+f[d>>2]}f[c>>2]=h;return b|0}function Wi(a,b,c,d){a=a|0;b=+b;c=+c;d=+d;if(b==0.0)a=0;else{f[a>>2]=-c/(b*2.0);a=1}return a|0}function Xi(a){a=a|0;var b=0,d=0;c[a>>2]=0;d=aM(24)|0;Yi(d);b=c[a>>2]|0;c[a>>2]=d;if(b|0){Zi(b);cM(b)}return}function Yi(a){a=a|0;var b=0,d=0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=1065353216;d=aM(840)|0;oj(d);b=c[a>>2]|0;c[a>>2]=d;if(b|0){$i(b);cM(b)}return}function Zi(a){a=a|0;var b=0;_i(a+4|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0){$i(b);cM(b)}return}function _i(a){a=a|0;lj(a);return}function $i(a){a=a|0;aj(a+788|0);yo(a+652|0);bj(a+636|0);cj(a+316|0);Ng(a+160|0);di(a+92|0);dj(a+72|0);ej(a+64|0);fj(a+12|0);return}function aj(a){a=a|0;jj(a+24|0);kj(a+12|0);vg(a);return}function bj(a){a=a|0;fj(a);return}function cj(a){a=a|0;return}function dj(a){a=a|0;gj(a);return}function ej(a){a=a|0;var b=0,d=0;a=c[a+4>>2]|0;if(a|0?(d=a+4|0,b=c[d>>2]|0,c[d>>2]=b+-1,(b|0)==0):0){Qb[c[(c[a>>2]|0)+8>>2]&255](a);ZL(a)}return}function fj(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function gj(a){a=a|0;var b=0;hj(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)cM(b);return}function hj(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;ij(b+8|0);cM(b);b=a}return}function ij(a){a=a|0;ej(a+4|0);return}function jj(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function kj(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function lj(a){a=a|0;var b=0;mj(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)cM(b);return}function mj(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;nj(b+8|0);cM(b);b=a}return}function nj(a){a=a|0;Af(a+4|0);return}function oj(b){b=b|0;var d=0;c[b+12>>2]=0;c[b+16>>2]=0;c[b+20>>2]=0;d=b+64|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[b+88>>2]=1065353216;ni(b+92|0);d=b+160|0;sg(d);Uo(b+316|0);pj(b+636|0);xo(b+652|0);qj(b+788|0,.009999999776482582,1024,1064,50);rj(d,3.0);sj(d,4.0);tg(d,500);f[b+4>>2]=3.0;c[b>>2]=8;a[b+8>>0]=1;return}function pj(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;f[a+12>>2]=.699999988079071;return}function qj(a,b,d,e,f){a=a|0;b=+b;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=a;h=g+36|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));tj(a,b,d,e,f);return}function rj(a,b){a=a|0;b=+b;f[a+52>>2]=b;return}function sj(a,b){a=a|0;b=+b;f[a+56>>2]=b;return}function tj(a,b,d,e,g){a=a|0;b=+b;d=d|0;e=e|0;g=g|0;ug(a,d*9|0);uj(a+24|0,d);f[a+36>>2]=b;c[a+40>>2]=d;c[a+44>>2]=e;c[a+48>>2]=g;return}function uj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=(c[d>>2]|0)-f>>3;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+(b<<3)}else vj(a,b-e|0);return}function vj(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;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>3>>>0>>0){d=(d-(c[a>>2]|0)>>3)+b|0;e=xj(a)|0;if(e>>>0>>0)KM(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>2;yj(f,k>>3>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j>>3,a+8|0);zj(f,b);Aj(a,f);Bj(f);break}}else wj(a,b);while(0);yb=i;return}function wj(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;XN(d|0,0,b<<3|0)|0;c[a>>2]=d+(b<<3);return}function xj(a){a=a|0;return 536870911}function yj(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function zj(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;XN(d|0,0,b<<3|0)|0;c[a>>2]=d+(b<<3);return}function Aj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>3)<<3)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function Bj(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-8|0;c[d>>2]=f;e=f}a=c[a>>2]|0;if(a|0)cM(a);return}function Cj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[b>>2]|0;f=c[a+4>>2]|0;a:do if(f){g=f+-1|0;h=(g&f|0)==0;if(!h)if(e>>>0>>0)d=e;else d=(e>>>0)%(f>>>0)|0;else d=g&e;b=c[(c[a>>2]|0)+(d<<2)>>2]|0;if(b)while(1){b=c[b>>2]|0;if(!b){b=0;break a}a=c[b+4>>2]|0;if((a|0)==(e|0)){if((c[b+8>>2]|0)==(e|0))break a}else{if(!h){if(a>>>0>=f>>>0)a=(a>>>0)%(f>>>0)|0}else a=a&g;if((a|0)!=(d|0)){b=0;break a}}}else b=0}else b=0;while(0);return b|0}function Dj(a){a=a|0;return a+4|0}function Ej(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=0;while(1){if((b|0)<(c|0)|(a|0)<(c|0))break;d=d+1|0;b=b>>1;a=a>>1}return d|0}function Fj(a){a=a|0;return c[a>>2]|0}function Gj(a){a=a|0;return c[a+4>>2]|0}function Hj(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;pl(a+8|0);ql(a+36|0);return}function Ij(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;d=yb;yb=yb+16|0;e=d;c[a>>2]=b;f=aM(16)|0;c[f+4>>2]=0;c[f+8>>2]=0;c[f>>2]=13548;c[f+12>>2]=b;c[a+4>>2]=f;c[e>>2]=b;c[e+4>>2]=b;dl(a,e);yb=d;return}function Jj(a,b){a=a|0;b=b|0;c[a>>2]=b;return}function Kj(a,b){a=a|0;b=b|0;c[a+4>>2]=b;return}function Lj(b,d,e,g){b=b|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;k=yb;yb=yb+32|0;i=k+20|0;j=k;if(!d){h=jf(jf(OC(jf(jf(jf(55420,31972)|0,28235)|0,33528)|0,212)|0,33535)|0,32108)|0;HC(i,h+(c[(c[h>>2]|0)+-12>>2]|0)|0);l=WD(i,56124)|0;l=Gb[c[(c[l>>2]|0)+28>>2]&63](l,10)|0;XD(i);PC(h,l)|0;LC(h)|0;ya()}if(!e){l=jf(jf(OC(jf(jf(jf(55420,28350)|0,28235)|0,33528)|0,213)|0,33535)|0,28382)|0;HC(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);h=WD(i,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(i);PC(l,h)|0;LC(l)|0;ya()}l=Pg(d)|0;if((c[l+4>>2]|0)==(c[l>>2]|0)){l=jf(jf(OC(jf(jf(jf(55420,28399)|0,28235)|0,33528)|0,214)|0,33535)|0,28451)|0;HC(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);h=WD(i,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(i);PC(l,h)|0;LC(l)|0;ya()}l=ag(c[(Pg(d)|0)>>2]|0)|0;if((l|0)!=(Fj(e)|0)){l=jf(jf(OC(jf(jf(jf(55420,28468)|0,28235)|0,33528)|0,215)|0,33535)|0,28541)|0;HC(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);h=WD(i,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(i);PC(l,h)|0;LC(l)|0;ya()}l=bg(c[(Pg(d)|0)>>2]|0)|0;if((l|0)!=(Gj(e)|0)){l=jf(jf(OC(jf(jf(jf(55420,28576)|0,28235)|0,33528)|0,216)|0,33535)|0,28541)|0;HC(i,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);h=WD(i,56124)|0;h=Gb[c[(c[h>>2]|0)+28>>2]&63](h,10)|0;XD(i);PC(l,h)|0;LC(l)|0;ya()}eh(e,d);h=_k(e)|0;$k(i,((c[h+4>>2]|0)-(c[h>>2]|0)|0)/36|0);h=0;while(1){l=_k(e)|0;if(h>>>0>=(((c[l+4>>2]|0)-(c[l>>2]|0)|0)/36|0)>>>0)break;l=c[(_k(e)|0)>>2]|0;vf(j,+f[l+(h*36|0)>>2],+f[l+(h*36|0)+4>>2],+f[l+(h*36|0)+8>>2],+f[l+(h*36|0)+28>>2],+f[l+(h*36|0)+24>>2]>0.0);l=(c[i>>2]|0)+(h*20|0)|0;c[l>>2]=c[j>>2];c[l+4>>2]=c[j+4>>2];c[l+8>>2]=c[j+8>>2];c[l+12>>2]=c[j+12>>2];a[l+16>>0]=a[j+16>>0]|0;cf(j);h=h+1|0}Vo(g,Nj(b)|0,d,i);bf(i);yb=k;return}function Mj(){if((a[53440]|0)==0?CN(53440)|0:0)Gp(54364);return 54364}function Nj(a){a=a|0;return a+8|0}function Oj(a){a=a|0;return ((c[a+20>>2]|0)-(c[a+16>>2]|0)|0)/20|0|0}function Pj(a){a=a|0;var b=0,d=0;d=a+36|0;Uj(d,128);Vj(d,8);Wj(d,8);Xj(d,16);a=a+8|0;b=c[(Yj(a)|0)>>2]|0;Zj(d,b,Oj(a)|0);return}function Qj(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;r=s+4|0;l=s;m=s+16|0;c[l>>2]=b;q=c[b>>2]|0;o=a+4|0;i=c[o>>2]|0;p=(i|0)==0;a:do if(!p){k=i+-1|0;e=(k&i|0)==0;if(!e)if(q>>>0>>0)j=q;else j=(q>>>0)%(i>>>0)|0;else j=k&q;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;n=16}else do{b=c[b>>2]|0;if(!b){b=j;n=16;break a}d=c[b+4>>2]|0;if((d|0)!=(q|0)){if(!e){if(d>>>0>=i>>>0)d=(d>>>0)%(i>>>0)|0}else d=d&k;if((d|0)!=(j|0)){b=j;n=16;break a}}}while((c[b+8>>2]|0)!=(q|0))}else{b=0;n=16}while(0);if((n|0)==16){Rj(r,a,q,56564,l,m);j=a+12|0;g=+(((c[j>>2]|0)+1|0)>>>0);h=+f[a+16>>2];do if(p|h*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;d=~~+B(+(g/h))>>>0;Sj(a,b>>>0>>0?d:b);b=c[o>>2]|0;d=b+-1|0;if(!(d&b)){i=b;b=d&q;break}if(q>>>0>>0){i=b;b=q}else{i=b;b=(q>>>0)%(b>>>0)|0}}while(0);d=c[(c[a>>2]|0)+(b<<2)>>2]|0;if(!d){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(b<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[d>>2];c[d>>2]=c[r>>2];b=r}r=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=r}yb=s;return b+12|0}function Rj(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=aM(20)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];c[h+12>>2]=0;c[h+16>>2]=0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function Sj(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=zB(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=zB(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)Tj(a,b)}}else Tj(a,b);return}function Tj(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;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=Q(8)|0;gM(a,40521);c[a>>2]=17440;U(a|0,13288,107)}l=aM(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)cM(d);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)cM(d);c[e>>2]=0}while(0);return}function Uj(a,b){a=a|0;b=b|0;Zk(a+12|0,b);return}function Vj(a,b){a=a|0;b=b|0;Yk(a+12|0,b);return}function Wj(a,b){a=a|0;b=b|0;c[a+104>>2]=b;return}function Xj(a,b){a=a|0;b=b|0;c[a+108>>2]=b;return}function Yj(a){a=a|0;return a+4|0}function Zj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;g=i;_j(g,d);f=c[g>>2]|0;h=(c[g+4>>2]|0)-f>>2;e=0;while(1){if((e|0)==(h|0))break;c[f+(e<<2)>>2]=e;e=e+1|0}$j(a,b,d,f,h);kj(g);yb=i;return}function _j(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){Xk(a,b);Tk(a,b)}return}function $j(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;g=aM(128)|0;bk(g,ak(a)|0);i=a+8|0;h=c[i>>2]|0;c[i>>2]=g;if(h){ck(h);cM(h);g=c[i>>2]|0}dk(g,0);ek(a,c[i>>2]|0,b,d,e,f);return}function ak(a){a=a|0;var b=0;b=a+4|0;a=c[b>>2]|0;c[b>>2]=a+1;return a|0}function bk(b,d){b=b|0;d=d|0;c[b>>2]=d;a[b+100>>0]=1;d=b+104|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;Wk(b+4|0,96);return}function ck(a){a=a|0;var b=0,d=0,e=0,f=0;e=a+104|0;f=a+108|0;d=0;while(1){b=c[e>>2]|0;if(d>>>0>=(c[f>>2]|0)-b>>2>>>0)break;b=c[b+(d<<2)>>2]|0;if(b|0){ck(b);cM(b)}d=d+1|0}kj(a+116|0);Vk(e);return}function dk(b,c){b=b|0;c=c|0;a[b+100>>0]=c&1;return}function ek(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,l=0,m=0,n=0,o=0,p=0,q=0;q=yb;yb=yb+32|0;o=q+20|0;p=q;h=a+12|0;n=fk(h)|0;if((Pi(n,c[a+108>>2]|0)|0)>=(g|0)){dk(b,1);hk(gk(b)|0,g);h=0;while(1){if((h|0)>=(g|0))break;p=c[f+(h<<2)>>2]|0;c[(c[(gk(b)|0)>>2]|0)+(h<<2)>>2]=p;h=h+1|0}yb=q;return}c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[p+16>>2]=1065353216;ik(h,d,e,f,g);m=jk(h)|0;n=m+4|0;i=c[n>>2]|0;h=c[m>>2]|0;if((i-h>>2|0)!=(g|0)){l=jf(jf(OC(jf(jf(jf(55420,27230)|0,27286)|0,33528)|0,363)|0,33535)|0,27416)|0;HC(o,l+(c[(c[l>>2]|0)+-12>>2]|0)|0);k=WD(o,56124)|0;k=Gb[c[(c[k>>2]|0)+28>>2]&63](k,10)|0;XD(o);PC(l,k)|0;LC(l)|0;ya()}l=0;while(1){if(l>>>0>=i-h>>2>>>0){h=10;break}h=c[h+(l<<2)>>2]|0;if((h|0)==-1){h=12;break}if((h|0)>=(g|0)){h=14;break}h=f+(h<<2)|0;if((c[h>>2]|0)>=(e|0)){h=16;break}h=kk(p,h)|0;i=f+(l<<2)|0;j=h+4|0;k=c[j>>2]|0;if((k|0)==(c[h+8>>2]|0))lk(h,i);else{c[k>>2]=c[i>>2];c[j>>2]=k+4}l=l+1|0;h=c[m>>2]|0;i=c[n>>2]|0}if((h|0)==10){h=p+12|0;a:do if((c[h>>2]|0)==1){dk(b,1);hk(gk(b)|0,g);h=0;while(1){if((h|0)>=(g|0))break a;o=c[f+(h<<2)>>2]|0;c[(c[(gk(b)|0)>>2]|0)+(h<<2)>>2]=o;h=h+1|0}}else{g=mk(b)|0;nk(g,c[h>>2]|0);h=p+8|0;while(1){h=c[h>>2]|0;if(!h)break a;i=h;l=i+12|0;m=i+16|0;if((c[m>>2]|0)==(c[l>>2]|0))break;j=aM(128)|0;k=ak(a)|0;ok(j,k,d+((c[i+8>>2]|0)*96|0)|0);c[o>>2]=j;dk(j,0);i=mk(b)|0;j=i+4|0;k=c[j>>2]|0;if((k|0)==(c[i+8>>2]|0))pk(i,o);else{c[k>>2]=c[o>>2];c[j>>2]=(c[j>>2]|0)+4}g=c[l>>2]|0;ek(a,c[o>>2]|0,d,e,g,(c[m>>2]|0)-g>>2)}b=jf(jf(OC(jf(jf(jf(55420,27639)|0,27286)|0,33528)|0,387)|0,33535)|0,27685)|0;HC(o,b+(c[(c[b>>2]|0)+-12>>2]|0)|0);e=WD(o,56124)|0;e=Gb[c[(c[e>>2]|0)+28>>2]&63](e,10)|0;XD(o);PC(b,e)|0;LC(b)|0;ya()}while(0);qk(p);yb=q;return}else if((h|0)==12){q=jf(jf(OC(jf(jf(jf(55420,27438)|0,27286)|0,33528)|0,365)|0,33535)|0,27481)|0;HC(o,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);b=WD(o,56124)|0;b=Gb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;XD(o);PC(q,b)|0;LC(q)|0;ya()}else if((h|0)==14){q=jf(jf(OC(jf(jf(jf(55420,27503)|0,27286)|0,33528)|0,366)|0,33535)|0,27554)|0;HC(o,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);b=WD(o,56124)|0;b=Gb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;XD(o);PC(q,b)|0;LC(q)|0;ya()}else if((h|0)==16){q=jf(jf(OC(jf(jf(jf(55420,27578)|0,27286)|0,33528)|0,367)|0,33535)|0,27554)|0;HC(o,q+(c[(c[q>>2]|0)+-12>>2]|0)|0);b=WD(o,56124)|0;b=Gb[c[(c[b>>2]|0)+28>>2]&63](b,10)|0;XD(o);PC(q,b)|0;LC(q)|0;ya()}}function fk(a){a=a|0;return c[a+4>>2]|0}function gk(a){a=a|0;return a+116|0}function hk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=(c[d>>2]|0)-f>>2;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+(b<<2)}else Sk(a,b-e|0);return}function ik(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+16|0;o=s;p=a+4|0;g=c[p>>2]|0;q=a+12|0;r=a+16|0;if((g|0)!=((c[r>>2]|0)-(c[q>>2]|0)>>2|0)){n=jf(jf(OC(jf(jf(jf(55420,27722)|0,27767)|0,33528)|0,154)|0,33535)|0,27875)|0;HC(o,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(o,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(o);PC(n,m)|0;LC(n)|0;ya()}if((d|0)<=0){n=jf(jf(OC(jf(jf(jf(55420,27920)|0,27767)|0,33528)|0,155)|0,33535)|0,27960)|0;HC(o,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(o,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(o);PC(n,m)|0;LC(n)|0;ya()}if((f|0)>(d|0)){n=jf(jf(OC(jf(jf(jf(55420,27996)|0,27767)|0,33528)|0,156)|0,33535)|0,28047)|0;HC(o,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(o,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(o);PC(n,m)|0;LC(n)|0;ya()}if((g|0)>(f|0)){n=jf(jf(OC(jf(jf(jf(55420,28074)|0,27767)|0,33528)|0,157)|0,33535)|0,28115)|0;HC(o,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(o,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(o);PC(n,m)|0;LC(n)|0;ya()}j=a+24|0;c[o>>2]=-1;Gk(j,f,o);k=a+36|0;c[o>>2]=-1;Gk(k,f,o);l=a+48|0;hk(l,f);n=c[l>>2]|0;m=a+52|0;Hk(n,(c[m>>2]|0)-n>>2,0);n=a+8|0;g=-1;i=0;while(1){if((i|0)>=(c[n>>2]|0))break;h=c[l>>2]|0;Ik(h,(c[m>>2]|0)-h>>2,c[p>>2]|0,c[a>>2]|0);h=Jk(a,k,b,d,e,f,c[l>>2]|0,c[p>>2]|0)|0;if(h>>>0>>0){Kk(j,k);Lk(c[q>>2]|0,c[l>>2]|0,c[p>>2]|0);g=h}i=i+1|0}if((c[p>>2]|0)==((c[r>>2]|0)-(c[q>>2]|0)>>2|0)){yb=s;return}else{s=jf(jf(OC(jf(jf(jf(55420,27722)|0,27767)|0,33528)|0,187)|0,33535)|0,27875)|0;HC(o,s+(c[(c[s>>2]|0)+-12>>2]|0)|0);r=WD(o,56124)|0;r=Gb[c[(c[r>>2]|0)+28>>2]&63](r,10)|0;XD(o);PC(s,r)|0;LC(s)|0;ya()}}function jk(a){a=a|0;return a+24|0}function kk(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;r=s+4|0;l=s;m=s+16|0;c[l>>2]=b;q=c[b>>2]|0;o=a+4|0;i=c[o>>2]|0;p=(i|0)==0;a:do if(!p){k=i+-1|0;e=(k&i|0)==0;if(!e)if(q>>>0>>0)j=q;else j=(q>>>0)%(i>>>0)|0;else j=k&q;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;n=16}else do{b=c[b>>2]|0;if(!b){b=j;n=16;break a}d=c[b+4>>2]|0;if((d|0)!=(q|0)){if(!e){if(d>>>0>=i>>>0)d=(d>>>0)%(i>>>0)|0}else d=d&k;if((d|0)!=(j|0)){b=j;n=16;break a}}}while((c[b+8>>2]|0)!=(q|0))}else{b=0;n=16}while(0);if((n|0)==16){Dk(r,a,q,56564,l,m);j=a+12|0;g=+(((c[j>>2]|0)+1|0)>>>0);h=+f[a+16>>2];do if(p|h*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;d=~~+B(+(g/h))>>>0;Ek(a,b>>>0>>0?d:b);b=c[o>>2]|0;d=b+-1|0;if(!(d&b)){i=b;b=d&q;break}if(q>>>0>>0){i=b;b=q}else{i=b;b=(q>>>0)%(b>>>0)|0}}while(0);d=c[(c[a>>2]|0)+(b<<2)>>2]|0;if(!d){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(b<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[d>>2];c[d>>2]=c[r>>2];b=r}r=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=r}yb=s;return b+12|0}function lk(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;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>2)+1|0;g=zk(a)|0;if(g>>>0>>0)KM(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>1;Ak(d,k>>2>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>2,a+8|0);g=d+8|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[g>>2]=f+4;Bk(a,d);Ck(d);yb=h;return}}function mk(a){a=a|0;return a+104|0}function nk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+32|0;d=f;e=c[a>>2]|0;if((c[a+8>>2]|0)-e>>2>>>0>>0){vk(d,b,(c[a+4>>2]|0)-e>>2,a+8|0);wk(a,d);xk(d)}yb=f;return}function ok(b,d,e){b=b|0;d=d|0;e=e|0;c[b>>2]=d;a[b+100>>0]=1;d=b+104|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;yk(b+4|0,e,96);return}function pk(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;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>2)+1|0;g=uk(a)|0;if(g>>>0>>0)KM(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>1;vk(d,k>>2>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>2,a+8|0);g=d+8|0;c[c[g>>2]>>2]=c[b>>2];c[g>>2]=(c[g>>2]|0)+4;wk(a,d);xk(d);yb=h;return}}function qk(a){a=a|0;rk(a);return}function rk(a){a=a|0;var b=0;sk(a,c[a+8>>2]|0);b=c[a>>2]|0;c[a>>2]=0;if(b|0)cM(b);return}function sk(a,b){a=a|0;b=b|0;while(1){if(!b)break;a=c[b>>2]|0;tk(b+8|0);cM(b);b=a}return}function tk(a){a=a|0;kj(a+4|0);return}function uk(a){a=a|0;return 1073741823}function vk(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<2);return}function wk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function xk(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-4|0;c[d>>2]=f;e=f}a=c[a>>2]|0;if(a|0)cM(a);return}function yk(a,b,c){a=a|0;b=b|0;c=c|0;VN(a|0,b|0,c|0)|0;return}function zk(a){a=a|0;return 1073741823}function Ak(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>1073741823){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b<<2)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<2)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<2);return}function Bk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function Ck(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-4|0;c[d>>2]=f;e=f}a=c[a>>2]|0;if(a|0)cM(a);return}function Dk(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=aM(24)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function Ek(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=zB(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=zB(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)Fk(a,b)}}else Fk(a,b);return}function Fk(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;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=Q(8)|0;gM(a,40521);c[a>>2]=17440;U(a|0,13288,107)}l=aM(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)cM(d);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)cM(d);c[e>>2]=0}while(0);return}function Gk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+4|0;g=c[a>>2]|0;f=(c[e>>2]|0)-g>>2;if(f>>>0>=b>>>0){if(f>>>0>b>>>0)c[e>>2]=g+(b<<2)}else Qk(a,b-f|0,d);return}function Hk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a:do if((b|0)>=1){c[a>>2]=d;e=1;while(1){if((e|0)==(b|0))break a;f=d+1|0;c[a+(e<<2)>>2]=f;e=e+1|0;d=f}}while(0);return}function Ik(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;f=0;while(1){if((f|0)>=(d|0))break;i=a+(f<<2)|0;g=a+(((Pk(e)|0)%(b|0)|0)<<2)|0;h=c[i>>2]|0;c[i>>2]=c[g>>2];c[g>>2]=h;f=f+1|0}return}function Jk(a,b,d,e,f,g,h,i){a=a|0;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,l=0,m=0,n=0,o=0;o=yb;yb=yb+16|0;a=o;if(((c[b+4>>2]|0)-(c[b>>2]|0)>>2|0)!=(g|0)){n=jf(jf(OC(jf(jf(jf(55420,27230)|0,27767)|0,33528)|0,198)|0,33535)|0,28135)|0;HC(a,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(a,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(a);PC(n,m)|0;LC(n)|0;ya()}if((e|0)<=0){n=jf(jf(OC(jf(jf(jf(55420,27920)|0,27767)|0,33528)|0,199)|0,33535)|0,27960)|0;HC(a,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(a,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(a);PC(n,m)|0;LC(n)|0;ya()}if((g|0)>(e|0)){n=jf(jf(OC(jf(jf(jf(55420,27996)|0,27767)|0,33528)|0,200)|0,33535)|0,28047)|0;HC(a,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(a,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(a);PC(n,m)|0;LC(n)|0;ya()}if((i|0)<=0){n=jf(jf(OC(jf(jf(jf(55420,28164)|0,27767)|0,33528)|0,201)|0,33535)|0,28203)|0;HC(a,n+(c[(c[n>>2]|0)+-12>>2]|0)|0);m=WD(a,56124)|0;m=Gb[c[(c[m>>2]|0)+28>>2]&63](m,10)|0;XD(a);PC(n,m)|0;LC(n)|0;ya()}k=0;m=0;while(1){if((m|0)>=(g|0))break;n=f+(m<<2)|0;l=0;a=-1;while(1){if((l|0)==(i|0))break;e=h+(l<<2)|0;j=Mk(d+((c[n>>2]|0)*96|0)|0,d+((c[f+(c[e>>2]<<2)>>2]|0)*96|0)|0)|0;if(j>>>0>>0){c[(c[b>>2]|0)+(m<<2)>>2]=c[e>>2];a=j}l=l+1|0}k=a+k|0;m=m+1|0}yb=o;return k|0}function Kk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=c[a>>2]|0;c[a>>2]=c[b>>2];c[b>>2]=f;f=a+4|0;d=b+4|0;e=c[f>>2]|0;c[f>>2]=c[d>>2];c[d>>2]=e;d=a+8|0;b=b+8|0;a=c[d>>2]|0;c[d>>2]=c[b>>2];c[b>>2]=a;return}function Lk(a,b,c){a=a|0;b=b|0;c=c|0;VN(a|0,b|0,c<<2|0)|0;return}function Mk(a,b){a=a|0;b=b|0;return Nk(a,b)|0}function Nk(a,b){a=a|0;b=b|0;var d=0;d=Ok(c[a>>2]|0,c[b>>2]|0)|0;d=(Ok(c[a+4>>2]|0,c[b+4>>2]|0)|0)+d|0;d=d+(Ok(c[a+8>>2]|0,c[b+8>>2]|0)|0)|0;d=d+(Ok(c[a+12>>2]|0,c[b+12>>2]|0)|0)|0;d=d+(Ok(c[a+16>>2]|0,c[b+16>>2]|0)|0)|0;d=d+(Ok(c[a+20>>2]|0,c[b+20>>2]|0)|0)|0;d=d+(Ok(c[a+24>>2]|0,c[b+24>>2]|0)|0)|0;d=d+(Ok(c[a+28>>2]|0,c[b+28>>2]|0)|0)|0;d=d+(Ok(c[a+32>>2]|0,c[b+32>>2]|0)|0)|0;d=d+(Ok(c[a+36>>2]|0,c[b+36>>2]|0)|0)|0;d=d+(Ok(c[a+40>>2]|0,c[b+40>>2]|0)|0)|0;d=d+(Ok(c[a+44>>2]|0,c[b+44>>2]|0)|0)|0;d=d+(Ok(c[a+48>>2]|0,c[b+48>>2]|0)|0)|0;d=d+(Ok(c[a+52>>2]|0,c[b+52>>2]|0)|0)|0;d=d+(Ok(c[a+56>>2]|0,c[b+56>>2]|0)|0)|0;d=d+(Ok(c[a+60>>2]|0,c[b+60>>2]|0)|0)|0;d=d+(Ok(c[a+64>>2]|0,c[b+64>>2]|0)|0)|0;d=d+(Ok(c[a+68>>2]|0,c[b+68>>2]|0)|0)|0;d=d+(Ok(c[a+72>>2]|0,c[b+72>>2]|0)|0)|0;d=d+(Ok(c[a+76>>2]|0,c[b+76>>2]|0)|0)|0;d=d+(Ok(c[a+80>>2]|0,c[b+80>>2]|0)|0)|0;d=d+(Ok(c[a+84>>2]|0,c[b+84>>2]|0)|0)|0;d=d+(Ok(c[a+88>>2]|0,c[b+88>>2]|0)|0)|0;return d+(Ok(c[a+92>>2]|0,c[b+92>>2]|0)|0)|0}function Ok(a,b){a=a|0;b=b|0;b=b^a;b=b-(b>>>1&1431655765)|0;b=(b>>>2&858993459)+(b&858993459)|0;return (C((b>>>4)+b&252645135,16843009)|0)>>>24|0}function Pk(a){a=a|0;var b=0;b=((c[a>>2]|0)*214013|0)+2531011|0;c[a>>2]=b;return b>>>16&32767|0}function Qk(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,l=0;k=yb;yb=yb+32|0;h=k;i=a+8|0;j=a+4|0;e=c[j>>2]|0;g=e;do if((c[i>>2]|0)-e>>2>>>0>>0){e=(e-(c[a>>2]|0)>>2)+b|0;f=zk(a)|0;if(f>>>0>>0)KM(a);else{g=c[a>>2]|0;l=(c[i>>2]|0)-g|0;i=l>>1;Ak(h,l>>2>>>0>>1>>>0?(i>>>0>>0?e:i):f,(c[j>>2]|0)-g>>2,a+8|0);Rk(h,b,d);Bk(a,h);Ck(h);break}}else{e=b;f=g;while(1){c[f>>2]=c[d>>2];e=e+-1|0;if(!e)break;else f=f+4|0}c[j>>2]=g+(b<<2)}while(0);yb=k;return}function Rk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=a+8|0;e=c[f>>2]|0;a=b;g=e;while(1){c[g>>2]=c[d>>2];a=a+-1|0;if(!a)break;else g=g+4|0}c[f>>2]=e+(b<<2);return}function Sk(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;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>2>>>0>>0){d=(d-(c[a>>2]|0)>>2)+b|0;e=zk(a)|0;if(e>>>0>>0)KM(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>1;Ak(f,k>>2>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j>>2,a+8|0);Uk(f,b);Bk(a,f);Ck(f);break}}else Tk(a,b);while(0);yb=i;return}function Tk(a,b){a=a|0;b=b|0;var d=0;a=a+4|0;d=c[a>>2]|0;XN(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function Uk(a,b){a=a|0;b=b|0;var d=0;a=a+8|0;d=c[a>>2]|0;XN(d|0,0,b<<2|0)|0;c[a>>2]=d+(b<<2);return}function Vk(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function Wk(a,b){a=a|0;b=b|0;XN(a|0,0,b|0)|0;return}function Xk(a,b){a=a|0;b=b|0;var d=0;if((zk(a)|0)>>>0>>0)KM(a);if(b>>>0>1073741823){b=Q(8)|0;gM(b,40521);c[b>>2]=17440;U(b|0,13288,107)}else{d=aM(b<<2)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b<<2);return}}function Yk(a,b){a=a|0;b=b|0;c[a+4>>2]=b;hk(a+12|0,b);return}function Zk(a,b){a=a|0;b=b|0;c[a+8>>2]=b;return}function _k(a){a=a|0;return a+60|0}function $k(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){al(a,b);bl(a,b)}return}function al(a,b){a=a|0;b=b|0;var d=0;if((Jf(a)|0)>>>0>>0)KM(a);if(b>>>0>214748364){b=Q(8)|0;gM(b,40521);c[b>>2]=17440;U(b|0,13288,107)}else{d=aM(b*20|0)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b*20|0);return}}function bl(a,b){a=a|0;b=b|0;var d=0;d=a+4|0;a=b;b=c[d>>2]|0;do{cl(b);b=(c[d>>2]|0)+20|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function cl(b){b=b|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;a[b+16>>0]=1;return}function dl(a,b){a=a|0;b=b|0;return}function el(a){a=a|0;fl(a+36|0);gl(a+8|0);return}function fl(a){a=a|0;var b=0;hl(a+84|0);kj(a+72|0);il(a+12|0);b=a+8|0;a=c[b>>2]|0;c[b>>2]=0;if(a|0){ck(a);cM(a)}return}function gl(a){a=a|0;bf(a+16|0);af(a+4|0);return}function hl(a){a=a|0;jl(a);return}function il(a){a=a|0;kj(a+48|0);kj(a+36|0);kj(a+24|0);kj(a+12|0);return}function jl(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;if(d|0){e=a+4|0;b=c[e>>2]|0;while(1){if((b|0)==(d|0))break;f=b+-8|0;kl(f);b=f}c[e>>2]=d;cM(c[a>>2]|0)}return}function kl(a){a=a|0;return}function ll(a){a=a|0;YL(a);cM(a);return}function ml(a){a=a|0;a=c[a+12>>2]|0;if(a|0){el(a);cM(a)}return}function nl(a,b){a=a|0;b=b|0;return ((c[b+4>>2]|0)==28651?a+12|0:0)|0}function ol(a){a=a|0;cM(a);return}function pl(a){a=a|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;return}function ql(a){a=a|0;var b=0,d=0;c[a>>2]=1234;c[a+4>>2]=0;c[a+8>>2]=0;b=a+12|0;rl(b,a);d=a+72|0;c[a+100>>2]=0;c[a+104>>2]=0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[a+108>>2]=16;Yk(b,8);Zk(b,1);return}function rl(a,b){a=a|0;b=b|0;c[a>>2]=b;a=a+4|0;b=a+56|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function sl(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,l=0,m=0,n=0;l=yb;yb=yb+32|0;m=l+24|0;j=l+12|0;k=l+16|0;n=l+8|0;i=l;c[j>>2]=h;h=aM(148)|0;Hj(h);c[n>>2]=0;c[m>>2]=c[n>>2];Ij(k,h,m);Jj(c[k>>2]|0,f);Kj(c[k>>2]|0,g);tl(Nj(c[k>>2]|0)|0,96);g=ul(Nj(c[k>>2]|0)|0)|0;f=b+4|0;vl(g,((c[f>>2]|0)-(c[b>>2]|0)|0)/20|0);g=ul(Nj(c[k>>2]|0)|0)|0;if((g|0)!=(b|0))wl(g,c[b>>2]|0,c[f>>2]|0);g=Yj(Nj(c[k>>2]|0)|0)|0;f=d+4|0;xl(g,(c[f>>2]|0)-(c[d>>2]|0)|0);g=Yj(Nj(c[k>>2]|0)|0)|0;if((g|0)!=(d|0))yl(g,c[d>>2]|0,c[f>>2]|0);Pj(c[k>>2]|0);f=c[c[a>>2]>>2]|0;c[i>>2]=c[k>>2];g=c[k+4>>2]|0;c[i+4>>2]=g;if(g|0){n=g+4|0;c[n>>2]=(c[n>>2]|0)+1}zl(f,i,c[j>>2]|0);ej(i);f=Al((c[a>>2]|0)+4|0,j)|0;if((f|0)!=(e|0))Bl(f,c[e>>2]|0,c[e+4>>2]|0);ej(k);yb=l;return}function tl(a,b){a=a|0;b=b|0;c[a>>2]=b;return}function ul(a){a=a|0;return a+16|0}function vl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=a+4|0;d=c[g>>2]|0;f=c[a>>2]|0;e=(d-f|0)/20|0;if(e>>>0>=b>>>0){if(e>>>0>b>>>0){a=f+(b*20|0)|0;while(1){if((d|0)==(a|0))break;f=d+-20|0;cf(f);d=f}c[g>>2]=a}}else Ql(a,b-e|0);return}function wl(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,l=0;e=b;l=(d-e|0)/20|0;f=a+8|0;i=c[a>>2]|0;g=i;do if(l>>>0>(((c[f>>2]|0)-i|0)/20|0)>>>0){Pl(a);e=Jf(a)|0;if(e>>>0>>0)KM(a);else{j=((c[f>>2]|0)-(c[a>>2]|0)|0)/20|0;k=j<<1;al(a,j>>>0>>1>>>0?(k>>>0>>0?l:k):e);Ol(a,b,d,l);break}}else{k=a+4|0;j=((c[k>>2]|0)-i|0)/20|0;h=l>>>0>j>>>0;j=h?b+(j*20|0)|0:d;e=j-e|0;if(e|0)WN(i|0,b|0,e|0)|0;f=g+(((e|0)/20|0)*20|0)|0;if(h){Ol(a,j,d,l-(((c[k>>2]|0)-(c[a>>2]|0)|0)/20|0)|0);break}e=c[k>>2]|0;while(1){if((e|0)==(f|0))break;l=e+-20|0;cf(l);e=l}c[k>>2]=f}while(0);return}function xl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=(c[d>>2]|0)-f|0;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+b}else Ll(a,b-e|0);return}function yl(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=b;k=d-i|0;f=a+8|0;e=c[a>>2]|0;j=e;do if(k>>>0>((c[f>>2]|0)-e|0)>>>0){Jl(a);e=Bf(a)|0;if(e>>>0>>0)KM(a);else{i=(c[f>>2]|0)-(c[a>>2]|0)|0;j=i<<1;Kl(a,i>>>0>>1>>>0?(j>>>0>>0?k:j):e);Il(a,b,d,k);break}}else{h=a+4|0;g=(c[h>>2]|0)-e|0;f=k>>>0>g>>>0;g=f?b+g|0:d;e=g-i|0;if(e|0)WN(j|0,b|0,e|0)|0;if(f){Il(a,g,d,k-(c[h>>2]|0)+(c[a>>2]|0)|0);break}else{c[h>>2]=j+e;break}}while(0);return}function zl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;h=i+4|0;e=i;c[e>>2]=d;a=a+72|0;if(Cj(a,e)|0){i=Q(16)|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;kM(h,27181,kf(27181)|0);Bi(i,h);U(i|0,11016,5)}f=Qj(a,e)|0;g=c[b>>2]|0;c[h>>2]=g;e=h+4|0;a=c[b+4>>2]|0;c[e>>2]=a;if(!a){d=e;a=0}else{d=a+4|0;c[d>>2]=(c[d>>2]|0)+1;d=e;a=c[e>>2]|0}c[h>>2]=c[f>>2];c[f>>2]=g;b=f+4|0;c[d>>2]=c[b>>2];c[b>>2]=a;ej(h);yb=i;return}function Al(a,b){a=a|0;b=b|0;var d=0,e=0,g=0.0,h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+32|0;r=s+4|0;l=s;m=s+16|0;c[l>>2]=b;q=c[b>>2]|0;o=a+4|0;i=c[o>>2]|0;p=(i|0)==0;a:do if(!p){k=i+-1|0;e=(k&i|0)==0;if(!e)if(q>>>0>>0)j=q;else j=(q>>>0)%(i>>>0)|0;else j=k&q;b=c[(c[a>>2]|0)+(j<<2)>>2]|0;if(!b){b=j;n=16}else do{b=c[b>>2]|0;if(!b){b=j;n=16;break a}d=c[b+4>>2]|0;if((d|0)!=(q|0)){if(!e){if(d>>>0>=i>>>0)d=(d>>>0)%(i>>>0)|0}else d=d&k;if((d|0)!=(j|0)){b=j;n=16;break a}}}while((c[b+8>>2]|0)!=(q|0))}else{b=0;n=16}while(0);if((n|0)==16){Fl(r,a,q,56564,l,m);j=a+12|0;g=+(((c[j>>2]|0)+1|0)>>>0);h=+f[a+16>>2];do if(p|h*+(i>>>0)>>0<3|(i+-1&i|0)!=0)&1;d=~~+B(+(g/h))>>>0;Gl(a,b>>>0>>0?d:b);b=c[o>>2]|0;d=b+-1|0;if(!(d&b)){i=b;b=d&q;break}if(q>>>0>>0){i=b;b=q}else{i=b;b=(q>>>0)%(b>>>0)|0}}while(0);d=c[(c[a>>2]|0)+(b<<2)>>2]|0;if(!d){e=a+8|0;c[c[r>>2]>>2]=c[e>>2];c[e>>2]=c[r>>2];c[(c[a>>2]|0)+(b<<2)>>2]=e;e=c[r>>2]|0;b=c[e>>2]|0;if(!b)b=r;else{b=c[b+4>>2]|0;d=i+-1|0;if(d&i){if(b>>>0>=i>>>0)b=(b>>>0)%(i>>>0)|0}else b=b&d;c[(c[a>>2]|0)+(b<<2)>>2]=e;b=r}}else{c[c[r>>2]>>2]=c[d>>2];c[d>>2]=c[r>>2];b=r}r=c[b>>2]|0;c[j>>2]=(c[j>>2]|0)+1;c[b>>2]=0;b=r}yb=s;return b+12|0}function Bl(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;e=b;k=(d-e|0)/12|0;f=a+8|0;j=c[a>>2]|0;i=j;do if(k>>>0>(((c[f>>2]|0)-j|0)/12|0)>>>0){Dl(a);e=Ff(a)|0;if(e>>>0>>0)KM(a);else{i=((c[f>>2]|0)-(c[a>>2]|0)|0)/12|0;j=i<<1;El(a,i>>>0>>1>>>0?(j>>>0>>0?k:j):e);Cl(a,b,d,k);break}}else{f=a+4|0;h=((c[f>>2]|0)-j|0)/12|0;g=k>>>0>h>>>0;h=g?b+(h*12|0)|0:d;e=h-e|0;if(e|0)WN(j|0,b|0,e|0)|0;if(g){Cl(a,h,d,k-(((c[f>>2]|0)-(c[a>>2]|0)|0)/12|0)|0);break}else{c[f>>2]=i+(((e|0)/12|0)*12|0);break}}while(0);return}function Cl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=a+4|0;a=d-b|0;if((a|0)>0){VN(c[e>>2]|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+(((a>>>0)/12|0)*12|0)}return}function Dl(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;if(b|0){d=a+4|0;c[d>>2]=b;cM(b);c[a+8>>2]=0;c[d>>2]=0;c[a>>2]=0}return}function El(a,b){a=a|0;b=b|0;var d=0;if((Ff(a)|0)>>>0>>0)KM(a);if(b>>>0>357913941){b=Q(8)|0;gM(b,40521);c[b>>2]=17440;U(b|0,13288,107)}else{d=aM(b*12|0)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+(b*12|0);return}}function Fl(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;h=aM(24)|0;c[b>>2]=h;c[b+4>>2]=d+8;c[h+8>>2]=c[c[g>>2]>>2];c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;a[b+8>>0]=1;c[h+4>>2]=e;c[h>>2]=0;return}function Gl(a,b){a=a|0;b=b|0;var d=0,e=0,g=0;if((b|0)!=1){if(b+-1&b)b=zB(b)|0}else b=2;e=c[a+4>>2]|0;if(b>>>0<=e>>>0){if(b>>>0>>0){d=~~+B(+(+((c[a+12>>2]|0)>>>0)/+f[a+16>>2]))>>>0;if(e>>>0>2&(e+-1&e|0)==0){g=1<<32-(D(d+-1|0)|0);d=d>>>0<2?d:g}else d=zB(d)|0;b=b>>>0>>0?d:b;if(b>>>0>>0)Hl(a,b)}}else Hl(a,b);return}function Hl(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;e=a+4|0;a:do if(b){if(b>>>0>1073741823){a=Q(8)|0;gM(a,40521);c[a>>2]=17440;U(a|0,13288,107)}l=aM(b<<2)|0;d=c[a>>2]|0;c[a>>2]=l;if(d|0)cM(d);c[e>>2]=b;d=0;while(1){if((d|0)==(b|0))break;c[(c[a>>2]|0)+(d<<2)>>2]=0;d=d+1|0}f=a+8|0;d=c[f>>2]|0;if(d|0){e=c[d+4>>2]|0;k=b+-1|0;l=(k&b|0)==0;if(!l){if(e>>>0>=b>>>0)e=(e>>>0)%(b>>>0)|0}else e=e&k;c[(c[a>>2]|0)+(e<<2)>>2]=f;while(1){j=d;b:while(1){while(1){d=c[j>>2]|0;if(!d)break a;f=c[d+4>>2]|0;if(!l){if(f>>>0>=b>>>0)f=(f>>>0)%(b>>>0)|0}else f=f&k;if((f|0)==(e|0))break;g=(c[a>>2]|0)+(f<<2)|0;if(!(c[g>>2]|0))break b;h=d+8|0;g=d;while(1){i=c[g>>2]|0;if(!i)break;if((c[h>>2]|0)==(c[i+8>>2]|0))g=i;else break}c[j>>2]=i;c[g>>2]=c[c[(c[a>>2]|0)+(f<<2)>>2]>>2];c[c[(c[a>>2]|0)+(f<<2)>>2]>>2]=d}j=d}c[g>>2]=j;e=f}}}else{d=c[a>>2]|0;c[a>>2]=0;if(d|0)cM(d);c[e>>2]=0}while(0);return}function Il(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;e=a+4|0;a=d-b|0;if((a|0)>0){VN(c[e>>2]|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a}return}function Jl(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;if(b|0){d=a+4|0;c[d>>2]=b;cM(b);c[a+8>>2]=0;c[d>>2]=0;c[a>>2]=0}return}function Kl(a,b){a=a|0;b=b|0;var d=0;if((Bf(a)|0)>>>0>>0)KM(a);else{d=aM(b)|0;c[a+4>>2]=d;c[a>>2]=d;c[a+8>>2]=d+b;return}}function Ll(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;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if(((c[g>>2]|0)-d|0)>>>0>>0){d=d-(c[a>>2]|0)+b|0;e=Bf(a)|0;if(e>>>0>>0)KM(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k<<1;Cf(f,k>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j|0,a+8|0);Nl(f,b);Df(a,f);Ef(f);break}}else Ml(a,b);while(0);yb=i;return}function Ml(b,d){b=b|0;d=d|0;var e=0;e=b+4|0;b=d;d=c[e>>2]|0;do{a[d>>0]=0;d=(c[e>>2]|0)+1|0;c[e>>2]=d;b=b+-1|0}while((b|0)!=0);return}function Nl(b,d){b=b|0;d=d|0;var e=0;e=b+8|0;b=d;d=c[e>>2]|0;do{a[d>>0]=0;d=(c[e>>2]|0)+1|0;c[e>>2]=d;b=b+-1|0}while((b|0)!=0);return}function Ol(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;a=a+4|0;while(1){if((b|0)==(d|0))break;e=c[a>>2]|0;c[e>>2]=c[b>>2];c[e+4>>2]=c[b+4>>2];c[e+8>>2]=c[b+8>>2];c[e+12>>2]=c[b+12>>2];c[e+16>>2]=c[b+16>>2];c[a>>2]=(c[a>>2]|0)+20;b=b+20|0}return}function Pl(a){a=a|0;var b=0,d=0,e=0,f=0;d=c[a>>2]|0;if(d|0){e=a+4|0;b=c[e>>2]|0;while(1){if((b|0)==(d|0))break;f=b+-20|0;cf(f);b=f}c[e>>2]=d;cM(c[a>>2]|0);c[a+8>>2]=0;c[e>>2]=0;c[a>>2]=0}return}function Ql(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;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((((c[g>>2]|0)-d|0)/20|0)>>>0>>0){d=((d-(c[a>>2]|0)|0)/20|0)+b|0;e=Jf(a)|0;if(e>>>0>>0)KM(a);else{j=c[a>>2]|0;k=((c[g>>2]|0)-j|0)/20|0;g=k<<1;Kf(f,k>>>0>>1>>>0?(g>>>0>>0?d:g):e,((c[h>>2]|0)-j|0)/20|0,a+8|0);Rl(f,b);Lf(a,f);Mf(f);break}}else bl(a,b);while(0);yb=i;return}function Rl(a,b){a=a|0;b=b|0;var d=0;d=a+8|0;a=b;b=c[d>>2]|0;do{cl(b);b=(c[d>>2]|0)+20|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function Sl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=yb;yb=yb+32|0;g=f;yp(g,b,1,d,e,d,1);e=Tl(c[c[a>>2]>>2]|0,g)|0;Fp(g);yb=f;return e|0}function Tl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=yb;yb=yb+32|0;d=f;e=a+92|0;g=Dj(e)|0;if(!(((c[g+4>>2]|0)!=(c[g>>2]|0)?(g=ag(c[(Dj(e)|0)>>2]|0)|0,(g|0)==(ag(b)|0)):0)?(g=bg(c[(Dj(e)|0)>>2]|0)|0,(g|0)==(bg(b)|0)):0)){g=ag(b)|0;g=Ej(g,bg(b)|0,8)|0;h=ag(b)|0;oi(e,h,bg(b)|0,g)}Pp(d,27199);if(fh(d)|0)xi(e,b);Qp(d);h=Ul(a,e)|0;yb=f;return h|0}function Ul(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=yb;yb=yb+64|0;e=k+16|0;j=k;g=k+56|0;h=k+48|0;i=b+160|0;f=Fj(i)|0;if(!((f|0)==(ag(c[(Pg(d)|0)>>2]|0)|0)?(f=Gj(i)|0,(f|0)==(bg(c[(Pg(d)|0)>>2]|0)|0)):0))Og(i,d);f=b+64|0;m=aM(148)|0;Hj(m);c[h>>2]=0;c[e>>2]=c[h>>2];Ij(g,m,e);m=c[g>>2]|0;c[g>>2]=c[f>>2];c[f>>2]=m;m=g+4|0;h=b+68|0;l=c[m>>2]|0;c[m>>2]=c[h>>2];c[h>>2]=l;ej(g);h=c[f>>2]|0;Jj(h,ag(c[(Pg(d)|0)>>2]|0)|0);h=c[f>>2]|0;Kj(h,bg(c[(Pg(d)|0)>>2]|0)|0);Pp(e,27213);if(fh(e)|0)Lj(c[f>>2]|0,d,i,b+316|0);Qp(e);m=Mj()|0;lp(e);i=(a[e+11>>0]|0)<0?c[e>>2]|0:e;l=Oj(Nj(c[f>>2]|0)|0)|0;c[j>>2]=33657;c[j+4>>2]=i;c[j+8>>2]=28850;c[j+12>>2]=l;Ip(m,8,28806,j);nM(e);m=Vl(b,c[f>>2]|0)|0;yb=k;return m|0}function Vl(b,d){b=b|0;d=d|0;var e=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,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;D=yb;yb=yb+144|0;s=D+104|0;w=D;x=D+72|0;y=D+40|0;z=b+12|0;A=b+16|0;c[A>>2]=c[z>>2];B=b+24|0;c[B>>2]=-1;k=Xl(Wl(d)|0)|0;l=b+8|0;m=b+636|0;n=b+652|0;o=s+4|0;p=s+8|0;q=b+788|0;r=x+4|0;t=x+8|0;u=b+4|0;v=b+28|0;e=b+80|0;while(1){e=c[e>>2]|0;if(!e)break;Pp(s,29140);do if(fh(s)|0){E=(a[l>>0]|0)==0;g=Wl(d)|0;j=e;h=j+12|0;i=Nj(c[h>>2]|0)|0;if(E){E=_l(m,g,i)|0;if(E>>>0>=(c[b>>2]|0)>>>0){C=9;break}}else{E=Zl(m,g,i,Yl(c[h>>2]|0)|0)|0;if(E>>>0>=(c[b>>2]|0)>>>0){C=9;break}}Qp(s)}else{j=e;h=j+12|0;C=9}while(0);do if((C|0)==9){C=0;Qp(s);i=ul(Nj(c[h>>2]|0)|0)|0;Pp(s,29157);if(fh(s)|0){G=$l(m)|0;F=am(d)|0;E=bm(d)|0;g=am(c[h>>2]|0)|0;g=cm(n,k,i,G,F,E,g,bm(c[h>>2]|0)|0)|0;if((g|0)<0){Qp(s);break}}else g=-1;Qp(s);c[s>>2]=0;c[o>>2]=0;c[p>>2]=0;Pp(w,29174);if(fh(w)|0)dm(s,n,$l(m)|0,g,1.0);Qp(w);Pp(x,29197);if(fh(x)|0?(G=am(c[h>>2]|0)|0,!(em(w,k,i,s,q,G,bm(c[h>>2]|0)|0)|0)):0)Qp(x);else{Qp(x);c[x>>2]=0;c[r>>2]=0;c[t>>2]=0;Pp(y,29221);if(fh(y)|0?(fm(x,w,k,i,s,+f[u>>2]),(c[r>>2]|0)-(c[x>>2]|0)>>3>>>0<(c[b>>2]|0)>>>0):0)Qp(y);else C=20;do if((C|0)==20){C=0;Qp(y);Pp(y,29238);if(fh(y)|0?(G=Wl(d)|0,G=gm(m,G,Nj(c[h>>2]|0)|0,w,10.0)|0,G>>>0<(c[b>>2]|0)>>>0):0){Qp(y);break}Qp(y);Pp(y,29255);if(fh(y)|0){E=$l(m)|0;F=am(d)|0;G=bm(d)|0;g=am(c[h>>2]|0)|0;g=cm(n,k,i,E,F,G,g,bm(c[h>>2]|0)|0)|0;if((g|0)<0){Qp(y);break}}Qp(y);Pp(y,29272);if(fh(y)|0)dm(s,n,$l(m)|0,g,1.0);Qp(y);Pp(y,29295);if(fh(y)|0?(G=am(c[h>>2]|0)|0,!(em(w,k,i,s,q,G,bm(c[h>>2]|0)|0)|0)):0){Qp(y);break}Qp(y);c[r>>2]=c[x>>2];Pp(y,29319);if(fh(y)|0)fm(x,w,k,i,s,+f[u>>2]);Qp(y);G=(c[r>>2]|0)-(c[x>>2]|0)>>3;if(G>>>0>=(c[b>>2]|0)>>>0?G>>>0>(c[A>>2]|0)-(c[z>>2]|0)>>3>>>0:0){hm(v,w);im(z,x);c[B>>2]=c[j+8>>2]}}while(0);fj(x)}fj(s)}while(0)}yb=D;return (c[B>>2]|0)>-1|0}function Wl(a){a=a|0;return a+8|0}function Xl(a){a=a|0;return a+16|0}function Yl(a){a=a|0;return a+36|0}function Zl(b,d,e,g){b=b|0;d=d|0;e=e|0;g=g|0;var 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,u=0,v=0,w=0,x=0,y=0;y=yb;yb=yb+16|0;v=y;w=b+4|0;c[w>>2]=c[b>>2];do if((Oj(d)|0)!=0?(Oj(e)|0)!=0:0){km(b,Oj(d)|0);t=b+8|0;u=b+12|0;s=0;a:while(1){if(s>>>0>=(Oj(d)|0)>>>0)break;n=lm(d,s)|0;Ln(g,n)|0;q=mm(d,s)|0;o=Mn(g)|0;p=o+4|0;q=q+16|0;l=0;m=-1;j=-1;i=2147483647;while(1){h=c[o>>2]|0;if(l>>>0>=(c[p>>2]|0)-h>>2>>>0)break;k=a[q>>0]|0;do if(k<<24>>24==(a[(mm(e,c[h+(l<<2)>>2]|0)|0)+16>>0]|0)){h=Mk(n,lm(e,c[(c[o>>2]|0)+(l<<2)>>2]|0)|0)|0;if(h>>>0>>0){k=h;h=m;i=c[(c[o>>2]|0)+(l<<2)>>2]|0;break}else{k=m;h=h>>>0>>0?h:j;break}}else{k=m;h=j}while(0);l=l+1|0;m=k;j=h}do if((m|0)!=-1){if((i|0)==-1){x=15;break a}if((j|0)==-1){om(v,s,i);h=c[w>>2]|0;if(h>>>0<(c[t>>2]|0)>>>0){o=v;p=c[o+4>>2]|0;q=h;c[q>>2]=c[o>>2];c[q+4>>2]=p;c[w>>2]=(c[w>>2]|0)+8}else pm(b,v);break}if(+(m>>>0)/+(j>>>0)<+f[u>>2]){om(v,s,i);h=c[w>>2]|0;if(h>>>0<(c[t>>2]|0)>>>0){o=v;p=c[o+4>>2]|0;q=h;c[q>>2]=c[o>>2];c[q+4>>2]=p;c[w>>2]=(c[w>>2]|0)+8}else pm(b,v)}}while(0);s=s+1|0}if((x|0)==15){x=jf(jf(OC(jf(jf(jf(55420,29516)|0,29361)|0,33528)|0,160)|0,33535)|0,29588)|0;HC(v,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);g=WD(v,56124)|0;g=Gb[c[(c[g>>2]|0)+28>>2]&63](g,10)|0;XD(v);PC(x,g)|0;LC(x)|0;ya()}x=(c[w>>2]|0)-(c[b>>2]|0)>>3;if(x>>>0>(Oj(d)|0)>>>0){x=jf(jf(OC(jf(jf(jf(55420,29606)|0,29361)|0,33528)|0,175)|0,33535)|0,29666)|0;HC(v,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);w=WD(v,56124)|0;w=Gb[c[(c[w>>2]|0)+28>>2]&63](w,10)|0;XD(v);PC(x,w)|0;LC(x)|0;ya()}else{r=(c[w>>2]|0)-(c[b>>2]|0)>>3;break}}else r=0;while(0);yb=y;return r|0}function _l(b,d,e){b=b|0;d=d|0;e=e|0;var 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,u=0,v=0;t=yb;yb=yb+16|0;r=t;s=b+4|0;c[s>>2]=c[b>>2];do if((Oj(d)|0)!=0?(Oj(e)|0)!=0:0){km(b,Oj(d)|0);p=b+8|0;q=b+12|0;o=0;while(1){if(o>>>0>=(Oj(d)|0)>>>0)break;l=lm(d,o)|0;m=(mm(d,o)|0)+16|0;i=0;j=-1;g=2147483647;h=-1;while(1){if(i>>>0>=(Oj(e)|0)>>>0)break;k=a[m>>0]|0;if(k<<24>>24==(a[(mm(e,i)|0)+16>>0]|0)){u=Mk(l,lm(e,i)|0)|0;v=u>>>0>>0;k=v?u:j;g=v?i:g;h=v?j:u>>>0>>0?u:h}else k=j;i=i+1|0;j=k}do if((j|0)!=-1){if((h|0)==-1){om(r,o,g);g=c[s>>2]|0;if(g>>>0<(c[p>>2]|0)>>>0){m=r;u=c[m+4>>2]|0;v=g;c[v>>2]=c[m>>2];c[v+4>>2]=u;c[s>>2]=(c[s>>2]|0)+8}else pm(b,r);break}if(+(j>>>0)/+(h>>>0)<+f[q>>2]){om(r,o,g);g=c[s>>2]|0;if(g>>>0<(c[p>>2]|0)>>>0){m=r;u=c[m+4>>2]|0;v=g;c[v>>2]=c[m>>2];c[v+4>>2]=u;c[s>>2]=(c[s>>2]|0)+8}else pm(b,r)}}while(0);o=o+1|0}v=(c[s>>2]|0)-(c[b>>2]|0)>>3;if(v>>>0>(Oj(d)|0)>>>0){v=jf(jf(OC(jf(jf(jf(55420,29606)|0,29361)|0,33528)|0,112)|0,33535)|0,29666)|0;HC(r,v+(c[(c[v>>2]|0)+-12>>2]|0)|0);u=WD(r,56124)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;XD(r);PC(v,u)|0;LC(v)|0;ya()}else{n=(c[s>>2]|0)-(c[b>>2]|0)>>3;break}}else n=0;while(0);yb=t;return n|0}function $l(a){a=a|0;return a|0}function am(a){a=a|0;return c[a>>2]|0}function bm(a){a=a|0;return c[a+4>>2]|0}function cm(a,b,d,e,g,h,i,j){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=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,A=0.0;u=yb;yb=yb+32|0;s=u+20|0;t=u+8|0;o=u+4|0;p=u;q=e+4|0;Hn(s,(c[q>>2]|0)-(c[e>>2]|0)>>1);Hn(t,(c[q>>2]|0)-(c[e>>2]|0)>>1);n=c[e>>2]|0;r=(c[q>>2]|0)-n>>3;m=c[b>>2]|0;d=c[d>>2]|0;k=c[s>>2]|0;l=c[t>>2]|0;b=0;while(1){if((b|0)==(r|0))break;y=c[n+(b<<3)>>2]|0;w=c[n+(b<<3)+4>>2]|0;v=b<<2;x=k+(v<<2)|0;c[x>>2]=c[m+(y*20|0)>>2];c[x+4>>2]=c[m+(y*20|0)+4>>2];c[x+8>>2]=c[m+(y*20|0)+8>>2];c[x+12>>2]=c[m+(y*20|0)+12>>2];v=l+(v<<2)|0;c[v>>2]=c[d+(w*20|0)>>2];c[v+4>>2]=c[d+(w*20|0)+4>>2];c[v+8>>2]=c[d+(w*20|0)+8>>2];c[v+12>>2]=c[d+(w*20|0)+12>>2];b=b+1|0}A=+(g|0);A=A*.20000000298023224+A;z=+(h|0);z=z*.20000000298023224+z;Co(a,-A,A,-z,z,0,0,12,10);In(a,+(i>>1|0),+(j>>1|0));Jn(a,i,j);Eo(a,c[s>>2]|0,c[t>>2]|0,(c[q>>2]|0)-(c[e>>2]|0)>>3);To(a,o,p);y=+f[o>>2]<3.0?-1:c[p>>2]|0;vg(t);vg(s);yb=u;return y|0}function dm(a,b,d,e,g){a=a|0;b=b|0;d=d|0;e=e|0;g=+g;var 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,u=0,v=0,w=0;v=yb;yb=yb+48|0;h=v+32|0;r=v+28|0;s=v+24|0;t=v+20|0;u=v+16|0;n=v+12|0;o=v+8|0;p=v+4|0;q=v;Dn(b,n,o,p,q,e);l=a+4|0;c[l>>2]=c[a>>2];m=En(b)|0;m=(c[m+4>>2]|0)-(c[m>>2]|0)>>2;e=Fn(b)|0;if(m>>>0>(c[d+4>>2]|0)-(c[d>>2]|0)>>3>>>0){k=jf(jf(OC(jf(jf(jf(55420,30146)|0,28235)|0,33528)|0,342)|0,33535)|0,30192)|0;HC(h,k+(c[(c[k>>2]|0)+-12>>2]|0)|0);j=WD(h,56124)|0;j=Gb[c[(c[j>>2]|0)+28>>2]&63](j,10)|0;XD(h);PC(k,j)|0;LC(k)|0;ya()}k=a+8|0;e=c[e>>2]|0;h=0;while(1){if((h|0)>=(m|0))break;Gn(b,r,s,t,u,+f[e>>2],+f[e+4>>2],+f[e+8>>2],+f[e+12>>2],+(c[n>>2]|0)+.5,+(c[o>>2]|0)+.5,+(c[p>>2]|0)+.5,+(c[q>>2]|0)+.5);do if((+f[r>>2]>2]>2]>2]>2]|0)+(h<<2)>>2]|0;i=(c[d>>2]|0)+(i<<3)|0;j=c[l>>2]|0;if((j|0)==(c[k>>2]|0)){vm(a,i);break}else{w=i;i=c[w+4>>2]|0;c[j>>2]=c[w>>2];c[j+4>>2]=i;c[l>>2]=(c[l>>2]|0)+8;break}}while(0);e=e+16|0;h=h+1|0}yb=v;return}function em(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0;q=yb;yb=yb+64|0;o=q+44|0;p=q+32|0;n=q;m=e+4|0;wm(o,(c[m>>2]|0)-(c[e>>2]|0)>>3);wm(p,(c[m>>2]|0)-(c[e>>2]|0)>>3);l=c[e>>2]|0;m=(c[m>>2]|0)-l>>3;j=c[b>>2]|0;k=c[p>>2]|0;b=c[d>>2]|0;d=c[o>>2]|0;e=0;while(1){if((e|0)==(m|0))break;r=c[l+(e<<3)>>2]|0;c[k+(e<<3)>>2]=c[j+(r*20|0)>>2];c[k+(e<<3)+4>>2]=c[j+(r*20|0)+4>>2];r=c[l+(e<<3)+4>>2]|0;c[d+(e<<3)>>2]=c[b+(r*20|0)>>2];c[d+(e<<3)+4>>2]=c[b+(r*20|0)+4>>2];e=e+1|0}f[n>>2]=0.0;f[n+4>>2]=0.0;s=+(h|0);f[n+8>>2]=s;f[n+12>>2]=0.0;f[n+16>>2]=s;s=+(i|0);f[n+20>>2]=s;f[n+24>>2]=0.0;f[n+28>>2]=s;if(xm(g,a,d,k,m,n,4)|0)e=zm(a,h,i)|0;else e=0;ym(p);ym(o);yb=q;return e|0}function fm(a,b,d,e,g,h){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=+h;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0;q=yb;yb=yb+16|0;p=q;h=+yh(h);o=g+4|0;km(a,(c[o>>2]|0)-(c[g>>2]|0)>>3);l=p+4|0;m=a+4|0;n=a+8|0;k=0;while(1){i=c[g>>2]|0;if(k>>>0>=(c[o>>2]|0)-i>>3>>>0)break;j=c[i+(k<<3)+4>>2]|0;i=c[e>>2]|0;nm(p,l,b,+f[i+(j*20|0)>>2],+f[i+(j*20|0)+4>>2]);r=+yh(+f[p>>2]-+f[(c[d>>2]|0)+((c[(c[g>>2]|0)+(k<<3)>>2]|0)*20|0)>>2]);do if(r+ +yh(+f[l>>2]-+f[(c[d>>2]|0)+((c[(c[g>>2]|0)+(k<<3)>>2]|0)*20|0)+4>>2])<=h){i=(c[g>>2]|0)+(k<<3)|0;j=c[m>>2]|0;if((j|0)==(c[n>>2]|0)){vm(a,i);break}else{s=i;i=c[s+4>>2]|0;c[j>>2]=c[s>>2];c[j+4>>2]=i;c[m>>2]=(c[m>>2]|0)+8;break}}while(0);k=k+1|0}yb=q;return}function gm(b,d,e,g,h){b=b|0;d=d|0;e=e|0;g=g|0;h=+h;var i=0,j=0,k=0,l=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,B=0;z=yb;yb=yb+64|0;u=z+40|0;v=z;w=z+52|0;x=z+48|0;t=b+4|0;c[t>>2]=c[b>>2];do if((Oj(d)|0)!=0?(Oj(e)|0)!=0:0){h=+yh(h);if(!(jm(v,g,0.0)|0)){r=jf(jf(OC(jf(jf(jf(55420,29336)|0,29361)|0,33528)|0,196)|0,33535)|0,29483)|0;HC(u,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=WD(u,56124)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;XD(u);PC(r,q)|0;LC(r)|0;ya()}km(b,Oj(d)|0);q=b+8|0;r=b+12|0;p=0;a:while(1){if(p>>>0>=(Oj(d)|0)>>>0)break;n=lm(d,p)|0;o=mm(d,p)|0;nm(w,x,v,+f[o>>2],+f[o+4>>2]);o=o+16|0;l=0;m=-1;j=-1;i=2147483647;while(1){if(l>>>0>=(Oj(e)|0)>>>0)break;g=mm(e,l)|0;if((a[o>>0]|0)==(a[g+16>>0]|0)?(A=+yh(+f[w>>2]-+f[g>>2]),!(A+ +yh(+f[x>>2]-+f[g+4>>2])>h)):0){g=Nk(n,lm(e,l)|0)|0;B=g>>>0>>0;k=B?g:m;g=B?m:g>>>0>>0?g:j;i=B?l:i}else{k=m;g=j}l=l+1|0;m=k;j=g}do if((m|0)!=-1){if((i|0)==-1){y=16;break a}if((j|0)==-1){om(u,p,i);g=c[t>>2]|0;if(g>>>0<(c[q>>2]|0)>>>0){n=u;o=c[n+4>>2]|0;B=g;c[B>>2]=c[n>>2];c[B+4>>2]=o;c[t>>2]=(c[t>>2]|0)+8}else pm(b,u);break}if(+(m>>>0)/+(j>>>0)<+f[r>>2]){om(u,p,i);g=c[t>>2]|0;if(g>>>0<(c[q>>2]|0)>>>0){n=u;o=c[n+4>>2]|0;B=g;c[B>>2]=c[n>>2];c[B+4>>2]=o;c[t>>2]=(c[t>>2]|0)+8}else pm(b,u)}}while(0);p=p+1|0}if((y|0)==16){B=jf(jf(OC(jf(jf(jf(55420,29516)|0,29361)|0,33528)|0,241)|0,33535)|0,29588)|0;HC(u,B+(c[(c[B>>2]|0)+-12>>2]|0)|0);y=WD(u,56124)|0;y=Gb[c[(c[y>>2]|0)+28>>2]&63](y,10)|0;XD(u);PC(B,y)|0;LC(B)|0;ya()}B=(c[t>>2]|0)-(c[b>>2]|0)>>3;if(B>>>0>(Oj(d)|0)>>>0){B=jf(jf(OC(jf(jf(jf(55420,29606)|0,29361)|0,33528)|0,256)|0,33535)|0,29666)|0;HC(u,B+(c[(c[B>>2]|0)+-12>>2]|0)|0);y=WD(u,56124)|0;y=Gb[c[(c[y>>2]|0)+28>>2]&63](y,10)|0;XD(u);PC(B,y)|0;LC(B)|0;ya()}else{s=(c[t>>2]|0)-(c[b>>2]|0)>>3;break}}else s=0;while(0);yb=z;return s|0}function hm(a,b){a=a|0;b=b|0;var d=0;d=a+36|0;do{c[a>>2]=c[b>>2];a=a+4|0;b=b+4|0}while((a|0)<(d|0));return}function im(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=c[a>>2]|0;c[a>>2]=c[b>>2];c[b>>2]=f;f=a+4|0;d=b+4|0;e=c[f>>2]|0;c[f>>2]=c[d>>2];c[d>>2]=e;d=a+8|0;b=b+8|0;a=c[d>>2]|0;c[d>>2]=c[b>>2];c[b>>2]=a;return}function jm(a,b,c){a=a|0;b=b|0;c=+c;var d=0.0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=+um(b);if(!(+u(+d)<=c)){d=1.0/d;e=b+16|0;k=b+20|0;j=b+28|0;m=b+32|0;f[a>>2]=d*+Mh(+f[e>>2],+f[k>>2],+f[j>>2],+f[m>>2]);l=b+8|0;h=b+4|0;f[a+4>>2]=d*+Mh(+f[l>>2],+f[h>>2],+f[m>>2],+f[j>>2]);f[a+8>>2]=d*+Mh(+f[h>>2],+f[l>>2],+f[e>>2],+f[k>>2]);g=b+12|0;i=b+24|0;f[a+12>>2]=d*+Mh(+f[k>>2],+f[g>>2],+f[m>>2],+f[i>>2]);f[a+16>>2]=d*+Mh(+f[b>>2],+f[l>>2],+f[i>>2],+f[m>>2]);f[a+20>>2]=d*+Mh(+f[l>>2],+f[b>>2],+f[k>>2],+f[g>>2]);f[a+24>>2]=d*+Mh(+f[g>>2],+f[e>>2],+f[i>>2],+f[j>>2]);f[a+28>>2]=d*+Mh(+f[h>>2],+f[b>>2],+f[j>>2],+f[i>>2]);f[a+32>>2]=d*+Mh(+f[b>>2],+f[h>>2],+f[g>>2],+f[e>>2]);a=1}else a=0;return a|0}function km(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=yb;yb=yb+32|0;d=f;e=c[a>>2]|0;if((c[a+8>>2]|0)-e>>3>>>0>>0){rm(d,b,(c[a+4>>2]|0)-e>>3,a+8|0);sm(a,d);tm(d)}yb=f;return}function lm(a,b){a=a|0;b=b|0;b=C(c[a>>2]|0,b)|0;return (c[a+4>>2]|0)+b|0}function mm(a,b){a=a|0;b=b|0;return (c[a+16>>2]|0)+(b*20|0)|0}function nm(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=+d;e=+e;var g=0.0;g=+f[c+32>>2]+(+f[c+24>>2]*d+ +f[c+28>>2]*e);f[a>>2]=(+f[c+8>>2]+(+f[c>>2]*d+ +f[c+4>>2]*e))/g;f[b>>2]=(+f[c+20>>2]+(+f[c+12>>2]*d+ +f[c+16>>2]*e))/g;return}function om(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;return}function pm(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;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=qm(a)|0;if(g>>>0>>0)KM(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;rm(d,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>3,a+8|0);g=d+8|0;e=c[b+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=e;c[g>>2]=(c[g>>2]|0)+8;sm(a,d);tm(d);yb=h;return}}function qm(a){a=a|0;return 536870911}function rm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=a+12|0;c[f>>2]=0;c[a+16>>2]=e;do if(b)if(b>>>0>536870911){f=Q(8)|0;gM(f,40521);c[f>>2]=17440;U(f|0,13288,107)}else{e=aM(b<<3)|0;break}else e=0;while(0);c[a>>2]=e;d=e+(d<<3)|0;c[a+8>>2]=d;c[a+4>>2]=d;c[f>>2]=e+(b<<3);return}function sm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>3)<<3)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function tm(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=a+8|0;e=c[d>>2]|0;while(1){if((e|0)==(b|0))break;f=e+-8|0;c[d>>2]=f;e=f}a=c[a>>2]|0;if(a|0)cM(a);return}function um(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0,g=0,h=0,i=0,j=0,k=0;h=a+16|0;k=a+20|0;e=a+28|0;j=a+32|0;d=+Mh(+f[h>>2],+f[k>>2],+f[e>>2],+f[j>>2]);i=a+12|0;g=a+24|0;c=+Mh(+f[i>>2],+f[k>>2],+f[g>>2],+f[j>>2]);b=+Mh(+f[i>>2],+f[h>>2],+f[g>>2],+f[e>>2]);return +(d*+f[a>>2]-c*+f[a+4>>2]+b*+f[a+8>>2])}function vm(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;h=yb;yb=yb+32|0;d=h;e=a+4|0;f=((c[e>>2]|0)-(c[a>>2]|0)>>3)+1|0;g=qm(a)|0;if(g>>>0>>0)KM(a);else{i=c[a>>2]|0;k=(c[a+8>>2]|0)-i|0;j=k>>2;rm(d,k>>3>>>0>>1>>>0?(j>>>0>>0?f:j):g,(c[e>>2]|0)-i>>3,a+8|0);g=d+8|0;e=c[b+4>>2]|0;f=c[g>>2]|0;c[f>>2]=c[b>>2];c[f+4>>2]=e;c[g>>2]=(c[g>>2]|0)+8;sm(a,d);tm(d);yb=h;return}}function wm(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;if(b|0){An(a,b);Bn(a,b)}return}function xm(a,b,d,e,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0;j=a+12|0;hk(j,g);return Jm(b,d,e,g,h,i,a,j,a+24|0,+f[a+36>>2],c[a+40>>2]|0,c[a+44>>2]|0,c[a+48>>2]|0)|0}function ym(a){a=a|0;var b=0;b=c[a>>2]|0;if(b|0){c[a+4>>2]=b;cM(b)}return}function zm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0.0;m=yb;yb=yb+96|0;e=m+88|0;g=m+80|0;h=m+72|0;i=m+64|0;j=m;k=m+56|0;l=m+48|0;d=m+40|0;if(jm(j,a,9.999999747378752e-06)|0){n=+(b|0);f[k>>2]=n;f[k+4>>2]=0.0;f[l>>2]=n;n=+(c|0);f[l+4>>2]=n;f[d>>2]=0.0;f[d+4>>2]=n;Am(e,j,54376);Am(g,j,k);Am(h,j,l);Am(i,j,d);n=+(C(c,b)|0)*.0001;if(+Bm(e,g,h,i)>2];e=c+4|0;g=+f[e>>2];d=+f[b+32>>2]+(+f[b+24>>2]*h+ +f[b+28>>2]*g);f[a>>2]=(+f[b+8>>2]+(h*+f[b>>2]+g*+f[b+4>>2]))/d;f[a+4>>2]=(+f[b+20>>2]+(+f[b+12>>2]*+f[c>>2]+ +f[b+16>>2]*+f[e>>2]))/d;return}function Bm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0,g=0,h=0,i=0.0,j=0.0,k=0,l=0,m=0;f=yb;yb=yb+48|0;l=f+32|0;m=f+24|0;k=f+16|0;h=f+8|0;g=f;Em(l,b,a);Em(m,c,a);Em(k,d,a);Em(h,b,c);Em(g,d,c);j=+Fm(l,m);i=+Fm(m,k);e=+Fm(l,k);e=+Gm(j,i,e,+Fm(h,g));yb=f;return +e}function Cm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=+Dm(a,b,c)>0.0;f=+Dm(b,c,d)>0.0;c=+Dm(c,d,a)>0.0;d=+Dm(d,a,b)>0.0;d=(f?1:-1)+(e?1:-1)+(c?1:-1)+(d?1:-1)|0;return (((d|0)>-1?d:0-d|0)|0)==4|0}function Dm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0.0;d=+f[a>>2];e=+f[a+4>>2];return +((+f[b>>2]-d)*(+f[c+4>>2]-e)-(+f[b+4>>2]-e)*(+f[c>>2]-d))}function Em(a,b,c){a=a|0;b=b|0;c=c|0;f[a>>2]=+f[b>>2]-+f[c>>2];f[a+4>>2]=+f[b+4>>2]-+f[c+4>>2];return}function Fm(a,b){a=a|0;b=b|0;return +(+u(+(+f[a>>2]*+f[b+4>>2]-+f[a+4>>2]*+f[b>>2]))*.5)}function Gm(a,b,c,d){a=+a;b=+b;c=+c;d=+d;return +(+Im(+Hm(a,b,c),d))}function Hm(a,b,c){a=+a;b=+b;c=+c;return +(+Im(+Im(a,b),c))}function Im(a,b){a=+a;b=+b;return +(a>2]|0)-(c[i>>2]|0)>>2>>>0<(m*9|0)>>>0){z=jf(jf(OC(jf(jf(jf(55420,29700)|0,29758)|0,33528)|0,119)|0,33535)|0,29888)|0;HC(y,z+(c[(c[z>>2]|0)+-12>>2]|0)|0);x=WD(y,56124)|0;x=Gb[c[(c[x>>2]|0)+28>>2]&63](x,10)|0;XD(y);PC(z,x)|0;LC(z)|0;ya()}x=c[j>>2]|0;z=x;if((c[j+4>>2]|0)-x>>2>>>0>>0){x=jf(jf(OC(jf(jf(jf(55420,29938)|0,29758)|0,33528)|0,120)|0,33535)|0,29988)|0;HC(y,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);u=WD(y,56124)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;XD(y);PC(x,u)|0;LC(x)|0;ya()}if((c[k+4>>2]|0)-(c[k>>2]|0)>>3>>>0>>0){x=jf(jf(OC(jf(jf(jf(55420,30030)|0,29758)|0,33528)|0,121)|0,33535)|0,30092)|0;HC(y,x+(c[(c[x>>2]|0)+-12>>2]|0)|0);u=WD(y,56124)|0;u=Gb[c[(c[u>>2]|0)+28>>2]&63](u,10)|0;XD(y);PC(x,u)|0;LC(x)|0;ya()}if((e|0)>=4){c[w>>2]=1234;l=+yh(l);x=Qi(o,e)|0;Hk(z,e,0);Ik(z,e,e,w);q=z+4|0;r=z+8|0;s=z+12|0;t=(h|0)>0;o=0;u=0;while(1){if(!((u|0)<(m|0)&(o|0)<(n|0)))break;Ik(z,e,4,w);D=c[z>>2]<<1;C=c[q>>2]<<1;B=c[r>>2]<<1;j=c[s>>2]<<1;do if(Km(b+(D<<2)|0,b+(C<<2)|0,b+(B<<2)|0,b+(j<<2)|0,d+(D<<2)|0,d+(C<<2)|0,d+(B<<2)|0,d+(j<<2)|0)|0?(v=u*9|0,j=c[z>>2]<<1,B=c[q>>2]<<1,C=c[r>>2]<<1,D=c[s>>2]<<1,Lm((c[i>>2]|0)+(v<<2)|0,b+(j<<2)|0,b+(B<<2)|0,b+(C<<2)|0,b+(D<<2)|0,d+(j<<2)|0,d+(B<<2)|0,d+(C<<2)|0,d+(D<<2)|0)|0):0){if(t?!(Mm((c[i>>2]|0)+(v<<2)|0,g,h)|0):0){j=u;break}j=u+1|0}else j=u;while(0);o=o+1|0;u=j}l=1.0/l;if(u){o=c[k>>2]|0;j=0;while(1){if((j|0)>=(u|0))break;f[o+(j<<3)>>2]=0.0;c[o+(j<<3)+4>>2]=j;j=j+1|0}t=0;while(1){if(!((u|0)>2&(t|0)<(e|0)))break;r=(Qi(x,e-t|0)|0)+t|0;q=0;j=c[k>>2]|0;while(1){if((q|0)==(u|0))break;s=(c[i>>2]|0)+((c[j+(q<<3)+4>>2]|0)*9<<2)|0;o=t;while(1){if((o|0)>=(r|0))break;j=c[z+(o<<2)>>2]<<1;p=+Om(s,b+(j<<2)|0,d+(j<<2)|0,l);j=c[k>>2]|0;D=j+(q<<3)|0;f[D>>2]=p+ +f[D>>2];o=o+1|0}q=q+1|0}Nm(y,j,u);t=r;u=u>>1}q=c[k>>2]|0;o=1;l=+f[q>>2];j=c[q+4>>2]|0;while(1){if((o|0)>=(u|0))break;p=+f[q+(o<<3)>>2];if(p>2]|0}o=o+1|0}hm(a,(c[i>>2]|0)+(j*9<<2)|0);Pm(a);j=1}else j=0}else j=0;yb=A;return j|0}function Km(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;var i=0;i=+Dm(a,b,c)>0.0;if((!(i^+Dm(e,f,g)>0.0)?(i=+Dm(b,c,d)>0.0,!(i^+Dm(f,g,h)>0.0)):0)?(i=+Dm(c,d,a)>0.0,!(i^+Dm(g,h,e)>0.0)):0){a=+Dm(d,a,b)>0.0;a=a^+Dm(h,e,f)>0.0^1}else a=0;return a|0}function Lm(a,b,c,d,e,g,h,i,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=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=yb;yb=yb+128|0;w=x;k=x+124|0;l=x+120|0;m=x+112|0;n=x+104|0;o=x+96|0;p=x+88|0;q=x+80|0;r=x+72|0;s=x+64|0;t=x+56|0;u=x+48|0;v=x+40|0;if((Vm(o,p,q,r,k,m,b,c,d,e)|0?Vm(s,t,u,v,l,n,g,h,i,j)|0:0)?Wm(w,o,p,q,r,s,t,u,v)|0:0){Xm(a,w,+f[k>>2],m,+f[l>>2],n);a=1}else a=0;yb=x;return a|0}function Mm(a,b,c){a=a|0;b=b|0;c=c|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;n=yb;yb=yb+48|0;f=n+32|0;e=n+24|0;d=n+16|0;k=n+8|0;l=n;a:do if((c|0)>=2){m=b+8|0;g=b+16|0;Am(f,a,b);Am(e,a,m);Am(d,a,g);Tm(k,f);Tm(l,e);if(Um(b,m,g,f,e,d)|0){j=3;i=f;f=m;h=b;while(1){if((j|0)>=(c|0))break;h=h+8|0;f=f+8|0;g=g+8|0;Am(i,a,g);if(!(Um(h,f,g,e,d,i)|0)){d=0;break a}else{o=i;j=j+1|0;i=e;e=d;d=o}}if(Um(f,g,b,e,d,k)|0)d=Um(g,b,m,d,k,l)|0;else d=0}else d=0}else d=1;while(0);yb=n;return d|0}function Nm(a,b,c){a=a|0;b=b|0;c=c|0;Sm(a,b,c,(c&1)+-1+((c|0)/2|0)|0);return}function Om(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0,g=0,h=0,i=0;e=yb;yb=yb+16|0;i=e+8|0;g=e;h=i+4|0;nm(i,h,a,+f[b>>2],+f[b+4>>2]);f[g>>2]=+f[i>>2]-+f[c>>2];f[g+4>>2]=+f[h>>2]-+f[c+4>>2];d=+Qm(g,d);yb=e;return +d}function Pm(a){a=a|0;var b=0,c=0.0,d=0;b=a+32|0;c=1.0/+f[b>>2];f[a>>2]=+f[a>>2]*c;d=a+4|0;f[d>>2]=c*+f[d>>2];d=a+8|0;f[d>>2]=c*+f[d>>2];d=a+12|0;f[d>>2]=c*+f[d>>2];d=a+16|0;f[d>>2]=c*+f[d>>2];d=a+20|0;f[d>>2]=c*+f[d>>2];d=a+24|0;f[d>>2]=c*+f[d>>2];a=a+28|0;f[a>>2]=c*+f[a>>2];f[b>>2]=1.0;return}function Qm(a,b){a=a|0;b=+b;return +(+Rm(+f[a>>2],+f[a+4>>2],b))}function Rm(a,b,c){a=+a;b=+b;c=+c;return +(+A(+((a*a+b*b)*c+1.0)))}function Sm(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var g=0,h=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0;s=yb;yb=yb+16|0;g=s;if((d|0)<=0){r=jf(jf(OC(jf(jf(jf(55420,31767)|0,31796)|0,33528)|0,82)|0,33535)|0,31905)|0;HC(g,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=WD(g,56124)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;XD(g);PC(r,q)|0;LC(r)|0;ya()}if((e|0)<=0){r=jf(jf(OC(jf(jf(jf(55420,31924)|0,31796)|0,33528)|0,83)|0,33535)|0,31953)|0;HC(g,r+(c[(c[r>>2]|0)+-12>>2]|0)|0);q=WD(g,56124)|0;q=Gb[c[(c[q>>2]|0)+28>>2]&63](q,10)|0;XD(g);PC(r,q)|0;LC(r)|0;ya()}p=e+-1|0;q=b+(p<<3)|0;r=b+(p<<3)+4|0;l=d+-1|0;m=0;while(1){if((m|0)>=(l|0))break;n=+f[q>>2];o=c[r>>2]|0;g=m;d=l;do{while(1){j=b+(g<<3)|0;k=+f[j>>2];if(!(k>2]|0)>=(o|0))break}g=g+1|0}while(1){h=b+(d<<3)|0;i=+f[h>>2];if(!(n=(c[b+(d<<3)+4>>2]|0))break}d=d+-1|0}if((g|0)<=(d|0)){f[j>>2]=i;f[h>>2]=k;t=b+(g<<3)+4|0;j=b+(d<<3)+4|0;h=c[t>>2]|0;c[t>>2]=c[j>>2];c[j>>2]=h;g=g+1|0;d=d+-1|0}}while((g|0)<=(d|0));l=(g|0)<(e|0)?l:d;m=(d|0)<(p|0)?g:m}b=q;e=c[b+4>>2]|0;t=a;c[t>>2]=c[b>>2];c[t+4>>2]=e;yb=s;return}function Tm(a,b){a=a|0;b=b|0;var d=0,e=0;e=b;d=c[e+4>>2]|0;b=a;c[b>>2]=c[e>>2];c[b+4>>2]=d;return}function Um(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;c=+Dm(a,b,c)>0.0;return c^+Dm(d,e,f)>0.0^1|0}function Vm(a,b,c,d,e,g,h,i,j,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0.0,m=0.0,n=0.0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0,u=0,w=0,x=0,y=0;l=(+f[h>>2]+ +f[i>>2]+ +f[j>>2]+ +f[k>>2])*.25;f[g>>2]=l;y=h+4|0;x=i+4|0;w=j+4|0;u=k+4|0;m=(+f[y>>2]+ +f[x>>2]+ +f[w>>2]+ +f[u>>2])*.25;f[g+4>>2]=m;s=+f[h>>2]-l;t=+f[y>>2]-m;q=+f[i>>2]-l;r=+f[x>>2]-m;o=+f[j>>2]-l;p=+f[w>>2]-m;l=+f[k>>2]-l;m=+f[u>>2]-m;n=(+v(+(s*s+t*t))+ +v(+(q*q+r*r))+ +v(+(o*o+p*p))+ +v(+(l*l+m*m)))*.25;if(n==0.0)g=0;else{n=1.0/n*1.4142135623730951;f[e>>2]=n;f[a>>2]=s*n;f[a+4>>2]=t*+f[e>>2];f[b>>2]=q*+f[e>>2];f[b+4>>2]=r*+f[e>>2];f[c>>2]=o*+f[e>>2];f[c+4>>2]=p*+f[e>>2];f[d>>2]=l*+f[e>>2];f[d+4>>2]=m*+f[e>>2];g=1}return g|0}function Wm(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0;j=yb;yb=yb+288|0;k=j;Ym(k,b,c,d,e,f,g,h,i);if(Zm(a,k)|0)a=!(+u(+(+um(a)))<1.0e-05);else a=0;yb=j;return a|0}function Xm(a,b,c,d,e,g){a=a|0;b=b|0;c=+c;d=d|0;e=+e;g=g|0;var h=0,i=0.0,j=0,k=0,l=0,m=0.0,n=0.0,o=0.0,p=0,q=0.0,r=0.0;l=b+24|0;o=+f[l>>2];q=+f[g>>2];k=b+28|0;n=+f[k>>2];r=o*q+ +f[b>>2]/e;q=q*n+ +f[b+4>>2]/e;p=g+4|0;m=+f[p>>2];o=o*m+ +f[b+12>>2]/e;m=n*m+ +f[b+16>>2]/e;n=+f[d>>2]*c;h=d+4|0;i=+f[h>>2]*c;f[a>>2]=r*c;f[a+4>>2]=q*c;j=b+32|0;f[a+8>>2]=+f[j>>2]*+f[g>>2]+ +f[b+8>>2]/e-r*n-q*i;f[a+12>>2]=o*c;f[a+16>>2]=m*c;f[a+20>>2]=+f[j>>2]*+f[p>>2]+ +f[b+20>>2]/e-o*n-m*i;i=+f[l>>2]*c;f[a+24>>2]=i;e=+f[k>>2]*c;f[a+28>>2]=e;f[a+32>>2]=+f[j>>2]-i*+f[d>>2]-e*+f[h>>2];return}function Ym(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;yn(a,b,f);yn(a+72|0,c,g);yn(a+144|0,d,h);yn(a+216|0,e,i);return}function Zm(a,b){a=a|0;b=b|0;var c=0,d=0;d=yb;yb=yb+288|0;c=d;if(((((((_m(c,b)|0?$m(c,b)|0:0)?an(c,b)|0:0)?bn(c,b)|0:0)?cn(c,b)|0:0)?dn(c,b)|0:0)?en(c,b)|0:0)?fn(c,b)|0:0)a=gn(a,c)|0;else a=0;yb=d;return a|0}function _m(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0;g=yb;yb=yb+32|0;d=g;f[d>>2]=+mn(b);e=b+36|0;f[d+4>>2]=+mn(e);f[d+8>>2]=+mn(b+72|0);f[d+12>>2]=+mn(b+108|0);f[d+16>>2]=+mn(b+144|0);f[d+20>>2]=+mn(b+180|0);f[d+24>>2]=+mn(b+216|0);f[d+28>>2]=+mn(b+252|0);c=wn(d)|0;d=d+(c<<2)|0;if(+f[d>>2]==0.0)a=0;else{qn(b,b+(c*9<<2)|0);kn(a,b,1.0/+v(+(+f[d>>2])));xn(a+36|0,e,63);a=1}yb=g;return a|0}function $m(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=yb;yb=yb+32|0;g=e;c=a+36|0;d=b+36|0;on(c,a,d);m=a+72|0;on(m,a,b+72|0);l=a+108|0;on(l,a,b+108|0);k=a+144|0;on(k,a,b+144|0);j=a+180|0;on(j,a,b+180|0);i=a+216|0;on(i,a,b+216|0);h=a+252|0;on(h,a,b+252|0);f[g>>2]=+mn(c);f[g+4>>2]=+mn(m);f[g+8>>2]=+mn(l);f[g+12>>2]=+mn(k);f[g+16>>2]=+mn(j);f[g+20>>2]=+mn(i);f[g+24>>2]=+mn(h);a=vn(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)a=0;else{a=a*9|0;qn(c,c+(a<<2)|0);qn(d,d+(a<<2)|0);kn(c,c,1.0/+v(+(+f[b>>2])));a=1}yb=e;return a|0}function an(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0;e=yb;yb=yb+32|0;g=e;c=a+72|0;l=a+36|0;d=b+72|0;on(c,l,d);k=a+108|0;on(k,l,b+108|0);j=a+144|0;on(j,l,b+144|0);i=a+180|0;on(i,l,b+180|0);h=a+216|0;on(h,l,b+216|0);a=a+252|0;on(a,l,b+252|0);f[g>>2]=+mn(c);f[g+4>>2]=+mn(k);f[g+8>>2]=+mn(j);f[g+12>>2]=+mn(i);f[g+16>>2]=+mn(h);f[g+20>>2]=+mn(a);a=un(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)a=0;else{a=a*9|0;qn(c,c+(a<<2)|0);qn(d,d+(a<<2)|0);kn(c,c,1.0/+v(+(+f[b>>2])));a=1}yb=e;return a|0}function bn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0;e=yb;yb=yb+32|0;g=e;c=a+108|0;k=a+72|0;d=b+108|0;on(c,k,d);j=a+144|0;on(j,k,b+144|0);i=a+180|0;on(i,k,b+180|0);h=a+216|0;on(h,k,b+216|0);a=a+252|0;on(a,k,b+252|0);f[g>>2]=+mn(c);f[g+4>>2]=+mn(j);f[g+8>>2]=+mn(i);f[g+12>>2]=+mn(h);f[g+16>>2]=+mn(a);a=tn(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)a=0;else{a=a*9|0;qn(c,c+(a<<2)|0);qn(d,d+(a<<2)|0);kn(c,c,1.0/+v(+(+f[b>>2])));a=1}yb=e;return a|0}function cn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0;e=yb;yb=yb+16|0;g=e;c=a+144|0;j=a+108|0;d=b+144|0;on(c,j,d);i=a+180|0;on(i,j,b+180|0);h=a+216|0;on(h,j,b+216|0);a=a+252|0;on(a,j,b+252|0);f[g>>2]=+mn(c);f[g+4>>2]=+mn(i);f[g+8>>2]=+mn(h);f[g+12>>2]=+mn(a);a=sn(g)|0;b=g+(a<<2)|0;if(+f[b>>2]==0.0)a=0;else{a=a*9|0;qn(c,c+(a<<2)|0);qn(d,d+(a<<2)|0);kn(c,c,1.0/+v(+(+f[b>>2])));a=1}yb=e;return a|0} -function iI(e,f,g,h,i,j,k,l,m,n,o){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|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,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=yb;yb=yb+512|0;I=Y+488|0;O=Y;X=Y+480|0;Q=Y+472|0;J=Y+468|0;K=Y+496|0;L=Y+493|0;M=Y+492|0;S=Y+456|0;T=Y+444|0;U=Y+432|0;V=Y+420|0;W=Y+408|0;N=Y+404|0;R=Y+400|0;c[I>>2]=o;c[X>>2]=O;c[X+4>>2]=143;c[Q>>2]=O;c[J>>2]=O+400;c[S>>2]=0;c[S+4>>2]=0;c[S+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[S+(o<<2)>>2]=0;o=o+1|0}c[T>>2]=0;c[T+4>>2]=0;c[T+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[T+(o<<2)>>2]=0;o=o+1|0}c[U>>2]=0;c[U+4>>2]=0;c[U+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[U+(o<<2)>>2]=0;o=o+1|0}c[V>>2]=0;c[V+4>>2]=0;c[V+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[V+(o<<2)>>2]=0;o=o+1|0}c[W>>2]=0;c[W+4>>2]=0;c[W+8>>2]=0;o=0;while(1){if((o|0)==3)break;c[W+(o<<2)>>2]=0;o=o+1|0}lI(g,h,K,L,M,S,T,U,V,N);c[n>>2]=c[m>>2];B=l+8|0;C=U+11|0;D=U+4|0;E=V+11|0;F=V+4|0;G=S+11|0;H=S+4|0;v=(i&512|0)!=0;w=T+11|0;x=K+3|0;y=T+4|0;z=W+11|0;A=W+4|0;O=0;u=0;a:while(1){if(u>>>0>=4){P=243;break}o=c[e>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if(mf(o,hf()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);g=c[f>>2]|0;do if(g){o=c[g+12>>2]|0;if((o|0)==(c[g+16>>2]|0))o=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else o=rf(a[o>>0]|0)|0;if(!(mf(o,hf()|0)|0))if(h){t=g;break}else{P=243;break a}else{c[f>>2]=0;P=31;break}}else P=31;while(0);if((P|0)==31){P=0;if(h){P=243;break}else t=0}b:do switch(a[K+u>>0]|0){case 1:{if((u|0)==3)o=O;else{o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if((o&255)<<24>>24<=-1){P=45;break a}if(!(b[(c[B>>2]|0)+(o<<24>>24<<1)>>1]&8192)){P=45;break a}o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;o=rf(a[h>>0]|0)|0}xM(W,o&255);P=47}break}case 0:{if((u|0)==3)o=O;else P=47;break}case 3:{o=a[C>>0]|0;o=o<<24>>24<0?c[D>>2]|0:o&255;l=a[E>>0]|0;l=l<<24>>24<0?c[F>>2]|0:l&255;if((o|0)==(0-l|0))o=O;else{i=(o|0)==0;o=c[e>>2]|0;g=c[o+12>>2]|0;h=(g|0)==(c[o+16>>2]|0);if(i|(l|0)==0){if(h)o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;o=o&255;if(i){if((a[((a[E>>0]|0)<0?c[V>>2]|0:V)>>0]|0)!=o<<24>>24){o=O;break b}o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;rf(a[h>>0]|0)|0}a[k>>0]=1;o=a[E>>0]|0;o=(o<<24>>24<0?c[F>>2]|0:o&255)>>>0>1?V:O;break b}if((a[((a[C>>0]|0)<0?c[U>>2]|0:U)>>0]|0)!=o<<24>>24){a[k>>0]=1;o=O;break b}o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;rf(a[h>>0]|0)|0}o=a[C>>0]|0;o=(o<<24>>24<0?c[D>>2]|0:o&255)>>>0>1?U:O;break b}if(h)o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;g=c[e>>2]|0;h=g+12|0;l=c[h>>2]|0;i=(l|0)==(c[g+16>>2]|0);if((a[((a[C>>0]|0)<0?c[U>>2]|0:U)>>0]|0)==(o&255)<<24>>24){if(i)Eb[c[(c[g>>2]|0)+40>>2]&127](g)|0;else{c[h>>2]=l+1;rf(a[l>>0]|0)|0}o=a[C>>0]|0;o=(o<<24>>24<0?c[D>>2]|0:o&255)>>>0>1?U:O;break b}if(i)o=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else o=rf(a[l>>0]|0)|0;if((a[((a[E>>0]|0)<0?c[V>>2]|0:V)>>0]|0)!=(o&255)<<24>>24){P=105;break a}o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;rf(a[h>>0]|0)|0}a[k>>0]=1;o=a[E>>0]|0;o=(o<<24>>24<0?c[F>>2]|0:o&255)>>>0>1?V:O}break}case 2:{if(u>>>0<2|(O|0)!=0){o=a[w>>0]|0;h=o<<24>>24<0;g=c[T>>2]|0;l=h?g:T;i=l;if(!u)h=i;else{s=i;P=110}}else{if(!(v|(u|0)==2&(a[x>>0]|0)!=0)){o=0;break b}o=a[w>>0]|0;h=o<<24>>24<0;g=c[T>>2]|0;s=h?g:T;l=s;P=110}c:do if((P|0)==110){P=0;if((d[K+(u+-1)>>0]|0)<2){i=l+(h?c[y>>2]|0:o&255)|0;h=s;while(1){p=h;if((i|0)==(p|0))break;q=a[p>>0]|0;if(q<<24>>24<=-1)break;if(!(b[(c[B>>2]|0)+(q<<24>>24<<1)>>1]&8192))break;h=p+1|0}q=h-s|0;p=a[z>>0]|0;r=p<<24>>24<0;i=c[A>>2]|0;p=p&255;if(q>>>0<=(r?i:p)>>>0){Z=(c[W>>2]|0)+i|0;i=W+p|0;p=r?Z:i;i=r?Z+(0-q)|0:i+(0-q)|0;while(1){if((i|0)==(p|0))break c;if((a[i>>0]|0)!=(a[l>>0]|0)){h=s;break c}l=l+1|0;i=i+1|0}}else h=s}else h=s}while(0);i=h;h=t;d:while(1){Z=o<<24>>24<0;if((i|0)==((Z?g:T)+(Z?c[y>>2]|0:o&255)|0))break;o=c[e>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if(mf(o,hf()|0)|0){c[e>>2]=0;g=1;break}else{g=(c[e>>2]|0)==0;break}}else g=1;while(0);do if(h){o=c[h+12>>2]|0;if((o|0)==(c[h+16>>2]|0))o=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else o=rf(a[o>>0]|0)|0;if(!(mf(o,hf()|0)|0))if(g){l=h;break}else break d;else{c[f>>2]=0;P=136;break}}else P=136;while(0);if((P|0)==136){P=0;if(g)break;else l=0}o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if((a[i>>0]|0)!=(o&255)<<24>>24)break;o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;rf(a[h>>0]|0)|0}i=i+1|0;o=a[w>>0]|0;g=c[T>>2]|0;h=l}if(v?(Z=a[w>>0]|0,t=Z<<24>>24<0,(i|0)!=((t?c[T>>2]|0:T)+(t?c[y>>2]|0:Z&255)|0)):0){P=148;break a}else o=O;break}case 4:{i=0;l=t;o=t;e:while(1){g=c[e>>2]|0;do if(g){h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=rf(a[h>>0]|0)|0;if(mf(g,hf()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);do if(l){g=c[l+12>>2]|0;if((g|0)==(c[l+16>>2]|0))g=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else g=rf(a[g>>0]|0)|0;if(!(mf(g,hf()|0)|0))if(h){p=l;break}else{l=o;break e}else{c[f>>2]=0;o=0;P=162;break}}else P=162;while(0);if((P|0)==162){P=0;if(h){l=o;break}else p=0}g=c[e>>2]|0;h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))g=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else g=rf(a[h>>0]|0)|0;h=g&255;if(h<<24>>24>-1?(b[(c[B>>2]|0)+(g<<24>>24<<1)>>1]&2048)!=0:0){g=c[n>>2]|0;if((g|0)==(c[I>>2]|0)){mI(m,n,I);g=c[n>>2]|0}c[n>>2]=g+1;a[g>>0]=h;g=i+1|0}else{Z=a[G>>0]|0;if(!((a[M>>0]|0)==h<<24>>24&(i|0?((Z<<24>>24<0?c[H>>2]|0:Z&255)|0)!=0:0))){l=o;break}g=c[Q>>2]|0;if((g|0)==(c[J>>2]|0)){nI(X,Q,J);g=c[Q>>2]|0}c[Q>>2]=g+4;c[g>>2]=i;g=0}h=c[e>>2]|0;l=h+12|0;i=c[l>>2]|0;if((i|0)==(c[h+16>>2]|0))Eb[c[(c[h>>2]|0)+40>>2]&127](h)|0;else{c[l>>2]=i+1;rf(a[i>>0]|0)|0}i=g;l=p}o=c[Q>>2]|0;if(i|0?(c[X>>2]|0)!=(o|0):0){if((o|0)==(c[J>>2]|0)){nI(X,Q,J);o=c[Q>>2]|0}c[Q>>2]=o+4;c[o>>2]=i}f:do if((c[N>>2]|0)>0){o=c[e>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if(mf(o,hf()|0)|0){c[e>>2]=0;g=1;break}else{g=(c[e>>2]|0)==0;break}}else g=1;while(0);do if(l){o=c[l+12>>2]|0;if((o|0)==(c[l+16>>2]|0))o=Eb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else o=rf(a[o>>0]|0)|0;if(!(mf(o,hf()|0)|0))if(g)break;else{P=204;break a}else{c[f>>2]=0;P=198;break}}else P=198;while(0);if((P|0)==198){P=0;if(g){P=204;break a}else l=0}o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if((a[L>>0]|0)!=(o&255)<<24>>24){P=204;break a}o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;rf(a[h>>0]|0)|0}h=l;while(1){if((c[N>>2]|0)<=0)break f;o=c[e>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if(mf(o,hf()|0)|0){c[e>>2]=0;g=1;break}else{g=(c[e>>2]|0)==0;break}}else g=1;while(0);do if(h){o=c[h+12>>2]|0;if((o|0)==(c[h+16>>2]|0))o=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else o=rf(a[o>>0]|0)|0;if(!(mf(o,hf()|0)|0))if(g){l=h;break}else{P=230;break a}else{c[f>>2]=0;P=223;break}}else P=223;while(0);if((P|0)==223){P=0;if(g){P=230;break a}else l=0}o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if((o&255)<<24>>24<=-1){P=230;break a}if(!(b[(c[B>>2]|0)+(o<<24>>24<<1)>>1]&2048)){P=230;break a}if((c[n>>2]|0)==(c[I>>2]|0))mI(m,n,I);o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;g=c[n>>2]|0;c[n>>2]=g+1;a[g>>0]=o;c[N>>2]=(c[N>>2]|0)+-1;o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;rf(a[h>>0]|0)|0}h=l}}while(0);if((c[n>>2]|0)==(c[m>>2]|0)){P=241;break a}else o=O;break}default:o=O}while(0);g:do if((P|0)==47){P=0;h=t;while(1){o=c[e>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if(mf(o,hf()|0)|0){c[e>>2]=0;g=1;break}else{g=(c[e>>2]|0)==0;break}}else g=1;while(0);do if(h){o=c[h+12>>2]|0;if((o|0)==(c[h+16>>2]|0))o=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else o=rf(a[o>>0]|0)|0;if(!(mf(o,hf()|0)|0))if(g){l=h;break}else{o=O;break g}else{c[f>>2]=0;P=61;break}}else P=61;while(0);if((P|0)==61){P=0;if(g){o=O;break g}else l=0}o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if((o&255)<<24>>24<=-1){o=O;break g}if(!(b[(c[B>>2]|0)+(o<<24>>24<<1)>>1]&8192)){o=O;break g}o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;o=rf(a[h>>0]|0)|0}xM(W,o&255);h=l}}while(0);O=o;u=u+1|0}h:do if((P|0)==45){c[j>>2]=c[j>>2]|4;g=0}else if((P|0)==105){c[j>>2]=c[j>>2]|4;g=0}else if((P|0)==148){c[j>>2]=c[j>>2]|4;g=0}else if((P|0)==204){c[j>>2]=c[j>>2]|4;g=0}else if((P|0)==230){c[j>>2]=c[j>>2]|4;g=0}else if((P|0)==241){c[j>>2]=c[j>>2]|4;g=0}else if((P|0)==243){i:do if(O|0){i=O+11|0;p=O+4|0;l=1;j:while(1){o=a[i>>0]|0;if(o<<24>>24<0)o=c[p>>2]|0;else o=o&255;if(l>>>0>=o>>>0)break i;o=c[e>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if(mf(o,hf()|0)|0){c[e>>2]=0;h=1;break}else{h=(c[e>>2]|0)==0;break}}else h=1;while(0);o=c[f>>2]|0;do if(o){g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if(!(mf(o,hf()|0)|0))if(h)break;else break j;else{c[f>>2]=0;P=262;break}}else P=262;while(0);if((P|0)==262?(P=0,h):0)break;o=c[e>>2]|0;g=c[o+12>>2]|0;if((g|0)==(c[o+16>>2]|0))o=Eb[c[(c[o>>2]|0)+36>>2]&127](o)|0;else o=rf(a[g>>0]|0)|0;if((a[i>>0]|0)<0)g=c[O>>2]|0;else g=O;if((a[g+l>>0]|0)!=(o&255)<<24>>24)break;o=c[e>>2]|0;g=o+12|0;h=c[g>>2]|0;if((h|0)==(c[o+16>>2]|0))Eb[c[(c[o>>2]|0)+40>>2]&127](o)|0;else{c[g>>2]=h+1;rf(a[h>>0]|0)|0}l=l+1|0}c[j>>2]=c[j>>2]|4;g=0;break h}while(0);g=c[X>>2]|0;o=c[Q>>2]|0;if((g|0)!=(o|0)){c[R>>2]=0;jE(S,g,o,R);if(!(c[R>>2]|0)){g=1;break}else{c[j>>2]=c[j>>2]|4;g=0;break}}else g=1}while(0);nM(W);nM(V);nM(U);nM(T);nM(S);o=c[X>>2]|0;c[X>>2]=0;if(o|0)Qb[c[X+4>>2]&255](o);yb=Y;return g|0}function jI(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,l=0,m=0,n=0,o=0;o=yb;yb=yb+16|0;j=d;m=o;n=b+11|0;h=a[n>>0]|0;f=h<<24>>24<0;if(f){l=c[b+4>>2]|0;i=(c[b+8>>2]&2147483647)+-1|0}else{l=h&255;i=10}k=e-j|0;do if(k|0){if(f){g=c[b>>2]|0;f=c[b+4>>2]|0}else{g=b;f=h&255}if(kI(d,g,g+f|0)|0){c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;pf(m,d,e);n=a[m+11>>0]|0;l=n<<24>>24<0;wM(b,l?c[m>>2]|0:m,l?c[m+4>>2]|0:n&255)|0;nM(m);break}if((i-l|0)>>>0>>0)vM(b,i,l+k-i|0,l,l,0,0);if((a[n>>0]|0)<0)h=c[b>>2]|0;else h=b;g=e+(l-j)|0;f=h+l|0;while(1){if((d|0)==(e|0))break;qf(f,d);f=f+1|0;d=d+1|0}a[m>>0]=0;qf(h+g|0,m);d=l+k|0;if((a[n>>0]|0)<0){c[b+4>>2]=d;break}else{a[n>>0]=d;break}}while(0);yb=o;return b|0}function kI(a,b,c){a=a|0;b=b|0;c=c|0;return b>>>0<=a>>>0&a>>>0>>0|0}function lI(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=yb;yb=yb+16|0;m=o+12|0;n=o;if(b){d=WD(d,56356)|0;Sb[c[(c[d>>2]|0)+44>>2]&63](m,d);b=c[m>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;Sb[c[(c[d>>2]|0)+32>>2]&63](n,d);b=k+11|0;if((a[b>>0]|0)<0){b=c[k>>2]|0;a[m>>0]=0;qf(b,m);c[k+4>>2]=0;b=k}else{a[m>>0]=0;qf(k,m);a[b>>0]=0;b=k}rM(k,0);c[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}nM(n);Sb[c[(c[d>>2]|0)+28>>2]&63](n,d);b=j+11|0;if((a[b>>0]|0)<0){b=c[j>>2]|0;a[m>>0]=0;qf(b,m);c[j+4>>2]=0;b=j}else{a[m>>0]=0;qf(j,m);a[b>>0]=0;b=j}rM(j,0);c[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}nM(n);a[f>>0]=Eb[c[(c[d>>2]|0)+12>>2]&127](d)|0;a[g>>0]=Eb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Sb[c[(c[d>>2]|0)+20>>2]&63](n,d);b=h+11|0;if((a[b>>0]|0)<0){b=c[h>>2]|0;a[m>>0]=0;qf(b,m);c[h+4>>2]=0;b=h}else{a[m>>0]=0;qf(h,m);a[b>>0]=0;b=h}rM(h,0);c[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}nM(n);Sb[c[(c[d>>2]|0)+24>>2]&63](n,d);b=i+11|0;if((a[b>>0]|0)<0){b=c[i>>2]|0;a[m>>0]=0;qf(b,m);c[i+4>>2]=0;b=i}else{a[m>>0]=0;qf(i,m);a[b>>0]=0;b=i}rM(i,0);c[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}nM(n);b=Eb[c[(c[d>>2]|0)+36>>2]&127](d)|0}else{d=WD(d,56348)|0;Sb[c[(c[d>>2]|0)+44>>2]&63](m,d);b=c[m>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;Sb[c[(c[d>>2]|0)+32>>2]&63](n,d);b=k+11|0;if((a[b>>0]|0)<0){b=c[k>>2]|0;a[m>>0]=0;qf(b,m);c[k+4>>2]=0;b=k}else{a[m>>0]=0;qf(k,m);a[b>>0]=0;b=k}rM(k,0);c[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}nM(n);Sb[c[(c[d>>2]|0)+28>>2]&63](n,d);b=j+11|0;if((a[b>>0]|0)<0){b=c[j>>2]|0;a[m>>0]=0;qf(b,m);c[j+4>>2]=0;b=j}else{a[m>>0]=0;qf(j,m);a[b>>0]=0;b=j}rM(j,0);c[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}nM(n);a[f>>0]=Eb[c[(c[d>>2]|0)+12>>2]&127](d)|0;a[g>>0]=Eb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Sb[c[(c[d>>2]|0)+20>>2]&63](n,d);b=h+11|0;if((a[b>>0]|0)<0){b=c[h>>2]|0;a[m>>0]=0;qf(b,m);c[h+4>>2]=0;b=h}else{a[m>>0]=0;qf(h,m);a[b>>0]=0;b=h}rM(h,0);c[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}nM(n);Sb[c[(c[d>>2]|0)+24>>2]&63](n,d);b=i+11|0;if((a[b>>0]|0)<0){b=c[i>>2]|0;a[m>>0]=0;qf(b,m);c[i+4>>2]=0;b=i}else{a[m>>0]=0;qf(i,m);a[b>>0]=0;b=i}rM(i,0);c[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}nM(n);b=Eb[c[(c[d>>2]|0)+36>>2]&127](d)|0}c[l>>2]=b;yb=o;return}function mI(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=a+4|0;f=(c[i>>2]|0)!=143;e=c[a>>2]|0;h=e;j=(c[d>>2]|0)-h|0;g=j<<1;g=j>>>0<2147483647?((g|0)==0?1:g):-1;h=(c[b>>2]|0)-h|0;e=lB(f?e:0,g)|0;if(!e)$L();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){Qb[c[i>>2]&255](f);e=c[a>>2]|0}}else c[a>>2]=e;c[i>>2]=144;c[b>>2]=e+h;c[d>>2]=(c[a>>2]|0)+g;return}function nI(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=a+4|0;f=(c[i>>2]|0)!=143;e=c[a>>2]|0;h=e;j=(c[d>>2]|0)-h|0;g=j<<1;g=j>>>0<2147483647?((g|0)==0?4:g):-1;h=(c[b>>2]|0)-h>>2;e=lB(f?e:0,g)|0;if(!e)$L();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){Qb[c[i>>2]&255](f);e=c[a>>2]|0}}else c[a>>2]=e;c[i>>2]=144;c[b>>2]=e+(h<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function oI(a){a=a|0;BD(a);return}function pI(a){a=a|0;BD(a);cM(a);return}function qI(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=yb;yb=yb+592|0;n=v+512|0;q=v+552|0;m=v+112|0;u=v+568|0;p=v+564|0;s=v+560|0;j=v+576|0;w=v+556|0;o=v;c[u>>2]=m;c[u+4>>2]=143;HC(s,g);b=WD(s,56156)|0;a[j>>0]=0;c[w>>2]=c[e>>2];l=c[g+4>>2]|0;c[n>>2]=c[w>>2];if(sI(d,n,f,s,l,h,j,b,u,p,m+400|0)|0){Ib[c[(c[b>>2]|0)+48>>2]&15](b,48298,48308,n)|0;l=c[p>>2]|0;f=c[u>>2]|0;b=l-f|0;if((b|0)>392){b=iB((b>>>2)+2|0)|0;if(!b)$L();else{k=b;r=b}}else{k=o;r=0}if(!(a[j>>0]|0))b=k;else{a[k>>0]=45;b=k+1|0}k=n+40|0;m=n;j=f;g=b;b=l;while(1){if(j>>>0>=b>>>0)break;f=c[j>>2]|0;b=n;while(1){if((b|0)==(k|0)){b=k;break}if((c[b>>2]|0)==(f|0))break;b=b+4|0}a[g>>0]=a[48298+(b-m>>2)>>0]|0;j=j+4|0;g=g+1|0;b=c[p>>2]|0}a[g>>0]=0;c[q>>2]=i;if((Zz(o,48199,q)|0)!=1)mH(0);if(r|0)jB(r)}b=c[d>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=iC(c[f>>2]|0)|0;if(IC(b,hC()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);b=c[e>>2]|0;do if(b){f=c[b+12>>2]|0;if((f|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=iC(c[f>>2]|0)|0;if(!(IC(b,hC()|0)|0))if(g)break;else{t=34;break}else{c[e>>2]=0;t=32;break}}else t=32;while(0);if((t|0)==32?g:0)t=34;if((t|0)==34)c[h>>2]=c[h>>2]|2;f=c[d>>2]|0;XD(s);b=c[u>>2]|0;c[u>>2]=0;if(b|0)Qb[c[u+4>>2]&255](b);yb=v;return f|0}function rI(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=yb;yb=yb+432|0;j=s+424|0;b=s;r=s+416|0;m=s+408|0;p=s+400|0;k=s+428|0;n=s+404|0;c[r>>2]=b;c[r+4>>2]=143;HC(p,g);l=WD(p,56156)|0;a[k>>0]=0;o=c[e>>2]|0;c[n>>2]=o;g=c[g+4>>2]|0;c[j>>2]=c[n>>2];n=o;if(sI(d,j,f,p,g,h,k,l,r,m,b+400|0)|0){b=i+8+3|0;if((a[b>>0]|0)<0){f=c[i>>2]|0;c[j>>2]=0;ID(f,j);c[i+4>>2]=0}else{c[j>>2]=0;ID(i,j);a[b>>0]=0}if(a[k>>0]|0)JM(i,Gb[c[(c[l>>2]|0)+44>>2]&63](l,45)|0);k=Gb[c[(c[l>>2]|0)+44>>2]&63](l,48)|0;g=c[m>>2]|0;j=g+-4|0;b=c[r>>2]|0;while(1){if(b>>>0>=j>>>0)break;if((c[b>>2]|0)!=(k|0))break;b=b+4|0}tI(i,b,g)|0}b=c[d>>2]|0;do if(b){g=c[b+12>>2]|0;if((g|0)==(c[b+16>>2]|0))b=Eb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else b=iC(c[g>>2]|0)|0;if(IC(b,hC()|0)|0){c[d>>2]=0;g=1;break}else{g=(c[d>>2]|0)==0;break}}else g=1;while(0);do if(o){b=c[n+12>>2]|0;if((b|0)==(c[n+16>>2]|0))b=Eb[c[(c[o>>2]|0)+36>>2]&127](n)|0;else b=iC(c[b>>2]|0)|0;if(!(IC(b,hC()|0)|0))if(g)break;else{q=27;break}else{c[e>>2]=0;q=25;break}}else q=25;while(0);if((q|0)==25?g:0)q=27;if((q|0)==27)c[h>>2]=c[h>>2]|2;g=c[d>>2]|0;XD(p);b=c[r>>2]|0;c[r>>2]=0;if(b|0)Qb[c[r+4>>2]&255](b);yb=s;return g|0}function sI(b,e,f,g,h,i,j,k,l,m,n){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|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,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=yb;yb=yb+512|0;H=X+496|0;N=X;W=X+488|0;P=X+480|0;I=X+476|0;J=X+500|0;K=X+472|0;L=X+468|0;R=X+456|0;S=X+444|0;T=X+432|0;U=X+420|0;V=X+408|0;M=X+404|0;Q=X+400|0;c[H>>2]=n;c[W>>2]=N;c[W+4>>2]=143;c[P>>2]=N;c[I>>2]=N+400;c[R>>2]=0;c[R+4>>2]=0;c[R+8>>2]=0;n=0;while(1){if((n|0)==3)break;c[R+(n<<2)>>2]=0;n=n+1|0}c[S>>2]=0;c[S+4>>2]=0;c[S+8>>2]=0;n=0;while(1){if((n|0)==3)break;c[S+(n<<2)>>2]=0;n=n+1|0}c[T>>2]=0;c[T+4>>2]=0;c[T+8>>2]=0;n=0;while(1){if((n|0)==3)break;c[T+(n<<2)>>2]=0;n=n+1|0}c[U>>2]=0;c[U+4>>2]=0;c[U+8>>2]=0;n=0;while(1){if((n|0)==3)break;c[U+(n<<2)>>2]=0;n=n+1|0}c[V>>2]=0;c[V+4>>2]=0;c[V+8>>2]=0;n=0;while(1){if((n|0)==3)break;c[V+(n<<2)>>2]=0;n=n+1|0}wI(f,g,J,K,L,R,S,T,U,M);c[m>>2]=c[l>>2];B=T+8+3|0;C=T+4|0;D=U+8+3|0;E=U+4|0;F=R+11|0;G=R+4|0;v=(h&512|0)!=0;w=S+8+3|0;x=J+3|0;y=S+4|0;z=V+8+3|0;A=V+4|0;N=0;u=0;a:while(1){if(u>>>0>=4){O=239;break}n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if(IC(n,hC()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);f=c[e>>2]|0;do if(f){n=c[f+12>>2]|0;if((n|0)==(c[f+16>>2]|0))n=Eb[c[(c[f>>2]|0)+36>>2]&127](f)|0;else n=iC(c[n>>2]|0)|0;if(!(IC(n,hC()|0)|0))if(g){t=f;break}else{O=239;break a}else{c[e>>2]=0;O=31;break}}else O=31;while(0);if((O|0)==31){O=0;if(g){O=239;break}else t=0}b:do switch(a[J+u>>0]|0){case 1:{if((u|0)==3)n=N;else{n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if(!(Hb[c[(c[k>>2]|0)+12>>2]&63](k,8192,n)|0)){O=44;break a}n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;n=iC(c[g>>2]|0)|0}JM(V,n);O=46}break}case 0:{if((u|0)==3)n=N;else O=46;break}case 3:{n=a[B>>0]|0;n=n<<24>>24<0?c[C>>2]|0:n&255;h=a[D>>0]|0;h=h<<24>>24<0?c[E>>2]|0:h&255;if((n|0)==(0-h|0))n=N;else{o=(n|0)==0;n=c[b>>2]|0;f=c[n+12>>2]|0;g=(f|0)==(c[n+16>>2]|0);if(o|(h|0)==0){if(g)n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if(o){if((n|0)!=(c[((a[D>>0]|0)<0?c[U>>2]|0:U)>>2]|0)){n=N;break b}n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;iC(c[g>>2]|0)|0}a[j>>0]=1;n=a[D>>0]|0;n=(n<<24>>24<0?c[E>>2]|0:n&255)>>>0>1?U:N;break b}if((n|0)!=(c[((a[B>>0]|0)<0?c[T>>2]|0:T)>>2]|0)){a[j>>0]=1;n=N;break b}n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;iC(c[g>>2]|0)|0}n=a[B>>0]|0;n=(n<<24>>24<0?c[C>>2]|0:n&255)>>>0>1?T:N;break b}if(g)n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;f=c[b>>2]|0;g=f+12|0;h=c[g>>2]|0;o=(h|0)==(c[f+16>>2]|0);if((n|0)==(c[((a[B>>0]|0)<0?c[T>>2]|0:T)>>2]|0)){if(o)Eb[c[(c[f>>2]|0)+40>>2]&127](f)|0;else{c[g>>2]=h+4;iC(c[h>>2]|0)|0}n=a[B>>0]|0;n=(n<<24>>24<0?c[C>>2]|0:n&255)>>>0>1?T:N;break b}if(o)n=Eb[c[(c[f>>2]|0)+36>>2]&127](f)|0;else n=iC(c[h>>2]|0)|0;if((n|0)!=(c[((a[D>>0]|0)<0?c[U>>2]|0:U)>>2]|0)){O=103;break a}n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;iC(c[g>>2]|0)|0}a[j>>0]=1;n=a[D>>0]|0;n=(n<<24>>24<0?c[E>>2]|0:n&255)>>>0>1?U:N}break}case 2:{if(u>>>0<2|(N|0)!=0){f=a[w>>0]|0;g=c[S>>2]|0;n=f<<24>>24<0?g:S;if(u)O=108}else{if(!(v|(u|0)==2&(a[x>>0]|0)!=0)){n=0;break b}f=a[w>>0]|0;g=c[S>>2]|0;n=f<<24>>24<0?g:S;O=108}c:do if((O|0)==108){O=0;if((d[J+(u+-1)>>0]|0)<2){h=f;while(1){s=h<<24>>24<0;f=n;if(((s?g:S)+((s?c[y>>2]|0:h&255)<<2)|0)==(f|0)){f=h;break}if(!(Hb[c[(c[k>>2]|0)+12>>2]&63](k,8192,c[f>>2]|0)|0)){O=112;break}n=f+4|0;h=a[w>>0]|0;g=c[S>>2]|0}if((O|0)==112){O=0;f=a[w>>0]|0;g=c[S>>2]|0}o=f<<24>>24<0?g:S;s=o;q=n-s>>2;p=a[z>>0]|0;r=p<<24>>24<0;h=c[A>>2]|0;p=p&255;if(q>>>0>(r?h:p)>>>0)n=s;else{Y=(c[V>>2]|0)+(h<<2)|0;h=V+(p<<2)|0;p=r?Y:h;h=(r?Y:h)+(0-q<<2)|0;while(1){if((h|0)==(p|0))break c;if((c[h>>2]|0)!=(c[o>>2]|0)){n=s;break c}o=o+4|0;h=h+4|0}}}}while(0);o=n;h=t;d:while(1){Y=f<<24>>24<0;if((o|0)==((Y?g:S)+((Y?c[y>>2]|0:f&255)<<2)|0))break;n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if(IC(n,hC()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(h){n=c[h+12>>2]|0;if((n|0)==(c[h+16>>2]|0))n=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else n=iC(c[n>>2]|0)|0;if(!(IC(n,hC()|0)|0))if(f)break;else break d;else{c[e>>2]=0;O=134;break}}else O=134;while(0);if((O|0)==134){O=0;if(f)break;else h=0}n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if((n|0)!=(c[o>>2]|0))break;n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;iC(c[g>>2]|0)|0}o=o+4|0;f=a[w>>0]|0;g=c[S>>2]|0}if(v?(Y=a[w>>0]|0,t=Y<<24>>24<0,(o|0)!=((t?c[S>>2]|0:S)+((t?c[y>>2]|0:Y&255)<<2)|0)):0){O=146;break a}else n=N;break}case 4:{o=0;h=t;n=t;e:while(1){f=c[b>>2]|0;do if(f){g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))f=Eb[c[(c[f>>2]|0)+36>>2]&127](f)|0;else f=iC(c[g>>2]|0)|0;if(IC(f,hC()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);do if(h){f=c[h+12>>2]|0;if((f|0)==(c[h+16>>2]|0))f=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else f=iC(c[f>>2]|0)|0;if(!(IC(f,hC()|0)|0))if(g){p=h;break}else{h=n;break e}else{c[e>>2]=0;n=0;O=160;break}}else O=160;while(0);if((O|0)==160){O=0;if(g){h=n;break}else p=0}f=c[b>>2]|0;g=c[f+12>>2]|0;if((g|0)==(c[f+16>>2]|0))g=Eb[c[(c[f>>2]|0)+36>>2]&127](f)|0;else g=iC(c[g>>2]|0)|0;if(Hb[c[(c[k>>2]|0)+12>>2]&63](k,2048,g)|0){f=c[m>>2]|0;if((f|0)==(c[H>>2]|0)){xI(l,m,H);f=c[m>>2]|0}c[m>>2]=f+4;c[f>>2]=g;f=o+1|0}else{Y=a[F>>0]|0;if(!((g|0)==(c[L>>2]|0)&(o|0?((Y<<24>>24<0?c[G>>2]|0:Y&255)|0)!=0:0))){h=n;break}f=c[P>>2]|0;if((f|0)==(c[I>>2]|0)){nI(W,P,I);f=c[P>>2]|0}c[P>>2]=f+4;c[f>>2]=o;f=0}g=c[b>>2]|0;h=g+12|0;o=c[h>>2]|0;if((o|0)==(c[g+16>>2]|0))Eb[c[(c[g>>2]|0)+40>>2]&127](g)|0;else{c[h>>2]=o+4;iC(c[o>>2]|0)|0}o=f;h=p}n=c[P>>2]|0;if(o|0?(c[W>>2]|0)!=(n|0):0){if((n|0)==(c[I>>2]|0)){nI(W,P,I);n=c[P>>2]|0}c[P>>2]=n+4;c[n>>2]=o}f:do if((c[M>>2]|0)>0){n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if(IC(n,hC()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(h){n=c[h+12>>2]|0;if((n|0)==(c[h+16>>2]|0))n=Eb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else n=iC(c[n>>2]|0)|0;if(!(IC(n,hC()|0)|0))if(f)break;else{O=201;break a}else{c[e>>2]=0;O=195;break}}else O=195;while(0);if((O|0)==195){O=0;if(f){O=201;break a}else h=0}n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if((n|0)!=(c[K>>2]|0)){O=201;break a}n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;iC(c[g>>2]|0)|0}g=h;while(1){if((c[M>>2]|0)<=0)break f;n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if(IC(n,hC()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(g){n=c[g+12>>2]|0;if((n|0)==(c[g+16>>2]|0))n=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else n=iC(c[n>>2]|0)|0;if(!(IC(n,hC()|0)|0))if(f){h=g;break}else{O=226;break a}else{c[e>>2]=0;O=220;break}}else O=220;while(0);if((O|0)==220){O=0;if(f){O=226;break a}else h=0}n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if(!(Hb[c[(c[k>>2]|0)+12>>2]&63](k,2048,n)|0)){O=226;break a}if((c[m>>2]|0)==(c[H>>2]|0))xI(l,m,H);n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;f=c[m>>2]|0;c[m>>2]=f+4;c[f>>2]=n;c[M>>2]=(c[M>>2]|0)+-1;n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;iC(c[g>>2]|0)|0}g=h}}while(0);if((c[m>>2]|0)==(c[l>>2]|0)){O=237;break a}else n=N;break}default:n=N}while(0);g:do if((O|0)==46){O=0;g=t;while(1){n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if(IC(n,hC()|0)|0){c[b>>2]=0;f=1;break}else{f=(c[b>>2]|0)==0;break}}else f=1;while(0);do if(g){n=c[g+12>>2]|0;if((n|0)==(c[g+16>>2]|0))n=Eb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else n=iC(c[n>>2]|0)|0;if(!(IC(n,hC()|0)|0))if(f){h=g;break}else{n=N;break g}else{c[e>>2]=0;O=60;break}}else O=60;while(0);if((O|0)==60){O=0;if(f){n=N;break g}else h=0}n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if(!(Hb[c[(c[k>>2]|0)+12>>2]&63](k,8192,n)|0)){n=N;break g}n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;n=iC(c[g>>2]|0)|0}JM(V,n);g=h}}while(0);N=n;u=u+1|0}h:do if((O|0)==44){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==103){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==146){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==201){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==226){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==237){c[i>>2]=c[i>>2]|4;f=0}else if((O|0)==239){i:do if(N|0){o=N+8+3|0;p=N+4|0;h=1;j:while(1){n=a[o>>0]|0;if(n<<24>>24<0)n=c[p>>2]|0;else n=n&255;if(h>>>0>=n>>>0)break i;n=c[b>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if(IC(n,hC()|0)|0){c[b>>2]=0;g=1;break}else{g=(c[b>>2]|0)==0;break}}else g=1;while(0);n=c[e>>2]|0;do if(n){f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if(!(IC(n,hC()|0)|0))if(g)break;else break j;else{c[e>>2]=0;O=258;break}}else O=258;while(0);if((O|0)==258?(O=0,g):0)break;n=c[b>>2]|0;f=c[n+12>>2]|0;if((f|0)==(c[n+16>>2]|0))n=Eb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else n=iC(c[f>>2]|0)|0;if((a[o>>0]|0)<0)f=c[N>>2]|0;else f=N;if((n|0)!=(c[f+(h<<2)>>2]|0))break;n=c[b>>2]|0;f=n+12|0;g=c[f>>2]|0;if((g|0)==(c[n+16>>2]|0))Eb[c[(c[n>>2]|0)+40>>2]&127](n)|0;else{c[f>>2]=g+4;iC(c[g>>2]|0)|0}h=h+1|0}c[i>>2]=c[i>>2]|4;f=0;break h}while(0);f=c[W>>2]|0;n=c[P>>2]|0;if((f|0)!=(n|0)){c[Q>>2]=0;jE(R,f,n,Q);if(!(c[Q>>2]|0)){f=1;break}else{c[i>>2]=c[i>>2]|4;f=0;break}}else f=1}while(0);BM(V);BM(U);BM(T);BM(S);nM(R);n=c[W>>2]|0;c[W>>2]=0;if(n|0)Qb[c[W+4>>2]&255](n);yb=X;return f|0}function tI(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,l=0,m=0,n=0;n=yb;yb=yb+16|0;k=n;f=b+8|0;m=f+3|0;i=a[m>>0]|0;g=i<<24>>24<0;if(g){l=c[b+4>>2]|0;h=(c[f>>2]&2147483647)+-1|0}else{l=i&255;h=1}f=e-d|0;j=f>>2;do if(f|0){if(g){g=c[b>>2]|0;f=c[b+4>>2]|0}else{g=b;f=i&255}if(uI(d,g,g+(f<<2)|0)|0){c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;vI(k,d,e);m=a[k+8+3>>0]|0;l=m<<24>>24<0;IM(b,l?c[k>>2]|0:k,l?c[k+4>>2]|0:m&255)|0;BM(k);break}if((h-l|0)>>>0>>0)HM(b,h,l+j-h|0,l,l,0,0);if((a[m>>0]|0)<0)f=c[b>>2]|0;else f=b;f=f+(l<<2)|0;while(1){if((d|0)==(e|0))break;ID(f,d);f=f+4|0;d=d+4|0}c[k>>2]=0;ID(f,k);d=l+j|0;if((a[m>>0]|0)<0){c[b+4>>2]=d;break}else{a[m>>0]=d;break}}while(0);yb=n;return b|0}function uI(a,b,c){a=a|0;b=b|0;c=c|0;return b>>>0<=a>>>0&a>>>0>>0|0}function vI(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;i=j;h=e-d>>2;if(h>>>0>1073741807)iM(b);do if(h>>>0>=2){g=h+4&-4;if(g>>>0>1073741823)ya();else{f=aM(g<<2)|0;c[b>>2]=f;c[b+8>>2]=g|-2147483648;c[b+4>>2]=h;break}}else{a[b+8+3>>0]=h;f=b}while(0);while(1){if((d|0)==(e|0))break;ID(f,d);d=d+4|0;f=f+4|0}c[i>>2]=0;ID(f,i);yb=j;return}function wI(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=yb;yb=yb+16|0;m=o+12|0;n=o;if(b){d=WD(d,56372)|0;Sb[c[(c[d>>2]|0)+44>>2]&63](m,d);b=c[m>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;Sb[c[(c[d>>2]|0)+32>>2]&63](n,d);b=k+8+3|0;if((a[b>>0]|0)<0){e=c[k>>2]|0;c[m>>2]=0;ID(e,m);c[k+4>>2]=0}else{c[m>>2]=0;ID(k,m);a[b>>0]=0}FM(k,0);c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[k+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}BM(n);Sb[c[(c[d>>2]|0)+28>>2]&63](n,d);b=j+8+3|0;if((a[b>>0]|0)<0){k=c[j>>2]|0;c[m>>2]=0;ID(k,m);c[j+4>>2]=0}else{c[m>>2]=0;ID(j,m);a[b>>0]=0}FM(j,0);c[j>>2]=c[n>>2];c[j+4>>2]=c[n+4>>2];c[j+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}BM(n);c[f>>2]=Eb[c[(c[d>>2]|0)+12>>2]&127](d)|0;c[g>>2]=Eb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Sb[c[(c[d>>2]|0)+20>>2]&63](n,d);b=h+11|0;if((a[b>>0]|0)<0){b=c[h>>2]|0;a[m>>0]=0;qf(b,m);c[h+4>>2]=0;b=h}else{a[m>>0]=0;qf(h,m);a[b>>0]=0;b=h}rM(h,0);c[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}nM(n);Sb[c[(c[d>>2]|0)+24>>2]&63](n,d);b=i+8+3|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;c[m>>2]=0;ID(h,m);c[i+4>>2]=0}else{c[m>>2]=0;ID(i,m);a[b>>0]=0}FM(i,0);c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}BM(n);b=Eb[c[(c[d>>2]|0)+36>>2]&127](d)|0}else{d=WD(d,56364)|0;Sb[c[(c[d>>2]|0)+44>>2]&63](m,d);b=c[m>>2]|0;a[e>>0]=b;a[e+1>>0]=b>>8;a[e+2>>0]=b>>16;a[e+3>>0]=b>>24;Sb[c[(c[d>>2]|0)+32>>2]&63](n,d);b=k+8+3|0;if((a[b>>0]|0)<0){e=c[k>>2]|0;c[m>>2]=0;ID(e,m);c[k+4>>2]=0}else{c[m>>2]=0;ID(k,m);a[b>>0]=0}FM(k,0);c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[k+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}BM(n);Sb[c[(c[d>>2]|0)+28>>2]&63](n,d);b=j+8+3|0;if((a[b>>0]|0)<0){k=c[j>>2]|0;c[m>>2]=0;ID(k,m);c[j+4>>2]=0}else{c[m>>2]=0;ID(j,m);a[b>>0]=0}FM(j,0);c[j>>2]=c[n>>2];c[j+4>>2]=c[n+4>>2];c[j+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}BM(n);c[f>>2]=Eb[c[(c[d>>2]|0)+12>>2]&127](d)|0;c[g>>2]=Eb[c[(c[d>>2]|0)+16>>2]&127](d)|0;Sb[c[(c[d>>2]|0)+20>>2]&63](n,d);b=h+11|0;if((a[b>>0]|0)<0){b=c[h>>2]|0;a[m>>0]=0;qf(b,m);c[h+4>>2]=0;b=h}else{a[m>>0]=0;qf(h,m);a[b>>0]=0;b=h}rM(h,0);c[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}nM(n);Sb[c[(c[d>>2]|0)+24>>2]&63](n,d);b=i+8+3|0;if((a[b>>0]|0)<0){h=c[i>>2]|0;c[m>>2]=0;ID(h,m);c[i+4>>2]=0}else{c[m>>2]=0;ID(i,m);a[b>>0]=0}FM(i,0);c[i>>2]=c[n>>2];c[i+4>>2]=c[n+4>>2];c[i+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}BM(n);b=Eb[c[(c[d>>2]|0)+36>>2]&127](d)|0}c[l>>2]=b;yb=o;return}function xI(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=a+4|0;f=(c[i>>2]|0)!=143;e=c[a>>2]|0;h=e;j=(c[d>>2]|0)-h|0;g=j<<1;g=j>>>0<2147483647?((g|0)==0?4:g):-1;h=(c[b>>2]|0)-h>>2;e=lB(f?e:0,g)|0;if(!e)$L();if(!f){f=c[a>>2]|0;c[a>>2]=e;if(f){Qb[c[i>>2]&255](f);e=c[a>>2]|0}}else c[a>>2]=e;c[i>>2]=144;c[b>>2]=e+(h<<2);c[d>>2]=(c[a>>2]|0)+(g>>>2<<2);return}function yI(a){a=a|0;BD(a);return}function zI(a){a=a|0;BD(a);cM(a);return}function AI(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=+i;var j=0,k=0,l=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;E=yb;yb=yb+416|0;q=E+336|0;k=E+328|0;b=E+224|0;l=E+400|0;j=E+112|0;D=E+396|0;r=E+408|0;s=E+405|0;t=E+404|0;A=E+384|0;B=E+372|0;C=E+360|0;o=E+356|0;p=E;u=E+352|0;v=E+344|0;w=E+348|0;c[l>>2]=b;g[q>>3]=i;b=Xy(b,100,48404,q)|0;if(b>>>0>99){b=ZD()|0;g[k>>3]=i;b=tF(l,b,48404,k)|0;j=c[l>>2]|0;if(!j)$L();k=iB(b)|0;if(!k)$L();else{x=k;z=b;G=k;H=j}}else{x=j;z=b;G=0;H=0}HC(D,f);n=WD(D,56124)|0;m=c[l>>2]|0;Ib[c[(c[n>>2]|0)+32>>2]&15](n,m,m+z|0,x)|0;if(!z)m=0;else m=(a[c[l>>2]>>0]|0)==45;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}CI(e,m,D,r,s,t,A,B,C,o);l=c[o>>2]|0;if((z|0)>(l|0)){k=a[C+11>>0]|0;b=a[B+11>>0]|0;b=b<<24>>24<0?c[B+4>>2]|0:b&255;j=l+1+(z-l<<1)|0;k=k<<24>>24<0?c[C+4>>2]|0:k&255}else{k=a[C+11>>0]|0;b=a[B+11>>0]|0;b=b<<24>>24<0?c[B+4>>2]|0:b&255;j=l+2|0;k=k<<24>>24<0?c[C+4>>2]|0:k&255}b=j+k+b|0;if(b>>>0>100){b=iB(b)|0;if(!b)$L();else{y=b;F=b}}else{y=p;F=0}DI(y,u,v,c[f+4>>2]|0,x,x+z|0,n,m,r,a[s>>0]|0,a[t>>0]|0,A,B,C,l);c[w>>2]=c[d>>2];d=c[u>>2]|0;b=c[v>>2]|0;c[q>>2]=c[w>>2];b=nf(q,y,d,b,f,h)|0;if(F|0)jB(F);nM(C);nM(B);nM(A);XD(D);if(G|0)jB(G);if(H|0)jB(H);yb=E;return b|0}function BI(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,l=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;C=yb;yb=yb+176|0;p=C+156|0;B=C+152|0;u=C+164|0;v=C+161|0;w=C+160|0;y=C+140|0;z=C+128|0;A=C+116|0;l=C+112|0;n=C;q=C+108|0;r=C+104|0;s=C+100|0;HC(B,f);t=WD(B,56124)|0;i=h+11|0;o=a[i>>0]|0;b=o<<24>>24<0;j=h+4|0;if(!((b?c[j>>2]|0:o&255)|0))o=0;else{o=a[(b?c[h>>2]|0:h)>>0]|0;o=o<<24>>24==(Gb[c[(c[t>>2]|0)+28>>2]&63](t,45)|0)<<24>>24};c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}CI(e,o,B,u,v,w,y,z,A,l);k=a[i>>0]|0;m=k<<24>>24<0;k=m?c[j>>2]|0:k&255;j=c[l>>2]|0;if((k|0)>(j|0)){e=a[A+11>>0]|0;b=a[z+11>>0]|0;b=b<<24>>24<0?c[z+4>>2]|0:b&255;i=j+1+(k-j<<1)|0;e=e<<24>>24<0?c[A+4>>2]|0:e&255}else{e=a[A+11>>0]|0;b=a[z+11>>0]|0;b=b<<24>>24<0?c[z+4>>2]|0:b&255;i=j+2|0;e=e<<24>>24<0?c[A+4>>2]|0:e&255}b=i+e+b|0;if(b>>>0>100){b=iB(b)|0;if(!b)$L();else{x=b;D=b}}else{x=n;D=0}h=m?c[h>>2]|0:h;DI(x,q,r,c[f+4>>2]|0,h,h+k|0,t,o,u,a[v>>0]|0,a[w>>0]|0,y,z,A,j);c[s>>2]=c[d>>2];h=c[q>>2]|0;b=c[r>>2]|0;c[p>>2]=c[s>>2];b=nf(p,x,h,b,f,g)|0;if(D|0)jB(D);nM(A);nM(z);nM(y);XD(B);yb=C;return b|0}function CI(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0;p=yb;yb=yb+16|0;n=p+12|0;o=p;if(b){m=WD(e,56356)|0;if(d){Sb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+11|0;if((a[b>>0]|0)<0){b=c[k>>2]|0;a[n>>0]=0;qf(b,n);c[k+4>>2]=0;b=k}else{a[n>>0]=0;qf(k,n);a[b>>0]=0;b=k}rM(k,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}nM(o);e=m}else{Sb[c[(c[m>>2]|0)+40>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=k+11|0;if((a[b>>0]|0)<0){b=c[k>>2]|0;a[n>>0]=0;qf(b,n);c[k+4>>2]=0;b=k}else{a[n>>0]=0;qf(k,n);a[b>>0]=0;b=k}rM(k,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}nM(o);e=m}a[g>>0]=Eb[c[(c[m>>2]|0)+12>>2]&127](m)|0;a[h>>0]=Eb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Sb[c[(c[e>>2]|0)+20>>2]&63](o,m);b=i+11|0;if((a[b>>0]|0)<0){b=c[i>>2]|0;a[n>>0]=0;qf(b,n);c[i+4>>2]=0;b=i}else{a[n>>0]=0;qf(i,n);a[b>>0]=0;b=i}rM(i,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}nM(o);Sb[c[(c[e>>2]|0)+24>>2]&63](o,m);b=j+11|0;if((a[b>>0]|0)<0){b=c[j>>2]|0;a[n>>0]=0;qf(b,n);c[j+4>>2]=0;b=j}else{a[n>>0]=0;qf(j,n);a[b>>0]=0;b=j}rM(j,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}nM(o);b=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0}else{m=WD(e,56348)|0;if(d){Sb[c[(c[m>>2]|0)+44>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+32>>2]&63](o,m);b=k+11|0;if((a[b>>0]|0)<0){b=c[k>>2]|0;a[n>>0]=0;qf(b,n);c[k+4>>2]=0;b=k}else{a[n>>0]=0;qf(k,n);a[b>>0]=0;b=k}rM(k,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}nM(o);e=m}else{Sb[c[(c[m>>2]|0)+40>>2]&63](n,m);b=c[n>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[m>>2]|0)+28>>2]&63](o,m);b=k+11|0;if((a[b>>0]|0)<0){b=c[k>>2]|0;a[n>>0]=0;qf(b,n);c[k+4>>2]=0;b=k}else{a[n>>0]=0;qf(k,n);a[b>>0]=0;b=k}rM(k,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}nM(o);e=m}a[g>>0]=Eb[c[(c[m>>2]|0)+12>>2]&127](m)|0;a[h>>0]=Eb[c[(c[m>>2]|0)+16>>2]&127](m)|0;Sb[c[(c[e>>2]|0)+20>>2]&63](o,m);b=i+11|0;if((a[b>>0]|0)<0){b=c[i>>2]|0;a[n>>0]=0;qf(b,n);c[i+4>>2]=0;b=i}else{a[n>>0]=0;qf(i,n);a[b>>0]=0;b=i}rM(i,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}nM(o);Sb[c[(c[e>>2]|0)+24>>2]&63](o,m);b=j+11|0;if((a[b>>0]|0)<0){b=c[j>>2]|0;a[n>>0]=0;qf(b,n);c[j+4>>2]=0;b=j}else{a[n>>0]=0;qf(j,n);a[b>>0]=0;b=j}rM(j,0);c[b>>2]=c[o>>2];c[b+4>>2]=c[o+4>>2];c[b+8>>2]=c[o+8>>2];b=0;while(1){if((b|0)==3)break;c[o+(b<<2)>>2]=0;b=b+1|0}nM(o);b=Eb[c[(c[m>>2]|0)+36>>2]&127](m)|0}c[l>>2]=b;yb=p;return}function DI(d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;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;c[f>>2]=d;y=q+11|0;G=q+4|0;z=p+11|0;A=p+4|0;B=(g&512|0)==0;C=j+8|0;D=(r|0)>0;E=o+11|0;F=o+4|0;x=0;while(1){if((x|0)==4)break;a:do switch(a[l+x>>0]|0){case 0:{c[e>>2]=c[f>>2];break}case 1:{c[e>>2]=c[f>>2];v=Gb[c[(c[j>>2]|0)+28>>2]&63](j,32)|0;w=c[f>>2]|0;c[f>>2]=w+1;a[w>>0]=v;break}case 3:{w=a[y>>0]|0;s=w<<24>>24<0;if((s?c[G>>2]|0:w&255)|0){v=a[(s?c[q>>2]|0:q)>>0]|0;w=c[f>>2]|0;c[f>>2]=w+1;a[w>>0]=v}break}case 2:{t=a[z>>0]|0;s=t<<24>>24<0;t=s?c[A>>2]|0:t&255;if(!(B|(t|0)==0)){w=s?c[p>>2]|0:p;u=w+t|0;s=c[f>>2]|0;t=w;while(1){if((t|0)==(u|0))break;a[s>>0]=a[t>>0]|0;s=s+1|0;t=t+1|0}c[f>>2]=s}break}case 4:{t=c[f>>2]|0;h=k?h+1|0:h;u=h;while(1){if(u>>>0>=i>>>0)break;s=a[u>>0]|0;if(s<<24>>24<=-1)break;if(!(b[(c[C>>2]|0)+(s<<24>>24<<1)>>1]&2048))break;u=u+1|0}if(D){v=r;while(1){s=(v|0)>0;if(!(u>>>0>h>>>0&s))break;w=u+-1|0;H=a[w>>0]|0;s=c[f>>2]|0;c[f>>2]=s+1;a[s>>0]=H;v=v+-1|0;u=w}if(s)w=Gb[c[(c[j>>2]|0)+28>>2]&63](j,48)|0;else w=0;s=v;while(1){v=c[f>>2]|0;c[f>>2]=v+1;if((s|0)<=0)break;a[v>>0]=w;s=s+-1|0}a[v>>0]=m}b:do if((u|0)==(h|0)){w=Gb[c[(c[j>>2]|0)+28>>2]&63](j,48)|0;H=c[f>>2]|0;c[f>>2]=H+1;a[H>>0]=w}else{H=a[E>>0]|0;s=H<<24>>24<0;if(!((s?c[F>>2]|0:H&255)|0))s=-1;else s=a[(s?c[o>>2]|0:o)>>0]|0;v=0;w=0;while(1){if((u|0)==(h|0))break b;if((w|0)==(s|0)){H=c[f>>2]|0;c[f>>2]=H+1;a[H>>0]=n;v=v+1|0;H=a[E>>0]|0;s=H<<24>>24<0;if(v>>>0<(s?c[F>>2]|0:H&255)>>>0){s=a[(s?c[o>>2]|0:o)+v>>0]|0;s=s<<24>>24==127?-1:s<<24>>24;w=0}else{s=w;w=0}}H=u+-1|0;J=a[H>>0]|0;I=c[f>>2]|0;c[f>>2]=I+1;a[I>>0]=J;w=w+1|0;u=H}}while(0);s=c[f>>2]|0;if((t|0)!=(s|0))while(1){s=s+-1|0;if(t>>>0>=s>>>0)break a;J=a[t>>0]|0;a[t>>0]=a[s>>0]|0;a[s>>0]=J;t=t+1|0}break}default:{}}while(0);x=x+1|0}h=a[y>>0]|0;s=h<<24>>24<0;h=s?c[G>>2]|0:h&255;if(h>>>0>1){J=s?c[q>>2]|0:q;t=J+h|0;s=c[f>>2]|0;h=J;while(1){h=h+1|0;if((h|0)==(t|0))break;a[s>>0]=a[h>>0]|0;s=s+1|0}c[f>>2]=s}switch((g&176)<<24>>24){case 32:{c[e>>2]=c[f>>2];break}case 16:break;default:c[e>>2]=d}return}function EI(a){a=a|0;BD(a);return}function FI(a){a=a|0;BD(a);cM(a);return}function GI(b,d,e,f,h,i){b=b|0;d=d|0;e=e|0;f=f|0;h=h|0;i=+i;var j=0,k=0,l=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;E=yb;yb=yb+992|0;q=E+912|0;k=E+904|0;b=E+800|0;l=E+984|0;j=E+400|0;D=E+980|0;r=E+988|0;s=E+976|0;t=E+972|0;A=E+960|0;B=E+948|0;C=E+936|0;o=E+932|0;p=E;u=E+928|0;v=E+920|0;w=E+924|0;c[l>>2]=b;g[q>>3]=i;b=Xy(b,100,48404,q)|0;if(b>>>0>99){b=ZD()|0;g[k>>3]=i;b=tF(l,b,48404,k)|0;j=c[l>>2]|0;if(!j)$L();k=iB(b<<2)|0;if(!k)$L();else{x=k;z=b;G=k;H=j}}else{x=j;z=b;G=0;H=0}HC(D,f);n=WD(D,56156)|0;m=c[l>>2]|0;Ib[c[(c[n>>2]|0)+48>>2]&15](n,m,m+z|0,x)|0;if(!z)m=0;else m=(a[c[l>>2]>>0]|0)==45;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[B+(b<<2)>>2]=0;b=b+1|0}c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[C+(b<<2)>>2]=0;b=b+1|0}II(e,m,D,r,s,t,A,B,C,o);l=c[o>>2]|0;if((z|0)>(l|0)){k=a[C+8+3>>0]|0;b=a[B+8+3>>0]|0;b=b<<24>>24<0?c[B+4>>2]|0:b&255;j=l+1+(z-l<<1)|0;k=k<<24>>24<0?c[C+4>>2]|0:k&255}else{k=a[C+8+3>>0]|0;b=a[B+8+3>>0]|0;b=b<<24>>24<0?c[B+4>>2]|0:b&255;j=l+2|0;k=k<<24>>24<0?c[C+4>>2]|0:k&255}b=j+k+b|0;if(b>>>0>100){b=iB(b<<2)|0;if(!b)$L();else{y=b;F=b}}else{y=p;F=0}JI(y,u,v,c[f+4>>2]|0,x,x+(z<<2)|0,n,m,r,c[s>>2]|0,c[t>>2]|0,A,B,C,l);c[w>>2]=c[d>>2];d=c[u>>2]|0;b=c[v>>2]|0;c[q>>2]=c[w>>2];b=HF(q,y,d,b,f,h)|0;if(F|0)jB(F);BM(C);BM(B);nM(A);XD(D);if(G|0)jB(G);if(H|0)jB(H);yb=E;return b|0}function HI(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,l=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;C=yb;yb=yb+480|0;p=C+464|0;B=C+460|0;u=C+468|0;v=C+456|0;w=C+452|0;y=C+440|0;z=C+428|0;A=C+416|0;l=C+412|0;n=C;q=C+408|0;r=C+404|0;s=C+400|0;HC(B,f);t=WD(B,56156)|0;i=h+8+3|0;o=a[i>>0]|0;b=o<<24>>24<0;j=h+4|0;if(!((b?c[j>>2]|0:o&255)|0))o=0;else{o=c[(b?c[h>>2]|0:h)>>2]|0;o=(o|0)==(Gb[c[(c[t>>2]|0)+44>>2]&63](t,45)|0)};c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[y+(b<<2)>>2]=0;b=b+1|0}c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[z+(b<<2)>>2]=0;b=b+1|0}c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[A+(b<<2)>>2]=0;b=b+1|0}II(e,o,B,u,v,w,y,z,A,l);k=a[i>>0]|0;m=k<<24>>24<0;k=m?c[j>>2]|0:k&255;j=c[l>>2]|0;if((k|0)>(j|0)){e=a[A+8+3>>0]|0;b=a[z+8+3>>0]|0;b=b<<24>>24<0?c[z+4>>2]|0:b&255;i=j+1+(k-j<<1)|0;e=e<<24>>24<0?c[A+4>>2]|0:e&255}else{e=a[A+8+3>>0]|0;b=a[z+8+3>>0]|0;b=b<<24>>24<0?c[z+4>>2]|0:b&255;i=j+2|0;e=e<<24>>24<0?c[A+4>>2]|0:e&255}b=i+e+b|0;if(b>>>0>100){b=iB(b<<2)|0;if(!b)$L();else{x=b;D=b}}else{x=n;D=0}h=m?c[h>>2]|0:h;JI(x,q,r,c[f+4>>2]|0,h,h+(k<<2)|0,t,o,u,c[v>>2]|0,c[w>>2]|0,y,z,A,j);c[s>>2]=c[d>>2];h=c[q>>2]|0;b=c[r>>2]|0;c[p>>2]=c[s>>2];b=HF(p,x,h,b,f,g)|0;if(D|0)jB(D);BM(A);BM(z);nM(y);XD(B);yb=C;return b|0}function II(b,d,e,f,g,h,i,j,k,l){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0;o=yb;yb=yb+16|0;m=o+12|0;n=o;if(b){e=WD(e,56372)|0;if(d){Sb[c[(c[e>>2]|0)+44>>2]&63](m,e);b=c[m>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[e>>2]|0)+32>>2]&63](n,e);b=k+8+3|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;c[m>>2]=0;ID(f,m);c[k+4>>2]=0}else{c[m>>2]=0;ID(k,m);a[b>>0]=0}FM(k,0);c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[k+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}BM(n)}else{Sb[c[(c[e>>2]|0)+40>>2]&63](m,e);b=c[m>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[e>>2]|0)+28>>2]&63](n,e);b=k+8+3|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;c[m>>2]=0;ID(f,m);c[k+4>>2]=0}else{c[m>>2]=0;ID(k,m);a[b>>0]=0}FM(k,0);c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[k+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}BM(n)}c[g>>2]=Eb[c[(c[e>>2]|0)+12>>2]&127](e)|0;c[h>>2]=Eb[c[(c[e>>2]|0)+16>>2]&127](e)|0;Sb[c[(c[e>>2]|0)+20>>2]&63](n,e);b=i+11|0;if((a[b>>0]|0)<0){b=c[i>>2]|0;a[m>>0]=0;qf(b,m);c[i+4>>2]=0;b=i}else{a[m>>0]=0;qf(i,m);a[b>>0]=0;b=i}rM(i,0);c[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}nM(n);Sb[c[(c[e>>2]|0)+24>>2]&63](n,e);b=j+8+3|0;if((a[b>>0]|0)<0){i=c[j>>2]|0;c[m>>2]=0;ID(i,m);c[j+4>>2]=0}else{c[m>>2]=0;ID(j,m);a[b>>0]=0}FM(j,0);c[j>>2]=c[n>>2];c[j+4>>2]=c[n+4>>2];c[j+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}BM(n);b=Eb[c[(c[e>>2]|0)+36>>2]&127](e)|0}else{e=WD(e,56364)|0;if(d){Sb[c[(c[e>>2]|0)+44>>2]&63](m,e);b=c[m>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[e>>2]|0)+32>>2]&63](n,e);b=k+8+3|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;c[m>>2]=0;ID(f,m);c[k+4>>2]=0}else{c[m>>2]=0;ID(k,m);a[b>>0]=0}FM(k,0);c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[k+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}BM(n)}else{Sb[c[(c[e>>2]|0)+40>>2]&63](m,e);b=c[m>>2]|0;a[f>>0]=b;a[f+1>>0]=b>>8;a[f+2>>0]=b>>16;a[f+3>>0]=b>>24;Sb[c[(c[e>>2]|0)+28>>2]&63](n,e);b=k+8+3|0;if((a[b>>0]|0)<0){f=c[k>>2]|0;c[m>>2]=0;ID(f,m);c[k+4>>2]=0}else{c[m>>2]=0;ID(k,m);a[b>>0]=0}FM(k,0);c[k>>2]=c[n>>2];c[k+4>>2]=c[n+4>>2];c[k+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}BM(n)}c[g>>2]=Eb[c[(c[e>>2]|0)+12>>2]&127](e)|0;c[h>>2]=Eb[c[(c[e>>2]|0)+16>>2]&127](e)|0;Sb[c[(c[e>>2]|0)+20>>2]&63](n,e);b=i+11|0;if((a[b>>0]|0)<0){b=c[i>>2]|0;a[m>>0]=0;qf(b,m);c[i+4>>2]=0;b=i}else{a[m>>0]=0;qf(i,m);a[b>>0]=0;b=i}rM(i,0);c[b>>2]=c[n>>2];c[b+4>>2]=c[n+4>>2];c[b+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}nM(n);Sb[c[(c[e>>2]|0)+24>>2]&63](n,e);b=j+8+3|0;if((a[b>>0]|0)<0){i=c[j>>2]|0;c[m>>2]=0;ID(i,m);c[j+4>>2]=0}else{c[m>>2]=0;ID(j,m);a[b>>0]=0}FM(j,0);c[j>>2]=c[n>>2];c[j+4>>2]=c[n+4>>2];c[j+8>>2]=c[n+8>>2];b=0;while(1){if((b|0)==3)break;c[n+(b<<2)>>2]=0;b=b+1|0}BM(n);b=Eb[c[(c[e>>2]|0)+36>>2]&127](e)|0}c[l>>2]=b;yb=o;return}function JI(b,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var 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;c[e>>2]=b;z=p+8+3|0;G=p+4|0;A=o+8+3|0;B=o+4|0;C=(f&512|0)==0;D=(q|0)>0;E=n+11|0;F=n+4|0;y=0;while(1){if((y|0)==4)break;a:do switch(a[k+y>>0]|0){case 0:{c[d>>2]=c[e>>2];break}case 1:{c[d>>2]=c[e>>2];w=Gb[c[(c[i>>2]|0)+44>>2]&63](i,32)|0;x=c[e>>2]|0;c[e>>2]=x+4;c[x>>2]=w;break}case 3:{x=a[z>>0]|0;r=x<<24>>24<0;if((r?c[G>>2]|0:x&255)|0){w=c[(r?c[p>>2]|0:p)>>2]|0;x=c[e>>2]|0;c[e>>2]=x+4;c[x>>2]=w}break}case 2:{v=a[A>>0]|0;r=v<<24>>24<0;v=r?c[B>>2]|0:v&255;if(!(C|(v|0)==0)){u=r?c[o>>2]|0:o;s=u+(v<<2)|0;t=c[e>>2]|0;r=t;while(1){if((u|0)==(s|0))break;c[r>>2]=c[u>>2];r=r+4|0;u=u+4|0}c[e>>2]=t+(v<<2)}break}case 4:{s=c[e>>2]|0;g=j?g+4|0:g;r=g;while(1){if(r>>>0>=h>>>0)break;if(!(Hb[c[(c[i>>2]|0)+12>>2]&63](i,2048,c[r>>2]|0)|0))break;r=r+4|0}if(D){u=q;while(1){t=(u|0)>0;if(!(r>>>0>g>>>0&t))break;x=r+-4|0;v=c[x>>2]|0;w=c[e>>2]|0;c[e>>2]=w+4;c[w>>2]=v;u=u+-1|0;r=x}if(t)w=Gb[c[(c[i>>2]|0)+44>>2]&63](i,48)|0;else w=0;v=c[e>>2]|0;while(1){t=v+4|0;if((u|0)<=0)break;c[v>>2]=w;u=u+-1|0;v=t}c[e>>2]=t;c[v>>2]=l;t=r}else t=r;if((t|0)==(g|0)){w=Gb[c[(c[i>>2]|0)+44>>2]&63](i,48)|0;x=c[e>>2]|0;r=x+4|0;c[e>>2]=r;c[x>>2]=w}else{x=a[E>>0]|0;r=x<<24>>24<0;if(!((r?c[F>>2]|0:x&255)|0))r=-1;else r=a[(r?c[n>>2]|0:n)>>0]|0;u=0;v=0;x=t;while(1){if((x|0)==(g|0))break;t=c[e>>2]|0;if((v|0)==(r|0)){w=t+4|0;c[e>>2]=w;c[t>>2]=m;t=u+1|0;u=a[E>>0]|0;r=u<<24>>24<0;if(t>>>0<(r?c[F>>2]|0:u&255)>>>0){r=a[(r?c[n>>2]|0:n)+t>>0]|0;r=r<<24>>24==127?-1:r<<24>>24;u=t;v=0;t=w}else{r=v;u=t;v=0;t=w}}w=x+-4|0;H=c[w>>2]|0;c[e>>2]=t+4;c[t>>2]=H;v=v+1|0;x=w}r=c[e>>2]|0}if((s|0)!=(r|0))while(1){r=r+-4|0;if(s>>>0>=r>>>0)break a;H=c[s>>2]|0;c[s>>2]=c[r>>2];c[r>>2]=H;s=s+4|0}break}default:{}}while(0);y=y+1|0}r=a[z>>0]|0;g=r<<24>>24<0;r=g?c[G>>2]|0:r&255;if(r>>>0>1){s=c[p>>2]|0;u=g?s+4|0:G;r=(g?s:p)+(r<<2)|0;s=c[e>>2]|0;t=r-u|0;g=s;while(1){if((u|0)==(r|0))break;c[g>>2]=c[u>>2];g=g+4|0;u=u+4|0}c[e>>2]=s+(t>>>2<<2)}switch((f&176)<<24>>24){case 32:{c[d>>2]=c[e>>2];break}case 16:break;default:c[d>>2]=b}return}function KI(a){a=a|0;BD(a);return}function LI(a){a=a|0;BD(a);cM(a);return}function MI(b,d,e){b=b|0;d=d|0;e=e|0;e=EA((a[d+11>>0]|0)<0?c[d>>2]|0:d,1)|0;return e>>>((e|0)!=(-1|0)&1)|0}function NI(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,l=0;j=yb;yb=yb+16|0;i=j;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[i+(d<<2)>>2]=0;d=d+1|0}k=a[h+11>>0]|0;l=k<<24>>24<0;d=l?c[h>>2]|0:h;h=d+(l?c[h+4>>2]|0:k&255)|0;while(1){if(d>>>0>=h>>>0)break;xM(i,a[d>>0]|0);d=d+1|0}d=(a[i+11>>0]|0)<0?c[i>>2]|0:i;e=DA((e|0)==-1?-1:e<<1,f,g,d)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;h=0;while(1){if((h|0)==3)break;c[b+(h<<2)>>2]=0;h=h+1|0}h=d+(Ey(e)|0)|0;while(1){if(d>>>0>=h>>>0)break;xM(b,a[d>>0]|0);d=d+1|0}nM(i);yb=j;return}function OI(a,b){a=a|0;b=b|0;return}function PI(a){a=a|0;BD(a);return}function QI(a){a=a|0;BD(a);cM(a);return}function RI(b,d,e){b=b|0;d=d|0;e=e|0;e=EA((a[d+11>>0]|0)<0?c[d>>2]|0:d,1)|0;return e>>>((e|0)!=(-1|0)&1)|0}function SI(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=yb;yb=yb+176|0;p=t+168|0;q=t;r=t+164|0;s=t+160|0;n=t+128|0;l=t+152|0;o=t+144|0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[n+(d<<2)>>2]=0;d=d+1|0}c[l+4>>2]=0;c[l>>2]=16692;j=a[h+8+3>>0]|0;k=j<<24>>24<0;d=k?c[h>>2]|0:h;j=d+((k?c[h+4>>2]|0:j&255)<<2)|0;k=q+32|0;h=d;d=0;while(1){if(!((d|0)!=2&h>>>0>>0))break;c[s>>2]=h;i=Ob[c[(c[l>>2]|0)+12>>2]&15](l,p,h,j,s,q,k,r)|0;if((i|0)==2?1:(c[s>>2]|0)==(h|0)){m=8;break}d=q;while(1){if(d>>>0>=(c[r>>2]|0)>>>0)break;xM(n,a[d>>0]|0);d=d+1|0}h=c[s>>2]|0;d=i}if((m|0)==8)mH(0);BD(l);i=(a[n+11>>0]|0)<0?c[n>>2]|0:n;h=DA((e|0)==-1?-1:e<<1,f,g,i)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;d=0;while(1){if((d|0)==3)break;c[b+(d<<2)>>2]=0;d=d+1|0}c[o+4>>2]=0;c[o>>2]=16740;j=i+(Ey(h)|0)|0;k=j;l=q+128|0;h=i;d=0;while(1){if(!((d|0)!=2&h>>>0>>0)){m=23;break}c[s>>2]=h;i=Ob[c[(c[o>>2]|0)+16>>2]&15](o,p,h,(k-h|0)>32?h+32|0:j,s,q,l,r)|0;if((i|0)==2?1:(c[s>>2]|0)==(h|0)){m=19;break}d=q;while(1){if(d>>>0>=(c[r>>2]|0)>>>0)break;JM(b,c[d>>2]|0);d=d+4|0}h=c[s>>2]|0;d=i}if((m|0)==19)mH(0);else if((m|0)==23){BD(o);nM(n);yb=t;return}}function TI(a,b){a=a|0;b=b|0;return}function UI(a){a=a|0;BD(a);cM(a);return}function VI(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;b=yb;yb=yb+16|0;j=b+4|0;a=b;c[j>>2]=d;c[a>>2]=g;h=cJ(d,e,j,g,h,a,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[a>>2];yb=b;return h|0}function WI(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;b=yb;yb=yb+16|0;j=b+4|0;a=b;c[j>>2]=d;c[a>>2]=g;h=bJ(d,e,j,g,h,a,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[a>>2];yb=b;return h|0}function XI(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function YI(a){a=a|0;return 0}function ZI(a){a=a|0;return 0}function _I(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return aJ(c,d,e,1114111,0)|0}function $I(a){a=a|0;return 4}function aJ(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=c;if((((g&4|0)!=0?(o-b|0)>2:0)?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)g=(a[b+2>>0]|0)==-65?b+3|0:b;else g=b;n=0;a:while(1){if(!(n>>>0>>0&g>>>0>>0))break;k=a[g>>0]|0;m=k&255;do if(k<<24>>24<=-1){if((k&255)<194)break a;if((k&255)<224){if((o-g|0)<2)break a;h=d[g+1>>0]|0;if((h&192|0)!=128)break a;if((h&63|m<<6&1984)>>>0>f>>>0)break a;g=g+2|0;break}if((k&255)<240){if((o-g|0)<3)break a;i=a[g+1>>0]|0;h=a[g+2>>0]|0;switch(k<<24>>24){case -32:{if((i&-32)<<24>>24!=-96)break a;break}case -19:{if((i&-32)<<24>>24!=-128)break a;break}default:if((i&-64)<<24>>24!=-128)break a}h=h&255;if((h&192|0)!=128)break a;if(((i&63)<<6|m<<12&61440|h&63)>>>0>f>>>0)break a;else{g=g+3|0;break}}if((k&255)>=245)break a;if((o-g|0)<4)break a;l=a[g+1>>0]|0;h=a[g+2>>0]|0;j=a[g+3>>0]|0;switch(k<<24>>24){case -16:{if((l+112&255)>=48)break a;break}case -12:{if((l&-16)<<24>>24!=-128)break a;break}default:if((l&-64)<<24>>24!=-128)break a}i=h&255;if((i&192|0)!=128)break a;h=j&255;if((h&192|0)!=128)break a;if(((l&63)<<12|m<<18&1835008|i<<6&4032|h&63)>>>0>f>>>0)break a;else g=g+4|0}else{if(m>>>0>f>>>0)break a;g=g+1|0}while(0);n=n+1|0}return g-b|0}function bJ(b,e,f,g,h,i,j,k){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0;c[f>>2]=b;c[i>>2]=g;if(k&4){b=c[f>>2]|0;g=e;if((((g-b|0)>2?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)?(a[b+2>>0]|0)==-65:0)c[f>>2]=b+3}else g=e;a:while(1){p=c[f>>2]|0;if(p>>>0>=e>>>0){b=0;break}q=c[i>>2]|0;if(q>>>0>=h>>>0){b=1;break}n=a[p>>0]|0;b=n&255;do if(n<<24>>24>-1)if(b>>>0>j>>>0){b=2;break a}else k=1;else{if((n&255)<194){b=2;break a}if((n&255)<224){if((g-p|0)<2){b=1;break a}k=d[p+1>>0]|0;if((k&192|0)!=128){b=2;break a}b=k&63|b<<6&1984;if(b>>>0>j>>>0){b=2;break a}else{k=2;break}}if((n&255)<240){if((g-p|0)<3){b=1;break a}l=a[p+1>>0]|0;k=a[p+2>>0]|0;switch(n<<24>>24){case -32:{if((l&-32)<<24>>24!=-96){b=2;break a}break}case -19:{if((l&-32)<<24>>24!=-128){b=2;break a}break}default:if((l&-64)<<24>>24!=-128){b=2;break a}}k=k&255;if((k&192|0)!=128){b=2;break a}b=(l&63)<<6|b<<12&61440|k&63;if(b>>>0>j>>>0){b=2;break a}else{k=3;break}}if((n&255)>=245){b=2;break a}if((g-p|0)<4){b=1;break a}o=a[p+1>>0]|0;k=a[p+2>>0]|0;m=a[p+3>>0]|0;switch(n<<24>>24){case -16:{if((o+112&255)>=48){b=2;break a}break}case -12:{if((o&-16)<<24>>24!=-128){b=2;break a}break}default:if((o&-64)<<24>>24!=-128){b=2;break a}}l=k&255;if((l&192|0)!=128){b=2;break a}k=m&255;if((k&192|0)!=128){b=2;break a}b=(o&63)<<12|b<<18&1835008|l<<6&4032|k&63;if(b>>>0>j>>>0){b=2;break a}else k=4}while(0);c[q>>2]=b;c[f>>2]=p+k;c[i>>2]=(c[i>>2]|0)+4}return b|0}function cJ(b,d,e,f,g,h,i,j){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,l=0;c[e>>2]=b;c[h>>2]=f;l=g;if(j&2)if((l-f|0)<3)b=1;else{c[h>>2]=f+1;a[f>>0]=-17;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-69;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=-65;k=4}else k=4;a:do if((k|0)==4){b=c[e>>2]|0;while(1){if(b>>>0>=d>>>0){b=0;break a}f=c[b>>2]|0;if(f>>>0>i>>>0|(f&-2048|0)==55296){b=2;break a}do if(f>>>0>=128){if(f>>>0<2048){b=c[h>>2]|0;if((l-b|0)<2){b=1;break a}c[h>>2]=b+1;a[b>>0]=f>>>6|192;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=f&63|128;break}b=c[h>>2]|0;g=l-b|0;if(f>>>0<65536){if((g|0)<3){b=1;break a}c[h>>2]=b+1;a[b>>0]=f>>>12|224;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=f>>>6&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=f&63|128;break}else{if((g|0)<4){b=1;break a}c[h>>2]=b+1;a[b>>0]=f>>>18|240;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=f>>>12&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=f>>>6&63|128;k=c[h>>2]|0;c[h>>2]=k+1;a[k>>0]=f&63|128;break}}else{b=c[h>>2]|0;if((l-b|0)<1){b=1;break a}c[h>>2]=b+1;a[b>>0]=f}while(0);b=(c[e>>2]|0)+4|0;c[e>>2]=b}}while(0);return b|0}function dJ(a){a=a|0;BD(a);cM(a);return}function eJ(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;c[f>>2]=d;c[i>>2]=g;return 3}function fJ(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;c[f>>2]=d;c[i>>2]=g;return 3}function gJ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function hJ(a){a=a|0;return 1}function iJ(a){a=a|0;return 1}function jJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=d-c|0;return (d>>>0>>0?d:e)|0}function kJ(a){a=a|0;return 1}function lJ(b,d,e,f,g,h,i,j){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,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=yb;yb=yb+16|0;p=q;n=q+8|0;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(c[k>>2]|0))break;k=k+4|0}c[j>>2]=h;c[g>>2]=e;m=i;o=b+8|0;a:while(1){if((h|0)==(i|0)|(e|0)==(f|0)){k=36;break}r=d;l=c[r+4>>2]|0;b=p;c[b>>2]=c[r>>2];c[b+4>>2]=l;b=HA(c[o>>2]|0)|0;l=mA(h,g,k-e>>2,m-h|0,d)|0;if(b|0)HA(b)|0;switch(l|0){case -1:{k=10;break a}case 0:{e=1;k=33;break a}default:{}}h=(c[j>>2]|0)+l|0;c[j>>2]=h;if((h|0)==(i|0)){k=34;break}if((k|0)==(f|0)){k=f;e=c[g>>2]|0}else{h=HA(c[o>>2]|0)|0;e=nz(n,0,d)|0;if(h|0)HA(h)|0;if((e|0)==-1){e=2;k=32;break}if(e>>>0>(m-(c[j>>2]|0)|0)>>>0){e=1;k=32;break}h=n;while(1){if(!e)break;l=a[h>>0]|0;r=c[j>>2]|0;c[j>>2]=r+1;a[r>>0]=l;h=h+1|0;e=e+-1|0}e=(c[g>>2]|0)+4|0;c[g>>2]=e;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(c[k>>2]|0))break;k=k+4|0}h=c[j>>2]|0}}if((k|0)==10){c[j>>2]=h;while(1){if((e|0)==(c[g>>2]|0))break;r=c[e>>2]|0;k=HA(c[o>>2]|0)|0;h=nz(h,r,p)|0;if(k|0)HA(k)|0;if((h|0)==-1)break;h=(c[j>>2]|0)+h|0;c[j>>2]=h;e=e+4|0}c[g>>2]=e;e=2;k=33}else if((k|0)==32)k=33;else if((k|0)==34){e=c[g>>2]|0;k=36}if((k|0)!=33)if((k|0)==36)e=(e|0)!=(f|0)&1;yb=q;return e|0}function mJ(b,d,e,f,g,h,i,j){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,l=0,m=0,n=0,o=0,p=0,q=0;p=yb;yb=yb+16|0;o=p;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(a[k>>0]|0))break;k=k+1|0}c[j>>2]=h;c[g>>2]=e;m=i;n=b+8|0;while(1){if((h|0)==(i|0)|(e|0)==(f|0)){b=33;break}q=d;l=c[q+4>>2]|0;b=o;c[b>>2]=c[q>>2];c[b+4>>2]=l;b=HA(c[n>>2]|0)|0;l=pA(h,g,k-e|0,m-h>>2,d)|0;if(b|0)HA(b)|0;if((l|0)==-1){b=10;break}h=(c[j>>2]|0)+(l<<2)|0;c[j>>2]=h;if((h|0)==(i|0)){b=30;break}e=c[g>>2]|0;if((k|0)==(f|0))k=f;else{k=HA(c[n>>2]|0)|0;e=dA(h,e,1,d)|0;if(k|0)HA(k)|0;if(e|0){e=2;b=29;break}c[j>>2]=(c[j>>2]|0)+4;e=(c[g>>2]|0)+1|0;c[g>>2]=e;k=e;while(1){if((k|0)==(f|0)){k=f;break}if(!(a[k>>0]|0))break;k=k+1|0}h=c[j>>2]|0}}do if((b|0)==10){a:while(1){c[j>>2]=h;if((e|0)==(c[g>>2]|0)){b=19;break}b=HA(c[n>>2]|0)|0;h=dA(h,e,k-e|0,o)|0;if(b|0)HA(b)|0;switch(h|0){case -1:{b=15;break a}case -2:{b=16;break a}case 0:{h=1;break}default:{}}e=e+h|0;h=(c[j>>2]|0)+4|0}if((b|0)==15){c[g>>2]=e;e=2;b=29;break}else if((b|0)==16){c[g>>2]=e;e=1;b=29;break}else if((b|0)==19){c[g>>2]=e;e=(e|0)!=(f|0)&1;b=29;break}}else if((b|0)==30){e=c[g>>2]|0;b=33}while(0);if((b|0)!=29)if((b|0)==33)e=(e|0)!=(f|0)&1;yb=p;return e|0}function nJ(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;i=yb;yb=yb+16|0;h=i;c[g>>2]=e;e=HA(c[b+8>>2]|0)|0;b=nz(h,0,d)|0;if(e|0)HA(e)|0;a:do if((b+1|0)>>>0>=2){b=b+-1|0;if(b>>>0>(f-(c[g>>2]|0)|0)>>>0)b=1;else while(1){if(!b){b=0;break a}d=a[h>>0]|0;f=c[g>>2]|0;c[g>>2]=f+1;a[f>>0]=d;h=h+1|0;b=b+-1|0}}else b=2;while(0);yb=i;return b|0}function oJ(a){a=a|0;var b=0,d=0;a=a+8|0;b=HA(c[a>>2]|0)|0;d=Ty(0,0,4)|0;if(b|0)HA(b)|0;if(!d){a=c[a>>2]|0;if(!a)a=1;else{b=HA(a)|0;a=gB()|0;if(b|0)HA(b)|0;return (a|0)==1|0}}else a=-1;return a|0}function pJ(a){a=a|0;return 0}function qJ(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;k=e;j=a+8|0;h=0;i=0;a:while(1){if((d|0)==(e|0)|h>>>0>=f>>>0)break;g=HA(c[j>>2]|0)|0;a=qA(d,k-d|0,b)|0;if(g|0)HA(g)|0;switch(a|0){case -2:case -1:break a;case 0:{a=1;break}default:{}}h=h+1|0;i=a+i|0;d=d+a|0}return i|0}function rJ(a){a=a|0;var b=0;a=c[a+8>>2]|0;if(a){b=HA(a)|0;a=gB()|0;if(b)HA(b)|0}else a=1;return a|0}function sJ(a){a=a|0;var b=0,d=0;c[a>>2]=16788;b=a+8|0;d=c[b>>2]|0;if((d|0)!=(ZD()|0))KA(c[b>>2]|0);BD(a);return}function tJ(a){a=a|0;sJ(a);cM(a);return}function uJ(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;b=yb;yb=yb+16|0;j=b+4|0;a=b;c[j>>2]=d;c[a>>2]=g;h=DJ(d,e,j,g,h,a,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[a>>2];yb=b;return h|0}function vJ(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;b=yb;yb=yb+16|0;j=b+4|0;a=b;c[j>>2]=d;c[a>>2]=g;h=CJ(d,e,j,g,h,a,1114111,0)|0;c[f>>2]=c[j>>2];c[i>>2]=c[a>>2];yb=b;return h|0}function wJ(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=d;return 3}function xJ(a){a=a|0;return 0}function yJ(a){a=a|0;return 0}function zJ(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return BJ(c,d,e,1114111,0)|0}function AJ(a){a=a|0;return 4}function BJ(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=c;if((((g&4|0)!=0?(o-b|0)>2:0)?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0)g=(a[b+2>>0]|0)==-65?b+3|0:b;else g=b;h=0;a:while(1){if(!(h>>>0>>0&g>>>0>>0))break;l=a[g>>0]|0;n=l&255;if(n>>>0>f>>>0)break;do if(l<<24>>24<=-1){if((l&255)<194)break a;if((l&255)<224){if((o-g|0)<2)break a;i=d[g+1>>0]|0;if((i&192|0)!=128)break a;if((i&63|n<<6&1984)>>>0>f>>>0)break a;else{g=g+2|0;break}}if((l&255)<240){if((o-g|0)<3)break a;j=a[g+1>>0]|0;i=a[g+2>>0]|0;switch(l<<24>>24){case -32:{if((j&-32)<<24>>24!=-96)break a;break}case -19:{if((j&-32)<<24>>24!=-128)break a;break}default:if((j&-64)<<24>>24!=-128)break a}i=i&255;if((i&192|0)!=128)break a;if(((j&63)<<6|n<<12&61440|i&63)>>>0>f>>>0)break a;else{g=g+3|0;break}}if((l&255)>=245)break a;if((e-h|0)>>>0<2|(o-g|0)<4)break a;m=a[g+1>>0]|0;i=a[g+2>>0]|0;k=a[g+3>>0]|0;switch(l<<24>>24){case -16:{if((m+112&255)>=48)break a;break}case -12:{if((m&-16)<<24>>24!=-128)break a;break}default:if((m&-64)<<24>>24!=-128)break a}j=i&255;if((j&192|0)!=128)break a;i=k&255;if((i&192|0)!=128)break a;if(((m&63)<<12|n<<18&1835008|j<<6&4032|i&63)>>>0>f>>>0)break a;else{h=h+1|0;g=g+4|0}}else g=g+1|0;while(0);h=h+1|0}return g-b|0}function CJ(e,f,g,h,i,j,k,l){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;c[g>>2]=e;c[j>>2]=h;if(l&4){e=c[g>>2]|0;h=f;if((((h-e|0)>2?(a[e>>0]|0)==-17:0)?(a[e+1>>0]|0)==-69:0)?(a[e+2>>0]|0)==-65:0)c[g>>2]=e+3}else h=f;s=i;a:while(1){n=c[g>>2]|0;if(n>>>0>=f>>>0){e=0;break}r=c[j>>2]|0;if(r>>>0>=i>>>0){e=1;break}m=a[n>>0]|0;q=m&255;if(q>>>0>k>>>0){e=2;break}do if(m<<24>>24>-1){b[r>>1]=m&255;e=n+1|0}else{if((m&255)<194){e=2;break a}if((m&255)<224){if((h-n|0)<2){e=1;break a}e=d[n+1>>0]|0;if((e&192|0)!=128){e=2;break a}e=e&63|q<<6&1984;if(e>>>0>k>>>0){e=2;break a}b[r>>1]=e;e=n+2|0;break}if((m&255)<240){if((h-n|0)<3){e=1;break a}l=a[n+1>>0]|0;e=a[n+2>>0]|0;switch(m<<24>>24){case -32:{if((l&-32)<<24>>24!=-96){e=2;break a}break}case -19:{if((l&-32)<<24>>24!=-128){e=2;break a}break}default:if((l&-64)<<24>>24!=-128){e=2;break a}}e=e&255;if((e&192|0)!=128){e=2;break a}e=(l&63)<<6|q<<12|e&63;if((e&65535)>>>0>k>>>0){e=2;break a}b[r>>1]=e;e=n+3|0;break}if((m&255)>=245){e=2;break a}if((h-n|0)<4){e=1;break a}o=a[n+1>>0]|0;e=a[n+2>>0]|0;l=a[n+3>>0]|0;switch(m<<24>>24){case -16:{if((o+112&255)>=48){e=2;break a}break}case -12:{if((o&-16)<<24>>24!=-128){e=2;break a}break}default:if((o&-64)<<24>>24!=-128){e=2;break a}}p=e&255;if((p&192|0)!=128){e=2;break a}e=l&255;if((e&192|0)!=128){e=2;break a}if((s-r|0)<4){e=1;break a}n=q&7;l=o&255;m=p<<6;e=e&63;if((l<<12&258048|n<<18|m&4032|e)>>>0>k>>>0){e=2;break a}b[r>>1]=l<<2&60|p>>>4&3|((l>>>4&3|n<<2)<<6)+16320|55296;r=r+2|0;c[j>>2]=r;b[r>>1]=e|m&960|56320;e=(c[g>>2]|0)+4|0}while(0);c[g>>2]=e;c[j>>2]=(c[j>>2]|0)+2}return e|0}function DJ(d,f,g,h,i,j,k,l){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0;c[g>>2]=d;c[j>>2]=h;if(l&2)if((i-h|0)<3)d=1;else{c[j>>2]=h+1;a[h>>0]=-17;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-69;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=-65;m=4}else m=4;a:do if((m|0)==4){n=f;d=c[g>>2]|0;while(1){if(d>>>0>=f>>>0){d=0;break a}h=b[d>>1]|0;m=h&65535;if(m>>>0>k>>>0){d=2;break a}do if((h&65535)<128){d=c[j>>2]|0;if((i-d|0)<1){d=1;break a}c[j>>2]=d+1;a[d>>0]=h}else{if((h&65535)<2048){d=c[j>>2]|0;if((i-d|0)<2){d=1;break a}c[j>>2]=d+1;a[d>>0]=m>>>6|192;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m&63|128;break}if((h&65535)<55296){d=c[j>>2]|0;if((i-d|0)<3){d=1;break a}c[j>>2]=d+1;a[d>>0]=m>>>12|224;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m>>>6&63|128;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m&63|128;break}if((h&65535)>=56320){if((h&65535)<57344){d=2;break a}d=c[j>>2]|0;if((i-d|0)<3){d=1;break a}c[j>>2]=d+1;a[d>>0]=m>>>12|224;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m>>>6&63|128;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m&63|128;break}if((n-d|0)<4){d=1;break a}d=d+2|0;h=e[d>>1]|0;if((h&64512|0)!=56320){d=2;break a}if((i-(c[j>>2]|0)|0)<4){d=1;break a}l=m&960;if(((l<<10)+65536|m<<10&64512|h&1023)>>>0>k>>>0){d=2;break a}c[g>>2]=d;d=(l>>>6)+1|0;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=d>>>2|240;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m>>>2&15|d<<4&48|128;l=c[j>>2]|0;c[j>>2]=l+1;a[l>>0]=m<<4&48|h>>>6&15|128;m=c[j>>2]|0;c[j>>2]=m+1;a[m>>0]=h&63|128}while(0);d=(c[g>>2]|0)+2|0;c[g>>2]=d}}while(0);return d|0}function EJ(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;c[a>>2]=16836;e=a+8|0;f=a+12|0;d=0;while(1){b=c[e>>2]|0;if(d>>>0>=(c[f>>2]|0)-b>>2>>>0)break;b=c[b+(d<<2)>>2]|0;if(b|0?(h=b+4|0,g=c[h>>2]|0,c[h>>2]=g+-1,(g|0)==0):0)Qb[c[(c[b>>2]|0)+8>>2]&255](b);d=d+1|0}nM(a+144|0);GJ(e);BD(a);return}function FJ(a){a=a|0;EJ(a);cM(a);return}function GJ(b){b=b|0;var d=0;d=c[b>>2]|0;do if(d|0){c[b+4>>2]=d;if((d|0)==(b+16|0)){a[b+128>>0]=0;break}else{cM(d);break}}while(0);return}function HJ(b){b=b|0;var d=0;c[b>>2]=16856;d=c[b+8>>2]|0;if(d|0?a[b+12>>0]|0:0)dM(d);BD(b);return}function IJ(a){a=a|0;HJ(a);cM(a);return}function JJ(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(SJ()|0)+((b&255)<<2)>>2]&255;return b|0}function KJ(b,d,e){b=b|0;d=d|0;e=e|0;while(1){if((d|0)==(e|0))break;b=a[d>>0]|0;if(b<<24>>24>-1){b=SJ()|0;b=c[b+(a[d>>0]<<2)>>2]&255}a[d>>0]=b;d=d+1|0}return e|0}function LJ(a,b){a=a|0;b=b|0;if(b<<24>>24>-1)b=c[(RJ()|0)+(b<<24>>24<<2)>>2]&255;return b|0}function MJ(b,d,e){b=b|0;d=d|0;e=e|0;while(1){if((d|0)==(e|0))break;b=a[d>>0]|0;if(b<<24>>24>-1){b=RJ()|0;b=c[b+(a[d>>0]<<2)>>2]&255}a[d>>0]=b;d=d+1|0}return e|0}function NJ(a,b){a=a|0;b=b|0;return b|0}function OJ(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;while(1){if((c|0)==(d|0))break;a[e>>0]=a[c>>0]|0;e=e+1|0;c=c+1|0}return d|0}function PJ(a,b,c){a=a|0;b=b|0;c=c|0;return (b<<24>>24>-1?b:c)|0}function QJ(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;while(1){if((c|0)==(d|0))break;b=a[c>>0]|0;a[f>>0]=b<<24>>24>-1?b:e;f=f+1|0;c=c+1|0}return d|0}function RJ(){return c[(fB()|0)>>2]|0}function SJ(){return c[(eB()|0)>>2]|0}function TJ(){return c[(dB()|0)>>2]|0}function UJ(a){a=a|0;c[a>>2]=16908;nM(a+12|0);BD(a);return}function VJ(a){a=a|0;UJ(a);cM(a);return}function WJ(b){b=b|0;return a[b+8>>0]|0}function XJ(b){b=b|0;return a[b+9>>0]|0}function YJ(a,b){a=a|0;b=b|0;jM(a,b+12|0);return}function ZJ(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;kM(a,48981,kf(48981)|0);return}function _J(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;kM(a,48975,kf(48975)|0);return}function $J(a){a=a|0;c[a>>2]=16948;nM(a+16|0);BD(a);return}function aK(a){a=a|0;$J(a);cM(a);return}function bK(a){a=a|0;return c[a+8>>2]|0}function cK(a){a=a|0;return c[a+12>>2]|0}function dK(a,b){a=a|0;b=b|0;jM(a,b+16|0);return}function eK(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;yM(a,17004,IG(17004)|0);return}function fK(a,b){a=a|0;b=b|0;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;yM(a,16980,IG(16980)|0);return}function gK(a){a=a|0;BD(a);cM(a);return}function hK(a){a=a|0;BD(a);cM(a);return}function iK(a,c,d){a=a|0;c=c|0;d=d|0;if(d>>>0<128)a=(b[(TJ()|0)+(d<<1)>>1]&c)<<16>>16!=0;else a=0;return a|0}function jK(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;while(1){if((d|0)==(f|0))break;if((c[d>>2]|0)>>>0<128){a=TJ()|0;a=e[a+(c[d>>2]<<1)>>1]|0}else a=0;b[g>>1]=a;g=g+2|0;d=d+4|0}return f|0}function kK(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;while(1){if((e|0)==(f|0)){e=f;break}if((c[e>>2]|0)>>>0<128?(a=TJ()|0,(b[a+(c[e>>2]<<1)>>1]&d)<<16>>16):0)break;e=e+4|0}return e|0}function lK(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;while(1){if((e|0)==(f|0)){e=f;break}if((c[e>>2]|0)>>>0>=128)break;a=TJ()|0;if(!((b[a+(c[e>>2]<<1)>>1]&d)<<16>>16))break;e=e+4|0}return e|0}function mK(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(SJ()|0)+(b<<2)>>2]|0;return b|0}function nK(a,b,d){a=a|0;b=b|0;d=d|0;while(1){if((b|0)==(d|0))break;a=c[b>>2]|0;if(a>>>0<128){a=SJ()|0;a=c[a+(c[b>>2]<<2)>>2]|0}c[b>>2]=a;b=b+4|0}return d|0}function oK(a,b){a=a|0;b=b|0;if(b>>>0<128)b=c[(RJ()|0)+(b<<2)>>2]|0;return b|0}function pK(a,b,d){a=a|0;b=b|0;d=d|0;while(1){if((b|0)==(d|0))break;a=c[b>>2]|0;if(a>>>0<128){a=RJ()|0;a=c[a+(c[b>>2]<<2)>>2]|0}c[b>>2]=a;b=b+4|0}return d|0}function qK(a,b){a=a|0;b=b|0;return b<<24>>24|0}function rK(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;while(1){if((d|0)==(e|0))break;c[f>>2]=a[d>>0];f=f+4|0;d=d+1|0}return e|0}function sK(a,b,c){a=a|0;b=b|0;c=c|0;return (b>>>0<128?b&255:c)|0}function tK(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;h=(e-d|0)>>>2;b=g;g=d;while(1){if((g|0)==(e|0))break;i=c[g>>2]|0;a[b>>0]=i>>>0<128?i&255:f;b=b+1|0;g=g+4|0}return d+(h<<2)|0}function uK(a){a=a|0;BD(a);cM(a);return}function vK(a){a=a|0;BD(a);cM(a);return}function wK(a){a=a|0;BD(a);cM(a);return}function xK(a){a=a|0;c[a>>2]=17264;return}function yK(a){a=a|0;c[a>>2]=17300;return}function zK(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;c[b+4>>2]=f+-1;c[b>>2]=16856;f=b+8|0;c[f>>2]=d;a[b+12>>0]=e&1;if(!d)c[f>>2]=TJ()|0;return}function AK(a,b){a=a|0;b=b|0;var d=0;c[a+4>>2]=b+-1;c[a>>2]=16836;b=a+8|0;BK(b,28);d=a+144|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;kM(d,46920,kf(46920)|0);c[a+12>>2]=c[b>>2];CK();DK(a,53872);EK();FK(a,53880);GK();HK(a,53888);IK();JK(a,53904);KK();LK(a,53912);MK();NK(a,53920);OK();PK(a,53936);QK();RK(a,53944);SK();TK(a,53952);UK();VK(a,53976);WK();XK(a,54008);YK();ZK(a,54016);_K();$K(a,54024);aL();bL(a,54032);cL();dL(a,54040);eL();fL(a,54048);gL();hL(a,54056);iL();jL(a,54064);kL();lL(a,54072);mL();nL(a,54080);oL();pL(a,54088);qL();rL(a,54096);sL();tL(a,54104);uL();vL(a,54120);wL();xL(a,54136);yL();zL(a,54152);AL();BL(a,54168);CL();DL(a,54176);return}function BK(b,d){b=b|0;d=d|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+128>>0]=0;if(d|0){QL(b,d);HL(b,d)}return}function CK(){c[13469]=0;c[13468]=14692;return}function DK(a,b){a=a|0;b=b|0;EL(a,b,$D(56108)|0);return}function EK(){c[13471]=0;c[13470]=14724;return}function FK(a,b){a=a|0;b=b|0;EL(a,b,$D(56116)|0);return}function GK(){zK(53888,0,0,1);return}function HK(a,b){a=a|0;b=b|0;EL(a,b,$D(56124)|0);return}function IK(){c[13477]=0;c[13476]=17052;return}function JK(a,b){a=a|0;b=b|0;EL(a,b,$D(56156)|0);return}function KK(){c[13479]=0;c[13478]=17120;return}function LK(a,b){a=a|0;b=b|0;EL(a,b,$D(56428)|0);return}function MK(){PL(53920,1);return}function NK(a,b){a=a|0;b=b|0;EL(a,b,$D(56436)|0);return}function OK(){c[13485]=0;c[13484]=17168;return}function PK(a,b){a=a|0;b=b|0;EL(a,b,$D(56444)|0);return}function QK(){c[13487]=0;c[13486]=17216;return}function RK(a,b){a=a|0;b=b|0;EL(a,b,$D(56452)|0);return}function SK(){OL(53952,1);return}function TK(a,b){a=a|0;b=b|0;EL(a,b,$D(56140)|0);return}function UK(){NL(53976,1);return}function VK(a,b){a=a|0;b=b|0;EL(a,b,$D(56164)|0);return}function WK(){c[13503]=0;c[13502]=14756;return}function XK(a,b){a=a|0;b=b|0;EL(a,b,$D(56148)|0);return}function YK(){c[13505]=0;c[13504]=14820;return}function ZK(a,b){a=a|0;b=b|0;EL(a,b,$D(56172)|0);return}function _K(){c[13507]=0;c[13506]=14884;return}function $K(a,b){a=a|0;b=b|0;EL(a,b,$D(56180)|0);return}function aL(){c[13509]=0;c[13508]=14936;return}function bL(a,b){a=a|0;b=b|0;EL(a,b,$D(56188)|0);return}function cL(){c[13511]=0;c[13510]=16292;return}function dL(a,b){a=a|0;b=b|0;EL(a,b,$D(56348)|0);return}function eL(){c[13513]=0;c[13512]=16348;return}function fL(a,b){a=a|0;b=b|0;EL(a,b,$D(56356)|0);return}function gL(){c[13515]=0;c[13514]=16404;return}function hL(a,b){a=a|0;b=b|0;EL(a,b,$D(56364)|0);return}function iL(){c[13517]=0;c[13516]=16460;return}function jL(a,b){a=a|0;b=b|0;EL(a,b,$D(56372)|0);return}function kL(){c[13519]=0;c[13518]=16516;return}function lL(a,b){a=a|0;b=b|0;EL(a,b,$D(56380)|0);return}function mL(){c[13521]=0;c[13520]=16544;return}function nL(a,b){a=a|0;b=b|0;EL(a,b,$D(56388)|0);return}function oL(){c[13523]=0;c[13522]=16572;return}function pL(a,b){a=a|0;b=b|0;EL(a,b,$D(56396)|0);return}function qL(){c[13525]=0;c[13524]=16600;return}function rL(a,b){a=a|0;b=b|0;EL(a,b,$D(56404)|0);return}function sL(){c[13527]=0;c[13526]=17032;xK(54112);c[13526]=14988;c[13528]=15036;return}function tL(a,b){a=a|0;b=b|0;EL(a,b,$D(56256)|0);return}function uL(){c[13531]=0;c[13530]=17032;yK(54128);c[13530]=15072;c[13532]=15120;return}function vL(a,b){a=a|0;b=b|0;EL(a,b,$D(56324)|0);return}function wL(){c[13535]=0;c[13534]=17032;c[13536]=ZD()|0;c[13534]=16244;return}function xL(a,b){a=a|0;b=b|0;EL(a,b,$D(56332)|0);return}function yL(){c[13539]=0;c[13538]=17032;c[13540]=ZD()|0;c[13538]=16268;return}function zL(a,b){a=a|0;b=b|0;EL(a,b,$D(56340)|0);return}function AL(){c[13543]=0;c[13542]=16628;return}function BL(a,b){a=a|0;b=b|0;EL(a,b,$D(56412)|0);return}function CL(){c[13545]=0;c[13544]=16660;return}function DL(a,b){a=a|0;b=b|0;EL(a,b,$D(56420)|0);return}function EL(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=b+4|0;c[f>>2]=(c[f>>2]|0)+1;f=a+8|0;e=c[f>>2]|0;if((c[a+12>>2]|0)-e>>2>>>0>d>>>0)a=f;else{FL(f,d+1|0);a=f;e=c[f>>2]|0}e=c[e+(d<<2)>>2]|0;if(e|0?(g=e+4|0,f=c[g>>2]|0,c[g>>2]=f+-1,(f|0)==0):0)Qb[c[(c[e>>2]|0)+8>>2]&255](e);c[(c[a>>2]|0)+(d<<2)>>2]=b;return}function FL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=a+4|0;f=c[a>>2]|0;e=(c[d>>2]|0)-f>>2;if(e>>>0>=b>>>0){if(e>>>0>b>>>0)c[d>>2]=f+(b<<2)}else GL(a,b-e|0);return}function GL(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;i=yb;yb=yb+32|0;f=i;g=a+8|0;h=a+4|0;d=c[h>>2]|0;do if((c[g>>2]|0)-d>>2>>>0>>0){d=(d-(c[a>>2]|0)>>2)+b|0;e=IL(a)|0;if(e>>>0>>0)KM(a);else{j=c[a>>2]|0;k=(c[g>>2]|0)-j|0;g=k>>1;JL(f,k>>2>>>0>>1>>>0?(g>>>0>>0?d:g):e,(c[h>>2]|0)-j>>2,a+16|0);KL(f,b);LL(a,f);ML(f);break}}else HL(a,b);while(0);yb=i;return}function HL(a,b){a=a|0;b=b|0;var d=0;d=a+4|0;a=b;b=c[d>>2]|0;do{c[b>>2]=0;b=(c[d>>2]|0)+4|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function IL(a){a=a|0;return 1073741823}function JL(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=b+12|0;c[h>>2]=0;c[b+16>>2]=f;do if(d){g=f+112|0;if(d>>>0<29&(a[g>>0]|0)==0){a[g>>0]=1;break}else{f=aM(d<<2)|0;break}}else f=0;while(0);c[b>>2]=f;e=f+(e<<2)|0;c[b+8>>2]=e;c[b+4>>2]=e;c[h>>2]=f+(d<<2);return}function KL(a,b){a=a|0;b=b|0;var d=0;d=a+8|0;a=b;b=c[d>>2]|0;do{c[b>>2]=0;b=(c[d>>2]|0)+4|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function LL(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=c[a>>2]|0;h=a+4|0;g=b+4|0;f=(c[h>>2]|0)-e|0;d=(c[g>>2]|0)+(0-(f>>2)<<2)|0;c[g>>2]=d;if((f|0)>0){VN(d|0,e|0,f|0)|0;e=g;d=c[g>>2]|0}else e=g;g=c[a>>2]|0;c[a>>2]=d;c[e>>2]=g;g=b+8|0;f=c[h>>2]|0;c[h>>2]=c[g>>2];c[g>>2]=f;g=a+8|0;h=b+12|0;a=c[g>>2]|0;c[g>>2]=c[h>>2];c[h>>2]=a;c[b>>2]=c[e>>2];return}function ML(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[b+4>>2]|0;e=b+8|0;f=c[e>>2]|0;while(1){if((f|0)==(d|0))break;g=f+-4|0;c[e>>2]=g;f=g}e=c[b>>2]|0;do if(e|0){d=c[b+16>>2]|0;if((e|0)==(d|0)){a[d+112>>0]=0;break}else{cM(e);break}}while(0);return}function NL(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=16948;c[a+8>>2]=46;c[a+12>>2]=44;b=a+16|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a=0;while(1){if((a|0)==3)break;c[b+(a<<2)>>2]=0;a=a+1|0}return}function OL(b,d){b=b|0;d=d|0;c[b+4>>2]=d+-1;c[b>>2]=16908;a[b+8>>0]=46;a[b+9>>0]=44;d=b+12|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;b=0;while(1){if((b|0)==3)break;c[d+(b<<2)>>2]=0;b=b+1|0}return}function PL(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=16788;c[a+8>>2]=ZD()|0;return}function QL(b,d){b=b|0;d=d|0;var e=0;if((IL(b)|0)>>>0>>0)KM(b);e=b+128|0;if(d>>>0<29&(a[e>>0]|0)==0){a[e>>0]=1;e=b+16|0}else e=aM(d<<2)|0;c[b+4>>2]=e;c[b>>2]=e;c[b+8>>2]=e+(d<<2);return}function RL(){if((a[54184]|0)==0?CN(54184)|0:0){SL()|0;c[14116]=56460}return c[14116]|0}function SL(){TL();c[14115]=54192;return 56460}function TL(){AK(54192,1);return}function UL(){VL(56468,RL()|0);return 56468}function VL(a,b){a=a|0;b=b|0;b=c[b>>2]|0;c[a>>2]=b;b=b+4|0;c[b>>2]=(c[b>>2]|0)+1;return}function WL(){if((a[54352]|0)==0?CN(54352)|0:0){UL()|0;c[14118]=56468}return c[14118]|0}function XL(a){a=a|0;var b=0;b=c[(WL()|0)>>2]|0;c[a>>2]=b;a=b+4|0;c[a>>2]=(c[a>>2]|0)+1;return}function YL(a){a=a|0;return}function ZL(a){a=a|0;var b=0,d=0;b=a+8|0;if(!((c[b>>2]|0)!=0?(d=c[b>>2]|0,c[b>>2]=d+-1,(d|0)!=0):0))Qb[c[(c[a>>2]|0)+16>>2]&255](a);return}function _L(a,b,d){a=a|0;b=b|0;d=d|0;oB(56476)|0;while(1){if((c[a>>2]|0)!=1)break;Ua(56504,56476)|0}if(!(c[a>>2]|0)){c[a>>2]=1;pB(56476)|0;Qb[d&255](b);oB(56476)|0;c[a>>2]=-1;pB(56476)|0;YN(56504)|0}else pB(56476)|0;return}function $L(){ya()}function aM(a){a=a|0;var b=0;b=(a|0)==0?1:a;while(1){a=iB(b)|0;if(a|0)break;a=FN()|0;if(!a){a=0;break}Pb[a&3]()}return a|0}function bM(a){a=a|0;return aM(a)|0}function cM(a){a=a|0;jB(a);return}function dM(a){a=a|0;cM(a);return}function eM(a,b){a=a|0;b=b|0;var d=0,e=0;e=Ey(b)|0;d=aM(e+13|0)|0;c[d>>2]=e;c[d+4>>2]=e;c[d+8>>2]=0;d=fM(d)|0;VN(d|0,b|0,e+1|0)|0;c[a>>2]=d;return}function fM(a){a=a|0;return a+12|0}function gM(a,b){a=a|0;b=b|0;c[a>>2]=17420;eM(a+4|0,b);return}function hM(a){a=a|0;return 1}function iM(a){a=a|0;ya()}function jM(b,d){b=b|0;d=d|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;if((a[d+11>>0]|0)<0)kM(b,c[d>>2]|0,c[d+4>>2]|0);else{c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2]}return}function kM(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=yb;yb=yb+16|0;f=g;if(e>>>0>4294967279)iM(b);if(e>>>0<11)a[b+11>>0]=e;else{i=e+16&-16;h=aM(i)|0;c[b>>2]=h;c[b+8>>2]=i|-2147483648;c[b+4>>2]=e;b=h}UB(b,d,e)|0;a[f>>0]=0;qf(b+e|0,f);yb=g;return}function lM(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=yb;yb=yb+16|0;f=g;if(d>>>0>4294967279)iM(b);if(d>>>0<11)a[b+11>>0]=d;else{i=d+16&-16;h=aM(i)|0;c[b>>2]=h;c[b+8>>2]=i|-2147483648;c[b+4>>2]=d;b=h}mM(b,d,e)|0;a[f>>0]=0;qf(b+d|0,f);yb=g;return}function mM(a,b,c){a=a|0;b=b|0;c=c|0;if(b|0)XN(a|0,(rf(c)|0)&255|0,b|0)|0;return a|0}function nM(b){b=b|0;if((a[b+11>>0]|0)<0)cM(c[b>>2]|0);return}function oM(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;k=yb;yb=yb+16|0;i=k;j=b+11|0;f=a[j>>0]|0;g=f<<24>>24<0;if(g)h=(c[b+8>>2]&2147483647)+-1|0;else h=10;do if(h>>>0>=e>>>0){if(g)f=c[b>>2]|0;else f=b;pM(f,d,e)|0;a[i>>0]=0;qf(f+e|0,i);if((a[j>>0]|0)<0){c[b+4>>2]=e;break}else{a[j>>0]=e;break}}else{if(g)f=c[b+4>>2]|0;else f=f&255;qM(b,h,e-h|0,f,0,f,e,d)}while(0);yb=k;return b|0}function pM(a,b,c){a=a|0;b=b|0;c=c|0;if(c|0)WN(a|0,b|0,c|0)|0;return a|0}function qM(b,d,e,f,g,h,i,j){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,l=0,m=0,n=0,o=0;o=yb;yb=yb+16|0;n=o;if((-18-d|0)>>>0>>0)iM(b);if((a[b+11>>0]|0)<0)m=c[b>>2]|0;else m=b;if(d>>>0<2147483623){k=e+d|0;l=d<<1;k=k>>>0>>0?l:k;k=k>>>0<11?11:k+16&-16}else k=-17;l=aM(k)|0;if(g|0)UB(l,m,g)|0;if(i|0)UB(l+g|0,j,i)|0;e=f-h|0;f=e-g|0;if(f|0)UB(l+g+i|0,m+g+h|0,f)|0;if((d|0)!=10)cM(m);c[b>>2]=l;c[b+8>>2]=k|-2147483648;i=e+i|0;c[b+4>>2]=i;a[n>>0]=0;qf(l+i|0,n);yb=o;return}function rM(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(d>>>0>4294967279)iM(b);i=b+11|0;g=a[i>>0]|0;h=g<<24>>24<0;if(h){k=c[b+4>>2]|0;e=(c[b+8>>2]&2147483647)+-1|0}else{k=g&255;e=10}j=k>>>0>d>>>0?k:d;d=j>>>0<11;j=d?10:(j+16&-16)+-1|0;do if((j|0)!=(e|0)){do if(d){d=c[b>>2]|0;if(h){g=0;e=d;f=b;h=13}else{UB(b,d,(g&255)+1|0)|0;cM(d);h=16}}else{e=j+1|0;f=aM(e)|0;if(h){g=1;e=c[b>>2]|0;h=13;break}else{UB(f,b,(g&255)+1|0)|0;d=b+4|0;h=15;break}}while(0);if((h|0)==13){d=b+4|0;UB(f,e,(c[d>>2]|0)+1|0)|0;cM(e);if(g){e=j+1|0;h=15}else h=16}if((h|0)==15){c[b+8>>2]=e|-2147483648;c[d>>2]=k;c[b>>2]=f;break}else if((h|0)==16){a[i>>0]=k;break}}while(0);return}function sM(a,b){a=a|0;b=b|0;return oM(a,b,kf(b)|0)|0}function tM(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;g=j;h=b+11|0;f=a[h>>0]|0;i=f<<24>>24<0;if(i)f=c[b+4>>2]|0;else f=f&255;do if(f>>>0>=d>>>0)if(i){i=(c[b>>2]|0)+d|0;a[g>>0]=0;qf(i,g);c[b+4>>2]=d;break}else{a[g>>0]=0;qf(b+d|0,g);a[h>>0]=d;break}else uM(b,d-f|0,e)|0;while(0);yb=j;return}function uM(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;k=yb;yb=yb+16|0;i=k;if(d|0){j=b+11|0;f=a[j>>0]|0;if(f<<24>>24<0){h=c[b+4>>2]|0;g=(c[b+8>>2]&2147483647)+-1|0}else{h=f&255;g=10}if((g-h|0)>>>0>>0){vM(b,g,h+d-g|0,h,h,0,0);f=a[j>>0]|0}if(f<<24>>24<0)g=c[b>>2]|0;else g=b;mM(g+h|0,d,e)|0;f=h+d|0;if((a[j>>0]|0)<0)c[b+4>>2]=f;else a[j>>0]=f;a[i>>0]=0;qf(g+f|0,i)}yb=k;return b|0}function vM(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,l=0;if((-17-d|0)>>>0>>0)iM(b);if((a[b+11>>0]|0)<0)l=c[b>>2]|0;else l=b;if(d>>>0<2147483623){j=e+d|0;k=d<<1;j=j>>>0>>0?k:j;j=j>>>0<11?11:j+16&-16}else j=-17;k=aM(j)|0;if(g|0)UB(k,l,g)|0;e=f-h-g|0;if(e|0)UB(k+g+i|0,l+g+h|0,e)|0;if((d|0)!=10)cM(l);c[b>>2]=k;c[b+8>>2]=j|-2147483648;return}function wM(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;k=yb;yb=yb+16|0;i=k;j=b+11|0;f=a[j>>0]|0;g=f<<24>>24<0;if(g){h=c[b+4>>2]|0;f=(c[b+8>>2]&2147483647)+-1|0}else{h=f&255;f=10}if((f-h|0)>>>0>=e>>>0){if(e|0){if(g)g=c[b>>2]|0;else g=b;UB(g+h|0,d,e)|0;f=h+e|0;if((a[j>>0]|0)<0)c[b+4>>2]=f;else a[j>>0]=f;a[i>>0]=0;qf(g+f|0,i)}}else qM(b,f,h+e-f|0,h,h,0,e,d);yb=k;return b|0}function xM(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=yb;yb=yb+16|0;h=j;i=j+1|0;a[h>>0]=d;g=b+11|0;d=a[g>>0]|0;e=d<<24>>24<0;if(e){f=c[b+4>>2]|0;d=(c[b+8>>2]&2147483647)+-1|0}else{f=d&255;d=10}if((f|0)==(d|0)){vM(b,d,1,d,d,0,0);if((a[g>>0]|0)<0)e=8;else e=7}else if(e)e=8;else e=7;if((e|0)==7){a[g>>0]=f+1;d=b}else if((e|0)==8){d=c[b>>2]|0;c[b+4>>2]=f+1}b=d+f|0;qf(b,h);a[i>>0]=0;qf(b+1|0,i);yb=j;return}function yM(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;h=i;if(e>>>0>1073741807)iM(b);do if(e>>>0>=2){g=e+4&-4;if(g>>>0>1073741823)ya();else{f=aM(g<<2)|0;c[b>>2]=f;c[b+8>>2]=g|-2147483648;c[b+4>>2]=e;break}}else{a[b+8+3>>0]=e;f=b}while(0);jC(f,d,e)|0;c[h>>2]=0;ID(f+(e<<2)|0,h);yb=i;return}function zM(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=yb;yb=yb+16|0;h=i;if(d>>>0>1073741807)iM(b);do if(d>>>0>=2){g=d+4&-4;if(g>>>0>1073741823)ya();else{f=aM(g<<2)|0;c[b>>2]=f;c[b+8>>2]=g|-2147483648;c[b+4>>2]=d;break}}else{a[b+8+3>>0]=d;f=b}while(0);AM(f,d,e)|0;c[h>>2]=0;ID(f+(d<<2)|0,h);yb=i;return}function AM(a,b,c){a=a|0;b=b|0;c=c|0;if(b)AA(a,c,b)|0;return a|0}function BM(b){b=b|0;if((a[b+8+3>>0]|0)<0)cM(c[b>>2]|0);return}function CM(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,l=0;l=yb;yb=yb+16|0;j=l;f=b+8|0;k=f+3|0;h=a[k>>0]|0;i=h<<24>>24<0;if(i)g=(c[f>>2]&2147483647)+-1|0;else g=1;do if(g>>>0>=e>>>0){if(i)f=c[b>>2]|0;else f=b;DM(f,d,e)|0;c[j>>2]=0;ID(f+(e<<2)|0,j);if((a[k>>0]|0)<0){c[b+4>>2]=e;break}else{a[k>>0]=e;break}}else{if(i)f=c[b+4>>2]|0;else f=h&255;EM(b,g,e-g|0,f,0,f,e,d)}while(0);yb=l;return b|0}function DM(a,b,c){a=a|0;b=b|0;c=c|0;if(c)zA(a,b,c)|0;return a|0}function EM(b,d,e,f,g,h,i,j){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,l=0,m=0,n=0,o=0,p=0;p=yb;yb=yb+16|0;o=p;if((1073741806-d|0)>>>0>>0)iM(b);l=b+8|0;if((a[l+3>>0]|0)<0)n=c[b>>2]|0;else n=b;if(d>>>0<536870887){e=e+d|0;k=d<<1;e=e>>>0>>0?k:e;e=e>>>0<2?2:e+4&-4;if(e>>>0>1073741823)ya();else m=e}else m=1073741807;k=aM(m<<2)|0;if(g|0)jC(k,n,g)|0;if(i|0)jC(k+(g<<2)|0,j,i)|0;e=f-h|0;f=e-g|0;if(f|0)jC(k+(g<<2)+(i<<2)|0,n+(g<<2)+(h<<2)|0,f)|0;if((d|0)!=1)cM(n);c[b>>2]=k;c[l>>2]=m|-2147483648;i=e+i|0;c[b+4>>2]=i;c[o>>2]=0;ID(k+(i<<2)|0,o);yb=p;return}function FM(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(d>>>0>1073741807)iM(b);l=b+8|0;i=l+3|0;g=a[i>>0]|0;h=g<<24>>24<0;if(h){k=c[b+4>>2]|0;e=(c[l>>2]&2147483647)+-1|0}else{k=g&255;e=1}j=k>>>0>d>>>0?k:d;d=j>>>0<2;j=d?1:(j+4&-4)+-1|0;do if((j|0)!=(e|0)){do if(d){d=c[b>>2]|0;if(h){g=0;e=d;f=b;h=15}else{jC(b,d,(g&255)+1|0)|0;cM(d);h=18}}else{e=j+1|0;if(e>>>0>1073741823)ya();f=aM(e<<2)|0;if(h){g=1;e=c[b>>2]|0;h=15;break}else{jC(f,b,(g&255)+1|0)|0;d=b+4|0;h=17;break}}while(0);if((h|0)==15){d=b+4|0;jC(f,e,(c[d>>2]|0)+1|0)|0;cM(e);if(g){e=j+1|0;h=17}else h=18}if((h|0)==17){c[l>>2]=e|-2147483648;c[d>>2]=k;c[b>>2]=f;break}else if((h|0)==18){a[i>>0]=k;break}}while(0);return}function GM(a,b){a=a|0;b=b|0;return CM(a,b,IG(b)|0)|0}function HM(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,l=0,m=0;if((1073741807-d|0)>>>0>>0)iM(b);m=b+8|0;if((a[m+3>>0]|0)<0)l=c[b>>2]|0;else l=b;if(d>>>0<536870887){e=e+d|0;j=d<<1;e=e>>>0>>0?j:e;e=e>>>0<2?2:e+4&-4;if(e>>>0>1073741823)ya();else k=e}else k=1073741807;j=aM(k<<2)|0;if(g|0)jC(j,l,g)|0;e=f-h-g|0;if(e|0)jC(j+(g<<2)+(i<<2)|0,l+(g<<2)+(h<<2)|0,e)|0;if((d|0)!=1)cM(l);c[b>>2]=j;c[m>>2]=k|-2147483648;return}function IM(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,l=0;l=yb;yb=yb+16|0;j=l;g=b+8|0;k=g+3|0;f=a[k>>0]|0;i=f<<24>>24<0;if(i){h=c[b+4>>2]|0;f=(c[g>>2]&2147483647)+-1|0}else{h=f&255;f=1}if((f-h|0)>>>0>=e>>>0){if(e|0){if(i)g=c[b>>2]|0;else g=b;jC(g+(h<<2)|0,d,e)|0;f=h+e|0;if((a[k>>0]|0)<0)c[b+4>>2]=f;else a[k>>0]=f;c[j>>2]=0;ID(g+(f<<2)|0,j)}}else EM(b,f,h+e-f|0,h,h,0,e,d);yb=l;return b|0}function JM(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=yb;yb=yb+16|0;i=k;j=k+4|0;c[i>>2]=d;e=b+8|0;h=e+3|0;d=a[h>>0]|0;f=d<<24>>24<0;if(f){g=c[b+4>>2]|0;d=(c[e>>2]&2147483647)+-1|0}else{g=d&255;d=1}if((g|0)==(d|0)){HM(b,d,1,d,d,0,0);if((a[h>>0]|0)<0)e=8;else e=7}else if(f)e=8;else e=7;if((e|0)==7){a[h>>0]=g+1;d=b}else if((e|0)==8){d=c[b>>2]|0;c[b+4>>2]=g+1}b=d+(g<<2)|0;ID(b,i);c[j>>2]=0;ID(b+4|0,j);yb=k;return}function KM(a){a=a|0;ya()}function LM(){return (MM()|0)>0|0}function MM(){return (V()|0)&1|0}function NM(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0;f=yb;yb=yb+48|0;h=f+32|0;d=f+24|0;i=f+16|0;g=f;f=f+36|0;a=OM()|0;if(a|0?(e=c[a>>2]|0,e|0):0){a=e+48|0;b=c[a>>2]|0;a=c[a+4>>2]|0;if(!((b&-256|0)==1126902528&(a|0)==1129074247)){c[d>>2]=49219;PM(49169,d)}if((b|0)==1126902529&(a|0)==1129074247)a=c[e+44>>2]|0;else a=e+80|0;c[f>>2]=a;e=c[e>>2]|0;a=c[e+4>>2]|0;if(Hb[c[(c[3302]|0)+16>>2]&63](13208,e,f)|0){i=c[f>>2]|0;i=Eb[c[(c[i>>2]|0)+8>>2]&127](i)|0;c[g>>2]=49219;c[g+4>>2]=a;c[g+8>>2]=i;PM(49083,g)}else{c[i>>2]=49219;c[i+4>>2]=a;PM(49128,i)}}PM(49207,h)}function OM(){var a=0,b=0;a=yb;yb=yb+16|0;if(!(tB(56552,2)|0)){b=rB(c[14139]|0)|0;yb=a;return b|0}else PM(49358,a);return 0}function PM(a,b){a=a|0;b=b|0;var d=0;d=yb;yb=yb+16|0;c[d>>2]=b;b=c[3454]|0;Zy(b,a,d)|0;YA(10,b)|0;ya()}function QM(a){a=a|0;return}function RM(a){a=a|0;QM(a);cM(a);return}function SM(a){a=a|0;return}function TM(a){a=a|0;return}function UM(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=yb;yb=yb+64|0;f=h;if(!(YM(a,b,0)|0))if((b|0)!=0?(g=aN(b,13232,13216,0)|0,(g|0)!=0):0){b=f+4|0;e=b+52|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(e|0));c[f>>2]=g;c[f+8>>2]=a;c[f+12>>2]=-1;c[f+48>>2]=1;Vb[c[(c[g>>2]|0)+28>>2]&31](g,f,c[d>>2]|0,1);if((c[f+24>>2]|0)==1){c[d>>2]=c[f+16>>2];b=1}else b=0}else b=0;else b=1;yb=h;return b|0}function VM(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if(YM(a,c[b+8>>2]|0,g)|0)$M(0,b,d,e,f);return}function WM(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;do if(!(YM(b,c[d+8>>2]|0,g)|0)){if(YM(b,c[d>>2]|0,g)|0){if((c[d+16>>2]|0)!=(e|0)?(h=d+20|0,(c[h>>2]|0)!=(e|0)):0){c[d+32>>2]=f;c[h>>2]=e;g=d+40|0;c[g>>2]=(c[g>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0)a[d+54>>0]=1;c[d+44>>2]=4;break}if((f|0)==1)c[d+32>>2]=1}}else _M(0,d,e,f);while(0);return}function XM(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(YM(a,c[b+8>>2]|0,0)|0)ZM(0,b,d,e);return}function YM(a,b,c){a=a|0;b=b|0;c=c|0;return (a|0)==(b|0)|0}function ZM(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;b=d+16|0;g=c[b>>2]|0;do if(g){if((g|0)!=(e|0)){f=d+36|0;c[f>>2]=(c[f>>2]|0)+1;c[d+24>>2]=2;a[d+54>>0]=1;break}b=d+24|0;if((c[b>>2]|0)==2)c[b>>2]=f}else{c[b>>2]=e;c[d+24>>2]=f;c[d+36>>2]=1}while(0);return}function _M(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if((c[b+4>>2]|0)==(d|0)?(f=b+28|0,(c[f>>2]|0)!=1):0)c[f>>2]=e;return}function $M(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;a[d+53>>0]=1;do if((c[d+4>>2]|0)==(f|0)){a[d+52>>0]=1;b=d+16|0;f=c[b>>2]|0;if(!f){c[b>>2]=e;c[d+24>>2]=g;c[d+36>>2]=1;if(!((g|0)==1?(c[d+48>>2]|0)==1:0))break;a[d+54>>0]=1;break}if((f|0)!=(e|0)){g=d+36|0;c[g>>2]=(c[g>>2]|0)+1;a[d+54>>0]=1;break}f=d+24|0;b=c[f>>2]|0;if((b|0)==2){c[f>>2]=g;b=g}if((b|0)==1?(c[d+48>>2]|0)==1:0)a[d+54>>0]=1}while(0);return}function aN(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,l=0,m=0,n=0,o=0,p=0;p=yb;yb=yb+64|0;n=p;m=c[d>>2]|0;o=d+(c[m+-8>>2]|0)|0;m=c[m+-4>>2]|0;c[n>>2]=f;c[n+4>>2]=d;c[n+8>>2]=e;c[n+12>>2]=g;d=n+16|0;e=n+20|0;g=n+24|0;h=n+28|0;i=n+32|0;j=n+40|0;k=d;l=k+36|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(l|0));b[d+36>>1]=0;a[d+38>>0]=0;a:do if(YM(m,f,0)|0){c[n+48>>2]=1;Xb[c[(c[m>>2]|0)+20>>2]&7](m,n,o,o,1,0);d=(c[g>>2]|0)==1?o:0}else{Wb[c[(c[m>>2]|0)+24>>2]&31](m,n,o,1,0);switch(c[n+36>>2]|0){case 0:{d=(c[j>>2]|0)==1&(c[h>>2]|0)==1&(c[i>>2]|0)==1?c[e>>2]|0:0;break a}case 1:break;default:{d=0;break a}}if((c[g>>2]|0)!=1?!((c[j>>2]|0)==0&(c[h>>2]|0)==1&(c[i>>2]|0)==1):0){d=0;break}d=c[d>>2]|0}while(0);yb=p;return d|0}function bN(a){a=a|0;QM(a);cM(a);return}function cN(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if(YM(a,c[b+8>>2]|0,g)|0)$M(0,b,d,e,f);else{a=c[a+8>>2]|0;Xb[c[(c[a>>2]|0)+20>>2]&7](a,b,d,e,f,g)}return}function dN(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;do if(!(YM(b,c[d+8>>2]|0,g)|0)){if(!(YM(b,c[d>>2]|0,g)|0)){i=c[b+8>>2]|0;Wb[c[(c[i>>2]|0)+24>>2]&31](i,d,e,f,g);break}if((c[d+16>>2]|0)!=(e|0)?(h=d+20|0,(c[h>>2]|0)!=(e|0)):0){c[d+32>>2]=f;i=d+44|0;if((c[i>>2]|0)==4)break;f=d+52|0;a[f>>0]=0;j=d+53|0;a[j>>0]=0;b=c[b+8>>2]|0;Xb[c[(c[b>>2]|0)+20>>2]&7](b,d,e,e,1,g);if(a[j>>0]|0)if(!(a[f>>0]|0)){f=1;b=11}else b=15;else{f=0;b=11}do if((b|0)==11){c[h>>2]=e;j=d+40|0;c[j>>2]=(c[j>>2]|0)+1;if((c[d+36>>2]|0)==1?(c[d+24>>2]|0)==2:0){a[d+54>>0]=1;if(f){b=15;break}else{f=4;break}}if(f)b=15;else f=4}while(0);if((b|0)==15)f=3;c[i>>2]=f;break}if((f|0)==1)c[d+32>>2]=1}else _M(0,d,e,f);while(0);return}function eN(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(YM(a,c[b+8>>2]|0,0)|0)ZM(0,b,d,e);else{a=c[a+8>>2]|0;Vb[c[(c[a>>2]|0)+28>>2]&31](a,b,d,e)}return}function fN(a){a=a|0;return}function gN(){var a=0;a=yb;yb=yb+16|0;if(!(qB(56556,145)|0)){yb=a;return}else PM(49407,a)}function hN(a){a=a|0;var b=0;b=yb;yb=yb+16|0;jB(a);if(!(sB(c[14139]|0,0)|0)){yb=b;return}else PM(49457,b)}function iN(){var a=0,b=0;a=OM()|0;if((a|0?(b=c[a>>2]|0,b|0):0)?(a=b+48|0,(c[a>>2]&-256|0)==1126902528?(c[a+4>>2]|0)==1129074247:0):0)jN(c[b+12>>2]|0);jN(kN()|0)}function jN(a){a=a|0;var b=0;b=yb;yb=yb+16|0;Pb[a&3]();PM(49510,b)}function kN(){var a=0;a=c[4332]|0;c[4332]=a+0;return a|0}function lN(a){a=a|0;return}function mN(a){a=a|0;c[a>>2]=17420;qN(a+4|0);return}function nN(a){a=a|0;mN(a);cM(a);return}function oN(a){a=a|0;return pN(a+4|0)|0}function pN(a){a=a|0;return c[a>>2]|0}function qN(a){a=a|0;var b=0,d=0;if(hM(a)|0?(b=rN(c[a>>2]|0)|0,d=b+8|0,a=c[d>>2]|0,c[d>>2]=a+-1,(a+-1|0)<0):0)cM(b);return}function rN(a){a=a|0;return a+-12|0}function sN(a){a=a|0;mN(a);cM(a);return}function tN(a){a=a|0;QM(a);cM(a);return}function uN(a,b,c){a=a|0;b=b|0;c=c|0;return YM(a,b,0)|0}function vN(a){a=a|0;QM(a);cM(a);return}function wN(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,l=0,m=0,n=0,o=0,p=0;if(YM(b,c[d+8>>2]|0,h)|0)$M(0,d,e,f,g);else{p=d+52|0;i=a[p>>0]|0;j=d+53|0;k=a[j>>0]|0;o=c[b+12>>2]|0;l=b+16+(o<<3)|0;a[p>>0]=0;a[j>>0]=0;AN(b+16|0,d,e,f,g,h);a:do if((o|0)>1){m=d+24|0;n=b+8|0;o=d+54|0;b=b+24|0;do{if(a[o>>0]|0)break a;if(!(a[p>>0]|0)){if(a[j>>0]|0?(c[n>>2]&1|0)==0:0)break a}else{if((c[m>>2]|0)==1)break a;if(!(c[n>>2]&2))break a}a[p>>0]=0;a[j>>0]=0;AN(b,d,e,f,g,h);b=b+8|0}while(b>>>0>>0)}while(0);a[p>>0]=i;a[j>>0]=k}return}function xN(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,l=0,m=0,n=0,o=0,p=0,q=0;a:do if(!(YM(b,c[d+8>>2]|0,g)|0)){if(!(YM(b,c[d>>2]|0,g)|0)){q=c[b+12>>2]|0;k=b+16+(q<<3)|0;BN(b+16|0,d,e,f,g);h=b+24|0;if((q|0)<=1)break;b=c[b+8>>2]|0;if((b&2|0)==0?(j=d+36|0,(c[j>>2]|0)!=1):0){if(!(b&1)){b=d+54|0;while(1){if(a[b>>0]|0)break a;if((c[j>>2]|0)==1)break a;BN(h,d,e,f,g);h=h+8|0;if(h>>>0>=k>>>0)break a}}b=d+24|0;i=d+54|0;while(1){if(a[i>>0]|0)break a;if((c[j>>2]|0)==1?(c[b>>2]|0)==1:0)break a;BN(h,d,e,f,g);h=h+8|0;if(h>>>0>=k>>>0)break a}}b=d+54|0;while(1){if(a[b>>0]|0)break a;BN(h,d,e,f,g);h=h+8|0;if(h>>>0>=k>>>0)break a}}if((c[d+16>>2]|0)!=(e|0)?(q=d+20|0,(c[q>>2]|0)!=(e|0)):0){c[d+32>>2]=f;p=d+44|0;if((c[p>>2]|0)==4)break;k=b+16+(c[b+12>>2]<<3)|0;f=d+52|0;l=d+53|0;n=d+54|0;m=b+8|0;o=d+24|0;h=0;i=b+16|0;j=0;b:while(1){if(i>>>0>=k>>>0){b=18;break}a[f>>0]=0;a[l>>0]=0;AN(i,d,e,e,1,g);if(a[n>>0]|0){b=18;break}do if(a[l>>0]|0){if(!(a[f>>0]|0))if(!(c[m>>2]&1)){h=1;b=18;break b}else{h=1;b=j;break}if((c[o>>2]|0)==1){b=23;break b}if(!(c[m>>2]&2)){b=23;break b}else{h=1;b=1}}else b=j;while(0);i=i+8|0;j=b}do if((b|0)==18){if((!j?(c[q>>2]=e,e=d+40|0,c[e>>2]=(c[e>>2]|0)+1,(c[d+36>>2]|0)==1):0)?(c[o>>2]|0)==2:0){a[n>>0]=1;if(h){b=23;break}else{h=4;break}}if(h)b=23;else h=4}while(0);if((b|0)==23)h=3;c[p>>2]=h;break}if((f|0)==1)c[d+32>>2]=1}else _M(0,d,e,f);while(0);return}function yN(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a:do if(!(YM(b,c[d+8>>2]|0,0)|0)){h=c[b+12>>2]|0;g=b+16+(h<<3)|0;zN(b+16|0,d,e,f);if((h|0)>1){h=d+54|0;b=b+24|0;do{zN(b,d,e,f);if(a[h>>0]|0)break a;b=b+8|0}while(b>>>0>>0)}}else ZM(0,d,e,f);while(0);return}function zN(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[a+4>>2]|0;f=g>>8;if(g&1)f=c[(c[d>>2]|0)+f>>2]|0;a=c[a>>2]|0;Vb[c[(c[a>>2]|0)+28>>2]&31](a,b,d+f|0,(g&2|0)==0?2:e);return}function AN(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;i=c[a+4>>2]|0;h=i>>8;if(i&1)h=c[(c[e>>2]|0)+h>>2]|0;a=c[a>>2]|0;Xb[c[(c[a>>2]|0)+20>>2]&7](a,b,d,e+h|0,(i&2|0)==0?2:f,g);return}function BN(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;h=c[a+4>>2]|0;g=h>>8;if(h&1)g=c[(c[d>>2]|0)+g>>2]|0;a=c[a>>2]|0;Wb[c[(c[a>>2]|0)+24>>2]&31](a,b,d+g|0,(h&2|0)==0?2:e,f);return}function CN(b){b=b|0;if((a[b>>0]|0)==1)b=0;else{a[b>>0]=1;b=1}return b|0}function DN(a){a=a|0;return}function EN(a){a=a|0;return}function FN(){var a=0;a=c[14140]|0;c[14140]=a+0;return a|0}function GN(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=yb;yb=yb+16|0;e=f;c[e>>2]=c[d>>2];a=Hb[c[(c[a>>2]|0)+16>>2]&63](a,b,e)|0;if(a)c[d>>2]=c[e>>2];yb=f;return a&1|0}function HN(a){a=a|0;if(!a)a=0;else a=(aN(a,13232,13320,0)|0)!=0&1;return a|0}function IN(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;e=b&65535;c=C(e,f)|0;d=a>>>16;a=(c>>>16)+(C(e,d)|0)|0;e=b>>>16;b=C(e,f)|0;return (F((a>>>16)+(C(e,d)|0)+(((a&65535)+b|0)>>>16)|0),a+b<<16|c&65535|0)|0}function JN(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=IN(e,f)|0;a=G()|0;return (F((C(b,f)|0)+(C(d,e)|0)+a|a&0|0),c|0|0)|0}function KN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (F(b+d+(c>>>0>>0|0)>>>0|0),c|0)|0}function LN(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=b-d-(c>>>0>a>>>0|0)>>>0;return (F(d|0),a-c>>>0|0)|0}function MN(a){a=a|0;return (a?31-(D(a^a-1)|0)|0:32)|0}function NN(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,l=0,m=0,n=0,o=0,p=0;l=a;j=b;k=j;h=d;n=e;i=n;if(!k){g=(f|0)!=0;if(!i){if(g){c[f>>2]=(l>>>0)%(h>>>0);c[f+4>>2]=0}n=0;f=(l>>>0)/(h>>>0)>>>0;return (F(n|0),f)|0}else{if(!g){n=0;f=0;return (F(n|0),f)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;n=0;f=0;return (F(n|0),f)|0}}g=(i|0)==0;do if(h){if(!g){g=(D(i|0)|0)-(D(k|0)|0)|0;if(g>>>0<=31){m=g+1|0;i=31-g|0;b=g-31>>31;h=m;a=l>>>(m>>>0)&b|k<>>(m>>>0)&b;g=0;i=l<>2]=a|0;c[f+4>>2]=j|b&0;n=0;f=0;return (F(n|0),f)|0}g=h-1|0;if(g&h|0){i=(D(h|0)|0)+33-(D(k|0)|0)|0;p=64-i|0;m=32-i|0;j=m>>31;o=i-32|0;b=o>>31;h=i;a=m-1>>31&k>>>(o>>>0)|(k<>>(i>>>0))&b;b=b&k>>>(i>>>0);g=l<>>(o>>>0))&j|l<>31;break}if(f|0){c[f>>2]=g&l;c[f+4>>2]=0}if((h|0)==1){o=j|b&0;p=a|0|0;return (F(o|0),p)|0}else{p=MN(h|0)|0;o=k>>>(p>>>0)|0;p=k<<32-p|l>>>(p>>>0)|0;return (F(o|0),p)|0}}else{if(g){if(f|0){c[f>>2]=(k>>>0)%(h>>>0);c[f+4>>2]=0}o=0;p=(k>>>0)/(h>>>0)>>>0;return (F(o|0),p)|0}if(!l){if(f|0){c[f>>2]=0;c[f+4>>2]=(k>>>0)%(i>>>0)}o=0;p=(k>>>0)/(i>>>0)>>>0;return (F(o|0),p)|0}g=i-1|0;if(!(g&i)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=g&k|b&0}o=0;p=k>>>((MN(i|0)|0)>>>0);return (F(o|0),p)|0}g=(D(i|0)|0)-(D(k|0)|0)|0;if(g>>>0<=30){b=g+1|0;i=31-g|0;h=b;a=k<>>(b>>>0);b=k>>>(b>>>0);g=0;i=l<>2]=a|0;c[f+4>>2]=j|b&0;o=0;p=0;return (F(o|0),p)|0}while(0);if(!h){k=i;j=0;i=0}else{m=d|0|0;l=n|e&0;k=KN(m|0,l|0,-1,-1)|0;d=G()|0;j=i;i=0;do{e=j;j=g>>>31|j<<1;g=i|g<<1;e=a<<1|e>>>31|0;n=a>>>31|b<<1|0;LN(k|0,d|0,e|0,n|0)|0;p=G()|0;o=p>>31|((p|0)<0?-1:0)<<1;i=o&1;a=LN(e|0,n|0,o&m|0,(((p|0)<0?-1:0)>>31|((p|0)<0?-1:0)<<1)&l|0)|0;b=G()|0;h=h-1|0}while((h|0)!=0);k=j;j=0}h=0;if(f|0){c[f>>2]=a;c[f+4>>2]=b}o=(g|0)>>>31|(k|h)<<1|(h<<1|g>>>31)&0|j;p=(g<<1|0>>>31)&-2|i;return (F(o|0),p)|0}function ON(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return NN(a,b,c,d,0)|0}function PN(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){F(b>>>c|0);return a>>>c|(b&(1<>>c-32|0}function QN(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){F(b<>>32-c|0);return a<>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function SN(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;l=l+1|0;c[a>>2]=l;while((f|0)<(e|0)){if(!(c[d+(f<<3)>>2]|0)){c[d+(f<<3)>>2]=l;c[d+((f<<3)+4)>>2]=b;c[d+((f<<3)+8)>>2]=0;F(e|0);return d|0}f=f+1|0}e=e*2|0;d=lB(d|0,8*(e+1|0)|0)|0;d=SN(a|0,b|0,d|0,e|0)|0;F(e|0);return d|0}function TN(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;while((f|0)<(d|0)){e=c[b+(f<<3)>>2]|0;if(!e)break;if((e|0)==(a|0))return c[b+((f<<3)+4)>>2]|0;f=f+1|0}return 0}function UN(a,b){a=a|0;b=b|0;if(!j){j=a;k=b}}function VN(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)>=8192){Ja(b|0,d|0,e|0)|0;return b|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 WN(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 VN(b,c,d)|0;return b|0}function XN(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;i=d|d<<8|d<<16|d<<24;g=f-64|0;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 YN(a){a=a|0;return 0}function ZN(a){a=+a;return a>=0.0?+t(a+.5):+B(a-.5)}function _N(a){a=a|0;var b=0,d=0,e=0;e=Ga()|0;d=c[i>>2]|0;b=d+a|0;if((a|0)>0&(b|0)<(d|0)|(b|0)<0){Za(b|0)|0;_(12);return -1}if((b|0)>(e|0))if(!(Ka(b|0)|0)){_(12);return -1}c[i>>2]=b;return d|0}function $N(a,b){a=a|0;b=b|0;return +Bb[a&3](b|0)}function aO(a,b,c){a=a|0;b=b|0;c=c|0;return +Cb[a&1](b|0,c|0)}function bO(a){a=a|0;return Db[a&1]()|0}function cO(a,b){a=a|0;b=b|0;return Eb[a&127](b|0)|0}function dO(a,b,c,d,e,f,g){a=a|0;b=b|0;c=+c;d=d|0;e=e|0;f=f|0;g=g|0;return Fb[a&1](b|0,+c,d|0,e|0,f|0,g|0)|0}function eO(a,b,c){a=a|0;b=b|0;c=c|0;return Gb[a&63](b|0,c|0)|0}function fO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Hb[a&63](b|0,c|0,d|0)|0}function gO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ib[a&15](b|0,c|0,d|0,e|0)|0}function hO(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;return Jb[a&7](b|0,c|0,d|0,e|0,+f)|0}function iO(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Kb[a&31](b|0,c|0,d|0,e|0,f|0)|0}function jO(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;return Lb[a&3](b|0,c|0,d|0,e|0,f|0,+g)|0}function kO(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;return Mb[a&63](b|0,c|0,d|0,e|0,f|0,g|0)|0}function lO(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;return Nb[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function mO(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return Ob[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function nO(a){a=a|0;Pb[a&3]()}function oO(a,b){a=a|0;b=b|0;Qb[a&255](b|0)}function pO(a,b,c){a=a|0;b=b|0;c=+c;Rb[a&3](b|0,+c)}function qO(a,b,c){a=a|0;b=b|0;c=c|0;Sb[a&63](b|0,c|0)}function rO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;Tb[a&3](b|0,c|0,+d)}function sO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ub[a&3](b|0,c|0,d|0)}function tO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;Vb[a&31](b|0,c|0,d|0,e|0)}function uO(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;Wb[a&31](b|0,c|0,d|0,e|0,f|0)}function vO(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;Xb[a&7](b|0,c|0,d|0,e|0,f|0,g|0)}function wO(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;Yb[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)}function xO(a){a=a|0;E(0);return 0.0}function yO(a,b){a=a|0;b=b|0;E(1);return 0.0}function zO(){E(2);return 0}function AO(a){a=a|0;E(3);return 0}function BO(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;E(4);return 0}function CO(a,b){a=a|0;b=b|0;E(5);return 0}function DO(a,b,c){a=a|0;b=b|0;c=c|0;E(6);return 0}function EO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;E(7);return 0}function FO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;E(8);return 0}function GO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;E(9);return 0}function HO(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;E(10);return 0}function IO(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;E(11);return 0}function JO(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;E(12);return 0}function KO(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;E(13);return 0}function LO(){E(14)}function MO(a){a=a|0;E(15)}function NO(a,b){a=a|0;b=+b;E(16)}function OO(a,b){a=a|0;b=b|0;E(17)}function PO(a,b,c){a=a|0;b=b|0;c=+c;E(18)}function QO(a,b,c){a=a|0;b=b|0;c=c|0;E(19)}function RO(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;E(20)}function SO(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;E(21)}function TO(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;E(22)}function UO(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;E(23)} +var Module=typeof Module!="undefined"?Module:{};(function(){null;var scope;if(typeof window!=="undefined"){scope=window}else{scope=self}if(scope.artoolkit_wasm_url){function downloadWasm(url){return new Promise(function(resolve,reject){var wasmXHR=new XMLHttpRequest;wasmXHR.open("GET",url,true);wasmXHR.responseType="arraybuffer";wasmXHR.onload=function(){resolve(wasmXHR.response)};wasmXHR.onerror=function(){reject("error "+wasmXHR.status)};wasmXHR.send(null)})}var wasm=downloadWasm(scope.artoolkit_wasm_url);Module.instantiateWasm=function(imports,successCallback){console.log("instantiateWasm: instantiating synchronously");wasm.then(function(wasmBinary){console.log("wasm download finished, begin instantiating");var wasmInstantiate=WebAssembly.instantiate(new Uint8Array(wasmBinary),imports).then(function(output){console.log("wasm instantiation succeeded");successCallback(output.instance)}).catch(function(e){console.log("wasm instantiation failed! "+e)})});return{}}}var ARController=function(width,height,cameraPara){this.id=undefined;var w=width,h=height;this.orientation="landscape";this.listeners={};if(typeof width!=="number"){var image=width;cameraPara=height;w=image.videoWidth||image.width;h=image.videoHeight||image.height;this.image=image}this.nftMarkerCount=0;this.defaultMarkerWidth=1;this.patternMarkers={};this.barcodeMarkers={};this.nftMarkers={};this.transform_mat=new Float32Array(16);this.transformGL_RH=new Float64Array(16);this.canvas=document.createElement("canvas");this.canvas.width=w;this.canvas.height=h;this.ctx=this.canvas.getContext("2d");this.videoWidth=w;this.videoHeight=h;this.videoSize=this.videoWidth*this.videoHeight;this.framepointer=null;this.framesize=null;this.dataHeap=null;this.videoLuma=null;this.camera_mat=null;this.marker_transform_mat=null;this.videoLumaPointer=null;this._bwpointer=undefined;this._lumaCtx=undefined;if(typeof cameraPara==="string"){this.cameraParam=new ARCameraParam(cameraPara,function(){this._initialize()}.bind(this),function(err){console.error("ARController: Failed to load ARCameraParam",err);this.onload(err)}.bind(this))}else{this.cameraParam=cameraPara;this._initialize()}};ARController.prototype.dispose=function(){if(this.id>-1){artoolkit.teardown(this.id)}if(this.image&&this.image.srcObject){ARController._teardownVideo(this.image)}for(var t in this){this[t]=null}};ARController.prototype.process=function(image){var result=this.detectMarker(image);if(result!=0){console.error("detectMarker error: "+result)}var markerNum=this.getMarkerNum();var k,o;for(k in this.patternMarkers){o=this.patternMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.barcodeMarkers){o=this.barcodeMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.nftMarkers){o=this.nftMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(var i=0;i-1&&(markerInfo.id===markerInfo.idPatt||markerInfo.idMatrix===-1)){visible=this.trackPatternMarkerId(markerInfo.idPatt);markerType=artoolkit.PATTERN_MARKER;if(markerInfo.dir!==markerInfo.dirPatt){this.setMarkerInfoDir(i,markerInfo.dirPatt)}}else if(markerInfo.idMatrix>-1){visible=this.trackBarcodeMarkerId(markerInfo.idMatrix);markerType=artoolkit.BARCODE_MARKER;if(markerInfo.dir!==markerInfo.dirMatrix){this.setMarkerInfoDir(i,markerInfo.dirMatrix)}}if(markerType!==artoolkit.UNKNOWN_MARKER&&visible.inPrevious){this.getTransMatSquareCont(i,visible.markerWidth,visible.matrix,visible.matrix)}else{this.getTransMatSquare(i,visible.markerWidth,visible.matrix)}visible.inCurrent=true;this.transMatToGLMat(visible.matrix,this.transform_mat);this.transformGL_RH=this.arglCameraViewRHf(this.transform_mat);this.dispatchEvent({name:"getMarker",target:this,data:{index:i,type:markerType,marker:markerInfo,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}})}var nftMarkerCount=this.nftMarkerCount;artoolkit.detectNFTMarker(this.id);for(var i=0;i=0){visible=true;this.dispatchEvent({name:"getMultiMarker",target:this,data:{multiMarkerId:i,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}});break}}if(visible){for(var j=0;j-1){this.listeners[name].splice(index,1)}}};ARController.prototype.dispatchEvent=function(event){var listeners=this.listeners[event.name];if(listeners){for(var i=0;i>3;q+=4}}if(this.dataHeap){this.dataHeap.set(data);return true}return false};ARController.prototype._debugMarker=function(marker){var vertex,pos;vertex=marker.vertex;var ctx=this.ctx;ctx.strokeStyle="red";ctx.beginPath();ctx.moveTo(vertex[0][0],vertex[0][1]);ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[2][0],vertex[2][1]);ctx.lineTo(vertex[3][0],vertex[3][1]);ctx.stroke();ctx.strokeStyle="green";ctx.beginPath();ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.lineTo(vertex[2][0],vertex[2][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[3][0],vertex[3][1]);ctx.lineTo(vertex[0][0],vertex[0][1]);ctx.stroke();pos=marker.pos;ctx.beginPath();ctx.arc(pos[0],pos[1],8,0,Math.PI*2);ctx.fillStyle="red";ctx.fill()};ARController.getUserMedia=function(configuration){var facing=configuration.facingMode||"environment";var onSuccess=configuration.onSuccess;var onError=configuration.onError||function(err){console.error("ARController.getUserMedia",err)};var video=document.createElement("video");var readyToPlay=false;var eventNames=["touchstart","touchend","touchmove","touchcancel","click","mousedown","mouseup","mousemove","keydown","keyup","keypress","scroll"];var play=function(){if(readyToPlay){video.play().then(function(){onSuccess(video)}).catch(function(error){onError(error);ARController._teardownVideo(video)});if(!video.paused){eventNames.forEach(function(eventName){window.removeEventListener(eventName,play,true)})}}};eventNames.forEach(function(eventName){window.addEventListener(eventName,play,true)});var success=function(stream){if(window.URL.createObjectURL){try{video.srcObject=stream}catch(ex){}}video.srcObject=stream;readyToPlay=true;video.autoplay=true;video.playsInline=true;play()};var constraints={};var mediaDevicesConstraints={};if(configuration.width){mediaDevicesConstraints.width=configuration.width;if(typeof configuration.width==="object"){if(configuration.width.max){constraints.maxWidth=configuration.width.max}if(configuration.width.min){constraints.minWidth=configuration.width.min}}else{constraints.maxWidth=configuration.width}}if(configuration.height){mediaDevicesConstraints.height=configuration.height;if(typeof configuration.height==="object"){if(configuration.height.max){constraints.maxHeight=configuration.height.max}if(configuration.height.min){constraints.minHeight=configuration.height.min}}else{constraints.maxHeight=configuration.height}}mediaDevicesConstraints.facingMode=facing;mediaDevicesConstraints.deviceId=configuration.deviceId;navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;var hdConstraints={audio:false,video:constraints};if(navigator.mediaDevices||window.MediaStreamTrack.getSources){if(navigator.mediaDevices){navigator.mediaDevices.getUserMedia({audio:false,video:mediaDevicesConstraints}).then(success,onError)}else{window.MediaStreamTrack.getSources(function(sources){var facingDir=mediaDevicesConstraints.facingMode;if(facing&&facing.exact){facingDir=facing.exact}for(var i=0;i-1){writeStringToFS(filename,url,writeCallback)}else{ajax(url,filename,writeCallback,errorCallback)}}function writeStringToFS(target,string,callback){var byteArray=new Uint8Array(string.length);for(var i=0;i{throw toThrow};var ENVIRONMENT_IS_WEB=typeof window=="object";var ENVIRONMENT_IS_WORKER=typeof importScripts=="function";var ENVIRONMENT_IS_NODE=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string";var ENVIRONMENT_IS_PTHREAD=Module["ENVIRONMENT_IS_PTHREAD"]||false;var _scriptDir=typeof document!="undefined"&&document.currentScript?document.currentScript.src:undefined;if(ENVIRONMENT_IS_WORKER){_scriptDir=self.location.href}else if(ENVIRONMENT_IS_NODE){_scriptDir=__filename}var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;function logExceptionOnExit(e){if(e instanceof ExitStatus)return;let toLog=e;err("exiting due to exception: "+toLog)}var fs;var nodePath;var requireNodeFS;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}requireNodeFS=()=>{if(!nodePath){fs=require("fs");nodePath=require("path")}};read_=function shell_read(filename,binary){var ret=tryParseAsDataURI(filename);if(ret){return binary?ret:ret.toString()}requireNodeFS();filename=nodePath["normalize"](filename);return fs.readFileSync(filename,binary?undefined:"utf8")};readBinary=filename=>{var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}return ret};readAsync=(filename,onload,onerror)=>{var ret=tryParseAsDataURI(filename);if(ret){onload(ret)}requireNodeFS();filename=nodePath["normalize"](filename);fs.readFile(filename,function(err,data){if(err)onerror(err);else onload(data.buffer)})};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof module!="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",function(reason){throw reason});quit_=(status,toThrow)=>{if(keepRuntimeAlive()){process["exitCode"]=status;throw toThrow}logExceptionOnExit(toThrow);process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"};let nodeWorkerThreads;try{nodeWorkerThreads=require("worker_threads")}catch(e){console.error('The "worker_threads" module is not supported in this node.js build - perhaps a newer version is needed?');throw e}global.Worker=nodeWorkerThreads.Worker}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}if(!ENVIRONMENT_IS_NODE){read_=url=>{try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}};if(ENVIRONMENT_IS_WORKER){readBinary=url=>{try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}}}readAsync=(url,onload,onerror)=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=()=>{if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=title=>document.title=title}else{}if(ENVIRONMENT_IS_NODE){if(typeof performance=="undefined"){global.performance=require("perf_hooks").performance}}var defaultPrint=console.log.bind(console);var defaultPrintErr=console.warn.bind(console);if(ENVIRONMENT_IS_NODE){requireNodeFS();defaultPrint=str=>fs.writeSync(1,str+"\n");defaultPrintErr=str=>fs.writeSync(2,str+"\n")}var out=Module["print"]||defaultPrint;var err=Module["printErr"]||defaultPrintErr;Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var Atomics_load=Atomics.load;var Atomics_store=Atomics.store;var Atomics_compareExchange=Atomics.compareExchange;var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;var WebAssembly={Memory:function(opts){this.buffer=new SharedArrayBuffer(opts["initial"]*65536)},Module:function(binary){},Instance:function(module,info){this.exports=( +// EMSCRIPTEN_START_ASM +function instantiate(asmLibraryArg) { +function Table(ret) { + // grow method not included; table is not growable + ret.set = function(i, func) { + this[i] = func; + }; + ret.get = function(i) { + return this[i]; + }; + return ret; +} + var bufferView; + var memorySegments = {}; + var base64ReverseLookup = new Uint8Array(123/*'z'+1*/); + for (var i = 25; i >= 0; --i) { + base64ReverseLookup[48+i] = 52+i; // '0-9' + base64ReverseLookup[65+i] = i; // 'A-Z' + base64ReverseLookup[97+i] = 26+i; // 'a-z' + } + base64ReverseLookup[43] = 62; // '+' + base64ReverseLookup[47] = 63; // '/' + /** @noinline Inlining this function would mean expanding the base64 string 4x times in the source code, which Closure seems to be happy to do. */ + function base64DecodeToExistingUint8Array(uint8Array, offset, b64) { + var b1, b2, i = 0, j = offset, bLength = b64.length, end = offset + (bLength*3>>2) - (b64[bLength-2] == '=') - (b64[bLength-1] == '='); + for (; i < bLength; i += 4) { + b1 = base64ReverseLookup[b64.charCodeAt(i+1)]; + b2 = base64ReverseLookup[b64.charCodeAt(i+2)]; + uint8Array[j++] = base64ReverseLookup[b64.charCodeAt(i)] << 2 | b1 >> 4; + if (j < end) uint8Array[j++] = b1 << 4 | b2 >> 2; + if (j < end) uint8Array[j++] = b2 << 6 | base64ReverseLookup[b64.charCodeAt(i+3)]; + } + return uint8Array; + } +memorySegments[0] = base64DecodeToExistingUint8Array(new Uint8Array(37819), 0, "ZnNldAAlcy8lcwAlcy4lcwB2ZWN0b3IAZGVidWcAd2IAJW0tJWQtJVktJUgtJU0tJVMATWFya2VyIE9LLgAsAEFzc2VydGlvbiBgeCA+PSBtTWluWGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHdpZHRoID49IDVgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3aWR0aCA+PSAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgd2lkdGggPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgcHlyYW1pZC0+c2l6ZSgpID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1TdGFydFRpbWUgPj0gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYChzcmNfd2lkdGglMikgPT0gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltLndpZHRoKCkgPT0gaW0uc3RlcCgpL3NpemVvZihmbG9hdClgIGZhaWxlZCBpbiAAIAkKDQBFcnJvcjogbWFsbG9jCgBFcnJvciAxOiBpY3BHZXRJbml0WHcyWGMKACA9PT0gbWF0cml4ICglZCwlZCkgPT09CgAgPT09IHZlY3RvciAoJWQpID09PQoAPz8/IDEKAEVycm9yOiBsYWJlbGluZyB3b3JrIG92ZXJmbG93LgoAIyMjIEZlYXR1cmUgY2FuZGlkYXRlcyBmb3IgdHJhY2tpbmcgYXJlIG92ZXJmbG93LgoAYXJnbENhbWVyYUZydXN0dW1SSCgpOiBhclBhcmFtRGVjb21wTWF0KCkgaW5kaWNhdGVkIHBhcmFtZXRlciBlcnJvci4KAGFyVmlkZW9PcGVuOiBFcnJvciwgdmlkZW8gZGV2aWNlIGFscmVhZHkgb3Blbi4KAGtwbURlbGV0ZVJlZkRhdGFTZXQoKTogTlVMTCByZWZEYXRhU2V0UHRyL3JlZkltYWdlLgoAU3RhcnQgdHJhY2tpbmdfdGhyZWFkICMlZC4KAE91dCBvZiBtZW1vcnkhIQoARGF0YSBudW0gZXJyb3IhIQoAdwBJRCBhbHJlYWR5IGV4aXN0cwAlcyVzACVzLiVzAHZlY3RvcgAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL29yaWVudGF0aW9uX2Fzc2lnbm1lbnQuY3BwAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9mcmFtZXdvcmsvdGltZXJzLmNwcAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2hhcnJpcy5jcHAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9Eb0dfc2NhbGVfaW52YXJpYW50X2RldGVjdG9yLmNwcAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMvaG91Z2hfc2ltaWxhcml0eV92b3RpbmcuY3BwAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9mcmFtZXdvcmsvaW1hZ2UuY3BwAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvZ2F1c3NpYW5fc2NhbGVfc3BhY2VfcHlyYW1pZC5jcHAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9weXJhbWlkLmNwcABpbmZvAEVycm9yOiBpY3BHZXRKX1VfWGMAd2IAcmIAQVJfUElYRUxfRk9STUFUX1JHQgBQYXR0ZXJuIGV4dHJhY3Rpb24gZmFpbGVkLgBBc3NlcnRpb24gYHB5cmFtaWRgIGZhaWxlZCBpbiAAVHJhY2tpbmcgdGhyZWFkID0gJWQKAFNJWkUgPSAlZCwgJWQKAEVycm9yIDI6IGljcEdldEluaXRYdzJYYwoAPz8/IDIKAEVycm9yOiB1bnN1cHBvcnRlZCBwaXhlbCBmb3JtYXQuCgBhclZpZGVvT3BlbkFzeW5jOiBFcnJvciwgdmlkZW8gZGV2aWNlIGFscmVhZHkgb3Blbi4KAFVua25vd24gb3IgdW5zdXBwb3J0ZWQgbGFiZWxpbmcgdGhyZXNob2xkIG1vZGUgcmVxdWVzdGVkLiBTZXQgdG8gbWFudWFsLgoAa3BtRGVsZXRlUmVmRGF0YVNldCgpOiAwIHhzaXplL3lzaXplL2RwaS4KAEVycm9yICglZCk6IHVuYWJsZSB0byBvcGVuIGNhbWVyYSBwYXJhbWV0ZXJzIGZpbGUgIiVzIiBmb3Igd3JpdGluZy4KAEVycm9yOiBOVUxMIHBhdHRIYW5kbGUuCgBFbmQgdHJhY2tpbmdfdGhyZWFkICMlZC4KAEVycm9yOiB1bmFibGUgdG8gb3BlbiBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnLgoAT3V0IG9mIG1lbW9yeSEhCgByAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9mcmVhay5oAHdhcm5pbmcAICUxMGcAQnVpbGQgUHlyYW1pZAAlNGQAd2IAcmIAQVJfUElYRUxfRk9STUFUX0JHUgBNQU5VQUwAQVJfUElYRUxfRk9STUFUX1JHQgBHZW5lcmljIGVycm9yIGR1cmluZyBtYXRjaGluZyBwaGFzZS4AIGxpbmUgACVzJXMKAEZpbGUgb3BlbiBlcnJvci4gJXMKAERpc3RvcnRpb24gZmFjdG9yOiBrMT0lMS4xMGYsIGsyPSUxLjEwZiwgcDE9JTEuMTBmLCBwMj0lMS4xMGYKAEVycm9yOiBtYWxsb2MKAEVycm9yIDM6IGljcEdldEluaXRYdzJYYwoARXJyb3IgaWNwR2V0Sl9VX1MKAD09PT09PSAlcyA9PT09PT09PQoAPz8/IDMKAEVycm9yOiBjYW4ndCBsb2FkIHBhdHRlcm4gZnJvbSBOVUxMIGJ1ZmZlci4KAGtwbVNldFJlZkRhdGFTZXQoKTogTlVMTCBrcG1IYW5kbGUvZmlsZW5hbWUuCgBFcnJvciBzYXZpbmcgZmVhdHVyZSBtYXA6IGVycm9yIHdyaXRpbmcgZGF0YS4KAE91dCBvZiBtZW1vcnkhIQoAZXJyb3IARnJlYWsgZmVhdHVyZXMgLSAlZAByYgBBUl9QSVhFTF9GT1JNQVRfQkdSAEFVVE9fTUVESUFOAEFSX1BJWEVMX0ZPUk1BVF9SR0JBAEluc3VmZmljaWVudCBjb250cmFzdCBkdXJpbmcgbWF0Y2hpbmcuACU3LjVmIAAgbGluZSAARXJyb3Igb3BlbmluZyBmaWxlICclcyc6IAAgICAgICAgICAgICAgICAgICBmeD0lZiwgZnk9JWYsIHgwPSVmLCB5MD0lZiwgcz0lZgoARXJyb3IgNDogaWNwR2V0SW5pdFh3MlhjCgBFcnJvciBpY3BHZXRVX2Zyb21fWF9ieV9NYXRYMlUKAEVycm9yIGFsbG9jYXRpbmcgbWVtb3J5LgoARXJyb3I6IG91dCBvZiBtZW1vcnkuCgBFcnJvcjogVW5hYmxlIHRvIG9wZW4gZmlsZSAnJXMnIGZvciB3cml0aW5nLgoARXJyb3I6IHVuYWJsZSB0byBvcGVuIGZpbGUgJyVzJXMnIGZvciByZWFkaW5nLgoAT3V0IG9mIG1lbW9yeSEhCgBTdGVwIHNpemUgbXVzdCBiZSBlcXVhbCB0byB3aWR0aCBmb3Igbm93AEV4dHJhY3QgRmVhdHVyZXMAJXMAV2lkdGggY2Fubm90IGJlIHplcm8AU291cmNlIHdpZHRoIG11c3QgYmUgZXZlbgBJbWFnZSBpcyB0b28gc21hbGwAeCBvdXQgb2YgcmFuZ2UAQ2xvY2sgaGFzIG5vdCBiZWVuIHN0YXJ0ZWQAUHlyYW1pZCBpcyBub3QgYWxsb2NhdGVkACVkAHJiAEFVVE9fT1RTVQBBUl9QSVhFTF9GT1JNQVRfQkdSQQBBUl9QSVhFTF9GT1JNQVRfUkdCQQB3cCBtdXN0IGJlIGF0IGxlYXN0IDEAQmFyY29kZSBtYXRjaGluZyBjb3VsZCBub3QgZmluZCBjb3JyZWN0IGJhcmNvZGUgbG9jYXRvciBwYXR0ZXJuLgBbJXNdIAA6IAAlcyVzCgBEaXN0b3J0aW9uIGZhY3RvciA9ICVmICVmICVmICVmICVmICVmCgBFcnJvciA1OiBpY3BHZXRJbml0WHcyWGMKAEVycm9yIGljcEdldFhjX2Zyb21fWHdfYnlfTWF0WHcyWGMKAEVycm9yIHJlYWRpbmcgaW1hZ2VTZXQuCgBFcnJvciB3aGlsZSBhZGRpbmcgcmVmZXJlbmNlIGRhdGEgc2V0OiBrcG1HZW5SZWZEYXRhU2V0KCkgZmFpbGVkLgoARXJyb3Igb3BlbmluZyAnJXMnLgoAQ2FuJ3Qgb3BlbiBKUEVHIGZpbGUgJyVzJwoAT3V0IG9mIG1lbW9yeSEhCgBQYXR0ZXJuIERhdGEgcmVhZCBlcnJvciEhCgBSZWFkIGVycm9yISEKAFslc10gWyVzXSBbJXNdIDogRm91bmQgJWQgZmVhdHVyZXMAJWYAd2IAQVJfUElYRUxfRk9STUFUX0FCR1IAUHlyYW1pZCBpcyBOVUxMAEFVVE9fQURBUFRJVkUAQVJfUElYRUxfRk9STUFUX0JHUkEAQmFyY29kZSBtYXRjaGluZyBlcnJvciBkZXRlY3Rpb24vY29ycmVjdGlvbiBmb3VuZCB1bnJlY292ZXJhYmxlIGVycm9yLgBFcnJvciBjcmVhdGluZyBmdWxsIGZpbGUgcGF0aCBmcm9tICclcycgYW5kICclcycAQXNzZXJ0aW9uIGB4IDwgbU1heFhgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBoZWlnaHQgPj0gNWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGhlaWdodCA+PSAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaGVpZ2h0ID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1JbWFnZXMuc2l6ZSgpID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHggPj0gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1TdG9wVGltZSA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0ICE9IDBgIGZhaWxlZCBpbiAAJXMlcwoARGlzdG9ydGlvbiBmYWN0b3IgPSAlZiAlZiAlZiAlZiAlZgoARXJyb3IgPSAlZgoARXJyb3IgNjogaWNwR2V0SW5pdFh3MlhjCgAgICAgICAgICBJbWFnZVNpemUgPSAlN2RbcGl4ZWxdCgA9PT09PT09PT0gJWQgPT09PT09PT09PT0KAEltYWdlc2V0IGNvbnRhaW5zICVkIGltYWdlcy4KAEVycm9yOiBVbmFibGUgdG8gb3BlbiBmaWxlICclcycgZm9yIHJlYWRpbmcuCgBFcnJvciAoJWQpOiB1bmFibGUgdG8gb3BlbiBjYW1lcmEgcGFyYW1ldGVycyBmaWxlICIlcyIgZm9yIHJlYWRpbmcuCgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcyc6IEZpcnN0IGxpbmUgbXVzdCBiZSBudW1iZXIgb2YgbWFya2VyIGNvbmZpZ3MgdG8gcmVhZC4KAEVycm9yIHJlYWRpbmcgcGF0dGVybiBmaWxlICclcycuCgBIZWlnaHQgY2Fubm90IGJlIHplcm8AJWYgJWYgJWYgJWYAeCBtdXN0IGJlIHBvc2l0aXZlAExhcGxhY2lhbiBweXJhbWlkIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQAQ2xvY2sgaGFzIG5vdCBiZWVuIHN0b3BwZWQAQVJfUElYRUxfRk9STUFUX0FCR1IAQVJfUElYRUxfRk9STUFUX01PTk8ARGVzdGluYXRpb24gaXMgTlVMTABBVVRPX0JSQUNLRVRJTkcAaHAgbXVzdCBiZSBhdCBsZWFzdCAxAEVycm9yICglZCk6IHVuYWJsZSB0byBkZXRlcm1pbmUgZmlsZSBsZW5ndGguAE1hdGNoaW5nIGNvbmZpZGVuY2UgY3V0b2ZmIHZhbHVlIG5vdCByZWFjaGVkLgBBc3NlcnRpb24gYHkgPj0gbU1pbllgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbWFnZS50eXBlKCkgPT0gSU1BR0VfVUlOVDhgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBzdG9yZS5zaXplKCkgPT0gcG9pbnRzLnNpemUoKWAgZmFpbGVkIGluIAAgSU5GTyAgACVzJXMKAERpc3RvcnRpb24gZmFjdG9yID0gJWYgJWYgJWYgJWYKAEVycm9yIDc6IGljcEdldEluaXRYdzJYYwoARXh0cmFjdGVkIGZlYXR1cmVzID0gJTdkW3BpeGVsXQoARXJyb3IgaWNwMkdldFRTCgBGYWxsaW5nIGJhY2sgdG8gcmVhZGluZyAnJXMlcycgaW4gQVJUb29sS2l0IHY0LnggZm9ybWF0LgoARXJyb3IgaW4gb3BlbmluZyAnJXMnIGluIHppcGZpbGUuCgBFcnJvciByZWFkaW5nIEpQRUcgZmlsZS4KAEVycm9yIHdoaWxlIGFkZGluZyByZWZlcmVuY2UgZGF0YSBzZXQ6IGtwbU1lcmdlUmVmRGF0YVNldCgpIGZhaWxlZC4KAEVycm9yIHNhdmluZyBmZWF0dXJlIHNldDogZXJyb3Igd3JpdGluZyBkYXRhLgoAT3V0IG9mIG1lbW9yeSEhCgAAAAAAAAAAAAAAAACpDAAAbQ4AALMQAADGEgAA0hYAAEJ1aWxkIEluZGV4AFslc10gWyVzXSBbJXNdIDogJXM6ICVmIG1zAEltYWdlIG11c3QgYmUgZ3JheXNjYWxlAHkgb3V0IG9mIHJhbmdlAEZlYXR1cmUgc3RvcmUgaGFzIG5vdCBiZWVuIGFsbG9jYXRlZAAlZAAlbGx1JWMAd2IAQVJfUElYRUxfRk9STUFUX01PTk8AQVJfUElYRUxfRk9STUFUX0FSR0IATWF4aW11bSBhbGxvd2FibGUgcG9zZSBlcnJvciBleGNlZWRlZC4AQXNzZXJ0aW9uIGBzdGVwID49IHdpZHRoYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaSsxK2NodW5rX3NpemUgPCB3aWR0aGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHB5cmFtaWQtPm51bU9jdGF2ZXMoKSA+IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBzcmMgIT0gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHggPCBtR3JhZGllbnRzW29jdGF2ZSptTnVtU2NhbGVzUGVyT2N0YXZlK3NjYWxlXS53aWR0aCgpYCBmYWlsZWQgaW4gAEVycm9yIGluIG9wZW5pbmcgJyVzJyBmb3IgcmVhZGluZwoAIEZpbHRlcmVkIGZlYXR1cmVzID0gJTdkW3BpeGVsXQoATGFiZWxpbmcgdGhyZXNob2xkIG1vZGUgc2V0IHRvICVzLgoARXJyb3IgcmVhZGluZyBKUEVHIGZpbGUgaGVhZGVyLgoARXJyb3I6IHN1cHBsaWVkIGZpbGUgZG9lcyBub3QgYXBwZWFyIHRvIGJlIGFuIEFSVG9vbEtpdCBjYW1lcmEgcGFyYW1ldGVyIGZpbGUuCgBrcG1EZWxldGVSZWZEYXRhU2V0KCk6IE5VTEwgcmVmRGF0YVNldFB0cjEvcmVmRGF0YVNldFB0cjIuCgBDYW4ndCByZWFkIEpQRUcgZmlsZSAnJXMnCgBBUl9QSVhFTF9GT1JNQVRfMnZ1eQBQeXJhbWlkIGRvZXMgbm90IGNvbnRhaW4gYW55IGxldmVscwBTdGVwIG11c3QgYmUgZ3JlYXRlciB0aGFuIG9yIGVxdWFsIHRoZSB3aWR0aAB4IG11c3QgYmUgbGVzcyB0aGFuIHRoZSBpbWFnZSB3aWR0aABFeHRlbmRpbmcgYmV5b25kIHRoZSB3aWR0aCBvZiB0aGUgaW1hZ2UAU291cmNlIGlzIE5VTEwAQVJfUElYRUxfRk9STUFUX0FSR0IARXJyb3IgKCVkKTogdW5hYmxlIHRvIHJlYWQgZnJvbSBmaWxlLgBNdWx0aS1tYXJrZXIgcG9zZSBlcnJvciB2YWx1ZSBleGNlZWRlZC4ADSU0ZC8lNGQuAEFzc2VydGlvbiBgcHlyYW1pZGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHkgPCBtTWF4WWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltYWdlLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYG51bV9wb2ludHMgPT0gcG9pbnRzLnNpemUoKWAgZmFpbGVkIGluIAAlNy41ZiAAIElORk8gIABrcG1TZXRSZWZEYXRhU2V0KCk6IE5VTEwga3BtSGFuZGxlL3JlZkRhdGFTZXQuCgBrcG1EZWxldGVSZWZEYXRhU2V0KCk6IE5VTEwgcmVmRGF0YVNldFB0ci4KAEVycm9yOiB1bmFibGUgdG8gb3BlbiBmaWxlICclcycgZm9yIHdyaXRpbmcuCgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcyc6IHBhdHRlcm4gJyVzJyBzcGVjaWZpZWQgaW4gbXVsdGltYXJrZXIgY29uZmlndXJhdGlvbiB3aGlsZSBpbiBiYXJjb2RlLW9ubHkgbW9kZS4KAEVycm9yOiBVbnN1cHBvcnRlZCBwaXhlbCBmb3JtYXQgKCVkKSByZXF1ZXN0ZWQuCgBFcnJvciBpbiByZWFkaW5nICclcycuCgAKIyMjIFN1cmZhY2UgTm8uJWQgIyMjCgBBUl9QSVhFTF9GT1JNQVRfMnZ1eQBBUl9QSVhFTF9GT1JNQVRfeXV2cwAlcwBJbWFnZSBtdXN0IGhhdmUgMSBjaGFubmVsAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy92aXN1YWxfZGF0YWJhc2UuaABTaG91bGQgYmUgc2FtZSBzaXplAFJlamVjdGVkIGZyZXF1ZW50bHkgbWlzcmVjb2duaXNlZCBtYXRyaXggbWFya2VyLgBBc3NlcnRpb24gYGJ1Y2tldFswXS5maXJzdCA+PSBidWNrZXRbbl0uZmlyc3RgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBhbmdsZSA+IC1QSWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGNoYW5uZWxzID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHNyY193aWR0aCA+IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB5ID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBkeW5hbWljX2Nhc3Q8Y29uc3QgQmlub21pYWxQeXJhbWlkMzJmKj4ocHlyYW1pZClgIGZhaWxlZCBpbiAAa3BtU2F2ZVJlZkRhdGFTZXQoKTogTlVMTCBmaWxlbmFtZS9yZWZEYXRhU2V0LgoAa3BtU2V0UmVmRGF0YVNldCgpOiByZWZEYXRhU2V0LgoARXJyb3I6IHN1cHBsaWVkIGJ1ZmZlciBkb2VzIG5vdCBhcHBlYXIgdG8gYmUgQVJUb29sS2l0IGNhbWVyYSBwYXJhbWV0ZXJzLgoARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnOiBVbmFibGUgdG8gZGV0ZXJtaW5lIGRpcmVjdG9yeSBuYW1lLgoARXJyb3IgaW4gd3JpdGluZyAnJXMnIGluIHRoZSB6aXBmaWxlLgoARXJyb3Igc2F2aW5nIGltYWdlIHNldDogZXJyb3Igd3JpdGluZyBkYXRhLgoAQVJfUElYRUxfRk9STUFUX3l1dnMATnVtYmVyIG9mIGNoYW5uZWxzIGNhbm5vdCBiZSB6ZXJvAHkgbXVzdCBiZSBwb3NpdGl2ZQBXaWR0aCBtdXN0IGJlIHBvc2l0aXZlAGFuZ2xlIG91dCBvZiByYW5nZQBPbmx5IGJpbm9taWFsIHB5cmFtaWQgaXMgc3VwcG9ydGVkAG50aF9lbGVtZW50IGZhaWxlZABBUl9QSVhFTF9GT1JNQVRfUkdCXzU2NQBBc3NlcnRpb24gYG1QeXJhbWlkLnNpemUoKSA9PSBtTnVtT2N0YXZlcyptTnVtU2NhbGVzUGVyT2N0YXZlYCBmYWlsZWQgaW4gACBsaW5lIABGaWVsZC1vZi12aWV3IHZlcnRpY2FsID0gJS4xZiwgaG9yaXpvbnRhbCA9ICUuMWYgZGVncmVlcywgYXNwZWN0IHJhdGlvID0gJS4zZgoATWF4IGZlYXR1cmUgPSAlZAoAICBSZWFkIEltYWdlU2V0LgoARXJyb3Igc2F2aW5nIEtQTSBkYXRhOiB1bmFibGUgdG8gb3BlbiBmaWxlICclcyVzJXMnIGZvciB3cml0aW5nLgoARXJyb3IgKCVkKTogdW5hYmxlIHRvIG9wZW4gZXh0ZXJuYWwgcGFyYW1ldGVycyBmaWxlICIlcyIgZm9yIHdyaXRpbmcuCgBFcnJvciBpbiBjbG9zaW5nICVzIGluIHRoZSB6aXBmaWxlLgoAQXV0byB0aHJlc2hvbGQgKGJyYWNrZXQpIG1hcmtlciBjb3VudHMgLVslM2Q6ICUzZF0gWyUzZDogJTNkXSBbJTNkOiAlM2RdKy4KAEVycm9yIHByb2Nlc3NpbmcgbXVsdGltYXJrZXIgY29uZmlnIGZpbGUgJyVzJzogVW5hYmxlIHRvIGxvYWQgcGF0dGVybiAnJXMnLgoAT3V0IG9mIG1lbW9yeSEhCgBQeXJhbWlkIGhhcyBub3QgYmVlbiBhbGxvY2F0ZWQgeWV0ACVsZgBBUl9QSVhFTF9GT1JNQVRfUkdCXzU2NQBBUl9QSVhFTF9GT1JNQVRfUkdCQV81NTUxAC4AQXNzZXJ0aW9uIGBwWzBdID4gcG0xWy0xXWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGFuZ2xlIDw9IFBJYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZC50eXBlKCkgPT0gSU1BR0VfRjMyYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgc3JjX2hlaWdodCA+IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBvY3RhdmUgPj0gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHkgPCBtR3JhZGllbnRzW29jdGF2ZSptTnVtU2NhbGVzUGVyT2N0YXZlK3NjYWxlXS5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1EYXRhLmdldCgpYCBmYWlsZWQgaW4gADogACUzZDogKCUzZCwlM2QpIDogJWYgbWluPSVmIG1heD0lZiwgc2Q9JWYKAHBvaW50cy0lZAoARXJyb3IgKCVkKTogdW5hYmxlIHRvIG9wZW4gZXh0ZXJuYWwgcGFyYW1ldGVycyBmaWxlICIlcyIgZm9yIHJlYWRpbmcuCgBBdXRvIHRocmVzaG9sZCAoYnJhY2tldCkgYWRqdXN0ZWQgdGhyZXNob2xkIHRvICVkLgoARXJyb3Igb3BlbmluZyBmaWxlICclcy5pc2V0Jy4KAEVycm9yIGluIGNsb3NpbmcgJyVzJy4KAHkgbXVzdCBiZSBsZXNzIHRoYW4gdGhlIGltYWdlIGhlaWdodAAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvZGV0ZWN0b3JzL2dhdXNzaWFuX3NjYWxlX3NwYWNlX3B5cmFtaWQuaABIZWlnaHQgbXVzdCBiZSBwb3NpdGl2ZQBPbmx5IEYzMiBpbWFnZXMgc3VwcG9ydGVkAFNob3VsZCBiZSBtYXhpbWEARGF0YSBwb2ludGVyIGlzIE5VTEwAUHlyYW1pZCBpcyBOVUxMAEFSX1BJWEVMX0ZPUk1BVF9SR0JBXzQ0NDQAQVJfUElYRUxfRk9STUFUX1JHQkFfNTU1MQBBc3NlcnRpb24gYHNjYWxlID49IG1NaW5TY2FsZWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltYWdlLndpZHRoKCkgPT0gbVB5cmFtaWRbMF0ud2lkdGgoKWAgZmFpbGVkIGluIABbJSAuM2YgJSAuM2YgJSAuM2ZdIFslIDYuMWZdCgBFcnJvciBwcm9jZXNzaW5nIG11bHRpbWFya2VyIGNvbmZpZyBmaWxlICclcycsIG1hcmtlciBkZWZpbml0aW9uICUzZDogRmlyc3QgbGluZSBtdXN0IGJlIHBhdHRlcm4gd2lkdGguCgBFcnJvciAoJWQpOiB1bmFibGUgdG8gb3BlbiBvcHRpY2FsIHBhcmFtZXRlcnMgZmlsZSAiJXMiIGZvciB3cml0aW5nLgoAa3BtU2V0UmVmRGF0YVNldEZpbGUoKTogTlVMTCBrcG1IYW5kbGUvZmlsZW5hbWUuCgAgICAgZW5kLgoAQXV0byB0aHJlc2hvbGQgKCVzKSBhZGp1c3RlZCB0aHJlc2hvbGQgdG8gJWQuCgAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KAEFSX1BJWEVMX0ZPUk1BVF80MjB2AG1lZGlhbgAlbGYgJWxmICVsZiAlbGYAT2N0YXZlIG11c3QgYmUgcG9zaXRpdmUAc2NhbGUgb3V0IG9mIHJhbmdlAEltYWdlIG9mIHdyb25nIHNpemUgZm9yIHB5cmFtaWQAVW5hYmxlIHRvIGFsbG9jYXRlIGltYWdlIGRhdGEAQVJfUElYRUxfRk9STUFUX1JHQkFfNDQ0NABBc3NlcnRpb24gYGRldGVjdG9yYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgcFswXSA+IHBtMVswXWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltMS50eXBlKCkgPT0gSU1BR0VfRjMyYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZy5jaGFubmVscygpID09IDJgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBzcmNfc3RlcCA+IDBgIGZhaWxlZCBpbiAAJTNkLCAlM2Q6IG1heF9zaW0gPSAlZgoAICBSZWFkIEZlYXR1cmVTZXQuCgBDYW5ub3QgZmluZCB0aGUgcGFnZSBmb3Igc2tpcHBpbmcuCgBFcnJvciAoJWQpOiB1bmFibGUgdG8gb3BlbiBvcHRpY2FsIHBhcmFtZXRlcnMgZmlsZSAiJXMiIGZvciByZWFkaW5nLgoARXJyb3Igc2F2aW5nIEtQTSBkYXRhOiBlcnJvciB3cml0aW5nIGRhdGEuCgBBUl9QSVhFTF9GT1JNQVRfNDIwdgBPdHN1AEFSX1BJWEVMX0ZPUk1BVF80MjBmACVmICVmAFN0ZXAgbXVzdCBiZSBwb3NpdGl2ZQBJbnZhbGlkIGltYWdlIHR5cGUARGV0ZWN0b3IgaXMgTlVMTABOdW1iZXIgb2YgY2hhbm5lbHMgc2hvdWxkIGJlIDIAQXNzZXJ0aW9uIGBvY3RhdmUgPCBtTnVtT2N0YXZlc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYHNjYWxlIDwgbU1heFNjYWxlYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgcFswXSA+IHBtMVsxXWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltMi50eXBlKCkgPT0gSU1BR0VfRjMyYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW1hZ2UuaGVpZ2h0KCkgPT0gbVB5cmFtaWRbMF0uaGVpZ2h0KClgIGZhaWxlZCBpbiAAJTcuNGYgAGtwbUxvYWRSZWZEYXRhU2V0KCk6IE5VTEwgZmlsZW5hbWUvcmVmRGF0YVNldFB0ci4KAGtwbU1hdGNoaW5nKCk6IE5VTEwga3BtSGFuZGxlL2luSW1hZ2VMdW1hLgoARXJyb3Igb3BlbmluZyBmaWxlICclcy5mc2V0Jy4KAAAAAAAAAAAAAAEAAAABAAAAAQAAAAAAAAD//////////////////////////wAAAAABAAAAAQAAAAEAAAAAAAAA/////wEAAAAJAAAABQAAAAQAAAADAAAAAgAAAAAAAAAAAAAAAAAAAQABAQEAAgT//wUDAQAC/wYH/wMBAgIDAgMCAwMA/wQGBwX/AQQFBAQFBQQFBwYGBgcHBwb/AgQGBwUD/wD//wP/BQb//wkK/wz//w//ERL/FP//Fxj//xv/HR7//wEC/wT//wcI//8L/w0O/xD//xP/FRb//xka/xz//x8BAAAAAgAAAAQAAAAIAAAAAwAAAAYAAAAMAAAACwAAAAUAAAAKAAAABwAAAA4AAAAPAAAADQAAAAkAAAAAAAAA/////wAAAAABAAAABAAAAAIAAAAIAAAABQAAAAoAAAADAAAADgAAAAkAAAAHAAAABgAAAA0AAAALAAAADAAAAAEAAAACAAAABAAAAAgAAAAQAAAABQAAAAoAAAAUAAAADQAAABoAAAARAAAABwAAAA4AAAAcAAAAHQAAAB8AAAAbAAAAEwAAAAMAAAAGAAAADAAAABgAAAAVAAAADwAAAB4AAAAZAAAAFwAAAAsAAAAWAAAACQAAABIAAAAAAAAA/////wAAAAABAAAAEgAAAAIAAAAFAAAAEwAAAAsAAAADAAAAHQAAAAYAAAAbAAAAFAAAAAgAAAAMAAAAFwAAAAQAAAAKAAAAHgAAABEAAAAHAAAAFgAAABwAAAAaAAAAFQAAABkAAAAJAAAAEAAAAA0AAAAOAAAAGAAAAA8AAAABAAAAAgAAAAQAAAAIAAAAEAAAACAAAABAAAAAAwAAAAYAAAAMAAAAGAAAADAAAABgAAAAQwAAAAUAAAAKAAAAFAAAACgAAABQAAAAIwAAAEYAAAAPAAAAHgAAADwAAAB4AAAAcwAAAGUAAABJAAAAEQAAACIAAABEAAAACwAAABYAAAAsAAAAWAAAADMAAABmAAAATwAAAB0AAAA6AAAAdAAAAGsAAABVAAAAKQAAAFIAAAAnAAAATgAAAB8AAAA+AAAAfAAAAHsAAAB1AAAAaQAAAFEAAAAhAAAAQgAAAAcAAAAOAAAAHAAAADgAAABwAAAAYwAAAEUAAAAJAAAAEgAAACQAAABIAAAAEwAAACYAAABMAAAAGwAAADYAAABsAAAAWwAAADUAAABqAAAAVwAAAC0AAABaAAAANwAAAG4AAABfAAAAPQAAAHoAAAB3AAAAbQAAAFkAAAAxAAAAYgAAAEcAAAANAAAAGgAAADQAAABoAAAAUwAAACUAAABKAAAAFwAAAC4AAABcAAAAOwAAAHYAAABvAAAAXQAAADkAAAByAAAAZwAAAE0AAAAZAAAAMgAAAGQAAABLAAAAFQAAACoAAABUAAAAKwAAAFYAAAAvAAAAXgAAAD8AAAB+AAAAfwAAAH0AAAB5AAAAcQAAAGEAAABBAAAAAAAAAP////8AAAAAAQAAAAcAAAACAAAADgAAAAgAAAA4AAAAAwAAAD8AAAAPAAAAHwAAAAkAAABaAAAAOQAAABUAAAAEAAAAHAAAAEAAAABDAAAAEAAAAHAAAAAgAAAAYQAAAAoAAABsAAAAWwAAAEYAAAA6AAAAJgAAABYAAAAvAAAABQAAADYAAAAdAAAAEwAAAEEAAABfAAAARAAAAC0AAAARAAAAKwAAAHEAAABzAAAAIQAAAE0AAABiAAAAdQAAAAsAAABXAAAAbQAAACMAAABcAAAASgAAAEcAAABPAAAAOwAAAGgAAAAnAAAAZAAAABcAAABSAAAAMAAAAHcAAAAGAAAAfgAAADcAAAANAAAAHgAAAD4AAAAUAAAAWQAAAEIAAAAbAAAAYAAAAG8AAABFAAAAawAAAC4AAAAlAAAAEgAAADUAAAAsAAAAXgAAAHIAAAAqAAAAdAAAAEwAAAAiAAAAVgAAAE4AAABJAAAAYwAAAGcAAAB2AAAAUQAAAAwAAAB9AAAAWAAAAD0AAABuAAAAGgAAACQAAABqAAAAXQAAADQAAABLAAAAKQAAAEgAAABVAAAAUAAAAGYAAAA8AAAAfAAAAGkAAAAZAAAAKAAAADMAAABlAAAAVAAAABgAAAB7AAAAUwAAADIAAAAxAAAAegAAAHgAAAB5AAAAT2N0YXZlIG11c3QgYmUgbGVzcyB0aGFuIG51bWJlciBvZiBvY3RhdmVzAEFSX1BJWEVMX0ZPUk1BVF80MjBmAEFSX1BJWEVMX0ZPUk1BVF9OVjIxAEFzc2VydGlvbiBgcFswXSA+IHBbLTFdYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0LnR5cGUoKSA9PSBJTUFHRV9GMzJgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBkLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYG1heF9oZWlnaHQgPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0X3dpZHRoID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHNpemUgPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgcHlyYW1pZC0+aW1hZ2VzKCkuc2l6ZSgpID4gMGAgZmFpbGVkIGluIABQYWdlWyVkXSAgcHJlOiUzZCwgYWZ0OiUzZCwgZXJyb3IgPSAlZgoAJTNkLCAlM2Q6IG1heF9zaW0gPSAlZiwgKG1heCxtaW4pID0gJWYsICVmLCBzZCA9ICVmCgAgIFJlYWQgTWFya2VyU2V0LgoARXJyb3IgcHJvY2Vzc2luZyBtdWx0aW1hcmtlciBjb25maWcgZmlsZSAnJXMnLCBtYXJrZXIgZGVmaW5pdGlvbiAlM2Q6IExpbmVzIDIgLSA0IG11c3QgYmUgbWFya2VyIHRyYW5zZm9ybS4KAEVycm9yIGxvYWRpbmcgS1BNIGRhdGE6IHVuYWJsZSB0byBvcGVuIGZpbGUgJyVzJXMlcycgZm9yIHJlYWRpbmcuCgBQeXJhbWlkIGlzIGVtcHR5AERlc3RpbmF0aW9uIGltYWdlIHNob3VsZCBiZSBhIGZsb2F0AG1yawBzaXplIG11c3QgYmUgcG9zaXRpdmUATWF4aW11bSBiaW4gc2hvdWxkIGJlIHBvc2l0aXZlAE9ubHkgc2luZ2xlIGNoYW5uZWwgaW1hZ2VzIHN1cHBvcnRlZABBUl9QSVhFTF9GT1JNQVRfTlYyMQBBc3NlcnRpb24gYHBbMF0gPiBwWzFdYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0X3N0ZXAgPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgc2NhbGUgPj0gMGAgZmFpbGVkIGluIABKUEVHIGZpbGUgaGFzIHVuc3VwcG9ydGVkICVkLWNvbXBvbmVudCBwaXhlbHMKAEVycm9yIGxvYWRpbmcgS1BNIGRhdGE6IGVycm9yIHJlYWRpbmcgZGF0YS4KAGFyVXRpbEdldFBpeGVsRm9ybWF0TmFtZTogRXJyb3IsIHVucmVjb2duaXNlZCBwaXhlbCBmb3JtYXQgKCVkKS4KAFNjYWxlIG11c3QgYmUgcG9zaXRpdmUAVW5rbm93biBpbWFnZSB0eXBlAEFzc2VydGlvbiBgcFswXSA+IHBwMVstMV1gIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBoaXN0ICE9IE5VTExgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoc3JjX3dpZHRoJTIpID09IDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTEuY2hhbm5lbHMoKSA9PSAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbVJlZkltYWdlV2lkdGggPiAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgcHlyYW1pZC0+aW1hZ2VzKClbMF0ud2lkdGgoKSA9PSBkZXRlY3Rvci0+d2lkdGgoKWAgZmFpbGVkIGluIABPdXQgb2YgbWVtb3J5LgoAa3BtQ2hhbmdlUGFnZU5vT2ZSZWZEYXRhU2V0KCk6IE5VTEwgcmVmRGF0YVNldC4KAGFyVmlkZW9VdGlsR2V0UGl4ZWxGb3JtYXROYW1lOiBFcnJvciwgdW5yZWNvZ25pc2VkIHBpeGVsIGZvcm1hdCAoJWQpLgoARXJyb3Igb3BlbmluZyBmaWxlICclcy5tcmsnLgoAJSUlMDJ4AHZlY3RvcgBQeXJhbWlkIGFuZCBkZXRlY3RvciBzaXplIG1pc21hdGNoAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvb3JpZW50YXRpb25fYXNzaWdubWVudC5oACVmICVmICVmICVmAHdpZHRoIG11c3QgYmUgcG9zaXRpdmUAVW5zdXBwb3J0ZWQgaW1hZ2UgdHlwZQBTb3VyY2Ugd2lkdGggbXVzdCBiZSBvZGQAQXNzZXJ0aW9uIGBzY2FsZSA8IG1OdW1TY2FsZXNQZXJPY3RhdmVgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBwWzBdID4gcHAxWzBdYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0yLmNoYW5uZWxzKCkgPT0gMWAgZmFpbGVkIGluIAAvcHJvYy9zZWxmL2V4ZQBTY2FsZSBtdXN0IGJlIGxlc3MgdGhhbiBudW1iZXIgb2Ygc2NhbGUgcGVyIG9jdGF2ZQBIaXN0b2dyYW0gcG9pbnRlciBpcyBOVUxMAEFzc2VydGlvbiBgcFswXSA+IHBwMVsxXWAgZmFpbGVkIGluIABBc3NlcnRpb24gYChjaHVua19zaXplJTIpPT0wYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbVJlZkltYWdlSGVpZ2h0ID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHB5cmFtaWQtPmltYWdlcygpWzBdLmhlaWdodCgpID09IGRldGVjdG9yLT5oZWlnaHQoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGQud2lkdGgoKSA9PSBpbTIud2lkdGgoKWAgZmFpbGVkIGluIABUcmFuc2Zvcm1hdGlvbiBtYXRyaXggcmVhZCBlcnJvciEhCgB2ZWN0b3IASW1hZ2VzIG11c3QgaGF2ZSB0aGUgc2FtZSB3aWR0aABqcGcAVW50ZXN0ZWQgYmVoYXZpb3IgZm9yIG9kZCBjaHVuayBzaXplAGhlaWdodCBtdXN0IGJlIHBvc2l0aXZlAE9jdGF2ZSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGAoZmJpbiswLjVmKSA+IDAgJiYgKGZiaW4tMC41ZikgPCBudW1fYmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGFzc2lnbm1lbnQuc2l6ZSgpID09IG51bV9pbmRpY2VzYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgIWlzaW5mKHVbMF0pYCBmYWlsZWQgaW4gACVzJXMKAFdpZHRoIGlzIHplcm8AL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2hvdWdoX3NpbWlsYXJpdHlfdm90aW5nLmgAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2JpbmFyeV9oaWVyYXJjaGljYWxfY2x1c3RlcmluZy5oAERlY2ltYWwgYmluIHBvc2l0aW9uIGluZGV4IG91dCBvZiByYW5nZQBTY2FsZSBvdXQgb2YgcmFuZ2UASU5GAEFzc2VydGlvbiBgZC5oZWlnaHQoKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAASW1hZ2VzIG11c3QgaGF2ZSB0aGUgc2FtZSBoZWlnaHQALy4uL3NoYXJlLyVzAEhlaWdodCBpcyB6ZXJvAEFzc2lnbm1lbnQgc2l6ZSB3cm9uZwBBc3NlcnRpb24gYChpbnQpc3RkOjpmbG9vcih4KSA9PSAoaW50KXhgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbmRleCA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbWFnbml0dWRlID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAhaXNpbmYodVsxXSlgIGZhaWxlZCBpbiAAU3RlcCBpcyB6ZXJvAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvaW50ZXJwb2xhdGUuaABNYWduaXR1ZGUgY2Fubm90IGJlIG5lZ2F0aXZlAGluZGV4IG91dCBvZiByYW5nZQBIT01FAEFzc2VydGlvbiBgYXNzaWdubWVudFtpXSAhPSAtMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGltMS53aWR0aCgpID09IGltMi53aWR0aCgpYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvaGFycmlzLWlubGluZS5oAC9wcm9jL3NlbGYvY21kbGluZQBmbG9vcigpIGFuZCBjYXN0IG5vdCB0aGUgc2FtZQBBc3NpZ25tZW50IGlzIGludmFsaWQAQXNzZXJ0aW9uIGBudW1fYmlucyA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYmluWCA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGk+PjEpIDwgc3RkOjpjZWlsKChzcmNfaGVpZ2h0LTEpLzIuZilgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTEuaGVpZ2h0KCkgPT0gaW0yLmhlaWdodCgpYCBmYWlsZWQgaW4gAEluZGV4IGlzIG91dCBvZiBib3VuZHMATnVtYmVyIGJpbnMgbXVzdCBiZSBwb3NpdGl2ZQBiaW5YIG91dCBvZiByYW5nZQBPdXQgb2YgcmFuZ2UARG9HIFB5cmFtaWQAcmIAQXNzZXJ0aW9uIGAoaW50KXN0ZDo6Zmxvb3IoeSkgPT0gKGludCl5YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYXNzaWdubWVudFtpXSA8IG51bV9pbmRpY2VzYCBmYWlsZWQgaW4gAE5vbi1tYXggc3VwcHJlc3Npb24AQXNzaWdubWVudCBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGB5cCA+PSAwICYmIHlwIDwgaGVpZ2h0YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYmluWCA8IG1OdW1YQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGltYWdlLnR5cGUoKSA9PSBJTUFHRV9VSU5UOGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHcxID49IDBgIGZhaWxlZCBpbiAAJXM6ICVzCgB5cCBvdXQgb2YgYm91bmRzAFN1YnBpeGVsAHcxIG11c3QgYmUgcG9zaXRpdmUAVW5hYmxlIHRvIGRldGVybWluZSBwcm9jZXNzIG5hbWUAT25seSBncmF5IHNjYWxlIGltYWdlcyBhcmUgc3VwcG9ydGVkAEFzc2VydGlvbiBgaW5kaWNlc1thc3NpZ25tZW50W2ldXSA8IG51bV9mZWF0dXJlc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpblkgPj0gMGAgZmFpbGVkIGluIABwcnVuZUZlYXR1cmVzACVzJXMAYmluWSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGB5cF9wbHVzXzEgPj0gMCAmJiB5cF9wbHVzXzEgPCBoZWlnaHRgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBvY3RhdmUgPCBtTnVtT2N0YXZlc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYHcyID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpdC0+c2Vjb25kLnNpemUoKSAhPSAwYCBmYWlsZWQgaW4gAEZpbmQgT3JpZW50YXRpb25zAHlwX3BsdXNfMSBvdXQgb2YgYm91bmRzAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9kZXRlY3RvcnMvZ2F1c3NpYW5fc2NhbGVfc3BhY2VfcHlyYW1pZC5oAHcyIG11c3QgYmUgcG9zaXRpdmUAQ2x1c3RlciBtdXN0IGhhdmUgYXRsZWFzZXQgMSBmZWF0dXJlAC92YXIvY2FjaGUAQXNzZXJ0aW9uIGBiaW5ZIDwgbU51bVlCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0W2ldID49IC0yNTgwNjRgIGZhaWxlZCBpbiAALy5jYWNoZQBPY3RhdmUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgYjEgPj0gMCAmJiBiMSA8IG51bV9iaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeHAgPj0gMCAmJiB4cCA8IHdpZHRoYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0W2ldIDw9IDI1ODA2NGAgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpbkFuZ2xlID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBpbTAuaGVpZ2h0KCkgPT0gaW0xLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbUsgPT0gbUNlbnRlcnMuc2l6ZSgpYCBmYWlsZWQgaW4gAEhlaWdodCBpcyBpbmNvbnNpc3RlbnQAeHAgb3V0IG9mIGJvdW5kcwAlcy8lcwAvc3JjL2Vtc2NyaXB0ZW4vYXJ0b29sa2l0NS9saWIvU1JDL0tQTS9GcmVha01hdGNoZXIvbWF0Y2hlcnMva21lZG9pZHMuaABiMSBiaW4gaW5kZXggb3V0IG9mIHJhbmdlAGJpbkFuZ2xlIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYHNjYWxlIDwgbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGRzdFtpXSA8PSA0MTI5MDI0YCBmYWlsZWQgaW4gAGsgc2hvdWxkIG1hdGNoIHRoZSBudW1iZXIgb2YgY2x1c3RlciBjZW50ZXJzAFNjYWxlIG91dCBvZiByYW5nZQAvdmFyL2xpYgBBc3NlcnRpb24gYGIyID49IDAgJiYgYjIgPCBudW1fYmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpbkFuZ2xlIDwgbU51bUFuZ2xlQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYHhwX3BsdXNfMSA+PSAwICYmIHhwX3BsdXNfMSA8IHdpZHRoYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZHN0W2ldID49IC00MTI5MDI0YCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgaW0wLmhlaWdodCgpID09IGltMi5oZWlnaHQoKWAgZmFpbGVkIGluIAB4cF9wbHVzXzEgb3V0IG9mIGJvdW5kcwAvLmNvbmZpZwBiMiBiaW4gaW5kZXggb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgbnVtX2ZlYXR1cmVzID4gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpblNjYWxlID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAoaW0xLmhlaWdodCgpPj4xKSA9PSBpbTIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAdmVjdG9yAE51bWJlciBvZiBmZWF0dXJlcyBtdXN0IGJlIHBvc2l0aXZlAGJpblNjYWxlIG91dCBvZiByYW5nZQBUTVBESVIAQXNzZXJ0aW9uIGBneHggPD0gNDEyOTAyNGAgZmFpbGVkIGluIABBc3NlcnRpb24gYHcwID49IDAgJiYgdzAgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGltMC5oZWlnaHQoKT4+MSkgPT0gaW0xLmhlaWdodCgpYCBmYWlsZWQgaW4gAHZlY3RvcgAvdG1wAE91dCBvZiByYW5nZQBBc3NlcnRpb24gYGJpblNjYWxlIDwgbU51bVNjYWxlQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYG51bV9pbmRpY2VzIDw9IG51bV9mZWF0dXJlc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGd4eCA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGltMC5oZWlnaHQoKT4+MSkgPT0gaW0yLmhlaWdodCgpYCBmYWlsZWQgaW4gAE1vcmUgaW5kaWNlcyB0aGFuIGZlYXR1cmVzAEVycm9yIGxvb2tpbmcgZm9yIHJlc291cmNlcyBkaXJlY3RvcnkgcGF0aABBc3NlcnRpb24gYHJvdyA8IG1IZWlnaHRgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBtQnVja2V0cy5zaXplKCkgPT0gbU51bUJ1Y2tldHNYYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZ3l5IDw9IDQxMjkwMjRgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3MSA+PSAwICYmIHcxIDw9IDEuMDAwMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGluZGV4IDw9IChiaW5YICsgYmluWSptTnVtWEJpbnMgKyBiaW5BbmdsZSptTnVtWEJpbnMqbU51bVlCaW5zICsgYmluU2NhbGUqbU51bVhCaW5zKm1OdW1ZQmlucyptTnVtQW5nbGVCaW5zKWAgZmFpbGVkIGluIABFcnJvciBjcmVhdGluZyByZXNvdXJjZXMgZGlyZWN0b3J5IHBhdGgAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2ZyYW1ld29yay9pbWFnZS5oAEJ1Y2tldHMgYXJlIG5vdCBhbGxvY2F0ZWQAQXNzZXJ0aW9uIGBudW1faW5kaWNlcyA+PSBtS2AgZmFpbGVkIGluIABBc3NlcnRpb24gYHcyID49IDAgJiYgdzIgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZ3l5ID49IDBgIGZhaWxlZCBpbiAATm90IGVub3VnaCBmZWF0dXJlcwByb3cgb3V0IG9mIGJvdW5kcwB2ZWN0b3IAQXNzZXJ0aW9uIGBtQnVja2V0c1swXS5zaXplKCkgPT0gbU51bUJ1Y2tldHNZYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgZ3h5IDw9IDQxMjkwMjRgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3MyA+PSAwICYmIHczIDw9IDEuMDAwMWAgZmFpbGVkIGluIABFcnJvcjogVW5hYmxlIHRvIGNoYW5nZSB3b3JraW5nIGRpcmVjdG9yeSB0byAnJXMnLgoAQXNzaWdubWVudCBzaXplIGlzIGluY29ycmVjdABBc3NlcnRpb24gYG1GZWF0dXJlUG9pbnRzLnNpemUoKSA8PSBtTWF4TnVtRmVhdHVyZVBvaW50c2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGd4eSA+PSAtNDEyOTAyNGAgZmFpbGVkIGluIABBc3NlcnRpb24gYCh3MCt3MSt3Mit3MykgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbiA+IDBgIGZhaWxlZCBpbiAAWyUgLjNmICUgLjNmICUgLjNmXSBbJSA2LjFmXQoAAAMAAAADAAAABAAAAAQAAAAEAAAAAQAAAAQAAAACAAAAAgAAAAIAAAACAAAAAgAAAAEAAAABAAAAAQAAAAQAAACIAAAABQAAAJAAAAAGAAAAmAAAAAkAAACwAAAAKAQAAOsJAABvDAAAPA4AAC5pc2V0AHJiAE42dmlzaW9uMjVHYXVzc2lhblNjYWxlU3BhY2VQeXJhbWlkRQAAABj3AABJUwAAVG9vIG1hbnkgZmVhdHVyZSBwb2ludHMAdmVjdG9yAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci91dGlscy9wYXJ0aWFsX3NvcnQuaABBc3NlcnRpb24gYHBvcyA9PSA2NjZgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBudW1fY2VudGVycyA+IDBgIGZhaWxlZCBpbiAAVGhlcmUgbXVzdCBiZSBhdCBsZWFzdCAxIGNlbnRlcgBuIG11c3QgYmUgcG9zaXRpdmUAUG9zaXRpb24gaXMgbm90IHdpdGhpbiByYW5nZQBBc3NlcnRpb24gYGtwLnNjYWxlIDwgbUxhcGxhY2lhblB5cmFtaWQubnVtU2NhbGVQZXJPY3RhdmUoKWAgZmFpbGVkIGluIABbJXNdIFslc10gWyVzXSA6IEZvdW5kICVkIGZlYXR1cmVzIGluIHF1ZXJ5AEZlYXR1cmUgcG9pbnQgc2NhbGUgaXMgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYGsgPiAwYCBmYWlsZWQgaW4gAGsgbXVzdCBiZSBwb3NpdGl2ZQBGaW5kIE1hdGNoZXMgKDEpAEFzc2VydGlvbiBga3Auc2NvcmUgPT0gbGFwMS5nZXQ8ZmxvYXQ+KHkpW3hdYCBmYWlsZWQgaW4gAFNjb3JlIGlzIG5vdCBjb25zaXN0ZW50IHdpdGggdGhlIERvRyBpbWFnZQBIb3VnaCBWb3RpbmcgKDEpAEZpbmQgSG91Z2ggTWF0Y2hlcyAoMSkAQXNzZXJ0aW9uIGBidWNrZXRbMF0uZmlyc3QgPj0gYnVja2V0W25dLmZpcnN0YCBmYWlsZWQgaW4gAG50aF9lbGVtZW50IGZhaWxlZABFc3RpbWF0ZSBIb21vZ3JhcGh5ICgxKQBGaW5kIElubGllcnMgKDEpAEFzc2VydGlvbiBgb2N0YXZlIDwgbU51bU9jdGF2ZXNgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9nYXVzc2lhbl9zY2FsZV9zcGFjZV9weXJhbWlkLmgARmluZCBNYXRjaGVzICgyKQBPY3RhdmUgb3V0IG9mIHJhbmdlAEhvdWdoIFZvdGluZyAoMikARmluZCBIb3VnaCBNYXRjaGVzICgyKQBBc3NlcnRpb24gYHNjYWxlIDwgbU51bVNjYWxlc1Blck9jdGF2ZWAgZmFpbGVkIGluIABTY2FsZSBvdXQgb2YgcmFuZ2UARXN0aW1hdGUgSG9tb2dyYXBoeSAoMikARmluZCBJbmxpZXJzICgyKQBBc3NlcnRpb24gYGluZGV4IDwgbUltYWdlcy5zaXplKClgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9Eb0dfc2NhbGVfaW52YXJpYW50X2RldGVjdG9yLmgAQXNzZXJ0aW9uIGBiZXN0X2luZGV4ICE9IHN0ZDo6bnVtZXJpY19saW1pdHM8c2l6ZV90Pjo6bWF4KClgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL21hdGNoZXJzL2ZlYXR1cmVfbWF0Y2hlci1pbmxpbmUuaABJbmRleCBpcyBvdXQgb2YgcmFuZ2UAU29tZXRoaW5nIHN0cmFuZ2UAQXNzZXJ0aW9uIGBzY2FsZSA+PSAwYCBmYWlsZWQgaW4gAFNjYWxlIG11c3QgYmUgcG9zaXRpdmUAQXNzZXJ0aW9uIGBtTWF0Y2hlcy5zaXplKCkgPD0gZmVhdHVyZXMxLT5zaXplKClgIGZhaWxlZCBpbiAATnVtYmVyIG9mIG1hdGNoZXMgc2hvdWxkIGJlIGxvd2VyAFNjYWxlIG11c3QgYmUgbGVzcyB0aGFuIG51bWJlciBvZiBzY2FsZSBwZXIgb2N0YXZlAEFzc2VydGlvbiBgbGFwMC5oZWlnaHQoKSA9PSBsYXAxLmhlaWdodCgpID09IGxhcDIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBtUm9vdC5nZXQoKWAgZmFpbGVkIGluIABXaWR0aC9oZWlnaHQgYXJlIG5vdCBjb25zaXN0ZW50AFJvb3QgY2Fubm90IGJlIE5VTEwAQXNzZXJ0aW9uIGBtaW5pICE9IC0xYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKGxhcDAuaGVpZ2h0KCkgPT0gbGFwMS5oZWlnaHQoKSkgJiYgKChsYXAxLmhlaWdodCgpPj4xKSA9PSBsYXAyLmhlaWdodCgpKWAgZmFpbGVkIGluIABNaW5pbXVtIGluZGV4IG5vdCBzZXQAQXNzZXJ0aW9uIGAoKGxhcDAud2lkdGgoKT4+MSkgPT0gbGFwMS53aWR0aCgpKSAmJiAobGFwMS53aWR0aCgpID09IGxhcDIud2lkdGgoKSlgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbiA8PSBpbl9tYXRjaGVzLnNpemUoKWAgZmFpbGVkIGluIABJbWFnZSBzaXplcyBhcmUgaW5jb25zaXN0ZW50AFNob3VsZCBiZSB0aGUgc2FtZQBBc3NlcnRpb24gYGJpblggPj0gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYCh4LTEpID49IDAgJiYgKHgrMSkgPCBsYXAxLndpZHRoKClgIGZhaWxlZCBpbiAAeCBvdXQgb2YgYm91bmRzAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci9tYXRjaGVycy9ob3VnaF9zaW1pbGFyaXR5X3ZvdGluZy5oAGJpblggb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgKHktMSkgPj0gMCAmJiAoeSsxKSA8IGxhcDEuaGVpZ2h0KClgIGZhaWxlZCBpbiAAeSBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgYmluWCA8IG1OdW1YQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpblkgPj0gMGAgZmFpbGVkIGluIABBc3NlcnRpb24gYGxhcDAud2lkdGgoKSA9PSBsYXAxLndpZHRoKClgIGZhaWxlZCBpbiAASW1hZ2UgZGltZW5zaW9ucyBpbmNvbnNpc3RlbnQAYmluWSBvdXQgb2YgcmFuZ2UAQXNzZXJ0aW9uIGBiaW5ZIDwgbU51bVlCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgbGFwMC53aWR0aCgpID09IGxhcDIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpbkFuZ2xlID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBsYXAwLmhlaWdodCgpID09IGxhcDEuaGVpZ2h0KClgIGZhaWxlZCBpbiAAYmluQW5nbGUgb3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgbGFwMC5oZWlnaHQoKSA9PSBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgYmluQW5nbGUgPCBtTnVtQW5nbGVCaW5zYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKHgtMSkgPj0gMCAmJiAoeCsxKSA8IGltLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBiaW5TY2FsZSA+PSAwYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKHktMSkgPj0gMCAmJiAoeSsxKSA8IGltLmhlaWdodCgpYCBmYWlsZWQgaW4gAGJpblNjYWxlIG91dCBvZiByYW5nZQBBc3NlcnRpb24gYChsYXAwLndpZHRoKCk+PjEpID09IGxhcDIud2lkdGgoKWAgZmFpbGVkIGluIABBc3NlcnRpb24gYGJpblNjYWxlIDwgbU51bVNjYWxlQmluc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYChsYXAwLmhlaWdodCgpPj4xKSA9PSBsYXAyLmhlaWdodCgpYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeF9kaXZfMi0wLjVmID49IDBgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBkaXN0QmluQW5nbGUgPj0gMGAgZmFpbGVkIGluIAB4X2Rpdl8yIG91dCBvZiBib3VuZHMgb3V0IG9mIGJvdW5kcyBmb3IgaW50ZXJwb2xhdGlvbgBkaXN0QmluQW5nbGUgbXVzdCBub3QgYmUgbmVnYXRpdmUAQXNzZXJ0aW9uIGBoeXAuc2l6ZSgpID49IDkqbWF4X251bV9oeXBvdGhlc2VzYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgeV9kaXZfMi0wLjVmID49IDBgIGZhaWxlZCBpbiAAeV9kaXZfMiBvdXQgb2YgYm91bmRzIG91dCBvZiBib3VuZHMgZm9yIGludGVycG9sYXRpb24AL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2hvbW9ncmFwaHlfZXN0aW1hdGlvbi9yb2J1c3RfaG9tb2dyYXBoeS5oAGh5cCB2ZWN0b3Igc2hvdWxkIGJlIG9mIHNpemUgOSptYXhfbnVtX2h5cG90aGVzZXMAQXNzZXJ0aW9uIGB4X2Rpdl8yKzAuNWYgPCBsYXAyLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB0bXBfaS5zaXplKCkgPj0gbnVtX3BvaW50c2AgZmFpbGVkIGluIABBc3NlcnRpb24gYHlfZGl2XzIrMC41ZiA8IGxhcDIuaGVpZ2h0KClgIGZhaWxlZCBpbiAAdG1wX2kgdmVjdG9yIHNob3VsZCBiZSBvZiBzaXplIG51bV9wb2ludHMAQXNzZXJ0aW9uIGAobGFwMC53aWR0aCgpPj4xKSA9PSBsYXAxLndpZHRoKClgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGBoeXBfY29zdHMuc2l6ZSgpID49IG1heF9udW1faHlwb3RoZXNlc2AgZmFpbGVkIGluIABBc3NlcnRpb24gYChsYXAwLmhlaWdodCgpPj4xKSA9PSBsYXAxLmhlaWdodCgpYCBmYWlsZWQgaW4gAHZlY3RvcgBBc3NlcnRpb24gYG4gPiAwYCBmYWlsZWQgaW4gAC9zcmMvZW1zY3JpcHRlbi9hcnRvb2xraXQ1L2xpYi9TUkMvS1BNL0ZyZWFrTWF0Y2hlci91dGlscy9wYXJ0aWFsX3NvcnQuaABBc3NlcnRpb24gYHJvdyA8IG1IZWlnaHRgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2ZyYW1ld29yay9pbWFnZS5oAG4gbXVzdCBiZSBwb3NpdGl2ZQByb3cgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYGsgPiAwYCBmYWlsZWQgaW4gAGsgbXVzdCBiZSBwb3NpdGl2ZQBBc3NlcnRpb24gYChpbnQpc3RkOjpmbG9vcih4KSA9PSAoaW50KXhgIGZhaWxlZCBpbiAAL3NyYy9lbXNjcmlwdGVuL2FydG9vbGtpdDUvbGliL1NSQy9LUE0vRnJlYWtNYXRjaGVyL2RldGVjdG9ycy9pbnRlcnBvbGF0ZS5oAEFzc2VydGlvbiBgMGAgZmFpbGVkIGluIABGYWlsZWQgdG8gY29tcHV0ZSBtYXRyaXggaW52ZXJzZQBmbG9vcigpIGFuZCBjYXN0IG5vdCB0aGUgc2FtZQBBc3NlcnRpb24gYChpbnQpc3RkOjpmbG9vcih5KSA9PSAoaW50KXlgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB5cCA+PSAwICYmIHlwIDwgaGVpZ2h0YCBmYWlsZWQgaW4gAHlwIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGB5cF9wbHVzXzEgPj0gMCAmJiB5cF9wbHVzXzEgPCBoZWlnaHRgIGZhaWxlZCBpbiAAeXBfcGx1c18xIG91dCBvZiBib3VuZHMAQXNzZXJ0aW9uIGB4cCA+PSAwICYmIHhwIDwgd2lkdGhgIGZhaWxlZCBpbiAAeHAgb3V0IG9mIGJvdW5kcwBBc3NlcnRpb24gYHhwX3BsdXNfMSA+PSAwICYmIHhwX3BsdXNfMSA8IHdpZHRoYCBmYWlsZWQgaW4gAHhwX3BsdXNfMSBvdXQgb2YgYm91bmRzAEFzc2VydGlvbiBgdzAgPj0gMCAmJiB3MCA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAT3V0IG9mIHJhbmdlAEFzc2VydGlvbiBgdzEgPj0gMCAmJiB3MSA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAQXNzZXJ0aW9uIGB3MiA+PSAwICYmIHcyIDw9IDEuMDAwMWAgZmFpbGVkIGluIABBc3NlcnRpb24gYHczID49IDAgJiYgdzMgPD0gMS4wMDAxYCBmYWlsZWQgaW4gAEFzc2VydGlvbiBgKHcwK3cxK3cyK3czKSA8PSAxLjAwMDFgIGZhaWxlZCBpbiAAAAAAAHBTAAATAAAAFAAAAAAAAAAMaAAAFQAAABYAAABONnZpc2lvbjlFeGNlcHRpb25FAED3AADMZwAAPPgAAE42dmlzaW9uMThCaW5vbWlhbFB5cmFtaWQzMmZFAAAAQPcAAOxnAABwUwAAAAAAAOBnAAARAAAAFwAAABgAAAC5Uow+jlrnPrlSjD4AAAAAAAAAAOBoAAAZAAAAGgAAABsAAAAcAAAAHQAAAE5TdDNfXzIyMF9fc2hhcmVkX3B0cl9wb2ludGVySVBONnZpc2lvbjhLZXlmcmFtZUlMaTk2RUVFTlNfMTBzaGFyZWRfcHRySVMzX0UyN19fc2hhcmVkX3B0cl9kZWZhdWx0X2RlbGV0ZUlTM19TM19FRU5TXzlhbGxvY2F0b3JJUzNfRUVFRQBA9wAAWGgAADT1AABOU3QzX18yMTBzaGFyZWRfcHRySU42dmlzaW9uOEtleWZyYW1lSUxpOTZFRUVFMjdfX3NoYXJlZF9wdHJfZGVmYXVsdF9kZWxldGVJUzNfUzNfRUUAYm9vbCB2aXNpb246OlZpc3VhbERhdGFiYXNlPHZpc2lvbjo6RlJFQUtFeHRyYWN0b3IsIHZpc2lvbjo6QmluYXJ5RmVhdHVyZVN0b3JlLCB2aXNpb246OkJpbmFyeUZlYXR1cmVNYXRjaGVyPDk2Pj46OnF1ZXJ5KGNvbnN0IEdhdXNzaWFuU2NhbGVTcGFjZVB5cmFtaWQgKikgW0ZFQVRVUkVfRVhUUkFDVE9SID0gdmlzaW9uOjpGUkVBS0V4dHJhY3RvciwgU1RPUkUgPSB2aXNpb246OkJpbmFyeUZlYXR1cmVTdG9yZSwgTUFUQ0hFUiA9IHZpc2lvbjo6QmluYXJ5RmVhdHVyZU1hdGNoZXI8OTY+XQBoeXBfY29zdHMgdmVjdG9yIHNob3VsZCBiZSBvZiBzaXplIG1heF9udW1faHlwb3RoZXNlcwAAAAAAsr65PhLcoL6Qvjk+EtygvpC+Ob4AAACAsr65vhLcoD6Qvjm+EtygPpC+OT7Schi/AAAAANJymL46BgS/0nKYPjoGBL/Schg/AAAAgNJymD46BgQ/0nKYvjoGBD8AAACAVrg9v2ZNJD9WuL2+Zk0kP1a4vT4AAAAAVrg9P2ZNJL9WuL0+Zk0kv1a4vb4M6Vg/AAAAgAzp2D6Z2Ts/DOnYvpnZOz8M6Vi/AAAAAAzp2L6Z2Tu/DOnYPpnZO78AAAAA/FNuP/FlTr8NVO4+8WVOvw1U7r4AAACA/FNuv/FlTj8NVO6+8WVOPw1U7j4AAIC/AAAAAAAAAL/Qs12/AAAAP9CzXb8AAIA/AAAAgAAAAD/Qs10/AAAAv9CzXT8AAAAAGGwAABkAAAAeAAAAHwAAACAAAAAhAAAATlN0M19fMjIwX19zaGFyZWRfcHRyX3BvaW50ZXJJUGgxNk51bGxBcnJheURlbGV0ZXJJaEVOU185YWxsb2NhdG9ySWhFRUVFAAAAAED3AADMawAANPUAADE2TnVsbEFycmF5RGVsZXRlckloRQAAAAAAAADAbAAAGQAAACIAAAAjAAAAJAAAACUAAABOU3QzX18yMjBfX3NoYXJlZF9wdHJfcG9pbnRlcklQaE5TXzEwc2hhcmVkX3B0ckloRTI3X19zaGFyZWRfcHRyX2RlZmF1bHRfZGVsZXRlSWhoRUVOU185YWxsb2NhdG9ySWhFRUVFAED3AABYbAAANPUAAE5TdDNfXzIxMHNoYXJlZF9wdHJJaEUyN19fc2hhcmVkX3B0cl9kZWZhdWx0X2RlbGV0ZUloaEVFAHZpc2lvbjo6U2NvcGVkVGltZXI6On5TY29wZWRUaW1lcigpAGluZmluaXR5AE1pc3NpbmcgSHVmZm1hbiBjb2RlIHRhYmxlIGVudHJ5AEZlYnJ1YXJ5AEphbnVhcnkASnVseQBUaHVyc2RheQBUdWVzZGF5AFdlZG5lc2RheQBTYXR1cmRheQBTdW5kYXkATW9uZGF5AEZyaWRheQBNYXkAJW0vJWQvJXkATUFYX0FMTE9DX0NIVU5LIGlzIHdyb25nLCBwbGVhc2UgZml4AEFMSUdOX1RZUEUgaXMgd3JvbmcsIHBsZWFzZSBmaXgAJXMgZmFpbGVkIHRvIHJlbGVhc2UgbXV0ZXgAJXMgZmFpbGVkIHRvIGFjcXVpcmUgbXV0ZXgAc2V0TWFya2VySW5mb1ZlcnRleABOb3QgYSBKUEVHIGZpbGU6IHN0YXJ0cyB3aXRoIDB4JTAyeCAweCUwMngAQ29ycnVwdCBKUEVHIGRhdGE6ICV1IGV4dHJhbmVvdXMgYnl0ZXMgYmVmb3JlIG1hcmtlciAweCUwMngAVW5leHBlY3RlZCBtYXJrZXIgMHglMDJ4AFVuc3VwcG9ydGVkIG1hcmtlciB0eXBlIDB4JTAyeABVbnN1cHBvcnRlZCBKUEVHIHByb2Nlc3M6IFNPRiB0eXBlIDB4JTAyeABEZWZpbmUgSHVmZm1hbiBUYWJsZSAweCUwMngARGVmaW5lIEFyaXRobWV0aWMgVGFibGUgMHglMDJ4OiAweCUwMngALSsgICAwWDB4AC0wWCswWCAwWC0weCsweCAweABCb2d1cyBEQUMgdmFsdWUgMHgleABfX25leHRfcHJpbWUgb3ZlcmZsb3cASHVmZm1hbiBjb2RlIHNpemUgdGFibGUgb3ZlcmZsb3cATm92AFRodQAgICAgICAgICU0dSAlNHUgJTR1ICU0dSAlNHUgJTR1ICU0dSAlNHUASlBFRyBwYXJhbWV0ZXIgc3RydWN0IG1pc21hdGNoOiBsaWJyYXJ5IHRoaW5rcyBzaXplIGlzICV1LCBjYWxsZXIgZXhwZWN0cyAldQBEZWZpbmUgUmVzdGFydCBJbnRlcnZhbCAldQBXYXJuaW5nOiB0aHVtYm5haWwgaW1hZ2Ugc2l6ZSBkb2VzIG5vdCBtYXRjaCBkYXRhIGxlbmd0aCAldQBNaXNjZWxsYW5lb3VzIG1hcmtlciAweCUwMngsIGxlbmd0aCAldQBKRklGIGV4dGVuc2lvbiBtYXJrZXI6IHR5cGUgMHglMDJ4LCBsZW5ndGggJXUASkZJRiBleHRlbnNpb24gbWFya2VyOiBwYWxldHRlIHRodW1ibmFpbCBpbWFnZSwgbGVuZ3RoICV1AEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogSlBFRy1jb21wcmVzc2VkIHRodW1ibmFpbCBpbWFnZSwgbGVuZ3RoICV1AEpGSUYgZXh0ZW5zaW9uIG1hcmtlcjogUkdCIHRodW1ibmFpbCBpbWFnZSwgbGVuZ3RoICV1AFVua25vd24gQVBQMTQgbWFya2VyIChub3QgQWRvYmUpLCBsZW5ndGggJXUAVW5rbm93biBBUFAwIG1hcmtlciAobm90IEpGSUYpLCBsZW5ndGggJXUAT2J0YWluZWQgWE1TIGhhbmRsZSAldQBGcmVlZCBYTVMgaGFuZGxlICV1AE9idGFpbmVkIEVNUyBoYW5kbGUgJXUARnJlZWQgRU1TIGhhbmRsZSAldQB1bnN1cHBvcnRlZCBsb2NhbGUgZm9yIHN0YW5kYXJkIGlucHV0AEF1Z3VzdABnZXRUcmFuc01hdE11bHRpU3F1YXJlUm9idXN0AEludmFsaWQgY3JvcCByZXF1ZXN0AFVuc3VwcG9ydGVkIGNvbG9yIGNvbnZlcnNpb24gcmVxdWVzdAAlcyBmYWlsZWQgdG8gYnJvYWRjYXN0AHVuc2lnbmVkIHNob3J0AGdldE11bHRpTWFya2VyQ291bnQAZ2V0VHJhbnNNYXRTcXVhcmVDb250AHVuc2lnbmVkIGludABDb3JydXB0IEpQRUcgZGF0YTogcHJlbWF0dXJlIGVuZCBvZiBkYXRhIHNlZ21lbnQARnJhY3Rpb25hbCBzYW1wbGluZyBub3QgaW1wbGVtZW50ZWQgeWV0AENDSVI2MDEgc2FtcGxpbmcgbm90IGltcGxlbWVudGVkIHlldABOb3QgaW1wbGVtZW50ZWQgeWV0AGZzZXQAT2N0AGZsb2F0AFNhdAB1aW50NjRfdABDYW5ub3QgcXVhbnRpemUgbW9yZSB0aGFuICVkIGNvbG9yIGNvbXBvbmVudHMAU3RhcnQgT2YgU2NhbjogJWQgY29tcG9uZW50cwBCb2d1cyB2aXJ0dWFsIGFycmF5IGFjY2VzcwBCb2d1cyBzYW1wbGluZyBmYWN0b3JzAFF1YW50aXppbmcgdG8gJWQgPSAlZColZColZCBjb2xvcnMAUXVhbnRpemluZyB0byAlZCBjb2xvcnMAQ2Fubm90IHF1YW50aXplIHRvIGZld2VyIHRoYW4gJWQgY29sb3JzAENhbm5vdCBxdWFudGl6ZSB0byBtb3JlIHRoYW4gJWQgY29sb3JzAEludmFsaWQgSlBFRyBmaWxlIHN0cnVjdHVyZTogdHdvIFNPSSBtYXJrZXJzAEludmFsaWQgSlBFRyBmaWxlIHN0cnVjdHVyZTogdHdvIFNPRiBtYXJrZXJzAFNtb290aGluZyBub3Qgc3VwcG9ydGVkIHdpdGggbm9uc3RhbmRhcmQgc2FtcGxpbmcgcmF0aW9zAE1heGltdW0gc3VwcG9ydGVkIGltYWdlIGRpbWVuc2lvbiBpcyAldSBwaXhlbHMAQXBwbGljYXRpb24gdHJhbnNmZXJyZWQgdG9vIG1hbnkgc2NhbmxpbmVzAEFwcGxpY2F0aW9uIHRyYW5zZmVycmVkIHRvbyBmZXcgc2NhbmxpbmVzAHNldHVwQVIyVGhyZWFkcwBGYWlsZWQgdG8gY3JlYXRlIHRlbXBvcmFyeSBmaWxlICVzAENsb3NlZCB0ZW1wb3JhcnkgZmlsZSAlcwBPcGVuZWQgdGVtcG9yYXJ5IGZpbGUgJXMAQXByAHZlY3RvcgBJbnB1dCBmaWxlIHJlYWQgZXJyb3IAc2V0TWFya2VySW5mb0RpcgBJbnZhbGlkIEpQRUcgZmlsZSBzdHJ1Y3R1cmU6IG1pc3NpbmcgU09TIG1hcmtlcgBnZXRNYXJrZXIAZGV0ZWN0TWFya2VyAF9hZGRNdWx0aU1hcmtlcgBnZXRNdWx0aUVhY2hNYXJrZXIAX2FkZE1hcmtlcgBnZXRORlRNYXJrZXIAZGV0ZWN0TkZUTWFya2VyAF9hZGRORlRNYXJrZXIAT2N0b2JlcgBOb3ZlbWJlcgBTZXB0ZW1iZXIARGVjZW1iZXIAdW5zaWduZWQgY2hhcgBpb3NfYmFzZTo6Y2xlYXIATWFyAFVucmVjb2duaXplZCBjb21wb25lbnQgSURzICVkICVkICVkLCBhc3N1bWluZyBZQ2JDcgBzZXR1cABWaXJ0dWFsIGFycmF5IGNvbnRyb2xsZXIgbWVzc2VkIHVwAFNlcAAlSTolTTolUyAlcABzZXRQYXR0UmF0aW8AZ2V0UGF0dFJhdGlvAHRlYXJkb3duAFN1bgBKdW4Ac3RkOjpleGNlcHRpb24AQm9ndXMgSHVmZm1hbiB0YWJsZSBkZWZpbml0aW9uAFNlbGVjdGVkICVkIGNvbG9ycyBmb3IgcXVhbnRpemF0aW9uAF9fY3hhX2d1YXJkX2FjcXVpcmUgZGV0ZWN0ZWQgcmVjdXJzaXZlIGluaXRpYWxpemF0aW9uAEltYWdlIHRvbyB3aWRlIGZvciB0aGlzIGltcGxlbWVudGF0aW9uAE1vbgBuYW4ARGlkbid0IGV4cGVjdCBtb3JlIHRoYW4gb25lIHNjYW4AU2FtcGxpbmcgZmFjdG9ycyB0b28gbGFyZ2UgZm9yIGludGVybGVhdmVkIHNjYW4ASmFuAGdldE1hcmtlck51bQBnZXRNdWx0aU1hcmtlck51bQBKdWwAYm9vbABCdWZmZXIgcGFzc2VkIHRvIEpQRUcgbGlicmFyeSBpcyB0b28gc21hbGwAQXByaWwAc2V0TG9nTGV2ZWwAZ2V0TG9nTGV2ZWwAZW1zY3JpcHRlbjo6dmFsAEZyaQBiYWRfYXJyYXlfbmV3X2xlbmd0aABCb2d1cyBtYXJrZXIgbGVuZ3RoAE1hcmNoAEF1ZwB1bnNpZ25lZCBsb25nAHN0ZDo6d3N0cmluZwBiYXNpY19zdHJpbmcAc3RkOjpzdHJpbmcAc3RkOjp1MTZzdHJpbmcAc3RkOjp1MzJzdHJpbmcAQ29weXJpZ2h0IChDKSAyMDE4LCBUaG9tYXMgRy4gTGFuZSwgR3VpZG8gVm9sbGJlZGluZwBpbmYAJS4wTGYAJUxmAHRydWUAVHVlAGZhbHNlAF9fY3hhX2d1YXJkX3JlbGVhc2UAX19jeGFfZ3VhcmRfYWNxdWlyZQBTdXNwZW5zaW9uIG5vdCBhbGxvd2VkIGhlcmUAZ2V0VHJhbnNNYXRTcXVhcmUAZ2V0VHJhbnNNYXRNdWx0aVNxdWFyZQBzZXRNYXRyaXhDb2RlVHlwZQBnZXRNYXRyaXhDb2RlVHlwZQBKdW5lAHNldFByb2plY3Rpb25OZWFyUGxhbmUAZ2V0UHJvamVjdGlvbk5lYXJQbGFuZQBzZXRQcm9qZWN0aW9uRmFyUGxhbmUAZ2V0UHJvamVjdGlvbkZhclBsYW5lAFJlcXVlc3RlZCBmZWF0dXJlIHdhcyBvbWl0dGVkIGF0IGNvbXBpbGUgdGltZQBTZWVrIGZhaWxlZCBvbiB0ZW1wb3JhcnkgZmlsZQBSZWFkIGZhaWxlZCBvbiB0ZW1wb3JhcnkgZmlsZQBFbXB0eSBpbnB1dCBmaWxlAFByZW1hdHVyZSBlbmQgb2YgaW5wdXQgZmlsZQBQcmVtYXR1cmUgZW5kIG9mIEpQRUcgZmlsZQBzZXRDYW1lcmEoKTogRXJyb3IgY3JlYXRpbmcgM0QgaGFuZGxlAGRvdWJsZQBEQ1QgY29lZmZpY2llbnQgb3V0IG9mIHJhbmdlAEludmFsaWQgY29sb3IgcXVhbnRpemF0aW9uIG1vZGUgY2hhbmdlAEpQRUcgZGF0YXN0cmVhbSBjb250YWlucyBubyBpbWFnZQAgICAgd2l0aCAlZCB4ICVkIHRodW1ibmFpbCBpbWFnZQBnZXRQcm9jZXNzaW5nSW1hZ2UAU3RhcnQgb2YgSW1hZ2UARW5kIE9mIEltYWdlAEJvZ3VzIGJ1ZmZlciBjb250cm9sIG1vZGUAQ29ycnVwdCBKUEVHIGRhdGE6IGJhZCBIdWZmbWFuIGNvZGUAQ29ycnVwdCBKUEVHIGRhdGE6IGJhZCBhcml0aG1ldGljIGNvZGUAc2V0UGF0dGVybkRldGVjdGlvbk1vZGUAZ2V0UGF0dGVybkRldGVjdGlvbk1vZGUAc2V0RGVidWdNb2RlAGdldERlYnVnTW9kZQBzZXRMYWJlbGluZ01vZGUAZ2V0TGFiZWxpbmdNb2RlAHNldFRocmVzaG9sZE1vZGUAZ2V0VGhyZXNob2xkTW9kZQBzZXRJbWFnZVByb2NNb2RlAGdldEltYWdlUHJvY01vZGUAQm9ndXMgaW5wdXQgY29sb3JzcGFjZQBCb2d1cyBKUEVHIGNvbG9yc3BhY2UAc2V0VGhyZXNob2xkAGdldFRocmVzaG9sZAB2b2lkAEJhY2tpbmcgc3RvcmUgbm90IHN1cHBvcnRlZABEQ1Qgc2NhbGVkIGJsb2NrIHNpemUgJWR4JWQgbm90IHN1cHBvcnRlZABRdWFudGl6YXRpb24gdGFibGUgMHglMDJ4IHdhcyBub3QgZGVmaW5lZABIdWZmbWFuIHRhYmxlIDB4JTAyeCB3YXMgbm90IGRlZmluZWQAQXJpdGhtZXRpYyB0YWJsZSAweCUwMnggd2FzIG5vdCBkZWZpbmVkAFdyaXRlIHRvIFhNUyBmYWlsZWQAUmVhZCBmcm9tIFhNUyBmYWlsZWQAV3JpdGUgdG8gRU1TIGZhaWxlZABSZWFkIGZyb20gRU1TIGZhaWxlZABXZWQAICAgICAgICAlM2QgJTNkICUzZCAlM2QgJTNkICUzZCAlM2QgJTNkAFdhcm5pbmc6IHVua25vd24gSkZJRiByZXZpc2lvbiBudW1iZXIgJWQuJTAyZABDb3JydXB0IEpQRUcgZGF0YTogZm91bmQgbWFya2VyIDB4JTAyeCBpbnN0ZWFkIG9mIFJTVCVkAFN0YXJ0IE9mIEZyYW1lIDB4JTAyeDogd2lkdGg9JXUsIGhlaWdodD0ldSwgY29tcG9uZW50cz0lZAAgICAgQ29tcG9uZW50ICVkOiAlZGh4JWR2IHE9JWQASW52YWxpZCBwcm9ncmVzc2l2ZSBwYXJhbWV0ZXJzIFNzPSVkIFNlPSVkIEFoPSVkIEFsPSVkACAgU3M9JWQsIFNlPSVkLCBBaD0lZCwgQWw9JWQAICAgIENvbXBvbmVudCAlZDogZGM9JWQgYWM9JWQASW52YWxpZCBwcm9ncmVzc2l2ZSBwYXJhbWV0ZXJzIGF0IHNjYW4gc2NyaXB0IGVudHJ5ICVkAEludmFsaWQgc2NhbiBzY3JpcHQgYXQgZW50cnkgJWQAQm9ndXMgRFFUIGluZGV4ICVkAEJvZ3VzIERIVCBpbmRleCAlZABCb2d1cyBEQUMgaW5kZXggJWQAVG9vIG1hbnkgY29sb3IgY29tcG9uZW50czogJWQsIG1heCAlZABJbmNvbnNpc3RlbnQgcHJvZ3Jlc3Npb24gc2VxdWVuY2UgZm9yIGNvbXBvbmVudCAlZCBjb2VmZmljaWVudCAlZABXcm9uZyBKUEVHIGxpYnJhcnkgdmVyc2lvbjogbGlicmFyeSBpcyAlZCwgY2FsbGVyIGV4cGVjdHMgJWQAQXQgbWFya2VyIDB4JTAyeCwgcmVjb3ZlcnkgYWN0aW9uICVkAFVuc3VwcG9ydGVkIEpQRUcgZGF0YSBwcmVjaXNpb24gJWQARGVmaW5lIFF1YW50aXphdGlvbiBUYWJsZSAlZCAgcHJlY2lzaW9uICVkAEFkb2JlIEFQUDE0IG1hcmtlcjogdmVyc2lvbiAlZCwgZmxhZ3MgMHglMDR4IDB4JTA0eCwgdHJhbnNmb3JtICVkAEltcHJvcGVyIGNhbGwgdG8gSlBFRyBsaWJyYXJ5IGluIHN0YXRlICVkAENhbm5vdCB0cmFuc2NvZGUgZHVlIHRvIG11bHRpcGxlIHVzZSBvZiBxdWFudGl6YXRpb24gdGFibGUgJWQAVW5rbm93biBBZG9iZSBjb2xvciB0cmFuc2Zvcm0gY29kZSAlZABJbnZhbGlkIG1lbW9yeSBwb29sIGNvZGUgJWQAQm9ndXMgbWVzc2FnZSBjb2RlICVkAEpGSUYgQVBQMCBtYXJrZXI6IHZlcnNpb24gJWQuJTAyZCwgZGVuc2l0eSAlZHglZCAgJWQAc3RkOjpiYWRfYWxsb2MARGVjACVsZCVjAENvbXBvbmVudCBpbmRleCAlZDogbWlzbWF0Y2hpbmcgc2FtcGxpbmcgcmF0aW8gJWQ6JWQsICVkOiVkLCAlYwBGZWIAcndhAFNjYW4gc2NyaXB0IGRvZXMgbm90IHRyYW5zbWl0IGFsbCBkYXRhAF9sb2FkQ2FtZXJhAEFSX1VTRV9UUkFDS0lOR19ISVNUT1JZAEFSX05PVVNFX1RSQUNLSU5HX0hJU1RPUlkAJWEgJWIgJWQgJUg6JU06JVMgJVkAUE9TSVgAQVJfVEVNUExBVEVfTUFUQ0hJTkdfQ09MT1JfQU5EX01BVFJJWABBUl9URU1QTEFURV9NQVRDSElOR19NT05PX0FORF9NQVRSSVgAQVJfTEFCRUxJTkdfVEhSRVNIX01PREVfQVVUT19PVFNVAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9DT05UUkFTVABBUl9NQVhfTE9PUF9DT1VOVABJbnZhbGlkIGNvbXBvbmVudCBJRCAlZCBpbiBTT1MAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX0hFVVJJU1RJQ19UUk9VQkxFU09NRV9NQVRSSVhfQ09ERVMARVJST1JfTUFSS0VSX0lOREVYX09VVF9PRl9CT1VORFMAJUg6JU06JVMAQVJfTE9HX0xFVkVMX0VSUk9SAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9QT1NFX0VSUk9SAEFSX1RFTVBMQVRFX01BVENISU5HX0NPTE9SAEFSX1RFTVBMQVRFX01BVENISU5HX01PTk8AQVJfTE9HX0xFVkVMX0lORk8AQVJfTE9HX0xFVkVMX1JFTF9JTkZPAEFSX0xPR19MRVZFTF9XQVJOAEFSX01BVFJJWF9DT0RFX0RFVEVDVElPTgBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfUEFUVEVSTl9FWFRSQUNUSU9OAEFSX0xBQkVMSU5HX0JMQUNLX1JFR0lPTgBBUl9MQUJFTElOR19XSElURV9SRUdJT04ATkFOAEFSX0xBQkVMSU5HX1RIUkVTSF9NT0RFX0FVVE9fTUVESUFOAFBNAEpQRUdNRU0AQU0ATENfQUxMAEFSX01BUktFUl9JTkZPX0NVVE9GRl9QSEFTRV9NQVRDSF9CQVJDT0RFX0VEQ19GQUlMAEFSX0xBQkVMSU5HX1RIUkVTSF9NT0RFX01BTlVBTABBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfUE9TRV9FUlJPUl9NVUxUSQBBUl9MT09QX0JSRUFLX1RIUkVTSABBUl9ERUZBVUxUX0xBQkVMSU5HX1RIUkVTSABBUl9MT0dfTEVWRUxfREVCVUcATEFORwBJbnZhbGlkIFNPUyBwYXJhbWV0ZXJzIGZvciBzZXF1ZW50aWFsIEpQRUcAQ2F1dGlvbjogcXVhbnRpemF0aW9uIHRhYmxlcyBhcmUgdG9vIGNvYXJzZSBmb3IgYmFzZWxpbmUgSlBFRwBJbnZhbGlkIEpQRUcgZmlsZSBzdHJ1Y3R1cmU6ICVzIGJlZm9yZSBTT0YASU5GAEFSX0xBQkVMSU5HX1RIUkVTSF9NT0RFX0FVVE9fQURBUFRJVkUAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX05PTkUAQVJfREVCVUdfRElTQUJMRQBBUl9ERUJVR19FTkFCTEUAQVJfSU1BR0VfUFJPQ19GUkFNRV9JTUFHRQBBUl9JTUFHRV9QUk9DX0ZJRUxEX0lNQUdFAEFSX0RFRkFVTFRfUEFUVEVSTl9ERVRFQ1RJT05fTU9ERQBBUl9ERUZBVUxUX01BUktFUl9FWFRSQUNUSU9OX01PREUAQVJfREVGQVVMVF9ERUJVR19NT0RFAEFSX0RFRkFVTFRfTEFCRUxJTkdfTU9ERQBBUl9ERUZBVUxUX0lNQUdFX1BST0NfTU9ERQBBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTUFUQ0hfQ09ORklERU5DRQBFUlJPUl9BUkNPTlRST0xMRVJfTk9UX0ZPVU5EAEVSUk9SX01VTFRJTUFSS0VSX05PVF9GT1VORABBUl9NQVJLRVJfSU5GT19DVVRPRkZfUEhBU0VfTUFUQ0hfQkFSQ09ERV9OT1RfRk9VTkQAQVJfTUFSS0VSX0lORk9fQ1VUT0ZGX1BIQVNFX01BVENIX0dFTkVSSUMAT3V0cHV0IGZpbGUgd3JpdGUgZXJyb3IgLS0tIG91dCBvZiBkaXNrIHNwYWNlPwBXcml0ZSBmYWlsZWQgb24gdGVtcG9yYXJ5IGZpbGUgLS0tIG91dCBvZiBkaXNrIHNwYWNlPwBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxzaG9ydD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgc2hvcnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGludD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgaW50PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxmbG9hdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dWludDhfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50OF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MTZfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50MTZfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dWludDMyX3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGludDMyX3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGNoYXI+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIGNoYXI+AHN0ZDo6YmFzaWNfc3RyaW5nPHVuc2lnbmVkIGNoYXI+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHNpZ25lZCBjaGFyPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxsb25nPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBsb25nPgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxkb3VibGU+ADAxMjM0NTY3ODkAOWMgIDE0LUphbi0yMDE4AEMuVVRGLTgAQVJfTUFUUklYX0NPREVfNHg0X0JDSF8xM181XzUAQVJfTUFUUklYX0NPREVfM3gzX1BBUklUWTY1AEFSX01BVFJJWF9DT0RFXzR4NABBUl9NQVRSSVhfQ09ERV8zeDMAZnNldDMAQVJfTUFUUklYX0NPREVfNHg0X0JDSF8xM185XzMAQVJfTUFUUklYX0NPREVfM3gzX0hBTU1JTkc2MwBBUl9VU0VfVFJBQ0tJTkdfSElTVE9SWV9WMgBzZXR1cEFSMgBvbi4Ab2ZmLgAobnVsbCkARW1wdHkgSlBFRyBpbWFnZSAoRE5MIG5vdCBzdXBwb3J0ZWQpAEluc3VmZmljaWVudCBtZW1vcnkgKGNhc2UgJWQpAFB1cmUgdmlydHVhbCBmdW5jdGlvbiBjYWxsZWQhAEVycm9yIHJlYWRpbmcgZGF0YSBmcm9tICVzLmZzZXQKAFJlYWRpbmcgJXMuZnNldAoARXJyb3I6IGtwbVNldFJlZkRhdGFTZXQKAEVycm9yOiBrcG1DaGFuZ2VQYWdlTm9PZlJlZkRhdGFTZXQKAEVycm9yOiBrcG1NZXJnZVJlZkRhdGFTZXQKAERlYnVnIG1vZGUgc2V0IHRvICVzCgBFcnJvcjogdGhyZWFkSGFuZGxlCgBMYWJlbGluZyBtb2RlIHNldCB0byAlZAoAVGhyZXNob2xkIG1vZGUgc2V0IHRvICVkCgBUaHJlc2hvbGQgc2V0IHRvICVkCgBBbGxvY2F0ZWQgdmlkZW9GcmFtZVNpemUgJWQKAEVycm9yIHJlYWRpbmcgS1BNIGRhdGEgZnJvbSAlcy5mc2V0MwoAUmVhZGluZyAlcy5mc2V0MwoAVHJhY2tpbmcgbG9zdC4KAGxvYWRNYXJrZXIoKTogRXJyb3IgbG9hZGluZyBwYXR0ZXJuIGZpbGUgJXMuCgB0cmFja2luZ0luaXRTdGFydCgpOiBFcnJvcjogTlVMTCB0aHJlYWRIYW5kbGUgb3IgaW1hZ2VQdHIuCgBFcnJvciBzdGFydGluZyB0cmFja2luZyB0aHJlYWQ6IGVtcHR5IGtwbUhhbmRsZS9pbWFnZUx1bWFQdHIuCgBBUlRvb2xLaXRKUygpOiBVbmFibGUgdG8gc2V0IHVwIEFSIG11bHRpbWFya2VyLgoAQVJUb29sS2l0SlMoKTogVW5hYmxlIHRvIHNldCB1cCBORlQgbWFya2VyLgoAQVJUb29sS2l0SlMoKTogVW5hYmxlIHRvIHNldCB1cCBBUiBtYXJrZXIuCgB0cmFja2luZ0luaXRRdWl0KCk6IEVycm9yOiBOVUxMIHRocmVhZEhhbmRsZV9wLgoAUGF0dGVybiByYXRpbyBzaXplIHNldCB0byAlZi4KAExvYWRpbmcgb2YgTkZUIGRhdGEgY29tcGxldGUuCgBzZXRDYW1lcmEoKTogRXJyb3I6IGFyUGFyYW1MVENyZWF0ZS4KACAgRG9uZS4KAHRyYWNraW5nSW5pdFN0YXJ0KCk6IEVycm9yOiBOVUxMIHRyYWNraW5nSW5pdEhhbmRsZS4KAHRyYWNraW5nSW5pdEluaXQoKTogRXJyb3I6IE5VTEwgS3BtSGFuZGxlLgoAc2V0dXAoKTogRXJyb3I6IGFyUGF0dENyZWF0ZUhhbmRsZS4KAHNldENhbWVyYSgpOiBFcnJvcjogYXJDcmVhdGVIYW5kbGUuCgBFcnJvcjogYXIyQ3JlYXRlSGFuZGxlLgoAdHJhY2tpbmdJbml0R2V0UmVzdWx0KCk6IEVycm9yOiBOVUxMIHRocmVhZEhhbmRsZSBvciB0cmFucyBvciBwYWdlLgoATm8gcGFnZSBkZXRlY3RlZC4KAFN0YXJ0IHRyYWNraW5nIHRocmVhZC4KAEVuZCB0cmFja2luZyB0aHJlYWQuCgBQYXR0ZXJuIGRldGVjdGlvbiBtb2RlIHNldCB0byAlZC4KAEltYWdlIHByb2MuIG1vZGUgc2V0IHRvICVkLgoARGV0ZWN0ZWQgcGFnZSAlZC4KAERldGVjdGVkIGJhZCBwYWdlICVkLgoAICBBc3NpZ25lZCBwYWdlIG5vLiAlZC4KAGxvYWRDYW1lcmEoKTogRXJyb3IgbG9hZGluZyBwYXJhbWV0ZXIgZmlsZSAlcyBmb3IgY2FtZXJhLgoAVXNpbmcgTkZUIHRyYWNraW5nIHNldHRpbmdzIGZvciBtb3JlIHRoYW4gb25lIENQVS4KAFVzaW5nIE5GVCB0cmFja2luZyBzZXR0aW5ncyBmb3IgYSBzaW5nbGUgQ1BVLgoARXJyb3Igc3RhcnRpbmcgdHJhY2tpbmcgdGhyZWFkOiBlbXB0eSBUSFJFQURfSEFORExFX1QuCgBUcmFja2VkIHBhZ2UgJWQgKG1heCAlZCkuCgAqKiogQ2FtZXJhIFBhcmFtZXRlciByZXNpemVkIGZyb20gJWQsICVkLiAqKioKAGNvbmZpZyBkYXRhIGxvYWQgZXJyb3IgISEKAHBhZ2UgZGV0ZWN0ZWQgcmV0OiAlZCAKAGlkZGRkZGRkZGRkZGRkAGkAaWlpZAAAAAAAAGlpaWlpaWlkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkaQBpaWlpaWkAAAAAAAAAALT2AAC09gAAtPYAALT2AABpaWlpaQAAALT2AAC09gAAaWlpALT2AAC09gAAgJUAAE5TdDNfXzIxMmJhc2ljX3N0cmluZ0ljTlNfMTFjaGFyX3RyYWl0c0ljRUVOU185YWxsb2NhdG9ySWNFRUVFAAAY9wAAQJUAAGlpaWkAAAAAtPYAALT2AAC09gAAtPYAAICVAABg9gAAtPYAAHZpaQC09gAAaWkAAGD2AAC09gAACPcAAHZpaWQAAAAACPcAALT2AABkaWkAYPYAALT2AAC09gAAdmlpaQAAAABg9gAAtPYAAPz2AAB2aWlmAAAAAIEBHVoOAoYlEAMUERIECwgUBdgDFwbaARkH5QAcCG8AHgk2ACEKGgAjCw0ACQwGAAoNAwAMDQEAjw9/WiQQJT8mEfIsJxJ8ICgTuRcqFIIRKxXvDC0WoQkuFy8HMBhcBTEZBgQzGgMDNBtAAjYcsQE4HUQBOR71ADsftwA8IIoAPiFoAD8iTgAgIzsAIQksAKUl4VpAJkxIQScNOkMo8S5EKR8mRSozH0YrqBlILBgVSS13EUoudA5LL/sLTTD4CU4xYQhPMgYHMDPNBTI03gQyNQ8EMzZjAzQ31AI1OFwCNjn4ATc6pAE4O2ABOTwlATo99gA7PssAPT+rAD0gjwDBQRJbUEIETVFDLEFSRNg3U0XoL1RGPClWR3kjV0jfHldJqRpISk4XSEskFEpMnBFKTWsPS05RDU1PtgtNMEAK0FEyWFhSHE1ZU45DWlTdO1tV7jRcVq4uXVeaKVZHFiXYWXBVX1qpTGBb2URhXCI+Y10kOGNetDJdVhcu32CoVmVhRk9mYuVHZ2PPQWhkPTxjXV43aWYxUmpnD0xraDlGZ2NeQelqJ1Zsa+dQbWeFS25tl1Vva09Q7m8QWnBtIlXwb+tZcXEdWlNPUw=="); +memorySegments[1] = base64DecodeToExistingUint8Array(new Uint8Array(3), 0, "TFNF"); +memorySegments[2] = base64DecodeToExistingUint8Array(new Uint8Array(9911), 0, "QMVYn1NCSwBASTKjIqgRxVghe/xzYmjFWL9FCzB+GJ9T/HNBbVRin1OzQUEtEhdCS2JoVGJ+WEJLITu6KMMUAEDFWJ9TQksAQEkyoyKoEUkyv0WzQSE7STKCJzcb4A2jIgswQS26KKMiNxu/Eo4JqBF+GBIXwxSoEeANjgnfBAAAAAAAAPA/72FIsVAx9j/Kb02Rruf0P6oRbO9i0PI/AAAAAAAA8D87v6fAaSTpP7sgx3t6UeE/Xaty3lWo0T+aAAAAmwAAAJwAAAAAAAAAAAAAAAEAAAACAAAAAwAAAAAAAAABAAAABQAAAAIAAAAEAAAABgAAAAMAAAAHAAAACAAAAAAAAAAAAAAAAAAAAAAAAAABAAAABQAAAAYAAAACAAAABAAAAAcAAAAMAAAAAwAAAAgAAAALAAAADQAAAAkAAAAKAAAADgAAAA8AAAAAAAAAAQAAAAUAAAAGAAAADgAAAAIAAAAEAAAABwAAAA0AAAAPAAAAAwAAAAgAAAAMAAAAEAAAABUAAAAJAAAACwAAABEAAAAUAAAAFgAAAAoAAAASAAAAEwAAABcAAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAABgAAAA4AAAAPAAAAAgAAAAQAAAAHAAAADQAAABAAAAAZAAAAAwAAAAgAAAAMAAAAEQAAABgAAAAaAAAACQAAAAsAAAASAAAAFwAAABsAAAAgAAAACgAAABMAAAAWAAAAHAAAAB8AAAAhAAAAFAAAABUAAAAdAAAAHgAAACIAAAAjAAAAAAAAAAEAAAAFAAAABgAAAA4AAAAPAAAAGwAAAAIAAAAEAAAABwAAAA0AAAAQAAAAGgAAABwAAAADAAAACAAAAAwAAAARAAAAGQAAAB0AAAAmAAAACQAAAAsAAAASAAAAGAAAAB4AAAAlAAAAJwAAAAoAAAATAAAAFwAAAB8AAAAkAAAAKAAAAC0AAAAUAAAAFgAAACAAAAAjAAAAKQAAACwAAAAuAAAAFQAAACEAAAAiAAAAKgAAACsAAAAvAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAABAAAABQAAAAYAAAAOAAAADwAAABsAAAAcAAAAAgAAAAQAAAAHAAAADQAAABAAAAAaAAAAHQAAACoAAAADAAAACAAAAAwAAAARAAAAGQAAAB4AAAApAAAAKwAAAAkAAAALAAAAEgAAABgAAAAfAAAAKAAAACwAAAA1AAAACgAAABMAAAAXAAAAIAAAACcAAAAtAAAANAAAADYAAAAUAAAAFgAAACEAAAAmAAAALgAAADMAAAA3AAAAPAAAABUAAAAiAAAAJQAAAC8AAAAyAAAAOAAAADsAAAA9AAAAIwAAACQAAAAwAAAAMQAAADkAAAA6AAAAPgAAAD8AAAAAAAAAAQAAAAMAAAAHAAAADwAAAB8AAAA/AAAAfwAAAP8AAAD/AQAA/wMAAP8HAAD/DwAA/x8AAP8/AAD/fwAAAQAAAAMAAAADAAAABAAAAAQAAAADAAAAAwAAAAAAAABIgwAA1G0AAK9tAADpfAAAHoUAAIRyAAAzfAAAZH4AAKyDAAALeAAA/H0AABN+AACieQAArIEAANR4AAAsgwAADoIAAEKAAAC0gAAAL3QAAOuAAACeggAA428AABR0AAAweQAAjHoAAHRzAABEgQAAmXIAADGBAABnbwAAHoEAAAuBAAAQjgAAQn8AAC5/AACzeAAAV3YAAFOKAABMcwAAkm8AADJtAABjdQAAvnsAAM97AADIggAA9IMAAFB8AACZcwAAVHsAAN1+AABIfgAAuH4AAHd8AACOfgAAPm4AADWOAADJcwAAgXQAAKl0AAA2iAAA/XQAAH52AADdbgAA0HQAAPd1AACgewAAgnsAAIKKAAC9dQAAvm4AAJ53AACEeAAAGX8AAAV/AAASegAAI40AAPiHAABcggAAunEAAI5xAAAjbwAAB28AADGCAAAwcAAAJnIAAA9yAADcfAAAW38AAF6DAABLcAAArnAAAJl8AACHcAAApW4AALtvAABGdAAAaXQAACp4AADpgQAA438AACp1AADpfwAAI4AAAM18AAD3cwAAloAAAHmAAAAadgAAM3YAABZxAADccAAAWHEAAGR3AAD7cQAA5HEAAAaDAAAnfQAAaoEAAGluAAAbcwAAA30AAIN/AADrewAAsX8AAM2HAACSdQAAAAAAAEAGAACAPgAAAAAAAIgTAAAAwDDwDMw8/APDM/MPzz//gECwcIxMvHyDQ7Nzj0+/fyDgENAs7BzcI+MT0y/vH9+gYJBQrGycXKNjk1Ovb59fCMg4+ATENPQLyzv7B8c394hIuHiERLR0i0u7e4dHt3co6BjYJOQU1CvrG9sn5xfXqGiYWKRklFSra5tbp2eXVwLCMvIOzj7+AcEx8Q3NPf2CQrJyjk6+foFBsXGNTb19IuIS0i7uHt4h4RHRLe0d3aJiklKubp5eoWGRUa1tnV0Kyjr6BsY29gnJOfkFxTX1ikq6eoZGtnaJSbl5hUW1dSrqGtom5hbWKekZ2SXlFdWqappapmaWVqlpmVmlZZVVAQAAAAAAAAACAAAAAAAAAAAAAAABAAAACAAAABAAAAAJAAAAAgAAAAMAAAAKAAAAEQAAABgAAAAgAAAAGQAAABIAAAALAAAABAAAAAUAAAAMAAAAEwAAABoAAAAhAAAAKAAAADAAAAApAAAAIgAAABsAAAAUAAAADQAAAAYAAAAHAAAADgAAABUAAAAcAAAAIwAAACoAAAAxAAAAOAAAADkAAAAyAAAAKwAAACQAAAAdAAAAFgAAAA8AAAAXAAAAHgAAACUAAAAsAAAAMwAAADoAAAA7AAAANAAAAC0AAAAmAAAAHwAAACcAAAAuAAAANQAAADwAAAA9AAAANgAAAC8AAAA3AAAAPgAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAAAAAAAEAAAAIAAAAEAAAAAkAAAACAAAAAwAAAAoAAAARAAAAGAAAACAAAAAZAAAAEgAAAAsAAAAEAAAABQAAAAwAAAATAAAAGgAAACEAAAAoAAAAMAAAACkAAAAiAAAAGwAAABQAAAANAAAABgAAAA4AAAAVAAAAHAAAACMAAAAqAAAAMQAAADIAAAArAAAAJAAAAB0AAAAWAAAAHgAAACUAAAAsAAAAMwAAADQAAAAtAAAAJgAAAC4AAAA1AAAANgAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAIAAAABkAAAASAAAACwAAAAQAAAAFAAAADAAAABMAAAAaAAAAIQAAACgAAAApAAAAIgAAABsAAAAUAAAADQAAABUAAAAcAAAAIwAAACoAAAArAAAAJAAAAB0AAAAlAAAALAAAAC0AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAAAAAAAEAAAAIAAAAEAAAAAkAAAACAAAAAwAAAAoAAAARAAAAGAAAACAAAAAZAAAAEgAAAAsAAAAEAAAADAAAABMAAAAaAAAAIQAAACIAAAAbAAAAFAAAABwAAAAjAAAAJAAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAgAAAAQAAAACQAAAAIAAAADAAAACgAAABEAAAAYAAAAGQAAABIAAAALAAAAEwAAABoAAAAbAAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAAAAAAABAAAACAAAABAAAAAJAAAAAgAAAAoAAAARAAAAEgAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAgAAAAJAAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAE5TdDNfXzIxMmJhc2ljX3N0cmluZ0loTlNfMTFjaGFyX3RyYWl0c0loRUVOU185YWxsb2NhdG9ySWhFRUVFAAAY9wAAIKUAAE5TdDNfXzIxMmJhc2ljX3N0cmluZ0l3TlNfMTFjaGFyX3RyYWl0c0l3RUVOU185YWxsb2NhdG9ySXdFRUVFAAAY9wAAaKUAAE5TdDNfXzIxMmJhc2ljX3N0cmluZ0lEc05TXzExY2hhcl90cmFpdHNJRHNFRU5TXzlhbGxvY2F0b3JJRHNFRUVFAAAAGPcAALClAABOU3QzX18yMTJiYXNpY19zdHJpbmdJRGlOU18xMWNoYXJfdHJhaXRzSURpRUVOU185YWxsb2NhdG9ySURpRUVFRQAAABj3AAD8pQAATjEwZW1zY3JpcHRlbjN2YWxFAAAY9wAASKYAAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWNFRQAAGPcAAGSmAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lhRUUAABj3AACMpgAATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJaEVFAAAY9wAAtKYAAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SXNFRQAAGPcAANymAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0l0RUUAABj3AAAEpwAATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJaUVFAAAY9wAALKcAAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWpFRQAAGPcAAFSnAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lsRUUAABj3AAB8pwAATjEwZW1zY3JpcHRlbjExbWVtb3J5X3ZpZXdJbUVFAAAY9wAApKcAAE4xMGVtc2NyaXB0ZW4xMW1lbW9yeV92aWV3SWZFRQAAGPcAAMynAABOMTBlbXNjcmlwdGVuMTFtZW1vcnlfdmlld0lkRUUAABj3AAD0pwAAAAAAAAAAAAAAAPA/AAAAAAAA+D8AAAAAAAAAAAbQz0Pr/Uw+AAAAAAAAAAAAAABAA7jiP9sPST/bD0m/5MsWQOTLFsAAAAAAAAAAgNsPSUDbD0nAOGPtPtoPST9emHs/2g/JP2k3rDFoISIztA8UM2ghojMDAAAABAAAAAQAAAAGAAAAg/miAERObgD8KRUA0VcnAN009QBi28AAPJmVAEGQQwBjUf4Au96rALdhxQA6biQA0k1CAEkG4AAJ6i4AHJLRAOsd/gApsRwA6D6nAPU1ggBEuy4AnOmEALQmcABBfl8A1pE5AFODOQCc9DkAi1+EACj5vQD4HzsA3v+XAA+YBQARL+8AClqLAG0fbQDPfjYACcsnAEZPtwCeZj8ALepfALondQDl68cAPXvxAPc5BwCSUooA+2vqAB+xXwAIXY0AMANWAHv8RgDwq2sAILzPADb0mgDjqR0AXmGRAAgb5gCFmWUAoBRfAI1AaACA2P8AJ3NNAAYGMQDKVhUAyahzAHviYABrjMAAGcRHAM1nwwAJ6NwAWYMqAIt2xACmHJYARK/dABlX0QClPgUABQf/ADN+PwDCMugAmE/eALt9MgAmPcMAHmvvAJ/4XgA1HzoAf/LKAPGHHQB8kCEAaiR8ANVu+gAwLXcAFTtDALUUxgDDGZ0ArcTCACxNQQAMAF0Ahn1GAONxLQCbxpoAM2IAALTSfAC0p5cAN1XVANc+9gCjEBgATXb8AGSdKgBw16sAY3z4AHqwVwAXFecAwElWADvW2QCnhDgAJCPLANaKdwBaVCMAAB+5APEKGwAZzt8AnzH/AGYeagCZV2EArPtHAH5/2AAiZbcAMuiJAOa/YADvxM0AbDYJAF0/1AAW3tcAWDveAN6bkgDSIigAKIboAOJYTQDGyjIACOMWAOB9ywAXwFAA8x2nABjgWwAuEzQAgxJiAINIAQD1jlsArbB/AB7p8gBISkMAEGfTAKrd2ACuX0IAamHOAAoopADTmbQABqbyAFx3fwCjwoMAYTyIAIpzeACvjFoAb9e9AC2mYwD0v8sAjYHvACbBZwBVykUAytk2ACio0gDCYY0AEsl3AAQmFAASRpsAxFnEAMjFRABNspEAABfzANRDrQApSeUA/dUQAAC+/AAelMwAcM7uABM+9QDs8YAAs+fDAMf4KACTBZQAwXE+AC4JswALRfMAiBKcAKsgewAutZ8AR5LCAHsyLwAMVW0AcqeQAGvnHwAxy5YAeRZKAEF54gD034kA6JSXAOLmhACZMZcAiO1rAF9fNgC7/Q4ASJq0AGekbABxckIAjV0yAJ8VuAC85QkAjTElAPd0OQAwBRwADQwBAEsIaAAs7lgAR6qQAHTnAgC91iQA932mAG5IcgCfFu8AjpSmALSR9gDRU1EAzwryACCYMwD1S34AsmNoAN0+XwBAXQMAhYl/AFVSKQA3ZMAAbdgQADJIMgBbTHUATnHUAEVUbgALCcEAKvVpABRm1QAnB50AXQRQALQ72wDqdsUAh/kXAElrfQAdJ7oAlmkpAMbMrACtFFQAkOJqAIjZiQAsclAABKS+AHcHlADzMHAAAPwnAOpxqABmwkkAZOA9AJfdgwCjP5cAQ5T9AA2GjAAxQd4AkjmdAN1wjAAXt+cACN87ABU3KwBcgKAAWoCTABARkgAP6NgAbICvANv/SwA4kA8AWRh2AGKlFQBhy7sAx4m5ABBAvQDS8gQASXUnAOu29gDbIrsAChSqAIkmLwBkg3YACTszAA6UGgBROqoAHaPCAK/trgBcJhIAbcJNAC16nADAVpcAAz+DAAnw9gArQIwAbTGZADm0BwAMIBUA2MNbAPWSxADGrUsATsqlAKc3zQDmqTYAq5KUAN1CaAAZY94AdozvAGiLUgD82zcArqGrAN8VMQAArqEADPvaAGRNZgDtBbcAKWUwAFdWvwBH/zoAavm5AHW+8wAok98Aq4AwAGaM9gAEyxUA+iIGANnkHQA9s6QAVxuPADbNCQBOQukAE76kADMjtQDwqhoAT2WoANLBpQALPw8AW3jNACP5dgB7iwQAiRdyAMamUwBvbuIA7+sAAJtKWADE2rcAqma6AHbPzwDRAh0AsfEtAIyZwQDDrXcAhkjaAPddoADGgPQArPAvAN3smgA/XLwA0N5tAJDHHwAq27YAoyU6AACvmgCtU5MAtlcEACkttABLgH4A2genAHaqDgB7WaEAFhIqANy3LQD65f0Aidv+AIm+/QDkdmwABqn8AD6AcACFbhUA/Yf/ACg+BwBhZzMAKhiGAE296gCz568Aj21uAJVnOQAxv1sAhNdIADDfFgDHLUMAJWE1AMlwzgAwy7gAv2z9AKQAogAFbOQAWt2gACFvRwBiEtIAuVyEAHBhSQBrVuAAmVIBAFBVNwAe1bcAM/HEABNuXwBdMOQAhS6pAB2ywwChMjYACLekAOqx1AAW9yEAj2nkACf/dwAMA4AAjUAtAE/NoAAgpZkAs6LTAC9dCgC0+UIAEdrLAH2+0ACb28EAqxe9AMqigQAIalwALlUXACcAVQB/FPAA4QeGABQLZACWQY0Ah77eANr9KgBrJbYAe4k0AAXz/gC5v54AaGpPAEoqqABPxFoALfi8ANdamAD0x5UADU2NACA6pgCkV18AFD+xAIA4lQDMIAEAcd2GAMnetgC/YPUATWURAAEHawCMsKwAssDQAFFVSAAe+w4AlXLDAKMGOwDAQDUABtx7AOBFzABOKfoA1srIAOjzQQB8ZN4Am2TYANm+MQCkl8MAd1jUAGnjxQDw2hMAujo8AEYYRgBVdV8A0r31AG6SxgCsLl0ADkTtABw+QgBhxIcAKf3pAOfW8wAifMoAb5E1AAjgxQD/140AbmriALD9xgCTCMEAfF10AGutsgDNbp0APnJ7AMYRagD3z6kAKXPfALXJugC3AFEA4rINAHS6JADlfWAAdNiKAA0VLACBGAwAfmaUAAEpFgCfenYA/f2+AFZF7wDZfjYA7NkTAIu6uQDEl/wAMagnAPFuwwCUxTYA2KhWALSotQDPzA4AEoktAG9XNAAsVokAmc7jANYguQBrXqoAPiqcABFfzAD9C0oA4fT7AI47bQDihiwA6dSEAPy0qQDv7tEALjXJAC85YQA4IUQAG9nIAIH8CgD7SmoALxzYAFO0hABOmYwAVCLMACpV3ADAxtYACxmWABpwuABplWQAJlpgAD9S7gB/EQ8A9LURAPzL9QA0vC0ANLzuAOhdzADdXmAAZ46bAJIz7wDJF7gAYVibAOFXvABRg8YA2D4QAN1xSAAtHN0ArxihACEsRgBZ89cA2XqYAJ5UwABPhvoAVgb8AOV5rgCJIjYAOK0iAGeT3ABV6KoAgiY4AMrnmwBRDaQAmTOxAKnXDgBpBUgAZbLwAH+IpwCITJcA+dE2ACGSswB7gkoAmM8hAECf3ADcR1UA4XQ6AGfrQgD+nd8AXtRfAHtnpAC6rHoAVfaiACuIIwBBulUAWW4IACEqhgA5R4MAiePmAOWe1ABJ+0AA/1bpABwPygDFWYoAlPorANPBxQAPxc8A21quAEfFhgCFQ2IAIYY7ACx5lAAQYYcAKkx7AIAsGgBDvxIAiCaQAHg8iQCoxOQA5dt7AMQ6wgAm9OoA92eKAA2SvwBloysAPZOxAL18CwCkUdwAJ91jAGnh3QCalBkAqCmVAGjOKAAJ7bQARJ8gAE6YygBwgmMAfnwjAA+5MgCn9Y4AFFbnACHxCAC1nSoAb35NAKUZUQC1+asAgt/WAJbdYQAWNgIAxDqfAIOioQBy7W0AOY16AIK4qQBrMlwARidbAAA07QDSAHcA/PRVAAFZTQDgcYAAAAAAAAAAAAAAAABA+yH5PwAAAAAtRHQ+AAAAgJhG+DwAAABgUcx4OwAAAICDG/A5AAAAQCAlejgAAACAIoLjNgAAAAAd82k1vvP4eexh9j/eqoyA93vVvz2Ir0rtcfU/223Ap/C+0r+wEPDwOZX0P2c6UX+uHtC/hQO4sJXJ8z/pJIKm2DHLv6VkiAwZDfM/WHfACk9Xxr+gjgt7Il7yPwCBnMcrqsG/PzQaSkq78T9eDozOdk66v7rlivBYI/E/zBxhWjyXsb+nAJlBP5XwPx4M4Tj0UqK/AAAAAAAA8D8AAAAAAAAAAKxHmv2MYO4/hFnyXaqlqj+gagIfs6TsP7QuNqpTXrw/5vxqVzYg6z8I2yB35SbFPy2qoWPRwuk/cEciDYbCyz/tQXgD5oboP+F+oMiLBdE/YkhT9dxn5z8J7rZXMATUP+85+v5CLuY/NIO4SKMO0L9qC+ALW1fVPyNBCvL+/9+/AAAAAAAA8D90hRXTsNnvPw+J+WxYte8/UVsS0AGT7z97UX08uHLvP6q5aDGHVO8/OGJ1bno47z/h3h/1nR7vPxW3MQr+Bu8/y6k6N6fx7j8iNBJMpt7uPy2JYWAIzu4/Jyo21dq/7j+CT51WK7TuPylUSN0Hq+4/hVU6sH6k7j/NO39mnqDuP3Rf7Oh1n+4/hwHrcxSh7j8TzkyZiaXuP9ugKkLlrO4/5cXNsDe37j+Q8KOCkcTuP10lPrID1e4/rdNamZ/o7j9HXvvydv/uP5xShd2bGe8/aZDv3CA37z+HpPvcGFjvP1+bezOXfO8/2pCkoq+k7z9ARW5bdtDvPwAAAAAAAOhClCORS/hqrD/zxPpQzr/OP9ZSDP9CLuY/AAAAAAAAOEP+gitlRxVHQJQjkUv4arw+88T6UM6/Lj/WUgz/Qi6WP77z+HnsYfY/GTCWW8b+3r89iK9K7XH1P6T81DJoC9u/sBDw8DmV9D97tx8Ki0HXv4UDuLCVyfM/e89tGumd07+lZIgMGQ3zPzG28vObHdC/oI4LeyJe8j/wejsbHXzJvz80GkpKu/E/nzyvk+P5wr+65YrwWCPxP1yNeL/LYLm/pwCZQT+V8D/OX0e2nW+qvwAAAAAAAPA/AAAAAAAAAACsR5r9jGDuPz31JJ/KOLM/oGoCH7Ok7D+6kThUqXbEP+b8alc2IOs/0uTESguEzj8tqqFj0cLpPxxlxvBFBtQ/7UF4A+aG6D/4nxssnI7YP2JIU/XcZ+c/zHuxTqTg3D8LbknJFnbSP3rGdaBpGde/3bqnbArH3j/I9r5IRxXnvyu4KmVHFfc/AAEXAh0YEwMeGxkLFAgEDR8WHBIaCgcMFREJBhAFDw4g+QAAuPkAAE5vIGVycm9yIGluZm9ybWF0aW9uAElsbGVnYWwgYnl0ZSBzZXF1ZW5jZQBEb21haW4gZXJyb3IAUmVzdWx0IG5vdCByZXByZXNlbnRhYmxlAE5vdCBhIHR0eQBQZXJtaXNzaW9uIGRlbmllZABPcGVyYXRpb24gbm90IHBlcm1pdHRlZABObyBzdWNoIGZpbGUgb3IgZGlyZWN0b3J5AE5vIHN1Y2ggcHJvY2VzcwBGaWxlIGV4aXN0cwBWYWx1ZSB0b28gbGFyZ2UgZm9yIGRhdGEgdHlwZQBObyBzcGFjZSBsZWZ0IG9uIGRldmljZQBPdXQgb2YgbWVtb3J5AFJlc291cmNlIGJ1c3kASW50ZXJydXB0ZWQgc3lzdGVtIGNhbGwAUmVzb3VyY2UgdGVtcG9yYXJpbHkgdW5hdmFpbGFibGUASW52YWxpZCBzZWVrAENyb3NzLWRldmljZSBsaW5rAFJlYWQtb25seSBmaWxlIHN5c3RlbQBEaXJlY3Rvcnkgbm90IGVtcHR5AENvbm5lY3Rpb24gcmVzZXQgYnkgcGVlcgBPcGVyYXRpb24gdGltZWQgb3V0AENvbm5lY3Rpb24gcmVmdXNlZABIb3N0IGlzIGRvd24ASG9zdCBpcyB1bnJlYWNoYWJsZQBBZGRyZXNzIGluIHVzZQBCcm9rZW4gcGlwZQBJL08gZXJyb3IATm8gc3VjaCBkZXZpY2Ugb3IgYWRkcmVzcwBCbG9jayBkZXZpY2UgcmVxdWlyZWQATm8gc3VjaCBkZXZpY2UATm90IGEgZGlyZWN0b3J5AElzIGEgZGlyZWN0b3J5AFRleHQgZmlsZSBidXN5AEV4ZWMgZm9ybWF0IGVycm9yAEludmFsaWQgYXJndW1lbnQAQXJndW1lbnQgbGlzdCB0b28gbG9uZwBTeW1ib2xpYyBsaW5rIGxvb3AARmlsZW5hbWUgdG9vIGxvbmcAVG9vIG1hbnkgb3BlbiBmaWxlcyBpbiBzeXN0ZW0ATm8gZmlsZSBkZXNjcmlwdG9ycyBhdmFpbGFibGUAQmFkIGZpbGUgZGVzY3JpcHRvcgBObyBjaGlsZCBwcm9jZXNzAEJhZCBhZGRyZXNzAEZpbGUgdG9vIGxhcmdlAFRvbyBtYW55IGxpbmtzAE5vIGxvY2tzIGF2YWlsYWJsZQBSZXNvdXJjZSBkZWFkbG9jayB3b3VsZCBvY2N1cgBTdGF0ZSBub3QgcmVjb3ZlcmFibGUAUHJldmlvdXMgb3duZXIgZGllZABPcGVyYXRpb24gY2FuY2VsZWQARnVuY3Rpb24gbm90IGltcGxlbWVudGVkAE5vIG1lc3NhZ2Ugb2YgZGVzaXJlZCB0eXBlAElkZW50aWZpZXIgcmVtb3ZlZABEZXZpY2Ugbm90IGEgc3RyZWFtAE5vIGRhdGEgYXZhaWxhYmxlAERldmljZSB0aW1lb3V0AE91dCBvZiBzdHJlYW1zIHJlc291cmNlcwBMaW5rIGhhcyBiZWVuIHNldmVyZWQAUHJvdG9jb2wgZXJyb3IAQmFkIG1lc3NhZ2UARmlsZSBkZXNjcmlwdG9yIGluIGJhZCBzdGF0ZQBOb3QgYSBzb2NrZXQARGVzdGluYXRpb24gYWRkcmVzcyByZXF1aXJlZABNZXNzYWdlIHRvbyBsYXJnZQBQcm90b2NvbCB3cm9uZyB0eXBlIGZvciBzb2NrZXQAUHJvdG9jb2wgbm90IGF2YWlsYWJsZQBQcm90b2NvbCBub3Qgc3VwcG9ydGVkAFNvY2tldCB0eXBlIG5vdCBzdXBwb3J0ZWQATm90IHN1cHBvcnRlZABQcm90b2NvbCBmYW1pbHkgbm90IHN1cHBvcnRlZABBZGRyZXNzIGZhbWlseSBub3Qgc3VwcG9ydGVkIGJ5IHByb3RvY29sAEFkZHJlc3Mgbm90IGF2YWlsYWJsZQBOZXR3b3JrIGlzIGRvd24ATmV0d29yayB1bnJlYWNoYWJsZQBDb25uZWN0aW9uIHJlc2V0IGJ5IG5ldHdvcmsAQ29ubmVjdGlvbiBhYm9ydGVkAE5vIGJ1ZmZlciBzcGFjZSBhdmFpbGFibGUAU29ja2V0IGlzIGNvbm5lY3RlZABTb2NrZXQgbm90IGNvbm5lY3RlZABDYW5ub3Qgc2VuZCBhZnRlciBzb2NrZXQgc2h1dGRvd24AT3BlcmF0aW9uIGFscmVhZHkgaW4gcHJvZ3Jlc3MAT3BlcmF0aW9uIGluIHByb2dyZXNzAFN0YWxlIGZpbGUgaGFuZGxlAFJlbW90ZSBJL08gZXJyb3IAUXVvdGEgZXhjZWVkZWQATm8gbWVkaXVtIGZvdW5kAFdyb25nIG1lZGl1bSB0eXBlAE11bHRpaG9wIGF0dGVtcHRlZAAAAAAAAAAAAAAAAAClAlsA8AG1BYwFJQGDBh0DlAT/AMcDMQMLBrwBjwF/A8oEKwDaBq8AQgNOA9wBDgQVAKEGDQGUAgsCOAZkArwC/wJdA+cECwfPAssF7wXbBeECHgZFAoUAggJsA28E8QDzAxgF2QDaA0wGVAJ7AZ0DvQQAAFEAFQK7ALMDbQD/AYUELwX5BDgAZQFGAZ8AtwaoAXMCUwE="); +memorySegments[3] = base64DecodeToExistingUint8Array(new Uint8Array(323), 0, "IQQAAAAAAAAAAC8CAAAAAAAAAAAAAAAAAAAAAAAAAAA1BEcEVgQAAAAAAAAAAAAAAAAAAAAAoAQAAAAAAAAAAAAAAAAAAAAAAABGBWAFbgVhBgAAzwEAAAAAAAAAAMkG6Qb5BgAAAAAC/wAEZAAgAAAE//8GAAEAAQABAP//Af8B//////8B/wH/Af8B/wH/Af8B/wH//////wr/IAD//wP/Af8E/x4AAAEF//////9jAAAIYwDoAwIAAAD//////wAAAAH/Af//////////////AAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAH/Af//////AAEgAAQAgAAACP//Af8B/////////wH/Bv8H/wj/Cf//////vAK8AgEA//8BAAEA//8AAP//////////AAAAAAAAAAAAAAAAAAAAABQ="); +memorySegments[4] = base64DecodeToExistingUint8Array(new Uint8Array(120), 0, "//8BAAr///////////8B/wH/AAAAAAAAAf8B/wH/AAAAAAAAAAAAAAAAAAAAAAAAAf8AAAAAAAAB/wH/AQAAAAEAAAAB//////8AAAAAAf///wAAAAD/////////////KAAK//////8BAAr/////AP//////////"); +memorySegments[5] = base64DecodeToExistingUint8Array(new Uint8Array(156), 0, "Af8B////AQD//////////////////wr//////wAAAAAAAAAAAAAAAAAAGQAKABkZGQAAAAAFAAAAAAAACQAAAAALAAAAAAAAAAAZABEKGRkZAwoHAAEACQsYAAAJBgsAAAsABhkAAAAZGRkAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAGQAKDRkZGQANAAACAAkOAAAACQAOAAAO"); +memorySegments[6] = base64DecodeToExistingUint8Array(new Uint8Array(33), 0, "DAAAAAAAAAAAAAAAEwAAAAATAAAAAAkMAAAAAAAMAAAM"); +memorySegments[7] = base64DecodeToExistingUint8Array(new Uint8Array(33), 0, "EAAAAAAAAAAAAAAADwAAAAQPAAAAAAkQAAAAAAAQAAAQ"); +memorySegments[8] = base64DecodeToExistingUint8Array(new Uint8Array(42), 0, "EgAAAAAAAAAAAAAAEQAAAAARAAAAAAkSAAAAAAASAAASAAAaAAAAGhoa"); +memorySegments[9] = base64DecodeToExistingUint8Array(new Uint8Array(14), 0, "GgAAABoaGgAAAAAAAAk="); +memorySegments[10] = base64DecodeToExistingUint8Array(new Uint8Array(33), 0, "FAAAAAAAAAAAAAAAFwAAAAAXAAAAAAkUAAAAAAAUAAAU"); +memorySegments[11] = base64DecodeToExistingUint8Array(new Uint8Array(51), 0, "FgAAAAAAAAAAAAAAFQAAAAAVAAAAAAkWAAAAAAAWAAAWAAAwMTIzNDU2Nzg5QUJDREVG"); +memorySegments[12] = base64DecodeToExistingUint8Array(new Uint8Array(1), 0, "8g=="); +memorySegments[13] = base64DecodeToExistingUint8Array(new Uint8Array(8), 0, "//////////8="); +memorySegments[14] = base64DecodeToExistingUint8Array(new Uint8Array(2307), 0, "0XSeAFedvSqAcFIP//8+JwoAAABkAAAA6AMAABAnAACghgEAQEIPAICWmAAA4fUFGAAAADUAAABxAAAAa////877//+Sv///AAAAAAAAAAD/////////////////////////////////////////////////////////////////AAECAwQFBgcICf////////8KCwwNDg8QERITFBUWFxgZGhscHR4fICEiI////////woLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIj/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wABAgQHAwYFAAAAAAAAAAIAAMADAADABAAAwAUAAMAGAADABwAAwAgAAMAJAADACgAAwAsAAMAMAADADQAAwA4AAMAPAADAEAAAwBEAAMASAADAEwAAwBQAAMAVAADAFgAAwBcAAMAYAADAGQAAwBoAAMAbAADAHAAAwB0AAMAeAADAHwAAwAAAALMBAADDAgAAwwMAAMMEAADDBQAAwwYAAMMHAADDCAAAwwkAAMMKAADDCwAAwwwAAMMNAADTDgAAww8AAMMAAAy7AQAMwwIADMMDAAzDBAAM2wAAAAAAAAAAAgAAAAMAAAAFAAAABwAAAAsAAAANAAAAEQAAABMAAAAXAAAAHQAAAB8AAAAlAAAAKQAAACsAAAAvAAAANQAAADsAAAA9AAAAQwAAAEcAAABJAAAATwAAAFMAAABZAAAAYQAAAGUAAABnAAAAawAAAG0AAABxAAAAfwAAAIMAAACJAAAAiwAAAJUAAACXAAAAnQAAAKMAAACnAAAArQAAALMAAAC1AAAAvwAAAMEAAADFAAAAxwAAANMAAAABAAAACwAAAA0AAAARAAAAEwAAABcAAAAdAAAAHwAAACUAAAApAAAAKwAAAC8AAAA1AAAAOwAAAD0AAABDAAAARwAAAEkAAABPAAAAUwAAAFkAAABhAAAAZQAAAGcAAABrAAAAbQAAAHEAAAB5AAAAfwAAAIMAAACJAAAAiwAAAI8AAACVAAAAlwAAAJ0AAACjAAAApwAAAKkAAACtAAAAswAAALUAAAC7AAAAvwAAAMEAAADFAAAAxwAAANEAAAAAAAAAnMkAAPQAAAD1AAAA9gAAAPcAAAD4AAAA+QAAAPoAAAD7AAAA/AAAAP0AAAD+AAAA/wAAAAABAAABAQAACAAAAAAAAADUyQAAAgEAAAMBAAD4////+P///9TJAAAEAQAABQEAACzIAABAyAAABAAAAAAAAAAcygAABgEAAAcBAAD8/////P///xzKAAAIAQAACQEAAFzIAABwyAAAAAAAALDKAAAKAQAACwEAAAwBAAANAQAADgEAAA8BAAAQAQAAEQEAABIBAAATAQAAFAEAABUBAAAWAQAAFwEAAAgAAAAAAAAA6MoAABgBAAAZAQAA+P////j////oygAAGgEAABsBAADMyAAA4MgAAAQAAAAAAAAAMMsAABwBAAAdAQAA/P////z///8wywAAHgEAAB8BAAD8yAAAEMkAAAAAAABcyQAAIAEAACEBAABOU3QzX18yOWJhc2ljX2lvc0ljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRQAAAED3AAAwyQAAbMsAAE5TdDNfXzIxNWJhc2ljX3N0cmVhbWJ1ZkljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRQAAAAAY9wAAaMkAAE5TdDNfXzIxM2Jhc2ljX2lzdHJlYW1JY05TXzExY2hhcl90cmFpdHNJY0VFRUUAAJz3AACkyQAAAAAAAAEAAABcyQAAA/T//05TdDNfXzIxM2Jhc2ljX29zdHJlYW1JY05TXzExY2hhcl90cmFpdHNJY0VFRUUAAJz3AADsyQAAAAAAAAEAAABcyQAAA/T//wAAAABwygAAIgEAACMBAABOU3QzX18yOWJhc2ljX2lvc0l3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRQAAAED3AABEygAAbMsAAE5TdDNfXzIxNWJhc2ljX3N0cmVhbWJ1Zkl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRQAAAAAY9wAAfMoAAE5TdDNfXzIxM2Jhc2ljX2lzdHJlYW1Jd05TXzExY2hhcl90cmFpdHNJd0VFRUUAAJz3AAC4ygAAAAAAAAEAAABwygAAA/T//05TdDNfXzIxM2Jhc2ljX29zdHJlYW1Jd05TXzExY2hhcl90cmFpdHNJd0VFRUUAAJz3AAAAywAAAAAAAAEAAABwygAAA/T//wAAAABsywAAJAEAACUBAABOU3QzX18yOGlvc19iYXNlRQAAABj3AABYywAAUPoAAAAAAADQywAA9AAAACgBAAApAQAA9wAAAPgAAAD5AAAA+gAAAPsAAAD8AAAAKgEAACsBAAAsAQAAAAEAAAEBAABOU3QzX18yMTBfX3N0ZGluYnVmSWNFRQBA9wAAuMsAAJzJAAAAAAAAOMwAAPQAAAAtAQAALgEAAPcAAAD4AAAA+QAAAC8BAAD7AAAA/AAAAP0AAAD+AAAA/wAAADABAAAxAQAATlN0M19fMjExX19zdGRvdXRidWZJY0VFAAAAAED3AAAczAAAnMkAAAAAAACczAAACgEAADIBAAAzAQAADQEAAA4BAAAPAQAAEAEAABEBAAASAQAANAEAADUBAAA2AQAAFgEAABcBAABOU3QzX18yMTBfX3N0ZGluYnVmSXdFRQBA9wAAhMwAALDKAAAAAAAABM0AAAoBAAA3AQAAOAEAAA0BAAAOAQAADwEAADkBAAARAQAAEgEAABMBAAAUAQAAFQEAADoBAAA7AQAATlN0M19fMjExX19zdGRvdXRidWZJd0VFAAAAAED3AADozAAAsMoAAN4SBJUAAAAA////////////////EM0AABQAAABDLlVURi04"); +memorySegments[15] = base64DecodeToExistingUint8Array(new Uint8Array(2), 0, "JM0="); +memorySegments[16] = base64DecodeToExistingUint8Array(new Uint8Array(74), 0, "TENfQ1RZUEUAAAAATENfTlVNRVJJQwAATENfVElNRQAAAAAATENfQ09MTEFURQAATENfTU9ORVRBUlkATENfTUVTU0FHRVMA0M8="); +memorySegments[17] = base64DecodeToExistingUint8Array(new Uint8Array(505), 0, "AQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAEEAAABCAAAAQwAAAEQAAABFAAAARgAAAEcAAABIAAAASQAAAEoAAABLAAAATAAAAE0AAABOAAAATwAAAFAAAABRAAAAUgAAAFMAAABUAAAAVQAAAFYAAABXAAAAWAAAAFkAAABaAAAAWwAAAFwAAABdAAAAXgAAAF8AAABgAAAAQQAAAEIAAABDAAAARAAAAEUAAABGAAAARwAAAEgAAABJAAAASgAAAEsAAABMAAAATQAAAE4AAABPAAAAUAAAAFEAAABSAAAAUwAAAFQAAABVAAAAVgAAAFcAAABYAAAAWQAAAFoAAAB7AAAAfAAAAH0AAAB+AAAAfw=="); +memorySegments[18] = base64DecodeToExistingUint8Array(new Uint8Array(2), 0, "4NU="); +memorySegments[19] = base64DecodeToExistingUint8Array(new Uint8Array(505), 0, "AQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAADUAAAA2AAAANwAAADgAAAA5AAAAOgAAADsAAAA8AAAAPQAAAD4AAAA/AAAAQAAAAGEAAABiAAAAYwAAAGQAAABlAAAAZgAAAGcAAABoAAAAaQAAAGoAAABrAAAAbAAAAG0AAABuAAAAbwAAAHAAAABxAAAAcgAAAHMAAAB0AAAAdQAAAHYAAAB3AAAAeAAAAHkAAAB6AAAAWwAAAFwAAABdAAAAXgAAAF8AAABgAAAAYQAAAGIAAABjAAAAZAAAAGUAAABmAAAAZwAAAGgAAABpAAAAagAAAGsAAABsAAAAbQAAAG4AAABvAAAAcAAAAHEAAAByAAAAcwAAAHQAAAB1AAAAdgAAAHcAAAB4AAAAeQAAAHoAAAB7AAAAfAAAAH0AAAB+AAAAfw=="); +memorySegments[20] = base64DecodeToExistingUint8Array(new Uint8Array(829), 0, "MDEyMzQ1Njc4OWFiY2RlZkFCQ0RFRnhYKy1wUGlJbk4AJUk6JU06JVMgJXAlSDolTQAAAAAAAAAAAAAAAAAAACUAAABtAAAALwAAACUAAABkAAAALwAAACUAAAB5AAAAJQAAAFkAAAAtAAAAJQAAAG0AAAAtAAAAJQAAAGQAAAAlAAAASQAAADoAAAAlAAAATQAAADoAAAAlAAAAUwAAACAAAAAlAAAAcAAAAAAAAAAlAAAASAAAADoAAAAlAAAATQAAAAAAAAAAAAAAAAAAACUAAABIAAAAOgAAACUAAABNAAAAOgAAACUAAABTAAAAAAAAACTkAABOAQAATwEAAFABAAAAAAAAhOQAAFEBAABSAQAAUAEAAFMBAABUAQAAVQEAAFYBAABXAQAAWAEAAFkBAABaAQAAAAAAAAAAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAFAgAABQAAAAUAAAAFAAAABQAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAMCAACCAAAAggAAAIIAAACCAAAAggAAAIIAAACCAAAAggAAAIIAAACCAAAAggAAAIIAAACCAAAAggAAAIIAAABCAQAAQgEAAEIBAABCAQAAQgEAAEIBAABCAQAAQgEAAEIBAABCAQAAggAAAIIAAACCAAAAggAAAIIAAACCAAAAggAAACoBAAAqAQAAKgEAACoBAAAqAQAAKgEAACoAAAAqAAAAKgAAACoAAAAqAAAAKgAAACoAAAAqAAAAKgAAACoAAAAqAAAAKgAAACoAAAAqAAAAKgAAACoAAAAqAAAAKgAAACoAAAAqAAAAggAAAIIAAACCAAAAggAAAIIAAACCAAAAMgEAADIBAAAyAQAAMgEAADIBAAAyAQAAMgAAADIAAAAyAAAAMgAAADIAAAAyAAAAMgAAADIAAAAyAAAAMgAAADIAAAAyAAAAMgAAADIAAAAyAAAAMgAAADIAAAAyAAAAMgAAADIAAACCAAAAggAAAIIAAACCAAAABA=="); +memorySegments[21] = base64DecodeToExistingUint8Array(new Uint8Array(6624), 0, "7OMAAFsBAABcAQAAUAEAAF0BAABeAQAAXwEAAGABAABhAQAAYgEAAGMBAAAAAAAAvOQAAGQBAABlAQAAUAEAAGYBAABnAQAAaAEAAGkBAABqAQAAAAAAAODkAABrAQAAbAEAAFABAABtAQAAbgEAAG8BAABwAQAAcQEAAHQAAAByAAAAdQAAAGUAAAAAAAAAZgAAAGEAAABsAAAAcwAAAGUAAAAAAAAAJQAAAG0AAAAvAAAAJQAAAGQAAAAvAAAAJQAAAHkAAAAAAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAAAAAAJQAAAGEAAAAgAAAAJQAAAGIAAAAgAAAAJQAAAGQAAAAgAAAAJQAAAEgAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAgAAAAJQAAAFkAAAAAAAAAJQAAAEkAAAA6AAAAJQAAAE0AAAA6AAAAJQAAAFMAAAAgAAAAJQAAAHAAAAAAAAAAAAAAAMTgAAByAQAAcwEAAFABAABOU3QzX18yNmxvY2FsZTVmYWNldEUAAABA9wAArOAAAPD0AAAAAAAAROEAAHIBAAB0AQAAUAEAAHUBAAB2AQAAdwEAAHgBAAB5AQAAegEAAHsBAAB8AQAAfQEAAH4BAAB/AQAAgAEAAE5TdDNfXzI1Y3R5cGVJd0VFAE5TdDNfXzIxMGN0eXBlX2Jhc2VFAAAY9wAAJuEAAJz3AAAU4QAAAAAAAAIAAADE4AAAAgAAADzhAAACAAAAAAAAANjhAAByAQAAgQEAAFABAACCAQAAgwEAAIQBAACFAQAAhgEAAIcBAACIAQAATlN0M19fMjdjb2RlY3Z0SWNjMTFfX21ic3RhdGVfdEVFAE5TdDNfXzIxMmNvZGVjdnRfYmFzZUUAAAAAGPcAALbhAACc9wAAlOEAAAAAAAACAAAAxOAAAAIAAADQ4QAAAgAAAAAAAABM4gAAcgEAAIkBAABQAQAAigEAAIsBAACMAQAAjQEAAI4BAACPAQAAkAEAAE5TdDNfXzI3Y29kZWN2dElEc2MxMV9fbWJzdGF0ZV90RUUAAJz3AAAo4gAAAAAAAAIAAADE4AAAAgAAANDhAAACAAAAAAAAAMDiAAByAQAAkQEAAFABAACSAQAAkwEAAJQBAACVAQAAlgEAAJcBAACYAQAATlN0M19fMjdjb2RlY3Z0SURzRHUxMV9fbWJzdGF0ZV90RUUAnPcAAJziAAAAAAAAAgAAAMTgAAACAAAA0OEAAAIAAAAAAAAANOMAAHIBAACZAQAAUAEAAJoBAACbAQAAnAEAAJ0BAACeAQAAnwEAAKABAABOU3QzX18yN2NvZGVjdnRJRGljMTFfX21ic3RhdGVfdEVFAACc9wAAEOMAAAAAAAACAAAAxOAAAAIAAADQ4QAAAgAAAAAAAACo4wAAcgEAAKEBAABQAQAAogEAAKMBAACkAQAApQEAAKYBAACnAQAAqAEAAE5TdDNfXzI3Y29kZWN2dElEaUR1MTFfX21ic3RhdGVfdEVFAJz3AACE4wAAAAAAAAIAAADE4AAAAgAAANDhAAACAAAATlN0M19fMjdjb2RlY3Z0SXdjMTFfX21ic3RhdGVfdEVFAAAAnPcAAMjjAAAAAAAAAgAAAMTgAAACAAAA0OEAAAIAAABOU3QzX18yNmxvY2FsZTVfX2ltcEUAAABA9wAADOQAAMTgAABOU3QzX18yN2NvbGxhdGVJY0VFAED3AAAw5AAAxOAAAE5TdDNfXzI3Y29sbGF0ZUl3RUUAQPcAAFDkAADE4AAATlN0M19fMjVjdHlwZUljRUUAAACc9wAAcOQAAAAAAAACAAAAxOAAAAIAAAA84QAAAgAAAE5TdDNfXzI4bnVtcHVuY3RJY0VFAAAAAED3AACk5AAAxOAAAE5TdDNfXzI4bnVtcHVuY3RJd0VFAAAAAED3AADI5AAAxOAAAAAAAABE5AAAqQEAAKoBAABQAQAAqwEAAKwBAACtAQAAAAAAAGTkAACuAQAArwEAAFABAACwAQAAsQEAALIBAAAAAAAAAOYAAHIBAACzAQAAUAEAALQBAAC1AQAAtgEAALcBAAC4AQAAuQEAALoBAAC7AQAAvAEAAL0BAAC+AQAATlN0M19fMjdudW1fZ2V0SWNOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yOV9fbnVtX2dldEljRUUATlN0M19fMjE0X19udW1fZ2V0X2Jhc2VFAAAY9wAAxuUAAJz3AACw5QAAAAAAAAEAAADg5QAAAAAAAJz3AABs5QAAAAAAAAIAAADE4AAAAgAAAOjlAAAAAAAAAAAAANTmAAByAQAAvwEAAFABAADAAQAAwQEAAMIBAADDAQAAxAEAAMUBAADGAQAAxwEAAMgBAADJAQAAygEAAE5TdDNfXzI3bnVtX2dldEl3TlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFRUUATlN0M19fMjlfX251bV9nZXRJd0VFAAAAnPcAAKTmAAAAAAAAAQAAAODlAAAAAAAAnPcAAGDmAAAAAAAAAgAAAMTgAAACAAAAvOYAAAAAAAAAAAAAvOcAAHIBAADLAQAAUAEAAMwBAADNAQAAzgEAAM8BAADQAQAA0QEAANIBAADTAQAATlN0M19fMjdudW1fcHV0SWNOU18xOW9zdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yOV9fbnVtX3B1dEljRUUATlN0M19fMjE0X19udW1fcHV0X2Jhc2VFAAAY9wAAgucAAJz3AABs5wAAAAAAAAEAAACc5wAAAAAAAJz3AAAo5wAAAAAAAAIAAADE4AAAAgAAAKTnAAAAAAAAAAAAAIToAAByAQAA1AEAAFABAADVAQAA1gEAANcBAADYAQAA2QEAANoBAADbAQAA3AEAAE5TdDNfXzI3bnVtX3B1dEl3TlNfMTlvc3RyZWFtYnVmX2l0ZXJhdG9ySXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFRUUATlN0M19fMjlfX251bV9wdXRJd0VFAAAAnPcAAFToAAAAAAAAAQAAAJznAAAAAAAAnPcAABDoAAAAAAAAAgAAAMTgAAACAAAAbOgAAAAAAAAAAAAAhOkAAN0BAADeAQAAUAEAAN8BAADgAQAA4QEAAOIBAADjAQAA5AEAAOUBAAD4////hOkAAOYBAADnAQAA6AEAAOkBAADqAQAA6wEAAOwBAABOU3QzX18yOHRpbWVfZ2V0SWNOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJY05TXzExY2hhcl90cmFpdHNJY0VFRUVFRQBOU3QzX18yOXRpbWVfYmFzZUUAGPcAAD3pAABOU3QzX18yMjBfX3RpbWVfZ2V0X2Nfc3RvcmFnZUljRUUAAAAY9wAAWOkAAJz3AAD46AAAAAAAAAMAAADE4AAAAgAAAFDpAAACAAAAfOkAAAAIAAAAAAAAcOoAAO0BAADuAQAAUAEAAO8BAADwAQAA8QEAAPIBAADzAQAA9AEAAPUBAAD4////cOoAAPYBAAD3AQAA+AEAAPkBAAD6AQAA+wEAAPwBAABOU3QzX18yOHRpbWVfZ2V0SXdOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yMjBfX3RpbWVfZ2V0X2Nfc3RvcmFnZUl3RUUAABj3AABF6gAAnPcAAADqAAAAAAAAAwAAAMTgAAACAAAAUOkAAAIAAABo6gAAAAgAAAAAAAAU6wAA/QEAAP4BAABQAQAA/wEAAE5TdDNfXzI4dGltZV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMF9fdGltZV9wdXRFAAAAGPcAAPXqAACc9wAAsOoAAAAAAAACAAAAxOAAAAIAAAAM6wAAAAgAAAAAAACU6wAAAAIAAAECAABQAQAAAgIAAE5TdDNfXzI4dGltZV9wdXRJd05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckl3TlNfMTFjaGFyX3RyYWl0c0l3RUVFRUVFAAAAAJz3AABM6wAAAAAAAAIAAADE4AAAAgAAAAzrAAAACAAAAAAAACjsAAByAQAAAwIAAFABAAAEAgAABQIAAAYCAAAHAgAACAIAAAkCAAAKAgAACwIAAAwCAABOU3QzX18yMTBtb25leXB1bmN0SWNMYjBFRUUATlN0M19fMjEwbW9uZXlfYmFzZUUAAAAAGPcAAAjsAACc9wAA7OsAAAAAAAACAAAAxOAAAAIAAAAg7AAAAgAAAAAAAACc7AAAcgEAAA0CAABQAQAADgIAAA8CAAAQAgAAEQIAABICAAATAgAAFAIAABUCAAAWAgAATlN0M19fMjEwbW9uZXlwdW5jdEljTGIxRUVFAJz3AACA7AAAAAAAAAIAAADE4AAAAgAAACDsAAACAAAAAAAAABDtAAByAQAAFwIAAFABAAAYAgAAGQIAABoCAAAbAgAAHAIAAB0CAAAeAgAAHwIAACACAABOU3QzX18yMTBtb25leXB1bmN0SXdMYjBFRUUAnPcAAPTsAAAAAAAAAgAAAMTgAAACAAAAIOwAAAIAAAAAAAAAhO0AAHIBAAAhAgAAUAEAACICAAAjAgAAJAIAACUCAAAmAgAAJwIAACgCAAApAgAAKgIAAE5TdDNfXzIxMG1vbmV5cHVuY3RJd0xiMUVFRQCc9wAAaO0AAAAAAAACAAAAxOAAAAIAAAAg7AAAAgAAAAAAAAAo7gAAcgEAACsCAABQAQAALAIAAC0CAABOU3QzX18yOW1vbmV5X2dldEljTlNfMTlpc3RyZWFtYnVmX2l0ZXJhdG9ySWNOU18xMWNoYXJfdHJhaXRzSWNFRUVFRUUATlN0M19fMjExX19tb25leV9nZXRJY0VFAAAY9wAABu4AAJz3AADA7QAAAAAAAAIAAADE4AAAAgAAACDuAAAAAAAAAAAAAMzuAAByAQAALgIAAFABAAAvAgAAMAIAAE5TdDNfXzI5bW9uZXlfZ2V0SXdOU18xOWlzdHJlYW1idWZfaXRlcmF0b3JJd05TXzExY2hhcl90cmFpdHNJd0VFRUVFRQBOU3QzX18yMTFfX21vbmV5X2dldEl3RUUAABj3AACq7gAAnPcAAGTuAAAAAAAAAgAAAMTgAAACAAAAxO4AAAAAAAAAAAAAcO8AAHIBAAAxAgAAUAEAADICAAAzAgAATlN0M19fMjltb25leV9wdXRJY05TXzE5b3N0cmVhbWJ1Zl9pdGVyYXRvckljTlNfMTFjaGFyX3RyYWl0c0ljRUVFRUVFAE5TdDNfXzIxMV9fbW9uZXlfcHV0SWNFRQAAGPcAAE7vAACc9wAACO8AAAAAAAACAAAAxOAAAAIAAABo7wAAAAAAAAAAAAAU8AAAcgEAADQCAABQAQAANQIAADYCAABOU3QzX18yOW1vbmV5X3B1dEl3TlNfMTlvc3RyZWFtYnVmX2l0ZXJhdG9ySXdOU18xMWNoYXJfdHJhaXRzSXdFRUVFRUUATlN0M19fMjExX19tb25leV9wdXRJd0VFAAAY9wAA8u8AAJz3AACs7wAAAAAAAAIAAADE4AAAAgAAAAzwAAAAAAAAAAAAAIzwAAByAQAANwIAAFABAAA4AgAAOQIAADoCAABOU3QzX18yOG1lc3NhZ2VzSWNFRQBOU3QzX18yMTNtZXNzYWdlc19iYXNlRQAAAAAY9wAAafAAAJz3AABU8AAAAAAAAAIAAADE4AAAAgAAAITwAAACAAAAAAAAAOTwAAByAQAAOwIAAFABAAA8AgAAPQIAAD4CAABOU3QzX18yOG1lc3NhZ2VzSXdFRQAAAACc9wAAzPAAAAAAAAACAAAAxOAAAAIAAACE8AAAAgAAAFMAAAB1AAAAbgAAAGQAAABhAAAAeQAAAAAAAABNAAAAbwAAAG4AAABkAAAAYQAAAHkAAAAAAAAAVAAAAHUAAABlAAAAcwAAAGQAAABhAAAAeQAAAAAAAABXAAAAZQAAAGQAAABuAAAAZQAAAHMAAABkAAAAYQAAAHkAAAAAAAAAVAAAAGgAAAB1AAAAcgAAAHMAAABkAAAAYQAAAHkAAAAAAAAARgAAAHIAAABpAAAAZAAAAGEAAAB5AAAAAAAAAFMAAABhAAAAdAAAAHUAAAByAAAAZAAAAGEAAAB5AAAAAAAAAFMAAAB1AAAAbgAAAAAAAABNAAAAbwAAAG4AAAAAAAAAVAAAAHUAAABlAAAAAAAAAFcAAABlAAAAZAAAAAAAAABUAAAAaAAAAHUAAAAAAAAARgAAAHIAAABpAAAAAAAAAFMAAABhAAAAdAAAAAAAAABKAAAAYQAAAG4AAAB1AAAAYQAAAHIAAAB5AAAAAAAAAEYAAABlAAAAYgAAAHIAAAB1AAAAYQAAAHIAAAB5AAAAAAAAAE0AAABhAAAAcgAAAGMAAABoAAAAAAAAAEEAAABwAAAAcgAAAGkAAABsAAAAAAAAAE0AAABhAAAAeQAAAAAAAABKAAAAdQAAAG4AAABlAAAAAAAAAEoAAAB1AAAAbAAAAHkAAAAAAAAAQQAAAHUAAABnAAAAdQAAAHMAAAB0AAAAAAAAAFMAAABlAAAAcAAAAHQAAABlAAAAbQAAAGIAAABlAAAAcgAAAAAAAABPAAAAYwAAAHQAAABvAAAAYgAAAGUAAAByAAAAAAAAAE4AAABvAAAAdgAAAGUAAABtAAAAYgAAAGUAAAByAAAAAAAAAEQAAABlAAAAYwAAAGUAAABtAAAAYgAAAGUAAAByAAAAAAAAAEoAAABhAAAAbgAAAAAAAABGAAAAZQAAAGIAAAAAAAAATQAAAGEAAAByAAAAAAAAAEEAAABwAAAAcgAAAAAAAABKAAAAdQAAAG4AAAAAAAAASgAAAHUAAABsAAAAAAAAAEEAAAB1AAAAZwAAAAAAAABTAAAAZQAAAHAAAAAAAAAATwAAAGMAAAB0AAAAAAAAAE4AAABvAAAAdgAAAAAAAABEAAAAZQAAAGMAAAAAAAAAQQAAAE0AAAAAAAAAUAAAAE0AAAAAAAAAAAAAAHzpAADmAQAA5wEAAOgBAADpAQAA6gEAAOsBAADsAQAAAAAAAGjqAAD2AQAA9wEAAPgBAAD5AQAA+gEAAPsBAAD8AQAAAAAAAPD0AAAZAAAAPwIAAEACAABOU3QzX18yMTRfX3NoYXJlZF9jb3VudEUAAAAAGPcAANT0AAAAAAAANPUAABkAAABBAgAAQAIAAEICAABAAgAATlN0M19fMjE5X19zaGFyZWRfd2Vha19jb3VudEUAAACc9wAAFPUAAAAAAAABAAAA8PQAAAAAAABOMTBfX2N4eGFiaXYxMTZfX3NoaW1fdHlwZV9pbmZvRQAAAABA9wAATPUAAPz4AABOMTBfX2N4eGFiaXYxMTdfX2NsYXNzX3R5cGVfaW5mb0UAAABA9wAAfPUAAHD1AABOMTBfX2N4eGFiaXYxMTdfX3BiYXNlX3R5cGVfaW5mb0UAAABA9wAArPUAAHD1AABOMTBfX2N4eGFiaXYxMTlfX3BvaW50ZXJfdHlwZV9pbmZvRQBA9wAA3PUAAND1AAAAAAAAUPYAAEQCAABFAgAARgIAAEcCAABIAgAATjEwX19jeHhhYml2MTIzX19mdW5kYW1lbnRhbF90eXBlX2luZm9FAED3AAAo9gAAcPUAAHYAAAAU9gAAXPYAAGIAAAAU9gAAaPYAAGMAAAAU9gAAdPYAAGgAAAAU9gAAgPYAAGEAAAAU9gAAjPYAAHMAAAAU9gAAmPYAAHQAAAAU9gAApPYAAGkAAAAU9gAAsPYAAGoAAAAU9gAAvPYAAGwAAAAU9gAAyPYAAG0AAAAU9gAA1PYAAHgAAAAU9gAA4PYAAHkAAAAU9gAA7PYAAGYAAAAU9gAA+PYAAGQAAAAU9gAABPcAAAAAAACg9QAARAIAAEkCAABGAgAARwIAAEoCAABLAgAATAIAAE0CAAAAAAAAiPcAAEQCAABOAgAARgIAAEcCAABKAgAATwIAAFACAABRAgAATjEwX19jeHhhYml2MTIwX19zaV9jbGFzc190eXBlX2luZm9FAAAAAED3AABg9wAAoPUAAAAAAADk9wAARAIAAFICAABGAgAARwIAAEoCAABTAgAAVAIAAFUCAABOMTBfX2N4eGFiaXYxMjFfX3ZtaV9jbGFzc190eXBlX2luZm9FAAAAQPcAALz3AACg9QAAAAAAAFT4AAAPAAAAVgIAAFcCAAAAAAAAfPgAAA8AAABYAgAAWQIAAAAAAAA8+AAADwAAAFoCAABbAgAAU3Q5ZXhjZXB0aW9uAAAAABj3AAAs+AAAU3Q5YmFkX2FsbG9jAAAAAED3AABE+AAAPPgAAFN0MjBiYWRfYXJyYXlfbmV3X2xlbmd0aAAAAABA9wAAYPgAAFT4AAAAAAAArPgAAA4AAABcAgAAXQIAAFN0MTFsb2dpY19lcnJvcgBA9wAAnPgAADz4AAAAAAAA4PgAAA4AAABeAgAAXQIAAFN0MTJsZW5ndGhfZXJyb3IAAAAAQPcAAMz4AACs+AAAU3Q5dHlwZV9pbmZvAAAAABj3AADs+AAA"); +memorySegments[22] = base64DecodeToExistingUint8Array(new Uint8Array(108), 0, "AQAAAP/////9/////v///wAAIAAAIAAABQAAAAAAAAAAAAAA7AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6gAAAOkAAACoCgEAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAP//////////"); +memorySegments[23] = base64DecodeToExistingUint8Array(new Uint8Array(89), 0, "IPkAAAAAAAAFAAAAAAAAAAAAAADuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADqAAAA7wAAALgKAQAABAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAA/////wo="); +memorySegments[24] = base64DecodeToExistingUint8Array(new Uint8Array(58), 0, "uPkAAMAlUQAJAAAAAAAAAAAAAADsAAAAAAAAAAAAAAAAAAAAAAAAAOsAAAAAAAAA6QAAAPgQAQAABA=="); +memorySegments[25] = base64DecodeToExistingUint8Array(new Uint8Array(4), 0, "/////w=="); +memorySegments[26] = base64DecodeToExistingUint8Array(new Uint8Array(8), 0, "UPoAAAACAAA="); + + var scratchBuffer = new ArrayBuffer(16); + var i32ScratchView = new Int32Array(scratchBuffer); + var f32ScratchView = new Float32Array(scratchBuffer); + var f64ScratchView = new Float64Array(scratchBuffer); + + function wasm2js_scratch_load_i32(index) { + return i32ScratchView[index]; + } + + function wasm2js_scratch_store_i32(index, value) { + i32ScratchView[index] = value; + } + + function wasm2js_scratch_load_f64() { + return f64ScratchView[0]; + } + + function wasm2js_scratch_store_f64(value) { + f64ScratchView[0] = value; + } + + function wasm2js_atomic_wait_i32(ptr, expected, timeoutLow, timeoutHigh) { + var timeout = Infinity; + if (timeoutHigh >= 0) { + // Convert from nanoseconds to milliseconds + // Taken from convertI32PairToI53 in emscripten's library_int53.js + timeout = ((timeoutLow >>> 0) / 1e6) + timeoutHigh * (4294967296 / 1e6); + } + var view = new Int32Array(bufferView.buffer); // TODO cache + var result = Atomics.wait(view, ptr >> 2, expected, timeout); + if (result == 'ok') return 0; + if (result == 'not-equal') return 1; + if (result == 'timed-out') return 2; + throw 'bad result ' + result; + } + + function wasm2js_memory_fill(dest, value, size) { + dest = dest >>> 0; + size = size >>> 0; + if (dest + size > bufferView.length) throw "trap: invalid memory.fill"; + bufferView.fill(value, dest, dest + size); + } + + function wasm2js_memory_copy(dest, source, size) { + // TODO: traps on invalid things + bufferView.copyWithin(dest, source, source + size); + } + + function wasm2js_scratch_store_f32(value) { + f32ScratchView[2] = value; + } + + function wasm2js_scratch_load_f32() { + return f32ScratchView[2]; + } + + function wasm2js_memory_init(segment, dest, offset, size) { + // TODO: traps on invalid things + bufferView.set(memorySegments[segment].subarray(offset, offset + size), dest); + } + + function wasm2js_data_drop(segment) { + // TODO: traps on invalid things + memorySegments[segment] = new Uint8Array(0); + } + +function asmFunc(env) { + var memory = env.a; + var buffer = memory.buffer; + var HEAP8 = new Int8Array(buffer); + var HEAP16 = new Int16Array(buffer); + var HEAP32 = new Int32Array(buffer); + var HEAPU8 = new Uint8Array(buffer); + var HEAPU16 = new Uint16Array(buffer); + var HEAPU32 = new Uint32Array(buffer); + var HEAPF32 = new Float32Array(buffer); + var HEAPF64 = new Float64Array(buffer); + var Math_imul = Math.imul; + var Math_fround = Math.fround; + var Math_abs = Math.abs; + var Math_clz32 = Math.clz32; + var Math_min = Math.min; + var Math_max = Math.max; + var Math_floor = Math.floor; + var Math_ceil = Math.ceil; + var Math_trunc = Math.trunc; + var Math_sqrt = Math.sqrt; + var abort = env.abort; + var nan = NaN; + var infinity = Infinity; + var fimport$0 = env.b; + var fimport$1 = env.c; + var fimport$2 = env.d; + var fimport$3 = env.e; + var fimport$4 = env.f; + var fimport$5 = env.g; + var fimport$6 = env.h; + var fimport$7 = env.i; + var fimport$8 = env.j; + var fimport$9 = env.k; + var fimport$10 = env.l; + var fimport$11 = env.m; + var fimport$12 = env.n; + var fimport$13 = env.o; + var fimport$14 = env.p; + var fimport$15 = env.q; + var fimport$16 = env.r; + var fimport$17 = env.s; + var fimport$18 = env.t; + var fimport$19 = env.u; + var fimport$20 = env.v; + var fimport$21 = env.w; + var fimport$22 = env.x; + var fimport$23 = env.y; + var fimport$24 = env.z; + var fimport$25 = env.A; + var fimport$26 = env.B; + var fimport$27 = env.C; + var fimport$28 = env.D; + var fimport$29 = env.E; + var fimport$30 = env.F; + var fimport$31 = env.G; + var fimport$32 = env.H; + var fimport$33 = env.I; + var fimport$34 = env.J; + var fimport$35 = env.K; + var fimport$36 = env.L; + var fimport$37 = env.M; + var fimport$38 = env.N; + var fimport$39 = env.O; + var fimport$40 = env.P; + var fimport$41 = env.Q; + var fimport$42 = env.R; + var fimport$43 = env.S; + var fimport$44 = env.T; + var fimport$45 = env.U; + var fimport$46 = env.V; + var fimport$47 = env.W; + var fimport$48 = env.X; + var fimport$49 = env.Y; + var fimport$50 = env.Z; + var global$0 = 5318080; + var global$1 = 0; + var global$2 = 0; + var global$3 = 0; + var global$4 = 0; + var global$5 = 0; + var global$6 = 0; + var global$7 = 0; + var global$8 = 0; + var global$9 = 8; + var global$10 = 12; + var i64toi32_i32$HIGH_BITS = 0; + // EMSCRIPTEN_START_FUNCS +function $1196($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=Math_fround(0),$6_1=0,$7_1=0,$8_1=0,$9_1=Math_fround(0),$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=Math_fround(0),$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=Math_fround(0),$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=Math_fround(0),$32_1=0,$33_1=Math_fround(0),$34_1=0,$35_1=Math_fround(0),$36_1=Math_fround(0),$37_1=0,$38_1=0,$39_1=Math_fround(0),$40_1=0,$41_1=Math_fround(0),$42_1=0,$43_1=0,$44_1=0,$45_1=Math_fround(0),$46_1=Math_fround(0),$47_1=0,$48_1=0,$49_1=Math_fround(0),$50_1=0,$51_1=0,$52_1=Math_fround(0),$53_1=0,$54_1=0,$55_1=0,$56_1=0,$57_1=0,$58_1=0,$59_1=0,$60_1=0,$61_1=0,$62_1=0,$63_1=0,$64_1=0,$65_1=0,$66_1=0,$67_1=Math_fround(0);$50_1=global$0-16|0;global$0=$50_1;HEAP32[$50_1+12>>2]=0;label$1:{if(!$0_1){$5(0,3,37904,0);break label$1}label$3:{$53_1=HEAP32[$0_1+136>>2];$23_1=HEAP32[$53_1>>2];if($23_1){$62_1=HEAP32[$53_1+4>>2];if($62_1){break label$3}}$5(0,3,36925,0);break label$1}$5(0,1,37569,0);if($23_1){HEAP32[$50_1+12>>2]=HEAP32[$23_1+52>>2];HEAP32[$50_1+8>>2]=HEAP32[$23_1+56>>2]}while(1){if(($678($0_1)|0)>=0){$2_1=0;$11_1=0;$12_1=0;$24_1=0;$38_1=global$0-32|0;global$0=$38_1;__inlined_func$1313:{label$10:{label$2:{label$31:{$25_1=$62_1;label$4:{if(!($25_1?$23_1:0)){$5(0,3,12048,0);break label$4}$8_1=HEAP32[$23_1+16>>2];$16_1=HEAP32[$23_1+12>>2];label$62:{$56_1=HEAP32[$23_1+20>>2];if(($56_1|0)==1){break label$62}label$7:{label$8:{switch($56_1-1|0){case 0:HEAP32[$38_1+28>>2]=$16_1;HEAP32[$38_1+24>>2]=$8_1;$2_1=Math_imul($8_1,$16_1);$1_1=$7($2_1);if(!$1_1){break label$2}wasm2js_memory_copy($1_1,$25_1,$2_1);$25_1=$1_1;break label$7;case 4:$10_1=$25_1;$1_1=($16_1|0)/3|0;$7_1=$1_1<<1;HEAP32[$38_1+28>>2]=$7_1;$2_1=($8_1|0)/3|0;$25_1=$2_1<<1;HEAP32[$38_1+24>>2]=$25_1;label$13:{$3_1=$7(Math_imul($7_1,$25_1));if($3_1){$15_1=($2_1|0)>0?$2_1:0;$18_1=($1_1|0)>0?$1_1:0;$25_1=$3_1;$12_1=$3_1;while(1){if(($11_1|0)!=($15_1|0)){$25_1=$7_1+$25_1|0;$1_1=Math_imul($11_1,3);$6_1=$10_1+Math_imul($1_1,$16_1)|0;$2_1=$10_1+Math_imul($16_1,$1_1+2|0)|0;$4_1=$10_1+Math_imul($16_1,$1_1+1|0)|0;$1_1=0;while(1){if(($1_1|0)!=($18_1|0)){HEAP8[$12_1|0]=(HEAPU8[$6_1|0]+(HEAPU8[$6_1+1|0]>>>1|0)+(HEAPU8[$4_1|0]>>>1)+(HEAPU8[$4_1+1|0]>>>2)<<2>>>0)/9;HEAP8[$25_1|0]=(HEAPU8[$2_1|0]+((HEAPU8[$4_1+1|0]>>>2)+(HEAPU8[$4_1|0]>>>1)|0)+(HEAPU8[$2_1+1|0]>>>1)<<2>>>0)/9;HEAP8[$12_1+1|0]=(HEAPU8[$6_1+2|0]+(HEAPU8[$6_1+1|0]>>>1|0)+(HEAPU8[$4_1+1|0]>>>2)+(HEAPU8[$4_1+2|0]>>>1)<<2>>>0)/9;HEAP8[$25_1+1|0]=(HEAPU8[$2_1+2|0]+((HEAPU8[$4_1+2|0]>>>1)+(HEAPU8[$4_1+1|0]>>>2)+(HEAPU8[$2_1+1|0]>>>1)|0)<<2>>>0)/9;$1_1=$1_1+1|0;$2_1=$2_1+3|0;$4_1=$4_1+3|0;$6_1=$6_1+3|0;$25_1=$25_1+2|0;$12_1=$12_1+2|0;continue}break}$11_1=$11_1+1|0;$12_1=$7_1+$12_1|0;continue}break}$25_1=$3_1;break label$13}break label$2}break label$7;case 1:$3_1=$25_1;$2_1=($16_1|0)/2|0;HEAP32[$38_1+28>>2]=$2_1;$25_1=($8_1|0)/2|0;HEAP32[$38_1+24>>2]=$25_1;label$19:{$1_1=$7(Math_imul($2_1,$25_1));if($1_1){$10_1=($25_1|0)>0?$25_1:0;$7_1=($2_1|0)>0?$2_1:0;$25_1=$1_1;while(1){if(($10_1|0)!=($12_1|0)){$2_1=$12_1<<1;$4_1=$3_1+Math_imul($2_1,$16_1)|0;$6_1=$3_1+Math_imul($16_1,$2_1|1)|0;$2_1=0;while(1){if(($2_1|0)!=($7_1|0)){HEAP8[$25_1|0]=HEAPU8[$6_1+1|0]+(HEAPU8[$6_1|0]+(HEAPU8[$4_1+1|0]+HEAPU8[$4_1|0]|0)|0)>>>2;$2_1=$2_1+1|0;$6_1=$6_1+2|0;$4_1=$4_1+2|0;$25_1=$25_1+1|0;continue}break}$12_1=$12_1+1|0;continue}break}$25_1=$1_1;break label$19}break label$2}break label$7;case 3:$1_1=($16_1|0)/3|0;HEAP32[$38_1+28>>2]=$1_1;$4_1=($8_1|0)/3|0;HEAP32[$38_1+24>>2]=$4_1;label$25:{$3_1=$7(Math_imul($1_1,$4_1));if($3_1){$10_1=($4_1|0)>0?$4_1:0;$7_1=($1_1|0)>0?$1_1:0;$1_1=$3_1;while(1){if(($2_1|0)!=($10_1|0)){$6_1=Math_imul($2_1,3);$4_1=Math_imul($6_1,$16_1)+$25_1|0;$12_1=Math_imul($16_1,$6_1+2|0)+$25_1|0;$6_1=Math_imul($16_1,$6_1+1|0)+$25_1|0;$11_1=0;while(1){if(($7_1|0)!=($11_1|0)){HEAP8[$1_1|0]=(HEAPU8[$12_1+2|0]+(HEAPU8[$12_1+1|0]+(HEAPU8[$12_1|0]+(HEAPU8[$6_1+2|0]+(HEAPU8[$6_1+1|0]+(HEAPU8[$6_1|0]+(HEAPU8[$4_1+2|0]+(HEAPU8[$4_1+1|0]+HEAPU8[$4_1|0]|0)|0)|0)|0)|0)|0)|0)>>>0)/9;$11_1=$11_1+1|0;$12_1=$12_1+3|0;$6_1=$6_1+3|0;$4_1=$4_1+3|0;$1_1=$1_1+1|0;continue}break}$2_1=$2_1+1|0;continue}break}$25_1=$3_1;break label$25}break label$2}break label$7;default:break label$8}}$1_1=($16_1|0)/4|0;HEAP32[$38_1+28>>2]=$1_1;$2_1=($8_1|0)/4|0;HEAP32[$38_1+24>>2]=$2_1;label$314:{$3_1=$7(Math_imul($1_1,$2_1));if($3_1){$10_1=($2_1|0)>0?$2_1:0;$15_1=($1_1|0)>0?$1_1:0;$1_1=$3_1;while(1){if(($10_1|0)!=($11_1|0)){$2_1=$11_1<<2;$4_1=Math_imul($2_1,$16_1)+$25_1|0;$12_1=Math_imul($16_1,$2_1|3)+$25_1|0;$6_1=Math_imul($16_1,$2_1|2)+$25_1|0;$2_1=Math_imul($16_1,$2_1|1)+$25_1|0;$7_1=0;while(1){if(($7_1|0)!=($15_1|0)){HEAP8[$1_1|0]=HEAPU8[$12_1+3|0]+(HEAPU8[$12_1+2|0]+(HEAPU8[$12_1+1|0]+(HEAPU8[$12_1|0]+(HEAPU8[$6_1+3|0]+(HEAPU8[$6_1+2|0]+(HEAPU8[$6_1+1|0]+(HEAPU8[$6_1|0]+(HEAPU8[$2_1+3|0]+(HEAPU8[$2_1+2|0]+(HEAPU8[$2_1+1|0]+(HEAPU8[$2_1|0]+(HEAPU8[$4_1+3|0]+(HEAPU8[$4_1+2|0]+(HEAPU8[$4_1+1|0]+HEAPU8[$4_1|0]|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)>>>4;$7_1=$7_1+1|0;$12_1=$12_1+4|0;$6_1=$6_1+4|0;$2_1=$2_1+4|0;$4_1=$4_1+4|0;$1_1=$1_1+1|0;continue}break}$11_1=$11_1+1|0;continue}break}$25_1=$3_1;break label$314}break label$2}}if($25_1){break label$62}break label$4}$1_1=HEAP32[$23_1>>2];$59_1=global$0-32|0;global$0=$59_1;$44_1=$694($59_1,$25_1,1,$16_1,$8_1,$16_1);$4_1=0;$60_1=global$0-32|0;global$0=$60_1;$37_1=HEAP32[HEAP32[$1_1>>2]>>2];$10_1=$37_1+92|0;label$37:{label$38:{if(!$120($34($10_1))){break label$38}if(HEAP32[$25($34($10_1),0)+4>>2]!=HEAP32[$44_1+4>>2]){break label$38}if(HEAP32[$25($34($10_1),0)+8>>2]==HEAP32[$44_1+8>>2]){break label$37}}$2_1=HEAP32[$44_1+4>>2];$12_1=HEAP32[$44_1+8>>2];while(1){if(!(($2_1|0)<8|($12_1|0)<8)){$4_1=$4_1+1|0;$12_1=$12_1>>1;$2_1=$2_1>>1;continue}break}$1_1=HEAP32[$44_1+4>>2];$2_1=HEAP32[$44_1+8>>2];$12_1=0;HEAP32[$10_1+20>>2]=3;HEAP32[$10_1+16>>2]=$4_1;$5_1=$821(Math_fround(2),Math_fround(.5));HEAPF32[$10_1+24>>2]=$5_1;HEAPF32[$10_1+28>>2]=Math_fround(1)/$253($5_1);$3_1=$10_1+4|0;$504($3_1,Math_imul(HEAP32[$10_1+20>>2],$4_1));$6_1=($4_1|0)>0?$4_1:0;label$41:while(1){if(($6_1|0)!=($12_1|0)){$7_1=$2_1>>>$12_1|0;$16_1=$1_1>>>$12_1|0;$4_1=0;while(1){$8_1=HEAP32[$10_1+20>>2];if($8_1>>>0<=$4_1>>>0){$12_1=$12_1+1|0;continue label$41}else{$454($25($3_1,Math_imul($8_1,$12_1)+$4_1|0),2,$16_1,$7_1,1);$4_1=$4_1+1|0;continue}}}break}$3_1=$10_1+32|0;$4_1=$227($3_1);$6_1=Math_imul($1_1,$2_1);label$46:{if($4_1>>>0<$6_1>>>0){$16_1=global$0-32|0;global$0=$16_1;$7_1=$6_1-$4_1|0;label$48:{if($7_1>>>0<=HEAP32[$4($3_1)>>2]-HEAP32[$3_1+4>>2]>>1>>>0){$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1>>2]=$3_1;$2_1=HEAP32[$3_1+4>>2];HEAP32[$1_1+4>>2]=$2_1;HEAP32[$1_1+8>>2]=$2_1+($7_1<<1);$12_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1+8>>2];while(1){if(($2_1|0)==($12_1|0)){$72($1_1);global$0=$1_1+16|0}else{$782($4($3_1),$12_1);$12_1=$12_1+2|0;HEAP32[$1_1+4>>2]=$12_1;continue}break}break label$48}$11_1=$4($3_1);$4_1=$16_1+8|0;$8_1=$227($3_1)+$7_1|0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$8_1;$12_1=global$0-16|0;global$0=$12_1;$4($3_1);HEAP32[$12_1+12>>2]=2147483647;HEAP32[$12_1+8>>2]=2147483647;$2_1=HEAP32[$280($12_1+12|0,$12_1+8|0)>>2];global$0=$12_1+16|0;label$53:{if($2_1>>>0>=$8_1>>>0){$12_1=$228($3_1);if($12_1>>>0<$2_1>>>1>>>0){HEAP32[$1_1+8>>2]=$12_1<<1;$2_1=HEAP32[$67($1_1+8|0,$1_1+12|0)>>2]}global$0=$1_1+16|0;$1_1=$2_1;break label$53}$234(16051);abort()}$8_1=$227($3_1);$2_1=0;$12_1=global$0-16|0;global$0=$12_1;HEAP32[$12_1+12>>2]=0;$182($4_1+12|0,$11_1);if($1_1){if($1_1>>>0>2147483647){$233();abort()}$2_1=$48($1_1<<1)}HEAP32[$4_1>>2]=$2_1;$8_1=($8_1<<1)+$2_1|0;HEAP32[$4_1+8>>2]=$8_1;HEAP32[$4_1+4>>2]=$8_1;HEAP32[$13($4_1)>>2]=($1_1<<1)+$2_1;global$0=$12_1+16|0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1>>2]=HEAP32[$4_1+8>>2];$2_1=HEAP32[$4_1+8>>2];HEAP32[$1_1+8>>2]=$4_1+8;HEAP32[$1_1+4>>2]=$2_1+($7_1<<1);$2_1=HEAP32[$1_1>>2];while(1){if(HEAP32[$1_1+4>>2]!=($2_1|0)){$782(HEAP32[$4_1+16>>2],HEAP32[$1_1>>2]);$2_1=HEAP32[$1_1>>2]+2|0;HEAP32[$1_1>>2]=$2_1;continue}break}$143($1_1);global$0=$1_1+16|0;$788($3_1);$1_1=$4_1+4|0;$279($4($3_1),HEAP32[$3_1>>2],HEAP32[$3_1+4>>2],$1_1);$28($3_1,$1_1);$28($3_1+4|0,$4_1+8|0);$28($4($3_1),$13($4_1));HEAP32[$4_1>>2]=HEAP32[$4_1+4>>2];$227($3_1);$228($3_1);$228($3_1);$1_1=HEAP32[$4_1+4>>2];while(1){if(($1_1|0)!=HEAP32[$4_1+8>>2]){HEAP32[$4_1+8>>2]=HEAP32[$4_1+8>>2]-2;continue}break}if(HEAP32[$4_1>>2]){$1_1=HEAP32[$4_1>>2];$13($4_1);$1($1_1)}}global$0=$16_1+32|0;break label$46}if($4_1>>>0>$6_1>>>0){$1_1=HEAP32[$3_1>>2]+($6_1<<1)|0;$227($3_1);$783($3_1,$1_1);$228($3_1);$227($3_1)}}$232($10_1+44|0,$6_1);$232($10_1+56|0,$6_1)}$16_1=$97($60_1,3197);label$64:{label$65:{label$66:{label$67:{label$68:{if(HEAP32[$44_1>>2]==1){if(HEAP32[$44_1+16>>2]!=1){break label$68}$1_1=$10_1+4|0;if(($120($1_1)|0)!=(Math_imul(HEAP32[$10_1+20>>2],HEAP32[$10_1+16>>2])|0)){break label$67}if(HEAP32[$44_1+4>>2]!=HEAP32[$25($1_1,0)+4>>2]){break label$66}if(HEAP32[$44_1+8>>2]!=HEAP32[$25($1_1,0)+8>>2]){break label$65}$319($10_1,$25($1_1,0),$44_1);$319($10_1,$25($1_1,1),$25($1_1,0));$786($10_1,$25($1_1,2),$25($1_1,1));$4_1=1;while(1){if(HEAPU32[$10_1+16>>2]<=$4_1>>>0){break label$64}$3_1=HEAP32[$25($1_1,Math_imul(HEAP32[$10_1+20>>2],$4_1))+24>>2];$8_1=HEAP32[$25($1_1,Math_imul(HEAP32[$10_1+20>>2],$4_1)-1|0)+24>>2];$12_1=0;$6_1=HEAP32[$25($1_1,Math_imul(HEAP32[$10_1+20>>2],$4_1)-1|0)+4>>2];$15_1=$6_1<<1;$18_1=HEAP32[$25($1_1,Math_imul(HEAP32[$10_1+20>>2],$4_1)-1|0)+8>>2]>>>1|0;$34_1=$6_1>>>1|0;label$71:while(1){if(($12_1|0)!=($18_1|0)){$2_1=$8_1+(Math_imul($12_1,$15_1)<<2)|0;$11_1=$2_1+($6_1<<2)|0;$7_1=0;while(1)if(($7_1|0)==($34_1|0)){$12_1=$12_1+1|0;continue label$71}else{HEAPF32[$3_1>>2]=Math_fround(Math_fround(Math_fround(HEAPF32[$2_1>>2]+HEAPF32[$2_1+4>>2])+HEAPF32[$11_1>>2])+HEAPF32[$11_1+4>>2])*Math_fround(.25);$11_1=$11_1+8|0;$2_1=$2_1+8|0;$7_1=$7_1+1|0;$3_1=$3_1+4|0;continue}}break}$319($10_1,$25($1_1,Math_imul(HEAP32[$10_1+20>>2],$4_1)+1|0),$25($1_1,Math_imul(HEAP32[$10_1+20>>2],$4_1)));$786($10_1,$25($1_1,Math_imul(HEAP32[$10_1+20>>2],$4_1)+2|0),$25($1_1,Math_imul(HEAP32[$10_1+20>>2],$4_1)+1|0));$4_1=$4_1+1|0;continue}}$3($0($0($2($0($0($0(71248,6005),2370),3305),330),3802),6555));break label$10}$3($0($0($2($0($0($0(71248,7639),2370),3305),331),3802),8158));break label$10}$3($0($0($2($0($0($0(71248,9118),2370),3305),333),3802),9658));break label$10}$3($0($0($2($0($0($0(71248,10618),2370),3305),334),3802),11142));break label$10}$3($0($0($2($0($0($0(71248,11928),2370),3305),335),3802),11142));break label$10}$71($16_1);$47_1=global$0-48|0;global$0=$47_1;$18_1=$37_1+160|0;label$76:{if(HEAP32[$18_1>>2]==HEAP32[$25($34($10_1),0)+4>>2]){if(HEAP32[$18_1+4>>2]==HEAP32[$25($34($10_1),0)+8>>2]){break label$76}}$12_1=0;$2_1=0;$11_1=0;$1_1=$18_1+32|0;label$78:{if($120($10_1+4|0)){$4_1=HEAP32[$198($10_1,0,0)>>2];$6_1=HEAP32[$198($10_1,0,0)+4>>2];$7_1=HEAP32[$198($10_1,0,0)+8>>2];HEAP32[$1_1+12>>2]=HEAP32[$10_1+16>>2];$3_1=HEAP32[$10_1+20>>2]-1|0;HEAP32[$1_1+16>>2]=$3_1;$504($1_1,Math_imul($3_1,HEAP32[$1_1+12>>2]));label$80:while(1){if(HEAPU32[$1_1+12>>2]<=$12_1>>>0){break label$78}$16_1=$7_1>>>$12_1|0;$8_1=$6_1>>>$12_1|0;$3_1=0;while(1){$15_1=HEAP32[$1_1+16>>2];if($15_1>>>0<=$3_1>>>0){$12_1=$12_1+1|0;continue label$80}else{$454($25($1_1,Math_imul($12_1,$15_1)+$3_1|0),$4_1,$8_1,$16_1,1);$3_1=$3_1+1|0;continue}}}}$3($0($0($2($0($0($0(71248,1239),2114),3305),53),3802),4244));break label$10}$6_1=HEAP32[$25($34($10_1),0)+4>>2];$7_1=HEAP32[$25($34($10_1),0)+8>>2];$12_1=HEAP32[$10_1+16>>2];$3_1=HEAP32[$10_1+20>>2];$1_1=$18_1+92|0;HEAPF32[$1_1+24>>2]=.800000011920929;HEAP32[$1_1+20>>2]=5;HEAPF32[$1_1+16>>2]=1.5;HEAPF32[$1_1+12>>2]=3;HEAP32[$1_1+8>>2]=36;HEAP32[$1_1+4>>2]=$3_1;HEAP32[$1_1>>2]=$12_1;$232($1_1+28|0,36);$16_1=$1_1+40|0;$504($16_1,Math_imul(HEAP32[$1_1+4>>2],HEAP32[$1_1>>2]));label$84:while(1){if(($2_1|0)!=($12_1|0)){$1_1=$7_1>>>$2_1|0;$8_1=$6_1>>>$2_1|0;$15_1=Math_imul($2_1,$3_1);$4_1=0;while(1)if(($3_1|0)==($4_1|0)){$2_1=$2_1+1|0;continue label$84}else{$454($25($16_1,$4_1+$15_1|0),2,$8_1,$1_1,2);$4_1=$4_1+1|0;continue}}break}HEAP32[$18_1>>2]=HEAP32[$25($34($10_1),0)+4>>2];HEAP32[$18_1+4>>2]=HEAP32[$25($34($10_1),0)+8>>2];$2_1=HEAP32[$18_1+8>>2];$4_1=$18_1+16|0;$1_1=$4_1;$3_1=$61($1_1);label$89:{if($2_1>>>0>$3_1>>>0){$12_1=global$0-32|0;global$0=$12_1;$3_1=$2_1-$3_1|0;label$91:{if($3_1>>>0<=(HEAP32[$4($1_1)>>2]-HEAP32[$1_1+4>>2]|0)/12>>>0){$803($1_1,$3_1);break label$91}$2_1=$4($1_1);$2_1=$511($12_1+8|0,$802($1_1,$61($1_1)+$3_1|0),$61($1_1),$2_1);$801($2_1,$3_1);$800($1_1,$2_1);$1_1=HEAP32[$2_1+4>>2];while(1){if(($1_1|0)!=HEAP32[$2_1+8>>2]){$3_1=HEAP32[$2_1+8>>2]-12|0;HEAP32[$2_1+8>>2]=$3_1;$812($3_1);continue}break}if(HEAP32[$2_1>>2]){$1_1=HEAP32[$2_1>>2];$508($2_1);$1($1_1)}}global$0=$12_1+32|0;break label$89}if($2_1>>>0<$3_1>>>0){$2_1=HEAP32[$1_1>>2]+Math_imul($2_1,12)|0;$61($1_1);$813($1_1,$2_1);$391($1_1)}}while(1){if($61($4_1)>>>0>$11_1>>>0){$1_1=$145($4_1,$11_1);$2_1=HEAP32[$18_1+12>>2];$3_1=$61($1_1);label$99:{if($2_1>>>0>$3_1>>>0){$12_1=global$0-32|0;global$0=$12_1;$3_1=$2_1-$3_1|0;label$101:{if($3_1>>>0<=(HEAP32[$4($1_1)>>2]-HEAP32[$1_1+4>>2]|0)/12>>>0){$803($1_1,$3_1);break label$101}$2_1=$4($1_1);$2_1=$511($12_1+8|0,$802($1_1,$61($1_1)+$3_1|0),$61($1_1),$2_1);$801($2_1,$3_1);$800($1_1,$2_1);$1_1=HEAP32[$2_1+4>>2];while(1){if(($1_1|0)!=HEAP32[$2_1+8>>2]){$3_1=HEAP32[$2_1+8>>2]-12|0;HEAP32[$2_1+8>>2]=$3_1;$810($3_1);continue}break}if(HEAP32[$2_1>>2]){$1_1=HEAP32[$2_1>>2];$508($2_1);$1($1_1)}}global$0=$12_1+32|0;break label$99}if($2_1>>>0<$3_1>>>0){$2_1=HEAP32[$1_1>>2]+Math_imul($2_1,12)|0;$61($1_1);$811($1_1,$2_1);$391($1_1)}}$11_1=$11_1+1|0;continue}break}}$2_1=$779($48(148));$1_1=global$0-16|0;global$0=$1_1;$2_1=$778($1_1+8|0,$2_1);$54_1=$37_1- -64|0;$470($2_1,$54_1);$168($2_1);global$0=$1_1+16|0;$105(HEAP32[$54_1>>2],HEAP32[$25($34($10_1),0)+4>>2]);$98(HEAP32[$54_1>>2],HEAP32[$25($34($10_1),0)+8>>2]);$63_1=$97($47_1+16|0,4116);$64_1=HEAP32[$54_1>>2];$34_1=$37_1+316|0;$12_1=0;$57_1=global$0-48|0;global$0=$57_1;label$107:{label$108:{label$109:{label$110:{label$111:{if($10_1){if(!$18_1){break label$111}if(!$120($34($10_1))){break label$110}if(HEAP32[$25($34($10_1),0)+4>>2]!=HEAP32[$18_1>>2]){break label$109}if(HEAP32[$25($34($10_1),0)+8>>2]!=HEAP32[$18_1+4>>2]){break label$108}$3_1=0;$42_1=global$0-32|0;global$0=$42_1;label$113:{$1_1=$10_1;label$114:{if(HEAP32[$1_1+16>>2]>0){$13_1=$97($42_1,17540);$16_1=$1_1;label$116:{label$117:{label$118:{$19_1=$18_1+32|0;$8_1=$19_1;if($120($8_1)){if(HEAP32[$16_1+16>>2]<=0){break label$118}if(!$526($16_1,21360,26636)){break label$117}label$120:while(1){$6_1=0;if(HEAPU32[$8_1+12>>2]<=$3_1>>>0){break label$116}label$121:while(1)if(HEAPU32[$8_1+16>>2]<=$6_1>>>0){$3_1=$3_1+1|0;continue label$120}else{$1_1=$25($8_1,Math_imul(HEAP32[$8_1+16>>2],$3_1)+$6_1|0);$2_1=$198($16_1,$3_1,$6_1);$6_1=$6_1+1|0;$4_1=$198($16_1,$3_1,$6_1);$15_1=0;label$124:{label$125:{label$126:{label$127:{label$128:{label$129:{label$130:{label$131:{label$132:{label$133:{if(HEAP32[$1_1>>2]==2){if(HEAP32[$2_1>>2]!=2){break label$133}if(HEAP32[$4_1>>2]!=2){break label$132}if(HEAP32[$1_1+16>>2]!=1){break label$131}if(HEAP32[$2_1+16>>2]!=1){break label$130}if(HEAP32[$4_1+16>>2]!=1){break label$129}if(HEAP32[$1_1+4>>2]!=HEAP32[$4_1+4>>2]){break label$128}if(HEAP32[$1_1+8>>2]!=HEAP32[$4_1+8>>2]){break label$127}if(HEAP32[$2_1+4>>2]!=HEAP32[$4_1+4>>2]){break label$126}if(HEAP32[$2_1+8>>2]!=HEAP32[$4_1+8>>2]){break label$125}label$135:while(1){if(HEAPU32[$2_1+8>>2]<=$15_1>>>0){continue label$121}$7_1=0;if(HEAPU32[$1_1+8>>2]<=$15_1>>>0){$3($0($0($2($0($0($0(71248,25540),25577),3305),119),3802),25666));break label$114}$14_1=HEAP32[$1_1+24>>2]+Math_imul(HEAP32[$1_1+12>>2],$15_1)|0;$20_1=$27($2_1,$15_1);$21_1=$27($4_1,$15_1);while(1)if(HEAPU32[$2_1+4>>2]<=$7_1>>>0){$15_1=$15_1+1|0;continue label$135}else{$11_1=$7_1<<2;HEAPF32[$11_1+$14_1>>2]=HEAPF32[$11_1+$20_1>>2]-HEAPF32[$11_1+$21_1>>2];$7_1=$7_1+1|0;continue}}}$3($0($0($2($0($0($0(71248,9822),2114),3305),86),3802),10444));break label$124}$3($0($0($2($0($0($0(71248,11299),2114),3305),87),3802),10444));break label$124}$3($0($0($2($0($0($0(71248,11881),2114),3305),88),3802),10444));break label$124}$3($0($0($2($0($0($0(71248,13928),2114),3305),89),3802),14526));break label$124}$3($0($0($2($0($0($0(71248,15005),2114),3305),90),3802),14526));break label$124}$3($0($0($2($0($0($0(71248,15636),2114),3305),91),3802),14526));break label$124}$3($0($0($2($0($0($0(71248,15967),2114),3305),92),3802),16058));break label$124}$3($0($0($2($0($0($0(71248,16596),2114),3305),93),3802),16646));break label$124}$3($0($0($2($0($0($0(71248,17074),2114),3305),94),3802),16058));break label$124}$3($0($0($2($0($0($0(71248,17405),2114),3305),95),3802),16646))}break label$114}}}$3($0($0($2($0($0($0(71248,5098),2114),3305),72),3802),5712));break label$114}$3($0($0($2($0($0($0(71248,6808),2114),3305),73),3802),7294));break label$114}$3($0($0($2($0($0($0(71248,8528),2114),3305),74),3802),9040));break label$114}$71($13_1);$65_1=$97($42_1,17658);$11_1=global$0-48|0;global$0=$11_1;$58_1=$18_1+60|0;$498($58_1);$61_1=$11_1+8|4;$36_1=$64(HEAPF32[$18_1+52>>2]);$2_1=1;label$140:{while(1){label$142:{label$143:{label$144:{label$145:{label$146:{label$147:{label$148:{label$149:{if($120($19_1)-1>>>0>$2_1>>>0){$6_1=$497($19_1,$2_1-1|0);$8_1=$497($19_1,$2_1);$3_1=$2_1+1|0;$7_1=$497($19_1,$3_1);label$151:{if($120($19_1)>>>0>$2_1>>>0){$5_1=$822($823(Math_fround(HEAPU32[$25($19_1,0)+4>>2]/HEAPU32[$25($19_1,$2_1)+4>>2]>>>0)));if(Math_fround(Math_abs($5_1))>2]|0;if(!(HEAP32[$6_1+4>>2]!=HEAP32[$8_1+4>>2]|HEAP32[$6_1+4>>2]!=HEAP32[$7_1+4>>2])){if(HEAP32[$6_1+8>>2]!=HEAP32[$8_1+8>>2]){break label$149}if(HEAP32[$6_1+8>>2]!=HEAP32[$7_1+8>>2]){break label$148}$1_1=1;$2_1=HEAP32[$8_1+4>>2]-1|0;$51_1=$2_1>>>0>1?$2_1:1;$2_1=HEAP32[$8_1+8>>2]-1|0;$66_1=$2_1>>>0>1?$2_1:1;$9_1=Math_fround($20_1|0);label$155:while(1){if(($1_1|0)==($66_1|0)){break label$143}$2_1=1;$17_1=Math_fround($1_1>>>0);$13_1=$1_1-1|0;$43_1=$27($6_1,$13_1);$21_1=$27($6_1,$1_1);$4_1=$1_1+1|0;$27_1=$27($6_1,$4_1);$26_1=$27($8_1,$13_1);$40_1=$27($8_1,$1_1);$29_1=$27($8_1,$4_1);$30_1=$27($7_1,$13_1);$32_1=$27($7_1,$1_1);$28_1=$27($7_1,$4_1);while(1)if(($2_1|0)==($51_1|0)){$1_1=$4_1;continue label$155}else{$1_1=$2_1<<2;$13_1=$1_1+$40_1|0;label$159:{if($64(HEAPF32[$13_1>>2])<$36_1){break label$159}$5_1=HEAPF32[$13_1>>2];$13_1=$2_1-1<<2;$22_1=HEAPF32[$13_1+$43_1>>2];label$160:{label$161:{if(!($5_1>$22_1)|!($5_1>HEAPF32[$1_1+$43_1>>2])){break label$161}$14_1=$2_1+1<<2;if(!($5_1>HEAPF32[$14_1+$43_1>>2])|!($5_1>HEAPF32[$13_1+$21_1>>2])|(!($5_1>HEAPF32[$1_1+$21_1>>2])|!($5_1>HEAPF32[$14_1+$21_1>>2]))|(!($5_1>HEAPF32[$13_1+$27_1>>2])|!($5_1>HEAPF32[$1_1+$27_1>>2])|(!($5_1>HEAPF32[$14_1+$27_1>>2])|!($5_1>HEAPF32[$13_1+$26_1>>2])))|(!($5_1>HEAPF32[$1_1+$26_1>>2])|!($5_1>HEAPF32[$14_1+$26_1>>2])|(!($5_1>HEAPF32[$13_1+$40_1>>2])|!($5_1>HEAPF32[$14_1+$40_1>>2]))|(!($5_1>HEAPF32[$13_1+$29_1>>2])|!($5_1>HEAPF32[$1_1+$29_1>>2])|(!($5_1>HEAPF32[$14_1+$29_1>>2])|!($5_1>HEAPF32[$13_1+$30_1>>2]))))|(!($5_1>HEAPF32[$1_1+$30_1>>2])|!($5_1>HEAPF32[$14_1+$30_1>>2])|(!($5_1>HEAPF32[$13_1+$32_1>>2])|!($5_1>HEAPF32[$1_1+$32_1>>2]))|(!($5_1>HEAPF32[$1_1+$28_1>>2])|(!($5_1>HEAPF32[$14_1+$32_1>>2])|!($5_1>HEAPF32[$13_1+$28_1>>2]))))){break label$161}if($5_1>HEAPF32[$14_1+$28_1>>2]){break label$160}}if(!($5_1<$22_1)|!($5_1>2])){break label$159}$14_1=$2_1+1<<2;if(!($5_1>2])|!($5_1>2])|(!($5_1>2])|!($5_1>2]))|(!($5_1>2])|!($5_1>2])|(!($5_1>2])|!($5_1>2])))|(!($5_1>2])|!($5_1>2])|(!($5_1>2])|!($5_1>2]))|(!($5_1>2])|!($5_1>2])|(!($5_1>2])|!($5_1>2]))))|(!($5_1>2])|!($5_1>2])|(!($5_1>2])|!($5_1>2]))|(!($5_1>2])|!($5_1>2])|(!($5_1>2])|!($5_1>2]))))){break label$159}}HEAPF32[$11_1+32>>2]=$5_1;HEAP32[$11_1+24>>2]=$20_1;HEAP32[$11_1+20>>2]=$15_1;HEAPF32[$11_1+36>>2]=$398($16_1,$15_1,$9_1);$1_1=$11_1+8|0;$330($1_1,$61_1,Math_fround($2_1>>>0),$17_1,$15_1);$329($58_1,$1_1)}$2_1=$2_1+1|0;continue}}}if(!(HEAP32[$6_1+4>>2]!=HEAP32[$8_1+4>>2]|HEAP32[$7_1+4>>2]!=(HEAP32[$8_1+4>>2]>>>1|0))){if(HEAP32[$6_1+8>>2]!=HEAP32[$8_1+8>>2]){break label$147}if(HEAP32[$7_1+8>>2]!=(HEAP32[$8_1+8>>2]>>>1|0)){break label$146}$1_1=2;$5_1=Math_fround(Math_fround(HEAP32[$7_1+4>>2]-1>>>0)+Math_fround(-.5));$5_1=Math_fround(Math_floor(Math_fround(Math_fround($5_1+$5_1)+Math_fround(.5))));label$163:{if($5_1=Math_fround(0)){$2_1=~~$5_1>>>0;break label$163}$2_1=0}$43_1=$2_1>>>0>2?$2_1:2;$5_1=Math_fround(Math_fround(HEAP32[$7_1+8>>2]-1>>>0)+Math_fround(-.5));$5_1=Math_fround(Math_floor(Math_fround(Math_fround($5_1+$5_1)+Math_fround(.5))));label$165:{if($5_1=Math_fround(0)){$2_1=~~$5_1>>>0;break label$165}$2_1=0}$40_1=$2_1>>>0>2?$2_1:2;$39_1=Math_fround($20_1|0);label$167:while(1){if(($1_1|0)==($40_1|0)){break label$143}$45_1=Math_fround($1_1>>>0);$17_1=Math_fround(Math_fround($45_1*Math_fround(.5))+Math_fround(-.25));$22_1=Math_fround($17_1+Math_fround(.5));$33_1=Math_fround($17_1+Math_fround(-.5));$2_1=2;$13_1=$1_1-1|0;$30_1=$27($6_1,$13_1);$21_1=$27($6_1,$1_1);$4_1=$1_1+1|0;$27_1=$27($6_1,$4_1);$26_1=$27($8_1,$13_1);$32_1=$27($8_1,$1_1);$29_1=$27($8_1,$4_1);while(1)if(($2_1|0)==($43_1|0)){$1_1=$4_1;continue label$167}else{$13_1=$2_1<<2;$1_1=$13_1+$32_1|0;label$171:{if($64(HEAPF32[$1_1>>2])<$36_1){break label$171}$35_1=Math_fround($2_1>>>0);$9_1=Math_fround(Math_fround($35_1*Math_fround(.5))+Math_fround(-.25));$5_1=HEAPF32[$1_1>>2];$14_1=$2_1-1<<2;$51_1=$14_1+$30_1|0;label$172:{label$173:{if(!($5_1>HEAPF32[$51_1>>2])|!($5_1>HEAPF32[$13_1+$30_1>>2])){break label$173}$28_1=$2_1+1<<2;if(!($5_1>HEAPF32[$28_1+$30_1>>2])|!($5_1>HEAPF32[$14_1+$21_1>>2])|(!($5_1>HEAPF32[$13_1+$21_1>>2])|!($5_1>HEAPF32[$21_1+$28_1>>2]))|(!($5_1>HEAPF32[$14_1+$27_1>>2])|!($5_1>HEAPF32[$13_1+$27_1>>2])|(!($5_1>HEAPF32[$27_1+$28_1>>2])|!($5_1>HEAPF32[$14_1+$26_1>>2])))|(!($5_1>HEAPF32[$13_1+$26_1>>2])|!($5_1>HEAPF32[$26_1+$28_1>>2])|(!($5_1>HEAPF32[$14_1+$32_1>>2])|!($5_1>HEAPF32[$28_1+$32_1>>2]))|(!($5_1>HEAPF32[$28_1+$29_1>>2])|(!($5_1>HEAPF32[$14_1+$29_1>>2])|!($5_1>HEAPF32[$13_1+$29_1>>2]))))){break label$173}$31_1=Math_fround($9_1+Math_fround(-.5));if(!($24($7_1,$31_1,$33_1)<$5_1)){break label$173}if(!(HEAPF32[$1_1>>2]>$24($7_1,$9_1,$33_1))){break label$173}$5_1=Math_fround($9_1+Math_fround(.5));if(!(HEAPF32[$1_1>>2]>$24($7_1,$5_1,$33_1))){break label$173}if(!(HEAPF32[$1_1>>2]>$24($7_1,$31_1,$17_1))){break label$173}if(!(HEAPF32[$1_1>>2]>$24($7_1,$9_1,$17_1))){break label$173}if(!(HEAPF32[$1_1>>2]>$24($7_1,$5_1,$17_1))){break label$173}if(!(HEAPF32[$1_1>>2]>$24($7_1,$31_1,$22_1))){break label$173}if(!(HEAPF32[$1_1>>2]>$24($7_1,$9_1,$22_1))){break label$173}if(HEAPF32[$1_1>>2]>$24($7_1,$5_1,$22_1)){break label$172}}$5_1=HEAPF32[$1_1>>2];if(!($5_1>2])|!($5_1>2])){break label$171}$28_1=$2_1+1<<2;if(!($5_1>2])|!($5_1>2])|(!($5_1>2])|!($5_1>2]))|(!($5_1>2])|!($5_1>2])|(!($5_1>2])|!($5_1>2])))|(!($5_1>2])|!($5_1>2])|(!($5_1>2])|!($5_1>2]))|(!($5_1>2])|(!($5_1>2])|!($5_1>2]))))){break label$171}$31_1=Math_fround($9_1+Math_fround(-.5));if(!($24($7_1,$31_1,$33_1)>$5_1)){break label$171}if(!(HEAPF32[$1_1>>2]<$24($7_1,$9_1,$33_1))){break label$171}$5_1=Math_fround($9_1+Math_fround(.5));if(!(HEAPF32[$1_1>>2]<$24($7_1,$5_1,$33_1))){break label$171}if(!(HEAPF32[$1_1>>2]<$24($7_1,$31_1,$17_1))){break label$171}if(!(HEAPF32[$1_1>>2]<$24($7_1,$9_1,$17_1))){break label$171}if(!(HEAPF32[$1_1>>2]<$24($7_1,$5_1,$17_1))){break label$171}if(!(HEAPF32[$1_1>>2]<$24($7_1,$31_1,$22_1))){break label$171}if(!(HEAPF32[$1_1>>2]<$24($7_1,$9_1,$22_1))){break label$171}if(!(HEAPF32[$1_1>>2]<$24($7_1,$5_1,$22_1))){break label$171}}HEAP32[$11_1+24>>2]=$20_1;HEAP32[$11_1+20>>2]=$15_1;HEAPF32[$11_1+32>>2]=HEAPF32[$1_1>>2];HEAPF32[$11_1+36>>2]=$398($16_1,$15_1,$39_1);$1_1=$11_1+8|0;$330($1_1,$61_1,$35_1,$45_1,$15_1);$329($58_1,$1_1)}$2_1=$2_1+1|0;continue}}}$2_1=$3_1;$1_1=HEAP32[$6_1+4>>2]>>>1|0;if(($1_1|0)!=HEAP32[$8_1+4>>2]|($1_1|0)!=HEAP32[$7_1+4>>2]){continue}if(HEAP32[$8_1+8>>2]!=(HEAP32[$6_1+8>>2]>>>1|0)){break label$145}if(HEAP32[$7_1+8>>2]!=(HEAP32[$6_1+8>>2]>>>1|0)){break label$144}$1_1=1;$2_1=HEAP32[$8_1+4>>2]-1|0;$43_1=$2_1>>>0>1?$2_1:1;$2_1=HEAP32[$8_1+8>>2]-1|0;$40_1=$2_1>>>0>1?$2_1:1;$39_1=Math_fround($20_1|0);label$174:while(1){if(($1_1|0)==($40_1|0)){break label$143}$2_1=1;$17_1=Math_fround(Math_fround($1_1<<1>>>0)+Math_fround(.5));$22_1=Math_fround($17_1+Math_fround(2));$33_1=Math_fround($17_1+Math_fround(-2));$45_1=Math_fround($1_1>>>0);$13_1=$1_1-1|0;$30_1=$27($8_1,$13_1);$32_1=$27($8_1,$1_1);$4_1=$1_1+1|0;$21_1=$27($8_1,$4_1);$27_1=$27($7_1,$13_1);$26_1=$27($7_1,$1_1);$29_1=$27($7_1,$4_1);while(1)if(($2_1|0)==($43_1|0)){$1_1=$4_1;continue label$174}else{$13_1=$2_1<<2;$1_1=$13_1+$32_1|0;label$178:{if($64(HEAPF32[$1_1>>2])<$36_1){break label$178}$9_1=Math_fround(Math_fround($2_1<<1>>>0)+Math_fround(.5));$5_1=HEAPF32[$1_1>>2];$14_1=$2_1-1<<2;$51_1=$14_1+$30_1|0;label$179:{label$180:{if(!($5_1>HEAPF32[$51_1>>2])|!($5_1>HEAPF32[$13_1+$30_1>>2])){break label$180}$28_1=$2_1+1<<2;if(!($5_1>HEAPF32[$28_1+$30_1>>2])|!($5_1>HEAPF32[$14_1+$32_1>>2])|(!($5_1>HEAPF32[$28_1+$32_1>>2])|!($5_1>HEAPF32[$14_1+$21_1>>2]))|(!($5_1>HEAPF32[$13_1+$21_1>>2])|!($5_1>HEAPF32[$21_1+$28_1>>2])|(!($5_1>HEAPF32[$14_1+$27_1>>2])|!($5_1>HEAPF32[$13_1+$27_1>>2])))|(!($5_1>HEAPF32[$27_1+$28_1>>2])|!($5_1>HEAPF32[$14_1+$26_1>>2])|(!($5_1>HEAPF32[$13_1+$26_1>>2])|!($5_1>HEAPF32[$26_1+$28_1>>2]))|(!($5_1>HEAPF32[$28_1+$29_1>>2])|(!($5_1>HEAPF32[$14_1+$29_1>>2])|!($5_1>HEAPF32[$13_1+$29_1>>2]))))){break label$180}$31_1=Math_fround($9_1+Math_fround(-2));if(!($24($6_1,$31_1,$33_1)<$5_1)){break label$180}if(!(HEAPF32[$1_1>>2]>$24($6_1,$9_1,$33_1))){break label$180}$5_1=Math_fround($9_1+Math_fround(2));if(!(HEAPF32[$1_1>>2]>$24($6_1,$5_1,$33_1))){break label$180}if(!(HEAPF32[$1_1>>2]>$24($6_1,$31_1,$17_1))){break label$180}if(!(HEAPF32[$1_1>>2]>$24($6_1,$9_1,$17_1))){break label$180}if(!(HEAPF32[$1_1>>2]>$24($6_1,$5_1,$17_1))){break label$180}if(!(HEAPF32[$1_1>>2]>$24($6_1,$31_1,$22_1))){break label$180}if(!(HEAPF32[$1_1>>2]>$24($6_1,$9_1,$22_1))){break label$180}if(HEAPF32[$1_1>>2]>$24($6_1,$5_1,$22_1)){break label$179}}$5_1=HEAPF32[$1_1>>2];if(!($5_1>2])|!($5_1>2])){break label$178}$28_1=$2_1+1<<2;if(!($5_1>2])|!($5_1>2])|(!($5_1>2])|!($5_1>2]))|(!($5_1>2])|!($5_1>2])|(!($5_1>2])|!($5_1>2])))|(!($5_1>2])|!($5_1>2])|(!($5_1>2])|!($5_1>2]))|(!($5_1>2])|(!($5_1>2])|!($5_1>2]))))){break label$178}$31_1=Math_fround($9_1+Math_fround(-2));if(!($24($6_1,$31_1,$33_1)>$5_1)){break label$178}if(!(HEAPF32[$1_1>>2]<$24($6_1,$9_1,$33_1))){break label$178}$5_1=Math_fround($9_1+Math_fround(2));if(!(HEAPF32[$1_1>>2]<$24($6_1,$5_1,$33_1))){break label$178}if(!(HEAPF32[$1_1>>2]<$24($6_1,$31_1,$17_1))){break label$178}if(!(HEAPF32[$1_1>>2]<$24($6_1,$9_1,$17_1))){break label$178}if(!(HEAPF32[$1_1>>2]<$24($6_1,$5_1,$17_1))){break label$178}if(!(HEAPF32[$1_1>>2]<$24($6_1,$31_1,$22_1))){break label$178}if(!(HEAPF32[$1_1>>2]<$24($6_1,$9_1,$22_1))){break label$178}if(!(HEAPF32[$1_1>>2]<$24($6_1,$5_1,$22_1))){break label$178}}HEAP32[$11_1+24>>2]=$20_1;HEAP32[$11_1+20>>2]=$15_1;HEAPF32[$11_1+32>>2]=HEAPF32[$1_1>>2];HEAPF32[$11_1+36>>2]=$398($16_1,$15_1,$39_1);$1_1=$11_1+8|0;$330($1_1,$61_1,Math_fround($2_1>>>0),$45_1,$15_1);$329($58_1,$1_1)}$2_1=$2_1+1|0;continue}}}global$0=$11_1+48|0;break label$140}$3($0($0($2($0($0($0(71248,18788),2114),3305),192),3802),18885));break label$142}$3($0($0($2($0($0($0(71248,19413),2114),3305),193),3802),18885));break label$142}$3($0($0($2($0($0($0(71248,18788),2114),3305),277),3802),18885));break label$142}$3($0($0($2($0($0($0(71248,19601),2114),3305),278),3802),18885));break label$142}$3($0($0($2($0($0($0(71248,19815),2114),3305),362),3802),18885));break label$142}$3($0($0($2($0($0($0(71248,20028),2114),3305),363),3802),18885));break label$142}$2_1=$3_1;continue}break}break label$114}$71($65_1);$21_1=$97($42_1,17895);$15_1=0;$11_1=0;$1_1=global$0-80|0;global$0=$1_1;$19_1=$18_1+32|0;$13_1=$18_1+60|0;$22_1=$64(HEAPF32[$18_1+52>>2]);$33_1=Math_fround($64(Math_fround(HEAPF32[$18_1+56>>2]+Math_fround(1)))/HEAPF32[$18_1+56>>2]);label$181:{label$182:{label$183:{while(1){if($82($13_1)>>>0>$15_1>>>0){$8_1=$119($13_1,$15_1);if(HEAP32[$8_1+16>>2]>=HEAP32[$19_1+16>>2]){break label$183}$2_1=HEAP32[$8_1+12>>2];$3_1=HEAP32[$19_1+16>>2];$4_1=HEAP32[$8_1+16>>2];$495($1_1+4|0,$1_1,HEAPF32[$8_1>>2],HEAPF32[$8_1+4>>2],HEAP32[$8_1+12>>2]);$5_1=Math_fround(HEAPF32[$1_1>>2]+Math_fround(.5));label$186:{if(Math_fround(Math_abs($5_1))>2]+Math_fround(.5));label$188:{if(Math_fround(Math_abs($5_1))>2]==(HEAP32[$3_1+4>>2]==HEAP32[$2_1+4>>2]|0)){if(HEAP32[$6_1+8>>2]!=(HEAP32[$3_1+8>>2]==HEAP32[$2_1+8>>2]|0)){break label$196}$4_1=global$0-32|0;global$0=$4_1;label$199:{label$200:{label$201:{label$202:{label$203:{label$204:{if(!(($14_1|0)<=0|HEAPU32[$2_1+4>>2]<=$14_1+1>>>0)){if(($7_1|0)<=0){break label$204}$20_1=$7_1+1|0;if($20_1>>>0>=HEAPU32[$2_1+8>>2]){break label$204}if(HEAP32[$3_1+4>>2]!=HEAP32[$2_1+4>>2]){break label$203}if(HEAP32[$3_1+4>>2]!=HEAP32[$6_1+4>>2]){break label$202}if(HEAP32[$3_1+8>>2]!=HEAP32[$2_1+8>>2]){break label$201}if(HEAP32[$3_1+8>>2]!=HEAP32[$6_1+8>>2]){break label$200}$27_1=$7_1-1|0;$26_1=$27($3_1,$27_1);$29_1=$27($3_1,$7_1);$30_1=$27($3_1,$20_1);$32_1=$27($2_1,$7_1);$27_1=$27($6_1,$27_1);$28_1=$27($6_1,$7_1);$6_1=$27($6_1,$20_1);$488($4_1+28|0,$4_1+24|0,$4_1+20|0,$4_1+16|0,$4_1+12|0,$2_1,$14_1,$7_1);$3_1=$14_1<<2;$36_1=HEAPF32[$30_1+$3_1>>2];$31_1=HEAPF32[$3_1+$26_1>>2];$39_1=HEAPF32[$3_1+$6_1>>2];$45_1=HEAPF32[$3_1+$27_1>>2];$6_1=$3_1+$28_1|0;$5_1=HEAPF32[$6_1>>2];$20_1=$3_1+$29_1|0;$9_1=HEAPF32[$20_1>>2];$17_1=HEAPF32[$3_1+$32_1>>2];$35_1=HEAPF32[$20_1+4>>2];$41_1=HEAPF32[$20_1-4>>2];$46_1=HEAPF32[$6_1+4>>2];$52_1=HEAPF32[$6_1-4>>2];HEAPF32[$1_1+32>>2]=HEAPF32[$4_1+20>>2];$49_1=HEAPF32[$4_1+12>>2];HEAPF32[$1_1+44>>2]=$49_1;HEAPF32[$1_1+36>>2]=$49_1;$35_1=Math_fround(Math_fround(Math_fround($41_1-$35_1)+Math_fround($46_1-$52_1))*Math_fround(.25));HEAPF32[$1_1+40>>2]=$35_1;$41_1=HEAPF32[$4_1+16>>2];HEAPF32[$1_1+64>>2]=$5_1+Math_fround($9_1-Math_fround($17_1+$17_1));$17_1=Math_fround(Math_fround(Math_fround($31_1-$36_1)+Math_fround($39_1-$45_1))*Math_fround(.25));HEAPF32[$1_1+60>>2]=$17_1;HEAPF32[$1_1+56>>2]=$35_1;HEAPF32[$1_1+52>>2]=$17_1;HEAPF32[$1_1+48>>2]=$41_1;HEAPF32[$1_1+20>>2]=-HEAPF32[$4_1+28>>2];$17_1=HEAPF32[$4_1+24>>2];HEAPF32[$1_1+28>>2]=Math_fround($5_1-$9_1)*Math_fround(-.5);HEAPF32[$1_1+24>>2]=-$17_1;global$0=$4_1+32|0;break label$199}$3($0($0($2($0($0($0(71248,23521),22472),3305),309),3802),23579));break label$114}$3($0($0($2($0($0($0(71248,23700),22472),3305),310),3802),23759));break label$114}$3($0($0($2($0($0($0(71248,23848),22472),3305),311),3802),23900));break label$114}$3($0($0($2($0($0($0(71248,23988),22472),3305),312),3802),23900));break label$114}$3($0($0($2($0($0($0(71248,24077),22472),3305),313),3802),23900));break label$114}$3($0($0($2($0($0($0(71248,24153),22472),3305),314),3802),23900));break label$114}break label$191}if(!(HEAP32[$3_1+4>>2]!=HEAP32[$2_1+4>>2]|HEAP32[$6_1+4>>2]!=(HEAP32[$2_1+4>>2]>>>1|0))){if(HEAP32[$3_1+8>>2]!=HEAP32[$2_1+8>>2]|HEAP32[$6_1+8>>2]!=(HEAP32[$2_1+8>>2]>>>1|0)){break label$195}$4_1=global$0-32|0;global$0=$4_1;label$207:{label$208:{label$209:{label$210:{label$211:{label$212:{label$213:{label$214:{label$215:{label$216:{if(!(($14_1|0)<=0|HEAPU32[$2_1+4>>2]<=$14_1+1>>>0)){if(($7_1|0)<=0){break label$216}$20_1=$7_1+1|0;if($20_1>>>0>=HEAPU32[$2_1+8>>2]){break label$216}if(HEAP32[$3_1+4>>2]!=HEAP32[$2_1+4>>2]){break label$215}if(HEAP32[$6_1+4>>2]!=(HEAP32[$3_1+4>>2]>>>1|0)){break label$214}if(HEAP32[$3_1+8>>2]!=HEAP32[$2_1+8>>2]){break label$213}if(HEAP32[$6_1+8>>2]!=(HEAP32[$3_1+8>>2]>>>1|0)){break label$212}$27_1=$27($3_1,$7_1-1|0);$26_1=$27($3_1,$7_1);$29_1=$27($3_1,$20_1);$30_1=$27($2_1,$7_1);$495($4_1+28|0,$4_1+24|0,Math_fround($14_1|0),Math_fround($7_1|0),1);$5_1=HEAPF32[$4_1+28>>2];if(!(Math_fround($5_1+Math_fround(-.5))>=Math_fround(0))){break label$211}if(!(Math_fround(HEAPF32[$4_1+24>>2]+Math_fround(-.5))>=Math_fround(0))){break label$210}if(!(Math_fround(HEAPU32[$6_1+4>>2])>Math_fround($5_1+Math_fround(.5)))){break label$209}if(!(Math_fround(HEAPU32[$6_1+8>>2])>Math_fround(HEAPF32[$4_1+24>>2]+Math_fround(.5)))){break label$208}$488($4_1+20|0,$4_1+16|0,$4_1+12|0,$4_1+8|0,$4_1+4|0,$2_1,$14_1,$7_1);$5_1=$24($6_1,HEAPF32[$4_1+28>>2],HEAPF32[$4_1+24>>2]);$3_1=$14_1<<2;$20_1=$3_1+$26_1|0;$9_1=HEAPF32[$20_1>>2];$17_1=HEAPF32[$3_1+$30_1>>2];$36_1=HEAPF32[$20_1-4>>2];$31_1=$24($6_1,Math_fround(HEAPF32[$4_1+28>>2]+Math_fround(.5)),HEAPF32[$4_1+24>>2]);$39_1=HEAPF32[$20_1+4>>2];$45_1=$24($6_1,Math_fround(HEAPF32[$4_1+28>>2]+Math_fround(-.5)),HEAPF32[$4_1+24>>2]);$35_1=HEAPF32[$3_1+$27_1>>2];$41_1=$24($6_1,HEAPF32[$4_1+28>>2],Math_fround(HEAPF32[$4_1+24>>2]+Math_fround(.5)));$46_1=HEAPF32[$3_1+$29_1>>2];$52_1=$24($6_1,HEAPF32[$4_1+28>>2],Math_fround(HEAPF32[$4_1+24>>2]+Math_fround(-.5)));HEAPF32[$1_1+32>>2]=HEAPF32[$4_1+12>>2];$49_1=HEAPF32[$4_1+4>>2];HEAPF32[$1_1+44>>2]=$49_1;$36_1=Math_fround(Math_fround(Math_fround($36_1+$31_1)-Math_fround($39_1+$45_1))*Math_fround(.25));HEAPF32[$1_1+40>>2]=$36_1;HEAPF32[$1_1+36>>2]=$49_1;$31_1=HEAPF32[$4_1+8>>2];HEAPF32[$1_1+64>>2]=$5_1+Math_fround($9_1-Math_fround($17_1+$17_1));$17_1=Math_fround(Math_fround(Math_fround($35_1+$41_1)-Math_fround($46_1+$52_1))*Math_fround(.25));HEAPF32[$1_1+60>>2]=$17_1;HEAPF32[$1_1+56>>2]=$36_1;HEAPF32[$1_1+52>>2]=$17_1;HEAPF32[$1_1+48>>2]=$31_1;HEAPF32[$1_1+20>>2]=-HEAPF32[$4_1+20>>2];$17_1=HEAPF32[$4_1+16>>2];HEAPF32[$1_1+28>>2]=Math_fround($5_1-$9_1)*Math_fround(-.5);HEAPF32[$1_1+24>>2]=-$17_1;global$0=$4_1+32|0;break label$207}$3($0($0($2($0($0($0(71248,23521),22472),3305),413),3802),23579));break label$114}$3($0($0($2($0($0($0(71248,23700),22472),3305),414),3802),23759));break label$114}$3($0($0($2($0($0($0(71248,23848),22472),3305),415),3802),23900));break label$114}$3($0($0($2($0($0($0(71248,24427),22472),3305),416),3802),23900));break label$114}$3($0($0($2($0($0($0(71248,24077),22472),3305),417),3802),23900));break label$114}$3($0($0($2($0($0($0(71248,24532),22472),3305),418),3802),23900));break label$114}$3($0($0($2($0($0($0(71248,24591),22472),3305),428),3802),24673));break label$114}$3($0($0($2($0($0($0(71248,24819),22472),3305),429),3802),24860));break label$114}$3($0($0($2($0($0($0(71248,25058),22472),3305),430),3802),24673));break label$114}$3($0($0($2($0($0($0(71248,25159),22472),3305),431),3802),24860));break label$114}break label$191}if(HEAP32[$2_1+4>>2]!=(HEAP32[$3_1+4>>2]>>>1|0)|HEAP32[$2_1+4>>2]!=HEAP32[$6_1+4>>2]){break label$193}if(HEAP32[$2_1+4>>2]!=(HEAP32[$3_1+4>>2]>>>1|0)|HEAP32[$2_1+4>>2]!=HEAP32[$6_1+4>>2]){break label$194}$4_1=global$0-32|0;global$0=$4_1;label$218:{label$219:{label$220:{label$221:{label$222:{label$223:{if(!(($14_1|0)<=0|HEAPU32[$2_1+4>>2]<=$14_1+1>>>0)){if(($7_1|0)<=0){break label$223}$20_1=$7_1+1|0;if($20_1>>>0>=HEAPU32[$2_1+8>>2]){break label$223}if(HEAP32[$2_1+4>>2]!=(HEAP32[$3_1+4>>2]>>>1|0)){break label$222}if(HEAP32[$6_1+4>>2]!=(HEAP32[$3_1+4>>2]>>>1|0)){break label$221}if(HEAP32[$2_1+8>>2]!=(HEAP32[$3_1+8>>2]>>>1|0)){break label$220}if(HEAP32[$6_1+8>>2]!=(HEAP32[$3_1+8>>2]>>>1|0)){break label$219}$27_1=$27($2_1,$7_1);$26_1=$27($6_1,$7_1-1|0);$29_1=$27($6_1,$7_1);$30_1=$27($6_1,$20_1);$330($4_1+28|0,$4_1+24|0,Math_fround($14_1|0),Math_fround($7_1|0),1);$488($4_1+20|0,$4_1+16|0,$4_1+12|0,$4_1+8|0,$4_1+4|0,$2_1,$14_1,$7_1);$5_1=$24($3_1,HEAPF32[$4_1+28>>2],HEAPF32[$4_1+24>>2]);$6_1=$14_1<<2;$20_1=$6_1+$29_1|0;$9_1=HEAPF32[$20_1>>2];$17_1=HEAPF32[$6_1+$27_1>>2];$36_1=$24($3_1,Math_fround(HEAPF32[$4_1+28>>2]+Math_fround(-2)),HEAPF32[$4_1+24>>2]);$31_1=HEAPF32[$20_1+4>>2];$39_1=$24($3_1,Math_fround(HEAPF32[$4_1+28>>2]+Math_fround(2)),HEAPF32[$4_1+24>>2]);$45_1=HEAPF32[$20_1-4>>2];$35_1=$24($3_1,HEAPF32[$4_1+28>>2],Math_fround(HEAPF32[$4_1+24>>2]+Math_fround(-2)));$41_1=HEAPF32[$6_1+$30_1>>2];$46_1=$24($3_1,HEAPF32[$4_1+28>>2],Math_fround(HEAPF32[$4_1+24>>2]+Math_fround(2)));$52_1=HEAPF32[$6_1+$26_1>>2];HEAPF32[$1_1+32>>2]=HEAPF32[$4_1+12>>2];$49_1=HEAPF32[$4_1+4>>2];HEAPF32[$1_1+44>>2]=$49_1;$36_1=Math_fround(Math_fround(Math_fround($36_1+$31_1)-Math_fround($39_1+$45_1))*Math_fround(.25));HEAPF32[$1_1+40>>2]=$36_1;HEAPF32[$1_1+36>>2]=$49_1;$31_1=HEAPF32[$4_1+8>>2];HEAPF32[$1_1+64>>2]=$9_1+Math_fround($5_1-Math_fround($17_1+$17_1));$17_1=Math_fround(Math_fround(Math_fround($35_1+$41_1)-Math_fround($46_1+$52_1))*Math_fround(.25));HEAPF32[$1_1+60>>2]=$17_1;HEAPF32[$1_1+56>>2]=$36_1;HEAPF32[$1_1+52>>2]=$17_1;HEAPF32[$1_1+48>>2]=$31_1;HEAPF32[$1_1+20>>2]=-HEAPF32[$4_1+20>>2];$17_1=HEAPF32[$4_1+16>>2];HEAPF32[$1_1+28>>2]=Math_fround($9_1-$5_1)*Math_fround(-.5);HEAPF32[$1_1+24>>2]=-$17_1;global$0=$4_1+32|0;break label$218}$3($0($0($2($0($0($0(71248,23521),22472),3305),359),3802),23579));break label$114}$3($0($0($2($0($0($0(71248,23700),22472),3305),360),3802),23759));break label$114}$3($0($0($2($0($0($0(71248,25253),22472),3305),361),3802),23900));break label$114}$3($0($0($2($0($0($0(71248,24427),22472),3305),362),3802),23900));break label$114}$3($0($0($2($0($0($0(71248,25372),22472),3305),363),3802),23900));break label$114}$3($0($0($2($0($0($0(71248,24532),22472),3305),364),3802),23900));break label$114}break label$191}$3($0($0($2($0($0($0(71248,22965),22472),3305),466),3802),23071));break label$114}$3($0($0($2($0($0($0(71248,23157),22472),3305),469),3802),23071));break label$114}$3($0($0($2($0($0($0(71248,23276),22472),3305),472),3802),23071));break label$114}$3($0($0($2($0($0($0(71248,23369),22472),3305),475),3802),23440));break label$114}$3_1=global$0-48|0;global$0=$3_1;$5_1=HEAPF32[$1_1+64>>2];$9_1=$64(HEAPF32[$1_1+36>>2]);$17_1=HEAPF32[$1_1+36>>2];$35_1=Math_fround($17_1+$17_1);$17_1=HEAPF32[$1_1+40>>2];$5_1=Math_fround(Math_fround(Math_fround(Math_fround(Math_fround(Math_fround($35_1*$17_1)*HEAPF32[$1_1+52>>2])-Math_fround($5_1*$9_1))-Math_fround(HEAPF32[$1_1+48>>2]*$64($17_1)))-Math_fround(HEAPF32[$1_1+32>>2]*$64(HEAPF32[$1_1+52>>2])))+Math_fround(Math_fround(HEAPF32[$1_1+32>>2]*HEAPF32[$1_1+48>>2])*HEAPF32[$1_1+64>>2]));$4_1=Math_fround(Math_abs($5_1))<=Math_fround(1.1920928955078125e-7);if(!$4_1){$5_1=Math_fround(Math_fround(1)/$5_1);HEAPF32[$3_1>>2]=$5_1*$487(HEAPF32[$1_1+48>>2],HEAPF32[$1_1+52>>2],HEAPF32[$1_1+64>>2]);HEAPF32[$3_1+4>>2]=$5_1*$118(HEAPF32[$1_1+40>>2],HEAPF32[$1_1+36>>2],HEAPF32[$1_1+64>>2],HEAPF32[$1_1+60>>2]);HEAPF32[$3_1+8>>2]=$5_1*$118(HEAPF32[$1_1+36>>2],HEAPF32[$1_1+40>>2],HEAPF32[$1_1+48>>2],HEAPF32[$1_1+52>>2]);HEAPF32[$3_1+16>>2]=$5_1*$487(HEAPF32[$1_1+32>>2],HEAPF32[$1_1+40>>2],HEAPF32[$1_1+64>>2]);HEAPF32[$3_1+20>>2]=$5_1*$118(HEAPF32[$1_1+40>>2],HEAPF32[$1_1+32>>2],HEAPF32[$1_1+52>>2],HEAPF32[$1_1+44>>2]);HEAPF32[$3_1+32>>2]=$5_1*$487(HEAPF32[$1_1+32>>2],HEAPF32[$1_1+36>>2],HEAPF32[$1_1+48>>2]);HEAPF32[$3_1+12>>2]=HEAPF32[$3_1+4>>2];HEAPF32[$3_1+24>>2]=HEAPF32[$3_1+8>>2];HEAPF32[$3_1+28>>2]=HEAPF32[$3_1+20>>2]}$4_1=!$4_1;if($4_1){HEAPF32[$1_1+8>>2]=Math_fround(HEAPF32[$3_1+8>>2]*HEAPF32[$1_1+28>>2])+Math_fround(Math_fround(HEAPF32[$3_1>>2]*HEAPF32[$1_1+20>>2])+Math_fround(HEAPF32[$3_1+4>>2]*HEAPF32[$1_1+24>>2]));HEAPF32[$1_1+12>>2]=Math_fround(HEAPF32[$3_1+20>>2]*HEAPF32[$1_1+28>>2])+Math_fround(Math_fround(HEAPF32[$3_1+12>>2]*HEAPF32[$1_1+20>>2])+Math_fround(HEAPF32[$3_1+16>>2]*HEAPF32[$1_1+24>>2]));HEAPF32[$1_1+16>>2]=Math_fround(HEAPF32[$3_1+32>>2]*HEAPF32[$1_1+28>>2])+Math_fround(Math_fround(HEAPF32[$3_1+24>>2]*HEAPF32[$1_1+20>>2])+Math_fround(HEAPF32[$3_1+28>>2]*HEAPF32[$1_1+24>>2]))}global$0=$3_1+48|0;label$190:{if(!$4_1){break label$190}if(Math_fround($64(HEAPF32[$1_1+8>>2])+$64(HEAPF32[$1_1+12>>2]))>HEAPF32[$18_1+88>>2]){break label$190}$5_1=Math_fround(Math_fround(HEAPF32[$1_1+32>>2]*HEAPF32[$1_1+48>>2])-$64(HEAPF32[$1_1+36>>2]));if($5_1!=Math_fround(0)){HEAPF32[$8_1+32>>2]=$64(Math_fround(HEAPF32[$1_1+32>>2]+HEAPF32[$1_1+48>>2]))/$5_1}if($5_1==Math_fround(0)){break label$190}$3_1=$14_1<<2;if(HEAPF32[$8_1+24>>2]!=HEAPF32[$27($2_1,$7_1)+$3_1>>2]){break label$182}$17_1=HEAPF32[$27($2_1,$7_1)+$3_1>>2];$5_1=HEAPF32[$1_1+8>>2];$9_1=HEAPF32[$1_1+12>>2];HEAPF32[$8_1+24>>2]=$17_1-Math_fround(Math_fround(HEAPF32[$1_1+28>>2]*HEAPF32[$1_1+16>>2])+Math_fround(Math_fround(HEAPF32[$1_1+20>>2]*$5_1)+Math_fround(HEAPF32[$1_1+24>>2]*$9_1)));$330($8_1,$8_1+4|0,Math_fround($5_1+HEAPF32[$1_1+4>>2]),Math_fround($9_1+HEAPF32[$1_1>>2]),HEAP32[$8_1+12>>2]);$5_1=Math_fround(HEAPF32[$1_1+16>>2]+Math_fround(HEAP32[$8_1+16>>2]));HEAPF32[$8_1+20>>2]=$5_1;HEAPF32[$8_1+20>>2]=$328($5_1,Math_fround(HEAP32[$19_1+16>>2]));if(!($33_1>Math_fround(Math_abs(HEAPF32[$8_1+32>>2])))){break label$190}if(!($64(HEAPF32[$8_1+24>>2])>=$22_1)){break label$190}$5_1=HEAPF32[$8_1>>2];if(!($5_1>=Math_fround(0))){break label$190}if(!($5_1>2]))){break label$190}$5_1=HEAPF32[$8_1+4>>2];if(!($5_1>=Math_fround(0))){break label$190}if(!($5_1>2]))){break label$190}HEAPF32[$8_1+28>>2]=$398($16_1,HEAP32[$8_1+12>>2],HEAPF32[$8_1+20>>2]);wasm2js_memory_copy($119($13_1,$11_1),$8_1,36);$11_1=$11_1+1|0}$15_1=$15_1+1|0;continue}break}$2_1=$82($13_1);label$228:{if($2_1>>>0<$11_1>>>0){$6_1=global$0-32|0;global$0=$6_1;$2_1=$11_1-$2_1|0;label$230:{if($2_1>>>0<=(HEAP32[$4($13_1)>>2]-HEAP32[$13_1+4>>2]|0)/36>>>0){$3_1=global$0-16|0;global$0=$3_1;$2_1=$799($3_1,$13_1,$2_1);$7_1=HEAP32[$2_1+4>>2];$4_1=HEAP32[$2_1+8>>2];while(1){if(($4_1|0)==($7_1|0)){$72($2_1);global$0=$3_1+16|0}else{$4($13_1);$796($7_1);$7_1=$7_1+36|0;HEAP32[$2_1+4>>2]=$7_1;continue}break}break label$230}$3_1=$4($13_1);$4_1=$494($6_1+8|0,$797($13_1,$82($13_1)+$2_1|0),$82($13_1),$3_1);$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1>>2]=HEAP32[$4_1+8>>2];$7_1=HEAP32[$4_1+8>>2];HEAP32[$3_1+8>>2]=$4_1+8;HEAP32[$3_1+4>>2]=$7_1+Math_imul($2_1,36);$2_1=HEAP32[$3_1>>2];while(1){if(HEAP32[$3_1+4>>2]!=($2_1|0)){$796(HEAP32[$3_1>>2]);$2_1=HEAP32[$3_1>>2]+36|0;HEAP32[$3_1>>2]=$2_1;continue}break}$143($3_1);global$0=$3_1+16|0;$493($13_1,$4_1);$491($4_1)}global$0=$6_1+32|0;break label$228}if($2_1>>>0>$11_1>>>0){$2_1=HEAP32[$13_1>>2]+Math_imul($11_1,36)|0;$82($13_1);$809($13_1,$2_1);$824($13_1)}}global$0=$1_1+80|0;break label$181}$3($0($0($2($0($0($0(71248,21625),2114),3305),489),3802),21741));break label$114}$3($0($0($2($0($0($0(71248,21843),2114),3305),526),3802),21900));break label$114}$71($21_1);$27_1=$97($42_1,18088);$20_1=global$0-16|0;global$0=$20_1;label$238:{label$239:{label$240:{label$241:{$11_1=$18_1+60|0;if($82($11_1)>>>0>HEAPU32[$18_1+84>>2]){$7_1=$18_1+16|0;if(($61($7_1)|0)!=HEAP32[$18_1+8>>2]){break label$241}if(($61($145($7_1,0))|0)!=HEAP32[$18_1+12>>2]){break label$240}$14_1=$38($20_1);$6_1=HEAP32[$18_1+84>>2];$2_1=global$0-32|0;global$0=$2_1;$1_1=HEAP32[$18_1+8>>2];$5_1=Math_fround(Math_ceil(Math_fround(Math_fround(HEAP32[$18_1>>2])/Math_fround($1_1|0))));$3_1=HEAP32[$18_1+12>>2];$9_1=Math_fround(Math_ceil(Math_fround(Math_fround(HEAP32[$18_1+4>>2])/Math_fround($3_1|0))));$498($14_1);$503($14_1,$6_1);$21_1=Math_imul($1_1,$3_1);$1_1=0;while(1){label$244:{$4_1=0;if($61($7_1)>>>0<=$1_1>>>0){$9_1=Math_fround((Math_fround(Math_abs($9_1))>2]=$4_1;if($82($11_1)>>>0<=$4_1>>>0){$26_1=($6_1|0)/($21_1|0)|0;$13_1=0;label$252:while(1){$6_1=0;if($61($7_1)>>>0<=$13_1>>>0){global$0=$2_1+32|0;break label$244}while(1){if($61($145($7_1,$13_1))>>>0<=$6_1>>>0){$13_1=$13_1+1|0;continue label$252}$8_1=$145($145($7_1,$13_1),$6_1);HEAP32[$2_1+16>>2]=$12($8_1);HEAP32[$2_1+28>>2]=$26_1;label$256:{$19_1=HEAP32[$280($2_1+16|0,$2_1+28|0)>>2];if(!$19_1){break label$256}$21_1=$278($8_1);HEAP32[$2_1+16>>2]=$278($8_1);$3_1=$196($2_1+16|0,$19_1);$4_1=$327($8_1);$15_1=global$0-32|0;global$0=$15_1;HEAP32[$15_1+16>>2]=$4_1;HEAP32[$15_1+24>>2]=$3_1;$1_1=global$0+-64|0;global$0=$1_1;HEAP32[$1_1+48>>2]=$3_1;HEAP32[$1_1+56>>2]=$21_1;HEAP32[$1_1+40>>2]=$4_1;while(1){label$258:{if($127($1_1+48|0,$1_1+40|0)){break label$258}label$259:{label$260:{label$261:{$3_1=$388($1_1+40|0,$1_1+56|0);switch($3_1|0){case 0:case 1:break label$258;case 3:break label$260;case 2:break label$261;default:break label$259}}if(!$99(HEAP32[$169($1_1+40|0)>>2],HEAP32[$1_1+56>>2])){break label$258}$158(HEAP32[$1_1+56>>2],HEAP32[$1_1+40>>2]);break label$258}$3_1=HEAP32[$1_1+56>>2];HEAP32[$1_1+32>>2]=$3_1;$791($3_1,HEAP32[$117($1_1+32|0)>>2],HEAP32[$169($1_1+40|0)>>2]);break label$258}if(($3_1|0)<=7){$21_1=HEAP32[$1_1+40>>2];$4_1=global$0-32|0;global$0=$4_1;HEAP32[$4_1+24>>2]=HEAP32[$1_1+56>>2];HEAP32[$4_1+16>>2]=$21_1;$169($4_1+16|0);while(1){if($78($4_1+24|0,$4_1+16|0)){$29_1=HEAP32[$4_1+24>>2];$30_1=global$0-16|0;global$0=$30_1;$3_1=global$0-32|0;global$0=$3_1;HEAP32[$3_1+16>>2]=$21_1;HEAP32[$3_1+24>>2]=$29_1;label$265:{if(!$78($3_1+24|0,$3_1+16|0)){break label$265}HEAP32[$3_1+8>>2]=HEAP32[$3_1+24>>2];while(1){if(!$78($117($3_1+8|0),$3_1+16|0)){break label$265}if(!$99(HEAP32[$3_1+8>>2],HEAP32[$3_1+24>>2])){continue}HEAP32[$3_1+24>>2]=HEAP32[$3_1+8>>2];continue}}global$0=$3_1+32|0;global$0=$30_1+16|0;HEAP32[$4_1+8>>2]=HEAP32[$3_1+24>>2];if($78($4_1+8|0,$4_1+24|0)){$158(HEAP32[$4_1+24>>2],HEAP32[$4_1+8>>2])}$117($4_1+24|0);continue}break}global$0=$4_1+32|0;break label$258}$3_1=$196($1_1+56|0,$3_1>>>1|0);HEAP32[$1_1+32>>2]=$3_1;HEAP32[$1_1+24>>2]=HEAP32[$1_1+40>>2];$4_1=$791(HEAP32[$1_1+56>>2],$3_1,HEAP32[$169($1_1+24|0)>>2]);HEAP32[$1_1+16>>2]=HEAP32[$1_1+56>>2];HEAP32[$1_1+8>>2]=HEAP32[$1_1+24>>2];label$268:{if(!$99(HEAP32[$1_1+16>>2],HEAP32[$1_1+32>>2])){$29_1=$1_1+16|0;$21_1=$1_1+8|0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+8>>2]=HEAP32[$1_1+32>>2];while(1){$30_1=$127($29_1,$169($21_1));if(!$30_1){if(!$99(HEAP32[$21_1>>2],HEAP32[$3_1+8>>2])){continue}}break}global$0=$3_1+16|0;if(!($30_1^1)){break label$268}$158(HEAP32[$1_1+16>>2],HEAP32[$1_1+8>>2]);$4_1=$4_1+1|0}$3_1=$1_1+16|0;$117($3_1);label$272:{if(!$199($3_1,$1_1+8|0)){break label$272}while(1){if($99(HEAP32[$1_1+16>>2],HEAP32[$1_1+32>>2])){$117($1_1+16|0);continue}while(1){if(!$99(HEAP32[$169($1_1+8|0)>>2],HEAP32[$1_1+32>>2])){continue}break}if($790($1_1+16|0,$1_1+8|0)){break label$272}$3_1=$1_1+16|0;$158(HEAP32[$3_1>>2],HEAP32[$1_1+8>>2]);if($127($1_1+32|0,$3_1)){HEAP32[$1_1+32>>2]=HEAP32[$1_1+8>>2]}$4_1=$4_1+1|0;$117($1_1+16|0);continue}}label$277:{if(!$78($1_1+16|0,$1_1+32|0)){break label$277}if(!$99(HEAP32[$1_1+32>>2],HEAP32[$1_1+16>>2])){break label$277}$158(HEAP32[$1_1+16>>2],HEAP32[$1_1+32>>2]);$4_1=$4_1+1|0}if($127($1_1+48|0,$1_1+16|0)){break label$258}label$278:{if($4_1){break label$278}if($199($1_1+48|0,$1_1+16|0)){$3_1=HEAP32[$1_1+56>>2];HEAP32[$1_1+32>>2]=$3_1;HEAP32[$1_1+8>>2]=$3_1;while(1){if($127($117($1_1+8|0),$1_1+16|0)){break label$258}if($99(HEAP32[$1_1+8>>2],HEAP32[$1_1+32>>2])){break label$278}HEAP32[$1_1+32>>2]=HEAP32[$1_1+8>>2];continue}}$3_1=HEAP32[$1_1+16>>2];HEAP32[$1_1+32>>2]=$3_1;HEAP32[$1_1+8>>2]=$3_1;while(1){if($127($117($1_1+8|0),$1_1+40|0)){break label$258}if($99(HEAP32[$1_1+8>>2],HEAP32[$1_1+32>>2])){break label$278}HEAP32[$1_1+32>>2]=HEAP32[$1_1+8>>2];continue}}if($199($1_1+48|0,$1_1+16|0)){HEAP32[$1_1+40>>2]=HEAP32[$1_1+16>>2];continue}HEAP32[$1_1+56>>2]=HEAP32[$117($1_1+16|0)>>2];continue}$117($1_1+16|0);HEAP32[$1_1+8>>2]=HEAP32[$1_1+40>>2];if(!$99(HEAP32[$1_1+56>>2],HEAP32[$169($1_1+8|0)>>2])){while(1){if($127($1_1+16|0,$1_1+8|0)){break label$258}if($99(HEAP32[$1_1+56>>2],HEAP32[$1_1+16>>2])){$3_1=$1_1+16|0;$158(HEAP32[$3_1>>2],HEAP32[$1_1+8>>2]);$117($3_1)}else{$117($1_1+16|0);continue}break}}if($127($1_1+16|0,$1_1+8|0)){break label$258}while(1){label$288:{if($99(HEAP32[$1_1+56>>2],HEAP32[$1_1+16>>2])){while(1){if($99(HEAP32[$1_1+56>>2],HEAP32[$169($1_1+8|0)>>2])){continue}break}if($790($1_1+16|0,$1_1+8|0)){break label$288}$158(HEAP32[$1_1+16>>2],HEAP32[$1_1+8>>2])}$117($1_1+16|0);continue}break}if($199($1_1+48|0,$1_1+16|0)){break label$258}HEAP32[$1_1+56>>2]=HEAP32[$1_1+16>>2];continue}break}global$0=$1_1- -64|0;$78($15_1+24|0,$15_1+16|0);global$0=$15_1+32|0;label$291:{if($12($8_1)>>>0>=$19_1>>>0){break label$291}if(HEAPF32[$29($8_1,0)>>2]>=HEAPF32[$29($8_1,$19_1)>>2]){break label$291}$3($0($0($2($0($0($0(71248,21983),2114),3305),661),3802),22041));break label$114}$4_1=0;while(1){if(($4_1|0)==($19_1|0)){break label$256}$329($14_1,$119($11_1,HEAP32[$29($8_1,$4_1)+4>>2]));$4_1=$4_1+1|0;continue}}$6_1=$6_1+1|0;continue}}}else{$3_1=$119($11_1,HEAP32[$2_1+28>>2]);$17_1=Math_fround(HEAPF32[$3_1+4>>2]/$9_1);label$294:{if(Math_fround(Math_abs($17_1))>2]/$5_1);label$296:{if(Math_fround(Math_abs($17_1))>2]=Math_abs(HEAPF32[$3_1+24>>2]);$4_1=$2_1+16|0;HEAPF32[$4_1>>2]=HEAPF32[$2_1+12>>2];HEAP32[$4_1+4>>2]=HEAP32[$2_1+28>>2];label$298:{if(HEAPU32[$1_1+4>>2]>2]){$326($1_1,$4_1);break label$298}$8_1=global$0-32|0;global$0=$8_1;$13_1=$4($1_1);$26_1=$8_1+8|0;$19_1=$12($1_1)+1|0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=$19_1;label$300:{$15_1=$270($1_1);if($19_1>>>0<=$15_1>>>0){$19_1=$142($1_1);if($19_1>>>0<$15_1>>>1>>>0){HEAP32[$3_1+8>>2]=$19_1<<1;$15_1=HEAP32[$67($3_1+8|0,$3_1+12|0)>>2]}global$0=$3_1+16|0;break label$300}$230();abort()}$3_1=$271($26_1,$15_1,$12($1_1),$13_1);$272($13_1,HEAP32[$3_1+8>>2],$4_1);HEAP32[$3_1+8>>2]=HEAP32[$3_1+8>>2]+8;$321($1_1,$3_1);$320($3_1);global$0=$8_1+32|0}$4_1=HEAP32[$2_1+28>>2]+1|0;continue}}}else{while(1){if($61($145($7_1,$1_1))>>>0>$4_1>>>0){$231($145($145($7_1,$1_1),$4_1));$4_1=$4_1+1|0;continue}break}$1_1=$1_1+1|0;continue}}break}$397($11_1,$14_1);if($82($11_1)>>>0>HEAPU32[$18_1+84>>2]){break label$239}$501($14_1)}global$0=$20_1+16|0;break label$238}$3($0($0($2($0($0($0(71248,20192),2114),3305),454),3802),20574));break label$114}$3($0($0($2($0($0($0(71248,20765),2114),3305),455),3802),20574));break label$114}$3($0($0($2($0($0($0(71248,20989),2114),3305),469),3802),21368));break label$114}$71($27_1);$30_1=$97($42_1,18306);$13_1=0;$14_1=global$0+-64|0;global$0=$14_1;label$306:{if(!HEAPU8[$18_1+28|0]){$1_1=$18_1+60|0;$11_1=0;while(1){if($82($1_1)>>>0<=$11_1>>>0){break label$306}HEAP32[$119($1_1,$11_1)+8>>2]=0;$11_1=$11_1+1|0;continue}}$27_1=$18_1+72|0;$498($27_1);$20_1=$18_1+60|0;$503($27_1,Math_imul($82($20_1),36));$19_1=$18_1+92|0;$32_1=$19_1+40|0;$1_1=0;label$309:{label$310:{while(1){if($120($34($16_1))>>>0>$1_1>>>0){$2_1=$25($34($16_1),$1_1);if(HEAP32[$2_1+4>>2]!=(HEAP32[$2_1+12>>2]>>>2|0)){break label$310}$4_1=HEAP32[$25($32_1,$1_1)+24>>2];$15_1=HEAP32[$2_1+8>>2];$8_1=HEAP32[$2_1+24>>2];$21_1=HEAP32[$2_1+4>>2];$3_1=$8_1+($21_1<<2)|0;$9_1=HEAPF32[$8_1>>2];$5_1=Math_fround(HEAPF32[$3_1>>2]-$9_1);$9_1=Math_fround(HEAPF32[$8_1+4>>2]-$9_1);HEAPF32[$4_1>>2]=+$181($5_1,$9_1)+3.141592653589793;HEAPF32[$4_1+4>>2]=Math_sqrt(Math_fround(Math_fround($9_1*$9_1)+Math_fround($5_1*$5_1)));$2_1=$21_1-1|0;$26_1=$2_1>>>0>1?$2_1:1;$11_1=$8_1+4|0;$6_1=$3_1;$7_1=1;while(1){label$3146:{$6_1=$6_1+4|0;$2_1=$4_1+8|0;if(($7_1|0)==($26_1|0)){$9_1=HEAPF32[$11_1>>2];$5_1=Math_fround(HEAPF32[$6_1>>2]-$9_1);$9_1=Math_fround($9_1-HEAPF32[$11_1-4>>2]);HEAPF32[$4_1+8>>2]=+$181($5_1,$9_1)+3.141592653589793;HEAPF32[$4_1+12>>2]=Math_sqrt(Math_fround(Math_fround($9_1*$9_1)+Math_fround($5_1*$5_1)));$29_1=$15_1-1|0;$28_1=$29_1>>>0>1?$29_1:1;$6_1=($21_1<<2)+$3_1|0;$7_1=$8_1;$15_1=1;label$316:while(1){if(($15_1|0)==($28_1|0)){$11_1=$2_1+8|0;$3_1=$8_1+(Math_imul($21_1,$29_1)<<2)|0;$9_1=HEAPF32[$3_1>>2];$4_1=$3_1-($21_1<<2)|0;$5_1=Math_fround($9_1-HEAPF32[$4_1>>2]);$9_1=Math_fround(HEAPF32[$3_1+4>>2]-$9_1);HEAPF32[$2_1+8>>2]=+$181($5_1,$9_1)+3.141592653589793;HEAPF32[$2_1+12>>2]=Math_sqrt(Math_fround(Math_fround($9_1*$9_1)+Math_fround($5_1*$5_1)));$2_1=$3_1+4|0;$6_1=1;while(1){$4_1=$4_1+4|0;if(($6_1|0)==($26_1|0)){break label$3146}$5_1=Math_fround(HEAPF32[$2_1>>2]-HEAPF32[$4_1>>2]);$9_1=Math_fround(HEAPF32[$2_1+4>>2]-HEAPF32[$2_1-4>>2]);HEAPF32[$11_1+8>>2]=+$181($5_1,$9_1)+3.141592653589793;HEAPF32[$11_1+12>>2]=Math_sqrt(Math_fround(Math_fround($9_1*$9_1)+Math_fround($5_1*$5_1)));$6_1=$6_1+1|0;$2_1=$2_1+4|0;$11_1=$11_1+8|0;continue}}$5_1=Math_fround(HEAPF32[$6_1>>2]-HEAPF32[$7_1>>2]);$9_1=Math_fround(HEAPF32[$3_1+4>>2]-HEAPF32[$3_1>>2]);HEAPF32[$2_1+8>>2]=+$181($5_1,$9_1)+3.141592653589793;HEAPF32[$2_1+12>>2]=Math_sqrt(Math_fround(Math_fround($9_1*$9_1)+Math_fround($5_1*$5_1)));$2_1=$2_1+16|0;$11_1=$3_1+4|0;$4_1=1;while(1)if(($4_1|0)==($26_1|0)){$5_1=Math_fround(HEAPF32[$6_1+4>>2]-HEAPF32[$7_1+4>>2]);$9_1=Math_fround(HEAPF32[$11_1>>2]-HEAPF32[$11_1-4>>2]);HEAPF32[$2_1>>2]=+$181($5_1,$9_1)+3.141592653589793;HEAPF32[$2_1+4>>2]=Math_sqrt(Math_fround(Math_fround($9_1*$9_1)+Math_fround($5_1*$5_1)));$15_1=$15_1+1|0;$6_1=$6_1+8|0;$7_1=$7_1+8|0;$3_1=$11_1+4|0;continue label$316}else{$6_1=$6_1+4|0;$7_1=$7_1+4|0;$5_1=Math_fround(HEAPF32[$6_1>>2]-HEAPF32[$7_1>>2]);$9_1=Math_fround(HEAPF32[$11_1+4>>2]-HEAPF32[$11_1-4>>2]);HEAPF32[$2_1>>2]=+$181($5_1,$9_1)+3.141592653589793;HEAPF32[$2_1+4>>2]=Math_sqrt(Math_fround(Math_fround($9_1*$9_1)+Math_fround($5_1*$5_1)));$4_1=$4_1+1|0;$2_1=$2_1+8|0;$11_1=$11_1+4|0;continue}}}else{$5_1=Math_fround(HEAPF32[$6_1>>2]-HEAPF32[$11_1>>2]);$9_1=Math_fround(HEAPF32[$11_1+4>>2]-HEAPF32[$11_1-4>>2]);HEAPF32[$4_1+8>>2]=+$181($5_1,$9_1)+3.141592653589793;HEAPF32[$4_1+12>>2]=Math_sqrt(Math_fround(Math_fround($9_1*$9_1)+Math_fround($5_1*$5_1)));$7_1=$7_1+1|0;$11_1=$11_1+4|0;$4_1=$2_1;continue}}break}$9_1=HEAPF32[$2_1>>2];$5_1=Math_fround($9_1-HEAPF32[$4_1>>2]);$9_1=Math_fround($9_1-HEAPF32[$2_1-4>>2]);HEAPF32[$11_1+8>>2]=+$181($5_1,$9_1)+3.141592653589793;HEAPF32[$11_1+12>>2]=Math_sqrt(Math_fround(Math_fround($9_1*$9_1)+Math_fround($5_1*$5_1)));$1_1=$1_1+1|0;continue}break}break label$309}$3($0($0($2($0($0($0(71248,1363),1879),3305),96),3802),4075));break label$114}$26_1=$18_1+144|0;label$323:while(1){if($82($20_1)>>>0<=$13_1>>>0){$397($20_1,$27_1);break label$306}$17_1=HEAPF32[$119($20_1,$13_1)>>2];$22_1=HEAPF32[$119($20_1,$13_1)+4>>2];$33_1=HEAPF32[$119($20_1,$13_1)+28>>2];$5_1=Math_fround(Math_fround(1)/Math_fround(1<>2]));$9_1=Math_fround(Math_fround($5_1*Math_fround(.5))+Math_fround(-.5));HEAPF32[$14_1+56>>2]=Math_fround($17_1*$5_1)+$9_1;HEAPF32[$14_1+52>>2]=Math_fround($22_1*$5_1)+$9_1;HEAPF32[$14_1+48>>2]=$5_1*$33_1;$11_1=0;HEAPF32[$14_1+56>>2]=$328(HEAPF32[$14_1+56>>2],Math_fround(HEAP32[$198($16_1,HEAP32[$119($20_1,$13_1)+12>>2],0)+4>>2]-1>>>0));HEAPF32[$14_1+52>>2]=$328(HEAPF32[$14_1+52>>2],Math_fround(HEAP32[$198($16_1,HEAP32[$119($20_1,$13_1)+12>>2],0)+8>>2]-1>>>0));$29_1=$9($26_1,0);$1_1=HEAP32[$119($20_1,$13_1)+12>>2];$2_1=HEAP32[$119($20_1,$13_1)+16>>2];$9_1=HEAPF32[$14_1+52>>2];$5_1=HEAPF32[$14_1+48>>2];$8_1=global$0-48|0;global$0=$8_1;label$325:{$17_1=HEAPF32[$14_1+56>>2];if($17_1>=Math_fround(0)){$3_1=$19_1+40|0;if($17_1>2])|0)+4>>2])){if($9_1>=Math_fround(0)){if($9_1>2])|0)+8>>2])){$3_1=$25($3_1,$2_1+Math_imul($1_1,HEAP32[$19_1+4>>2])|0);if(HEAP32[$3_1+16>>2]==2){HEAP32[$14_1+60>>2]=0;$22_1=Math_fround($17_1+Math_fround(.5));label$331:{if(Math_fround(Math_abs($22_1))>>0>=HEAPU32[$3_1+4>>2]|$6_1>>>0>=HEAPU32[$3_1+8>>2])){break label$325}$21_1=$19_1+28|0;$5_1=Math_fround(HEAPF32[$19_1+12>>2]*$5_1);$22_1=$5_1>2]);$33_1=Math_fround($22_1+Math_fround(.5));label$335:{if(Math_fround(Math_abs($33_1))>2]-1|0);$15_1=$269(0,$6_1-$2_1|0);$28_1=$386($2_1+$6_1|0,HEAP32[$3_1+8>>2]-1|0);wasm2js_memory_fill($9($21_1,0),0,$21($21_1)<<2);$36_1=Math_fround(Math_fround(-1)/Math_fround($5_1+$5_1));label$337:while(1){if(($15_1|0)>($28_1|0)){$2_1=0;$4_1=0;while(1)if(HEAP32[$19_1+20>>2]<=($4_1|0)){$5_1=Math_fround(0);while(1){$4_1=HEAP32[$19_1+8>>2];if(($2_1|0)>=($4_1|0)){if($5_1==Math_fround(0)){break label$325}}else{if(HEAPF32[$9($21_1,$2_1)>>2]>$5_1){$5_1=HEAPF32[$9($21_1,$2_1)>>2]}$2_1=$2_1+1|0;continue}break}if($5_1>Math_fround(0)){$1_1=0;while(1){if(($1_1|0)>=($4_1|0)){break label$325}$2_1=$1_1;$9_1=Math_fround($1_1|0);HEAPF32[$8_1+32>>2]=$9_1;HEAPF32[$8_1+36>>2]=HEAPF32[$9($21_1,$1_1)>>2];$3_1=$1_1-1|0;HEAPF32[$8_1+24>>2]=$3_1|0;$4_1=HEAP32[$19_1+8>>2];HEAPF32[$8_1+28>>2]=HEAPF32[$9($21_1,($3_1+$4_1|0)%($4_1|0)|0)>>2];$1_1=$1_1+1|0;HEAPF32[$8_1+16>>2]=$1_1|0;$3_1=HEAP32[$19_1+8>>2];HEAPF32[$8_1+20>>2]=HEAPF32[$9($21_1,($3_1+$1_1|0)%($3_1|0)|0)>>2];label$347:{if(!(HEAPF32[$9($21_1,$2_1)>>2]>Math_fround($5_1*HEAPF32[$19_1+24>>2]))){break label$347}$17_1=HEAPF32[$8_1+36>>2];if(!($17_1>HEAPF32[$8_1+28>>2])|!($17_1>HEAPF32[$8_1+20>>2])){break label$347}HEAPF32[$8_1>>2]=$9_1;$22_1=Math_fround(0);$17_1=HEAPF32[$8_1+16>>2];$9_1=HEAPF32[$8_1+24>>2];$33_1=Math_fround($17_1-$9_1);$35_1=$17_1;$17_1=HEAPF32[$8_1+32>>2];$31_1=Math_fround(Math_fround($35_1-$17_1)*$33_1);$36_1=Math_fround($9_1-$17_1);$33_1=Math_fround($36_1*$33_1);$2_1=$31_1==Math_fround(0)|$33_1==Math_fround(0)|$36_1==Math_fround(0);label$348:{if($2_1){HEAP32[$8_1+12>>2]=0;HEAP32[$8_1+8>>2]=0;break label$348}$22_1=HEAPF32[$8_1+36>>2];$22_1=Math_fround(Math_fround(Math_fround(HEAPF32[$8_1+20>>2]-$22_1)/$31_1)-Math_fround(Math_fround(HEAPF32[$8_1+28>>2]-$22_1)/$33_1));HEAPF32[$8_1+12>>2]=$22_1;$9_1=Math_fround($9_1*$9_1);$17_1=Math_fround(Math_fround(Math_fround($22_1*Math_fround(Math_fround($17_1*$17_1)-$9_1))+Math_fround(HEAPF32[$8_1+28>>2]-HEAPF32[$8_1+36>>2]))/$36_1);HEAPF32[$8_1+8>>2]=$17_1;$22_1=Math_fround(Math_fround(HEAPF32[$8_1+28>>2]-Math_fround(HEAPF32[$8_1+12>>2]*$9_1))-Math_fround($17_1*HEAPF32[$8_1+24>>2]))}HEAPF32[$8_1+4>>2]=$22_1;if(!$2_1){$17_1=HEAPF32[$8_1+8>>2];$9_1=HEAPF32[$8_1+12>>2];if($9_1!=Math_fround(0)){HEAPF32[$8_1>>2]=Math_fround(-$17_1)/Math_fround($9_1+$9_1)}}$32_1=HEAP32[$14_1+60>>2];$43_1=$29_1+($32_1<<2)|0;$9_1=Math_fround(HEAP32[$19_1+8>>2]);$48_1=+Math_fround(Math_fround(Math_fround(HEAPF32[$8_1>>2]+Math_fround(.5))+$9_1)/$9_1)*6.283185307179586;wasm2js_scratch_store_f64(+$48_1);$15_1=wasm2js_scratch_load_i32(1)|0;$6_1=wasm2js_scratch_load_i32(0)|0;$4_1=$15_1>>>20&2047;label$352:{if(($4_1|0)==2047){$48_1=$48_1*6.283185307179586;$55_1=$48_1/$48_1;break label$352}$3_1=$6_1<<1;$2_1=$15_1<<1|$6_1>>>31;$55_1=($3_1|0)==-1467459024&($2_1|0)==-2144189450?$48_1*0:$48_1;if(($2_1|0)==-2144189450&$3_1>>>0<=2827508272|$2_1>>>0<2150777846){break label$352}label$355:{if(!$4_1){$4_1=0;$3_1=$6_1<<12;$2_1=$15_1<<12|$6_1>>>20;if(($2_1|0)>0|($2_1|0)>=0){while(1){$4_1=$4_1-1|0;$2_1=$2_1<<1|$3_1>>>31;$3_1=$3_1<<1;if(($2_1|0)>0|($2_1|0)>=0){continue}break}}$2_1=1-$4_1|0;$3_1=$2_1&31;if(($2_1&63)>>>0>=32){$2_1=$6_1<<$3_1;$3_1=0}else{$2_1=(1<<$3_1)-1&$6_1>>>32-$3_1|$15_1<<$3_1;$3_1=$6_1<<$3_1}break label$355}$2_1=$15_1&1048575|1048576;$3_1=$6_1}if(($4_1|0)>1025){while(1){$6_1=$3_1-1413754136|0;label$361:{$7_1=$2_1-(($3_1>>>0<1413754136)+1647099|0)|0;if(($7_1|0)<0){break label$361}$3_1=$6_1;$2_1=$7_1;if($3_1|$2_1){break label$361}$55_1=$48_1*0;break label$352}$2_1=$2_1<<1|$3_1>>>31;$3_1=$3_1<<1;$4_1=$4_1-1|0;if(($4_1|0)>1025){continue}break}$4_1=1025}$6_1=$3_1-1413754136|0;label$362:{$7_1=$2_1-(($3_1>>>0<1413754136)+1647099|0)|0;if(($7_1|0)<0){break label$362}$3_1=$6_1;$2_1=$7_1;if($3_1|$2_1){break label$362}$55_1=$48_1*0;break label$352}if(($2_1|0)==1048575|$2_1>>>0<1048575){while(1){$4_1=$4_1-1|0;$6_1=$2_1>>>0<524288;$2_1=$2_1<<1|$3_1>>>31;$3_1=$3_1<<1;if($6_1){continue}break}}$15_1=$15_1&-2147483648;$28_1=$2_1+-1048576|$4_1<<20;$6_1=$2_1;$2_1=1-$4_1|0;$7_1=$2_1&31;$40_1=$3_1;if(($2_1&63)>>>0>=32){$2_1=0;$6_1=$6_1>>>$7_1|0}else{$2_1=$6_1>>>$7_1|0;$6_1=((1<<$7_1)-1&$6_1)<<32-$7_1|$3_1>>>$7_1}$3_1=($4_1|0)>0;wasm2js_scratch_store_i32(0,($3_1?$40_1:$6_1)|0);wasm2js_scratch_store_i32(1,($3_1?$28_1:$2_1)|$15_1);$55_1=+wasm2js_scratch_load_f64()}HEAPF32[$43_1>>2]=$55_1;HEAP32[$14_1+60>>2]=$32_1+1}$4_1=HEAP32[$19_1+8>>2];continue}}$3($0($0($2($0($0($0(71248,13969),1879),3305),218),3802),14495));break label$114}else{HEAP32[$8_1+40>>2]=HEAP32[6669];$1_1=HEAP32[6668];HEAP32[$8_1+32>>2]=HEAP32[6667];HEAP32[$8_1+36>>2]=$1_1;$3_1=$9($21_1,0);$1_1=$9($21_1,0);$6_1=HEAP32[$19_1+8>>2]-1|0;$7_1=$1_1+($6_1<<2)|0;$5_1=HEAPF32[$7_1>>2];$9_1=HEAPF32[$1_1>>2];$15_1=0;while(1){if(($6_1|0)==($15_1|0)){HEAPF32[$3_1+($6_1<<2)>>2]=Math_fround(HEAPF32[$8_1+40>>2]*$9_1)+Math_fround(Math_fround(HEAPF32[$8_1+32>>2]*$5_1)+Math_fround(HEAPF32[$8_1+36>>2]*HEAPF32[$7_1>>2]))}else{$32_1=$15_1<<2;$15_1=$15_1+1|0;$17_1=Math_fround(HEAPF32[$8_1+32>>2]*$5_1);$5_1=HEAPF32[$1_1+$32_1>>2];HEAPF32[$32_1+$3_1>>2]=Math_fround(HEAPF32[$8_1+40>>2]*HEAPF32[$1_1+($15_1<<2)>>2])+Math_fround($17_1+Math_fround($5_1*HEAPF32[$8_1+36>>2]));continue}break}$4_1=$4_1+1|0;continue}}$31_1=$64(Math_fround(Math_fround($15_1|0)-$9_1));$43_1=$27($3_1,$15_1);$2_1=$1_1;while(1){if(($2_1|0)>($32_1|0)){$15_1=$15_1+1|0;continue label$337}$5_1=Math_fround($31_1+$64(Math_fround(Math_fround($2_1|0)-$17_1)));if(!($5_1>$33_1)){$4_1=$43_1+($2_1<<3)|0;$22_1=HEAPF32[$4_1>>2];$7_1=HEAP32[$19_1+8>>2];$6_1=$9($21_1,0);$22_1=Math_fround(+Math_fround($22_1*Math_fround($7_1|0))*.159154943091895);$5_1=Math_fround($36_1*$5_1);$5_1=Math_fround(Math_fround(+Math_fround(Math_fround($5_1*Math_fround(Math_fround($5_1*Math_fround(Math_fround($5_1*Math_fround(Math_fround($5_1*Math_fround(Math_fround($5_1*Math_fround($5_1+Math_fround(6)))+Math_fround(30)))+Math_fround(120)))+Math_fround(360)))+Math_fround(720)))+Math_fround(720))*.0013888888)*HEAPF32[$4_1+4>>2]);$4_1=HEAP32[$19_1+8>>2];label$372:{label$373:{label$374:{label$375:{label$376:{label$377:{label$378:{label$379:{if($6_1){if(!(Math_fround($22_1+Math_fround(.5))>Math_fround(0))){break label$379}$39_1=Math_fround($22_1+Math_fround(-.5));if(!($39_1=Math_fround(0))){break label$378}if(($4_1|0)<0){break label$377}$35_1=$22_1;$22_1=Math_fround(Math_floor($39_1));label$381:{if(Math_fround(Math_abs($22_1))=Math_fround(0))){break label$376}if(!($22_1>=Math_fround(0))){break label$375}$40_1=($4_1+$7_1|0)%($4_1|0)|0;if(($40_1|0)<0){break label$374}$4_1=($7_1+1|0)%($4_1|0)|0;if(($4_1|0)<0){break label$373}$7_1=$6_1+($40_1<<2)|0;HEAPF32[$7_1>>2]=Math_fround($39_1*$5_1)+HEAPF32[$7_1>>2];$4_1=$6_1+($4_1<<2)|0;HEAPF32[$4_1>>2]=Math_fround($22_1*$5_1)+HEAPF32[$4_1>>2];break label$372}$3($0($0($2($0($0($0(71248,14927),15378),3305),139),3802),15745));break label$114}$3($0($0($2($0($0($0(71248,16175),15378),3305),140),3802),16533));break label$114}$3($0($0($2($0($0($0(71248,16815),15378),3305),141),3802),16978));break label$114}$3($0($0($2($0($0($0(71248,17273),15378),3305),142),3802),17480));break label$114}$3($0($0($2($0($0($0(71248,17839),15378),3305),150),3802),17904));break label$114}$3($0($0($2($0($0($0(71248,18229),15378),3305),151),3802),18441));break label$114}$3($0($0($2($0($0($0(71248,18618),15378),3305),152),3802),19003));break label$114}$3($0($0($2($0($0($0(71248,19216),15378),3305),153),3802),19498));break label$114}}$2_1=$2_1+1|0;continue}}}$3($0($0($2($0($0($0(71248,11346),1879),3305),126),3802),11728));break label$114}$3($0($0($2($0($0($0(71248,9940),1879),3305),122),3802),10290));break label$114}$3($0($0($2($0($0($0(71248,8498),1879),3305),121),3802),8979));break label$114}$3($0($0($2($0($0($0(71248,6889),1879),3305),120),3802),7375));break label$114}$3($0($0($2($0($0($0(71248,5140),1879),3305),119),3802),5693));break label$114}global$0=$8_1+48|0;while(1)if(HEAP32[$14_1+60>>2]<=($11_1|0)){$13_1=$13_1+1|0;continue label$323}else{$1_1=$14_1+8|0;wasm2js_memory_copy($1_1,$119($20_1,$13_1),36);HEAPF32[$14_1+16>>2]=HEAPF32[$9($26_1,$11_1)>>2];$329($27_1,$1_1);$11_1=$11_1+1|0;continue}}}global$0=$14_1- -64|0;$71($30_1);global$0=$42_1+32|0;break label$113}$3($0($0($2($0($0($0(71248,6808),2114),3305),147),3802),7294))}fimport$0();abort()}$1_1=$82($471($18_1));$2_1=global$0-16|0;global$0=$2_1;$16_1=$57_1+32|0;HEAP32[$16_1>>2]=0;HEAP32[$16_1+4>>2]=0;HEAP32[$2_1+12>>2]=0;$242($16_1+8|0);if($1_1){$760($16_1,$1_1);$770($16_1,$1_1)}global$0=$2_1+16|0;while(1){if($82($471($18_1))>>>0<=$12_1>>>0){break label$107}$1_1=$119($471($18_1),$12_1);$1_1=$927($57_1+8|0,HEAPF32[$1_1>>2],HEAPF32[$1_1+4>>2],HEAPF32[$1_1+8>>2],HEAPF32[$1_1+28>>2],HEAPF32[$1_1+24>>2]>Math_fround(0));$2_1=$59($16_1,$12_1);HEAP8[$2_1+16|0]=HEAPU8[$1_1+16|0];$3_1=HEAP32[$1_1+12>>2];HEAP32[$2_1+8>>2]=HEAP32[$1_1+8>>2];HEAP32[$2_1+12>>2]=$3_1;$3_1=HEAP32[$1_1+4>>2];HEAP32[$2_1>>2]=HEAP32[$1_1>>2];HEAP32[$2_1+4>>2]=$3_1;$12_1=$12_1+1|0;continue}}$3($0($0($2($0($0($0(71248,7575),8184),9192),212),10056),10508));break label$10}$3($0($0($2($0($0($0(71248,11230),8184),9192),213),10056),11711));break label$10}$3($0($0($2($0($0($0(71248,14076),8184),9192),214),10056),14416));break label$10}$3($0($0($2($0($0($0(71248,15090),8184),9192),215),10056),15343));break label$10}$3($0($0($2($0($0($0(71248,15892),8184),9192),216),10056),15343));break label$10}$14_1=$4($64_1);$105($14_1,96);$697($14_1,$76($16_1));$8_1=$34_1+48|0;$11_1=$34_1+96|0;$15_1=$34_1+144|0;$18_1=$34_1+192|0;$13_1=$34_1+240|0;$9_1=HEAPF32[$34_1+288>>2];$17_1=HEAPF32[$34_1+292>>2];$22_1=HEAPF32[$34_1+296>>2];$33_1=HEAPF32[$34_1+300>>2];$36_1=HEAPF32[$34_1+304>>2];$31_1=HEAPF32[$34_1+308>>2];$39_1=HEAPF32[$34_1+312>>2];$45_1=HEAPF32[$34_1+316>>2];$2_1=0;$12_1=0;label$388:{label$389:{if($10_1){if(($81($14_1)|0)!=($76($16_1)|0)){break label$389}while(1){if($76($16_1)>>>0<=$12_1>>>0){if(($76($16_1)|0)!=($2_1|0)){$3($0($0($2($0($0($0(71248,7684),3114),3772),617),4420),8263));break label$10}}else{$20_1=$222($14_1,$2_1);$3_1=$59($16_1,$12_1);$7_1=global$0-160|0;global$0=$7_1;$1_1=global$0-352|0;global$0=$1_1;$35_1=HEAPF32[$3_1>>2];$41_1=HEAPF32[$3_1+4>>2];$5_1=Math_fround(Math_max(Math_fround(HEAPF32[$3_1+12>>2]*$45_1),Math_fround(1)));$46_1=HEAPF32[$3_1+8>>2];$52_1=$700($46_1);$46_1=$699($46_1);$3_1=$1_1+304|0;HEAP32[$3_1+32>>2]=1065353216;HEAP32[$3_1+24>>2]=0;HEAP32[$3_1+28>>2]=0;HEAPF32[$3_1+20>>2]=$41_1;$41_1=Math_fround($52_1*$5_1);HEAPF32[$3_1+16>>2]=$41_1;HEAPF32[$3_1+8>>2]=$35_1;HEAPF32[$3_1>>2]=$41_1;$35_1=Math_fround($46_1*$5_1);HEAPF32[$3_1+12>>2]=$35_1;HEAPF32[$3_1+4>>2]=-$35_1;$35_1=HEAPF32[$1_1+324>>2];$41_1=HEAPF32[$1_1+312>>2];$4_1=$1_1+256|0;$41($4_1,$3_1,$34_1);$41($4_1|8,$3_1,$34_1+8|0);$41($1_1+272|0,$3_1,$34_1+16|0);$41($1_1+280|0,$3_1,$34_1+24|0);$41($1_1+288|0,$3_1,$34_1+32|0);$41($1_1+296|0,$3_1,$34_1+40|0);$4_1=$1_1+208|0;$41($4_1,$3_1,$8_1);$41($4_1|8,$3_1,$8_1+8|0);$41($1_1+224|0,$3_1,$8_1+16|0);$41($1_1+232|0,$3_1,$8_1+24|0);$41($1_1+240|0,$3_1,$8_1+32|0);$41($1_1+248|0,$3_1,$8_1+40|0);$4_1=$1_1+160|0;$41($4_1,$3_1,$11_1);$41($4_1|8,$3_1,$11_1+8|0);$41($1_1+176|0,$3_1,$11_1+16|0);$41($1_1+184|0,$3_1,$11_1+24|0);$41($1_1+192|0,$3_1,$11_1+32|0);$41($1_1+200|0,$3_1,$11_1+40|0);$4_1=$1_1+112|0;$41($4_1,$3_1,$15_1);$41($4_1|8,$3_1,$15_1+8|0);$41($1_1+128|0,$3_1,$15_1+16|0);$41($1_1+136|0,$3_1,$15_1+24|0);$41($1_1+144|0,$3_1,$15_1+32|0);$41($1_1+152|0,$3_1,$15_1+40|0);$4_1=$1_1- -64|0;$41($4_1,$3_1,$18_1);$41($4_1|8,$3_1,$18_1+8|0);$41($1_1+80|0,$3_1,$18_1+16|0);$41($1_1+88|0,$3_1,$18_1+24|0);$41($1_1+96|0,$3_1,$18_1+32|0);$41($1_1+104|0,$3_1,$18_1+40|0);$4_1=$1_1+16|0;$41($4_1,$3_1,$13_1);$41($4_1|8,$3_1,$13_1+8|0);$41($1_1+32|0,$3_1,$13_1+16|0);$41($1_1+40|0,$3_1,$13_1+24|0);$41($1_1+48|0,$3_1,$13_1+32|0);$41($1_1+56|0,$3_1,$13_1+40|0);$3_1=$1_1+12|0;$4_1=$1_1+8|0;$218($10_1,$3_1,$4_1,Math_fround($5_1*$39_1));HEAPF32[$7_1>>2]=$39($10_1,HEAPF32[$1_1+16>>2],HEAPF32[$1_1+20>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+4>>2]=$39($10_1,HEAPF32[$1_1+24>>2],HEAPF32[$1_1+28>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+8>>2]=$39($10_1,HEAPF32[$1_1+32>>2],HEAPF32[$1_1+36>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+12>>2]=$39($10_1,HEAPF32[$1_1+40>>2],HEAPF32[$1_1+44>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+16>>2]=$39($10_1,HEAPF32[$1_1+48>>2],HEAPF32[$1_1+52>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+20>>2]=$39($10_1,HEAPF32[$1_1+56>>2],HEAPF32[$1_1+60>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);$218($10_1,$3_1,$4_1,Math_fround($5_1*$31_1));HEAPF32[$7_1+24>>2]=$39($10_1,HEAPF32[$1_1+64>>2],HEAPF32[$1_1+68>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+28>>2]=$39($10_1,HEAPF32[$1_1+72>>2],HEAPF32[$1_1+76>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+32>>2]=$39($10_1,HEAPF32[$1_1+80>>2],HEAPF32[$1_1+84>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+36>>2]=$39($10_1,HEAPF32[$1_1+88>>2],HEAPF32[$1_1+92>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+40>>2]=$39($10_1,HEAPF32[$1_1+96>>2],HEAPF32[$1_1+100>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+44>>2]=$39($10_1,HEAPF32[$1_1+104>>2],HEAPF32[$1_1+108>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);$218($10_1,$3_1,$4_1,Math_fround($5_1*$36_1));HEAPF32[$7_1+48>>2]=$39($10_1,HEAPF32[$1_1+112>>2],HEAPF32[$1_1+116>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+52>>2]=$39($10_1,HEAPF32[$1_1+120>>2],HEAPF32[$1_1+124>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+56>>2]=$39($10_1,HEAPF32[$1_1+128>>2],HEAPF32[$1_1+132>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+60>>2]=$39($10_1,HEAPF32[$1_1+136>>2],HEAPF32[$1_1+140>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+64>>2]=$39($10_1,HEAPF32[$1_1+144>>2],HEAPF32[$1_1+148>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+68>>2]=$39($10_1,HEAPF32[$1_1+152>>2],HEAPF32[$1_1+156>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);$218($10_1,$3_1,$4_1,Math_fround($5_1*$33_1));HEAPF32[$7_1+72>>2]=$39($10_1,HEAPF32[$1_1+160>>2],HEAPF32[$1_1+164>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+76>>2]=$39($10_1,HEAPF32[$1_1+168>>2],HEAPF32[$1_1+172>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+80>>2]=$39($10_1,HEAPF32[$1_1+176>>2],HEAPF32[$1_1+180>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+84>>2]=$39($10_1,HEAPF32[$1_1+184>>2],HEAPF32[$1_1+188>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+88>>2]=$39($10_1,HEAPF32[$1_1+192>>2],HEAPF32[$1_1+196>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+92>>2]=$39($10_1,HEAPF32[$1_1+200>>2],HEAPF32[$1_1+204>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);$218($10_1,$3_1,$4_1,Math_fround($5_1*$22_1));HEAPF32[$7_1+96>>2]=$39($10_1,HEAPF32[$1_1+208>>2],HEAPF32[$1_1+212>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+100>>2]=$39($10_1,HEAPF32[$1_1+216>>2],HEAPF32[$1_1+220>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+104>>2]=$39($10_1,HEAPF32[$1_1+224>>2],HEAPF32[$1_1+228>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+108>>2]=$39($10_1,HEAPF32[$1_1+232>>2],HEAPF32[$1_1+236>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+112>>2]=$39($10_1,HEAPF32[$1_1+240>>2],HEAPF32[$1_1+244>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+116>>2]=$39($10_1,HEAPF32[$1_1+248>>2],HEAPF32[$1_1+252>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);$218($10_1,$3_1,$4_1,Math_fround($5_1*$17_1));HEAPF32[$7_1+120>>2]=$39($10_1,HEAPF32[$1_1+256>>2],HEAPF32[$1_1+260>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+124>>2]=$39($10_1,HEAPF32[$1_1+264>>2],HEAPF32[$1_1+268>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+128>>2]=$39($10_1,HEAPF32[$1_1+272>>2],HEAPF32[$1_1+276>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+132>>2]=$39($10_1,HEAPF32[$1_1+280>>2],HEAPF32[$1_1+284>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+136>>2]=$39($10_1,HEAPF32[$1_1+288>>2],HEAPF32[$1_1+292>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);HEAPF32[$7_1+140>>2]=$39($10_1,HEAPF32[$1_1+296>>2],HEAPF32[$1_1+300>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);$218($10_1,$3_1,$4_1,Math_fround($5_1*$9_1));HEAPF32[$7_1+144>>2]=$39($10_1,$41_1,$35_1,HEAP32[$1_1+12>>2],HEAP32[$1_1+8>>2]);global$0=$1_1+352|0;$1_1=0;$3_1=0;$736($20_1,84);$19_1=36;while(1){if(($1_1|0)==37){if(($3_1|0)!=666){$3($0($0($2($0($0($0(71248,21472),3114),3772),410),4420),21596));fimport$0();abort()}}else{$4_1=$3_1+$19_1|0;$21_1=$7_1+($1_1<<2)|0;$6_1=$1_1+1|0;$1_1=$6_1;while(1){if(($3_1|0)!=($4_1|0)){$42_1=$20_1+(($3_1|0)/8|0)|0;HEAP8[$42_1|0]=HEAPU8[$42_1|0]|(HEAPF32[$21_1>>2]>2])<<($3_1&7);$1_1=$1_1+1|0;$3_1=$3_1+1|0;continue}break}$19_1=$19_1-1|0;$3_1=$4_1;$1_1=$6_1;continue}break}global$0=$7_1+160|0;$1_1=$59($16_1,$12_1);$3_1=$221($14_1,$2_1);HEAP8[$3_1+16|0]=HEAPU8[$1_1+16|0];$4_1=HEAP32[$1_1+12>>2];HEAP32[$3_1+8>>2]=HEAP32[$1_1+8>>2];HEAP32[$3_1+12>>2]=$4_1;$4_1=HEAP32[$1_1+4>>2];HEAP32[$3_1>>2]=HEAP32[$1_1>>2];HEAP32[$3_1+4>>2]=$4_1;$2_1=$2_1+1|0;$12_1=$12_1+1|0;continue}break}$697($14_1,$2_1);break label$388}$3($0($0($2($0($0($0(71248,2617),3114),3772),537),4420),4790));break label$10}$3($0($0($2($0($0($0(71248,6056),3114),3772),538),4420),6594));break label$10}$427($16_1);global$0=$57_1+48|0;$71($63_1);$2_1=$755();$1_1=$47_1+16|0;$696($1_1);$3_1=$15($1_1);HEAP32[$47_1+12>>2]=$81($4(HEAP32[$54_1>>2]));HEAP32[$47_1+8>>2]=26945;HEAP32[$47_1+4>>2]=$3_1;HEAP32[$47_1>>2]=6109;$693($2_1,21697,$47_1);$8($1_1);$18_1=HEAP32[$54_1>>2];$16_1=global$0-112|0;global$0=$16_1;$21_1=$37_1+12|0;$231($21_1);HEAP32[$37_1+24>>2]=-1;$29_1=$37_1+28|0;$42_1=$37_1+788|0;$19_1=$37_1+652|0;$7_1=$37_1+636|0;$34_1=$45($4($18_1));$8_1=$267($16_1+104|0,$466($37_1+72|0));label$401:{while(1){label$403:{label$404:{label$405:{label$406:{label$407:{label$408:{label$409:{label$410:{label$411:{if($78($8_1,$267($16_1+48|0,$23()))){$20_1=$97($16_1+48|0,21826);$3_1=HEAPU8[$37_1+8|0];$1_1=$4($18_1);$2_1=$4(HEAP32[$63($8_1)+4>>2]);label$413:{if($3_1){$12_1=$2_1;$10_1=HEAP32[$63($8_1)+4>>2]+36|0;$3_1=0;$11_1=0;$14_1=global$0-16|0;global$0=$14_1;$231($7_1);label$415:{label$416:{label$417:{if(!$81($1_1)){break label$417}if(!$81($12_1)){break label$417}$4_1=$1_1;$380($7_1,$81($1_1));while(1){label$419:{if($81($4_1)>>>0<=$11_1>>>0){if($12($7_1)>>>0<=$81($4_1)>>>0){break label$419}$3($0($0($2($0($0($0(71248,22820),22637),9192),175),10056),22880));break label$403}$1_1=-1;$2_1=-1;$15_1=2147483647;$27_1=$222($4_1,$11_1);label$421:{if(HEAP32[$10_1+8>>2]){HEAP32[$10_1+100>>2]=0;$3_1=$10_1+72|0;$21($3_1);$828($3_1);$393($3_1);$6_1=$10_1+84|0;while(1){if(!$715($6_1)){$717($6_1);continue}break}$457($10_1,$6_1,HEAP32[$10_1+8>>2],$27_1);$21($3_1);break label$421}$3($0($0($2($0($0($0(71248,23036),16439),9192),405),10056),23103));break label$10}$3_1=0;$26_1=$221($4_1,$11_1);$13_1=$10_1+72|0;label$425:{while(1){if($21($13_1)>>>0<=$3_1>>>0){label$428:{if(($1_1|0)==-1){break label$425}if(($15_1|0)==-1){break label$416}if(($2_1|0)!=-1){break label$428}$257($7_1,$193($14_1+8|0,$11_1,$15_1));break label$425}}else{label$430:{if(HEAPU8[$26_1+16|0]!=HEAPU8[$221($12_1,HEAP32[$9($13_1,$3_1)>>2])+16|0]){break label$430}$6_1=$382($27_1,$222($12_1,HEAP32[$9($13_1,$3_1)>>2]));if($6_1>>>0<$1_1>>>0){$15_1=HEAP32[$9($13_1,$3_1)>>2];$2_1=$1_1;$1_1=$6_1;break label$430}$2_1=$2_1>>>0>$6_1>>>0?$6_1:$2_1}$3_1=$3_1+1|0;continue}break}if(!(HEAPF32[$7_1+12>>2]>Math_fround(Math_fround($1_1>>>0)/Math_fround($2_1>>>0)))){break label$425}$257($7_1,$193($14_1+8|0,$11_1,$15_1))}$11_1=$11_1+1|0;continue}break}$3_1=$12($7_1)}global$0=$14_1+16|0;break label$415}$3($0($0($2($0($0($0(71248,22565),22637),9192),160),10056),22745));break label$403}if(HEAPU32[$37_1>>2]<=$3_1>>>0){break label$413}break label$405}$3_1=$2_1;$2_1=0;$15_1=0;$11_1=global$0-16|0;global$0=$11_1;$231($7_1);label$432:{if(!$81($1_1)){break label$432}if(!$81($3_1)){break label$432}$6_1=$1_1;$380($7_1,$81($1_1));while(1){if($81($6_1)>>>0<=$15_1>>>0){if($12($7_1)>>>0>$81($6_1)>>>0){$3($0($0($2($0($0($0(71248,22820),22637),9192),112),10056),22880));break label$403}}else{$2_1=0;$1_1=-1;$12_1=-1;$4_1=2147483647;$13_1=$222($6_1,$15_1);$14_1=$221($6_1,$15_1);label$437:{while(1){if($81($3_1)>>>0<=$2_1>>>0){label$440:{if(($1_1|0)==-1){break label$437}if(($12_1|0)!=-1){break label$440}$257($7_1,$193($11_1+8|0,$15_1,$4_1));break label$437}}else{label$442:{if(HEAPU8[$14_1+16|0]!=HEAPU8[$221($3_1,$2_1)+16|0]){break label$442}$10_1=$382($13_1,$222($3_1,$2_1));if($10_1>>>0<$1_1>>>0){$12_1=$1_1;$4_1=$2_1;$1_1=$10_1;break label$442}$12_1=$10_1>>>0<$12_1>>>0?$10_1:$12_1}$2_1=$2_1+1|0;continue}break}if(!(HEAPF32[$7_1+12>>2]>Math_fround(Math_fround($1_1>>>0)/Math_fround($12_1>>>0)))){break label$437}$257($7_1,$193($11_1+8|0,$15_1,$4_1))}$15_1=$15_1+1|0;continue}break}$2_1=$12($7_1)}global$0=$11_1+16|0;if(HEAPU32[$37_1>>2]>$2_1>>>0){break label$405}}$71($20_1);$13_1=$45($4(HEAP32[$63($8_1)+4>>2]));$1_1=$97($16_1+48|0,21943);$2_1=$726($19_1,$34_1,$13_1,$7_1,HEAP32[$18_1>>2],HEAP32[$18_1+4>>2],HEAP32[HEAP32[$63($8_1)+4>>2]>>2],HEAP32[HEAP32[$63($8_1)+4>>2]+4>>2]);$3_1=0;label$444:{if(($2_1|0)<0){break label$444}$3_1=1}$71($1_1);if(!$3_1){break label$404}$15_1=$38($16_1+88|0);$3_1=$16_1+48|0;$1_1=$97($3_1,21960);$725($15_1,$19_1,$7_1,$2_1);$71($1_1);$1_1=$97($16_1+16|0,22060);if(!$724($3_1,$34_1,$13_1,$15_1,$42_1,HEAP32[HEAP32[$63($8_1)+4>>2]>>2],HEAP32[HEAP32[$63($8_1)+4>>2]+4>>2])){break label$411}$71($1_1);$10_1=$38($16_1);$1_1=$97($16_1+16|0,22084);$723($10_1,$16_1+48|0,$34_1,$13_1,$15_1,HEAPF32[$37_1+4>>2]);if($12($10_1)>>>0>2]){break label$410}$71($1_1);$27_1=$97($16_1+16|0,22238);$14_1=$4($18_1);$20_1=$4(HEAP32[$63($8_1)+4>>2]);$1_1=$16_1+48|0;$2_1=0;$11_1=0;$6_1=global$0+-64|0;global$0=$6_1;$231($7_1);label$445:{label$446:{label$447:{label$448:{if(!$81($14_1)){break label$448}if(!$81($20_1)){break label$448}$5_1=$64(Math_fround(10));if(!$718($6_1+16|0,$1_1,Math_fround(0))){break label$447}$380($7_1,$81($14_1));while(1){label$450:{if($81($14_1)>>>0<=$11_1>>>0){if($12($7_1)>>>0<=$81($14_1)>>>0){break label$450}$3($0($0($2($0($0($0(71248,22820),22637),9192),256),10056),22880));break label$403}$1_1=-1;$12_1=-1;$4_1=2147483647;$30_1=$222($14_1,$11_1);$26_1=$221($14_1,$11_1);$458($6_1+12|0,$6_1+8|0,$6_1+16|0,HEAPF32[$26_1>>2],HEAPF32[$26_1+4>>2]);$2_1=0;label$452:{while(1){if($81($20_1)>>>0<=$2_1>>>0){label$455:{if(($1_1|0)==-1){break label$452}if(($4_1|0)==-1){break label$446}if(($12_1|0)!=-1){break label$455}$257($7_1,$193($6_1,$11_1,$4_1));break label$452}}else{$3_1=$221($20_1,$2_1);label$457:{if(HEAPU8[$26_1+16|0]!=HEAPU8[$3_1+16|0]){break label$457}if($5_1>2]-HEAPF32[$3_1>>2]))+$64(Math_fround(HEAPF32[$6_1+8>>2]-HEAPF32[$3_1+4>>2])))){break label$457}$3_1=$731($30_1,$222($20_1,$2_1));if($3_1>>>0<$1_1>>>0){$4_1=$2_1;$12_1=$1_1;$1_1=$3_1;break label$457}$12_1=$3_1>>>0<$12_1>>>0?$3_1:$12_1}$2_1=$2_1+1|0;continue}break}if(!(HEAPF32[$7_1+12>>2]>Math_fround(Math_fround($1_1>>>0)/Math_fround($12_1>>>0)))){break label$452}$257($7_1,$193($6_1,$11_1,$4_1))}$11_1=$11_1+1|0;continue}break}$2_1=$12($7_1)}global$0=$6_1- -64|0;break label$445}$3($0($0($2($0($0($0(71248,25860),22637),9192),196),10056),25885));break label$403}$3($0($0($2($0($0($0(71248,22565),22637),9192),241),10056),22745));break label$403}if(HEAPU32[$37_1>>2]>$2_1>>>0){break label$409}$71($27_1);$1_1=$97($16_1+16|0,22275);$2_1=$726($19_1,$34_1,$13_1,$7_1,HEAP32[$18_1>>2],HEAP32[$18_1+4>>2],HEAP32[HEAP32[$63($8_1)+4>>2]>>2],HEAP32[HEAP32[$63($8_1)+4>>2]+4>>2]);$3_1=0;label$459:{if(($2_1|0)<0){break label$459}$3_1=1}$71($1_1);if(!$3_1){break label$407}$1_1=$16_1+16|0;$3_1=$97($1_1,22292);$725($15_1,$19_1,$7_1,$2_1);$71($3_1);$1_1=$97($1_1,22385);if(!$724($16_1+48|0,$34_1,$13_1,$15_1,$42_1,HEAP32[HEAP32[$63($8_1)+4>>2]>>2],HEAP32[HEAP32[$63($8_1)+4>>2]+4>>2])){break label$408}$71($1_1);$231($10_1);$1_1=$97($16_1+16|0,22409);$723($10_1,$16_1+48|0,$34_1,$13_1,$15_1,HEAPF32[$37_1+4>>2]);$71($1_1);if($12($10_1)>>>0>2]){break label$407}if($12($10_1)>>>0<=$12($21_1)>>>0){break label$407}$461($29_1,$16_1+48|0);$397($21_1,$10_1);HEAP32[$37_1+24>>2]=HEAP32[$63($8_1)>>2];break label$407}global$0=$16_1+112|0;break label$401}$71($1_1);break label$406}$71($1_1);break label$407}$71($27_1);break label$407}$71($1_1)}$170($10_1)}$170($15_1);break label$404}$71($20_1)}$728($8_1);continue}break}break label$10}global$0=$47_1+48|0;global$0=$60_1+32|0;$375($44_1);global$0=$59_1+32|0;$1_1=$76($476(HEAP32[$23_1>>2]));HEAP32[$23_1+48>>2]=$1_1;label$460:{if(!$1_1){$1_1=HEAP32[$23_1+56>>2];$6_1=($1_1|0)>0?$1_1:0;while(1){if(($6_1|0)==($24_1|0)){break label$460}HEAP32[(HEAP32[$23_1+52>>2]+Math_imul($24_1,68)|0)+60>>2]=-1;$24_1=$24_1+1|0;continue}}$1(HEAP32[$23_1+44>>2]);$1_1=$7(HEAP32[$23_1+48>>2]<<3);HEAP32[$23_1+44>>2]=$1_1;if(!$1_1){break label$31}$1_1=$476(HEAP32[$23_1>>2]);label$463:{if(($56_1|0)==1){while(1){if(HEAP32[$23_1+48>>2]<=($24_1|0)){break label$463}$5_1=HEAPF32[$59($1_1,$24_1)>>2];$9_1=HEAPF32[$59($1_1,$24_1)+4>>2];$2_1=HEAP32[$23_1+4>>2];label$466:{if($2_1){$3_1=$2_1+184|0;$2_1=HEAP32[$23_1+44>>2]+($24_1<<3)|0;$180($3_1,$5_1,$9_1,$2_1,$2_1+4|0);break label$466}$2_1=HEAP32[$23_1+44>>2]+($24_1<<3)|0;HEAPF32[$2_1+4>>2]=$9_1;HEAPF32[$2_1>>2]=$5_1}$24_1=$24_1+1|0;continue}}label$468:{switch($56_1-2|0){case 3:while(1){if(HEAP32[$23_1+48>>2]<=($24_1|0)){break label$463}$5_1=HEAPF32[$59($1_1,$24_1)>>2];$9_1=HEAPF32[$59($1_1,$24_1)+4>>2];$2_1=HEAP32[$23_1+4>>2];label$473:{if($2_1){$3_1=$2_1+184|0;$2_1=HEAP32[$23_1+44>>2]+($24_1<<3)|0;$180($3_1,Math_fround($5_1*Math_fround(1.5)),Math_fround($9_1*Math_fround(1.5)),$2_1,$2_1+4|0);break label$473}$2_1=HEAP32[$23_1+44>>2]+($24_1<<3)|0;HEAPF32[$2_1+4>>2]=$9_1*Math_fround(1.5);HEAPF32[$2_1>>2]=$5_1*Math_fround(1.5)}$24_1=$24_1+1|0;continue};case 0:while(1){if(HEAP32[$23_1+48>>2]<=($24_1|0)){break label$463}$5_1=HEAPF32[$59($1_1,$24_1)>>2];$9_1=HEAPF32[$59($1_1,$24_1)+4>>2];$2_1=HEAP32[$23_1+4>>2];label$476:{if($2_1){$3_1=$2_1+184|0;$2_1=HEAP32[$23_1+44>>2]+($24_1<<3)|0;$180($3_1,Math_fround($5_1+$5_1),Math_fround($9_1+$9_1),$2_1,$2_1+4|0);break label$476}$2_1=HEAP32[$23_1+44>>2]+($24_1<<3)|0;HEAPF32[$2_1+4>>2]=$9_1+$9_1;HEAPF32[$2_1>>2]=$5_1+$5_1}$24_1=$24_1+1|0;continue};case 2:while(1){if(HEAP32[$23_1+48>>2]<=($24_1|0)){break label$463}$5_1=HEAPF32[$59($1_1,$24_1)>>2];$9_1=HEAPF32[$59($1_1,$24_1)+4>>2];$2_1=HEAP32[$23_1+4>>2];label$479:{if($2_1){$3_1=$2_1+184|0;$2_1=HEAP32[$23_1+44>>2]+($24_1<<3)|0;$180($3_1,Math_fround($5_1*Math_fround(3)),Math_fround($9_1*Math_fround(3)),$2_1,$2_1+4|0);break label$479}$2_1=HEAP32[$23_1+44>>2]+($24_1<<3)|0;HEAPF32[$2_1+4>>2]=$9_1*Math_fround(3);HEAPF32[$2_1>>2]=$5_1*Math_fround(3)}$24_1=$24_1+1|0;continue};default:break label$468}}while(1){if(HEAP32[$23_1+48>>2]<=($24_1|0)){break label$463}$5_1=HEAPF32[$59($1_1,$24_1)>>2];$9_1=HEAPF32[$59($1_1,$24_1)+4>>2];$2_1=HEAP32[$23_1+4>>2];label$482:{if($2_1){$3_1=$2_1+184|0;$2_1=HEAP32[$23_1+44>>2]+($24_1<<3)|0;$180($3_1,Math_fround($5_1*Math_fround(4)),Math_fround($9_1*Math_fround(4)),$2_1,$2_1+4|0);break label$482}$2_1=HEAP32[$23_1+44>>2]+($24_1<<3)|0;HEAPF32[$2_1+4>>2]=$9_1*Math_fround(4);HEAPF32[$2_1>>2]=$5_1*Math_fround(4)}$24_1=$24_1+1|0;continue}}$24_1=0;while(1){$1_1=HEAP32[$23_1+56>>2];if(($1_1|0)>($24_1|0)){$2_1=HEAP32[(HEAP32[$23_1+36>>2]+Math_imul($24_1,12)|0)+8>>2];$10_1=Math_imul($24_1,68);$1_1=$10_1+HEAP32[$23_1+52>>2]|0;HEAP32[$1_1+60>>2]=-1;HEAP32[$1_1+48>>2]=$2_1;label$486:{if(HEAP32[$1_1+64>>2]){break label$486}$3_1=$13(HEAP32[HEAP32[HEAP32[$23_1>>2]>>2]>>2]);$7_1=HEAP32[HEAP32[HEAP32[HEAP32[$23_1>>2]>>2]>>2]+24>>2];if(($7_1|0)<0){break label$486}$15_1=HEAP32[$23_1+4>>2];$2_1=HEAP32[$23_1>>2];$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$7_1;$16_1=$776(HEAP32[$2_1>>2]+4|0,$1_1+12|0);global$0=$1_1+16|0;$8_1=$476(HEAP32[$23_1>>2]);$11_1=$10_1+HEAP32[$23_1+52>>2]|0;$2_1=global$0-224|0;global$0=$2_1;$1_1=-1;label$489:{if($12($3_1)>>>0<4){break label$489}$4_1=$7($12($3_1)<<4);if(!$4_1){break label$31}$12_1=$7(Math_imul($12($3_1),24));if(!$12_1){break label$31}$1_1=0;while(1){if($12($3_1)>>>0>$1_1>>>0){$6_1=$4_1+($1_1<<4)|0;HEAPF64[$6_1>>3]=HEAPF32[$59($8_1,HEAP32[$29($3_1,$1_1)>>2])>>2];HEAPF64[$6_1+8>>3]=HEAPF32[$59($8_1,HEAP32[$29($3_1,$1_1)>>2])+4>>2];$6_1=$12_1+Math_imul($1_1,24)|0;HEAPF64[$6_1>>3]=HEAPF32[$145($16_1,HEAP32[$29($3_1,$1_1)+4>>2])>>2];$5_1=HEAPF32[$145($16_1,HEAP32[$29($3_1,$1_1)+4>>2])+4>>2];HEAP32[$6_1+16>>2]=0;HEAP32[$6_1+20>>2]=0;HEAPF64[$6_1+8>>3]=$5_1;$1_1=$1_1+1|0;continue}break}HEAP32[$2_1+212>>2]=$12_1;HEAP32[$2_1+208>>2]=$4_1;HEAP32[$2_1+216>>2]=$1_1;$1_1=-1;$6_1=$15_1+8|0;if(($687($6_1,$4_1,$12_1,$12($3_1),$2_1+112|0)|0)<0){$1($4_1);$1($12_1);break label$489}$6_1=$455($6_1);HEAP32[$2_1+220>>2]=$6_1;if(!$6_1){$1($4_1);$1($12_1);break label$489}if(($311($6_1,$2_1+208|0,$2_1+112|0,$2_1,$2_1+104|0)|0)>=0){$6_1=0;while(1){$1_1=0;if(($6_1|0)==3){$453($2_1+220|0);$1($4_1);$1($12_1);$5_1=Math_fround(HEAPF64[$2_1+104>>3]);HEAPF32[$11_1+52>>2]=$5_1;$1_1=$5_1>Math_fround(10)?-1:0;break label$489}else{while(1){if(($1_1|0)!=4){HEAPF32[($11_1+($6_1<<4)|0)+($1_1<<2)>>2]=HEAPF64[($2_1+($6_1<<5)|0)+($1_1<<3)>>3];$1_1=$1_1+1|0;continue}break}$6_1=$6_1+1|0;continue}}}$1($4_1);$1($12_1);$453($2_1+220|0)}global$0=$2_1+224|0;if($1_1){break label$486}HEAP32[($10_1+HEAP32[$23_1+52>>2]|0)+60>>2]=0;$1_1=$12($3_1);$2_1=$10_1+HEAP32[$23_1+52>>2]|0;HEAP32[$2_1+56>>2]=$1_1;HEAP32[$2_1+48>>2]=HEAP32[(($7_1<<2)+$23_1|0)+60>>2];$1_1=$12($3_1);$2_1=$12($3_1);HEAPF64[$38_1+16>>3]=HEAPF32[($10_1+HEAP32[$23_1+52>>2]|0)+52>>2];HEAP32[$38_1+8>>2]=$2_1;HEAP32[$38_1+4>>2]=$1_1;HEAP32[$38_1>>2]=$24_1;$5(0,1,14128,$38_1)}$24_1=$24_1+1|0;continue}break}$6_1=($1_1|0)>0?$1_1:0}$24_1=0;while(1){if(($6_1|0)!=($24_1|0)){HEAP32[(HEAP32[$23_1+52>>2]+Math_imul($24_1,68)|0)+64>>2]=0;$24_1=$24_1+1|0;continue}break}if(($56_1|0)==1){break label$4}$1($25_1)}global$0=$38_1+32|0;break __inlined_func$1313}$5(0,3,9641,0);fimport$1(1);abort()}$5(0,3,1806,0);fimport$1(1);abort()}fimport$0();abort()}$1_1=0;HEAP32[$53_1+64>>2]=0;$2_1=HEAP32[$50_1+8>>2];$4_1=($2_1|0)>0?$2_1:0;$12_1=HEAP32[$50_1+12>>2];$2_1=0;while(1){if(($2_1|0)!=($4_1|0)){$25_1=Math_imul($2_1,68)+$12_1|0;if(!(HEAP32[$25_1+60>>2]|(HEAPF32[$25_1+52>>2]<$67_1?0:$1_1))){HEAP32[$53_1+64>>2]=1;HEAP32[$53_1+60>>2]=HEAP32[$25_1+48>>2];$3_1=0;while(1){if(($3_1|0)!=3){$6_1=$3_1<<4;$10_1=$6_1+$25_1|0;$1_1=0;while(1){if(($1_1|0)!=4){$7_1=$1_1<<2;HEAPF32[($7_1+($6_1+$53_1|0)|0)+12>>2]=HEAPF32[$7_1+$10_1>>2];$1_1=$1_1+1|0;continue}break}$3_1=$3_1+1|0;continue}break}$67_1=HEAPF32[$25_1+52>>2];$1_1=1}$2_1=$2_1+1|0;continue}break}$676($0_1);continue}break}$5(0,1,37593,0)}global$0=$50_1+16|0;return 0}function $515($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1){var $9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0;folding_inner0:{if(!$3_1){if(($4_1|0)==1){if($8_1){$6_1=$0_1;$3_1=0;$4_1=($1_1|0)>0?$1_1:0;$12_1=$2_1;$0_1=HEAP32[$7_1>>2];$5_1=$1_1;$1_1=$2_1-1|0;$9_1=$0_1+(Math_imul($5_1,$1_1)<<1)|0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$2_1=$2_1+2|0;$9_1=$9_1+2|0;continue}break}$4_1=($12_1|0)>0?$12_1:0;$10_1=$5_1-1|0;$9_1=$0_1+($10_1<<1)|0;$3_1=0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$13_1=$5_1<<1;$9_1=$13_1+$9_1|0;$2_1=$2_1+$13_1|0;continue}break}$20_1=($1_1|0)>1?$1_1:1;$13_1=$7_1+1310736|0;$4_1=$7_1+1179664|0;$1_1=$5_1+1|0;$8_1=$1_1+$8_1|0;$14_1=$1_1+$6_1|0;$21_1=($10_1|0)>1?$10_1:1;$15_1=$21_1-1|0;$2_1=$0_1+($1_1<<1)|0;$22_1=0-$5_1<<1;$10_1=0;$11_1=1;label$4:{label$10:while(1){if(($11_1|0)!=($20_1|0)){$17_1=$14_1+$15_1|0;$16_1=$8_1+$15_1|0;$9_1=1;while(1){label$13:{label$14:{label$15:{if(($9_1|0)!=($21_1|0)){if(HEAPU8[$14_1|0]<=HEAPU8[$8_1|0]){$0_1=$2_1+$22_1|0;$1_1=HEAPU16[$0_1>>1];$3_1=$1_1<<16>>16;if(($3_1|0)>0){HEAP16[$2_1>>1]=$3_1;$0_1=$13_1+Math_imul($1_1,28)|0;HEAP32[$0_1-4>>2]=$11_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$11_1;break label$13}$3_1=HEAPU16[$0_1-2>>1];$1_1=$3_1<<16>>16;$0_1=HEAP16[$0_1+2>>1];if(($0_1|0)>0){if(($1_1|0)>0){$1_1=HEAP32[($4_1+($0_1<<2)|0)-4>>2];$6_1=HEAP32[($4_1+($3_1<<2)|0)-4>>2];if(($1_1|0)>($6_1|0)){HEAP16[$2_1>>1]=$6_1;$0_1=0;$18_1=($10_1|0)>0?$10_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($18_1|0)){$1_1=$6_1;break label$14}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$6_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($6_1|0)){break label$14}$0_1=0;$18_1=($10_1|0)>0?$10_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($18_1|0)){break label$14}if(($6_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}$3_1=HEAP16[$2_1-2>>1];if(($3_1|0)>0){$1_1=HEAP32[($4_1+($0_1<<2)|0)-4>>2];$6_1=HEAP32[($4_1+(($3_1&65535)<<2)|0)-4>>2];if(($1_1|0)>($6_1|0)){HEAP16[$2_1>>1]=$6_1;$0_1=0;$18_1=($10_1|0)>0?$10_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($18_1|0)){$1_1=$6_1;break label$15}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$6_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($6_1|0)){break label$15}$0_1=0;$18_1=($10_1|0)>0?$10_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($18_1|0)){break label$15}if(($6_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$0_1;$0_1=$13_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;$1_1=$0_1-16|0;if(HEAP32[$1_1>>2]>($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$11_1;break label$13}if(($1_1|0)>0){HEAP16[$2_1>>1]=$1_1;$0_1=$13_1+Math_imul($3_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;$1_1=$0_1-12|0;if(HEAP32[$1_1>>2]<($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$11_1;break label$13}$0_1=HEAPU16[$2_1-2>>1];$1_1=$0_1<<16>>16;if(($1_1|0)>0){HEAP16[$2_1>>1]=$1_1;$0_1=$13_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;$0_1=$0_1-12|0;if(HEAP32[$0_1>>2]>=($9_1|0)){break label$13}HEAP32[$0_1>>2]=$9_1;break label$13}if(($10_1|0)>=32768){$5(0,3,1524,0);$0_1=-1;break label$4}$0_1=$10_1+1|0;HEAP16[$2_1>>1]=$0_1;HEAP32[$4_1+($10_1<<2)>>2]=$0_1<<16>>16;$1_1=$13_1+Math_imul($10_1,28)|0;HEAP32[$1_1+24>>2]=$11_1;HEAP32[$1_1+20>>2]=$11_1;HEAP32[$1_1+16>>2]=$9_1;HEAP32[$1_1+12>>2]=$9_1;HEAP32[$1_1+8>>2]=$11_1;HEAP32[$1_1+4>>2]=$9_1;HEAP32[$1_1>>2]=1;$10_1=$0_1;break label$13}HEAP16[$2_1>>1]=0;break label$13}$2_1=$2_1+4|0;$8_1=$16_1+2|0;$14_1=$17_1+2|0;$11_1=$11_1+1|0;continue label$10}$0_1=$13_1+Math_imul($1_1<<16>>16,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$11_1;break label$13}$0_1=$13_1+Math_imul($1_1<<16>>16,28)|0;HEAP32[$0_1-4>>2]=$11_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$11_1}$2_1=$2_1+2|0;$8_1=$8_1+1|0;$14_1=$14_1+1|0;$9_1=$9_1+1|0;continue}}break}$1_1=(($10_1|0)>0?$10_1:0)+1|0;$3_1=1;$8_1=1;$9_1=$4_1;while(1){if(($1_1|0)!=($3_1|0)){$0_1=HEAP32[$9_1>>2];label$41:{if(($0_1|0)==($3_1|0)){$0_1=$8_1;$8_1=$0_1+1|0;break label$41}$0_1=HEAP32[($4_1+($0_1<<2)|0)-4>>2]}HEAP32[$9_1>>2]=$0_1;$9_1=$9_1+4|0;$3_1=$3_1+1|0;continue}break}$9_1=$8_1-1|0;HEAP32[$7_1+8>>2]=$9_1;$0_1=0;if(!$9_1){break label$4}$1_1=$7_1+131084|0;$6_1=$7_1+12|0;wasm2js_memory_fill($6_1,0,$9_1<<2);$8_1=$7_1+655376|0;wasm2js_memory_fill($8_1,0,$9_1<<4);$3_1=0;while(1)if(($3_1|0)>=($9_1|0)){$9_1=0;$3_1=($10_1|0)>0?$10_1:0;while(1){if(($3_1|0)==($9_1|0)){$0_1=0;$1_1=HEAP32[$7_1+8>>2];$2_1=($1_1|0)>0?$1_1:0;$3_1=0;while(1){if(($2_1|0)==($3_1|0)){break label$4}$1_1=$8_1+($3_1<<4)|0;$19_1=+HEAP32[$6_1+($3_1<<2)>>2];HEAPF64[$1_1>>3]=HEAPF64[$1_1>>3]/$19_1;HEAPF64[$1_1+8>>3]=HEAPF64[$1_1+8>>3]/$19_1;$3_1=$3_1+1|0;continue}}$2_1=HEAP32[$4_1+($9_1<<2)>>2]-1|0;$5_1=$2_1<<2;$0_1=$5_1+$6_1|0;$10_1=$0_1;$12_1=HEAP32[$0_1>>2];$0_1=$13_1+Math_imul($9_1,28)|0;HEAP32[$10_1>>2]=$12_1+HEAP32[$0_1>>2];$10_1=$2_1<<4;$2_1=$10_1+$8_1|0;HEAPF64[$2_1>>3]=HEAPF64[$2_1>>3]+ +HEAP32[$0_1+4>>2];HEAPF64[$2_1+8>>3]=HEAPF64[$2_1+8>>3]+ +HEAP32[$0_1+8>>2];$2_1=$1_1+$10_1|0;$10_1=HEAP32[$0_1+12>>2];if(HEAP32[$2_1>>2]>($10_1|0)){HEAP32[$2_1>>2]=$10_1}$10_1=HEAP32[$0_1+16>>2];$2_1=$5_1<<2;$5_1=$1_1+($2_1|4)|0;if(($10_1|0)>HEAP32[$5_1>>2]){HEAP32[$5_1>>2]=$10_1}$10_1=HEAP32[$0_1+20>>2];$5_1=$1_1+($2_1|8)|0;if(($10_1|0)>2]){HEAP32[$5_1>>2]=$10_1}$0_1=HEAP32[$0_1+24>>2];$2_1=$1_1+($2_1|12)|0;if(($0_1|0)>HEAP32[$2_1>>2]){HEAP32[$2_1>>2]=$0_1}$9_1=$9_1+1|0;continue}}else{$0_1=$1_1+($3_1<<4)|0;HEAP32[$0_1>>2]=$5_1;HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+8>>2]=$12_1;HEAP32[$0_1+12>>2]=0;$3_1=$3_1+1|0;$9_1=HEAP32[$7_1+8>>2];continue}}break folding_inner0}if(!$6_1){$9_1=$0_1;$3_1=0;$4_1=($1_1|0)>0?$1_1:0;$13_1=$2_1;$0_1=HEAP32[$7_1>>2];$8_1=$1_1;$1_1=$2_1-1|0;$6_1=$0_1+(Math_imul($8_1,$1_1)<<1)|0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$6_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$2_1=$2_1+2|0;$6_1=$6_1+2|0;continue}break}$4_1=($13_1|0)>0?$13_1:0;$12_1=$8_1-1|0;$6_1=$0_1+($12_1<<1)|0;$3_1=0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$6_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$10_1=$8_1<<1;$6_1=$10_1+$6_1|0;$2_1=$2_1+$10_1|0;continue}break}$15_1=($1_1|0)>1?$1_1:1;$14_1=$7_1+1310736|0;$4_1=$7_1+1179664|0;$1_1=$8_1+1|0;$10_1=$1_1+$9_1|0;$20_1=($12_1|0)>1?$12_1:1;$21_1=$20_1-1|0;$2_1=$0_1+($1_1<<1)|0;$22_1=0-$8_1<<1;$0_1=0;$11_1=1;label$54:{label$60:while(1){if(($11_1|0)!=($15_1|0)){$17_1=$10_1+$21_1|0;$6_1=1;while(1){label$63:{label$64:{label$65:{if(($6_1|0)!=($20_1|0)){if(HEAPU8[$10_1|0]<=($5_1|0)){$1_1=$2_1+$22_1|0;$3_1=HEAPU16[$1_1>>1];$9_1=$3_1<<16>>16;if(($9_1|0)>0){HEAP16[$2_1>>1]=$9_1;$1_1=$14_1+Math_imul($3_1,28)|0;HEAP32[$1_1-4>>2]=$11_1;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$1_1=$1_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;break label$63}$9_1=HEAPU16[$1_1-2>>1];$3_1=$9_1<<16>>16;$1_1=HEAP16[$1_1+2>>1];if(($1_1|0)>0){if(($3_1|0)>0){$1_1=HEAP32[($4_1+($1_1<<2)|0)-4>>2];$12_1=HEAP32[($4_1+($9_1<<2)|0)-4>>2];if(($1_1|0)>($12_1|0)){HEAP16[$2_1>>1]=$12_1;$9_1=0;$16_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($16_1|0)){$1_1=$12_1;break label$64}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$12_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($12_1|0)){break label$64}$9_1=0;$16_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($16_1|0)){break label$64}if(($12_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}$3_1=HEAP16[$2_1-2>>1];if(($3_1|0)>0){$1_1=HEAP32[($4_1+($1_1<<2)|0)-4>>2];$12_1=HEAP32[($4_1+(($3_1&65535)<<2)|0)-4>>2];if(($1_1|0)>($12_1|0)){HEAP16[$2_1>>1]=$12_1;$9_1=0;$16_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($16_1|0)){$1_1=$12_1;break label$65}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$12_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($12_1|0)){break label$65}$9_1=0;$16_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($16_1|0)){break label$65}if(($12_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;$1_1=$14_1+Math_imul($1_1,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$3_1=$1_1-20|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$11_1;$3_1=$1_1-16|0;if(HEAP32[$3_1>>2]>($6_1|0)){HEAP32[$3_1>>2]=$6_1}HEAP32[$1_1-4>>2]=$11_1;break label$63}if(($3_1|0)>0){HEAP16[$2_1>>1]=$3_1;$1_1=$14_1+Math_imul($9_1,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$3_1=$1_1-20|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$11_1;$3_1=$1_1-12|0;if(HEAP32[$3_1>>2]<($6_1|0)){HEAP32[$3_1>>2]=$6_1}HEAP32[$1_1-4>>2]=$11_1;break label$63}$1_1=HEAPU16[$2_1-2>>1];$3_1=$1_1<<16>>16;if(($3_1|0)>0){HEAP16[$2_1>>1]=$3_1;$1_1=$14_1+Math_imul($1_1,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$3_1=$1_1-20|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$11_1;$1_1=$1_1-12|0;if(HEAP32[$1_1>>2]>=($6_1|0)){break label$63}HEAP32[$1_1>>2]=$6_1;break label$63}if(($0_1|0)>=32768){$5(0,3,1524,0);$9_1=-1;break label$54}$1_1=$0_1+1|0;HEAP16[$2_1>>1]=$1_1;HEAP32[$4_1+($0_1<<2)>>2]=$1_1<<16>>16;$0_1=$14_1+Math_imul($0_1,28)|0;HEAP32[$0_1+24>>2]=$11_1;HEAP32[$0_1+20>>2]=$11_1;HEAP32[$0_1+16>>2]=$6_1;HEAP32[$0_1+12>>2]=$6_1;HEAP32[$0_1+8>>2]=$11_1;HEAP32[$0_1+4>>2]=$6_1;HEAP32[$0_1>>2]=1;$0_1=$1_1;break label$63}HEAP16[$2_1>>1]=0;break label$63}$2_1=$2_1+4|0;$10_1=$17_1+2|0;$11_1=$11_1+1|0;continue label$60}$1_1=$14_1+Math_imul($1_1<<16>>16,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$1_1=$1_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;break label$63}$1_1=$14_1+Math_imul($1_1<<16>>16,28)|0;HEAP32[$1_1-4>>2]=$11_1;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$1_1=$1_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1}$2_1=$2_1+2|0;$10_1=$10_1+1|0;$6_1=$6_1+1|0;continue}}break}$1_1=(($0_1|0)>0?$0_1:0)+1|0;$3_1=1;$10_1=1;$6_1=$4_1;while(1){if(($1_1|0)!=($3_1|0)){$2_1=HEAP32[$6_1>>2];label$91:{if(($2_1|0)==($3_1|0)){$9_1=$10_1;$10_1=$9_1+1|0;break label$91}$9_1=HEAP32[($4_1+($2_1<<2)|0)-4>>2]}HEAP32[$6_1>>2]=$9_1;$6_1=$6_1+4|0;$3_1=$3_1+1|0;continue}break}$6_1=$10_1-1|0;HEAP32[$7_1+8>>2]=$6_1;$9_1=0;if(!$6_1){break label$54}$1_1=$7_1+131084|0;$5_1=$7_1+12|0;wasm2js_memory_fill($5_1,0,$6_1<<2);$10_1=$7_1+655376|0;wasm2js_memory_fill($10_1,0,$6_1<<4);$3_1=0;while(1)if(($3_1|0)>=($6_1|0)){$6_1=0;$3_1=($0_1|0)>0?$0_1:0;while(1){if(($3_1|0)==($6_1|0)){$9_1=0;$0_1=HEAP32[$7_1+8>>2];$1_1=($0_1|0)>0?$0_1:0;$3_1=0;while(1){if(($1_1|0)==($3_1|0)){break label$54}$0_1=$10_1+($3_1<<4)|0;$19_1=+HEAP32[$5_1+($3_1<<2)>>2];HEAPF64[$0_1>>3]=HEAPF64[$0_1>>3]/$19_1;HEAPF64[$0_1+8>>3]=HEAPF64[$0_1+8>>3]/$19_1;$3_1=$3_1+1|0;continue}}$2_1=HEAP32[$4_1+($6_1<<2)>>2]-1|0;$8_1=$2_1<<2;$0_1=$8_1+$5_1|0;$9_1=$0_1;$12_1=HEAP32[$0_1>>2];$0_1=$14_1+Math_imul($6_1,28)|0;HEAP32[$9_1>>2]=$12_1+HEAP32[$0_1>>2];$9_1=$2_1<<4;$2_1=$9_1+$10_1|0;HEAPF64[$2_1>>3]=HEAPF64[$2_1>>3]+ +HEAP32[$0_1+4>>2];HEAPF64[$2_1+8>>3]=HEAPF64[$2_1+8>>3]+ +HEAP32[$0_1+8>>2];$2_1=$1_1+$9_1|0;$9_1=HEAP32[$0_1+12>>2];if(HEAP32[$2_1>>2]>($9_1|0)){HEAP32[$2_1>>2]=$9_1}$9_1=HEAP32[$0_1+16>>2];$2_1=$8_1<<2;$8_1=$1_1+($2_1|4)|0;if(($9_1|0)>HEAP32[$8_1>>2]){HEAP32[$8_1>>2]=$9_1}$9_1=HEAP32[$0_1+20>>2];$8_1=$1_1+($2_1|8)|0;if(($9_1|0)>2]){HEAP32[$8_1>>2]=$9_1}$0_1=HEAP32[$0_1+24>>2];$2_1=$1_1+($2_1|12)|0;if(($0_1|0)>HEAP32[$2_1>>2]){HEAP32[$2_1>>2]=$0_1}$6_1=$6_1+1|0;continue}}else{$2_1=$1_1+($3_1<<4)|0;HEAP32[$2_1>>2]=$8_1;HEAP32[$2_1+4>>2]=0;HEAP32[$2_1+8>>2]=$13_1;HEAP32[$2_1+12>>2]=0;$3_1=$3_1+1|0;$6_1=HEAP32[$7_1+8>>2];continue}}return $9_1}$6_1=$0_1;$12_1=$1_1;$11_1=($1_1|0)/2|0;$3_1=($11_1|0)>0?$11_1:0;$0_1=HEAP32[$7_1>>2];$15_1=($2_1|0)/2|0;$2_1=$15_1-1|0;$9_1=$0_1+(Math_imul($2_1,$11_1)<<1)|0;$1_1=0;$4_1=$0_1;while(1){if(($1_1|0)!=($3_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$4_1>>1]=0;$1_1=$1_1+1|0;$4_1=$4_1+2|0;$9_1=$9_1+2|0;continue}break}$8_1=($15_1|0)>0?$15_1:0;$3_1=$11_1-1|0;$9_1=$0_1+($3_1<<1)|0;$1_1=0;$4_1=$0_1;while(1){if(($1_1|0)!=($8_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$4_1>>1]=0;$1_1=$1_1+1|0;$10_1=$11_1<<1;$9_1=$10_1+$9_1|0;$4_1=$4_1+$10_1|0;continue}break}$20_1=($2_1|0)>1?$2_1:1;$21_1=($3_1|0)>1?$3_1:1;$13_1=$7_1+1310736|0;$3_1=$7_1+1179664|0;$6_1=($6_1+($12_1<<1)|0)+2|0;$4_1=($0_1+($11_1<<1)|0)+2|0;$22_1=0-$11_1<<1;$10_1=0;$14_1=1;label$103:{label$109:while(1){if(($14_1|0)!=($20_1|0)){$9_1=1;while(1){label$112:{label$113:{label$114:{if(($9_1|0)!=($21_1|0)){if(HEAPU8[$6_1|0]<=($5_1|0)){$0_1=$4_1+$22_1|0;$1_1=HEAPU16[$0_1>>1];$2_1=$1_1<<16>>16;if(($2_1|0)>0){HEAP16[$4_1>>1]=$2_1;$0_1=$13_1+Math_imul($1_1,28)|0;HEAP32[$0_1-4>>2]=$14_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$14_1;break label$112}$8_1=HEAPU16[$0_1-2>>1];$1_1=$8_1<<16>>16;$0_1=HEAP16[$0_1+2>>1];if(($0_1|0)>0){if(($1_1|0)>0){$2_1=HEAP32[($3_1+($0_1<<2)|0)-4>>2];$8_1=HEAP32[($3_1+($8_1<<2)|0)-4>>2];if(($2_1|0)>($8_1|0)){HEAP16[$4_1>>1]=$8_1;$0_1=0;$17_1=($10_1|0)>0?$10_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($17_1|0)){$2_1=$8_1;break label$113}if(HEAP32[$1_1>>2]==($2_1|0)){HEAP32[$1_1>>2]=$8_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}HEAP16[$4_1>>1]=$2_1;if(($2_1|0)>=($8_1|0)){break label$113}$0_1=0;$17_1=($10_1|0)>0?$10_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($17_1|0)){break label$113}if(($8_1|0)==HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=$2_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}$1_1=HEAP16[$4_1-2>>1];if(($1_1|0)>0){$2_1=HEAP32[($3_1+($0_1<<2)|0)-4>>2];$8_1=HEAP32[($3_1+(($1_1&65535)<<2)|0)-4>>2];if(($2_1|0)>($8_1|0)){HEAP16[$4_1>>1]=$8_1;$0_1=0;$17_1=($10_1|0)>0?$10_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($17_1|0)){$2_1=$8_1;break label$114}if(HEAP32[$1_1>>2]==($2_1|0)){HEAP32[$1_1>>2]=$8_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}HEAP16[$4_1>>1]=$2_1;if(($2_1|0)>=($8_1|0)){break label$114}$0_1=0;$17_1=($10_1|0)>0?$10_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($17_1|0)){break label$114}if(($8_1|0)==HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=$2_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}HEAP16[$4_1>>1]=$0_1;$0_1=$13_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$14_1;$1_1=$0_1-16|0;if(HEAP32[$1_1>>2]>($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$14_1;break label$112}if(($1_1|0)>0){HEAP16[$4_1>>1]=$1_1;$0_1=$13_1+Math_imul($8_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$14_1;$1_1=$0_1-12|0;if(HEAP32[$1_1>>2]<($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$14_1;break label$112}$0_1=HEAPU16[$4_1-2>>1];$1_1=$0_1<<16>>16;if(($1_1|0)>0){HEAP16[$4_1>>1]=$1_1;$0_1=$13_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$14_1;$0_1=$0_1-12|0;if(HEAP32[$0_1>>2]>=($9_1|0)){break label$112}HEAP32[$0_1>>2]=$9_1;break label$112}if(($10_1|0)>=32768){$5(0,3,1524,0);$0_1=-1;break label$103}$0_1=$10_1+1|0;HEAP16[$4_1>>1]=$0_1;HEAP32[$3_1+($10_1<<2)>>2]=$0_1<<16>>16;$1_1=$13_1+Math_imul($10_1,28)|0;HEAP32[$1_1+24>>2]=$14_1;HEAP32[$1_1+20>>2]=$14_1;HEAP32[$1_1+16>>2]=$9_1;HEAP32[$1_1+12>>2]=$9_1;HEAP32[$1_1+8>>2]=$14_1;HEAP32[$1_1+4>>2]=$9_1;HEAP32[$1_1>>2]=1;$10_1=$0_1;break label$112}HEAP16[$4_1>>1]=0;break label$112}$4_1=$4_1+4|0;$14_1=$14_1+1|0;$6_1=($6_1+$12_1|0)+4|0;continue label$109}$0_1=$13_1+Math_imul($2_1<<16>>16,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$14_1;break label$112}$0_1=$13_1+Math_imul($2_1<<16>>16,28)|0;HEAP32[$0_1-4>>2]=$14_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$14_1}$4_1=$4_1+2|0;$6_1=$6_1+2|0;$9_1=$9_1+1|0;continue}}break}$2_1=(($10_1|0)>0?$10_1:0)+1|0;$1_1=1;$6_1=1;$9_1=$3_1;while(1){if(($1_1|0)!=($2_1|0)){$0_1=HEAP32[$9_1>>2];label$140:{if(($0_1|0)==($1_1|0)){$0_1=$6_1;$6_1=$0_1+1|0;break label$140}$0_1=HEAP32[($3_1+($0_1<<2)|0)-4>>2]}HEAP32[$9_1>>2]=$0_1;$9_1=$9_1+4|0;$1_1=$1_1+1|0;continue}break}$9_1=$6_1-1|0;HEAP32[$7_1+8>>2]=$9_1;$0_1=0;if(!$9_1){break label$103}$2_1=$7_1+131084|0;$4_1=$7_1+12|0;wasm2js_memory_fill($4_1,0,$9_1<<2);$5_1=$7_1+655376|0;wasm2js_memory_fill($5_1,0,$9_1<<4);$1_1=0;while(1)if(($1_1|0)>=($9_1|0)){$9_1=0;$6_1=($10_1|0)>0?$10_1:0;while(1){if(($6_1|0)==($9_1|0)){$0_1=0;$1_1=HEAP32[$7_1+8>>2];$3_1=($1_1|0)>0?$1_1:0;$1_1=0;while(1){if(($1_1|0)==($3_1|0)){break label$103}$2_1=$5_1+($1_1<<4)|0;$19_1=+HEAP32[$4_1+($1_1<<2)>>2];HEAPF64[$2_1>>3]=HEAPF64[$2_1>>3]/$19_1;HEAPF64[$2_1+8>>3]=HEAPF64[$2_1+8>>3]/$19_1;$1_1=$1_1+1|0;continue}}$1_1=HEAP32[$3_1+($9_1<<2)>>2]-1|0;$8_1=$1_1<<2;$0_1=$8_1+$4_1|0;$10_1=$0_1;$12_1=HEAP32[$0_1>>2];$0_1=$13_1+Math_imul($9_1,28)|0;HEAP32[$10_1>>2]=$12_1+HEAP32[$0_1>>2];$10_1=$1_1<<4;$1_1=$10_1+$5_1|0;HEAPF64[$1_1>>3]=HEAPF64[$1_1>>3]+ +HEAP32[$0_1+4>>2];HEAPF64[$1_1+8>>3]=HEAPF64[$1_1+8>>3]+ +HEAP32[$0_1+8>>2];$1_1=$2_1+$10_1|0;$10_1=HEAP32[$0_1+12>>2];if(HEAP32[$1_1>>2]>($10_1|0)){HEAP32[$1_1>>2]=$10_1}$10_1=HEAP32[$0_1+16>>2];$1_1=$8_1<<2;$8_1=$2_1+($1_1|4)|0;if(($10_1|0)>HEAP32[$8_1>>2]){HEAP32[$8_1>>2]=$10_1}$10_1=HEAP32[$0_1+20>>2];$8_1=$2_1+($1_1|8)|0;if(($10_1|0)>2]){HEAP32[$8_1>>2]=$10_1}$0_1=HEAP32[$0_1+24>>2];$1_1=$2_1+($1_1|12)|0;if(($0_1|0)>HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=$0_1}$9_1=$9_1+1|0;continue}}else{$0_1=$2_1+($1_1<<4)|0;HEAP32[$0_1>>2]=$11_1;HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+8>>2]=$15_1;HEAP32[$0_1+12>>2]=0;$1_1=$1_1+1|0;$9_1=HEAP32[$7_1+8>>2];continue}}break folding_inner0}if($8_1){$6_1=$0_1;$3_1=0;$4_1=($1_1|0)>0?$1_1:0;$12_1=$2_1;$0_1=HEAP32[$7_1>>2];$5_1=$1_1;$1_1=$2_1-1|0;$9_1=$0_1+(Math_imul($5_1,$1_1)<<1)|0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$2_1=$2_1+2|0;$9_1=$9_1+2|0;continue}break}$4_1=($12_1|0)>0?$12_1:0;$10_1=$5_1-1|0;$9_1=$0_1+($10_1<<1)|0;$3_1=0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$13_1=$5_1<<1;$9_1=$13_1+$9_1|0;$2_1=$2_1+$13_1|0;continue}break}$20_1=($1_1|0)>1?$1_1:1;$13_1=$7_1+1310736|0;$4_1=$7_1+1179664|0;$1_1=$5_1+1|0;$8_1=$1_1+$8_1|0;$14_1=$1_1+$6_1|0;$21_1=($10_1|0)>1?$10_1:1;$15_1=$21_1-1|0;$2_1=$0_1+($1_1<<1)|0;$22_1=0-$5_1<<1;$10_1=0;$11_1=1;label$153:{label$159:while(1){if(($11_1|0)!=($20_1|0)){$17_1=$14_1+$15_1|0;$16_1=$8_1+$15_1|0;$9_1=1;while(1){label$162:{label$163:{label$164:{if(($9_1|0)!=($21_1|0)){if(HEAPU8[$14_1|0]>HEAPU8[$8_1|0]){$0_1=$2_1+$22_1|0;$1_1=HEAPU16[$0_1>>1];$3_1=$1_1<<16>>16;if(($3_1|0)>0){HEAP16[$2_1>>1]=$3_1;$0_1=$13_1+Math_imul($1_1,28)|0;HEAP32[$0_1-4>>2]=$11_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$11_1;break label$162}$3_1=HEAPU16[$0_1-2>>1];$1_1=$3_1<<16>>16;$0_1=HEAP16[$0_1+2>>1];if(($0_1|0)>0){if(($1_1|0)>0){$1_1=HEAP32[($4_1+($0_1<<2)|0)-4>>2];$6_1=HEAP32[($4_1+($3_1<<2)|0)-4>>2];if(($1_1|0)>($6_1|0)){HEAP16[$2_1>>1]=$6_1;$0_1=0;$18_1=($10_1|0)>0?$10_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($18_1|0)){$1_1=$6_1;break label$163}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$6_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($6_1|0)){break label$163}$0_1=0;$18_1=($10_1|0)>0?$10_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($18_1|0)){break label$163}if(($6_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}$3_1=HEAP16[$2_1-2>>1];if(($3_1|0)>0){$1_1=HEAP32[($4_1+($0_1<<2)|0)-4>>2];$6_1=HEAP32[($4_1+(($3_1&65535)<<2)|0)-4>>2];if(($1_1|0)>($6_1|0)){HEAP16[$2_1>>1]=$6_1;$0_1=0;$18_1=($10_1|0)>0?$10_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($18_1|0)){$1_1=$6_1;break label$164}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$6_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($6_1|0)){break label$164}$0_1=0;$18_1=($10_1|0)>0?$10_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($18_1|0)){break label$164}if(($6_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$0_1;$0_1=$13_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;$1_1=$0_1-16|0;if(HEAP32[$1_1>>2]>($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$11_1;break label$162}if(($1_1|0)>0){HEAP16[$2_1>>1]=$1_1;$0_1=$13_1+Math_imul($3_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;$1_1=$0_1-12|0;if(HEAP32[$1_1>>2]<($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$11_1;break label$162}$0_1=HEAPU16[$2_1-2>>1];$1_1=$0_1<<16>>16;if(($1_1|0)>0){HEAP16[$2_1>>1]=$1_1;$0_1=$13_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;$0_1=$0_1-12|0;if(HEAP32[$0_1>>2]>=($9_1|0)){break label$162}HEAP32[$0_1>>2]=$9_1;break label$162}if(($10_1|0)>=32768){$5(0,3,1524,0);$0_1=-1;break label$153}$0_1=$10_1+1|0;HEAP16[$2_1>>1]=$0_1;HEAP32[$4_1+($10_1<<2)>>2]=$0_1<<16>>16;$1_1=$13_1+Math_imul($10_1,28)|0;HEAP32[$1_1+24>>2]=$11_1;HEAP32[$1_1+20>>2]=$11_1;HEAP32[$1_1+16>>2]=$9_1;HEAP32[$1_1+12>>2]=$9_1;HEAP32[$1_1+8>>2]=$11_1;HEAP32[$1_1+4>>2]=$9_1;HEAP32[$1_1>>2]=1;$10_1=$0_1;break label$162}HEAP16[$2_1>>1]=0;break label$162}$2_1=$2_1+4|0;$8_1=$16_1+2|0;$14_1=$17_1+2|0;$11_1=$11_1+1|0;continue label$159}$0_1=$13_1+Math_imul($1_1<<16>>16,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$11_1;break label$162}$0_1=$13_1+Math_imul($1_1<<16>>16,28)|0;HEAP32[$0_1-4>>2]=$11_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$11_1}$2_1=$2_1+2|0;$8_1=$8_1+1|0;$14_1=$14_1+1|0;$9_1=$9_1+1|0;continue}}break}$1_1=(($10_1|0)>0?$10_1:0)+1|0;$3_1=1;$8_1=1;$9_1=$4_1;while(1){if(($1_1|0)!=($3_1|0)){$0_1=HEAP32[$9_1>>2];label$190:{if(($0_1|0)==($3_1|0)){$0_1=$8_1;$8_1=$0_1+1|0;break label$190}$0_1=HEAP32[($4_1+($0_1<<2)|0)-4>>2]}HEAP32[$9_1>>2]=$0_1;$9_1=$9_1+4|0;$3_1=$3_1+1|0;continue}break}$9_1=$8_1-1|0;HEAP32[$7_1+8>>2]=$9_1;$0_1=0;if(!$9_1){break label$153}$1_1=$7_1+131084|0;$6_1=$7_1+12|0;wasm2js_memory_fill($6_1,0,$9_1<<2);$8_1=$7_1+655376|0;wasm2js_memory_fill($8_1,0,$9_1<<4);$3_1=0;while(1)if(($3_1|0)>=($9_1|0)){$9_1=0;$3_1=($10_1|0)>0?$10_1:0;while(1){if(($3_1|0)==($9_1|0)){$0_1=0;$1_1=HEAP32[$7_1+8>>2];$2_1=($1_1|0)>0?$1_1:0;$3_1=0;while(1){if(($2_1|0)==($3_1|0)){break label$153}$1_1=$8_1+($3_1<<4)|0;$19_1=+HEAP32[$6_1+($3_1<<2)>>2];HEAPF64[$1_1>>3]=HEAPF64[$1_1>>3]/$19_1;HEAPF64[$1_1+8>>3]=HEAPF64[$1_1+8>>3]/$19_1;$3_1=$3_1+1|0;continue}}$2_1=HEAP32[$4_1+($9_1<<2)>>2]-1|0;$5_1=$2_1<<2;$0_1=$5_1+$6_1|0;$10_1=$0_1;$12_1=HEAP32[$0_1>>2];$0_1=$13_1+Math_imul($9_1,28)|0;HEAP32[$10_1>>2]=$12_1+HEAP32[$0_1>>2];$10_1=$2_1<<4;$2_1=$10_1+$8_1|0;HEAPF64[$2_1>>3]=HEAPF64[$2_1>>3]+ +HEAP32[$0_1+4>>2];HEAPF64[$2_1+8>>3]=HEAPF64[$2_1+8>>3]+ +HEAP32[$0_1+8>>2];$2_1=$1_1+$10_1|0;$10_1=HEAP32[$0_1+12>>2];if(HEAP32[$2_1>>2]>($10_1|0)){HEAP32[$2_1>>2]=$10_1}$10_1=HEAP32[$0_1+16>>2];$2_1=$5_1<<2;$5_1=$1_1+($2_1|4)|0;if(($10_1|0)>HEAP32[$5_1>>2]){HEAP32[$5_1>>2]=$10_1}$10_1=HEAP32[$0_1+20>>2];$5_1=$1_1+($2_1|8)|0;if(($10_1|0)>2]){HEAP32[$5_1>>2]=$10_1}$0_1=HEAP32[$0_1+24>>2];$2_1=$1_1+($2_1|12)|0;if(($0_1|0)>HEAP32[$2_1>>2]){HEAP32[$2_1>>2]=$0_1}$9_1=$9_1+1|0;continue}}else{$0_1=$1_1+($3_1<<4)|0;HEAP32[$0_1>>2]=$5_1;HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+8>>2]=$12_1;HEAP32[$0_1+12>>2]=0;$3_1=$3_1+1|0;$9_1=HEAP32[$7_1+8>>2];continue}}break folding_inner0}if(!$6_1){$9_1=$0_1;$3_1=0;$4_1=($1_1|0)>0?$1_1:0;$13_1=$2_1;$0_1=HEAP32[$7_1>>2];$8_1=$1_1;$1_1=$2_1-1|0;$6_1=$0_1+(Math_imul($8_1,$1_1)<<1)|0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$6_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$2_1=$2_1+2|0;$6_1=$6_1+2|0;continue}break}$4_1=($13_1|0)>0?$13_1:0;$12_1=$8_1-1|0;$6_1=$0_1+($12_1<<1)|0;$3_1=0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$6_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$10_1=$8_1<<1;$6_1=$10_1+$6_1|0;$2_1=$2_1+$10_1|0;continue}break}$15_1=($1_1|0)>1?$1_1:1;$14_1=$7_1+1310736|0;$4_1=$7_1+1179664|0;$1_1=$8_1+1|0;$10_1=$1_1+$9_1|0;$20_1=($12_1|0)>1?$12_1:1;$21_1=$20_1-1|0;$2_1=$0_1+($1_1<<1)|0;$22_1=0-$8_1<<1;$0_1=0;$11_1=1;label$203:{label$209:while(1){if(($11_1|0)!=($15_1|0)){$17_1=$10_1+$21_1|0;$6_1=1;while(1){label$212:{label$213:{label$214:{if(($6_1|0)!=($20_1|0)){if(HEAPU8[$10_1|0]>($5_1|0)){$1_1=$2_1+$22_1|0;$3_1=HEAPU16[$1_1>>1];$9_1=$3_1<<16>>16;if(($9_1|0)>0){HEAP16[$2_1>>1]=$9_1;$1_1=$14_1+Math_imul($3_1,28)|0;HEAP32[$1_1-4>>2]=$11_1;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$1_1=$1_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;break label$212}$9_1=HEAPU16[$1_1-2>>1];$3_1=$9_1<<16>>16;$1_1=HEAP16[$1_1+2>>1];if(($1_1|0)>0){if(($3_1|0)>0){$1_1=HEAP32[($4_1+($1_1<<2)|0)-4>>2];$12_1=HEAP32[($4_1+($9_1<<2)|0)-4>>2];if(($1_1|0)>($12_1|0)){HEAP16[$2_1>>1]=$12_1;$9_1=0;$16_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($16_1|0)){$1_1=$12_1;break label$213}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$12_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($12_1|0)){break label$213}$9_1=0;$16_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($16_1|0)){break label$213}if(($12_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}$3_1=HEAP16[$2_1-2>>1];if(($3_1|0)>0){$1_1=HEAP32[($4_1+($1_1<<2)|0)-4>>2];$12_1=HEAP32[($4_1+(($3_1&65535)<<2)|0)-4>>2];if(($1_1|0)>($12_1|0)){HEAP16[$2_1>>1]=$12_1;$9_1=0;$16_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($16_1|0)){$1_1=$12_1;break label$214}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$12_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($12_1|0)){break label$214}$9_1=0;$16_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($16_1|0)){break label$214}if(($12_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;$1_1=$14_1+Math_imul($1_1,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$3_1=$1_1-20|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$11_1;$3_1=$1_1-16|0;if(HEAP32[$3_1>>2]>($6_1|0)){HEAP32[$3_1>>2]=$6_1}HEAP32[$1_1-4>>2]=$11_1;break label$212}if(($3_1|0)>0){HEAP16[$2_1>>1]=$3_1;$1_1=$14_1+Math_imul($9_1,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$3_1=$1_1-20|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$11_1;$3_1=$1_1-12|0;if(HEAP32[$3_1>>2]<($6_1|0)){HEAP32[$3_1>>2]=$6_1}HEAP32[$1_1-4>>2]=$11_1;break label$212}$1_1=HEAPU16[$2_1-2>>1];$3_1=$1_1<<16>>16;if(($3_1|0)>0){HEAP16[$2_1>>1]=$3_1;$1_1=$14_1+Math_imul($1_1,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$3_1=$1_1-20|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$11_1;$1_1=$1_1-12|0;if(HEAP32[$1_1>>2]>=($6_1|0)){break label$212}HEAP32[$1_1>>2]=$6_1;break label$212}if(($0_1|0)>=32768){$5(0,3,1524,0);$9_1=-1;break label$203}$1_1=$0_1+1|0;HEAP16[$2_1>>1]=$1_1;HEAP32[$4_1+($0_1<<2)>>2]=$1_1<<16>>16;$0_1=$14_1+Math_imul($0_1,28)|0;HEAP32[$0_1+24>>2]=$11_1;HEAP32[$0_1+20>>2]=$11_1;HEAP32[$0_1+16>>2]=$6_1;HEAP32[$0_1+12>>2]=$6_1;HEAP32[$0_1+8>>2]=$11_1;HEAP32[$0_1+4>>2]=$6_1;HEAP32[$0_1>>2]=1;$0_1=$1_1;break label$212}HEAP16[$2_1>>1]=0;break label$212}$2_1=$2_1+4|0;$10_1=$17_1+2|0;$11_1=$11_1+1|0;continue label$209}$1_1=$14_1+Math_imul($1_1<<16>>16,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$1_1=$1_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;break label$212}$1_1=$14_1+Math_imul($1_1<<16>>16,28)|0;HEAP32[$1_1-4>>2]=$11_1;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$1_1=$1_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1}$2_1=$2_1+2|0;$10_1=$10_1+1|0;$6_1=$6_1+1|0;continue}}break}$1_1=(($0_1|0)>0?$0_1:0)+1|0;$3_1=1;$10_1=1;$6_1=$4_1;while(1){if(($1_1|0)!=($3_1|0)){$2_1=HEAP32[$6_1>>2];label$240:{if(($2_1|0)==($3_1|0)){$9_1=$10_1;$10_1=$9_1+1|0;break label$240}$9_1=HEAP32[($4_1+($2_1<<2)|0)-4>>2]}HEAP32[$6_1>>2]=$9_1;$6_1=$6_1+4|0;$3_1=$3_1+1|0;continue}break}$6_1=$10_1-1|0;HEAP32[$7_1+8>>2]=$6_1;$9_1=0;if(!$6_1){break label$203}$1_1=$7_1+131084|0;$5_1=$7_1+12|0;wasm2js_memory_fill($5_1,0,$6_1<<2);$10_1=$7_1+655376|0;wasm2js_memory_fill($10_1,0,$6_1<<4);$3_1=0;while(1)if(($3_1|0)>=($6_1|0)){$6_1=0;$3_1=($0_1|0)>0?$0_1:0;while(1){if(($3_1|0)==($6_1|0)){$9_1=0;$0_1=HEAP32[$7_1+8>>2];$1_1=($0_1|0)>0?$0_1:0;$3_1=0;while(1){if(($1_1|0)==($3_1|0)){break label$203}$0_1=$10_1+($3_1<<4)|0;$19_1=+HEAP32[$5_1+($3_1<<2)>>2];HEAPF64[$0_1>>3]=HEAPF64[$0_1>>3]/$19_1;HEAPF64[$0_1+8>>3]=HEAPF64[$0_1+8>>3]/$19_1;$3_1=$3_1+1|0;continue}}$2_1=HEAP32[$4_1+($6_1<<2)>>2]-1|0;$8_1=$2_1<<2;$0_1=$8_1+$5_1|0;$9_1=$0_1;$12_1=HEAP32[$0_1>>2];$0_1=$14_1+Math_imul($6_1,28)|0;HEAP32[$9_1>>2]=$12_1+HEAP32[$0_1>>2];$9_1=$2_1<<4;$2_1=$9_1+$10_1|0;HEAPF64[$2_1>>3]=HEAPF64[$2_1>>3]+ +HEAP32[$0_1+4>>2];HEAPF64[$2_1+8>>3]=HEAPF64[$2_1+8>>3]+ +HEAP32[$0_1+8>>2];$2_1=$1_1+$9_1|0;$9_1=HEAP32[$0_1+12>>2];if(HEAP32[$2_1>>2]>($9_1|0)){HEAP32[$2_1>>2]=$9_1}$9_1=HEAP32[$0_1+16>>2];$2_1=$8_1<<2;$8_1=$1_1+($2_1|4)|0;if(($9_1|0)>HEAP32[$8_1>>2]){HEAP32[$8_1>>2]=$9_1}$9_1=HEAP32[$0_1+20>>2];$8_1=$1_1+($2_1|8)|0;if(($9_1|0)>2]){HEAP32[$8_1>>2]=$9_1}$0_1=HEAP32[$0_1+24>>2];$2_1=$1_1+($2_1|12)|0;if(($0_1|0)>HEAP32[$2_1>>2]){HEAP32[$2_1>>2]=$0_1}$6_1=$6_1+1|0;continue}}else{$2_1=$1_1+($3_1<<4)|0;HEAP32[$2_1>>2]=$8_1;HEAP32[$2_1+4>>2]=0;HEAP32[$2_1+8>>2]=$13_1;HEAP32[$2_1+12>>2]=0;$3_1=$3_1+1|0;$6_1=HEAP32[$7_1+8>>2];continue}}return $9_1}$6_1=$0_1;$12_1=$1_1;$11_1=($1_1|0)/2|0;$3_1=($11_1|0)>0?$11_1:0;$0_1=HEAP32[$7_1>>2];$15_1=($2_1|0)/2|0;$2_1=$15_1-1|0;$9_1=$0_1+(Math_imul($2_1,$11_1)<<1)|0;$1_1=0;$4_1=$0_1;while(1){if(($1_1|0)!=($3_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$4_1>>1]=0;$1_1=$1_1+1|0;$4_1=$4_1+2|0;$9_1=$9_1+2|0;continue}break}$8_1=($15_1|0)>0?$15_1:0;$3_1=$11_1-1|0;$9_1=$0_1+($3_1<<1)|0;$1_1=0;$4_1=$0_1;while(1){if(($1_1|0)!=($8_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$4_1>>1]=0;$1_1=$1_1+1|0;$10_1=$11_1<<1;$9_1=$10_1+$9_1|0;$4_1=$4_1+$10_1|0;continue}break}$20_1=($2_1|0)>1?$2_1:1;$21_1=($3_1|0)>1?$3_1:1;$13_1=$7_1+1310736|0;$3_1=$7_1+1179664|0;$6_1=($6_1+($12_1<<1)|0)+2|0;$4_1=($0_1+($11_1<<1)|0)+2|0;$22_1=0-$11_1<<1;$10_1=0;$14_1=1;label$252:{label$258:while(1){if(($14_1|0)!=($20_1|0)){$9_1=1;while(1){label$261:{label$262:{label$263:{if(($9_1|0)!=($21_1|0)){if(HEAPU8[$6_1|0]>($5_1|0)){$0_1=$4_1+$22_1|0;$1_1=HEAPU16[$0_1>>1];$2_1=$1_1<<16>>16;if(($2_1|0)>0){HEAP16[$4_1>>1]=$2_1;$0_1=$13_1+Math_imul($1_1,28)|0;HEAP32[$0_1-4>>2]=$14_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$14_1;break label$261}$8_1=HEAPU16[$0_1-2>>1];$1_1=$8_1<<16>>16;$0_1=HEAP16[$0_1+2>>1];if(($0_1|0)>0){if(($1_1|0)>0){$2_1=HEAP32[($3_1+($0_1<<2)|0)-4>>2];$8_1=HEAP32[($3_1+($8_1<<2)|0)-4>>2];if(($2_1|0)>($8_1|0)){HEAP16[$4_1>>1]=$8_1;$0_1=0;$17_1=($10_1|0)>0?$10_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($17_1|0)){$2_1=$8_1;break label$262}if(HEAP32[$1_1>>2]==($2_1|0)){HEAP32[$1_1>>2]=$8_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}HEAP16[$4_1>>1]=$2_1;if(($2_1|0)>=($8_1|0)){break label$262}$0_1=0;$17_1=($10_1|0)>0?$10_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($17_1|0)){break label$262}if(($8_1|0)==HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=$2_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}$1_1=HEAP16[$4_1-2>>1];if(($1_1|0)>0){$2_1=HEAP32[($3_1+($0_1<<2)|0)-4>>2];$8_1=HEAP32[($3_1+(($1_1&65535)<<2)|0)-4>>2];if(($2_1|0)>($8_1|0)){HEAP16[$4_1>>1]=$8_1;$0_1=0;$17_1=($10_1|0)>0?$10_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($17_1|0)){$2_1=$8_1;break label$263}if(HEAP32[$1_1>>2]==($2_1|0)){HEAP32[$1_1>>2]=$8_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}HEAP16[$4_1>>1]=$2_1;if(($2_1|0)>=($8_1|0)){break label$263}$0_1=0;$17_1=($10_1|0)>0?$10_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($17_1|0)){break label$263}if(($8_1|0)==HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=$2_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}HEAP16[$4_1>>1]=$0_1;$0_1=$13_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$14_1;$1_1=$0_1-16|0;if(HEAP32[$1_1>>2]>($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$14_1;break label$261}if(($1_1|0)>0){HEAP16[$4_1>>1]=$1_1;$0_1=$13_1+Math_imul($8_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$14_1;$1_1=$0_1-12|0;if(HEAP32[$1_1>>2]<($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$14_1;break label$261}$0_1=HEAPU16[$4_1-2>>1];$1_1=$0_1<<16>>16;if(($1_1|0)>0){HEAP16[$4_1>>1]=$1_1;$0_1=$13_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$14_1;$0_1=$0_1-12|0;if(HEAP32[$0_1>>2]>=($9_1|0)){break label$261}HEAP32[$0_1>>2]=$9_1;break label$261}if(($10_1|0)>=32768){$5(0,3,1524,0);$0_1=-1;break label$252}$0_1=$10_1+1|0;HEAP16[$4_1>>1]=$0_1;HEAP32[$3_1+($10_1<<2)>>2]=$0_1<<16>>16;$1_1=$13_1+Math_imul($10_1,28)|0;HEAP32[$1_1+24>>2]=$14_1;HEAP32[$1_1+20>>2]=$14_1;HEAP32[$1_1+16>>2]=$9_1;HEAP32[$1_1+12>>2]=$9_1;HEAP32[$1_1+8>>2]=$14_1;HEAP32[$1_1+4>>2]=$9_1;HEAP32[$1_1>>2]=1;$10_1=$0_1;break label$261}HEAP16[$4_1>>1]=0;break label$261}$4_1=$4_1+4|0;$14_1=$14_1+1|0;$6_1=($6_1+$12_1|0)+4|0;continue label$258}$0_1=$13_1+Math_imul($2_1<<16>>16,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$14_1;break label$261}$0_1=$13_1+Math_imul($2_1<<16>>16,28)|0;HEAP32[$0_1-4>>2]=$14_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$14_1}$4_1=$4_1+2|0;$6_1=$6_1+2|0;$9_1=$9_1+1|0;continue}}break}$2_1=(($10_1|0)>0?$10_1:0)+1|0;$1_1=1;$6_1=1;$9_1=$3_1;while(1){if(($1_1|0)!=($2_1|0)){$0_1=HEAP32[$9_1>>2];label$289:{if(($0_1|0)==($1_1|0)){$0_1=$6_1;$6_1=$0_1+1|0;break label$289}$0_1=HEAP32[($3_1+($0_1<<2)|0)-4>>2]}HEAP32[$9_1>>2]=$0_1;$9_1=$9_1+4|0;$1_1=$1_1+1|0;continue}break}$9_1=$6_1-1|0;HEAP32[$7_1+8>>2]=$9_1;$0_1=0;if(!$9_1){break label$252}$2_1=$7_1+131084|0;$4_1=$7_1+12|0;wasm2js_memory_fill($4_1,0,$9_1<<2);$5_1=$7_1+655376|0;wasm2js_memory_fill($5_1,0,$9_1<<4);$1_1=0;while(1)if(($1_1|0)>=($9_1|0)){$9_1=0;$6_1=($10_1|0)>0?$10_1:0;while(1){if(($6_1|0)==($9_1|0)){$0_1=0;$1_1=HEAP32[$7_1+8>>2];$3_1=($1_1|0)>0?$1_1:0;$1_1=0;while(1){if(($1_1|0)==($3_1|0)){break label$252}$2_1=$5_1+($1_1<<4)|0;$19_1=+HEAP32[$4_1+($1_1<<2)>>2];HEAPF64[$2_1>>3]=HEAPF64[$2_1>>3]/$19_1;HEAPF64[$2_1+8>>3]=HEAPF64[$2_1+8>>3]/$19_1;$1_1=$1_1+1|0;continue}}$1_1=HEAP32[$3_1+($9_1<<2)>>2]-1|0;$8_1=$1_1<<2;$0_1=$8_1+$4_1|0;$10_1=$0_1;$12_1=HEAP32[$0_1>>2];$0_1=$13_1+Math_imul($9_1,28)|0;HEAP32[$10_1>>2]=$12_1+HEAP32[$0_1>>2];$10_1=$1_1<<4;$1_1=$10_1+$5_1|0;HEAPF64[$1_1>>3]=HEAPF64[$1_1>>3]+ +HEAP32[$0_1+4>>2];HEAPF64[$1_1+8>>3]=HEAPF64[$1_1+8>>3]+ +HEAP32[$0_1+8>>2];$1_1=$2_1+$10_1|0;$10_1=HEAP32[$0_1+12>>2];if(HEAP32[$1_1>>2]>($10_1|0)){HEAP32[$1_1>>2]=$10_1}$10_1=HEAP32[$0_1+16>>2];$1_1=$8_1<<2;$8_1=$2_1+($1_1|4)|0;if(($10_1|0)>HEAP32[$8_1>>2]){HEAP32[$8_1>>2]=$10_1}$10_1=HEAP32[$0_1+20>>2];$8_1=$2_1+($1_1|8)|0;if(($10_1|0)>2]){HEAP32[$8_1>>2]=$10_1}$0_1=HEAP32[$0_1+24>>2];$1_1=$2_1+($1_1|12)|0;if(($0_1|0)>HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=$0_1}$9_1=$9_1+1|0;continue}}else{$0_1=$2_1+($1_1<<4)|0;HEAP32[$0_1>>2]=$11_1;HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+8>>2]=$15_1;HEAP32[$0_1+12>>2]=0;$1_1=$1_1+1|0;$9_1=HEAP32[$7_1+8>>2];continue}}break folding_inner0}if(($4_1|0)==1){if($8_1){$10_1=$0_1;$3_1=0;$4_1=($1_1|0)>0?$1_1:0;$12_1=$2_1;$5_1=$7_1;$0_1=HEAP32[$7_1>>2];$6_1=$1_1;$1_1=$2_1-1|0;$9_1=$0_1+(Math_imul($6_1,$1_1)<<1)|0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$2_1=$2_1+2|0;$9_1=$9_1+2|0;continue}break}$4_1=($12_1|0)>0?$12_1:0;$13_1=$6_1-1|0;$9_1=$0_1+($13_1<<1)|0;$3_1=0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$7_1=$6_1<<1;$9_1=$7_1+$9_1|0;$2_1=$2_1+$7_1|0;continue}break}$21_1=($1_1|0)>1?$1_1:1;$15_1=$5_1+1310736|0;$4_1=$5_1+1179664|0;$1_1=$6_1+1|0;$7_1=$1_1+$8_1|0;$14_1=$1_1+$10_1|0;$11_1=$1_1+HEAP32[$5_1+4>>2]|0;$22_1=($13_1|0)>1?$13_1:1;$20_1=$22_1-1|0;$2_1=$0_1+($1_1<<1)|0;$17_1=0-$6_1<<1;$8_1=0;$13_1=1;label$303:{label$309:while(1){if(($13_1|0)!=($21_1|0)){$16_1=$14_1+$20_1|0;$18_1=$7_1+$20_1|0;$9_1=1;while(1){label$312:{label$313:{label$314:{if(($9_1|0)!=($22_1|0)){if(HEAPU8[$14_1|0]<=HEAPU8[$7_1|0]){HEAP8[$11_1|0]=255;$0_1=$2_1+$17_1|0;$1_1=HEAPU16[$0_1>>1];$3_1=$1_1<<16>>16;if(($3_1|0)>0){HEAP16[$2_1>>1]=$3_1;$0_1=$15_1+Math_imul($1_1,28)|0;HEAP32[$0_1-4>>2]=$13_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$13_1;break label$312}$3_1=HEAPU16[$0_1-2>>1];$1_1=$3_1<<16>>16;$0_1=HEAP16[$0_1+2>>1];if(($0_1|0)>0){if(($1_1|0)>0){$1_1=HEAP32[($4_1+($0_1<<2)|0)-4>>2];$10_1=HEAP32[($4_1+($3_1<<2)|0)-4>>2];if(($1_1|0)>($10_1|0)){HEAP16[$2_1>>1]=$10_1;$0_1=0;$23_1=($8_1|0)>0?$8_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($23_1|0)){$1_1=$10_1;break label$313}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$10_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($10_1|0)){break label$313}$0_1=0;$23_1=($8_1|0)>0?$8_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($23_1|0)){break label$313}if(($10_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}$3_1=HEAP16[$2_1-2>>1];if(($3_1|0)>0){$1_1=HEAP32[($4_1+($0_1<<2)|0)-4>>2];$10_1=HEAP32[($4_1+(($3_1&65535)<<2)|0)-4>>2];if(($1_1|0)>($10_1|0)){HEAP16[$2_1>>1]=$10_1;$0_1=0;$23_1=($8_1|0)>0?$8_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($23_1|0)){$1_1=$10_1;break label$314}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$10_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($10_1|0)){break label$314}$0_1=0;$23_1=($8_1|0)>0?$8_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($23_1|0)){break label$314}if(($10_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$0_1;$0_1=$15_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$13_1;$1_1=$0_1-16|0;if(HEAP32[$1_1>>2]>($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$13_1;break label$312}if(($1_1|0)>0){HEAP16[$2_1>>1]=$1_1;$0_1=$15_1+Math_imul($3_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$13_1;$1_1=$0_1-12|0;if(HEAP32[$1_1>>2]<($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$13_1;break label$312}$0_1=HEAPU16[$2_1-2>>1];$1_1=$0_1<<16>>16;if(($1_1|0)>0){HEAP16[$2_1>>1]=$1_1;$0_1=$15_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$13_1;$0_1=$0_1-12|0;if(HEAP32[$0_1>>2]>=($9_1|0)){break label$312}HEAP32[$0_1>>2]=$9_1;break label$312}if(($8_1|0)>=32768){$5(0,3,1524,0);$0_1=-1;break label$303}$0_1=$8_1+1|0;HEAP16[$2_1>>1]=$0_1;HEAP32[$4_1+($8_1<<2)>>2]=$0_1<<16>>16;$1_1=$15_1+Math_imul($8_1,28)|0;HEAP32[$1_1+24>>2]=$13_1;HEAP32[$1_1+20>>2]=$13_1;HEAP32[$1_1+16>>2]=$9_1;HEAP32[$1_1+12>>2]=$9_1;HEAP32[$1_1+8>>2]=$13_1;HEAP32[$1_1+4>>2]=$9_1;HEAP32[$1_1>>2]=1;$8_1=$0_1;break label$312}HEAP16[$2_1>>1]=0;HEAP8[$11_1|0]=0;break label$312}$11_1=$11_1+2|0;$2_1=$2_1+4|0;$7_1=$18_1+2|0;$14_1=$16_1+2|0;$13_1=$13_1+1|0;continue label$309}$0_1=$15_1+Math_imul($1_1<<16>>16,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$13_1;break label$312}$0_1=$15_1+Math_imul($1_1<<16>>16,28)|0;HEAP32[$0_1-4>>2]=$13_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$13_1}$11_1=$11_1+1|0;$2_1=$2_1+2|0;$7_1=$7_1+1|0;$14_1=$14_1+1|0;$9_1=$9_1+1|0;continue}}break}$1_1=(($8_1|0)>0?$8_1:0)+1|0;$3_1=1;$7_1=1;$9_1=$4_1;while(1){if(($1_1|0)!=($3_1|0)){$0_1=HEAP32[$9_1>>2];label$340:{if(($0_1|0)==($3_1|0)){$0_1=$7_1;$7_1=$0_1+1|0;break label$340}$0_1=HEAP32[($4_1+($0_1<<2)|0)-4>>2]}HEAP32[$9_1>>2]=$0_1;$9_1=$9_1+4|0;$3_1=$3_1+1|0;continue}break}$9_1=$7_1-1|0;HEAP32[$5_1+8>>2]=$9_1;$0_1=0;if(!$9_1){break label$303}$1_1=$5_1+131084|0;$7_1=$5_1+12|0;wasm2js_memory_fill($7_1,0,$9_1<<2);$10_1=$5_1+655376|0;wasm2js_memory_fill($10_1,0,$9_1<<4);$3_1=0;while(1)if(($3_1|0)>=($9_1|0)){$9_1=0;$3_1=($8_1|0)>0?$8_1:0;while(1){if(($3_1|0)==($9_1|0)){$0_1=0;$1_1=HEAP32[$5_1+8>>2];$2_1=($1_1|0)>0?$1_1:0;$3_1=0;while(1){if(($2_1|0)==($3_1|0)){break label$303}$1_1=$10_1+($3_1<<4)|0;$19_1=+HEAP32[$7_1+($3_1<<2)>>2];HEAPF64[$1_1>>3]=HEAPF64[$1_1>>3]/$19_1;HEAPF64[$1_1+8>>3]=HEAPF64[$1_1+8>>3]/$19_1;$3_1=$3_1+1|0;continue}}$2_1=HEAP32[$4_1+($9_1<<2)>>2]-1|0;$6_1=$2_1<<2;$0_1=$6_1+$7_1|0;$8_1=$0_1;$12_1=HEAP32[$0_1>>2];$0_1=$15_1+Math_imul($9_1,28)|0;HEAP32[$8_1>>2]=$12_1+HEAP32[$0_1>>2];$8_1=$2_1<<4;$2_1=$8_1+$10_1|0;HEAPF64[$2_1>>3]=HEAPF64[$2_1>>3]+ +HEAP32[$0_1+4>>2];HEAPF64[$2_1+8>>3]=HEAPF64[$2_1+8>>3]+ +HEAP32[$0_1+8>>2];$2_1=$1_1+$8_1|0;$8_1=HEAP32[$0_1+12>>2];if(HEAP32[$2_1>>2]>($8_1|0)){HEAP32[$2_1>>2]=$8_1}$8_1=HEAP32[$0_1+16>>2];$2_1=$6_1<<2;$6_1=$1_1+($2_1|4)|0;if(($8_1|0)>HEAP32[$6_1>>2]){HEAP32[$6_1>>2]=$8_1}$8_1=HEAP32[$0_1+20>>2];$6_1=$1_1+($2_1|8)|0;if(($8_1|0)>2]){HEAP32[$6_1>>2]=$8_1}$0_1=HEAP32[$0_1+24>>2];$2_1=$1_1+($2_1|12)|0;if(($0_1|0)>HEAP32[$2_1>>2]){HEAP32[$2_1>>2]=$0_1}$9_1=$9_1+1|0;continue}}else{$0_1=$1_1+($3_1<<4)|0;HEAP32[$0_1>>2]=$6_1;HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+8>>2]=$12_1;HEAP32[$0_1+12>>2]=0;$3_1=$3_1+1|0;$9_1=HEAP32[$5_1+8>>2];continue}}break folding_inner0}if(!$6_1){$9_1=$0_1;$3_1=0;$4_1=($1_1|0)>0?$1_1:0;$13_1=$2_1;$8_1=$7_1;$0_1=HEAP32[$8_1>>2];$10_1=$1_1;$1_1=$2_1-1|0;$6_1=$0_1+(Math_imul($10_1,$1_1)<<1)|0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$6_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$2_1=$2_1+2|0;$6_1=$6_1+2|0;continue}break}$4_1=($13_1|0)>0?$13_1:0;$12_1=$10_1-1|0;$6_1=$0_1+($12_1<<1)|0;$3_1=0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$6_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$7_1=$10_1<<1;$6_1=$7_1+$6_1|0;$2_1=$2_1+$7_1|0;continue}break}$20_1=($1_1|0)>1?$1_1:1;$15_1=$8_1+1310736|0;$4_1=$8_1+1179664|0;$1_1=$10_1+1|0;$7_1=$1_1+$9_1|0;$14_1=$1_1+HEAP32[$8_1+4>>2]|0;$21_1=($12_1|0)>1?$12_1:1;$22_1=$21_1-1|0;$2_1=$0_1+($1_1<<1)|0;$17_1=0-$10_1<<1;$0_1=0;$11_1=1;label$353:{label$359:while(1){if(($11_1|0)!=($20_1|0)){$16_1=$7_1+$22_1|0;$6_1=1;while(1){label$362:{label$363:{label$364:{if(($6_1|0)!=($21_1|0)){if(HEAPU8[$7_1|0]<=($5_1|0)){HEAP8[$14_1|0]=255;$1_1=$2_1+$17_1|0;$3_1=HEAPU16[$1_1>>1];$9_1=$3_1<<16>>16;if(($9_1|0)>0){HEAP16[$2_1>>1]=$9_1;$1_1=$15_1+Math_imul($3_1,28)|0;HEAP32[$1_1-4>>2]=$11_1;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$1_1=$1_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;break label$362}$9_1=HEAPU16[$1_1-2>>1];$3_1=$9_1<<16>>16;$1_1=HEAP16[$1_1+2>>1];if(($1_1|0)>0){if(($3_1|0)>0){$1_1=HEAP32[($4_1+($1_1<<2)|0)-4>>2];$12_1=HEAP32[($4_1+($9_1<<2)|0)-4>>2];if(($1_1|0)>($12_1|0)){HEAP16[$2_1>>1]=$12_1;$9_1=0;$18_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($18_1|0)){$1_1=$12_1;break label$363}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$12_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($12_1|0)){break label$363}$9_1=0;$18_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($18_1|0)){break label$363}if(($12_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}$3_1=HEAP16[$2_1-2>>1];if(($3_1|0)>0){$1_1=HEAP32[($4_1+($1_1<<2)|0)-4>>2];$12_1=HEAP32[($4_1+(($3_1&65535)<<2)|0)-4>>2];if(($1_1|0)>($12_1|0)){HEAP16[$2_1>>1]=$12_1;$9_1=0;$18_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($18_1|0)){$1_1=$12_1;break label$364}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$12_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($12_1|0)){break label$364}$9_1=0;$18_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($18_1|0)){break label$364}if(($12_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;$1_1=$15_1+Math_imul($1_1,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$3_1=$1_1-20|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$11_1;$3_1=$1_1-16|0;if(HEAP32[$3_1>>2]>($6_1|0)){HEAP32[$3_1>>2]=$6_1}HEAP32[$1_1-4>>2]=$11_1;break label$362}if(($3_1|0)>0){HEAP16[$2_1>>1]=$3_1;$1_1=$15_1+Math_imul($9_1,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$3_1=$1_1-20|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$11_1;$3_1=$1_1-12|0;if(HEAP32[$3_1>>2]<($6_1|0)){HEAP32[$3_1>>2]=$6_1}HEAP32[$1_1-4>>2]=$11_1;break label$362}$1_1=HEAPU16[$2_1-2>>1];$3_1=$1_1<<16>>16;if(($3_1|0)>0){HEAP16[$2_1>>1]=$3_1;$1_1=$15_1+Math_imul($1_1,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$3_1=$1_1-20|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$11_1;$1_1=$1_1-12|0;if(HEAP32[$1_1>>2]>=($6_1|0)){break label$362}HEAP32[$1_1>>2]=$6_1;break label$362}if(($0_1|0)>=32768){$5(0,3,1524,0);$9_1=-1;break label$353}$1_1=$0_1+1|0;HEAP16[$2_1>>1]=$1_1;HEAP32[$4_1+($0_1<<2)>>2]=$1_1<<16>>16;$0_1=$15_1+Math_imul($0_1,28)|0;HEAP32[$0_1+24>>2]=$11_1;HEAP32[$0_1+20>>2]=$11_1;HEAP32[$0_1+16>>2]=$6_1;HEAP32[$0_1+12>>2]=$6_1;HEAP32[$0_1+8>>2]=$11_1;HEAP32[$0_1+4>>2]=$6_1;HEAP32[$0_1>>2]=1;$0_1=$1_1;break label$362}HEAP16[$2_1>>1]=0;HEAP8[$14_1|0]=0;break label$362}$14_1=$14_1+2|0;$2_1=$2_1+4|0;$7_1=$16_1+2|0;$11_1=$11_1+1|0;continue label$359}$1_1=$15_1+Math_imul($1_1<<16>>16,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$1_1=$1_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;break label$362}$1_1=$15_1+Math_imul($1_1<<16>>16,28)|0;HEAP32[$1_1-4>>2]=$11_1;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$1_1=$1_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1}$14_1=$14_1+1|0;$2_1=$2_1+2|0;$7_1=$7_1+1|0;$6_1=$6_1+1|0;continue}}break}$1_1=(($0_1|0)>0?$0_1:0)+1|0;$3_1=1;$7_1=1;$6_1=$4_1;while(1){if(($1_1|0)!=($3_1|0)){$2_1=HEAP32[$6_1>>2];label$390:{if(($2_1|0)==($3_1|0)){$9_1=$7_1;$7_1=$9_1+1|0;break label$390}$9_1=HEAP32[($4_1+($2_1<<2)|0)-4>>2]}HEAP32[$6_1>>2]=$9_1;$6_1=$6_1+4|0;$3_1=$3_1+1|0;continue}break}$6_1=$7_1-1|0;HEAP32[$8_1+8>>2]=$6_1;$9_1=0;if(!$6_1){break label$353}$1_1=$8_1+131084|0;$5_1=$8_1+12|0;wasm2js_memory_fill($5_1,0,$6_1<<2);$7_1=$8_1+655376|0;wasm2js_memory_fill($7_1,0,$6_1<<4);$3_1=0;while(1)if(($3_1|0)>=($6_1|0)){$6_1=0;$3_1=($0_1|0)>0?$0_1:0;while(1){if(($3_1|0)==($6_1|0)){$9_1=0;$0_1=HEAP32[$8_1+8>>2];$1_1=($0_1|0)>0?$0_1:0;$3_1=0;while(1){if(($1_1|0)==($3_1|0)){break label$353}$0_1=$7_1+($3_1<<4)|0;$19_1=+HEAP32[$5_1+($3_1<<2)>>2];HEAPF64[$0_1>>3]=HEAPF64[$0_1>>3]/$19_1;HEAPF64[$0_1+8>>3]=HEAPF64[$0_1+8>>3]/$19_1;$3_1=$3_1+1|0;continue}}$2_1=HEAP32[$4_1+($6_1<<2)>>2]-1|0;$9_1=$2_1<<2;$0_1=$9_1+$5_1|0;$10_1=$0_1;$12_1=HEAP32[$0_1>>2];$0_1=$15_1+Math_imul($6_1,28)|0;HEAP32[$10_1>>2]=$12_1+HEAP32[$0_1>>2];$10_1=$2_1<<4;$2_1=$10_1+$7_1|0;HEAPF64[$2_1>>3]=HEAPF64[$2_1>>3]+ +HEAP32[$0_1+4>>2];HEAPF64[$2_1+8>>3]=HEAPF64[$2_1+8>>3]+ +HEAP32[$0_1+8>>2];$2_1=$1_1+$10_1|0;$10_1=HEAP32[$0_1+12>>2];if(HEAP32[$2_1>>2]>($10_1|0)){HEAP32[$2_1>>2]=$10_1}$10_1=HEAP32[$0_1+16>>2];$2_1=$9_1<<2;$9_1=$1_1+($2_1|4)|0;if(($10_1|0)>HEAP32[$9_1>>2]){HEAP32[$9_1>>2]=$10_1}$10_1=HEAP32[$0_1+20>>2];$9_1=$1_1+($2_1|8)|0;if(($10_1|0)>2]){HEAP32[$9_1>>2]=$10_1}$0_1=HEAP32[$0_1+24>>2];$2_1=$1_1+($2_1|12)|0;if(($0_1|0)>HEAP32[$2_1>>2]){HEAP32[$2_1>>2]=$0_1}$6_1=$6_1+1|0;continue}}else{$2_1=$1_1+($3_1<<4)|0;HEAP32[$2_1>>2]=$10_1;HEAP32[$2_1+4>>2]=0;HEAP32[$2_1+8>>2]=$13_1;HEAP32[$2_1+12>>2]=0;$3_1=$3_1+1|0;$6_1=HEAP32[$8_1+8>>2];continue}}return $9_1}$6_1=$0_1;$12_1=$1_1;$15_1=($1_1|0)/2|0;$3_1=($15_1|0)>0?$15_1:0;$0_1=HEAP32[$7_1>>2];$20_1=($2_1|0)/2|0;$2_1=$20_1-1|0;$9_1=$0_1+(Math_imul($2_1,$15_1)<<1)|0;$1_1=0;$4_1=$0_1;while(1){if(($1_1|0)!=($3_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$4_1>>1]=0;$1_1=$1_1+1|0;$4_1=$4_1+2|0;$9_1=$9_1+2|0;continue}break}$8_1=($20_1|0)>0?$20_1:0;$3_1=$15_1-1|0;$9_1=$0_1+($3_1<<1)|0;$1_1=0;$4_1=$0_1;while(1){if(($1_1|0)!=($8_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$4_1>>1]=0;$1_1=$1_1+1|0;$10_1=$15_1<<1;$9_1=$10_1+$9_1|0;$4_1=$4_1+$10_1|0;continue}break}$21_1=($2_1|0)>1?$2_1:1;$22_1=($3_1|0)>1?$3_1:1;$14_1=$7_1+1310736|0;$3_1=$7_1+1179664|0;$1_1=$15_1+1|0;$10_1=$1_1+HEAP32[$7_1+4>>2]|0;$13_1=($6_1+($12_1<<1)|0)+2|0;$4_1=$0_1+($1_1<<1)|0;$17_1=0-$15_1<<1;$6_1=0;$11_1=1;label$402:{label$408:while(1){if(($11_1|0)!=($21_1|0)){$9_1=1;while(1){label$411:{label$412:{label$413:{if(($9_1|0)!=($22_1|0)){if(HEAPU8[$13_1|0]<=($5_1|0)){HEAP8[$10_1|0]=255;$0_1=$4_1+$17_1|0;$1_1=HEAPU16[$0_1>>1];$2_1=$1_1<<16>>16;if(($2_1|0)>0){HEAP16[$4_1>>1]=$2_1;$0_1=$14_1+Math_imul($1_1,28)|0;HEAP32[$0_1-4>>2]=$11_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$11_1;break label$411}$8_1=HEAPU16[$0_1-2>>1];$1_1=$8_1<<16>>16;$0_1=HEAP16[$0_1+2>>1];if(($0_1|0)>0){if(($1_1|0)>0){$2_1=HEAP32[($3_1+($0_1<<2)|0)-4>>2];$8_1=HEAP32[($3_1+($8_1<<2)|0)-4>>2];if(($2_1|0)>($8_1|0)){HEAP16[$4_1>>1]=$8_1;$0_1=0;$16_1=($6_1|0)>0?$6_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($16_1|0)){$2_1=$8_1;break label$412}if(HEAP32[$1_1>>2]==($2_1|0)){HEAP32[$1_1>>2]=$8_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}HEAP16[$4_1>>1]=$2_1;if(($2_1|0)>=($8_1|0)){break label$412}$0_1=0;$16_1=($6_1|0)>0?$6_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($16_1|0)){break label$412}if(($8_1|0)==HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=$2_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}$1_1=HEAP16[$4_1-2>>1];if(($1_1|0)>0){$2_1=HEAP32[($3_1+($0_1<<2)|0)-4>>2];$8_1=HEAP32[($3_1+(($1_1&65535)<<2)|0)-4>>2];if(($2_1|0)>($8_1|0)){HEAP16[$4_1>>1]=$8_1;$0_1=0;$16_1=($6_1|0)>0?$6_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($16_1|0)){$2_1=$8_1;break label$413}if(HEAP32[$1_1>>2]==($2_1|0)){HEAP32[$1_1>>2]=$8_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}HEAP16[$4_1>>1]=$2_1;if(($2_1|0)>=($8_1|0)){break label$413}$0_1=0;$16_1=($6_1|0)>0?$6_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($16_1|0)){break label$413}if(($8_1|0)==HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=$2_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}HEAP16[$4_1>>1]=$0_1;$0_1=$14_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;$1_1=$0_1-16|0;if(HEAP32[$1_1>>2]>($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$11_1;break label$411}if(($1_1|0)>0){HEAP16[$4_1>>1]=$1_1;$0_1=$14_1+Math_imul($8_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;$1_1=$0_1-12|0;if(HEAP32[$1_1>>2]<($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$11_1;break label$411}$0_1=HEAPU16[$4_1-2>>1];$1_1=$0_1<<16>>16;if(($1_1|0)>0){HEAP16[$4_1>>1]=$1_1;$0_1=$14_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;$0_1=$0_1-12|0;if(HEAP32[$0_1>>2]>=($9_1|0)){break label$411}HEAP32[$0_1>>2]=$9_1;break label$411}if(($6_1|0)>=32768){$5(0,3,1524,0);$0_1=-1;break label$402}$0_1=$6_1+1|0;HEAP16[$4_1>>1]=$0_1;HEAP32[$3_1+($6_1<<2)>>2]=$0_1<<16>>16;$1_1=$14_1+Math_imul($6_1,28)|0;HEAP32[$1_1+24>>2]=$11_1;HEAP32[$1_1+20>>2]=$11_1;HEAP32[$1_1+16>>2]=$9_1;HEAP32[$1_1+12>>2]=$9_1;HEAP32[$1_1+8>>2]=$11_1;HEAP32[$1_1+4>>2]=$9_1;HEAP32[$1_1>>2]=1;$6_1=$0_1;break label$411}HEAP16[$4_1>>1]=0;HEAP8[$10_1|0]=0;break label$411}$10_1=$10_1+2|0;$4_1=$4_1+4|0;$11_1=$11_1+1|0;$13_1=($13_1+$12_1|0)+4|0;continue label$408}$0_1=$14_1+Math_imul($2_1<<16>>16,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$11_1;break label$411}$0_1=$14_1+Math_imul($2_1<<16>>16,28)|0;HEAP32[$0_1-4>>2]=$11_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$11_1}$10_1=$10_1+1|0;$4_1=$4_1+2|0;$13_1=$13_1+2|0;$9_1=$9_1+1|0;continue}}break}$2_1=(($6_1|0)>0?$6_1:0)+1|0;$1_1=1;$10_1=1;$9_1=$3_1;while(1){if(($1_1|0)!=($2_1|0)){$0_1=HEAP32[$9_1>>2];label$439:{if(($0_1|0)==($1_1|0)){$0_1=$10_1;$10_1=$0_1+1|0;break label$439}$0_1=HEAP32[($3_1+($0_1<<2)|0)-4>>2]}HEAP32[$9_1>>2]=$0_1;$9_1=$9_1+4|0;$1_1=$1_1+1|0;continue}break}$9_1=$10_1-1|0;HEAP32[$7_1+8>>2]=$9_1;$0_1=0;if(!$9_1){break label$402}$2_1=$7_1+131084|0;$4_1=$7_1+12|0;wasm2js_memory_fill($4_1,0,$9_1<<2);$5_1=$7_1+655376|0;wasm2js_memory_fill($5_1,0,$9_1<<4);$1_1=0;while(1)if(($1_1|0)>=($9_1|0)){$9_1=0;$6_1=($6_1|0)>0?$6_1:0;while(1){if(($6_1|0)==($9_1|0)){$0_1=0;$1_1=HEAP32[$7_1+8>>2];$3_1=($1_1|0)>0?$1_1:0;$1_1=0;while(1){if(($1_1|0)==($3_1|0)){break label$402}$2_1=$5_1+($1_1<<4)|0;$19_1=+HEAP32[$4_1+($1_1<<2)>>2];HEAPF64[$2_1>>3]=HEAPF64[$2_1>>3]/$19_1;HEAPF64[$2_1+8>>3]=HEAPF64[$2_1+8>>3]/$19_1;$1_1=$1_1+1|0;continue}}$1_1=HEAP32[$3_1+($9_1<<2)>>2]-1|0;$8_1=$1_1<<2;$0_1=$8_1+$4_1|0;$10_1=$0_1;$12_1=HEAP32[$0_1>>2];$0_1=$14_1+Math_imul($9_1,28)|0;HEAP32[$10_1>>2]=$12_1+HEAP32[$0_1>>2];$10_1=$1_1<<4;$1_1=$10_1+$5_1|0;HEAPF64[$1_1>>3]=HEAPF64[$1_1>>3]+ +HEAP32[$0_1+4>>2];HEAPF64[$1_1+8>>3]=HEAPF64[$1_1+8>>3]+ +HEAP32[$0_1+8>>2];$1_1=$2_1+$10_1|0;$10_1=HEAP32[$0_1+12>>2];if(HEAP32[$1_1>>2]>($10_1|0)){HEAP32[$1_1>>2]=$10_1}$10_1=HEAP32[$0_1+16>>2];$1_1=$8_1<<2;$8_1=$2_1+($1_1|4)|0;if(($10_1|0)>HEAP32[$8_1>>2]){HEAP32[$8_1>>2]=$10_1}$10_1=HEAP32[$0_1+20>>2];$8_1=$2_1+($1_1|8)|0;if(($10_1|0)>2]){HEAP32[$8_1>>2]=$10_1}$0_1=HEAP32[$0_1+24>>2];$1_1=$2_1+($1_1|12)|0;if(($0_1|0)>HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=$0_1}$9_1=$9_1+1|0;continue}}else{$0_1=$2_1+($1_1<<4)|0;HEAP32[$0_1>>2]=$15_1;HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+8>>2]=$20_1;HEAP32[$0_1+12>>2]=0;$1_1=$1_1+1|0;$9_1=HEAP32[$7_1+8>>2];continue}}break folding_inner0}if($8_1){$10_1=$0_1;$3_1=0;$4_1=($1_1|0)>0?$1_1:0;$12_1=$2_1;$5_1=$7_1;$0_1=HEAP32[$7_1>>2];$6_1=$1_1;$1_1=$2_1-1|0;$9_1=$0_1+(Math_imul($6_1,$1_1)<<1)|0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$2_1=$2_1+2|0;$9_1=$9_1+2|0;continue}break}$4_1=($12_1|0)>0?$12_1:0;$13_1=$6_1-1|0;$9_1=$0_1+($13_1<<1)|0;$3_1=0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$7_1=$6_1<<1;$9_1=$7_1+$9_1|0;$2_1=$2_1+$7_1|0;continue}break}$21_1=($1_1|0)>1?$1_1:1;$15_1=$5_1+1310736|0;$4_1=$5_1+1179664|0;$1_1=$6_1+1|0;$7_1=$1_1+$8_1|0;$14_1=$1_1+$10_1|0;$11_1=$1_1+HEAP32[$5_1+4>>2]|0;$22_1=($13_1|0)>1?$13_1:1;$20_1=$22_1-1|0;$2_1=$0_1+($1_1<<1)|0;$17_1=0-$6_1<<1;$8_1=0;$13_1=1;label$452:{label$458:while(1){if(($13_1|0)!=($21_1|0)){$16_1=$14_1+$20_1|0;$18_1=$7_1+$20_1|0;$9_1=1;while(1){label$461:{label$462:{label$463:{if(($9_1|0)!=($22_1|0)){if(HEAPU8[$14_1|0]>HEAPU8[$7_1|0]){HEAP8[$11_1|0]=255;$0_1=$2_1+$17_1|0;$1_1=HEAPU16[$0_1>>1];$3_1=$1_1<<16>>16;if(($3_1|0)>0){HEAP16[$2_1>>1]=$3_1;$0_1=$15_1+Math_imul($1_1,28)|0;HEAP32[$0_1-4>>2]=$13_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$13_1;break label$461}$3_1=HEAPU16[$0_1-2>>1];$1_1=$3_1<<16>>16;$0_1=HEAP16[$0_1+2>>1];if(($0_1|0)>0){if(($1_1|0)>0){$1_1=HEAP32[($4_1+($0_1<<2)|0)-4>>2];$10_1=HEAP32[($4_1+($3_1<<2)|0)-4>>2];if(($1_1|0)>($10_1|0)){HEAP16[$2_1>>1]=$10_1;$0_1=0;$23_1=($8_1|0)>0?$8_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($23_1|0)){$1_1=$10_1;break label$462}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$10_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($10_1|0)){break label$462}$0_1=0;$23_1=($8_1|0)>0?$8_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($23_1|0)){break label$462}if(($10_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}$3_1=HEAP16[$2_1-2>>1];if(($3_1|0)>0){$1_1=HEAP32[($4_1+($0_1<<2)|0)-4>>2];$10_1=HEAP32[($4_1+(($3_1&65535)<<2)|0)-4>>2];if(($1_1|0)>($10_1|0)){HEAP16[$2_1>>1]=$10_1;$0_1=0;$23_1=($8_1|0)>0?$8_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($23_1|0)){$1_1=$10_1;break label$463}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$10_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($10_1|0)){break label$463}$0_1=0;$23_1=($8_1|0)>0?$8_1:0;$3_1=$4_1;while(1){if(($0_1|0)==($23_1|0)){break label$463}if(($10_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$0_1=$0_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$0_1;$0_1=$15_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$13_1;$1_1=$0_1-16|0;if(HEAP32[$1_1>>2]>($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$13_1;break label$461}if(($1_1|0)>0){HEAP16[$2_1>>1]=$1_1;$0_1=$15_1+Math_imul($3_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$13_1;$1_1=$0_1-12|0;if(HEAP32[$1_1>>2]<($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$13_1;break label$461}$0_1=HEAPU16[$2_1-2>>1];$1_1=$0_1<<16>>16;if(($1_1|0)>0){HEAP16[$2_1>>1]=$1_1;$0_1=$15_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$13_1;$0_1=$0_1-12|0;if(HEAP32[$0_1>>2]>=($9_1|0)){break label$461}HEAP32[$0_1>>2]=$9_1;break label$461}if(($8_1|0)>=32768){$5(0,3,1524,0);$0_1=-1;break label$452}$0_1=$8_1+1|0;HEAP16[$2_1>>1]=$0_1;HEAP32[$4_1+($8_1<<2)>>2]=$0_1<<16>>16;$1_1=$15_1+Math_imul($8_1,28)|0;HEAP32[$1_1+24>>2]=$13_1;HEAP32[$1_1+20>>2]=$13_1;HEAP32[$1_1+16>>2]=$9_1;HEAP32[$1_1+12>>2]=$9_1;HEAP32[$1_1+8>>2]=$13_1;HEAP32[$1_1+4>>2]=$9_1;HEAP32[$1_1>>2]=1;$8_1=$0_1;break label$461}HEAP16[$2_1>>1]=0;HEAP8[$11_1|0]=0;break label$461}$11_1=$11_1+2|0;$2_1=$2_1+4|0;$7_1=$18_1+2|0;$14_1=$16_1+2|0;$13_1=$13_1+1|0;continue label$458}$0_1=$15_1+Math_imul($1_1<<16>>16,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$13_1;break label$461}$0_1=$15_1+Math_imul($1_1<<16>>16,28)|0;HEAP32[$0_1-4>>2]=$13_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$13_1}$11_1=$11_1+1|0;$2_1=$2_1+2|0;$7_1=$7_1+1|0;$14_1=$14_1+1|0;$9_1=$9_1+1|0;continue}}break}$1_1=(($8_1|0)>0?$8_1:0)+1|0;$3_1=1;$7_1=1;$9_1=$4_1;while(1){if(($1_1|0)!=($3_1|0)){$0_1=HEAP32[$9_1>>2];label$489:{if(($0_1|0)==($3_1|0)){$0_1=$7_1;$7_1=$0_1+1|0;break label$489}$0_1=HEAP32[($4_1+($0_1<<2)|0)-4>>2]}HEAP32[$9_1>>2]=$0_1;$9_1=$9_1+4|0;$3_1=$3_1+1|0;continue}break}$9_1=$7_1-1|0;HEAP32[$5_1+8>>2]=$9_1;$0_1=0;if(!$9_1){break label$452}$1_1=$5_1+131084|0;$7_1=$5_1+12|0;wasm2js_memory_fill($7_1,0,$9_1<<2);$10_1=$5_1+655376|0;wasm2js_memory_fill($10_1,0,$9_1<<4);$3_1=0;while(1)if(($3_1|0)>=($9_1|0)){$9_1=0;$3_1=($8_1|0)>0?$8_1:0;while(1){if(($3_1|0)==($9_1|0)){$0_1=0;$1_1=HEAP32[$5_1+8>>2];$2_1=($1_1|0)>0?$1_1:0;$3_1=0;while(1){if(($2_1|0)==($3_1|0)){break label$452}$1_1=$10_1+($3_1<<4)|0;$19_1=+HEAP32[$7_1+($3_1<<2)>>2];HEAPF64[$1_1>>3]=HEAPF64[$1_1>>3]/$19_1;HEAPF64[$1_1+8>>3]=HEAPF64[$1_1+8>>3]/$19_1;$3_1=$3_1+1|0;continue}}$2_1=HEAP32[$4_1+($9_1<<2)>>2]-1|0;$6_1=$2_1<<2;$0_1=$6_1+$7_1|0;$8_1=$0_1;$12_1=HEAP32[$0_1>>2];$0_1=$15_1+Math_imul($9_1,28)|0;HEAP32[$8_1>>2]=$12_1+HEAP32[$0_1>>2];$8_1=$2_1<<4;$2_1=$8_1+$10_1|0;HEAPF64[$2_1>>3]=HEAPF64[$2_1>>3]+ +HEAP32[$0_1+4>>2];HEAPF64[$2_1+8>>3]=HEAPF64[$2_1+8>>3]+ +HEAP32[$0_1+8>>2];$2_1=$1_1+$8_1|0;$8_1=HEAP32[$0_1+12>>2];if(HEAP32[$2_1>>2]>($8_1|0)){HEAP32[$2_1>>2]=$8_1}$8_1=HEAP32[$0_1+16>>2];$2_1=$6_1<<2;$6_1=$1_1+($2_1|4)|0;if(($8_1|0)>HEAP32[$6_1>>2]){HEAP32[$6_1>>2]=$8_1}$8_1=HEAP32[$0_1+20>>2];$6_1=$1_1+($2_1|8)|0;if(($8_1|0)>2]){HEAP32[$6_1>>2]=$8_1}$0_1=HEAP32[$0_1+24>>2];$2_1=$1_1+($2_1|12)|0;if(($0_1|0)>HEAP32[$2_1>>2]){HEAP32[$2_1>>2]=$0_1}$9_1=$9_1+1|0;continue}}else{$0_1=$1_1+($3_1<<4)|0;HEAP32[$0_1>>2]=$6_1;HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+8>>2]=$12_1;HEAP32[$0_1+12>>2]=0;$3_1=$3_1+1|0;$9_1=HEAP32[$5_1+8>>2];continue}}break folding_inner0}if(!$6_1){$9_1=$0_1;$3_1=0;$4_1=($1_1|0)>0?$1_1:0;$13_1=$2_1;$8_1=$7_1;$0_1=HEAP32[$8_1>>2];$10_1=$1_1;$1_1=$2_1-1|0;$6_1=$0_1+(Math_imul($10_1,$1_1)<<1)|0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$6_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$2_1=$2_1+2|0;$6_1=$6_1+2|0;continue}break}$4_1=($13_1|0)>0?$13_1:0;$12_1=$10_1-1|0;$6_1=$0_1+($12_1<<1)|0;$3_1=0;$2_1=$0_1;while(1){if(($3_1|0)!=($4_1|0)){HEAP16[$6_1>>1]=0;HEAP16[$2_1>>1]=0;$3_1=$3_1+1|0;$7_1=$10_1<<1;$6_1=$7_1+$6_1|0;$2_1=$2_1+$7_1|0;continue}break}$20_1=($1_1|0)>1?$1_1:1;$15_1=$8_1+1310736|0;$4_1=$8_1+1179664|0;$1_1=$10_1+1|0;$7_1=$1_1+$9_1|0;$14_1=$1_1+HEAP32[$8_1+4>>2]|0;$21_1=($12_1|0)>1?$12_1:1;$22_1=$21_1-1|0;$2_1=$0_1+($1_1<<1)|0;$17_1=0-$10_1<<1;$0_1=0;$11_1=1;label$502:{label$508:while(1){if(($11_1|0)!=($20_1|0)){$16_1=$7_1+$22_1|0;$6_1=1;while(1){label$511:{label$512:{label$513:{if(($6_1|0)!=($21_1|0)){if(HEAPU8[$7_1|0]>($5_1|0)){HEAP8[$14_1|0]=255;$1_1=$2_1+$17_1|0;$3_1=HEAPU16[$1_1>>1];$9_1=$3_1<<16>>16;if(($9_1|0)>0){HEAP16[$2_1>>1]=$9_1;$1_1=$15_1+Math_imul($3_1,28)|0;HEAP32[$1_1-4>>2]=$11_1;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$1_1=$1_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;break label$511}$9_1=HEAPU16[$1_1-2>>1];$3_1=$9_1<<16>>16;$1_1=HEAP16[$1_1+2>>1];if(($1_1|0)>0){if(($3_1|0)>0){$1_1=HEAP32[($4_1+($1_1<<2)|0)-4>>2];$12_1=HEAP32[($4_1+($9_1<<2)|0)-4>>2];if(($1_1|0)>($12_1|0)){HEAP16[$2_1>>1]=$12_1;$9_1=0;$18_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($18_1|0)){$1_1=$12_1;break label$512}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$12_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($12_1|0)){break label$512}$9_1=0;$18_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($18_1|0)){break label$512}if(($12_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}$3_1=HEAP16[$2_1-2>>1];if(($3_1|0)>0){$1_1=HEAP32[($4_1+($1_1<<2)|0)-4>>2];$12_1=HEAP32[($4_1+(($3_1&65535)<<2)|0)-4>>2];if(($1_1|0)>($12_1|0)){HEAP16[$2_1>>1]=$12_1;$9_1=0;$18_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($18_1|0)){$1_1=$12_1;break label$513}if(HEAP32[$3_1>>2]==($1_1|0)){HEAP32[$3_1>>2]=$12_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;if(($1_1|0)>=($12_1|0)){break label$513}$9_1=0;$18_1=($0_1|0)>0?$0_1:0;$3_1=$4_1;while(1){if(($9_1|0)==($18_1|0)){break label$513}if(($12_1|0)==HEAP32[$3_1>>2]){HEAP32[$3_1>>2]=$1_1}$9_1=$9_1+1|0;$3_1=$3_1+4|0;continue}}HEAP16[$2_1>>1]=$1_1;$1_1=$15_1+Math_imul($1_1,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$3_1=$1_1-20|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$11_1;$3_1=$1_1-16|0;if(HEAP32[$3_1>>2]>($6_1|0)){HEAP32[$3_1>>2]=$6_1}HEAP32[$1_1-4>>2]=$11_1;break label$511}if(($3_1|0)>0){HEAP16[$2_1>>1]=$3_1;$1_1=$15_1+Math_imul($9_1,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$3_1=$1_1-20|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$11_1;$3_1=$1_1-12|0;if(HEAP32[$3_1>>2]<($6_1|0)){HEAP32[$3_1>>2]=$6_1}HEAP32[$1_1-4>>2]=$11_1;break label$511}$1_1=HEAPU16[$2_1-2>>1];$3_1=$1_1<<16>>16;if(($3_1|0)>0){HEAP16[$2_1>>1]=$3_1;$1_1=$15_1+Math_imul($1_1,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$3_1=$1_1-20|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$11_1;$1_1=$1_1-12|0;if(HEAP32[$1_1>>2]>=($6_1|0)){break label$511}HEAP32[$1_1>>2]=$6_1;break label$511}if(($0_1|0)>=32768){$5(0,3,1524,0);$9_1=-1;break label$502}$1_1=$0_1+1|0;HEAP16[$2_1>>1]=$1_1;HEAP32[$4_1+($0_1<<2)>>2]=$1_1<<16>>16;$0_1=$15_1+Math_imul($0_1,28)|0;HEAP32[$0_1+24>>2]=$11_1;HEAP32[$0_1+20>>2]=$11_1;HEAP32[$0_1+16>>2]=$6_1;HEAP32[$0_1+12>>2]=$6_1;HEAP32[$0_1+8>>2]=$11_1;HEAP32[$0_1+4>>2]=$6_1;HEAP32[$0_1>>2]=1;$0_1=$1_1;break label$511}HEAP16[$2_1>>1]=0;HEAP8[$14_1|0]=0;break label$511}$14_1=$14_1+2|0;$2_1=$2_1+4|0;$7_1=$16_1+2|0;$11_1=$11_1+1|0;continue label$508}$1_1=$15_1+Math_imul($1_1<<16>>16,28)|0;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$1_1=$1_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;break label$511}$1_1=$15_1+Math_imul($1_1<<16>>16,28)|0;HEAP32[$1_1-4>>2]=$11_1;$3_1=$1_1-28|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;$3_1=$1_1-24|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+$6_1;$1_1=$1_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1}$14_1=$14_1+1|0;$2_1=$2_1+2|0;$7_1=$7_1+1|0;$6_1=$6_1+1|0;continue}}break}$1_1=(($0_1|0)>0?$0_1:0)+1|0;$3_1=1;$7_1=1;$6_1=$4_1;while(1){if(($1_1|0)!=($3_1|0)){$2_1=HEAP32[$6_1>>2];label$539:{if(($2_1|0)==($3_1|0)){$9_1=$7_1;$7_1=$9_1+1|0;break label$539}$9_1=HEAP32[($4_1+($2_1<<2)|0)-4>>2]}HEAP32[$6_1>>2]=$9_1;$6_1=$6_1+4|0;$3_1=$3_1+1|0;continue}break}$6_1=$7_1-1|0;HEAP32[$8_1+8>>2]=$6_1;$9_1=0;if(!$6_1){break label$502}$1_1=$8_1+131084|0;$5_1=$8_1+12|0;wasm2js_memory_fill($5_1,0,$6_1<<2);$7_1=$8_1+655376|0;wasm2js_memory_fill($7_1,0,$6_1<<4);$3_1=0;while(1)if(($3_1|0)>=($6_1|0)){$6_1=0;$3_1=($0_1|0)>0?$0_1:0;while(1){if(($3_1|0)==($6_1|0)){$9_1=0;$0_1=HEAP32[$8_1+8>>2];$1_1=($0_1|0)>0?$0_1:0;$3_1=0;while(1){if(($1_1|0)==($3_1|0)){break label$502}$0_1=$7_1+($3_1<<4)|0;$19_1=+HEAP32[$5_1+($3_1<<2)>>2];HEAPF64[$0_1>>3]=HEAPF64[$0_1>>3]/$19_1;HEAPF64[$0_1+8>>3]=HEAPF64[$0_1+8>>3]/$19_1;$3_1=$3_1+1|0;continue}}$2_1=HEAP32[$4_1+($6_1<<2)>>2]-1|0;$9_1=$2_1<<2;$0_1=$9_1+$5_1|0;$10_1=$0_1;$12_1=HEAP32[$0_1>>2];$0_1=$15_1+Math_imul($6_1,28)|0;HEAP32[$10_1>>2]=$12_1+HEAP32[$0_1>>2];$10_1=$2_1<<4;$2_1=$10_1+$7_1|0;HEAPF64[$2_1>>3]=HEAPF64[$2_1>>3]+ +HEAP32[$0_1+4>>2];HEAPF64[$2_1+8>>3]=HEAPF64[$2_1+8>>3]+ +HEAP32[$0_1+8>>2];$2_1=$1_1+$10_1|0;$10_1=HEAP32[$0_1+12>>2];if(HEAP32[$2_1>>2]>($10_1|0)){HEAP32[$2_1>>2]=$10_1}$10_1=HEAP32[$0_1+16>>2];$2_1=$9_1<<2;$9_1=$1_1+($2_1|4)|0;if(($10_1|0)>HEAP32[$9_1>>2]){HEAP32[$9_1>>2]=$10_1}$10_1=HEAP32[$0_1+20>>2];$9_1=$1_1+($2_1|8)|0;if(($10_1|0)>2]){HEAP32[$9_1>>2]=$10_1}$0_1=HEAP32[$0_1+24>>2];$2_1=$1_1+($2_1|12)|0;if(($0_1|0)>HEAP32[$2_1>>2]){HEAP32[$2_1>>2]=$0_1}$6_1=$6_1+1|0;continue}}else{$2_1=$1_1+($3_1<<4)|0;HEAP32[$2_1>>2]=$10_1;HEAP32[$2_1+4>>2]=0;HEAP32[$2_1+8>>2]=$13_1;HEAP32[$2_1+12>>2]=0;$3_1=$3_1+1|0;$6_1=HEAP32[$8_1+8>>2];continue}}return $9_1}$6_1=$0_1;$12_1=$1_1;$15_1=($1_1|0)/2|0;$3_1=($15_1|0)>0?$15_1:0;$0_1=HEAP32[$7_1>>2];$20_1=($2_1|0)/2|0;$2_1=$20_1-1|0;$9_1=$0_1+(Math_imul($2_1,$15_1)<<1)|0;$1_1=0;$4_1=$0_1;while(1){if(($1_1|0)!=($3_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$4_1>>1]=0;$1_1=$1_1+1|0;$4_1=$4_1+2|0;$9_1=$9_1+2|0;continue}break}$8_1=($20_1|0)>0?$20_1:0;$3_1=$15_1-1|0;$9_1=$0_1+($3_1<<1)|0;$1_1=0;$4_1=$0_1;while(1){if(($1_1|0)!=($8_1|0)){HEAP16[$9_1>>1]=0;HEAP16[$4_1>>1]=0;$1_1=$1_1+1|0;$10_1=$15_1<<1;$9_1=$10_1+$9_1|0;$4_1=$4_1+$10_1|0;continue}break}$21_1=($2_1|0)>1?$2_1:1;$22_1=($3_1|0)>1?$3_1:1;$14_1=$7_1+1310736|0;$3_1=$7_1+1179664|0;$1_1=$15_1+1|0;$10_1=$1_1+HEAP32[$7_1+4>>2]|0;$13_1=($6_1+($12_1<<1)|0)+2|0;$4_1=$0_1+($1_1<<1)|0;$17_1=0-$15_1<<1;$6_1=0;$11_1=1;label$551:{label$557:while(1){if(($11_1|0)!=($21_1|0)){$9_1=1;while(1){label$560:{label$561:{label$562:{if(($9_1|0)!=($22_1|0)){if(HEAPU8[$13_1|0]>($5_1|0)){HEAP8[$10_1|0]=255;$0_1=$4_1+$17_1|0;$1_1=HEAPU16[$0_1>>1];$2_1=$1_1<<16>>16;if(($2_1|0)>0){HEAP16[$4_1>>1]=$2_1;$0_1=$14_1+Math_imul($1_1,28)|0;HEAP32[$0_1-4>>2]=$11_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$11_1;break label$560}$8_1=HEAPU16[$0_1-2>>1];$1_1=$8_1<<16>>16;$0_1=HEAP16[$0_1+2>>1];if(($0_1|0)>0){if(($1_1|0)>0){$2_1=HEAP32[($3_1+($0_1<<2)|0)-4>>2];$8_1=HEAP32[($3_1+($8_1<<2)|0)-4>>2];if(($2_1|0)>($8_1|0)){HEAP16[$4_1>>1]=$8_1;$0_1=0;$16_1=($6_1|0)>0?$6_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($16_1|0)){$2_1=$8_1;break label$561}if(HEAP32[$1_1>>2]==($2_1|0)){HEAP32[$1_1>>2]=$8_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}HEAP16[$4_1>>1]=$2_1;if(($2_1|0)>=($8_1|0)){break label$561}$0_1=0;$16_1=($6_1|0)>0?$6_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($16_1|0)){break label$561}if(($8_1|0)==HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=$2_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}$1_1=HEAP16[$4_1-2>>1];if(($1_1|0)>0){$2_1=HEAP32[($3_1+($0_1<<2)|0)-4>>2];$8_1=HEAP32[($3_1+(($1_1&65535)<<2)|0)-4>>2];if(($2_1|0)>($8_1|0)){HEAP16[$4_1>>1]=$8_1;$0_1=0;$16_1=($6_1|0)>0?$6_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($16_1|0)){$2_1=$8_1;break label$562}if(HEAP32[$1_1>>2]==($2_1|0)){HEAP32[$1_1>>2]=$8_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}HEAP16[$4_1>>1]=$2_1;if(($2_1|0)>=($8_1|0)){break label$562}$0_1=0;$16_1=($6_1|0)>0?$6_1:0;$1_1=$3_1;while(1){if(($0_1|0)==($16_1|0)){break label$562}if(($8_1|0)==HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=$2_1}$0_1=$0_1+1|0;$1_1=$1_1+4|0;continue}}HEAP16[$4_1>>1]=$0_1;$0_1=$14_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;$1_1=$0_1-16|0;if(HEAP32[$1_1>>2]>($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$11_1;break label$560}if(($1_1|0)>0){HEAP16[$4_1>>1]=$1_1;$0_1=$14_1+Math_imul($8_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;$1_1=$0_1-12|0;if(HEAP32[$1_1>>2]<($9_1|0)){HEAP32[$1_1>>2]=$9_1}HEAP32[$0_1-4>>2]=$11_1;break label$560}$0_1=HEAPU16[$4_1-2>>1];$1_1=$0_1<<16>>16;if(($1_1|0)>0){HEAP16[$4_1>>1]=$1_1;$0_1=$14_1+Math_imul($0_1,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$1_1=$0_1-20|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$11_1;$0_1=$0_1-12|0;if(HEAP32[$0_1>>2]>=($9_1|0)){break label$560}HEAP32[$0_1>>2]=$9_1;break label$560}if(($6_1|0)>=32768){$5(0,3,1524,0);$0_1=-1;break label$551}$0_1=$6_1+1|0;HEAP16[$4_1>>1]=$0_1;HEAP32[$3_1+($6_1<<2)>>2]=$0_1<<16>>16;$1_1=$14_1+Math_imul($6_1,28)|0;HEAP32[$1_1+24>>2]=$11_1;HEAP32[$1_1+20>>2]=$11_1;HEAP32[$1_1+16>>2]=$9_1;HEAP32[$1_1+12>>2]=$9_1;HEAP32[$1_1+8>>2]=$11_1;HEAP32[$1_1+4>>2]=$9_1;HEAP32[$1_1>>2]=1;$6_1=$0_1;break label$560}HEAP16[$4_1>>1]=0;HEAP8[$10_1|0]=0;break label$560}$10_1=$10_1+2|0;$4_1=$4_1+4|0;$11_1=$11_1+1|0;$13_1=($13_1+$12_1|0)+4|0;continue label$557}$0_1=$14_1+Math_imul($2_1<<16>>16,28)|0;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$11_1;break label$560}$0_1=$14_1+Math_imul($2_1<<16>>16,28)|0;HEAP32[$0_1-4>>2]=$11_1;$1_1=$0_1-28|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;$1_1=$0_1-24|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+$9_1;$0_1=$0_1-20|0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+$11_1}$10_1=$10_1+1|0;$4_1=$4_1+2|0;$13_1=$13_1+2|0;$9_1=$9_1+1|0;continue}}break}$2_1=(($6_1|0)>0?$6_1:0)+1|0;$1_1=1;$10_1=1;$9_1=$3_1;while(1){if(($1_1|0)!=($2_1|0)){$0_1=HEAP32[$9_1>>2];label$588:{if(($0_1|0)==($1_1|0)){$0_1=$10_1;$10_1=$0_1+1|0;break label$588}$0_1=HEAP32[($3_1+($0_1<<2)|0)-4>>2]}HEAP32[$9_1>>2]=$0_1;$9_1=$9_1+4|0;$1_1=$1_1+1|0;continue}break}$9_1=$10_1-1|0;HEAP32[$7_1+8>>2]=$9_1;$0_1=0;if(!$9_1){break label$551}$2_1=$7_1+131084|0;$4_1=$7_1+12|0;wasm2js_memory_fill($4_1,0,$9_1<<2);$5_1=$7_1+655376|0;wasm2js_memory_fill($5_1,0,$9_1<<4);$1_1=0;while(1)if(($1_1|0)>=($9_1|0)){$9_1=0;$6_1=($6_1|0)>0?$6_1:0;while(1){if(($6_1|0)==($9_1|0)){$0_1=0;$1_1=HEAP32[$7_1+8>>2];$3_1=($1_1|0)>0?$1_1:0;$1_1=0;while(1){if(($1_1|0)==($3_1|0)){break label$551}$2_1=$5_1+($1_1<<4)|0;$19_1=+HEAP32[$4_1+($1_1<<2)>>2];HEAPF64[$2_1>>3]=HEAPF64[$2_1>>3]/$19_1;HEAPF64[$2_1+8>>3]=HEAPF64[$2_1+8>>3]/$19_1;$1_1=$1_1+1|0;continue}}$1_1=HEAP32[$3_1+($9_1<<2)>>2]-1|0;$8_1=$1_1<<2;$0_1=$8_1+$4_1|0;$10_1=$0_1;$12_1=HEAP32[$0_1>>2];$0_1=$14_1+Math_imul($9_1,28)|0;HEAP32[$10_1>>2]=$12_1+HEAP32[$0_1>>2];$10_1=$1_1<<4;$1_1=$10_1+$5_1|0;HEAPF64[$1_1>>3]=HEAPF64[$1_1>>3]+ +HEAP32[$0_1+4>>2];HEAPF64[$1_1+8>>3]=HEAPF64[$1_1+8>>3]+ +HEAP32[$0_1+8>>2];$1_1=$2_1+$10_1|0;$10_1=HEAP32[$0_1+12>>2];if(HEAP32[$1_1>>2]>($10_1|0)){HEAP32[$1_1>>2]=$10_1}$10_1=HEAP32[$0_1+16>>2];$1_1=$8_1<<2;$8_1=$2_1+($1_1|4)|0;if(($10_1|0)>HEAP32[$8_1>>2]){HEAP32[$8_1>>2]=$10_1}$10_1=HEAP32[$0_1+20>>2];$8_1=$2_1+($1_1|8)|0;if(($10_1|0)>2]){HEAP32[$8_1>>2]=$10_1}$0_1=HEAP32[$0_1+24>>2];$1_1=$2_1+($1_1|12)|0;if(($0_1|0)>HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=$0_1}$9_1=$9_1+1|0;continue}}else{$0_1=$2_1+($1_1<<4)|0;HEAP32[$0_1>>2]=$15_1;HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+8>>2]=$20_1;HEAP32[$0_1+12>>2]=0;$1_1=$1_1+1|0;$9_1=HEAP32[$7_1+8>>2];continue}}return $0_1}return $0_1}function $399($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1,$10_1,$11_1){var $12_1=0,$13_1=Math_fround(0),$14_1=0,$15_1=Math_fround(0),$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=Math_fround(0),$32_1=0,$33_1=Math_fround(0),$34_1=0,$35_1=0,$36_1=0,$37_1=0,$38_1=0,$39_1=0;$12_1=global$0-224|0;global$0=$12_1;HEAP32[$12_1+216>>2]=0;HEAP32[$12_1+220>>2]=1079738368;HEAP32[$12_1+200>>2]=0;HEAP32[$12_1+204>>2]=1079738368;HEAP32[$12_1+184>>2]=0;HEAP32[$12_1+188>>2]=1079574528;HEAP32[$12_1+208>>2]=0;HEAP32[$12_1+212>>2]=1079574528;HEAP32[$12_1+192>>2]=0;HEAP32[$12_1+196>>2]=1079738368;HEAP32[$12_1+176>>2]=0;HEAP32[$12_1+180>>2]=1079738368;HEAP32[$12_1+168>>2]=0;HEAP32[$12_1+172>>2]=1079574528;HEAP32[$12_1+160>>2]=0;HEAP32[$12_1+164>>2]=1079574528;while(1){if(($14_1|0)!=4){$23_1=$14_1<<4;$24_1=$23_1+($12_1+96|0)|0;$23_1=$9_1+$23_1|0;HEAPF64[$24_1>>3]=HEAPF64[$23_1>>3];HEAPF64[$24_1+8>>3]=HEAPF64[$23_1+8>>3];$14_1=$14_1+1|0;continue}break}$29_1=$12_1+160|0;$16_1=$12_1+96|0;$34_1=$12_1+16|0;$14_1=0;$35_1=$136(8,8);$21_1=$136(8,1);$26_1=$136(8,1);$24_1=HEAP32[$21_1>>2];$23_1=HEAP32[$35_1>>2];while(1){if(($14_1|0)!=4){$28_1=($14_1<<7)+$23_1|0;$27_1=$14_1<<4;$30_1=$29_1+$27_1|0;HEAPF64[$28_1>>3]=HEAPF64[$30_1>>3];$18_1=HEAPF64[$30_1+8>>3];HEAP32[$28_1+40>>2]=0;HEAP32[$28_1+44>>2]=0;HEAP32[$28_1+32>>2]=0;HEAP32[$28_1+36>>2]=0;HEAP32[$28_1+24>>2]=0;HEAP32[$28_1+28>>2]=0;HEAP32[$28_1+16>>2]=0;HEAP32[$28_1+20>>2]=1072693248;HEAPF64[$28_1+8>>3]=$18_1;$32_1=$16_1+$27_1|0;HEAPF64[$28_1+48>>3]=HEAPF64[$32_1>>3]*-HEAPF64[$30_1>>3];$17_1=HEAPF64[$32_1>>3];$18_1=HEAPF64[$30_1+8>>3];HEAP32[$28_1+80>>2]=0;HEAP32[$28_1+84>>2]=0;HEAP32[$28_1+72>>2]=0;HEAP32[$28_1+76>>2]=0;$9_1=$28_1- -64|0;HEAP32[$9_1>>2]=0;HEAP32[$9_1+4>>2]=0;HEAPF64[$28_1+56>>3]=$17_1*-$18_1;HEAPF64[$28_1+88>>3]=HEAPF64[$30_1>>3];$18_1=HEAPF64[$30_1+8>>3];HEAP32[$28_1+104>>2]=0;HEAP32[$28_1+108>>2]=1072693248;HEAPF64[$28_1+96>>3]=$18_1;HEAPF64[$28_1+112>>3]=HEAPF64[$32_1+8>>3]*-HEAPF64[$30_1>>3];HEAPF64[$28_1+120>>3]=HEAPF64[$32_1+8>>3]*-HEAPF64[$30_1+8>>3];$9_1=$24_1+$27_1|0;HEAPF64[$9_1>>3]=HEAPF64[$32_1>>3];HEAPF64[$9_1+8>>3]=HEAPF64[$32_1+8>>3];$14_1=$14_1+1|0;continue}break}$317($35_1);$483($26_1,$35_1,$21_1);$24_1=HEAP32[$26_1>>2];$9_1=0;while(1){if(($9_1|0)!=2){$23_1=Math_imul($9_1,24);$14_1=$23_1+$34_1|0;$23_1=$24_1+$23_1|0;HEAPF64[$14_1>>3]=HEAPF64[$23_1>>3];HEAPF64[$14_1+8>>3]=HEAPF64[$23_1+8>>3];HEAPF64[$14_1+16>>3]=HEAPF64[$23_1+16>>3];$9_1=$9_1+1|0;continue}break}HEAPF64[$34_1+48>>3]=HEAPF64[$24_1+48>>3];$18_1=HEAPF64[$24_1+56>>3];$9_1=$34_1- -64|0;HEAP32[$9_1>>2]=0;HEAP32[$9_1+4>>2]=1072693248;HEAPF64[$34_1+56>>3]=$18_1;$17($35_1);$17($21_1);$17($26_1);$36_1=HEAPF64[$12_1+112>>3];$37_1=HEAPF64[$12_1+128>>3];$18_1=$36_1-$37_1;$17_1=$18_1*$18_1;$38_1=HEAPF64[$12_1+120>>3];$25_1=HEAPF64[$12_1+136>>3];$18_1=$38_1-$25_1;$18_1=$17_1+$18_1*$18_1;label$7:{if(Math_abs($18_1)<2147483648){$9_1=~~$18_1;break label$7}$9_1=-2147483648}$19_1=HEAPF64[$12_1+144>>3];$22_1=HEAPF64[$12_1+96>>3];$18_1=$19_1-$22_1;$39_1=$18_1*$18_1;$20_1=HEAPF64[$12_1+152>>3];$17_1=HEAPF64[$12_1+104>>3];$18_1=$20_1-$17_1;$18_1=$39_1+$18_1*$18_1;label$10:{if(Math_abs($18_1)<2147483648){$23_1=~~$18_1;break label$10}$23_1=-2147483648}$18_1=+((($9_1|0)<($23_1|0)?$23_1:$9_1)|0)*$10_1*$10_1;label$9:{if(Math_abs($18_1)<2147483648){$24_1=~~$18_1;break label$9}$24_1=-2147483648}$18_1=$22_1-$36_1;$22_1=$18_1*$18_1;$18_1=$17_1-$38_1;$18_1=$22_1+$18_1*$18_1;label$13:{if(Math_abs($18_1)<2147483648){$9_1=~~$18_1;break label$13}$9_1=-2147483648}$18_1=$37_1-$19_1;$17_1=$18_1*$18_1;$18_1=$25_1-$20_1;$18_1=$17_1+$18_1*$18_1;label$16:{if(Math_abs($18_1)<2147483648){$23_1=~~$18_1;break label$16}$23_1=-2147483648}$18_1=+((($9_1|0)<($23_1|0)?$23_1:$9_1)|0)*$10_1*$10_1;label$15:{if(Math_abs($18_1)<2147483648){$23_1=~~$18_1;break label$15}$23_1=-2147483648}label$19:{if(!$0_1){$9_1=$2_1;while(1){$14_1=$9_1;if(($14_1|0)<($3_1|0)){$9_1=$14_1<<1;if(($23_1|0)>(Math_imul($14_1,$14_1)|0)){continue}}break}$23_1=$2_1;while(1){$9_1=$23_1;if(($9_1|0)>=($3_1|0)){break label$19}$23_1=$9_1<<1;if(($24_1|0)>(Math_imul($9_1,$9_1)|0)){continue}break}break label$19}$9_1=$2_1;while(1){$14_1=$9_1;if(($23_1|0)>Math_imul($14_1,$14_1)<<2){$9_1=$14_1<<1;if(($3_1|0)>($14_1|0)){continue}}break}$23_1=$2_1;while(1){$9_1=$23_1;if(($24_1|0)<=Math_imul($9_1,$9_1)<<2){break label$19}$23_1=$9_1<<1;if(($3_1|0)>($9_1|0)){continue}break}}$25_1=$10_1*10;$10_1=(1-$10_1)*.5*10;$21_1=($3_1|0)>($9_1|0)?$9_1:$3_1;$26_1=($21_1|0)/($2_1|0)|0;$3_1=($3_1|0)>($14_1|0)?$14_1:$3_1;$27_1=($3_1|0)/($2_1|0)|0;$29_1=Math_imul($2_1,$2_1);label$27:{label$28:{label$29:{label$30:{if(!$1_1){$29_1=Math_imul($29_1,3);$23_1=$350($29_1,4);if(!$23_1){break label$27}label$32:{label$33:{switch($7_1|0){case 0:$24_1=($21_1|0)>0?$21_1:0;$9_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($24_1|0)){break label$32}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($9_1|0)!=($14_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$48:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$50:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$54:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$16_1=Math_imul(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)|0,12)+$23_1|0;$3_1=Math_imul($7_1+Math_imul($3_1,$5_1)|0,3)+$4_1|0;HEAP32[$16_1>>2]=HEAP32[$16_1>>2]+HEAPU8[$3_1+2|0];HEAP32[$16_1+4>>2]=HEAP32[$16_1+4>>2]+HEAPU8[$3_1+1|0];HEAP32[$16_1+8>>2]=HEAP32[$16_1+8>>2]+HEAPU8[$3_1|0]}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 1:$24_1=($21_1|0)>0?$21_1:0;$9_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($24_1|0)){break label$32}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($9_1|0)!=($14_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$61:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$63:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$67:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$16_1=Math_imul(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)|0,12)+$23_1|0;$3_1=Math_imul($7_1+Math_imul($3_1,$5_1)|0,3)+$4_1|0;HEAP32[$16_1>>2]=HEAP32[$16_1>>2]+HEAPU8[$3_1|0];HEAP32[$16_1+4>>2]=HEAP32[$16_1+4>>2]+HEAPU8[$3_1+1|0];HEAP32[$16_1+8>>2]=HEAP32[$16_1+8>>2]+HEAPU8[$3_1+2|0]}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 2:$24_1=($21_1|0)>0?$21_1:0;$9_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($24_1|0)){break label$32}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($9_1|0)!=($14_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$74:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$76:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$80:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$16_1=Math_imul(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)|0,12)+$23_1|0;$3_1=($7_1+Math_imul($3_1,$5_1)<<2)+$4_1|0;HEAP32[$16_1>>2]=HEAP32[$16_1>>2]+HEAPU8[$3_1+2|0];HEAP32[$16_1+4>>2]=HEAP32[$16_1+4>>2]+HEAPU8[$3_1+1|0];HEAP32[$16_1+8>>2]=HEAP32[$16_1+8>>2]+HEAPU8[$3_1|0]}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 3:$24_1=($21_1|0)>0?$21_1:0;$9_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($24_1|0)){break label$32}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($9_1|0)!=($14_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$87:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$89:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$93:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$16_1=Math_imul(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)|0,12)+$23_1|0;$3_1=($7_1+Math_imul($3_1,$5_1)<<2)+$4_1|0;HEAP32[$16_1>>2]=HEAP32[$16_1>>2]+HEAPU8[$3_1|0];HEAP32[$16_1+4>>2]=HEAP32[$16_1+4>>2]+HEAPU8[$3_1+1|0];HEAP32[$16_1+8>>2]=HEAP32[$16_1+8>>2]+HEAPU8[$3_1+2|0]}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 4:$24_1=($21_1|0)>0?$21_1:0;$9_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($24_1|0)){break label$32}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($9_1|0)!=($14_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$100:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$102:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$106:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$16_1=Math_imul(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)|0,12)+$23_1|0;$3_1=($7_1+Math_imul($3_1,$5_1)<<2)+$4_1|0;HEAP32[$16_1>>2]=HEAP32[$16_1>>2]+HEAPU8[$3_1+1|0];HEAP32[$16_1+4>>2]=HEAP32[$16_1+4>>2]+HEAPU8[$3_1+2|0];HEAP32[$16_1+8>>2]=HEAP32[$16_1+8>>2]+HEAPU8[$3_1+3|0]}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 5:case 12:case 13:case 14:$24_1=($21_1|0)>0?$21_1:0;$9_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($24_1|0)){break label$32}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($9_1|0)!=($14_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$113:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$115:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$119:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$16_1=Math_imul(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)|0,12)+$23_1|0;$3_1=HEAPU8[($7_1+Math_imul($3_1,$5_1)|0)+$4_1|0];HEAP32[$16_1>>2]=$3_1+HEAP32[$16_1>>2];HEAP32[$16_1+4>>2]=$3_1+HEAP32[$16_1+4>>2];HEAP32[$16_1+8>>2]=$3_1+HEAP32[$16_1+8>>2]}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 6:$24_1=($21_1|0)>0?$21_1:0;$9_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($24_1|0)){break label$32}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($9_1|0)!=($14_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$126:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$128:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$132:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$16_1=Math_imul(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)|0,12)+$23_1|0;$3_1=($7_1+Math_imul($3_1,$5_1)<<2)+$4_1|0;HEAP32[$16_1>>2]=HEAP32[$16_1>>2]+HEAPU8[$3_1+3|0];HEAP32[$16_1+4>>2]=HEAP32[$16_1+4>>2]+HEAPU8[$3_1+2|0];HEAP32[$16_1+8>>2]=HEAP32[$16_1+8>>2]+HEAPU8[$3_1+1|0]}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 7:$16_1=($21_1|0)>0?$21_1:0;$24_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($16_1|0)){break label$32}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($14_1|0)!=($24_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$139:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$141:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$145:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$3_1=Math_imul($3_1,$5_1);$31_1=Math_fround(Math_fround(HEAPU8[(($3_1+$7_1<<1)+$4_1|0)+1|0]-16|0)*Math_fround(298.0820007324219));$3_1=($3_1+($7_1&65534)<<1)+$4_1|0;$33_1=Math_fround(HEAPU8[$3_1|0]-128|0);$13_1=Math_fround($31_1+Math_fround($33_1*Math_fround(516.4110107421875)));label$149:{if(Math_fround(Math_abs($13_1))>8;$7_1=($7_1|0)>0?$7_1:0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+($7_1>>>0<255?$7_1:255);$21_1=HEAP32[$3_1+8>>2];$15_1=Math_fround($9_1-128|0);$13_1=Math_fround($31_1+Math_fround($15_1*Math_fround(408.5830078125)));label$151:{if(Math_fround(Math_abs($13_1))>8;$7_1=($7_1|0)>0?$7_1:0;HEAP32[$3_1+8>>2]=$21_1+($7_1>>>0<255?$7_1:255);$7_1=$3_1;$9_1=HEAP32[$3_1+4>>2];$13_1=Math_fround(Math_fround($15_1*Math_fround(-208.1199951171875))+Math_fround($31_1+Math_fround($33_1*Math_fround(-100.29100036621094))));label$153:{if(Math_fround(Math_abs($13_1))>8;$3_1=($3_1|0)>0?$3_1:0;HEAP32[$7_1+4>>2]=$9_1+($3_1>>>0<255?$3_1:255)}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 8:$16_1=($21_1|0)>0?$21_1:0;$24_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($16_1|0)){break label$32}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($14_1|0)!=($24_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$158:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$160:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$164:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$3_1=Math_imul($3_1,$5_1);$31_1=Math_fround(Math_fround(HEAPU8[($3_1+$7_1<<1)+$4_1|0]-16|0)*Math_fround(298.0820007324219));$3_1=($3_1+($7_1&65534)<<1)+$4_1|0;$33_1=Math_fround(HEAPU8[$3_1+1|0]-128|0);$13_1=Math_fround($31_1+Math_fround($33_1*Math_fround(516.4110107421875)));label$168:{if(Math_fround(Math_abs($13_1))>8;$7_1=($7_1|0)>0?$7_1:0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+($7_1>>>0<255?$7_1:255);$21_1=HEAP32[$3_1+8>>2];$15_1=Math_fround($9_1-128|0);$13_1=Math_fround($31_1+Math_fround($15_1*Math_fround(408.5830078125)));label$170:{if(Math_fround(Math_abs($13_1))>8;$7_1=($7_1|0)>0?$7_1:0;HEAP32[$3_1+8>>2]=$21_1+($7_1>>>0<255?$7_1:255);$7_1=$3_1;$9_1=HEAP32[$3_1+4>>2];$13_1=Math_fround(Math_fround($15_1*Math_fround(-208.1199951171875))+Math_fround($31_1+Math_fround($33_1*Math_fround(-100.29100036621094))));label$172:{if(Math_fround(Math_abs($13_1))>8;$3_1=($3_1|0)>0?$3_1:0;HEAP32[$7_1+4>>2]=$9_1+($3_1>>>0<255?$3_1:255)}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 9:$24_1=($21_1|0)>0?$21_1:0;$9_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($24_1|0)){break label$32}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($9_1|0)!=($14_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$177:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$179:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$183:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$16_1=Math_imul(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)|0,12)+$23_1|0;$3_1=($7_1+Math_imul($3_1,$5_1)<<1)+$4_1|0;$7_1=HEAPU8[$3_1+1|0];HEAP32[$16_1>>2]=HEAP32[$16_1>>2]+(($7_1<<3|4)&252);$3_1=HEAPU8[$3_1|0];HEAP32[$16_1+8>>2]=HEAP32[$16_1+8>>2]+(($3_1|4)&252);HEAP32[$16_1+4>>2]=HEAP32[$16_1+4>>2]+(($3_1<<5|$7_1>>>3|2)&254)}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 10:$24_1=($21_1|0)>0?$21_1:0;$9_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($24_1|0)){break label$32}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($9_1|0)!=($14_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$190:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$192:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$196:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$16_1=Math_imul(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)|0,12)+$23_1|0;$3_1=($7_1+Math_imul($3_1,$5_1)<<1)+$4_1|0;$7_1=HEAPU8[$3_1+1|0];HEAP32[$16_1>>2]=HEAP32[$16_1>>2]+(($7_1<<2|4)&252);$3_1=HEAPU8[$3_1|0];HEAP32[$16_1+8>>2]=HEAP32[$16_1+8>>2]+(($3_1|4)&252);HEAP32[$16_1+4>>2]=HEAP32[$16_1+4>>2]+(($3_1<<5|$7_1>>>3|4)&252)}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 11:break label$33;default:break label$30}}$24_1=($21_1|0)>0?$21_1:0;$9_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($24_1|0)){break label$32}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($9_1|0)!=($14_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$203:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$205:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$209:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$16_1=Math_imul(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)|0,12)+$23_1|0;$3_1=($7_1+Math_imul($3_1,$5_1)<<1)+$4_1|0;HEAP32[$16_1>>2]=(HEAP32[$16_1>>2]+(HEAPU8[$3_1+1|0]&240)|0)+8;$3_1=HEAPU8[$3_1|0];HEAP32[$16_1+8>>2]=HEAP32[$16_1+8>>2]+(($3_1|8)&248);HEAP32[$16_1+4>>2]=HEAP32[$16_1+4>>2]+(($3_1<<4|8)&248)}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue}}$0_1=Math_imul($26_1,$27_1);$9_1=0;$14_1=0;while(1){if(($14_1|0)==($29_1|0)){break label$28}HEAP8[$11_1+$14_1|0]=HEAPU32[($14_1<<2)+$23_1>>2]/($0_1>>>0);$14_1=$14_1+1|0;continue}}$23_1=$350($29_1,4);if(!$23_1){break label$27}label$214:{if($7_1>>>0<=1){$16_1=($21_1|0)>0?$21_1:0;$24_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($16_1|0)){break label$214}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($14_1|0)!=($24_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$219:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$221:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$225:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$9_1=(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)<<2)+$23_1|0;$3_1=Math_imul($7_1+Math_imul($3_1,$5_1)|0,3)+$4_1|0;HEAP32[$9_1>>2]=HEAP32[$9_1>>2]+(((HEAPU8[$3_1+1|0]+HEAPU8[$3_1|0]|0)+HEAPU8[$3_1+2|0]>>>0)/3|0)}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue}}if(($7_1&-2)==2){$16_1=($21_1|0)>0?$21_1:0;$24_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($16_1|0)){break label$214}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($14_1|0)!=($24_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$233:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$235:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$239:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$9_1=(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)<<2)+$23_1|0;$3_1=($7_1+Math_imul($3_1,$5_1)<<2)+$4_1|0;HEAP32[$9_1>>2]=HEAP32[$9_1>>2]+(((HEAPU8[$3_1+1|0]+HEAPU8[$3_1|0]|0)+HEAPU8[$3_1+2|0]>>>0)/3|0)}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue}}if(($7_1&-3)==4){$16_1=($21_1|0)>0?$21_1:0;$24_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($16_1|0)){break label$214}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($14_1|0)!=($24_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$247:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$249:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$253:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$9_1=(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)<<2)+$23_1|0;$3_1=($7_1+Math_imul($3_1,$5_1)<<2)+$4_1|0;HEAP32[$9_1>>2]=HEAP32[$9_1>>2]+(((HEAPU8[$3_1+2|0]+HEAPU8[$3_1+1|0]|0)+HEAPU8[$3_1+3|0]>>>0)/3|0)}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue}}label$257:{switch($7_1-5|0){case 0:case 7:case 8:case 9:$16_1=($21_1|0)>0?$21_1:0;$24_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($16_1|0)){break label$214}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($14_1|0)!=($24_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$266:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$268:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$272:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$9_1=(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)<<2)+$23_1|0;HEAP32[$9_1>>2]=HEAP32[$9_1>>2]+HEAPU8[($7_1+Math_imul($3_1,$5_1)|0)+$4_1|0]}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 2:$16_1=($21_1|0)>0?$21_1:0;$24_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($16_1|0)){break label$214}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($14_1|0)!=($24_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$279:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$281:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$285:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$9_1=(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)<<2)+$23_1|0;HEAP32[$9_1>>2]=HEAP32[$9_1>>2]+HEAPU8[(($7_1+Math_imul($3_1,$5_1)<<1)+$4_1|0)+1|0]}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 3:$16_1=($21_1|0)>0?$21_1:0;$24_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($16_1|0)){break label$214}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($14_1|0)!=($24_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$292:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$294:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$298:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$9_1=(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)<<2)+$23_1|0;HEAP32[$9_1>>2]=HEAP32[$9_1>>2]+HEAPU8[($7_1+Math_imul($3_1,$5_1)<<1)+$4_1|0]}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 4:$16_1=($21_1|0)>0?$21_1:0;$24_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($16_1|0)){break label$214}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($14_1|0)!=($24_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$305:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$307:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$311:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$9_1=(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)<<2)+$23_1|0;$3_1=($7_1+Math_imul($3_1,$5_1)<<1)+$4_1|0;$7_1=HEAPU8[$3_1|0];$3_1=HEAPU8[$3_1+1|0];HEAP32[$9_1>>2]=HEAP32[$9_1>>2]+((((($7_1&248)+($3_1<<3&248)|0)+(($7_1<<5|$3_1>>>3)&252)|0)+10>>>0)/3|0)}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 5:$16_1=($21_1|0)>0?$21_1:0;$24_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($16_1|0)){break label$214}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($14_1|0)!=($24_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$318:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$320:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$324:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$9_1=(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)<<2)+$23_1|0;$3_1=($7_1+Math_imul($3_1,$5_1)<<1)+$4_1|0;$7_1=HEAPU8[$3_1|0];$3_1=HEAPU8[$3_1+1|0];HEAP32[$9_1>>2]=HEAP32[$9_1>>2]+((((($7_1&248)+($3_1<<2&248)|0)+(($7_1<<5|$3_1>>>3)&248)|0)+12>>>0)/3|0)}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue};case 6:break label$257;default:break label$30}}$16_1=($21_1|0)>0?$21_1:0;$24_1=($3_1|0)>0?$3_1:0;$22_1=$10_1+100;$18_1=+($3_1|0);$10_1=+($21_1|0);$1_1=0;while(1){if(($1_1|0)==($16_1|0)){break label$214}$19_1=$22_1+$25_1*(+($1_1|0)+.5)/$10_1;$14_1=0;while(1){if(($14_1|0)!=($24_1|0)){$20_1=$22_1+$25_1*(+($14_1|0)+.5)/$18_1;$17_1=HEAPF64[$12_1+80>>3]+(HEAPF64[$12_1+64>>3]*$20_1+$19_1*HEAPF64[$12_1+72>>3]);if($17_1==0){break label$29}$15_1=Math_fround((HEAPF64[$12_1+32>>3]+(HEAPF64[$12_1+16>>3]*$20_1+$19_1*HEAPF64[$12_1+24>>3]))/$17_1);HEAPF32[$12_1+12>>2]=$15_1;$13_1=Math_fround((HEAPF64[$12_1+56>>3]+(HEAPF64[$12_1+40>>3]*$20_1+$19_1*HEAPF64[$12_1+48>>3]))/$17_1);HEAPF32[$12_1+8>>2]=$13_1;$66($8_1,$15_1,$13_1,$12_1+12|0,$12_1+8|0);$15_1=HEAPF32[$12_1+12>>2];label$331:{if(($0_1|0)==1){$13_1=Math_fround(HEAPF32[$12_1+8>>2]+Math_fround(1));label$333:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$337:{if(Math_fround(Math_abs($13_1))=($6_1|0)))){$9_1=(Math_imul(($1_1|0)/($26_1|0)|0,$2_1)+(($14_1|0)/($27_1|0)|0)<<2)+$23_1|0;$7_1=($7_1+Math_imul($3_1,$5_1)<<1)+$4_1|0;$3_1=HEAPU8[$7_1|0];HEAP32[$9_1>>2]=HEAP32[$9_1>>2]+((((($3_1&240)+($3_1<<4&240)|0)+((HEAPU8[$7_1+1|0]|8)&248)|0)+16>>>0)/3|0)}$14_1=$14_1+1|0;continue}break}$1_1=$1_1+1|0;continue}}$0_1=Math_imul($26_1,$27_1);$9_1=0;$14_1=0;while(1){if(($14_1|0)==($29_1|0)){break label$28}HEAP8[$11_1+$14_1|0]=HEAPU32[($14_1<<2)+$23_1>>2]/($0_1>>>0);$14_1=$14_1+1|0;continue}}$5(0,3,2718,0)}$9_1=-1}$1($23_1);global$0=$12_1+224|0;return $9_1}$5(0,3,1806,0);fimport$1(1);abort()}function $1184($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=0,$32_1=Math_fround(0),$33_1=0,$34_1=0,$35_1=0,$36_1=0,$37_1=Math_fround(0),$38_1=0,$39_1=0,$40_1=0;$36_1=global$0-16|0;global$0=$36_1;HEAP32[$36_1+12>>2]=$0_1;HEAP32[$36_1+8>>2]=$26(67484,$36_1+12|0);HEAP32[$36_1>>2]=$23();$0_1=-1;label$1:{label$2:{label$3:{if($31($36_1+8|0,$36_1)){break label$3}$38_1=$32($36_1+12|0);$39_1=HEAP32[$38_1+248>>2];$34_1=$15($1_1);$17_1=global$0-80|0;global$0=$17_1;$18_1=HEAP32[$38_1+232>>2];$1_1=$18_1;label$5:{if(!$1_1){$5(0,3,37338,0);$3_1=0;break label$5}$2_1=$7(68);$3_1=0;if(!$2_1){break label$5}HEAP32[$2_1>>2]=$1_1;$1_1=Math_imul($1_1?HEAP32[$1_1+12>>2]:0,$1_1?HEAP32[$1_1+16>>2]:0);HEAP32[$2_1+8>>2]=$1_1;$1_1=$7($1_1);HEAP32[$2_1+64>>2]=0;HEAP32[$2_1+4>>2]=$1_1;$3_1=$674(0,$2_1,38)}$1_1=$3_1;if(!$1_1){fimport$1(-1);abort()}HEAP32[$38_1+240>>2]=$1_1;HEAP32[$17_1+76>>2]=0;HEAP32[$17_1+64>>2]=$34_1;$5(0,1,36785,$17_1- -64|0);$7_1=global$0-16|0;global$0=$7_1;HEAP8[$7_1+14|0]=HEAPU8[21320];HEAP16[$7_1+12>>1]=HEAPU8[21318]|HEAPU8[21319]<<8;label$4:{label$12:{label$17:{label$18:{label$19:{if(!($17_1+72|0?$34_1:0)){$5(0,3,11997,0);break label$19}$1_1=$7_1+12|0;$3_1=global$0-16|0;global$0=$3_1;if($34_1){$2_1=$7(($86($34_1)+$86(36251)|0)+2|0);if(!$2_1){break label$2}HEAP32[$3_1+4>>2]=36251;HEAP32[$3_1>>2]=$34_1;$250($2_1,1866,$3_1);$6_1=$216($2_1,$1_1);$1($2_1)}global$0=$3_1+16|0;$1_1=$6_1;if(!$1_1){HEAP32[$7_1>>2]=$34_1;HEAP32[$7_1+8>>2]=36251;HEAP32[$7_1+4>>2]=9747;$5(0,3,14349,$7_1);break label$19}$9_1=$350(1,16);if(!$9_1){break label$12}label$26:{if(($47($9_1+4|0,4,1,$1_1)|0)!=1){break label$26}$2_1=HEAP32[$9_1+4>>2];if(($2_1|0)<=0){break label$26}$2_1=$7(Math_imul($2_1,132));HEAP32[$9_1>>2]=$2_1;if(!$2_1){break label$12}$6_1=0;while(1){if(HEAP32[$9_1+4>>2]>($6_1|0)){$2_1=Math_imul($6_1,132);if(($47($2_1+HEAP32[$9_1>>2]|0,8,1,$1_1)|0)!=1){break label$26}if(($47(($2_1+HEAP32[$9_1>>2]|0)+8|0,8,1,$1_1)|0)!=1){break label$26}if(($47(($2_1+HEAP32[$9_1>>2]|0)+16|0,108,1,$1_1)|0)!=1){break label$26}if(($47(($2_1+HEAP32[$9_1>>2]|0)+124|0,4,1,$1_1)|0)!=1){break label$26}$6_1=$6_1+1|0;if(($47(($2_1+HEAP32[$9_1>>2]|0)+128|0,4,1,$1_1)|0)==1){continue}break label$26}break}if(($47($9_1+12|0,4,1,$1_1)|0)!=1){break label$26}$6_1=0;$2_1=HEAP32[$9_1+12>>2];if(($2_1|0)<=0){HEAP32[$9_1+8>>2]=0;break label$26}$2_1=$7(Math_imul($2_1,12));HEAP32[$9_1+8>>2]=$2_1;if(!$2_1){break label$12}while(1){if(HEAP32[$9_1+12>>2]<=($6_1|0)){break label$18}$2_1=Math_imul($6_1,12);if(($47(($2_1+HEAP32[$9_1+8>>2]|0)+8|0,4,1,$1_1)|0)!=1){break label$26}if(($47(($2_1+HEAP32[$9_1+8>>2]|0)+4|0,4,1,$1_1)|0)!=1){break label$26}$2_1=$2_1+HEAP32[$9_1+8>>2]|0;$3_1=HEAP32[$2_1+4>>2];$4_1=$7(Math_imul($3_1,12));HEAP32[$2_1>>2]=$4_1;if(!$4_1){break label$12}$6_1=$6_1+1|0;if(($47($4_1,12,$3_1,$1_1)|0)==($3_1|0)){continue}break}}$5(0,3,14736,0);$1(HEAP32[$9_1+8>>2]);$1(HEAP32[$9_1>>2]);$1($9_1);$87($1_1)}$1_1=-1;break label$17}HEAP32[$17_1+72>>2]=$9_1;$87($1_1);$1_1=0}global$0=$7_1+16|0;label$13:{label$14:{if(($1_1|0)<0){HEAP32[$17_1>>2]=$34_1;$5(0,3,36747,$17_1);break label$14}HEAP32[$17_1+48>>2]=$39_1;$5(0,1,37721,$17_1+48|0);$1_1=0;$7_1=HEAP32[$17_1+72>>2];label$32:{if($7_1){$2_1=HEAP32[$7_1+4>>2];$4_1=($2_1|0)>0?$2_1:0;while(1)if(($1_1|0)==($4_1|0)){$6_1=0;$1_1=HEAP32[$7_1+12>>2];$4_1=($1_1|0)>0?$1_1:0;$1_1=0;while(1){if(($1_1|0)==($4_1|0)){break label$32}$3_1=HEAP32[$7_1+8>>2]+Math_imul($1_1,12)|0;$2_1=HEAP32[$3_1+8>>2];if(!(($2_1|0)>=0?0:($2_1|0)!=-1)){HEAP32[$3_1+8>>2]=$39_1}$1_1=$1_1+1|0;continue}}else{$3_1=HEAP32[$7_1>>2]+Math_imul($1_1,132)|0;$2_1=HEAP32[$3_1+124>>2];if(!(($2_1|0)>=0?0:($2_1|0)!=-1)){HEAP32[$3_1+124>>2]=$39_1}$1_1=$1_1+1|0;continue}}$5(0,3,15179,0);$6_1=-1}if(($6_1|0)<0){$5(0,3,36540,0);break label$14}$1_1=0;label$41:{$22_1=$17_1+72|0;if(!($22_1?$17_1+76|0:0)){$5(0,3,7186,0);$1_1=-1;break label$41}label$43:{$14_1=HEAP32[$17_1+76>>2];if(!$14_1){$14_1=$7(16);HEAP32[$17_1+76>>2]=$14_1;if(!$14_1){break label$43}HEAP32[$14_1>>2]=0;HEAP32[$14_1+4>>2]=0;HEAP32[$14_1+8>>2]=0;HEAP32[$14_1+12>>2]=0}label$45:{$7_1=HEAP32[$22_1>>2];if(!$7_1){break label$45}$6_1=HEAP32[$7_1+4>>2];$8_1=HEAP32[$14_1+4>>2];$4_1=$6_1+$8_1|0;$9_1=$7(Math_imul($4_1,132));if($9_1){$3_1=($8_1|0)>0?$8_1:0;while(1)if(($1_1|0)==($3_1|0)){$1_1=0;$2_1=($6_1|0)>0?$6_1:0;while(1){if(($1_1|0)!=($2_1|0)){wasm2js_memory_copy($9_1+Math_imul($1_1+$8_1|0,132)|0,HEAP32[$7_1>>2]+Math_imul($1_1,132)|0,132);$1_1=$1_1+1|0;continue}break}$1(HEAP32[$14_1>>2]);HEAP32[HEAP32[$17_1+76>>2]>>2]=$9_1;$6_1=HEAP32[$17_1+76>>2];HEAP32[$6_1+4>>2]=$4_1;$14_1=0;$35_1=HEAP32[$6_1+12>>2];$26_1=($35_1|0)>0?$35_1:0;$3_1=HEAP32[$22_1>>2];$4_1=HEAP32[$3_1+12>>2];$15_1=($4_1|0)>0?$4_1:0;while(1){$1_1=0;if(($11_1|0)!=($15_1|0)){label$53:{while(1){if(($1_1|0)==($26_1|0)){break label$53}$2_1=Math_imul($1_1,12);$1_1=$1_1+1|0;if(HEAP32[(HEAP32[$3_1+8>>2]+Math_imul($11_1,12)|0)+8>>2]!=HEAP32[($2_1+HEAP32[$6_1+8>>2]|0)+8>>2]){continue}break}$14_1=$14_1+1|0}$11_1=$11_1+1|0;continue}break}$7_1=($4_1+$35_1|0)-$14_1|0;$29_1=$7(Math_imul($7_1,12));if($29_1){while(1){if(($10_1|0)==($26_1|0)){$14_1=0;$6_1=0;label$58:{while(1){if(($14_1|0)!=($15_1|0)){$4_1=Math_imul($14_1,12);$3_1=$4_1+HEAP32[HEAP32[$22_1>>2]+8>>2]|0;$9_1=HEAP32[$3_1+8>>2];$1_1=0;label$61:{label$62:{while(1){if(($1_1|0)==($26_1|0)){break label$62}$2_1=Math_imul($1_1,12);$1_1=$1_1+1|0;if(($9_1|0)!=HEAP32[($2_1+HEAP32[HEAP32[$17_1+76>>2]+8>>2]|0)+8>>2]){continue}break}$6_1=$6_1+1|0;break label$61}$10_1=$29_1+Math_imul(($14_1+$35_1|0)-$6_1|0,12)|0;HEAP32[$10_1+8>>2]=$9_1;$19_1=HEAP32[$3_1+4>>2];$1_1=$7(Math_imul($19_1,12));HEAP32[$10_1>>2]=$1_1;if(!$1_1){break label$58}$1_1=0;$3_1=($19_1|0)>0?$19_1:0;while(1){if(($1_1|0)!=($3_1|0)){$2_1=Math_imul($1_1,12);$8_1=$2_1+HEAP32[$10_1>>2]|0;$9_1=$2_1+HEAP32[$4_1+HEAP32[HEAP32[$22_1>>2]+8>>2]>>2]|0;$2_1=HEAP32[$9_1+4>>2];HEAP32[$8_1>>2]=HEAP32[$9_1>>2];HEAP32[$8_1+4>>2]=$2_1;HEAP32[$8_1+8>>2]=HEAP32[$9_1+8>>2];$1_1=$1_1+1|0;continue}break}HEAP32[$10_1+4>>2]=$19_1}$14_1=$14_1+1|0;continue}break}$6_1=HEAP32[$17_1+76>>2];if(HEAP32[$6_1+8>>2]){$1_1=0;while(1){$2_1=HEAP32[$6_1+8>>2];if(HEAP32[$6_1+12>>2]>($1_1|0)){$1(HEAP32[$2_1+Math_imul($1_1,12)>>2]);$1_1=$1_1+1|0;$6_1=HEAP32[$17_1+76>>2];continue}break}$1($2_1);$6_1=HEAP32[$17_1+76>>2]}HEAP32[$6_1+8>>2]=$29_1;HEAP32[HEAP32[$17_1+76>>2]+12>>2]=$7_1;$951($22_1);break label$45}break label$43}$19_1=Math_imul($10_1,12);$5_1=$19_1+$29_1|0;$3_1=$19_1+HEAP32[HEAP32[$17_1+76>>2]+8>>2]|0;HEAP32[$5_1+8>>2]=HEAP32[$3_1+8>>2];$1_1=0;$8_1=HEAP32[$3_1+4>>2];$14_1=$8_1;while(1){if(($1_1|0)!=($15_1|0)){$2_1=HEAP32[HEAP32[$22_1>>2]+8>>2]+Math_imul($1_1,12)|0;if(HEAP32[$2_1+8>>2]==HEAP32[$3_1+8>>2]){$14_1=HEAP32[$2_1+4>>2]+$14_1|0}$1_1=$1_1+1|0;continue}break}$1_1=$7(Math_imul($14_1,12));HEAP32[$5_1>>2]=$1_1;if($1_1){$6_1=0;$3_1=($8_1|0)>0?$8_1:0;$1_1=0;while(1){if(($1_1|0)!=($3_1|0)){$2_1=Math_imul($1_1,12);$9_1=$2_1+HEAP32[$5_1>>2]|0;$4_1=$2_1+HEAP32[$19_1+HEAP32[HEAP32[$17_1+76>>2]+8>>2]>>2]|0;$2_1=HEAP32[$4_1+4>>2];HEAP32[$9_1>>2]=HEAP32[$4_1>>2];HEAP32[$9_1+4>>2]=$2_1;HEAP32[$9_1+8>>2]=HEAP32[$4_1+8>>2];$1_1=$1_1+1|0;continue}break}label$76:{while(1){if(($6_1|0)==($15_1|0)){break label$76}$11_1=HEAP32[HEAP32[$22_1>>2]+8>>2];$3_1=Math_imul($6_1,12);if(HEAP32[($11_1+$3_1|0)+8>>2]!=HEAP32[($19_1+HEAP32[HEAP32[$17_1+76>>2]+8>>2]|0)+8>>2]){$6_1=$6_1+1|0;continue}break}$1_1=0;while(1){$2_1=$3_1+$11_1|0;if(HEAP32[$2_1+4>>2]<=($1_1|0)){break label$76}$6_1=HEAP32[$2_1>>2]+Math_imul($1_1,12)|0;$2_1=HEAP32[$6_1+4>>2];$4_1=HEAP32[$5_1>>2]+Math_imul($1_1+$8_1|0,12)|0;HEAP32[$4_1>>2]=HEAP32[$6_1>>2];HEAP32[$4_1+4>>2]=$2_1;HEAP32[$4_1+8>>2]=HEAP32[$6_1+8>>2];$1_1=$1_1+1|0;$11_1=HEAP32[HEAP32[$22_1>>2]+8>>2];continue}}HEAP32[$5_1+4>>2]=$14_1;$10_1=$10_1+1|0;continue}break}break label$43}break label$43}else{$2_1=Math_imul($1_1,132);wasm2js_memory_copy($2_1+$9_1|0,$2_1+HEAP32[$14_1>>2]|0,132);$1_1=$1_1+1|0;continue}}break label$43}$1_1=0;break label$41}break label$12}if(($1_1|0)<0){$5(0,3,36576,0);break label$14}$5(0,1,37275,0);HEAP32[$17_1+32>>2]=$34_1;$5(0,1,36498,$17_1+32|0);$35_1=($39_1<<2)+$38_1|0;$2_1=0;$12_1=global$0-976|0;global$0=$12_1;label$82:{label$83:{label$84:{label$85:{label$86:{label$87:{if(HEAPU8[29613]){if($248(29613,1040)){break label$87}}HEAP8[$353($12_1+720|0,$34_1,255)+255|0]=0;$22_1=1;break label$86}HEAP32[$12_1+176>>2]=$34_1;HEAP32[$12_1+180>>2]=29613;$1_1=$12_1+192|0;$250($1_1,1866,$12_1+176|0);$30_1=$216($1_1,3112);if(!$30_1){HEAP32[$12_1+160>>2]=$34_1;$5(0,3,3779,$12_1+160|0);HEAP32[$12_1+148>>2]=$247(HEAP32[$22()>>2]);HEAP32[$12_1+144>>2]=5658;$5(0,3,4423,$12_1+144|0);break label$85}$22_1=0}label$90:{label$91:{$13_1=$7(1140);if($13_1){$14_1=1;label$93:{if($22_1){break label$93}if(!$305($12_1+192|0,$30_1)){break label$91}HEAP32[$12_1+128>>2]=$12_1+716;if(($124($12_1+192|0,6631,$12_1+128|0)|0)!=1){break label$91}$14_1=HEAP32[$12_1+716>>2];if(($14_1|0)>0){break label$93}break label$91}HEAP32[$13_1+152>>2]=0;HEAP32[$13_1+4>>2]=$14_1;$31_1=$7(Math_imul($14_1,112));HEAP32[$13_1>>2]=$31_1;if($31_1){label$95:{while(1){HEAP32[$12_1+716>>2]=$2_1;if(($2_1|0)>=($14_1|0)){break label$95}HEAP32[$12_1+112>>2]=$2_1+1;$5(0,1,8089,$12_1+112|0);if(!$22_1){if(!$305($12_1+192|0,$30_1)){break label$95}HEAP32[$12_1+96>>2]=$12_1+720;if(($124($12_1+192|0,8155,$12_1+96|0)|0)!=1){break label$95}$4_1=$12_1+720|0;$1_1=0;$2_1=-1;while(1){label$99:{$3_1=HEAPU8[$1_1+$4_1|0];label$100:{if(($3_1|0)!=46){if($3_1){break label$100}if(($2_1|0)!=-1){HEAP8[$2_1+$4_1|0]=0}break label$99}$2_1=$1_1}$1_1=$1_1+1|0;continue}break}}$5(0,1,9296,0);$23_1=global$0-96|0;global$0=$23_1;HEAP16[$23_1+88>>1]=HEAPU8[21316]|HEAPU8[21317]<<8;HEAP32[$23_1+84>>2]=HEAPU8[21312]|HEAPU8[21313]<<8|(HEAPU8[21314]<<16|HEAPU8[21315]<<24);label$105:{label$106:{$26_1=$12_1+720|0;$1_1=$7(($86($26_1)+$86($23_1+84|0)|0)+1|0);if($1_1){HEAP32[$23_1+64>>2]=$26_1;HEAP32[$23_1+68>>2]=$23_1+84;$250($1_1,1861,$23_1- -64|0);$28_1=$216($1_1,3218);$1($1_1);if(!$28_1){HEAP32[$23_1>>2]=$26_1;HEAP32[$23_1+4>>2]=$23_1+84;$5(0,3,4010,$23_1);$1_1=0;break label$105}$9_1=$7(8);if(!$9_1){break label$2}label$109:{label$110:{if(($47($9_1+4|0,4,1,$28_1)|0)==1){$27_1=HEAP32[$9_1+4>>2];if(($27_1|0)>0){break label$110}}$5(0,3,4530,0);break label$109}HEAP32[$23_1+48>>2]=$27_1;$5(0,1,5379,$23_1+48|0);$33_1=$7($27_1<<2);HEAP32[$9_1>>2]=$33_1;if(!$33_1){break label$2}$1_1=$7(16);HEAP32[$33_1>>2]=$1_1;if(!$1_1){break label$2}label$112:{$4_1=$7(20);if($4_1){$29_1=$4_1+8|0;$10_1=$4_1+12|0;$19_1=$4_1+4|0;$5_1=$4_1+16|0;$11_1=global$0-800|0;global$0=$11_1;$6_1=$7(40);HEAP32[$6_1>>2]=0;wasm2js_memory_fill($11_1+312|0,0,488);$1_1=global$9;HEAP32[$1_1>>2]=0;$7_1=$665($11_1+24|0);$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;$15_1=4;label$114:{label$115:{label$116:{label$117:{if(!$2_1){break label$117}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$117}$1_1=$123(HEAP32[$2_1>>2],$6_1,4);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)!=1){HEAP32[$11_1+24>>2]=4;HEAP32[$11_1+312>>2]=$7_1;$6_1=$582($11_1+156|0,1,$6_1,4);$15_1=global$6;$2_1=0}label$119:while(1){if($2_1){$1_1=global$9;HEAP32[$1_1>>2]=0;fimport$9(5,$11_1+312|0);$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;label$121:{if(!$2_1){break label$121}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$121}$1_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)==1){continue}$1_1=global$9;HEAP32[$1_1>>2]=0;fimport$10(6,0,3,6325,0);$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;label$122:{if(!$2_1){break label$122}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$122}$1_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)==1){continue}break label$115}$1_1=global$9;HEAP32[$1_1>>2]=0;fimport$34(7,$11_1+312|0,90,488);$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;label$123:{if(!$2_1){break label$123}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$123}$1_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)==1){continue}$1_1=global$9;HEAP32[$1_1>>2]=0;fimport$23(8,$11_1+312|0,$28_1|0);$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;label$124:{if(!$2_1){break label$124}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$124}$1_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)==1){continue}$1_1=global$9;HEAP32[$1_1>>2]=0;$7_1=fimport$21(9,$11_1+312|0,1)|0;$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;label$125:{if(!$2_1){break label$125}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$125}$1_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)==1){continue}if(($7_1|0)!=1){$1_1=global$9;HEAP32[$1_1>>2]=0;fimport$10(6,0,3,7073,0);$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;label$127:{if(!$2_1){break label$127}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$127}$1_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)==1){continue}$1_1=global$9;HEAP32[$1_1>>2]=0;fimport$9(5,$11_1+312|0);$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;label$128:{if(!$2_1){break label$128}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$128}$1_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)==1){continue}break label$115}$1_1=global$9;HEAP32[$1_1>>2]=0;fimport$19(10,$11_1+312|0)|0;$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;label$129:{if(!$2_1){break label$129}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$129}$1_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)==1){continue}$8_1=Math_imul(HEAP32[$11_1+340>>2],HEAP32[$11_1+348>>2]);$16_1=$7(Math_imul($8_1,HEAP32[$11_1+344>>2]));if($16_1){$1_1=0;label$131:{label$132:{label$133:{while(1){label$135:{$2_1=0;if(HEAPU32[$11_1+452>>2]>=HEAPU32[$11_1+428>>2]){$1_1=global$9;HEAP32[$1_1>>2]=0;fimport$19(11,$11_1+312|0)|0;$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;label$137:{if(!$2_1){break label$137}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$137}$1_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)==1){continue label$119}$1_1=global$9;HEAP32[$1_1>>2]=0;fimport$9(5,$11_1+312|0);$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;label$138:{if(!$2_1){break label$138}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$138}$1_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)==1){continue label$119}if($29_1){HEAP32[$29_1>>2]=HEAP32[$11_1+340>>2]}if($10_1){HEAP32[$10_1>>2]=HEAP32[$11_1+344>>2]}if($19_1){HEAP32[$19_1>>2]=HEAP32[$11_1+348>>2]}if(!$5_1){break label$114}$3_1=HEAPU8[$11_1+602|0];switch($3_1-1|0){case 1:break label$133;case 0:break label$135;default:break label$132}}while(1){if(($2_1|0)!=5){HEAP32[$11_1+($2_1<<2)>>2]=Math_imul($8_1,$1_1+$2_1|0)+$16_1;$2_1=$2_1+1|0;continue}break}$3_1=global$9;HEAP32[$3_1>>2]=0;$7_1=fimport$20(12,$11_1+312|0,$11_1|0,5)|0;$2_1=HEAP32[$3_1>>2];HEAP32[$3_1>>2]=0;$3_1=global$10;$24_1=-1;label$144:{if(!$2_1){break label$144}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$144}$24_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$24_1){break label$116}global$6=$3_1}$2_1=global$6;if(($24_1|0)==1){continue label$119}$1_1=$1_1+$7_1|0;continue}break}$1_1=HEAPU16[$11_1+604>>1];$2_1=HEAPU16[$11_1+606>>1];if(($1_1|0)!=($2_1|0)){break label$131}HEAPF32[$5_1>>2]=$1_1>>>0;break label$114}$1_1=HEAPU16[$11_1+604>>1];$2_1=HEAPU16[$11_1+606>>1];if(($1_1|0)!=($2_1|0)){break label$131}HEAPF32[$5_1>>2]=Math_fround($1_1>>>0)*Math_fround(2.5399999618530273);break label$114}$2_1=HEAPU16[$11_1+606>>1];$1_1=HEAPU16[$11_1+604>>1]}if(!($1_1&65535|$3_1>>>0<3|$2_1)){HEAPF32[$5_1>>2]=$3_1>>>0;break label$114}HEAP32[$5_1>>2]=0;break label$114}$1_1=global$9;HEAP32[$1_1>>2]=0;fimport$10(6,0,3,1806,0);$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;label$146:{if(!$2_1){break label$146}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$146}$1_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)==1){continue}$1_1=global$9;HEAP32[$1_1>>2]=0;fimport$9(5,$11_1+312|0);$2_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;$3_1=global$10;$1_1=-1;label$147:{if(!$2_1){break label$147}$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$147}$1_1=$123(HEAP32[$2_1>>2],$6_1,$15_1);if(!$1_1){break label$116}global$6=$3_1}$2_1=global$6;if(($1_1|0)==1){continue}break}break label$115}$1($6_1);$581($2_1,$3_1);abort()}$16_1=0}$1($6_1);global$0=$11_1+800|0;HEAP32[$4_1>>2]=$16_1;if(!$16_1){$1($4_1);$4_1=0}break label$112}break label$2}if(!$4_1){break label$106}if(HEAP32[$4_1+4>>2]!=1){HEAP32[$23_1+32>>2]=$26_1;HEAP32[$23_1+36>>2]=$23_1+84;$5(0,2,6232,$23_1+32|0);$1(HEAP32[$33_1>>2]);$1($33_1);$1($9_1);$1($4_1);$87($28_1);$1_1=0;break label$105}$1_1=HEAP32[$33_1>>2];HEAP32[$1_1+4>>2]=HEAP32[$4_1+8>>2];HEAP32[$1_1+8>>2]=HEAP32[$4_1+12>>2];HEAPF32[$1_1+12>>2]=HEAPF32[$4_1+16>>2];HEAP32[$1_1>>2]=HEAP32[$4_1>>2];$1($4_1);$364($28_1,4-($27_1<<2)|0,2);$25_1=1;label$151:{while(1){if(($25_1|0)!=($27_1|0)){if(($47($23_1+92|0,4,1,$28_1)|0)!=1){$1_1=0;while(1){if(($1_1|0)==($25_1|0)){break label$151}$2_1=($1_1<<2)+$33_1|0;$1(HEAP32[HEAP32[$2_1>>2]>>2]);$1(HEAP32[$2_1>>2]);$1_1=$1_1+1|0;continue}}$26_1=($25_1<<2)+$33_1|0;$37_1=HEAPF32[$23_1+92>>2];$20_1=HEAP32[$33_1>>2];$2_1=HEAP32[$20_1+4>>2];$32_1=HEAPF32[$20_1+12>>2];$1_1=HEAP32[$20_1+8>>2];$21_1=$7(16);$3_1=$252(Math_fround(Math_fround(Math_fround($1_1|0)*$37_1)/$32_1));$2_1=$252(Math_fround(Math_fround(Math_fround($2_1|0)*$37_1)/$32_1));label$156:{if($21_1){label$158:{HEAPF32[$21_1+12>>2]=$37_1;HEAP32[$21_1+8>>2]=$3_1;HEAP32[$21_1+4>>2]=$2_1;$16_1=$7(Math_imul($2_1,$3_1));HEAP32[$21_1>>2]=$16_1;if(!$16_1){break label$158}$1_1=0;$29_1=($3_1|0)>0?$3_1:0;$10_1=($2_1|0)>0?$2_1:0;label$159:while(1){if(($1_1|0)!=($29_1|0)){$3_1=HEAP32[$20_1+8>>2];$32_1=HEAPF32[$20_1+12>>2];$4_1=$1_1+1|0;$2_1=$252(Math_fround(Math_fround($32_1*Math_fround($4_1|0))/$37_1));$7_1=$252(Math_fround(Math_fround($32_1*Math_fround($1_1|0))/$37_1));$1_1=($2_1|0)<($3_1|0)?$2_1:$3_1;$19_1=($1_1|0)<($7_1|0)?$7_1:$1_1;$1_1=0;while(1)if(($1_1|0)==($10_1|0)){$1_1=$4_1;continue label$159}else{$11_1=HEAP32[$20_1+4>>2];$32_1=HEAPF32[$20_1+12>>2];$2_1=$1_1+1|0;$3_1=$252(Math_fround(Math_fround($32_1*Math_fround($2_1|0))/$37_1));$15_1=$252(Math_fround(Math_fround($32_1*Math_fround($1_1|0))/$37_1));$1_1=($3_1|0)<($11_1|0)?$3_1:$11_1;$8_1=(($1_1|0)<($15_1|0)?$15_1:$1_1)-$15_1|0;$1_1=0;$3_1=$7_1;$5_1=0;while(1){if(($3_1|0)!=($19_1|0)){$6_1=$1_1+$8_1|0;$24_1=HEAP32[$20_1>>2]+($15_1+Math_imul($3_1,$11_1)|0)|0;while(1){if(($1_1|0)!=($6_1|0)){$1_1=$1_1+1|0;$5_1=HEAPU8[$24_1|0]+$5_1|0;$24_1=$24_1+1|0;continue}break}$3_1=$3_1+1|0;$1_1=$6_1;continue}break}HEAP8[$16_1|0]=($5_1|0)/($1_1|0);$16_1=$16_1+1|0;$1_1=$2_1;continue}}break}break label$156}}break label$2}HEAP32[$26_1>>2]=$21_1;if($21_1){$25_1=$25_1+1|0;continue}else{$1_1=0;while(1){if(($1_1|0)==($25_1|0)){break label$151}$2_1=($1_1<<2)+$33_1|0;$1(HEAP32[HEAP32[$2_1>>2]>>2]);$1(HEAP32[$2_1>>2]);$1_1=$1_1+1|0;continue}}}break}$87($28_1);$1_1=$9_1;break label$105}$1($33_1)}$1($9_1);$87($28_1);$1_1=0;break label$105}break label$2}HEAP32[$23_1+16>>2]=$26_1;HEAP32[$23_1+20>>2]=$23_1+84;$5(0,2,6232,$23_1+16|0);$1(HEAP32[$33_1>>2]);$1($33_1);$1($9_1);$607($28_1);$1_1=0;label$173:{label$174:{$3_1=$7(8);if($3_1){label$176:{if(($47($3_1+4|0,4,1,$28_1)|0)==1){$9_1=HEAP32[$3_1+4>>2];if(($9_1|0)>0){break label$176}}$5(0,3,4530,0);break label$174}$8_1=$7($9_1<<2);HEAP32[$3_1>>2]=$8_1;if($8_1){$6_1=1;while(1){if(($1_1|0)==($9_1|0)){$1_1=0;while(1){if(($1_1|0)==($9_1|0)){break label$173}label$182:{label$183:{$7_1=$8_1+($1_1<<2)|0;if(($47(HEAP32[$7_1>>2]+4|0,4,1,$28_1)|0)!=1){$2_1=0;while(1)if(($1_1|0)==($2_1|0)){$1_1=0;while(1){if(($1_1|0)==($9_1|0)){break label$183}$1(HEAP32[$8_1+($1_1<<2)>>2]);$1_1=$1_1+1|0;continue}}else{$1(HEAP32[HEAP32[$8_1+($2_1<<2)>>2]>>2]);$2_1=$2_1+1|0;continue}}if(($47(HEAP32[$7_1>>2]+8|0,4,1,$28_1)|0)!=1){$2_1=0;while(1)if(($1_1|0)==($2_1|0)){$1_1=0;while(1){if(($1_1|0)==($9_1|0)){break label$183}$1(HEAP32[$8_1+($1_1<<2)>>2]);$1_1=$1_1+1|0;continue}}else{$1(HEAP32[HEAP32[$8_1+($2_1<<2)>>2]>>2]);$2_1=$2_1+1|0;continue}}if(($47(HEAP32[$7_1>>2]+12|0,4,1,$28_1)|0)!=1){$2_1=0;while(1)if(($1_1|0)==($2_1|0)){$1_1=0;while(1){if(($1_1|0)==($9_1|0)){break label$183}$1(HEAP32[$8_1+($1_1<<2)>>2]);$1_1=$1_1+1|0;continue}}else{$1(HEAP32[HEAP32[$8_1+($2_1<<2)>>2]>>2]);$2_1=$2_1+1|0;continue}}$4_1=HEAP32[$7_1>>2];$2_1=$7(Math_imul(HEAP32[$4_1+8>>2],HEAP32[$4_1+4>>2]));HEAP32[$4_1>>2]=$2_1;if($2_1){$2_1=HEAP32[$7_1>>2];$4_1=$47(HEAP32[$2_1>>2],1,Math_imul(HEAP32[$2_1+8>>2],HEAP32[$2_1+4>>2]),$28_1);$2_1=HEAP32[$7_1>>2];if(($4_1|0)==(Math_imul(HEAP32[$2_1+8>>2],HEAP32[$2_1+4>>2])|0)){break label$182}$1_1=0;while(1)if(($1_1|0)==($6_1|0)){$1_1=0;while(1){if(($1_1|0)==($9_1|0)){break label$183}$1(HEAP32[$8_1+($1_1<<2)>>2]);$1_1=$1_1+1|0;continue}}else{$1(HEAP32[HEAP32[$8_1+($1_1<<2)>>2]>>2]);$1_1=$1_1+1|0;continue}}break label$2}$1($8_1);break label$174}$6_1=$6_1+1|0;$1_1=$1_1+1|0;continue}}$2_1=$7(16);HEAP32[$8_1+($1_1<<2)>>2]=$2_1;$1_1=$1_1+1|0;if($2_1){continue}break}break label$2}break label$2}break label$2}$1($3_1);$3_1=0}$87($28_1);$1_1=$3_1}global$0=$23_1+96|0;HEAP32[Math_imul(HEAP32[$12_1+716>>2],112)+$31_1>>2]=$1_1;if(!$1_1){HEAP32[$12_1>>2]=$12_1+720;$5(0,3,10235,$12_1);$1($31_1);$1($13_1);if(!$30_1){break label$90}$87($30_1);break label$90}$5(0,1,10933,0);$5(0,1,11447,0);$6_1=0;$3_1=0;$9_1=global$0-544|0;global$0=$9_1;$2_1=$12_1+720|0;HEAP32[$9_1+16>>2]=$2_1;HEAP32[$9_1+20>>2]=1040;$1_1=$9_1+32|0;$250($1_1,1051,$9_1+16|0);label$205:{label$206:{$19_1=$216($1_1,2567);label$207:{if(!$19_1){HEAP32[$9_1>>2]=$2_1;$5(0,3,3318,$9_1);break label$207}label$209:{label$210:{$6_1=$7(8);if($6_1){if(($47($6_1+4|0,4,1,$19_1)|0)!=1){$5(0,3,4714,0);break label$210}$1_1=HEAP32[$6_1+4>>2];$7_1=$7(Math_imul($1_1,20));HEAP32[$6_1>>2]=$7_1;if($7_1){$2_1=($1_1|0)>0?$1_1:0;while(1){if(($2_1|0)==($3_1|0)){break label$209}label$215:{$8_1=$7_1+Math_imul($3_1,20)|0;label$216:{if(($47($8_1+8|0,4,1,$19_1)|0)!=1){break label$216}if(($47($8_1+12|0,4,1,$19_1)|0)!=1){break label$216}if(($47($8_1+16|0,4,1,$19_1)|0)!=1){break label$216}if(($47($8_1+4|0,4,1,$19_1)|0)!=1){break label$216}$1_1=$7(Math_imul(HEAP32[$8_1+4>>2],20));HEAP32[$8_1>>2]=$1_1;$4_1=0;if(!$1_1){break label$206}while(1){if(HEAP32[$8_1+4>>2]<=($4_1|0)){break label$215}$1_1=Math_imul($4_1,20);if(($47($1_1+HEAP32[$8_1>>2]|0,4,1,$19_1)|0)!=1){break label$216}if(($47(($1_1+HEAP32[$8_1>>2]|0)+4|0,4,1,$19_1)|0)!=1){break label$216}if(($47(($1_1+HEAP32[$8_1>>2]|0)+8|0,4,1,$19_1)|0)!=1){break label$216}if(($47(($1_1+HEAP32[$8_1>>2]|0)+12|0,4,1,$19_1)|0)!=1){break label$216}$4_1=$4_1+1|0;if(($47(($1_1+HEAP32[$8_1>>2]|0)+16|0,4,1,$19_1)|0)==1){continue}break}}$2_1=0;$5(0,3,4714,0);while(1){if(($2_1|0)!=($3_1|0)){$1(HEAP32[$7_1+Math_imul($2_1,20)>>2]);$2_1=$2_1+1|0;continue}break}$1($7_1);break label$210}$3_1=$3_1+1|0;continue}}break label$206}break label$206}$1($6_1);$6_1=0}$87($19_1)}global$0=$9_1+544|0;break label$205}$5(0,3,4058,0);break label$1}HEAP32[(Math_imul(HEAP32[$12_1+716>>2],112)+$31_1|0)+4>>2]=$6_1;if(!$6_1){HEAP32[$12_1+16>>2]=$12_1+720;$5(0,3,12092,$12_1+16|0);$2_1=0;$3_1=Math_imul(HEAP32[$12_1+716>>2],112)+$31_1|0;label$221:{if(!$3_1){break label$221}$6_1=HEAP32[$3_1>>2];if(!$6_1){break label$221}while(1){$1_1=HEAP32[$6_1>>2];if(HEAP32[$6_1+4>>2]>($2_1|0)){$6_1=$1_1;$1_1=$2_1<<2;$1(HEAP32[HEAP32[$6_1+$1_1>>2]>>2]);$1(HEAP32[$1_1+HEAP32[HEAP32[$3_1>>2]>>2]>>2]);$2_1=$2_1+1|0;$6_1=HEAP32[$3_1>>2];continue}break}$1($1_1);$1(HEAP32[$3_1>>2]);HEAP32[$3_1>>2]=0}$1($31_1);$1($13_1);if(!$30_1){break label$90}$87($30_1);break label$90}$5(0,1,10933,0);HEAP32[(Math_imul(HEAP32[$12_1+716>>2],112)+$31_1|0)+8>>2]=0;label$224:{label$225:{if($22_1){$1_1=0;$6_1=HEAP32[$12_1+716>>2];while(1){$2_1=0;if(($1_1|0)==3){break label$225}while(1){if(($2_1|0)!=4){HEAPF32[(((Math_imul($6_1,112)+$31_1|0)+($1_1<<4)|0)+($2_1<<2)|0)+12>>2]=($1_1|0)==($2_1|0)?Math_fround(1):Math_fround(0);$2_1=$2_1+1|0;continue}break}$1_1=$1_1+1|0;continue}}if(!$305($12_1+192|0,$30_1)){break label$95}$1_1=Math_imul(HEAP32[$12_1+716>>2],112)+$31_1|0;HEAP32[$12_1+64>>2]=$1_1+12;HEAP32[$12_1+68>>2]=$1_1+16;HEAP32[$12_1+72>>2]=$1_1+20;HEAP32[$12_1+76>>2]=$1_1+24;if(($124($12_1+192|0,15465,$12_1- -64|0)|0)!=4){break label$84}if(!$305($12_1+192|0,$30_1)){break label$95}$1_1=Math_imul(HEAP32[$12_1+716>>2],112)+$31_1|0;HEAP32[$12_1+48>>2]=$1_1+28;HEAP32[$12_1+52>>2]=$1_1+32;HEAP32[$12_1+56>>2]=$1_1+36;HEAP32[$12_1+60>>2]=$1_1+40;if(($124($12_1+192|0,15465,$12_1+48|0)|0)!=4){break label$84}if(!$305($12_1+192|0,$30_1)){break label$95}$1_1=Math_imul(HEAP32[$12_1+716>>2],112)+$31_1|0;HEAP32[$12_1+32>>2]=$1_1+44;HEAP32[$12_1+36>>2]=$1_1+48;HEAP32[$12_1+40>>2]=$1_1+52;HEAP32[$12_1+44>>2]=$1_1+56;if(($124($12_1+192|0,15465,$12_1+32|0)|0)!=4){break label$224}$6_1=HEAP32[$12_1+716>>2]}$1_1=Math_imul($6_1,112)+$31_1|0;$4_1=$1_1+12|0;$6_1=$1_1+60|0;$1_1=0;$7_1=$136(4,4);$9_1=HEAP32[$7_1>>2];while(1){if(($1_1|0)!=3){$3_1=$1_1<<2;$2_1=0;while(1){if(($2_1|0)!=4){HEAPF64[$9_1+($2_1+$3_1<<3)>>3]=HEAPF32[($4_1+($1_1<<4)|0)+($2_1<<2)>>2];$2_1=$2_1+1|0;continue}break}$1_1=$1_1+1|0;continue}break}HEAP32[$9_1+96>>2]=0;HEAP32[$9_1+100>>2]=0;HEAP32[$9_1+120>>2]=0;HEAP32[$9_1+124>>2]=1072693248;HEAP32[$9_1+112>>2]=0;HEAP32[$9_1+116>>2]=0;HEAP32[$9_1+104>>2]=0;HEAP32[$9_1+108>>2]=0;$317($7_1);$4_1=HEAP32[$7_1>>2];$1_1=0;while(1){if(($1_1|0)!=3){$3_1=$1_1<<2;$2_1=0;while(1){if(($2_1|0)!=4){HEAPF32[($6_1+($1_1<<4)|0)+($2_1<<2)>>2]=HEAPF64[$4_1+($2_1+$3_1<<3)>>3];$2_1=$2_1+1|0;continue}break}$1_1=$1_1+1|0;continue}break}$17($7_1);$6_1=$12_1+720|0;$2_1=0;$1_1=0;label$238:{label$239:{while(1){label$241:{$4_1=$1_1+$6_1|0;$3_1=HEAPU8[$4_1|0];label$242:{if(($3_1|0)!=46){if($3_1){break label$242}$3_1=$86(16090);if($2_1){break label$241}if((($1_1+$3_1|0)+2|0)>256){break label$238}HEAP8[$4_1|0]=46;$2_1=$1_1;break label$239}$2_1=$1_1}$1_1=$1_1+1|0;continue}break}if((($2_1+$3_1|0)+2|0)>256){break label$238}}HEAP8[($2_1+$6_1|0)+1|0]=0;$1_1=16090;$6_1=$86($6_1)+$6_1|0;label$244:{label$245:{if(($6_1^16090)&3){$2_1=HEAPU8[16090];break label$245}while(1){$2_1=HEAPU8[$1_1|0];HEAP8[$6_1|0]=$2_1;if(!$2_1){break label$244}$6_1=$6_1+1|0;$1_1=$1_1+1|0;if($1_1&3){continue}break}$2_1=HEAP32[$1_1>>2];if(($2_1^-1)&$2_1-16843009&-2139062144){break label$245}while(1){HEAP32[$6_1>>2]=$2_1;$2_1=HEAP32[$1_1+4>>2];$6_1=$6_1+4|0;$1_1=$1_1+4|0;if(!($2_1-16843009&($2_1^-1)&-2139062144)){continue}break}}HEAP8[$6_1|0]=$2_1;if(!($2_1&255)){break label$244}while(1){$2_1=HEAPU8[$1_1+1|0];HEAP8[$6_1+1|0]=$2_1;$6_1=$6_1+1|0;$1_1=$1_1+1|0;if($2_1){continue}break}}}$2_1=$7(256);$1_1=HEAP32[$12_1+716>>2];HEAP32[(Math_imul($1_1,112)+$31_1|0)+108>>2]=$2_1;if(!$2_1){break label$83}$353($2_1,$12_1+720|0,256);$2_1=$1_1+1|0;continue}break}break label$84}if($30_1){$87($30_1)}if(HEAP32[$12_1+716>>2]>=($14_1|0)){break label$85}fimport$1(0);abort()}break label$83}break label$83}$87($30_1);$1($13_1)}$13_1=0}global$0=$12_1+976|0;break label$82}$5(0,3,16015,0);$87($30_1);fimport$1(0);abort()}$5(0,3,6467,0);break label$1}HEAP32[$35_1+272>>2]=$13_1;if(!$13_1){HEAP32[$17_1+16>>2]=$34_1;$5(0,3,36465,$17_1+16|0)}$5(0,1,37275,0);if(($39_1|0)==10){break label$13}__inlined_func$1337:{$5_1=0;$6_1=0;$35_1=0;$29_1=0;$19_1=0;$15_1=global$0-80|0;global$0=$15_1;label$10:{label$22:{label$33:{$7_1=HEAP32[$17_1+76>>2];if(!$18_1|!$7_1){$1_1=7750}else{if(HEAP32[$7_1+4>>2]){break label$33}$1_1=8648}$5(0,3,$1_1,0);$19_1=-1;break label$22}$1(HEAP32[$18_1+28>>2]);$13_1=HEAP32[$7_1+4>>2];label$6:{if($13_1){$1_1=$7(Math_imul($13_1,132));HEAP32[$18_1+28>>2]=$1_1;if(!$1_1){break label$10}while(1){if(($5_1|0)>=($13_1|0)){break label$6}$1_1=Math_imul($5_1,132);wasm2js_memory_copy($1_1+HEAP32[$18_1+28>>2]|0,$1_1+HEAP32[$7_1>>2]|0,132);$5_1=$5_1+1|0;$13_1=HEAP32[$7_1+4>>2];continue}}$13_1=0;HEAP32[$18_1+28>>2]=0}HEAP32[$18_1+32>>2]=$13_1;if(HEAP32[$18_1+36>>2]){$5_1=0;while(1){$1_1=HEAP32[$18_1+36>>2];if(HEAP32[$18_1+40>>2]>($5_1|0)){$1(HEAP32[$1_1+Math_imul($5_1,12)>>2]);$5_1=$5_1+1|0;continue}break}$1($1_1)}$5_1=HEAP32[$7_1+12>>2];label$126:{if($5_1){$1_1=$7(Math_imul($5_1,12));HEAP32[$18_1+36>>2]=$1_1;if(!$1_1){break label$10}while(1){if(($5_1|0)<=($6_1|0)){break label$126}$4_1=Math_imul($6_1,12);$1_1=$4_1+HEAP32[$18_1+36>>2]|0;$13_1=HEAP32[$7_1+8>>2];$3_1=$4_1+$13_1|0;HEAP32[$1_1+8>>2]=HEAP32[$3_1+8>>2];HEAP32[$1_1+4>>2]=HEAP32[$3_1+4>>2];label$1510:{label$16:{$2_1=HEAP32[$3_1+4>>2];if($2_1){$3_1=$1_1;$1_1=$7(Math_imul($2_1,12));HEAP32[$3_1>>2]=$1_1;$5_1=0;if(!$1_1){break label$10}while(1){if(($2_1|0)<=($5_1|0)){break label$16}$1_1=Math_imul($5_1,12);$3_1=$1_1+HEAP32[$4_1+HEAP32[$18_1+36>>2]>>2]|0;$2_1=$1_1+HEAP32[$4_1+$13_1>>2]|0;$1_1=HEAP32[$2_1+4>>2];HEAP32[$3_1>>2]=HEAP32[$2_1>>2];HEAP32[$3_1+4>>2]=$1_1;HEAP32[$3_1+8>>2]=HEAP32[$2_1+8>>2];$5_1=$5_1+1|0;$13_1=HEAP32[$7_1+8>>2];$2_1=HEAP32[($4_1+$13_1|0)+4>>2];continue}}HEAP32[$3_1>>2]=0;break label$1510}$5_1=HEAP32[$7_1+12>>2]}$6_1=$6_1+1|0;continue}}$5_1=0;HEAP32[$18_1+36>>2]=0}HEAP32[$18_1+40>>2]=$5_1;$1_1=HEAP32[$18_1+52>>2];if($1_1){$1($1_1);HEAP32[$18_1+52>>2]=0;HEAP32[$18_1+56>>2]=0}label$20:{label$2112:{$2_1=HEAP32[$7_1+12>>2];if(($2_1|0)<=0){break label$2112}HEAP32[$18_1+56>>2]=$2_1;$1_1=$7(Math_imul($2_1,68));HEAP32[$18_1+52>>2]=$1_1;if(!$1_1){break label$20}$5_1=0;while(1){if(($2_1|0)==($5_1|0)){break label$2112}HEAP32[($1_1+Math_imul($5_1,68)|0)+64>>2]=0;$5_1=$5_1+1|0;continue}}$1_1=HEAP32[$18_1+32>>2];if(!$1_1){break label$22}$6_1=($1_1|0)>0?$1_1:0;label$23:while(1){$26_1=0;if(HEAP32[$18_1+40>>2]<=($29_1|0)){break label$22}label$24:while(1){$8_1=Math_imul($29_1,12);if(HEAP32[($8_1+HEAP32[$18_1+36>>2]|0)+4>>2]<=($26_1|0)){$29_1=$29_1+1|0;continue label$23}$24_1=$38($15_1- -64|0);$16_1=$38($15_1+48|0);$13_1=0;$25_1=$38($15_1+32|0);while(1){if(($6_1|0)==($13_1|0)){HEAP32[$15_1>>2]=$76($24_1);$5(0,1,10101,$15_1);$1_1=$8_1+HEAP32[$18_1+36>>2]|0;HEAP32[(($35_1<<2)+$18_1|0)+60>>2]=HEAP32[$1_1+8>>2];$9_1=HEAP32[$18_1>>2];$1_1=HEAP32[$1_1>>2]+Math_imul($26_1,12)|0;$2_1=HEAP32[$1_1>>2];$1_1=HEAP32[$1_1+4>>2];$27_1=global$0-32|0;global$0=$27_1;HEAP32[$27_1+28>>2]=$35_1;$22_1=$778($27_1+16|0,$779($48(148)));$105(HEAP32[$22_1>>2],$2_1);$98(HEAP32[$22_1>>2],$1_1);$105($4(HEAP32[$22_1>>2]),96);$777($45($4(HEAP32[$22_1>>2])),$76($24_1));$11_1=$45($4(HEAP32[$22_1>>2]));if(($11_1|0)!=($24_1|0)){$5_1=global$0-16|0;global$0=$5_1;$2_1=HEAP32[$24_1+4>>2];$10_1=HEAP32[$24_1>>2];$8_1=($2_1-$10_1|0)/20|0;label$29:{if($186($11_1)>>>0>=$8_1>>>0){HEAP32[$5_1+12>>2]=$2_1;$3_1=$76($11_1)>>>0>=$8_1>>>0;if($3_1){$1_1=$2_1}else{HEAP32[$5_1+12>>2]=$10_1;$1_1=$76($11_1);HEAP32[$5_1+12>>2]=HEAP32[$5_1+12>>2]+Math_imul($1_1,20);$1_1=HEAP32[$5_1+12>>2]}$7_1=HEAP32[$11_1>>2];$4_1=$1_1-$10_1|0;if(($1_1|0)!=($10_1|0)){wasm2js_memory_copy($7_1,$10_1,$4_1)}if(!$3_1){$761($11_1,HEAP32[$5_1+12>>2],$2_1,$8_1-$76($11_1)|0);break label$29}$774($11_1,$7_1+Math_imul(($4_1|0)/20|0,20)|0);break label$29}if(HEAP32[$11_1>>2]){$76($11_1);$961($11_1);$769($11_1);$4($11_1);$1_1=HEAP32[$11_1>>2];$186($11_1);$1($1_1);HEAP32[$4($11_1)>>2]=0;HEAP32[$11_1>>2]=0;HEAP32[$11_1+4>>2]=0}$760($11_1,$516($11_1,$8_1));$761($11_1,$10_1,$2_1,$8_1)}global$0=$5_1+16|0}$8_1=$34($4(HEAP32[$22_1>>2]));$2_1=$100($25_1);$1_1=$100($8_1);label$3615:{if($2_1>>>0>$1_1>>>0){$3_1=global$0-32|0;global$0=$3_1;$4_1=$2_1-$1_1|0;label$38:{if($4_1>>>0<=HEAP32[$4($8_1)>>2]-HEAP32[$8_1+4>>2]>>>0){$2_1=global$0-16|0;global$0=$2_1;$4_1=$402($2_1,$8_1,$4_1);$5_1=HEAP32[$4_1+4>>2];$1_1=HEAP32[$4_1+8>>2];while(1){if(($1_1|0)==($5_1|0)){$72($4_1);global$0=$2_1+16|0}else{$4($8_1);$739($5_1);$5_1=$5_1+1|0;HEAP32[$4_1+4>>2]=$5_1;continue}break}break label$38}$1_1=$4($8_1);$2_1=$507($3_1+8|0,$400($8_1,$100($8_1)+$4_1|0),$100($8_1),$1_1);$1_1=global$0-16|0;global$0=$1_1;$4_1=$741($1_1,$2_1+8|0,$4_1);$7_1=HEAP32[$4_1>>2];while(1){if(HEAP32[$4_1+4>>2]!=($7_1|0)){$739(HEAP32[$4_1>>2]);$7_1=HEAP32[$4_1>>2]+1|0;HEAP32[$4_1>>2]=$7_1;continue}break}$143($4_1);global$0=$1_1+16|0;$506($8_1,$2_1);$505($2_1)}global$0=$3_1+32|0;break label$3615}if($1_1>>>0>$2_1>>>0){$478($8_1,$2_1+HEAP32[$8_1>>2]|0)}}$10_1=$34($4(HEAP32[$22_1>>2]));if(($10_1|0)!=($25_1|0)){$8_1=global$0-16|0;global$0=$8_1;$3_1=HEAP32[$25_1>>2];$4_1=HEAP32[$25_1+4>>2];$7_1=$475($3_1,$4_1);label$4717:{if($187($10_1)>>>0>=$7_1>>>0){HEAP32[$8_1+12>>2]=$4_1;$2_1=$100($10_1)>>>0>=$7_1>>>0;if($2_1){$1_1=$4_1}else{HEAP32[$8_1+12>>2]=$3_1;HEAP32[$8_1+12>>2]=$100($10_1)+HEAP32[$8_1+12>>2];$1_1=HEAP32[$8_1+12>>2]}$1_1=$764($3_1,$1_1,HEAP32[$10_1>>2]);if(!$2_1){$766($10_1,HEAP32[$8_1+12>>2],$4_1,$7_1-$100($10_1)|0);break label$4717}$478($10_1,$1_1);break label$4717}if(HEAP32[$10_1>>2]){$100($10_1);$551($10_1);$762($10_1);$4($10_1);$1_1=HEAP32[$10_1>>2];$187($10_1);$1($1_1);HEAP32[$4($10_1)>>2]=0;HEAP32[$10_1>>2]=0;HEAP32[$10_1+4>>2]=0}$2_1=$400($10_1,$7_1);if($833($10_1)>>>0<$2_1>>>0){$281();abort()}$4($10_1);$1_1=$48($2_1);HEAP32[$10_1>>2]=$1_1;HEAP32[$10_1+4>>2]=$1_1;HEAP32[$4($10_1)>>2]=$1_1+$2_1;$831($10_1,0);$766($10_1,$3_1,$4_1,$7_1)}global$0=$8_1+16|0}$1_1=HEAP32[$22_1>>2];$10_1=$1_1+36|0;$747($10_1+12|0,128);$748($10_1+12|0);HEAP32[$10_1+104>>2]=8;HEAP32[$10_1+108>>2]=16;$1_1=$1_1+8|0;$4_1=$573($34($1_1),0);$8_1=$81($1_1);$13_1=0;$5_1=global$0-16|0;global$0=$5_1;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$5_1>>2]=0;HEAP32[$5_1+4>>2]=0;HEAP32[$2_1+12>>2]=0;$242($5_1+8|0);if($8_1){if($323($5_1)>>>0<$8_1>>>0){$265();abort()}$1_1=$274($4($5_1),$8_1);HEAP32[$5_1>>2]=$1_1;HEAP32[$5_1+4>>2]=$1_1;HEAP32[$4($5_1)>>2]=$1_1+($8_1<<2);$273($5_1,0);$394($5_1,$8_1)}global$0=$2_1+16|0;while(1){if($21($5_1)>>>0<=$13_1>>>0){$3_1=$9($5_1,0);$2_1=$21($5_1);$7_1=$48(128);$1_1=$738($10_1);HEAP8[$7_1+100|0]=1;HEAP32[$7_1>>2]=$1_1;$38($7_1+104|0);$38($7_1+116|0);$736($7_1+4|0,96);$743($10_1+8|0,$7_1);$384(HEAP32[$10_1+8>>2],0);$737($10_1,HEAP32[$10_1+8>>2],$4_1,$8_1,$3_1,$2_1);$79($5_1);global$0=$5_1+16|0}else{HEAP32[$9($5_1,$13_1)>>2]=$13_1;$13_1=$13_1+1|0;continue}break}$3_1=HEAP32[HEAP32[$9_1>>2]>>2];$2_1=$479($27_1+8|0,$22_1);$1_1=HEAP32[$2_1+4>>2];HEAP32[$27_1>>2]=HEAP32[$2_1>>2];HEAP32[$27_1+4>>2]=$1_1;$11_1=global$0-32|0;global$0=$11_1;HEAP32[$11_1+28>>2]=$35_1;$21_1=$3_1+72|0;HEAP32[$11_1+24>>2]=$26($21_1,$11_1+28|0);HEAP32[$11_1+8>>2]=$23();if($78($11_1+24|0,$11_1+8|0)){fimport$5($318(fimport$6(16)|0,$135($11_1+8|0,1843))|0,26592,17);abort()}$10_1=global$0-32|0;global$0=$10_1;$1_1=$11_1+28|0;HEAP32[$10_1+16>>2]=$316($1_1);$3_1=$10_1+24|0;$13_1=0;$20_1=global$0-32|0;global$0=$20_1;$13($21_1);$8_1=HEAP32[$1_1>>2];$5_1=$104($21_1);HEAP8[$20_1+31|0]=0;label$60:{label$6119:{if(!$5_1){break label$6119}$13_1=$46($8_1,$5_1);$7_1=HEAP32[$9($21_1,$13_1)>>2];if(!$7_1){break label$6119}while(1){$7_1=HEAP32[$7_1>>2];if(!$7_1){break label$6119}if(($8_1|0)!=HEAP32[$7_1+4>>2]){if(($46(HEAP32[$7_1+4>>2],$5_1)|0)!=($13_1|0)){break label$6119}}if(!$225($45($21_1),$7_1+8|0,$1_1)){continue}break}break label$60}$2_1=global$0-16|0;global$0=$2_1;$1_1=$4($21_1);$7_1=$261($20_1+16|0,$514($1_1,1),$262($2_1+8|0,$1_1,0));$1_1=HEAP32[$7_1>>2]+8|0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+8>>2]=HEAP32[$10_1+16>>2];HEAP32[$1_1>>2]=HEAP32[HEAP32[$4_1+8>>2]>>2];$268($1_1+4|0);global$0=$4_1+16|0;HEAP8[$34($7_1)+4|0]=1;HEAP32[HEAP32[$7_1>>2]+4>>2]=$8_1;HEAP32[HEAP32[$7_1>>2]>>2]=0;global$0=$2_1+16|0;if(!(Math_fround(HEAP32[$13($21_1)>>2]+1>>>0)>Math_fround(HEAPF32[$45($21_1)>>2]*Math_fround($5_1>>>0))?0:$5_1)){HEAP32[$20_1+12>>2]=$224($5_1)^1|$5_1<<1;$32_1=Math_fround(Math_ceil(Math_fround(Math_fround(HEAP32[$13($21_1)>>2]+1>>>0)/HEAPF32[$45($21_1)>>2])));label$66:{if($32_1=Math_fround(0)){$1_1=~~$32_1>>>0;break label$66}$1_1=0}HEAP32[$20_1+8>>2]=$1_1;$264($21_1,HEAP32[$67($20_1+12|0,$20_1+8|0)>>2]);$5_1=$104($21_1);$13_1=$46($8_1,$5_1)}$1_1=HEAP32[$9($21_1,$13_1)>>2];label$68:{if(!$1_1){$1_1=$21_1+8|0;HEAP32[HEAP32[$20_1+16>>2]>>2]=HEAP32[$1_1>>2];HEAP32[$21_1+8>>2]=HEAP32[$20_1+16>>2];HEAP32[$9($21_1,$13_1)>>2]=$1_1;if(!HEAP32[HEAP32[$20_1+16>>2]>>2]){break label$68}$1_1=HEAP32[$20_1+16>>2];HEAP32[$9($21_1,$46(HEAP32[HEAP32[HEAP32[$20_1+16>>2]>>2]+4>>2],$5_1))>>2]=$1_1;break label$68}HEAP32[HEAP32[$20_1+16>>2]>>2]=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=HEAP32[$20_1+16>>2]}$2_1=$20_1+16|0;$7_1=$141($2_1);$1_1=$13($21_1);HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;HEAP8[$20_1+31|0]=1;$1_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=0;if($1_1){if(HEAPU8[$34($2_1)+4|0]){$772($1_1+8|0)}if($1_1){$1($1_1)}}}$263($3_1,$80($20_1+16|0,$7_1),$20_1+31|0);global$0=$20_1+32|0;$1_1=$63($3_1);global$0=$10_1+32|0;$773($1_1+4|0,$27_1);$168($27_1);global$0=$11_1+32|0;$5_1=$776(HEAP32[$9_1>>2]+4|0,$27_1+28|0);if(($5_1|0)!=($16_1|0)){$10_1=global$0-16|0;global$0=$10_1;$8_1=HEAP32[$16_1>>2];$2_1=HEAP32[$16_1+4>>2];$9_1=$462($8_1,$2_1);label$7421:{if($147($5_1)>>>0>=$9_1>>>0){HEAP32[$10_1+12>>2]=$2_1;$3_1=$61($5_1)>>>0>=$9_1>>>0;if($3_1){$1_1=$2_1}else{HEAP32[$10_1+12>>2]=$8_1;$1_1=$61($5_1);HEAP32[$10_1+12>>2]=HEAP32[$10_1+12>>2]+Math_imul($1_1,12);$1_1=HEAP32[$10_1+12>>2]}$7_1=HEAP32[$5_1>>2];$4_1=$1_1-$8_1|0;if(($1_1|0)!=($8_1|0)){wasm2js_memory_copy($7_1,$8_1,$4_1)}if(!$3_1){$727($5_1,HEAP32[$10_1+12>>2],$2_1,$9_1-$61($5_1)|0);break label$7421}$61($5_1);$843($5_1,$7_1+Math_imul(($4_1|0)/12|0,12)|0);$391($5_1);break label$7421}if(HEAP32[$5_1>>2]){$61($5_1);$920($5_1);$391($5_1);$4($5_1);$1_1=HEAP32[$5_1>>2];$147($5_1);$1($1_1);HEAP32[$4($5_1)>>2]=0;HEAP32[$5_1>>2]=0;HEAP32[$5_1+4>>2]=0}$3_1=$836($5_1,$9_1);if($510($5_1)>>>0<$3_1>>>0){$281();abort()}$1_1=$834($4($5_1),$3_1);HEAP32[$5_1>>2]=$1_1;HEAP32[$5_1+4>>2]=$1_1;HEAP32[$4($5_1)>>2]=$1_1+Math_imul($3_1,12);$509($5_1,0);$727($5_1,$8_1,$2_1,$9_1)}global$0=$10_1+16|0}$168($22_1);global$0=$27_1+32|0;$567($25_1);$930($16_1);$427($24_1);$26_1=$26_1+1|0;$35_1=$35_1+1|0;continue label$24}label$8222:{$9_1=Math_imul($13_1,132);$2_1=$9_1+HEAP32[$18_1+28>>2]|0;$1_1=$8_1+HEAP32[$18_1+36>>2]|0;if(HEAP32[$2_1+128>>2]!=HEAP32[(HEAP32[$1_1>>2]+Math_imul($26_1,12)|0)+8>>2]|HEAP32[$2_1+124>>2]!=HEAP32[$1_1+8>>2]){break label$8222}$5_1=0;$4_1=$15_1+8|0;$3_1=$927($4_1,HEAPF32[$2_1>>2],HEAPF32[$2_1+4>>2],HEAPF32[$2_1+112>>2],HEAPF32[$2_1+116>>2],HEAP32[$2_1+120>>2]!=0);label$8323:{if(HEAPU32[$24_1+4>>2]>2]){$1_1=global$0-16|0;global$0=$1_1;$2_1=$517($1_1,$24_1,1);$403($4($24_1),HEAP32[$2_1+4>>2],$3_1);HEAP32[$2_1+4>>2]=HEAP32[$2_1+4>>2]+20;$72($2_1);global$0=$1_1+16|0;break label$8323}$2_1=global$0-32|0;global$0=$2_1;$1_1=$4($24_1);$7_1=$1_1;$1_1=$842($2_1+8|0,$516($24_1,$76($24_1)+1|0),$76($24_1),$1_1);$403($7_1,HEAP32[$1_1+8>>2],$3_1);HEAP32[$1_1+8>>2]=HEAP32[$1_1+8>>2]+20;$841($24_1,$1_1);$840($1_1);global$0=$2_1+32|0}$1_1=$9_1+HEAP32[$18_1+28>>2]|0;$37_1=HEAPF32[$1_1+8>>2];$32_1=HEAPF32[$1_1+12>>2];HEAPF32[$4_1+8>>2]=0;HEAPF32[$4_1+4>>2]=$32_1;HEAPF32[$4_1>>2]=$37_1;label$8524:{if(HEAPU32[$16_1+4>>2]>2]){$1_1=global$0-16|0;global$0=$1_1;$2_1=$512($1_1,$16_1,1);$837($4($16_1),HEAP32[$2_1+4>>2],$4_1);HEAP32[$2_1+4>>2]=HEAP32[$2_1+4>>2]+12;$72($2_1);global$0=$1_1+16|0;break label$8524}$7_1=global$0-32|0;global$0=$7_1;$1_1=$4($16_1);$10_1=$511($7_1+8|0,$836($16_1,$61($16_1)+1|0),$61($16_1),$1_1);$837($1_1,HEAP32[$10_1+8>>2],$4_1);HEAP32[$10_1+8>>2]=HEAP32[$10_1+8>>2]+12;$334($16_1);$4($16_1);$4_1=$10_1+4|0;$2_1=HEAP32[$16_1>>2];$3_1=HEAP32[$16_1+4>>2]-$2_1|0;$1_1=HEAP32[$4_1>>2]+Math_imul(($3_1|0)/-12|0,12)|0;HEAP32[$4_1>>2]=$1_1;if(($3_1|0)>0){wasm2js_memory_copy($1_1,$2_1,$3_1)}$28($16_1,$4_1);$28($16_1+4|0,$10_1+8|0);$28($4($16_1),$13($10_1));HEAP32[$10_1>>2]=HEAP32[$10_1+4>>2];$509($16_1,$61($16_1));$1_1=HEAP32[$10_1+4>>2];while(1){if(($1_1|0)!=HEAP32[$10_1+8>>2]){HEAP32[$10_1+8>>2]=HEAP32[$10_1+8>>2]-12;continue}break}if(HEAP32[$10_1>>2]){$1_1=HEAP32[$10_1>>2];$508($10_1);$1($1_1)}global$0=$7_1+32|0}while(1){if(($5_1|0)==96){break label$8222}$3_1=(($9_1+HEAP32[$18_1+28>>2]|0)+$5_1|0)+16|0;label$92:{if(HEAP32[$25_1+4>>2]!=HEAP32[$4($25_1)>>2]){$1_1=global$0-16|0;global$0=$1_1;$2_1=$402($1_1,$25_1,1);$401($4($25_1),HEAP32[$2_1+4>>2],$3_1);HEAP32[$2_1+4>>2]=HEAP32[$2_1+4>>2]+1;$72($2_1);global$0=$1_1+16|0;break label$92}$2_1=global$0-32|0;global$0=$2_1;$1_1=$4($25_1);$4_1=$1_1;$1_1=$507($2_1+8|0,$400($25_1,$100($25_1)+1|0),$100($25_1),$1_1);$401($4_1,HEAP32[$1_1+8>>2],$3_1);HEAP32[$1_1+8>>2]=HEAP32[$1_1+8>>2]+1;$506($25_1,$1_1);$505($1_1);global$0=$2_1+32|0}$5_1=$5_1+1|0;continue}}$13_1=$13_1+1|0;continue}}}}break label$10}global$0=$15_1+80|0;break __inlined_func$1337}$5(0,3,9641,0);fimport$1(1);abort()}if(($19_1|0)<0){$5(0,3,36515,0);break label$14}$951($17_1+76|0);$40_1=1;$5(0,1,37206,0)}global$0=$17_1+80|0;break label$4}fimport$1(-1);abort()}$5(0,3,3627,0);break label$1}if(!$40_1){$5(0,3,37037,0);break label$3}HEAP32[$38_1+248>>2]=HEAP32[$38_1+248>>2]+1;$0_1=$39_1}global$0=$36_1+16|0;return $0_1|0}$5(0,3,1806,0)}fimport$1(1);abort()}function $580($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1,$10_1,$11_1,$12_1,$13_1){var $14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=0,$32_1=0,$33_1=0,$34_1=0,$35_1=0,$36_1=0,$37_1=0,$38_1=0,$39_1=0,$40_1=0,$41_1=0,$42_1=0,$43_1=0,$44_1=0,$45_1=0,$46_1=0,$47_1=0,$48_1=0,$49_1=0,$50_1=0,$51_1=0,$52_1=0,$53_1=0,$54_1=0,$55_1=0,$56_1=0,$57_1=0,$58_1=0,$59_1=0,$60_1=0,$61_1=0,$62_1=0,$63_1=0,$64_1=0,$65_1=0,$66_1=0;$46_1=global$0-16|0;global$0=$46_1;$63_1=($5_1|0)>0?$5_1:0;while(1){if(($54_1|0)!=($63_1|0)){$36_1=($55_1<<8)+$11_1|0;$5_1=Math_imul($54_1,80048)+$4_1|0;HEAP32[$36_1>>2]=HEAP32[$5_1>>2];label$3:{if(($180($9_1,Math_fround(HEAPF64[$5_1+8>>3]),Math_fround(HEAPF64[$5_1+16>>3]),$46_1+12|0,$46_1+8|0)|0)<0){break label$3}HEAPF64[$36_1+56>>3]=HEAPF32[$46_1+12>>2];HEAPF64[$36_1- -64>>3]=HEAPF32[$46_1+8>>2];$64_1=$5_1+28|0;$65_1=$5_1+40028|0;$58_1=$5_1+80028|0;$56_1=$36_1+72|0;$49_1=$36_1+168|0;$33_1=global$0-16|0;global$0=$33_1;$26_1=$464(2);$28_1=$464(2);$34_1=$136(2,2);$27_1=0;label$4:{label$5:{while(1){if(($27_1|0)!=4){$29_1=$27_1+1|0;$14_1=HEAP32[($29_1<<2)+$58_1>>2];$5_1=HEAP32[($27_1<<2)+$58_1>>2];$19_1=+(($14_1-$5_1|0)+1|0)*.05+.5;$24_1=$19_1+ +($5_1|0);label$8:{if(Math_abs($24_1)<2147483648){$5_1=~~$24_1;break label$8}$5_1=-2147483648}$19_1=+($14_1|0)-$19_1;label$10:{if(Math_abs($19_1)<2147483648){$14_1=~~$19_1;break label$10}$14_1=-2147483648}$16_1=$14_1-$5_1|0;$15_1=(($16_1|0)>=0?$16_1:-1)+1|0;$14_1=0;$40_1=$136($16_1+1|0,2);while(1){if(($14_1|0)!=($15_1|0)){$16_1=$5_1+$14_1<<2;if(($180($9_1,Math_fround(HEAP32[$16_1+$64_1>>2]),Math_fround(HEAP32[$16_1+$65_1>>2]),$33_1+12|0,$33_1+8|0)|0)<0){break label$5}$16_1=HEAP32[$40_1>>2]+($14_1<<4)|0;HEAPF64[$16_1>>3]=HEAPF32[$33_1+12>>2];HEAPF64[$16_1+8>>3]=HEAPF32[$33_1+8>>2];$14_1=$14_1+1|0;continue}break}$17_1=-1;$23_1=HEAP32[$40_1+4>>2];label$14:{if(($23_1|0)<2){break label$14}$16_1=HEAP32[$40_1+8>>2];if(($16_1|0)<2|($16_1|0)!=HEAP32[$34_1+8>>2]){break label$14}$5_1=($16_1|0)>($23_1|0)?$23_1:$16_1;if(($5_1|0)!=HEAP32[$34_1+4>>2]|($5_1|0)!=HEAP32[$26_1+4>>2]|($16_1|0)!=HEAP32[$28_1+4>>2]){break label$14}$5_1=$136(HEAP32[$40_1+4>>2],HEAP32[$40_1+8>>2]);label$15:{if($5_1){$18_1=-1;label$17:{$14_1=HEAP32[$5_1+4>>2];if(($14_1|0)!=HEAP32[$40_1+4>>2]){break label$17}$20_1=HEAP32[$5_1+8>>2];if(($20_1|0)!=HEAP32[$40_1+8>>2]){break label$17}$18_1=0;$22_1=($14_1|0)>0?$14_1:0;$21_1=($20_1|0)>0?$20_1:0;$14_1=0;while(1){if(($14_1|0)==($22_1|0)){break label$17}$31_1=Math_imul($14_1,$20_1);$15_1=0;while(1){if(($15_1|0)!=($21_1|0)){$30_1=$15_1+$31_1<<3;HEAPF64[$30_1+HEAP32[$5_1>>2]>>3]=HEAPF64[$30_1+HEAP32[$40_1>>2]>>3];$15_1=$15_1+1|0;continue}break}$14_1=$14_1+1|0;continue}}if(($18_1|0)>=0){break label$15}$17($5_1)}$5_1=0}$22_1=$5_1;if(!$5_1){break label$14}$14_1=0;$18_1=0;$15_1=-1;label$21:{$20_1=HEAP32[$22_1+4>>2];if(($20_1|0)<=0){break label$21}$5_1=HEAP32[$22_1+8>>2];if(($5_1|0)<=0|($5_1|0)!=HEAP32[$28_1+4>>2]){break label$21}while(1){if(($5_1|0)!=($14_1|0)){$15_1=HEAP32[$28_1>>2]+($14_1<<3)|0;HEAP32[$15_1>>2]=0;HEAP32[$15_1+4>>2]=0;$14_1=$14_1+1|0;continue}break}$15_1=HEAP32[$22_1>>2];while(1)if(($18_1|0)==($20_1|0)){$19_1=+($20_1|0);$15_1=0;$14_1=0;while(1){if(($5_1|0)==($14_1|0)){break label$21}$20_1=HEAP32[$28_1>>2]+($14_1<<3)|0;HEAPF64[$20_1>>3]=HEAPF64[$20_1>>3]/$19_1;$14_1=$14_1+1|0;continue}}else{$14_1=HEAP32[$28_1>>2];$21_1=0;while(1){if(($5_1|0)!=($21_1|0)){HEAPF64[$14_1>>3]=HEAPF64[$15_1>>3]+HEAPF64[$14_1>>3];$21_1=$21_1+1|0;$14_1=$14_1+8|0;$15_1=$15_1+8|0;continue}break}$18_1=$18_1+1|0;continue}}label$30:{if(($15_1|0)<0){break label$30}$21_1=-1;label$31:{$5_1=HEAP32[$22_1+8>>2];if(($5_1|0)!=HEAP32[$28_1+4>>2]){break label$31}$21_1=0;$5_1=($5_1|0)>0?$5_1:0;$14_1=HEAP32[$22_1+4>>2];$31_1=($14_1|0)>0?$14_1:0;$14_1=HEAP32[$22_1>>2];$15_1=0;while(1){if(($15_1|0)==($31_1|0)){break label$31}$20_1=HEAP32[$28_1>>2];$18_1=0;while(1){if(($5_1|0)!=($18_1|0)){HEAPF64[$14_1>>3]=HEAPF64[$14_1>>3]-HEAPF64[$20_1>>3];$18_1=$18_1+1|0;$14_1=$14_1+8|0;$20_1=$20_1+8|0;continue}break}$15_1=$15_1+1|0;continue}}if(($21_1|0)<0){break label$30}$19_1=Math_sqrt(+($23_1|0));$14_1=0;$5_1=Math_imul($16_1,$23_1);$5_1=($5_1|0)>0?$5_1:0;while(1){if(($5_1|0)!=($14_1|0)){$16_1=HEAP32[$22_1>>2]+($14_1<<3)|0;HEAPF64[$16_1>>3]=HEAPF64[$16_1>>3]/$19_1;$14_1=$14_1+1|0;continue}break}$14_1=0;$15_1=-1;$16_1=HEAP32[$22_1+4>>2];label$37:{if(($16_1|0)<2){break label$37}$5_1=HEAP32[$22_1+8>>2];if(($5_1|0)<2|($5_1|0)!=HEAP32[$34_1+8>>2]){break label$37}$31_1=($5_1|0)<($16_1|0)?$5_1:$16_1;if(($31_1|0)!=HEAP32[$34_1+4>>2]|($31_1|0)!=HEAP32[$26_1+4>>2]){break label$37}label$38:{$23_1=$136($31_1,$31_1);if(!(($31_1|0)==HEAP32[$23_1+4>>2]&($31_1|0)==HEAP32[$23_1+8>>2])){break label$38}label$42:{$59_1=$5_1>>>0<=$16_1>>>0;if(!$59_1){$21_1=-1;label$44:{$17_1=HEAP32[$22_1+4>>2];if(($17_1|0)!=HEAP32[$23_1+4>>2]|($17_1|0)!=HEAP32[$23_1+8>>2]){break label$44}$21_1=0;$38_1=($17_1|0)>0?$17_1:0;$30_1=HEAP32[$22_1+8>>2];$25_1=($30_1|0)>0?$30_1:0;$32_1=HEAP32[$23_1>>2];$5_1=$32_1;label$45:while(1){if(($14_1|0)==($38_1|0)){break label$44}$47_1=Math_imul($14_1,$30_1);$15_1=0;while(1){label$47:{if(($15_1|0)!=($17_1|0)){if($14_1>>>0>$15_1>>>0){HEAPF64[$5_1>>3]=HEAPF64[$32_1+(Math_imul($15_1,$17_1)+$14_1<<3)>>3];break label$47}$16_1=HEAP32[$22_1>>2];HEAP32[$5_1>>2]=0;HEAP32[$5_1+4>>2]=0;$20_1=$16_1+($47_1<<3)|0;$18_1=$16_1+(Math_imul($15_1,$30_1)<<3)|0;$16_1=0;$19_1=0;while(1){if(($16_1|0)==($25_1|0)){break label$47}$19_1=HEAPF64[$20_1>>3]*HEAPF64[$18_1>>3]+$19_1;HEAPF64[$5_1>>3]=$19_1;$16_1=$16_1+1|0;$18_1=$18_1+8|0;$20_1=$20_1+8|0;continue}}$14_1=$14_1+1|0;continue label$45}$15_1=$15_1+1|0;$5_1=$5_1+8|0;continue}}}if(($21_1|0)>=0){break label$42}break label$38}$16_1=-1;label$51:{$15_1=HEAP32[$22_1+8>>2];if(($15_1|0)!=HEAP32[$23_1+4>>2]|($15_1|0)!=HEAP32[$23_1+8>>2]){break label$51}$16_1=0;$30_1=($15_1|0)>0?$15_1:0;$5_1=HEAP32[$22_1+4>>2];$38_1=($5_1|0)>0?$5_1:0;$25_1=HEAP32[$23_1>>2];$17_1=$25_1;label$52:while(1){$5_1=0;if(($14_1|0)==($30_1|0)){break label$51}while(1){label$54:{if(($5_1|0)!=($15_1|0)){if($5_1>>>0<$14_1>>>0){HEAPF64[$17_1>>3]=HEAPF64[$25_1+(Math_imul($5_1,$15_1)+$14_1<<3)>>3];break label$54}$18_1=HEAP32[$22_1>>2];HEAP32[$17_1>>2]=0;HEAP32[$17_1+4>>2]=0;$20_1=$18_1+($5_1<<3)|0;$18_1=$18_1+($14_1<<3)|0;$21_1=0;$19_1=0;while(1){if(($21_1|0)==($38_1|0)){break label$54}$19_1=HEAPF64[$18_1>>3]*HEAPF64[$20_1>>3]+$19_1;HEAPF64[$17_1>>3]=$19_1;$21_1=$21_1+1|0;$32_1=$15_1<<3;$20_1=$32_1+$20_1|0;$18_1=$18_1+$32_1|0;continue}}$14_1=$14_1+1|0;continue label$52}$5_1=$5_1+1|0;$17_1=$17_1+8|0;continue}}}if(($16_1|0)>=0){break label$42}break label$38}$38_1=global$0-16|0;global$0=$38_1;$15_1=-1;$30_1=HEAP32[$23_1+4>>2];label$58:{if(($30_1|0)<2|($30_1|0)!=HEAP32[$23_1+8>>2]|($30_1|0)!=HEAP32[$26_1+4>>2]){break label$58}$47_1=$464($30_1);if(!$47_1){break label$58}$18_1=$30_1-1|0;HEAP32[$38_1+12>>2]=$18_1;HEAP32[$38_1+8>>2]=HEAP32[$47_1>>2]+8;$16_1=0;$21_1=global$0-16|0;global$0=$21_1;$41_1=-1;label$59:{$17_1=HEAP32[$23_1+8>>2];if(($17_1|0)!=HEAP32[$23_1+4>>2]|($17_1|0)!=HEAP32[$26_1+4>>2]|($17_1|0)!=(HEAP32[$38_1+12>>2]+1|0)){break label$59}$25_1=$17_1-2|0;$48_1=($25_1|0)>0?$25_1:0;label$60:while(1){$20_1=$16_1;label$61:{if(($16_1|0)!=($48_1|0)){$41_1=$20_1<<3;$32_1=HEAP32[$23_1>>2]+(Math_imul($17_1,$20_1)<<3)|0;HEAPF64[$41_1+HEAP32[$26_1>>2]>>3]=HEAPF64[$32_1+$41_1>>3];$16_1=$20_1+1|0;$43_1=$16_1<<3;$45_1=$43_1+$32_1|0;HEAP32[$21_1+8>>2]=$45_1;$39_1=$17_1+($20_1^-1)|0;HEAP32[$21_1+12>>2]=$39_1;$5_1=0;label$63:{$14_1=$21_1+8|0;$19_1=Math_sqrt($460($14_1,$14_1));if($19_1==0){break label$63}$37_1=HEAP32[$14_1>>2];$24_1=HEAPF64[$37_1>>3];$19_1=$24_1<0?-$19_1:$19_1;$24_1=$24_1+$19_1;HEAPF64[$37_1>>3]=$24_1;$24_1=1/Math_sqrt($19_1*$24_1);$14_1=HEAP32[$14_1+4>>2];$14_1=($14_1|0)>0?$14_1:0;while(1){if(($5_1|0)==($14_1|0)){break label$63}$50_1=$37_1+($5_1<<3)|0;HEAPF64[$50_1>>3]=$24_1*HEAPF64[$50_1>>3];$5_1=$5_1+1|0;continue}}$19_1=-$19_1;HEAPF64[$41_1+HEAP32[$38_1+8>>2]>>3]=$19_1;$5_1=$16_1;if($19_1==0){continue}label$65:while(1){$19_1=0;$14_1=$16_1;if(($5_1|0)>=($17_1|0)){break label$61}while(1)if($5_1>>>0<=$14_1>>>0){$41_1=Math_imul($5_1,$17_1);$14_1=$5_1;while(1){if(($14_1|0)<($17_1|0)){$19_1=HEAPF64[HEAP32[$23_1>>2]+($14_1+$41_1<<3)>>3]*HEAPF64[$32_1+($14_1<<3)>>3]+$19_1;$14_1=$14_1+1|0;continue}break}HEAPF64[HEAP32[$26_1>>2]+($5_1<<3)>>3]=$19_1;$5_1=$5_1+1|0;continue label$65}else{$19_1=HEAPF64[HEAP32[$23_1>>2]+(Math_imul($14_1,$17_1)+$5_1<<3)>>3]*HEAPF64[$32_1+($14_1<<3)>>3]+$19_1;$14_1=$14_1+1|0;continue}}}label$71:{label$72:{if(($17_1|0)>=2){$5_1=HEAP32[$26_1>>2];$14_1=$25_1<<3;$16_1=HEAP32[$23_1>>2];$20_1=Math_imul($17_1,$25_1);HEAPF64[$5_1+$14_1>>3]=HEAPF64[$16_1+($20_1+$25_1<<3)>>3];$37_1=$14_1+HEAP32[$38_1+8>>2]|0;$14_1=$17_1-1|0;HEAPF64[$37_1>>3]=HEAPF64[($20_1+$14_1<<3)+$16_1>>3];break label$72}if(($17_1|0)!=1){break label$71}$5_1=HEAP32[$26_1>>2];$16_1=HEAP32[$23_1>>2];$14_1=0}HEAPF64[($14_1<<3)+$5_1>>3]=HEAPF64[(Math_imul($14_1,$17_1)+$14_1<<3)+$16_1>>3]}$41_1=0;$37_1=($17_1|0)>0?$17_1:0;$5_1=$17_1;while(1){if(($5_1|0)<=0){break label$59}$16_1=$5_1-1|0;$32_1=HEAP32[$23_1>>2]+(Math_imul($16_1,$17_1)<<3)|0;label$75:{if(($5_1|0)>($25_1|0)){break label$75}$39_1=$17_1-$5_1|0;$48_1=$32_1+($5_1<<3)|0;$20_1=$5_1;while(1){if(($17_1|0)<=($20_1|0)){break label$75}HEAP32[$21_1+12>>2]=$39_1;HEAP32[$21_1+4>>2]=$39_1;HEAP32[$21_1+8>>2]=$48_1;$43_1=Math_imul($17_1,$20_1);HEAP32[$21_1>>2]=HEAP32[$23_1>>2]+($43_1+$5_1<<3);$19_1=-$460($21_1+8|0,$21_1);$14_1=$5_1;while(1){if(($14_1|0)<($17_1|0)){$45_1=HEAP32[$23_1>>2]+($14_1+$43_1<<3)|0;HEAPF64[$45_1>>3]=$19_1*HEAPF64[$32_1+($14_1<<3)>>3]+HEAPF64[$45_1>>3];$14_1=$14_1+1|0;continue}break}$20_1=$20_1+1|0;continue}}$14_1=0;while(1){if(($14_1|0)!=($37_1|0)){$5_1=$32_1+($14_1<<3)|0;HEAP32[$5_1>>2]=0;HEAP32[$5_1+4>>2]=0;$14_1=$14_1+1|0;continue}break}$5_1=$32_1+($16_1<<3)|0;HEAP32[$5_1>>2]=0;HEAP32[$5_1+4>>2]=1072693248;$5_1=$16_1;continue}}HEAP32[$21_1+12>>2]=$39_1;HEAP32[$21_1+4>>2]=$39_1;HEAP32[$21_1+8>>2]=$45_1;HEAP32[$21_1>>2]=$43_1+HEAP32[$26_1>>2];$19_1=$460($21_1+8|0,$21_1)*-.5;$5_1=$17_1;label$81:while(1){$5_1=$5_1-1|0;if(($20_1|0)>=($5_1|0)){continue label$60}$41_1=HEAP32[$26_1>>2];$14_1=$5_1<<3;$39_1=$41_1+$14_1|0;$24_1=HEAPF64[$14_1+$32_1>>3];$35_1=$19_1*$24_1+HEAPF64[$39_1>>3];HEAPF64[$39_1>>3]=$35_1;$39_1=Math_imul($5_1,$17_1);$14_1=$5_1;while(1){if(($14_1|0)>=($17_1|0)){continue label$81}$37_1=HEAP32[$23_1>>2]+($14_1+$39_1<<3)|0;$43_1=$37_1;$44_1=HEAPF64[$37_1>>3];$37_1=$14_1<<3;HEAPF64[$43_1>>3]=$44_1-($24_1*HEAPF64[$37_1+$41_1>>3]+$35_1*HEAPF64[$32_1+$37_1>>3]);$14_1=$14_1+1|0;continue}}}}global$0=$21_1+16|0;label$83:{if(($41_1|0)<0){break label$83}$21_1=HEAP32[$47_1>>2];$5_1=$21_1;HEAP32[$5_1>>2]=0;HEAP32[$5_1+4>>2]=0;$16_1=$18_1;label$84:while(1){$5_1=$16_1;$15_1=$5_1;if(($5_1|0)<=0){$5_1=0;label$86:while(1){if(($5_1|0)==($18_1|0)){$15_1=0;break label$83}$17_1=HEAP32[$26_1>>2];$21_1=$17_1+($5_1<<3)|0;$24_1=HEAPF64[$21_1>>3];$19_1=$24_1;$16_1=$5_1+1|0;$15_1=$16_1;$14_1=$5_1;while(1){if(($15_1|0)<($30_1|0)){$35_1=HEAPF64[$17_1+($15_1<<3)>>3];$20_1=$35_1>$19_1;$19_1=$20_1?$35_1:$19_1;$14_1=$20_1?$15_1:$14_1;$15_1=$15_1+1|0;continue}break}HEAPF64[$17_1+($14_1<<3)>>3]=$24_1;HEAPF64[$21_1>>3]=$19_1;$17_1=Math_imul($5_1,$30_1)<<3;$5_1=HEAP32[$23_1>>2];$15_1=$17_1+$5_1|0;$14_1=$5_1+(Math_imul($14_1,$30_1)<<3)|0;$5_1=0;while(1)if(($5_1|0)==($30_1|0)){$5_1=$16_1;continue label$86}else{$19_1=HEAPF64[$14_1>>3];HEAPF64[$14_1>>3]=HEAPF64[$15_1>>3];HEAPF64[$15_1>>3]=$19_1;$5_1=$5_1+1|0;$15_1=$15_1+8|0;$14_1=$14_1+8|0;continue}}}while(1){label$94:{$14_1=$15_1;if(($14_1|0)<=0){$14_1=0;break label$94}$16_1=$14_1<<3;$17_1=HEAP32[$26_1>>2];$15_1=$14_1-1|0;if(Math_abs(HEAPF64[$16_1+$21_1>>3])>(Math_abs(HEAPF64[$17_1+($15_1<<3)>>3])+Math_abs(HEAPF64[$16_1+$17_1>>3]))*1e-6){continue}}break}$16_1=$5_1-1|0;if(($5_1|0)==($14_1|0)){continue}$37_1=($5_1|0)<($14_1|0)?$14_1:$5_1;$48_1=$5_1<<3;$41_1=$48_1+$21_1|0;$43_1=$14_1<<3;$45_1=$43_1+$21_1|0;$15_1=0;while(1){if(($15_1|0)==100){continue label$84}$20_1=$15_1+1|0;$25_1=HEAP32[$26_1>>2];$50_1=$25_1+$48_1|0;$24_1=HEAPF64[$50_1>>3];$19_1=HEAPF64[$41_1>>3];$42_1=$19_1*$19_1;$60_1=$25_1+($16_1<<3)|0;$19_1=(HEAPF64[$60_1>>3]-$24_1)*.5;$35_1=Math_sqrt($42_1+$19_1*$19_1);$35_1=HEAPF64[$25_1+$43_1>>3]-$24_1+$42_1/($19_1+($19_1<0?-$35_1:$35_1));$42_1=HEAPF64[$45_1+8>>3];$5_1=$14_1;while(1){if(($5_1|0)!=($37_1|0)){$19_1=Math_abs($35_1);label$99:{if($19_1>=Math_abs($42_1)){if(!($19_1>1e-16)){$19_1=1;$24_1=0;break label$99}$24_1=-$42_1/$35_1;$19_1=1/Math_sqrt($24_1*$24_1+1);$24_1=$24_1*$19_1;break label$99}$19_1=-$35_1/$42_1;$24_1=1/Math_sqrt($19_1*$19_1+1);$19_1=$19_1*$24_1}$39_1=$5_1<<3;$15_1=$39_1+$25_1|0;$44_1=HEAPF64[$15_1>>3];$17_1=$5_1+1|0;$32_1=$17_1<<3;$53_1=$32_1+$25_1|0;$61_1=HEAPF64[$53_1>>3];$51_1=$44_1-$61_1;$57_1=$44_1;$32_1=$21_1+$32_1|0;$44_1=$24_1*($51_1*$24_1+($19_1+$19_1)*HEAPF64[$32_1>>3]);HEAPF64[$15_1>>3]=$57_1-$44_1;HEAPF64[$53_1>>3]=$61_1+$44_1;if(($5_1|0)>($14_1|0)){$15_1=$21_1+$39_1|0;HEAPF64[$15_1>>3]=$19_1*HEAPF64[$15_1>>3]-$42_1*$24_1}$44_1=-$24_1;$57_1=$19_1*$51_1;$51_1=HEAPF64[$32_1>>3];HEAPF64[$32_1>>3]=$24_1*($57_1+$24_1*-2*$51_1)+$51_1;$53_1=Math_imul($17_1,$30_1);$66_1=Math_imul($5_1,$30_1);$15_1=0;while(1){if(($15_1|0)!=($30_1|0)){$52_1=HEAP32[$23_1>>2];$62_1=$52_1+($15_1+$66_1<<3)|0;$35_1=HEAPF64[$62_1>>3];$52_1=$52_1+($15_1+$53_1<<3)|0;$42_1=HEAPF64[$52_1>>3];HEAPF64[$62_1>>3]=$19_1*$35_1+$42_1*$44_1;HEAPF64[$52_1>>3]=$24_1*$35_1+$19_1*$42_1;$15_1=$15_1+1|0;continue}break}$15_1=($5_1|0)>=($16_1|0);$5_1=$17_1;if($15_1){continue}$35_1=HEAPF64[$32_1>>3];$15_1=$21_1+$39_1|0;$24_1=HEAPF64[$15_1+16>>3];HEAPF64[$15_1+16>>3]=$19_1*$24_1;$42_1=$24_1*$44_1;continue}break}$15_1=$20_1;if(Math_abs(HEAPF64[$41_1>>3])>(Math_abs(HEAPF64[$60_1>>3])+Math_abs(HEAPF64[$50_1>>3]))*1e-6){continue}break}continue}}$258($47_1)}global$0=$38_1+16|0;if(($15_1|0)<0){break label$38}label$105:{if(!$59_1){$14_1=0;$18_1=-1;label$107:{$5_1=HEAP32[$22_1+4>>2];if(($5_1|0)<=0){break label$107}$17_1=HEAP32[$22_1+8>>2];if(($5_1|0)!=HEAP32[$23_1+4>>2]|($17_1|0)<=0|(($5_1|0)!=HEAP32[$23_1+8>>2]|($5_1|0)!=HEAP32[$34_1+4>>2])){break label$107}if(($17_1|0)!=HEAP32[$34_1+8>>2]|($5_1|0)!=HEAP32[$26_1+4>>2]){break label$107}$21_1=HEAP32[$34_1>>2];while(1){label$109:{if(($5_1|0)==($14_1|0)){$14_1=$5_1;break label$109}$19_1=HEAPF64[HEAP32[$26_1>>2]+($14_1<<3)>>3];if($19_1<1e-16){break label$109}$31_1=Math_imul($5_1,$14_1);$24_1=1/Math_sqrt(Math_abs($19_1));$15_1=0;while(1){if(($15_1|0)!=($17_1|0)){$16_1=HEAP32[$22_1>>2]+($15_1<<3)|0;$18_1=HEAP32[$23_1>>2]+($31_1<<3)|0;$20_1=0;$19_1=0;while(1){if(($5_1|0)!=($20_1|0)){$20_1=$20_1+1|0;$19_1=HEAPF64[$18_1>>3]*HEAPF64[$16_1>>3]+$19_1;$16_1=($17_1<<3)+$16_1|0;$18_1=$18_1+8|0;continue}break}HEAPF64[$21_1>>3]=$24_1*$19_1;$15_1=$15_1+1|0;$21_1=$21_1+8|0;continue}break}$14_1=$14_1+1|0;continue}break}$5_1=($5_1|0)<($14_1|0)?$14_1:$5_1;$18_1=0;$16_1=($17_1|0)>0?$17_1:0;while(1){if(($5_1|0)==($14_1|0)){break label$107}$15_1=HEAP32[$26_1>>2]+($14_1<<3)|0;HEAP32[$15_1>>2]=0;HEAP32[$15_1+4>>2]=0;$20_1=0;while(1){if(($16_1|0)!=($20_1|0)){HEAP32[$21_1>>2]=0;HEAP32[$21_1+4>>2]=0;$20_1=$20_1+1|0;$21_1=$21_1+8|0;continue}break}$14_1=$14_1+1|0;continue}}if(($18_1|0)>=0){break label$105}break label$38}$5_1=0;$14_1=($31_1|0)>0?$31_1:0;$16_1=HEAP32[$34_1>>2];$20_1=HEAP32[$23_1>>2];while(1){label$119:{if(($5_1|0)!=($14_1|0)){$15_1=0;if(!(HEAPF64[HEAP32[$26_1>>2]+($5_1<<3)>>3]<1e-16)){break label$119}$14_1=$5_1}$5_1=($14_1|0)>($31_1|0)?$14_1:$31_1;while(1){if(($5_1|0)==($14_1|0)){break label$105}$15_1=HEAP32[$26_1>>2]+($14_1<<3)|0;HEAP32[$15_1>>2]=0;HEAP32[$15_1+4>>2]=0;$15_1=0;while(1){if(($15_1|0)!=($31_1|0)){HEAP32[$16_1>>2]=0;HEAP32[$16_1+4>>2]=0;$15_1=$15_1+1|0;$16_1=$16_1+8|0;continue}break}$14_1=$14_1+1|0;continue}}while(1){if(($15_1|0)!=($31_1|0)){HEAPF64[$16_1>>3]=HEAPF64[$20_1>>3];$15_1=$15_1+1|0;$16_1=$16_1+8|0;$20_1=$20_1+8|0;continue}break}$5_1=$5_1+1|0;continue}}$17($23_1);$15_1=0;break label$37}$17($23_1);$15_1=-1}$17_1=$15_1;$17($22_1);$14_1=0;$5_1=HEAP32[$26_1+4>>2];$16_1=($5_1|0)>0?$5_1:0;$19_1=0;$5_1=0;while(1)if(($5_1|0)==($16_1|0)){while(1){if(($14_1|0)==($16_1|0)){break label$14}$5_1=HEAP32[$26_1>>2]+($14_1<<3)|0;HEAPF64[$5_1>>3]=HEAPF64[$5_1>>3]/$19_1;$14_1=$14_1+1|0;continue}}else{$19_1=$19_1+HEAPF64[HEAP32[$26_1>>2]+($5_1<<3)>>3];$5_1=$5_1+1|0;continue}}$17($22_1)}if(($17_1|0)<0){break label$5}$5_1=Math_imul($27_1,24)+$56_1|0;$14_1=HEAP32[$34_1>>2];$19_1=HEAPF64[$14_1+8>>3];HEAPF64[$5_1>>3]=$19_1;$24_1=HEAPF64[$14_1>>3];HEAPF64[$5_1+8>>3]=-$24_1;$14_1=$5_1;$5_1=HEAP32[$28_1>>2];HEAPF64[$14_1+16>>3]=-($19_1*HEAPF64[$5_1>>3]-$24_1*HEAPF64[$5_1+8>>3]);$17($40_1);$27_1=$29_1;continue}break}$17($34_1);$258($28_1);$258($26_1);$14_1=0;while(1){$15_1=0;if(($14_1|0)==4){break label$4}$5_1=Math_imul($14_1-1&3,24)+$56_1|0;$19_1=HEAPF64[$5_1+8>>3];$16_1=Math_imul($14_1,24)+$56_1|0;$35_1=HEAPF64[$16_1+8>>3];$24_1=HEAPF64[$5_1>>3]*$35_1-$19_1*HEAPF64[$16_1>>3];$15_1=-1;if(Math_abs($24_1)<1e-4){break label$4}$15_1=($14_1<<4)+$49_1|0;HEAPF64[$15_1>>3]=($19_1*HEAPF64[$16_1+16>>3]-HEAPF64[$5_1+16>>3]*$35_1)/$24_1;HEAPF64[$15_1+8>>3]=(HEAPF64[$16_1>>3]*HEAPF64[$5_1+16>>3]-HEAPF64[$16_1+16>>3]*HEAPF64[$5_1>>3])/$24_1;$14_1=$14_1+1|0;continue}}$17($40_1);$17($34_1);$258($28_1);$258($26_1);$15_1=-1}global$0=$33_1+16|0;if(($15_1|0)<0){break label$3}$31_1=$36_1+8|0;$40_1=$36_1+20|0;$38_1=$36_1+40|0;$23_1=$36_1+12|0;$34_1=$36_1+24|0;$20_1=$36_1+48|0;$14_1=$36_1+240|0;$30_1=$36_1+248|0;$26_1=global$0-12304|0;global$0=$26_1;$5_1=1;label$131:{if($8_1-2>>>0>2){break label$131}if(($13_1|0)==2830){if(($399($7_1,2,14,42,$0_1,$1_1,$2_1,$3_1,$9_1,$49_1,.875,$26_1+16|0)|0)<0){HEAP32[$23_1>>2]=-1;$5_1=-6;break label$131}$29_1=$26_1+16|0;$15_1=$14_1;$18_1=0;$14_1=0;$17_1=global$0-176|0;global$0=$17_1;HEAP32[$17_1+152>>2]=195;HEAP32[$17_1+156>>2]=13;HEAP32[$17_1+144>>2]=0;HEAP32[$17_1+148>>2]=182;$5_1=255;while(1){if(($18_1|0)!=4){$16_1=HEAPU8[$29_1+HEAP32[($17_1+144|0)+($18_1<<2)>>2]|0];$5_1=$5_1&255;$5_1=$5_1>>>0>$16_1>>>0?$16_1:$5_1;$14_1=$14_1&255;$14_1=$14_1>>>0<$16_1>>>0?$16_1:$14_1;$18_1=$18_1+1|0;continue}break}$14_1=$14_1&255;$5_1=$5_1&255;label$136:{if(($14_1-$5_1|0)<=29){HEAP32[$34_1>>2]=0;HEAP32[$20_1>>2]=0;HEAP32[$20_1+4>>2]=-1074790400;$5_1=-2;break label$136}$28_1=$5_1+$14_1>>>1|0;$5_1=0;$18_1=0;label$138:{label$139:{label$140:{label$141:{while(1){if(($18_1|0)==4){label$144:{label$145:{label$146:{while(1){$16_1=$5_1;if(($5_1|0)==4){break label$146}$5_1=$17_1+172|0;$22_1=HEAPU8[$16_1+$5_1|0]!=1;$14_1=$5_1;$5_1=$16_1+1|0;if(HEAPU8[($17_1+172|0)+($16_1+2&3)|0]|($22_1|HEAPU8[$14_1+($5_1&3)|0]!=1)){continue}break}$22_1=0;$21_1=119;$5_1=13;$27_1=255;label$148:{$14_1=$16_1;switch($14_1|0){case 1:break label$140;case 2:break label$141;case 3:break label$144;case 0:break label$145;default:break label$148}}HEAP32[$34_1>>2]=$16_1;$19_1=1;break label$138}HEAP32[$34_1>>2]=0;HEAP32[$20_1>>2]=0;HEAP32[$20_1+4>>2]=-1074790400;$5_1=-3;break label$136}while(1){if(($14_1|0)==14){break label$139}$22_1=Math_imul($14_1,14);$33_1=$14_1&2147483646;$18_1=0;while(1){if(($18_1|0)!=14){label$152:{if(!($14_1>>>0<3|$18_1-3>>>0>7)&$14_1>>>0<11){break label$152}$5_1=$18_1&2147483646;if(!$5_1&$14_1>>>0<2){break label$152}$25_1=($33_1|0)==12;if($25_1&!$5_1|$25_1&($5_1|0)==12){break label$152}$5_1=HEAPU8[$29_1+($18_1+$22_1|0)|0]-$28_1|0;HEAP8[$17_1+$21_1|0]=$5_1>>>31;$25_1=$5_1;$5_1=$5_1>>31;$5_1=($25_1^$5_1)-$5_1|0;$27_1=($5_1|0)<($27_1|0)?$5_1:$27_1;$21_1=$21_1-1|0}$18_1=$18_1+1|0;continue}break}$14_1=$14_1+1|0;continue}}}else{HEAP8[($17_1+172|0)+$18_1|0]=$28_1>>>0>HEAPU8[$29_1+HEAP32[($17_1+144|0)+($18_1<<2)>>2]|0];$18_1=$18_1+1|0;continue}break}while(1){$18_1=0;if(($5_1|0)<0){break label$139}$14_1=$5_1&-2;$33_1=$5_1-3|0;while(1){if(($18_1|0)!=14){label$157:{if(!($18_1>>>0<3|$33_1>>>0>7)&$18_1>>>0<11){break label$157}$22_1=$18_1>>>0<2;if(!$14_1&($18_1&2147483646)==12|($22_1&($14_1|0)==12|$22_1&!$14_1)){break label$157}$22_1=HEAPU8[$29_1+(Math_imul($18_1,14)+$5_1|0)|0]-$28_1|0;HEAP8[$17_1+$21_1|0]=$22_1>>>31;$25_1=$22_1;$22_1=$22_1>>31;$22_1=($25_1^$22_1)-$22_1|0;$27_1=($22_1|0)<($27_1|0)?$22_1:$27_1;$21_1=$21_1-1|0}$18_1=$18_1+1|0;continue}break}$5_1=$5_1-1|0;continue}}while(1){if(($5_1|0)<0){break label$139}$22_1=Math_imul($5_1,14);$33_1=$5_1&-2;$18_1=13;while(1){if(($18_1|0)>=0){label$161:{if(!($5_1>>>0<3|$18_1-3>>>0>7)&$5_1>>>0<11){break label$161}$14_1=$18_1&-2;$25_1=($14_1|0)==12;if($25_1&($33_1|0)==12){break label$161}$37_1=$25_1;$25_1=$5_1>>>0<2;if($37_1&$25_1|$25_1&!$14_1){break label$161}$14_1=HEAPU8[$29_1+($18_1+$22_1|0)|0]-$28_1|0;HEAP8[$17_1+$21_1|0]=$14_1>>>31;$25_1=$14_1;$14_1=$14_1>>31;$14_1=($25_1^$14_1)-$14_1|0;$27_1=($14_1|0)<($27_1|0)?$14_1:$27_1;$21_1=$21_1-1|0}$18_1=$18_1-1|0;continue}break}$5_1=$5_1-1|0;continue}}while(1){if(($22_1|0)==14){break label$139}$5_1=$22_1&2147483646;$33_1=$22_1-3|0;$18_1=13;while(1){if(($18_1|0)>=0){label$165:{if(!($18_1>>>0<3|$33_1>>>0>7)&$18_1>>>0<11){break label$165}$14_1=$18_1&-2;if(!$5_1&($14_1|0)==12){break label$165}$25_1=($14_1|0)==12;$14_1=($5_1|0)==12;if($25_1&$14_1|$14_1&$18_1>>>0<2){break label$165}$14_1=HEAPU8[$29_1+(Math_imul($18_1,14)+$22_1|0)|0]-$28_1|0;HEAP8[$17_1+$21_1|0]=$14_1>>>31;$25_1=$14_1;$14_1=$14_1>>31;$14_1=($25_1^$14_1)-$14_1|0;$27_1=($14_1|0)<($27_1|0)?$14_1:$27_1;$21_1=$21_1-1|0}$18_1=$18_1-1|0;continue}break}$22_1=$22_1+1|0;continue}}HEAP32[$34_1>>2]=$16_1;$19_1=1;if(($27_1|0)>30){break label$138}$19_1=+($27_1|0)/30}HEAPF64[$20_1>>3]=$19_1;$14_1=$832(2830,0,0,$17_1,$17_1+136|0);$5_1=-4;if(($14_1|0)<0){break label$136}if($15_1){HEAP32[$15_1>>2]=$14_1}$5_1=HEAP32[$17_1+140>>2];HEAP32[$26_1+8>>2]=HEAP32[$17_1+136>>2];HEAP32[$26_1+12>>2]=$5_1;$5_1=0}global$0=$17_1+176|0;if(($5_1|0)<0){HEAP32[$23_1>>2]=-1;break label$131}$14_1=HEAP32[$26_1+8>>2];$16_1=HEAP32[$26_1+12>>2];if(($14_1&$16_1)==-1){HEAP32[$23_1>>2]=-1;$5_1=-5;break label$131}HEAP32[$23_1>>2]=$14_1&-32768?0:$14_1&32767;if(!$30_1){break label$131}HEAP32[$30_1>>2]=$14_1;HEAP32[$30_1+4>>2]=$16_1;break label$131}$15_1=$13_1&255;if(($399($7_1,2,$15_1,Math_imul($15_1,3),$0_1,$1_1,$2_1,$3_1,$9_1,$49_1,$10_1,$26_1+16|0)|0)<0){HEAP32[$23_1>>2]=-1;$5_1=-6;break label$131}$21_1=$26_1+16|0;$22_1=$14_1;$5_1=0;$14_1=0;$29_1=0;$16_1=0;$18_1=global$0-48|0;global$0=$18_1;label$170:{if($15_1-9>>>0<=4294967289){HEAP32[$23_1>>2]=-1;HEAP32[$34_1>>2]=0;HEAP32[$20_1>>2]=0;HEAP32[$20_1+4>>2]=-1074790400;$5_1=-1;break label$170}HEAP32[$18_1+16>>2]=0;$17_1=$15_1-1|0;HEAP32[$18_1+28>>2]=$17_1;$33_1=Math_imul($15_1,$15_1);HEAP32[$18_1+24>>2]=$33_1-1;HEAP32[$18_1+20>>2]=Math_imul($15_1,$17_1);$27_1=255;while(1){if(($5_1|0)!=4){$28_1=HEAPU8[$21_1+HEAP32[($18_1+16|0)+($5_1<<2)>>2]|0];$27_1=$27_1&255;$27_1=$27_1>>>0>$28_1>>>0?$28_1:$27_1;$14_1=$14_1&255;$14_1=$14_1>>>0<$28_1>>>0?$28_1:$14_1;$5_1=$5_1+1|0;continue}break}$5_1=$14_1&255;$14_1=$27_1&255;if(($5_1-$14_1|0)<=29){HEAP32[$23_1>>2]=-1;HEAP32[$34_1>>2]=0;HEAP32[$20_1>>2]=0;HEAP32[$20_1+4>>2]=-1074790400;$5_1=-2;break label$170}$28_1=$5_1+$14_1>>>1|0;$14_1=0;$5_1=0;label$175:{while(1){if(($5_1|0)==4){label$178:{label$179:{while(1){$5_1=$14_1;if(($5_1|0)==4){break label$179}$14_1=$18_1+44|0;$27_1=HEAPU8[$5_1+$14_1|0]!=1;$25_1=$14_1;$14_1=$5_1+1|0;if(HEAPU8[($18_1+44|0)+($5_1+2&3)|0]|($27_1|HEAPU8[$25_1+($14_1&3)|0]!=1)){continue}break}HEAP32[$34_1>>2]=$5_1;$5_1=0;$27_1=255;while(1){if(($5_1|0)!=($33_1|0)){$25_1=$5_1+$21_1|0;$14_1=HEAPU8[$25_1|0];HEAP8[$25_1|0]=$14_1>>>0<$28_1>>>0;$25_1=$14_1-$28_1|0;$14_1=$25_1>>31;$14_1=($14_1^$25_1)-$14_1|0;$27_1=($14_1|0)<($27_1|0)?$14_1:$27_1;$5_1=$5_1+1|0;continue}break}$14_1=$17_1;label$183:{switch(HEAP32[$34_1>>2]){case 0:$14_1=0;while(1){if(($14_1|0)==($15_1|0)){break label$175}$28_1=Math_imul($14_1,$15_1);$5_1=0;while(1){if(($5_1|0)!=($15_1|0)){label$189:{if(!($5_1|$14_1)){break label$189}$33_1=($14_1|0)==($17_1|0);if($33_1&!$5_1|$33_1&($5_1|0)==($17_1|0)){break label$189}$16_1=$16_1<<1|$29_1>>>31;$29_1=$29_1<<1|HEAPU8[$21_1+($5_1+$28_1|0)|0]!=0}$5_1=$5_1+1|0;continue}break}$14_1=$14_1+1|0;continue};case 1:$14_1=0;while(1){if(($14_1|0)==($15_1|0)){break label$175}$5_1=$17_1;while(1){if(($5_1|0)>=0){label$193:{if(!$14_1&($5_1|0)==($17_1|0)){break label$193}$28_1=($14_1|0)==($17_1|0);if($28_1&($5_1|0)==($17_1|0)|$28_1&!$5_1){break label$193}$16_1=$16_1<<1|$29_1>>>31;$29_1=$29_1<<1|HEAPU8[$21_1+(Math_imul($5_1,$15_1)+$14_1|0)|0]!=0}$5_1=$5_1-1|0;continue}break}$14_1=$14_1+1|0;continue};case 3:break label$178;case 2:break label$183;default:break label$175}}while(1){if(($14_1|0)<0){break label$175}$28_1=Math_imul($14_1,$15_1);$5_1=$17_1;while(1){if(($5_1|0)>=0){$33_1=($5_1|0)==($17_1|0);if(!($33_1&($14_1|0)==($17_1|0)|(!($5_1|$14_1)|$33_1&!$14_1))){$16_1=$16_1<<1|$29_1>>>31;$29_1=$29_1<<1|HEAPU8[$21_1+($5_1+$28_1|0)|0]!=0}$5_1=$5_1-1|0;continue}break}$14_1=$14_1-1|0;continue}}HEAP32[$23_1>>2]=-1;HEAP32[$34_1>>2]=0;HEAP32[$20_1>>2]=0;HEAP32[$20_1+4>>2]=-1074790400;$5_1=-3;break label$170}}else{HEAP8[($18_1+44|0)+$5_1|0]=$28_1>>>0>HEAPU8[$21_1+HEAP32[($18_1+16|0)+($5_1<<2)>>2]|0];$5_1=$5_1+1|0;continue}break}while(1){if(($14_1|0)<0){break label$175}$5_1=0;while(1){if(($5_1|0)!=($15_1|0)){if(!(!($5_1|$14_1)|!$14_1&($5_1|0)==($17_1|0)|($5_1?0:($14_1|0)==($17_1|0)))){$16_1=$16_1<<1|$29_1>>>31;$29_1=$29_1<<1|HEAPU8[$21_1+(Math_imul($5_1,$15_1)+$14_1|0)|0]!=0}$5_1=$5_1+1|0;continue}break}$14_1=$14_1-1|0;continue}}HEAPF64[$20_1>>3]=($27_1|0)<=30?+($27_1|0)/30:1;label$203:{label$204:{label$205:{if(($13_1|0)==1285|$13_1-1028>>>0<2){break label$205}if(($13_1|0)!=515){if(($13_1|0)==772){break label$205}if(($13_1|0)!=259){break label$204}$5_1=HEAP8[$29_1+12288|0];HEAP32[$18_1+8>>2]=$5_1;HEAP32[$18_1+12>>2]=$5_1>>31;$5_1=$29_1&31;if(!((($29_1&63)>>>0>=32?1771476585>>>$5_1|0:((1<<$5_1)-1&1771476585)<<32-$5_1|-1771476586>>>$5_1)&1)){break label$203}HEAP32[$23_1>>2]=-1;HEAP32[$20_1>>2]=0;HEAP32[$20_1+4>>2]=-1074790400;$5_1=-4;break label$170}$5_1=HEAP8[$29_1+12224|0];HEAP32[$18_1+8>>2]=$5_1;HEAP32[$18_1+12>>2]=$5_1>>31;$5_1=$29_1;if($22_1){$14_1=$5_1&31;HEAP32[$22_1>>2]=(($5_1&63)>>>0>=32?2129124285>>>$14_1|0:((1<<$14_1)-1&2129124285)<<32-$14_1|-1109661826>>>$14_1)&1}$14_1=$5_1&31;if(!((($5_1&63)>>>0>=32?-2130706366>>>$14_1|0:((1<<$14_1)-1&-2130706366)<<32-$14_1|2365440>>>$14_1)&1)){break label$203}HEAP32[$23_1>>2]=-1;HEAP32[$20_1>>2]=0;HEAP32[$20_1+4>>2]=-1074790400;$5_1=-4;break label$170}$5_1=$832($13_1,$29_1,$16_1,0,$18_1+8|0);if(($5_1|0)<0){HEAP32[$23_1>>2]=-1;HEAP32[$20_1>>2]=0;HEAP32[$20_1+4>>2]=-1074790400;$5_1=-4;break label$170}if(!$22_1|!$5_1){break label$203}HEAP32[$22_1>>2]=$5_1;break label$203}HEAP32[$18_1+8>>2]=$29_1;HEAP32[$18_1+12>>2]=$16_1}HEAP32[$23_1>>2]=HEAP32[$18_1+8>>2];$5_1=0}global$0=$18_1+48|0;if(!$30_1){break label$131}HEAP32[$30_1>>2]=0;HEAP32[$30_1+4>>2]=0}label$209:{if(($8_1|0)==2|$8_1>>>0>4){break label$209}label$210:{if(!$6_1){HEAP32[$31_1>>2]=-1;$14_1=-1;break label$210}label$212:{switch($8_1|0){case 0:case 3:$14_1=HEAP32[$6_1+28>>2];if(($399($7_1,0,$14_1,$14_1<<2,$0_1,$1_1,$2_1,$3_1,$9_1,$49_1,$10_1,$26_1+16|0)|0)<0){HEAP32[$31_1>>2]=-1;$14_1=-6;break label$210}$14_1=$835($6_1,0,$26_1+16|0,HEAP32[$6_1+28>>2],$31_1,$40_1,$38_1);break label$210;default:break label$212}}$14_1=HEAP32[$6_1+28>>2];if(($399($7_1,1,$14_1,$14_1<<2,$0_1,$1_1,$2_1,$3_1,$9_1,$49_1,$10_1,$26_1+16|0)|0)<0){HEAP32[$31_1>>2]=-1;$14_1=-6;break label$210}$14_1=$835($6_1,1,$26_1+16|0,HEAP32[$6_1+28>>2],$31_1,$40_1,$38_1)}if(($5_1|0)==1){$5_1=$14_1;break label$209}if(($14_1|0)==1){break label$209}$5_1=$14_1&($5_1&$14_1)>>31}global$0=$26_1+12304|0;$5_1=$5_1+6|0;if($5_1>>>0<=6){HEAP32[$36_1+236>>2]=HEAP32[($5_1<<2)+12192>>2]}if($8_1>>>0<=2){$5_1=$8_1>>>0<2;HEAP32[$36_1+4>>2]=HEAP32[($5_1?$31_1:$23_1)>>2];HEAP32[$36_1+16>>2]=HEAP32[($5_1?$40_1:$34_1)>>2];HEAPF64[$36_1+32>>3]=HEAPF64[($5_1?$38_1:$20_1)>>3]}$55_1=$55_1+1|0}$54_1=$54_1+1|0;continue}break}HEAP32[$12_1>>2]=$55_1;global$0=$46_1+16|0;return 0}function $1131($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0;label$1:{label$2:{label$3:{label$4:{label$5:{$1_1=HEAP32[$0_1+20>>2];switch($1_1-202|0){case 2:break label$2;case 1:break label$4;case 0:break label$5;default:break label$3}}$12_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,28)|0;HEAP32[$0_1+444>>2]=$12_1;HEAP32[$12_1+8>>2]=0;HEAP32[$12_1+4>>2]=183;HEAP32[$12_1>>2]=184;$1_1=HEAP32[$0_1+212>>2];if(($1_1|0)!=8){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$1_1;HEAP32[$2_1+20>>2]=16;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$1_1=HEAP32[$0_1+20>>2];if(($1_1|0)!=202){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$1_1;HEAP32[$2_1+20>>2]=21;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$2_1=HEAP32[$0_1+428>>2];$3_1=Math_imul($2_1,HEAP32[$0_1+48>>2]);$5_1=HEAP32[$0_1+52>>2];label$8:{if($3_1>>>0<=$5_1>>>0){HEAP32[$0_1+112>>2]=$60(HEAP32[$0_1+28>>2],$2_1);$1_1=1;$2_1=HEAP32[$0_1+32>>2];break label$8}if($3_1>>>0<=$5_1<<1>>>0){HEAP32[$0_1+112>>2]=$60(HEAP32[$0_1+28>>2]<<1,$2_1);$1_1=2;$2_1=HEAP32[$0_1+32>>2]<<1;break label$8}$1_1=3;if($3_1>>>0<=Math_imul($5_1,3)>>>0){HEAP32[$0_1+112>>2]=$60(Math_imul(HEAP32[$0_1+28>>2],3),$2_1);$2_1=Math_imul(HEAP32[$0_1+32>>2],3);break label$8}if($3_1>>>0<=$5_1<<2>>>0){HEAP32[$0_1+112>>2]=$60(HEAP32[$0_1+28>>2]<<2,$2_1);$1_1=4;$2_1=HEAP32[$0_1+32>>2]<<2;break label$8}$1_1=5;if($3_1>>>0<=Math_imul($5_1,5)>>>0){HEAP32[$0_1+112>>2]=$60(Math_imul(HEAP32[$0_1+28>>2],5),$2_1);$2_1=Math_imul(HEAP32[$0_1+32>>2],5);break label$8}$1_1=6;if($3_1>>>0<=Math_imul($5_1,6)>>>0){HEAP32[$0_1+112>>2]=$60(Math_imul(HEAP32[$0_1+28>>2],6),$2_1);$2_1=Math_imul(HEAP32[$0_1+32>>2],6);break label$8}$1_1=7;if($3_1>>>0<=Math_imul($5_1,7)>>>0){HEAP32[$0_1+112>>2]=$60(Math_imul(HEAP32[$0_1+28>>2],7),$2_1);$2_1=Math_imul(HEAP32[$0_1+32>>2],7);break label$8}if($3_1>>>0<=$5_1<<3>>>0){HEAP32[$0_1+112>>2]=$60(HEAP32[$0_1+28>>2]<<3,$2_1);$1_1=8;$2_1=HEAP32[$0_1+32>>2]<<3;break label$8}$1_1=9;if($3_1>>>0<=Math_imul($5_1,9)>>>0){HEAP32[$0_1+112>>2]=$60(Math_imul(HEAP32[$0_1+28>>2],9),$2_1);$2_1=Math_imul(HEAP32[$0_1+32>>2],9);break label$8}$1_1=10;if($3_1>>>0<=Math_imul($5_1,10)>>>0){HEAP32[$0_1+112>>2]=$60(Math_imul(HEAP32[$0_1+28>>2],10),$2_1);$2_1=Math_imul(HEAP32[$0_1+32>>2],10);break label$8}$1_1=11;if($3_1>>>0<=Math_imul($5_1,11)>>>0){HEAP32[$0_1+112>>2]=$60(Math_imul(HEAP32[$0_1+28>>2],11),$2_1);$2_1=Math_imul(HEAP32[$0_1+32>>2],11);break label$8}$1_1=12;if($3_1>>>0<=Math_imul($5_1,12)>>>0){HEAP32[$0_1+112>>2]=$60(Math_imul(HEAP32[$0_1+28>>2],12),$2_1);$2_1=Math_imul(HEAP32[$0_1+32>>2],12);break label$8}$1_1=13;if($3_1>>>0<=Math_imul($5_1,13)>>>0){HEAP32[$0_1+112>>2]=$60(Math_imul(HEAP32[$0_1+28>>2],13),$2_1);$2_1=Math_imul(HEAP32[$0_1+32>>2],13);break label$8}$1_1=14;if($3_1>>>0<=Math_imul($5_1,14)>>>0){HEAP32[$0_1+112>>2]=$60(Math_imul(HEAP32[$0_1+28>>2],14),$2_1);$2_1=Math_imul(HEAP32[$0_1+32>>2],14);break label$8}$1_1=15;$6_1=HEAP32[$0_1+28>>2];if($3_1>>>0<=Math_imul($5_1,15)>>>0){HEAP32[$0_1+112>>2]=$60(Math_imul($6_1,15),$2_1);$2_1=Math_imul(HEAP32[$0_1+32>>2],15);break label$8}HEAP32[$0_1+112>>2]=$60($6_1<<4,$2_1);$1_1=16;$2_1=HEAP32[$0_1+32>>2]<<4}$2_1=$60($2_1,HEAP32[$0_1+428>>2]);HEAP32[$0_1+328>>2]=$1_1;HEAP32[$0_1+324>>2]=$1_1;HEAP32[$0_1+116>>2]=$2_1;$5_1=HEAP32[$0_1+36>>2];label$24:{if(($5_1|0)<=0){break label$24}$2_1=HEAP32[$0_1+216>>2];if($5_1-1>>>0>=7){$6_1=$5_1&-8;$3_1=0;while(1){HEAP32[$2_1+40>>2]=$1_1;HEAP32[$2_1+36>>2]=$1_1;HEAP32[$2_1+656>>2]=$1_1;HEAP32[$2_1+652>>2]=$1_1;HEAP32[$2_1+568>>2]=$1_1;HEAP32[$2_1+564>>2]=$1_1;HEAP32[$2_1+480>>2]=$1_1;HEAP32[$2_1+476>>2]=$1_1;HEAP32[$2_1+392>>2]=$1_1;HEAP32[$2_1+388>>2]=$1_1;HEAP32[$2_1+304>>2]=$1_1;HEAP32[$2_1+300>>2]=$1_1;HEAP32[$2_1+216>>2]=$1_1;HEAP32[$2_1+212>>2]=$1_1;HEAP32[$2_1+128>>2]=$1_1;HEAP32[$2_1+124>>2]=$1_1;$2_1=$2_1+704|0;$3_1=$3_1+8|0;if(($6_1|0)!=($3_1|0)){continue}break}}$5_1=$5_1&7;if(!$5_1){break label$24}$3_1=0;while(1){HEAP32[$2_1+40>>2]=$1_1;HEAP32[$2_1+36>>2]=$1_1;$2_1=$2_1+88|0;$3_1=$3_1+1|0;if(($5_1|0)!=($3_1|0)){continue}break}}$9_1=HEAP32[$0_1+36>>2];label$28:{if(($9_1|0)<=0){break label$28}$10_1=HEAP32[$0_1+76>>2]?8:4;$3_1=HEAP32[$0_1+328>>2];$6_1=HEAP32[$0_1+324>>2];$5_1=HEAP32[$0_1+216>>2];$8_1=$5_1;while(1){$1_1=$6_1;label$30:{if(($10_1|0)<($1_1|0)){break label$30}$2_1=HEAP32[$0_1+316>>2];$11_1=HEAP32[$8_1+8>>2];if(($2_1|0)%($11_1<<1)|0){break label$30}$7_1=2;while(1){$1_1=Math_imul($6_1,$7_1);if(($10_1|0)<($1_1|0)){break label$30}$7_1=$7_1<<1;if(!(($2_1|0)%(Math_imul($11_1,$7_1)|0)|0)){continue}break}}HEAP32[$8_1+36>>2]=$1_1;$2_1=$3_1;label$32:{if(($10_1|0)<($2_1|0)){break label$32}$11_1=HEAP32[$0_1+320>>2];$13_1=HEAP32[$8_1+12>>2];if(($11_1|0)%($13_1<<1)|0){break label$32}$7_1=2;while(1){$2_1=Math_imul($3_1,$7_1);if(($10_1|0)<($2_1|0)){break label$32}$7_1=$7_1<<1;if(!(($11_1|0)%(Math_imul($13_1,$7_1)|0)|0)){continue}break}}HEAP32[$8_1+40>>2]=$2_1;$7_1=$2_1<<1;label$34:{if(($7_1|0)<($1_1|0)){HEAP32[$8_1+36>>2]=$7_1;break label$34}$1_1=$1_1<<1;if(($1_1|0)>=($2_1|0)){break label$34}HEAP32[$8_1+40>>2]=$1_1}$8_1=$8_1+88|0;$14_1=$14_1+1|0;if(($14_1|0)!=($9_1|0)){continue}break}if(($9_1|0)<=0){break label$28}$7_1=0;while(1){HEAP32[$5_1+44>>2]=$60(Math_imul(HEAP32[$5_1+36>>2],Math_imul(HEAP32[$5_1+8>>2],HEAP32[$0_1+28>>2])),Math_imul(HEAP32[$0_1+428>>2],HEAP32[$0_1+316>>2]));HEAP32[$5_1+48>>2]=$60(Math_imul(HEAP32[$5_1+40>>2],Math_imul(HEAP32[$5_1+12>>2],HEAP32[$0_1+32>>2])),Math_imul(HEAP32[$0_1+428>>2],HEAP32[$0_1+320>>2]));$5_1=$5_1+88|0;$7_1=$7_1+1|0;$9_1=HEAP32[$0_1+36>>2];if(($7_1|0)<($9_1|0)){continue}break}}$1_1=HEAP32[$0_1+44>>2]-1|0;if($1_1>>>0<=6){$9_1=HEAP32[($1_1<<2)+40144>>2]}HEAP32[$0_1+120>>2]=$9_1;HEAP32[$0_1+124>>2]=HEAP32[$0_1+84>>2]?1:$9_1;if($668($0_1)){$2_1=HEAP32[$0_1+320>>2]}else{$2_1=1}HEAP32[$0_1+128>>2]=$2_1;$2_1=$11(FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1280)|0,0,512);$1_1=$2_1+512|0;HEAP32[$0_1+336>>2]=$1_1;while(1){HEAP8[$1_1+$4_1|0]=$4_1;$3_1=$4_1|1;HEAP8[$3_1+$1_1|0]=$3_1;$3_1=$4_1|2;HEAP8[$3_1+$1_1|0]=$3_1;$3_1=$4_1|3;HEAP8[$3_1+$1_1|0]=$3_1;$3_1=$4_1|4;HEAP8[$3_1+$1_1|0]=$3_1;$3_1=$4_1|5;HEAP8[$3_1+$1_1|0]=$3_1;$3_1=$4_1|6;HEAP8[$3_1+$1_1|0]=$3_1;$3_1=$4_1|7;HEAP8[$3_1+$1_1|0]=$3_1;$4_1=$4_1+8|0;if(($4_1|0)!=256){continue}break}$11($2_1+768|0,255,512);if(!(!(!HEAP32[$0_1+116>>2]|!HEAP32[$0_1+112>>2])&HEAP32[$0_1+120>>2]>0)){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=33;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}HEAP32[$12_1+12>>2]=0;$1_1=$668($0_1);HEAP32[$12_1+20>>2]=0;HEAP32[$12_1+24>>2]=0;HEAP32[$12_1+16>>2]=$1_1;label$43:{if(!HEAP32[$0_1+84>>2]){HEAP32[$0_1+108>>2]=0;HEAP32[$0_1+100>>2]=0;HEAP32[$0_1+104>>2]=0;break label$43}if(!HEAP32[$0_1+64>>2]){HEAP32[$0_1+108>>2]=0;HEAP32[$0_1+100>>2]=0;HEAP32[$0_1+104>>2]=0}if(HEAP32[$0_1+68>>2]){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=48;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}label$47:{if(HEAP32[$0_1+120>>2]!=3){HEAP32[$0_1+136>>2]=0;HEAP32[$0_1+108>>2]=0;HEAP32[$0_1+100>>2]=1;HEAP32[$0_1+104>>2]=0;break label$47}if(HEAP32[$0_1+136>>2]){HEAP32[$0_1+104>>2]=1;break label$47}if(HEAP32[$0_1+92>>2]){HEAP32[$0_1+108>>2]=1;break label$47}HEAP32[$0_1+100>>2]=1}if(HEAP32[$0_1+100>>2]){$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,88)|0;HEAP32[$0_1+484>>2]=$1_1;HEAP32[$1_1+68>>2]=0;HEAP32[$1_1+12>>2]=217;HEAP32[$1_1+8>>2]=218;HEAP32[$1_1>>2]=219;HEAP32[$1_1+52>>2]=0;if(HEAP32[$0_1+120>>2]>=5){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=57;HEAP32[$1_1+24>>2]=4;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$5_1=HEAP32[$0_1+96>>2];if(($5_1|0)>=257){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=59;HEAP32[$1_1+24>>2]=256;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1);$5_1=HEAP32[$0_1+96>>2]}$8_1=HEAP32[$0_1+120>>2];$10_1=$8_1-1|0;$7_1=$10_1&-8;$4_1=$10_1&7;$9_1=HEAP32[$0_1+484>>2];$11_1=($8_1|0)<2;$13_1=$8_1-2>>>0<7;$2_1=1;while(1){$6_1=$2_1;$2_1=$2_1+1|0;$3_1=$2_1;label$55:{if($11_1){break label$55}$1_1=0;$3_1=$2_1;if(!$13_1){while(1){$3_1=Math_imul(Math_imul(Math_imul(Math_imul(Math_imul(Math_imul(Math_imul(Math_imul($2_1,$3_1),$2_1),$2_1),$2_1),$2_1),$2_1),$2_1),$2_1);$1_1=$1_1+8|0;if(($7_1|0)!=($1_1|0)){continue}break}}$1_1=0;if(!$4_1){break label$55}while(1){$3_1=Math_imul($2_1,$3_1);$1_1=$1_1+1|0;if(($4_1|0)!=($1_1|0)){continue}break}}if(($3_1|0)<=($5_1|0)){continue}break}$4_1=1;if($6_1>>>0<=1){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$3_1;HEAP32[$1_1+20>>2]=58;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}label$60:{if(($8_1|0)<=0){break label$60}$1_1=$9_1+32|0;$11_1=$8_1&3;$7_1=0;label$61:{if($10_1>>>0<3){$3_1=0;break label$61}$13_1=$8_1&-4;$3_1=0;$10_1=0;while(1){$2_1=$3_1<<2;HEAP32[$2_1+$1_1>>2]=$6_1;HEAP32[$1_1+($2_1|4)>>2]=$6_1;HEAP32[$1_1+($2_1|8)>>2]=$6_1;HEAP32[$1_1+($2_1|12)>>2]=$6_1;$3_1=$3_1+4|0;$4_1=Math_imul($6_1,Math_imul($6_1,Math_imul($6_1,Math_imul($4_1,$6_1))));$10_1=$10_1+4|0;if(($13_1|0)!=($10_1|0)){continue}break}}if($11_1){while(1){HEAP32[$1_1+($3_1<<2)>>2]=$6_1;$3_1=$3_1+1|0;$4_1=Math_imul($4_1,$6_1);$7_1=$7_1+1|0;if(($11_1|0)!=($7_1|0)){continue}break}}if(($8_1|0)<=0){break label$60}$3_1=0;$10_1=HEAP32[$0_1+44>>2]!=2;$7_1=1;while(1){$11_1=(($10_1?$3_1:HEAP32[($3_1<<2)+40960>>2])<<2)+$1_1|0;$2_1=HEAP32[$11_1>>2];$6_1=$2_1+1|0;$2_1=Math_imul($6_1,($4_1|0)/($2_1|0)|0);if(($2_1|0)<=($5_1|0)){HEAP32[$11_1>>2]=$6_1;$7_1=0;$4_1=$2_1;$3_1=$3_1+1|0;if(($8_1|0)!=($3_1|0)){continue}}$2_1=$7_1&1;$7_1=1;$3_1=0;if(!$2_1){continue}break}}$3_1=HEAP32[$0_1+120>>2];$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$4_1;$2_1=$1_1;label$70:{if(($3_1|0)==3){HEAP32[$1_1+28>>2]=HEAP32[$9_1+32>>2];HEAP32[$1_1+32>>2]=HEAP32[$9_1+36>>2];HEAP32[$1_1+36>>2]=HEAP32[$9_1+40>>2];$6_1=96;break label$70}$1_1=HEAP32[$0_1>>2];$6_1=97}HEAP32[$2_1+20>>2]=$6_1;FUNCTION_TABLE[HEAP32[$1_1+4>>2]]($0_1,1);$14_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+8>>2]]($0_1,1,$4_1,HEAP32[$0_1+120>>2])|0;$2_1=HEAP32[$0_1+120>>2];if(($2_1|0)>0){$5_1=0;$1_1=$4_1;while(1){$3_1=$5_1<<2;$13_1=HEAP32[($3_1+$9_1|0)+32>>2];$6_1=($1_1|0)/($13_1|0)|0;if(($13_1|0)>0){$19_1=$6_1&-4;$17_1=$6_1&3;$20_1=$6_1-1|0;$8_1=$3_1+$14_1|0;$18_1=$13_1-1|0;$15_1=$18_1>>>1|0;$7_1=0;while(1){$3_1=Math_imul($6_1,$7_1);if(($4_1|0)>($3_1|0)){$11_1=(Math_imul($7_1,255)+$15_1|0)/($18_1|0)|0;while(1){label$78:{if(($6_1|0)<=0){break label$78}$10_1=0;$2_1=0;$16_1=0;if($20_1>>>0>=3){while(1){HEAP8[HEAP32[$8_1>>2]+($2_1+$3_1|0)|0]=$11_1;HEAP8[HEAP32[$8_1>>2]+(($2_1|1)+$3_1|0)|0]=$11_1;HEAP8[HEAP32[$8_1>>2]+(($2_1|2)+$3_1|0)|0]=$11_1;HEAP8[HEAP32[$8_1>>2]+(($2_1|3)+$3_1|0)|0]=$11_1;$2_1=$2_1+4|0;$16_1=$16_1+4|0;if(($19_1|0)!=($16_1|0)){continue}break}}if(!$17_1){break label$78}while(1){HEAP8[HEAP32[$8_1>>2]+($2_1+$3_1|0)|0]=$11_1;$2_1=$2_1+1|0;$10_1=$10_1+1|0;if(($17_1|0)!=($10_1|0)){continue}break}}$3_1=$1_1+$3_1|0;if(($4_1|0)>($3_1|0)){continue}break}}$7_1=$7_1+1|0;if(($13_1|0)!=($7_1|0)){continue}break}$2_1=HEAP32[$0_1+120>>2]}$1_1=$6_1;$5_1=$5_1+1|0;if(($5_1|0)<($2_1|0)){continue}break}}HEAP32[$9_1+20>>2]=$4_1;HEAP32[$9_1+16>>2]=$14_1;$656($0_1);if(!(HEAP32[$0_1+88>>2]!=2|HEAP32[$0_1+120>>2]<=0)){$1_1=(HEAP32[$0_1+112>>2]<<1)+4|0;$4_1=HEAP32[$0_1+484>>2];$2_1=0;while(1){HEAP32[($4_1+($2_1<<2)|0)+68>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+4>>2]]($0_1,1,$1_1);$2_1=$2_1+1|0;if(($2_1|0)>2]){continue}break}}HEAP32[$12_1+20>>2]=HEAP32[$0_1+484>>2]}if(!(HEAP32[$0_1+104>>2]?1:HEAP32[$0_1+108>>2])){break label$43}$2_1=0;$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,44)|0;HEAP32[$0_1+484>>2]=$1_1;HEAP32[$1_1+40>>2]=0;HEAP32[$1_1+32>>2]=0;HEAP32[$1_1+12>>2]=225;HEAP32[$1_1>>2]=226;if(HEAP32[$0_1+120>>2]!=3){$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+20>>2]=48;FUNCTION_TABLE[HEAP32[$4_1>>2]]($0_1)}HEAP32[$1_1+24>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,128);while(1){$4_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+4>>2]]($0_1,1,4096)|0;$3_1=$2_1<<2;HEAP32[$3_1+HEAP32[$1_1+24>>2]>>2]=$4_1;$4_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+4>>2]]($0_1,1,4096)|0;HEAP32[HEAP32[$1_1+24>>2]+($3_1|4)>>2]=$4_1;$2_1=$2_1+2|0;if(($2_1|0)!=32){continue}break}HEAP32[$1_1+28>>2]=1;label$87:{if(HEAP32[$0_1+108>>2]){$3_1=8;$4_1=58;$2_1=HEAP32[$0_1+96>>2];label$89:{if(($2_1|0)>=8){if($2_1>>>0<257){break label$89}$3_1=256;$4_1=59}$5_1=HEAP32[$0_1>>2];HEAP32[$5_1+24>>2]=$3_1;HEAP32[$5_1+20>>2]=$4_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$4_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+8>>2]]($0_1,1,$2_1,3)|0;HEAP32[$1_1+20>>2]=$2_1;HEAP32[$1_1+16>>2]=$4_1;break label$87}HEAP32[$1_1+16>>2]=0}if(HEAP32[$0_1+88>>2]){HEAP32[$0_1+88>>2]=2;HEAP32[$1_1+32>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+4>>2]]($0_1,1,Math_imul(HEAP32[$0_1+112>>2],6)+12|0);$655($0_1)}HEAP32[$12_1+24>>2]=HEAP32[$0_1+484>>2]}if(!HEAP32[$0_1+68>>2]){label$93:{if(HEAP32[$12_1+16>>2]){$2_1=0;$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,48)|0;HEAP32[$0_1+476>>2]=$1_1;HEAP32[$1_1+8>>2]=0;HEAP32[$1_1>>2]=185;$4_1=Math_imul(HEAP32[$0_1+120>>2],HEAP32[$0_1+112>>2]);HEAP32[$1_1+40>>2]=$4_1;label$95:{if(HEAP32[$0_1+320>>2]==2){HEAP32[$1_1+12>>2]=186;HEAP32[$1_1+4>>2]=187;$2_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+4>>2]]($0_1,1,$4_1)|0;break label$95}HEAP32[$1_1+12>>2]=188;HEAP32[$1_1+4>>2]=189}HEAP32[$1_1+32>>2]=$2_1;$4_1=HEAP32[$0_1+40>>2];$1_1=HEAP32[$0_1+476>>2];HEAP32[$1_1+16>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024);HEAP32[$1_1+20>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024);HEAP32[$1_1+24>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024);$3_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024)|0;HEAP32[$1_1+28>>2]=$3_1;$5_1=HEAP32[$1_1+24>>2];$6_1=HEAP32[$1_1+20>>2];$7_1=HEAP32[$1_1+16>>2];$2_1=0;$1_1=-128;label$97:{if(($4_1|0)==7){while(1){$4_1=$2_1<<2;HEAP32[$4_1+$7_1>>2]=Math_imul($1_1,183763)+32768>>16;HEAP32[$4_1+$6_1>>2]=Math_imul($1_1,232260)+32768>>16;HEAP32[$4_1+$5_1>>2]=Math_imul($1_1,-93603);HEAP32[$3_1+$4_1>>2]=Math_imul($1_1,-45107)+32768;$1_1=$1_1+1|0;$2_1=$2_1+1|0;if(($2_1|0)!=256){continue}break label$97}}while(1){$4_1=$2_1<<2;HEAP32[$4_1+$7_1>>2]=Math_imul($1_1,91881)+32768>>16;HEAP32[$4_1+$6_1>>2]=Math_imul($1_1,116130)+32768>>16;HEAP32[$4_1+$5_1>>2]=Math_imul($1_1,-46802);HEAP32[$3_1+$4_1>>2]=Math_imul($1_1,-22553)+32768;$1_1=$1_1+1|0;$2_1=$2_1+1|0;if(($2_1|0)!=256){continue}break}}break label$93}$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,28)|0;HEAP32[$0_1+480>>2]=$1_1;HEAP32[$1_1>>2]=112;label$101:{label$102:{label$103:{$2_1=HEAP32[$0_1+40>>2];if($2_1>>>0>7){break label$103}label$104:{if(!(1<<$2_1&204)){if(1<<$2_1&48){break label$104}if(($2_1|0)!=1){break label$103}if(HEAP32[$0_1+36>>2]!=1){break label$102}break label$101}if(HEAP32[$0_1+36>>2]!=3){break label$102}break label$101}if(HEAP32[$0_1+36>>2]!=4){break label$102}break label$101}if(HEAP32[$0_1+36>>2]>0){break label$101}}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=11;FUNCTION_TABLE[HEAP32[$2_1>>2]]($0_1)}label$106:{if(!HEAP32[$0_1+304>>2]){break label$106}label$107:{switch(HEAP32[$0_1+40>>2]-2|0){case 0:case 4:break label$106;default:break label$107}}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=28;FUNCTION_TABLE[HEAP32[$2_1>>2]]($0_1)}label$108:{label$109:{label$110:{label$111:{label$112:{label$113:{$2_1=HEAP32[$0_1+44>>2];switch($2_1-1|0){case 3:break label$110;case 5:break label$111;case 1:break label$112;case 0:break label$113;default:break label$109}}HEAP32[$0_1+120>>2]=1;label$114:{switch(HEAP32[$0_1+40>>2]-1|0){case 0:case 2:case 6:HEAP32[$1_1+4>>2]=113;$1_1=HEAP32[$0_1+36>>2];if(($1_1|0)<2){break label$108}$4_1=$1_1-1|0;$3_1=$4_1&7;$5_1=HEAP32[$0_1+216>>2];$2_1=1;if($1_1-2>>>0>=7){$6_1=$4_1&-8;$4_1=0;while(1){$1_1=$5_1+Math_imul($2_1,88)|0;HEAP32[$1_1+52>>2]=0;HEAP32[$1_1+140>>2]=0;HEAP32[$1_1+228>>2]=0;HEAP32[$1_1+316>>2]=0;HEAP32[$1_1+404>>2]=0;HEAP32[$1_1+492>>2]=0;HEAP32[$1_1+580>>2]=0;HEAP32[$1_1+668>>2]=0;$2_1=$2_1+8|0;$4_1=$4_1+8|0;if(($6_1|0)!=($4_1|0)){continue}break}}if(!$3_1){break label$108}$1_1=0;while(1){HEAP32[($5_1+Math_imul($2_1,88)|0)+52>>2]=0;$2_1=$2_1+1|0;$1_1=$1_1+1|0;if(($3_1|0)!=($1_1|0)){continue}break};break label$108;case 1:label$120:{label$121:{switch(HEAP32[$0_1+304>>2]){case 0:HEAP32[$1_1+4>>2]=114;break label$120;case 1:HEAP32[$1_1+4>>2]=115;break label$120;default:break label$121}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=28;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}$2_1=HEAP32[$0_1+480>>2];$3_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,3072)|0;HEAP32[$2_1+24>>2]=$3_1;$1_1=0;while(1){$2_1=$3_1+($1_1<<2)|0;HEAP32[$2_1>>2]=Math_imul($1_1,19595);HEAP32[$2_1+2048>>2]=Math_imul($1_1,7471)+32768;HEAP32[$2_1+1024>>2]=Math_imul($1_1,38470);$4_1=$1_1|1;HEAP32[$3_1+($4_1<<2)>>2]=Math_imul($4_1,19595);HEAP32[$2_1+2052>>2]=Math_imul($4_1,7471)+32768;HEAP32[$2_1+1028>>2]=Math_imul($4_1,38470);$1_1=$1_1+2|0;if(($1_1|0)!=256){continue}break};break label$108;default:break label$114}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=28;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1);break label$108}HEAP32[$0_1+120>>2]=3;label$125:{switch(HEAP32[$0_1+40>>2]-1|0){case 0:HEAP32[$1_1+4>>2]=116;break label$108;case 2:HEAP32[$1_1+4>>2]=117;$673($0_1);break label$108;case 6:HEAP32[$1_1+4>>2]=117;$1_1=HEAP32[$0_1+480>>2];HEAP32[$1_1+8>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024);HEAP32[$1_1+12>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024);HEAP32[$1_1+16>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024);$3_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024)|0;HEAP32[$1_1+20>>2]=$3_1;$5_1=HEAP32[$1_1+16>>2];$6_1=HEAP32[$1_1+12>>2];$7_1=HEAP32[$1_1+8>>2];$2_1=0;$1_1=-128;while(1){$4_1=$2_1<<2;HEAP32[$4_1+$7_1>>2]=Math_imul($1_1,183763)+32768>>16;HEAP32[$4_1+$6_1>>2]=Math_imul($1_1,232260)+32768>>16;HEAP32[$4_1+$5_1>>2]=Math_imul($1_1,-93603);HEAP32[$3_1+$4_1>>2]=Math_imul($1_1,-45107)+32768;$1_1=$1_1+1|0;$2_1=$2_1+1|0;if(($2_1|0)!=256){continue}break};break label$108;case 1:label$131:{switch(HEAP32[$0_1+304>>2]){case 0:HEAP32[$1_1+4>>2]=118;break label$108;case 1:HEAP32[$1_1+4>>2]=119;break label$108;default:break label$131}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=28;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1);break label$108;default:break label$125}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=28;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1);break label$108}HEAP32[$0_1+120>>2]=3;if(HEAP32[$0_1+40>>2]==6){label$135:{switch(HEAP32[$0_1+304>>2]){case 0:HEAP32[$1_1+4>>2]=118;break label$108;case 1:HEAP32[$1_1+4>>2]=119;break label$108;default:break label$135}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=28;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1);break label$108}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=28;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1);break label$108}HEAP32[$0_1+120>>2]=4;label$138:{switch(HEAP32[$0_1+40>>2]-4|0){case 1:HEAP32[$1_1+4>>2]=120;$673($0_1);break label$108;case 0:HEAP32[$1_1+4>>2]=121;break label$108;default:break label$138}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=28;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1);break label$108}if(($2_1|0)==HEAP32[$0_1+40>>2]){HEAP32[$0_1+120>>2]=HEAP32[$0_1+36>>2];HEAP32[$1_1+4>>2]=121;break label$108}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=28;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}HEAP32[$0_1+124>>2]=HEAP32[$0_1+84>>2]?1:HEAP32[$0_1+120>>2];$7_1=0;$4_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,160)|0;HEAP32[$0_1+476>>2]=$4_1;HEAP32[$4_1+8>>2]=0;HEAP32[$4_1+4>>2]=194;HEAP32[$4_1>>2]=195;if(HEAP32[$0_1+308>>2]){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=26;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}if(HEAP32[$0_1+36>>2]>0){$1_1=HEAP32[$0_1+216>>2];while(1){$3_1=HEAP32[$0_1+320>>2];$6_1=HEAP32[$0_1+316>>2];$8_1=HEAP32[$0_1+324>>2];$9_1=HEAP32[$1_1+36>>2];$10_1=HEAP32[$1_1+8>>2];$2_1=$4_1+($7_1<<2)|0;$5_1=(Math_imul(HEAP32[$1_1+40>>2],HEAP32[$1_1+12>>2])|0)/HEAP32[$0_1+328>>2]|0;HEAP32[$2_1+100>>2]=$5_1;$8_1=(Math_imul($9_1,$10_1)|0)/($8_1|0)|0;label$147:{if(!HEAP32[$1_1+52>>2]){HEAP32[$2_1+52>>2]=196;break label$147}if(!(($6_1|0)!=($8_1|0)|($3_1|0)!=($5_1|0))){HEAP32[$2_1+52>>2]=197;break label$147}$9_1=($6_1|0)!=$8_1<<1;label$150:{if(!($9_1|($3_1|0)!=($5_1|0))){HEAP32[$2_1+52>>2]=198;break label$150}if(!($9_1|($3_1|0)!=$5_1<<1)){HEAP32[$2_1+52>>2]=199;break label$150}label$153:{$15_1=$6_1;$6_1=($6_1|0)/($8_1|0)|0;if($15_1-Math_imul($6_1,$8_1)|0){break label$153}$15_1=$3_1;$3_1=($3_1|0)/($5_1|0)|0;if($15_1-Math_imul($3_1,$5_1)|0){break label$153}HEAP32[$2_1+52>>2]=200;$5_1=$4_1+$7_1|0;HEAP8[$5_1+150|0]=$3_1;HEAP8[$5_1+140|0]=$6_1;break label$150}$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=39;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1)}$3_1=HEAP32[HEAP32[$0_1+4>>2]+8>>2];HEAP32[$2_1+12>>2]=FUNCTION_TABLE[$3_1|0]($0_1,1,$371(HEAP32[$0_1+112>>2],HEAP32[$0_1+316>>2]),HEAP32[$0_1+320>>2])}$1_1=$1_1+88|0;$7_1=$7_1+1|0;if(($7_1|0)>2]){continue}break}}}$3_1=HEAP32[$0_1+108>>2];$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,28)|0;HEAP32[$0_1+456>>2]=$1_1;HEAP32[$1_1+8>>2]=0;HEAP32[$1_1+12>>2]=0;HEAP32[$1_1>>2]=190;if(HEAP32[$0_1+84>>2]){label$155:{$2_1=HEAP32[$0_1+320>>2];HEAP32[$1_1+16>>2]=$2_1;$4_1=HEAP32[$0_1+4>>2];if($3_1){$4_1=HEAP32[$4_1+16>>2];HEAP32[$1_1+8>>2]=FUNCTION_TABLE[$4_1|0]($0_1,1,0,Math_imul(HEAP32[$0_1+120>>2],HEAP32[$0_1+112>>2]),$371(HEAP32[$0_1+116>>2],$2_1),HEAP32[$1_1+16>>2]);break label$155}HEAP32[$1_1+12>>2]=FUNCTION_TABLE[HEAP32[$4_1+8>>2]]($0_1,1,Math_imul(HEAP32[$0_1+120>>2],HEAP32[$0_1+112>>2]),$2_1)}}}$1_1=0;$4_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,84)|0;HEAP32[$0_1+472>>2]=$4_1;HEAP32[$4_1>>2]=122;if(HEAP32[$0_1+36>>2]>0){$2_1=HEAP32[$0_1+216>>2];while(1){$3_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,256)|0;HEAP32[$2_1+84>>2]=$3_1;$11($3_1,0,256);HEAP32[($4_1+($1_1<<2)|0)+44>>2]=-1;$2_1=$2_1+88|0;$1_1=$1_1+1|0;if(($1_1|0)>2]){continue}break}}label$159:{if(HEAP32[$0_1+228>>2]){$2_1=0;$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,192)|0;HEAP32[$0_1+468>>2]=$1_1;HEAP32[$1_1+8>>2]=157;HEAP32[$1_1>>2]=158;$11($1_1+60|0,0,128);HEAP8[$1_1+188|0]=113;label$161:{if(!HEAP32[$0_1+224>>2]){break label$161}$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,HEAP32[$0_1+36>>2]<<8)|0;HEAP32[$0_1+160>>2]=$1_1;if(HEAP32[$0_1+36>>2]<=0){break label$161}while(1){$1_1=$11($1_1,255,256)+256|0;$2_1=$2_1+1|0;if(($2_1|0)>2]){continue}break}}break label$159}$2_1=0;$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,220)|0;HEAP32[$0_1+468>>2]=$1_1;HEAP32[$1_1+8>>2]=164;HEAP32[$1_1>>2]=165;label$163:{if(!HEAP32[$0_1+224>>2]){HEAP32[$1_1+92>>2]=0;HEAP32[$1_1+96>>2]=0;HEAP32[$1_1+84>>2]=0;HEAP32[$1_1+88>>2]=0;HEAP32[$1_1+76>>2]=0;HEAP32[$1_1+80>>2]=0;HEAP32[$1_1+68>>2]=0;HEAP32[$1_1+72>>2]=0;break label$163}$3_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,HEAP32[$0_1+36>>2]<<8)|0;HEAP32[$0_1+160>>2]=$3_1;if(HEAP32[$0_1+36>>2]>0){while(1){$3_1=$11($3_1,255,256)+256|0;$2_1=$2_1+1|0;if(($2_1|0)>2]){continue}break}}HEAP32[$1_1+56>>2]=0;HEAP32[$1_1+60>>2]=0;HEAP32[$1_1+48>>2]=0;HEAP32[$1_1+52>>2]=0}}$2_1=HEAP32[HEAP32[$0_1+460>>2]+16>>2]?1:HEAP32[$0_1+64>>2]!=0;$3_1=0;$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,116)|0;HEAP32[$0_1+452>>2]=$1_1;HEAP32[$1_1+112>>2]=0;HEAP32[$1_1+8>>2]=172;HEAP32[$1_1>>2]=173;label$169:{if($2_1){if(HEAP32[$0_1+36>>2]>0){$2_1=HEAP32[$0_1+216>>2];while(1){$4_1=HEAP32[$2_1+12>>2];$5_1=HEAP32[$0_1+224>>2];$6_1=HEAP32[HEAP32[$0_1+4>>2]+20>>2];HEAP32[($1_1+($3_1<<2)|0)+72>>2]=FUNCTION_TABLE[$6_1|0]($0_1,1,1,$371(HEAP32[$2_1+28>>2],HEAP32[$2_1+8>>2]),$371(HEAP32[$2_1+32>>2],HEAP32[$2_1+12>>2]),$5_1?Math_imul($4_1,3):$4_1);$2_1=$2_1+88|0;$3_1=$3_1+1|0;if(($3_1|0)>2]){continue}break}}HEAP32[$1_1+12>>2]=174;HEAP32[$1_1+4>>2]=175;HEAP32[$1_1+16>>2]=$1_1+72;break label$169}$2_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+4>>2]]($0_1,1,1280)|0;HEAP32[$1_1+32>>2]=$2_1;HEAP32[$1_1+68>>2]=$2_1+1152;HEAP32[$1_1- -64>>2]=$2_1+1024;HEAP32[$1_1+60>>2]=$2_1+896;HEAP32[$1_1+56>>2]=$2_1+768;HEAP32[$1_1+52>>2]=$2_1+640;HEAP32[$1_1+48>>2]=$2_1+512;HEAP32[$1_1+44>>2]=$2_1+384;HEAP32[$1_1+40>>2]=$2_1+256;HEAP32[$1_1+36>>2]=$2_1+128;if(!HEAP32[$0_1+436>>2]){$11($2_1,0,1280)}HEAP32[$1_1+12>>2]=176;HEAP32[$1_1+4>>2]=177;HEAP32[$1_1+16>>2]=0}if(!HEAP32[$0_1+68>>2]){$2_1=0;$5_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,80)|0;HEAP32[$0_1+448>>2]=$5_1;HEAP32[$5_1>>2]=179;$3_1=HEAP32[$0_1+328>>2];label$175:{if(HEAP32[HEAP32[$0_1+476>>2]+8>>2]){if(($3_1|0)<=1){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=48;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1);$3_1=HEAP32[$0_1+328>>2]}$6_1=HEAP32[$0_1+448>>2];$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,HEAP32[$0_1+36>>2]<<3)|0;HEAP32[$6_1+60>>2]=$1_1;$4_1=HEAP32[$0_1+36>>2];HEAP32[$6_1- -64>>2]=$1_1+($4_1<<2);if(($4_1|0)>0){$3_1=$3_1+4|0;$1_1=HEAP32[$0_1+216>>2];while(1){$4_1=(Math_imul(HEAP32[$1_1+40>>2],HEAP32[$1_1+12>>2])|0)/HEAP32[$0_1+328>>2]|0;$7_1=Math_imul($4_1,$3_1);$8_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,$7_1<<3)|0;$9_1=$2_1<<2;$4_1=$8_1+($4_1<<2)|0;HEAP32[$9_1+HEAP32[$6_1+60>>2]>>2]=$4_1;HEAP32[$9_1+HEAP32[$6_1+64>>2]>>2]=$4_1+($7_1<<2);$1_1=$1_1+88|0;$2_1=$2_1+1|0;$4_1=HEAP32[$0_1+36>>2];if(($2_1|0)<($4_1|0)){continue}break}}$3_1=HEAP32[$0_1+328>>2]+2|0;break label$175}HEAP32[$5_1+52>>2]=$3_1;$4_1=HEAP32[$0_1+36>>2]}if(($4_1|0)>0){$1_1=HEAP32[$0_1+216>>2];$2_1=0;while(1){HEAP32[($5_1+($2_1<<2)|0)+8>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+8>>2]]($0_1,1,Math_imul(HEAP32[$1_1+36>>2],HEAP32[$1_1+28>>2]),Math_imul((Math_imul(HEAP32[$1_1+40>>2],HEAP32[$1_1+12>>2])|0)/HEAP32[$0_1+328>>2]|0,$3_1));$1_1=$1_1+88|0;$2_1=$2_1+1|0;if(($2_1|0)>2]){continue}break}}}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+24>>2]]($0_1);FUNCTION_TABLE[HEAP32[HEAP32[$0_1+460>>2]+8>>2]]($0_1);$1_1=HEAP32[$0_1+8>>2];if(!(!HEAP32[HEAP32[$0_1+460>>2]+16>>2]|(HEAP32[$0_1+64>>2]|!$1_1))){$4_1=HEAP32[$0_1+224>>2];$2_1=HEAP32[$0_1+36>>2];HEAP32[$1_1+4>>2]=0;$3_1=HEAP32[$0_1+332>>2];HEAP32[$1_1+12>>2]=0;HEAP32[$1_1+8>>2]=Math_imul($3_1,$4_1?Math_imul($2_1,3)+2|0:$2_1);HEAP32[$1_1+16>>2]=HEAP32[$0_1+108>>2]?3:2;HEAP32[$12_1+12>>2]=HEAP32[$12_1+12>>2]+1}if(HEAP32[$0_1+64>>2]){HEAP32[$0_1+20>>2]=207;return 1}HEAP32[$0_1+20>>2]=203}label$184:{if(!HEAP32[HEAP32[$0_1+460>>2]+16>>2]){break label$184}$4_1=HEAP32[$0_1+8>>2];while(1){if($4_1){FUNCTION_TABLE[HEAP32[$4_1>>2]]($0_1)}label$187:{$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+460>>2]>>2]]($0_1)|0;switch($1_1|0){case 0:break label$1;case 2:break label$184;default:break label$187}}$4_1=HEAP32[$0_1+8>>2];if(!$4_1|($1_1&-3)!=1){continue}$1_1=HEAP32[$4_1+4>>2]+1|0;HEAP32[$4_1+4>>2]=$1_1;$2_1=$1_1;$1_1=HEAP32[$4_1+8>>2];if(($2_1|0)<($1_1|0)){continue}HEAP32[$4_1+8>>2]=$1_1+HEAP32[$0_1+332>>2];continue}}HEAP32[$0_1+152>>2]=HEAP32[$0_1+144>>2];break label$2}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$1_1;HEAP32[$2_1+20>>2]=21;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}if(HEAP32[$0_1+20>>2]!=204){FUNCTION_TABLE[HEAP32[HEAP32[$0_1+444>>2]>>2]]($0_1);HEAP32[$0_1+20>>2]=204;HEAP32[$0_1+140>>2]=0}label$189:{if(HEAP32[HEAP32[$0_1+444>>2]+8>>2]){$3_1=$0_1+140|0;$4_1=HEAP32[$0_1+140>>2];while(1){$2_1=HEAP32[$0_1+116>>2];if($2_1>>>0>$4_1>>>0){$1_1=HEAP32[$0_1+8>>2];if($1_1){HEAP32[$1_1+8>>2]=$2_1;HEAP32[$1_1+4>>2]=$4_1;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1);$4_1=HEAP32[$0_1+140>>2]}$1_1=0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1+448>>2]+4>>2]]($0_1,0,$3_1,0);$2_1=$4_1;$4_1=HEAP32[$0_1+140>>2];if(($2_1|0)!=($4_1|0)){continue}break label$189}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+444>>2]+4>>2]]($0_1);FUNCTION_TABLE[HEAP32[HEAP32[$0_1+444>>2]>>2]]($0_1);$4_1=0;HEAP32[$0_1+140>>2]=0;if(HEAP32[HEAP32[$0_1+444>>2]+8>>2]){continue}break}}HEAP32[$0_1+20>>2]=HEAP32[$0_1+68>>2]?206:205;$1_1=1}}return $1_1|0}function $593($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0;$15_1=global$0-48|0;global$0=$15_1;label$1:{if($2_1>>>0<=2){$2_1=$2_1<<2;$24_1=HEAP32[$2_1+50284>>2];$25_1=HEAP32[$2_1+50272>>2];while(1){$2_1=HEAP32[$1_1+4>>2];label$4:{if(($2_1|0)!=HEAP32[$1_1+104>>2]){HEAP32[$1_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$4}$2_1=$33($1_1)}if($177($2_1)){continue}break}$13_1=1;label$6:{label$7:{switch($2_1-43|0){case 0:case 2:break label$7;default:break label$6}}$13_1=($2_1|0)==45?-1:1;$2_1=HEAP32[$1_1+4>>2];if(($2_1|0)!=HEAP32[$1_1+104>>2]){HEAP32[$1_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$6}$2_1=$33($1_1)}label$9:{label$10:{while(1){if(HEAP8[$6_1+27945|0]==($2_1|32)){label$13:{if($6_1>>>0>6){break label$13}$2_1=HEAP32[$1_1+4>>2];if(($2_1|0)!=HEAP32[$1_1+104>>2]){HEAP32[$1_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$13}$2_1=$33($1_1)}$6_1=$6_1+1|0;if(($6_1|0)!=8){continue}break label$10}break}if(($6_1|0)!=3){if(($6_1|0)==8){break label$10}if(!$3_1|$6_1>>>0<4){break label$9}if(($6_1|0)==8){break label$10}}$2_1=HEAP32[$1_1+116>>2];if(($2_1|0)>0|($2_1|0)>=0){HEAP32[$1_1+4>>2]=HEAP32[$1_1+4>>2]-1}if(!$3_1|$6_1>>>0<4){break label$10}$2_1=($2_1|0)<0;while(1){if(!$2_1){HEAP32[$1_1+4>>2]=HEAP32[$1_1+4>>2]-1}$6_1=$6_1-1|0;if($6_1>>>0>3){continue}break}}$9_1=global$0-16|0;global$0=$9_1;$6_1=(wasm2js_scratch_store_f32(Math_fround(Math_fround($13_1|0)*Math_fround(infinity))),wasm2js_scratch_load_i32(2));$1_1=$6_1&2147483647;label$19:{if($1_1-8388608>>>0<=2130706431){$10_1=$1_1<<25;$2_1=($1_1>>>7|0)+1065353216|0;break label$19}$10_1=$6_1<<25;$2_1=$6_1>>>7|2147418112;if($1_1>>>0>=2139095040){break label$19}$10_1=0;$2_1=0;if(!$1_1){break label$19}$2_1=$1_1;$1_1=Math_clz32($1_1);$92($9_1,$2_1,0,0,0,$1_1+81|0);$8_1=HEAP32[$9_1>>2];$7_1=HEAP32[$9_1+4>>2];$10_1=HEAP32[$9_1+8>>2];$2_1=HEAP32[$9_1+12>>2]^65536|16265-$1_1<<16}HEAP32[$15_1>>2]=$8_1;HEAP32[$15_1+4>>2]=$7_1;HEAP32[$15_1+8>>2]=$10_1;HEAP32[$15_1+12>>2]=$6_1&-2147483648|$2_1;global$0=$9_1+16|0;$8_1=HEAP32[$15_1+8>>2];$7_1=HEAP32[$15_1+12>>2];$10_1=HEAP32[$15_1>>2];$9_1=HEAP32[$15_1+4>>2];break label$1}label$21:{label$22:{label$23:{if($6_1){break label$23}$6_1=0;while(1){if(HEAP8[$6_1+30895|0]!=($2_1|32)){break label$23}label$25:{if($6_1>>>0>1){break label$25}$2_1=HEAP32[$1_1+4>>2];if(($2_1|0)!=HEAP32[$1_1+104>>2]){HEAP32[$1_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$25}$2_1=$33($1_1)}$6_1=$6_1+1|0;if(($6_1|0)!=3){continue}break}break label$22}label$27:{switch($6_1|0){case 0:label$29:{if(($2_1|0)!=48){break label$29}$6_1=HEAP32[$1_1+4>>2];label$30:{if(($6_1|0)!=HEAP32[$1_1+104>>2]){HEAP32[$1_1+4>>2]=$6_1+1;$6_1=HEAPU8[$6_1|0];break label$30}$6_1=$33($1_1)}if(($6_1&-33)==88){$5_1=global$0-432|0;global$0=$5_1;$2_1=HEAP32[$1_1+4>>2];label$33:{if(($2_1|0)!=HEAP32[$1_1+104>>2]){HEAP32[$1_1+4>>2]=$2_1+1;$6_1=HEAPU8[$2_1|0];break label$33}$6_1=$33($1_1)}label$35:{label$36:{while(1){if(($6_1|0)!=48){label$39:{if(($6_1|0)!=46){break label$35}$2_1=HEAP32[$1_1+4>>2];if(($2_1|0)==HEAP32[$1_1+104>>2]){break label$39}HEAP32[$1_1+4>>2]=$2_1+1;$6_1=HEAPU8[$2_1|0];break label$36}}else{$2_1=HEAP32[$1_1+4>>2];if(($2_1|0)!=HEAP32[$1_1+104>>2]){$18_1=1;HEAP32[$1_1+4>>2]=$2_1+1;$6_1=HEAPU8[$2_1|0]}else{$18_1=1;$6_1=$33($1_1)}continue}break}$6_1=$33($1_1)}$4_1=1;if(($6_1|0)!=48){break label$35}while(1){$2_1=$16_1;$16_1=$2_1-1|0;$17_1=$17_1-!$2_1|0;$2_1=HEAP32[$1_1+4>>2];label$44:{if(($2_1|0)!=HEAP32[$1_1+104>>2]){HEAP32[$1_1+4>>2]=$2_1+1;$6_1=HEAPU8[$2_1|0];break label$44}$6_1=$33($1_1)}if(($6_1|0)==48){continue}break}$18_1=1}$9_1=1073676288;while(1){label$47:{$2_1=$6_1|32;label$48:{label$49:{$28_1=$6_1-48|0;if($28_1>>>0<10){break label$49}if(($6_1|0)!=46&$2_1-97>>>0>=6){break label$47}if(($6_1|0)!=46){break label$49}if($4_1){break label$47}$4_1=1;$16_1=$8_1;$17_1=$7_1;break label$48}$2_1=($6_1|0)>57?$2_1-87|0:$28_1;label$50:{if(($7_1|0)<=0&$8_1>>>0<=7|($7_1|0)<0){$19_1=$2_1+($19_1<<4)|0;break label$50}if(!$7_1&$8_1>>>0<=28){$122($5_1+48|0,$2_1);$44($5_1+32|0,$22_1,$23_1,$10_1,$9_1,0,0,0,1073414144);$22_1=HEAP32[$5_1+32>>2];$23_1=HEAP32[$5_1+36>>2];$10_1=HEAP32[$5_1+40>>2];$9_1=HEAP32[$5_1+44>>2];$44($5_1+16|0,HEAP32[$5_1+48>>2],HEAP32[$5_1+52>>2],HEAP32[$5_1+56>>2],HEAP32[$5_1+60>>2],$22_1,$23_1,$10_1,$9_1);$112($5_1,HEAP32[$5_1+16>>2],HEAP32[$5_1+20>>2],HEAP32[$5_1+24>>2],HEAP32[$5_1+28>>2],$11_1,$14_1,$20_1,$21_1);$20_1=HEAP32[$5_1+8>>2];$21_1=HEAP32[$5_1+12>>2];$11_1=HEAP32[$5_1>>2];$14_1=HEAP32[$5_1+4>>2];break label$50}if(!$2_1|$12_1){break label$50}$44($5_1+80|0,$22_1,$23_1,$10_1,$9_1,0,0,0,1073610752);$112($5_1- -64|0,HEAP32[$5_1+80>>2],HEAP32[$5_1+84>>2],HEAP32[$5_1+88>>2],HEAP32[$5_1+92>>2],$11_1,$14_1,$20_1,$21_1);$20_1=HEAP32[$5_1+72>>2];$21_1=HEAP32[$5_1+76>>2];$12_1=1;$11_1=HEAP32[$5_1+64>>2];$14_1=HEAP32[$5_1+68>>2]}$2_1=$8_1+1|0;$7_1=$2_1?$7_1:$7_1+1|0;$8_1=$2_1;$18_1=1}$2_1=HEAP32[$1_1+4>>2];if(($2_1|0)!=HEAP32[$1_1+104>>2]){HEAP32[$1_1+4>>2]=$2_1+1;$6_1=HEAPU8[$2_1|0]}else{$6_1=$33($1_1)}continue}break}label$55:{if(!$18_1){$2_1=HEAP32[$1_1+116>>2];label$57:{label$58:{if(($2_1|0)>0|($2_1|0)>=0){$2_1=HEAP32[$1_1+4>>2];HEAP32[$1_1+4>>2]=$2_1-1;if(!$3_1){break label$58}HEAP32[$1_1+4>>2]=$2_1-2;if(!$4_1){break label$57}HEAP32[$1_1+4>>2]=$2_1-3;break label$57}if($3_1){break label$57}}$155($1_1,0,0)}$165($5_1+96|0,+($13_1|0)*0);$11_1=HEAP32[$5_1+96>>2];$14_1=HEAP32[$5_1+100>>2];$2_1=HEAP32[$5_1+108>>2];$1_1=HEAP32[$5_1+104>>2];break label$55}if(($7_1|0)<=0&$8_1>>>0<=7|($7_1|0)<0){$10_1=$8_1;$9_1=$7_1;while(1){$19_1=$19_1<<4;$2_1=$10_1+1|0;$9_1=$2_1?$9_1:$9_1+1|0;$10_1=$2_1;if(($2_1|0)!=8|$9_1){continue}break}}label$62:{label$63:{label$64:{if(($6_1&-33)==80){$10_1=$592($1_1,$3_1);$2_1=i64toi32_i32$HIGH_BITS;$9_1=$2_1;if($10_1|($2_1|0)!=-2147483648){break label$62}if($3_1){$2_1=HEAP32[$1_1+116>>2];if(($2_1|0)>0|($2_1|0)>=0){break label$64}break label$63}$11_1=0;$14_1=0;$155($1_1,0,0);$2_1=0;$1_1=0;break label$55}$10_1=0;$9_1=0;if(HEAP32[$1_1+116>>2]<0){break label$62}}HEAP32[$1_1+4>>2]=HEAP32[$1_1+4>>2]-1}$10_1=0;$9_1=0}if(!$19_1){$165($5_1+112|0,+($13_1|0)*0);$11_1=HEAP32[$5_1+112>>2];$14_1=HEAP32[$5_1+116>>2];$2_1=HEAP32[$5_1+124>>2];$1_1=HEAP32[$5_1+120>>2];break label$55}$1_1=$4_1?$16_1:$8_1;$7_1=($4_1?$17_1:$7_1)<<2|$1_1>>>30;$1_1=$10_1+($1_1<<2)|0;$3_1=$7_1+$9_1|0;$3_1=$1_1>>>0<$10_1>>>0?$3_1+1|0:$3_1;$8_1=$1_1-32|0;$7_1=$3_1-($1_1>>>0<32)|0;$1_1=$7_1;if($8_1>>>0>0-$24_1>>>0&($1_1|0)>=0|($1_1|0)>0){HEAP32[$22()>>2]=68;$122($5_1+160|0,$13_1);$44($5_1+144|0,HEAP32[$5_1+160>>2],HEAP32[$5_1+164>>2],HEAP32[$5_1+168>>2],HEAP32[$5_1+172>>2],-1,-1,-1,2147418111);$44($5_1+128|0,HEAP32[$5_1+144>>2],HEAP32[$5_1+148>>2],HEAP32[$5_1+152>>2],HEAP32[$5_1+156>>2],-1,-1,-1,2147418111);$11_1=HEAP32[$5_1+128>>2];$14_1=HEAP32[$5_1+132>>2];$2_1=HEAP32[$5_1+140>>2];$1_1=HEAP32[$5_1+136>>2];break label$55}$1_1=$24_1-226|0;$2_1=$1_1>>31;if(($7_1|0)>=($2_1|0)&$1_1>>>0<=$8_1>>>0|($2_1|0)<($7_1|0)){if(($19_1|0)>=0){while(1){$112($5_1+416|0,$11_1,$14_1,$20_1,$21_1,0,0,0,-1073807360);$2_1=$585($11_1,$14_1,$20_1,$21_1,1073610752);$1_1=($2_1|0)<0;$112($5_1+400|0,$11_1,$14_1,$20_1,$21_1,$1_1?$11_1:HEAP32[$5_1+416>>2],$1_1?$14_1:HEAP32[$5_1+420>>2],$1_1?$20_1:HEAP32[$5_1+424>>2],$1_1?$21_1:HEAP32[$5_1+428>>2]);$1_1=$8_1;$8_1=$1_1-1|0;$7_1=$7_1-!$1_1|0;$20_1=HEAP32[$5_1+408>>2];$21_1=HEAP32[$5_1+412>>2];$11_1=HEAP32[$5_1+400>>2];$14_1=HEAP32[$5_1+404>>2];$19_1=$19_1<<1|($2_1|0)>=0;if(($19_1|0)>=0){continue}break}}$3_1=$7_1-(($24_1>>31)+($8_1>>>0<$24_1>>>0)|0)|0;$1_1=($8_1-$24_1|0)+32|0;$3_1=$1_1>>>0<32?$3_1+1|0:$3_1;$2_1=$1_1>>>0<$25_1>>>0&($3_1|0)<=0|($3_1|0)<0?($1_1|0)>0?$1_1:0:$25_1;label$72:{if(($2_1|0)>=113){$122($5_1+384|0,$13_1);$16_1=HEAP32[$5_1+392>>2];$17_1=HEAP32[$5_1+396>>2];$22_1=HEAP32[$5_1+384>>2];$23_1=HEAP32[$5_1+388>>2];$7_1=0;$1_1=0;break label$72}$165($5_1+352|0,$188(1,144-$2_1|0));$122($5_1+336|0,$13_1);$22_1=HEAP32[$5_1+336>>2];$23_1=HEAP32[$5_1+340>>2];$16_1=HEAP32[$5_1+344>>2];$17_1=HEAP32[$5_1+348>>2];$596($5_1+368|0,HEAP32[$5_1+352>>2],HEAP32[$5_1+356>>2],HEAP32[$5_1+360>>2],HEAP32[$5_1+364>>2],$22_1,$23_1,$16_1,$17_1);$26_1=HEAP32[$5_1+376>>2];$27_1=HEAP32[$5_1+380>>2];$7_1=HEAP32[$5_1+372>>2];$1_1=HEAP32[$5_1+368>>2]}$2_1=!($19_1&1)&(($212($11_1,$14_1,$20_1,$21_1,0,0,0,0)|0)!=0&($2_1|0)<32);$244($5_1+320|0,$2_1+$19_1|0);$44($5_1+304|0,$22_1,$23_1,$16_1,$17_1,HEAP32[$5_1+320>>2],HEAP32[$5_1+324>>2],HEAP32[$5_1+328>>2],HEAP32[$5_1+332>>2]);$3_1=$1_1;$112($5_1+272|0,HEAP32[$5_1+304>>2],HEAP32[$5_1+308>>2],HEAP32[$5_1+312>>2],HEAP32[$5_1+316>>2],$1_1,$7_1,$26_1,$27_1);$1_1=$2_1;$44($5_1+288|0,$22_1,$23_1,$16_1,$17_1,$1_1?0:$11_1,$1_1?0:$14_1,$1_1?0:$20_1,$1_1?0:$21_1);$112($5_1+256|0,HEAP32[$5_1+288>>2],HEAP32[$5_1+292>>2],HEAP32[$5_1+296>>2],HEAP32[$5_1+300>>2],HEAP32[$5_1+272>>2],HEAP32[$5_1+276>>2],HEAP32[$5_1+280>>2],HEAP32[$5_1+284>>2]);$434($5_1+240|0,HEAP32[$5_1+256>>2],HEAP32[$5_1+260>>2],HEAP32[$5_1+264>>2],HEAP32[$5_1+268>>2],$3_1,$7_1,$26_1,$27_1);$1_1=HEAP32[$5_1+240>>2];$2_1=HEAP32[$5_1+244>>2];$3_1=HEAP32[$5_1+248>>2];$7_1=HEAP32[$5_1+252>>2];if(!$212($1_1,$2_1,$3_1,$7_1,0,0,0,0)){HEAP32[$22()>>2]=68}$595($5_1+224|0,$1_1,$2_1,$3_1,$7_1,$8_1);$11_1=HEAP32[$5_1+224>>2];$14_1=HEAP32[$5_1+228>>2];$2_1=HEAP32[$5_1+236>>2];$1_1=HEAP32[$5_1+232>>2];break label$55}HEAP32[$22()>>2]=68;$122($5_1+208|0,$13_1);$44($5_1+192|0,HEAP32[$5_1+208>>2],HEAP32[$5_1+212>>2],HEAP32[$5_1+216>>2],HEAP32[$5_1+220>>2],0,0,0,65536);$44($5_1+176|0,HEAP32[$5_1+192>>2],HEAP32[$5_1+196>>2],HEAP32[$5_1+200>>2],HEAP32[$5_1+204>>2],0,0,0,65536);$11_1=HEAP32[$5_1+176>>2];$14_1=HEAP32[$5_1+180>>2];$2_1=HEAP32[$5_1+188>>2];$1_1=HEAP32[$5_1+184>>2]}HEAP32[$15_1+16>>2]=$11_1;HEAP32[$15_1+20>>2]=$14_1;HEAP32[$15_1+24>>2]=$1_1;HEAP32[$15_1+28>>2]=$2_1;global$0=$5_1+432|0;$8_1=HEAP32[$15_1+24>>2];$7_1=HEAP32[$15_1+28>>2];$10_1=HEAP32[$15_1+16>>2];$9_1=HEAP32[$15_1+20>>2];break label$1}if(HEAP32[$1_1+116>>2]<0){break label$29}HEAP32[$1_1+4>>2]=HEAP32[$1_1+4>>2]-1}$6_1=$1_1;$5_1=$13_1;$19_1=$3_1;$3_1=0;$13_1=0;$4_1=global$0-8976|0;global$0=$4_1;$27_1=$24_1+$25_1|0;$28_1=0-$27_1|0;label$75:{label$76:{while(1){if(($2_1|0)!=48){label$79:{if(($2_1|0)!=46){break label$75}$1_1=HEAP32[$6_1+4>>2];if(($1_1|0)==HEAP32[$6_1+104>>2]){break label$79}HEAP32[$6_1+4>>2]=$1_1+1;$2_1=HEAPU8[$1_1|0];break label$76}}else{$1_1=HEAP32[$6_1+4>>2];if(($1_1|0)!=HEAP32[$6_1+104>>2]){$3_1=1;HEAP32[$6_1+4>>2]=$1_1+1;$2_1=HEAPU8[$1_1|0]}else{$3_1=1;$2_1=$33($6_1)}continue}break}$2_1=$33($6_1)}$12_1=1;if(($2_1|0)!=48){break label$75}while(1){$1_1=$8_1;$8_1=$1_1-1|0;$7_1=$7_1-!$1_1|0;$1_1=HEAP32[$6_1+4>>2];label$84:{if(($1_1|0)!=HEAP32[$6_1+104>>2]){HEAP32[$6_1+4>>2]=$1_1+1;$2_1=HEAPU8[$1_1|0];break label$84}$2_1=$33($6_1)}if(($2_1|0)==48){continue}break}$3_1=1}HEAP32[$4_1+784>>2]=0;label$86:{label$87:{$1_1=($2_1|0)==46;$11_1=$2_1-48|0;label$88:{label$89:{label$90:{label$91:{if($1_1|$11_1>>>0<=9){while(1){label$94:{if($1_1&1){if(!$12_1){$8_1=$10_1;$7_1=$9_1;$12_1=1;break label$94}$1_1=!$3_1;break label$91}$1_1=$10_1+1|0;$9_1=$1_1?$9_1:$9_1+1|0;$10_1=$1_1;if(($13_1|0)<=2044){$26_1=($2_1|0)==48?$26_1:$10_1;$1_1=($4_1+784|0)+($13_1<<2)|0;if($18_1){$11_1=(Math_imul(HEAP32[$1_1>>2],10)+$2_1|0)-48|0}HEAP32[$1_1>>2]=$11_1;$3_1=1;$2_1=$18_1+1|0;$1_1=($2_1|0)==9;$18_1=$1_1?0:$2_1;$13_1=$1_1+$13_1|0;break label$94}if(($2_1|0)==48){break label$94}HEAP32[$4_1+8960>>2]=HEAP32[$4_1+8960>>2]|1;$26_1=18396}$1_1=HEAP32[$6_1+4>>2];label$100:{if(($1_1|0)!=HEAP32[$6_1+104>>2]){HEAP32[$6_1+4>>2]=$1_1+1;$2_1=HEAPU8[$1_1|0];break label$100}$2_1=$33($6_1)}$1_1=($2_1|0)==46;$11_1=$2_1-48|0;if($1_1|$11_1>>>0<10){continue}break}}$8_1=$12_1?$8_1:$10_1;$7_1=$12_1?$7_1:$9_1;if(!(!$3_1|($2_1&-33)!=69)){$11_1=$592($6_1,$19_1);$1_1=i64toi32_i32$HIGH_BITS;$14_1=$1_1;label$103:{if($11_1|($1_1|0)!=-2147483648){break label$103}if(!$19_1){break label$88}$11_1=0;$14_1=0;if(HEAP32[$6_1+116>>2]<0){break label$103}HEAP32[$6_1+4>>2]=HEAP32[$6_1+4>>2]-1}if(!$3_1){break label$89}$7_1=$7_1+$14_1|0;$1_1=$8_1+$11_1|0;$7_1=$1_1>>>0<$11_1>>>0?$7_1+1|0:$7_1;$8_1=$1_1;break label$87}$1_1=!$3_1;if(($2_1|0)<0){break label$90}}if(HEAP32[$6_1+116>>2]<0){break label$90}HEAP32[$6_1+4>>2]=HEAP32[$6_1+4>>2]-1}if(!$1_1){break label$87}}HEAP32[$22()>>2]=28}$10_1=0;$9_1=0;$155($6_1,0,0);$2_1=0;$1_1=0;break label$86}$1_1=HEAP32[$4_1+784>>2];if(!$1_1){$165($4_1,+($5_1|0)*0);$10_1=HEAP32[$4_1>>2];$9_1=HEAP32[$4_1+4>>2];$2_1=HEAP32[$4_1+12>>2];$1_1=HEAP32[$4_1+8>>2];break label$86}if(!(($8_1|0)!=($10_1|0)|($7_1|0)!=($9_1|0)|($10_1>>>0>9&($9_1|0)>=0|($9_1|0)>0)|($1_1>>>$25_1|0?($25_1|0)<=30:0))){$122($4_1+48|0,$5_1);$244($4_1+32|0,$1_1);$44($4_1+16|0,HEAP32[$4_1+48>>2],HEAP32[$4_1+52>>2],HEAP32[$4_1+56>>2],HEAP32[$4_1+60>>2],HEAP32[$4_1+32>>2],HEAP32[$4_1+36>>2],HEAP32[$4_1+40>>2],HEAP32[$4_1+44>>2]);$10_1=HEAP32[$4_1+16>>2];$9_1=HEAP32[$4_1+20>>2];$2_1=HEAP32[$4_1+28>>2];$1_1=HEAP32[$4_1+24>>2];break label$86}if($8_1>>>0>($24_1|0)/-2>>>0&($7_1|0)>=0|($7_1|0)>0){HEAP32[$22()>>2]=68;$122($4_1+96|0,$5_1);$44($4_1+80|0,HEAP32[$4_1+96>>2],HEAP32[$4_1+100>>2],HEAP32[$4_1+104>>2],HEAP32[$4_1+108>>2],-1,-1,-1,2147418111);$44($4_1- -64|0,HEAP32[$4_1+80>>2],HEAP32[$4_1+84>>2],HEAP32[$4_1+88>>2],HEAP32[$4_1+92>>2],-1,-1,-1,2147418111);$10_1=HEAP32[$4_1+64>>2];$9_1=HEAP32[$4_1+68>>2];$2_1=HEAP32[$4_1+76>>2];$1_1=HEAP32[$4_1+72>>2];break label$86}$1_1=$24_1-226|0;$2_1=$8_1>>>0<$1_1>>>0;$1_1=$1_1>>31;if($2_1&($7_1|0)<=($1_1|0)|($1_1|0)>($7_1|0)){HEAP32[$22()>>2]=68;$122($4_1+144|0,$5_1);$44($4_1+128|0,HEAP32[$4_1+144>>2],HEAP32[$4_1+148>>2],HEAP32[$4_1+152>>2],HEAP32[$4_1+156>>2],0,0,0,65536);$44($4_1+112|0,HEAP32[$4_1+128>>2],HEAP32[$4_1+132>>2],HEAP32[$4_1+136>>2],HEAP32[$4_1+140>>2],0,0,0,65536);$10_1=HEAP32[$4_1+112>>2];$9_1=HEAP32[$4_1+116>>2];$2_1=HEAP32[$4_1+124>>2];$1_1=HEAP32[$4_1+120>>2];break label$86}if($18_1){if(($18_1|0)<=8){$1_1=($4_1+784|0)+($13_1<<2)|0;$6_1=HEAP32[$1_1>>2];while(1){$6_1=Math_imul($6_1,10);$18_1=$18_1+1|0;if(($18_1|0)!=9){continue}break}HEAP32[$1_1>>2]=$6_1}$13_1=$13_1+1|0}label$111:{$12_1=$8_1;if(($26_1|0)>($8_1|0)|($26_1|0)>=9|($8_1|0)>17){break label$111}if(($12_1|0)==9){$122($4_1+192|0,$5_1);$244($4_1+176|0,HEAP32[$4_1+784>>2]);$44($4_1+160|0,HEAP32[$4_1+192>>2],HEAP32[$4_1+196>>2],HEAP32[$4_1+200>>2],HEAP32[$4_1+204>>2],HEAP32[$4_1+176>>2],HEAP32[$4_1+180>>2],HEAP32[$4_1+184>>2],HEAP32[$4_1+188>>2]);$10_1=HEAP32[$4_1+160>>2];$9_1=HEAP32[$4_1+164>>2];$2_1=HEAP32[$4_1+172>>2];$1_1=HEAP32[$4_1+168>>2];break label$86}if(($12_1|0)<=8){$122($4_1+272|0,$5_1);$244($4_1+256|0,HEAP32[$4_1+784>>2]);$44($4_1+240|0,HEAP32[$4_1+272>>2],HEAP32[$4_1+276>>2],HEAP32[$4_1+280>>2],HEAP32[$4_1+284>>2],HEAP32[$4_1+256>>2],HEAP32[$4_1+260>>2],HEAP32[$4_1+264>>2],HEAP32[$4_1+268>>2]);$122($4_1+224|0,HEAP32[(0-$12_1<<2)+50272>>2]);$584($4_1+208|0,HEAP32[$4_1+240>>2],HEAP32[$4_1+244>>2],HEAP32[$4_1+248>>2],HEAP32[$4_1+252>>2],HEAP32[$4_1+224>>2],HEAP32[$4_1+228>>2],HEAP32[$4_1+232>>2],HEAP32[$4_1+236>>2]);$10_1=HEAP32[$4_1+208>>2];$9_1=HEAP32[$4_1+212>>2];$2_1=HEAP32[$4_1+220>>2];$1_1=HEAP32[$4_1+216>>2];break label$86}$1_1=(Math_imul($12_1,-3)+$25_1|0)+27|0;$2_1=HEAP32[$4_1+784>>2];if($2_1>>>$1_1|0?($1_1|0)<=30:0){break label$111}$122($4_1+352|0,$5_1);$244($4_1+336|0,$2_1);$44($4_1+320|0,HEAP32[$4_1+352>>2],HEAP32[$4_1+356>>2],HEAP32[$4_1+360>>2],HEAP32[$4_1+364>>2],HEAP32[$4_1+336>>2],HEAP32[$4_1+340>>2],HEAP32[$4_1+344>>2],HEAP32[$4_1+348>>2]);$122($4_1+304|0,HEAP32[($12_1<<2)+50200>>2]);$44($4_1+288|0,HEAP32[$4_1+320>>2],HEAP32[$4_1+324>>2],HEAP32[$4_1+328>>2],HEAP32[$4_1+332>>2],HEAP32[$4_1+304>>2],HEAP32[$4_1+308>>2],HEAP32[$4_1+312>>2],HEAP32[$4_1+316>>2]);$10_1=HEAP32[$4_1+288>>2];$9_1=HEAP32[$4_1+292>>2];$2_1=HEAP32[$4_1+300>>2];$1_1=HEAP32[$4_1+296>>2];break label$86}while(1){$2_1=$13_1;$13_1=$2_1-1|0;if(!HEAP32[($4_1+784|0)+($13_1<<2)>>2]){continue}break}$18_1=0;$3_1=($12_1|0)%9|0;label$115:{if(!$3_1){$1_1=0;break label$115}$1_1=0;$3_1=($12_1|0)<0?$3_1+9|0:$3_1;label$117:{if(!$2_1){$2_1=0;break label$117}$8_1=HEAP32[(0-$3_1<<2)+50272>>2];$9_1=1e9/($8_1|0)|0;$11_1=0;$6_1=0;while(1){$7_1=$11_1;$10_1=($4_1+784|0)+($6_1<<2)|0;$13_1=HEAP32[$10_1>>2];$11_1=($13_1>>>0)/($8_1>>>0)|0;$7_1=$7_1+$11_1|0;HEAP32[$10_1>>2]=$7_1;$7_1=!$7_1&($1_1|0)==($6_1|0);$1_1=$7_1?$1_1+1&2047:$1_1;$12_1=$7_1?$12_1-9|0:$12_1;$11_1=Math_imul($9_1,$13_1-Math_imul($8_1,$11_1)|0);$6_1=$6_1+1|0;if(($6_1|0)!=($2_1|0)){continue}break}if(!$11_1){break label$117}HEAP32[($4_1+784|0)+($2_1<<2)>>2]=$11_1;$2_1=$2_1+1|0}$12_1=($12_1-$3_1|0)+9|0}while(1){$10_1=($4_1+784|0)+($1_1<<2)|0;label$121:{while(1){if((($12_1|0)!=36|HEAPU32[$10_1>>2]>=10384593)&($12_1|0)>=36){break label$121}$3_1=$2_1+2047|0;$11_1=0;while(1){$6_1=$3_1&2047;$13_1=($4_1+784|0)+($6_1<<2)|0;$3_1=HEAP32[$13_1>>2];$9_1=$3_1>>>3|0;$7_1=$3_1<<29;$8_1=$7_1+$11_1|0;$3_1=$9_1;$3_1=$7_1>>>0>$8_1>>>0?$3_1+1|0:$3_1;$7_1=$3_1;if(!$7_1&$8_1>>>0<1000000001){$11_1=0}else{$3_1=$8_1;$11_1=__wasm_i64_udiv($3_1,$7_1,1e9);$8_1=$3_1-__wasm_i64_mul($11_1,i64toi32_i32$HIGH_BITS,1e9,0)|0}HEAP32[$13_1>>2]=$8_1;$2_1=($6_1|0)!=($2_1-1&2047)?$2_1:($1_1|0)==($6_1|0)?$2_1:$8_1?$2_1:$6_1;$3_1=$6_1-1|0;if(($1_1|0)!=($6_1|0)){continue}break}$18_1=$18_1-29|0;if(!$11_1){continue}break}$1_1=$1_1-1&2047;if(($2_1|0)==($1_1|0)){$3_1=$4_1+784|0;$8_1=$3_1+(($2_1+2046&2047)<<2)|0;$2_1=$2_1-1&2047;HEAP32[$8_1>>2]=HEAP32[$8_1>>2]|HEAP32[$3_1+($2_1<<2)>>2]}$12_1=$12_1+9|0;HEAP32[($4_1+784|0)+($1_1<<2)>>2]=$11_1;continue}break}label$128:{label$129:while(1){$8_1=$2_1+1&2047;$9_1=($4_1+784|0)+(($2_1-1&2047)<<2)|0;while(1){$7_1=($12_1|0)>45?9:1;label$131:{while(1){$3_1=$1_1;$6_1=0;label$133:{while(1){label$135:{$1_1=$3_1+$6_1&2047;if(($1_1|0)==($2_1|0)){break label$135}$1_1=HEAP32[($4_1+784|0)+($1_1<<2)>>2];$10_1=HEAP32[($6_1<<2)+50224>>2];if($1_1>>>0<$10_1>>>0){break label$135}if($1_1>>>0>$10_1>>>0){break label$133}$6_1=$6_1+1|0;if(($6_1|0)!=4){continue}}break}if(($12_1|0)!=36){break label$133}$8_1=0;$7_1=0;$6_1=0;$10_1=0;$9_1=0;while(1){$1_1=$3_1+$6_1&2047;if(($1_1|0)==($2_1|0)){$2_1=$2_1+1&2047;HEAP32[($4_1+($2_1<<2)|0)+780>>2]=0}$244($4_1+768|0,HEAP32[($4_1+784|0)+($1_1<<2)>>2]);$44($4_1+752|0,$8_1,$7_1,$10_1,$9_1,0,0,1342177280,1075633366);$112($4_1+736|0,HEAP32[$4_1+752>>2],HEAP32[$4_1+756>>2],HEAP32[$4_1+760>>2],HEAP32[$4_1+764>>2],HEAP32[$4_1+768>>2],HEAP32[$4_1+772>>2],HEAP32[$4_1+776>>2],HEAP32[$4_1+780>>2]);$10_1=HEAP32[$4_1+744>>2];$9_1=HEAP32[$4_1+748>>2];$8_1=HEAP32[$4_1+736>>2];$7_1=HEAP32[$4_1+740>>2];$6_1=$6_1+1|0;if(($6_1|0)!=4){continue}break}$122($4_1+720|0,$5_1);$44($4_1+704|0,$8_1,$7_1,$10_1,$9_1,HEAP32[$4_1+720>>2],HEAP32[$4_1+724>>2],HEAP32[$4_1+728>>2],HEAP32[$4_1+732>>2]);$10_1=HEAP32[$4_1+712>>2];$9_1=HEAP32[$4_1+716>>2];$8_1=0;$7_1=0;$11_1=HEAP32[$4_1+704>>2];$14_1=HEAP32[$4_1+708>>2];$19_1=$18_1+113|0;$6_1=$19_1-$24_1|0;$13_1=($6_1|0)<($25_1|0);$1_1=$13_1?($6_1|0)>0?$6_1:0:$25_1;if(($1_1|0)<=112){break label$131}break label$128}$18_1=$7_1+$18_1|0;$1_1=$2_1;if(($3_1|0)==($1_1|0)){continue}break}$10_1=1e9>>>$7_1|0;$13_1=-1<<$7_1^-1;$6_1=0;$1_1=$3_1;while(1){$11_1=($4_1+784|0)+($3_1<<2)|0;$19_1=HEAP32[$11_1>>2];$6_1=($19_1>>>$7_1|0)+$6_1|0;HEAP32[$11_1>>2]=$6_1;$6_1=!$6_1&($1_1|0)==($3_1|0);$1_1=$6_1?$1_1+1&2047:$1_1;$12_1=$6_1?$12_1-9|0:$12_1;$6_1=Math_imul($10_1,$13_1&$19_1);$3_1=$3_1+1&2047;if(($3_1|0)!=($2_1|0)){continue}break}if(!$6_1){continue}if(($1_1|0)!=($8_1|0)){HEAP32[($4_1+784|0)+($2_1<<2)>>2]=$6_1;$2_1=$8_1;continue label$129}HEAP32[$9_1>>2]=HEAP32[$9_1>>2]|1;continue}break}break}$165($4_1+656|0,$188(1,225-$1_1|0));$596($4_1+688|0,HEAP32[$4_1+656>>2],HEAP32[$4_1+660>>2],HEAP32[$4_1+664>>2],HEAP32[$4_1+668>>2],$11_1,$14_1,$10_1,$9_1);$22_1=HEAP32[$4_1+696>>2];$23_1=HEAP32[$4_1+700>>2];$20_1=HEAP32[$4_1+688>>2];$21_1=HEAP32[$4_1+692>>2];$165($4_1+640|0,$188(1,113-$1_1|0));$594($4_1+672|0,$11_1,$14_1,$10_1,$9_1,HEAP32[$4_1+640>>2],HEAP32[$4_1+644>>2],HEAP32[$4_1+648>>2],HEAP32[$4_1+652>>2]);$8_1=HEAP32[$4_1+672>>2];$7_1=HEAP32[$4_1+676>>2];$16_1=HEAP32[$4_1+680>>2];$17_1=HEAP32[$4_1+684>>2];$434($4_1+624|0,$11_1,$14_1,$10_1,$9_1,$8_1,$7_1,$16_1,$17_1);$112($4_1+608|0,$20_1,$21_1,$22_1,$23_1,HEAP32[$4_1+624>>2],HEAP32[$4_1+628>>2],HEAP32[$4_1+632>>2],HEAP32[$4_1+636>>2]);$10_1=HEAP32[$4_1+616>>2];$9_1=HEAP32[$4_1+620>>2];$11_1=HEAP32[$4_1+608>>2];$14_1=HEAP32[$4_1+612>>2]}$12_1=$3_1+4&2047;label$140:{if(($12_1|0)==($2_1|0)){break label$140}$12_1=HEAP32[($4_1+784|0)+($12_1<<2)>>2];label$141:{if($12_1>>>0<=499999999){if(!$12_1&($3_1+5&2047)==($2_1|0)){break label$141}$165($4_1+496|0,+($5_1|0)*.25);$112($4_1+480|0,$8_1,$7_1,$16_1,$17_1,HEAP32[$4_1+496>>2],HEAP32[$4_1+500>>2],HEAP32[$4_1+504>>2],HEAP32[$4_1+508>>2]);$16_1=HEAP32[$4_1+488>>2];$17_1=HEAP32[$4_1+492>>2];$8_1=HEAP32[$4_1+480>>2];$7_1=HEAP32[$4_1+484>>2];break label$141}if(($12_1|0)!=5e8){$165($4_1+592|0,+($5_1|0)*.75);$112($4_1+576|0,$8_1,$7_1,$16_1,$17_1,HEAP32[$4_1+592>>2],HEAP32[$4_1+596>>2],HEAP32[$4_1+600>>2],HEAP32[$4_1+604>>2]);$16_1=HEAP32[$4_1+584>>2];$17_1=HEAP32[$4_1+588>>2];$8_1=HEAP32[$4_1+576>>2];$7_1=HEAP32[$4_1+580>>2];break label$141}$29_1=+($5_1|0);if(($3_1+5&2047)==($2_1|0)){$165($4_1+528|0,$29_1*.5);$112($4_1+512|0,$8_1,$7_1,$16_1,$17_1,HEAP32[$4_1+528>>2],HEAP32[$4_1+532>>2],HEAP32[$4_1+536>>2],HEAP32[$4_1+540>>2]);$16_1=HEAP32[$4_1+520>>2];$17_1=HEAP32[$4_1+524>>2];$8_1=HEAP32[$4_1+512>>2];$7_1=HEAP32[$4_1+516>>2];break label$141}$165($4_1+560|0,$29_1*.75);$112($4_1+544|0,$8_1,$7_1,$16_1,$17_1,HEAP32[$4_1+560>>2],HEAP32[$4_1+564>>2],HEAP32[$4_1+568>>2],HEAP32[$4_1+572>>2]);$16_1=HEAP32[$4_1+552>>2];$17_1=HEAP32[$4_1+556>>2];$8_1=HEAP32[$4_1+544>>2];$7_1=HEAP32[$4_1+548>>2]}if(($1_1|0)>111){break label$140}$594($4_1+464|0,$8_1,$7_1,$16_1,$17_1,0,0,0,1073676288);if($212(HEAP32[$4_1+464>>2],HEAP32[$4_1+468>>2],HEAP32[$4_1+472>>2],HEAP32[$4_1+476>>2],0,0,0,0)){break label$140}$112($4_1+448|0,$8_1,$7_1,$16_1,$17_1,0,0,0,1073676288);$16_1=HEAP32[$4_1+456>>2];$17_1=HEAP32[$4_1+460>>2];$8_1=HEAP32[$4_1+448>>2];$7_1=HEAP32[$4_1+452>>2]}$112($4_1+432|0,$11_1,$14_1,$10_1,$9_1,$8_1,$7_1,$16_1,$17_1);$434($4_1+416|0,HEAP32[$4_1+432>>2],HEAP32[$4_1+436>>2],HEAP32[$4_1+440>>2],HEAP32[$4_1+444>>2],$20_1,$21_1,$22_1,$23_1);$10_1=HEAP32[$4_1+424>>2];$9_1=HEAP32[$4_1+428>>2];$11_1=HEAP32[$4_1+416>>2];$14_1=HEAP32[$4_1+420>>2];label$145:{if((-2-$27_1|0)>=($19_1&2147483647)){break label$145}HEAP32[$4_1+408>>2]=$10_1;HEAP32[$4_1+412>>2]=$9_1&2147483647;HEAP32[$4_1+400>>2]=$11_1;HEAP32[$4_1+404>>2]=$14_1;$44($4_1+384|0,$11_1,$14_1,$10_1,$9_1,0,0,0,1073610752);$3_1=$585(HEAP32[$4_1+400>>2],HEAP32[$4_1+404>>2],HEAP32[$4_1+408>>2],HEAP32[$4_1+412>>2],1081081856);$2_1=($3_1|0)<0;$10_1=$2_1?$10_1:HEAP32[$4_1+392>>2];$9_1=$2_1?$9_1:HEAP32[$4_1+396>>2];$11_1=$2_1?$11_1:HEAP32[$4_1+384>>2];$14_1=$2_1?$14_1:HEAP32[$4_1+388>>2];$18_1=(($3_1|0)>=0)+$18_1|0;if(($212($8_1,$7_1,$16_1,$17_1,0,0,0,0)|0)!=0&($2_1?$13_1:$13_1&($1_1|0)!=($6_1|0))?0:($18_1+110|0)<=($28_1|0)){break label$145}HEAP32[$22()>>2]=68}$595($4_1+368|0,$11_1,$14_1,$10_1,$9_1,$18_1);$10_1=HEAP32[$4_1+368>>2];$9_1=HEAP32[$4_1+372>>2];$2_1=HEAP32[$4_1+380>>2];$1_1=HEAP32[$4_1+376>>2]}HEAP32[$15_1+40>>2]=$1_1;HEAP32[$15_1+44>>2]=$2_1;HEAP32[$15_1+32>>2]=$10_1;HEAP32[$15_1+36>>2]=$9_1;global$0=$4_1+8976|0;$8_1=HEAP32[$15_1+40>>2];$7_1=HEAP32[$15_1+44>>2];$10_1=HEAP32[$15_1+32>>2];$9_1=HEAP32[$15_1+36>>2];break label$1;case 3:break label$22;default:break label$27}}$2_1=HEAP32[$1_1+116>>2];if(($2_1|0)>0|($2_1|0)>=0){HEAP32[$1_1+4>>2]=HEAP32[$1_1+4>>2]-1}break label$21}label$147:{$2_1=HEAP32[$1_1+4>>2];label$148:{if(($2_1|0)!=HEAP32[$1_1+104>>2]){HEAP32[$1_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$148}$2_1=$33($1_1)}if(($2_1|0)==40){$6_1=1;break label$147}$7_1=2147450880;if(HEAP32[$1_1+116>>2]<0){break label$1}HEAP32[$1_1+4>>2]=HEAP32[$1_1+4>>2]-1;break label$1}while(1){$2_1=HEAP32[$1_1+4>>2];label$152:{if(($2_1|0)!=HEAP32[$1_1+104>>2]){HEAP32[$1_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$152}$2_1=$33($1_1)}if(!(!($2_1-48>>>0<10|$2_1-65>>>0<26|($2_1|0)==95)&$2_1-97>>>0>=26)){$6_1=$6_1+1|0;continue}break}$7_1=2147450880;if(($2_1|0)==41){break label$1}$2_1=HEAP32[$1_1+116>>2];if(($2_1|0)>0|($2_1|0)>=0){HEAP32[$1_1+4>>2]=HEAP32[$1_1+4>>2]-1}label$156:{if($3_1){if($6_1){break label$156}break label$1}break label$21}while(1){$6_1=$6_1-1|0;if(($2_1|0)>0|($2_1|0)>=0){HEAP32[$1_1+4>>2]=HEAP32[$1_1+4>>2]-1}if($6_1){continue}break}break label$1}HEAP32[$22()>>2]=28;$155($1_1,0,0)}$7_1=0}HEAP32[$0_1>>2]=$10_1;HEAP32[$0_1+4>>2]=$9_1;HEAP32[$0_1+8>>2]=$8_1;HEAP32[$0_1+12>>2]=$7_1;global$0=$15_1+48|0}function $1119($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$10_1=global$0-288|0;global$0=$10_1;$1_1=HEAP32[$0_1+440>>2];while(1){label$2:{label$3:{label$4:{if($1_1){break label$4}if(!HEAP32[HEAP32[$0_1+464>>2]+12>>2]){$2_1=HEAP32[$0_1+24>>2];$1_1=HEAP32[$2_1+4>>2];if(!$1_1){if(!(FUNCTION_TABLE[HEAP32[$2_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$1_1=HEAP32[$2_1+4>>2]}$6_1=HEAP32[$2_1>>2];$5_1=HEAPU8[$6_1|0];$4_1=$1_1-1|0;if($4_1){$1_1=$6_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$2_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$4_1=HEAP32[$2_1+4>>2];$1_1=HEAP32[$2_1>>2]}$6_1=$1_1+1|0;$1_1=HEAPU8[$1_1|0];if(!(($5_1|0)==255&($1_1|0)==216)){$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+24>>2]=$5_1;HEAP32[$3_1+20>>2]=55;HEAP32[HEAP32[$0_1>>2]+28>>2]=$1_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}HEAP32[$0_1+440>>2]=$1_1;HEAP32[$2_1+4>>2]=$4_1-1;HEAP32[$2_1>>2]=$6_1;break label$4}if(!$449($0_1)){$1_1=0;break label$3}$1_1=HEAP32[$0_1+440>>2]}label$13:{label$14:{switch($1_1-1|0){case 215:$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=104;FUNCTION_TABLE[HEAP32[$2_1+4>>2]]($0_1,1);$1_1=HEAP32[$0_1+464>>2];if(HEAP32[$1_1+12>>2]){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=64;FUNCTION_TABLE[HEAP32[$2_1>>2]]($0_1);$1_1=HEAP32[$0_1+464>>2]}HEAP8[$0_1+232|0]=0;HEAP8[$0_1+233|0]=0;HEAP8[$0_1+234|0]=0;HEAP8[$0_1+235|0]=0;HEAP8[$0_1+236|0]=0;HEAP8[$0_1+237|0]=0;HEAP8[$0_1+238|0]=0;HEAP8[$0_1+239|0]=0;HEAP8[$0_1+240|0]=0;HEAP8[$0_1+241|0]=0;HEAP8[$0_1+242|0]=0;HEAP8[$0_1+243|0]=0;HEAP8[$0_1+244|0]=0;HEAP8[$0_1+245|0]=0;HEAP8[$0_1+246|0]=0;HEAP8[$0_1+247|0]=0;HEAP8[$0_1+256|0]=1;HEAP8[$0_1+257|0]=1;HEAP8[$0_1+258|0]=1;HEAP8[$0_1+259|0]=1;HEAP8[$0_1+260|0]=1;HEAP8[$0_1+261|0]=1;HEAP8[$0_1+262|0]=1;HEAP8[$0_1+263|0]=1;HEAP8[$0_1+248|0]=1;HEAP8[$0_1+249|0]=1;HEAP8[$0_1+250|0]=1;HEAP8[$0_1+251|0]=1;HEAP8[$0_1+252|0]=1;HEAP8[$0_1+253|0]=1;HEAP8[$0_1+254|0]=1;HEAP8[$0_1+255|0]=1;HEAP8[$0_1+272|0]=5;HEAP8[$0_1+273|0]=5;HEAP8[$0_1+274|0]=5;HEAP8[$0_1+275|0]=5;HEAP8[$0_1+276|0]=5;HEAP8[$0_1+277|0]=5;HEAP8[$0_1+278|0]=5;HEAP8[$0_1+279|0]=5;HEAP8[$0_1+264|0]=5;HEAP8[$0_1+265|0]=5;HEAP8[$0_1+266|0]=5;HEAP8[$0_1+267|0]=5;HEAP8[$0_1+268|0]=5;HEAP8[$0_1+269|0]=5;HEAP8[$0_1+270|0]=5;HEAP8[$0_1+271|0]=5;HEAP32[$0_1+304>>2]=0;HEAP32[$0_1+308>>2]=0;HEAP32[$0_1+40>>2]=0;HEAP32[$0_1+280>>2]=0;HEAP32[$0_1+284>>2]=0;HEAP8[$0_1+300|0]=0;HEAP32[$0_1+292>>2]=65537;HEAP32[$0_1+296>>2]=0;HEAP8[$0_1+290|0]=0;HEAP16[$0_1+288>>1]=257;HEAP32[$1_1+12>>2]=1;break label$2;case 192:$1_1=0;if($308($0_1,0,0,0)){break label$2}break label$3;case 193:$1_1=0;if($308($0_1,0,1,0)){break label$2}break label$3;case 200:$1_1=0;if($308($0_1,0,0,1)){break label$2}break label$3;case 201:$1_1=0;if($308($0_1,0,1,1)){break label$2}break label$3;case 194:case 196:case 197:case 198:case 199:case 202:case 204:case 205:case 206:$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$1_1;HEAP32[$2_1+20>>2]=63;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1);break label$2;case 217:$6_1=HEAP32[$0_1+24>>2];$1_1=HEAP32[$6_1+4>>2];$3_1=HEAP32[$6_1>>2];if(!HEAP32[HEAP32[$0_1+464>>2]+16>>2]){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=60;$62($2_1+24|0,38856,80);FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}if(!$1_1){if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$6_1>>2];$1_1=HEAP32[$6_1+4>>2]}$5_1=HEAPU8[$3_1|0];$2_1=$1_1-1|0;if($2_1){$4_1=$3_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$2_1=HEAP32[$6_1+4>>2];$4_1=HEAP32[$6_1>>2]}$1_1=HEAPU8[$4_1|0];$3_1=$2_1-1|0;if($3_1){$4_1=$4_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$6_1+4>>2];$4_1=HEAP32[$6_1>>2]}$2_1=HEAP32[$0_1>>2];$11_1=HEAPU8[$4_1|0];HEAP32[$2_1+24>>2]=$11_1;HEAP32[$2_1+20>>2]=105;$2_1=1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,1);label$43:{label$44:{label$45:{if((($11_1<<1)+6|0)!=($1_1|$5_1<<8)|$11_1>>>0>4){break label$45}if($11_1){HEAP32[$0_1+340>>2]=$11_1;$9_1=$4_1+1|0;$5_1=$3_1-1|0;break label$44}if(!HEAP32[$0_1+224>>2]){break label$45}HEAP32[$0_1+340>>2]=$11_1;$9_1=$4_1+1|0;$5_1=$3_1-1|0;break label$43}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=12;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1);HEAP32[$0_1+340>>2]=$11_1;$9_1=$4_1+1|0;$5_1=$3_1-1|0;if(!$11_1){break label$43}}$4_1=0;while(1){if(!$5_1){if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$9_1=HEAP32[$6_1>>2];$5_1=HEAP32[$6_1+4>>2]}$3_1=HEAPU8[$9_1|0];label$50:{if(!$4_1){break label$50}$2_1=$4_1-2|0;$8_1=$4_1-1|0;$1_1=0;while(1){if(HEAP32[HEAP32[(($1_1<<2)+$0_1|0)+344>>2]>>2]!=($3_1|0)){$1_1=$1_1+1|0;if(($4_1|0)!=($1_1|0)){continue}break label$50}break}$1_1=HEAP32[HEAP32[$0_1+344>>2]>>2];label$53:{if($4_1>>>0<2){break label$53}$3_1=1;if($2_1>>>0>=3){$15_1=$8_1&-4;$7_1=0;while(1){$2_1=($3_1<<2)+$0_1|0;$12_1=HEAP32[HEAP32[$2_1+356>>2]>>2];$13_1=HEAP32[HEAP32[$2_1+352>>2]>>2];$14_1=HEAP32[HEAP32[$2_1+348>>2]>>2];$2_1=HEAP32[HEAP32[$2_1+344>>2]>>2];$2_1=($1_1|0)<($2_1|0)?$2_1:$1_1;$2_1=($2_1|0)<($14_1|0)?$14_1:$2_1;$2_1=($2_1|0)<($13_1|0)?$13_1:$2_1;$1_1=($2_1|0)<($12_1|0)?$12_1:$2_1;$3_1=$3_1+4|0;$7_1=$7_1+4|0;if(($15_1|0)!=($7_1|0)){continue}break}}$2_1=0;$8_1=$8_1&3;if(!$8_1){break label$53}while(1){$7_1=HEAP32[HEAP32[(($3_1<<2)+$0_1|0)+344>>2]>>2];$1_1=($1_1|0)<($7_1|0)?$7_1:$1_1;$3_1=$3_1+1|0;$2_1=$2_1+1|0;if(($8_1|0)!=($2_1|0)){continue}break}}$3_1=$1_1+1|0}$8_1=$5_1-1|0;$1_1=HEAP32[$0_1+216>>2];$7_1=HEAP32[$0_1+36>>2];label$57:{if(($7_1|0)>0){$5_1=Math_imul($7_1,88)+$1_1|0;$2_1=0;while(1){if(HEAP32[$1_1>>2]==($3_1|0)){break label$57}$1_1=$1_1+88|0;$2_1=$2_1+1|0;if(($7_1|0)!=($2_1|0)){continue}break}$1_1=$5_1}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$3_1;HEAP32[$2_1+20>>2]=4;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}HEAP32[(($4_1<<2)+$0_1|0)+344>>2]=$1_1;if($8_1){$5_1=$9_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$8_1=HEAP32[$6_1+4>>2];$5_1=HEAP32[$6_1>>2]}$2_1=HEAPU8[$5_1|0];HEAP32[$1_1+24>>2]=$2_1&15;HEAP32[$1_1+20>>2]=$2_1>>>4;$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=HEAP32[$1_1>>2];HEAP32[$2_1+28>>2]=HEAP32[$1_1+20>>2];$1_1=HEAP32[$1_1+24>>2];HEAP32[$2_1+20>>2]=106;HEAP32[$2_1+32>>2]=$1_1;FUNCTION_TABLE[HEAP32[$2_1+4>>2]]($0_1,1);$9_1=$5_1+1|0;$5_1=$8_1-1|0;$4_1=$4_1+1|0;if(($11_1|0)!=($4_1|0)){continue}break}$2_1=0}if(!$5_1){if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$9_1=HEAP32[$6_1>>2];$5_1=HEAP32[$6_1+4>>2]}HEAP32[$0_1+412>>2]=HEAPU8[$9_1|0];$3_1=$5_1-1|0;if($3_1){$4_1=$9_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$6_1+4>>2];$4_1=HEAP32[$6_1>>2]}HEAP32[$0_1+416>>2]=HEAPU8[$4_1|0];$7_1=$3_1-1|0;if($7_1){$4_1=$4_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$7_1=HEAP32[$6_1+4>>2];$4_1=HEAP32[$6_1>>2]}$1_1=HEAPU8[$4_1|0];HEAP32[$0_1+424>>2]=$1_1&15;HEAP32[$0_1+420>>2]=$1_1>>>4;$5_1=HEAP32[$0_1>>2];HEAP32[$5_1+24>>2]=HEAP32[$0_1+412>>2];HEAP32[$5_1+28>>2]=HEAP32[$0_1+416>>2];HEAP32[$5_1+32>>2]=HEAP32[$0_1+420>>2];HEAP32[$5_1+36>>2]=HEAP32[$0_1+424>>2];HEAP32[$5_1+20>>2]=107;$1_1=1;FUNCTION_TABLE[HEAP32[$5_1+4>>2]]($0_1,1);HEAP32[HEAP32[$0_1+464>>2]+20>>2]=0;if(!$2_1){HEAP32[$0_1+144>>2]=HEAP32[$0_1+144>>2]+1}HEAP32[$6_1+4>>2]=$7_1-1;HEAP32[$6_1>>2]=$4_1+1;HEAP32[$0_1+440>>2]=0;break label$3;case 216:$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=87;FUNCTION_TABLE[HEAP32[$2_1+4>>2]]($0_1,1);HEAP32[$0_1+440>>2]=0;$1_1=2;break label$3;case 203:$5_1=HEAP32[$0_1+24>>2];$1_1=HEAP32[$5_1+4>>2];if(!$1_1){if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$1_1=HEAP32[$5_1+4>>2]}$2_1=HEAP32[$5_1>>2];$6_1=HEAPU8[$2_1|0];$3_1=$1_1-1|0;if($3_1){$4_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$5_1+4>>2];$4_1=HEAP32[$5_1>>2]}$2_1=$4_1+1|0;$3_1=$3_1-1|0;$4_1=HEAPU8[$4_1|0]|$6_1<<8;$1_1=$4_1-2|0;if($4_1>>>0>=3){while(1){$4_1=$1_1;if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$5_1+4>>2];$2_1=HEAP32[$5_1>>2]}$1_1=HEAPU8[$2_1|0];$8_1=$3_1-1|0;if($8_1){$2_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$8_1=HEAP32[$5_1+4>>2];$2_1=HEAP32[$5_1>>2]}$6_1=HEAPU8[$2_1|0];$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+24>>2]=$1_1;HEAP32[$3_1+20>>2]=81;HEAP32[HEAP32[$0_1>>2]+28>>2]=$6_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,1);label$84:{label$85:{label$86:{if($1_1>>>0>=32){$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+24>>2]=$1_1;HEAP32[$3_1+20>>2]=29;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1);break label$86}if($1_1>>>0<16){break label$85}}HEAP8[($0_1+$1_1|0)+248|0]=$6_1;break label$84}$1_1=$0_1+$1_1|0;$3_1=$6_1>>>4|0;HEAP8[$1_1+248|0]=$3_1;$7_1=$1_1;$1_1=$6_1&15;HEAP8[$7_1+232|0]=$1_1;if($1_1>>>0<=$3_1>>>0){break label$84}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$6_1;HEAP32[$1_1+20>>2]=30;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$2_1=$2_1+1|0;$3_1=$8_1-1|0;$1_1=$4_1-2|0;if($4_1>>>0>2){continue}break}}if($1_1){$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+20>>2]=12;FUNCTION_TABLE[HEAP32[$4_1>>2]]($0_1)}HEAP32[$5_1+4>>2]=$3_1;HEAP32[$5_1>>2]=$2_1;break label$2;case 195:$6_1=HEAP32[$0_1+24>>2];$1_1=HEAP32[$6_1+4>>2];if(!$1_1){if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){break label$13}$1_1=HEAP32[$6_1+4>>2]}$2_1=HEAP32[$6_1>>2];$4_1=HEAPU8[$2_1|0];$1_1=$1_1-1|0;if($1_1){$2_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){break label$13}$1_1=HEAP32[$6_1+4>>2];$2_1=HEAP32[$6_1>>2]}$3_1=$2_1+1|0;$1_1=$1_1-1|0;$2_1=HEAPU8[$2_1|0]|$4_1<<8;$5_1=$2_1-2|0;if($2_1>>>0>=19){while(1){if(!$1_1){if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){break label$13}$3_1=HEAP32[$6_1>>2];$1_1=HEAP32[$6_1+4>>2]}$2_1=HEAP32[$0_1>>2];$9_1=HEAPU8[$3_1|0];HEAP32[$2_1+24>>2]=$9_1;HEAP32[$2_1+20>>2]=82;$2_1=1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,1);$4_1=0;HEAP8[$10_1+256|0]=0;$3_1=$3_1+1|0;$1_1=$1_1-1|0;while(1){if(!$1_1){if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){break label$13}$3_1=HEAP32[$6_1>>2];$1_1=HEAP32[$6_1+4>>2]}$8_1=HEAPU8[$3_1|0];HEAP8[($10_1+256|0)+$2_1|0]=$8_1;$3_1=$3_1+1|0;$1_1=$1_1-1|0;$4_1=$4_1+$8_1|0;$2_1=$2_1+1|0;if(($2_1|0)!=17){continue}break}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=HEAPU8[$10_1+257|0];HEAP32[$2_1+28>>2]=HEAPU8[$10_1+258|0];HEAP32[$2_1+32>>2]=HEAPU8[$10_1+259|0];HEAP32[$2_1+36>>2]=HEAPU8[$10_1+260|0];HEAP32[$2_1+40>>2]=HEAPU8[$10_1+261|0];HEAP32[$2_1+44>>2]=HEAPU8[$10_1+262|0];HEAP32[$2_1+48>>2]=HEAPU8[$10_1+263|0];$8_1=HEAPU8[$10_1+264|0];HEAP32[$2_1+20>>2]=88;HEAP32[$2_1+52>>2]=$8_1;FUNCTION_TABLE[HEAP32[$2_1+4>>2]]($0_1,2);$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=HEAPU8[$10_1+265|0];HEAP32[$2_1+28>>2]=HEAPU8[$10_1+266|0];HEAP32[$2_1+32>>2]=HEAPU8[$10_1+267|0];HEAP32[$2_1+36>>2]=HEAPU8[$10_1+268|0];HEAP32[$2_1+40>>2]=HEAPU8[$10_1+269|0];HEAP32[$2_1+44>>2]=HEAPU8[$10_1+270|0];HEAP32[$2_1+48>>2]=HEAPU8[$10_1+271|0];$8_1=HEAPU8[$10_1+272|0];HEAP32[$2_1+20>>2]=88;HEAP32[$2_1+52>>2]=$8_1;FUNCTION_TABLE[HEAP32[$2_1+4>>2]]($0_1,2);$5_1=$5_1-17|0;if(!($4_1>>>0<=256&($5_1|0)>=($4_1|0))){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=9;FUNCTION_TABLE[HEAP32[$2_1>>2]]($0_1)}$2_1=0;$8_1=$11($10_1,0,256);if($4_1){while(1){if(!$1_1){if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){break label$13}$3_1=HEAP32[$6_1>>2];$1_1=HEAP32[$6_1+4>>2]}HEAP8[$2_1+$8_1|0]=HEAPU8[$3_1|0];$3_1=$3_1+1|0;$1_1=$1_1-1|0;$2_1=$2_1+1|0;if(($4_1|0)!=($2_1|0)){continue}break}}$2_1=$9_1-16|0;$11_1=$9_1&16;$7_1=$11_1?(($2_1<<2)+$0_1|0)+196|0:(($9_1<<2)+$0_1|0)+180|0;$2_1=$11_1?$2_1:$9_1;if($2_1>>>0>=4){$9_1=HEAP32[$0_1>>2];HEAP32[$9_1+24>>2]=$2_1;HEAP32[$9_1+20>>2]=31;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$5_1=$5_1-$4_1|0;$2_1=HEAP32[$7_1>>2];if(!$2_1){$2_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,0,280)|0;HEAP32[$2_1+276>>2]=0;HEAP32[$7_1>>2]=$2_1}$4_1=HEAP32[$8_1+260>>2];HEAP32[$2_1>>2]=HEAP32[$8_1+256>>2];HEAP32[$2_1+4>>2]=$4_1;$4_1=HEAP32[$8_1+268>>2];HEAP32[$2_1+8>>2]=HEAP32[$8_1+264>>2];HEAP32[$2_1+12>>2]=$4_1;HEAP8[$2_1+16|0]=HEAPU8[$8_1+272|0];$62(HEAP32[$7_1>>2]+17|0,$8_1,256);if(($5_1|0)>16){continue}break}}if($5_1){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=12;FUNCTION_TABLE[HEAP32[$2_1>>2]]($0_1)}HEAP32[$6_1+4>>2]=$1_1;HEAP32[$6_1>>2]=$3_1;break label$2;case 218:$9_1=HEAP32[$0_1+24>>2];$1_1=HEAP32[$9_1+4>>2];if(!$1_1){if(!(FUNCTION_TABLE[HEAP32[$9_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$1_1=HEAP32[$9_1+4>>2]}$2_1=HEAP32[$9_1>>2];$5_1=HEAPU8[$2_1|0];$3_1=$1_1-1|0;if($3_1){$1_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$9_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$9_1+4>>2];$1_1=HEAP32[$9_1>>2]}$2_1=$1_1+1|0;$4_1=$3_1-1|0;$1_1=HEAPU8[$1_1|0]|$5_1<<8;$8_1=$1_1-2|0;if($1_1>>>0>=3){while(1){if(!$4_1){if(!(FUNCTION_TABLE[HEAP32[$9_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$4_1=HEAP32[$9_1+4>>2];$2_1=HEAP32[$9_1>>2]}$5_1=HEAPU8[$2_1|0];$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=83;$6_1=$1_1;$1_1=$5_1&15;HEAP32[$6_1+24>>2]=$1_1;HEAP32[HEAP32[$0_1>>2]+28>>2]=$5_1>>>4;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,1);if($1_1>>>0>=4){$6_1=HEAP32[$0_1>>2];HEAP32[$6_1+24>>2]=$1_1;HEAP32[$6_1+20>>2]=32;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$6_1=($1_1<<2)+$0_1|0;$1_1=HEAP32[$6_1+164>>2];if(!$1_1){$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,0,132)|0;HEAP32[$1_1+128>>2]=0;HEAP32[$6_1+164>>2]=$1_1}$6_1=$8_1-1|0;label$115:{label$116:{label$117:{label$118:{$11_1=$5_1>>>0<16;label$119:{if(!$11_1){$7_1=0;if($8_1>>>0>128){break label$118}while(1){$5_1=$7_1<<1;HEAP16[$5_1+$1_1>>1]=1;HEAP16[($5_1|2)+$1_1>>1]=1;HEAP16[($5_1|4)+$1_1>>1]=1;HEAP16[($5_1|6)+$1_1>>1]=1;HEAP16[($5_1|8)+$1_1>>1]=1;HEAP16[($5_1|10)+$1_1>>1]=1;HEAP16[($5_1|12)+$1_1>>1]=1;HEAP16[($5_1|14)+$1_1>>1]=1;$7_1=$7_1+8|0;if(($7_1|0)!=64){continue}break}$5_1=$6_1>>1;break label$119}$7_1=0;if($8_1>>>0>64){break label$118}while(1){$5_1=$7_1<<1;HEAP16[$5_1+$1_1>>1]=1;HEAP16[($5_1|2)+$1_1>>1]=1;HEAP16[($5_1|4)+$1_1>>1]=1;HEAP16[($5_1|6)+$1_1>>1]=1;HEAP16[($5_1|8)+$1_1>>1]=1;HEAP16[($5_1|10)+$1_1>>1]=1;HEAP16[($5_1|12)+$1_1>>1]=1;HEAP16[($5_1|14)+$1_1>>1]=1;$7_1=$7_1+8|0;if(($7_1|0)!=64){continue}break}$5_1=$6_1}$8_1=42192;label$123:{label$124:{switch($5_1-4|0){case 5:$8_1=42080;break label$123;case 12:$8_1=41952;break label$123;case 21:$8_1=41776;break label$123;case 32:$8_1=41568;break label$123;case 0:break label$123;case 45:break label$124;default:break label$117}}$8_1=41296}$2_1=$2_1+1|0;$4_1=$4_1-1|0;break label$116}$2_1=$2_1+1|0;$4_1=$4_1-1|0;$5_1=64;$8_1=40976;break label$116}$2_1=$2_1+1|0;$4_1=$4_1-1|0;$8_1=40976;if(($5_1|0)<=0){break label$115}}$3_1=0;while(1){label$130:{if(!$11_1){if(!$4_1){if(!(FUNCTION_TABLE[HEAP32[$9_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$4_1=HEAP32[$9_1+4>>2];$2_1=HEAP32[$9_1>>2]}$7_1=HEAPU8[$2_1|0];$4_1=$4_1-1|0;if($4_1){$2_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$9_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$4_1=HEAP32[$9_1+4>>2];$2_1=HEAP32[$9_1>>2]}$7_1=HEAPU8[$2_1|0]|$7_1<<8;break label$130}if(!$4_1){if(!(FUNCTION_TABLE[HEAP32[$9_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$4_1=HEAP32[$9_1+4>>2];$2_1=HEAP32[$9_1>>2]}$7_1=HEAPU8[$2_1|0]}HEAP16[(HEAP32[($3_1<<2)+$8_1>>2]<<1)+$1_1>>1]=$7_1;$2_1=$2_1+1|0;$4_1=$4_1-1|0;$3_1=$3_1+1|0;if(($5_1|0)!=($3_1|0)){continue}break}}$8_1=0;if(HEAP32[HEAP32[$0_1>>2]+104>>2]>=2){while(1){$3_1=HEAP32[$0_1>>2];$7_1=$8_1<<1;HEAP32[$3_1+24>>2]=HEAPU16[$7_1+$1_1>>1];HEAP32[$3_1+28>>2]=HEAPU16[($7_1|2)+$1_1>>1];HEAP32[$3_1+32>>2]=HEAPU16[($7_1|4)+$1_1>>1];HEAP32[$3_1+36>>2]=HEAPU16[($7_1|6)+$1_1>>1];HEAP32[$3_1+40>>2]=HEAPU16[($7_1|8)+$1_1>>1];HEAP32[$3_1+44>>2]=HEAPU16[($7_1|10)+$1_1>>1];HEAP32[$3_1+48>>2]=HEAPU16[($7_1|12)+$1_1>>1];$7_1=HEAPU16[($7_1|14)+$1_1>>1];HEAP32[$3_1+20>>2]=95;HEAP32[$3_1+52>>2]=$7_1;FUNCTION_TABLE[HEAP32[$3_1+4>>2]]($0_1,2);$3_1=$8_1>>>0<56;$8_1=$8_1+8|0;if($3_1){continue}break}}$8_1=$6_1-(($11_1?0:$5_1)+$5_1|0)|0;if(($8_1|0)>0){continue}break}}if($8_1){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=12;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}HEAP32[$9_1+4>>2]=$4_1;HEAP32[$9_1>>2]=$2_1;break label$2;case 220:$1_1=HEAP32[$0_1+24>>2];$3_1=HEAP32[$1_1+4>>2];if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2]}$2_1=HEAP32[$1_1>>2];$4_1=HEAPU8[$2_1|0];$3_1=$3_1-1|0;if($3_1){$2_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$3_1=$3_1-1|0;if((HEAPU8[$2_1|0]|$4_1<<8)!=4){$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+20>>2]=12;FUNCTION_TABLE[HEAP32[$4_1>>2]]($0_1)}if($3_1){$2_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$5_1=HEAPU8[$2_1|0];$4_1=$3_1-1|0;if($4_1){$2_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$4_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$6_1=HEAPU8[$2_1|0];$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=84;$5_1=$6_1|$5_1<<8;HEAP32[$3_1+24>>2]=$5_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,1);HEAP32[$0_1+280>>2]=$5_1;HEAP32[$1_1+4>>2]=$4_1-1;HEAP32[$1_1>>2]=$2_1+1;break label$2;case 247:$1_1=HEAP32[$0_1+24>>2];$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2];if(!HEAP32[HEAP32[$0_1+464>>2]+16>>2]){$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+20>>2]=60;$62($4_1+24|0,38937,80);FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}label$155:{label$156:{if(HEAP32[$0_1+36>>2]<3){break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$4_1=HEAPU8[$2_1|0];$3_1=$3_1-1|0;if($3_1){$2_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$3_1=$3_1-1|0;if((HEAPU8[$2_1|0]|$4_1<<8)!=24){$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+20>>2]=12;FUNCTION_TABLE[HEAP32[$4_1>>2]]($0_1)}if($3_1){$2_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$3_1=$3_1-1|0;if(HEAPU8[$2_1|0]!=13){$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+20>>2]=70;HEAP32[$4_1+24>>2]=HEAP32[$0_1+440>>2];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}if($3_1){$2_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$5_1=HEAPU8[$2_1|0];$3_1=$3_1-1|0;if($3_1){$4_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2]}$2_1=$4_1+1|0;$3_1=$3_1-1|0;if((HEAPU8[$4_1|0]|$5_1<<8)!=255){break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$4_1=$2_1+1|0;$3_1=$3_1-1|0;if(HEAPU8[$2_1|0]!=3){$2_1=$4_1;break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2]}$2_1=$4_1+1|0;$3_1=$3_1-1|0;$7_1=HEAP32[$0_1+216>>2];if(HEAP32[$7_1+88>>2]!=HEAPU8[$4_1|0]){break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$7_1=HEAP32[$0_1+216>>2];$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$4_1=$2_1+1|0;$3_1=$3_1-1|0;if(HEAP32[$7_1>>2]!=HEAPU8[$2_1|0]){$2_1=$4_1;break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$7_1=HEAP32[$0_1+216>>2];$3_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2]}$2_1=$4_1+1|0;$3_1=$3_1-1|0;if(HEAP32[$7_1+176>>2]!=HEAPU8[$4_1|0]){break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$4_1=$2_1+1|0;$3_1=$3_1-1|0;if(HEAPU8[$2_1|0]!=128){$2_1=$4_1;break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2]}$5_1=HEAPU8[$4_1|0];$3_1=$3_1-1|0;if($3_1){$4_1=$4_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2]}$2_1=$4_1+1|0;$3_1=$3_1-1|0;if(HEAPU8[$4_1|0]|$5_1<<8){break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$5_1=HEAPU8[$2_1|0];$3_1=$3_1-1|0;if($3_1){$4_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2]}$2_1=$4_1+1|0;$3_1=$3_1-1|0;if(HEAPU8[$4_1|0]|$5_1<<8){break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$4_1=$2_1+1|0;$3_1=$3_1-1|0;if(HEAPU8[$2_1|0]){$2_1=$4_1;break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2]}$5_1=HEAPU8[$4_1|0];$3_1=$3_1-1|0;if($3_1){$4_1=$4_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2]}$2_1=$4_1+1|0;$3_1=$3_1-1|0;if((HEAPU8[$4_1|0]|$5_1<<8)!=1){break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$5_1=HEAPU8[$2_1|0];$3_1=$3_1-1|0;if($3_1){$4_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2]}$2_1=$4_1+1|0;$3_1=$3_1-1|0;if(HEAPU8[$4_1|0]|$5_1<<8){break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$4_1=$2_1+1|0;$3_1=$3_1-1|0;if(HEAPU8[$2_1|0]){$2_1=$4_1;break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2]}$5_1=HEAPU8[$4_1|0];$3_1=$3_1-1|0;if($3_1){$4_1=$4_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2]}$2_1=$4_1+1|0;$3_1=$3_1-1|0;if((HEAPU8[$4_1|0]|$5_1<<8)!=1){break label$156}if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$5_1=HEAPU8[$2_1|0];$3_1=$3_1-1|0;if($3_1){$4_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2]}$2_1=$4_1+1|0;$3_1=$3_1-1|0;if(!(HEAPU8[$4_1|0]|$5_1<<8)){break label$155}}$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+20>>2]=28;FUNCTION_TABLE[HEAP32[$4_1>>2]]($0_1)}HEAP32[$0_1+304>>2]=1;HEAP32[$1_1+4>>2]=$3_1;HEAP32[$1_1>>2]=$2_1;break label$2;case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:if(FUNCTION_TABLE[HEAP32[(HEAP32[$0_1+464>>2]+($1_1<<2)|0)-864>>2]]($0_1)|0){break label$2}$1_1=0;break label$3;case 253:if(FUNCTION_TABLE[HEAP32[HEAP32[$0_1+464>>2]+28>>2]]($0_1)|0){break label$2}$1_1=0;break label$3;case 0:case 207:case 208:case 209:case 210:case 211:case 212:case 213:case 214:$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$1_1;HEAP32[$2_1+20>>2]=94;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,1);break label$2;case 219:$4_1=HEAP32[$0_1+24>>2];$3_1=HEAP32[$4_1+4>>2];if(!$3_1){if(!(FUNCTION_TABLE[HEAP32[$4_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$3_1=HEAP32[$4_1+4>>2]}$1_1=HEAP32[$4_1>>2];$5_1=HEAPU8[$1_1|0];$2_1=$3_1-1|0;if($2_1){$1_1=$1_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$4_1+12>>2]]($0_1)|0)){$1_1=0;break label$3}$2_1=HEAP32[$4_1+4>>2];$1_1=HEAP32[$4_1>>2]}$6_1=HEAPU8[$1_1|0];$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=93;HEAP32[$3_1+24>>2]=HEAP32[$0_1+440>>2];$5_1=$6_1|$5_1<<8;$6_1=$5_1-2|0;HEAP32[HEAP32[$0_1>>2]+28>>2]=$6_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,1);HEAP32[$4_1+4>>2]=$2_1-1;HEAP32[$4_1>>2]=$1_1+1;if($5_1>>>0<3){break label$2}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+24>>2]+16>>2]]($0_1,$6_1);break label$2;default:$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$1_1;HEAP32[$2_1+20>>2]=70;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1);break label$2;case 191:break label$14}}$1_1=0;if($308($0_1,1,0,0)){break label$2}break label$3}$1_1=0}global$0=$10_1+288|0;return $1_1|0}$1_1=0;HEAP32[$0_1+440>>2]=0;continue}}function $724($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=Math_fround(0),$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=Math_fround(0),$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=0,$32_1=0,$33_1=Math_fround(0),$34_1=Math_fround(0),$35_1=0,$36_1=0,$37_1=0,$38_1=0,$39_1=Math_fround(0),$40_1=Math_fround(0),$41_1=Math_fround(0),$42_1=Math_fround(0),$43_1=Math_fround(0),$44_1=0,$45_1=Math_fround(0),$46_1=Math_fround(0),$47_1=0,$48_1=Math_fround(0),$49_1=0,$50_1=Math_fround(0),$51_1=Math_fround(0),$52_1=Math_fround(0);$22_1=global$0+-64|0;global$0=$22_1;$37_1=$720($22_1+48|0,$12($3_1));$38_1=$720($22_1+32|0,$12($3_1));while(1){if($12($3_1)>>>0<=$23_1>>>0){$23_1=0;HEAP32[$22_1+24>>2]=0;HEAP32[$22_1+12>>2]=0;HEAP32[$22_1>>2]=0;HEAP32[$22_1+4>>2]=0;$10_1=Math_fround($6_1|0);HEAPF32[$22_1+28>>2]=$10_1;HEAPF32[$22_1+20>>2]=$10_1;$10_1=Math_fround($5_1|0);HEAPF32[$22_1+16>>2]=$10_1;HEAPF32[$22_1+8>>2]=$10_1;$28_1=$29($37_1,0);$29_1=$29($38_1,0);$1_1=$4_1+12|0;$27_1=$12($3_1);$223($1_1,$27_1);$16_1=$0_1;$0_1=$22_1;$25_1=$4_1+24|0;$10_1=HEAPF32[$4_1+36>>2];$35_1=HEAP32[$4_1+40>>2];$47_1=HEAP32[$4_1+44>>2];$2_1=HEAP32[$4_1+48>>2];$32_1=global$0-16|0;global$0=$32_1;$30_1=$4_1;label$3:{if($21($4_1)>>>0>=Math_imul($35_1,9)>>>0){if($21($1_1)>>>0>=$27_1>>>0){if($12($25_1)>>>0>=$35_1>>>0){if(($27_1|0)<4){break label$3}HEAP32[$32_1+12>>2]=1234;$24_1=$9($1_1,0);$48_1=$64($10_1);$49_1=$386($2_1,$27_1);$733($24_1,$27_1);$463($24_1,$27_1,$27_1,$32_1+12|0);while(1){if(!(($15_1|0)>=($35_1|0)|($13_1|0)>=($47_1|0))){$463($24_1,$27_1,4,$32_1+12|0);$2_1=HEAP32[$24_1+12>>2]<<3;$1_1=$2_1+$28_1|0;$2_1=$2_1+$29_1|0;$3_1=0;$14_1=HEAP32[$24_1>>2]<<3;$4_1=$14_1+$28_1|0;$8_1=HEAP32[$24_1+4>>2]<<3;$7_1=$8_1+$28_1|0;$18_1=HEAP32[$24_1+8>>2]<<3;$9_1=$18_1+$28_1|0;$14_1=$14_1+$29_1|0;$8_1=$8_1+$29_1|0;$18_1=$18_1+$29_1|0;label$9:{if($126($4_1,$7_1,$9_1)>Math_fround(0)^$126($14_1,$8_1,$18_1)>Math_fround(0)){break label$9}if($126($7_1,$9_1,$1_1)>Math_fround(0)^$126($8_1,$18_1,$2_1)>Math_fround(0)){break label$9}if($126($9_1,$1_1,$4_1)>Math_fround(0)^$126($18_1,$2_1,$14_1)>Math_fround(0)){break label$9}$3_1=!($126($1_1,$4_1,$7_1)>Math_fround(0)^$126($2_1,$14_1,$8_1)>Math_fround(0))}label$10:{if(!$3_1){break label$10}$44_1=Math_imul($15_1,9);$14_1=$9($30_1,$44_1);$1_1=HEAP32[$24_1>>2]<<3;$4_1=$1_1+$29_1|0;$7_1=HEAP32[$24_1+4>>2]<<3;$9_1=$7_1+$29_1|0;$8_1=HEAP32[$24_1+8>>2]<<3;$18_1=$8_1+$29_1|0;$19_1=HEAP32[$24_1+12>>2]<<3;$20_1=$19_1+$29_1|0;$2_1=0;$3_1=global$0-144|0;global$0=$3_1;label$11:{if(!$710($3_1- -64|0,$3_1+56|0,$3_1+48|0,$3_1+40|0,$3_1+92|0,$3_1+80|0,$1_1+$28_1|0,$7_1+$28_1|0,$8_1+$28_1|0,$19_1+$28_1|0)){break label$11}if(!$710($3_1+32|0,$3_1+24|0,$3_1+16|0,$3_1+8|0,$3_1+88|0,$3_1+72|0,$4_1,$9_1,$18_1,$20_1)){break label$11}$4_1=global$0-288|0;global$0=$4_1;$377($4_1,$3_1- -64|0,$3_1+32|0);$9_1=$4_1+72|0;$377($9_1,$3_1+56|0,$3_1+24|0);$8_1=$4_1+144|0;$377($8_1,$3_1+48|0,$3_1+16|0);$20_1=$4_1+216|0;$377($20_1,$3_1+40|0,$3_1+8|0);$19_1=0;$18_1=0;$1_1=global$0-288|0;global$0=$1_1;$7_1=global$0-32|0;global$0=$7_1;HEAPF32[$7_1>>2]=$40($4_1);$11_1=$4_1+36|0;HEAPF32[$7_1+4>>2]=$40($11_1);HEAPF32[$7_1+8>>2]=$40($9_1);HEAPF32[$7_1+12>>2]=$40($4_1+108|0);HEAPF32[$7_1+16>>2]=$40($8_1);HEAPF32[$7_1+20>>2]=$40($4_1+180|0);HEAPF32[$7_1+24>>2]=$40($20_1);HEAPF32[$7_1+28>>2]=$40($4_1+252|0);$9_1=HEAPF32[$7_1+4>>2]>HEAPF32[$7_1>>2];$9_1=HEAPF32[$7_1+8>>2]>HEAPF32[$7_1+($9_1<<2)>>2]?2:$9_1;$9_1=HEAPF32[$7_1+12>>2]>HEAPF32[$7_1+($9_1<<2)>>2]?3:$9_1;$9_1=HEAPF32[$7_1+16>>2]>HEAPF32[$7_1+($9_1<<2)>>2]?4:$9_1;$9_1=HEAPF32[$7_1+20>>2]>HEAPF32[$7_1+($9_1<<2)>>2]?5:$9_1;$9_1=HEAPF32[$7_1+24>>2]>HEAPF32[$7_1+($9_1<<2)>>2]?6:$9_1;$9_1=HEAPF32[$7_1+28>>2]>HEAPF32[$7_1+($9_1<<2)>>2]?7:$9_1;$8_1=$7_1+($9_1<<2)|0;$10_1=HEAPF32[$8_1>>2];if($10_1!=Math_fround(0)){$134($4_1,$4_1+Math_imul($9_1,36)|0);$167($1_1,$4_1,Math_fround(Math_fround(1)/Math_fround(Math_sqrt(HEAPF32[$8_1>>2]))));$195($1_1+36|0,$11_1,63)}$20_1=$3_1+96|0;global$0=$7_1+32|0;label$13:{if($10_1==Math_fround(0)){break label$13}$7_1=global$0-32|0;global$0=$7_1;$9_1=$1_1+36|0;$8_1=$4_1+36|0;$52($9_1,$1_1,$8_1);$11_1=$1_1+72|0;$52($11_1,$1_1,$4_1+72|0);$12_1=$1_1+108|0;$52($12_1,$1_1,$4_1+108|0);$21_1=$1_1+144|0;$52($21_1,$1_1,$4_1+144|0);$26_1=$1_1+180|0;$52($26_1,$1_1,$4_1+180|0);$31_1=$1_1+216|0;$52($31_1,$1_1,$4_1+216|0);$36_1=$1_1+252|0;$52($36_1,$1_1,$4_1+252|0);HEAPF32[$7_1>>2]=$40($9_1);HEAPF32[$7_1+4>>2]=$40($11_1);HEAPF32[$7_1+8>>2]=$40($12_1);HEAPF32[$7_1+12>>2]=$40($21_1);HEAPF32[$7_1+16>>2]=$40($26_1);HEAPF32[$7_1+20>>2]=$40($31_1);HEAPF32[$7_1+24>>2]=$40($36_1);$11_1=HEAPF32[$7_1+4>>2]>HEAPF32[$7_1>>2];$11_1=HEAPF32[$7_1+8>>2]>HEAPF32[$7_1+($11_1<<2)>>2]?2:$11_1;$11_1=HEAPF32[$7_1+12>>2]>HEAPF32[$7_1+($11_1<<2)>>2]?3:$11_1;$11_1=HEAPF32[$7_1+16>>2]>HEAPF32[$7_1+($11_1<<2)>>2]?4:$11_1;$11_1=HEAPF32[$7_1+20>>2]>HEAPF32[$7_1+($11_1<<2)>>2]?5:$11_1;$11_1=HEAPF32[$7_1+24>>2]>HEAPF32[$7_1+($11_1<<2)>>2]?6:$11_1;$12_1=$7_1+($11_1<<2)|0;$10_1=HEAPF32[$12_1>>2];if($10_1!=Math_fround(0)){$11_1=Math_imul($11_1,36);$134($9_1,$11_1+$9_1|0);$134($8_1,$8_1+$11_1|0);$167($9_1,$9_1,Math_fround(Math_fround(1)/Math_fround(Math_sqrt(HEAPF32[$12_1>>2]))))}global$0=$7_1+32|0;if($10_1==Math_fround(0)){break label$13}$7_1=global$0-32|0;global$0=$7_1;$9_1=$1_1+72|0;$8_1=$1_1+36|0;$11_1=$4_1+72|0;$52($9_1,$8_1,$11_1);$12_1=$1_1+108|0;$52($12_1,$8_1,$4_1+108|0);$21_1=$1_1+144|0;$52($21_1,$8_1,$4_1+144|0);$26_1=$1_1+180|0;$52($26_1,$8_1,$4_1+180|0);$31_1=$1_1+216|0;$52($31_1,$8_1,$4_1+216|0);$36_1=$1_1+252|0;$52($36_1,$8_1,$4_1+252|0);HEAPF32[$7_1>>2]=$40($9_1);HEAPF32[$7_1+4>>2]=$40($12_1);HEAPF32[$7_1+8>>2]=$40($21_1);HEAPF32[$7_1+12>>2]=$40($26_1);HEAPF32[$7_1+16>>2]=$40($31_1);HEAPF32[$7_1+20>>2]=$40($36_1);$8_1=HEAPF32[$7_1+4>>2]>HEAPF32[$7_1>>2];$8_1=HEAPF32[$7_1+8>>2]>HEAPF32[$7_1+($8_1<<2)>>2]?2:$8_1;$8_1=HEAPF32[$7_1+12>>2]>HEAPF32[$7_1+($8_1<<2)>>2]?3:$8_1;$8_1=HEAPF32[$7_1+16>>2]>HEAPF32[$7_1+($8_1<<2)>>2]?4:$8_1;$8_1=HEAPF32[$7_1+20>>2]>HEAPF32[$7_1+($8_1<<2)>>2]?5:$8_1;$12_1=$7_1+($8_1<<2)|0;$10_1=HEAPF32[$12_1>>2];if($10_1!=Math_fround(0)){$8_1=Math_imul($8_1,36);$134($9_1,$8_1+$9_1|0);$134($11_1,$8_1+$11_1|0);$167($9_1,$9_1,Math_fround(Math_fround(1)/Math_fround(Math_sqrt(HEAPF32[$12_1>>2]))))}global$0=$7_1+32|0;if($10_1==Math_fround(0)){break label$13}$7_1=global$0-32|0;global$0=$7_1;$9_1=$1_1+108|0;$8_1=$1_1+72|0;$11_1=$4_1+108|0;$52($9_1,$8_1,$11_1);$12_1=$1_1+144|0;$52($12_1,$8_1,$4_1+144|0);$21_1=$1_1+180|0;$52($21_1,$8_1,$4_1+180|0);$26_1=$1_1+216|0;$52($26_1,$8_1,$4_1+216|0);$31_1=$1_1+252|0;$52($31_1,$8_1,$4_1+252|0);HEAPF32[$7_1>>2]=$40($9_1);HEAPF32[$7_1+4>>2]=$40($12_1);HEAPF32[$7_1+8>>2]=$40($21_1);HEAPF32[$7_1+12>>2]=$40($26_1);HEAPF32[$7_1+16>>2]=$40($31_1);$8_1=HEAPF32[$7_1+4>>2]>HEAPF32[$7_1>>2];$8_1=HEAPF32[$7_1+8>>2]>HEAPF32[$7_1+($8_1<<2)>>2]?2:$8_1;$8_1=HEAPF32[$7_1+12>>2]>HEAPF32[$7_1+($8_1<<2)>>2]?3:$8_1;$8_1=HEAPF32[$7_1+16>>2]>HEAPF32[$7_1+($8_1<<2)>>2]?4:$8_1;$12_1=$7_1+($8_1<<2)|0;$10_1=HEAPF32[$12_1>>2];if($10_1!=Math_fround(0)){$8_1=Math_imul($8_1,36);$134($9_1,$8_1+$9_1|0);$134($11_1,$8_1+$11_1|0);$167($9_1,$9_1,Math_fround(Math_fround(1)/Math_fround(Math_sqrt(HEAPF32[$12_1>>2]))))}global$0=$7_1+32|0;if($10_1==Math_fround(0)){break label$13}$7_1=global$0-16|0;global$0=$7_1;$9_1=$1_1+144|0;$8_1=$1_1+108|0;$11_1=$4_1+144|0;$52($9_1,$8_1,$11_1);$12_1=$1_1+180|0;$52($12_1,$8_1,$4_1+180|0);$21_1=$1_1+216|0;$52($21_1,$8_1,$4_1+216|0);$26_1=$1_1+252|0;$52($26_1,$8_1,$4_1+252|0);HEAPF32[$7_1>>2]=$40($9_1);HEAPF32[$7_1+4>>2]=$40($12_1);HEAPF32[$7_1+8>>2]=$40($21_1);HEAPF32[$7_1+12>>2]=$40($26_1);$8_1=HEAPF32[$7_1+4>>2]>HEAPF32[$7_1>>2];$8_1=HEAPF32[$7_1+8>>2]>HEAPF32[$7_1+($8_1<<2)>>2]?2:$8_1;$8_1=HEAPF32[$7_1+12>>2]>HEAPF32[$7_1+($8_1<<2)>>2]?3:$8_1;$12_1=$7_1+($8_1<<2)|0;$10_1=HEAPF32[$12_1>>2];if($10_1!=Math_fround(0)){$8_1=Math_imul($8_1,36);$134($9_1,$8_1+$9_1|0);$134($11_1,$8_1+$11_1|0);$167($9_1,$9_1,Math_fround(Math_fround(1)/Math_fround(Math_sqrt(HEAPF32[$12_1>>2]))))}global$0=$7_1+16|0;if($10_1==Math_fround(0)){break label$13}$7_1=global$0-16|0;global$0=$7_1;$9_1=$1_1+180|0;$8_1=$1_1+144|0;$11_1=$4_1+180|0;$52($9_1,$8_1,$11_1);$12_1=$1_1+216|0;$52($12_1,$8_1,$4_1+216|0);$21_1=$1_1+252|0;$52($21_1,$8_1,$4_1+252|0);HEAPF32[$7_1+4>>2]=$40($9_1);HEAPF32[$7_1+8>>2]=$40($12_1);HEAPF32[$7_1+12>>2]=$40($21_1);$8_1=$7_1+4|0;$12_1=HEAPF32[$8_1+4>>2]>HEAPF32[$8_1>>2];$12_1=HEAPF32[$8_1+8>>2]>HEAPF32[$8_1+($12_1<<2)>>2]?2:$12_1;$8_1=($12_1<<2)+$8_1|0;$10_1=HEAPF32[$8_1>>2];if($10_1!=Math_fround(0)){$12_1=Math_imul($12_1,36);$134($9_1,$12_1+$9_1|0);$134($11_1,$11_1+$12_1|0);$167($9_1,$9_1,Math_fround(Math_fround(1)/Math_fround(Math_sqrt(HEAPF32[$8_1>>2]))))}global$0=$7_1+16|0;if($10_1==Math_fround(0)){break label$13}$7_1=global$0-16|0;global$0=$7_1;$9_1=$1_1+216|0;$11_1=$1_1+180|0;$8_1=$4_1+216|0;$52($9_1,$11_1,$8_1);$12_1=$1_1+252|0;$52($12_1,$11_1,$4_1+252|0);HEAPF32[$7_1+8>>2]=$40($9_1);HEAPF32[$7_1+12>>2]=$40($12_1);$11_1=HEAPF32[$7_1+12>>2]>HEAPF32[$7_1+8>>2];$12_1=($7_1+8|0)+($11_1<<2)|0;$10_1=HEAPF32[$12_1>>2];if($10_1!=Math_fround(0)){$11_1=Math_imul($11_1,36);$134($9_1,$11_1+$9_1|0);$134($8_1,$8_1+$11_1|0);$167($9_1,$9_1,Math_fround(Math_fround(1)/Math_fround(Math_sqrt(HEAPF32[$12_1>>2]))))}global$0=$7_1+16|0;if($10_1==Math_fround(0)){break label$13}$7_1=$1_1+252|0;$52($7_1,$1_1+216|0,$4_1+252|0);$10_1=$40($7_1);if($10_1!=Math_fround(0)){$167($7_1,$7_1,Math_fround(Math_fround(1)/Math_fround(Math_sqrt($10_1))))}if($10_1==Math_fround(0)){break label$13}$7_1=global$0-384|0;global$0=$7_1;HEAPF32[$7_1+336>>2]=$179($7_1,$1_1,0);HEAPF32[$7_1+340>>2]=$179($7_1+36|0,$1_1,1);HEAPF32[$7_1+344>>2]=$179($7_1+72|0,$1_1,2);HEAPF32[$7_1+348>>2]=$179($7_1+108|0,$1_1,3);HEAPF32[$7_1+352>>2]=$179($7_1+144|0,$1_1,4);HEAPF32[$7_1+356>>2]=$179($7_1+180|0,$1_1,5);HEAPF32[$7_1+360>>2]=$179($7_1+216|0,$1_1,6);HEAPF32[$7_1+364>>2]=$179($7_1+252|0,$1_1,7);HEAPF32[$7_1+368>>2]=$179($7_1+288|0,$1_1,8);$9_1=$7_1+336|0;$8_1=HEAPF32[$9_1+4>>2]>HEAPF32[$9_1>>2];$8_1=HEAPF32[$9_1+8>>2]>HEAPF32[$9_1+($8_1<<2)>>2]?2:$8_1;$8_1=HEAPF32[$9_1+12>>2]>HEAPF32[$9_1+($8_1<<2)>>2]?3:$8_1;$8_1=HEAPF32[$9_1+16>>2]>HEAPF32[$9_1+($8_1<<2)>>2]?4:$8_1;$8_1=HEAPF32[$9_1+20>>2]>HEAPF32[$9_1+($8_1<<2)>>2]?5:$8_1;$8_1=HEAPF32[$9_1+24>>2]>HEAPF32[$9_1+($8_1<<2)>>2]?6:$8_1;$8_1=HEAPF32[$9_1+28>>2]>HEAPF32[$9_1+($8_1<<2)>>2]?7:$8_1;$8_1=HEAPF32[$9_1+32>>2]>HEAPF32[$9_1+($8_1<<2)>>2]?8:$8_1;$10_1=HEAPF32[($8_1<<2)+$9_1>>2];if($10_1!=Math_fround(0)){$461($20_1,$7_1+Math_imul($8_1,36)|0)}global$0=$7_1+384|0;$18_1=$10_1!=Math_fround(0)}global$0=$1_1+288|0;if($18_1){$19_1=!(+Math_fround(Math_abs($708($20_1)))<1e-5)}global$0=$4_1+288|0;if(!$19_1){break label$11}$39_1=HEAPF32[$3_1+84>>2];$50_1=HEAPF32[$3_1+80>>2];$51_1=HEAPF32[$3_1+108>>2];$33_1=HEAPF32[$3_1+76>>2];$40_1=HEAPF32[$3_1+112>>2];$34_1=HEAPF32[$3_1+120>>2];$41_1=HEAPF32[$3_1+96>>2];$42_1=HEAPF32[$3_1+72>>2];$45_1=HEAPF32[$3_1+124>>2];$17_1=HEAPF32[$3_1+88>>2];$46_1=Math_fround(Math_fround($42_1*$45_1)+Math_fround(HEAPF32[$3_1+100>>2]/$17_1));$10_1=HEAPF32[$3_1+92>>2];HEAPF32[$14_1+4>>2]=$46_1*$10_1;$41_1=Math_fround(Math_fround($34_1*$42_1)+Math_fround($41_1/$17_1));HEAPF32[$14_1>>2]=$41_1*$10_1;$42_1=HEAPF32[$3_1+72>>2];$52_1=HEAPF32[$3_1+128>>2];$43_1=HEAPF32[$3_1+104>>2];$40_1=Math_fround(Math_fround($45_1*$33_1)+Math_fround($40_1/$17_1));HEAPF32[$14_1+16>>2]=$40_1*$10_1;$33_1=Math_fround(Math_fround($34_1*$33_1)+Math_fround($51_1/$17_1));HEAPF32[$14_1+12>>2]=$33_1*$10_1;$34_1=Math_fround(Math_fround(-$39_1)*$10_1);$39_1=Math_fround(Math_fround(-$50_1)*$10_1);HEAPF32[$14_1+8>>2]=Math_fround($34_1*$46_1)+Math_fround(Math_fround($39_1*$41_1)+Math_fround(Math_fround($52_1*$42_1)+Math_fround($43_1/$17_1)));HEAPF32[$14_1+20>>2]=Math_fround($34_1*$40_1)+Math_fround(Math_fround($39_1*$33_1)+Math_fround(Math_fround(HEAPF32[$3_1+128>>2]*HEAPF32[$3_1+76>>2])+Math_fround(HEAPF32[$3_1+116>>2]/$17_1)));$17_1=Math_fround(HEAPF32[$3_1+120>>2]*$10_1);HEAPF32[$14_1+24>>2]=$17_1;$10_1=Math_fround(HEAPF32[$3_1+124>>2]*$10_1);HEAPF32[$14_1+28>>2]=$10_1;HEAPF32[$14_1+32>>2]=Math_fround(HEAPF32[$3_1+128>>2]-Math_fround($17_1*HEAPF32[$3_1+80>>2]))-Math_fround($10_1*HEAPF32[$3_1+84>>2]);$2_1=1}global$0=$3_1+144|0;if(!$2_1){break label$10}$20_1=$9($30_1,$44_1);$11_1=0;$8_1=global$0-48|0;global$0=$8_1;$1_1=$8_1+40|0;$192($1_1,$20_1,$0_1);$2_1=$8_1+32|0;$7_1=$0_1+8|0;$192($2_1,$20_1,$7_1);$3_1=$8_1+24|0;$19_1=$0_1+16|0;$192($3_1,$20_1,$19_1);$709($8_1+16|0,$1_1);$709($8_1+8|0,$2_1);label$23:{if(!$378($0_1,$7_1,$19_1,$1_1,$2_1,$3_1)){break label$23}$18_1=3;$1_1=$8_1+24|0;$2_1=$8_1+32|0;$3_1=$8_1+40|0;$14_1=$0_1;$9_1=$7_1;while(1){if(($18_1|0)!=4){$4_1=$3_1;$19_1=$19_1+8|0;$192($3_1,$20_1,$19_1);$18_1=$18_1+1|0;$14_1=$14_1+8|0;$9_1=$9_1+8|0;$12_1=$378($14_1,$9_1,$19_1,$2_1,$1_1,$3_1);$3_1=$2_1;$2_1=$1_1;$1_1=$4_1;if($12_1){continue}break label$23}break}if(!$378($9_1,$19_1,$0_1,$2_1,$1_1,$8_1+16|0)){break label$23}$11_1=$378($19_1,$0_1,$7_1,$1_1,$8_1+16|0,$8_1+8|0)}global$0=$8_1+48|0;if(!$11_1){break label$10}$15_1=$15_1+1|0}$13_1=$13_1+1|0;continue}break}if(!$15_1){$15_1=0;break label$3}$10_1=Math_fround(Math_fround(1)/$48_1);$0_1=0;$1_1=($15_1|0)>0?$15_1:0;$13_1=0;while(1)if(($1_1|0)==($13_1|0)){label$29:while(1){if(!(($0_1|0)<($27_1|0)&($15_1|0)>2)){$0_1=($15_1|0)>1?$15_1:1;$1_1=HEAP32[$29($25_1,0)+4>>2];$10_1=HEAPF32[$29($25_1,0)>>2];$13_1=1;while(1)if(($0_1|0)==($13_1|0)){$461($16_1,$9($30_1,Math_imul($1_1,9)));$10_1=HEAPF32[$16_1+32>>2];HEAP32[$16_1+32>>2]=1065353216;$10_1=Math_fround(Math_fround(1)/$10_1);HEAPF32[$16_1>>2]=HEAPF32[$16_1>>2]*$10_1;HEAPF32[$16_1+4>>2]=$10_1*HEAPF32[$16_1+4>>2];HEAPF32[$16_1+8>>2]=$10_1*HEAPF32[$16_1+8>>2];HEAPF32[$16_1+12>>2]=$10_1*HEAPF32[$16_1+12>>2];HEAPF32[$16_1+16>>2]=$10_1*HEAPF32[$16_1+16>>2];HEAPF32[$16_1+20>>2]=$10_1*HEAPF32[$16_1+20>>2];HEAPF32[$16_1+24>>2]=$10_1*HEAPF32[$16_1+24>>2];HEAPF32[$16_1+28>>2]=$10_1*HEAPF32[$16_1+28>>2];$15_1=1;break label$3}else{if(HEAPF32[$29($25_1,$13_1)>>2]<$10_1){$10_1=HEAPF32[$29($25_1,$13_1)>>2];$1_1=HEAP32[$29($25_1,$13_1)+4>>2]}$13_1=$13_1+1|0;continue}}$4_1=$386($49_1,$27_1-$0_1|0)+$0_1|0;$3_1=($0_1|0)>($4_1|0)?$0_1:$4_1;$1_1=0;label$35:while(1){if(($1_1|0)==($15_1|0)){$8_1=$29($25_1,0);$18_1=((($15_1|0)/2|0)+($15_1&1)|0)-1|0;$13_1=0;$19_1=global$0-16|0;global$0=$19_1;$9_1=$268($19_1+8|0);label$37:{label$38:{$7_1=$15_1;if(($7_1|0)>0){if(($18_1|0)<=0){break label$38}$15_1=$7_1-1|0;$20_1=$18_1-1|0;$14_1=$8_1+($20_1<<3)|0;while(1){if(($13_1|0)<($15_1|0)){HEAPF32[$9_1>>2]=HEAPF32[$14_1>>2];HEAP32[$9_1+4>>2]=HEAP32[$14_1+4>>2];$0_1=$15_1;$1_1=$13_1;while(1){$2_1=$1_1;while(1){$1_1=$2_1;$2_1=$1_1+1|0;$35_1=$8_1+($1_1<<3)|0;if($704($35_1,$9_1)){continue}break}$3_1=$0_1;while(1){$0_1=$3_1;$3_1=$3_1-1|0;$11_1=$8_1+($0_1<<3)|0;if($704($9_1,$11_1)){continue}break}if(($0_1|0)>=($1_1|0)){$158($35_1,$11_1);$1_1=$2_1;$0_1=$3_1}if(($0_1|0)>=($1_1|0)){continue}break}$15_1=($1_1|0)<($18_1|0)?$15_1:$0_1;$13_1=($0_1|0)<($20_1|0)?$1_1:$13_1;continue}break}$0_1=HEAP32[$14_1+4>>2];HEAP32[$32_1>>2]=HEAP32[$14_1>>2];HEAP32[$32_1+4>>2]=$0_1;global$0=$19_1+16|0;break label$37}$3($0($0($2($0($0($0(71248,25438),25467),9192),82),10056),25647));fimport$0();abort()}$3($0($0($2($0($0($0(71248,25684),25467),9192),83),10056),25713));fimport$0();abort()}$15_1=$7_1>>1;$0_1=$4_1;continue label$29}$7_1=$9($30_1,Math_imul(HEAP32[$29($25_1,$1_1)+4>>2],9));$13_1=$0_1;while(1)if(($3_1|0)==($13_1|0)){$1_1=$1_1+1|0;continue label$35}else{$2_1=global$0-16|0;global$0=$2_1;$9_1=HEAP32[($13_1<<2)+$24_1>>2]<<3;$14_1=$9_1+$28_1|0;$458($2_1+8|0,$2_1+12|0,$7_1,HEAPF32[$14_1>>2],HEAPF32[$14_1+4>>2]);$9_1=$9_1+$29_1|0;HEAPF32[$2_1>>2]=HEAPF32[$2_1+8>>2]-HEAPF32[$9_1>>2];HEAPF32[$2_1+4>>2]=HEAPF32[$2_1+12>>2]-HEAPF32[$9_1+4>>2];$17_1=HEAPF32[$2_1>>2];$43_1=Math_fround($17_1*$17_1);$17_1=HEAPF32[$2_1+4>>2];$17_1=$253(Math_fround(Math_fround(Math_fround($43_1+Math_fround($17_1*$17_1))*$10_1)+Math_fround(1)));global$0=$2_1+16|0;$2_1=$29($25_1,$1_1);HEAPF32[$2_1>>2]=$17_1+HEAPF32[$2_1>>2];$13_1=$13_1+1|0;continue}}}}else{HEAP32[$29($25_1,$13_1)>>2]=0;HEAP32[$29($25_1,$13_1)+4>>2]=$13_1;$13_1=$13_1+1|0;continue}}$3($0($0($2($0($0($0(71248,25310),24914),9192),121),10056),27226));fimport$0();abort()}$3($0($0($2($0($0($0(71248,25109),24914),9192),120),10056),25211));fimport$0();abort()}$3($0($0($2($0($0($0(71248,24761),24914),9192),119),10056),25008));fimport$0();abort()}global$0=$32_1+16|0;if($15_1){$0_1=global$0-112|0;global$0=$0_1;$1_1=0;label$51:{if(!$718($0_1+32|0,$16_1,Math_fround(9999999747378752e-21))){break label$51}HEAP32[$0_1+24>>2]=0;HEAP32[$0_1+28>>2]=0;HEAP32[$0_1+20>>2]=0;$10_1=Math_fround($5_1|0);HEAPF32[$0_1+16>>2]=$10_1;$17_1=Math_fround($6_1|0);HEAPF32[$0_1+12>>2]=$17_1;HEAPF32[$0_1+8>>2]=$10_1;HEAPF32[$0_1+4>>2]=$17_1;HEAP32[$0_1>>2]=0;$2_1=$0_1+104|0;$1_1=$0_1+32|0;$192($2_1,$1_1,$0_1+24|0);$4_1=$0_1+96|0;$192($4_1,$1_1,$0_1+16|0);$3_1=$0_1+88|0;$192($3_1,$1_1,$0_1+8|0);$13_1=$0_1+80|0;$192($13_1,$1_1,$0_1);$1_1=global$0-48|0;global$0=$1_1;$15_1=$1_1+40|0;$313($15_1,$4_1,$2_1);$16_1=$1_1+32|0;$313($16_1,$3_1,$2_1);$30_1=$1_1+24|0;$313($30_1,$13_1,$2_1);$2_1=$1_1+16|0;$313($2_1,$4_1,$3_1);$4_1=$1_1+8|0;$313($4_1,$13_1,$3_1);$10_1=$376($15_1,$16_1);$17_1=$376($16_1,$30_1);$33_1=$376($15_1,$30_1);$34_1=$376($2_1,$4_1);$10_1=$379($379($379($10_1,$17_1),$33_1),$34_1);global$0=$1_1+48|0;$1_1=0;if($10_1Math_fround(0)?1:-1)+($10_1>Math_fround(0)?1:-1)|0)+($126($3_1,$4_1,$1_1)>Math_fround(0)?1:-1)|0)+($126($4_1,$1_1,$2_1)>Math_fround(0)?1:-1)|0;$1_1=$2_1>>31;$1_1=(($1_1^$2_1)-$1_1|0)==4}$23_1=$1_1;global$0=$0_1+112|0}$170($38_1);$170($37_1);global$0=$22_1- -64|0}else{$10_1=HEAPF32[$59($1_1,HEAP32[$29($3_1,$23_1)>>2])>>2];HEAPF32[$29($38_1,$23_1)>>2]=$10_1;$10_1=HEAPF32[$59($1_1,HEAP32[$29($3_1,$23_1)>>2])+4>>2];HEAPF32[$29($38_1,$23_1)+4>>2]=$10_1;$10_1=HEAPF32[$59($2_1,HEAP32[$29($3_1,$23_1)+4>>2])>>2];HEAPF32[$29($37_1,$23_1)>>2]=$10_1;$10_1=HEAPF32[$59($2_1,HEAP32[$29($3_1,$23_1)+4>>2])+4>>2];HEAPF32[$29($37_1,$23_1)+4>>2]=$10_1;$23_1=$23_1+1|0;continue}break}return $23_1}function $7($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;if(!HEAP32[17330]){$587()}label$2:{if(HEAPU8[69788]&2){if($70(69792)){break label$2}}label$4:{label$5:{if($0_1>>>0<=244){$1_1=HEAP32[17336];$7_1=$0_1>>>0<11?16:$0_1+11&-8;$3_1=$7_1>>>3|0;$2_1=$1_1>>>$3_1|0;if($2_1&3){$3_1=$3_1+(($2_1^-1)&1)|0;$0_1=$3_1<<3;$2_1=$0_1+69384|0;$8_1=HEAP32[$0_1+69392>>2];$0_1=HEAP32[$8_1+8>>2];label$8:{if(($2_1|0)==($0_1|0)){HEAP32[17336]=__wasm_rotl_i32($3_1)&$1_1;break label$8}HEAP32[$0_1+12>>2]=$2_1;HEAP32[$2_1+8>>2]=$0_1}$4_1=$8_1+8|0;$0_1=$3_1<<3;HEAP32[$8_1+4>>2]=$0_1|3;$0_1=$0_1+$8_1|0;HEAP32[$0_1+4>>2]=HEAP32[$0_1+4>>2]|1;break label$4}$5_1=HEAP32[17338];if($5_1>>>0>=$7_1>>>0){break label$5}if($2_1){$0_1=2<<$3_1;$0_1=(0-$0_1|$0_1)&$2_1<<$3_1;$2_1=(0-$0_1&$0_1)-1|0;$0_1=$2_1>>>12&16;$3_1=$0_1;$2_1=$2_1>>>$0_1|0;$0_1=$2_1>>>5&8;$3_1=$3_1|$0_1;$2_1=$2_1>>>$0_1|0;$0_1=$2_1>>>2&4;$3_1=$3_1|$0_1;$2_1=$2_1>>>$0_1|0;$0_1=$2_1>>>1&2;$3_1=$3_1|$0_1;$2_1=$2_1>>>$0_1|0;$0_1=$2_1>>>1&1;$4_1=($3_1|$0_1)+($2_1>>>$0_1|0)|0;$0_1=$4_1<<3;$2_1=$0_1+69384|0;$6_1=HEAP32[$0_1+69392>>2];$0_1=HEAP32[$6_1+8>>2];label$11:{if(($2_1|0)==($0_1|0)){$1_1=__wasm_rotl_i32($4_1)&$1_1;HEAP32[17336]=$1_1;break label$11}HEAP32[$0_1+12>>2]=$2_1;HEAP32[$2_1+8>>2]=$0_1}HEAP32[$6_1+4>>2]=$7_1|3;$3_1=$7_1+$6_1|0;$0_1=$4_1<<3;$8_1=$0_1-$7_1|0;HEAP32[$3_1+4>>2]=$8_1|1;HEAP32[$0_1+$6_1>>2]=$8_1;if($5_1){$2_1=($5_1&-8)+69384|0;$4_1=HEAP32[17341];$0_1=1<<($5_1>>>3);label$14:{if(!($0_1&$1_1)){HEAP32[17336]=$0_1|$1_1;$0_1=$2_1;break label$14}$0_1=HEAP32[$2_1+8>>2]}HEAP32[$2_1+8>>2]=$4_1;HEAP32[$0_1+12>>2]=$4_1;HEAP32[$4_1+12>>2]=$2_1;HEAP32[$4_1+8>>2]=$0_1}$4_1=$6_1+8|0;HEAP32[17341]=$3_1;HEAP32[17338]=$8_1;break label$4}if(!HEAP32[17337]){break label$5}$5_1=HEAP32[17337];$1_1=(0-$5_1&$5_1)-1|0;$0_1=$1_1>>>12&16;$2_1=$0_1;$1_1=$1_1>>>$0_1|0;$0_1=$1_1>>>5&8;$2_1=$2_1|$0_1;$1_1=$1_1>>>$0_1|0;$0_1=$1_1>>>2&4;$2_1=$2_1|$0_1;$1_1=$1_1>>>$0_1|0;$0_1=$1_1>>>1&2;$2_1=$2_1|$0_1;$1_1=$1_1>>>$0_1|0;$0_1=$1_1>>>1&1;$2_1=HEAP32[(($2_1|$0_1)+($1_1>>>$0_1|0)<<2)+69648>>2];$8_1=(HEAP32[$2_1+4>>2]&-8)-$7_1|0;$0_1=$2_1;while(1){label$18:{$1_1=HEAP32[$0_1+16>>2];if(!$1_1){$1_1=HEAP32[$0_1+20>>2];if(!$1_1){break label$18}}$0_1=(HEAP32[$1_1+4>>2]&-8)-$7_1|0;$3_1=$0_1>>>0<$8_1>>>0;$8_1=$3_1?$0_1:$8_1;$2_1=$3_1?$1_1:$2_1;$0_1=$1_1;continue}break}$4_1=0;label$16:{if(($7_1|0)<=0){break label$16}$6_1=HEAP32[$2_1+24>>2];$3_1=HEAP32[$2_1+12>>2];label$20:{if(($3_1|0)!=($2_1|0)){$0_1=HEAP32[$2_1+8>>2];HEAP32[$0_1+12>>2]=$3_1;HEAP32[$3_1+8>>2]=$0_1;break label$20}label$22:{$0_1=$2_1+20|0;$1_1=HEAP32[$0_1>>2];if(!$1_1){$1_1=HEAP32[$2_1+16>>2];if(!$1_1){break label$22}$0_1=$2_1+16|0}while(1){$4_1=$0_1;$3_1=$1_1;$0_1=$1_1+20|0;$1_1=HEAP32[$0_1>>2];if($1_1){continue}$0_1=$3_1+16|0;$1_1=HEAP32[$3_1+16>>2];if($1_1){continue}break}HEAP32[$4_1>>2]=0;break label$20}$3_1=0}label$25:{if(!$6_1){break label$25}$1_1=HEAP32[$2_1+28>>2];$0_1=($1_1<<2)+69648|0;label$26:{if(HEAP32[$0_1>>2]==($2_1|0)){HEAP32[$0_1>>2]=$3_1;if($3_1){break label$26}HEAP32[17337]=__wasm_rotl_i32($1_1)&$5_1;break label$25}HEAP32[$6_1+(HEAP32[$6_1+16>>2]==($2_1|0)?16:20)>>2]=$3_1;if(!$3_1){break label$25}}HEAP32[$3_1+24>>2]=$6_1;$0_1=HEAP32[$2_1+16>>2];if($0_1){HEAP32[$3_1+16>>2]=$0_1;HEAP32[$0_1+24>>2]=$3_1}$0_1=HEAP32[$2_1+20>>2];if(!$0_1){break label$25}HEAP32[$3_1+20>>2]=$0_1;HEAP32[$0_1+24>>2]=$3_1}label$29:{if($8_1>>>0<=15){$0_1=$7_1+$8_1|0;HEAP32[$2_1+4>>2]=$0_1|3;$0_1=$0_1+$2_1|0;HEAP32[$0_1+4>>2]=HEAP32[$0_1+4>>2]|1;break label$29}HEAP32[$2_1+4>>2]=$7_1|3;$4_1=$2_1+$7_1|0;HEAP32[$4_1+4>>2]=$8_1|1;HEAP32[$4_1+$8_1>>2]=$8_1;$0_1=HEAP32[17338];if($0_1){$1_1=($0_1&-8)+69384|0;$5_1=HEAP32[17341];$3_1=HEAP32[17336];$0_1=1<<($0_1>>>3);label$32:{if(!($3_1&$0_1)){HEAP32[17336]=$0_1|$3_1;$0_1=$1_1;break label$32}$0_1=HEAP32[$1_1+8>>2]}HEAP32[$1_1+8>>2]=$5_1;HEAP32[$0_1+12>>2]=$5_1;HEAP32[$5_1+12>>2]=$1_1;HEAP32[$5_1+8>>2]=$0_1}HEAP32[17341]=$4_1;HEAP32[17338]=$8_1}$4_1=$2_1+8|0}if($4_1){break label$4}break label$5}$7_1=-1;if($0_1>>>0>4294967231){break label$5}$0_1=$0_1+11|0;$7_1=$0_1&-8;$8_1=HEAP32[17337];if(!$8_1){break label$5}$4_1=0-$7_1|0;$6_1=0;label$37:{if($7_1>>>0<256){break label$37}$6_1=31;if($7_1>>>0>16777215){break label$37}$0_1=$0_1>>>8|0;$5_1=$0_1+1048320>>>16&8;$0_1=$0_1<<$5_1;$3_1=$0_1+520192>>>16&4;$0_1=$0_1<<$3_1;$1_1=$0_1+245760>>>16&2;$0_1=($0_1<<$1_1>>>15|0)-($1_1|($3_1|$5_1))|0;$6_1=($0_1<<1|$7_1>>>$0_1+21&1)+28|0}$3_1=HEAP32[($6_1<<2)+69648>>2];label$34:{label$35:{label$36:{if(!$3_1){$0_1=0;break label$36}$0_1=0;$1_1=$7_1<<(($6_1|0)==31?0:25-($6_1>>>1|0)|0);while(1){label$40:{$5_1=(HEAP32[$3_1+4>>2]&-8)-$7_1|0;if($5_1>>>0>=$4_1>>>0){break label$40}$2_1=$3_1;$4_1=$5_1;if($4_1){break label$40}$4_1=0;$0_1=$3_1;break label$35}$5_1=HEAP32[$3_1+20>>2];$3_1=HEAP32[(($1_1>>>29&4)+$3_1|0)+16>>2];$0_1=$5_1?($5_1|0)==($3_1|0)?$0_1:$5_1:$0_1;$1_1=$1_1<<1;if($3_1){continue}break}}if(!($0_1|$2_1)){$2_1=0;$0_1=2<<$6_1;$0_1=(0-$0_1|$0_1)&$8_1;if(!$0_1){break label$5}$1_1=($0_1&0-$0_1)-1|0;$0_1=$1_1>>>12&16;$3_1=$0_1;$1_1=$1_1>>>$0_1|0;$0_1=$1_1>>>5&8;$3_1=$3_1|$0_1;$1_1=$1_1>>>$0_1|0;$0_1=$1_1>>>2&4;$3_1=$3_1|$0_1;$1_1=$1_1>>>$0_1|0;$0_1=$1_1>>>1&2;$3_1=$3_1|$0_1;$1_1=$1_1>>>$0_1|0;$0_1=$1_1>>>1&1;$0_1=HEAP32[(($3_1|$0_1)+($1_1>>>$0_1|0)<<2)+69648>>2]}if(!$0_1){break label$34}}while(1){$1_1=(HEAP32[$0_1+4>>2]&-8)-$7_1|0;$3_1=$1_1>>>0<$4_1>>>0;$4_1=$3_1?$1_1:$4_1;$2_1=$3_1?$0_1:$2_1;$1_1=HEAP32[$0_1+16>>2];if($1_1){$0_1=$1_1}else{$0_1=HEAP32[$0_1+20>>2]}if($0_1){continue}break}}if(!$2_1|HEAP32[17338]-$7_1>>>0<=$4_1>>>0){break label$5}$6_1=HEAP32[$2_1+24>>2];$1_1=HEAP32[$2_1+12>>2];label$45:{if(($2_1|0)!=($1_1|0)){$0_1=HEAP32[$2_1+8>>2];HEAP32[$0_1+12>>2]=$1_1;HEAP32[$1_1+8>>2]=$0_1;break label$45}label$47:{$3_1=$2_1+20|0;$0_1=HEAP32[$3_1>>2];if(!$0_1){$0_1=HEAP32[$2_1+16>>2];if(!$0_1){break label$47}$3_1=$2_1+16|0}while(1){$5_1=$3_1;$1_1=$0_1;$3_1=$0_1+20|0;$0_1=HEAP32[$3_1>>2];if($0_1){continue}$3_1=$1_1+16|0;$0_1=HEAP32[$1_1+16>>2];if($0_1){continue}break}HEAP32[$5_1>>2]=0;break label$45}$1_1=0}label$50:{if(!$6_1){break label$50}$3_1=HEAP32[$2_1+28>>2];$0_1=($3_1<<2)+69648|0;label$51:{if(HEAP32[$0_1>>2]==($2_1|0)){HEAP32[$0_1>>2]=$1_1;if($1_1){break label$51}$8_1=__wasm_rotl_i32($3_1)&$8_1;HEAP32[17337]=$8_1;break label$50}HEAP32[$6_1+(HEAP32[$6_1+16>>2]==($2_1|0)?16:20)>>2]=$1_1;if(!$1_1){break label$50}}HEAP32[$1_1+24>>2]=$6_1;$0_1=HEAP32[$2_1+16>>2];if($0_1){HEAP32[$1_1+16>>2]=$0_1;HEAP32[$0_1+24>>2]=$1_1}$0_1=HEAP32[$2_1+20>>2];if(!$0_1){break label$50}HEAP32[$1_1+20>>2]=$0_1;HEAP32[$0_1+24>>2]=$1_1}label$54:{if($4_1>>>0<=15){$0_1=$4_1+$7_1|0;HEAP32[$2_1+4>>2]=$0_1|3;$0_1=$0_1+$2_1|0;HEAP32[$0_1+4>>2]=HEAP32[$0_1+4>>2]|1;break label$54}HEAP32[$2_1+4>>2]=$7_1|3;$6_1=$2_1+$7_1|0;HEAP32[$6_1+4>>2]=$4_1|1;HEAP32[$4_1+$6_1>>2]=$4_1;if($4_1>>>0<=255){$1_1=($4_1&-8)+69384|0;$3_1=HEAP32[17336];$0_1=1<<($4_1>>>3);label$57:{if(!($3_1&$0_1)){HEAP32[17336]=$0_1|$3_1;$0_1=$1_1;break label$57}$0_1=HEAP32[$1_1+8>>2]}HEAP32[$1_1+8>>2]=$6_1;HEAP32[$0_1+12>>2]=$6_1;HEAP32[$6_1+12>>2]=$1_1;HEAP32[$6_1+8>>2]=$0_1;break label$54}$0_1=31;if($4_1>>>0<=16777215){$0_1=$4_1>>>8|0;$5_1=$0_1+1048320>>>16&8;$0_1=$0_1<<$5_1;$3_1=$0_1+520192>>>16&4;$0_1=$0_1<<$3_1;$1_1=$0_1+245760>>>16&2;$0_1=($0_1<<$1_1>>>15|0)-($1_1|($3_1|$5_1))|0;$0_1=($0_1<<1|$4_1>>>$0_1+21&1)+28|0}HEAP32[$6_1+28>>2]=$0_1;HEAP32[$6_1+16>>2]=0;HEAP32[$6_1+20>>2]=0;$1_1=($0_1<<2)+69648|0;label$60:{$3_1=1<<$0_1;label$61:{if(!($3_1&$8_1)){HEAP32[17337]=$3_1|$8_1;HEAP32[$1_1>>2]=$6_1;break label$61}$0_1=$4_1<<(($0_1|0)==31?0:25-($0_1>>>1|0)|0);$7_1=HEAP32[$1_1>>2];while(1){$1_1=$7_1;if((HEAP32[$1_1+4>>2]&-8)==($4_1|0)){break label$60}$3_1=$0_1>>>29|0;$0_1=$0_1<<1;$3_1=($3_1&4)+$1_1|0;$7_1=HEAP32[$3_1+16>>2];if($7_1){continue}break}HEAP32[$3_1+16>>2]=$6_1}HEAP32[$6_1+24>>2]=$1_1;HEAP32[$6_1+12>>2]=$6_1;HEAP32[$6_1+8>>2]=$6_1;break label$54}$0_1=HEAP32[$1_1+8>>2];HEAP32[$0_1+12>>2]=$6_1;HEAP32[$1_1+8>>2]=$6_1;HEAP32[$6_1+24>>2]=0;HEAP32[$6_1+12>>2]=$1_1;HEAP32[$6_1+8>>2]=$0_1}$4_1=$2_1+8|0;break label$4}$2_1=HEAP32[17338];if($2_1>>>0>=$7_1>>>0){$3_1=HEAP32[17341];$1_1=$2_1-$7_1|0;label$65:{if($1_1>>>0>=16){HEAP32[17338]=$1_1;$0_1=$3_1+$7_1|0;HEAP32[17341]=$0_1;HEAP32[$0_1+4>>2]=$1_1|1;HEAP32[$2_1+$3_1>>2]=$1_1;HEAP32[$3_1+4>>2]=$7_1|3;break label$65}HEAP32[17341]=0;HEAP32[17338]=0;HEAP32[$3_1+4>>2]=$2_1|3;$0_1=$2_1+$3_1|0;HEAP32[$0_1+4>>2]=HEAP32[$0_1+4>>2]|1}$4_1=$3_1+8|0;break label$4}$0_1=HEAP32[17339];if($0_1>>>0>$7_1>>>0){$1_1=$0_1-$7_1|0;HEAP32[17339]=$1_1;$2_1=HEAP32[17342];$0_1=$2_1+$7_1|0;HEAP32[17342]=$0_1;HEAP32[$0_1+4>>2]=$1_1|1;HEAP32[$2_1+4>>2]=$7_1|3;$4_1=$2_1+8|0;break label$4}$4_1=0;if(!HEAP32[17330]){$587()}$0_1=HEAP32[17332];$6_1=$7_1+47|0;$3_1=$0_1+$6_1&0-$0_1;if($3_1>>>0<=$7_1>>>0){break label$4}$1_1=HEAP32[17446];if($1_1){$0_1=HEAP32[17444];$2_1=$0_1+$3_1|0;if($1_1>>>0<$2_1>>>0|$0_1>>>0>=$2_1>>>0){break label$4}}$2_1=0;$1_1=-1;if(!(HEAPU8[69788]&4)){$8_1=0;label$71:{label$72:{label$73:{label$74:{label$75:{$2_1=HEAP32[17342];if($2_1){$0_1=69816;while(1){$1_1=HEAP32[$0_1>>2];if($1_1>>>0<=$2_1>>>0&$2_1>>>0<$1_1+HEAP32[$0_1+4>>2]>>>0){break label$75}$0_1=HEAP32[$0_1+8>>2];if($0_1){continue}break}}$70(69840);$1_1=$213(0);if(($1_1|0)==-1){break label$72}$2_1=$3_1;$4_1=HEAP32[17331];$0_1=$4_1-1|0;if($0_1&$1_1){$2_1=($3_1-$1_1|0)+($0_1+$1_1&0-$4_1)|0}if($2_1>>>0<=$7_1>>>0|$2_1>>>0>2147483646){break label$72}$4_1=HEAP32[17446];if($4_1){$0_1=HEAP32[17444];$5_1=$0_1+$2_1|0;if($4_1>>>0<$5_1>>>0|$0_1>>>0>=$5_1>>>0){break label$72}}$0_1=$213($2_1);if(($1_1|0)!=($0_1|0)){break label$74}break label$71}$70(69840);$1_1=HEAP32[17332];$2_1=$1_1+($6_1-HEAP32[17339]|0)&0-$1_1;if($2_1>>>0>2147483646){break label$72}$1_1=$213($2_1);if(($1_1|0)==(HEAP32[$0_1>>2]+HEAP32[$0_1+4>>2]|0)){break label$73}$0_1=$1_1}if(!(($0_1|0)==-1|$7_1+48>>>0<=$2_1>>>0)){$1_1=HEAP32[17332];$1_1=$1_1+($6_1-$2_1|0)&0-$1_1;if($1_1>>>0>2147483646){$1_1=$0_1;break label$71}if(($213($1_1)|0)!=-1){$2_1=$1_1+$2_1|0;$1_1=$0_1;break label$71}$213(0-$2_1|0);break label$72}$1_1=$0_1;if(($0_1|0)!=-1){break label$71}break label$72}$8_1=$2_1;if(($1_1|0)!=-1){break label$71}}HEAP32[17447]=HEAP32[17447]|4;$1_1=-1;$2_1=$8_1}$77(69840)}label$84:{label$85:{if(!(($1_1|0)!=-1|$3_1>>>0>2147483646)){$70(69840);$1_1=$213($3_1);$0_1=$213(0);$77(69840);if(($1_1|0)==-1|($0_1|0)==-1|$0_1>>>0<=$1_1>>>0){break label$84}$2_1=$0_1-$1_1|0;if($2_1>>>0>$7_1+40>>>0){break label$85}break label$84}if(($1_1|0)==-1){break label$84}}$0_1=HEAP32[17444]+$2_1|0;HEAP32[17444]=$0_1;if($0_1>>>0>HEAPU32[17445]){HEAP32[17445]=$0_1}label$88:{label$89:{label$90:{$5_1=HEAP32[17342];if($5_1){$0_1=69816;while(1){$4_1=HEAP32[$0_1>>2];$3_1=HEAP32[$0_1+4>>2];if(($4_1+$3_1|0)==($1_1|0)){break label$90}$0_1=HEAP32[$0_1+8>>2];if($0_1){continue}break}break label$89}$0_1=HEAP32[17340];if(!($0_1>>>0<=$1_1>>>0?$0_1:0)){HEAP32[17340]=$1_1}$0_1=0;HEAP32[17455]=$2_1;HEAP32[17454]=$1_1;HEAP32[17344]=-1;HEAP32[17345]=HEAP32[17330];HEAP32[17457]=0;while(1){$4_1=$0_1<<3;$3_1=$4_1+69384|0;HEAP32[$4_1+69392>>2]=$3_1;HEAP32[$4_1+69396>>2]=$3_1;$0_1=$0_1+1|0;if(($0_1|0)!=32){continue}break}$3_1=$2_1-40|0;$0_1=$1_1+8&7?-8-$1_1&7:0;$2_1=$3_1-$0_1|0;HEAP32[17339]=$2_1;$0_1=$0_1+$1_1|0;HEAP32[17342]=$0_1;HEAP32[$0_1+4>>2]=$2_1|1;HEAP32[($1_1+$3_1|0)+4>>2]=40;HEAP32[17343]=HEAP32[17334];break label$88}if(HEAPU8[$0_1+12|0]&8|$4_1>>>0>$5_1>>>0|$1_1>>>0<=$5_1>>>0){break label$89}HEAP32[$0_1+4>>2]=$2_1+$3_1;$0_1=$5_1+8&7?-8-$5_1&7:0;$3_1=$0_1+$5_1|0;HEAP32[17342]=$3_1;$1_1=HEAP32[17339]+$2_1|0;$0_1=$1_1-$0_1|0;HEAP32[17339]=$0_1;HEAP32[$3_1+4>>2]=$0_1|1;HEAP32[($1_1+$5_1|0)+4>>2]=40;HEAP32[17343]=HEAP32[17334];break label$88}if(HEAPU32[17340]>$1_1>>>0){HEAP32[17340]=$1_1}$3_1=$1_1+$2_1|0;$0_1=69816;label$96:{label$97:{label$98:{label$99:{label$100:{label$101:{while(1){if(($3_1|0)!=HEAP32[$0_1>>2]){$0_1=HEAP32[$0_1+8>>2];if($0_1){continue}break label$101}break}if(!(HEAPU8[$0_1+12|0]&8)){break label$100}}$0_1=69816;while(1){$3_1=HEAP32[$0_1>>2];if($3_1>>>0<=$5_1>>>0){$8_1=$3_1+HEAP32[$0_1+4>>2]|0;if($8_1>>>0>$5_1>>>0){break label$99}}$0_1=HEAP32[$0_1+8>>2];continue}}HEAP32[$0_1>>2]=$1_1;HEAP32[$0_1+4>>2]=HEAP32[$0_1+4>>2]+$2_1;$6_1=($1_1+8&7?-8-$1_1&7:0)+$1_1|0;HEAP32[$6_1+4>>2]=$7_1|3;$2_1=$3_1+($3_1+8&7?-8-$3_1&7:0)|0;$9_1=$7_1+$6_1|0;$0_1=$2_1-$9_1|0;if(($2_1|0)==($5_1|0)){HEAP32[17342]=$9_1;$0_1=HEAP32[17339]+$0_1|0;HEAP32[17339]=$0_1;HEAP32[$9_1+4>>2]=$0_1|1;break label$97}if(HEAP32[17341]==($2_1|0)){HEAP32[17341]=$9_1;$0_1=HEAP32[17338]+$0_1|0;HEAP32[17338]=$0_1;HEAP32[$9_1+4>>2]=$0_1|1;HEAP32[$0_1+$9_1>>2]=$0_1;break label$97}$4_1=HEAP32[$2_1+4>>2];if(($4_1&3)==1){$5_1=$4_1&-8;label$109:{if($4_1>>>0<=255){$1_1=$4_1>>>3|0;$4_1=HEAP32[$2_1+8>>2];$3_1=HEAP32[$2_1+12>>2];if(($3_1|0)==($4_1|0)){HEAP32[17336]=HEAP32[17336]&__wasm_rotl_i32($1_1);break label$109}HEAP32[$4_1+12>>2]=$3_1;HEAP32[$3_1+8>>2]=$4_1;break label$109}$7_1=HEAP32[$2_1+24>>2];$1_1=HEAP32[$2_1+12>>2];label$112:{if(($2_1|0)!=($1_1|0)){$3_1=HEAP32[$2_1+8>>2];HEAP32[$3_1+12>>2]=$1_1;HEAP32[$1_1+8>>2]=$3_1;break label$112}label$114:{$4_1=$2_1+20|0;$3_1=HEAP32[$4_1>>2];if($3_1){break label$114}$4_1=$2_1+16|0;$3_1=HEAP32[$4_1>>2];if($3_1){break label$114}$1_1=0;break label$112}while(1){$8_1=$4_1;$1_1=$3_1;$4_1=$1_1+20|0;$3_1=HEAP32[$4_1>>2];if($3_1){continue}$4_1=$1_1+16|0;$3_1=HEAP32[$1_1+16>>2];if($3_1){continue}break}HEAP32[$8_1>>2]=0}if(!$7_1){break label$109}$4_1=HEAP32[$2_1+28>>2];$3_1=($4_1<<2)+69648|0;label$116:{if(HEAP32[$3_1>>2]==($2_1|0)){HEAP32[$3_1>>2]=$1_1;if($1_1){break label$116}HEAP32[17337]=HEAP32[17337]&__wasm_rotl_i32($4_1);break label$109}HEAP32[$7_1+(HEAP32[$7_1+16>>2]==($2_1|0)?16:20)>>2]=$1_1;if(!$1_1){break label$109}}HEAP32[$1_1+24>>2]=$7_1;$3_1=HEAP32[$2_1+16>>2];if($3_1){HEAP32[$1_1+16>>2]=$3_1;HEAP32[$3_1+24>>2]=$1_1}$3_1=HEAP32[$2_1+20>>2];if(!$3_1){break label$109}HEAP32[$1_1+20>>2]=$3_1;HEAP32[$3_1+24>>2]=$1_1}$2_1=$2_1+$5_1|0;$4_1=HEAP32[$2_1+4>>2];$0_1=$0_1+$5_1|0}HEAP32[$2_1+4>>2]=$4_1&-2;HEAP32[$9_1+4>>2]=$0_1|1;HEAP32[$0_1+$9_1>>2]=$0_1;if($0_1>>>0<=255){$1_1=($0_1&-8)+69384|0;$2_1=HEAP32[17336];$0_1=1<<($0_1>>>3);label$120:{if(!($2_1&$0_1)){HEAP32[17336]=$0_1|$2_1;$0_1=$1_1;break label$120}$0_1=HEAP32[$1_1+8>>2]}HEAP32[$1_1+8>>2]=$9_1;HEAP32[$0_1+12>>2]=$9_1;HEAP32[$9_1+12>>2]=$1_1;HEAP32[$9_1+8>>2]=$0_1;break label$97}$4_1=31;if($0_1>>>0<=16777215){$1_1=$0_1>>>8|0;$4_1=$1_1+1048320>>>16&8;$1_1=$1_1<<$4_1;$3_1=$1_1+520192>>>16&4;$1_1=$1_1<<$3_1;$2_1=$1_1+245760>>>16&2;$1_1=($1_1<<$2_1>>>15|0)-($2_1|($3_1|$4_1))|0;$4_1=($1_1<<1|$0_1>>>$1_1+21&1)+28|0}HEAP32[$9_1+28>>2]=$4_1;HEAP32[$9_1+16>>2]=0;HEAP32[$9_1+20>>2]=0;$3_1=($4_1<<2)+69648|0;$2_1=HEAP32[17337];$1_1=1<<$4_1;label$123:{if(!($2_1&$1_1)){HEAP32[17337]=$1_1|$2_1;HEAP32[$3_1>>2]=$9_1;HEAP32[$9_1+24>>2]=$3_1;break label$123}$4_1=$0_1<<(($4_1|0)==31?0:25-($4_1>>>1|0)|0);$1_1=HEAP32[$3_1>>2];while(1){$2_1=$1_1;if((HEAP32[$1_1+4>>2]&-8)==($0_1|0)){break label$98}$1_1=$4_1>>>29|0;$4_1=$4_1<<1;$3_1=$2_1+($1_1&4)|0;$1_1=HEAP32[$3_1+16>>2];if($1_1){continue}break}HEAP32[$3_1+16>>2]=$9_1;HEAP32[$9_1+24>>2]=$2_1}HEAP32[$9_1+12>>2]=$9_1;HEAP32[$9_1+8>>2]=$9_1;break label$97}$4_1=$2_1-40|0;$0_1=$1_1+8&7?-8-$1_1&7:0;$3_1=$4_1-$0_1|0;HEAP32[17339]=$3_1;$0_1=$0_1+$1_1|0;HEAP32[17342]=$0_1;HEAP32[$0_1+4>>2]=$3_1|1;HEAP32[($1_1+$4_1|0)+4>>2]=40;HEAP32[17343]=HEAP32[17334];$0_1=($8_1+($8_1-39&7?39-$8_1&7:0)|0)-47|0;$3_1=$0_1>>>0<$5_1+16>>>0?$5_1:$0_1;HEAP32[$3_1+4>>2]=27;$0_1=HEAP32[17457];HEAP32[$3_1+16>>2]=HEAP32[17456];HEAP32[$3_1+20>>2]=$0_1;$0_1=HEAP32[17455];HEAP32[$3_1+8>>2]=HEAP32[17454];HEAP32[$3_1+12>>2]=$0_1;HEAP32[17456]=$3_1+8;HEAP32[17455]=$2_1;HEAP32[17454]=$1_1;HEAP32[17457]=0;$0_1=$3_1+24|0;while(1){HEAP32[$0_1+4>>2]=7;$1_1=$0_1+8|0;$0_1=$0_1+4|0;if($1_1>>>0<$8_1>>>0){continue}break}if(($3_1|0)==($5_1|0)){break label$88}HEAP32[$3_1+4>>2]=HEAP32[$3_1+4>>2]&-2;$4_1=$3_1-$5_1|0;HEAP32[$5_1+4>>2]=$4_1|1;HEAP32[$3_1>>2]=$4_1;if($4_1>>>0<=255){$1_1=($4_1&-8)+69384|0;$2_1=HEAP32[17336];$0_1=1<<($4_1>>>3);label$128:{if(!($2_1&$0_1)){HEAP32[17336]=$0_1|$2_1;$0_1=$1_1;break label$128}$0_1=HEAP32[$1_1+8>>2]}HEAP32[$1_1+8>>2]=$5_1;HEAP32[$0_1+12>>2]=$5_1;HEAP32[$5_1+12>>2]=$1_1;HEAP32[$5_1+8>>2]=$0_1;break label$88}$0_1=31;if($4_1>>>0<=16777215){$0_1=$4_1>>>8|0;$3_1=$0_1+1048320>>>16&8;$0_1=$0_1<<$3_1;$2_1=$0_1+520192>>>16&4;$0_1=$0_1<<$2_1;$1_1=$0_1+245760>>>16&2;$0_1=($0_1<<$1_1>>>15|0)-($1_1|($2_1|$3_1))|0;$0_1=($0_1<<1|$4_1>>>$0_1+21&1)+28|0}HEAP32[$5_1+28>>2]=$0_1;HEAP32[$5_1+16>>2]=0;HEAP32[$5_1+20>>2]=0;$1_1=($0_1<<2)+69648|0;$3_1=HEAP32[17337];$2_1=1<<$0_1;label$131:{if(!($3_1&$2_1)){HEAP32[17337]=$2_1|$3_1;HEAP32[$1_1>>2]=$5_1;break label$131}$0_1=$4_1<<(($0_1|0)==31?0:25-($0_1>>>1|0)|0);$2_1=HEAP32[$1_1>>2];while(1){$1_1=$2_1;if(($4_1|0)==(HEAP32[$1_1+4>>2]&-8)){break label$96}$2_1=$0_1>>>29|0;$0_1=$0_1<<1;$3_1=($2_1&4)+$1_1|0;$2_1=HEAP32[$3_1+16>>2];if($2_1){continue}break}HEAP32[$3_1+16>>2]=$5_1}HEAP32[$5_1+24>>2]=$1_1;HEAP32[$5_1+12>>2]=$5_1;HEAP32[$5_1+8>>2]=$5_1;break label$88}$0_1=HEAP32[$2_1+8>>2];HEAP32[$0_1+12>>2]=$9_1;HEAP32[$2_1+8>>2]=$9_1;HEAP32[$9_1+24>>2]=0;HEAP32[$9_1+12>>2]=$2_1;HEAP32[$9_1+8>>2]=$0_1}$4_1=$6_1+8|0;break label$4}$0_1=HEAP32[$1_1+8>>2];HEAP32[$0_1+12>>2]=$5_1;HEAP32[$1_1+8>>2]=$5_1;HEAP32[$5_1+24>>2]=0;HEAP32[$5_1+12>>2]=$1_1;HEAP32[$5_1+8>>2]=$0_1}$0_1=HEAP32[17339];if($0_1>>>0<=$7_1>>>0){break label$84}$1_1=$0_1-$7_1|0;HEAP32[17339]=$1_1;$2_1=HEAP32[17342];$0_1=$2_1+$7_1|0;HEAP32[17342]=$0_1;HEAP32[$0_1+4>>2]=$1_1|1;HEAP32[$2_1+4>>2]=$7_1|3;$4_1=$2_1+8|0;break label$4}HEAP32[$22()>>2]=48;$4_1=0}if(!(HEAPU8[69788]&2)){break label$2}$77(69792)}return $4_1|0}function $1193($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=Math_fround(0),$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=Math_fround(0),$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=Math_fround(0),$26_1=Math_fround(0),$27_1=0,$28_1=Math_fround(0),$29_1=Math_fround(0),$30_1=Math_fround(0),$31_1=0,$32_1=0,$33_1=0;$6_1=global$0-304|0;global$0=$6_1;HEAP32[$6_1+300>>2]=$0_1;HEAP32[$6_1+240>>2]=$26(67484,$6_1+300|0);HEAP32[$6_1+192>>2]=$23();label$1:{if($31($6_1+240|0,$6_1+192|0)){$0_1=HEAP32[15939];break label$1}$13_1=$32($6_1+300|0);if(HEAP32[$13_1+248>>2]<=($1_1|0)){$0_1=HEAP32[15940];break label$1}$0_1=HEAP32[$13_1+240>>2];label$4:{label$5:{if($0_1){label$7:{label$8:{switch(HEAP32[$13_1+244>>2]+2|0){case 0:$2_1=HEAP32[$13_1+204>>2];label$10:{if(!($2_1?$0_1:0)){$5(0,3,36865,0);break label$10}$3_1=HEAP32[$0_1+136>>2];if(!$3_1){$5(0,3,37284,0);break label$10}wasm2js_memory_copy(HEAP32[$3_1+4>>2],$2_1,HEAP32[$3_1+8>>2]);$671($0_1)}HEAP32[$13_1+244>>2]=-1;$0_1=HEAP32[$13_1+240>>2];break;case 1:break label$8;default:break label$7}}$12_1=$6_1+192|0;$8_1=$6_1+296|0;label$13:{if($8_1?!$0_1|!$12_1:1){$5(0,3,37481,0);$2_1=-1;break label$13}$2_1=$0_1+16|0;$70($2_1);$3_1=HEAP32[$0_1+8>>2];$77($2_1);$2_1=0;if(!$3_1){break label$13}$670($0_1);$2_1=-1;$10_1=HEAP32[$0_1+136>>2];if(!(!$10_1|!HEAP32[$10_1+64>>2])){$2_1=0;while(1){$0_1=0;if(($2_1|0)!=3){while(1){if(($0_1|0)!=4){$3_1=$0_1<<2;$7_1=$2_1<<4;HEAPF32[$3_1+($7_1+$12_1|0)>>2]=HEAPF32[($3_1+($7_1+$10_1|0)|0)+12>>2];$0_1=$0_1+1|0;continue}break}$2_1=$2_1+1|0;continue}break}HEAP32[$8_1>>2]=HEAP32[$10_1+60>>2];$2_1=1}}if(($2_1|0)==1){HEAP32[$6_1+176>>2]=1;$5(0,1,38061,$6_1+176|0);$0_1=HEAP32[$6_1+296>>2];if(!(($0_1|0)<0|($0_1|0)>=HEAP32[$13_1+248>>2])){HEAP32[$6_1+144>>2]=$0_1;$5(0,1,37679,$6_1+144|0);$2_1=HEAP32[$6_1+296>>2];HEAP32[$13_1+244>>2]=$2_1;$8_1=$6_1+192|0;$0_1=0;$12_1=HEAP32[(($2_1<<2)+$13_1|0)+272>>2];if($12_1){HEAP32[$12_1+152>>2]=1;while(1){$2_1=0;if(($0_1|0)!=3){while(1){if(($2_1|0)!=4){$3_1=$2_1<<2;$7_1=$0_1<<4;HEAPF32[($3_1+($7_1+$12_1|0)|0)+8>>2]=HEAPF32[$3_1+($7_1+$8_1|0)>>2];$2_1=$2_1+1|0;continue}break}$0_1=$0_1+1|0;continue}break}HEAP32[$12_1+168>>2]=-1}break label$7}HEAP32[$6_1+160>>2]=$0_1;$5(0,3,37698,$6_1+160|0);HEAP32[$13_1+244>>2]=-2;break label$7}if(($2_1|0)>=0){break label$7}$5(0,1,37550,0);HEAP32[$13_1+244>>2]=-2}$0_1=HEAP32[$13_1+244>>2];if(($0_1|0)<0|HEAP32[$13_1+248>>2]<=($0_1|0)){break label$4}$22_1=global$0-48|0;global$0=$22_1;$2_1=-1;$19_1=$6_1+292|0;$5_1=HEAP32[$13_1+236>>2];$9_1=HEAP32[(($0_1<<2)+$13_1|0)+272>>2];$33_1=HEAP32[$13_1+196>>2];$15_1=$6_1+192|0;label$27:{if(!$19_1|(!$5_1|!$9_1|(!$33_1|!$15_1))){break label$27}if(HEAP32[$9_1+152>>2]<=0){$2_1=-2;break label$27}$2_1=0;HEAP32[$19_1>>2]=0;$3_1=$9_1+104|0;$0_1=$9_1+56|0;$27_1=$9_1+8|0;while(1){if(HEAP32[$9_1+4>>2]>($2_1|0)){$8_1=Math_imul($2_1,112);$7_1=$5_1+Math_imul($2_1,48)|0;$492($27_1,($8_1+HEAP32[$9_1>>2]|0)+12|0,$7_1+48|0);label$31:{if(HEAP32[$9_1+152>>2]<2){break label$31}$492($0_1,($8_1+HEAP32[$9_1>>2]|0)+12|0,$7_1+528|0);if(HEAP32[$9_1+152>>2]<3){break label$31}$492($3_1,($8_1+HEAP32[$9_1>>2]|0)+12|0,$7_1+1008|0)}$2_1=$2_1+1|0;continue}break}label$32:{if(HEAP32[$5_1>>2]==1){$12_1=$5_1+48|0;$23_1=$5_1+2672|0;$24_1=$5_1+7496|0;$2_1=global$0-80|0;global$0=$2_1;$20_1=HEAP32[$5_1+12>>2];$28_1=Math_fround(HEAP32[$20_1+4>>2]);$29_1=Math_fround(HEAP32[$20_1>>2]);label$34:{label$35:while(1){label$36:{$0_1=0;if(HEAP32[$9_1+4>>2]<=($18_1|0)){break label$36}while(1){$7_1=0;if(($0_1|0)==3){$21_1=Math_imul($18_1,112);$16_1=HEAP32[($21_1+HEAP32[$9_1>>2]|0)+4>>2];$0_1=0;while(1){if(HEAP32[$16_1+4>>2]>($0_1|0)){$7_1=0;while(1){$10_1=Math_imul($0_1,20);$3_1=$10_1+HEAP32[$16_1>>2]|0;if(HEAP32[$3_1+4>>2]>($7_1|0)){$8_1=Math_imul($7_1,20);$3_1=$8_1+HEAP32[$3_1>>2]|0;label$43:{if(($606($20_1,$2_1+32|0,HEAPF32[$3_1+8>>2],HEAPF32[$3_1+12>>2],$2_1+28|0,$2_1+24|0)|0)<0){break label$43}$4_1=HEAPF32[$2_1+28>>2];if($4_1=$29_1){break label$43}$4_1=HEAPF32[$2_1+24>>2];if($4_1=$28_1){break label$43}$3_1=$8_1+HEAP32[$10_1+HEAP32[HEAP32[($21_1+HEAP32[$9_1>>2]|0)+4>>2]>>2]>>2]|0;$25_1=HEAPF32[$3_1+8>>2];$17_1=HEAPF32[$3_1+12>>2];$4_1=Math_fround(HEAPF32[$2_1+76>>2]+Math_fround(Math_fround(HEAPF32[$2_1+64>>2]*$25_1)+Math_fround($17_1*HEAPF32[$2_1+68>>2])));$26_1=$4_1;$30_1=Math_fround(HEAPF32[$2_1+44>>2]+Math_fround(Math_fround(HEAPF32[$2_1+32>>2]*$25_1)+Math_fround(HEAPF32[$2_1+36>>2]*$17_1)));$17_1=Math_fround(HEAPF32[$2_1+60>>2]+Math_fround(Math_fround(HEAPF32[$2_1+48>>2]*$25_1)+Math_fround($17_1*HEAPF32[$2_1+52>>2])));$4_1=Math_fround(Math_sqrt(Math_fround(Math_fround($4_1*$4_1)+Math_fround(Math_fround($30_1*$30_1)+Math_fround($17_1*$17_1)))));if(Math_fround(Math_fround(Math_fround($26_1/$4_1)*HEAPF32[$2_1+72>>2])+Math_fround(Math_fround(Math_fround($30_1/$4_1)*HEAPF32[$2_1+40>>2])+Math_fround(HEAPF32[$2_1+56>>2]*Math_fround($17_1/$4_1))))>Math_fround(-.10000000149011612)){break label$43}HEAPF32[$2_1+16>>2]=$25_1;HEAPF32[$2_1+20>>2]=HEAPF32[$3_1+12>>2];$653($20_1,$2_1+32|0,$2_1+16|0,$2_1+8|0);$17_1=HEAPF32[$2_1+12>>2];$3_1=$10_1+HEAP32[HEAP32[($21_1+HEAP32[$9_1>>2]|0)+4>>2]>>2]|0;$4_1=HEAPF32[$3_1+12>>2];if(!(!($17_1<=$4_1)|!($17_1>=HEAPF32[$3_1+16>>2]))){if(($14_1|0)==200){$5(0,3,1556,0);$0_1=$23_1+4812|0;break label$34}$3_1=$23_1+Math_imul($14_1,24)|0;HEAP32[$3_1+8>>2]=$7_1;HEAP32[$3_1+4>>2]=$0_1;HEAP32[$3_1>>2]=$18_1;HEAPF32[$3_1+16>>2]=HEAPF32[$2_1+28>>2];$4_1=HEAPF32[$2_1+24>>2];HEAP32[$3_1+12>>2]=0;HEAPF32[$3_1+20>>2]=$4_1;$14_1=$14_1+1|0;break label$43}if(!($17_1<=Math_fround($4_1+$4_1))|!($17_1>=Math_fround(HEAPF32[$3_1+16>>2]*Math_fround(.5)))){break label$43}if(($11_1|0)==200){HEAP32[$24_1+4812>>2]=-1;$11_1=200;break label$43}$3_1=$24_1+Math_imul($11_1,24)|0;HEAP32[$3_1+8>>2]=$7_1;HEAP32[$3_1+4>>2]=$0_1;HEAP32[$3_1>>2]=$18_1;HEAPF32[$3_1+16>>2]=HEAPF32[$2_1+28>>2];$4_1=HEAPF32[$2_1+24>>2];HEAP32[$3_1+12>>2]=0;HEAPF32[$3_1+20>>2]=$4_1;$11_1=$11_1+1|0}$7_1=$7_1+1|0;$16_1=HEAP32[($21_1+HEAP32[$9_1>>2]|0)+4>>2];continue}break}$0_1=$0_1+1|0;continue}break}$18_1=$18_1+1|0;continue label$35}else{while(1){if(($7_1|0)!=4){$3_1=$7_1<<2;$8_1=$0_1<<4;HEAPF32[$3_1+($8_1+($2_1+32|0)|0)>>2]=HEAPF32[$3_1+($8_1+($12_1+Math_imul($18_1,48)|0)|0)>>2];$7_1=$7_1+1|0;continue}break}$0_1=$0_1+1|0;continue}}}break}HEAP32[($23_1+Math_imul($14_1,24)|0)+12>>2]=-1;$0_1=($24_1+Math_imul($11_1,24)|0)+12|0}HEAP32[$0_1>>2]=-1;break label$32}$12_1=$5_1+48|0;$20_1=$5_1+2672|0;$21_1=$5_1+7496|0;$2_1=global$0-80|0;global$0=$2_1;$28_1=Math_fround(HEAP32[$5_1+8>>2]);$29_1=Math_fround(HEAP32[$5_1+4>>2]);label$50:{label$51:while(1){label$52:{$7_1=0;if(HEAP32[$9_1+4>>2]<=($18_1|0)){break label$52}while(1){$0_1=0;if(($7_1|0)==3){$10_1=Math_imul($18_1,112);$7_1=HEAP32[($10_1+HEAP32[$9_1>>2]|0)+4>>2];$14_1=0;while(1){if(HEAP32[$7_1+4>>2]>($14_1|0)){$0_1=0;while(1){$8_1=Math_imul($14_1,20);$3_1=$8_1+HEAP32[$7_1>>2]|0;if(HEAP32[$3_1+4>>2]>($0_1|0)){$7_1=Math_imul($0_1,20);$3_1=$7_1+HEAP32[$3_1>>2]|0;label$59:{if(($606(0,$2_1+32|0,HEAPF32[$3_1+8>>2],HEAPF32[$3_1+12>>2],$2_1+28|0,$2_1+24|0)|0)<0){break label$59}$4_1=HEAPF32[$2_1+28>>2];if($4_1=$29_1){break label$59}$4_1=HEAPF32[$2_1+24>>2];if($4_1=$28_1){break label$59}$3_1=$7_1+HEAP32[$8_1+HEAP32[HEAP32[($10_1+HEAP32[$9_1>>2]|0)+4>>2]>>2]>>2]|0;HEAPF32[$2_1+16>>2]=HEAPF32[$3_1+8>>2];HEAPF32[$2_1+20>>2]=HEAPF32[$3_1+12>>2];$653(0,$2_1+32|0,$2_1+16|0,$2_1+8|0);$17_1=HEAPF32[$2_1+12>>2];$3_1=$8_1+HEAP32[HEAP32[($10_1+HEAP32[$9_1>>2]|0)+4>>2]>>2]|0;$4_1=HEAPF32[$3_1+12>>2];if(!(!($17_1<=$4_1)|!($17_1>=HEAPF32[$3_1+16>>2]))){if(($16_1|0)==200){$5(0,3,1556,0);$0_1=$20_1+4812|0;break label$50}$3_1=$20_1+Math_imul($16_1,24)|0;HEAP32[$3_1+8>>2]=$0_1;HEAP32[$3_1+4>>2]=$14_1;HEAP32[$3_1>>2]=$18_1;HEAPF32[$3_1+16>>2]=HEAPF32[$2_1+28>>2];$4_1=HEAPF32[$2_1+24>>2];HEAP32[$3_1+12>>2]=0;HEAPF32[$3_1+20>>2]=$4_1;$16_1=$16_1+1|0;break label$59}if(!($17_1<=Math_fround($4_1+$4_1))|!($17_1>=Math_fround(HEAPF32[$3_1+16>>2]*Math_fround(.5)))){break label$59}if(($11_1|0)==200){HEAP32[$21_1+4812>>2]=-1;$11_1=200;break label$59}$3_1=$21_1+Math_imul($11_1,24)|0;HEAP32[$3_1+8>>2]=$0_1;HEAP32[$3_1+4>>2]=$14_1;HEAP32[$3_1>>2]=$18_1;HEAPF32[$3_1+16>>2]=HEAPF32[$2_1+28>>2];$4_1=HEAPF32[$2_1+24>>2];HEAP32[$3_1+12>>2]=0;HEAPF32[$3_1+20>>2]=$4_1;$11_1=$11_1+1|0}$0_1=$0_1+1|0;$7_1=HEAP32[($10_1+HEAP32[$9_1>>2]|0)+4>>2];continue}break}$14_1=$14_1+1|0;continue}break}$18_1=$18_1+1|0;continue label$51}else{while(1){if(($0_1|0)!=4){$3_1=$0_1<<2;$8_1=$7_1<<4;HEAPF32[$3_1+($8_1+($2_1+32|0)|0)>>2]=HEAPF32[$3_1+($8_1+($12_1+Math_imul($18_1,48)|0)|0)>>2];$0_1=$0_1+1|0;continue}break}$7_1=$7_1+1|0;continue}}}break}HEAP32[($20_1+Math_imul($16_1,24)|0)+12>>2]=-1;$0_1=($21_1+Math_imul($11_1,24)|0)+12|0}HEAP32[$0_1>>2]=-1}global$0=$2_1+80|0;$23_1=$5_1+1488|0;$24_1=$9_1+156|0;$3_1=$5_1+7496|0;$21_1=$5_1+2672|0;$7_1=$21_1;$0_1=0;label$66:while(1){label$67:{$2_1=$0_1;$11_1=0;if(HEAP32[$5_1+36>>2]<=($31_1|0)){break label$67}while(1){label$69:{label$70:{if(HEAP32[$5_1+36>>2]==($31_1|0)|HEAP32[$5_1+13280>>2]<=($11_1|0)){break label$70}$14_1=$643($7_1,$24_1,$2_1,$23_1,HEAP32[$5_1+4>>2],HEAP32[$5_1+8>>2]);if(($14_1|0)>=0){break label$69}if(($7_1|0)!=($21_1|0)){break label$70}$7_1=$3_1;$14_1=$643($3_1,$24_1,$2_1,$23_1,HEAP32[$5_1+4>>2],HEAP32[$5_1+8>>2]);if(($14_1|0)>=0){break label$69}}$2_1=0;if(!$11_1){break label$67}while(1){if(($2_1|0)==($11_1|0)){continue label$66}$10_1=$2_1<<2;$670(HEAP32[($10_1+$5_1|0)+13700>>2]);$16_1=$5_1+Math_imul($2_1,52)|0;if(!(HEAP32[$16_1+13332>>2]|!(HEAPF32[$16_1+13308>>2]>HEAPF32[$5_1+40>>2]))){$20_1=$5_1+($0_1<<3)|0;$18_1=$20_1+1876|0;label$73:{if(HEAP32[$5_1>>2]==1){$8_1=HEAP32[$5_1+12>>2];$768($8_1+104|0,+HEAPF32[$16_1+13312>>2],+HEAPF32[$16_1+13316>>2],$22_1+8|0,$22_1,HEAP32[$8_1+176>>2]);HEAPF32[($5_1+($0_1<<3)|0)+1872>>2]=HEAPF64[$22_1+8>>3];$26_1=Math_fround(HEAPF64[$22_1>>3]);break label$73}HEAPF32[($5_1+($0_1<<3)|0)+1872>>2]=HEAPF32[$16_1+13312>>2];$26_1=HEAPF32[$16_1+13316>>2]}HEAPF32[$18_1>>2]=$26_1;$8_1=$5_1+Math_imul($0_1,12)|0;HEAPF32[$8_1+2192>>2]=HEAPF32[$16_1+13320>>2];HEAPF32[$8_1+2196>>2]=HEAPF32[$16_1+13324>>2];HEAPF32[$8_1+2200>>2]=HEAPF32[$16_1+13328>>2];$8_1=HEAP32[$10_1+($22_1+16|0)>>2];HEAPF32[$20_1+1488>>2]=HEAPF32[$8_1+16>>2];HEAPF32[$20_1+1492>>2]=HEAPF32[$8_1+20>>2];$12_1=$5_1+Math_imul($0_1,24)|0;HEAP32[$12_1+12320>>2]=HEAP32[$8_1>>2];HEAP32[$12_1+12324>>2]=HEAP32[$8_1+4>>2];$8_1=HEAP32[$8_1+8>>2];HEAP32[$12_1+12332>>2]=0;HEAP32[$12_1+12328>>2]=$8_1;$0_1=$0_1+1|0}$2_1=$2_1+1|0;continue}}$12_1=$11_1<<2;$10_1=Math_imul($14_1,24)+$7_1|0;HEAP32[$12_1+($22_1+16|0)>>2]=$10_1;$8_1=$5_1+($2_1<<3)|0;HEAPF32[$8_1+1488>>2]=HEAPF32[$10_1+16>>2];HEAPF32[$8_1+1492>>2]=HEAPF32[$10_1+20>>2];$8_1=$5_1+Math_imul($11_1,52)|0;HEAP32[$8_1+13296>>2]=$33_1;HEAP32[$8_1+13292>>2]=$10_1;HEAP32[$8_1+13288>>2]=$9_1;HEAP32[$8_1+13284>>2]=$5_1;$671(HEAP32[($5_1+$12_1|0)+13700>>2]);$2_1=$2_1+1|0;$2_1=($2_1|0)==5?$0_1:$2_1;$11_1=$11_1+1|0;$31_1=$31_1+1|0;continue}}break}$2_1=0;$8_1=($0_1|0)>0?$0_1:0;while(1){if(($2_1|0)!=($8_1|0)){$3_1=Math_imul($2_1,24);$10_1=$3_1+$9_1|0;$12_1=$3_1+$5_1|0;$7_1=$12_1+12336|0;$3_1=HEAP32[$7_1+4>>2];HEAP32[$10_1+172>>2]=HEAP32[$7_1>>2];HEAP32[$10_1+176>>2]=$3_1;$7_1=$12_1+12328|0;$3_1=HEAP32[$7_1+4>>2];HEAP32[$10_1+164>>2]=HEAP32[$7_1>>2];HEAP32[$10_1+168>>2]=$3_1;$7_1=$12_1+12320|0;$3_1=HEAP32[$7_1+4>>2];HEAP32[$10_1+156>>2]=HEAP32[$7_1>>2];HEAP32[$10_1+160>>2]=$3_1;$2_1=$2_1+1|0;continue}break}HEAP32[($9_1+Math_imul($0_1,24)|0)+168>>2]=-1;label$77:{label$78:{if(HEAP32[$5_1>>2]==1){$2_1=-3;if(($0_1|0)<3){break label$77}$3_1=$5_1+1872|0;$2_1=$5_1+2192|0;$4_1=$300(HEAP32[$5_1+16>>2],$27_1,$3_1,$2_1,$0_1,$15_1,0);HEAPF32[$19_1>>2]=$4_1;if(!($4_1>HEAPF32[$5_1+44>>2])){break label$78}$133(HEAP32[$5_1+16>>2],.800000011920929);$4_1=$300(HEAP32[$5_1+16>>2],$15_1,$3_1,$2_1,$0_1,$15_1,1);HEAPF32[$19_1>>2]=$4_1;if(!($4_1>HEAPF32[$5_1+44>>2])){break label$78}$133(HEAP32[$5_1+16>>2],.6000000238418579);$4_1=$300(HEAP32[$5_1+16>>2],$15_1,$3_1,$2_1,$0_1,$15_1,1);HEAPF32[$19_1>>2]=$4_1;if(!($4_1>HEAPF32[$5_1+44>>2])){break label$78}$133(HEAP32[$5_1+16>>2],.4000000059604645);$4_1=$300(HEAP32[$5_1+16>>2],$15_1,$3_1,$2_1,$0_1,$15_1,1);HEAPF32[$19_1>>2]=$4_1;if(!($4_1>HEAPF32[$5_1+44>>2])){break label$78}$133(HEAP32[$5_1+16>>2],0);$4_1=$300(HEAP32[$5_1+16>>2],$15_1,$3_1,$2_1,$0_1,$15_1,1);HEAPF32[$19_1>>2]=$4_1;$2_1=-4;if(!($4_1>HEAPF32[$5_1+44>>2])){break label$78}break label$77}$2_1=-3;if(($0_1|0)<3){break label$77}$3_1=$5_1+1872|0;$2_1=$5_1+2192|0;$4_1=$299($27_1,$3_1,$2_1,$0_1,$15_1,0,Math_fround(1));HEAPF32[$19_1>>2]=$4_1;if(!($4_1>HEAPF32[$5_1+44>>2])){break label$78}$4_1=$299($15_1,$3_1,$2_1,$0_1,$15_1,1,Math_fround(.800000011920929));HEAPF32[$19_1>>2]=$4_1;if(!($4_1>HEAPF32[$5_1+44>>2])){break label$78}$4_1=$299($15_1,$3_1,$2_1,$0_1,$15_1,1,Math_fround(.6000000238418579));HEAPF32[$19_1>>2]=$4_1;if(!($4_1>HEAPF32[$5_1+44>>2])){break label$78}$4_1=$299($15_1,$3_1,$2_1,$0_1,$15_1,1,Math_fround(.4000000059604645));HEAPF32[$19_1>>2]=$4_1;if(!($4_1>HEAPF32[$5_1+44>>2])){break label$78}$4_1=$299($15_1,$3_1,$2_1,$0_1,$15_1,1,Math_fround(0));HEAPF32[$19_1>>2]=$4_1;$2_1=-4;if($4_1>HEAPF32[$5_1+44>>2]){break label$77}}HEAP32[$9_1+152>>2]=HEAP32[$9_1+152>>2]+1;$11_1=0;$14_1=0;while(1){$0_1=0;if(($14_1|0)==3){while(1){$0_1=0;if(($11_1|0)==3){while(1){$2_1=0;if(($0_1|0)==3){break label$27}while(1){if(($2_1|0)!=4){$3_1=$2_1<<2;$7_1=$0_1<<4;HEAPF32[($3_1+($7_1+$9_1|0)|0)+8>>2]=HEAPF32[$3_1+($7_1+$15_1|0)>>2];$2_1=$2_1+1|0;continue}break}$0_1=$0_1+1|0;continue}}else{while(1){if(($0_1|0)!=4){$2_1=($9_1+($11_1<<4)|0)+($0_1<<2)|0;HEAPF32[$2_1+56>>2]=HEAPF32[$2_1+8>>2];$0_1=$0_1+1|0;continue}break}$11_1=$11_1+1|0;continue}}}else{while(1){if(($0_1|0)!=4){$2_1=($9_1+($14_1<<4)|0)+($0_1<<2)|0;HEAPF32[$2_1+104>>2]=HEAPF32[$2_1+56>>2];$0_1=$0_1+1|0;continue}break}$14_1=$14_1+1|0;continue}}}HEAP32[$9_1+152>>2]=0}global$0=$22_1+48|0;if(($2_1|0)<0){$5(0,1,36803,0);break label$5}$0_1=HEAP32[$13_1+248>>2];HEAP32[$6_1+128>>2]=HEAP32[$13_1+244>>2];HEAP32[$6_1+132>>2]=$0_1-1;$5(0,1,37960,$6_1+128|0);$0_1=HEAP32[$13_1+244>>2];break label$4}$5(0,3,36625,0)}$0_1=-2;HEAP32[$13_1+244>>2]=-2}label$94:{if(!(($0_1|0)<0|HEAP32[$13_1+248>>2]<=($0_1|0))){while(1){$0_1=0;if(($32_1|0)!=3){while(1){if(($0_1|0)!=4){$2_1=$0_1<<2;$3_1=$32_1<<4;HEAPF32[$2_1+($3_1+($6_1+240|0)|0)>>2]=HEAPF32[$2_1+($3_1+($6_1+192|0)|0)>>2];$0_1=$0_1+1|0;continue}break}$32_1=$32_1+1|0;continue}break}HEAPF64[$6_1+16>>3]=HEAPF32[$6_1+240>>2];HEAPF64[$6_1+24>>3]=HEAPF32[$6_1+244>>2];HEAPF64[$6_1+32>>3]=HEAPF32[$6_1+248>>2];HEAPF64[$6_1+40>>3]=HEAPF32[$6_1+252>>2];HEAPF64[$6_1+48>>3]=HEAPF32[$6_1+256>>2];HEAPF64[$6_1+80>>3]=HEAPF32[$6_1+272>>2];HEAPF64[$6_1+56>>3]=HEAPF32[$6_1+260>>2];HEAPF64[$6_1- -64>>3]=HEAPF32[$6_1+264>>2];HEAPF64[$6_1+72>>3]=HEAPF32[$6_1+268>>2];HEAPF64[$6_1+88>>3]=HEAPF32[$6_1+276>>2];HEAPF64[$6_1+96>>3]=HEAPF32[$6_1+280>>2];HEAPF64[$6_1+104>>3]=HEAPF32[$6_1+284>>2];HEAP32[$6_1>>2]=$1_1;HEAPF64[$6_1+8>>3]=HEAPF32[$6_1+292>>2];fimport$8(64232,38085,$6_1|0)|0;break label$94}HEAP32[$6_1+112>>2]=$1_1;fimport$8(64929,38100,$6_1+112|0)|0}$0_1=0}global$0=$6_1+304|0;return $0_1|0}function $590($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0;$4_1=global$0-144|0;global$0=$4_1;wasm2js_memory_fill($4_1,0,144);HEAP32[$4_1+76>>2]=-1;HEAP32[$4_1+44>>2]=$0_1;HEAP32[$4_1+32>>2]=243;HEAP32[$4_1+84>>2]=$0_1;$3_1=$1_1;$19_1=$2_1;$0_1=0;$8_1=global$0-304|0;global$0=$8_1;if(HEAP32[$4_1+76>>2]>=0){$23_1=$125($4_1)}label$2:{label$3:{label$4:{label$5:{if(HEAP32[$4_1+4>>2]){break label$5}$367($4_1);if(HEAP32[$4_1+4>>2]){break label$5}break label$4}$1_1=HEAPU8[$3_1|0];if(!$1_1){break label$2}label$6:{label$7:{label$8:{label$9:{while(1){label$11:{label$12:{if($177($1_1&255)){while(1){$1_1=$3_1;$3_1=$3_1+1|0;if($177(HEAPU8[$1_1+1|0])){continue}break}$155($4_1,0,0);while(1){$2_1=HEAP32[$4_1+4>>2];label$16:{if(($2_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$16}$2_1=$33($4_1)}if($177($2_1)){continue}break}$3_1=HEAP32[$4_1+4>>2];$2_1=HEAP32[$4_1+116>>2];if(($2_1|0)>0|($2_1|0)>=0){$3_1=$3_1-1|0;HEAP32[$4_1+4>>2]=$3_1}$2_1=$3_1-HEAP32[$4_1+44>>2]|0;$3_1=$2_1>>31;$7_1=$2_1;$6_1=$13_1+HEAP32[$4_1+124>>2]|0;$2_1=$12_1+HEAP32[$4_1+120>>2]|0;$6_1=$2_1>>>0<$12_1>>>0?$6_1+1|0:$6_1;$5_1=$2_1;$2_1=$7_1+$2_1|0;$6_1=$3_1+$6_1|0;$12_1=$2_1;$13_1=$2_1>>>0<$5_1>>>0?$6_1+1|0:$6_1;break label$12}label$19:{label$20:{label$21:{if(HEAPU8[$3_1|0]==37){$1_1=HEAPU8[$3_1+1|0];if(($1_1|0)==42){break label$21}if(($1_1|0)!=37){break label$20}}$155($4_1,0,0);label$23:{if(HEAPU8[$3_1|0]==37){while(1){$1_1=HEAP32[$4_1+4>>2];label$26:{if(($1_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$1_1+1;$1_1=HEAPU8[$1_1|0];break label$26}$1_1=$33($4_1)}if($177($1_1)){continue}break}$3_1=$3_1+1|0;break label$23}$1_1=HEAP32[$4_1+4>>2];if(($1_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$1_1+1;$1_1=HEAPU8[$1_1|0];break label$23}$1_1=$33($4_1)}if(HEAPU8[$3_1|0]!=($1_1|0)){$2_1=HEAP32[$4_1+116>>2];if(($2_1|0)>0|($2_1|0)>=0){HEAP32[$4_1+4>>2]=HEAP32[$4_1+4>>2]-1}if(($1_1|0)>=0){break label$2}$7_1=0;if($20_1){break label$2}break label$4}$1_1=HEAP32[$4_1+4>>2]-HEAP32[$4_1+44>>2]|0;$5_1=$1_1>>31;$7_1=$1_1;$2_1=$13_1+HEAP32[$4_1+124>>2]|0;$1_1=$12_1+HEAP32[$4_1+120>>2]|0;$2_1=$1_1>>>0<$12_1>>>0?$2_1+1|0:$2_1;$6_1=$1_1;$1_1=$7_1+$1_1|0;$7_1=$2_1+$5_1|0;$12_1=$1_1;$13_1=$1_1>>>0<$6_1>>>0?$7_1+1|0:$7_1;$1_1=$3_1;break label$12}$10_1=0;$1_1=$3_1+2|0;break label$19}if(!(!$132($1_1)|HEAPU8[$3_1+2|0]!=36)){$1_1=HEAPU8[$3_1+1|0]-48|0;$2_1=global$0-16|0;HEAP32[$2_1+12>>2]=$19_1;$1_1=($1_1>>>0>1?($1_1<<2)-4|0:0)+$19_1|0;HEAP32[$2_1+8>>2]=$1_1+4;$10_1=HEAP32[$1_1>>2];$1_1=$3_1+3|0;break label$19}$10_1=HEAP32[$19_1>>2];$19_1=$19_1+4|0;$1_1=$3_1+1|0}$18_1=0;$3_1=0;if($132(HEAPU8[$1_1|0])){while(1){$3_1=(HEAPU8[$1_1|0]+Math_imul($3_1,10)|0)-48|0;$2_1=HEAPU8[$1_1+1|0];$1_1=$1_1+1|0;if($132($2_1)){continue}break}}$14_1=HEAPU8[$1_1|0];if(($14_1|0)==109){$15_1=0;$18_1=($10_1|0)!=0;$14_1=HEAPU8[$1_1+1|0];$0_1=0;$1_1=$1_1+1|0}$2_1=$1_1;$1_1=$2_1+1|0;$5_1=3;$7_1=$18_1;label$36:{label$37:{switch($14_1-65|0){case 39:$5_1=$2_1+2|0;$2_1=HEAPU8[$2_1+1|0]==104;$1_1=$2_1?$5_1:$1_1;$5_1=$2_1?-2:-1;break label$36;case 43:$5_1=$2_1+2|0;$2_1=HEAPU8[$2_1+1|0]==108;$1_1=$2_1?$5_1:$1_1;$5_1=$2_1?3:1;break label$36;case 51:case 57:$5_1=1;break label$36;case 11:$5_1=2;break label$36;case 41:break label$36;case 0:case 2:case 4:case 5:case 6:case 18:case 23:case 26:case 32:case 34:case 35:case 36:case 37:case 38:case 40:case 45:case 46:case 47:case 50:case 52:case 55:break label$37;default:break label$6}}$5_1=0;$1_1=$2_1}$7_1=$5_1;$2_1=HEAPU8[$1_1|0];$5_1=($2_1&47)==3;$21_1=$5_1?1:$7_1;$16_1=$5_1?$2_1|32:$2_1;label$42:{if(($16_1|0)==91){break label$42}label$43:{if(($16_1|0)!=110){if(($16_1|0)!=99){break label$43}$3_1=($3_1|0)>1?$3_1:1;break label$42}$591($10_1,$21_1,$12_1,$13_1);break label$12}$155($4_1,0,0);while(1){$2_1=HEAP32[$4_1+4>>2];label$46:{if(($2_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$46}$2_1=$33($4_1)}if($177($2_1)){continue}break}$2_1=HEAP32[$4_1+4>>2];$5_1=HEAP32[$4_1+116>>2];if(($5_1|0)>0|($5_1|0)>=0){$2_1=$2_1-1|0;HEAP32[$4_1+4>>2]=$2_1}$2_1=$2_1-HEAP32[$4_1+44>>2]|0;$5_1=$2_1>>31;$9_1=$2_1;$6_1=$13_1+HEAP32[$4_1+124>>2]|0;$2_1=$12_1+HEAP32[$4_1+120>>2]|0;$6_1=$2_1>>>0<$12_1>>>0?$6_1+1|0:$6_1;$7_1=$2_1;$2_1=$9_1+$2_1|0;$13_1=$5_1+$6_1|0;$13_1=$2_1>>>0<$7_1>>>0?$13_1+1|0:$13_1;$12_1=$2_1}$9_1=$3_1;$11_1=$3_1>>31;$155($4_1,$3_1,$11_1);$2_1=HEAP32[$4_1+4>>2];label$49:{if(($2_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$2_1+1;break label$49}if(($33($4_1)|0)<0){break label$7}}$2_1=HEAP32[$4_1+116>>2];if(($2_1|0)>0|($2_1|0)>=0){HEAP32[$4_1+4>>2]=HEAP32[$4_1+4>>2]-1}$2_1=16;label$52:{label$53:{label$54:{label$55:{label$56:{switch($16_1-88|0){default:$2_1=$16_1-65|0;if($2_1>>>0>6|!(1<<$2_1&113)){break label$52}case 9:case 13:case 14:case 15:$593($8_1+8|0,$4_1,$21_1,0);$2_1=HEAP32[$4_1+4>>2]-HEAP32[$4_1+44>>2]|0;if(HEAP32[$4_1+120>>2]!=(0-$2_1|0)|HEAP32[$4_1+124>>2]!=(0-(($2_1>>31)+(($2_1|0)!=0)|0)|0)){break label$54}break label$8;case 3:case 11:case 27:if(($16_1|16)==115){$11($8_1+32|0,-1,257);HEAP8[$8_1+32|0]=0;if(($16_1|0)!=115){break label$53}HEAP8[$8_1+65|0]=0;HEAP8[$8_1+46|0]=0;HEAP16[$8_1+42>>1]=0;HEAP16[$8_1+44>>1]=0;break label$53}$5_1=HEAPU8[$1_1+1|0];$6_1=($5_1|0)==94;$11($8_1+32|0,$6_1,257);HEAP8[$8_1+32|0]=0;$2_1=$6_1?$1_1+2|0:$1_1+1|0;label$63:{label$64:{label$65:{$1_1=HEAPU8[($6_1?2:1)+$1_1|0];if(($1_1|0)!=45){if(($1_1|0)==93){break label$65}$5_1=($5_1|0)!=94;$1_1=$2_1;break label$63}$5_1=($5_1|0)!=94;HEAP8[$8_1+78|0]=$5_1;break label$64}$5_1=($5_1|0)!=94;HEAP8[$8_1+126|0]=$5_1}$1_1=$2_1+1|0}while(1){$2_1=HEAPU8[$1_1|0];label$68:{if(($2_1|0)!=45){if(!$2_1){break label$7}if(($2_1|0)==93){break label$53}break label$68}$2_1=45;$6_1=HEAPU8[$1_1+1|0];if(!$6_1|($6_1|0)==93){break label$68}$7_1=$1_1+1|0;$1_1=HEAPU8[$1_1-1|0];label$70:{if($6_1>>>0<=$1_1>>>0){$2_1=$6_1;break label$70}while(1){$1_1=$1_1+1|0;HEAP8[$1_1+($8_1+32|0)|0]=$5_1;$2_1=HEAPU8[$7_1|0];if($2_1>>>0>$1_1>>>0){continue}break}}$1_1=$7_1}HEAP8[($2_1+$8_1|0)+33|0]=$5_1;$1_1=$1_1+1|0;continue};case 23:$2_1=8;break label$55;case 12:case 29:$2_1=10;break label$55;case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break label$52;case 0:case 24:case 32:break label$55;case 17:break label$56}}$2_1=0}$9_1=0;$6_1=0;$5_1=0;$7_1=0;$14_1=0;$22_1=global$0-16|0;global$0=$22_1;label$73:{if(!(($2_1|0)!=1&$2_1>>>0<=36)){HEAP32[$22()>>2]=28;break label$73}while(1){$3_1=HEAP32[$4_1+4>>2];label$76:{if(($3_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$3_1+1;$3_1=HEAPU8[$3_1|0];break label$76}$3_1=$33($4_1)}if($177($3_1)){continue}break}label$78:{label$79:{switch($3_1-43|0){case 0:case 2:break label$79;default:break label$78}}$14_1=($3_1|0)==45?-1:0;$3_1=HEAP32[$4_1+4>>2];if(($3_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$3_1+1;$3_1=HEAPU8[$3_1|0];break label$78}$3_1=$33($4_1)}label$81:{label$82:{label$83:{label$84:{if(!(($2_1|0)!=0&($2_1|0)!=16|($3_1|0)!=48)){$3_1=HEAP32[$4_1+4>>2];label$86:{if(($3_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$3_1+1;$3_1=HEAPU8[$3_1|0];break label$86}$3_1=$33($4_1)}if(($3_1&-33)==88){$2_1=16;$3_1=HEAP32[$4_1+4>>2];label$89:{if(($3_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$3_1+1;$3_1=HEAPU8[$3_1|0];break label$89}$3_1=$33($4_1)}if(HEAPU8[$3_1+50305|0]<16){break label$83}$2_1=HEAP32[$4_1+116>>2];if(($2_1|0)>0|($2_1|0)>=0){HEAP32[$4_1+4>>2]=HEAP32[$4_1+4>>2]-1}$155($4_1,0,0);break label$73}if($2_1){break label$84}$2_1=8;break label$83}$2_1=$2_1?$2_1:10;if($2_1>>>0>HEAPU8[$3_1+50305|0]){break label$84}$2_1=HEAP32[$4_1+116>>2];if(($2_1|0)>0|($2_1|0)>=0){HEAP32[$4_1+4>>2]=HEAP32[$4_1+4>>2]-1}$155($4_1,0,0);HEAP32[$22()>>2]=28;break label$73}if(($2_1|0)!=10){break label$83}$5_1=$3_1-48|0;if($5_1>>>0<=9){$2_1=0;while(1){$2_1=Math_imul($2_1,10)+$5_1|0;$7_1=$2_1>>>0<429496729;$3_1=HEAP32[$4_1+4>>2];label$95:{if(($3_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$3_1+1;$3_1=HEAPU8[$3_1|0];break label$95}$3_1=$33($4_1)}$5_1=$3_1-48|0;if($7_1&$5_1>>>0<=9){continue}break}$9_1=$2_1}label$97:{if($5_1>>>0>9){break label$97}$11_1=__wasm_i64_mul($9_1,0,10,0);$7_1=i64toi32_i32$HIGH_BITS;$2_1=$5_1;while(1){$3_1=HEAP32[$4_1+4>>2];label$99:{if(($3_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$3_1+1;$3_1=HEAPU8[$3_1|0];break label$99}$3_1=$33($4_1)}$5_1=$3_1-48|0;$17_1=$5_1>>>0>9;$6_1=$7_1;$9_1=$2_1+$11_1|0;$6_1=$9_1>>>0<$2_1>>>0?$6_1+1|0:$6_1;if(($6_1|0)==429496729&$9_1>>>0>=2576980378|$6_1>>>0>429496729|$17_1){break label$97}$11_1=__wasm_i64_mul($9_1,$6_1,10,0);$7_1=i64toi32_i32$HIGH_BITS;$2_1=$5_1;if(($7_1|0)==-1&$11_1>>>0<=($2_1^-1)>>>0|($7_1|0)!=-1){continue}break}$2_1=10;break label$82}$2_1=10;if($5_1>>>0<=9){break label$82}break label$81}if($2_1-1&$2_1){$7_1=HEAPU8[$3_1+50305|0];if($7_1>>>0<$2_1>>>0){while(1){$5_1=Math_imul($2_1,$5_1)+$7_1|0;$9_1=$5_1>>>0<119304647;$3_1=HEAP32[$4_1+4>>2];label$104:{if(($3_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$3_1+1;$3_1=HEAPU8[$3_1|0];break label$104}$3_1=$33($4_1)}$7_1=HEAPU8[$3_1+50305|0];if($9_1&$7_1>>>0<$2_1>>>0){continue}break}$9_1=$5_1}if($2_1>>>0<=$7_1>>>0){break label$82}while(1){$11_1=__wasm_i64_mul($9_1,$6_1,$2_1,0);$5_1=i64toi32_i32$HIGH_BITS;$7_1=$7_1&255;if(($5_1|0)==-1&($7_1^-1)>>>0<$11_1>>>0){break label$82}$3_1=$7_1+$11_1|0;$6_1=$3_1>>>0<$7_1>>>0?$5_1+1|0:$5_1;$9_1=$3_1;$3_1=HEAP32[$4_1+4>>2];label$107:{if(($3_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$3_1+1;$3_1=HEAPU8[$3_1|0];break label$107}$3_1=$33($4_1)}$7_1=HEAPU8[$3_1+50305|0];if($2_1>>>0<=$7_1>>>0){break label$82}$84($22_1,$2_1,0,0,0,$9_1,$6_1,0,0);if(!(HEAP32[$22_1+8>>2]|HEAP32[$22_1+12>>2])){continue}break}break label$82}$11_1=HEAP8[(Math_imul($2_1,23)>>>5&7)+50561|0];$5_1=HEAPU8[$3_1+50305|0];if($5_1>>>0<$2_1>>>0){while(1){$7_1=$7_1<<$11_1|$5_1;$9_1=$7_1>>>0<134217728;$3_1=HEAP32[$4_1+4>>2];label$111:{if(($3_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$3_1+1;$3_1=HEAPU8[$3_1|0];break label$111}$3_1=$33($4_1)}$5_1=HEAPU8[$3_1+50305|0];if($9_1&$5_1>>>0<$2_1>>>0){continue}break}$9_1=$7_1}if($2_1>>>0<=$5_1>>>0){break label$82}$7_1=$11_1;$17_1=$7_1&31;if(($7_1&63)>>>0>=32){$7_1=0;$17_1=-1>>>$17_1|0}else{$7_1=-1>>>$17_1|0;$17_1=$7_1|(1<<$17_1)-1<<32-$17_1}if(!$7_1&$9_1>>>0>$17_1>>>0){break label$82}while(1){$24_1=$5_1&255;$5_1=$9_1;$3_1=$11_1&31;if(($11_1&63)>>>0>=32){$6_1=$5_1<<$3_1;$3_1=0}else{$6_1=(1<<$3_1)-1&$5_1>>>32-$3_1|$6_1<<$3_1;$3_1=$5_1<<$3_1}$9_1=$24_1|$3_1;$3_1=HEAP32[$4_1+4>>2];label$114:{if(($3_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$3_1+1;$3_1=HEAPU8[$3_1|0];break label$114}$3_1=$33($4_1)}$5_1=HEAPU8[$3_1+50305|0];if($2_1>>>0<=$5_1>>>0){break label$82}if(($6_1|0)==($7_1|0)&$9_1>>>0<=$17_1>>>0|$6_1>>>0<$7_1>>>0){continue}break}}if(HEAPU8[$3_1+50305|0]>=$2_1>>>0){break label$81}while(1){$3_1=HEAP32[$4_1+4>>2];label$117:{if(($3_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$3_1+1;$3_1=HEAPU8[$3_1|0];break label$117}$3_1=$33($4_1)}if(HEAPU8[$3_1+50305|0]<$2_1>>>0){continue}break}HEAP32[$22()>>2]=68;$14_1=0;$9_1=-1;$6_1=-1}$2_1=HEAP32[$4_1+116>>2];if(($2_1|0)>0|($2_1|0)>=0){HEAP32[$4_1+4>>2]=HEAP32[$4_1+4>>2]-1}if($14_1|1?0:($6_1&$9_1)==-1){HEAP32[$22()>>2]=68;$9_1=-2;$6_1=-1;break label$73}$2_1=$14_1;$3_1=$2_1^$9_1;$9_1=$3_1-$2_1|0;$5_1=$2_1>>31;$6_1=($5_1^$6_1)-(($2_1>>>0>$3_1>>>0)+$5_1|0)|0}global$0=$22_1+16|0;$2_1=HEAP32[$4_1+4>>2]-HEAP32[$4_1+44>>2]|0;if(HEAP32[$4_1+120>>2]==(0-$2_1|0)&HEAP32[$4_1+124>>2]==(0-(($2_1>>31)+(($2_1|0)!=0)|0)|0)){break label$8}if(!(!$10_1|($16_1|0)!=112)){HEAP32[$10_1>>2]=$9_1;break label$52}$591($10_1,$21_1,$9_1,$6_1);break label$52}if(!$10_1){break label$52}$2_1=HEAP32[$8_1+16>>2];$3_1=HEAP32[$8_1+20>>2];$5_1=HEAP32[$8_1+8>>2];$6_1=HEAP32[$8_1+12>>2];label$122:{switch($21_1|0){case 0:HEAPF32[$10_1>>2]=$579($5_1,$6_1,$2_1,$3_1);break label$52;case 1:HEAPF64[$10_1>>3]=$433($5_1,$6_1,$2_1,$3_1);break label$52;case 2:break label$122;default:break label$52}}HEAP32[$10_1>>2]=$5_1;HEAP32[$10_1+4>>2]=$6_1;HEAP32[$10_1+8>>2]=$2_1;HEAP32[$10_1+12>>2]=$3_1;break label$52}$14_1=($16_1|0)==99;$5_1=$14_1?$3_1+1|0:31;label$125:{if(($21_1|0)==1){$2_1=$10_1;if($18_1){$2_1=$7($5_1<<2);if(!$2_1){break label$9}}HEAP32[$8_1+296>>2]=0;HEAP32[$8_1+300>>2]=0;$3_1=0;while(1){$0_1=$2_1;label$129:{while(1){$2_1=HEAP32[$4_1+4>>2];label$131:{if(($2_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$131}$2_1=$33($4_1)}if(!HEAPU8[($2_1+$8_1|0)+33|0]){break label$129}HEAP8[$8_1+27|0]=$2_1;$2_1=$352($8_1+28|0,$8_1+27|0,1,$8_1+296|0);if(($2_1|0)==-2){continue}$15_1=0;if(($2_1|0)==-1){break label$7}if($0_1){HEAP32[($3_1<<2)+$0_1>>2]=HEAP32[$8_1+28>>2];$3_1=$3_1+1|0}if(!(($3_1|0)==($5_1|0)&$18_1)){continue}break}$7_1=1;$5_1=$5_1<<1|1;$2_1=$245($0_1,$5_1<<2);if($2_1){continue}break label$6}break}$15_1=0;$5_1=$0_1;if($8_1+296|0?HEAP32[$8_1+296>>2]:0){break label$7}break label$125}if($18_1){$3_1=0;$2_1=$7($5_1);if(!$2_1){break label$9}while(1){$0_1=$2_1;while(1){$2_1=HEAP32[$4_1+4>>2];label$139:{if(($2_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$139}$2_1=$33($4_1)}if(!HEAPU8[($2_1+$8_1|0)+33|0]){$5_1=0;$15_1=$0_1;break label$125}HEAP8[$0_1+$3_1|0]=$2_1;$3_1=$3_1+1|0;if(($5_1|0)!=($3_1|0)){continue}break}$7_1=1;$5_1=$5_1<<1|1;$2_1=$245($0_1,$5_1);if($2_1){continue}break}$15_1=$0_1;$0_1=0;break label$6}$3_1=0;if($10_1){while(1){$0_1=HEAP32[$4_1+4>>2];label$144:{if(($0_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$0_1+1;$0_1=HEAPU8[$0_1|0];break label$144}$0_1=$33($4_1)}if(HEAPU8[($0_1+$8_1|0)+33|0]){HEAP8[$3_1+$10_1|0]=$0_1;$3_1=$3_1+1|0;continue}else{$5_1=0;$0_1=$10_1;$15_1=$0_1;break label$125}}}while(1){$0_1=HEAP32[$4_1+4>>2];label$149:{if(($0_1|0)!=HEAP32[$4_1+104>>2]){HEAP32[$4_1+4>>2]=$0_1+1;$0_1=HEAPU8[$0_1|0];break label$149}$0_1=$33($4_1)}if(HEAPU8[($0_1+$8_1|0)+33|0]){continue}break}$0_1=0;$15_1=0;$5_1=0}$2_1=HEAP32[$4_1+4>>2];$6_1=HEAP32[$4_1+116>>2];if(($6_1|0)>0|($6_1|0)>=0){$2_1=$2_1-1|0;HEAP32[$4_1+4>>2]=$2_1}$6_1=$2_1-HEAP32[$4_1+44>>2]|0;$7_1=$6_1;$2_1=$6_1+HEAP32[$4_1+120>>2]|0;$6_1=HEAP32[$4_1+124>>2]+($6_1>>31)|0;$6_1=$2_1>>>0<$7_1>>>0?$6_1+1|0:$6_1;if(!($6_1|$2_1)|(($2_1|0)!=($9_1|0)|($6_1|0)!=($11_1|0))&($16_1|0)==99){break label$11}if($18_1){HEAP32[$10_1>>2]=$0_1}label$153:{if($14_1){break label$153}if($5_1){HEAP32[($3_1<<2)+$5_1>>2]=0}if(!$15_1){$15_1=0;break label$153}HEAP8[$3_1+$15_1|0]=0}$0_1=$5_1}$2_1=HEAP32[$4_1+4>>2]-HEAP32[$4_1+44>>2]|0;$5_1=$2_1>>31;$9_1=$2_1;$2_1=$13_1+HEAP32[$4_1+124>>2]|0;$3_1=$12_1+HEAP32[$4_1+120>>2]|0;$2_1=$3_1>>>0<$12_1>>>0?$2_1+1|0:$2_1;$7_1=$3_1;$3_1=$9_1+$3_1|0;$6_1=$2_1+$5_1|0;$12_1=$3_1;$13_1=$3_1>>>0<$7_1>>>0?$6_1+1|0:$6_1;$20_1=(($10_1|0)!=0)+$20_1|0}$3_1=$1_1+1|0;$1_1=HEAPU8[$1_1+1|0];if($1_1){continue}break label$2}break}$0_1=$5_1;break label$8}$7_1=1;$15_1=0;$0_1=0;break label$6}$7_1=$18_1;break label$3}$7_1=$18_1}if($20_1){break label$3}}$20_1=-1}if(!$7_1){break label$2}$1($15_1);$1($0_1)}if($23_1){$114($4_1)}global$0=$8_1+304|0;global$0=$4_1+144|0;return $20_1}function $1148($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0;$16_1=global$0-48|0;global$0=$16_1;$15_1=HEAP32[16972];HEAP32[16972]=$15_1+1;HEAP32[$16_1+44>>2]=$15_1;$15_1=$32($16_1+44|0);$3_1=HEAP32[$16_1+44>>2];HEAP32[$15_1+212>>2]=$1_1;HEAP32[$15_1+208>>2]=$0_1;HEAP32[$15_1>>2]=$3_1;$0_1=Math_imul($0_1,$1_1);$1_1=$0_1<<2;HEAP32[$15_1+200>>2]=$1_1;HEAP32[$15_1+196>>2]=$7($1_1);HEAP32[$15_1+204>>2]=$7($0_1);label$1:{$0_1=$7(32);if(!$0_1){break label$1}HEAP32[$0_1+28>>2]=16;HEAP32[$0_1+4>>2]=50;HEAP32[$0_1>>2]=0;$4_1=$7(200);HEAP32[$0_1+8>>2]=$4_1;if(!$4_1){break label$1}$6_1=$7(800);HEAP32[$0_1+12>>2]=$6_1;if(!$6_1){break label$1}$13_1=$7(800);HEAP32[$0_1+20>>2]=$13_1;if(!$13_1){break label$1}$1_1=$7(1600);HEAP32[$0_1+16>>2]=$1_1;if(!$1_1){break label$1}$1_1=$7(1600);HEAP32[$0_1+24>>2]=$1_1;if(!$1_1){break label$1}$1_1=0;while(1){if(($1_1|0)!=50){$3_1=0;$11_1=$1_1<<2;HEAP32[$11_1+$4_1>>2]=0;label$5:{while(1){if(($3_1|0)==4){break label$5}$17_1=$3_1+$11_1<<2;$12_1=$7(3072);HEAP32[$17_1+$6_1>>2]=$12_1;if(!$12_1){break label$1}$12_1=$13_1+$17_1|0;$17_1=$7(1024);HEAP32[$12_1>>2]=$17_1;$3_1=$3_1+1|0;if($17_1){continue}break}break label$1}$1_1=$1_1+1|0;continue}break}HEAP32[$15_1+220>>2]=$0_1;if(!$0_1){$5(0,3,37382,0)}$0_1=HEAP32[$16_1+44>>2];$17_1=0;$13_1=global$0-32|0;global$0=$13_1;HEAP32[$13_1+24>>2]=$2_1;HEAP32[$13_1+28>>2]=$0_1;HEAP32[$13_1+16>>2]=$26(67484,$13_1+28|0);HEAP32[$13_1+8>>2]=$23();label$9:{if($31($13_1+16|0,$13_1+8|0)){break label$9}$0_1=$32($13_1+28|0);HEAP32[$13_1+16>>2]=$26(67504,$13_1+24|0);HEAP32[$13_1+8>>2]=$23();if($31($13_1+16|0,$13_1+8|0)){break label$9}$4_1=$0_1+8|0;wasm2js_memory_copy($4_1,$690($13_1+24|0),184);$2_1=HEAP32[$0_1+8>>2];$1_1=HEAP32[$0_1+12>>2];if(!(($2_1|0)==HEAP32[$0_1+208>>2]&($1_1|0)==HEAP32[$0_1+212>>2])){HEAP32[$13_1+4>>2]=$1_1;HEAP32[$13_1>>2]=$2_1;$5(0,2,37987,$13_1);$1_1=HEAP32[$0_1+208>>2];$2_1=HEAP32[$4_1>>2];$6_1=HEAP32[$4_1+4>>2];$11_1=HEAP32[$0_1+212>>2];HEAP32[$4_1+4>>2]=$11_1;HEAP32[$4_1>>2]=$1_1;$3_1=$4_1+8|0;$5_1=+($11_1|0)/+($6_1|0);$7_1=+($1_1|0)/+($2_1|0);$1_1=0;while(1){if(($1_1|0)!=4){$2_1=$1_1<<3;HEAPF64[$2_1+$3_1>>3]=$7_1*HEAPF64[$2_1+$3_1>>3];$2_1=$2_1+$4_1|0;HEAPF64[$2_1+40>>3]=$5_1*HEAPF64[$2_1+40>>3];HEAPF64[$2_1+72>>3]=HEAPF64[$2_1+72>>3];$1_1=$1_1+1|0;continue}break}label$14:{label$15:{label$16:{label$17:{label$18:{label$19:{$1_1=HEAP32[$4_1+176>>2];switch($1_1-1|0){case 0:break label$16;case 1:break label$17;case 2:break label$18;case 3:break label$19;default:break label$14}}HEAPF64[$4_1+104>>3]=HEAPF64[$4_1+104>>3];HEAPF64[$4_1+112>>3]=HEAPF64[$4_1+112>>3];HEAPF64[$4_1+120>>3]=HEAPF64[$4_1+120>>3];HEAPF64[$4_1+128>>3]=HEAPF64[$4_1+128>>3];HEAPF64[$4_1+136>>3]=$7_1*HEAPF64[$4_1+136>>3];HEAPF64[$4_1+144>>3]=$5_1*HEAPF64[$4_1+144>>3];HEAPF64[$4_1+152>>3]=$7_1*HEAPF64[$4_1+152>>3];HEAPF64[$4_1+160>>3]=$5_1*HEAPF64[$4_1+160>>3];HEAPF64[$4_1+168>>3]=HEAPF64[$4_1+168>>3];break label$15}HEAPF64[$4_1+104>>3]=$7_1*HEAPF64[$4_1+104>>3];HEAPF64[$4_1+112>>3]=$5_1*HEAPF64[$4_1+112>>3];HEAPF64[$4_1+120>>3]=HEAPF64[$4_1+120>>3];HEAPF64[$4_1+128>>3]=HEAPF64[$4_1+128>>3];HEAPF64[$4_1+136>>3]=HEAPF64[$4_1+136>>3]/($7_1*$5_1);HEAPF64[$4_1+144>>3]=HEAPF64[$4_1+144>>3]/($5_1*($7_1*$7_1*$5_1));break label$15}HEAPF64[$4_1+104>>3]=$7_1*HEAPF64[$4_1+104>>3];HEAPF64[$4_1+112>>3]=$5_1*HEAPF64[$4_1+112>>3];HEAPF64[$4_1+120>>3]=HEAPF64[$4_1+120>>3];HEAPF64[$4_1+128>>3]=HEAPF64[$4_1+128>>3]/($7_1*$5_1);HEAPF64[$4_1+136>>3]=HEAPF64[$4_1+136>>3]/($5_1*($7_1*$7_1*$5_1));break label$15}HEAPF64[$4_1+104>>3]=$7_1*HEAPF64[$4_1+104>>3];HEAPF64[$4_1+112>>3]=$5_1*HEAPF64[$4_1+112>>3];HEAPF64[$4_1+120>>3]=HEAPF64[$4_1+120>>3];HEAPF64[$4_1+128>>3]=HEAPF64[$4_1+128>>3]/($7_1*$5_1)}HEAP32[$4_1+176>>2]=$1_1}}$692($0_1);$1_1=global$0-32|0;global$0=$1_1;label$20:{$3_1=$7(208);if($3_1){label$22:{wasm2js_memory_copy($3_1,$4_1,184);$6_1=HEAP32[$4_1>>2]+30|0;HEAP32[$3_1+192>>2]=$6_1;$2_1=HEAP32[$4_1+4>>2];HEAP32[$3_1+204>>2]=15;HEAP32[$3_1+200>>2]=15;$12_1=$2_1+30|0;HEAP32[$3_1+196>>2]=$12_1;$11_1=Math_imul($6_1,$12_1)<<3;$2_1=$7($11_1);HEAP32[$3_1+184>>2]=$2_1;if(!$2_1){break label$22}$11_1=$7($11_1);HEAP32[$3_1+188>>2]=$11_1;if(!$11_1){break label$22}$23_1=($12_1|0)>0?$12_1:0;$19_1=($6_1|0)>0?$6_1:0;$6_1=$4_1+104|0;$21_1=HEAP32[$4_1+176>>2];while(1){if(($17_1|0)!=($23_1|0)){$10_1=+Math_fround($17_1-15|0);$12_1=0;while(1){if(($12_1|0)!=($19_1|0)){$22_1=+Math_fround($12_1-15|0);$5_1=$22_1;label$27:{label$28:{label$29:{switch($21_1-1|0){case 3:$24_1=HEAPF64[$6_1+48>>3];$7_1=HEAPF64[$6_1+64>>3];$25_1=HEAPF64[$6_1+32>>3];$5_1=($5_1-$24_1)*$7_1/$25_1;$26_1=HEAPF64[$6_1+56>>3];$27_1=HEAPF64[$6_1+40>>3];$7_1=($10_1-$26_1)*$7_1/$27_1;$8_1=$5_1*$5_1+$7_1*$7_1;$9_1=HEAPF64[$6_1+8>>3]*$8_1*$8_1+(HEAPF64[$6_1>>3]*$8_1+1);$14_1=HEAPF64[$6_1+24>>3];$18_1=HEAPF64[$6_1+16>>3];HEAPF64[$1_1+8>>3]=($14_1*(($5_1+$5_1)*$5_1+$8_1)+($5_1*$9_1+$7_1*(($18_1+$18_1)*$5_1)))*$25_1+$24_1;$5_1=$26_1+$27_1*(($14_1+$14_1)*$5_1*$7_1+($7_1*$9_1+$18_1*(($7_1+$7_1)*$7_1+$8_1)));break label$28;case 2:$9_1=HEAPF64[$6_1+16>>3];$7_1=$9_1*($10_1-HEAPF64[$6_1+8>>3]);$8_1=HEAPF64[$6_1>>3];$5_1=($5_1-$8_1)*$9_1;if(!($5_1!=0|$7_1!=0)){HEAPF64[$1_1+8>>3]=$8_1;$5_1=HEAPF64[$6_1+8>>3];break label$28}$9_1=$5_1;$5_1=$5_1*$5_1+$7_1*$7_1;$5_1=$5_1*(HEAPF64[$6_1+40>>3]/1e8/-1e5)*$5_1+(HEAPF64[$6_1+32>>3]/-1e8*$5_1+1);HEAPF64[$1_1+8>>3]=$9_1*$5_1*HEAPF64[$6_1+24>>3]+$8_1;$5_1=$7_1*$5_1+HEAPF64[$6_1+8>>3];break label$28;case 1:$9_1=HEAPF64[$6_1+16>>3];$7_1=$9_1*($10_1-HEAPF64[$6_1+8>>3]);$8_1=HEAPF64[$6_1>>3];$5_1=($5_1-$8_1)*$9_1;if(!($5_1!=0|$7_1!=0)){HEAPF64[$1_1+8>>3]=$8_1;$5_1=HEAPF64[$6_1+8>>3];break label$28}$9_1=$5_1;$5_1=$5_1*$5_1+$7_1*$7_1;$5_1=$5_1*(HEAPF64[$6_1+32>>3]/1e8/-1e5)*$5_1+(HEAPF64[$6_1+24>>3]/-1e8*$5_1+1);HEAPF64[$1_1+8>>3]=$9_1*$5_1+$8_1;$5_1=$7_1*$5_1+HEAPF64[$6_1+8>>3];break label$28;case 0:break label$29;default:break label$27}}$9_1=HEAPF64[$6_1+16>>3];$7_1=$9_1*($10_1-HEAPF64[$6_1+8>>3]);$8_1=HEAPF64[$6_1>>3];$5_1=($5_1-$8_1)*$9_1;if(!($5_1!=0|$7_1!=0)){HEAPF64[$1_1+8>>3]=$8_1;$5_1=HEAPF64[$6_1+8>>3];break label$28}$9_1=$5_1;$5_1=HEAPF64[$6_1+24>>3]/-1e8*($5_1*$5_1+$7_1*$7_1)+1;HEAPF64[$1_1+8>>3]=$9_1*$5_1+$8_1;$5_1=$7_1*$5_1+HEAPF64[$6_1+8>>3]}HEAPF64[$1_1>>3]=$5_1}HEAPF32[$2_1>>2]=HEAPF64[$1_1+8>>3];HEAPF32[$2_1+4>>2]=HEAPF64[$1_1>>3];$768($6_1,$22_1,$10_1,$1_1+24|0,$1_1+16|0,$21_1);HEAPF32[$11_1>>2]=HEAPF64[$1_1+24>>3];HEAPF32[$11_1+4>>2]=HEAPF64[$1_1+16>>3];$12_1=$12_1+1|0;$11_1=$11_1+8|0;$2_1=$2_1+8|0;continue}break}$17_1=$17_1+1|0;continue}break}global$0=$1_1+32|0;$1_1=$3_1;break label$20}}break label$1}$2_1=$1_1;HEAP32[$0_1+192>>2]=$1_1;if(!$1_1){$5(0,3,37237,0);break label$9}label$37:{$1_1=$7(7062432);if($1_1){label$39:{HEAP32[$1_1+7062408>>2]=0;HEAP32[$1_1>>2]=0;HEAP32[$1_1+4>>2]=-1;HEAP32[$1_1+7062424>>2]=3;HEAP32[$1_1+7062416>>2]=0;HEAP32[$1_1+7062420>>2]=1071644672;HEAP32[$1_1+24>>2]=0;HEAP32[$1_1+28>>2]=2;HEAP32[$1_1+16>>2]=100;HEAP32[$1_1+20>>2]=0;HEAP32[$1_1+8>>2]=0;HEAP32[$1_1+12>>2]=1;HEAP32[$1_1+32>>2]=$2_1;HEAP32[$1_1+4834148>>2]=0;$3_1=HEAP32[$2_1>>2];HEAP32[$1_1+36>>2]=$3_1;$2_1=HEAP32[$2_1+4>>2];HEAP32[$1_1+4834152>>2]=0;HEAP32[$1_1+15408>>2]=0;HEAP32[$1_1+44>>2]=0;HEAP32[$1_1+40>>2]=$2_1;HEAP32[$1_1+4818296>>2]=0;$2_1=$7(Math_imul($2_1,$3_1)<<1);HEAP32[$1_1+4834144>>2]=$2_1;if(!$2_1){break label$39}HEAP32[$1_1+7062384>>2]=0;$787($1_1,0);HEAP32[$1_1+7062388>>2]=-1;$740($1_1,0);if($1_1){HEAP32[$1_1+7062396>>2]=0;HEAP32[$1_1+7062392>>2]=7}break label$37}}break label$1}HEAP32[$0_1+216>>2]=$1_1;if(!$1_1){$5(0,3,37419,0);break label$9}$3_1=global$0-16|0;global$0=$3_1;$2_1=HEAP32[$0_1+472>>2];label$42:{if(!$1_1|($2_1|0)==HEAP32[$1_1+4>>2]){break label$42}label$43:{label$44:{label$45:{label$46:{label$47:{if($2_1>>>0<=14){if(1<<$2_1&4063){break label$47}HEAP32[$1_1+4>>2]=$2_1;HEAP32[$1_1+8>>2]=$816($2_1);switch(HEAP32[$1_1+24>>2]){case 3:break label$45;case 0:break label$46;default:break label$42}}HEAP32[$3_1>>2]=$2_1;$5(0,3,8016,$3_1);break label$42}HEAP32[$1_1+4>>2]=$2_1;HEAP32[$1_1+8>>2]=$816($2_1);switch(HEAP32[$1_1+24>>2]-1|0){case 3:break label$43;case 0:break label$44;default:break label$42}}HEAP32[$1_1+24>>2]=1;break label$42}HEAP32[$1_1+24>>2]=4;break label$42}HEAP32[$1_1+24>>2]=4;break label$42}HEAP32[$1_1+24>>2]=3}global$0=$3_1+16|0;$2_1=$4_1+8|0;label$49:{$1_1=$7(4);if($1_1){$2_1=$455($2_1);HEAP32[$1_1>>2]=$2_1;if(!$2_1){$1($1_1);$1_1=0}break label$49}break label$1}HEAP32[$0_1+228>>2]=$1_1;if(!$1_1){$5(0,3,31750,0);break label$9}$2_1=HEAP32[$0_1+220>>2];$1_1=HEAP32[$0_1+216>>2];if(!(!$1_1|HEAP32[$1_1+7062384>>2])){HEAP32[$1_1+7062384>>2]=$2_1}$7_1=HEAPF64[$0_1+312>>3];$5_1=HEAPF64[$0_1+320>>3];$17_1=$0_1+344|0;$6_1=0;$2_1=0;$3_1=global$0-400|0;global$0=$3_1;$1_1=HEAP32[$0_1+192>>2];$21_1=HEAP32[$1_1+4>>2];$23_1=HEAP32[$1_1>>2];$4_1=$3_1+304|0;$11_1=global$0-96|0;global$0=$11_1;label$55:{$12_1=$1_1+8|0;if(!(HEAPF64[$12_1+88>>3]>=0)){while(1){$1_1=0;if(($6_1|0)==3){break label$55}while(1){if(($1_1|0)!=4){$20_1=$1_1<<3;$19_1=$6_1<<5;HEAPF64[$20_1+($19_1+$11_1|0)>>3]=-HEAPF64[$20_1+($12_1+$19_1|0)>>3];$1_1=$1_1+1|0;continue}break}$6_1=$6_1+1|0;continue}}while(1){$1_1=0;if(($6_1|0)==3){break label$55}while(1){if(($1_1|0)!=4){$20_1=$1_1<<3;$19_1=$6_1<<5;HEAPF64[$20_1+($19_1+$11_1|0)>>3]=HEAPF64[$20_1+($12_1+$19_1|0)>>3];$1_1=$1_1+1|0;continue}break}$6_1=$6_1+1|0;continue}}$6_1=0;while(1){$1_1=0;if(($6_1|0)==3){$10_1=HEAPF64[$11_1+64>>3];$8_1=HEAPF64[$11_1+72>>3];$9_1=HEAPF64[$11_1+80>>3];$14_1=$480($10_1,$8_1,$9_1);HEAPF64[$4_1+80>>3]=$14_1;$10_1=$10_1/$14_1;HEAPF64[$3_1+272>>3]=$10_1;$8_1=$8_1/HEAPF64[$4_1+80>>3];HEAPF64[$3_1+280>>3]=$8_1;$9_1=$9_1/HEAPF64[$4_1+80>>3];HEAPF64[$3_1+288>>3]=$9_1;HEAPF64[$3_1+296>>3]=HEAPF64[$11_1+88>>3]/HEAPF64[$4_1+80>>3];$22_1=$8_1;$18_1=$9_1;$8_1=HEAPF64[$11_1+32>>3];$9_1=HEAPF64[$11_1+40>>3];$14_1=HEAPF64[$11_1+48>>3];$10_1=$477($10_1,$22_1,$18_1,$8_1,$9_1,$14_1);HEAPF64[$4_1+48>>3]=$10_1;$8_1=$8_1-$10_1*HEAPF64[$3_1+272>>3];$9_1=$9_1-$10_1*HEAPF64[$3_1+280>>3];$10_1=$14_1-$10_1*HEAPF64[$3_1+288>>3];$14_1=$480($8_1,$9_1,$10_1);HEAPF64[$4_1+40>>3]=$14_1;HEAPF64[$3_1+240>>3]=$8_1/$14_1;HEAPF64[$3_1+248>>3]=$9_1/HEAPF64[$4_1+40>>3];HEAPF64[$3_1+256>>3]=$10_1/HEAPF64[$4_1+40>>3];$9_1=HEAPF64[$11_1>>3];$14_1=HEAPF64[$11_1+8>>3];$18_1=HEAPF64[$11_1+16>>3];$10_1=$477(HEAPF64[$3_1+272>>3],HEAPF64[$3_1+280>>3],HEAPF64[$3_1+288>>3],$9_1,$14_1,$18_1);HEAPF64[$4_1+16>>3]=$10_1;$8_1=$477(HEAPF64[$3_1+240>>3],HEAPF64[$3_1+248>>3],HEAPF64[$3_1+256>>3],$9_1,$14_1,$18_1);HEAPF64[$4_1+8>>3]=$8_1;$9_1=$9_1-$8_1*HEAPF64[$3_1+240>>3]-$10_1*HEAPF64[$3_1+272>>3];$14_1=$14_1-$8_1*HEAPF64[$3_1+248>>3]-$10_1*HEAPF64[$3_1+280>>3];$10_1=$18_1-$8_1*HEAPF64[$3_1+256>>3]-$10_1*HEAPF64[$3_1+288>>3];$8_1=$480($9_1,$14_1,$10_1);HEAPF64[$4_1>>3]=$8_1;HEAPF64[$3_1+208>>3]=$9_1/$8_1;HEAPF64[$3_1+216>>3]=$14_1/HEAPF64[$4_1>>3];HEAPF64[$3_1+224>>3]=$10_1/HEAPF64[$4_1>>3];$10_1=HEAPF64[$3_1+296>>3];$8_1=(HEAPF64[$11_1+56>>3]-HEAPF64[$4_1+48>>3]*$10_1)/HEAPF64[$4_1+40>>3];HEAPF64[$3_1+264>>3]=$8_1;HEAPF64[$3_1+232>>3]=(HEAPF64[$11_1+24>>3]-HEAPF64[$4_1+8>>3]*$8_1-$10_1*HEAPF64[$4_1+16>>3])/HEAPF64[$4_1>>3];$6_1=0;while(1){$1_1=0;if(($6_1|0)==3){global$0=$11_1+96|0}else{while(1){if(($1_1|0)!=3){$12_1=($4_1+($6_1<<5)|0)+($1_1<<3)|0;HEAPF64[$12_1>>3]=HEAPF64[$12_1>>3]/HEAPF64[$4_1+80>>3];$1_1=$1_1+1|0;continue}break}$6_1=$6_1+1|0;continue}break}}else{while(1){if(($1_1|0)!=4){$12_1=($4_1+($6_1<<5)|0)+($1_1<<3)|0;HEAP32[$12_1>>2]=0;HEAP32[$12_1+4>>2]=0;$1_1=$1_1+1|0;continue}break}$6_1=$6_1+1|0;continue}break}$10_1=+($21_1-1|0);while(1){if(($2_1|0)==4){label$63:{$8_1=HEAPF64[$3_1+384>>3];$1_1=0;while(1){$2_1=0;if(($1_1|0)!=3){while(1){if(($2_1|0)!=3){$4_1=$2_1<<3;HEAPF64[$4_1+(($3_1+128|0)+Math_imul($1_1,24)|0)>>3]=HEAPF64[$4_1+(($3_1+304|0)+($1_1<<5)|0)>>3]/$8_1;$2_1=$2_1+1|0;continue}break}$1_1=$1_1+1|0;continue}break}HEAP32[$3_1+32>>2]=0;HEAP32[$3_1+36>>2]=0;HEAP32[$3_1+56>>2]=0;HEAP32[$3_1+60>>2]=0;$1_1=$3_1- -64|0;HEAP32[$1_1>>2]=0;HEAP32[$1_1+4>>2]=0;HEAP32[$3_1+72>>2]=0;HEAP32[$3_1+76>>2]=0;HEAP32[$3_1+104>>2]=0;HEAP32[$3_1+108>>2]=0;$8_1=$7_1-$5_1;HEAPF64[$3_1+80>>3]=($7_1+$5_1)/$8_1;HEAPF64[$3_1+88>>3]=($5_1+$5_1)*$7_1/$8_1;HEAPF64[$3_1+40>>3]=HEAPF64[$3_1+160>>3]*-2/$10_1;$5_1=HEAPF64[$3_1+168>>3];HEAPF64[$3_1+48>>3]=-(($5_1+$5_1)/$10_1+-1);HEAP32[$3_1+24>>2]=0;HEAP32[$3_1+28>>2]=0;HEAP32[$3_1+96>>2]=0;HEAP32[$3_1+100>>2]=0;$5_1=HEAPF64[$3_1+128>>3];$8_1=$5_1+$5_1;$5_1=+($23_1-1|0);HEAPF64[$3_1>>3]=$8_1/$5_1;$7_1=HEAPF64[$3_1+136>>3];HEAPF64[$3_1+8>>3]=($7_1+$7_1)/$5_1;$7_1=HEAPF64[$3_1+144>>3];HEAPF64[$3_1+16>>3]=-(($7_1+$7_1)/$5_1+-1);HEAP32[$3_1+120>>2]=0;HEAP32[$3_1+124>>2]=0;HEAP32[$3_1+112>>2]=0;HEAP32[$3_1+116>>2]=-1074790400;$8_1=HEAPF64[$3_1+296>>3];$9_1=HEAPF64[$3_1+264>>3];$1_1=0;$14_1=HEAPF64[$3_1+232>>3];while(1){if(($1_1|0)==4){break label$63}$4_1=$3_1+($1_1<<5)|0;$5_1=HEAPF64[$4_1+16>>3];$7_1=HEAPF64[$4_1+8>>3];$10_1=HEAPF64[$4_1>>3];$2_1=0;while(1){if(($2_1|0)!=3){$6_1=($3_1+208|0)+($2_1<<3)|0;HEAPF64[$17_1+(($2_1<<2)+$1_1<<3)>>3]=$5_1*HEAPF64[$6_1- -64>>3]+($10_1*HEAPF64[$6_1>>3]+$7_1*HEAPF64[$6_1+32>>3]);$2_1=$2_1+1|0;continue}break}HEAPF64[($17_1+($1_1<<3)|0)+96>>3]=$5_1*$8_1+($10_1*$14_1+$7_1*$9_1)+HEAPF64[$4_1+24>>3];$1_1=$1_1+1|0;continue}}}else{$1_1=($3_1+304|0)+($2_1<<3)|0;HEAPF64[$1_1+32>>3]=$10_1*HEAPF64[$1_1- -64>>3]-HEAPF64[$1_1+32>>3];$2_1=$2_1+1|0;continue}break}global$0=$3_1+400|0;HEAP32[$0_1+232>>2]=$589(HEAP32[$0_1+192>>2])}global$0=$13_1+32|0;HEAP32[$16_1+32>>2]=HEAP32[$15_1+200>>2];$5(0,1,36718,$16_1+32|0);$0_1=HEAP32[$15_1>>2];$1_1=HEAP32[$15_1+196>>2];$2_1=HEAP32[$15_1+200>>2];HEAP32[$16_1+20>>2]=HEAP32[$15_1+204>>2];HEAP32[$16_1+16>>2]=67792;HEAP32[$16_1+12>>2]=$15_1+344;HEAP32[$16_1+8>>2]=$2_1;HEAP32[$16_1+4>>2]=$1_1;HEAP32[$16_1>>2]=$0_1;fimport$8(67158,38146,$16_1|0)|0;global$0=$16_1+48|0;return HEAP32[$15_1>>2]}$5(0,3,1806,0);fimport$1(1);abort()}function $991($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=Math_fround(0),$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=0,$32_1=0,$33_1=0,$34_1=0,$35_1=0,$36_1=0,$37_1=0,$38_1=0,$39_1=0,$40_1=0,$41_1=0,$42_1=Math_fround(0),$43_1=0,$44_1=0,$45_1=0,$46_1=0,$47_1=0;$28_1=global$0-32|0;global$0=$28_1;$19_1=HEAP32[$0_1+136>>2];$41_1=HEAP32[$0_1>>2];HEAP32[$28_1+16>>2]=$41_1;$5(0,1,1778,$28_1+16|0);$24_1=$19_1+24|0;label$1:{while(1){if(($678($0_1)|0)>=0){$10_1=HEAP32[$19_1>>2];$29_1=HEAP32[$19_1+4>>2];$34_1=HEAP32[$19_1+12>>2];$21_1=HEAP32[$19_1+16>>2];$18_1=global$0-48|0;global$0=$18_1;$1_1=HEAP32[$19_1+8>>2];$30_1=HEAP32[$1_1+8>>2];$31_1=HEAP32[$1_1+4>>2];$22_1=HEAP32[$1_1>>2];$1_1=HEAP32[$19_1+20>>2];if(!$1_1){$2_1=HEAP32[$10_1+28>>2];$3_1=HEAP32[$10_1+32>>2];label$5:{$1_1=$7(40);if($1_1){label$7:{HEAP32[$1_1+20>>2]=$3_1;HEAP32[$1_1+8>>2]=$2_1;HEAP32[$1_1+16>>2]=$2_1;HEAP32[$1_1+12>>2]=$3_1;$2_1=($2_1+$3_1|0)+1|0;HEAP32[$1_1+4>>2]=$2_1;HEAP32[$1_1>>2]=$2_1;$2_1=$7(Math_imul($2_1,$2_1)<<1);HEAP32[$1_1+24>>2]=$2_1;if(!$2_1){break label$7}break label$5}}break label$1}HEAP32[$19_1+20>>2]=$1_1}$37_1=-1;$15_1=($10_1+Math_imul($22_1,48)|0)+48|0;$2_1=HEAP32[$29_1>>2]+Math_imul($22_1,112)|0;$20_1=HEAP32[$2_1>>2];$16_1=HEAP32[HEAP32[$2_1+4>>2]>>2]+Math_imul($31_1,20)|0;$8_1=0;$9_1=0;$11_1=0;$6_1=global$0-80|0;global$0=$6_1;label$8:{label$9:{label$10:{$2_1=HEAP32[$10_1+12>>2];if($2_1){$3_1=$6_1+16|0;$396($2_1+8|0,$15_1,$3_1);$4_1=HEAP32[$16_1>>2]+Math_imul($30_1,20)|0;$13_1=HEAPF32[$4_1+8>>2];HEAPF32[$6_1+76>>2]=$13_1;$42_1=HEAPF32[$4_1+12>>2];HEAPF32[$6_1+72>>2]=$42_1;$4_1=-1;if(($297(0,$3_1,$13_1,$42_1,$6_1+76|0,$6_1+72|0)|0)<0){break label$8}$25_1=$2_1+184|0;if(($66($25_1,HEAPF32[$6_1+76>>2],HEAPF32[$6_1+72>>2],$6_1+68|0,$6_1- -64|0)|0)<0){break label$8}$4_1=HEAP32[$1_1+16>>2];$13_1=Math_fround(HEAPF32[$6_1+64>>2]+Math_fround(.5));label$12:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$14:{if(Math_fround(Math_abs($13_1))>2];label$16:while(1){if(HEAP32[$1_1+20>>2]<($12_1|0)){break label$10}$4_1=HEAP32[$1_1+8>>2];$3_1=0-$4_1|0;$4_1=$2_1-($4_1<<1)|0;$13_1=Math_fround($7_1|0);while(1){label$18:{label$19:{if(HEAP32[$1_1+12>>2]>=($3_1|0)){if(($180($25_1,Math_fround($4_1|0),$13_1,$6_1+68|0,$6_1- -64|0)|0)<0){break label$19}if(($597($6_1+16|0,HEAP32[HEAP32[$20_1>>2]+(HEAP32[$16_1+8>>2]<<2)>>2],HEAPF32[$6_1+68>>2],HEAPF32[$6_1+64>>2],$6_1+15|0)|0)<0){break label$19}$14_1=HEAPU8[$6_1+15|0];HEAP16[$5_1>>1]=$14_1;$9_1=$9_1+1|0;$8_1=$8_1+$14_1|0;$11_1=Math_imul($14_1,$14_1)+$11_1|0;break label$18}$7_1=$7_1+2|0;$12_1=$12_1+1|0;continue label$16}HEAP16[$5_1>>1]=4096}$4_1=$4_1+2|0;$3_1=$3_1+1|0;$5_1=$5_1+2|0;continue}}}$2_1=HEAP32[$16_1>>2]+Math_imul($30_1,20)|0;if(($297(0,$15_1,HEAPF32[$2_1+8>>2],HEAPF32[$2_1+12>>2],$6_1+68|0,$6_1- -64|0)|0)<0){break label$9}$4_1=HEAP32[$1_1+16>>2];$13_1=Math_fround(HEAPF32[$6_1+64>>2]+Math_fround(.5));label$21:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(.5));label$23:{if(Math_fround(Math_abs($13_1))>2];while(1){if(HEAP32[$1_1+20>>2]<($12_1|0)){break label$10}$4_1=HEAP32[$1_1+8>>2];$3_1=0-$4_1|0;$4_1=$2_1-($4_1<<1)|0;$13_1=Math_fround($7_1|0);while(1){if(HEAP32[$1_1+12>>2]>=($3_1|0)){label$28:{if(($597($15_1,HEAP32[HEAP32[$20_1>>2]+(HEAP32[$16_1+8>>2]<<2)>>2],Math_fround($4_1|0),$13_1,$6_1+15|0)|0)<0){HEAP16[$5_1>>1]=4096;break label$28}$14_1=HEAPU8[$6_1+15|0];HEAP16[$5_1>>1]=$14_1;$9_1=$9_1+1|0;$8_1=$8_1+$14_1|0;$11_1=Math_imul($14_1,$14_1)+$11_1|0}$4_1=$4_1+2|0;$3_1=$3_1+1|0;$5_1=$5_1+2|0;continue}break}$7_1=$7_1+2|0;$12_1=$12_1+1|0;continue}}if(!$9_1){break label$9}HEAP32[$1_1+36>>2]=$9_1;HEAP32[$1_1+32>>2]=$8_1;$13_1=Math_fround(Math_sqrt(Math_fround($11_1-((Math_imul($8_1,$8_1)|0)/($9_1|0)|0)|0)));label$30:{if(Math_fround(Math_abs($13_1))>2]=$2_1;$4_1=0;break label$8}$4_1=-1}global$0=$6_1+80|0;label$32:{if(($4_1|0)<0){break label$32}$1_1=HEAP32[$19_1+20>>2];$2_1=HEAP32[$1_1+28>>2];if(Math_fround(Math_imul($2_1,$2_1)|0)>2]+HEAP32[$1_1+20>>2]|0)+1|0,(HEAP32[$1_1+8>>2]+HEAP32[$1_1+12>>2]|0)+1|0)|0)*Math_fround(5))*Math_fround(5))){break label$32}label$33:{label$34:{switch(HEAP32[$29_1+152>>2]-1|0){case 0:$438(HEAP32[$10_1+12>>2],$15_1,0,0,HEAP32[HEAP32[HEAP32[(HEAP32[$29_1>>2]+Math_imul($22_1,112)|0)+4>>2]>>2]+Math_imul($31_1,20)>>2]+Math_imul($30_1,20)|0,$18_1+16|0);break label$33;case 1:$438(HEAP32[$10_1+12>>2],$15_1,($10_1+Math_imul($22_1,48)|0)+528|0,0,HEAP32[HEAP32[HEAP32[(HEAP32[$29_1>>2]+Math_imul($22_1,112)|0)+4>>2]>>2]+Math_imul($31_1,20)>>2]+Math_imul($30_1,20)|0,$18_1+16|0);break label$33;default:break label$34}}$1_1=$10_1+Math_imul($22_1,48)|0;$438(HEAP32[$10_1+12>>2],$15_1,$1_1+528|0,$1_1+1008|0,HEAP32[HEAP32[HEAP32[(HEAP32[$29_1>>2]+Math_imul($22_1,112)|0)+4>>2]>>2]+Math_imul($31_1,20)>>2]+Math_imul($30_1,20)|0,$18_1+16|0)}$37_1=0;$25_1=HEAP32[$10_1+20>>2];$6_1=HEAP32[$10_1+24>>2];$20_1=$18_1+16|0;$12_1=0;$9_1=global$0+-64|0;global$0=$9_1;$32_1=HEAP32[$10_1+8>>2];$5_1=$32_1-1|0;$16_1=HEAP32[$10_1+4>>2];$8_1=$16_1-1|0;$11_1=HEAP32[$19_1+20>>2];$10_1=HEAP32[$11_1+20>>2];$7_1=HEAP32[$11_1+16>>2];while(1){label$39:{if(($12_1|0)==3){break label$39}$1_1=$20_1+($12_1<<3)|0;$2_1=HEAP32[$1_1>>2];if(($2_1|0)<0){break label$39}$2_1=$2_1&-4|2;$3_1=$2_1+$6_1|0;$15_1=($3_1|0)<($16_1|0)?$3_1:$8_1;$2_1=$2_1-$6_1|0;$4_1=($2_1|0)>0?$2_1:0;$1_1=HEAP32[$1_1+4>>2]/4<<2|2;$2_1=$1_1+$6_1|0;$14_1=($2_1|0)<($32_1|0)?$2_1:$5_1;$1_1=$1_1-$6_1|0;$2_1=($1_1|0)>0?$1_1:0;while(1){if(($2_1|0)<=($14_1|0)){$3_1=$21_1+($4_1+Math_imul($2_1,$16_1)|0)|0;$1_1=$4_1;while(1){if(($1_1|0)<=($15_1|0)){HEAP8[$3_1|0]=0;$1_1=$1_1+1|0;$3_1=$3_1+1|0;continue}break}$2_1=$2_1+1|0;continue}break}$12_1=$12_1+1|0;continue}break}HEAP32[$9_1+60>>2]=0;$33_1=$10_1<<1;$17_1=0-($7_1<<1)|0;$3_1=0;$4_1=1;label$37:{while(1){label$45:{label$46:{label$47:{if(($3_1|0)!=3){$1_1=$20_1+($3_1<<3)|0;$2_1=HEAP32[$1_1>>2];if(($2_1|0)>=0){break label$46}$15_1=-1;if($4_1){break label$47}}$1_1=Math_imul((HEAP32[$11_1>>2]<<3)+32|0,(HEAP32[$11_1+4>>2]<<1)+8|0);$6_1=$7($1_1);if($6_1){$10_1=$7($1_1);if($10_1){$15_1=-1;$38_1=$25_1>>>0>14;$20_1=0;$2_1=0;while(1){label$52:{if(HEAP32[$9_1+60>>2]>($20_1|0)){label$54:{$1_1=HEAP32[$11_1+4>>2];$4_1=HEAP32[$11_1>>2];label$55:{if(!(1<<$25_1&28704)|($38_1|HEAP32[$11_1+36>>2]!=(Math_imul($1_1,$4_1)|0))){break label$55}$3_1=$20_1<<2;$35_1=$3_1+($9_1+36|0)|0;$5_1=HEAP32[$35_1>>2];$26_1=($5_1-(HEAP32[$11_1+16>>2]<<1)|0)-3|0;if(($26_1|0)<0|($32_1|0)<=(($5_1+(HEAP32[$11_1+20>>2]<<1)|0)+3|0)){break label$55}$43_1=$3_1+($9_1+48|0)|0;$3_1=HEAP32[$43_1>>2];$33_1=($3_1-(HEAP32[$11_1+8>>2]<<1)|0)-3|0;if(($33_1|0)<0){break label$55}if(($16_1|0)>(($3_1+(HEAP32[$11_1+12>>2]<<1)|0)+3|0)){break label$54}}$1_1=$20_1<<2;$3_1=HEAP32[$1_1+($9_1+36|0)>>2];$5_1=$3_1+3|0;$3_1=$3_1-3|0;$8_1=$1_1+($9_1+48|0)|0;while(1){if(($3_1|0)>($5_1|0)){break label$52}label$57:{if(($3_1-(HEAP32[$11_1+16>>2]<<1)|0)<0){break label$57}if(($32_1|0)<=((HEAP32[$11_1+20>>2]<<1)+$3_1|0)){break label$52}$1_1=HEAP32[$8_1>>2];$7_1=$1_1+3|0;$1_1=$1_1-3|0;while(1){if(($1_1|0)>($7_1|0)){break label$57}label$59:{if(($1_1-(HEAP32[$11_1+8>>2]<<1)|0)<0){break label$59}if(($16_1|0)<=((HEAP32[$11_1+12>>2]<<1)+$1_1|0)){break label$57}$612($34_1,$16_1,$25_1,$11_1,$1_1,$3_1,$9_1+20|0);$4_1=HEAP32[$9_1+20>>2];if(($4_1|0)<=($2_1|0)){break label$59}HEAP32[$18_1+12>>2]=$1_1;HEAP32[$18_1+8>>2]=$3_1;HEAPF32[$24_1>>2]=Math_fround($4_1|0)/Math_fround(1e4);$15_1=0;$2_1=$4_1}$1_1=$1_1+1|0;continue}}$3_1=$3_1+1|0;continue}}$7_1=0;$3_1=($4_1<<2)+16|0;$8_1=($3_1|0)>0?$3_1:0;$5_1=($1_1<<1)+6|0;$1_1=$6_1;$3_1=$10_1;while(1){if(($7_1|0)!=($8_1|0)){HEAP32[$1_1>>2]=0;HEAP32[$3_1>>2]=0;$7_1=$7_1+1|0;$3_1=$3_1+4|0;$1_1=$1_1+4|0;continue}break}$21_1=0;$4_1=($4_1<<1)+6|0;$39_1=($4_1|0)>0?$4_1:0;$40_1=($5_1|0)>0?$5_1:0;$12_1=($33_1+Math_imul($16_1,$26_1)|0)+$34_1|0;$14_1=0;$5_1=$6_1;$8_1=$10_1;while(1){$7_1=0;if(($14_1|0)!=($40_1|0)){while(1){if(($7_1|0)!=2){HEAP32[$1_1>>2]=0;HEAP32[$3_1>>2]=0;$4_1=$7_1<<2;HEAP32[$4_1+($9_1+4|0)>>2]=0;HEAP32[$4_1+($9_1+12|0)>>2]=0;$7_1=$7_1+1|0;$3_1=$3_1+4|0;$1_1=$1_1+4|0;continue}break}$8_1=$8_1+8|0;$5_1=$5_1+8|0;$7_1=0;$4_1=$12_1;while(1){if(($7_1|0)!=($39_1|0)){$17_1=HEAPU8[$4_1|0];$27_1=$7_1<<2&4;$36_1=$27_1+($9_1+12|0)|0;$23_1=$17_1+HEAP32[$36_1>>2]|0;HEAP32[$36_1>>2]=$23_1;$27_1=$27_1+($9_1+4|0)|0;$17_1=HEAP32[$27_1>>2]+Math_imul($17_1,$17_1)|0;HEAP32[$27_1>>2]=$17_1;HEAP32[$1_1>>2]=$23_1+HEAP32[$5_1>>2];HEAP32[$3_1>>2]=$17_1+HEAP32[$8_1>>2];$7_1=$7_1+1|0;$3_1=$3_1+4|0;$8_1=$8_1+4|0;$1_1=$1_1+4|0;$5_1=$5_1+4|0;$4_1=$4_1+1|0;continue}break}$14_1=$14_1+1|0;$12_1=$12_1+$16_1|0;continue}break}while(1){if(($21_1|0)==7){break label$52}$39_1=$21_1-3|0;$40_1=$21_1+2|0;$27_1=$21_1+$26_1|0;$1_1=0;while(1){if(($1_1|0)!=7){$36_1=$1_1+2|0;$4_1=0;$14_1=0;$17_1=HEAP32[$11_1+4>>2];$45_1=($17_1|0)>0?$17_1:0;$46_1=$16_1<<1;$5_1=(($1_1+$33_1|0)+Math_imul($16_1,$27_1)|0)+$34_1|0;$23_1=HEAP32[$11_1>>2];$44_1=($23_1|0)>0?$23_1:0;$47_1=$44_1<<1;$8_1=HEAP32[$11_1+24>>2];while(1){if(($4_1|0)!=($45_1|0)){$3_1=$5_1;$7_1=$8_1;$12_1=0;while(1){if(($12_1|0)!=($44_1|0)){$12_1=$12_1+1|0;$14_1=Math_imul(HEAPU16[$7_1>>1],HEAPU8[$3_1|0])+$14_1|0;$3_1=$3_1+2|0;$7_1=$7_1+2|0;continue}break}$4_1=$4_1+1|0;$5_1=$5_1+$46_1|0;$8_1=$8_1+$47_1|0;continue}break}$4_1=$23_1<<1;$5_1=$4_1+8|0;$8_1=$40_1-2|0;$7_1=Math_imul($5_1,$8_1);$3_1=$36_1-2|0;$12_1=$7_1+$3_1<<2;$5_1=Math_imul($5_1,$8_1+($17_1<<1)|0);$8_1=$3_1+$4_1|0;$17_1=$5_1+$8_1<<2;$4_1=HEAP32[$12_1+$10_1>>2]+HEAP32[$17_1+$10_1>>2]|0;$5_1=$3_1+$5_1<<2;$8_1=$7_1+$8_1<<2;$3_1=HEAP32[$6_1+$12_1>>2]+HEAP32[$6_1+$17_1>>2]-(HEAP32[$5_1+$6_1>>2]+HEAP32[$8_1+$6_1>>2])|0;$12_1=$9_1;$8_1=HEAP32[$8_1+$10_1>>2]+HEAP32[$5_1+$10_1>>2]|0;$5_1=HEAP32[$11_1+36>>2];$8_1=$8_1+((Math_imul($3_1,$3_1)|0)/($5_1|0)|0)|0;if(($8_1|0)!=($4_1|0)){$3_1=Math_imul((Math_imul($14_1-((Math_imul($3_1,HEAP32[$11_1+32>>2])|0)/($5_1|0)|0)|0,100)|0)/HEAP32[$11_1+28>>2]|0,100);$13_1=Math_fround(Math_sqrt(Math_fround($4_1-$8_1|0)));label$76:{if(Math_fround(Math_abs($13_1))>2]=$3_1;$3_1=HEAP32[$9_1+20>>2];if(($3_1|0)>($2_1|0)){HEAP32[$18_1+12>>2]=(HEAP32[$43_1>>2]+$1_1|0)-3;HEAP32[$18_1+8>>2]=$39_1+HEAP32[$35_1>>2];HEAPF32[$24_1>>2]=Math_fround($3_1|0)/Math_fround(1e4);$15_1=0;$2_1=$3_1}$1_1=$1_1+1|0;continue}break}$21_1=$21_1+1|0;continue}}$1($6_1);$1($10_1);break label$47}$20_1=$20_1+1|0;continue}}break label$45}break label$45}global$0=$9_1- -64|0;break label$37}$2_1=$2_1&-4|2;$23_1=$2_1+$6_1|0;$8_1=$2_1-$6_1|0;$1_1=HEAP32[$1_1+4>>2]/4<<2|2;$38_1=$1_1+$6_1|0;$7_1=$1_1-$6_1|0;while(1){label$81:{if(($7_1|0)>($38_1|0)){break label$81}label$82:{if(($7_1+$17_1|0)<0){break label$82}if(($32_1|0)<=($7_1+$33_1|0)){break label$81}$35_1=Math_imul($7_1,$16_1);$1_1=$8_1;while(1){if(($1_1|0)>($23_1|0)){break label$82}label$84:{if(($1_1-(HEAP32[$11_1+8>>2]<<1)|0)<0){break label$84}if(($16_1|0)<=((HEAP32[$11_1+12>>2]<<1)+$1_1|0)){break label$82}$2_1=$21_1+($1_1+$35_1|0)|0;if(HEAPU8[$2_1|0]){break label$84}HEAP8[$2_1|0]=1;$612($34_1,$16_1,$25_1,$11_1,$1_1,$7_1,$9_1+20|0);$14_1=HEAP32[$9_1+20>>2];$12_1=$9_1+48|0;$15_1=$9_1+36|0;$10_1=$9_1+24|0;$2_1=0;$5_1=HEAP32[$9_1+60>>2];label$85:{if($5_1){$4_1=($5_1|0)>0?$5_1:0;while(1){label$88:{if(($2_1|0)!=($4_1|0)){if(($14_1|0)<=HEAP32[$10_1+($2_1<<2)>>2]){break label$88}$4_1=$2_1}if(($4_1|0)==($5_1|0)){if($5_1>>>0>2){break label$85}$2_1=$5_1<<2;HEAP32[$2_1+$12_1>>2]=$1_1;HEAP32[$2_1+$15_1>>2]=$7_1;HEAP32[$2_1+$10_1>>2]=$14_1;HEAP32[$9_1+60>>2]=HEAP32[$9_1+60>>2]+1;break label$85}$2_1=2;if(($5_1|0)!=3){HEAP32[$9_1+60>>2]=$5_1+1;$2_1=$5_1}while(1){if(($2_1|0)>($4_1|0)){$5_1=$2_1<<2;$2_1=$2_1-1|0;$26_1=$2_1<<2;HEAP32[$5_1+$12_1>>2]=HEAP32[$26_1+$12_1>>2];HEAP32[$5_1+$15_1>>2]=HEAP32[$15_1+$26_1>>2];HEAP32[$5_1+$10_1>>2]=HEAP32[$10_1+$26_1>>2];continue}break}$2_1=$2_1<<2;HEAP32[$2_1+$12_1>>2]=$1_1;HEAP32[$2_1+$15_1>>2]=$7_1;HEAP32[$2_1+$10_1>>2]=$14_1;break label$85}$2_1=$2_1+1|0;continue}}HEAP32[$12_1>>2]=$1_1;HEAP32[$15_1>>2]=$7_1;HEAP32[$10_1>>2]=$14_1;HEAP32[$9_1+60>>2]=1}$4_1=0}$1_1=$1_1+4|0;continue}}$7_1=$7_1+4|0;continue}break}$3_1=$3_1+1|0;continue}break}break label$1}if(($15_1|0)<0){$37_1=-1;break label$32}HEAPF32[$24_1+4>>2]=HEAP32[$18_1+12>>2];HEAPF32[$24_1+8>>2]=HEAP32[$18_1+8>>2];$1_1=HEAP32[$29_1>>2]+Math_imul($22_1,112)|0;$2_1=HEAP32[HEAP32[HEAP32[$1_1+4>>2]>>2]+Math_imul($31_1,20)>>2]+Math_imul($30_1,20)|0;HEAPF32[$24_1+12>>2]=HEAPF32[$1_1+24>>2]+Math_fround(Math_fround(HEAPF32[$1_1+12>>2]*HEAPF32[$2_1+8>>2])+Math_fround(HEAPF32[$1_1+16>>2]*HEAPF32[$2_1+12>>2]));HEAPF32[$24_1+16>>2]=HEAPF32[$1_1+40>>2]+Math_fround(Math_fround(HEAPF32[$1_1+28>>2]*HEAPF32[$2_1+8>>2])+Math_fround(HEAPF32[$1_1+32>>2]*HEAPF32[$2_1+12>>2]));HEAPF32[$24_1+20>>2]=HEAPF32[$1_1+56>>2]+Math_fround(Math_fround(HEAPF32[$1_1+44>>2]*HEAPF32[$2_1+8>>2])+Math_fround(HEAPF32[$1_1+48>>2]*HEAPF32[$2_1+12>>2]))}global$0=$18_1+48|0;HEAP32[$19_1+48>>2]=$37_1;$676($0_1);continue}break}HEAP32[$28_1>>2]=$41_1;$5(0,1,3016,$28_1);global$0=$28_1+32|0;return 0}$5(0,3,1806,0);fimport$1(1);abort()}function $584($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1){var $9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=0,$32_1=0,$33_1=0,$34_1=0,$35_1=0,$36_1=0,$37_1=0,$38_1=0,$39_1=0,$40_1=0;$10_1=global$0-336|0;global$0=$10_1;$13_1=$7_1;$15_1=$8_1&65535;$14_1=$3_1;$12_1=$4_1&65535;$17_1=($4_1^$8_1)&-2147483648;$19_1=$8_1>>>16&32767;$20_1=$4_1>>>16&32767;label$1:{label$2:{if($19_1-32767>>>0>4294934529&$20_1-32767>>>0>=4294934530){break label$2}$9_1=$4_1&2147483647;if(!(!$3_1&($9_1|0)==2147418112?!($1_1|$2_1):$9_1>>>0<2147418112)){$23_1=$3_1;$17_1=$4_1|32768;break label$1}$4_1=$8_1&2147483647;if(!(!$7_1&($4_1|0)==2147418112?!($5_1|$6_1):$4_1>>>0<2147418112)){$23_1=$7_1;$17_1=$8_1|32768;$1_1=$5_1;$2_1=$6_1;break label$1}if(!($1_1|$3_1|($9_1^2147418112|$2_1))){if(!($5_1|$7_1|($4_1^2147418112|$6_1))){$1_1=0;$2_1=0;$17_1=2147450880;break label$1}$17_1=$17_1|2147418112;$1_1=0;$2_1=0;break label$1}if(!($5_1|$7_1|($4_1^2147418112|$6_1))){$1_1=0;$2_1=0;break label$1}if(!($1_1|$3_1|($2_1|$9_1))){$1_1=!($5_1|$7_1|($4_1|$6_1));$23_1=$1_1?0:$23_1;$17_1=$1_1?2147450880:$17_1;$1_1=0;$2_1=0;break label$1}if(!($5_1|$7_1|($4_1|$6_1))){$17_1=$17_1|2147418112;$1_1=0;$2_1=0;break label$1}if(($9_1|0)==65535|$9_1>>>0<65535){$8_1=$1_1;$3_1=!($12_1|$14_1);$7_1=$3_1<<6;$9_1=Math_clz32($3_1?$1_1:$14_1)+32|0;$1_1=Math_clz32($3_1?$2_1:$12_1);$1_1=$7_1+(($1_1|0)==32?$9_1:$1_1)|0;$92($10_1+320|0,$8_1,$2_1,$14_1,$12_1,$1_1-15|0);$11_1=16-$1_1|0;$14_1=HEAP32[$10_1+328>>2];$12_1=HEAP32[$10_1+332>>2];$2_1=HEAP32[$10_1+324>>2];$1_1=HEAP32[$10_1+320>>2]}if($4_1>>>0>65535){break label$2}$3_1=!($13_1|$15_1);$4_1=$3_1<<6;$7_1=Math_clz32($3_1?$5_1:$13_1)+32|0;$3_1=Math_clz32($3_1?$6_1:$15_1);$3_1=$4_1+(($3_1|0)==32?$7_1:$3_1)|0;$92($10_1+304|0,$5_1,$6_1,$13_1,$15_1,$3_1-15|0);$11_1=($3_1+$11_1|0)-16|0;$13_1=HEAP32[$10_1+312>>2];$15_1=HEAP32[$10_1+316>>2];$5_1=HEAP32[$10_1+304>>2];$6_1=HEAP32[$10_1+308>>2]}$4_1=$15_1|65536;$28_1=$4_1;$29_1=$13_1;$3_1=$13_1;$9_1=$4_1<<15|$3_1>>>17;$4_1=$3_1<<15|$6_1>>>17;$3_1=0-$4_1|0;$7_1=$9_1;$8_1=1963258675-($9_1+(($4_1|0)!=0)|0)|0;$84($10_1+288|0,$4_1,$9_1,0,0,$3_1,$8_1,0,0);$9_1=HEAP32[$10_1+296>>2];$84($10_1+272|0,0-$9_1|0,0-(HEAP32[$10_1+300>>2]+(($9_1|0)!=0)|0)|0,0,0,$3_1,$8_1,0,0);$3_1=HEAP32[$10_1+280>>2];$8_1=$3_1<<1|HEAP32[$10_1+276>>2]>>>31;$3_1=HEAP32[$10_1+284>>2]<<1|$3_1>>>31;$84($10_1+256|0,$8_1,$3_1,0,0,$4_1,$7_1,0,0);$9_1=$3_1;$3_1=HEAP32[$10_1+264>>2];$84($10_1+240|0,$8_1,$9_1,0,0,0-$3_1|0,0-(HEAP32[$10_1+268>>2]+(($3_1|0)!=0)|0)|0,0,0);$8_1=HEAP32[$10_1+248>>2];$9_1=$8_1<<1|HEAP32[$10_1+244>>2]>>>31;$3_1=HEAP32[$10_1+252>>2]<<1|$8_1>>>31;$84($10_1+224|0,$9_1,$3_1,0,0,$4_1,$7_1,0,0);$8_1=$3_1;$3_1=HEAP32[$10_1+232>>2];$84($10_1+208|0,$9_1,$8_1,0,0,0-$3_1|0,0-(HEAP32[$10_1+236>>2]+(($3_1|0)!=0)|0)|0,0,0);$3_1=HEAP32[$10_1+216>>2];$8_1=$3_1<<1|HEAP32[$10_1+212>>2]>>>31;$3_1=HEAP32[$10_1+220>>2]<<1|$3_1>>>31;$84($10_1+192|0,$8_1,$3_1,0,0,$4_1,$7_1,0,0);$9_1=$3_1;$3_1=HEAP32[$10_1+200>>2];$84($10_1+176|0,$8_1,$9_1,0,0,0-$3_1|0,0-(HEAP32[$10_1+204>>2]+(($3_1|0)!=0)|0)|0,0,0);$3_1=$4_1;$8_1=HEAP32[$10_1+184>>2];$4_1=$8_1<<1|HEAP32[$10_1+180>>2]>>>31;$18_1=$4_1-1|0;$8_1=(HEAP32[$10_1+188>>2]<<1|$8_1>>>31)-!$4_1|0;$84($10_1+160|0,$3_1,$7_1,0,0,$18_1,$8_1,0,0);$3_1=$5_1;$9_1=$6_1<<15|$3_1>>>17;$84($10_1+144|0,$3_1<<15,$9_1,0,0,$18_1,$8_1,0,0);$7_1=HEAP32[$10_1+172>>2];$15_1=HEAP32[$10_1+160>>2];$4_1=HEAP32[$10_1+152>>2];$3_1=$15_1+$4_1|0;$13_1=HEAP32[$10_1+164>>2];$9_1=$13_1+HEAP32[$10_1+156>>2]|0;$9_1=$3_1>>>0<$4_1>>>0?$9_1+1|0:$9_1;$4_1=$3_1;$3_1=$9_1;$13_1=($13_1|0)==($3_1|0)&$4_1>>>0<$15_1>>>0|$3_1>>>0<$13_1>>>0;$9_1=$13_1+HEAP32[$10_1+168>>2]|0;$7_1=$9_1>>>0<$13_1>>>0?$7_1+1|0:$7_1;$15_1=!$3_1&$4_1>>>0>1|($3_1|0)!=0;$13_1=$15_1+$9_1|0;$9_1=$7_1;$7_1=$13_1;$84($10_1+112|0,$18_1,$8_1,0,0,0-$7_1|0,0-((($7_1|0)!=0)+($7_1>>>0<$15_1>>>0?$9_1+1|0:$9_1)|0)|0,0,0);$84($10_1+128|0,1-$4_1|0,0-(($4_1>>>0>1)+$3_1|0)|0,0,0,$18_1,$8_1,0,0);$34_1=($20_1-$19_1|0)+$11_1|0;$4_1=HEAP32[$10_1+116>>2];$25_1=$4_1;$3_1=HEAP32[$10_1+112>>2];$9_1=$4_1<<1|$3_1>>>31;$26_1=$3_1<<1;$16_1=$9_1;$3_1=$9_1;$7_1=HEAP32[$10_1+140>>2];$24_1=$7_1;$4_1=HEAP32[$10_1+136>>2];$9_1=$7_1<<1|$4_1>>>31;$8_1=$4_1<<1|HEAP32[$10_1+132>>2]>>>31;$7_1=$8_1+$26_1|0;$3_1=$3_1+$9_1|0;$3_1=$7_1>>>0<$8_1>>>0?$3_1+1|0:$3_1;$4_1=$3_1;$3_1=$3_1-($7_1>>>0<13927)|0;$13_1=$3_1;$11_1=0;$9_1=$12_1|65536;$35_1=$9_1;$36_1=$14_1;$3_1=$14_1;$9_1=$9_1<<1|$3_1>>>31;$39_1=$3_1<<1;$40_1=$9_1;$30_1=$9_1;$22_1=__wasm_i64_mul($13_1,$11_1,$9_1,0);$3_1=i64toi32_i32$HIGH_BITS;$21_1=$3_1;$9_1=$1_1;$3_1=$2_1<<1|$9_1>>>31;$19_1=$9_1<<1;$18_1=$3_1;$15_1=$3_1;$9_1=0;$20_1=$9_1;$8_1=$7_1-13927|0;$11_1=($4_1|0)==($13_1|0)&$8_1>>>0<$7_1>>>0|$4_1>>>0>$13_1>>>0;$12_1=($4_1|0)==($16_1|0)&$7_1>>>0<$26_1>>>0|$4_1>>>0<$16_1>>>0;$3_1=HEAP32[$10_1+120>>2];$7_1=HEAP32[$10_1+124>>2]<<1|$3_1>>>31;$4_1=$24_1>>>31|0;$3_1=$4_1+($3_1<<1|$25_1>>>31)|0;$9_1=$7_1;$9_1=$3_1>>>0<$4_1>>>0?$9_1+1|0:$9_1;$4_1=$3_1;$3_1=$12_1+$3_1|0;$9_1=$3_1>>>0<$4_1>>>0?$9_1+1|0:$9_1;$4_1=$3_1;$3_1=$11_1+$3_1|0;$11_1=$3_1>>>0<$4_1>>>0?$9_1+1|0:$9_1;$4_1=$3_1;$3_1=$3_1-1|0;$31_1=$11_1-!$4_1|0;$26_1=0;$9_1=__wasm_i64_mul($15_1,$20_1,$31_1,$26_1);$4_1=$9_1+$22_1|0;$7_1=i64toi32_i32$HIGH_BITS+$21_1|0;$7_1=$4_1>>>0<$9_1>>>0?$7_1+1|0:$7_1;$11_1=($7_1|0)==($21_1|0)&$4_1>>>0<$22_1>>>0|$7_1>>>0<$21_1>>>0;$9_1=0;$22_1=$11_1;$16_1=$3_1;$3_1=$14_1;$37_1=$2_1>>>31|0;$21_1=$37_1|$3_1<<1;$24_1=0;$11_1=__wasm_i64_mul($16_1,$9_1,$21_1,$24_1);$3_1=$11_1+$4_1|0;$9_1=i64toi32_i32$HIGH_BITS+$7_1|0;$9_1=$3_1>>>0<$11_1>>>0?$9_1+1|0:$9_1;$14_1=$3_1;$12_1=$9_1;$4_1=($9_1|0)==($7_1|0)&$3_1>>>0<$4_1>>>0|$7_1>>>0>$9_1>>>0;$3_1=$22_1+$4_1|0;$11_1=0;$11_1=$3_1>>>0<$4_1>>>0?1:$11_1;$4_1=__wasm_i64_mul($30_1,$20_1,$31_1,$26_1);$3_1=$4_1+$3_1|0;$9_1=i64toi32_i32$HIGH_BITS+$11_1|0;$22_1=$3_1;$3_1=$3_1>>>0<$4_1>>>0?$9_1+1|0:$9_1;$11_1=__wasm_i64_mul($30_1,$20_1,$16_1,$24_1);$7_1=i64toi32_i32$HIGH_BITS;$27_1=__wasm_i64_mul($21_1,$24_1,$31_1,$26_1);$4_1=$27_1+$11_1|0;$9_1=i64toi32_i32$HIGH_BITS+$7_1|0;$9_1=$4_1>>>0<$27_1>>>0?$9_1+1|0:$9_1;$27_1=$4_1;$4_1=$9_1;$9_1=($7_1|0)==($9_1|0)&$11_1>>>0>$27_1>>>0|$7_1>>>0>$9_1>>>0;$11_1=$22_1+$4_1|0;$3_1=$3_1+$9_1|0;$7_1=$11_1;$11_1=$7_1>>>0<$4_1>>>0?$3_1+1|0:$3_1;$4_1=0;$3_1=$4_1+$14_1|0;$9_1=$12_1+$27_1|0;$9_1=$3_1>>>0<$4_1>>>0?$9_1+1|0:$9_1;$4_1=$9_1;$12_1=($9_1|0)==($12_1|0)&$3_1>>>0<$14_1>>>0|$9_1>>>0<$12_1>>>0;$7_1=$12_1+$7_1|0;$9_1=$11_1;$22_1=$7_1;$11_1=$7_1>>>0<$12_1>>>0?$9_1+1|0:$9_1;$14_1=$3_1;$12_1=$4_1;$27_1=$8_1;$7_1=__wasm_i64_mul($8_1,0,$21_1,$24_1);$4_1=i64toi32_i32$HIGH_BITS;$8_1=__wasm_i64_mul($13_1,$20_1,$15_1,$20_1);$3_1=$8_1+$7_1|0;$9_1=i64toi32_i32$HIGH_BITS+$4_1|0;$9_1=$3_1>>>0<$8_1>>>0?$9_1+1|0:$9_1;$4_1=($4_1|0)==($9_1|0)&$3_1>>>0<$7_1>>>0|$4_1>>>0>$9_1>>>0;$7_1=$9_1;$32_1=$22_1;$25_1=$4_1;$33_1=$19_1&-2;$8_1=__wasm_i64_mul($16_1,$24_1,$33_1,0);$4_1=$8_1+$3_1|0;$9_1=i64toi32_i32$HIGH_BITS+$9_1|0;$9_1=$4_1>>>0<$8_1>>>0?$9_1+1|0:$9_1;$22_1=$4_1;$8_1=$4_1;$4_1=$9_1;$8_1=($9_1|0)==($7_1|0)&$3_1>>>0>$8_1>>>0|$7_1>>>0>$9_1>>>0;$3_1=$25_1+$8_1|0;$7_1=0;$7_1=$3_1>>>0<$8_1>>>0?1:$7_1;$9_1=$3_1;$8_1=$3_1+$14_1|0;$3_1=$7_1+$12_1|0;$25_1=$8_1;$7_1=$8_1;$3_1=$7_1>>>0<$9_1>>>0?$3_1+1|0:$3_1;$8_1=$3_1;$7_1=($3_1|0)==($12_1|0)&$7_1>>>0<$14_1>>>0|$3_1>>>0<$12_1>>>0;$3_1=$32_1+$7_1|0;$9_1=$11_1;$32_1=$3_1;$14_1=$3_1>>>0<$7_1>>>0?$9_1+1|0:$9_1;$38_1=__wasm_i64_mul($30_1,$20_1,$27_1,$23_1);$30_1=i64toi32_i32$HIGH_BITS;$7_1=__wasm_i64_mul($31_1,$26_1,$33_1,$23_1);$3_1=$7_1+$38_1|0;$9_1=i64toi32_i32$HIGH_BITS+$30_1|0;$31_1=$3_1;$12_1=__wasm_i64_mul($13_1,$20_1,$21_1,$24_1);$11_1=$3_1+$12_1|0;$7_1=$3_1>>>0<$7_1>>>0?$9_1+1|0:$9_1;$3_1=$7_1+i64toi32_i32$HIGH_BITS|0;$3_1=$11_1>>>0<$12_1>>>0?$3_1+1|0:$3_1;$21_1=$11_1;$12_1=__wasm_i64_mul($15_1,$20_1,$16_1,$24_1);$9_1=$11_1+$12_1|0;$11_1=i64toi32_i32$HIGH_BITS+$3_1|0;$26_1=$9_1;$11_1=$9_1>>>0<$12_1>>>0?$11_1+1|0:$11_1;$12_1=0;$16_1=($3_1|0)==($11_1|0)&$21_1>>>0>$9_1>>>0|$3_1>>>0>$11_1>>>0;$9_1=($3_1|0)==($7_1|0)&$21_1>>>0<$31_1>>>0|$3_1>>>0<$7_1>>>0;$3_1=$9_1+(($7_1|0)==($30_1|0)&$31_1>>>0<$38_1>>>0|$7_1>>>0<$30_1>>>0)|0;$7_1=0;$3_1=$16_1+$3_1|0;$16_1=$11_1|0;$7_1=$16_1+$25_1|0;$9_1=($3_1|$12_1)+$8_1|0;$9_1=$7_1>>>0<$16_1>>>0?$9_1+1|0:$9_1;$16_1=$7_1;$3_1=$7_1;$12_1=$9_1;$7_1=($8_1|0)==($9_1|0)&$3_1>>>0<$25_1>>>0|$8_1>>>0>$9_1>>>0;$3_1=$7_1+$32_1|0;$9_1=$14_1;$21_1=$3_1;$8_1=$3_1>>>0<$7_1>>>0?$9_1+1|0:$9_1;$25_1=__wasm_i64_mul($13_1,$20_1,$33_1,$23_1);$13_1=i64toi32_i32$HIGH_BITS;$7_1=__wasm_i64_mul($15_1,$20_1,$27_1,$23_1);$3_1=$7_1+$25_1|0;$9_1=i64toi32_i32$HIGH_BITS+$13_1|0;$9_1=$3_1>>>0<$7_1>>>0?$9_1+1|0:$9_1;$14_1=0;$7_1=($9_1|0)==($13_1|0)&$3_1>>>0<$25_1>>>0|$9_1>>>0<$13_1>>>0;$13_1=$9_1;$3_1=$9_1+$22_1|0;$9_1=($7_1|$14_1)+$4_1|0;$7_1=$3_1;$9_1=$3_1>>>0<$13_1>>>0?$9_1+1|0:$9_1;$13_1=($4_1|0)==($9_1|0)&$3_1>>>0<$22_1>>>0|$4_1>>>0>$9_1>>>0;$4_1=0+$3_1|0;$3_1=$9_1;$11_1=$26_1+$3_1|0;$11_1=$4_1>>>0<$14_1>>>0?$11_1+1|0:$11_1;$4_1=($3_1|0)==($11_1|0)&$4_1>>>0<$7_1>>>0|$3_1>>>0>$11_1>>>0;$3_1=$13_1+$4_1|0;$9_1=0;$9_1=$3_1>>>0<$4_1>>>0?1:$9_1;$4_1=$3_1;$3_1=$3_1+$16_1|0;$9_1=$9_1+$12_1|0;$9_1=$3_1>>>0<$4_1>>>0?$9_1+1|0:$9_1;$4_1=$9_1;$9_1=($12_1|0)==($9_1|0)&$3_1>>>0<$16_1>>>0|$9_1>>>0<$12_1>>>0;$7_1=$9_1+$21_1|0;$11_1=$8_1;$11_1=$7_1>>>0<$9_1>>>0?$11_1+1|0:$11_1;$8_1=$11_1;label$12:{if(($11_1|0)==131071|$11_1>>>0<131071){$36_1=$39_1|$37_1;$35_1=$24_1|$40_1;$84($10_1+80|0,$3_1,$4_1,$7_1,$8_1,$5_1,$6_1,$29_1,$28_1);$9_1=$1_1<<17;$1_1=0;$2_1=HEAP32[$10_1+88>>2];$12_1=$1_1-$2_1|0;$11_1=HEAP32[$10_1+80>>2];$15_1=HEAP32[$10_1+84>>2];$13_1=($11_1|$15_1)!=0;$14_1=$12_1-$13_1|0;$12_1=($9_1-(HEAP32[$10_1+92>>2]+($1_1>>>0<$2_1>>>0)|0)|0)-($12_1>>>0<$13_1>>>0)|0;$13_1=0-$11_1|0;$15_1=0-((($11_1|0)!=0)+$15_1|0)|0;$1_1=$34_1+16382|0;break label$12}$3_1=($4_1&1)<<31|$3_1>>>1;$4_1=$7_1<<31|$4_1>>>1;$7_1=($8_1&1)<<31|$7_1>>>1;$8_1=$8_1>>>1|0;$84($10_1+96|0,$3_1,$4_1,$7_1,$8_1,$5_1,$6_1,$29_1,$28_1);$12_1=0;$13_1=HEAP32[$10_1+104>>2];$15_1=$12_1-$13_1|0;$11_1=HEAP32[$10_1+96>>2];$18_1=HEAP32[$10_1+100>>2];$19_1=($11_1|$18_1)!=0;$14_1=$15_1-$19_1|0;$12_1=(($1_1<<16)-(HEAP32[$10_1+108>>2]+($12_1>>>0<$13_1>>>0)|0)|0)-($15_1>>>0<$19_1>>>0)|0;$13_1=0-$11_1|0;$15_1=0-((($11_1|0)!=0)+$18_1|0)|0;$19_1=$1_1;$18_1=$2_1;$1_1=$34_1+16383|0}if(($1_1|0)>=32767){$17_1=$17_1|2147418112;$1_1=0;$2_1=0;break label$1}label$15:{if(($1_1|0)>0){$2_1=$14_1;$11_1=$12_1<<1|$2_1>>>31;$14_1=$2_1<<1|$15_1>>>31;$12_1=$11_1;$19_1=$7_1;$18_1=$8_1&65535|$1_1<<16;$1_1=$13_1;$11_1=$15_1<<1|$1_1>>>31;$1_1=$1_1<<1;break label$15}if(($1_1|0)<=-113){$1_1=0;$2_1=0;break label$1}$211($10_1- -64|0,$3_1,$4_1,$7_1,$8_1,1-$1_1|0);$92($10_1+48|0,$19_1,$18_1,$36_1,$35_1,$1_1+112|0);$3_1=HEAP32[$10_1+64>>2];$4_1=HEAP32[$10_1+68>>2];$19_1=HEAP32[$10_1+72>>2];$18_1=HEAP32[$10_1+76>>2];$84($10_1+32|0,$5_1,$6_1,$29_1,$28_1,$3_1,$4_1,$19_1,$18_1);$2_1=HEAP32[$10_1+40>>2];$8_1=$2_1<<1;$2_1=HEAP32[$10_1+44>>2]<<1|$2_1>>>31;$1_1=HEAP32[$10_1+56>>2];$7_1=HEAP32[$10_1+36>>2];$14_1=$7_1>>>31|$8_1;$8_1=$1_1-$14_1|0;$11_1=HEAP32[$10_1+60>>2]-(($1_1>>>0<$14_1>>>0)+$2_1|0)|0;$2_1=HEAP32[$10_1+32>>2];$7_1=$7_1<<1|$2_1>>>31;$2_1=$2_1<<1;$9_1=HEAP32[$10_1+52>>2];$1_1=HEAP32[$10_1+48>>2];$12_1=($7_1|0)==($9_1|0)&$2_1>>>0>$1_1>>>0|$7_1>>>0>$9_1>>>0;$14_1=$8_1-$12_1|0;$12_1=$11_1-($8_1>>>0<$12_1>>>0)|0;$8_1=$1_1;$1_1=$1_1-$2_1|0;$11_1=$9_1-(($2_1>>>0>$8_1>>>0)+$7_1|0)|0}$84($10_1+16|0,$5_1,$6_1,$29_1,$28_1,3,0,0,0);$84($10_1,$5_1,$6_1,$29_1,$28_1,5,0,0,0);$9_1=0;$7_1=$11_1+$9_1|0;$13_1=$3_1&1;$2_1=$1_1+$13_1|0;$7_1=$2_1>>>0<$1_1>>>0?$7_1+1|0:$7_1;$8_1=$2_1;$1_1=$8_1;$6_1=($6_1|0)==($7_1|0)&$1_1>>>0>$5_1>>>0|$6_1>>>0<$7_1>>>0;$2_1=($7_1|0)==($9_1|0)&$1_1>>>0<$13_1>>>0|$7_1>>>0<$9_1>>>0;$1_1=$2_1+$14_1|0;$11_1=$12_1;$11_1=$1_1>>>0<$2_1>>>0?$11_1+1|0:$11_1;$5_1=$1_1;$2_1=($11_1|0)==($28_1|0);$2_1=$2_1&($1_1|0)==($29_1|0)?$6_1:$2_1&$1_1>>>0>$29_1>>>0|$11_1>>>0>$28_1>>>0;$1_1=$2_1+$3_1|0;$9_1=$4_1;$9_1=$1_1>>>0<$2_1>>>0?$9_1+1|0:$9_1;$2_1=$1_1;$1_1=$9_1;$4_1=($9_1|0)==($4_1|0)&$2_1>>>0<$3_1>>>0|$4_1>>>0>$9_1>>>0;$3_1=$4_1+$19_1|0;$9_1=$18_1;$9_1=$3_1>>>0<$4_1>>>0?$9_1+1|0:$9_1;$14_1=$3_1;$3_1=HEAP32[$10_1+20>>2];$6_1=($3_1|0)==($7_1|0)&HEAPU32[$10_1+16>>2]<$8_1>>>0|$3_1>>>0<$7_1>>>0;$3_1=HEAP32[$10_1+28>>2];$4_1=HEAP32[$10_1+24>>2];$6_1=$9_1>>>0<2147418112&(($4_1|0)==($5_1|0)&($3_1|0)==($11_1|0)?$6_1:($3_1|0)==($11_1|0)&$4_1>>>0<$5_1>>>0|$3_1>>>0<$11_1>>>0);$4_1=$6_1+$2_1|0;$3_1=$1_1;$3_1=$4_1>>>0<$6_1>>>0?$3_1+1|0:$3_1;$2_1=($1_1|0)==($3_1|0)&$2_1>>>0>$4_1>>>0|$1_1>>>0>$3_1>>>0;$1_1=$14_1+$2_1|0;$9_1=$1_1>>>0<$2_1>>>0?$9_1+1|0:$9_1;$6_1=$1_1;$1_1=HEAP32[$10_1+4>>2];$7_1=($1_1|0)==($7_1|0)&HEAPU32[$10_1>>2]<$8_1>>>0|$1_1>>>0<$7_1>>>0;$1_1=HEAP32[$10_1+12>>2];$2_1=HEAP32[$10_1+8>>2];$2_1=$9_1>>>0<2147418112&(($2_1|0)==($5_1|0)&($1_1|0)==($11_1|0)?$7_1:($1_1|0)==($11_1|0)&$2_1>>>0<$5_1>>>0|$1_1>>>0<$11_1>>>0);$1_1=$2_1+$4_1|0;$11_1=$1_1>>>0<$2_1>>>0?$3_1+1|0:$3_1;$2_1=$11_1;$5_1=($3_1|0)==($11_1|0)&$1_1>>>0<$4_1>>>0|$3_1>>>0>$11_1>>>0;$4_1=$6_1+$5_1|0;$3_1=$9_1;$23_1=$4_1|$23_1;$17_1=$17_1|($4_1>>>0<$5_1>>>0?$3_1+1|0:$3_1)}HEAP32[$0_1>>2]=$1_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$0_1+8>>2]=$23_1;HEAP32[$0_1+12>>2]=$17_1;global$0=$10_1+336|0}function $1152($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=Math_fround(0),$17_1=0,$18_1=Math_fround(0),$19_1=0,$20_1=Math_fround(0),$21_1=Math_fround(0),$22_1=Math_fround(0),$23_1=Math_fround(0),$24_1=0,$25_1=Math_fround(0),$26_1=0;$9_1=global$0-48|0;global$0=$9_1;HEAP32[$9_1+44>>2]=$0_1;HEAP32[$9_1>>2]=$26(67484,$9_1+44|0);HEAP32[$9_1+40>>2]=$23();label$1:{if($31($9_1,$9_1+40|0)){$3_1=HEAP32[15939];break label$1}$0_1=$32($9_1+44|0);wasm2js_memory_fill($9_1,0,40);$2_1=HEAP32[$0_1+196>>2];HEAP32[$9_1+16>>2]=1;HEAP32[$9_1>>2]=$2_1;HEAP32[$9_1+12>>2]=HEAP32[$0_1+204>>2];$7_1=global$0-80|0;global$0=$7_1;label$3:{label$4:{label$5:{$1_1=HEAP32[$0_1+216>>2];label$6:{if(!$1_1|!$9_1){break label$6}HEAP32[$1_1+44>>2]=0;$10_1=$1_1+44|0;$4_1=HEAP32[$1_1+7062388>>2];label$7:{label$8:{if(($4_1|0)==4){$0_1=HEAP32[$1_1+7062396>>2];if(($0_1|0)>0){HEAP32[$1_1+7062396>>2]=$0_1-1;break label$8}$3_1=HEAP32[$1_1+16>>2];$0_1=$3_1+HEAP32[$1_1+7062400>>2]|0;$2_1=($0_1|0)<255?$0_1:255;HEAP32[$7_1+68>>2]=$2_1;$0_1=HEAP32[$1_1+7062404>>2];HEAP32[$7_1+76>>2]=$3_1;$0_1=$3_1-$0_1|0;$8_1=($0_1|0)>0?$0_1:0;HEAP32[$7_1+72>>2]=$8_1;$14_1=$1_1+48|0;$13_1=$1_1+15408|0;$0_1=$1_1+15416|0;$5_1=$1_1+4834144|0;$4_1=0;while(1){if(($4_1|0)!=3){$15_1=$4_1<<2;if(($515(HEAP32[$9_1+12>>2],HEAP32[$1_1+36>>2],HEAP32[$1_1+40>>2],HEAP32[$1_1>>2],HEAP32[$1_1+12>>2],HEAP32[$15_1+($7_1+68|0)>>2],HEAP32[$1_1+20>>2],$5_1,0)|0)<0){break label$6}if(($661(HEAP32[$1_1+36>>2],HEAP32[$1_1+40>>2],$5_1,HEAP32[$1_1+20>>2],$0_1,$13_1)|0)<0){break label$6}if(($580(HEAP32[$9_1>>2],HEAP32[$1_1+36>>2],HEAP32[$1_1+40>>2],HEAP32[$1_1+4>>2],$0_1,HEAP32[$1_1+15408>>2],HEAP32[$1_1+7062384>>2],HEAP32[$1_1+20>>2],HEAP32[$1_1+24>>2],HEAP32[$1_1+32>>2]+184|0,HEAPF64[$1_1+7062416>>3],$14_1,$10_1,HEAP32[$1_1+7062424>>2])|0)<0){break label$6}HEAP32[$15_1+($7_1+56|0)>>2]=HEAP32[$10_1>>2];$4_1=$4_1+1|0;continue}break}label$13:{if(HEAP32[$1_1>>2]!=1){$5_1=HEAP32[$7_1+60>>2];$4_1=HEAP32[$7_1+64>>2];$0_1=HEAP32[$7_1+56>>2];break label$13}HEAP32[$7_1+48>>2]=$2_1;$0_1=HEAP32[$7_1+56>>2];HEAP32[$7_1+52>>2]=$0_1;HEAP32[$7_1+32>>2]=$8_1;$5_1=HEAP32[$7_1+60>>2];HEAP32[$7_1+36>>2]=$5_1;HEAP32[$7_1+40>>2]=$3_1;$4_1=HEAP32[$7_1+64>>2];HEAP32[$7_1+44>>2]=$4_1;$5(0,3,9488,$7_1+32|0)}if(!(($4_1|0)<($5_1|0)|($0_1|0)>($4_1|0))){$2_1=HEAP32[$1_1+7062400>>2];$0_1=HEAP32[$1_1+7062404>>2];label$16:{label$17:{if(($2_1|0)<($0_1|0)){$2_1=$2_1+1|0;break label$17}if(($0_1|0)<($2_1|0)){HEAP32[$1_1+7062404>>2]=$0_1+1;break label$16}HEAP32[$1_1+7062404>>2]=$0_1+1;$2_1=$2_1+1|0}HEAP32[$1_1+7062400>>2]=$2_1}if(($2_1+$3_1|0)>=255){HEAP32[$1_1+7062400>>2]=1;$2_1=1}if(($2_1|0)>=($3_1|0)){HEAP32[$1_1+7062404>>2]=1}HEAP32[$1_1+7062396>>2]=HEAP32[$1_1+7062392>>2];break label$4}$2_1=($0_1|0)<($5_1|0)?$8_1:$2_1;HEAP32[$1_1+16>>2]=$2_1;$0_1=1;$3_1=$2_1-$3_1|0;label$23:{if(($3_1|0)>0){HEAP32[$1_1+7062400>>2]=$3_1;break label$23}HEAP32[$1_1+7062400>>2]=1;$0_1=0-$3_1|0}HEAP32[$1_1+7062404>>2]=$0_1;if(HEAP32[$1_1>>2]==1){HEAP32[$7_1+16>>2]=$2_1;$5(0,3,10183,$7_1+16|0)}HEAP32[$1_1+7062396>>2]=HEAP32[$1_1+7062392>>2];$4_1=HEAP32[$1_1+7062388>>2]}label$26:{switch($4_1-1|0){case 2:$8_1=0;$0_1=-1;label$28:{$2_1=HEAP32[$1_1+7062408>>2];$19_1=HEAP32[$9_1+12>>2];if(($518($2_1,$19_1)|0)<0){break label$28}if(!HEAP32[$2_1>>2]){$3_1=$7(Math_imul(HEAP32[$2_1+8>>2],HEAP32[$2_1+4>>2]));HEAP32[$2_1>>2]=$3_1;if(!$3_1){break label$28}}while(1){label$31:{$0_1=0;$3_1=HEAP32[$2_1+8>>2];if(($8_1|0)>=($3_1|0)){break label$31}while(1){label$33:{$5_1=0;$14_1=0;$3_1=-4;$13_1=HEAP32[$2_1+4>>2];if(($13_1|0)<=($0_1|0)){break label$33}while(1){if(($3_1|0)!=5){label$36:{$4_1=$3_1+$8_1|0;if(($4_1|0)<0|($4_1|0)>=HEAP32[$2_1+8>>2]){break label$36}$24_1=Math_imul($4_1,$13_1);$4_1=-4;while(1){if(($4_1|0)==5){break label$36}$15_1=$0_1+$4_1|0;if(!(($15_1|0)<0|($13_1|0)<=($15_1|0))){$14_1=$14_1+1|0;$5_1=HEAPU8[$19_1+($15_1+$24_1|0)|0]+$5_1|0}$4_1=$4_1+1|0;continue}}$3_1=$3_1+1|0;continue}break}HEAP8[HEAP32[$2_1>>2]+(Math_imul($8_1,$13_1)+$0_1|0)|0]=($5_1|0)/($14_1|0);$0_1=$0_1+1|0;continue}break}$8_1=$8_1+1|0;continue}break}$4_1=0;while(1){if((Math_imul(HEAP32[$2_1+4>>2],$3_1)|0)<=($4_1|0)){break label$28}$3_1=HEAP32[$2_1>>2]+$4_1|0;HEAP8[$3_1|0]=HEAPU8[$3_1|0]-7;$4_1=$4_1+1|0;$3_1=HEAP32[$2_1+8>>2];continue}}$3_1=$0_1;if(($0_1|0)<0){break label$3}$0_1=HEAP32[$1_1+7062408>>2];$3_1=$515(HEAP32[$9_1+12>>2],HEAP32[$0_1+4>>2],HEAP32[$0_1+8>>2],HEAP32[$1_1>>2],HEAP32[$1_1+12>>2],0,0,$1_1+4834144|0,HEAP32[$0_1>>2]);if(($3_1|0)>=0){break label$7}break label$3;case 0:case 1:break label$26;default:break label$8}}$0_1=HEAP32[$1_1+7062396>>2];if(($0_1|0)>0){HEAP32[$1_1+7062396>>2]=$0_1-1;break label$8}$2_1=HEAP32[$9_1+12>>2];$5_1=HEAP32[$1_1+7062408>>2];label$41:{if(($4_1|0)==1){$3_1=0;$8_1=0;$4_1=0;if(($518($5_1,$2_1)|0)<0){$3_1=-1}else{$0_1=0;while(1){$2_1=$5_1+($3_1<<2)|0;$8_1=HEAP32[$2_1+12>>2]+$8_1|0;HEAP32[$2_1+1036>>2]=$8_1;$3_1=$3_1+1|0;$0_1=($0_1&255)+1|0;if(($0_1|0)==($0_1&255)){continue}break}$3_1=0}if(($3_1|0)>=0){$16_1=Math_fround(Math_fround(Math_imul(HEAP32[$5_1+8>>2],HEAP32[$5_1+4>>2])|0)*Math_fround(.5));label$47:{if($16_1=Math_fround(0)){$2_1=~~$16_1>>>0;break label$47}$2_1=0}while(1){$0_1=$4_1;$4_1=$0_1+1|0;$8_1=$0_1&255;if($2_1>>>0>HEAPU32[($5_1+($8_1<<2)|0)+1036>>2]){continue}break}while(1){$3_1=$0_1&255;$0_1=$0_1+1|0;if(($2_1|0)==HEAP32[($5_1+($3_1<<2)|0)+1036>>2]){continue}break}HEAP8[$7_1+68|0]=$3_1+$8_1>>>1;$3_1=0}break label$41}$3_1=0;$0_1=-1;label$52:{if(($518($5_1,$2_1)|0)<0){break label$52}$4_1=1;$0_1=1;while(1){$21_1=Math_fround($21_1+Math_fround(Math_imul(HEAP32[($5_1+($4_1<<2)|0)+12>>2],$4_1)>>>0));$4_1=$4_1+1|0;$0_1=($0_1&255)+1|0;if(($0_1|0)==($0_1&255)){continue}break}$25_1=Math_fround(Math_imul(HEAP32[$5_1+8>>2],HEAP32[$5_1+4>>2])|0);$4_1=0;$0_1=0;while(1){label$55:{$2_1=HEAP32[($5_1+($4_1<<2)|0)+12>>2];$16_1=Math_fround($16_1+Math_fround($2_1>>>0));if($16_1!=Math_fround(0)){$18_1=Math_fround($25_1-$16_1);if($18_1==Math_fround(0)){break label$55}$20_1=Math_fround($20_1+Math_fround(Math_imul($2_1,$4_1)>>>0));$22_1=Math_fround(Math_fround($20_1/$16_1)-Math_fround(Math_fround($21_1-$20_1)/$18_1));$18_1=Math_fround($22_1*Math_fround($22_1*Math_fround($16_1*$18_1)));$2_1=$18_1>$23_1;$23_1=$2_1?$18_1:$23_1;$3_1=$2_1?$4_1:$3_1}$4_1=$4_1+1|0;$0_1=($0_1&255)+1|0;if(($0_1|0)==($0_1&255)){continue}}break}HEAP8[$7_1+68|0]=$3_1;$0_1=0}$3_1=$0_1}if(($3_1|0)<0){break label$3}label$57:{if(HEAP32[$1_1>>2]!=1){break label$57}$0_1=HEAPU8[$7_1+68|0];if(($0_1|0)==HEAP32[$1_1+16>>2]){break label$57}$2_1=HEAP32[$1_1+7062388>>2];HEAP32[$7_1+4>>2]=$0_1;HEAP32[$7_1>>2]=($2_1|0)==1?11076:11638;$5(0,3,10943,$7_1)}HEAP32[$1_1+16>>2]=HEAPU8[$7_1+68|0];HEAP32[$1_1+7062396>>2]=HEAP32[$1_1+7062392>>2]}if(($515(HEAP32[$9_1+12>>2],HEAP32[$1_1+36>>2],HEAP32[$1_1+40>>2],HEAP32[$1_1>>2],HEAP32[$1_1+12>>2],HEAP32[$1_1+16>>2],HEAP32[$1_1+20>>2],$1_1+4834144|0,0)|0)<0){break label$6}}$0_1=$1_1+15416|0;if(($661(HEAP32[$1_1+36>>2],HEAP32[$1_1+40>>2],$1_1+4834144|0,HEAP32[$1_1+20>>2],$0_1,$1_1+15408|0)|0)>=0){break label$5}}$3_1=-1;break label$3}$3_1=-1;if(($580(HEAP32[$9_1>>2],HEAP32[$1_1+36>>2],HEAP32[$1_1+40>>2],HEAP32[$1_1+4>>2],$0_1,HEAP32[$1_1+15408>>2],HEAP32[$1_1+7062384>>2],HEAP32[$1_1+20>>2],HEAP32[$1_1+24>>2],HEAP32[$1_1+32>>2]+184|0,HEAPF64[$1_1+7062416>>3],$1_1+48|0,$10_1,HEAP32[$1_1+7062424>>2])|0)<0){break label$3}}if(HEAP32[$1_1+28>>2]!=1){$0_1=HEAP32[$1_1+4818296>>2];$14_1=($0_1|0)>0?$0_1:0;$8_1=0;while(1){if(($8_1|0)!=($14_1|0)){$2_1=0;$0_1=HEAP32[$1_1+44>>2];$3_1=($0_1|0)>0?$0_1:0;$4_1=(Math_imul($8_1,264)+$1_1|0)+4818304|0;$5_1=-1;$11_1=.5;while(1){if(($2_1|0)!=($3_1|0)){$0_1=($2_1<<8)+$1_1|0;$6_1=+HEAP32[$0_1+48>>2];$12_1=+HEAP32[$4_1>>2]/$6_1;label$63:{if($12_1<.7|$12_1>1.43){break label$63}$12_1=HEAPF64[$0_1+104>>3]-HEAPF64[$4_1+56>>3];$17_1=$12_1*$12_1;$12_1=HEAPF64[$0_1+112>>3]-HEAPF64[$4_1+64>>3];$6_1=($17_1+$12_1*$12_1)/$6_1;if(!($6_1<$11_1)){break label$63}$11_1=$6_1;$5_1=$2_1}$2_1=$2_1+1|0;continue}break}label$64:{if(($5_1|0)<0){break label$64}$3_1=-1;label$65:{label$66:{$13_1=HEAP32[$1_1+24>>2];switch($13_1|0){case 3:case 4:break label$65;case 0:case 1:case 2:break label$66;default:break label$3}}$12_1=HEAPF64[$4_1+32>>3];$3_1=($5_1<<8)+$1_1|0;$0_1=$3_1;if(!($12_1>HEAPF64[$0_1+80>>3])){break label$64}HEAPF64[$0_1+80>>3]=$12_1;$10_1=HEAP32[$4_1+4>>2];HEAP32[$3_1+52>>2]=$10_1;$5_1=0;$0_1=-1;$11_1=1e8;while(1){$6_1=0;$2_1=0;if(($5_1|0)!=4){while(1){if(($2_1|0)!=4){$17_1=$6_1;$15_1=$4_1+($2_1<<4)|0;$19_1=$3_1+(($2_1+$5_1&3)<<4)|0;$6_1=HEAPF64[$15_1+168>>3]-HEAPF64[$19_1+216>>3];$26_1=$6_1*$6_1;$6_1=HEAPF64[$15_1+176>>3]-HEAPF64[$19_1+224>>3];$6_1=$17_1+($26_1+$6_1*$6_1);$2_1=$2_1+1|0;continue}break}if($6_1<$11_1){$11_1=$6_1;$0_1=((HEAP32[$4_1+16>>2]-$5_1|0)+4|0)%4|0}$5_1=$5_1+1|0;continue}break}HEAP32[$3_1- -64>>2]=$0_1;if($13_1>>>0<=1){HEAPF64[$3_1+88>>3]=$12_1;HEAP32[$3_1+56>>2]=$10_1;HEAP32[$3_1+68>>2]=$0_1;break label$64}HEAPF64[$3_1+96>>3]=$12_1;HEAP32[$3_1+60>>2]=$10_1;HEAP32[$3_1+72>>2]=$0_1;break label$64}$6_1=HEAPF64[$4_1+40>>3];$3_1=($5_1<<8)+$1_1|0;$0_1=$3_1;label$73:{if($6_1>HEAPF64[$0_1+88>>3]){$11_1=HEAPF64[$4_1+48>>3];break label$73}$11_1=HEAPF64[$4_1+48>>3];if(!($11_1>HEAPF64[$3_1+96>>3])){break label$64}}HEAPF64[$0_1+88>>3]=$6_1;$0_1=HEAP32[$4_1+8>>2];HEAPF64[$3_1+96>>3]=$11_1;HEAP32[$3_1+56>>2]=$0_1;HEAP32[$3_1+60>>2]=HEAP32[$4_1+12>>2];$5_1=0;$0_1=-1;$11_1=1e8;while(1){$6_1=0;$2_1=0;if(($5_1|0)!=4){while(1){if(($2_1|0)!=4){$17_1=$6_1;$10_1=$4_1+($2_1<<4)|0;$13_1=$3_1+(($2_1+$5_1&3)<<4)|0;$6_1=HEAPF64[$10_1+168>>3]-HEAPF64[$13_1+216>>3];$12_1=$6_1*$6_1;$6_1=HEAPF64[$10_1+176>>3]-HEAPF64[$13_1+224>>3];$6_1=$17_1+($12_1+$6_1*$6_1);$2_1=$2_1+1|0;continue}break}$2_1=$6_1<$11_1;$0_1=$2_1?$5_1:$0_1;$11_1=$2_1?$6_1:$11_1;$5_1=$5_1+1|0;continue}break}$0_1=4-$0_1|0;HEAP32[$3_1+68>>2]=($0_1+HEAP32[$4_1+20>>2]|0)%4;HEAP32[$3_1+72>>2]=($0_1+HEAP32[$4_1+24>>2]|0)%4}$8_1=$8_1+1|0;continue}break}$675($1_1);$2_1=0;$5_1=0;while(1){if(HEAP32[$1_1+4818296>>2]>($2_1|0)){$3_1=Math_imul($2_1,264)+$1_1|0;$4_1=$3_1+4818560|0;$0_1=HEAP32[$4_1>>2];HEAP32[$4_1>>2]=$0_1+1;if(($0_1|0)<=2){if(($2_1|0)!=($5_1|0)){wasm2js_memory_copy((Math_imul($5_1,264)+$1_1|0)+4818304|0,$3_1+4818304|0,264)}$5_1=$5_1+1|0}$2_1=$2_1+1|0;continue}break}HEAP32[$1_1+4818296>>2]=$5_1;$0_1=HEAP32[$1_1+44>>2];$3_1=($0_1|0)>0?$0_1:0;$0_1=0;while(1){label$84:{label$85:{if(($0_1|0)==($3_1|0)){break label$85}$2_1=($0_1<<8)+$1_1|0;$8_1=HEAP32[$2_1+52>>2];if(($8_1|0)<0){break label$84}$10_1=$2_1+48|0;$2_1=0;$4_1=($5_1|0)>0?$5_1:0;while(1){label$87:{if(($2_1|0)!=($4_1|0)){if(($8_1|0)!=HEAP32[(Math_imul($2_1,264)+$1_1|0)+4818308>>2]){break label$87}$4_1=$2_1}if(($4_1|0)==($5_1|0)){if(($5_1|0)==60){break label$85}$5_1=$5_1+1|0;HEAP32[$1_1+4818296>>2]=$5_1}$2_1=Math_imul($4_1,264)+$1_1|0;wasm2js_memory_copy($2_1+4818304|0,$10_1,256);HEAP32[$2_1+4818560>>2]=1;break label$84}$2_1=$2_1+1|0;continue}}$3_1=0;if(HEAP32[$1_1+28>>2]==2){break label$3}$0_1=0;label$90:while(1){if(($0_1|0)>=($5_1|0)){break label$3}$2_1=0;$10_1=HEAP32[$1_1+44>>2];$4_1=($10_1|0)>0?$10_1:0;$8_1=(Math_imul($0_1,264)+$1_1|0)+4818304|0;while(1){label$92:{if(($2_1|0)!=($4_1|0)){$14_1=($2_1<<8)+$1_1|0;$11_1=+HEAP32[$14_1+48>>2];$6_1=+HEAP32[$8_1>>2]/$11_1;if($6_1<.7|$6_1>1.43){break label$92}$6_1=HEAPF64[$14_1+104>>3]-HEAPF64[$8_1+56>>3];$17_1=$6_1*$6_1;$6_1=HEAPF64[$14_1+112>>3]-HEAPF64[$8_1+64>>3];if(!(($17_1+$6_1*$6_1)/$11_1<.5)){break label$92}}else{$2_1=$4_1}if(($2_1|0)==($10_1|0)){wasm2js_memory_copy((($10_1<<8)+$1_1|0)+48|0,$8_1,256);HEAP32[$1_1+44>>2]=HEAP32[$1_1+44>>2]+1;$5_1=HEAP32[$1_1+4818296>>2]}$0_1=$0_1+1|0;continue label$90}$2_1=$2_1+1|0;continue}}}$0_1=$0_1+1|0;continue}}$675($1_1);$3_1=0}global$0=$7_1+80|0}global$0=$9_1+48|0;return $3_1|0}function $726($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){var $8_1=Math_fround(0),$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=Math_fround(0),$14_1=Math_fround(0),$15_1=Math_fround(0),$16_1=Math_fround(0),$17_1=0,$18_1=0,$19_1=Math_fround(0),$20_1=0,$21_1=0,$22_1=Math_fround(0),$23_1=Math_fround(0),$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=0,$32_1=0,$33_1=0,$34_1=Math_fround(0),$35_1=Math_fround(0),$36_1=0;$17_1=global$0-48|0;global$0=$17_1;$24_1=$459($17_1+32|0,$12($3_1)<<2);$25_1=$459($17_1+16|0,$12($3_1)<<2);label$1:{while(1){if($12($3_1)>>>0<=$11_1>>>0){HEAP32[$0_1+64>>2]=10;HEAP32[$0_1+60>>2]=12;HEAP32[$0_1+56>>2]=0;HEAP32[$0_1+52>>2]=0;HEAP32[$0_1+36>>2]=-1082130432;HEAP32[$0_1+40>>2]=1065353216;$8_1=Math_fround($5_1|0);$8_1=Math_fround(Math_fround($8_1*Math_fround(.20000000298023224))+$8_1);HEAPF32[$0_1+32>>2]=$8_1;HEAPF32[$0_1+28>>2]=-$8_1;$8_1=Math_fround($4_1|0);$8_1=Math_fround(Math_fround($8_1*Math_fround(.20000000298023224))+$8_1);HEAPF32[$0_1+24>>2]=$8_1;HEAPF32[$0_1+20>>2]=-$8_1;HEAP32[$0_1+44>>2]=1092616192;HEAP32[$0_1+84>>2]=0;HEAP32[$0_1+88>>2]=0;$8_1=$253(Math_fround(10));HEAP8[$0_1+16|0]=1;HEAPF32[$0_1+48>>2]=Math_fround(1)/$8_1;$1_1=$0_1+92|0;$701($1_1);HEAPF32[$0_1+12>>2]=$7_1>>1;HEAPF32[$0_1+8>>2]=$6_1>>1;HEAP32[$0_1+4>>2]=$7_1;HEAP32[$0_1>>2]=$6_1;$29_1=$9($24_1,0);$30_1=$9($25_1,0);$9_1=$12($3_1);$3_1=0;$11_1=global$0-16|0;global$0=$11_1;$701($1_1);if($9_1){$26_1=$0_1+112|0;$232($26_1,$9_1<<2);$27_1=$0_1+124|0;$223($27_1,$9_1);if(HEAPU8[$0_1+16|0]){label$6:{$21_1=global$0-16|0;global$0=$21_1;$1_1=$269(HEAP32[$0_1>>2],HEAP32[$0_1+4>>2]);$12_1=$459($21_1,$9_1);label$7:{label$8:{if(($9_1|0)>0){if(HEAP32[$0_1>>2]<=0){break label$8}if(HEAP32[$0_1+4>>2]<=0){break label$7}$2_1=$30_1+12|0;$4_1=$29_1+12|0;$8_1=Math_fround($1_1|0);$6_1=0;while(1)if(($6_1|0)==($9_1|0)){$10_1=$9($12_1,0);$1_1=$21($12_1);$20_1=((($1_1|0)/2|0)+($1_1&1)|0)-1|0;$6_1=0;label$12:{label$13:{if(($1_1|0)>0){if(($20_1|0)<=0){break label$13}$7_1=$1_1-1|0;$31_1=$20_1-1|0;$36_1=$10_1+($31_1<<2)|0;while(1){$8_1=HEAPF32[$36_1>>2];$1_1=$7_1;$2_1=$6_1;if(($1_1|0)>($6_1|0)){while(1){$4_1=$2_1;while(1){$2_1=$4_1;$4_1=$4_1+1|0;$32_1=$10_1+($2_1<<2)|0;if($8_1>HEAPF32[$32_1>>2]){continue}break}$5_1=$1_1;while(1){$1_1=$5_1;$5_1=$1_1-1|0;$33_1=$10_1+($1_1<<2)|0;if($8_1>2]){continue}break}if(($1_1|0)>=($2_1|0)){$789($32_1,$33_1);$2_1=$4_1;$1_1=$5_1}if(($1_1|0)>=($2_1|0)){continue}break}$7_1=($2_1|0)<($20_1|0)?$7_1:$1_1;$6_1=($1_1|0)<($31_1|0)?$2_1:$6_1;continue}break}break label$12}$3($0($0($2($0($0($0(71248,21144),21399),3305),53),3802),21577));fimport$0();abort()}$3($0($0($2($0($0($0(71248,21778),21399),3305),54),3802),21807));fimport$0();abort()}$8_1=Math_fround($8_1*Math_fround(.25));$13_1=Math_fround(Math_ceil(Math_fround(Math_fround(HEAPF32[$0_1+24>>2]-HEAPF32[$0_1+20>>2])/$8_1)));label$21:{if(Math_fround(Math_abs($13_1))>2]=$269(5,$1_1);$8_1=Math_fround(Math_ceil(Math_fround(Math_fround(HEAPF32[$0_1+32>>2]-HEAPF32[$0_1+28>>2])/$8_1)));label$23:{if(Math_fround(Math_abs($8_1))>2]=$1_1;$1_1=Math_imul($1_1,HEAP32[$0_1+52>>2]);HEAP32[$0_1+84>>2]=$1_1;HEAP32[$0_1+88>>2]=Math_imul($1_1,HEAP32[$0_1+60>>2]);$79($12_1);global$0=$21_1+16|0;break label$6}else{$1_1=$6_1<<4;$13_1=$312(HEAPF32[$1_1+$4_1>>2],HEAPF32[$1_1+$2_1>>2]);HEAPF32[$9($12_1,$6_1)>>2]=$13_1*$8_1;$6_1=$6_1+1|0;continue}}$3($0($0($2($0($0($0(71248,14044),2209),3305),208),3802),14473));break label$1}$3($0($0($2($0($0($0(71248,15048),2209),3305),209),3802),15477));break label$1}$3($0($0($2($0($0($0(71248,15849),2209),3305),210),3802),16131));break label$1}}$20_1=($9_1|0)>0?$9_1:0;$2_1=0;while(1){if(($3_1|0)==($20_1|0)){$232($26_1,$2_1<<2);$223($27_1,$2_1)}else{$1_1=$3_1<<4;$4_1=$1_1+$29_1|0;$19_1=HEAPF32[$4_1>>2];$22_1=HEAPF32[$4_1+4>>2];$15_1=HEAPF32[$4_1+12>>2];$5_1=$1_1+$30_1|0;$13_1=HEAPF32[$5_1>>2];$14_1=HEAPF32[$5_1+4>>2];$16_1=HEAPF32[$5_1+12>>2];$1_1=global$0-16|0;global$0=$1_1;$8_1=Math_fround(HEAPF32[$4_1+8>>2]-HEAPF32[$5_1+8>>2]);HEAPF32[$11_1+4>>2]=$8_1;$18_1=6.283185307179586;$28_1=+$8_1;label$29:{if(!($28_1<=-3.141592653589793)){$18_1=-6.283185307179586;if(!($28_1>3.141592653589793)){break label$29}}$8_1=Math_fround($18_1+$28_1);HEAPF32[$11_1+4>>2]=$8_1}label$31:{label$32:{$18_1=+$8_1;if($18_1>-3.141592653589793){if(!($18_1<=3.141592653589793)){break label$32}$8_1=$312($15_1,$16_1);HEAPF32[$11_1>>2]=$8_1;$15_1=HEAPF32[$11_1+4>>2];$16_1=$700($15_1);$15_1=$699($15_1);$16_1=Math_fround($16_1*$8_1);HEAPF32[$1_1+12>>2]=$16_1;HEAPF32[$1_1>>2]=$16_1;$8_1=Math_fround($15_1*$8_1);HEAPF32[$1_1+8>>2]=$8_1;HEAPF32[$1_1+4>>2]=-$8_1;HEAPF32[$11_1>>2]=$253(HEAPF32[$11_1>>2])*HEAPF32[$0_1+48>>2];$8_1=HEAPF32[$1_1+8>>2];$15_1=HEAPF32[$1_1+12>>2];$23_1=$19_1;$19_1=HEAPF32[$1_1>>2];$16_1=HEAPF32[$1_1+4>>2];HEAPF32[$11_1+12>>2]=Math_fround($23_1-Math_fround(Math_fround($19_1*$13_1)+Math_fround($16_1*$14_1)))+Math_fround(Math_fround($19_1*HEAPF32[$0_1+8>>2])+Math_fround($16_1*HEAPF32[$0_1+12>>2]));HEAPF32[$11_1+8>>2]=Math_fround($22_1-Math_fround(Math_fround($8_1*$13_1)+Math_fround($15_1*$14_1)))+Math_fround(Math_fround($8_1*HEAPF32[$0_1+8>>2])+Math_fround($15_1*HEAPF32[$0_1+12>>2]));global$0=$1_1+16|0;break label$31}$3($0($0($2($0($0($0(71248,8390),16352),3305),468),3802),9021));break label$1}$3($0($0($2($0($0($0(71248,9787),16352),3305),469),3802),9021));break label$1}$8_1=HEAPF32[$11_1+8>>2];$15_1=HEAPF32[$11_1+4>>2];$13_1=HEAPF32[$11_1>>2];$6_1=0;label$34:{label$36:{label$37:{label$38:{label$39:{label$40:{label$41:{label$42:{label$43:{$14_1=HEAPF32[$11_1+12>>2];$19_1=HEAPF32[$0_1+20>>2];label$44:{if($14_1<$19_1){break label$44}$22_1=HEAPF32[$0_1+24>>2];if($22_1<=$14_1){break label$44}$16_1=HEAPF32[$0_1+28>>2];if($16_1>$8_1){break label$44}$23_1=HEAPF32[$0_1+32>>2];if($23_1<=$8_1){break label$44}$18_1=+$15_1;if($18_1<=-3.141592653589793|$18_1>3.141592653589793){break label$44}$34_1=HEAPF32[$0_1+36>>2];if($13_1<$34_1){break label$44}$35_1=HEAPF32[$0_1+40>>2];if($13_1>=$35_1){break label$44}if(!($14_1>=$19_1)){break label$43}if(!($14_1<$22_1)){break label$42}if(!($8_1>=$16_1)){break label$41}if(!($8_1<$23_1)){break label$40}if(!($18_1>-3.141592653589793)){break label$39}if(!($18_1<=3.141592653589793)){break label$38}if(!($13_1>=$34_1)){break label$37}if(!($13_1<$35_1)){break label$36}$1_1=HEAP32[$0_1+52>>2];$19_1=$14_1;$14_1=HEAPF32[$0_1+20>>2];HEAPF32[$0_1+68>>2]=$312(Math_fround($19_1-$14_1),Math_fround(HEAPF32[$0_1+24>>2]-$14_1))*Math_fround($1_1|0);$1_1=HEAP32[$0_1+56>>2];$14_1=$8_1;$8_1=HEAPF32[$0_1+28>>2];HEAPF32[$0_1+72>>2]=$312(Math_fround($14_1-$8_1),Math_fround(HEAPF32[$0_1+32>>2]-$8_1))*Math_fround($1_1|0);HEAPF32[$0_1+76>>2]=(+$15_1+3.141592653589793)*.15915494309189535*+HEAP32[$0_1+60>>2];$1_1=HEAP32[$0_1+64>>2];$8_1=HEAPF32[$0_1+36>>2];HEAPF32[$0_1+80>>2]=$312(Math_fround($13_1-$8_1),Math_fround(HEAPF32[$0_1+40>>2]-$8_1))*Math_fround($1_1|0);$8_1=Math_fround(Math_floor(Math_fround(HEAPF32[$0_1+68>>2]+Math_fround(-.5))));$13_1=Math_fround(Math_floor(Math_fround(HEAPF32[$0_1+76>>2]+Math_fround(-.5))));label$45:{if(Math_fround(Math_abs($13_1))>2]+Math_fround(-.5))));$4_1=Math_fround(Math_abs($8_1))=HEAP32[$0_1+52>>2]){break label$44}$7_1=0;$12_1=$4_1+1|0;if(($12_1|0)>=HEAP32[$0_1+56>>2]){break label$34}$8_1=Math_fround(Math_floor(Math_fround(HEAPF32[$0_1+80>>2]+Math_fround(-.5))));$5_1=Math_fround(Math_abs($8_1))=HEAP32[$0_1+64>>2]){break label$44}$10_1=HEAP32[$0_1+60>>2];$6_1=($21_1+$10_1|0)%($10_1|0)|0;$102($0_1,$103($0_1,$1_1,$4_1,$6_1,$5_1));$102($0_1,$103($0_1,$9_1,$4_1,$6_1,$5_1));$102($0_1,$103($0_1,$9_1,$12_1,$6_1,$5_1));$10_1=($6_1+1|0)%($10_1|0)|0;$102($0_1,$103($0_1,$9_1,$12_1,$10_1,$5_1));$102($0_1,$103($0_1,$9_1,$12_1,$10_1,$7_1));$102($0_1,$103($0_1,$9_1,$12_1,$6_1,$7_1));$102($0_1,$103($0_1,$9_1,$4_1,$10_1,$5_1));$102($0_1,$103($0_1,$9_1,$4_1,$10_1,$7_1));$102($0_1,$103($0_1,$9_1,$4_1,$6_1,$7_1));$102($0_1,$103($0_1,$1_1,$12_1,$6_1,$5_1));$102($0_1,$103($0_1,$1_1,$12_1,$10_1,$5_1));$102($0_1,$103($0_1,$1_1,$12_1,$10_1,$7_1));$102($0_1,$103($0_1,$1_1,$12_1,$6_1,$7_1));$102($0_1,$103($0_1,$1_1,$4_1,$10_1,$5_1));$102($0_1,$103($0_1,$1_1,$4_1,$10_1,$7_1));$102($0_1,$103($0_1,$1_1,$4_1,$6_1,$7_1));$6_1=1}$7_1=$6_1;break label$34}$3($0($0($2($0($0($0(71248,1104),16352),3305),360),3802),4202));break label$1}$3($0($0($2($0($0($0(71248,4961),16352),3305),361),3802),4202));break label$1}$3($0($0($2($0($0($0(71248,5971),16352),3305),362),3802),6579));break label$1}$3($0($0($2($0($0($0(71248,7606),16352),3305),363),3802),6579));break label$1}$3($0($0($2($0($0($0(71248,8390),16352),3305),364),3802),9021));break label$1}$3($0($0($2($0($0($0(71248,9787),16352),3305),365),3802),9021));break label$1}$3($0($0($2($0($0($0(71248,10576),16352),3305),366),3802),11123));break label$1}$3($0($0($2($0($0($0(71248,11803),16352),3305),367),3802),11123));break label$1}if($7_1){$1_1=$9($26_1,$2_1<<2);HEAPF32[$1_1>>2]=HEAPF32[$0_1+68>>2];HEAPF32[$1_1+4>>2]=HEAPF32[$0_1+72>>2];HEAPF32[$1_1+8>>2]=HEAPF32[$0_1+76>>2];HEAPF32[$1_1+12>>2]=HEAPF32[$0_1+80>>2];HEAP32[$9($27_1,$2_1)>>2]=$3_1;$2_1=$2_1+1|0}$3_1=$3_1+1|0;continue}break}}global$0=$11_1+16|0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$17_1+12>>2]=0;HEAP32[$17_1+8>>2]=-1;$0_1=$267($1_1+8|0,$466($0_1+92|0));while(1){if($78($0_1,$267($1_1,$23()))){$2_1=$63($0_1);if(HEAPF32[$17_1+12>>2]>2])){HEAP32[$17_1+8>>2]=HEAP32[$63($0_1)>>2];HEAPF32[$17_1+12>>2]=HEAPU32[$63($0_1)+4>>2]}$728($0_1);continue}break}global$0=$1_1+16|0;$0_1=HEAP32[$17_1+8>>2];$8_1=HEAPF32[$17_1+12>>2];$79($25_1);$79($24_1);global$0=$17_1+48|0;$0_1=$8_1>2]);$12_1=$59($2_1,HEAP32[$29($3_1,$11_1)+4>>2]);$20_1=$11_1<<2;$10_1=$9($24_1,$20_1);HEAPF32[$10_1>>2]=HEAPF32[$9_1>>2];HEAPF32[$10_1+4>>2]=HEAPF32[$9_1+4>>2];HEAPF32[$10_1+8>>2]=HEAPF32[$9_1+8>>2];HEAPF32[$10_1+12>>2]=HEAPF32[$9_1+12>>2];$9_1=$9($25_1,$20_1);HEAPF32[$9_1>>2]=HEAPF32[$12_1>>2];HEAPF32[$9_1+4>>2]=HEAPF32[$12_1+4>>2];HEAPF32[$9_1+8>>2]=HEAPF32[$12_1+8>>2];HEAPF32[$9_1+12>>2]=HEAPF32[$12_1+12>>2];$11_1=$11_1+1|0;continue}break}return $0_1}fimport$0();abort()}function $986($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=+$1_1;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0;$11_1=global$0-560|0;global$0=$11_1;HEAP32[$11_1+44>>2]=0;wasm2js_scratch_store_f64(+$1_1);$6_1=wasm2js_scratch_load_i32(1)|0;wasm2js_scratch_load_i32(0)|0;label$1:{if(($6_1|0)<0){$18_1=1;$21_1=28500;$1_1=-$1_1;wasm2js_scratch_store_f64(+$1_1);$6_1=wasm2js_scratch_load_i32(1)|0;wasm2js_scratch_load_i32(0)|0;break label$1}if($4_1&2048){$18_1=1;$21_1=28503;break label$1}$18_1=$4_1&1;$21_1=$18_1?28506:28501;$24_1=!$18_1}label$4:{if(($6_1&2146435072)==2146435072){$3_1=$18_1+3|0;$93($0_1,32,$2_1,$3_1,$4_1&-65537);$85($0_1,$21_1,$18_1);$5_1=$5_1&32;$85($0_1,$1_1!=$1_1?$5_1?30895:34505:$5_1?31303:34913,3);$93($0_1,32,$2_1,$3_1,$4_1^8192);$8_1=($2_1|0)<($3_1|0)?$3_1:$2_1;break label$4}$20_1=$11_1+16|0;label$6:{label$7:{label$8:{$1_1=$603($1_1,$11_1+44|0);$1_1=$1_1+$1_1;if($1_1!=0){$6_1=HEAP32[$11_1+44>>2];HEAP32[$11_1+44>>2]=$6_1-1;$17_1=$5_1|32;if(($17_1|0)!=97){break label$8}break label$6}$17_1=$5_1|32;if(($17_1|0)==97){break label$6}$10_1=HEAP32[$11_1+44>>2];$12_1=($3_1|0)<0?6:$3_1;break label$7}$10_1=$6_1-29|0;HEAP32[$11_1+44>>2]=$10_1;$1_1=$1_1*268435456;$12_1=($3_1|0)<0?6:$3_1}$15_1=($11_1+48|0)+(($10_1|0)<0?0:288)|0;$7_1=$15_1;while(1){if($1_1<4294967296&$1_1>=0){$3_1=~~$1_1>>>0}else{$3_1=0}HEAP32[$7_1>>2]=$3_1;$7_1=$7_1+4|0;$1_1=($1_1-+($3_1>>>0))*1e9;if($1_1!=0){continue}break}label$13:{if(($10_1|0)<=0){$3_1=$10_1;$6_1=$7_1;$9_1=$15_1;break label$13}$9_1=$15_1;$3_1=$10_1;while(1){$3_1=($3_1|0)<29?$3_1:29;$6_1=$7_1-4|0;label$16:{if($9_1>>>0>$6_1>>>0){break label$16}$8_1=0;while(1){$14_1=HEAP32[$6_1>>2];$13_1=$3_1&31;$22_1=$8_1;if(($3_1&63)>>>0>=32){$8_1=$14_1<<$13_1;$14_1=0}else{$8_1=(1<<$13_1)-1&$14_1>>>32-$13_1;$14_1=$14_1<<$13_1}$13_1=$22_1+$14_1|0;$8_1=$8_1+$23_1|0;$8_1=$13_1>>>0<$14_1>>>0?$8_1+1|0:$8_1;$8_1=__wasm_i64_udiv($13_1,$8_1,1e9);$14_1=__wasm_i64_mul($8_1,i64toi32_i32$HIGH_BITS,1e9,0);HEAP32[$6_1>>2]=$13_1-$14_1;$6_1=$6_1-4|0;if($9_1>>>0<=$6_1>>>0){continue}break}if(!$8_1){break label$16}$9_1=$9_1-4|0;HEAP32[$9_1>>2]=$8_1}while(1){$6_1=$7_1;if($9_1>>>0<$6_1>>>0){$7_1=$6_1-4|0;if(!HEAP32[$7_1>>2]){continue}}break}$3_1=HEAP32[$11_1+44>>2]-$3_1|0;HEAP32[$11_1+44>>2]=$3_1;$7_1=$6_1;if(($3_1|0)>0){continue}break}}if(($3_1|0)<0){$19_1=(($12_1+25>>>0)/9|0)+1|0;$13_1=($17_1|0)==102;while(1){$3_1=0-$3_1|0;$8_1=($3_1|0)<9?$3_1:9;label$22:{if($6_1>>>0<=$9_1>>>0){$7_1=HEAP32[$9_1>>2];break label$22}$14_1=1e9>>>$8_1|0;$23_1=-1<<$8_1^-1;$3_1=0;$7_1=$9_1;while(1){$22_1=$3_1;$3_1=HEAP32[$7_1>>2];HEAP32[$7_1>>2]=$22_1+($3_1>>>$8_1|0);$3_1=Math_imul($14_1,$3_1&$23_1);$7_1=$7_1+4|0;if($7_1>>>0<$6_1>>>0){continue}break}$7_1=HEAP32[$9_1>>2];if(!$3_1){break label$22}HEAP32[$6_1>>2]=$3_1;$6_1=$6_1+4|0}$3_1=$8_1+HEAP32[$11_1+44>>2]|0;HEAP32[$11_1+44>>2]=$3_1;$9_1=(!$7_1<<2)+$9_1|0;$7_1=$13_1?$15_1:$9_1;$6_1=$6_1-$7_1>>2>($19_1|0)?$7_1+($19_1<<2)|0:$6_1;if(($3_1|0)<0){continue}break}}$3_1=0;label$25:{if($6_1>>>0<=$9_1>>>0){break label$25}$3_1=Math_imul($15_1-$9_1>>2,9);$7_1=10;$8_1=HEAP32[$9_1>>2];if($8_1>>>0<10){break label$25}while(1){$3_1=$3_1+1|0;$7_1=Math_imul($7_1,10);if($8_1>>>0>=$7_1>>>0){continue}break}}$7_1=($12_1-(($17_1|0)==102?0:$3_1)|0)-(($17_1|0)==103&($12_1|0)!=0)|0;if(($7_1|0)<(Math_imul($6_1-$15_1>>2,9)-9|0)){$8_1=$7_1+9216|0;$13_1=($8_1|0)/9|0;$10_1=(((($10_1|0)<0?4:292)+$11_1|0)+($13_1<<2)|0)-4048|0;$7_1=10;$8_1=$8_1-Math_imul($13_1,9)|0;if(($8_1|0)<=7){while(1){$7_1=Math_imul($7_1,10);$8_1=$8_1+1|0;if(($8_1|0)!=8){continue}break}}$13_1=HEAP32[$10_1>>2];$19_1=($13_1>>>0)/($7_1>>>0)|0;$8_1=$13_1-Math_imul($7_1,$19_1)|0;$14_1=$10_1+4|0;label$30:{if(!$8_1&($14_1|0)==($6_1|0)){break label$30}label$31:{if(!($19_1&1)){$1_1=9007199254740992;if(!(HEAP8[$10_1-4|0]&1)|(($7_1|0)!=1e9|$9_1>>>0>=$10_1>>>0)){break label$31}}$1_1=9007199254740994}$16_1=($6_1|0)==($14_1|0)?1:1.5;$14_1=$7_1>>>1|0;$16_1=$8_1>>>0<$14_1>>>0?.5:($14_1|0)==($8_1|0)?$16_1:1.5;if(!(HEAPU8[$21_1|0]!=45|$24_1)){$16_1=-$16_1;$1_1=-$1_1}$8_1=$13_1-$8_1|0;HEAP32[$10_1>>2]=$8_1;if($1_1+$16_1==$1_1){break label$30}$3_1=$7_1+$8_1|0;HEAP32[$10_1>>2]=$3_1;if($3_1>>>0>=1e9){while(1){HEAP32[$10_1>>2]=0;$10_1=$10_1-4|0;if($10_1>>>0<$9_1>>>0){$9_1=$9_1-4|0;HEAP32[$9_1>>2]=0}$3_1=HEAP32[$10_1>>2]+1|0;HEAP32[$10_1>>2]=$3_1;if($3_1>>>0>999999999){continue}break}}$3_1=Math_imul($15_1-$9_1>>2,9);$7_1=10;$8_1=HEAP32[$9_1>>2];if($8_1>>>0<10){break label$30}while(1){$3_1=$3_1+1|0;$7_1=Math_imul($7_1,10);if($8_1>>>0>=$7_1>>>0){continue}break}}$7_1=$10_1+4|0;$6_1=$6_1>>>0>$7_1>>>0?$7_1:$6_1}while(1){$7_1=$6_1;$8_1=$6_1>>>0<=$9_1>>>0;if(!$8_1){$6_1=$7_1-4|0;if(!HEAP32[$6_1>>2]){continue}}break}label$40:{if(($17_1|0)!=103){$10_1=$4_1&8;break label$40}$6_1=$12_1?$12_1:1;$10_1=($6_1|0)>($3_1|0)&($3_1|0)>-5;$12_1=($10_1?$3_1^-1:-1)+$6_1|0;$5_1=($10_1?-1:-2)+$5_1|0;$10_1=$4_1&8;if($10_1){break label$40}$6_1=-9;label$42:{if($8_1){break label$42}$13_1=HEAP32[$7_1-4>>2];if(!$13_1){break label$42}$8_1=10;$6_1=0;if(($13_1>>>0)%10|0){break label$42}while(1){$10_1=$6_1;$6_1=$6_1+1|0;$8_1=Math_imul($8_1,10);if(!(($13_1>>>0)%($8_1>>>0)|0)){continue}break}$6_1=$10_1^-1}$8_1=Math_imul($7_1-$15_1>>2,9);if(($5_1&-33)==70){$10_1=0;$6_1=($6_1+$8_1|0)-9|0;$6_1=($6_1|0)>0?$6_1:0;$12_1=($6_1|0)>($12_1|0)?$12_1:$6_1;break label$40}$10_1=0;$6_1=(($3_1+$8_1|0)+$6_1|0)-9|0;$6_1=($6_1|0)>0?$6_1:0;$12_1=($6_1|0)>($12_1|0)?$12_1:$6_1}$8_1=-1;$17_1=$10_1|$12_1;if((($17_1?2147483645:2147483646)|0)<($12_1|0)){break label$4}$13_1=((($17_1|0)!=0)+$12_1|0)+1|0;$14_1=$5_1&-33;label$45:{if(($14_1|0)==70){if(($13_1^2147483647)<($3_1|0)){break label$4}$6_1=($3_1|0)>0?$3_1:0;break label$45}$6_1=$3_1>>31;$6_1=$246(($6_1^$3_1)-$6_1|0,0,$20_1);if(($20_1-$6_1|0)<=1){while(1){$6_1=$6_1-1|0;HEAP8[$6_1|0]=48;if(($20_1-$6_1|0)<2){continue}break}}$19_1=$6_1-2|0;HEAP8[$19_1|0]=$5_1;HEAP8[$6_1-1|0]=($3_1|0)<0?45:43;$6_1=$20_1-$19_1|0;if(($6_1|0)>($13_1^2147483647)){break label$4}}$3_1=$6_1+$13_1|0;if(($3_1|0)>($18_1^2147483647)){break label$4}$5_1=$3_1+$18_1|0;$93($0_1,32,$2_1,$5_1,$4_1);$85($0_1,$21_1,$18_1);$93($0_1,48,$2_1,$5_1,$4_1^65536);label$49:{label$50:{label$51:{if(($14_1|0)==70){$6_1=$11_1+16|0;$3_1=$6_1|8;$10_1=$6_1|9;$8_1=$9_1>>>0>$15_1>>>0?$15_1:$9_1;$9_1=$8_1;while(1){$6_1=$246(HEAP32[$9_1>>2],0,$10_1);label$54:{if(($8_1|0)!=($9_1|0)){if($11_1+16>>>0>=$6_1>>>0){break label$54}while(1){$6_1=$6_1-1|0;HEAP8[$6_1|0]=48;if($11_1+16>>>0<$6_1>>>0){continue}break}break label$54}if(($6_1|0)!=($10_1|0)){break label$54}HEAP8[$11_1+24|0]=48;$6_1=$3_1}$85($0_1,$6_1,$10_1-$6_1|0);$9_1=$9_1+4|0;if($15_1>>>0>=$9_1>>>0){continue}break}if($17_1){$85($0_1,36359,1)}if(($12_1|0)<=0|$7_1>>>0<=$9_1>>>0){break label$51}while(1){$6_1=$246(HEAP32[$9_1>>2],0,$10_1);if($6_1>>>0>$11_1+16>>>0){while(1){$6_1=$6_1-1|0;HEAP8[$6_1|0]=48;if($11_1+16>>>0<$6_1>>>0){continue}break}}$85($0_1,$6_1,($12_1|0)<9?$12_1:9);$6_1=$12_1-9|0;$9_1=$9_1+4|0;if($7_1>>>0<=$9_1>>>0){break label$50}$3_1=($12_1|0)>9;$12_1=$6_1;if($3_1){continue}break}break label$50}label$61:{if(($12_1|0)<0){break label$61}$8_1=$7_1>>>0>$9_1>>>0?$7_1:$9_1+4|0;$6_1=$11_1+16|0;$3_1=$6_1|8;$15_1=$6_1|9;$7_1=$9_1;while(1){$6_1=$246(HEAP32[$7_1>>2],0,$15_1);if(($15_1|0)==($6_1|0)){HEAP8[$11_1+24|0]=48;$6_1=$3_1}label$64:{if(($7_1|0)!=($9_1|0)){if($11_1+16>>>0>=$6_1>>>0){break label$64}while(1){$6_1=$6_1-1|0;HEAP8[$6_1|0]=48;if($11_1+16>>>0<$6_1>>>0){continue}break}break label$64}$85($0_1,$6_1,1);$6_1=$6_1+1|0;if(!($10_1|$12_1)){break label$64}$85($0_1,36359,1)}$22_1=$6_1;$6_1=$15_1-$6_1|0;$85($0_1,$22_1,($6_1|0)>($12_1|0)?$12_1:$6_1);$12_1=$12_1-$6_1|0;$7_1=$7_1+4|0;if($8_1>>>0<=$7_1>>>0){break label$61}if(($12_1|0)>=0){continue}break}}$93($0_1,48,$12_1+18|0,18,0);$85($0_1,$19_1,$20_1-$19_1|0);break label$49}$6_1=$12_1}$93($0_1,48,$6_1+9|0,9,0)}$93($0_1,32,$2_1,$5_1,$4_1^8192);$8_1=($2_1|0)<($5_1|0)?$5_1:$2_1;break label$4}$12_1=($5_1<<26>>31&9)+$21_1|0;label$67:{if($3_1>>>0>11){break label$67}$6_1=12-$3_1|0;$16_1=16;while(1){$16_1=$16_1*16;$6_1=$6_1-1|0;if($6_1){continue}break}if(HEAPU8[$12_1|0]==45){$1_1=-($16_1+(-$1_1-$16_1));break label$67}$1_1=$1_1+$16_1-$16_1}$7_1=HEAP32[$11_1+44>>2];$6_1=$7_1>>31;$6_1=$246(($6_1^$7_1)-$6_1|0,0,$20_1);if(($20_1|0)==($6_1|0)){HEAP8[$11_1+15|0]=48;$6_1=$11_1+15|0}$10_1=$18_1|2;$9_1=$5_1&32;$7_1=HEAP32[$11_1+44>>2];$15_1=$6_1-2|0;HEAP8[$15_1|0]=$5_1+15;HEAP8[$6_1-1|0]=($7_1|0)<0?45:43;$8_1=$4_1&8;$7_1=$11_1+16|0;while(1){$5_1=$7_1;if(Math_abs($1_1)<2147483648){$6_1=~~$1_1}else{$6_1=-2147483648}HEAP8[$7_1|0]=$9_1|HEAPU8[$6_1+50064|0];$1_1=($1_1-+($6_1|0))*16;$7_1=$5_1+1|0;if(!(!($8_1|($3_1|0)>0)&$1_1==0|($7_1-($11_1+16|0)|0)!=1)){HEAP8[$5_1+1|0]=46;$7_1=$5_1+2|0}if($1_1!=0){continue}break}$8_1=-1;$13_1=$20_1-$15_1|0;$5_1=$13_1+$10_1|0;if((2147483645-$5_1|0)<($3_1|0)){break label$4}label$75:{label$76:{if(!$3_1){break label$76}$9_1=$7_1-($11_1+16|0)|0;if(($9_1-2|0)>=($3_1|0)){break label$76}$6_1=$3_1+2|0;break label$75}$9_1=$7_1-($11_1+16|0)|0;$6_1=$9_1}$3_1=$6_1+$5_1|0;$93($0_1,32,$2_1,$3_1,$4_1);$85($0_1,$12_1,$10_1);$93($0_1,48,$2_1,$3_1,$4_1^65536);$85($0_1,$11_1+16|0,$9_1);$93($0_1,48,$6_1-$9_1|0,0,0);$85($0_1,$15_1,$13_1);$93($0_1,32,$2_1,$3_1,$4_1^8192);$8_1=($2_1|0)<($3_1|0)?$3_1:$2_1}global$0=$11_1+560|0;return $8_1|0}function $299($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=Math_fround(0),$8_1=Math_fround(0),$9_1=0,$10_1=0,$11_1=0,$12_1=Math_fround(0),$13_1=0,$14_1=Math_fround(0),$15_1=Math_fround(0),$16_1=0,$17_1=0,$18_1=Math_fround(0),$19_1=0,$20_1=Math_fround(0),$21_1=0,$22_1=Math_fround(0),$23_1=Math_fround(0),$24_1=Math_fround(0),$25_1=Math_fround(0),$26_1=Math_fround(0),$27_1=0,$28_1=Math_fround(0),$29_1=Math_fround(0);if(!$5_1){$5_1=global$0-32|0;global$0=$5_1;$6_1=Math_fround(1e8);label$2:{if(($3_1|0)<4|HEAPF32[$0_1+44>>2]==Math_fround(0)){break label$2}$11_1=$7($3_1<<6);if(!$11_1){$5(0,3,3402,0);$6_1=Math_fround(-1);break label$2}$13_1=$7($3_1<<3);if($13_1){while(1){$10_1=0;if(($9_1|0)==3){$16_1=$3_1<<1;$28_1=Math_fround($3_1|0);label$7:{while(1){$29_1=HEAPF32[$4_1+36>>2];$23_1=HEAPF32[$4_1+32>>2];$14_1=Math_fround(0);$9_1=0;while(1){if(($3_1|0)!=($9_1|0)){$0_1=Math_imul($9_1,12)+$2_1|0;$8_1=HEAPF32[$0_1>>2];$12_1=HEAPF32[$0_1+4>>2];$6_1=Math_fround(Math_fround(Math_fround($23_1*$8_1)+Math_fround($12_1*$29_1))+Math_fround(1));if($6_1==Math_fround(0)){break label$7}$0_1=$9_1<<3;$17_1=$0_1+$1_1|0;$15_1=HEAPF32[$17_1>>2];$22_1=HEAPF32[$4_1+12>>2];$24_1=HEAPF32[$4_1>>2];$26_1=HEAPF32[$4_1+4>>2];$0_1=$0_1+$13_1|0;$18_1=Math_fround(HEAPF32[$4_1+28>>2]+Math_fround(Math_fround(HEAPF32[$4_1+16>>2]*$8_1)+Math_fround($12_1*HEAPF32[$4_1+20>>2])));$20_1=Math_fround(HEAPF32[$17_1+4>>2]-Math_fround($18_1/$6_1));HEAPF32[$0_1+4>>2]=$20_1;$25_1=$15_1;$15_1=Math_fround($22_1+Math_fround(Math_fround($24_1*$8_1)+Math_fround($12_1*$26_1)));$22_1=Math_fround($25_1-Math_fround($15_1/$6_1));HEAPF32[$0_1>>2]=$22_1;$0_1=$11_1+($9_1<<6)|0;$24_1=Math_fround($12_1/$6_1);HEAPF32[$0_1+4>>2]=$24_1;$26_1=Math_fround($8_1/$6_1);HEAPF32[$0_1>>2]=$26_1;$25_1=Math_fround(Math_fround(1)/$6_1);HEAPF32[$0_1+8>>2]=$25_1;HEAP32[$0_1+12>>2]=0;HEAP32[$0_1+16>>2]=0;HEAP32[$0_1+20>>2]=0;$8_1=Math_fround(-$8_1);$6_1=Math_fround($6_1*$6_1);HEAPF32[$0_1+24>>2]=Math_fround($15_1*$8_1)/$6_1;$12_1=Math_fround(-$12_1);HEAPF32[$0_1+28>>2]=Math_fround($15_1*$12_1)/$6_1;HEAP32[$0_1+32>>2]=0;HEAP32[$0_1+36>>2]=0;HEAP32[$0_1+40>>2]=0;HEAPF32[$0_1+44>>2]=$26_1;HEAPF32[$0_1+48>>2]=$24_1;HEAPF32[$0_1+52>>2]=$25_1;HEAPF32[$0_1+56>>2]=Math_fround($18_1*$8_1)/$6_1;HEAPF32[$0_1+60>>2]=Math_fround($18_1*$12_1)/$6_1;$14_1=Math_fround($14_1+Math_fround(Math_fround($22_1*$22_1)+Math_fround($20_1*$20_1)));$9_1=$9_1+1|0;continue}break}label$11:{$6_1=Math_fround($14_1/$28_1);if($6_1Math_fround(.9900000095367432)){break label$11}if(($10_1|0)!=10){break label$12}break label$11}if(($10_1|0)==10){break label$11}}if(($631($5_1,$13_1,$11_1,$16_1)|0)<0){break label$7}HEAPF32[$4_1>>2]=HEAPF32[$5_1>>2]+HEAPF32[$4_1>>2];HEAPF32[$4_1+4>>2]=HEAPF32[$5_1+4>>2]+HEAPF32[$4_1+4>>2];HEAPF32[$4_1+12>>2]=HEAPF32[$5_1+8>>2]+HEAPF32[$4_1+12>>2];HEAPF32[$4_1+16>>2]=HEAPF32[$5_1+12>>2]+HEAPF32[$4_1+16>>2];HEAPF32[$4_1+20>>2]=HEAPF32[$5_1+16>>2]+HEAPF32[$4_1+20>>2];HEAPF32[$4_1+28>>2]=HEAPF32[$5_1+20>>2]+HEAPF32[$4_1+28>>2];HEAPF32[$4_1+32>>2]=HEAPF32[$5_1+24>>2]+HEAPF32[$4_1+32>>2];HEAPF32[$4_1+36>>2]=HEAPF32[$5_1+28>>2]+HEAPF32[$4_1+36>>2];$10_1=$10_1+1|0;$7_1=$6_1;continue}break}$1($11_1);$1($13_1);break label$2}$1($11_1);$1($13_1);$6_1=Math_fround(1e8);break label$2}else{while(1){if(($10_1|0)!=4){$17_1=$10_1<<2;$16_1=$9_1<<4;HEAPF32[$17_1+($16_1+$4_1|0)>>2]=HEAPF32[$17_1+($0_1+$16_1|0)>>2]/HEAPF32[$0_1+44>>2];$10_1=$10_1+1|0;continue}break}$9_1=$9_1+1|0;continue}}}$5(0,3,3402,0);$1($11_1);$6_1=Math_fround(-1)}global$0=$5_1+32|0;return $6_1}$8_1=$6_1;$9_1=global$0-32|0;global$0=$9_1;$6_1=Math_fround(1e8);label$17:{if(($3_1|0)<4|HEAPF32[$0_1+44>>2]==Math_fround(0)){break label$17}$22_1=Math_fround($3_1|0);$6_1=Math_fround($22_1*$8_1);label$18:{if(Math_fround(Math_abs($6_1))5?$5_1:5)-1|0;$11_1=0;while(1){$5_1=0;if(($11_1|0)==3){$27_1=$16_1+($19_1<<2)|0;$11_1=0;label$26:{while(1){$28_1=HEAPF32[$4_1+36>>2];$29_1=HEAPF32[$4_1+32>>2];$5_1=0;while(1){if(($3_1|0)!=($5_1|0)){$0_1=Math_imul($5_1,12)+$2_1|0;$8_1=HEAPF32[$0_1>>2];$12_1=HEAPF32[$0_1+4>>2];$6_1=Math_fround(Math_fround(Math_fround($29_1*$8_1)+Math_fround($12_1*$28_1))+Math_fround(1));if($6_1==Math_fround(0)){break label$26}$0_1=$5_1<<3;$19_1=$0_1+$1_1|0;$20_1=HEAPF32[$19_1>>2];$15_1=HEAPF32[$4_1+12>>2];$23_1=HEAPF32[$4_1>>2];$24_1=HEAPF32[$4_1+4>>2];$0_1=$0_1+$13_1|0;$14_1=Math_fround(HEAPF32[$4_1+28>>2]+Math_fround(Math_fround(HEAPF32[$4_1+16>>2]*$8_1)+Math_fround($12_1*HEAPF32[$4_1+20>>2])));$18_1=Math_fround(HEAPF32[$19_1+4>>2]-Math_fround($14_1/$6_1));HEAPF32[$0_1+4>>2]=$18_1;$25_1=$20_1;$20_1=Math_fround($15_1+Math_fround(Math_fround($23_1*$8_1)+Math_fround($12_1*$24_1)));$15_1=Math_fround($25_1-Math_fround($20_1/$6_1));HEAPF32[$0_1>>2]=$15_1;$0_1=$5_1<<2;$18_1=Math_fround(Math_fround($15_1*$15_1)+Math_fround($18_1*$18_1));HEAPF32[$0_1+$16_1>>2]=$18_1;HEAPF32[$0_1+$17_1>>2]=$18_1;$0_1=$10_1+($5_1<<6)|0;$18_1=Math_fround($12_1/$6_1);HEAPF32[$0_1+4>>2]=$18_1;$15_1=Math_fround($8_1/$6_1);HEAPF32[$0_1>>2]=$15_1;$23_1=Math_fround(Math_fround(1)/$6_1);HEAPF32[$0_1+8>>2]=$23_1;HEAP32[$0_1+12>>2]=0;HEAP32[$0_1+16>>2]=0;HEAP32[$0_1+20>>2]=0;$8_1=Math_fround(-$8_1);$6_1=Math_fround($6_1*$6_1);HEAPF32[$0_1+24>>2]=Math_fround($20_1*$8_1)/$6_1;$12_1=Math_fround(-$12_1);HEAPF32[$0_1+28>>2]=Math_fround($20_1*$12_1)/$6_1;HEAP32[$0_1+32>>2]=0;HEAP32[$0_1+36>>2]=0;HEAP32[$0_1+40>>2]=0;HEAPF32[$0_1+44>>2]=$15_1;HEAPF32[$0_1+48>>2]=$18_1;HEAPF32[$0_1+52>>2]=$23_1;HEAPF32[$0_1+56>>2]=Math_fround($14_1*$8_1)/$6_1;HEAPF32[$0_1+60>>2]=Math_fround($14_1*$12_1)/$6_1;$5_1=$5_1+1|0;continue}break}$611($16_1,$3_1,4,13);$8_1=Math_fround(Math_max(Math_fround(HEAPF32[$27_1>>2]*Math_fround(4)),Math_fround(16)));$12_1=Math_fround($8_1/Math_fround(6));$5_1=0;$6_1=Math_fround(0);while(1){if(($3_1|0)!=($5_1|0)){$14_1=HEAPF32[$16_1+($5_1<<2)>>2];if($14_1>$8_1){$6_1=Math_fround($12_1+$6_1)}else{$14_1=Math_fround(Math_fround(1)-Math_fround($14_1/$8_1));$6_1=Math_fround(Math_fround($12_1*Math_fround(Math_fround(1)-Math_fround(Math_fround($14_1*$14_1)*$14_1)))+$6_1)}$5_1=$5_1+1|0;continue}break}label$34:{$6_1=Math_fround($6_1/$22_1);if($6_1Math_fround(.9900000095367432)){break label$34}if(($11_1|0)!=10){break label$35}break label$34}if(($11_1|0)==10){break label$34}}$19_1=0;$21_1=0;while(1){if(($3_1|0)!=($19_1|0)){$7_1=HEAPF32[$17_1+($19_1<<2)>>2];if($7_1<=$8_1){$0_1=$10_1+($21_1<<5)|0;$7_1=Math_fround(Math_fround(1)-Math_fround($7_1/$8_1));$7_1=Math_fround($7_1*$7_1);$5_1=$10_1+($19_1<<6)|0;HEAPF32[$0_1>>2]=$7_1*HEAPF32[$5_1>>2];HEAPF32[$0_1+4>>2]=$7_1*HEAPF32[$5_1+4>>2];HEAPF32[$0_1+8>>2]=$7_1*HEAPF32[$5_1+8>>2];HEAPF32[$0_1+12>>2]=$7_1*HEAPF32[$5_1+12>>2];HEAPF32[$0_1+16>>2]=$7_1*HEAPF32[$5_1+16>>2];HEAPF32[$0_1+20>>2]=$7_1*HEAPF32[$5_1+20>>2];HEAPF32[$0_1+24>>2]=$7_1*HEAPF32[$5_1+24>>2];HEAPF32[$0_1+28>>2]=$7_1*HEAPF32[$5_1+28>>2];HEAPF32[$0_1+32>>2]=$7_1*HEAPF32[$5_1+32>>2];HEAPF32[$0_1+36>>2]=$7_1*HEAPF32[$5_1+36>>2];HEAPF32[$0_1+40>>2]=$7_1*HEAPF32[$5_1+40>>2];HEAPF32[$0_1+44>>2]=$7_1*HEAPF32[$5_1+44>>2];HEAPF32[$0_1+48>>2]=$7_1*HEAPF32[$5_1+48>>2];HEAPF32[$0_1+52>>2]=$7_1*HEAPF32[$5_1+52>>2];HEAPF32[$0_1+56>>2]=$7_1*HEAPF32[$5_1+56>>2];HEAPF32[$0_1+60>>2]=$7_1*HEAPF32[$5_1+60>>2];$0_1=$13_1+($21_1<<2)|0;$5_1=$13_1+($19_1<<3)|0;HEAPF32[$0_1>>2]=$7_1*HEAPF32[$5_1>>2];HEAPF32[$0_1+4>>2]=$7_1*HEAPF32[$5_1+4>>2];$21_1=$21_1+2|0}$19_1=$19_1+1|0;continue}break}if(($21_1|0)<=5){$1($10_1);$1($13_1);$1($17_1);$1($16_1);$6_1=Math_fround(-1);break label$17}if(($631($9_1,$13_1,$10_1,$21_1)|0)<0){break label$26}HEAPF32[$4_1>>2]=HEAPF32[$9_1>>2]+HEAPF32[$4_1>>2];HEAPF32[$4_1+4>>2]=HEAPF32[$9_1+4>>2]+HEAPF32[$4_1+4>>2];HEAPF32[$4_1+12>>2]=HEAPF32[$9_1+8>>2]+HEAPF32[$4_1+12>>2];HEAPF32[$4_1+16>>2]=HEAPF32[$9_1+12>>2]+HEAPF32[$4_1+16>>2];HEAPF32[$4_1+20>>2]=HEAPF32[$9_1+16>>2]+HEAPF32[$4_1+20>>2];HEAPF32[$4_1+28>>2]=HEAPF32[$9_1+20>>2]+HEAPF32[$4_1+28>>2];HEAPF32[$4_1+32>>2]=HEAPF32[$9_1+24>>2]+HEAPF32[$4_1+32>>2];HEAPF32[$4_1+36>>2]=HEAPF32[$9_1+28>>2]+HEAPF32[$4_1+36>>2];$11_1=$11_1+1|0;$7_1=$6_1;continue}break}$1($10_1);$1($13_1);$1($17_1);$1($16_1);break label$17}$1($10_1);$1($13_1);$1($17_1);$1($16_1);$6_1=Math_fround(1e8);break label$17}else{while(1){if(($5_1|0)!=4){$27_1=$5_1<<2;$21_1=$11_1<<4;HEAPF32[$27_1+($21_1+$4_1|0)>>2]=HEAPF32[$27_1+($0_1+$21_1|0)>>2]/HEAPF32[$0_1+44>>2];$5_1=$5_1+1|0;continue}break}$11_1=$11_1+1|0;continue}}}$5(0,3,3402,0);$1($10_1);$1($13_1);$1($17_1);$6_1=Math_fround(-1)}global$0=$9_1+32|0;return $6_1}function $601($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0;$9_1=global$0-80|0;global$0=$9_1;HEAP32[$9_1+76>>2]=$1_1;$24_1=$9_1+55|0;$18_1=$9_1+56|0;label$1:{label$2:{label$3:{label$4:{label$5:while(1){$10_1=$1_1;if(($15_1^2147483647)<($7_1|0)){break label$4}$15_1=$7_1+$15_1|0;label$6:{label$7:{label$8:{$7_1=$10_1;$8_1=HEAPU8[$7_1|0];if($8_1){while(1){label$11:{$1_1=$8_1&255;label$12:{if(!$1_1){$1_1=$7_1;break label$12}if(($1_1|0)!=37){break label$11}$8_1=$7_1;while(1){if(HEAPU8[$8_1+1|0]!=37){$1_1=$8_1;break label$12}$7_1=$7_1+1|0;$12_1=HEAPU8[$8_1+2|0];$1_1=$8_1+2|0;$8_1=$1_1;if(($12_1|0)==37){continue}break}}$7_1=$7_1-$10_1|0;$23_1=$15_1^2147483647;if(($7_1|0)>($23_1|0)){break label$4}if($0_1){$85($0_1,$10_1,$7_1)}if($7_1){continue label$5}HEAP32[$9_1+76>>2]=$1_1;$7_1=$1_1+1|0;$16_1=-1;if(!(!$132(HEAP8[$1_1+1|0])|HEAPU8[$1_1+2|0]!=36)){$16_1=HEAP8[$1_1+1|0]-48|0;$20_1=1;$7_1=$1_1+3|0}HEAP32[$9_1+76>>2]=$7_1;$13_1=0;$8_1=HEAP8[$7_1|0];$1_1=$8_1-32|0;label$18:{if($1_1>>>0>31){$12_1=$7_1;break label$18}$12_1=$7_1;$1_1=1<<$1_1;if(!($1_1&75913)){break label$18}while(1){$12_1=$7_1+1|0;HEAP32[$9_1+76>>2]=$12_1;$13_1=$1_1|$13_1;$8_1=HEAP8[$7_1+1|0];$1_1=$8_1-32|0;if($1_1>>>0>=32){break label$18}$7_1=$12_1;$1_1=1<<$1_1;if($1_1&75913){continue}break}}label$21:{if(($8_1|0)==42){label$23:{if(!(!$132(HEAP8[$12_1+1|0])|HEAPU8[$12_1+2|0]!=36)){HEAP32[((HEAP8[$12_1+1|0]<<2)+$4_1|0)-192>>2]=10;$8_1=$12_1+3|0;$20_1=1;$1_1=HEAP32[((HEAP8[$12_1+1|0]<<3)+$3_1|0)-384>>2];break label$23}if($20_1){break label$8}$8_1=$12_1+1|0;if(!$0_1){HEAP32[$9_1+76>>2]=$8_1;$20_1=0;$17_1=0;break label$21}$1_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$1_1+4;$20_1=0;$1_1=HEAP32[$1_1>>2]}$17_1=$1_1;HEAP32[$9_1+76>>2]=$8_1;if(($17_1|0)>=0){break label$21}$17_1=0-$17_1|0;$13_1=$13_1|8192;break label$21}$17_1=$600($9_1+76|0);if(($17_1|0)<0){break label$4}$8_1=HEAP32[$9_1+76>>2]}$7_1=0;$11_1=-1;label$26:{if(HEAPU8[$8_1|0]!=46){$1_1=$8_1;$22_1=0;break label$26}if(HEAPU8[$8_1+1|0]==42){label$29:{if(!(!$132(HEAP8[$8_1+2|0])|HEAPU8[$8_1+3|0]!=36)){HEAP32[((HEAP8[$8_1+2|0]<<2)+$4_1|0)-192>>2]=10;$1_1=$8_1+4|0;$11_1=HEAP32[((HEAP8[$8_1+2|0]<<3)+$3_1|0)-384>>2];break label$29}if($20_1){break label$8}$1_1=$8_1+2|0;$11_1=0;if(!$0_1){break label$29}$8_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$8_1+4;$11_1=HEAP32[$8_1>>2]}HEAP32[$9_1+76>>2]=$1_1;$22_1=($11_1^-1)>>>31|0;break label$26}HEAP32[$9_1+76>>2]=$8_1+1;$11_1=$600($9_1+76|0);$1_1=HEAP32[$9_1+76>>2];$22_1=1}label$31:{while(1){$14_1=$7_1;$19_1=$1_1;$7_1=HEAP8[$1_1|0];if($7_1-123>>>0<4294967238){break label$31}$1_1=$19_1+1|0;$7_1=HEAPU8[($7_1+Math_imul($14_1,58)|0)+49535|0];if($7_1-1>>>0<8){continue}break}HEAP32[$9_1+76>>2]=$1_1;$12_1=28;label$33:{label$34:{if(($7_1|0)!=27){if(!$7_1){break label$3}if(($16_1|0)>=0){HEAP32[($16_1<<2)+$4_1>>2]=$7_1;$7_1=($16_1<<3)+$3_1|0;$8_1=HEAP32[$7_1+4>>2];HEAP32[$9_1+64>>2]=HEAP32[$7_1>>2];HEAP32[$9_1+68>>2]=$8_1;break label$34}if(!$0_1){break label$6}$599($9_1- -64|0,$7_1,$2_1,$6_1);break label$33}if(($16_1|0)>=0){break label$3}}$7_1=0;if(!$0_1){continue label$5}}$8_1=$13_1&-65537;$13_1=$13_1&8192?$8_1:$13_1;$16_1=0;$21_1=28490;$12_1=$18_1;label$37:{label$38:{label$39:{label$40:{label$41:{label$42:{label$43:{label$44:{label$45:{label$46:{label$47:{label$48:{label$49:{label$50:{label$51:{label$52:{$7_1=HEAP8[$19_1|0];$7_1=$14_1?($7_1&15)==3?$7_1&-33:$7_1:$7_1;switch($7_1-88|0){case 11:break label$37;case 9:case 13:case 14:case 15:break label$38;case 27:break label$43;case 12:case 17:break label$46;case 23:break label$47;case 0:case 32:break label$48;case 24:break label$49;case 22:break label$50;case 29:break label$51;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break label$7;default:break label$52}}label$53:{switch($7_1-65|0){case 0:case 4:case 5:case 6:break label$38;case 2:break label$41;case 1:case 3:break label$7;default:break label$53}}if(($7_1|0)==83){break label$42}break label$7}$14_1=HEAP32[$9_1+64>>2];$8_1=HEAP32[$9_1+68>>2];$21_1=28490;break label$45}$7_1=0;label$54:{switch($14_1&255){case 0:HEAP32[HEAP32[$9_1+64>>2]>>2]=$15_1;continue label$5;case 1:HEAP32[HEAP32[$9_1+64>>2]>>2]=$15_1;continue label$5;case 2:$10_1=HEAP32[$9_1+64>>2];HEAP32[$10_1>>2]=$15_1;HEAP32[$10_1+4>>2]=$15_1>>31;continue label$5;case 3:HEAP16[HEAP32[$9_1+64>>2]>>1]=$15_1;continue label$5;case 4:HEAP8[HEAP32[$9_1+64>>2]]=$15_1;continue label$5;case 6:HEAP32[HEAP32[$9_1+64>>2]>>2]=$15_1;continue label$5;case 7:break label$54;default:continue label$5}}$10_1=HEAP32[$9_1+64>>2];HEAP32[$10_1>>2]=$15_1;HEAP32[$10_1+4>>2]=$15_1>>31;continue label$5}$11_1=$11_1>>>0>8?$11_1:8;$13_1=$13_1|8;$7_1=120}$10_1=$18_1;$25_1=$7_1&32;$14_1=HEAP32[$9_1+64>>2];$8_1=HEAP32[$9_1+68>>2];if($14_1|$8_1){while(1){$10_1=$10_1-1|0;HEAP8[$10_1|0]=$25_1|HEAPU8[($14_1&15)+50064|0];$26_1=!$8_1&$14_1>>>0>15|($8_1|0)!=0;$19_1=$8_1;$8_1=$8_1>>>4|0;$14_1=($19_1&15)<<28|$14_1>>>4;if($26_1){continue}break}}if(!($13_1&8)|!(HEAP32[$9_1+64>>2]|HEAP32[$9_1+68>>2])){break label$44}$21_1=($7_1>>>4|0)+28490|0;$16_1=2;break label$44}$7_1=$18_1;$10_1=HEAP32[$9_1+68>>2];$8_1=$10_1;$14_1=HEAP32[$9_1+64>>2];if($8_1|$14_1){while(1){$7_1=$7_1-1|0;HEAP8[$7_1|0]=$14_1&7|48;$19_1=!$8_1&$14_1>>>0>7|($8_1|0)!=0;$10_1=$8_1;$8_1=$8_1>>>3|0;$14_1=($10_1&7)<<29|$14_1>>>3;if($19_1){continue}break}}$10_1=$7_1;if(!($13_1&8)){break label$44}$7_1=$18_1-$10_1|0;$11_1=($7_1|0)<($11_1|0)?$11_1:$7_1+1|0;break label$44}$7_1=HEAP32[$9_1+68>>2];$8_1=$7_1;$14_1=HEAP32[$9_1+64>>2];if(($7_1|0)<0){$8_1=0-($8_1+(($14_1|0)!=0)|0)|0;$14_1=0-$14_1|0;HEAP32[$9_1+64>>2]=$14_1;HEAP32[$9_1+68>>2]=$8_1;$16_1=1;$21_1=28490;break label$45}if($13_1&2048){$16_1=1;$21_1=28491;break label$45}$16_1=$13_1&1;$21_1=$16_1?28492:28490}$10_1=$246($14_1,$8_1,$18_1)}if(($11_1|0)<0?$22_1:0){break label$4}$13_1=$22_1?$13_1&-65537:$13_1;$8_1=HEAP32[$9_1+64>>2];$7_1=HEAP32[$9_1+68>>2];if(!(($8_1|$7_1)!=0|$11_1)){$10_1=$18_1;$12_1=$10_1;$11_1=0;break label$7}$7_1=!($7_1|$8_1)+($18_1-$10_1|0)|0;$11_1=($7_1|0)<($11_1|0)?$11_1:$7_1;break label$7}$7_1=HEAP32[$9_1+64>>2];$10_1=$7_1?$7_1:36361;$7_1=$11_1>>>0<2147483647?$11_1:2147483647;$12_1=$444($10_1,0,$7_1);$7_1=$12_1?$12_1-$10_1|0:$7_1;$12_1=$7_1+$10_1|0;if(($11_1|0)>=0){$13_1=$8_1;$11_1=$7_1;break label$7}$13_1=$8_1;$11_1=$7_1;if(HEAPU8[$12_1|0]){break label$4}break label$7}if($11_1){$8_1=HEAP32[$9_1+64>>2];break label$40}$7_1=0;$93($0_1,32,$17_1,0,$13_1);break label$39}HEAP32[$9_1+12>>2]=0;HEAP32[$9_1+8>>2]=HEAP32[$9_1+64>>2];$8_1=$9_1+8|0;HEAP32[$9_1+64>>2]=$8_1;$11_1=-1}$7_1=0;label$70:{while(1){$10_1=HEAP32[$8_1>>2];if(!$10_1){break label$70}$10_1=$588($9_1+4|0,$10_1);$12_1=($10_1|0)<0;if(!($12_1|$10_1>>>0>$11_1-$7_1>>>0)){$8_1=$8_1+4|0;$7_1=$7_1+$10_1|0;if($11_1>>>0>$7_1>>>0){continue}break label$70}break}if($12_1){break label$2}}$12_1=61;if(($7_1|0)<0){break label$3}$93($0_1,32,$17_1,$7_1,$13_1);if(!$7_1){$7_1=0;break label$39}$12_1=0;$8_1=HEAP32[$9_1+64>>2];while(1){$10_1=HEAP32[$8_1>>2];if(!$10_1){break label$39}$10_1=$588($9_1+4|0,$10_1);$12_1=$10_1+$12_1|0;if($12_1>>>0>$7_1>>>0){break label$39}$85($0_1,$9_1+4|0,$10_1);$8_1=$8_1+4|0;if($7_1>>>0>$12_1>>>0){continue}break}}$93($0_1,32,$17_1,$7_1,$13_1^8192);$7_1=($7_1|0)<($17_1|0)?$17_1:$7_1;continue label$5}if(($11_1|0)<0?$22_1:0){break label$4}$12_1=61;$7_1=FUNCTION_TABLE[$5_1|0]($0_1,HEAPF64[$9_1+64>>3],$17_1,$11_1,$13_1,$7_1)|0;if(($7_1|0)>=0){continue label$5}break label$3}HEAP8[$9_1+55|0]=HEAP32[$9_1+64>>2];$11_1=1;$10_1=$24_1;$13_1=$8_1;break label$7}HEAP32[$9_1+76>>2]=$19_1;break label$8}$8_1=HEAPU8[$7_1+1|0];$7_1=$7_1+1|0;continue}}if($0_1){break label$1}if(!$20_1){break label$6}$7_1=1;while(1){$0_1=HEAP32[($7_1<<2)+$4_1>>2];if($0_1){$599(($7_1<<3)+$3_1|0,$0_1,$2_1,$6_1);$15_1=1;$7_1=$7_1+1|0;if(($7_1|0)!=10){continue}break label$1}break}$15_1=1;if($7_1>>>0>=10){break label$1}while(1){if(HEAP32[($7_1<<2)+$4_1>>2]){break label$8}$7_1=$7_1+1|0;if(($7_1|0)!=10){continue}break}break label$1}$12_1=28;break label$3}$14_1=$12_1-$10_1|0;$11_1=($11_1|0)>($14_1|0)?$11_1:$14_1;if(($11_1|0)>($16_1^2147483647)){break label$4}$12_1=61;$8_1=$11_1+$16_1|0;$7_1=($8_1|0)<($17_1|0)?$17_1:$8_1;if(($23_1|0)<($7_1|0)){break label$3}$93($0_1,32,$7_1,$8_1,$13_1);$85($0_1,$21_1,$16_1);$93($0_1,48,$7_1,$8_1,$13_1^65536);$93($0_1,48,$11_1,$14_1,0);$85($0_1,$10_1,$14_1);$93($0_1,32,$7_1,$8_1,$13_1^8192);continue}break}$15_1=0;break label$1}$12_1=61}HEAP32[$22()>>2]=$12_1}$15_1=-1}global$0=$9_1+80|0;return $15_1}function $319($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=Math_fround(0),$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=Math_fround(0),$18_1=0;$14_1=global$0-16|0;global$0=$14_1;if(HEAP32[$1_1>>2]==2){label$2:{label$3:{switch(HEAP32[$2_1>>2]){case 2:$12_1=HEAP32[$1_1+24>>2];$0_1=$9($0_1+44|0,0);$9_1=HEAP32[$2_1+24>>2];$11_1=HEAP32[$2_1+8>>2];label$7:{$7_1=HEAP32[$2_1+4>>2];if($7_1>>>0>4){if($11_1>>>0>4){$6_1=$7_1-2|0;$10_1=$7_1-1<<2;$13_1=$7_1-3<<2;$16_1=$7_1-4<<2;$1_1=$0_1;label$10:while(1){label$11:{if(($4_1|0)==($11_1|0)){$5_1=0;$2_1=$12_1;$6_1=$0_1;$3_1=$7_1<<2;$1_1=$6_1+$3_1|0;$4_1=$1_1;$3_1=$1_1+$3_1|0;$9_1=$3_1;break label$11}$5_1=2;$2_1=$9_1+(Math_imul($4_1,$7_1)<<2)|0;$8_1=HEAPF32[$2_1>>2];HEAPF32[$1_1>>2]=HEAPF32[$2_1+8>>2]+Math_fround($8_1+Math_fround(Math_fround($8_1*Math_fround(6))+Math_fround(Math_fround($8_1+HEAPF32[$2_1+4>>2])*Math_fround(4))));$8_1=HEAPF32[$2_1>>2];HEAPF32[$1_1+4>>2]=HEAPF32[$2_1+12>>2]+Math_fround($8_1+Math_fround(Math_fround(HEAPF32[$2_1+4>>2]*Math_fround(6))+Math_fround(Math_fround($8_1+HEAPF32[$2_1+8>>2])*Math_fround(4))));$3_1=$1_1+8|0;while(1)if(($5_1|0)==($6_1|0)){$1_1=$2_1+$10_1|0;$8_1=HEAPF32[$1_1>>2];$17_1=HEAPF32[$2_1+$16_1>>2];$5_1=$2_1+($6_1<<2)|0;$2_1=$2_1+$13_1|0;HEAPF32[$3_1>>2]=$8_1+Math_fround($17_1+Math_fround(Math_fround(HEAPF32[$5_1>>2]*Math_fround(6))+Math_fround(Math_fround($8_1+HEAPF32[$2_1>>2])*Math_fround(4))));$8_1=HEAPF32[$1_1>>2];HEAPF32[$3_1+4>>2]=$8_1+Math_fround(HEAPF32[$2_1>>2]+Math_fround(Math_fround($8_1*Math_fround(6))+Math_fround(Math_fround($8_1+HEAPF32[$5_1>>2])*Math_fround(4))));$4_1=$4_1+1|0;$1_1=$3_1+8|0;continue label$10}else{$1_1=$2_1+($5_1<<2)|0;$5_1=$5_1+1|0;HEAPF32[$3_1>>2]=HEAPF32[$1_1+8>>2]+Math_fround(HEAPF32[$1_1-8>>2]+Math_fround(Math_fround(HEAPF32[$1_1>>2]*Math_fround(6))+Math_fround(Math_fround(HEAPF32[$1_1-4>>2]+HEAPF32[$2_1+($5_1<<2)>>2])*Math_fround(4))));$3_1=$3_1+4|0;continue}}break}while(1){if(($5_1|0)!=($7_1|0)){$8_1=HEAPF32[$6_1>>2];HEAPF32[$2_1>>2]=Math_fround(HEAPF32[$9_1>>2]+Math_fround($8_1+Math_fround(Math_fround($8_1*Math_fround(6))+Math_fround(Math_fround($8_1+HEAPF32[$4_1>>2])*Math_fround(4)))))*Math_fround(.00390625);$9_1=$9_1+4|0;$4_1=$4_1+4|0;$6_1=$6_1+4|0;$2_1=$2_1+4|0;$5_1=$5_1+1|0;continue}break}$4_1=$7_1<<2;$2_1=$4_1+$12_1|0;$6_1=$4_1+$3_1|0;$5_1=0;$4_1=$0_1;while(1){if(($5_1|0)==($7_1|0)){label$20:{$13_1=$11_1-2|0;$10_1=2;label$21:while(1){label$22:{if(($10_1|0)==($13_1|0)){$1_1=$0_1+(Math_imul($7_1,$11_1-4|0)<<2)|0;$4_1=$7_1<<2;$3_1=$1_1+$4_1|0;$2_1=$3_1+$4_1|0;$6_1=$2_1+$4_1|0;$4_1=$12_1+(Math_imul($7_1,$13_1)<<2)|0;$5_1=0;break label$22}$1_1=$0_1+(Math_imul($7_1,$10_1-2|0)<<2)|0;$4_1=$7_1<<2;$3_1=$1_1+$4_1|0;$2_1=$3_1+$4_1|0;$6_1=$2_1+$4_1|0;$4_1=$6_1+$4_1|0;$9_1=$12_1+(Math_imul($7_1,$10_1)<<2)|0;$5_1=0;while(1)if(($5_1|0)==($7_1|0)){$10_1=$10_1+1|0;continue label$21}else{HEAPF32[$9_1>>2]=Math_fround(HEAPF32[$4_1>>2]+Math_fround(HEAPF32[$1_1>>2]+Math_fround(Math_fround(HEAPF32[$2_1>>2]*Math_fround(6))+Math_fround(Math_fround(HEAPF32[$3_1>>2]+HEAPF32[$6_1>>2])*Math_fround(4)))))*Math_fround(.00390625);$4_1=$4_1+4|0;$6_1=$6_1+4|0;$2_1=$2_1+4|0;$3_1=$3_1+4|0;$1_1=$1_1+4|0;$9_1=$9_1+4|0;$5_1=$5_1+1|0;continue}}break}while(1){if(($5_1|0)!=($7_1|0)){$8_1=HEAPF32[$6_1>>2];HEAPF32[$4_1>>2]=Math_fround($8_1+Math_fround(HEAPF32[$1_1>>2]+Math_fround(Math_fround(HEAPF32[$2_1>>2]*Math_fround(6))+Math_fround(Math_fround($8_1+HEAPF32[$3_1>>2])*Math_fround(4)))))*Math_fround(.00390625);$6_1=$6_1+4|0;$2_1=$2_1+4|0;$3_1=$3_1+4|0;$1_1=$1_1+4|0;$4_1=$4_1+4|0;$5_1=$5_1+1|0;continue}break}$1_1=$0_1+(Math_imul($7_1,$11_1-3|0)<<2)|0;$0_1=$7_1<<2;$3_1=$1_1+$0_1|0;$2_1=$3_1+$0_1|0;$6_1=$12_1+(Math_imul($7_1,$11_1-1|0)<<2)|0;$5_1=0;while(1){if(($5_1|0)==($7_1|0)){break label$20}$8_1=HEAPF32[$2_1>>2];HEAPF32[$6_1>>2]=Math_fround($8_1+Math_fround(HEAPF32[$1_1>>2]+Math_fround(Math_fround($8_1*Math_fround(6))+Math_fround(Math_fround($8_1+HEAPF32[$3_1>>2])*Math_fround(4)))))*Math_fround(.00390625);$2_1=$2_1+4|0;$3_1=$3_1+4|0;$1_1=$1_1+4|0;$6_1=$6_1+4|0;$5_1=$5_1+1|0;continue}}}else{$8_1=HEAPF32[$4_1>>2];HEAPF32[$2_1>>2]=Math_fround(HEAPF32[$6_1>>2]+Math_fround($8_1+Math_fround(Math_fround(HEAPF32[$1_1>>2]*Math_fround(6))+Math_fround(Math_fround($8_1+HEAPF32[$3_1>>2])*Math_fround(4)))))*Math_fround(.00390625);$6_1=$6_1+4|0;$3_1=$3_1+4|0;$1_1=$1_1+4|0;$4_1=$4_1+4|0;$2_1=$2_1+4|0;$5_1=$5_1+1|0;continue}break}break label$7}$3($0($0($2($0($0($0(71248,4994),2370),3305),169),3802),4183));fimport$0();abort()}$3($0($0($2($0($0($0(71248,1138),2370),3305),168),3802),4183));fimport$0();abort()}break label$2;case 0:fimport$5($318(fimport$6(16)|0,$135($14_1,14870))|0,26592,17);abort();default:fimport$5($318(fimport$6(16)|0,$135($14_1,15500))|0,26592,17);abort();case 1:break label$3}}$12_1=HEAP32[$1_1+24>>2];$0_1=HEAP32[$0_1+32>>2];$9_1=HEAP32[$2_1+24>>2];$11_1=HEAP32[$2_1+8>>2];label$31:{$7_1=HEAP32[$2_1+4>>2];if($7_1>>>0>4){if($11_1>>>0>4){$10_1=$7_1-4|0;$13_1=$7_1-3|0;$6_1=$7_1-2|0;$16_1=$7_1-1|0;$1_1=$0_1;label$34:while(1){label$35:{if(($4_1|0)==($11_1|0)){$5_1=0;$2_1=$12_1;$6_1=$0_1;$3_1=$7_1<<1;$1_1=$6_1+$3_1|0;$4_1=$1_1;$3_1=$1_1+$3_1|0;$9_1=$3_1;break label$35}$5_1=2;$2_1=$9_1+Math_imul($4_1,$7_1)|0;$3_1=HEAPU8[$2_1|0];HEAP16[$1_1>>1]=(Math_imul($3_1,7)+HEAPU8[$2_1+2|0]|0)+($3_1+HEAPU8[$2_1+1|0]<<2);$3_1=HEAPU8[$2_1|0];HEAP16[$1_1+2>>1]=(HEAPU8[$2_1+3|0]+($3_1+Math_imul(HEAPU8[$2_1+1|0],6)|0)|0)+($3_1+HEAPU8[$2_1+2|0]<<2);$3_1=$1_1+4|0;while(1)if(($5_1|0)==($6_1|0)){$5_1=$2_1+$16_1|0;$15_1=HEAPU8[$5_1|0];$1_1=$2_1+$6_1|0;$18_1=HEAPU8[$2_1+$10_1|0]+($15_1+Math_imul(HEAPU8[$1_1|0],6)|0)|0;$2_1=$2_1+$13_1|0;HEAP16[$3_1>>1]=$18_1+($15_1+HEAPU8[$2_1|0]<<2);$15_1=HEAPU8[$2_1|0];$2_1=HEAPU8[$5_1|0];HEAP16[$3_1+2>>1]=($15_1+Math_imul($2_1,7)|0)+($2_1+HEAPU8[$1_1|0]<<2);$4_1=$4_1+1|0;$1_1=$3_1+4|0;continue label$34}else{$1_1=$2_1+$5_1|0;$5_1=$5_1+1|0;HEAP16[$3_1>>1]=((Math_imul(HEAPU8[$1_1|0],6)+HEAPU8[$1_1-2|0]|0)+(HEAPU8[$2_1+$5_1|0]+HEAPU8[$1_1-1|0]<<2)|0)+HEAPU8[$1_1+2|0];$3_1=$3_1+2|0;continue}}break}while(1){if(($5_1|0)!=($7_1|0)){$10_1=HEAPU16[$6_1>>1];HEAPF32[$2_1>>2]=Math_fround(HEAPU16[$9_1>>1]+(Math_imul($10_1,7)+($10_1+HEAPU16[$4_1>>1]<<2)|0)|0)*Math_fround(.00390625);$9_1=$9_1+2|0;$4_1=$4_1+2|0;$6_1=$6_1+2|0;$2_1=$2_1+4|0;$5_1=$5_1+1|0;continue}break}$2_1=$12_1+($7_1<<2)|0;$6_1=($7_1<<1)+$3_1|0;$5_1=0;$4_1=$0_1;while(1){if(($5_1|0)==($7_1|0)){label$44:{$13_1=$11_1-2|0;$10_1=2;label$45:while(1){label$46:{if(($10_1|0)==($13_1|0)){$1_1=$0_1+(Math_imul($7_1,$11_1-4|0)<<1)|0;$4_1=$7_1<<1;$3_1=$1_1+$4_1|0;$2_1=$3_1+$4_1|0;$6_1=$2_1+$4_1|0;$4_1=$12_1+(Math_imul($7_1,$13_1)<<2)|0;$5_1=0;break label$46}$1_1=$0_1+(Math_imul($7_1,$10_1-2|0)<<1)|0;$4_1=$7_1<<1;$3_1=$1_1+$4_1|0;$2_1=$3_1+$4_1|0;$6_1=$2_1+$4_1|0;$4_1=$6_1+$4_1|0;$9_1=$12_1+(Math_imul($7_1,$10_1)<<2)|0;$5_1=0;while(1)if(($5_1|0)==($7_1|0)){$10_1=$10_1+1|0;continue label$45}else{HEAPF32[$9_1>>2]=Math_fround(HEAPU16[$4_1>>1]+((HEAPU16[$1_1>>1]+Math_imul(HEAPU16[$2_1>>1],6)|0)+(HEAPU16[$6_1>>1]+HEAPU16[$3_1>>1]<<2)|0)|0)*Math_fround(.00390625);$4_1=$4_1+2|0;$6_1=$6_1+2|0;$2_1=$2_1+2|0;$3_1=$3_1+2|0;$1_1=$1_1+2|0;$9_1=$9_1+4|0;$5_1=$5_1+1|0;continue}}break}while(1){if(($5_1|0)!=($7_1|0)){$9_1=HEAPU16[$6_1>>1];HEAPF32[$4_1>>2]=Math_fround(((HEAPU16[$1_1>>1]+Math_imul(HEAPU16[$2_1>>1],6)|0)+($9_1+HEAPU16[$3_1>>1]<<2)|0)+$9_1|0)*Math_fround(.00390625);$6_1=$6_1+2|0;$2_1=$2_1+2|0;$3_1=$3_1+2|0;$1_1=$1_1+2|0;$4_1=$4_1+4|0;$5_1=$5_1+1|0;continue}break}$1_1=$0_1+(Math_imul($7_1,$11_1-3|0)<<1)|0;$0_1=$7_1<<1;$3_1=$1_1+$0_1|0;$2_1=$3_1+$0_1|0;$6_1=$12_1+(Math_imul($7_1,$11_1-1|0)<<2)|0;$5_1=0;while(1){if(($5_1|0)==($7_1|0)){break label$44}$0_1=HEAPU16[$2_1>>1];HEAPF32[$6_1>>2]=Math_fround(((HEAPU16[$1_1>>1]+Math_imul($0_1,6)|0)+($0_1+HEAPU16[$3_1>>1]<<2)|0)+$0_1|0)*Math_fround(.00390625);$2_1=$2_1+2|0;$3_1=$3_1+2|0;$1_1=$1_1+2|0;$6_1=$6_1+4|0;$5_1=$5_1+1|0;continue}}}else{$9_1=HEAPU16[$4_1>>1];HEAPF32[$2_1>>2]=Math_fround(HEAPU16[$6_1>>1]+(($9_1+Math_imul(HEAPU16[$1_1>>1],6)|0)+($9_1+HEAPU16[$3_1>>1]<<2)|0)|0)*Math_fround(.00390625);$6_1=$6_1+2|0;$3_1=$3_1+2|0;$1_1=$1_1+2|0;$4_1=$4_1+2|0;$2_1=$2_1+4|0;$5_1=$5_1+1|0;continue}break}break label$31}$3($0($0($2($0($0($0(71248,4994),2370),3305),56),3802),4183));fimport$0();abort()}$3($0($0($2($0($0($0(71248,1138),2370),3305),55),3802),4183));fimport$0();abort()}}global$0=$14_1+16|0;return}$3($0($0($2($0($0($0(71248,13881),2370),3305),357),3802),14433));fimport$0();abort()}function $44($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1){var $9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=0,$32_1=0,$33_1=0,$34_1=0,$35_1=0,$36_1=0,$37_1=0,$38_1=0,$39_1=0,$40_1=0,$41_1=0;$10_1=global$0-96|0;global$0=$10_1;$19_1=$7_1;$20_1=$8_1&65535;$12_1=($4_1^$8_1)&-2147483648;$11_1=$4_1&65535;$15_1=$11_1;$21_1=$11_1;$34_1=$8_1>>>16&32767;$35_1=$4_1>>>16&32767;label$1:{label$2:{if($34_1-32767>>>0>4294934529&$35_1-32767>>>0>=4294934530){break label$2}$11_1=$4_1&2147483647;$9_1=$3_1;if(!(!$3_1&($11_1|0)==2147418112?!($1_1|$2_1):$11_1>>>0<2147418112)){$14_1=$3_1;$12_1=$4_1|32768;break label$1}$4_1=$8_1&2147483647;if(!(!$7_1&($4_1|0)==2147418112?!($5_1|$6_1):$4_1>>>0<2147418112)){$14_1=$7_1;$12_1=$8_1|32768;$1_1=$5_1;$2_1=$6_1;break label$1}if(!($1_1|$9_1|($11_1^2147418112|$2_1))){if(!($5_1|$7_1|($4_1|$6_1))){$12_1=2147450880;$1_1=0;$2_1=0;break label$1}$12_1=$12_1|2147418112;$1_1=0;$2_1=0;break label$1}if(!($5_1|$7_1|($4_1^2147418112|$6_1))){$3_1=$1_1|$9_1;$4_1=$2_1|$11_1;$1_1=0;$2_1=0;if(!($3_1|$4_1)){$12_1=2147450880;break label$1}$12_1=$12_1|2147418112;break label$1}if(!($1_1|$9_1|($2_1|$11_1))){$1_1=0;$2_1=0;break label$1}if(!($5_1|$7_1|($4_1|$6_1))){$1_1=0;$2_1=0;break label$1}if(($11_1|0)==65535|$11_1>>>0<65535){$9_1=$1_1;$7_1=!($3_1|$15_1);$8_1=$7_1<<6;$11_1=Math_clz32($7_1?$1_1:$3_1)+32|0;$1_1=Math_clz32($7_1?$2_1:$15_1);$1_1=$8_1+(($1_1|0)==32?$11_1:$1_1)|0;$92($10_1+80|0,$9_1,$2_1,$3_1,$15_1,$1_1-15|0);$18_1=16-$1_1|0;$3_1=HEAP32[$10_1+88>>2];$21_1=HEAP32[$10_1+92>>2];$2_1=HEAP32[$10_1+84>>2];$1_1=HEAP32[$10_1+80>>2]}if($4_1>>>0>65535){break label$2}$4_1=!($19_1|$20_1);$7_1=$4_1<<6;$8_1=Math_clz32($4_1?$5_1:$19_1)+32|0;$4_1=Math_clz32($4_1?$6_1:$20_1);$4_1=$7_1+(($4_1|0)==32?$8_1:$4_1)|0;$92($10_1- -64|0,$5_1,$6_1,$19_1,$20_1,$4_1-15|0);$18_1=($18_1-$4_1|0)+16|0;$19_1=HEAP32[$10_1+72>>2];$20_1=HEAP32[$10_1+76>>2];$5_1=HEAP32[$10_1+64>>2];$6_1=HEAP32[$10_1+68>>2]}$4_1=$5_1;$9_1=$6_1<<15|$4_1>>>17;$7_1=$4_1<<15;$4_1=$9_1;$15_1=$7_1&-32768;$16_1=$2_1;$25_1=__wasm_i64_mul($15_1,0,$2_1,0);$2_1=i64toi32_i32$HIGH_BITS;$23_1=$2_1;$26_1=$4_1;$8_1=0;$9_1=__wasm_i64_mul($4_1,0,$1_1,$8_1);$4_1=$9_1+$25_1|0;$7_1=i64toi32_i32$HIGH_BITS+$2_1|0;$7_1=$4_1>>>0<$9_1>>>0?$7_1+1|0:$7_1;$2_1=$4_1;$9_1=$4_1;$13_1=__wasm_i64_mul($1_1,$8_1,$15_1,$8_1);$11_1=0+$13_1|0;$4_1=i64toi32_i32$HIGH_BITS+$4_1|0;$4_1=$11_1>>>0<$13_1>>>0?$4_1+1|0:$4_1;$24_1=$11_1;$13_1=$11_1;$11_1=$4_1;$27_1=($9_1|0)==($4_1|0)&$17_1>>>0>$13_1>>>0|$4_1>>>0<$9_1>>>0;$17_1=$3_1;$36_1=__wasm_i64_mul($15_1,$8_1,$3_1,0);$31_1=i64toi32_i32$HIGH_BITS;$4_1=__wasm_i64_mul($16_1,$8_1,$26_1,$8_1);$3_1=$4_1+$36_1|0;$9_1=i64toi32_i32$HIGH_BITS+$31_1|0;$13_1=$3_1;$3_1=$3_1>>>0<$4_1>>>0?$9_1+1|0:$9_1;$4_1=$19_1;$9_1=$20_1<<15|$4_1>>>17;$28_1=$4_1<<15|$6_1>>>17;$6_1=__wasm_i64_mul($28_1,0,$1_1,$8_1);$4_1=$6_1+$13_1|0;$5_1=i64toi32_i32$HIGH_BITS+$3_1|0;$32_1=$4_1;$5_1=$4_1>>>0<$6_1>>>0?$5_1+1|0:$5_1;$20_1=$5_1;$4_1=$5_1;$5_1=($7_1|0)==($23_1|0)&$2_1>>>0<$25_1>>>0|$7_1>>>0<$23_1>>>0;$2_1=$7_1+$32_1|0;$5_1=$4_1+$5_1|0;$25_1=$2_1;$5_1=$2_1>>>0<$7_1>>>0?$5_1+1|0:$5_1;$19_1=$5_1;$2_1=$5_1;$29_1=$21_1|65536;$21_1=$22_1;$37_1=__wasm_i64_mul($15_1,$8_1,$29_1,$22_1);$33_1=i64toi32_i32$HIGH_BITS;$6_1=__wasm_i64_mul($17_1,$14_1,$26_1,$8_1);$5_1=$6_1+$37_1|0;$4_1=i64toi32_i32$HIGH_BITS+$33_1|0;$38_1=$5_1;$4_1=$5_1>>>0<$6_1>>>0?$4_1+1|0:$4_1;$22_1=$4_1;$30_1=$9_1|-2147483648;$23_1=0;$6_1=__wasm_i64_mul($30_1,$23_1,$1_1,$8_1);$1_1=$6_1+$5_1|0;$5_1=i64toi32_i32$HIGH_BITS+$4_1|0;$5_1=$1_1>>>0<$6_1>>>0?$5_1+1|0:$5_1;$39_1=$1_1;$4_1=__wasm_i64_mul($28_1,$14_1,$16_1,$8_1);$1_1=$1_1+$4_1|0;$15_1=$5_1;$9_1=$5_1+i64toi32_i32$HIGH_BITS|0;$40_1=$1_1;$6_1=$1_1>>>0<$4_1>>>0?$9_1+1|0:$9_1;$5_1=0;$1_1=$5_1+$25_1|0;$4_1=$2_1+$40_1|0;$4_1=$1_1>>>0<$5_1>>>0?$4_1+1|0:$4_1;$41_1=$1_1;$2_1=$1_1;$1_1=$1_1+$27_1|0;$27_1=$4_1;$5_1=$1_1>>>0<$2_1>>>0?$4_1+1|0:$4_1;$2_1=$5_1;$18_1=(($35_1+$34_1|0)+$18_1|0)-16383|0;$9_1=__wasm_i64_mul($30_1,$23_1,$16_1,$8_1);$7_1=i64toi32_i32$HIGH_BITS;$8_1=__wasm_i64_mul($29_1,$21_1,$26_1,$8_1);$4_1=$8_1+$9_1|0;$5_1=i64toi32_i32$HIGH_BITS+$7_1|0;$5_1=$4_1>>>0<$8_1>>>0?$5_1+1|0:$5_1;$8_1=($5_1|0)==($7_1|0)&$4_1>>>0<$9_1>>>0|$5_1>>>0<$7_1>>>0;$7_1=$4_1;$16_1=$8_1;$8_1=__wasm_i64_mul($28_1,$14_1,$17_1,$14_1);$4_1=$8_1+$4_1|0;$9_1=i64toi32_i32$HIGH_BITS+$5_1|0;$9_1=$4_1>>>0<$8_1>>>0?$9_1+1|0:$9_1;$8_1=($5_1|0)==($9_1|0)&$4_1>>>0<$7_1>>>0|$5_1>>>0>$9_1>>>0;$5_1=$16_1+$8_1|0;$7_1=0;$7_1=$5_1>>>0<$8_1>>>0?1:$7_1;$16_1=__wasm_i64_mul($30_1,$23_1,$29_1,$21_1);$8_1=$16_1+$5_1|0;$5_1=i64toi32_i32$HIGH_BITS+$7_1|0;$5_1=$8_1>>>0<$16_1>>>0?$5_1+1|0:$5_1;$16_1=$4_1;$7_1=$9_1;$26_1=$8_1;$4_1=($3_1|0)==($20_1|0)&$13_1>>>0>$32_1>>>0|$3_1>>>0>$20_1>>>0;$3_1=$4_1+(($3_1|0)==($31_1|0)&$13_1>>>0<$36_1>>>0|$3_1>>>0<$31_1>>>0)|0;$9_1=0;$9_1=$3_1>>>0<$4_1>>>0?1:$9_1;$8_1=$3_1;$3_1=$16_1+$3_1|0;$4_1=$7_1+$9_1|0;$4_1=$3_1>>>0<$8_1>>>0?$4_1+1|0:$4_1;$13_1=$3_1;$8_1=$4_1;$4_1=($4_1|0)==($7_1|0)&$3_1>>>0<$16_1>>>0|$4_1>>>0<$7_1>>>0;$3_1=$26_1+$4_1|0;$7_1=$3_1>>>0<$4_1>>>0?$5_1+1|0:$5_1;$16_1=$3_1;$9_1=__wasm_i64_mul($28_1,$14_1,$29_1,$21_1);$4_1=i64toi32_i32$HIGH_BITS;$17_1=__wasm_i64_mul($30_1,$23_1,$17_1,$14_1);$3_1=$17_1+$9_1|0;$5_1=i64toi32_i32$HIGH_BITS+$4_1|0;$5_1=$3_1>>>0<$17_1>>>0?$5_1+1|0:$5_1;$17_1=$3_1;$3_1=$5_1;$5_1=($4_1|0)==($5_1|0)&$9_1>>>0>$17_1>>>0|$4_1>>>0>$5_1>>>0;$21_1=$3_1+$16_1|0;$4_1=$5_1+$7_1|0;$4_1=$21_1>>>0<$3_1>>>0?$4_1+1|0:$4_1;$7_1=0;$3_1=$7_1+$13_1|0;$5_1=$8_1+$17_1|0;$5_1=$3_1>>>0<$7_1>>>0?$5_1+1|0:$5_1;$7_1=$5_1;$9_1=($8_1|0)==($5_1|0)&$3_1>>>0<$13_1>>>0|$5_1>>>0<$8_1>>>0;$8_1=$9_1+$21_1|0;$13_1=$8_1;$8_1=$8_1>>>0<$9_1>>>0?$4_1+1|0:$4_1;$17_1=$3_1;$4_1=$3_1;$3_1=$7_1;$9_1=($15_1|0)==($22_1|0)&$38_1>>>0>$39_1>>>0|$15_1>>>0<$22_1>>>0;$5_1=$9_1+(($22_1|0)==($33_1|0)&$38_1>>>0<$37_1>>>0|$22_1>>>0<$33_1>>>0)|0;$7_1=0;$9_1=$5_1+(($6_1|0)==($15_1|0)&$39_1>>>0>$40_1>>>0|$6_1>>>0<$15_1>>>0)|0;$5_1=$6_1+$4_1|0;$4_1=$3_1+$9_1|0;$4_1=$5_1>>>0<$6_1>>>0?$4_1+1|0:$4_1;$6_1=$5_1;$7_1=($3_1|0)==($4_1|0)&$5_1>>>0<$17_1>>>0|$3_1>>>0>$4_1>>>0;$3_1=$7_1+$13_1|0;$5_1=$8_1;$5_1=$3_1>>>0<$7_1>>>0?$5_1+1|0:$5_1;$7_1=$4_1;$13_1=$3_1;$8_1=($19_1|0)==($27_1|0)&$25_1>>>0>$41_1>>>0|$19_1>>>0>$27_1>>>0;$3_1=$8_1+(($19_1|0)==($20_1|0)&$25_1>>>0<$32_1>>>0|$19_1>>>0<$20_1>>>0)|0;$9_1=0;$9_1=$3_1>>>0<$8_1>>>0?1:$9_1;$8_1=$3_1;$3_1=$3_1+$6_1|0;$4_1=$4_1+$9_1|0;$4_1=$3_1>>>0<$8_1>>>0?$4_1+1|0:$4_1;$7_1=($4_1|0)==($7_1|0)&$3_1>>>0<$6_1>>>0|$4_1>>>0<$7_1>>>0;$6_1=$13_1+$7_1|0;$5_1=$6_1>>>0<$7_1>>>0?$5_1+1|0:$5_1;$7_1=$6_1;$8_1=$5_1;label$13:{if($5_1&65536){$18_1=$18_1+1|0;break label$13}$22_1=$11_1>>>31|0;$5_1=$8_1<<1|$7_1>>>31;$7_1=$6_1<<1|$4_1>>>31;$8_1=$5_1;$5_1=$4_1<<1|$3_1>>>31;$3_1=$3_1<<1|$2_1>>>31;$4_1=$5_1;$6_1=$24_1;$5_1=$11_1<<1|$6_1>>>31;$24_1=$6_1<<1;$11_1=$5_1;$5_1=$2_1<<1|$1_1>>>31;$1_1=$1_1<<1|$22_1;$2_1=$5_1}if(($18_1|0)>=32767){$12_1=$12_1|2147418112;$1_1=0;$2_1=0;break label$1}label$16:{if(($18_1|0)<=0){$5_1=1-$18_1|0;if($5_1>>>0>=128){$1_1=0;$2_1=0;break label$1}$6_1=$18_1+127|0;$92($10_1+48|0,$24_1,$11_1,$1_1,$2_1,$6_1);$92($10_1+32|0,$3_1,$4_1,$7_1,$8_1,$6_1);$211($10_1+16|0,$24_1,$11_1,$1_1,$2_1,$5_1);$211($10_1,$3_1,$4_1,$7_1,$8_1,$5_1);$24_1=HEAP32[$10_1+32>>2]|HEAP32[$10_1+16>>2]|(HEAP32[$10_1+48>>2]|HEAP32[$10_1+56>>2]|(HEAP32[$10_1+52>>2]|HEAP32[$10_1+60>>2]))!=0;$11_1=HEAP32[$10_1+36>>2]|HEAP32[$10_1+20>>2];$1_1=HEAP32[$10_1+40>>2]|HEAP32[$10_1+24>>2];$2_1=HEAP32[$10_1+44>>2]|HEAP32[$10_1+28>>2];$3_1=HEAP32[$10_1>>2];$4_1=HEAP32[$10_1+4>>2];$5_1=HEAP32[$10_1+8>>2];$6_1=HEAP32[$10_1+12>>2];break label$16}$5_1=$7_1;$6_1=$8_1&65535|$18_1<<16}$14_1=$5_1|$14_1;$12_1=$6_1|$12_1;if(!(!$1_1&($2_1|0)==-2147483648?!($11_1|$24_1):($2_1|0)>0|($2_1|0)>=0)){$1_1=$3_1+1|0;$9_1=$1_1?$4_1:$4_1+1|0;$2_1=$9_1;$5_1=($4_1|0)==($9_1|0)&$1_1>>>0<$3_1>>>0|$4_1>>>0>$9_1>>>0;$3_1=$5_1+$14_1|0;$4_1=$12_1;$14_1=$3_1;$12_1=$3_1>>>0<$5_1>>>0?$4_1+1|0:$4_1;break label$1}if($1_1|$24_1|($2_1^-2147483648|$11_1)){$1_1=$3_1;$2_1=$4_1;break label$1}$9_1=$12_1;$2_1=$3_1&1;$1_1=$2_1+$3_1|0;$5_1=$1_1>>>0<$2_1>>>0?$4_1+1|0:$4_1;$2_1=$5_1;$4_1=($4_1|0)==($5_1|0)&$1_1>>>0<$3_1>>>0|$4_1>>>0>$5_1>>>0;$3_1=$4_1+$14_1|0;$14_1=$3_1;$12_1=$3_1>>>0<$4_1>>>0?$9_1+1|0:$9_1}HEAP32[$0_1>>2]=$1_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$0_1+8>>2]=$14_1;HEAP32[$0_1+12>>2]=$12_1;global$0=$10_1+96|0}function $687($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=0,$32_1=0,$33_1=0,$34_1=0,$35_1=0,$36_1=0,$37_1=0,$38_1=0,$39_1=0,$40_1=0,$41_1=0,$42_1=0,$43_1=0,$44_1=0;$10_1=global$0-80|0;global$0=$10_1;$39_1=-1;label$1:{if(($3_1|0)<4){break label$1}while(1){if(($3_1|0)!=($21_1|0)){$18_1=Math_imul($21_1,24);$21_1=$21_1+1|0;if(HEAPF64[($2_1+$18_1|0)+16>>3]==0){continue}break label$1}break}if(HEAPF64[$0_1>>3]==0|HEAPF64[$0_1+32>>3]!=0|(HEAPF64[$0_1+40>>3]==0|HEAPF64[$0_1+64>>3]!=0)){break label$1}if(HEAPF64[$0_1+72>>3]!=0|HEAPF64[$0_1+80>>3]!=1|(HEAPF64[$0_1+24>>3]!=0|HEAPF64[$0_1+56>>3]!=0)){break label$1}if(HEAPF64[$0_1+88>>3]!=0){break label$1}$18_1=$3_1<<1;$25_1=$136($18_1,8);if(!$25_1){$5(0,3,1444,0);break label$1}$27_1=$136($18_1,1);if($27_1){$41_1=HEAP32[$27_1>>2];$42_1=HEAP32[$25_1>>2];while(1){if(($3_1|0)!=($30_1|0)){$16_1=($30_1<<7)+$42_1|0;$28_1=Math_imul($30_1,24)+$2_1|0;HEAPF64[$16_1>>3]=HEAPF64[$28_1>>3];$6_1=HEAPF64[$28_1+8>>3];HEAP32[$16_1+40>>2]=0;HEAP32[$16_1+44>>2]=0;HEAP32[$16_1+32>>2]=0;HEAP32[$16_1+36>>2]=0;HEAP32[$16_1+24>>2]=0;HEAP32[$16_1+28>>2]=0;HEAP32[$16_1+16>>2]=0;HEAP32[$16_1+20>>2]=1072693248;HEAPF64[$16_1+8>>3]=$6_1;$21_1=$30_1<<4;$29_1=$21_1+$1_1|0;HEAPF64[$16_1+48>>3]=HEAPF64[$29_1>>3]*-HEAPF64[$28_1>>3];$5_1=HEAPF64[$29_1>>3];$6_1=HEAPF64[$28_1+8>>3];HEAP32[$16_1+80>>2]=0;HEAP32[$16_1+84>>2]=0;HEAP32[$16_1+72>>2]=0;HEAP32[$16_1+76>>2]=0;$18_1=$16_1- -64|0;HEAP32[$18_1>>2]=0;HEAP32[$18_1+4>>2]=0;HEAPF64[$16_1+56>>3]=$5_1*-$6_1;HEAPF64[$16_1+88>>3]=HEAPF64[$28_1>>3];$6_1=HEAPF64[$28_1+8>>3];HEAP32[$16_1+104>>2]=0;HEAP32[$16_1+108>>2]=1072693248;HEAPF64[$16_1+96>>3]=$6_1;HEAPF64[$16_1+112>>3]=HEAPF64[$29_1+8>>3]*-HEAPF64[$28_1>>3];HEAPF64[$16_1+120>>3]=HEAPF64[$29_1+8>>3]*-HEAPF64[$28_1+8>>3];$18_1=$21_1+$41_1|0;HEAPF64[$18_1>>3]=HEAPF64[$29_1>>3];HEAPF64[$18_1+8>>3]=HEAPF64[$29_1+8>>3];$30_1=$30_1+1|0;continue}break}$21_1=$792($25_1);if(!$21_1){$17($25_1);$17($27_1);$5(0,3,3417,0);break label$1}$3_1=$322($21_1,$25_1);if(!$3_1){$17($25_1);$17($27_1);$17($21_1);$5(0,3,3857,0);break label$1}$2_1=$322($21_1,$27_1);if(!$2_1){$17($25_1);$17($27_1);$17($21_1);$17($3_1);$5(0,3,4468,0);break label$1}if(($317($3_1)|0)<0){$17($25_1);$17($27_1);$17($21_1);$17($3_1);$17($2_1);$5(0,3,5294,0);break label$1}$1_1=$322($3_1,$2_1);if(!$1_1){$17($25_1);$17($27_1);$17($21_1);$17($3_1);$17($2_1);$5(0,3,6156,0);break label$1}$34_1=HEAPF64[$0_1+48>>3];$18_1=HEAP32[$1_1>>2];$43_1=HEAPF64[$18_1+16>>3];$44_1=HEAPF64[$18_1+40>>3];$15_1=HEAPF64[$18_1+24>>3];$11_1=HEAPF64[$18_1>>3];$12_1=HEAPF64[$18_1+48>>3];$35_1=HEAPF64[$0_1>>3];$36_1=HEAPF64[$0_1+8>>3];$37_1=HEAPF64[$0_1+40>>3];$5_1=HEAPF64[$18_1+32>>3];$6_1=HEAPF64[$18_1+8>>3];$38_1=HEAPF64[$0_1+16>>3];$9_1=HEAPF64[$18_1+56>>3];$17($25_1);$17($27_1);$17($21_1);$17($3_1);$17($2_1);$17($1_1);$5_1=($5_1-$34_1*$9_1)/$37_1;$6_1=($6_1-$38_1*$9_1-$36_1*$5_1)/$35_1;$31_1=Math_sqrt($9_1*$9_1+($6_1*$6_1+$5_1*$5_1));HEAPF64[$10_1+40>>3]=$9_1/$31_1;HEAPF64[$10_1+32>>3]=$5_1/$31_1;HEAPF64[$10_1+24>>3]=$6_1/$31_1;$5_1=($15_1-$34_1*$12_1)/$37_1;$6_1=($11_1-$38_1*$12_1-$36_1*$5_1)/$35_1;$32_1=Math_sqrt($12_1*$12_1+($6_1*$6_1+$5_1*$5_1));HEAPF64[$10_1+16>>3]=$12_1/$32_1;HEAPF64[$10_1+8>>3]=$5_1/$32_1;HEAPF64[$10_1>>3]=$6_1/$32_1;$0_1=0;$1_1=0;$17_1=HEAPF64[$10_1>>3];$20_1=HEAPF64[$10_1+32>>3];$19_1=HEAPF64[$10_1+24>>3];$13_1=HEAPF64[$10_1+8>>3];$11_1=$17_1*$20_1-$19_1*$13_1;$26_1=HEAPF64[$10_1+40>>3];$8_1=HEAPF64[$10_1+16>>3];$5_1=$13_1*$26_1-$20_1*$8_1;$6_1=$8_1*$19_1-$26_1*$17_1;$15_1=Math_sqrt($11_1*$11_1+($5_1*$5_1+$6_1*$6_1));label$13:{if($15_1==0){break label$13}$11_1=$11_1/$15_1;$12_1=$6_1/$15_1;$14_1=$5_1/$15_1;$9_1=$12_1*$17_1+$14_1*-$13_1;label$14:{if($9_1!=0){$5_1=$13_1;$15_1=$17_1;$7_1=$12_1;$6_1=$14_1;$12_1=$8_1;break label$14}$22_1=$11_1*$17_1+$14_1*-$8_1;$0_1=$22_1!=0;$7_1=$0_1?$11_1:$12_1;$15_1=$0_1?$17_1:$8_1;$6_1=$0_1?$14_1:$11_1;$5_1=$0_1?$8_1:$13_1;$9_1=$7_1*$15_1-$6_1*$5_1;$11_1=$0_1?$12_1:$14_1;$1_1=$22_1==0;$12_1=$0_1?$13_1:$17_1}if($9_1==0){break label$13}$23_1=($5_1*$11_1-$12_1*$7_1)/$9_1;$14_1=$8_1*$26_1+($17_1*$19_1+$13_1*$20_1);$14_1=$14_1<0?-$14_1:$14_1;$33_1=(Math_sqrt($14_1+1)+Math_sqrt(1-$14_1))*.5;$22_1=$33_1*$7_1/$9_1;$5_1=$6_1*$5_1-$7_1*$15_1;$17_1=$33_1*$6_1/$5_1;$8_1=($15_1*$11_1-$12_1*$6_1)/$5_1;$14_1=$23_1*$22_1+$17_1*$8_1;$12_1=$23_1*$23_1+$8_1*$8_1+1;$5_1=$14_1*$14_1-($22_1*$22_1+$17_1*$17_1+-1)*$12_1;if($5_1<0){break label$13}$5_1=Math_sqrt($5_1);$13_1=(-$14_1-$5_1)/$12_1;$9_1=$8_1*$13_1+$17_1;$15_1=$23_1*$13_1+$22_1;$24_1=$8_1;$8_1=($5_1-$14_1)/$12_1;$12_1=$24_1*$8_1+$17_1;$14_1=$23_1*$8_1+$22_1;label$16:{if($0_1){$5_1=$7_1;$7_1=$11_1;$11_1=$6_1;$17_1=$14_1;$14_1=$12_1;$23_1=$15_1;$15_1=$9_1;$12_1=$8_1;$9_1=$13_1;break label$16}if(!$1_1){$5_1=$11_1;$11_1=$6_1;$17_1=$14_1;$14_1=$8_1;$23_1=$15_1;$15_1=$13_1;break label$16}$5_1=$6_1;$17_1=$8_1;$23_1=$13_1}$22_1=$9_1;$0_1=0;$8_1=$7_1*$19_1-$11_1*$20_1;label$19:{if($8_1!=0){$6_1=$20_1;$13_1=$19_1;$9_1=$7_1;$24_1=$11_1;$1_1=0;break label$19}$40_1=$5_1*$19_1-$11_1*$26_1;$0_1=$40_1!=0;$9_1=$0_1?$5_1:$7_1;$13_1=$0_1?$19_1:$26_1;$24_1=$0_1?$11_1:$5_1;$6_1=$0_1?$26_1:$20_1;$8_1=$9_1*$13_1-$24_1*$6_1;$5_1=$0_1?$7_1:$11_1;$26_1=$0_1?$20_1:$19_1;$1_1=$40_1==0}if($8_1==0){break label$13}$19_1=($6_1*$5_1-$26_1*$9_1)/$8_1;$20_1=$33_1*$9_1/$8_1;$6_1=$24_1*$6_1-$9_1*$13_1;$8_1=$33_1*$24_1/$6_1;$7_1=($13_1*$5_1-$26_1*$24_1)/$6_1;$9_1=$19_1*$20_1+$8_1*$7_1;$11_1=$19_1*$19_1+$7_1*$7_1+1;$6_1=$9_1*$9_1-($20_1*$20_1+$8_1*$8_1+-1)*$11_1;if($6_1<0){break label$13}$24_1=$12_1;$5_1=Math_sqrt($6_1);$13_1=(-$9_1-$5_1)/$11_1;$12_1=$7_1*$13_1+$8_1;$6_1=$19_1*$13_1+$20_1;$26_1=$7_1;$7_1=($5_1-$9_1)/$11_1;$9_1=$26_1*$7_1+$8_1;$5_1=$19_1*$7_1+$20_1;label$21:{if($0_1){$8_1=$5_1;$11_1=$7_1;$5_1=$9_1;$9_1=$6_1;$6_1=$12_1;$12_1=$13_1;break label$21}if(!$1_1){$8_1=$5_1;$11_1=$9_1;$5_1=$7_1;$9_1=$6_1;$6_1=$13_1;break label$21}$8_1=$7_1;$11_1=$9_1;$9_1=$13_1}$7_1=$15_1*$6_1+($23_1*$9_1+$22_1*$12_1);$19_1=$7_1<0?-$7_1:$7_1;$7_1=$15_1*$5_1+($23_1*$8_1+$22_1*$11_1);$20_1=$7_1<0?-$7_1:$7_1;label$24:{label$25:{label$26:{$7_1=$14_1*$5_1+($17_1*$8_1+$24_1*$11_1);$13_1=$7_1<0?-$7_1:$7_1;$7_1=$14_1*$6_1+($17_1*$9_1+$24_1*$12_1);$7_1=$7_1<0?-$7_1:$7_1;if($13_1<$7_1){if($13_1<$20_1){if(!($13_1<$19_1)){break label$26}HEAPF64[$10_1+16>>3]=$14_1;HEAPF64[$10_1+8>>3]=$24_1;HEAPF64[$10_1>>3]=$17_1;break label$24}HEAPF64[$10_1+16>>3]=$15_1;HEAPF64[$10_1+8>>3]=$22_1;HEAPF64[$10_1>>3]=$23_1;$0_1=$19_1>$20_1;$5_1=$0_1?$5_1:$6_1;$11_1=$0_1?$11_1:$12_1;$8_1=$0_1?$8_1:$9_1;break label$24}if($7_1<$20_1){if(!($7_1<$19_1)){break label$26}HEAPF64[$10_1+16>>3]=$14_1;HEAPF64[$10_1+8>>3]=$24_1;HEAPF64[$10_1>>3]=$17_1;break label$25}HEAPF64[$10_1+16>>3]=$15_1;HEAPF64[$10_1+8>>3]=$22_1;HEAPF64[$10_1>>3]=$23_1;$0_1=$19_1>$20_1;$5_1=$0_1?$5_1:$6_1;$11_1=$0_1?$11_1:$12_1;$8_1=$0_1?$8_1:$9_1;break label$24}HEAPF64[$10_1+16>>3]=$15_1;HEAPF64[$10_1+8>>3]=$22_1;HEAPF64[$10_1>>3]=$23_1}$8_1=$9_1;$11_1=$12_1;$5_1=$6_1}HEAPF64[$10_1+40>>3]=$5_1;HEAPF64[$10_1+32>>3]=$11_1;HEAPF64[$10_1+24>>3]=$8_1}$13_1=HEAPF64[$10_1>>3];$8_1=HEAPF64[$10_1+32>>3];$7_1=HEAPF64[$10_1+24>>3];$14_1=HEAPF64[$10_1+8>>3];$6_1=$13_1*$8_1-$7_1*$14_1;$11_1=$6_1;$12_1=HEAPF64[$10_1+40>>3];$9_1=HEAPF64[$10_1+16>>3];$15_1=$14_1*$12_1-$8_1*$9_1;$5_1=$9_1*$7_1-$12_1*$13_1;$6_1=Math_sqrt($6_1*$6_1+($15_1*$15_1+$5_1*$5_1));$11_1=$11_1/$6_1;HEAPF64[$10_1- -64>>3]=$11_1;$5_1=$5_1/$6_1;HEAPF64[$10_1+56>>3]=$5_1;$6_1=$15_1/$6_1;HEAPF64[$10_1+48>>3]=$6_1;HEAPF64[$4_1+64>>3]=$9_1;HEAPF64[$4_1+32>>3]=$14_1;HEAPF64[$4_1>>3]=$13_1;HEAPF64[$4_1+72>>3]=$12_1;HEAPF64[$4_1+40>>3]=$8_1;HEAPF64[$4_1+8>>3]=$7_1;HEAPF64[$4_1+80>>3]=$11_1;HEAPF64[$4_1+48>>3]=$5_1;HEAPF64[$4_1+16>>3]=$6_1;$5_1=($32_1+$31_1)*.5;HEAPF64[$4_1+88>>3]=1/$5_1;$6_1=($44_1-$34_1)/$37_1;HEAPF64[$4_1+56>>3]=$6_1/$5_1;HEAPF64[$4_1+24>>3]=($43_1-$38_1-$36_1*$6_1)/$35_1/$5_1;$39_1=0;break label$1}$17($25_1);$5(0,3,2685,0)}global$0=$10_1+80|0;return $39_1}function $853($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0;$19_1=global$0-16|0;global$0=$19_1;HEAP32[$19_1+12>>2]=$0_1;HEAP32[$19_1+8>>2]=$26(67484,$19_1+12|0);HEAP32[$19_1>>2]=$23();label$1:{if($31($19_1+8|0,$19_1)){$0_1=HEAP32[15939];break label$1}$8_1=$32($19_1+12|0);$0_1=$8_1+328|0;if(!($12($0_1)>>>0>$1_1>>>0&($1_1|0)>=0)){$0_1=HEAP32[15941];break label$1}$1_1=$29($0_1,$1_1);$9_1=HEAP32[$8_1+228>>2];$0_1=HEAP32[$8_1+216>>2];$17_1=$0_1+48|0;$8_1=0;$6_1=global$0-192|0;global$0=$6_1;$0_1=HEAP32[$0_1+44>>2];$13_1=($0_1|0)>0?$0_1:0;$7_1=HEAP32[$1_1+4>>2];$10_1=HEAP32[$7_1+4>>2];$14_1=($10_1|0)>0?$10_1:0;__inlined_func$1147:{while(1){label$2:{if(($14_1|0)==($16_1|0)){$0_1=0;while(1){label$5:{label$6:{if(($0_1|0)<($10_1|0)){$15_1=Math_imul($0_1,320);$18_1=$15_1+HEAP32[$7_1>>2]|0;$1_1=HEAP32[$18_1+304>>2];if(($1_1|0)<0){break label$5}$1_1=($1_1<<8)+$17_1|0;if($971($9_1,$1_1,HEAPF64[$18_1+8>>3],$6_1)>4){HEAP32[($15_1+HEAP32[$7_1>>2]|0)+304>>2]=-1;if(HEAP32[$1_1+236>>2]){break label$5}HEAP32[$1_1+236>>2]=7;break label$5}$4_1=0;$1_1=HEAP32[$1_1>>2];if(($1_1|0)<=($8_1|0)?$20_1:0){break label$6}while(1){$3_1=0;if(($4_1|0)==3){$16_1=$0_1;$8_1=$1_1;break label$6}else{while(1){if(($3_1|0)!=4){$16_1=$3_1<<3;$8_1=$4_1<<5;HEAPF64[$16_1+($8_1+($6_1+96|0)|0)>>3]=HEAPF64[$16_1+($6_1+$8_1|0)>>3];$3_1=$3_1+1|0;continue}break}$4_1=$4_1+1|0;continue}}}label$14:{if(!(HEAP32[$7_1+128>>2]<=($20_1|0)?$20_1:0)){HEAP32[$7_1+104>>2]=0;break label$14}$496($6_1+96|0,(HEAP32[$7_1>>2]+Math_imul($16_1,320)|0)+112|0,$6_1);label$17:{label$18:{$10_1=$7($20_1<<6);if($10_1){$11_1=$7(Math_imul($20_1,96));if(!$11_1){break label$2}$13_1=$20_1<<2;$0_1=HEAP32[$7_1+4>>2];$8_1=($0_1|0)>0?$0_1:0;$0_1=0;$4_1=0;while(1){if(($0_1|0)!=($8_1|0)){$14_1=HEAP32[$7_1>>2]+Math_imul($0_1,320)|0;$1_1=HEAP32[$14_1+304>>2];if(($1_1|0)>=0){$1_1=($1_1<<8)+$17_1|0;$18_1=$1_1+168|0;$15_1=$10_1+($4_1<<6)|0;$16_1=HEAP32[$1_1+16>>2];$1_1=$18_1+((4-$16_1|0)%4<<4)|0;HEAPF64[$15_1>>3]=HEAPF64[$1_1>>3];HEAPF64[$15_1+8>>3]=HEAPF64[$1_1+8>>3];$1_1=$18_1+((5-$16_1|0)%4<<4)|0;HEAPF64[$15_1+16>>3]=HEAPF64[$1_1>>3];HEAPF64[$15_1+24>>3]=HEAPF64[$1_1+8>>3];$1_1=$18_1+((6-$16_1|0)%4<<4)|0;HEAPF64[$15_1+32>>3]=HEAPF64[$1_1>>3];HEAPF64[$15_1+40>>3]=HEAPF64[$1_1+8>>3];$1_1=$18_1+((7-$16_1|0)%4<<4)|0;HEAPF64[$15_1+48>>3]=HEAPF64[$1_1>>3];HEAPF64[$15_1+56>>3]=HEAPF64[$1_1+8>>3];$1_1=$11_1+Math_imul($4_1,96)|0;HEAPF64[$1_1>>3]=HEAPF64[$14_1+208>>3];HEAPF64[$1_1+8>>3]=HEAPF64[$14_1+216>>3];HEAPF64[$1_1+16>>3]=HEAPF64[$14_1+224>>3];HEAPF64[$1_1+24>>3]=HEAPF64[$14_1+232>>3];HEAPF64[$1_1+32>>3]=HEAPF64[$14_1+240>>3];HEAPF64[$1_1+40>>3]=HEAPF64[$14_1+248>>3];HEAPF64[$1_1+48>>3]=HEAPF64[$14_1+256>>3];HEAPF64[$1_1+56>>3]=HEAPF64[$14_1+264>>3];HEAPF64[$1_1- -64>>3]=HEAPF64[$14_1+272>>3];HEAPF64[$1_1+72>>3]=HEAPF64[$14_1+280>>3];HEAPF64[$1_1+80>>3]=HEAPF64[$14_1+288>>3];HEAPF64[$1_1+88>>3]=HEAPF64[$14_1+296>>3];$4_1=$4_1+1|0}$0_1=$0_1+1|0;continue}break}if(!HEAP32[$7_1+104>>2]){$0_1=$7_1+8|0;$5_1=$538($9_1,$6_1,$10_1,$11_1,$13_1,$0_1);if(!$2_1|!($5_1>=20)){break label$17}$133(HEAP32[$9_1>>2],.8);$5_1=$146($9_1,$6_1,$10_1,$11_1,$13_1,$0_1);if(!($5_1>=20)){break label$17}$133(HEAP32[$9_1>>2],.6);$5_1=$146($9_1,$6_1,$10_1,$11_1,$13_1,$0_1);if(!($5_1>=20)){break label$17}$133(HEAP32[$9_1>>2],.4);$5_1=$146($9_1,$6_1,$10_1,$11_1,$13_1,$0_1);if(!($5_1>=20)){break label$17}$133(HEAP32[$9_1>>2],0);$5_1=$146($9_1,$6_1,$10_1,$11_1,$13_1,$0_1);break label$17}$12_1=$538($9_1,$6_1,$10_1,$11_1,$13_1,$6_1+96|0);$8_1=$7_1+8|0;$5_1=$538($9_1,$8_1,$10_1,$11_1,$13_1,$8_1);if($2_1){if(!($5_1>$12_1)){break label$18}$4_1=0;while(1){$3_1=0;if(($4_1|0)==3){$5_1=$12_1;break label$18}else{while(1){if(($3_1|0)!=4){$1_1=$3_1<<3;$0_1=$4_1<<5;HEAPF64[($1_1+($0_1+$7_1|0)|0)+8>>3]=HEAPF64[$1_1+($0_1+($6_1+96|0)|0)>>3];$3_1=$3_1+1|0;continue}break}$4_1=$4_1+1|0;continue}}}if(!($5_1>$12_1)){break label$17}$4_1=0;while(1){$3_1=0;if(($4_1|0)==3){$5_1=$12_1;break label$17}else{while(1){if(($3_1|0)!=4){$1_1=$3_1<<3;$0_1=$4_1<<5;HEAPF64[($1_1+($0_1+$7_1|0)|0)+8>>3]=HEAPF64[$1_1+($0_1+($6_1+96|0)|0)>>3];$3_1=$3_1+1|0;continue}break}$4_1=$4_1+1|0;continue}}}break label$2}if(!($5_1>=20)){break label$17}$133(HEAP32[$9_1>>2],.8);$12_1=$146($9_1,$6_1,$10_1,$11_1,$13_1,$6_1+96|0);$5_1=$146($9_1,$8_1,$10_1,$11_1,$13_1,$8_1);if($12_1<$5_1){$4_1=0;while(1){$3_1=0;if(($4_1|0)==3){$5_1=$12_1}else{while(1){if(($3_1|0)!=4){$1_1=$3_1<<3;$0_1=$4_1<<5;HEAPF64[($1_1+($0_1+$7_1|0)|0)+8>>3]=HEAPF64[$1_1+($0_1+($6_1+96|0)|0)>>3];$3_1=$3_1+1|0;continue}break}$4_1=$4_1+1|0;continue}break}}if(!($5_1>=20)){break label$17}$133(HEAP32[$9_1>>2],.6);$12_1=$146($9_1,$6_1,$10_1,$11_1,$13_1,$6_1+96|0);$5_1=$146($9_1,$8_1,$10_1,$11_1,$13_1,$8_1);if($12_1<$5_1){$4_1=0;while(1){$3_1=0;if(($4_1|0)==3){$5_1=$12_1}else{while(1){if(($3_1|0)!=4){$1_1=$3_1<<3;$0_1=$4_1<<5;HEAPF64[($1_1+($0_1+$7_1|0)|0)+8>>3]=HEAPF64[$1_1+($0_1+($6_1+96|0)|0)>>3];$3_1=$3_1+1|0;continue}break}$4_1=$4_1+1|0;continue}break}}if(!($5_1>=20)){break label$17}$133(HEAP32[$9_1>>2],.4);$12_1=$146($9_1,$6_1,$10_1,$11_1,$13_1,$6_1+96|0);$5_1=$146($9_1,$8_1,$10_1,$11_1,$13_1,$8_1);if($12_1<$5_1){$4_1=0;while(1){$3_1=0;if(($4_1|0)==3){$5_1=$12_1}else{while(1){if(($3_1|0)!=4){$1_1=$3_1<<3;$0_1=$4_1<<5;HEAPF64[($1_1+($0_1+$7_1|0)|0)+8>>3]=HEAPF64[$1_1+($0_1+($6_1+96|0)|0)>>3];$3_1=$3_1+1|0;continue}break}$4_1=$4_1+1|0;continue}break}}if(!($5_1>=20)){break label$17}$133(HEAP32[$9_1>>2],0);$12_1=$146($9_1,$6_1,$10_1,$11_1,$13_1,$6_1+96|0);$5_1=$146($9_1,$8_1,$10_1,$11_1,$13_1,$8_1);if(!($12_1<$5_1)){break label$17}$4_1=0;while(1){$3_1=0;if(($4_1|0)==3){$5_1=$12_1}else{while(1){if(($3_1|0)!=4){$1_1=$3_1<<3;$0_1=$4_1<<5;HEAPF64[($1_1+($0_1+$7_1|0)|0)+8>>3]=HEAPF64[$1_1+($0_1+($6_1+96|0)|0)>>3];$3_1=$3_1+1|0;continue}break}$4_1=$4_1+1|0;continue}break}}$1($11_1);$1($10_1);if($5_1<20){HEAP32[$7_1+104>>2]=1;break label$14}HEAP32[$7_1+104>>2]=0;$0_1=HEAP32[$7_1+4>>2];$1_1=($0_1|0)>0?$0_1:0;$3_1=0;while(1){if(($1_1|0)==($3_1|0)){break label$14}$0_1=HEAP32[(HEAP32[$7_1>>2]+Math_imul($3_1,320)|0)+304>>2];label$60:{if(($0_1|0)<0){break label$60}$0_1=($0_1<<8)+$17_1|0;if(HEAP32[$0_1+236>>2]){break label$60}HEAP32[$0_1+236>>2]=8}$3_1=$3_1+1|0;continue}}global$0=$6_1+192|0;break __inlined_func$1147}$20_1=$20_1+1|0}$0_1=$0_1+1|0;$10_1=HEAP32[$7_1+4>>2];continue}}label$61:{label$62:{$4_1=HEAP32[$7_1>>2]+Math_imul($16_1,320)|0;if(HEAP32[$4_1+4>>2]){$8_1=$4_1+312|0;$0_1=-1;$3_1=0;while(1){label$65:{label$66:{if(($3_1|0)!=($13_1|0)){label$68:{label$69:{$11_1=($3_1<<8)+$17_1|0;$15_1=HEAP32[$11_1+12>>2];if($15_1){break label$69}$18_1=HEAP32[$11_1+248>>2];$1_1=HEAP32[$11_1+252>>2];if(!($18_1|$1_1)){break label$69}if(($18_1|0)==HEAP32[$8_1>>2]&HEAP32[$8_1+4>>2]==($1_1|0)){break label$68}break label$66}if(($15_1|0)!=HEAP32[$4_1>>2]){break label$66}}$12_1=HEAPF64[$11_1+48>>3];if($12_1>3]){break label$66}$1_1=$3_1;if(($0_1|0)==-1){break label$65}$1_1=$0_1;if(!($12_1>HEAPF64[(($0_1<<8)+$17_1|0)+48>>3])){break label$65}$1_1=$3_1;break label$65}HEAP32[$4_1+304>>2]=$0_1;if(($0_1|0)<0){break label$61}$3_1=(($0_1<<8)+$17_1|0)+24|0;break label$62}$1_1=$0_1}$0_1=$1_1;$3_1=$3_1+1|0;continue}}$0_1=-1;$3_1=0;while(1){label$71:{label$72:{if(($3_1|0)!=($13_1|0)){$1_1=($3_1<<8)+$17_1|0;if(HEAP32[$1_1+8>>2]!=HEAP32[$4_1>>2]){break label$72}$12_1=HEAPF64[$1_1+40>>3];if($12_1>3]){break label$72}$1_1=$3_1;if(($0_1|0)==-1){break label$71}$1_1=$0_1;if(!($12_1>HEAPF64[(($0_1<<8)+$17_1|0)+40>>3])){break label$71}$1_1=$3_1;break label$71}HEAP32[$4_1+304>>2]=$0_1;if(($0_1|0)<0){break label$61}$3_1=(($0_1<<8)+$17_1|0)+20|0;break label$62}$1_1=$0_1}$0_1=$1_1;$3_1=$3_1+1|0;continue}}HEAP32[(($0_1<<8)+$17_1|0)+16>>2]=HEAP32[$3_1>>2]}$16_1=$16_1+1|0;continue}break}$5(0,3,1806,0);fimport$1(1);abort()}$688($7_1+8|0);$0_1=0}global$0=$19_1+16|0;return $0_1}function $654($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0;$14_1=global$0-1408|0;global$0=$14_1;$12_1=$3_1<<3;$20_1=$12_1&-32|4;$8_1=$2_1<<2;$21_1=$8_1&-32|2;$5_1=$1_1<<3;$22_1=$5_1&-32|4;$24_1=HEAP32[HEAP32[$0_1+484>>2]+24>>2];$11_1=HEAP32[$0_1+132>>2];label$1:{if(($11_1|0)<=0){break label$1}$17_1=$12_1|28;$23_1=$17_1+$20_1>>1;$18_1=$8_1|30;$9_1=$18_1+$21_1>>1;$19_1=$5_1|28;$15_1=$19_1+$22_1>>1;$5_1=HEAP32[$0_1+136>>2];$16_1=HEAP32[$5_1+8>>2];$13_1=HEAP32[$5_1+4>>2];$7_1=HEAP32[$5_1>>2];$12_1=2147483647;while(1){$6_1=HEAPU8[$4_1+$7_1|0];label$4:{if(($6_1|0)<($22_1|0)){$5_1=$6_1-$19_1<<1;$8_1=Math_imul($5_1,$5_1);$5_1=$6_1-$22_1<<1;$6_1=Math_imul($5_1,$5_1);break label$4}if(($6_1|0)>($19_1|0)){$5_1=$6_1-$22_1<<1;$8_1=Math_imul($5_1,$5_1);$5_1=$6_1-$19_1<<1;$6_1=Math_imul($5_1,$5_1);break label$4}label$7:{if(($6_1|0)<=($15_1|0)){$5_1=$6_1-$19_1<<1;$8_1=Math_imul($5_1,$5_1);break label$7}$5_1=$6_1-$22_1<<1;$8_1=Math_imul($5_1,$5_1)}$6_1=0}$10_1=HEAPU8[$4_1+$13_1|0];label$9:{if(($10_1|0)<($21_1|0)){$5_1=Math_imul($10_1-$21_1|0,3);$6_1=Math_imul($5_1,$5_1)+$6_1|0;$5_1=Math_imul($10_1-$18_1|0,3);$5_1=Math_imul($5_1,$5_1);break label$9}if(($10_1|0)>($18_1|0)){$5_1=Math_imul($10_1-$18_1|0,3);$6_1=Math_imul($5_1,$5_1)+$6_1|0;$5_1=Math_imul($10_1-$21_1|0,3);$5_1=Math_imul($5_1,$5_1);break label$9}if(($9_1|0)>=($10_1|0)){$5_1=Math_imul($10_1-$18_1|0,3);$5_1=Math_imul($5_1,$5_1);break label$9}$5_1=Math_imul($10_1-$21_1|0,3);$5_1=Math_imul($5_1,$5_1)}$8_1=$5_1+$8_1|0;$10_1=HEAPU8[$4_1+$16_1|0];label$13:{if(($10_1|0)<($20_1|0)){$5_1=$10_1-$20_1|0;$6_1=Math_imul($5_1,$5_1)+$6_1|0;$5_1=$10_1-$17_1|0;$5_1=Math_imul($5_1,$5_1);break label$13}if(($10_1|0)>($17_1|0)){$5_1=$10_1-$17_1|0;$6_1=Math_imul($5_1,$5_1)+$6_1|0;$5_1=$10_1-$20_1|0;$5_1=Math_imul($5_1,$5_1);break label$13}if(($10_1|0)<=($23_1|0)){$5_1=$10_1-$17_1|0;$5_1=Math_imul($5_1,$5_1);break label$13}$5_1=$10_1-$20_1|0;$5_1=Math_imul($5_1,$5_1)}HEAP32[($14_1+384|0)+($4_1<<2)>>2]=$6_1;$5_1=$5_1+$8_1|0;$12_1=($5_1|0)<($12_1|0)?$5_1:$12_1;$4_1=$4_1+1|0;if(($11_1|0)!=($4_1|0)){continue}break}$7_1=$11_1&1;label$17:{if(($11_1|0)==1){$10_1=0;$4_1=0;break label$17}$8_1=$11_1&-2;$10_1=0;$4_1=0;$6_1=0;while(1){if(HEAP32[($14_1+384|0)+($4_1<<2)>>2]<=($12_1|0)){HEAP8[($14_1+128|0)+$10_1|0]=$4_1;$10_1=$10_1+1|0}$5_1=$4_1|1;if(HEAP32[($14_1+384|0)+($5_1<<2)>>2]<=($12_1|0)){HEAP8[($14_1+128|0)+$10_1|0]=$5_1;$10_1=$10_1+1|0}$4_1=$4_1+2|0;$6_1=$6_1+2|0;if(($8_1|0)!=($6_1|0)){continue}break}}if(!$7_1|HEAP32[($14_1+384|0)+($4_1<<2)>>2]>($12_1|0)){break label$1}HEAP8[($14_1+128|0)+$10_1|0]=$4_1;$10_1=$10_1+1|0}$6_1=127;$4_1=$14_1+384|0;while(1){HEAP32[$4_1+24>>2]=2147483647;HEAP32[$4_1+28>>2]=2147483647;HEAP32[$4_1+16>>2]=2147483647;HEAP32[$4_1+20>>2]=2147483647;HEAP32[$4_1+8>>2]=2147483647;HEAP32[$4_1+12>>2]=2147483647;HEAP32[$4_1>>2]=2147483647;HEAP32[$4_1+4>>2]=2147483647;$4_1=$4_1+32|0;$5_1=($6_1|0)==7;$6_1=$6_1-8|0;if(!$5_1){continue}break}if(($10_1|0)>0){$23_1=0;while(1){$11_1=HEAPU8[($14_1+128|0)+$23_1|0];$8_1=HEAP32[$0_1+136>>2];$9_1=$20_1-HEAPU8[$11_1+HEAP32[$8_1+8>>2]|0]|0;$5_1=$9_1<<4;$17_1=$5_1+320|0;$18_1=$5_1+192|0;$19_1=$5_1- -64|0;$13_1=$22_1-HEAPU8[$11_1+HEAP32[$8_1>>2]|0]|0;$15_1=$13_1<<6;$16_1=$15_1+256|0;$5_1=7;$4_1=$14_1+384|0;$6_1=$14_1;$7_1=$21_1-HEAPU8[$11_1+HEAP32[$8_1+4>>2]|0]|0;$12_1=Math_imul($7_1,72)+144|0;$8_1=$12_1;$7_1=Math_imul($7_1,3);$25_1=Math_imul($7_1,$7_1);$7_1=$13_1<<1;$13_1=($25_1+Math_imul($7_1,$7_1)|0)+Math_imul($9_1,$9_1)|0;$9_1=$13_1;while(1){if(HEAP32[$4_1>>2]>($9_1|0)){HEAP32[$4_1>>2]=$9_1;HEAP8[$6_1|0]=$11_1}$7_1=$9_1+$19_1|0;if(($7_1|0)>2]){HEAP32[$4_1+4>>2]=$7_1;HEAP8[$6_1+1|0]=$11_1}$7_1=$7_1+$18_1|0;if(($7_1|0)>2]){HEAP32[$4_1+8>>2]=$7_1;HEAP8[$6_1+2|0]=$11_1}$7_1=$7_1+$17_1|0;if(($7_1|0)>2]){HEAP32[$4_1+12>>2]=$7_1;HEAP8[$6_1+3|0]=$11_1}$7_1=$5_1;$5_1=$5_1-1|0;$9_1=$8_1+$9_1|0;$6_1=$6_1+4|0;$4_1=$4_1+16|0;$8_1=$8_1+288|0;if($7_1){continue}break}$5_1=7;$8_1=$12_1;$13_1=$13_1+$16_1|0;$9_1=$13_1;while(1){if(HEAP32[$4_1>>2]>($9_1|0)){HEAP32[$4_1>>2]=$9_1;HEAP8[$6_1|0]=$11_1}$7_1=$9_1+$19_1|0;if(($7_1|0)>2]){HEAP32[$4_1+4>>2]=$7_1;HEAP8[$6_1+1|0]=$11_1}$7_1=$7_1+$18_1|0;if(($7_1|0)>2]){HEAP32[$4_1+8>>2]=$7_1;HEAP8[$6_1+2|0]=$11_1}$7_1=$7_1+$17_1|0;if(($7_1|0)>2]){HEAP32[$4_1+12>>2]=$7_1;HEAP8[$6_1+3|0]=$11_1}$7_1=$5_1;$5_1=$5_1-1|0;$9_1=$8_1+$9_1|0;$6_1=$6_1+4|0;$4_1=$4_1+16|0;$8_1=$8_1+288|0;if($7_1){continue}break}$5_1=7;$8_1=$12_1;$13_1=($15_1+$13_1|0)+768|0;$9_1=$13_1;while(1){if(HEAP32[$4_1>>2]>($9_1|0)){HEAP32[$4_1>>2]=$9_1;HEAP8[$6_1|0]=$11_1}$7_1=$9_1+$19_1|0;if(($7_1|0)>2]){HEAP32[$4_1+4>>2]=$7_1;HEAP8[$6_1+1|0]=$11_1}$7_1=$7_1+$18_1|0;if(($7_1|0)>2]){HEAP32[$4_1+8>>2]=$7_1;HEAP8[$6_1+2|0]=$11_1}$7_1=$7_1+$17_1|0;if(($7_1|0)>2]){HEAP32[$4_1+12>>2]=$7_1;HEAP8[$6_1+3|0]=$11_1}$7_1=$5_1;$5_1=$5_1-1|0;$9_1=$8_1+$9_1|0;$6_1=$6_1+4|0;$4_1=$4_1+16|0;$8_1=$8_1+288|0;if($7_1){continue}break}$9_1=($15_1+$13_1|0)+1280|0;$5_1=7;while(1){if(HEAP32[$4_1>>2]>($9_1|0)){HEAP32[$4_1>>2]=$9_1;HEAP8[$6_1|0]=$11_1}$8_1=$9_1+$19_1|0;if(($8_1|0)>2]){HEAP32[$4_1+4>>2]=$8_1;HEAP8[$6_1+1|0]=$11_1}$8_1=$8_1+$18_1|0;if(($8_1|0)>2]){HEAP32[$4_1+8>>2]=$8_1;HEAP8[$6_1+2|0]=$11_1}$8_1=$8_1+$17_1|0;if(($8_1|0)>2]){HEAP32[$4_1+12>>2]=$8_1;HEAP8[$6_1+3|0]=$11_1}$8_1=$5_1;$5_1=$5_1-1|0;$9_1=$9_1+$12_1|0;$6_1=$6_1+4|0;$4_1=$4_1+16|0;$12_1=$12_1+288|0;if($8_1){continue}break}$23_1=$23_1+1|0;if(($23_1|0)!=($10_1|0)){continue}break}}$13_1=$1_1&-4;$8_1=0;$4_1=$14_1;$9_1=($3_1&-4)<<1;$16_1=$2_1&-8;$7_1=($16_1|1)<<6;$6_1=($16_1|2)<<6;$12_1=($16_1|3)<<6;$5_1=($16_1|4)<<6;$3_1=($16_1|5)<<6;$1_1=($16_1|6)<<6;$0_1=($2_1|7)<<6;while(1){$15_1=HEAP32[($8_1+$13_1<<2)+$24_1>>2];$2_1=$9_1+($15_1+($16_1<<6)|0)|0;HEAP16[$2_1>>1]=HEAPU8[$4_1|0]+1;HEAP16[$2_1+2>>1]=HEAPU8[$4_1+1|0]+1;HEAP16[$2_1+4>>1]=HEAPU8[$4_1+2|0]+1;HEAP16[$2_1+6>>1]=HEAPU8[$4_1+3|0]+1;$2_1=$9_1+($7_1+$15_1|0)|0;HEAP16[$2_1>>1]=HEAPU8[$4_1+4|0]+1;HEAP16[$2_1+2>>1]=HEAPU8[$4_1+5|0]+1;HEAP16[$2_1+4>>1]=HEAPU8[$4_1+6|0]+1;HEAP16[$2_1+6>>1]=HEAPU8[$4_1+7|0]+1;$2_1=$9_1+($6_1+$15_1|0)|0;HEAP16[$2_1>>1]=HEAPU8[$4_1+8|0]+1;HEAP16[$2_1+2>>1]=HEAPU8[$4_1+9|0]+1;HEAP16[$2_1+4>>1]=HEAPU8[$4_1+10|0]+1;HEAP16[$2_1+6>>1]=HEAPU8[$4_1+11|0]+1;$2_1=$9_1+($12_1+$15_1|0)|0;HEAP16[$2_1>>1]=HEAPU8[$4_1+12|0]+1;HEAP16[$2_1+2>>1]=HEAPU8[$4_1+13|0]+1;HEAP16[$2_1+4>>1]=HEAPU8[$4_1+14|0]+1;HEAP16[$2_1+6>>1]=HEAPU8[$4_1+15|0]+1;$2_1=$9_1+($5_1+$15_1|0)|0;HEAP16[$2_1>>1]=HEAPU8[$4_1+16|0]+1;HEAP16[$2_1+2>>1]=HEAPU8[$4_1+17|0]+1;HEAP16[$2_1+4>>1]=HEAPU8[$4_1+18|0]+1;HEAP16[$2_1+6>>1]=HEAPU8[$4_1+19|0]+1;$2_1=$9_1+($3_1+$15_1|0)|0;HEAP16[$2_1>>1]=HEAPU8[$4_1+20|0]+1;HEAP16[$2_1+2>>1]=HEAPU8[$4_1+21|0]+1;HEAP16[$2_1+4>>1]=HEAPU8[$4_1+22|0]+1;HEAP16[$2_1+6>>1]=HEAPU8[$4_1+23|0]+1;$2_1=$9_1+($1_1+$15_1|0)|0;HEAP16[$2_1>>1]=HEAPU8[$4_1+24|0]+1;HEAP16[$2_1+2>>1]=HEAPU8[$4_1+25|0]+1;HEAP16[$2_1+4>>1]=HEAPU8[$4_1+26|0]+1;HEAP16[$2_1+6>>1]=HEAPU8[$4_1+27|0]+1;$2_1=$9_1+($0_1+$15_1|0)|0;HEAP16[$2_1>>1]=HEAPU8[$4_1+28|0]+1;HEAP16[$2_1+2>>1]=HEAPU8[$4_1+29|0]+1;HEAP16[$2_1+4>>1]=HEAPU8[$4_1+30|0]+1;HEAP16[$2_1+6>>1]=HEAPU8[$4_1+31|0]+1;$4_1=$4_1+32|0;$8_1=$8_1+1|0;if(($8_1|0)!=4){continue}break}global$0=$14_1+1408|0}function $661($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0;$22_1=70;$23_1=1e6;if(($3_1|0)==1){$1_1=($1_1|0)/2|0;$23_1=25e4;$22_1=17;$0_1=($0_1|0)/2|0}HEAP32[$5_1>>2]=0;$24_1=$2_1+1179664|0;$25_1=$1_1-2|0;$26_1=$0_1-2|0;$1_1=0;while(1){label$3:{if(HEAP32[$2_1+8>>2]<=($1_1|0)){$6_1=HEAP32[$5_1>>2];break label$3}$21_1=($1_1<<2)+$2_1|0;$6_1=HEAP32[$21_1+12>>2];label$5:{if(($6_1|0)<($22_1|0)|($6_1|0)>($23_1|0)){break label$5}$19_1=($1_1<<4)+$2_1|0;$8_1=$19_1+131084|0;if(HEAP32[$8_1>>2]==1|HEAP32[$19_1+131088>>2]==($26_1|0)|(HEAP32[$19_1+131092>>2]==1|HEAP32[$19_1+131096>>2]==($25_1|0))){break label$5}$9_1=$1_1+1|0;$10_1=Math_imul(HEAP32[$5_1>>2],80048)+$4_1|0;$14_1=global$0-8e4|0;global$0=$14_1;$15_1=HEAP32[$2_1>>2];$6_1=HEAP32[$8_1>>2];$12_1=HEAP32[$8_1+8>>2];$7_1=$15_1+($6_1+Math_imul($12_1,$0_1)<<1)|0;$8_1=HEAP32[$8_1+4>>2];label$6:{label$7:{label$8:{while(1){if(($6_1|0)>($8_1|0)){break label$8}$11_1=HEAP16[$7_1>>1];if(!(($11_1|0)>0&($9_1|0)==HEAP32[($24_1+(($11_1&65535)<<2)|0)-4>>2])){$7_1=$7_1+2|0;$6_1=$6_1+1|0;continue}break}if(($6_1|0)!=-1){break label$7}}$5(0,3,1517,0);$6_1=-1;break label$6}HEAP32[$10_1+40028>>2]=$12_1;HEAP32[$10_1+28>>2]=$6_1;HEAP32[$10_1+24>>2]=1;$8_1=$10_1+28|0;$9_1=1;$7_1=5;label$12:{while(1){$20_1=$9_1<<2;$9_1=$20_1+$10_1|0;$11_1=HEAP32[$9_1+24>>2];$16_1=$15_1+($11_1+Math_imul(HEAP32[$9_1+40024>>2],$0_1)<<1)|0;$7_1=$7_1+5|0;$9_1=0;label$14:{while(1){label$16:{$7_1=($7_1|0)%8|0;if(($9_1|0)==8){break label$16}$18_1=$7_1<<2;$17_1=HEAP32[$18_1+12160>>2];$18_1=HEAP32[$18_1+12128>>2];if(HEAP16[$16_1+(Math_imul($17_1,$0_1)+$18_1<<1)>>1]>0){break label$14}$9_1=$9_1+1|0;$7_1=$7_1+1|0;continue}break}$5(0,3,2711,0);$6_1=-1;break label$6}HEAP32[$8_1+$20_1>>2]=$11_1+$18_1;$9_1=$10_1+(HEAP32[$10_1+24>>2]<<2)|0;HEAP32[$9_1+40028>>2]=$17_1+HEAP32[$9_1+40024>>2];$9_1=HEAP32[$10_1+24>>2];$11_1=$9_1<<2;if(!(HEAP32[$11_1+$8_1>>2]!=($6_1|0)|($12_1|0)!=HEAP32[($10_1+$11_1|0)+40028>>2])){$20_1=($9_1|0)>1?$9_1:1;$11_1=0;$8_1=0;$7_1=1;break label$12}$9_1=$9_1+1|0;HEAP32[$10_1+24>>2]=$9_1;if(($9_1|0)!=9999){continue}break}$5(0,3,3482,0);$6_1=-1;break label$6}while(1){if(($7_1|0)!=($20_1|0)){$15_1=$10_1+($7_1<<2)|0;$16_1=HEAP32[$15_1+40028>>2]-$12_1|0;$15_1=HEAP32[$15_1+28>>2]-$6_1|0;$16_1=Math_imul($16_1,$16_1)+Math_imul($15_1,$15_1)|0;$15_1=($16_1|0)>($11_1|0);$11_1=$15_1?$16_1:$11_1;$8_1=$15_1?$7_1:$8_1;$7_1=$7_1+1|0;continue}break}$6_1=0;$7_1=($8_1|0)>0?$8_1:0;while(1){if(($6_1|0)==($7_1|0)){$12_1=$10_1+28|0;$11_1=$10_1+40028|0;$6_1=$8_1;while(1){if(($6_1|0)>=($9_1|0)){$6_1=0;while(1){if(($6_1|0)!=($7_1|0)){$9_1=$6_1-$8_1|0;$12_1=$6_1<<2;HEAP32[($10_1+($9_1+HEAP32[$10_1+24>>2]<<2)|0)+28>>2]=HEAP32[$12_1+($14_1+4e4|0)>>2];HEAP32[($10_1+($9_1+HEAP32[$10_1+24>>2]<<2)|0)+40028>>2]=HEAP32[$12_1+$14_1>>2];$6_1=$6_1+1|0;continue}break}HEAP32[($10_1+28|0)+(HEAP32[$10_1+24>>2]<<2)>>2]=HEAP32[$10_1+28>>2];HEAP32[($10_1+40028|0)+(HEAP32[$10_1+24>>2]<<2)>>2]=HEAP32[$10_1+40028>>2];HEAP32[$10_1+24>>2]=HEAP32[$10_1+24>>2]+1}else{$9_1=$6_1-$8_1<<2;$15_1=$6_1<<2;HEAP32[$9_1+$12_1>>2]=HEAP32[$15_1+$12_1>>2];HEAP32[$9_1+$11_1>>2]=HEAP32[$11_1+$15_1>>2];$6_1=$6_1+1|0;$9_1=HEAP32[$10_1+24>>2];continue}break}}else{$12_1=$6_1<<2;$11_1=$12_1+$10_1|0;HEAP32[$12_1+($14_1+4e4|0)>>2]=HEAP32[$11_1+28>>2];HEAP32[$12_1+$14_1>>2]=HEAP32[$11_1+40028>>2];$6_1=$6_1+1|0;continue}break}$6_1=0}global$0=$14_1+8e4|0;if(($6_1|0)<0){break label$5}$15_1=HEAP32[$21_1+12>>2];$8_1=0;$7_1=global$0-112|0;global$0=$7_1;$9_1=Math_imul(HEAP32[$5_1>>2],80048)+$4_1|0;$10_1=$9_1+40028|0;$12_1=$9_1+28|0;$6_1=HEAP32[$9_1+24>>2];$20_1=(($6_1|0)>2?$6_1:2)-1|0;$16_1=HEAP32[$9_1+40028>>2];$18_1=HEAP32[$9_1+28>>2];$6_1=0;$14_1=1;while(1){if(($14_1|0)!=($20_1|0)){$11_1=$9_1+($14_1<<2)|0;$17_1=HEAP32[$11_1+40028>>2]-$16_1|0;$11_1=HEAP32[$11_1+28>>2]-$18_1|0;$17_1=Math_imul($17_1,$17_1)+Math_imul($11_1,$11_1)|0;$11_1=($17_1|0)>($8_1|0);$8_1=$11_1?$17_1:$8_1;$6_1=$11_1?$14_1:$6_1;$14_1=$14_1+1|0;continue}break}HEAP32[$7_1+12>>2]=0;HEAP32[$7_1+60>>2]=0;$13_1=+($15_1|0)/.75*.01*1;label$30:{if(($189($12_1,$10_1,0,$6_1,$13_1,$7_1- -64|0,$7_1+60|0)|0)<0){$14_1=-1;break label$30}$14_1=-1;if(($189($12_1,$10_1,$6_1,HEAP32[$9_1+24>>2]-1|0,$13_1,$7_1+16|0,$7_1+12|0)|0)<0){break label$30}$8_1=HEAP32[$7_1+60>>2];$11_1=HEAP32[$7_1+12>>2];label$32:{if(!(($8_1|0)!=1|($11_1|0)!=1)){$8_1=HEAP32[$7_1+16>>2];$10_1=$6_1;$6_1=HEAP32[$7_1+64>>2];break label$32}if(!($11_1|($8_1|0)<2)){HEAP32[$7_1+60>>2]=0;HEAP32[$7_1+12>>2]=0;$8_1=($6_1|0)/2|0;if(($189($12_1,$10_1,0,$8_1,$13_1,$7_1- -64|0,$7_1+60|0)|0)<0){break label$30}if(($189($12_1,$10_1,$8_1,$6_1,$13_1,$7_1+16|0,$7_1+12|0)|0)<0|HEAP32[$7_1+60>>2]!=1|HEAP32[$7_1+12>>2]!=1){break label$30}$10_1=HEAP32[$7_1+16>>2];$8_1=$6_1;$6_1=HEAP32[$7_1+64>>2];break label$32}if($8_1|($11_1|0)<2){break label$30}$8_1=HEAP32[$9_1+24>>2];HEAP32[$7_1+60>>2]=0;HEAP32[$7_1+12>>2]=0;$8_1=(($6_1+$8_1|0)-1|0)/2|0;if(($189($12_1,$10_1,$6_1,$8_1,$13_1,$7_1- -64|0,$7_1+60|0)|0)<0){break label$30}if(($189($12_1,$10_1,$8_1,HEAP32[$9_1+24>>2]-1|0,$13_1,$7_1+16|0,$7_1+12|0)|0)<0|HEAP32[$7_1+60>>2]!=1|HEAP32[$7_1+12>>2]!=1){break label$30}$8_1=HEAP32[$7_1+16>>2];$10_1=HEAP32[$7_1+64>>2]}$14_1=0;HEAP32[$9_1+80028>>2]=0;HEAP32[$9_1+80040>>2]=$8_1;HEAP32[$9_1+80036>>2]=$10_1;HEAP32[$9_1+80032>>2]=$6_1;HEAP32[$9_1+80044>>2]=HEAP32[$9_1+24>>2]-1}global$0=$7_1+112|0;if(($14_1|0)<0){break label$5}HEAP32[Math_imul(HEAP32[$5_1>>2],80048)+$4_1>>2]=HEAP32[$21_1+12>>2];$6_1=HEAP32[$5_1>>2];$8_1=Math_imul($6_1,80048)+$4_1|0;HEAPF64[$8_1+8>>3]=HEAPF64[$19_1+655376>>3];HEAPF64[$8_1+16>>3]=HEAPF64[$19_1+655384>>3];$8_1=$6_1+1|0;HEAP32[$5_1>>2]=$8_1;$6_1=60;if(($8_1|0)==60){break label$3}}$1_1=$1_1+1|0;continue}break}$2_1=0;$1_1=0;label$35:while(1){if(($1_1|0)>=($6_1|0)){while(1){if(($2_1|0)<($6_1|0)){$1_1=$2_1;if(!HEAP32[Math_imul($1_1,80048)+$4_1>>2]){while(1){$0_1=$1_1+1|0;if(($0_1|0)<($6_1|0)){wasm2js_memory_copy(Math_imul($1_1,80048)+$4_1|0,Math_imul($0_1,80048)+$4_1|0,80048);$6_1=HEAP32[$5_1>>2];$1_1=$0_1;continue}break}$6_1=$6_1-1|0;HEAP32[$5_1>>2]=$6_1}$2_1=$2_1+1|0;continue}break}label$42:{if(($3_1|0)!=1){break label$42}$0_1=0;while(1){if(($0_1|0)>=($6_1|0)){break label$42}HEAP32[$4_1>>2]=HEAP32[$4_1>>2]<<2;$13_1=HEAPF64[$4_1+8>>3];HEAPF64[$4_1+8>>3]=$13_1+$13_1;$13_1=HEAPF64[$4_1+16>>3];HEAPF64[$4_1+16>>3]=$13_1+$13_1;$3_1=HEAP32[$4_1+24>>2];$1_1=0;while(1){if(($1_1|0)<($3_1|0)){$2_1=($1_1<<2)+$4_1|0;HEAP32[$2_1+28>>2]=HEAP32[$2_1+28>>2]<<1;$2_1=$2_1+40028|0;HEAP32[$2_1>>2]=HEAP32[$2_1>>2]<<1;$1_1=$1_1+1|0;continue}break}$0_1=$0_1+1|0;$4_1=$4_1+80048|0;$6_1=HEAP32[$5_1>>2];continue}}return 0}$8_1=Math_imul($1_1,80048)+$4_1|0;$0_1=$1_1+1|0;$1_1=$0_1;while(1)if(($1_1|0)>=($6_1|0)){$1_1=$0_1;continue label$35}else{$6_1=Math_imul($1_1,80048)+$4_1|0;$13_1=HEAPF64[$8_1+8>>3]-HEAPF64[$6_1+8>>3];$27_1=$13_1*$13_1;$13_1=HEAPF64[$8_1+16>>3]-HEAPF64[$6_1+16>>3];$13_1=$27_1+$13_1*$13_1;$10_1=HEAP32[$8_1>>2];$7_1=HEAP32[$6_1>>2];label$49:{label$50:{if(($10_1|0)>($7_1|0)){if($13_1<+(($10_1|0)/4|0)){break label$50}break label$49}$6_1=$8_1;if(!($13_1<+(($7_1|0)/4|0))){break label$49}}HEAP32[$6_1>>2]=0}$1_1=$1_1+1|0;$6_1=HEAP32[$5_1>>2];continue}}}function $578($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=$0_1;label$1:{if($0_1>>>0<=211){$3_1=HEAP32[$577(50784,50976,$4_1+12|0)>>2];break label$1}if($0_1>>>0>=4294967292){$55();abort()}$5_1=($0_1>>>0)/210|0;$3_1=Math_imul($5_1,210);HEAP32[$4_1+8>>2]=$0_1-$3_1;$6_1=$577(50976,51168,$4_1+8|0)-50976>>2;while(1){$3_1=HEAP32[($6_1<<2)+50976>>2]+$3_1|0;$0_1=5;label$5:{while(1){label$7:{if(($0_1|0)==47){$0_1=211;while(1){$1_1=($3_1>>>0)/($0_1>>>0)|0;if($1_1>>>0<$0_1>>>0){break label$5}if((Math_imul($0_1,$1_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+10|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+12|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+16|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+18|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+22|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+28|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+30|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+36|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+40|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+42|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+46|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+52|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+58|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+60|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+66|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+70|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+72|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+78|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+82|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+88|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+96|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+100|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+102|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+106|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+108|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+112|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+120|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+126|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+130|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+136|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+138|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+142|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+148|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+150|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+156|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+162|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+166|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+168|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+172|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+178|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+180|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+186|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+190|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+192|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+196|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+198|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}if((Math_imul($1_1,$2_1)|0)==($3_1|0)){break label$7}$1_1=$0_1+208|0;$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}$0_1=$0_1+210|0;if((Math_imul($1_1,$2_1)|0)!=($3_1|0)){continue}break}break label$7}$1_1=HEAP32[($0_1<<2)+50784>>2];$2_1=($3_1>>>0)/($1_1>>>0)|0;if($1_1>>>0>$2_1>>>0){break label$5}$0_1=$0_1+1|0;if((Math_imul($1_1,$2_1)|0)!=($3_1|0)){continue}}break}$3_1=$6_1+1|0;$0_1=($3_1|0)==48;$6_1=$0_1?0:$3_1;$5_1=$0_1+$5_1|0;$3_1=Math_imul($5_1,210);continue}break}HEAP32[$4_1+12>>2]=$3_1}global$0=$4_1+16|0;return $3_1}function $643($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=Math_fround(0),$7_1=Math_fround(0),$8_1=0,$9_1=Math_fround(0),$10_1=Math_fround(0),$11_1=Math_fround(0),$12_1=Math_fround(0),$13_1=Math_fround(0),$14_1=Math_fround(0),$15_1=Math_fround(0),$16_1=0,$17_1=Math_fround(0),$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=Math_fround(0),$23_1=Math_fround(0),$24_1=Math_fround(0),$25_1=Math_fround(0),$26_1=Math_fround(0);$8_1=global$0-32|0;global$0=$8_1;label$1:{label$2:{if(($2_1|0)<0){break label$2}label$3:{switch($2_1|0){case 0:$11_1=Math_fround(($5_1|0)/2|0);$12_1=Math_fround(($4_1|0)/2|0);$13_1=Math_fround(($5_1|0)/8|0);$10_1=Math_fround(($4_1|0)/8|0);$14_1=Math_fround((Math_imul($5_1,7)|0)/8|0);$15_1=Math_fround((Math_imul($4_1,7)|0)/8|0);$2_1=0;$4_1=-1;while(1){label$9:{label$10:{label$11:{$1_1=Math_imul($2_1,24)+$0_1|0;switch(HEAP32[$1_1+12>>2]+1|0){case 1:break label$11;case 0:break label$9;default:break label$10}}$6_1=HEAPF32[$1_1+16>>2];if($6_1<$10_1|$6_1>$15_1){break label$10}$7_1=HEAPF32[$1_1+20>>2];if($7_1<$13_1|$7_1>$14_1){break label$10}$6_1=Math_fround($6_1-$12_1);$17_1=Math_fround($6_1*$6_1);$6_1=Math_fround($7_1-$11_1);$6_1=Math_fround($17_1+Math_fround($6_1*$6_1));if(!($6_1>$9_1)){break label$10}$4_1=$2_1;$9_1=$6_1}$2_1=$2_1+1|0;continue}break};$2_1=-1;if(($4_1|0)==-1){break label$1}HEAP32[(Math_imul($4_1,24)+$0_1|0)+12>>2]=1;$2_1=$4_1;break label$1;case 1:$11_1=Math_fround(($5_1|0)/8|0);$12_1=Math_fround(($4_1|0)/8|0);$13_1=Math_fround((Math_imul($5_1,7)|0)/8|0);$10_1=Math_fround((Math_imul($4_1,7)|0)/8|0);$4_1=-1;$2_1=0;while(1){label$13:{label$14:{label$15:{$1_1=Math_imul($2_1,24)+$0_1|0;switch(HEAP32[$1_1+12>>2]+1|0){case 0:break label$13;case 1:break label$15;default:break label$14}}$6_1=HEAPF32[$1_1+16>>2];if($6_1<$12_1|$6_1>$10_1){break label$14}$7_1=HEAPF32[$1_1+20>>2];if($7_1<$11_1|$7_1>$13_1){break label$14}$6_1=Math_fround($6_1-HEAPF32[$3_1>>2]);$15_1=Math_fround($6_1*$6_1);$6_1=Math_fround($7_1-HEAPF32[$3_1+4>>2]);$6_1=Math_fround($15_1+Math_fround($6_1*$6_1));if(!($6_1>$9_1)){break label$14}$9_1=$6_1;$4_1=$2_1}$2_1=$2_1+1|0;continue}break};$2_1=-1;if(($4_1|0)==-1){break label$1}HEAP32[(Math_imul($4_1,24)+$0_1|0)+12>>2]=1;$2_1=$4_1;break label$1;case 2:$11_1=Math_fround(($5_1|0)/8|0);$12_1=Math_fround(($4_1|0)/8|0);$13_1=Math_fround((Math_imul($5_1,7)|0)/8|0);$10_1=Math_fround((Math_imul($4_1,7)|0)/8|0);$4_1=-1;$2_1=0;while(1){label$17:{label$18:{label$19:{$1_1=Math_imul($2_1,24)+$0_1|0;switch(HEAP32[$1_1+12>>2]+1|0){case 0:break label$17;case 1:break label$19;default:break label$18}}$6_1=HEAPF32[$1_1+16>>2];if($6_1<$12_1|$6_1>$10_1){break label$18}$7_1=HEAPF32[$1_1+20>>2];if($7_1<$11_1|$7_1>$13_1){break label$18}$15_1=$6_1;$6_1=HEAPF32[$3_1>>2];$14_1=HEAPF32[$3_1+4>>2];$6_1=Math_fround(Math_fround(Math_fround($15_1-$6_1)*Math_fround(HEAPF32[$3_1+12>>2]-$14_1))-Math_fround(Math_fround(HEAPF32[$3_1+8>>2]-$6_1)*Math_fround($7_1-$14_1)));$6_1=Math_fround($6_1*$6_1);if(!($6_1>$9_1)){break label$18}$9_1=$6_1;$4_1=$2_1}$2_1=$2_1+1|0;continue}break};$2_1=-1;if(($4_1|0)==-1){break label$1}HEAP32[(Math_imul($4_1,24)+$0_1|0)+12>>2]=1;$2_1=$4_1;break label$1;case 3:$446($3_1,$3_1+8|0,$8_1+28|0,$8_1+24|0);$446($3_1,$3_1+16|0,$8_1+20|0,$8_1+16|0);$7_1=HEAPF32[$8_1+20>>2];$11_1=HEAPF32[$8_1+24>>2];$9_1=Math_fround($7_1*$11_1);$12_1=HEAPF32[$8_1+28>>2];$13_1=HEAPF32[$8_1+16>>2];$6_1=Math_fround($12_1*$13_1);$18_1=Math_fround($9_1-$6_1)>=Math_fround(0);$16_1=$18_1?2:1;$20_1=$18_1?1:2;$15_1=Math_fround($6_1-$9_1);$21_1=$3_1+24|0;$17_1=Math_fround(($5_1|0)/8|0);$22_1=Math_fround(($4_1|0)/8|0);$23_1=Math_fround((Math_imul($5_1,7)|0)/8|0);$24_1=Math_fround((Math_imul($4_1,7)|0)/8|0);$25_1=Math_fround(-$11_1);$26_1=Math_fround(-$13_1);$2_1=-1;$5_1=0;$9_1=Math_fround(0);while(1){label$21:{label$22:{label$23:{$1_1=Math_imul($5_1,24)+$0_1|0;switch(HEAP32[$1_1+12>>2]+1|0){case 0:break label$21;case 1:break label$23;default:break label$22}}$6_1=HEAPF32[$1_1+16>>2];if($6_1<$22_1|$6_1>$24_1){break label$22}$10_1=HEAPF32[$1_1+20>>2];if($10_1<$17_1|$10_1>$23_1){break label$22}HEAPF32[$3_1+24>>2]=$6_1;HEAPF32[$3_1+28>>2]=HEAPF32[$1_1+20>>2];$446($3_1,$21_1,$8_1+12|0,$8_1+8|0);$6_1=HEAPF32[$8_1+12>>2];$14_1=HEAPF32[$8_1+8>>2];$10_1=Math_fround(-$14_1);label$24:{if(!(!$18_1|!(Math_fround(Math_fround($6_1*$11_1)+Math_fround($12_1*$10_1))>=Math_fround(0)))){$1_1=Math_fround(Math_fround($6_1*$13_1)+Math_fround($7_1*$10_1))>=Math_fround(0);$4_1=$1_1?3:2;$1_1=$1_1?2:3;$19_1=1;break label$24}if(!(!(Math_fround(Math_fround($6_1*$13_1)+Math_fround($7_1*$10_1))>=Math_fround(0))|!($15_1>=Math_fround(0)))){$1_1=Math_fround(Math_fround($6_1*$11_1)+Math_fround($12_1*$10_1))>=Math_fround(0);$4_1=$1_1?3:1;$1_1=$1_1?1:3;$19_1=2;break label$24}if(!(Math_fround(Math_fround($12_1*$14_1)+Math_fround($6_1*$25_1))>=Math_fround(0))){break label$22}$19_1=3;$1_1=$20_1;$4_1=$16_1;if(!(Math_fround(Math_fround($7_1*$14_1)+Math_fround($6_1*$26_1))>=Math_fround(0))){break label$22}}$1_1=($1_1<<3)+$3_1|0;$6_1=Math_fround($640($3_1,($19_1<<3)+$3_1|0,$1_1)+$640($3_1,$1_1,($4_1<<3)+$3_1|0));if(!($6_1>$9_1)){break label$22}$9_1=$6_1;$2_1=$5_1}$5_1=$5_1+1|0;continue}break};if(($2_1|0)==-1){break label$1}HEAP32[(Math_imul($2_1,24)+$0_1|0)+12>>2]=1;break label$1;default:break label$3}}label$27:{while(1){label$29:{label$30:{label$31:{$3_1=Math_imul($16_1,24)+$1_1|0;switch(HEAP32[$3_1+12>>2]+1|0){case 0:break label$29;case 1:break label$31;default:break label$30}}HEAP32[$3_1+12>>2]=1;$2_1=0;while(1){label$33:{label$34:{$4_1=Math_imul($2_1,24)+$0_1|0;switch(HEAP32[$4_1+12>>2]+1|0){case 0:break label$30;case 1:break label$34;default:break label$33}}if(HEAP32[$3_1>>2]!=HEAP32[$4_1>>2]){break label$33}$5_1=Math_imul($2_1,24)+$0_1|0;if(HEAP32[$3_1+4>>2]!=HEAP32[$5_1+4>>2]){break label$33}if(HEAP32[$3_1+8>>2]==HEAP32[$5_1+8>>2]){break label$27}}$2_1=$2_1+1|0;continue}}$16_1=$16_1+1|0;continue}break}HEAP32[$1_1+12>>2]=-1;$2_1=0;$1_1=HEAP32[16866];if(!$1_1){HEAP32[17062]=$645(0)-1;HEAP32[17063]=0;$1_1=HEAP32[16866]}$1_1=$1_1+1|0;HEAP32[16866]=($1_1|0)==128?0:$1_1;$5_1=0;while(1){label$38:{switch(HEAP32[(Math_imul($2_1,24)+$0_1|0)+12>>2]+1|0){case 1:$5_1=$5_1+1|0;default:$2_1=$2_1+1|0;continue;case 0:break label$38}}break}if(!$5_1){break label$2}$1_1=__wasm_i64_mul(HEAP32[17062],HEAP32[17063],1284865837,1481765933)+1|0;$2_1=i64toi32_i32$HIGH_BITS;$2_1=$1_1?$2_1:$2_1+1|0;HEAP32[17062]=$1_1;HEAP32[17063]=$2_1;$9_1=Math_fround(Math_fround(Math_fround($5_1|0)*Math_fround($2_1>>>1|0))*Math_fround(4.656612873077393e-10));label$41:{if(Math_fround(Math_abs($9_1))>2];switch($2_1+1|0){case 0:break label$1;case 1:break label$45;default:break label$44}}if(($1_1|0)==($4_1|0)){HEAP32[$3_1+12>>2]=1;$2_1=$5_1;break label$1}$4_1=$4_1+1|0}$5_1=$5_1+1|0;continue}}HEAP32[$4_1+12>>2]=1;break label$1}$2_1=-1}global$0=$8_1+32|0;return $2_1}function $635($0_1){$0_1=$0_1|0;var $1_1=0;label$1:{label$2:{label$3:{label$4:{label$5:{label$6:{label$7:{label$8:{label$9:{label$10:{label$11:{label$12:{label$13:{label$14:{label$15:{label$16:{label$17:{label$18:{label$19:{label$20:{label$21:{label$22:{$1_1=HEAP32[$0_1>>2];if(($1_1|0)<=201326591){if(($1_1|0)<=100663327){if(($1_1|0)<=67108863){label$26:{switch($1_1-33554432|0){case 1:break label$1;case 2:break label$20;case 0:break label$21;default:break label$26}}if(($1_1|0)==-2129657856){break label$22}if($1_1){break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]]();break label$1}label$27:{switch($1_1-67108872|0){case 1:break label$1;case 2:break label$17;case 0:break label$18;default:break label$27}}if(($1_1|0)==67108864){break label$19}if(($1_1|0)!=100663296){break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2]);break label$1}if(($1_1|0)<=134217759){label$29:{switch($1_1-100663336|0){case 1:break label$1;case 2:break label$14;case 0:break label$15;default:break label$29}}if(($1_1|0)==100663328){break label$16}if(($1_1|0)!=134217728){break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2]);break label$1}if(($1_1|0)<=167772159){switch($1_1-134217896|0){case 1:break label$1;case 2:break label$11;case 0:break label$12;default:break label$13}}if(($1_1|0)==167772160){break label$10}if(($1_1|0)!=167772840){break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAPF32[$0_1+24>>2],HEAPF32[$0_1+32>>2],HEAPF32[$0_1+40>>2],HEAPF32[$0_1+48>>2]);break label$1}if(($1_1|0)<=603979775){if(($1_1|0)<=335544319){if(($1_1|0)<=268435455){if(($1_1|0)==201326592){break label$9}if(($1_1|0)!=234881024){break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2],HEAP32[$0_1+48>>2],HEAP32[$0_1+56>>2],HEAP32[$0_1- -64>>2]);break label$1}if(($1_1|0)==268435456){break label$8}if(($1_1|0)!=301989888){break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2],HEAP32[$0_1+48>>2],HEAP32[$0_1+56>>2],HEAP32[$0_1- -64>>2],HEAP32[$0_1+72>>2],HEAP32[$0_1+80>>2]);break label$1}if(($1_1|0)<=536870911){if(($1_1|0)==335544320){break label$7}if(($1_1|0)!=369098752){break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2],HEAP32[$0_1+48>>2],HEAP32[$0_1+56>>2],HEAP32[$0_1- -64>>2],HEAP32[$0_1+72>>2],HEAP32[$0_1+80>>2],HEAP32[$0_1+88>>2],HEAP32[$0_1+96>>2]);break label$1}if(($1_1|0)==536870912){break label$6}if(($1_1|0)!=570425344){break label$1}HEAP32[$0_1+176>>2]=FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2]);break label$1}label$35:{if(($1_1|0)<=704643071){if(($1_1|0)<=654311423){if(($1_1|0)==603979776){break label$5}if(($1_1|0)!=637534208){break label$1}HEAP32[$0_1+176>>2]=FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2]);break label$1}if(($1_1|0)==654311424){break label$35}if(($1_1|0)!=671088640){break label$1}HEAP32[$0_1+176>>2]=FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2]);break label$1}if(($1_1|0)<=771751935){if(($1_1|0)==704643072){break label$4}if(($1_1|0)!=738197504){break label$1}HEAP32[$0_1+176>>2]=FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2],HEAP32[$0_1+48>>2],HEAP32[$0_1+56>>2]);break label$1}if(($1_1|0)==771751936){break label$3}if(($1_1|0)==805306368){break label$2}if(($1_1|0)!=838860800){break label$1}HEAP32[$0_1+176>>2]=FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2],HEAP32[$0_1+48>>2],HEAP32[$0_1+56>>2],HEAP32[$0_1- -64>>2],HEAP32[$0_1+72>>2],HEAP32[$0_1+80>>2]);break label$1}HEAP32[$0_1+176>>2]=fimport$38(HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2]);break label$1}HEAPF64[$0_1+176>>3]=fimport$37(HEAP32[$0_1+4>>2],HEAP32[$0_1+16>>2],$0_1+24|0);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAPF32[$0_1+16>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAPF32[$0_1+24>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAPF32[$0_1+16>>2],HEAPF32[$0_1+24>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAPF32[$0_1+32>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAPF32[$0_1+24>>2],HEAPF32[$0_1+32>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAPF32[$0_1+16>>2],HEAPF32[$0_1+24>>2],HEAPF32[$0_1+32>>2]);break label$1}if(($1_1|0)!=134217760){break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAPF32[$0_1+32>>2],HEAP32[$0_1+40>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAPF32[$0_1+24>>2],HEAPF32[$0_1+32>>2],HEAPF32[$0_1+40>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAPF32[$0_1+16>>2],HEAPF32[$0_1+24>>2],HEAPF32[$0_1+32>>2],HEAPF32[$0_1+40>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2],HEAP32[$0_1+48>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2],HEAP32[$0_1+48>>2],HEAP32[$0_1+56>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2],HEAP32[$0_1+48>>2],HEAP32[$0_1+56>>2],HEAP32[$0_1- -64>>2],HEAP32[$0_1+72>>2]);break label$1}FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2],HEAP32[$0_1+48>>2],HEAP32[$0_1+56>>2],HEAP32[$0_1- -64>>2],HEAP32[$0_1+72>>2],HEAP32[$0_1+80>>2],HEAP32[$0_1+88>>2]);break label$1}HEAP32[$0_1+176>>2]=FUNCTION_TABLE[HEAP32[$0_1+4>>2]]();break label$1}HEAP32[$0_1+176>>2]=FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2]);break label$1}HEAP32[$0_1+176>>2]=FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2],HEAP32[$0_1+48>>2]);break label$1}HEAP32[$0_1+176>>2]=FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2],HEAP32[$0_1+48>>2],HEAP32[$0_1+56>>2],HEAP32[$0_1- -64>>2]);break label$1}HEAP32[$0_1+176>>2]=FUNCTION_TABLE[HEAP32[$0_1+4>>2]](HEAP32[$0_1+16>>2],HEAP32[$0_1+24>>2],HEAP32[$0_1+32>>2],HEAP32[$0_1+40>>2],HEAP32[$0_1+48>>2],HEAP32[$0_1+56>>2],HEAP32[$0_1- -64>>2],HEAP32[$0_1+72>>2])}if(HEAP32[$0_1+188>>2]){if($0_1){$1(HEAP32[$0_1+184>>2])}$1($0_1);return}Atomics.store(HEAP32,$0_1+8>>2,1);$191($0_1+8|0,2147483647)}function $737($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=Math_fround(0);$12_1=global$0-48|0;global$0=$12_1;label$1:{label$2:{label$3:{label$4:{label$5:{label$6:{$9_1=$0_1+12|0;label$7:{if(($269(HEAP32[$9_1+4>>2],HEAP32[$0_1+108>>2])|0)>=($5_1|0)){$384($1_1,1);$223($259($1_1),$5_1);$2_1=($5_1|0)>0?$5_1:0;while(1){if(($2_1|0)==($6_1|0)){break label$7}$0_1=HEAP32[($6_1<<2)+$4_1>>2];HEAP32[$9($259($1_1),$6_1)>>2]=$0_1;$6_1=$6_1+1|0;continue}}$7_1=$226($12_1+24|0);$22_1=$2_1;$16_1=$3_1;$17_1=global$0-16|0;global$0=$17_1;label$10:{label$11:{label$12:{label$13:{$25_1=$9_1+12|0;if(HEAP32[$9_1+4>>2]==($21($25_1)|0)){if(($16_1|0)<=0){break label$13}if(($5_1|0)>($16_1|0)){break label$12}if(HEAP32[$9_1+4>>2]>($5_1|0)){break label$11}HEAP32[$17_1+12>>2]=-1;$11_1=$9_1+24|0;$734($11_1,$5_1,$17_1+12|0);HEAP32[$17_1+8>>2]=-1;$23_1=$9_1+36|0;$734($23_1,$5_1,$17_1+8|0);$14_1=$9_1+48|0;$223($14_1,$5_1);$733($9($14_1,0),$21($14_1));$3_1=-1;while(1){if(HEAP32[$9_1+8>>2]<=($8_1|0)){if(HEAP32[$9_1+4>>2]!=($21($25_1)|0)){$3($0($0($2($0($0($0(71248,18840),18931),9192),187),10056),19143));break label$1}}else{$463($9($14_1,0),$21($14_1),HEAP32[$9_1+4>>2],HEAP32[$9_1>>2]);$13_1=$9($14_1,0);$10_1=HEAP32[$9_1+4>>2];$20_1=0;$2_1=0;label$19:{label$20:{label$21:{label$22:{if(($21($23_1)|0)==($5_1|0)){if(($16_1|0)<=0){break label$22}if(($5_1|0)>($16_1|0)){break label$21}if(($10_1|0)<=0){break label$20}$15_1=($5_1|0)>0?$5_1:0;label$24:while(1){if(($15_1|0)==($20_1|0)){break label$19}$18_1=($20_1<<2)+$4_1|0;$24_1=0;$6_1=-1;while(1)if(($10_1|0)==($24_1|0)){$20_1=$20_1+1|0;$2_1=$2_1+$6_1|0;continue label$24}else{$19_1=$13_1+($24_1<<2)|0;$21_1=$382(Math_imul(HEAP32[$18_1>>2],96)+$22_1|0,Math_imul(HEAP32[(HEAP32[$19_1>>2]<<2)+$4_1>>2],96)+$22_1|0);if($21_1>>>0<$6_1>>>0){$6_1=HEAP32[$19_1>>2];HEAP32[$9($23_1,$20_1)>>2]=$6_1;$6_1=$21_1}$24_1=$24_1+1|0;continue}}}$3($0($0($2($0($0($0(71248,16240),18931),9192),198),10056),20960));fimport$0();abort()}$3($0($0($2($0($0($0(71248,19524),18931),9192),199),10056),19665));fimport$0();abort()}$3($0($0($2($0($0($0(71248,19945),18931),9192),200),10056),20085));fimport$0();abort()}$3($0($0($2($0($0($0(71248,21506),18931),9192),201),10056),21545));fimport$0();abort()}if($2_1>>>0<$3_1>>>0){$397($11_1,$23_1);$195($9($25_1,0),$9($14_1,0),HEAP32[$9_1+4>>2]);$3_1=$2_1}$8_1=$8_1+1|0;continue}break}global$0=$17_1+16|0;break label$10}$3($0($0($2($0($0($0(71248,18840),18931),9192),154),10056),19143));break label$1}$3($0($0($2($0($0($0(71248,19524),18931),9192),155),10056),19665));break label$1}$3($0($0($2($0($0($0(71248,19945),18931),9192),156),10056),20085));break label$1}$3($0($0($2($0($0($0(71248,20600),18931),9192),157),10056),20720));break label$1}$11_1=$9_1+24|0;if(($21($11_1)|0)!=($5_1|0)){break label$6}$6_1=0;label$30:{while(1){label$32:{if($21($11_1)>>>0<=$6_1>>>0){if(($732($7_1)|0)!=1){break label$32}$384($1_1,1);$223($259($1_1),$5_1);$6_1=0;$2_1=($5_1|0)>0?$5_1:0;while(1){if(($2_1|0)==($6_1|0)){break label$30}$0_1=HEAP32[($6_1<<2)+$4_1>>2];HEAP32[$9($259($1_1),$6_1)>>2]=$0_1;$6_1=$6_1+1|0;continue}}if(HEAP32[$9($11_1,$6_1)>>2]==-1){break label$5}if(HEAP32[$9($11_1,$6_1)>>2]>=($5_1|0)){break label$4}if(HEAP32[(HEAP32[$9($11_1,$6_1)>>2]<<2)+$4_1>>2]>=($16_1|0)){break label$3}$19_1=(HEAP32[$9($11_1,$6_1)>>2]<<2)+$4_1|0;$15_1=global$0-32|0;global$0=$15_1;HEAP32[$15_1+16>>2]=$316($19_1);$21_1=$15_1+24|0;$3_1=$15_1+16|0;$13_1=0;$8_1=global$0-32|0;global$0=$8_1;$13($7_1);$18_1=HEAP32[$19_1>>2];$2_1=$104($7_1);HEAP8[$8_1+31|0]=0;label$35:{label$36:{if(!$2_1){break label$36}$13_1=$46($18_1,$2_1);$10_1=HEAP32[$9($7_1,$13_1)>>2];if(!$10_1){break label$36}while(1){$10_1=HEAP32[$10_1>>2];if(!$10_1){break label$36}if(($18_1|0)!=HEAP32[$10_1+4>>2]){if(($46(HEAP32[$10_1+4>>2],$2_1)|0)!=($13_1|0)){break label$36}}if(!$225($45($7_1),$10_1+8|0,$19_1)){continue}break}break label$35}$730($8_1+16|0,$7_1,$18_1,$3_1);if(!(Math_fround(HEAP32[$13($7_1)>>2]+1>>>0)>Math_fround(HEAPF32[$45($7_1)>>2]*Math_fround($2_1>>>0))?0:$2_1)){HEAP32[$8_1+12>>2]=$224($2_1)^1|$2_1<<1;$26_1=Math_fround(Math_ceil(Math_fround(Math_fround(HEAP32[$13($7_1)>>2]+1>>>0)/HEAPF32[$45($7_1)>>2])));label$41:{if($26_1=Math_fround(0)){$2_1=~~$26_1>>>0;break label$41}$2_1=0}HEAP32[$8_1+8>>2]=$2_1;$264($7_1,HEAP32[$67($8_1+12|0,$8_1+8|0)>>2]);$2_1=$104($7_1);$13_1=$46($18_1,$2_1)}$3_1=HEAP32[$9($7_1,$13_1)>>2];label$43:{if(!$3_1){$3_1=$7_1+8|0;HEAP32[HEAP32[$8_1+16>>2]>>2]=HEAP32[$3_1>>2];HEAP32[$7_1+8>>2]=HEAP32[$8_1+16>>2];HEAP32[$9($7_1,$13_1)>>2]=$3_1;if(!HEAP32[HEAP32[$8_1+16>>2]>>2]){break label$43}$3_1=HEAP32[$8_1+16>>2];HEAP32[$9($7_1,$46(HEAP32[HEAP32[HEAP32[$8_1+16>>2]>>2]+4>>2],$2_1))>>2]=$3_1;break label$43}HEAP32[HEAP32[$8_1+16>>2]>>2]=HEAP32[$3_1>>2];HEAP32[$3_1>>2]=HEAP32[$8_1+16>>2]}$3_1=$8_1+16|0;$10_1=$141($3_1);$2_1=$13($7_1);HEAP32[$2_1>>2]=HEAP32[$2_1>>2]+1;HEAP8[$8_1+31|0]=1;$2_1=HEAP32[$3_1>>2];HEAP32[$3_1>>2]=0;if($2_1){if(HEAPU8[$34($3_1)+4|0]){$729($2_1+8|0)}if($2_1){$1($2_1)}}}$263($21_1,$80($8_1+16|0,$10_1),$8_1+31|0);global$0=$8_1+32|0;$2_1=$63($21_1);global$0=$15_1+32|0;$383($2_1+4|0,($6_1<<2)+$4_1|0);$6_1=$6_1+1|0;continue}break}$5_1=$735($1_1);$4_1=$732($7_1);$3_1=global$0-32|0;global$0=$3_1;label$48:{label$49:{if($159($5_1)>>>0<$4_1>>>0){if($323($5_1)>>>0<$4_1>>>0){break label$49}$2_1=$4($5_1);$2_1=$277($3_1+8|0,$4_1,$21($5_1),$2_1);$324($5_1,$2_1);$276($2_1)}global$0=$3_1+32|0;break label$48}$265();abort()}$4_1=$267($12_1+16|0,$466($7_1));while(1){if(!$78($4_1,$267($12_1+8|0,$23()))){break label$30}if(!$21($63($4_1)+4|0)){break label$2}$5_1=$48(128);$3_1=$738($0_1);$2_1=Math_imul(HEAP32[$63($4_1)>>2],96)+$22_1|0;HEAP8[$5_1+100|0]=1;HEAP32[$5_1>>2]=$3_1;$38($5_1+104|0);$38($5_1+116|0);wasm2js_memory_copy($5_1+4|0,$2_1,96);HEAP32[$12_1+8>>2]=$5_1;$384($5_1,0);$383($735($1_1),$12_1+8|0);$2_1=$63($4_1);$2_1=$2_1+4|0;$737($0_1,HEAP32[$12_1+8>>2],$22_1,$16_1,$9($2_1,0),$21($2_1));$728($4_1);continue}}$0_1=HEAP32[$7_1+8>>2];$4($7_1);while(1){if($0_1){$1_1=HEAP32[$0_1>>2];$729($0_1+8|0);$1($0_1);$0_1=$1_1;continue}break}$266($7_1)}global$0=$12_1+48|0;return}$3($0($0($2($0($0($0(71248,16240),16439),9192),363),10056),16707));break label$1}$3($0($0($2($0($0($0(71248,17031),16439),9192),365),10056),17251));break label$1}$3($0($0($2($0($0($0(71248,17607),16439),9192),366),10056),17678));break label$1}$3($0($0($2($0($0($0(71248,17994),16439),9192),367),10056),17678));break label$1}$3($0($0($2($0($0($0(71248,18260),16439),9192),387),10056),18461))}fimport$0();abort()}function $910($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1,$10_1){var $11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0;$11_1=global$0-560|0;global$0=$11_1;HEAP32[$11_1+548>>2]=$10_1;HEAP32[$11_1+552>>2]=$1_1;label$1:{if($68($0_1,$11_1+552|0)){HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$1}HEAP32[$11_1+96>>2]=317;$1_1=$11_1+96|0;$15_1=$54($11_1+136|0,$11_1+144|0,$1_1);$10_1=HEAP32[$15_1>>2];HEAP32[$11_1+132>>2]=$10_1;HEAP32[$11_1+128>>2]=$10_1+400;$17_1=$18($1_1);$12_1=$18($11_1+80|0);$14_1=$18($11_1- -64|0);$13_1=$18($11_1+48|0);$16_1=$18($11_1+32|0);$1_1=global$0-16|0;global$0=$1_1;label$3:{if($2_1){$2_1=$908($3_1);$203($1_1,$2_1);$3_1=HEAP32[$1_1>>2];HEAP8[$11_1+120|0]=$3_1;HEAP8[$11_1+121|0]=$3_1>>>8;HEAP8[$11_1+122|0]=$3_1>>>16;HEAP8[$11_1+123|0]=$3_1>>>24;$202($1_1,$2_1);$171($13_1,$1_1);$8($1_1);$151($1_1,$2_1);$171($14_1,$1_1);$8($1_1);HEAP32[$11_1+116>>2]=$149($2_1);HEAP32[$11_1+112>>2]=$108($2_1);$107($1_1,$2_1);$91($17_1,$1_1);$8($1_1);$152($1_1,$2_1);$171($12_1,$1_1);$8($1_1);$2_1=$201($2_1);break label$3}$2_1=$907($3_1);$203($1_1,$2_1);$3_1=HEAP32[$1_1>>2];HEAP8[$11_1+120|0]=$3_1;HEAP8[$11_1+121|0]=$3_1>>>8;HEAP8[$11_1+122|0]=$3_1>>>16;HEAP8[$11_1+123|0]=$3_1>>>24;$202($1_1,$2_1);$171($13_1,$1_1);$8($1_1);$151($1_1,$2_1);$171($14_1,$1_1);$8($1_1);HEAP32[$11_1+116>>2]=$149($2_1);HEAP32[$11_1+112>>2]=$108($2_1);$107($1_1,$2_1);$91($17_1,$1_1);$8($1_1);$152($1_1,$2_1);$171($12_1,$1_1);$8($1_1);$2_1=$201($2_1)}HEAP32[$11_1+28>>2]=$2_1;global$0=$1_1+16|0;HEAP32[$9_1>>2]=HEAP32[$8_1>>2];$18_1=$4_1&512;$19_1=$18_1>>>9|0;$3_1=0;$1_1=0;while(1){$2_1=$1_1;label$6:{label$7:{label$8:{label$9:{if(($3_1|0)==4){break label$9}if(!$95($0_1,$11_1+552|0)){break label$9}$10_1=0;label$10:{label$11:{label$12:{label$13:{label$14:{switch(HEAP8[($11_1+120|0)+$3_1|0]){case 1:if(($3_1|0)==3){break label$7}if($139($7_1,1,$57($0_1))){$909($11_1+16|0,$0_1);$527($16_1,HEAP32[$11_1+16>>2]);break label$13}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8;case 4:break label$10;case 2:break label$11;case 3:break label$12;case 0:break label$14;default:break label$6}}if(($3_1|0)==3){break label$7}}while(1){if(!$95($0_1,$11_1+552|0)){break label$7}if(!$139($7_1,1,$57($0_1))){break label$7}$909($11_1+16|0,$0_1);$527($16_1,HEAP32[$11_1+16>>2]);continue}}label$18:{if(!$6($14_1)){break label$18}if(($57($0_1)|0)!=HEAP32[$15($14_1)>>2]){break label$18}$74($0_1);HEAP8[$6_1|0]=0;$1_1=$6($14_1)>>>0>1?$14_1:$2_1;break label$6}label$19:{if(!$6($13_1)){break label$19}if(($57($0_1)|0)!=HEAP32[$15($13_1)>>2]){break label$19}$74($0_1);HEAP8[$6_1|0]=1;$1_1=$6($13_1)>>>0>1?$13_1:$2_1;break label$6}label$20:{if(!$6($14_1)){break label$20}if(!$6($13_1)){break label$20}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8}if(!$6($14_1)){if(!$6($13_1)){break label$7}}HEAP8[$6_1|0]=!$6($13_1);break label$7}if(!($2_1|$3_1>>>0<2)){$1_1=0;if(!(($3_1|0)==2&HEAPU8[$11_1+123|0]!=0|$19_1)){break label$6}}HEAP32[$11_1+8>>2]=$131($12_1);$4_1=$116($11_1+16|0,$11_1+8|0);label$23:{if(!$3_1|HEAPU8[($3_1+$11_1|0)+119|0]>1){break label$23}while(1){label$25:{HEAP32[$11_1+8>>2]=$205($12_1);if(!$78($4_1,$11_1+8|0)){break label$25}if(!$139($7_1,1,HEAP32[HEAP32[$4_1>>2]>>2])){break label$25}$220($4_1);continue}break}HEAP32[$11_1+8>>2]=$131($12_1);$1_1=$456($4_1,$11_1+8|0);if($6($16_1)>>>0>=$1_1>>>0){HEAP32[$11_1+8>>2]=$205($16_1);$10_1=$906($11_1+8|0,0-$1_1|0);$20_1=$205($16_1);$21_1=$131($12_1);$1_1=global$0-32|0;global$0=$1_1;HEAP32[$1_1+16>>2]=$20_1;HEAP32[$1_1+24>>2]=$10_1;HEAP32[$1_1+8>>2]=$21_1;while(1){label$28:{$10_1=$78($1_1+24|0,$1_1+16|0);if(!$10_1){break label$28}if(!$127(HEAP32[$1_1+24>>2],HEAP32[$1_1+8>>2])){break label$28}$220($1_1+24|0);$220($1_1+8|0);continue}break}global$0=$1_1+32|0;if($10_1^1){break label$23}}HEAP32[$11_1>>2]=$131($12_1);HEAP32[$4_1>>2]=HEAP32[$116($11_1+8|0,$11_1)>>2]}HEAP32[$11_1+8>>2]=HEAP32[$4_1>>2];while(1){label$30:{HEAP32[$11_1>>2]=$205($12_1);if(!$78($11_1+8|0,$11_1)){break label$30}if(!$95($0_1,$11_1+552|0)){break label$30}if(($57($0_1)|0)!=HEAP32[HEAP32[$11_1+8>>2]>>2]){break label$30}$74($0_1);$220($11_1+8|0);continue}break}if(!$18_1){break label$7}HEAP32[$11_1>>2]=$205($12_1);if(!$78($11_1+8|0,$11_1)){break label$7}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8}while(1){label$32:{if(!$95($0_1,$11_1+552|0)){break label$32}$1_1=$57($0_1);label$33:{if($139($7_1,64,$1_1)){$4_1=HEAP32[$9_1>>2];if(($4_1|0)==HEAP32[$11_1+548>>2]){$287($8_1,$9_1,$11_1+548|0);$4_1=HEAP32[$9_1>>2]}HEAP32[$9_1>>2]=$4_1+4;HEAP32[$4_1>>2]=$1_1;$10_1=$10_1+1|0;break label$33}if(!$6($17_1)|!$10_1|($1_1|0)!=HEAP32[$11_1+112>>2]){break label$32}$1_1=HEAP32[$11_1+132>>2];if(($1_1|0)==HEAP32[$11_1+128>>2]){$287($15_1,$11_1+132|0,$11_1+128|0);$1_1=HEAP32[$11_1+132>>2]}HEAP32[$11_1+132>>2]=$1_1+4;HEAP32[$1_1>>2]=$10_1;$10_1=0}$74($0_1);continue}break}$1_1=HEAP32[$11_1+132>>2];if(!(!$10_1|($1_1|0)==HEAP32[$15_1>>2])){if(HEAP32[$11_1+128>>2]==($1_1|0)){$287($15_1,$11_1+132|0,$11_1+128|0);$1_1=HEAP32[$11_1+132>>2]}HEAP32[$11_1+132>>2]=$1_1+4;HEAP32[$1_1>>2]=$10_1}label$39:{if(HEAP32[$11_1+28>>2]<=0){break label$39}label$40:{if(!$68($0_1,$11_1+552|0)){if(($57($0_1)|0)==HEAP32[$11_1+116>>2]){break label$40}}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8}while(1){$74($0_1);if(HEAP32[$11_1+28>>2]<=0){break label$39}label$43:{if(!$68($0_1,$11_1+552|0)){if($139($7_1,64,$57($0_1))){break label$43}}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8}if(HEAP32[$9_1>>2]==HEAP32[$11_1+548>>2]){$287($8_1,$9_1,$11_1+548|0)}$1_1=$57($0_1);$4_1=HEAP32[$9_1>>2];HEAP32[$9_1>>2]=$4_1+4;HEAP32[$4_1>>2]=$1_1;HEAP32[$11_1+28>>2]=HEAP32[$11_1+28>>2]-1;continue}}$1_1=$2_1;if(HEAP32[$8_1>>2]!=HEAP32[$9_1>>2]){break label$6}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8}label$46:{if(!$2_1){break label$46}$10_1=1;while(1){if($6($2_1)>>>0<=$10_1>>>0){break label$46}label$48:{if(!$68($0_1,$11_1+552|0)){if(($57($0_1)|0)==HEAP32[$416($2_1,$10_1)>>2]){break label$48}}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8}$74($0_1);$10_1=$10_1+1|0;continue}}$0_1=1;if(HEAP32[$15_1>>2]==HEAP32[$11_1+132>>2]){break label$8}$0_1=0;HEAP32[$11_1+16>>2]=0;$94($17_1,HEAP32[$15_1>>2],HEAP32[$11_1+132>>2],$11_1+16|0);if(HEAP32[$11_1+16>>2]){HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;break label$8}$0_1=1}$8($16_1);$8($13_1);$8($14_1);$8($12_1);$8($17_1);$53($15_1);break label$1}$1_1=$2_1}$3_1=$3_1+1|0;continue}}global$0=$11_1+560|0;return $0_1}function $917($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1,$10_1){var $11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0;$11_1=global$0-560|0;global$0=$11_1;HEAP32[$11_1+548>>2]=$10_1;HEAP32[$11_1+552>>2]=$1_1;label$1:{if($69($0_1,$11_1+552|0)){HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$1}HEAP32[$11_1+104>>2]=317;$1_1=$11_1+104|0;$15_1=$54($11_1+136|0,$11_1+144|0,$1_1);$10_1=HEAP32[$15_1>>2];HEAP32[$11_1+132>>2]=$10_1;HEAP32[$11_1+128>>2]=$10_1+400;$17_1=$18($1_1);$12_1=$18($11_1+88|0);$14_1=$18($11_1+72|0);$13_1=$18($11_1+56|0);$16_1=$18($11_1+40|0);$1_1=global$0-16|0;global$0=$1_1;label$3:{if($2_1){$2_1=$914($3_1);$203($1_1,$2_1);$3_1=HEAP32[$1_1>>2];HEAP8[$11_1+120|0]=$3_1;HEAP8[$11_1+121|0]=$3_1>>>8;HEAP8[$11_1+122|0]=$3_1>>>16;HEAP8[$11_1+123|0]=$3_1>>>24;$202($1_1,$2_1);$91($13_1,$1_1);$8($1_1);$151($1_1,$2_1);$91($14_1,$1_1);$8($1_1);HEAP8[$11_1+119|0]=$149($2_1);HEAP8[$11_1+118|0]=$108($2_1);$107($1_1,$2_1);$91($17_1,$1_1);$8($1_1);$152($1_1,$2_1);$91($12_1,$1_1);$8($1_1);$2_1=$201($2_1);break label$3}$2_1=$913($3_1);$203($1_1,$2_1);$3_1=HEAP32[$1_1>>2];HEAP8[$11_1+120|0]=$3_1;HEAP8[$11_1+121|0]=$3_1>>>8;HEAP8[$11_1+122|0]=$3_1>>>16;HEAP8[$11_1+123|0]=$3_1>>>24;$202($1_1,$2_1);$91($13_1,$1_1);$8($1_1);$151($1_1,$2_1);$91($14_1,$1_1);$8($1_1);HEAP8[$11_1+119|0]=$149($2_1);HEAP8[$11_1+118|0]=$108($2_1);$107($1_1,$2_1);$91($17_1,$1_1);$8($1_1);$152($1_1,$2_1);$91($12_1,$1_1);$8($1_1);$2_1=$201($2_1)}HEAP32[$11_1+36>>2]=$2_1;global$0=$1_1+16|0;HEAP32[$9_1>>2]=HEAP32[$8_1>>2];$18_1=$4_1&512;$19_1=$18_1>>>9|0;$3_1=0;$1_1=0;while(1){$2_1=$1_1;label$6:{label$7:{label$8:{label$9:{if(($3_1|0)==4){break label$9}if(!$96($0_1,$11_1+552|0)){break label$9}$10_1=0;label$10:{label$11:{label$12:{label$13:{label$14:{switch(HEAP8[($11_1+120|0)+$3_1|0]){case 1:if(($3_1|0)==3){break label$7}if($140($7_1,1,$58($0_1))){$916($11_1+24|0,$0_1);$528($16_1,HEAP8[$11_1+24|0]);break label$13}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8;case 4:break label$10;case 2:break label$11;case 3:break label$12;case 0:break label$14;default:break label$6}}if(($3_1|0)==3){break label$7}}while(1){if(!$96($0_1,$11_1+552|0)){break label$7}if(!$140($7_1,1,$58($0_1))){break label$7}$916($11_1+24|0,$0_1);$528($16_1,HEAP8[$11_1+24|0]);continue}}label$18:{if(!$6($14_1)){break label$18}if(($58($0_1)&255)!=HEAPU8[$16($14_1,0)|0]){break label$18}$75($0_1);HEAP8[$6_1|0]=0;$1_1=$6($14_1)>>>0>1?$14_1:$2_1;break label$6}label$19:{if(!$6($13_1)){break label$19}if(($58($0_1)&255)!=HEAPU8[$16($13_1,0)|0]){break label$19}$75($0_1);HEAP8[$6_1|0]=1;$1_1=$6($13_1)>>>0>1?$13_1:$2_1;break label$6}label$20:{if(!$6($14_1)){break label$20}if(!$6($13_1)){break label$20}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8}if(!$6($14_1)){if(!$6($13_1)){break label$7}}HEAP8[$6_1|0]=!$6($13_1);break label$7}if(!($2_1|$3_1>>>0<2)){$1_1=0;if(!(($3_1|0)==2&HEAPU8[$11_1+123|0]!=0|$19_1)){break label$6}}HEAP32[$11_1+16>>2]=$131($12_1);$4_1=$116($11_1+24|0,$11_1+16|0);label$23:{if(!$3_1|HEAPU8[($3_1+$11_1|0)+119|0]>1){break label$23}while(1){label$25:{HEAP32[$11_1+16>>2]=$206($12_1);if(!$78($4_1,$11_1+16|0)){break label$25}if(!$140($7_1,1,HEAP8[HEAP32[$4_1>>2]])){break label$25}$335($4_1);continue}break}HEAP32[$11_1+16>>2]=$131($12_1);$1_1=HEAP32[$4_1>>2]-HEAP32[$11_1+16>>2]|0;if($6($16_1)>>>0>=$1_1>>>0){HEAP32[$11_1+16>>2]=$206($16_1);$10_1=$912($11_1+16|0,0-$1_1|0);$20_1=$206($16_1);$21_1=$131($12_1);$1_1=global$0-32|0;global$0=$1_1;HEAP32[$1_1+16>>2]=$20_1;HEAP32[$1_1+24>>2]=$10_1;HEAP32[$1_1+8>>2]=$21_1;while(1){$10_1=$78($1_1+24|0,$1_1+16|0);if(!(!$10_1|HEAPU8[HEAP32[$1_1+24>>2]]!=HEAPU8[HEAP32[$1_1+8>>2]])){$335($1_1+24|0);$335($1_1+8|0);continue}break}global$0=$1_1+32|0;if($10_1^1){break label$23}}HEAP32[$11_1+8>>2]=$131($12_1);HEAP32[$4_1>>2]=HEAP32[$116($11_1+16|0,$11_1+8|0)>>2]}HEAP32[$11_1+16>>2]=HEAP32[$4_1>>2];while(1){label$30:{HEAP32[$11_1+8>>2]=$206($12_1);if(!$78($11_1+16|0,$11_1+8|0)){break label$30}if(!$96($0_1,$11_1+552|0)){break label$30}if(($58($0_1)&255)!=HEAPU8[HEAP32[$11_1+16>>2]]){break label$30}$75($0_1);$335($11_1+16|0);continue}break}if(!$18_1){break label$7}HEAP32[$11_1+8>>2]=$206($12_1);if(!$78($11_1+16|0,$11_1+8|0)){break label$7}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8}while(1){label$32:{if(!$96($0_1,$11_1+552|0)){break label$32}$1_1=$58($0_1);label$33:{if($140($7_1,64,$1_1)){$4_1=HEAP32[$9_1>>2];if(($4_1|0)==HEAP32[$11_1+548>>2]){$915($8_1,$9_1,$11_1+548|0);$4_1=HEAP32[$9_1>>2]}HEAP32[$9_1>>2]=$4_1+1;HEAP8[$4_1|0]=$1_1;$10_1=$10_1+1|0;break label$33}if(!$6($17_1)|!$10_1|HEAPU8[$11_1+118|0]!=($1_1&255)){break label$32}$1_1=HEAP32[$11_1+132>>2];if(($1_1|0)==HEAP32[$11_1+128>>2]){$287($15_1,$11_1+132|0,$11_1+128|0);$1_1=HEAP32[$11_1+132>>2]}HEAP32[$11_1+132>>2]=$1_1+4;HEAP32[$1_1>>2]=$10_1;$10_1=0}$75($0_1);continue}break}$1_1=HEAP32[$11_1+132>>2];if(!(!$10_1|($1_1|0)==HEAP32[$15_1>>2])){if(HEAP32[$11_1+128>>2]==($1_1|0)){$287($15_1,$11_1+132|0,$11_1+128|0);$1_1=HEAP32[$11_1+132>>2]}HEAP32[$11_1+132>>2]=$1_1+4;HEAP32[$1_1>>2]=$10_1}label$39:{if(HEAP32[$11_1+36>>2]<=0){break label$39}label$40:{if(!$69($0_1,$11_1+552|0)){if(($58($0_1)&255)==HEAPU8[$11_1+119|0]){break label$40}}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8}while(1){$75($0_1);if(HEAP32[$11_1+36>>2]<=0){break label$39}label$43:{if(!$69($0_1,$11_1+552|0)){if($140($7_1,64,$58($0_1))){break label$43}}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8}if(HEAP32[$9_1>>2]==HEAP32[$11_1+548>>2]){$915($8_1,$9_1,$11_1+548|0)}$1_1=$58($0_1);$4_1=HEAP32[$9_1>>2];HEAP32[$9_1>>2]=$4_1+1;HEAP8[$4_1|0]=$1_1;HEAP32[$11_1+36>>2]=HEAP32[$11_1+36>>2]-1;continue}}$1_1=$2_1;if(HEAP32[$8_1>>2]!=HEAP32[$9_1>>2]){break label$6}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8}label$46:{if(!$2_1){break label$46}$10_1=1;while(1){if($6($2_1)>>>0<=$10_1>>>0){break label$46}label$48:{if(!$69($0_1,$11_1+552|0)){if(($58($0_1)&255)==HEAPU8[$16($2_1,$10_1)|0]){break label$48}}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;$0_1=0;break label$8}$75($0_1);$10_1=$10_1+1|0;continue}}$0_1=1;if(HEAP32[$15_1>>2]==HEAP32[$11_1+132>>2]){break label$8}$0_1=0;HEAP32[$11_1+24>>2]=0;$94($17_1,HEAP32[$15_1>>2],HEAP32[$11_1+132>>2],$11_1+24|0);if(HEAP32[$11_1+24>>2]){HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4;break label$8}$0_1=1}$8($16_1);$8($13_1);$8($14_1);$8($12_1);$8($17_1);$53($15_1);break label$1}$1_1=$2_1}$3_1=$3_1+1|0;continue}}global$0=$11_1+560|0;return $0_1}function $649($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0;$7_1=global$0-560|0;global$0=$7_1;$6_1=$2_1;$2_1=($2_1-3|0)/24|0;$18_1=($2_1|0)>0?$2_1:0;$11_1=$6_1+Math_imul($18_1,-24)|0;$14_1=HEAP32[($4_1<<2)+43152>>2];$9_1=$3_1-1|0;if(($14_1+$9_1|0)>=0){$6_1=$3_1+$14_1|0;$2_1=$18_1-$9_1|0;while(1){HEAPF64[($7_1+320|0)+($8_1<<3)>>3]=($2_1|0)<0?0:+HEAP32[($2_1<<2)+43168>>2];$2_1=$2_1+1|0;$8_1=$8_1+1|0;if(($6_1|0)!=($8_1|0)){continue}break}}$15_1=$11_1-24|0;$6_1=0;$8_1=($14_1|0)>0?$14_1:0;$13_1=($3_1|0)<=0;while(1){label$6:{if($13_1){$5_1=0;break label$6}$10_1=$6_1+$9_1|0;$2_1=0;$5_1=0;while(1){$5_1=HEAPF64[($2_1<<3)+$0_1>>3]*HEAPF64[($7_1+320|0)+($10_1-$2_1<<3)>>3]+$5_1;$2_1=$2_1+1|0;if(($3_1|0)!=($2_1|0)){continue}break}}HEAPF64[($6_1<<3)+$7_1>>3]=$5_1;$2_1=($6_1|0)==($8_1|0);$6_1=$6_1+1|0;if(!$2_1){continue}break}$23_1=47-$11_1|0;$19_1=48-$11_1|0;$24_1=$11_1-25|0;$6_1=$14_1;label$9:{while(1){$5_1=HEAPF64[($6_1<<3)+$7_1>>3];$2_1=0;$8_1=$6_1;$10_1=($6_1|0)<=0;if(!$10_1){while(1){$13_1=($7_1+480|0)+($2_1<<2)|0;$12_1=$5_1*5.960464477539063e-8;label$14:{if(Math_abs($12_1)<2147483648){$9_1=~~$12_1;break label$14}$9_1=-2147483648}$12_1=+($9_1|0);$5_1=$12_1*-16777216+$5_1;label$13:{if(Math_abs($5_1)<2147483648){$9_1=~~$5_1;break label$13}$9_1=-2147483648}HEAP32[$13_1>>2]=$9_1;$8_1=$8_1-1|0;$5_1=HEAPF64[($8_1<<3)+$7_1>>3]+$12_1;$2_1=$2_1+1|0;if(($6_1|0)!=($2_1|0)){continue}break}}$5_1=$188($5_1,$15_1);$5_1=$5_1+Math_floor($5_1*.125)*-8;label$17:{if(Math_abs($5_1)<2147483648){$13_1=~~$5_1;break label$17}$13_1=-2147483648}$5_1=$5_1-+($13_1|0);label$19:{label$20:{label$21:{$20_1=($15_1|0)<=0;label$22:{if(!$20_1){$8_1=($6_1<<2)+$7_1|0;$9_1=HEAP32[$8_1+476>>2];$2_1=$9_1>>$19_1;$17_1=$8_1;$8_1=$9_1-($2_1<<$19_1)|0;HEAP32[$17_1+476>>2]=$8_1;$13_1=$2_1+$13_1|0;$9_1=$8_1>>$23_1;break label$22}if($15_1){break label$21}$9_1=HEAP32[(($6_1<<2)+$7_1|0)+476>>2]>>23}if(($9_1|0)<=0){break label$19}break label$20}$9_1=2;if($5_1>=.5){break label$20}$9_1=0;break label$19}$2_1=0;$8_1=0;if(!$10_1){while(1){$17_1=($7_1+480|0)+($2_1<<2)|0;$21_1=HEAP32[$17_1>>2];$10_1=16777215;label$26:{label$27:{if($8_1){break label$27}$10_1=16777216;if($21_1){break label$27}$8_1=0;break label$26}HEAP32[$17_1>>2]=$10_1-$21_1;$8_1=1}$2_1=$2_1+1|0;if(($6_1|0)!=($2_1|0)){continue}break}}label$28:{if($20_1){break label$28}$2_1=8388607;label$29:{switch($24_1|0){case 1:$2_1=4194303;break;case 0:break label$29;default:break label$28}}$10_1=($6_1<<2)+$7_1|0;HEAP32[$10_1+476>>2]=HEAP32[$10_1+476>>2]&$2_1}$13_1=$13_1+1|0;if(($9_1|0)!=2){break label$19}$5_1=1-$5_1;$9_1=2;if(!$8_1){break label$19}$5_1=$5_1-$188(1,$15_1)}if($5_1==0){$8_1=0;$2_1=$6_1;label$32:{if(($6_1|0)<=($14_1|0)){break label$32}while(1){$2_1=$2_1-1|0;$8_1=HEAP32[($7_1+480|0)+($2_1<<2)>>2]|$8_1;if(($2_1|0)>($14_1|0)){continue}break}if(!$8_1){break label$32}$11_1=$15_1;while(1){$11_1=$11_1-24|0;$6_1=$6_1-1|0;if(!HEAP32[($7_1+480|0)+($6_1<<2)>>2]){continue}break}break label$9}$2_1=1;while(1){$8_1=$2_1;$2_1=$2_1+1|0;if(!HEAP32[($7_1+480|0)+($14_1-$8_1<<2)>>2]){continue}break}$8_1=$6_1+$8_1|0;while(1){$9_1=$3_1+$6_1|0;$6_1=$6_1+1|0;HEAPF64[($7_1+320|0)+($9_1<<3)>>3]=HEAP32[($18_1+$6_1<<2)+43168>>2];$2_1=0;$5_1=0;if(($3_1|0)>0){while(1){$5_1=HEAPF64[($2_1<<3)+$0_1>>3]*HEAPF64[($7_1+320|0)+($9_1-$2_1<<3)>>3]+$5_1;$2_1=$2_1+1|0;if(($3_1|0)!=($2_1|0)){continue}break}}HEAPF64[($6_1<<3)+$7_1>>3]=$5_1;if(($6_1|0)<($8_1|0)){continue}break}$6_1=$8_1;continue}break}$5_1=$188($5_1,24-$11_1|0);label$39:{if($5_1>=16777216){$3_1=($7_1+480|0)+($6_1<<2)|0;$12_1=$5_1*5.960464477539063e-8;label$42:{if(Math_abs($12_1)<2147483648){$2_1=~~$12_1;break label$42}$2_1=-2147483648}$5_1=+($2_1|0)*-16777216+$5_1;label$41:{if(Math_abs($5_1)<2147483648){$0_1=~~$5_1;break label$41}$0_1=-2147483648}HEAP32[$3_1>>2]=$0_1;$6_1=$6_1+1|0;break label$39}if(Math_abs($5_1)<2147483648){$2_1=~~$5_1}else{$2_1=-2147483648}$11_1=$15_1}HEAP32[($7_1+480|0)+($6_1<<2)>>2]=$2_1}$5_1=$188(1,$11_1);label$47:{if(($6_1|0)<0){break label$47}$3_1=$6_1;while(1){$0_1=$3_1;HEAPF64[($3_1<<3)+$7_1>>3]=$5_1*+HEAP32[($7_1+480|0)+($3_1<<2)>>2];$3_1=$3_1-1|0;$5_1=$5_1*5.960464477539063e-8;if($0_1){continue}break}$10_1=0;if(($6_1|0)<0){break label$47}$0_1=($14_1|0)>0?$14_1:0;$8_1=$6_1;while(1){$3_1=$0_1>>>0<$10_1>>>0?$0_1:$10_1;$11_1=$6_1-$8_1|0;$2_1=0;$5_1=0;while(1){$5_1=HEAPF64[($2_1<<3)+45936>>3]*HEAPF64[($2_1+$8_1<<3)+$7_1>>3]+$5_1;$15_1=($2_1|0)!=($3_1|0);$2_1=$2_1+1|0;if($15_1){continue}break}HEAPF64[($7_1+160|0)+($11_1<<3)>>3]=$5_1;$8_1=$8_1-1|0;$2_1=($6_1|0)!=($10_1|0);$10_1=$10_1+1|0;if($2_1){continue}break}}label$51:{label$52:{label$53:{switch($4_1|0){case 3:label$56:{if(($6_1|0)<=0){break label$56}$5_1=HEAPF64[($7_1+160|0)+($6_1<<3)>>3];$2_1=$6_1;while(1){$12_1=$5_1;$3_1=$7_1+160|0;$0_1=$2_1-1|0;$4_1=$3_1+($0_1<<3)|0;$22_1=HEAPF64[$4_1>>3];$5_1=$22_1+$5_1;HEAPF64[$3_1+($2_1<<3)>>3]=$12_1+($22_1-$5_1);HEAPF64[$4_1>>3]=$5_1;$3_1=$2_1>>>0>1;$2_1=$0_1;if($3_1){continue}break}if(($6_1|0)<2){break label$56}$5_1=HEAPF64[($7_1+160|0)+($6_1<<3)>>3];$2_1=$6_1;while(1){$12_1=$5_1;$3_1=$7_1+160|0;$0_1=$2_1-1|0;$4_1=$3_1+($0_1<<3)|0;$16_1=HEAPF64[$4_1>>3];$5_1=$16_1+$5_1;HEAPF64[$3_1+($2_1<<3)>>3]=$12_1+($16_1-$5_1);HEAPF64[$4_1>>3]=$5_1;$3_1=$2_1>>>0>2;$2_1=$0_1;if($3_1){continue}break}$16_1=0;if(($6_1|0)<=1){break label$56}while(1){$16_1=$16_1+HEAPF64[($7_1+160|0)+($6_1<<3)>>3];$0_1=($6_1|0)>2;$6_1=$6_1-1|0;if($0_1){continue}break}}$5_1=HEAPF64[$7_1+160>>3];if($9_1){break label$52}HEAPF64[$1_1>>3]=$5_1;$5_1=HEAPF64[$7_1+168>>3];HEAPF64[$1_1+16>>3]=$16_1;HEAPF64[$1_1+8>>3]=$5_1;break label$51;case 0:$5_1=0;if(($6_1|0)>=0){while(1){$0_1=$6_1;$6_1=$6_1-1|0;$5_1=$5_1+HEAPF64[($7_1+160|0)+($0_1<<3)>>3];if($0_1){continue}break}}HEAPF64[$1_1>>3]=$9_1?-$5_1:$5_1;break label$51;case 1:case 2:break label$53;default:break label$51}}$5_1=0;if(($6_1|0)>=0){$3_1=$6_1;while(1){$0_1=$3_1;$3_1=$3_1-1|0;$5_1=$5_1+HEAPF64[($7_1+160|0)+($0_1<<3)>>3];if($0_1){continue}break}}HEAPF64[$1_1>>3]=$9_1?-$5_1:$5_1;$5_1=HEAPF64[$7_1+160>>3]-$5_1;$2_1=1;if(($6_1|0)>0){while(1){$5_1=$5_1+HEAPF64[($7_1+160|0)+($2_1<<3)>>3];$0_1=($2_1|0)!=($6_1|0);$2_1=$2_1+1|0;if($0_1){continue}break}}HEAPF64[$1_1+8>>3]=$9_1?-$5_1:$5_1;break label$51}HEAPF64[$1_1>>3]=-$5_1;$5_1=HEAPF64[$7_1+168>>3];HEAPF64[$1_1+16>>3]=-$16_1;HEAPF64[$1_1+8>>3]=-$5_1}global$0=$7_1+560|0;return $13_1&7}function $1183($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0;$6_1=global$0-16|0;global$0=$6_1;HEAP32[$6_1+12>>2]=$0_1;HEAP32[$6_1>>2]=$26(67484,$6_1+12|0);HEAP32[$6_1+8>>2]=$23();$20_1=-1;label$1:{if($31($6_1,$6_1+8|0)){break label$1}$11_1=$32($6_1+12|0);$7_1=$15($1_1);$18_1=HEAP32[$11_1+216>>2];$9_1=HEAP32[$11_1+220>>2];$1_1=0;$2_1=global$0-2624|0;global$0=$2_1;label$3:{label$4:{$12_1=$216($7_1,1062);label$5:{if(!$12_1){HEAP32[$2_1+16>>2]=$7_1;$5(0,3,3042,$2_1+16|0);HEAP32[$2_1+4>>2]=$247(HEAP32[$22()>>2]);HEAP32[$2_1>>2]=4074;$5(0,3,3312,$2_1);break label$5}$0_1=$2_1+2304|0;$309($0_1,$12_1);HEAP32[$2_1+224>>2]=$2_1+248;if(($124($0_1,4269,$2_1+224|0)|0)!=1){HEAP32[$2_1+208>>2]=$7_1;$5(0,3,5524,$2_1+208|0);$87($12_1);break label$5}$1_1=HEAP32[$2_1+248>>2];$16_1=$7(Math_imul($1_1,320));if(!$16_1){break label$4}while(1){label$9:{label$10:{label$11:{if(($1_1|0)>($14_1|0)){$0_1=$2_1+2304|0;$309($0_1,$12_1);$5_1=Math_imul($14_1,320)+$16_1|0;HEAP32[$2_1+192>>2]=$5_1+312;HEAP32[$2_1+196>>2]=$2_1+255;label$13:{if(($124($0_1,6634,$2_1+192|0)|0)!=1){if(!$9_1){HEAP32[$2_1+144>>2]=$7_1;HEAP32[$2_1+148>>2]=$2_1+2304;$5(0,3,7888,$2_1+144|0);break label$9}$1_1=$2_1+256|0;$3_1=0;label$16:{if(!$1_1|!$7_1){break label$16}$4_1=$86($7_1)+1|0;while(1){label$17:{$0_1=0;if(!$4_1){break label$17}$4_1=$4_1-1|0;$0_1=$7_1+$4_1|0;if(HEAPU8[$0_1|0]!=47){continue}}break}if($0_1){$0_1=($0_1+1|0)-$7_1|0;$3_1=0;if($0_1+1>>>0>2048){break label$16}$0_1=$353($1_1,$7_1,$0_1)+$0_1|0}else{$0_1=$1_1}HEAP8[$0_1|0]=0;$3_1=$1_1}if(!$3_1){HEAP32[$2_1+160>>2]=$7_1;$5(0,3,8756,$2_1+160|0);break label$9}$4_1=$2_1+2304|0;$8_1=$2_1+256|0;$1_1=2047-$86($8_1)|0;$3_1=$86($8_1)+$8_1|0;label$22:{if(!$1_1){break label$22}while(1){$0_1=HEAPU8[$4_1|0];if(!$0_1){break label$22}HEAP8[$3_1|0]=$0_1;$3_1=$3_1+1|0;$4_1=$4_1+1|0;$1_1=$1_1-1|0;if($1_1){continue}break}}HEAP8[$3_1|0]=0;$0_1=$827($9_1,$8_1);HEAP32[$5_1>>2]=$0_1;if(($0_1|0)<0){break label$11}$4_1=1;$0_1=0;break label$13}$0_1=HEAP32[$5_1+312>>2];HEAP32[$5_1>>2]=$0_1&-32768?0:$0_1&32767;$4_1=2;$0_1=1}HEAP32[$5_1+4>>2]=$0_1;$0_1=$2_1+2304|0;$309($0_1,$12_1);HEAP32[$2_1+128>>2]=$5_1+8;if(($124($0_1,9693,$2_1+128|0)|0)!=1){HEAP32[$2_1+112>>2]=$7_1;HEAP32[$2_1+116>>2]=$14_1+1;$5(0,3,10708,$2_1+112|0);break label$9}$0_1=$2_1+2304|0;$309($0_1,$12_1);HEAP32[$2_1+108>>2]=$5_1+40;HEAP32[$2_1+104>>2]=$5_1+32;HEAP32[$2_1+100>>2]=$5_1+24;$15_1=$5_1+16|0;HEAP32[$2_1+96>>2]=$15_1;$1_1=1;if(($124($0_1,11083,$2_1+96|0)|0)==4){break label$10}HEAP32[$2_1+80>>2]=$2_1+244;HEAP32[$2_1+84>>2]=$2_1+240;if(($124($2_1+2304|0,11664,$2_1+80|0)|0)==2){$1_1=0;break label$10}HEAP32[$2_1+64>>2]=$7_1;HEAP32[$2_1+68>>2]=$14_1+1;$5(0,3,14240,$2_1- -64|0);break label$9}$87($12_1);$1_1=$7(136);if(!$1_1){break label$4}HEAP32[$1_1>>2]=$16_1;$0_1=HEAP32[$2_1+248>>2];HEAP32[$1_1+128>>2]=0;HEAP32[$1_1+4>>2]=$0_1;HEAP32[$1_1+104>>2]=0;label$26:{if(($19_1&3)==3){HEAP32[$1_1+108>>2]=2;break label$26}if($19_1&1){HEAP32[$1_1+108>>2]=0;break label$26}HEAP32[$1_1+108>>2]=1}HEAP32[$1_1+120>>2]=0;HEAP32[$1_1+124>>2]=1071644672;HEAP32[$1_1+112>>2]=0;HEAP32[$1_1+116>>2]=1071644672;break label$5}HEAP32[$2_1+180>>2]=$8_1;HEAP32[$2_1+176>>2]=$7_1;$5(0,3,9564,$2_1+176|0);break label$9}$19_1=$4_1|$19_1;while(1){$0_1=$2_1+2304|0;$309($0_1,$12_1);$3_1=$5_1+($1_1<<5)|0;HEAP32[$2_1+60>>2]=$3_1+40;HEAP32[$2_1+56>>2]=$3_1+32;HEAP32[$2_1+52>>2]=$3_1+24;HEAP32[$2_1+48>>2]=$3_1+16;if(($124($0_1,11083,$2_1+48|0)|0)!=4){HEAP32[$2_1+32>>2]=$7_1;HEAP32[$2_1+36>>2]=$14_1+1;$5(0,3,14240,$2_1+32|0);break label$9}$1_1=$1_1+1|0;if(($1_1|0)!=3){continue}break}$8_1=$5_1+112|0;$1_1=0;$17_1=$136(4,4);$3_1=HEAP32[$17_1>>2];while(1){if(($1_1|0)!=3){$0_1=$1_1<<2;$4_1=0;while(1){if(($4_1|0)!=4){HEAPF64[$3_1+($0_1+$4_1<<3)>>3]=HEAPF64[($15_1+($1_1<<5)|0)+($4_1<<3)>>3];$4_1=$4_1+1|0;continue}break}$1_1=$1_1+1|0;continue}break}HEAP32[$3_1+96>>2]=0;HEAP32[$3_1+100>>2]=0;HEAP32[$3_1+120>>2]=0;HEAP32[$3_1+124>>2]=1072693248;HEAP32[$3_1+112>>2]=0;HEAP32[$3_1+116>>2]=0;HEAP32[$3_1+104>>2]=0;HEAP32[$3_1+108>>2]=0;$317($17_1);$3_1=HEAP32[$17_1>>2];$1_1=0;while(1){if(($1_1|0)!=3){$0_1=$1_1<<2;$4_1=0;while(1){if(($4_1|0)!=4){HEAPF64[(($1_1<<5)+$8_1|0)+($4_1<<3)>>3]=HEAPF64[$3_1+($0_1+$4_1<<3)>>3];$4_1=$4_1+1|0;continue}break}$1_1=$1_1+1|0;continue}break}$17($17_1);$10_1=HEAPF64[$5_1+8>>3];$13_1=$10_1*-.5;HEAPF64[$2_1+2616>>3]=$13_1;HEAPF64[$2_1+2608>>3]=$13_1;HEAPF64[$2_1+2600>>3]=$13_1;$10_1=$10_1*.5;HEAPF64[$2_1+2592>>3]=$10_1;HEAPF64[$2_1+2584>>3]=$10_1;HEAPF64[$2_1+2576>>3]=$10_1;HEAPF64[$2_1+2568>>3]=$10_1;HEAPF64[$2_1+2560>>3]=$13_1;$1_1=0;while(1){if(($1_1|0)!=4){$3_1=$5_1+Math_imul($1_1,24)|0;$0_1=($2_1+2560|0)+($1_1<<4)|0;$13_1=HEAPF64[$0_1>>3];$10_1=HEAPF64[$0_1+8>>3];HEAPF64[$3_1+208>>3]=HEAPF64[$15_1+24>>3]+(HEAPF64[$15_1>>3]*$13_1+HEAPF64[$15_1+8>>3]*$10_1);HEAPF64[$3_1+216>>3]=HEAPF64[$5_1+72>>3]+($13_1*HEAPF64[$5_1+48>>3]+$10_1*HEAPF64[$5_1+56>>3]);HEAPF64[$3_1+224>>3]=HEAPF64[$5_1+104>>3]+($13_1*HEAPF64[$5_1+80>>3]+$10_1*HEAPF64[$5_1+88>>3]);$1_1=$1_1+1|0;continue}break}$14_1=$14_1+1|0;$1_1=HEAP32[$2_1+248>>2];continue}break}$87($12_1);$1($16_1);$1_1=0}global$0=$2_1+2624|0;break label$3}$5(0,3,6467,0);fimport$1(1);abort()}HEAP32[$11_1+224>>2]=$1_1;label$2:{if(!$1_1){$5(0,3,38034,0);$513(HEAP32[$11_1+220>>2]);$0_1=0;break label$2}label$42:{label$43:{switch(HEAP32[$1_1+108>>2]){case 0:$374($18_1,0);break label$42;case 1:$374($18_1,2);break label$42;default:break label$43}}$374($18_1,3)}$0_1=1}if(!$0_1){$5(0,3,36988,0);break label$1}$9_1=$11_1+328|0;HEAP32[$6_1>>2]=$12($9_1);HEAP32[$6_1+4>>2]=HEAP32[$11_1+224>>2];label$47:{if(HEAP32[$9_1+4>>2]!=HEAP32[$4($9_1)>>2]){$326($9_1,$6_1);break label$47}$3_1=global$0-32|0;global$0=$3_1;$11_1=$4($9_1);$5_1=$3_1+8|0;$1_1=$12($9_1)+1|0;$8_1=global$0-16|0;global$0=$8_1;HEAP32[$8_1+12>>2]=$1_1;label$49:{$0_1=$270($9_1);if($1_1>>>0<=$0_1>>>0){$1_1=$142($9_1);if($1_1>>>0<$0_1>>>1>>>0){HEAP32[$8_1+8>>2]=$1_1<<1;$0_1=HEAP32[$67($8_1+8|0,$8_1+12|0)>>2]}global$0=$8_1+16|0;break label$49}$450();abort()}$0_1=$271($5_1,$0_1,$12($9_1),$11_1);$272($11_1,HEAP32[$0_1+8>>2],$6_1);HEAP32[$0_1+8>>2]=HEAP32[$0_1+8>>2]+8;$321($9_1,$0_1);$320($0_1);global$0=$3_1+32|0}$20_1=HEAP32[$6_1>>2]}global$0=$6_1+16|0;return $20_1|0} +function $832($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0;$5_1=global$0-3792|0;global$0=$5_1;$16_1=$5_1+3664|0;wasm2js_memory_copy($16_1,12352,60);$11_1=$5_1+3600|0;wasm2js_memory_copy($11_1,12416,64);wasm2js_memory_copy($5_1+3472|0,12480,124);wasm2js_memory_copy($5_1+3344|0,12608,128);wasm2js_memory_copy($5_1+2832|0,12736,508);wasm2js_memory_copy($5_1+2320|0,13248,512);$19_1=-12;$12_1=2;$18_1=13;$14_1=15;label$1:{label$2:{label$3:{label$4:{label$5:{label$6:{switch($0_1-1028|0){default:if(($0_1|0)==772){$12_1=1;$19_1=-9;break label$3}if(($0_1|0)==1285){break label$5}$2_1=-1;if(($0_1|0)!=2830){break label$1}$11_1=$5_1+2320|0;$16_1=$5_1+2832|0;$19_1=-64;$18_1=120;$14_1=127;$12_1=9;break label$2;case 1:break label$4;case 0:break label$6}}$19_1=-5;break label$3}$19_1=-7;$12_1=3}$11_1=$5_1+3344|0;$16_1=$5_1+3472|0;$18_1=22;$14_1=31}$0_1=0;while(1){if(($0_1|0)==($18_1|0)){$3_1=$5_1+3728|0}else{HEAP8[($5_1+3728|0)+$0_1|0]=$1_1&1;$0_1=$0_1+1|0;$1_1=($2_1&1)<<31|$1_1>>>1;$2_1=$2_1>>>1|0;continue}break}}$17_1=$12_1<<1;$6_1=$17_1|1;$2_1=1;while(1){if(($2_1|0)!=($6_1|0)){$7_1=0;$1_1=($5_1+560|0)+($2_1<<2)|0;HEAP32[$1_1>>2]=0;$0_1=0;while(1){if(($0_1|0)!=($18_1|0)){if(HEAPU8[$0_1+$3_1|0]){$7_1=HEAP32[((Math_imul($0_1,$2_1)>>>0)%($14_1>>>0)<<2)+$16_1>>2]^$7_1;HEAP32[$1_1>>2]=$7_1}$0_1=$0_1+1|0;continue}break}HEAP32[$1_1>>2]=HEAP32[($7_1<<2)+$11_1>>2];$21_1=$7_1?1:$21_1;$2_1=$2_1+1|0;continue}break}label$17:{if(!$21_1){break label$17}HEAP32[$5_1+800>>2]=0;HEAP32[$5_1+804>>2]=HEAP32[$5_1+564>>2];HEAP32[$5_1+952>>2]=1;HEAP32[$5_1+880>>2]=0;$0_1=1;while(1){if(($0_1|0)!=($17_1|0)){$1_1=($5_1+880|0)+($0_1<<2)|0;HEAP32[$1_1>>2]=-1;HEAP32[$1_1+72>>2]=0;$0_1=$0_1+1|0;continue}break}HEAP32[$5_1+640>>2]=-1;HEAP32[$5_1+644>>2]=0;HEAP32[$5_1+720>>2]=0;HEAP32[$5_1+724>>2]=0;$25_1=$17_1-1|0;$6_1=0;$1_1=0;while(1){label$21:{$7_1=$1_1;$13_1=$1_1+1|0;$9_1=HEAP32[($5_1+800|0)+($13_1<<2)>>2];if(($9_1|0)==-1){$7_1=$1_1+2|0;HEAP32[($5_1+720|0)+($7_1<<2)>>2]=$6_1;$10_1=(($6_1|0)>=0?$6_1:-1)+1|0;$0_1=0;while(1){if(($0_1|0)==($10_1|0)){break label$21}$8_1=$0_1<<2;$9_1=$5_1+880|0;$15_1=$8_1+($9_1+Math_imul($13_1,72)|0)|0;$2_1=HEAP32[$15_1>>2];HEAP32[$8_1+($9_1+Math_imul($7_1,72)|0)>>2]=$2_1;HEAP32[$15_1>>2]=HEAP32[($2_1<<2)+$11_1>>2];$0_1=$0_1+1|0;continue}}while(1){$0_1=$7_1;if(HEAP32[($5_1+800|0)+($0_1<<2)>>2]==-1){$7_1=$0_1-1|0;if(($0_1|0)>0){continue}}break}$2_1=$0_1;if(($0_1|0)>0){while(1){$7_1=$0_1-1|0;$10_1=$7_1<<2;if(HEAP32[$10_1+($5_1+800|0)>>2]!=-1){$8_1=$2_1;$15_1=$2_1<<2;$2_1=$5_1+640|0;$2_1=HEAP32[$15_1+$2_1>>2]>2]?$7_1:$8_1}$10_1=$0_1>>>0>1;$0_1=$7_1;if($10_1){continue}break}}$22_1=$13_1-$2_1|0;$0_1=$5_1+720|0;$8_1=$2_1<<2;$15_1=$0_1+$8_1|0;$7_1=$22_1+HEAP32[$15_1>>2]|0;$10_1=($6_1|0)>($7_1|0)?$6_1:$7_1;$7_1=$1_1+2|0;HEAP32[$0_1+($7_1<<2)>>2]=$10_1;$0_1=0;while(1)if(($0_1|0)==($17_1|0)){$9_1=$9_1+$14_1|0;$0_1=HEAP32[$15_1>>2];$15_1=(($0_1|0)>=0?$0_1:-1)+1|0;$8_1=$8_1+($5_1+800|0)|0;$0_1=0;while(1){if(($0_1|0)==($15_1|0)){$2_1=(($6_1|0)>=0?$6_1:-1)+1|0;$0_1=0;while(1)if(($0_1|0)==($2_1|0)){$6_1=$10_1;break label$21}else{$9_1=$0_1<<2;$6_1=$5_1+880|0;$8_1=$9_1+($6_1+Math_imul($7_1,72)|0)|0;$6_1=$9_1+($6_1+Math_imul($13_1,72)|0)|0;$9_1=HEAP32[$6_1>>2];HEAP32[$8_1>>2]=$9_1^HEAP32[$8_1>>2];HEAP32[$6_1>>2]=HEAP32[($9_1<<2)+$11_1>>2];$0_1=$0_1+1|0;continue}}$23_1=HEAP32[(($5_1+880|0)+Math_imul($2_1,72)|0)+($0_1<<2)>>2];if(($23_1|0)!=-1){HEAP32[(($5_1+880|0)+Math_imul($7_1,72)|0)+($0_1+$22_1<<2)>>2]=HEAP32[((($9_1+$23_1|0)-HEAP32[$8_1>>2]|0)%($14_1|0)<<2)+$16_1>>2]}$0_1=$0_1+1|0;continue}}else{HEAP32[(($5_1+880|0)+Math_imul($7_1,72)|0)+($0_1<<2)>>2]=0;$0_1=$0_1+1|0;continue}}$0_1=$7_1<<2;HEAP32[$0_1+($5_1+640|0)>>2]=$13_1-$6_1;if(($1_1|0)!=($25_1|0)){$2_1=$0_1+($5_1+800|0)|0;$0_1=HEAP32[$0_1+($5_1+560|0)>>2];if(($0_1|0)==-1){$1_1=0}else{$1_1=HEAP32[($0_1<<2)+$16_1>>2]}HEAP32[$2_1>>2]=$1_1;$0_1=1;$10_1=(($6_1|0)>0?$6_1:0)+1|0;while(1){if(($0_1|0)!=($10_1|0)){$9_1=HEAP32[($5_1+560|0)+($7_1-$0_1<<2)>>2];label$43:{if(($9_1|0)==-1){break label$43}$8_1=HEAP32[(($5_1+880|0)+Math_imul($7_1,72)|0)+($0_1<<2)>>2];if(!$8_1){break label$43}$1_1=HEAP32[(($9_1+HEAP32[($8_1<<2)+$11_1>>2]|0)%($14_1|0)<<2)+$16_1>>2]^$1_1;HEAP32[$2_1>>2]=$1_1}$0_1=$0_1+1|0;continue}break}HEAP32[$2_1>>2]=HEAP32[($1_1<<2)+$11_1>>2];$1_1=$13_1;if(($6_1|0)<=($12_1|0)){continue}}break}$2_1=-1;if(($6_1|0)>($12_1|0)){break label$1}$0_1=0;$1_1=$6_1+1|0;$2_1=($1_1|0)>0?$1_1:0;$13_1=($5_1+880|0)+Math_imul($7_1,72)|0;while(1)if(($0_1|0)==($2_1|0)){$13_1=($1_1|0)>1?$1_1:1;$1_1=($5_1+880|0)+Math_imul($7_1,72)|0;$0_1=1;while(1)if(($0_1|0)==($13_1|0)){$10_1=$14_1+1|0;$1_1=0;$2_1=1;while(1){$0_1=1;$11_1=1;if(($2_1|0)!=($10_1|0)){while(1){if(($0_1|0)!=($13_1|0)){$12_1=($0_1<<2)+$5_1|0;$17_1=HEAP32[$12_1>>2];if(($17_1|0)!=-1){$8_1=$12_1;$12_1=($0_1+$17_1|0)%($14_1|0)|0;HEAP32[$8_1>>2]=$12_1;$11_1=HEAP32[($12_1<<2)+$16_1>>2]^$11_1}$0_1=$0_1+1|0;continue}break}if(!$11_1){HEAP32[($5_1+48|0)+($1_1<<2)>>2]=$14_1-$2_1;$1_1=$1_1+1|0}$2_1=$2_1+1|0;continue}break}$2_1=-1;if(($1_1|0)!=($6_1|0)){break label$1}$0_1=0;$1_1=($6_1|0)>0?$6_1:0;while(1){if(($0_1|0)==($1_1|0)){break label$17}$2_1=HEAP32[($5_1+48|0)+($0_1<<2)>>2]+$3_1|0;HEAP8[$2_1|0]=HEAPU8[$2_1|0]^1;$0_1=$0_1+1|0;continue}}else{$2_1=$0_1<<2;HEAP32[$2_1+$5_1>>2]=HEAP32[$1_1+$2_1>>2];$0_1=$0_1+1|0;continue}}else{$10_1=$13_1+($0_1<<2)|0;HEAP32[$10_1>>2]=HEAP32[(HEAP32[$10_1>>2]<<2)+$11_1>>2];$0_1=$0_1+1|0;continue}}HEAP32[$4_1>>2]=0;HEAP32[$4_1+4>>2]=0;$0_1=$18_1+$19_1|0;$1_1=1;$2_1=0;while(1){if(($0_1|0)!=($18_1|0)){$6_1=__wasm_i64_mul($1_1,$2_1,HEAPU8[$0_1+$3_1|0],0)+$24_1|0;$20_1=$20_1+i64toi32_i32$HIGH_BITS|0;$20_1=$6_1>>>0<$24_1>>>0?$20_1+1|0:$20_1;$24_1=$6_1;HEAP32[$4_1>>2]=$6_1;HEAP32[$4_1+4>>2]=$20_1;$0_1=$0_1+1|0;$2_1=$2_1<<1|$1_1>>>31;$1_1=$1_1<<1;continue}break}$2_1=0;if(!$21_1){break label$1}$2_1=HEAP32[($5_1+720|0)+($7_1<<2)>>2]}global$0=$5_1+3792|0;return $2_1}function $457($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$13_1=global$0-32|0;global$0=$13_1;label$1:{if(HEAPU8[$2_1+100|0]){$3_1=$0_1+72|0;HEAP32[$13_1+8>>2]=$327($3_1);$0_1=$116($13_1+24|0,$13_1+8|0);$4_1=$278($259($2_1));$5_1=$327($259($2_1));$2_1=global$0-32|0;global$0=$2_1;HEAP32[$2_1+24>>2]=HEAP32[$0_1>>2];$0_1=HEAP32[$3_1>>2];HEAP32[$2_1>>2]=$278($3_1);$6_1=$0_1+($456($2_1+24|0,$2_1)<<2)|0;$1_1=$714($4_1,$5_1);label$3:{if(($1_1|0)<=0){break label$3}$0_1=HEAP32[$4($3_1)>>2];$10_1=HEAP32[$3_1+4>>2];if(($1_1|0)<=$0_1-$10_1>>2){HEAP32[$2_1>>2]=$5_1;$11_1=$10_1-$6_1|0;$0_1=$11_1>>2;if(($0_1|0)<($1_1|0)){HEAP32[$2_1>>2]=$4_1;$712($2_1,$0_1);$14_1=HEAP32[$2_1>>2];$7_1=global$0-16|0;global$0=$7_1;$8_1=$275($7_1,$3_1,$1_1-$0_1|0);$9_1=$4($3_1);$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1>>2]=$5_1;HEAP32[$0_1+8>>2]=$14_1;while(1){if($78($0_1+8|0,$0_1)){$5_1=$0_1+8|0;$194($9_1,HEAP32[$8_1+4>>2],HEAP32[$5_1>>2]);$220($5_1);HEAP32[$8_1+4>>2]=HEAP32[$8_1+4>>2]+4;continue}break}global$0=$0_1+16|0;$72($8_1);global$0=$7_1+16|0;if(($11_1|0)<=0){break label$3}}$5_1=global$0-16|0;global$0=$5_1;$11_1=HEAP32[$3_1+4>>2];$1_1=($11_1-(($1_1<<2)+$6_1|0)|0)+$6_1|0;$7_1=$275($5_1,$3_1,$10_1-$1_1>>2);$8_1=HEAP32[$7_1+4>>2];$0_1=$1_1;while(1){if($0_1>>>0>=$10_1>>>0){$72($7_1);if(($1_1|0)!=($6_1|0)){$0_1=$1_1-$6_1|0;wasm2js_memory_copy($11_1-$0_1|0,$6_1,$0_1)}global$0=$5_1+16|0}else{$194($4($3_1),$8_1,$0_1);$8_1=$8_1+4|0;HEAP32[$7_1+4>>2]=$8_1;$0_1=$0_1+4|0;continue}break}$314($4_1,HEAP32[$2_1>>2],$6_1);break label$3}$0_1=$4($3_1);$1_1=$277($2_1,$385($3_1,$21($3_1)+$1_1|0),$6_1-HEAP32[$3_1>>2]>>2,$0_1);$8_1=global$0-32|0;global$0=$8_1;HEAP32[$8_1+24>>2]=$4_1;$0_1=$392($8_1+8|0,$1_1+8|0,$714($4_1,$5_1));while(1){if(HEAP32[$0_1>>2]!=HEAP32[$0_1+4>>2]){$4_1=$8_1+24|0;$194(HEAP32[$1_1+16>>2],HEAP32[$0_1>>2],HEAP32[$4_1>>2]);HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+4;$220($4_1);continue}break}$143($0_1);global$0=$8_1+32|0;$331($3_1);$0_1=HEAP32[$1_1+4>>2];$5_1=$1_1+4|0;$279($4($3_1),HEAP32[$3_1>>2],$6_1,$5_1);$8_1=$4($3_1);$10_1=HEAP32[$3_1+4>>2];$4_1=$1_1+8|0;while(1){if(($6_1|0)!=($10_1|0)){$194($8_1,HEAP32[$4_1>>2],$6_1);HEAP32[$4_1>>2]=HEAP32[$4_1>>2]+4;$6_1=$6_1+4|0;continue}break}$28($3_1,$5_1);$28($3_1+4|0,$4_1);$28($4($3_1),$13($1_1));HEAP32[$1_1>>2]=HEAP32[$1_1+4>>2];$273($3_1,$21($3_1));$6_1=$0_1;$276($1_1)}$489($6_1);global$0=$2_1+32|0;break label$1}$10_1=$38($13_1+8|0);$14_1=global$0-32|0;global$0=$14_1;$4_1=-1;$8_1=-1;$11_1=$2_1+104|0;$2_1=$21($11_1);$7_1=global$0-16|0;global$0=$7_1;$5_1=$14_1+16|0;HEAP32[$5_1>>2]=0;HEAP32[$5_1+4>>2]=0;HEAP32[$7_1+12>>2]=0;$242($5_1+8|0);if($2_1){if($270($5_1)>>>0<$2_1>>>0){$265();abort()}$9_1=$486($4($5_1),$2_1);HEAP32[$5_1>>2]=$9_1;HEAP32[$5_1+4>>2]=$9_1;HEAP32[$4($5_1)>>2]=$9_1+($2_1<<3);$389($5_1,0);$474($5_1,$2_1)}global$0=$7_1+16|0;label$18:{while(1){if($12($5_1)>>>0<=$6_1>>>0){if(($8_1|0)!=-1){$383($10_1,$9($11_1,$8_1));$6_1=0;while(1){if($12($5_1)>>>0<=$6_1>>>0){break label$18}label$23:{if(($6_1|0)==($8_1|0)){break label$23}if(HEAP32[$29($5_1,$6_1)+4>>2]==HEAP32[$29($5_1,$8_1)+4>>2]){$383($10_1,$9($11_1,$6_1));break label$23}$4_1=$29($5_1,$6_1);label$25:{if(HEAP32[$1_1+4>>2]!=HEAP32[$4($1_1)>>2]){$326($1_1,$4_1);break label$25}$9_1=global$0-32|0;global$0=$9_1;$2_1=$4($1_1);$7_1=$2_1;$2_1=$271($9_1+8|0,$473($1_1,$12($1_1)+1|0),$12($1_1),$2_1);$272($7_1,HEAP32[$2_1+8>>2],$4_1);HEAP32[$2_1+8>>2]=HEAP32[$2_1+8>>2]+8;$325($1_1);$12_1=$4($1_1);$15_1=HEAP32[$1_1>>2];$7_1=HEAP32[$1_1+4>>2];$4_1=$2_1+4|0;while(1){if(($7_1|0)!=($15_1|0)){$7_1=$7_1-8|0;$272($12_1,HEAP32[$4_1>>2]-8|0,$7_1);HEAP32[$4_1>>2]=HEAP32[$4_1>>2]-8;continue}break}$28($1_1,$4_1);$28($1_1+4|0,$2_1+8|0);$28($4($1_1),$13($2_1));HEAP32[$2_1>>2]=HEAP32[$2_1+4>>2];$389($1_1,$12($1_1));$4_1=HEAP32[$2_1+4>>2];while(1){if(($4_1|0)!=HEAP32[$2_1+8>>2]){HEAP32[$2_1+8>>2]=HEAP32[$2_1+8>>2]-8;continue}break}if(HEAP32[$2_1>>2]){$4_1=HEAP32[$2_1>>2];$508($2_1);$1($4_1)}global$0=$9_1+32|0}$2_1=$278($1_1);$9_1=$327($1_1);$7_1=global$0-32|0;global$0=$7_1;HEAP32[$7_1+16>>2]=$9_1;HEAP32[$7_1+24>>2]=$2_1;$12_1=$388($7_1+16|0,$7_1+24|0);$4_1=global$0-32|0;global$0=$4_1;HEAP32[$4_1+16>>2]=$9_1;HEAP32[$4_1+24>>2]=$2_1;label$32:{if(($12_1|0)<2){break label$32}$2_1=$12_1-2>>>1|0;HEAP32[$4_1+8>>2]=$196($4_1+24|0,$2_1);if(!$256(HEAP32[$4_1+8>>2],HEAP32[$169($4_1+16|0)>>2])){break label$32}$9_1=HEAP32[$4_1+16>>2];$12_1=HEAP32[$9_1+4>>2];HEAP32[$4_1>>2]=HEAP32[$9_1>>2];HEAP32[$4_1+4>>2]=$12_1;while(1){label$34:{$12_1=HEAP32[$4_1+8>>2];$15_1=HEAP32[$12_1+4>>2];$9_1=HEAP32[$4_1+16>>2];HEAP32[$9_1>>2]=HEAP32[$12_1>>2];HEAP32[$9_1+4>>2]=$15_1;HEAP32[$4_1+16>>2]=HEAP32[$4_1+8>>2];if(!$2_1){break label$34}$2_1=($2_1-1|0)/2|0;HEAP32[$4_1+8>>2]=$196($4_1+24|0,$2_1);if($256(HEAP32[$4_1+8>>2],$4_1)){continue}}break}$9_1=HEAP32[$4_1+4>>2];$2_1=HEAP32[$4_1+16>>2];HEAP32[$2_1>>2]=HEAP32[$4_1>>2];HEAP32[$2_1+4>>2]=$9_1}global$0=$4_1+32|0;global$0=$7_1+32|0}$6_1=$6_1+1|0;continue}}}else{$2_1=$382(HEAP32[$9($11_1,$6_1)>>2]+4|0,$3_1);$7_1=$193($14_1+8|0,HEAP32[$9($11_1,$6_1)>>2],$2_1);$9_1=$29($5_1,$6_1);$12_1=HEAP32[$7_1+4>>2];HEAP32[$9_1>>2]=HEAP32[$7_1>>2];HEAP32[$9_1+4>>2]=$12_1;$7_1=$2_1;$2_1=$2_1>>>0<$4_1>>>0;$4_1=$2_1?$7_1:$4_1;$8_1=$2_1?$6_1:$8_1;$6_1=$6_1+1|0;continue}break}$3($0($0($2($0($0($0(71248,23123),16439),9192),155),10056),23254));fimport$0();abort()}$744($5_1);global$0=$14_1+32|0;$2_1=0;while(1){if($21($10_1)>>>0<=$2_1>>>0){label$38:{if(HEAP32[$0_1+100>>2]>=HEAP32[$0_1+104>>2]){break label$38}if($715($1_1)){break label$38}$2_1=HEAP32[HEAP32[$1_1>>2]>>2];$717($1_1);HEAP32[$0_1+100>>2]=HEAP32[$0_1+100>>2]+1;$457($0_1,$1_1,$2_1,$3_1)}$79($10_1)}else{$457($0_1,$1_1,HEAP32[$9($10_1,$2_1)>>2],$3_1);$2_1=$2_1+1|0;continue}break}}global$0=$13_1+32|0}function $1107($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;if(HEAP32[$0_1+36>>2]>0){$11_1=HEAP32[$0_1+472>>2];$8_1=HEAP32[$0_1+216>>2];while(1){$3_1=$1_1;$7_1=$4_1;label$3:{label$4:{label$5:{label$6:{label$7:{label$8:{label$9:{label$10:{label$11:{label$12:{label$13:{label$14:{label$15:{label$16:{label$17:{label$18:{label$19:{label$20:{label$21:{label$22:{label$23:{label$24:{label$25:{label$26:{label$27:{label$28:{label$29:{label$30:{label$31:{label$32:{label$33:{label$34:{label$35:{label$36:{label$37:{label$38:{$6_1=HEAP32[$8_1+36>>2];$2_1=HEAP32[$8_1+40>>2]+($6_1<<8)|0;if(($2_1|0)<=2051){if(($2_1|0)<=1025){label$41:{switch($2_1-513|0){case 3:break label$11;case 0:break label$18;case 1:break label$38;case 2:break label$7;default:break label$41}}$1_1=123;$4_1=0;label$42:{switch($2_1-257|0){case 1:break label$10;case 0:break label$3;default:break label$42}}switch($2_1-771|0){case 3:break label$12;case 0:break label$37;default:break label$7}}if(($2_1|0)<=1538){label$44:{switch($2_1-1026|0){case 6:break label$13;case 0:break label$19;case 2:break label$36;case 1:case 3:case 4:case 5:break label$7;default:break label$44}}switch($2_1-1285|0){case 5:break label$14;case 0:break label$35;default:break label$7}}label$45:{switch($2_1-1539|0){case 9:break label$15;case 0:break label$20;case 3:break label$34;case 1:case 2:case 4:case 5:case 6:case 7:case 8:break label$7;default:break label$45}}switch($2_1-1799|0){case 7:break label$16;case 0:break label$33;default:break label$7}}if(($2_1|0)<=3077){if(($2_1|0)<=2564){switch($2_1-2052|0){case 12:break label$17;case 0:break label$21;case 1:case 2:case 3:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break label$7;case 4:break label$9;default:break label$8}}switch($2_1-2565|0){case 0:break label$22;case 5:break label$32;case 1:case 2:case 3:case 4:break label$7;default:break label$31}}if(($2_1|0)<=3590){switch($2_1-3078|0){case 0:break label$23;case 6:break label$30;case 1:case 2:case 3:case 4:case 5:break label$7;default:break label$29}}label$49:{switch($2_1-3591|0){case 0:break label$24;case 7:break label$28;case 1:case 2:case 3:case 4:case 5:case 6:break label$7;default:break label$49}}switch($2_1-4104|0){case 0:break label$25;case 8:break label$26;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break label$7;default:break label$27}}$1_1=124;$4_1=0;break label$3}$1_1=125;break label$3}$1_1=126;$4_1=0;break label$3}$1_1=127;$4_1=0;break label$3}$1_1=128;$4_1=0;break label$3}$1_1=129;$4_1=0;break label$3}$1_1=130;$4_1=0;break label$3}if(($2_1|0)!=2827){break label$7}$1_1=131;$4_1=0;break label$3}$1_1=132;$4_1=0;break label$3}if(($2_1|0)!=3341){break label$7}$1_1=133;$4_1=0;break label$3}$1_1=134;$4_1=0;break label$3}if(($2_1|0)!=3855){break label$7}$1_1=135;$4_1=0;break label$3}$1_1=136;$4_1=0;break label$3}$1_1=137;$4_1=0;break label$3}$1_1=138;$4_1=0;break label$3}$1_1=139;$4_1=0;break label$3}$1_1=140;$4_1=0;break label$3}$1_1=141;$4_1=0;break label$3}$1_1=142;$4_1=0;break label$3}$1_1=143;$4_1=0;break label$3}$1_1=144;$4_1=0;break label$3}$1_1=145;$4_1=0;break label$3}$1_1=146;$4_1=0;break label$3}$1_1=147;$4_1=0;break label$3}$1_1=148;$4_1=0;break label$3}$1_1=149;$4_1=0;break label$3}$1_1=150;break label$3}$1_1=151;$4_1=0;break label$3}$1_1=152;break label$3}$4_1=HEAP32[$0_1+72>>2];if($4_1>>>0<3){break label$6}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=49;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1);break label$5}if(($2_1|0)==2313){break label$4}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$6_1;HEAP32[$1_1+20>>2]=7;HEAP32[HEAP32[$0_1>>2]+28>>2]=HEAP32[$8_1+40>>2];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1);break label$5}$1_1=HEAP32[($4_1<<2)+39216>>2];break label$3}$1_1=$3_1;$4_1=$7_1;break label$3}$1_1=153;$4_1=0}$3_1=($10_1<<2)+$11_1|0;HEAP32[$3_1+4>>2]=$1_1;label$50:{if(!HEAP32[$8_1+52>>2]|HEAP32[$3_1+44>>2]==($4_1|0)){break label$50}$7_1=HEAP32[$8_1+80>>2];if(!$7_1){break label$50}HEAP32[$3_1+44>>2]=$4_1;label$51:{switch($4_1|0){case 0:$2_1=HEAP32[$8_1+84>>2];$3_1=0;while(1){HEAP32[$2_1+($3_1<<2)>>2]=HEAPU16[$7_1+($3_1<<1)>>1];$6_1=$3_1|1;HEAP32[$2_1+($6_1<<2)>>2]=HEAPU16[$7_1+($6_1<<1)>>1];$6_1=$3_1|2;HEAP32[$2_1+($6_1<<2)>>2]=HEAPU16[$7_1+($6_1<<1)>>1];$6_1=$3_1|3;HEAP32[$2_1+($6_1<<2)>>2]=HEAPU16[$7_1+($6_1<<1)>>1];$3_1=$3_1+4|0;if(($3_1|0)!=64){continue}break};break label$50;case 1:$2_1=HEAP32[$8_1+84>>2];$3_1=0;while(1){$6_1=$3_1<<1;HEAP32[$2_1+($3_1<<2)>>2]=Math_imul(HEAP16[$6_1+39024>>1],HEAPU16[$7_1+$6_1>>1])+2048>>12;$5_1=$3_1|1;$6_1=$5_1<<1;HEAP32[$2_1+($5_1<<2)>>2]=Math_imul(HEAP16[$6_1+39024>>1],HEAPU16[$7_1+$6_1>>1])+2048>>12;$3_1=$3_1+2|0;if(($3_1|0)!=64){continue}break};break label$50;case 2:$2_1=HEAP32[$8_1+84>>2];$6_1=0;$3_1=0;while(1){$9_1=HEAPF64[($6_1<<3)+39152>>3];HEAPF32[$2_1+($3_1<<2)>>2]=$9_1*+HEAPU16[$7_1+($3_1<<1)>>1]*.125;$5_1=$3_1|1;HEAPF32[$2_1+($5_1<<2)>>2]=$9_1*+HEAPU16[$7_1+($5_1<<1)>>1]*1.387039845*.125;$5_1=$3_1|2;HEAPF32[$2_1+($5_1<<2)>>2]=$9_1*+HEAPU16[$7_1+($5_1<<1)>>1]*1.306562965*.125;$5_1=$3_1|3;HEAPF32[$2_1+($5_1<<2)>>2]=$9_1*+HEAPU16[$7_1+($5_1<<1)>>1]*1.175875602*.125;$5_1=$3_1|4;HEAPF32[$2_1+($5_1<<2)>>2]=$9_1*+HEAPU16[$7_1+($5_1<<1)>>1]*.125;$5_1=$3_1|5;HEAPF32[$2_1+($5_1<<2)>>2]=$9_1*+HEAPU16[$7_1+($5_1<<1)>>1]*.785694958*.125;$5_1=$3_1|6;HEAPF32[$2_1+($5_1<<2)>>2]=$9_1*+HEAPU16[$7_1+($5_1<<1)>>1]*.5411961*.125;$5_1=$3_1|7;HEAPF32[$2_1+($5_1<<2)>>2]=$9_1*+HEAPU16[$7_1+($5_1<<1)>>1]*.275899379*.125;$3_1=$3_1+8|0;$6_1=$6_1+1|0;if(($6_1|0)!=8){continue}break};break label$50;default:break label$51}}$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=49;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1)}$8_1=$8_1+88|0;$10_1=$10_1+1|0;if(($10_1|0)>2]){continue}break}}}function $1123($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$1_1=2;label$1:{$5_1=HEAP32[$0_1+460>>2];if(HEAP32[$5_1+20>>2]){break label$1}while(1){label$3:{label$4:{label$5:{label$6:{$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+464>>2]+4>>2]]($0_1)|0;if(($1_1|0)!=1){if(($1_1|0)!=2){break label$1}HEAP32[$5_1+20>>2]=1;if(!HEAP32[$5_1+24>>2]){break label$6}$1_1=2;if(!HEAP32[HEAP32[$0_1+464>>2]+16>>2]){break label$1}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=62;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1);return 2}label$8:{switch(HEAP32[$5_1+24>>2]){default:$1_1=HEAP32[$0_1+340>>2];break label$3;case 1:if(!(HEAP32[$0_1+28>>2]<65501&HEAP32[$0_1+32>>2]<=65500)){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=42;HEAP32[$1_1+24>>2]=65500;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$2_1=HEAP32[$0_1+212>>2];if($2_1-13>>>0<=4294967290){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$2_1;HEAP32[$1_1+20>>2]=16;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$4_1=HEAP32[$0_1+36>>2];if(($4_1|0)>=11){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$4_1;HEAP32[$1_1+20>>2]=27;HEAP32[HEAP32[$0_1>>2]+28>>2]=10;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1);$4_1=HEAP32[$0_1+36>>2]}HEAP32[$0_1+316>>2]=1;HEAP32[$0_1+320>>2]=1;if(($4_1|0)>0){$1_1=HEAP32[$0_1+216>>2];$8_1=0;$6_1=1;$3_1=1;while(1){$7_1=HEAP32[$1_1+8>>2];label$17:{if($7_1-5>>>0>=4294967292){$2_1=HEAP32[$1_1+12>>2];if($2_1-5>>>0>4294967291){break label$17}}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=19;FUNCTION_TABLE[HEAP32[$2_1>>2]]($0_1);$4_1=HEAP32[$0_1+36>>2];$2_1=HEAP32[$1_1+12>>2];$6_1=HEAP32[$0_1+320>>2];$7_1=HEAP32[$1_1+8>>2];$3_1=HEAP32[$0_1+316>>2]}$6_1=($2_1|0)<($6_1|0)?$6_1:$2_1;HEAP32[$0_1+320>>2]=$6_1;$3_1=($3_1|0)>($7_1|0)?$3_1:$7_1;HEAP32[$0_1+316>>2]=$3_1;$1_1=$1_1+88|0;$8_1=$8_1+1|0;if(($8_1|0)<($4_1|0)){continue}break}}if(HEAP32[$0_1+220>>2]|(HEAP32[$0_1+340>>2]?HEAP32[$0_1+224>>2]:0)){break label$5}label$20:{label$21:{label$22:{label$23:{label$24:{label$25:{label$26:{label$27:{label$28:{label$29:{label$30:{label$31:{label$32:{label$33:{$1_1=HEAP32[$0_1+416>>2];if(($1_1|0)<=119){switch($1_1|0){case 99:break label$25;case 80:break label$26;case 48:break label$27;case 35:break label$28;case 24:break label$29;case 15:break label$30;case 8:break label$31;case 3:break label$32;case 0:break label$33;case 63:break label$5;default:break label$20}}if(($1_1|0)<=194){if(($1_1|0)==120){break label$24}if(($1_1|0)==143){break label$23}if(($1_1|0)!=168){break label$20}HEAP32[$0_1+436>>2]=63;HEAP32[$0_1+432>>2]=40976;HEAP32[$0_1+428>>2]=13;$1_1=13;break label$4}if(($1_1|0)==195){break label$22}if(($1_1|0)==224){break label$21}if(($1_1|0)!=255){break label$20}HEAP32[$0_1+436>>2]=63;HEAP32[$0_1+432>>2]=40976;HEAP32[$0_1+428>>2]=16;$1_1=16;break label$4}HEAP32[$0_1+436>>2]=0;HEAP32[$0_1+432>>2]=40976;HEAP32[$0_1+428>>2]=1;$1_1=1;break label$4}HEAP32[$0_1+436>>2]=3;HEAP32[$0_1+432>>2]=42192;HEAP32[$0_1+428>>2]=2;$1_1=2;break label$4}HEAP32[$0_1+436>>2]=8;HEAP32[$0_1+432>>2]=42080;HEAP32[$0_1+428>>2]=3;$1_1=3;break label$4}HEAP32[$0_1+436>>2]=15;HEAP32[$0_1+432>>2]=41952;HEAP32[$0_1+428>>2]=4;$1_1=4;break label$4}HEAP32[$0_1+436>>2]=24;HEAP32[$0_1+432>>2]=41776;HEAP32[$0_1+428>>2]=5;$1_1=5;break label$4}HEAP32[$0_1+436>>2]=35;HEAP32[$0_1+432>>2]=41568;HEAP32[$0_1+428>>2]=6;$1_1=6;break label$4}HEAP32[$0_1+436>>2]=48;HEAP32[$0_1+432>>2]=41296;HEAP32[$0_1+428>>2]=7;$1_1=7;break label$4}HEAP32[$0_1+436>>2]=63;HEAP32[$0_1+432>>2]=40976;HEAP32[$0_1+428>>2]=9;$1_1=9;break label$4}HEAP32[$0_1+436>>2]=63;HEAP32[$0_1+432>>2]=40976;HEAP32[$0_1+428>>2]=10;$1_1=10;break label$4}HEAP32[$0_1+436>>2]=63;HEAP32[$0_1+432>>2]=40976;HEAP32[$0_1+428>>2]=11;$1_1=11;break label$4}HEAP32[$0_1+436>>2]=63;HEAP32[$0_1+432>>2]=40976;HEAP32[$0_1+428>>2]=12;$1_1=12;break label$4}HEAP32[$0_1+436>>2]=63;HEAP32[$0_1+432>>2]=40976;HEAP32[$0_1+428>>2]=14;$1_1=14;break label$4}HEAP32[$0_1+436>>2]=63;HEAP32[$0_1+432>>2]=40976;HEAP32[$0_1+428>>2]=15;$1_1=15;break label$4}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=17;HEAP32[$1_1+24>>2]=HEAP32[$0_1+412>>2];HEAP32[HEAP32[$0_1>>2]+28>>2]=HEAP32[$0_1+416>>2];HEAP32[HEAP32[$0_1>>2]+32>>2]=HEAP32[$0_1+420>>2];HEAP32[HEAP32[$0_1>>2]+36>>2]=HEAP32[$0_1+424>>2];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1);$4_1=HEAP32[$0_1+36>>2];$1_1=HEAP32[$0_1+428>>2];break label$4;case 0:break label$8}}if(!HEAP32[$5_1+16>>2]){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=36;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}if(!HEAP32[$0_1+340>>2]){continue}$677($0_1);return 1}$1_1=2;$2_1=HEAP32[$0_1+144>>2];if(($2_1|0)>=HEAP32[$0_1+152>>2]){break label$1}HEAP32[$0_1+152>>2]=$2_1;break label$1}HEAP32[$0_1+436>>2]=63;HEAP32[$0_1+432>>2]=40976;HEAP32[$0_1+428>>2]=8;$1_1=8}HEAP32[$0_1+328>>2]=$1_1;HEAP32[$0_1+324>>2]=$1_1;if(($4_1|0)>0){$1_1=HEAP32[$0_1+216>>2];$3_1=0;while(1){$2_1=HEAP32[$0_1+428>>2];HEAP32[$1_1+40>>2]=$2_1;HEAP32[$1_1+36>>2]=$2_1;HEAP32[$1_1+28>>2]=$60(Math_imul(HEAP32[$1_1+8>>2],HEAP32[$0_1+28>>2]),Math_imul($2_1,HEAP32[$0_1+316>>2]));HEAP32[$1_1+32>>2]=$60(Math_imul(HEAP32[$1_1+12>>2],HEAP32[$0_1+32>>2]),Math_imul(HEAP32[$0_1+428>>2],HEAP32[$0_1+320>>2]));HEAP32[$1_1+44>>2]=$60(Math_imul(HEAP32[$1_1+8>>2],HEAP32[$0_1+28>>2]),HEAP32[$0_1+316>>2]);$2_1=$60(Math_imul(HEAP32[$1_1+12>>2],HEAP32[$0_1+32>>2]),HEAP32[$0_1+320>>2]);HEAP32[$1_1+80>>2]=0;HEAP32[$1_1+52>>2]=1;HEAP32[$1_1+48>>2]=$2_1;$1_1=$1_1+88|0;$3_1=$3_1+1|0;if(($3_1|0)>2]){continue}break}$1_1=HEAP32[$0_1+428>>2]}HEAP32[$0_1+332>>2]=$60(HEAP32[$0_1+32>>2],Math_imul(HEAP32[$0_1+320>>2],$1_1));$1_1=HEAP32[$0_1+340>>2];HEAP32[HEAP32[$0_1+460>>2]+16>>2]=($1_1|0)>=HEAP32[$0_1+36>>2]?HEAP32[$0_1+224>>2]!=0:1}if(!$1_1){HEAP32[$5_1+24>>2]=2;continue}break}HEAP32[$5_1+24>>2]=0;return 1}return $1_1|0}function $1042($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0;$29_1=global$0-512|0;global$0=$29_1;$22_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$29_1;while(1){$11_1=Math_imul(HEAP32[$1_1+64>>2],HEAP16[$2_1+32>>1]);$10_1=Math_imul(HEAP32[$1_1+192>>2],HEAP16[$2_1+96>>1]);$7_1=$11_1-$10_1|0;$14_1=Math_imul($7_1,11363);$8_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$12_1=Math_imul(HEAP32[$1_1+32>>2],HEAP16[$2_1+16>>1]);$15_1=Math_imul($8_1+$12_1|0,11086);$24_1=$14_1+Math_imul($10_1,20995)|0;$9_1=Math_imul(HEAP32[$1_1+128>>2],HEAP16[$2_1+64>>1]);$25_1=Math_imul($9_1,10703);$13_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$19_1=$25_1+$13_1|0;$20_1=$24_1+$19_1|0;$5_1=Math_imul(HEAP32[$1_1+224>>2],HEAP16[$2_1+112>>1]);$26_1=Math_imul($5_1+$12_1|0,8956);$6_1=Math_imul(HEAP32[$1_1+160>>2],HEAP16[$2_1+80>>1]);$17_1=$6_1+$12_1|0;$21_1=Math_imul($17_1,10217);$18_1=$26_1+($21_1+($15_1+Math_imul($12_1,-18730)|0)|0)|0;HEAP32[$0_1+480>>2]=$20_1-$18_1>>11;HEAP32[$0_1>>2]=$18_1+$20_1>>11;$7_1=Math_imul($7_1,2260);$20_1=$7_1+Math_imul($11_1,7373)|0;$9_1=Math_imul($9_1,4433);$18_1=$9_1+$13_1|0;$16_1=$20_1+$18_1|0;$27_1=Math_imul($6_1+$8_1|0,1136);$23_1=$27_1+($15_1+Math_imul($8_1,589)|0)|0;$15_1=$5_1+$8_1|0;$28_1=Math_imul($15_1,-5461);$23_1=$23_1+$28_1|0;HEAP32[$0_1+448>>2]=$16_1-$23_1>>11;HEAP32[$0_1+32>>2]=$16_1+$23_1>>11;$11_1=$14_1+Math_imul($11_1,-4926)|0;$14_1=$13_1-$9_1|0;$9_1=$11_1+$14_1|0;$16_1=$21_1+(Math_imul($6_1,-9222)+$27_1|0)|0;$21_1=Math_imul($5_1+$6_1|0,-11086);$16_1=$16_1+$21_1|0;HEAP32[$0_1+416>>2]=$9_1-$16_1>>11;HEAP32[$0_1+64>>2]=$9_1+$16_1>>11;$10_1=$7_1+Math_imul($10_1,-4176)|0;$13_1=$13_1-$25_1|0;$7_1=$10_1+$13_1|0;$9_1=$21_1+($26_1+($28_1+Math_imul($5_1,8728)|0)|0)|0;HEAP32[$0_1+384>>2]=$7_1-$9_1>>11;HEAP32[$0_1+96>>2]=$7_1+$9_1>>11;$13_1=$13_1-$10_1|0;$10_1=Math_imul($15_1,-10217);$15_1=Math_imul($12_1-$5_1|0,7350);$7_1=($10_1+Math_imul($5_1,25733)|0)+$15_1|0;$5_1=Math_imul($5_1-$6_1|0,3363);$7_1=$7_1+$5_1|0;HEAP32[$0_1+352>>2]=$13_1-$7_1>>11;HEAP32[$0_1+128>>2]=$7_1+$13_1>>11;$13_1=$14_1-$11_1|0;$11_1=Math_imul($17_1,5461);$7_1=Math_imul($6_1,-6278);$6_1=Math_imul($6_1-$8_1|0,11529);$5_1=$5_1+($11_1+($7_1+$6_1|0)|0)|0;HEAP32[$0_1+320>>2]=$13_1-$5_1>>11;HEAP32[$0_1+160>>2]=$5_1+$13_1>>11;$5_1=$18_1-$20_1|0;$7_1=Math_imul($8_1,16154);$8_1=Math_imul($12_1-$8_1|0,3363);$6_1=$10_1+($6_1+($7_1+$8_1|0)|0)|0;HEAP32[$0_1+288>>2]=$5_1-$6_1>>11;HEAP32[$0_1+192>>2]=$5_1+$6_1>>11;$6_1=$19_1-$24_1|0;$8_1=$15_1+($11_1+($8_1+Math_imul($12_1,-15038)|0)|0)|0;HEAP32[$0_1+256>>2]=$6_1-$8_1>>11;HEAP32[$0_1+224>>2]=$6_1+$8_1>>11;$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+2|0;$30_1=$30_1+1|0;if(($30_1|0)!=8){continue}break}$0_1=$22_1-384|0;$1_1=$29_1;$13_1=0;while(1){$8_1=HEAP32[$1_1+12>>2];$12_1=HEAP32[$1_1+4>>2];$10_1=Math_imul($8_1+$12_1|0,11086);$14_1=HEAP32[$1_1+8>>2];$15_1=HEAP32[$1_1+24>>2];$7_1=$14_1-$15_1|0;$22_1=Math_imul($7_1,11363);$2_1=HEAP32[($13_1<<2)+$3_1>>2]+$4_1|0;$5_1=HEAP32[$1_1+28>>2];$25_1=Math_imul($5_1+$12_1|0,8956);$6_1=HEAP32[$1_1+20>>2];$24_1=$6_1+$12_1|0;$9_1=Math_imul($24_1,10217);$19_1=$25_1+($9_1+($10_1+Math_imul($12_1,-18730)|0)|0)|0;$20_1=$22_1+Math_imul($15_1,20995)|0;$11_1=(HEAP32[$1_1>>2]<<13)+134348800|0;$17_1=HEAP32[$1_1+16>>2];$21_1=Math_imul($17_1,10703);$26_1=$11_1+$21_1|0;$18_1=$20_1+$26_1|0;HEAP8[$2_1|0]=HEAPU8[$0_1+($19_1+$18_1>>>18&1023)|0];HEAP8[$2_1+15|0]=HEAPU8[$0_1+($18_1-$19_1>>>18&1023)|0];$19_1=$5_1+$8_1|0;$18_1=Math_imul($19_1,-5461);$16_1=$10_1+Math_imul($8_1,589)|0;$10_1=Math_imul($6_1+$8_1|0,1136);$16_1=$18_1+($16_1+$10_1|0)|0;$7_1=Math_imul($7_1,2260);$27_1=$7_1+Math_imul($14_1,7373)|0;$17_1=Math_imul($17_1,4433);$28_1=$17_1+$11_1|0;$23_1=$27_1+$28_1|0;HEAP8[$2_1+1|0]=HEAPU8[$0_1+($16_1+$23_1>>>18&1023)|0];HEAP8[$2_1+14|0]=HEAPU8[$0_1+($23_1-$16_1>>>18&1023)|0];$9_1=$9_1+($10_1+Math_imul($6_1,-9222)|0)|0;$10_1=Math_imul($5_1+$6_1|0,-11086);$9_1=$9_1+$10_1|0;$14_1=$22_1+Math_imul($14_1,-4926)|0;$22_1=$11_1-$17_1|0;$17_1=$14_1+$22_1|0;HEAP8[$2_1+2|0]=HEAPU8[$0_1+($9_1+$17_1>>>18&1023)|0];HEAP8[$2_1+13|0]=HEAPU8[$0_1+($17_1-$9_1>>>18&1023)|0];$10_1=$10_1+($25_1+($18_1+Math_imul($5_1,8728)|0)|0)|0;$15_1=$7_1+Math_imul($15_1,-4176)|0;$11_1=$11_1-$21_1|0;$7_1=$15_1+$11_1|0;HEAP8[$2_1+3|0]=HEAPU8[$0_1+($10_1+$7_1>>>18&1023)|0];HEAP8[$2_1+12|0]=HEAPU8[$0_1+($7_1-$10_1>>>18&1023)|0];$7_1=Math_imul($12_1-$5_1|0,7350);$10_1=Math_imul($19_1,-10217);$9_1=$7_1+($10_1+Math_imul($5_1,25733)|0)|0;$5_1=Math_imul($5_1-$6_1|0,3363);$9_1=$9_1+$5_1|0;$11_1=$11_1-$15_1|0;HEAP8[$2_1+4|0]=HEAPU8[$0_1+($9_1+$11_1>>>18&1023)|0];HEAP8[$2_1+11|0]=HEAPU8[$0_1+($11_1-$9_1>>>18&1023)|0];$11_1=Math_imul($24_1,5461);$9_1=Math_imul($6_1,-6278);$6_1=Math_imul($6_1-$8_1|0,11529);$5_1=$5_1+($11_1+($9_1+$6_1|0)|0)|0;$14_1=$22_1-$14_1|0;HEAP8[$2_1+5|0]=HEAPU8[$0_1+($5_1+$14_1>>>18&1023)|0];HEAP8[$2_1+10|0]=HEAPU8[$0_1+($14_1-$5_1>>>18&1023)|0];$5_1=Math_imul($8_1,16154);$8_1=Math_imul($12_1-$8_1|0,3363);$6_1=$10_1+($6_1+($5_1+$8_1|0)|0)|0;$5_1=$28_1-$27_1|0;HEAP8[$2_1+6|0]=HEAPU8[$0_1+($6_1+$5_1>>>18&1023)|0];HEAP8[$2_1+9|0]=HEAPU8[$0_1+($5_1-$6_1>>>18&1023)|0];$8_1=$7_1+($11_1+($8_1+Math_imul($12_1,-15038)|0)|0)|0;$12_1=$26_1-$20_1|0;HEAP8[$2_1+7|0]=HEAPU8[$0_1+($8_1+$12_1>>>18&1023)|0];HEAP8[$2_1+8|0]=HEAPU8[$0_1+($12_1-$8_1>>>18&1023)|0];$1_1=$1_1+32|0;$13_1=$13_1+1|0;if(($13_1|0)!=16){continue}break}global$0=$29_1+512|0}function $1319($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;var $8_1=0;$7_1=global$0+-64|0;global$0=$7_1;HEAP32[$7_1+56>>2]=$1_1;HEAP32[$4_1>>2]=0;$30($7_1,$3_1);$8_1=$101($7_1);$19($7_1);label$1:{label$2:{label$3:{label$4:{switch($6_1-65|0){case 0:case 32:$925($0_1,$5_1+24|0,$7_1+56|0,$2_1,$4_1,$8_1);break label$2;case 1:case 33:case 39:$924($0_1,$5_1+16|0,$7_1+56|0,$2_1,$4_1,$8_1);break label$2;case 34:$6_1=$0_1;$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+8>>2]+12>>2]]($0_1+8|0)|0;HEAP32[$7_1+56>>2]=$183($6_1,$1_1,$2_1,$3_1,$4_1,$5_1,$15($0_1),$15($0_1)+($6($0_1)<<2)|0);break label$2;case 35:case 36:$0_1=$172($7_1+56|0,$2_1,$4_1,$8_1,2);$1_1=HEAP32[$4_1>>2];label$28:{if(!($1_1&4|$0_1-1>>>0>30)){HEAP32[$5_1+12>>2]=$0_1;break label$28}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 3:$6_1=HEAP32[13967];HEAP32[$7_1+24>>2]=HEAP32[13966];HEAP32[$7_1+28>>2]=$6_1;$6_1=HEAP32[13965];HEAP32[$7_1+16>>2]=HEAP32[13964];HEAP32[$7_1+20>>2]=$6_1;$6_1=HEAP32[13963];HEAP32[$7_1+8>>2]=HEAP32[13962];HEAP32[$7_1+12>>2]=$6_1;$6_1=HEAP32[13961];HEAP32[$7_1>>2]=HEAP32[13960];HEAP32[$7_1+4>>2]=$6_1;HEAP32[$7_1+56>>2]=$183($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$7_1,$7_1+32|0);break label$2;case 5:$6_1=HEAP32[13975];HEAP32[$7_1+24>>2]=HEAP32[13974];HEAP32[$7_1+28>>2]=$6_1;$6_1=HEAP32[13973];HEAP32[$7_1+16>>2]=HEAP32[13972];HEAP32[$7_1+20>>2]=$6_1;$6_1=HEAP32[13971];HEAP32[$7_1+8>>2]=HEAP32[13970];HEAP32[$7_1+12>>2]=$6_1;$6_1=HEAP32[13969];HEAP32[$7_1>>2]=HEAP32[13968];HEAP32[$7_1+4>>2]=$6_1;HEAP32[$7_1+56>>2]=$183($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$7_1,$7_1+32|0);break label$2;case 7:$0_1=$172($7_1+56|0,$2_1,$4_1,$8_1,2);$1_1=HEAP32[$4_1>>2];label$30:{if(!($1_1&4|($0_1|0)>23)){HEAP32[$5_1+8>>2]=$0_1;break label$30}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 8:$0_1=$172($7_1+56|0,$2_1,$4_1,$8_1,2);$1_1=HEAP32[$4_1>>2];label$32:{if(!($1_1&4|$0_1-1>>>0>11)){HEAP32[$5_1+8>>2]=$0_1;break label$32}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 41:$0_1=$172($7_1+56|0,$2_1,$4_1,$8_1,3);$1_1=HEAP32[$4_1>>2];label$34:{if(!($1_1&4|($0_1|0)>365)){HEAP32[$5_1+28>>2]=$0_1;break label$34}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 44:$0_1=$172($7_1+56|0,$2_1,$4_1,$8_1,2);$1_1=HEAP32[$4_1>>2];label$36:{if(!($1_1&4|($0_1|0)>12)){HEAP32[$5_1+16>>2]=$0_1-1;break label$36}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 12:$0_1=$172($7_1+56|0,$2_1,$4_1,$8_1,2);$1_1=HEAP32[$4_1>>2];label$38:{if(!($1_1&4|($0_1|0)>59)){HEAP32[$5_1+4>>2]=$0_1;break label$38}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 45:case 51:$0_1=$7_1+56|0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+8>>2]=$2_1;while(1){label$41:{if(!$95($0_1,$1_1+8|0)){break label$41}if(!$139($8_1,1,$57($0_1))){break label$41}$74($0_1);continue}break};if($68($0_1,$1_1+8|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}global$0=$1_1+16|0;break label$2;case 47:$1_1=$7_1+56|0;$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+8>>2]+8>>2]]($0_1+8|0)|0;label$43:{if(($6($0_1)|0)==(0-$6($0_1+12|0)|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|4;break label$43}$2_1=$417($1_1,$2_1,$0_1,$0_1+24|0,$8_1,$4_1,0);$1_1=HEAP32[$5_1+8>>2];if(!(($2_1|0)!=($0_1|0)|($1_1|0)!=12)){HEAP32[$5_1+8>>2]=0;break label$43}if(!(($2_1-$0_1|0)!=12|($1_1|0)>11)){HEAP32[$5_1+8>>2]=$1_1+12}}break label$2;case 49:wasm2js_memory_copy($7_1,55904,44);HEAP32[$7_1+56>>2]=$183($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$7_1,$7_1+44|0);break label$2;case 17:HEAP32[$7_1+16>>2]=HEAP32[13992];$6_1=HEAP32[13991];HEAP32[$7_1+8>>2]=HEAP32[13990];HEAP32[$7_1+12>>2]=$6_1;$6_1=HEAP32[13989];HEAP32[$7_1>>2]=HEAP32[13988];HEAP32[$7_1+4>>2]=$6_1;HEAP32[$7_1+56>>2]=$183($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$7_1,$7_1+20|0);break label$2;case 18:$0_1=$172($7_1+56|0,$2_1,$4_1,$8_1,2);$1_1=HEAP32[$4_1>>2];label$47:{if(!($1_1&4|($0_1|0)>60)){HEAP32[$5_1>>2]=$0_1;break label$47}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 19:$6_1=HEAP32[14003];HEAP32[$7_1+24>>2]=HEAP32[14002];HEAP32[$7_1+28>>2]=$6_1;$6_1=HEAP32[14001];HEAP32[$7_1+16>>2]=HEAP32[14e3];HEAP32[$7_1+20>>2]=$6_1;$6_1=HEAP32[13999];HEAP32[$7_1+8>>2]=HEAP32[13998];HEAP32[$7_1+12>>2]=$6_1;$6_1=HEAP32[13997];HEAP32[$7_1>>2]=HEAP32[13996];HEAP32[$7_1+4>>2]=$6_1;HEAP32[$7_1+56>>2]=$183($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$7_1,$7_1+32|0);break label$2;case 54:$0_1=$172($7_1+56|0,$2_1,$4_1,$8_1,1);$1_1=HEAP32[$4_1>>2];label$49:{if(!($1_1&4|($0_1|0)>6)){HEAP32[$5_1+24>>2]=$0_1;break label$49}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 55:$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+20>>2]]($0_1,$1_1,$2_1,$3_1,$4_1,$5_1)|0;break label$1;case 23:$6_1=$0_1;$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+8>>2]+24>>2]]($0_1+8|0)|0;HEAP32[$7_1+56>>2]=$183($6_1,$1_1,$2_1,$3_1,$4_1,$5_1,$15($0_1),$15($0_1)+($6($0_1)<<2)|0);break label$2;case 56:$923($5_1+20|0,$7_1+56|0,$2_1,$4_1,$8_1);break label$2;case 24:$0_1=$172($7_1+56|0,$2_1,$4_1,$8_1,4);if(!(HEAPU8[$4_1|0]&4)){HEAP32[$5_1+20>>2]=$0_1-1900}break label$2;default:if(($6_1|0)==37){break label$3}break;case 2:case 4:case 6:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 37:case 38:case 40:case 42:case 43:case 46:case 48:case 50:case 52:case 53:break label$4}}HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|4;break label$2}$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+8>>2]=$2_1;$1_1=6;$2_1=$7_1+56|0;label$52:{label$53:{if($68($2_1,$0_1+8|0)){break label$53}$1_1=4;if(($288($8_1,$57($2_1))|0)!=37){break label$53}$1_1=2;if(!$68($74($2_1),$0_1+8|0)){break label$52}}HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|$1_1}global$0=$0_1+16|0}$0_1=HEAP32[$7_1+56>>2]}global$0=$7_1- -64|0;return $0_1|0}function $1059($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=Math_fround(0),$7_1=Math_fround(0),$8_1=Math_fround(0),$9_1=Math_fround(0),$10_1=Math_fround(0),$11_1=Math_fround(0),$12_1=Math_fround(0),$13_1=Math_fround(0),$14_1=0,$15_1=Math_fround(0),$16_1=Math_fround(0),$17_1=Math_fround(0),$18_1=Math_fround(0),$19_1=Math_fround(0),$20_1=Math_fround(0),$21_1=0,$22_1=0,$23_1=Math_fround(0),$24_1=0;$21_1=global$0-256|0;global$0=$21_1;$24_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$21_1;$14_1=8;while(1){label$2:{label$3:{$5_1=HEAPU16[$2_1+32>>1];$22_1=HEAPU16[$2_1+16>>1];if($5_1|$22_1){break label$3}$5_1=0;if(HEAPU16[$2_1+48>>1]|HEAPU16[$2_1+64>>1]|(HEAPU16[$2_1+80>>1]|HEAPU16[$2_1+96>>1])){break label$3}if(HEAPU16[$2_1+112>>1]){break label$3}$7_1=Math_fround(HEAPF32[$1_1>>2]*Math_fround(HEAP16[$2_1>>1]));HEAPF32[$0_1+192>>2]=$7_1;HEAPF32[$0_1+160>>2]=$7_1;HEAPF32[$0_1+128>>2]=$7_1;HEAPF32[$0_1+96>>2]=$7_1;HEAPF32[$0_1+64>>2]=$7_1;HEAPF32[$0_1+32>>2]=$7_1;HEAPF32[$0_1>>2]=$7_1;$5_1=56;break label$2}$8_1=Math_fround(HEAPF32[$1_1>>2]*Math_fround(HEAP16[$2_1>>1]));$9_1=Math_fround(HEAPF32[$1_1+128>>2]*Math_fround(HEAP16[$2_1+64>>1]));$15_1=Math_fround($8_1+$9_1);$10_1=Math_fround(HEAPF32[$1_1+64>>2]*Math_fround($5_1<<16>>16));$11_1=Math_fround(HEAPF32[$1_1+192>>2]*Math_fround(HEAP16[$2_1+96>>1]));$7_1=Math_fround($10_1+$11_1);$12_1=Math_fround($15_1+$7_1);$13_1=Math_fround(HEAPF32[$1_1+96>>2]*Math_fround(HEAP16[$2_1+48>>1]));$16_1=Math_fround(HEAPF32[$1_1+160>>2]*Math_fround(HEAP16[$2_1+80>>1]));$17_1=Math_fround($13_1+$16_1);$18_1=Math_fround(HEAPF32[$1_1+32>>2]*Math_fround($22_1<<16>>16));$19_1=Math_fround(HEAPF32[$1_1+224>>2]*Math_fround(HEAP16[$2_1+112>>1]));$20_1=Math_fround($18_1+$19_1);$6_1=Math_fround($17_1+$20_1);HEAPF32[$0_1+224>>2]=$12_1-$6_1;HEAPF32[$0_1>>2]=$12_1+$6_1;$8_1=Math_fround($8_1-$9_1);$9_1=Math_fround(Math_fround(Math_fround($10_1-$11_1)*Math_fround(1.4142135381698608))-$7_1);$10_1=Math_fround($8_1+$9_1);$11_1=Math_fround($16_1-$13_1);$12_1=Math_fround($18_1-$19_1);$13_1=Math_fround(Math_fround($11_1+$12_1)*Math_fround(1.8477590084075928));$6_1=Math_fround(Math_fround($13_1+Math_fround($11_1*Math_fround(-2.613126039505005)))-$6_1);HEAPF32[$0_1+192>>2]=$10_1-$6_1;HEAPF32[$0_1+32>>2]=$10_1+$6_1;$8_1=Math_fround($8_1-$9_1);$6_1=Math_fround(Math_fround(Math_fround($20_1-$17_1)*Math_fround(1.4142135381698608))-$6_1);HEAPF32[$0_1+160>>2]=$8_1-$6_1;HEAPF32[$0_1+64>>2]=$8_1+$6_1;$7_1=Math_fround($15_1-$7_1);$6_1=Math_fround(Math_fround($13_1+Math_fround($12_1*Math_fround(-1.0823922157287598)))-$6_1);HEAPF32[$0_1+96>>2]=$7_1+$6_1;$7_1=Math_fround($7_1-$6_1);$5_1=32}HEAPF32[($5_1<<2)+$0_1>>2]=$7_1;$2_1=$2_1+2|0;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$5_1=$14_1>>>0>1;$14_1=$14_1-1|0;if($5_1){continue}break}$0_1=$24_1-384|0;$2_1=$21_1;$14_1=0;while(1){$1_1=HEAP32[($14_1<<2)+$3_1>>2]+$4_1|0;$8_1=Math_fround(HEAPF32[$2_1>>2]+Math_fround(512.5));$9_1=HEAPF32[$2_1+16>>2];$15_1=Math_fround($8_1+$9_1);$10_1=HEAPF32[$2_1+8>>2];$11_1=HEAPF32[$2_1+24>>2];$7_1=Math_fround($10_1+$11_1);$12_1=Math_fround($15_1+$7_1);$13_1=HEAPF32[$2_1+20>>2];$16_1=HEAPF32[$2_1+12>>2];$17_1=Math_fround($13_1+$16_1);$18_1=HEAPF32[$2_1+4>>2];$19_1=HEAPF32[$2_1+28>>2];$20_1=Math_fround($18_1+$19_1);$6_1=Math_fround($17_1+$20_1);$23_1=Math_fround($12_1+$6_1);label$5:{if(Math_fround(Math_abs($23_1))>>0<2147549184:$15_1)){$13_1=$10_1-2147418112|0;if(!$7_1&($13_1|0)==-2147418112?$5_1|$6_1:($13_1|0)==-2147418112&($7_1|0)!=0|$13_1>>>0>2147549184){break label$2}}if(!(!$3_1&($12_1|0)==2147418112?$15_1:$12_1>>>0<2147418112)){$7_1=$3_1;$8_1=$4_1|32768;$5_1=$1_1;$6_1=$2_1;break label$1}if(!(!$7_1&($10_1|0)==2147418112?!($5_1|$6_1):$10_1>>>0<2147418112)){$8_1=$8_1|32768;break label$1}if(!($1_1|$3_1|($12_1^2147418112|$2_1))){$12_1=$3_1;$3_1=!($1_1^$5_1|$3_1^$7_1|($2_1^$6_1|$4_1^$8_1^-2147483648));$7_1=$3_1?0:$12_1;$8_1=$3_1?2147450880:$4_1;$5_1=$3_1?0:$1_1;$6_1=$3_1?0:$2_1;break label$1}if(!($5_1|$7_1|($10_1^2147418112|$6_1))){break label$1}if(!($1_1|$3_1|($2_1|$12_1))){if($5_1|$7_1|($6_1|$10_1)){break label$1}$5_1=$1_1&$5_1;$6_1=$2_1&$6_1;$7_1=$3_1&$7_1;$8_1=$4_1&$8_1;break label$1}if($5_1|$7_1|($6_1|$10_1)){break label$2}$5_1=$1_1;$6_1=$2_1;$7_1=$3_1;$8_1=$4_1;break label$1}$11_1=($10_1|0)==($12_1|0);$10_1=$11_1&($3_1|0)==($7_1|0)?($2_1|0)==($6_1|0)&$1_1>>>0<$5_1>>>0|$2_1>>>0<$6_1>>>0:$11_1&$3_1>>>0<$7_1>>>0|$10_1>>>0>$12_1>>>0;$14_1=$10_1?$5_1:$1_1;$11_1=$10_1?$6_1:$2_1;$12_1=$10_1?$8_1:$4_1;$17_1=$12_1;$16_1=$10_1?$7_1:$3_1;$13_1=$12_1&65535;$4_1=$10_1?$4_1:$8_1;$18_1=$4_1;$7_1=$10_1?$3_1:$7_1;$12_1=$4_1>>>16&32767;$15_1=$17_1>>>16&32767;if(!$15_1){$3_1=!($13_1|$16_1);$4_1=$3_1<<6;$8_1=Math_clz32($3_1?$14_1:$16_1)+32|0;$3_1=Math_clz32($3_1?$11_1:$13_1);$3_1=$4_1+(($3_1|0)==32?$8_1:$3_1)|0;$92($9_1+96|0,$14_1,$11_1,$16_1,$13_1,$3_1-15|0);$16_1=HEAP32[$9_1+104>>2];$13_1=HEAP32[$9_1+108>>2];$14_1=HEAP32[$9_1+96>>2];$15_1=16-$3_1|0;$11_1=HEAP32[$9_1+100>>2]}$5_1=$10_1?$1_1:$5_1;$6_1=$10_1?$2_1:$6_1;$8_1=$18_1&65535;if(!$12_1){$1_1=!($7_1|$8_1);$2_1=$1_1<<6;$3_1=Math_clz32($1_1?$5_1:$7_1)+32|0;$1_1=Math_clz32($1_1?$6_1:$8_1);$1_1=$2_1+(($1_1|0)==32?$3_1:$1_1)|0;$92($9_1+80|0,$5_1,$6_1,$7_1,$8_1,$1_1-15|0);$12_1=16-$1_1|0;$7_1=HEAP32[$9_1+88>>2];$8_1=HEAP32[$9_1+92>>2];$6_1=HEAP32[$9_1+84>>2];$5_1=HEAP32[$9_1+80>>2]}$1_1=$7_1;$10_1=$8_1<<3|$1_1>>>29;$3_1=$1_1<<3|$6_1>>>29;$4_1=$10_1|524288;$1_1=$16_1;$2_1=$13_1<<3|$1_1>>>29;$7_1=$1_1<<3|$11_1>>>29;$8_1=$2_1;$1_1=$5_1;$2_1=$6_1<<3|$1_1>>>29;$1_1=$1_1<<3;$6_1=$17_1^$18_1;label$10:{if(($12_1|0)==($15_1|0)){break label$10}$5_1=$15_1-$12_1|0;if($5_1>>>0>127){$3_1=0;$4_1=0;$1_1=1;$2_1=0;break label$10}$92($9_1- -64|0,$1_1,$2_1,$3_1,$4_1,128-$5_1|0);$211($9_1+48|0,$1_1,$2_1,$3_1,$4_1,$5_1);$1_1=HEAP32[$9_1+48>>2]|(HEAP32[$9_1+64>>2]|HEAP32[$9_1+72>>2]|(HEAP32[$9_1+68>>2]|HEAP32[$9_1+76>>2]))!=0;$2_1=HEAP32[$9_1+52>>2];$3_1=HEAP32[$9_1+56>>2];$4_1=HEAP32[$9_1+60>>2]}$12_1=$7_1;$16_1=$8_1|524288;$5_1=$14_1;$10_1=$11_1<<3|$5_1>>>29;$13_1=$5_1<<3;label$12:{if(($6_1|0)<0){$5_1=0;$6_1=0;$7_1=0;$8_1=0;if(!($1_1^$13_1|$3_1^$12_1|($2_1^$10_1|$4_1^$16_1))){break label$1}$14_1=$13_1-$1_1|0;$11_1=$10_1-(($1_1>>>0>$13_1>>>0)+$2_1|0)|0;$5_1=$12_1-$3_1|0;$1_1=($2_1|0)==($10_1|0)&$1_1>>>0>$13_1>>>0|$2_1>>>0>$10_1>>>0;$8_1=($16_1-(($3_1>>>0>$12_1>>>0)+$4_1|0)|0)-($5_1>>>0<$1_1>>>0)|0;$7_1=$5_1-$1_1|0;if($8_1>>>0>524287){break label$12}$1_1=!($7_1|$8_1);$2_1=$1_1<<6;$3_1=Math_clz32($1_1?$14_1:$7_1)+32|0;$1_1=Math_clz32($1_1?$11_1:$8_1);$1_1=$2_1+(($1_1|0)==32?$3_1:$1_1)|0;$1_1=$1_1-12|0;$92($9_1+32|0,$14_1,$11_1,$7_1,$8_1,$1_1);$15_1=$15_1-$1_1|0;$7_1=HEAP32[$9_1+40>>2];$8_1=HEAP32[$9_1+44>>2];$14_1=HEAP32[$9_1+32>>2];$11_1=HEAP32[$9_1+36>>2];break label$12}$10_1=$2_1+$10_1|0;$5_1=$1_1+$13_1|0;$10_1=$5_1>>>0<$13_1>>>0?$10_1+1|0:$10_1;$14_1=$5_1;$11_1=$10_1;$5_1=($2_1|0)==($10_1|0)&$1_1>>>0>$5_1>>>0|$2_1>>>0>$10_1>>>0;$2_1=$4_1+$16_1|0;$1_1=$3_1+$12_1|0;$2_1=$1_1>>>0<$12_1>>>0?$2_1+1|0:$2_1;$3_1=$1_1;$1_1=$5_1+$1_1|0;$7_1=$1_1;$8_1=$1_1>>>0<$3_1>>>0?$2_1+1|0:$2_1;if(!($8_1&1048576)){break label$12}$14_1=$14_1&1|(($11_1&1)<<31|$14_1>>>1);$2_1=$7_1;$11_1=$2_1<<31|$11_1>>>1;$15_1=$15_1+1|0;$7_1=($8_1&1)<<31|$2_1>>>1;$8_1=$8_1>>>1|0}$3_1=0;$4_1=$17_1&-2147483648;if(($15_1|0)>=32767){$7_1=$3_1;$8_1=$4_1|2147418112;$5_1=0;$6_1=0;break label$1}$12_1=0;label$15:{if(($15_1|0)>0){$12_1=$15_1;break label$15}$92($9_1+16|0,$14_1,$11_1,$7_1,$8_1,$15_1+127|0);$211($9_1,$14_1,$11_1,$7_1,$8_1,1-$15_1|0);$14_1=HEAP32[$9_1>>2]|(HEAP32[$9_1+16>>2]|HEAP32[$9_1+24>>2]|(HEAP32[$9_1+20>>2]|HEAP32[$9_1+28>>2]))!=0;$11_1=HEAP32[$9_1+4>>2];$7_1=HEAP32[$9_1+8>>2];$8_1=HEAP32[$9_1+12>>2]}$2_1=$7_1<<29;$1_1=$11_1>>>3|0;$13_1=($11_1&7)<<29|$14_1>>>3;$11_1=$14_1&7;$6_1=$11_1>>>0>4;$5_1=$13_1+$6_1|0;$1_1=$1_1|$2_1;$10_1=$5_1>>>0<$6_1>>>0?$1_1+1|0:$1_1;$2_1=$5_1;$6_1=$10_1;$1_1=($1_1|0)==($10_1|0)&$2_1>>>0<$13_1>>>0|$1_1>>>0>$10_1>>>0;$2_1=$3_1|(($8_1&7)<<29|$7_1>>>3);$1_1=$1_1+$2_1|0;$8_1=$4_1|($8_1>>>3&65535|$12_1<<16);$8_1=$1_1>>>0<$2_1>>>0?$8_1+1|0:$8_1;$7_1=$1_1;label$17:{if(($11_1|0)==4){$2_1=$6_1+0|0;$4_1=$5_1&1;$1_1=$5_1+$4_1|0;$2_1=$1_1>>>0<$5_1>>>0?$2_1+1|0:$2_1;$5_1=$1_1;$6_1=$2_1;$2_1=($3_1|0)==($2_1|0)&$1_1>>>0<$4_1>>>0|$2_1>>>0<$3_1>>>0;$1_1=$2_1+$7_1|0;$8_1=$1_1>>>0<$2_1>>>0?$8_1+1|0:$8_1;$7_1=$1_1;break label$17}if(!$11_1){break label$1}}}HEAP32[$0_1>>2]=$5_1;HEAP32[$0_1+4>>2]=$6_1;HEAP32[$0_1+8>>2]=$7_1;HEAP32[$0_1+12>>2]=$8_1;global$0=$9_1+112|0}function $1325($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;var $8_1=0,$9_1=0;$7_1=global$0-32|0;global$0=$7_1;HEAP32[$7_1+24>>2]=$1_1;HEAP32[$4_1>>2]=0;$9_1=$7_1+8|0;$30($9_1,$3_1);$8_1=$106($9_1);$19($9_1);label$1:{label$2:{label$3:{label$4:{switch($6_1-65|0){case 0:case 32:$929($0_1,$5_1+24|0,$7_1+24|0,$2_1,$4_1,$8_1);break label$2;case 1:case 33:case 39:$928($0_1,$5_1+16|0,$7_1+24|0,$2_1,$4_1,$8_1);break label$2;case 34:$6_1=$0_1;$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+8>>2]+12>>2]]($0_1+8|0)|0;HEAP32[$7_1+24>>2]=$184($6_1,$1_1,$2_1,$3_1,$4_1,$5_1,$15($0_1),$15($0_1)+$6($0_1)|0);break label$2;case 35:case 36:$0_1=$173($7_1+24|0,$2_1,$4_1,$8_1,2);$1_1=HEAP32[$4_1>>2];label$28:{if(!($1_1&4|$0_1-1>>>0>30)){HEAP32[$5_1+12>>2]=$0_1;break label$28}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 3:HEAP32[$7_1+8>>2]=623865125;HEAP32[$7_1+12>>2]=2032480100;HEAP32[$7_1+24>>2]=$184($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$7_1+8|0,$7_1+16|0);break label$2;case 5:HEAP32[$7_1+8>>2]=623728933;HEAP32[$7_1+12>>2]=1680158061;HEAP32[$7_1+24>>2]=$184($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$7_1+8|0,$7_1+16|0);break label$2;case 7:$0_1=$173($7_1+24|0,$2_1,$4_1,$8_1,2);$1_1=HEAP32[$4_1>>2];label$30:{if(!($1_1&4|($0_1|0)>23)){HEAP32[$5_1+8>>2]=$0_1;break label$30}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 8:$0_1=$173($7_1+24|0,$2_1,$4_1,$8_1,2);$1_1=HEAP32[$4_1>>2];label$32:{if(!($1_1&4|$0_1-1>>>0>11)){HEAP32[$5_1+8>>2]=$0_1;break label$32}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 41:$0_1=$173($7_1+24|0,$2_1,$4_1,$8_1,3);$1_1=HEAP32[$4_1>>2];label$34:{if(!($1_1&4|($0_1|0)>365)){HEAP32[$5_1+28>>2]=$0_1;break label$34}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 44:$0_1=$173($7_1+24|0,$2_1,$4_1,$8_1,2);$1_1=HEAP32[$4_1>>2];label$36:{if(!($1_1&4|($0_1|0)>12)){HEAP32[$5_1+16>>2]=$0_1-1;break label$36}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 12:$0_1=$173($7_1+24|0,$2_1,$4_1,$8_1,2);$1_1=HEAP32[$4_1>>2];label$38:{if(!($1_1&4|($0_1|0)>59)){HEAP32[$5_1+4>>2]=$0_1;break label$38}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 45:case 51:$0_1=$7_1+24|0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+8>>2]=$2_1;while(1){label$41:{if(!$96($0_1,$1_1+8|0)){break label$41}if(!$140($8_1,1,$58($0_1))){break label$41}$75($0_1);continue}break};if($69($0_1,$1_1+8|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}global$0=$1_1+16|0;break label$2;case 47:$1_1=$7_1+24|0;$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+8>>2]+8>>2]]($0_1+8|0)|0;label$43:{if(($6($0_1)|0)==(0-$6($0_1+12|0)|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|4;break label$43}$2_1=$419($1_1,$2_1,$0_1,$0_1+24|0,$8_1,$4_1,0);$1_1=HEAP32[$5_1+8>>2];if(!(($2_1|0)!=($0_1|0)|($1_1|0)!=12)){HEAP32[$5_1+8>>2]=0;break label$43}if(!(($2_1-$0_1|0)!=12|($1_1|0)>11)){HEAP32[$5_1+8>>2]=$1_1+12}}break label$2;case 49:$6_1=HEAPU8[55816]|HEAPU8[55817]<<8|(HEAPU8[55818]<<16|HEAPU8[55819]<<24);HEAP8[$7_1+15|0]=$6_1;HEAP8[$7_1+16|0]=$6_1>>>8;HEAP8[$7_1+17|0]=$6_1>>>16;HEAP8[$7_1+18|0]=$6_1>>>24;$6_1=HEAPU8[55813]|HEAPU8[55814]<<8|(HEAPU8[55815]<<16|HEAPU8[55816]<<24);HEAP32[$7_1+8>>2]=HEAPU8[55809]|HEAPU8[55810]<<8|(HEAPU8[55811]<<16|HEAPU8[55812]<<24);HEAP32[$7_1+12>>2]=$6_1;HEAP32[$7_1+24>>2]=$184($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$7_1+8|0,$7_1+19|0);break label$2;case 17:HEAP8[$7_1+12|0]=HEAPU8[55824];HEAP32[$7_1+8>>2]=HEAPU8[55820]|HEAPU8[55821]<<8|(HEAPU8[55822]<<16|HEAPU8[55823]<<24);HEAP32[$7_1+24>>2]=$184($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$7_1+8|0,$7_1+13|0);break label$2;case 18:$0_1=$173($7_1+24|0,$2_1,$4_1,$8_1,2);$1_1=HEAP32[$4_1>>2];label$47:{if(!($1_1&4|($0_1|0)>60)){HEAP32[$5_1>>2]=$0_1;break label$47}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 19:HEAP32[$7_1+8>>2]=624576549;HEAP32[$7_1+12>>2]=1394948685;HEAP32[$7_1+24>>2]=$184($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$7_1+8|0,$7_1+16|0);break label$2;case 54:$0_1=$173($7_1+24|0,$2_1,$4_1,$8_1,1);$1_1=HEAP32[$4_1>>2];label$49:{if(!($1_1&4|($0_1|0)>6)){HEAP32[$5_1+24>>2]=$0_1;break label$49}HEAP32[$4_1>>2]=$1_1|4}break label$2;case 55:$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+20>>2]]($0_1,$1_1,$2_1,$3_1,$4_1,$5_1)|0;break label$1;case 23:$6_1=$0_1;$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+8>>2]+24>>2]]($0_1+8|0)|0;HEAP32[$7_1+24>>2]=$184($6_1,$1_1,$2_1,$3_1,$4_1,$5_1,$15($0_1),$15($0_1)+$6($0_1)|0);break label$2;case 56:$926($5_1+20|0,$7_1+24|0,$2_1,$4_1,$8_1);break label$2;case 24:$0_1=$173($7_1+24|0,$2_1,$4_1,$8_1,4);if(!(HEAPU8[$4_1|0]&4)){HEAP32[$5_1+20>>2]=$0_1-1900}break label$2;default:if(($6_1|0)==37){break label$3}break;case 2:case 4:case 6:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 37:case 38:case 40:case 42:case 43:case 46:case 48:case 50:case 52:case 53:break label$4}}HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|4;break label$2}$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+8>>2]=$2_1;$1_1=6;$2_1=$7_1+24|0;label$52:{label$53:{if($69($2_1,$0_1+8|0)){break label$53}$1_1=4;if(($289($8_1,$58($2_1))|0)!=37){break label$53}$1_1=2;if(!$69($75($2_1),$0_1+8|0)){break label$52}}HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|$1_1}global$0=$0_1+16|0}$0_1=HEAP32[$7_1+24>>2]}global$0=$7_1+32|0;return $0_1|0}function $1($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;label$1:{if(!$0_1){break label$1}if(HEAPU8[69788]&2){if($70(69792)){break label$1}}$3_1=$0_1-8|0;$1_1=HEAP32[$0_1-4>>2];$0_1=$1_1&-8;$5_1=$3_1+$0_1|0;label$3:{label$4:{if($1_1&1){break label$4}if(!($1_1&3)){break label$3}$1_1=HEAP32[$3_1>>2];$3_1=$3_1-$1_1|0;if($3_1>>>0>>0<=255){$4_1=$1_1>>>3|0;$1_1=HEAP32[$3_1+8>>2];$2_1=HEAP32[$3_1+12>>2];if(($2_1|0)==($1_1|0)){HEAP32[17336]=HEAP32[17336]&__wasm_rotl_i32($4_1);break label$4}HEAP32[$1_1+12>>2]=$2_1;HEAP32[$2_1+8>>2]=$1_1;break label$4}$7_1=HEAP32[$3_1+24>>2];$1_1=HEAP32[$3_1+12>>2];label$8:{if(($3_1|0)!=($1_1|0)){$2_1=HEAP32[$3_1+8>>2];HEAP32[$2_1+12>>2]=$1_1;HEAP32[$1_1+8>>2]=$2_1;break label$8}label$10:{$2_1=$3_1+20|0;$4_1=HEAP32[$2_1>>2];if($4_1){break label$10}$2_1=$3_1+16|0;$4_1=HEAP32[$2_1>>2];if($4_1){break label$10}$1_1=0;break label$8}while(1){$6_1=$2_1;$1_1=$4_1;$2_1=$1_1+20|0;$4_1=HEAP32[$2_1>>2];if($4_1){continue}$2_1=$1_1+16|0;$4_1=HEAP32[$1_1+16>>2];if($4_1){continue}break}HEAP32[$6_1>>2]=0}if(!$7_1){break label$4}$2_1=HEAP32[$3_1+28>>2];$4_1=($2_1<<2)+69648|0;label$12:{if(HEAP32[$4_1>>2]==($3_1|0)){HEAP32[$4_1>>2]=$1_1;if($1_1){break label$12}HEAP32[17337]=HEAP32[17337]&__wasm_rotl_i32($2_1);break label$4}HEAP32[$7_1+(HEAP32[$7_1+16>>2]==($3_1|0)?16:20)>>2]=$1_1;if(!$1_1){break label$4}}HEAP32[$1_1+24>>2]=$7_1;$2_1=HEAP32[$3_1+16>>2];if($2_1){HEAP32[$1_1+16>>2]=$2_1;HEAP32[$2_1+24>>2]=$1_1}$2_1=HEAP32[$3_1+20>>2];if(!$2_1){break label$4}HEAP32[$1_1+20>>2]=$2_1;HEAP32[$2_1+24>>2]=$1_1;break label$4}$1_1=HEAP32[$5_1+4>>2];if(($1_1&3)!=3){break label$4}HEAP32[17338]=$0_1;HEAP32[$5_1+4>>2]=$1_1&-2;HEAP32[$3_1+4>>2]=$0_1|1;HEAP32[$0_1+$3_1>>2]=$0_1;break label$3}if($3_1>>>0>=$5_1>>>0){break label$3}$1_1=HEAP32[$5_1+4>>2];if(!($1_1&1)){break label$3}label$15:{if(!($1_1&2)){if(HEAP32[17342]==($5_1|0)){HEAP32[17342]=$3_1;$0_1=HEAP32[17339]+$0_1|0;HEAP32[17339]=$0_1;HEAP32[$3_1+4>>2]=$0_1|1;if(HEAP32[17341]!=($3_1|0)){break label$3}HEAP32[17338]=0;HEAP32[17341]=0;break label$3}if(HEAP32[17341]==($5_1|0)){HEAP32[17341]=$3_1;$0_1=HEAP32[17338]+$0_1|0;HEAP32[17338]=$0_1;HEAP32[$3_1+4>>2]=$0_1|1;HEAP32[$0_1+$3_1>>2]=$0_1;break label$3}$0_1=($1_1&-8)+$0_1|0;label$19:{if($1_1>>>0<=255){$4_1=$1_1>>>3|0;$1_1=HEAP32[$5_1+8>>2];$2_1=HEAP32[$5_1+12>>2];if(($2_1|0)==($1_1|0)){HEAP32[17336]=HEAP32[17336]&__wasm_rotl_i32($4_1);break label$19}HEAP32[$1_1+12>>2]=$2_1;HEAP32[$2_1+8>>2]=$1_1;break label$19}$7_1=HEAP32[$5_1+24>>2];$1_1=HEAP32[$5_1+12>>2];label$22:{if(($5_1|0)!=($1_1|0)){$2_1=HEAP32[$5_1+8>>2];HEAP32[$2_1+12>>2]=$1_1;HEAP32[$1_1+8>>2]=$2_1;break label$22}label$24:{$4_1=$5_1+20|0;$2_1=HEAP32[$4_1>>2];if($2_1){break label$24}$4_1=$5_1+16|0;$2_1=HEAP32[$4_1>>2];if($2_1){break label$24}$1_1=0;break label$22}while(1){$6_1=$4_1;$1_1=$2_1;$4_1=$1_1+20|0;$2_1=HEAP32[$4_1>>2];if($2_1){continue}$4_1=$1_1+16|0;$2_1=HEAP32[$1_1+16>>2];if($2_1){continue}break}HEAP32[$6_1>>2]=0}if(!$7_1){break label$19}$2_1=HEAP32[$5_1+28>>2];$4_1=($2_1<<2)+69648|0;label$26:{if(HEAP32[$4_1>>2]==($5_1|0)){HEAP32[$4_1>>2]=$1_1;if($1_1){break label$26}HEAP32[17337]=HEAP32[17337]&__wasm_rotl_i32($2_1);break label$19}HEAP32[$7_1+(HEAP32[$7_1+16>>2]==($5_1|0)?16:20)>>2]=$1_1;if(!$1_1){break label$19}}HEAP32[$1_1+24>>2]=$7_1;$2_1=HEAP32[$5_1+16>>2];if($2_1){HEAP32[$1_1+16>>2]=$2_1;HEAP32[$2_1+24>>2]=$1_1}$2_1=HEAP32[$5_1+20>>2];if(!$2_1){break label$19}HEAP32[$1_1+20>>2]=$2_1;HEAP32[$2_1+24>>2]=$1_1}HEAP32[$3_1+4>>2]=$0_1|1;HEAP32[$0_1+$3_1>>2]=$0_1;if(HEAP32[17341]!=($3_1|0)){break label$15}HEAP32[17338]=$0_1;break label$3}HEAP32[$5_1+4>>2]=$1_1&-2;HEAP32[$3_1+4>>2]=$0_1|1;HEAP32[$0_1+$3_1>>2]=$0_1}if($0_1>>>0<=255){$1_1=($0_1&-8)+69384|0;$2_1=HEAP32[17336];$0_1=1<<($0_1>>>3);label$30:{if(!($2_1&$0_1)){HEAP32[17336]=$0_1|$2_1;$0_1=$1_1;break label$30}$0_1=HEAP32[$1_1+8>>2]}HEAP32[$1_1+8>>2]=$3_1;HEAP32[$0_1+12>>2]=$3_1;HEAP32[$3_1+12>>2]=$1_1;HEAP32[$3_1+8>>2]=$0_1;break label$3}$2_1=31;if($0_1>>>0<=16777215){$2_1=$0_1>>>8|0;$1_1=$2_1+1048320>>>16&8;$4_1=$2_1<<$1_1;$2_1=$4_1+520192>>>16&4;$6_1=$4_1<<$2_1;$4_1=$6_1+245760>>>16&2;$1_1=($6_1<<$4_1>>>15|0)-($4_1|($1_1|$2_1))|0;$2_1=($1_1<<1|$0_1>>>$1_1+21&1)+28|0}HEAP32[$3_1+28>>2]=$2_1;HEAP32[$3_1+16>>2]=0;HEAP32[$3_1+20>>2]=0;$1_1=($2_1<<2)+69648|0;label$33:{label$34:{$4_1=HEAP32[17337];$6_1=1<<$2_1;label$35:{if(!($4_1&$6_1)){HEAP32[17337]=$4_1|$6_1;HEAP32[$1_1>>2]=$3_1;HEAP32[$3_1+24>>2]=$1_1;break label$35}$2_1=$0_1<<(($2_1|0)==31?0:25-($2_1>>>1|0)|0);$1_1=HEAP32[$1_1>>2];while(1){$4_1=$1_1;if((HEAP32[$1_1+4>>2]&-8)==($0_1|0)){break label$34}$1_1=$2_1>>>29|0;$2_1=$2_1<<1;$6_1=$4_1+($1_1&4)|0;$1_1=HEAP32[$6_1+16>>2];if($1_1){continue}break}HEAP32[$6_1+16>>2]=$3_1;HEAP32[$3_1+24>>2]=$4_1}HEAP32[$3_1+12>>2]=$3_1;HEAP32[$3_1+8>>2]=$3_1;break label$33}$0_1=HEAP32[$4_1+8>>2];HEAP32[$0_1+12>>2]=$3_1;HEAP32[$4_1+8>>2]=$3_1;HEAP32[$3_1+24>>2]=0;HEAP32[$3_1+12>>2]=$4_1;HEAP32[$3_1+8>>2]=$0_1}$0_1=HEAP32[17344]-1|0;HEAP32[17344]=$0_1?$0_1:-1}if(!(HEAPU8[69788]&2)){break label$1}$77(69792)}}function $1041($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0;$24_1=global$0-256|0;global$0=$24_1;$17_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$24_1;$13_1=8;while(1){label$2:{label$3:{$5_1=HEAPU16[$2_1+32>>1];$6_1=HEAP16[$2_1+16>>1];if(($5_1|$6_1)&65535){break label$3}$5_1=0;if(HEAPU16[$2_1+48>>1]|HEAPU16[$2_1+64>>1]|(HEAPU16[$2_1+80>>1]|HEAPU16[$2_1+96>>1])){break label$3}if(HEAPU16[$2_1+112>>1]){break label$3}$5_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<2;HEAP32[$0_1+192>>2]=$5_1;HEAP32[$0_1+160>>2]=$5_1;HEAP32[$0_1+128>>2]=$5_1;HEAP32[$0_1+96>>2]=$5_1;HEAP32[$0_1+64>>2]=$5_1;HEAP32[$0_1+32>>2]=$5_1;HEAP32[$0_1>>2]=$5_1;$6_1=56;break label$2}$14_1=Math_imul(HEAP32[$1_1+192>>2],HEAP16[$2_1+96>>1]);$9_1=Math_imul(HEAP32[$1_1+64>>2],$5_1<<16>>16);$5_1=Math_imul($14_1+$9_1|0,4433);$6_1=Math_imul($6_1,HEAP32[$1_1+32>>2]);$8_1=Math_imul(HEAP32[$1_1+224>>2],HEAP16[$2_1+112>>1]);$19_1=Math_imul($6_1+$8_1|0,-7373);$10_1=Math_imul(HEAP32[$1_1+160>>2],HEAP16[$2_1+80>>1]);$15_1=$10_1+$6_1|0;$11_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$7_1=$11_1+$8_1|0;$12_1=Math_imul($15_1+$7_1|0,9633);$9_1=$5_1+Math_imul($9_1,6270)|0;$22_1=Math_imul(HEAP16[$2_1+64>>1],HEAP32[$1_1+128>>2])<<13;$18_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$16_1=$22_1+$18_1|0;$23_1=$9_1+$16_1|0;$20_1=$19_1+Math_imul($6_1,12299)|0;$6_1=$12_1+Math_imul($15_1,-3196)|0;$15_1=$20_1+$6_1|0;HEAP32[$0_1+224>>2]=$23_1-$15_1>>11;HEAP32[$0_1>>2]=$15_1+$23_1>>11;$5_1=$5_1+Math_imul($14_1,-15137)|0;$14_1=$18_1-$22_1|0;$15_1=$5_1+$14_1|0;$12_1=$12_1+Math_imul($7_1,-16069)|0;$7_1=Math_imul($11_1,25172);$11_1=Math_imul($10_1+$11_1|0,-20995);$7_1=$12_1+($7_1+$11_1|0)|0;HEAP32[$0_1+192>>2]=$15_1-$7_1>>11;HEAP32[$0_1+32>>2]=$7_1+$15_1>>11;$5_1=$14_1-$5_1|0;$6_1=$6_1+($11_1+Math_imul($10_1,16819)|0)|0;HEAP32[$0_1+160>>2]=$5_1-$6_1>>11;HEAP32[$0_1+64>>2]=$5_1+$6_1>>11;$5_1=$12_1+($19_1+Math_imul($8_1,2446)|0)|0;$6_1=$16_1-$9_1|0;HEAP32[$0_1+96>>2]=$5_1+$6_1>>11;$5_1=$6_1-$5_1>>11;$6_1=32}HEAP32[($6_1<<2)+$0_1>>2]=$5_1;$2_1=$2_1+2|0;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$5_1=$13_1>>>0>1;$13_1=$13_1-1|0;if($5_1){continue}break}$0_1=$17_1-384|0;$1_1=$24_1;$19_1=0;while(1){$5_1=HEAP32[$1_1+12>>2];$13_1=HEAP32[$1_1+4>>2];$11_1=Math_imul($5_1+$13_1|0,11086);$12_1=HEAP32[$1_1+8>>2];$17_1=HEAP32[$1_1+24>>2];$9_1=$12_1-$17_1|0;$14_1=Math_imul($9_1,11363);$2_1=HEAP32[($19_1<<2)+$3_1>>2]+$4_1|0;$8_1=HEAP32[$1_1+28>>2];$22_1=Math_imul($8_1+$13_1|0,8956);$6_1=HEAP32[$1_1+20>>2];$15_1=$6_1+$13_1|0;$7_1=Math_imul($15_1,10217);$18_1=$22_1+($7_1+($11_1+Math_imul($13_1,-18730)|0)|0)|0;$16_1=HEAP32[$1_1+16>>2];$23_1=Math_imul($16_1,10703);$10_1=(HEAP32[$1_1>>2]<<13)+134348800|0;$26_1=$23_1+$10_1|0;$27_1=$14_1+Math_imul($17_1,20995)|0;$20_1=$26_1+$27_1|0;HEAP8[$2_1|0]=HEAPU8[$0_1+($18_1+$20_1>>>18&1023)|0];HEAP8[$2_1+15|0]=HEAPU8[$0_1+($20_1-$18_1>>>18&1023)|0];$9_1=Math_imul($9_1,2260);$18_1=$9_1+Math_imul($12_1,7373)|0;$16_1=Math_imul($16_1,4433);$20_1=$16_1+$10_1|0;$21_1=$18_1+$20_1|0;$28_1=Math_imul($5_1+$6_1|0,1136);$25_1=$28_1+($11_1+Math_imul($5_1,589)|0)|0;$11_1=$5_1+$8_1|0;$29_1=Math_imul($11_1,-5461);$25_1=$25_1+$29_1|0;HEAP8[$2_1+1|0]=HEAPU8[$0_1+($21_1+$25_1>>>18&1023)|0];HEAP8[$2_1+14|0]=HEAPU8[$0_1+($21_1-$25_1>>>18&1023)|0];$21_1=$7_1+(Math_imul($6_1,-9222)+$28_1|0)|0;$7_1=Math_imul($6_1+$8_1|0,-11086);$21_1=$21_1+$7_1|0;$12_1=$14_1+Math_imul($12_1,-4926)|0;$14_1=$10_1-$16_1|0;$16_1=$12_1+$14_1|0;HEAP8[$2_1+2|0]=HEAPU8[$0_1+($21_1+$16_1>>>18&1023)|0];HEAP8[$2_1+13|0]=HEAPU8[$0_1+($16_1-$21_1>>>18&1023)|0];$7_1=$7_1+($22_1+($29_1+Math_imul($8_1,8728)|0)|0)|0;$17_1=$9_1+Math_imul($17_1,-4176)|0;$10_1=$10_1-$23_1|0;$9_1=$17_1+$10_1|0;HEAP8[$2_1+3|0]=HEAPU8[$0_1+($7_1+$9_1>>>18&1023)|0];HEAP8[$2_1+12|0]=HEAPU8[$0_1+($9_1-$7_1>>>18&1023)|0];$9_1=Math_imul($13_1-$8_1|0,7350);$11_1=Math_imul($11_1,-10217);$7_1=$9_1+($11_1+Math_imul($8_1,25733)|0)|0;$8_1=Math_imul($8_1-$6_1|0,3363);$7_1=$7_1+$8_1|0;$10_1=$10_1-$17_1|0;HEAP8[$2_1+4|0]=HEAPU8[$0_1+($7_1+$10_1>>>18&1023)|0];HEAP8[$2_1+11|0]=HEAPU8[$0_1+($10_1-$7_1>>>18&1023)|0];$10_1=Math_imul($15_1,5461);$7_1=Math_imul($6_1,-6278);$6_1=Math_imul($6_1-$5_1|0,11529);$8_1=$8_1+($10_1+($7_1+$6_1|0)|0)|0;$12_1=$14_1-$12_1|0;HEAP8[$2_1+5|0]=HEAPU8[$0_1+($8_1+$12_1>>>18&1023)|0];HEAP8[$2_1+10|0]=HEAPU8[$0_1+($12_1-$8_1>>>18&1023)|0];$8_1=Math_imul($5_1,16154);$5_1=Math_imul($13_1-$5_1|0,3363);$6_1=$11_1+($6_1+($8_1+$5_1|0)|0)|0;$8_1=$20_1-$18_1|0;HEAP8[$2_1+6|0]=HEAPU8[$0_1+($6_1+$8_1>>>18&1023)|0];HEAP8[$2_1+9|0]=HEAPU8[$0_1+($8_1-$6_1>>>18&1023)|0];$5_1=$9_1+($10_1+($5_1+Math_imul($13_1,-15038)|0)|0)|0;$13_1=$26_1-$27_1|0;HEAP8[$2_1+7|0]=HEAPU8[$0_1+($5_1+$13_1>>>18&1023)|0];HEAP8[$2_1+8|0]=HEAPU8[$0_1+($13_1-$5_1>>>18&1023)|0];$1_1=$1_1+32|0;$19_1=$19_1+1|0;if(($19_1|0)!=8){continue}break}global$0=$24_1+256|0}function $1087($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=0,$32_1=0,$33_1=0,$34_1=0,$35_1=0,$36_1=0,$37_1=0,$38_1=0,$39_1=0,$40_1=0,$41_1=0,$42_1=0,$43_1=0,$44_1=0,$45_1=0,$46_1=0;$8_1=global$0-128|0;global$0=$8_1;$43_1=HEAP32[$0_1+332>>2]-1|0;$23_1=HEAP32[$0_1+452>>2];label$1:{label$2:{while(1){$9_1=HEAP32[$0_1+144>>2];$11_1=HEAP32[$0_1+152>>2];if(($9_1|0)>($11_1|0)){break label$2}$3_1=HEAP32[$0_1+460>>2];if(HEAP32[$3_1+20>>2]|($11_1|0)==($9_1|0)&HEAPU32[$0_1+148>>2]>HEAP32[$0_1+156>>2]+!HEAP32[$0_1+412>>2]>>>0){break label$2}if(FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1)|0){continue}break}$0_1=0;break label$1}if(HEAP32[$0_1+36>>2]>0){$12_1=HEAP32[$0_1+216>>2];while(1){label$7:{if(!HEAP32[$12_1+52>>2]){break label$7}$17_1=HEAP32[$0_1+156>>2];$27_1=$43_1>>>0<=$17_1>>>0;label$8:{if(!$27_1){$3_1=HEAP32[$12_1+12>>2];$10_1=$3_1<<1;$9_1=$3_1;break label$8}$3_1=HEAP32[$12_1+12>>2];$11_1=HEAPU32[$12_1+32>>2]%($3_1>>>0)|0;$10_1=$11_1?$11_1:$3_1;$9_1=$10_1}$24_1=$9_1;label$10:{if($17_1){$28_1=(FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+32>>2]]($0_1,HEAP32[(($13_1<<2)+$23_1|0)+72>>2],Math_imul($17_1-1|0,$3_1),$3_1+$10_1|0,0)|0)+(HEAP32[$12_1+12>>2]<<2)|0;break label$10}$28_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+32>>2]]($0_1,HEAP32[(($13_1<<2)+$23_1|0)+72>>2],0,$10_1,0)|0}if(($24_1|0)<=0){break label$7}$11_1=$13_1<<2;$44_1=HEAP32[($11_1+HEAP32[$0_1+472>>2]|0)+4>>2];$45_1=$24_1-1|0;$15_1=HEAP32[$23_1+112>>2]+Math_imul($13_1,24)|0;$5_1=HEAP32[$12_1+80>>2];$3_1=HEAPU16[$5_1+4>>1];$29_1=$3_1<<8;$30_1=$3_1<<7;$3_1=HEAPU16[$5_1+18>>1];$31_1=$3_1<<8;$32_1=$3_1<<7;$9_1=HEAPU16[$5_1>>1];$46_1=Math_imul($9_1,5);$3_1=HEAPU16[$5_1+32>>1];$33_1=$3_1<<8;$34_1=$3_1<<7;$35_1=Math_imul($9_1,9);$3_1=HEAPU16[$5_1+16>>1];$36_1=$3_1<<8;$37_1=$3_1<<7;$3_1=HEAPU16[$5_1+2>>1];$38_1=$3_1<<8;$39_1=$3_1<<7;$40_1=Math_imul($9_1,36);$25_1=HEAP32[$1_1+$11_1>>2];$14_1=0;while(1){$3_1=($14_1<<2)+$28_1|0;$10_1=HEAP32[$3_1>>2];$18_1=$14_1|$17_1?HEAP32[$3_1-4>>2]:$10_1;$41_1=HEAP32[$12_1+28>>2]-1|0;$19_1=0;$20_1=($14_1|0)==($45_1|0)&$27_1?$10_1:HEAP32[$3_1+4>>2];$21_1=HEAP16[$20_1>>1];$3_1=$21_1;$16_1=HEAP16[$10_1>>1];$9_1=$16_1;$22_1=HEAP16[$18_1>>1];$11_1=$22_1;$26_1=0;while(1){$6_1=$11_1;$11_1=$22_1;$42_1=$9_1;$9_1=$16_1;$5_1=$3_1;$3_1=$21_1;$62($8_1,$10_1,128);if($19_1>>>0<$41_1>>>0){$21_1=HEAP16[$20_1+128>>1];$16_1=HEAP16[$10_1+128>>1];$22_1=HEAP16[$18_1+128>>1]}$7_1=HEAP32[$15_1+4>>2];if(!(HEAPU16[$8_1+2>>1]|!$7_1)){$2_1=Math_imul($42_1-$16_1|0,$40_1);label$18:{if(($2_1|0)>=0){$4_1=($2_1+$39_1|0)/($38_1|0)|0;if(($7_1|0)<=0){break label$18}$2_1=1<<$7_1;$4_1=($2_1|0)>($4_1|0)?$4_1:$2_1-1|0;break label$18}$4_1=($39_1-$2_1|0)/($38_1|0)|0;$2_1=1<<$7_1;$4_1=0-(($7_1|0)>0?($2_1|0)>($4_1|0)?$4_1:$2_1-1|0:$4_1)|0}HEAP16[$8_1+2>>1]=$4_1}$7_1=HEAP32[$15_1+8>>2];if(!(HEAPU16[$8_1+16>>1]|!$7_1)){$2_1=Math_imul($11_1-$3_1|0,$40_1);label$21:{if(($2_1|0)>=0){$4_1=($2_1+$37_1|0)/($36_1|0)|0;if(($7_1|0)<=0){break label$21}$2_1=1<<$7_1;$4_1=($2_1|0)>($4_1|0)?$4_1:$2_1-1|0;break label$21}$4_1=($37_1-$2_1|0)/($36_1|0)|0;$2_1=1<<$7_1;$4_1=0-(($7_1|0)>0?($2_1|0)>($4_1|0)?$4_1:$2_1-1|0:$4_1)|0}HEAP16[$8_1+16>>1]=$4_1}$7_1=HEAP32[$15_1+12>>2];if(!(HEAPU16[$8_1+32>>1]|!$7_1)){$2_1=Math_imul(($11_1-($9_1<<1)|0)+$3_1|0,$35_1);label$24:{if(($2_1|0)>=0){$4_1=($2_1+$34_1|0)/($33_1|0)|0;if(($7_1|0)<=0){break label$24}$2_1=1<<$7_1;$4_1=($2_1|0)>($4_1|0)?$4_1:$2_1-1|0;break label$24}$4_1=($34_1-$2_1|0)/($33_1|0)|0;$2_1=1<<$7_1;$4_1=0-(($7_1|0)>0?($2_1|0)>($4_1|0)?$4_1:$2_1-1|0:$4_1)|0}HEAP16[$8_1+32>>1]=$4_1}$2_1=HEAP32[$15_1+16>>2];if(!(HEAPU16[$8_1+18>>1]|!$2_1)){$5_1=Math_imul(($6_1-($5_1+$22_1|0)|0)+$21_1|0,$46_1);label$27:{if(($5_1|0)>=0){$6_1=($5_1+$32_1|0)/($31_1|0)|0;if(($2_1|0)<=0){break label$27}$5_1=1<<$2_1;$6_1=($5_1|0)>($6_1|0)?$6_1:$5_1-1|0;break label$27}$6_1=($32_1-$5_1|0)/($31_1|0)|0;$5_1=1<<$2_1;$6_1=0-(($2_1|0)>0?($5_1|0)>($6_1|0)?$6_1:$5_1-1|0:$6_1)|0}HEAP16[$8_1+18>>1]=$6_1}$2_1=HEAP32[$15_1+20>>2];if(!(HEAPU16[$8_1+4>>1]|!$2_1)){$5_1=Math_imul(($42_1-($9_1<<1)|0)+$16_1|0,$35_1);label$30:{if(($5_1|0)>=0){$6_1=($5_1+$30_1|0)/($29_1|0)|0;if(($2_1|0)<=0){break label$30}$5_1=1<<$2_1;$6_1=($5_1|0)>($6_1|0)?$6_1:$5_1-1|0;break label$30}$6_1=($30_1-$5_1|0)/($29_1|0)|0;$5_1=1<<$2_1;$6_1=0-(($2_1|0)>0?($5_1|0)>($6_1|0)?$6_1:$5_1-1|0:$6_1)|0}HEAP16[$8_1+4>>1]=$6_1}FUNCTION_TABLE[$44_1|0]($0_1,$12_1,$8_1,$25_1,$26_1);$20_1=$20_1+128|0;$18_1=$18_1+128|0;$10_1=$10_1+128|0;$26_1=HEAP32[$12_1+36>>2]+$26_1|0;$19_1=$19_1+1|0;if($41_1>>>0>=$19_1>>>0){continue}break}$25_1=(HEAP32[$12_1+40>>2]<<2)+$25_1|0;$14_1=$14_1+1|0;if(($24_1|0)!=($14_1|0)){continue}break}}$12_1=$12_1+88|0;$13_1=$13_1+1|0;if(($13_1|0)>2]){continue}break}}$1_1=HEAP32[$0_1+156>>2]+1|0;HEAP32[$0_1+156>>2]=$1_1;$0_1=$1_1>>>0>2]?3:4}global$0=$8_1+128|0;return $0_1|0}function $713($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0;$11_1=global$0-224|0;global$0=$11_1;$15_1=$11_1+80|0;$4_1=global$0-864|0;global$0=$4_1;$6_1=HEAPF64[$3_1+16>>3];$7_1=HEAPF64[$3_1+8>>3];HEAPF64[$11_1+8>>3]=HEAPF64[$2_1+16>>3]*$6_1+(HEAPF64[$2_1>>3]*HEAPF64[$3_1>>3]+HEAPF64[$2_1+8>>3]*$7_1)+HEAPF64[$2_1+24>>3];$5_1=HEAPF64[$3_1>>3];HEAPF64[$11_1+16>>3]=HEAPF64[$2_1+56>>3]+($6_1*HEAPF64[$2_1+48>>3]+(HEAPF64[$2_1+32>>3]*$5_1+$7_1*HEAPF64[$2_1+40>>3]));$7_1=$6_1*HEAPF64[$2_1+80>>3];$6_1=HEAPF64[$3_1+8>>3];HEAPF64[$11_1+24>>3]=HEAPF64[$2_1+88>>3]+($7_1+($5_1*HEAPF64[$2_1+64>>3]+HEAPF64[$2_1+72>>3]*$6_1));$8_1=HEAPF64[$2_1>>3];HEAPF64[$4_1+584>>3]=$6_1*$8_1;HEAPF64[$4_1+576>>3]=$5_1*$8_1;$7_1=HEAPF64[$3_1+16>>3];HEAPF64[$4_1+592>>3]=$8_1*$7_1;$9_1=HEAPF64[$2_1+8>>3];HEAPF64[$4_1+616>>3]=$7_1*$9_1;HEAPF64[$4_1+608>>3]=$6_1*$9_1;HEAPF64[$4_1+600>>3]=$5_1*$9_1;$10_1=HEAPF64[$2_1+16>>3];HEAPF64[$4_1+664>>3]=$10_1;HEAPF64[$4_1+656>>3]=$9_1;HEAPF64[$4_1+648>>3]=$8_1;HEAPF64[$4_1+640>>3]=$7_1*$10_1;HEAPF64[$4_1+632>>3]=$6_1*$10_1;HEAPF64[$4_1+624>>3]=$5_1*$10_1;$8_1=HEAPF64[$2_1+32>>3];HEAPF64[$4_1+688>>3]=$7_1*$8_1;HEAPF64[$4_1+680>>3]=$6_1*$8_1;HEAPF64[$4_1+672>>3]=$5_1*$8_1;$9_1=HEAPF64[$2_1+40>>3];HEAPF64[$4_1+712>>3]=$7_1*$9_1;HEAPF64[$4_1+704>>3]=$6_1*$9_1;HEAPF64[$4_1+696>>3]=$5_1*$9_1;$10_1=HEAPF64[$2_1+48>>3];HEAPF64[$4_1+760>>3]=$10_1;HEAPF64[$4_1+752>>3]=$9_1;HEAPF64[$4_1+744>>3]=$8_1;HEAPF64[$4_1+736>>3]=$7_1*$10_1;HEAPF64[$4_1+728>>3]=$6_1*$10_1;HEAPF64[$4_1+720>>3]=$5_1*$10_1;$8_1=HEAPF64[$2_1+64>>3];HEAPF64[$4_1+784>>3]=$7_1*$8_1;HEAPF64[$4_1+776>>3]=$6_1*$8_1;HEAPF64[$4_1+768>>3]=$5_1*$8_1;$9_1=HEAPF64[$2_1+72>>3];HEAPF64[$4_1+808>>3]=$7_1*$9_1;HEAPF64[$4_1+800>>3]=$6_1*$9_1;HEAPF64[$4_1+792>>3]=$5_1*$9_1;$10_1=HEAPF64[$2_1+80>>3];HEAPF64[$4_1+856>>3]=$10_1;HEAPF64[$4_1+848>>3]=$9_1;HEAPF64[$4_1+840>>3]=$8_1;HEAPF64[$4_1+832>>3]=$7_1*$10_1;HEAPF64[$4_1+824>>3]=$6_1*$10_1;HEAPF64[$4_1+816>>3]=$5_1*$10_1;wasm2js_memory_fill($4_1,0,64);HEAP32[$4_1+72>>2]=0;HEAP32[$4_1+76>>2]=0;$2_1=$4_1- -64|0;HEAP32[$2_1>>2]=0;HEAP32[$2_1+4>>2]=-1074790400;HEAP32[$4_1+80>>2]=0;HEAP32[$4_1+84>>2]=0;HEAP32[$4_1+88>>2]=0;HEAP32[$4_1+92>>2]=0;HEAP32[$4_1+96>>2]=0;HEAP32[$4_1+100>>2]=0;HEAP32[$4_1+104>>2]=0;HEAP32[$4_1+108>>2]=1072693248;wasm2js_memory_fill($4_1+112|0,0,48);HEAP32[$4_1+160>>2]=0;HEAP32[$4_1+164>>2]=1072693248;wasm2js_memory_fill($4_1+168|0,0,72);HEAP32[$4_1+240>>2]=0;HEAP32[$4_1+244>>2]=-1074790400;wasm2js_memory_fill($4_1+248|0,0,48);HEAP32[$4_1+304>>2]=0;HEAP32[$4_1+308>>2]=0;HEAP32[$4_1+296>>2]=0;HEAP32[$4_1+300>>2]=-1074790400;HEAP32[$4_1+312>>2]=0;HEAP32[$4_1+316>>2]=0;HEAP32[$4_1+320>>2]=0;HEAP32[$4_1+324>>2]=0;HEAP32[$4_1+328>>2]=0;HEAP32[$4_1+332>>2]=0;HEAP32[$4_1+336>>2]=0;HEAP32[$4_1+340>>2]=1072693248;wasm2js_memory_fill($4_1+344|0,0,112);HEAP32[$4_1+456>>2]=0;HEAP32[$4_1+460>>2]=1072693248;wasm2js_memory_fill($4_1+464|0,0,48);HEAP32[$4_1+512>>2]=0;HEAP32[$4_1+516>>2]=1072693248;wasm2js_memory_fill($4_1+520|0,0,48);HEAP32[$4_1+568>>2]=0;HEAP32[$4_1+572>>2]=1072693248;while(1){$3_1=0;if(($12_1|0)!=3){while(1){if(($3_1|0)!=6){$14_1=$3_1<<3;$16_1=$14_1+(Math_imul($12_1,48)+$15_1|0)|0;$2_1=0;$5_1=0;while(1){if(($2_1|0)!=12){$5_1=HEAPF64[(($4_1+576|0)+Math_imul($12_1,96)|0)+($2_1<<3)>>3]*HEAPF64[($4_1+Math_imul($2_1,48)|0)+$14_1>>3]+$5_1;$2_1=$2_1+1|0;continue}break}HEAPF64[$16_1>>3]=$5_1;$3_1=$3_1+1|0;continue}break}$12_1=$12_1+1|0;continue}break}global$0=$4_1+864|0;$4_1=-1;$8_1=HEAPF64[$11_1+24>>3];$6_1=HEAPF64[$1_1+64>>3];$9_1=HEAPF64[$11_1+8>>3];$10_1=HEAPF64[$11_1+16>>3];$5_1=HEAPF64[$1_1+88>>3]+(HEAPF64[$1_1+80>>3]*$8_1+($6_1*$9_1+$10_1*HEAPF64[$1_1+72>>3]));if($5_1!=0){$17_1=HEAPF64[$1_1+56>>3];$18_1=HEAPF64[$1_1+48>>3];$19_1=HEAPF64[$1_1+40>>3];$20_1=HEAPF64[$1_1+32>>3];$13_1=HEAPF64[$1_1>>3];$7_1=HEAPF64[$1_1+24>>3]+(HEAPF64[$1_1+16>>3]*$8_1+($13_1*$9_1+$10_1*HEAPF64[$1_1+8>>3]));$13_1=$13_1*$5_1-$7_1*$6_1;$6_1=$5_1*$5_1;HEAPF64[$11_1+32>>3]=$13_1/$6_1;HEAPF64[$11_1+40>>3]=(HEAPF64[$1_1+8>>3]*$5_1-$7_1*HEAPF64[$1_1+72>>3])/$6_1;HEAPF64[$11_1+48>>3]=(HEAPF64[$1_1+16>>3]*$5_1-$7_1*HEAPF64[$1_1+80>>3])/$6_1;$7_1=$17_1+($18_1*$8_1+($20_1*$9_1+$10_1*$19_1));HEAPF64[$11_1+56>>3]=(HEAPF64[$1_1+32>>3]*$5_1-$7_1*HEAPF64[$1_1+64>>3])/$6_1;HEAPF64[$11_1+64>>3]=(HEAPF64[$1_1+40>>3]*$5_1-$7_1*HEAPF64[$1_1+72>>3])/$6_1;HEAPF64[$11_1+72>>3]=(HEAPF64[$1_1+48>>3]*$5_1-$7_1*HEAPF64[$1_1+80>>3])/$6_1;$1_1=0}else{$1_1=-1}label$7:{if(($1_1|0)>=0){$2_1=0;while(1){$4_1=0;if(($2_1|0)==2){break label$7}while(1){if(($4_1|0)!=6){$1_1=$4_1<<3;$12_1=$1_1+(Math_imul($2_1,48)+$0_1|0)|0;$3_1=0;$5_1=0;while(1){if(($3_1|0)!=3){$5_1=HEAPF64[(($11_1+32|0)+Math_imul($2_1,24)|0)+($3_1<<3)>>3]*HEAPF64[$1_1+(($11_1+80|0)+Math_imul($3_1,48)|0)>>3]+$5_1;$3_1=$3_1+1|0;continue}break}HEAPF64[$12_1>>3]=$5_1;$4_1=$4_1+1|0;continue}break}$2_1=$2_1+1|0;continue}}$5(0,3,2544,0)}global$0=$11_1+224|0;return $4_1}function $1043($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0;$28_1=global$0-480|0;global$0=$28_1;$22_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$28_1;while(1){$13_1=HEAP32[$1_1+160>>2];$16_1=HEAP16[$2_1+80>>1];$7_1=HEAP32[$1_1+32>>2];$6_1=HEAP16[$2_1+16>>1];$8_1=HEAP32[$1_1+224>>2];$15_1=HEAP16[$2_1+112>>1];$9_1=HEAP32[$1_1+96>>2];$12_1=HEAP16[$2_1+48>>1];$10_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$19_1=Math_imul(HEAP32[$1_1+192>>2],HEAP16[$2_1+96>>1]);$20_1=$10_1+Math_imul($19_1,-11586)|0;$14_1=Math_imul(HEAP32[$1_1+64>>2],HEAP16[$2_1+32>>1]);$11_1=Math_imul(HEAP32[$1_1+128>>2],HEAP16[$2_1+64>>1]);$5_1=$14_1-$11_1|0;HEAP32[$0_1+224>>2]=$20_1+Math_imul($5_1,-11584)>>11;$13_1=Math_imul(Math_imul($13_1,$16_1),10033);$7_1=Math_imul($7_1,$6_1);$6_1=Math_imul($8_1,$15_1);$17_1=$7_1-$6_1|0;$16_1=$13_1+Math_imul($17_1,11522)|0;$15_1=$10_1+Math_imul($19_1,9373)|0;$23_1=Math_imul($5_1,374);$8_1=$11_1+$14_1|0;$11_1=Math_imul($8_1,10958);$18_1=$15_1+($23_1+$11_1|0)|0;$9_1=Math_imul($9_1,$12_1);$12_1=Math_imul($9_1,-11018);$21_1=$16_1+(Math_imul($6_1,20131)-$12_1|0)|0;HEAP32[$0_1+448>>2]=$18_1-$21_1>>11;HEAP32[$0_1>>2]=$18_1+$21_1>>11;$19_1=$10_1+Math_imul($19_1,-3580)|0;$18_1=Math_imul($5_1,2896);$21_1=Math_imul($8_1,6476);$10_1=$19_1+($18_1+$21_1|0)|0;$24_1=$9_1-$6_1|0;$25_1=Math_imul($24_1+$7_1|0,6810);$26_1=$25_1+Math_imul($7_1,4209)|0;HEAP32[$0_1+416>>2]=$10_1-$26_1>>11;HEAP32[$0_1+32>>2]=$10_1+$26_1>>11;$10_1=$20_1+Math_imul($5_1,5792)|0;$20_1=Math_imul($17_1,10033)-$13_1|0;HEAP32[$0_1+384>>2]=$10_1-$20_1>>11;HEAP32[$0_1+64>>2]=$10_1+$20_1>>11;$5_1=Math_imul($5_1,-3271);$10_1=Math_imul($8_1,4482);$8_1=$15_1+($5_1-$10_1|0)|0;$12_1=($13_1+$12_1|0)+Math_imul($6_1,-7121)|0;$6_1=Math_imul($7_1+$6_1|0,4712);$12_1=$12_1+$6_1|0;HEAP32[$0_1+288>>2]=$8_1-$12_1>>11;HEAP32[$0_1+160>>2]=$8_1+$12_1>>11;$14_1=Math_imul($14_1,11795);$8_1=$19_1+($23_1+($14_1-$11_1|0)|0)|0;$9_1=Math_imul($9_1,-6810);$6_1=$6_1+(($9_1+Math_imul($7_1,3897)|0)-$13_1|0)|0;HEAP32[$0_1+352>>2]=$8_1-$6_1>>11;HEAP32[$0_1+96>>2]=$6_1+$8_1>>11;$6_1=$18_1+($15_1-$21_1|0)|0;$13_1=$25_1+Math_imul($24_1,-17828)|0;HEAP32[$0_1+320>>2]=$6_1-$13_1>>11;HEAP32[$0_1+128>>2]=$6_1+$13_1>>11;$5_1=$19_1+($5_1+($10_1-$14_1|0)|0)|0;$7_1=$16_1+($9_1+Math_imul($7_1,-9113)|0)|0;HEAP32[$0_1+256>>2]=$5_1-$7_1>>11;HEAP32[$0_1+192>>2]=$7_1+$5_1>>11;$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+2|0;$27_1=$27_1+1|0;if(($27_1|0)!=8){continue}break}$0_1=$22_1-384|0;$1_1=$28_1;$13_1=0;while(1){$14_1=Math_imul(HEAP32[$1_1+20>>2],10033);$7_1=HEAP32[$1_1+4>>2];$5_1=HEAP32[$1_1+28>>2];$11_1=$7_1-$5_1|0;$19_1=$14_1+Math_imul($11_1,11522)|0;$2_1=HEAP32[($13_1<<2)+$3_1>>2]+$4_1|0;$10_1=HEAP32[$1_1+12>>2];$20_1=Math_imul($10_1,-11018);$12_1=$19_1+(Math_imul($5_1,20131)-$20_1|0)|0;$9_1=(HEAP32[$1_1>>2]<<13)+134348800|0;$15_1=HEAP32[$1_1+24>>2];$22_1=$9_1+Math_imul($15_1,9373)|0;$16_1=HEAP32[$1_1+8>>2];$8_1=HEAP32[$1_1+16>>2];$6_1=$16_1-$8_1|0;$17_1=Math_imul($6_1,374);$8_1=$8_1+$16_1|0;$23_1=Math_imul($8_1,10958);$18_1=$22_1+($17_1+$23_1|0)|0;HEAP8[$2_1|0]=HEAPU8[$0_1+($12_1+$18_1>>>18&1023)|0];HEAP8[$2_1+14|0]=HEAPU8[$0_1+($18_1-$12_1>>>18&1023)|0];$18_1=$10_1-$5_1|0;$21_1=Math_imul($18_1+$7_1|0,6810);$24_1=$21_1+Math_imul($7_1,4209)|0;$12_1=$9_1+Math_imul($15_1,-3580)|0;$25_1=Math_imul($6_1,2896);$26_1=Math_imul($8_1,6476);$27_1=$12_1+($25_1+$26_1|0)|0;HEAP8[$2_1+1|0]=HEAPU8[$0_1+($24_1+$27_1>>>18&1023)|0];HEAP8[$2_1+13|0]=HEAPU8[$0_1+($27_1-$24_1>>>18&1023)|0];$11_1=Math_imul($11_1,10033)-$14_1|0;$15_1=$9_1+Math_imul($15_1,-11586)|0;$9_1=$15_1+Math_imul($6_1,5792)|0;HEAP8[$2_1+2|0]=HEAPU8[$0_1+($11_1+$9_1>>>18&1023)|0];HEAP8[$2_1+12|0]=HEAPU8[$0_1+($9_1-$11_1>>>18&1023)|0];$9_1=Math_imul($7_1+$5_1|0,4712);$10_1=Math_imul($10_1,-6810);$11_1=$9_1+(($10_1+Math_imul($7_1,3897)|0)-$14_1|0)|0;$16_1=Math_imul($16_1,11795);$17_1=$12_1+($17_1+($16_1-$23_1|0)|0)|0;HEAP8[$2_1+3|0]=HEAPU8[$0_1+($11_1+$17_1>>>18&1023)|0];HEAP8[$2_1+11|0]=HEAPU8[$0_1+($17_1-$11_1>>>18&1023)|0];$11_1=$21_1+Math_imul($18_1,-17828)|0;$17_1=$25_1+($22_1-$26_1|0)|0;HEAP8[$2_1+4|0]=HEAPU8[$0_1+($11_1+$17_1>>>18&1023)|0];HEAP8[$2_1+10|0]=HEAPU8[$0_1+($17_1-$11_1>>>18&1023)|0];$5_1=$9_1+(($14_1+$20_1|0)+Math_imul($5_1,-7121)|0)|0;$14_1=Math_imul($6_1,-3271);$8_1=Math_imul($8_1,4482);$9_1=$22_1+($14_1-$8_1|0)|0;HEAP8[$2_1+5|0]=HEAPU8[$0_1+($5_1+$9_1>>>18&1023)|0];HEAP8[$2_1+9|0]=HEAPU8[$0_1+($9_1-$5_1>>>18&1023)|0];$7_1=$19_1+($10_1+Math_imul($7_1,-9113)|0)|0;$5_1=$12_1+($14_1+($8_1-$16_1|0)|0)|0;HEAP8[$2_1+6|0]=HEAPU8[$0_1+($7_1+$5_1>>>18&1023)|0];HEAP8[$2_1+8|0]=HEAPU8[$0_1+($5_1-$7_1>>>18&1023)|0];HEAP8[$2_1+7|0]=HEAPU8[$0_1+($15_1+Math_imul($6_1,268423872)>>>18&1023)|0];$1_1=$1_1+32|0;$13_1=$13_1+1|0;if(($13_1|0)!=15){continue}break}global$0=$28_1+480|0}function $1045($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0;$25_1=global$0-416|0;global$0=$25_1;$20_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$25_1;while(1){$15_1=HEAP32[$1_1+224>>2];$11_1=HEAP16[$2_1+112>>1];$6_1=HEAP32[$1_1+96>>2];$8_1=HEAP16[$2_1+48>>1];$18_1=HEAP32[$1_1+160>>2];$19_1=HEAP16[$2_1+80>>1];$7_1=HEAP32[$1_1+32>>2];$9_1=HEAP16[$2_1+16>>1];$12_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$5_1=Math_imul(HEAP32[$1_1+128>>2],HEAP16[$2_1+64>>1]);$14_1=Math_imul(HEAP32[$1_1+192>>2],HEAP16[$2_1+96>>1]);$13_1=$5_1-$14_1|0;$10_1=Math_imul(HEAP32[$1_1+64>>2],HEAP16[$2_1+32>>1]);HEAP32[$0_1+192>>2]=$12_1+Math_imul($13_1-$10_1|0,11585)>>11;$6_1=Math_imul($6_1,$8_1);$7_1=Math_imul($7_1,$9_1);$9_1=Math_imul($6_1+$7_1|0,10832);$16_1=$12_1+Math_imul($13_1,793)|0;$5_1=$5_1+$14_1|0;$14_1=Math_imul($5_1,9465);$21_1=$16_1+($14_1+Math_imul($10_1,11249)|0)|0;$8_1=Math_imul($18_1,$19_1);$18_1=Math_imul($8_1+$7_1|0,9534);$15_1=Math_imul($15_1,$11_1);$11_1=$15_1+$7_1|0;$19_1=Math_imul($11_1,7682);$17_1=($18_1+($9_1+Math_imul($7_1,-16549)|0)|0)+$19_1|0;HEAP32[$0_1+384>>2]=$21_1-$17_1>>11;HEAP32[$0_1>>2]=$17_1+$21_1>>11;$17_1=$12_1+Math_imul($13_1,3989)|0;$21_1=Math_imul($5_1,2592);$23_1=$17_1+(Math_imul($10_1,8672)-$21_1|0)|0;$24_1=Math_imul($6_1+$8_1|0,-2773);$22_1=$24_1+($9_1+Math_imul($6_1,6859)|0)|0;$9_1=Math_imul($6_1+$15_1|0,-9534);$22_1=$22_1+$9_1|0;HEAP32[$0_1+352>>2]=$23_1-$22_1>>11;HEAP32[$0_1+32>>2]=$23_1+$22_1>>11;$14_1=$16_1+(Math_imul($10_1,4108)-$14_1|0)|0;$16_1=$18_1+(Math_imul($8_1,-12879)+$24_1|0)|0;$18_1=Math_imul($8_1+$15_1|0,-5384);$16_1=$16_1+$18_1|0;HEAP32[$0_1+320>>2]=$14_1-$16_1>>11;HEAP32[$0_1+64>>2]=$14_1+$16_1>>11;$13_1=$12_1+Math_imul($13_1,-7678)|0;$5_1=Math_imul($5_1,3570);$12_1=$13_1+(Math_imul($10_1,-1396)-$5_1|0)|0;$9_1=$18_1+($19_1+($9_1+Math_imul($15_1,18068)|0)|0)|0;HEAP32[$0_1+288>>2]=$12_1-$9_1>>11;HEAP32[$0_1+96>>2]=$9_1+$12_1>>11;$13_1=$13_1+($5_1+Math_imul($10_1,-6581)|0)|0;$5_1=Math_imul($7_1,2611);$7_1=Math_imul($11_1,2773)+Math_imul($8_1-$6_1|0,7682)|0;$6_1=($5_1+$7_1|0)+Math_imul($6_1,-3818)|0;HEAP32[$0_1+256>>2]=$13_1-$6_1>>11;HEAP32[$0_1+128>>2]=$6_1+$13_1>>11;$10_1=$17_1+($21_1+Math_imul($10_1,-10258)|0)|0;$6_1=($7_1+Math_imul($8_1,3150)|0)+Math_imul($15_1,-14273)|0;HEAP32[$0_1+224>>2]=$10_1-$6_1>>11;HEAP32[$0_1+160>>2]=$6_1+$10_1>>11;$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+2|0;$26_1=$26_1+1|0;if(($26_1|0)!=8){continue}break}$0_1=$20_1-384|0;$1_1=$25_1;$13_1=0;while(1){$6_1=HEAP32[$1_1+12>>2];$7_1=HEAP32[$1_1+4>>2];$5_1=Math_imul($6_1+$7_1|0,10832);$2_1=HEAP32[($13_1<<2)+$3_1>>2]+$4_1|0;$15_1=HEAP32[$1_1+28>>2];$18_1=$15_1+$7_1|0;$19_1=Math_imul($18_1,7682);$8_1=HEAP32[$1_1+20>>2];$11_1=Math_imul($8_1+$7_1|0,9534);$14_1=$19_1+($11_1+($5_1+Math_imul($7_1,-16549)|0)|0)|0;$12_1=HEAP32[$1_1+24>>2];$9_1=HEAP32[$1_1+16>>2];$20_1=$12_1+$9_1|0;$16_1=Math_imul($20_1,9465);$10_1=HEAP32[$1_1+8>>2];$12_1=$9_1-$12_1|0;$9_1=(HEAP32[$1_1>>2]<<13)+134348800|0;$21_1=Math_imul($12_1,793)+$9_1|0;$17_1=($16_1+Math_imul($10_1,11249)|0)+$21_1|0;HEAP8[$2_1|0]=HEAPU8[$0_1+($14_1+$17_1>>>18&1023)|0];HEAP8[$2_1+12|0]=HEAPU8[$0_1+($17_1-$14_1>>>18&1023)|0];$14_1=Math_imul($6_1+$15_1|0,-9534);$17_1=$5_1+Math_imul($6_1,6859)|0;$5_1=Math_imul($6_1+$8_1|0,-2773);$17_1=$14_1+($17_1+$5_1|0)|0;$24_1=$9_1+Math_imul($12_1,3989)|0;$23_1=Math_imul($20_1,2592);$22_1=$24_1+(Math_imul($10_1,8672)-$23_1|0)|0;HEAP8[$2_1+1|0]=HEAPU8[$0_1+($17_1+$22_1>>>18&1023)|0];HEAP8[$2_1+11|0]=HEAPU8[$0_1+($22_1-$17_1>>>18&1023)|0];$11_1=$11_1+($5_1+Math_imul($8_1,-12879)|0)|0;$5_1=Math_imul($8_1+$15_1|0,-5384);$11_1=$11_1+$5_1|0;$16_1=$21_1+(Math_imul($10_1,4108)-$16_1|0)|0;HEAP8[$2_1+2|0]=HEAPU8[$0_1+($11_1+$16_1>>>18&1023)|0];HEAP8[$2_1+10|0]=HEAPU8[$0_1+($16_1-$11_1>>>18&1023)|0];$5_1=$5_1+($19_1+($14_1+Math_imul($15_1,18068)|0)|0)|0;$11_1=$9_1+Math_imul($12_1,-7678)|0;$20_1=Math_imul($20_1,3570);$19_1=$11_1+(Math_imul($10_1,-1396)-$20_1|0)|0;HEAP8[$2_1+3|0]=HEAPU8[$0_1+($5_1+$19_1>>>18&1023)|0];HEAP8[$2_1+9|0]=HEAPU8[$0_1+($19_1-$5_1>>>18&1023)|0];$5_1=Math_imul($7_1,2611);$7_1=Math_imul($18_1,2773)+Math_imul($8_1-$6_1|0,7682)|0;$6_1=($5_1+$7_1|0)+Math_imul($6_1,-3818)|0;$5_1=$11_1+($20_1+Math_imul($10_1,-6581)|0)|0;HEAP8[$2_1+4|0]=HEAPU8[$0_1+($6_1+$5_1>>>18&1023)|0];HEAP8[$2_1+8|0]=HEAPU8[$0_1+($5_1-$6_1>>>18&1023)|0];$6_1=($7_1+Math_imul($8_1,3150)|0)+Math_imul($15_1,-14273)|0;$8_1=$24_1+($23_1+Math_imul($10_1,-10258)|0)|0;HEAP8[$2_1+5|0]=HEAPU8[$0_1+($6_1+$8_1>>>18&1023)|0];HEAP8[$2_1+7|0]=HEAPU8[$0_1+($8_1-$6_1>>>18&1023)|0];HEAP8[$2_1+6|0]=HEAPU8[$0_1+($9_1+Math_imul($12_1-$10_1|0,11585)>>>18&1023)|0];$1_1=$1_1+32|0;$13_1=$13_1+1|0;if(($13_1|0)!=13){continue}break}global$0=$25_1+416|0}function $1006($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0;$23_1=HEAP32[$0_1+484>>2];HEAP32[$0_1+136>>2]=HEAP32[$23_1+16>>2];$4_1=HEAP32[$23_1+20>>2];$10_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,$4_1<<5)|0;HEAP32[$10_1+16>>2]=0;HEAP32[$10_1+20>>2]=31;HEAP32[$10_1+8>>2]=0;HEAP32[$10_1+12>>2]=63;HEAP32[$10_1>>2]=0;HEAP32[$10_1+4>>2]=31;$447($0_1,$10_1);$11_1=1;label$1:{label$2:{if(($4_1|0)<2){break label$2}while(1){label$4:{label$5:{label$6:{if($11_1<<1<=($4_1|0)){$8_1=$11_1&1;if($16_1){break label$6}$2_1=0;$5_1=0;$1_1=$10_1;break label$5}$12_1=0;$2_1=0;$5_1=0;$1_1=$10_1;if($16_1>>>0>=3){$17_1=$11_1&2147483644;$9_1=0;while(1){$6_1=HEAP32[$1_1+24>>2];$3_1=($6_1|0)>($5_1|0);$8_1=$3_1?$1_1:$2_1;$7_1=HEAP32[$1_1+56>>2];$6_1=$3_1?$6_1:$5_1;$3_1=($7_1|0)>($6_1|0);$2_1=$3_1?$1_1+32|0:$8_1;$8_1=HEAP32[$1_1+88>>2];$6_1=$3_1?$7_1:$6_1;$3_1=($8_1|0)>($6_1|0);$2_1=$3_1?$1_1- -64|0:$2_1;$7_1=HEAP32[$1_1+120>>2];$6_1=$3_1?$8_1:$6_1;$3_1=($7_1|0)>($6_1|0);$2_1=$3_1?$1_1+96|0:$2_1;$5_1=$3_1?$7_1:$6_1;$1_1=$1_1+128|0;$9_1=$9_1+4|0;if(($17_1|0)!=($9_1|0)){continue}break}}$7_1=$11_1&3;if(!$7_1){break label$4}while(1){$6_1=HEAP32[$1_1+24>>2];$3_1=($6_1|0)>($5_1|0);$2_1=$3_1?$1_1:$2_1;$5_1=$3_1?$6_1:$5_1;$1_1=$1_1+32|0;$12_1=$12_1+1|0;if(($7_1|0)!=($12_1|0)){continue}break}break label$4}$7_1=$11_1&2147483646;$2_1=0;$5_1=0;$1_1=$10_1;$12_1=0;while(1){$6_1=HEAP32[$1_1+28>>2];if(($6_1|0)>($5_1|0)){$3_1=HEAP32[$1_1+24>>2]>0;$2_1=$3_1?$1_1:$2_1;$5_1=$3_1?$6_1:$5_1}$6_1=HEAP32[$1_1+60>>2];if(($6_1|0)>($5_1|0)){$3_1=HEAP32[$1_1+56>>2]>0;$2_1=$3_1?$1_1+32|0:$2_1;$5_1=$3_1?$6_1:$5_1}$1_1=$1_1- -64|0;$12_1=$12_1+2|0;if(($7_1|0)!=($12_1|0)){continue}break}}if(!$8_1|HEAP32[$1_1+28>>2]<=($5_1|0)){break label$4}$2_1=HEAP32[$1_1+24>>2]>0?$1_1:$2_1}if(!$2_1){break label$2}$3_1=($11_1<<5)+$10_1|0;HEAP32[$3_1+4>>2]=HEAP32[$2_1+4>>2];HEAP32[$3_1+12>>2]=HEAP32[$2_1+12>>2];HEAP32[$3_1+20>>2]=HEAP32[$2_1+20>>2];HEAP32[$3_1>>2]=HEAP32[$2_1>>2];HEAP32[$3_1+8>>2]=HEAP32[$2_1+8>>2];HEAP32[$3_1+16>>2]=HEAP32[$2_1+16>>2];label$14:{label$15:{label$16:{label$17:{label$18:{$12_1=HEAP32[$2_1+4>>2];$17_1=HEAP32[$2_1>>2];$20_1=$12_1-$17_1<<4;$8_1=HEAP32[$2_1+12>>2];$7_1=HEAP32[$2_1+8>>2];$5_1=Math_imul($8_1-$7_1|0,12);$6_1=HEAP32[$2_1+20>>2];$1_1=HEAP32[$2_1+16>>2];switch(($6_1-$1_1<<3>((($5_1|0)<($20_1|0)?$20_1:$5_1)|0)?2:($20_1|0)<=($5_1|0))|0){case 2:break label$16;case 1:break label$17;case 0:break label$18;default:break label$14}}$5_1=($12_1+$17_1|0)/2|0;HEAP32[$2_1+4>>2]=$5_1;$1_1=$3_1;break label$15}$5_1=($7_1+$8_1|0)/2|0;HEAP32[$2_1+12>>2]=$5_1;$1_1=$3_1+8|0;break label$15}$5_1=($1_1+$6_1|0)/2|0;HEAP32[$2_1+20>>2]=$5_1;$1_1=$3_1+16|0}HEAP32[$1_1>>2]=$5_1+1}$447($0_1,$2_1);$447($0_1,$3_1);$16_1=$16_1+1|0;$11_1=$11_1+1|0;if(($11_1|0)!=($4_1|0)){continue}break}$11_1=$4_1;if(($4_1|0)<=0){break label$1}}while(1){$9_1=0;$13_1=0;$14_1=0;$15_1=0;$1_1=($18_1<<5)+$10_1|0;$19_1=HEAP32[$1_1>>2];$16_1=HEAP32[$1_1+4>>2];if(($19_1|0)<=($16_1|0)){$6_1=HEAP32[$1_1+8>>2];$20_1=HEAP32[HEAP32[$0_1+484>>2]+24>>2];$8_1=HEAP32[$1_1+16>>2];$3_1=$8_1+1|0;$5_1=$8_1<<3|4;$22_1=HEAP32[$1_1+20>>2];$12_1=($22_1-$8_1|0)+1&1;$26_1=HEAP32[$1_1+12>>2];while(1){if(($6_1|0)<=($26_1|0)){$24_1=$19_1<<3|4;$17_1=HEAP32[($19_1<<2)+$20_1>>2];$1_1=$6_1;while(1){$7_1=$1_1;label$24:{if(($8_1|0)>($22_1|0)){break label$24}$4_1=(($7_1<<6)+$17_1|0)+($8_1<<1)|0;$25_1=$7_1<<2|2;label$25:{if(!$12_1){$1_1=$4_1;$4_1=$8_1;break label$25}$1_1=$4_1+2|0;$4_1=HEAPU16[$4_1>>1];if($4_1){$14_1=Math_imul($4_1,$25_1)+$14_1|0;$13_1=Math_imul($4_1,$24_1)+$13_1|0;$9_1=$4_1+$9_1|0;$15_1=Math_imul($5_1,$4_1)+$15_1|0}$4_1=$3_1}$2_1=$4_1;if(($8_1|0)==($22_1|0)){break label$24}while(1){$4_1=HEAPU16[$1_1>>1];if($4_1){$14_1=Math_imul($4_1,$25_1)+$14_1|0;$13_1=Math_imul($4_1,$24_1)+$13_1|0;$9_1=$4_1+$9_1|0;$15_1=Math_imul($4_1,$2_1<<3|4)+$15_1|0}$4_1=$2_1+1|0;$21_1=HEAPU16[$1_1+2>>1];if($21_1){$14_1=Math_imul($21_1,$25_1)+$14_1|0;$13_1=Math_imul($21_1,$24_1)+$13_1|0;$9_1=$9_1+$21_1|0;$15_1=Math_imul($21_1,$4_1<<3|4)+$15_1|0}$1_1=$1_1+4|0;$2_1=$2_1+2|0;if(($4_1|0)!=($22_1|0)){continue}break}}$1_1=$7_1+1|0;if(($7_1|0)!=($26_1|0)){continue}break}}$1_1=($16_1|0)!=($19_1|0);$19_1=$19_1+1|0;if($1_1){continue}break}}$1_1=$9_1>>1;HEAP8[HEAP32[HEAP32[$0_1+136>>2]>>2]+$18_1|0]=($1_1+$13_1|0)/($9_1|0);HEAP8[HEAP32[HEAP32[$0_1+136>>2]+4>>2]+$18_1|0]=($1_1+$14_1|0)/($9_1|0);HEAP8[HEAP32[HEAP32[$0_1+136>>2]+8>>2]+$18_1|0]=($1_1+$15_1|0)/($9_1|0);$18_1=$18_1+1|0;if(($18_1|0)!=($11_1|0)){continue}break}$4_1=$11_1}HEAP32[$0_1+132>>2]=$4_1;$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$4_1;HEAP32[$1_1+20>>2]=98;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,1);HEAP32[$23_1+28>>2]=1}function $1093($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$4_1=global$0-48|0;global$0=$4_1;$8_1=HEAP32[$0_1+468>>2];label$1:{label$2:{if(HEAP32[$8_1+44>>2]|!HEAP32[$0_1+280>>2]){break label$2}$3_1=HEAP32[$0_1+464>>2];HEAP32[$3_1+24>>2]=HEAP32[$3_1+24>>2]+(HEAP32[$8_1+16>>2]/8|0);HEAP32[$8_1+16>>2]=0;$5_1=0;if(!(FUNCTION_TABLE[HEAP32[$3_1+8>>2]]($0_1)|0)){break label$1}if(HEAP32[$0_1+340>>2]>0){$3_1=0;while(1){HEAP32[(($3_1<<2)+$8_1|0)+24>>2]=0;$3_1=$3_1+1|0;if(($3_1|0)>2]){continue}break}}HEAP32[$8_1+20>>2]=0;HEAP32[$8_1+44>>2]=HEAP32[$0_1+280>>2];if(HEAP32[$0_1+440>>2]){break label$2}HEAP32[$8_1+40>>2]=0}if(!HEAP32[$8_1+40>>2]){$14_1=HEAP32[$0_1+436>>2];$15_1=HEAP32[$0_1+432>>2];HEAP32[$4_1+40>>2]=$0_1;$6_1=HEAP32[$0_1+24>>2];$5_1=HEAP32[$6_1>>2];HEAP32[$4_1+24>>2]=$5_1;$2_1=HEAP32[$6_1+4>>2];HEAP32[$4_1+28>>2]=$2_1;$3_1=HEAP32[$8_1+16>>2];$7_1=HEAP32[$8_1+12>>2];HEAP32[$4_1+16>>2]=HEAP32[$8_1+36>>2];$9_1=HEAP32[$8_1+32>>2];HEAP32[$4_1+8>>2]=HEAP32[$8_1+28>>2];HEAP32[$4_1+12>>2]=$9_1;$9_1=HEAP32[$8_1+24>>2];HEAP32[$4_1>>2]=HEAP32[$8_1+20>>2];HEAP32[$4_1+4>>2]=$9_1;if(HEAP32[$0_1+368>>2]>0){while(1){$6_1=$13_1<<2;$12_1=HEAP32[$6_1+$1_1>>2];$11_1=$8_1+$6_1|0;$2_1=HEAP32[$11_1+100>>2];label$8:{label$9:{label$10:{if(($3_1|0)<=7){$5_1=0;if(!$56($4_1+24|0,$7_1,$3_1,0)){break label$1}$7_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2];$9_1=1;if(($3_1|0)<8){break label$10}}$5_1=$7_1>>$3_1-8&255;$9_1=HEAP32[($2_1+($5_1<<2)|0)+144>>2];if($9_1){break label$9}$9_1=9}$2_1=$178($4_1+24|0,$7_1,$3_1,$2_1,$9_1);$5_1=0;if(($2_1|0)<0){break label$1}$7_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2];break label$8}$2_1=HEAPU8[($2_1+$5_1|0)+1168|0];$3_1=$3_1-$9_1|0}$9_1=HEAP32[$11_1+140>>2];$11_1=HEAP32[$11_1+180>>2];label$12:{label$13:{if($11_1){if($2_1){if(($2_1|0)>($3_1|0)){$5_1=0;if(!$56($4_1+24|0,$7_1,$3_1,$2_1)){break label$1}$7_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2]}$3_1=$3_1-$2_1|0;$2_1=$2_1<<2;$5_1=HEAP32[$2_1+40080>>2];$10_1=$7_1>>$3_1&$5_1;$2_1=$10_1-(($10_1|0)>HEAP32[$2_1+40076>>2]?0:$5_1)|0}else{$2_1=0}$6_1=(HEAP32[($0_1+$6_1|0)+372>>2]<<2)+$4_1|0;$2_1=$2_1+HEAP32[$6_1+4>>2]|0;HEAP32[$6_1+4>>2]=$2_1;HEAP16[$12_1>>1]=$2_1;$6_1=1;if(($11_1|0)<2){break label$13}while(1){label$19:{label$20:{label$21:{if(($3_1|0)<=7){$5_1=0;if(!$56($4_1+24|0,$7_1,$3_1,0)){break label$1}$7_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2];$2_1=1;if(($3_1|0)<8){break label$21}}$2_1=$7_1>>$3_1-8&255;$5_1=HEAP32[(($2_1<<2)+$9_1|0)+144>>2];if($5_1){break label$20}$2_1=9}$2_1=$178($4_1+24|0,$7_1,$3_1,$9_1,$2_1);$5_1=0;if(($2_1|0)<0){break label$1}$7_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2];break label$19}$2_1=HEAPU8[($2_1+$9_1|0)+1168|0];$3_1=$3_1-$5_1|0}$10_1=$2_1>>>4|0;$2_1=$2_1&15;label$23:{if($2_1){if(($2_1|0)>($3_1|0)){$5_1=0;if(!$56($4_1+24|0,$7_1,$3_1,$2_1)){break label$1}$7_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2]}$6_1=$6_1+$10_1|0;$3_1=$3_1-$2_1|0;$2_1=$2_1<<2;$5_1=HEAP32[$2_1+40080>>2];$10_1=$7_1>>$3_1&$5_1;HEAP16[(HEAP32[($6_1<<2)+$15_1>>2]<<1)+$12_1>>1]=$10_1-(($10_1|0)>HEAP32[$2_1+40076>>2]?0:$5_1);break label$23}if(($10_1|0)!=15){break label$12}$6_1=$6_1+15|0}$6_1=$6_1+1|0;if(($11_1|0)>($6_1|0)){continue}break}break label$13}$6_1=1;if(!$2_1){break label$13}if(($2_1|0)>($3_1|0)){$5_1=0;if(!$56($4_1+24|0,$7_1,$3_1,$2_1)){break label$1}$7_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2]}$3_1=$3_1-$2_1|0}if(($6_1|0)>($14_1|0)){break label$12}while(1){label$29:{label$30:{label$31:{if(($3_1|0)<=7){$5_1=0;if(!$56($4_1+24|0,$7_1,$3_1,0)){break label$1}$7_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2];$2_1=1;if(($3_1|0)<8){break label$31}}$2_1=$7_1>>$3_1-8&255;$5_1=HEAP32[(($2_1<<2)+$9_1|0)+144>>2];if($5_1){break label$30}$2_1=9}$2_1=$178($4_1+24|0,$7_1,$3_1,$9_1,$2_1);$5_1=0;if(($2_1|0)<0){break label$1}$7_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2];break label$29}$2_1=HEAPU8[($2_1+$9_1|0)+1168|0];$3_1=$3_1-$5_1|0}$12_1=$2_1>>>4|0;$2_1=$2_1&15;label$33:{if($2_1){if(($2_1|0)>($3_1|0)){$5_1=0;if(!$56($4_1+24|0,$7_1,$3_1,$2_1)){break label$1}$7_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2]}$3_1=$3_1-$2_1|0;break label$33}if(($12_1|0)!=15){break label$12}}$6_1=($6_1+$12_1|0)+1|0;if(($14_1|0)>=($6_1|0)){continue}break}}$13_1=$13_1+1|0;if(($13_1|0)>2]){continue}break}$6_1=HEAP32[$0_1+24>>2];$5_1=HEAP32[$4_1+24>>2];$2_1=HEAP32[$4_1+28>>2]}HEAP32[$6_1+4>>2]=$2_1;HEAP32[$6_1>>2]=$5_1;HEAP32[$8_1+16>>2]=$3_1;HEAP32[$8_1+12>>2]=$7_1;HEAP32[$8_1+36>>2]=HEAP32[$4_1+16>>2];$0_1=HEAP32[$4_1+12>>2];HEAP32[$8_1+28>>2]=HEAP32[$4_1+8>>2];HEAP32[$8_1+32>>2]=$0_1;$0_1=HEAP32[$4_1+4>>2];HEAP32[$8_1+20>>2]=HEAP32[$4_1>>2];HEAP32[$8_1+24>>2]=$0_1}HEAP32[$8_1+44>>2]=HEAP32[$8_1+44>>2]-1;$5_1=1}global$0=$4_1+48|0;return $5_1|0}function $586($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$5_1=$0_1+$1_1|0;$2_1=HEAP32[$0_1+4>>2];label$1:{label$2:{if($2_1&1){break label$2}if(!($2_1&3)){break label$1}$2_1=HEAP32[$0_1>>2];$1_1=$2_1+$1_1|0;label$3:{$0_1=$0_1-$2_1|0;if(($0_1|0)!=HEAP32[17341]){if($2_1>>>0<=255){$4_1=HEAP32[$0_1+8>>2];$2_1=$2_1>>>3|0;$3_1=HEAP32[$0_1+12>>2];if(($3_1|0)!=($4_1|0)){break label$3}HEAP32[17336]=HEAP32[17336]&__wasm_rotl_i32($2_1);break label$2}$7_1=HEAP32[$0_1+24>>2];$2_1=HEAP32[$0_1+12>>2];label$6:{if(($2_1|0)!=($0_1|0)){$3_1=HEAP32[$0_1+8>>2];HEAP32[$3_1+12>>2]=$2_1;HEAP32[$2_1+8>>2]=$3_1;break label$6}label$8:{$4_1=$0_1+20|0;$3_1=HEAP32[$4_1>>2];if($3_1){break label$8}$4_1=$0_1+16|0;$3_1=HEAP32[$4_1>>2];if($3_1){break label$8}$2_1=0;break label$6}while(1){$6_1=$4_1;$2_1=$3_1;$4_1=$2_1+20|0;$3_1=HEAP32[$4_1>>2];if($3_1){continue}$4_1=$2_1+16|0;$3_1=HEAP32[$2_1+16>>2];if($3_1){continue}break}HEAP32[$6_1>>2]=0}if(!$7_1){break label$2}$4_1=HEAP32[$0_1+28>>2];$3_1=($4_1<<2)+69648|0;label$10:{if(HEAP32[$3_1>>2]==($0_1|0)){HEAP32[$3_1>>2]=$2_1;if($2_1){break label$10}HEAP32[17337]=HEAP32[17337]&__wasm_rotl_i32($4_1);break label$2}HEAP32[$7_1+(HEAP32[$7_1+16>>2]==($0_1|0)?16:20)>>2]=$2_1;if(!$2_1){break label$2}}HEAP32[$2_1+24>>2]=$7_1;$3_1=HEAP32[$0_1+16>>2];if($3_1){HEAP32[$2_1+16>>2]=$3_1;HEAP32[$3_1+24>>2]=$2_1}$3_1=HEAP32[$0_1+20>>2];if(!$3_1){break label$2}HEAP32[$2_1+20>>2]=$3_1;HEAP32[$3_1+24>>2]=$2_1;break label$2}$2_1=HEAP32[$5_1+4>>2];if(($2_1&3)!=3){break label$2}HEAP32[17338]=$1_1;HEAP32[$5_1+4>>2]=$2_1&-2;HEAP32[$0_1+4>>2]=$1_1|1;HEAP32[$5_1>>2]=$1_1;return}HEAP32[$4_1+12>>2]=$3_1;HEAP32[$3_1+8>>2]=$4_1}$2_1=HEAP32[$5_1+4>>2];label$13:{if(!($2_1&2)){if(HEAP32[17342]==($5_1|0)){HEAP32[17342]=$0_1;$1_1=HEAP32[17339]+$1_1|0;HEAP32[17339]=$1_1;HEAP32[$0_1+4>>2]=$1_1|1;if(HEAP32[17341]!=($0_1|0)){break label$1}HEAP32[17338]=0;HEAP32[17341]=0;return}if(HEAP32[17341]==($5_1|0)){HEAP32[17341]=$0_1;$1_1=HEAP32[17338]+$1_1|0;HEAP32[17338]=$1_1;HEAP32[$0_1+4>>2]=$1_1|1;HEAP32[$0_1+$1_1>>2]=$1_1;return}$1_1=($2_1&-8)+$1_1|0;label$17:{if($2_1>>>0<=255){$4_1=HEAP32[$5_1+8>>2];$2_1=$2_1>>>3|0;$3_1=HEAP32[$5_1+12>>2];if(($3_1|0)==($4_1|0)){HEAP32[17336]=HEAP32[17336]&__wasm_rotl_i32($2_1);break label$17}HEAP32[$4_1+12>>2]=$3_1;HEAP32[$3_1+8>>2]=$4_1;break label$17}$7_1=HEAP32[$5_1+24>>2];$2_1=HEAP32[$5_1+12>>2];label$20:{if(($5_1|0)!=($2_1|0)){$3_1=HEAP32[$5_1+8>>2];HEAP32[$3_1+12>>2]=$2_1;HEAP32[$2_1+8>>2]=$3_1;break label$20}label$22:{$3_1=$5_1+20|0;$4_1=HEAP32[$3_1>>2];if($4_1){break label$22}$3_1=$5_1+16|0;$4_1=HEAP32[$3_1>>2];if($4_1){break label$22}$2_1=0;break label$20}while(1){$6_1=$3_1;$2_1=$4_1;$3_1=$2_1+20|0;$4_1=HEAP32[$3_1>>2];if($4_1){continue}$3_1=$2_1+16|0;$4_1=HEAP32[$2_1+16>>2];if($4_1){continue}break}HEAP32[$6_1>>2]=0}if(!$7_1){break label$17}$4_1=HEAP32[$5_1+28>>2];$3_1=($4_1<<2)+69648|0;label$24:{if(HEAP32[$3_1>>2]==($5_1|0)){HEAP32[$3_1>>2]=$2_1;if($2_1){break label$24}HEAP32[17337]=HEAP32[17337]&__wasm_rotl_i32($4_1);break label$17}HEAP32[$7_1+(HEAP32[$7_1+16>>2]==($5_1|0)?16:20)>>2]=$2_1;if(!$2_1){break label$17}}HEAP32[$2_1+24>>2]=$7_1;$3_1=HEAP32[$5_1+16>>2];if($3_1){HEAP32[$2_1+16>>2]=$3_1;HEAP32[$3_1+24>>2]=$2_1}$3_1=HEAP32[$5_1+20>>2];if(!$3_1){break label$17}HEAP32[$2_1+20>>2]=$3_1;HEAP32[$3_1+24>>2]=$2_1}HEAP32[$0_1+4>>2]=$1_1|1;HEAP32[$0_1+$1_1>>2]=$1_1;if(HEAP32[17341]!=($0_1|0)){break label$13}HEAP32[17338]=$1_1;return}HEAP32[$5_1+4>>2]=$2_1&-2;HEAP32[$0_1+4>>2]=$1_1|1;HEAP32[$0_1+$1_1>>2]=$1_1}if($1_1>>>0<=255){$2_1=($1_1&-8)+69384|0;$3_1=HEAP32[17336];$1_1=1<<($1_1>>>3);label$28:{if(!($3_1&$1_1)){HEAP32[17336]=$1_1|$3_1;$1_1=$2_1;break label$28}$1_1=HEAP32[$2_1+8>>2]}HEAP32[$2_1+8>>2]=$0_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1+8>>2]=$1_1;return}$4_1=31;if($1_1>>>0<=16777215){$2_1=$1_1>>>8|0;$6_1=$2_1+1048320>>>16&8;$2_1=$2_1<<$6_1;$4_1=$2_1+520192>>>16&4;$2_1=$2_1<<$4_1;$3_1=$2_1+245760>>>16&2;$2_1=($2_1<<$3_1>>>15|0)-($3_1|($4_1|$6_1))|0;$4_1=($2_1<<1|$1_1>>>$2_1+21&1)+28|0}HEAP32[$0_1+28>>2]=$4_1;HEAP32[$0_1+16>>2]=0;HEAP32[$0_1+20>>2]=0;$6_1=($4_1<<2)+69648|0;label$31:{$3_1=HEAP32[17337];$2_1=1<<$4_1;label$32:{if(!($3_1&$2_1)){HEAP32[17337]=$2_1|$3_1;HEAP32[$6_1>>2]=$0_1;HEAP32[$0_1+24>>2]=$6_1;break label$32}$4_1=$1_1<<(($4_1|0)==31?0:25-($4_1>>>1|0)|0);$2_1=HEAP32[$6_1>>2];while(1){$3_1=$2_1;if((HEAP32[$2_1+4>>2]&-8)==($1_1|0)){break label$31}$2_1=$4_1>>>29|0;$4_1=$4_1<<1;$6_1=$3_1+($2_1&4)|0;$2_1=HEAP32[$6_1+16>>2];if($2_1){continue}break}HEAP32[$6_1+16>>2]=$0_1;HEAP32[$0_1+24>>2]=$3_1}HEAP32[$0_1+12>>2]=$0_1;HEAP32[$0_1+8>>2]=$0_1;return}$1_1=HEAP32[$3_1+8>>2];HEAP32[$1_1+12>>2]=$0_1;HEAP32[$3_1+8>>2]=$0_1;HEAP32[$0_1+24>>2]=0;HEAP32[$0_1+12>>2]=$3_1;HEAP32[$0_1+8>>2]=$1_1}}function $1094($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0;$4_1=global$0-48|0;global$0=$4_1;$7_1=HEAP32[$0_1+468>>2];label$1:{label$2:{if(HEAP32[$7_1+44>>2]|!HEAP32[$0_1+280>>2]){break label$2}$3_1=HEAP32[$0_1+464>>2];HEAP32[$3_1+24>>2]=HEAP32[$3_1+24>>2]+(HEAP32[$7_1+16>>2]/8|0);HEAP32[$7_1+16>>2]=0;$5_1=0;if(!(FUNCTION_TABLE[HEAP32[$3_1+8>>2]]($0_1)|0)){break label$1}if(HEAP32[$0_1+340>>2]>0){$3_1=0;while(1){HEAP32[(($3_1<<2)+$7_1|0)+24>>2]=0;$3_1=$3_1+1|0;if(($3_1|0)>2]){continue}break}}HEAP32[$7_1+20>>2]=0;HEAP32[$7_1+44>>2]=HEAP32[$0_1+280>>2];if(HEAP32[$0_1+440>>2]){break label$2}HEAP32[$7_1+40>>2]=0}if(!HEAP32[$7_1+40>>2]){HEAP32[$4_1+40>>2]=$0_1;$2_1=HEAP32[$0_1+24>>2];$8_1=HEAP32[$2_1>>2];HEAP32[$4_1+24>>2]=$8_1;$5_1=HEAP32[$2_1+4>>2];HEAP32[$4_1+28>>2]=$5_1;$3_1=HEAP32[$7_1+16>>2];$6_1=HEAP32[$7_1+12>>2];HEAP32[$4_1+16>>2]=HEAP32[$7_1+36>>2];$9_1=HEAP32[$7_1+32>>2];HEAP32[$4_1+8>>2]=HEAP32[$7_1+28>>2];HEAP32[$4_1+12>>2]=$9_1;$9_1=HEAP32[$7_1+24>>2];HEAP32[$4_1>>2]=HEAP32[$7_1+20>>2];HEAP32[$4_1+4>>2]=$9_1;if(HEAP32[$0_1+368>>2]>0){while(1){$8_1=$13_1<<2;$12_1=HEAP32[$8_1+$1_1>>2];$11_1=$7_1+$8_1|0;$2_1=HEAP32[$11_1+100>>2];label$8:{label$9:{label$10:{if(($3_1|0)<=7){$5_1=0;if(!$56($4_1+24|0,$6_1,$3_1,0)){break label$1}$6_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2];$9_1=1;if(($3_1|0)<8){break label$10}}$5_1=$6_1>>$3_1-8&255;$9_1=HEAP32[($2_1+($5_1<<2)|0)+144>>2];if($9_1){break label$9}$9_1=9}$2_1=$178($4_1+24|0,$6_1,$3_1,$2_1,$9_1);$5_1=0;if(($2_1|0)<0){break label$1}$6_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2];break label$8}$2_1=HEAPU8[($2_1+$5_1|0)+1168|0];$3_1=$3_1-$9_1|0}$9_1=HEAP32[$11_1+140>>2];$11_1=HEAP32[$11_1+180>>2];label$12:{label$13:{if($11_1){if($2_1){if(($2_1|0)>($3_1|0)){$5_1=0;if(!$56($4_1+24|0,$6_1,$3_1,$2_1)){break label$1}$6_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2]}$3_1=$3_1-$2_1|0;$2_1=$2_1<<2;$5_1=HEAP32[$2_1+40080>>2];$10_1=$6_1>>$3_1&$5_1;$2_1=$10_1-(($10_1|0)>HEAP32[$2_1+40076>>2]?0:$5_1)|0}else{$2_1=0}$5_1=(HEAP32[($0_1+$8_1|0)+372>>2]<<2)+$4_1|0;$2_1=$2_1+HEAP32[$5_1+4>>2]|0;HEAP32[$5_1+4>>2]=$2_1;HEAP16[$12_1>>1]=$2_1;$8_1=1;if(($11_1|0)<2){break label$13}while(1){label$19:{label$20:{label$21:{if(($3_1|0)<=7){$5_1=0;if(!$56($4_1+24|0,$6_1,$3_1,0)){break label$1}$6_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2];$2_1=1;if(($3_1|0)<8){break label$21}}$2_1=$6_1>>$3_1-8&255;$5_1=HEAP32[($9_1+($2_1<<2)|0)+144>>2];if($5_1){break label$20}$2_1=9}$2_1=$178($4_1+24|0,$6_1,$3_1,$9_1,$2_1);$5_1=0;if(($2_1|0)<0){break label$1}$6_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2];break label$19}$2_1=HEAPU8[($2_1+$9_1|0)+1168|0];$3_1=$3_1-$5_1|0}$10_1=$2_1>>>4|0;$2_1=$2_1&15;label$23:{if($2_1){if(($2_1|0)>($3_1|0)){$5_1=0;if(!$56($4_1+24|0,$6_1,$3_1,$2_1)){break label$1}$6_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2]}$5_1=$8_1+$10_1|0;$3_1=$3_1-$2_1|0;$2_1=$2_1<<2;$8_1=HEAP32[$2_1+40080>>2];$10_1=$6_1>>$3_1&$8_1;HEAP16[(HEAP32[($5_1<<2)+40976>>2]<<1)+$12_1>>1]=$10_1-(($10_1|0)>HEAP32[$2_1+40076>>2]?0:$8_1);break label$23}if(($10_1|0)!=15){break label$12}$5_1=$8_1+15|0}$8_1=$5_1+1|0;if(($11_1|0)>($8_1|0)){continue}break}if(($5_1|0)<=62){break label$13}break label$12}$8_1=1;if(!$2_1){break label$13}if(($2_1|0)>($3_1|0)){$5_1=0;if(!$56($4_1+24|0,$6_1,$3_1,$2_1)){break label$1}$6_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2]}$3_1=$3_1-$2_1|0}while(1){label$29:{label$30:{label$31:{if(($3_1|0)<=7){$5_1=0;if(!$56($4_1+24|0,$6_1,$3_1,0)){break label$1}$6_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2];$2_1=1;if(($3_1|0)<8){break label$31}}$2_1=$6_1>>$3_1-8&255;$5_1=HEAP32[($9_1+($2_1<<2)|0)+144>>2];if($5_1){break label$30}$2_1=9}$2_1=$178($4_1+24|0,$6_1,$3_1,$9_1,$2_1);$5_1=0;if(($2_1|0)<0){break label$1}$6_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2];break label$29}$2_1=HEAPU8[($2_1+$9_1|0)+1168|0];$3_1=$3_1-$5_1|0}$12_1=$2_1>>>4|0;$2_1=$2_1&15;label$33:{if($2_1){if(($2_1|0)>($3_1|0)){$5_1=0;if(!$56($4_1+24|0,$6_1,$3_1,$2_1)){break label$1}$6_1=HEAP32[$4_1+32>>2];$3_1=HEAP32[$4_1+36>>2]}$3_1=$3_1-$2_1|0;break label$33}if(($12_1|0)!=15){break label$12}}$8_1=($8_1+$12_1|0)+1|0;if(($8_1|0)<64){continue}break}}$13_1=$13_1+1|0;if(($13_1|0)>2]){continue}break}$5_1=HEAP32[$4_1+28>>2];$8_1=HEAP32[$4_1+24>>2];$2_1=HEAP32[$0_1+24>>2]}HEAP32[$2_1+4>>2]=$5_1;HEAP32[$2_1>>2]=$8_1;HEAP32[$7_1+16>>2]=$3_1;HEAP32[$7_1+12>>2]=$6_1;HEAP32[$7_1+36>>2]=HEAP32[$4_1+16>>2];$0_1=HEAP32[$4_1+12>>2];HEAP32[$7_1+28>>2]=HEAP32[$4_1+8>>2];HEAP32[$7_1+32>>2]=$0_1;$0_1=HEAP32[$4_1+4>>2];HEAP32[$7_1+20>>2]=HEAP32[$4_1>>2];HEAP32[$7_1+24>>2]=$0_1}HEAP32[$7_1+44>>2]=HEAP32[$7_1+44>>2]-1;$5_1=1}global$0=$4_1+48|0;return $5_1|0}function $1044($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0;$24_1=global$0-448|0;global$0=$24_1;$19_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$24_1;while(1){$9_1=HEAP32[$1_1+192>>2];$13_1=HEAP16[$2_1+96>>1];$8_1=HEAP32[$1_1+64>>2];$10_1=HEAP16[$2_1+32>>1];$14_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$15_1=Math_imul(HEAP32[$1_1+128>>2],HEAP16[$2_1+64>>1]);$11_1=$14_1+Math_imul($15_1,-11586)>>11;$7_1=Math_imul(HEAP32[$1_1+224>>2],HEAP16[$2_1+112>>1]);$12_1=Math_imul(HEAP32[$1_1+32>>2],HEAP16[$2_1+16>>1]);$5_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$20_1=$12_1-$5_1|0;$6_1=Math_imul(HEAP32[$1_1+160>>2],HEAP16[$2_1+80>>1]);$16_1=$7_1+($20_1-$6_1|0)<<2;HEAP32[$0_1+320>>2]=$11_1-$16_1;HEAP32[$0_1+96>>2]=$11_1+$16_1;$13_1=Math_imul($9_1,$13_1);$8_1=Math_imul($8_1,$10_1);$10_1=Math_imul($13_1+$8_1|0,9058);$11_1=$10_1+Math_imul($13_1,-14084)|0;$16_1=$14_1+Math_imul($15_1,2578)|0;$17_1=$11_1+$16_1|0;$9_1=$7_1<<13;$7_1=Math_imul($5_1+$6_1|0,-1297)-$9_1|0;$23_1=Math_imul($5_1+$12_1|0,10935);$21_1=$7_1+($23_1+Math_imul($5_1,-3474)|0)|0;HEAP32[$0_1+384>>2]=$17_1-$21_1>>11;HEAP32[$0_1+32>>2]=$17_1+$21_1>>11;$13_1=Math_imul($13_1,-11295)+Math_imul($8_1,5027)|0;$17_1=$14_1+Math_imul($15_1,-7223)|0;$21_1=$13_1+$17_1|0;$18_1=$7_1;$7_1=$6_1+$12_1|0;$22_1=Math_imul($7_1,9810);$18_1=$18_1+($22_1+Math_imul($6_1,-19447)|0)|0;HEAP32[$0_1+352>>2]=$21_1-$18_1>>11;HEAP32[$0_1+64>>2]=$21_1+$18_1>>11;$11_1=$16_1-$11_1|0;$20_1=Math_imul($20_1,3826)-$9_1|0;$18_1=Math_imul($5_1,5529);$5_1=Math_imul($6_1-$5_1|0,11512);$16_1=$20_1+($18_1+$5_1|0)|0;HEAP32[$0_1+256>>2]=$11_1-$16_1>>11;HEAP32[$0_1+160>>2]=$11_1+$16_1>>11;$15_1=$14_1+Math_imul($15_1,10438)|0;$14_1=$10_1+Math_imul($8_1,2237)|0;$8_1=$15_1-$14_1|0;$10_1=Math_imul($7_1,6164);$11_1=$20_1+($10_1+Math_imul($12_1,-8693)|0)|0;HEAP32[$0_1+224>>2]=$8_1-$11_1>>11;HEAP32[$0_1+192>>2]=$8_1+$11_1>>11;$15_1=$15_1+$14_1|0;$12_1=$9_1+($22_1+($23_1+Math_imul($12_1,-9232)|0)|0)|0;HEAP32[$0_1+416>>2]=$15_1-$12_1>>11;HEAP32[$0_1>>2]=$12_1+$15_1>>11;$12_1=$17_1-$13_1|0;$5_1=$9_1+($10_1+($5_1+Math_imul($6_1,-13850)|0)|0)|0;HEAP32[$0_1+288>>2]=$12_1-$5_1>>11;HEAP32[$0_1+128>>2]=$5_1+$12_1>>11;$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+2|0;$25_1=$25_1+1|0;if(($25_1|0)!=8){continue}break}$0_1=$19_1-384|0;$1_1=$24_1;$15_1=0;while(1){$5_1=HEAP32[$1_1+12>>2];$12_1=HEAP32[$1_1+4>>2];$8_1=Math_imul($5_1+$12_1|0,10935);$10_1=HEAP32[$1_1+24>>2];$19_1=HEAP32[$1_1+8>>2];$11_1=Math_imul($10_1+$19_1|0,9058);$2_1=HEAP32[($15_1<<2)+$3_1>>2]+$4_1|0;$16_1=HEAP32[$1_1+28>>2];$14_1=$16_1<<13;$6_1=HEAP32[$1_1+20>>2];$20_1=$6_1+$12_1|0;$7_1=Math_imul($20_1,9810);$17_1=$14_1+($7_1+($8_1+Math_imul($12_1,-9232)|0)|0)|0;$23_1=$11_1+Math_imul($19_1,2237)|0;$13_1=(HEAP32[$1_1>>2]<<13)+134348800|0;$9_1=HEAP32[$1_1+16>>2];$21_1=$13_1+Math_imul($9_1,10438)|0;$22_1=$23_1+$21_1|0;HEAP8[$2_1|0]=HEAPU8[$0_1+($17_1+$22_1>>>18&1023)|0];HEAP8[$2_1+13|0]=HEAPU8[$0_1+($22_1-$17_1>>>18&1023)|0];$18_1=$8_1+Math_imul($5_1,-3474)|0;$8_1=Math_imul($5_1+$6_1|0,-1297)-$14_1|0;$17_1=$18_1+$8_1|0;$11_1=$11_1+Math_imul($10_1,-14084)|0;$22_1=$13_1+Math_imul($9_1,2578)|0;$18_1=$11_1+$22_1|0;HEAP8[$2_1+1|0]=HEAPU8[$0_1+($17_1+$18_1>>>18&1023)|0];HEAP8[$2_1+12|0]=HEAPU8[$0_1+($18_1-$17_1>>>18&1023)|0];$8_1=$8_1+($7_1+Math_imul($6_1,-19447)|0)|0;$10_1=Math_imul($10_1,-11295)+Math_imul($19_1,5027)|0;$19_1=$13_1+Math_imul($9_1,-7223)|0;$7_1=$10_1+$19_1|0;HEAP8[$2_1+2|0]=HEAPU8[$0_1+($8_1+$7_1>>>18&1023)|0];HEAP8[$2_1+11|0]=HEAPU8[$0_1+($7_1-$8_1>>>18&1023)|0];$8_1=$12_1-$5_1|0;$7_1=$16_1+($8_1-$6_1|0)<<13;$9_1=$13_1+Math_imul($9_1,-11586)|0;HEAP8[$2_1+3|0]=HEAPU8[$0_1+($7_1+$9_1>>>18&1023)|0];HEAP8[$2_1+10|0]=HEAPU8[$0_1+($9_1-$7_1>>>18&1023)|0];$9_1=Math_imul($20_1,6164);$7_1=$14_1+Math_imul($6_1,-13850)|0;$6_1=Math_imul($6_1-$5_1|0,11512);$13_1=$9_1+($7_1+$6_1|0)|0;$10_1=$19_1-$10_1|0;HEAP8[$2_1+4|0]=HEAPU8[$0_1+($13_1+$10_1>>>18&1023)|0];HEAP8[$2_1+9|0]=HEAPU8[$0_1+($10_1-$13_1>>>18&1023)|0];$7_1=$6_1+Math_imul($5_1,5529)|0;$5_1=Math_imul($8_1,3826)-$14_1|0;$6_1=$7_1+$5_1|0;$14_1=$22_1-$11_1|0;HEAP8[$2_1+5|0]=HEAPU8[$0_1+($6_1+$14_1>>>18&1023)|0];HEAP8[$2_1+8|0]=HEAPU8[$0_1+($14_1-$6_1>>>18&1023)|0];$5_1=$5_1+($9_1+Math_imul($12_1,-8693)|0)|0;$6_1=$21_1-$23_1|0;HEAP8[$2_1+6|0]=HEAPU8[$0_1+($5_1+$6_1>>>18&1023)|0];HEAP8[$2_1+7|0]=HEAPU8[$0_1+($6_1-$5_1>>>18&1023)|0];$1_1=$1_1+32|0;$15_1=$15_1+1|0;if(($15_1|0)!=14){continue}break}global$0=$24_1+448|0}function $308($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$5_1=HEAP32[$0_1+24>>2];$4_1=HEAP32[$5_1+4>>2];$6_1=HEAP32[$5_1>>2];HEAP32[$0_1+228>>2]=$3_1;HEAP32[$0_1+224>>2]=$2_1;HEAP32[$0_1+220>>2]=$1_1;label$1:{if(!$4_1){if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){break label$1}$6_1=HEAP32[$5_1>>2];$4_1=HEAP32[$5_1+4>>2]}$7_1=HEAPU8[$6_1|0];$3_1=$4_1-1|0;if($3_1){$1_1=$6_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){break label$1}$3_1=HEAP32[$5_1+4>>2];$1_1=HEAP32[$5_1>>2]}$4_1=HEAPU8[$1_1|0];$6_1=$3_1-1|0;if($6_1){$1_1=$1_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){break label$1}$6_1=HEAP32[$5_1+4>>2];$1_1=HEAP32[$5_1>>2]}HEAP32[$0_1+212>>2]=HEAPU8[$1_1|0];$6_1=$6_1-1|0;if($6_1){$1_1=$1_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){break label$1}$6_1=HEAP32[$5_1+4>>2];$1_1=HEAP32[$5_1>>2]}$3_1=HEAPU8[$1_1|0]<<8;HEAP32[$0_1+32>>2]=$3_1;$6_1=$6_1-1|0;if($6_1){$1_1=$1_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){break label$1}$3_1=HEAP32[$0_1+32>>2];$6_1=HEAP32[$5_1+4>>2];$1_1=HEAP32[$5_1>>2]}HEAP32[$0_1+32>>2]=HEAPU8[$1_1|0]+$3_1;$6_1=$6_1-1|0;if($6_1){$1_1=$1_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){break label$1}$6_1=HEAP32[$5_1+4>>2];$1_1=HEAP32[$5_1>>2]}$3_1=HEAPU8[$1_1|0]<<8;HEAP32[$0_1+28>>2]=$3_1;$6_1=$6_1-1|0;if($6_1){$1_1=$1_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){break label$1}$3_1=HEAP32[$0_1+28>>2];$6_1=HEAP32[$5_1+4>>2];$1_1=HEAP32[$5_1>>2]}HEAP32[$0_1+28>>2]=HEAPU8[$1_1|0]+$3_1;$3_1=$6_1-1|0;if($3_1){$1_1=$1_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){break label$1}$3_1=HEAP32[$5_1+4>>2];$1_1=HEAP32[$5_1>>2]}HEAP32[$0_1+36>>2]=HEAPU8[$1_1|0];$8_1=HEAP32[$0_1>>2];HEAP32[$8_1+24>>2]=HEAP32[$0_1+440>>2];HEAP32[$8_1+28>>2]=HEAP32[$0_1+28>>2];HEAP32[$8_1+32>>2]=HEAP32[$0_1+32>>2];$2_1=HEAP32[$0_1+36>>2];HEAP32[$8_1+20>>2]=102;HEAP32[$8_1+36>>2]=$2_1;FUNCTION_TABLE[HEAP32[$8_1+4>>2]]($0_1,1);if(HEAP32[HEAP32[$0_1+464>>2]+16>>2]){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=61;FUNCTION_TABLE[HEAP32[$2_1>>2]]($0_1)}$7_1=($4_1|$7_1<<8)-8|0;label$18:{if(!(!HEAP32[$0_1+32>>2]|!HEAP32[$0_1+28>>2])){$4_1=HEAP32[$0_1+36>>2];if(($4_1|0)>0){break label$18}}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=33;FUNCTION_TABLE[HEAP32[$2_1>>2]]($0_1);$4_1=HEAP32[$0_1+36>>2]}if(($7_1|0)!=(Math_imul($4_1,3)|0)){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=12;FUNCTION_TABLE[HEAP32[$2_1>>2]]($0_1)}if(!HEAP32[$0_1+216>>2]){HEAP32[$0_1+216>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,Math_imul(HEAP32[$0_1+36>>2],88))}$9_1=$1_1+1|0;$4_1=$3_1-1|0;if(HEAP32[$0_1+36>>2]>0){$3_1=0;while(1){if(!$4_1){if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){break label$1}$9_1=HEAP32[$5_1>>2];$4_1=HEAP32[$5_1+4>>2]}$10_1=$4_1-1|0;$7_1=HEAP32[$0_1+216>>2];$2_1=HEAPU8[$9_1|0];label$26:{if(!$3_1){$4_1=$7_1;break label$26}$8_1=$3_1-2|0;$11_1=$3_1-1|0;$1_1=$7_1+$12_1|0;$6_1=0;$4_1=$7_1;while(1){if(HEAP32[$4_1>>2]==($2_1|0)){$4_1=$7_1+88|0;$6_1=HEAP32[$7_1>>2];if($3_1>>>0>=2){if($8_1>>>0>=3){$15_1=$11_1&-4;$2_1=0;while(1){$13_1=HEAP32[$4_1+264>>2];$14_1=HEAP32[$4_1+176>>2];$8_1=HEAP32[$4_1+88>>2];$7_1=HEAP32[$4_1>>2];$7_1=($6_1|0)<($7_1|0)?$7_1:$6_1;$7_1=($7_1|0)<($8_1|0)?$8_1:$7_1;$7_1=($7_1|0)<($14_1|0)?$14_1:$7_1;$6_1=($7_1|0)<($13_1|0)?$13_1:$7_1;$4_1=$4_1+352|0;$2_1=$2_1+4|0;if(($15_1|0)!=($2_1|0)){continue}break}}$2_1=0;$8_1=$11_1&3;if($8_1){while(1){$7_1=HEAP32[$4_1>>2];$6_1=($6_1|0)<($7_1|0)?$7_1:$6_1;$4_1=$4_1+88|0;$2_1=$2_1+1|0;if(($8_1|0)!=($2_1|0)){continue}break}}$4_1=$1_1}$2_1=$6_1+1|0;break label$26}$4_1=$4_1+88|0;$6_1=$6_1+1|0;if(($6_1|0)!=($3_1|0)){continue}break}$4_1=$1_1}HEAP32[$4_1+4>>2]=$3_1;HEAP32[$4_1>>2]=$2_1;if($10_1){$2_1=$9_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){break label$1}$10_1=HEAP32[$5_1+4>>2];$2_1=HEAP32[$5_1>>2]}$1_1=HEAPU8[$2_1|0];HEAP32[$4_1+12>>2]=$1_1&15;HEAP32[$4_1+8>>2]=$1_1>>>4;$1_1=$10_1-1|0;if($1_1){$7_1=$2_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$5_1+12>>2]]($0_1)|0)){break label$1}$1_1=HEAP32[$5_1+4>>2];$7_1=HEAP32[$5_1>>2]}HEAP32[$4_1+16>>2]=HEAPU8[$7_1|0];$8_1=HEAP32[$0_1>>2];HEAP32[$8_1+24>>2]=HEAP32[$4_1>>2];HEAP32[$8_1+28>>2]=HEAP32[$4_1+8>>2];HEAP32[$8_1+32>>2]=HEAP32[$4_1+12>>2];$2_1=HEAP32[$4_1+16>>2];HEAP32[$8_1+20>>2]=103;HEAP32[$8_1+36>>2]=$2_1;FUNCTION_TABLE[HEAP32[$8_1+4>>2]]($0_1,1);$12_1=$12_1+88|0;$9_1=$7_1+1|0;$4_1=$1_1-1|0;$3_1=$3_1+1|0;if(($3_1|0)>2]){continue}break}}HEAP32[HEAP32[$0_1+464>>2]+16>>2]=1;HEAP32[$5_1+4>>2]=$4_1;HEAP32[$5_1>>2]=$9_1;return 1}return 0}function $1106($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$1_1=HEAP32[$0_1+412>>2];$3_1=HEAP32[$0_1+468>>2];label$1:{if(HEAP32[$0_1+224>>2]){$2_1=HEAP32[$0_1+416>>2];label$3:{label$4:{label$5:{if(!$1_1){if(!$2_1){break label$5}break label$4}if(($1_1|0)>($2_1|0)|($2_1|0)>HEAP32[$0_1+436>>2]|HEAP32[$0_1+340>>2]!=1){break label$4}}$2_1=HEAP32[$0_1+420>>2];label$7:{if(!$2_1){$2_1=HEAP32[$0_1+424>>2];break label$7}$2_1=$2_1-1|0;if(($2_1|0)!=HEAP32[$0_1+424>>2]){break label$4}}if(($2_1|0)<14){break label$3}}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$1_1;HEAP32[$2_1+20>>2]=17;HEAP32[HEAP32[$0_1>>2]+28>>2]=HEAP32[$0_1+416>>2];HEAP32[HEAP32[$0_1>>2]+32>>2]=HEAP32[$0_1+420>>2];HEAP32[HEAP32[$0_1>>2]+36>>2]=HEAP32[$0_1+424>>2];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$1_1=HEAP32[$0_1+340>>2];if(($1_1|0)>0){while(1){$6_1=HEAP32[HEAP32[(($4_1<<2)+$0_1|0)+344>>2]+4>>2];$5_1=HEAP32[$0_1+160>>2]+($6_1<<8)|0;$2_1=HEAP32[$0_1+412>>2];$1_1=0;label$11:{if(!$2_1){break label$11}$1_1=$2_1;if(HEAP32[$5_1>>2]>=0){break label$11}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$6_1;HEAP32[$1_1+20>>2]=118;HEAP32[HEAP32[$0_1>>2]+28>>2]=0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,-1);$1_1=HEAP32[$0_1+412>>2]}if(($1_1|0)<=HEAP32[$0_1+416>>2]){while(1){$2_1=$5_1+($1_1<<2)|0;$7_1=HEAP32[$2_1>>2];if(HEAP32[$0_1+420>>2]!=((($7_1|0)>0?$7_1:0)|0)){$7_1=HEAP32[$0_1>>2];HEAP32[$7_1+24>>2]=$6_1;HEAP32[$7_1+20>>2]=118;HEAP32[HEAP32[$0_1>>2]+28>>2]=$1_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,-1)}HEAP32[$2_1>>2]=HEAP32[$0_1+424>>2];$2_1=HEAP32[$0_1+416>>2]>($1_1|0);$1_1=$1_1+1|0;if($2_1){continue}break}}$1_1=HEAP32[$0_1+340>>2];$4_1=$4_1+1|0;if(($1_1|0)>($4_1|0)){continue}break}}$2_1=HEAP32[$0_1+412>>2];if(!HEAP32[$0_1+420>>2]){if(!$2_1){HEAP32[$3_1+4>>2]=159;break label$1}HEAP32[$3_1+4>>2]=160;break label$1}if(!$2_1){HEAP32[$3_1+4>>2]=161;break label$1}HEAP32[$3_1+4>>2]=162;break label$1}label$18:{if(!(HEAP32[$0_1+424>>2]|(HEAP32[$0_1+420>>2]|$1_1))){$1_1=HEAP32[$0_1+416>>2];if(($1_1|0)>63|($1_1|0)==HEAP32[$0_1+436>>2]){break label$18}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=125;FUNCTION_TABLE[HEAP32[$1_1+4>>2]]($0_1,-1)}HEAP32[$3_1+4>>2]=163;$1_1=HEAP32[$0_1+340>>2]}if(($1_1|0)>0){$2_1=0;while(1){$6_1=$2_1<<2;$4_1=HEAP32[($6_1+$0_1|0)+344>>2];label$22:{label$23:{if(HEAP32[$0_1+224>>2]){if(HEAP32[$0_1+412>>2]){break label$23}if(HEAP32[$0_1+420>>2]){break label$22}}$1_1=HEAP32[$4_1+20>>2];if($1_1>>>0>=16){$5_1=HEAP32[$0_1>>2];HEAP32[$5_1+24>>2]=$1_1;HEAP32[$5_1+20>>2]=50;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$5_1=($1_1<<2)+$3_1|0;$1_1=HEAP32[$5_1+60>>2];if(!$1_1){$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,64)|0;HEAP32[$5_1+60>>2]=$1_1}HEAP8[$1_1|0]=0;HEAP8[$1_1+1|0]=0;HEAP8[$1_1+2|0]=0;HEAP8[$1_1+3|0]=0;HEAP8[$1_1+4|0]=0;HEAP8[$1_1+5|0]=0;HEAP8[$1_1+6|0]=0;HEAP8[$1_1+7|0]=0;HEAP8[$1_1+56|0]=0;HEAP8[$1_1+57|0]=0;HEAP8[$1_1+58|0]=0;HEAP8[$1_1+59|0]=0;HEAP8[$1_1+60|0]=0;HEAP8[$1_1+61|0]=0;HEAP8[$1_1+62|0]=0;HEAP8[$1_1+63|0]=0;HEAP8[$1_1+48|0]=0;HEAP8[$1_1+49|0]=0;HEAP8[$1_1+50|0]=0;HEAP8[$1_1+51|0]=0;HEAP8[$1_1+52|0]=0;HEAP8[$1_1+53|0]=0;HEAP8[$1_1+54|0]=0;HEAP8[$1_1+55|0]=0;HEAP8[$1_1+40|0]=0;HEAP8[$1_1+41|0]=0;HEAP8[$1_1+42|0]=0;HEAP8[$1_1+43|0]=0;HEAP8[$1_1+44|0]=0;HEAP8[$1_1+45|0]=0;HEAP8[$1_1+46|0]=0;HEAP8[$1_1+47|0]=0;HEAP8[$1_1+32|0]=0;HEAP8[$1_1+33|0]=0;HEAP8[$1_1+34|0]=0;HEAP8[$1_1+35|0]=0;HEAP8[$1_1+36|0]=0;HEAP8[$1_1+37|0]=0;HEAP8[$1_1+38|0]=0;HEAP8[$1_1+39|0]=0;HEAP8[$1_1+24|0]=0;HEAP8[$1_1+25|0]=0;HEAP8[$1_1+26|0]=0;HEAP8[$1_1+27|0]=0;HEAP8[$1_1+28|0]=0;HEAP8[$1_1+29|0]=0;HEAP8[$1_1+30|0]=0;HEAP8[$1_1+31|0]=0;HEAP8[$1_1+16|0]=0;HEAP8[$1_1+17|0]=0;HEAP8[$1_1+18|0]=0;HEAP8[$1_1+19|0]=0;HEAP8[$1_1+20|0]=0;HEAP8[$1_1+21|0]=0;HEAP8[$1_1+22|0]=0;HEAP8[$1_1+23|0]=0;HEAP8[$1_1+8|0]=0;HEAP8[$1_1+9|0]=0;HEAP8[$1_1+10|0]=0;HEAP8[$1_1+11|0]=0;HEAP8[$1_1+12|0]=0;HEAP8[$1_1+13|0]=0;HEAP8[$1_1+14|0]=0;HEAP8[$1_1+15|0]=0;$1_1=$3_1+$6_1|0;HEAP32[$1_1+40>>2]=0;HEAP32[$1_1+24>>2]=0;if(!HEAP32[$0_1+224>>2]){if(HEAP32[$0_1+436>>2]){break label$23}break label$22}if(!HEAP32[$0_1+412>>2]){break label$22}}$1_1=HEAP32[$4_1+24>>2];if($1_1>>>0>=16){$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+24>>2]=$1_1;HEAP32[$4_1+20>>2]=50;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$4_1=($1_1<<2)+$3_1|0;$1_1=HEAP32[$4_1+124>>2];if(!$1_1){$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,256)|0;HEAP32[$4_1+124>>2]=$1_1}$11($1_1,0,256)}$2_1=$2_1+1|0;if(($2_1|0)>2]){continue}break}}HEAP32[$3_1+20>>2]=-16;HEAP32[$3_1+12>>2]=0;HEAP32[$3_1+16>>2]=0;HEAP32[$3_1+56>>2]=HEAP32[$0_1+280>>2]}function $1099($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$1_1=HEAP32[$0_1+412>>2];$5_1=HEAP32[$0_1+468>>2];label$1:{if(HEAP32[$0_1+224>>2]){$2_1=HEAP32[$0_1+416>>2];label$3:{label$4:{label$5:{if(!$1_1){if(!$2_1){break label$5}break label$4}if(($2_1|0)<($1_1|0)|($2_1|0)>HEAP32[$0_1+436>>2]|HEAP32[$0_1+340>>2]!=1){break label$4}}$2_1=HEAP32[$0_1+420>>2];label$7:{if(!$2_1){$4_1=HEAP32[$0_1+424>>2];break label$7}$4_1=$2_1-1|0;if(($4_1|0)!=HEAP32[$0_1+424>>2]){break label$4}}if(($4_1|0)<14){break label$3}}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$1_1;HEAP32[$2_1+20>>2]=17;HEAP32[HEAP32[$0_1>>2]+28>>2]=HEAP32[$0_1+416>>2];HEAP32[HEAP32[$0_1>>2]+32>>2]=HEAP32[$0_1+420>>2];HEAP32[HEAP32[$0_1>>2]+36>>2]=HEAP32[$0_1+424>>2];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$1_1=HEAP32[$0_1+340>>2];if(($1_1|0)>0){while(1){$4_1=HEAP32[HEAP32[(($3_1<<2)+$0_1|0)+344>>2]+4>>2];$6_1=HEAP32[$0_1+160>>2]+($4_1<<8)|0;$2_1=HEAP32[$0_1+412>>2];$1_1=0;label$11:{if(!$2_1){break label$11}$1_1=$2_1;if(HEAP32[$6_1>>2]>=0){break label$11}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$4_1;HEAP32[$1_1+20>>2]=118;HEAP32[HEAP32[$0_1>>2]+28>>2]=0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,-1);$1_1=HEAP32[$0_1+412>>2]}if(($1_1|0)<=HEAP32[$0_1+416>>2]){while(1){$2_1=$6_1+($1_1<<2)|0;$7_1=HEAP32[$2_1>>2];if(HEAP32[$0_1+420>>2]!=((($7_1|0)>0?$7_1:0)|0)){$7_1=HEAP32[$0_1>>2];HEAP32[$7_1+24>>2]=$4_1;HEAP32[$7_1+20>>2]=118;HEAP32[HEAP32[$0_1>>2]+28>>2]=$1_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,-1)}HEAP32[$2_1>>2]=HEAP32[$0_1+424>>2];$2_1=HEAP32[$0_1+416>>2]>($1_1|0);$1_1=$1_1+1|0;if($2_1){continue}break}}$1_1=HEAP32[$0_1+340>>2];$3_1=$3_1+1|0;if(($1_1|0)>($3_1|0)){continue}break}}$2_1=HEAP32[$0_1+412>>2];HEAP32[$5_1+4>>2]=HEAP32[$0_1+420>>2]?$2_1?166:167:$2_1?168:169;if(($1_1|0)>0){$1_1=0;while(1){$3_1=$1_1<<2;$2_1=HEAP32[($3_1+$0_1|0)+344>>2];label$17:{if(!HEAP32[$0_1+412>>2]){if(HEAP32[$0_1+420>>2]){break label$17}$2_1=HEAP32[$2_1+20>>2];$372($0_1,1,$2_1,(($2_1<<2)+$5_1|0)+48|0);break label$17}$4_1=HEAP32[$2_1+24>>2];$2_1=($4_1<<2)+$5_1|0;$372($0_1,0,$4_1,$2_1+48|0);HEAP32[$5_1+64>>2]=HEAP32[$2_1+48>>2]}HEAP32[($3_1+$5_1|0)+24>>2]=0;$1_1=$1_1+1|0;if(($1_1|0)>2]){continue}break}}HEAP32[$5_1+20>>2]=0;break label$1}label$19:{if(!(HEAP32[$0_1+424>>2]|(HEAP32[$0_1+420>>2]|$1_1))){$1_1=HEAP32[$0_1+416>>2];if(!HEAP32[$0_1+220>>2]&($1_1|0)>63|($1_1|0)==HEAP32[$0_1+436>>2]){break label$19}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=125;FUNCTION_TABLE[HEAP32[$1_1+4>>2]]($0_1,-1)}HEAP32[$5_1+4>>2]=HEAP32[$0_1+436>>2]==63?170:171;$1_1=0;if(HEAP32[$0_1+340>>2]>0){while(1){$2_1=$1_1<<2;$3_1=HEAP32[($2_1+$0_1|0)+344>>2];$4_1=HEAP32[$3_1+20>>2];$372($0_1,1,$4_1,(($4_1<<2)+$5_1|0)+68|0);if(HEAP32[$0_1+436>>2]){$3_1=HEAP32[$3_1+24>>2];$372($0_1,0,$3_1,(($3_1<<2)+$5_1|0)+84|0)}HEAP32[($2_1+$5_1|0)+24>>2]=0;$1_1=$1_1+1|0;if(($1_1|0)>2]){continue}break}}$4_1=0;if(HEAP32[$0_1+368>>2]<=0){break label$1}while(1){$1_1=$4_1<<2;$6_1=$1_1+$5_1|0;$1_1=HEAP32[((HEAP32[($0_1+$1_1|0)+372>>2]<<2)+$0_1|0)+344>>2];HEAP32[$6_1+100>>2]=HEAP32[((HEAP32[$1_1+20>>2]<<2)+$5_1|0)+68>>2];HEAP32[$6_1+140>>2]=HEAP32[((HEAP32[$1_1+24>>2]<<2)+$5_1|0)+84>>2];label$25:{if(!HEAP32[$1_1+52>>2]){$1_1=0;break label$25}$2_1=HEAP32[$1_1+36>>2];$3_1=HEAP32[$1_1+40>>2];$1_1=1;label$27:{label$28:{switch(HEAP32[$0_1+436>>2]){case 3:$1_1=((($3_1-3>>>0<4294967294?1:$3_1-1|0)<<3)+(($2_1-3>>>0<4294967294?1:$2_1-1|0)<<2)|0)+39232|0;break label$27;case 8:$1_1=(Math_imul($3_1-4>>>0<4294967293?2:$3_1-1|0,12)+(($2_1-4>>>0<4294967293?2:$2_1-1|0)<<2)|0)+39248|0;break label$27;case 15:$1_1=((($3_1-5>>>0<4294967292?3:$3_1-1|0)<<4)+(($2_1-5>>>0<4294967292?3:$2_1-1|0)<<2)|0)+39296|0;break label$27;case 24:$1_1=(Math_imul($3_1-6>>>0<4294967291?4:$3_1-1|0,20)+(($2_1-6>>>0<4294967291?4:$2_1-1|0)<<2)|0)+39360|0;break label$27;case 35:$1_1=(Math_imul($3_1-7>>>0<4294967290?5:$3_1-1|0,24)+(($2_1-7>>>0<4294967290?5:$2_1-1|0)<<2)|0)+39472|0;break label$27;case 48:$1_1=(Math_imul($3_1-8>>>0<4294967289?6:$3_1-1|0,28)+(($2_1-8>>>0<4294967289?6:$2_1-1|0)<<2)|0)+39616|0;break label$27;case 0:break label$25;default:break label$28}}$1_1=((($3_1-9>>>0<4294967288?7:$3_1-1|0)<<5)+(($2_1-9>>>0<4294967288?7:$2_1-1|0)<<2)|0)+39824|0}$1_1=HEAP32[$1_1>>2]+1|0}HEAP32[$6_1+180>>2]=$1_1;$4_1=$4_1+1|0;if(($4_1|0)>2]){continue}break}}HEAP32[$5_1+40>>2]=0;HEAP32[$5_1+12>>2]=0;HEAP32[$5_1+16>>2]=0;HEAP32[$5_1+44>>2]=HEAP32[$0_1+280>>2]}function $612($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=Math_fround(0);$10_1=HEAP32[$3_1+24>>2];label$1:{if(!(!(1<<$2_1&28704)|$2_1>>>0>14)){$2_1=HEAP32[$3_1+16>>2];$9_1=0-$2_1|0;$8_1=HEAP32[$3_1+20>>2]+1|0;$15_1=($9_1|0)>($8_1|0)?$9_1:$8_1;$8_1=HEAP32[$3_1+8>>2];$7_1=0-$8_1|0;$11_1=HEAP32[$3_1+12>>2]+1|0;$16_1=($7_1|0)>($11_1|0)?$7_1:$11_1;$5_1=(($4_1-($8_1<<1)|0)+Math_imul($5_1-($2_1<<1)|0,$1_1)|0)+$0_1|0;$1_1=$1_1<<1;$11_1=0;while(1){$2_1=$7_1;$8_1=$5_1;if(($9_1|0)==($15_1|0)){break label$1}while(1){if(($2_1|0)!=($16_1|0)){$4_1=HEAPU16[$10_1>>1];if(($4_1|0)!=4096){$0_1=HEAPU8[$8_1|0];$11_1=$0_1+$11_1|0;$14_1=Math_imul($0_1,$4_1)+$14_1|0;$13_1=Math_imul($0_1,$0_1)+$13_1|0}$2_1=$2_1+1|0;$10_1=$10_1+2|0;$8_1=$8_1+2|0;continue}break}$9_1=$9_1+1|0;$5_1=$1_1+$5_1|0;continue}}if($2_1>>>0<=1){$9_1=0-HEAP32[$3_1+16>>2]|0;$2_1=HEAP32[$3_1+20>>2]+1|0;$15_1=($2_1|0)<($9_1|0)?$9_1:$2_1;while(1){if(($9_1|0)==($15_1|0)){break label$1}$2_1=HEAP32[$3_1+8>>2];$8_1=0-$2_1|0;$7_1=HEAP32[$3_1+12>>2]+1|0;$16_1=($8_1|0)>($7_1|0)?$8_1:$7_1;$2_1=Math_imul((Math_imul(($9_1<<1)+$5_1|0,$1_1)+$4_1|0)-($2_1<<1)|0,3)+$0_1|0;while(1){if(($8_1|0)!=($16_1|0)){$12_1=HEAPU16[$10_1>>1];if(($12_1|0)!=4096){$7_1=(HEAPU8[$2_1+2|0]+(HEAPU8[$2_1+1|0]+HEAPU8[$2_1|0]|0)>>>0)/3|0;$11_1=$7_1+$11_1|0;$14_1=Math_imul($7_1,$12_1)+$14_1|0;$13_1=Math_imul($7_1,$7_1)+$13_1|0}$8_1=$8_1+1|0;$10_1=$10_1+2|0;$2_1=$2_1+6|0;continue}break}$9_1=$9_1+1|0;continue}}if(($2_1&-2)==2){$9_1=0-HEAP32[$3_1+16>>2]|0;$2_1=HEAP32[$3_1+20>>2]+1|0;$15_1=($2_1|0)<($9_1|0)?$9_1:$2_1;while(1){if(($9_1|0)==($15_1|0)){break label$1}$2_1=HEAP32[$3_1+8>>2];$8_1=0-$2_1|0;$7_1=HEAP32[$3_1+12>>2]+1|0;$16_1=($8_1|0)>($7_1|0)?$8_1:$7_1;$2_1=((Math_imul(($9_1<<1)+$5_1|0,$1_1)+$4_1|0)-($2_1<<1)<<2)+$0_1|0;while(1){if(($8_1|0)!=($16_1|0)){$12_1=HEAPU16[$10_1>>1];if(($12_1|0)!=4096){$7_1=(HEAPU8[$2_1+2|0]+(HEAPU8[$2_1+1|0]+HEAPU8[$2_1|0]|0)>>>0)/3|0;$11_1=$7_1+$11_1|0;$14_1=Math_imul($7_1,$12_1)+$14_1|0;$13_1=Math_imul($7_1,$7_1)+$13_1|0}$8_1=$8_1+1|0;$10_1=$10_1+2|0;$2_1=$2_1+8|0;continue}break}$9_1=$9_1+1|0;continue}}if(($2_1&-3)==4){$9_1=0-HEAP32[$3_1+16>>2]|0;$2_1=HEAP32[$3_1+20>>2]+1|0;$15_1=($2_1|0)<($9_1|0)?$9_1:$2_1;while(1){if(($9_1|0)==($15_1|0)){break label$1}$2_1=HEAP32[$3_1+8>>2];$8_1=0-$2_1|0;$7_1=HEAP32[$3_1+12>>2]+1|0;$16_1=($8_1|0)>($7_1|0)?$8_1:$7_1;$2_1=((Math_imul(($9_1<<1)+$5_1|0,$1_1)+$4_1|0)-($2_1<<1)<<2)+$0_1|0;while(1){if(($8_1|0)!=($16_1|0)){$12_1=HEAPU16[$10_1>>1];if(($12_1|0)!=4096){$7_1=(HEAPU8[$2_1+3|0]+(HEAPU8[$2_1+2|0]+HEAPU8[$2_1+1|0]|0)>>>0)/3|0;$11_1=$7_1+$11_1|0;$14_1=Math_imul($7_1,$12_1)+$14_1|0;$13_1=Math_imul($7_1,$7_1)+$13_1|0}$8_1=$8_1+1|0;$10_1=$10_1+2|0;$2_1=$2_1+8|0;continue}break}$9_1=$9_1+1|0;continue}}label$22:{switch($2_1-7|0){case 0:$9_1=0-HEAP32[$3_1+16>>2]|0;$2_1=HEAP32[$3_1+20>>2]+1|0;$15_1=($2_1|0)<($9_1|0)?$9_1:$2_1;while(1){if(($9_1|0)==($15_1|0)){break label$1}$8_1=HEAP32[$3_1+8>>2];$2_1=0-$8_1|0;$7_1=HEAP32[$3_1+12>>2]+1|0;$16_1=($2_1|0)>($7_1|0)?$2_1:$7_1;$8_1=((Math_imul(($9_1<<1)+$5_1|0,$1_1)+$4_1|0)-($8_1<<1)<<1)+$0_1|0;while(1){if(($2_1|0)!=($16_1|0)){$12_1=HEAPU16[$10_1>>1];if(($12_1|0)!=4096){$7_1=HEAPU8[$8_1+1|0];$11_1=$7_1+$11_1|0;$14_1=Math_imul($7_1,$12_1)+$14_1|0;$13_1=Math_imul($7_1,$7_1)+$13_1|0}$2_1=$2_1+1|0;$10_1=$10_1+2|0;$8_1=$8_1+4|0;continue}break}$9_1=$9_1+1|0;continue};case 1:break label$22;default:break label$1}}$9_1=0-HEAP32[$3_1+16>>2]|0;$2_1=HEAP32[$3_1+20>>2]+1|0;$15_1=($2_1|0)<($9_1|0)?$9_1:$2_1;while(1){if(($9_1|0)==($15_1|0)){break label$1}$8_1=HEAP32[$3_1+8>>2];$2_1=0-$8_1|0;$7_1=HEAP32[$3_1+12>>2]+1|0;$16_1=($2_1|0)>($7_1|0)?$2_1:$7_1;$8_1=((Math_imul(($9_1<<1)+$5_1|0,$1_1)+$4_1|0)-($8_1<<1)<<1)+$0_1|0;while(1){if(($2_1|0)!=($16_1|0)){$12_1=HEAPU16[$10_1>>1];if(($12_1|0)!=4096){$7_1=HEAPU8[$8_1|0];$11_1=$7_1+$11_1|0;$14_1=Math_imul($7_1,$12_1)+$14_1|0;$13_1=Math_imul($7_1,$7_1)+$13_1|0}$2_1=$2_1+1|0;$10_1=$10_1+2|0;$8_1=$8_1+4|0;continue}break}$9_1=$9_1+1|0;continue}}$0_1=HEAP32[$3_1+36>>2];$1_1=(Math_imul($11_1,$11_1)|0)/($0_1|0)|0;if(($1_1|0)!=($13_1|0)){$2_1=Math_imul((Math_imul($14_1-((Math_imul(HEAP32[$3_1+32>>2],$11_1)|0)/($0_1|0)|0)|0,100)|0)/HEAP32[$3_1+28>>2]|0,100);$17_1=Math_fround(Math_sqrt(Math_fround($13_1-$1_1|0)));label$33:{if(Math_fround(Math_abs($17_1))>2]=$0_1}function $1117($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0;$2_1=global$0-16|0;global$0=$2_1;$6_1=HEAP32[$0_1+24>>2];$5_1=HEAP32[$6_1+4>>2];label$1:{if(!$5_1){if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){$5_1=0;break label$1}$5_1=HEAP32[$6_1+4>>2]}$1_1=HEAP32[$6_1>>2];$4_1=HEAPU8[$1_1|0];$5_1=$5_1-1|0;if($5_1){$1_1=$1_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){$5_1=0;break label$1}$5_1=HEAP32[$6_1+4>>2];$1_1=HEAP32[$6_1>>2]}$8_1=$1_1+1|0;$5_1=$5_1-1|0;$1_1=HEAPU8[$1_1|0]|$4_1<<8;$4_1=$1_1-2|0;$1_1=$1_1>>>0>15?14:$1_1>>>0<$4_1>>>0?0:$4_1;if($1_1){while(1){if(!$5_1){if(!(FUNCTION_TABLE[HEAP32[$6_1+12>>2]]($0_1)|0)){$5_1=0;break label$1}$8_1=HEAP32[$6_1>>2];$5_1=HEAP32[$6_1+4>>2]}HEAP8[($2_1+2|0)+$3_1|0]=HEAPU8[$8_1|0];$8_1=$8_1+1|0;$5_1=$5_1-1|0;$3_1=$3_1+1|0;if(($1_1|0)!=($3_1|0)){continue}break}}$12_1=$4_1-$1_1|0;label$11:{label$12:{label$13:{$3_1=HEAP32[$0_1+440>>2];$7_1=$3_1-224|0;if($7_1){if(($7_1|0)==14){break label$13}break label$12}$4_1=$1_1+$12_1|0;label$17:{label$18:{label$19:{label$20:{if($1_1>>>0>=14){if(HEAPU8[$2_1+2|0]!=74){break label$19}if(HEAPU8[$2_1+3|0]!=70|HEAPU8[$2_1+4|0]!=73|(HEAPU8[$2_1+6|0]|HEAPU8[$2_1+5|0]!=70)){break label$20}HEAP32[$0_1+284>>2]=1;$1_1=HEAPU8[$2_1+7|0];HEAP8[$0_1+288|0]=$1_1;$7_1=HEAPU8[$2_1+8|0];HEAP8[$0_1+289|0]=$7_1;$9_1=HEAPU8[$2_1+9|0];HEAP8[$0_1+290|0]=$9_1;$3_1=HEAPU8[$2_1+10|0]|HEAPU8[$2_1+11|0]<<8;$10_1=$3_1<<8|$3_1>>>8;HEAP16[$0_1+292>>1]=$10_1;$3_1=HEAPU8[$2_1+12|0]|HEAPU8[$2_1+13|0]<<8;$11_1=$3_1<<8|$3_1>>>8;HEAP16[$0_1+294>>1]=$11_1;if(($1_1-1&255)>>>0>=2){$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+24>>2]=$1_1;HEAP32[$3_1+20>>2]=122;HEAP32[HEAP32[$0_1>>2]+28>>2]=HEAPU8[$0_1+289|0];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,-1);$9_1=HEAPU8[$0_1+290|0];$11_1=HEAPU16[$0_1+294>>1];$10_1=HEAPU16[$0_1+292>>1];$7_1=HEAPU8[$0_1+289|0];$1_1=HEAPU8[$0_1+288|0]}$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+24>>2]=$1_1;HEAP32[$3_1+20>>2]=89;HEAP32[$3_1+40>>2]=$9_1;HEAP32[$3_1+36>>2]=$11_1&65535;HEAP32[$3_1+32>>2]=$10_1&65535;HEAP32[$3_1+28>>2]=$7_1;FUNCTION_TABLE[HEAP32[$3_1+4>>2]]($0_1,1);$1_1=HEAPU8[$2_1+14|0];$3_1=HEAPU8[$2_1+15|0];if($1_1|$3_1){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=92;HEAP32[$1_1+24>>2]=HEAPU8[$2_1+14|0];HEAP32[HEAP32[$0_1>>2]+28>>2]=HEAPU8[$2_1+15|0];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,1);$3_1=HEAPU8[$2_1+15|0];$7_1=HEAPU8[$2_1+14|0]}else{$7_1=$1_1}$1_1=$4_1-14|0;if((Math_imul(Math_imul($7_1,$3_1),3)|0)==($1_1|0)){break label$17}$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+24>>2]=$1_1;HEAP32[$4_1+20>>2]=90;break label$18}if(HEAPU8[$2_1+2|0]!=74|$1_1>>>0<6){break label$19}}if(HEAPU8[$2_1+3|0]!=70|HEAPU8[$2_1+4|0]!=88|(HEAPU8[$2_1+6|0]|HEAPU8[$2_1+5|0]!=88)){break label$19}label$24:{switch(HEAPU8[$2_1+7|0]-16|0){case 0:$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$4_1;HEAP32[$1_1+20>>2]=110;break label$18;case 1:$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$4_1;HEAP32[$1_1+20>>2]=111;break label$18;case 3:$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$4_1;HEAP32[$1_1+20>>2]=112;break label$18;default:break label$24}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=91;HEAP32[$1_1+24>>2]=HEAPU8[$2_1+7|0];HEAP32[HEAP32[$0_1>>2]+28>>2]=$4_1;break label$18}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$4_1;HEAP32[$1_1+20>>2]=79}FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,1)}break label$11}label$28:{if(HEAPU8[$2_1+2|0]!=65|$1_1>>>0<12|(HEAPU8[$2_1+3|0]!=100|HEAPU8[$2_1+4|0]!=111)){break label$28}if(HEAPU8[$2_1+5|0]!=98|HEAPU8[$2_1+6|0]!=101){break label$28}$3_1=HEAPU8[$2_1+8|0];$7_1=HEAPU8[$2_1+7|0];$9_1=HEAPU8[$2_1+10|0];$10_1=HEAPU8[$2_1+9|0];$11_1=HEAPU8[$2_1+12|0];$13_1=HEAPU8[$2_1+11|0];$4_1=HEAPU8[$2_1+13|0];$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=78;HEAP32[$1_1+36>>2]=$4_1;HEAP32[$1_1+32>>2]=$11_1|$13_1<<8;HEAP32[$1_1+28>>2]=$9_1|$10_1<<8;HEAP32[$1_1+24>>2]=$3_1|$7_1<<8;FUNCTION_TABLE[HEAP32[$1_1+4>>2]]($0_1,1);HEAP8[$0_1+300|0]=$4_1;HEAP32[$0_1+296>>2]=1;break label$11}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$4_1;HEAP32[$1_1+20>>2]=80;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,1);break label$11}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$3_1;HEAP32[$1_1+20>>2]=70;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}HEAP32[$6_1+4>>2]=$5_1;HEAP32[$6_1>>2]=$8_1;$5_1=1;if(($12_1|0)<=0){break label$1}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+24>>2]+16>>2]]($0_1,$12_1)}global$0=$2_1+16|0;return $5_1|0}function $1047($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0;$23_1=global$0-352|0;global$0=$23_1;$21_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$23_1;while(1){$16_1=HEAP32[$1_1+224>>2];$17_1=HEAP16[$2_1+112>>1];$6_1=HEAP32[$1_1+96>>2];$9_1=HEAP16[$2_1+48>>1];$13_1=HEAP32[$1_1+160>>2];$14_1=HEAP16[$2_1+80>>1];$10_1=HEAP32[$1_1+32>>2];$18_1=HEAP16[$2_1+16>>1];$5_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$11_1=Math_imul(HEAP32[$1_1+192>>2],HEAP16[$2_1+96>>1]);$12_1=Math_imul(HEAP32[$1_1+64>>2],HEAP16[$2_1+32>>1]);$15_1=$11_1+$12_1|0;$7_1=Math_imul(HEAP32[$1_1+128>>2],HEAP16[$2_1+64>>1]);$19_1=$15_1-$7_1|0;HEAP32[$0_1+160>>2]=$5_1+Math_imul($19_1,-11585)>>11;$6_1=Math_imul($6_1,$9_1);$10_1=Math_imul($10_1,$18_1);$8_1=$6_1+$10_1|0;$18_1=Math_imul($8_1,7274);$9_1=Math_imul($13_1,$14_1);$13_1=Math_imul($9_1+$10_1|0,5492);$16_1=Math_imul($16_1,$17_1);$17_1=Math_imul($16_1+($9_1+$8_1|0)|0,3264);$14_1=$5_1+Math_imul($19_1,11116)|0;$19_1=$14_1+Math_imul($7_1-$11_1|0,20862)|0;$5_1=$19_1+Math_imul($11_1,17333)|0;$8_1=$13_1+($18_1+Math_imul($10_1,-7562)|0)|0;$10_1=$17_1+Math_imul($10_1+$16_1|0,3e3)|0;$8_1=$8_1+$10_1|0;HEAP32[$0_1+320>>2]=$5_1-$8_1>>11;HEAP32[$0_1>>2]=$5_1+$8_1>>11;$5_1=Math_imul($11_1,-6461);$11_1=$14_1+Math_imul($15_1,-9467)|0;$15_1=$5_1+$11_1|0;$5_1=$13_1+Math_imul($9_1,-9766)|0;$13_1=$17_1+Math_imul($6_1+$9_1|0,-9527)|0;$5_1=$5_1+$13_1|0;HEAP32[$0_1+256>>2]=$15_1-$5_1>>11;HEAP32[$0_1+64>>2]=$15_1+$5_1>>11;$5_1=$14_1;$14_1=Math_imul($7_1-$12_1|0,3529);$15_1=($5_1+$14_1|0)+Math_imul($12_1,-12399)|0;$5_1=$10_1;$10_1=Math_imul($6_1+$16_1|0,-14731);$5_1=$5_1+($10_1+Math_imul($16_1,17223)|0)|0;HEAP32[$0_1+224>>2]=$15_1-$5_1>>11;HEAP32[$0_1+96>>2]=$15_1+$5_1>>11;$11_1=$11_1+(Math_imul($7_1,15929)+Math_imul($12_1,-11395)|0)|0;$9_1=$17_1+((Math_imul($9_1,8203)+Math_imul($6_1,-12019)|0)+Math_imul($16_1,-13802)|0)|0;HEAP32[$0_1+192>>2]=$11_1-$9_1>>11;HEAP32[$0_1+128>>2]=$9_1+$11_1>>11;$7_1=$14_1+($19_1+Math_imul($7_1,-14924)|0)|0;$6_1=$13_1+($10_1+($18_1+Math_imul($6_1,16984)|0)|0)|0;HEAP32[$0_1+288>>2]=$7_1-$6_1>>11;HEAP32[$0_1+32>>2]=$6_1+$7_1>>11;$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+2|0;$20_1=$20_1+1|0;if(($20_1|0)!=8){continue}break}$0_1=$21_1-384|0;$1_1=$23_1;$11_1=0;while(1){$7_1=HEAP32[$1_1+12>>2];$12_1=HEAP32[$1_1+4>>2];$2_1=$7_1+$12_1|0;$14_1=Math_imul($2_1,7274);$6_1=HEAP32[$1_1+20>>2];$21_1=Math_imul($6_1+$12_1|0,5492);$9_1=HEAP32[$1_1+28>>2];$10_1=Math_imul($9_1+($2_1+$6_1|0)|0,3264);$5_1=(HEAP32[$1_1>>2]<<13)+134348800|0;$17_1=HEAP32[$1_1+24>>2];$18_1=HEAP32[$1_1+8>>2];$15_1=$17_1+$18_1|0;$16_1=HEAP32[$1_1+16>>2];$19_1=$15_1-$16_1|0;$13_1=$5_1+Math_imul($19_1,11116)|0;$2_1=HEAP32[($11_1<<2)+$3_1>>2]+$4_1|0;$8_1=$21_1+($14_1+Math_imul($12_1,-7562)|0)|0;$12_1=$10_1+Math_imul($9_1+$12_1|0,3e3)|0;$8_1=$8_1+$12_1|0;$20_1=$13_1+Math_imul($16_1-$17_1|0,20862)|0;$22_1=$20_1+Math_imul($17_1,17333)|0;HEAP8[$2_1|0]=HEAPU8[$0_1+($8_1+$22_1>>>18&1023)|0];HEAP8[$2_1+10|0]=HEAPU8[$0_1+($22_1-$8_1>>>18&1023)|0];$8_1=$10_1+Math_imul($6_1+$7_1|0,-9527)|0;$22_1=$14_1+Math_imul($7_1,16984)|0;$14_1=Math_imul($9_1+$7_1|0,-14731);$22_1=$8_1+($22_1+$14_1|0)|0;$24_1=Math_imul($16_1-$18_1|0,3529);$20_1=$24_1+($20_1+Math_imul($16_1,-14924)|0)|0;HEAP8[$2_1+1|0]=HEAPU8[$0_1+($22_1+$20_1>>>18&1023)|0];HEAP8[$2_1+9|0]=HEAPU8[$0_1+($20_1-$22_1>>>18&1023)|0];$21_1=$8_1+($21_1+Math_imul($6_1,-9766)|0)|0;$8_1=Math_imul($17_1,-6461);$17_1=$13_1+Math_imul($15_1,-9467)|0;$15_1=$8_1+$17_1|0;HEAP8[$2_1+2|0]=HEAPU8[$0_1+($21_1+$15_1>>>18&1023)|0];HEAP8[$2_1+8|0]=HEAPU8[$0_1+($15_1-$21_1>>>18&1023)|0];$12_1=$12_1+($14_1+Math_imul($9_1,17223)|0)|0;$13_1=($13_1+$24_1|0)+Math_imul($18_1,-12399)|0;HEAP8[$2_1+3|0]=HEAPU8[$0_1+($12_1+$13_1>>>18&1023)|0];HEAP8[$2_1+7|0]=HEAPU8[$0_1+($13_1-$12_1>>>18&1023)|0];$7_1=$10_1+((Math_imul($6_1,8203)+Math_imul($7_1,-12019)|0)+Math_imul($9_1,-13802)|0)|0;$6_1=$17_1+(Math_imul($16_1,15929)+Math_imul($18_1,-11395)|0)|0;HEAP8[$2_1+4|0]=HEAPU8[$0_1+($7_1+$6_1>>>18&1023)|0];HEAP8[$2_1+6|0]=HEAPU8[$0_1+($6_1-$7_1>>>18&1023)|0];HEAP8[$2_1+5|0]=HEAPU8[$0_1+($5_1+Math_imul($19_1,268423871)>>>18&1023)|0];$1_1=$1_1+32|0;$11_1=$11_1+1|0;if(($11_1|0)!=11){continue}break}global$0=$23_1+352|0}function $1033($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0;$23_1=global$0-512|0;global$0=$23_1;$18_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$23_1;while(1){$11_1=Math_imul(HEAP32[$1_1+64>>2],HEAP16[$2_1+32>>1]);$13_1=Math_imul(HEAP32[$1_1+192>>2],HEAP16[$2_1+96>>1]);$8_1=$11_1-$13_1|0;$15_1=Math_imul($8_1,11363);$10_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$9_1=Math_imul(HEAP32[$1_1+32>>2],HEAP16[$2_1+16>>1]);$6_1=Math_imul($10_1+$9_1|0,11086);$16_1=$15_1+Math_imul($13_1,20995)|0;$14_1=Math_imul(HEAP32[$1_1+128>>2],HEAP16[$2_1+64>>1]);$19_1=Math_imul($14_1,10703);$7_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$20_1=$19_1+$7_1|0;$17_1=$16_1+$20_1|0;$5_1=Math_imul(HEAP32[$1_1+224>>2],HEAP16[$2_1+112>>1]);$24_1=Math_imul($5_1+$9_1|0,8956);$12_1=Math_imul(HEAP32[$1_1+160>>2],HEAP16[$2_1+80>>1]);$25_1=$12_1+$9_1|0;$21_1=Math_imul($25_1,10217);$22_1=$24_1+($21_1+($6_1+Math_imul($9_1,-18730)|0)|0)|0;HEAP32[$0_1+480>>2]=$17_1-$22_1>>11;HEAP32[$0_1>>2]=$17_1+$22_1>>11;$8_1=Math_imul($8_1,2260);$17_1=$8_1+Math_imul($11_1,7373)|0;$14_1=Math_imul($14_1,4433);$22_1=$14_1+$7_1|0;$26_1=$17_1+$22_1|0;$27_1=$5_1+$10_1|0;$28_1=Math_imul($27_1,-5461);$29_1=Math_imul($10_1+$12_1|0,1136);$6_1=$28_1+($29_1+($6_1+Math_imul($10_1,589)|0)|0)|0;HEAP32[$0_1+448>>2]=$26_1-$6_1>>11;HEAP32[$0_1+32>>2]=$6_1+$26_1>>11;$11_1=$15_1+Math_imul($11_1,-4926)|0;$15_1=$7_1-$14_1|0;$6_1=$11_1+$15_1|0;$14_1=Math_imul($5_1+$12_1|0,-11086);$21_1=$14_1+($21_1+(Math_imul($12_1,-9222)+$29_1|0)|0)|0;HEAP32[$0_1+416>>2]=$6_1-$21_1>>11;HEAP32[$0_1+64>>2]=$6_1+$21_1>>11;$13_1=$8_1+Math_imul($13_1,-4176)|0;$7_1=$7_1-$19_1|0;$6_1=$13_1+$7_1|0;$8_1=$14_1+((Math_imul($5_1,8728)+$28_1|0)+$24_1|0)|0;HEAP32[$0_1+384>>2]=$6_1-$8_1>>11;HEAP32[$0_1+96>>2]=$6_1+$8_1>>11;$7_1=$7_1-$13_1|0;$6_1=Math_imul($9_1-$5_1|0,7350);$13_1=Math_imul($27_1,-10217);$8_1=$6_1+($13_1+Math_imul($5_1,25733)|0)|0;$5_1=Math_imul($5_1-$12_1|0,3363);$8_1=$8_1+$5_1|0;HEAP32[$0_1+352>>2]=$7_1-$8_1>>11;HEAP32[$0_1+128>>2]=$7_1+$8_1>>11;$7_1=$15_1-$11_1|0;$11_1=Math_imul($25_1,5461);$8_1=Math_imul($12_1,-6278);$12_1=Math_imul($12_1-$10_1|0,11529);$5_1=$5_1+($11_1+($8_1+$12_1|0)|0)|0;HEAP32[$0_1+320>>2]=$7_1-$5_1>>11;HEAP32[$0_1+160>>2]=$5_1+$7_1>>11;$5_1=$22_1-$17_1|0;$7_1=Math_imul($10_1,16154);$10_1=Math_imul($9_1-$10_1|0,3363);$12_1=$13_1+($12_1+($7_1+$10_1|0)|0)|0;HEAP32[$0_1+288>>2]=$5_1-$12_1>>11;HEAP32[$0_1+192>>2]=$5_1+$12_1>>11;$5_1=$20_1-$16_1|0;$10_1=$6_1+($11_1+($10_1+Math_imul($9_1,-15038)|0)|0)|0;HEAP32[$0_1+256>>2]=$5_1-$10_1>>11;HEAP32[$0_1+224>>2]=$5_1+$10_1>>11;$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+2|0;$30_1=$30_1+1|0;if(($30_1|0)!=8){continue}break}$1_1=$18_1-384|0;$0_1=$23_1;$10_1=0;while(1){$9_1=HEAP32[$0_1+4>>2];$5_1=HEAP32[$0_1+28>>2];$12_1=Math_imul($9_1+$5_1|0,-7373);$7_1=HEAP32[$0_1+20>>2];$6_1=$7_1+$9_1|0;$11_1=HEAP32[$0_1+12>>2];$18_1=$11_1+$5_1|0;$13_1=Math_imul($6_1+$18_1|0,9633);$8_1=HEAP32[$0_1+24>>2];$16_1=HEAP32[$0_1+8>>2];$15_1=Math_imul($8_1+$16_1|0,4433);$2_1=HEAP32[($10_1<<2)+$3_1>>2]+$4_1|0;$14_1=$12_1+Math_imul($9_1,12299)|0;$9_1=$13_1+Math_imul($6_1,-3196)|0;$6_1=$14_1+$9_1|0;$16_1=$15_1+Math_imul($16_1,6270)|0;$14_1=HEAP32[$0_1>>2]+16400|0;$19_1=HEAP32[$0_1+16>>2];$20_1=$14_1+$19_1<<13;$17_1=$16_1+$20_1|0;HEAP8[$2_1|0]=HEAPU8[$1_1+($6_1+$17_1>>>18&1023)|0];HEAP8[$2_1+7|0]=HEAPU8[$1_1+($17_1-$6_1>>>18&1023)|0];$13_1=$13_1+Math_imul($18_1,-16069)|0;$6_1=Math_imul($11_1,25172);$11_1=Math_imul($7_1+$11_1|0,-20995);$6_1=$13_1+($6_1+$11_1|0)|0;$15_1=$15_1+Math_imul($8_1,-15137)|0;$18_1=$14_1-$19_1<<13;$8_1=$15_1+$18_1|0;HEAP8[$2_1+1|0]=HEAPU8[$1_1+($6_1+$8_1>>>18&1023)|0];HEAP8[$2_1+6|0]=HEAPU8[$1_1+($8_1-$6_1>>>18&1023)|0];$9_1=$9_1+($11_1+Math_imul($7_1,16819)|0)|0;$7_1=$18_1-$15_1|0;HEAP8[$2_1+2|0]=HEAPU8[$1_1+($9_1+$7_1>>>18&1023)|0];HEAP8[$2_1+5|0]=HEAPU8[$1_1+($7_1-$9_1>>>18&1023)|0];$9_1=$13_1+($12_1+Math_imul($5_1,2446)|0)|0;$5_1=$20_1-$16_1|0;HEAP8[$2_1+3|0]=HEAPU8[$1_1+($9_1+$5_1>>>18&1023)|0];HEAP8[$2_1+4|0]=HEAPU8[$1_1+($5_1-$9_1>>>18&1023)|0];$0_1=$0_1+32|0;$10_1=$10_1+1|0;if(($10_1|0)!=16){continue}break}global$0=$23_1+512|0}function $330($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=Math_fround(0),$15_1=0,$16_1=0,$17_1=0,$18_1=Math_fround(0),$19_1=0;$17_1=$0_1;$14_1=$2_1;$2_1=Math_fround(1<<$4_1);$18_1=Math_fround($14_1*$2_1);$7_1=+($4_1-1|0);wasm2js_scratch_store_f64(+$7_1);$4_1=wasm2js_scratch_load_i32(1)|0;$0_1=wasm2js_scratch_load_i32(0)|0;label$1:{label$2:{label$3:{label$4:{$8_1=$4_1;$9_1=$4_1&2147483647;if($0_1|$9_1){$5_1=$7_1+2;if(!((!$0_1|($9_1|0)!=2146435072)&$9_1>>>0<=2146435072)){break label$1}label$6:{if($0_1){break label$6}$5_1=($4_1|0)>0|($4_1|0)>=0?$7_1:0;if(($9_1|0)==2146435072){break label$1}if(($9_1|0)==1072693248){$5_1=2;if(($4_1|0)>0|($4_1|0)>=0){break label$1}$5_1=.5;break label$1}$5_1=4;if(($8_1|0)==1073741824){break label$1}if(($8_1|0)!=1071644672){break label$6}$5_1=1.4142135623730951;break label$1}if($9_1>>>0>=1105199105){break label$2}$10_1=HEAPF64[5382];$11_1=HEAPF64[5380];$12_1=1-$11_1;$16_1=1/($11_1+1);$6_1=$12_1*$16_1;wasm2js_scratch_store_f64(+$6_1);$0_1=wasm2js_scratch_load_i32(1)|0;wasm2js_scratch_load_i32(0)|0;wasm2js_scratch_store_i32(0,0);wasm2js_scratch_store_i32(1,$0_1|0);$5_1=+wasm2js_scratch_load_f64();$13_1=$5_1*$5_1;$15_1=$10_1;$19_1=$5_1;$11_1=$16_1*($12_1-($5_1+$5_1)-$5_1*(1-(2-$11_1)));$10_1=$11_1*($6_1+$5_1);$5_1=$6_1*$6_1;$10_1=$10_1+$5_1*$5_1*($5_1*($5_1*($5_1*($5_1*($5_1*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);wasm2js_scratch_store_f64(+($13_1+3+$10_1));$0_1=wasm2js_scratch_load_i32(1)|0;wasm2js_scratch_load_i32(0)|0;wasm2js_scratch_store_i32(0,0);wasm2js_scratch_store_i32(1,$0_1|0);$5_1=+wasm2js_scratch_load_f64();$12_1=$19_1*$5_1;$6_1=$11_1*$5_1+$6_1*($10_1-($5_1+-3-$13_1));wasm2js_scratch_store_f64(+($12_1+$6_1));$0_1=wasm2js_scratch_load_i32(1)|0;wasm2js_scratch_load_i32(0)|0;wasm2js_scratch_store_i32(0,0);wasm2js_scratch_store_i32(1,$0_1|0);$5_1=+wasm2js_scratch_load_f64();$6_1=$15_1+($5_1*-7.028461650952758e-9+($6_1-($5_1-$12_1))*.9617966939259756);$11_1=HEAPF64[5384];$13_1=$5_1*.9617967009544373;wasm2js_scratch_store_f64(+($11_1+($6_1+$13_1)+1));$0_1=wasm2js_scratch_load_i32(1)|0;wasm2js_scratch_load_i32(0)|0;wasm2js_scratch_store_i32(0,0);wasm2js_scratch_store_i32(1,$0_1|0);$5_1=+wasm2js_scratch_load_f64();wasm2js_scratch_store_i32(0,0);wasm2js_scratch_store_i32(1,$4_1|0);$10_1=+wasm2js_scratch_load_f64();$7_1=($7_1-$10_1)*$5_1+($6_1-($5_1-1-$11_1-$13_1))*$7_1;$5_1=$5_1*$10_1;$6_1=$7_1+$5_1;wasm2js_scratch_store_f64(+$6_1);$9_1=wasm2js_scratch_load_i32(1)|0;$0_1=wasm2js_scratch_load_i32(0)|0;label$8:{$8_1=$9_1;if(($8_1|0)>=1083179008){if($0_1|$8_1-1083179008){break label$4}if(!($7_1+8008566259537294e-32>$6_1-$5_1)){break label$8}break label$4}if(($8_1&2147482624)>>>0<1083231232){break label$8}if($0_1|$8_1+1064252416){break label$3}if(!($7_1<=$6_1-$5_1)){break label$8}break label$3}$4_1=0;$0_1=$8_1&2147483647;if($0_1>>>0>=1071644673){$0_1=$8_1+(1048576>>>($0_1>>>20|0)-1022|0)|0;$8_1=$0_1>>>20&2047;$4_1=($0_1&1048575|1048576)>>>1043-$8_1|0;$4_1=($9_1|0)<0?0-$4_1|0:$4_1;wasm2js_scratch_store_i32(0,0);wasm2js_scratch_store_i32(1,$0_1&-1048576>>$8_1-1023);$5_1=$5_1-+wasm2js_scratch_load_f64();wasm2js_scratch_store_f64(+($7_1+$5_1));$9_1=wasm2js_scratch_load_i32(1)|0;wasm2js_scratch_load_i32(0)|0}wasm2js_scratch_store_i32(0,0);wasm2js_scratch_store_i32(1,$9_1|0);$6_1=+wasm2js_scratch_load_f64();$11_1=$6_1*.6931471824645996;$6_1=($7_1-($6_1-$5_1))*.6931471805599453+$6_1*-1.904654299957768e-9;$5_1=$11_1+$6_1;$7_1=$5_1*$5_1;$7_1=$5_1-$7_1*($7_1*($7_1*($7_1*($7_1*4.1381367970572385e-8+-16533902205465252e-22)+6613756321437934e-20)+-.0027777777777015593)+.16666666666666602);$15_1=$5_1*$7_1/($7_1+-2);$10_1=$5_1;$5_1=$6_1-($5_1-$11_1);$5_1=$10_1-($15_1-($10_1*$5_1+$5_1))+1;wasm2js_scratch_store_f64(+$5_1);$0_1=wasm2js_scratch_load_i32(1)|0;$9_1=wasm2js_scratch_load_i32(0)|0;$0_1=($4_1<<20)+$0_1|0;label$10:{if(($0_1|0)<=1048575){$5_1=$188($5_1,$4_1);break label$10}wasm2js_scratch_store_i32(0,$9_1|0);wasm2js_scratch_store_i32(1,$0_1|0);$5_1=+wasm2js_scratch_load_f64()}$5_1=$5_1*1}else{$5_1=1}break label$1}$5_1=infinity;break label$1}$5_1=0;break label$1}$5_1=($8_1|0)>0?infinity:0}$14_1=Math_fround($5_1+-.5);HEAPF32[$17_1>>2]=$18_1+$14_1;HEAPF32[$1_1>>2]=Math_fround($3_1*$2_1)+$14_1}function $1098($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0;$3_1=global$0-288|0;global$0=$3_1;$6_1=HEAP32[$0_1+468>>2];label$1:{label$2:{if(HEAP32[$6_1+44>>2]|!HEAP32[$0_1+280>>2]){break label$2}$7_1=HEAP32[$0_1+464>>2];HEAP32[$7_1+24>>2]=HEAP32[$7_1+24>>2]+(HEAP32[$6_1+16>>2]/8|0);HEAP32[$6_1+16>>2]=0;if(!(FUNCTION_TABLE[HEAP32[$7_1+8>>2]]($0_1)|0)){break label$1}if(HEAP32[$0_1+340>>2]>0){while(1){HEAP32[(($2_1<<2)+$6_1|0)+24>>2]=0;$2_1=$2_1+1|0;if(($2_1|0)>2]){continue}break}}HEAP32[$6_1+20>>2]=0;HEAP32[$6_1+44>>2]=HEAP32[$0_1+280>>2];if(HEAP32[$0_1+440>>2]){break label$2}HEAP32[$6_1+40>>2]=0}label$5:{if(!HEAP32[$6_1+40>>2]){$13_1=HEAP32[$0_1+432>>2];$11_1=HEAP32[$0_1+416>>2];$4_1=HEAP32[$0_1+424>>2];HEAP32[$3_1+280>>2]=$0_1;$2_1=HEAP32[$0_1+24>>2];HEAP32[$3_1+264>>2]=HEAP32[$2_1>>2];HEAP32[$3_1+268>>2]=HEAP32[$2_1+4>>2];$14_1=-1<<$4_1;$12_1=1<<$4_1;$2_1=HEAP32[$6_1+16>>2];$4_1=HEAP32[$0_1+412>>2];$10_1=HEAP32[$1_1>>2];$5_1=HEAP32[$6_1+12>>2];label$7:{label$8:{$7_1=HEAP32[$6_1+20>>2];if($7_1){break label$8}$15_1=HEAP32[$6_1+64>>2];while(1){label$11:{label$12:{label$13:{if(($2_1|0)<=7){if(!$56($3_1+264|0,$5_1,$2_1,0)){break label$5}$5_1=HEAP32[$3_1+272>>2];$2_1=HEAP32[$3_1+276>>2];$1_1=1;if(($2_1|0)<8){break label$13}}$1_1=$5_1>>$2_1-8&255;$7_1=HEAP32[(($1_1<<2)+$15_1|0)+144>>2];if($7_1){break label$12}$1_1=9}$1_1=$178($3_1+264|0,$5_1,$2_1,$15_1,$1_1);if(($1_1|0)<0){break label$5}$5_1=HEAP32[$3_1+272>>2];$2_1=HEAP32[$3_1+276>>2];break label$11}$1_1=HEAPU8[($1_1+$15_1|0)+1168|0];$2_1=$2_1-$7_1|0}$8_1=$1_1>>>4|0;label$15:{label$16:{label$17:{switch($1_1&15){default:$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=121;FUNCTION_TABLE[HEAP32[$1_1+4>>2]]($0_1,-1);case 1:if(($2_1|0)<=0){if(!$56($3_1+264|0,$5_1,$2_1,1)){break label$5}$5_1=HEAP32[$3_1+272>>2];$2_1=HEAP32[$3_1+276>>2]}$2_1=$2_1-1|0;$16_1=$5_1>>>$2_1&1?$12_1:$14_1;break label$16;case 0:break label$17}}$16_1=0;if(($8_1|0)==15){break label$16}$7_1=1<<$8_1;if($1_1>>>0<16){break label$8}if(($2_1|0)<($8_1|0)){if(!$56($3_1+264|0,$5_1,$2_1,$8_1)){break label$5}$5_1=HEAP32[$3_1+272>>2];$2_1=HEAP32[$3_1+276>>2]}$2_1=$2_1-$8_1|0;$7_1=(HEAP32[($8_1<<2)+40080>>2]&$5_1>>$2_1)+$7_1|0;if($7_1){break label$8}break label$15}$18_1=($4_1|0)>($11_1|0)?$4_1:$11_1;$7_1=$18_1+1|0;label$22:{while(1){$1_1=$4_1;$4_1=(HEAP32[($1_1<<2)+$13_1>>2]<<1)+$10_1|0;label$24:{if(HEAPU16[$4_1>>1]){if(($2_1|0)<=0){if(!$56($3_1+264|0,$5_1,$2_1,1)){break label$5}$5_1=HEAP32[$3_1+272>>2];$2_1=HEAP32[$3_1+276>>2]}$2_1=$2_1-1|0;if(!($5_1>>>$2_1&1)){break label$24}$17_1=HEAP16[$4_1>>1];if($17_1&$12_1){break label$24}HEAP16[$4_1>>1]=(($17_1|0)<0?$14_1:$12_1)+$17_1;break label$24}if(($8_1|0)<=0){break label$22}$8_1=$8_1-1|0}$4_1=$1_1+1|0;if(($1_1|0)!=($18_1|0)){continue}break}$1_1=$7_1}if($16_1){$4_1=HEAP32[($1_1<<2)+$13_1>>2];HEAP16[($4_1<<1)+$10_1>>1]=$16_1;HEAP32[($9_1<<2)+$3_1>>2]=$4_1;$9_1=$9_1+1|0}$4_1=$1_1+1|0;if(($1_1|0)<($11_1|0)){continue}}break}$1_1=0;break label$7}$11_1=($4_1|0)>($11_1|0)?$4_1:$11_1;while(1){$1_1=$4_1;$4_1=(HEAP32[($1_1<<2)+$13_1>>2]<<1)+$10_1|0;label$29:{if(!HEAPU16[$4_1>>1]){break label$29}if(($2_1|0)<=0){if(!$56($3_1+264|0,$5_1,$2_1,1)){break label$5}$5_1=HEAP32[$3_1+272>>2];$2_1=HEAP32[$3_1+276>>2]}$2_1=$2_1-1|0;if(!($5_1>>>$2_1&1)){break label$29}$8_1=HEAP16[$4_1>>1];if($8_1&$12_1){break label$29}HEAP16[$4_1>>1]=$8_1+(($8_1|0)<0?$14_1:$12_1)}$4_1=$1_1+1|0;if(($1_1|0)!=($11_1|0)){continue}break}$1_1=$7_1-1|0}$0_1=HEAP32[$0_1+24>>2];HEAP32[$0_1>>2]=HEAP32[$3_1+264>>2];HEAP32[$0_1+4>>2]=HEAP32[$3_1+268>>2];HEAP32[$6_1+20>>2]=$1_1;HEAP32[$6_1+16>>2]=$2_1;HEAP32[$6_1+12>>2]=$5_1}HEAP32[$6_1+44>>2]=HEAP32[$6_1+44>>2]-1;$4_1=1;break label$1}if(!$9_1){$4_1=0;break label$1}$0_1=$9_1-1|0;$1_1=$9_1&3;if($1_1){$2_1=0;while(1){$9_1=$9_1-1|0;HEAP16[(HEAP32[($9_1<<2)+$3_1>>2]<<1)+$10_1>>1]=0;$2_1=$2_1+1|0;if(($1_1|0)!=($2_1|0)){continue}break}}$4_1=0;if($0_1>>>0<3){break label$1}while(1){$0_1=($9_1<<2)+$3_1|0;HEAP16[(HEAP32[$0_1-4>>2]<<1)+$10_1>>1]=0;HEAP16[(HEAP32[$0_1-8>>2]<<1)+$10_1>>1]=0;HEAP16[(HEAP32[$0_1-12>>2]<<1)+$10_1>>1]=0;$9_1=$9_1-4|0;HEAP16[(HEAP32[($9_1<<2)+$3_1>>2]<<1)+$10_1>>1]=0;if($9_1){continue}break}}global$0=$3_1+288|0;return $4_1|0}function $1057($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0;$21_1=global$0-256|0;global$0=$21_1;$15_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$21_1;$14_1=8;while(1){label$2:{label$3:{$5_1=HEAPU16[$2_1+32>>1];$6_1=HEAP16[$2_1+16>>1];if(($5_1|$6_1)&65535){break label$3}$5_1=0;if(HEAPU16[$2_1+48>>1]|HEAPU16[$2_1+64>>1]|(HEAPU16[$2_1+80>>1]|HEAPU16[$2_1+96>>1])){break label$3}if(HEAPU16[$2_1+112>>1]){break label$3}$5_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<2;HEAP32[$0_1+192>>2]=$5_1;HEAP32[$0_1+160>>2]=$5_1;HEAP32[$0_1+128>>2]=$5_1;HEAP32[$0_1+96>>2]=$5_1;HEAP32[$0_1+64>>2]=$5_1;HEAP32[$0_1+32>>2]=$5_1;HEAP32[$0_1>>2]=$5_1;$7_1=56;break label$2}$12_1=Math_imul(HEAP32[$1_1+192>>2],HEAP16[$2_1+96>>1]);$8_1=Math_imul(HEAP32[$1_1+64>>2],$5_1<<16>>16);$5_1=Math_imul($12_1+$8_1|0,4433);$6_1=Math_imul($6_1,HEAP32[$1_1+32>>2]);$9_1=Math_imul(HEAP32[$1_1+224>>2],HEAP16[$2_1+112>>1]);$16_1=Math_imul($6_1+$9_1|0,-7373);$17_1=Math_imul(HEAP32[$1_1+160>>2],HEAP16[$2_1+80>>1]);$7_1=$17_1+$6_1|0;$10_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$11_1=$10_1+$9_1|0;$13_1=Math_imul($7_1+$11_1|0,9633);$8_1=$5_1+Math_imul($8_1,6270)|0;$18_1=Math_imul(HEAP16[$2_1+64>>1],HEAP32[$1_1+128>>2])<<13;$19_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$20_1=$18_1+$19_1|0;$22_1=$8_1+$20_1|0;$23_1=$16_1+Math_imul($6_1,12299)|0;$6_1=$13_1+Math_imul($7_1,-3196)|0;$7_1=$23_1+$6_1|0;HEAP32[$0_1+224>>2]=$22_1-$7_1>>11;HEAP32[$0_1>>2]=$7_1+$22_1>>11;$5_1=$5_1+Math_imul($12_1,-15137)|0;$12_1=$19_1-$18_1|0;$7_1=$5_1+$12_1|0;$13_1=$13_1+Math_imul($11_1,-16069)|0;$11_1=Math_imul($10_1,25172);$10_1=Math_imul($10_1+$17_1|0,-20995);$11_1=$13_1+($11_1+$10_1|0)|0;HEAP32[$0_1+192>>2]=$7_1-$11_1>>11;HEAP32[$0_1+32>>2]=$7_1+$11_1>>11;$5_1=$12_1-$5_1|0;$6_1=$6_1+($10_1+Math_imul($17_1,16819)|0)|0;HEAP32[$0_1+160>>2]=$5_1-$6_1>>11;HEAP32[$0_1+64>>2]=$5_1+$6_1>>11;$5_1=$13_1+($16_1+Math_imul($9_1,2446)|0)|0;$6_1=$20_1-$8_1|0;HEAP32[$0_1+96>>2]=$5_1+$6_1>>11;$5_1=$6_1-$5_1>>11;$7_1=32}HEAP32[($7_1<<2)+$0_1>>2]=$5_1;$2_1=$2_1+2|0;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$5_1=$14_1>>>0>1;$14_1=$14_1-1|0;if($5_1){continue}break}$1_1=$15_1-384|0;$2_1=$21_1;$14_1=0;while(1){$6_1=HEAP32[$2_1>>2]+16400|0;$0_1=HEAP32[($14_1<<2)+$3_1>>2]+$4_1|0;label$5:{label$6:{$5_1=HEAP32[$2_1+8>>2];$9_1=HEAP32[$2_1+4>>2];if($5_1|$9_1){break label$6}$5_1=0;if(HEAP32[$2_1+12>>2]|HEAP32[$2_1+16>>2]|(HEAP32[$2_1+20>>2]|HEAP32[$2_1+24>>2])){break label$6}if(HEAP32[$2_1+28>>2]){break label$6}$5_1=__wasm_i64_mul(HEAPU8[$1_1+($6_1>>>5&1023)|0],0,16843009,16843009);HEAP8[$0_1|0]=$5_1;HEAP8[$0_1+1|0]=$5_1>>>8;HEAP8[$0_1+2|0]=$5_1>>>16;HEAP8[$0_1+3|0]=$5_1>>>24;$5_1=i64toi32_i32$HIGH_BITS;HEAP8[$0_1+4|0]=$5_1;HEAP8[$0_1+5|0]=$5_1>>>8;HEAP8[$0_1+6|0]=$5_1>>>16;HEAP8[$0_1+7|0]=$5_1>>>24;break label$5}$16_1=HEAP32[$2_1+28>>2];$17_1=Math_imul($16_1+$9_1|0,-7373);$10_1=HEAP32[$2_1+12>>2];$12_1=$10_1+$16_1|0;$13_1=HEAP32[$2_1+20>>2];$8_1=$13_1+$9_1|0;$15_1=Math_imul($12_1+$8_1|0,9633);$7_1=$17_1+Math_imul($9_1,12299)|0;$9_1=$15_1+Math_imul($8_1,-3196)|0;$8_1=$7_1+$9_1|0;$11_1=Math_imul($5_1,6270);$7_1=$5_1;$5_1=HEAP32[$2_1+24>>2];$7_1=Math_imul($7_1+$5_1|0,4433);$11_1=$11_1+$7_1|0;$18_1=HEAP32[$2_1+16>>2];$19_1=$18_1+$6_1<<13;$20_1=$11_1+$19_1|0;HEAP8[$0_1|0]=HEAPU8[$1_1+($8_1+$20_1>>>18&1023)|0];HEAP8[$0_1+7|0]=HEAPU8[$1_1+($20_1-$8_1>>>18&1023)|0];$15_1=$15_1+Math_imul($12_1,-16069)|0;$8_1=Math_imul($10_1,25172);$10_1=Math_imul($10_1+$13_1|0,-20995);$12_1=$15_1+($8_1+$10_1|0)|0;$5_1=$7_1+Math_imul($5_1,-15137)|0;$6_1=$6_1-$18_1<<13;$8_1=$5_1+$6_1|0;HEAP8[$0_1+1|0]=HEAPU8[$1_1+($12_1+$8_1>>>18&1023)|0];HEAP8[$0_1+6|0]=HEAPU8[$1_1+($8_1-$12_1>>>18&1023)|0];$9_1=$9_1+($10_1+Math_imul($13_1,16819)|0)|0;$5_1=$6_1-$5_1|0;HEAP8[$0_1+2|0]=HEAPU8[$1_1+($9_1+$5_1>>>18&1023)|0];HEAP8[$0_1+5|0]=HEAPU8[$1_1+($5_1-$9_1>>>18&1023)|0];$5_1=$15_1+($17_1+Math_imul($16_1,2446)|0)|0;$6_1=$19_1-$11_1|0;HEAP8[$0_1+3|0]=HEAPU8[$1_1+($5_1+$6_1>>>18&1023)|0];HEAP8[$0_1+4|0]=HEAPU8[$1_1+($6_1-$5_1>>>18&1023)|0]}$2_1=$2_1+32|0;$14_1=$14_1+1|0;if(($14_1|0)!=8){continue}break}global$0=$21_1+256|0}function $447($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$8_1=HEAP32[$1_1+20>>2];$2_1=HEAP32[$1_1+16>>2];$11_1=HEAP32[$1_1+12>>2];$6_1=HEAP32[$1_1+8>>2];$13_1=HEAP32[HEAP32[$0_1+484>>2]+24>>2];$7_1=HEAP32[$1_1+4>>2];$5_1=HEAP32[$1_1>>2];label$1:{if(($7_1|0)>($5_1|0)){$10_1=$5_1;while(1){if(($6_1|0)<=($11_1|0)){$12_1=HEAP32[($10_1<<2)+$13_1>>2];$3_1=$6_1;while(1){if(($2_1|0)<=($8_1|0)){$0_1=($12_1+($3_1<<6)|0)+($2_1<<1)|0;$4_1=$2_1;while(1){if(HEAPU16[$0_1>>1]){HEAP32[$1_1>>2]=$10_1;break label$1}$0_1=$0_1+2|0;$9_1=($4_1|0)!=($8_1|0);$4_1=$4_1+1|0;if($9_1){continue}break}}$0_1=($3_1|0)!=($11_1|0);$3_1=$3_1+1|0;if($0_1){continue}break}}$0_1=($7_1|0)!=($10_1|0);$10_1=$10_1+1|0;if($0_1){continue}break}}$10_1=$5_1}label$9:{if(($7_1|0)>($10_1|0)){$9_1=$7_1;while(1){if(($6_1|0)<=($11_1|0)){$12_1=HEAP32[($9_1<<2)+$13_1>>2];$3_1=$6_1;while(1){if(($2_1|0)<=($8_1|0)){$0_1=($12_1+($3_1<<6)|0)+($2_1<<1)|0;$4_1=$2_1;while(1){if(HEAPU16[$0_1>>1]){HEAP32[$1_1+4>>2]=$9_1;break label$9}$0_1=$0_1+2|0;$5_1=($4_1|0)!=($8_1|0);$4_1=$4_1+1|0;if($5_1){continue}break}}$0_1=($3_1|0)!=($11_1|0);$3_1=$3_1+1|0;if($0_1){continue}break}}$0_1=($9_1|0)>($10_1|0);$9_1=$9_1-1|0;if($0_1){continue}break}}$9_1=$7_1}label$17:{if(($6_1|0)<($11_1|0)){$5_1=$6_1;while(1){$3_1=$10_1;if(($9_1|0)>=($3_1|0)){while(1){if(($2_1|0)<=($8_1|0)){$0_1=(HEAP32[($3_1<<2)+$13_1>>2]+($5_1<<6)|0)+($2_1<<1)|0;$4_1=$2_1;while(1){if(HEAPU16[$0_1>>1]){HEAP32[$1_1+8>>2]=$5_1;break label$17}$0_1=$0_1+2|0;$7_1=($4_1|0)!=($8_1|0);$4_1=$4_1+1|0;if($7_1){continue}break}}$0_1=($3_1|0)!=($9_1|0);$3_1=$3_1+1|0;if($0_1){continue}break}}$0_1=($5_1|0)!=($11_1|0);$5_1=$5_1+1|0;if($0_1){continue}break}}$5_1=$6_1}label$25:{if(($5_1|0)<($11_1|0)){$7_1=$11_1;while(1){$3_1=$10_1;if(($9_1|0)>=($3_1|0)){while(1){if(($2_1|0)<=($8_1|0)){$0_1=(HEAP32[($3_1<<2)+$13_1>>2]+($7_1<<6)|0)+($2_1<<1)|0;$4_1=$2_1;while(1){if(HEAPU16[$0_1>>1]){HEAP32[$1_1+12>>2]=$7_1;break label$25}$0_1=$0_1+2|0;$6_1=($4_1|0)!=($8_1|0);$4_1=$4_1+1|0;if($6_1){continue}break}}$0_1=($3_1|0)!=($9_1|0);$3_1=$3_1+1|0;if($0_1){continue}break}}$0_1=($5_1|0)<($7_1|0);$7_1=$7_1-1|0;if($0_1){continue}break}}$7_1=$11_1}label$33:{if(($2_1|0)<($8_1|0)){$12_1=$5_1<<6;$6_1=$2_1;while(1){$3_1=$10_1;if(($9_1|0)>=($3_1|0)){while(1){if(($5_1|0)<=($7_1|0)){$0_1=($12_1+HEAP32[($3_1<<2)+$13_1>>2]|0)+($6_1<<1)|0;$4_1=$5_1;while(1){if(HEAPU16[$0_1>>1]){HEAP32[$1_1+16>>2]=$6_1;break label$33}$0_1=$0_1- -64|0;$11_1=($4_1|0)!=($7_1|0);$4_1=$4_1+1|0;if($11_1){continue}break}}$0_1=($3_1|0)!=($9_1|0);$3_1=$3_1+1|0;if($0_1){continue}break}}$0_1=($6_1|0)!=($8_1|0);$6_1=$6_1+1|0;if($0_1){continue}break}}$6_1=$2_1}label$41:{if(($6_1|0)<($8_1|0)){$12_1=$5_1<<6;$3_1=$8_1;while(1){$2_1=$10_1;if(($9_1|0)>=($2_1|0)){while(1){if(($5_1|0)<=($7_1|0)){$0_1=($12_1+HEAP32[($2_1<<2)+$13_1>>2]|0)+($3_1<<1)|0;$4_1=$5_1;while(1){if(HEAPU16[$0_1>>1]){HEAP32[$1_1+20>>2]=$3_1;break label$41}$0_1=$0_1- -64|0;$11_1=($4_1|0)!=($7_1|0);$4_1=$4_1+1|0;if($11_1){continue}break}}$0_1=($2_1|0)!=($9_1|0);$2_1=$2_1+1|0;if($0_1){continue}break}}$0_1=($3_1|0)>($6_1|0);$3_1=$3_1-1|0;if($0_1){continue}break}}$3_1=$8_1}$0_1=Math_imul($7_1-$5_1|0,12);$2_1=Math_imul($0_1,$0_1);$0_1=$9_1-$10_1<<4;$2_1=$2_1+Math_imul($0_1,$0_1)|0;$14_1=$3_1-$6_1|0;$0_1=$14_1<<3;HEAP32[$1_1+24>>2]=$2_1+Math_imul($0_1,$0_1);$4_1=0;if(($9_1|0)>=($10_1|0)){$15_1=$14_1+1&3;while(1){if(($5_1|0)<=($7_1|0)){$12_1=HEAP32[($10_1<<2)+$13_1>>2];$2_1=$5_1;while(1){$11_1=$2_1;label$53:{if(($3_1|0)<($6_1|0)){break label$53}$2_1=($12_1+($11_1<<6)|0)+($6_1<<1)|0;$8_1=0;$0_1=$6_1;if($15_1){while(1){$0_1=$0_1+1|0;$4_1=(HEAPU16[$2_1>>1]!=0)+$4_1|0;$2_1=$2_1+2|0;$8_1=$8_1+1|0;if(($15_1|0)!=($8_1|0)){continue}break}}if($14_1>>>0<3){break label$53}while(1){$4_1=((((HEAPU16[$2_1>>1]!=0)+$4_1|0)+(HEAPU16[$2_1+2>>1]!=0)|0)+(HEAPU16[$2_1+4>>1]!=0)|0)+(HEAPU16[$2_1+6>>1]!=0)|0;$2_1=$2_1+8|0;$8_1=$0_1+3|0;$0_1=$0_1+4|0;if(($3_1|0)!=($8_1|0)){continue}break}}$2_1=$11_1+1|0;if(($7_1|0)!=($11_1|0)){continue}break}}$0_1=($9_1|0)!=($10_1|0);$10_1=$10_1+1|0;if($0_1){continue}break}}HEAP32[$1_1+28>>2]=$4_1}function $1046($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0;$22_1=global$0-384|0;global$0=$22_1;$15_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$22_1;while(1){$18_1=HEAP32[$1_1+128>>2];$11_1=HEAP16[$2_1+64>>1];$14_1=Math_imul(HEAP32[$1_1+32>>2],HEAP16[$2_1+16>>1]);$9_1=Math_imul(HEAP32[$1_1+224>>2],HEAP16[$2_1+112>>1]);$8_1=$14_1-$9_1|0;$12_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$10_1=Math_imul(HEAP32[$1_1+160>>2],HEAP16[$2_1+80>>1]);$6_1=$12_1-$10_1|0;$7_1=Math_imul($8_1+$6_1|0,4433);$13_1=Math_imul(HEAP32[$1_1+64>>2],HEAP16[$2_1+32>>1]);$16_1=Math_imul(HEAP32[$1_1+192>>2],HEAP16[$2_1+96>>1]);$19_1=$13_1-$16_1<<13;$5_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$20_1=$19_1+$5_1|0;$8_1=$7_1+Math_imul($8_1,6270)|0;HEAP32[$0_1+320>>2]=$20_1-$8_1>>11;HEAP32[$0_1+32>>2]=$8_1+$20_1>>11;$8_1=$5_1-$19_1|0;$7_1=$7_1+Math_imul($6_1,-15137)|0;HEAP32[$0_1+224>>2]=$8_1-$7_1>>11;HEAP32[$0_1+128>>2]=$7_1+$8_1>>11;$18_1=Math_imul(Math_imul($11_1,$18_1),10033);$11_1=$18_1+$5_1|0;$8_1=$16_1<<13;$6_1=$8_1+Math_imul($13_1,11190)|0;$16_1=$11_1-$6_1|0;$20_1=$10_1+$14_1|0;$7_1=Math_imul($20_1+$9_1|0,7053);$19_1=Math_imul($12_1,-4433);$21_1=$7_1+(($19_1+Math_imul($14_1,-5540)|0)+Math_imul($9_1,-16244)|0)|0;HEAP32[$0_1+192>>2]=$16_1-$21_1>>11;HEAP32[$0_1+160>>2]=$16_1+$21_1>>11;$11_1=$6_1+$11_1|0;$6_1=Math_imul($14_1,2295);$14_1=Math_imul($12_1,10703);$12_1=$7_1+Math_imul($20_1,2139)|0;$6_1=($6_1+$14_1|0)+$12_1|0;HEAP32[$0_1+352>>2]=$11_1-$6_1>>11;HEAP32[$0_1>>2]=$6_1+$11_1>>11;$13_1=Math_imul($13_1,2998)-$8_1|0;$5_1=$5_1-$18_1|0;$18_1=$13_1+$5_1|0;$8_1=$19_1+Math_imul($10_1,-12112)|0;$10_1=Math_imul($9_1+$10_1|0,-8565);$12_1=$12_1+($8_1+$10_1|0)|0;HEAP32[$0_1+288>>2]=$18_1-$12_1>>11;HEAP32[$0_1+64>>2]=$12_1+$18_1>>11;$5_1=$5_1-$13_1|0;$9_1=$10_1+($7_1+(Math_imul($9_1,12998)-$14_1|0)|0)|0;HEAP32[$0_1+256>>2]=$5_1-$9_1>>11;HEAP32[$0_1+96>>2]=$5_1+$9_1>>11;$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+2|0;$17_1=$17_1+1|0;if(($17_1|0)!=8){continue}break}$0_1=$15_1-384|0;$1_1=$22_1;$14_1=0;while(1){$10_1=HEAP32[$1_1+4>>2];$5_1=HEAP32[$1_1+20>>2];$7_1=$10_1+$5_1|0;$9_1=HEAP32[$1_1+28>>2];$12_1=Math_imul($7_1+$9_1|0,7053);$2_1=HEAP32[($14_1<<2)+$3_1>>2]+$4_1|0;$11_1=$12_1+Math_imul($7_1,2139)|0;$13_1=HEAP32[$1_1+12>>2];$18_1=Math_imul($13_1,10703);$8_1=$11_1+($18_1+Math_imul($10_1,2295)|0)|0;$6_1=HEAP32[$1_1+24>>2];$16_1=$6_1<<13;$15_1=HEAP32[$1_1+8>>2];$19_1=$16_1+Math_imul($15_1,11190)|0;$7_1=(HEAP32[$1_1>>2]<<13)+134348800|0;$20_1=Math_imul(HEAP32[$1_1+16>>2],10033);$21_1=$7_1+$20_1|0;$17_1=$19_1+$21_1|0;HEAP8[$2_1|0]=HEAPU8[$0_1+($8_1+$17_1>>>18&1023)|0];HEAP8[$2_1+11|0]=HEAPU8[$0_1+($17_1-$8_1>>>18&1023)|0];$8_1=$15_1-$6_1<<13;$6_1=$8_1+$7_1|0;$17_1=$10_1-$9_1|0;$23_1=$13_1-$5_1|0;$24_1=Math_imul($17_1+$23_1|0,4433);$17_1=$24_1+Math_imul($17_1,6270)|0;HEAP8[$2_1+1|0]=HEAPU8[$0_1+($6_1+$17_1>>>18&1023)|0];HEAP8[$2_1+10|0]=HEAPU8[$0_1+($6_1-$17_1>>>18&1023)|0];$13_1=Math_imul($13_1,-4433);$6_1=$13_1+Math_imul($5_1,-12112)|0;$5_1=Math_imul($5_1+$9_1|0,-8565);$11_1=($6_1+$5_1|0)+$11_1|0;$15_1=Math_imul($15_1,2998)-$16_1|0;$6_1=$7_1-$20_1|0;$16_1=$15_1+$6_1|0;HEAP8[$2_1+2|0]=HEAPU8[$0_1+($11_1+$16_1>>>18&1023)|0];HEAP8[$2_1+9|0]=HEAPU8[$0_1+($16_1-$11_1>>>18&1023)|0];$5_1=$5_1+($12_1+(Math_imul($9_1,12998)-$18_1|0)|0)|0;$15_1=$6_1-$15_1|0;HEAP8[$2_1+3|0]=HEAPU8[$0_1+($5_1+$15_1>>>18&1023)|0];HEAP8[$2_1+8|0]=HEAPU8[$0_1+($15_1-$5_1>>>18&1023)|0];$5_1=Math_imul($23_1,-15137)+$24_1|0;$7_1=$7_1-$8_1|0;HEAP8[$2_1+4|0]=HEAPU8[$0_1+($5_1+$7_1>>>18&1023)|0];HEAP8[$2_1+7|0]=HEAPU8[$0_1+($7_1-$5_1>>>18&1023)|0];$9_1=$12_1+(($13_1+Math_imul($10_1,-5540)|0)+Math_imul($9_1,-16244)|0)|0;$10_1=$21_1-$19_1|0;HEAP8[$2_1+5|0]=HEAPU8[$0_1+($9_1+$10_1>>>18&1023)|0];HEAP8[$2_1+6|0]=HEAPU8[$0_1+($10_1-$9_1>>>18&1023)|0];$1_1=$1_1+32|0;$14_1=$14_1+1|0;if(($14_1|0)!=12){continue}break}global$0=$22_1+384|0}function $1101($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$5_1=HEAP32[$0_1+468>>2];if(HEAP32[$0_1+280>>2]){$4_1=HEAP32[$5_1+56>>2];if(!$4_1){$307($0_1);$4_1=HEAP32[$5_1+56>>2]}HEAP32[$5_1+56>>2]=$4_1-1}label$4:{if(!(HEAP32[$5_1+20>>2]==-1|HEAP32[$0_1+368>>2]<=0)){$14_1=HEAP32[$0_1+432>>2];$15_1=$5_1+188|0;while(1){$4_1=$12_1<<2;$13_1=HEAP32[$4_1+$1_1>>2];$4_1=HEAP32[($0_1+$4_1|0)+372>>2]<<2;$11_1=HEAP32[($4_1+$0_1|0)+344>>2];$8_1=HEAP32[$11_1+20>>2];$2_1=($8_1<<2)+$5_1|0;$6_1=$4_1+$5_1|0;$3_1=HEAP32[$2_1+60>>2]+HEAP32[$6_1+40>>2]|0;label$7:{if(!$10($0_1,$3_1)){HEAP32[$6_1+40>>2]=0;$4_1=HEAP32[$6_1+24>>2];break label$7}$9_1=1;$7_1=0;$4_1=0;$10_1=$10($0_1,$3_1+1|0);$3_1=($10_1+$3_1|0)+2|0;label$9:{if(!$10($0_1,$3_1)){break label$9}$2_1=HEAP32[$2_1+60>>2];$3_1=$2_1+20|0;if(!$10($0_1,$3_1)){$4_1=1;break label$9}$9_1=0;$3_1=$2_1+21|0;if(!$10($0_1,$3_1)){$4_1=2;break label$9}$3_1=$2_1+22|0;if(!$10($0_1,$3_1)){$4_1=4;break label$9}$3_1=$2_1+23|0;if(!$10($0_1,$3_1)){$4_1=8;break label$9}$3_1=$2_1+24|0;if(!$10($0_1,$3_1)){$4_1=16;break label$9}$3_1=$2_1+25|0;if(!$10($0_1,$3_1)){$4_1=32;break label$9}$3_1=$2_1+26|0;if(!$10($0_1,$3_1)){$4_1=64;break label$9}$3_1=$2_1+27|0;if(!$10($0_1,$3_1)){$4_1=128;break label$9}$3_1=$2_1+28|0;if(!$10($0_1,$3_1)){$4_1=256;break label$9}$3_1=$2_1+29|0;if(!$10($0_1,$3_1)){$4_1=512;break label$9}$3_1=$2_1+30|0;if(!$10($0_1,$3_1)){$4_1=1024;break label$9}$3_1=$2_1+31|0;if(!$10($0_1,$3_1)){$4_1=2048;break label$9}$3_1=$2_1+32|0;if(!$10($0_1,$3_1)){$4_1=4096;break label$9}$3_1=$2_1+33|0;if(!$10($0_1,$3_1)){$4_1=8192;break label$9}$4_1=16384;$3_1=$2_1+34|0;if($10($0_1,$3_1)){break label$4}}$8_1=$0_1+$8_1|0;label$24:{if(1<>1>($4_1|0)){break label$24}$2_1=$10_1<<2;if(1<>1<($4_1|0)){$7_1=$2_1+12|0;break label$24}$7_1=$2_1+4|0}HEAP32[$6_1+40>>2]=$7_1;label$26:{if($9_1){$3_1=$4_1;break label$26}$7_1=$3_1+14|0;$3_1=$4_1;while(1){$2_1=$4_1>>>1|0;$3_1=($10($0_1,$7_1)?$2_1:0)|$3_1;$9_1=$4_1>>>0>3;$4_1=$2_1;if($9_1){continue}break}}$4_1=HEAP32[$6_1+24>>2]+($10_1?$3_1^-1:$3_1+1|0)|0;HEAP32[$6_1+24>>2]=$4_1}HEAP16[$13_1>>1]=$4_1;label$29:{if(!HEAP32[$0_1+436>>2]){break label$29}$4_1=HEAP32[$11_1+24>>2];$9_1=$4_1+$0_1|0;$7_1=($4_1<<2)+$5_1|0;$4_1=0;while(1){$2_1=$4_1;$3_1=HEAP32[$7_1+124>>2]+Math_imul($2_1,3)|0;if($10($0_1,$3_1)){break label$29}while(1){label$32:{$4_1=$2_1+1|0;if($10($0_1,$3_1+1|0)){break label$32}$3_1=$3_1+3|0;$2_1=$4_1;if(($2_1|0)>2]){continue}break label$4}break}$10_1=$10($0_1,$15_1);$3_1=$3_1+2|0;label$33:{if(!$10($0_1,$3_1)){$2_1=0;break label$33}if(!$10($0_1,$3_1)){$2_1=1;break label$33}$2_1=HEAP32[$7_1+124>>2]+(HEAPU8[$9_1+264|0]>($2_1|0)?189:217)|0;label$36:{if(!$10($0_1,$2_1)){$3_1=2;break label$36}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$3_1=4;break label$36}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$3_1=8;break label$36}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$3_1=16;break label$36}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$3_1=32;break label$36}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$3_1=64;break label$36}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$3_1=128;break label$36}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$3_1=256;break label$36}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$3_1=512;break label$36}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$3_1=1024;break label$36}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$3_1=2048;break label$36}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$3_1=4096;break label$36}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$3_1=8192;break label$36}$3_1=16384;$2_1=$2_1+1|0;if($10($0_1,$2_1)){break label$4}}$11_1=$2_1+14|0;$2_1=$3_1;while(1){$6_1=$3_1>>>1|0;$2_1=($10($0_1,$11_1)?$6_1:0)|$2_1;$8_1=$3_1>>>0>3;$3_1=$6_1;if($8_1){continue}break}}HEAP16[(HEAP32[($4_1<<2)+$14_1>>2]<<1)+$13_1>>1]=$10_1?$2_1^-1:$2_1+1|0;if(HEAP32[$0_1+436>>2]>($4_1|0)){continue}break}}$12_1=$12_1+1|0;if(($12_1|0)>2]){continue}break}}return 1}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=117;FUNCTION_TABLE[HEAP32[$1_1+4>>2]]($0_1,-1);HEAP32[$5_1+20>>2]=-1;return 1}function $648($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$8_1=global$0-48|0;global$0=$8_1;wasm2js_scratch_store_f64(+$0_1);$4_1=wasm2js_scratch_load_i32(1)|0;$3_1=wasm2js_scratch_load_i32(0)|0;label$1:{label$2:{$7_1=$4_1;$9_1=$4_1&2147483647;label$3:{if($9_1>>>0<=1074752122){if(($7_1&1048575)==598523){break label$3}if($9_1>>>0<=1073928572){if(($4_1|0)>0|($4_1|0)>=0){$0_1=$0_1+-1.5707963267341256;$2_1=$0_1+-6077100506506192e-26;HEAPF64[$1_1>>3]=$2_1;HEAPF64[$1_1+8>>3]=$0_1-$2_1+-6077100506506192e-26;$3_1=1;break label$1}$0_1=$0_1+1.5707963267341256;$2_1=$0_1+6077100506506192e-26;HEAPF64[$1_1>>3]=$2_1;HEAPF64[$1_1+8>>3]=$0_1-$2_1+6077100506506192e-26;$3_1=-1;break label$1}if(($4_1|0)>0|($4_1|0)>=0){$0_1=$0_1+-3.1415926534682512;$2_1=$0_1+-1.2154201013012384e-10;HEAPF64[$1_1>>3]=$2_1;HEAPF64[$1_1+8>>3]=$0_1-$2_1+-1.2154201013012384e-10;$3_1=2;break label$1}$0_1=$0_1+3.1415926534682512;$2_1=$0_1+1.2154201013012384e-10;HEAPF64[$1_1>>3]=$2_1;HEAPF64[$1_1+8>>3]=$0_1-$2_1+1.2154201013012384e-10;$3_1=-2;break label$1}if($9_1>>>0<=1075594811){if($9_1>>>0<=1075183036){if(($9_1|0)==1074977148){break label$3}if(($4_1|0)>0|($4_1|0)>=0){$0_1=$0_1+-4.712388980202377;$2_1=$0_1+-1.8231301519518578e-10;HEAPF64[$1_1>>3]=$2_1;HEAPF64[$1_1+8>>3]=$0_1-$2_1+-1.8231301519518578e-10;$3_1=3;break label$1}$0_1=$0_1+4.712388980202377;$2_1=$0_1+1.8231301519518578e-10;HEAPF64[$1_1>>3]=$2_1;HEAPF64[$1_1+8>>3]=$0_1-$2_1+1.8231301519518578e-10;$3_1=-3;break label$1}if(($9_1|0)==1075388923){break label$3}if(($4_1|0)>0|($4_1|0)>=0){$0_1=$0_1+-6.2831853069365025;$2_1=$0_1+-2.430840202602477e-10;HEAPF64[$1_1>>3]=$2_1;HEAPF64[$1_1+8>>3]=$0_1-$2_1+-2.430840202602477e-10;$3_1=4;break label$1}$0_1=$0_1+6.2831853069365025;$2_1=$0_1+2.430840202602477e-10;HEAPF64[$1_1>>3]=$2_1;HEAPF64[$1_1+8>>3]=$0_1-$2_1+2.430840202602477e-10;$3_1=-4;break label$1}if($9_1>>>0>1094263290){break label$2}}$5_1=$0_1*.6366197723675814+6755399441055744+-6755399441055744;$2_1=$0_1+$5_1*-1.5707963267341256;$6_1=$5_1*6077100506506192e-26;$11_1=$2_1-$6_1;$4_1=$11_1<-.7853981633974483;if(Math_abs($5_1)<2147483648){$3_1=~~$5_1}else{$3_1=-2147483648}label$14:{if($4_1){$3_1=$3_1-1|0;$5_1=$5_1+-1;$6_1=$5_1*6077100506506192e-26;$2_1=$0_1+$5_1*-1.5707963267341256;break label$14}if(!($11_1>.7853981633974483)){break label$14}$3_1=$3_1+1|0;$5_1=$5_1+1;$6_1=$5_1*6077100506506192e-26;$2_1=$0_1+$5_1*-1.5707963267341256}$0_1=$2_1-$6_1;HEAPF64[$1_1>>3]=$0_1;wasm2js_scratch_store_f64(+$0_1);$7_1=wasm2js_scratch_load_i32(1)|0;wasm2js_scratch_load_i32(0)|0;$4_1=$9_1>>>20|0;label$16:{if(($4_1-($7_1>>>20&2047)|0)<17){break label$16}$6_1=$2_1;$0_1=$5_1*6077100506303966e-26;$2_1=$2_1-$0_1;$6_1=$5_1*20222662487959506e-37-($6_1-$2_1-$0_1);$0_1=$2_1-$6_1;HEAPF64[$1_1>>3]=$0_1;$7_1=$4_1;wasm2js_scratch_store_f64(+$0_1);$4_1=wasm2js_scratch_load_i32(1)|0;wasm2js_scratch_load_i32(0)|0;if(($7_1-($4_1>>>20&2047)|0)<50){break label$16}$6_1=$2_1;$0_1=$5_1*20222662487111665e-37;$2_1=$2_1-$0_1;$6_1=$5_1*84784276603689e-45-($6_1-$2_1-$0_1);$0_1=$2_1-$6_1;HEAPF64[$1_1>>3]=$0_1}HEAPF64[$1_1+8>>3]=$2_1-$0_1-$6_1;break label$1}if($9_1>>>0>=2146435072){$0_1=$0_1-$0_1;HEAPF64[$1_1>>3]=$0_1;HEAPF64[$1_1+8>>3]=$0_1;$3_1=0;break label$1}wasm2js_scratch_store_i32(0,$3_1|0);wasm2js_scratch_store_i32(1,$4_1&1048575|1096810496);$0_1=+wasm2js_scratch_load_f64();$3_1=0;$7_1=1;while(1){$10_1=($8_1+16|0)+($3_1<<3)|0;if(Math_abs($0_1)<2147483648){$3_1=~~$0_1}else{$3_1=-2147483648}$2_1=+($3_1|0);HEAPF64[$10_1>>3]=$2_1;$0_1=($0_1-$2_1)*16777216;$3_1=1;$10_1=$7_1;$7_1=0;if($10_1){continue}break}HEAPF64[$8_1+32>>3]=$0_1;$3_1=2;while(1){$7_1=$3_1;$3_1=$3_1-1|0;if(HEAPF64[($8_1+16|0)+($7_1<<3)>>3]==0){continue}break}$3_1=$649($8_1+16|0,$8_1,($9_1>>>20|0)-1046|0,$7_1+1|0,1);$0_1=HEAPF64[$8_1>>3];if(($4_1|0)<0){HEAPF64[$1_1>>3]=-$0_1;HEAPF64[$1_1+8>>3]=-HEAPF64[$8_1+8>>3];$3_1=0-$3_1|0;break label$1}HEAPF64[$1_1>>3]=$0_1;HEAPF64[$1_1+8>>3]=HEAPF64[$8_1+8>>3]}global$0=$8_1+48|0;return $3_1}function $1040($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0;$21_1=global$0-224|0;global$0=$21_1;$13_1=HEAP32[$0_1+336>>2];$0_1=HEAP32[$1_1+84>>2];$1_1=$21_1;while(1){$7_1=HEAP32[$0_1+160>>2];$8_1=HEAP16[$2_1+80>>1];$9_1=HEAP32[$0_1+32>>2];$14_1=HEAP16[$2_1+16>>1];$16_1=HEAP32[$0_1+96>>2];$11_1=HEAP16[$2_1+48>>1];$15_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$0_1>>2])<<13|1024;$6_1=Math_imul(HEAP32[$0_1+128>>2],HEAP16[$2_1+64>>1]);$5_1=Math_imul(HEAP32[$0_1+192>>2],HEAP16[$2_1+96>>1]);$12_1=Math_imul(HEAP32[$0_1+64>>2],HEAP16[$2_1+32>>1]);$10_1=$5_1+$12_1|0;HEAP32[$1_1+96>>2]=$15_1+Math_imul($6_1-$10_1|0,11585)>>11;$7_1=Math_imul($7_1,$8_1);$8_1=Math_imul($9_1,$14_1);$9_1=Math_imul($7_1+$8_1|0,5027);$10_1=$15_1+Math_imul($10_1,10438)|0;$14_1=Math_imul($6_1-$5_1|0,7223);$18_1=$10_1+($14_1+Math_imul($5_1,-637)|0)|0;$5_1=Math_imul($16_1,$11_1);$16_1=Math_imul($5_1+$8_1|0,7663);$8_1=Math_imul($8_1-$5_1|0,1395);$11_1=$9_1+($16_1-$8_1|0)|0;HEAP32[$1_1+192>>2]=$18_1-$11_1>>11;HEAP32[$1_1>>2]=$11_1+$18_1>>11;$11_1=Math_imul($12_1,-20239);$12_1=Math_imul($12_1-$6_1|0,2578);$11_1=$10_1+($11_1+$12_1|0)|0;$5_1=Math_imul($5_1+$7_1|0,-11295);$7_1=$5_1+($9_1+Math_imul($7_1,15326)|0)|0;HEAP32[$1_1+128>>2]=$11_1-$7_1>>11;HEAP32[$1_1+64>>2]=$7_1+$11_1>>11;$6_1=$14_1+($12_1+($15_1+Math_imul($6_1,-15083)|0)|0)|0;$5_1=$5_1+($8_1+$16_1|0)|0;HEAP32[$1_1+160>>2]=$6_1-$5_1>>11;HEAP32[$1_1+32>>2]=$5_1+$6_1>>11;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$2_1=$2_1+2|0;$17_1=$17_1+1|0;if(($17_1|0)!=8){continue}break}$0_1=$13_1-384|0;$1_1=$21_1;$17_1=0;while(1){$6_1=HEAP32[$1_1+12>>2];$12_1=HEAP32[$1_1+4>>2];$9_1=Math_imul($6_1+$12_1|0,10935);$13_1=HEAP32[$1_1+24>>2];$14_1=HEAP32[$1_1+8>>2];$16_1=Math_imul($13_1+$14_1|0,9058);$2_1=HEAP32[($17_1<<2)+$3_1>>2]+$4_1|0;$18_1=HEAP32[$1_1+28>>2];$15_1=$18_1<<13;$5_1=HEAP32[$1_1+20>>2];$11_1=$5_1+$12_1|0;$10_1=Math_imul($11_1,9810);$19_1=$15_1+($10_1+($9_1+Math_imul($12_1,-9232)|0)|0)|0;$23_1=$16_1+Math_imul($14_1,2237)|0;$8_1=(HEAP32[$1_1>>2]<<13)+134348800|0;$7_1=HEAP32[$1_1+16>>2];$24_1=$8_1+Math_imul($7_1,10438)|0;$20_1=$23_1+$24_1|0;HEAP8[$2_1|0]=HEAPU8[$0_1+($19_1+$20_1>>>18&1023)|0];HEAP8[$2_1+13|0]=HEAPU8[$0_1+($20_1-$19_1>>>18&1023)|0];$16_1=$16_1+Math_imul($13_1,-14084)|0;$19_1=$8_1+Math_imul($7_1,2578)|0;$20_1=$16_1+$19_1|0;$22_1=$9_1+Math_imul($6_1,-3474)|0;$9_1=Math_imul($5_1+$6_1|0,-1297)-$15_1|0;$22_1=$22_1+$9_1|0;HEAP8[$2_1+1|0]=HEAPU8[$0_1+($20_1+$22_1>>>18&1023)|0];HEAP8[$2_1+12|0]=HEAPU8[$0_1+($20_1-$22_1>>>18&1023)|0];$9_1=$9_1+($10_1+Math_imul($5_1,-19447)|0)|0;$13_1=Math_imul($13_1,-11295)+Math_imul($14_1,5027)|0;$14_1=$8_1+Math_imul($7_1,-7223)|0;$10_1=$13_1+$14_1|0;HEAP8[$2_1+2|0]=HEAPU8[$0_1+($9_1+$10_1>>>18&1023)|0];HEAP8[$2_1+11|0]=HEAPU8[$0_1+($10_1-$9_1>>>18&1023)|0];$9_1=$12_1-$6_1|0;$10_1=$18_1+($9_1-$5_1|0)<<13;$7_1=$8_1+Math_imul($7_1,-11586)|0;HEAP8[$2_1+3|0]=HEAPU8[$0_1+($10_1+$7_1>>>18&1023)|0];HEAP8[$2_1+10|0]=HEAPU8[$0_1+($7_1-$10_1>>>18&1023)|0];$7_1=Math_imul($11_1,6164);$8_1=$15_1+Math_imul($5_1,-13850)|0;$5_1=Math_imul($5_1-$6_1|0,11512);$8_1=$7_1+($8_1+$5_1|0)|0;$13_1=$14_1-$13_1|0;HEAP8[$2_1+4|0]=HEAPU8[$0_1+($8_1+$13_1>>>18&1023)|0];HEAP8[$2_1+9|0]=HEAPU8[$0_1+($13_1-$8_1>>>18&1023)|0];$5_1=$5_1+Math_imul($6_1,5529)|0;$6_1=Math_imul($9_1,3826)-$15_1|0;$5_1=$5_1+$6_1|0;$15_1=$19_1-$16_1|0;HEAP8[$2_1+5|0]=HEAPU8[$0_1+($5_1+$15_1>>>18&1023)|0];HEAP8[$2_1+8|0]=HEAPU8[$0_1+($15_1-$5_1>>>18&1023)|0];$6_1=$6_1+($7_1+Math_imul($12_1,-8693)|0)|0;$5_1=$24_1-$23_1|0;HEAP8[$2_1+6|0]=HEAPU8[$0_1+($6_1+$5_1>>>18&1023)|0];HEAP8[$2_1+7|0]=HEAPU8[$0_1+($5_1-$6_1>>>18&1023)|0];$1_1=$1_1+32|0;$17_1=$17_1+1|0;if(($17_1|0)!=7){continue}break}global$0=$21_1+224|0}function $1058($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0;$20_1=global$0-256|0;global$0=$20_1;$9_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$20_1;$6_1=8;while(1){label$2:{label$3:{$7_1=HEAPU16[$2_1+32>>1];$5_1=HEAP16[$2_1+16>>1];if(($7_1|$5_1)&65535){break label$3}$7_1=0;if(HEAPU16[$2_1+48>>1]|HEAPU16[$2_1+64>>1]|(HEAPU16[$2_1+80>>1]|HEAPU16[$2_1+96>>1])){break label$3}if(HEAPU16[$2_1+112>>1]){break label$3}$7_1=Math_imul(HEAP32[$1_1>>2],HEAP16[$2_1>>1]);HEAP32[$0_1+192>>2]=$7_1;HEAP32[$0_1+160>>2]=$7_1;HEAP32[$0_1+128>>2]=$7_1;HEAP32[$0_1+96>>2]=$7_1;HEAP32[$0_1+64>>2]=$7_1;HEAP32[$0_1+32>>2]=$7_1;HEAP32[$0_1>>2]=$7_1;$5_1=56;break label$2}$8_1=Math_imul(HEAP32[$1_1+192>>2],HEAP16[$2_1+96>>1]);$11_1=Math_imul(HEAP32[$1_1+64>>2],$7_1<<16>>16);$7_1=$8_1+$11_1|0;$10_1=Math_imul(HEAP32[$1_1+128>>2],HEAP16[$2_1+64>>1]);$12_1=Math_imul(HEAP32[$1_1>>2],HEAP16[$2_1>>1]);$13_1=$10_1+$12_1|0;$14_1=$7_1+$13_1|0;$15_1=Math_imul(HEAP32[$1_1+160>>2],HEAP16[$2_1+80>>1]);$16_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$17_1=$15_1+$16_1|0;$18_1=Math_imul(HEAP32[$1_1+224>>2],HEAP16[$2_1+112>>1]);$19_1=Math_imul($5_1,HEAP32[$1_1+32>>2]);$21_1=$18_1+$19_1|0;$5_1=$17_1+$21_1|0;HEAP32[$0_1+224>>2]=$14_1-$5_1;HEAP32[$0_1>>2]=$5_1+$14_1;$8_1=(Math_imul($11_1-$8_1|0,362)>>8)-$7_1|0;$11_1=$12_1-$10_1|0;$10_1=$8_1+$11_1|0;$12_1=$19_1-$18_1|0;$14_1=$15_1-$16_1|0;$15_1=Math_imul($12_1+$14_1|0,473)>>8;$5_1=$15_1-($5_1+(Math_imul($14_1,669)>>8)|0)|0;HEAP32[$0_1+192>>2]=$10_1-$5_1;HEAP32[$0_1+32>>2]=$5_1+$10_1;$8_1=$11_1-$8_1|0;$5_1=(Math_imul($21_1-$17_1|0,362)>>8)-$5_1|0;HEAP32[$0_1+160>>2]=$8_1-$5_1;HEAP32[$0_1+64>>2]=$5_1+$8_1;$5_1=$15_1-($5_1+(Math_imul($12_1,277)>>8)|0)|0;$7_1=$13_1-$7_1|0;HEAP32[$0_1+96>>2]=$5_1+$7_1;$7_1=$7_1-$5_1|0;$5_1=32}HEAP32[($5_1<<2)+$0_1>>2]=$7_1;$2_1=$2_1+2|0;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$7_1=$6_1>>>0>1;$6_1=$6_1-1|0;if($7_1){continue}break}$1_1=$9_1-384|0;$2_1=$20_1;$7_1=0;while(1){$5_1=HEAP32[$2_1>>2]+16400|0;$0_1=HEAP32[($7_1<<2)+$3_1>>2]+$4_1|0;label$5:{label$6:{$6_1=HEAP32[$2_1+8>>2];$9_1=HEAP32[$2_1+4>>2];if($6_1|$9_1){break label$6}$6_1=0;if(HEAP32[$2_1+12>>2]|HEAP32[$2_1+16>>2]|(HEAP32[$2_1+20>>2]|HEAP32[$2_1+24>>2])){break label$6}if(HEAP32[$2_1+28>>2]){break label$6}$6_1=__wasm_i64_mul(HEAPU8[$1_1+($5_1>>>5&1023)|0],0,16843009,16843009);HEAP8[$0_1|0]=$6_1;HEAP8[$0_1+1|0]=$6_1>>>8;HEAP8[$0_1+2|0]=$6_1>>>16;HEAP8[$0_1+3|0]=$6_1>>>24;$6_1=i64toi32_i32$HIGH_BITS;HEAP8[$0_1+4|0]=$6_1;HEAP8[$0_1+5|0]=$6_1>>>8;HEAP8[$0_1+6|0]=$6_1>>>16;HEAP8[$0_1+7|0]=$6_1>>>24;break label$5}$10_1=HEAP32[$2_1+28>>2];$12_1=$10_1+$9_1|0;$13_1=HEAP32[$2_1+12>>2];$14_1=HEAP32[$2_1+20>>2];$15_1=$13_1+$14_1|0;$8_1=$12_1+$15_1|0;$16_1=HEAP32[$2_1+24>>2];$11_1=$16_1+$6_1|0;$17_1=HEAP32[$2_1+16>>2];$18_1=$17_1+$5_1|0;$19_1=$11_1+$18_1|0;HEAP8[$0_1|0]=HEAPU8[$1_1+($8_1+$19_1>>>5&1023)|0];HEAP8[$0_1+7|0]=HEAPU8[$1_1+($19_1-$8_1>>>5&1023)|0];$10_1=$9_1-$10_1|0;$9_1=$14_1-$13_1|0;$13_1=Math_imul($10_1+$9_1|0,473)>>8;$9_1=$13_1-($8_1+(Math_imul($9_1,669)>>8)|0)|0;$8_1=(Math_imul($6_1-$16_1|0,362)>>8)-$11_1|0;$5_1=$5_1-$17_1|0;$6_1=$8_1+$5_1|0;HEAP8[$0_1+1|0]=HEAPU8[$1_1+($9_1+$6_1>>>5&1023)|0];HEAP8[$0_1+6|0]=HEAPU8[$1_1+($6_1-$9_1>>>5&1023)|0];$6_1=(Math_imul($12_1-$15_1|0,362)>>8)-$9_1|0;$5_1=$5_1-$8_1|0;HEAP8[$0_1+2|0]=HEAPU8[$1_1+($6_1+$5_1>>>5&1023)|0];HEAP8[$0_1+5|0]=HEAPU8[$1_1+($5_1-$6_1>>>5&1023)|0];$6_1=$13_1-($6_1+(Math_imul($10_1,277)>>8)|0)|0;$5_1=$18_1-$11_1|0;HEAP8[$0_1+3|0]=HEAPU8[$1_1+($6_1+$5_1>>>5&1023)|0];HEAP8[$0_1+4|0]=HEAPU8[$1_1+($5_1-$6_1>>>5&1023)|0]}$2_1=$2_1+32|0;$7_1=$7_1+1|0;if(($7_1|0)!=8){continue}break}global$0=$20_1+256|0}function $1032($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0;$21_1=global$0-400|0;global$0=$21_1;$22_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$21_1;while(1){$9_1=HEAP32[$1_1+192>>2];$14_1=HEAP16[$2_1+96>>1];$10_1=HEAP32[$1_1+64>>2];$13_1=HEAP16[$2_1+32>>1];$11_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$6_1=Math_imul(HEAP32[$1_1+128>>2],HEAP16[$2_1+64>>1]);$12_1=$11_1+Math_imul($6_1,-11586)>>11;$8_1=Math_imul(HEAP32[$1_1+224>>2],HEAP16[$2_1+112>>1]);$5_1=Math_imul(HEAP32[$1_1+32>>2],HEAP16[$2_1+16>>1]);$7_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$17_1=$5_1-$7_1|0;$15_1=Math_imul(HEAP32[$1_1+160>>2],HEAP16[$2_1+80>>1]);$16_1=$8_1+($17_1-$15_1|0)<<2;HEAP32[$0_1+280>>2]=$12_1-$16_1;HEAP32[$0_1+84>>2]=$12_1+$16_1;$14_1=Math_imul($9_1,$14_1);$10_1=Math_imul($10_1,$13_1);$13_1=Math_imul($14_1+$10_1|0,9058);$12_1=$13_1+Math_imul($14_1,-14084)|0;$16_1=$11_1+Math_imul($6_1,2578)|0;$19_1=$12_1+$16_1|0;$9_1=$8_1<<13;$8_1=Math_imul($7_1+$15_1|0,-1297)-$9_1|0;$23_1=Math_imul($5_1+$7_1|0,10935);$20_1=$8_1+($23_1+Math_imul($7_1,-3474)|0)|0;HEAP32[$0_1+336>>2]=$19_1-$20_1>>11;HEAP32[$0_1+28>>2]=$19_1+$20_1>>11;$14_1=Math_imul($14_1,-11295)+Math_imul($10_1,5027)|0;$19_1=$11_1+Math_imul($6_1,-7223)|0;$20_1=$14_1+$19_1|0;$18_1=$8_1;$8_1=$5_1+$15_1|0;$24_1=Math_imul($8_1,9810);$18_1=$18_1+($24_1+Math_imul($15_1,-19447)|0)|0;HEAP32[$0_1+308>>2]=$20_1-$18_1>>11;HEAP32[$0_1+56>>2]=$20_1+$18_1>>11;$12_1=$16_1-$12_1|0;$17_1=Math_imul($17_1,3826)-$9_1|0;$18_1=Math_imul($7_1,5529);$7_1=Math_imul($15_1-$7_1|0,11512);$16_1=$17_1+($18_1+$7_1|0)|0;HEAP32[$0_1+224>>2]=$12_1-$16_1>>11;HEAP32[$0_1+140>>2]=$12_1+$16_1>>11;$6_1=$11_1+Math_imul($6_1,10438)|0;$11_1=$13_1+Math_imul($10_1,2237)|0;$10_1=$6_1-$11_1|0;$13_1=Math_imul($8_1,6164);$12_1=$17_1+($13_1+Math_imul($5_1,-8693)|0)|0;HEAP32[$0_1+196>>2]=$10_1-$12_1>>11;HEAP32[$0_1+168>>2]=$10_1+$12_1>>11;$6_1=$6_1+$11_1|0;$5_1=$9_1+((Math_imul($5_1,-9232)+$23_1|0)+$24_1|0)|0;HEAP32[$0_1+364>>2]=$6_1-$5_1>>11;HEAP32[$0_1>>2]=$5_1+$6_1>>11;$5_1=$19_1-$14_1|0;$7_1=$9_1+($13_1+($7_1+Math_imul($15_1,-13850)|0)|0)|0;HEAP32[$0_1+252>>2]=$5_1-$7_1>>11;HEAP32[$0_1+112>>2]=$5_1+$7_1>>11;$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+2|0;$25_1=$25_1+1|0;if(($25_1|0)!=7){continue}break}$1_1=$22_1-384|0;$0_1=$21_1;$7_1=0;while(1){$15_1=HEAP32[$0_1+16>>2];$5_1=HEAP32[$0_1+24>>2];$6_1=Math_imul($15_1-$5_1|0,7223);$2_1=HEAP32[($7_1<<2)+$3_1>>2]+$4_1|0;$11_1=HEAP32[$0_1+12>>2];$9_1=HEAP32[$0_1+4>>2];$10_1=Math_imul($11_1+$9_1|0,7663);$13_1=Math_imul($9_1-$11_1|0,1395);$8_1=$9_1;$9_1=HEAP32[$0_1+20>>2];$22_1=Math_imul($8_1+$9_1|0,5027);$12_1=($10_1-$13_1|0)+$22_1|0;$18_1=$6_1+Math_imul($5_1,-637)|0;$14_1=(HEAP32[$0_1>>2]<<13)+134348800|0;$8_1=$5_1;$5_1=HEAP32[$0_1+8>>2];$17_1=$8_1+$5_1|0;$8_1=$14_1+Math_imul($17_1,10438)|0;$16_1=$18_1+$8_1|0;HEAP8[$2_1|0]=HEAPU8[$1_1+($12_1+$16_1>>>18&1023)|0];HEAP8[$2_1+6|0]=HEAPU8[$1_1+($16_1-$12_1>>>18&1023)|0];$11_1=Math_imul($9_1+$11_1|0,-11295);$10_1=$11_1+($10_1+$13_1|0)|0;$13_1=Math_imul($5_1-$15_1|0,2578);$6_1=$6_1+($13_1+($14_1+Math_imul($15_1,-15083)|0)|0)|0;HEAP8[$2_1+1|0]=HEAPU8[$1_1+($10_1+$6_1>>>18&1023)|0];HEAP8[$2_1+5|0]=HEAPU8[$1_1+($6_1-$10_1>>>18&1023)|0];$6_1=$11_1+($22_1+Math_imul($9_1,15326)|0)|0;$5_1=$8_1+($13_1+Math_imul($5_1,-20239)|0)|0;HEAP8[$2_1+2|0]=HEAPU8[$1_1+($6_1+$5_1>>>18&1023)|0];HEAP8[$2_1+4|0]=HEAPU8[$1_1+($5_1-$6_1>>>18&1023)|0];HEAP8[$2_1+3|0]=HEAPU8[$1_1+($14_1+Math_imul($15_1-$17_1|0,11585)>>>18&1023)|0];$0_1=$0_1+28|0;$7_1=$7_1+1|0;if(($7_1|0)!=14){continue}break}global$0=$21_1+400|0}function $631($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=Math_fround(0),$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=Math_fround(0),$16_1=0;$7_1=global$0-48|0;global$0=$7_1;HEAP32[$7_1+36>>2]=8;HEAP32[$7_1+40>>2]=1;HEAP32[$7_1+32>>2]=$0_1;HEAP32[$7_1+24>>2]=1;HEAP32[$7_1+20>>2]=$3_1;HEAP32[$7_1+16>>2]=$1_1;HEAP32[$7_1+8>>2]=8;HEAP32[$7_1+4>>2]=$3_1;HEAP32[$7_1>>2]=$2_1;$0_1=$806(HEAP32[$7_1+8>>2],HEAP32[$7_1+4>>2]);label$2:{if($0_1){$9_1=-1;label$4:{$6_1=HEAP32[$0_1+4>>2];if(($6_1|0)!=HEAP32[$7_1+8>>2]){break label$4}$1_1=HEAP32[$0_1+8>>2];if(($1_1|0)!=HEAP32[$7_1+4>>2]){break label$4}$9_1=0;$12_1=($6_1|0)>0?$6_1:0;$2_1=($1_1|0)>0?$1_1:0;$3_1=HEAP32[$0_1>>2];$1_1=0;while(1){if(($1_1|0)==($12_1|0)){break label$4}$4_1=HEAP32[$7_1>>2]+($1_1<<2)|0;$5_1=0;while(1){if(($2_1|0)!=($5_1|0)){HEAPF32[$3_1>>2]=HEAPF32[$4_1>>2];$5_1=$5_1+1|0;$3_1=$3_1+4|0;$4_1=($6_1<<2)+$4_1|0;continue}break}$1_1=$1_1+1|0;continue}}if(($9_1|0)>=0){break label$2}$17($0_1)}$0_1=0}$12_1=$0_1;label$1:{if(!$0_1){$0_1=-1;break label$1}$13_1=$794($12_1,$7_1);label$9:{if(!$13_1){$0_1=-1;break label$9}$16_1=$794($12_1,$7_1+16|0);label$11:{if(!$16_1){$0_1=-1;break label$11}$0_1=0;$3_1=0;$9_1=HEAP32[$13_1>>2];$1_1=0;$11_1=global$0-2e3|0;global$0=$11_1;$6_1=HEAP32[$13_1+4>>2];label$13:{if(($6_1|0)>500){break label$13}label$14:{label$15:{switch($6_1|0){case 1:HEAPF32[$9_1>>2]=Math_fround(1)/HEAPF32[$9_1>>2];break label$14;case 0:break label$13;default:break label$15}}$14_1=($6_1|0)>0?$6_1:0;while(1)if(($1_1|0)==($14_1|0)){while(1){if(($3_1|0)==($14_1|0)){$3_1=0;while(1){$1_1=$3_1;if(($14_1|0)==($1_1|0)){break label$14}while(1){label$23:{if(($1_1|0)==($6_1|0)){$1_1=$6_1;break label$23}if(HEAP32[$11_1+($1_1<<2)>>2]==($3_1|0)){break label$23}$1_1=$1_1+1|0;continue}break}$2_1=$1_1<<2;$1_1=$3_1<<2;HEAP32[$2_1+$11_1>>2]=HEAP32[$1_1+$11_1>>2];$1_1=$1_1+$9_1|0;$4_1=$2_1+$9_1|0;$5_1=0;while(1){if(($5_1|0)!=($14_1|0)){$8_1=HEAPF32[$4_1>>2];HEAPF32[$4_1>>2]=HEAPF32[$1_1>>2];HEAPF32[$1_1>>2]=$8_1;$5_1=$5_1+1|0;$2_1=$6_1<<2;$1_1=$2_1+$1_1|0;$4_1=$2_1+$4_1|0;continue}break}$3_1=$3_1+1|0;continue}}$15_1=Math_fround(0);$5_1=-1;$1_1=$3_1;$2_1=$9_1+(Math_imul($6_1,$1_1)<<2)|0;$4_1=$2_1;while(1){if(($1_1|0)!=($6_1|0)){$8_1=Math_fround(Math_abs(HEAPF32[$4_1>>2]));$10_1=$8_1>$15_1;$15_1=$10_1?$8_1:$15_1;$5_1=$10_1?$1_1:$5_1;$1_1=$1_1+1|0;$4_1=($6_1<<2)+$4_1|0;continue}break}$1_1=0;if(($5_1|0)==-1|$15_1<=Math_fround(1.000000013351432e-10)){break label$13}$1_1=$11_1+($5_1<<2)|0;$4_1=HEAP32[$1_1>>2];$10_1=$1_1;$1_1=$11_1+($3_1<<2)|0;HEAP32[$10_1>>2]=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=$4_1;$1_1=$9_1+(Math_imul($5_1,$6_1)<<2)|0;$5_1=0;$4_1=$2_1;while(1){if(($5_1|0)!=($6_1|0)){$8_1=HEAPF32[$1_1>>2];HEAPF32[$1_1>>2]=HEAPF32[$4_1>>2];HEAPF32[$4_1>>2]=$8_1;$5_1=$5_1+1|0;$4_1=$4_1+4|0;$1_1=$1_1+4|0;continue}break}$8_1=HEAPF32[$2_1>>2];$4_1=1;$1_1=$2_1;while(1){if(($4_1|0)!=($6_1|0)){HEAPF32[$1_1>>2]=HEAPF32[$1_1+4>>2]/$8_1;$4_1=$4_1+1|0;$1_1=$1_1+4|0;continue}break}HEAPF32[$1_1>>2]=Math_fround(1)/$8_1;$10_1=0;while(1){if(($6_1|0)!=($10_1|0)){if(($3_1|0)!=($10_1|0)){$1_1=$9_1+(Math_imul($6_1,$10_1)<<2)|0;$8_1=Math_fround(-HEAPF32[$1_1>>2]);$4_1=1;$5_1=$2_1;while(1){if(($4_1|0)!=($6_1|0)){HEAPF32[$1_1>>2]=Math_fround($8_1*HEAPF32[$5_1>>2])+HEAPF32[$1_1+4>>2];$5_1=$5_1+4|0;$4_1=$4_1+1|0;$1_1=$1_1+4|0;continue}break}HEAPF32[$1_1>>2]=HEAPF32[$5_1>>2]*$8_1}$10_1=$10_1+1|0;continue}break}$3_1=$3_1+1|0;continue}}else{HEAP32[$11_1+($1_1<<2)>>2]=$1_1;$1_1=$1_1+1|0;continue}}$1_1=$9_1}global$0=$11_1+2e3|0;label$39:{if((($1_1?0:-1)|0)<0){$0_1=-1;break label$39}$784($7_1+32|0,$13_1,$16_1)}$17($16_1)}$17($13_1)}$17($12_1)}global$0=$7_1+48|0;return $0_1}function $703($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0;$2_1=global$0-256|0;global$0=$2_1;$4_1=HEAPF64[$1_1+16>>3];$7_1=$4_1*$4_1;$4_1=HEAPF64[$1_1>>3];$3_1=HEAPF64[$1_1+8>>3];$3_1=$7_1+($4_1*$4_1+$3_1*$3_1);label$1:{if($3_1==0){HEAP32[$2_1+200>>2]=0;HEAP32[$2_1+204>>2]=0;HEAP32[$2_1+192>>2]=0;HEAP32[$2_1+196>>2]=1072693248;$3_1=0;break label$1}$3_1=Math_sqrt($3_1);HEAPF64[$2_1+192>>3]=$4_1/$3_1;HEAPF64[$2_1+200>>3]=HEAPF64[$1_1+8>>3]/$3_1;$6_1=HEAPF64[$1_1+16>>3]/$3_1}HEAPF64[$2_1+216>>3]=$3_1;HEAPF64[$2_1+208>>3]=$6_1;HEAPF64[$2_1+224>>3]=HEAPF64[$1_1+24>>3];HEAPF64[$2_1+232>>3]=HEAPF64[$1_1+32>>3];HEAPF64[$2_1+240>>3]=HEAPF64[$1_1+40>>3];$1_1=global$0-16|0;global$0=$1_1;$3_1=HEAPF64[$2_1+216>>3];wasm2js_scratch_store_f64(+$3_1);$5_1=wasm2js_scratch_load_i32(1)|0;wasm2js_scratch_load_i32(0)|0;$5_1=$5_1&2147483647;label$3:{if($5_1>>>0<=1072243195){$4_1=1;if($5_1>>>0<1044816030){break label$3}$4_1=$304($3_1,0);break label$3}$4_1=$3_1-$3_1;if($5_1>>>0>=2146435072){break label$3}label$5:{switch($648($3_1,$1_1)&3){case 0:$4_1=$304(HEAPF64[$1_1>>3],HEAPF64[$1_1+8>>3]);break label$3;case 1:$4_1=-$303(HEAPF64[$1_1>>3],HEAPF64[$1_1+8>>3],1);break label$3;case 2:$4_1=-$304(HEAPF64[$1_1>>3],HEAPF64[$1_1+8>>3]);break label$3;default:break label$5}}$4_1=$303(HEAPF64[$1_1>>3],HEAPF64[$1_1+8>>3],1)}global$0=$1_1+16|0;$7_1=HEAPF64[$2_1+192>>3];$6_1=1-$4_1;HEAPF64[$2_1+96>>3]=$4_1+$7_1*$7_1*$6_1;$7_1=HEAPF64[$2_1+192>>3]*HEAPF64[$2_1+200>>3]*$6_1;$13_1=HEAPF64[$2_1+208>>3];$1_1=global$0-16|0;global$0=$1_1;wasm2js_scratch_store_f64(+$3_1);$5_1=wasm2js_scratch_load_i32(1)|0;wasm2js_scratch_load_i32(0)|0;$5_1=$5_1&2147483647;label$9:{if($5_1>>>0<=1072243195){if($5_1>>>0<1045430272){break label$9}$3_1=$303($3_1,0,0);break label$9}if($5_1>>>0>=2146435072){$3_1=$3_1-$3_1;break label$9}label$12:{switch($648($3_1,$1_1)&3){case 0:$3_1=$303(HEAPF64[$1_1>>3],HEAPF64[$1_1+8>>3],1);break label$9;case 1:$3_1=$304(HEAPF64[$1_1>>3],HEAPF64[$1_1+8>>3]);break label$9;case 2:$3_1=-$303(HEAPF64[$1_1>>3],HEAPF64[$1_1+8>>3],1);break label$9;default:break label$12}}$3_1=-$304(HEAPF64[$1_1>>3],HEAPF64[$1_1+8>>3])}global$0=$1_1+16|0;HEAPF64[$2_1+104>>3]=$7_1-$13_1*$3_1;HEAPF64[$2_1+112>>3]=HEAPF64[$2_1+192>>3]*HEAPF64[$2_1+208>>3]*$6_1+$3_1*HEAPF64[$2_1+200>>3];HEAPF64[$2_1+120>>3]=HEAPF64[$2_1+224>>3];HEAPF64[$2_1+128>>3]=HEAPF64[$2_1+200>>3]*HEAPF64[$2_1+192>>3]*$6_1+$3_1*HEAPF64[$2_1+208>>3];$7_1=HEAPF64[$2_1+200>>3];HEAPF64[$2_1+136>>3]=$4_1+$7_1*$7_1*$6_1;HEAPF64[$2_1+144>>3]=HEAPF64[$2_1+200>>3]*HEAPF64[$2_1+208>>3]*$6_1-$3_1*HEAPF64[$2_1+192>>3];HEAPF64[$2_1+152>>3]=HEAPF64[$2_1+232>>3];HEAPF64[$2_1+160>>3]=HEAPF64[$2_1+208>>3]*HEAPF64[$2_1+192>>3]*$6_1-$3_1*HEAPF64[$2_1+200>>3];HEAPF64[$2_1+168>>3]=HEAPF64[$2_1+208>>3]*HEAPF64[$2_1+200>>3]*$6_1+$3_1*HEAPF64[$2_1+192>>3];$3_1=$4_1;$4_1=HEAPF64[$2_1+208>>3];HEAPF64[$2_1+176>>3]=$3_1+$4_1*$4_1*$6_1;HEAPF64[$2_1+184>>3]=HEAPF64[$2_1+240>>3];while(1){if(($8_1|0)==3){while(1){$1_1=0;if(($9_1|0)==3){global$0=$2_1+256|0}else{while(1){if(($1_1|0)!=4){$5_1=$1_1<<3;$8_1=$9_1<<5;HEAPF64[$5_1+($8_1+$0_1|0)>>3]=HEAPF64[$5_1+($2_1+$8_1|0)>>3];$1_1=$1_1+1|0;continue}break}$9_1=$9_1+1|0;continue}break}}else{$10_1=$8_1<<5;$5_1=$10_1+$0_1|0;$4_1=HEAPF64[$5_1+16>>3];$3_1=HEAPF64[$5_1+8>>3];$6_1=HEAPF64[$5_1>>3];$1_1=0;while(1){if(($1_1|0)!=4){$12_1=$1_1<<3;$11_1=$12_1+($2_1+96|0)|0;HEAPF64[$12_1+($2_1+$10_1|0)>>3]=$4_1*HEAPF64[$11_1- -64>>3]+($6_1*HEAPF64[$11_1>>3]+$3_1*HEAPF64[$11_1+32>>3]);$1_1=$1_1+1|0;continue}break}$1_1=$2_1+$10_1|0;HEAPF64[$1_1+24>>3]=HEAPF64[$5_1+24>>3]+HEAPF64[$1_1+24>>3];$8_1=$8_1+1|0;continue}break}}function $594($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1){var $9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0;$9_1=global$0-128|0;global$0=$9_1;label$1:{label$2:{label$3:{if(!$212($5_1,$6_1,$7_1,$8_1,0,0,0,0)){break label$3}$12_1=$8_1&65535;$13_1=$8_1>>>16&32767;label$4:{label$5:{if(($13_1|0)!=32767){$11_1=4;if($13_1){break label$5}$11_1=$5_1|$7_1|($6_1|$12_1)?3:2;break label$4}$11_1=!($5_1|$7_1|($6_1|$12_1))}}$17_1=$4_1>>>16|0;$14_1=$17_1&32767;if(($14_1|0)==32767){break label$3}if($11_1){break label$2}}$44($9_1+16|0,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1);$4_1=HEAP32[$9_1+16>>2];$3_1=HEAP32[$9_1+20>>2];$2_1=HEAP32[$9_1+24>>2];$1_1=HEAP32[$9_1+28>>2];$584($9_1,$4_1,$3_1,$2_1,$1_1,$4_1,$3_1,$2_1,$1_1);$3_1=HEAP32[$9_1+8>>2];$4_1=HEAP32[$9_1+12>>2];$7_1=HEAP32[$9_1>>2];$8_1=HEAP32[$9_1+4>>2];break label$1}$12_1=$4_1&65535|$14_1<<16;$15_1=$12_1;$11_1=$3_1;$12_1=$7_1;$16_1=$8_1>>>16&32767;$10_1=$8_1&65535|$16_1<<16;if(($212($1_1,$2_1,$11_1,$15_1,$5_1,$6_1,$7_1,$10_1)|0)<=0){if($212($1_1,$2_1,$11_1,$15_1,$5_1,$6_1,$12_1,$10_1)){$7_1=$1_1;$8_1=$2_1;break label$1}$44($9_1+112|0,$1_1,$2_1,$3_1,$4_1,0,0,0,0);$3_1=HEAP32[$9_1+120>>2];$4_1=HEAP32[$9_1+124>>2];$7_1=HEAP32[$9_1+112>>2];$8_1=HEAP32[$9_1+116>>2];break label$1}if($14_1){$8_1=$2_1;$7_1=$1_1}else{$44($9_1+96|0,$1_1,$2_1,$11_1,$15_1,0,0,0,1081540608);$7_1=HEAP32[$9_1+108>>2];$15_1=$7_1;$11_1=HEAP32[$9_1+104>>2];$14_1=($7_1>>>16|0)-120|0;$8_1=HEAP32[$9_1+100>>2];$7_1=HEAP32[$9_1+96>>2]}if(!$16_1){$44($9_1+80|0,$5_1,$6_1,$12_1,$10_1,0,0,0,1081540608);$5_1=HEAP32[$9_1+92>>2];$10_1=$5_1;$12_1=HEAP32[$9_1+88>>2];$16_1=($10_1>>>16|0)-120|0;$6_1=HEAP32[$9_1+84>>2];$5_1=HEAP32[$9_1+80>>2]}$18_1=$10_1&65535|65536;$15_1=$15_1&65535|65536;if(($14_1|0)>($16_1|0)){while(1){$19_1=$11_1-$12_1|0;$10_1=($6_1|0)==($8_1|0)&$5_1>>>0>$7_1>>>0|$6_1>>>0>$8_1>>>0;$13_1=($15_1-(($11_1>>>0<$12_1>>>0)+$18_1|0)|0)-($19_1>>>0<$10_1>>>0)|0;$10_1=$19_1-$10_1|0;label$14:{if(($13_1|0)>0|($13_1|0)>=0){$11_1=$7_1;$7_1=$7_1-$5_1|0;$8_1=$8_1-(($5_1>>>0>$11_1>>>0)+$6_1|0)|0;if(!($7_1|$10_1|($8_1|$13_1))){$44($9_1+32|0,$1_1,$2_1,$3_1,$4_1,0,0,0,0);$3_1=HEAP32[$9_1+40>>2];$4_1=HEAP32[$9_1+44>>2];$7_1=HEAP32[$9_1+32>>2];$8_1=HEAP32[$9_1+36>>2];break label$1}$13_1=$13_1<<1|$10_1>>>31;$11_1=$10_1<<1|$8_1>>>31;$15_1=$13_1;break label$14}$13_1=$15_1<<1|$11_1>>>31;$11_1=$11_1<<1|$8_1>>>31;$15_1=$13_1}$13_1=$8_1<<1|$7_1>>>31;$7_1=$7_1<<1;$8_1=$13_1;$14_1=$14_1-1|0;if(($16_1|0)<($14_1|0)){continue}break}$14_1=$16_1}$16_1=$11_1-$12_1|0;$13_1=($6_1|0)==($8_1|0)&$5_1>>>0>$7_1>>>0|$6_1>>>0>$8_1>>>0;$10_1=($15_1-(($11_1>>>0<$12_1>>>0)+$18_1|0)|0)-($16_1>>>0<$13_1>>>0)|0;$12_1=$16_1-$13_1|0;label$17:{if(($10_1|0)<0){$12_1=$11_1;$10_1=$15_1;break label$17}$11_1=$7_1;$7_1=$7_1-$5_1|0;$8_1=$8_1-(($5_1>>>0>$11_1>>>0)+$6_1|0)|0;if($7_1|$12_1|($8_1|$10_1)){break label$17}$44($9_1+48|0,$1_1,$2_1,$3_1,$4_1,0,0,0,0);$3_1=HEAP32[$9_1+56>>2];$4_1=HEAP32[$9_1+60>>2];$7_1=HEAP32[$9_1+48>>2];$8_1=HEAP32[$9_1+52>>2];break label$1}if(($10_1|0)==65535|$10_1>>>0<65535){while(1){$1_1=$8_1>>>31|0;$14_1=$14_1-1|0;$15_1=$8_1<<1|$7_1>>>31;$7_1=$7_1<<1;$8_1=$15_1;$2_1=$1_1;$1_1=$12_1;$10_1=$10_1<<1|$1_1>>>31;$12_1=$2_1|$1_1<<1;if($10_1>>>0<65536){continue}break}}$1_1=$17_1&32768;if(($14_1|0)<=0){$44($9_1- -64|0,$7_1,$8_1,$12_1,$10_1&65535|($1_1|$14_1+120)<<16,0,0,0,1065811968);$3_1=HEAP32[$9_1+72>>2];$4_1=HEAP32[$9_1+76>>2];$7_1=HEAP32[$9_1+64>>2];$8_1=HEAP32[$9_1+68>>2];break label$1}$3_1=$12_1;$4_1=$10_1&65535|($1_1|$14_1)<<16}HEAP32[$0_1>>2]=$7_1;HEAP32[$0_1+4>>2]=$8_1;HEAP32[$0_1+8>>2]=$3_1;HEAP32[$0_1+12>>2]=$4_1;global$0=$9_1+128|0}function $1048($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0;$22_1=global$0-320|0;global$0=$22_1;$18_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$22_1;while(1){$10_1=HEAP32[$1_1+192>>2];$11_1=HEAP16[$2_1+96>>1];$8_1=HEAP32[$1_1+64>>2];$12_1=HEAP16[$2_1+32>>1];$6_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$5_1=Math_imul(HEAP32[$1_1+128>>2],HEAP16[$2_1+64>>1]);$15_1=$6_1+Math_imul($5_1,-11586)>>11;$7_1=Math_imul(HEAP32[$1_1+32>>2],HEAP16[$2_1+16>>1]);$13_1=Math_imul(HEAP32[$1_1+160>>2],HEAP16[$2_1+80>>1]);$16_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$14_1=Math_imul(HEAP32[$1_1+224>>2],HEAP16[$2_1+112>>1]);$9_1=$16_1-$14_1|0;$17_1=$7_1-($13_1+$9_1|0)<<2;HEAP32[$0_1+224>>2]=$15_1-$17_1;HEAP32[$0_1+64>>2]=$15_1+$17_1;$11_1=Math_imul($10_1,$11_1);$8_1=Math_imul($8_1,$12_1);$10_1=Math_imul($11_1+$8_1|0,6810);$8_1=$10_1+Math_imul($8_1,4209)|0;$12_1=$6_1+Math_imul($5_1,9373)|0;$15_1=$8_1+$12_1|0;$17_1=Math_imul($9_1,2531);$13_1=$13_1<<13;$20_1=$17_1+$13_1|0;$16_1=$14_1+$16_1|0;$14_1=Math_imul($16_1,7791);$21_1=$20_1+($14_1+Math_imul($7_1,11443)|0)|0;HEAP32[$0_1+288>>2]=$15_1-$21_1>>11;HEAP32[$0_1>>2]=$15_1+$21_1>>11;$8_1=$12_1-$8_1|0;$12_1=$20_1+(Math_imul($7_1,1812)-$14_1|0)|0;HEAP32[$0_1+160>>2]=$8_1-$12_1>>11;HEAP32[$0_1+128>>2]=$8_1+$12_1>>11;$5_1=$6_1+Math_imul($5_1,-3580)|0;$6_1=$10_1+Math_imul($11_1,-17828)|0;$10_1=$5_1-$6_1|0;$9_1=($13_1-$17_1|0)-($9_1<<12)|0;$11_1=Math_imul($16_1,4815);$8_1=$9_1+(Math_imul($7_1,5260)-$11_1|0)|0;HEAP32[$0_1+192>>2]=$10_1-$8_1>>11;HEAP32[$0_1+96>>2]=$10_1+$8_1>>11;$5_1=$5_1+$6_1|0;$7_1=Math_imul($7_1,10323)-($9_1+$11_1|0)|0;HEAP32[$0_1+256>>2]=$5_1-$7_1>>11;HEAP32[$0_1+32>>2]=$5_1+$7_1>>11;$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+2|0;$19_1=$19_1+1|0;if(($19_1|0)!=8){continue}break}$0_1=$18_1-384|0;$2_1=$22_1;$19_1=0;while(1){$18_1=HEAP32[$2_1+24>>2];$9_1=HEAP32[$2_1+8>>2];$5_1=Math_imul($18_1+$9_1|0,6810);$1_1=HEAP32[($19_1<<2)+$3_1>>2]+$4_1|0;$6_1=HEAP32[$2_1+28>>2];$10_1=HEAP32[$2_1+12>>2];$11_1=$6_1+$10_1|0;$8_1=Math_imul($11_1,7791);$7_1=HEAP32[$2_1+4>>2];$6_1=$10_1-$6_1|0;$12_1=Math_imul($6_1,2531);$15_1=HEAP32[$2_1+20>>2];$13_1=$15_1<<13;$16_1=$12_1+$13_1|0;$14_1=($8_1+Math_imul($7_1,11443)|0)+$16_1|0;$17_1=$5_1+Math_imul($9_1,4209)|0;$10_1=(HEAP32[$2_1>>2]<<13)+134348800|0;$9_1=HEAP32[$2_1+16>>2];$20_1=$10_1+Math_imul($9_1,9373)|0;$21_1=$17_1+$20_1|0;HEAP8[$1_1|0]=HEAPU8[$0_1+($14_1+$21_1>>>18&1023)|0];HEAP8[$1_1+9|0]=HEAPU8[$0_1+($21_1-$14_1>>>18&1023)|0];$11_1=Math_imul($11_1,4815);$12_1=($13_1-$12_1|0)-($6_1<<12)|0;$13_1=Math_imul($7_1,10323)-($11_1+$12_1|0)|0;$5_1=$5_1+Math_imul($18_1,-17828)|0;$18_1=$10_1+Math_imul($9_1,-3580)|0;$14_1=$5_1+$18_1|0;HEAP8[$1_1+1|0]=HEAPU8[$0_1+($13_1+$14_1>>>18&1023)|0];HEAP8[$1_1+8|0]=HEAPU8[$0_1+($14_1-$13_1>>>18&1023)|0];$6_1=$7_1-($6_1+$15_1|0)<<13;$9_1=$10_1+Math_imul($9_1,-11586)|0;HEAP8[$1_1+2|0]=HEAPU8[$0_1+($6_1+$9_1>>>18&1023)|0];HEAP8[$1_1+7|0]=HEAPU8[$0_1+($9_1-$6_1>>>18&1023)|0];$6_1=$12_1+(Math_imul($7_1,5260)-$11_1|0)|0;$5_1=$18_1-$5_1|0;HEAP8[$1_1+3|0]=HEAPU8[$0_1+($6_1+$5_1>>>18&1023)|0];HEAP8[$1_1+6|0]=HEAPU8[$0_1+($5_1-$6_1>>>18&1023)|0];$7_1=$16_1+(Math_imul($7_1,1812)-$8_1|0)|0;$5_1=$20_1-$17_1|0;HEAP8[$1_1+4|0]=HEAPU8[$0_1+($7_1+$5_1>>>18&1023)|0];HEAP8[$1_1+5|0]=HEAPU8[$0_1+($5_1-$7_1>>>18&1023)|0];$2_1=$2_1+32|0;$19_1=$19_1+1|0;if(($19_1|0)!=10){continue}break}global$0=$22_1+320|0}function $650($0_1,$1_1,$2_1,$3_1){var $4_1=Math_fround(0),$5_1=Math_fround(0),$6_1=Math_fround(0),$7_1=Math_fround(0),$8_1=0,$9_1=Math_fround(0),$10_1=Math_fround(0),$11_1=Math_fround(0),$12_1=Math_fround(0),$13_1=Math_fround(0),$14_1=Math_fround(0),$15_1=Math_fround(0),$16_1=Math_fround(0),$17_1=Math_fround(0),$18_1=Math_fround(0),$19_1=Math_fround(0),$20_1=Math_fround(0),$21_1=Math_fround(0),$22_1=Math_fround(0),$23_1=Math_fround(0);$8_1=global$0-48|0;global$0=$8_1;label$1:{if($0_1){$396($0_1+8|0,$1_1,$8_1);$7_1=HEAPF32[$8_1+28>>2];$14_1=HEAPF32[$8_1+16>>2];$5_1=HEAPF32[$2_1>>2];$16_1=Math_fround($14_1*$5_1);$4_1=HEAPF32[$2_1+4>>2];$10_1=HEAPF32[$8_1+20>>2];$11_1=Math_fround($4_1*$10_1);$9_1=HEAPF32[$8_1+44>>2];$17_1=HEAPF32[$8_1+32>>2];$12_1=Math_fround($17_1*$5_1);$18_1=HEAPF32[$8_1+36>>2];$19_1=Math_fround($4_1*$18_1);$6_1=Math_fround($9_1+Math_fround($12_1+$19_1));$15_1=Math_fround(Math_fround($7_1+Math_fround($16_1+$11_1))/$6_1);$13_1=HEAPF32[$8_1+12>>2];$20_1=HEAPF32[$8_1>>2];$21_1=Math_fround($20_1*$5_1);$22_1=HEAPF32[$8_1+4>>2];$23_1=Math_fround($4_1*$22_1);$6_1=Math_fround(Math_fround($13_1+Math_fround($21_1+$23_1))/$6_1);$4_1=Math_fround($4_1+Math_fround(10));$12_1=Math_fround($9_1+Math_fround($12_1+Math_fround($4_1*$18_1)));$16_1=Math_fround(Math_fround($7_1+Math_fround($16_1+Math_fround($4_1*$10_1)))/$12_1);$12_1=Math_fround(Math_fround($13_1+Math_fround($21_1+Math_fround($4_1*$22_1)))/$12_1);$5_1=Math_fround($5_1+Math_fround(10));$4_1=Math_fround($9_1+Math_fround(Math_fround($17_1*$5_1)+$19_1));$7_1=Math_fround(Math_fround($7_1+Math_fround(Math_fround($14_1*$5_1)+$11_1))/$4_1);$5_1=Math_fround(Math_fround($13_1+Math_fround(Math_fround($20_1*$5_1)+$23_1))/$4_1);break label$1}$10_1=HEAPF32[$1_1+16>>2];$5_1=HEAPF32[$2_1>>2];$15_1=Math_fround($10_1*$5_1);$6_1=HEAPF32[$1_1+44>>2];$11_1=HEAPF32[$1_1+32>>2];$17_1=Math_fround($11_1*$5_1);$4_1=HEAPF32[$2_1+4>>2];$7_1=Math_fround($4_1+Math_fround(10));$18_1=HEAPF32[$1_1+36>>2];$9_1=Math_fround($6_1+Math_fround($17_1+Math_fround($7_1*$18_1)));$13_1=HEAPF32[$1_1+28>>2];$19_1=HEAPF32[$1_1+20>>2];$16_1=Math_fround(Math_fround($13_1+Math_fround($15_1+Math_fround($7_1*$19_1)))/$9_1);$14_1=HEAPF32[$1_1+12>>2];$20_1=HEAPF32[$1_1>>2];$21_1=Math_fround($20_1*$5_1);$22_1=HEAPF32[$1_1+4>>2];$12_1=Math_fround(Math_fround($14_1+Math_fround($21_1+Math_fround($7_1*$22_1)))/$9_1);$5_1=Math_fround($5_1+Math_fround(10));$7_1=Math_fround($11_1*$5_1);$11_1=Math_fround($4_1*$18_1);$9_1=Math_fround($6_1+Math_fround($7_1+$11_1));$7_1=Math_fround($10_1*$5_1);$10_1=Math_fround($4_1*$19_1);$7_1=Math_fround(Math_fround($13_1+Math_fround($7_1+$10_1))/$9_1);$4_1=Math_fround($4_1*$22_1);$5_1=Math_fround(Math_fround($14_1+Math_fround(Math_fround($20_1*$5_1)+$4_1))/$9_1);$6_1=Math_fround($6_1+Math_fround($17_1+$11_1));$15_1=Math_fround(Math_fround($13_1+Math_fround($15_1+$10_1))/$6_1);$6_1=Math_fround(Math_fround($14_1+Math_fround($21_1+$4_1))/$6_1)}$5_1=Math_fround($5_1-$6_1);$4_1=Math_fround($5_1*$5_1);$5_1=Math_fround($7_1-$15_1);$5_1=Math_fround($4_1+Math_fround($5_1*$5_1));$4_1=Math_fround($12_1-$6_1);$6_1=Math_fround($4_1*$4_1);$4_1=Math_fround($16_1-$15_1);$4_1=Math_fround($6_1+Math_fround($4_1*$4_1));$0_1=$5_1<$4_1;HEAPF32[$3_1+4>>2]=Math_fround(Math_sqrt($0_1?$5_1:$4_1))*Math_fround(2.5399999618530273);HEAPF32[$3_1>>2]=Math_fround(Math_sqrt($0_1?$4_1:$5_1))*Math_fround(2.5399999618530273);global$0=$8_1+48|0}function $689($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0;$13_1=global$0-160|0;global$0=$13_1;$6_1=-1;$10_1=HEAP32[$1_1+8>>2];label$1:{if(($10_1|0)<4){break label$1}$8_1=HEAPF64[$0_1+128>>3]*+($10_1|0);label$2:{if(Math_abs($8_1)<2147483648){$5_1=~~$8_1;break label$2}$5_1=-2147483648}$14_1=$7(Math_imul($10_1,96));if(!$14_1){$5(0,3,1429,0);break label$1}$15_1=$7($10_1<<4);if(!$15_1){$5(0,3,1429,0);$1($14_1);break label$1}$6_1=$10_1<<3;$16_1=$7($6_1);if(!$16_1){$5(0,3,1429,0);$1($14_1);$1($15_1);$6_1=-1;break label$1}$10_1=$7($6_1);if($10_1){$11_1=(($5_1|0)>4?$5_1:4)-1|0;$5_1=0;while(1){$6_1=0;if(($5_1|0)==3){$18_1=($11_1<<3)+$10_1|0;$2_1=0;label$10:{while(1){$496($0_1,$3_1,$13_1+48|0);$6_1=0;while(1){$5_1=HEAP32[$1_1+8>>2];if(($5_1|0)>($6_1|0)){if(($719($13_1+144|0,$13_1+48|0,HEAP32[$1_1+4>>2]+Math_imul($6_1,24)|0)|0)<0){break label$10}$5_1=$6_1<<4;$11_1=$5_1+HEAP32[$1_1>>2]|0;$12_1=HEAPF64[$11_1>>3];$19_1=HEAPF64[$13_1+144>>3];$5_1=$5_1+$15_1|0;$8_1=HEAPF64[$11_1+8>>3]-HEAPF64[$13_1+152>>3];HEAPF64[$5_1+8>>3]=$8_1;$12_1=$12_1-$19_1;HEAPF64[$5_1>>3]=$12_1;$5_1=$6_1<<3;$8_1=$12_1*$12_1+$8_1*$8_1;HEAPF64[$5_1+$10_1>>3]=$8_1;HEAPF64[$5_1+$16_1>>3]=$8_1;$6_1=$6_1+1|0;continue}break}$611($10_1,$5_1,8,1);$6_1=0;$5_1=HEAP32[$1_1+8>>2];$11_1=($5_1|0)>0?$5_1:0;$12_1=Math_max(HEAPF64[$18_1>>3]*4,16);$19_1=$12_1/6;$8_1=0;while(1){if(($6_1|0)!=($11_1|0)){$17_1=HEAPF64[($6_1<<3)+$10_1>>3];if($17_1>$12_1){$8_1=$19_1+$8_1}else{$17_1=1-$17_1/$12_1;$8_1=$19_1*(1-$17_1*$17_1*$17_1)+$8_1}$6_1=$6_1+1|0;continue}break}label$18:{$8_1=$8_1/+($5_1|0);if($8_1>3]|!(!$2_1|!($8_1>3]))&HEAPF64[$0_1+112>>3]<$8_1/$7_1){break label$18}$6_1=0;$11_1=0;if(HEAP32[$0_1+96>>2]==($2_1|0)){break label$18}while(1){if(($5_1|0)>($6_1|0)){$7_1=HEAPF64[($6_1<<3)+$16_1>>3];if($7_1<=$12_1){$9_1=Math_imul($11_1,48);$5_1=$9_1+$14_1|0;if(($713($5_1,$0_1,$3_1,HEAP32[$1_1+4>>2]+Math_imul($6_1,24)|0)|0)<0){break label$10}$7_1=1-$7_1/$12_1;$7_1=$7_1*$7_1;HEAPF64[$5_1>>3]=$7_1*HEAPF64[$5_1>>3];$9_1=($9_1|8)+$14_1|0;HEAPF64[$9_1>>3]=$7_1*HEAPF64[$9_1>>3];HEAPF64[$5_1+16>>3]=$7_1*HEAPF64[$5_1+16>>3];HEAPF64[$5_1+24>>3]=$7_1*HEAPF64[$5_1+24>>3];HEAPF64[$5_1+32>>3]=$7_1*HEAPF64[$5_1+32>>3];HEAPF64[$5_1+40>>3]=$7_1*HEAPF64[$5_1+40>>3];HEAPF64[$5_1+48>>3]=$7_1*HEAPF64[$5_1+48>>3];HEAPF64[$5_1+56>>3]=$7_1*HEAPF64[$5_1+56>>3];$9_1=$5_1- -64|0;HEAPF64[$9_1>>3]=$7_1*HEAPF64[$9_1>>3];HEAPF64[$5_1+72>>3]=$7_1*HEAPF64[$5_1+72>>3];HEAPF64[$5_1+80>>3]=$7_1*HEAPF64[$5_1+80>>3];HEAPF64[$5_1+88>>3]=$7_1*HEAPF64[$5_1+88>>3];$5_1=($11_1<<3)+$15_1|0;$9_1=($6_1<<4)+$15_1|0;HEAPF64[$5_1>>3]=$7_1*HEAPF64[$9_1>>3];HEAPF64[$5_1+8>>3]=$7_1*HEAPF64[$9_1+8>>3];$11_1=$11_1+2|0;$5_1=HEAP32[$1_1+8>>2]}$6_1=$6_1+1|0;continue}break}if(($11_1|0)<=5){break label$10}if(($707($13_1,$15_1,$14_1,$11_1)|0)<0){break label$10}$703($3_1,$13_1);$2_1=$2_1+1|0;$7_1=$8_1;continue}break}HEAPF64[$4_1>>3]=$8_1;$1($14_1);$1($15_1);$1($16_1);$1($10_1);$6_1=0;break label$1}$1($14_1);$1($15_1);$1($16_1);$1($10_1);$6_1=-1;break label$1}else{while(1){if(($6_1|0)!=4){$9_1=$6_1<<3;$18_1=$5_1<<5;HEAPF64[$9_1+($18_1+$3_1|0)>>3]=HEAPF64[$9_1+($2_1+$18_1|0)>>3];$6_1=$6_1+1|0;continue}break}$5_1=$5_1+1|0;continue}}}$5(0,3,1429,0);$1($14_1);$1($15_1);$1($16_1);$6_1=-1}global$0=$13_1+160|0;return $6_1}function $827($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0;$8_1=global$0-32|0;global$0=$8_1;label$2:{label$3:{if(!$1_1){HEAP32[$22()>>2]=28;break label$3}$2_1=$216($1_1,2567);if(!$2_1){break label$3}$364($2_1,0,2);$9_1=$637($2_1);$364($2_1,0,0);$5_1=$7($9_1+1|0);if(!$5_1){$87($2_1);HEAP32[$22()>>2]=48;$5_1=0;break label$2}if(!$47($5_1,$9_1,1,$2_1)){$1($5_1);$87($2_1);break label$3}HEAP8[$5_1+$9_1|0]=0;$87($2_1);break label$2}$5_1=0}$9_1=$5_1;label$1:{if(!$5_1){HEAP32[$8_1+16>>2]=$1_1;$5(0,3,5625,$8_1+16|0);HEAP32[$8_1+4>>2]=$247(HEAP32[$22()>>2]);HEAP32[$8_1>>2]=7272;$5(0,3,6117,$8_1);$1_1=-1;break label$1}$2_1=$0_1;label$8:{if(!$2_1){$5(0,3,2991,0);$1_1=-1;break label$8}if($9_1){$0_1=HEAP32[$2_1+4>>2];$5_1=($0_1|0)>0?$0_1:0;while(1){label$12:{if(($3_1|0)!=($5_1|0)){if(HEAP32[HEAP32[$2_1+8>>2]+($3_1<<2)>>2]){break label$12}$5_1=$3_1}if(($0_1|0)!=($5_1|0)){$14_1=$605($9_1);if(!$14_1){$5(0,3,3941,0);$1_1=-1;break label$8}$17_1=$5_1<<2;$0_1=$604($14_1);while(1){if(($16_1|0)!=4){$15_1=$16_1+$17_1|0;$6_1=0;$10_1=0;while(1){if(($6_1|0)!=3){$1_1=HEAP32[$2_1+28>>2];$7_1=0;while(1){if(($1_1|0)>($7_1|0)){$3_1=0;while(1){if(($1_1|0)>($3_1|0)){if($0_1){$4_1=0;$12_1=0;while(1){$1_1=$0_1;$0_1=$1_1+1|0;if($177(HEAP8[$1_1|0])){continue}break}label$26:{label$27:{label$28:{$11_1=HEAP8[$1_1|0];switch($11_1-43|0){case 0:break label$27;case 2:break label$28;default:break label$26}}$12_1=1}$11_1=HEAP8[$0_1|0];$1_1=$0_1}if($132($11_1)){while(1){$4_1=(Math_imul($4_1,10)-HEAP8[$1_1|0]|0)+48|0;$0_1=HEAP8[$1_1+1|0];$1_1=$1_1+1|0;if($132($0_1)){continue}break}}$0_1=$604(0);$11_1=$15_1<<2;$1_1=255-($12_1?$4_1:0-$4_1|0)|0;HEAP32[HEAP32[$11_1+HEAP32[$2_1+12>>2]>>2]+(Math_imul(Math_imul(HEAP32[$2_1+28>>2],$7_1)+$3_1|0,3)+$6_1<<2)>>2]=$1_1;$12_1=HEAP32[$11_1+HEAP32[$2_1+20>>2]>>2];$4_1=$12_1+(Math_imul(HEAP32[$2_1+28>>2],$7_1)+$3_1<<2)|0;label$31:{if(!$6_1){HEAP32[$4_1>>2]=$1_1;break label$31}HEAP32[$4_1>>2]=$1_1+HEAP32[$4_1>>2];if(($6_1|0)!=2){break label$31}$4_1=$12_1+(Math_imul(HEAP32[$2_1+28>>2],$7_1)+$3_1<<2)|0;HEAP32[$4_1>>2]=HEAP32[$4_1>>2]/3}$3_1=$3_1+1|0;$10_1=$1_1+$10_1|0;$1_1=HEAP32[$2_1+28>>2];continue}else{$5(0,3,4687,0);$1($14_1);$1_1=-1;break label$8}}break}$7_1=$7_1+1|0;continue}break}$6_1=$6_1+1|0;continue}break}$3_1=HEAP32[$2_1+28>>2];$7_1=($10_1|0)/(Math_imul(Math_imul($3_1,$3_1),3)|0)|0;$1_1=0;$6_1=0;while(1){if(Math_imul(Math_imul($3_1,$3_1),3)>>>0>$1_1>>>0){$4_1=HEAP32[HEAP32[$2_1+12>>2]+($15_1<<2)>>2]+($1_1<<2)|0;$3_1=HEAP32[$4_1>>2]-$7_1|0;HEAP32[$4_1>>2]=$3_1;$6_1=Math_imul($3_1,$3_1)+$6_1|0;$1_1=$1_1+1|0;$3_1=HEAP32[$2_1+28>>2];continue}break}$4_1=$15_1<<3;$13_1=Math_sqrt(+($6_1|0));HEAPF64[$4_1+HEAP32[$2_1+16>>2]>>3]=$13_1==0?1e-7:$13_1;$1_1=0;$6_1=0;while(1){if(Math_imul($3_1,$3_1)>>>0>$1_1>>>0){$10_1=HEAP32[HEAP32[$2_1+20>>2]+($15_1<<2)>>2]+($1_1<<2)|0;$3_1=HEAP32[$10_1>>2]-$7_1|0;HEAP32[$10_1>>2]=$3_1;$6_1=Math_imul($3_1,$3_1)+$6_1|0;$1_1=$1_1+1|0;$3_1=HEAP32[$2_1+28>>2];continue}break}$13_1=Math_sqrt(+($6_1|0));HEAPF64[$4_1+HEAP32[$2_1+24>>2]>>3]=$13_1==0?1e-7:$13_1;$16_1=$16_1+1|0;continue}break}$1($14_1);HEAP32[HEAP32[$2_1+8>>2]+($5_1<<2)>>2]=1;HEAP32[$2_1>>2]=HEAP32[$2_1>>2]+1;$1_1=$5_1}else{$1_1=-1}break label$8}$3_1=$3_1+1|0;continue}}$5(0,3,3489,0);$1_1=-1}$1($9_1)}global$0=$8_1+32|0;return $1_1}function $768($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0;label$1:{label$2:{label$3:{switch($5_1-1|0){case 3:$12_1=HEAPF64[$0_1+16>>3];$25_1=$12_1*6;$13_1=HEAPF64[$0_1+24>>3];$26_1=$13_1*6;$17_1=HEAPF64[$0_1+56>>3];$18_1=HEAPF64[$0_1+40>>3];$9_1=($2_1-$17_1)/$18_1;$2_1=$9_1*$9_1;$19_1=HEAPF64[$0_1+48>>3];$20_1=HEAPF64[$0_1+32>>3];$10_1=($1_1-$19_1)/$20_1;$1_1=$10_1*$10_1;$21_1=HEAPF64[$0_1+64>>3];$14_1=HEAPF64[$0_1+8>>3];$15_1=HEAPF64[$0_1>>3];$27_1=$13_1+$13_1;$22_1=$12_1+$12_1;$5_1=1;$7_1=$9_1;$6_1=$10_1;while(1){label$8:{label$9:{if(!($1_1!=0|$2_1!=0)){$6_1=0;break label$9}$11_1=$2_1+$1_1;$23_1=$14_1*$11_1*$11_1+($15_1*$11_1+1);$16_1=$6_1;$28_1=$13_1*($1_1+$1_1+$11_1)+($23_1*$6_1+$7_1*($22_1*$6_1))-$10_1;$29_1=$26_1*$6_1;$6_1=$1_1*3;$24_1=$2_1*$6_1;$6_1=$16_1-$28_1/($29_1+($22_1*$7_1+($14_1*($2_1*$2_1+($1_1*5*$1_1+$24_1))+($15_1*($6_1+$2_1)+1))));$16_1=$27_1*$6_1;$7_1=$7_1-($16_1*$7_1+($23_1*$7_1+$12_1*($2_1+$2_1+$11_1))-$9_1)/($16_1+($25_1*$7_1+($14_1*($2_1*5*$2_1+($1_1*$1_1+$24_1))+($15_1*($2_1*3+$1_1)+1))));if(($5_1|0)!=4){break label$8}$8_1=$7_1}HEAPF64[$3_1>>3]=$19_1+$20_1*$6_1/$21_1;$2_1=$17_1+$18_1*$8_1/$21_1;break label$2}$5_1=$5_1+1|0;$2_1=$7_1*$7_1;$1_1=$6_1*$6_1;continue};case 0:$10_1=HEAPF64[$0_1>>3];$1_1=$1_1-$10_1;$7_1=$2_1-HEAPF64[$0_1+8>>3];$6_1=$1_1*$1_1+$7_1*$7_1;$2_1=Math_sqrt($6_1);$11_1=-$2_1;$8_1=HEAPF64[$0_1+24>>3]/1e8;$12_1=$8_1*-3;$13_1=-$8_1;$5_1=1;while(1){$8_1=0;label$12:{if($2_1!=0){$8_1=$2_1-(($13_1*$6_1+1)*$2_1+$11_1)/($12_1*$6_1+1);$7_1=$7_1*$8_1/$2_1;$1_1=$1_1*$8_1/$2_1;if(($5_1|0)!=3){break label$12}$9_1=$1_1;$8_1=$7_1}HEAPF64[$3_1>>3]=$10_1+$9_1/HEAPF64[$0_1+16>>3];$2_1=$8_1/HEAPF64[$0_1+16>>3]+HEAPF64[$0_1+8>>3];break label$2}$5_1=$5_1+1|0;$6_1=$1_1*$1_1+$7_1*$7_1;$2_1=Math_sqrt($6_1);continue};case 1:$10_1=HEAPF64[$0_1>>3];$7_1=$1_1-$10_1;$6_1=$2_1-HEAPF64[$0_1+8>>3];$2_1=$7_1*$7_1+$6_1*$6_1;$1_1=Math_sqrt($2_1);$11_1=-$1_1;$8_1=HEAPF64[$0_1+24>>3]/1e8;$12_1=$8_1*-3;$9_1=HEAPF64[$0_1+32>>3]/1e8/1e5;$13_1=$9_1*-5;$14_1=-$8_1;$15_1=-$9_1;$5_1=1;while(1){$9_1=0;$8_1=0;label$15:{if($1_1!=0){$2_1=$1_1-(($2_1*$15_1*$2_1+($14_1*$2_1+1))*$1_1+$11_1)/($13_1*$2_1*$2_1+($12_1*$2_1+1));$6_1=$6_1*$2_1/$1_1;$7_1=$7_1*$2_1/$1_1;if(($5_1|0)!=3){break label$15}$9_1=$7_1;$8_1=$6_1}HEAPF64[$3_1>>3]=$10_1+$9_1/HEAPF64[$0_1+16>>3];$2_1=$8_1/HEAPF64[$0_1+16>>3]+HEAPF64[$0_1+8>>3];break label$2}$5_1=$5_1+1|0;$2_1=$7_1*$7_1+$6_1*$6_1;$1_1=Math_sqrt($2_1);continue};case 2:break label$3;default:break label$1}}$10_1=HEAPF64[$0_1>>3];$7_1=($1_1-$10_1)/HEAPF64[$0_1+24>>3];$6_1=$2_1-HEAPF64[$0_1+8>>3];$2_1=$7_1*$7_1+$6_1*$6_1;$1_1=Math_sqrt($2_1);$11_1=-$1_1;$8_1=HEAPF64[$0_1+32>>3]/1e8;$12_1=$8_1*-3;$9_1=HEAPF64[$0_1+40>>3]/1e8/1e5;$13_1=$9_1*-5;$14_1=-$8_1;$15_1=-$9_1;$5_1=1;while(1){$9_1=0;$8_1=0;label$18:{if($1_1!=0){$2_1=$1_1-(($2_1*$15_1*$2_1+($14_1*$2_1+1))*$1_1+$11_1)/($13_1*$2_1*$2_1+($12_1*$2_1+1));$6_1=$6_1*$2_1/$1_1;$7_1=$7_1*$2_1/$1_1;if(($5_1|0)!=3){break label$18}$9_1=$7_1;$8_1=$6_1}HEAPF64[$3_1>>3]=$10_1+$9_1/HEAPF64[$0_1+16>>3];$2_1=$8_1/HEAPF64[$0_1+16>>3]+HEAPF64[$0_1+8>>3];break label$2}$5_1=$5_1+1|0;$2_1=$7_1*$7_1+$6_1*$6_1;$1_1=Math_sqrt($2_1);continue}}HEAPF64[$4_1>>3]=$2_1}}function $1049($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0;$20_1=global$0-288|0;global$0=$20_1;$16_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$20_1;while(1){$9_1=HEAP32[$1_1+96>>2];$8_1=HEAP16[$2_1+48>>1];$10_1=HEAP32[$1_1+160>>2];$7_1=HEAP16[$2_1+80>>1];$14_1=HEAP32[$1_1+224>>2];$12_1=HEAP16[$2_1+112>>1];$13_1=HEAP32[$1_1+32>>2];$21_1=HEAP16[$2_1+16>>1];$17_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$11_1=Math_imul(HEAP32[$1_1+192>>2],HEAP16[$2_1+96>>1]);$18_1=$17_1+Math_imul($11_1,-11586)|0;$6_1=Math_imul(HEAP32[$1_1+64>>2],HEAP16[$2_1+32>>1]);$5_1=Math_imul(HEAP32[$1_1+128>>2],HEAP16[$2_1+64>>1]);$19_1=$6_1-$5_1|0;HEAP32[$0_1+128>>2]=$18_1+Math_imul($19_1,-11586)>>11;$22_1=Math_imul($5_1+$6_1|0,10887);$23_1=Math_imul($5_1,2012);$5_1=$17_1+Math_imul($11_1,5793)|0;$11_1=($22_1-$23_1|0)+$5_1|0;$10_1=Math_imul($7_1,$10_1);$7_1=Math_imul($13_1,$21_1);$13_1=Math_imul($10_1+$7_1|0,7447);$9_1=Math_imul(Math_imul($8_1,$9_1),-10033);$8_1=Math_imul($12_1,$14_1);$14_1=Math_imul($8_1+$7_1|0,3962);$12_1=($13_1-$9_1|0)+$14_1|0;HEAP32[$0_1+256>>2]=$11_1-$12_1>>11;HEAP32[$0_1>>2]=$12_1+$11_1>>11;$12_1=$18_1+Math_imul($19_1,5793)|0;$7_1=Math_imul($7_1-($8_1+$10_1|0)|0,10033);HEAP32[$0_1+224>>2]=$12_1-$7_1>>11;HEAP32[$0_1+32>>2]=$7_1+$12_1>>11;$6_1=Math_imul($6_1,8875);$7_1=$6_1+($5_1-$22_1|0)|0;$10_1=Math_imul($10_1-$8_1|0,11409);$8_1=$13_1+($9_1-$10_1|0)|0;HEAP32[$0_1+192>>2]=$7_1-$8_1>>11;HEAP32[$0_1+64>>2]=$7_1+$8_1>>11;$6_1=($5_1-$6_1|0)+$23_1|0;$5_1=$14_1+($9_1+$10_1|0)|0;HEAP32[$0_1+160>>2]=$6_1-$5_1>>11;HEAP32[$0_1+96>>2]=$5_1+$6_1>>11;$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+2|0;$15_1=$15_1+1|0;if(($15_1|0)!=8){continue}break}$1_1=$16_1-384|0;$0_1=$20_1;$15_1=0;while(1){$2_1=HEAP32[($15_1<<2)+$3_1>>2]+$4_1|0;$6_1=HEAP32[$0_1+20>>2];$5_1=HEAP32[$0_1+4>>2];$14_1=Math_imul($6_1+$5_1|0,7447);$10_1=Math_imul(HEAP32[$0_1+12>>2],-10033);$7_1=HEAP32[$0_1+28>>2];$12_1=Math_imul($7_1+$5_1|0,3962);$13_1=($14_1-$10_1|0)+$12_1|0;$17_1=(HEAP32[$0_1>>2]<<13)+134348800|0;$11_1=HEAP32[$0_1+24>>2];$16_1=$17_1+Math_imul($11_1,5793)|0;$9_1=HEAP32[$0_1+16>>2];$8_1=HEAP32[$0_1+8>>2];$21_1=Math_imul($9_1+$8_1|0,10887);$19_1=Math_imul($9_1,2012);$18_1=$16_1+($21_1-$19_1|0)|0;HEAP8[$2_1|0]=HEAPU8[$1_1+($13_1+$18_1>>>18&1023)|0];HEAP8[$2_1+8|0]=HEAPU8[$1_1+($18_1-$13_1>>>18&1023)|0];$5_1=Math_imul($5_1-($7_1+$6_1|0)|0,10033);$13_1=$17_1+Math_imul($11_1,-11586)|0;$9_1=$8_1-$9_1|0;$11_1=$13_1+Math_imul($9_1,5793)|0;HEAP8[$2_1+1|0]=HEAPU8[$1_1+($5_1+$11_1>>>18&1023)|0];HEAP8[$2_1+7|0]=HEAPU8[$1_1+($11_1-$5_1>>>18&1023)|0];$6_1=Math_imul($6_1-$7_1|0,11409);$5_1=$14_1+($10_1-$6_1|0)|0;$7_1=Math_imul($8_1,8875);$8_1=$7_1+($16_1-$21_1|0)|0;HEAP8[$2_1+2|0]=HEAPU8[$1_1+($5_1+$8_1>>>18&1023)|0];HEAP8[$2_1+6|0]=HEAPU8[$1_1+($8_1-$5_1>>>18&1023)|0];$6_1=$12_1+($6_1+$10_1|0)|0;$5_1=$19_1+($16_1-$7_1|0)|0;HEAP8[$2_1+3|0]=HEAPU8[$1_1+($6_1+$5_1>>>18&1023)|0];HEAP8[$2_1+5|0]=HEAPU8[$1_1+($5_1-$6_1>>>18&1023)|0];HEAP8[$2_1+4|0]=HEAPU8[$1_1+($13_1+Math_imul($9_1,268423870)>>>18&1023)|0];$0_1=$0_1+32|0;$15_1=$15_1+1|0;if(($15_1|0)!=9){continue}break}global$0=$20_1+288|0}function $245($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0;if(!$0_1){return $7($1_1)}if($1_1>>>0>=4294967232){HEAP32[$22()>>2]=48;return 0}label$3:{if(HEAPU8[69788]&2){if($70(69792)){break label$3}}$6_1=$1_1>>>0<11?16:$1_1+11&-8;$5_1=$0_1-8|0;$9_1=HEAP32[$5_1+4>>2];$4_1=$9_1&-8;label$5:{if(!($9_1&3)){if($6_1>>>0<256){break label$5}if($4_1>>>0>=$6_1+4>>>0){$2_1=$5_1;if($4_1-$6_1>>>0<=HEAP32[17332]<<1>>>0){break label$5}}$2_1=0;break label$5}$7_1=$4_1+$5_1|0;label$9:{if($4_1>>>0>=$6_1>>>0){$3_1=$4_1-$6_1|0;if($3_1>>>0<16){break label$9}HEAP32[$5_1+4>>2]=$9_1&1|$6_1|2;$2_1=$5_1+$6_1|0;HEAP32[$2_1+4>>2]=$3_1|3;HEAP32[$7_1+4>>2]=HEAP32[$7_1+4>>2]|1;$586($2_1,$3_1);break label$9}if(HEAP32[17342]==($7_1|0)){$4_1=$4_1+HEAP32[17339]|0;if($4_1>>>0<=$6_1>>>0){break label$5}HEAP32[$5_1+4>>2]=$9_1&1|$6_1|2;$3_1=$5_1+$6_1|0;$2_1=$4_1-$6_1|0;HEAP32[$3_1+4>>2]=$2_1|1;HEAP32[17339]=$2_1;HEAP32[17342]=$3_1;break label$9}if(HEAP32[17341]==($7_1|0)){$3_1=$4_1+HEAP32[17338]|0;if($3_1>>>0<$6_1>>>0){break label$5}$2_1=$3_1-$6_1|0;label$13:{if($2_1>>>0>=16){HEAP32[$5_1+4>>2]=$9_1&1|$6_1|2;$4_1=$5_1+$6_1|0;HEAP32[$4_1+4>>2]=$2_1|1;$3_1=$3_1+$5_1|0;HEAP32[$3_1>>2]=$2_1;HEAP32[$3_1+4>>2]=HEAP32[$3_1+4>>2]&-2;break label$13}HEAP32[$5_1+4>>2]=$3_1|$9_1&1|2;$2_1=$3_1+$5_1|0;HEAP32[$2_1+4>>2]=HEAP32[$2_1+4>>2]|1;$2_1=0;$4_1=0}HEAP32[17341]=$4_1;HEAP32[17338]=$2_1;break label$9}$3_1=HEAP32[$7_1+4>>2];if($3_1&2){break label$5}$10_1=$4_1+($3_1&-8)|0;if($10_1>>>0<$6_1>>>0){break label$5}$12_1=$10_1-$6_1|0;label$15:{if($3_1>>>0<=255){$4_1=HEAP32[$7_1+8>>2];$2_1=$3_1>>>3|0;$3_1=HEAP32[$7_1+12>>2];if(($3_1|0)==($4_1|0)){HEAP32[17336]=HEAP32[17336]&__wasm_rotl_i32($2_1);break label$15}HEAP32[$4_1+12>>2]=$3_1;HEAP32[$3_1+8>>2]=$4_1;break label$15}$11_1=HEAP32[$7_1+24>>2];$8_1=HEAP32[$7_1+12>>2];label$18:{if(($8_1|0)!=($7_1|0)){$2_1=HEAP32[$7_1+8>>2];HEAP32[$2_1+12>>2]=$8_1;HEAP32[$8_1+8>>2]=$2_1;break label$18}label$20:{$4_1=$7_1+20|0;$2_1=HEAP32[$4_1>>2];if($2_1){break label$20}$4_1=$7_1+16|0;$2_1=HEAP32[$4_1>>2];if($2_1){break label$20}$8_1=0;break label$18}while(1){$3_1=$4_1;$8_1=$2_1;$4_1=$2_1+20|0;$2_1=HEAP32[$4_1>>2];if($2_1){continue}$4_1=$8_1+16|0;$2_1=HEAP32[$8_1+16>>2];if($2_1){continue}break}HEAP32[$3_1>>2]=0}if(!$11_1){break label$15}$3_1=HEAP32[$7_1+28>>2];$2_1=($3_1<<2)+69648|0;label$22:{if(HEAP32[$2_1>>2]==($7_1|0)){HEAP32[$2_1>>2]=$8_1;if($8_1){break label$22}HEAP32[17337]=HEAP32[17337]&__wasm_rotl_i32($3_1);break label$15}HEAP32[(HEAP32[$11_1+16>>2]==($7_1|0)?16:20)+$11_1>>2]=$8_1;if(!$8_1){break label$15}}HEAP32[$8_1+24>>2]=$11_1;$2_1=HEAP32[$7_1+16>>2];if($2_1){HEAP32[$8_1+16>>2]=$2_1;HEAP32[$2_1+24>>2]=$8_1}$2_1=HEAP32[$7_1+20>>2];if(!$2_1){break label$15}HEAP32[$8_1+20>>2]=$2_1;HEAP32[$2_1+24>>2]=$8_1}if($12_1>>>0<=15){HEAP32[$5_1+4>>2]=$9_1&1|$10_1|2;$2_1=$5_1+$10_1|0;HEAP32[$2_1+4>>2]=HEAP32[$2_1+4>>2]|1;break label$9}HEAP32[$5_1+4>>2]=$9_1&1|$6_1|2;$3_1=$5_1+$6_1|0;HEAP32[$3_1+4>>2]=$12_1|3;$2_1=$5_1+$10_1|0;HEAP32[$2_1+4>>2]=HEAP32[$2_1+4>>2]|1;$586($3_1,$12_1)}$2_1=$5_1}if(HEAPU8[69788]&2){$77(69792)}if($2_1){return $2_1+8|0}$5_1=$7($1_1);if(!$5_1){return 0}$2_1=HEAP32[$0_1-4>>2];$2_1=($2_1&3?-4:-8)+($2_1&-8)|0;$62($5_1,$0_1,$1_1>>>0>$2_1>>>0?$2_1:$1_1);$1($0_1)}return $5_1}function $1036($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$9_1=HEAP32[$0_1+336>>2];$6_1=HEAP16[$2_1+16>>1];$1_1=HEAP32[$1_1+84>>2];$7_1=HEAP32[$1_1+32>>2];$0_1=global$0-80|0;$8_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$5_1=Math_imul(HEAP32[$1_1+64>>2],HEAP16[$2_1+32>>1]);HEAP32[$0_1+24>>2]=$8_1+Math_imul($5_1,-11586)>>11;$5_1=$8_1+Math_imul($5_1,5793)|0;$6_1=Math_imul(Math_imul($6_1,$7_1),10033);HEAP32[$0_1+48>>2]=$5_1-$6_1>>11;HEAP32[$0_1>>2]=$6_1+$5_1>>11;$6_1=HEAP32[$1_1+36>>2];$7_1=HEAP16[$2_1+18>>1];$8_1=Math_imul(HEAP16[$2_1+2>>1],HEAP32[$1_1+4>>2])<<13|1024;$5_1=Math_imul(HEAP32[$1_1+68>>2],HEAP16[$2_1+34>>1]);HEAP32[$0_1+28>>2]=$8_1+Math_imul($5_1,-11586)>>11;$5_1=$8_1+Math_imul($5_1,5793)|0;$6_1=Math_imul(Math_imul($6_1,$7_1),10033);HEAP32[$0_1+52>>2]=$5_1-$6_1>>11;HEAP32[$0_1+4>>2]=$6_1+$5_1>>11;$6_1=HEAP32[$1_1+40>>2];$7_1=HEAP16[$2_1+20>>1];$8_1=Math_imul(HEAP16[$2_1+4>>1],HEAP32[$1_1+8>>2])<<13|1024;$5_1=Math_imul(HEAP32[$1_1+72>>2],HEAP16[$2_1+36>>1]);HEAP32[$0_1+32>>2]=$8_1+Math_imul($5_1,-11586)>>11;$5_1=$8_1+Math_imul($5_1,5793)|0;$6_1=Math_imul(Math_imul($6_1,$7_1),10033);HEAP32[$0_1+56>>2]=$5_1-$6_1>>11;HEAP32[$0_1+8>>2]=$6_1+$5_1>>11;$6_1=HEAP32[$1_1+44>>2];$7_1=HEAP16[$2_1+22>>1];$8_1=Math_imul(HEAP16[$2_1+6>>1],HEAP32[$1_1+12>>2])<<13|1024;$5_1=Math_imul(HEAP32[$1_1+76>>2],HEAP16[$2_1+38>>1]);HEAP32[$0_1+36>>2]=$8_1+Math_imul($5_1,-11586)>>11;$5_1=$8_1+Math_imul($5_1,5793)|0;$6_1=Math_imul(Math_imul($6_1,$7_1),10033);HEAP32[$0_1+60>>2]=$5_1-$6_1>>11;HEAP32[$0_1+12>>2]=$6_1+$5_1>>11;$6_1=HEAP32[$1_1+48>>2];$7_1=HEAP16[$2_1+24>>1];$8_1=Math_imul(HEAP16[$2_1+8>>1],HEAP32[$1_1+16>>2])<<13|1024;$5_1=Math_imul(HEAP32[$1_1+80>>2],HEAP16[$2_1+40>>1]);HEAP32[$0_1+40>>2]=$8_1+Math_imul($5_1,-11586)>>11;$5_1=$8_1+Math_imul($5_1,5793)|0;$6_1=Math_imul(Math_imul($6_1,$7_1),10033);HEAP32[$0_1+64>>2]=$5_1-$6_1>>11;HEAP32[$0_1+16>>2]=$6_1+$5_1>>11;$6_1=HEAP32[$1_1+52>>2];$7_1=HEAP16[$2_1+26>>1];$5_1=Math_imul(HEAP32[$1_1+84>>2],HEAP16[$2_1+42>>1]);$1_1=Math_imul(HEAP16[$2_1+10>>1],HEAP32[$1_1+20>>2])<<13|1024;HEAP32[$0_1+44>>2]=Math_imul($5_1,-11586)+$1_1>>11;$1_1=$1_1+Math_imul($5_1,5793)|0;$2_1=Math_imul(Math_imul($6_1,$7_1),10033);HEAP32[$0_1+68>>2]=$1_1-$2_1>>11;HEAP32[$0_1+20>>2]=$1_1+$2_1>>11;$1_1=$9_1-384|0;$2_1=$0_1;$9_1=0;while(1){$6_1=HEAP32[$2_1+20>>2];$7_1=HEAP32[$2_1+4>>2];$5_1=Math_imul($6_1+$7_1|0,2998);$0_1=HEAP32[($9_1<<2)+$3_1>>2]+$4_1|0;$10_1=(HEAP32[$2_1>>2]<<13)+134348800|0;$11_1=HEAP32[$2_1+16>>2];$12_1=$10_1+Math_imul($11_1,5793)|0;$13_1=Math_imul(HEAP32[$2_1+8>>2],10033);$14_1=$12_1+$13_1|0;$8_1=HEAP32[$2_1+12>>2];$15_1=$5_1+($8_1+$7_1<<13)|0;HEAP8[$0_1|0]=HEAPU8[$1_1+($14_1+$15_1>>>18&1023)|0];HEAP8[$0_1+5|0]=HEAPU8[$1_1+($14_1-$15_1>>>18&1023)|0];$7_1=$7_1-($6_1+$8_1|0)<<13;$10_1=Math_imul($11_1,-11586)+$10_1|0;HEAP8[$0_1+1|0]=HEAPU8[$1_1+($7_1+$10_1>>>18&1023)|0];HEAP8[$0_1+4|0]=HEAPU8[$1_1+($10_1-$7_1>>>18&1023)|0];$6_1=$5_1+($6_1-$8_1<<13)|0;$7_1=$12_1-$13_1|0;HEAP8[$0_1+2|0]=HEAPU8[$1_1+($6_1+$7_1>>>18&1023)|0];HEAP8[$0_1+3|0]=HEAPU8[$1_1+($7_1-$6_1>>>18&1023)|0];$2_1=$2_1+24|0;$9_1=$9_1+1|0;if(($9_1|0)!=3){continue}break}}function $1135($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0;HEAP32[$0_1+4>>2]=0;if(($1_1|0)!=90){$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=13;HEAP32[$3_1+24>>2]=90;HEAP32[HEAP32[$0_1>>2]+28>>2]=$1_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}if(($2_1|0)!=488){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=22;HEAP32[$1_1+24>>2]=488;HEAP32[HEAP32[$0_1>>2]+28>>2]=$2_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$1_1=HEAP32[$0_1>>2];$2_1=HEAP32[$0_1+12>>2];$11($0_1+4|0,0,484);HEAP32[$0_1+16>>2]=1;HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1>>2]=$1_1;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$0_1+4>>2]=0;HEAP32[$2_1+12>>2]=0;$1_1=$7(84);if(!$1_1){$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=56;HEAP32[$3_1+24>>2]=0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}HEAP32[$1_1+48>>2]=1e9;HEAP32[$1_1+40>>2]=206;HEAP32[$1_1+36>>2]=207;HEAP32[$1_1+32>>2]=208;HEAP32[$1_1+28>>2]=209;HEAP32[$1_1+24>>2]=210;HEAP32[$1_1+20>>2]=211;HEAP32[$1_1+16>>2]=212;HEAP32[$1_1+12>>2]=213;HEAP32[$1_1+8>>2]=214;HEAP32[$1_1+4>>2]=215;HEAP32[$1_1>>2]=216;HEAP32[$1_1+52>>2]=0;HEAP32[$1_1+56>>2]=0;HEAP32[$1_1+44>>2]=0;HEAP32[$1_1+76>>2]=84;HEAP32[$1_1+60>>2]=0;HEAP32[$1_1+64>>2]=0;HEAP32[$1_1+68>>2]=0;HEAP32[$1_1+72>>2]=0;HEAP32[$0_1+4>>2]=$1_1;$3_1=$363(34548);label$4:{if(!$3_1){break label$4}HEAP8[$2_1+11|0]=120;HEAP32[$2_1>>2]=$2_1+12;HEAP32[$2_1+4>>2]=$2_1+11;if(($124($3_1,33702,$2_1)|0)<=0){break label$4}$3_1=HEAP32[$2_1+12>>2];if((HEAPU8[$2_1+11|0]&223)==77){$3_1=Math_imul($3_1,1e3);HEAP32[$2_1+12>>2]=$3_1}HEAP32[$1_1+44>>2]=Math_imul($3_1,1e3)}global$0=$2_1+16|0;HEAP32[$0_1+312>>2]=0;HEAP32[$0_1+24>>2]=0;HEAP32[$0_1+8>>2]=0;HEAP32[$0_1+164>>2]=0;HEAP32[$0_1+168>>2]=0;HEAP32[$0_1+172>>2]=0;HEAP32[$0_1+176>>2]=0;HEAP32[$0_1+180>>2]=0;HEAP32[$0_1+184>>2]=0;HEAP32[$0_1+188>>2]=0;HEAP32[$0_1+192>>2]=0;HEAP32[$0_1+196>>2]=0;HEAP32[$0_1+200>>2]=0;HEAP32[$0_1+204>>2]=0;HEAP32[$0_1+208>>2]=0;$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,0,172)|0;HEAP32[$0_1+464>>2]=$1_1;HEAP32[$1_1+96>>2]=0;HEAP32[$1_1+100>>2]=0;HEAP32[$1_1+28>>2]=107;HEAP32[$1_1+8>>2]=108;HEAP32[$1_1+4>>2]=109;HEAP32[$1_1>>2]=110;HEAP32[$1_1+104>>2]=0;HEAP32[$1_1+36>>2]=107;HEAP32[$1_1+40>>2]=107;HEAP32[$1_1+108>>2]=0;HEAP32[$1_1+112>>2]=0;HEAP32[$1_1+44>>2]=107;HEAP32[$1_1+48>>2]=107;HEAP32[$1_1+116>>2]=0;HEAP32[$1_1+120>>2]=0;HEAP32[$1_1+52>>2]=107;HEAP32[$1_1+56>>2]=107;HEAP32[$1_1+124>>2]=0;HEAP32[$1_1+128>>2]=0;HEAP32[$1_1+60>>2]=107;HEAP32[$1_1+132>>2]=0;HEAP32[$1_1- -64>>2]=107;HEAP32[$1_1+136>>2]=0;HEAP32[$1_1+140>>2]=0;HEAP32[$1_1+68>>2]=107;HEAP32[$1_1+72>>2]=107;HEAP32[$1_1+76>>2]=107;HEAP32[$1_1+80>>2]=107;HEAP32[$1_1+144>>2]=0;HEAP32[$1_1+148>>2]=0;HEAP32[$1_1+84>>2]=107;HEAP32[$1_1+152>>2]=0;HEAP32[$1_1+156>>2]=0;HEAP32[$1_1+160>>2]=0;HEAP32[$1_1+92>>2]=107;HEAP32[$1_1+32>>2]=111;HEAP32[$1_1+88>>2]=111;HEAP32[$0_1+440>>2]=0;HEAP32[$0_1+144>>2]=0;HEAP32[$0_1+216>>2]=0;$1_1=HEAP32[$0_1+464>>2];HEAP32[$1_1+164>>2]=0;HEAP32[$1_1+24>>2]=0;HEAP32[$1_1+12>>2]=0;HEAP32[$1_1+16>>2]=0;$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,0,28)|0;HEAP32[$0_1+460>>2]=$1_1;HEAP32[$1_1+24>>2]=1;HEAP32[$1_1+16>>2]=0;HEAP32[$1_1+20>>2]=0;HEAP32[$1_1+12>>2]=103;HEAP32[$1_1+8>>2]=104;HEAP32[$1_1+4>>2]=105;HEAP32[$1_1>>2]=106;HEAP32[$0_1+20>>2]=200}function $1085($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0;label$1:{$4_1=HEAP32[$0_1+448>>2];if(!HEAP32[$4_1+56>>2]){if(!(FUNCTION_TABLE[HEAP32[HEAP32[$0_1+452>>2]+12>>2]]($0_1,HEAP32[((HEAP32[$4_1+68>>2]<<2)+$4_1|0)+60>>2])|0)){break label$1}HEAP32[$4_1+56>>2]=1;HEAP32[$4_1+76>>2]=HEAP32[$4_1+76>>2]+1}label$3:{switch(HEAP32[$4_1+72>>2]){case 2:FUNCTION_TABLE[HEAP32[HEAP32[$0_1+456>>2]+4>>2]]($0_1,HEAP32[((HEAP32[$4_1+68>>2]<<2)+$4_1|0)+60>>2],$4_1+48|0,HEAP32[$4_1+52>>2],$1_1,$2_1,$3_1);if(HEAPU32[$4_1+48>>2]>2]){break label$1}HEAP32[$4_1+72>>2]=0;if(HEAPU32[$2_1>>2]>=$3_1>>>0){break label$1}case 0:HEAP32[$4_1+48>>2]=0;$12_1=HEAP32[$0_1+328>>2];HEAP32[$4_1+52>>2]=$12_1-1;label$6:{if(HEAP32[$4_1+76>>2]!=HEAP32[$0_1+332>>2]){break label$6}$16_1=HEAP32[$0_1+36>>2];if(($16_1|0)<=0){break label$6}$14_1=HEAP32[$0_1+448>>2];$17_1=(HEAP32[$14_1+68>>2]<<2)+$14_1|0;$7_1=HEAP32[$0_1+216>>2];while(1){$5_1=Math_imul(HEAP32[$7_1+40>>2],HEAP32[$7_1+12>>2]);$6_1=HEAPU32[$7_1+48>>2]%($5_1>>>0)|0;$6_1=$6_1?$6_1:$5_1;$5_1=($5_1|0)/($12_1|0)|0;if(!$8_1){HEAP32[$14_1+52>>2]=(($6_1-1|0)/($5_1|0)|0)+1}label$9:{if(($5_1|0)<=0){break label$9}$5_1=$5_1<<1;$9_1=($5_1|0)>1?$5_1:1;$15_1=$9_1&3;$10_1=HEAP32[HEAP32[$17_1+60>>2]+($8_1<<2)>>2];$13_1=($10_1+($6_1<<2)|0)-4|0;$11_1=0;$5_1=0;if($9_1-1>>>0>=3){$18_1=$9_1&2147483644;$9_1=0;while(1){HEAP32[$10_1+($5_1+$6_1<<2)>>2]=HEAP32[$13_1>>2];HEAP32[$10_1+($6_1+($5_1|1)<<2)>>2]=HEAP32[$13_1>>2];HEAP32[$10_1+($6_1+($5_1|2)<<2)>>2]=HEAP32[$13_1>>2];HEAP32[$10_1+($6_1+($5_1|3)<<2)>>2]=HEAP32[$13_1>>2];$5_1=$5_1+4|0;$9_1=$9_1+4|0;if(($18_1|0)!=($9_1|0)){continue}break}}if(!$15_1){break label$9}while(1){HEAP32[$10_1+($5_1+$6_1<<2)>>2]=HEAP32[$13_1>>2];$5_1=$5_1+1|0;$11_1=$11_1+1|0;if(($15_1|0)!=($11_1|0)){continue}break}}$7_1=$7_1+88|0;$8_1=$8_1+1|0;if(($16_1|0)!=($8_1|0)){continue}break}}HEAP32[$4_1+72>>2]=1;break;case 1:break label$3;default:break label$1}}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+456>>2]+4>>2]]($0_1,HEAP32[((HEAP32[$4_1+68>>2]<<2)+$4_1|0)+60>>2],$4_1+48|0,HEAP32[$4_1+52>>2],$1_1,$2_1,$3_1);if(HEAPU32[$4_1+48>>2]>2]){break label$1}$1_1=HEAP32[$0_1+328>>2];label$13:{if(HEAP32[$4_1+76>>2]!=1){break label$13}$10_1=HEAP32[$0_1+36>>2];if(($10_1|0)<=0){break label$13}$13_1=$1_1+2|0;$14_1=$1_1+1|0;$6_1=HEAP32[$0_1+448>>2];$7_1=HEAP32[$0_1+216>>2];$8_1=0;while(1){$0_1=(Math_imul(HEAP32[$7_1+40>>2],HEAP32[$7_1+12>>2])|0)/($1_1|0)|0;if(($0_1|0)>0){$3_1=$8_1<<2;$2_1=HEAP32[$3_1+HEAP32[$6_1+64>>2]>>2];$3_1=HEAP32[$3_1+HEAP32[$6_1+60>>2]>>2];$9_1=Math_imul($0_1,$13_1);$15_1=Math_imul($0_1,$14_1);$5_1=0;while(1){$11_1=$5_1-$0_1<<2;$12_1=$5_1+$15_1<<2;HEAP32[$11_1+$3_1>>2]=HEAP32[$12_1+$3_1>>2];HEAP32[$2_1+$11_1>>2]=HEAP32[$2_1+$12_1>>2];$11_1=$5_1+$9_1<<2;$12_1=$5_1<<2;HEAP32[$11_1+$3_1>>2]=HEAP32[$12_1+$3_1>>2];HEAP32[$2_1+$11_1>>2]=HEAP32[$2_1+$12_1>>2];$5_1=$5_1+1|0;if(($0_1|0)!=($5_1|0)){continue}break}}$7_1=$7_1+88|0;$8_1=$8_1+1|0;if(($10_1|0)!=($8_1|0)){continue}break}}HEAP32[$4_1+56>>2]=0;HEAP32[$4_1+72>>2]=2;HEAP32[$4_1+52>>2]=$1_1+2;HEAP32[$4_1+48>>2]=$1_1+1;HEAP32[$4_1+68>>2]=HEAP32[$4_1+68>>2]^1}}function $1024($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$8_1=$2_1+$3_1|0;if(HEAP32[$1_1>>2]?HEAPU32[$1_1+12>>2]<$3_1>>>0|$8_1>>>0>HEAPU32[$1_1+4>>2]:1){$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=23;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1)}$3_1=HEAP32[$1_1+24>>2];label$3:{if($3_1>>>0<=$2_1>>>0&$8_1>>>0<=$3_1+HEAP32[$1_1+16>>2]>>>0){break label$3}if(!HEAP32[$1_1+40>>2]){$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=71;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1)}if(HEAP32[$1_1+36>>2]){$6_1=HEAP32[$1_1+16>>2];label$7:{if(($6_1|0)<=0){break label$7}$11_1=$1_1+48|0;$9_1=HEAP32[$1_1+8>>2]<<7;$7_1=Math_imul($9_1,HEAP32[$1_1+24>>2]);$5_1=HEAP32[$1_1+20>>2];$3_1=0;while(1){$6_1=$6_1-$3_1|0;$5_1=($5_1|0)<($6_1|0)?$5_1:$6_1;$6_1=HEAP32[$1_1+24>>2]+$3_1|0;$10_1=HEAP32[$1_1+28>>2]-$6_1|0;$5_1=($5_1|0)<($10_1|0)?$5_1:$10_1;$6_1=HEAP32[$1_1+4>>2]-$6_1|0;$5_1=($5_1|0)<($6_1|0)?$5_1:$6_1;if(($5_1|0)<=0){break label$7}$5_1=Math_imul($5_1,$9_1);FUNCTION_TABLE[HEAP32[$1_1+52>>2]]($0_1,$11_1,HEAP32[HEAP32[$1_1>>2]+($3_1<<2)>>2],$7_1,$5_1);$7_1=$5_1+$7_1|0;$5_1=HEAP32[$1_1+20>>2];$3_1=$5_1+$3_1|0;$6_1=HEAP32[$1_1+16>>2];if(($3_1|0)<($6_1|0)){continue}break}}HEAP32[$1_1+36>>2]=0}$3_1=0;$6_1=HEAP32[$1_1+16>>2];$7_1=$8_1-$6_1|0;$7_1=HEAPU32[$1_1+24>>2]<$2_1>>>0?$2_1:($7_1|0)>0?$7_1:0;HEAP32[$1_1+24>>2]=$7_1;if(($6_1|0)<=0){break label$3}$11_1=$1_1+48|0;$9_1=HEAP32[$1_1+8>>2]<<7;$7_1=Math_imul($9_1,$7_1);$5_1=HEAP32[$1_1+20>>2];while(1){$6_1=$6_1-$3_1|0;$5_1=($5_1|0)<($6_1|0)?$5_1:$6_1;$6_1=HEAP32[$1_1+24>>2]+$3_1|0;$10_1=HEAP32[$1_1+28>>2]-$6_1|0;$5_1=($5_1|0)<($10_1|0)?$5_1:$10_1;$6_1=HEAP32[$1_1+4>>2]-$6_1|0;$5_1=($5_1|0)<($6_1|0)?$5_1:$6_1;if(($5_1|0)<=0){break label$3}$5_1=Math_imul($5_1,$9_1);FUNCTION_TABLE[HEAP32[$1_1+48>>2]]($0_1,$11_1,HEAP32[HEAP32[$1_1>>2]+($3_1<<2)>>2],$7_1,$5_1);$7_1=$5_1+$7_1|0;$5_1=HEAP32[$1_1+20>>2];$3_1=$5_1+$3_1|0;$6_1=HEAP32[$1_1+16>>2];if(($3_1|0)<($6_1|0)){continue}break}}$7_1=HEAP32[$1_1+28>>2];label$10:{label$11:{label$12:{if($8_1>>>0<=$7_1>>>0){break label$12}label$13:{label$14:{label$15:{if($2_1>>>0>$7_1>>>0){$7_1=$2_1;if(!$4_1){break label$15}$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=23;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1);break label$14}if($4_1){break label$14}}if(HEAP32[$1_1+32>>2]){break label$13}$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=23;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1);break label$10}HEAP32[$1_1+28>>2]=$8_1;if(!HEAP32[$1_1+32>>2]){break label$11}}$0_1=HEAP32[$1_1+24>>2];$3_1=$7_1-$0_1|0;$5_1=$8_1-$0_1|0;if($3_1>>>0>=$5_1>>>0){break label$12}$0_1=HEAP32[$1_1+8>>2]<<7;$6_1=$8_1+($7_1^-1)|0;$8_1=$8_1-$7_1&3;if($8_1){$7_1=0;while(1){$11(HEAP32[HEAP32[$1_1>>2]+($3_1<<2)>>2],0,$0_1);$3_1=$3_1+1|0;$7_1=$7_1+1|0;if(($8_1|0)!=($7_1|0)){continue}break}}if($6_1>>>0<3){break label$12}while(1){$7_1=$3_1<<2;$11(HEAP32[$7_1+HEAP32[$1_1>>2]>>2],0,$0_1);$11(HEAP32[($7_1+HEAP32[$1_1>>2]|0)+4>>2],0,$0_1);$11(HEAP32[($7_1+HEAP32[$1_1>>2]|0)+8>>2],0,$0_1);$11(HEAP32[($7_1+HEAP32[$1_1>>2]|0)+12>>2],0,$0_1);$3_1=$3_1+4|0;if(($5_1|0)!=($3_1|0)){continue}break}}if(!$4_1){break label$10}}HEAP32[$1_1+36>>2]=1}return HEAP32[$1_1>>2]+($2_1-HEAP32[$1_1+24>>2]<<2)|0}function $1023($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$8_1=$2_1+$3_1|0;if(HEAP32[$1_1>>2]?HEAPU32[$1_1+12>>2]<$3_1>>>0|$8_1>>>0>HEAPU32[$1_1+4>>2]:1){$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=23;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1)}$3_1=HEAP32[$1_1+24>>2];label$3:{if($3_1>>>0<=$2_1>>>0&$8_1>>>0<=$3_1+HEAP32[$1_1+16>>2]>>>0){break label$3}if(!HEAP32[$1_1+40>>2]){$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=71;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1)}if(HEAP32[$1_1+36>>2]){$6_1=HEAP32[$1_1+16>>2];label$7:{if(($6_1|0)<=0){break label$7}$11_1=$1_1+48|0;$9_1=HEAP32[$1_1+8>>2];$7_1=Math_imul($9_1,HEAP32[$1_1+24>>2]);$5_1=HEAP32[$1_1+20>>2];$3_1=0;while(1){$6_1=$6_1-$3_1|0;$5_1=($5_1|0)<($6_1|0)?$5_1:$6_1;$6_1=HEAP32[$1_1+24>>2]+$3_1|0;$10_1=HEAP32[$1_1+28>>2]-$6_1|0;$5_1=($5_1|0)<($10_1|0)?$5_1:$10_1;$6_1=HEAP32[$1_1+4>>2]-$6_1|0;$5_1=($5_1|0)<($6_1|0)?$5_1:$6_1;if(($5_1|0)<=0){break label$7}$5_1=Math_imul($5_1,$9_1);FUNCTION_TABLE[HEAP32[$1_1+52>>2]]($0_1,$11_1,HEAP32[HEAP32[$1_1>>2]+($3_1<<2)>>2],$7_1,$5_1);$7_1=$5_1+$7_1|0;$5_1=HEAP32[$1_1+20>>2];$3_1=$5_1+$3_1|0;$6_1=HEAP32[$1_1+16>>2];if(($3_1|0)<($6_1|0)){continue}break}}HEAP32[$1_1+36>>2]=0}$3_1=0;$6_1=HEAP32[$1_1+16>>2];$7_1=$8_1-$6_1|0;$7_1=HEAPU32[$1_1+24>>2]<$2_1>>>0?$2_1:($7_1|0)>0?$7_1:0;HEAP32[$1_1+24>>2]=$7_1;if(($6_1|0)<=0){break label$3}$11_1=$1_1+48|0;$9_1=HEAP32[$1_1+8>>2];$7_1=Math_imul($9_1,$7_1);$5_1=HEAP32[$1_1+20>>2];while(1){$6_1=$6_1-$3_1|0;$5_1=($5_1|0)<($6_1|0)?$5_1:$6_1;$6_1=HEAP32[$1_1+24>>2]+$3_1|0;$10_1=HEAP32[$1_1+28>>2]-$6_1|0;$5_1=($5_1|0)<($10_1|0)?$5_1:$10_1;$6_1=HEAP32[$1_1+4>>2]-$6_1|0;$5_1=($5_1|0)<($6_1|0)?$5_1:$6_1;if(($5_1|0)<=0){break label$3}$5_1=Math_imul($5_1,$9_1);FUNCTION_TABLE[HEAP32[$1_1+48>>2]]($0_1,$11_1,HEAP32[HEAP32[$1_1>>2]+($3_1<<2)>>2],$7_1,$5_1);$7_1=$5_1+$7_1|0;$5_1=HEAP32[$1_1+20>>2];$3_1=$5_1+$3_1|0;$6_1=HEAP32[$1_1+16>>2];if(($3_1|0)<($6_1|0)){continue}break}}$7_1=HEAP32[$1_1+28>>2];label$10:{label$11:{label$12:{if($8_1>>>0<=$7_1>>>0){break label$12}label$13:{label$14:{label$15:{if($2_1>>>0>$7_1>>>0){$7_1=$2_1;if(!$4_1){break label$15}$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=23;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1);break label$14}if($4_1){break label$14}}if(HEAP32[$1_1+32>>2]){break label$13}$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=23;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1);break label$10}HEAP32[$1_1+28>>2]=$8_1;if(!HEAP32[$1_1+32>>2]){break label$11}}$0_1=HEAP32[$1_1+24>>2];$3_1=$7_1-$0_1|0;$5_1=$8_1-$0_1|0;if($3_1>>>0>=$5_1>>>0){break label$12}$0_1=HEAP32[$1_1+8>>2];$6_1=$8_1+($7_1^-1)|0;$8_1=$8_1-$7_1&3;if($8_1){$7_1=0;while(1){$11(HEAP32[HEAP32[$1_1>>2]+($3_1<<2)>>2],0,$0_1);$3_1=$3_1+1|0;$7_1=$7_1+1|0;if(($8_1|0)!=($7_1|0)){continue}break}}if($6_1>>>0<3){break label$12}while(1){$7_1=$3_1<<2;$11(HEAP32[$7_1+HEAP32[$1_1>>2]>>2],0,$0_1);$11(HEAP32[($7_1+HEAP32[$1_1>>2]|0)+4>>2],0,$0_1);$11(HEAP32[($7_1+HEAP32[$1_1>>2]|0)+8>>2],0,$0_1);$11(HEAP32[($7_1+HEAP32[$1_1>>2]|0)+12>>2],0,$0_1);$3_1=$3_1+4|0;if(($5_1|0)!=($3_1|0)){continue}break}}if(!$4_1){break label$10}}HEAP32[$1_1+36>>2]=1}return HEAP32[$1_1>>2]+($2_1-HEAP32[$1_1+24>>2]<<2)|0}function $954($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$4_1=HEAP32[$1_1>>2];label$1:{label$2:{label$3:{label$4:{label$5:{label$6:{label$7:{label$8:{label$9:{label$10:{label$11:{label$12:{if(!$3_1){break label$12}$6_1=HEAP32[$3_1>>2];if(!$6_1){break label$12}if(!$0_1){$3_1=$2_1;break label$10}HEAP32[$3_1>>2]=0;$3_1=$2_1;break label$11}label$14:{if(!HEAP32[HEAP32[global$3+88>>2]>>2]){if(!$0_1){break label$14}if(!$2_1){break label$1}$6_1=$2_1;while(1){$3_1=HEAP8[$4_1|0];if($3_1){HEAP32[$0_1>>2]=$3_1&57343;$0_1=$0_1+4|0;$4_1=$4_1+1|0;$6_1=$6_1-1|0;if($6_1){continue}break label$1}break}HEAP32[$0_1>>2]=0;HEAP32[$1_1>>2]=0;return $2_1-$6_1|0}$3_1=$2_1;if(!$0_1){break label$9}break label$7}return $86($4_1)}$5_1=1;break label$7}$5_1=0;break label$8}$5_1=1}while(1){if(!$5_1){$5_1=HEAPU8[$4_1|0]>>>3|0;if(($5_1-16|$5_1+($6_1>>26))>>>0>7){break label$6}$5_1=$4_1+1|0;label$20:{if(!($6_1&33554432)){break label$20}if((HEAPU8[$5_1|0]&192)!=128){$4_1=$4_1-1|0;break label$4}$5_1=$4_1+2|0;if(!($6_1&524288)){break label$20}if((HEAPU8[$5_1|0]&192)!=128){$4_1=$4_1-1|0;break label$4}$5_1=$4_1+3|0}$4_1=$5_1;$3_1=$3_1-1|0;$5_1=1;continue}while(1){$6_1=HEAPU8[$4_1|0];label$24:{if($4_1&3|$6_1-1>>>0>126){break label$24}$6_1=HEAP32[$4_1>>2];if(($6_1|$6_1-16843009)&-2139062144){break label$24}while(1){$3_1=$3_1-4|0;$6_1=HEAP32[$4_1+4>>2];$4_1=$4_1+4|0;if(!(($6_1-16843009|$6_1)&-2139062144)){continue}break}}$5_1=$6_1&255;if($5_1-1>>>0<=126){$3_1=$3_1-1|0;$4_1=$4_1+1|0;continue}break}$5_1=$5_1-194|0;if($5_1>>>0>50){break label$5}$4_1=$4_1+1|0;$6_1=HEAP32[($5_1<<2)+50576>>2];$5_1=0;continue}}while(1){if(!$5_1){if(!$3_1){break label$1}while(1){label$30:{$5_1=HEAPU8[$4_1|0];$7_1=$5_1-1|0;label$31:{label$32:{if($7_1>>>0>126){$6_1=$5_1;break label$32}if($4_1&3|$3_1>>>0<5){break label$31}label$34:{while(1){$6_1=HEAP32[$4_1>>2];if(($6_1|$6_1-16843009)&-2139062144){break label$34}HEAP32[$0_1>>2]=$6_1&255;HEAP32[$0_1+4>>2]=HEAPU8[$4_1+1|0];HEAP32[$0_1+8>>2]=HEAPU8[$4_1+2|0];HEAP32[$0_1+12>>2]=HEAPU8[$4_1+3|0];$0_1=$0_1+16|0;$4_1=$4_1+4|0;$3_1=$3_1-4|0;if($3_1>>>0>4){continue}break}$6_1=HEAPU8[$4_1|0]}$5_1=$6_1&255;$7_1=$5_1-1|0}if($7_1>>>0>126){break label$30}}HEAP32[$0_1>>2]=$5_1;$0_1=$0_1+4|0;$4_1=$4_1+1|0;$3_1=$3_1-1|0;if($3_1){continue}break label$1}break}$5_1=$5_1-194|0;if($5_1>>>0>50){break label$5}$4_1=$4_1+1|0;$6_1=HEAP32[($5_1<<2)+50576>>2];$5_1=1;continue}$8_1=HEAPU8[$4_1|0];$5_1=$8_1>>>3|0;if(($5_1-16|$5_1+($6_1>>26))>>>0>7){break label$6}label$36:{label$37:{$7_1=$4_1+1|0;$5_1=$8_1-128|$6_1<<6;label$38:{if(($5_1|0)>=0){break label$38}$8_1=HEAPU8[$7_1|0]-128|0;if($8_1>>>0>63){break label$37}$7_1=$4_1+2|0;$5_1=$8_1|$5_1<<6;if(($5_1|0)>=0){break label$38}$7_1=HEAPU8[$7_1|0]-128|0;if($7_1>>>0>63){break label$37}$5_1=$7_1|$5_1<<6;$7_1=$4_1+3|0}$4_1=$7_1;HEAP32[$0_1>>2]=$5_1;$3_1=$3_1-1|0;$0_1=$0_1+4|0;break label$36}HEAP32[$22()>>2]=25;$4_1=$4_1-1|0;break label$3}$5_1=0;continue}}$4_1=$4_1-1|0;if($6_1){break label$4}$6_1=HEAPU8[$4_1|0]}if($6_1&255){break label$4}if($0_1){HEAP32[$0_1>>2]=0;HEAP32[$1_1>>2]=0}return $2_1-$3_1|0}HEAP32[$22()>>2]=25;if(!$0_1){break label$2}}HEAP32[$1_1>>2]=$4_1}return-1}HEAP32[$1_1>>2]=$4_1;return $2_1}function $1039($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0;$19_1=global$0-192|0;global$0=$19_1;$7_1=HEAP32[$0_1+336>>2];$0_1=HEAP32[$1_1+84>>2];$1_1=$19_1;while(1){$10_1=HEAP32[$0_1+64>>2];$8_1=HEAP16[$2_1+32>>1];$6_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$0_1>>2])<<13|1024;$9_1=Math_imul(HEAP32[$0_1+128>>2],HEAP16[$2_1+64>>1]);$17_1=$6_1+Math_imul($9_1,-11586)>>11;$5_1=Math_imul(HEAP32[$0_1+32>>2],HEAP16[$2_1+16>>1]);$13_1=Math_imul(HEAP32[$0_1+96>>2],HEAP16[$2_1+48>>1]);$11_1=Math_imul(HEAP32[$0_1+160>>2],HEAP16[$2_1+80>>1]);$14_1=$5_1-($13_1+$11_1|0)<<2;HEAP32[$1_1+128>>2]=$17_1-$14_1;HEAP32[$1_1+32>>2]=$14_1+$17_1;$10_1=Math_imul(Math_imul($8_1,$10_1),10033);$8_1=$6_1+Math_imul($9_1,5793)|0;$9_1=$10_1+$8_1|0;$6_1=$5_1+$13_1<<13;$5_1=Math_imul($5_1+$11_1|0,2998);$6_1=$6_1+$5_1|0;HEAP32[$1_1+160>>2]=$9_1-$6_1>>11;HEAP32[$1_1>>2]=$6_1+$9_1>>11;$10_1=$8_1-$10_1|0;$5_1=$5_1+($11_1-$13_1<<13)|0;HEAP32[$1_1+96>>2]=$10_1-$5_1>>11;HEAP32[$1_1+64>>2]=$5_1+$10_1>>11;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$2_1=$2_1+2|0;$15_1=$15_1+1|0;if(($15_1|0)!=8){continue}break}$0_1=$7_1-384|0;$1_1=$19_1;$13_1=0;while(1){$11_1=HEAP32[$1_1+4>>2];$7_1=HEAP32[$1_1+20>>2];$8_1=$11_1+$7_1|0;$5_1=HEAP32[$1_1+28>>2];$10_1=Math_imul($8_1+$5_1|0,7053);$2_1=HEAP32[($13_1<<2)+$3_1>>2]+$4_1|0;$14_1=$10_1+Math_imul($8_1,2139)|0;$9_1=HEAP32[$1_1+12>>2];$17_1=Math_imul($9_1,10703);$15_1=$14_1+($17_1+Math_imul($11_1,2295)|0)|0;$12_1=HEAP32[$1_1+24>>2];$18_1=$12_1<<13;$6_1=HEAP32[$1_1+8>>2];$20_1=$18_1+Math_imul($6_1,11190)|0;$21_1=Math_imul(HEAP32[$1_1+16>>2],10033);$8_1=(HEAP32[$1_1>>2]<<13)+134348800|0;$22_1=$21_1+$8_1|0;$16_1=$20_1+$22_1|0;HEAP8[$2_1|0]=HEAPU8[$0_1+($15_1+$16_1>>>18&1023)|0];HEAP8[$2_1+11|0]=HEAPU8[$0_1+($16_1-$15_1>>>18&1023)|0];$15_1=$6_1-$12_1<<13;$12_1=$15_1+$8_1|0;$16_1=$11_1-$5_1|0;$23_1=$9_1-$7_1|0;$24_1=Math_imul($16_1+$23_1|0,4433);$16_1=$24_1+Math_imul($16_1,6270)|0;HEAP8[$2_1+1|0]=HEAPU8[$0_1+($12_1+$16_1>>>18&1023)|0];HEAP8[$2_1+10|0]=HEAPU8[$0_1+($12_1-$16_1>>>18&1023)|0];$9_1=Math_imul($9_1,-4433);$12_1=$9_1+Math_imul($7_1,-12112)|0;$7_1=Math_imul($5_1+$7_1|0,-8565);$14_1=($12_1+$7_1|0)+$14_1|0;$6_1=Math_imul($6_1,2998)-$18_1|0;$12_1=$8_1-$21_1|0;$18_1=$6_1+$12_1|0;HEAP8[$2_1+2|0]=HEAPU8[$0_1+($14_1+$18_1>>>18&1023)|0];HEAP8[$2_1+9|0]=HEAPU8[$0_1+($18_1-$14_1>>>18&1023)|0];$7_1=$7_1+($10_1+(Math_imul($5_1,12998)-$17_1|0)|0)|0;$6_1=$12_1-$6_1|0;HEAP8[$2_1+3|0]=HEAPU8[$0_1+($7_1+$6_1>>>18&1023)|0];HEAP8[$2_1+8|0]=HEAPU8[$0_1+($6_1-$7_1>>>18&1023)|0];$7_1=Math_imul($23_1,-15137)+$24_1|0;$8_1=$8_1-$15_1|0;HEAP8[$2_1+4|0]=HEAPU8[$0_1+($7_1+$8_1>>>18&1023)|0];HEAP8[$2_1+7|0]=HEAPU8[$0_1+($8_1-$7_1>>>18&1023)|0];$5_1=$10_1+(($9_1+Math_imul($11_1,-5540)|0)+Math_imul($5_1,-16244)|0)|0;$11_1=$22_1-$20_1|0;HEAP8[$2_1+5|0]=HEAPU8[$0_1+($5_1+$11_1>>>18&1023)|0];HEAP8[$2_1+6|0]=HEAPU8[$0_1+($11_1-$5_1>>>18&1023)|0];$1_1=$1_1+32|0;$13_1=$13_1+1|0;if(($13_1|0)!=6){continue}break}global$0=$19_1+192|0}function $1280($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;var $8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0;$16_1=global$0-16|0;global$0=$16_1;$8_1=$2_1;while(1){label$2:{if(($3_1|0)==($8_1|0)){$8_1=$3_1;break label$2}if(!HEAPU8[$8_1|0]){break label$2}$8_1=$8_1+1|0;continue}break}HEAP32[$7_1>>2]=$5_1;HEAP32[$4_1>>2]=$2_1;while(1){label$5:{label$6:{label$7:{if(($2_1|0)==($3_1|0)|($5_1|0)==($6_1|0)){break label$7}$9_1=HEAP32[$1_1+4>>2];HEAP32[$16_1+8>>2]=HEAP32[$1_1>>2];HEAP32[$16_1+12>>2]=$9_1;$17_1=global$0-16|0;global$0=$17_1;HEAP32[$17_1+12>>2]=HEAP32[$0_1+8>>2];$19_1=$161($17_1+8|0,$17_1+12|0);$14_1=$8_1-$2_1|0;$9_1=0;$10_1=global$0-1040|0;global$0=$10_1;$11_1=HEAP32[$4_1>>2];HEAP32[$10_1+12>>2]=$11_1;$15_1=$5_1?$5_1:$10_1+16|0;$12_1=$5_1?$6_1-$5_1>>2:256;label$8:{label$9:{label$10:{if(!$11_1|!$12_1){break label$10}while(1){$13_1=$14_1>>>2|0;if($13_1>>>0<$12_1>>>0&$14_1>>>0<=131){break label$9}$13_1=$954($15_1,$10_1+12|0,$12_1>>>0>$13_1>>>0?$13_1:$12_1,$1_1);if(($13_1|0)==-1){$9_1=-1;$12_1=0;$11_1=HEAP32[$10_1+12>>2];break label$10}$18_1=($10_1+16|0)==($15_1|0)?0:$13_1;$12_1=$12_1-$18_1|0;$15_1=($18_1<<2)+$15_1|0;$18_1=$14_1+$11_1|0;$11_1=HEAP32[$10_1+12>>2];$14_1=$11_1?$18_1-$11_1|0:0;$9_1=$9_1+$13_1|0;if(!$11_1){break label$10}if($12_1){continue}break}}if(!$11_1){break label$8}}if(!$12_1|!$14_1){break label$8}$13_1=$9_1;while(1){label$14:{$9_1=$352($15_1,$11_1,$14_1,$1_1);label$15:{if($9_1+2>>>0<=2){label$17:{switch($9_1+1|0){case 1:HEAP32[$10_1+12>>2]=0;break label$15;case 0:break label$8;default:break label$17}}HEAP32[$1_1>>2]=0;break label$15}$11_1=HEAP32[$10_1+12>>2]+$9_1|0;HEAP32[$10_1+12>>2]=$11_1;$13_1=$13_1+1|0;$12_1=$12_1-1|0;if($12_1){break label$14}}$9_1=$13_1;break label$8}$15_1=$15_1+4|0;$14_1=$14_1-$9_1|0;$9_1=$13_1;if($14_1){continue}break}}if($5_1){HEAP32[$4_1>>2]=HEAP32[$10_1+12>>2]}global$0=$10_1+1040|0;$160($19_1);global$0=$17_1+16|0;label$20:{label$21:{label$22:{label$23:{if(($9_1|0)==-1){while(1){label$26:{HEAP32[$7_1>>2]=$5_1;if(HEAP32[$4_1>>2]==($2_1|0)){break label$26}$6_1=1;label$27:{label$28:{label$29:{$1_1=$889($5_1,$2_1,$8_1-$2_1|0,$16_1+8|0,HEAP32[$0_1+8>>2]);switch($1_1+2|0){case 0:break label$21;case 2:break label$27;case 1:break label$29;default:break label$28}}HEAP32[$4_1>>2]=$2_1;break label$23}$6_1=$1_1}$2_1=$2_1+$6_1|0;$5_1=HEAP32[$7_1>>2]+4|0;continue}break}HEAP32[$4_1>>2]=$2_1;break label$7}$5_1=HEAP32[$7_1>>2]+($9_1<<2)|0;HEAP32[$7_1>>2]=$5_1;if(($5_1|0)==($6_1|0)){break label$20}$2_1=HEAP32[$4_1>>2];if(($3_1|0)==($8_1|0)){$8_1=$3_1;continue}if(!$889($5_1,$2_1,1,$1_1,HEAP32[$0_1+8>>2])){break label$22}}$0_1=2;break label$6}HEAP32[$7_1>>2]=HEAP32[$7_1>>2]+4;$2_1=HEAP32[$4_1>>2]+1|0;HEAP32[$4_1>>2]=$2_1;$8_1=$2_1;while(1){if(($3_1|0)==($8_1|0)){$8_1=$3_1;break label$5}if(!HEAPU8[$8_1|0]){break label$5}$8_1=$8_1+1|0;continue}}HEAP32[$4_1>>2]=$2_1;$0_1=1;break label$6}$2_1=HEAP32[$4_1>>2]}$0_1=($2_1|0)!=($3_1|0)}global$0=$16_1+16|0;return $0_1|0}$5_1=HEAP32[$7_1>>2];continue}}function $835($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0;if(($3_1|0)<=0){HEAP32[$4_1>>2]=0;HEAP32[$5_1>>2]=0;HEAP32[$6_1>>2]=0;HEAP32[$6_1+4>>2]=-1074790400;return-1}$9_1=Math_imul($3_1,$3_1);folding_inner0:{label$2:{label$5:{if(!$1_1){$11_1=$7(Math_imul($9_1,12));if(!$11_1){break label$2}$9_1=Math_imul($9_1,3);$1_1=0;while(1){if(($1_1|0)!=($9_1|0)){$7_1=(HEAPU8[$1_1+$2_1|0]^255)+$7_1|0;$1_1=$1_1+1|0;continue}break}$10_1=($7_1>>>0)/($9_1>>>0)|0;$7_1=0;$1_1=0;while(1){if(($1_1|0)!=($9_1|0)){$8_1=(HEAPU8[$1_1+$2_1|0]^255)-$10_1|0;HEAP32[($1_1<<2)+$11_1>>2]=$8_1;$1_1=$1_1+1|0;$7_1=Math_imul($8_1,$8_1)+$7_1|0;continue}break}$14_1=Math_sqrt(+($7_1|0));if($14_1/(+($3_1|0)*1.7320508)<15){break folding_inner0}$7_1=0;$1_1=HEAP32[$0_1>>2];$18_1=($1_1|0)>0?$1_1:0;$10_1=-1;$12_1=-1;$8_1=-1;while(1){if(($7_1|0)!=($18_1|0)){$1_1=HEAP32[$0_1+8>>2];label$13:{while(1){label$15:{$8_1=$8_1+1|0;$15_1=$8_1<<2;switch(HEAP32[$15_1+$1_1>>2]){case 2:break label$13;case 0:continue;default:break label$15}}break}$19_1=HEAP32[$0_1+16>>2];$20_1=HEAP32[$0_1+12>>2];$3_1=0;while(1){if(($3_1|0)==4){break label$13}$16_1=$3_1+$15_1|0;$21_1=HEAP32[$20_1+($16_1<<2)>>2];$2_1=0;$1_1=0;while(1){if(($1_1|0)!=($9_1|0)){$22_1=$2_1;$2_1=$1_1<<2;$2_1=$22_1+Math_imul(HEAP32[$2_1+$21_1>>2],HEAP32[$2_1+$11_1>>2])|0;$1_1=$1_1+1|0;continue}break}$17_1=+($2_1|0)/HEAPF64[$19_1+($16_1<<3)>>3]/$14_1;$1_1=$17_1>$13_1;$13_1=$1_1?$17_1:$13_1;$12_1=$1_1?$8_1:$12_1;$10_1=$1_1?$3_1:$10_1;$3_1=$3_1+1|0;continue}}$7_1=$7_1+1|0;continue}break}break label$5}$11_1=$7($9_1<<2);if(!$11_1){break label$2}$1_1=0;while(1){if(($1_1|0)!=($9_1|0)){$7_1=(HEAPU8[$1_1+$2_1|0]^255)+$7_1|0;$1_1=$1_1+1|0;continue}break}$10_1=($7_1>>>0)/($9_1>>>0)|0;$7_1=0;$1_1=0;while(1){if(($1_1|0)!=($9_1|0)){$8_1=(HEAPU8[$1_1+$2_1|0]^255)-$10_1|0;HEAP32[($1_1<<2)+$11_1>>2]=$8_1;$1_1=$1_1+1|0;$7_1=Math_imul($8_1,$8_1)+$7_1|0;continue}break}$14_1=Math_sqrt(+($7_1|0));if($14_1/+($3_1|0)<15){break folding_inner0}$7_1=0;$1_1=HEAP32[$0_1>>2];$18_1=($1_1|0)>0?$1_1:0;$10_1=-1;$12_1=-1;$8_1=-1;while(1){if(($7_1|0)!=($18_1|0)){$1_1=HEAP32[$0_1+8>>2];label$25:{while(1){label$27:{$8_1=$8_1+1|0;$15_1=$8_1<<2;switch(HEAP32[$15_1+$1_1>>2]){case 2:break label$25;case 0:continue;default:break label$27}}break}$19_1=HEAP32[$0_1+24>>2];$20_1=HEAP32[$0_1+20>>2];$3_1=0;while(1){if(($3_1|0)==4){break label$25}$16_1=$3_1+$15_1|0;$21_1=HEAP32[$20_1+($16_1<<2)>>2];$2_1=0;$1_1=0;while(1){if(($1_1|0)!=($9_1|0)){$22_1=$2_1;$2_1=$1_1<<2;$2_1=$22_1+Math_imul(HEAP32[$2_1+$21_1>>2],HEAP32[$2_1+$11_1>>2])|0;$1_1=$1_1+1|0;continue}break}$17_1=+($2_1|0)/HEAPF64[$19_1+($16_1<<3)>>3]/$14_1;$1_1=$17_1>$13_1;$13_1=$1_1?$17_1:$13_1;$12_1=$1_1?$8_1:$12_1;$10_1=$1_1?$3_1:$10_1;$3_1=$3_1+1|0;continue}}$7_1=$7_1+1|0;continue}break}}HEAP32[$5_1>>2]=$10_1;HEAP32[$4_1>>2]=$12_1;HEAPF64[$6_1>>3]=$13_1;$1($11_1);return 0}$5(0,3,1806,0);fimport$1(1);abort()}HEAP32[$4_1>>2]=0;HEAP32[$5_1>>2]=0;HEAP32[$6_1>>2]=0;HEAP32[$6_1+4>>2]=-1074790400;$1($11_1);return-2}function $1031($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0;$19_1=global$0-288|0;global$0=$19_1;$20_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$19_1;while(1){$12_1=HEAP32[$1_1+128>>2];$13_1=HEAP16[$2_1+64>>1];$8_1=Math_imul(HEAP32[$1_1+32>>2],HEAP16[$2_1+16>>1]);$9_1=Math_imul(HEAP32[$1_1+224>>2],HEAP16[$2_1+112>>1]);$6_1=$8_1-$9_1|0;$10_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$5_1=Math_imul(HEAP32[$1_1+160>>2],HEAP16[$2_1+80>>1]);$14_1=$10_1-$5_1|0;$7_1=Math_imul($6_1+$14_1|0,4433);$15_1=Math_imul(HEAP32[$1_1+64>>2],HEAP16[$2_1+32>>1]);$16_1=Math_imul(HEAP32[$1_1+192>>2],HEAP16[$2_1+96>>1]);$17_1=$15_1-$16_1<<13;$11_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$18_1=$17_1+$11_1|0;$6_1=$7_1+Math_imul($6_1,6270)|0;HEAP32[$0_1+240>>2]=$18_1-$6_1>>11;HEAP32[$0_1+24>>2]=$6_1+$18_1>>11;$6_1=$11_1-$17_1|0;$7_1=$7_1+Math_imul($14_1,-15137)|0;HEAP32[$0_1+168>>2]=$6_1-$7_1>>11;HEAP32[$0_1+96>>2]=$7_1+$6_1>>11;$12_1=Math_imul(Math_imul($12_1,$13_1),10033);$13_1=$12_1+$11_1|0;$6_1=$16_1<<13;$14_1=$6_1+Math_imul($15_1,11190)|0;$16_1=$13_1-$14_1|0;$18_1=$5_1+$8_1|0;$7_1=Math_imul($18_1+$9_1|0,7053);$17_1=Math_imul($10_1,-4433);$21_1=$7_1+(($17_1+Math_imul($8_1,-5540)|0)+Math_imul($9_1,-16244)|0)|0;HEAP32[$0_1+144>>2]=$16_1-$21_1>>11;HEAP32[$0_1+120>>2]=$16_1+$21_1>>11;$13_1=$13_1+$14_1|0;$14_1=Math_imul($8_1,2295);$8_1=Math_imul($10_1,10703);$10_1=$7_1+Math_imul($18_1,2139)|0;$14_1=($14_1+$8_1|0)+$10_1|0;HEAP32[$0_1+264>>2]=$13_1-$14_1>>11;HEAP32[$0_1>>2]=$13_1+$14_1>>11;$15_1=Math_imul($15_1,2998)-$6_1|0;$11_1=$11_1-$12_1|0;$12_1=$15_1+$11_1|0;$6_1=$17_1+Math_imul($5_1,-12112)|0;$5_1=Math_imul($5_1+$9_1|0,-8565);$10_1=$10_1+($6_1+$5_1|0)|0;HEAP32[$0_1+216>>2]=$12_1-$10_1>>11;HEAP32[$0_1+48>>2]=$10_1+$12_1>>11;$11_1=$11_1-$15_1|0;$9_1=$5_1+($7_1+(Math_imul($9_1,12998)-$8_1|0)|0)|0;HEAP32[$0_1+192>>2]=$11_1-$9_1>>11;HEAP32[$0_1+72>>2]=$9_1+$11_1>>11;$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+2|0;$22_1=$22_1+1|0;if(($22_1|0)!=6){continue}break}$1_1=$20_1-384|0;$0_1=$19_1;$9_1=0;while(1){$8_1=HEAP32[$0_1+20>>2];$5_1=HEAP32[$0_1+4>>2];$11_1=Math_imul($8_1+$5_1|0,2998);$2_1=HEAP32[($9_1<<2)+$3_1>>2]+$4_1|0;$10_1=HEAP32[$0_1+12>>2];$7_1=$11_1+($10_1+$5_1<<13)|0;$20_1=(HEAP32[$0_1>>2]<<13)+134348800|0;$15_1=HEAP32[$0_1+16>>2];$12_1=$20_1+Math_imul($15_1,5793)|0;$13_1=Math_imul(HEAP32[$0_1+8>>2],10033);$6_1=$12_1+$13_1|0;HEAP8[$2_1|0]=HEAPU8[$1_1+($7_1+$6_1>>>18&1023)|0];HEAP8[$2_1+5|0]=HEAPU8[$1_1+($6_1-$7_1>>>18&1023)|0];$5_1=$5_1-($8_1+$10_1|0)<<13;$7_1=$20_1+Math_imul($15_1,-11586)|0;HEAP8[$2_1+1|0]=HEAPU8[$1_1+($5_1+$7_1>>>18&1023)|0];HEAP8[$2_1+4|0]=HEAPU8[$1_1+($7_1-$5_1>>>18&1023)|0];$8_1=$11_1+($8_1-$10_1<<13)|0;$5_1=$12_1-$13_1|0;HEAP8[$2_1+2|0]=HEAPU8[$1_1+($8_1+$5_1>>>18&1023)|0];HEAP8[$2_1+3|0]=HEAPU8[$1_1+($5_1-$8_1>>>18&1023)|0];$0_1=$0_1+24|0;$9_1=$9_1+1|0;if(($9_1|0)!=12){continue}break}global$0=$19_1+288|0}function $300($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=Math_fround(0),$11_1=Math_fround(0),$12_1=Math_fround(0),$13_1=0,$14_1=0,$15_1=0,$16_1=Math_fround(0),$17_1=0,$18_1=0,$19_1=0,$20_1=0;$7_1=global$0-224|0;global$0=$7_1;$14_1=$7($4_1<<4);HEAP32[$7_1+208>>2]=$14_1;if($14_1){label$2:{$15_1=$7(Math_imul($4_1,24));HEAP32[$7_1+212>>2]=$15_1;if(!$15_1){break label$2}$20_1=($4_1|0)>0?$4_1:0;while(1){if(($8_1|0)!=($20_1|0)){$9_1=Math_imul($8_1,12)+$3_1|0;$10_1=Math_fround($10_1+HEAPF32[$9_1+8>>2]);$11_1=Math_fround($11_1+HEAPF32[$9_1+4>>2]);$12_1=Math_fround($12_1+HEAPF32[$9_1>>2]);$8_1=$8_1+1|0;continue}break}$16_1=Math_fround($4_1|0);$10_1=Math_fround($10_1/$16_1);$11_1=Math_fround($11_1/$16_1);$12_1=Math_fround($12_1/$16_1);$8_1=0;while(1){if(($8_1|0)!=($20_1|0)){$9_1=($8_1<<4)+$14_1|0;$13_1=($8_1<<3)+$2_1|0;HEAPF64[$9_1>>3]=HEAPF32[$13_1>>2];HEAPF64[$9_1+8>>3]=HEAPF32[$13_1+4>>2];$9_1=Math_imul($8_1,24)+$15_1|0;$13_1=Math_imul($8_1,12)+$3_1|0;HEAPF64[$9_1>>3]=Math_fround(HEAPF32[$13_1>>2]-$12_1);HEAPF64[$9_1+8>>3]=Math_fround(HEAPF32[$13_1+4>>2]-$11_1);HEAPF64[$9_1+16>>3]=Math_fround(HEAPF32[$13_1+8>>2]-$10_1);$8_1=$8_1+1|0;continue}break}HEAP32[$7_1+216>>2]=$4_1;$2_1=0;while(1){$8_1=0;if(($2_1|0)!=3){while(1){if(($8_1|0)!=3){HEAPF64[(($7_1+112|0)+($2_1<<5)|0)+($8_1<<3)>>3]=HEAPF32[(($2_1<<4)+$1_1|0)+($8_1<<2)>>2];$8_1=$8_1+1|0;continue}break}$2_1=$2_1+1|0;continue}break}HEAPF64[$7_1+136>>3]=Math_fround(HEAPF32[$1_1+12>>2]+Math_fround(Math_fround(HEAPF32[$1_1+8>>2]*$10_1)+Math_fround(Math_fround(HEAPF32[$1_1>>2]*$12_1)+Math_fround($11_1*HEAPF32[$1_1+4>>2]))));HEAPF64[$7_1+168>>3]=Math_fround(HEAPF32[$1_1+28>>2]+Math_fround(Math_fround(HEAPF32[$1_1+24>>2]*$10_1)+Math_fround(Math_fround(HEAPF32[$1_1+16>>2]*$12_1)+Math_fround($11_1*HEAPF32[$1_1+20>>2]))));HEAPF64[$7_1+200>>3]=Math_fround(HEAPF32[$1_1+44>>2]+Math_fround(Math_fround(HEAPF32[$1_1+40>>2]*$10_1)+Math_fround(Math_fround(HEAPF32[$1_1+32>>2]*$12_1)+Math_fround($11_1*HEAPF32[$1_1+36>>2]))));label$11:{if(!$6_1){if(($311($0_1,$7_1+208|0,$7_1+112|0,$7_1+16|0,$7_1+8|0)|0)>=0){break label$11}HEAP32[$7_1+8>>2]=0;HEAP32[$7_1+12>>2]=1100470148;break label$11}if(($689($0_1,$7_1+208|0,$7_1+112|0,$7_1+16|0,$7_1+8|0)|0)>=0){break label$11}HEAP32[$7_1+8>>2]=0;HEAP32[$7_1+12>>2]=1100470148}$1(HEAP32[$7_1+208>>2]);$1(HEAP32[$7_1+212>>2]);$2_1=0;while(1){$8_1=0;if(($2_1|0)!=3){while(1){if(($8_1|0)!=3){HEAPF32[(($2_1<<4)+$5_1|0)+($8_1<<2)>>2]=HEAPF64[(($7_1+16|0)+($2_1<<5)|0)+($8_1<<3)>>3];$8_1=$8_1+1|0;continue}break}$2_1=$2_1+1|0;continue}break}$17_1=+$12_1;$18_1=+$11_1;$19_1=+$10_1;HEAPF32[$5_1+12>>2]=HEAPF64[$7_1+40>>3]-HEAPF64[$7_1+16>>3]*$17_1-HEAPF64[$7_1+24>>3]*$18_1-HEAPF64[$7_1+32>>3]*$19_1;HEAPF32[$5_1+28>>2]=HEAPF64[$7_1+72>>3]-HEAPF64[$7_1+48>>3]*$17_1-HEAPF64[$7_1+56>>3]*$18_1-HEAPF64[$7_1- -64>>3]*$19_1;HEAPF32[$5_1+44>>2]=HEAPF64[$7_1+104>>3]-HEAPF64[$7_1+80>>3]*$17_1-HEAPF64[$7_1+88>>3]*$18_1-HEAPF64[$7_1+96>>3]*$19_1;global$0=$7_1+224|0;return Math_fround(HEAPF64[$7_1+8>>3])}}$5(0,3,3095,0);fimport$1(1);abort()}function $589($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0;$12_1=HEAP32[$0_1>>2];$13_1=HEAP32[$0_1+4>>2];$5_1=$350(1,4156);if(!$5_1){$5(0,3,1806,0);fimport$1(1);abort()}$11_1=$481($48(4));$9_1=$481($48(24));$226($9_1+4|0);$3_1=$48(840);$38($3_1+12|0);$268($3_1- -64|0);$226($3_1+72|0);$1_1=$3_1+92|0;HEAP32[$1_1>>2]=26548;$38($1_1+4|0);HEAP32[$1_1+24>>2]=0;HEAP32[$1_1+28>>2]=0;HEAP32[$1_1+16>>2]=0;HEAP32[$1_1+20>>2]=0;HEAP32[$1_1>>2]=26564;$38($1_1+32|0);$38($1_1+44|0);$38($1_1+56|0);$4_1=$3_1+160|0;$1_1=$4_1;HEAP32[$1_1+8>>2]=10;HEAP32[$1_1+12>>2]=10;HEAP32[$1_1>>2]=0;HEAP32[$1_1+4>>2]=0;$38($1_1+16|0);HEAP8[$1_1+28|0]=1;$1_1=$38($1_1+32|0);HEAP32[$1_1+12>>2]=0;HEAP32[$1_1+16>>2]=0;HEAP32[$4_1+52>>2]=0;HEAP32[$4_1+56>>2]=1092616192;$38($4_1+60|0);$38($4_1+72|0);HEAP32[$4_1+88>>2]=1091567616;$1_1=$4_1+92|0;HEAP32[$1_1+12>>2]=0;HEAP32[$1_1+16>>2]=0;HEAP32[$1_1>>2]=0;HEAP32[$1_1+4>>2]=0;HEAP32[$1_1+20>>2]=0;HEAP32[$1_1+24>>2]=0;$38($1_1+28|0);$38($1_1+40|0);$1_1=$38($4_1+144|0);$829($4_1,5e3);$232($1_1,36);$1_1=$3_1+316|0;$195($1_1,27280,12);$195($1_1+48|0,27328,12);$195($1_1+96|0,27376,12);$195($1_1+144|0,27424,12);$195($1_1+192|0,27472,12);$195($1_1+240|0,27520,12);HEAP32[$1_1+312>>2]=1057803469;HEAP32[$1_1+316>>2]=1088421888;HEAP32[$1_1+304>>2]=1053609165;HEAP32[$1_1+308>>2]=1056125747;HEAP32[$1_1+296>>2]=1048576e3;HEAP32[$1_1+300>>2]=1051092582;HEAP32[$1_1+288>>2]=1036831949;HEAP32[$1_1+292>>2]=1043542835;HEAP32[$38($3_1+636|0)+12>>2]=1060320051;$1_1=$3_1+652|0;HEAP32[$1_1>>2]=0;HEAP32[$1_1+4>>2]=0;HEAP8[$1_1+16|0]=1;HEAP32[$1_1+8>>2]=0;HEAP32[$1_1+12>>2]=0;wasm2js_memory_fill($1_1+20|0,0,72);$226($1_1+92|0);$38($1_1+112|0);$38($1_1+124|0);$7_1=$38($3_1+788|0);$38($7_1+12|0);$1_1=$7_1+24|0;$38($1_1);$232($7_1,9216);$2_1=$12($1_1);label$2:{if($2_1>>>0<1024){$10_1=global$0-32|0;global$0=$10_1;$6_1=1024-$2_1|0;label$4:{if($6_1>>>0<=HEAP32[$4($1_1)>>2]-HEAP32[$1_1+4>>2]>>3>>>0){$474($1_1,$6_1);break label$4}$2_1=$4($1_1);$8_1=$271($10_1+8|0,$473($1_1,$12($1_1)+$6_1|0),$12($1_1),$2_1);$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1>>2]=HEAP32[$8_1+8>>2];$14_1=HEAP32[$8_1+8>>2];HEAP32[$2_1+8>>2]=$8_1+8;HEAP32[$2_1+4>>2]=($6_1<<3)+$14_1;$6_1=HEAP32[$2_1>>2];while(1){if(HEAP32[$2_1+4>>2]!=($6_1|0)){$758(HEAP32[$2_1>>2]);$6_1=HEAP32[$2_1>>2]+8|0;HEAP32[$2_1>>2]=$6_1;continue}break}$143($2_1);global$0=$2_1+16|0;$321($1_1,$8_1);$320($8_1)}global$0=$10_1+32|0;break label$2}if($2_1>>>0>1024){$2_1=HEAP32[$1_1>>2]- -8192|0;$12($1_1);$395($1_1,$2_1);$490($1_1)}}HEAP32[$7_1+48>>2]=50;HEAP32[$7_1+44>>2]=1064;HEAP32[$7_1+40>>2]=1024;HEAPF32[$7_1+36>>2]=.009999999776482582;HEAPF32[$4_1+52>>2]=3;HEAPF32[$4_1+56>>2]=4;$829($4_1,500);HEAP8[$3_1+8|0]=1;HEAP32[$3_1>>2]=8;HEAP32[$3_1+4>>2]=1077936128;$780($9_1,$3_1);$781($11_1,$9_1);HEAP32[$5_1+20>>2]=1;HEAP32[$5_1+24>>2]=-1;HEAP32[$5_1+16>>2]=$13_1;HEAP32[$5_1+12>>2]=$12_1;HEAP32[$5_1+8>>2]=1;HEAP32[$5_1+4>>2]=$0_1;HEAP32[$5_1>>2]=$11_1;return $5_1}function $725($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=Math_fround(0),$7_1=0,$8_1=Math_fround(0),$9_1=Math_fround(0),$10_1=0,$11_1=0,$12_1=0;$4_1=global$0-32|0;global$0=$4_1;$5_1=((($3_1|0)%HEAP32[$1_1+88>>2]|0)%HEAP32[$1_1+84>>2]|0)%HEAP32[$1_1+52>>2]|0;HEAP32[$4_1+12>>2]=$5_1;$5_1=((($3_1-$5_1|0)%HEAP32[$1_1+88>>2]|0)%HEAP32[$1_1+84>>2]|0)/HEAP32[$1_1+52>>2]|0;HEAP32[$4_1+8>>2]=$5_1;$5_1=(($3_1-(HEAP32[$4_1+12>>2]+Math_imul($5_1,HEAP32[$1_1+52>>2])|0)|0)%HEAP32[$1_1+88>>2]|0)/HEAP32[$1_1+84>>2]|0;HEAP32[$4_1+4>>2]=$5_1;$3_1=($3_1-(HEAP32[$4_1+12>>2]+(Math_imul($5_1,HEAP32[$1_1+84>>2])+Math_imul(HEAP32[$1_1+52>>2],HEAP32[$4_1+8>>2])|0)|0)|0)/HEAP32[$1_1+88>>2]|0;HEAP32[$4_1>>2]=$3_1;label$1:{label$2:{label$3:{label$4:{label$5:{label$6:{label$7:{label$8:{label$9:{$5_1=HEAP32[$4_1+12>>2];if(($5_1|0)>=0){if(($5_1|0)>=HEAP32[$1_1+52>>2]){break label$9}$5_1=HEAP32[$4_1+8>>2];if(($5_1|0)<0){break label$8}if(($5_1|0)>=HEAP32[$1_1+56>>2]){break label$7}$5_1=HEAP32[$4_1+4>>2];if(($5_1|0)<0){break label$6}if(($5_1|0)>=HEAP32[$1_1+60>>2]){break label$5}if(($3_1|0)<0){break label$4}if(($3_1|0)>=HEAP32[$1_1+64>>2]){break label$3}break label$1}$3($0($0($2($0($0($0(71248,23488),23595),9192),190),10056),23682));break label$2}$3($0($0($2($0($0($0(71248,23775),23595),9192),191),10056),23682));break label$2}$3($0($0($2($0($0($0(71248,23815),23595),9192),192),10056),23930));break label$2}$3($0($0($2($0($0($0(71248,23948),23595),9192),193),10056),23930));break label$2}$3($0($0($2($0($0($0(71248,24040),23595),9192),194),10056),24131));break label$2}$3($0($0($2($0($0($0(71248,24207),23595),9192),195),10056),24131));break label$2}$3($0($0($2($0($0($0(71248,24311),23595),9192),196),10056),24405));break label$2}$3($0($0($2($0($0($0(71248,24484),23595),9192),197),10056),24405))}fimport$0();abort()}$231($0_1);$5_1=$21($722($1_1));$3_1=HEAP32[$1_1+112>>2];label$11:{if($12($2_1)>>>0>=$5_1>>>0){$5_1=($5_1|0)>0?$5_1:0;while(1){if(($5_1|0)==($7_1|0)){break label$11}$6_1=HEAPF32[$3_1+4>>2];$8_1=HEAPF32[$3_1+8>>2];$9_1=HEAPF32[$3_1+12>>2];$10_1=+HEAP32[$4_1+8>>2]+.5;$11_1=+HEAP32[$4_1+4>>2]+.5;$12_1=+HEAP32[$4_1>>2]+.5;HEAPF32[$4_1+28>>2]=Math_abs(Math_fround(HEAPF32[$3_1>>2]-Math_fround(+HEAP32[$4_1+12>>2]+.5)));HEAPF32[$4_1+24>>2]=Math_abs(Math_fround($6_1-Math_fround($10_1)));HEAPF32[$4_1+16>>2]=Math_abs(Math_fround($9_1-Math_fround($12_1)));$6_1=Math_fround(Math_abs(Math_fround($8_1-Math_fround($11_1))));$6_1=$379($6_1,Math_fround(Math_fround(HEAP32[$1_1+60>>2])-$6_1));HEAPF32[$4_1+20>>2]=$6_1;if($6_1>=Math_fround(0)){if(!(!(HEAPF32[$4_1+28>>2]>2]>2]>2]>2]))}$3_1=$3_1+16|0;$7_1=$7_1+1|0;continue}else{$3($0($0($2($0($0($0(71248,24632),23595),9192),333),10056),24727));fimport$0();abort()}}}$3($0($0($2($0($0($0(71248,23394),8184),9192),342),10056),23469));fimport$0();abort()}global$0=$4_1+32|0}function $1133($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$2_1=HEAP32[$0_1+20>>2];if(($2_1&-2)!=200){$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+24>>2]=$2_1;HEAP32[$3_1+20>>2]=21;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$2_1=1;label$2:{label$4:{label$5:{label$6:{label$7:{$3_1=HEAP32[$0_1+20>>2];switch($3_1-200|0){case 2:break label$2;case 3:case 4:case 5:case 6:case 7:case 8:case 10:break label$5;case 1:break label$6;case 0:break label$7;default:break label$4}}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+460>>2]+4>>2]]($0_1);FUNCTION_TABLE[HEAP32[HEAP32[$0_1+24>>2]+8>>2]]($0_1);HEAP32[$0_1+20>>2]=201}$2_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+460>>2]>>2]]($0_1)|0;if(($2_1|0)!=1){break label$2}$2_1=HEAP32[$0_1+36>>2];$5_1=$2_1;label$8:{label$9:{switch($2_1-1|0){case 2:$2_1=HEAP32[$0_1+216>>2];$3_1=HEAP32[$2_1+176>>2];$5_1=2;$4_1=HEAP32[$2_1+88>>2];$6_1=HEAP32[$2_1>>2];$2_1=($6_1|0)!=1;if(!(($4_1|0)!=2|$2_1|($3_1|0)!=3)){$2_1=3;break label$8}if(!($2_1|($4_1|0)!=34)){$2_1=7;if(($3_1|0)==35){break label$8}}if(!(($6_1|0)!=82|($4_1|0)!=71|($3_1|0)!=66)){$2_1=2;break label$8}if(!(($6_1|0)!=114|($4_1|0)!=103)){$2_1=6;if(($3_1|0)==98){break label$8}}if(HEAP32[$0_1+284>>2]){$2_1=3;break label$8}if(HEAP32[$0_1+296>>2]){$2_1=2;label$18:{label$19:{$3_1=HEAPU8[$0_1+300|0];switch($3_1|0){case 1:break label$19;case 0:break label$8;default:break label$18}}$2_1=3;break label$8}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$3_1;HEAP32[$2_1+20>>2]=116;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,-1);$2_1=3;break label$8}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$6_1;HEAP32[$2_1+20>>2]=113;HEAP32[$2_1+32>>2]=$3_1;HEAP32[$2_1+28>>2]=$4_1;FUNCTION_TABLE[HEAP32[$2_1+4>>2]]($0_1,1);$2_1=3;break label$8;case 3:$5_1=4;if(!HEAP32[$0_1+296>>2]){$2_1=4;break label$8}$2_1=4;label$21:{label$22:{$3_1=HEAPU8[$0_1+300|0];switch($3_1|0){case 2:break label$22;case 0:break label$8;default:break label$21}}$2_1=5;break label$8}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$3_1;HEAP32[$2_1+20>>2]=116;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,-1);$2_1=5;break label$8;case 0:break label$8;default:break label$9}}$2_1=0;$5_1=0}HEAP32[$0_1+44>>2]=$5_1;HEAP32[$0_1+40>>2]=$2_1;HEAP32[$0_1+136>>2]=0;HEAP32[$0_1+96>>2]=256;HEAP32[$0_1+88>>2]=2;HEAP32[$0_1+92>>2]=1;HEAP32[$0_1+80>>2]=1;HEAP32[$0_1+84>>2]=0;HEAP32[$0_1+72>>2]=0;HEAP32[$0_1+76>>2]=1;HEAP32[$0_1+64>>2]=0;HEAP32[$0_1+68>>2]=0;HEAP32[$0_1+56>>2]=0;HEAP32[$0_1+60>>2]=1072693248;HEAP32[$0_1+108>>2]=0;HEAP32[$0_1+100>>2]=0;HEAP32[$0_1+104>>2]=0;HEAP32[$0_1+20>>2]=202;$2_1=HEAP32[$0_1+428>>2];HEAP32[$0_1+52>>2]=$2_1;HEAP32[$0_1+48>>2]=$2_1;$2_1=1;break label$2}$2_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+460>>2]>>2]]($0_1)|0;break label$2}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$3_1;HEAP32[$2_1+20>>2]=21;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1);$2_1=0}if(($2_1|0)==2){if($1_1){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=53;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}$680($0_1)}return $2_1|0}function $677($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$1_1=1;$2_1=HEAP32[$0_1+340>>2];label$1:{label$2:{if(($2_1|0)==1){$2_1=HEAP32[$0_1+344>>2];HEAP32[$0_1+360>>2]=HEAP32[$2_1+28>>2];$3_1=HEAP32[$2_1+32>>2];HEAP32[$0_1+364>>2]=$3_1;HEAP32[$2_1+64>>2]=1;HEAP32[$2_1+56>>2]=1;HEAP32[$2_1+60>>2]=1;HEAP32[$2_1+72>>2]=1;HEAP32[$2_1+68>>2]=HEAP32[$2_1+36>>2];$5_1=$2_1;$2_1=HEAP32[$2_1+12>>2];$3_1=($3_1>>>0)%($2_1>>>0)|0;HEAP32[$5_1+76>>2]=$3_1?$3_1:$2_1;HEAP32[$0_1+368>>2]=1;HEAP32[$0_1+372>>2]=0;break label$2}if($2_1-5>>>0<=4294967291){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$2_1;HEAP32[$1_1+20>>2]=27;HEAP32[HEAP32[$0_1>>2]+28>>2]=4;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}HEAP32[$0_1+360>>2]=$60(HEAP32[$0_1+28>>2],Math_imul(HEAP32[$0_1+428>>2],HEAP32[$0_1+316>>2]));$2_1=$60(HEAP32[$0_1+32>>2],Math_imul(HEAP32[$0_1+428>>2],HEAP32[$0_1+320>>2]));HEAP32[$0_1+368>>2]=0;HEAP32[$0_1+364>>2]=$2_1;if(HEAP32[$0_1+340>>2]<=0){break label$1}$7_1=$0_1+372|0;while(1){$1_1=HEAP32[(($3_1<<2)+$0_1|0)+344>>2];$4_1=HEAP32[$1_1+8>>2];HEAP32[$1_1+56>>2]=$4_1;$6_1=HEAP32[$1_1+12>>2];HEAP32[$1_1+60>>2]=$6_1;$2_1=Math_imul($4_1,$6_1);HEAP32[$1_1+64>>2]=$2_1;HEAP32[$1_1+68>>2]=Math_imul($4_1,HEAP32[$1_1+36>>2]);$5_1=HEAPU32[$1_1+28>>2]%($4_1>>>0)|0;HEAP32[$1_1+72>>2]=$5_1?$5_1:$4_1;$5_1=$1_1;$1_1=HEAPU32[$1_1+32>>2]%($6_1>>>0)|0;HEAP32[$5_1+76>>2]=$1_1?$1_1:$6_1;if((HEAP32[$0_1+368>>2]+$2_1|0)>=11){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=14;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}label$7:{if(($2_1|0)<=0){break label$7}$4_1=$2_1-1|0;$1_1=0;$6_1=$2_1&3;if($6_1){while(1){$5_1=HEAP32[$0_1+368>>2];HEAP32[$0_1+368>>2]=$5_1+1;HEAP32[(($5_1<<2)+$0_1|0)+372>>2]=$3_1;$2_1=$2_1-1|0;$1_1=$1_1+1|0;if(($6_1|0)!=($1_1|0)){continue}break}}if($4_1>>>0<3){break label$7}while(1){$1_1=HEAP32[$0_1+368>>2];HEAP32[$0_1+368>>2]=$1_1+1;HEAP32[$7_1+($1_1<<2)>>2]=$3_1;$1_1=HEAP32[$0_1+368>>2];HEAP32[$0_1+368>>2]=$1_1+1;HEAP32[$7_1+($1_1<<2)>>2]=$3_1;$1_1=HEAP32[$0_1+368>>2];HEAP32[$0_1+368>>2]=$1_1+1;HEAP32[$7_1+($1_1<<2)>>2]=$3_1;$1_1=HEAP32[$0_1+368>>2];HEAP32[$0_1+368>>2]=$1_1+1;HEAP32[$7_1+($1_1<<2)>>2]=$3_1;$1_1=$2_1-5|0;$2_1=$2_1-4|0;if($1_1>>>0<4294967294){continue}break}}$1_1=HEAP32[$0_1+340>>2];$3_1=$3_1+1|0;if(($1_1|0)>($3_1|0)){continue}break}if(($1_1|0)<=0){break label$1}}$2_1=0;while(1){$3_1=HEAP32[(($2_1<<2)+$0_1|0)+344>>2];if(!HEAP32[$3_1+80>>2]){$1_1=HEAP32[$3_1+16>>2];if(!(HEAP32[(($1_1<<2)+$0_1|0)+164>>2]?$1_1>>>0<=3:0)){$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+24>>2]=$1_1;HEAP32[$4_1+20>>2]=54;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}HEAP32[$3_1+80>>2]=$62(FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,132)|0,HEAP32[(($1_1<<2)+$0_1|0)+164>>2],132);$1_1=HEAP32[$0_1+340>>2]}$2_1=$2_1+1|0;if(($2_1|0)<($1_1|0)){continue}break}}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+468>>2]>>2]]($0_1);FUNCTION_TABLE[HEAP32[HEAP32[$0_1+452>>2]>>2]]($0_1);HEAP32[HEAP32[$0_1+460>>2]>>2]=HEAP32[HEAP32[$0_1+452>>2]+4>>2]}function $1056($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0;$19_1=global$0-208|0;global$0=$19_1;$16_1=HEAP32[$0_1+336>>2];$0_1=HEAP32[$1_1+84>>2];$1_1=$19_1;while(1){$8_1=HEAP32[$0_1+160>>2];$7_1=HEAP16[$2_1+80>>1];$14_1=HEAP32[$0_1+32>>2];$12_1=HEAP16[$2_1+16>>1];$17_1=HEAP32[$0_1+96>>2];$13_1=HEAP16[$2_1+48>>1];$9_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$0_1>>2])<<13|1024;$10_1=Math_imul(HEAP32[$0_1+128>>2],HEAP16[$2_1+64>>1]);$5_1=Math_imul(HEAP32[$0_1+192>>2],HEAP16[$2_1+96>>1]);$6_1=Math_imul(HEAP32[$0_1+64>>2],HEAP16[$2_1+32>>1]);$15_1=$5_1+$6_1|0;HEAP32[$1_1+84>>2]=$9_1+Math_imul($10_1-$15_1|0,11585)>>11;$8_1=Math_imul($7_1,$8_1);$7_1=Math_imul($14_1,$12_1);$14_1=Math_imul($8_1+$7_1|0,5027);$15_1=$9_1+Math_imul($15_1,10438)|0;$12_1=Math_imul($10_1-$5_1|0,7223);$11_1=$15_1+($12_1+Math_imul($5_1,-637)|0)|0;$5_1=Math_imul($13_1,$17_1);$17_1=Math_imul($5_1+$7_1|0,7663);$7_1=Math_imul($7_1-$5_1|0,1395);$13_1=$14_1+($17_1-$7_1|0)|0;HEAP32[$1_1+168>>2]=$11_1-$13_1>>11;HEAP32[$1_1>>2]=$13_1+$11_1>>11;$11_1=Math_imul($6_1,-20239);$6_1=Math_imul($6_1-$10_1|0,2578);$13_1=$15_1+($11_1+$6_1|0)|0;$5_1=Math_imul($5_1+$8_1|0,-11295);$8_1=$5_1+($14_1+Math_imul($8_1,15326)|0)|0;HEAP32[$1_1+112>>2]=$13_1-$8_1>>11;HEAP32[$1_1+56>>2]=$8_1+$13_1>>11;$10_1=$12_1+($6_1+($9_1+Math_imul($10_1,-15083)|0)|0)|0;$5_1=$5_1+($7_1+$17_1|0)|0;HEAP32[$1_1+140>>2]=$10_1-$5_1>>11;HEAP32[$1_1+28>>2]=$5_1+$10_1>>11;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$2_1=$2_1+2|0;$18_1=$18_1+1|0;if(($18_1|0)!=7){continue}break}$0_1=$16_1-384|0;$2_1=$19_1;$10_1=0;while(1){$5_1=HEAP32[$2_1+16>>2];$6_1=HEAP32[$2_1+24>>2];$9_1=Math_imul($5_1-$6_1|0,7223);$1_1=HEAP32[($10_1<<2)+$3_1>>2]+$4_1|0;$8_1=HEAP32[$2_1+12>>2];$7_1=HEAP32[$2_1+4>>2];$16_1=Math_imul($8_1+$7_1|0,7663);$12_1=Math_imul($7_1-$8_1|0,1395);$11_1=$7_1;$7_1=HEAP32[$2_1+20>>2];$17_1=Math_imul($11_1+$7_1|0,5027);$13_1=($16_1-$12_1|0)+$17_1|0;$18_1=$9_1+Math_imul($6_1,-637)|0;$14_1=(HEAP32[$2_1>>2]<<13)+134348800|0;$11_1=$6_1;$6_1=HEAP32[$2_1+8>>2];$15_1=$11_1+$6_1|0;$11_1=$14_1+Math_imul($15_1,10438)|0;$18_1=$18_1+$11_1|0;HEAP8[$1_1|0]=HEAPU8[$0_1+($13_1+$18_1>>>18&1023)|0];HEAP8[$1_1+6|0]=HEAPU8[$0_1+($18_1-$13_1>>>18&1023)|0];$8_1=Math_imul($7_1+$8_1|0,-11295);$16_1=$8_1+($12_1+$16_1|0)|0;$12_1=Math_imul($6_1-$5_1|0,2578);$9_1=$9_1+($12_1+($14_1+Math_imul($5_1,-15083)|0)|0)|0;HEAP8[$1_1+1|0]=HEAPU8[$0_1+($16_1+$9_1>>>18&1023)|0];HEAP8[$1_1+5|0]=HEAPU8[$0_1+($9_1-$16_1>>>18&1023)|0];$9_1=$8_1+($17_1+Math_imul($7_1,15326)|0)|0;$6_1=$11_1+($12_1+Math_imul($6_1,-20239)|0)|0;HEAP8[$1_1+2|0]=HEAPU8[$0_1+($9_1+$6_1>>>18&1023)|0];HEAP8[$1_1+4|0]=HEAPU8[$0_1+($6_1-$9_1>>>18&1023)|0];HEAP8[$1_1+3|0]=HEAPU8[$0_1+($14_1+Math_imul($5_1-$15_1|0,11585)>>>18&1023)|0];$2_1=$2_1+28|0;$10_1=$10_1+1|0;if(($10_1|0)!=7){continue}break}global$0=$19_1+208|0}function $1086($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0;$9_1=HEAP32[$0_1+448>>2];label$1:{switch($1_1|0){case 0:if(HEAP32[HEAP32[$0_1+476>>2]+8>>2]){HEAP32[$9_1+4>>2]=180;$16_1=HEAP32[$0_1+36>>2];if(($16_1|0)>0){$13_1=HEAP32[$0_1+328>>2];$17_1=$13_1-2|0;$18_1=$13_1+2|0;$14_1=HEAP32[$0_1+216>>2];while(1){$0_1=$15_1<<2;$1_1=HEAP32[$0_1+HEAP32[$9_1+64>>2]>>2];$4_1=HEAP32[$0_1+HEAP32[$9_1+60>>2]>>2];$5_1=HEAP32[($0_1+$9_1|0)+8>>2];$8_1=(Math_imul(HEAP32[$14_1+40>>2],HEAP32[$14_1+12>>2])|0)/($13_1|0)|0;$10_1=Math_imul($18_1,$8_1);label$7:{if(($10_1|0)<=0){break label$7}$3_1=0;$0_1=0;if($10_1-1>>>0>=3){$12_1=$10_1&-4;$11_1=0;while(1){$2_1=$0_1<<2;$6_1=HEAP32[$2_1+$5_1>>2];HEAP32[$1_1+$2_1>>2]=$6_1;HEAP32[$4_1+$2_1>>2]=$6_1;$6_1=$2_1|4;$7_1=HEAP32[$6_1+$5_1>>2];HEAP32[$1_1+$6_1>>2]=$7_1;HEAP32[$4_1+$6_1>>2]=$7_1;$6_1=$2_1|8;$7_1=HEAP32[$6_1+$5_1>>2];HEAP32[$1_1+$6_1>>2]=$7_1;HEAP32[$4_1+$6_1>>2]=$7_1;$2_1=$2_1|12;$6_1=HEAP32[$2_1+$5_1>>2];HEAP32[$1_1+$2_1>>2]=$6_1;HEAP32[$4_1+$2_1>>2]=$6_1;$0_1=$0_1+4|0;$11_1=$11_1+4|0;if(($12_1|0)!=($11_1|0)){continue}break}}$11_1=$10_1&3;if(!$11_1){break label$7}while(1){$2_1=$0_1<<2;$10_1=HEAP32[$2_1+$5_1>>2];HEAP32[$1_1+$2_1>>2]=$10_1;HEAP32[$4_1+$2_1>>2]=$10_1;$0_1=$0_1+1|0;$3_1=$3_1+1|0;if(($11_1|0)!=($3_1|0)){continue}break}}label$11:{if(($8_1|0)<=0){break label$11}$3_1=$8_1<<1;$11_1=($3_1|0)>1?$3_1:1;$6_1=$11_1&1;$2_1=Math_imul($8_1,$17_1);$10_1=Math_imul($8_1,$13_1);$0_1=0;if(($3_1|0)>=2){$11_1=$11_1&2147483646;$3_1=0;while(1){$7_1=$0_1+$2_1<<2;$12_1=$0_1+$10_1<<2;HEAP32[$7_1+$1_1>>2]=HEAP32[$12_1+$5_1>>2];HEAP32[$1_1+$12_1>>2]=HEAP32[$5_1+$7_1>>2];$7_1=$0_1|1;$12_1=$7_1+$2_1<<2;$7_1=$7_1+$10_1<<2;HEAP32[$12_1+$1_1>>2]=HEAP32[$7_1+$5_1>>2];HEAP32[$1_1+$7_1>>2]=HEAP32[$5_1+$12_1>>2];$0_1=$0_1+2|0;$3_1=$3_1+2|0;if(($11_1|0)!=($3_1|0)){continue}break}}if($6_1){$3_1=$0_1+$2_1<<2;$0_1=$0_1+$10_1<<2;HEAP32[$3_1+$1_1>>2]=HEAP32[$0_1+$5_1>>2];HEAP32[$0_1+$1_1>>2]=HEAP32[$5_1+$3_1>>2]}$5_1=0;$1_1=0;if($8_1-1>>>0>=3){$3_1=$8_1&-4;$0_1=0;while(1){HEAP32[($1_1-$8_1<<2)+$4_1>>2]=HEAP32[$4_1>>2];HEAP32[(($1_1|1)-$8_1<<2)+$4_1>>2]=HEAP32[$4_1>>2];HEAP32[(($1_1|2)-$8_1<<2)+$4_1>>2]=HEAP32[$4_1>>2];HEAP32[(($1_1|3)-$8_1<<2)+$4_1>>2]=HEAP32[$4_1>>2];$1_1=$1_1+4|0;$0_1=$0_1+4|0;if(($3_1|0)!=($0_1|0)){continue}break}}$0_1=$8_1&3;if(!$0_1){break label$11}while(1){HEAP32[($1_1-$8_1<<2)+$4_1>>2]=HEAP32[$4_1>>2];$1_1=$1_1+1|0;$5_1=$5_1+1|0;if(($0_1|0)!=($5_1|0)){continue}break}}$14_1=$14_1+88|0;$15_1=$15_1+1|0;if(($16_1|0)!=($15_1|0)){continue}break}}HEAP32[$9_1+76>>2]=0;HEAP32[$9_1+68>>2]=0;HEAP32[$9_1+72>>2]=0;HEAP32[$9_1+56>>2]=0;return}HEAP32[$9_1+4>>2]=181;HEAP32[$9_1+48>>2]=HEAP32[$9_1+52>>2];return;case 2:HEAP32[$9_1+4>>2]=182;return;default:break label$1}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=3;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}function $24($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=Math_fround(0),$6_1=0,$7_1=Math_fround(0),$8_1=0,$9_1=Math_fround(0),$10_1=0,$11_1=0,$12_1=Math_fround(0);$8_1=HEAP32[$0_1+24>>2];$10_1=HEAP32[$0_1+4>>2];$4_1=HEAP32[$0_1+8>>2];$11_1=HEAP32[$0_1+12>>2];label$1:{label$2:{label$3:{label$4:{label$5:{label$6:{label$7:{label$8:{label$9:{label$10:{label$11:{label$12:{if(Math_fround(Math_abs($1_1))>>0>=$4_1>>>0){break label$11}$0_1=$3_1+1|0;if($0_1>>>0>=$4_1>>>0){break label$10}if(($6_1|0)<0|$6_1>>>0>=$10_1>>>0){break label$9}$4_1=$6_1+1|0;if($4_1>>>0>=$10_1>>>0){break label$8}$12_1=Math_fround(Math_fround($4_1|0)-$1_1);$7_1=Math_fround(Math_fround($0_1|0)-$2_1);$9_1=Math_fround($12_1*$7_1);if(!($9_1>=Math_fround(0))|!(+$9_1<=1.0001)){break label$7}$5_1=Math_fround($1_1-Math_fround($6_1|0));$7_1=Math_fround($5_1*$7_1);if(!($7_1>=Math_fround(0))|!(+$7_1<=1.0001)){break label$6}$1_1=Math_fround($2_1-Math_fround($3_1|0));$2_1=Math_fround($12_1*$1_1);if(!($2_1>=Math_fround(0))|!(+$2_1<=1.0001)){break label$5}$1_1=Math_fround($5_1*$1_1);if(!($1_1>=Math_fround(0))|!(+$1_1<=1.0001)){break label$4}if(!(+Math_fround($1_1+Math_fround($2_1+Math_fround($9_1+$7_1)))<=1.0001)){break label$3}$8_1=Math_imul($3_1,$11_1)+$8_1|0;$0_1=$8_1+$11_1|0;$3_1=$4_1<<2;$1_1=Math_fround($1_1*HEAPF32[$0_1+$3_1>>2]);$4_1=$0_1;$0_1=$6_1<<2;$1_1=Math_fround($1_1+Math_fround(Math_fround($2_1*HEAPF32[$4_1+$0_1>>2])+Math_fround(Math_fround($9_1*HEAPF32[$0_1+$8_1>>2])+Math_fround($7_1*HEAPF32[$3_1+$8_1>>2]))));break label$1}$3($0($0($2($0($0($0(71248,25732),25784),3305),69),3802),25918));break label$2}$3($0($0($2($0($0($0(71248,25948),25784),3305),70),3802),25918));break label$2}$3($0($0($2($0($0($0(71248,26e3),25784),3305),79),3802),26046));break label$2}$3($0($0($2($0($0($0(71248,26063),25784),3305),80),3802),26123));break label$2}$3($0($0($2($0($0($0(71248,26147),25784),3305),81),3802),26192));break label$2}$3($0($0($2($0($0($0(71248,26209),25784),3305),82),3802),26268));break label$2}$3($0($0($2($0($0($0(71248,26292),25784),3305),94),3802),26339));break label$2}$3($0($0($2($0($0($0(71248,26352),25784),3305),95),3802),26339));break label$2}$3($0($0($2($0($0($0(71248,26399),25784),3305),96),3802),26339));break label$2}$3($0($0($2($0($0($0(71248,26446),25784),3305),97),3802),26339));break label$2}$3($0($0($2($0($0($0(71248,26493),25784),3305),98),3802),26339))}fimport$0();abort()}return $1_1}function $1029($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0;$17_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$10_1=global$0-128|0;$0_1=$10_1;$11_1=4;while(1){label$2:{label$3:{$5_1=HEAPU16[$2_1+32>>1];$6_1=HEAP16[$2_1+16>>1];if(($5_1|$6_1)&65535){break label$3}$5_1=0;if(HEAPU16[$2_1+48>>1]|HEAPU16[$2_1+64>>1]|(HEAPU16[$2_1+80>>1]|HEAPU16[$2_1+96>>1])){break label$3}if(HEAPU16[$2_1+112>>1]){break label$3}$5_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<2;HEAP32[$0_1+96>>2]=$5_1;HEAP32[$0_1+80>>2]=$5_1;HEAP32[$0_1+64>>2]=$5_1;HEAP32[$0_1+48>>2]=$5_1;HEAP32[$0_1+32>>2]=$5_1;HEAP32[$0_1+16>>2]=$5_1;HEAP32[$0_1>>2]=$5_1;$7_1=28;break label$2}$12_1=Math_imul(HEAP32[$1_1+192>>2],HEAP16[$2_1+96>>1]);$8_1=Math_imul(HEAP32[$1_1+64>>2],$5_1<<16>>16);$5_1=Math_imul($12_1+$8_1|0,4433);$18_1=$5_1+Math_imul($8_1,6270)|0;$13_1=Math_imul(HEAP16[$2_1+64>>1],HEAP32[$1_1+128>>2])<<13;$14_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$19_1=$13_1+$14_1|0;$15_1=$18_1+$19_1|0;$6_1=Math_imul($6_1,HEAP32[$1_1+32>>2]);$8_1=Math_imul(HEAP32[$1_1+224>>2],HEAP16[$2_1+112>>1]);$20_1=Math_imul($6_1+$8_1|0,-7373);$23_1=$20_1+Math_imul($6_1,12299)|0;$9_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$21_1=$9_1+$8_1|0;$7_1=$6_1;$6_1=Math_imul(HEAP32[$1_1+160>>2],HEAP16[$2_1+80>>1]);$16_1=$7_1+$6_1|0;$22_1=Math_imul($21_1+$16_1|0,9633);$16_1=$22_1+Math_imul($16_1,-3196)|0;$7_1=$23_1+$16_1|0;HEAP32[$0_1+112>>2]=$15_1-$7_1>>11;HEAP32[$0_1>>2]=$15_1+$7_1>>11;$5_1=$5_1+Math_imul($12_1,-15137)|0;$12_1=$14_1-$13_1|0;$13_1=$5_1+$12_1|0;$14_1=Math_imul($21_1,-16069)+$22_1|0;$7_1=Math_imul($9_1,25172);$9_1=Math_imul($6_1+$9_1|0,-20995);$15_1=$14_1+($7_1+$9_1|0)|0;HEAP32[$0_1+96>>2]=$13_1-$15_1>>11;HEAP32[$0_1+16>>2]=$13_1+$15_1>>11;$5_1=$12_1-$5_1|0;$6_1=$16_1+($9_1+Math_imul($6_1,16819)|0)|0;HEAP32[$0_1+80>>2]=$5_1-$6_1>>11;HEAP32[$0_1+32>>2]=$5_1+$6_1>>11;$5_1=$14_1+(Math_imul($8_1,2446)+$20_1|0)|0;$6_1=$19_1-$18_1|0;HEAP32[$0_1+48>>2]=$5_1+$6_1>>11;$5_1=$6_1-$5_1>>11;$7_1=16}HEAP32[($7_1<<2)+$0_1>>2]=$5_1;$2_1=$2_1+2|0;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$5_1=$11_1>>>0>1;$11_1=$11_1-1|0;if($5_1){continue}break}$0_1=$17_1-384|0;$2_1=$10_1;$11_1=0;while(1){$5_1=HEAP32[$2_1+12>>2];$6_1=HEAP32[$2_1+4>>2];$10_1=Math_imul($5_1+$6_1|0,4433);$1_1=HEAP32[($11_1<<2)+$3_1>>2]+$4_1|0;$6_1=$10_1+Math_imul($6_1,6270)|0;$8_1=HEAP32[$2_1>>2]+16400|0;$9_1=HEAP32[$2_1+8>>2];$17_1=$8_1+$9_1<<13;HEAP8[$1_1|0]=HEAPU8[$0_1+($6_1+$17_1>>>18&1023)|0];HEAP8[$1_1+3|0]=HEAPU8[$0_1+($17_1-$6_1>>>18&1023)|0];$10_1=$10_1+Math_imul($5_1,-15137)|0;$5_1=$8_1-$9_1<<13;HEAP8[$1_1+1|0]=HEAPU8[$0_1+($10_1+$5_1>>>18&1023)|0];HEAP8[$1_1+2|0]=HEAPU8[$0_1+($5_1-$10_1>>>18&1023)|0];$2_1=$2_1+16|0;$11_1=$11_1+1|0;if(($11_1|0)!=8){continue}break}}function $686(){var $0_1=0,$1_1=0;$1_1=global$0-16|0;global$0=$1_1;$310(30616,42);$115(30699,43);$115(36343,44);$115(30183,45);$452(30440,46);$452(30405,47);$452(30480,48);$217(30997,49);$115(29412,50);$0_1=global$0-16|0;global$0=$0_1;fimport$3(33819,2,38300,38192,91,51);global$0=$0_1+16|0;$310(30317,52);$217(28202,53);$310(31400,54);$310(29432,55);$217(31418,56);$217(29287,57);$115(30392,58);$115(30984,59);$115(30464,60);$310(30421,61);$217(30382,62);$217(30451,63);$217(32126,64);$115(32139,65);$115(31930,66);$0_1=global$0-16|0;global$0=$0_1;fimport$3(31073,2,38308,38316,92,67);global$0=$0_1+16|0;$0_1=global$0-16|0;global$0=$0_1;fimport$3(31085,1,38320,38324,93,68);global$0=$0_1+16|0;$685(31482,69);$451(31505,70);$685(31528,71);$451(31550,72);$255(32184,73);$115(32201,74);$255(32297,75);$115(32310,76);$255(32078,77);$115(32102,78);$0_1=global$0-16|0;global$0=$0_1;fimport$3(30673,3,38380,38392,97,79);global$0=$0_1+16|0;$451(30686,80);$255(31441,81);$115(31459,82);$255(32152,83);$115(32168,84);$255(32218,85);$115(32235,86);$20(35260,63756);$20(35289,63764);$20(34172,63760);HEAP32[$1_1+8>>2]=0;$0_1=$1_1+8|0;$20(34988,$0_1);HEAP32[$1_1+8>>2]=1;$20(35005,$0_1);HEAP32[$1_1+8>>2]=0;$20(35141,$0_1);HEAP32[$1_1+8>>2]=0;$20(34480,$0_1);HEAP32[$1_1+8>>2]=1;$20(34455,$0_1);HEAP32[$1_1+8>>2]=1;$20(35163,$0_1);HEAP32[$1_1+8>>2]=100;$20(34714,$0_1);HEAP32[$1_1+8>>2]=0;$20(35021,$0_1);HEAP32[$1_1+8>>2]=1;$20(35047,$0_1);HEAP32[$1_1+8>>2]=0;$20(35188,$0_1);HEAP32[$1_1+8>>2]=0;$20(34272,$0_1);HEAP32[$1_1+8>>2]=1;$20(34299,$0_1);HEAP32[$1_1+8>>2]=2;$20(34383,$0_1);HEAP32[$1_1+8>>2]=3;$20(33908,$0_1);HEAP32[$1_1+8>>2]=4;$20(33946,$0_1);HEAP32[$1_1+8>>2]=0;$20(35073,$0_1);HEAP32[$1_1+8>>2]=0;$20(33831,$0_1);HEAP32[$1_1+8>>2]=1;$20(33855,$0_1);HEAP32[$1_1+8>>2]=2;$20(36316,$0_1);HEAP32[$1_1+8>>2]=2;$20(35107,$0_1);HEAP32[$1_1+8>>2]=5;$20(34060,$0_1);HEAP32[$1_1+8>>2]=0;HEAP32[$1_1+12>>2]=1071644672;fimport$18(34693,63240,+HEAPF64[$0_1>>3]);HEAP32[$1_1+8>>2]=0;$20(34741,$0_1);HEAP32[$1_1+8>>2]=1;$20(34325,$0_1);HEAP32[$1_1+8>>2]=2;$20(34365,$0_1);HEAP32[$1_1+8>>2]=3;$20(34214,$0_1);HEAP32[$1_1+8>>2]=4;$20(34343,$0_1);HEAP32[$1_1+8>>2]=3;$20(36232,$0_1);HEAP32[$1_1+8>>2]=515;$20(36287,$0_1);HEAP32[$1_1+8>>2]=259;$20(36185,$0_1);HEAP32[$1_1+8>>2]=4;$20(36213,$0_1);HEAP32[$1_1+8>>2]=772;$20(36257,$0_1);HEAP32[$1_1+8>>2]=1028;$20(36155,$0_1);HEAP32[$1_1+8>>2]=0;$20(34617,$0_1);HEAP32[$1_1+8>>2]=1;$20(34509,$0_1);HEAP32[$1_1+8>>2]=2;$20(33983,$0_1);HEAP32[$1_1+8>>2]=3;$20(34917,$0_1);HEAP32[$1_1+8>>2]=0;$20(34955,$0_1);HEAP32[$1_1+8>>2]=1;$20(34408,$0_1);HEAP32[$1_1+8>>2]=2;$20(35369,$0_1);HEAP32[$1_1+8>>2]=3;$20(34017,$0_1);HEAP32[$1_1+8>>2]=4;$20(35317,$0_1);HEAP32[$1_1+8>>2]=5;$20(34566,$0_1);HEAP32[$1_1+8>>2]=6;$20(35215,$0_1);HEAP32[$1_1+8>>2]=7;$20(34233,$0_1);HEAP32[$1_1+8>>2]=8;$20(34648,$0_1);HEAP32[$1_1+8>>2]=9;$20(34109,$0_1);global$0=$1_1+16|0}function $1208(){label$1:{label$2:{switch(Atomics.compareExchange(HEAP32,18799,0,1)|0){case 0:global$1=1024;HEAP8[1024]=0;HEAP8[1025]=0;HEAP8[1026]=0;HEAP8[1027]=0;HEAP8[1028]=0;HEAP8[1029]=0;HEAP8[1030]=0;HEAP8[1031]=0;HEAP8[1032]=0;HEAP8[1033]=0;HEAP8[1034]=0;HEAP8[1035]=0;HEAP8[1036]=0;HEAP8[1037]=0;HEAP8[1038]=0;HEAP8[1039]=0;wasm2js_memory_init(0,1040,0,37819);wasm2js_memory_fill(38859,0,78);wasm2js_memory_init(1,38937,0,3);wasm2js_memory_fill(38940,0,85);wasm2js_memory_init(2,39025,0,9911);wasm2js_memory_fill(48936,0,48);wasm2js_memory_init(3,48984,0,323);wasm2js_memory_fill(49307,0,31);wasm2js_memory_init(4,49338,0,120);wasm2js_memory_fill(49458,0,100);wasm2js_memory_init(5,49558,0,156);wasm2js_memory_fill(49714,0,25);wasm2js_memory_init(6,49739,0,33);wasm2js_memory_fill(49772,0,25);wasm2js_memory_init(7,49797,0,33);wasm2js_memory_fill(49830,0,25);wasm2js_memory_init(8,49855,0,42);wasm2js_memory_fill(49897,0,25);wasm2js_memory_init(9,49922,0,14);wasm2js_memory_fill(49936,0,35);wasm2js_memory_init(10,49971,0,33);wasm2js_memory_fill(50004,0,25);wasm2js_memory_init(11,50029,0,51);wasm2js_memory_fill(50080,0,36);wasm2js_memory_init(12,50116,0,1);wasm2js_memory_fill(50117,0,39);wasm2js_memory_init(13,50156,0,8);wasm2js_memory_fill(50164,0,60);wasm2js_memory_init(14,50224,0,2307);wasm2js_memory_fill(52531,0,45);wasm2js_memory_init(15,52576,0,2);wasm2js_memory_fill(52578,0,30);wasm2js_memory_init(16,52608,0,74);wasm2js_memory_fill(52682,0,522);wasm2js_memory_init(17,53204,0,505);wasm2js_memory_fill(53709,0,515);wasm2js_memory_init(18,54224,0,2);wasm2js_memory_fill(54226,0,530);wasm2js_memory_init(19,54756,0,505);wasm2js_memory_fill(55261,0,515);wasm2js_memory_init(20,55776,0,829);wasm2js_memory_fill(56605,0,519);wasm2js_memory_init(21,57124,0,6624);wasm2js_memory_init(22,63752,0,108);wasm2js_memory_fill(63860,0,60);wasm2js_memory_init(23,63920,0,89);wasm2js_memory_fill(64009,0,63);wasm2js_memory_init(24,64072,0,58);wasm2js_memory_fill(64130,0,26);wasm2js_memory_init(25,64156,0,4);wasm2js_memory_fill(64160,0,64);wasm2js_memory_init(26,64224,0,8);wasm2js_memory_fill(67440,0,7756);Atomics.store(HEAP32,18799,2);Atomics.notify(HEAP32,18799,-1);break label$1;case 1:break label$2;default:break label$1}}wasm2js_atomic_wait_i32(75196,1,-1,-1)|0}wasm2js_data_drop(0);wasm2js_data_drop(1);wasm2js_data_drop(2);wasm2js_data_drop(3);wasm2js_data_drop(4);wasm2js_data_drop(5);wasm2js_data_drop(6);wasm2js_data_drop(7);wasm2js_data_drop(8);wasm2js_data_drop(9);wasm2js_data_drop(10);wasm2js_data_drop(11);wasm2js_data_drop(12);wasm2js_data_drop(13);wasm2js_data_drop(14);wasm2js_data_drop(15);wasm2js_data_drop(16);wasm2js_data_drop(17);wasm2js_data_drop(18);wasm2js_data_drop(19);wasm2js_data_drop(20);wasm2js_data_drop(21);wasm2js_data_drop(22);wasm2js_data_drop(23);wasm2js_data_drop(24);wasm2js_data_drop(25);wasm2js_data_drop(26)}function $895($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0;label$1:{if(Atomics.load(HEAPU8,72200)&1){break label$1}if(!$90(72200)){break label$1}label$2:{if(Atomics.load(HEAPU8,72188)&1){break label$2}if(!$90(72188)){break label$2}$2_1=$50(73816);HEAP32[$2_1>>2]=56024;$3_1=global$0-16|0;global$0=$3_1;$1_1=$2_1+8|0;HEAP32[$1_1>>2]=0;HEAP32[$1_1+4>>2]=0;HEAP32[$3_1+12>>2]=0;HEAP8[$209($1_1+8|0)+128|0]=0;if($877($1_1)>>>0<30){$450();abort()}$4_1=$876($45($1_1),30);HEAP32[$1_1>>2]=$4_1;HEAP32[$1_1+4>>2]=$4_1;HEAP32[$4($1_1)>>2]=$4_1+120;$273($1_1,0);$899($1_1,30);global$0=$3_1+16|0;$135($2_1+152|0,35409);$21($1_1);$898($1_1);$393($1_1);HEAP32[$50(73488)>>2]=58612;$51($2_1,73488,$49(72012));HEAP32[$50(73496)>>2]=58644;$51($2_1,73496,$49(72020));$1_1=$50(73504);HEAP8[$1_1+12|0]=0;HEAP32[$1_1+8>>2]=0;HEAP32[$1_1>>2]=56044;HEAP32[$1_1+8>>2]=56096;$51($2_1,73504,$49(72216));HEAP32[$50(73520)>>2]=57560;$51($2_1,73520,$49(72208));HEAP32[$50(73528)>>2]=57708;$51($2_1,73528,$49(72224));$1_1=$50(73536);HEAP32[$1_1>>2]=57128;HEAP32[$1_1+8>>2]=$43();$51($2_1,73536,$49(72232));HEAP32[$50(73552)>>2]=57856;$51($2_1,73552,$49(72240));HEAP32[$50(73560)>>2]=58088;$51($2_1,73560,$49(72256));HEAP32[$50(73568)>>2]=57972;$51($2_1,73568,$49(72248));HEAP32[$50(73576)>>2]=58204;$51($2_1,73576,$49(72264));$1_1=$50(73584);HEAP16[$1_1+8>>1]=11310;HEAP32[$1_1>>2]=57176;$18($1_1+12|0);$51($2_1,73584,$49(72272));$1_1=$50(73608);HEAP32[$1_1+8>>2]=46;HEAP32[$1_1+12>>2]=44;HEAP32[$1_1>>2]=57216;$18($1_1+16|0);$51($2_1,73608,$49(72280));HEAP32[$50(73640)>>2]=58676;$51($2_1,73640,$49(72028));HEAP32[$50(73648)>>2]=58920;$51($2_1,73648,$49(72036));HEAP32[$50(73656)>>2]=59132;$51($2_1,73656,$49(72044));HEAP32[$50(73664)>>2]=59364;$51($2_1,73664,$49(72052));HEAP32[$50(73672)>>2]=60348;$51($2_1,73672,$49(72092));HEAP32[$50(73680)>>2]=60496;$51($2_1,73680,$49(72100));HEAP32[$50(73688)>>2]=60612;$51($2_1,73688,$49(72108));HEAP32[$50(73696)>>2]=60728;$51($2_1,73696,$49(72116));HEAP32[$50(73704)>>2]=60844;$51($2_1,73704,$49(72124));HEAP32[$50(73712)>>2]=61008;$51($2_1,73712,$49(72132));HEAP32[$50(73720)>>2]=61172;$51($2_1,73720,$49(72140));HEAP32[$50(73728)>>2]=61336;$51($2_1,73728,$49(72148));$1_1=$50(73736);HEAP32[$1_1+8>>2]=62592;HEAP32[$1_1>>2]=59564;HEAP32[$1_1+8>>2]=59612;$51($2_1,73736,$49(72060));$1_1=$50(73752);HEAP32[$1_1+8>>2]=62628;HEAP32[$1_1>>2]=59828;HEAP32[$1_1+8>>2]=59876;$51($2_1,73752,$49(72068));$1_1=$50(73768);$873($1_1+8|0);HEAP32[$1_1>>2]=60064;$51($2_1,73768,$49(72076));$1_1=$50(73784);$873($1_1+8|0);HEAP32[$1_1>>2]=60220;$51($2_1,73784,$49(72084));HEAP32[$50(73800)>>2]=61500;$51($2_1,73800,$49(72156));HEAP32[$50(73808)>>2]=61620;$51($2_1,73808,$49(72164));HEAP32[18045]=73816;HEAP32[18046]=72180;$89(72188)}$535(72192,HEAP32[18046]);HEAP32[18049]=72192;$89(72200)}$1_1=$0_1;$0_1=HEAP32[HEAP32[18049]>>2];HEAP32[$1_1>>2]=$0_1;$381($0_1)}function $636($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$3_1=$0_1;if((global$3|0)==67996){$635($3_1);$0_1=1}else{$0_1=0}if($0_1){$0_1=1}else{$4_1=global$0-16|0;global$0=$4_1;$70(68160);label$9:{label$10:{$0_1=$624(67996);if(!$0_1){$0_1=HEAP32[17047];if(($0_1|0)==HEAP32[17048]){$0_1=$0_1?$0_1<<1:1;$1_1=$245(HEAP32[17046],$0_1<<2);if(!$1_1){break label$10}HEAP32[17048]=$0_1;HEAP32[17046]=$1_1}$0_1=0;$2_1=global$0+-64|0;global$0=$2_1;$1_1=$7(52);label$13:{if(!$1_1){break label$13}$5_1=$7(1024);if(!$5_1){$1($1_1);break label$13}HEAP32[$2_1+40>>2]=0;HEAP32[$2_1+44>>2]=0;HEAP32[$2_1+48>>2]=0;HEAP32[$2_1+52>>2]=0;HEAP32[$2_1+60>>2]=0;HEAP32[$2_1+32>>2]=0;HEAP32[$2_1+36>>2]=0;HEAP32[$2_1+28>>2]=67996;HEAP32[$2_1+24>>2]=0;HEAP32[$2_1+20>>2]=$5_1;HEAP32[$2_1+16>>2]=128;HEAP32[$2_1+12>>2]=0;HEAP32[$2_1+8>>2]=0;HEAP32[$1_1>>2]=HEAP32[$2_1+60>>2];$0_1=HEAP32[$2_1+52>>2];HEAP32[$1_1+20>>2]=HEAP32[$2_1+48>>2];HEAP32[$1_1+24>>2]=$0_1;$0_1=HEAP32[$2_1+44>>2];HEAP32[$1_1+12>>2]=HEAP32[$2_1+40>>2];HEAP32[$1_1+16>>2]=$0_1;$0_1=HEAP32[$2_1+36>>2];HEAP32[$1_1+4>>2]=HEAP32[$2_1+32>>2];HEAP32[$1_1+8>>2]=$0_1;HEAP32[$1_1+28>>2]=HEAP32[$2_1+28>>2];HEAP32[$1_1+32>>2]=HEAP32[$2_1+24>>2];HEAP32[$1_1+36>>2]=HEAP32[$2_1+20>>2];HEAP32[$1_1+40>>2]=HEAP32[$2_1+16>>2];HEAP32[$1_1+44>>2]=HEAP32[$2_1+12>>2];HEAP32[$1_1+48>>2]=HEAP32[$2_1+8>>2];$0_1=$1_1}global$0=$2_1- -64|0;if(!$0_1){break label$10}$1_1=HEAP32[17047];HEAP32[17047]=$1_1+1;HEAP32[HEAP32[17046]+($1_1<<2)>>2]=$0_1}break label$9}$0_1=0}$77(68160);$1_1=$0_1;label$15:{if(!$1_1){break label$15}$5_1=$1_1+4|0;$70($5_1);HEAP32[$4_1+12>>2]=$3_1;HEAP32[$4_1+8>>2]=237;$0_1=HEAP32[$4_1+12>>2];HEAP32[$4_1>>2]=HEAP32[$4_1+8>>2];HEAP32[$4_1+4>>2]=$0_1;label$16:{label$17:{if(HEAP32[$1_1+44>>2]!=((HEAP32[$1_1+48>>2]+1|0)%HEAP32[$1_1+40>>2]|0)){break label$17}$0_1=HEAP32[$1_1+40>>2];$3_1=$7($0_1<<4);if($3_1){$7_1=$0_1<<1;$2_1=HEAP32[$1_1+48>>2];$0_1=HEAP32[$1_1+44>>2];label$19:{if(($2_1|0)>=($0_1|0)){$6_1=HEAP32[$1_1+36>>2]+($0_1<<3)|0;$0_1=$2_1-$0_1|0;$62($3_1,$6_1,$0_1<<3);break label$19}$8_1=HEAP32[$1_1+36>>2]+($0_1<<3)|0;$0_1=HEAP32[$1_1+40>>2]-$0_1|0;$6_1=$0_1<<3;$62($3_1,$8_1,$6_1);$62($3_1+$6_1|0,HEAP32[$1_1+36>>2],$2_1<<3);$0_1=$0_1+$2_1|0}$1(HEAP32[$1_1+36>>2]);HEAP32[$1_1+48>>2]=$0_1;HEAP32[$1_1+44>>2]=0;HEAP32[$1_1+40>>2]=$7_1;HEAP32[$1_1+36>>2]=$3_1;$0_1=1}else{$0_1=0}if($0_1){break label$17}$0_1=0;break label$16}$0_1=HEAP32[$4_1+4>>2];$3_1=HEAP32[$1_1+36>>2]+(HEAP32[$1_1+48>>2]<<3)|0;HEAP32[$3_1>>2]=HEAP32[$4_1>>2];HEAP32[$3_1+4>>2]=$0_1;HEAP32[$1_1+48>>2]=(HEAP32[$1_1+48>>2]+1|0)%HEAP32[$1_1+40>>2];$0_1=1}$77($5_1);if(!$0_1){break label$15}if((Atomics.exchange(HEAP32,$1_1>>2,2)|0)==2){break label$15}fimport$35(67996,global$3|0,67996,$1_1|0)|0}global$0=$4_1+16|0;$0_1=0}}function $1030($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0;$19_1=global$0-208|0;global$0=$19_1;$13_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$0_1=$19_1;while(1){$7_1=HEAP32[$1_1+192>>2];$11_1=HEAP16[$2_1+96>>1];$5_1=HEAP32[$1_1+64>>2];$12_1=HEAP16[$2_1+32>>1];$9_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$6_1=Math_imul(HEAP32[$1_1+128>>2],HEAP16[$2_1+64>>1]);$14_1=$9_1+Math_imul($6_1,-11586)>>11;$8_1=Math_imul(HEAP32[$1_1+32>>2],HEAP16[$2_1+16>>1]);$15_1=Math_imul(HEAP32[$1_1+160>>2],HEAP16[$2_1+80>>1]);$16_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$17_1=Math_imul(HEAP32[$1_1+224>>2],HEAP16[$2_1+112>>1]);$10_1=$16_1-$17_1|0;$18_1=$8_1-($15_1+$10_1|0)<<2;HEAP32[$0_1+140>>2]=$14_1-$18_1;HEAP32[$0_1+40>>2]=$14_1+$18_1;$11_1=Math_imul($7_1,$11_1);$5_1=Math_imul($5_1,$12_1);$7_1=Math_imul($11_1+$5_1|0,6810);$5_1=$7_1+Math_imul($5_1,4209)|0;$12_1=$9_1+Math_imul($6_1,9373)|0;$14_1=$5_1+$12_1|0;$18_1=Math_imul($10_1,2531);$15_1=$15_1<<13;$20_1=$18_1+$15_1|0;$16_1=$16_1+$17_1|0;$17_1=Math_imul($16_1,7791);$21_1=$20_1+($17_1+Math_imul($8_1,11443)|0)|0;HEAP32[$0_1+180>>2]=$14_1-$21_1>>11;HEAP32[$0_1>>2]=$14_1+$21_1>>11;$5_1=$12_1-$5_1|0;$12_1=(Math_imul($8_1,1812)-$17_1|0)+$20_1|0;HEAP32[$0_1+100>>2]=$5_1-$12_1>>11;HEAP32[$0_1+80>>2]=$5_1+$12_1>>11;$6_1=$9_1+Math_imul($6_1,-3580)|0;$9_1=$7_1+Math_imul($11_1,-17828)|0;$7_1=$6_1-$9_1|0;$10_1=($15_1-$18_1|0)-($10_1<<12)|0;$11_1=Math_imul($16_1,4815);$5_1=$10_1+(Math_imul($8_1,5260)-$11_1|0)|0;HEAP32[$0_1+120>>2]=$7_1-$5_1>>11;HEAP32[$0_1+60>>2]=$5_1+$7_1>>11;$6_1=$6_1+$9_1|0;$8_1=Math_imul($8_1,10323)-($10_1+$11_1|0)|0;HEAP32[$0_1+160>>2]=$6_1-$8_1>>11;HEAP32[$0_1+20>>2]=$6_1+$8_1>>11;$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+2|0;$22_1=$22_1+1|0;if(($22_1|0)!=5){continue}break}$1_1=$13_1-384|0;$0_1=$19_1;$8_1=0;while(1){$9_1=HEAP32[$0_1+12>>2];$10_1=HEAP32[$0_1+4>>2];$6_1=Math_imul($9_1+$10_1|0,6810);$2_1=HEAP32[($8_1<<2)+$3_1>>2]+$4_1|0;$10_1=$6_1+Math_imul($10_1,4209)|0;$5_1=(HEAP32[$0_1>>2]<<13)+134348800|0;$7_1=HEAP32[$0_1+8>>2];$13_1=HEAP32[$0_1+16>>2];$11_1=$7_1-$13_1|0;$12_1=$5_1+Math_imul($11_1,2896)|0;$7_1=Math_imul($7_1+$13_1|0,6476);$13_1=$12_1+$7_1|0;HEAP8[$2_1|0]=HEAPU8[$1_1+($10_1+$13_1>>>18&1023)|0];HEAP8[$2_1+4|0]=HEAPU8[$1_1+($13_1-$10_1>>>18&1023)|0];$6_1=$6_1+Math_imul($9_1,-17828)|0;$9_1=$12_1-$7_1|0;HEAP8[$2_1+1|0]=HEAPU8[$1_1+($6_1+$9_1>>>18&1023)|0];HEAP8[$2_1+3|0]=HEAPU8[$1_1+($9_1-$6_1>>>18&1023)|0];HEAP8[$2_1+2|0]=HEAPU8[$1_1+($5_1+Math_imul($11_1,268423872)>>>18&1023)|0];$0_1=$0_1+20|0;$8_1=$8_1+1|0;if(($8_1|0)!=10){continue}break}global$0=$19_1+208|0}function $1038($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0;$18_1=global$0-160|0;global$0=$18_1;$13_1=HEAP32[$0_1+336>>2];$0_1=HEAP32[$1_1+84>>2];$1_1=$18_1;while(1){$5_1=HEAP32[$0_1+96>>2];$9_1=HEAP16[$2_1+48>>1];$6_1=HEAP32[$0_1+32>>2];$7_1=HEAP16[$2_1+16>>1];$11_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$0_1>>2])<<13|1024;$10_1=Math_imul(HEAP32[$0_1+64>>2],HEAP16[$2_1+32>>1]);$8_1=Math_imul(HEAP32[$0_1+128>>2],HEAP16[$2_1+64>>1]);$12_1=$10_1-$8_1|0;HEAP32[$1_1+64>>2]=$11_1+Math_imul($12_1,-11584)>>11;$9_1=Math_imul($5_1,$9_1);$6_1=Math_imul($6_1,$7_1);$5_1=Math_imul($9_1+$6_1|0,6810);$7_1=$11_1+Math_imul($12_1,2896)|0;$10_1=Math_imul($8_1+$10_1|0,6476);$8_1=$7_1+$10_1|0;$6_1=$5_1+Math_imul($6_1,4209)|0;HEAP32[$1_1+128>>2]=$8_1-$6_1>>11;HEAP32[$1_1>>2]=$6_1+$8_1>>11;$6_1=$7_1-$10_1|0;$5_1=$5_1+Math_imul($9_1,-17828)|0;HEAP32[$1_1+96>>2]=$6_1-$5_1>>11;HEAP32[$1_1+32>>2]=$5_1+$6_1>>11;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$2_1=$2_1+2|0;$14_1=$14_1+1|0;if(($14_1|0)!=8){continue}break}$1_1=$13_1-384|0;$0_1=$18_1;$13_1=0;while(1){$5_1=HEAP32[$0_1+28>>2];$8_1=HEAP32[$0_1+12>>2];$12_1=$5_1+$8_1|0;$9_1=Math_imul($12_1,7791);$11_1=HEAP32[$0_1+24>>2];$7_1=HEAP32[$0_1+8>>2];$6_1=Math_imul($11_1+$7_1|0,6810);$2_1=HEAP32[($13_1<<2)+$3_1>>2]+$4_1|0;$14_1=$6_1+Math_imul($7_1,4209)|0;$10_1=(HEAP32[$0_1>>2]<<13)+134348800|0;$7_1=HEAP32[$0_1+16>>2];$19_1=$10_1+Math_imul($7_1,9373)|0;$15_1=$14_1+$19_1|0;$8_1=$8_1-$5_1|0;$16_1=Math_imul($8_1,2531);$20_1=HEAP32[$0_1+20>>2];$17_1=$20_1<<13;$21_1=$16_1+$17_1|0;$5_1=HEAP32[$0_1+4>>2];$22_1=$21_1+($9_1+Math_imul($5_1,11443)|0)|0;HEAP8[$2_1|0]=HEAPU8[$1_1+($15_1+$22_1>>>18&1023)|0];HEAP8[$2_1+9|0]=HEAPU8[$1_1+($15_1-$22_1>>>18&1023)|0];$12_1=Math_imul($12_1,4815);$15_1=($17_1-$16_1|0)-($8_1<<12)|0;$16_1=Math_imul($5_1,10323)-($12_1+$15_1|0)|0;$6_1=$6_1+Math_imul($11_1,-17828)|0;$11_1=$10_1+Math_imul($7_1,-3580)|0;$17_1=$6_1+$11_1|0;HEAP8[$2_1+1|0]=HEAPU8[$1_1+($16_1+$17_1>>>18&1023)|0];HEAP8[$2_1+8|0]=HEAPU8[$1_1+($17_1-$16_1>>>18&1023)|0];$8_1=$5_1-($8_1+$20_1|0)<<13;$7_1=$10_1+Math_imul($7_1,-11586)|0;HEAP8[$2_1+2|0]=HEAPU8[$1_1+($8_1+$7_1>>>18&1023)|0];HEAP8[$2_1+7|0]=HEAPU8[$1_1+($7_1-$8_1>>>18&1023)|0];$7_1=$15_1+(Math_imul($5_1,5260)-$12_1|0)|0;$6_1=$11_1-$6_1|0;HEAP8[$2_1+3|0]=HEAPU8[$1_1+($7_1+$6_1>>>18&1023)|0];HEAP8[$2_1+6|0]=HEAPU8[$1_1+($6_1-$7_1>>>18&1023)|0];$5_1=(Math_imul($5_1,1812)-$9_1|0)+$21_1|0;$9_1=$19_1-$14_1|0;HEAP8[$2_1+4|0]=HEAPU8[$1_1+($5_1+$9_1>>>18&1023)|0];HEAP8[$2_1+5|0]=HEAPU8[$1_1+($9_1-$5_1>>>18&1023)|0];$0_1=$0_1+32|0;$13_1=$13_1+1|0;if(($13_1|0)!=5){continue}break}global$0=$18_1+160|0} +function $1053($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$11_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$1_1+84>>2];$6_1=Math_imul(HEAP32[$1_1+64>>2],HEAP16[$2_1+32>>1]);$5_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$8_1=Math_imul(HEAP32[$1_1+32>>2],HEAP16[$2_1+16>>1]);$7_1=Math_imul($5_1+$8_1|0,4433)+1024|0;$0_1=global$0+-64|0;$9_1=Math_imul(HEAP32[$1_1>>2],HEAP16[$2_1>>1]);$10_1=$9_1+$6_1<<2;$8_1=$7_1+Math_imul($8_1,6270)>>11;HEAP32[$0_1+48>>2]=$10_1-$8_1;HEAP32[$0_1>>2]=$8_1+$10_1;$6_1=$9_1-$6_1<<2;$7_1=$7_1+Math_imul($5_1,-15137)>>11;HEAP32[$0_1+32>>2]=$6_1-$7_1;HEAP32[$0_1+16>>2]=$6_1+$7_1;$7_1=Math_imul(HEAP32[$1_1+100>>2],HEAP16[$2_1+50>>1]);$5_1=Math_imul(HEAP32[$1_1+36>>2],HEAP16[$2_1+18>>1]);$6_1=Math_imul($7_1+$5_1|0,4433)+1024|0;$8_1=Math_imul(HEAP32[$1_1+68>>2],HEAP16[$2_1+34>>1]);$9_1=Math_imul(HEAP32[$1_1+4>>2],HEAP16[$2_1+2>>1]);$10_1=$8_1+$9_1<<2;$5_1=$6_1+Math_imul($5_1,6270)>>11;HEAP32[$0_1+52>>2]=$10_1-$5_1;HEAP32[$0_1+4>>2]=$5_1+$10_1;$5_1=$9_1-$8_1<<2;$6_1=$6_1+Math_imul($7_1,-15137)>>11;HEAP32[$0_1+36>>2]=$5_1-$6_1;HEAP32[$0_1+20>>2]=$6_1+$5_1;$7_1=Math_imul(HEAP32[$1_1+104>>2],HEAP16[$2_1+52>>1]);$5_1=Math_imul(HEAP32[$1_1+40>>2],HEAP16[$2_1+20>>1]);$6_1=Math_imul($7_1+$5_1|0,4433)+1024|0;$8_1=Math_imul(HEAP32[$1_1+72>>2],HEAP16[$2_1+36>>1]);$9_1=Math_imul(HEAP32[$1_1+8>>2],HEAP16[$2_1+4>>1]);$10_1=$8_1+$9_1<<2;$5_1=$6_1+Math_imul($5_1,6270)>>11;HEAP32[$0_1+56>>2]=$10_1-$5_1;HEAP32[$0_1+8>>2]=$5_1+$10_1;$5_1=$9_1-$8_1<<2;$6_1=$6_1+Math_imul($7_1,-15137)>>11;HEAP32[$0_1+40>>2]=$5_1-$6_1;HEAP32[$0_1+24>>2]=$6_1+$5_1;$7_1=Math_imul(HEAP32[$1_1+108>>2],HEAP16[$2_1+54>>1]);$5_1=Math_imul(HEAP32[$1_1+44>>2],HEAP16[$2_1+22>>1]);$6_1=Math_imul($7_1+$5_1|0,4433)+1024|0;$8_1=Math_imul(HEAP32[$1_1+76>>2],HEAP16[$2_1+38>>1]);$1_1=Math_imul(HEAP32[$1_1+12>>2],HEAP16[$2_1+6>>1]);$2_1=$8_1+$1_1<<2;$5_1=$6_1+Math_imul($5_1,6270)>>11;HEAP32[$0_1+60>>2]=$2_1-$5_1;HEAP32[$0_1+12>>2]=$2_1+$5_1;$1_1=$1_1-$8_1<<2;$2_1=$6_1+Math_imul($7_1,-15137)>>11;HEAP32[$0_1+44>>2]=$1_1-$2_1;HEAP32[$0_1+28>>2]=$1_1+$2_1;$6_1=$11_1-384|0;$2_1=$0_1;$1_1=0;while(1){$11_1=HEAP32[$2_1+12>>2];$5_1=HEAP32[$2_1+4>>2];$7_1=Math_imul($11_1+$5_1|0,4433);$0_1=HEAP32[($1_1<<2)+$3_1>>2]+$4_1|0;$5_1=$7_1+Math_imul($5_1,6270)|0;$8_1=HEAP32[$2_1>>2]+16400|0;$9_1=HEAP32[$2_1+8>>2];$10_1=$8_1+$9_1<<13;HEAP8[$0_1|0]=HEAPU8[$6_1+($5_1+$10_1>>>18&1023)|0];HEAP8[$0_1+3|0]=HEAPU8[$6_1+($10_1-$5_1>>>18&1023)|0];$7_1=$7_1+Math_imul($11_1,-15137)|0;$11_1=$8_1-$9_1<<13;HEAP8[$0_1+1|0]=HEAPU8[$6_1+($7_1+$11_1>>>18&1023)|0];HEAP8[$0_1+2|0]=HEAPU8[$6_1+($11_1-$7_1>>>18&1023)|0];$2_1=$2_1+16|0;$1_1=$1_1+1|0;if(($1_1|0)!=4){continue}break}}function $504($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$2_1=$120($0_1);if($2_1>>>0<$1_1>>>0){$7_1=global$0-32|0;global$0=$7_1;$6_1=$1_1-$2_1|0;label$2:{if($6_1>>>0<=HEAP32[$4($0_1)>>2]-HEAP32[$0_1+4>>2]>>5>>>0){$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1>>2]=$0_1;$2_1=HEAP32[$0_1+4>>2];HEAP32[$1_1+4>>2]=$2_1;HEAP32[$1_1+8>>2]=$2_1+($6_1<<5);$2_1=HEAP32[$1_1+4>>2];$3_1=HEAP32[$1_1+8>>2];while(1){if(($2_1|0)==($3_1|0)){$72($1_1);global$0=$1_1+16|0}else{$4($0_1);$814($2_1);$2_1=$2_1+32|0;HEAP32[$1_1+4>>2]=$2_1;continue}break}break label$2}$8_1=$4($0_1);$3_1=$7_1+8|0;$5_1=$120($0_1)+$6_1|0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$5_1;$4_1=global$0-16|0;global$0=$4_1;$4($0_1);HEAP32[$4_1+12>>2]=134217727;HEAP32[$4_1+8>>2]=2147483647;$1_1=HEAP32[$280($4_1+12|0,$4_1+8|0)>>2];global$0=$4_1+16|0;label$7:{if($1_1>>>0>=$5_1>>>0){$4_1=$229($0_1);if($4_1>>>0<$1_1>>>1>>>0){HEAP32[$2_1+8>>2]=$4_1<<1;$1_1=HEAP32[$67($2_1+8|0,$2_1+12|0)>>2]}global$0=$2_1+16|0;$2_1=$1_1;break label$7}$230();abort()}$5_1=$120($0_1);$1_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=0;$182($3_1+12|0,$8_1);if($2_1){if($2_1>>>0>134217727){$233();abort()}$1_1=$48($2_1<<5)}HEAP32[$3_1>>2]=$1_1;$5_1=($5_1<<5)+$1_1|0;HEAP32[$3_1+8>>2]=$5_1;HEAP32[$3_1+4>>2]=$5_1;HEAP32[$13($3_1)>>2]=($2_1<<5)+$1_1;global$0=$4_1+16|0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1>>2]=HEAP32[$3_1+8>>2];$1_1=HEAP32[$3_1+8>>2];HEAP32[$2_1+8>>2]=$3_1+8;HEAP32[$2_1+4>>2]=$1_1+($6_1<<5);$1_1=HEAP32[$2_1>>2];while(1){if(HEAP32[$2_1+4>>2]!=($1_1|0)){$814(HEAP32[$2_1>>2]);$1_1=HEAP32[$2_1>>2]+32|0;HEAP32[$2_1>>2]=$1_1;continue}break}$143($2_1);global$0=$2_1+16|0;$818($0_1);$4($0_1);$6_1=HEAP32[$0_1>>2];$1_1=HEAP32[$0_1+4>>2];$4_1=$3_1+4|0;while(1){if(($1_1|0)!=($6_1|0)){$2_1=HEAP32[$4_1>>2]-32|0;HEAP32[$2_1>>2]=0;HEAP32[$2_1+4>>2]=0;HEAP32[$2_1+16>>2]=0;HEAP32[$2_1+20>>2]=0;HEAP32[$2_1+8>>2]=0;HEAP32[$2_1+12>>2]=0;$5_1=$2_1+24|0;$268($5_1);$1_1=$1_1-32|0;HEAP32[$2_1>>2]=HEAP32[$1_1>>2];HEAP32[$2_1+4>>2]=HEAP32[$1_1+4>>2];HEAP32[$2_1+8>>2]=HEAP32[$1_1+8>>2];HEAP32[$2_1+12>>2]=HEAP32[$1_1+12>>2];HEAP32[$2_1+16>>2]=HEAP32[$1_1+16>>2];HEAP32[$2_1+20>>2]=HEAP32[$1_1+20>>2];$773($5_1,$1_1+24|0);HEAP32[$4_1>>2]=HEAP32[$4_1>>2]-32;continue}break}$28($0_1,$4_1);$28($0_1+4|0,$3_1+8|0);$28($4($0_1),$13($3_1));HEAP32[$3_1>>2]=HEAP32[$3_1+4>>2];$120($0_1);$229($0_1);$229($0_1);$0_1=HEAP32[$3_1+4>>2];while(1){if(($0_1|0)!=HEAP32[$3_1+8>>2]){$1_1=HEAP32[$3_1+8>>2]-32|0;HEAP32[$3_1+8>>2]=$1_1;$375($1_1);continue}break}if(HEAP32[$3_1>>2]){$0_1=HEAP32[$3_1>>2];$13($3_1);$1($0_1)}}global$0=$7_1+32|0;return}if($1_1>>>0<$2_1>>>0){$1_1=HEAP32[$0_1>>2]+($1_1<<5)|0;$120($0_1);$817($0_1,$1_1);$229($0_1);$120($0_1)}}function $1095($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0;$3_1=global$0-48|0;global$0=$3_1;$11_1=HEAP32[$0_1+424>>2];$4_1=HEAP32[$0_1+468>>2];label$1:{label$2:{if(HEAP32[$4_1+44>>2]|!HEAP32[$0_1+280>>2]){break label$2}$5_1=HEAP32[$0_1+464>>2];HEAP32[$5_1+24>>2]=HEAP32[$5_1+24>>2]+(HEAP32[$4_1+16>>2]/8|0);HEAP32[$4_1+16>>2]=0;$6_1=0;if(!(FUNCTION_TABLE[HEAP32[$5_1+8>>2]]($0_1)|0)){break label$1}if(HEAP32[$0_1+340>>2]>0){$5_1=0;while(1){HEAP32[(($5_1<<2)+$4_1|0)+24>>2]=0;$5_1=$5_1+1|0;if(($5_1|0)>2]){continue}break}}HEAP32[$4_1+20>>2]=0;HEAP32[$4_1+44>>2]=HEAP32[$0_1+280>>2];if(HEAP32[$0_1+440>>2]){break label$2}HEAP32[$4_1+40>>2]=0}if(!HEAP32[$4_1+40>>2]){HEAP32[$3_1+40>>2]=$0_1;$2_1=HEAP32[$0_1+24>>2];$9_1=HEAP32[$2_1>>2];HEAP32[$3_1+24>>2]=$9_1;$6_1=HEAP32[$2_1+4>>2];HEAP32[$3_1+28>>2]=$6_1;$5_1=HEAP32[$4_1+16>>2];$8_1=HEAP32[$4_1+12>>2];HEAP32[$3_1+16>>2]=HEAP32[$4_1+36>>2];$7_1=HEAP32[$4_1+32>>2];HEAP32[$3_1+8>>2]=HEAP32[$4_1+28>>2];HEAP32[$3_1+12>>2]=$7_1;$7_1=HEAP32[$4_1+24>>2];HEAP32[$3_1>>2]=HEAP32[$4_1+20>>2];HEAP32[$3_1+4>>2]=$7_1;if(HEAP32[$0_1+368>>2]>0){$9_1=0;while(1){$2_1=$9_1<<2;$12_1=HEAP32[$2_1+$1_1>>2];$10_1=HEAP32[($0_1+$2_1|0)+372>>2]<<2;$2_1=HEAP32[((HEAP32[HEAP32[($10_1+$0_1|0)+344>>2]+20>>2]<<2)+$4_1|0)+48>>2];label$8:{label$9:{label$10:{if(($5_1|0)<=7){$6_1=0;if(!$56($3_1+24|0,$8_1,$5_1,0)){break label$1}$8_1=HEAP32[$3_1+32>>2];$5_1=HEAP32[$3_1+36>>2];$7_1=1;if(($5_1|0)<8){break label$10}}$6_1=$8_1>>$5_1-8&255;$7_1=HEAP32[($2_1+($6_1<<2)|0)+144>>2];if($7_1){break label$9}$7_1=9}$2_1=$178($3_1+24|0,$8_1,$5_1,$2_1,$7_1);$6_1=0;if(($2_1|0)<0){break label$1}$8_1=HEAP32[$3_1+32>>2];$5_1=HEAP32[$3_1+36>>2];break label$8}$2_1=HEAPU8[($2_1+$6_1|0)+1168|0];$5_1=$5_1-$7_1|0}if($2_1){if(($2_1|0)>($5_1|0)){$6_1=0;if(!$56($3_1+24|0,$8_1,$5_1,$2_1)){break label$1}$8_1=HEAP32[$3_1+32>>2];$5_1=HEAP32[$3_1+36>>2]}$5_1=$5_1-$2_1|0;$2_1=$2_1<<2;$6_1=HEAP32[$2_1+40080>>2];$7_1=$8_1>>$5_1&$6_1;$2_1=$7_1-(($7_1|0)>HEAP32[$2_1+40076>>2]?0:$6_1)|0}else{$2_1=0}$6_1=$3_1+$10_1|0;$2_1=$2_1+HEAP32[$6_1+4>>2]|0;HEAP32[$6_1+4>>2]=$2_1;HEAP16[$12_1>>1]=$2_1<<$11_1;$9_1=$9_1+1|0;if(($9_1|0)>2]){continue}break}$6_1=HEAP32[$3_1+28>>2];$9_1=HEAP32[$3_1+24>>2];$2_1=HEAP32[$0_1+24>>2]}HEAP32[$2_1+4>>2]=$6_1;HEAP32[$2_1>>2]=$9_1;HEAP32[$4_1+16>>2]=$5_1;HEAP32[$4_1+12>>2]=$8_1;HEAP32[$4_1+36>>2]=HEAP32[$3_1+16>>2];$0_1=HEAP32[$3_1+12>>2];HEAP32[$4_1+28>>2]=HEAP32[$3_1+8>>2];HEAP32[$4_1+32>>2]=$0_1;$0_1=HEAP32[$3_1+4>>2];HEAP32[$4_1+20>>2]=HEAP32[$3_1>>2];HEAP32[$4_1+24>>2]=$0_1}HEAP32[$4_1+44>>2]=HEAP32[$4_1+44>>2]-1;$6_1=1}global$0=$3_1+48|0;return $6_1|0}function $372($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$7_1=global$0-1312|0;global$0=$7_1;if($2_1>>>0>=4){$6_1=HEAP32[$0_1>>2];HEAP32[$6_1+24>>2]=$2_1;HEAP32[$6_1+20>>2]=52;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$9_1=HEAP32[(($1_1?180:196)+$0_1|0)+($2_1<<2)>>2];if(!$9_1){$6_1=HEAP32[$0_1>>2];HEAP32[$6_1+24>>2]=$2_1;HEAP32[$6_1+20>>2]=52;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$8_1=HEAP32[$3_1>>2];if(!$8_1){$8_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1424)|0;HEAP32[$3_1>>2]=$8_1}HEAP32[$8_1+140>>2]=$9_1;$6_1=0;$2_1=1;while(1){$4_1=HEAPU8[$2_1+$9_1|0];$3_1=$4_1+$6_1|0;if(($3_1|0)>=257){$5_1=HEAP32[$0_1>>2];HEAP32[$5_1+20>>2]=9;FUNCTION_TABLE[HEAP32[$5_1>>2]]($0_1)}if($4_1){$11(($7_1+1040|0)+$6_1|0,$2_1,$4_1);$6_1=$3_1}$2_1=$2_1+1|0;if(($2_1|0)!=17){continue}break}$3_1=0;HEAP8[($7_1+1040|0)+$6_1|0]=0;$5_1=HEAPU8[$7_1+1040|0];if($5_1){$4_1=$5_1<<24>>24;$2_1=0;while(1){if($5_1<<24>>24==($4_1|0)){while(1){HEAP32[($3_1<<2)+$7_1>>2]=$2_1;$2_1=$2_1+1|0;$3_1=$3_1+1|0;$5_1=HEAP8[$3_1+($7_1+1040|0)|0];if(($5_1|0)==($4_1|0)){continue}break}}if(1<<$4_1<=($2_1|0)){$10_1=HEAP32[$0_1>>2];HEAP32[$10_1+20>>2]=9;FUNCTION_TABLE[HEAP32[$10_1>>2]]($0_1)}$4_1=$4_1+1|0;$2_1=$2_1<<1;if($5_1&255){continue}break}}$3_1=0;$2_1=1;while(1){$5_1=($2_1<<2)+$8_1|0;$4_1=$2_1+$9_1|0;if(HEAPU8[$4_1|0]){HEAP32[(($2_1<<2)+$8_1|0)+72>>2]=$3_1-HEAP32[($3_1<<2)+$7_1>>2];$3_1=HEAPU8[$4_1|0]+$3_1|0;$4_1=HEAP32[(($3_1<<2)+$7_1|0)-4>>2]}else{$4_1=-1}HEAP32[$5_1>>2]=$4_1;$2_1=$2_1+1|0;if(($2_1|0)!=17){continue}break}HEAP32[$8_1+68>>2]=1048575;$10_1=0;$11($8_1+144|0,0,1024);$5_1=1;while(1){$12_1=$5_1+$9_1|0;if(HEAPU8[$12_1|0]){$11_1=1;$13_1=8-$5_1|0;$4_1=1<<$13_1;while(1){$14_1=$9_1+$10_1|0;$2_1=HEAP32[($10_1<<2)+$7_1>>2]<<$13_1;$3_1=$4_1;while(1){HEAP32[(($2_1<<2)+$8_1|0)+144>>2]=$5_1;HEAP8[($2_1+$8_1|0)+1168|0]=HEAPU8[$14_1+17|0];$2_1=$2_1+1|0;$15_1=($3_1|0)>1;$3_1=$3_1-1|0;if($15_1){continue}break}$10_1=$10_1+1|0;$2_1=HEAPU8[$12_1|0]>$11_1>>>0;$11_1=$11_1+1|0;if($2_1){continue}break}}$5_1=$5_1+1|0;if(($5_1|0)!=9){continue}break}label$19:{if(!$1_1|($6_1|0)<=0){break label$19}$2_1=0;if(($6_1|0)!=1){$1_1=$6_1&-2;$3_1=0;while(1){if(HEAPU8[($2_1+$9_1|0)+17|0]>=16){$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+20>>2]=9;FUNCTION_TABLE[HEAP32[$4_1>>2]]($0_1)}if(HEAPU8[(($2_1|1)+$9_1|0)+17|0]>=16){$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+20>>2]=9;FUNCTION_TABLE[HEAP32[$4_1>>2]]($0_1)}$2_1=$2_1+2|0;$3_1=$3_1+2|0;if(($1_1|0)!=($3_1|0)){continue}break}}if(!($6_1&1)|HEAPU8[($2_1+$9_1|0)+17|0]<16){break label$19}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=9;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}global$0=$7_1+1312|0}function $1088($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0;$4_1=HEAP32[$0_1+332>>2];$5_1=HEAP32[$0_1+452>>2];$7_1=HEAP32[$5_1+24>>2];label$1:{$2_1=HEAP32[$5_1+28>>2];if(($7_1|0)<($2_1|0)){$20_1=$4_1-1|0;$15_1=HEAP32[$0_1+360>>2]-1|0;$12_1=$5_1+32|0;$6_1=HEAP32[$5_1+20>>2];while(1){if($6_1>>>0<=$15_1>>>0){while(1){if(HEAP32[$0_1+436>>2]){$11(HEAP32[$12_1>>2],0,HEAP32[$0_1+368>>2]<<7)}if(!(FUNCTION_TABLE[HEAP32[HEAP32[$0_1+468>>2]+4>>2]]($0_1,$12_1)|0)){break label$1}$2_1=HEAP32[$0_1+340>>2];if(($2_1|0)>0){$8_1=0;$13_1=0;while(1){$3_1=HEAP32[(($13_1<<2)+$0_1|0)+344>>2];label$9:{if(!HEAP32[$3_1+52>>2]){$8_1=HEAP32[$3_1+64>>2]+$8_1|0;break label$9}$4_1=HEAP32[$3_1+60>>2];if(($4_1|0)<=0){break label$9}$10_1=Math_imul(HEAP32[$3_1+68>>2],$6_1);$2_1=HEAP32[$3_1+4>>2]<<2;$16_1=HEAP32[($2_1+HEAP32[$0_1+472>>2]|0)+4>>2];$17_1=HEAP32[$1_1+$2_1>>2];$2_1=HEAP32[$3_1+40>>2];$11_1=$17_1+(Math_imul($7_1,$2_1)<<2)|0;$9_1=HEAP32[($6_1>>>0<$15_1>>>0?56:72)+$3_1>>2];$18_1=($9_1|0)>1?$9_1:1;$21_1=$18_1&-2;$17_1=$18_1&1;$19_1=($9_1|0)<=0;$14_1=0;while(1){label$12:{label$13:{if(HEAPU32[$0_1+148>>2]>=$20_1>>>0){if(!(HEAP32[$3_1+76>>2]<=($7_1+$14_1|0)|$19_1)){break label$13}break label$12}if($19_1){break label$12}}$4_1=0;$2_1=$10_1;$9_1=0;if(($18_1|0)!=1){while(1){FUNCTION_TABLE[$16_1|0]($0_1,$3_1,HEAP32[($4_1+$8_1<<2)+$12_1>>2],$11_1,$2_1);$2_1=HEAP32[$3_1+36>>2]+$2_1|0;FUNCTION_TABLE[$16_1|0]($0_1,$3_1,HEAP32[(($4_1|1)+$8_1<<2)+$12_1>>2],$11_1,$2_1);$4_1=$4_1+2|0;$2_1=$2_1+HEAP32[$3_1+36>>2]|0;$9_1=$9_1+2|0;if(($21_1|0)!=($9_1|0)){continue}break}}if($17_1){FUNCTION_TABLE[$16_1|0]($0_1,$3_1,HEAP32[(($4_1+$8_1<<2)+$5_1|0)+32>>2],$11_1,$2_1)}$4_1=HEAP32[$3_1+60>>2];$2_1=HEAP32[$3_1+40>>2]}$11_1=($2_1<<2)+$11_1|0;$8_1=HEAP32[$3_1+56>>2]+$8_1|0;$14_1=$14_1+1|0;if(($14_1|0)<($4_1|0)){continue}break}$2_1=HEAP32[$0_1+340>>2]}$13_1=$13_1+1|0;if(($13_1|0)<($2_1|0)){continue}break}}$6_1=$6_1+1|0;if($15_1>>>0>=$6_1>>>0){continue}break}$2_1=HEAP32[$5_1+28>>2]}$6_1=0;HEAP32[$5_1+20>>2]=0;$7_1=$7_1+1|0;if(($7_1|0)<($2_1|0)){continue}break}$4_1=HEAP32[$0_1+332>>2]}$2_1=1;HEAP32[$0_1+156>>2]=HEAP32[$0_1+156>>2]+1;$1_1=HEAP32[$0_1+148>>2]+1|0;HEAP32[$0_1+148>>2]=$1_1;if($1_1>>>0<$4_1>>>0){$10_1=HEAP32[$0_1+452>>2];$2_1=HEAP32[$0_1+340>>2]<=1?HEAP32[HEAP32[$0_1+344>>2]+($1_1>>>0<$4_1-1>>>0?12:76)>>2]:$2_1;HEAP32[$10_1+20>>2]=0;HEAP32[$10_1+24>>2]=0;HEAP32[$10_1+28>>2]=$2_1;return 3}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+460>>2]+12>>2]]($0_1);return 4}HEAP32[$5_1+20>>2]=$6_1;HEAP32[$5_1+24>>2]=$7_1;return 0}function $1096($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0;$4_1=global$0-32|0;global$0=$4_1;$5_1=HEAP32[$0_1+468>>2];label$1:{label$2:{if(HEAP32[$5_1+44>>2]|!HEAP32[$0_1+280>>2]){break label$2}$2_1=HEAP32[$0_1+464>>2];HEAP32[$2_1+24>>2]=HEAP32[$2_1+24>>2]+(HEAP32[$5_1+16>>2]/8|0);HEAP32[$5_1+16>>2]=0;$3_1=0;if(!(FUNCTION_TABLE[HEAP32[$2_1+8>>2]]($0_1)|0)){break label$1}if(HEAP32[$0_1+340>>2]>0){$2_1=0;while(1){HEAP32[(($2_1<<2)+$5_1|0)+24>>2]=0;$2_1=$2_1+1|0;if(($2_1|0)>2]){continue}break}}HEAP32[$5_1+20>>2]=0;HEAP32[$5_1+44>>2]=HEAP32[$0_1+280>>2];if(HEAP32[$0_1+440>>2]){break label$2}HEAP32[$5_1+40>>2]=0}if(!HEAP32[$5_1+40>>2]){$2_1=HEAP32[$5_1+20>>2];label$6:{if($2_1){$3_1=$2_1-1|0;break label$6}HEAP32[$4_1+24>>2]=$0_1;$2_1=HEAP32[$0_1+24>>2];HEAP32[$4_1+8>>2]=HEAP32[$2_1>>2];HEAP32[$4_1+12>>2]=HEAP32[$2_1+4>>2];$2_1=HEAP32[$5_1+16>>2];$6_1=HEAP32[$5_1+12>>2];$9_1=HEAP32[$0_1+412>>2];$11_1=HEAP32[$0_1+416>>2];$3_1=0;label$8:{if(($9_1|0)>($11_1|0)){break label$8}$10_1=HEAP32[$5_1+64>>2];$12_1=HEAP32[$1_1>>2];$13_1=HEAP32[$0_1+432>>2];$14_1=HEAP32[$0_1+424>>2];while(1){label$10:{label$11:{label$12:{if(($2_1|0)<=7){$3_1=0;if(!$56($4_1+8|0,$6_1,$2_1,0)){break label$1}$6_1=HEAP32[$4_1+16>>2];$2_1=HEAP32[$4_1+20>>2];$1_1=1;if(($2_1|0)<8){break label$12}}$1_1=$6_1>>$2_1-8&255;$3_1=HEAP32[(($1_1<<2)+$10_1|0)+144>>2];if($3_1){break label$11}$1_1=9}$1_1=$178($4_1+8|0,$6_1,$2_1,$10_1,$1_1);$3_1=0;if(($1_1|0)<0){break label$1}$6_1=HEAP32[$4_1+16>>2];$2_1=HEAP32[$4_1+20>>2];break label$10}$1_1=HEAPU8[($1_1+$10_1|0)+1168|0];$2_1=$2_1-$3_1|0}$7_1=$1_1>>>4|0;$8_1=$1_1&15;label$14:{if($8_1){if(($2_1|0)<($8_1|0)){$3_1=0;if(!$56($4_1+8|0,$6_1,$2_1,$8_1)){break label$1}$6_1=HEAP32[$4_1+16>>2];$2_1=HEAP32[$4_1+20>>2]}$1_1=$7_1+$9_1|0;$3_1=$8_1<<2;$7_1=HEAP32[$3_1+40080>>2];$2_1=$2_1-$8_1|0;$8_1=$7_1&$6_1>>$2_1;HEAP16[(HEAP32[($1_1<<2)+$13_1>>2]<<1)+$12_1>>1]=$8_1-(($8_1|0)>HEAP32[$3_1+40076>>2]?0:$7_1)<<$14_1;break label$14}if(($7_1|0)!=15){$3_1=0;if($1_1>>>0<16){break label$8}if(($2_1|0)<($7_1|0)){$3_1=0;if(!$56($4_1+8|0,$6_1,$2_1,$7_1)){break label$1}$6_1=HEAP32[$4_1+16>>2];$2_1=HEAP32[$4_1+20>>2]}$2_1=$2_1-$7_1|0;$3_1=(HEAP32[($7_1<<2)+40080>>2]&$6_1>>$2_1)+(-1<<$7_1^-1)|0;break label$8}$1_1=$9_1+15|0}$9_1=$1_1+1|0;if(($1_1|0)<($11_1|0)){continue}break}$3_1=0}$0_1=HEAP32[$0_1+24>>2];HEAP32[$0_1>>2]=HEAP32[$4_1+8>>2];HEAP32[$0_1+4>>2]=HEAP32[$4_1+12>>2];HEAP32[$5_1+16>>2]=$2_1;HEAP32[$5_1+12>>2]=$6_1}HEAP32[$5_1+20>>2]=$3_1}HEAP32[$5_1+44>>2]=HEAP32[$5_1+44>>2]-1;$3_1=1}global$0=$4_1+32|0;return $3_1|0}function $102($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=Math_fround(0),$11_1=0,$12_1=0;$4_1=global$0-32|0;global$0=$4_1;HEAP32[$4_1+24>>2]=1;HEAP32[$4_1+28>>2]=$1_1;if(($1_1|0)>=0){HEAP32[$4_1+8>>2]=$1_1;$1_1=$0_1+92|0;$0_1=$4_1+8|0;HEAP32[$4_1+16>>2]=$26($1_1,$0_1);HEAP32[$4_1+8>>2]=$23();label$2:{if($31($4_1+16|0,$0_1)){$5_1=$4_1+8|0;HEAP32[$5_1>>2]=HEAP32[$4_1+28>>2];HEAP32[$5_1+4>>2]=HEAP32[$4_1+24>>2];$6_1=global$0-16|0;global$0=$6_1;$12_1=$6_1+8|0;$0_1=global$0-32|0;global$0=$0_1;$13($1_1);$8_1=HEAP32[$5_1>>2];$3_1=$104($1_1);HEAP8[$0_1+31|0]=0;label$4:{label$5:{if(!$3_1){break label$5}$7_1=$46($8_1,$3_1);$2_1=HEAP32[$9($1_1,$7_1)>>2];if(!$2_1){break label$5}while(1){$2_1=HEAP32[$2_1>>2];if(!$2_1){break label$5}if(HEAP32[$2_1+4>>2]!=($8_1|0)){if(($46(HEAP32[$2_1+4>>2],$3_1)|0)!=($7_1|0)){break label$5}}if(!$225($45($1_1),$2_1+8|0,$5_1)){continue}break}break label$4}$9_1=global$0-16|0;global$0=$9_1;$2_1=$4($1_1);$2_1=$261($0_1+16|0,$48(16),$262($9_1+8|0,$2_1,0));$11_1=HEAP32[$2_1>>2];HEAP32[$11_1+8>>2]=HEAP32[$5_1>>2];HEAP32[$11_1+12>>2]=HEAP32[$5_1+4>>2];HEAP8[$34($2_1)+4|0]=1;HEAP32[HEAP32[$2_1>>2]+4>>2]=$8_1;HEAP32[HEAP32[$2_1>>2]>>2]=0;global$0=$9_1+16|0;if(!(Math_fround(HEAP32[$13($1_1)>>2]+1>>>0)>Math_fround(HEAPF32[$45($1_1)>>2]*Math_fround($3_1>>>0))?0:$3_1)){HEAP32[$0_1+12>>2]=$224($3_1)^1|$3_1<<1;$10_1=Math_fround(Math_ceil(Math_fround(Math_fround(HEAP32[$13($1_1)>>2]+1>>>0)/HEAPF32[$45($1_1)>>2])));label$10:{if($10_1=Math_fround(0)){$2_1=~~$10_1>>>0;break label$10}$2_1=0}HEAP32[$0_1+8>>2]=$2_1;$264($1_1,HEAP32[$67($0_1+12|0,$0_1+8|0)>>2]);$3_1=$104($1_1);$7_1=$46($8_1,$3_1)}$2_1=HEAP32[$9($1_1,$7_1)>>2];label$12:{if(!$2_1){$2_1=$1_1+8|0;HEAP32[HEAP32[$0_1+16>>2]>>2]=HEAP32[$2_1>>2];HEAP32[$1_1+8>>2]=HEAP32[$0_1+16>>2];HEAP32[$9($1_1,$7_1)>>2]=$2_1;if(!HEAP32[HEAP32[$0_1+16>>2]>>2]){break label$12}$2_1=HEAP32[$0_1+16>>2];HEAP32[$9($1_1,$46(HEAP32[HEAP32[HEAP32[$0_1+16>>2]>>2]+4>>2],$3_1))>>2]=$2_1;break label$12}HEAP32[HEAP32[$0_1+16>>2]>>2]=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=HEAP32[$0_1+16>>2]}$3_1=$0_1+16|0;$2_1=$141($3_1);$1_1=$13($1_1);HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;HEAP8[$0_1+31|0]=1;$1_1=HEAP32[$3_1>>2];HEAP32[$3_1>>2]=0;if($1_1){$34($3_1);if($1_1){$1($1_1)}}}$263($12_1,$80($0_1+16|0,$2_1),$0_1+31|0);global$0=$0_1+32|0;HEAP8[$80($4_1,HEAP32[$6_1+8>>2])+4|0]=HEAPU8[$6_1+12|0];global$0=$6_1+16|0;break label$2}$0_1=$63($4_1+16|0);HEAP32[$0_1+4>>2]=HEAP32[$0_1+4>>2]+1}global$0=$4_1+32|0;return}$3($0($0($2($0($0($0(71248,16781),16352),3305),290),3802),17007));fimport$0();abort()}function $32($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=Math_fround(0),$10_1=0;$4_1=global$0-32|0;global$0=$4_1;HEAP32[$4_1+16>>2]=$316($0_1);$10_1=$4_1+24|0;$1_1=global$0-32|0;global$0=$1_1;$13(67484);$6_1=HEAP32[$0_1>>2];$3_1=$104(67484);HEAP8[$1_1+31|0]=0;label$1:{label$2:{if(!$3_1){break label$2}$5_1=$46($6_1,$3_1);$2_1=HEAP32[$9(67484,$5_1)>>2];if(!$2_1){break label$2}while(1){$2_1=HEAP32[$2_1>>2];if(!$2_1){break label$2}if(HEAP32[$2_1+4>>2]!=($6_1|0)){if(($46(HEAP32[$2_1+4>>2],$3_1)|0)!=($5_1|0)){break label$2}}if(!$225($45(67484),$2_1+8|0,$0_1)){continue}break}break label$1}$8_1=global$0-16|0;global$0=$8_1;$0_1=$4(67484);$2_1=$261($1_1+16|0,$48(496),$262($8_1+8|0,$0_1,0));$0_1=HEAP32[$2_1>>2]+8|0;$7_1=global$0-16|0;global$0=$7_1;HEAP32[$7_1+8>>2]=HEAP32[$4_1+16>>2];HEAP32[$0_1>>2]=HEAP32[HEAP32[$7_1+8>>2]>>2];$0_1=$0_1+8|0;wasm2js_memory_fill($0_1,0,480);HEAP32[$0_1+240>>2]=0;HEAP32[$0_1+192>>2]=0;HEAP32[$0_1+196>>2]=0;HEAP32[$0_1+204>>2]=0;HEAP32[$0_1+208>>2]=0;HEAP32[$0_1+244>>2]=-2;HEAP32[$0_1+248>>2]=0;HEAP32[$0_1+212>>2]=0;HEAP32[$0_1+216>>2]=0;HEAP32[$0_1+220>>2]=0;HEAP32[$0_1+224>>2]=0;$226($0_1+252|0);HEAP32[$0_1+320>>2]=0;HEAP32[$0_1+324>>2]=1083129856;HEAP32[$0_1+312>>2]=-350469331;HEAP32[$0_1+316>>2]=1058682594;$38($0_1+328|0);HEAP32[$0_1+472>>2]=2;HEAP32[$0_1+340>>2]=0;global$0=$7_1+16|0;HEAP8[$34($2_1)+4|0]=1;HEAP32[HEAP32[$2_1>>2]+4>>2]=$6_1;HEAP32[HEAP32[$2_1>>2]>>2]=0;global$0=$8_1+16|0;if(!(Math_fround(HEAP32[$13(67484)>>2]+1>>>0)>Math_fround(HEAPF32[$45(67484)>>2]*Math_fround($3_1>>>0))?0:$3_1)){HEAP32[$1_1+12>>2]=$224($3_1)^1|$3_1<<1;$9_1=Math_fround(Math_ceil(Math_fround(Math_fround(HEAP32[$13(67484)>>2]+1>>>0)/HEAPF32[$45(67484)>>2])));label$7:{if($9_1=Math_fround(0)){$0_1=~~$9_1>>>0;break label$7}$0_1=0}HEAP32[$1_1+8>>2]=$0_1;$264(67484,HEAP32[$67($1_1+12|0,$1_1+8|0)>>2]);$3_1=$104(67484);$5_1=$46($6_1,$3_1)}$0_1=HEAP32[$9(67484,$5_1)>>2];label$9:{if(!$0_1){HEAP32[HEAP32[$1_1+16>>2]>>2]=HEAP32[16873];HEAP32[16873]=HEAP32[$1_1+16>>2];HEAP32[$9(67484,$5_1)>>2]=67492;if(!HEAP32[HEAP32[$1_1+16>>2]>>2]){break label$9}$0_1=HEAP32[$1_1+16>>2];HEAP32[$9(67484,$46(HEAP32[HEAP32[HEAP32[$1_1+16>>2]>>2]+4>>2],$3_1))>>2]=$0_1;break label$9}HEAP32[HEAP32[$1_1+16>>2]>>2]=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=HEAP32[$1_1+16>>2]}$0_1=$1_1+16|0;$2_1=$141($0_1);$3_1=$13(67484);HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+1;HEAP8[$1_1+31|0]=1;$681($0_1)}$263($10_1,$80($1_1+16|0,$2_1),$1_1+31|0);global$0=$1_1+32|0;$0_1=$63($10_1);global$0=$4_1+32|0;return $0_1+8|0}function $902($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1,$10_1,$11_1,$12_1,$13_1,$14_1){var $15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0;$19_1=global$0-16|0;global$0=$19_1;HEAP32[$2_1>>2]=$0_1;$22_1=$3_1&512;$23_1=$7_1<<2;while(1){if(($20_1|0)==4){if($6($13_1)>>>0>1){HEAP32[$19_1+8>>2]=$131($13_1);HEAP32[$2_1>>2]=$314($906($19_1+8|0,1),$205($13_1),HEAP32[$2_1>>2])}$3_1=$3_1&176;if(($3_1|0)!=16){if(($3_1|0)==32){$0_1=HEAP32[$2_1>>2]}HEAP32[$1_1>>2]=$0_1}global$0=$19_1+16|0}else{label$8:{label$9:{switch(HEAP8[$8_1+$20_1|0]){case 0:HEAP32[$1_1>>2]=HEAP32[$2_1>>2];break label$8;case 1:HEAP32[$1_1>>2]=HEAP32[$2_1>>2];$7_1=$109($6_1,32);$15_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$15_1+4;HEAP32[$15_1>>2]=$7_1;break label$8;case 3:if($150($13_1)){break label$8}$7_1=HEAP32[$416($13_1,0)>>2];$15_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$15_1+4;HEAP32[$15_1>>2]=$7_1;break label$8;case 2:if($150($12_1)|!$22_1){break label$8}HEAP32[$2_1>>2]=$314($131($12_1),$205($12_1),HEAP32[$2_1>>2]);break label$8;case 4:break label$9;default:break label$8}}$24_1=HEAP32[$2_1>>2];$4_1=$4_1+$23_1|0;$7_1=$4_1;while(1){label$15:{if($5_1>>>0<=$7_1>>>0){break label$15}if(!$139($6_1,64,HEAP32[$7_1>>2])){break label$15}$7_1=$7_1+4|0;continue}break}if(($14_1|0)>0){$15_1=HEAP32[$2_1>>2];$17_1=$14_1;while(1){if(!(!$17_1|$4_1>>>0>=$7_1>>>0)){$7_1=$7_1-4|0;$18_1=HEAP32[$7_1>>2];$16_1=$15_1+4|0;HEAP32[$2_1>>2]=$16_1;HEAP32[$15_1>>2]=$18_1;$17_1=$17_1-1|0;$15_1=$16_1;continue}break}label$19:{if(!$17_1){$16_1=0;break label$19}$16_1=$109($6_1,48);$15_1=HEAP32[$2_1>>2]}while(1){$18_1=$15_1+4|0;if(($17_1|0)>0){HEAP32[$15_1>>2]=$16_1;$17_1=$17_1-1|0;$15_1=$18_1;continue}break}HEAP32[$2_1>>2]=$18_1;HEAP32[$15_1>>2]=$9_1}label$23:{if(($4_1|0)==($7_1|0)){$15_1=$109($6_1,48);$16_1=HEAP32[$2_1>>2];$7_1=$16_1+4|0;HEAP32[$2_1>>2]=$7_1;HEAP32[$16_1>>2]=$15_1;break label$23}if($150($11_1)){$16_1=-1}else{$16_1=HEAP8[$16($11_1,0)|0]}$15_1=0;$17_1=0;while(1){if(($4_1|0)!=($7_1|0)){label$29:{if(($15_1|0)!=($16_1|0)){$18_1=$15_1;break label$29}$16_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$16_1+4;HEAP32[$16_1>>2]=$10_1;$18_1=0;$17_1=$17_1+1|0;if($6($11_1)>>>0<=$17_1>>>0){$16_1=$15_1;break label$29}if(HEAPU8[$16($11_1,$17_1)|0]==127){$16_1=-1;break label$29}$16_1=HEAP8[$16($11_1,$17_1)|0]}$7_1=$7_1-4|0;$15_1=HEAP32[$7_1>>2];$21_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$21_1+4;HEAP32[$21_1>>2]=$15_1;$15_1=$18_1+1|0;continue}break}$7_1=HEAP32[$2_1>>2]}$412($24_1,$7_1)}$20_1=$20_1+1|0;continue}break}}function $1281($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;var $8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0;$12_1=global$0-16|0;global$0=$12_1;$8_1=$2_1;while(1){label$2:{if(($3_1|0)==($8_1|0)){$8_1=$3_1;break label$2}if(!HEAP32[$8_1>>2]){break label$2}$8_1=$8_1+4|0;continue}break}HEAP32[$7_1>>2]=$5_1;HEAP32[$4_1>>2]=$2_1;while(1){label$5:{label$6:{if(!(($2_1|0)==($3_1|0)|($5_1|0)==($6_1|0))){$9_1=HEAP32[$1_1+4>>2];HEAP32[$12_1+8>>2]=HEAP32[$1_1>>2];HEAP32[$12_1+12>>2]=$9_1;$18_1=1;$14_1=global$0-16|0;global$0=$14_1;HEAP32[$14_1+12>>2]=HEAP32[$0_1+8>>2];$19_1=$161($14_1+8|0,$14_1+12|0);$9_1=$5_1;$10_1=$6_1-$9_1|0;$15_1=0;$16_1=global$0-16|0;global$0=$16_1;$11_1=HEAP32[$4_1>>2];$17_1=$8_1-$2_1>>2;label$9:{if(!$11_1|!$17_1){break label$9}$10_1=$9_1?$10_1:0;while(1){$13_1=$435($10_1>>>0<4?$16_1+12|0:$9_1,HEAP32[$11_1>>2]);if(($13_1|0)==-1){$15_1=-1;break label$9}if($9_1){if($10_1>>>0<=3){if($10_1>>>0<$13_1>>>0){break label$9}$62($9_1,$16_1+12|0,$13_1)}$10_1=$10_1-$13_1|0;$9_1=$9_1+$13_1|0}else{$9_1=0}if(!HEAP32[$11_1>>2]){$11_1=0;break label$9}$15_1=$15_1+$13_1|0;$11_1=$11_1+4|0;$17_1=$17_1-1|0;if($17_1){continue}break}}if($9_1){HEAP32[$4_1>>2]=$11_1}global$0=$16_1+16|0;$160($19_1);global$0=$14_1+16|0;label$17:{label$18:{label$19:{label$20:{switch($15_1+1|0){case 0:HEAP32[$7_1>>2]=$5_1;while(1){label$23:{if(HEAP32[$4_1>>2]==($2_1|0)){break label$23}$1_1=$534($5_1,HEAP32[$2_1>>2],HEAP32[$0_1+8>>2]);if(($1_1|0)==-1){break label$23}$5_1=$1_1+HEAP32[$7_1>>2]|0;HEAP32[$7_1>>2]=$5_1;$2_1=$2_1+4|0;continue}break};HEAP32[$4_1>>2]=$2_1;break label$19;case 1:break label$6;default:break label$20}}$5_1=$15_1+HEAP32[$7_1>>2]|0;HEAP32[$7_1>>2]=$5_1;if(($5_1|0)==($6_1|0)){break label$17}if(($3_1|0)==($8_1|0)){$2_1=HEAP32[$4_1>>2];$8_1=$3_1;continue}$8_1=$534($12_1+4|0,0,HEAP32[$0_1+8>>2]);if(($8_1|0)!=-1){break label$18}}$18_1=2;break label$6}$2_1=$12_1+4|0;if($6_1-HEAP32[$7_1>>2]>>>0<$8_1>>>0){break label$6}while(1){if($8_1){$5_1=HEAPU8[$2_1|0];$9_1=HEAP32[$7_1>>2];HEAP32[$7_1>>2]=$9_1+1;HEAP8[$9_1|0]=$5_1;$8_1=$8_1-1|0;$2_1=$2_1+1|0;continue}break}$2_1=HEAP32[$4_1>>2]+4|0;HEAP32[$4_1>>2]=$2_1;$8_1=$2_1;while(1){if(($3_1|0)==($8_1|0)){$8_1=$3_1;break label$5}if(!HEAP32[$8_1>>2]){break label$5}$8_1=$8_1+4|0;continue}}$2_1=HEAP32[$4_1>>2]}$18_1=($2_1|0)!=($3_1|0)}global$0=$12_1+16|0;return $18_1|0}$5_1=HEAP32[$7_1>>2];continue}}function $821($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=Math_fround(0),$9_1=0;$5_1=(wasm2js_scratch_store_f32($1_1),wasm2js_scratch_load_i32(2));$3_1=$628($5_1);label$1:{label$2:{label$3:{label$4:{$2_1=(wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2));label$5:{if($2_1-2139095040>>>0>=2164260864){if($3_1){break label$5}break label$3}if(!$3_1){break label$4}}$8_1=Math_fround(1);if(($2_1|0)==1065353216){break label$2}$4_1=$5_1<<1;if(!$4_1){break label$2}$3_1=$4_1>>>0<4278190081;$4_1=$2_1<<1;$0_1=Math_fround($0_1+$1_1);if(!($3_1&$4_1>>>0<=4278190080)){break label$1}if(($4_1|0)==2130706432){break label$2}$0_1=$4_1>>>0>2130706431^($5_1|0)>=0?Math_fround(0):Math_fround($1_1*$1_1);break label$1}if($628($2_1)){$8_1=Math_fround($0_1*$0_1);if(($2_1|0)<0){$8_1=($627($5_1)|0)==1?Math_fround(-$8_1):$8_1}if(($5_1|0)>=0){break label$2}$0_1=$629(Math_fround(Math_fround(1)/$8_1));break label$1}if(($2_1|0)<0){$4_1=$627($5_1);if(!$4_1){$0_1=$634($0_1);break label$1}$2_1=$2_1&2147483647;$4_1=(($4_1|0)==1)<<16}if($2_1>>>0>8388607){break label$3}$2_1=((wasm2js_scratch_store_f32(Math_fround($0_1*Math_fround(8388608))),wasm2js_scratch_load_i32(2))&2147483647)-192937984|0}$5_1=$2_1-1060306944|0;$3_1=$5_1>>>15&240;$6_1=+(wasm2js_scratch_store_i32(2,$2_1-($5_1&-8388608)|0),wasm2js_scratch_load_f32())*HEAPF64[$3_1+46616>>3]+-1;$7_1=$6_1*$6_1;$7_1=((HEAPF64[5859]*$6_1+HEAPF64[5860])*($7_1*$7_1)+((HEAPF64[5861]*$6_1+HEAPF64[5862])*$7_1+(HEAPF64[5863]*$6_1+(HEAPF64[$3_1+46624>>3]+ +($5_1>>23)))))*+$1_1;wasm2js_scratch_store_f64(+$7_1);$3_1=wasm2js_scratch_load_i32(1)|0;wasm2js_scratch_load_i32(0)|0;label$11:{$3_1=$3_1&2147450880;if(($3_1|0)==1079967744|$3_1>>>0<1079967744){break label$11}if($7_1>127.99999995700433){$0_1=$630($4_1,Math_fround(15845632502852868e13));break label$1}if(!($7_1<=-150)){break label$11}$0_1=$630($4_1,Math_fround(2524354896707238e-44));break label$1}$9_1=$7_1;$6_1=HEAPF64[5818];$7_1=$6_1+$7_1;$6_1=$9_1-($7_1-$6_1);$9_1=(HEAPF64[5819]*$6_1+HEAPF64[5820])*($6_1*$6_1)+(HEAPF64[5821]*$6_1+1);wasm2js_scratch_store_f64(+$7_1);wasm2js_scratch_load_i32(1)|0;$2_1=wasm2js_scratch_load_i32(0)|0;$5_1=$4_1+$2_1|0;$5_1=$5_1<<15;$3_1=(($2_1&31)<<3)+46288|0;$4_1=HEAP32[$3_1>>2];$2_1=$4_1;$3_1=HEAP32[$3_1+4>>2]+$5_1|0;wasm2js_scratch_store_i32(0,$2_1|0);wasm2js_scratch_store_i32(1,($2_1>>>0<$2_1>>>0?$3_1+1|0:$3_1)|0);$8_1=Math_fround($9_1*+wasm2js_scratch_load_f64())}$0_1=$8_1}return $0_1}function $1149($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=0,$32_1=0,$33_1=0;$2_1=global$0-256|0;global$0=$2_1;HEAP32[$2_1+252>>2]=$0_1;HEAP32[$2_1+248>>2]=$26(67484,$2_1+252|0);HEAP32[$2_1+240>>2]=$23();label$1:{if($31($2_1+248|0,$2_1+240|0)){$0_1=HEAP32[15939];break label$1}$0_1=HEAP32[$32($2_1+252|0)+216>>2];if(HEAP32[$0_1+44>>2]<=($1_1|0)){$0_1=HEAP32[15940];break label$1}$0_1=($1_1|0)<0?67528:($0_1+($1_1<<8)|0)+48|0;$1_1=HEAP32[$0_1>>2];$3_1=HEAP32[$0_1+4>>2];$4_1=HEAP32[$0_1+8>>2];$5_1=HEAP32[$0_1+12>>2];$6_1=HEAP32[$0_1+20>>2];$7_1=HEAP32[$0_1+16>>2];$8_1=HEAP32[$0_1+24>>2];$9_1=HEAPF64[$0_1+32>>3];$10_1=HEAPF64[$0_1+40>>3];$11_1=HEAPF64[$0_1+48>>3];$12_1=HEAPF64[$0_1+56>>3];$13_1=HEAPF64[$0_1- -64>>3];$14_1=HEAPF64[$0_1+72>>3];$15_1=HEAPF64[$0_1+80>>3];$16_1=HEAPF64[$0_1+88>>3];$17_1=HEAPF64[$0_1+96>>3];$18_1=HEAPF64[$0_1+104>>3];$19_1=HEAPF64[$0_1+112>>3];$20_1=HEAPF64[$0_1+120>>3];$21_1=HEAPF64[$0_1+128>>3];$22_1=HEAPF64[$0_1+136>>3];$23_1=HEAPF64[$0_1+144>>3];$24_1=HEAPF64[$0_1+152>>3];$25_1=HEAPF64[$0_1+160>>3];$26_1=HEAPF64[$0_1+168>>3];$27_1=HEAPF64[$0_1+176>>3];$28_1=HEAPF64[$0_1+184>>3];$29_1=HEAPF64[$0_1+192>>3];$30_1=HEAPF64[$0_1+200>>3];$31_1=HEAPF64[$0_1+208>>3];$32_1=HEAPF64[$0_1+216>>3];$33_1=HEAPF64[$0_1+224>>3];HEAP32[$2_1+232>>2]=HEAP32[$0_1+240>>2];HEAPF64[$2_1+224>>3]=$33_1;HEAPF64[$2_1+216>>3]=$32_1;HEAPF64[$2_1+208>>3]=$31_1;HEAPF64[$2_1+200>>3]=$30_1;HEAPF64[$2_1+192>>3]=$29_1;HEAPF64[$2_1+184>>3]=$28_1;HEAPF64[$2_1+176>>3]=$27_1;HEAPF64[$2_1+168>>3]=$26_1;HEAPF64[$2_1+160>>3]=$25_1;HEAPF64[$2_1+152>>3]=$24_1;HEAPF64[$2_1+144>>3]=$23_1;HEAPF64[$2_1+136>>3]=$22_1;HEAPF64[$2_1+128>>3]=$21_1;HEAPF64[$2_1+120>>3]=$20_1;HEAPF64[$2_1+112>>3]=$19_1;HEAPF64[$2_1+104>>3]=$18_1;HEAPF64[$2_1+96>>3]=$17_1;HEAPF64[$2_1+88>>3]=$16_1;HEAPF64[$2_1+80>>3]=$15_1;HEAPF64[$2_1+72>>3]=$14_1;HEAPF64[$2_1- -64>>3]=$13_1;HEAPF64[$2_1+56>>3]=$12_1;HEAPF64[$2_1+48>>3]=$11_1;HEAPF64[$2_1+40>>3]=$10_1;HEAPF64[$2_1+32>>3]=$9_1;HEAP32[$2_1+24>>2]=$8_1;HEAP32[$2_1+16>>2]=$7_1;HEAP32[$2_1+20>>2]=$6_1;HEAP32[$2_1+8>>2]=$4_1;HEAP32[$2_1+12>>2]=$5_1;HEAP32[$2_1>>2]=$1_1;HEAP32[$2_1+4>>2]=$3_1;fimport$8(65823,38112,$2_1|0)|0;$0_1=0}global$0=$2_1+256|0;return $0_1|0}function $1007($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0,$29_1=0,$30_1=0,$31_1=0,$32_1=0,$33_1=0,$34_1=0,$35_1=0,$36_1=0,$37_1=0,$38_1=0;if(($3_1|0)>0){$20_1=HEAP32[$0_1+336>>2];$4_1=HEAP32[$0_1+136>>2];$30_1=HEAP32[$4_1+8>>2];$31_1=HEAP32[$4_1+4>>2];$32_1=HEAP32[$4_1>>2];$10_1=HEAP32[$0_1+484>>2];$21_1=HEAP32[$10_1+40>>2];$33_1=HEAP32[$10_1+24>>2];$15_1=HEAP32[$0_1+112>>2];$34_1=$15_1-1|0;$4_1=Math_imul($15_1,3);$35_1=$4_1-3|0;$36_1=$4_1+3<<1;while(1){$4_1=$22_1<<2;$11_1=HEAP32[$4_1+$2_1>>2];$8_1=HEAP32[$1_1+$4_1>>2];label$3:{if(HEAP32[$10_1+36>>2]){$11_1=$11_1+$34_1|0;$8_1=$8_1+$35_1|0;$12_1=-3;$24_1=-1;$5_1=0;$4_1=HEAP32[$10_1+32>>2]+$36_1|0;break label$3}$12_1=3;$5_1=1;$24_1=1;$4_1=HEAP32[$10_1+32>>2]}HEAP32[$10_1+36>>2]=$5_1;label$5:{if(!$15_1){$16_1=0;$17_1=0;$18_1=0;break label$5}$37_1=$12_1+2|0;$38_1=$12_1+1|0;$13_1=0;$9_1=0;$14_1=0;$25_1=0;$26_1=0;$27_1=0;$18_1=0;$17_1=0;$16_1=0;$23_1=$15_1;$5_1=$4_1;while(1){$4_1=($12_1<<1)+$5_1|0;$13_1=HEAPU8[(HEAP32[((HEAP16[$4_1>>1]+$13_1|0)+8>>4<<2)+$21_1>>2]+HEAPU8[$8_1|0]|0)+$20_1|0];$7_1=$13_1>>>3|0;$9_1=HEAPU8[(HEAP32[((HEAP16[($38_1<<1)+$5_1>>1]+$9_1|0)+8>>4<<2)+$21_1>>2]+HEAPU8[$8_1+1|0]|0)+$20_1|0];$19_1=$9_1>>>2|0;$14_1=HEAPU8[(HEAP32[((HEAP16[($37_1<<1)+$5_1>>1]+$14_1|0)+8>>4<<2)+$21_1>>2]+HEAPU8[$8_1+2|0]|0)+$20_1|0];$28_1=$14_1>>>3|0;$29_1=(HEAP32[($7_1<<2)+$33_1>>2]+($19_1<<6)|0)+($28_1<<1)|0;$6_1=HEAPU16[$29_1>>1];if(!$6_1){$654($0_1,$7_1,$19_1,$28_1);$6_1=HEAPU16[$29_1>>1]}$6_1=$6_1-1|0;HEAP8[$11_1|0]=$6_1;$19_1=HEAPU8[$6_1+$32_1|0];$7_1=HEAPU8[$6_1+$31_1|0];$6_1=$14_1-HEAPU8[$6_1+$30_1|0]|0;HEAP16[$5_1+4>>1]=Math_imul($6_1,3)+$16_1;$7_1=$9_1-$7_1|0;HEAP16[$5_1+2>>1]=Math_imul($7_1,3)+$17_1;$9_1=$5_1;$5_1=$13_1-$19_1|0;HEAP16[$9_1>>1]=Math_imul($5_1,3)+$18_1;$11_1=$11_1+$24_1|0;$8_1=$8_1+$12_1|0;$14_1=Math_imul($6_1,7);$9_1=Math_imul($7_1,7);$13_1=Math_imul($5_1,7);$16_1=Math_imul($6_1,5)+$27_1|0;$17_1=Math_imul($7_1,5)+$26_1|0;$18_1=Math_imul($5_1,5)+$25_1|0;$25_1=$5_1;$26_1=$7_1;$27_1=$6_1;$5_1=$4_1;$23_1=$23_1-1|0;if($23_1){continue}break}}HEAP16[$4_1+4>>1]=$16_1;HEAP16[$4_1+2>>1]=$17_1;HEAP16[$4_1>>1]=$18_1;$22_1=$22_1+1|0;if(($22_1|0)!=($3_1|0)){continue}break}}}function $1089($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0;$8_1=global$0-16|0;global$0=$8_1;$3_1=HEAP32[$0_1+452>>2];if(HEAP32[$0_1+340>>2]>0){while(1){$4_1=$1_1<<2;$5_1=HEAP32[($4_1+$0_1|0)+344>>2];$2_1=HEAP32[$5_1+12>>2];HEAP32[$4_1+$8_1>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+32>>2]]($0_1,HEAP32[($3_1+(HEAP32[$5_1+4>>2]<<2)|0)+72>>2],Math_imul($2_1,HEAP32[$0_1+148>>2]),$2_1,1);$1_1=$1_1+1|0;if(($1_1|0)>2]){continue}break}}$2_1=HEAP32[$3_1+28>>2];$5_1=HEAP32[$3_1+24>>2];label$3:{if(($2_1|0)>($5_1|0)){$15_1=$3_1+32|0;$1_1=HEAP32[$0_1+360>>2];$4_1=HEAP32[$3_1+20>>2];while(1){if($1_1>>>0>$4_1>>>0){while(1){$9_1=0;$2_1=0;$12_1=HEAP32[$0_1+340>>2];if(($12_1|0)>0){while(1){$1_1=$9_1<<2;$6_1=HEAP32[($1_1+$0_1|0)+344>>2];$13_1=HEAP32[$6_1+60>>2];if(($13_1|0)>0){$6_1=HEAP32[$6_1+56>>2];$16_1=Math_imul($6_1,$4_1);$17_1=$6_1&-4;$14_1=$6_1&3;$18_1=$6_1-1|0;$19_1=HEAP32[$1_1+$8_1>>2];$10_1=0;while(1){label$12:{if(($6_1|0)<=0){break label$12}$1_1=HEAP32[($5_1+$10_1<<2)+$19_1>>2]+($16_1<<7)|0;$11_1=0;if($18_1>>>0>=3){while(1){$7_1=$3_1+($2_1<<2)|0;HEAP32[$7_1+36>>2]=$1_1+128;HEAP32[$7_1+32>>2]=$1_1;HEAP32[$7_1+40>>2]=$1_1+256;HEAP32[$7_1+44>>2]=$1_1+384;$2_1=$2_1+4|0;$1_1=$1_1+512|0;$11_1=$11_1+4|0;if(($17_1|0)!=($11_1|0)){continue}break}}$7_1=0;if(!$14_1){break label$12}while(1){HEAP32[($3_1+($2_1<<2)|0)+32>>2]=$1_1;$2_1=$2_1+1|0;$1_1=$1_1+128|0;$7_1=$7_1+1|0;if(($14_1|0)!=($7_1|0)){continue}break}}$10_1=$10_1+1|0;if(($13_1|0)!=($10_1|0)){continue}break}}$9_1=$9_1+1|0;if(($12_1|0)!=($9_1|0)){continue}break}}if(!(FUNCTION_TABLE[HEAP32[HEAP32[$0_1+468>>2]+4>>2]]($0_1,$15_1)|0)){HEAP32[$3_1+20>>2]=$4_1;HEAP32[$3_1+24>>2]=$5_1;$0_1=0;break label$3}$1_1=HEAP32[$0_1+360>>2];$4_1=$4_1+1|0;if($1_1>>>0>$4_1>>>0){continue}break}$2_1=HEAP32[$3_1+28>>2]}$4_1=0;HEAP32[$3_1+20>>2]=0;$5_1=$5_1+1|0;if(($5_1|0)<($2_1|0)){continue}break}}$2_1=1;$3_1=HEAP32[$0_1+148>>2]+1|0;HEAP32[$0_1+148>>2]=$3_1;$4_1=HEAP32[$0_1+332>>2];if($4_1>>>0>$3_1>>>0){$1_1=HEAP32[$0_1+452>>2];$2_1=HEAP32[$0_1+340>>2]<=1?HEAP32[HEAP32[$0_1+344>>2]+($3_1>>>0<$4_1-1>>>0?12:76)>>2]:$2_1;HEAP32[$1_1+20>>2]=0;HEAP32[$1_1+24>>2]=0;HEAP32[$1_1+28>>2]=$2_1;$0_1=3;break label$3}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+460>>2]+12>>2]]($0_1);$0_1=4}global$0=$8_1+16|0;return $0_1|0}function $904($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1,$10_1,$11_1,$12_1,$13_1,$14_1){var $15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0;$20_1=global$0-16|0;global$0=$20_1;HEAP32[$2_1>>2]=$0_1;$23_1=$3_1&512;while(1){if(($21_1|0)==4){if($6($13_1)>>>0>1){HEAP32[$20_1+8>>2]=$131($13_1);HEAP32[$2_1>>2]=$314($912($20_1+8|0,1),$206($13_1),HEAP32[$2_1>>2])}$3_1=$3_1&176;if(($3_1|0)!=16){if(($3_1|0)==32){$0_1=HEAP32[$2_1>>2]}HEAP32[$1_1>>2]=$0_1}global$0=$20_1+16|0;return}label$7:{label$8:{switch(HEAP8[$8_1+$21_1|0]){case 0:HEAP32[$1_1>>2]=HEAP32[$2_1>>2];break label$7;case 1:HEAP32[$1_1>>2]=HEAP32[$2_1>>2];$16_1=$83($6_1,32);$15_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$15_1+1;HEAP8[$15_1|0]=$16_1;break label$7;case 3:if($150($13_1)){break label$7}$16_1=HEAPU8[$16($13_1,0)|0];$15_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$15_1+1;HEAP8[$15_1|0]=$16_1;break label$7;case 2:if($150($12_1)|!$23_1){break label$7}HEAP32[$2_1>>2]=$314($131($12_1),$206($12_1),HEAP32[$2_1>>2]);break label$7;case 4:break label$8;default:break label$7}}$24_1=HEAP32[$2_1>>2];$4_1=$4_1+$7_1|0;$17_1=$4_1;while(1){label$14:{if($5_1>>>0<=$17_1>>>0){break label$14}if(!$140($6_1,64,HEAP8[$17_1|0])){break label$14}$17_1=$17_1+1|0;continue}break}$16_1=$14_1;if(($16_1|0)>0){while(1){if(!(!$16_1|$4_1>>>0>=$17_1>>>0)){$17_1=$17_1-1|0;$15_1=HEAPU8[$17_1|0];$18_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$18_1+1;HEAP8[$18_1|0]=$15_1;$16_1=$16_1-1|0;continue}break}if($16_1){$15_1=$83($6_1,48)}else{$15_1=0}while(1){$18_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$18_1+1;if(($16_1|0)>0){HEAP8[$18_1|0]=$15_1;$16_1=$16_1-1|0;continue}break}HEAP8[$18_1|0]=$9_1}label$22:{if(($4_1|0)==($17_1|0)){$16_1=$83($6_1,48);$15_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$15_1+1;HEAP8[$15_1|0]=$16_1;break label$22}if($150($11_1)){$15_1=-1}else{$15_1=HEAP8[$16($11_1,0)|0]}$16_1=0;$19_1=0;while(1){if(($4_1|0)==($17_1|0)){break label$22}label$27:{if(($16_1|0)!=($15_1|0)){$18_1=$16_1;break label$27}$15_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$15_1+1;HEAP8[$15_1|0]=$10_1;$18_1=0;$19_1=$19_1+1|0;if($6($11_1)>>>0<=$19_1>>>0){$15_1=$16_1;break label$27}if(HEAPU8[$16($11_1,$19_1)|0]==127){$15_1=-1;break label$27}$15_1=HEAP8[$16($11_1,$19_1)|0]}$17_1=$17_1-1|0;$16_1=HEAPU8[$17_1|0];$22_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$22_1+1;HEAP8[$22_1|0]=$16_1;$16_1=$18_1+1|0;continue}}$237($24_1,HEAP32[$2_1>>2])}$21_1=$21_1+1|0;continue}}function $1105($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0;$5_1=HEAP32[$0_1+468>>2];if(HEAP32[$0_1+280>>2]){$3_1=HEAP32[$5_1+56>>2];if(!$3_1){$307($0_1);$3_1=HEAP32[$5_1+56>>2]}HEAP32[$5_1+56>>2]=$3_1-1}label$4:{if(!(HEAP32[$5_1+20>>2]==-1|HEAP32[$0_1+368>>2]<=0)){while(1){$3_1=$10_1<<2;$12_1=HEAP32[$3_1+$1_1>>2];$3_1=HEAP32[($0_1+$3_1|0)+372>>2]<<2;$7_1=HEAP32[HEAP32[($3_1+$0_1|0)+344>>2]+20>>2];$4_1=($7_1<<2)+$5_1|0;$6_1=$3_1+$5_1|0;$2_1=HEAP32[$4_1+60>>2]+HEAP32[$6_1+40>>2]|0;label$7:{if(!$10($0_1,$2_1)){HEAP32[$6_1+40>>2]=0;$3_1=HEAP32[$6_1+24>>2];break label$7}$9_1=1;$8_1=0;$3_1=0;$11_1=$10($0_1,$2_1+1|0);$2_1=($2_1+$11_1|0)+2|0;label$9:{if(!$10($0_1,$2_1)){break label$9}$4_1=HEAP32[$4_1+60>>2];$2_1=$4_1+20|0;if(!$10($0_1,$2_1)){$3_1=1;break label$9}$9_1=0;$2_1=$4_1+21|0;if(!$10($0_1,$2_1)){$3_1=2;break label$9}$2_1=$4_1+22|0;if(!$10($0_1,$2_1)){$3_1=4;break label$9}$2_1=$4_1+23|0;if(!$10($0_1,$2_1)){$3_1=8;break label$9}$2_1=$4_1+24|0;if(!$10($0_1,$2_1)){$3_1=16;break label$9}$2_1=$4_1+25|0;if(!$10($0_1,$2_1)){$3_1=32;break label$9}$2_1=$4_1+26|0;if(!$10($0_1,$2_1)){$3_1=64;break label$9}$2_1=$4_1+27|0;if(!$10($0_1,$2_1)){$3_1=128;break label$9}$2_1=$4_1+28|0;if(!$10($0_1,$2_1)){$3_1=256;break label$9}$2_1=$4_1+29|0;if(!$10($0_1,$2_1)){$3_1=512;break label$9}$2_1=$4_1+30|0;if(!$10($0_1,$2_1)){$3_1=1024;break label$9}$2_1=$4_1+31|0;if(!$10($0_1,$2_1)){$3_1=2048;break label$9}$2_1=$4_1+32|0;if(!$10($0_1,$2_1)){$3_1=4096;break label$9}$2_1=$4_1+33|0;if(!$10($0_1,$2_1)){$3_1=8192;break label$9}$3_1=16384;$2_1=$4_1+34|0;if($10($0_1,$2_1)){break label$4}}$7_1=$0_1+$7_1|0;label$24:{if(1<>1>($3_1|0)){break label$24}$4_1=$11_1<<2;if(1<>1<($3_1|0)){$8_1=$4_1+12|0;break label$24}$8_1=$4_1+4|0}HEAP32[$6_1+40>>2]=$8_1;label$26:{if($9_1){$2_1=$3_1;break label$26}$8_1=$2_1+14|0;$2_1=$3_1;while(1){$4_1=$3_1>>>1|0;$2_1=($10($0_1,$8_1)?$4_1:0)|$2_1;$9_1=$3_1>>>0>3;$3_1=$4_1;if($9_1){continue}break}}$3_1=HEAP32[$6_1+24>>2]+($11_1?$2_1^-1:$2_1+1|0)|0;HEAP32[$6_1+24>>2]=$3_1}HEAP16[$12_1>>1]=$3_1<>2];$10_1=$10_1+1|0;if(($10_1|0)>2]){continue}break}}return 1}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=117;FUNCTION_TABLE[HEAP32[$1_1+4>>2]]($0_1,-1);HEAP32[$5_1+20>>2]=-1;return 1}function $886($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;var $8_1=0,$9_1=0,$10_1=0,$11_1=0;$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1+8>>2]=$5_1;HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1+8>>2]=$5_1;label$1:{label$2:{label$3:{while(1){label$6:{$2_1=HEAP32[$0_1+12>>2];if($2_1>>>0>=$3_1>>>0){break label$6}$9_1=HEAP32[$0_1+8>>2];if($9_1>>>0>=$6_1>>>0){break label$6}$1_1=2;$5_1=HEAPU8[$2_1|0];if($5_1>>>0>1114111){break label$2}label$7:{if($5_1<<24>>24>=0){HEAP16[$9_1>>1]=$5_1;$1_1=$2_1+1|0;break label$7}if($5_1>>>0<194){break label$2}if($5_1>>>0<=223){if(($3_1-$2_1|0)<2){break label$3}$8_1=HEAPU8[$2_1+1|0];if(($8_1&192)!=128){break label$1}$5_1=$8_1&63|$5_1<<6&1984;if($5_1>>>0>1114111){break label$1}HEAP16[$9_1>>1]=$5_1;$1_1=$2_1+2|0;break label$7}if($5_1>>>0<=239){if(($3_1-$2_1|0)<3){break label$3}$10_1=HEAPU8[$2_1+2|0];$8_1=HEAPU8[$2_1+1|0];label$11:{label$12:{if(($5_1|0)!=237){if(($5_1|0)!=224){break label$12}if(($8_1&224)==160){break label$11}break label$1}if(($8_1&224)==128){break label$11}break label$1}if(($8_1&192)!=128){break label$1}}if(($10_1&192)!=128){break label$1}$5_1=$10_1&63|(($8_1&63)<<6|$5_1<<12);if(($5_1&65535)>>>0>1114111){break label$1}HEAP16[$9_1>>1]=$5_1;$1_1=$2_1+3|0;break label$7}if($5_1>>>0>244){break label$2}$1_1=1;if(($3_1-$2_1|0)<4){break label$1}$10_1=HEAPU8[$2_1+3|0];$8_1=HEAPU8[$2_1+2|0];$2_1=HEAPU8[$2_1+1|0];label$14:{label$15:{switch($5_1-240|0){case 0:if(($2_1+112&255)>>>0>=48){break label$2}break label$14;case 4:if(($2_1&240)!=128){break label$2}break label$14;default:break label$15}}if(($2_1&192)!=128){break label$2}}if(($8_1&192)!=128|($10_1&192)!=128){break label$2}if(($6_1-$9_1|0)<4){break label$1}$1_1=2;$10_1=$10_1&63;$11_1=$8_1<<6;$5_1=$5_1&7;if(($10_1|($11_1&4032|($2_1<<12&258048|$5_1<<18)))>>>0>1114111){break label$1}$1_1=$2_1<<2;HEAP16[$9_1>>1]=($8_1>>>4&3|($1_1&192|$5_1<<8|$1_1&60))+16320|55296;HEAP32[$0_1+8>>2]=$9_1+2;HEAP16[$9_1+2>>1]=$10_1|$11_1&960|56320;$1_1=HEAP32[$0_1+12>>2]+4|0}HEAP32[$0_1+12>>2]=$1_1;HEAP32[$0_1+8>>2]=HEAP32[$0_1+8>>2]+2;continue}break}$1_1=$2_1>>>0<$3_1>>>0;break label$1}$1_1=1;break label$1}$1_1=2}HEAP32[$4_1>>2]=HEAP32[$0_1+12>>2];HEAP32[$7_1>>2]=HEAP32[$0_1+8>>2];global$0=$0_1+16|0;return $1_1|0}function $1037($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0;$16_1=HEAP32[$0_1+336>>2];$0_1=HEAP32[$1_1+84>>2];$5_1=global$0-128|0;$1_1=$5_1;while(1){$9_1=Math_imul(HEAP32[$0_1+96>>2],HEAP16[$2_1+48>>1]);$6_1=Math_imul(HEAP32[$0_1+32>>2],HEAP16[$2_1+16>>1]);$8_1=Math_imul($9_1+$6_1|0,4433)+1024|0;$10_1=Math_imul(HEAP32[$0_1+64>>2],HEAP16[$2_1+32>>1]);$11_1=Math_imul(HEAP32[$0_1>>2],HEAP16[$2_1>>1]);$7_1=$10_1+$11_1<<2;$6_1=$8_1+Math_imul($6_1,6270)>>11;HEAP32[$1_1+96>>2]=$7_1-$6_1;HEAP32[$1_1>>2]=$6_1+$7_1;$6_1=$11_1-$10_1<<2;$8_1=$8_1+Math_imul($9_1,-15137)>>11;HEAP32[$1_1+64>>2]=$6_1-$8_1;HEAP32[$1_1+32>>2]=$6_1+$8_1;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$2_1=$2_1+2|0;$12_1=$12_1+1|0;if(($12_1|0)!=8){continue}break}$0_1=$16_1-384|0;$2_1=$5_1;$12_1=0;while(1){$5_1=HEAP32[$2_1+4>>2];$8_1=HEAP32[$2_1+28>>2];$16_1=Math_imul($5_1+$8_1|0,-7373);$9_1=HEAP32[$2_1+20>>2];$7_1=$9_1+$5_1|0;$6_1=HEAP32[$2_1+12>>2];$13_1=$6_1+$8_1|0;$10_1=Math_imul($7_1+$13_1|0,9633);$14_1=HEAP32[$2_1+24>>2];$15_1=HEAP32[$2_1+8>>2];$11_1=Math_imul($14_1+$15_1|0,4433);$1_1=HEAP32[($12_1<<2)+$3_1>>2]+$4_1|0;$17_1=HEAP32[$2_1>>2]+16400|0;$18_1=HEAP32[$2_1+16>>2];$19_1=$17_1+$18_1<<13;$15_1=$11_1+Math_imul($15_1,6270)|0;$20_1=$19_1+$15_1|0;$21_1=$16_1+Math_imul($5_1,12299)|0;$5_1=$10_1+Math_imul($7_1,-3196)|0;$7_1=$21_1+$5_1|0;HEAP8[$1_1|0]=HEAPU8[$0_1+($20_1+$7_1>>>18&1023)|0];HEAP8[$1_1+7|0]=HEAPU8[$0_1+($20_1-$7_1>>>18&1023)|0];$10_1=$10_1+Math_imul($13_1,-16069)|0;$7_1=Math_imul($6_1,25172);$6_1=Math_imul($6_1+$9_1|0,-20995);$7_1=$10_1+($7_1+$6_1|0)|0;$11_1=$11_1+Math_imul($14_1,-15137)|0;$13_1=$17_1-$18_1<<13;$14_1=$11_1+$13_1|0;HEAP8[$1_1+1|0]=HEAPU8[$0_1+($7_1+$14_1>>>18&1023)|0];HEAP8[$1_1+6|0]=HEAPU8[$0_1+($14_1-$7_1>>>18&1023)|0];$5_1=$5_1+($6_1+Math_imul($9_1,16819)|0)|0;$9_1=$13_1-$11_1|0;HEAP8[$1_1+2|0]=HEAPU8[$0_1+($5_1+$9_1>>>18&1023)|0];HEAP8[$1_1+5|0]=HEAPU8[$0_1+($9_1-$5_1>>>18&1023)|0];$5_1=$10_1+($16_1+Math_imul($8_1,2446)|0)|0;$8_1=$19_1-$15_1|0;HEAP8[$1_1+3|0]=HEAPU8[$0_1+($5_1+$8_1>>>18&1023)|0];HEAP8[$1_1+4|0]=HEAPU8[$0_1+($8_1-$5_1>>>18&1023)|0];$2_1=$2_1+32|0;$12_1=$12_1+1|0;if(($12_1|0)!=4){continue}break}}function $317($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$7_1=HEAP32[$0_1>>2];$3_1=HEAP32[$0_1+4>>2];$0_1=0;$8_1=global$0-2e3|0;global$0=$8_1;label$1:{if(($3_1|0)>500){break label$1}label$2:{label$3:{switch($3_1|0){case 1:HEAPF64[$7_1>>3]=1/HEAPF64[$7_1>>3];break label$2;case 0:break label$1;default:break label$3}}$10_1=($3_1|0)>0?$3_1:0;while(1)if(($0_1|0)==($10_1|0)){while(1){if(($5_1|0)==($10_1|0)){$5_1=0;while(1){$1_1=$5_1;if(($10_1|0)==($1_1|0)){break label$2}while(1){label$11:{if(($1_1|0)==($3_1|0)){$1_1=$3_1;break label$11}if(HEAP32[($1_1<<2)+$8_1>>2]==($5_1|0)){break label$11}$1_1=$1_1+1|0;continue}break}HEAP32[($1_1<<2)+$8_1>>2]=HEAP32[($5_1<<2)+$8_1>>2];$0_1=($5_1<<3)+$7_1|0;$1_1=($1_1<<3)+$7_1|0;$2_1=0;while(1){if(($2_1|0)!=($10_1|0)){$4_1=HEAPF64[$1_1>>3];HEAPF64[$1_1>>3]=HEAPF64[$0_1>>3];HEAPF64[$0_1>>3]=$4_1;$2_1=$2_1+1|0;$9_1=$3_1<<3;$0_1=$9_1+$0_1|0;$1_1=$1_1+$9_1|0;continue}break}$5_1=$5_1+1|0;continue}}$4_1=0;$2_1=-1;$0_1=$5_1;$9_1=(Math_imul($3_1,$0_1)<<3)+$7_1|0;$1_1=$9_1;while(1){if(($0_1|0)!=($3_1|0)){$11_1=Math_abs(HEAPF64[$1_1>>3]);$6_1=$11_1>$4_1;$4_1=$6_1?$11_1:$4_1;$2_1=$6_1?$0_1:$2_1;$0_1=$0_1+1|0;$1_1=($3_1<<3)+$1_1|0;continue}break}$0_1=0;if(($2_1|0)==-1|$4_1<=1e-10){break label$1}$0_1=($2_1<<2)+$8_1|0;$1_1=HEAP32[$0_1>>2];$6_1=$0_1;$0_1=($5_1<<2)+$8_1|0;HEAP32[$6_1>>2]=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=$1_1;$0_1=(Math_imul($2_1,$3_1)<<3)+$7_1|0;$2_1=0;$1_1=$9_1;while(1){if(($2_1|0)!=($3_1|0)){$4_1=HEAPF64[$0_1>>3];HEAPF64[$0_1>>3]=HEAPF64[$1_1>>3];HEAPF64[$1_1>>3]=$4_1;$2_1=$2_1+1|0;$1_1=$1_1+8|0;$0_1=$0_1+8|0;continue}break}$4_1=HEAPF64[$9_1>>3];$1_1=1;$0_1=$9_1;while(1){if(($1_1|0)!=($3_1|0)){HEAPF64[$0_1>>3]=HEAPF64[$0_1+8>>3]/$4_1;$1_1=$1_1+1|0;$0_1=$0_1+8|0;continue}break}HEAPF64[$0_1>>3]=1/$4_1;$6_1=0;while(1){if(($3_1|0)!=($6_1|0)){if(($5_1|0)!=($6_1|0)){$0_1=(Math_imul($3_1,$6_1)<<3)+$7_1|0;$4_1=-HEAPF64[$0_1>>3];$1_1=1;$2_1=$9_1;while(1){if(($1_1|0)!=($3_1|0)){HEAPF64[$0_1>>3]=$4_1*HEAPF64[$2_1>>3]+HEAPF64[$0_1+8>>3];$2_1=$2_1+8|0;$1_1=$1_1+1|0;$0_1=$0_1+8|0;continue}break}HEAPF64[$0_1>>3]=HEAPF64[$2_1>>3]*$4_1}$6_1=$6_1+1|0;continue}break}$5_1=$5_1+1|0;continue}}else{HEAP32[($0_1<<2)+$8_1>>2]=$0_1;$0_1=$0_1+1|0;continue}}$0_1=$7_1}global$0=$8_1+2e3|0;return $0_1?0:-1}function $973(){var $0_1=0,$1_1=0,$2_1=0,$3_1=0,$4_1=0;global$8=5318080;global$7=75200;fimport$36(67996);HEAP32[16999]=67996;HEAP32[17010]=global$8;HEAP32[17005]=2;HEAP32[17011]=global$8-global$7;HEAP32[17016]=68064;HEAP32[17021]=67972;HEAP32[17003]=42;HEAP32[17015]=74064;$0_1=global$0-16|0;global$0=$0_1;label$1:{if(fimport$40($0_1+12|0,$0_1+8|0)|0){break label$1}$1_1=$7((HEAP32[$0_1+12>>2]<<2)+4|0);HEAP32[16984]=$1_1;if(!$1_1){break label$1}$1_1=$7(HEAP32[$0_1+8>>2]);if($1_1){HEAP32[HEAP32[16984]+(HEAP32[$0_1+12>>2]<<2)>>2]=0;if(!(fimport$39(HEAP32[16984],$1_1|0)|0)){break label$1}}HEAP32[16984]=0}global$0=$0_1+16|0;label$3:{if(Atomics.load(HEAPU8,71944)&1){break label$3}if(!$90(71944)){break label$3}$1_1=HEAP32[13021];$2_1=global$0-16|0;global$0=$2_1;$0_1=$574(71588);HEAP32[$0_1+40>>2]=71644;HEAP32[$0_1+32>>2]=$1_1;HEAP32[$0_1>>2]=52096;HEAP8[$0_1+52|0]=0;HEAP32[$0_1+48>>2]=-1;$3_1=$2_1+8|0;$344($3_1,$0_1);FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+8>>2]]($0_1,$3_1);$19($3_1);global$0=$2_1+16|0;$0_1=$935(70912);HEAP32[17726]=51244;HEAP32[$0_1>>2]=51264;HEAP32[17727]=0;$408($0_1,71588);$3_1=HEAP32[11737];$547(71652,$3_1,71700);$421(71080,71652);$4_1=HEAP32[11736];$547(71708,$4_1,71756);$421(71248,71708);$421(71416,HEAP32[(HEAP32[HEAP32[17812]-12>>2]+71248|0)+24>>2]);$339(HEAP32[HEAP32[17726]-12>>2]+70904|0,71080);$969(HEAP32[HEAP32[17812]-12>>2]+71248|0);$339(HEAP32[HEAP32[17812]-12>>2]+71248|0,71080);$2_1=global$0-16|0;global$0=$2_1;$0_1=$559(71764);HEAP32[$0_1+40>>2]=71820;HEAP32[$0_1+32>>2]=$1_1;HEAP32[$0_1>>2]=52300;HEAP8[$0_1+52|0]=0;HEAP32[$0_1+48>>2]=-1;$1_1=$2_1+8|0;$344($1_1,$0_1);FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+8>>2]]($0_1,$1_1);$19($1_1);global$0=$2_1+16|0;$0_1=$968(71e3);HEAP32[17748]=51404;HEAP32[$0_1>>2]=51424;HEAP32[17749]=0;$408($0_1,71764);$970(71828,$3_1,71876);$546(71164,71828);$970(71884,$4_1,71932);$546(71332,71884);$546(71500,HEAP32[(HEAP32[HEAP32[17833]-12>>2]+71332|0)+24>>2]);$339(HEAP32[HEAP32[17748]-12>>2]+70992|0,71164);$969(HEAP32[HEAP32[17833]-12>>2]+71332|0);$339(HEAP32[HEAP32[17833]-12>>2]+71332|0,71164);$89(71944)}$226(67484);$226(67504);HEAP32[16974]=0;HEAP32[16973]=41;$686();HEAP32[16974]=HEAP32[16975];HEAP32[16975]=67892;HEAP32[16976]=232;HEAP32[16977]=0;$652();HEAP32[16977]=HEAP32[16975];HEAP32[16975]=67904}function $887($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;var $8_1=0,$9_1=0;$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1+8>>2]=$5_1;HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1+8>>2]=$5_1;$2_1=HEAP32[$0_1+12>>2];label$1:{label$3:{while(1){if($2_1>>>0>=$3_1>>>0){$5_1=0;break label$1}$5_1=2;$1_1=HEAPU16[$2_1>>1];if($1_1>>>0>1114111){break label$1}label$6:{label$7:{if($1_1>>>0<=127){$5_1=1;$2_1=HEAP32[$0_1+8>>2];if(($6_1-$2_1|0)<=0){break label$1}HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1;break label$7}if($1_1>>>0<=2047){$2_1=HEAP32[$0_1+8>>2];if(($6_1-$2_1|0)<2){break label$3}HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1>>>6|192;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1&63|128;break label$7}if($1_1>>>0<=55295){$2_1=HEAP32[$0_1+8>>2];if(($6_1-$2_1|0)<3){break label$3}HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1>>>12|224;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1>>>6&63|128;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1&63|128;break label$7}if($1_1>>>0<=56319){$5_1=1;if(($3_1-$2_1|0)<4){break label$1}$8_1=HEAPU16[$2_1+2>>1];if(($8_1&64512)!=56320){break label$6}if(($6_1-HEAP32[$0_1+8>>2]|0)<4){break label$1}$5_1=$1_1&960;if(($8_1&1023|($1_1<<10&64512|$5_1<<10))+65536>>>0>1114111){break label$6}HEAP32[$0_1+12>>2]=$2_1+2;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;$9_1=$2_1;$2_1=($5_1>>>6|0)+1|0;HEAP8[$9_1|0]=$2_1>>>2|240;$5_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$5_1+1;HEAP8[$5_1|0]=$2_1<<4&48|$1_1>>>2&15|128;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$8_1>>>6&15|$1_1<<4&48|128;$1_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$1_1+1;HEAP8[$1_1|0]=$8_1&63|128;break label$7}if($1_1>>>0<57344){break label$1}$2_1=HEAP32[$0_1+8>>2];if(($6_1-$2_1|0)<3){break label$3}HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1>>>12|224;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1>>>6&63|128;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1&63|128}$2_1=HEAP32[$0_1+12>>2]+2|0;HEAP32[$0_1+12>>2]=$2_1;continue}break}$5_1=2;break label$1}$5_1=1}HEAP32[$4_1>>2]=HEAP32[$0_1+12>>2];HEAP32[$7_1>>2]=HEAP32[$0_1+8>>2];global$0=$0_1+16|0;return $5_1|0}function $1186($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;$6_1=global$0-192|0;global$0=$6_1;$10_1=-1;$4_1=$15($0_1);$1_1=global$0-288|0;global$0=$1_1;$5_1=-1;$7_1=$6_1+8|0;label$1:{if(!$7_1|!$4_1){break label$1}$3_1=$216($4_1,4272);if(!$3_1){$2_1=$22();$3_1=HEAP32[$2_1>>2];HEAP32[$1_1+20>>2]=$4_1;HEAP32[$1_1+16>>2]=$3_1;$5(0,3,5455,$1_1+16|0);HEAP32[$1_1+4>>2]=$247(HEAP32[$2_1>>2]);HEAP32[$1_1>>2]=4074;$5(0,3,3312,$1_1);break label$1}$5_1=0;$364($3_1,0,2);label$4:{if(HEAP32[$3_1+76>>2]<0){$4_1=HEAP32[$3_1>>2];break label$4}$2_1=$125($3_1);$4_1=HEAP32[$3_1>>2];if(!$2_1){break label$4}$114($3_1)}label$3:{label$6:{if($4_1>>>5&1){$5_1=$22();HEAP32[$1_1+80>>2]=HEAP32[$5_1>>2];$5(0,3,5880,$1_1+80|0);HEAP32[$1_1+68>>2]=$247(HEAP32[$5_1>>2]);HEAP32[$1_1+64>>2]=4074;$5(0,3,3312,$1_1- -64|0);break label$6}$2_1=$637($3_1);$607($3_1);label$8:{while(1){$4_1=$5_1;if(($4_1|0)==4){break label$8}$5_1=$4_1+1|0;if(($2_1|0)%HEAP32[(($4_1<<3)+21264|0)+4>>2]|0){continue}break}if(($47($1_1+96|0,HEAP32[(($4_1<<3)+21264|0)+4>>2],1,$3_1)|0)!=1){$5_1=$22();HEAP32[$1_1+48>>2]=HEAP32[$5_1>>2];$5(0,3,7487,$1_1+48|0);HEAP32[$1_1+36>>2]=$247(HEAP32[$5_1>>2]);HEAP32[$1_1+32>>2]=4074;$5(0,3,3312,$1_1+32|0);break label$6}HEAP32[$1_1+272>>2]=$5_1;$759($1_1+96|0);if(!$4_1){$8_1=HEAPF64[$1_1+224>>3];HEAPF64[$1_1+224>>3]=HEAPF64[$1_1+216>>3];HEAPF64[$1_1+216>>3]=$8_1}wasm2js_memory_copy($7_1,$1_1+96|0,184);HEAP32[$1_1+284>>2]=0;$9_1=1;while(1){$2_1=0;if(($9_1|0)==1){break label$3}$2_1=HEAP32[$1_1+284>>2];HEAP32[$1_1+284>>2]=$2_1+4;$2_1=HEAP32[$2_1>>2];HEAP32[$2_1+176>>2]=HEAP32[$7_1+176>>2];if(($47($1_1+96|0,HEAP32[(HEAP32[$7_1+176>>2]<<3)+21260>>2],1,$3_1)|0)!=1){break label$6}HEAP32[$1_1+272>>2]=$5_1;$759($1_1+96|0);if(!$4_1){$8_1=HEAPF64[$1_1+224>>3];HEAPF64[$1_1+224>>3]=HEAPF64[$1_1+216>>3];HEAPF64[$1_1+216>>3]=$8_1}wasm2js_memory_copy($2_1,$1_1+96|0,184);$9_1=$9_1+1|0;continue}}$5(0,3,7106,0)}$2_1=-1}$5_1=$2_1;$87($3_1)}global$0=$1_1+288|0;label$14:{if(($5_1|0)<0){HEAP32[$6_1>>2]=$15($0_1);$5(0,3,37746,$6_1);break label$14}$0_1=HEAP32[16881];HEAP32[16881]=$0_1+1;HEAP32[$6_1+4>>2]=$0_1;wasm2js_memory_copy($690($6_1+4|0),$6_1+8|0,184);$10_1=HEAP32[$6_1+4>>2]}global$0=$6_1+192|0;return $10_1|0}function $358($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$2_1=global$0-32|0;global$0=$2_1;HEAP32[$2_1+24>>2]=0;HEAP32[$2_1+16>>2]=0;HEAP32[$2_1+20>>2]=0;HEAP32[$2_1+8>>2]=0;HEAP32[$2_1+12>>2]=0;if((global$3|0)==67996){fimport$33()}label$2:{if(HEAP32[global$3+16>>2]!=(HEAP32[$1_1+4>>2]&2147483647)?HEAPU8[$1_1|0]&15:0){break label$2}$7_1=HEAP32[$0_1>>2];label$4:{if($7_1){$5_1=HEAP32[$0_1+8>>2];$190($0_1+12|0);$3_1=$0_1+8|0;break label$4}$3_1=$0_1+32|0;$360($3_1);$5_1=2;HEAP32[$2_1+20>>2]=2;HEAP32[$2_1+16>>2]=0;$4_1=HEAP32[$0_1+4>>2];HEAP32[$2_1+12>>2]=$4_1;$6_1=$2_1+8|0;HEAP32[$0_1+4>>2]=$6_1;HEAP32[(HEAP32[$0_1+20>>2]?$4_1:$0_1+20|0)>>2]=$6_1;$359($3_1);$3_1=$2_1+20|0}$77($1_1);$251(2,$2_1+4|0);if(HEAP32[$2_1+4>>2]==1){$251(1,0)}$6_1=!$7_1;$4_1=$443($3_1,$5_1,$6_1);label$7:{if(HEAP32[$3_1>>2]!=($5_1|0)){break label$7}while(1){if($4_1?($4_1|0)!=27:0){break label$7}$4_1=$443($3_1,$5_1,$6_1);if(HEAP32[$3_1>>2]==($5_1|0)){continue}break}}$4_1=($4_1|0)==27?0:$4_1;label$9:{label$10:{if($7_1){$4_1=($4_1|0)==11?HEAP32[$0_1+8>>2]==($5_1|0)?11:0:$4_1;$0_1=$0_1+12|0;if(($619($0_1)|0)!=-2147483647){break label$10}$215($0_1);break label$10}if(!$113($2_1+16|0,0,2)){$3_1=$0_1+32|0;$360($3_1);label$14:{if(HEAP32[$0_1+4>>2]==($2_1+8|0)){HEAP32[$0_1+4>>2]=HEAP32[$2_1+12>>2];break label$14}$5_1=HEAP32[$2_1+8>>2];if(!$5_1){break label$14}HEAP32[$5_1+4>>2]=HEAP32[$2_1+12>>2]}label$16:{if(HEAP32[$0_1+20>>2]==($2_1+8|0)){HEAP32[$0_1+20>>2]=HEAP32[$2_1+8>>2];break label$16}$0_1=HEAP32[$2_1+12>>2];if(!$0_1){break label$16}HEAP32[$0_1>>2]=HEAP32[$2_1+8>>2]}$359($3_1);$0_1=HEAP32[$2_1+24>>2];if(!$0_1){break label$10}if(($619($0_1)|0)!=1){break label$10}$215(HEAP32[$2_1+24>>2]);break label$10}$360($2_1+20|0);$70($1_1);if(!(HEAP32[$2_1+12>>2]|HEAPU8[$1_1|0]&8)){$190($1_1+8|0)}$0_1=HEAP32[$2_1+8>>2];label$19:{if($0_1){$3_1=HEAP32[$1_1+4>>2];if(($3_1|0)>0){$113($1_1+4|0,$3_1,$3_1|-2147483648);$0_1=HEAP32[$2_1+8>>2]}$0_1=$0_1+12|0;$618($0_1);$191($0_1,2147483647);break label$19}if(HEAPU8[$1_1|0]&8){break label$19}$368($1_1+8|0)}$0_1=HEAP32[$2_1+4>>2];break label$9}$0_1=$70($1_1);$251(HEAP32[$2_1+4>>2],0);if((($0_1?$0_1:$4_1)|0)!=11){break label$2}$0_1=1}$251($0_1,0)}global$0=$2_1+32|0}function $932($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0;$9_1=global$0-16|0;global$0=$9_1;$10_1=$101($6_1);$13_1=$291($6_1);$107($9_1,$13_1);HEAP32[$5_1>>2]=$3_1;label$1:{label$2:{$7_1=$0_1;$6_1=HEAPU8[$7_1|0];switch($6_1-43|0){case 0:case 2:break label$2;default:break label$1}}$6_1=$109($10_1,$6_1<<24>>24);$7_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$7_1+4;HEAP32[$7_1>>2]=$6_1;$7_1=$0_1+1|0}label$3:{$6_1=$7_1;if(!(($2_1-$6_1|0)<=1|HEAPU8[$6_1|0]!=48|(HEAPU8[$6_1+1|0]|32)!=120)){$6_1=$109($10_1,48);$8_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$8_1+4;HEAP32[$8_1>>2]=$6_1;$6_1=$109($10_1,HEAP8[$7_1+1|0]);$8_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$8_1+4;HEAP32[$8_1>>2]=$6_1;$7_1=$7_1+2|0;$6_1=$7_1;while(1){if($2_1>>>0<=$6_1>>>0){break label$3}if(!$957(HEAP8[$6_1|0],$43())){break label$3}$6_1=$6_1+1|0;continue}}while(1){if($2_1>>>0<=$6_1>>>0){break label$3}$8_1=HEAP8[$6_1|0];$43();if(!$132($8_1)){break label$3}$6_1=$6_1+1|0;continue}}label$7:{if($150($9_1)){$185($10_1,$7_1,$6_1,HEAP32[$5_1>>2]);HEAP32[$5_1>>2]=HEAP32[$5_1>>2]+($6_1-$7_1<<2);break label$7}$237($7_1,$6_1);$15_1=$108($13_1);$8_1=$7_1;while(1){if($6_1>>>0<=$8_1>>>0){$412(($7_1-$0_1<<2)+$3_1|0,HEAP32[$5_1>>2])}else{label$12:{if(HEAP8[$16($9_1,$11_1)|0]<=0){break label$12}if(HEAP8[$16($9_1,$11_1)|0]!=($12_1|0)){break label$12}$12_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$12_1+4;HEAP32[$12_1>>2]=$15_1;$11_1=($6($9_1)-1>>>0>$11_1>>>0)+$11_1|0;$12_1=0}$16_1=$109($10_1,HEAP8[$8_1|0]);$14_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$14_1+4;HEAP32[$14_1>>2]=$16_1;$8_1=$8_1+1|0;$12_1=$12_1+1|0;continue}break}}label$13:{label$14:{while(1){if($2_1>>>0<=$6_1>>>0){break label$14}$7_1=HEAPU8[$6_1|0];if(($7_1|0)!=46){$7_1=$109($10_1,$7_1<<24>>24);$8_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$8_1+4;HEAP32[$8_1>>2]=$7_1;$6_1=$6_1+1|0;continue}break}$7_1=$149($13_1);$11_1=HEAP32[$5_1>>2];$8_1=$11_1+4|0;HEAP32[$5_1>>2]=$8_1;HEAP32[$11_1>>2]=$7_1;$6_1=$6_1+1|0;break label$13}$8_1=HEAP32[$5_1>>2]}$185($10_1,$6_1,$2_1,$8_1);$7_1=$5_1;$5_1=HEAP32[$5_1>>2]+($2_1-$6_1<<2)|0;HEAP32[$7_1>>2]=$5_1;HEAP32[$4_1>>2]=($1_1|0)==($2_1|0)?$5_1:($1_1-$0_1<<2)+$3_1|0;$8($9_1);global$0=$9_1+16|0}function $690($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=Math_fround(0),$9_1=0,$10_1=0;$4_1=global$0-32|0;global$0=$4_1;HEAP32[$4_1+16>>2]=$316($0_1);$9_1=$4_1+24|0;$1_1=global$0-32|0;global$0=$1_1;$13(67504);$6_1=HEAP32[$0_1>>2];$2_1=$104(67504);HEAP8[$1_1+31|0]=0;label$1:{label$2:{if(!$2_1){break label$2}$5_1=$46($6_1,$2_1);$3_1=HEAP32[$9(67504,$5_1)>>2];if(!$3_1){break label$2}while(1){$3_1=HEAP32[$3_1>>2];if(!$3_1){break label$2}if(HEAP32[$3_1+4>>2]!=($6_1|0)){if(($46(HEAP32[$3_1+4>>2],$2_1)|0)!=($5_1|0)){break label$2}}if(!$225($45(67504),$3_1+8|0,$0_1)){continue}break}break label$1}$7_1=global$0-16|0;global$0=$7_1;$0_1=$4(67504);$0_1=$261($1_1+16|0,$48(200),$262($7_1+8|0,$0_1,0));$10_1=HEAP32[$0_1>>2]+8|0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+8>>2]=HEAP32[$4_1+16>>2];HEAP32[$10_1>>2]=HEAP32[HEAP32[$3_1+8>>2]>>2];wasm2js_memory_fill($10_1+8|0,0,184);global$0=$3_1+16|0;HEAP8[$34($0_1)+4|0]=1;HEAP32[HEAP32[$0_1>>2]+4>>2]=$6_1;HEAP32[HEAP32[$0_1>>2]>>2]=0;global$0=$7_1+16|0;if(!(Math_fround(HEAP32[$13(67504)>>2]+1>>>0)>Math_fround(HEAPF32[$45(67504)>>2]*Math_fround($2_1>>>0))?0:$2_1)){HEAP32[$1_1+12>>2]=$224($2_1)^1|$2_1<<1;$8_1=Math_fround(Math_ceil(Math_fround(Math_fround(HEAP32[$13(67504)>>2]+1>>>0)/HEAPF32[$45(67504)>>2])));label$7:{if($8_1=Math_fround(0)){$0_1=~~$8_1>>>0;break label$7}$0_1=0}HEAP32[$1_1+8>>2]=$0_1;$264(67504,HEAP32[$67($1_1+12|0,$1_1+8|0)>>2]);$2_1=$104(67504);$5_1=$46($6_1,$2_1)}$0_1=HEAP32[$9(67504,$5_1)>>2];label$9:{if(!$0_1){HEAP32[HEAP32[$1_1+16>>2]>>2]=HEAP32[16878];HEAP32[16878]=HEAP32[$1_1+16>>2];HEAP32[$9(67504,$5_1)>>2]=67512;if(!HEAP32[HEAP32[$1_1+16>>2]>>2]){break label$9}$0_1=HEAP32[$1_1+16>>2];HEAP32[$9(67504,$46(HEAP32[HEAP32[HEAP32[$1_1+16>>2]>>2]+4>>2],$2_1))>>2]=$0_1;break label$9}HEAP32[HEAP32[$1_1+16>>2]>>2]=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=HEAP32[$1_1+16>>2]}$0_1=$1_1+16|0;$3_1=$141($0_1);$2_1=$13(67504);HEAP32[$2_1>>2]=HEAP32[$2_1>>2]+1;HEAP8[$1_1+31|0]=1;$2_1=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=0;if($2_1){$34($0_1);if($2_1){$1($2_1)}}}$263($9_1,$80($1_1+16|0,$3_1),$1_1+31|0);global$0=$1_1+32|0;$0_1=$63($9_1);global$0=$4_1+32|0;return $0_1+8|0}function $1104($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0;$3_1=HEAP32[$0_1+468>>2];if(HEAP32[$0_1+280>>2]){$2_1=HEAP32[$3_1+56>>2];if(!$2_1){$307($0_1);$2_1=HEAP32[$3_1+56>>2]}HEAP32[$3_1+56>>2]=$2_1-1}label$4:{label$5:{if(HEAP32[$3_1+20>>2]==-1){break label$5}$7_1=$3_1+188|0;$4_1=HEAP32[$0_1+412>>2]-1|0;$2_1=HEAP32[HEAP32[$0_1+344>>2]+24>>2];$8_1=$2_1+$0_1|0;$5_1=($2_1<<2)+$3_1|0;$9_1=HEAP32[$1_1>>2];$10_1=HEAP32[$0_1+432>>2];while(1){$2_1=$4_1;$1_1=HEAP32[$5_1+124>>2]+Math_imul($2_1,3)|0;if($10($0_1,$1_1)){break label$5}while(1){label$8:{$4_1=$2_1+1|0;if($10($0_1,$1_1+1|0)){break label$8}$1_1=$1_1+3|0;$2_1=$4_1;if(($2_1|0)>2]){continue}break label$4}break}$11_1=$10($0_1,$7_1);$1_1=$1_1+2|0;label$9:{if(!$10($0_1,$1_1)){$2_1=0;break label$9}if(!$10($0_1,$1_1)){$2_1=1;break label$9}$2_1=HEAP32[$5_1+124>>2]+(HEAPU8[$8_1+264|0]>($2_1|0)?189:217)|0;label$12:{if(!$10($0_1,$2_1)){$1_1=2;break label$12}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$1_1=4;break label$12}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$1_1=8;break label$12}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$1_1=16;break label$12}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$1_1=32;break label$12}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$1_1=64;break label$12}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$1_1=128;break label$12}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$1_1=256;break label$12}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$1_1=512;break label$12}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$1_1=1024;break label$12}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$1_1=2048;break label$12}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$1_1=4096;break label$12}$2_1=$2_1+1|0;if(!$10($0_1,$2_1)){$1_1=8192;break label$12}$1_1=16384;$2_1=$2_1+1|0;if($10($0_1,$2_1)){break label$4}}$12_1=$2_1+14|0;$2_1=$1_1;while(1){$6_1=$1_1>>>1|0;$2_1=($10($0_1,$12_1)?$6_1:0)|$2_1;$13_1=$1_1>>>0>3;$1_1=$6_1;if($13_1){continue}break}}HEAP16[(HEAP32[($4_1<<2)+$10_1>>2]<<1)+$9_1>>1]=($11_1?$2_1^-1:$2_1+1|0)<>2];if(HEAP32[$0_1+416>>2]>($4_1|0)){continue}break}}return 1}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=117;FUNCTION_TABLE[HEAP32[$1_1+4>>2]]($0_1,-1);HEAP32[$3_1+20>>2]=-1;return 1}function $1016($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;$2_1=HEAP32[$0_1+484>>2];HEAP32[$0_1+136>>2]=HEAP32[$2_1+16>>2];HEAP32[$0_1+132>>2]=HEAP32[$2_1+20>>2];label$1:{label$2:{switch(HEAP32[$0_1+88>>2]){case 0:if(HEAP32[$0_1+120>>2]==3){HEAP32[$2_1+4>>2]=220;return}HEAP32[$2_1+4>>2]=221;return;case 1:$1_1=HEAP32[$0_1+120>>2];HEAP32[$2_1+48>>2]=0;HEAP32[$2_1+4>>2]=($1_1|0)==3?222:223;if(!HEAP32[$2_1+28>>2]){$656($0_1)}if(HEAP32[$2_1+52>>2]){break label$1}$3_1=HEAP32[$0_1+120>>2];if(($3_1|0)<=0){break label$1}$7_1=HEAP32[$0_1+484>>2];$2_1=0;while(1){$8_1=($2_1<<2)+$7_1|0;$5_1=HEAP32[$8_1+32>>2];$1_1=0;label$9:{label$10:{if(!$2_1){break label$10}while(1){$4_1=($1_1<<2)+$7_1|0;if(($5_1|0)!=HEAP32[$4_1+32>>2]){$1_1=$1_1+1|0;if(($2_1|0)!=($1_1|0)){continue}break label$10}break}$4_1=HEAP32[$4_1+52>>2];if($4_1){break label$9}}$5_1=($5_1<<9)-512|0;$3_1=0;$4_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024)|0;while(1){$1_1=0;while(1){$6_1=HEAP8[(($3_1<<4)+$1_1|0)+40704|0];$9_1=Math_imul($6_1&255,-510);$10_1=(($3_1<<6)+$4_1|0)+($1_1<<2)|0;if(($6_1|0)<0){$6_1=0-((-65025-$9_1|0)/($5_1|0)|0)|0}else{$6_1=($9_1+65025|0)/($5_1|0)|0}HEAP32[$10_1>>2]=$6_1;$1_1=$1_1+1|0;if(($1_1|0)!=16){continue}break}$3_1=$3_1+1|0;if(($3_1|0)!=16){continue}break}$3_1=HEAP32[$0_1+120>>2]}HEAP32[$8_1+52>>2]=$4_1;$2_1=$2_1+1|0;if(($3_1|0)>($2_1|0)){continue}break};break label$1;case 2:HEAP32[$2_1+84>>2]=0;HEAP32[$2_1+4>>2]=224;label$17:{if(HEAP32[$2_1+68>>2]){$3_1=HEAP32[$0_1+120>>2];break label$17}if(HEAP32[$0_1+120>>2]<=0){break label$1}$4_1=(HEAP32[$0_1+112>>2]<<1)+4|0;$1_1=0;while(1){HEAP32[($2_1+($1_1<<2)|0)+68>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+4>>2]]($0_1,1,$4_1);$1_1=$1_1+1|0;$3_1=HEAP32[$0_1+120>>2];if(($1_1|0)<($3_1|0)){continue}break}}if(($3_1|0)<=0){break label$1}$3_1=(HEAP32[$0_1+112>>2]<<1)+4|0;$1_1=0;while(1){$11(HEAP32[($2_1+($1_1<<2)|0)+68>>2],0,$3_1);$1_1=$1_1+1|0;if(($1_1|0)>2]){continue}break};break label$1;default:break label$2}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=49;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}}function $934($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0;$9_1=global$0-16|0;global$0=$9_1;$10_1=$106($6_1);$13_1=$293($6_1);$107($9_1,$13_1);HEAP32[$5_1>>2]=$3_1;label$1:{label$2:{$7_1=$0_1;$6_1=HEAPU8[$7_1|0];switch($6_1-43|0){case 0:case 2:break label$2;default:break label$1}}$6_1=$83($10_1,$6_1<<24>>24);$7_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$7_1+1;HEAP8[$7_1|0]=$6_1;$7_1=$0_1+1|0}label$3:{$6_1=$7_1;if(!(($2_1-$6_1|0)<=1|HEAPU8[$6_1|0]!=48|(HEAPU8[$6_1+1|0]|32)!=120)){$6_1=$83($10_1,48);$8_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$8_1+1;HEAP8[$8_1|0]=$6_1;$6_1=$83($10_1,HEAP8[$7_1+1|0]);$8_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$8_1+1;HEAP8[$8_1|0]=$6_1;$7_1=$7_1+2|0;$6_1=$7_1;while(1){if($2_1>>>0<=$6_1>>>0){break label$3}if(!$957(HEAP8[$6_1|0],$43())){break label$3}$6_1=$6_1+1|0;continue}}while(1){if($2_1>>>0<=$6_1>>>0){break label$3}$8_1=HEAP8[$6_1|0];$43();if(!$132($8_1)){break label$3}$6_1=$6_1+1|0;continue}}label$7:{if($150($9_1)){$207($10_1,$7_1,$6_1,HEAP32[$5_1>>2]);HEAP32[$5_1>>2]=HEAP32[$5_1>>2]+($6_1-$7_1|0);break label$7}$237($7_1,$6_1);$15_1=$108($13_1);$8_1=$7_1;while(1){if($6_1>>>0<=$8_1>>>0){$237(($7_1-$0_1|0)+$3_1|0,HEAP32[$5_1>>2])}else{label$12:{if(HEAP8[$16($9_1,$12_1)|0]<=0){break label$12}if(HEAP8[$16($9_1,$12_1)|0]!=($11_1|0)){break label$12}$11_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$11_1+1;HEAP8[$11_1|0]=$15_1;$12_1=($6($9_1)-1>>>0>$12_1>>>0)+$12_1|0;$11_1=0}$16_1=$83($10_1,HEAP8[$8_1|0]);$14_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$14_1+1;HEAP8[$14_1|0]=$16_1;$8_1=$8_1+1|0;$11_1=$11_1+1|0;continue}break}}while(1){label$14:{if($2_1>>>0>$6_1>>>0){$7_1=HEAPU8[$6_1|0];if(($7_1|0)!=46){break label$14}$7_1=$149($13_1);$8_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$8_1+1;HEAP8[$8_1|0]=$7_1;$6_1=$6_1+1|0}$207($10_1,$6_1,$2_1,HEAP32[$5_1>>2]);$7_1=$5_1;$5_1=HEAP32[$5_1>>2]+($2_1-$6_1|0)|0;HEAP32[$7_1>>2]=$5_1;HEAP32[$4_1>>2]=($1_1|0)==($2_1|0)?$5_1:($1_1-$0_1|0)+$3_1|0;$8($9_1);global$0=$9_1+16|0;return}$7_1=$83($10_1,$7_1<<24>>24);$8_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$8_1+1;HEAP8[$8_1|0]=$7_1;$6_1=$6_1+1|0;continue}}function $1079($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0;$4_1=$2_1<<2;$7_1=HEAP32[$4_1+HEAP32[$1_1+8>>2]>>2];$10_1=HEAP32[$4_1+HEAP32[$1_1+4>>2]>>2];$1_1=HEAP32[$1_1>>2]+($2_1<<3)|0;$8_1=HEAP32[$1_1>>2];$11_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$3_1+4>>2];$3_1=HEAP32[$3_1>>2];$4_1=HEAP32[$0_1+336>>2];$1_1=HEAP32[$0_1+476>>2];$13_1=HEAP32[$1_1+28>>2];$14_1=HEAP32[$1_1+24>>2];$15_1=HEAP32[$1_1+20>>2];$16_1=HEAP32[$1_1+16>>2];$1_1=HEAP32[$0_1+112>>2];if($1_1>>>0>=2){$12_1=$1_1>>>1|0;while(1){$5_1=HEAPU8[$10_1|0]<<2;$1_1=HEAP32[$5_1+$15_1>>2];$9_1=HEAPU8[$7_1|0]<<2;$17_1=HEAP32[$9_1+$14_1>>2];$18_1=HEAP32[$5_1+$13_1>>2];$5_1=HEAP32[$9_1+$16_1>>2];$6_1=HEAPU8[$8_1|0];HEAP8[$3_1|0]=HEAPU8[($5_1+$6_1|0)+$4_1|0];$9_1=$17_1+$18_1>>16;HEAP8[$3_1+1|0]=HEAPU8[($9_1+$6_1|0)+$4_1|0];HEAP8[$3_1+2|0]=HEAPU8[($1_1+$6_1|0)+$4_1|0];$6_1=HEAPU8[$8_1+1|0];HEAP8[$3_1+3|0]=HEAPU8[($6_1+$5_1|0)+$4_1|0];HEAP8[$3_1+4|0]=HEAPU8[($6_1+$9_1|0)+$4_1|0];HEAP8[$3_1+5|0]=HEAPU8[($1_1+$6_1|0)+$4_1|0];$6_1=HEAPU8[$11_1|0];HEAP8[$2_1|0]=HEAPU8[($6_1+$5_1|0)+$4_1|0];HEAP8[$2_1+1|0]=HEAPU8[($6_1+$9_1|0)+$4_1|0];HEAP8[$2_1+2|0]=HEAPU8[($1_1+$6_1|0)+$4_1|0];$6_1=$5_1;$5_1=HEAPU8[$11_1+1|0];HEAP8[$2_1+3|0]=HEAPU8[($6_1+$5_1|0)+$4_1|0];HEAP8[$2_1+4|0]=HEAPU8[($5_1+$9_1|0)+$4_1|0];HEAP8[$2_1+5|0]=HEAPU8[($1_1+$5_1|0)+$4_1|0];$2_1=$2_1+6|0;$11_1=$11_1+2|0;$3_1=$3_1+6|0;$8_1=$8_1+2|0;$7_1=$7_1+1|0;$10_1=$10_1+1|0;$12_1=$12_1-1|0;if($12_1){continue}break}$1_1=HEAP32[$0_1+112>>2]}if($1_1&1){$1_1=HEAPU8[$10_1|0]<<2;$0_1=HEAP32[$1_1+$15_1>>2];$7_1=HEAPU8[$7_1|0]<<2;$10_1=HEAP32[$7_1+$14_1>>2];$5_1=HEAP32[$1_1+$13_1>>2];$7_1=HEAP32[$7_1+$16_1>>2];$1_1=HEAPU8[$8_1|0];HEAP8[$3_1|0]=HEAPU8[($7_1+$1_1|0)+$4_1|0];$8_1=$5_1+$10_1>>16;HEAP8[$3_1+1|0]=HEAPU8[($8_1+$1_1|0)+$4_1|0];HEAP8[$3_1+2|0]=HEAPU8[($0_1+$1_1|0)+$4_1|0];$1_1=HEAPU8[$11_1|0];HEAP8[$2_1|0]=HEAPU8[($1_1+$7_1|0)+$4_1|0];HEAP8[$2_1+1|0]=HEAPU8[($1_1+$8_1|0)+$4_1|0];HEAP8[$2_1+2|0]=HEAPU8[($0_1+$1_1|0)+$4_1|0]}}function $307($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0;$2_1=HEAP32[$0_1+468>>2];if(!(FUNCTION_TABLE[HEAP32[HEAP32[$0_1+464>>2]+8>>2]]($0_1)|0)){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=25;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}if(HEAP32[$0_1+340>>2]>0){while(1){$4_1=$3_1<<2;$5_1=HEAP32[($4_1+$0_1|0)+344>>2];label$4:{label$5:{if(HEAP32[$0_1+224>>2]){if(HEAP32[$0_1+412>>2]){break label$5}if(HEAP32[$0_1+420>>2]){break label$4}}$1_1=HEAP32[((HEAP32[$5_1+20>>2]<<2)+$2_1|0)+60>>2];HEAP8[$1_1|0]=0;HEAP8[$1_1+1|0]=0;HEAP8[$1_1+2|0]=0;HEAP8[$1_1+3|0]=0;HEAP8[$1_1+4|0]=0;HEAP8[$1_1+5|0]=0;HEAP8[$1_1+6|0]=0;HEAP8[$1_1+7|0]=0;HEAP8[$1_1+56|0]=0;HEAP8[$1_1+57|0]=0;HEAP8[$1_1+58|0]=0;HEAP8[$1_1+59|0]=0;HEAP8[$1_1+60|0]=0;HEAP8[$1_1+61|0]=0;HEAP8[$1_1+62|0]=0;HEAP8[$1_1+63|0]=0;HEAP8[$1_1+48|0]=0;HEAP8[$1_1+49|0]=0;HEAP8[$1_1+50|0]=0;HEAP8[$1_1+51|0]=0;HEAP8[$1_1+52|0]=0;HEAP8[$1_1+53|0]=0;HEAP8[$1_1+54|0]=0;HEAP8[$1_1+55|0]=0;HEAP8[$1_1+40|0]=0;HEAP8[$1_1+41|0]=0;HEAP8[$1_1+42|0]=0;HEAP8[$1_1+43|0]=0;HEAP8[$1_1+44|0]=0;HEAP8[$1_1+45|0]=0;HEAP8[$1_1+46|0]=0;HEAP8[$1_1+47|0]=0;HEAP8[$1_1+32|0]=0;HEAP8[$1_1+33|0]=0;HEAP8[$1_1+34|0]=0;HEAP8[$1_1+35|0]=0;HEAP8[$1_1+36|0]=0;HEAP8[$1_1+37|0]=0;HEAP8[$1_1+38|0]=0;HEAP8[$1_1+39|0]=0;HEAP8[$1_1+24|0]=0;HEAP8[$1_1+25|0]=0;HEAP8[$1_1+26|0]=0;HEAP8[$1_1+27|0]=0;HEAP8[$1_1+28|0]=0;HEAP8[$1_1+29|0]=0;HEAP8[$1_1+30|0]=0;HEAP8[$1_1+31|0]=0;HEAP8[$1_1+16|0]=0;HEAP8[$1_1+17|0]=0;HEAP8[$1_1+18|0]=0;HEAP8[$1_1+19|0]=0;HEAP8[$1_1+20|0]=0;HEAP8[$1_1+21|0]=0;HEAP8[$1_1+22|0]=0;HEAP8[$1_1+23|0]=0;HEAP8[$1_1+8|0]=0;HEAP8[$1_1+9|0]=0;HEAP8[$1_1+10|0]=0;HEAP8[$1_1+11|0]=0;HEAP8[$1_1+12|0]=0;HEAP8[$1_1+13|0]=0;HEAP8[$1_1+14|0]=0;HEAP8[$1_1+15|0]=0;$1_1=$2_1+$4_1|0;HEAP32[$1_1+40>>2]=0;HEAP32[$1_1+24>>2]=0;if(!HEAP32[$0_1+224>>2]){if(HEAP32[$0_1+436>>2]){break label$5}break label$4}if(!HEAP32[$0_1+412>>2]){break label$4}}$11(HEAP32[((HEAP32[$5_1+24>>2]<<2)+$2_1|0)+124>>2],0,256)}$3_1=$3_1+1|0;if(($3_1|0)>2]){continue}break}}HEAP32[$2_1+20>>2]=-16;HEAP32[$2_1+12>>2]=0;HEAP32[$2_1+16>>2]=0;HEAP32[$2_1+56>>2]=HEAP32[$0_1+280>>2]}function $717($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$3_1=$278($0_1);$2_1=$327($0_1);$8_1=global$0-32|0;global$0=$8_1;HEAP32[$8_1+16>>2]=$2_1;HEAP32[$8_1+24>>2]=$3_1;$5_1=$388($8_1+16|0,$8_1+24|0);$6_1=global$0-16|0;global$0=$6_1;HEAP32[$6_1>>2]=$2_1;HEAP32[$6_1+8>>2]=$3_1;if(($5_1|0)>=2){$3_1=HEAP32[$6_1+8>>2];$2_1=HEAP32[$169($6_1)>>2];$1_1=global$0-16|0;global$0=$1_1;$9_1=HEAP32[$3_1+4>>2];$4_1=HEAP32[$3_1>>2];HEAP32[$1_1+8>>2]=$4_1;HEAP32[$1_1+12>>2]=$9_1;$7_1=HEAP32[$2_1+4>>2];HEAP32[$3_1>>2]=HEAP32[$2_1>>2];HEAP32[$3_1+4>>2]=$7_1;HEAP32[$2_1>>2]=$4_1;HEAP32[$2_1+4>>2]=$9_1;global$0=$1_1+16|0;$1_1=global$0-48|0;global$0=$1_1;$3_1=HEAP32[$6_1+8>>2];HEAP32[$1_1+32>>2]=$3_1;HEAP32[$1_1+40>>2]=$3_1;$3_1=$388($1_1+32|0,$1_1+40|0);$5_1=$5_1-1|0;label$2:{if(($5_1|0)<2){break label$2}$9_1=$5_1-2>>>1|0;if(($3_1|0)>($9_1|0)){break label$2}$2_1=$3_1<<1;$3_1=$2_1|1;HEAP32[$1_1+24>>2]=$196($1_1+40|0,$3_1);$2_1=$2_1+2|0;label$3:{if(($2_1|0)>=($5_1|0)){break label$3}$4_1=$1_1+24|0;$7_1=HEAP32[$4_1>>2];HEAP32[$1_1+16>>2]=$196($4_1,1);if(!$256($7_1,HEAP32[$1_1+16>>2])){break label$3}$117($1_1+24|0);$3_1=$2_1}if($256(HEAP32[$1_1+24>>2],HEAP32[$1_1+32>>2])){break label$2}$2_1=HEAP32[$1_1+32>>2];$4_1=HEAP32[$2_1+4>>2];HEAP32[$1_1+16>>2]=HEAP32[$2_1>>2];HEAP32[$1_1+20>>2]=$4_1;while(1){label$5:{$4_1=HEAP32[$1_1+24>>2];$7_1=HEAP32[$4_1+4>>2];$2_1=HEAP32[$1_1+32>>2];HEAP32[$2_1>>2]=HEAP32[$4_1>>2];HEAP32[$2_1+4>>2]=$7_1;HEAP32[$1_1+32>>2]=HEAP32[$1_1+24>>2];if(($3_1|0)>($9_1|0)){break label$5}$2_1=$3_1<<1;$3_1=$2_1|1;HEAP32[$1_1+24>>2]=$196($1_1+40|0,$3_1);$2_1=$2_1+2|0;label$6:{if(($2_1|0)>=($5_1|0)){break label$6}$4_1=$1_1+24|0;$7_1=HEAP32[$4_1>>2];HEAP32[$1_1+8>>2]=$196($4_1,1);if(!$256($7_1,HEAP32[$1_1+8>>2])){break label$6}$117($1_1+24|0);$3_1=$2_1}if(!$256(HEAP32[$1_1+24>>2],$1_1+16|0)){continue}}break}$2_1=HEAP32[$1_1+20>>2];$3_1=HEAP32[$1_1+32>>2];HEAP32[$3_1>>2]=HEAP32[$1_1+16>>2];HEAP32[$3_1+4>>2]=$2_1}global$0=$1_1+48|0}global$0=$6_1+16|0;global$0=$8_1+32|0;$3_1=HEAP32[$0_1+4>>2]-8|0;$12($0_1);$395($0_1,$3_1);$490($0_1)}function $1055($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0;$16_1=global$0-144|0;global$0=$16_1;$13_1=HEAP32[$0_1+336>>2];$0_1=HEAP32[$1_1+84>>2];$1_1=$16_1;while(1){$6_1=HEAP32[$0_1+64>>2];$10_1=HEAP16[$2_1+32>>1];$8_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$0_1>>2])<<13|1024;$9_1=Math_imul(HEAP32[$0_1+128>>2],HEAP16[$2_1+64>>1]);$14_1=$8_1+Math_imul($9_1,-11586)>>11;$5_1=Math_imul(HEAP32[$0_1+32>>2],HEAP16[$2_1+16>>1]);$7_1=Math_imul(HEAP32[$0_1+96>>2],HEAP16[$2_1+48>>1]);$12_1=Math_imul(HEAP32[$0_1+160>>2],HEAP16[$2_1+80>>1]);$15_1=$5_1-($7_1+$12_1|0)<<2;HEAP32[$1_1+96>>2]=$14_1-$15_1;HEAP32[$1_1+24>>2]=$14_1+$15_1;$6_1=Math_imul(Math_imul($6_1,$10_1),10033);$10_1=$8_1+Math_imul($9_1,5793)|0;$9_1=$6_1+$10_1|0;$8_1=$5_1+$7_1<<13;$5_1=Math_imul($5_1+$12_1|0,2998);$8_1=$8_1+$5_1|0;HEAP32[$1_1+120>>2]=$9_1-$8_1>>11;HEAP32[$1_1>>2]=$9_1+$8_1>>11;$6_1=$10_1-$6_1|0;$5_1=$5_1+($12_1-$7_1<<13)|0;HEAP32[$1_1+72>>2]=$6_1-$5_1>>11;HEAP32[$1_1+48>>2]=$5_1+$6_1>>11;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$2_1=$2_1+2|0;$11_1=$11_1+1|0;if(($11_1|0)!=6){continue}break}$0_1=$13_1-384|0;$2_1=$16_1;$11_1=0;while(1){$5_1=HEAP32[$2_1+20>>2];$7_1=HEAP32[$2_1+4>>2];$12_1=Math_imul($5_1+$7_1|0,2998);$1_1=HEAP32[($11_1<<2)+$3_1>>2]+$4_1|0;$13_1=HEAP32[$2_1+12>>2];$6_1=$12_1+($13_1+$7_1<<13)|0;$9_1=(HEAP32[$2_1>>2]<<13)+134348800|0;$10_1=HEAP32[$2_1+16>>2];$8_1=$9_1+Math_imul($10_1,5793)|0;$14_1=Math_imul(HEAP32[$2_1+8>>2],10033);$15_1=$8_1+$14_1|0;HEAP8[$1_1|0]=HEAPU8[$0_1+($6_1+$15_1>>>18&1023)|0];HEAP8[$1_1+5|0]=HEAPU8[$0_1+($15_1-$6_1>>>18&1023)|0];$7_1=$7_1-($5_1+$13_1|0)<<13;$6_1=$9_1+Math_imul($10_1,-11586)|0;HEAP8[$1_1+1|0]=HEAPU8[$0_1+($7_1+$6_1>>>18&1023)|0];HEAP8[$1_1+4|0]=HEAPU8[$0_1+($6_1-$7_1>>>18&1023)|0];$5_1=$12_1+($5_1-$13_1<<13)|0;$7_1=$8_1-$14_1|0;HEAP8[$1_1+2|0]=HEAPU8[$0_1+($5_1+$7_1>>>18&1023)|0];HEAP8[$1_1+3|0]=HEAPU8[$0_1+($7_1-$5_1>>>18&1023)|0];$2_1=$2_1+24|0;$11_1=$11_1+1|0;if(($11_1|0)!=6){continue}break}global$0=$16_1+144|0}function $883($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;var $8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0;$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1+8>>2]=$5_1;HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1+8>>2]=$5_1;label$1:{label$2:{while(1){label$5:{$8_1=HEAP32[$0_1+12>>2];if($8_1>>>0>=$3_1>>>0){break label$5}$11_1=HEAP32[$0_1+8>>2];if($11_1>>>0>=$6_1>>>0){break label$5}$5_1=HEAP8[$8_1|0];$2_1=$5_1&255;label$6:{if(($5_1|0)>=0){if($2_1>>>0<=1114111){$5_1=1;break label$6}$1_1=2;break label$1}$1_1=2;if($5_1>>>0<4294967234){break label$1}if($5_1>>>0<=4294967263){if(($3_1-$8_1|0)<2){break label$2}$9_1=HEAPU8[$8_1+1|0];if(($9_1&192)!=128){break label$1}$5_1=2;$2_1=$9_1&63|$2_1<<6&1984;if($2_1>>>0<=1114111){break label$6}break label$1}if($5_1>>>0<=4294967279){if(($3_1-$8_1|0)<3){break label$2}$10_1=HEAPU8[$8_1+2|0];$9_1=HEAPU8[$8_1+1|0];label$11:{label$12:{if(($2_1|0)!=237){if(($2_1|0)!=224){break label$12}if(($9_1&224)==160){break label$11}break label$1}if(($9_1&224)==128){break label$11}break label$1}if(($9_1&192)!=128){break label$1}}if(($10_1&192)!=128){break label$1}$5_1=3;$2_1=$10_1&63|($2_1<<12&61440|($9_1&63)<<6);if($2_1>>>0<=1114111){break label$6}break label$1}if($5_1>>>0>4294967284){break label$1}if(($3_1-$8_1|0)<4){break label$2}$10_1=HEAPU8[$8_1+3|0];$12_1=HEAPU8[$8_1+2|0];$9_1=HEAPU8[$8_1+1|0];label$14:{label$15:{switch($2_1-240|0){case 0:if(($9_1+112&255)>>>0<48){break label$14}break label$1;case 4:if(($9_1&240)==128){break label$14}break label$1;default:break label$15}}if(($9_1&192)!=128){break label$1}}if(($12_1&192)!=128|($10_1&192)!=128){break label$1}$5_1=4;$2_1=$10_1&63|($12_1<<6&4032|($2_1<<18&1835008|($9_1&63)<<12));if($2_1>>>0>1114111){break label$1}}HEAP32[$11_1>>2]=$2_1;HEAP32[$0_1+12>>2]=$5_1+$8_1;HEAP32[$0_1+8>>2]=HEAP32[$0_1+8>>2]+4;continue}break}$1_1=$3_1>>>0>$8_1>>>0;break label$1}$1_1=1}HEAP32[$4_1>>2]=HEAP32[$0_1+12>>2];HEAP32[$7_1>>2]=HEAP32[$0_1+8>>2];global$0=$0_1+16|0;return $1_1|0}function $1190($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=$0_1;HEAP32[$4_1+8>>2]=$26(67484,$4_1+12|0);HEAP32[$4_1>>2]=$23();$0_1=-1;label$1:{if($31($4_1+8|0,$4_1)){break label$1}$1_1=$32($4_1+12|0);$2_1=HEAP32[$1_1+472>>2];$5_1=HEAP32[$1_1+192>>2];$3_1=HEAP32[$5_1>>2];$6_1=HEAP32[$5_1+4>>2];$7_1=global$0-16|0;global$0=$7_1;label$2:{$0_1=$7(13732);if($0_1){label$4:{HEAP32[$0_1+40>>2]=1058642330;HEAP32[$0_1+44>>2]=1073741824;HEAP32[$0_1+32>>2]=11;HEAP32[$0_1+36>>2]=10;HEAP32[$0_1+24>>2]=25;HEAP32[$0_1+28>>2]=11;HEAP32[$0_1+8>>2]=$6_1;HEAP32[$0_1+4>>2]=$3_1;HEAP32[$0_1+20>>2]=$2_1;$2_1=$669();$2_1=($2_1|0)>1?$2_1:1;$2_1=$2_1>>>0<8?$2_1:8;HEAP32[$0_1+13280>>2]=$2_1;HEAP32[$7_1>>2]=$2_1;$5(0,1,2648,$7_1);$6_1=Math_imul($3_1,$6_1);$3_1=0;while(1){if(($2_1|0)>($3_1|0)){$2_1=$0_1+Math_imul($3_1,52)|0;$8_1=$7($6_1);HEAP32[$2_1+13300>>2]=$8_1;if(!$8_1){break label$4}HEAP32[$2_1+13304>>2]=0;HEAP32[($0_1+($3_1<<2)|0)+13700>>2]=$674($3_1,$2_1+13284|0,2);$3_1=$3_1+1|0;$2_1=HEAP32[$0_1+13280>>2];continue}break}global$0=$7_1+16|0;break label$2}}$5(0,3,1806,0);fimport$1(1);abort()}HEAP32[$0_1+12>>2]=$5_1;HEAP32[$0_1>>2]=1;$3_1=$455($5_1+8|0);HEAP32[$0_1+16>>2]=$3_1;$133($3_1,0);HEAP32[$1_1+236>>2]=$0_1;if(!$0_1){$5(0,3,37456,0);$0_1=HEAP32[$1_1+232>>2];if($0_1){$0_1=HEAP32[$0_1>>2];if($0_1){$781($0_1,0)}$1($0_1);$1(HEAP32[HEAP32[$1_1+232>>2]+28>>2]);$1(HEAP32[HEAP32[$1_1+232>>2]+36>>2]);$1(HEAP32[HEAP32[$1_1+232>>2]+52>>2]);$1(HEAP32[HEAP32[$1_1+232>>2]+44>>2]);$1(HEAP32[$1_1+232>>2]);HEAP32[$1_1+232>>2]=0}$0_1=0;break label$1}if(($669()|0)<=1){$5(0,1,37857,0);$666(HEAP32[$1_1+236>>2]);$667(HEAP32[$1_1+236>>2]);$663(HEAP32[$1_1+236>>2]);$664(HEAP32[$1_1+236>>2],6);$662(HEAP32[$1_1+236>>2]);$660(HEAP32[$1_1+236>>2]);$0_1=0;break label$1}$5(0,1,37805,0);$666(HEAP32[$1_1+236>>2]);$667(HEAP32[$1_1+236>>2]);$663(HEAP32[$1_1+236>>2]);$664(HEAP32[$1_1+236>>2],12);$662(HEAP32[$1_1+236>>2]);$660(HEAP32[$1_1+236>>2]);$0_1=0}global$0=$4_1+16|0;return $0_1|0}function $51($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$8_1=global$0-16|0;global$0=$8_1;$381($1_1);$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=$1_1;$9_1=$116($8_1+8|0,$3_1+12|0);global$0=$3_1+16|0;$1_1=$0_1+8|0;if($21($1_1)>>>0<=$2_1>>>0){label$2:{$3_1=$21($1_1);$0_1=$2_1+1|0;if($3_1>>>0<$0_1>>>0){$10_1=global$0-32|0;global$0=$10_1;$7_1=$0_1-$3_1|0;label$4:{if($7_1>>>0<=HEAP32[$4($1_1)>>2]-HEAP32[$1_1+4>>2]>>2>>>0){$899($1_1,$7_1);break label$4}$11_1=$45($1_1);$3_1=$10_1+8|0;$5_1=$21($1_1)+$7_1|0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=$5_1;label$6:{$0_1=$877($1_1);if($5_1>>>0<=$0_1>>>0){$5_1=$159($1_1);if($5_1>>>0<$0_1>>>1>>>0){HEAP32[$4_1+8>>2]=$5_1<<1;$0_1=HEAP32[$67($4_1+8|0,$4_1+12|0)>>2]}global$0=$4_1+16|0;break label$6}$450();abort()}$5_1=$21($1_1);$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=0;$182($3_1+12|0,$11_1);if($0_1){$6_1=$876(HEAP32[$3_1+16>>2],$0_1)}HEAP32[$3_1>>2]=$6_1;$5_1=($5_1<<2)+$6_1|0;HEAP32[$3_1+8>>2]=$5_1;HEAP32[$3_1+4>>2]=$5_1;HEAP32[$13($3_1)>>2]=($0_1<<2)+$6_1;global$0=$4_1+16|0;$6_1=global$0-16|0;global$0=$6_1;$4_1=$392($6_1,$3_1+8|0,$7_1);$0_1=HEAP32[$4_1>>2];while(1){if(HEAP32[$4_1+4>>2]!=($0_1|0)){$875(HEAP32[$3_1+16>>2],HEAP32[$4_1>>2]);$0_1=HEAP32[$4_1>>2]+4|0;HEAP32[$4_1>>2]=$0_1;continue}break}$143($4_1);global$0=$6_1+16|0;$331($1_1);$0_1=$3_1+4|0;$279($45($1_1),HEAP32[$1_1>>2],HEAP32[$1_1+4>>2],$0_1);$28($1_1,$0_1);$28($1_1+4|0,$3_1+8|0);$28($4($1_1),$13($3_1));HEAP32[$3_1>>2]=HEAP32[$3_1+4>>2];$273($1_1,$21($1_1));$0_1=HEAP32[$3_1+4>>2];while(1){if(($0_1|0)!=HEAP32[$3_1+8>>2]){HEAP32[$3_1+8>>2]=HEAP32[$3_1+8>>2]-4;continue}break}if(HEAP32[$3_1>>2]){$896(HEAP32[$3_1+16>>2],HEAP32[$3_1>>2],$805($3_1))}}global$0=$10_1+32|0;break label$2}if($0_1>>>0<$3_1>>>0){$0_1=HEAP32[$1_1>>2]+($0_1<<2)|0;$21($1_1);$874($1_1,$0_1);$393($1_1)}}}if(HEAP32[$9($1_1,$2_1)>>2]){$315(HEAP32[$9($1_1,$2_1)>>2])}$0_1=$141($9_1);HEAP32[$9($1_1,$2_1)>>2]=$0_1;$0_1=HEAP32[$9_1>>2];HEAP32[$9_1>>2]=0;if($0_1){$315($0_1)}global$0=$8_1+16|0}function $592($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;label$1:{label$2:{label$3:{label$4:{label$5:{$2_1=HEAP32[$0_1+4>>2];label$6:{if(($2_1|0)!=HEAP32[$0_1+104>>2]){HEAP32[$0_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$6}$2_1=$33($0_1)}switch($2_1-43|0){case 0:case 2:break label$5;default:break label$4}}$5_1=($2_1|0)==45;$6_1=!$1_1;$2_1=HEAP32[$0_1+4>>2];label$8:{if(($2_1|0)!=HEAP32[$0_1+104>>2]){HEAP32[$0_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$8}$2_1=$33($0_1)}$1_1=$2_1-58|0;if($6_1|$1_1>>>0>4294967285){break label$3}if(HEAP32[$0_1+116>>2]<0){break label$2}HEAP32[$0_1+4>>2]=HEAP32[$0_1+4>>2]-1;break label$2}$1_1=$2_1-58|0}if($1_1>>>0<4294967286){break label$2}$1_1=$2_1-48|0;if($1_1>>>0<10){while(1){$4_1=(Math_imul($4_1,10)+$2_1|0)-48|0;$3_1=($4_1|0)<214748364;$2_1=HEAP32[$0_1+4>>2];label$12:{if(($2_1|0)!=HEAP32[$0_1+104>>2]){HEAP32[$0_1+4>>2]=$2_1+1;$2_1=HEAPU8[$2_1|0];break label$12}$2_1=$33($0_1)}$1_1=$2_1-48|0;if($3_1&$1_1>>>0<=9){continue}break}$3_1=$4_1>>31}label$14:{if($1_1>>>0>=10){break label$14}while(1){$1_1=__wasm_i64_mul($4_1,$3_1,10,0);$2_1=$1_1+$2_1|0;$3_1=i64toi32_i32$HIGH_BITS;$3_1=$1_1>>>0>$2_1>>>0?$3_1+1|0:$3_1;$4_1=$2_1-48|0;$3_1=$3_1-($2_1>>>0<48)|0;$1_1=HEAP32[$0_1+4>>2];label$16:{if(($1_1|0)!=HEAP32[$0_1+104>>2]){HEAP32[$0_1+4>>2]=$1_1+1;$2_1=HEAPU8[$1_1|0];break label$16}$2_1=$33($0_1)}$1_1=$2_1-48|0;if($1_1>>>0>9){break label$14}if($4_1>>>0<2061584302&($3_1|0)<=21474836|($3_1|0)<21474836){continue}break}}if($1_1>>>0<10){while(1){$1_1=HEAP32[$0_1+4>>2];label$20:{if(($1_1|0)!=HEAP32[$0_1+104>>2]){HEAP32[$0_1+4>>2]=$1_1+1;$1_1=HEAPU8[$1_1|0];break label$20}$1_1=$33($0_1)}if($1_1-48>>>0<10){continue}break}}$1_1=HEAP32[$0_1+116>>2];if(($1_1|0)>0|($1_1|0)>=0){HEAP32[$0_1+4>>2]=HEAP32[$0_1+4>>2]-1}$0_1=$4_1;$4_1=$5_1?0-$0_1|0:$0_1;$3_1=$5_1?0-((($0_1|0)!=0)+$3_1|0)|0:$3_1;break label$1}$3_1=-2147483648;if(HEAP32[$0_1+116>>2]<0){break label$1}HEAP32[$0_1+4>>2]=HEAP32[$0_1+4>>2]-1;i64toi32_i32$HIGH_BITS=-2147483648;return 0}i64toi32_i32$HIGH_BITS=$3_1;return $4_1}function $952($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$10_1=global$0-16|0;global$0=$10_1;label$1:{label$2:{label$3:{if(($2_1|0)<=36){$5_1=HEAPU8[$0_1|0];if($5_1){break label$3}$6_1=$0_1;break label$2}HEAP32[$22()>>2]=28;$3_1=0;$4_1=0;break label$1}$6_1=$0_1;label$5:{while(1){if(!$177($5_1<<24>>24)){break label$5}$5_1=HEAPU8[$6_1+1|0];$6_1=$6_1+1|0;if($5_1){continue}break}break label$2}label$7:{$5_1=HEAPU8[$6_1|0];switch($5_1-43|0){case 0:case 2:break label$7;default:break label$2}}$12_1=($5_1|0)==45?-1:0;$6_1=$6_1+1|0}label$8:{if(!(($2_1|16)!=16|HEAPU8[$6_1|0]!=48)){$13_1=1;if((HEAPU8[$6_1+1|0]&223)==88){$6_1=$6_1+2|0;$11_1=16;break label$8}$6_1=$6_1+1|0;$11_1=$2_1?$2_1:8;break label$8}$11_1=$2_1?$2_1:10}$2_1=0;while(1){label$12:{$5_1=-48;$8_1=HEAP8[$6_1|0];label$13:{if(($8_1-48&255)>>>0<10){break label$13}$5_1=-87;if(($8_1-97&255)>>>0<26){break label$13}$5_1=-55;if(($8_1-65&255)>>>0>25){break label$12}}$8_1=$5_1+$8_1|0;if(($8_1|0)>=($11_1|0)){break label$12}$84($10_1,$11_1,0,0,0,$9_1,$7_1,0,0);$5_1=1;label$14:{if(HEAP32[$10_1+8>>2]|HEAP32[$10_1+12>>2]){break label$14}$14_1=__wasm_i64_mul($9_1,$7_1,$11_1,0);$15_1=i64toi32_i32$HIGH_BITS;if(($15_1|0)==-1&($8_1^-1)>>>0<$14_1>>>0){break label$14}$7_1=$15_1;$5_1=$8_1+$14_1|0;$7_1=$5_1>>>0<$8_1>>>0?$7_1+1|0:$7_1;$9_1=$5_1;$13_1=1;$5_1=$2_1}$6_1=$6_1+1|0;$2_1=$5_1;continue}break}if($1_1){HEAP32[$1_1>>2]=$13_1?$6_1:$0_1}label$16:{label$17:{if($2_1){HEAP32[$22()>>2]=68;$0_1=$3_1&1;$12_1=$0_1?0:$12_1;$9_1=$3_1;$7_1=$4_1;break label$17}if(($4_1|0)==($7_1|0)&$3_1>>>0>$9_1>>>0|$4_1>>>0>$7_1>>>0){break label$16}$0_1=$3_1&1}if(!($0_1|$12_1)){HEAP32[$22()>>2]=68;$0_1=$3_1;$3_1=$0_1-1|0;$4_1=$4_1-!$0_1|0;break label$1}if(($4_1|0)==($7_1|0)&$3_1>>>0>=$9_1>>>0|$4_1>>>0>$7_1>>>0){break label$16}HEAP32[$22()>>2]=68;break label$1}$0_1=$12_1;$1_1=$0_1^$9_1;$3_1=$1_1-$0_1|0;$2_1=$0_1>>31;$4_1=($2_1^$7_1)-(($0_1>>>0>$1_1>>>0)+$2_1|0)|0}global$0=$10_1+16|0;i64toi32_i32$HIGH_BITS=$4_1;return $3_1}function $1312($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;var $7_1=0,$8_1=0,$9_1=0,$10_1=0;$0_1=global$0-448|0;global$0=$0_1;HEAP32[$0_1+432>>2]=$2_1;HEAP32[$0_1+440>>2]=$1_1;HEAP32[$0_1+20>>2]=317;$7_1=$0_1+20|0;$9_1=$54($0_1+24|0,$0_1+32|0,$7_1);$1_1=$0_1+16|0;$30($1_1,$4_1);$8_1=$101($1_1);HEAP8[$0_1+15|0]=0;if($910($0_1+440|0,$2_1,$3_1,$1_1,HEAP32[$4_1+4>>2],$5_1,$0_1+15|0,$8_1,$9_1,$7_1,$0_1+432|0)){$1_1=global$0-16|0;global$0=$1_1;label$2:{if($128($6_1)){$2_1=HEAP32[$6_1>>2];HEAP32[$1_1+12>>2]=0;$129($2_1,$1_1+12|0);$98($6_1,0);break label$2}HEAP32[$1_1+8>>2]=0;$129($6_1,$1_1+8|0);$111($6_1,0)}global$0=$1_1+16|0;if(HEAPU8[$0_1+15|0]){$527($6_1,$109($8_1,45))}$1_1=$109($8_1,48);$2_1=HEAP32[$9_1>>2];$8_1=HEAP32[$0_1+20>>2];$3_1=$8_1-4|0;while(1){if(!(($1_1|0)!=HEAP32[$2_1>>2]|$2_1>>>0>=$3_1>>>0)){$2_1=$2_1+4|0;continue}break}$1_1=global$0-16|0;global$0=$1_1;$3_1=$6($6_1);$4_1=$536($6_1);$7_1=$432($2_1,$8_1);label$7:{if(!$7_1){break label$7}if($15($6_1)>>>0<=$2_1>>>0){$10_1=$15($6_1)+($6($6_1)<<2)>>>0>=$2_1>>>0}else{$10_1=0}if(!$10_1){if($7_1>>>0>$4_1-$3_1>>>0){$863($6_1,$4_1,($3_1+$7_1|0)-$4_1|0,$3_1,$3_1)}$4_1=$15($6_1)+($3_1<<2)|0;while(1){if(($2_1|0)!=($8_1|0)){$129($4_1,$2_1);$2_1=$2_1+4|0;$4_1=$4_1+4|0;continue}break}HEAP32[$1_1>>2]=0;$129($4_1,$1_1);$236($6_1,$3_1+$7_1|0);break label$7}$3_1=global$0-16|0;global$0=$3_1;$950($1_1,$2_1,$8_1);global$0=$3_1+16|0;$8_1=$15($1_1);$2_1=$6($1_1);$4_1=global$0-16|0;global$0=$4_1;$7_1=$536($6_1);$3_1=$6($6_1);label$14:{if($2_1>>>0<=$7_1-$3_1>>>0){if(!$2_1){break label$14}$7_1=$15($6_1);$164($7_1+($3_1<<2)|0,$8_1,$2_1);$2_1=$2_1+$3_1|0;$236($6_1,$2_1);HEAP32[$4_1+12>>2]=0;$129($7_1+($2_1<<2)|0,$4_1+12|0);break label$14}$864($6_1,$7_1,($2_1+$3_1|0)-$7_1|0,$3_1,$3_1,0,$2_1,$8_1)}global$0=$4_1+16|0;$8($1_1)}global$0=$1_1+16|0}if($68($0_1+440|0,$0_1+432|0)){HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|2}$1_1=HEAP32[$0_1+440>>2];$19($0_1+16|0);$53($9_1);global$0=$0_1+448|0;return $1_1|0}function $1315($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;var $7_1=0,$8_1=0,$9_1=0,$10_1=0;$0_1=global$0-160|0;global$0=$0_1;HEAP32[$0_1+144>>2]=$2_1;HEAP32[$0_1+152>>2]=$1_1;HEAP32[$0_1+20>>2]=317;$7_1=$0_1+20|0;$9_1=$54($0_1+24|0,$0_1+32|0,$7_1);$1_1=$0_1+16|0;$30($1_1,$4_1);$8_1=$106($1_1);HEAP8[$0_1+15|0]=0;if($917($0_1+152|0,$2_1,$3_1,$1_1,HEAP32[$4_1+4>>2],$5_1,$0_1+15|0,$8_1,$9_1,$7_1,$0_1+132|0)){$1_1=global$0-16|0;global$0=$1_1;label$2:{if($128($6_1)){$2_1=HEAP32[$6_1>>2];HEAP8[$1_1+15|0]=0;$110($2_1,$1_1+15|0);$98($6_1,0);break label$2}HEAP8[$1_1+14|0]=0;$110($6_1,$1_1+14|0);$111($6_1,0)}global$0=$1_1+16|0;if(HEAPU8[$0_1+15|0]){$528($6_1,$83($8_1,45))}$1_1=$83($8_1,48);$2_1=HEAP32[$9_1>>2];$8_1=HEAP32[$0_1+20>>2];$3_1=$8_1-1|0;$1_1=$1_1&255;while(1){if(!(($1_1|0)!=HEAPU8[$2_1|0]|$2_1>>>0>=$3_1>>>0)){$2_1=$2_1+1|0;continue}break}$1_1=global$0-16|0;global$0=$1_1;$3_1=$6($6_1);$4_1=$35($6_1);$7_1=$475($2_1,$8_1);label$7:{if(!$7_1){break label$7}if($15($6_1)>>>0<=$2_1>>>0){$10_1=$15($6_1)+$6($6_1)>>>0>=$2_1>>>0}else{$10_1=0}if(!$10_1){if($7_1>>>0>$4_1-$3_1>>>0){$529($6_1,$4_1,($3_1+$7_1|0)-$4_1|0,$3_1,$3_1)}$4_1=$15($6_1)+$3_1|0;while(1){if(($2_1|0)!=($8_1|0)){$110($4_1,$2_1);$2_1=$2_1+1|0;$4_1=$4_1+1|0;continue}break}HEAP8[$1_1+15|0]=0;$110($4_1,$1_1+15|0);$236($6_1,$3_1+$7_1|0);break label$7}$3_1=global$0-16|0;global$0=$3_1;$553($1_1,$2_1,$8_1);global$0=$3_1+16|0;$8_1=$15($1_1);$2_1=$6($1_1);$4_1=global$0-16|0;global$0=$4_1;$7_1=$35($6_1);$3_1=$6($6_1);label$14:{if($2_1>>>0<=$7_1-$3_1>>>0){if(!$2_1){break label$14}$7_1=$15($6_1);$154($7_1+$3_1|0,$8_1,$2_1);$2_1=$2_1+$3_1|0;$236($6_1,$2_1);HEAP8[$4_1+15|0]=0;$110($2_1+$7_1|0,$4_1+15|0);break label$14}$867($6_1,$7_1,($2_1+$3_1|0)-$7_1|0,$3_1,$3_1,0,$2_1,$8_1)}global$0=$4_1+16|0;$8($1_1)}global$0=$1_1+16|0}if($69($0_1+152|0,$0_1+144|0)){HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|2}$1_1=HEAP32[$0_1+152>>2];$19($0_1+16|0);$53($9_1);global$0=$0_1+160|0;return $1_1|0}function $1052($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0;$5_1=HEAP32[$3_1>>2]+$4_1|0;$0_1=HEAP32[$0_1+336>>2]-384|0;$1_1=HEAP32[$1_1+84>>2];$8_1=Math_imul(Math_imul(HEAP16[$2_1+16>>1],HEAP32[$1_1+32>>2]),10033);$6_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$1_1>>2])<<13|1024;$7_1=Math_imul(HEAP32[$1_1+64>>2],HEAP16[$2_1+32>>1]);$9_1=$6_1+Math_imul($7_1,5793)|0;$10_1=($8_1+$9_1<<2&-8192)+134348800|0;$11_1=Math_imul(Math_imul(HEAP16[$2_1+20>>1],HEAP32[$1_1+40>>2]),10033);$12_1=Math_imul(HEAP16[$2_1+4>>1],HEAP32[$1_1+8>>2])<<13|1024;$13_1=Math_imul(HEAP32[$1_1+72>>2],HEAP16[$2_1+36>>1]);$14_1=$12_1+Math_imul($13_1,5793)|0;$15_1=$11_1+$14_1>>11;$16_1=$10_1+Math_imul($15_1,5793)|0;$17_1=Math_imul(Math_imul(HEAP16[$2_1+18>>1],HEAP32[$1_1+36>>2]),10033);$18_1=Math_imul(HEAP16[$2_1+2>>1],HEAP32[$1_1+4>>2])<<13|1024;$2_1=Math_imul(HEAP32[$1_1+68>>2],HEAP16[$2_1+34>>1]);$19_1=$18_1+Math_imul($2_1,5793)|0;$1_1=Math_imul($17_1+$19_1>>11,10033);HEAP8[$5_1|0]=HEAPU8[$0_1+($16_1+$1_1>>>18&1023)|0];HEAP8[$5_1+2|0]=HEAPU8[$0_1+($16_1-$1_1>>>18&1023)|0];HEAP8[$5_1+1|0]=HEAPU8[$0_1+(Math_imul($15_1,268423870)+$10_1>>>18&1023)|0];$1_1=HEAP32[$3_1+4>>2]+$4_1|0;$7_1=($6_1+Math_imul($7_1,1073730238)<<2&-8192)+134348800|0;$5_1=Math_imul($13_1,-11586)+$12_1>>11;$6_1=$7_1+Math_imul($5_1,5793)|0;$2_1=Math_imul(Math_imul($2_1,-11586)+$18_1>>11,10033);HEAP8[$1_1|0]=HEAPU8[$0_1+($6_1+$2_1>>>18&1023)|0];HEAP8[$1_1+2|0]=HEAPU8[$0_1+($6_1-$2_1>>>18&1023)|0];HEAP8[$1_1+1|0]=HEAPU8[$0_1+($7_1+Math_imul($5_1,268423870)>>>18&1023)|0];$1_1=HEAP32[$3_1+8>>2]+$4_1|0;$3_1=($9_1-$8_1<<2&-8192)+134348800|0;$2_1=$14_1-$11_1>>11;$4_1=$3_1+Math_imul($2_1,5793)|0;$5_1=Math_imul($19_1-$17_1>>11,10033);HEAP8[$1_1|0]=HEAPU8[$0_1+($4_1+$5_1>>>18&1023)|0];HEAP8[$1_1+2|0]=HEAPU8[$0_1+($4_1-$5_1>>>18&1023)|0];HEAP8[$1_1+1|0]=HEAPU8[$0_1+($3_1+Math_imul($2_1,268423870)>>>18&1023)|0]}function $10($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$4_1=HEAP32[$0_1+468>>2];$2_1=HEAP32[$4_1+16>>2];label$1:{if(($2_1|0)>=32768){$3_1=HEAP32[$4_1+20>>2];break label$1}$3_1=HEAP32[$4_1+20>>2];while(1){$2_1=$3_1-1|0;HEAP32[$4_1+20>>2]=$2_1;label$4:{if(($3_1|0)>0){$3_1=$2_1;break label$4}$5_1=0;if(!HEAP32[$0_1+440>>2]){$2_1=HEAP32[$0_1+24>>2];label$7:{if(HEAP32[$2_1+4>>2]){break label$7}if(FUNCTION_TABLE[HEAP32[$2_1+12>>2]]($0_1)|0){break label$7}$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=25;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1)}HEAP32[$2_1+4>>2]=HEAP32[$2_1+4>>2]-1;$3_1=$2_1;$2_1=HEAP32[$2_1>>2];HEAP32[$3_1>>2]=$2_1+1;$5_1=HEAPU8[$2_1|0];label$8:{if(($5_1|0)!=255){break label$8}while(1){$2_1=HEAP32[$0_1+24>>2];label$10:{if(HEAP32[$2_1+4>>2]){break label$10}if(FUNCTION_TABLE[HEAP32[$2_1+12>>2]]($0_1)|0){break label$10}$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=25;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1)}HEAP32[$2_1+4>>2]=HEAP32[$2_1+4>>2]-1;$3_1=$2_1;$2_1=HEAP32[$2_1>>2];HEAP32[$3_1>>2]=$2_1+1;$5_1=255;$2_1=HEAPU8[$2_1|0];if(($2_1|0)==255){continue}break}if(!$2_1){break label$8}HEAP32[$0_1+440>>2]=$2_1;$5_1=0}$2_1=HEAP32[$4_1+20>>2]}$3_1=$2_1+8|0;HEAP32[$4_1+20>>2]=$3_1;HEAP32[$4_1+12>>2]=HEAP32[$4_1+12>>2]<<8|$5_1;if(($2_1|0)>-9){break label$4}$3_1=$2_1+9|0;HEAP32[$4_1+20>>2]=$3_1;if($3_1){break label$4}HEAP32[$4_1+16>>2]=32768;$3_1=0}$2_1=HEAP32[$4_1+16>>2]<<1;HEAP32[$4_1+16>>2]=$2_1;if(($2_1|0)<32768){continue}break}}$0_1=HEAPU8[$1_1|0];$5_1=HEAP32[(($0_1&127)<<2)+38400>>2];$6_1=$5_1>>16;$2_1=$2_1-$6_1|0;HEAP32[$4_1+16>>2]=$2_1;$7_1=$5_1>>8;$8_1=HEAP32[$4_1+12>>2];$3_1=$2_1<<$3_1;label$11:{if(($8_1|0)>=($3_1|0)){HEAP32[$4_1+16>>2]=$6_1;HEAP32[$4_1+12>>2]=$8_1-$3_1;$3_1=$0_1&128;if(($2_1|0)<($6_1|0)){HEAP8[$1_1|0]=$3_1^$7_1;break label$11}HEAP8[$1_1|0]=$3_1^$5_1;$0_1=$0_1^128;break label$11}if($2_1>>>0>32767){break label$11}$3_1=$0_1&128;if(($2_1|0)<($6_1|0)){HEAP8[$1_1|0]=$3_1^$5_1;$0_1=$0_1^128;break label$11}HEAP8[$1_1|0]=$3_1^$7_1}return $0_1>>>7|0}function $438($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=Math_fround(0),$7_1=0,$8_1=Math_fround(0),$9_1=Math_fround(0),$10_1=0;$7_1=global$0-32|0;global$0=$7_1;$10_1=$5_1;label$1:{label$2:{label$3:{label$4:{if(!$1_1){break label$4}$8_1=HEAPF32[$4_1+8>>2];$9_1=HEAPF32[$4_1+12>>2];if(($297($0_1,$1_1,$8_1,$9_1,$7_1+28|0,$7_1+16|0)|0)<0){break label$4}$6_1=HEAPF32[$7_1+28>>2];label$5:{if(Math_fround(Math_abs($6_1))>2]=$1_1;$6_1=HEAPF32[$7_1+16>>2];label$7:{if(Math_fround(Math_abs($6_1))>2]=$1_1;if(!$2_1){break label$3}if(($297($0_1,$2_1,$8_1,$9_1,$7_1+24|0,$7_1+12|0)|0)<0){break label$3}$6_1=HEAPF32[$7_1+28>>2];$6_1=Math_fround(Math_fround($6_1+$6_1)-HEAPF32[$7_1+24>>2]);label$9:{if(Math_fround(Math_abs($6_1))>2]=$1_1;$6_1=HEAPF32[$7_1+16>>2];$6_1=Math_fround(Math_fround($6_1+$6_1)-HEAPF32[$7_1+12>>2]);label$11:{if(Math_fround(Math_abs($6_1))>2]=$1_1;if(!$3_1){break label$2}if(($297($0_1,$3_1,$8_1,$9_1,$7_1+20|0,$7_1+8|0)|0)<0){break label$2}$6_1=Math_fround(HEAPF32[$7_1+20>>2]+Math_fround(Math_fround(HEAPF32[$7_1+28>>2]*Math_fround(3))+Math_fround(HEAPF32[$7_1+24>>2]*Math_fround(-3))));label$13:{if(Math_fround(Math_abs($6_1))>2]=$0_1;$6_1=Math_fround(HEAPF32[$7_1+8>>2]+Math_fround(Math_fround(HEAPF32[$7_1+16>>2]*Math_fround(3))+Math_fround(HEAPF32[$7_1+12>>2]*Math_fround(-3))));if(Math_fround(Math_abs($6_1))>2]=-1;HEAP32[$5_1+4>>2]=-1}HEAP32[$5_1+8>>2]=-1;HEAP32[$5_1+12>>2]=-1}HEAP32[$5_1+16>>2]=-1;$0_1=-1}HEAP32[$10_1+20>>2]=$0_1;global$0=$7_1+32|0}function $674($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$5_1=global$0+-64|0;global$0=$5_1;$4_1=$7(140);HEAP32[$5_1+60>>2]=$4_1;label$1:{if($4_1){HEAP32[$4_1+136>>2]=$1_1;HEAP32[$4_1+12>>2]=0;HEAP32[$4_1+4>>2]=0;HEAP32[$4_1+8>>2]=0;HEAP32[$4_1>>2]=$0_1;$616($4_1+16|0,0);$621($4_1+40|0);$621($4_1+88|0);$0_1=global$0-48|0;global$0=$0_1;wasm2js_memory_fill($0_1,0,44);$3_1=$5_1+8|0;wasm2js_memory_copy($3_1,$0_1,44);$613(68204);HEAP32[$3_1>>2]=HEAP32[15942];HEAP32[$3_1+4>>2]=HEAP32[15943];$440(68204);global$0=$0_1+48|0;HEAP32[$3_1+12>>2]=1;$1_1=global$0-48|0;global$0=$1_1;label$3:{if(($5_1|0)==-56){$2_1=28;break label$3}if(!HEAP32[17060]){HEAP32[17060]=43}if(!HEAPU8[67941]){$0_1=HEAP32[$362()>>2];if($0_1){while(1){$357($0_1);$0_1=HEAP32[$0_1+56>>2];if($0_1){continue}break}}$298(68152);$357(HEAP32[16056]);$357(HEAP32[16018]);$357(HEAP32[15980]);HEAP8[67941]=1}wasm2js_memory_fill($1_1|4,0,40);label$9:{if($3_1+1>>>0>=2){wasm2js_memory_copy($1_1,$3_1,44);$0_1=HEAP32[$1_1>>2];if($0_1){break label$9}}$0_1=fimport$32()|0;HEAP32[$1_1>>2]=$0_1}$3_1=(HEAP32[16057]+134|0)+(HEAP32[$1_1+8>>2]?0:$0_1+15|0)|0;$0_1=$7($3_1);$11($0_1,0,$3_1);HEAP32[$0_1+40>>2]=$3_1;HEAP32[$0_1+36>>2]=$0_1;HEAP32[$0_1>>2]=$0_1;$3_1=HEAP32[17060];HEAP32[17060]=$3_1+1;HEAP32[$0_1+68>>2]=$0_1+68;HEAP32[$0_1+16>>2]=$3_1;HEAP32[$0_1+88>>2]=67972;HEAP32[$0_1+24>>2]=HEAP32[$1_1+12>>2]?3:2;$6_1=HEAP32[$1_1>>2];HEAP32[$0_1+48>>2]=$6_1;$7_1=$0_1+115&-4;HEAP32[$0_1+108>>2]=$7_1;$3_1=HEAP32[$1_1+8>>2];$8_1=$6_1;$6_1=$7_1+16|0;$7_1=($8_1+$6_1|0)+15&-16;HEAP32[$0_1+44>>2]=$3_1?$3_1:$7_1;if(HEAP32[16057]){HEAP32[$0_1+64>>2]=($3_1?$6_1:$7_1)+3&-4}$3_1=HEAP32[16986];HEAP32[16986]=$3_1+1;if(!$3_1){HEAP8[67943]=1}$2_1=fimport$31($0_1|0,$1_1|0,$2_1|0,$4_1|0)|0;if($2_1){$0_1=HEAP32[16986]-1|0;HEAP32[16986]=$0_1;if($0_1){break label$3}HEAP8[67943]=0;break label$3}HEAP32[$5_1+56>>2]=$0_1}global$0=$1_1+48|0;if(!$2_1){break label$1}$672($5_1+60|0)}$4_1=0}global$0=$5_1- -64|0;return $4_1}function __wasm_i64_udiv($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$3_1=$0_1;__inlined_func$_ZN17compiler_builtins3int4udiv10divmod_u6417h6026910b5ed08e40E:{label$1:{label$2:{label$3:{label$4:{label$5:{label$6:{label$7:{label$9:{label$11:{if($1_1){if(!$2_1){break label$11}break label$9}$0_1=($3_1>>>0)/($2_1>>>0)|0;i64toi32_i32$HIGH_BITS=0;break __inlined_func$_ZN17compiler_builtins3int4udiv10divmod_u6417h6026910b5ed08e40E}if(!$3_1){break label$7}break label$6}if(!($2_1-1&$2_1)){break label$5}$6_1=(Math_clz32($2_1)+33|0)-Math_clz32($1_1)|0;$4_1=0-$6_1|0;break label$3}$0_1=($1_1>>>0)/0|0;i64toi32_i32$HIGH_BITS=0;break __inlined_func$_ZN17compiler_builtins3int4udiv10divmod_u6417h6026910b5ed08e40E}$0_1=32-Math_clz32($1_1)|0;if($0_1>>>0<31){break label$4}break label$2}if(($2_1|0)==1){break label$1}$0_1=$2_1?31-Math_clz32($2_1-1^$2_1)|0:32;$2_1=$0_1&31;if(($0_1&63)>>>0>=32){$0_1=0;$1_1=$1_1>>>$2_1|0}else{$0_1=$1_1>>>$2_1|0;$1_1=((1<<$2_1)-1&$1_1)<<32-$2_1|$3_1>>>$2_1}i64toi32_i32$HIGH_BITS=$0_1;$0_1=$1_1;break __inlined_func$_ZN17compiler_builtins3int4udiv10divmod_u6417h6026910b5ed08e40E}$6_1=$0_1+1|0;$4_1=63-$0_1|0}$0_1=$6_1&63;$5_1=$0_1&31;if($0_1>>>0>=32){$0_1=0;$7_1=$1_1>>>$5_1|0}else{$0_1=$1_1>>>$5_1|0;$7_1=((1<<$5_1)-1&$1_1)<<32-$5_1|$3_1>>>$5_1}$5_1=$0_1;$0_1=$4_1&63;$4_1=$0_1&31;if($0_1>>>0>=32){$0_1=$3_1<<$4_1;$3_1=0}else{$0_1=(1<<$4_1)-1&$3_1>>>32-$4_1|$1_1<<$4_1;$3_1=$3_1<<$4_1}$1_1=$0_1;if($6_1){$4_1=$2_1-1|0;$11_1=($4_1|0)!=-1?0:-1;while(1){$0_1=$7_1<<1|$1_1>>>31;$5_1=$5_1<<1|$7_1>>>31;$8_1=$11_1-($5_1+($0_1>>>0>$4_1>>>0)|0)>>31;$9_1=$2_1&$8_1;$7_1=$0_1-$9_1|0;$5_1=$5_1-($0_1>>>0<$9_1>>>0)|0;$1_1=$1_1<<1|$3_1>>>31;$3_1=$10_1|$3_1<<1;$10_1=$8_1&1;$6_1=$6_1-1|0;if($6_1){continue}break}}i64toi32_i32$HIGH_BITS=$1_1<<1|$3_1>>>31;$0_1=$10_1|$3_1<<1;break __inlined_func$_ZN17compiler_builtins3int4udiv10divmod_u6417h6026910b5ed08e40E}$3_1=0;$1_1=0}i64toi32_i32$HIGH_BITS=$1_1;$0_1=$3_1}return $0_1}function $1009($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0;$3_1=HEAP32[$0_1+484>>2];$2_1=HEAP32[$3_1+24>>2];label$1:{label$2:{label$3:{if(!HEAP32[$0_1+88>>2]){if($1_1){break label$2}$1_1=227;break label$3}HEAP32[$0_1+88>>2]=2;if($1_1){break label$2}$1_1=228}HEAP32[$3_1+8>>2]=229;HEAP32[$3_1+4>>2]=$1_1;$1_1=1;$4_1=HEAP32[$0_1+132>>2];label$5:{if(($4_1|0)<=0){$4_1=58}else{if($4_1>>>0<257){break label$5}$1_1=256;$4_1=59}$5_1=HEAP32[$0_1>>2];HEAP32[$5_1+24>>2]=$1_1;HEAP32[$5_1+20>>2]=$4_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}if(HEAP32[$0_1+88>>2]!=2){break label$1}$1_1=Math_imul(HEAP32[$0_1+112>>2],6)+12|0;$4_1=HEAP32[$3_1+32>>2];if(!$4_1){$4_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+4>>2]]($0_1,1,$1_1)|0;HEAP32[$3_1+32>>2]=$4_1}$11($4_1,0,$1_1);if(!HEAP32[$3_1+40>>2]){$655($0_1)}HEAP32[$3_1+36>>2]=0;break label$1}HEAP32[$3_1+28>>2]=1;HEAP32[$3_1+8>>2]=230;HEAP32[$3_1+4>>2]=231}if(HEAP32[$3_1+28>>2]){$11(HEAP32[$2_1>>2],0,4096);$11(HEAP32[$2_1+4>>2],0,4096);$11(HEAP32[$2_1+8>>2],0,4096);$11(HEAP32[$2_1+12>>2],0,4096);$11(HEAP32[$2_1+16>>2],0,4096);$11(HEAP32[$2_1+20>>2],0,4096);$11(HEAP32[$2_1+24>>2],0,4096);$11(HEAP32[$2_1+28>>2],0,4096);$11(HEAP32[$2_1+32>>2],0,4096);$11(HEAP32[$2_1+36>>2],0,4096);$11(HEAP32[$2_1+40>>2],0,4096);$11(HEAP32[$2_1+44>>2],0,4096);$11(HEAP32[$2_1+48>>2],0,4096);$11(HEAP32[$2_1+52>>2],0,4096);$11(HEAP32[$2_1+56>>2],0,4096);$11(HEAP32[$2_1+60>>2],0,4096);$11(HEAP32[$2_1+64>>2],0,4096);$11(HEAP32[$2_1+68>>2],0,4096);$11(HEAP32[$2_1+72>>2],0,4096);$11(HEAP32[$2_1+76>>2],0,4096);$11(HEAP32[$2_1+80>>2],0,4096);$11(HEAP32[$2_1+84>>2],0,4096);$11(HEAP32[$2_1+88>>2],0,4096);$11(HEAP32[$2_1+92>>2],0,4096);$11(HEAP32[$2_1+96>>2],0,4096);$11(HEAP32[$2_1+100>>2],0,4096);$11(HEAP32[$2_1+104>>2],0,4096);$11(HEAP32[$2_1+108>>2],0,4096);$11(HEAP32[$2_1+112>>2],0,4096);$11(HEAP32[$2_1+116>>2],0,4096);$11(HEAP32[$2_1+120>>2],0,4096);$11(HEAP32[$2_1+124>>2],0,4096);HEAP32[$3_1+28>>2]=0}}function $1187($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=$0_1;HEAP32[$3_1+8>>2]=$26(67484,$3_1+12|0);HEAP32[$3_1>>2]=$23();$0_1=-1;if(!$31($3_1+8|0,$3_1)){$5_1=$32($3_1+12|0);$0_1=HEAP32[$5_1+196>>2];if($0_1){$1($0_1);HEAP32[$5_1+196>>2]=0;HEAP32[$5_1+200>>2]=0}$692($5_1);$513(HEAP32[$5_1+220>>2]);$4_1=global$0-32|0;global$0=$4_1;HEAP32[$4_1+24>>2]=$756(67484,$3_1+12|0);HEAP32[$4_1+16>>2]=$472();if(!$127($4_1+24|0,$4_1+16|0)){$2_1=HEAP32[$116($4_1+8|0,$4_1+24|0)>>2];$7_1=global$0-32|0;global$0=$7_1;$728($80($7_1+24|0,$2_1));$10_1=$7_1+8|0;$9_1=global$0-16|0;global$0=$9_1;$8_1=$104(67484);$6_1=$46(HEAP32[$2_1+4>>2],$8_1);$1_1=HEAP32[$9(67484,$6_1)>>2];while(1){$0_1=$1_1;$1_1=HEAP32[$0_1>>2];if(($2_1|0)!=($1_1|0)){continue}break}label$5:{if(($0_1|0)!=67492){if(($46(HEAP32[$0_1+4>>2],$8_1)|0)==($6_1|0)){break label$5}}$1_1=HEAP32[$2_1>>2];if($1_1){if(($46(HEAP32[$1_1+4>>2],$8_1)|0)==($6_1|0)){break label$5}}HEAP32[$9(67484,$6_1)>>2]=0}$1_1=HEAP32[$2_1>>2];label$8:{if(!$1_1){break label$8}$1_1=$46(HEAP32[$1_1+4>>2],$8_1);if(($1_1|0)==($6_1|0)){break label$8}HEAP32[$9(67484,$1_1)>>2]=$0_1}HEAP32[$0_1>>2]=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=0;$0_1=$13(67484);HEAP32[$0_1>>2]=HEAP32[$0_1>>2]-1;$261($10_1,$2_1,$262($9_1+8|0,$4(67484),1));global$0=$9_1+16|0;$681($10_1);global$0=$7_1+32|0}global$0=$4_1+32|0;$1_1=$5_1+328|0;$0_1=0;while(1){if($12($1_1)>>>0>$0_1>>>0){$258(HEAP32[$29($1_1,$0_1)+4>>2]);$0_1=$0_1+1|0;continue}break}$1($170($1_1));$0_1=$691($5_1);$1($0_1);$1_1=$0_1+240|0;label$11:{if(!$1_1){$5(0,3,37126,0);break label$11}$0_1=HEAP32[$1_1>>2];if($0_1){$2_1=$0_1+16|0;$70($2_1);HEAP32[$0_1+4>>2]=2;$361($0_1+40|0);$4_1=$0_1+88|0;while(1){if(HEAP32[$0_1+8>>2]!=2){$358($4_1,$2_1);continue}break}$0_1=HEAP32[HEAP32[$1_1>>2]+136>>2];if($0_1){$1(HEAP32[$0_1+4>>2]);$1($0_1)}$672($1_1)}}$0_1=0}global$0=$3_1+16|0;return $0_1|0}function $1309($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;$8_1=$8_1|0;var $9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$0_1=global$0-1072|0;global$0=$0_1;HEAP32[$0_1+16>>2]=$5_1;HEAP32[$0_1+20>>2]=$6_1;HEAP32[$0_1+24>>2]=$7_1;HEAP32[$0_1+28>>2]=$8_1;$9_1=$0_1+960|0;HEAP32[$0_1+956>>2]=$9_1;$9_1=$437($9_1,100,31307,$0_1+16|0);HEAP32[$0_1+544>>2]=316;$10_1=$0_1+544|0;$14_1=$54($0_1+536|0,0,$10_1);HEAP32[$0_1+544>>2]=316;$11_1=$54($0_1+528|0,0,$10_1);label$1:{if($9_1>>>0>=100){$9_1=$43();HEAP32[$0_1>>2]=$5_1;HEAP32[$0_1+4>>2]=$6_1;HEAP32[$0_1+8>>2]=$7_1;HEAP32[$0_1+12>>2]=$8_1;$9_1=$174($0_1+956|0,$9_1,31307,$0_1);if(($9_1|0)==-1){break label$1}$73($14_1,HEAP32[$0_1+956>>2]);$73($11_1,$7($9_1<<2));if($332($11_1)){break label$1}$10_1=HEAP32[$11_1>>2]}$5_1=$0_1+520|0;$30($5_1,$3_1);$15_1=$101($5_1);$5_1=HEAP32[$0_1+956>>2];$185($15_1,$5_1,$5_1+$9_1|0,$10_1);$12_1=($9_1|0)>0?HEAPU8[HEAP32[$0_1+956>>2]]==45:$12_1;$13_1=$18($0_1+488|0);$6_1=$18($0_1+472|0);$7_1=$18($0_1+456|0);$903($2_1,$12_1,$0_1+520|0,$0_1+512|0,$0_1+508|0,$0_1+504|0,$13_1,$6_1,$7_1,$0_1+452|0);HEAP32[$0_1+48>>2]=316;$2_1=$0_1+48|0;$8_1=$54($0_1+40|0,0,$2_1);$5_1=HEAP32[$0_1+452>>2];label$4:{if(($5_1|0)<($9_1|0)){$5_1=((($6($7_1)+($9_1-$5_1<<1)|0)+$6($6_1)|0)+HEAP32[$0_1+452>>2]|0)+1|0;break label$4}$5_1=(($6($7_1)+$6($6_1)|0)+HEAP32[$0_1+452>>2]|0)+2|0}if($5_1>>>0>=101){$73($8_1,$7($5_1<<2));$2_1=HEAP32[$8_1>>2];if(!$2_1){break label$1}}$902($2_1,$0_1+36|0,$0_1+32|0,HEAP32[$3_1+4>>2],$10_1,($9_1<<2)+$10_1|0,$15_1,$12_1,$0_1+512|0,HEAP32[$0_1+508>>2],HEAP32[$0_1+504>>2],$13_1,$6_1,$7_1,HEAP32[$0_1+452>>2]);$1_1=$238($1_1,$2_1,HEAP32[$0_1+36>>2],HEAP32[$0_1+32>>2],$3_1,$4_1);$53($8_1);$8($7_1);$8($6_1);$8($13_1);$19($0_1+520|0);$53($11_1);$53($14_1);global$0=$0_1+1072|0;return $1_1|0}$55();abort()}function $1054($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$11_1=HEAP32[$0_1+336>>2];$0_1=HEAP32[$1_1+84>>2];$8_1=global$0-112|0;$1_1=$8_1;while(1){$6_1=HEAP32[$0_1+96>>2];$7_1=HEAP16[$2_1+48>>1];$5_1=HEAP32[$0_1+32>>2];$12_1=HEAP16[$2_1+16>>1];$14_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$0_1>>2])<<13|1024;$9_1=Math_imul(HEAP32[$0_1+64>>2],HEAP16[$2_1+32>>1]);$10_1=Math_imul(HEAP32[$0_1+128>>2],HEAP16[$2_1+64>>1]);$15_1=$9_1-$10_1|0;HEAP32[$1_1+40>>2]=$14_1+Math_imul($15_1,-11584)>>11;$7_1=Math_imul($6_1,$7_1);$5_1=Math_imul($5_1,$12_1);$6_1=Math_imul($7_1+$5_1|0,6810);$12_1=$14_1+Math_imul($15_1,2896)|0;$9_1=Math_imul($9_1+$10_1|0,6476);$10_1=$12_1+$9_1|0;$5_1=$6_1+Math_imul($5_1,4209)|0;HEAP32[$1_1+80>>2]=$10_1-$5_1>>11;HEAP32[$1_1>>2]=$5_1+$10_1>>11;$5_1=$12_1-$9_1|0;$6_1=$6_1+Math_imul($7_1,-17828)|0;HEAP32[$1_1+60>>2]=$5_1-$6_1>>11;HEAP32[$1_1+20>>2]=$5_1+$6_1>>11;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$2_1=$2_1+2|0;$13_1=$13_1+1|0;if(($13_1|0)!=5){continue}break}$0_1=$11_1-384|0;$2_1=$8_1;$13_1=0;while(1){$6_1=HEAP32[$2_1+12>>2];$11_1=HEAP32[$2_1+4>>2];$8_1=Math_imul($6_1+$11_1|0,6810);$1_1=HEAP32[($13_1<<2)+$3_1>>2]+$4_1|0;$11_1=$8_1+Math_imul($11_1,4209)|0;$9_1=(HEAP32[$2_1>>2]<<13)+134348800|0;$7_1=HEAP32[$2_1+8>>2];$5_1=HEAP32[$2_1+16>>2];$12_1=$7_1-$5_1|0;$10_1=$9_1+Math_imul($12_1,2896)|0;$7_1=Math_imul($5_1+$7_1|0,6476);$5_1=$10_1+$7_1|0;HEAP8[$1_1|0]=HEAPU8[$0_1+($11_1+$5_1>>>18&1023)|0];HEAP8[$1_1+4|0]=HEAPU8[$0_1+($5_1-$11_1>>>18&1023)|0];$8_1=$8_1+Math_imul($6_1,-17828)|0;$6_1=$10_1-$7_1|0;HEAP8[$1_1+1|0]=HEAPU8[$0_1+($8_1+$6_1>>>18&1023)|0];HEAP8[$1_1+3|0]=HEAPU8[$0_1+($6_1-$8_1>>>18&1023)|0];HEAP8[$1_1+2|0]=HEAPU8[$0_1+($9_1+Math_imul($12_1,268423872)>>>18&1023)|0];$2_1=$2_1+20|0;$13_1=$13_1+1|0;if(($13_1|0)!=5){continue}break}}function $419($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,wasm2js_i32$0=0,wasm2js_i32$1=0,wasm2js_i32$2=0;$9_1=global$0-128|0;global$0=$9_1;HEAP32[$9_1+120>>2]=$1_1;$10_1=$462($2_1,$3_1);HEAP32[$9_1+16>>2]=316;$8_1=$9_1+16|0;$15_1=$54($9_1+8|0,0,$8_1);label$1:{if($10_1>>>0>=101){$8_1=$7($10_1);if(!$8_1){break label$1}$73($15_1,$8_1)}$7_1=$8_1;$1_1=$2_1;while(1)if(($1_1|0)==($3_1|0)){label$5:while(1){label$6:{if(!(wasm2js_i32$0=$96($0_1,$9_1+120|0),wasm2js_i32$1=0,wasm2js_i32$2=$10_1,wasm2js_i32$2?wasm2js_i32$0:wasm2js_i32$1)){if($69($0_1,$9_1+120|0)){HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|2}break label$6}$12_1=$58($0_1);if(!$6_1){$12_1=$418($4_1,$12_1)}$16_1=$13_1+1|0;$17_1=0;$7_1=$8_1;$1_1=$2_1;while(1)if(($1_1|0)==($3_1|0)){$13_1=$16_1;if(!$17_1){continue label$5}$75($0_1);$7_1=$8_1;$1_1=$2_1;if($10_1+$11_1>>>0<2){continue label$5}while(1){if(($1_1|0)==($3_1|0)){continue label$5}label$15:{if(HEAPU8[$7_1|0]!=2){break label$15}if(($6($1_1)|0)==($13_1|0)){break label$15}HEAP8[$7_1|0]=0;$11_1=$11_1-1|0}$7_1=$7_1+1|0;$1_1=$1_1+12|0;continue}}else{label$17:{if(HEAPU8[$7_1|0]!=1){break label$17}$14_1=HEAPU8[$16($1_1,$13_1)|0];$18_1=$12_1&255;if(!$6_1){$14_1=$418($4_1,$14_1<<24>>24)}label$18:{if(($14_1&255)==($18_1|0)){$17_1=1;if(($6($1_1)|0)!=($16_1|0)){break label$17}HEAP8[$7_1|0]=2;$11_1=$11_1+1|0;break label$18}HEAP8[$7_1|0]=0}$10_1=$10_1-1|0}$7_1=$7_1+1|0;$1_1=$1_1+12|0;continue}}break}label$22:{label$23:{while(1){if(($2_1|0)==($3_1|0)){break label$23}if(HEAPU8[$8_1|0]!=2){$8_1=$8_1+1|0;$2_1=$2_1+12|0;continue}break}$3_1=$2_1;break label$22}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4}$53($15_1);global$0=$9_1+128|0;return $3_1}else{label$27:{if(!$150($1_1)){HEAP8[$7_1|0]=1;break label$27}HEAP8[$7_1|0]=2;$11_1=$11_1+1|0;$10_1=$10_1-1|0}$7_1=$7_1+1|0;$1_1=$1_1+12|0;continue}}$55();abort()}function $1311($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;$8_1=$8_1|0;var $9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$0_1=global$0-464|0;global$0=$0_1;HEAP32[$0_1+16>>2]=$5_1;HEAP32[$0_1+20>>2]=$6_1;HEAP32[$0_1+24>>2]=$7_1;HEAP32[$0_1+28>>2]=$8_1;$9_1=$0_1+352|0;HEAP32[$0_1+348>>2]=$9_1;$9_1=$437($9_1,100,31307,$0_1+16|0);HEAP32[$0_1+240>>2]=316;$10_1=$0_1+240|0;$14_1=$54($0_1+232|0,0,$10_1);HEAP32[$0_1+240>>2]=316;$11_1=$54($0_1+224|0,0,$10_1);label$1:{if($9_1>>>0>=100){$9_1=$43();HEAP32[$0_1>>2]=$5_1;HEAP32[$0_1+4>>2]=$6_1;HEAP32[$0_1+8>>2]=$7_1;HEAP32[$0_1+12>>2]=$8_1;$9_1=$174($0_1+348|0,$9_1,31307,$0_1);if(($9_1|0)==-1){break label$1}$73($14_1,HEAP32[$0_1+348>>2]);$73($11_1,$7($9_1));if($332($11_1)){break label$1}$10_1=HEAP32[$11_1>>2]}$5_1=$0_1+216|0;$30($5_1,$3_1);$15_1=$106($5_1);$5_1=HEAP32[$0_1+348>>2];$207($15_1,$5_1,$5_1+$9_1|0,$10_1);$12_1=($9_1|0)>0?HEAPU8[HEAP32[$0_1+348>>2]]==45:$12_1;$13_1=$18($0_1+192|0);$6_1=$18($0_1+176|0);$7_1=$18($0_1+160|0);$905($2_1,$12_1,$0_1+216|0,$0_1+208|0,$0_1+207|0,$0_1+206|0,$13_1,$6_1,$7_1,$0_1+156|0);HEAP32[$0_1+48>>2]=316;$2_1=$0_1+48|0;$8_1=$54($0_1+40|0,0,$2_1);$5_1=HEAP32[$0_1+156>>2];label$4:{if(($5_1|0)<($9_1|0)){$5_1=((($6($7_1)+($9_1-$5_1<<1)|0)+$6($6_1)|0)+HEAP32[$0_1+156>>2]|0)+1|0;break label$4}$5_1=(($6($7_1)+$6($6_1)|0)+HEAP32[$0_1+156>>2]|0)+2|0}if($5_1>>>0>=101){$73($8_1,$7($5_1));$2_1=HEAP32[$8_1>>2];if(!$2_1){break label$1}}$904($2_1,$0_1+36|0,$0_1+32|0,HEAP32[$3_1+4>>2],$10_1,$9_1+$10_1|0,$15_1,$12_1,$0_1+208|0,HEAP8[$0_1+207|0],HEAP8[$0_1+206|0],$13_1,$6_1,$7_1,HEAP32[$0_1+156>>2]);$1_1=$200($1_1,$2_1,HEAP32[$0_1+36>>2],HEAP32[$0_1+32>>2],$3_1,$4_1);$53($8_1);$8($7_1);$8($6_1);$8($13_1);$19($0_1+216|0);$53($11_1);$53($14_1);global$0=$0_1+464|0;return $1_1|0}$55();abort()}function $597($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=Math_fround(0),$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=Math_fround(0),$11_1=Math_fround(0),$12_1=Math_fround(0),$13_1=Math_fround(0),$14_1=Math_fround(0),$15_1=0;$7_1=global$0-16|0;global$0=$7_1;$9_1=-1;$8_1=global$0+-64|0;global$0=$8_1;global$0=$8_1- -64|0;$5_1=HEAPF32[$0_1+32>>2];$10_1=Math_fround(Math_fround($5_1*$3_1)-HEAPF32[$0_1+16>>2]);$11_1=Math_fround(Math_fround($5_1*$2_1)-HEAPF32[$0_1>>2]);$5_1=HEAPF32[$0_1+36>>2];$12_1=Math_fround(Math_fround($5_1*$3_1)-HEAPF32[$0_1+20>>2]);$13_1=Math_fround(Math_fround($5_1*$2_1)-HEAPF32[$0_1+4>>2]);$5_1=Math_fround(Math_fround($11_1*$12_1)-Math_fround($10_1*$13_1));$6_1=-1;label$1:{if($5_1==Math_fround(0)){break label$1}$14_1=HEAPF32[$0_1+44>>2];$3_1=Math_fround(HEAPF32[$0_1+28>>2]-Math_fround($14_1*$3_1));$2_1=Math_fround(HEAPF32[$0_1+12>>2]-Math_fround($14_1*$2_1));HEAPF32[$7_1+12>>2]=Math_fround(Math_fround($12_1*$2_1)+Math_fround($3_1*Math_fround(-$13_1)))/$5_1;HEAPF32[$7_1+8>>2]=Math_fround(Math_fround($11_1*$3_1)-Math_fround($2_1*$10_1))/$5_1;$6_1=0}label$2:{if(($6_1|0)<0){break label$2}$2_1=HEAPF32[$1_1+12>>2];$3_1=Math_fround(Math_fround(Math_fround(HEAPF32[$7_1+12>>2]*$2_1)/Math_fround(25.399999618530273))+Math_fround(.5));label$3:{if(Math_fround(Math_abs($3_1))>2];if(($0_1|0)>=($8_1|0)){break label$2}$15_1=HEAP32[$1_1+8>>2];$2_1=Math_fround(Math_fround(Math_fround($15_1|0)+Math_fround(Math_fround($2_1*HEAPF32[$7_1+8>>2])/Math_fround(-25.399999618530273)))+Math_fround(.5));label$5:{if(Math_fround(Math_abs($2_1))=($15_1|0)){break label$2}HEAP8[$4_1|0]=HEAPU8[HEAP32[$1_1>>2]+($0_1+Math_imul($8_1,$6_1)|0)|0];$9_1=0}global$0=$7_1+16|0;return $9_1}function $776($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=Math_fround(0),$9_1=0,$10_1=0;$5_1=global$0-32|0;global$0=$5_1;HEAP32[$5_1+16>>2]=$316($1_1);$9_1=$5_1+24|0;$10_1=$5_1+16|0;$2_1=global$0-32|0;global$0=$2_1;$13($0_1);$7_1=HEAP32[$1_1>>2];$3_1=$104($0_1);HEAP8[$2_1+31|0]=0;label$1:{label$2:{if(!$3_1){break label$2}$6_1=$46($7_1,$3_1);$4_1=HEAP32[$9($0_1,$6_1)>>2];if(!$4_1){break label$2}while(1){$4_1=HEAP32[$4_1>>2];if(!$4_1){break label$2}if(HEAP32[$4_1+4>>2]!=($7_1|0)){if(($46(HEAP32[$4_1+4>>2],$3_1)|0)!=($6_1|0)){break label$2}}if(!$225($45($0_1),$4_1+8|0,$1_1)){continue}break}break label$1}$730($2_1+16|0,$0_1,$7_1,$10_1);if(!(Math_fround(HEAP32[$13($0_1)>>2]+1>>>0)>Math_fround(HEAPF32[$45($0_1)>>2]*Math_fround($3_1>>>0))?0:$3_1)){HEAP32[$2_1+12>>2]=$224($3_1)^1|$3_1<<1;$8_1=Math_fround(Math_ceil(Math_fround(Math_fround(HEAP32[$13($0_1)>>2]+1>>>0)/HEAPF32[$45($0_1)>>2])));label$7:{if($8_1=Math_fround(0)){$1_1=~~$8_1>>>0;break label$7}$1_1=0}HEAP32[$2_1+8>>2]=$1_1;$264($0_1,HEAP32[$67($2_1+12|0,$2_1+8|0)>>2]);$3_1=$104($0_1);$6_1=$46($7_1,$3_1)}$1_1=HEAP32[$9($0_1,$6_1)>>2];label$9:{if(!$1_1){$1_1=$0_1+8|0;HEAP32[HEAP32[$2_1+16>>2]>>2]=HEAP32[$1_1>>2];HEAP32[$0_1+8>>2]=HEAP32[$2_1+16>>2];HEAP32[$9($0_1,$6_1)>>2]=$1_1;if(!HEAP32[HEAP32[$2_1+16>>2]>>2]){break label$9}$1_1=HEAP32[$2_1+16>>2];HEAP32[$9($0_1,$46(HEAP32[HEAP32[HEAP32[$2_1+16>>2]>>2]+4>>2],$3_1))>>2]=$1_1;break label$9}HEAP32[HEAP32[$2_1+16>>2]>>2]=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=HEAP32[$2_1+16>>2]}$1_1=$2_1+16|0;$4_1=$141($1_1);$0_1=$13($0_1);HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+1;HEAP8[$2_1+31|0]=1;$0_1=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=0;if($0_1){$1_1=$34($1_1);if(HEAPU8[$1_1+4|0]){$757($0_1+8|0)}if($0_1){$1($0_1)}}}$263($9_1,$80($2_1+16|0,$4_1),$2_1+31|0);global$0=$2_1+32|0;$0_1=$63($9_1);global$0=$5_1+32|0;return $0_1+4|0}function $710($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1){var $10_1=Math_fround(0),$11_1=Math_fround(0),$12_1=Math_fround(0),$13_1=Math_fround(0),$14_1=Math_fround(0),$15_1=Math_fround(0),$16_1=Math_fround(0),$17_1=Math_fround(0),$18_1=Math_fround(0),$19_1=Math_fround(0);$10_1=Math_fround(Math_fround(Math_fround(Math_fround(HEAPF32[$6_1>>2]+HEAPF32[$7_1>>2])+HEAPF32[$8_1>>2])+HEAPF32[$9_1>>2])*Math_fround(.25));HEAPF32[$5_1>>2]=$10_1;$11_1=Math_fround(Math_fround(Math_fround(Math_fround(HEAPF32[$6_1+4>>2]+HEAPF32[$7_1+4>>2])+HEAPF32[$8_1+4>>2])+HEAPF32[$9_1+4>>2])*Math_fround(.25));HEAPF32[$5_1+4>>2]=$11_1;$12_1=Math_fround(HEAPF32[$6_1>>2]-$10_1);$13_1=Math_fround(HEAPF32[$6_1+4>>2]-$11_1);$14_1=Math_fround(HEAPF32[$7_1>>2]-$10_1);$15_1=Math_fround(HEAPF32[$7_1+4>>2]-$11_1);$16_1=Math_fround(HEAPF32[$8_1>>2]-$10_1);$17_1=Math_fround(HEAPF32[$8_1+4>>2]-$11_1);$10_1=Math_fround(HEAPF32[$9_1>>2]-$10_1);$11_1=Math_fround(HEAPF32[$9_1+4>>2]-$11_1);$18_1=Math_fround(Math_fround(Math_fround(Math_fround(Math_fround(Math_sqrt(Math_fround(Math_fround($12_1*$12_1)+Math_fround($13_1*$13_1))))+Math_fround(Math_sqrt(Math_fround(Math_fround($14_1*$14_1)+Math_fround($15_1*$15_1)))))+Math_fround(Math_sqrt(Math_fround(Math_fround($16_1*$16_1)+Math_fround($17_1*$17_1)))))+Math_fround(Math_sqrt(Math_fround(Math_fround($10_1*$10_1)+Math_fround($11_1*$11_1)))))*Math_fround(.25));if($18_1!=Math_fround(0)){$19_1=Math_fround(+Math_fround(Math_fround(1)/$18_1)*1.4142135623730951);HEAPF32[$4_1>>2]=$19_1;HEAPF32[$0_1>>2]=$12_1*$19_1;HEAPF32[$0_1+4>>2]=$13_1*HEAPF32[$4_1>>2];HEAPF32[$1_1>>2]=$14_1*HEAPF32[$4_1>>2];HEAPF32[$1_1+4>>2]=$15_1*HEAPF32[$4_1>>2];HEAPF32[$2_1>>2]=$16_1*HEAPF32[$4_1>>2];HEAPF32[$2_1+4>>2]=$17_1*HEAPF32[$4_1>>2];HEAPF32[$3_1>>2]=$10_1*HEAPF32[$4_1>>2];HEAPF32[$3_1+4>>2]=$11_1*HEAPF32[$4_1>>2]}return $18_1!=Math_fround(0)}function $181($0_1,$1_1){var $2_1=Math_fround(0),$3_1=0,$4_1=0,$5_1=0,$6_1=0;$2_1=Math_fround($0_1+$1_1);label$1:{if(!(((wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2))&2147483647)>>>0<2139095041&((wasm2js_scratch_store_f32($1_1),wasm2js_scratch_load_i32(2))&2147483647)>>>0<=2139095040)){break label$1}$3_1=(wasm2js_scratch_store_f32($1_1),wasm2js_scratch_load_i32(2));if(($3_1|0)==1065353216){$2_1=$651($0_1);break label$1}$6_1=$3_1>>>30&2;$4_1=(wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2));$5_1=$6_1|$4_1>>>31;label$3:{$4_1=$4_1&2147483647;label$4:{if(!$4_1){label$6:{switch($5_1-2|0){case 0:$2_1=Math_fround(3.1415927410125732);break label$1;case 1:break label$6;default:break label$4}}$2_1=Math_fround(-3.1415927410125732);break label$1}$3_1=$3_1&2147483647;if(($3_1|0)!=2139095040){$2_1=(wasm2js_scratch_store_i32(2,(wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2))&-2147483648|1070141403),wasm2js_scratch_load_f32());if(!$3_1){break label$1}$2_1=(wasm2js_scratch_store_i32(2,(wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2))&-2147483648|1070141403),wasm2js_scratch_load_f32());if(!(($4_1|0)!=2139095040&$4_1>>>0<=$3_1+218103808>>>0)){break label$1}label$9:{if($6_1){$2_1=Math_fround(0);if($3_1>>>0>$4_1+218103808>>>0){break label$9}}$2_1=$651(Math_fround(Math_abs(Math_fround($0_1/$1_1))))}$0_1=$2_1;label$11:{switch($5_1|0){case 1:$2_1=Math_fround(-$0_1);break label$1;case 2:$2_1=Math_fround(Math_fround(3.1415927410125732)-Math_fround($0_1+Math_fround(8.742277657347586e-8)));break label$1;case 0:break label$4;default:break label$11}}$2_1=Math_fround(Math_fround($0_1+Math_fround(8.742277657347586e-8))+Math_fround(-3.1415927410125732));break label$1}if(($4_1|0)==2139095040){break label$3}$0_1=HEAPF32[($5_1<<2)+43104>>2]}$2_1=$0_1;break label$1}$2_1=HEAPF32[($5_1<<2)+43088>>2]}return $2_1}function $417($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,wasm2js_i32$0=0,wasm2js_i32$1=0,wasm2js_i32$2=0;$9_1=global$0-128|0;global$0=$9_1;HEAP32[$9_1+120>>2]=$1_1;$10_1=$462($2_1,$3_1);HEAP32[$9_1+16>>2]=316;$8_1=$9_1+16|0;$15_1=$54($9_1+8|0,0,$8_1);label$1:{if($10_1>>>0>=101){$8_1=$7($10_1);if(!$8_1){break label$1}$73($15_1,$8_1)}$7_1=$8_1;$1_1=$2_1;while(1)if(($1_1|0)==($3_1|0)){label$5:while(1){label$6:{if(!(wasm2js_i32$0=$95($0_1,$9_1+120|0),wasm2js_i32$1=0,wasm2js_i32$2=$10_1,wasm2js_i32$2?wasm2js_i32$0:wasm2js_i32$1)){if($68($0_1,$9_1+120|0)){HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|2}break label$6}$12_1=$57($0_1);if(!$6_1){$12_1=$83($4_1,$12_1)}$16_1=$13_1+1|0;$17_1=0;$7_1=$8_1;$1_1=$2_1;while(1)if(($1_1|0)==($3_1|0)){$13_1=$16_1;if(!$17_1){continue label$5}$74($0_1);$7_1=$8_1;$1_1=$2_1;if($10_1+$11_1>>>0<2){continue label$5}while(1){if(($1_1|0)==($3_1|0)){continue label$5}label$15:{if(HEAPU8[$7_1|0]!=2){break label$15}if(($6($1_1)|0)==($13_1|0)){break label$15}HEAP8[$7_1|0]=0;$11_1=$11_1-1|0}$7_1=$7_1+1|0;$1_1=$1_1+12|0;continue}}else{label$17:{if(HEAPU8[$7_1|0]!=1){break label$17}$14_1=HEAP32[$416($1_1,$13_1)>>2];if(!$6_1){$14_1=$83($4_1,$14_1)}label$18:{if(($12_1|0)==($14_1|0)){$17_1=1;if(($6($1_1)|0)!=($16_1|0)){break label$17}HEAP8[$7_1|0]=2;$11_1=$11_1+1|0;break label$18}HEAP8[$7_1|0]=0}$10_1=$10_1-1|0}$7_1=$7_1+1|0;$1_1=$1_1+12|0;continue}}break}label$22:{label$23:{while(1){if(($2_1|0)==($3_1|0)){break label$23}if(HEAPU8[$8_1|0]!=2){$8_1=$8_1+1|0;$2_1=$2_1+12|0;continue}break}$3_1=$2_1;break label$22}HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|4}$53($15_1);global$0=$9_1+128|0;return $3_1}else{label$27:{if(!$150($1_1)){HEAP8[$7_1|0]=1;break label$27}HEAP8[$7_1|0]=2;$11_1=$11_1+1|0;$10_1=$10_1-1|0}$7_1=$7_1+1|0;$1_1=$1_1+12|0;continue}}$55();abort()}function $1341($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;var $8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0;$0_1=global$0-256|0;global$0=$0_1;HEAP32[$0_1+248>>2]=37;HEAP32[$0_1+252>>2]=0;$12_1=$413($0_1+248|1,34646,HEAP32[$2_1+4>>2]);HEAP32[$0_1+204>>2]=$0_1+208;$8_1=$43();label$2:{if($12_1){$9_1=HEAP32[$2_1+8>>2];$10_1=$0_1- -64|0;HEAP32[$10_1>>2]=$6_1;HEAP32[$10_1+4>>2]=$7_1;HEAP32[$0_1+56>>2]=$4_1;HEAP32[$0_1+60>>2]=$5_1;HEAP32[$0_1+48>>2]=$9_1;$8_1=$130($0_1+208|0,30,$8_1,$0_1+248|0,$0_1+48|0);break label$2}HEAP32[$0_1+80>>2]=$4_1;HEAP32[$0_1+84>>2]=$5_1;HEAP32[$0_1+88>>2]=$6_1;HEAP32[$0_1+92>>2]=$7_1;$8_1=$130($0_1+208|0,30,$8_1,$0_1+248|0,$0_1+80|0)}HEAP32[$0_1+128>>2]=316;$10_1=$54($0_1+192|0,0,$0_1+128|0);$11_1=$0_1+208|0;$9_1=$11_1;label$1:{label$4:{if(($8_1|0)>=30){$8_1=$43();label$6:{if($12_1){$9_1=HEAP32[$2_1+8>>2];HEAP32[$0_1+16>>2]=$6_1;HEAP32[$0_1+20>>2]=$7_1;HEAP32[$0_1+8>>2]=$4_1;HEAP32[$0_1+12>>2]=$5_1;HEAP32[$0_1>>2]=$9_1;$8_1=$174($0_1+204|0,$8_1,$0_1+248|0,$0_1);break label$6}HEAP32[$0_1+32>>2]=$4_1;HEAP32[$0_1+36>>2]=$5_1;HEAP32[$0_1+40>>2]=$6_1;HEAP32[$0_1+44>>2]=$7_1;$8_1=$174($0_1+204|0,$8_1,$0_1+248|0,$0_1+32|0)}if(($8_1|0)==-1){break label$4}$73($10_1,HEAP32[$0_1+204>>2]);$9_1=HEAP32[$0_1+204>>2]}$6_1=$8_1+$9_1|0;$7_1=$175($9_1,$6_1,$2_1);HEAP32[$0_1+128>>2]=316;$4_1=$54($0_1+120|0,0,$0_1+128|0);label$8:{if(HEAP32[$0_1+204>>2]==($0_1+208|0)){$8_1=$0_1+128|0;break label$8}$8_1=$7($8_1<<1);if(!$8_1){break label$4}$73($4_1,$8_1);$11_1=HEAP32[$0_1+204>>2]}$5_1=$0_1+104|0;$30($5_1,$2_1);$934($11_1,$7_1,$6_1,$8_1,$0_1+116|0,$0_1+112|0,$5_1);$19($5_1);$1_1=$200($1_1,$8_1,HEAP32[$0_1+116>>2],HEAP32[$0_1+112>>2],$2_1,$3_1);$53($4_1);$53($10_1);global$0=$0_1+256|0;break label$1}$55();abort()}return $1_1|0}function $1332($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;var $8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0;$0_1=global$0-432|0;global$0=$0_1;HEAP32[$0_1+424>>2]=37;HEAP32[$0_1+428>>2]=0;$12_1=$413($0_1+424|1,34646,HEAP32[$2_1+4>>2]);HEAP32[$0_1+380>>2]=$0_1+384;$8_1=$43();label$2:{if($12_1){$9_1=HEAP32[$2_1+8>>2];$10_1=$0_1- -64|0;HEAP32[$10_1>>2]=$6_1;HEAP32[$10_1+4>>2]=$7_1;HEAP32[$0_1+56>>2]=$4_1;HEAP32[$0_1+60>>2]=$5_1;HEAP32[$0_1+48>>2]=$9_1;$8_1=$130($0_1+384|0,30,$8_1,$0_1+424|0,$0_1+48|0);break label$2}HEAP32[$0_1+80>>2]=$4_1;HEAP32[$0_1+84>>2]=$5_1;HEAP32[$0_1+88>>2]=$6_1;HEAP32[$0_1+92>>2]=$7_1;$8_1=$130($0_1+384|0,30,$8_1,$0_1+424|0,$0_1+80|0)}HEAP32[$0_1+128>>2]=316;$10_1=$54($0_1+368|0,0,$0_1+128|0);$11_1=$0_1+384|0;$9_1=$11_1;label$1:{label$4:{if(($8_1|0)>=30){$8_1=$43();label$6:{if($12_1){$9_1=HEAP32[$2_1+8>>2];HEAP32[$0_1+16>>2]=$6_1;HEAP32[$0_1+20>>2]=$7_1;HEAP32[$0_1+8>>2]=$4_1;HEAP32[$0_1+12>>2]=$5_1;HEAP32[$0_1>>2]=$9_1;$8_1=$174($0_1+380|0,$8_1,$0_1+424|0,$0_1);break label$6}HEAP32[$0_1+32>>2]=$4_1;HEAP32[$0_1+36>>2]=$5_1;HEAP32[$0_1+40>>2]=$6_1;HEAP32[$0_1+44>>2]=$7_1;$8_1=$174($0_1+380|0,$8_1,$0_1+424|0,$0_1+32|0)}if(($8_1|0)==-1){break label$4}$73($10_1,HEAP32[$0_1+380>>2]);$9_1=HEAP32[$0_1+380>>2]}$6_1=$8_1+$9_1|0;$7_1=$175($9_1,$6_1,$2_1);HEAP32[$0_1+128>>2]=316;$4_1=$54($0_1+120|0,0,$0_1+128|0);label$8:{if(HEAP32[$0_1+380>>2]==($0_1+384|0)){$8_1=$0_1+128|0;break label$8}$8_1=$7($8_1<<3);if(!$8_1){break label$4}$73($4_1,$8_1);$11_1=HEAP32[$0_1+380>>2]}$5_1=$0_1+104|0;$30($5_1,$2_1);$932($11_1,$7_1,$6_1,$8_1,$0_1+116|0,$0_1+112|0,$5_1);$19($5_1);$1_1=$238($1_1,$8_1,HEAP32[$0_1+116>>2],HEAP32[$0_1+112>>2],$2_1,$3_1);$53($4_1);$53($10_1);global$0=$0_1+432|0;break label$1}$55();abort()}return $1_1|0}function $1229($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0;if($121($0_1,HEAP32[$1_1+8>>2],$4_1)){$522($1_1,$2_1,$3_1);return}label$2:{if($121($0_1,HEAP32[$1_1>>2],$4_1)){if(!(HEAP32[$1_1+16>>2]!=($2_1|0)&HEAP32[$1_1+20>>2]!=($2_1|0))){if(($3_1|0)!=1){break label$2}HEAP32[$1_1+32>>2]=1;return}HEAP32[$1_1+32>>2]=$3_1;if(HEAP32[$1_1+44>>2]!=4){$5_1=$0_1+16|0;$7_1=$5_1+(HEAP32[$0_1+12>>2]<<3)|0;$3_1=0;label$7:{label$8:{while(1){label$10:{if($5_1>>>0>=$7_1>>>0){break label$10}HEAP16[$1_1+52>>1]=0;$521($5_1,$1_1,$2_1,$2_1,1,$4_1);if(HEAPU8[$1_1+54|0]){break label$10}label$11:{if(!HEAPU8[$1_1+53|0]){break label$11}if(HEAPU8[$1_1+52|0]){$3_1=1;if(HEAP32[$1_1+24>>2]==1){break label$8}$6_1=1;if(HEAPU8[$0_1+8|0]&2){break label$11}break label$8}$6_1=1;if(!(HEAP8[$0_1+8|0]&1)){break label$8}}$5_1=$5_1+8|0;continue}break}$0_1=4;if(!$6_1){break label$7}}$0_1=3}HEAP32[$1_1+44>>2]=$0_1;if($3_1&1){break label$2}}HEAP32[$1_1+20>>2]=$2_1;HEAP32[$1_1+40>>2]=HEAP32[$1_1+40>>2]+1;if(HEAP32[$1_1+36>>2]!=1|HEAP32[$1_1+24>>2]!=2){break label$2}HEAP8[$1_1+54|0]=1;return}$6_1=HEAP32[$0_1+12>>2];$7_1=$0_1+16|0;$406($7_1,$1_1,$2_1,$3_1,$4_1);$5_1=$0_1+24|0;$6_1=$7_1+($6_1<<3)|0;if($5_1>>>0>=$6_1>>>0){break label$2}$0_1=HEAP32[$0_1+8>>2];if(!(!($0_1&2)&HEAP32[$1_1+36>>2]!=1)){while(1){if(HEAPU8[$1_1+54|0]){break label$2}$406($5_1,$1_1,$2_1,$3_1,$4_1);$5_1=$5_1+8|0;if($6_1>>>0>$5_1>>>0){continue}break}break label$2}if(!($0_1&1)){while(1){if(HEAPU8[$1_1+54|0]|HEAP32[$1_1+36>>2]==1){break label$2}$406($5_1,$1_1,$2_1,$3_1,$4_1);$5_1=$5_1+8|0;if($6_1>>>0>$5_1>>>0){continue}break label$2}}while(1){if(HEAPU8[$1_1+54|0]|HEAP32[$1_1+36>>2]==1&HEAP32[$1_1+24>>2]==1){break label$2}$406($5_1,$1_1,$2_1,$3_1,$4_1);$5_1=$5_1+8|0;if($6_1>>>0>$5_1>>>0){continue}break}}}function $216($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$5_1=global$0-16|0;global$0=$5_1;label$1:{label$2:{if(!$249(33776,HEAP8[$1_1|0])){HEAP32[$22()>>2]=28;break label$2}$3_1=2;if(!$249($1_1,43)){$3_1=HEAPU8[$1_1|0]!=114}$3_1=$249($1_1,120)?$3_1|128:$3_1;$3_1=$249($1_1,101)?$3_1|524288:$3_1;$4_1=$3_1;$6_1=$3_1|64;$3_1=HEAPU8[$1_1|0];$4_1=($3_1|0)==114?$4_1:$6_1;$4_1=($3_1|0)==119?$4_1|512:$4_1;HEAP32[$5_1>>2]=438;HEAP32[$5_1+4>>2]=0;$0_1=fimport$43(-100,$0_1|0,(($3_1|0)==97?$4_1|1024:$4_1)|32768,$5_1|0)|0;if($0_1>>>0>=4294963201){HEAP32[$22()>>2]=0-$0_1;$0_1=-1}if(($0_1|0)<0){break label$1}$3_1=global$0-32|0;global$0=$3_1;label$6:{label$7:{label$8:{if(!$249(33776,HEAP8[$1_1|0])){HEAP32[$22()>>2]=28;break label$8}$2_1=$7(1176);if($2_1){break label$7}}$1_1=0;break label$6}$11($2_1,0,144);if(!$249($1_1,43)){HEAP32[$2_1>>2]=HEAPU8[$1_1|0]==114?8:4}label$11:{if(HEAPU8[$1_1|0]!=97){$1_1=HEAP32[$2_1>>2];break label$11}$1_1=fimport$14($0_1|0,3,0)|0;if(!($1_1&1024)){$1_1=$1_1|1024;HEAP32[$3_1+16>>2]=$1_1;HEAP32[$3_1+20>>2]=$1_1>>31;fimport$14($0_1|0,4,$3_1+16|0)|0}$1_1=HEAP32[$2_1>>2]|128;HEAP32[$2_1>>2]=$1_1}HEAP32[$2_1+80>>2]=-1;HEAP32[$2_1+48>>2]=1024;HEAP32[$2_1+60>>2]=$0_1;HEAP32[$2_1+44>>2]=$2_1+152;label$14:{if($1_1&8){break label$14}HEAP32[$3_1>>2]=$3_1+24;HEAP32[$3_1+4>>2]=0;if(fimport$42($0_1|0,21523,$3_1|0)|0){break label$14}HEAP32[$2_1+80>>2]=10}HEAP32[$2_1+40>>2]=233;HEAP32[$2_1+36>>2]=234;HEAP32[$2_1+32>>2]=235;HEAP32[$2_1+12>>2]=236;if(!HEAPU8[67941]){HEAP32[$2_1+76>>2]=-1}$1_1=$362();HEAP32[$2_1+56>>2]=HEAP32[$1_1>>2];$4_1=HEAP32[$1_1>>2];if($4_1){HEAP32[$4_1+52>>2]=$2_1}HEAP32[$1_1>>2]=$2_1;$298(68152);$1_1=$2_1}global$0=$3_1+32|0;$2_1=$1_1;if($2_1){break label$1}fimport$12($0_1|0)|0}$2_1=0}global$0=$5_1+16|0;return $2_1}function $651($0_1){var $1_1=0,$2_1=0,$3_1=Math_fround(0),$4_1=Math_fround(0),$5_1=0,$6_1=Math_fround(0);$5_1=(wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2));$2_1=$5_1&2147483647;if($2_1>>>0>=1283457024){return((wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2))&2147483647)>>>0>2139095040?$0_1:(wasm2js_scratch_store_i32(2,(wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2))&-2147483648|1070141402),wasm2js_scratch_load_f32())}label$2:{label$3:{if($2_1>>>0<=1054867455){$1_1=-1;if($2_1>>>0>=964689920){break label$3}break label$2}$0_1=Math_fround(Math_abs($0_1));if($2_1>>>0<=1066926079){if($2_1>>>0<=1060110335){$0_1=Math_fround(Math_fround(Math_fround($0_1+$0_1)+Math_fround(-1))/Math_fround($0_1+Math_fround(2)));$1_1=0;break label$3}$0_1=Math_fround(Math_fround($0_1+Math_fround(-1))/Math_fround($0_1+Math_fround(1)));$1_1=1;break label$3}if($2_1>>>0<=1075576831){$0_1=Math_fround(Math_fround($0_1+Math_fround(-1.5))/Math_fround(Math_fround($0_1*Math_fround(1.5))+Math_fround(1)));$1_1=2;break label$3}$0_1=Math_fround(Math_fround(-1)/$0_1);$1_1=3}$4_1=Math_fround($0_1*$0_1);$3_1=Math_fround($4_1*$4_1);$6_1=Math_fround($3_1*Math_fround(Math_fround($3_1*Math_fround(-.106480173766613))+Math_fround(-.19999158382415771)));$3_1=Math_fround($4_1*Math_fround(Math_fround($3_1*Math_fround(Math_fround($3_1*Math_fround(.06168760731816292))+Math_fround(.14253635704517365)))+Math_fround(.333333283662796)));if($2_1>>>0<=1054867455){return Math_fround($0_1-Math_fround($0_1*Math_fround($6_1+$3_1)))}$1_1=$1_1<<2;$0_1=Math_fround(HEAPF32[$1_1+43120>>2]-Math_fround(Math_fround(Math_fround($0_1*Math_fround($6_1+$3_1))-HEAPF32[$1_1+43136>>2])-$0_1));$0_1=($5_1|0)<0?Math_fround(-$0_1):$0_1}return $0_1}function $658($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0;$7_1=999999984/($2_1>>>0)|0;$4_1=HEAP32[$0_1+4>>2];if($2_1>>>0>=999999985){$8_1=HEAP32[$0_1>>2];HEAP32[$8_1+20>>2]=72;FUNCTION_TABLE[HEAP32[$8_1>>2]]($0_1)}$7_1=($3_1|0)>($7_1|0)?$7_1:$3_1;HEAP32[$4_1+80>>2]=$7_1;$11_1=$306($0_1,$1_1,$3_1<<2);if($3_1){$12_1=$1_1>>>0<2;$8_1=0;while(1){$6_1=HEAP32[$0_1+4>>2];$4_1=$3_1-$8_1|0;$7_1=$4_1>>>0>$7_1>>>0?$7_1:$4_1;$4_1=Math_imul($7_1,$2_1);if($4_1>>>0>=999999985){$5_1=HEAP32[$0_1>>2];HEAP32[$5_1+20>>2]=56;HEAP32[$5_1+24>>2]=3;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$5_1=$4_1&7;$5_1=$4_1+($5_1?8-$5_1|0:0)|0;if(!$12_1){$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+24>>2]=$1_1;HEAP32[$4_1+20>>2]=15;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$9_1=$5_1+16|0;$4_1=$7($9_1);if(!$4_1){$10_1=HEAP32[$0_1>>2];HEAP32[$10_1+20>>2]=56;HEAP32[$10_1+24>>2]=4;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}HEAP32[$6_1+76>>2]=$9_1+HEAP32[$6_1+76>>2];$6_1=$6_1+($1_1<<2)|0;$9_1=HEAP32[$6_1+60>>2];HEAP32[$4_1+8>>2]=0;HEAP32[$4_1+4>>2]=$5_1;HEAP32[$4_1>>2]=$9_1;HEAP32[$6_1+60>>2]=$4_1;label$7:{if(!$7_1){break label$7}$6_1=$4_1+16|0;$5_1=0;$4_1=$7_1;$9_1=$4_1&3;if($9_1){while(1){HEAP32[($8_1<<2)+$11_1>>2]=$6_1;$4_1=$4_1-1|0;$6_1=$2_1+$6_1|0;$8_1=$8_1+1|0;$5_1=$5_1+1|0;if(($9_1|0)!=($5_1|0)){continue}break}}if($7_1-1>>>0<3){break label$7}while(1){$5_1=($8_1<<2)+$11_1|0;HEAP32[$5_1>>2]=$6_1;$6_1=$2_1+$6_1|0;$9_1=$6_1+$2_1|0;$10_1=$9_1+$2_1|0;HEAP32[$5_1+12>>2]=$10_1;HEAP32[$5_1+8>>2]=$9_1;HEAP32[$5_1+4>>2]=$6_1;$8_1=$8_1+4|0;$6_1=$2_1+$10_1|0;$4_1=$4_1-4|0;if($4_1){continue}break}}if($3_1>>>0>$8_1>>>0){continue}break}}return $11_1|0}function $1157($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=$0_1;HEAP32[$4_1+8>>2]=$26(67484,$4_1+12|0);HEAP32[$4_1>>2]=$23();label$1:{if($31($4_1+8|0,$4_1)){$0_1=HEAP32[15939];break label$1}$0_1=$32($4_1+12|0);$3_1=HEAP32[$0_1+216>>2];if(HEAP32[$3_1+44>>2]<=($1_1|0)){$0_1=HEAP32[15940];break label$1}$7_1=HEAP32[$0_1+228>>2];$5_1=+($2_1|0);$0_1=global$0-192|0;global$0=$0_1;$1_1=($1_1|0)<0?67528:($3_1+($1_1<<8)|0)+48|0;$2_1=$1_1+168|0;$3_1=$1_1+20|0;label$4:{if(HEAP32[$1_1+12>>2]<0){break label$4}$3_1=$1_1+24|0;if(HEAP32[$1_1+8>>2]<0){break label$4}$3_1=$1_1+16|0}$1_1=HEAP32[$3_1>>2];$3_1=$2_1+((4-$1_1|0)%4<<4)|0;HEAPF64[$0_1+128>>3]=HEAPF64[$3_1>>3];HEAPF64[$0_1+136>>3]=HEAPF64[$3_1+8>>3];$3_1=$2_1+((5-$1_1|0)%4<<4)|0;HEAPF64[$0_1+144>>3]=HEAPF64[$3_1>>3];HEAPF64[$0_1+152>>3]=HEAPF64[$3_1+8>>3];$3_1=$2_1+((6-$1_1|0)%4<<4)|0;HEAPF64[$0_1+160>>3]=HEAPF64[$3_1>>3];HEAPF64[$0_1+168>>3]=HEAPF64[$3_1+8>>3];$1_1=$2_1+((7-$1_1|0)%4<<4)|0;HEAPF64[$0_1+176>>3]=HEAPF64[$1_1>>3];$8_1=HEAPF64[$1_1+8>>3];HEAP32[$0_1+120>>2]=0;HEAP32[$0_1+124>>2]=0;$6_1=$5_1*-.5;HEAPF64[$0_1+112>>3]=$6_1;HEAP32[$0_1+96>>2]=0;HEAP32[$0_1+100>>2]=0;HEAPF64[$0_1+88>>3]=$6_1;HEAP32[$0_1+72>>2]=0;HEAP32[$0_1+76>>2]=0;$5_1=$5_1*.5;HEAPF64[$0_1- -64>>3]=$5_1;HEAPF64[$0_1+184>>3]=$8_1;HEAPF64[$0_1+104>>3]=$6_1;HEAPF64[$0_1+80>>3]=$5_1;HEAPF64[$0_1+56>>3]=$5_1;HEAP32[$0_1+48>>2]=0;HEAP32[$0_1+52>>2]=0;HEAPF64[$0_1+40>>3]=$5_1;HEAPF64[$0_1+32>>3]=$6_1;HEAP32[$0_1+24>>2]=4;HEAP32[$0_1+20>>2]=$0_1+32;HEAP32[$0_1+16>>2]=$0_1+128;$311(HEAP32[$7_1>>2],$0_1+16|0,67792,67792,$0_1+8|0);global$0=$0_1+192|0;$0_1=0}global$0=$4_1+16|0;return $0_1|0}function $311($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0;$7_1=global$0-160|0;global$0=$7_1;$5_1=-1;$6_1=HEAP32[$1_1+8>>2];label$1:{if(($6_1|0)<3){break label$1}$10_1=$7(Math_imul($6_1,96));if(!$10_1){$5(0,3,1429,0);break label$1}$11_1=$7($6_1<<4);if($11_1){$6_1=0;while(1){$5_1=0;if(($6_1|0)==3){$6_1=0;label$6:{while(1){$496($0_1,$3_1,$7_1+48|0);$8_1=0;$5_1=0;while(1){$2_1=HEAP32[$1_1+8>>2];if(($2_1|0)>($5_1|0)){if(($719($7_1+144|0,$7_1+48|0,HEAP32[$1_1+4>>2]+Math_imul($5_1,24)|0)|0)<0){break label$6}$2_1=$5_1<<4;$9_1=$2_1+HEAP32[$1_1>>2]|0;$12_1=HEAPF64[$9_1>>3];$15_1=HEAPF64[$7_1+144>>3];$2_1=$2_1+$11_1|0;$13_1=HEAPF64[$9_1+8>>3]-HEAPF64[$7_1+152>>3];HEAPF64[$2_1+8>>3]=$13_1;$12_1=$12_1-$15_1;HEAPF64[$2_1>>3]=$12_1;$8_1=$8_1+($12_1*$12_1+$13_1*$13_1);$5_1=$5_1+1|0;continue}break}label$10:{$8_1=$8_1/+($2_1|0);if($8_1>3]|!(!$6_1|!($8_1>3]))&HEAPF64[$0_1+112>>3]<$8_1/$16_1){break label$10}$5_1=0;if(HEAP32[$0_1+96>>2]==($6_1|0)){break label$10}while(1){$2_1=HEAP32[$1_1+8>>2];if(($2_1|0)>($5_1|0)){$2_1=Math_imul($5_1,24);$9_1=Math_imul($5_1,96);$5_1=$5_1+1|0;if(($713($10_1+$9_1|0,$0_1,$3_1,$2_1+HEAP32[$1_1+4>>2]|0)|0)>=0){continue}break label$6}break}if(($707($7_1,$11_1,$10_1,$2_1<<1)|0)<0){break label$6}$703($3_1,$7_1);$6_1=$6_1+1|0;$16_1=$8_1;continue}break}HEAPF64[$4_1>>3]=$8_1;$1($10_1);$1($11_1);$5_1=0;break label$1}$1($10_1);$1($11_1);$5_1=-1;break label$1}else{while(1){if(($5_1|0)!=4){$14_1=$5_1<<3;$9_1=$6_1<<5;HEAPF64[$14_1+($9_1+$3_1|0)>>3]=HEAPF64[$14_1+($2_1+$9_1|0)>>3];$5_1=$5_1+1|0;continue}break}$6_1=$6_1+1|0;continue}}}$5(0,3,1429,0);$1($10_1)}global$0=$7_1+160|0;return $5_1}function $659($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0;$10_1=$2_1<<7;$5_1=999999984/($10_1>>>0)|0;$4_1=HEAP32[$0_1+4>>2];if($10_1>>>0>=999999985){$7_1=HEAP32[$0_1>>2];HEAP32[$7_1+20>>2]=72;FUNCTION_TABLE[HEAP32[$7_1>>2]]($0_1)}$5_1=($3_1|0)>($5_1|0)?$5_1:$3_1;HEAP32[$4_1+80>>2]=$5_1;$11_1=$306($0_1,$1_1,$3_1<<2);if($3_1){$13_1=$1_1>>>0<2;$9_1=$2_1<<7;$7_1=0;while(1){$4_1=HEAP32[$0_1+4>>2];$2_1=$3_1-$7_1|0;$5_1=$2_1>>>0>$5_1>>>0?$5_1:$2_1;$6_1=Math_imul($10_1,$5_1);if($6_1>>>0>=999999985){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=56;HEAP32[$2_1+24>>2]=3;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}if(!$13_1){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$1_1;HEAP32[$2_1+20>>2]=15;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$8_1=$6_1|16;$2_1=$7($8_1);if(!$2_1){$12_1=HEAP32[$0_1>>2];HEAP32[$12_1+20>>2]=56;HEAP32[$12_1+24>>2]=4;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}HEAP32[$4_1+76>>2]=$8_1+HEAP32[$4_1+76>>2];$4_1=$4_1+($1_1<<2)|0;$8_1=HEAP32[$4_1+60>>2];HEAP32[$2_1+8>>2]=0;HEAP32[$2_1+4>>2]=$6_1;HEAP32[$2_1>>2]=$8_1;HEAP32[$4_1+60>>2]=$2_1;label$7:{if(!$5_1){break label$7}$2_1=$2_1+16|0;$6_1=0;$4_1=$5_1;$8_1=$5_1&3;if($8_1){while(1){HEAP32[($7_1<<2)+$11_1>>2]=$2_1;$4_1=$4_1-1|0;$7_1=$7_1+1|0;$2_1=$2_1+$9_1|0;$6_1=$6_1+1|0;if(($8_1|0)!=($6_1|0)){continue}break}}if($5_1-1>>>0<3){break label$7}while(1){$6_1=($7_1<<2)+$11_1|0;HEAP32[$6_1>>2]=$2_1;$2_1=$2_1+$9_1|0;$8_1=$2_1+$9_1|0;HEAP32[$6_1+8>>2]=$8_1;HEAP32[$6_1+4>>2]=$2_1;$2_1=$8_1+$9_1|0;HEAP32[$6_1+12>>2]=$2_1;$2_1=$2_1+$9_1|0;$7_1=$7_1+4|0;$4_1=$4_1-4|0;if($4_1){continue}break}}if($3_1>>>0>$7_1>>>0){continue}break}}return $11_1|0}function $1027($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0;$1_1=HEAP32[$1_1+84>>2];$5_1=Math_imul(HEAP32[$1_1+96>>2],HEAP16[$2_1+48>>1]);$7_1=Math_imul(HEAP32[$1_1+32>>2],HEAP16[$2_1+16>>1]);$6_1=Math_imul($5_1+$7_1|0,4433);$8_1=HEAP32[$3_1>>2]+$4_1|0;$0_1=HEAP32[$0_1+336>>2]-384|0;$9_1=Math_imul(HEAP32[$1_1+100>>2],HEAP16[$2_1+50>>1]);$10_1=Math_imul(HEAP32[$1_1+36>>2],HEAP16[$2_1+18>>1]);$11_1=Math_imul($9_1+$10_1|0,4433);$10_1=$11_1+Math_imul($10_1,6270)|0;$12_1=Math_imul(HEAP32[$1_1+68>>2],HEAPU16[$2_1+34>>1]);$13_1=Math_imul(HEAP32[$1_1+4>>2],HEAPU16[$2_1+2>>1]);$14_1=$12_1+$13_1<<13;$15_1=$10_1+$14_1|0;$16_1=Math_imul(HEAP32[$1_1+64>>2],HEAPU16[$2_1+32>>1]);$1_1=Math_imul(HEAP32[$1_1>>2],HEAPU16[$2_1>>1]);$2_1=$16_1+$1_1<<13;$7_1=$6_1+Math_imul($7_1,6270)|0;$17_1=($2_1+$7_1|0)+33587200|0;HEAP8[$8_1|0]=HEAPU8[$0_1+($15_1+$17_1>>>16&1023)|0];HEAP8[$8_1+1|0]=HEAPU8[$0_1+($17_1-$15_1>>>16&1023)|0];$8_1=HEAP32[$3_1+4>>2]+$4_1|0;$6_1=$6_1+Math_imul($5_1,-15137)|0;$1_1=$1_1-$16_1<<13;$5_1=($6_1+$1_1|0)+33587200|0;$9_1=Math_imul($9_1,-15137)+$11_1|0;$11_1=$13_1-$12_1<<13;$12_1=$9_1+$11_1|0;HEAP8[$8_1|0]=HEAPU8[$0_1+($5_1+$12_1>>>16&1023)|0];HEAP8[$8_1+1|0]=HEAPU8[$0_1+($5_1-$12_1>>>16&1023)|0];$5_1=HEAP32[$3_1+8>>2]+$4_1|0;$1_1=($1_1-$6_1|0)+33587200|0;$6_1=$11_1-$9_1|0;HEAP8[$5_1|0]=HEAPU8[$0_1+($1_1+$6_1>>>16&1023)|0];HEAP8[$5_1+1|0]=HEAPU8[$0_1+($1_1-$6_1>>>16&1023)|0];$1_1=HEAP32[$3_1+12>>2]+$4_1|0;$2_1=($2_1-$7_1|0)+33587200|0;$3_1=$14_1-$10_1|0;HEAP8[$1_1|0]=HEAPU8[$0_1+($2_1+$3_1>>>16&1023)|0];HEAP8[$1_1+1|0]=HEAPU8[$0_1+($2_1-$3_1>>>16&1023)|0]}function $611($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;$4_1=global$0-208|0;global$0=$4_1;HEAP32[$4_1+8>>2]=1;HEAP32[$4_1+12>>2]=0;$8_1=Math_imul($1_1,$2_1);label$1:{if(!$8_1){break label$1}HEAP32[$4_1+16>>2]=$2_1;HEAP32[$4_1+20>>2]=$2_1;$9_1=0-$2_1|0;$1_1=$2_1;$5_1=$1_1;$7_1=2;while(1){$6_1=$1_1;$1_1=($2_1+$5_1|0)+$1_1|0;HEAP32[($4_1+16|0)+($7_1<<2)>>2]=$1_1;$7_1=$7_1+1|0;$5_1=$6_1;if($1_1>>>0<$8_1>>>0){continue}break}$6_1=($0_1+$8_1|0)+$9_1|0;label$3:{if($6_1>>>0<=$0_1>>>0){$7_1=0;$1_1=1;$6_1=0;break label$3}$7_1=1;$1_1=1;while(1){label$6:{if(($7_1&3)==3){$439($0_1,$2_1,$3_1,$1_1,$4_1+16|0);$356($4_1+8|0,2);$1_1=$1_1+2|0;break label$6}$5_1=$1_1-1|0;label$8:{if(HEAPU32[($4_1+16|0)+($5_1<<2)>>2]>=$6_1-$0_1>>>0){$355($0_1,$2_1,$3_1,$4_1+8|0,$1_1,0,$4_1+16|0);break label$8}$439($0_1,$2_1,$3_1,$1_1,$4_1+16|0)}if(($1_1|0)==1){$354($4_1+8|0,1);$1_1=0;break label$6}$354($4_1+8|0,$5_1);$1_1=1}$5_1=HEAP32[$4_1+8>>2];$7_1=$5_1|1;HEAP32[$4_1+8>>2]=$7_1;$0_1=$0_1+$2_1|0;if($6_1>>>0>$0_1>>>0){continue}break}$7_1=$5_1>>>0>1;$6_1=HEAP32[$4_1+12>>2]!=0}$355($0_1,$2_1,$3_1,$4_1+8|0,$1_1,0,$4_1+16|0);if(!($6_1?1:($1_1|0)!=1|$7_1)){break label$1}while(1){label$12:{if(($1_1|0)<=1){$5_1=$4_1+8|0;$6_1=$610($5_1);$356($5_1,$6_1);$7_1=HEAP32[$4_1+8>>2];$1_1=$1_1+$6_1|0;break label$12}$5_1=$4_1+8|0;$354($5_1,2);HEAP32[$4_1+8>>2]=HEAP32[$4_1+8>>2]^7;$356($5_1,1);$10_1=$0_1+$9_1|0;$8_1=$4_1+16|0;$6_1=$1_1-2|0;$355($10_1-HEAP32[$8_1+($6_1<<2)>>2]|0,$2_1,$3_1,$5_1,$1_1-1|0,1,$8_1);$354($5_1,1);$7_1=HEAP32[$4_1+8>>2]|1;HEAP32[$4_1+8>>2]=$7_1;$355($10_1,$2_1,$3_1,$5_1,$6_1,1,$8_1);$1_1=$6_1}$0_1=$0_1+$9_1|0;if(HEAP32[$4_1+12>>2]|($7_1|0)!=1|($1_1|0)!=1){continue}break}}global$0=$4_1+208|0}function $1314($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;var $7_1=0,$8_1=0;$0_1=global$0-624|0;global$0=$0_1;HEAP32[$0_1+608>>2]=$2_1;HEAP32[$0_1+616>>2]=$1_1;HEAP32[$0_1+16>>2]=317;$1_1=$54($0_1+200|0,$0_1+208|0,$0_1+16|0);$7_1=$0_1+192|0;$30($7_1,$4_1);$8_1=$101($7_1);HEAP8[$0_1+191|0]=0;label$1:{if(!$910($0_1+616|0,$2_1,$3_1,$7_1,HEAP32[$4_1+4>>2],$5_1,$0_1+191|0,$8_1,$1_1,$0_1+196|0,$0_1+608|0)){break label$1}$2_1=HEAPU8[36127]|HEAPU8[36128]<<8|(HEAPU8[36129]<<16|HEAPU8[36130]<<24);HEAP8[$0_1+183|0]=$2_1;HEAP8[$0_1+184|0]=$2_1>>>8;HEAP8[$0_1+185|0]=$2_1>>>16;HEAP8[$0_1+186|0]=$2_1>>>24;$2_1=HEAPU8[36124]|HEAPU8[36125]<<8|(HEAPU8[36126]<<16|HEAPU8[36127]<<24);HEAP32[$0_1+176>>2]=HEAPU8[36120]|HEAPU8[36121]<<8|(HEAPU8[36122]<<16|HEAPU8[36123]<<24);HEAP32[$0_1+180>>2]=$2_1;$185($8_1,$0_1+176|0,$0_1+186|0,$0_1+128|0);HEAP32[$0_1+16>>2]=316;$4_1=$0_1+16|0;$3_1=$54($0_1+8|0,0,$4_1);label$2:{if((HEAP32[$0_1+196>>2]-HEAP32[$1_1>>2]|0)>=393){$73($3_1,$7((HEAP32[$0_1+196>>2]-HEAP32[$1_1>>2]>>2)+2|0));if(!HEAP32[$3_1>>2]){break label$2}$4_1=HEAP32[$3_1>>2]}if(HEAPU8[$0_1+191|0]){HEAP8[$4_1|0]=45;$4_1=$4_1+1|0}$2_1=HEAP32[$1_1>>2];while(1){if(HEAPU32[$0_1+196>>2]<=$2_1>>>0){label$7:{HEAP8[$4_1|0]=0;HEAP32[$0_1>>2]=$6_1;if(($124($0_1+16|0,31313,$0_1)|0)!=1){break label$7}$53($3_1);break label$1}}else{$7_1=$0_1+128|0;HEAP8[$4_1|0]=HEAPU8[($0_1+176|0)+($537($7_1,$7_1+40|0,$2_1)-$7_1>>2)|0];$4_1=$4_1+1|0;$2_1=$2_1+4|0;continue}break}$55();abort()}$55();abort()}if($68($0_1+616|0,$0_1+608|0)){HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|2}$2_1=HEAP32[$0_1+616>>2];$19($0_1+192|0);$53($1_1);global$0=$0_1+624|0;return $2_1|0}function $1316($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;var $7_1=0,$8_1=0;$0_1=global$0-288|0;global$0=$0_1;HEAP32[$0_1+272>>2]=$2_1;HEAP32[$0_1+280>>2]=$1_1;HEAP32[$0_1+16>>2]=317;$1_1=$54($0_1+152|0,$0_1+160|0,$0_1+16|0);$7_1=$0_1+144|0;$30($7_1,$4_1);$8_1=$106($7_1);HEAP8[$0_1+143|0]=0;label$1:{if(!$917($0_1+280|0,$2_1,$3_1,$7_1,HEAP32[$4_1+4>>2],$5_1,$0_1+143|0,$8_1,$1_1,$0_1+148|0,$0_1+260|0)){break label$1}$2_1=HEAPU8[36127]|HEAPU8[36128]<<8|(HEAPU8[36129]<<16|HEAPU8[36130]<<24);HEAP8[$0_1+135|0]=$2_1;HEAP8[$0_1+136|0]=$2_1>>>8;HEAP8[$0_1+137|0]=$2_1>>>16;HEAP8[$0_1+138|0]=$2_1>>>24;$2_1=HEAPU8[36124]|HEAPU8[36125]<<8|(HEAPU8[36126]<<16|HEAPU8[36127]<<24);HEAP32[$0_1+128>>2]=HEAPU8[36120]|HEAPU8[36121]<<8|(HEAPU8[36122]<<16|HEAPU8[36123]<<24);HEAP32[$0_1+132>>2]=$2_1;$207($8_1,$0_1+128|0,$0_1+138|0,$0_1+118|0);HEAP32[$0_1+16>>2]=316;$4_1=$0_1+16|0;$3_1=$54($0_1+8|0,0,$4_1);label$2:{if((HEAP32[$0_1+148>>2]-HEAP32[$1_1>>2]|0)>=99){$73($3_1,$7((HEAP32[$0_1+148>>2]-HEAP32[$1_1>>2]|0)+2|0));if(!HEAP32[$3_1>>2]){break label$2}$4_1=HEAP32[$3_1>>2]}if(HEAPU8[$0_1+143|0]){HEAP8[$4_1|0]=45;$4_1=$4_1+1|0}$2_1=HEAP32[$1_1>>2];while(1){if(HEAPU32[$0_1+148>>2]<=$2_1>>>0){label$7:{HEAP8[$4_1|0]=0;HEAP32[$0_1>>2]=$6_1;if(($124($0_1+16|0,31313,$0_1)|0)!=1){break label$7}$53($3_1);break label$1}}else{$7_1=$0_1+118|0;HEAP8[$4_1|0]=HEAPU8[(($541($7_1,$7_1+10|0,$2_1)-$0_1|0)+$0_1|0)+10|0];$4_1=$4_1+1|0;$2_1=$2_1+1|0;continue}break}$55();abort()}$55();abort()}if($69($0_1+280|0,$0_1+272|0)){HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|2}$2_1=HEAP32[$0_1+280>>2];$19($0_1+144|0);$53($1_1);global$0=$0_1+288|0;return $2_1|0}function $1022($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0;$5_1=HEAP32[$0_1+4>>2];$1_1=HEAP32[$5_1+68>>2];if($1_1){while(1){if(!HEAP32[$1_1>>2]){$4_1=HEAP32[$1_1+8>>2];$3_1=Math_imul($4_1,HEAP32[$1_1+4>>2])+$3_1|0;$2_1=Math_imul($4_1,HEAP32[$1_1+12>>2])+$2_1|0}$1_1=HEAP32[$1_1+44>>2];if($1_1){continue}break}}$1_1=HEAP32[$5_1+72>>2];if($1_1){while(1){if(!HEAP32[$1_1>>2]){$4_1=HEAP32[$1_1+8>>2];$3_1=(Math_imul($4_1,HEAP32[$1_1+4>>2])<<7)+$3_1|0;$2_1=(Math_imul($4_1,HEAP32[$1_1+12>>2])<<7)+$2_1|0}$1_1=HEAP32[$1_1+44>>2];if($1_1){continue}break}}label$7:{if(($2_1|0)<=0){break label$7}$4_1=1e9;$1_1=HEAP32[$5_1+68>>2];if($1_1){while(1){if(!HEAP32[$1_1>>2]){$2_1=HEAP32[$1_1+4>>2];$3_1=HEAP32[$1_1+12>>2];label$12:{if(((($2_1-1>>>0)/($3_1>>>0)|0)+1|0)<=($4_1|0)){HEAP32[$1_1+16>>2]=$2_1;break label$12}HEAP32[$1_1+16>>2]=Math_imul($3_1,$4_1);$657($0_1);HEAP32[$1_1+40>>2]=1;$2_1=HEAP32[$1_1+16>>2]}HEAP32[$1_1>>2]=$658($0_1,1,HEAP32[$1_1+8>>2],$2_1);$3_1=HEAP32[$5_1+80>>2];HEAP32[$1_1+36>>2]=0;HEAP32[$1_1+24>>2]=0;HEAP32[$1_1+28>>2]=0;HEAP32[$1_1+20>>2]=$3_1}$1_1=HEAP32[$1_1+44>>2];if($1_1){continue}break}}$1_1=HEAP32[$5_1+72>>2];if(!$1_1){break label$7}while(1){if(!HEAP32[$1_1>>2]){$2_1=HEAP32[$1_1+4>>2];$3_1=HEAP32[$1_1+12>>2];label$16:{if(((($2_1-1>>>0)/($3_1>>>0)|0)+1|0)<=($4_1|0)){HEAP32[$1_1+16>>2]=$2_1;break label$16}HEAP32[$1_1+16>>2]=Math_imul($3_1,$4_1);$657($0_1);HEAP32[$1_1+40>>2]=1;$2_1=HEAP32[$1_1+16>>2]}HEAP32[$1_1>>2]=$659($0_1,1,HEAP32[$1_1+8>>2],$2_1);$3_1=HEAP32[$5_1+80>>2];HEAP32[$1_1+36>>2]=0;HEAP32[$1_1+24>>2]=0;HEAP32[$1_1+28>>2]=0;HEAP32[$1_1+20>>2]=$3_1}$1_1=HEAP32[$1_1+44>>2];if($1_1){continue}break}}}function $1028($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0;$12_1=HEAP32[$0_1+336>>2];$0_1=HEAP32[$1_1+84>>2];$8_1=global$0-80|0;$1_1=$8_1;while(1){$6_1=HEAP32[$0_1+64>>2];$13_1=HEAP16[$2_1+32>>1];$7_1=Math_imul(HEAP16[$2_1>>1],HEAP32[$0_1>>2])<<13|1024;$11_1=Math_imul(HEAP32[$0_1+128>>2],HEAP16[$2_1+64>>1]);$14_1=$7_1+Math_imul($11_1,-11586)>>11;$5_1=Math_imul(HEAP32[$0_1+32>>2],HEAP16[$2_1+16>>1]);$9_1=Math_imul(HEAP32[$0_1+96>>2],HEAP16[$2_1+48>>1]);$10_1=Math_imul(HEAP32[$0_1+160>>2],HEAP16[$2_1+80>>1]);$15_1=$5_1-($9_1+$10_1|0)<<2;HEAP32[$1_1+48>>2]=$14_1-$15_1;HEAP32[$1_1+12>>2]=$14_1+$15_1;$6_1=Math_imul(Math_imul($6_1,$13_1),10033);$13_1=$7_1+Math_imul($11_1,5793)|0;$11_1=$6_1+$13_1|0;$7_1=$5_1+$9_1<<13;$5_1=Math_imul($5_1+$10_1|0,2998);$7_1=$7_1+$5_1|0;HEAP32[$1_1+60>>2]=$11_1-$7_1>>11;HEAP32[$1_1>>2]=$11_1+$7_1>>11;$6_1=$13_1-$6_1|0;$5_1=$5_1+($10_1-$9_1<<13)|0;HEAP32[$1_1+36>>2]=$6_1-$5_1>>11;HEAP32[$1_1+24>>2]=$5_1+$6_1>>11;$1_1=$1_1+4|0;$0_1=$0_1+4|0;$2_1=$2_1+2|0;$16_1=$16_1+1|0;if(($16_1|0)!=3){continue}break}$0_1=$12_1-384|0;$2_1=$8_1;$1_1=0;while(1){$8_1=HEAP32[($1_1<<2)+$3_1>>2]+$4_1|0;$9_1=(HEAP32[$2_1>>2]<<13)+134348800|0;$5_1=HEAP32[$2_1+8>>2];$10_1=$9_1+Math_imul($5_1,5793)|0;$12_1=Math_imul(HEAP32[$2_1+4>>2],10033);HEAP8[$8_1|0]=HEAPU8[$0_1+($10_1+$12_1>>>18&1023)|0];HEAP8[$8_1+2|0]=HEAPU8[$0_1+($10_1-$12_1>>>18&1023)|0];HEAP8[$8_1+1|0]=HEAPU8[$0_1+($9_1+Math_imul($5_1,268423870)>>>18&1023)|0];$2_1=$2_1+12|0;$1_1=$1_1+1|0;if(($1_1|0)!=6){continue}break}}function $539($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1,$10_1,$11_1){var $12_1=0;$12_1=global$0-16|0;global$0=$12_1;HEAP32[$12_1+12>>2]=$0_1;label$1:{label$2:{if(($0_1|0)==($5_1|0)){if(!HEAPU8[$1_1|0]){break label$2}$0_1=0;HEAP8[$1_1|0]=0;$1_1=HEAP32[$4_1>>2];HEAP32[$4_1>>2]=$1_1+1;HEAP8[$1_1|0]=46;if(!$6($7_1)){break label$1}$1_1=HEAP32[$9_1>>2];if(($1_1-$8_1|0)>159){break label$1}$2_1=HEAP32[$10_1>>2];HEAP32[$9_1>>2]=$1_1+4;HEAP32[$1_1>>2]=$2_1;break label$1}label$4:{if(($0_1|0)!=($6_1|0)){break label$4}if(!$6($7_1)){break label$4}if(!HEAPU8[$1_1|0]){break label$2}$0_1=0;$1_1=HEAP32[$9_1>>2];if(($1_1-$8_1|0)>159){break label$1}$0_1=HEAP32[$10_1>>2];HEAP32[$9_1>>2]=$1_1+4;HEAP32[$1_1>>2]=$0_1;$0_1=0;HEAP32[$10_1>>2]=0;break label$1}$0_1=-1;$5_1=$537($11_1,$11_1+128|0,$12_1+12|0)-$11_1|0;if(($5_1|0)>124){break label$1}$6_1=HEAPU8[($5_1>>2)+55776|0];label$5:{label$6:{$0_1=$5_1&-5;if(($0_1|0)!=88){if(($0_1|0)!=96){break label$6}$1_1=HEAP32[$4_1>>2];if(($1_1|0)!=($3_1|0)){$0_1=-1;if((HEAPU8[$1_1-1|0]&95)!=(HEAPU8[$2_1|0]&127)){break label$1}}HEAP32[$4_1>>2]=$1_1+1;HEAP8[$1_1|0]=$6_1;$0_1=0;break label$1}HEAP8[$2_1|0]=80;break label$5}$0_1=$6_1&95;if(($0_1|0)!=HEAPU8[$2_1|0]){break label$5}HEAP8[$2_1|0]=$0_1|128;if(!HEAPU8[$1_1|0]){break label$5}HEAP8[$1_1|0]=0;if(!$6($7_1)){break label$5}$0_1=HEAP32[$9_1>>2];if(($0_1-$8_1|0)>159){break label$5}$1_1=HEAP32[$10_1>>2];HEAP32[$9_1>>2]=$0_1+4;HEAP32[$0_1>>2]=$1_1}$0_1=HEAP32[$4_1>>2];HEAP32[$4_1>>2]=$0_1+1;HEAP8[$0_1|0]=$6_1;$0_1=0;if(($5_1|0)>84){break label$1}HEAP32[$10_1>>2]=HEAP32[$10_1>>2]+1;break label$1}$0_1=-1}global$0=$12_1+16|0;return $0_1}function $884($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1+8>>2]=$5_1;HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1+8>>2]=$5_1;$1_1=HEAP32[$0_1+12>>2];label$1:{while(1){if($1_1>>>0>=$3_1>>>0){$2_1=0;break label$1}$2_1=2;$1_1=HEAP32[$1_1>>2];if($1_1>>>0>1114111|($1_1&-2048)==55296){break label$1}label$5:{label$6:{if($1_1>>>0<=127){$2_1=1;$5_1=HEAP32[$0_1+8>>2];if(($6_1-$5_1|0)<=0){break label$1}HEAP32[$0_1+8>>2]=$5_1+1;HEAP8[$5_1|0]=$1_1;break label$6}if($1_1>>>0<=2047){$2_1=HEAP32[$0_1+8>>2];if(($6_1-$2_1|0)<2){break label$5}HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1>>>6|192;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1&63|128;break label$6}$2_1=HEAP32[$0_1+8>>2];$5_1=$6_1-$2_1|0;if($1_1>>>0<=65535){if(($5_1|0)<3){break label$5}HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1>>>12|224;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1>>>6&63|128;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1&63|128;break label$6}if(($5_1|0)<4){break label$5}HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1>>>18|240;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1>>>12&63|128;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1>>>6&63|128;$2_1=HEAP32[$0_1+8>>2];HEAP32[$0_1+8>>2]=$2_1+1;HEAP8[$2_1|0]=$1_1&63|128}$1_1=HEAP32[$0_1+12>>2]+4|0;HEAP32[$0_1+12>>2]=$1_1;continue}break}$2_1=1}HEAP32[$4_1>>2]=HEAP32[$0_1+12>>2];HEAP32[$7_1>>2]=HEAP32[$0_1+8>>2];global$0=$0_1+16|0;return $2_1|0}function $1035($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0;$1_1=HEAP32[$1_1+84>>2];$5_1=Math_imul(HEAP32[$1_1+44>>2],HEAP16[$2_1+22>>1]);$6_1=HEAP32[$3_1>>2]+$4_1|0;$0_1=HEAP32[$0_1+336>>2]-384|0;$7_1=Math_imul(HEAP32[$1_1+32>>2],HEAPU16[$2_1+16>>1]);$9_1=Math_imul(HEAP32[$1_1>>2],HEAPU16[$2_1>>1]);$8_1=($7_1+$9_1|0)+4100|0;$10_1=Math_imul(HEAP32[$1_1+40>>2],HEAPU16[$2_1+20>>1]);$11_1=Math_imul(HEAP32[$1_1+8>>2],HEAPU16[$2_1+4>>1]);$12_1=$10_1+$11_1|0;$13_1=$8_1+$12_1<<13;$14_1=Math_imul(HEAP32[$1_1+12>>2],HEAP16[$2_1+6>>1]);$15_1=$14_1+$5_1|0;$16_1=Math_imul(HEAP32[$1_1+36>>2],HEAP16[$2_1+18>>1]);$1_1=Math_imul(HEAP32[$1_1+4>>2],HEAP16[$2_1+2>>1]);$2_1=$16_1+$1_1|0;$17_1=Math_imul($15_1+$2_1|0,4433);$2_1=$17_1+Math_imul($2_1,6270)|0;HEAP8[$6_1|0]=HEAPU8[$0_1+($13_1+$2_1>>>16&1023)|0];HEAP8[$6_1+3|0]=HEAPU8[$0_1+($13_1-$2_1>>>16&1023)|0];$2_1=Math_imul($15_1,-15137)+$17_1|0;$8_1=$8_1-$12_1<<13;HEAP8[$6_1+1|0]=HEAPU8[$0_1+($2_1+$8_1>>>16&1023)|0];HEAP8[$6_1+2|0]=HEAPU8[$0_1+($8_1-$2_1>>>16&1023)|0];$6_1=$14_1-$5_1|0;$5_1=$1_1-$16_1|0;$2_1=Math_imul($6_1+$5_1|0,4433);$1_1=HEAP32[$3_1+4>>2]+$4_1|0;$3_1=$2_1+Math_imul($5_1,6270)|0;$4_1=($9_1-$7_1|0)+4100|0;$5_1=$11_1-$10_1|0;$7_1=$4_1+$5_1<<13;HEAP8[$1_1|0]=HEAPU8[$0_1+($3_1+$7_1>>>16&1023)|0];HEAP8[$1_1+3|0]=HEAPU8[$0_1+($7_1-$3_1>>>16&1023)|0];$2_1=$2_1+Math_imul($6_1,-15137)|0;$3_1=$4_1-$5_1<<13;HEAP8[$1_1+1|0]=HEAPU8[$0_1+($2_1+$3_1>>>16&1023)|0];HEAP8[$1_1+2|0]=HEAPU8[$0_1+($3_1-$2_1>>>16&1023)|0]}function $1011($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0,$19_1=0,$20_1=0,$21_1=0,$22_1=0,$23_1=0,$24_1=0,$25_1=0,$26_1=0,$27_1=0,$28_1=0;if(($3_1|0)>0){$21_1=HEAP32[$0_1+336>>2];$5_1=HEAP32[$0_1+484>>2];$8_1=HEAP32[$0_1+120>>2];$22_1=0-$8_1|0;$9_1=HEAP32[$0_1+112>>2];$16_1=$9_1-1|0;$23_1=Math_imul($16_1,$8_1);$24_1=$9_1+1<<1;while(1){$0_1=$13_1<<2;$17_1=$0_1+$2_1|0;$11(HEAP32[$17_1>>2],0,$9_1);if(($8_1|0)>0){$25_1=$0_1+$1_1|0;$6_1=0;while(1){$10_1=HEAP32[$25_1>>2]+$6_1|0;$0_1=HEAP32[$17_1>>2];label$5:{if(HEAP32[$5_1+84>>2]){$0_1=$0_1+$16_1|0;$10_1=$10_1+$23_1|0;$14_1=-1;$18_1=$22_1;$4_1=HEAP32[(($6_1<<2)+$5_1|0)+68>>2]+$24_1|0;break label$5}$14_1=1;$18_1=$8_1;$4_1=HEAP32[(($6_1<<2)+$5_1|0)+68>>2]}$11_1=0;label$7:{if(!$9_1){$7_1=$4_1;$12_1=0;break label$7}$7_1=$6_1<<2;$26_1=HEAP32[$7_1+HEAP32[$5_1+16>>2]>>2];$27_1=HEAP32[$7_1+HEAP32[$5_1+24>>2]>>2];$19_1=0;$15_1=$9_1;$12_1=0;while(1){$7_1=($14_1<<1)+$4_1|0;$20_1=HEAPU8[(HEAPU8[$10_1|0]+((HEAP16[$7_1>>1]+$11_1|0)+8>>4)|0)+$21_1|0];$11_1=HEAPU8[$20_1+$27_1|0];HEAP8[$0_1|0]=$11_1+HEAPU8[$0_1|0];$28_1=$4_1;$4_1=$20_1-HEAPU8[$11_1+$26_1|0]|0;HEAP16[$28_1>>1]=Math_imul($4_1,3)+$12_1;$11_1=Math_imul($4_1,7);$12_1=Math_imul($4_1,5)+$19_1|0;$0_1=$0_1+$14_1|0;$10_1=$10_1+$18_1|0;$19_1=$4_1;$4_1=$7_1;$15_1=$15_1-1|0;if($15_1){continue}break}}HEAP16[$7_1>>1]=$12_1;$6_1=$6_1+1|0;if(($8_1|0)!=($6_1|0)){continue}break}}HEAP32[$5_1+84>>2]=!HEAP32[$5_1+84>>2];$13_1=$13_1+1|0;if(($13_1|0)!=($3_1|0)){continue}break}}}function $433($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0;$6_1=global$0-32|0;global$0=$6_1;$4_1=$3_1&2147483647;$7_1=$4_1;$5_1=$4_1-1006698496|0;$4_1=$4_1-1140785152|0;label$1:{if(($5_1|0)==($4_1|0)&0|$4_1>>>0>$5_1>>>0){$4_1=$3_1<<4|$2_1>>>28;$5_1=$2_1<<4|$1_1>>>28;$2_1=$4_1;$1_1=$1_1&268435455;if(($1_1|0)==134217728&($0_1|0)!=0|$1_1>>>0>134217728){$4_1=$2_1+1073741824|0;$0_1=$5_1+1|0;$4_1=$0_1?$4_1:$4_1+1|0;$5_1=$0_1;break label$1}$4_1=$2_1+1073741824|0;if($0_1|($1_1|0)!=134217728){break label$1}$1_1=$5_1&1;$0_1=$1_1+$5_1|0;$4_1=$0_1>>>0<$1_1>>>0?$4_1+1|0:$4_1;$5_1=$0_1;break label$1}if(!(!$2_1&($7_1|0)==2147418112?!($0_1|$1_1):$7_1>>>0<2147418112)){$4_1=$2_1;$2_1=$3_1<<4|$4_1>>>28;$5_1=$4_1<<4|$1_1>>>28;$4_1=$2_1&524287|2146959360;break label$1}$5_1=0;$4_1=2146435072;if($7_1>>>0>1140785151){break label$1}$4_1=0;$7_1=$7_1>>>16|0;if($7_1>>>0<15249){break label$1}$4_1=$3_1&65535|65536;$92($6_1+16|0,$0_1,$1_1,$2_1,$4_1,$7_1-15233|0);$211($6_1,$0_1,$1_1,$2_1,$4_1,15361-$7_1|0);$4_1=HEAP32[$6_1+4>>2];$7_1=$4_1;$0_1=HEAP32[$6_1+8>>2];$2_1=HEAP32[$6_1+12>>2]<<4|$0_1>>>28;$5_1=$0_1<<4|$4_1>>>28;$4_1=$2_1;$0_1=$7_1&268435455;$1_1=HEAP32[$6_1>>2]|(HEAP32[$6_1+16>>2]|HEAP32[$6_1+24>>2]|(HEAP32[$6_1+20>>2]|HEAP32[$6_1+28>>2]))!=0;if(($0_1|0)==134217728&($1_1|0)!=0|$0_1>>>0>134217728){$0_1=$5_1+1|0;$4_1=$0_1?$4_1:$4_1+1|0;$5_1=$0_1;break label$1}if($1_1|($0_1|0)!=134217728){break label$1}$0_1=$5_1+($5_1&1)|0;$4_1=$0_1>>>0<$5_1>>>0?$4_1+1|0:$4_1;$5_1=$0_1}global$0=$6_1+32|0;wasm2js_scratch_store_i32(0,$5_1|0);wasm2js_scratch_store_i32(1,$3_1&-2147483648|$4_1);return+wasm2js_scratch_load_f64()}function $542($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1,$10_1,$11_1){var $12_1=0;$12_1=global$0-16|0;global$0=$12_1;HEAP8[$12_1+15|0]=$0_1;label$1:{label$2:{if(($0_1|0)==($5_1|0)){if(!HEAPU8[$1_1|0]){break label$2}$0_1=0;HEAP8[$1_1|0]=0;$1_1=HEAP32[$4_1>>2];HEAP32[$4_1>>2]=$1_1+1;HEAP8[$1_1|0]=46;if(!$6($7_1)){break label$1}$1_1=HEAP32[$9_1>>2];if(($1_1-$8_1|0)>159){break label$1}$2_1=HEAP32[$10_1>>2];HEAP32[$9_1>>2]=$1_1+4;HEAP32[$1_1>>2]=$2_1;break label$1}label$4:{if(($0_1|0)!=($6_1|0)){break label$4}if(!$6($7_1)){break label$4}if(!HEAPU8[$1_1|0]){break label$2}$0_1=0;$1_1=HEAP32[$9_1>>2];if(($1_1-$8_1|0)>159){break label$1}$0_1=HEAP32[$10_1>>2];HEAP32[$9_1>>2]=$1_1+4;HEAP32[$1_1>>2]=$0_1;$0_1=0;HEAP32[$10_1>>2]=0;break label$1}$0_1=-1;$5_1=$541($11_1,$11_1+32|0,$12_1+15|0)-$11_1|0;if(($5_1|0)>31){break label$1}$6_1=HEAPU8[$5_1+55776|0];label$5:{label$6:{switch(($5_1&-2)-22|0){case 2:$1_1=HEAP32[$4_1>>2];if(($1_1|0)!=($3_1|0)&(HEAPU8[$1_1-1|0]&95)!=(HEAPU8[$2_1|0]&127)){break label$1}HEAP32[$4_1>>2]=$1_1+1;HEAP8[$1_1|0]=$6_1;$0_1=0;break label$1;case 0:HEAP8[$2_1|0]=80;break label$5;default:break label$6}}$0_1=$6_1&95;if(($0_1|0)!=HEAPU8[$2_1|0]){break label$5}HEAP8[$2_1|0]=$0_1|128;if(!HEAPU8[$1_1|0]){break label$5}HEAP8[$1_1|0]=0;if(!$6($7_1)){break label$5}$0_1=HEAP32[$9_1>>2];if(($0_1-$8_1|0)>159){break label$5}$1_1=HEAP32[$10_1>>2];HEAP32[$9_1>>2]=$0_1+4;HEAP32[$0_1>>2]=$1_1}$0_1=HEAP32[$4_1>>2];HEAP32[$4_1>>2]=$0_1+1;HEAP8[$0_1|0]=$6_1;$0_1=0;if(($5_1|0)>21){break label$1}HEAP32[$10_1>>2]=HEAP32[$10_1>>2]+1;break label$1}$0_1=-1}global$0=$12_1+16|0;return $0_1}function $882($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$0_1=$2_1;label$1:{if(($3_1-$0_1|0)<3){break label$1}}while(1){label$3:{if($4_1>>>0<=$8_1>>>0|$0_1>>>0>=$3_1>>>0){break label$3}$6_1=HEAP8[$0_1|0];$1_1=$6_1&255;label$4:{if(($6_1|0)>=0){$6_1=1;if($1_1>>>0<=1114111){break label$4}break label$3}if($6_1>>>0<4294967234){break label$3}if($6_1>>>0<=4294967263){if(($3_1-$0_1|0)<2){break label$3}$5_1=HEAPU8[$0_1+1|0];if(($5_1&192)!=128){break label$3}$6_1=2;if(($5_1&63|$1_1<<6&1984)>>>0<=1114111){break label$4}break label$3}label$7:{label$8:{if($6_1>>>0<=4294967279){if(($3_1-$0_1|0)<3){break label$3}$7_1=HEAPU8[$0_1+2|0];$5_1=HEAPU8[$0_1+1|0];if(($1_1|0)==237){break label$8}if(($1_1|0)==224){if(($5_1&224)==160){break label$7}break label$3}if(($5_1&192)!=128){break label$3}break label$7}if(($3_1-$0_1|0)<4|$6_1>>>0>4294967284){break label$3}$7_1=HEAPU8[$0_1+3|0];$9_1=HEAPU8[$0_1+2|0];$5_1=HEAPU8[$0_1+1|0];label$11:{label$12:{switch($1_1-240|0){case 0:if(($5_1+112&255)>>>0<48){break label$11}break label$3;case 4:if(($5_1&240)==128){break label$11}break label$3;default:break label$12}}if(($5_1&192)!=128){break label$3}}if(($9_1&192)!=128|($7_1&192)!=128){break label$3}$6_1=4;if(($7_1&63|($9_1<<6&4032|($1_1<<18&1835008|($5_1&63)<<12)))>>>0>1114111){break label$3}break label$4}if(($5_1&224)!=128){break label$3}}if(($7_1&192)!=128){break label$3}$6_1=3;if(($7_1&63|($1_1<<12&61440|($5_1&63)<<6))>>>0>1114111){break label$3}}$8_1=$8_1+1|0;$0_1=$0_1+$6_1|0;continue}break}return $0_1-$2_1|0}function $604($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0;label$1:{if(!$0_1){$0_1=HEAP32[17326];if(!$0_1){break label$1}}$2_1=1424;$3_1=global$0-32|0;HEAP32[$3_1+24>>2]=0;HEAP32[$3_1+28>>2]=0;HEAP32[$3_1+16>>2]=0;HEAP32[$3_1+20>>2]=0;HEAP32[$3_1+8>>2]=0;HEAP32[$3_1+12>>2]=0;HEAP32[$3_1>>2]=0;HEAP32[$3_1+4>>2]=0;$1_1=HEAPU8[1424];$4_1=0;label$3:{if(!$1_1){break label$3}if(!HEAPU8[1425]){$2_1=$0_1;while(1){$3_1=$2_1;$2_1=$3_1+1|0;if(HEAPU8[$3_1|0]==($1_1|0)){continue}break}$4_1=$3_1-$0_1|0;break label$3}while(1){$4_1=$3_1+($1_1>>>3&28)|0;HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|1<<$1_1;$1_1=HEAPU8[$2_1+1|0];$2_1=$2_1+1|0;if($1_1){continue}break}$2_1=$0_1;$1_1=HEAPU8[$0_1|0];label$7:{if(!$1_1){break label$7}while(1){if(!(HEAP32[$3_1+($1_1>>>3&28)>>2]>>>$1_1&1)){break label$7}$1_1=HEAPU8[$2_1+1|0];$2_1=$2_1+1|0;if($1_1){continue}break}}$4_1=$2_1-$0_1|0}$3_1=$4_1+$0_1|0;if(!HEAPU8[$3_1|0]){HEAP32[17326]=0;return 0}$0_1=$3_1;$2_1=1424;$4_1=global$0-32|0;global$0=$4_1;$1_1=HEAP8[1424];label$10:{if(!(HEAPU8[1425]?$1_1:0)){$2_1=$436($0_1,$1_1);break label$10}$11($4_1,0,32);$1_1=HEAPU8[1424];if($1_1){while(1){$5_1=$4_1+($1_1>>>3&28)|0;HEAP32[$5_1>>2]=HEAP32[$5_1>>2]|1<<$1_1;$1_1=HEAPU8[$2_1+1|0];$2_1=$2_1+1|0;if($1_1){continue}break}}$2_1=$0_1;$1_1=HEAPU8[$0_1|0];if(!$1_1){break label$10}while(1){if(HEAP32[$4_1+($1_1>>>3&28)>>2]>>>$1_1&1){break label$10}$1_1=HEAPU8[$2_1+1|0];$2_1=$2_1+1|0;if($1_1){continue}break}}global$0=$4_1+32|0;$0_1=($2_1-$0_1|0)+$3_1|0;if(HEAPU8[$0_1|0]){HEAP32[17326]=$0_1+1;HEAP8[$0_1|0]=0;return $3_1}HEAP32[17326]=0}return $3_1}function $940($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$8_1=global$0-32|0;global$0=$8_1;label$1:{label$2:{label$3:{if(($1_1|0)!=($2_1|0)){$9_1=$22();$10_1=HEAP32[$9_1>>2];HEAP32[$9_1>>2]=0;$6_1=global$0-16|0;global$0=$6_1;$43();$5_1=global$0-16|0;global$0=$5_1;$4_1=global$0-16|0;global$0=$4_1;$544($4_1,$1_1,$8_1+28|0,2);$7_1=HEAP32[$4_1>>2];$11_1=HEAP32[$4_1+4>>2];$1_1=$5_1;$5_1=HEAP32[$4_1+12>>2];HEAP32[$1_1+8>>2]=HEAP32[$4_1+8>>2];HEAP32[$1_1+12>>2]=$5_1;HEAP32[$1_1>>2]=$7_1;HEAP32[$1_1+4>>2]=$11_1;global$0=$4_1+16|0;$5_1=HEAP32[$1_1>>2];$7_1=HEAP32[$1_1+4>>2];$4_1=$6_1;$6_1=HEAP32[$1_1+12>>2];HEAP32[$4_1+8>>2]=HEAP32[$1_1+8>>2];HEAP32[$4_1+12>>2]=$6_1;HEAP32[$4_1>>2]=$5_1;HEAP32[$4_1+4>>2]=$7_1;global$0=$1_1+16|0;$6_1=HEAP32[$4_1>>2];$5_1=HEAP32[$4_1+4>>2];$7_1=HEAP32[$4_1+12>>2];$1_1=$8_1;HEAP32[$1_1+16>>2]=HEAP32[$4_1+8>>2];HEAP32[$1_1+20>>2]=$7_1;HEAP32[$1_1+8>>2]=$6_1;HEAP32[$1_1+12>>2]=$5_1;global$0=$4_1+16|0;$4_1=HEAP32[$1_1+16>>2];$6_1=HEAP32[$1_1+20>>2];$5_1=HEAP32[$1_1+8>>2];$7_1=HEAP32[$1_1+12>>2];$1_1=HEAP32[$9_1>>2];if(!$1_1){break label$3}if(HEAP32[$8_1+28>>2]!=($2_1|0)){break label$2}$12_1=$5_1;$13_1=$7_1;$14_1=$4_1;$15_1=$6_1;if(($1_1|0)!=68){break label$1}break label$2}HEAP32[$3_1>>2]=4;break label$1}HEAP32[$9_1>>2]=$10_1;if(HEAP32[$8_1+28>>2]==($2_1|0)){break label$1}}HEAP32[$3_1>>2]=4;$5_1=$12_1;$7_1=$13_1;$4_1=$14_1;$6_1=$15_1}HEAP32[$0_1>>2]=$5_1;HEAP32[$0_1+4>>2]=$7_1;HEAP32[$0_1+8>>2]=$4_1;HEAP32[$0_1+12>>2]=$6_1;global$0=$8_1+32|0}function $1090($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0;$11_1=HEAP32[$0_1+332>>2]-1|0;$12_1=HEAP32[$0_1+452>>2];label$1:{while(1){$5_1=HEAP32[$0_1+144>>2];$2_1=HEAP32[$0_1+152>>2];if(($5_1|0)>=($2_1|0)&(($2_1|0)!=($5_1|0)|HEAPU32[$0_1+148>>2]>HEAPU32[$0_1+156>>2])){break label$1}if(FUNCTION_TABLE[HEAP32[HEAP32[$0_1+460>>2]>>2]]($0_1)|0){continue}break}return 0}if(HEAP32[$0_1+36>>2]>0){$3_1=HEAP32[$0_1+216>>2];while(1){label$6:{if(!HEAP32[$3_1+52>>2]){break label$6}$4_1=$7_1<<2;$2_1=HEAP32[$3_1+12>>2];$13_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+32>>2]]($0_1,HEAP32[($4_1+$12_1|0)+72>>2],Math_imul($2_1,HEAP32[$0_1+156>>2]),$2_1,0)|0;if(HEAPU32[$0_1+156>>2]<$11_1>>>0){$2_1=HEAP32[$3_1+12>>2]}else{$5_1=HEAP32[$3_1+12>>2];$2_1=HEAPU32[$3_1+32>>2]%($5_1>>>0)|0;$2_1=$2_1?$2_1:$5_1}if(($2_1|0)<=0){break label$6}$14_1=HEAP32[($4_1+HEAP32[$0_1+472>>2]|0)+4>>2];$8_1=HEAP32[$1_1+$4_1>>2];$4_1=HEAP32[$3_1+28>>2];$6_1=0;while(1){$5_1=0;if($4_1){$4_1=HEAP32[($6_1<<2)+$13_1>>2];$9_1=0;$10_1=0;while(1){FUNCTION_TABLE[$14_1|0]($0_1,$3_1,$4_1,$8_1,$9_1);$4_1=$4_1+128|0;$9_1=HEAP32[$3_1+36>>2]+$9_1|0;$5_1=HEAP32[$3_1+28>>2];$10_1=$10_1+1|0;if($5_1>>>0>$10_1>>>0){continue}break}}$8_1=(HEAP32[$3_1+40>>2]<<2)+$8_1|0;$4_1=$5_1;$6_1=$6_1+1|0;if(($2_1|0)!=($6_1|0)){continue}break}}$3_1=$3_1+88|0;$7_1=$7_1+1|0;if(($7_1|0)>2]){continue}break}}$1_1=HEAP32[$0_1+156>>2]+1|0;HEAP32[$0_1+156>>2]=$1_1;return($1_1>>>0>2]?3:4)|0}function $885($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0;$0_1=$2_1;label$1:{if(($3_1-$0_1|0)<3){break label$1}}while(1){label$3:{if($4_1>>>0<=$6_1>>>0|$0_1>>>0>=$3_1>>>0){break label$3}$1_1=HEAPU8[$0_1|0];if($1_1>>>0>1114111){break label$3}$5_1=$0_1+1|0;label$4:{if($1_1<<24>>24>=0){break label$4}if($1_1>>>0<194){break label$3}if($1_1>>>0<=223){if(($3_1-$0_1|0)<2){break label$3}$5_1=HEAPU8[$0_1+1|0];if(($5_1&192)!=128|($5_1&63|$1_1<<6&1984)>>>0>1114111){break label$3}$5_1=$0_1+2|0;break label$4}label$6:{label$7:{if($1_1>>>0<=239){if(($3_1-$0_1|0)<3){break label$3}$7_1=HEAPU8[$0_1+2|0];$5_1=HEAPU8[$0_1+1|0];if(($1_1|0)==237){break label$7}if(($1_1|0)==224){if(($5_1&224)==160){break label$6}break label$3}if(($5_1&192)!=128){break label$3}break label$6}if(($3_1-$0_1|0)<4|$1_1>>>0>244|$4_1-$6_1>>>0<2){break label$3}$7_1=HEAPU8[$0_1+3|0];$8_1=HEAPU8[$0_1+2|0];$5_1=HEAPU8[$0_1+1|0];label$10:{label$11:{switch($1_1-240|0){case 0:if(($5_1+112&255)>>>0<48){break label$10}break label$3;case 4:if(($5_1&240)==128){break label$10}break label$3;default:break label$11}}if(($5_1&192)!=128){break label$3}}if(($8_1&192)!=128|($7_1&192)!=128|($7_1&63|($8_1<<6&4032|($1_1<<18&1835008|($5_1&63)<<12)))>>>0>1114111){break label$3}$6_1=$6_1+1|0;$5_1=$0_1+4|0;break label$4}if(($5_1&224)!=128){break label$3}}if(($7_1&192)!=128|($7_1&63|($1_1<<12&61440|($5_1&63)<<6))>>>0>1114111){break label$3}$5_1=$0_1+3|0}$0_1=$5_1;$6_1=$6_1+1|0;continue}break}return $0_1-$2_1|0}function $454($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0;$10_1=global$0-16|0;global$0=$10_1;label$1:{label$2:{label$3:{label$4:{if($2_1){if(!$3_1){break label$4}if(!$4_1){break label$3}$5_1=Math_imul($695($1_1),Math_imul($2_1,$4_1));HEAP32[$0_1+12>>2]=$5_1;$11_1=Math_imul($3_1,$5_1);if(($11_1|0)!=HEAP32[$0_1+20>>2]){$5_1=$48($11_1);$12_1=global$0-16|0;global$0=$12_1;$6_1=global$0-32|0;global$0=$6_1;$9_1=$12_1+8|0;HEAP32[$9_1>>2]=$5_1;$13_1=$775($6_1+24|0,$5_1);$7_1=$48(16);$8_1=global$0-32|0;global$0=$8_1;HEAP32[$8_1+12>>2]=$5_1;$7_1=$469($7_1);HEAP32[$7_1>>2]=27716;$260($7_1+12|0,$260($8_1+8|0,$8_1+12|0));global$0=$8_1+32|0;HEAP32[$9_1+4>>2]=$7_1;$141($13_1);HEAP32[$6_1+4>>2]=$5_1;HEAP32[$6_1>>2]=$5_1;$5_1=HEAP32[$13_1>>2];HEAP32[$13_1>>2]=0;if($5_1){$1($5_1)}global$0=$6_1+32|0;$470($9_1,$0_1+24|0);$168($9_1);global$0=$12_1+16|0;if(!HEAP32[$0_1+24>>2]){break label$2}if(!HEAP32[$0_1+24>>2]){break label$1}}HEAP32[$0_1+20>>2]=$11_1;HEAP32[$0_1+16>>2]=$4_1;HEAP32[$0_1+8>>2]=$3_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$0_1>>2]=$1_1;global$0=$10_1+16|0;return}$3($0($0($2($0($0($0(71248,1206),2298),3305),127),3802),4136));fimport$0();abort()}$3($0($0($2($0($0($0(71248,5064),2298),3305),128),3802),5659));fimport$0();abort()}$3($0($0($2($0($0($0(71248,8425),2298),3305),130),3802),8945));fimport$0();abort()}$3($0($0($2($0($0($0(71248,10021),2298),3305),149),3802),10487));fimport$0();abort()}fimport$5($318(fimport$6(16)|0,$135($10_1,11174))|0,26592,17);abort()}function $1342($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=+$4_1;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$0_1=global$0-208|0;global$0=$0_1;HEAP32[$0_1+200>>2]=37;HEAP32[$0_1+204>>2]=0;$7_1=$413($0_1+200|1,38084,HEAP32[$2_1+4>>2]);HEAP32[$0_1+156>>2]=$0_1+160;$5_1=$43();label$2:{if($7_1){$6_1=HEAP32[$2_1+8>>2];HEAPF64[$0_1+40>>3]=$4_1;HEAP32[$0_1+32>>2]=$6_1;$5_1=$130($0_1+160|0,30,$5_1,$0_1+200|0,$0_1+32|0);break label$2}HEAPF64[$0_1+48>>3]=$4_1;$5_1=$130($0_1+160|0,30,$5_1,$0_1+200|0,$0_1+48|0)}HEAP32[$0_1+80>>2]=316;$9_1=$54($0_1+144|0,0,$0_1+80|0);$8_1=$0_1+160|0;$6_1=$8_1;label$1:{label$4:{if(($5_1|0)>=30){$5_1=$43();label$6:{if($7_1){$6_1=HEAP32[$2_1+8>>2];HEAPF64[$0_1+8>>3]=$4_1;HEAP32[$0_1>>2]=$6_1;$5_1=$174($0_1+156|0,$5_1,$0_1+200|0,$0_1);break label$6}HEAPF64[$0_1+16>>3]=$4_1;$5_1=$174($0_1+156|0,$5_1,$0_1+200|0,$0_1+16|0)}if(($5_1|0)==-1){break label$4}$73($9_1,HEAP32[$0_1+156>>2]);$6_1=HEAP32[$0_1+156>>2]}$10_1=$5_1+$6_1|0;$11_1=$175($6_1,$10_1,$2_1);HEAP32[$0_1+80>>2]=316;$6_1=$54($0_1+72|0,0,$0_1+80|0);label$8:{if(HEAP32[$0_1+156>>2]==($0_1+160|0)){$5_1=$0_1+80|0;break label$8}$5_1=$7($5_1<<1);if(!$5_1){break label$4}$73($6_1,$5_1);$8_1=HEAP32[$0_1+156>>2]}$7_1=$0_1+56|0;$30($7_1,$2_1);$934($8_1,$11_1,$10_1,$5_1,$0_1+68|0,$0_1- -64|0,$7_1);$19($7_1);$1_1=$200($1_1,$5_1,HEAP32[$0_1+68>>2],HEAP32[$0_1+64>>2],$2_1,$3_1);$53($6_1);$53($9_1);global$0=$0_1+208|0;break label$1}$55();abort()}return $1_1|0}function $1333($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=+$4_1;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$0_1=global$0-384|0;global$0=$0_1;HEAP32[$0_1+376>>2]=37;HEAP32[$0_1+380>>2]=0;$7_1=$413($0_1+376|1,38084,HEAP32[$2_1+4>>2]);HEAP32[$0_1+332>>2]=$0_1+336;$5_1=$43();label$2:{if($7_1){$6_1=HEAP32[$2_1+8>>2];HEAPF64[$0_1+40>>3]=$4_1;HEAP32[$0_1+32>>2]=$6_1;$5_1=$130($0_1+336|0,30,$5_1,$0_1+376|0,$0_1+32|0);break label$2}HEAPF64[$0_1+48>>3]=$4_1;$5_1=$130($0_1+336|0,30,$5_1,$0_1+376|0,$0_1+48|0)}HEAP32[$0_1+80>>2]=316;$9_1=$54($0_1+320|0,0,$0_1+80|0);$8_1=$0_1+336|0;$6_1=$8_1;label$1:{label$4:{if(($5_1|0)>=30){$5_1=$43();label$6:{if($7_1){$6_1=HEAP32[$2_1+8>>2];HEAPF64[$0_1+8>>3]=$4_1;HEAP32[$0_1>>2]=$6_1;$5_1=$174($0_1+332|0,$5_1,$0_1+376|0,$0_1);break label$6}HEAPF64[$0_1+16>>3]=$4_1;$5_1=$174($0_1+332|0,$5_1,$0_1+376|0,$0_1+16|0)}if(($5_1|0)==-1){break label$4}$73($9_1,HEAP32[$0_1+332>>2]);$6_1=HEAP32[$0_1+332>>2]}$10_1=$5_1+$6_1|0;$11_1=$175($6_1,$10_1,$2_1);HEAP32[$0_1+80>>2]=316;$6_1=$54($0_1+72|0,0,$0_1+80|0);label$8:{if(HEAP32[$0_1+332>>2]==($0_1+336|0)){$5_1=$0_1+80|0;break label$8}$5_1=$7($5_1<<3);if(!$5_1){break label$4}$73($6_1,$5_1);$8_1=HEAP32[$0_1+332>>2]}$7_1=$0_1+56|0;$30($7_1,$2_1);$932($8_1,$11_1,$10_1,$5_1,$0_1+68|0,$0_1- -64|0,$7_1);$19($7_1);$1_1=$238($1_1,$5_1,HEAP32[$0_1+68>>2],HEAP32[$0_1+64>>2],$2_1,$3_1);$53($6_1);$53($9_1);global$0=$0_1+384|0;break label$1}$55();abort()}return $1_1|0}function $1077($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$2_1=$2_1<<2;$6_1=HEAP32[$2_1+HEAP32[$1_1+8>>2]>>2];$7_1=HEAP32[$2_1+HEAP32[$1_1+4>>2]>>2];$8_1=HEAP32[$2_1+HEAP32[$1_1>>2]>>2];$1_1=HEAP32[$3_1>>2];$5_1=HEAP32[$0_1+336>>2];$2_1=HEAP32[$0_1+476>>2];$11_1=HEAP32[$2_1+28>>2];$12_1=HEAP32[$2_1+24>>2];$13_1=HEAP32[$2_1+20>>2];$14_1=HEAP32[$2_1+16>>2];$2_1=HEAP32[$0_1+112>>2];if($2_1>>>0>=2){$3_1=$2_1>>>1|0;while(1){$4_1=HEAPU8[$7_1|0]<<2;$2_1=HEAP32[$4_1+$13_1>>2];$9_1=HEAPU8[$6_1|0]<<2;$10_1=HEAP32[$9_1+$12_1>>2];$15_1=HEAP32[$4_1+$11_1>>2];$9_1=HEAP32[$9_1+$14_1>>2];$4_1=HEAPU8[$8_1|0];HEAP8[$1_1|0]=HEAPU8[$5_1+($9_1+$4_1|0)|0];$10_1=$10_1+$15_1>>16;HEAP8[$1_1+1|0]=HEAPU8[$5_1+($10_1+$4_1|0)|0];HEAP8[$1_1+2|0]=HEAPU8[$5_1+($2_1+$4_1|0)|0];$4_1=HEAPU8[$8_1+1|0];HEAP8[$1_1+3|0]=HEAPU8[$5_1+($4_1+$9_1|0)|0];HEAP8[$1_1+4|0]=HEAPU8[$5_1+($4_1+$10_1|0)|0];HEAP8[$1_1+5|0]=HEAPU8[$5_1+($2_1+$4_1|0)|0];$1_1=$1_1+6|0;$8_1=$8_1+2|0;$6_1=$6_1+1|0;$7_1=$7_1+1|0;$3_1=$3_1-1|0;if($3_1){continue}break}$2_1=HEAP32[$0_1+112>>2]}if($2_1&1){$0_1=HEAPU8[$7_1|0]<<2;$2_1=HEAP32[$0_1+$13_1>>2];$3_1=HEAPU8[$6_1|0]<<2;$6_1=HEAP32[$3_1+$12_1>>2];$7_1=HEAP32[$0_1+$11_1>>2];$0_1=HEAPU8[$8_1|0];HEAP8[$1_1|0]=HEAPU8[$5_1+($0_1+HEAP32[$3_1+$14_1>>2]|0)|0];HEAP8[$1_1+1|0]=HEAPU8[$5_1+($0_1+($6_1+$7_1>>16)|0)|0];HEAP8[$1_1+2|0]=HEAPU8[$5_1+($0_1+$2_1|0)|0]}}function $606($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=Math_fround(0),$8_1=Math_fround(0),$9_1=Math_fround(0),$10_1=Math_fround(0);$6_1=global$0+-64|0;global$0=$6_1;label$1:{if($0_1){$396($0_1+8|0,$1_1,$6_1+16|0);$1_1=-1;$0_1=$0_1+184|0;$7_1=Math_fround(HEAPF32[$6_1+60>>2]+Math_fround(Math_fround(HEAPF32[$6_1+48>>2]*$2_1)+Math_fround(HEAPF32[$6_1+52>>2]*$3_1)));$8_1=Math_fround(Math_fround(HEAPF32[$6_1+28>>2]+Math_fround(Math_fround(HEAPF32[$6_1+16>>2]*$2_1)+Math_fround(HEAPF32[$6_1+20>>2]*$3_1)))/$7_1);$2_1=Math_fround(Math_fround(HEAPF32[$6_1+44>>2]+Math_fround(Math_fround(HEAPF32[$6_1+32>>2]*$2_1)+Math_fround(HEAPF32[$6_1+36>>2]*$3_1)))/$7_1);if(($66($0_1,$8_1,$2_1,$4_1,$5_1)|0)<0){break label$1}if(($180($0_1,HEAPF32[$4_1>>2],HEAPF32[$5_1>>2],$6_1+12|0,$6_1+8|0)|0)<0){break label$1}$3_1=Math_fround($8_1-HEAPF32[$6_1+12>>2]);$2_1=Math_fround($2_1-HEAPF32[$6_1+8>>2]);$1_1=Math_fround(Math_fround($3_1*$3_1)+Math_fround($2_1*$2_1))>Math_fround(1)?-1:0;break label$1}$7_1=HEAPF32[$1_1+28>>2];$8_1=HEAPF32[$1_1+20>>2];$10_1=HEAPF32[$1_1+16>>2];$9_1=Math_fround(HEAPF32[$1_1+44>>2]+Math_fround(Math_fround(HEAPF32[$1_1+32>>2]*$2_1)+Math_fround(HEAPF32[$1_1+36>>2]*$3_1)));HEAPF32[$4_1>>2]=Math_fround(HEAPF32[$1_1+12>>2]+Math_fround(Math_fround(HEAPF32[$1_1>>2]*$2_1)+Math_fround(HEAPF32[$1_1+4>>2]*$3_1)))/$9_1;HEAPF32[$5_1>>2]=Math_fround($7_1+Math_fround(Math_fround($10_1*$2_1)+Math_fround($8_1*$3_1)))/$9_1;$1_1=0}global$0=$6_1- -64|0;return $1_1}function $655($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0;$1_1=HEAP32[$0_1+484>>2];$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,2044)|0;$2_1=$0_1+1020|0;HEAP32[$1_1+40>>2]=$2_1;HEAP32[$0_1+1016>>2]=-1;HEAP32[$0_1+1020>>2]=0;HEAP32[$0_1+1024>>2]=1;HEAP32[$0_1+1028>>2]=2;HEAP32[$0_1+1032>>2]=3;HEAP32[$0_1+1036>>2]=4;HEAP32[$0_1+1008>>2]=-3;HEAP32[$0_1+1012>>2]=-2;HEAP32[$0_1+1040>>2]=5;HEAP32[$0_1+1044>>2]=6;HEAP32[$0_1+1e3>>2]=-5;HEAP32[$0_1+1004>>2]=-4;HEAP32[$0_1+1048>>2]=7;HEAP32[$0_1+1052>>2]=8;HEAP32[$0_1+992>>2]=-7;HEAP32[$0_1+996>>2]=-6;HEAP32[$0_1+1056>>2]=9;HEAP32[$0_1+1060>>2]=10;HEAP32[$0_1+984>>2]=-9;HEAP32[$0_1+988>>2]=-8;HEAP32[$0_1+1064>>2]=11;HEAP32[$0_1+1068>>2]=12;HEAP32[$0_1+976>>2]=-11;HEAP32[$0_1+980>>2]=-10;HEAP32[$0_1+1072>>2]=13;HEAP32[$0_1+1076>>2]=14;HEAP32[$0_1+968>>2]=-13;HEAP32[$0_1+972>>2]=-12;HEAP32[$0_1+1080>>2]=15;HEAP32[$0_1+960>>2]=-15;HEAP32[$0_1+964>>2]=-14;$1_1=16;$3_1=16;while(1){$0_1=$3_1<<2;HEAP32[$0_1+$2_1>>2]=$1_1;$4_1=0-$1_1|0;HEAP32[$2_1-$0_1>>2]=$4_1;HEAP32[($0_1|4)+$2_1>>2]=$1_1;HEAP32[(($3_1^-1)<<2)+$2_1>>2]=$4_1;$1_1=$1_1+1|0;$0_1=48;$3_1=$3_1+2|0;if(($3_1|0)!=48){continue}break}while(1){$1_1=$0_1<<2;HEAP32[$1_1+$2_1>>2]=32;HEAP32[$2_1-$1_1>>2]=-32;HEAP32[($1_1|4)+$2_1>>2]=32;HEAP32[(($0_1^-1)<<2)+$2_1>>2]=-32;HEAP32[($1_1|8)+$2_1>>2]=32;HEAP32[(-2-$0_1<<2)+$2_1>>2]=-32;HEAP32[($1_1|12)+$2_1>>2]=32;HEAP32[(-3-$0_1<<2)+$2_1>>2]=-32;$0_1=$0_1+4|0;if(($0_1|0)!=256){continue}break}}function $1097($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$4_1=global$0-32|0;global$0=$4_1;$3_1=HEAP32[$0_1+468>>2];label$1:{label$2:{if(HEAP32[$3_1+44>>2]|!HEAP32[$0_1+280>>2]){break label$2}$2_1=HEAP32[$0_1+464>>2];HEAP32[$2_1+24>>2]=HEAP32[$2_1+24>>2]+(HEAP32[$3_1+16>>2]/8|0);HEAP32[$3_1+16>>2]=0;if(!(FUNCTION_TABLE[HEAP32[$2_1+8>>2]]($0_1)|0)){break label$1}if(HEAP32[$0_1+340>>2]>0){$2_1=0;while(1){HEAP32[(($2_1<<2)+$3_1|0)+24>>2]=0;$2_1=$2_1+1|0;if(($2_1|0)>2]){continue}break}}HEAP32[$3_1+20>>2]=0;HEAP32[$3_1+44>>2]=HEAP32[$0_1+280>>2];if(HEAP32[$0_1+440>>2]){break label$2}HEAP32[$3_1+40>>2]=0}HEAP32[$4_1+24>>2]=$0_1;$5_1=HEAP32[$0_1+24>>2];$7_1=HEAP32[$5_1>>2];HEAP32[$4_1+8>>2]=$7_1;$6_1=HEAP32[$5_1+4>>2];HEAP32[$4_1+12>>2]=$6_1;$9_1=1;$2_1=HEAP32[$3_1+16>>2];$8_1=HEAP32[$3_1+12>>2];if(HEAP32[$0_1+368>>2]>0){$7_1=1<>2];$5_1=0;while(1){if(($2_1|0)<=0){if(!$56($4_1+8|0,$8_1,$2_1,1)){$9_1=0;break label$1}$8_1=HEAP32[$4_1+16>>2];$2_1=HEAP32[$4_1+20>>2]}$2_1=$2_1-1|0;if($8_1>>>$2_1&1){$6_1=HEAP32[($5_1<<2)+$1_1>>2];HEAP16[$6_1>>1]=$7_1|HEAPU16[$6_1>>1]}$5_1=$5_1+1|0;if(($5_1|0)>2]){continue}break}$6_1=HEAP32[$4_1+12>>2];$7_1=HEAP32[$4_1+8>>2];$5_1=HEAP32[$0_1+24>>2]}HEAP32[$5_1+4>>2]=$6_1;HEAP32[$5_1>>2]=$7_1;HEAP32[$3_1+16>>2]=$2_1;HEAP32[$3_1+12>>2]=$8_1;HEAP32[$3_1+44>>2]=HEAP32[$3_1+44>>2]-1}global$0=$4_1+32|0;return $9_1|0}function $1349($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$0_1=global$0-384|0;global$0=$0_1;HEAP32[$0_1+368>>2]=$2_1;HEAP32[$0_1+376>>2]=$1_1;$540($0_1+216|0,$3_1,$0_1+240|0,$0_1+236|0,$0_1+232|0);$1_1=$18($0_1+200|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+196>>2]=$2_1;HEAP32[$0_1+28>>2]=$0_1+32;HEAP32[$0_1+24>>2]=0;HEAP8[$0_1+23|0]=1;HEAP8[$0_1+22|0]=69;while(1){label$2:{if(!$95($0_1+376|0,$0_1+368|0)){break label$2}if(HEAP32[$0_1+196>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+196>>2]=$3_1+$2_1}if($539($57($0_1+376|0),$0_1+23|0,$0_1+22|0,$2_1,$0_1+196|0,HEAP32[$0_1+236>>2],HEAP32[$0_1+232>>2],$0_1+216|0,$0_1+32|0,$0_1+28|0,$0_1+24|0,$0_1+240|0)){break label$2}$74($0_1+376|0);continue}break}label$4:{if(!$6($0_1+216|0)|!HEAPU8[$0_1+23|0]){break label$4}$3_1=HEAP32[$0_1+28>>2];if(($3_1-($0_1+32|0)|0)>159){break label$4}HEAP32[$0_1+28>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+24>>2]}$940($0_1,$2_1,HEAP32[$0_1+196>>2],$4_1);$2_1=HEAP32[$0_1>>2];$3_1=HEAP32[$0_1+4>>2];$6_1=HEAP32[$0_1+12>>2];HEAP32[$5_1+8>>2]=HEAP32[$0_1+8>>2];HEAP32[$5_1+12>>2]=$6_1;HEAP32[$5_1>>2]=$2_1;HEAP32[$5_1+4>>2]=$3_1;$94($0_1+216|0,$0_1+32|0,HEAP32[$0_1+28>>2],$4_1);if($68($0_1+376|0,$0_1+368|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+376>>2];$8($1_1);$8($0_1+216|0);global$0=$0_1+384|0;return $2_1|0}function $1358($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$0_1=global$0-288|0;global$0=$0_1;HEAP32[$0_1+272>>2]=$2_1;HEAP32[$0_1+280>>2]=$1_1;$543($0_1+224|0,$3_1,$0_1+240|0,$0_1+239|0,$0_1+238|0);$1_1=$18($0_1+208|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+204>>2]=$2_1;HEAP32[$0_1+28>>2]=$0_1+32;HEAP32[$0_1+24>>2]=0;HEAP8[$0_1+23|0]=1;HEAP8[$0_1+22|0]=69;while(1){label$2:{if(!$96($0_1+280|0,$0_1+272|0)){break label$2}if(HEAP32[$0_1+204>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+204>>2]=$3_1+$2_1}if($542($58($0_1+280|0),$0_1+23|0,$0_1+22|0,$2_1,$0_1+204|0,HEAP8[$0_1+239|0],HEAP8[$0_1+238|0],$0_1+224|0,$0_1+32|0,$0_1+28|0,$0_1+24|0,$0_1+240|0)){break label$2}$75($0_1+280|0);continue}break}label$4:{if(!$6($0_1+224|0)|!HEAPU8[$0_1+23|0]){break label$4}$3_1=HEAP32[$0_1+28>>2];if(($3_1-($0_1+32|0)|0)>159){break label$4}HEAP32[$0_1+28>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+24>>2]}$940($0_1,$2_1,HEAP32[$0_1+204>>2],$4_1);$2_1=HEAP32[$0_1>>2];$3_1=HEAP32[$0_1+4>>2];$6_1=HEAP32[$0_1+12>>2];HEAP32[$5_1+8>>2]=HEAP32[$0_1+8>>2];HEAP32[$5_1+12>>2]=$6_1;HEAP32[$5_1>>2]=$2_1;HEAP32[$5_1+4>>2]=$3_1;$94($0_1+224|0,$0_1+32|0,HEAP32[$0_1+28>>2],$4_1);if($69($0_1+280|0,$0_1+272|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+280>>2];$8($1_1);$8($0_1+224|0);global$0=$0_1+288|0;return $2_1|0}function $933($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0;$10_1=global$0-16|0;global$0=$10_1;$11_1=$101($6_1);$6_1=$291($6_1);$107($10_1,$6_1);label$1:{if($150($10_1)){$185($11_1,$0_1,$2_1,$3_1);$6_1=($2_1-$0_1<<2)+$3_1|0;HEAP32[$5_1>>2]=$6_1;break label$1}HEAP32[$5_1>>2]=$3_1;label$3:{label$4:{$8_1=$0_1;$7_1=HEAPU8[$8_1|0];switch($7_1-43|0){case 0:case 2:break label$4;default:break label$3}}$8_1=$109($11_1,$7_1<<24>>24);$7_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$7_1+4;HEAP32[$7_1>>2]=$8_1;$8_1=$0_1+1|0}if(!(HEAPU8[$8_1|0]!=48|($2_1-$8_1|0)<2|(HEAPU8[$8_1+1|0]|32)!=120)){$7_1=$109($11_1,48);$9_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$9_1+4;HEAP32[$9_1>>2]=$7_1;$7_1=$109($11_1,HEAP8[$8_1+1|0]);$9_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$9_1+4;HEAP32[$9_1>>2]=$7_1;$8_1=$8_1+2|0}$237($8_1,$2_1);$9_1=0;$13_1=$108($6_1);$7_1=0;$6_1=$8_1;while(1){if($2_1>>>0<=$6_1>>>0){$412(($8_1-$0_1<<2)+$3_1|0,HEAP32[$5_1>>2]);$6_1=HEAP32[$5_1>>2]}else{label$9:{if(!HEAPU8[$16($10_1,$7_1)|0]){break label$9}if(HEAP8[$16($10_1,$7_1)|0]!=($9_1|0)){break label$9}$9_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$9_1+4;HEAP32[$9_1>>2]=$13_1;$7_1=($6($10_1)-1>>>0>$7_1>>>0)+$7_1|0;$9_1=0}$14_1=$109($11_1,HEAP8[$6_1|0]);$12_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$12_1+4;HEAP32[$12_1>>2]=$14_1;$6_1=$6_1+1|0;$9_1=$9_1+1|0;continue}break}}HEAP32[$4_1>>2]=($1_1|0)==($2_1|0)?$6_1:($1_1-$0_1<<2)+$3_1|0;$8($10_1);global$0=$10_1+16|0}function $971($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$4_1=global$0-288|0;global$0=$4_1;$5_1=$1_1+20|0;label$1:{if(HEAP32[$1_1+12>>2]<0){break label$1}$5_1=$1_1+24|0;if(HEAP32[$1_1+8>>2]<0){break label$1}$5_1=$1_1+16|0}$5_1=HEAP32[$5_1>>2];$1_1=$1_1+168|0;$6_1=((4-$5_1|0)%4<<4)+$1_1|0;HEAPF64[$4_1+224>>3]=HEAPF64[$6_1>>3];HEAPF64[$4_1+232>>3]=HEAPF64[$6_1+8>>3];$6_1=$1_1+((5-$5_1|0)%4<<4)|0;HEAPF64[$4_1+240>>3]=HEAPF64[$6_1>>3];HEAPF64[$4_1+248>>3]=HEAPF64[$6_1+8>>3];$6_1=$1_1+((6-$5_1|0)%4<<4)|0;HEAPF64[$4_1+256>>3]=HEAPF64[$6_1>>3];HEAPF64[$4_1+264>>3]=HEAPF64[$6_1+8>>3];$1_1=$1_1+((7-$5_1|0)%4<<4)|0;HEAPF64[$4_1+272>>3]=HEAPF64[$1_1>>3];$8_1=HEAPF64[$1_1+8>>3];HEAP32[$4_1+216>>2]=0;HEAP32[$4_1+220>>2]=0;$7_1=$2_1*-.5;HEAPF64[$4_1+208>>3]=$7_1;HEAP32[$4_1+192>>2]=0;HEAP32[$4_1+196>>2]=0;HEAPF64[$4_1+184>>3]=$7_1;HEAP32[$4_1+168>>2]=0;HEAP32[$4_1+172>>2]=0;$2_1=$2_1*.5;HEAPF64[$4_1+160>>3]=$2_1;HEAPF64[$4_1+280>>3]=$8_1;HEAPF64[$4_1+200>>3]=$7_1;HEAPF64[$4_1+176>>3]=$2_1;HEAPF64[$4_1+152>>3]=$2_1;HEAP32[$4_1+144>>2]=0;HEAP32[$4_1+148>>2]=0;HEAPF64[$4_1+136>>3]=$2_1;HEAPF64[$4_1+128>>3]=$7_1;HEAP32[$4_1+120>>2]=4;$1_1=$4_1+128|0;HEAP32[$4_1+116>>2]=$1_1;$5_1=$4_1+224|0;HEAP32[$4_1+112>>2]=$5_1;if(($687(HEAP32[$0_1>>2],$5_1,$1_1,4,$4_1+16|0)|0)<0){$2_1=1e8}else{$0_1=$311(HEAP32[$0_1>>2],$4_1+112|0,$4_1+16|0,$3_1,$4_1+8|0);$2_1=($0_1|0)<0?1e8:HEAPF64[$4_1+8>>3]}global$0=$4_1+288|0;return $2_1}function $103($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0;label$1:{label$2:{label$3:{label$4:{label$5:{label$6:{label$7:{label$8:{label$9:{if(($1_1|0)>=0){$5_1=HEAP32[$0_1+52>>2];if(($5_1|0)<=($1_1|0)){break label$9}if(($2_1|0)<0){break label$8}$6_1=HEAP32[$0_1+56>>2];if(($6_1|0)<=($2_1|0)){break label$7}if(($3_1|0)<0){break label$6}$7_1=HEAP32[$0_1+60>>2];if(($7_1|0)<=($3_1|0)){break label$5}if(($4_1|0)<0){break label$4}if(HEAP32[$0_1+64>>2]<=($4_1|0)){break label$3}$1_1=Math_imul($2_1,$5_1)+$1_1|0;$0_1=($1_1+Math_imul(HEAP32[$0_1+84>>2],$3_1)|0)+Math_imul(HEAP32[$0_1+88>>2],$4_1)|0;if(($0_1|0)>($1_1+Math_imul(Math_imul($4_1,$7_1)+$3_1|0,Math_imul($5_1,$6_1))|0)){break label$2}return $0_1}$3($0($0($2($0($0($0(71248,17310),16352),3305),165),3802),17509));break label$1}$3($0($0($2($0($0($0(71248,17748),16352),3305),166),3802),17509));break label$1}$3($0($0($2($0($0($0(71248,18055),16352),3305),167),3802),18107));break label$1}$3($0($0($2($0($0($0(71248,18509),16352),3305),168),3802),18107));break label$1}$3($0($0($2($0($0($0(71248,18751),16352),3305),169),3802),19029));break label$1}$3($0($0($2($0($0($0(71248,19264),16352),3305),170),3802),19029));break label$1}$3($0($0($2($0($0($0(71248,19564),16352),3305),171),3802),19701));break label$1}$3($0($0($2($0($0($0(71248,19897),16352),3305),172),3802),19701));break label$1}$3($0($0($2($0($0($0(71248,20332),16352),3305),176),3802),17007))}fimport$0();abort()}function $966($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$2_1=global$0-32|0;global$0=$2_1;label$1:{if(HEAPU8[$0_1+52|0]){$3_1=HEAP32[$0_1+48>>2];if(!$1_1){break label$1}HEAP8[$0_1+52|0]=0;HEAP32[$0_1+48>>2]=-1;break label$1}HEAP32[$2_1+24>>2]=1;$4_1=HEAP32[$964($2_1+24|0,$0_1+44|0)>>2];$5_1=($4_1|0)>0?$4_1:0;label$3:{while(1){if(($3_1|0)!=($5_1|0)){$6_1=$340(HEAP32[$0_1+32>>2]);if(($6_1|0)==-1){break label$3}HEAP8[($2_1+24|0)+$3_1|0]=$6_1;$3_1=$3_1+1|0;continue}break}label$6:{if(HEAPU8[$0_1+53|0]){HEAP8[$2_1+23|0]=HEAPU8[$2_1+24|0];break label$6}$6_1=$2_1+24|0;while(1){label$9:{$3_1=HEAP32[$0_1+40>>2];$8_1=HEAP32[$3_1>>2];$9_1=HEAP32[$3_1+4>>2];$7_1=$2_1+24|0;$5_1=$7_1+$4_1|0;label$10:{switch($550(HEAP32[$0_1+36>>2],$3_1,$7_1,$5_1,$2_1+16|0,$2_1+23|0,$6_1,$2_1+12|0)-1|0){case 0:break label$10;case 1:break label$3;case 2:break label$9;default:break label$6}}$3_1=HEAP32[$0_1+40>>2];HEAP32[$3_1>>2]=$8_1;HEAP32[$3_1+4>>2]=$9_1;if(($4_1|0)==8){break label$3}$3_1=$340(HEAP32[$0_1+32>>2]);if(($3_1|0)==-1){break label$3}HEAP8[$5_1|0]=$3_1;$4_1=$4_1+1|0;continue}break}HEAP8[$2_1+23|0]=HEAPU8[$2_1+24|0]}label$11:{if(!$1_1){while(1){if(($4_1|0)<=0){break label$11}$4_1=$4_1-1|0;if(($341($153(HEAP8[$4_1+($2_1+24|0)|0]),HEAP32[$0_1+32>>2])|0)!=-1){continue}break label$3}}HEAP32[$0_1+48>>2]=$153(HEAP8[$2_1+23|0])}$3_1=$153(HEAP8[$2_1+23|0]);break label$1}$3_1=-1}global$0=$2_1+32|0;return $3_1}function $936($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0;$10_1=global$0-16|0;global$0=$10_1;$11_1=$106($6_1);$6_1=$293($6_1);$107($10_1,$6_1);label$1:{if($150($10_1)){$207($11_1,$0_1,$2_1,$3_1);$6_1=($2_1-$0_1|0)+$3_1|0;HEAP32[$5_1>>2]=$6_1;break label$1}HEAP32[$5_1>>2]=$3_1;label$3:{label$4:{$8_1=$0_1;$7_1=HEAPU8[$8_1|0];switch($7_1-43|0){case 0:case 2:break label$4;default:break label$3}}$8_1=$83($11_1,$7_1<<24>>24);$7_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$7_1+1;HEAP8[$7_1|0]=$8_1;$8_1=$0_1+1|0}if(!(HEAPU8[$8_1|0]!=48|($2_1-$8_1|0)<2|(HEAPU8[$8_1+1|0]|32)!=120)){$7_1=$83($11_1,48);$9_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$9_1+1;HEAP8[$9_1|0]=$7_1;$7_1=$83($11_1,HEAP8[$8_1+1|0]);$9_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$9_1+1;HEAP8[$9_1|0]=$7_1;$8_1=$8_1+2|0}$237($8_1,$2_1);$9_1=0;$13_1=$108($6_1);$7_1=0;$6_1=$8_1;while(1){if($2_1>>>0<=$6_1>>>0){$237(($8_1-$0_1|0)+$3_1|0,HEAP32[$5_1>>2]);$6_1=HEAP32[$5_1>>2]}else{label$9:{if(!HEAPU8[$16($10_1,$7_1)|0]){break label$9}if(HEAP8[$16($10_1,$7_1)|0]!=($9_1|0)){break label$9}$9_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$9_1+1;HEAP8[$9_1|0]=$13_1;$7_1=($6($10_1)-1>>>0>$7_1>>>0)+$7_1|0;$9_1=0}$14_1=$83($11_1,HEAP8[$6_1|0]);$12_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=$12_1+1;HEAP8[$12_1|0]=$14_1;$6_1=$6_1+1|0;$9_1=$9_1+1|0;continue}break}}HEAP32[$4_1>>2]=($1_1|0)==($2_1|0)?$6_1:($1_1-$0_1|0)+$3_1|0;$8($10_1);global$0=$10_1+16|0}function $960($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$2_1=global$0-32|0;global$0=$2_1;label$1:{if(HEAPU8[$0_1+52|0]){$3_1=HEAP32[$0_1+48>>2];if(!$1_1){break label$1}HEAP8[$0_1+52|0]=0;HEAP32[$0_1+48>>2]=-1;break label$1}HEAP32[$2_1+24>>2]=1;$4_1=HEAP32[$964($2_1+24|0,$0_1+44|0)>>2];$5_1=($4_1|0)>0?$4_1:0;label$3:{while(1){if(($3_1|0)!=($5_1|0)){$6_1=$340(HEAP32[$0_1+32>>2]);if(($6_1|0)==-1){break label$3}HEAP8[($2_1+24|0)+$3_1|0]=$6_1;$3_1=$3_1+1|0;continue}break}label$6:{if(HEAPU8[$0_1+53|0]){HEAP32[$2_1+20>>2]=HEAP8[$2_1+24|0];break label$6}$6_1=$2_1+24|0;while(1){label$9:{$3_1=HEAP32[$0_1+40>>2];$8_1=HEAP32[$3_1>>2];$9_1=HEAP32[$3_1+4>>2];$7_1=$2_1+24|0;$5_1=$7_1+$4_1|0;label$10:{switch($550(HEAP32[$0_1+36>>2],$3_1,$7_1,$5_1,$2_1+16|0,$2_1+20|0,$6_1,$2_1+12|0)-1|0){case 0:break label$10;case 1:break label$3;case 2:break label$9;default:break label$6}}$3_1=HEAP32[$0_1+40>>2];HEAP32[$3_1>>2]=$8_1;HEAP32[$3_1+4>>2]=$9_1;if(($4_1|0)==8){break label$3}$3_1=$340(HEAP32[$0_1+32>>2]);if(($3_1|0)==-1){break label$3}HEAP8[$5_1|0]=$3_1;$4_1=$4_1+1|0;continue}break}HEAP32[$2_1+20>>2]=HEAP8[$2_1+24|0]}label$11:{if(!$1_1){while(1){if(($4_1|0)<=0){break label$11}$4_1=$4_1-1|0;if(($341(HEAP8[$4_1+($2_1+24|0)|0],HEAP32[$0_1+32>>2])|0)!=-1){continue}break label$3}}HEAP32[$0_1+48>>2]=HEAP32[$2_1+20>>2]}$3_1=HEAP32[$2_1+20>>2];break label$1}$3_1=-1}global$0=$2_1+32|0;return $3_1}function $1081($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0;$1_1=HEAP32[$0_1+444>>2];label$1:{label$2:{if(HEAP32[$1_1+8>>2]){HEAP32[$1_1+8>>2]=0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1+484>>2]>>2]]($0_1,0);FUNCTION_TABLE[HEAP32[HEAP32[$0_1+456>>2]>>2]]($0_1,2);$2_1=2;break label$2}label$4:{if(HEAP32[$0_1+136>>2]|!HEAP32[$0_1+84>>2]){break label$4}if(!(!HEAP32[$0_1+92>>2]|!HEAP32[$0_1+108>>2])){HEAP32[$0_1+484>>2]=HEAP32[$1_1+24>>2];HEAP32[$1_1+8>>2]=1;break label$4}if(HEAP32[$0_1+100>>2]){HEAP32[$0_1+484>>2]=HEAP32[$1_1+20>>2];break label$4}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=47;FUNCTION_TABLE[HEAP32[$2_1>>2]]($0_1)}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+472>>2]>>2]]($0_1);FUNCTION_TABLE[HEAP32[HEAP32[$0_1+452>>2]+8>>2]]($0_1);if(HEAP32[$0_1+68>>2]){break label$1}if(!HEAP32[$1_1+16>>2]){FUNCTION_TABLE[HEAP32[HEAP32[$0_1+480>>2]>>2]]($0_1)}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+476>>2]>>2]]($0_1);if(HEAP32[$0_1+84>>2]){FUNCTION_TABLE[HEAP32[HEAP32[$0_1+484>>2]>>2]]($0_1,HEAP32[$1_1+8>>2])}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+456>>2]>>2]]($0_1,HEAP32[$1_1+8>>2]?3:0);$2_1=0}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+448>>2]>>2]]($0_1,$2_1)}$2_1=HEAP32[$0_1+8>>2];label$9:{if(!$2_1){break label$9}$3_1=HEAP32[$1_1+12>>2];HEAP32[$2_1+12>>2]=$3_1;$1_1=(HEAP32[$1_1+8>>2]?2:1)+$3_1|0;HEAP32[$2_1+16>>2]=$1_1;if(HEAP32[HEAP32[$0_1+460>>2]+20>>2]|!HEAP32[$0_1+64>>2]){break label$9}HEAP32[$2_1+16>>2]=$1_1+(HEAP32[$0_1+108>>2]?2:1)}}function $5($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$0_1=global$0-16|0;global$0=$0_1;if(!(!HEAPU8[$2_1|0]|(!$2_1|HEAP32[15938]>($1_1|0)))){HEAP32[$0_1+12>>2]=$3_1;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=$3_1;label$2:{if(!HEAPU8[$2_1|0]|(!$2_1|HEAP32[15938]>($1_1|0))){break label$2}$3_1=HEAP32[$4_1+12>>2];HEAP32[$4_1+8>>2]=$3_1;$6_1=$214(0,0,$2_1,$3_1);if(!$6_1){break label$2}if($1_1>>>0<=3){$5_1=$86(HEAP32[($1_1<<2)+21296>>2])+3|0}$7_1=$5_1+$6_1|0;$8_1=$7_1+1|0;$3_1=$7($8_1);if($5_1){HEAP32[$4_1>>2]=HEAP32[($1_1<<2)+21296>>2];$437($3_1,$5_1+1|0,4414,$4_1)}$214($3_1+$5_1|0,$6_1+1|0,$2_1,HEAP32[$4_1+12>>2]);label$5:{label$6:{$1_1=HEAP32[16860];if($1_1){if(!HEAP32[16861]){break label$6}if((global$3|0)!=HEAP32[16862]){$1_1=HEAP32[16863];if(!$1_1){break label$5}$2_1=HEAP32[16865];$5_1=HEAPU8[67456]?4096:0;if($2_1>>>0>=$5_1>>>0){break label$5}$1_1=$1_1+$2_1|0;if(($5_1-$2_1|0)-4>>>0>=$7_1>>>0){$353($1_1,$3_1,$8_1);HEAP32[16865]=$2_1+$7_1;break label$5}HEAP8[$1_1|0]=46;HEAP8[$1_1+1|0]=46;HEAP8[$1_1+2|0]=46;HEAP8[$1_1+3|0]=0;HEAP32[16865]=$5_1;break label$5}if(!HEAP32[16865]){break label$6}FUNCTION_TABLE[$1_1|0](HEAP32[16863]);HEAP32[16865]=0;$1_1=HEAP32[16860];break label$6}$1_1=HEAP32[11736];$166($3_1,1,$86($3_1),$1_1);break label$5}FUNCTION_TABLE[$1_1|0]($3_1)}$1($3_1)}global$0=$4_1+16|0}global$0=$0_1+16|0}function $183($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){var $8_1=0,$9_1=0,$10_1=0;$8_1=global$0-32|0;global$0=$8_1;HEAP32[$8_1+16>>2]=$2_1;HEAP32[$8_1+24>>2]=$1_1;$1_1=$8_1+8|0;$30($1_1,$3_1);$9_1=$101($1_1);$19($1_1);HEAP32[$4_1>>2]=0;$1_1=0;label$1:{while(1){if(($6_1|0)==($7_1|0)|$1_1){break label$1}label$3:{if($68($8_1+24|0,$8_1+16|0)){break label$3}label$4:{if(($288($9_1,HEAP32[$6_1>>2])|0)==37){$1_1=$6_1+4|0;if(($7_1|0)==($1_1|0)){break label$3}$10_1=0;$2_1=$288($9_1,HEAP32[$1_1>>2]);label$6:{if(!(($2_1|0)==69|($2_1&255)==48)){$1_1=$6_1;break label$6}if(($6_1+8|0)==($7_1|0)){break label$3}$10_1=$2_1;$2_1=$288($9_1,HEAP32[$6_1+8>>2])}HEAP32[$8_1+24>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+36>>2]]($0_1,HEAP32[$8_1+24>>2],HEAP32[$8_1+16>>2],$3_1,$4_1,$5_1,$2_1,$10_1);$6_1=$1_1+8|0;break label$4}if($139($9_1,1,HEAP32[$6_1>>2])){while(1){label$10:{$6_1=$6_1+4|0;if(($7_1|0)==($6_1|0)){$6_1=$7_1;break label$10}if($139($9_1,1,HEAP32[$6_1>>2])){continue}}break}while(1){if(!$95($8_1+24|0,$8_1+16|0)){break label$4}if(!$139($9_1,1,$57($8_1+24|0))){break label$4}$74($8_1+24|0);continue}}if(($83($9_1,$57($8_1+24|0))|0)==($83($9_1,HEAP32[$6_1>>2])|0)){$6_1=$6_1+4|0;$74($8_1+24|0);break label$4}HEAP32[$4_1>>2]=4}$1_1=HEAP32[$4_1>>2];continue}break}HEAP32[$4_1>>2]=4}if($68($8_1+24|0,$8_1+16|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}global$0=$8_1+32|0;return HEAP32[$8_1+24>>2]}function $1102($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$4_1=HEAP32[$0_1+468>>2];if(HEAP32[$0_1+280>>2]){$3_1=HEAP32[$4_1+56>>2];if(!$3_1){$307($0_1);$3_1=HEAP32[$4_1+56>>2]}HEAP32[$4_1+56>>2]=$3_1-1}label$4:{if(HEAP32[$4_1+20>>2]==-1){break label$4}$3_1=HEAP32[$0_1+424>>2];$6_1=-1<<$3_1;$7_1=1<<$3_1;$3_1=HEAP32[$0_1+416>>2];$8_1=HEAP32[$1_1>>2];$9_1=HEAP32[$0_1+432>>2];$2_1=HEAP32[HEAP32[$0_1+344>>2]+24>>2];label$5:{while(1){if(HEAPU16[(HEAP32[($3_1<<2)+$9_1>>2]<<1)+$8_1>>1]){break label$5}$3_1=$3_1-1|0;if($3_1){continue}break}$3_1=0}$10_1=$4_1+188|0;$1_1=HEAP32[$0_1+412>>2]-1|0;$11_1=($2_1<<2)+$4_1|0;while(1){$2_1=HEAP32[$11_1+124>>2]+Math_imul($1_1,3)|0;if(($1_1|0)>=($3_1|0)){if($10($0_1,$2_1)){break label$4}}label$9:{label$10:{label$11:{while(1){$1_1=$1_1+1|0;$5_1=(HEAP32[($1_1<<2)+$9_1>>2]<<1)+$8_1|0;if(HEAPU16[$5_1>>1]){if(!$10($0_1,$2_1+2|0)){break label$9}$2_1=HEAP16[$5_1>>1];if(($2_1|0)>=0){break label$11}$2_1=$2_1+$6_1|0;break label$10}if($10($0_1,$2_1+1|0)){$2_1=$10($0_1,$10_1)?$6_1:$7_1;break label$10}$2_1=$2_1+3|0;if(HEAP32[$0_1+416>>2]>($1_1|0)){continue}break}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=117;FUNCTION_TABLE[HEAP32[$1_1+4>>2]]($0_1,-1);HEAP32[$4_1+20>>2]=-1;return 1}$2_1=$2_1+$7_1|0}HEAP16[$5_1>>1]=$2_1}if(HEAP32[$0_1+416>>2]>($1_1|0)){continue}break}}return 1}function $184($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){var $8_1=0,$9_1=0,$10_1=0;$8_1=global$0-32|0;global$0=$8_1;HEAP32[$8_1+16>>2]=$2_1;HEAP32[$8_1+24>>2]=$1_1;$1_1=$8_1+8|0;$30($1_1,$3_1);$9_1=$106($1_1);$19($1_1);HEAP32[$4_1>>2]=0;$1_1=0;label$1:{while(1){if(($6_1|0)==($7_1|0)|$1_1){break label$1}label$3:{if($69($8_1+24|0,$8_1+16|0)){break label$3}label$4:{if(($289($9_1,HEAP8[$6_1|0])|0)==37){$1_1=$6_1+1|0;if(($7_1|0)==($1_1|0)){break label$3}$10_1=0;$2_1=$289($9_1,HEAP8[$1_1|0]);label$6:{if(!(($2_1|0)==69|($2_1&255)==48)){$1_1=$6_1;break label$6}if(($6_1+2|0)==($7_1|0)){break label$3}$10_1=$2_1;$2_1=$289($9_1,HEAP8[$6_1+2|0])}HEAP32[$8_1+24>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+36>>2]]($0_1,HEAP32[$8_1+24>>2],HEAP32[$8_1+16>>2],$3_1,$4_1,$5_1,$2_1,$10_1);$6_1=$1_1+2|0;break label$4}if($140($9_1,1,HEAP8[$6_1|0])){while(1){label$10:{$6_1=$6_1+1|0;if(($7_1|0)==($6_1|0)){$6_1=$7_1;break label$10}if($140($9_1,1,HEAP8[$6_1|0])){continue}}break}while(1){if(!$96($8_1+24|0,$8_1+16|0)){break label$4}if(!$140($9_1,1,$58($8_1+24|0))){break label$4}$75($8_1+24|0);continue}}if(($418($9_1,$58($8_1+24|0))|0)==($418($9_1,HEAP8[$6_1|0])|0)){$6_1=$6_1+1|0;$75($8_1+24|0);break label$4}HEAP32[$4_1>>2]=4}$1_1=HEAP32[$4_1>>2];continue}break}HEAP32[$4_1>>2]=4}if($69($8_1+24|0,$8_1+16|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}global$0=$8_1+32|0;return HEAP32[$8_1+24>>2]}function $579($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$6_1=global$0-32|0;global$0=$6_1;$5_1=$3_1&2147483647;$4_1=$5_1-1065418752|0;$7_1=$5_1-1082064896|0;label$1:{if(($4_1|0)==($7_1|0)&0|$4_1>>>0<$7_1>>>0){$5_1=($3_1&33554431)<<7|$2_1>>>25;$4_1=0;$8_1=$4_1;$7_1=$2_1&33554431;if(!(!$4_1&($7_1|0)==16777216?!($0_1|$1_1):!$4_1&$7_1>>>0<16777216)){$4_1=$5_1+1073741825|0;break label$1}$4_1=$5_1+1073741824|0;if($7_1^16777216|$0_1|($1_1|$8_1)){break label$1}$4_1=($5_1&1)+$4_1|0;break label$1}if(!(!$2_1&($5_1|0)==2147418112?!($0_1|$1_1):$5_1>>>0<2147418112)){$4_1=(($3_1&33554431)<<7|$2_1>>>25)&4194303|2143289344;break label$1}$4_1=2139095040;if($5_1>>>0>1082064895){break label$1}$4_1=0;$5_1=$5_1>>>16|0;if($5_1>>>0<16145){break label$1}$4_1=$3_1&65535|65536;$92($6_1+16|0,$0_1,$1_1,$2_1,$4_1,$5_1-16129|0);$211($6_1,$0_1,$1_1,$2_1,$4_1,16257-$5_1|0);$1_1=HEAP32[$6_1+8>>2];$4_1=(HEAP32[$6_1+12>>2]&33554431)<<7|$1_1>>>25;$7_1=HEAP32[$6_1>>2]|(HEAP32[$6_1+16>>2]|HEAP32[$6_1+24>>2]|(HEAP32[$6_1+20>>2]|HEAP32[$6_1+28>>2]))!=0;$5_1=HEAP32[$6_1+4>>2];$0_1=0;$1_1=$1_1&33554431;if(!(!$0_1&($1_1|0)==16777216?!($7_1|$5_1):!$0_1&$1_1>>>0<16777216)){$4_1=$4_1+1|0;break label$1}if($1_1^16777216|$7_1|($0_1|$5_1)){break label$1}$4_1=($4_1&1)+$4_1|0}global$0=$6_1+32|0;return wasm2js_scratch_store_i32(2,$3_1&-2147483648|$4_1),wasm2js_scratch_load_f32()}function $306($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$7_1=HEAP32[$0_1+4>>2];if($2_1>>>0>=999999985){$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=56;HEAP32[$3_1+24>>2]=1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$3_1=$2_1&7;$3_1=$3_1?8-$3_1|0:0;if($1_1>>>0>=2){$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+24>>2]=$1_1;HEAP32[$4_1+20>>2]=15;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$3_1=$2_1+$3_1|0;label$3:{label$4:{$8_1=($1_1<<2)+$7_1|0;$2_1=HEAP32[$8_1+52>>2];if(!$2_1){break label$4}while(1){$5_1=$2_1;if($3_1>>>0>HEAPU32[$2_1+8>>2]){$2_1=HEAP32[$5_1>>2];if($2_1){continue}break label$4}break}$1_1=$5_1;break label$3}$1_1=HEAP32[($1_1<<2)+($5_1?40696:40688)>>2];$2_1=999999984-$3_1|0;$2_1=$1_1>>>0<$2_1>>>0?$1_1:$2_1;$4_1=$3_1+$2_1|0;$6_1=$4_1+16|0;$1_1=$7($6_1);if(!$1_1){while(1){if($2_1>>>0<=99){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=56;HEAP32[$1_1+24>>2]=2;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$1_1=$2_1>>>1|0;$2_1=$1_1;$4_1=$1_1+$3_1|0;$6_1=$4_1+16|0;$1_1=$7($6_1);if(!$1_1){continue}break}}HEAP32[$7_1+76>>2]=HEAP32[$7_1+76>>2]+$6_1;HEAP32[$1_1+8>>2]=$4_1;HEAP32[$1_1>>2]=0;HEAP32[$1_1+4>>2]=0;if(!$5_1){HEAP32[$8_1+52>>2]=$1_1;break label$3}HEAP32[$5_1>>2]=$1_1}$0_1=HEAP32[$1_1+4>>2];HEAP32[$1_1+4>>2]=$0_1+$3_1;HEAP32[$1_1+8>>2]=HEAP32[$1_1+8>>2]-$3_1;return($0_1+$1_1|0)+16|0}function $218($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=Math_fround(0),$6_1=0,$7_1=0;$5_1=Math_fround(Math_floor($823($3_1)));label$1:{if(Math_fround(Math_abs($5_1))>2]=$4_1;$3_1=$822(Math_fround($253(Math_fround($3_1/Math_fround(1<<$4_1)))*HEAPF32[$0_1+28>>2]));label$3:{if(Math_fround(Math_abs($3_1))>2]=$4_1;if((HEAP32[$0_1+20>>2]-1|0)==($4_1|0)){HEAP32[$1_1>>2]=HEAP32[$1_1>>2]+1;HEAP32[$2_1>>2]=0;$4_1=0}$7_1=$2_1;$2_1=HEAP32[$1_1>>2];label$6:{label$7:{if(($2_1|0)<0){HEAP32[$1_1>>2]=0;$4_1=0;break label$7}$6_1=HEAP32[$0_1+16>>2];if(($2_1|0)<($6_1|0)){break label$6}HEAP32[$1_1>>2]=$6_1-1;$4_1=HEAP32[$0_1+20>>2]-1|0}HEAP32[$7_1>>2]=$4_1}label$9:{label$10:{label$11:{$1_1=HEAP32[$1_1>>2];if(($1_1|0)>=0){if(($1_1|0)>=HEAP32[$0_1+16>>2]){break label$11}if(($4_1|0)<0){break label$10}if(HEAP32[$0_1+20>>2]<=($4_1|0)){break label$9}return}$3($0($0($2($0($0($0(71248,9905),10327),3772),268),4420),11099));fimport$0();abort()}$3($0($0($2($0($0($0(71248,11759),10327),3772),269),4420),13760));fimport$0();abort()}$3($0($0($2($0($0($0(71248,14655),10327),3772),270),4420),14847));fimport$0();abort()}$3($0($0($2($0($0($0(71248,15548),10327),3772),271),4420),15694));fimport$0();abort()}function $33($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$1_1=HEAP32[$0_1+112>>2];$3_1=HEAP32[$0_1+116>>2];$4_1=!!($1_1|$3_1);$2_1=$1_1;label$1:{$8_1=$4_1;$5_1=HEAP32[$0_1+4>>2];$4_1=HEAP32[$0_1+44>>2];$1_1=$5_1-$4_1|0;$7_1=$1_1;$6_1=$1_1+HEAP32[$0_1+120>>2]|0;$1_1=HEAP32[$0_1+124>>2]+($1_1>>31)|0;$1_1=$6_1>>>0<$7_1>>>0?$1_1+1|0:$1_1;if(!($8_1&($2_1>>>0<=$6_1>>>0&($1_1|0)>=($3_1|0)|($1_1|0)>($3_1|0)))){$7_1=$366($0_1);if(($7_1|0)>=0){break label$1}$5_1=HEAP32[$0_1+4>>2];$4_1=HEAP32[$0_1+44>>2]}HEAP32[$0_1+112>>2]=-1;HEAP32[$0_1+116>>2]=-1;HEAP32[$0_1+104>>2]=$5_1;$2_1=$4_1-$5_1|0;$3_1=$2_1+$6_1|0;$1_1=($2_1>>31)+$1_1|0;HEAP32[$0_1+120>>2]=$3_1;HEAP32[$0_1+124>>2]=$3_1>>>0<$2_1>>>0?$1_1+1|0:$1_1;return-1}$3_1=$6_1+1|0;$1_1=$3_1?$1_1:$1_1+1|0;$5_1=HEAP32[$0_1+4>>2];$4_1=HEAP32[$0_1+8>>2];$2_1=HEAP32[$0_1+112>>2];$6_1=HEAP32[$0_1+116>>2];label$3:{if(!($2_1|$6_1)){break label$3}$8_1=$2_1-$3_1|0;$2_1=$6_1-($1_1+($3_1>>>0>$2_1>>>0)|0)|0;$9_1=$4_1-$5_1|0;$6_1=$9_1>>31;if(($2_1|0)>=($6_1|0)&$8_1>>>0>=$9_1>>>0|($2_1|0)>($6_1|0)){break label$3}$4_1=$5_1+$8_1|0}HEAP32[$0_1+104>>2]=$4_1;$2_1=HEAP32[$0_1+44>>2];$4_1=$2_1-$5_1|0;$3_1=$4_1+$3_1|0;$1_1=($4_1>>31)+$1_1|0;HEAP32[$0_1+120>>2]=$3_1;HEAP32[$0_1+124>>2]=$3_1>>>0<$4_1>>>0?$1_1+1|0:$1_1;if($2_1>>>0>=$5_1>>>0){HEAP8[$5_1-1|0]=$7_1}return $7_1}function $449($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$1_1=HEAP32[$0_1+24>>2];$2_1=HEAP32[$1_1+4>>2];$4_1=HEAP32[$1_1>>2];while(1){if(!$2_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){return 0}$4_1=HEAP32[$1_1>>2];$2_1=HEAP32[$1_1+4>>2]}$3_1=$4_1+1|0;$2_1=$2_1-1|0;if(HEAPU8[$4_1|0]!=255){while(1){$4_1=HEAP32[$0_1+464>>2];HEAP32[$4_1+24>>2]=HEAP32[$4_1+24>>2]+1;HEAP32[$1_1+4>>2]=$2_1;HEAP32[$1_1>>2]=$3_1;if(!$2_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){return 0}$3_1=HEAP32[$1_1>>2];$2_1=HEAP32[$1_1+4>>2]}$2_1=$2_1-1|0;$4_1=HEAPU8[$3_1|0];$3_1=$3_1+1|0;if(($4_1|0)!=255){continue}break}}while(1){if(!$2_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){return 0}$3_1=HEAP32[$1_1>>2];$2_1=HEAP32[$1_1+4>>2]}$2_1=$2_1-1|0;$5_1=HEAPU8[$3_1|0];$4_1=$3_1+1|0;$3_1=$4_1;if(($5_1|0)==255){continue}break}if(!$5_1){$3_1=HEAP32[$0_1+464>>2];HEAP32[$3_1+24>>2]=HEAP32[$3_1+24>>2]+2;HEAP32[$1_1+4>>2]=$2_1;HEAP32[$1_1>>2]=$4_1;continue}break}$3_1=HEAP32[HEAP32[$0_1+464>>2]+24>>2];if($3_1){$6_1=HEAP32[$0_1>>2];HEAP32[$6_1+24>>2]=$3_1;HEAP32[$6_1+20>>2]=119;HEAP32[HEAP32[$0_1>>2]+28>>2]=$5_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,-1);HEAP32[HEAP32[$0_1+464>>2]+24>>2]=0}HEAP32[$0_1+440>>2]=$5_1;HEAP32[$1_1+4>>2]=$2_1;HEAP32[$1_1>>2]=$4_1;return 1}function $999($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$3_1=global$0-32|0;global$0=$3_1;$4_1=HEAP32[$0_1+28>>2];HEAP32[$3_1+16>>2]=$4_1;$5_1=HEAP32[$0_1+20>>2];HEAP32[$3_1+28>>2]=$2_1;HEAP32[$3_1+24>>2]=$1_1;$1_1=$5_1-$4_1|0;HEAP32[$3_1+20>>2]=$1_1;$5_1=$1_1+$2_1|0;$8_1=2;label$1:{label$2:{$1_1=$3_1+16|0;label$3:{label$4:{if($351(fimport$13(HEAP32[$0_1+60>>2],$1_1|0,2,$3_1+12|0)|0)){$4_1=$1_1;break label$4}while(1){$6_1=HEAP32[$3_1+12>>2];if(($6_1|0)==($5_1|0)){break label$3}if(($6_1|0)<0){$4_1=$1_1;break label$2}$7_1=HEAP32[$1_1+4>>2];$9_1=$7_1>>>0<$6_1>>>0;$4_1=($9_1<<3)+$1_1|0;$7_1=$6_1-($9_1?$7_1:0)|0;HEAP32[$4_1>>2]=$7_1+HEAP32[$4_1>>2];$1_1=($9_1?12:4)+$1_1|0;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]-$7_1;$5_1=$5_1-$6_1|0;$1_1=$4_1;$8_1=$8_1-$9_1|0;if(!$351(fimport$13(HEAP32[$0_1+60>>2],$1_1|0,$8_1|0,$3_1+12|0)|0)){continue}break}}if(($5_1|0)!=-1){break label$2}}$1_1=HEAP32[$0_1+44>>2];HEAP32[$0_1+28>>2]=$1_1;HEAP32[$0_1+20>>2]=$1_1;HEAP32[$0_1+16>>2]=$1_1+HEAP32[$0_1+48>>2];$0_1=$2_1;break label$1}HEAP32[$0_1+28>>2]=0;HEAP32[$0_1+16>>2]=0;HEAP32[$0_1+20>>2]=0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]|32;$0_1=0;if(($8_1|0)==2){break label$1}$0_1=$2_1-HEAP32[$4_1+4>>2]|0}global$0=$3_1+32|0;return $0_1|0}function $1092($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;$1_1=HEAP32[$0_1+452>>2];if(HEAP32[$1_1+16>>2]){$6_1=$1_1;label$2:{label$3:{if(!HEAP32[$0_1+160>>2]|(!HEAP32[$0_1+80>>2]|!HEAP32[$0_1+224>>2])){break label$3}$2_1=HEAP32[$1_1+112>>2];if(!$2_1){$2_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,Math_imul(HEAP32[$0_1+36>>2],24))|0;HEAP32[$1_1+112>>2]=$2_1}if(HEAP32[$0_1+36>>2]<=0){break label$3}$3_1=HEAP32[$0_1+216>>2];while(1){$1_1=HEAP32[$3_1+80>>2];if(!$1_1|!HEAPU16[$1_1>>1]|(!HEAPU16[$1_1+2>>1]|!HEAPU16[$1_1+16>>1])){break label$3}if(!HEAPU16[$1_1+4>>1]|(!HEAPU16[$1_1+32>>1]|!HEAPU16[$1_1+18>>1])){break label$3}$1_1=HEAP32[$0_1+160>>2]+($4_1<<8)|0;if(HEAP32[$1_1>>2]<0){break label$3}HEAP32[$2_1+4>>2]=HEAP32[$1_1+4>>2];$7_1=HEAP32[$1_1+4>>2];HEAP32[$2_1+8>>2]=HEAP32[$1_1+8>>2];$8_1=HEAP32[$1_1+8>>2];HEAP32[$2_1+12>>2]=HEAP32[$1_1+12>>2];$9_1=HEAP32[$1_1+12>>2];HEAP32[$2_1+16>>2]=HEAP32[$1_1+16>>2];$10_1=HEAP32[$1_1+16>>2];HEAP32[$2_1+20>>2]=HEAP32[$1_1+20>>2];$5_1=HEAP32[$1_1+20>>2]|$10_1|($7_1|$8_1|$9_1)?1:$5_1;$3_1=$3_1+88|0;$2_1=$2_1+24|0;$4_1=$4_1+1|0;if(($4_1|0)>2]){continue}break}$1_1=178;if($5_1){break label$2}}$1_1=174}HEAP32[$6_1+12>>2]=$1_1}HEAP32[$0_1+156>>2]=0}function $1351($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$0_1=global$0-368|0;global$0=$0_1;HEAP32[$0_1+352>>2]=$2_1;HEAP32[$0_1+360>>2]=$1_1;$540($0_1+200|0,$3_1,$0_1+224|0,$0_1+220|0,$0_1+216|0);$1_1=$18($0_1+184|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+180>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;HEAP8[$0_1+7|0]=1;HEAP8[$0_1+6|0]=69;while(1){label$2:{if(!$95($0_1+360|0,$0_1+352|0)){break label$2}if(HEAP32[$0_1+180>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+180>>2]=$3_1+$2_1}if($539($57($0_1+360|0),$0_1+7|0,$0_1+6|0,$2_1,$0_1+180|0,HEAP32[$0_1+220>>2],HEAP32[$0_1+216>>2],$0_1+200|0,$0_1+16|0,$0_1+12|0,$0_1+8|0,$0_1+224|0)){break label$2}$74($0_1+360|0);continue}break}label$4:{if(!$6($0_1+200|0)|!HEAPU8[$0_1+7|0]){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAPF32[$5_1>>2]=$942($2_1,HEAP32[$0_1+180>>2],$4_1);$94($0_1+200|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($68($0_1+360|0,$0_1+352|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+360>>2];$8($1_1);$8($0_1+200|0);global$0=$0_1+368|0;return $2_1|0}function $1350($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$0_1=global$0-368|0;global$0=$0_1;HEAP32[$0_1+352>>2]=$2_1;HEAP32[$0_1+360>>2]=$1_1;$540($0_1+200|0,$3_1,$0_1+224|0,$0_1+220|0,$0_1+216|0);$1_1=$18($0_1+184|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+180>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;HEAP8[$0_1+7|0]=1;HEAP8[$0_1+6|0]=69;while(1){label$2:{if(!$95($0_1+360|0,$0_1+352|0)){break label$2}if(HEAP32[$0_1+180>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+180>>2]=$3_1+$2_1}if($539($57($0_1+360|0),$0_1+7|0,$0_1+6|0,$2_1,$0_1+180|0,HEAP32[$0_1+220>>2],HEAP32[$0_1+216>>2],$0_1+200|0,$0_1+16|0,$0_1+12|0,$0_1+8|0,$0_1+224|0)){break label$2}$74($0_1+360|0);continue}break}label$4:{if(!$6($0_1+200|0)|!HEAPU8[$0_1+7|0]){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAPF64[$5_1>>3]=$941($2_1,HEAP32[$0_1+180>>2],$4_1);$94($0_1+200|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($68($0_1+360|0,$0_1+352|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+360>>2];$8($1_1);$8($0_1+200|0);global$0=$0_1+368|0;return $2_1|0}function $1360($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$0_1=global$0-272|0;global$0=$0_1;HEAP32[$0_1+256>>2]=$2_1;HEAP32[$0_1+264>>2]=$1_1;$543($0_1+208|0,$3_1,$0_1+224|0,$0_1+223|0,$0_1+222|0);$1_1=$18($0_1+192|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;HEAP8[$0_1+7|0]=1;HEAP8[$0_1+6|0]=69;while(1){label$2:{if(!$96($0_1+264|0,$0_1+256|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$3_1+$2_1}if($542($58($0_1+264|0),$0_1+7|0,$0_1+6|0,$2_1,$0_1+188|0,HEAP8[$0_1+223|0],HEAP8[$0_1+222|0],$0_1+208|0,$0_1+16|0,$0_1+12|0,$0_1+8|0,$0_1+224|0)){break label$2}$75($0_1+264|0);continue}break}label$4:{if(!$6($0_1+208|0)|!HEAPU8[$0_1+7|0]){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAPF32[$5_1>>2]=$942($2_1,HEAP32[$0_1+188>>2],$4_1);$94($0_1+208|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($69($0_1+264|0,$0_1+256|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+264>>2];$8($1_1);$8($0_1+208|0);global$0=$0_1+272|0;return $2_1|0}function $1359($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$0_1=global$0-272|0;global$0=$0_1;HEAP32[$0_1+256>>2]=$2_1;HEAP32[$0_1+264>>2]=$1_1;$543($0_1+208|0,$3_1,$0_1+224|0,$0_1+223|0,$0_1+222|0);$1_1=$18($0_1+192|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;HEAP8[$0_1+7|0]=1;HEAP8[$0_1+6|0]=69;while(1){label$2:{if(!$96($0_1+264|0,$0_1+256|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$3_1+$2_1}if($542($58($0_1+264|0),$0_1+7|0,$0_1+6|0,$2_1,$0_1+188|0,HEAP8[$0_1+223|0],HEAP8[$0_1+222|0],$0_1+208|0,$0_1+16|0,$0_1+12|0,$0_1+8|0,$0_1+224|0)){break label$2}$75($0_1+264|0);continue}break}label$4:{if(!$6($0_1+208|0)|!HEAPU8[$0_1+7|0]){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAPF64[$5_1>>3]=$941($2_1,HEAP32[$0_1+188>>2],$4_1);$94($0_1+208|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($69($0_1+264|0,$0_1+256|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+264>>2];$8($1_1);$8($0_1+208|0);global$0=$0_1+272|0;return $2_1|0}function $1354($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0;$0_1=global$0-352|0;global$0=$0_1;HEAP32[$0_1+336>>2]=$2_1;HEAP32[$0_1+344>>2]=$1_1;$6_1=$176($3_1);$7_1=$337($3_1,$0_1+224|0);$336($0_1+208|0,$3_1,$0_1+332|0);$1_1=$18($0_1+192|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;while(1){label$2:{if(!$95($0_1+344|0,$0_1+336|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$3_1+$2_1}if($290($57($0_1+344|0),$6_1,$2_1,$0_1+188|0,$0_1+8|0,HEAP32[$0_1+332>>2],$0_1+208|0,$0_1+16|0,$0_1+12|0,$7_1)){break label$2}$74($0_1+344|0);continue}break}label$4:{if(!$6($0_1+208|0)){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAP32[$5_1>>2]=$948($2_1,HEAP32[$0_1+188>>2],$4_1,$6_1);HEAP32[$5_1+4>>2]=i64toi32_i32$HIGH_BITS;$94($0_1+208|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($68($0_1+344|0,$0_1+336|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+344>>2];$8($1_1);$8($0_1+208|0);global$0=$0_1+352|0;return $2_1|0}function $1352($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0;$0_1=global$0-352|0;global$0=$0_1;HEAP32[$0_1+336>>2]=$2_1;HEAP32[$0_1+344>>2]=$1_1;$6_1=$176($3_1);$7_1=$337($3_1,$0_1+224|0);$336($0_1+208|0,$3_1,$0_1+332|0);$1_1=$18($0_1+192|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;while(1){label$2:{if(!$95($0_1+344|0,$0_1+336|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$3_1+$2_1}if($290($57($0_1+344|0),$6_1,$2_1,$0_1+188|0,$0_1+8|0,HEAP32[$0_1+332>>2],$0_1+208|0,$0_1+16|0,$0_1+12|0,$7_1)){break label$2}$74($0_1+344|0);continue}break}label$4:{if(!$6($0_1+208|0)){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAP32[$5_1>>2]=$944($2_1,HEAP32[$0_1+188>>2],$4_1,$6_1);HEAP32[$5_1+4>>2]=i64toi32_i32$HIGH_BITS;$94($0_1+208|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($68($0_1+344|0,$0_1+336|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+344>>2];$8($1_1);$8($0_1+208|0);global$0=$0_1+352|0;return $2_1|0}function $903($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1){var $10_1=0;$10_1=global$0-16|0;global$0=$10_1;label$1:{if($0_1){$0_1=$908($2_1);label$3:{if($1_1){$203($10_1,$0_1);$1_1=HEAP32[$10_1>>2];HEAP8[$3_1|0]=$1_1;HEAP8[$3_1+1|0]=$1_1>>>8;HEAP8[$3_1+2|0]=$1_1>>>16;HEAP8[$3_1+3|0]=$1_1>>>24;$202($10_1,$0_1);break label$3}$409($10_1,$0_1);$1_1=HEAP32[$10_1>>2];HEAP8[$3_1|0]=$1_1;HEAP8[$3_1+1|0]=$1_1>>>8;HEAP8[$3_1+2|0]=$1_1>>>16;HEAP8[$3_1+3|0]=$1_1>>>24;$151($10_1,$0_1)}$171($8_1,$10_1);$8($10_1);HEAP32[$4_1>>2]=$149($0_1);HEAP32[$5_1>>2]=$108($0_1);$107($10_1,$0_1);$91($6_1,$10_1);$8($10_1);$152($10_1,$0_1);$171($7_1,$10_1);$8($10_1);$0_1=$201($0_1);break label$1}$0_1=$907($2_1);label$5:{if($1_1){$203($10_1,$0_1);$1_1=HEAP32[$10_1>>2];HEAP8[$3_1|0]=$1_1;HEAP8[$3_1+1|0]=$1_1>>>8;HEAP8[$3_1+2|0]=$1_1>>>16;HEAP8[$3_1+3|0]=$1_1>>>24;$202($10_1,$0_1);break label$5}$409($10_1,$0_1);$1_1=HEAP32[$10_1>>2];HEAP8[$3_1|0]=$1_1;HEAP8[$3_1+1|0]=$1_1>>>8;HEAP8[$3_1+2|0]=$1_1>>>16;HEAP8[$3_1+3|0]=$1_1>>>24;$151($10_1,$0_1)}$171($8_1,$10_1);$8($10_1);HEAP32[$4_1>>2]=$149($0_1);HEAP32[$5_1>>2]=$108($0_1);$107($10_1,$0_1);$91($6_1,$10_1);$8($10_1);$152($10_1,$0_1);$171($7_1,$10_1);$8($10_1);$0_1=$201($0_1)}HEAP32[$9_1>>2]=$0_1;global$0=$10_1+16|0}function $1012($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0;if(($3_1|0)>0){$8_1=HEAP32[$0_1+120>>2];$9_1=HEAP32[$0_1+484>>2];$5_1=HEAP32[$0_1+112>>2];$16_1=$5_1&-2;$17_1=$5_1&1;while(1){$0_1=$10_1<<2;$14_1=$0_1+$2_1|0;$11(HEAP32[$14_1>>2],0,$5_1);$15_1=HEAP32[$9_1+48>>2];if(($8_1|0)>0){$18_1=$0_1+$1_1|0;$6_1=0;while(1){label$5:{if(!$5_1){break label$5}$0_1=$6_1<<2;$11_1=HEAP32[($0_1+$9_1|0)+52>>2]+($15_1<<6)|0;$12_1=HEAP32[$0_1+HEAP32[$9_1+24>>2]>>2];$4_1=HEAP32[$18_1>>2]+$6_1|0;$0_1=HEAP32[$14_1>>2];$7_1=0;$13_1=0;if(($5_1|0)!=1){while(1){HEAP8[$0_1|0]=HEAPU8[$0_1|0]+HEAPU8[(HEAP32[($7_1<<2)+$11_1>>2]+HEAPU8[$4_1|0]|0)+$12_1|0];$4_1=$4_1+$8_1|0;HEAP8[$0_1+1|0]=HEAPU8[$0_1+1|0]+HEAPU8[(HEAP32[(($7_1+1&15)<<2)+$11_1>>2]+HEAPU8[$4_1|0]|0)+$12_1|0];$0_1=$0_1+2|0;$7_1=$7_1+2&15;$4_1=$4_1+$8_1|0;$13_1=$13_1+2|0;if(($16_1|0)!=($13_1|0)){continue}break}}if(!$17_1){break label$5}HEAP8[$0_1|0]=HEAPU8[$0_1|0]+HEAPU8[(HEAP32[($7_1<<2)+$11_1>>2]+HEAPU8[$4_1|0]|0)+$12_1|0]}$6_1=$6_1+1|0;if(($6_1|0)!=($8_1|0)){continue}break}}HEAP32[$9_1+48>>2]=$15_1+1&15;$10_1=$10_1+1|0;if(($10_1|0)!=($3_1|0)){continue}break}}}function $905($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1){var $10_1=0;$10_1=global$0-16|0;global$0=$10_1;label$1:{if($0_1){$0_1=$914($2_1);label$3:{if($1_1){$203($10_1,$0_1);$1_1=HEAP32[$10_1>>2];HEAP8[$3_1|0]=$1_1;HEAP8[$3_1+1|0]=$1_1>>>8;HEAP8[$3_1+2|0]=$1_1>>>16;HEAP8[$3_1+3|0]=$1_1>>>24;$202($10_1,$0_1);break label$3}$409($10_1,$0_1);$1_1=HEAP32[$10_1>>2];HEAP8[$3_1|0]=$1_1;HEAP8[$3_1+1|0]=$1_1>>>8;HEAP8[$3_1+2|0]=$1_1>>>16;HEAP8[$3_1+3|0]=$1_1>>>24;$151($10_1,$0_1)}$91($8_1,$10_1);$8($10_1);HEAP8[$4_1|0]=$149($0_1);HEAP8[$5_1|0]=$108($0_1);$107($10_1,$0_1);$91($6_1,$10_1);$8($10_1);$152($10_1,$0_1);$91($7_1,$10_1);$8($10_1);$0_1=$201($0_1);break label$1}$0_1=$913($2_1);label$5:{if($1_1){$203($10_1,$0_1);$1_1=HEAP32[$10_1>>2];HEAP8[$3_1|0]=$1_1;HEAP8[$3_1+1|0]=$1_1>>>8;HEAP8[$3_1+2|0]=$1_1>>>16;HEAP8[$3_1+3|0]=$1_1>>>24;$202($10_1,$0_1);break label$5}$409($10_1,$0_1);$1_1=HEAP32[$10_1>>2];HEAP8[$3_1|0]=$1_1;HEAP8[$3_1+1|0]=$1_1>>>8;HEAP8[$3_1+2|0]=$1_1>>>16;HEAP8[$3_1+3|0]=$1_1>>>24;$151($10_1,$0_1)}$91($8_1,$10_1);$8($10_1);HEAP8[$4_1|0]=$149($0_1);HEAP8[$5_1|0]=$108($0_1);$107($10_1,$0_1);$91($6_1,$10_1);$8($10_1);$152($10_1,$0_1);$91($7_1,$10_1);$8($10_1);$0_1=$201($0_1)}HEAP32[$9_1>>2]=$0_1;global$0=$10_1+16|0}function $56($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$7_1=HEAP32[$0_1+4>>2];$6_1=HEAP32[$0_1>>2];$5_1=HEAP32[$0_1+16>>2];label$1:{label$2:{if(HEAP32[$5_1+440>>2]){$4_1=$6_1;break label$2}if(($2_1|0)>24){$8_1=$2_1;$4_1=$6_1;break label$1}while(1){if(!$7_1){if(!(FUNCTION_TABLE[HEAP32[HEAP32[$5_1+24>>2]+12>>2]]($5_1)|0)){return 0}$4_1=HEAP32[$5_1+24>>2];$7_1=HEAP32[$4_1+4>>2];$6_1=HEAP32[$4_1>>2]}$4_1=$6_1+1|0;$7_1=$7_1-1|0;label$8:{$8_1=HEAPU8[$6_1|0];if(($8_1|0)==255){while(1){if(!$7_1){if(!(FUNCTION_TABLE[HEAP32[HEAP32[$5_1+24>>2]+12>>2]]($5_1)|0)){return 0}$4_1=HEAP32[$5_1+24>>2];$7_1=HEAP32[$4_1+4>>2];$4_1=HEAP32[$4_1>>2]}$7_1=$7_1-1|0;$6_1=HEAPU8[$4_1|0];$8_1=255;$4_1=$4_1+1|0;if(($6_1|0)==255){continue}break}if($6_1){break label$8}}$1_1=$1_1<<8|$8_1;$9_1=($2_1|0)<17;$6_1=$4_1;$8_1=$2_1+8|0;$2_1=$8_1;if($9_1){continue}break label$1}break}HEAP32[$5_1+440>>2]=$6_1}if(($2_1|0)>=($3_1|0)){$8_1=$2_1;break label$1}if(!HEAP32[HEAP32[$5_1+468>>2]+40>>2]){$3_1=HEAP32[$5_1>>2];HEAP32[$3_1+20>>2]=120;FUNCTION_TABLE[HEAP32[$3_1+4>>2]]($5_1,-1);HEAP32[HEAP32[$5_1+468>>2]+40>>2]=1}$8_1=25;$1_1=$1_1<<25-$2_1}HEAP32[$0_1+12>>2]=$8_1;HEAP32[$0_1+8>>2]=$1_1;HEAP32[$0_1+4>>2]=$7_1;HEAP32[$0_1>>2]=$4_1;return 1}function $656($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;$4_1=HEAP32[$0_1+484>>2];$2_1=HEAP32[$0_1+88>>2];$1_1=($2_1|0)==1;HEAP32[$4_1+28>>2]=$1_1;HEAP32[$4_1+24>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+8>>2]]($0_1,1,$1_1?766:256,HEAP32[$0_1+120>>2]);if(HEAP32[$0_1+120>>2]>0){$6_1=HEAP32[$4_1+20>>2];$8_1=($2_1|0)!=1;while(1){$2_1=$7_1<<2;$1_1=HEAP32[($2_1+$4_1|0)+32>>2];$6_1=($6_1|0)/($1_1|0)|0;if(!$8_1){$3_1=$2_1+HEAP32[$4_1+24>>2]|0;HEAP32[$3_1>>2]=HEAP32[$3_1>>2]+255}$9_1=$1_1-1|0;$10_1=$9_1<<1;$5_1=($1_1+254|0)/($10_1|0)|0;$2_1=HEAP32[$2_1+HEAP32[$4_1+24>>2]>>2];$1_1=0;$3_1=0;while(1){if(($3_1|0)>($5_1|0)){while(1){$1_1=$1_1+1|0;$5_1=(Math_imul($1_1<<1|1,255)+$9_1|0)/($10_1|0)|0;if(($5_1|0)<($3_1|0)){continue}break}}HEAP8[$2_1+$3_1|0]=Math_imul($1_1,$6_1);$3_1=$3_1+1|0;if(($3_1|0)!=256){continue}break}if(!$8_1){$1_1=1;while(1){$5_1=$2_1-$1_1|0;HEAP8[$5_1|0]=HEAPU8[$2_1|0];$3_1=$2_1+$1_1|0;HEAP8[$3_1+255|0]=HEAPU8[$2_1+255|0];HEAP8[$2_1+($1_1^-1)|0]=HEAPU8[$2_1|0];HEAP8[$3_1+256|0]=HEAPU8[$2_1+255|0];HEAP8[$5_1-2|0]=HEAPU8[$2_1|0];HEAP8[$3_1+257|0]=HEAPU8[$2_1+255|0];$1_1=$1_1+3|0;if(($1_1|0)!=256){continue}break}}$7_1=$7_1+1|0;if(($7_1|0)>2]){continue}break}}}function $1063($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;$3_1=global$0-48|0;global$0=$3_1;$2_1=HEAP32[$0_1>>2];$4_1=HEAP32[$2_1+20>>2];label$1:{label$2:{label$3:{if(!(($4_1|0)<=0|($4_1|0)>HEAP32[$2_1+116>>2])){$0_1=HEAP32[$2_1+112>>2]+($4_1<<2)|0;break label$3}$5_1=HEAP32[$2_1+120>>2];if(!$5_1){break label$2}$0_1=HEAP32[$2_1+124>>2];if(($0_1|0)>($4_1|0)|($4_1|0)>HEAP32[$2_1+128>>2]){break label$2}$0_1=$5_1+($4_1-$0_1<<2)|0}$5_1=HEAP32[$0_1>>2];if($5_1){break label$1}}HEAP32[$2_1+24>>2]=$4_1;$5_1=HEAP32[HEAP32[$2_1+112>>2]>>2]}$0_1=$5_1;label$5:{label$6:{while(1){$4_1=HEAPU8[$0_1|0];if(!$4_1){break label$6}$0_1=$0_1+1|0;if(($4_1|0)!=37){continue}break}if(HEAPU8[$0_1|0]!=115){break label$6}HEAP32[$3_1+32>>2]=$2_1+24;$250($1_1,$5_1,$3_1+32|0);break label$5}$6_1=HEAP32[$2_1+32>>2];$7_1=HEAP32[$2_1+36>>2];$8_1=HEAP32[$2_1+40>>2];$9_1=HEAP32[$2_1+44>>2];$10_1=HEAP32[$2_1+24>>2];$4_1=HEAP32[$2_1+28>>2];$0_1=HEAP32[$2_1+52>>2];HEAP32[$3_1+24>>2]=HEAP32[$2_1+48>>2];HEAP32[$3_1+28>>2]=$0_1;HEAP32[$3_1+16>>2]=$8_1;HEAP32[$3_1+20>>2]=$9_1;HEAP32[$3_1+8>>2]=$6_1;HEAP32[$3_1+12>>2]=$7_1;HEAP32[$3_1>>2]=$10_1;HEAP32[$3_1+4>>2]=$4_1;$250($1_1,$5_1,$3_1)}global$0=$3_1+48|0}function $442($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;if(!(HEAPU8[$0_1|0]&15)){return $113($0_1+4|0,0,10)&10}$6_1=HEAP32[$0_1>>2];label$2:{label$4:{label$5:{$2_1=global$3;$5_1=HEAP32[$2_1+16>>2];$1_1=HEAP32[$0_1+4>>2];$3_1=$1_1&1073741823;if(($5_1|0)!=($3_1|0)){break label$5}if(!(!($6_1&8)|HEAP32[$0_1+20>>2]>=0)){HEAP32[$0_1+20>>2]=0;$1_1=$1_1&1073741824;break label$4}if(($6_1&3)!=1){break label$5}$4_1=6;$1_1=HEAP32[$0_1+20>>2];if($1_1>>>0>2147483646){break label$2}HEAP32[$0_1+20>>2]=$1_1+1;$4_1=0;break label$2}$4_1=56;if(($3_1|0)==1073741823){break label$2}label$7:{if($3_1|($6_1&4?0:$1_1)){break label$7}$7_1=$0_1+4|0;if($6_1&128){if(!HEAP32[$2_1+72>>2]){HEAP32[$2_1+72>>2]=-12}$3_1=HEAP32[$0_1+8>>2];HEAP32[$2_1+76>>2]=$0_1+16;$5_1=$3_1?$5_1|-2147483648:$5_1}if(($113($7_1,$1_1,$1_1&1073741824|$5_1)|0)==($1_1|0)){break label$4}HEAP32[$2_1+76>>2]=0;if(($6_1&12)!=12){break label$7}if(HEAP32[$0_1+8>>2]){break label$2}}$4_1=10;break label$2}$3_1=HEAP32[$2_1+68>>2];$5_1=$2_1+68|0;HEAP32[$0_1+12>>2]=$5_1;HEAP32[$0_1+16>>2]=$3_1;$4_1=$0_1+16|0;if(($3_1|0)!=($5_1|0)){HEAP32[$3_1-4>>2]=$4_1}HEAP32[$2_1+68>>2]=$4_1;$4_1=0;HEAP32[$2_1+76>>2]=0;if(!$1_1){break label$2}HEAP32[$0_1+20>>2]=0;$4_1=62}return $4_1}function $599($0_1,$1_1,$2_1,$3_1){label$1:{switch($1_1-9|0){case 0:$1_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$1_1+4;HEAP32[$0_1>>2]=HEAP32[$1_1>>2];return;case 6:$1_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$1_1+4;$1_1=HEAP16[$1_1>>1];HEAP32[$0_1>>2]=$1_1;HEAP32[$0_1+4>>2]=$1_1>>31;return;case 7:$1_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$1_1+4;HEAP32[$0_1>>2]=HEAPU16[$1_1>>1];HEAP32[$0_1+4>>2]=0;return;case 8:$1_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$1_1+4;$1_1=HEAP8[$1_1|0];HEAP32[$0_1>>2]=$1_1;HEAP32[$0_1+4>>2]=$1_1>>31;return;case 9:$1_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$1_1+4;HEAP32[$0_1>>2]=HEAPU8[$1_1|0];HEAP32[$0_1+4>>2]=0;return;case 16:$1_1=HEAP32[$2_1>>2]+7&-8;HEAP32[$2_1>>2]=$1_1+8;HEAPF64[$0_1>>3]=HEAPF64[$1_1>>3];return;case 17:FUNCTION_TABLE[$3_1|0]($0_1,$2_1);default:return;case 1:case 4:case 14:$1_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$1_1+4;$1_1=HEAP32[$1_1>>2];HEAP32[$0_1>>2]=$1_1;HEAP32[$0_1+4>>2]=$1_1>>31;return;case 2:case 5:case 11:case 15:$1_1=HEAP32[$2_1>>2];HEAP32[$2_1>>2]=$1_1+4;HEAP32[$0_1>>2]=HEAP32[$1_1>>2];HEAP32[$0_1+4>>2]=0;return;case 3:case 10:case 12:case 13:break label$1}}$1_1=HEAP32[$2_1>>2]+7&-8;HEAP32[$2_1>>2]=$1_1+8;$2_1=HEAP32[$1_1+4>>2];HEAP32[$0_1>>2]=HEAP32[$1_1>>2];HEAP32[$0_1+4>>2]=$2_1}function $1363($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$0_1=global$0-272|0;global$0=$0_1;HEAP32[$0_1+256>>2]=$2_1;HEAP32[$0_1+264>>2]=$1_1;$6_1=$176($3_1);$338($0_1+208|0,$3_1,$0_1+255|0);$1_1=$18($0_1+192|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;while(1){label$2:{if(!$96($0_1+264|0,$0_1+256|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$3_1+$2_1}if($292($58($0_1+264|0),$6_1,$2_1,$0_1+188|0,$0_1+8|0,HEAP8[$0_1+255|0],$0_1+208|0,$0_1+16|0,$0_1+12|0,55776)){break label$2}$75($0_1+264|0);continue}break}label$4:{if(!$6($0_1+208|0)){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAP32[$5_1>>2]=$948($2_1,HEAP32[$0_1+188>>2],$4_1,$6_1);HEAP32[$5_1+4>>2]=i64toi32_i32$HIGH_BITS;$94($0_1+208|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($69($0_1+264|0,$0_1+256|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+264>>2];$8($1_1);$8($0_1+208|0);global$0=$0_1+272|0;return $2_1|0}function $1361($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$0_1=global$0-272|0;global$0=$0_1;HEAP32[$0_1+256>>2]=$2_1;HEAP32[$0_1+264>>2]=$1_1;$6_1=$176($3_1);$338($0_1+208|0,$3_1,$0_1+255|0);$1_1=$18($0_1+192|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;while(1){label$2:{if(!$96($0_1+264|0,$0_1+256|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$3_1+$2_1}if($292($58($0_1+264|0),$6_1,$2_1,$0_1+188|0,$0_1+8|0,HEAP8[$0_1+255|0],$0_1+208|0,$0_1+16|0,$0_1+12|0,55776)){break label$2}$75($0_1+264|0);continue}break}label$4:{if(!$6($0_1+208|0)){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAP32[$5_1>>2]=$944($2_1,HEAP32[$0_1+188>>2],$4_1,$6_1);HEAP32[$5_1+4>>2]=i64toi32_i32$HIGH_BITS;$94($0_1+208|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($69($0_1+264|0,$0_1+256|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+264>>2];$8($1_1);$8($0_1+208|0);global$0=$0_1+272|0;return $2_1|0}function $1308($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0;$0_1=global$0-496|0;global$0=$0_1;$6_1=$0_1+488|0;$30($6_1,$3_1);$11_1=$101($6_1);if($6($5_1)){$12_1=HEAP32[$416($5_1,0)>>2]==($109($11_1,45)|0)}$9_1=$18($0_1+456|0);$7_1=$18($0_1+440|0);$8_1=$18($0_1+424|0);$903($2_1,$12_1,$0_1+488|0,$0_1+480|0,$0_1+476|0,$0_1+472|0,$9_1,$7_1,$8_1,$0_1+420|0);HEAP32[$0_1+16>>2]=316;$2_1=$0_1+16|0;$10_1=$54($0_1+8|0,0,$2_1);label$2:{label$3:{if(($6($5_1)|0)>HEAP32[$0_1+420>>2]){$6_1=$6($5_1);$13_1=HEAP32[$0_1+420>>2];$6_1=((($6($8_1)+($6_1-$13_1<<1)|0)+$6($7_1)|0)+HEAP32[$0_1+420>>2]|0)+1|0;break label$3}$6_1=(($6($8_1)+$6($7_1)|0)+HEAP32[$0_1+420>>2]|0)+2|0}if($6_1>>>0<101){break label$2}$73($10_1,$7($6_1<<2));$2_1=HEAP32[$10_1>>2];if($2_1){break label$2}$55();abort()}$902($2_1,$0_1+4|0,$0_1,HEAP32[$3_1+4>>2],$15($5_1),$15($5_1)+($6($5_1)<<2)|0,$11_1,$12_1,$0_1+480|0,HEAP32[$0_1+476>>2],HEAP32[$0_1+472>>2],$9_1,$7_1,$8_1,HEAP32[$0_1+420>>2]);$1_1=$238($1_1,$2_1,HEAP32[$0_1+4>>2],HEAP32[$0_1>>2],$3_1,$4_1);$53($10_1);$8($8_1);$8($7_1);$8($9_1);$19($0_1+488|0);global$0=$0_1+496|0;return $1_1|0}function $292($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1){var $10_1=0,$11_1=0,$12_1=0;$10_1=global$0-16|0;global$0=$10_1;HEAP8[$10_1+15|0]=$0_1;label$1:{label$2:{label$3:{if(HEAP32[$3_1>>2]!=($2_1|0)){break label$3}$11_1=43;$12_1=$0_1&255;if(($12_1|0)!=HEAPU8[$9_1+24|0]){$11_1=45;if(HEAPU8[$9_1+25|0]!=($12_1|0)){break label$3}}HEAP32[$3_1>>2]=$2_1+1;HEAP8[$2_1|0]=$11_1;break label$2}if(!(!$6($6_1)|($0_1|0)!=($5_1|0))){$0_1=0;$1_1=HEAP32[$8_1>>2];if(($1_1-$7_1|0)>159){break label$1}$0_1=HEAP32[$4_1>>2];HEAP32[$8_1>>2]=$1_1+4;HEAP32[$1_1>>2]=$0_1;break label$2}$0_1=-1;$5_1=$541($9_1,$9_1+26|0,$10_1+15|0)-$9_1|0;if(($5_1|0)>23){break label$1}label$6:{label$7:{switch($1_1-8|0){case 0:case 2:if(($1_1|0)>($5_1|0)){break label$6}break label$1;case 1:break label$6;default:break label$7}}if(($1_1|0)!=16|($5_1|0)<22){break label$6}$1_1=HEAP32[$3_1>>2];if(($1_1|0)==($2_1|0)|($1_1-$2_1|0)>2|HEAPU8[$1_1-1|0]!=48){break label$1}$0_1=0;HEAP32[$4_1>>2]=0;HEAP32[$3_1>>2]=$1_1+1;HEAP8[$1_1|0]=HEAPU8[$5_1+55776|0];break label$1}$0_1=HEAP32[$3_1>>2];HEAP32[$3_1>>2]=$0_1+1;HEAP8[$0_1|0]=HEAPU8[$5_1+55776|0];HEAP32[$4_1>>2]=HEAP32[$4_1>>2]+1;$0_1=0;break label$1}$0_1=0;HEAP32[$4_1>>2]=0}global$0=$10_1+16|0;return $0_1}function $1355($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0;$0_1=global$0-352|0;global$0=$0_1;HEAP32[$0_1+336>>2]=$2_1;HEAP32[$0_1+344>>2]=$1_1;$6_1=$176($3_1);$7_1=$337($3_1,$0_1+224|0);$336($0_1+208|0,$3_1,$0_1+332|0);$1_1=$18($0_1+192|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;while(1){label$2:{if(!$95($0_1+344|0,$0_1+336|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$3_1+$2_1}if($290($57($0_1+344|0),$6_1,$2_1,$0_1+188|0,$0_1+8|0,HEAP32[$0_1+332>>2],$0_1+208|0,$0_1+16|0,$0_1+12|0,$7_1)){break label$2}$74($0_1+344|0);continue}break}label$4:{if(!$6($0_1+208|0)){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAP32[$5_1>>2]=$949($2_1,HEAP32[$0_1+188>>2],$4_1,$6_1);$94($0_1+208|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($68($0_1+344|0,$0_1+336|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+344>>2];$8($1_1);$8($0_1+208|0);global$0=$0_1+352|0;return $2_1|0}function $1353($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0;$0_1=global$0-352|0;global$0=$0_1;HEAP32[$0_1+336>>2]=$2_1;HEAP32[$0_1+344>>2]=$1_1;$6_1=$176($3_1);$7_1=$337($3_1,$0_1+224|0);$336($0_1+208|0,$3_1,$0_1+332|0);$1_1=$18($0_1+192|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;while(1){label$2:{if(!$95($0_1+344|0,$0_1+336|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$3_1+$2_1}if($290($57($0_1+344|0),$6_1,$2_1,$0_1+188|0,$0_1+8|0,HEAP32[$0_1+332>>2],$0_1+208|0,$0_1+16|0,$0_1+12|0,$7_1)){break label$2}$74($0_1+344|0);continue}break}label$4:{if(!$6($0_1+208|0)){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAP16[$5_1>>1]=$947($2_1,HEAP32[$0_1+188>>2],$4_1,$6_1);$94($0_1+208|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($68($0_1+344|0,$0_1+336|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+344>>2];$8($1_1);$8($0_1+208|0);global$0=$0_1+352|0;return $2_1|0}function $1014($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0;if(($3_1|0)>0){$14_1=HEAP32[$0_1+112>>2];$6_1=HEAP32[HEAP32[$0_1+484>>2]+24>>2];$7_1=HEAP32[$0_1+120>>2];$16_1=$7_1&-4;$15_1=$7_1&3;$17_1=$7_1-1>>>0<3;while(1){if($14_1){$0_1=$8_1<<2;$9_1=HEAP32[$0_1+$1_1>>2];$10_1=HEAP32[$0_1+$2_1>>2];$11_1=$14_1;while(1){label$5:{if(($7_1|0)<=0){$4_1=0;break label$5}$12_1=0;$4_1=0;$5_1=0;$0_1=$9_1;$13_1=0;if(!$17_1){while(1){$18_1=$4_1;$4_1=$5_1<<2;$4_1=((($18_1+HEAPU8[HEAP32[$4_1+$6_1>>2]+HEAPU8[$0_1|0]|0]|0)+HEAPU8[HEAP32[($4_1|4)+$6_1>>2]+HEAPU8[$0_1+1|0]|0]|0)+HEAPU8[HEAP32[($4_1|8)+$6_1>>2]+HEAPU8[$0_1+2|0]|0]|0)+HEAPU8[HEAP32[($4_1|12)+$6_1>>2]+HEAPU8[$0_1+3|0]|0]|0;$5_1=$5_1+4|0;$0_1=$0_1+4|0;$13_1=$13_1+4|0;if(($16_1|0)!=($13_1|0)){continue}break}}if($15_1){while(1){$4_1=HEAPU8[HEAP32[($5_1<<2)+$6_1>>2]+HEAPU8[$0_1|0]|0]+$4_1|0;$5_1=$5_1+1|0;$0_1=$0_1+1|0;$12_1=$12_1+1|0;if(($12_1|0)!=($15_1|0)){continue}break}}$9_1=$7_1+$9_1|0}HEAP8[$10_1|0]=$4_1;$10_1=$10_1+1|0;$11_1=$11_1-1|0;if($11_1){continue}break}}$8_1=$8_1+1|0;if(($8_1|0)!=($3_1|0)){continue}break}}}function $937($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0;$0_1=global$0-352|0;global$0=$0_1;HEAP32[$0_1+336>>2]=$2_1;HEAP32[$0_1+344>>2]=$1_1;$6_1=$176($3_1);$7_1=$337($3_1,$0_1+224|0);$336($0_1+208|0,$3_1,$0_1+332|0);$1_1=$18($0_1+192|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;while(1){label$2:{if(!$95($0_1+344|0,$0_1+336|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$3_1+$2_1}if($290($57($0_1+344|0),$6_1,$2_1,$0_1+188|0,$0_1+8|0,HEAP32[$0_1+332>>2],$0_1+208|0,$0_1+16|0,$0_1+12|0,$7_1)){break label$2}$74($0_1+344|0);continue}break}label$4:{if(!$6($0_1+208|0)){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAP32[$5_1>>2]=$945($2_1,HEAP32[$0_1+188>>2],$4_1,$6_1);$94($0_1+208|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($68($0_1+344|0,$0_1+336|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+344>>2];$8($1_1);$8($0_1+208|0);global$0=$0_1+352|0;return $2_1|0}function $290($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1){var $10_1=0,$11_1=0;$10_1=global$0-16|0;global$0=$10_1;HEAP32[$10_1+12>>2]=$0_1;label$1:{label$2:{label$3:{if(HEAP32[$3_1>>2]!=($2_1|0)){break label$3}$11_1=43;if(HEAP32[$9_1+96>>2]!=($0_1|0)){$11_1=45;if(HEAP32[$9_1+100>>2]!=($0_1|0)){break label$3}}HEAP32[$3_1>>2]=$2_1+1;HEAP8[$2_1|0]=$11_1;break label$2}if(!(!$6($6_1)|($0_1|0)!=($5_1|0))){$0_1=0;$1_1=HEAP32[$8_1>>2];if(($1_1-$7_1|0)>159){break label$1}$0_1=HEAP32[$4_1>>2];HEAP32[$8_1>>2]=$1_1+4;HEAP32[$1_1>>2]=$0_1;break label$2}$0_1=-1;$6_1=$537($9_1,$9_1+104|0,$10_1+12|0)-$9_1|0;if(($6_1|0)>92){break label$1}$5_1=$6_1>>2;label$6:{label$7:{switch($1_1-8|0){case 0:case 2:if(($1_1|0)>($5_1|0)){break label$6}break label$1;case 1:break label$6;default:break label$7}}if(($1_1|0)!=16|($6_1|0)<88){break label$6}$1_1=HEAP32[$3_1>>2];if(($1_1|0)==($2_1|0)|($1_1-$2_1|0)>2|HEAPU8[$1_1-1|0]!=48){break label$1}$0_1=0;HEAP32[$4_1>>2]=0;HEAP32[$3_1>>2]=$1_1+1;HEAP8[$1_1|0]=HEAPU8[$5_1+55776|0];break label$1}$0_1=HEAP32[$3_1>>2];HEAP32[$3_1>>2]=$0_1+1;HEAP8[$0_1|0]=HEAPU8[$5_1+55776|0];HEAP32[$4_1>>2]=HEAP32[$4_1>>2]+1;$0_1=0;break label$1}$0_1=0;HEAP32[$4_1>>2]=0}global$0=$10_1+16|0;return $0_1}function $247($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0;$8_1=HEAPU16[(($0_1>>>0>149?0:$0_1)<<1)+48784>>1]+46952|0;$0_1=HEAP32[HEAP32[global$3+88>>2]+20>>2];if($0_1){$4_1=HEAP32[$0_1+4>>2];$1_1=HEAP32[$0_1>>2];$3_1=HEAP32[$1_1>>2]+1794895138|0;$5_1=$239(HEAP32[$1_1+8>>2],$3_1);$6_1=$239(HEAP32[$1_1+12>>2],$3_1);$2_1=$239(HEAP32[$1_1+16>>2],$3_1);label$2:{if($4_1>>>2>>>0<=$5_1>>>0){break label$2}$0_1=$4_1-($5_1<<2)|0;if(($2_1|$6_1)&3|($0_1>>>0<=$6_1>>>0|$0_1>>>0<=$2_1>>>0)){break label$2}$12_1=$2_1>>>2|0;$13_1=$6_1>>>2|0;while(1){$7_1=$5_1>>>1|0;$6_1=$7_1+$9_1|0;$2_1=$6_1<<1;$0_1=$1_1+($2_1+$13_1<<2)|0;$10_1=$239(HEAP32[$0_1>>2],$3_1);$0_1=$239(HEAP32[$0_1+4>>2],$3_1);if($0_1>>>0>=$4_1>>>0|$4_1-$0_1>>>0<=$10_1>>>0|HEAPU8[$1_1+($0_1+$10_1|0)|0]){break label$2}$0_1=$248($8_1,$0_1+$1_1|0);if(!$0_1){$0_1=$1_1+($2_1+$12_1<<2)|0;$2_1=$239(HEAP32[$0_1>>2],$3_1);$0_1=$239(HEAP32[$0_1+4>>2],$3_1);if($0_1>>>0>=$4_1>>>0|$2_1>>>0>=$4_1-$0_1>>>0){break label$2}$11_1=HEAPU8[$1_1+($0_1+$2_1|0)|0]?0:$0_1+$1_1|0;break label$2}if(($5_1|0)==1){break label$2}$0_1=($0_1|0)<0;$5_1=$0_1?$7_1:$5_1-$7_1|0;$9_1=$0_1?$9_1:$6_1;continue}}}return $11_1?$11_1:$8_1}function $1310($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0;$0_1=global$0-192|0;global$0=$0_1;$6_1=$0_1+184|0;$30($6_1,$3_1);$11_1=$106($6_1);if($6($5_1)){$12_1=HEAPU8[$16($5_1,0)|0]==($83($11_1,45)&255)}$9_1=$18($0_1+160|0);$7_1=$18($0_1+144|0);$8_1=$18($0_1+128|0);$905($2_1,$12_1,$0_1+184|0,$0_1+176|0,$0_1+175|0,$0_1+174|0,$9_1,$7_1,$8_1,$0_1+124|0);HEAP32[$0_1+16>>2]=316;$2_1=$0_1+16|0;$10_1=$54($0_1+8|0,0,$2_1);label$2:{label$3:{if(($6($5_1)|0)>HEAP32[$0_1+124>>2]){$6_1=$6($5_1);$13_1=HEAP32[$0_1+124>>2];$6_1=((($6($8_1)+($6_1-$13_1<<1)|0)+$6($7_1)|0)+HEAP32[$0_1+124>>2]|0)+1|0;break label$3}$6_1=(($6($8_1)+$6($7_1)|0)+HEAP32[$0_1+124>>2]|0)+2|0}if($6_1>>>0<101){break label$2}$73($10_1,$7($6_1));$2_1=HEAP32[$10_1>>2];if($2_1){break label$2}$55();abort()}$904($2_1,$0_1+4|0,$0_1,HEAP32[$3_1+4>>2],$15($5_1),$15($5_1)+$6($5_1)|0,$11_1,$12_1,$0_1+176|0,HEAP8[$0_1+175|0],HEAP8[$0_1+174|0],$9_1,$7_1,$8_1,HEAP32[$0_1+124>>2]);$1_1=$200($1_1,$2_1,HEAP32[$0_1+4>>2],HEAP32[$0_1>>2],$3_1,$4_1);$53($10_1);$8($8_1);$8($7_1);$8($9_1);$19($0_1+184|0);global$0=$0_1+192|0;return $1_1|0}function $43(){var $0_1=0,$1_1=0,$2_1=0,$3_1=0,$4_1=0;label$1:{if(Atomics.load(HEAPU8,72176)&1){break label$1}if(!$90(72176)){break label$1}$633(71948);$1_1=global$0-32|0;global$0=$1_1;label$2:{label$3:{while(1){$4_1=($1_1+8|0)+($0_1<<2)|0;$3_1=1<<$0_1&2147483647;if($3_1|1){$3_1=$959($0_1,$3_1?35409:38084)}else{$3_1=HEAP32[$0_1<<2>>2]}HEAP32[$4_1>>2]=$3_1;if(($3_1|0)==-1){break label$3}$0_1=$0_1+1|0;if(($0_1|0)!=6){continue}break}if(!$958(0)){$2_1=52552;if(!$420($1_1+8|0,52552)){break label$2}$2_1=52576;if(!$420($1_1+8|0,52576)){break label$2}$0_1=0;if(!HEAPU8[72004]){while(1){HEAP32[($0_1<<2)+71956>>2]=$959($0_1,38084);$0_1=$0_1+1|0;if(($0_1|0)!=6){continue}break}HEAP8[72004]=1;HEAP32[17995]=HEAP32[17989]}$2_1=71956;if(!$420($1_1+8|0,71956)){break label$2}$2_1=71980;if(!$420($1_1+8|0,71980)){break label$2}$2_1=$7(24);if(!$2_1){break label$3}}$0_1=HEAP32[$1_1+12>>2];HEAP32[$2_1>>2]=HEAP32[$1_1+8>>2];HEAP32[$2_1+4>>2]=$0_1;$0_1=HEAP32[$1_1+28>>2];HEAP32[$2_1+16>>2]=HEAP32[$1_1+24>>2];HEAP32[$2_1+20>>2]=$0_1;$0_1=HEAP32[$1_1+20>>2];HEAP32[$2_1+8>>2]=HEAP32[$1_1+16>>2];HEAP32[$2_1+12>>2]=$0_1;break label$2}$2_1=0}global$0=$1_1+32|0;$298(71948);HEAP32[18043]=$2_1;$89(72176)}return HEAP32[18043]}function $526($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0;$3_1=global$0+-64|0;global$0=$3_1;$5_1=HEAP32[$0_1>>2];$4_1=HEAP32[$5_1-4>>2];$5_1=HEAP32[$5_1-8>>2];HEAP32[$3_1+32>>2]=0;HEAP32[$3_1+36>>2]=0;HEAP32[$3_1+40>>2]=0;HEAP32[$3_1+44>>2]=0;HEAP32[$3_1+48>>2]=0;HEAP32[$3_1+52>>2]=0;HEAP8[$3_1+55|0]=0;HEAP8[$3_1+56|0]=0;HEAP8[$3_1+57|0]=0;HEAP8[$3_1+58|0]=0;HEAP8[$3_1+59|0]=0;HEAP8[$3_1+60|0]=0;HEAP8[$3_1+61|0]=0;HEAP8[$3_1+62|0]=0;HEAP32[$3_1+24>>2]=0;HEAP32[$3_1+28>>2]=0;HEAP32[$3_1+20>>2]=0;HEAP32[$3_1+16>>2]=$1_1;HEAP32[$3_1+12>>2]=$0_1;HEAP32[$3_1+8>>2]=$2_1;$0_1=$0_1+$5_1|0;$1_1=0;label$1:{if($121($4_1,$2_1,0)){HEAP32[$3_1+56>>2]=1;FUNCTION_TABLE[HEAP32[HEAP32[$4_1>>2]+20>>2]]($4_1,$3_1+8|0,$0_1,$0_1,1,0);$1_1=HEAP32[$3_1+32>>2]==1?$0_1:0;break label$1}FUNCTION_TABLE[HEAP32[HEAP32[$4_1>>2]+24>>2]]($4_1,$3_1+8|0,$0_1,1,0);label$3:{switch(HEAP32[$3_1+44>>2]){case 0:$1_1=HEAP32[$3_1+48>>2]==1?HEAP32[$3_1+36>>2]==1?HEAP32[$3_1+40>>2]==1?HEAP32[$3_1+28>>2]:0:0:0;break label$1;case 1:break label$3;default:break label$1}}if(HEAP32[$3_1+32>>2]!=1){if(HEAP32[$3_1+48>>2]|HEAP32[$3_1+36>>2]!=1|HEAP32[$3_1+40>>2]!=1){break label$1}}$1_1=HEAP32[$3_1+24>>2]}global$0=$3_1- -64|0;return $1_1}function $700($0_1){var $1_1=Math_fround(0),$2_1=0,$3_1=0,$4_1=0,$5_1=0;$2_1=global$0-16|0;global$0=$2_1;$4_1=(wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2));$3_1=$4_1&2147483647;label$1:{if($3_1>>>0<=1061752794){$1_1=Math_fround(1);if($3_1>>>0<964689920){break label$1}$1_1=$157(+$0_1);break label$1}if($3_1>>>0<=1081824209){if($3_1>>>0>=1075235812){$1_1=Math_fround(-$157((($4_1|0)<0?3.141592653589793:-3.141592653589793)+ +$0_1));break label$1}$5_1=+$0_1;if(($4_1|0)<0){$1_1=$156($5_1+1.5707963267948966);break label$1}$1_1=$156(1.5707963267948966-$5_1);break label$1}if($3_1>>>0<=1088565717){if($3_1>>>0>=1085271520){$1_1=$157((($4_1|0)<0?6.283185307179586:-6.283185307179586)+ +$0_1);break label$1}if(($4_1|0)<0){$1_1=$156(-4.71238898038469-+$0_1);break label$1}$1_1=$156(+$0_1+-4.71238898038469);break label$1}$1_1=Math_fround($0_1-$0_1);if($3_1>>>0>=2139095040){break label$1}label$9:{switch($647($0_1,$2_1+8|0)&3){case 0:$1_1=$157(HEAPF64[$2_1+8>>3]);break label$1;case 1:$1_1=$156(-HEAPF64[$2_1+8>>3]);break label$1;case 2:$1_1=Math_fround(-$157(HEAPF64[$2_1+8>>3]));break label$1;default:break label$9}}$1_1=$156(HEAPF64[$2_1+8>>3])}$0_1=$1_1;global$0=$2_1+16|0;return $0_1}function $1364($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$0_1=global$0-272|0;global$0=$0_1;HEAP32[$0_1+256>>2]=$2_1;HEAP32[$0_1+264>>2]=$1_1;$6_1=$176($3_1);$338($0_1+208|0,$3_1,$0_1+255|0);$1_1=$18($0_1+192|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;while(1){label$2:{if(!$96($0_1+264|0,$0_1+256|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$3_1+$2_1}if($292($58($0_1+264|0),$6_1,$2_1,$0_1+188|0,$0_1+8|0,HEAP8[$0_1+255|0],$0_1+208|0,$0_1+16|0,$0_1+12|0,55776)){break label$2}$75($0_1+264|0);continue}break}label$4:{if(!$6($0_1+208|0)){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAP32[$5_1>>2]=$949($2_1,HEAP32[$0_1+188>>2],$4_1,$6_1);$94($0_1+208|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($69($0_1+264|0,$0_1+256|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+264>>2];$8($1_1);$8($0_1+208|0);global$0=$0_1+272|0;return $2_1|0}function $1362($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$0_1=global$0-272|0;global$0=$0_1;HEAP32[$0_1+256>>2]=$2_1;HEAP32[$0_1+264>>2]=$1_1;$6_1=$176($3_1);$338($0_1+208|0,$3_1,$0_1+255|0);$1_1=$18($0_1+192|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;while(1){label$2:{if(!$96($0_1+264|0,$0_1+256|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$3_1+$2_1}if($292($58($0_1+264|0),$6_1,$2_1,$0_1+188|0,$0_1+8|0,HEAP8[$0_1+255|0],$0_1+208|0,$0_1+16|0,$0_1+12|0,55776)){break label$2}$75($0_1+264|0);continue}break}label$4:{if(!$6($0_1+208|0)){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAP16[$5_1>>1]=$947($2_1,HEAP32[$0_1+188>>2],$4_1,$6_1);$94($0_1+208|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($69($0_1+264|0,$0_1+256|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+264>>2];$8($1_1);$8($0_1+208|0);global$0=$0_1+272|0;return $2_1|0}function $946($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$0_1=global$0-272|0;global$0=$0_1;HEAP32[$0_1+256>>2]=$2_1;HEAP32[$0_1+264>>2]=$1_1;$6_1=$176($3_1);$338($0_1+208|0,$3_1,$0_1+255|0);$1_1=$18($0_1+192|0);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$2_1;HEAP32[$0_1+12>>2]=$0_1+16;HEAP32[$0_1+8>>2]=0;while(1){label$2:{if(!$96($0_1+264|0,$0_1+256|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($1_1)+$2_1|0)){$3_1=$6($1_1);$14($1_1,$6($1_1)<<1);$14($1_1,$35($1_1));$2_1=$16($1_1,0);HEAP32[$0_1+188>>2]=$3_1+$2_1}if($292($58($0_1+264|0),$6_1,$2_1,$0_1+188|0,$0_1+8|0,HEAP8[$0_1+255|0],$0_1+208|0,$0_1+16|0,$0_1+12|0,55776)){break label$2}$75($0_1+264|0);continue}break}label$4:{if(!$6($0_1+208|0)){break label$4}$3_1=HEAP32[$0_1+12>>2];if(($3_1-($0_1+16|0)|0)>159){break label$4}HEAP32[$0_1+12>>2]=$3_1+4;HEAP32[$3_1>>2]=HEAP32[$0_1+8>>2]}HEAP32[$5_1>>2]=$945($2_1,HEAP32[$0_1+188>>2],$4_1,$6_1);$94($0_1+208|0,$0_1+16|0,HEAP32[$0_1+12>>2],$4_1);if($69($0_1+264|0,$0_1+256|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$2_1=HEAP32[$0_1+264>>2];$8($1_1);$8($0_1+208|0);global$0=$0_1+272|0;return $2_1|0}function $595($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0;$6_1=global$0-80|0;global$0=$6_1;label$1:{if(($5_1|0)>=16384){$44($6_1+32|0,$1_1,$2_1,$3_1,$4_1,0,0,0,2147352576);$3_1=HEAP32[$6_1+40>>2];$4_1=HEAP32[$6_1+44>>2];$1_1=HEAP32[$6_1+32>>2];$2_1=HEAP32[$6_1+36>>2];if($5_1>>>0<32767){$5_1=$5_1-16383|0;break label$1}$44($6_1+16|0,$1_1,$2_1,$3_1,$4_1,0,0,0,2147352576);$5_1=(($5_1|0)<49149?$5_1:49149)-32766|0;$3_1=HEAP32[$6_1+24>>2];$4_1=HEAP32[$6_1+28>>2];$1_1=HEAP32[$6_1+16>>2];$2_1=HEAP32[$6_1+20>>2];break label$1}if(($5_1|0)>-16383){break label$1}$44($6_1- -64|0,$1_1,$2_1,$3_1,$4_1,0,0,0,7471104);$3_1=HEAP32[$6_1+72>>2];$4_1=HEAP32[$6_1+76>>2];$1_1=HEAP32[$6_1+64>>2];$2_1=HEAP32[$6_1+68>>2];if($5_1>>>0>4294934644){$5_1=$5_1+16269|0;break label$1}$44($6_1+48|0,$1_1,$2_1,$3_1,$4_1,0,0,0,7471104);$5_1=(($5_1|0)>-48920?$5_1:-48920)+32538|0;$3_1=HEAP32[$6_1+56>>2];$4_1=HEAP32[$6_1+60>>2];$1_1=HEAP32[$6_1+48>>2];$2_1=HEAP32[$6_1+52>>2]}$44($6_1,$1_1,$2_1,$3_1,$4_1,0,0,0,$5_1+16383<<16);$1_1=HEAP32[$6_1+12>>2];HEAP32[$0_1+8>>2]=HEAP32[$6_1+8>>2];HEAP32[$0_1+12>>2]=$1_1;$1_1=HEAP32[$6_1+4>>2];HEAP32[$0_1>>2]=HEAP32[$6_1>>2];HEAP32[$0_1+4>>2]=$1_1;global$0=$6_1+80|0}function $699($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0;$1_1=global$0-16|0;global$0=$1_1;$4_1=(wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2));$2_1=$4_1&2147483647;label$1:{if($2_1>>>0<=1061752794){if($2_1>>>0<964689920){break label$1}$0_1=$156(+$0_1);break label$1}if($2_1>>>0<=1081824209){$3_1=+$0_1;if($2_1>>>0<=1075235811){if(($4_1|0)<0){$0_1=Math_fround(-$157($3_1+1.5707963267948966));break label$1}$0_1=$157($3_1+-1.5707963267948966);break label$1}$0_1=$156(-((($4_1|0)>=0?-3.141592653589793:3.141592653589793)+$3_1));break label$1}if($2_1>>>0<=1088565717){if($2_1>>>0<=1085271519){$3_1=+$0_1;if(($4_1|0)<0){$0_1=$157($3_1+4.71238898038469);break label$1}$0_1=Math_fround(-$157($3_1+-4.71238898038469));break label$1}$0_1=$156((($4_1|0)<0?6.283185307179586:-6.283185307179586)+ +$0_1);break label$1}if($2_1>>>0>=2139095040){$0_1=Math_fround($0_1-$0_1);break label$1}label$10:{switch($647($0_1,$1_1+8|0)&3){case 0:$0_1=$156(HEAPF64[$1_1+8>>3]);break label$1;case 1:$0_1=$157(HEAPF64[$1_1+8>>3]);break label$1;case 2:$0_1=$156(-HEAPF64[$1_1+8>>3]);break label$1;default:break label$10}}$0_1=Math_fround(-$157(HEAPF64[$1_1+8>>3]))}global$0=$1_1+16|0;return $0_1}function $448($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0;$3_1=HEAP32[$0_1+4>>2];label$1:{if($1_1>>>0>=2){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$1_1;HEAP32[$2_1+20>>2]=15;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1);break label$1}if(($1_1|0)!=1){break label$1}$2_1=HEAP32[$3_1+68>>2];if($2_1){while(1){if(HEAP32[$2_1+40>>2]){HEAP32[$2_1+40>>2]=0;FUNCTION_TABLE[HEAP32[$2_1+56>>2]]($0_1,$2_1+48|0)}$2_1=HEAP32[$2_1+44>>2];if($2_1){continue}break}}HEAP32[$3_1+68>>2]=0;$2_1=HEAP32[$3_1+72>>2];if($2_1){while(1){if(HEAP32[$2_1+40>>2]){HEAP32[$2_1+40>>2]=0;FUNCTION_TABLE[HEAP32[$2_1+56>>2]]($0_1,$2_1+48|0)}$2_1=HEAP32[$2_1+44>>2];if($2_1){continue}break}}HEAP32[$3_1+72>>2]=0}$1_1=($1_1<<2)+$3_1|0;$0_1=$1_1;$2_1=HEAP32[$0_1+60>>2];HEAP32[$0_1+60>>2]=0;if($2_1){while(1){$0_1=HEAP32[$2_1>>2];$4_1=HEAP32[$2_1+4>>2]+HEAP32[$2_1+8>>2]|0;$1($2_1);HEAP32[$3_1+76>>2]=HEAP32[$3_1+76>>2]-($4_1+16|0);$2_1=$0_1;if($2_1){continue}break}}$2_1=HEAP32[$1_1+52>>2];HEAP32[$1_1+52>>2]=0;if($2_1){while(1){$0_1=HEAP32[$2_1>>2];$1_1=(HEAP32[$2_1+4>>2]+HEAP32[$2_1+8>>2]|0)+16|0;$1($2_1);HEAP32[$3_1+76>>2]=HEAP32[$3_1+76>>2]-$1_1;$2_1=$0_1;if($2_1){continue}break}}}function $1110($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;if(($4_1|0)>0){$8_1=HEAP32[$0_1+112>>2];$14_1=$8_1&-2;$15_1=$8_1&1;while(1){$13_1=$4_1;label$3:{if(!$8_1){break label$3}$0_1=$2_1<<2;$6_1=HEAP32[$0_1+HEAP32[$1_1+8>>2]>>2];$9_1=HEAP32[$0_1+HEAP32[$1_1+4>>2]>>2];$7_1=HEAP32[$0_1+HEAP32[$1_1>>2]>>2];$4_1=HEAP32[$3_1>>2];$0_1=0;$10_1=0;if(($8_1|0)!=1){while(1){$11_1=HEAPU8[$0_1+$7_1|0];$12_1=HEAPU8[$0_1+$6_1|0];$5_1=HEAPU8[$0_1+$9_1|0];HEAP8[$4_1+1|0]=$5_1;HEAP8[$4_1+2|0]=$5_1+$12_1^128;HEAP8[$4_1|0]=$5_1+$11_1^128;$5_1=$0_1|1;$11_1=HEAPU8[$5_1+$7_1|0];$12_1=HEAPU8[$5_1+$6_1|0];$5_1=HEAPU8[$5_1+$9_1|0];HEAP8[$4_1+4|0]=$5_1;HEAP8[$4_1+5|0]=$5_1+$12_1^128;HEAP8[$4_1+3|0]=$5_1+$11_1^128;$0_1=$0_1+2|0;$4_1=$4_1+6|0;$10_1=$10_1+2|0;if(($14_1|0)!=($10_1|0)){continue}break}}if(!$15_1){break label$3}$7_1=HEAPU8[$0_1+$7_1|0];$6_1=HEAPU8[$0_1+$6_1|0];$0_1=HEAPU8[$0_1+$9_1|0];HEAP8[$4_1+1|0]=$0_1;HEAP8[$4_1+2|0]=$0_1+$6_1^128;HEAP8[$4_1|0]=$0_1+$7_1^128}$3_1=$3_1+4|0;$2_1=$2_1+1|0;$4_1=$13_1-1|0;if(($13_1|0)>=2){continue}break}}}function $718($0_1,$1_1,$2_1){var $3_1=0,$4_1=Math_fround(0);$4_1=$2_1;$2_1=$708($1_1);$3_1=$4_1>=Math_fround(Math_abs($2_1));if(!$3_1){$2_1=Math_fround(Math_fround(1)/$2_1);HEAPF32[$0_1>>2]=$2_1*$118(HEAPF32[$1_1+16>>2],HEAPF32[$1_1+20>>2],HEAPF32[$1_1+28>>2],HEAPF32[$1_1+32>>2]);HEAPF32[$0_1+4>>2]=$2_1*$118(HEAPF32[$1_1+8>>2],HEAPF32[$1_1+4>>2],HEAPF32[$1_1+32>>2],HEAPF32[$1_1+28>>2]);HEAPF32[$0_1+8>>2]=$2_1*$118(HEAPF32[$1_1+4>>2],HEAPF32[$1_1+8>>2],HEAPF32[$1_1+16>>2],HEAPF32[$1_1+20>>2]);HEAPF32[$0_1+12>>2]=$2_1*$118(HEAPF32[$1_1+20>>2],HEAPF32[$1_1+12>>2],HEAPF32[$1_1+32>>2],HEAPF32[$1_1+24>>2]);HEAPF32[$0_1+16>>2]=$2_1*$118(HEAPF32[$1_1>>2],HEAPF32[$1_1+8>>2],HEAPF32[$1_1+24>>2],HEAPF32[$1_1+32>>2]);HEAPF32[$0_1+20>>2]=$2_1*$118(HEAPF32[$1_1+8>>2],HEAPF32[$1_1>>2],HEAPF32[$1_1+20>>2],HEAPF32[$1_1+12>>2]);HEAPF32[$0_1+24>>2]=$2_1*$118(HEAPF32[$1_1+12>>2],HEAPF32[$1_1+16>>2],HEAPF32[$1_1+24>>2],HEAPF32[$1_1+28>>2]);HEAPF32[$0_1+28>>2]=$2_1*$118(HEAPF32[$1_1+4>>2],HEAPF32[$1_1>>2],HEAPF32[$1_1+28>>2],HEAPF32[$1_1+24>>2]);HEAPF32[$0_1+32>>2]=$2_1*$118(HEAPF32[$1_1>>2],HEAPF32[$1_1+4>>2],HEAPF32[$1_1+12>>2],HEAPF32[$1_1+16>>2])}return!$3_1}function $647($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$4_1=global$0-16|0;global$0=$4_1;$6_1=(wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2));$2_1=$6_1&2147483647;label$1:{if($2_1>>>0<=1305022426){$7_1=+$0_1;$5_1=$7_1*.6366197723675814+6755399441055744+-6755399441055744;$3_1=$7_1+$5_1*-1.5707963109016418+$5_1*-1.5893254773528196e-8;HEAPF64[$1_1>>3]=$3_1;$6_1=$3_1<-.7853981852531433;if(Math_abs($5_1)<2147483648){$2_1=~~$5_1}else{$2_1=-2147483648}if($6_1){$3_1=$5_1+-1;HEAPF64[$1_1>>3]=$7_1+$3_1*-1.5707963109016418+$3_1*-1.5893254773528196e-8;$2_1=$2_1-1|0;break label$1}if(!($3_1>.7853981852531433)){break label$1}$3_1=$5_1+1;HEAPF64[$1_1>>3]=$7_1+$3_1*-1.5707963109016418+$3_1*-1.5893254773528196e-8;$2_1=$2_1+1|0;break label$1}if($2_1>>>0>=2139095040){HEAPF64[$1_1>>3]=Math_fround($0_1-$0_1);$2_1=0;break label$1}$8_1=$2_1;$2_1=($2_1>>>23|0)-150|0;HEAPF64[$4_1+8>>3]=(wasm2js_scratch_store_i32(2,$8_1-($2_1<<23)|0),wasm2js_scratch_load_f32());$2_1=$649($4_1+8|0,$4_1,$2_1,1,0);$3_1=HEAPF64[$4_1>>3];if(($6_1|0)<0){HEAPF64[$1_1>>3]=-$3_1;$2_1=0-$2_1|0;break label$1}HEAPF64[$1_1>>3]=$3_1}global$0=$4_1+16|0;return $2_1}function $297($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=Math_fround(0),$8_1=Math_fround(0),$9_1=Math_fround(0),$10_1=Math_fround(0);$6_1=global$0-48|0;global$0=$6_1;label$1:{if($0_1){$396($0_1+8|0,$1_1,$6_1);$7_1=Math_fround(HEAPF32[$6_1+44>>2]+Math_fround(Math_fround(HEAPF32[$6_1+32>>2]*$2_1)+Math_fround(HEAPF32[$6_1+36>>2]*$3_1)));$0_1=$66($0_1+184|0,Math_fround(Math_fround(HEAPF32[$6_1+12>>2]+Math_fround(Math_fround(HEAPF32[$6_1>>2]*$2_1)+Math_fround(HEAPF32[$6_1+4>>2]*$3_1)))/$7_1),Math_fround(Math_fround(HEAPF32[$6_1+28>>2]+Math_fround(Math_fround(HEAPF32[$6_1+16>>2]*$2_1)+Math_fround(HEAPF32[$6_1+20>>2]*$3_1)))/$7_1),$4_1,$5_1)>>31;break label$1}$7_1=HEAPF32[$1_1+28>>2];$9_1=HEAPF32[$1_1+20>>2];$10_1=HEAPF32[$1_1+16>>2];$8_1=Math_fround(HEAPF32[$1_1+44>>2]+Math_fround(Math_fround(HEAPF32[$1_1+32>>2]*$2_1)+Math_fround(HEAPF32[$1_1+36>>2]*$3_1)));HEAPF32[$4_1>>2]=Math_fround(HEAPF32[$1_1+12>>2]+Math_fround(Math_fround(HEAPF32[$1_1>>2]*$2_1)+Math_fround(HEAPF32[$1_1+4>>2]*$3_1)))/$8_1;HEAPF32[$5_1>>2]=Math_fround($7_1+Math_fround(Math_fround($10_1*$2_1)+Math_fround($9_1*$3_1)))/$8_1;$0_1=0}global$0=$6_1+48|0;return $0_1}function $731($0_1,$1_1){return(((((((((((((((((((((($65(HEAP32[$0_1>>2],HEAP32[$1_1>>2])+$65(HEAP32[$0_1+4>>2],HEAP32[$1_1+4>>2])|0)+$65(HEAP32[$0_1+8>>2],HEAP32[$1_1+8>>2])|0)+$65(HEAP32[$0_1+12>>2],HEAP32[$1_1+12>>2])|0)+$65(HEAP32[$0_1+16>>2],HEAP32[$1_1+16>>2])|0)+$65(HEAP32[$0_1+20>>2],HEAP32[$1_1+20>>2])|0)+$65(HEAP32[$0_1+24>>2],HEAP32[$1_1+24>>2])|0)+$65(HEAP32[$0_1+28>>2],HEAP32[$1_1+28>>2])|0)+$65(HEAP32[$0_1+32>>2],HEAP32[$1_1+32>>2])|0)+$65(HEAP32[$0_1+36>>2],HEAP32[$1_1+36>>2])|0)+$65(HEAP32[$0_1+40>>2],HEAP32[$1_1+40>>2])|0)+$65(HEAP32[$0_1+44>>2],HEAP32[$1_1+44>>2])|0)+$65(HEAP32[$0_1+48>>2],HEAP32[$1_1+48>>2])|0)+$65(HEAP32[$0_1+52>>2],HEAP32[$1_1+52>>2])|0)+$65(HEAP32[$0_1+56>>2],HEAP32[$1_1+56>>2])|0)+$65(HEAP32[$0_1+60>>2],HEAP32[$1_1+60>>2])|0)+$65(HEAP32[$0_1+64>>2],HEAP32[$1_1+64>>2])|0)+$65(HEAP32[$0_1+68>>2],HEAP32[$1_1+68>>2])|0)+$65(HEAP32[$0_1+72>>2],HEAP32[$1_1+72>>2])|0)+$65(HEAP32[$0_1+76>>2],HEAP32[$1_1+76>>2])|0)+$65(HEAP32[$0_1+80>>2],HEAP32[$1_1+80>>2])|0)+$65(HEAP32[$0_1+84>>2],HEAP32[$1_1+84>>2])|0)+$65(HEAP32[$0_1+88>>2],HEAP32[$1_1+88>>2])|0)+$65(HEAP32[$0_1+92>>2],HEAP32[$1_1+92>>2])|0}function $1113($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0;if(($4_1|0)>0){$8_1=HEAP32[$0_1+112>>2];$12_1=$8_1&-4;$10_1=$8_1&3;$13_1=$8_1-1>>>0<3;while(1){$11_1=$4_1;label$3:{if(!$8_1){break label$3}$7_1=HEAP32[HEAP32[$1_1>>2]+($2_1<<2)>>2];$4_1=HEAP32[$3_1>>2];$9_1=0;$0_1=0;$6_1=0;if(!$13_1){while(1){$5_1=HEAPU8[$0_1+$7_1|0];HEAP8[$4_1+1|0]=$5_1;HEAP8[$4_1+2|0]=$5_1;HEAP8[$4_1|0]=$5_1;$5_1=HEAPU8[($0_1|1)+$7_1|0];HEAP8[$4_1+4|0]=$5_1;HEAP8[$4_1+5|0]=$5_1;HEAP8[$4_1+3|0]=$5_1;$5_1=HEAPU8[($0_1|2)+$7_1|0];HEAP8[$4_1+7|0]=$5_1;HEAP8[$4_1+8|0]=$5_1;HEAP8[$4_1+6|0]=$5_1;$5_1=HEAPU8[($0_1|3)+$7_1|0];HEAP8[$4_1+10|0]=$5_1;HEAP8[$4_1+11|0]=$5_1;HEAP8[$4_1+9|0]=$5_1;$0_1=$0_1+4|0;$4_1=$4_1+12|0;$6_1=$6_1+4|0;if(($12_1|0)!=($6_1|0)){continue}break}}if(!$10_1){break label$3}while(1){$6_1=HEAPU8[$0_1+$7_1|0];HEAP8[$4_1+1|0]=$6_1;HEAP8[$4_1+2|0]=$6_1;HEAP8[$4_1|0]=$6_1;$0_1=$0_1+1|0;$4_1=$4_1+3|0;$9_1=$9_1+1|0;if(($9_1|0)!=($10_1|0)){continue}break}}$3_1=$3_1+4|0;$2_1=$2_1+1|0;$4_1=$11_1-1|0;if(($11_1|0)>=2){continue}break}}}function $959($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;label$1:{if(HEAPU8[$1_1|0]){break label$1}$1_1=$363(34559);if(HEAPU8[$1_1|0]?$1_1:0){break label$1}$1_1=$363(Math_imul($0_1,12)+52608|0);if(HEAPU8[$1_1|0]?$1_1:0){break label$1}$1_1=$363(34760);if(HEAPU8[$1_1|0]?$1_1:0){break label$1}$1_1=36147}label$5:{while(1){$3_1=HEAPU8[$1_1+$2_1|0];if(!(!$3_1|($3_1|0)==47)){$3_1=23;$2_1=$2_1+1|0;if(($2_1|0)!=23){continue}break label$5}break}$3_1=$2_1}$4_1=36147;label$8:{label$9:{$2_1=HEAPU8[$1_1|0];label$10:{label$11:{if(!(HEAPU8[$1_1+$3_1|0]|($2_1|0)==46)){$4_1=$1_1;if(($2_1|0)!=67){break label$11}}if(!HEAPU8[$4_1+1|0]){break label$10}}if(!$248($4_1,36147)){break label$10}if($248($4_1,33902)){break label$9}}if(!$0_1){$2_1=52516;if(HEAPU8[$4_1+1|0]==46){break label$8}}return 0}$2_1=HEAP32[17988];if($2_1){while(1){if(!$248($4_1,$2_1+8|0)){break label$8}$2_1=HEAP32[$2_1+32>>2];if($2_1){continue}break}}$2_1=$7(36);if($2_1){$1_1=HEAP32[13130];HEAP32[$2_1>>2]=HEAP32[13129];HEAP32[$2_1+4>>2]=$1_1;$1_1=$2_1+8|0;$62($1_1,$4_1,$3_1);HEAP8[$1_1+$3_1|0]=0;HEAP32[$2_1+32>>2]=HEAP32[17988];HEAP32[17988]=$2_1}$2_1=$0_1|$2_1?$2_1:52516}return $2_1}function $697($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$7_1=global$0-16|0;global$0=$7_1;$2_1=HEAP32[$0_1>>2];HEAP8[$7_1+15|0]=0;$9_1=$7_1+15|0;$4_1=$0_1+4|0;$3_1=$100($4_1);$2_1=Math_imul($1_1,$2_1);label$1:{if($3_1>>>0<$2_1>>>0){$8_1=global$0-32|0;global$0=$8_1;$2_1=$2_1-$3_1|0;label$3:{if($2_1>>>0<=HEAP32[$4($4_1)>>2]-HEAP32[$4_1+4>>2]>>>0){$5_1=global$0-16|0;global$0=$5_1;$3_1=$402($5_1,$4_1,$2_1);$2_1=HEAP32[$3_1+4>>2];$6_1=HEAP32[$3_1+8>>2];while(1){if(($2_1|0)==($6_1|0)){$72($3_1);global$0=$5_1+16|0}else{$401($4($4_1),$2_1,$9_1);$2_1=$2_1+1|0;HEAP32[$3_1+4>>2]=$2_1;continue}break}break label$3}$3_1=$4($4_1);$3_1=$507($8_1+8|0,$400($4_1,$100($4_1)+$2_1|0),$100($4_1),$3_1);$5_1=global$0-16|0;global$0=$5_1;$2_1=$741($5_1,$3_1+8|0,$2_1);$6_1=HEAP32[$2_1>>2];while(1){if(HEAP32[$2_1+4>>2]!=($6_1|0)){$401(HEAP32[$3_1+16>>2],HEAP32[$2_1>>2],$9_1);$6_1=HEAP32[$2_1>>2]+1|0;HEAP32[$2_1>>2]=$6_1;continue}break}$143($2_1);global$0=$5_1+16|0;$506($4_1,$3_1);$505($3_1)}global$0=$8_1+32|0;break label$1}if($2_1>>>0<$3_1>>>0){$478($4_1,$2_1+HEAP32[$4_1>>2]|0)}}$777($0_1+16|0,$1_1);global$0=$7_1+16|0}function $1109($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0,$18_1=0;if(($4_1|0)>0){$6_1=HEAP32[$0_1+336>>2];$8_1=HEAP32[$0_1+112>>2];$0_1=HEAP32[$0_1+480>>2];$11_1=HEAP32[$0_1+20>>2];$12_1=HEAP32[$0_1+16>>2];$13_1=HEAP32[$0_1+12>>2];$14_1=HEAP32[$0_1+8>>2];while(1){$9_1=$4_1;if($8_1){$0_1=$2_1<<2;$15_1=HEAP32[$0_1+HEAP32[$1_1+12>>2]>>2];$16_1=HEAP32[$0_1+HEAP32[$1_1+8>>2]>>2];$17_1=HEAP32[$0_1+HEAP32[$1_1+4>>2]>>2];$18_1=HEAP32[$0_1+HEAP32[$1_1>>2]>>2];$4_1=HEAP32[$3_1>>2];$0_1=0;while(1){$5_1=HEAPU8[$0_1+$17_1|0];$7_1=HEAPU8[$0_1+$18_1|0]^255;$10_1=HEAPU8[$0_1+$16_1|0]<<2;HEAP8[$4_1|0]=HEAPU8[($7_1-HEAP32[$10_1+$14_1>>2]|0)+$6_1|0];$5_1=$5_1<<2;HEAP8[$4_1+1|0]=HEAPU8[($7_1-(HEAP32[$12_1+$10_1>>2]+HEAP32[$5_1+$11_1>>2]>>16)|0)+$6_1|0];HEAP8[$4_1+2|0]=HEAPU8[($7_1-HEAP32[$5_1+$13_1>>2]|0)+$6_1|0];HEAP8[$4_1+3|0]=HEAPU8[$0_1+$15_1|0];$4_1=$4_1+4|0;$0_1=$0_1+1|0;if(($8_1|0)!=($0_1|0)){continue}break}}$3_1=$3_1+4|0;$2_1=$2_1+1|0;$4_1=$9_1-1|0;if(($9_1|0)>=2){continue}break}}}function $488($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){var $8_1=Math_fround(0),$9_1=0,$10_1=0,$11_1=0;label$1:{if(!(($6_1|0)<=0|HEAPU32[$5_1+4>>2]<=$6_1+1>>>0)){if(($7_1|0)<=0){break label$1}$9_1=$7_1+1|0;if($9_1>>>0>=HEAPU32[$5_1+8>>2]){break label$1}$10_1=$27($5_1,$7_1-1|0);$7_1=$27($5_1,$7_1);$9_1=$27($5_1,$9_1);$6_1=$6_1<<2;$5_1=$6_1+$7_1|0;$7_1=$5_1-4|0;HEAPF32[$0_1>>2]=Math_fround(HEAPF32[$5_1+4>>2]-HEAPF32[$7_1>>2])*Math_fround(.5);$11_1=$1_1;$0_1=$6_1+$9_1|0;$1_1=$6_1+$10_1|0;HEAPF32[$11_1>>2]=Math_fround(HEAPF32[$0_1>>2]-HEAPF32[$1_1>>2])*Math_fround(.5);$8_1=HEAPF32[$5_1>>2];HEAPF32[$2_1>>2]=Math_fround(HEAPF32[$7_1>>2]-Math_fround($8_1+$8_1))+HEAPF32[$5_1+4>>2];$8_1=HEAPF32[$5_1>>2];HEAPF32[$3_1>>2]=Math_fround(HEAPF32[$1_1>>2]-Math_fround($8_1+$8_1))+HEAPF32[$0_1>>2];HEAPF32[$4_1>>2]=Math_fround(Math_fround(HEAPF32[$1_1-4>>2]+HEAPF32[$0_1+4>>2])-Math_fround(HEAPF32[$1_1+4>>2]+HEAPF32[$0_1-4>>2]))*Math_fround(.25);return}$3($0($0($2($0($0($0(71248,24255),22472),3305),284),3802),23579));fimport$0();abort()}$3($0($0($2($0($0($0(71248,24348),22472),3305),285),3802),23759));fimport$0();abort()}function $994($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;$4_1=global$0-192|0;global$0=$4_1;label$1:{if($3_1){Atomics.store(HEAP32,$4_1+8>>2,0);HEAP32[$4_1+184>>2]=0;$5_1=$4_1;break label$1}$5_1=$7(192);if($5_1){Atomics.store(HEAP32,$5_1+8>>2,0);HEAP32[$5_1+184>>2]=0;HEAP32[$5_1+4>>2]=0}}$7_1=$5_1;HEAP32[$7_1+16>>2]=$1_1;HEAP32[$7_1+4>>2]=$0_1;HEAP32[$7_1>>2]=-2129657856;HEAP32[$7_1+188>>2]=1-$3_1;$0_1=0;if(($1_1|0)>0){while(1){$5_1=$0_1+1|0;$9_1=($5_1<<3)+$7_1|0;$0_1=($0_1<<3)+$2_1|0;$10_1=HEAP32[$0_1+4>>2];HEAP32[$9_1+16>>2]=HEAP32[$0_1>>2];HEAP32[$9_1+20>>2]=$10_1;$0_1=$5_1;if(($1_1|0)!=($0_1|0)){continue}break}}label$5:{if($3_1){$636($4_1);label$7:{if(Atomics.load(HEAP32,$4_1+8>>2)){break label$7}$6_1=+fimport$7();$8_1=$6_1+infinity;if($6_1<$8_1){$0_1=$4_1+8|0;while(1){label$10:{$302($0_1,0,$8_1-$6_1);$1_1=Atomics.load(HEAP32,$0_1>>2);$6_1=+fimport$7();if($1_1){break label$10}if($6_1<$8_1){continue}}break}if($1_1){break label$7}}}$6_1=HEAPF64[$4_1+176>>3];break label$5}$636($7_1);$6_1=0}global$0=$4_1+192|0;return+$6_1}function $602($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0;$5_1=global$0-208|0;global$0=$5_1;HEAP32[$5_1+204>>2]=$2_1;$2_1=$5_1+160|0;wasm2js_memory_fill($2_1,0,40);HEAP32[$5_1+200>>2]=HEAP32[$5_1+204>>2];label$1:{if(($601(0,$1_1,$5_1+200|0,$5_1+80|0,$2_1,$3_1,$4_1)|0)<0){$4_1=-1;break label$1}if(HEAP32[$0_1+76>>2]>=0){$8_1=$125($0_1)}$6_1=HEAP32[$0_1>>2];if(HEAP32[$0_1+72>>2]<=0){HEAP32[$0_1>>2]=$6_1&-33}label$5:{label$6:{label$7:{if(!HEAP32[$0_1+48>>2]){HEAP32[$0_1+48>>2]=80;HEAP32[$0_1+28>>2]=0;HEAP32[$0_1+16>>2]=0;HEAP32[$0_1+20>>2]=0;$7_1=HEAP32[$0_1+44>>2];HEAP32[$0_1+44>>2]=$5_1;break label$7}if(HEAP32[$0_1+16>>2]){break label$6}}$2_1=-1;if($639($0_1)){break label$5}}$2_1=$601($0_1,$1_1,$5_1+200|0,$5_1+80|0,$5_1+160|0,$3_1,$4_1)}if($7_1){FUNCTION_TABLE[HEAP32[$0_1+36>>2]]($0_1,0,0)|0;HEAP32[$0_1+48>>2]=0;HEAP32[$0_1+44>>2]=$7_1;HEAP32[$0_1+28>>2]=0;$1_1=HEAP32[$0_1+20>>2];HEAP32[$0_1+16>>2]=0;HEAP32[$0_1+20>>2]=0;$2_1=$1_1?$2_1:-1}$1_1=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=$1_1|$6_1&32;$4_1=$1_1&32?-1:$2_1;if(!$8_1){break label$1}$114($0_1)}global$0=$5_1+208|0;return $4_1}function $1122($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$3_1=HEAP32[$0_1>>2];$2_1=HEAP32[$0_1+440>>2];HEAP32[$3_1+24>>2]=$2_1;HEAP32[$3_1+20>>2]=124;HEAP32[HEAP32[$0_1>>2]+28>>2]=$1_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,-1);$3_1=$1_1+6&7|208;$5_1=$1_1-1&7|208;$6_1=$1_1+2&7|208;$1_1=$1_1+1&7|208;while(1){label$2:{label$3:{if(($2_1|0)<192){break label$3}if(($1_1|0)==($2_1|0)|$2_1-216>>>0<4294967288|($2_1|0)==($6_1|0)){break label$2}if(($2_1|0)==($5_1|0)|($2_1|0)==($3_1|0)){break label$3}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$2_1;HEAP32[$1_1+20>>2]=99;HEAP32[HEAP32[$0_1>>2]+28>>2]=1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,4);HEAP32[$0_1+440>>2]=0;return 1}$4_1=HEAP32[$0_1>>2];HEAP32[$4_1+24>>2]=$2_1;HEAP32[$4_1+20>>2]=99;HEAP32[HEAP32[$0_1>>2]+28>>2]=2;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,4);if($449($0_1)){$2_1=HEAP32[$0_1+440>>2];continue}else{return 0}}break}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$2_1;HEAP32[$1_1+20>>2]=99;HEAP32[HEAP32[$0_1>>2]+28>>2]=3;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,4);return 1}function $1071($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$3_1=HEAP32[$0_1+476>>2];$8_1=HEAP32[$3_1+92>>2];$7_1=HEAP32[$0_1+320>>2];if(($8_1|0)>=($7_1|0)){if(HEAP32[$0_1+36>>2]>0){$11_1=$3_1+12|0;$7_1=HEAP32[$0_1+216>>2];$8_1=0;while(1){$9_1=$8_1<<2;$10_1=$9_1+$3_1|0;FUNCTION_TABLE[HEAP32[$10_1+52>>2]]($0_1,$7_1,HEAP32[$1_1+$9_1>>2]+(Math_imul(HEAP32[$10_1+100>>2],HEAP32[$2_1>>2])<<2)|0,$9_1+$11_1|0);$7_1=$7_1+88|0;$8_1=$8_1+1|0;if(($8_1|0)>2]){continue}break}$7_1=HEAP32[$0_1+320>>2]}HEAP32[$3_1+92>>2]=0;$8_1=0}$1_1=$7_1-$8_1|0;$7_1=HEAP32[$3_1+96>>2];$1_1=$1_1>>>0<$7_1>>>0?$1_1:$7_1;$7_1=$6_1;$6_1=HEAP32[$5_1>>2];$7_1=$7_1-$6_1|0;$1_1=$1_1>>>0<$7_1>>>0?$1_1:$7_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1+480>>2]+4>>2]]($0_1,$3_1+12|0,$8_1,($6_1<<2)+$4_1|0,$1_1);HEAP32[$5_1>>2]=$1_1+HEAP32[$5_1>>2];HEAP32[$3_1+96>>2]=HEAP32[$3_1+96>>2]-$1_1;$1_1=$1_1+HEAP32[$3_1+92>>2]|0;HEAP32[$3_1+92>>2]=$1_1;if(($1_1|0)>=HEAP32[$0_1+320>>2]){HEAP32[$2_1>>2]=HEAP32[$2_1>>2]+1}}function $352($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$7_1=global$0-16|0;global$0=$7_1;$5_1=$3_1?$3_1:69316;$3_1=HEAP32[$5_1>>2];label$1:{label$2:{label$3:{if(!$1_1){if($3_1){break label$3}break label$1}$4_1=-2;if(!$2_1){break label$1}$8_1=$0_1?$0_1:$7_1+12|0;label$5:{if($3_1){$0_1=$2_1;break label$5}$0_1=HEAPU8[$1_1|0];$3_1=$0_1<<24>>24;if(($3_1|0)>=0){HEAP32[$8_1>>2]=$0_1;$4_1=($3_1|0)!=0;break label$1}$0_1=HEAP8[$1_1|0];if(!HEAP32[HEAP32[global$3+88>>2]>>2]){HEAP32[$8_1>>2]=$0_1&57343;$4_1=1;break label$1}$0_1=($0_1&255)-194|0;if($0_1>>>0>50){break label$3}$3_1=HEAP32[($0_1<<2)+50576>>2];$0_1=$2_1-1|0;if(!$0_1){break label$2}$1_1=$1_1+1|0}$6_1=HEAPU8[$1_1|0];$9_1=$6_1>>>3|0;if(($9_1-16|($3_1>>26)+$9_1)>>>0>7){break label$3}while(1){$0_1=$0_1-1|0;$3_1=$6_1-128|$3_1<<6;if(($3_1|0)>=0){HEAP32[$5_1>>2]=0;HEAP32[$8_1>>2]=$3_1;$4_1=$2_1-$0_1|0;break label$1}if(!$0_1){break label$2}$1_1=$1_1+1|0;$6_1=HEAPU8[$1_1|0];if(($6_1&192)==128){continue}break}}HEAP32[$5_1>>2]=0;HEAP32[$22()>>2]=25;$4_1=-1;break label$1}HEAP32[$5_1>>2]=$3_1}global$0=$7_1+16|0;return $4_1}function $652(){fimport$49(63072,32323);fimport$48(63084,31019,1,1,0);fimport$4(63096,30539,1,-128,127);fimport$4(63120,30532,1,-128,127);fimport$4(63108,30530,1,0,255);fimport$4(63132,29406,2,-32768,32767);fimport$4(63144,29397,2,0,65535);fimport$4(63156,29463,4,-2147483648,2147483647);fimport$4(63168,29454,4,0,-1);fimport$4(63180,31177,4,-2147483648,2147483647);fimport$4(63192,31168,4,0,-1);$854(63204,29633,-2147483648,2147483647);$854(63216,29632,0,-1);fimport$17(63228,29622,4);fimport$17(63240,31788,8);fimport$16(38272,31208);fimport$16(42336,35949);fimport$11(42408,4,31182);fimport$11(42484,2,31220);fimport$11(42560,4,31235);fimport$47(42588,31097);fimport$2(42628,0,35880);fimport$2(42668,0,35982);fimport$2(42708,1,35910);fimport$2(42748,2,35512);fimport$2(42788,3,35543);fimport$2(42828,4,35583);fimport$2(42868,5,35612);fimport$2(42908,4,36019);fimport$2(42948,5,36049);fimport$2(42668,0,35714);fimport$2(42708,1,35681);fimport$2(42748,2,35780);fimport$2(42788,3,35746);fimport$2(42828,4,35847);fimport$2(42868,5,35813);fimport$2(42988,6,35650);fimport$2(43028,7,36088)}function $84($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1){var $9_1=0,$10_1=0,$11_1=0,$12_1=0;$7_1=__wasm_i64_mul($1_1,$2_1,$7_1,$8_1);$8_1=i64toi32_i32$HIGH_BITS;$9_1=$7_1;$7_1=__wasm_i64_mul($3_1,$4_1,$5_1,$6_1);$4_1=$9_1+$7_1|0;$3_1=i64toi32_i32$HIGH_BITS+$8_1|0;$8_1=$4_1;$7_1=$8_1>>>0<$7_1>>>0?$3_1+1|0:$3_1;$9_1=$8_1;$10_1=$6_1;$4_1=0;$11_1=$2_1;$3_1=0;$8_1=__wasm_i64_mul($6_1,$4_1,$2_1,$3_1);$6_1=$9_1+$8_1|0;$2_1=i64toi32_i32$HIGH_BITS+$7_1|0;$9_1=$6_1;$6_1=$6_1>>>0<$8_1>>>0?$2_1+1|0:$2_1;$7_1=$5_1;$8_1=$1_1;$5_1=__wasm_i64_mul($7_1,0,$8_1,0);$1_1=i64toi32_i32$HIGH_BITS;$2_1=0;$3_1=__wasm_i64_mul($7_1,$2_1,$11_1,$3_1);$1_1=$1_1+$3_1|0;$2_1=i64toi32_i32$HIGH_BITS+$2_1|0;$2_1=$1_1>>>0<$3_1>>>0?$2_1+1|0:$2_1;$7_1=$2_1;$2_1=$2_1+$9_1|0;$3_1=$6_1;$3_1=$2_1>>>0<$7_1>>>0?$3_1+1|0:$3_1;$7_1=$2_1;$2_1=$3_1;$3_1=__wasm_i64_mul($8_1,$12_1,$10_1,$4_1)+$1_1|0;$4_1=i64toi32_i32$HIGH_BITS;$4_1=$1_1>>>0>$3_1>>>0?$4_1+1|0:$4_1;$6_1=$0_1;$8_1=$4_1;$7_1=$8_1+$7_1|0;HEAP32[$6_1+8>>2]=$7_1;HEAP32[$6_1+12>>2]=$7_1>>>0<$8_1>>>0?$2_1+1|0:$2_1;HEAP32[$6_1>>2]=$5_1;HEAP32[$6_1+4>>2]=$3_1}function $989($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$2_1=global$3;HEAP8[$2_1+32|0]=1;HEAP32[$2_1+56>>2]=$0_1;HEAP8[$2_1+33|0]=0;$3_1=global$3;while(1){$0_1=HEAP32[$3_1+60>>2];if($0_1){$1_1=HEAP32[$0_1+4>>2];$4_1=HEAP32[$0_1>>2];HEAP32[$3_1+60>>2]=HEAP32[$0_1+8>>2];FUNCTION_TABLE[$4_1|0]($1_1);continue}break}$3_1=0;$0_1=global$3;label$3:{if(!(HEAP8[$0_1+34|0]&1)){break label$3}while(1){$613(74576);HEAP8[$0_1+34|0]=HEAPU8[$0_1+34|0]&254;$1_1=0;while(1){$5_1=$1_1<<2;$4_1=HEAP32[$5_1+74608>>2];$6_1=$5_1+HEAP32[$0_1+64>>2]|0;$5_1=HEAP32[$6_1>>2];HEAP32[$6_1>>2]=0;if(!(!$5_1|!$4_1|($4_1|0)==579)){$440(74576);FUNCTION_TABLE[$4_1|0]($5_1);$613(74576)}$1_1=$1_1+1|0;if(($1_1|0)!=128){continue}break}$440(74576);if(!(HEAP8[$0_1+34|0]&1)){break label$3}$1_1=$3_1>>>0<3;$3_1=$3_1+1|0;if($1_1){continue}break}}$0_1=HEAP32[16986]-1|0;HEAP32[16986]=$0_1;if(!$0_1){HEAP8[67943]=0}if(($2_1|0)!=67996){$646(0,0,1);$0_1=$2_1+24|0;if((Atomics.compareExchange(HEAP32,$0_1>>2,2,1)|0)==3){fimport$30($2_1|0);return}$618($0_1);$215($0_1);return}fimport$1(0);abort()}function $641($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;if(HEAP32[$1_1+76>>2]>=0){$7_1=$125($1_1)}$4_1=255;$5_1=$0_1;label$2:{while(1){label$4:{label$5:{label$6:{$2_1=HEAP32[$1_1+4>>2];$3_1=HEAP32[$1_1+8>>2];if(($2_1|0)==($3_1|0)){break label$6}$6_1=$444($2_1,10,$3_1-$2_1|0);label$7:{if($6_1){$2_1=HEAP32[$1_1+4>>2];$3_1=($6_1-$2_1|0)+1|0;break label$7}$2_1=HEAP32[$1_1+4>>2];$3_1=HEAP32[$1_1+8>>2]-$2_1|0}$8_1=$2_1;$2_1=$3_1>>>0<$4_1>>>0?$3_1:$4_1;$62($5_1,$8_1,$2_1);$3_1=$2_1+HEAP32[$1_1+4>>2]|0;HEAP32[$1_1+4>>2]=$3_1;$5_1=$2_1+$5_1|0;if($6_1){break label$4}$4_1=$4_1-$2_1|0;if(!$4_1){break label$4}if(($3_1|0)==HEAP32[$1_1+8>>2]){break label$6}HEAP32[$1_1+4>>2]=$3_1+1;$2_1=HEAPU8[$3_1|0];break label$5}$2_1=$366($1_1);if(($2_1|0)>=0){break label$5}$2_1=0;if(($0_1|0)==($5_1|0)){break label$2}if(HEAPU8[$1_1|0]&16){break label$4}break label$2}HEAP8[$5_1|0]=$2_1;$5_1=$5_1+1|0;if(($2_1&255)==10){break label$4}$4_1=$4_1-1|0;if($4_1){continue}}break}if(!$0_1){$2_1=0;break label$2}HEAP8[$5_1|0]=0;$2_1=$0_1}if($7_1){$114($1_1)}return $2_1}function $1226($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0;if($121($0_1,HEAP32[$1_1+8>>2],$5_1)){$523($1_1,$2_1,$3_1,$4_1);return}$6_1=HEAPU8[$1_1+53|0];$9_1=HEAP32[$0_1+12>>2];HEAP8[$1_1+53|0]=0;$7_1=HEAPU8[$1_1+52|0];HEAP8[$1_1+52|0]=0;$12_1=$0_1+16|0;$521($12_1,$1_1,$2_1,$3_1,$4_1,$5_1);$10_1=HEAPU8[$1_1+53|0];$6_1=$6_1|$10_1;$11_1=HEAPU8[$1_1+52|0];$7_1=$7_1|$11_1;$8_1=$0_1+24|0;$9_1=($9_1<<3)+$12_1|0;label$2:{if($8_1>>>0>=$9_1>>>0){break label$2}while(1){$7_1=$7_1&1;$6_1=$6_1&1;if(HEAPU8[$1_1+54|0]){break label$2}label$4:{if($11_1){if(HEAP32[$1_1+24>>2]==1){break label$2}if(HEAPU8[$0_1+8|0]&2){break label$4}break label$2}if(!$10_1){break label$4}if(!(HEAP8[$0_1+8|0]&1)){break label$2}}HEAP16[$1_1+52>>1]=0;$521($8_1,$1_1,$2_1,$3_1,$4_1,$5_1);$10_1=HEAPU8[$1_1+53|0];$6_1=$10_1|$6_1;$11_1=HEAPU8[$1_1+52|0];$7_1=$11_1|$7_1;$8_1=$8_1+8|0;if($9_1>>>0>$8_1>>>0){continue}break}}HEAP8[$1_1+53|0]=($6_1&255)!=0;HEAP8[$1_1+52|0]=($7_1&255)!=0}function $1357($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$0_1=global$0-272|0;global$0=$0_1;HEAP32[$0_1+256>>2]=$2_1;HEAP32[$0_1+264>>2]=$1_1;$6_1=$18($0_1+208|0);$2_1=$0_1+16|0;$30($2_1,$3_1);$207($106($2_1),55776,55802,$0_1+224|0);$19($2_1);$3_1=$18($0_1+192|0);$14($3_1,$35($3_1));$1_1=$16($3_1,0);HEAP32[$0_1+188>>2]=$1_1;HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1+8>>2]=0;while(1){label$2:{if(!$96($0_1+264|0,$0_1+256|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($3_1)+$1_1|0)){$2_1=$6($3_1);$14($3_1,$6($3_1)<<1);$14($3_1,$35($3_1));$1_1=$16($3_1,0);HEAP32[$0_1+188>>2]=$2_1+$1_1}if($292($58($0_1+264|0),16,$1_1,$0_1+188|0,$0_1+8|0,0,$6_1,$0_1+16|0,$0_1+12|0,$0_1+224|0)){break label$2}$75($0_1+264|0);continue}break}$14($3_1,HEAP32[$0_1+188>>2]-$1_1|0);$2_1=$15($3_1);$1_1=$43();HEAP32[$0_1>>2]=$5_1;if(($939($2_1,$1_1,$0_1)|0)!=1){HEAP32[$4_1>>2]=4}if($69($0_1+264|0,$0_1+256|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$1_1=HEAP32[$0_1+264>>2];$8($3_1);$8($6_1);global$0=$0_1+272|0;return $1_1|0}function $1348($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$0_1=global$0-352|0;global$0=$0_1;HEAP32[$0_1+336>>2]=$2_1;HEAP32[$0_1+344>>2]=$1_1;$6_1=$18($0_1+208|0);$2_1=$0_1+16|0;$30($2_1,$3_1);$185($101($2_1),55776,55802,$0_1+224|0);$19($2_1);$3_1=$18($0_1+192|0);$14($3_1,$35($3_1));$1_1=$16($3_1,0);HEAP32[$0_1+188>>2]=$1_1;HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1+8>>2]=0;while(1){label$2:{if(!$95($0_1+344|0,$0_1+336|0)){break label$2}if(HEAP32[$0_1+188>>2]==($6($3_1)+$1_1|0)){$2_1=$6($3_1);$14($3_1,$6($3_1)<<1);$14($3_1,$35($3_1));$1_1=$16($3_1,0);HEAP32[$0_1+188>>2]=$2_1+$1_1}if($290($57($0_1+344|0),16,$1_1,$0_1+188|0,$0_1+8|0,0,$6_1,$0_1+16|0,$0_1+12|0,$0_1+224|0)){break label$2}$74($0_1+344|0);continue}break}$14($3_1,HEAP32[$0_1+188>>2]-$1_1|0);$2_1=$15($3_1);$1_1=$43();HEAP32[$0_1>>2]=$5_1;if(($939($2_1,$1_1,$0_1)|0)!=1){HEAP32[$4_1>>2]=4}if($68($0_1+344|0,$0_1+336|0)){HEAP32[$4_1>>2]=HEAP32[$4_1>>2]|2}$1_1=HEAP32[$0_1+344>>2];$8($3_1);$8($6_1);global$0=$0_1+352|0;return $1_1|0}function $675($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0;label$1:{label$2:{switch(HEAP32[$0_1+24>>2]){case 0:case 1:$1_1=HEAP32[$0_1+44>>2];$3_1=($1_1|0)>0?$1_1:0;$1_1=0;while(1){if(($1_1|0)==($3_1|0)){break label$1}$2_1=($1_1<<8)+$0_1|0;if(!(HEAP32[$2_1+52>>2]<0|!(HEAPF64[$2_1+80>>3]<.5))){HEAP32[$2_1+56>>2]=-1;HEAP32[$2_1+52>>2]=-1;HEAP32[$2_1+284>>2]=6}$1_1=$1_1+1|0;continue};case 2:$1_1=HEAP32[$0_1+44>>2];$3_1=($1_1|0)>0?$1_1:0;$1_1=0;while(1){if(($1_1|0)==($3_1|0)){break label$1}$2_1=($1_1<<8)+$0_1|0;if(!(HEAP32[$2_1+52>>2]<0|!(HEAPF64[$2_1+80>>3]<.5))){HEAP32[$2_1+60>>2]=-1;HEAP32[$2_1+52>>2]=-1;HEAP32[$2_1+284>>2]=6}$1_1=$1_1+1|0;continue};default:break label$2}}$1_1=HEAP32[$0_1+44>>2];$4_1=($1_1|0)>0?$1_1:0;$1_1=0;while(1){if(($1_1|0)==($4_1|0)){break label$1}$3_1=0;$2_1=($1_1<<8)+$0_1|0;if(!(HEAP32[$2_1+56>>2]<0|!(HEAPF64[$2_1+88>>3]<.5))){HEAP32[$2_1+56>>2]=-1;$3_1=1}label$11:{if(!(HEAPF64[$2_1+96>>3]<.5)|HEAP32[$2_1+60>>2]<0){break label$11}HEAP32[$2_1+60>>2]=-1;if(!$3_1){break label$11}HEAP32[$2_1+284>>2]=6}$1_1=$1_1+1|0;continue}}}function $1112($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0;if(($4_1|0)>0){$6_1=HEAP32[$0_1+336>>2];$8_1=HEAP32[$0_1+112>>2];$0_1=HEAP32[$0_1+480>>2];$11_1=HEAP32[$0_1+20>>2];$12_1=HEAP32[$0_1+16>>2];$13_1=HEAP32[$0_1+12>>2];$14_1=HEAP32[$0_1+8>>2];while(1){$9_1=$4_1;if($8_1){$0_1=$2_1<<2;$15_1=HEAP32[$0_1+HEAP32[$1_1+8>>2]>>2];$16_1=HEAP32[$0_1+HEAP32[$1_1+4>>2]>>2];$17_1=HEAP32[$0_1+HEAP32[$1_1>>2]>>2];$4_1=HEAP32[$3_1>>2];$0_1=0;while(1){$5_1=HEAPU8[$0_1+$16_1|0];$7_1=HEAPU8[$0_1+$17_1|0];$10_1=HEAPU8[$0_1+$15_1|0]<<2;HEAP8[$4_1|0]=HEAPU8[($7_1+HEAP32[$10_1+$14_1>>2]|0)+$6_1|0];$5_1=$5_1<<2;HEAP8[$4_1+1|0]=HEAPU8[((HEAP32[$12_1+$10_1>>2]+HEAP32[$5_1+$11_1>>2]>>16)+$7_1|0)+$6_1|0];HEAP8[$4_1+2|0]=HEAPU8[(HEAP32[$5_1+$13_1>>2]+$7_1|0)+$6_1|0];$4_1=$4_1+3|0;$0_1=$0_1+1|0;if(($8_1|0)!=($0_1|0)){continue}break}}$3_1=$3_1+4|0;$2_1=$2_1+1|0;$4_1=$9_1-1|0;if(($9_1|0)>=2){continue}break}}}function $1108($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0;if(($4_1|0)>0){$9_1=HEAP32[$0_1+112>>2];$11_1=$9_1&-4;$10_1=$9_1&3;$6_1=HEAP32[$0_1+36>>2];$12_1=($6_1|0)<=0;$13_1=$9_1-1>>>0<3;while(1){$8_1=0;if(!$12_1){while(1){label$5:{if(!$9_1){break label$5}$0_1=HEAP32[HEAP32[($8_1<<2)+$1_1>>2]+($2_1<<2)>>2];$5_1=HEAP32[$3_1>>2]+$8_1|0;$7_1=0;if(!$13_1){while(1){HEAP8[$5_1|0]=HEAPU8[$0_1|0];$5_1=$5_1+$6_1|0;HEAP8[$5_1|0]=HEAPU8[$0_1+1|0];$5_1=$5_1+$6_1|0;HEAP8[$5_1|0]=HEAPU8[$0_1+2|0];$5_1=$5_1+$6_1|0;HEAP8[$5_1|0]=HEAPU8[$0_1+3|0];$0_1=$0_1+4|0;$5_1=$5_1+$6_1|0;$7_1=$7_1+4|0;if(($11_1|0)!=($7_1|0)){continue}break}}$7_1=0;if(!$10_1){break label$5}while(1){HEAP8[$5_1|0]=HEAPU8[$0_1|0];$5_1=$5_1+$6_1|0;$0_1=$0_1+1|0;$7_1=$7_1+1|0;if(($10_1|0)!=($7_1|0)){continue}break}}$8_1=$8_1+1|0;if(($8_1|0)!=($6_1|0)){continue}break}}$3_1=$3_1+4|0;$2_1=$2_1+1|0;$0_1=($4_1|0)>1;$4_1=$4_1-1|0;if($0_1){continue}break}}}function $1015($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0;if(($3_1|0)>0){$4_1=HEAP32[HEAP32[$0_1+484>>2]+24>>2];$7_1=HEAP32[$4_1+8>>2];$8_1=HEAP32[$4_1+4>>2];$9_1=HEAP32[$4_1>>2];$6_1=HEAP32[$0_1+112>>2];$11_1=$6_1-1|0;$12_1=$6_1&1;while(1){label$3:{if(!$6_1){break label$3}$4_1=$10_1<<2;$0_1=HEAP32[$4_1+$1_1>>2];$5_1=HEAP32[$2_1+$4_1>>2];if($12_1){HEAP8[$5_1|0]=HEAPU8[HEAPU8[$0_1+2|0]+$7_1|0]+(HEAPU8[HEAPU8[$0_1+1|0]+$8_1|0]+HEAPU8[HEAPU8[$0_1|0]+$9_1|0]|0);$5_1=$5_1+1|0;$0_1=$0_1+3|0;$4_1=$11_1}else{$4_1=$6_1}if(($6_1|0)==1){break label$3}while(1){HEAP8[$5_1|0]=HEAPU8[HEAPU8[$0_1+2|0]+$7_1|0]+(HEAPU8[HEAPU8[$0_1+1|0]+$8_1|0]+HEAPU8[HEAPU8[$0_1|0]+$9_1|0]|0);HEAP8[$5_1+1|0]=HEAPU8[HEAPU8[$0_1+5|0]+$7_1|0]+(HEAPU8[HEAPU8[$0_1+4|0]+$8_1|0]+HEAPU8[HEAPU8[$0_1+3|0]+$9_1|0]|0);$5_1=$5_1+2|0;$0_1=$0_1+6|0;$4_1=$4_1-2|0;if($4_1){continue}break}}$10_1=$10_1+1|0;if(($10_1|0)!=($3_1|0)){continue}break}}}function $355($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$8_1=global$0-240|0;global$0=$8_1;$7_1=HEAP32[$3_1>>2];HEAP32[$8_1+232>>2]=$7_1;$3_1=HEAP32[$3_1+4>>2];HEAP32[$8_1>>2]=$0_1;HEAP32[$8_1+236>>2]=$3_1;$10_1=1;label$1:{label$2:{label$3:{if(!($3_1|($7_1|0)!=1)){$3_1=$0_1;break label$3}$11_1=0-$1_1|0;$7_1=$0_1;while(1){$9_1=($4_1<<2)+$6_1|0;$3_1=$7_1-HEAP32[$9_1>>2]|0;if((FUNCTION_TABLE[$2_1|0]($3_1,$0_1)|0)<=0){$3_1=$7_1;break label$3}label$7:{if(!(($4_1|0)<2|$5_1)){$5_1=HEAP32[$9_1-8>>2];$9_1=$7_1+$11_1|0;if((FUNCTION_TABLE[$2_1|0]($9_1,$3_1)|0)>=0){break label$7}if((FUNCTION_TABLE[$2_1|0]($9_1-$5_1|0,$3_1)|0)>=0){break label$7}}HEAP32[($10_1<<2)+$8_1>>2]=$3_1;$7_1=$8_1+232|0;$5_1=$610($7_1);$356($7_1,$5_1);$10_1=$10_1+1|0;$4_1=$4_1+$5_1|0;$5_1=0;$7_1=$3_1;if(HEAP32[$8_1+236>>2]|HEAP32[$8_1+232>>2]!=1){continue}break label$2}break}$3_1=$7_1;break label$2}if($5_1){break label$1}}$609($1_1,$8_1,$10_1);$439($3_1,$1_1,$2_1,$4_1,$6_1)}global$0=$8_1+240|0}function $1111($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0;if(($4_1|0)>0){$5_1=HEAP32[$0_1+112>>2];$12_1=$5_1&-2;$13_1=$5_1&1;while(1){$11_1=$4_1;label$3:{if(!$5_1){break label$3}$0_1=$2_1<<2;$6_1=HEAP32[$0_1+HEAP32[$1_1+8>>2]>>2];$7_1=HEAP32[$0_1+HEAP32[$1_1+4>>2]>>2];$8_1=HEAP32[$0_1+HEAP32[$1_1>>2]>>2];$4_1=HEAP32[$3_1>>2];$0_1=0;$9_1=0;if(($5_1|0)!=1){while(1){HEAP8[$4_1|0]=HEAPU8[$0_1+$8_1|0];HEAP8[$4_1+1|0]=HEAPU8[$0_1+$7_1|0];HEAP8[$4_1+2|0]=HEAPU8[$0_1+$6_1|0];$10_1=$0_1|1;HEAP8[$4_1+3|0]=HEAPU8[$10_1+$8_1|0];HEAP8[$4_1+4|0]=HEAPU8[$7_1+$10_1|0];HEAP8[$4_1+5|0]=HEAPU8[$6_1+$10_1|0];$0_1=$0_1+2|0;$4_1=$4_1+6|0;$9_1=$9_1+2|0;if(($12_1|0)!=($9_1|0)){continue}break}}if(!$13_1){break label$3}HEAP8[$4_1|0]=HEAPU8[$0_1+$8_1|0];HEAP8[$4_1+1|0]=HEAPU8[$0_1+$7_1|0];HEAP8[$4_1+2|0]=HEAPU8[$0_1+$6_1|0]}$3_1=$3_1+4|0;$2_1=$2_1+1|0;$4_1=$11_1-1|0;if(($11_1|0)>=2){continue}break}}}function $1078($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;var $7_1=0,$8_1=0,$9_1=0;$3_1=global$0-16|0;global$0=$3_1;$7_1=HEAP32[$0_1+476>>2];label$1:{label$2:{if(HEAP32[$7_1+36>>2]){$370($7_1+32|0,0,(HEAP32[$5_1>>2]<<2)+$4_1|0,0,1,HEAP32[$7_1+40>>2]);HEAP32[$7_1+36>>2]=0;HEAP32[$5_1>>2]=HEAP32[$5_1>>2]+1;HEAP32[$7_1+44>>2]=HEAP32[$7_1+44>>2]-1;break label$2}$9_1=HEAP32[$7_1+44>>2];$8_1=$4_1;$4_1=HEAP32[$5_1>>2];$8_1=$8_1+($4_1<<2)|0;HEAP32[$3_1+8>>2]=HEAP32[$8_1>>2];$4_1=$6_1-$4_1|0;$4_1=$4_1>>>0>$9_1>>>0?$9_1:$4_1;$4_1=$4_1>>>0<2?$4_1:2;if($4_1>>>0>=2){$6_1=HEAP32[$8_1+4>>2]}else{HEAP32[$7_1+36>>2]=1;$6_1=HEAP32[$7_1+32>>2]}HEAP32[$3_1+12>>2]=$6_1;FUNCTION_TABLE[HEAP32[$7_1+12>>2]]($0_1,$1_1,HEAP32[$2_1>>2],$3_1+8|0);$0_1=HEAP32[$7_1+36>>2];HEAP32[$5_1>>2]=$4_1+HEAP32[$5_1>>2];HEAP32[$7_1+44>>2]=HEAP32[$7_1+44>>2]-$4_1;if($0_1){break label$1}}HEAP32[$2_1>>2]=HEAP32[$2_1>>2]+1}global$0=$3_1+16|0}function $1013($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0,$16_1=0,$17_1=0;if(($3_1|0)>0){$11_1=HEAP32[$0_1+112>>2];$4_1=HEAP32[$0_1+484>>2];$0_1=HEAP32[$4_1+24>>2];$12_1=HEAP32[$0_1+8>>2];$13_1=HEAP32[$0_1+4>>2];$14_1=HEAP32[$0_1>>2];$6_1=HEAP32[$4_1+48>>2];while(1){if($11_1){$0_1=$6_1<<6;$15_1=$0_1+HEAP32[$4_1+60>>2]|0;$16_1=$0_1+HEAP32[$4_1+56>>2]|0;$17_1=$0_1+HEAP32[$4_1+52>>2]|0;$5_1=$7_1<<2;$0_1=HEAP32[$5_1+$1_1>>2];$8_1=HEAP32[$2_1+$5_1>>2];$9_1=0;$5_1=$11_1;while(1){$10_1=$9_1<<2;HEAP8[$8_1|0]=(HEAPU8[(HEAP32[$16_1+$10_1>>2]+HEAPU8[$0_1+1|0]|0)+$13_1|0]+HEAPU8[(HEAP32[$10_1+$17_1>>2]+HEAPU8[$0_1|0]|0)+$14_1|0]|0)+HEAPU8[(HEAP32[$10_1+$15_1>>2]+HEAPU8[$0_1+2|0]|0)+$12_1|0];$8_1=$8_1+1|0;$0_1=$0_1+3|0;$9_1=$9_1+1&15;$5_1=$5_1-1|0;if($5_1){continue}break}}$6_1=$6_1+1&15;HEAP32[$4_1+48>>2]=$6_1;$7_1=$7_1+1|0;if(($7_1|0)!=($3_1|0)){continue}break}}}function $784($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=Math_fround(0),$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$11_1=-1;label$1:{$4_1=HEAP32[$1_1+8>>2];if(($4_1|0)!=HEAP32[$2_1+4>>2]){break label$1}$3_1=HEAP32[$0_1+4>>2];if(($3_1|0)!=HEAP32[$1_1+4>>2]){break label$1}$5_1=HEAP32[$0_1+8>>2];if(($5_1|0)!=HEAP32[$2_1+8>>2]){break label$1}$11_1=0;$12_1=($3_1|0)>0?$3_1:0;$13_1=($5_1|0)>0?$5_1:0;$14_1=($4_1|0)>0?$4_1:0;$3_1=HEAP32[$0_1>>2];while(1){if(($7_1|0)==($12_1|0)){break label$1}$15_1=Math_imul($4_1,$7_1);$6_1=0;while(1){if(($6_1|0)!=($13_1|0)){$0_1=0;HEAP32[$3_1>>2]=0;$8_1=HEAP32[$2_1>>2]+($6_1<<2)|0;$9_1=HEAP32[$1_1>>2]+($15_1<<2)|0;$10_1=Math_fround(0);while(1){if(($0_1|0)!=($14_1|0)){$10_1=Math_fround(Math_fround(HEAPF32[$9_1>>2]*HEAPF32[$8_1>>2])+$10_1);HEAPF32[$3_1>>2]=$10_1;$0_1=$0_1+1|0;$9_1=$9_1+4|0;$8_1=($5_1<<2)+$8_1|0;continue}break}$6_1=$6_1+1|0;$3_1=$3_1+4|0;continue}break}$7_1=$7_1+1|0;continue}}return $11_1}function $70($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;label$1:{if(HEAPU8[$0_1|0]&15){break label$1}if(Atomics.compareExchange(HEAP32,$0_1+4>>2,0,10)|0){break label$1}return 0}$2_1=HEAP32[$0_1>>2];label$2:{if(!($2_1&15)){if(!$113($0_1+4|0,0,10)){break label$2}$2_1=HEAP32[$0_1>>2]}$1_1=$442($0_1);if(($1_1|0)!=10){break label$2}$5_1=$0_1+8|0;$3_1=$0_1+4|0;$1_1=100;while(1){if(!(!$1_1|!HEAP32[$3_1>>2])){$1_1=$1_1-1|0;if(!HEAP32[$5_1>>2]){continue}}break}$1_1=$442($0_1);if(($1_1|0)!=10){break label$2}$6_1=($2_1^-1)&128;$7_1=!($2_1&4);$2_1=($2_1&3)!=2;while(1){$1_1=HEAP32[$3_1>>2];$4_1=$1_1&1073741823;label$8:{if(!(($1_1|0)!=0&$7_1?1:$4_1)){break label$8}if(!(HEAP32[global$3+16>>2]!=($4_1|0)|$2_1)){$1_1=16;break label$2}$190($5_1);$4_1=$1_1;$1_1=$1_1|-2147483648;$113($3_1,$4_1,$1_1);$1_1=$620($3_1,$1_1,$6_1);$368($5_1);if(($1_1|0)==27){break label$8}if($1_1){break label$2}}$1_1=$442($0_1);if(($1_1|0)==10){continue}break}}return $1_1}function $301($0_1){var $1_1=0,$2_1=0,$3_1=0;if(!$0_1){if(HEAP32[16018]){$1_1=$301(HEAP32[16018])}if(HEAP32[15980]){$1_1=$301(HEAP32[15980])|$1_1}$0_1=HEAP32[$362()>>2];if($0_1){while(1){$2_1=0;if(HEAP32[$0_1+76>>2]>=0){$2_1=$125($0_1)}if(HEAP32[$0_1+20>>2]!=HEAP32[$0_1+28>>2]){$1_1=$301($0_1)|$1_1}if($2_1){$114($0_1)}$0_1=HEAP32[$0_1+56>>2];if($0_1){continue}break}}$298(68152);return $1_1}if(HEAP32[$0_1+76>>2]>=0){$2_1=$125($0_1)}label$10:{label$11:{label$12:{if(HEAP32[$0_1+20>>2]==HEAP32[$0_1+28>>2]){break label$12}FUNCTION_TABLE[HEAP32[$0_1+36>>2]]($0_1,0,0)|0;if(HEAP32[$0_1+20>>2]){break label$12}$1_1=-1;if($2_1){break label$11}break label$10}$1_1=HEAP32[$0_1+8>>2];$3_1=HEAP32[$0_1+4>>2];if(($1_1|0)!=($3_1|0)){$1_1=$3_1-$1_1|0;FUNCTION_TABLE[HEAP32[$0_1+40>>2]]($0_1,$1_1,$1_1>>31,1)|0}$1_1=0;HEAP32[$0_1+28>>2]=0;HEAP32[$0_1+16>>2]=0;HEAP32[$0_1+20>>2]=0;HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+8>>2]=0;if(!$2_1){break label$10}}$114($0_1)}return $1_1}function $752($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$2_1=$34($0_1);label$1:{if($1_1){$750($0_1,$274($2_1,$1_1));HEAP32[$34($0_1)>>2]=$1_1;$2_1=0;while(1)if(($1_1|0)==($2_1|0)){$2_1=$0_1+8|0;$3_1=HEAP32[$2_1>>2];if(!$3_1){break label$1}$7_1=$46(HEAP32[$3_1+4>>2],$1_1);HEAP32[$9($0_1,$7_1)>>2]=$2_1;while(1){$2_1=HEAP32[$3_1>>2];if(!$2_1){break label$1}label$6:{$4_1=$46(HEAP32[$2_1+4>>2],$1_1);if(($7_1|0)==($4_1|0)){break label$6}$5_1=$2_1;if(!HEAP32[$9($0_1,$4_1)>>2]){HEAP32[$9($0_1,$4_1)>>2]=$3_1;$7_1=$4_1;break label$6}while(1){label$9:{$6_1=$5_1;if(!HEAP32[$6_1>>2]){$5_1=0;break label$9}$45($0_1);$8_1=$127($2_1+8|0,HEAP32[$6_1>>2]+8|0);$5_1=HEAP32[$6_1>>2];if($8_1){continue}}break}HEAP32[$3_1>>2]=$5_1;HEAP32[$6_1>>2]=HEAP32[HEAP32[$9($0_1,$4_1)>>2]>>2];HEAP32[HEAP32[$9($0_1,$4_1)>>2]>>2]=$2_1;continue}$3_1=$2_1;continue}}else{HEAP32[$9($0_1,$2_1)>>2]=0;$2_1=$2_1+1|0;continue}}$750($0_1,0);HEAP32[$34($0_1)>>2]=0}}function $1155($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$0_1;HEAP32[$2_1+8>>2]=$26(67484,$2_1+12|0);HEAP32[$2_1>>2]=$23();label$1:{if($31($2_1+8|0,$2_1)){$0_1=HEAP32[15939];break label$1}$0_1=HEAP32[$32($2_1+12|0)+216>>2];if(HEAP32[$0_1+44>>2]<=($1_1|0)){$0_1=HEAP32[15940];break label$1}$0_1=($1_1|0)<0?67528:($0_1+($1_1<<8)|0)+48|0;$3_1=HEAPF64[8474];HEAPF64[$0_1+168>>3]=$3_1;$4_1=HEAPF64[8475];HEAPF64[$0_1+176>>3]=$4_1;$5_1=HEAPF64[8476];HEAPF64[$0_1+184>>3]=$5_1;$6_1=HEAPF64[8477];HEAPF64[$0_1+192>>3]=$6_1;$7_1=HEAPF64[8478];HEAPF64[$0_1+200>>3]=$7_1;$8_1=HEAPF64[8479];HEAPF64[$0_1+208>>3]=$8_1;$9_1=HEAPF64[8480];HEAPF64[$0_1+216>>3]=$9_1;$10_1=HEAPF64[8481];HEAPF64[$0_1+56>>3]=($9_1+($7_1+($3_1+$5_1)))*.25;HEAPF64[$0_1+224>>3]=$10_1;HEAPF64[$0_1- -64>>3]=($10_1+($8_1+($4_1+$6_1)))*.25;$0_1=0}global$0=$2_1+16|0;return $0_1|0}function $1317($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;var $7_1=0,$8_1=0;$8_1=global$0-416|0;global$0=$8_1;$3_1=$8_1+416|0;HEAP32[$8_1+12>>2]=$3_1;$7_1=global$0-144|0;global$0=$7_1;HEAP32[$7_1+28>>2]=$7_1+132;$2_1=$7_1+32|0;$922($0_1+8|0,$2_1,$7_1+28|0,$4_1,$5_1,$6_1);HEAP32[$7_1+16>>2]=0;HEAP32[$7_1+20>>2]=0;HEAP32[$7_1+12>>2]=$2_1;$2_1=$8_1+16|0;$5_1=$576($2_1,HEAP32[$8_1+12>>2]);$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=HEAP32[$0_1+8>>2];$6_1=$161($4_1+8|0,$4_1+12|0);$0_1=$954($2_1,$7_1+12|0,$5_1,$7_1+16|0);$160($6_1);global$0=$4_1+16|0;if(($0_1|0)==-1){$55();abort()}HEAP32[$8_1+12>>2]=($0_1<<2)+$2_1;global$0=$7_1+144|0;$4_1=HEAP32[$8_1+12>>2];$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+8>>2]=$1_1;while(1){if(($2_1|0)!=($4_1|0)){$554($0_1+8|0,HEAP32[$2_1>>2]);$2_1=$2_1+4|0;continue}break}global$0=$0_1+16|0;global$0=$3_1;return HEAP32[$0_1+8>>2]}function $71($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$1_1=global$0-48|0;global$0=$1_1;$2_1=global$0-16|0;global$0=$2_1;if(!(HEAPF64[$0_1>>3]>=0)){$3($0($0($2($0($0($0(71248,1282),1968),3305),67),3802),4217));fimport$0();abort()}$644($2_1);HEAPF64[$0_1+8>>3]=+HEAP32[$2_1+8>>2]*1e-6+(+HEAPU32[$2_1>>2]+ +HEAP32[$2_1+4>>2]*4294967296);global$0=$2_1+16|0;$7_1=$755();$4_1=$1_1+32|0;$696($4_1);$8_1=$15($4_1);$5_1=$0_1+16|0;$2_1=$15($5_1);label$2:{label$3:{$6_1=HEAPF64[$0_1>>3];if($6_1>=0){$3_1=HEAPF64[$0_1+8>>3];if(!($3_1>=0)){break label$3}$3_1=$3_1-$6_1;break label$2}$3($0($0($2($0($0($0(71248,1282),1968),3305),80),3802),4217));fimport$0();abort()}$3($0($0($2($0($0($0(71248,5170),1968),3305),81),3802),5753));fimport$0();abort()}HEAPF64[$1_1+16>>3]=$3_1*1e3;HEAP32[$1_1+12>>2]=$2_1;HEAP32[$1_1+8>>2]=27909;HEAP32[$1_1+4>>2]=$8_1;HEAP32[$1_1>>2]=7742;$693($7_1,6528,$1_1);$8($4_1);$8($5_1);global$0=$1_1+48|0}function $483($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$11_1=-1;label$1:{$4_1=HEAP32[$1_1+8>>2];if(($4_1|0)!=HEAP32[$2_1+4>>2]){break label$1}$3_1=HEAP32[$0_1+4>>2];if(($3_1|0)!=HEAP32[$1_1+4>>2]){break label$1}$5_1=HEAP32[$0_1+8>>2];if(($5_1|0)!=HEAP32[$2_1+8>>2]){break label$1}$11_1=0;$12_1=($3_1|0)>0?$3_1:0;$13_1=($5_1|0)>0?$5_1:0;$14_1=($4_1|0)>0?$4_1:0;$3_1=HEAP32[$0_1>>2];while(1){if(($7_1|0)==($12_1|0)){break label$1}$15_1=Math_imul($4_1,$7_1);$6_1=0;while(1){if(($6_1|0)!=($13_1|0)){HEAP32[$3_1>>2]=0;HEAP32[$3_1+4>>2]=0;$8_1=HEAP32[$2_1>>2]+($6_1<<3)|0;$9_1=HEAP32[$1_1>>2]+($15_1<<3)|0;$0_1=0;$10_1=0;while(1){if(($0_1|0)!=($14_1|0)){$10_1=HEAPF64[$9_1>>3]*HEAPF64[$8_1>>3]+$10_1;HEAPF64[$3_1>>3]=$10_1;$0_1=$0_1+1|0;$9_1=$9_1+8|0;$8_1=($5_1<<3)+$8_1|0;continue}break}$6_1=$6_1+1|0;$3_1=$3_1+8|0;continue}break}$7_1=$7_1+1|0;continue}}return $11_1}function $212($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){var $8_1=0,$9_1=0,$10_1=0,$11_1=0;$8_1=1;$9_1=$3_1&2147483647;$11_1=$9_1;$10_1=($9_1|0)==2147418112;label$1:{if($10_1&!$2_1?$0_1|$1_1:$10_1&($2_1|0)!=0|$9_1>>>0>2147418112){break label$1}$9_1=$7_1&2147483647;$10_1=($9_1|0)==2147418112;if($10_1&!$6_1?$4_1|$5_1:$10_1&($6_1|0)!=0|$9_1>>>0>2147418112){break label$1}if(!($0_1|$4_1|($2_1|$6_1)|($1_1|$5_1|($9_1|$11_1)))){return 0}$8_1=$3_1&$7_1;if(($8_1|0)>0|($8_1|0)>=0){$8_1=-1;if(($2_1|0)==($6_1|0)&($3_1|0)==($7_1|0)?($1_1|0)==($5_1|0)&$0_1>>>0<$4_1>>>0|$1_1>>>0<$5_1>>>0:$2_1>>>0<$6_1>>>0&($3_1|0)<=($7_1|0)|($3_1|0)<($7_1|0)){break label$1}return($0_1^$4_1|$2_1^$6_1|($1_1^$5_1|$3_1^$7_1))!=0}$8_1=-1;if(($2_1|0)==($6_1|0)&($3_1|0)==($7_1|0)?($1_1|0)==($5_1|0)&$0_1>>>0>$4_1>>>0|$1_1>>>0>$5_1>>>0:$2_1>>>0>$6_1>>>0&($3_1|0)>=($7_1|0)|($3_1|0)>($7_1|0)){break label$1}$8_1=($0_1^$4_1|$2_1^$6_1|($1_1^$5_1|$3_1^$7_1))!=0}return $8_1}function $734($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$3_1=$21($0_1);if($3_1>>>0<$1_1>>>0){$6_1=global$0-32|0;global$0=$6_1;$1_1=$1_1-$3_1|0;label$2:{if($1_1>>>0<=HEAP32[$4($0_1)>>2]-HEAP32[$0_1+4>>2]>>2>>>0){$4_1=global$0-16|0;global$0=$4_1;$3_1=$275($4_1,$0_1,$1_1);$1_1=HEAP32[$3_1+4>>2];$5_1=HEAP32[$3_1+8>>2];while(1){if(($1_1|0)==($5_1|0)){$72($3_1);global$0=$4_1+16|0}else{$194($4($0_1),$1_1,$2_1);$1_1=$1_1+4|0;HEAP32[$3_1+4>>2]=$1_1;continue}break}break label$2}$3_1=$4($0_1);$3_1=$277($6_1+8|0,$385($0_1,$21($0_1)+$1_1|0),$21($0_1),$3_1);$4_1=global$0-16|0;global$0=$4_1;$1_1=$392($4_1,$3_1+8|0,$1_1);$5_1=HEAP32[$1_1>>2];while(1){if(HEAP32[$1_1+4>>2]!=($5_1|0)){$194(HEAP32[$3_1+16>>2],HEAP32[$1_1>>2],$2_1);$5_1=HEAP32[$1_1>>2]+4|0;HEAP32[$1_1>>2]=$5_1;continue}break}$143($1_1);global$0=$4_1+16|0;$324($0_1,$3_1);$276($3_1)}global$0=$6_1+32|0;return}if($1_1>>>0<$3_1>>>0){$502($0_1,HEAP32[$0_1>>2]+($1_1<<2)|0)}}function $165($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$5_1=global$0-16|0;global$0=$5_1;wasm2js_scratch_store_f64(+$1_1);$6_1=wasm2js_scratch_load_i32(1)|0;$3_1=wasm2js_scratch_load_i32(0)|0;$2_1=$6_1&2147483647;$4_1=$2_1+-1048576|0;label$1:{if(($4_1|0)==2145386495|$4_1>>>0<2145386495){$7_1=$3_1<<28;$4_1=$2_1>>>4|0;$2_1=($2_1&15)<<28|$3_1>>>4;$3_1=$4_1+1006632960|0;break label$1}if(($2_1|0)==2146435072|$2_1>>>0>2146435072){$7_1=$3_1<<28;$2_1=($6_1&15)<<28|$3_1>>>4;$3_1=$6_1>>>4|2147418112;break label$1}if(!($2_1|$3_1)){$2_1=0;$3_1=0;break label$1}$4_1=$2_1;$2_1=$2_1?Math_clz32($2_1):Math_clz32($3_1)+32|0;$92($5_1,$3_1,$4_1,0,0,$2_1+49|0);$8_1=HEAP32[$5_1>>2];$7_1=HEAP32[$5_1+4>>2];$4_1=15372-$2_1<<16;$2_1=HEAP32[$5_1+8>>2];$3_1=$4_1|HEAP32[$5_1+12>>2]^65536}HEAP32[$0_1>>2]=$8_1;HEAP32[$0_1+4>>2]=$7_1;HEAP32[$0_1+8>>2]=$2_1;HEAP32[$0_1+12>>2]=$6_1&-2147483648|$3_1;global$0=$5_1+16|0}function $189($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0,$15_1=0;$7_1=$2_1<<2;$9_1=HEAP32[$7_1+$1_1>>2];$8_1=$3_1<<2;$14_1=HEAP32[$8_1+$0_1>>2];$7_1=HEAP32[$0_1+$7_1>>2];$8_1=HEAP32[$1_1+$8_1>>2];$15_1=+(Math_imul($9_1,$14_1)-Math_imul($7_1,$8_1)|0);$11_1=+($7_1-$14_1|0);$12_1=+($8_1-$9_1|0);$7_1=$2_1+1|0;$9_1=$7_1;while(1){if(($3_1|0)>($7_1|0)){$8_1=$7_1<<2;$10_1=$12_1*+HEAP32[$8_1+$0_1>>2]+$11_1*+HEAP32[$1_1+$8_1>>2]+$15_1;$10_1=$10_1*$10_1;$8_1=$10_1>$13_1;$13_1=$8_1?$10_1:$13_1;$9_1=$8_1?$7_1:$9_1;$7_1=$7_1+1|0;continue}break}label$3:{if($13_1/($12_1*$12_1+$11_1*$11_1)>$4_1){$7_1=-1;if(($189($0_1,$1_1,$2_1,$9_1,$4_1,$5_1,$6_1)|0)<0){break label$3}$2_1=HEAP32[$6_1>>2];if(($2_1|0)>5){break label$3}HEAP32[($2_1<<2)+$5_1>>2]=$9_1;HEAP32[$6_1>>2]=HEAP32[$6_1>>2]+1;if(($189($0_1,$1_1,$9_1,$3_1,$4_1,$5_1,$6_1)|0)<0){break label$3}}$7_1=0}return $7_1}function $538($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0;$6_1=global$0-32|0;global$0=$6_1;$10_1=$7($4_1<<4);HEAP32[$6_1+16>>2]=$10_1;if($10_1){label$2:{$11_1=$7(Math_imul($4_1,24));HEAP32[$6_1+20>>2]=$11_1;if(!$11_1){break label$2}$12_1=($4_1|0)>0?$4_1:0;while(1){if(($9_1|0)!=($12_1|0)){$7_1=$9_1<<4;$8_1=$7_1+$10_1|0;$7_1=$2_1+$7_1|0;HEAPF64[$8_1>>3]=HEAPF64[$7_1>>3];HEAPF64[$8_1+8>>3]=HEAPF64[$7_1+8>>3];$8_1=Math_imul($9_1,24);$7_1=$8_1+$11_1|0;$8_1=$3_1+$8_1|0;HEAPF64[$7_1>>3]=HEAPF64[$8_1>>3];HEAPF64[$7_1+8>>3]=HEAPF64[$8_1+8>>3];HEAPF64[$7_1+16>>3]=HEAPF64[$8_1+16>>3];$9_1=$9_1+1|0;continue}break}HEAP32[$6_1+24>>2]=$4_1;if(($311(HEAP32[$0_1>>2],$6_1+16|0,$1_1,$5_1,$6_1+8|0)|0)<0){HEAP32[$6_1+8>>2]=0;HEAP32[$6_1+12>>2]=1100470148}$1(HEAP32[$6_1+16>>2]);$1(HEAP32[$6_1+20>>2]);global$0=$6_1+32|0;return HEAPF64[$6_1+8>>3]}}$5(0,3,1806,0);fimport$1(1);abort()}function $146($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0;$6_1=global$0-32|0;global$0=$6_1;$10_1=$7($4_1<<4);HEAP32[$6_1+16>>2]=$10_1;if($10_1){label$2:{$11_1=$7(Math_imul($4_1,24));HEAP32[$6_1+20>>2]=$11_1;if(!$11_1){break label$2}$12_1=($4_1|0)>0?$4_1:0;while(1){if(($9_1|0)!=($12_1|0)){$7_1=$9_1<<4;$8_1=$7_1+$10_1|0;$7_1=$2_1+$7_1|0;HEAPF64[$8_1>>3]=HEAPF64[$7_1>>3];HEAPF64[$8_1+8>>3]=HEAPF64[$7_1+8>>3];$8_1=Math_imul($9_1,24);$7_1=$8_1+$11_1|0;$8_1=$3_1+$8_1|0;HEAPF64[$7_1>>3]=HEAPF64[$8_1>>3];HEAPF64[$7_1+8>>3]=HEAPF64[$8_1+8>>3];HEAPF64[$7_1+16>>3]=HEAPF64[$8_1+16>>3];$9_1=$9_1+1|0;continue}break}HEAP32[$6_1+24>>2]=$4_1;if(($689(HEAP32[$0_1>>2],$6_1+16|0,$1_1,$5_1,$6_1+8|0)|0)<0){HEAP32[$6_1+8>>2]=0;HEAP32[$6_1+12>>2]=1100470148}$1(HEAP32[$6_1+16>>2]);$1(HEAP32[$6_1+20>>2]);global$0=$6_1+32|0;return HEAPF64[$6_1+8>>3]}}$5(0,3,1806,0);fimport$1(1);abort()}function $1072($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;var $7_1=0,$8_1=0;$1_1=HEAP32[$0_1+456>>2];$2_1=HEAP32[$1_1+24>>2];label$1:{if($2_1){$3_1=HEAP32[$1_1+12>>2];break label$1}$3_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+28>>2]]($0_1,HEAP32[$1_1+8>>2],HEAP32[$1_1+20>>2],HEAP32[$1_1+16>>2],0)|0;HEAP32[$1_1+12>>2]=$3_1;$2_1=HEAP32[$1_1+24>>2]}$7_1=HEAP32[$1_1+16>>2]-$2_1|0;$8_1=HEAP32[$5_1>>2];$6_1=$6_1-$8_1|0;$6_1=$6_1>>>0>$7_1>>>0?$7_1:$6_1;$7_1=HEAP32[$0_1+116>>2]-HEAP32[$1_1+20>>2]|0;$6_1=$6_1>>>0<$7_1>>>0?$6_1:$7_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1+484>>2]+4>>2]]($0_1,($2_1<<2)+$3_1|0,($8_1<<2)+$4_1|0,$6_1);HEAP32[$5_1>>2]=$6_1+HEAP32[$5_1>>2];$0_1=$6_1+HEAP32[$1_1+24>>2]|0;HEAP32[$1_1+24>>2]=$0_1;$2_1=$0_1;$0_1=HEAP32[$1_1+16>>2];if($2_1>>>0>=$0_1>>>0){HEAP32[$1_1+24>>2]=0;HEAP32[$1_1+20>>2]=$0_1+HEAP32[$1_1+20>>2]}}function $1382($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0;$2_1=global$0-32|0;global$0=$2_1;$4_1=$144($1_1,-1);$3_1=HEAPU8[$0_1+52|0];label$1:{if($4_1){if($3_1){break label$1}$1_1=HEAP32[$0_1+48>>2];HEAP8[$0_1+52|0]=$144($1_1,-1)^1;break label$1}label$3:{if(!$3_1){break label$3}HEAP8[$2_1+19|0]=HEAP32[$0_1+48>>2]<<24>>24;label$4:{label$5:{label$6:{$3_1=$2_1+20|0;switch($343(HEAP32[$0_1+36>>2],HEAP32[$0_1+40>>2],$2_1+19|0,$3_1,$2_1+12|0,$2_1+24|0,$2_1+32|0,$3_1)-1|0){case 0:case 1:break label$4;case 2:break label$6;default:break label$5}}$3_1=HEAP32[$0_1+48>>2];HEAP32[$2_1+20>>2]=$2_1+25;HEAP8[$2_1+24|0]=$3_1}while(1){$3_1=HEAP32[$2_1+20>>2];if($3_1>>>0<=$2_1+24>>>0){break label$3}$3_1=$3_1-1|0;HEAP32[$2_1+20>>2]=$3_1;if(($341(HEAP8[$3_1|0],HEAP32[$0_1+32>>2])|0)!=-1){continue}break}}$1_1=-1;break label$1}HEAP8[$0_1+52|0]=1;HEAP32[$0_1+48>>2]=$1_1}global$0=$2_1+32|0;return $1_1|0}function $1375($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0;$2_1=global$0-32|0;global$0=$2_1;$4_1=$144($1_1,-1);$3_1=HEAPU8[$0_1+52|0];label$1:{if($4_1){if($3_1){break label$1}$1_1=HEAP32[$0_1+48>>2];HEAP8[$0_1+52|0]=$144($1_1,-1)^1;break label$1}label$3:{if(!$3_1){break label$3}HEAP32[$2_1+16>>2]=HEAP32[$0_1+48>>2];label$4:{label$5:{label$6:{$3_1=$2_1+20|0;switch($343(HEAP32[$0_1+36>>2],HEAP32[$0_1+40>>2],$2_1+16|0,$3_1,$2_1+12|0,$2_1+24|0,$2_1+32|0,$3_1)-1|0){case 0:case 1:break label$4;case 2:break label$6;default:break label$5}}$3_1=HEAP32[$0_1+48>>2];HEAP32[$2_1+20>>2]=$2_1+25;HEAP8[$2_1+24|0]=$3_1}while(1){$3_1=HEAP32[$2_1+20>>2];if($3_1>>>0<=$2_1+24>>>0){break label$3}$3_1=$3_1-1|0;HEAP32[$2_1+20>>2]=$3_1;if(($341(HEAP8[$3_1|0],HEAP32[$0_1+32>>2])|0)!=-1){continue}break}}$1_1=-1;break label$1}HEAP8[$0_1+52|0]=1;HEAP32[$0_1+48>>2]=$1_1}global$0=$2_1+32|0;return $1_1|0}function $1379($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$2_1=global$0-32|0;global$0=$2_1;label$1:{label$2:{label$3:{if($144($1_1,-1)){break label$3}HEAP8[$2_1+23|0]=$1_1<<24>>24;if(HEAPU8[$0_1+44|0]){if(($166($2_1+23|0,1,1,HEAP32[$0_1+32>>2])|0)!=1){break label$2}break label$3}$5_1=$2_1+24|0;HEAP32[$2_1+16>>2]=$5_1;$7_1=$2_1+32|0;$3_1=$2_1+23|0;while(1){$4_1=$343(HEAP32[$0_1+36>>2],HEAP32[$0_1+40>>2],$3_1,$5_1,$2_1+12|0,$2_1+24|0,$7_1,$2_1+16|0);if(HEAP32[$2_1+12>>2]==($3_1|0)){break label$2}if(($4_1|0)==3){if(($166($3_1,1,1,HEAP32[$0_1+32>>2])|0)==1){break label$3}break label$2}if($4_1>>>0>1){break label$2}$6_1=$2_1+24|0;$3_1=HEAP32[$2_1+16>>2]-$6_1|0;if(($166($6_1,1,$3_1,HEAP32[$0_1+32>>2])|0)!=($3_1|0)){break label$2}$3_1=HEAP32[$2_1+12>>2];if(($4_1|0)==1){continue}break}}$0_1=$552($1_1);break label$1}$0_1=-1}global$0=$2_1+32|0;return $0_1|0}function $1372($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$2_1=global$0-32|0;global$0=$2_1;label$1:{label$2:{label$3:{if($144($1_1,-1)){break label$3}HEAP32[$2_1+20>>2]=$1_1;if(HEAPU8[$0_1+44|0]){if(($166($2_1+20|0,4,1,HEAP32[$0_1+32>>2])|0)!=1){break label$2}break label$3}$5_1=$2_1+24|0;HEAP32[$2_1+16>>2]=$5_1;$7_1=$2_1+32|0;$3_1=$2_1+20|0;while(1){$4_1=$343(HEAP32[$0_1+36>>2],HEAP32[$0_1+40>>2],$3_1,$5_1,$2_1+12|0,$2_1+24|0,$7_1,$2_1+16|0);if(HEAP32[$2_1+12>>2]==($3_1|0)){break label$2}if(($4_1|0)==3){if(($166($3_1,1,1,HEAP32[$0_1+32>>2])|0)==1){break label$3}break label$2}if($4_1>>>0>1){break label$2}$6_1=$2_1+24|0;$3_1=HEAP32[$2_1+16>>2]-$6_1|0;if(($166($6_1,1,$3_1,HEAP32[$0_1+32>>2])|0)!=($3_1|0)){break label$2}$3_1=HEAP32[$2_1+12>>2];if(($4_1|0)==1){continue}break}}$0_1=$552($1_1);break label$1}$0_1=-1}global$0=$2_1+32|0;return $0_1|0}function $1228($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;if($121($0_1,HEAP32[$1_1+8>>2],$4_1)){$522($1_1,$2_1,$3_1);return}label$2:{if($121($0_1,HEAP32[$1_1>>2],$4_1)){if(!(HEAP32[$1_1+16>>2]!=($2_1|0)&HEAP32[$1_1+20>>2]!=($2_1|0))){if(($3_1|0)!=1){break label$2}HEAP32[$1_1+32>>2]=1;return}HEAP32[$1_1+32>>2]=$3_1;label$6:{if(HEAP32[$1_1+44>>2]==4){break label$6}HEAP16[$1_1+52>>1]=0;$0_1=HEAP32[$0_1+8>>2];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+20>>2]]($0_1,$1_1,$2_1,$2_1,1,$4_1);if(HEAPU8[$1_1+53|0]){HEAP32[$1_1+44>>2]=3;if(!HEAPU8[$1_1+52|0]){break label$6}break label$2}HEAP32[$1_1+44>>2]=4}HEAP32[$1_1+20>>2]=$2_1;HEAP32[$1_1+40>>2]=HEAP32[$1_1+40>>2]+1;if(HEAP32[$1_1+36>>2]!=1|HEAP32[$1_1+24>>2]!=2){break label$2}HEAP8[$1_1+54|0]=1;return}$0_1=HEAP32[$0_1+8>>2];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+24>>2]]($0_1,$1_1,$2_1,$3_1,$4_1)}}function $77($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$3_1=HEAP32[$0_1>>2];$5_1=($3_1^-1)&128;$7_1=HEAP32[$0_1+8>>2];label$1:{label$2:{if(!($3_1&15)){$1_1=$0_1+4|0;$0_1=$615($1_1,0);break label$2}$2_1=63;$4_1=global$3;$6_1=HEAP32[$0_1+4>>2];if(HEAP32[$4_1+16>>2]!=($6_1&1073741823)){break label$1}label$4:{if(($3_1&3)!=1){break label$4}$1_1=HEAP32[$0_1+20>>2];if(!$1_1){break label$4}HEAP32[$0_1+20>>2]=$1_1-1;return 0}if(!$5_1){HEAP32[$4_1+76>>2]=$0_1+16;Atomics.add(HEAP32,0+69308>>2,1)}$1_1=$0_1+4|0;$2_1=HEAP32[$0_1+12>>2];$0_1=HEAP32[$0_1+16>>2];HEAP32[$2_1>>2]=$0_1;if(($0_1|0)!=($4_1+68|0)){HEAP32[$0_1-4>>2]=$2_1}$0_1=$615($1_1,($6_1<<1&$3_1<<29)>>31&2147483647);if($5_1){break label$2}HEAP32[$4_1+76>>2]=0;if(!((Atomics.add(HEAP32,0+69308>>2,-1)|0)!=1|!HEAP32[17328])){$191(69308,2147483647)}}$2_1=0;if(!$7_1&($0_1|0)>=0){break label$1}$215($1_1)}return $2_1}function $302($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0;if($0_1&3){$0_1=-28}else{$642();if(!global$5){$6_1=+fimport$7();$369(0,$0_1);label$4:{label$5:{$2_1=$6_1+$2_1;if(+fimport$7()>$2_1){break label$5}label$6:{while(1){$3_1=0;if(!$369($0_1,0)){break label$6}$642();if((Atomics.load(HEAP32,$0_1>>2)|0)==($1_1|0)){$369(0,$0_1);if(+fimport$7()>$2_1){break label$5}continue}break}$3_1=-6}break label$4}$369($0_1,0);$3_1=-73}return $3_1}$4_1=$2_1!=infinity;$3_1=$0_1;$2_1=$2_1*1e3*1e3;label$9:{if(Math_abs($2_1)<0x8000000000000000){$0_1=Math_abs($2_1)>=1?~~($2_1>0?Math_min(Math_floor($2_1*2.3283064365386963e-10),4294967295):Math_ceil(($2_1-+(~~$2_1>>>0>>>0))*2.3283064365386963e-10))>>>0:0;$5_1=~~$2_1>>>0;break label$9}$0_1=-2147483648;$5_1=0}$0_1=wasm2js_atomic_wait_i32($3_1|0,$1_1|0,($4_1?$5_1:-1)|0,($4_1?$0_1:-1)|0)|0;$0_1=($0_1|0)==1?-6:($0_1|0)==2?-73:0}return $0_1}function $1073($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;var $7_1=0,$8_1=0;$4_1=HEAP32[$0_1+456>>2];$8_1=$4_1+24|0;$6_1=HEAP32[$4_1+24>>2];label$1:{if($6_1){$7_1=HEAP32[$4_1+12>>2];break label$1}$7_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+28>>2]]($0_1,HEAP32[$4_1+8>>2],HEAP32[$4_1+20>>2],HEAP32[$4_1+16>>2],1)|0;HEAP32[$4_1+12>>2]=$7_1;$6_1=HEAP32[$4_1+24>>2]}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+476>>2]+4>>2]]($0_1,$1_1,$2_1,$3_1,$7_1,$8_1,HEAP32[$4_1+16>>2]);$1_1=HEAP32[$4_1+24>>2];if($1_1>>>0>$6_1>>>0){$1_1=$1_1-$6_1|0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1+484>>2]+4>>2]]($0_1,HEAP32[$4_1+12>>2]+($6_1<<2)|0,0,$1_1);HEAP32[$5_1>>2]=$1_1+HEAP32[$5_1>>2];$1_1=HEAP32[$4_1+24>>2]}$0_1=HEAP32[$4_1+16>>2];if($0_1>>>0<=$1_1>>>0){HEAP32[$4_1+24>>2]=0;HEAP32[$4_1+20>>2]=$0_1+HEAP32[$4_1+20>>2]}}function $253($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0;$1_1=(wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2));if(($1_1|0)==1065353216){return Math_fround(0)}label$2:{if($1_1-2139095040>>>0<=2164260863){$2_1=$1_1<<1;if(!$2_1){$1_1=global$0-16|0;HEAPF32[$1_1+12>>2]=-1;return Math_fround(HEAPF32[$1_1+12>>2]/Math_fround(0))}if(($1_1|0)==2139095040){break label$2}if(!($2_1>>>0<4278190080&($1_1|0)>=0)){return $634($0_1)}$1_1=(wasm2js_scratch_store_f32(Math_fround($0_1*Math_fround(8388608))),wasm2js_scratch_load_i32(2))-192937984|0}$2_1=$1_1-1060306944|0;$4_1=$2_1>>>15&240;$3_1=+(wasm2js_scratch_store_i32(2,$1_1-($2_1&-8388608)|0),wasm2js_scratch_load_f32())*HEAPF64[$4_1+46e3>>3]+-1;$5_1=$3_1*$3_1;$0_1=Math_fround((HEAPF64[5783]*$5_1+(HEAPF64[5784]*$3_1+HEAPF64[5785]))*$5_1+(+($2_1>>23)*HEAPF64[5782]+HEAPF64[$4_1+46008>>3]+$3_1))}return $0_1}function $363($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$1_1=$436($0_1,61);if(($1_1|0)==($0_1|0)){return 0}$5_1=$1_1-$0_1|0;label$2:{if(HEAPU8[$5_1+$0_1|0]){break label$2}$4_1=HEAP32[16984];if(!$4_1){break label$2}$3_1=HEAP32[$4_1>>2];if(!$3_1){break label$2}while(1){label$4:{$1_1=$0_1;$7_1=0;$6_1=$5_1;$2_1=0;label$5:{if(!$5_1){break label$5}$2_1=HEAPU8[$1_1|0];label$6:{if(!$2_1){break label$6}while(1){label$8:{$8_1=HEAPU8[$3_1|0];if(!$8_1){break label$8}$6_1=$6_1-1|0;if(!$6_1|($2_1|0)!=($8_1|0)){break label$8}$3_1=$3_1+1|0;$2_1=HEAPU8[$1_1+1|0];$1_1=$1_1+1|0;if($2_1){continue}break label$6}break}$7_1=$2_1}$2_1=($7_1&255)-HEAPU8[$3_1|0]|0}if(!$2_1){$1_1=HEAP32[$4_1>>2]+$5_1|0;if(HEAPU8[$1_1|0]==61){break label$4}}$3_1=HEAP32[$4_1+4>>2];$4_1=$4_1+4|0;if($3_1){continue}break label$2}break}$9_1=$1_1+1|0}return $9_1}function $211($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0,$8_1=0,$9_1=0;label$1:{if($5_1&64){$2_1=$5_1+-64|0;$1_1=$2_1&31;if(($2_1&63)>>>0>=32){$2_1=0;$1_1=$4_1>>>$1_1|0}else{$2_1=$4_1>>>$1_1|0;$1_1=((1<<$1_1)-1&$4_1)<<32-$1_1|$3_1>>>$1_1}$3_1=0;$4_1=0;break label$1}if(!$5_1){break label$1}$8_1=$3_1;$7_1=64-$5_1|0;$6_1=$7_1&31;if(($7_1&63)>>>0>=32){$7_1=$8_1<<$6_1;$9_1=0}else{$7_1=(1<<$6_1)-1&$8_1>>>32-$6_1|$4_1<<$6_1;$9_1=$8_1<<$6_1}$8_1=$1_1;$1_1=$5_1&31;if(($5_1&63)>>>0>=32){$6_1=0;$1_1=$2_1>>>$1_1|0}else{$6_1=$2_1>>>$1_1|0;$1_1=((1<<$1_1)-1&$2_1)<<32-$1_1|$8_1>>>$1_1}$1_1=$9_1|$1_1;$2_1=$6_1|$7_1;$6_1=$3_1;$3_1=$5_1&31;if(($5_1&63)>>>0>=32){$7_1=0;$3_1=$4_1>>>$3_1|0}else{$7_1=$4_1>>>$3_1|0;$3_1=((1<<$3_1)-1&$4_1)<<32-$3_1|$6_1>>>$3_1}$4_1=$7_1}HEAP32[$0_1>>2]=$1_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$0_1+8>>2]=$3_1;HEAP32[$0_1+12>>2]=$4_1}function $1365($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$6_1=global$0-32|0;global$0=$6_1;HEAP32[$6_1+24>>2]=$1_1;label$1:{if(!(HEAP32[$3_1+4>>2]&1)){HEAP32[$6_1>>2]=-1;$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+16>>2]]($0_1,$1_1,$2_1,$3_1,$4_1,$6_1)|0;HEAP32[$6_1+24>>2]=$1_1;label$3:{switch(HEAP32[$6_1>>2]){case 0:HEAP8[$5_1|0]=0;break label$1;case 1:HEAP8[$5_1|0]=1;break label$1;default:break label$3}}HEAP8[$5_1|0]=1;HEAP32[$4_1>>2]=4;break label$1}$30($6_1,$3_1);$1_1=$106($6_1);$19($6_1);$30($6_1,$3_1);$0_1=$293($6_1);$19($6_1);$152($6_1,$0_1);$151($6_1|12,$0_1);$3_1=$6_1+24|0;HEAP8[$5_1|0]=($419($3_1,$2_1,$6_1,$3_1,$1_1,$4_1,1)|0)==($6_1|0);$1_1=HEAP32[$6_1+24>>2];while(1){$3_1=$8($3_1-12|0);if(($6_1|0)!=($3_1|0)){continue}break}}global$0=$6_1+32|0;return $1_1|0}function $1356($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$6_1=global$0-32|0;global$0=$6_1;HEAP32[$6_1+24>>2]=$1_1;label$1:{if(!(HEAP32[$3_1+4>>2]&1)){HEAP32[$6_1>>2]=-1;$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+16>>2]]($0_1,$1_1,$2_1,$3_1,$4_1,$6_1)|0;HEAP32[$6_1+24>>2]=$1_1;label$3:{switch(HEAP32[$6_1>>2]){case 0:HEAP8[$5_1|0]=0;break label$1;case 1:HEAP8[$5_1|0]=1;break label$1;default:break label$3}}HEAP8[$5_1|0]=1;HEAP32[$4_1>>2]=4;break label$1}$30($6_1,$3_1);$1_1=$101($6_1);$19($6_1);$30($6_1,$3_1);$0_1=$291($6_1);$19($6_1);$152($6_1,$0_1);$151($6_1|12,$0_1);$3_1=$6_1+24|0;HEAP8[$5_1|0]=($417($3_1,$2_1,$6_1,$3_1,$1_1,$4_1,1)|0)==($6_1|0);$1_1=HEAP32[$6_1+24>>2];while(1){$3_1=$8($3_1-12|0);if(($6_1|0)!=($3_1|0)){continue}break}}global$0=$6_1+32|0;return $1_1|0}function $944($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$4_1=global$0-16|0;global$0=$4_1;label$1:{label$2:{label$3:{if(($0_1|0)!=($1_1|0)){label$5:{label$6:{$6_1=HEAPU8[$0_1|0];if(($6_1|0)!=45){break label$6}$0_1=$0_1+1|0;if(($1_1|0)!=($0_1|0)){break label$6}break label$5}$5_1=$22();$8_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=0;$43();$0_1=$530($0_1,$4_1+12|0,$3_1);$3_1=i64toi32_i32$HIGH_BITS;$7_1=HEAP32[$5_1>>2];label$7:{if($7_1){if(HEAP32[$4_1+12>>2]!=($1_1|0)){break label$7}if(($7_1|0)==68){break label$3}break label$2}HEAP32[$5_1>>2]=$8_1;if(HEAP32[$4_1+12>>2]==($1_1|0)){break label$2}}}}HEAP32[$2_1>>2]=4;$1_1=0;$0_1=0;break label$1}HEAP32[$2_1>>2]=4;$1_1=-1;$0_1=-1;break label$1}$2_1=($6_1|0)==45;$1_1=$2_1?0-$0_1|0:$0_1;$0_1=$2_1?0-($3_1+(($0_1|0)!=0)|0)|0:$3_1}global$0=$4_1+16|0;i64toi32_i32$HIGH_BITS=$0_1;return $1_1}function $134($0_1,$1_1){var $2_1=Math_fround(0);$2_1=HEAPF32[$0_1>>2];HEAPF32[$0_1>>2]=HEAPF32[$1_1>>2];HEAPF32[$1_1>>2]=$2_1;$2_1=HEAPF32[$0_1+4>>2];HEAPF32[$0_1+4>>2]=HEAPF32[$1_1+4>>2];HEAPF32[$1_1+4>>2]=$2_1;$2_1=HEAPF32[$0_1+8>>2];HEAPF32[$0_1+8>>2]=HEAPF32[$1_1+8>>2];HEAPF32[$1_1+8>>2]=$2_1;$2_1=HEAPF32[$0_1+12>>2];HEAPF32[$0_1+12>>2]=HEAPF32[$1_1+12>>2];HEAPF32[$1_1+12>>2]=$2_1;$2_1=HEAPF32[$0_1+16>>2];HEAPF32[$0_1+16>>2]=HEAPF32[$1_1+16>>2];HEAPF32[$1_1+16>>2]=$2_1;$2_1=HEAPF32[$0_1+20>>2];HEAPF32[$0_1+20>>2]=HEAPF32[$1_1+20>>2];HEAPF32[$1_1+20>>2]=$2_1;$2_1=HEAPF32[$0_1+24>>2];HEAPF32[$0_1+24>>2]=HEAPF32[$1_1+24>>2];HEAPF32[$1_1+24>>2]=$2_1;$2_1=HEAPF32[$0_1+28>>2];HEAPF32[$0_1+28>>2]=HEAPF32[$1_1+28>>2];HEAPF32[$1_1+28>>2]=$2_1;$2_1=HEAPF32[$0_1+32>>2];HEAPF32[$0_1+32>>2]=HEAPF32[$1_1+32>>2];HEAPF32[$1_1+32>>2]=$2_1}function $1075($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=HEAP32[$0_1+456>>2];label$1:{label$2:{switch($1_1|0){case 0:if(HEAP32[$0_1+84>>2]){HEAP32[$2_1+4>>2]=191;if(HEAP32[$2_1+12>>2]){break label$1}HEAP32[$2_1+12>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]+28>>2]]($0_1,HEAP32[$2_1+8>>2],0,HEAP32[$2_1+16>>2],1);break label$1}HEAP32[$2_1+4>>2]=HEAP32[HEAP32[$0_1+476>>2]+4>>2];break label$1;case 3:if(!HEAP32[$2_1+8>>2]){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=3;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}HEAP32[$2_1+4>>2]=192;break label$1;case 2:if(!HEAP32[$2_1+8>>2]){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=3;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}HEAP32[$2_1+4>>2]=193;break label$1;default:break label$2}}$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=3;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}HEAP32[$2_1+20>>2]=0;HEAP32[$2_1+24>>2]=0}function $353($0_1,$1_1,$2_1){var $3_1=0,$4_1=0;$4_1=$0_1;label$1:{label$2:{label$3:{label$4:{if(($4_1^$1_1)&3){break label$4}$3_1=($2_1|0)!=0;label$5:{if(!($1_1&3)|!$2_1){break label$5}while(1){$3_1=HEAPU8[$1_1|0];HEAP8[$4_1|0]=$3_1;if(!$3_1){break label$1}$4_1=$4_1+1|0;$2_1=$2_1-1|0;$3_1=($2_1|0)!=0;$1_1=$1_1+1|0;if(!($1_1&3)){break label$5}if($2_1){continue}break}}if(!$3_1){break label$2}if(!HEAPU8[$1_1|0]){break label$1}if($2_1>>>0<4){break label$4}while(1){$3_1=HEAP32[$1_1>>2];if(($3_1^-1)&$3_1-16843009&-2139062144){break label$3}HEAP32[$4_1>>2]=$3_1;$4_1=$4_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1-4|0;if($2_1>>>0>3){continue}break}}if(!$2_1){break label$2}}while(1){$3_1=HEAPU8[$1_1|0];HEAP8[$4_1|0]=$3_1;if(!$3_1){break label$1}$4_1=$4_1+1|0;$1_1=$1_1+1|0;$2_1=$2_1-1|0;if($2_1){continue}break}}$2_1=0}$11($4_1,0,$2_1);return $0_1}function $1150($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0;$3_1=global$0-48|0;global$0=$3_1;HEAP32[$3_1+44>>2]=$0_1;HEAP32[$3_1+40>>2]=$26(67484,$3_1+44|0);HEAP32[$3_1+32>>2]=$23();label$1:{if($31($3_1+40|0,$3_1+32|0)){$0_1=HEAP32[15939];break label$1}$0_1=$32($3_1+44|0)+328|0;if(!($12($0_1)>>>0>$1_1>>>0&($1_1|0)>=0)){$0_1=HEAP32[15941];break label$1}$0_1=$29($0_1,$1_1);label$4:{if(($2_1|0)>=0){$0_1=HEAP32[$0_1+4>>2];if(HEAP32[$0_1+4>>2]>($2_1|0)){break label$4}}$0_1=HEAP32[15940];break label$1}$0_1=HEAP32[$0_1>>2]+Math_imul($2_1,320)|0;$688($0_1+16|0);$1_1=HEAP32[$0_1+304>>2];$2_1=HEAP32[$0_1>>2];$4_1=HEAP32[$0_1+4>>2];HEAPF64[$3_1+16>>3]=HEAPF64[$0_1+8>>3];HEAP32[$3_1+8>>2]=$4_1;HEAP32[$3_1+4>>2]=$2_1;HEAP32[$3_1>>2]=$1_1;fimport$8(65549,38102,$3_1|0)|0;$0_1=0}global$0=$3_1+48|0;return $0_1|0}function $92($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0,$8_1=0;label$1:{if($5_1&64){$3_1=$1_1;$4_1=$5_1+-64|0;$1_1=$4_1&31;if(($4_1&63)>>>0>=32){$4_1=$3_1<<$1_1;$3_1=0}else{$4_1=(1<<$1_1)-1&$3_1>>>32-$1_1|$2_1<<$1_1;$3_1=$3_1<<$1_1}$1_1=0;$2_1=0;break label$1}if(!$5_1){break label$1}$6_1=$3_1;$3_1=$5_1&31;if(($5_1&63)>>>0>=32){$7_1=$6_1<<$3_1;$8_1=0}else{$7_1=(1<<$3_1)-1&$6_1>>>32-$3_1|$4_1<<$3_1;$8_1=$6_1<<$3_1}$6_1=$1_1;$4_1=64-$5_1|0;$3_1=$4_1&31;if(($4_1&63)>>>0>=32){$4_1=0;$1_1=$2_1>>>$3_1|0}else{$4_1=$2_1>>>$3_1|0;$1_1=((1<<$3_1)-1&$2_1)<<32-$3_1|$6_1>>>$3_1}$3_1=$8_1|$1_1;$4_1=$4_1|$7_1;$1_1=$5_1&31;if(($5_1&63)>>>0>=32){$7_1=$6_1<<$1_1;$1_1=0}else{$7_1=(1<<$1_1)-1&$6_1>>>32-$1_1|$2_1<<$1_1;$1_1=$6_1<<$1_1}$2_1=$7_1}HEAP32[$0_1>>2]=$1_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$0_1+8>>2]=$3_1;HEAP32[$0_1+12>>2]=$4_1}function $617($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=0;$6_1=$0_1+32|0;$360($6_1);$2_1=HEAP32[$0_1+20>>2];$4_1=($2_1|0)!=0;label$1:{if(!$1_1|!$2_1){break label$1}while(1){label$3:{if($113($2_1+8|0,0,1)){HEAP32[$3_1+12>>2]=HEAP32[$3_1+12>>2]+1;HEAP32[$2_1+16>>2]=$3_1+12;break label$3}$5_1=$5_1?$5_1:$2_1;$1_1=$1_1-1|0}$2_1=HEAP32[$2_1>>2];$4_1=($2_1|0)!=0;if(!$1_1){break label$1}if($2_1){continue}break}}label$5:{if($4_1){$1_1=$2_1+4|0;$4_1=HEAP32[$2_1+4>>2];if(!$4_1){break label$5}HEAP32[$4_1>>2]=0;break label$5}$1_1=$0_1+4|0}HEAP32[$1_1>>2]=0;HEAP32[$0_1+20>>2]=$2_1;$359($6_1);$2_1=HEAP32[$3_1+12>>2];if($2_1){while(1){$254($3_1+12|0,0,$2_1);$2_1=HEAP32[$3_1+12>>2];if($2_1){continue}break}}if($5_1){$359($5_1+12|0)}global$0=$3_1+16|0;return 0}function $947($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$4_1=global$0-16|0;global$0=$4_1;label$1:{label$2:{label$3:{label$4:{if(($0_1|0)!=($1_1|0)){label$6:{label$7:{$6_1=HEAPU8[$0_1|0];if(($6_1|0)!=45){break label$7}$0_1=$0_1+1|0;if(($1_1|0)!=($0_1|0)){break label$7}break label$6}$5_1=$22();$8_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=0;$43();$0_1=$530($0_1,$4_1+12|0,$3_1);$3_1=i64toi32_i32$HIGH_BITS;$7_1=HEAP32[$5_1>>2];label$8:{if($7_1){if(HEAP32[$4_1+12>>2]!=($1_1|0)){break label$8}if(($7_1|0)==68){break label$3}break label$4}HEAP32[$5_1>>2]=$8_1;if(HEAP32[$4_1+12>>2]==($1_1|0)){break label$4}}}}HEAP32[$2_1>>2]=4;$0_1=0;break label$1}if(!$3_1&$0_1>>>0<=65535){break label$2}}HEAP32[$2_1>>2]=4;$0_1=65535;break label$1}$0_1=($6_1|0)==45?0-$0_1|0:$0_1}global$0=$4_1+16|0;return $0_1&65535}function $264($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=Math_fround(0),$5_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$1_1;label$1:{if(($1_1|0)==1){$1_1=2}else{if(!($1_1-1&$1_1)){break label$1}$1_1=$578($1_1)}HEAP32[$2_1+12>>2]=$1_1}$3_1=$104($0_1);label$4:{if($3_1>>>0<$1_1>>>0){$752($0_1,$1_1);break label$4}if($1_1>>>0>=$3_1>>>0){break label$4}$5_1=$224($3_1);$4_1=Math_fround(Math_ceil(Math_fround(Math_fround(HEAPU32[$13($0_1)>>2])/HEAPF32[$45($0_1)>>2])));label$6:{if($4_1=Math_fround(0)){$1_1=~~$4_1>>>0;break label$6}$1_1=0}if($5_1){$1_1=$1_1>>>0>=2?1<<32-Math_clz32($1_1-1|0):$1_1}else{$1_1=$578($1_1)}HEAP32[$2_1+8>>2]=$1_1;$1_1=HEAP32[$67($2_1+12|0,$2_1+8|0)>>2];HEAP32[$2_1+12>>2]=$1_1;if($1_1>>>0>=$3_1>>>0){break label$4}$752($0_1,$1_1)}global$0=$2_1+16|0}function $740($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$3_1=global$0-16|0;global$0=$3_1;label$1:{if(!$0_1){$4_1=-1;break label$1}if(HEAP32[$0_1+7062388>>2]==($1_1|0)){break label$1}$2_1=HEAP32[$0_1+7062408>>2];if($2_1){$17($2_1);HEAP32[$0_1+7062408>>2]=0}label$4:{label$5:{switch($1_1|0){case 1:case 2:case 3:$5_1=HEAP32[$0_1+36>>2];$6_1=HEAP32[$0_1+40>>2];$2_1=$7(2064);if($2_1){HEAP32[$2_1+8>>2]=$6_1;HEAP32[$2_1+4>>2]=$5_1;HEAP32[$2_1>>2]=0}HEAP32[$0_1+7062408>>2]=$2_1;break label$4;case 4:HEAP32[$0_1+7062400>>2]=1;HEAP32[$0_1+7062404>>2]=1;$1_1=4;break label$4;case 0:break label$4;default:break label$5}}$1_1=0;$5(0,3,2805,0)}HEAP32[$0_1+7062388>>2]=$1_1;if(HEAP32[$0_1>>2]!=1){break label$1}HEAP32[$3_1>>2]=HEAP32[($1_1<<2)+6496>>2];$5(0,3,7037,$3_1)}global$0=$3_1+16|0;return $4_1}function $1132($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;$1_1=HEAP32[$0_1+20>>2];label$1:{if(!(HEAP32[$0_1+64>>2]|$1_1-205>>>0>1)){if(HEAPU32[$0_1+140>>2]>2]){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=69;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+444>>2]+4>>2]]($0_1);HEAP32[$0_1+20>>2]=210;break label$1}label$4:{switch($1_1-207|0){case 0:HEAP32[$0_1+20>>2]=210;break label$1;case 3:break label$1;default:break label$4}}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$1_1;HEAP32[$2_1+20>>2]=21;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}label$6:{while(1){$1_1=HEAP32[$0_1+460>>2];if(HEAP32[$1_1+20>>2]){break label$6}if(FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)|0){continue}break}return 0}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+24>>2]+24>>2]]($0_1);$680($0_1);return 1}function $1130($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$4_1=global$0-16|0;global$0=$4_1;$3_1=HEAP32[$0_1+20>>2];if(($3_1|0)!=205){$5_1=HEAP32[$0_1>>2];HEAP32[$5_1+24>>2]=$3_1;HEAP32[$5_1+20>>2]=21;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$5_1=HEAP32[$0_1+116>>2];$6_1=HEAP32[$0_1+140>>2];label$2:{if($5_1>>>0<=$6_1>>>0){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=126;FUNCTION_TABLE[HEAP32[$1_1+4>>2]]($0_1,-1);$2_1=0;break label$2}$3_1=HEAP32[$0_1+8>>2];if($3_1){HEAP32[$3_1+8>>2]=$5_1;HEAP32[$3_1+4>>2]=$6_1;FUNCTION_TABLE[HEAP32[$3_1>>2]]($0_1)}HEAP32[$4_1+12>>2]=0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1+448>>2]+4>>2]]($0_1,$1_1,$4_1+12|0,$2_1);$2_1=HEAP32[$4_1+12>>2];HEAP32[$0_1+140>>2]=$2_1+HEAP32[$0_1+140>>2]}global$0=$4_1+16|0;return $2_1|0}function $998($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$4_1=global$0-32|0;global$0=$4_1;HEAP32[$4_1+16>>2]=$1_1;$3_1=HEAP32[$0_1+48>>2];HEAP32[$4_1+20>>2]=$2_1-(($3_1|0)!=0);$5_1=HEAP32[$0_1+44>>2];HEAP32[$4_1+28>>2]=$3_1;HEAP32[$4_1+24>>2]=$5_1;label$1:{label$2:{if($351(fimport$41(HEAP32[$0_1+60>>2],$4_1+16|0,2,$4_1+12|0)|0)){$1_1=32}else{$3_1=HEAP32[$4_1+12>>2];if(($3_1|0)>0){break label$2}$1_1=$3_1?32:16}HEAP32[$0_1>>2]=$1_1|HEAP32[$0_1>>2];break label$1}$6_1=$3_1;$5_1=HEAP32[$4_1+20>>2];if($5_1>>>0>=$3_1>>>0){break label$1}$3_1=HEAP32[$0_1+44>>2];HEAP32[$0_1+4>>2]=$3_1;HEAP32[$0_1+8>>2]=$3_1+($6_1-$5_1|0);if(HEAP32[$0_1+48>>2]){HEAP32[$0_1+4>>2]=$3_1+1;HEAP8[($1_1+$2_1|0)-1|0]=HEAPU8[$3_1|0]}$6_1=$2_1}global$0=$4_1+32|0;return $6_1|0}function $1019($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$4_1=HEAP32[$0_1+4>>2];if($2_1>>>0>=999999985){$3_1=HEAP32[$0_1>>2];HEAP32[$3_1+20>>2]=56;HEAP32[$3_1+24>>2]=3;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$3_1=$2_1;$2_1=$2_1&7;$3_1=$3_1+($2_1?8-$2_1|0:0)|0;if($1_1>>>0>=2){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+24>>2]=$1_1;HEAP32[$2_1+20>>2]=15;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$5_1=$3_1+16|0;$2_1=$7($5_1);if(!$2_1){$6_1=HEAP32[$0_1>>2];HEAP32[$6_1+20>>2]=56;HEAP32[$6_1+24>>2]=4;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}HEAP32[$4_1+76>>2]=HEAP32[$4_1+76>>2]+$5_1;$0_1=($1_1<<2)+$4_1|0;$1_1=HEAP32[$0_1+60>>2];HEAP32[$2_1+8>>2]=0;HEAP32[$2_1+4>>2]=$3_1;HEAP32[$2_1>>2]=$1_1;HEAP32[$0_1+60>>2]=$2_1;return $2_1+16|0}function $978($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0,$6_1=0,wasm2js_i32$0=0,wasm2js_i32$1=0,wasm2js_i32$2=0;$4_1=global$0-16|0;global$0=$4_1;while(1){label$2:{if(($2_1|0)<=($5_1|0)){break label$2}$3_1=HEAP32[$0_1+28>>2];$6_1=HEAP32[$0_1+24>>2];if($3_1>>>0<=$6_1>>>0){if(((wasm2js_i32$1=$0_1,wasm2js_i32$2=$153(HEAP8[$1_1|0]),wasm2js_i32$0=HEAP32[HEAP32[$0_1>>2]+52>>2],FUNCTION_TABLE[wasm2js_i32$0](wasm2js_i32$1|0,wasm2js_i32$2|0)|0)|0)==-1){break label$2}$5_1=$5_1+1|0;$1_1=$1_1+1|0}else{HEAP32[$4_1+12>>2]=$3_1-$6_1;HEAP32[$4_1+8>>2]=$2_1-$5_1;$3_1=HEAP32[$243($4_1+12|0,$4_1+8|0)>>2];$154(HEAP32[$0_1+24>>2],$1_1,$3_1);HEAP32[$0_1+24>>2]=$3_1+HEAP32[$0_1+24>>2];$5_1=$5_1+$3_1|0;$1_1=$1_1+$3_1|0}continue}break}global$0=$4_1+16|0;return $5_1|0}function $864($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){var $8_1=0,$9_1=0,$10_1=0,$11_1=0;$8_1=global$0-16|0;global$0=$8_1;if(($1_1^-1)+1073741807>>>0>=$2_1>>>0){$9_1=$15($0_1);label$2:{if($1_1>>>0<536870887){HEAP32[$8_1+8>>2]=$1_1<<1;HEAP32[$8_1+12>>2]=$1_1+$2_1;$2_1=$286(HEAP32[$67($8_1+12|0,$8_1+8|0)>>2]);break label$2}$2_1=1073741806}$10_1=$2_1+1|0;$2_1=$285($0_1,$10_1);if($4_1){$164($2_1,$9_1,$4_1)}if($6_1){$164($2_1+($4_1<<2)|0,$7_1,$6_1)}$11_1=$4_1+$5_1|0;$7_1=$3_1-$11_1|0;if(($3_1|0)!=($11_1|0)){$3_1=$4_1<<2;$164(($3_1+$2_1|0)+($6_1<<2)|0,($3_1+$9_1|0)+($5_1<<2)|0,$7_1)}if(($1_1|0)!=1){$1($9_1)}$105($0_1,$2_1);$138($0_1,$10_1);$1_1=$0_1;$0_1=$7_1+($4_1+$6_1|0)|0;$98($1_1,$0_1);HEAP32[$8_1+4>>2]=0;$129($2_1+($0_1<<2)|0,$8_1+4|0);global$0=$8_1+16|0;return}$137();abort()}function $1114($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0;if(($4_1|0)>0){$6_1=HEAP32[$0_1+112>>2];$5_1=HEAP32[HEAP32[$0_1+480>>2]+24>>2];while(1){$0_1=$4_1;if($6_1){$4_1=$2_1<<2;$9_1=HEAP32[$4_1+HEAP32[$1_1+8>>2]>>2];$10_1=HEAP32[$4_1+HEAP32[$1_1+4>>2]>>2];$11_1=HEAP32[$4_1+HEAP32[$1_1>>2]>>2];$12_1=HEAP32[$3_1>>2];$4_1=0;while(1){$7_1=HEAPU8[$4_1+$10_1|0];$8_1=$7_1^-128;HEAP8[$4_1+$12_1|0]=HEAP32[((($8_1+HEAPU8[$4_1+$9_1|0]&255)<<2)+$5_1|0)+2048>>2]+(HEAP32[(($7_1<<2)+$5_1|0)+1024>>2]+HEAP32[(($8_1+HEAPU8[$4_1+$11_1|0]&255)<<2)+$5_1>>2]|0)>>>16;$4_1=$4_1+1|0;if(($6_1|0)!=($4_1|0)){continue}break}}$3_1=$3_1+4|0;$2_1=$2_1+1|0;$4_1=$0_1-1|0;if(($0_1|0)>=2){continue}break}}}function $945($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$4_1=global$0-16|0;global$0=$4_1;label$1:{label$2:{label$3:{label$4:{if(($0_1|0)!=($1_1|0)){label$6:{label$7:{$6_1=HEAPU8[$0_1|0];if(($6_1|0)!=45){break label$7}$0_1=$0_1+1|0;if(($1_1|0)!=($0_1|0)){break label$7}break label$6}$5_1=$22();$8_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=0;$43();$0_1=$530($0_1,$4_1+12|0,$3_1);$3_1=i64toi32_i32$HIGH_BITS;$7_1=HEAP32[$5_1>>2];label$8:{if($7_1){if(HEAP32[$4_1+12>>2]!=($1_1|0)){break label$8}if(($7_1|0)==68){break label$3}break label$4}HEAP32[$5_1>>2]=$8_1;if(HEAP32[$4_1+12>>2]==($1_1|0)){break label$4}}}}HEAP32[$2_1>>2]=4;$0_1=0;break label$1}if(!$3_1){break label$2}}HEAP32[$2_1>>2]=4;$0_1=-1;break label$1}$0_1=($6_1|0)==45?0-$0_1|0:$0_1}global$0=$4_1+16|0;return $0_1}function $673($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$1_1=HEAP32[$0_1+480>>2];HEAP32[$1_1+8>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024);HEAP32[$1_1+12>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024);HEAP32[$1_1+16>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024);$3_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,1,1024)|0;HEAP32[$1_1+20>>2]=$3_1;$4_1=HEAP32[$1_1+16>>2];$5_1=HEAP32[$1_1+12>>2];$6_1=HEAP32[$1_1+8>>2];$1_1=0;$0_1=-128;while(1){$2_1=$1_1<<2;HEAP32[$6_1+$2_1>>2]=Math_imul($0_1,91881)+32768>>16;HEAP32[$2_1+$5_1>>2]=Math_imul($0_1,116130)+32768>>16;HEAP32[$2_1+$4_1>>2]=Math_imul($0_1,-46802);HEAP32[$2_1+$3_1>>2]=Math_imul($0_1,-22553)+32768;$0_1=$0_1+1|0;$1_1=$1_1+1|0;if(($1_1|0)!=256){continue}break}}function $668($0_1){var $1_1=0,$2_1=0,$3_1=0;label$1:{if(HEAP32[$0_1+308>>2]){break label$1}label$2:{switch(HEAP32[$0_1+40>>2]-3|0){case 0:case 4:break label$2;default:break label$1}}if(HEAP32[$0_1+36>>2]!=3|HEAP32[$0_1+44>>2]!=2|(HEAP32[$0_1+304>>2]|HEAP32[$0_1+120>>2]!=3)){break label$1}$1_1=HEAP32[$0_1+216>>2];if(HEAP32[$1_1+8>>2]!=2|HEAP32[$1_1+96>>2]!=1|(HEAP32[$1_1+184>>2]!=1|HEAP32[$1_1+12>>2]>2)){break label$1}if(HEAP32[$1_1+100>>2]!=1|HEAP32[$1_1+188>>2]!=1){break label$1}$2_1=HEAP32[$1_1+36>>2];if(($2_1|0)!=HEAP32[$0_1+324>>2]|($2_1|0)!=HEAP32[$1_1+124>>2]|($2_1|0)!=HEAP32[$1_1+212>>2]){break label$1}$2_1=HEAP32[$0_1+328>>2];$0_1=HEAP32[$1_1+40>>2];if(($2_1|0)!=($0_1|0)|($0_1|0)!=HEAP32[$1_1+128>>2]){break label$1}$3_1=($0_1|0)==HEAP32[$1_1+216>>2]}return $3_1}function $777($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0;$2_1=$76($0_1);if($2_1>>>0<$1_1>>>0){$4_1=global$0-32|0;global$0=$4_1;$3_1=$1_1-$2_1|0;label$2:{if($3_1>>>0<=(HEAP32[$4($0_1)>>2]-HEAP32[$0_1+4>>2]|0)/20>>>0){$770($0_1,$3_1);break label$2}$1_1=$4($0_1);$2_1=$842($4_1+8|0,$516($0_1,$76($0_1)+$3_1|0),$76($0_1),$1_1);$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1>>2]=HEAP32[$2_1+8>>2];$5_1=HEAP32[$2_1+8>>2];HEAP32[$1_1+8>>2]=$2_1+8;HEAP32[$1_1+4>>2]=Math_imul($3_1,20)+$5_1;$3_1=HEAP32[$1_1>>2];while(1){if(HEAP32[$1_1+4>>2]!=($3_1|0)){$767(HEAP32[$1_1>>2]);$3_1=HEAP32[$1_1>>2]+20|0;HEAP32[$1_1>>2]=$3_1;continue}break}$143($1_1);global$0=$1_1+16|0;$841($0_1,$2_1);$840($2_1)}global$0=$4_1+32|0;return}if($1_1>>>0<$2_1>>>0){$774($0_1,HEAP32[$0_1>>2]+Math_imul($1_1,20)|0)}}function $949($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0;$4_1=global$0-16|0;global$0=$4_1;label$1:{label$2:{label$3:{if(($0_1|0)!=($1_1|0)){$5_1=$22();$7_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=0;$43();$0_1=$871($0_1,$4_1+12|0,$3_1);$3_1=i64toi32_i32$HIGH_BITS;$6_1=HEAP32[$5_1>>2];label$5:{if($6_1){if(HEAP32[$4_1+12>>2]!=($1_1|0)){break label$5}if(($6_1|0)==68){break label$2}break label$3}HEAP32[$5_1>>2]=$7_1;if(HEAP32[$4_1+12>>2]==($1_1|0)){break label$3}}}HEAP32[$2_1>>2]=4;$1_1=0;break label$1}if(($3_1|0)<0&$0_1>>>0<2147483648|($3_1|0)<-1|($0_1>>>0>2147483647&($3_1|0)>=0|($3_1|0)>0)){break label$2}$1_1=$0_1;break label$1}HEAP32[$2_1>>2]=4;$1_1=2147483647;if(!!$0_1&($3_1|0)>=0|($3_1|0)>0){break label$1}$1_1=-2147483648}global$0=$4_1+16|0;return $1_1}function $49($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0;$1_1=global$0-32|0;global$0=$1_1;HEAP32[$1_1+12>>2]=0;HEAP32[$1_1+8>>2]=318;$2_1=HEAP32[$1_1+12>>2];HEAP32[$1_1>>2]=HEAP32[$1_1+8>>2];HEAP32[$1_1+4>>2]=$2_1;$4_1=HEAP32[$1_1+4>>2];$3_1=$1_1+16|0;$2_1=$3_1;HEAP32[$2_1+4>>2]=HEAP32[$1_1>>2];HEAP32[$2_1+8>>2]=$4_1;HEAP32[$2_1>>2]=$0_1;$2_1=global$0-16|0;global$0=$2_1;if((Atomics.load(HEAP32,$0_1>>2)|0)!=-1){label$2:{$3_1=$80($2_1,$753($2_1+8|0,$3_1));$70(73984);while(1){if(HEAP32[$0_1>>2]==1){$868(74008,73984);continue}break}if(!HEAP32[$0_1>>2]){Atomics.store(HEAP32,$0_1>>2,1);$77(73984);$894($3_1);$70(73984);Atomics.store(HEAP32,$0_1>>2,-1);$77(73984);$869(74008);break label$2}$77(73984)}}global$0=$2_1+16|0;global$0=$1_1+32|0;return HEAP32[$0_1+4>>2]-1|0}function $52($0_1,$1_1,$2_1){var $3_1=Math_fround(0);$3_1=$705($2_1,$1_1);HEAPF32[$0_1>>2]=HEAPF32[$0_1>>2]-Math_fround($3_1*HEAPF32[$1_1>>2]);HEAPF32[$0_1+4>>2]=HEAPF32[$0_1+4>>2]-Math_fround($3_1*HEAPF32[$1_1+4>>2]);HEAPF32[$0_1+8>>2]=HEAPF32[$0_1+8>>2]-Math_fround($3_1*HEAPF32[$1_1+8>>2]);HEAPF32[$0_1+12>>2]=HEAPF32[$0_1+12>>2]-Math_fround($3_1*HEAPF32[$1_1+12>>2]);HEAPF32[$0_1+16>>2]=HEAPF32[$0_1+16>>2]-Math_fround($3_1*HEAPF32[$1_1+16>>2]);HEAPF32[$0_1+20>>2]=HEAPF32[$0_1+20>>2]-Math_fround($3_1*HEAPF32[$1_1+20>>2]);HEAPF32[$0_1+24>>2]=HEAPF32[$0_1+24>>2]-Math_fround($3_1*HEAPF32[$1_1+24>>2]);HEAPF32[$0_1+28>>2]=HEAPF32[$0_1+28>>2]-Math_fround($3_1*HEAPF32[$1_1+28>>2]);HEAPF32[$0_1+32>>2]=HEAPF32[$0_1+32>>2]-Math_fround($3_1*HEAPF32[$1_1+32>>2])}function $1121($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$1_1=HEAP32[$0_1+24>>2];$2_1=HEAP32[$1_1+4>>2];if(!$2_1){if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){return 0}$2_1=HEAP32[$1_1+4>>2]}$3_1=HEAP32[$1_1>>2];$4_1=HEAPU8[$3_1|0];$5_1=$2_1-1|0;if($5_1){$2_1=$3_1+1|0}else{if(!(FUNCTION_TABLE[HEAP32[$1_1+12>>2]]($0_1)|0)){return 0}$5_1=HEAP32[$1_1+4>>2];$2_1=HEAP32[$1_1>>2]}$3_1=HEAPU8[$2_1|0];$6_1=HEAP32[$0_1>>2];HEAP32[$6_1+20>>2]=93;HEAP32[$6_1+24>>2]=HEAP32[$0_1+440>>2];$3_1=$3_1|$4_1<<8;$4_1=$3_1-2|0;HEAP32[HEAP32[$0_1>>2]+28>>2]=$4_1;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,1);HEAP32[$1_1+4>>2]=$5_1-1;HEAP32[$1_1>>2]=$2_1+1;if($3_1>>>0>=3){FUNCTION_TABLE[HEAP32[HEAP32[$0_1+24>>2]+16>>2]]($0_1,$4_1)}return 1}function $178($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0;if(($2_1|0)<($4_1|0)){if(!$56($0_1,$1_1,$2_1,$4_1)){return-1}$2_1=HEAP32[$0_1+12>>2];$1_1=HEAP32[$0_1+8>>2]}$6_1=$4_1<<2;$2_1=$2_1-$4_1|0;$5_1=HEAP32[$6_1+40080>>2]&$1_1>>$2_1;if(($5_1|0)>HEAP32[$3_1+$6_1>>2]){while(1){if(($2_1|0)<=0){if(!$56($0_1,$1_1,$2_1,1)){return-1}$2_1=HEAP32[$0_1+12>>2];$1_1=HEAP32[$0_1+8>>2]}$2_1=$2_1-1|0;$5_1=$1_1>>>$2_1&1|$5_1<<1;$4_1=$4_1+1|0;if(($5_1|0)>HEAP32[($4_1<<2)+$3_1>>2]){continue}break}}HEAP32[$0_1+12>>2]=$2_1;HEAP32[$0_1+8>>2]=$1_1;if(($4_1|0)>=17){$0_1=HEAP32[$0_1+16>>2];$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=121;FUNCTION_TABLE[HEAP32[$1_1+4>>2]]($0_1,-1);return 0}return HEAPU8[(HEAP32[$3_1+140>>2]+(HEAP32[(($4_1<<2)+$3_1|0)+72>>2]+$5_1|0)|0)+17|0]}function $180($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$2_1=Math_fround($2_1+Math_fround(.5));label$1:{if(Math_fround(Math_abs($2_1))>2];$8_1=-1;$1_1=Math_fround($1_1+Math_fround(.5));label$4:{if(Math_fround(Math_abs($1_1))>2]|0;label$3:{if(($7_1|0)<0){break label$3}$6_1=HEAP32[$0_1+8>>2];if(($6_1|0)<=($7_1|0)){break label$3}$5_1=$5_1+$9_1|0;if(($5_1|0)<0|($5_1|0)>=HEAP32[$0_1+12>>2]){break label$3}$0_1=HEAP32[$0_1+4>>2]+(Math_imul($5_1,$6_1)+$7_1<<3)|0;HEAPF32[$3_1>>2]=HEAPF32[$0_1>>2];HEAPF32[$4_1>>2]=HEAPF32[$0_1+4>>2];$8_1=0}return $8_1}function $179($0_1,$1_1,$2_1){var $3_1=0,$4_1=Math_fround(0),$5_1=Math_fround(0);$3_1=$2_1<<2;$2_1=$3_1+$1_1|0;$167($0_1,$1_1,Math_fround(-HEAPF32[$2_1>>2]));$3_1=$0_1+$3_1|0;HEAPF32[$3_1>>2]=HEAPF32[$3_1>>2]+Math_fround(1);$219($0_1,$1_1+36|0,Math_fround(-HEAPF32[$2_1+36>>2]));$219($0_1,$1_1+72|0,Math_fround(-HEAPF32[$2_1+72>>2]));$219($0_1,$1_1+108|0,Math_fround(-HEAPF32[$2_1+108>>2]));$219($0_1,$1_1+144|0,Math_fround(-HEAPF32[$2_1+144>>2]));$219($0_1,$1_1+180|0,Math_fround(-HEAPF32[$2_1+180>>2]));$219($0_1,$1_1+216|0,Math_fround(-HEAPF32[$2_1+216>>2]));$219($0_1,$1_1+252|0,Math_fround(-HEAPF32[$2_1+252>>2]));$4_1=$40($0_1);if($4_1!=Math_fround(0)){$5_1=Math_fround(Math_sqrt($4_1));$167($0_1,$0_1,Math_fround(Math_fround(1)/$5_1))}return $5_1}function $36($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;label$1:{$4_1=$0_1;$3_1=$955($1_1);$0_1=$536($0_1);if($3_1>>>0<=$0_1>>>0){$5_1=$15($4_1);$2_1=$5_1;$0_1=$3_1;if($0_1){label$4:{if(($1_1|0)==($2_1|0)){break label$4}if($2_1-$1_1>>>0>=$0_1<<2>>>0){if(!$0_1){break label$4}while(1){HEAP32[$2_1>>2]=HEAP32[$1_1>>2];$2_1=$2_1+4|0;$1_1=$1_1+4|0;$0_1=$0_1-1|0;if($0_1){continue}break}break label$4}if(!$0_1){break label$4}while(1){$0_1=$0_1-1|0;$6_1=$0_1<<2;HEAP32[$6_1+$2_1>>2]=HEAP32[$1_1+$6_1>>2];if($0_1){continue}break}}}$0_1=global$0-16|0;global$0=$0_1;$236($4_1,$3_1);HEAP32[$0_1+12>>2]=0;$129(($3_1<<2)+$5_1|0,$0_1+12|0);global$0=$0_1+16|0;break label$1}$2_1=$0_1;$5_1=$3_1-$0_1|0;$0_1=$6($4_1);$864($4_1,$2_1,$5_1,$0_1,0,$0_1,$3_1,$1_1)}}function $66($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$2_1=Math_fround($2_1+Math_fround(.5));label$1:{if(Math_fround(Math_abs($2_1))>2];$8_1=-1;$1_1=Math_fround($1_1+Math_fround(.5));label$4:{if(Math_fround(Math_abs($1_1))>2]|0;label$3:{if(($7_1|0)<0){break label$3}$6_1=HEAP32[$0_1+8>>2];if(($6_1|0)<=($7_1|0)){break label$3}$5_1=$5_1+$9_1|0;if(($5_1|0)<0|($5_1|0)>=HEAP32[$0_1+12>>2]){break label$3}$0_1=HEAP32[$0_1>>2]+(Math_imul($5_1,$6_1)+$7_1<<3)|0;HEAPF32[$3_1>>2]=HEAPF32[$0_1>>2];HEAPF32[$4_1>>2]=HEAPF32[$0_1+4>>2];$8_1=0}return $8_1}function $1261($0_1){$0_1=$0_1|0;label$1:{if(Atomics.load(HEAPU8,72308)&1){break label$1}if(!$90(72308)){break label$1}label$2:{if(Atomics.load(HEAPU8,73104)&1){break label$2}if(!$90(73104)){break label$2}$0_1=72816;while(1){$0_1=$18($0_1)+12|0;if(($0_1|0)!=73104){continue}break}$89(73104)}$37(72816,27996);$37(72828,27987);$37(72840,31158);$37(72852,31067);$37(72864,28066);$37(72876,31477);$37(72888,28004);$37(72900,29280);$37(72912,30511);$37(72924,30494);$37(72936,30502);$37(72948,30521);$37(72960,30980);$37(72972,33772);$37(72984,30560);$37(72996,30284);$37(73008,28066);$37(73020,30712);$37(73032,31015);$37(73044,31164);$37(73056,30657);$37(73068,29618);$37(73080,28595);$37(73092,33698);HEAP32[18076]=72816;$89(72308)}return HEAP32[18076]}function $1259($0_1){$0_1=$0_1|0;label$1:{if(Atomics.load(HEAPU8,72316)&1){break label$1}if(!$90(72316)){break label$1}label$2:{if(Atomics.load(HEAPU8,73408)&1){break label$2}if(!$90(73408)){break label$2}$0_1=73120;while(1){$0_1=$18($0_1)+12|0;if(($0_1|0)!=73408){continue}break}$89(73408)}$36(73120,62040);$36(73132,62072);$36(73144,62108);$36(73156,62132);$36(73168,62156);$36(73180,62172);$36(73192,62192);$36(73204,62212);$36(73216,62240);$36(73228,62280);$36(73240,62312);$36(73252,62348);$36(73264,62384);$36(73276,62400);$36(73288,62416);$36(73300,62432);$36(73312,62156);$36(73324,62448);$36(73336,62464);$36(73348,62480);$36(73360,62496);$36(73372,62512);$36(73384,62528);$36(73396,62544);HEAP32[18078]=73120;$89(72316)}return HEAP32[18078]}function $791($0_1,$1_1,$2_1){var $3_1=0;$3_1=global$0-32|0;global$0=$3_1;HEAP32[$3_1+16>>2]=$1_1;HEAP32[$3_1+24>>2]=$0_1;HEAP32[$3_1+8>>2]=$2_1;$1_1=$99(HEAP32[$3_1+16>>2],HEAP32[$3_1+24>>2]);$0_1=$99(HEAP32[$3_1+8>>2],HEAP32[$3_1+16>>2]);label$1:{label$2:{label$3:{if(!$1_1){$1_1=0;if(!$0_1){break label$1}$158(HEAP32[$3_1+16>>2],HEAP32[$3_1+8>>2]);$1_1=1;if(!$99(HEAP32[$3_1+16>>2],HEAP32[$3_1+24>>2])){break label$1}$1_1=$3_1+24|0;$0_1=$3_1+16|0;break label$3}$2_1=HEAP32[$3_1+24>>2];if($0_1){$0_1=$3_1+8|0;$1_1=1;break label$2}$158($2_1,HEAP32[$3_1+16>>2]);$1_1=1;if(!$99(HEAP32[$3_1+8>>2],HEAP32[$3_1+16>>2])){break label$1}$1_1=$3_1+16|0;$0_1=$3_1+8|0}$2_1=HEAP32[$1_1>>2];$1_1=2}$158($2_1,HEAP32[$0_1>>2])}global$0=$3_1+32|0;return $1_1}function $1051($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$5_1=HEAP32[$3_1>>2]+$4_1|0;$0_1=HEAP32[$0_1+336>>2]-384|0;$1_1=HEAP32[$1_1+84>>2];$6_1=Math_imul(HEAP32[$1_1+36>>2],HEAPU16[$2_1+18>>1]);$7_1=Math_imul(HEAP32[$1_1+4>>2],HEAPU16[$2_1+2>>1]);$8_1=$6_1+$7_1|0;$9_1=Math_imul(HEAP32[$1_1+32>>2],HEAPU16[$2_1+16>>1]);$1_1=Math_imul(HEAP32[$1_1>>2],HEAPU16[$2_1>>1])+4100|0;$2_1=$9_1+$1_1|0;HEAP8[$5_1|0]=HEAPU8[$0_1+($8_1+$2_1>>>3&1023)|0];HEAP8[$5_1+1|0]=HEAPU8[$0_1+($2_1-$8_1>>>3&1023)|0];$2_1=HEAP32[$3_1+4>>2]+$4_1|0;$3_1=$7_1-$6_1|0;$1_1=$1_1-$9_1|0;HEAP8[$2_1|0]=HEAPU8[$0_1+($3_1+$1_1>>>3&1023)|0];HEAP8[$2_1+1|0]=HEAPU8[$0_1+($1_1-$3_1>>>3&1023)|0]}function $232($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$2_1=$21($0_1);if($2_1>>>0<$1_1>>>0){$5_1=global$0-32|0;global$0=$5_1;$4_1=$1_1-$2_1|0;label$2:{if($4_1>>>0<=HEAP32[$4($0_1)>>2]-HEAP32[$0_1+4>>2]>>2>>>0){$394($0_1,$4_1);break label$2}$6_1=$4($0_1);$7_1=$5_1+8|0;$3_1=$21($0_1)+$4_1|0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$3_1;label$4:{$1_1=$323($0_1);if($3_1>>>0<=$1_1>>>0){$3_1=$159($0_1);if($3_1>>>0<$1_1>>>1>>>0){HEAP32[$2_1+8>>2]=$3_1<<1;$1_1=HEAP32[$67($2_1+8|0,$2_1+12|0)>>2]}global$0=$2_1+16|0;break label$4}$230();abort()}$1_1=$277($7_1,$1_1,$21($0_1),$6_1);$807($1_1,$4_1);$324($0_1,$1_1);$276($1_1)}global$0=$5_1+32|0;return}if($1_1>>>0<$2_1>>>0){$502($0_1,HEAP32[$0_1>>2]+($1_1<<2)|0)}}function $867($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){var $8_1=0,$9_1=0,$10_1=0,$11_1=0;$8_1=global$0-16|0;global$0=$8_1;if(($1_1^-1)-17>>>0>=$2_1>>>0){$9_1=$15($0_1);label$2:{if($1_1>>>0<2147483623){HEAP32[$8_1+8>>2]=$1_1<<1;HEAP32[$8_1+12>>2]=$1_1+$2_1;$2_1=$240(HEAP32[$67($8_1+12|0,$8_1+8|0)>>2]);break label$2}$2_1=-18}$10_1=$2_1+1|0;$2_1=$48($10_1);if($4_1){$154($2_1,$9_1,$4_1)}if($6_1){$154($2_1+$4_1|0,$7_1,$6_1)}$11_1=$4_1+$5_1|0;$7_1=$3_1-$11_1|0;if(($3_1|0)!=($11_1|0)){$154(($2_1+$4_1|0)+$6_1|0,($4_1+$9_1|0)+$5_1|0,$7_1)}if(($1_1|0)!=10){$1($9_1)}$105($0_1,$2_1);$138($0_1,$10_1);$1_1=$0_1;$0_1=$7_1+($4_1+$6_1|0)|0;$98($1_1,$0_1);HEAP8[$8_1+7|0]=0;$110($0_1+$2_1|0,$8_1+7|0);global$0=$8_1+16|0;return}$137();abort()}function $976($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$4_1=global$0-16|0;global$0=$4_1;while(1){label$2:{if(($2_1|0)<=($6_1|0)){break label$2}$3_1=HEAP32[$0_1+12>>2];$5_1=HEAP32[$0_1+16>>2];label$3:{if($3_1>>>0<$5_1>>>0){HEAP32[$4_1+12>>2]=2147483647;HEAP32[$4_1+8>>2]=$5_1-$3_1>>2;HEAP32[$4_1+4>>2]=$2_1-$6_1;$3_1=HEAP32[$243($4_1+12|0,$243($4_1+8|0,$4_1+4|0))>>2];$164($1_1,HEAP32[$0_1+12>>2],$3_1);$5_1=$3_1<<2;HEAP32[$0_1+12>>2]=$5_1+HEAP32[$0_1+12>>2];$1_1=$1_1+$5_1|0;break label$3}$3_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+40>>2]]($0_1)|0;if(($3_1|0)==-1){break label$2}HEAP32[$1_1>>2]=$3_1;$3_1=1;$1_1=$1_1+4|0}$6_1=$3_1+$6_1|0;continue}break}global$0=$4_1+16|0;return $6_1|0}function $1008($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0,$12_1=0,$13_1=0,$14_1=0;if(($3_1|0)>0){$9_1=HEAP32[$0_1+112>>2];$14_1=HEAP32[HEAP32[$0_1+484>>2]+24>>2];while(1){if($9_1){$4_1=$6_1<<2;$5_1=HEAP32[$4_1+$1_1>>2];$7_1=HEAP32[$2_1+$4_1>>2];$4_1=$9_1;while(1){$10_1=HEAPU8[$5_1|0]>>>3|0;$11_1=HEAPU8[$5_1+1|0]>>>2|0;$12_1=HEAPU8[$5_1+2|0]>>>3|0;$13_1=(HEAP32[($10_1<<2)+$14_1>>2]+($11_1<<6)|0)+($12_1<<1)|0;$8_1=HEAPU16[$13_1>>1];if(!$8_1){$654($0_1,$10_1,$11_1,$12_1);$8_1=HEAPU8[$13_1|0]}$5_1=$5_1+3|0;HEAP8[$7_1|0]=$8_1-1;$7_1=$7_1+1|0;$4_1=$4_1-1|0;if($4_1){continue}break}}$6_1=$6_1+1|0;if(($6_1|0)!=($3_1|0)){continue}break}}}function $1115($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;if(($4_1|0)>0){$6_1=HEAP32[$0_1+112>>2];$5_1=HEAP32[HEAP32[$0_1+480>>2]+24>>2];while(1){$0_1=$4_1;if($6_1){$4_1=$2_1<<2;$7_1=HEAP32[$4_1+HEAP32[$1_1+8>>2]>>2];$8_1=HEAP32[$4_1+HEAP32[$1_1+4>>2]>>2];$9_1=HEAP32[$4_1+HEAP32[$1_1>>2]>>2];$10_1=HEAP32[$3_1>>2];$4_1=0;while(1){HEAP8[$4_1+$10_1|0]=HEAP32[((HEAPU8[$4_1+$7_1|0]<<2)+$5_1|0)+2048>>2]+(HEAP32[((HEAPU8[$4_1+$8_1|0]<<2)+$5_1|0)+1024>>2]+HEAP32[(HEAPU8[$4_1+$9_1|0]<<2)+$5_1>>2]|0)>>>16;$4_1=$4_1+1|0;if(($6_1|0)!=($4_1|0)){continue}break}}$3_1=$3_1+4|0;$2_1=$2_1+1|0;$4_1=$0_1-1|0;if(($0_1|0)>=2){continue}break}}}function $219($0_1,$1_1,$2_1){HEAPF32[$0_1>>2]=Math_fround(HEAPF32[$1_1>>2]*$2_1)+HEAPF32[$0_1>>2];HEAPF32[$0_1+4>>2]=Math_fround(HEAPF32[$1_1+4>>2]*$2_1)+HEAPF32[$0_1+4>>2];HEAPF32[$0_1+8>>2]=Math_fround(HEAPF32[$1_1+8>>2]*$2_1)+HEAPF32[$0_1+8>>2];HEAPF32[$0_1+12>>2]=Math_fround(HEAPF32[$1_1+12>>2]*$2_1)+HEAPF32[$0_1+12>>2];HEAPF32[$0_1+16>>2]=Math_fround(HEAPF32[$1_1+16>>2]*$2_1)+HEAPF32[$0_1+16>>2];HEAPF32[$0_1+20>>2]=Math_fround(HEAPF32[$1_1+20>>2]*$2_1)+HEAPF32[$0_1+20>>2];HEAPF32[$0_1+24>>2]=Math_fround(HEAPF32[$1_1+24>>2]*$2_1)+HEAPF32[$0_1+24>>2];HEAPF32[$0_1+28>>2]=Math_fround(HEAPF32[$1_1+28>>2]*$2_1)+HEAPF32[$0_1+28>>2];HEAPF32[$0_1+32>>2]=Math_fround(HEAPF32[$1_1+32>>2]*$2_1)+HEAPF32[$0_1+32>>2]}function $47($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;if(HEAP32[$3_1+76>>2]>=0){$7_1=$125($3_1)}$6_1=Math_imul($1_1,$2_1);$4_1=HEAP32[$3_1+72>>2];HEAP32[$3_1+72>>2]=$4_1-1|$4_1;$4_1=HEAP32[$3_1+4>>2];$5_1=HEAP32[$3_1+8>>2];if(($4_1|0)==($5_1|0)){$4_1=$6_1}else{$8_1=$4_1;$4_1=$5_1-$4_1|0;$4_1=$4_1>>>0<$6_1>>>0?$4_1:$6_1;$62($0_1,$8_1,$4_1);HEAP32[$3_1+4>>2]=$4_1+HEAP32[$3_1+4>>2];$0_1=$0_1+$4_1|0;$4_1=$6_1-$4_1|0}if($4_1){while(1){label$6:{if(!$367($3_1)){$5_1=FUNCTION_TABLE[HEAP32[$3_1+32>>2]]($3_1,$0_1,$4_1)|0;if($5_1){break label$6}}if($7_1){$114($3_1)}return($6_1-$4_1>>>0)/($1_1>>>0)|0}$0_1=$0_1+$5_1|0;$4_1=$4_1-$5_1|0;if($4_1){continue}break}}if($7_1){$114($3_1)}return $1_1?$2_1:0}function $942($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=Math_fround(0),$7_1=0,$8_1=Math_fround(0);$4_1=global$0-16|0;global$0=$4_1;label$1:{label$2:{label$3:{if(($0_1|0)!=($1_1|0)){$5_1=$22();$7_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=0;$43();$3_1=global$0-16|0;global$0=$3_1;$544($3_1,$0_1,$4_1+12|0,0);$6_1=$579(HEAP32[$3_1>>2],HEAP32[$3_1+4>>2],HEAP32[$3_1+8>>2],HEAP32[$3_1+12>>2]);global$0=$3_1+16|0;$0_1=HEAP32[$5_1>>2];if(!$0_1){break label$3}if(HEAP32[$4_1+12>>2]!=($1_1|0)){break label$2}$8_1=$6_1;if(($0_1|0)!=68){break label$1}break label$2}HEAP32[$2_1>>2]=4;break label$1}HEAP32[$5_1>>2]=$7_1;if(HEAP32[$4_1+12>>2]==($1_1|0)){break label$1}}HEAP32[$2_1>>2]=4;$6_1=$8_1}global$0=$4_1+16|0;return $6_1}function $443($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$2_1=global$0-16|0;global$0=$2_1;label$1:{label$2:{label$3:{$3_1=global$4;label$4:{if($3_1){break label$4}$4_1=global$3;if(HEAPU8[$4_1+32|0]!=1){break label$4}if(HEAPU8[$4_1+33|0]!=1){break label$3}}$6_1=+(($3_1?1:100)|0);$7_1=+fimport$7()+infinity;$4_1=global$3;while(1){if(HEAP32[$4_1+28>>2]){$0_1=11;break label$1}$5_1=$7_1-+fimport$7();$3_1=73;if($5_1<=0){break label$2}$3_1=$302($0_1,$1_1,$6_1<$5_1?$6_1:$5_1);if(($3_1|0)==-73){continue}break}$3_1=0-$3_1|0;break label$2}$3_1=0-$302($0_1,$1_1,infinity)|0}$0_1=($3_1|0)!=73?($3_1&-17)!=11?0:$3_1:$3_1;if(($0_1|0)!=27){break label$1}$0_1=HEAP32[17059]?27:0}global$0=$2_1+16|0;return $0_1}function $692($0_1){var $1_1=0,$2_1=0;$1_1=HEAP32[$0_1+216>>2];if($1_1){if(!(!$1_1|!HEAP32[$1_1+7062384>>2])){HEAP32[$1_1+7062384>>2]=0}$1_1=HEAP32[$0_1+216>>2];if($1_1){$2_1=HEAP32[$1_1+7062408>>2];if($2_1){$17($2_1);HEAP32[$1_1+7062408>>2]=0}$1(HEAP32[$1_1+4834144>>2]);$1(HEAP32[$1_1+4834148>>2]);$1($1_1)}HEAP32[$0_1+216>>2]=0}if(HEAP32[$0_1+228>>2]){$1_1=HEAP32[$0_1+228>>2];if($1_1){$453($1_1);$1(HEAP32[$0_1+228>>2]);HEAP32[$0_1+228>>2]=0}HEAP32[$0_1+228>>2]=0}if(HEAP32[$0_1+192>>2]){$1_1=$0_1+192|0;label$8:{if(!$1_1){break label$8}$2_1=HEAP32[$1_1>>2];if(!$2_1){break label$8}$1(HEAP32[$2_1+184>>2]);$1(HEAP32[HEAP32[$1_1>>2]+188>>2]);$1(HEAP32[$1_1>>2]);HEAP32[$1_1>>2]=0}HEAP32[$0_1+192>>2]=0}}function $980($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$4_1=global$0-16|0;global$0=$4_1;while(1){label$2:{if(($2_1|0)<=($5_1|0)){break label$2}$3_1=HEAP32[$0_1+16>>2];$6_1=HEAP32[$0_1+12>>2];label$3:{if($3_1>>>0>$6_1>>>0){HEAP32[$4_1+12>>2]=2147483647;HEAP32[$4_1+8>>2]=$3_1-$6_1;HEAP32[$4_1+4>>2]=$2_1-$5_1;$3_1=HEAP32[$243($4_1+12|0,$243($4_1+8|0,$4_1+4|0))>>2];$154($1_1,HEAP32[$0_1+12>>2],$3_1);HEAP32[$0_1+12>>2]=HEAP32[$0_1+12>>2]+$3_1;break label$3}$3_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+40>>2]]($0_1)|0;if(($3_1|0)==-1){break label$2}HEAP8[$1_1|0]=$3_1<<24>>24;$3_1=1}$1_1=$1_1+$3_1|0;$5_1=$3_1+$5_1|0;continue}break}global$0=$4_1+16|0;return $5_1|0}function $252($0_1){var $1_1=Math_fround(0),$2_1=0,$3_1=0;$2_1=(wasm2js_scratch_store_f32($0_1),wasm2js_scratch_load_i32(2));$3_1=$2_1>>>23&255;if($3_1>>>0<=149){if($3_1>>>0<=125){$0_1=Math_fround($0_1*Math_fround(0))}else{$0_1=($2_1|0)>=0?$0_1:Math_fround(-$0_1);$1_1=Math_fround(Math_fround(Math_fround($0_1+Math_fround(8388608))+Math_fround(-8388608))-$0_1);label$4:{if($1_1>Math_fround(.5)){$0_1=Math_fround(Math_fround($0_1+$1_1)+Math_fround(-1));break label$4}$0_1=Math_fround($0_1+$1_1);if(!($1_1<=Math_fround(-.5))){break label$4}$0_1=Math_fround($0_1+Math_fround(1))}$0_1=($2_1|0)>=0?$0_1:Math_fround(-$0_1)}}if(Math_fround(Math_abs($0_1))>2];$2_1=HEAP32[$0_1+4>>2];$4_1=$1_1+4|0;while(1){if(($2_1|0)!=($6_1|0)){$5_1=global$0-16|0;global$0=$5_1;$3_1=HEAP32[$4_1>>2]-12|0;HEAP32[$3_1>>2]=0;HEAP32[$3_1+4>>2]=0;HEAP32[$5_1+12>>2]=0;$2_1=$2_1-12|0;$4($2_1);$209($3_1+8|0);HEAP32[$3_1>>2]=HEAP32[$2_1>>2];HEAP32[$3_1+4>>2]=HEAP32[$2_1+4>>2];$7_1=HEAP32[$4($2_1)>>2];HEAP32[$4($3_1)>>2]=$7_1;HEAP32[$4($2_1)>>2]=0;HEAP32[$2_1>>2]=0;HEAP32[$2_1+4>>2]=0;global$0=$5_1+16|0;HEAP32[$4_1>>2]=HEAP32[$4_1>>2]-12;continue}break}$28($0_1,$4_1);$28($0_1+4|0,$1_1+8|0);$28($4($0_1),$13($1_1));HEAP32[$1_1>>2]=HEAP32[$1_1+4>>2];$509($0_1,$61($0_1))}function $444($0_1,$1_1,$2_1){var $3_1=0,$4_1=0;$3_1=($2_1|0)!=0;label$1:{label$2:{label$3:{if(!($0_1&3)|!$2_1){break label$3}$4_1=$1_1&255;while(1){if(($4_1|0)==HEAPU8[$0_1|0]){break label$2}$2_1=$2_1-1|0;$3_1=($2_1|0)!=0;$0_1=$0_1+1|0;if(!($0_1&3)){break label$3}if($2_1){continue}break}}if(!$3_1){break label$1}}label$5:{if(!(HEAPU8[$0_1|0]==($1_1&255)|$2_1>>>0<4)){$3_1=Math_imul($1_1&255,16843009);while(1){$4_1=$3_1^HEAP32[$0_1>>2];if(($4_1^-1)&$4_1-16843009&-2139062144){break label$5}$0_1=$0_1+4|0;$2_1=$2_1-4|0;if($2_1>>>0>3){continue}break}}if(!$2_1){break label$1}}$1_1=$1_1&255;while(1){if(($1_1|0)==HEAPU8[$0_1|0]){return $0_1}$0_1=$0_1+1|0;$2_1=$2_1-1|0;if($2_1){continue}break}}return 0}function $90($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0;$3_1=global$0-32|0;global$0=$3_1;$1_1=$862($3_1+8|0,$0_1);if(Atomics.load(HEAPU8,HEAP32[$1_1>>2])){$0_1=0}else{$4_1=global$0-16|0;global$0=$4_1;$5_1=$861($4_1+8|0,31352);label$3:{if(!(!(!HEAPU8[$1_1+12|0]|!(HEAPU8[HEAP32[$1_1+4>>2]]&2))&HEAP32[HEAP32[$1_1+8>>2]>>2]==HEAP32[$1_1+16>>2])){while(1){$0_1=HEAP32[$1_1+4>>2];$2_1=HEAPU8[$0_1|0];if($2_1&2){HEAP8[$0_1|0]=$2_1|4;$868(75144,75120);continue}break}$2_1=($2_1|0)==1;if(!$2_1){if(HEAPU8[$1_1+12|0]){HEAP32[HEAP32[$1_1+8>>2]>>2]=HEAP32[$1_1+16>>2];$0_1=HEAP32[$1_1+4>>2]}HEAP8[$0_1|0]=2}$860($5_1);global$0=$4_1+16|0;break label$3}$55();abort()}$0_1=$2_1^1}global$0=$3_1+32|0;return $0_1}function $780($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=$1_1;if($2_1){if($2_1){$0_1=$2_1+788|0;$170($0_1+24|0);$79($0_1+12|0);$79($0_1);$0_1=$2_1+652|0;$79($0_1+124|0);$79($0_1+112|0);$702($0_1+92|0);$170($2_1+636|0);$0_1=$2_1+160|0;$79($0_1+144|0);$1_1=$0_1+92|0;$500($1_1+40|0);$79($1_1+28|0);$501($0_1+72|0);$501($0_1+60|0);$500($0_1+32|0);$0_1=$0_1+16|0;$334($0_1);if(HEAP32[$0_1>>2]){$813($0_1,HEAP32[$0_1>>2]);$4($0_1);$1_1=HEAP32[$0_1>>2];$147($0_1);$1($1_1)}$485($2_1+92|0);$3_1=$2_1+72|0;$0_1=HEAP32[$3_1+8>>2];$4($3_1);while(1){if($0_1){$1_1=HEAP32[$0_1>>2];$772($0_1+8|0);$1($0_1);$0_1=$1_1;continue}break}$266($3_1);$168($2_1- -64|0);$170($2_1+12|0)}$1($2_1)}}function $1339($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0;$5_1=global$0-48|0;global$0=$5_1;HEAP32[$5_1+40>>2]=$1_1;label$1:{if(!(HEAP32[$2_1+4>>2]&1)){$2_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+24>>2]]($0_1,$1_1,$2_1,$3_1,$4_1)|0;break label$1}$0_1=$5_1+24|0;$30($0_1,$2_1);$1_1=$291($0_1);$19($0_1);label$3:{if($4_1){$152($5_1+24|0,$1_1);break label$3}$151($5_1+24|0,$1_1)}HEAP32[$5_1+16>>2]=$131($5_1+24|0);while(1){HEAP32[$5_1+8>>2]=$205($5_1+24|0);if($78($5_1+16|0,$5_1+8|0)){$0_1=$5_1+16|0;$554($5_1+40|0,HEAP32[HEAP32[$0_1>>2]>>2]);$220($0_1);continue}else{$2_1=HEAP32[$5_1+40>>2];$8($5_1+24|0)}break}}global$0=$5_1+48|0;return $2_1|0}function $1347($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0;$5_1=global$0-48|0;global$0=$5_1;HEAP32[$5_1+40>>2]=$1_1;label$1:{if(!(HEAP32[$2_1+4>>2]&1)){$2_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+24>>2]]($0_1,$1_1,$2_1,$3_1,$4_1)|0;break label$1}$0_1=$5_1+24|0;$30($0_1,$2_1);$1_1=$293($0_1);$19($0_1);label$3:{if($4_1){$152($5_1+24|0,$1_1);break label$3}$151($5_1+24|0,$1_1)}HEAP32[$5_1+16>>2]=$131($5_1+24|0);while(1){HEAP32[$5_1+8>>2]=$206($5_1+24|0);if($78($5_1+16|0,$5_1+8|0)){$0_1=$5_1+16|0;$425($5_1+40|0,HEAP8[HEAP32[$0_1>>2]]);$335($0_1);continue}else{$2_1=HEAP32[$5_1+40>>2];$8($5_1+24|0)}break}}global$0=$5_1+48|0;return $2_1|0}function $1065($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;if(HEAP32[$0_1+320>>2]>0){$1_1=HEAP32[$0_1+476>>2]+HEAP32[$1_1+4>>2]|0;$5_1=HEAPU8[$1_1+140|0];$6_1=HEAP32[$3_1>>2];$7_1=HEAPU8[$1_1+150|0];$9_1=$7_1-1|0;while(1){$1_1=HEAP32[$0_1+112>>2];if(($1_1|0)>0){$3_1=HEAP32[($4_1<<2)+$6_1>>2];$10_1=$1_1+$3_1|0;$1_1=HEAP32[($8_1<<2)+$2_1>>2];while(1){if($5_1){$3_1=$11($3_1,HEAPU8[$1_1|0],$5_1)+$5_1|0}$1_1=$1_1+1|0;if($3_1>>>0<$10_1>>>0){continue}break}}if($7_1>>>0>=2){$370($6_1,$4_1,$6_1,$4_1+1|0,$9_1,HEAP32[$0_1+112>>2])}$8_1=$8_1+1|0;$4_1=$4_1+$7_1|0;if(($4_1|0)>2]){continue}break}}}function $941($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$4_1=global$0-16|0;global$0=$4_1;label$1:{label$2:{label$3:{if(($0_1|0)!=($1_1|0)){$5_1=$22();$7_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=0;$43();$3_1=global$0-16|0;global$0=$3_1;$544($3_1,$0_1,$4_1+12|0,1);$6_1=$433(HEAP32[$3_1>>2],HEAP32[$3_1+4>>2],HEAP32[$3_1+8>>2],HEAP32[$3_1+12>>2]);global$0=$3_1+16|0;$0_1=HEAP32[$5_1>>2];if(!$0_1){break label$3}if(HEAP32[$4_1+12>>2]!=($1_1|0)){break label$2}$8_1=$6_1;if(($0_1|0)!=68){break label$1}break label$2}HEAP32[$2_1>>2]=4;break label$1}HEAP32[$5_1>>2]=$7_1;if(HEAP32[$4_1+12>>2]==($1_1|0)){break label$1}}HEAP32[$2_1>>2]=4;$6_1=$8_1}global$0=$4_1+16|0;return $6_1}function $445($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0;$3_1=HEAP32[$2_1+16>>2];label$1:{if(!$3_1){if($639($2_1)){break label$1}$3_1=HEAP32[$2_1+16>>2]}$5_1=HEAP32[$2_1+20>>2];if($3_1-$5_1>>>0<$1_1>>>0){return FUNCTION_TABLE[HEAP32[$2_1+36>>2]]($2_1,$0_1,$1_1)|0}label$5:{if(HEAP32[$2_1+80>>2]<0){$3_1=0;break label$5}$4_1=$1_1;while(1){$3_1=$4_1;if(!$3_1){$3_1=0;break label$5}$4_1=$3_1-1|0;if(HEAPU8[$4_1+$0_1|0]!=10){continue}break}$4_1=FUNCTION_TABLE[HEAP32[$2_1+36>>2]]($2_1,$0_1,$3_1)|0;if($4_1>>>0<$3_1>>>0){break label$1}$0_1=$0_1+$3_1|0;$1_1=$1_1-$3_1|0;$5_1=HEAP32[$2_1+20>>2]}$62($5_1,$0_1,$1_1);HEAP32[$2_1+20>>2]=HEAP32[$2_1+20>>2]+$1_1;$4_1=$1_1+$3_1|0}return $4_1}function $948($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0;$4_1=global$0-16|0;global$0=$4_1;label$1:{label$2:{if(($0_1|0)!=($1_1|0)){$5_1=$22();$7_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=0;$43();$3_1=$871($0_1,$4_1+12|0,$3_1);$0_1=i64toi32_i32$HIGH_BITS;$6_1=HEAP32[$5_1>>2];label$4:{if($6_1){if(HEAP32[$4_1+12>>2]!=($1_1|0)){break label$4}if(($6_1|0)==68){break label$2}break label$1}HEAP32[$5_1>>2]=$7_1;if(HEAP32[$4_1+12>>2]==($1_1|0)){break label$1}}}HEAP32[$2_1>>2]=4;$3_1=0;$0_1=0;break label$1}HEAP32[$2_1>>2]=4;if(!!$3_1&($0_1|0)>=0|($0_1|0)>0){$3_1=-1;$0_1=2147483647;break label$1}$3_1=0;$0_1=-2147483648}global$0=$4_1+16|0;i64toi32_i32$HIGH_BITS=$0_1;return $3_1}function $792($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$2_1=$136(HEAP32[$0_1+8>>2],HEAP32[$0_1+4>>2]);if($2_1){$7_1=-1;label$2:{$3_1=HEAP32[$2_1+4>>2];if(($3_1|0)!=HEAP32[$0_1+8>>2]){break label$2}$1_1=HEAP32[$2_1+8>>2];if(($1_1|0)!=HEAP32[$0_1+4>>2]){break label$2}$7_1=0;$8_1=($3_1|0)>0?$3_1:0;$9_1=($1_1|0)>0?$1_1:0;$4_1=HEAP32[$2_1>>2];$1_1=0;while(1){if(($1_1|0)==($8_1|0)){break label$2}$5_1=HEAP32[$0_1>>2]+($1_1<<3)|0;$6_1=0;while(1){if(($6_1|0)!=($9_1|0)){HEAPF64[$4_1>>3]=HEAPF64[$5_1>>3];$6_1=$6_1+1|0;$4_1=$4_1+8|0;$5_1=($3_1<<3)+$5_1|0;continue}break}$1_1=$1_1+1|0;continue}}if(($7_1|0)>=0){return $2_1}$17($2_1)}return 0}function $396($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=Math_fround(0),$9_1=Math_fround(0),$10_1=Math_fround(0);while(1){if(($4_1|0)!=3){$5_1=($4_1<<5)+$0_1|0;$8_1=Math_fround(HEAPF64[$5_1+16>>3]);$9_1=Math_fround(HEAPF64[$5_1+8>>3]);$10_1=Math_fround(HEAPF64[$5_1>>3]);$3_1=0;while(1){if(($3_1|0)!=4){$7_1=$3_1<<2;$6_1=$7_1+$1_1|0;HEAPF32[$7_1+(($4_1<<4)+$2_1|0)>>2]=Math_fround($8_1*HEAPF32[$6_1+32>>2])+Math_fround(Math_fround($10_1*HEAPF32[$6_1>>2])+Math_fround(HEAPF32[$6_1+16>>2]*$9_1));$3_1=$3_1+1|0;continue}break}$3_1=($4_1<<4)+$2_1|0;HEAPF32[$3_1+12>>2]=HEAPF32[$3_1+12>>2]+Math_fround(HEAPF64[$5_1+24>>3]);$4_1=$4_1+1|0;continue}break}}function $254($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$3_1=100;label$1:{label$2:{label$3:{while(1){if($3_1){if(HEAP32[$1_1>>2]?$1_1:0){break label$3}$3_1=$3_1-1|0;if(HEAP32[$0_1>>2]==($2_1|0)){continue}break label$1}break}if($1_1){break label$3}$3_1=1;break label$2}$190($1_1);$3_1=0}$4_1=global$4;label$7:{if(HEAP32[$0_1>>2]!=($2_1|0)){break label$7}$6_1=+(($4_1?1:100)|0);$5_1=global$3;while(1){label$9:{if(!(!$4_1&HEAPU8[$5_1+33|0]!=1)){while(1){if(HEAP32[$5_1+28>>2]){break label$7}if(($302($0_1,$2_1,$6_1)|0)==-73){continue}break}break label$9}$302($0_1,$2_1,infinity)}if(HEAP32[$0_1>>2]==($2_1|0)){continue}break}}if($3_1){break label$1}$368($1_1)}}function $974($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$3_1=global$0-16|0;global$0=$3_1;while(1){label$2:{if(($2_1|0)<=($4_1|0)){break label$2}$5_1=HEAP32[$0_1+24>>2];$6_1=HEAP32[$0_1+28>>2];if($5_1>>>0>=$6_1>>>0){if((FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+52>>2]]($0_1,HEAP32[$1_1>>2])|0)==-1){break label$2}$4_1=$4_1+1|0;$1_1=$1_1+4|0}else{HEAP32[$3_1+12>>2]=$6_1-$5_1>>2;HEAP32[$3_1+8>>2]=$2_1-$4_1;$5_1=HEAP32[$243($3_1+12|0,$3_1+8|0)>>2];$164(HEAP32[$0_1+24>>2],$1_1,$5_1);$6_1=$5_1<<2;HEAP32[$0_1+24>>2]=$6_1+HEAP32[$0_1+24>>2];$4_1=$4_1+$5_1|0;$1_1=$1_1+$6_1|0}continue}break}global$0=$3_1+16|0;return $4_1|0}function $585($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0;$7_1=-1;$5_1=$3_1&2147483647;$8_1=$5_1;$6_1=($5_1|0)==2147418112;label$1:{if($6_1&!$2_1?$0_1|$1_1:$6_1&($2_1|0)!=0|$5_1>>>0>2147418112){break label$1}$5_1=$4_1&2147483647;$6_1=($5_1|0)==2147418112;if($6_1?0:$6_1&0|$5_1>>>0>2147418112){break label$1}if(!($0_1|$2_1|($5_1|$8_1|$1_1))){return 0}$5_1=$3_1&$4_1;if(($5_1|0)>0|($5_1|0)>=0){if(!$2_1&($3_1|0)==($4_1|0)?0:($3_1|0)<($4_1|0)){break label$1}return($0_1|$2_1|($3_1^$4_1|$1_1))!=0}if(!$2_1&($3_1|0)==($4_1|0)?$0_1|$1_1:($2_1|0)!=0&($3_1|0)>=($4_1|0)|($3_1|0)>($4_1|0)){break label$1}$7_1=($0_1|$2_1|($3_1^$4_1|$1_1))!=0}return $7_1}function $759($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0;$2_1=global$0-192|0;global$0=$2_1;$1_1=$2_1+8|0;$754($0_1,$1_1);$754($0_1+4|0,$1_1|4);while(1){label$2:{$1_1=0;if(($4_1|0)==3){$4_1=HEAP32[$0_1+176>>2];$3_1=HEAP32[($4_1<<3)+21256>>2];$3_1=($3_1|0)>0?$3_1:0;while(1){if(($1_1|0)==($3_1|0)){break label$2}$5_1=$1_1<<3;$751(($5_1+$0_1|0)+104|0,($2_1+$5_1|0)+112|0);$1_1=$1_1+1|0;continue}}else{while(1){if(($1_1|0)!=4){$5_1=$1_1<<3;$3_1=$4_1<<5;$751(($5_1+($3_1+$0_1|0)|0)+8|0,($5_1+($2_1+$3_1|0)|0)+16|0);$1_1=$1_1+1|0;continue}break}$4_1=$4_1+1|0;continue}}break}HEAP32[$2_1+184>>2]=$4_1;wasm2js_memory_copy($0_1,$2_1+8|0,184);global$0=$2_1+192|0}function $1074($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;var $7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$7_1=global$0-16|0;global$0=$7_1;$8_1=HEAP32[$0_1+456>>2];$9_1=HEAP32[$8_1+16>>2];$10_1=HEAP32[$5_1>>2];HEAP32[$7_1+12>>2]=0;$11_1=$1_1;$1_1=$6_1-$10_1|0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1+476>>2]+4>>2]]($0_1,$11_1,$2_1,$3_1,HEAP32[$8_1+12>>2],$7_1+12|0,$1_1>>>0<$9_1>>>0?$1_1:$9_1);FUNCTION_TABLE[HEAP32[HEAP32[$0_1+484>>2]+4>>2]]($0_1,HEAP32[$8_1+12>>2],(HEAP32[$5_1>>2]<<2)+$4_1|0,HEAP32[$7_1+12>>2]);HEAP32[$5_1>>2]=HEAP32[$5_1>>2]+HEAP32[$7_1+12>>2];global$0=$7_1+16|0}function $370($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0;label$1:{if(($4_1|0)<=0){break label$1}$6_1=$4_1-1|0;$1_1=($1_1<<2)+$0_1|0;$3_1=($3_1<<2)+$2_1|0;$0_1=$4_1&3;if($0_1){$2_1=0;while(1){$62(HEAP32[$3_1>>2],HEAP32[$1_1>>2],$5_1);$4_1=$4_1-1|0;$3_1=$3_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1+1|0;if(($0_1|0)!=($2_1|0)){continue}break}}if($6_1>>>0<3){break label$1}while(1){$62(HEAP32[$3_1>>2],HEAP32[$1_1>>2],$5_1);$62(HEAP32[$3_1+4>>2],HEAP32[$1_1+4>>2],$5_1);$62(HEAP32[$3_1+8>>2],HEAP32[$1_1+8>>2],$5_1);$62(HEAP32[$3_1+12>>2],HEAP32[$1_1+12>>2],$5_1);$3_1=$3_1+16|0;$1_1=$1_1+16|0;$0_1=$4_1-5|0;$4_1=$4_1-4|0;if($0_1>>>0<4294967294){continue}break}}}function $707($0_1,$1_1,$2_1,$3_1){var $4_1=0;$4_1=global$0-48|0;global$0=$4_1;HEAP32[$4_1+36>>2]=6;HEAP32[$4_1+40>>2]=1;HEAP32[$4_1+32>>2]=$0_1;HEAP32[$4_1+24>>2]=1;HEAP32[$4_1+20>>2]=$3_1;HEAP32[$4_1+16>>2]=$1_1;HEAP32[$4_1+8>>2]=6;HEAP32[$4_1+4>>2]=$3_1;HEAP32[$4_1>>2]=$2_1;$3_1=$792($4_1);label$1:{if(!$3_1){$0_1=-1;break label$1}$2_1=$322($3_1,$4_1);label$3:{if(!$2_1){$0_1=-1;$1_1=$3_1;break label$3}$1_1=$322($3_1,$4_1+16|0);label$5:{if(!$1_1){$0_1=-1;$1_1=$2_1;break label$5}$0_1=0;label$7:{if(($317($2_1)|0)<0){$0_1=-1;break label$7}$483($4_1+32|0,$2_1,$1_1)}$17($3_1);$3_1=$2_1}$17($3_1)}$17($1_1)}global$0=$4_1+48|0;return $0_1}function $436($0_1,$1_1){var $2_1=0,$3_1=0;label$1:{$3_1=$1_1&255;if($3_1){if($0_1&3){while(1){$2_1=HEAPU8[$0_1|0];if(!$2_1|($2_1|0)==($1_1&255)){break label$1}$0_1=$0_1+1|0;if($0_1&3){continue}break}}$2_1=HEAP32[$0_1>>2];label$5:{if(($2_1^-1)&$2_1-16843009&-2139062144){break label$5}$3_1=Math_imul($3_1,16843009);while(1){$2_1=$2_1^$3_1;if(($2_1^-1)&$2_1-16843009&-2139062144){break label$5}$2_1=HEAP32[$0_1+4>>2];$0_1=$0_1+4|0;if(!($2_1-16843009&($2_1^-1)&-2139062144)){continue}break}}while(1){$2_1=$0_1;$3_1=HEAPU8[$2_1|0];if($3_1){$0_1=$2_1+1|0;if(($3_1|0)!=($1_1&255)){continue}}break}return $2_1}return $86($0_1)+$0_1|0}return $0_1}function $984($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$4_1=HEAP32[$0_1+84>>2];$5_1=HEAP32[$4_1+4>>2];$6_1=HEAP32[$0_1+28>>2];$3_1=HEAP32[$0_1+20>>2]-$6_1|0;$3_1=$3_1>>>0>$5_1>>>0?$5_1:$3_1;if($3_1){$62(HEAP32[$4_1>>2],$6_1,$3_1);HEAP32[$4_1>>2]=$3_1+HEAP32[$4_1>>2];$5_1=HEAP32[$4_1+4>>2]-$3_1|0;HEAP32[$4_1+4>>2]=$5_1}$3_1=HEAP32[$4_1>>2];$5_1=$2_1>>>0>$5_1>>>0?$5_1:$2_1;if($5_1){$62($3_1,$1_1,$5_1);$3_1=$5_1+HEAP32[$4_1>>2]|0;HEAP32[$4_1>>2]=$3_1;HEAP32[$4_1+4>>2]=HEAP32[$4_1+4>>2]-$5_1}HEAP8[$3_1|0]=0;$1_1=HEAP32[$0_1+44>>2];HEAP32[$0_1+28>>2]=$1_1;HEAP32[$0_1+20>>2]=$1_1;return $2_1|0}function $435($0_1,$1_1){label$1:{if($0_1){if($1_1>>>0<=127){break label$1}label$3:{if(!HEAP32[HEAP32[global$3+88>>2]>>2]){if(($1_1&-128)==57216){break label$1}break label$3}if($1_1>>>0<=2047){HEAP8[$0_1+1|0]=$1_1&63|128;HEAP8[$0_1|0]=$1_1>>>6|192;return 2}if(!(($1_1&-8192)!=57344&$1_1>>>0>=55296)){HEAP8[$0_1+2|0]=$1_1&63|128;HEAP8[$0_1|0]=$1_1>>>12|224;HEAP8[$0_1+1|0]=$1_1>>>6&63|128;return 3}if($1_1-65536>>>0<=1048575){HEAP8[$0_1+3|0]=$1_1&63|128;HEAP8[$0_1|0]=$1_1>>>18|240;HEAP8[$0_1+2|0]=$1_1>>>6&63|128;HEAP8[$0_1+1|0]=$1_1>>>12&63|128;return 4}}HEAP32[$22()>>2]=25;$0_1=-1}else{$0_1=1}return $0_1}HEAP8[$0_1|0]=$1_1;return 1}function $1306($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$3_1=global$0-16|0;global$0=$3_1;label$1:{if(!$128($5_1)){HEAP32[$0_1+8>>2]=HEAP32[$5_1+8>>2];$1_1=HEAP32[$5_1+4>>2];HEAP32[$0_1>>2]=HEAP32[$5_1>>2];HEAP32[$0_1+4>>2]=$1_1;break label$1}$4_1=HEAP32[$5_1>>2];label$3:{label$4:{$2_1=HEAP32[$5_1+4>>2];label$5:{if($407($2_1)){$1_1=$0_1;$111($0_1,$2_1);break label$5}if($2_1>>>0>1073741807){break label$4}$5_1=$286($2_1)+1|0;$1_1=$285($0_1,$5_1);$105($0_1,$1_1);$138($0_1,$5_1);$98($0_1,$2_1)}$164($1_1,$4_1,$2_1+1|0);break label$3}$137();abort()}}global$0=$3_1+16|0}function $365($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;label$1:{if(($3_1|0)!=1){break label$1}$4_1=HEAP32[$0_1+8>>2];if(!$4_1){break label$1}$5_1=$1_1;$4_1=$4_1-HEAP32[$0_1+4>>2]|0;$1_1=$1_1-$4_1|0;$2_1=$2_1-(($4_1>>31)+($4_1>>>0>$5_1>>>0)|0)|0}label$2:{if(HEAP32[$0_1+20>>2]!=HEAP32[$0_1+28>>2]){FUNCTION_TABLE[HEAP32[$0_1+36>>2]]($0_1,0,0)|0;if(!HEAP32[$0_1+20>>2]){break label$2}}HEAP32[$0_1+28>>2]=0;HEAP32[$0_1+16>>2]=0;HEAP32[$0_1+20>>2]=0;FUNCTION_TABLE[HEAP32[$0_1+40>>2]]($0_1,$1_1,$2_1,$3_1)|0;if((i64toi32_i32$HIGH_BITS|0)<0){break label$2}HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+8>>2]=0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]&-17}}function $439($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0,$11_1=0;$7_1=global$0-240|0;global$0=$7_1;HEAP32[$7_1>>2]=$0_1;$8_1=1;label$1:{if(($3_1|0)<2){break label$1}$10_1=0-$1_1|0;$5_1=$0_1;while(1){$5_1=$5_1+$10_1|0;$9_1=$3_1-2|0;$6_1=$5_1-HEAP32[($9_1<<2)+$4_1>>2]|0;if((FUNCTION_TABLE[$2_1|0]($0_1,$6_1)|0)>=0){if((FUNCTION_TABLE[$2_1|0]($0_1,$5_1)|0)>=0){break label$1}}$11_1=$6_1;$6_1=(FUNCTION_TABLE[$2_1|0]($6_1,$5_1)|0)>=0;$5_1=$6_1?$11_1:$5_1;HEAP32[($8_1<<2)+$7_1>>2]=$5_1;$8_1=$8_1+1|0;$3_1=$6_1?$3_1-1|0:$9_1;if(($3_1|0)>1){continue}break}}$609($1_1,$7_1,$8_1);global$0=$7_1+240|0}function $377($0_1,$1_1,$2_1){var $3_1=Math_fround(0);HEAPF32[$0_1>>2]=-HEAPF32[$1_1>>2];$3_1=HEAPF32[$1_1+4>>2];HEAP32[$0_1+8>>2]=-1082130432;HEAPF32[$0_1+4>>2]=-$3_1;$706($0_1+12|0);HEAPF32[$0_1+24>>2]=HEAPF32[$2_1>>2]*HEAPF32[$1_1>>2];HEAPF32[$0_1+28>>2]=HEAPF32[$2_1>>2]*HEAPF32[$1_1+4>>2];HEAPF32[$0_1+32>>2]=HEAPF32[$2_1>>2];$706($0_1+36|0);HEAPF32[$0_1+48>>2]=-HEAPF32[$1_1>>2];$3_1=HEAPF32[$1_1+4>>2];HEAP32[$0_1+56>>2]=-1082130432;HEAPF32[$0_1+52>>2]=-$3_1;HEAPF32[$0_1+60>>2]=HEAPF32[$2_1+4>>2]*HEAPF32[$1_1>>2];HEAPF32[$0_1+64>>2]=HEAPF32[$2_1+4>>2]*HEAPF32[$1_1+4>>2];HEAPF32[$0_1+68>>2]=HEAPF32[$2_1+4>>2]}function $756($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$3_1=global$0-16|0;global$0=$3_1;$13($0_1);$4_1=HEAP32[$1_1>>2];label$1:{label$2:{$5_1=$104($0_1);if(!$5_1){break label$2}$6_1=$46($4_1,$5_1);$2_1=HEAP32[$9($0_1,$6_1)>>2];if(!$2_1){break label$2}while(1){$2_1=HEAP32[$2_1>>2];if(!$2_1){break label$2}if(HEAP32[$2_1+4>>2]!=($4_1|0)){if(($46(HEAP32[$2_1+4>>2],$5_1)|0)!=($6_1|0)){break label$2}}if(HEAP32[$2_1+4>>2]!=($4_1|0)){continue}if(!$225($45($0_1),$2_1+8|0,$1_1)){continue}break}$2_1=HEAP32[$80($3_1+8|0,$2_1)>>2];break label$1}$2_1=$472();HEAP32[$3_1+8>>2]=$2_1}global$0=$3_1+16|0;return $2_1}function $705($0_1,$1_1){return Math_fround(Math_fround(HEAPF32[$0_1+32>>2]*HEAPF32[$1_1+32>>2])+Math_fround(Math_fround(HEAPF32[$0_1+28>>2]*HEAPF32[$1_1+28>>2])+Math_fround(Math_fround(HEAPF32[$0_1+24>>2]*HEAPF32[$1_1+24>>2])+Math_fround(Math_fround(HEAPF32[$0_1+20>>2]*HEAPF32[$1_1+20>>2])+Math_fround(Math_fround(HEAPF32[$0_1+16>>2]*HEAPF32[$1_1+16>>2])+Math_fround(Math_fround(HEAPF32[$0_1+12>>2]*HEAPF32[$1_1+12>>2])+Math_fround(Math_fround(HEAPF32[$0_1+8>>2]*HEAPF32[$1_1+8>>2])+Math_fround(Math_fround(HEAPF32[$0_1>>2]*HEAPF32[$1_1>>2])+Math_fround(HEAPF32[$0_1+4>>2]*HEAPF32[$1_1+4>>2])))))))))}function $1185($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$0_1;HEAP32[$2_1+8>>2]=$26(67484,$2_1+12|0);HEAP32[$2_1>>2]=$23();$0_1=-1;label$1:{if($31($2_1+8|0,$2_1)){break label$1}$3_1=$32($2_1+12|0);$4_1=$15($1_1);$1_1=global$0-16|0;global$0=$1_1;$5_1=$827(HEAP32[$3_1+220>>2],$4_1);HEAP32[$3_1+340>>2]=$5_1;$6_1=1;if(($5_1|0)<0){HEAP32[$1_1>>2]=$4_1;$5(0,3,36819,$1_1);$513(HEAP32[$3_1+220>>2]);$6_1=0}global$0=$1_1+16|0;if(!$6_1){$5(0,3,37082,0);break label$1}$0_1=HEAP32[$3_1+340>>2]}global$0=$2_1+16|0;return $0_1|0}function $173($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0;$5_1=global$0-16|0;global$0=$5_1;HEAP32[$5_1+8>>2]=$1_1;$1_1=0;$6_1=6;label$1:{label$2:{if($69($0_1,$5_1+8|0)){break label$2}$6_1=4;$7_1=$58($0_1);if(!$140($3_1,64,$7_1)){break label$2}$1_1=$289($3_1,$7_1);while(1){label$4:{$75($0_1);$1_1=$1_1-48|0;if(!$96($0_1,$5_1+8|0)|($4_1|0)<2){break label$4}$6_1=$58($0_1);if(!$140($3_1,64,$6_1)){break label$1}$4_1=$4_1-1|0;$1_1=$289($3_1,$6_1)+Math_imul($1_1,10)|0;continue}break}$6_1=2;if(!$69($0_1,$5_1+8|0)){break label$1}}HEAP32[$2_1>>2]=HEAP32[$2_1>>2]|$6_1}global$0=$5_1+16|0;return $1_1}function $172($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0;$5_1=global$0-16|0;global$0=$5_1;HEAP32[$5_1+8>>2]=$1_1;$1_1=0;$6_1=6;label$1:{label$2:{if($68($0_1,$5_1+8|0)){break label$2}$6_1=4;$7_1=$57($0_1);if(!$139($3_1,64,$7_1)){break label$2}$1_1=$288($3_1,$7_1);while(1){label$4:{$74($0_1);$1_1=$1_1-48|0;if(!$95($0_1,$5_1+8|0)|($4_1|0)<2){break label$4}$6_1=$57($0_1);if(!$139($3_1,64,$6_1)){break label$1}$4_1=$4_1-1|0;$1_1=$288($3_1,$6_1)+Math_imul($1_1,10)|0;continue}break}$6_1=2;if(!$68($0_1,$5_1+8|0)){break label$1}}HEAP32[$2_1>>2]=HEAP32[$2_1>>2]|$6_1}global$0=$5_1+16|0;return $1_1}function $1233($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0;$4_1=global$0+-64|0;global$0=$4_1;$3_1=1;label$1:{if($121($0_1,$1_1,0)){break label$1}$3_1=0;if(!$1_1){break label$1}$1_1=$526($1_1,62832,62880);$3_1=0;if(!$1_1){break label$1}$3_1=$4_1+8|0;wasm2js_memory_fill($3_1|4,0,52);HEAP32[$4_1+56>>2]=1;HEAP32[$4_1+20>>2]=-1;HEAP32[$4_1+16>>2]=$0_1;HEAP32[$4_1+8>>2]=$1_1;FUNCTION_TABLE[HEAP32[HEAP32[$1_1>>2]+28>>2]]($1_1,$3_1,HEAP32[$2_1>>2],1);$0_1=HEAP32[$4_1+32>>2];if(($0_1|0)==1){HEAP32[$2_1>>2]=HEAP32[$4_1+24>>2]}$3_1=($0_1|0)==1}global$0=$4_1- -64|0;return $3_1|0}function $238($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0,$8_1=0,$9_1=0;$8_1=global$0-16|0;global$0=$8_1;label$1:{if(!$0_1){break label$1}$7_1=HEAP32[$4_1+12>>2];$6_1=$2_1-$1_1|0;if(($6_1|0)>0){$6_1=$6_1>>>2|0;if(($283($0_1,$1_1,$6_1)|0)!=($6_1|0)){break label$1}}$1_1=$3_1-$1_1>>2;$1_1=($1_1|0)<($7_1|0)?$7_1-$1_1|0:0;if(($1_1|0)>0){$5_1=$931($8_1,$1_1,$5_1);$7_1=$283($0_1,$15($5_1),$1_1);$8($5_1);if(($1_1|0)!=($7_1|0)){break label$1}}$1_1=$3_1-$2_1|0;if(($1_1|0)>0){$1_1=$1_1>>>2|0;if(($283($0_1,$2_1,$1_1)|0)!=($1_1|0)){break label$1}}$857($4_1);$9_1=$0_1}global$0=$8_1+16|0;return $9_1}function $719($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;$3_1=HEAPF64[$2_1+16>>3];$4_1=HEAPF64[$2_1>>3];$5_1=HEAPF64[$2_1+8>>3];$6_1=HEAPF64[$1_1+88>>3]+(HEAPF64[$1_1+80>>3]*$3_1+(HEAPF64[$1_1+64>>3]*$4_1+$5_1*HEAPF64[$1_1+72>>3]));if($6_1!=0){$7_1=HEAPF64[$1_1+56>>3];$8_1=HEAPF64[$1_1+48>>3];$9_1=HEAPF64[$1_1+40>>3];$10_1=HEAPF64[$1_1+32>>3];HEAPF64[$0_1>>3]=(HEAPF64[$1_1+24>>3]+(HEAPF64[$1_1+16>>3]*$3_1+(HEAPF64[$1_1>>3]*$4_1+$5_1*HEAPF64[$1_1+8>>3])))/$6_1;HEAPF64[$0_1+8>>3]=($7_1+($8_1*$3_1+($10_1*$4_1+$5_1*$9_1)))/$6_1;$0_1=0}else{$0_1=-1}return $0_1}function $287($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$4_1=global$0-16|0;global$0=$4_1;$5_1=HEAP32[$34($0_1)>>2];$3_1=HEAP32[$2_1>>2]-HEAP32[$0_1>>2]|0;label$1:{if($3_1>>>0<2147483647){$3_1=$3_1<<1;break label$1}$3_1=-1}$3_1=$3_1?$3_1:4;$7_1=HEAP32[$1_1>>2];$8_1=HEAP32[$0_1>>2];$6_1=$245(($5_1|0)==317?0:HEAP32[$0_1>>2],$3_1);if($6_1){if(($5_1|0)!=317){$141($0_1)}HEAP32[$4_1+4>>2]=316;$5_1=$54($4_1+8|0,$6_1,$4_1+4|0);$911($0_1,$5_1);$53($5_1);HEAP32[$1_1>>2]=HEAP32[$0_1>>2]+($7_1-$8_1|0);HEAP32[$2_1>>2]=HEAP32[$0_1>>2]+($3_1&-4);global$0=$4_1+16|0;return}$55();abort()}function $125($0_1){var $1_1=0,$2_1=0,$3_1=0;$1_1=HEAP32[global$3+16>>2];label$1:{if(($1_1|0)==(HEAP32[$0_1+76>>2]&-1073741825)){break label$1}$2_1=1;$3_1=$0_1+76|0;if(!(Atomics.compareExchange(HEAP32,$3_1>>2,0,$1_1)|0)){break label$1}$1_1=$1_1|1073741824;$0_1=Atomics.compareExchange(HEAP32,$3_1>>2,0,$1_1)|0;if(!$0_1){break label$1}while(1){$2_1=$0_1|1073741824;label$3:{if(!($0_1&1073741824)){if((Atomics.compareExchange(HEAP32,$3_1>>2,$0_1,$2_1)|0)!=($0_1|0)){break label$3}}$254($3_1,0,$2_1)}$0_1=Atomics.compareExchange(HEAP32,$3_1>>2,0,$1_1)|0;if($0_1){continue}break}$2_1=1}return $2_1}function $644($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0;$4_1=+fimport$15();$1_1=$4_1/1e3;label$1:{if(Math_abs($1_1)<0x8000000000000000){$3_1=Math_abs($1_1)>=1?~~($1_1>0?Math_min(Math_floor($1_1*2.3283064365386963e-10),4294967295):Math_ceil(($1_1-+(~~$1_1>>>0>>>0))*2.3283064365386963e-10))>>>0:0;$2_1=~~$1_1>>>0;break label$1}$3_1=-2147483648;$2_1=0}HEAP32[$0_1>>2]=$2_1;HEAP32[$0_1+4>>2]=$3_1;$1_1=($4_1-(+(__wasm_i64_mul($2_1,$3_1,1e3,0)>>>0)+ +(i64toi32_i32$HIGH_BITS|0)*4294967296))*1e3;label$3:{if(Math_abs($1_1)<2147483648){$2_1=~~$1_1;break label$3}$2_1=-2147483648}HEAP32[$0_1+8>>2]=$2_1}function $915($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$4_1=global$0-16|0;global$0=$4_1;$5_1=HEAP32[$34($0_1)>>2];$3_1=HEAP32[$2_1>>2]-HEAP32[$0_1>>2]|0;label$1:{if($3_1>>>0<2147483647){$3_1=$3_1<<1;break label$1}$3_1=-1}$3_1=$3_1?$3_1:1;$7_1=HEAP32[$1_1>>2];$8_1=HEAP32[$0_1>>2];$6_1=$245(($5_1|0)==317?0:HEAP32[$0_1>>2],$3_1);if($6_1){if(($5_1|0)!=317){$141($0_1)}HEAP32[$4_1+4>>2]=316;$5_1=$54($4_1+8|0,$6_1,$4_1+4|0);$911($0_1,$5_1);$53($5_1);HEAP32[$1_1>>2]=HEAP32[$0_1>>2]+($7_1-$8_1|0);HEAP32[$2_1>>2]=$3_1+HEAP32[$0_1>>2];global$0=$4_1+16|0;return}$55();abort()}function $723($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0,$8_1=0;$7_1=global$0-16|0;global$0=$7_1;$5_1=$64($5_1);$380($0_1,$12($4_1));$8_1=$7_1+12|0;while(1){if($12($4_1)>>>0>$6_1>>>0){$458($7_1+8|0,$8_1,$1_1,HEAPF32[$59($3_1,HEAP32[$29($4_1,$6_1)+4>>2])>>2],HEAPF32[$59($3_1,HEAP32[$29($4_1,$6_1)+4>>2])+4>>2]);if($5_1>=Math_fround($64(Math_fround(HEAPF32[$7_1+8>>2]-HEAPF32[$59($2_1,HEAP32[$29($4_1,$6_1)>>2])>>2]))+$64(Math_fround(HEAPF32[$7_1+12>>2]-HEAPF32[$59($2_1,HEAP32[$29($4_1,$6_1)>>2])+4>>2])))){$721($0_1,$29($4_1,$6_1))}$6_1=$6_1+1|0;continue}break}global$0=$7_1+16|0}function $1066($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;if(HEAP32[$0_1+320>>2]>0){$5_1=HEAP32[$3_1>>2];while(1){$8_1=$4_1|1;$1_1=HEAP32[$0_1+112>>2];if(($1_1|0)>0){$3_1=HEAP32[($4_1<<2)+$5_1>>2];$9_1=$1_1+$3_1|0;$1_1=HEAP32[($6_1<<2)+$2_1>>2];while(1){$7_1=HEAPU8[$1_1|0];HEAP8[$3_1+1|0]=$7_1;HEAP8[$3_1|0]=$7_1;$1_1=$1_1+1|0;$3_1=$3_1+2|0;if($9_1>>>0>$3_1>>>0){continue}break}$1_1=HEAP32[$0_1+112>>2]}$370($5_1,$4_1,$5_1,$8_1,1,$1_1);$6_1=$6_1+1|0;$4_1=$4_1+2|0;if(($4_1|0)>2]){continue}break}}}function $694($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0;HEAP32[$0_1+16>>2]=1;HEAP32[$0_1+8>>2]=$4_1;HEAP32[$0_1+4>>2]=$3_1;HEAP32[$0_1>>2]=$2_1;HEAP32[$0_1+20>>2]=Math_imul($4_1,$5_1);$7_1=global$0-16|0;global$0=$7_1;HEAP32[$0_1+24>>2]=$1_1;$6_1=$48(16);$4_1=global$0-32|0;global$0=$4_1;HEAP32[$4_1+12>>2]=$1_1;$6_1=$469($6_1);HEAP32[$6_1>>2]=27576;$260($6_1+12|0,$260($4_1+8|0,$4_1+12|0));global$0=$4_1+32|0;HEAP32[$0_1+28>>2]=$6_1;HEAP32[$7_1+4>>2]=$1_1;HEAP32[$7_1>>2]=$1_1;global$0=$7_1+16|0;if(($5_1|0)<0){$5_1=Math_imul($695($2_1),$3_1)}HEAP32[$0_1+12>>2]=$5_1;return $0_1}function $1277($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0,$10_1=0;while(1){label$2:{if(($2_1|0)==($3_1|0)|$4_1>>>0<=$7_1>>>0){break label$2}$6_1=1;$5_1=global$0-16|0;global$0=$5_1;HEAP32[$5_1+12>>2]=HEAP32[$0_1+8>>2];$10_1=$161($5_1+8|0,$5_1+12|0);$8_1=$352(0,$2_1,$3_1-$2_1|0,$1_1?$1_1:72008);$160($10_1);global$0=$5_1+16|0;label$3:{switch($8_1+2|0){default:$6_1=$8_1;break;case 0:case 1:break label$2;case 2:break label$3}}$7_1=$7_1+1|0;$9_1=$6_1+$9_1|0;$2_1=$2_1+$6_1|0;continue}break}return $9_1|0}function $931($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$7_1=global$0-16|0;global$0=$7_1;$4_1=global$0-16|0;global$0=$4_1;$3_1=$0_1;label$1:{if($1_1>>>0<=1073741807){label$3:{if($407($1_1)){$111($3_1,$1_1);$5_1=$3_1;break label$3}$0_1=$286($1_1)+1|0;$5_1=$285($3_1,$0_1);$105($3_1,$5_1);$138($3_1,$0_1);$98($3_1,$1_1)}$6_1=$5_1;$0_1=$1_1;if($1_1?$1_1:0){while(1){HEAP32[$6_1>>2]=$2_1;$6_1=$6_1+4|0;$0_1=$0_1-1|0;if($0_1){continue}break}}HEAP32[$4_1+12>>2]=0;$129(($1_1<<2)+$5_1|0,$4_1+12|0);global$0=$4_1+16|0;break label$1}$137();abort()}global$0=$7_1+16|0;return $3_1}function $1265($0_1){$0_1=$0_1|0;label$1:{if(Atomics.load(HEAPU8,72292)&1){break label$1}if(!$90(72292)){break label$1}label$2:{if(Atomics.load(HEAPU8,72632)&1){break label$2}if(!$90(72632)){break label$2}$0_1=72464;while(1){$0_1=$18($0_1)+12|0;if(($0_1|0)!=72632){continue}break}$89(72632)}$37(72464,28045);$37(72476,28052);$37(72488,28018);$37(72500,28026);$37(72512,28009);$37(72524,28059);$37(72536,28036);$37(72548,30708);$37(72560,30891);$37(72572,31322);$37(72584,32599);$37(72596,28599);$37(72608,31113);$37(72620,29628);HEAP32[18072]=72464;$89(72292)}return HEAP32[18072]}function $1263($0_1){$0_1=$0_1|0;label$1:{if(Atomics.load(HEAPU8,72300)&1){break label$1}if(!$90(72300)){break label$1}label$2:{if(Atomics.load(HEAPU8,72808)&1){break label$2}if(!$90(72808)){break label$2}$0_1=72640;while(1){$0_1=$18($0_1)+12|0;if(($0_1|0)!=72808){continue}break}$89(72808)}$36(72640,61700);$36(72652,61728);$36(72664,61756);$36(72676,61788);$36(72688,61828);$36(72700,61864);$36(72712,61892);$36(72724,61928);$36(72736,61944);$36(72748,61960);$36(72760,61976);$36(72772,61992);$36(72784,62008);$36(72796,62024);HEAP32[18074]=72640;$89(72300)}return HEAP32[18074]}function $192($0_1,$1_1,$2_1){var $3_1=Math_fround(0),$4_1=Math_fround(0),$5_1=Math_fround(0);$3_1=HEAPF32[$2_1>>2];$4_1=HEAPF32[$2_1+4>>2];$5_1=Math_fround(HEAPF32[$1_1+32>>2]+Math_fround(Math_fround(HEAPF32[$1_1+24>>2]*$3_1)+Math_fround(HEAPF32[$1_1+28>>2]*$4_1)));HEAPF32[$0_1>>2]=Math_fround(HEAPF32[$1_1+8>>2]+Math_fround(Math_fround(HEAPF32[$1_1>>2]*$3_1)+Math_fround($4_1*HEAPF32[$1_1+4>>2])))/$5_1;HEAPF32[$0_1+4>>2]=Math_fround(HEAPF32[$1_1+20>>2]+Math_fround(Math_fround(HEAPF32[$1_1+12>>2]*HEAPF32[$2_1>>2])+Math_fround(HEAPF32[$1_1+16>>2]*HEAPF32[$2_1+4>>2])))/$5_1}function $513($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0;if(!$0_1){return}while(1){if(HEAP32[$0_1+4>>2]>($2_1|0)){$3_1=$2_1<<2;if(HEAP32[$3_1+HEAP32[$0_1+8>>2]>>2]){$1_1=HEAP32[$0_1+8>>2]+($2_1<<2)|0;if(HEAP32[$1_1>>2]){HEAP32[$1_1>>2]=0;HEAP32[$0_1>>2]=HEAP32[$0_1>>2]-1}}$1_1=0;while(1){if(($1_1|0)!=4){$4_1=$1_1+$3_1<<2;$1(HEAP32[$4_1+HEAP32[$0_1+12>>2]>>2]);$1(HEAP32[HEAP32[$0_1+20>>2]+$4_1>>2]);$1_1=$1_1+1|0;continue}break}$2_1=$2_1+1|0;continue}break}$1(HEAP32[$0_1+12>>2]);$1(HEAP32[$0_1+20>>2]);$1(HEAP32[$0_1+8>>2]);$1(HEAP32[$0_1+16>>2]);$1(HEAP32[$0_1+24>>2]);$1($0_1)}function $2($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$2_1=global$0-32|0;global$0=$2_1;$3_1=$2_1+24|0;$345($3_1,$0_1);label$1:{if(!HEAPU8[$3_1|0]){break label$1}$3_1=$2_1+16|0;$30($3_1,HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0);$4_1=$162($3_1,72044);$19($3_1);$6_1=$532($2_1+8|0,$0_1);$5_1=HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0;$7_1=$879($5_1);HEAP32[$2_1+16>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$4_1>>2]+16>>2]]($4_1,HEAP32[$6_1>>2],$5_1,$7_1,$1_1);if(!$332($3_1)){break label$1}$284(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0,5)}$295($2_1+24|0);global$0=$2_1+32|0;return $0_1}function $1005($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;if(($3_1|0)>0){$2_1=HEAP32[$0_1+112>>2];$9_1=HEAP32[HEAP32[$0_1+484>>2]+24>>2];while(1){if($2_1){$0_1=HEAP32[($4_1<<2)+$1_1>>2];$5_1=$2_1;while(1){$7_1=(HEAP32[(HEAPU8[$0_1|0]>>>1&124)+$9_1>>2]+(HEAPU8[$0_1+1|0]<<4&4032)|0)+(HEAPU8[$0_1+2|0]>>>2&62)|0;$8_1=HEAPU16[$7_1>>1];$6_1=$8_1+1|0;HEAP16[$7_1>>1]=($6_1|0)!=($6_1&65535)?$8_1:$6_1;$0_1=$0_1+3|0;$5_1=$5_1-1|0;if($5_1){continue}break}}$4_1=$4_1+1|0;if(($4_1|0)!=($3_1|0)){continue}break}}}function $613($0_1){var $1_1=0,$2_1=0,$3_1=0;label$1:{if(($441($0_1)|0)!=10){break label$1}$2_1=$0_1+4|0;$1_1=100;while(1){if(!(!$1_1|!HEAP32[$0_1>>2])){$1_1=$1_1-1|0;if(!HEAP32[$2_1>>2]){continue}}break}if(($441($0_1)|0)!=10){break label$1}while(1){$1_1=HEAP32[$0_1>>2];label$5:{if(($1_1&2147483647)!=2147483647){break label$5}$190($2_1);$3_1=$1_1;$1_1=$1_1|-2147483648;Atomics.compareExchange(HEAP32,$0_1>>2,$3_1,$1_1)|0;$1_1=$620($0_1,$1_1,HEAP32[$0_1+8>>2]^128);$368($2_1);if(!$1_1){break label$5}if(($1_1|0)!=27){break label$1}}if(($441($0_1)|0)==10){continue}break}}}function $1324($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0;$6_1=global$0-32|0;global$0=$6_1;$7_1=HEAP32[14003];HEAP32[$6_1+24>>2]=HEAP32[14002];HEAP32[$6_1+28>>2]=$7_1;$7_1=HEAP32[14001];HEAP32[$6_1+16>>2]=HEAP32[14e3];HEAP32[$6_1+20>>2]=$7_1;$7_1=HEAP32[13999];HEAP32[$6_1+8>>2]=HEAP32[13998];HEAP32[$6_1+12>>2]=$7_1;$7_1=HEAP32[13997];HEAP32[$6_1>>2]=HEAP32[13996];HEAP32[$6_1+4>>2]=$7_1;$7_1=$0_1;$0_1=$6_1+32|0;$1_1=$183($7_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$0_1);global$0=$0_1;return $1_1|0}function $413($0_1,$1_1,$2_1){var $3_1=0,$4_1=0;if($2_1&2048){HEAP8[$0_1|0]=43;$0_1=$0_1+1|0}if($2_1&1024){HEAP8[$0_1|0]=35;$0_1=$0_1+1|0}$3_1=$2_1&260;if(($3_1|0)!=260){HEAP8[$0_1|0]=46;HEAP8[$0_1+1|0]=42;$0_1=$0_1+2|0}$2_1=$2_1&16384;while(1){$4_1=HEAPU8[$1_1|0];if($4_1){HEAP8[$0_1|0]=$4_1;$0_1=$0_1+1|0;$1_1=$1_1+1|0;continue}break}label$6:{label$7:{if(($3_1|0)!=256){if(($3_1|0)!=4){break label$7}$1_1=$2_1?70:102;break label$6}$1_1=$2_1?69:101;break label$6}$1_1=$2_1?65:97;if(($3_1|0)==260){break label$6}$1_1=$2_1?71:103}HEAP8[$0_1|0]=$1_1;return($3_1|0)!=260}function $523($0_1,$1_1,$2_1,$3_1){HEAP8[$0_1+53|0]=1;label$1:{if(HEAP32[$0_1+4>>2]!=($2_1|0)){break label$1}HEAP8[$0_1+52|0]=1;$2_1=HEAP32[$0_1+16>>2];label$2:{if(!$2_1){HEAP32[$0_1+36>>2]=1;HEAP32[$0_1+24>>2]=$3_1;HEAP32[$0_1+16>>2]=$1_1;if(($3_1|0)!=1){break label$1}if(HEAP32[$0_1+48>>2]==1){break label$2}break label$1}if(($1_1|0)==($2_1|0)){$2_1=HEAP32[$0_1+24>>2];if(($2_1|0)==2){HEAP32[$0_1+24>>2]=$3_1;$2_1=$3_1}if(HEAP32[$0_1+48>>2]!=1){break label$1}if(($2_1|0)==1){break label$2}break label$1}HEAP32[$0_1+36>>2]=HEAP32[$0_1+36>>2]+1}HEAP8[$0_1+54|0]=1}}function $200($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0,$8_1=0,$9_1=0;$7_1=global$0-16|0;global$0=$7_1;label$1:{if(!$0_1){break label$1}$6_1=HEAP32[$4_1+12>>2];$8_1=$2_1-$1_1|0;if(($8_1|0)>0){if(($283($0_1,$1_1,$8_1)|0)!=($8_1|0)){break label$1}}$1_1=$3_1-$1_1|0;$1_1=($1_1|0)<($6_1|0)?$6_1-$1_1|0:0;if(($1_1|0)>0){$5_1=$858($7_1,$1_1,$5_1);$6_1=$283($0_1,$15($5_1),$1_1);$8($5_1);if(($1_1|0)!=($6_1|0)){break label$1}}$1_1=$3_1-$2_1|0;if(($1_1|0)>0){if(($283($0_1,$2_1,$1_1)|0)!=($1_1|0)){break label$1}}$857($4_1);$9_1=$0_1}global$0=$7_1+16|0;return $9_1}function $387($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0;$3_1=global$0-16|0;global$0=$3_1;label$1:{if(!$128($1_1)){HEAP32[$0_1+8>>2]=HEAP32[$1_1+8>>2];$2_1=HEAP32[$1_1+4>>2];HEAP32[$0_1>>2]=HEAP32[$1_1>>2];HEAP32[$0_1+4>>2]=$2_1;break label$1}$5_1=HEAP32[$1_1>>2];label$3:{label$4:{$2_1=HEAP32[$1_1+4>>2];label$5:{if($342($2_1)){$1_1=$0_1;$111($1_1,$2_1);break label$5}if($2_1>>>0>4294967279){break label$4}$4_1=$240($2_1)+1|0;$1_1=$48($4_1);$105($0_1,$1_1);$138($0_1,$4_1);$98($0_1,$2_1)}$154($1_1,$5_1,$2_1+1|0);break label$3}$137();abort()}}global$0=$3_1+16|0}function $847($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0,$8_1=0;$6_1=global$0-256|0;global$0=$6_1;HEAP32[$6_1+248>>2]=37;HEAP32[$6_1+252>>2]=0;$7_1=$6_1+248|0;$414($7_1|1,31064,$5_1,HEAP32[$1_1+4>>2]);$5_1=$43();HEAP32[$6_1>>2]=$3_1;HEAP32[$6_1+4>>2]=$4_1;$3_1=$6_1+224|0;$4_1=$130($3_1,24,$5_1,$7_1,$6_1)+$3_1|0;$7_1=$175($3_1,$4_1,$1_1);$5_1=$6_1+16|0;$30($5_1,$1_1);$8_1=$3_1;$3_1=$6_1+32|0;$933($8_1,$7_1,$4_1,$3_1,$6_1+28|0,$6_1+24|0,$5_1);$19($5_1);$0_1=$238($0_1,$3_1,HEAP32[$6_1+28>>2],HEAP32[$6_1+24>>2],$1_1,$2_1);global$0=$6_1+256|0;return $0_1}function $849($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0,$8_1=0;$6_1=global$0-112|0;global$0=$6_1;HEAP32[$6_1+104>>2]=37;HEAP32[$6_1+108>>2]=0;$7_1=$6_1+104|0;$414($7_1|1,31064,$5_1,HEAP32[$1_1+4>>2]);$5_1=$43();HEAP32[$6_1>>2]=$3_1;HEAP32[$6_1+4>>2]=$4_1;$3_1=$6_1+80|0;$4_1=$130($3_1,24,$5_1,$7_1,$6_1)+$3_1|0;$7_1=$175($3_1,$4_1,$1_1);$5_1=$6_1+16|0;$30($5_1,$1_1);$8_1=$3_1;$3_1=$6_1+32|0;$936($8_1,$7_1,$4_1,$3_1,$6_1+28|0,$6_1+24|0,$5_1);$19($5_1);$0_1=$200($0_1,$3_1,HEAP32[$6_1+28>>2],HEAP32[$6_1+24>>2],$1_1,$2_1);global$0=$6_1+112|0;return $0_1}function $863($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0;$5_1=global$0-16|0;global$0=$5_1;if(1073741807-$1_1>>>0>=$2_1>>>0){$6_1=$15($0_1);label$2:{if($1_1>>>0<536870887){HEAP32[$5_1+8>>2]=$1_1<<1;HEAP32[$5_1+12>>2]=$1_1+$2_1;$2_1=$286(HEAP32[$67($5_1+12|0,$5_1+8|0)>>2]);break label$2}$2_1=1073741806}$7_1=$2_1+1|0;$2_1=$285($0_1,$7_1);if($4_1){$164($2_1,$6_1,$4_1)}if(($3_1|0)!=($4_1|0)){$8_1=$4_1<<2;$164($2_1+$8_1|0,$6_1+$8_1|0,$3_1-$4_1|0)}if(($1_1|0)!=1){$1($6_1)}$105($0_1,$2_1);$138($0_1,$7_1);global$0=$5_1+16|0;return}$137();abort()}function $669(){var $0_1=0,$1_1=0;$1_1=HEAP16[24628];label$1:{if(!$1_1){HEAP32[$22()>>2]=28;$0_1=-1;break label$1}label$3:{label$4:{if(($1_1|0)>-2){break label$4}$0_1=200809;label$5:{switch(($1_1&255)-1|0){case 1:$0_1=131072;break label$1;case 2:$0_1=32768;break label$1;case 3:$0_1=65536;break label$1;case 4:case 10:$0_1=2147483647;break label$1;case 5:case 6:$0_1=fimport$29()|0;break label$1;case 7:case 8:$0_1=fimport$28()>>>16|0;break label$1;case 0:break label$3;case 9:break label$5;default:break label$4}}$0_1=0;break label$1}$0_1=$1_1}}return $0_1}function $963($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$1_1=global$0-16|0;global$0=$1_1;$4_1=$1_1+16|0;label$1:{while(1){$3_1=HEAP32[$0_1+36>>2];$2_1=$1_1+8|0;$5_1=FUNCTION_TABLE[HEAP32[HEAP32[$3_1>>2]+20>>2]]($3_1,HEAP32[$0_1+40>>2],$2_1,$4_1,$1_1+4|0)|0;$3_1=-1;$6_1=$2_1;$2_1=HEAP32[$1_1+4>>2]-$2_1|0;if(($166($6_1,1,$2_1,HEAP32[$0_1+32>>2])|0)!=($2_1|0)){break label$1}label$3:{switch($5_1-1|0){case 1:break label$1;case 0:continue;default:break label$3}}break}$3_1=$301(HEAP32[$0_1+32>>2])?-1:0}global$0=$1_1+16|0;return $3_1|0}function $340($0_1){var $1_1=0,$2_1=0;$1_1=HEAP32[$0_1+76>>2];if(!(($1_1|0)>=0&(!$1_1|HEAP32[global$3+16>>2]!=($1_1&-1073741825)))){$1_1=HEAP32[$0_1+4>>2];if(($1_1|0)!=HEAP32[$0_1+8>>2]){HEAP32[$0_1+4>>2]=$1_1+1;return HEAPU8[$1_1|0]}return $366($0_1)}if(Atomics.compareExchange(HEAP32,$0_1+76>>2,0,1073741823)|0){$125($0_1)}$1_1=$0_1+76|0;$2_1=HEAP32[$0_1+4>>2];label$5:{if(($2_1|0)!=HEAP32[$0_1+8>>2]){HEAP32[$0_1+4>>2]=$2_1+1;$0_1=HEAPU8[$2_1|0];break label$5}$0_1=$366($0_1)}if(Atomics.exchange(HEAP32,$1_1>>2,0)&1073741824){$191($1_1,1)}return $0_1}function $423($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;if(HEAP32[(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0)+24>>2]){HEAP32[$1_1+12>>2]=$0_1;HEAP8[$1_1+8|0]=0;if($428(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0)){if(HEAP32[(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0)+72>>2]){$423(HEAP32[(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0)+72>>2])}HEAP8[$1_1+8|0]=1}label$4:{if(!HEAPU8[$1_1+8|0]){break label$4}if(($296(HEAP32[(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0)+24>>2])|0)!=-1){break label$4}$284(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0,1)}$295($1_1+8|0)}global$0=$1_1+16|0}function $1174($0_1,$1_1){$0_1=$0_1|0;$1_1=Math_fround($1_1);var $2_1=0,$3_1=0;$2_1=global$0-32|0;global$0=$2_1;HEAP32[$2_1+28>>2]=$0_1;HEAP32[$2_1+24>>2]=$26(67484,$2_1+28|0);HEAP32[$2_1+16>>2]=$23();label$1:{if($31($2_1+24|0,$2_1+16|0)){break label$1}$0_1=$32($2_1+28|0);if($1_1<=Math_fround(0)|$1_1>=Math_fround(1)){break label$1}$0_1=HEAP32[$0_1+216>>2];if(!$0_1){break label$1}$3_1=+$1_1;if(!$0_1|$3_1<=0|$3_1>=1){$0_1=-1}else{HEAPF64[$0_1+7062416>>3]=$3_1;$0_1=0}if($0_1){break label$1}HEAPF64[$2_1>>3]=$3_1;$5(0,1,37175,$2_1)}global$0=$2_1+32|0}function $455($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0;$1_1=$7(136);if($1_1){while(1){$2_1=0;if(($3_1|0)!=3){while(1){if(($2_1|0)!=4){$4_1=$2_1<<3;$5_1=$3_1<<5;HEAPF64[$4_1+($5_1+$1_1|0)>>3]=HEAPF64[($0_1+$5_1|0)+$4_1>>3];$2_1=$2_1+1|0;continue}break}$3_1=$3_1+1|0;continue}break}HEAP32[$1_1+128>>2]=0;HEAP32[$1_1+132>>2]=1071644672;HEAP32[$1_1+120>>2]=0;HEAP32[$1_1+124>>2]=1074790400;HEAP32[$1_1+112>>2]=-2147483648;HEAP32[$1_1+116>>2]=1072672276;HEAP32[$1_1+104>>2]=-1610612736;HEAP32[$1_1+108>>2]=1069128089;HEAP32[$1_1+96>>2]=10}return $1_1}function $1120($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;label$1:{$1_1=HEAP32[$0_1+440>>2];label$2:{if(!$1_1){if(!$449($0_1)){break label$2}$1_1=HEAP32[$0_1+440>>2]}$2_1=HEAP32[HEAP32[$0_1+464>>2]+20>>2];if(($2_1+208|0)==($1_1|0)){$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+24>>2]=$2_1;HEAP32[$1_1+20>>2]=100;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1,3);HEAP32[$0_1+440>>2]=0;break label$1}if(FUNCTION_TABLE[HEAP32[HEAP32[$0_1+24>>2]+20>>2]]($0_1,$2_1)|0){break label$1}}return 0}$0_1=HEAP32[$0_1+464>>2];HEAP32[$0_1+20>>2]=HEAP32[$0_1+20>>2]+1&7;return 1}function $848($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0;$5_1=global$0-160|0;global$0=$5_1;HEAP32[$5_1+152>>2]=37;HEAP32[$5_1+156>>2]=0;$6_1=$5_1+152|0;$414($6_1|1,31111,$4_1,HEAP32[$1_1+4>>2]);$4_1=$43();HEAP32[$5_1>>2]=$3_1;$3_1=$5_1+139|0;$4_1=$130($3_1,13,$4_1,$6_1,$5_1)+$3_1|0;$7_1=$175($3_1,$4_1,$1_1);$6_1=$5_1+16|0;$30($6_1,$1_1);$8_1=$3_1;$3_1=$5_1+32|0;$933($8_1,$7_1,$4_1,$3_1,$5_1+28|0,$5_1+24|0,$6_1);$19($6_1);$0_1=$238($0_1,$3_1,HEAP32[$5_1+28>>2],HEAP32[$5_1+24>>2],$1_1,$2_1);global$0=$5_1+160|0;return $0_1}function $1331($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$0_1=global$0-208|0;global$0=$0_1;$6_1=$43();HEAP32[$0_1>>2]=$4_1;$5_1=$0_1+176|0;$6_1=$130($5_1,20,$6_1,30670,$0_1);$7_1=$6_1+$5_1|0;$8_1=$175($5_1,$7_1,$2_1);$4_1=$0_1+16|0;$30($4_1,$2_1);$9_1=$101($4_1);$19($4_1);$185($9_1,$5_1,$7_1,$4_1);$5_1=$1_1;$1_1=($6_1<<2)+$4_1|0;$1_1=$238($5_1,$4_1,($7_1|0)==($8_1|0)?$1_1:(($8_1-$0_1<<2)+$0_1|0)-688|0,$1_1,$2_1,$3_1);global$0=$0_1+208|0;return $1_1|0}function $250($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$5_1=global$0-16|0;global$0=$5_1;HEAP32[$5_1+12>>2]=$2_1;$3_1=global$0-160|0;global$0=$3_1;$6_1=$3_1+8|0;wasm2js_memory_copy($6_1,50080,144);HEAP32[$3_1+52>>2]=$0_1;HEAP32[$3_1+28>>2]=$0_1;$4_1=-2-$0_1|0;$4_1=$4_1>>>0>2147483647?2147483647:$4_1;HEAP32[$3_1+56>>2]=$4_1;$0_1=$0_1+$4_1|0;HEAP32[$3_1+36>>2]=$0_1;HEAP32[$3_1+24>>2]=$0_1;$598($6_1,$1_1,$2_1);if($4_1){$0_1=HEAP32[$3_1+28>>2];HEAP8[$0_1-(($0_1|0)==HEAP32[$3_1+24>>2])|0]=0}global$0=$3_1+160|0;global$0=$5_1+16|0}function $174($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=$1_1;HEAP32[$4_1+8>>2]=$3_1;$6_1=$161($4_1,$4_1+12|0);$1_1=global$0-16|0;global$0=$1_1;$3_1=HEAP32[$4_1+8>>2];HEAP32[$1_1+12>>2]=$3_1;HEAP32[$1_1+8>>2]=$3_1;$5_1=-1;$3_1=$214(0,0,$2_1,$3_1);label$1:{if(($3_1|0)<0){break label$1}$7_1=$0_1;$3_1=$3_1+1|0;$0_1=$7($3_1);HEAP32[$7_1>>2]=$0_1;if(!$0_1){break label$1}$5_1=$214($0_1,$3_1,$2_1,HEAP32[$1_1+12>>2])}global$0=$1_1+16|0;$160($6_1);global$0=$4_1+16|0;return $5_1}function $850($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0,$8_1=0;$5_1=global$0-80|0;global$0=$5_1;HEAP32[$5_1+72>>2]=37;HEAP32[$5_1+76>>2]=0;$6_1=$5_1+72|0;$414($6_1|1,31111,$4_1,HEAP32[$1_1+4>>2]);$4_1=$43();HEAP32[$5_1>>2]=$3_1;$3_1=$5_1+59|0;$4_1=$130($3_1,13,$4_1,$6_1,$5_1)+$3_1|0;$7_1=$175($3_1,$4_1,$1_1);$6_1=$5_1+16|0;$30($6_1,$1_1);$8_1=$3_1;$3_1=$5_1+32|0;$936($8_1,$7_1,$4_1,$3_1,$5_1+28|0,$5_1+24|0,$6_1);$19($6_1);$0_1=$200($0_1,$3_1,HEAP32[$5_1+28>>2],HEAP32[$5_1+24>>2],$1_1,$2_1);global$0=$5_1+80|0;return $0_1}function $1340($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$0_1=global$0-96|0;global$0=$0_1;$6_1=$43();HEAP32[$0_1>>2]=$4_1;$5_1=$0_1- -64|0;$6_1=$130($5_1,20,$6_1,30670,$0_1);$7_1=$6_1+$5_1|0;$8_1=$175($5_1,$7_1,$2_1);$4_1=$0_1+16|0;$30($4_1,$2_1);$9_1=$106($4_1);$19($4_1);$207($9_1,$5_1,$7_1,$4_1);$5_1=$1_1;$1_1=$4_1+$6_1|0;$1_1=$200($5_1,$4_1,($7_1|0)==($8_1|0)?$1_1:(($8_1-$0_1|0)+$0_1|0)-48|0,$1_1,$2_1,$3_1);global$0=$0_1+96|0;return $1_1|0}function $1227($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;if($121($0_1,HEAP32[$1_1+8>>2],$4_1)){$522($1_1,$2_1,$3_1);return}label$2:{if(!$121($0_1,HEAP32[$1_1>>2],$4_1)){break label$2}if(!(HEAP32[$1_1+16>>2]!=($2_1|0)&HEAP32[$1_1+20>>2]!=($2_1|0))){if(($3_1|0)!=1){break label$2}HEAP32[$1_1+32>>2]=1;return}HEAP32[$1_1+20>>2]=$2_1;HEAP32[$1_1+32>>2]=$3_1;HEAP32[$1_1+40>>2]=HEAP32[$1_1+40>>2]+1;if(!(HEAP32[$1_1+36>>2]!=1|HEAP32[$1_1+24>>2]!=2)){HEAP8[$1_1+54|0]=1}HEAP32[$1_1+44>>2]=4}}function $609($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0;$5_1=global$0-256|0;global$0=$5_1;label$1:{if(($2_1|0)<2){break label$1}$7_1=($2_1<<2)+$1_1|0;HEAP32[$7_1>>2]=$5_1;if(!$0_1){break label$1}while(1){$4_1=$0_1>>>0<256?$0_1:256;$62(HEAP32[$7_1>>2],HEAP32[$1_1>>2],$4_1);$3_1=0;while(1){$6_1=($3_1<<2)+$1_1|0;$3_1=$3_1+1|0;$62(HEAP32[$6_1>>2],HEAP32[($3_1<<2)+$1_1>>2],$4_1);HEAP32[$6_1>>2]=HEAP32[$6_1>>2]+$4_1;if(($2_1|0)!=($3_1|0)){continue}break}$0_1=$0_1-$4_1|0;if($0_1){continue}break}}global$0=$5_1+256|0}function $1279($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0;$5_1=global$0-16|0;global$0=$5_1;HEAP32[$4_1>>2]=$2_1;$0_1=$534($5_1+12|0,0,HEAP32[$0_1+8>>2]);$1_1=2;label$1:{if($0_1+1>>>0<2){break label$1}$2_1=$0_1-1|0;$1_1=1;if($2_1>>>0>$3_1-HEAP32[$4_1>>2]>>>0){break label$1}$3_1=$5_1+12|0;while(1){if($2_1){$0_1=HEAPU8[$3_1|0];$1_1=HEAP32[$4_1>>2];HEAP32[$4_1>>2]=$1_1+1;HEAP8[$1_1|0]=$0_1;$2_1=$2_1-1|0;$3_1=$3_1+1|0;continue}break}$1_1=0}global$0=$5_1+16|0;return $1_1|0}function $638($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0;$1_1=HEAP32[$0_1+40>>2];$1_1=FUNCTION_TABLE[$1_1|0]($0_1,0,0,HEAPU8[$0_1|0]&128?HEAP32[$0_1+20>>2]==HEAP32[$0_1+28>>2]?1:2:1)|0;$2_1=i64toi32_i32$HIGH_BITS;label$1:{if(($2_1|0)<0){break label$1}$4_1=$1_1;$3_1=HEAP32[$0_1+8>>2];if($3_1){$0_1=$0_1+4|0}else{$3_1=HEAP32[$0_1+28>>2];if(!$3_1){break label$1}$0_1=$0_1+20|0}$1_1=HEAP32[$0_1>>2]-$3_1|0;$0_1=$4_1+$1_1|0;$2_1=($1_1>>31)+$2_1|0;$2_1=$0_1>>>0<$1_1>>>0?$2_1+1|0:$2_1;$1_1=$0_1}i64toi32_i32$HIGH_BITS=$2_1;return $1_1}function $633($0_1){var $1_1=0,$2_1=0,$3_1=0;label$1:{$2_1=HEAP8[67943];if(!$2_1){break label$1}$1_1=$113($0_1,0,-2147483647);if(($2_1|0)<0){HEAP8[67943]=0}if(!$1_1){break label$1}while(1){$2_1=($1_1|0)<0?$1_1+2147483647|0:$1_1;$1_1=$113($0_1,$2_1,$2_1-2147483647|0);if(($1_1|0)==($2_1|0)){break label$1}$3_1=$3_1+1|0;if(($3_1|0)!=10){continue}break}$1_1=$632($0_1,1)+1|0;while(1){if(($1_1|0)<0){$254($0_1,0,$1_1);$1_1=$1_1+2147483647|0}$3_1=$1_1;$1_1=$113($0_1,$1_1,$1_1|-2147483648);if(($3_1|0)!=($1_1|0)){continue}break}}}function $1021($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0;$6_1=HEAP32[$0_1+4>>2];if(($1_1|0)!=1){$7_1=HEAP32[$0_1>>2];HEAP32[$7_1+24>>2]=$1_1;HEAP32[$7_1+20>>2]=15;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$0_1=$306($0_1,$1_1,128);HEAP32[$0_1+40>>2]=0;HEAP32[$0_1+32>>2]=$2_1;HEAP32[$0_1+12>>2]=$5_1;HEAP32[$0_1+8>>2]=$3_1;HEAP32[$0_1+4>>2]=$4_1;HEAP32[$0_1>>2]=0;HEAP32[$0_1+44>>2]=HEAP32[$6_1+72>>2];HEAP32[$6_1+72>>2]=$0_1;return $0_1|0}function $1020($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0;$6_1=HEAP32[$0_1+4>>2];if(($1_1|0)!=1){$7_1=HEAP32[$0_1>>2];HEAP32[$7_1+24>>2]=$1_1;HEAP32[$7_1+20>>2]=15;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]>>2]]($0_1)}$0_1=$306($0_1,$1_1,128);HEAP32[$0_1+40>>2]=0;HEAP32[$0_1+32>>2]=$2_1;HEAP32[$0_1+12>>2]=$5_1;HEAP32[$0_1+8>>2]=$3_1;HEAP32[$0_1+4>>2]=$4_1;HEAP32[$0_1>>2]=0;HEAP32[$0_1+44>>2]=HEAP32[$6_1+68>>2];HEAP32[$6_1+68>>2]=$0_1;return $0_1|0}function $492($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;while(1){if(($5_1|0)!=3){$6_1=$5_1<<4;$4_1=$6_1+$0_1|0;$3_1=0;while(1){if(($3_1|0)!=4){$8_1=$3_1<<2;$7_1=$8_1+$1_1|0;HEAPF32[$8_1+($2_1+$6_1|0)>>2]=Math_fround(HEAPF32[$4_1+8>>2]*HEAPF32[$7_1+32>>2])+Math_fround(Math_fround(HEAPF32[$4_1>>2]*HEAPF32[$7_1>>2])+Math_fround(HEAPF32[$4_1+4>>2]*HEAPF32[$7_1+16>>2]));$3_1=$3_1+1|0;continue}break}$3_1=$2_1+$6_1|0;HEAPF32[$3_1+12>>2]=HEAPF32[$4_1+12>>2]+HEAPF32[$3_1+12>>2];$5_1=$5_1+1|0;continue}break}}function $0($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;$3_1=$86($1_1);$2_1=global$0-32|0;global$0=$2_1;$5_1=$345($2_1+24|0,$0_1);label$1:{if(!HEAPU8[$5_1|0]){break label$1}$6_1=$532($2_1+8|0,$0_1);$4_1=HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0;$7_1=HEAP32[$4_1+4>>2];$8_1=$879($4_1);$3_1=$1_1+$3_1|0;HEAP32[$2_1+16>>2]=$200(HEAP32[$6_1>>2],$1_1,($7_1&176)==32?$3_1:$1_1,$3_1,$4_1,$8_1);if(!$332($2_1+16|0)){break label$1}$284(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0,5)}$295($5_1);global$0=$2_1+32|0;return $0_1}function $544($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0;$4_1=global$0-160|0;global$0=$4_1;HEAP32[$4_1+60>>2]=$1_1;HEAP32[$4_1+20>>2]=$1_1;HEAP32[$4_1+24>>2]=-1;$5_1=$4_1+16|0;$155($5_1,0,0);$593($4_1,$5_1,$3_1,1);$3_1=HEAP32[$4_1+8>>2];$5_1=HEAP32[$4_1+12>>2];$6_1=HEAP32[$4_1>>2];$7_1=HEAP32[$4_1+4>>2];if($2_1){HEAP32[$2_1>>2]=((HEAP32[$4_1+20>>2]+HEAP32[$4_1+136>>2]|0)-HEAP32[$4_1+60>>2]|0)+$1_1}HEAP32[$0_1+8>>2]=$3_1;HEAP32[$0_1+12>>2]=$5_1;HEAP32[$0_1>>2]=$6_1;HEAP32[$0_1+4>>2]=$7_1;global$0=$4_1+160|0}function $527($0_1,$1_1){var $2_1=0,$3_1=0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=$1_1;label$1:{label$2:{label$3:{if(!$128($0_1)){$2_1=1;$1_1=HEAPU8[$0_1+11|0];if(($1_1|0)==1){break label$3}$2_1=$0_1;$111($0_1,$1_1+1|0);break label$1}$2_1=$210($0_1);$1_1=HEAP32[$0_1+4>>2];$2_1=$2_1-1|0;if(($1_1|0)!=($2_1|0)){break label$2}}$863($0_1,$2_1,1,$2_1,$2_1);$1_1=$2_1}$2_1=HEAP32[$0_1>>2];$98($0_1,$1_1+1|0)}$0_1=($1_1<<2)+$2_1|0;$129($0_1,$3_1+12|0);HEAP32[$3_1+8>>2]=0;$129($0_1+4|0,$3_1+8|0);global$0=$3_1+16|0}function $626($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0,$4_1=0,$5_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$0_1+32>>2]=1;$2_1=$0_1+4|0;$70($2_1);if(!$625($0_1)){while(1){$3_1=HEAP32[$0_1+44>>2];$4_1=HEAP32[$0_1+36>>2]+($3_1<<3)|0;$5_1=HEAP32[$4_1+4>>2];HEAP32[$1_1+8>>2]=HEAP32[$4_1>>2];HEAP32[$1_1+12>>2]=$5_1;HEAP32[$0_1+44>>2]=($3_1+1|0)%HEAP32[$0_1+40>>2];$77($2_1);FUNCTION_TABLE[HEAP32[$1_1+8>>2]](HEAP32[$1_1+12>>2]);$70($2_1);if(!$625($0_1)){continue}break}}$77($2_1);HEAP32[$0_1+32>>2]=0;global$0=$1_1+16|0}function $529($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0,$7_1=0;$5_1=global$0-16|0;global$0=$5_1;if(-17-$1_1>>>0>=$2_1>>>0){$6_1=$15($0_1);label$2:{if($1_1>>>0<2147483623){HEAP32[$5_1+8>>2]=$1_1<<1;HEAP32[$5_1+12>>2]=$1_1+$2_1;$2_1=$240(HEAP32[$67($5_1+12|0,$5_1+8|0)>>2]);break label$2}$2_1=-18}$7_1=$2_1+1|0;$2_1=$48($7_1);if($4_1){$154($2_1,$6_1,$4_1)}if(($3_1|0)!=($4_1|0)){$154($2_1+$4_1|0,$4_1+$6_1|0,$3_1-$4_1|0)}if(($1_1|0)!=10){$1($6_1)}$105($0_1,$2_1);$138($0_1,$7_1);global$0=$5_1+16|0;return}$137();abort()}function $1067($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0,$6_1=0,$7_1=0;$1_1=HEAP32[$0_1+320>>2];if(($1_1|0)>0){$6_1=HEAP32[$3_1>>2];while(1){$3_1=HEAP32[$0_1+112>>2];if(($3_1|0)>0){$4_1=$5_1<<2;$1_1=HEAP32[$4_1+$6_1>>2];$7_1=$3_1+$1_1|0;$3_1=HEAP32[$2_1+$4_1>>2];while(1){$4_1=HEAPU8[$3_1|0];HEAP8[$1_1+1|0]=$4_1;HEAP8[$1_1|0]=$4_1;$3_1=$3_1+1|0;$1_1=$1_1+2|0;if($7_1>>>0>$1_1>>>0){continue}break}$1_1=HEAP32[$0_1+320>>2]}$5_1=$5_1+1|0;if(($5_1|0)<($1_1|0)){continue}break}}}function $188($0_1,$1_1){label$1:{if(($1_1|0)>=1024){$0_1=$0_1*898846567431158e293;if($1_1>>>0<2047){$1_1=$1_1-1023|0;break label$1}$0_1=$0_1*898846567431158e293;$1_1=(($1_1|0)<3069?$1_1:3069)-2046|0;break label$1}if(($1_1|0)>-1023){break label$1}$0_1=$0_1*2004168360008973e-307;if($1_1>>>0>4294965304){$1_1=$1_1+969|0;break label$1}$0_1=$0_1*2004168360008973e-307;$1_1=(($1_1|0)>-2960?$1_1:-2960)+1938|0}wasm2js_scratch_store_i32(0,0);wasm2js_scratch_store_i32(1,$1_1+1023<<20);return $0_1*+wasm2js_scratch_load_f64()}function $528($0_1,$1_1){var $2_1=0,$3_1=0;$3_1=global$0-16|0;global$0=$3_1;HEAP8[$3_1+15|0]=$1_1;label$1:{label$2:{label$3:{if(!$128($0_1)){$2_1=10;$1_1=HEAPU8[$0_1+11|0];if(($1_1|0)==10){break label$3}$2_1=$0_1;$111($0_1,$1_1+1|0);break label$1}$2_1=$210($0_1);$1_1=HEAP32[$0_1+4>>2];$2_1=$2_1-1|0;if(($1_1|0)!=($2_1|0)){break label$2}}$529($0_1,$2_1,1,$2_1,$2_1);$1_1=$2_1}$2_1=HEAP32[$0_1>>2];$98($0_1,$1_1+1|0)}$0_1=$1_1+$2_1|0;$110($0_1,$3_1+15|0);HEAP8[$3_1+14|0]=0;$110($0_1+1|0,$3_1+14|0);global$0=$3_1+16|0}function $1380($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,wasm2js_i32$0=0,wasm2js_i32$1=0,wasm2js_i32$2=0;label$1:{if(!HEAPU8[$0_1+44|0]){$2_1=($2_1|0)>0?$2_1:0;while(1){if(($2_1|0)==($3_1|0)){break label$1}if(((wasm2js_i32$1=$0_1,wasm2js_i32$2=$153(HEAP8[$1_1|0]),wasm2js_i32$0=HEAP32[HEAP32[$0_1>>2]+52>>2],FUNCTION_TABLE[wasm2js_i32$0](wasm2js_i32$1|0,wasm2js_i32$2|0)|0)|0)==-1){return $3_1|0}else{$1_1=$1_1+1|0;$3_1=$3_1+1|0;continue}}}$2_1=$166($1_1,1,$2_1,HEAP32[$0_1+32>>2])}return $2_1|0}function $122($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0;$3_1=global$0-16|0;global$0=$3_1;label$1:{if(!$1_1){$1_1=0;break label$1}$2_1=$1_1>>31;$4_1=($2_1^$1_1)-$2_1|0;$2_1=Math_clz32($4_1);$92($3_1,$4_1,0,0,0,$2_1+81|0);$4_1=0+HEAP32[$3_1+8>>2]|0;$2_1=(HEAP32[$3_1+12>>2]^65536)+(16414-$2_1<<16)|0;$2_1=$4_1>>>0<$5_1>>>0?$2_1+1|0:$2_1;$5_1=$1_1&-2147483648|$2_1;$2_1=HEAP32[$3_1+4>>2];$1_1=HEAP32[$3_1>>2]}HEAP32[$0_1>>2]=$1_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$0_1+8>>2]=$4_1;HEAP32[$0_1+12>>2]=$5_1;global$0=$3_1+16|0}function $1318($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$2_1=global$0-128|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$2_1+116;$3_1=$0_1+8|0;$0_1=$2_1+16|0;$922($3_1,$0_1,$2_1+12|0,$4_1,$5_1,$6_1);$4_1=$0_1;$3_1=HEAP32[$2_1+12>>2];$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+8>>2]=$1_1;while(1){if(($3_1|0)!=($4_1|0)){$425($0_1+8|0,HEAP8[$4_1|0]);$4_1=$4_1+1|0;continue}break}global$0=$0_1+16|0;global$0=$2_1+128|0;return HEAP32[$0_1+8>>2]}function $1158($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=$0_1;HEAP32[$3_1+8>>2]=$26(67484,$3_1+12|0);HEAP32[$3_1>>2]=$23();label$1:{if($31($3_1+8|0,$3_1)){$0_1=HEAP32[15939];break label$1}$0_1=$32($3_1+12|0);$4_1=HEAP32[$0_1+216>>2];if(HEAP32[$4_1+44>>2]<=($1_1|0)){$0_1=HEAP32[15940];break label$1}$971(HEAP32[$0_1+228>>2],($1_1|0)<0?67528:(($1_1<<8)+$4_1|0)+48|0,+($2_1|0),67792);$0_1=0}global$0=$3_1+16|0;return $0_1|0}function $616($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-32|0;$3_1=$2_1+24|0;HEAP32[$3_1>>2]=0;HEAP32[$3_1+4>>2]=0;HEAP32[$2_1+16>>2]=0;HEAP32[$2_1+20>>2]=0;HEAP32[$2_1+8>>2]=0;HEAP32[$2_1+12>>2]=0;$3_1=HEAP32[$2_1+12>>2];HEAP32[$0_1>>2]=HEAP32[$2_1+8>>2];HEAP32[$0_1+4>>2]=$3_1;$3_1=HEAP32[$2_1+28>>2];HEAP32[$0_1+16>>2]=HEAP32[$2_1+24>>2];HEAP32[$0_1+20>>2]=$3_1;$3_1=HEAP32[$2_1+20>>2];HEAP32[$0_1+8>>2]=HEAP32[$2_1+16>>2];HEAP32[$0_1+12>>2]=$3_1;if($1_1){HEAP32[$0_1>>2]=HEAP32[$1_1>>2]}return 0}function $425($0_1,$1_1){var $2_1=0,$3_1=0,wasm2js_i32$0=0,wasm2js_i32$1=0,wasm2js_i32$2=0;label$1:{$2_1=HEAP32[$0_1>>2];if(!$2_1){break label$1}$3_1=HEAP32[$2_1+24>>2];label$2:{if(($3_1|0)==HEAP32[$2_1+28>>2]){$1_1=(wasm2js_i32$1=$2_1,wasm2js_i32$2=$153($1_1),wasm2js_i32$0=HEAP32[HEAP32[$2_1>>2]+52>>2],FUNCTION_TABLE[wasm2js_i32$0](wasm2js_i32$1|0,wasm2js_i32$2|0)|0);break label$2}HEAP32[$2_1+24>>2]=$3_1+1;HEAP8[$3_1|0]=$1_1;$1_1=$153($1_1)}if(!$144($1_1,-1)){break label$1}HEAP32[$0_1>>2]=0}}function $329($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;if(HEAP32[$0_1+4>>2]!=HEAP32[$4($0_1)>>2]){$3_1=global$0-16|0;global$0=$3_1;$2_1=$799($3_1,$0_1,1);$798($4($0_1),HEAP32[$2_1+4>>2],$1_1);HEAP32[$2_1+4>>2]=HEAP32[$2_1+4>>2]+36;$72($2_1);global$0=$3_1+16|0;return}$3_1=global$0-32|0;global$0=$3_1;$2_1=$4($0_1);$4_1=$2_1;$2_1=$494($3_1+8|0,$797($0_1,$82($0_1)+1|0),$82($0_1),$2_1);$798($4_1,HEAP32[$2_1+8>>2],$1_1);HEAP32[$2_1+8>>2]=HEAP32[$2_1+8>>2]+36;$493($0_1,$2_1);$491($2_1);global$0=$3_1+32|0}function $295($0_1){var $1_1=0;label$1:{$1_1=HEAP32[$0_1+4>>2];if(!HEAP32[(HEAP32[HEAP32[$1_1>>2]-12>>2]+$1_1|0)+24>>2]){break label$1}$1_1=HEAP32[$0_1+4>>2];if(!$428(HEAP32[HEAP32[$1_1>>2]-12>>2]+$1_1|0)){break label$1}$1_1=HEAP32[$0_1+4>>2];if(!(HEAP32[(HEAP32[HEAP32[$1_1>>2]-12>>2]+$1_1|0)+4>>2]&8192)){break label$1}$1_1=HEAP32[$0_1+4>>2];if(($296(HEAP32[(HEAP32[HEAP32[$1_1>>2]-12>>2]+$1_1|0)+24>>2])|0)!=-1){break label$1}$0_1=HEAP32[$0_1+4>>2];$284(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0,1)}}function $383($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;if(HEAP32[$0_1+4>>2]!=HEAP32[$4($0_1)>>2]){$3_1=global$0-16|0;global$0=$3_1;$2_1=$275($3_1,$0_1,1);$194($4($0_1),HEAP32[$2_1+4>>2],$1_1);HEAP32[$2_1+4>>2]=HEAP32[$2_1+4>>2]+4;$72($2_1);global$0=$3_1+16|0;return}$3_1=global$0-32|0;global$0=$3_1;$2_1=$4($0_1);$4_1=$2_1;$2_1=$277($3_1+8|0,$385($0_1,$21($0_1)+1|0),$21($0_1),$2_1);$194($4_1,HEAP32[$2_1+8>>2],$1_1);HEAP32[$2_1+8>>2]=HEAP32[$2_1+8>>2]+4;$324($0_1,$2_1);$276($2_1);global$0=$3_1+32|0}function $94($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;label$1:{if(!$6($0_1)|($2_1-$1_1|0)<5){break label$1}$412($1_1,$2_1);$4_1=$2_1-4|0;$2_1=$15($0_1);$5_1=$2_1+$6($0_1)|0;label$2:{while(1){label$4:{$0_1=HEAP8[$2_1|0];if($1_1>>>0>=$4_1>>>0){break label$4}if(!(($0_1|0)<=0|($0_1|0)>=127)&HEAP32[$1_1>>2]!=HEAP8[$2_1|0]){break label$2}$1_1=$1_1+4|0;$2_1=(($5_1-$2_1|0)>1)+$2_1|0;continue}break}if(($0_1|0)<=0|($0_1|0)>=127|HEAP8[$2_1|0]>>>0>HEAP32[$4_1>>2]-1>>>0){break label$1}}HEAP32[$3_1>>2]=4}}function $603($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;wasm2js_scratch_store_f64(+$0_1);$3_1=wasm2js_scratch_load_i32(1)|0;$4_1=wasm2js_scratch_load_i32(0)|0;$2_1=$3_1>>>20&2047;if(($2_1|0)!=2047){if(!$2_1){if($0_1==0){$2_1=0}else{$0_1=$603($0_1*0x10000000000000000,$1_1);$2_1=HEAP32[$1_1>>2]+-64|0}HEAP32[$1_1>>2]=$2_1;return $0_1}HEAP32[$1_1>>2]=$2_1-1022;wasm2js_scratch_store_i32(0,$4_1|0);wasm2js_scratch_store_i32(1,$3_1&-2146435073|1071644672);$0_1=+wasm2js_scratch_load_f64()}return $0_1}function $244($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0;$2_1=global$0-16|0;global$0=$2_1;label$1:{if(!$1_1){$1_1=0;break label$1}$3_1=$1_1;$1_1=Math_clz32($1_1);$92($2_1,$3_1,0,0,0,$1_1+81|0);$4_1=16414-$1_1<<16;$1_1=0;$3_1=$1_1+HEAP32[$2_1+8>>2]|0;$4_1=$4_1+(HEAP32[$2_1+12>>2]^65536)|0;$4_1=$1_1>>>0>$3_1>>>0?$4_1+1|0:$4_1;$5_1=$3_1;$3_1=HEAP32[$2_1>>2];$1_1=HEAP32[$2_1+4>>2]}HEAP32[$0_1>>2]=$3_1;HEAP32[$0_1+4>>2]=$1_1;HEAP32[$0_1+8>>2]=$5_1;HEAP32[$0_1+12>>2]=$4_1;global$0=$2_1+16|0}function $1127($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;$1_1=HEAP32[$0_1+24>>2];$2_1=$47(HEAP32[$1_1+32>>2],1,4096,HEAP32[$1_1+28>>2]);if(!$2_1){if(HEAP32[$1_1+36>>2]){$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=43;FUNCTION_TABLE[HEAP32[$2_1>>2]]($0_1)}$2_1=HEAP32[$0_1>>2];HEAP32[$2_1+20>>2]=123;FUNCTION_TABLE[HEAP32[$2_1+4>>2]]($0_1,-1);HEAP8[HEAP32[$1_1+32>>2]]=255;HEAP8[HEAP32[$1_1+32>>2]+1|0]=217;$2_1=2}HEAP32[$1_1+36>>2]=0;HEAP32[$1_1+4>>2]=$2_1;HEAP32[$1_1>>2]=HEAP32[$1_1+32>>2];return 1}function $341($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;$3_1=-1;label$1:{if(($0_1|0)==-1){break label$1}if(HEAP32[$1_1+76>>2]>=0){$4_1=$125($1_1)}label$3:{$2_1=HEAP32[$1_1+4>>2];label$4:{if(!$2_1){$367($1_1);$2_1=HEAP32[$1_1+4>>2];if(!$2_1){break label$4}}if(HEAP32[$1_1+44>>2]-8>>>0<$2_1>>>0){break label$3}}if(!$4_1){break label$1}$114($1_1);return-1}$2_1=$2_1-1|0;HEAP32[$1_1+4>>2]=$2_1;HEAP8[$2_1|0]=$0_1;HEAP32[$1_1>>2]=HEAP32[$1_1>>2]&-17;if($4_1){$114($1_1)}$3_1=$0_1&255}return $3_1}function $779($0_1){var $1_1=0,$2_1=0;HEAP32[$0_1>>2]=0;HEAP32[$0_1+4>>2]=0;$1_1=$0_1+8|0;HEAP32[$1_1>>2]=0;$38($1_1+4|0);$38($1_1+16|0);$1_1=$0_1+36|0;HEAP32[$1_1>>2]=1234;HEAP32[$1_1+4>>2]=0;$481($1_1+8|0);$2_1=$1_1+12|0;HEAP32[$2_1+4>>2]=0;HEAP32[$2_1+8>>2]=0;HEAP32[$2_1>>2]=$1_1;$38($2_1+12|0);$38($2_1+24|0);$38($2_1+36|0);$38($2_1+48|0);$38($1_1+72|0);$390($1_1+84|0);HEAP32[$1_1+108>>2]=16;HEAP32[$1_1+100>>2]=0;HEAP32[$1_1+104>>2]=0;$748($2_1);$747($2_1,1);return $0_1}function $778($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0;$2_1=global$0-32|0;global$0=$2_1;HEAP32[$0_1>>2]=$1_1;$5_1=$775($2_1+24|0,$1_1);$3_1=$48(16);$4_1=global$0-32|0;global$0=$4_1;HEAP32[$4_1+12>>2]=$1_1;$3_1=$469($3_1);HEAP32[$3_1>>2]=26692;$260($3_1+12|0,$260($4_1+8|0,$4_1+12|0));global$0=$4_1+32|0;HEAP32[$0_1+4>>2]=$3_1;$141($5_1);HEAP32[$2_1+4>>2]=$1_1;HEAP32[$2_1>>2]=$1_1;$1_1=HEAP32[$5_1>>2];HEAP32[$5_1>>2]=0;if($1_1){$745($5_1,$1_1)}global$0=$2_1+32|0;return $0_1}function $496($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0;while(1){if(($5_1|0)!=3){$6_1=$5_1<<5;$4_1=$6_1+$0_1|0;$3_1=0;while(1){if(($3_1|0)!=4){$8_1=$3_1<<3;$7_1=$8_1+$1_1|0;HEAPF64[$8_1+($2_1+$6_1|0)>>3]=HEAPF64[$4_1+16>>3]*HEAPF64[$7_1- -64>>3]+(HEAPF64[$4_1>>3]*HEAPF64[$7_1>>3]+HEAPF64[$4_1+8>>3]*HEAPF64[$7_1+32>>3]);$3_1=$3_1+1|0;continue}break}$3_1=$2_1+$6_1|0;HEAPF64[$3_1+24>>3]=HEAPF64[$4_1+24>>3]+HEAPF64[$3_1+24>>3];$5_1=$5_1+1|0;continue}break}}function $414($0_1,$1_1,$2_1,$3_1){var $4_1=0;label$1:{if(!($3_1&2048)){break label$1}$4_1=$3_1&74;if(!$2_1|(($4_1|0)==8|($4_1|0)==64)){break label$1}HEAP8[$0_1|0]=43;$0_1=$0_1+1|0}if($3_1&512){HEAP8[$0_1|0]=35;$0_1=$0_1+1|0}while(1){$4_1=HEAPU8[$1_1|0];if($4_1){HEAP8[$0_1|0]=$4_1;$0_1=$0_1+1|0;$1_1=$1_1+1|0;continue}break}$4_1=$3_1&74;$1_1=111;label$5:{if(($4_1|0)==64){break label$5}$1_1=$3_1&16384?88:120;if(($4_1|0)==8){break label$5}$1_1=$2_1?100:117}HEAP8[$0_1|0]=$1_1}function $214($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;$4_1=global$0-160|0;global$0=$4_1;$5_1=-1;HEAP32[$4_1+148>>2]=$1_1?$1_1-1|0:0;$0_1=$1_1?$0_1:$4_1+158|0;HEAP32[$4_1+144>>2]=$0_1;wasm2js_memory_fill($4_1,0,144);HEAP32[$4_1+76>>2]=-1;HEAP32[$4_1+36>>2]=242;HEAP32[$4_1+80>>2]=-1;HEAP32[$4_1+44>>2]=$4_1+159;HEAP32[$4_1+84>>2]=$4_1+144;label$1:{if(($1_1|0)<0){HEAP32[$22()>>2]=61;break label$1}HEAP8[$0_1|0]=0;$5_1=$602($4_1,$2_1,$3_1,240,241)}global$0=$4_1+160|0;return $5_1}function $533($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0,$6_1=0;$5_1=global$0-16|0;global$0=$5_1;$2_1=$955($1_1);$3_1=global$0-16|0;global$0=$3_1;label$1:{if($2_1>>>0<=1073741807){label$3:{if($407($2_1)){$111($0_1,$2_1);$4_1=$0_1;break label$3}$6_1=$286($2_1)+1|0;$4_1=$285($0_1,$6_1);$105($0_1,$4_1);$138($0_1,$6_1);$98($0_1,$2_1)}$164($4_1,$1_1,$2_1);HEAP32[$3_1+12>>2]=0;$129(($2_1<<2)+$4_1|0,$3_1+12|0);global$0=$3_1+16|0;break label$1}$137();abort()}global$0=$5_1+16|0}function $458($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=Math_fround(0);$5_1=Math_fround(HEAPF32[$2_1+32>>2]+Math_fround(Math_fround(HEAPF32[$2_1+24>>2]*$3_1)+Math_fround(HEAPF32[$2_1+28>>2]*$4_1)));HEAPF32[$0_1>>2]=Math_fround(HEAPF32[$2_1+8>>2]+Math_fround(Math_fround(HEAPF32[$2_1>>2]*$3_1)+Math_fround(HEAPF32[$2_1+4>>2]*$4_1)))/$5_1;HEAPF32[$1_1>>2]=Math_fround(HEAPF32[$2_1+20>>2]+Math_fround(Math_fround(HEAPF32[$2_1+12>>2]*$3_1)+Math_fround(HEAPF32[$2_1+16>>2]*$4_1)))/$5_1}function $693($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0;$3_1=global$0-32|0;global$0=$3_1;HEAP32[$3_1+28>>2]=$2_1;$5_1=$135($3_1,$1_1);$2_1=HEAP32[$3_1+28>>2];$1_1=global$0-2048|0;global$0=$1_1;$214($1_1,2048,$15($5_1),$2_1);$4_1=$3_1+16|0;$135($4_1,$1_1);global$0=$1_1+2048|0;$2_1=0;while(1){if($12($0_1)>>>0>$2_1>>>0){$1_1=HEAP32[$29($0_1,$2_1)>>2];FUNCTION_TABLE[HEAP32[HEAP32[$1_1>>2]+8>>2]]($1_1,8,$4_1);$2_1=$2_1+1|0;continue}break}$8($4_1);$8($5_1);global$0=$3_1+32|0}function $1103($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0,$4_1=0,$5_1=0;$2_1=HEAP32[$0_1+468>>2];if(HEAP32[$0_1+280>>2]){$3_1=HEAP32[$2_1+56>>2];if(!$3_1){$307($0_1);$3_1=HEAP32[$2_1+56>>2]}HEAP32[$2_1+56>>2]=$3_1-1}if(HEAP32[$0_1+368>>2]>0){$3_1=$2_1+188|0;$5_1=1<>2];$2_1=0;while(1){if($10($0_1,$3_1)){$4_1=HEAP32[($2_1<<2)+$1_1>>2];HEAP16[$4_1>>1]=HEAPU16[$4_1>>1]|$5_1}$2_1=$2_1+1|0;if(($2_1|0)>2]){continue}break}}return 1}function $708($0_1){var $1_1=Math_fround(0),$2_1=Math_fround(0);$1_1=$118(HEAPF32[$0_1+16>>2],HEAPF32[$0_1+20>>2],HEAPF32[$0_1+28>>2],HEAPF32[$0_1+32>>2]);$2_1=$118(HEAPF32[$0_1+12>>2],HEAPF32[$0_1+20>>2],HEAPF32[$0_1+24>>2],HEAPF32[$0_1+32>>2]);return Math_fround(Math_fround($118(HEAPF32[$0_1+12>>2],HEAPF32[$0_1+16>>2],HEAPF32[$0_1+24>>2],HEAPF32[$0_1+28>>2])*HEAPF32[$0_1+8>>2])+Math_fround(Math_fround($1_1*HEAPF32[$0_1>>2])-Math_fround($2_1*HEAPF32[$0_1+4>>2])))}function $950($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$5_1=global$0-16|0;global$0=$5_1;$4_1=$432($1_1,$2_1);if($4_1>>>0<=1073741807){label$2:{if($407($4_1)){$111($0_1,$4_1);$3_1=$0_1;break label$2}$6_1=$286($4_1)+1|0;$3_1=$285($0_1,$6_1);$105($0_1,$3_1);$138($0_1,$6_1);$98($0_1,$4_1)}while(1){if(($1_1|0)!=($2_1|0)){$129($3_1,$1_1);$3_1=$3_1+4|0;$1_1=$1_1+4|0;continue}break}HEAP32[$5_1+12>>2]=0;$129($3_1,$5_1+12|0);global$0=$5_1+16|0;return}$137();abort()}function $246($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0;label$1:{if(!$1_1){$3_1=$0_1;break label$1}while(1){$3_1=__wasm_i64_udiv($0_1,$1_1,10);$5_1=i64toi32_i32$HIGH_BITS;$4_1=__wasm_i64_mul($3_1,$5_1,10,0);$2_1=$2_1-1|0;HEAP8[$2_1|0]=$0_1-$4_1|48;$4_1=$1_1>>>0>9;$0_1=$3_1;$1_1=$5_1;if($4_1){continue}break}}if($3_1){while(1){$2_1=$2_1-1|0;$0_1=($3_1>>>0)/10|0;HEAP8[$2_1|0]=$3_1-Math_imul($0_1,10)|48;$1_1=$3_1>>>0>9;$3_1=$0_1;if($1_1){continue}break}}return $2_1}function $1156($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=$0_1;HEAP32[$3_1+8>>2]=$26(67484,$3_1+12|0);HEAP32[$3_1>>2]=$23();label$1:{if($31($3_1+8|0,$3_1)){$0_1=HEAP32[15939];break label$1}$0_1=HEAP32[$32($3_1+12|0)+216>>2];if(HEAP32[$0_1+44>>2]<=($1_1|0)){$0_1=HEAP32[15940];break label$1}HEAP32[(($1_1|0)<0?67528:($0_1+($1_1<<8)|0)+48|0)+16>>2]=$2_1;$0_1=0}global$0=$3_1+16|0;return $0_1|0}function $1168($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=global$0-32|0;global$0=$2_1;HEAP32[$2_1+28>>2]=$0_1;HEAP32[$2_1+24>>2]=$26(67484,$2_1+28|0);HEAP32[$2_1+16>>2]=$23();label$1:{if($31($2_1+24|0,$2_1+16|0)){break label$1}$0_1=$32($2_1+28|0);if($1_1>>>0>255){break label$1}$0_1=HEAP32[$0_1+216>>2];if(!$0_1|$1_1>>>0>255){$0_1=-1}else{HEAP32[$0_1+16>>2]=$1_1;$0_1=0}if($0_1){break label$1}HEAP32[$2_1>>2]=$1_1;$5(0,1,36697,$2_1)}global$0=$2_1+32|0}function $553($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$5_1=global$0-16|0;global$0=$5_1;$4_1=$475($1_1,$2_1);if($4_1>>>0<=4294967279){label$2:{if($342($4_1)){$111($0_1,$4_1);$3_1=$0_1;break label$2}$6_1=$240($4_1)+1|0;$3_1=$48($6_1);$105($0_1,$3_1);$138($0_1,$6_1);$98($0_1,$4_1)}while(1){if(($1_1|0)!=($2_1|0)){$110($3_1,$1_1);$3_1=$3_1+1|0;$1_1=$1_1+1|0;continue}break}HEAP8[$5_1+15|0]=0;$110($3_1,$5_1+15|0);global$0=$5_1+16|0;return}$137();abort()}function $1129($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=HEAP32[$0_1+24>>2];if(!$2_1){$2_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,0,40)|0;HEAP32[$0_1+24>>2]=$2_1;HEAP32[$2_1+32>>2]=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+4>>2]>>2]]($0_1,0,4096);$2_1=HEAP32[$0_1+24>>2]}HEAP32[$2_1+28>>2]=$1_1;HEAP32[$2_1+24>>2]=98;HEAP32[$2_1+20>>2]=99;HEAP32[$2_1+16>>2]=100;HEAP32[$2_1+12>>2]=101;HEAP32[$2_1+8>>2]=102;HEAP32[$2_1>>2]=0;HEAP32[$2_1+4>>2]=0}function $858($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$5_1=global$0-16|0;global$0=$5_1;$3_1=global$0-16|0;global$0=$3_1;label$1:{if($1_1>>>0<=4294967279){label$3:{if($342($1_1)){$111($0_1,$1_1);$4_1=$0_1;break label$3}$6_1=$240($1_1)+1|0;$4_1=$48($6_1);$105($0_1,$4_1);$138($0_1,$6_1);$98($0_1,$1_1)}$866($4_1,$1_1,$2_1);HEAP8[$3_1+15|0]=0;$110($1_1+$4_1|0,$3_1+15|0);global$0=$3_1+16|0;break label$1}$137();abort()}global$0=$5_1+16|0;return $0_1}function $582($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0;$5_1=HEAP32[17466]+1|0;HEAP32[17466]=$5_1;HEAP32[$0_1>>2]=$5_1;if($3_1){while(1){$6_1=($4_1<<3)+$2_1|0;if(!HEAP32[$6_1>>2]){HEAP32[$6_1>>2]=$5_1;$0_1=($4_1<<3)+$2_1|0;HEAP32[$0_1+4>>2]=$1_1;HEAP32[$0_1+8>>2]=0;global$6=$3_1;return $2_1}$4_1=$4_1+1|0;if(($4_1|0)!=($3_1|0)){continue}break}}$4_1=$0_1;$0_1=$3_1<<1;$1_1=$582($4_1,$1_1,$245($2_1,$3_1<<4|8),$0_1);global$6=$0_1;return $1_1}function $577($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0;$5_1=global$0-16|0;global$0=$5_1;$3_1=global$0-16|0;global$0=$3_1;$1_1=$432($0_1,$1_1);while(1){if($1_1){HEAP32[$3_1+12>>2]=$0_1;$4_1=$1_1>>>1|0;HEAP32[$3_1+12>>2]=HEAP32[$3_1+12>>2]+($4_1<<2);$6_1=($4_1^-1)+$1_1|0;$1_1=$4_1;$4_1=$199(HEAP32[$3_1+12>>2],$2_1);$1_1=$4_1?$6_1:$1_1;$0_1=$4_1?HEAP32[$3_1+12>>2]+4|0:$0_1;continue}break}global$0=$3_1+16|0;global$0=$5_1+16|0;return $0_1}function $14($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0;label$1:{$2_1=$6($0_1);if($2_1>>>0<$1_1>>>0){$4_1=global$0-16|0;global$0=$4_1;$2_1=$1_1-$2_1|0;if($2_1){$3_1=$35($0_1);$1_1=$6($0_1);$5_1=$1_1+$2_1|0;if($2_1>>>0>$3_1-$1_1>>>0){$529($0_1,$3_1,$5_1-$3_1|0,$1_1,$1_1)}$3_1=$1_1;$1_1=$15($0_1);$866($3_1+$1_1|0,$2_1,0);$236($0_1,$5_1);HEAP8[$4_1+15|0]=0;$110($1_1+$5_1|0,$4_1+15|0)}global$0=$4_1+16|0;break label$1}$872($0_1,$15($0_1),$1_1)}}function $1230($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0;if($121($0_1,HEAP32[$1_1+8>>2],0)){$525($1_1,$2_1,$3_1);return}$4_1=HEAP32[$0_1+12>>2];$5_1=$0_1+16|0;$859($5_1,$1_1,$2_1,$3_1);$0_1=$0_1+24|0;$4_1=($4_1<<3)+$5_1|0;label$2:{if($0_1>>>0>=$4_1>>>0){break label$2}while(1){$859($0_1,$1_1,$2_1,$3_1);if(HEAPU8[$1_1+54|0]){break label$2}$0_1=$0_1+8|0;if($4_1>>>0>$0_1>>>0){continue}break}}}function $223($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=$21($0_1);if($2_1>>>0<$1_1>>>0){$3_1=global$0-32|0;global$0=$3_1;$1_1=$1_1-$2_1|0;label$2:{if($1_1>>>0<=HEAP32[$4($0_1)>>2]-HEAP32[$0_1+4>>2]>>2>>>0){$394($0_1,$1_1);break label$2}$2_1=$4($0_1);$2_1=$277($3_1+8|0,$385($0_1,$21($0_1)+$1_1|0),$21($0_1),$2_1);$807($2_1,$1_1);$324($0_1,$2_1);$276($2_1)}global$0=$3_1+32|0;return}if($1_1>>>0<$2_1>>>0){$502($0_1,HEAP32[$0_1>>2]+($1_1<<2)|0)}}function $87($0_1){var $1_1=0,$2_1=0,$3_1=0;if(HEAP32[$0_1+76>>2]<0){$1_1=0}else{$1_1=$125($0_1)}$301($0_1);FUNCTION_TABLE[HEAP32[$0_1+12>>2]]($0_1)|0;if($1_1){$114($0_1)}if(!(HEAP8[$0_1|0]&1)){$1_1=$362();$2_1=HEAP32[$0_1+52>>2];if($2_1){HEAP32[$2_1+56>>2]=HEAP32[$0_1+56>>2]}$3_1=HEAP32[$0_1+56>>2];if($3_1){HEAP32[$3_1+52>>2]=$2_1}if(HEAP32[$1_1>>2]==($0_1|0)){HEAP32[$1_1>>2]=$3_1}$298(68152);$1(HEAP32[$0_1+96>>2]);$1($0_1)}}function $1371($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0,$7_1=0;$7_1=($4_1-$3_1|0)+$1_1|0;label$1:{while(1){if(($3_1|0)!=($4_1|0)){$0_1=-1;if(($1_1|0)==($2_1|0)){break label$1}$5_1=HEAP8[$1_1|0];$6_1=HEAP8[$3_1|0];if(($5_1|0)<($6_1|0)){break label$1}if(($5_1|0)>($6_1|0)){return 1}else{$3_1=$3_1+1|0;$1_1=$1_1+1|0;continue}}break}$0_1=($2_1|0)!=($7_1|0)}return $0_1|0}function $1182($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$0_1;HEAP32[$2_1+8>>2]=$26(67484,$2_1+12|0);HEAP32[$2_1>>2]=$23();$0_1=-1;label$1:{if($31($2_1+8|0,$2_1)){break label$1}$3_1=$32($2_1+12|0);if(($1_1|0)<0){break label$1}$3_1=$3_1+328|0;if($12($3_1)>>>0<=$1_1>>>0){break label$1}$0_1=HEAP32[HEAP32[$29($3_1,$1_1)+4>>2]+4>>2]}global$0=$2_1+16|0;return $0_1|0}function $167($0_1,$1_1,$2_1){HEAPF32[$0_1>>2]=HEAPF32[$1_1>>2]*$2_1;HEAPF32[$0_1+4>>2]=HEAPF32[$1_1+4>>2]*$2_1;HEAPF32[$0_1+8>>2]=HEAPF32[$1_1+8>>2]*$2_1;HEAPF32[$0_1+12>>2]=HEAPF32[$1_1+12>>2]*$2_1;HEAPF32[$0_1+16>>2]=HEAPF32[$1_1+16>>2]*$2_1;HEAPF32[$0_1+20>>2]=HEAPF32[$1_1+20>>2]*$2_1;HEAPF32[$0_1+24>>2]=HEAPF32[$1_1+24>>2]*$2_1;HEAPF32[$0_1+28>>2]=HEAPF32[$1_1+28>>2]*$2_1;HEAPF32[$0_1+32>>2]=HEAPF32[$1_1+32>>2]*$2_1}function $367($0_1){var $1_1=0,$2_1=0;$1_1=HEAP32[$0_1+72>>2];HEAP32[$0_1+72>>2]=$1_1-1|$1_1;if(HEAP32[$0_1+20>>2]!=HEAP32[$0_1+28>>2]){FUNCTION_TABLE[HEAP32[$0_1+36>>2]]($0_1,0,0)|0}HEAP32[$0_1+28>>2]=0;HEAP32[$0_1+16>>2]=0;HEAP32[$0_1+20>>2]=0;$1_1=HEAP32[$0_1>>2];if($1_1&4){HEAP32[$0_1>>2]=$1_1|32;return-1}$2_1=HEAP32[$0_1+44>>2]+HEAP32[$0_1+48>>2]|0;HEAP32[$0_1+8>>2]=$2_1;HEAP32[$0_1+4>>2]=$2_1;return $1_1<<27>>31}function $1173($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1+8>>2]=$23();$2_1=-1;label$1:{if($31($1_1,$1_1+8|0)){break label$1}$0_1=HEAP32[$32($1_1+12|0)+216>>2];$2_1=-1;if(!$0_1){break label$1}if($0_1){HEAPF64[$1_1>>3]=HEAPF64[$0_1+7062416>>3];$0_1=0}else{$0_1=-1}$2_1=$0_1?-1:HEAPF64[$1_1>>3]}global$0=$1_1+16|0;return+$2_1}function $1084($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0,$5_1=0;label$1:{$4_1=HEAP32[$0_1+448>>2];$5_1=HEAP32[$4_1+52>>2];if($5_1>>>0<=HEAPU32[$4_1+48>>2]){if(!(FUNCTION_TABLE[HEAP32[HEAP32[$0_1+452>>2]+12>>2]]($0_1,$4_1+8|0)|0)){break label$1}HEAP32[$4_1+48>>2]=0;$5_1=HEAP32[$4_1+52>>2]}FUNCTION_TABLE[HEAP32[HEAP32[$0_1+456>>2]+4>>2]]($0_1,$4_1+8|0,$4_1+48|0,$5_1,$1_1,$2_1,$3_1)}}function $730($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;$4_1=global$0-16|0;global$0=$4_1;$1_1=$4($1_1);$0_1=$261($0_1,$48(24),$262($4_1+8|0,$1_1,0));$5_1=HEAP32[$0_1>>2]+8|0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+8>>2]=HEAP32[$3_1>>2];HEAP32[$5_1>>2]=HEAP32[HEAP32[$1_1+8>>2]>>2];$38($5_1+4|0);global$0=$1_1+16|0;HEAP8[$34($0_1)+4|0]=1;HEAP32[HEAP32[$0_1>>2]+4>>2]=$2_1;HEAP32[HEAP32[$0_1>>2]>>2]=0;global$0=$4_1+16|0}function __wasm_i64_mul($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0,$6_1=0,$7_1=0,$8_1=0,$9_1=0;$4_1=$2_1>>>16|0;$5_1=$0_1>>>16|0;$9_1=Math_imul($4_1,$5_1);$6_1=$2_1&65535;$7_1=$0_1&65535;$8_1=Math_imul($6_1,$7_1);$5_1=($8_1>>>16|0)+Math_imul($5_1,$6_1)|0;$4_1=($5_1&65535)+Math_imul($4_1,$7_1)|0;i64toi32_i32$HIGH_BITS=(Math_imul($1_1,$2_1)+$9_1|0)+Math_imul($0_1,$3_1)+($5_1>>>16)+($4_1>>>16)|0;return $8_1&65535|$4_1<<16}function $89($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0;$2_1=global$0-32|0;global$0=$2_1;$1_1=$862($2_1+8|0,$0_1);Atomics.store(HEAP8,HEAP32[$1_1>>2],1);$0_1=global$0-16|0;global$0=$0_1;$3_1=$861($0_1+8|0,31332);$1_1=HEAP32[$1_1+4>>2];$4_1=HEAPU8[$1_1|0];HEAP8[$1_1|0]=1;$860($3_1);label$1:{if(!($4_1&4)){break label$1}if(!$869(75144)){break label$1}HEAP32[$0_1>>2]=31332;$55();abort()}global$0=$0_1+16|0;global$0=$2_1+32|0}function $1170($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=global$0-32|0;global$0=$2_1;HEAP32[$2_1+28>>2]=$0_1;HEAP32[$2_1+24>>2]=$26(67484,$2_1+28|0);HEAP32[$2_1+16>>2]=$23();label$1:{if($31($2_1+24|0,$2_1+16|0)){break label$1}$0_1=HEAP32[$32($2_1+28|0)+216>>2];if(!$0_1|$1_1>>>0>1){$0_1=-1}else{HEAP32[$0_1+12>>2]=$1_1;$0_1=0}if($0_1){break label$1}HEAP32[$2_1>>2]=$1_1;$5(0,1,36646,$2_1)}global$0=$2_1+32|0}function $1160($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=global$0-32|0;global$0=$2_1;HEAP32[$2_1+28>>2]=$0_1;HEAP32[$2_1+24>>2]=$26(67484,$2_1+28|0);HEAP32[$2_1+16>>2]=$23();label$1:{if($31($2_1+24|0,$2_1+16|0)){break label$1}$0_1=HEAP32[$32($2_1+28|0)+216>>2];if(!$0_1|$1_1>>>0>1){$0_1=-1}else{HEAP32[$0_1+20>>2]=$1_1;$0_1=0}if($0_1){break label$1}HEAP32[$2_1>>2]=$1_1;$5(0,1,37650,$2_1)}global$0=$2_1+32|0}function $645($0_1){var $1_1=0,$2_1=0,$3_1=0;$1_1=+fimport$15()/1e3;label$1:{if(Math_abs($1_1)<0x8000000000000000){$3_1=~~$1_1>>>0;$2_1=Math_abs($1_1)>=1?~~($1_1>0?Math_min(Math_floor($1_1*2.3283064365386963e-10),4294967295):Math_ceil(($1_1-+(~~$1_1>>>0>>>0))*2.3283064365386963e-10))>>>0:0;break label$1}$2_1=-2147483648}if($0_1){HEAP32[$0_1>>2]=$3_1;HEAP32[$0_1+4>>2]=$2_1}i64toi32_i32$HIGH_BITS=$2_1;return $3_1}function $1026($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0;$0_1=HEAP32[$0_1+336>>2]-384|0;$1_1=HEAP32[$1_1+84>>2];$5_1=Math_imul(HEAP32[$1_1+32>>2],HEAPU16[$2_1+16>>1]);$1_1=Math_imul(HEAP32[$1_1>>2],HEAPU16[$2_1>>1])+4100|0;HEAP8[HEAP32[$3_1>>2]+$4_1|0]=HEAPU8[$0_1+($5_1+$1_1>>>3&1023)|0];HEAP8[HEAP32[$3_1+4>>2]+$4_1|0]=HEAPU8[$0_1+($1_1-$5_1>>>3&1023)|0]}function $446($0_1,$1_1,$2_1,$3_1){var $4_1=Math_fround(0),$5_1=Math_fround(0);$4_1=Math_fround(HEAPF32[$1_1>>2]-HEAPF32[$0_1>>2]);$5_1=Math_fround($4_1*$4_1);$4_1=Math_fround(HEAPF32[$1_1+4>>2]-HEAPF32[$0_1+4>>2]);$5_1=Math_fround(Math_sqrt(Math_fround($5_1+Math_fround($4_1*$4_1))));if($5_1!=Math_fround(0)){HEAPF32[$2_1>>2]=$4_1/$5_1;HEAPF32[$3_1>>2]=Math_fround(HEAPF32[$1_1>>2]-HEAPF32[$0_1>>2])/$5_1}}function $226($0_1){var $1_1=0,$2_1=0,$3_1=0;$1_1=global$0-16|0;global$0=$1_1;$3_1=global$0-16|0;global$0=$3_1;$0_1=$209($0_1);$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=0;$116($0_1+4|0,$2_1+12|0);global$0=$2_1+16|0;global$0=$3_1+16|0;$209($0_1+8|0);HEAP32[$1_1+12>>2]=0;$116($0_1+12|0,$1_1+12|0);HEAP32[$1_1+4>>2]=1065353216;HEAPF32[$0_1+16>>2]=HEAPF32[$1_1+4>>2];global$0=$1_1+16|0;return $0_1}function $155($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0,$6_1=0;HEAP32[$0_1+112>>2]=$1_1;HEAP32[$0_1+116>>2]=$2_1;$4_1=HEAP32[$0_1+4>>2];$3_1=HEAP32[$0_1+44>>2]-$4_1|0;HEAP32[$0_1+120>>2]=$3_1;HEAP32[$0_1+124>>2]=$3_1>>31;$3_1=$0_1;$0_1=HEAP32[$0_1+8>>2];$5_1=$0_1-$4_1|0;$6_1=$5_1>>31;if(!(!($1_1|$2_1)|(($2_1|0)>=($6_1|0)&$1_1>>>0>=$5_1>>>0|($2_1|0)>($6_1|0)))){$0_1=$1_1+$4_1|0}HEAP32[$3_1+104>>2]=$0_1}function $1368($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;var $5_1=0,$6_1=0;label$1:{while(1){if(($3_1|0)!=($4_1|0)){$0_1=-1;if(($1_1|0)==($2_1|0)){break label$1}$5_1=HEAP32[$1_1>>2];$6_1=HEAP32[$3_1>>2];if(($5_1|0)<($6_1|0)){break label$1}if(($5_1|0)>($6_1|0)){return 1}else{$3_1=$3_1+4|0;$1_1=$1_1+4|0;continue}}break}$0_1=($1_1|0)!=($2_1|0)}return $0_1|0}function $1034($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$3_1=HEAP32[$3_1>>2]+$4_1|0;$0_1=HEAP32[$0_1+336>>2]-384|0;$1_1=HEAP32[$1_1+84>>2];$4_1=Math_imul(HEAP32[$1_1+4>>2],HEAPU16[$2_1+2>>1]);$1_1=Math_imul(HEAP32[$1_1>>2],HEAPU16[$2_1>>1])+4100|0;HEAP8[$3_1|0]=HEAPU8[$0_1+($4_1+$1_1>>>3&1023)|0];HEAP8[$3_1+1|0]=HEAPU8[$0_1+($1_1-$4_1>>>3&1023)|0]}function $493($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0;$826($0_1);$4($0_1);$2_1=$1_1+4|0;$4_1=HEAP32[$0_1>>2];$3_1=HEAP32[$0_1+4>>2]-$4_1|0;$5_1=HEAP32[$2_1>>2]+Math_imul(($3_1|0)/-36|0,36)|0;HEAP32[$2_1>>2]=$5_1;if(($3_1|0)>0){wasm2js_memory_copy($5_1,$4_1,$3_1)}$28($0_1,$2_1);$28($0_1+4|0,$1_1+8|0);$28($4($0_1),$13($1_1));HEAP32[$1_1>>2]=HEAP32[$1_1+4>>2];$82($0_1);$197($0_1);$197($0_1)}function $841($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0;$965($0_1);$4_1=$4($0_1);$5_1=HEAP32[$0_1>>2];$2_1=HEAP32[$0_1+4>>2];$3_1=$1_1+4|0;while(1){if(($2_1|0)!=($5_1|0)){$2_1=$2_1-20|0;$403($4_1,HEAP32[$3_1>>2]-20|0,$2_1);HEAP32[$3_1>>2]=HEAP32[$3_1>>2]-20;continue}break}$28($0_1,$3_1);$28($0_1+4|0,$1_1+8|0);$28($4($0_1),$13($1_1));HEAP32[$1_1>>2]=HEAP32[$1_1+4>>2];$838($0_1,$76($0_1))}function $1164($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();$0_1=-1;if(!$31($1_1+8|0,$1_1)){$0_1=HEAP32[$32($1_1+12|0)+216>>2];$2_1=$1_1+8|0;if(!$0_1|!$2_1){$0_1=-1}else{HEAP32[$2_1>>2]=HEAP32[$0_1+7062388>>2];$0_1=0}$0_1=$0_1?-1:HEAP32[$1_1+8>>2]}global$0=$1_1+16|0;return $0_1|0}function $640($0_1,$1_1,$2_1){var $3_1=Math_fround(0),$4_1=Math_fround(0);$3_1=HEAPF32[$0_1>>2];$4_1=HEAPF32[$0_1+4>>2];$3_1=Math_fround(Math_fround(Math_fround(Math_fround(HEAPF32[$1_1>>2]-$3_1)*Math_fround(HEAPF32[$2_1+4>>2]-$4_1))-Math_fround(Math_fround(HEAPF32[$1_1+4>>2]-$4_1)*Math_fround(HEAPF32[$2_1>>2]-$3_1)))*Math_fround(.5));return $3_1>2]-12>>2]+$0_1|0,10);$1_1=global$0-16|0;global$0=$1_1;$2_1=$1_1+8|0;$345($2_1,$0_1);label$1:{if(!HEAPU8[$2_1|0]){break label$1}$2_1=$532($1_1,$0_1);$425($2_1,$3_1);if(!$332($2_1)){break label$1}$284(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0,1)}$295($1_1+8|0);global$0=$1_1+16|0;$347($0_1);return $0_1|0}function $1169($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();$0_1=-1;if(!$31($1_1+8|0,$1_1)){$0_1=HEAP32[$32($1_1+12|0)+216>>2];$2_1=$1_1+8|0;if(!$0_1|!$2_1){$0_1=-1}else{HEAP32[$2_1>>2]=HEAP32[$0_1+12>>2];$0_1=0}$0_1=$0_1?-1:HEAP32[$1_1+8>>2]}global$0=$1_1+16|0;return $0_1|0}function $1166($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();$0_1=-1;if(!$31($1_1+8|0,$1_1)){$0_1=HEAP32[$32($1_1+12|0)+216>>2];$2_1=$1_1+8|0;if(!$0_1|!$2_1){$0_1=-1}else{HEAP32[$2_1>>2]=HEAP32[$0_1+16>>2];$0_1=0}$0_1=$0_1?-1:HEAP32[$1_1+8>>2]}global$0=$1_1+16|0;return $0_1|0}function $494($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=0;$182($0_1+12|0,$3_1);if($1_1){if($1_1>>>0>119304647){$233();abort()}$5_1=$48(Math_imul($1_1,36))}HEAP32[$0_1>>2]=$5_1;$2_1=Math_imul($2_1,36)+$5_1|0;HEAP32[$0_1+8>>2]=$2_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$13($0_1)>>2]=Math_imul($1_1,36)+$5_1;global$0=$4_1+16|0;return $0_1}function $1257($0_1){$0_1=$0_1|0;label$1:{if(Atomics.load(HEAPU8,72324)&1){break label$1}if(!$90(72324)){break label$1}label$2:{if(Atomics.load(HEAPU8,73448)&1){break label$2}if(!$90(73448)){break label$2}$0_1=73424;while(1){$0_1=$18($0_1)+12|0;if(($0_1|0)!=73448){continue}break}$89(73448)}$37(73424,34556);$37(73436,34545);HEAP32[18080]=73424;$89(72324)}return HEAP32[18080]}function $1255($0_1){$0_1=$0_1|0;label$1:{if(Atomics.load(HEAPU8,72332)&1){break label$1}if(!$90(72332)){break label$1}label$2:{if(Atomics.load(HEAPU8,73480)&1){break label$2}if(!$90(73480)){break label$2}$0_1=73456;while(1){$0_1=$18($0_1)+12|0;if(($0_1|0)!=73480){continue}break}$89(73480)}$36(73456,62560);$36(73468,62572);HEAP32[18082]=73456;$89(72332)}return HEAP32[18082]}function $801($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1>>2]=HEAP32[$0_1+8>>2];$3_1=HEAP32[$0_1+8>>2];HEAP32[$2_1+8>>2]=$0_1+8;HEAP32[$2_1+4>>2]=Math_imul($1_1,12)+$3_1;$1_1=HEAP32[$2_1>>2];while(1){if(HEAP32[$2_1+4>>2]!=($1_1|0)){$390(HEAP32[$2_1>>2]);$1_1=HEAP32[$2_1>>2]+12|0;HEAP32[$2_1>>2]=$1_1;continue}break}$143($2_1);global$0=$2_1+16|0}function $213($0_1){var $1_1=0,$2_1=0;$2_1=$0_1+7&-8;label$1:{while(1){$0_1=Atomics.load(HEAP32,16019);$1_1=$0_1+$2_1|0;if($1_1>>>0<=$0_1>>>0?$2_1:0){break label$1}if(__wasm_memory_size()<<16>>>0<$1_1>>>0){if(!(fimport$27($1_1|0)|0)){break label$1}}if(($0_1|0)!=(Atomics.compareExchange(HEAP32,0+64076>>2,$0_1,$1_1)|0)){continue}break}return $0_1}HEAP32[$22()>>2]=48;return-1}function $1373($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0;label$1:{if(!HEAPU8[$0_1+44|0]){$2_1=($2_1|0)>0?$2_1:0;while(1){if(($2_1|0)==($3_1|0)){break label$1}if((FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+52>>2]]($0_1,HEAP32[$1_1>>2])|0)==-1){return $3_1|0}else{$1_1=$1_1+4|0;$3_1=$3_1+1|0;continue}}}$2_1=$166($1_1,4,$2_1,HEAP32[$0_1+32>>2])}return $2_1|0}function $972($0_1){global$1=$0_1;HEAP8[$0_1|0]=0;HEAP8[$0_1+1|0]=0;HEAP8[$0_1+2|0]=0;HEAP8[$0_1+3|0]=0;HEAP8[$0_1+4|0]=0;HEAP8[$0_1+5|0]=0;HEAP8[$0_1+6|0]=0;HEAP8[$0_1+7|0]=0;HEAP8[$0_1+8|0]=0;HEAP8[$0_1+9|0]=0;HEAP8[$0_1+10|0]=0;HEAP8[$0_1+11|0]=0;HEAP8[$0_1+12|0]=0;HEAP8[$0_1+13|0]=0;HEAP8[$0_1+14|0]=0;HEAP8[$0_1+15|0]=0;global$9=global$1+8|0;global$10=global$1+12|0}function $720($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$0_1>>2]=0;HEAP32[$0_1+4>>2]=0;HEAP32[$2_1+12>>2]=0;$242($0_1+8|0);if($1_1){if($270($0_1)>>>0<$1_1>>>0){$234(21392);abort()}$3_1=$486($4($0_1),$1_1);HEAP32[$0_1>>2]=$3_1;HEAP32[$0_1+4>>2]=$3_1;HEAP32[$4($0_1)>>2]=($1_1<<3)+$3_1;$389($0_1,0);$474($0_1,$1_1)}global$0=$2_1+16|0;return $0_1}function $294($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;HEAP32[$0_1>>2]=52048;$1_1=HEAP32[$0_1+40>>2];while(1){if($1_1){$1_1=$1_1-1|0;$2_1=$1_1<<2;FUNCTION_TABLE[HEAP32[HEAP32[$0_1+32>>2]+$2_1>>2]](0,$0_1,HEAP32[$2_1+HEAP32[$0_1+36>>2]>>2]);continue}break}$19($0_1+28|0);$1(HEAP32[$0_1+32>>2]);$1(HEAP32[$0_1+36>>2]);$1(HEAP32[$0_1+48>>2]);$1(HEAP32[$0_1+60>>2]);return $0_1|0}function $865($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0;$3_1=global$0-16|0;global$0=$3_1;if($2_1>>>0<=4294967279){label$2:{if($342($2_1)){$111($0_1,$2_1);$4_1=$0_1;break label$2}$5_1=$240($2_1)+1|0;$4_1=$48($5_1);$105($0_1,$4_1);$138($0_1,$5_1);$98($0_1,$2_1)}$154($4_1,$1_1,$2_1);HEAP8[$3_1+15|0]=0;$110($2_1+$4_1|0,$3_1+15|0);global$0=$3_1+16|0;return}$137();abort()}function $459($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$0_1>>2]=0;HEAP32[$0_1+4>>2]=0;HEAP32[$2_1+12>>2]=0;$242($0_1+8|0);if($1_1){if($323($0_1)>>>0<$1_1>>>0){$230();abort()}$3_1=$274($4($0_1),$1_1);HEAP32[$0_1>>2]=$3_1;HEAP32[$0_1+4>>2]=$3_1;HEAP32[$4($0_1)>>2]=($1_1<<2)+$3_1;$273($0_1,0);$394($0_1,$1_1)}global$0=$2_1+16|0;return $0_1}function $398($0_1,$1_1,$2_1){label$1:{if($2_1>=Math_fround(0)){if(!(Math_fround(HEAP32[$0_1+20>>2])>$2_1)){break label$1}return Math_fround($821(HEAPF32[$0_1+24>>2],$2_1)*Math_fround(1<<$1_1))}$3($0($0($2($0($0($0(71248,22763),22145),3305),232),3802),22797));fimport$0();abort()}$3($0($0($2($0($0($0(71248,22315),22145),3305),233),3802),22914));fimport$0();abort()}function $198($0_1,$1_1,$2_1){var $3_1=0;label$1:{if(HEAPU32[$0_1+16>>2]>$1_1>>>0){$3_1=HEAP32[$0_1+20>>2];if($3_1>>>0<=$2_1>>>0){break label$1}return $25($0_1+4|0,Math_imul($1_1,$3_1)+$2_1|0)}$3($0($0($2($0($0($0(71248,22101),22145),3305),218),3802),22255));fimport$0();abort()}$3($0($0($2($0($0($0(71248,22315),22145),3305),219),3802),22366));fimport$0();abort()}function $1171($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();$0_1=-1;if(!$31($1_1+8|0,$1_1)){$0_1=HEAP32[$32($1_1+12|0)+216>>2];$2_1=$1_1+8|0;if(!(!$0_1|!$2_1)){HEAP32[$2_1>>2]=HEAP32[$0_1+7062424>>2]}$0_1=HEAP32[$1_1+8>>2]}global$0=$1_1+16|0;return $0_1|0}function $1163($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=global$0-32|0;global$0=$2_1;HEAP32[$2_1+28>>2]=$0_1;HEAP32[$2_1+24>>2]=$26(67484,$2_1+28|0);HEAP32[$2_1+16>>2]=$23();$0_1=0;if(!$31($2_1+24|0,$2_1+16|0)){$787(HEAP32[$32($2_1+28|0)+216>>2],($1_1|0)!=0);HEAP32[$2_1>>2]=$1_1?36352:36356;$5(0,1,36603,$2_1);$0_1=$1_1}global$0=$2_1+32|0;return $0_1|0}function $303($0_1,$1_1,$2_1){var $3_1=0,$4_1=0,$5_1=0;$3_1=$0_1*$0_1;$5_1=$3_1*($3_1*$3_1)*($3_1*1.58969099521155e-10+-2.5050760253406863e-8)+($3_1*($3_1*27557313707070068e-22+-.0001984126982985795)+.00833333333332249);$4_1=$3_1*$0_1;if(!$2_1){return $4_1*($3_1*$5_1+-.16666666666666632)+$0_1}return $0_1-($3_1*($1_1*.5-$5_1*$4_1)-$1_1+$4_1*.16666666666666632)}function $1175($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();$0_1=-1;if(!$31($1_1+8|0,$1_1)){$0_1=HEAP32[$32($1_1+12|0)+216>>2];if($0_1){HEAP32[$1_1+8>>2]=HEAP32[$0_1+24>>2];$0_1=0}else{$0_1=-1}$0_1=$0_1?-1:HEAP32[$1_1+8>>2]}global$0=$1_1+16|0;return $0_1|0}function $1159($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();$0_1=-1;if(!$31($1_1+8|0,$1_1)){$0_1=HEAP32[$32($1_1+12|0)+216>>2];if($0_1){HEAP32[$1_1+8>>2]=HEAP32[$0_1+20>>2];$0_1=0}else{$0_1=-1}$0_1=$0_1?-1:HEAP32[$1_1+8>>2]}global$0=$1_1+16|0;return $0_1|0}function $434($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1){var $9_1=0;$9_1=global$0-16|0;global$0=$9_1;$112($9_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1^-2147483648);$3_1=HEAP32[$9_1>>2];$2_1=HEAP32[$9_1+4>>2];$1_1=HEAP32[$9_1+12>>2];HEAP32[$0_1+8>>2]=HEAP32[$9_1+8>>2];HEAP32[$0_1+12>>2]=$1_1;HEAP32[$0_1>>2]=$3_1;HEAP32[$0_1+4>>2]=$2_1;global$0=$9_1+16|0}function $86($0_1){var $1_1=0,$2_1=0,$3_1=0;$1_1=$0_1;label$1:{if($1_1&3){while(1){if(!HEAPU8[$1_1|0]){break label$1}$1_1=$1_1+1|0;if($1_1&3){continue}break}}while(1){$2_1=$1_1;$1_1=$1_1+4|0;$3_1=HEAP32[$2_1>>2];if(!(($3_1^-1)&$3_1-16843009&-2139062144)){continue}break}while(1){$1_1=$2_1;$2_1=$1_1+1|0;if(HEAPU8[$1_1|0]){continue}break}}return $1_1-$0_1|0}function $787($0_1,$1_1){if(!$0_1){return}label$2:{if(HEAP32[$0_1>>2]==($1_1|0)){break label$2}HEAP32[$0_1>>2]=$1_1;if(!$1_1){$0_1=$0_1+4834148|0;$1(HEAP32[$0_1>>2]);HEAP32[$0_1>>2]=0;break label$2}$1_1=$0_1+4834148|0;$0_1=$7(Math_imul(HEAP32[$0_1+40>>2],HEAP32[$0_1+36>>2]));HEAP32[$1_1>>2]=$0_1;if($0_1){break label$2}$5(0,3,1806,0);fimport$1(1);abort()}}function $1161($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();$0_1=0;if(!$31($1_1+8|0,$1_1)){$0_1=HEAP32[$32($1_1+12|0)+216>>2];$2_1=$1_1+8|0;if(!(!$0_1|!$2_1)){HEAP32[$2_1>>2]=HEAP32[$0_1>>2]}$0_1=HEAP32[$1_1+8>>2]}global$0=$1_1+16|0;return $0_1|0}function $518($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;$2_1=-1;label$1:{if(!$0_1|!$1_1){break label$1}$2_1=0;wasm2js_memory_fill($0_1+12|0,0,1024);$4_1=Math_imul(HEAP32[$0_1+8>>2],HEAP32[$0_1+4>>2])+$1_1|0;while(1){if($1_1>>>0>=$4_1>>>0){break label$1}$3_1=(HEAPU8[$1_1|0]<<2)+$0_1|0;HEAP32[$3_1+12>>2]=HEAP32[$3_1+12>>2]+1;$1_1=$1_1+1|0;continue}}return $2_1}function $1176($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=global$0-32|0;global$0=$2_1;HEAP32[$2_1+28>>2]=$0_1;HEAP32[$2_1+24>>2]=$26(67484,$2_1+28|0);HEAP32[$2_1+16>>2]=$23();label$1:{if($31($2_1+24|0,$2_1+16|0)){break label$1}if($374(HEAP32[$32($2_1+28|0)+216>>2],$1_1)){break label$1}HEAP32[$2_1>>2]=$1_1;$5(0,1,37615,$2_1)}global$0=$2_1+32|0}function $1165($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=global$0-32|0;global$0=$2_1;HEAP32[$2_1+28>>2]=$0_1;HEAP32[$2_1+24>>2]=$26(67484,$2_1+28|0);HEAP32[$2_1+16>>2]=$23();label$1:{if($31($2_1+24|0,$2_1+16|0)){break label$1}if($740(HEAP32[$32($2_1+28|0)+216>>2],$1_1)){break label$1}HEAP32[$2_1>>2]=$1_1;$5(0,1,36671,$2_1)}global$0=$2_1+32|0}function $678($0_1){var $1_1=0,$2_1=0;$1_1=$0_1+16|0;$70($1_1);$2_1=$0_1+40|0;label$1:{label$2:{while(1){label$4:{switch(HEAP32[$0_1+4>>2]){case 0:$358($2_1,$1_1);continue;case 1:break label$4;default:break label$2}}break}HEAP32[$0_1+12>>2]=1;HEAP32[$0_1+4>>2]=0;$0_1=0;break label$1}HEAP32[$0_1+8>>2]=2;$361($0_1+88|0);$0_1=-1}$77($1_1);return $0_1}function $347($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;if(HEAP32[(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0)+24>>2]){$345($1_1+8|0,$0_1);label$2:{if(!HEAPU8[$1_1+8|0]){break label$2}if(($296(HEAP32[(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0)+24>>2])|0)!=-1){break label$2}$284(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0,1)}$295($1_1+8|0)}global$0=$1_1+16|0}function $951($0_1){var $1_1=0,$2_1=0,$3_1=0;if(!$0_1){$5(0,3,7798,0);return}$1_1=HEAP32[$0_1>>2];if(!$1_1){return}$1(HEAP32[$1_1>>2]);$1_1=0;while(1){$2_1=HEAP32[$0_1>>2];$3_1=HEAP32[$2_1+8>>2];if(HEAP32[$2_1+12>>2]<=($1_1|0)){$1($3_1);$1(HEAP32[$0_1>>2]);HEAP32[$0_1>>2]=0}else{$1(HEAP32[Math_imul($1_1,12)+$3_1>>2]);$1_1=$1_1+1|0;continue}break}}function $440($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0;if(HEAP32[$0_1+12>>2]==HEAP32[global$3+16>>2]){HEAP32[$0_1+12>>2]=0}while(1){$4_1=HEAP32[$0_1+4>>2];$1_1=HEAP32[$0_1>>2];$2_1=$1_1&2147483647;$3_1=($2_1|0)==2147483647?0:($2_1|0)==1?0:$1_1-1|0;if(($113($0_1,$1_1,$3_1)|0)!=($1_1|0)){continue}break}if(!(($4_1?0:($1_1|0)>=0)|$3_1)){$191($0_1,$2_1)}}function $175($0_1,$1_1,$2_1){$2_1=HEAP32[$2_1+4>>2]&176;if(($2_1|0)==32){return $1_1}label$2:{if(($2_1|0)!=16){break label$2}label$3:{label$4:{$2_1=HEAPU8[$0_1|0];switch($2_1-43|0){case 0:case 2:break label$4;default:break label$3}}return $0_1+1|0}if(($2_1|0)!=48|($1_1-$0_1|0)<2|(HEAPU8[$0_1+1|0]|32)!=120){break label$2}$0_1=$0_1+2|0}return $0_1}function $1128($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0,$3_1=0;if(($1_1|0)>0){$2_1=HEAP32[$0_1+24>>2];$3_1=HEAP32[$2_1+4>>2];if(($3_1|0)<($1_1|0)){while(1){FUNCTION_TABLE[HEAP32[$2_1+12>>2]]($0_1)|0;$1_1=$1_1-$3_1|0;$3_1=HEAP32[$2_1+4>>2];if(($1_1|0)>($3_1|0)){continue}break}}HEAP32[$2_1+4>>2]=$3_1-$1_1;HEAP32[$2_1>>2]=HEAP32[$2_1>>2]+$1_1}}function $842($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=0;$182($0_1+12|0,$3_1);if($1_1){$5_1=$514(HEAP32[$0_1+16>>2],$1_1)}HEAP32[$0_1>>2]=$5_1;$2_1=Math_imul($2_1,20)+$5_1|0;HEAP32[$0_1+8>>2]=$2_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$13($0_1)>>2]=Math_imul($1_1,20)+$5_1;global$0=$4_1+16|0;return $0_1}function $511($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=0;$182($0_1+12|0,$3_1);if($1_1){$5_1=$834(HEAP32[$0_1+16>>2],$1_1)}HEAP32[$0_1>>2]=$5_1;$2_1=Math_imul($2_1,12)+$5_1|0;HEAP32[$0_1+8>>2]=$2_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$13($0_1)>>2]=Math_imul($1_1,12)+$5_1;global$0=$4_1+16|0;return $0_1}function $983($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0,$4_1=0,$5_1=0;$4_1=HEAP32[$0_1+84>>2];$3_1=$2_1+256|0;$5_1=$444($4_1,0,$3_1);$3_1=$5_1?$5_1-$4_1|0:$3_1;$2_1=$2_1>>>0>$3_1>>>0?$3_1:$2_1;$62($1_1,$4_1,$2_1);$1_1=$4_1+$3_1|0;HEAP32[$0_1+84>>2]=$1_1;HEAP32[$0_1+8>>2]=$1_1;HEAP32[$0_1+4>>2]=$2_1+$4_1;return $2_1|0}function $554($0_1,$1_1){var $2_1=0,$3_1=0;label$1:{$2_1=HEAP32[$0_1>>2];if(!$2_1){break label$1}$3_1=HEAP32[$2_1+24>>2];label$2:{if(($3_1|0)==HEAP32[$2_1+28>>2]){$1_1=FUNCTION_TABLE[HEAP32[HEAP32[$2_1>>2]+52>>2]]($2_1,$1_1)|0;break label$2}HEAP32[$2_1+24>>2]=$3_1+4;HEAP32[$3_1>>2]=$1_1}if(!$144($1_1,-1)){break label$1}HEAP32[$0_1>>2]=0}}function $309($0_1,$1_1){var $2_1=0,$3_1=0;while(1){if($641($0_1,$1_1)){$2_1=$86($0_1);while(1){label$4:{if(!$2_1){break label$4}label$5:{$2_1=$2_1-1|0;$3_1=$2_1+$0_1|0;switch(HEAPU8[$3_1|0]-10|0){case 0:case 3:break label$5;default:break label$4}}HEAP8[$3_1|0]=0;continue}break}$2_1=HEAPU8[$0_1|0];if(!$2_1|($2_1|0)==35){continue}}break}}function $623($0_1){var $1_1=0,$2_1=0;label$1:{if(!HEAP32[$0_1>>2]|!HEAP32[$0_1+12>>2]){break label$1}$1_1=$0_1+12|0;Atomics.or(HEAP32,$1_1>>2,-2147483648);$2_1=$0_1+8|0;$190($2_1);$622($2_1);$0_1=HEAP32[$0_1+12>>2];if(!($0_1&2147483647)){break label$1}while(1){$254($1_1,0,$0_1);$0_1=HEAP32[$1_1>>2];if($0_1&2147483647){continue}break}}}function $665($0_1){$0_1=$0_1|0;HEAP32[$0_1+104>>2]=0;HEAP32[$0_1+108>>2]=0;HEAP32[$0_1+16>>2]=201;HEAP32[$0_1+12>>2]=202;HEAP32[$0_1+8>>2]=203;HEAP32[$0_1+4>>2]=204;HEAP32[$0_1>>2]=205;HEAP32[$0_1+124>>2]=0;HEAP32[$0_1+128>>2]=0;HEAP32[$0_1+116>>2]=126;HEAP32[$0_1+120>>2]=0;HEAP32[$0_1+112>>2]=40176;HEAP32[$0_1+20>>2]=0;return $0_1|0}function $304($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0;$2_1=$0_1*$0_1;$3_1=$2_1*.5;$4_1=1-$3_1;$5_1=1-$4_1-$3_1;$3_1=$2_1*$2_1;return $4_1+($5_1+($2_1*($2_1*($2_1*($2_1*2480158728947673e-20+-.001388888888887411)+.0416666666666666)+$3_1*$3_1*($2_1*($2_1*-11359647557788195e-27+2.087572321298175e-9)+-2.7557314351390663e-7))-$0_1*$1_1))}function $525($0_1,$1_1,$2_1){var $3_1=0;$3_1=HEAP32[$0_1+16>>2];if(!$3_1){HEAP32[$0_1+36>>2]=1;HEAP32[$0_1+24>>2]=$2_1;HEAP32[$0_1+16>>2]=$1_1;return}label$2:{if(($1_1|0)==($3_1|0)){if(HEAP32[$0_1+24>>2]!=2){break label$2}HEAP32[$0_1+24>>2]=$2_1;return}HEAP8[$0_1+54|0]=1;HEAP32[$0_1+24>>2]=2;HEAP32[$0_1+36>>2]=HEAP32[$0_1+36>>2]+1}}function $1330($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0,$7_1=0;$6_1=global$0-16|0;global$0=$6_1;HEAP32[$6_1+8>>2]=624576549;HEAP32[$6_1+12>>2]=1394948685;$7_1=$0_1;$0_1=$6_1+16|0;$1_1=$184($7_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1+8|0,$0_1);global$0=$0_1;return $1_1|0}function $922($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0;$6_1=global$0-16|0;global$0=$6_1;HEAP8[$6_1+15|0]=0;HEAP8[$6_1+14|0]=$5_1;HEAP8[$6_1+13|0]=$4_1;HEAP8[$6_1+12|0]=37;if($5_1){$921($6_1+13|0,$6_1+14|0)}HEAP32[$2_1>>2]=(fimport$25($1_1|0,$765($1_1,HEAP32[$2_1>>2])|0,$6_1+12|0,$3_1|0,HEAP32[$0_1>>2])|0)+$1_1;global$0=$6_1+16|0}function $1061($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=HEAP32[$0_1>>2];if(($1_1|0)<0){$1_1=HEAP32[$2_1+108>>2];if(!(HEAP32[$2_1+104>>2]<3?$1_1:0)){FUNCTION_TABLE[HEAP32[$2_1+8>>2]]($0_1);$1_1=HEAP32[$2_1+108>>2]}HEAP32[$2_1+108>>2]=$1_1+1;return}if(HEAP32[$2_1+104>>2]>=($1_1|0)){FUNCTION_TABLE[HEAP32[$2_1+8>>2]]($0_1)}}function $600($0_1){var $1_1=0,$2_1=0,$3_1=0;if(!$132(HEAP8[HEAP32[$0_1>>2]])){return 0}while(1){$3_1=HEAP32[$0_1>>2];$2_1=-1;if($1_1>>>0<=214748364){$2_1=HEAP8[$3_1|0]-48|0;$1_1=Math_imul($1_1,10);$2_1=($1_1^2147483647)<($2_1|0)?-1:$2_1+$1_1|0}HEAP32[$0_1>>2]=$3_1+1;$1_1=$2_1;if($132(HEAP8[$3_1+1|0])){continue}break}return $1_1}function $41($0_1,$1_1,$2_1){HEAPF32[$0_1>>2]=HEAPF32[$1_1+8>>2]+Math_fround(Math_fround(HEAPF32[$1_1>>2]*HEAPF32[$2_1>>2])+Math_fround(HEAPF32[$1_1+4>>2]*HEAPF32[$2_1+4>>2]));HEAPF32[$0_1+4>>2]=HEAPF32[$1_1+20>>2]+Math_fround(Math_fround(HEAPF32[$1_1+12>>2]*HEAPF32[$2_1>>2])+Math_fround(HEAPF32[$1_1+16>>2]*HEAPF32[$2_1+4>>2]))}function $39($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0;$5_1=global$0-16|0;global$0=$5_1;$0_1=$198($0_1,$3_1,$4_1);$495($5_1+12|0,$5_1+8|0,$1_1,$2_1,$3_1);$1_1=HEAPF32[$5_1+8>>2];$1_1=$24($0_1,$328(HEAPF32[$5_1+12>>2],Math_fround(HEAP32[$0_1+4>>2]-2>>>0)),$328($1_1,Math_fround(HEAP32[$0_1+8>>2]-2>>>0)));global$0=$5_1+16|0;return $1_1}function $587(){var $0_1=0;$0_1=global$0-16|0;global$0=$0_1;$70(69840);if(!HEAP32[17330]){HEAP32[17335]=2;HEAP32[17333]=-1;HEAP32[17334]=-1;HEAP32[17331]=4096;HEAP32[17332]=4096;HEAP32[17447]=2;HEAP32[$0_1+8>>2]=0;label$2:{if($616(69792,$0_1+8|0)){break label$2}}HEAP32[17330]=$0_1+4&-16^1431655768}$77(69840);global$0=$0_1+16|0}function $277($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=0;$182($0_1+12|0,$3_1);if($1_1){$5_1=$274(HEAP32[$0_1+16>>2],$1_1)}HEAP32[$0_1>>2]=$5_1;$2_1=($2_1<<2)+$5_1|0;HEAP32[$0_1+8>>2]=$2_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$13($0_1)>>2]=($1_1<<2)+$5_1;global$0=$4_1+16|0;return $0_1}function $271($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=0;$182($0_1+12|0,$3_1);if($1_1){$5_1=$486(HEAP32[$0_1+16>>2],$1_1)}HEAP32[$0_1>>2]=$5_1;$2_1=($2_1<<3)+$5_1|0;HEAP32[$0_1+8>>2]=$2_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$13($0_1)>>2]=($1_1<<3)+$5_1;global$0=$4_1+16|0;return $0_1}function $234($0_1){var $1_1=0,$2_1=0,$3_1=0;$2_1=$482(fimport$6(8)|0);HEAP32[$2_1>>2]=63632;$3_1=$86($0_1);$1_1=$48($3_1+13|0);HEAP32[$1_1+8>>2]=0;HEAP32[$1_1+4>>2]=$3_1;HEAP32[$1_1>>2]=$3_1;$1_1=$13($1_1);wasm2js_memory_copy($1_1,$0_1,$3_1+1|0);HEAP32[$2_1+4>>2]=$1_1;HEAP32[$2_1>>2]=63680;fimport$5($2_1|0,63712,14);abort()}function $897($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;HEAP32[$0_1>>2]=56024;$1_1=$0_1+8|0;while(1){if($21($1_1)>>>0>$2_1>>>0){if(HEAP32[$9($1_1,$2_1)>>2]){$315(HEAP32[$9($1_1,$2_1)>>2])}$2_1=$2_1+1|0;continue}break}$8($0_1+152|0);$331($1_1);if(HEAP32[$1_1>>2]){$898($1_1);$896($45($1_1),HEAP32[$1_1>>2],$159($1_1))}return $0_1|0}function $171($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;if($128($0_1)){$3_1=HEAP32[$0_1>>2];$210($0_1);$1($3_1)}HEAP32[$0_1+8>>2]=HEAP32[$1_1+8>>2];$3_1=HEAP32[$1_1+4>>2];HEAP32[$0_1>>2]=HEAP32[$1_1>>2];HEAP32[$0_1+4>>2]=$3_1;$111($1_1,0);HEAP32[$2_1+12>>2]=0;$129($1_1,$2_1+12|0);global$0=$2_1+16|0}function $460($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0;$2_1=HEAP32[$0_1+4>>2];if(($2_1|0)==HEAP32[$1_1+4>>2]){$2_1=($2_1|0)>0?$2_1:0;while(1){if(($2_1|0)!=($3_1|0)){$4_1=$3_1<<3;$5_1=HEAPF64[$4_1+HEAP32[$0_1>>2]>>3]*HEAPF64[HEAP32[$1_1>>2]+$4_1>>3]+$5_1;$3_1=$3_1+1|0;continue}break}return $5_1}fimport$1(0);abort()}function $91($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;if($128($0_1)){$3_1=HEAP32[$0_1>>2];$210($0_1);$1($3_1)}HEAP32[$0_1+8>>2]=HEAP32[$1_1+8>>2];$3_1=HEAP32[$1_1+4>>2];HEAP32[$0_1>>2]=HEAP32[$1_1>>2];HEAP32[$0_1+4>>2]=$3_1;$111($1_1,0);HEAP8[$2_1+15|0]=0;$110($1_1,$2_1+15|0);global$0=$2_1+16|0}function $93($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0;$5_1=global$0-256|0;global$0=$5_1;if(!($4_1&73728|($2_1|0)<=($3_1|0))){$3_1=$2_1-$3_1|0;$2_1=$3_1>>>0<256;$11($5_1,$1_1&255,$2_1?$3_1:256);if(!$2_1){while(1){$85($0_1,$5_1,256);$3_1=$3_1-256|0;if($3_1>>>0>255){continue}break}}$85($0_1,$5_1,$3_1)}global$0=$5_1+256|0}function $637($0_1){var $1_1=0,$2_1=0,$3_1=0;label$1:{if(HEAP32[$0_1+76>>2]<0){$1_1=$638($0_1);$0_1=i64toi32_i32$HIGH_BITS;break label$1}$2_1=$125($0_1);$1_1=$638($0_1);$3_1=i64toi32_i32$HIGH_BITS;if($2_1){$114($0_1)}$0_1=$3_1}if(($0_1|0)>=0&$1_1>>>0>=2147483648|($0_1|0)>0){HEAP32[$22()>>2]=61;return-1}return $1_1}function $639($0_1){var $1_1=0;$1_1=HEAP32[$0_1+72>>2];HEAP32[$0_1+72>>2]=$1_1-1|$1_1;$1_1=HEAP32[$0_1>>2];if($1_1&8){HEAP32[$0_1>>2]=$1_1|32;return-1}HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+8>>2]=0;$1_1=HEAP32[$0_1+44>>2];HEAP32[$0_1+28>>2]=$1_1;HEAP32[$0_1+20>>2]=$1_1;HEAP32[$0_1+16>>2]=$1_1+HEAP32[$0_1+48>>2];return 0}function $1328($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$6_1=global$0-16|0;global$0=$6_1;HEAP32[$6_1+8>>2]=$1_1;$30($6_1,$3_1);$1_1=$106($6_1);$19($6_1);$929($0_1,$5_1+24|0,$6_1+8|0,$2_1,$4_1,$1_1);global$0=$6_1+16|0;return HEAP32[$6_1+8>>2]}function $1327($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$6_1=global$0-16|0;global$0=$6_1;HEAP32[$6_1+8>>2]=$1_1;$30($6_1,$3_1);$1_1=$106($6_1);$19($6_1);$928($0_1,$5_1+16|0,$6_1+8|0,$2_1,$4_1,$1_1);global$0=$6_1+16|0;return HEAP32[$6_1+8>>2]}function $1322($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$6_1=global$0-16|0;global$0=$6_1;HEAP32[$6_1+8>>2]=$1_1;$30($6_1,$3_1);$1_1=$101($6_1);$19($6_1);$925($0_1,$5_1+24|0,$6_1+8|0,$2_1,$4_1,$1_1);global$0=$6_1+16|0;return HEAP32[$6_1+8>>2]}function $1321($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$6_1=global$0-16|0;global$0=$6_1;HEAP32[$6_1+8>>2]=$1_1;$30($6_1,$3_1);$1_1=$101($6_1);$19($6_1);$924($0_1,$5_1+16|0,$6_1+8|0,$2_1,$4_1,$1_1);global$0=$6_1+16|0;return HEAP32[$6_1+8>>2]}function $1062($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;$1_1=global$0-224|0;global$0=$1_1;$2_1=$1_1+16|0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+12>>2]]($0_1,$2_1);HEAP32[$1_1>>2]=$2_1;$2_1=HEAP32[11736];$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+12>>2]=$1_1;$598($2_1,36621,$1_1);global$0=$0_1+16|0;global$0=$1_1+224|0}function $97($0_1,$1_1){HEAP32[$0_1+8>>2]=0;HEAP32[$0_1+12>>2]=-1074790400;HEAP32[$0_1>>2]=0;HEAP32[$0_1+4>>2]=-1074790400;$135($0_1+16|0,$1_1);$1_1=global$0-16|0;global$0=$1_1;$644($1_1);HEAPF64[$0_1>>3]=+HEAP32[$1_1+8>>2]*1e-6+(+HEAPU32[$1_1>>2]+ +HEAP32[$1_1+4>>2]*4294967296);global$0=$1_1+16|0;return $0_1}function $126($0_1,$1_1,$2_1){var $3_1=Math_fround(0),$4_1=Math_fround(0);$3_1=HEAPF32[$0_1>>2];$4_1=HEAPF32[$0_1+4>>2];return Math_fround(Math_fround(Math_fround(HEAPF32[$1_1>>2]-$3_1)*Math_fround(HEAPF32[$2_1+4>>2]-$4_1))-Math_fround(Math_fround(HEAPF32[$2_1>>2]-$3_1)*Math_fround(HEAPF32[$1_1+4>>2]-$4_1)))}function $1000($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0;$4_1=global$0-16|0;global$0=$4_1;$0_1=$351(fimport$22(HEAP32[$0_1+60>>2],$1_1|0,$2_1|0,$3_1&255,$4_1+8|0)|0);global$0=$4_1+16|0;i64toi32_i32$HIGH_BITS=$0_1?-1:HEAP32[$4_1+12>>2];return($0_1?-1:HEAP32[$4_1+8>>2])|0}function $441($0_1){var $1_1=0,$2_1=0,$3_1=0;label$1:{label$2:{while(1){$2_1=6;$3_1=10;label$4:{$1_1=HEAP32[$0_1>>2];switch(($1_1&2147483647)-2147483646|0){case 0:break label$1;case 1:break label$2;default:break label$4}}if(($113($0_1,$1_1,$1_1+1|0)|0)!=($1_1|0)){continue}break}$3_1=0}$2_1=$3_1}return $2_1}function $1278($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0,$3_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=HEAP32[$0_1+8>>2];$3_1=$161($1_1+8|0,$1_1+12|0);$2_1=global$0-16|0;global$0=$2_1;global$0=$2_1+16|0;$160($3_1);global$0=$1_1+16|0;$0_1=HEAP32[$0_1+8>>2];if(!$0_1){return 1}return($888($0_1)|0)==1|0}function $1076($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1+476>>2]+12>>2]]($0_1,$1_1,HEAP32[$2_1>>2],(HEAP32[$5_1>>2]<<2)+$4_1|0);HEAP32[$5_1>>2]=HEAP32[$5_1>>2]+1;HEAP32[$2_1>>2]=HEAP32[$2_1>>2]+1}function $1211($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1,$9_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;$8_1=$8_1|0;$9_1=$9_1|0;var $10_1=0;$10_1=$1_1;$1_1=0;return FUNCTION_TABLE[$0_1|0]($10_1,$2_1,$3_1,$4_1,$5_1,$1_1|$6_1,$7_1,$1_1|$8_1,$9_1)|0}function $836($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$1_1;$3_1=$1_1;$1_1=$510($0_1);if($3_1>>>0<=$1_1>>>0){$0_1=$147($0_1);if($0_1>>>0<$1_1>>>1>>>0){HEAP32[$2_1+8>>2]=$0_1<<1;$1_1=HEAP32[$67($2_1+8|0,$2_1+12|0)>>2]}global$0=$2_1+16|0;return $1_1}$281();abort()}function $802($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$1_1;$3_1=$1_1;$1_1=$510($0_1);if($3_1>>>0<=$1_1>>>0){$0_1=$147($0_1);if($0_1>>>0<$1_1>>>1>>>0){HEAP32[$2_1+8>>2]=$0_1<<1;$1_1=HEAP32[$67($2_1+8|0,$2_1+12|0)>>2]}global$0=$2_1+16|0;return $1_1}$230();abort()}function $797($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$1_1;$3_1=$1_1;$1_1=$820($0_1);if($3_1>>>0<=$1_1>>>0){$0_1=$197($0_1);if($0_1>>>0<$1_1>>>1>>>0){HEAP32[$2_1+8>>2]=$0_1<<1;$1_1=HEAP32[$67($2_1+8|0,$2_1+12|0)>>2]}global$0=$2_1+16|0;return $1_1}$230();abort()}function $516($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$1_1;$3_1=$1_1;$1_1=$839($0_1);if($3_1>>>0<=$1_1>>>0){$0_1=$186($0_1);if($0_1>>>0<$1_1>>>1>>>0){HEAP32[$2_1+8>>2]=$0_1<<1;$1_1=HEAP32[$67($2_1+8|0,$2_1+12|0)>>2]}global$0=$2_1+16|0;return $1_1}$281();abort()}function $473($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$1_1;$3_1=$1_1;$1_1=$270($0_1);if($3_1>>>0<=$1_1>>>0){$0_1=$142($0_1);if($0_1>>>0<$1_1>>>1>>>0){HEAP32[$2_1+8>>2]=$0_1<<1;$1_1=HEAP32[$67($2_1+8|0,$2_1+12|0)>>2]}global$0=$2_1+16|0;return $1_1}$265();abort()}function $400($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$1_1;$3_1=$1_1;$1_1=$833($0_1);if($3_1>>>0<=$1_1>>>0){$0_1=$187($0_1);if($0_1>>>0<$1_1>>>1>>>0){HEAP32[$2_1+8>>2]=$0_1<<1;$1_1=HEAP32[$67($2_1+8|0,$2_1+12|0)>>2]}global$0=$2_1+16|0;return $1_1}$281();abort()}function $385($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$1_1;$3_1=$1_1;$1_1=$323($0_1);if($3_1>>>0<=$1_1>>>0){$0_1=$159($0_1);if($0_1>>>0<$1_1>>>1>>>0){HEAP32[$2_1+8>>2]=$0_1<<1;$1_1=HEAP32[$67($2_1+8|0,$2_1+12|0)>>2]}global$0=$2_1+16|0;return $1_1}$265();abort()}function $166($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;$4_1=Math_imul($1_1,$2_1);label$1:{if(HEAP32[$3_1+76>>2]<0){$0_1=$445($0_1,$4_1,$3_1);break label$1}$5_1=$125($3_1);$0_1=$445($0_1,$4_1,$3_1);if(!$5_1){break label$1}$114($3_1)}if(($0_1|0)==($4_1|0)){return $1_1?$2_1:0}return($0_1>>>0)/($1_1>>>0)|0}function $1191($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();$0_1=-1;if(!$31($1_1+8|0,$1_1)){$0_1=$32($1_1+12|0);HEAP32[$0_1+232>>2]=$589(HEAP32[$0_1+192>>2]);$0_1=0}global$0=$1_1+16|0;return $0_1|0}function $1326($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+8>>2]=$1_1;$30($0_1,$3_1);$1_1=$106($0_1);$19($0_1);$926($5_1+20|0,$0_1+8|0,$2_1,$4_1,$1_1);global$0=$0_1+16|0;return HEAP32[$0_1+8>>2]}function $1320($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+8>>2]=$1_1;$30($0_1,$3_1);$1_1=$101($0_1);$19($0_1);$923($5_1+20|0,$0_1+8|0,$2_1,$4_1,$1_1);global$0=$0_1+16|0;return HEAP32[$0_1+8>>2]}function $507($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=0;$182($0_1+12|0,$3_1);if($1_1){$5_1=$48($1_1)}HEAP32[$0_1>>2]=$5_1;$2_1=$2_1+$5_1|0;HEAP32[$0_1+8>>2]=$2_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$13($0_1)>>2]=$1_1+$5_1;global$0=$4_1+16|0;return $0_1}function $248($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=HEAPU8[$0_1|0];$3_1=HEAPU8[$1_1|0];label$1:{if(!$2_1|($3_1|0)!=($2_1|0)){break label$1}while(1){$3_1=HEAPU8[$1_1+1|0];$2_1=HEAPU8[$0_1+1|0];if(!$2_1){break label$1}$1_1=$1_1+1|0;$0_1=$0_1+1|0;if(($2_1|0)==($3_1|0)){continue}break}}return $2_1-$3_1|0}function $495($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=Math_fround(0),$6_1=Math_fround(0);$5_1=Math_fround(Math_fround(1)/Math_fround(1<<$4_1));$6_1=Math_fround(Math_fround($5_1*Math_fround(.5))+Math_fround(-.5));HEAPF32[$0_1>>2]=Math_fround($2_1*$5_1)+$6_1;HEAPF32[$1_1>>2]=Math_fround($3_1*$5_1)+$6_1}function $1172($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$0_1;HEAP32[$2_1+8>>2]=$26(67484,$2_1+12|0);HEAP32[$2_1>>2]=$23();if(!$31($2_1+8|0,$2_1)){$0_1=HEAP32[$32($2_1+12|0)+216>>2];if($0_1){HEAP32[$0_1+7062424>>2]=$1_1}}global$0=$2_1+16|0}function $899($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;$3_1=global$0-16|0;global$0=$3_1;$2_1=$275($3_1,$0_1,$1_1);$1_1=HEAP32[$2_1+4>>2];$4_1=HEAP32[$2_1+8>>2];while(1){if(($1_1|0)==($4_1|0)){$72($2_1);global$0=$3_1+16|0}else{$875($45($0_1),$1_1);$1_1=$1_1+4|0;HEAP32[$2_1+4>>2]=$1_1;continue}break}}function $803($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;$3_1=global$0-16|0;global$0=$3_1;$2_1=$512($3_1,$0_1,$1_1);$1_1=HEAP32[$2_1+4>>2];$4_1=HEAP32[$2_1+8>>2];while(1){if(($1_1|0)==($4_1|0)){$72($2_1);global$0=$3_1+16|0}else{$4($0_1);$390($1_1);$1_1=$1_1+12|0;HEAP32[$2_1+4>>2]=$1_1;continue}break}}function $770($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;$3_1=global$0-16|0;global$0=$3_1;$2_1=$517($3_1,$0_1,$1_1);$1_1=HEAP32[$2_1+4>>2];$4_1=HEAP32[$2_1+8>>2];while(1){if(($1_1|0)==($4_1|0)){$72($2_1);global$0=$3_1+16|0}else{$4($0_1);$767($1_1);$1_1=$1_1+20|0;HEAP32[$2_1+4>>2]=$1_1;continue}break}}function $688($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0;label$1:while(1){label$2:{$1_1=0;if(($2_1|0)==3){break label$2}while(1)if(($1_1|0)==4){$2_1=$2_1+1|0;continue label$1}else{$3_1=$1_1<<3;$4_1=$2_1<<5;HEAPF64[$3_1+($4_1+67792|0)>>3]=HEAPF64[($0_1+$4_1|0)+$3_1>>3];$1_1=$1_1+1|0;continue}}break}}function $970($0_1,$1_1,$2_1){var $3_1=0,$4_1=0;$3_1=global$0-16|0;global$0=$3_1;$0_1=$559($0_1);HEAP32[$0_1+32>>2]=$1_1;HEAP32[$0_1>>2]=52400;$1_1=$3_1+8|0;$344($1_1,$0_1);$4_1=$545($1_1);$19($1_1);HEAP32[$0_1+40>>2]=$2_1;HEAP32[$0_1+36>>2]=$4_1;HEAP8[$0_1+44|0]=$241($4_1);global$0=$3_1+16|0}function $547($0_1,$1_1,$2_1){var $3_1=0,$4_1=0;$3_1=global$0-16|0;global$0=$3_1;$0_1=$574($0_1);HEAP32[$0_1+32>>2]=$1_1;HEAP32[$0_1>>2]=52196;$1_1=$3_1+8|0;$344($1_1,$0_1);$4_1=$422($1_1);$19($1_1);HEAP32[$0_1+40>>2]=$2_1;HEAP32[$0_1+36>>2]=$4_1;HEAP8[$0_1+44|0]=$241($4_1);global$0=$3_1+16|0}function $503($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;$2_1=global$0-32|0;global$0=$2_1;label$1:{if($197($0_1)>>>0<$1_1>>>0){if($820($0_1)>>>0<$1_1>>>0){break label$1}$3_1=$4($0_1);$4_1=$0_1;$0_1=$494($2_1+8|0,$1_1,$82($0_1),$3_1);$493($4_1,$0_1);$491($0_1)}global$0=$2_1+32|0;return}$230();abort()}function $474($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;$3_1=global$0-16|0;global$0=$3_1;$2_1=$795($3_1,$0_1,$1_1);$1_1=HEAP32[$2_1+4>>2];$4_1=HEAP32[$2_1+8>>2];while(1){if(($1_1|0)==($4_1|0)){$72($2_1);global$0=$3_1+16|0}else{$4($0_1);$758($1_1);$1_1=$1_1+8|0;HEAP32[$2_1+4>>2]=$1_1;continue}break}}function $394($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;$3_1=global$0-16|0;global$0=$3_1;$2_1=$275($3_1,$0_1,$1_1);$1_1=HEAP32[$2_1+4>>2];$4_1=HEAP32[$2_1+8>>2];while(1){if(($1_1|0)==($4_1|0)){$72($2_1);global$0=$3_1+16|0}else{$4($0_1);$804($1_1);$1_1=$1_1+4|0;HEAP32[$2_1+4>>2]=$1_1;continue}break}}function $380($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;$2_1=global$0-32|0;global$0=$2_1;label$1:{if($142($0_1)>>>0<$1_1>>>0){if($270($0_1)>>>0<$1_1>>>0){break label$1}$3_1=$4($0_1);$4_1=$0_1;$0_1=$271($2_1+8|0,$1_1,$12($0_1),$3_1);$321($4_1,$0_1);$320($0_1)}global$0=$2_1+32|0;return}$265();abort()}function $859($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;$5_1=HEAP32[$0_1+4>>2];$4_1=0;label$1:{if(!$2_1){break label$1}$4_1=$5_1>>8;if(!($5_1&1)){break label$1}$4_1=$524(HEAP32[$2_1>>2],$4_1)}$0_1=HEAP32[$0_1>>2];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+28>>2]]($0_1,$1_1,$2_1+$4_1|0,$5_1&2?$3_1:2)}function $591($0_1,$1_1,$2_1,$3_1){label$1:{if(!$0_1){break label$1}label$2:{switch($1_1+2|0){case 0:HEAP8[$0_1|0]=$2_1;return;case 1:HEAP16[$0_1>>1]=$2_1;return;case 2:case 3:HEAP32[$0_1>>2]=$2_1;return;case 5:break label$2;default:break label$1}}HEAP32[$0_1>>2]=$2_1;HEAP32[$0_1+4>>2]=$3_1}}function $642(){var $0_1=0;label$1:{if(global$4){if(Atomics.load(HEAPU8,67928)&1){break label$1}$0_1=global$1;if(!HEAP32[$0_1+4>>2]){HEAP32[$0_1+4>>2]=1;$70(68160);$0_1=$624(global$3);$77(68160);if(!(HEAP32[$0_1+32>>2]|!$0_1)){$626($0_1)}HEAP32[global$1+4>>2]=0}}return}fimport$44();abort()}function $727($0_1,$1_1,$2_1,$3_1){var $4_1=0;$4_1=global$0-16|0;global$0=$4_1;$3_1=$512($4_1,$0_1,$3_1);$4($0_1);$0_1=$2_1-$1_1|0;if(($0_1|0)>0){wasm2js_memory_copy(HEAP32[$3_1+4>>2],$1_1,$0_1);HEAP32[$3_1+4>>2]=HEAP32[$3_1+4>>2]+Math_imul(($0_1>>>0)/12|0,12)}$72($3_1);global$0=$4_1+16|0}function $624($0_1){var $1_1=0,$2_1=0,$3_1=0,$4_1=0;label$1:{$2_1=HEAP32[17047];if(($2_1|0)<=0){break label$1}$4_1=HEAP32[17046];while(1){$3_1=HEAP32[($1_1<<2)+$4_1>>2];if(HEAP32[$3_1+28>>2]!=($0_1|0)){$1_1=$1_1+1|0;if(($2_1|0)!=($1_1|0)){continue}break label$1}break}return $3_1}return 0}function $1225($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;if($121($0_1,HEAP32[$1_1+8>>2],$5_1)){$523($1_1,$2_1,$3_1,$4_1);return}$0_1=HEAP32[$0_1+8>>2];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+20>>2]]($0_1,$1_1,$2_1,$3_1,$4_1,$5_1)}function $716($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;$3_1=global$0-32|0;global$0=$3_1;$2_1=$4($0_1);$4_1=$2_1;$2_1=$271($3_1+8|0,$473($0_1,$12($0_1)+1|0),$12($0_1),$2_1);$272($4_1,HEAP32[$2_1+8>>2],$1_1);HEAP32[$2_1+8>>2]=HEAP32[$2_1+8>>2]+8;$321($0_1,$2_1);$320($2_1);global$0=$3_1+32|0}function $1323($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$6_1=$0_1;$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+8>>2]+20>>2]]($0_1+8|0)|0;return $183($6_1,$1_1,$2_1,$3_1,$4_1,$5_1,$15($0_1),$15($0_1)+($6($0_1)<<2)|0)|0}function $761($0_1,$1_1,$2_1,$3_1){var $4_1=0;$4_1=global$0-16|0;global$0=$4_1;$3_1=$517($4_1,$0_1,$3_1);$0_1=$4($0_1);while(1){if(($1_1|0)!=($2_1|0)){$403($0_1,HEAP32[$3_1+4>>2],$1_1);HEAP32[$3_1+4>>2]=HEAP32[$3_1+4>>2]+20;$1_1=$1_1+20|0;continue}break}$72($3_1);global$0=$4_1+16|0}function $1151($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();if($31($1_1+8|0,$1_1)){$0_1=63756}else{$0_1=HEAP32[$32($1_1+12|0)+216>>2]+44|0}global$0=$1_1+16|0;return HEAP32[$0_1>>2]}function $1329($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;var $6_1=0;$6_1=$0_1;$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+8>>2]+20>>2]]($0_1+8|0)|0;return $184($6_1,$1_1,$2_1,$3_1,$4_1,$5_1,$15($0_1),$15($0_1)+$6($0_1)|0)|0}function $1212($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;$8_1=$8_1|0;var $9_1=0;$9_1=$1_1;$1_1=0;return FUNCTION_TABLE[$0_1|0]($9_1,$2_1,$3_1,$4_1,$1_1|$5_1,$6_1,$1_1|$7_1,$8_1)|0}function $1162($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();$0_1=0;if(!$31($1_1+8|0,$1_1)){$0_1=HEAP32[HEAP32[$32($1_1+12|0)+216>>2]+4834148>>2]}global$0=$1_1+16|0;return $0_1|0}function $696($0_1){var $1_1=0,$2_1=0;$1_1=global$0-272|0;global$0=$1_1;$2_1=$1_1+264|0;$645($2_1);fimport$46(67912,67916,67920);fimport$45($2_1|0,68108);HEAP32[17037]=HEAP32[(HEAP32[17035]?67924:67920)>>2];fimport$50($1_1|0,256,1073,68108)|0;$135($0_1,$1_1);global$0=$1_1+272|0}function $1124($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=HEAP32[$0_1+460>>2];HEAP32[$1_1+24>>2]=1;HEAP32[$1_1+16>>2]=0;HEAP32[$1_1+20>>2]=0;HEAP32[$1_1>>2]=106;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+16>>2]]($0_1);FUNCTION_TABLE[HEAP32[HEAP32[$0_1+464>>2]>>2]]($0_1);HEAP32[$0_1+160>>2]=0}function $1301($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;while(1){if(($1_1|0)!=($2_1|0)){$0_1=HEAP32[$1_1>>2];if($0_1>>>0<=127){$0_1=HEAP32[($0_1<<2)+56096>>2]}else{$0_1=0}HEAP32[$3_1>>2]=$0_1;$3_1=$3_1+4|0;$1_1=$1_1+4|0;continue}break}return $2_1|0}function $350($0_1,$1_1){var $2_1=0,$3_1=0;label$2:{if(!$0_1){break label$2}$2_1=__wasm_i64_mul($0_1,0,$1_1,0);$3_1=i64toi32_i32$HIGH_BITS;if(($0_1|$1_1)>>>0<65536){break label$2}$2_1=$3_1?-1:$2_1}$0_1=$7($2_1);if(!(!$0_1|!(HEAPU8[$0_1-4|0]&3))){$11($0_1,0,$2_1)}return $0_1}function $807($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;$0_1=$392($2_1,$0_1+8|0,$1_1);$1_1=HEAP32[$0_1>>2];while(1){if(HEAP32[$0_1+4>>2]!=($1_1|0)){$804(HEAP32[$0_1>>2]);$1_1=HEAP32[$0_1>>2]+4|0;HEAP32[$0_1>>2]=$1_1;continue}break}$143($0_1);global$0=$2_1+16|0}function $781($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=$1_1;if($2_1){if($2_1){$3_1=$2_1+4|0;$0_1=HEAP32[$3_1+8>>2];$4($3_1);while(1){if($0_1){$1_1=HEAP32[$0_1>>2];$757($0_1+8|0);$1($0_1);$0_1=$1_1;continue}break}$266($3_1);$780($2_1,0)}$1($2_1)}}function $540($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0;$6_1=global$0-16|0;global$0=$6_1;$5_1=$6_1+8|0;$30($5_1,$1_1);$185($101($5_1),55776,55808,$2_1);$1_1=$291($5_1);HEAP32[$3_1>>2]=$149($1_1);HEAP32[$4_1>>2]=$108($1_1);$107($0_1,$1_1);$19($5_1);global$0=$6_1+16|0}function $463($0_1,$1_1,$2_1,$3_1){var $4_1=0,$5_1=0;$2_1=($2_1|0)>0?$2_1:0;while(1){if(($2_1|0)!=($4_1|0)){$5_1=Math_imul(HEAP32[$3_1>>2],214013)+2531011|0;HEAP32[$3_1>>2]=$5_1;$28(($4_1<<2)+$0_1|0,(($5_1>>>16&32767)%($1_1|0)<<2)+$0_1|0);$4_1=$4_1+1|0;continue}break}}function $123($0_1,$1_1,$2_1){var $3_1=0,$4_1=0;label$1:{if(!$2_1){break label$1}while(1){$4_1=HEAP32[($3_1<<3)+$1_1>>2];if(!$4_1){break label$1}if(($0_1|0)==($4_1|0)){return HEAP32[(($3_1<<3)+$1_1|0)+4>>2]}$3_1=$3_1+1|0;if(($3_1|0)!=($2_1|0)){continue}break}}return 0}function $1299($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;label$1:{while(1){if(($2_1|0)==($3_1|0)){break label$1}$0_1=HEAP32[$2_1>>2];if(!($0_1>>>0>127|!(HEAP32[($0_1<<2)+56096>>2]&$1_1))){$2_1=$2_1+4|0;continue}break}$3_1=$2_1}return $3_1|0}function $1179($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();$2_1=-1;if(!$31($1_1+8|0,$1_1)){$2_1=HEAPF64[$32($1_1+12|0)+312>>3]}global$0=$1_1+16|0;return+$2_1}function $1177($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();$2_1=-1;if(!$31($1_1+8|0,$1_1)){$2_1=HEAPF64[$32($1_1+12|0)+320>>3]}global$0=$1_1+16|0;return+$2_1}function $672($0_1){var $1_1=0;if(HEAP32[HEAP32[$0_1>>2]+16>>2]>=129){$1_1=HEAP32[17327];if($1_1){while(1){$254(69308,69312,$1_1);$1_1=HEAP32[17327];if($1_1){continue}break}}}$623(HEAP32[$0_1>>2]+40|0);$623(HEAP32[$0_1>>2]+88|0);$1(HEAP32[$0_1>>2]);HEAP32[$0_1>>2]=0}function $1300($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;while(1){label$2:{if(($2_1|0)!=($3_1|0)){$0_1=HEAP32[$2_1>>2];if($0_1>>>0>127|!(HEAP32[($0_1<<2)+56096>>2]&$1_1)){break label$2}}else{$2_1=$3_1}return $2_1|0}$2_1=$2_1+4|0;continue}}function $1091($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;HEAP32[$0_1+148>>2]=0;$1_1=1;$2_1=HEAP32[$0_1+452>>2];$1_1=HEAP32[$0_1+340>>2]<=1?HEAP32[HEAP32[$0_1+344>>2]+(HEAP32[$0_1+332>>2]==1?76:12)>>2]:$1_1;HEAP32[$2_1+20>>2]=0;HEAP32[$2_1+24>>2]=0;HEAP32[$2_1+28>>2]=$1_1}function $766($0_1,$1_1,$2_1,$3_1){var $4_1=0;$4_1=global$0-16|0;global$0=$4_1;$3_1=$402($4_1,$0_1,$3_1);$4($0_1);$0_1=$2_1-$1_1|0;if(($0_1|0)>0){wasm2js_memory_copy(HEAP32[$3_1+4>>2],$1_1,$0_1);HEAP32[$3_1+4>>2]=$0_1+HEAP32[$3_1+4>>2]}$72($3_1);global$0=$4_1+16|0}function $543($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0;$6_1=global$0-16|0;global$0=$6_1;$5_1=$6_1+8|0;$30($5_1,$1_1);$207($106($5_1),55776,55808,$2_1);$1_1=$293($5_1);HEAP8[$3_1|0]=$149($1_1);HEAP8[$4_1|0]=$108($1_1);$107($0_1,$1_1);$19($5_1);global$0=$6_1+16|0}function $1203($0_1){$0_1=$0_1|0;var $1_1=0;$325(67468);if(HEAP32[16867]){$1_1=HEAP32[16867];$0_1=HEAP32[16868];while(1){if(($0_1|0)!=($1_1|0)){$4(67468);$0_1=$0_1-8|0;$168($0_1);continue}break}HEAP32[16868]=$1_1;$4(67468);$0_1=HEAP32[16867];$142(67468);$1($0_1)}}function $701($0_1){var $1_1=0,$2_1=0;if(HEAP32[$13($0_1)>>2]){$1_1=$0_1+8|0;$698($0_1,HEAP32[$1_1>>2]);HEAP32[$1_1>>2]=0;$2_1=$104($0_1);$1_1=0;while(1){if(($1_1|0)==($2_1|0)){HEAP32[$13($0_1)>>2]=0}else{HEAP32[$9($0_1,$1_1)>>2]=0;$1_1=$1_1+1|0;continue}break}}}function $1283($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+12>>2]=$4_1;HEAP32[$0_1+8>>2]=$3_1-$2_1;$1_1=$280($0_1+12|0,$0_1+8|0);global$0=$0_1+16|0;return HEAP32[$1_1>>2]}function $1181($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();$0_1=-1;if(!$31($1_1+8|0,$1_1)){$0_1=$12($32($1_1+12|0)+328|0)}global$0=$1_1+16|0;return $0_1|0}function $37($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0;label$1:{$3_1=$86($1_1);$2_1=$35($0_1);if($3_1>>>0<=$2_1>>>0){$2_1=$15($0_1);$154($2_1,$1_1,$3_1);$872($0_1,$2_1,$3_1);break label$1}$4_1=$0_1;$0_1=$6($0_1);$867($4_1,$2_1,$3_1-$2_1|0,$0_1,0,$0_1,$3_1,$1_1)}}function $1180($0_1,$1_1){$0_1=$0_1|0;$1_1=+$1_1;var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$0_1;HEAP32[$2_1+8>>2]=$26(67484,$2_1+12|0);HEAP32[$2_1>>2]=$23();if(!$31($2_1+8|0,$2_1)){HEAPF64[$32($2_1+12|0)+312>>3]=$1_1}global$0=$2_1+16|0}function $1178($0_1,$1_1){$0_1=$0_1|0;$1_1=+$1_1;var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$0_1;HEAP32[$2_1+8>>2]=$26(67484,$2_1+12|0);HEAP32[$2_1>>2]=$23();if(!$31($2_1+8|0,$2_1)){HEAPF64[$32($2_1+12|0)+320>>3]=$1_1}global$0=$2_1+16|0}function $786($0_1,$1_1,$2_1){var $3_1=0,$4_1=0;$3_1=global$0-32|0;global$0=$3_1;$4_1=$694($3_1,$9($0_1+56|0,0),HEAP32[$2_1>>2],HEAP32[$2_1+4>>2],HEAP32[$2_1+8>>2],HEAP32[$2_1+12>>2]);$319($0_1,$4_1,$2_1);$319($0_1,$1_1,$4_1);$375($4_1);global$0=$3_1+32|0}function $521($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){var $6_1=0,$7_1=0;$6_1=HEAP32[$0_1+4>>2];$7_1=$6_1>>8;if($6_1&1){$7_1=$524(HEAP32[$3_1>>2],$7_1)}$0_1=HEAP32[$0_1>>2];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+20>>2]]($0_1,$1_1,$2_1,$3_1+$7_1|0,$6_1&2?$4_1:2,$5_1)}function $420($0_1,$1_1){var $2_1=0,$3_1=0,$4_1=0,$5_1=0;$2_1=24;label$1:{while(1){$3_1=HEAPU8[$0_1|0];$4_1=HEAPU8[$1_1|0];if(($3_1|0)==($4_1|0)){$1_1=$1_1+1|0;$0_1=$0_1+1|0;$2_1=$2_1-1|0;if($2_1){continue}break label$1}break}$5_1=$3_1-$4_1|0}return $5_1}function $345($0_1,$1_1){HEAP32[$0_1+4>>2]=$1_1;HEAP8[$0_1|0]=0;if($428(HEAP32[HEAP32[$1_1>>2]-12>>2]+$1_1|0)){if(HEAP32[(HEAP32[HEAP32[$1_1>>2]-12>>2]+$1_1|0)+72>>2]){$347(HEAP32[(HEAP32[HEAP32[$1_1>>2]-12>>2]+$1_1|0)+72>>2])}HEAP8[$0_1|0]=1}return $0_1}function $408($0_1,$1_1){HEAP32[$0_1+20>>2]=0;HEAP32[$0_1+24>>2]=$1_1;HEAP32[$0_1+12>>2]=0;HEAP32[$0_1+4>>2]=4098;HEAP32[$0_1+8>>2]=6;HEAP32[$0_1+16>>2]=!$1_1;wasm2js_memory_fill($0_1+32|0,0,40);$895($0_1+28|0);HEAP32[$0_1+72>>2]=0;HEAP32[$0_1+76>>2]=-1}function $99($0_1,$1_1){var $2_1=0,$3_1=Math_fround(0),$4_1=Math_fround(0);$3_1=HEAPF32[$1_1>>2];$4_1=HEAPF32[$0_1>>2];$2_1=1;label$1:{if($3_1<$4_1){break label$1}$2_1=0;if($3_1>$4_1){break label$1}$2_1=HEAPU32[$1_1+4>>2]>2]}return $2_1}function $704($0_1,$1_1){var $2_1=0,$3_1=Math_fround(0),$4_1=Math_fround(0);$3_1=HEAPF32[$0_1>>2];$4_1=HEAPF32[$1_1>>2];$2_1=1;label$1:{if($3_1<$4_1){break label$1}$2_1=0;if($3_1>$4_1){break label$1}$2_1=HEAP32[$0_1+4>>2]>2]}return $2_1}function $366($0_1){var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;$2_1=-1;label$1:{if($367($0_1)){break label$1}if((FUNCTION_TABLE[HEAP32[$0_1+32>>2]]($0_1,$1_1+15|0,1)|0)!=1){break label$1}$2_1=HEAPU8[$1_1+15|0]}global$0=$1_1+16|0;return $2_1}function $1292($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;while(1){if(($1_1|0)!=($2_1|0)){$0_1=HEAP32[$1_1>>2];HEAP8[$4_1|0]=$0_1>>>0<128?$0_1:$3_1;$4_1=$4_1+1|0;$1_1=$1_1+4|0;continue}break}return $2_1|0}function $406($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0,$6_1=0;$5_1=HEAP32[$0_1+4>>2];$6_1=$5_1>>8;if($5_1&1){$6_1=$524(HEAP32[$2_1>>2],$6_1)}$0_1=HEAP32[$0_1>>2];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+24>>2]]($0_1,$1_1,$2_1+$6_1|0,$5_1&2?$3_1:2,$4_1)}function $1144($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0;$3_1=global$0-16|0;global$0=$3_1;$683($3_1,$2_1);HEAP32[$3_1+12>>2]=FUNCTION_TABLE[$0_1|0]($1_1,$3_1);$0_1=HEAP32[$3_1+12>>2];$8($3_1);global$0=$3_1+16|0;return $0_1|0}function $485($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;HEAP32[$0_1>>2]=26564;$79($0_1+56|0);$79($0_1+44|0);$1_1=$0_1+32|0;$788($1_1);if(HEAP32[$1_1>>2]){$783($1_1,HEAP32[$1_1>>2]);$4($1_1);$2_1=HEAP32[$1_1>>2];$228($1_1);$1($2_1)}return $484($0_1)|0}function $1284($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;while(1){if(($1_1|0)!=($2_1|0)){$0_1=HEAP8[$1_1|0];HEAP8[$4_1|0]=($0_1|0)<0?$3_1:$0_1;$4_1=$4_1+1|0;$1_1=$1_1+1|0;continue}break}return $2_1|0}function $191($0_1,$1_1){label$1:{if($0_1&3|(!$0_1|($1_1|0)<0)){break label$1}if(!$1_1){return}if((Atomics.compareExchange(HEAP32,0+67932>>2,$0_1,0)|0)==($0_1|0)){if($1_1>>>0<2){break label$1}$1_1=$1_1-1|0}Atomics.notify(HEAP32,$0_1>>2,$1_1)}}function $130($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0;$5_1=global$0-16|0;global$0=$5_1;HEAP32[$5_1+12>>2]=$2_1;HEAP32[$5_1+8>>2]=$4_1;$2_1=$161($5_1,$5_1+12|0);$0_1=$214($0_1,$1_1,$3_1,HEAP32[$5_1+8>>2]);$160($2_1);global$0=$5_1+16|0;return $0_1}function $1050($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;HEAP8[HEAP32[$3_1>>2]+$4_1|0]=HEAPU8[(HEAP32[$0_1+336>>2]+(Math_imul(HEAP32[HEAP32[$1_1+84>>2]>>2],HEAPU16[$2_1>>1])+4100>>>3&1023)|0)-384|0]}function $1366($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0;$0_1=0;while(1){if(($1_1|0)!=($2_1|0)){$0_1=HEAP32[$1_1>>2]+($0_1<<4)|0;$3_1=$0_1&-268435456;$0_1=($3_1|$3_1>>>24)^$0_1;$1_1=$1_1+4|0;continue}break}return $0_1|0}function $695($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;label$1:{switch($0_1-1|0){default:fimport$5($318(fimport$6(16)|0,$135($1_1,11692))|0,26592,17);abort();case 1:$0_1=4;break;case 0:break label$1}}global$0=$1_1+16|0;return $0_1}function $1369($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0;$0_1=0;while(1){if(($1_1|0)!=($2_1|0)){$0_1=HEAP8[$1_1|0]+($0_1<<4)|0;$3_1=$0_1&-268435456;$0_1=($3_1|$3_1>>>24)^$0_1;$1_1=$1_1+1|0;continue}break}return $0_1|0}function $894($0_1){$0_1=$0_1|0;var $1_1=0,$2_1=0;$1_1=HEAP32[HEAP32[$0_1>>2]>>2];$2_1=HEAP32[$1_1+8>>2];$0_1=HEAP32[$1_1+4>>2];$1_1=HEAP32[$1_1>>2]+($2_1>>1)|0;if($2_1&1){$0_1=HEAP32[$0_1+HEAP32[$1_1>>2]>>2]}FUNCTION_TABLE[$0_1|0]($1_1)}function $356($0_1,$1_1){var $2_1=0,$3_1=0;label$1:{if($1_1>>>0<=31){$3_1=HEAP32[$0_1+4>>2];$2_1=$0_1;break label$1}$1_1=$1_1-32|0;$2_1=$0_1+4|0}$2_1=HEAP32[$2_1>>2];HEAP32[$0_1+4>>2]=$3_1>>>$1_1;HEAP32[$0_1>>2]=$3_1<<32-$1_1|$2_1>>>$1_1}function $745($0_1,$1_1){var $2_1=0;if($1_1){$0_1=$1_1+36|0;$744($0_1+84|0);$79($0_1+72|0);$2_1=$0_1+12|0;$79($2_1+48|0);$79($2_1+36|0);$79($2_1+24|0);$79($2_1+12|0);$743($0_1+8|0,0);$0_1=$1_1+8|0;$427($0_1+16|0);$567($0_1+4|0)}$1($1_1)}function $466($0_1){var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;$2_1=global$0-16|0;global$0=$2_1;$0_1=HEAP32[$80($2_1+8|0,HEAP32[$0_1+8>>2])>>2];global$0=$2_1+16|0;$0_1=HEAP32[$80($1_1+8|0,$0_1)>>2];global$0=$1_1+16|0;return $0_1}function $1231($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;if($121($0_1,HEAP32[$1_1+8>>2],0)){$525($1_1,$2_1,$3_1);return}$0_1=HEAP32[$0_1+8>>2];FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+28>>2]]($0_1,$1_1,$2_1,$3_1)}function $354($0_1,$1_1){var $2_1=0,$3_1=0;label$1:{if($1_1>>>0<=31){$3_1=HEAP32[$0_1>>2];$2_1=$0_1+4|0;break label$1}$1_1=$1_1-32|0;$2_1=$0_1}$2_1=HEAP32[$2_1>>2];HEAP32[$0_1>>2]=$3_1<<$1_1;HEAP32[$0_1+4>>2]=$2_1<<$1_1|$3_1>>>32-$1_1}function $261($0_1,$1_1,$2_1){var $3_1=0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=$1_1;$0_1=$116($0_1,$3_1+12|0);$1_1=HEAP32[$2_1+4>>2];HEAP32[$0_1+4>>2]=HEAP32[$2_1>>2];HEAP32[$0_1+8>>2]=$1_1;global$0=$3_1+16|0;return $0_1}function $506($0_1,$1_1){var $2_1=0;$557($0_1);$2_1=$1_1+4|0;$279($4($0_1),HEAP32[$0_1>>2],HEAP32[$0_1+4>>2],$2_1);$28($0_1,$2_1);$28($0_1+4|0,$1_1+8|0);$28($4($0_1),$13($1_1));HEAP32[$1_1>>2]=HEAP32[$1_1+4>>2];$831($0_1,$100($0_1))}function $324($0_1,$1_1){var $2_1=0;$331($0_1);$2_1=$1_1+4|0;$279($4($0_1),HEAP32[$0_1>>2],HEAP32[$0_1+4>>2],$2_1);$28($0_1,$2_1);$28($0_1+4|0,$1_1+8|0);$28($4($0_1),$13($1_1));HEAP32[$1_1>>2]=HEAP32[$1_1+4>>2];$273($0_1,$21($0_1))}function $321($0_1,$1_1){var $2_1=0;$325($0_1);$2_1=$1_1+4|0;$279($4($0_1),HEAP32[$0_1>>2],HEAP32[$0_1+4>>2],$2_1);$28($0_1,$2_1);$28($0_1+4|0,$1_1+8|0);$28($4($0_1),$13($1_1));HEAP32[$1_1>>2]=HEAP32[$1_1+4>>2];$389($0_1,$12($0_1))}function $607($0_1){var $1_1=0;label$1:{if(HEAP32[$0_1+76>>2]>=0){$1_1=$125($0_1);$365($0_1,0,0,0);HEAP32[$0_1>>2]=HEAP32[$0_1>>2]&-33;if(!$1_1){break label$1}$114($0_1);return}$365($0_1,0,0,0);HEAP32[$0_1>>2]=HEAP32[$0_1>>2]&-33}}function $1146($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;var $4_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=FUNCTION_TABLE[$0_1|0]($1_1,$2_1,$3_1);global$0=$4_1+16|0;return HEAP32[$4_1+12>>2]}function $403($0_1,$1_1,$2_1){$0_1=HEAP32[$2_1+4>>2];HEAP32[$1_1>>2]=HEAP32[$2_1>>2];HEAP32[$1_1+4>>2]=$0_1;HEAP32[$1_1+16>>2]=HEAP32[$2_1+16>>2];$0_1=HEAP32[$2_1+12>>2];HEAP32[$1_1+8>>2]=HEAP32[$2_1+8>>2];HEAP32[$1_1+12>>2]=$0_1}function $939($0_1,$1_1,$2_1){var $3_1=0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=$1_1;HEAP32[$3_1+8>>2]=$2_1;$1_1=$161($3_1,$3_1+12|0);$0_1=$590($0_1,30670,HEAP32[$3_1+8>>2]);$160($1_1);global$0=$3_1+16|0;return $0_1}function $1192($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;HEAP32[$1_1+8>>2]=$26(67484,$1_1+12|0);HEAP32[$1_1>>2]=$23();if(!$31($1_1+8|0,$1_1)){$32($1_1+12|0)}global$0=$1_1+16|0;return-1}function $846($0_1,$1_1,$2_1){var $3_1=0;while(1){if(($0_1|0)!=($1_1|0)){$3_1=HEAP32[$0_1>>2];if($3_1>>>0<=127){$3_1=HEAP32[HEAP32[$2_1>>2]+(HEAP32[$0_1>>2]<<2)>>2]}HEAP32[$0_1>>2]=$3_1;$0_1=$0_1+4|0;continue}break}return $1_1}function $627($0_1){var $1_1=0,$2_1=0;$2_1=$0_1>>>23&255;$1_1=0;label$1:{if($2_1>>>0<127){break label$1}$1_1=2;if($2_1>>>0>150){break label$1}$2_1=1<<150-$2_1;$1_1=0;if($2_1-1&$0_1){break label$1}$1_1=$0_1&$2_1?1:2}return $1_1}function $168($0_1){var $1_1=0;$0_1=HEAP32[$0_1+4>>2];if($0_1){if($315($0_1)){label$3:{$1_1=$0_1+8|0;if(Atomics.load(HEAP32,$1_1>>2)){if(($467($1_1)|0)!=-1){break label$3}}FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+16>>2]]($0_1)}}}}function $1142($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;$683($2_1,$1_1);HEAP32[$2_1+12>>2]=FUNCTION_TABLE[$0_1|0]($2_1);$0_1=HEAP32[$2_1+12>>2];$8($2_1);global$0=$2_1+16|0;return $0_1|0}function $733($0_1,$1_1){var $2_1=0,$3_1=0;label$1:{if(($1_1|0)<=0){break label$1}HEAP32[$0_1>>2]=0;$2_1=1;while(1){if(($1_1|0)==($2_1|0)){break label$1}$3_1=$3_1+1|0;HEAP32[($2_1<<2)+$0_1>>2]=$3_1;$2_1=$2_1+1|0;continue}}}function $928($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+8>>2]+4>>2]]($0_1+8|0)|0;$0_1=$419($2_1,$3_1,$0_1,$0_1+288|0,$5_1,$4_1,0)-$0_1|0;if(($0_1|0)<=287){HEAP32[$1_1>>2]=(($0_1|0)/12|0)%12}}function $924($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+8>>2]+4>>2]]($0_1+8|0)|0;$0_1=$417($2_1,$3_1,$0_1,$0_1+288|0,$5_1,$4_1,0)-$0_1|0;if(($0_1|0)<=287){HEAP32[$1_1>>2]=(($0_1|0)/12|0)%12}}function $845($0_1,$1_1,$2_1){var $3_1=0;while(1){if(($0_1|0)!=($1_1|0)){$3_1=HEAP8[$0_1|0];if(($3_1|0)>=0){$3_1=HEAP32[HEAP32[$2_1>>2]+(HEAP8[$0_1|0]<<2)>>2]}HEAP8[$0_1|0]=$3_1;$0_1=$0_1+1|0;continue}break}return $1_1}function $711($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+8>>2]=$0_1;$0_1=global$0-16|0;global$0=$0_1;HEAP32[$0_1+8>>2]=HEAP32[$1_1+8>>2];global$0=$0_1+16|0;global$0=$1_1+16|0;return HEAP32[$0_1+8>>2]}function $1004(){var $0_1=0,$1_1=0,$2_1=0;$0_1=global$1;$2_1=global$3;$1_1=HEAP32[$2_1+108>>2];if($1_1){HEAP32[$2_1+108>>2]=0;$972($1_1);return $1_1|0}if($0_1?global$2:1){global$2=1;$0_1=$7(16)}$972($0_1);return $0_1|0}function $162($0_1,$1_1){var $2_1=0;$2_1=HEAP32[$0_1>>2];$0_1=$49($1_1);$1_1=$2_1+8|0;if($21($1_1)>>>0>$0_1>>>0){$1_1=HEAP32[$9($1_1,$0_1)>>2]!=0}else{$1_1=0}if(!$1_1){$55();abort()}return HEAP32[$9($2_1+8|0,$0_1)>>2]}function $844($0_1,$1_1,$2_1){var $3_1=0;$3_1=$7(12);if($3_1){$2_1=$7(Math_imul($0_1,$1_1)<<$2_1);HEAP32[$3_1>>2]=$2_1;if(!$2_1){$1($3_1);return 0}HEAP32[$3_1+8>>2]=$1_1;HEAP32[$3_1+4>>2]=$0_1}else{$3_1=0}return $3_1}function $519($0_1,$1_1){var $2_1=0;$2_1=HEAP32[$0_1+4>>2];while(1){if(($2_1|0)!=HEAP32[$0_1+8>>2]){HEAP32[$0_1+8>>2]=HEAP32[$0_1+8>>2]-$1_1;continue}break}if(HEAP32[$0_1>>2]){$1_1=HEAP32[$0_1>>2];$13($0_1);$1($1_1)}}function $929($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+8>>2]>>2]]($0_1+8|0)|0;$0_1=$419($2_1,$3_1,$0_1,$0_1+168|0,$5_1,$4_1,0)-$0_1|0;if(($0_1|0)<=167){HEAP32[$1_1>>2]=(($0_1|0)/12|0)%7}}function $925($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=FUNCTION_TABLE[HEAP32[HEAP32[$0_1+8>>2]>>2]]($0_1+8|0)|0;$0_1=$417($2_1,$3_1,$0_1,$0_1+168|0,$5_1,$4_1,0)-$0_1|0;if(($0_1|0)<=167){HEAP32[$1_1>>2]=(($0_1|0)/12|0)%7}}function $48($0_1){var $1_1=0;$0_1=$0_1?$0_1:1;label$1:{while(1){$1_1=$7($0_1);if($1_1){break label$1}$1_1=Atomics.load(HEAP32,18798);if($1_1){FUNCTION_TABLE[$1_1|0]();continue}break}fimport$0();abort()}return $1_1}function $156($0_1){var $1_1=0,$2_1=0;$1_1=$0_1*$0_1;$2_1=$1_1*$0_1;return Math_fround($2_1*($1_1*$1_1)*($1_1*2718311493989822e-21+-.00019839334836096632)+($2_1*($1_1*.008333329385889463+-.16666666641626524)+$0_1))}function $985($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=$1_1;$1_1=HEAP32[$1_1>>2]+7&-8;HEAP32[$2_1>>2]=$1_1+16;HEAPF64[$0_1>>3]=$433(HEAP32[$1_1>>2],HEAP32[$1_1+4>>2],HEAP32[$1_1+8>>2],HEAP32[$1_1+12>>2])}function $889($0_1,$1_1,$2_1,$3_1,$4_1){var $5_1=0;$5_1=global$0-16|0;global$0=$5_1;HEAP32[$5_1+12>>2]=$4_1;$4_1=$161($5_1+8|0,$5_1+12|0);$0_1=$352($0_1,$1_1,$2_1,$3_1);$160($4_1);global$0=$5_1+16|0;return $0_1}function $742($0_1){var $1_1=0,$2_1=0,$3_1=0;$1_1=$0_1+104|0;while(1){if($21($1_1)>>>0>$2_1>>>0){$3_1=HEAP32[$9($1_1,$2_1)>>2];if($3_1){$742($3_1)}$1($3_1);$2_1=$2_1+1|0;continue}break}$79($0_1+116|0);$79($1_1)}function $888($0_1){var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=$0_1;$0_1=$161($1_1+8|0,$1_1+12|0);$2_1=HEAP32[HEAP32[global$3+88>>2]>>2];$160($0_1);global$0=$1_1+16|0;return $2_1?4:1}function $320($0_1){var $1_1=0;$1_1=HEAP32[$0_1+4>>2];while(1){if(($1_1|0)!=HEAP32[$0_1+8>>2]){HEAP32[$0_1+8>>2]=HEAP32[$0_1+8>>2]-8;continue}break}if(HEAP32[$0_1>>2]){$1_1=HEAP32[$0_1>>2];$508($0_1);$1($1_1)}}function $276($0_1){var $1_1=0;$1_1=HEAP32[$0_1+4>>2];while(1){if(($1_1|0)!=HEAP32[$0_1+8>>2]){HEAP32[$0_1+8>>2]=HEAP32[$0_1+8>>2]-4;continue}break}if(HEAP32[$0_1>>2]){$1_1=HEAP32[$0_1>>2];$805($0_1);$1($1_1)}}function $1143($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;var $3_1=0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=FUNCTION_TABLE[$0_1|0]($1_1,$2_1);global$0=$3_1+16|0;return HEAP32[$3_1+12>>2]}function $1118($0_1){$0_1=$0_1|0;HEAP32[$0_1+216>>2]=0;HEAP32[$0_1+440>>2]=0;HEAP32[$0_1+144>>2]=0;$0_1=HEAP32[$0_1+464>>2];HEAP32[$0_1+164>>2]=0;HEAP32[$0_1+24>>2]=0;HEAP32[$0_1+12>>2]=0;HEAP32[$0_1+16>>2]=0}function $876($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;label$1:{if(!(HEAPU8[$0_1+120|0]|$1_1>>>0>30)){HEAP8[$0_1+120|0]=1;break label$1}$0_1=$274($2_1+8|0,$1_1)}global$0=$2_1+16|0;return $0_1}function $27($0_1,$1_1){if(HEAPU32[$0_1+8>>2]<=$1_1>>>0){$3($0($0($2($0($0($0(71248,25540),25577),3305),124),3802),25666));fimport$0();abort()}return HEAP32[$0_1+24>>2]+Math_imul(HEAP32[$0_1+12>>2],$1_1)|0}function $979($0_1){$0_1=$0_1|0;var $1_1=0;if((FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+36>>2]]($0_1)|0)==-1){return-1}$1_1=$0_1;$0_1=HEAP32[$0_1+12>>2];HEAP32[$1_1+12>>2]=$0_1+1;return $153(HEAP8[$0_1|0])|0}function $877($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;$45($0_1);HEAP32[$1_1+12>>2]=1073741823;HEAP32[$1_1+8>>2]=2147483647;$0_1=HEAP32[$280($1_1+12|0,$1_1+8|0)>>2];global$0=$1_1+16|0;return $0_1}function $760($0_1,$1_1){var $2_1=0;if($839($0_1)>>>0<$1_1>>>0){$281();abort()}$2_1=$514($4($0_1),$1_1);HEAP32[$0_1>>2]=$2_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$4($0_1)>>2]=Math_imul($1_1,20)+$2_1;$838($0_1,0)}function $680($0_1){var $1_1=0;$1_1=HEAP32[$0_1+4>>2];if($1_1){FUNCTION_TABLE[HEAP32[$1_1+36>>2]]($0_1,1);if(HEAP32[$0_1+16>>2]){HEAP32[$0_1+312>>2]=0;HEAP32[$0_1+20>>2]=200;return}HEAP32[$0_1+20>>2]=100}}function $326($0_1,$1_1){var $2_1=0,$3_1=0;$3_1=global$0-16|0;global$0=$3_1;$2_1=$795($3_1,$0_1,1);$272($4($0_1),HEAP32[$2_1+4>>2],$1_1);HEAP32[$2_1+4>>2]=HEAP32[$2_1+4>>2]+8;$72($2_1);global$0=$3_1+16|0}function $282($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;$4($0_1);HEAP32[$2_1+12>>2]=$1_1;HEAP32[$2_1+8>>2]=2147483647;$0_1=HEAP32[$280($2_1+12|0,$2_1+8|0)>>2];global$0=$2_1+16|0;return $0_1}function $1385($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;$1_1=$422($1_1);HEAP32[$0_1+36>>2]=$1_1;HEAP32[$0_1+44>>2]=$296($1_1);HEAP8[$0_1+53|0]=$241(HEAP32[$0_1+36>>2]);if(HEAP32[$0_1+44>>2]>=9){$55();abort()}}function $1378($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;$1_1=$545($1_1);HEAP32[$0_1+36>>2]=$1_1;HEAP32[$0_1+44>>2]=$296($1_1);HEAP8[$0_1+53|0]=$241(HEAP32[$0_1+36>>2]);if(HEAP32[$0_1+44>>2]>=9){$55();abort()}}function $1294($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;while(1){if(($1_1|0)!=($2_1|0)){HEAP32[$3_1>>2]=HEAP8[$1_1|0];$3_1=$3_1+4|0;$1_1=$1_1+1|0;continue}break}return $2_1|0}function $891($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;$7_1=$7_1|0;HEAP32[$4_1>>2]=$2_1;HEAP32[$7_1>>2]=$5_1;return 3}function $562($0_1){var $1_1=0;$1_1=HEAP32[$0_1+12>>2];if(($1_1|0)==HEAP32[$0_1+16>>2]){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+40>>2]]($0_1)|0}HEAP32[$0_1+12>>2]=$1_1+1;return $153(HEAP8[$1_1|0])}function $476($0_1){var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;$2_1=$1_1+8|0;$479($2_1,HEAP32[HEAP32[$0_1>>2]>>2]- -64|0);$0_1=$45($4(HEAP32[$2_1>>2]));$168($2_1);global$0=$1_1+16|0;return $0_1}function $1286($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;while(1){if(($1_1|0)!=($2_1|0)){HEAP8[$3_1|0]=HEAPU8[$1_1|0];$3_1=$3_1+1|0;$1_1=$1_1+1|0;continue}break}return $2_1|0}function $364($0_1,$1_1,$2_1){var $3_1=0,$4_1=0;label$1:{$3_1=$1_1>>31;if(HEAP32[$0_1+76>>2]<0){$365($0_1,$1_1,$3_1,$2_1);break label$1}$4_1=$125($0_1);$365($0_1,$1_1,$3_1,$2_1);if($4_1){$114($0_1)}}}function $18($0_1){var $1_1=0,$2_1=0;$1_1=global$0-16|0;global$0=$1_1;$2_1=$0_1;$0_1=0;while(1){if(($0_1|0)!=3){HEAP32[($0_1<<2)+$2_1>>2]=0;$0_1=$0_1+1|0;continue}break}global$0=$1_1+16|0;return $2_1}function $975($0_1){$0_1=$0_1|0;var $1_1=0;if((FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+36>>2]]($0_1)|0)==-1){return-1}$1_1=$0_1;$0_1=HEAP32[$0_1+12>>2];HEAP32[$1_1+12>>2]=$0_1+4;return HEAP32[$0_1>>2]}function $851($0_1,$1_1){HEAP32[$0_1>>2]=$1_1;$895($0_1+4|0);HEAP32[$0_1+24>>2]=0;HEAP32[$0_1+28>>2]=0;HEAP32[$0_1+16>>2]=0;HEAP32[$0_1+20>>2]=0;HEAP32[$0_1+8>>2]=0;HEAP32[$0_1+12>>2]=0;return $0_1}function $555($0_1){var $1_1=0;$1_1=HEAP32[$0_1+12>>2];if(($1_1|0)==HEAP32[$0_1+16>>2]){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+40>>2]]($0_1)|0}HEAP32[$0_1+12>>2]=$1_1+4;return HEAP32[$1_1>>2]}function $336($0_1,$1_1,$2_1){var $3_1=0,$4_1=0;$3_1=global$0-16|0;global$0=$3_1;$4_1=$3_1+8|0;$30($4_1,$1_1);$1_1=$291($4_1);HEAP32[$2_1>>2]=$108($1_1);$107($0_1,$1_1);$19($4_1);global$0=$3_1+16|0}function $1215($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$0_1=FUNCTION_TABLE[$0_1|0]($1_1,$2_1,$3_1,$4_1)|0;global$6=i64toi32_i32$HIGH_BITS;return $0_1|0}function $1213($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;return FUNCTION_TABLE[$0_1|0]($1_1,$2_1,$3_1,$4_1,$5_1,$6_1)|0}function $338($0_1,$1_1,$2_1){var $3_1=0,$4_1=0;$3_1=global$0-16|0;global$0=$3_1;$4_1=$3_1+8|0;$30($4_1,$1_1);$1_1=$293($4_1);HEAP8[$2_1|0]=$108($1_1);$107($0_1,$1_1);$19($4_1);global$0=$3_1+16|0}function $596($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1,$8_1){HEAP32[$0_1>>2]=$1_1;HEAP32[$0_1+4>>2]=$2_1;HEAP32[$0_1+8>>2]=$3_1;HEAP32[$0_1+12>>2]=$4_1&65535|($8_1>>>16&32768|$4_1>>>16&32767)<<16}function $376($0_1,$1_1){return Math_fround(Math_fround(Math_abs(Math_fround(Math_fround(HEAPF32[$0_1>>2]*HEAPF32[$1_1+4>>2])-Math_fround(HEAPF32[$1_1>>2]*HEAPF32[$0_1+4>>2]))))*Math_fround(.5))}function $196($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+8>>2]=HEAP32[$0_1>>2];HEAP32[$2_1+8>>2]=HEAP32[$2_1+8>>2]+($1_1<<3);global$0=$2_1+16|0;return HEAP32[$2_1+8>>2]}function $157($0_1){var $1_1=0;$0_1=$0_1*$0_1;$1_1=$0_1*$0_1;return Math_fround($0_1*$1_1*($0_1*2439044879627741e-20+-.001388676377460993)+($1_1*.04166662332373906+($0_1*-.499999997251031+1)))}function $534($0_1,$1_1,$2_1){var $3_1=0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=$2_1;$2_1=$161($3_1+8|0,$3_1+12|0);$0_1=$435($0_1,$1_1);$160($2_1);global$0=$3_1+16|0;return $0_1}function $1214($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$6_1=$6_1|0;FUNCTION_TABLE[$0_1|0]($1_1,$2_1,$3_1,$4_1,$5_1,$6_1)}function $912($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+8>>2]=HEAP32[$0_1>>2];HEAP32[$2_1+8>>2]=HEAP32[$2_1+8>>2]+$1_1;global$0=$2_1+16|0;return HEAP32[$2_1+8>>2]}function $537($0_1,$1_1,$2_1){$2_1=HEAP32[$2_1>>2];while(1){label$2:{if(($0_1|0)!=($1_1|0)){if(($2_1|0)!=HEAP32[$0_1>>2]){break label$2}}else{$0_1=$1_1}return $0_1}$0_1=$0_1+4|0;continue}}function $1145($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=FUNCTION_TABLE[$0_1|0]($1_1);global$0=$2_1+16|0;return HEAP32[$2_1+12>>2]}function $1138($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAPF64[$2_1+8>>3]=FUNCTION_TABLE[$0_1|0]($1_1);global$0=$2_1+16|0;return+HEAPF64[$2_1+8>>3]}function $1082($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=HEAP32[$0_1+444>>2];if(HEAP32[$0_1+84>>2]){FUNCTION_TABLE[HEAP32[HEAP32[$0_1+484>>2]+8>>2]]($0_1)}HEAP32[$1_1+12>>2]=HEAP32[$1_1+12>>2]+1}function $541($0_1,$1_1,$2_1){$2_1=HEAPU8[$2_1|0];while(1){label$2:{if(($0_1|0)!=($1_1|0)){if(($2_1|0)!=HEAPU8[$0_1|0]){break label$2}}else{$0_1=$1_1}return $0_1}$0_1=$0_1+1|0;continue}}function $879($0_1){var $1_1=0;label$1:{if(!$144(-1,HEAP32[$0_1+76>>2])){$0_1=HEAP32[$0_1+76>>2];break label$1}$1_1=$0_1;$0_1=$852($0_1,32);HEAP32[$1_1+76>>2]=$0_1}return $0_1<<24>>24}function $1224($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;if($121($0_1,HEAP32[$1_1+8>>2],$5_1)){$523($1_1,$2_1,$3_1,$4_1)}}function $861($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$0_1>>2]=$1_1;if($70(75120)){HEAP32[$2_1>>2]=HEAP32[$0_1>>2];$55();abort()}global$0=$2_1+16|0;return $0_1}function $65($0_1,$1_1){$0_1=$0_1^$1_1;$0_1=$0_1-($0_1>>>1&1431655765)|0;$0_1=($0_1>>>2&858993459)+($0_1&858993459)|0;return Math_imul(($0_1>>>4|0)+$0_1&252645135,16843009)>>>24|0}function $337($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;$3_1=$2_1+8|0;$30($3_1,$0_1);$185($101($3_1),55776,55802,$1_1);$19($3_1);global$0=$2_1+16|0;return $1_1}function $992($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=Math_fround(0);$2_1=Math_fround(HEAPF32[$0_1>>2]-HEAPF32[$1_1>>2]);return($2_1Math_fround(0))|0}function $1100($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=HEAP32[$0_1+464>>2];$0_1=HEAP32[$0_1+468>>2];HEAP32[$1_1+24>>2]=HEAP32[$1_1+24>>2]+(HEAP32[$0_1+16>>2]/8|0);HEAP32[$0_1+16>>2]=0}function $620($0_1,$1_1,$2_1){var $3_1=0;$3_1=global$0-16|0;global$0=$3_1;$251(1,$3_1+12|0);$0_1=$443($0_1,$1_1,$2_1);$251(HEAP32[$3_1+12>>2],0);global$0=$3_1+16|0;return $0_1}function $62($0_1,$1_1,$2_1){var $3_1=0;if($2_1){$3_1=$0_1;while(1){HEAP8[$3_1|0]=HEAPU8[$1_1|0];$3_1=$3_1+1|0;$1_1=$1_1+1|0;$2_1=$2_1-1|0;if($2_1){continue}break}}return $0_1}function $563($0_1){var $1_1=0;$1_1=HEAP32[$0_1+12>>2];if(($1_1|0)==HEAP32[$0_1+16>>2]){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+36>>2]]($0_1)|0}return $153(HEAP8[$1_1|0])}function $927($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){HEAP8[$0_1+16|0]=$5_1;HEAPF32[$0_1+12>>2]=$4_1;HEAPF32[$0_1+8>>2]=$3_1;HEAPF32[$0_1+4>>2]=$2_1;HEAPF32[$0_1>>2]=$1_1;return $0_1}function $926($0_1,$1_1,$2_1,$3_1,$4_1){$1_1=$173($1_1,$2_1,$3_1,$4_1,4);if(!(HEAPU8[$3_1|0]&4)){HEAP32[$0_1>>2]=(($1_1|0)<69?$1_1+2e3|0:($1_1|0)<100?$1_1+1900|0:$1_1)-1900}}function $923($0_1,$1_1,$2_1,$3_1,$4_1){$1_1=$172($1_1,$2_1,$3_1,$4_1,4);if(!(HEAPU8[$3_1|0]&4)){HEAP32[$0_1>>2]=(($1_1|0)<69?$1_1+2e3|0:($1_1|0)<100?$1_1+1900|0:$1_1)-1900}}function $54($0_1,$1_1,$2_1){var $3_1=0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=$1_1;$0_1=$116($0_1,$3_1+12|0);$116($0_1+4|0,$2_1);global$0=$3_1+16|0;return $0_1}function $1195($0_1){$0_1=$0_1|0;var $1_1=0;$0_1=HEAP32[16873];$4(67484);while(1){if($0_1){$1_1=HEAP32[$0_1>>2];$682($0_1+8|0);$1($0_1);$0_1=$1_1;continue}break}$266(67484)}function $852($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;$3_1=$2_1+8|0;$30($3_1,$0_1);$0_1=$83($106($3_1),$1_1);$19($3_1);global$0=$2_1+16|0;return $0_1}function $556($0_1){var $1_1=0;$1_1=HEAP32[$0_1+12>>2];if(($1_1|0)==HEAP32[$0_1+16>>2]){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+36>>2]]($0_1)|0}return HEAP32[$1_1>>2]}function $237($0_1,$1_1){label$1:{if(($0_1|0)==($1_1|0)){break label$1}while(1){$1_1=$1_1-1|0;if($1_1>>>0<=$0_1>>>0){break label$1}$921($0_1,$1_1);$0_1=$0_1+1|0;continue}}}function $1381($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+24>>2]]($0_1)|0;$1_1=$422($1_1);HEAP32[$0_1+36>>2]=$1_1;HEAP8[$0_1+44|0]=$241($1_1)}function $1374($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+24>>2]]($0_1)|0;$1_1=$545($1_1);HEAP32[$0_1+36>>2]=$1_1;HEAP8[$0_1+44|0]=$241($1_1)}function $670($0_1){var $1_1=0,$2_1=0;$1_1=$0_1+16|0;$70($1_1);$2_1=$0_1+88|0;while(1){if(!HEAP32[$0_1+8>>2]){$358($2_1,$1_1);continue}break}HEAP32[$0_1+8>>2]=0;$77($1_1)}function $464($0_1){var $1_1=0,$2_1=0;$1_1=$7(8);if($1_1){$2_1=$7($0_1<<3);HEAP32[$1_1>>2]=$2_1;if(!$2_1){$1($1_1);return 0}HEAP32[$1_1+4>>2]=$0_1}else{$1_1=0}return $1_1}function $412($0_1,$1_1){label$1:{if(($0_1|0)==($1_1|0)){break label$1}while(1){$1_1=$1_1-4|0;if($1_1>>>0<=$0_1>>>0){break label$1}$28($0_1,$1_1);$0_1=$0_1+4|0;continue}}}function $714($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1>>2]=$1_1;HEAP32[$2_1+8>>2]=$0_1;$0_1=$456($2_1,$2_1+8|0);global$0=$2_1+16|0;return $0_1}function $38($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$0_1>>2]=0;HEAP32[$0_1+4>>2]=0;HEAP32[$1_1+12>>2]=0;$242($0_1+8|0);global$0=$1_1+16|0;return $0_1}function $906($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+8>>2]=HEAP32[$0_1>>2];$712($2_1+8|0,$1_1);global$0=$2_1+16|0;return HEAP32[$2_1+8>>2]}function $1140($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;HEAP32[$1_1+12>>2]=FUNCTION_TABLE[$0_1|0]();global$0=$1_1+16|0;return HEAP32[$1_1+12>>2]}function $437($0_1,$1_1,$2_1,$3_1){var $4_1=0;$4_1=global$0-16|0;global$0=$4_1;HEAP32[$4_1+12>>2]=$3_1;$0_1=$214($0_1,$1_1,$2_1,$3_1);global$0=$4_1+16|0;return $0_1}function $121($0_1,$1_1,$2_1){if(!$2_1){return HEAP32[$0_1+4>>2]==HEAP32[$1_1+4>>2]}if(($0_1|0)==($1_1|0)){return 1}return!$248(HEAP32[$0_1+4>>2],HEAP32[$1_1+4>>2])}function $817($0_1,$1_1){var $2_1=0;$2_1=HEAP32[$0_1+4>>2];while(1){if(($1_1|0)!=($2_1|0)){$4($0_1);$2_1=$2_1-32|0;$375($2_1);continue}break}HEAP32[$0_1+4>>2]=$1_1}function $813($0_1,$1_1){var $2_1=0;$2_1=HEAP32[$0_1+4>>2];while(1){if(($1_1|0)!=($2_1|0)){$4($0_1);$2_1=$2_1-12|0;$812($2_1);continue}break}HEAP32[$0_1+4>>2]=$1_1}function $811($0_1,$1_1){var $2_1=0;$2_1=HEAP32[$0_1+4>>2];while(1){if(($1_1|0)!=($2_1|0)){$4($0_1);$2_1=$2_1-12|0;$810($2_1);continue}break}HEAP32[$0_1+4>>2]=$1_1}function $392($0_1,$1_1,$2_1){var $3_1=0;HEAP32[$0_1>>2]=HEAP32[$1_1>>2];$3_1=HEAP32[$1_1>>2];HEAP32[$0_1+8>>2]=$1_1;HEAP32[$0_1+4>>2]=($2_1<<2)+$3_1;return $0_1}function $305($0_1,$1_1){var $2_1=0,$3_1=0;while(1){$2_1=$641($0_1,$1_1);if($2_1){$3_1=HEAPU8[$0_1|0];if(($3_1|0)==10|($3_1|0)==35){continue}}break}return $2_1}function $235($0_1,$1_1,$2_1){var $3_1=0;$3_1=HEAP32[$0_1+4>>2];while(1){if(($1_1|0)!=($3_1|0)){$4($0_1);$3_1=$3_1-$2_1|0;continue}break}HEAP32[$0_1+4>>2]=$1_1}function $1345($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;return $849($1_1,$2_1,$3_1,$4_1,$5_1,1)|0}function $1343($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;return $849($1_1,$2_1,$3_1,$4_1,$5_1,0)|0}function $1336($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;return $847($1_1,$2_1,$3_1,$4_1,$5_1,1)|0}function $1334($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;return $847($1_1,$2_1,$3_1,$4_1,$5_1,0)|0}function $1116($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$370(HEAP32[$1_1>>2],$2_1,$3_1,0,$4_1,HEAP32[$0_1+112>>2])}function $1083($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1+456>>2]+4>>2]]($0_1,0,0,0,$1_1,$2_1,$3_1)}function $328($0_1,$1_1){var $2_1=Math_fround(0);label$1:{if($0_1$1_1)){break label$1}$2_1=$1_1}return $2_1}function $953($0_1){var $1_1=0,$2_1=0;$1_1=global$3;$2_1=HEAP32[$1_1+88>>2];if($0_1){HEAP32[$1_1+88>>2]=($0_1|0)==-1?67972:$0_1}return($2_1|0)==67972?-1:$2_1}function $520($0_1,$1_1,$2_1,$3_1){HEAP32[$0_1>>2]=$1_1;$1_1=HEAP32[$1_1+4>>2];HEAP32[$0_1+4>>2]=$1_1;HEAP32[$0_1+8>>2]=$1_1+Math_imul($2_1,$3_1);return $0_1}function $1194($0_1){$0_1=$0_1|0;var $1_1=0;$0_1=HEAP32[16878];$4(67504);while(1){if($0_1){$1_1=HEAP32[$0_1>>2];$1($0_1);$0_1=$1_1;continue}break}$266(67504)}function $896($0_1,$1_1,$2_1){$2_1=global$0-16|0;global$0=$2_1;label$1:{if(($0_1|0)==($1_1|0)){HEAP8[$1_1+120|0]=0;break label$1}$1($1_1)}global$0=$2_1+16|0}function $814($0_1){HEAP32[$0_1>>2]=0;HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+16>>2]=0;HEAP32[$0_1+20>>2]=0;HEAP32[$0_1+8>>2]=0;HEAP32[$0_1+12>>2]=0;$268($0_1+24|0)}function $741($0_1,$1_1,$2_1){var $3_1=0;HEAP32[$0_1>>2]=HEAP32[$1_1>>2];$3_1=HEAP32[$1_1>>2];HEAP32[$0_1+8>>2]=$1_1;HEAP32[$0_1+4>>2]=$2_1+$3_1;return $0_1}function $1370($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$1_1=global$0-16|0;global$0=$1_1;$553($0_1,$2_1,$3_1);global$0=$1_1+16|0}function $1367($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$1_1=global$0-16|0;global$0=$1_1;$950($0_1,$2_1,$3_1);global$0=$1_1+16|0}function $872($0_1,$1_1,$2_1){var $3_1=0;$3_1=global$0-16|0;global$0=$3_1;$236($0_1,$2_1);HEAP8[$3_1+15|0]=0;$110($1_1+$2_1|0,$3_1+15|0);global$0=$3_1+16|0}function $794($0_1,$1_1){var $2_1=0;$2_1=$806(HEAP32[$0_1+4>>2],HEAP32[$1_1+8>>2]);if($2_1){if(($784($2_1,$0_1,$1_1)|0)>=0){return $2_1}$17($2_1)}return 0}function $322($0_1,$1_1){var $2_1=0;$2_1=$136(HEAP32[$0_1+4>>2],HEAP32[$1_1+8>>2]);if($2_1){if(($483($2_1,$0_1,$1_1)|0)>=0){return $2_1}$17($2_1)}return 0}function $124($0_1,$1_1,$2_1){var $3_1=0;$3_1=global$0-16|0;global$0=$3_1;HEAP32[$3_1+12>>2]=$2_1;$0_1=$590($0_1,$1_1,$2_1);global$0=$3_1+16|0;return $0_1}function $405($0_1,$1_1,$2_1){label$1:{if(Atomics.load(HEAPU8,$1_1|0)&1){break label$1}if(!$90($1_1)){break label$1}$135($0_1,$2_1);$89($1_1)}return $0_1}function $404($0_1,$1_1,$2_1){label$1:{if(Atomics.load(HEAPU8,$1_1|0)&1){break label$1}if(!$90($1_1)){break label$1}$533($0_1,$2_1);$89($1_1)}return $0_1}function $874($0_1,$1_1){var $2_1=0;$2_1=HEAP32[$0_1+4>>2];while(1){if(($1_1|0)!=($2_1|0)){$45($0_1);$2_1=$2_1-4|0;continue}break}HEAP32[$0_1+4>>2]=$1_1}function $279($0_1,$1_1,$2_1,$3_1){$0_1=$2_1-$1_1|0;$2_1=HEAP32[$3_1>>2]-$0_1|0;HEAP32[$3_1>>2]=$2_1;if(($0_1|0)>0){wasm2js_memory_copy($2_1,$1_1,$0_1)}}function $11($0_1,$1_1,$2_1){var $3_1=0;if($2_1){$3_1=$0_1;while(1){HEAP8[$3_1|0]=$1_1;$3_1=$3_1+1|0;$2_1=$2_1-1|0;if($2_1){continue}break}}return $0_1}function $550($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+16>>2]]($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1)|0}function $343($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+12>>2]]($0_1,$1_1,$2_1,$3_1,$4_1,$5_1,$6_1,$7_1)|0}function $205($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;$0_1=HEAP32[$80($1_1+8|0,$15($0_1)+($6($0_1)<<2)|0)>>2];global$0=$1_1+16|0;return $0_1}function $775($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+12>>2]=$1_1;$0_1=$116($0_1,$2_1+12|0);global$0=$2_1+16|0;return $0_1}function $681($0_1){var $1_1=0;$1_1=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=0;if($1_1){$0_1=$34($0_1);if(HEAPU8[$0_1+4|0]){$682($1_1+8|0)}if($1_1){$1($1_1)}}}function $176($0_1){label$1:{$0_1=HEAP32[$0_1+4>>2]&74;if($0_1){if(($0_1|0)==64){return 8}if(($0_1|0)!=8){break label$1}return 16}return 0}return 10}function $267($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;HEAP32[$2_1+8>>2]=$1_1;$0_1=$116($0_1,$2_1+8|0);global$0=$2_1+16|0;return $0_1}function $164($0_1,$1_1,$2_1){if($2_1){while(1){HEAP32[$0_1>>2]=HEAP32[$1_1>>2];$0_1=$0_1+4|0;$1_1=$1_1+4|0;$2_1=$2_1-1|0;if($2_1){continue}break}}}function $1002(){var $0_1=0;$0_1=HEAP32[16975];if($0_1){while(1){FUNCTION_TABLE[HEAP32[$0_1>>2]]();$0_1=HEAP32[$0_1+4>>2];if($0_1){continue}break}}}function $46($0_1,$1_1){var $2_1=0;$2_1=$1_1-1|0;if(!($2_1&$1_1)){return $0_1&$2_1}if($0_1>>>0>=$1_1>>>0){$0_1=($0_1>>>0)%($1_1>>>0)|0}return $0_1}function $1070($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=HEAP32[$0_1+476>>2];HEAP32[$1_1+92>>2]=HEAP32[$0_1+320>>2];HEAP32[$1_1+96>>2]=HEAP32[$0_1+116>>2]}function $862($0_1,$1_1){$0_1=$749($0_1,$1_1);HEAP8[($0_1+4|0)+8|0]=0;HEAP32[$0_1+8>>2]=0;HEAP32[$0_1+4>>2]=$1_1+1;HEAP8[$0_1+20|0]=0;return $0_1}function $206($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;$0_1=HEAP32[$80($1_1+8|0,$15($0_1)+$6($0_1)|0)>>2];global$0=$1_1+16|0;return $0_1}function $679($0_1){var $1_1=0;$1_1=HEAP32[$0_1+4>>2];if($1_1){FUNCTION_TABLE[HEAP32[$1_1+40>>2]]($0_1)}HEAP32[$0_1+20>>2]=0;HEAP32[$0_1+4>>2]=0}function $26($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;$0_1=HEAP32[$80($2_1+8|0,$756($0_1,$1_1))>>2];global$0=$2_1+16|0;return $0_1}function $860($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;if($77(75120)){HEAP32[$1_1>>2]=HEAP32[$0_1>>2];$55();abort()}global$0=$1_1+16|0}function $837($0_1,$1_1,$2_1){$0_1=HEAP32[$2_1+4>>2];HEAP32[$1_1>>2]=HEAP32[$2_1>>2];HEAP32[$1_1+4>>2]=$0_1;HEAP32[$1_1+8>>2]=HEAP32[$2_1+8>>2]}function $892($0_1){$0_1=$0_1|0;var $1_1=0;HEAP32[$0_1>>2]=56044;$1_1=HEAP32[$0_1+8>>2];if(!(!$1_1|!HEAPU8[$0_1+12|0])){$1($1_1)}return $0_1|0}function $583($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=global$9;if(!HEAP32[$2_1>>2]){HEAP32[$2_1>>2]=$0_1;HEAP32[global$10>>2]=$1_1}}function $284($0_1,$1_1){$1_1=!HEAP32[$0_1+24>>2]|(HEAP32[$0_1+16>>2]|$1_1);HEAP32[$0_1+16>>2]=$1_1;if($1_1&HEAP32[$0_1+20>>2]){$55();abort()}}function $795($0_1,$1_1,$2_1){HEAP32[$0_1>>2]=$1_1;$1_1=HEAP32[$1_1+4>>2];HEAP32[$0_1+4>>2]=$1_1;HEAP32[$0_1+8>>2]=$1_1+($2_1<<3);return $0_1}function $275($0_1,$1_1,$2_1){HEAP32[$0_1>>2]=$1_1;$1_1=HEAP32[$1_1+4>>2];HEAP32[$0_1+4>>2]=$1_1;HEAP32[$0_1+8>>2]=$1_1+($2_1<<2);return $0_1}function $856($0_1){$0_1=$0_1|0;var $1_1=0;HEAP32[$0_1>>2]=63632;$1_1=HEAP32[$0_1+4>>2]-12|0;if(($467($1_1+8|0)|0)<0){$1($1_1)}return $0_1|0}function $1232($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;if($121($0_1,HEAP32[$1_1+8>>2],0)){$525($1_1,$2_1,$3_1)}}function $812($0_1){var $1_1=0;$334($0_1);if(HEAP32[$0_1>>2]){$811($0_1,HEAP32[$0_1>>2]);$4($0_1);$1_1=HEAP32[$0_1>>2];$147($0_1);$1($1_1)}}function $773($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;$1_1=$479($2_1+8|0,$1_1);$470($1_1,$0_1);$168($1_1);global$0=$2_1+16|0}function $744($0_1){var $1_1=0;$325($0_1);if(HEAP32[$0_1>>2]){$395($0_1,HEAP32[$0_1>>2]);$4($0_1);$1_1=HEAP32[$0_1>>2];$142($0_1);$1($1_1)}}function $500($0_1){var $1_1=0;$818($0_1);if(HEAP32[$0_1>>2]){$817($0_1,HEAP32[$0_1>>2]);$4($0_1);$1_1=HEAP32[$0_1>>2];$229($0_1);$1($1_1)}}function $964($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;$3_1=$893($0_1,$1_1);global$0=$2_1+16|0;return $3_1?$1_1:$0_1}function $755(){label$1:{if(Atomics.load(HEAPU8,67480)&1){break label$1}if(!$90(67480)){break label$1}$390(67468);$89(67480)}return 67468}function $315($0_1){var $1_1=0;$1_1=$467($0_1+4|0);if(($1_1|0)==-1){FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+8>>2]]($0_1)}return($1_1|0)==-1}function $313($0_1,$1_1,$2_1){HEAPF32[$0_1>>2]=HEAPF32[$1_1>>2]-HEAPF32[$2_1>>2];HEAPF32[$0_1+4>>2]=HEAPF32[$1_1+4>>2]-HEAPF32[$2_1+4>>2]}function $280($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;$3_1=$199($1_1,$0_1);global$0=$2_1+16|0;return $3_1?$1_1:$0_1}function $243($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;$3_1=$893($1_1,$0_1);global$0=$2_1+16|0;return $3_1?$1_1:$0_1}function $1346($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;return $850($1_1,$2_1,$3_1,$4_1,1)|0}function $1344($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;return $850($1_1,$2_1,$3_1,$4_1,0)|0}function $1338($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;return $848($1_1,$2_1,$3_1,$4_1,1)|0}function $1335($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;return $848($1_1,$2_1,$3_1,$4_1,0)|0}function $67($0_1,$1_1){var $2_1=0,$3_1=0;$2_1=global$0-16|0;global$0=$2_1;$3_1=$199($0_1,$1_1);global$0=$2_1+16|0;return $3_1?$1_1:$0_1}function $402($0_1,$1_1,$2_1){HEAP32[$0_1>>2]=$1_1;$1_1=HEAP32[$1_1+4>>2];HEAP32[$0_1+4>>2]=$1_1;HEAP32[$0_1+8>>2]=$1_1+$2_1;return $0_1}function $955($0_1){var $1_1=0,$2_1=0;$2_1=$0_1;while(1){$1_1=$2_1;$2_1=$1_1+4|0;if(HEAP32[$1_1>>2]){continue}break}return $1_1-$0_1>>2}function $764($0_1,$1_1,$2_1){var $3_1=0;$3_1=$1_1-$0_1|0;if(($0_1|0)!=($1_1|0)){wasm2js_memory_copy($2_1,$0_1,$3_1)}return $2_1+$3_1|0}function $754($0_1,$1_1){var $2_1=0;while(1){if(($2_1|0)!=4){HEAP8[$1_1+$2_1|0]=HEAPU8[($0_1-$2_1|0)+3|0];$2_1=$2_1+1|0;continue}break}}function $751($0_1,$1_1){var $2_1=0;while(1){if(($2_1|0)!=8){HEAP8[$1_1+$2_1|0]=HEAPU8[($0_1-$2_1|0)+7|0];$2_1=$2_1+1|0;continue}break}}function $549($0_1){var $1_1=0;$1_1=HEAP32[$0_1>>2];if($1_1){if(!$144($563($1_1),-1)){return!HEAP32[$0_1>>2]}HEAP32[$0_1>>2]=0}return 1}function $548($0_1){var $1_1=0;$1_1=HEAP32[$0_1>>2];if($1_1){if(!$144($556($1_1),-1)){return!HEAP32[$0_1>>2]}HEAP32[$0_1>>2]=0}return 1}function $610($0_1){var $1_1=0;$1_1=$608(HEAP32[$0_1>>2]-1|0);if(!$1_1){$0_1=$608(HEAP32[$0_1+4>>2]);$1_1=$0_1?$0_1+32|0:0}return $1_1}function $479($0_1,$1_1){HEAP32[$0_1>>2]=HEAP32[$1_1>>2];$1_1=HEAP32[$1_1+4>>2];HEAP32[$0_1+4>>2]=$1_1;if($1_1){$381($1_1)}return $0_1}function $298($0_1){label$1:{if(HEAP32[$0_1>>2]>=0){break label$1}if(($632($0_1,2147483647)|0)==-2147483647){break label$1}$215($0_1)}}function $170($0_1){var $1_1=0;$325($0_1);if(HEAP32[$0_1>>2]){$819($0_1);$4($0_1);$1_1=HEAP32[$0_1>>2];$142($0_1);$1($1_1)}return $0_1}function $131($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;$0_1=HEAP32[$80($1_1+8|0,$15($0_1))>>2];global$0=$1_1+16|0;return $0_1}function $23(){var $0_1=0,$1_1=0;$0_1=global$0-16|0;global$0=$0_1;$1_1=$80($0_1+8|0,$472());global$0=$0_1+16|0;return HEAP32[$1_1>>2]}function $1307($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$387($0_1,$5_1)}function $251($0_1,$1_1){var $2_1=0;if($0_1>>>0<=2){$2_1=global$3;if($1_1){HEAP32[$1_1>>2]=HEAPU8[$2_1+32|0]}HEAP8[$2_1+32|0]=$0_1}}function $240($0_1){var $1_1=0;if($0_1>>>0>=11){$1_1=$0_1+16&-16;$0_1=$1_1-1|0;$0_1=($0_1|0)==11?$1_1:$0_1}else{$0_1=10}return $0_1}function $233(){var $0_1=0;$0_1=$482(fimport$6(4)|0);HEAP32[$0_1>>2]=63480;HEAP32[$0_1>>2]=63500;fimport$5($0_1|0,63612,15);abort()}function $1290($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;if(($1_1|0)>=0){$1_1=HEAP32[HEAP32[13170]+(($1_1&255)<<2)>>2]}return $1_1<<24>>24}function $1288($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;if(($1_1|0)>=0){$1_1=HEAP32[HEAP32[13556]+(($1_1&255)<<2)>>2]}return $1_1<<24>>24}function $316($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;$0_1=HEAP32[$753($1_1+8|0,$0_1)>>2];global$0=$1_1+16|0;return $0_1}function $869($0_1){if(!HEAP32[$0_1>>2]){return $617($0_1,-1)}if(HEAP32[$0_1+12>>2]){$0_1=$0_1+8|0;$190($0_1);$622($0_1)}return 0}function $73($0_1,$1_1){var $2_1=0;$2_1=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=$1_1;if($2_1){FUNCTION_TABLE[HEAP32[$34($0_1)>>2]]($2_1)}}function $685($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;fimport$3($0_1|0,3,38328,38340,94,$1_1|0);global$0=$2_1+16|0}function $489($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;$0_1=HEAP32[$80($1_1+8|0,$0_1)>>2];global$0=$1_1+16|0;return $0_1}function $472(){var $0_1=0,$1_1=0;$0_1=global$0-16|0;global$0=$0_1;$1_1=$80($0_1+8|0,0);global$0=$0_1+16|0;return HEAP32[$1_1>>2]}function $452($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;fimport$3($0_1|0,3,38196,38280,89,$1_1|0);global$0=$2_1+16|0}function $451($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;fimport$3($0_1|0,2,38348,38356,95,$1_1|0);global$0=$2_1+16|0}function $333($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;HEAP32[$4_1>>2]=$2_1;return 3}function $310($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;fimport$3($0_1|0,4,38160,38176,87,$1_1|0);global$0=$2_1+16|0}function $255($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;fimport$3($0_1|0,3,38360,38372,96,$1_1|0);global$0=$2_1+16|0}function $217($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;fimport$3($0_1|0,3,38288,38280,90,$1_1|0);global$0=$2_1+16|0}function $115($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;fimport$3($0_1|0,2,38184,38192,88,$1_1|0);global$0=$2_1+16|0}function $1080($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=HEAP32[$0_1+476>>2];HEAP32[$1_1+36>>2]=0;HEAP32[$1_1+44>>2]=HEAP32[$0_1+116>>2]}function $571($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$5_1=$5_1|0;$570($0_1)}function $789($0_1,$1_1){var $2_1=Math_fround(0);$2_1=HEAPF32[$0_1>>2];HEAPF32[$0_1>>2]=HEAPF32[$1_1>>2];HEAPF32[$1_1>>2]=$2_1}function $286($0_1){var $1_1=0;if($0_1>>>0>=2){$1_1=$0_1+4&-4;$0_1=$1_1-1|0;$0_1=($0_1|0)==2?$1_1:$0_1}else{$0_1=1}return $0_1}function $1167($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;var $2_1=0;$2_1=HEAPF64[$0_1>>3]-HEAPF64[$1_1>>3];return($2_1<0?-1:$2_1>0)|0}function $378($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){return!($126($0_1,$1_1,$2_1)>Math_fround(0)^$126($3_1,$4_1,$5_1)>Math_fround(0))}function $135($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;$865($0_1,$1_1,$86($1_1));global$0=$2_1+16|0;return $0_1}function $900($0_1){$0_1=$0_1|0;HEAP32[$0_1>>2]=57128;if(HEAP32[$0_1+8>>2]!=($43()|0)){$956(HEAP32[$0_1+8>>2])}return $0_1|0}function $1017($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=47;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}function $930($0_1){var $1_1=0;$334($0_1);if(HEAP32[$0_1>>2]){$920($0_1);$4($0_1);$1_1=HEAP32[$0_1>>2];$147($0_1);$1($1_1)}}function $916($0_1,$1_1){var $2_1=0;$2_1=$562(HEAP32[$1_1>>2]);HEAP32[$0_1+4>>2]=HEAP32[$1_1>>2];HEAP8[$0_1|0]=$2_1<<24>>24}function $683($0_1,$1_1){var $2_1=0;$2_1=global$0-16|0;global$0=$2_1;$865($0_1,$1_1+4|0,HEAP32[$1_1>>2]);global$0=$2_1+16|0}function $567($0_1){var $1_1=0;$557($0_1);if(HEAP32[$0_1>>2]){$551($0_1);$4($0_1);$1_1=HEAP32[$0_1>>2];$187($0_1);$1($1_1)}}function $501($0_1){var $1_1=0;$826($0_1);if(HEAP32[$0_1>>2]){$825($0_1);$4($0_1);$1_1=HEAP32[$0_1>>2];$197($0_1);$1($1_1)}}function $427($0_1){var $1_1=0;$965($0_1);if(HEAP32[$0_1>>2]){$961($0_1);$4($0_1);$1_1=HEAP32[$0_1>>2];$186($0_1);$1($1_1)}}function $1302($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;return(HEAP32[($2_1<<2)+56096>>2]&$1_1)!=0&$2_1>>>0<=127}function $79($0_1){var $1_1=0;$331($0_1);if(HEAP32[$0_1>>2]){$828($0_1);$4($0_1);$1_1=HEAP32[$0_1>>2];$159($0_1);$1($1_1)}}function $676($0_1){var $1_1=0;$1_1=$0_1+16|0;$70($1_1);HEAP32[$0_1+8>>2]=1;HEAP32[$0_1+12>>2]=0;$361($0_1+88|0);$77($1_1)}function $1125($0_1){$0_1=$0_1|0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1+468>>2]+8>>2]]($0_1);HEAP32[HEAP32[$0_1+460>>2]>>2]=106}function $1298($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;if($1_1>>>0<=127){$1_1=HEAP32[HEAP32[13170]+($1_1<<2)>>2]}return $1_1|0}function $1296($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;if($1_1>>>0<=127){$1_1=HEAP32[HEAP32[13556]+($1_1<<2)>>2]}return $1_1|0}function $1216($0_1,$1_1,$2_1,$3_1,$4_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$4_1=$4_1|0;$646($0_1,$2_1,$3_1)}function $361($0_1){if(!HEAP32[$0_1>>2]){$617($0_1,1);return}if(HEAP32[$0_1+12>>2]){$0_1=$0_1+8|0;$190($0_1);$215($0_1)}}function __wasm_rotl_i32($0_1){var $1_1=0;$1_1=$0_1&31;$0_1=0-$0_1&31;return(-1>>>$1_1&-2)<<$1_1|(-1<<$0_1&-2)>>>$0_1} +function $204($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;HEAP8[$0_1|0]=2;HEAP8[$0_1+1|0]=3;HEAP8[$0_1+2|0]=0;HEAP8[$0_1+3|0]=4}function $767($0_1){HEAP32[$0_1>>2]=0;HEAP32[$0_1+4>>2]=0;HEAP8[$0_1+16|0]=1;HEAP32[$0_1+8>>2]=0;HEAP32[$0_1+12>>2]=0}function $987($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;i64toi32_i32$HIGH_BITS=0;return 0}function $743($0_1,$1_1){var $2_1=0;$2_1=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=$1_1;if($2_1){if($2_1){$742($2_1)}$1($2_1)}}function $653($0_1,$1_1,$2_1,$3_1){label$1:{if($0_1){$650($0_1,$1_1,$2_1,$3_1);break label$1}$650(0,$1_1,$2_1,$3_1)}}function $605($0_1){var $1_1=0,$2_1=0;$1_1=$86($0_1)+1|0;$2_1=$7($1_1);if(!$2_1){return 0}return $62($2_1,$0_1,$1_1)}function $546($0_1,$1_1){var $2_1=0;$2_1=$968($0_1+4|0);HEAP32[$0_1>>2]=51452;HEAP32[$2_1>>2]=51472;$408($2_1,$1_1)}function $421($0_1,$1_1){var $2_1=0;$2_1=$935($0_1+4|0);HEAP32[$0_1>>2]=51292;HEAP32[$2_1>>2]=51312;$408($2_1,$1_1)}function $1060($0_1){$0_1=$0_1|0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+8>>2]]($0_1);$679($0_1);fimport$1(1);abort()}function $621($0_1){var $1_1=0;$1_1=global$0-48|0;wasm2js_memory_fill($1_1,0,48);wasm2js_memory_copy($0_1,$1_1,48)}function $709($0_1,$1_1){var $2_1=0;$2_1=HEAP32[$1_1+4>>2];HEAP32[$0_1>>2]=HEAP32[$1_1>>2];HEAP32[$0_1+4>>2]=$2_1}function $360($0_1){if($113($0_1,0,1)){$113($0_1,1,2);while(1){$254($0_1,0,2);if($113($0_1,0,2)){continue}break}}}function $657($0_1){var $1_1=0;$1_1=HEAP32[$0_1>>2];HEAP32[$1_1+20>>2]=51;FUNCTION_TABLE[HEAP32[$1_1>>2]]($0_1)}function $522($0_1,$1_1,$2_1){if(!(HEAP32[$0_1+28>>2]==1|HEAP32[$0_1+4>>2]!=($1_1|0))){HEAP32[$0_1+28>>2]=$2_1}}function $1136($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=Math_fround($2_1);FUNCTION_TABLE[$0_1|0]($1_1,$2_1)}function $481($0_1){var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;$0_1=$209($0_1);global$0=$1_1+16|0;return $0_1}function $28($0_1,$1_1){var $2_1=0;$2_1=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=HEAP32[$1_1>>2];HEAP32[$1_1>>2]=$2_1}function $698($0_1,$1_1){$4($0_1);while(1){if($1_1){$0_1=HEAP32[$1_1>>2];$1($1_1);$1_1=$0_1;continue}break}}function $272($0_1,$1_1,$2_1){$0_1=HEAP32[$2_1+4>>2];HEAP32[$1_1>>2]=HEAP32[$2_1>>2];HEAP32[$1_1+4>>2]=$0_1}function $257($0_1,$1_1){if(HEAPU32[$0_1+4>>2]>2]){$326($0_1,$1_1);return}$716($0_1,$1_1)}function $1264($0_1){$0_1=$0_1|0;$0_1=72632;while(1){$0_1=$8($0_1-12|0);if(($0_1|0)!=72464){continue}break}}function $1262($0_1){$0_1=$0_1|0;$0_1=72808;while(1){$0_1=$8($0_1-12|0);if(($0_1|0)!=72640){continue}break}}function $1260($0_1){$0_1=$0_1|0;$0_1=73104;while(1){$0_1=$8($0_1-12|0);if(($0_1|0)!=72816){continue}break}}function $1258($0_1){$0_1=$0_1|0;$0_1=73408;while(1){$0_1=$8($0_1-12|0);if(($0_1|0)!=73120){continue}break}}function $1256($0_1){$0_1=$0_1|0;$0_1=73448;while(1){$0_1=$8($0_1-12|0);if(($0_1|0)!=73424){continue}break}}function $1254($0_1){$0_1=$0_1|0;$0_1=73480;while(1){$0_1=$8($0_1-12|0);if(($0_1|0)!=73456){continue}break}}function $750($0_1,$1_1){var $2_1=0;$2_1=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=$1_1;if($2_1){$34($0_1);$1($2_1)}}function $721($0_1,$1_1){if(HEAP32[$0_1+4>>2]!=HEAP32[$4($0_1)>>2]){$326($0_1,$1_1);return}$716($0_1,$1_1)}function $532($0_1,$1_1){HEAP32[$0_1>>2]=HEAP32[(HEAP32[HEAP32[$1_1>>2]-12>>2]+$1_1|0)+24>>2];return $0_1}function $1293($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;return($1_1>>>0<128?$1_1:$2_1)<<24>>24}function $1068($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;HEAP32[$3_1>>2]=$2_1}function $921($0_1,$1_1){var $2_1=0;$2_1=HEAPU8[$0_1|0];HEAP8[$0_1|0]=HEAPU8[$1_1|0];HEAP8[$1_1|0]=$2_1}function $468($0_1){$0_1=$0_1|0;var $1_1=0;$1_1=global$0-16|0;global$0=$1_1;$1($0_1);global$0=$1_1+16|0}function $397($0_1,$1_1){$28($0_1,$1_1);$28($0_1+4|0,$1_1+4|0);$28($4($0_1),$4($1_1));$4($0_1);$4($1_1)}function $207($0_1,$1_1,$2_1,$3_1){FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+32>>2]]($0_1,$1_1,$2_1,$3_1)|0}function $185($0_1,$1_1,$2_1,$3_1){FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+48>>2]]($0_1,$1_1,$2_1,$3_1)|0}function $531($0_1){$0_1=$0_1|0;if(HEAP32[$0_1+8>>2]!=($43()|0)){$956(HEAP32[$0_1+8>>2])}return $0_1|0}function $140($0_1,$1_1,$2_1){return(HEAP32[HEAP32[$0_1+8>>2]+(($2_1&255)<<2)>>2]&$1_1)!=0&($2_1|0)>=0}function $958($0_1){return($0_1|0)!=0&($0_1|0)!=52552&($0_1|0)!=52576&($0_1|0)!=71956&($0_1|0)!=71980}function $671($0_1){var $1_1=0;$1_1=$0_1+16|0;$70($1_1);HEAP32[$0_1+4>>2]=1;$361($0_1+40|0);$77($1_1)}function $629($0_1){var $1_1=0;$1_1=global$0-16|0;HEAPF32[$1_1+12>>2]=$0_1;return HEAPF32[$1_1+12>>2]}function $374($0_1,$1_1){if(!$0_1|$1_1>>>0>4){$0_1=-1}else{HEAP32[$0_1+24>>2]=$1_1;$0_1=0}return $0_1}function $1069($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;HEAP32[$3_1>>2]=0}function $738($0_1){var $1_1=0;$1_1=$0_1;$0_1=HEAP32[$0_1+4>>2];HEAP32[$1_1+4>>2]=$0_1+1;return $0_1}function $570($0_1){HEAP32[$0_1+8>>2]=-1;HEAP32[$0_1+12>>2]=-1;HEAP32[$0_1>>2]=0;HEAP32[$0_1+4>>2]=0}function $283($0_1,$1_1,$2_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+48>>2]]($0_1,$1_1,$2_1)|0}function $139($0_1,$1_1,$2_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+12>>2]]($0_1,$1_1,$2_1)|0}function $118($0_1,$1_1,$2_1,$3_1){return Math_fround(Math_fround($0_1*$3_1)-Math_fround($1_1*$2_1))}function $1137($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;FUNCTION_TABLE[$0_1|0]($1_1,$2_1)}function $1025($0_1){$0_1=$0_1|0;$448($0_1,1);$448($0_1,0);$1(HEAP32[$0_1+4>>2]);HEAP32[$0_1+4>>2]=0}function $1139($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=+$2_1;FUNCTION_TABLE[$0_1|0]($1_1,$2_1)}function $535($0_1,$1_1){var $2_1=0;$2_1=$0_1;$0_1=HEAP32[$1_1>>2];HEAP32[$2_1>>2]=$0_1;$381($0_1)}function $266($0_1){var $1_1=0;$1_1=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=0;if($1_1){$34($0_1);$1($1_1)}}function $911($0_1,$1_1){$73($0_1,$141($1_1));$1_1=HEAP32[$34($1_1)>>2];HEAP32[$34($0_1)>>2]=$1_1}function $1297($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;return $846($1_1,$2_1,52680)|0}function $1295($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;return $846($1_1,$2_1,54224)|0}function $1289($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;return $845($1_1,$2_1,52680)|0}function $1287($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;return $845($1_1,$2_1,54224)|0}function $1285($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;return(($1_1|0)<0?$2_1:$1_1)|0}function $8($0_1){var $1_1=0;if($128($0_1)){$1_1=HEAP32[$0_1>>2];$210($0_1);$1($1_1)}return $0_1}function $1201($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;return(HEAP32[$1_1+4>>2]==26860?$0_1+12|0:0)|0}function $1199($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;return(HEAP32[$1_1+4>>2]==27684?$0_1+12|0:0)|0}function $1197($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;return(HEAP32[$1_1+4>>2]==27852?$0_1+12|0:0)|0}function $1064($0_1){$0_1=$0_1|0;$0_1=HEAP32[$0_1>>2];HEAP32[$0_1+20>>2]=0;HEAP32[$0_1+108>>2]=0}function $487($0_1,$1_1,$2_1){return Math_fround(Math_fround($0_1*$2_1)-Math_fround($1_1*$1_1))}function $453($0_1){var $1_1=0;$1_1=HEAP32[$0_1>>2];if(!$1_1){return}$1($1_1);HEAP32[$0_1>>2]=0}function $514($0_1,$1_1){if($1_1>>>0>214748364){$233();abort()}return $48(Math_imul($1_1,20))} +function $318($0_1,$1_1){$0_1=$482($0_1);HEAP32[$0_1>>2]=26656;$387($0_1+4|0,$1_1);return $0_1}function $239($0_1,$1_1){return $1_1?$0_1<<8&16711680|$0_1<<24|($0_1>>>8&65280|$0_1>>>24):$0_1}function $1276($0_1){$0_1=$0_1|0;$0_1=HEAP32[$0_1+8>>2];if(!$0_1){return 1}return $888($0_1)|0}function $834($0_1,$1_1){if($1_1>>>0>357913941){$233();abort()}return $48(Math_imul($1_1,12))}function $569($0_1,$1_1,$2_1,$3_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;$3_1=$3_1|0;$570($0_1)}function $1234($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;return $121($0_1,$1_1,0)|0}function $312($0_1,$1_1){return Math_fround($0_1/($1_1==Math_fround(0)?Math_fround(1):$1_1))}function $289($0_1,$1_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+36>>2]]($0_1,$1_1,0)|0}function $288($0_1,$1_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+52>>2]]($0_1,$1_1,0)|0}function $263($0_1,$1_1,$2_1){HEAP32[$0_1>>2]=HEAP32[$1_1>>2];HEAP8[$0_1+4|0]=HEAPU8[$2_1|0]}function $114($0_1){if(Atomics.exchange(HEAP32,$0_1+76>>2,0)&1073741824){$191($0_1+76|0,1)}}function $418($0_1,$1_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+12>>2]]($0_1,$1_1)|0}function $109($0_1,$1_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+44>>2]]($0_1,$1_1)|0}function $83($0_1,$1_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+28>>2]]($0_1,$1_1)|0}function $469($0_1){$0_1=$746($0_1);HEAP32[$0_1+8>>2]=0;HEAP32[$0_1>>2]=62720;return $0_1}function $1223($0_1){$0_1=$0_1|0;if(!$0_1){return 0}return($526($0_1,62832,62976)|0)!=0|0}function $113($0_1,$1_1,$2_1){return Atomics.compareExchange(HEAP32,$0_1>>2,$1_1,$2_1)|0}function $369($0_1,$1_1){return Atomics.compareExchange(HEAP32,0+67932>>2,$0_1,$1_1)|0}function $249($0_1,$1_1){$0_1=$436($0_1,$1_1);return HEAPU8[$0_1|0]==($1_1&255)?$0_1:0}function $822($0_1){return Math_fround(Math_floor(Math_fround($0_1+Math_fround(.5))))}function $193($0_1,$1_1,$2_1){HEAP32[$0_1+4>>2]=$2_1;HEAP32[$0_1>>2]=$1_1;return $0_1}function $1304($0_1){$0_1=$0_1|0;HEAP32[$0_1+4>>2]=Atomics.add(HEAP32,0+72204>>2,1)+1}function $630($0_1,$1_1){return Math_fround($629($0_1?Math_fround(-$1_1):$1_1)*$1_1)}function $608($0_1){return HEAP8[(Math_imul(0-$0_1&$0_1,124511785)>>>27|0)+46912|0]}function $566($0_1){$0_1=$0_1|0;return $348(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0)|0}function $561($0_1){$0_1=$0_1|0;return $346(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0)|0}function $477($0_1,$1_1,$2_1,$3_1,$4_1,$5_1){return $2_1*$5_1+($0_1*$3_1+$1_1*$4_1)}function $371($0_1,$1_1){$0_1=($0_1+$1_1|0)-1|0;return $0_1-(($0_1|0)%($1_1|0)|0)|0}function $274($0_1,$1_1){if($1_1>>>0>1073741823){$233();abort()}return $48($1_1<<2)}function $262($0_1,$1_1,$2_1){HEAP8[$0_1+4|0]=$2_1;HEAP32[$0_1>>2]=$1_1;return $0_1}function $1303($0_1){$0_1=$0_1|0;FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+4>>2]]($0_1)}function $1217($0_1){$0_1=$0_1|0;$0_1=global$0-$0_1&-16;global$0=$0_1;return $0_1|0}function $6($0_1){if($128($0_1)){return HEAP32[$0_1+4>>2]}return HEAPU8[$0_1+11|0]}function $486($0_1,$1_1){if($1_1>>>0>536870911){$233();abort()}return $48($1_1<<3)}function $484($0_1){$0_1=$0_1|0;HEAP32[$0_1>>2]=26548;$500($0_1+4|0);return $0_1|0}function $881($0_1){$0_1=$0_1|0;HEAP32[$0_1>>2]=57176;$8($0_1+12|0);return $0_1|0}function $880($0_1){$0_1=$0_1|0;HEAP32[$0_1>>2]=57216;$8($0_1+16|0);return $0_1|0}function $871($0_1,$1_1,$2_1){$0_1=$952($0_1,$1_1,$2_1,0,-2147483648);return $0_1}function $866($0_1,$1_1,$2_1){if($1_1){wasm2js_memory_fill($0_1,$153($2_1),$1_1)}}function $854($0_1,$1_1,$2_1,$3_1){fimport$24($0_1|0,$1_1|0,8,0,$2_1|0,-1,$3_1|0)}function $430($0_1){$0_1=$0_1|0;HEAP32[$0_1>>2]=51176;$19($0_1+4|0);return $0_1|0}function $424($0_1){$0_1=$0_1|0;HEAP32[$0_1>>2]=51336;$19($0_1+4|0);return $0_1|0}function $409($0_1,$1_1){FUNCTION_TABLE[HEAP32[HEAP32[$1_1>>2]+40>>2]]($0_1,$1_1)}function $203($0_1,$1_1){FUNCTION_TABLE[HEAP32[HEAP32[$1_1>>2]+44>>2]]($0_1,$1_1)}function $202($0_1,$1_1){FUNCTION_TABLE[HEAP32[HEAP32[$1_1>>2]+32>>2]]($0_1,$1_1)}function $152($0_1,$1_1){FUNCTION_TABLE[HEAP32[HEAP32[$1_1>>2]+24>>2]]($0_1,$1_1)}function $151($0_1,$1_1){FUNCTION_TABLE[HEAP32[HEAP32[$1_1>>2]+28>>2]]($0_1,$1_1)}function $141($0_1){var $1_1=0;$1_1=HEAP32[$0_1>>2];HEAP32[$0_1>>2]=0;return $1_1}function $107($0_1,$1_1){FUNCTION_TABLE[HEAP32[HEAP32[$1_1>>2]+20>>2]]($0_1,$1_1)}function $990($0_1){$0_1=$0_1|0;$0_1=HEAP32[$0_1+36>>2];$11($0_1,0,112);$1($0_1)}function $785($0_1){$0_1=$0_1|0;HEAP32[$0_1>>2]=26656;$8($0_1+4|0);return $0_1|0}function $296($0_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+24>>2]]($0_1)|0}function $241($0_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+28>>2]]($0_1)|0}function $201($0_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+36>>2]]($0_1)|0}function $149($0_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+12>>2]]($0_1)|0}function $1386($0_1){$0_1=$0_1|0;$347(71080);$347(71416);$423(71164);$423(71500)}function $108($0_1){return FUNCTION_TABLE[HEAP32[HEAP32[$0_1>>2]+16>>2]]($0_1)|0}function $572($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;return $0_1|0}function $480($0_1,$1_1,$2_1){return Math_sqrt($2_1*$2_1+($0_1*$0_1+$1_1*$1_1))}function $536($0_1){if($128($0_1)){$0_1=$210($0_1)-1|0}else{$0_1=1}return $0_1}function $35($0_1){if($128($0_1)){$0_1=$210($0_1)-1|0}else{$0_1=10}return $0_1}function $222($0_1,$1_1){return $573($0_1+4|0,Math_imul(HEAP32[$0_1>>2],$1_1))}function $1141($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;FUNCTION_TABLE[$0_1|0]($1_1)}function $706($0_1){HEAP32[$0_1>>2]=0;HEAP32[$0_1+4>>2]=0;HEAP32[$0_1+8>>2]=0}function $634($0_1){$0_1=Math_fround($0_1-$0_1);return Math_fround($0_1/$0_1)}function $359($0_1){if((Atomics.exchange(HEAP32,$0_1>>2,0)|0)==2){$215($0_1)}}function $236($0_1,$1_1){if($128($0_1)){$98($0_1,$1_1);return}$111($0_1,$1_1)}function $982($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;global$8=$0_1;global$7=$1_1}function $357($0_1){if(!(!$0_1|HEAP32[$0_1+76>>2]>=0)){HEAP32[$0_1+76>>2]=0}}function $1154($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;return $853($0_1,$1_1,1)|0}function $1153($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;return $853($0_1,$1_1,0)|0}function $85($0_1,$1_1,$2_1){if(!(HEAPU8[$0_1|0]&32)){$445($1_1,$2_1,$0_1)}}function $154($0_1,$1_1,$2_1){if($2_1){wasm2js_memory_copy($0_1,$1_1,$2_1)}}function $901($0_1,$1_1,$2_1){$0_1=$0_1|0;$1_1=$1_1|0;$2_1=$2_1|0;return-1}function $565($0_1){$0_1=$0_1|0;$429(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0)}function $560($0_1){$0_1=$0_1|0;$426(HEAP32[HEAP32[$0_1>>2]-12>>2]+$0_1|0)}function $161($0_1,$1_1){HEAP32[$0_1>>2]=$953(HEAP32[$1_1>>2]);return $0_1}function $1202($0_1){$0_1=$0_1|0;$0_1=$0_1+12|0;$745($0_1,HEAP32[$0_1>>2])}function $909($0_1,$1_1){$193($0_1,$555(HEAP32[$1_1>>2]),HEAP32[$1_1>>2])}function $746($0_1){HEAP32[$0_1+4>>2]=0;HEAP32[$0_1>>2]=62664;return $0_1}function $530($0_1,$1_1,$2_1){$0_1=$952($0_1,$1_1,$2_1,-1,-1);return $0_1}function $997($0_1){$0_1=$0_1|0;return fimport$12(HEAP32[$0_1+60>>2])|0}function $823($0_1){return Math_fround($253($0_1)/$253(Math_fround(2)))}function $646($0_1,$1_1,$2_1){global$3=$0_1;global$4=$1_1;global$5=$2_1}function $197($0_1){return(HEAP32[$4($0_1)>>2]-HEAP32[$0_1>>2]|0)/36|0}function $186($0_1){return(HEAP32[$4($0_1)>>2]-HEAP32[$0_1>>2]|0)/20|0}function $147($0_1){return(HEAP32[$4($0_1)>>2]-HEAP32[$0_1>>2]|0)/12|0}function $1271($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;$387($0_1,$1_1+12|0)}function $1270($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;$387($0_1,$1_1+16|0)}function $1018($0_1){$0_1=$0_1|0;$581(HEAP32[$0_1>>2]+132|0,1);abort()}function $968($0_1){$0_1=$890($0_1);HEAP32[$0_1>>2]=51772;return $0_1}function $935($0_1){$0_1=$890($0_1);HEAP32[$0_1>>2]=51496;return $0_1}function $829($0_1,$1_1){HEAP32[$0_1+84>>2]=$1_1;$503($0_1+60|0,$1_1)}function $615($0_1,$1_1){return Atomics.exchange(HEAP32,$0_1>>2,$1_1)}function $351($0_1){if(!$0_1){return 0}HEAP32[$22()>>2]=$0_1;return-1}function $314($0_1,$1_1,$2_1){return $764($711($0_1),$711($1_1),$2_1)}function $268($0_1){HEAP32[$0_1>>2]=0;HEAP32[$0_1+4>>2]=0;return $0_1}function $256($0_1,$1_1){return HEAPU32[$0_1+4>>2]>HEAPU32[$1_1+4>>2]}function $816($0_1){return $0_1>>>0<=14?HEAP32[($0_1<<2)+21204>>2]:0}function $50($0_1){$0_1=$746($0_1);HEAP32[$0_1>>2]=57504;return $0_1}function $195($0_1,$1_1,$2_1){wasm2js_memory_copy($0_1,$1_1,$2_1<<2)}function $15($0_1){if($128($0_1)){return HEAP32[$0_1>>2]}return $0_1}function $145($0_1,$1_1){return HEAP32[$0_1>>2]+Math_imul($1_1,12)|0}function $119($0_1,$1_1){return HEAP32[$0_1>>2]+Math_imul($1_1,36)|0}function $116($0_1,$1_1){HEAP32[$0_1>>2]=HEAP32[$1_1>>2];return $0_1}function $1010($0_1){$0_1=$0_1|0;HEAP32[HEAP32[$0_1+484>>2]+28>>2]=1}function $957($0_1,$1_1){return($132($0_1)|0)!=0|($0_1|32)-97>>>0<6}function $82($0_1){return(HEAP32[$0_1+4>>2]-HEAP32[$0_1>>2]|0)/36|0}function $76($0_1){return(HEAP32[$0_1+4>>2]-HEAP32[$0_1>>2]|0)/20|0}function $61($0_1){return(HEAP32[$0_1+4>>2]-HEAP32[$0_1>>2]|0)/12|0}function $59($0_1,$1_1){return HEAP32[$0_1>>2]+Math_imul($1_1,20)|0}function $133($0_1,$1_1){if(!$0_1){return}HEAPF64[$0_1+128>>3]=$1_1}function $1126($0_1){$0_1=$0_1|0;HEAP32[HEAP32[$0_1+24>>2]+36>>2]=1}function $805($0_1){return HEAP32[$13($0_1)>>2]-HEAP32[$0_1>>2]>>2}function $712($0_1,$1_1){HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+($1_1<<2)}function $588($0_1,$1_1){if(!$0_1){return 0}return $435($0_1,$1_1)}function $456($0_1,$1_1){return HEAP32[$0_1>>2]-HEAP32[$1_1>>2]>>2}function $388($0_1,$1_1){return HEAP32[$0_1>>2]-HEAP32[$1_1>>2]>>3}function $1269($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;$135($0_1,31317)}function $1268($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;$533($0_1,57248)}function $1267($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;$135($0_1,31326)}function $1266($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;$533($0_1,57268)}function $72($0_1){HEAP32[HEAP32[$0_1>>2]+4>>2]=HEAP32[$0_1+4>>2]}function $691($0_1){$170($0_1+328|0);$702($0_1+252|0);return $0_1}function $664($0_1,$1_1){if(!$0_1){return}HEAP32[$0_1+24>>2]=$1_1}function $625($0_1){return HEAP32[$0_1+44>>2]==HEAP32[$0_1+48>>2]}function $229($0_1){return HEAP32[$4($0_1)>>2]-HEAP32[$0_1>>2]>>5}function $228($0_1){return HEAP32[$4($0_1)>>2]-HEAP32[$0_1>>2]>>1}function $20($0_1,$1_1){fimport$18($0_1|0,63156,+HEAP32[$1_1>>2])}function $199($0_1,$1_1){return HEAPU32[$0_1>>2]>2]}function $169($0_1){HEAP32[$0_1>>2]=HEAP32[$0_1>>2]-8;return $0_1}function $159($0_1){return HEAP32[$4($0_1)>>2]-HEAP32[$0_1>>2]>>2}function $142($0_1){return HEAP32[$4($0_1)>>2]-HEAP32[$0_1>>2]>>3}function $1253($0_1){$0_1=$0_1|0;return $405(72336,72348,28070)|0}function $1251($0_1){$0_1=$0_1|0;return $404(72352,72364,57292)|0}function $1249($0_1){$0_1=$0_1|0;return $405(72368,72380,34205)|0}function $1247($0_1){$0_1=$0_1|0;return $404(72384,72396,57328)|0}function $1245($0_1){$0_1=$0_1|0;return $405(72400,72412,33881)|0}function $1243($0_1){$0_1=$0_1|0;return $404(72416,72428,57364)|0}function $1241($0_1){$0_1=$0_1|0;return $405(72432,72444,30661)|0}function $1239($0_1){$0_1=$0_1|0;return $404(72448,72460,57448)|0}function $117($0_1){HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+8;return $0_1}function $1003($0_1){$0_1=$0_1|0;return $605(HEAP32[$0_1+4>>2])|0}function $919($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;$858($0_1,1,45)}function $918($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;$931($0_1,1,45)}function $632($0_1,$1_1){return Atomics.add(HEAP32,$0_1>>2,$1_1)}function $187($0_1){return HEAP32[$4($0_1)>>2]-HEAP32[$0_1>>2]|0}function $143($0_1){HEAP32[HEAP32[$0_1+8>>2]>>2]=HEAP32[$0_1>>2]}function $127($0_1,$1_1){return HEAP32[$0_1>>2]==HEAP32[$1_1>>2]}function $893($0_1,$1_1){return HEAP32[$0_1>>2]>2]}function $798($0_1,$1_1,$2_1){wasm2js_memory_copy($1_1,$2_1,36)}function $227($0_1){return HEAP32[$0_1+4>>2]-HEAP32[$0_1>>2]>>1}function $158($0_1,$1_1){$789($0_1,$1_1);$28($0_1+4|0,$1_1+4|0)}function $120($0_1){return HEAP32[$0_1+4>>2]-HEAP32[$0_1>>2]>>5}function $763($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;return $1_1|0}function $728($0_1){HEAP32[$0_1>>2]=HEAP32[HEAP32[$0_1>>2]>>2]}function $478($0_1,$1_1){$100($0_1);$938($0_1,$1_1);$762($0_1)}function $470($0_1,$1_1){$28($0_1,$1_1);$28($0_1+4|0,$1_1+4|0)}function $21($0_1){return HEAP32[$0_1+4>>2]-HEAP32[$0_1>>2]>>2}function $12($0_1){return HEAP32[$0_1+4>>2]-HEAP32[$0_1>>2]>>3}function $100($0_1){return HEAP32[$0_1+4>>2]-HEAP32[$0_1>>2]|0}function $774($0_1,$1_1){$76($0_1);$943($0_1,$1_1);$769($0_1)}function $715($0_1){return HEAP32[$0_1>>2]==HEAP32[$0_1+4>>2]}function $502($0_1,$1_1){$21($0_1);$808($0_1,$1_1);$393($0_1)}function $467($0_1){return Atomics.add(HEAP32,$0_1>>2,-1)-1|0}function $194($0_1,$1_1,$2_1){HEAP32[$1_1>>2]=HEAP32[$2_1>>2]}function $160($0_1){$0_1=HEAP32[$0_1>>2];if($0_1){$953($0_1)}}function $969($0_1){HEAP32[$0_1+4>>2]=HEAP32[$0_1+4>>2]|8192}function $799($0_1,$1_1,$2_1){return $520($0_1,$1_1,$2_1,36)}function $60($0_1,$1_1){return(($0_1+$1_1|0)-1|0)/($1_1|0)|0}function $517($0_1,$1_1,$2_1){return $520($0_1,$1_1,$2_1,20)}function $512($0_1,$1_1,$2_1){return $520($0_1,$1_1,$2_1,12)}function $348($0_1){$0_1=$0_1|0;$294($0_1+8|0);return $0_1|0}function $346($0_1){$0_1=$0_1|0;$294($0_1+4|0);return $0_1|0}function $702($0_1){$698($0_1,HEAP32[$0_1+8>>2]);$266($0_1)}function $667($0_1){if(!$0_1){return}HEAPF32[$0_1+40>>2]=.5}function $138($0_1,$1_1){HEAP32[$0_1+8>>2]=$1_1|-2147483648}function $666($0_1){if(!$0_1){return}HEAPF32[$0_1+44>>2]=5}function $663($0_1){if(!$0_1){return}HEAP32[$0_1+36>>2]=16}function $660($0_1){if(!$0_1){return}HEAP32[$0_1+32>>2]=6} +function $461($0_1,$1_1){wasm2js_memory_copy($0_1,$1_1,36)}function $401($0_1,$1_1,$2_1){HEAP8[$1_1|0]=HEAPU8[$2_1|0]}function $386($0_1,$1_1){return($0_1|0)<($1_1|0)?$0_1:$1_1}function $29($0_1,$1_1){return HEAP32[$0_1>>2]+($1_1<<3)|0}function $269($0_1,$1_1){return($0_1|0)>($1_1|0)?$0_1:$1_1}function $25($0_1,$1_1){return HEAP32[$0_1>>2]+($1_1<<5)|0}function $148($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;$18($0_1)}function $1237($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;return 0}function $1236($0_1){$0_1=$0_1|0;return HEAP32[$0_1+12>>2]}function $9($0_1,$1_1){return HEAP32[$0_1>>2]+($1_1<<2)|0}function $748($0_1){HEAP32[$0_1+4>>2]=8;$223($0_1+12|0,8)}function $736($0_1,$1_1){wasm2js_memory_fill($0_1,0,$1_1)}function $662($0_1){if(!$0_1){return}HEAP32[$0_1+28>>2]=6}function $628($0_1){return($0_1<<1)+16777216>>>0<16777217}function $619($0_1){return Atomics.add(HEAP32,$0_1>>2,-1)}function $349($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0;return-1}function $17($0_1){if($0_1){$1(HEAP32[$0_1>>2]);$1($0_1)}}function $1210($0_1){$0_1=$0_1|0;return HEAP32[$0_1+4>>2]}function $1209($0_1){$0_1=$0_1|0;return HEAP32[$0_1+8>>2]}function $80($0_1,$1_1){HEAP32[$0_1>>2]=$1_1;return $0_1}function $129($0_1,$1_1){HEAP32[$0_1>>2]=HEAP32[$1_1>>2]}function $58($0_1){return $563(HEAP32[$0_1>>2])<<24>>24}function $564($0_1,$1_1){return $549($0_1)^$549($1_1)^1}function $558($0_1,$1_1){return $548($0_1)^$548($1_1)^1}function $210($0_1){return HEAP32[$0_1+8>>2]&2147483647}function $1273($0_1){$0_1=$0_1|0;return HEAP8[$0_1+8|0]}function $1272($0_1){$0_1=$0_1|0;return HEAP8[$0_1+9|0]}function $1204($0_1){$0_1=$0_1|0;return $15($0_1+4|0)|0}function $1198($0_1){$0_1=$0_1|0;$1(HEAP32[$0_1+12>>2])}function $598($0_1,$1_1,$2_1){$602($0_1,$1_1,$2_1,0,0)}function $573($0_1,$1_1){return HEAP32[$0_1>>2]+$1_1|0}function $1384($0_1){$0_1=$0_1|0;return $966($0_1,0)|0}function $1383($0_1){$0_1=$0_1|0;return $966($0_1,1)|0}function $1377($0_1){$0_1=$0_1|0;return $960($0_1,0)|0}function $1376($0_1){$0_1=$0_1|0;return $960($0_1,1)|0}function $890($0_1){HEAP32[$0_1>>2]=52048;return $0_1}function $581($0_1,$1_1){$583($0_1,$1_1);fimport$26()}function $482($0_1){HEAP32[$0_1>>2]=63520;return $0_1}function $416($0_1,$1_1){return $15($0_1)+($1_1<<2)|0}function $335($0_1){HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+1}function $220($0_1){HEAP32[$0_1>>2]=HEAP32[$0_1>>2]+4}function $110($0_1,$1_1){HEAP8[$0_1|0]=HEAPU8[$1_1|0]}function $818($0_1){$229($0_1);$120($0_1);$229($0_1)}function $788($0_1){$228($0_1);$227($0_1);$228($0_1)}function $75($0_1){$562(HEAP32[$0_1>>2]);return $0_1}function $74($0_1){$555(HEAP32[$0_1>>2]);return $0_1}function $557($0_1){$187($0_1);$100($0_1);$187($0_1)}function $524($0_1,$1_1){return HEAP32[$0_1+$1_1>>2]}function $225($0_1,$1_1,$2_1){return $127($1_1,$2_1)}function $1305($0_1){$0_1=$0_1|0;$897($0_1);$1($0_1)}function $1291($0_1){$0_1=$0_1|0;$892($0_1);$1($0_1)}function $1282($0_1){$0_1=$0_1|0;$900($0_1);$1($0_1)}function $1275($0_1){$0_1=$0_1|0;$881($0_1);$1($0_1)}function $1274($0_1){$0_1=$0_1|0;$880($0_1);$1($0_1)}function $1207($0_1){$0_1=$0_1|0;$485($0_1);$1($0_1)}function $981($0_1){$0_1=$0_1|0;$430($0_1);$1($0_1)}function $977($0_1){$0_1=$0_1|0;$424($0_1);$1($0_1)}function $965($0_1){$186($0_1);$76($0_1);$186($0_1)}function $855($0_1){$0_1=$0_1|0;$856($0_1);$1($0_1)}function $826($0_1){$197($0_1);$82($0_1);$197($0_1)}function $618($0_1){Atomics.store(HEAP32,$0_1>>2,0)}function $575($0_1){$0_1=$0_1|0;return $294($0_1)|0}function $498($0_1){$82($0_1);$825($0_1);$824($0_1)}function $431($0_1){$0_1=$0_1|0;$294($0_1);$1($0_1)}function $381($0_1){Atomics.add(HEAP32,$0_1+4>>2,1)}function $379($0_1,$1_1){return $0_1<$1_1?$0_1:$1_1}function $334($0_1){$147($0_1);$61($0_1);$147($0_1)}function $331($0_1){$159($0_1);$21($0_1);$159($0_1)}function $325($0_1){$142($0_1);$12($0_1);$142($0_1)}function $231($0_1){$12($0_1);$819($0_1);$490($0_1)}function $224($0_1){return!($0_1-1&$0_1)&$0_1>>>0>2}function $221($0_1,$1_1){return $59($0_1+16|0,$1_1)}function $177($0_1){return($0_1|0)==32|$0_1-9>>>0<5}function $1189($0_1){$0_1=$0_1|0;HEAP32[15938]=$0_1}function $796($0_1){wasm2js_memory_fill($0_1,0,36)}function $327($0_1){return $489(HEAP32[$0_1+4>>2])}function $128($0_1){return HEAPU8[$0_1+11|0]>>>7|0}function $806($0_1,$1_1){return $844($0_1,$1_1,2)}function $790($0_1,$1_1){return $199($0_1,$1_1)^1}function $462($0_1,$1_1){return($1_1-$0_1|0)/12|0}function $410($0_1){$0_1=$0_1|0;return 2147483647}function $368($0_1){Atomics.sub(HEAP32,$0_1>>2,1)}function $209($0_1){HEAP32[$0_1>>2]=0;return $0_1}function $190($0_1){Atomics.add(HEAP32,$0_1>>2,1)}function $182($0_1,$1_1){$80($209($0_1)+4|0,$1_1)}function $144($0_1,$1_1){return($0_1|0)==($1_1|0)}function $136($0_1,$1_1){return $844($0_1,$1_1,3)}function $96($0_1,$1_1){return $564($0_1,$1_1)^1}function $95($0_1,$1_1){return $558($0_1,$1_1)^1}function $78($0_1,$1_1){return $127($0_1,$1_1)^1}function $64($0_1){return Math_fround($0_1*$0_1)}function $415($0_1,$1_1){$0_1=$0_1|0;$1_1=$1_1|0}function $339($0_1,$1_1){HEAP32[$0_1+72>>2]=$1_1}function $323($0_1){return $282($0_1,1073741823)}function $278($0_1){return $489(HEAP32[$0_1>>2])}function $258($0_1){$1(HEAP32[$0_1>>2]);$1($0_1)}function $839($0_1){return $282($0_1,214748364)}function $820($0_1){return $282($0_1,119304647)}function $753($0_1,$1_1){return $749($0_1,$1_1)}function $747($0_1,$1_1){HEAP32[$0_1+8>>2]=$1_1}function $57($0_1){return $556(HEAP32[$0_1>>2])}function $552($0_1){return $144($0_1,-1)?0:$0_1}function $510($0_1){return $282($0_1,357913941)}function $475($0_1,$1_1){return $765($0_1,$1_1)}function $432($0_1,$1_1){return $576($0_1,$1_1)}function $384($0_1,$1_1){HEAP8[$0_1+100|0]=$1_1}function $382($0_1,$1_1){return $731($0_1,$1_1)}function $285($0_1,$1_1){return $274($0_1,$1_1)}function $270($0_1){return $282($0_1,536870911)}function $260($0_1,$1_1){return $116($0_1,$1_1)}function $16($0_1,$1_1){return $15($0_1)+$1_1|0}function $1206($0_1){$0_1=$0_1|0;$1($484($0_1))}function $1205($0_1){$0_1=$0_1|0;$1($785($0_1))}function $104($0_1){return HEAP32[$34($0_1)>>2]}function $98($0_1,$1_1){HEAP32[$0_1+4>>2]=$1_1}function $967($0_1){$0_1=$0_1|0;$1($430($0_1))}function $962($0_1){$0_1=$0_1|0;$1($424($0_1))}function $961($0_1){$943($0_1,HEAP32[$0_1>>2])}function $920($0_1){$843($0_1,HEAP32[$0_1>>2])}function $898($0_1){$874($0_1,HEAP32[$0_1>>2])}function $878($0_1){$0_1=$0_1|0;$1($531($0_1))}function $838($0_1,$1_1){$186($0_1);$186($0_1)}function $831($0_1,$1_1){$187($0_1);$187($0_1)}function $828($0_1){$808($0_1,HEAP32[$0_1>>2])}function $825($0_1){$809($0_1,HEAP32[$0_1>>2])}function $819($0_1){$395($0_1,HEAP32[$0_1>>2])}function $749($0_1,$1_1){return $80($0_1,$1_1)}function $69($0_1,$1_1){return $564($0_1,$1_1)}function $68($0_1,$1_1){return $558($0_1,$1_1)}function $551($0_1){$938($0_1,HEAP32[$0_1>>2])}function $509($0_1,$1_1){$147($0_1);$147($0_1)}function $497($0_1,$1_1){return $25($0_1,$1_1)}function $429($0_1){$0_1=$0_1|0;$1($348($0_1))}function $426($0_1){$0_1=$0_1|0;$1($346($0_1))}function $389($0_1,$1_1){$142($0_1);$142($0_1)}function $31($0_1,$1_1){return $127($0_1,$1_1)}function $273($0_1,$1_1){$159($0_1);$159($0_1)}function $1218($0_1){$0_1=$0_1|0;global$0=$0_1}function $111($0_1,$1_1){HEAP8[$0_1+11|0]=$1_1}function $732($0_1){return HEAP32[$0_1+12>>2]}function $63($0_1){return HEAP32[$0_1>>2]+8|0}function $428($0_1){return!HEAP32[$0_1+16>>2]}function $208($0_1){$0_1=$0_1|0;return $0_1|0}function $1222($0_1){$0_1=$0_1|0;return 30716}function $1221($0_1){$0_1=$0_1|0;return 33683}function $1220($0_1){$0_1=$0_1|0;return 31117}function $105($0_1,$1_1){HEAP32[$0_1>>2]=$1_1}function $1001(){Atomics.store(HEAP8,67928,1)}function $956($0_1){if($958($0_1)){$1($0_1)}}function $576($0_1,$1_1){return $1_1-$0_1>>2}function $344($0_1,$1_1){$535($0_1,$1_1+4|0)}function $30($0_1,$1_1){$535($0_1,$1_1+28|0)}function $943($0_1,$1_1){$235($0_1,$1_1,20)}function $914($0_1){return $162($0_1,72100)}function $913($0_1){return $162($0_1,72092)}function $908($0_1){return $162($0_1,72116)}function $907($0_1){return $162($0_1,72108)}function $843($0_1,$1_1){$235($0_1,$1_1,12)}function $809($0_1,$1_1){$235($0_1,$1_1,36)}function $765($0_1,$1_1){return $1_1-$0_1|0}function $574($0_1){return $851($0_1,51176)}function $559($0_1){return $851($0_1,51336)}function $545($0_1){return $162($0_1,72232)}function $422($0_1){return $162($0_1,72224)}function $293($0_1){return $162($0_1,72272)}function $291($0_1){return $162($0_1,72280)}function $1134($0_1){$0_1=$0_1|0;$679($0_1)}function $106($0_1){return $162($0_1,72216)}function $101($0_1){return $162($0_1,72208)}function $938($0_1,$1_1){$235($0_1,$1_1,1)}function $808($0_1,$1_1){$235($0_1,$1_1,4)}function $783($0_1,$1_1){$235($0_1,$1_1,2)}function $782($0_1,$1_1){HEAP16[$1_1>>1]=0}function $411($0_1){$0_1=$0_1|0;return 127}function $395($0_1,$1_1){$235($0_1,$1_1,8)}function $332($0_1){return!HEAP32[$0_1>>2]}function $1252($0_1){$0_1=$0_1|0;$8(72336)}function $1250($0_1){$0_1=$0_1|0;$8(72352)}function $1248($0_1){$0_1=$0_1|0;$8(72368)}function $1246($0_1){$0_1=$0_1|0;$8(72384)}function $1244($0_1){$0_1=$0_1|0;$8(72400)}function $1242($0_1){$0_1=$0_1|0;$8(72416)}function $1240($0_1){$0_1=$0_1|0;$8(72432)}function $1238($0_1){$0_1=$0_1|0;$8(72448)}function $873($0_1){HEAP32[$0_1>>2]=$43()}function $762($0_1){$187($0_1);$100($0_1)}function $622($0_1){$191($0_1,2147483647)}function $40($0_1){return $705($0_1,$0_1)}function $132($0_1){return $0_1-48>>>0<10}function $868($0_1,$1_1){$358($0_1,$1_1)}function $857($0_1){HEAP32[$0_1+12>>2]=0}function $833($0_1){return $282($0_1,-1)}function $824($0_1){$197($0_1);$82($0_1)}function $81($0_1){return $76($0_1+16|0)}function $769($0_1){$186($0_1);$76($0_1)}function $684($0_1){$0_1=$0_1|0;return 2}function $568($0_1){$0_1=$0_1|0;return-1}function $499($0_1){$0_1=$0_1|0;return 1}function $490($0_1){$142($0_1);$12($0_1)}function $393($0_1){$159($0_1);$21($0_1)}function $391($0_1){$147($0_1);$61($0_1)}function $373($0_1){$0_1=$0_1|0;return 4}function $362(){$633(68152);return 68156}function $19($0_1){$315(HEAP32[$0_1>>2])}function $88($0_1){$0_1=$0_1|0;return 0}function $870($0_1){$0_1=$0_1|0;abort()}function $42($0_1){$0_1=$0_1|0;$1($0_1)}function $342($0_1){return $0_1>>>0<11}function $804($0_1){HEAP32[$0_1>>2]=0}function $735($0_1){return $0_1+104|0}function $722($0_1){return $0_1+124|0}function $407($0_1){return $0_1>>>0<2}function $259($0_1){return $0_1+116|0}function $1188(){return HEAP32[15938]}function $471($0_1){return $0_1+60|0}function $875($0_1,$1_1){$209($1_1)}function $739($0_1){HEAP8[$0_1|0]=0}function $450(){$234(30288);abort()}function $45($0_1){return $0_1+16|0}function $375($0_1){$168($0_1+24|0)}function $281(){$234(15336);abort()}function $230(){$234(25431);abort()}function $22(){return global$3+20|0}function $153($0_1){return $0_1&255}function $150($0_1){return!$6($0_1)}function $137(){$234(31195);abort()}function $13($0_1){return $0_1+12|0}function $772($0_1){$168($0_1+4|0)}function $757($0_1){$930($0_1+4|0)}function $682($0_1){$691($0_1+8|0)}function $55(){fimport$0();abort()}function $34($0_1){return $0_1+4|0}function $265(){$234(1057);abort()}function $1219(){return global$0|0}function $988(){return global$3|0}function $840($0_1){$519($0_1,20)}function $729($0_1){$79($0_1+4|0)}function $491($0_1){$519($0_1,36)}function $4($0_1){return $0_1+8|0}function $505($0_1){$519($0_1,1)}function $215($0_1){$191($0_1,1)}function $163($0_1){$0_1=$0_1|0}function $810($0_1){$170($0_1)}function $758($0_1){$268($0_1)}function $53($0_1){$73($0_1,0)}function $242($0_1){$209($0_1)}function $1235(){$55();abort()}function $508($0_1){$13($0_1)}function $390($0_1){$38($0_1)}function $3($0_1){$830($0_1)} // EMSCRIPTEN_END_FUNCS -var Bb=[xO,gu,ju,tu];var Cb=[yO,jv];var Db=[zO,cu];var Eb=[AO,Ei,_x,MB,NB,PB,QB,$B,aC,cC,dC,$C,fD,kD,lD,qD,rD,MF,TF,UF,VF,WF,XF,YF,ZF,uG,BG,CG,DG,EG,FG,GG,HG,pH,qH,vH,AH,BH,GH,LH,MH,RH,WH,XH,aI,YI,ZI,$I,oJ,pJ,rJ,WJ,XJ,bK,cK,hJ,iJ,kJ,xJ,yJ,AJ,oN,ot,$q,iB,_q,Iq,Jq,Kq,Lq,Aq,Dr,Fr,kt,Bt,Dt,Kt,Lt,Tt,Ut,Vt,_t,$t,mu,ou,qu,vu,xu,zu,uv,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO,AO];var Fb=[BO,_y];var Gb=[CO,nl,wp,Dp,RB,TB,eC,gC,bD,hD,mD,sD,JJ,LJ,NJ,mK,oK,qK,ze,Xq,Mr,Er,Gr,Jr,Tr,Sr,Vr,Ur,mt,Et,Gt,Ht,It,Ot,Rt,St,Xt,Yt,Zt,iw,Fv,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO,CO];var Hb=[DO,$x,ey,fy,sz,JB,OB,SB,YB,bC,fC,aD,gD,zD,GD,MI,RI,KJ,MJ,PJ,iK,nK,pK,sK,UM,uN,ht,Vp,Wp,zt,Nt,Pt,Qt,Wt,cw,Pv,$z,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO,DO];var Ib=[EO,ay,OJ,jK,kK,lK,rK,Xp,Yp,rw,EO,EO,EO,EO,EO,EO];var Jb=[FO,nF,oF,EF,FF,FO,FO,FO];var Kb=[GO,xD,ED,iF,jF,lF,pF,zF,AF,CF,GF,XI,_I,nJ,qJ,QJ,tK,gJ,jJ,wJ,zJ,aq,bq,GO,GO,GO,GO,GO,GO,GO,GO,GO];var Lb=[HO,AI,GI,HO];var Mb=[IO,LD,MD,ND,OD,PD,QD,RD,SD,TD,UD,VD,HE,IE,JE,KE,LE,ME,NE,OE,PE,QE,RE,kF,mF,BF,DF,NF,OF,PF,QF,RF,vG,wG,xG,yG,zG,BI,HI,Zp,_p,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO,IO];var Nb=[JO,dH,jH,fI,gI,qI,rI,JO];var Ob=[KO,SF,AG,VI,WI,lJ,mJ,eJ,fJ,uJ,vJ,KO,KO,KO,KO,KO];var Pb=[LO,NM,gN,LO];var Qb=[MO,di,ei,gi,hi,Ci,Di,YL,ll,ml,ol,up,vp,xp,Bp,Cp,Ep,CB,EB,GB,HB,VB,WB,lC,mC,nC,oC,qC,rC,sC,tC,vC,wC,xC,yC,AC,BC,CC,DC,ZC,dD,iD,oD,uD,vD,wD,CD,DD,JD,KD,FE,GE,gF,hF,xF,yF,KF,LF,sG,tG,bH,cH,hH,iH,nH,oH,yH,zH,JH,KH,UH,VH,dI,eI,oI,pI,yI,zI,EI,FI,KI,LI,PI,QI,BD,dJ,UI,sJ,tJ,EJ,FJ,HJ,IJ,UJ,VJ,$J,aK,gK,hK,uK,vK,wK,QM,RM,SM,TM,bN,mN,nN,sN,tN,vN,Re,Wq,$p,dq,Hq,Bq,Cq,Dq,cr,dr,Us,Vs,Ds,ws,ps,gs,Xr,Rr,Lr,Br,Cr,Gs,Js,jt,nt,pt,rt,tt,au,bE,dE,hI,jB,hN,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO,MO];var Rb=[NO,eu,iu,ru];var Sb=[OO,IB,XB,_C,eD,jD,pD,rH,sH,tH,uH,wH,xH,CH,DH,EH,FH,HH,IH,NH,OH,PH,QH,SH,TH,YH,ZH,_H,$H,bI,cI,OI,TI,YJ,ZJ,_J,dK,eK,fK,it,cq,nq,Ts,Cs,cs,tr,lt,qt,st,ku,nu,pu,uu,wu,yu,zv,$y,OO,OO,OO,OO,OO,OO,OO];var Tb=[PO,ov,Zu,PO];var Ub=[QO,xq,ev,QO];var Vb=[RO,LB,_B,yD,FD,XM,eN,yN,Ie,ys,As,is,js,ks,ls,ms,ns,os,vr,xr,yr,Fs,Is,Hs,at,bt,dt,ct,ft,RO,RO,RO];var Wb=[SO,WM,dN,xN,lq,mq,qs,rs,ts,us,vs,as,$r,_r,bs,Zr,Yr,SO,SO,SO,SO,SO,SO,SO,SO,SO,SO,SO,SO,SO,SO,SO];var Xb=[TO,KB,ZB,NI,SI,VM,cN,wN];var Yb=[UO,xs,zs,hs,ds,es,fs,UO];return{__GLOBAL__I_000101:RC,__GLOBAL__sub_I_ARToolKitJS_cpp:ut,__GLOBAL__sub_I_bind_cpp:vw,__GLOBAL__sub_I_iostream_cpp:SC,__ZSt18uncaught_exceptionv:LM,___cxa_can_catch:GN,___cxa_is_pointer_type:HN,___emscripten_environ_constructor:uB,___errno_location:cy,___getTypeName:Zx,___muldi3:JN,___udivdi3:ON,__get_daylight:wB,__get_environ:yB,__get_timezone:xB,__get_tzname:vB,_bitshift64Lshr:PN,_bitshift64Shl:QN,_free:jB,_i64Add:KN,_i64Subtract:LN,_llvm_bswap_i32:RN,_malloc:iB,_memcpy:VN,_memmove:WN,_memset:XN,_pthread_cond_broadcast:YN,_realloc:lB,_roundf:ZN,_saveSetjmp:SN,_sbrk:_N,_setThrew:UN,_testSetjmp:TN,dynCall_di:$N,dynCall_dii:aO,dynCall_i:bO,dynCall_ii:cO,dynCall_iidiiii:dO,dynCall_iii:eO,dynCall_iiii:fO,dynCall_iiiii:gO,dynCall_iiiiid:hO,dynCall_iiiiii:iO,dynCall_iiiiiid:jO,dynCall_iiiiiii:kO,dynCall_iiiiiiii:lO,dynCall_iiiiiiiii:mO,dynCall_v:nO,dynCall_vi:oO,dynCall_vid:pO,dynCall_vii:qO,dynCall_viid:rO,dynCall_viii:sO,dynCall_viiii:tO,dynCall_viiiii:uO,dynCall_viiiiii:vO,dynCall_viiiiiii:wO,establishStackSpace:ac,stackAlloc:Zb,stackRestore:$b,stackSave:_b}}) +; + bufferView = HEAPU8; + var FUNCTION_TABLE = Table([null, $1167, $991, $665, $1018, $1134, $5, $1135, $1129, $1133, $1131, $1132, $1130, $992, $856, $208, $830, $785, $1203, $484, $1206, $485, $1207, $1205, $1204, $208, $42, $1202, $1201, $468, $42, $163, $1199, $468, $42, $1198, $1197, $468, $1196, $1195, $1194, $686, $1148, $1187, $1191, $1190, $1185, $1183, $1184, $1182, $1181, $1186, $1156, $1155, $1158, $1157, $1153, $1154, $1152, $1151, $1192, $1150, $1149, $1193, $1163, $1161, $1162, $1189, $1188, $1180, $1179, $1178, $1177, $1165, $1164, $1168, $1166, $1176, $1175, $1174, $1173, $1172, $1171, $1170, $1169, $1160, $1159, $1146, $1145, $1144, $1143, $1142, $1141, $1140, $1139, $1138, $1137, $1136, $163, $1122, $1128, $1127, $1126, $1125, $677, $1124, $1123, $1121, $1120, $1119, $1118, $1117, $163, $1116, $1115, $1114, $1113, $1112, $1111, $1110, $1109, $1108, $1107, $1050, $1051, $1052, $1053, $1054, $1055, $1056, $1048, $1047, $1046, $1045, $1044, $1043, $1042, $1041, $1040, $1039, $1038, $1037, $1036, $1035, $1034, $1033, $1032, $1031, $1030, $1029, $1028, $1027, $1026, $1049, $1057, $1058, $1059, $163, $1106, $1105, $1104, $1103, $1102, $1101, $1100, $1099, $1098, $1097, $1096, $1095, $1094, $1093, $1092, $1091, $1090, $1089, $1088, $88, $1087, $1086, $1085, $1084, $1083, $1082, $1081, $1080, $1079, $1078, $1077, $1076, $1075, $1074, $1073, $1072, $1071, $1070, $1069, $1068, $1067, $1066, $1065, $1064, $1063, $1062, $1061, $1060, $1025, $448, $1024, $1023, $1022, $1021, $1020, $659, $658, $1019, $306, $1017, $163, $1016, $1015, $1014, $1013, $1012, $1011, $1010, $1009, $1008, $1007, $163, $1006, $1005, $652, $1000, $999, $998, $997, $635, $88, $987, $986, $985, $984, $983, $430, $981, $415, $572, $571, $569, $88, $88, $980, $568, $979, $349, $978, $349, $348, $429, $566, $565, $346, $426, $561, $560, $424, $977, $415, $572, $571, $569, $88, $88, $976, $568, $975, $349, $974, $349, $348, $429, $566, $565, $346, $426, $561, $560, $575, $431, $575, $431, $294, $431, $163, $1386, $967, $1385, $1384, $1383, $1382, $967, $1381, $963, $1380, $1379, $962, $1378, $1377, $1376, $1375, $962, $1374, $963, $1373, $1372, $1, $163, $1304, $894, $1264, $1262, $1260, $1258, $1256, $1254, $1252, $1250, $1248, $1246, $1244, $1242, $1240, $1238, $897, $1305, $1303, $892, $1291, $1290, $1289, $1288, $1287, $763, $1286, $1285, $1284, $900, $1282, $1281, $1280, $1279, $1278, $88, $1277, $1276, $881, $1275, $1273, $1272, $1271, $1269, $1267, $880, $1274, $1209, $1236, $1270, $1268, $1266, $208, $42, $42, $1302, $1301, $1300, $1299, $1298, $1297, $1296, $1295, $763, $1294, $1293, $1292, $42, $891, $891, $333, $499, $499, $1283, $499, $42, $887, $886, $333, $88, $88, $885, $373, $42, $887, $886, $333, $88, $88, $885, $373, $42, $884, $883, $333, $88, $88, $882, $373, $42, $884, $883, $333, $88, $88, $882, $373, $208, $42, $1371, $1370, $1369, $208, $42, $1368, $1367, $1366, $42, $1365, $1364, $1363, $1362, $946, $946, $1361, $1360, $1359, $1358, $1357, $42, $1356, $1355, $1354, $1353, $937, $937, $1352, $1351, $1350, $1349, $1348, $42, $1347, $1346, $1345, $1344, $1343, $1342, $1341, $1340, $42, $1339, $1338, $1336, $1335, $1334, $1333, $1332, $1331, $208, $42, $684, $1330, $1329, $1328, $1327, $1326, $1325, $1265, $1261, $1257, $1245, $1241, $1253, $1249, $208, $42, $684, $1324, $1323, $1322, $1321, $1320, $1319, $1263, $1259, $1255, $1243, $1239, $1251, $1247, $531, $878, $1318, $531, $878, $1317, $42, $411, $411, $148, $148, $148, $919, $88, $204, $204, $42, $411, $411, $148, $148, $148, $919, $88, $204, $204, $42, $410, $410, $148, $148, $148, $918, $88, $204, $204, $42, $410, $410, $148, $148, $148, $918, $88, $204, $204, $42, $1316, $1315, $42, $1314, $1312, $42, $1311, $1310, $42, $1309, $1308, $42, $901, $1307, $415, $42, $901, $1306, $415, $870, $1235, $870, $1237, $163, $208, $42, $163, $163, $1234, $42, $1233, $1224, $1227, $1232, $42, $1225, $1228, $1231, $42, $1226, $1229, $1230, $42, $1221, $42, $1220, $42, $1222, $855, $1210, $855]); + $1208(); + function __wasm_memory_size() { + return buffer.byteLength / 65536 | 0; +} + + return { + "_": $973, + "$": $7, + "aa": $1, + "ba": $22, + "ca": FUNCTION_TABLE, + "da": $988, + "ea": $1004, + "fa": $1003, + "ga": $1002, + "ha": $1216, + "ia": $1001, + "ja": $994, + "ka": $626, + "la": $990, + "ma": $989, + "na": $583, + "oa": $982, + "pa": $1219, + "qa": $1218, + "ra": $1217, + "sa": $1223, + "ta": $1215, + "ua": $1214, + "va": $1213, + "wa": $1212, + "xa": $1211 +}; +} + return asmFunc(asmLibraryArg); +} // EMSCRIPTEN_END_ASM -(asmGlobalArg,asmLibraryArg,buffer);var __GLOBAL__I_000101=Module["__GLOBAL__I_000101"]=asm["__GLOBAL__I_000101"];var __GLOBAL__sub_I_ARToolKitJS_cpp=Module["__GLOBAL__sub_I_ARToolKitJS_cpp"]=asm["__GLOBAL__sub_I_ARToolKitJS_cpp"];var __GLOBAL__sub_I_bind_cpp=Module["__GLOBAL__sub_I_bind_cpp"]=asm["__GLOBAL__sub_I_bind_cpp"];var __GLOBAL__sub_I_iostream_cpp=Module["__GLOBAL__sub_I_iostream_cpp"]=asm["__GLOBAL__sub_I_iostream_cpp"];var __ZSt18uncaught_exceptionv=Module["__ZSt18uncaught_exceptionv"]=asm["__ZSt18uncaught_exceptionv"];var ___cxa_can_catch=Module["___cxa_can_catch"]=asm["___cxa_can_catch"];var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=asm["___cxa_is_pointer_type"];var ___emscripten_environ_constructor=Module["___emscripten_environ_constructor"]=asm["___emscripten_environ_constructor"];var ___errno_location=Module["___errno_location"]=asm["___errno_location"];var ___getTypeName=Module["___getTypeName"]=asm["___getTypeName"];var ___muldi3=Module["___muldi3"]=asm["___muldi3"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var __get_daylight=Module["__get_daylight"]=asm["__get_daylight"];var __get_environ=Module["__get_environ"]=asm["__get_environ"];var __get_timezone=Module["__get_timezone"]=asm["__get_timezone"];var __get_tzname=Module["__get_tzname"]=asm["__get_tzname"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _free=Module["_free"]=asm["_free"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var _malloc=Module["_malloc"]=asm["_malloc"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var _memmove=Module["_memmove"]=asm["_memmove"];var _memset=Module["_memset"]=asm["_memset"];var _pthread_cond_broadcast=Module["_pthread_cond_broadcast"]=asm["_pthread_cond_broadcast"];var _realloc=Module["_realloc"]=asm["_realloc"];var _roundf=Module["_roundf"]=asm["_roundf"];var _saveSetjmp=Module["_saveSetjmp"]=asm["_saveSetjmp"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var _setThrew=Module["_setThrew"]=asm["_setThrew"];var _testSetjmp=Module["_testSetjmp"]=asm["_testSetjmp"];var establishStackSpace=Module["establishStackSpace"]=asm["establishStackSpace"];var stackAlloc=Module["stackAlloc"]=asm["stackAlloc"];var stackRestore=Module["stackRestore"]=asm["stackRestore"];var stackSave=Module["stackSave"]=asm["stackSave"];var dynCall_di=Module["dynCall_di"]=asm["dynCall_di"];var dynCall_dii=Module["dynCall_dii"]=asm["dynCall_dii"];var dynCall_i=Module["dynCall_i"]=asm["dynCall_i"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_iidiiii=Module["dynCall_iidiiii"]=asm["dynCall_iidiiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_iiiiid=Module["dynCall_iiiiid"]=asm["dynCall_iiiiid"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];var dynCall_iiiiiid=Module["dynCall_iiiiiid"]=asm["dynCall_iiiiiid"];var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=asm["dynCall_iiiiiii"];var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=asm["dynCall_iiiiiiii"];var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=asm["dynCall_iiiiiiiii"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vid=Module["dynCall_vid"]=asm["dynCall_vid"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_viid=Module["dynCall_viid"]=asm["dynCall_viid"];var dynCall_viii=Module["dynCall_viii"]=asm["dynCall_viii"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];var dynCall_viiiii=Module["dynCall_viiiii"]=asm["dynCall_viiiii"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_viiiiiii=Module["dynCall_viiiiiii"]=asm["dynCall_viiiiiii"];Module["asm"]=asm;if(memoryInitializer){if(!isDataURI(memoryInitializer)){memoryInitializer=locateFile(memoryInitializer)}if(ENVIRONMENT_IS_NODE||ENVIRONMENT_IS_SHELL){var data=Module["readBinary"](memoryInitializer);HEAPU8.set(data,GLOBAL_BASE)}else{addRunDependency("memory initializer");var applyMemoryInitializer=function(data){if(data.byteLength)data=new Uint8Array(data);HEAPU8.set(data,GLOBAL_BASE);if(Module["memoryInitializerRequest"])delete Module["memoryInitializerRequest"].response;removeRunDependency("memory initializer")};var doBrowserLoad=function(){Module["readAsync"](memoryInitializer,applyMemoryInitializer,function(){throw"could not load memory initializer "+memoryInitializer})};var memoryInitializerBytes=tryParseAsDataURI(memoryInitializer);if(memoryInitializerBytes){applyMemoryInitializer(memoryInitializerBytes.buffer)}else if(Module["memoryInitializerRequest"]){var useRequest=function(){var request=Module["memoryInitializerRequest"];var response=request.response;if(request.status!==200&&request.status!==0){var data=tryParseAsDataURI(Module["memoryInitializerRequestURL"]);if(data){response=data.buffer}else{console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+request.status+", retrying "+memoryInitializer);doBrowserLoad();return}}applyMemoryInitializer(response)};if(Module["memoryInitializerRequest"].response){setTimeout(useRequest,0)}else{Module["memoryInitializerRequest"].addEventListener("load",useRequest)}}else{doBrowserLoad()}}}function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};function run(args){args=args||Module["arguments"];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"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]&&status===0){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;exitRuntime();if(Module["onExit"])Module["onExit"](status)}Module["quit"](status,new ExitStatus(status))}function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}if(what!==undefined){out(what);err(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;throw"abort("+what+"). Build with -s ASSERTIONS=1 for more info."}Module["abort"]=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}Module["noExitRuntime"]=true;run(); + + + +)(asmLibraryArg)},instantiate:function(binary,info){return{then:function(ok){var module=new WebAssembly.Module(binary);ok({"module":module,"instance":new WebAssembly.Instance(module)})}}},RuntimeError:Error};wasmBinary=[];if(typeof WebAssembly!="object"){abort("no native wasm support detected")}var wasmMemory;var wasmModule;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort(text)}}var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.slice(idx,endPtr))}var str="";while(idx>10,56320|ch&1023)}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&c<=57343){len+=4;++i}else{len+=3}}return len}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;if(ENVIRONMENT_IS_PTHREAD){buffer=Module["buffer"]}function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||268435456;if(ENVIRONMENT_IS_PTHREAD){wasmMemory=Module["wasmMemory"];buffer=Module["buffer"]}else{if(Module["wasmMemory"]){wasmMemory=Module["wasmMemory"]}else{wasmMemory=new WebAssembly.Memory({"initial":INITIAL_MEMORY/65536,"maximum":INITIAL_MEMORY/65536,"shared":true});if(!(wasmMemory.buffer instanceof SharedArrayBuffer)){err("requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag");if(ENVIRONMENT_IS_NODE){console.log("(on node you may need: --experimental-wasm-threads --experimental-wasm-bulk-memory and also use a recent version)")}throw Error("bad memory")}}}if(wasmMemory){buffer=wasmMemory.buffer}INITIAL_MEMORY=buffer.byteLength;updateGlobalBufferAndViews(buffer);var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;function keepRuntimeAlive(){return noExitRuntime}function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;if(ENVIRONMENT_IS_PTHREAD)return;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();FS.ignorePermissions=false;TTY.init();callRuntimeCallbacks(__ATINIT__)}function postRun(){if(ENVIRONMENT_IS_PTHREAD)return;if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}function abort(what){if(ENVIRONMENT_IS_PTHREAD){postMessage({"cmd":"onAbort","arg":what})}else{if(Module["onAbort"]){Module["onAbort"](what)}}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(what);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}function isFileURI(filename){return filename.startsWith("file://")}var wasmBinaryFile;wasmBinaryFile="artoolkitNft.min.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}var binary=tryParseAsDataURI(file);if(binary){return binary}if(readBinary){return readBinary(file)}throw"both async and sync fetching of the wasm failed"}catch(err){abort(err)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch=="function"&&!isFileURI(wasmBinaryFile)){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}else{if(readAsync){return new Promise(function(resolve,reject){readAsync(wasmBinaryFile,function(response){resolve(new Uint8Array(response))},reject)})}}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;registerTLSInit(Module["asm"]["ea"]);wasmTable=Module["asm"]["ca"];addOnInit(Module["asm"]["_"]);wasmModule=module;if(!ENVIRONMENT_IS_PTHREAD){removeRunDependency("wasm-instantiate")}}if(!ENVIRONMENT_IS_PTHREAD){addRunDependency("wasm-instantiate")}function receiveInstantiationResult(result){receiveInstance(result["instance"],result["module"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(wasmBinaryFile)&&!isFileURI(wasmBinaryFile)&&!ENVIRONMENT_IS_NODE&&typeof fetch=="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiationResult)})})}else{return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}var tempDouble;var tempI64;var ASM_CONSTS={64232:function(){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=$a[i++];markerInfo["found"]=1;markerInfo["pose"][0]=$a[i++];markerInfo["pose"][1]=$a[i++];markerInfo["pose"][2]=$a[i++];markerInfo["pose"][3]=$a[i++];markerInfo["pose"][4]=$a[i++];markerInfo["pose"][5]=$a[i++];markerInfo["pose"][6]=$a[i++];markerInfo["pose"][7]=$a[i++];markerInfo["pose"][8]=$a[i++];markerInfo["pose"][9]=$a[i++];markerInfo["pose"][10]=$a[i++];markerInfo["pose"][11]=$a[i++]},64929:function(){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=-1;markerInfo["found"]=0;markerInfo["pose"][0]=0;markerInfo["pose"][1]=0;markerInfo["pose"][2]=0;markerInfo["pose"][3]=0;markerInfo["pose"][4]=0;markerInfo["pose"][5]=0;markerInfo["pose"][6]=0;markerInfo["pose"][7]=0;markerInfo["pose"][8]=0;markerInfo["pose"][9]=0;markerInfo["pose"][10]=0;markerInfo["pose"][11]=0},65549:($0,$1,$2,$3)=>{if(!artoolkit["multiEachMarkerInfo"]){artoolkit["multiEachMarkerInfo"]={}}var multiEachMarker=artoolkit["multiEachMarkerInfo"];multiEachMarker["visible"]=$0;multiEachMarker["pattId"]=$1;multiEachMarker["pattType"]=$2;multiEachMarker["width"]=$3},65823:function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11){var $a=arguments;var i=12;if(!artoolkit["markerInfo"]){artoolkit["markerInfo"]={pos:[0,0],line:[[0,0,0],[0,0,0],[0,0,0],[0,0,0]],vertex:[[0,0],[0,0],[0,0],[0,0]]}}var markerInfo=artoolkit["markerInfo"];markerInfo["area"]=$0;markerInfo["id"]=$1;markerInfo["idPatt"]=$2;markerInfo["idMatrix"]=$3;markerInfo["dir"]=$4;markerInfo["dirPatt"]=$5;markerInfo["dirMatrix"]=$6;markerInfo["cf"]=$7;markerInfo["cfPatt"]=$8;markerInfo["cfMatrix"]=$9;markerInfo["pos"][0]=$10;markerInfo["pos"][1]=$11;markerInfo["line"][0][0]=$a[i++];markerInfo["line"][0][1]=$a[i++];markerInfo["line"][0][2]=$a[i++];markerInfo["line"][1][0]=$a[i++];markerInfo["line"][1][1]=$a[i++];markerInfo["line"][1][2]=$a[i++];markerInfo["line"][2][0]=$a[i++];markerInfo["line"][2][1]=$a[i++];markerInfo["line"][2][2]=$a[i++];markerInfo["line"][3][0]=$a[i++];markerInfo["line"][3][1]=$a[i++];markerInfo["line"][3][2]=$a[i++];markerInfo["vertex"][0][0]=$a[i++];markerInfo["vertex"][0][1]=$a[i++];markerInfo["vertex"][1][0]=$a[i++];markerInfo["vertex"][1][1]=$a[i++];markerInfo["vertex"][2][0]=$a[i++];markerInfo["vertex"][2][1]=$a[i++];markerInfo["vertex"][3][0]=$a[i++];markerInfo["vertex"][3][1]=$a[i++];markerInfo["errorCorrected"]=$a[i++]},67158:($0,$1,$2,$3,$4,$5)=>{if(!artoolkit["frameMalloc"]){artoolkit["frameMalloc"]={}}var frameMalloc=artoolkit["frameMalloc"];frameMalloc["framepointer"]=$1;frameMalloc["framesize"]=$2;frameMalloc["camera"]=$3;frameMalloc["transform"]=$4;frameMalloc["videoLumaPointer"]=$5}};function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}function killThread(pthread_ptr){var worker=PThread.pthreads[pthread_ptr];delete PThread.pthreads[pthread_ptr];worker.terminate();__emscripten_thread_free_data(pthread_ptr);PThread.runningWorkers.splice(PThread.runningWorkers.indexOf(worker),1);worker.pthread_ptr=0}function cancelThread(pthread_ptr){var worker=PThread.pthreads[pthread_ptr];worker.postMessage({"cmd":"cancel"})}function cleanupThread(pthread_ptr){var worker=PThread.pthreads[pthread_ptr];assert(worker);PThread.returnWorkerToPool(worker)}function spawnThread(threadParams){var worker=PThread.getNewWorker();if(!worker){return 6}PThread.runningWorkers.push(worker);PThread.pthreads[threadParams.pthread_ptr]=worker;worker.pthread_ptr=threadParams.pthread_ptr;var msg={"cmd":"run","start_routine":threadParams.startRoutine,"arg":threadParams.arg,"pthread_ptr":threadParams.pthread_ptr};worker.runPthread=()=>{msg.time=performance.now();worker.postMessage(msg,threadParams.transferList)};if(worker.loaded){worker.runPthread();delete worker.runPthread}return 0}var PATH={isAbs:path=>path.charAt(0)==="/",splitPath:filename=>{var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:(parts,allowAboveRoot)=>{var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:path=>{var isAbsolute=PATH.isAbs(path),trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(p=>!!p),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:path=>{var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:path=>{if(path==="/")return"/";path=PATH.normalize(path);path=path.replace(/\/$/,"");var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},join:function(){var paths=Array.prototype.slice.call(arguments);return PATH.normalize(paths.join("/"))},join2:(l,r)=>{return PATH.normalize(l+"/"+r)}};function getRandomDevice(){if(typeof crypto=="object"&&typeof crypto["getRandomValues"]=="function"){var randomBuffer=new Uint8Array(1);return()=>{crypto.getRandomValues(randomBuffer);return randomBuffer[0]}}else if(ENVIRONMENT_IS_NODE){try{var crypto_module=require("crypto");return()=>crypto_module["randomBytes"](1)[0]}catch(e){}}return()=>abort("randomDevice")}var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=PATH.isAbs(path)}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(p=>!!p),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:(from,to)=>{from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}var TTY={ttys:[],init:function(){},shutdown:function(){},register:function(dev,ops){TTY.ttys[dev]={input:[],output:[],ops:ops};FS.registerDevice(dev,TTY.stream_ops)},stream_ops:{open:function(stream){var tty=TTY.ttys[stream.node.rdev];if(!tty){throw new FS.ErrnoError(43)}stream.tty=tty;stream.seekable=false},close:function(stream){stream.tty.ops.fsync(stream.tty)},fsync:function(stream){stream.tty.ops.fsync(stream.tty)},read:function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.get_char){throw new FS.ErrnoError(60)}var bytesRead=0;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},fsync:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},fsync:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};function mmapAlloc(size){abort()}var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node;parent.timestamp=node.timestamp}return node},getFileDataAsTypedArray:function(node){if(!node.contents)return new Uint8Array(0);if(node.contents.subarray)return node.contents.subarray(0,node.usedBytes);return new Uint8Array(node.contents)},expandFileStorage:function(node,newCapacity){var prevCapacity=node.contents?node.contents.length:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0)},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0}else{var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize}},node_ops:{getattr:function(node){var attr={};attr.dev=FS.isChrdev(node.mode)?node.id:1;attr.ino=node.id;attr.mode=node.mode;attr.nlink=1;attr.uid=0;attr.gid=0;attr.rdev=node.rdev;if(FS.isDir(node.mode)){attr.size=4096}else if(FS.isFile(node.mode)){attr.size=node.usedBytes}else if(FS.isLink(node.mode)){attr.size=node.link.length}else{attr.size=0}attr.atime=new Date(node.timestamp);attr.mtime=new Date(node.timestamp);attr.ctime=new Date(node.timestamp);attr.blksize=4096;attr.blocks=Math.ceil(attr.size/attr.blksize);return attr},setattr:function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}if(attr.size!==undefined){MEMFS.resizeFileStorage(node,attr.size)}},lookup:function(parent,name){throw FS.genericErrors[44]},mknod:function(parent,name,mode,dev){return MEMFS.createNode(parent,name,mode,dev)},rename:function(old_node,new_dir,new_name){if(FS.isDir(old_node.mode)){var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(new_node){for(var i in new_node.contents){throw new FS.ErrnoError(55)}}}delete old_node.parent.contents[old_node.name];old_node.parent.timestamp=Date.now();old_node.name=new_name;new_dir.contents[new_name]=old_node;new_dir.timestamp=old_node.parent.timestamp;old_node.parent=new_dir},unlink:function(parent,name){delete parent.contents[name];parent.timestamp=Date.now()},rmdir:function(parent,name){var node=FS.lookupNode(parent,name);for(var i in node.contents){throw new FS.ErrnoError(55)}delete parent.contents[name];parent.timestamp=Date.now()},readdir:function(node){var entries=[".",".."];for(var key in node.contents){if(!node.contents.hasOwnProperty(key)){continue}entries.push(key)}return entries},symlink:function(parent,newname,oldpath){var node=MEMFS.createNode(parent,newname,511|40960,0);node.link=oldpath;return node},readlink:function(node){if(!FS.isLink(node.mode)){throw new FS.ErrnoError(28)}return node.link}},stream_ops:{read:function(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length{assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)},event=>{if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}});if(dep)addRunDependency(dep)}var FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:(path,opts={})=>{path=PATH_FS.resolve(FS.cwd(),path);if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};opts=Object.assign(defaults,opts);if(opts.recurse_count>8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(p=>!!p),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:node=>{var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:(parentid,name)=>{var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:node=>{var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:node=>{var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:(parent,name)=>{var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:(parent,name,mode,rdev)=>{var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:node=>{FS.hashRemoveNode(node)},isRoot:node=>{return node===node.parent},isMountpoint:node=>{return!!node.mounted},isFile:mode=>{return(mode&61440)===32768},isDir:mode=>{return(mode&61440)===16384},isLink:mode=>{return(mode&61440)===40960},isChrdev:mode=>{return(mode&61440)===8192},isBlkdev:mode=>{return(mode&61440)===24576},isFIFO:mode=>{return(mode&61440)===4096},isSocket:mode=>{return(mode&49152)===49152},flagModes:{"r":0,"r+":2,"w":577,"w+":578,"a":1089,"a+":1090},modeStringToFlags:str=>{var flags=FS.flagModes[str];if(typeof flags=="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:flag=>{var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:(node,perms)=>{if(FS.ignorePermissions){return 0}if(perms.includes("r")&&!(node.mode&292)){return 2}else if(perms.includes("w")&&!(node.mode&146)){return 2}else if(perms.includes("x")&&!(node.mode&73)){return 2}return 0},mayLookup:dir=>{var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:(dir,name)=>{try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:(dir,name,isdir)=>{var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:(node,flags)=>{if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:(fd_start=0,fd_end=FS.MAX_OPEN_FDS)=>{for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:fd=>FS.streams[fd],createStream:(stream,fd_start,fd_end)=>{if(!FS.FSStream){FS.FSStream=function(){this.shared={}};FS.FSStream.prototype={};Object.defineProperties(FS.FSStream.prototype,{object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}},flags:{get:function(){return this.shared.flags},set:function(val){this.shared.flags=val}},position:{get:function(){return this.shared.position},set:function(val){this.shared.position=val}}})}stream=Object.assign(new FS.FSStream,stream);var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:fd=>{FS.streams[fd]=null},chrdev_stream_ops:{open:stream=>{var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:()=>{throw new FS.ErrnoError(70)}},major:dev=>dev>>8,minor:dev=>dev&255,makedev:(ma,mi)=>ma<<8|mi,registerDevice:(dev,ops)=>{FS.devices[dev]={stream_ops:ops}},getDevice:dev=>FS.devices[dev],getMounts:mount=>{var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:(populate,callback)=>{if(typeof populate=="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(mount=>{if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:(type,opts,mountpoint)=>{var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:mountpoint=>{var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(hash=>{var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.includes(current.mount)){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:(parent,name)=>{return parent.node_ops.lookup(parent,name)},mknod:(path,mode,dev)=>{var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:(path,mode)=>{mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:(path,mode)=>{mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:(path,mode)=>{var dirs=path.split("/");var d="";for(var i=0;i{if(typeof dev=="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)},symlink:(oldpath,newpath)=>{if(!PATH_FS.resolve(oldpath)){throw new FS.ErrnoError(44)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var newname=PATH.basename(newpath);var errCode=FS.mayCreate(parent,newname);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(63)}return parent.node_ops.symlink(parent,newname,oldpath)},rename:(old_path,new_path)=>{var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node;if(!old_dir||!new_dir)throw new FS.ErrnoError(44);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(75)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH_FS.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(28)}relative=PATH_FS.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(55)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var errCode=FS.mayDelete(old_dir,old_name,isdir);if(errCode){throw new FS.ErrnoError(errCode)}errCode=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(errCode){throw new FS.ErrnoError(errCode)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(63)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(10)}if(new_dir!==old_dir){errCode=FS.nodePermissions(old_dir,"w");if(errCode){throw new FS.ErrnoError(errCode)}}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name)}catch(e){throw e}finally{FS.hashAddNode(old_node)}},rmdir:path=>{var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,true);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node)},readdir:path=>{var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(54)}return node.node_ops.readdir(node)},unlink:path=>{var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,false);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}parent.node_ops.unlink(parent,name);FS.destroyNode(node)},readlink:path=>{var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(44)}if(!link.node_ops.readlink){throw new FS.ErrnoError(28)}return PATH_FS.resolve(FS.getPath(link.parent),link.node_ops.readlink(link))},stat:(path,dontFollow)=>{var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(44)}if(!node.node_ops.getattr){throw new FS.ErrnoError(63)}return node.node_ops.getattr(node)},lstat:path=>{return FS.stat(path,true)},chmod:(path,mode,dontFollow)=>{var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,timestamp:Date.now()})},lchmod:(path,mode)=>{FS.chmod(path,mode,true)},fchmod:(fd,mode)=>{var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}FS.chmod(stream.node,mode)},chown:(path,uid,gid,dontFollow)=>{var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{timestamp:Date.now()})},lchown:(path,uid,gid)=>{FS.chown(path,uid,gid,true)},fchown:(fd,uid,gid)=>{var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}FS.chown(stream.node,uid,gid)},truncate:(path,len)=>{if(len<0){throw new FS.ErrnoError(28)}var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(31)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(28)}var errCode=FS.nodePermissions(node,"w");if(errCode){throw new FS.ErrnoError(errCode)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})},ftruncate:(fd,len)=>{var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(28)}FS.truncate(stream.node,len)},utime:(path,atime,mtime)=>{var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{timestamp:Math.max(atime,mtime)})},open:(path,flags,mode)=>{if(path===""){throw new FS.ErrnoError(44)}flags=typeof flags=="string"?FS.modeStringToFlags(flags):flags;mode=typeof mode=="undefined"?438:mode;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path=="object"){node=path}else{path=PATH.normalize(path);try{var lookup=FS.lookupPath(path,{follow:!(flags&131072)});node=lookup.node}catch(e){}}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(20)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(44)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}if(!created){var errCode=FS.mayOpen(node,flags);if(errCode){throw new FS.ErrnoError(errCode)}}if(flags&512&&!created){FS.truncate(node,0)}flags&=~(128|512|131072);var stream=FS.createStream({node:node,path:FS.getPath(node),flags:flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false});if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!FS.readFiles)FS.readFiles={};if(!(path in FS.readFiles)){FS.readFiles[path]=1}}return stream},close:stream=>{if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}stream.fd=null},isClosed:stream=>{return stream.fd===null},llseek:(stream,offset,whence)=>{if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(70)}if(whence!=0&&whence!=1&&whence!=2){throw new FS.ErrnoError(28)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position},read:(stream,buffer,offset,length,position)=>{if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.read){throw new FS.ErrnoError(28)}var seeking=typeof position!="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead},write:(stream,buffer,offset,length,position,canOwn)=>{if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.write){throw new FS.ErrnoError(28)}if(stream.seekable&&stream.flags&1024){FS.llseek(stream,0,2)}var seeking=typeof position!="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;return bytesWritten},allocate:(stream,offset,length)=>{if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(offset<0||length<=0){throw new FS.ErrnoError(28)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(stream.node.mode)){throw new FS.ErrnoError(43)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(138)}stream.stream_ops.allocate(stream,offset,length)},mmap:(stream,length,position,prot,flags)=>{if((prot&2)!==0&&(flags&2)===0&&(stream.flags&2097155)!==2){throw new FS.ErrnoError(2)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(2)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(43)}return stream.stream_ops.mmap(stream,length,position,prot,flags)},msync:(stream,buffer,offset,length,mmapFlags)=>{if(!stream||!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)},munmap:stream=>0,ioctl:(stream,cmd,arg)=>{if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(59)}return stream.stream_ops.ioctl(stream,cmd,arg)},readFile:(path,opts={})=>{opts.flags=opts.flags||0;opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf,0)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret},writeFile:(path,data,opts={})=>{opts.flags=opts.flags||577;var stream=FS.open(path,opts.flags,opts.mode);if(typeof data=="string"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,undefined,opts.canOwn)}else if(ArrayBuffer.isView(data)){FS.write(stream,data,0,data.byteLength,undefined,opts.canOwn)}else{throw new Error("Unsupported data type")}FS.close(stream)},cwd:()=>FS.currentPath,chdir:path=>{var lookup=FS.lookupPath(path,{follow:true});if(lookup.node===null){throw new FS.ErrnoError(44)}if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(54)}var errCode=FS.nodePermissions(lookup.node,"x");if(errCode){throw new FS.ErrnoError(errCode)}FS.currentPath=lookup.path},createDefaultDirectories:()=>{FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")},createDefaultDevices:()=>{FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:()=>0,write:(stream,buffer,offset,length,pos)=>length});FS.mkdev("/dev/null",FS.makedev(1,3));TTY.register(FS.makedev(5,0),TTY.default_tty_ops);TTY.register(FS.makedev(6,0),TTY.default_tty1_ops);FS.mkdev("/dev/tty",FS.makedev(5,0));FS.mkdev("/dev/tty1",FS.makedev(6,0));var random_device=getRandomDevice();FS.createDevice("/dev","random",random_device);FS.createDevice("/dev","urandom",random_device);FS.mkdir("/dev/shm");FS.mkdir("/dev/shm/tmp")},createSpecialDirectories:()=>{FS.mkdir("/proc");var proc_self=FS.mkdir("/proc/self");FS.mkdir("/proc/self/fd");FS.mount({mount:()=>{var node=FS.createNode(proc_self,"fd",16384|511,73);node.node_ops={lookup:(parent,name)=>{var fd=+name;var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>stream.path}};ret.parent=ret;return ret}};return node}},{},"/proc/self/fd")},createStandardStreams:()=>{if(Module["stdin"]){FS.createDevice("/dev","stdin",Module["stdin"])}else{FS.symlink("/dev/tty","/dev/stdin")}if(Module["stdout"]){FS.createDevice("/dev","stdout",null,Module["stdout"])}else{FS.symlink("/dev/tty","/dev/stdout")}if(Module["stderr"]){FS.createDevice("/dev","stderr",null,Module["stderr"])}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin",0);var stdout=FS.open("/dev/stdout",1);var stderr=FS.open("/dev/stderr",1)},ensureErrnoError:()=>{if(FS.ErrnoError)return;FS.ErrnoError=function ErrnoError(errno,node){this.node=node;this.setErrno=function(errno){this.errno=errno};this.setErrno(errno);this.message="FS error"};FS.ErrnoError.prototype=new Error;FS.ErrnoError.prototype.constructor=FS.ErrnoError;[44].forEach(code=>{FS.genericErrors[code]=new FS.ErrnoError(code);FS.genericErrors[code].stack=""})},staticInit:()=>{FS.ensureErrnoError();FS.nameTable=new Array(4096);FS.mount(MEMFS,{},"/");FS.createDefaultDirectories();FS.createDefaultDevices();FS.createSpecialDirectories();FS.filesystems={"MEMFS":MEMFS}},init:(input,output,error)=>{FS.init.initialized=true;FS.ensureErrnoError();Module["stdin"]=input||Module["stdin"];Module["stdout"]=output||Module["stdout"];Module["stderr"]=error||Module["stderr"];FS.createStandardStreams()},quit:()=>{FS.init.initialized=false;for(var i=0;i{var mode=0;if(canRead)mode|=292|73;if(canWrite)mode|=146;return mode},findObject:(path,dontResolveLastLink)=>{var ret=FS.analyzePath(path,dontResolveLastLink);if(!ret.exists){return null}return ret.object},analyzePath:(path,dontResolveLastLink)=>{try{var lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});path=lookup.path}catch(e){}var ret={isRoot:false,exists:false,error:0,name:null,path:null,object:null,parentExists:false,parentPath:null,parentObject:null};try{var lookup=FS.lookupPath(path,{parent:true});ret.parentExists=true;ret.parentPath=lookup.path;ret.parentObject=lookup.node;ret.name=PATH.basename(path);lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});ret.exists=true;ret.path=lookup.path;ret.object=lookup.node;ret.name=lookup.node.name;ret.isRoot=lookup.path==="/"}catch(e){ret.error=e.errno}return ret},createPath:(parent,path,canRead,canWrite)=>{parent=typeof parent=="string"?parent:FS.getPath(parent);var parts=path.split("/").reverse();while(parts.length){var part=parts.pop();if(!part)continue;var current=PATH.join2(parent,part);try{FS.mkdir(current)}catch(e){}parent=current}return current},createFile:(parent,name,properties,canRead,canWrite)=>{var path=PATH.join2(typeof parent=="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.create(path,mode)},createDataFile:(parent,name,data,canRead,canWrite,canOwn)=>{var path=name;if(parent){parent=typeof parent=="string"?parent:FS.getPath(parent);path=name?PATH.join2(parent,name):parent}var mode=FS.getMode(canRead,canWrite);var node=FS.create(path,mode);if(data){if(typeof data=="string"){var arr=new Array(data.length);for(var i=0,len=data.length;i{var path=PATH.join2(typeof parent=="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(!!input,!!output);if(!FS.createDevice.major)FS.createDevice.major=64;var dev=FS.makedev(FS.createDevice.major++,0);FS.registerDevice(dev,{open:stream=>{stream.seekable=false},close:stream=>{if(output&&output.buffer&&output.buffer.length){output(10)}},read:(stream,buffer,offset,length,pos)=>{var bytesRead=0;for(var i=0;i{for(var i=0;i{if(obj.isDevice||obj.isFolder||obj.link||obj.contents)return true;if(typeof XMLHttpRequest!="undefined"){throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.")}else if(read_){try{obj.contents=intArrayFromString(read_(obj.url),true);obj.usedBytes=obj.contents.length}catch(e){throw new FS.ErrnoError(29)}}else{throw new Error("Cannot load without read() or XMLHttpRequest.")}},createLazyFile:(parent,name,url,canRead,canWrite)=>{function LazyUint8Array(){this.lengthKnown=false;this.chunks=[]}LazyUint8Array.prototype.get=function LazyUint8Array_get(idx){if(idx>this.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=(from,to)=>{if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}return intArrayFromString(xhr.responseText||"",true)};var lazyArray=this;lazyArray.setDataGetter(chunkNum=>{var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]=="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]=="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(key=>{var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){FS.forceLoadFile(node);return fn.apply(null,arguments)}});function writeChunks(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i{FS.forceLoadFile(node);return writeChunks(stream,buffer,offset,length,position)};stream_ops.mmap=(stream,length,position,prot,flags)=>{FS.forceLoadFile(node);var ptr=mmapAlloc(length);if(!ptr){throw new FS.ErrnoError(48)}writeChunks(stream,HEAP8,ptr,length,position);return{ptr:ptr,allocated:true}};node.stream_ops=stream_ops;return node},createPreloadedFile:(parent,name,url,canRead,canWrite,onload,onerror,dontCreateFile,canOwn,preFinish)=>{var fullname=name?PATH_FS.resolve(PATH.join2(parent,name)):parent;var dep=getUniqueRunDependency("cp "+fullname);function processData(byteArray){function finish(byteArray){if(preFinish)preFinish();if(!dontCreateFile){FS.createDataFile(parent,name,byteArray,canRead,canWrite,canOwn)}if(onload)onload();removeRunDependency(dep)}if(Browser.handledByPreloadPlugin(byteArray,fullname,finish,()=>{if(onerror)onerror();removeRunDependency(dep)})){return}finish(byteArray)}addRunDependency(dep);if(typeof url=="string"){asyncLoad(url,byteArray=>processData(byteArray),onerror)}else{processData(url)}},indexedDB:()=>{return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:()=>{return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:(paths,onload,onerror)=>{onload=onload||(()=>{});onerror=onerror||(()=>{});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=()=>{out("creating db");var db=openRequest.result;db.createObjectStore(FS.DB_STORE_NAME)};openRequest.onsuccess=()=>{var db=openRequest.result;var transaction=db.transaction([FS.DB_STORE_NAME],"readwrite");var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach(path=>{var putRequest=files.put(FS.analyzePath(path).object.contents,path);putRequest.onsuccess=()=>{ok++;if(ok+fail==total)finish()};putRequest.onerror=()=>{fail++;if(ok+fail==total)finish()}});transaction.onerror=onerror};openRequest.onerror=onerror},loadFilesFromDB:(paths,onload,onerror)=>{onload=onload||(()=>{});onerror=onerror||(()=>{});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=onerror;openRequest.onsuccess=()=>{var db=openRequest.result;try{var transaction=db.transaction([FS.DB_STORE_NAME],"readonly")}catch(e){onerror(e);return}var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach(path=>{var getRequest=files.get(path);getRequest.onsuccess=()=>{if(FS.analyzePath(path).exists){FS.unlink(path)}FS.createDataFile(PATH.dirname(path),PATH.basename(path),getRequest.result,true,true,true);ok++;if(ok+fail==total)finish()};getRequest.onerror=()=>{fail++;if(ok+fail==total)finish()}});transaction.onerror=onerror};openRequest.onerror=onerror}};var SYSCALLS={DEFAULT_POLLMASK:5,calculateAt:function(dirfd,path,allowEmpty){if(PATH.isAbs(path)){return path}var dir;if(dirfd===-100){dir=FS.cwd()}else{var dirstream=SYSCALLS.getStreamFromFD(dirfd);dir=dirstream.path}if(path.length==0){if(!allowEmpty){throw new FS.ErrnoError(44)}return dir}return PATH.join2(dir,path)},doStat:function(func,path,buf){try{var stat=func(path)}catch(e){if(e&&e.node&&PATH.normalize(path)!==PATH.normalize(FS.getPath(e.node))){return-54}throw e}HEAP32[buf>>2]=stat.dev;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAPU32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;tempI64=[Math.floor(stat.atime.getTime()/1e3)>>>0,(tempDouble=Math.floor(stat.atime.getTime()/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+56>>2]=tempI64[0],HEAP32[buf+60>>2]=tempI64[1];HEAPU32[buf+64>>2]=0;tempI64=[Math.floor(stat.mtime.getTime()/1e3)>>>0,(tempDouble=Math.floor(stat.mtime.getTime()/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+72>>2]=tempI64[0],HEAP32[buf+76>>2]=tempI64[1];HEAPU32[buf+80>>2]=0;tempI64=[Math.floor(stat.ctime.getTime()/1e3)>>>0,(tempDouble=Math.floor(stat.ctime.getTime()/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+88>>2]=tempI64[0],HEAP32[buf+92>>2]=tempI64[1];HEAPU32[buf+96>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+104>>2]=tempI64[0],HEAP32[buf+108>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream}};function _proc_exit(code){if(ENVIRONMENT_IS_PTHREAD)return _emscripten_proxy_to_main_thread_js(1,1,code);EXITSTATUS=code;if(!keepRuntimeAlive()){PThread.terminateAllThreads();if(Module["onExit"])Module["onExit"](code);ABORT=true}quit_(code,new ExitStatus(code))}function exitJS(status,implicit){EXITSTATUS=status;if(!implicit){if(ENVIRONMENT_IS_PTHREAD){exitOnMainThread(status);throw"unwind"}else{}}_proc_exit(status)}var _exit=exitJS;function handleException(e){if(e instanceof ExitStatus||e=="unwind"){return EXITSTATUS}quit_(1,e)}var PThread={unusedWorkers:[],runningWorkers:[],tlsInitFunctions:[],pthreads:{},init:function(){if(ENVIRONMENT_IS_PTHREAD){PThread.initWorker()}else{PThread.initMainThread()}},initMainThread:function(){},initWorker:function(){noExitRuntime=false},setExitStatus:function(status){EXITSTATUS=status},terminateAllThreads:function(){for(var worker of Object.values(PThread.pthreads)){PThread.returnWorkerToPool(worker)}for(var worker of PThread.unusedWorkers){worker.terminate()}PThread.unusedWorkers=[]},returnWorkerToPool:function(worker){var pthread_ptr=worker.pthread_ptr;delete PThread.pthreads[pthread_ptr];PThread.unusedWorkers.push(worker);PThread.runningWorkers.splice(PThread.runningWorkers.indexOf(worker),1);worker.pthread_ptr=0;__emscripten_thread_free_data(pthread_ptr)},receiveObjectTransfer:function(data){},threadInitTLS:function(){PThread.tlsInitFunctions.forEach(f=>f())},loadWasmModuleToWorker:function(worker,onFinishedLoading){worker.onmessage=e=>{var d=e["data"];var cmd=d["cmd"];if(worker.pthread_ptr)PThread.currentProxiedOperationCallerThread=worker.pthread_ptr;if(d["targetThread"]&&d["targetThread"]!=_pthread_self()){var targetWorker=PThread.pthreads[d.targetThread];if(targetWorker){targetWorker.postMessage(d,d["transferList"])}else{err('Internal error! Worker sent a message "'+cmd+'" to target pthread '+d["targetThread"]+", but that thread no longer exists!")}PThread.currentProxiedOperationCallerThread=undefined;return}if(cmd==="processProxyingQueue"){executeNotifiedProxyingQueue(d["queue"])}else if(cmd==="spawnThread"){spawnThread(d)}else if(cmd==="cleanupThread"){cleanupThread(d["thread"])}else if(cmd==="killThread"){killThread(d["thread"])}else if(cmd==="cancelThread"){cancelThread(d["thread"])}else if(cmd==="loaded"){worker.loaded=true;if(onFinishedLoading)onFinishedLoading(worker);if(worker.runPthread){worker.runPthread();delete worker.runPthread}}else if(cmd==="print"){out("Thread "+d["threadId"]+": "+d["text"])}else if(cmd==="printErr"){err("Thread "+d["threadId"]+": "+d["text"])}else if(cmd==="alert"){alert("Thread "+d["threadId"]+": "+d["text"])}else if(d.target==="setimmediate"){worker.postMessage(d)}else if(cmd==="onAbort"){if(Module["onAbort"]){Module["onAbort"](d["arg"])}}else if(cmd){err("worker sent an unknown command "+cmd)}PThread.currentProxiedOperationCallerThread=undefined};worker.onerror=e=>{var message="worker sent an error!";err(message+" "+e.filename+":"+e.lineno+": "+e.message);throw e};if(ENVIRONMENT_IS_NODE){worker.on("message",function(data){worker.onmessage({data:data})});worker.on("error",function(e){worker.onerror(e)});worker.on("detachedExit",function(){})}worker.postMessage({"cmd":"load","urlOrBlob":Module["mainScriptUrlOrBlob"]||_scriptDir,"wasmMemory":{"buffer":wasmMemory.buffer},"wasmModule":wasmModule})},allocateUnusedWorker:function(){var pthreadMainJs=locateFile("artoolkitNft.min.worker.js");PThread.unusedWorkers.push(new Worker(pthreadMainJs))},getNewWorker:function(){if(PThread.unusedWorkers.length==0){PThread.allocateUnusedWorker();PThread.loadWasmModuleToWorker(PThread.unusedWorkers[0])}return PThread.unusedWorkers.pop()}};Module["PThread"]=PThread;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){callbacks.shift()(Module)}}function withStackSave(f){var stack=stackSave();var ret=f();stackRestore(stack);return ret}function establishStackSpace(){var pthread_ptr=_pthread_self();var stackTop=HEAP32[pthread_ptr+44>>2];var stackSize=HEAP32[pthread_ptr+48>>2];var stackMax=stackTop-stackSize;_emscripten_stack_set_limits(stackTop,stackMax);stackRestore(stackTop)}Module["establishStackSpace"]=establishStackSpace;function exitOnMainThread(returnCode){if(ENVIRONMENT_IS_PTHREAD)return _emscripten_proxy_to_main_thread_js(2,0,returnCode);try{_exit(returnCode)}catch(e){handleException(e)}}function intArrayToString(array){var ret=[];for(var i=0;i255){if(ASSERTIONS){assert(false,"Character code "+chr+" ("+String.fromCharCode(chr)+") at offset "+i+" not in 0x00-0xFF.")}chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}function getWasmTableEntry(funcPtr){return wasmTable.get(funcPtr)}function invokeEntryPoint(ptr,arg){var result=getWasmTableEntry(ptr)(arg);if(keepRuntimeAlive()){PThread.setExitStatus(result)}else{__emscripten_thread_exit(result)}}Module["invokeEntryPoint"]=invokeEntryPoint;function registerTLSInit(tlsInitFunc){PThread.tlsInitFunctions.push(tlsInitFunc)}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function ___cxa_allocate_exception(size){return _malloc(size+24)+24}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-24;this.set_type=function(type){HEAPU32[this.ptr+4>>2]=type};this.get_type=function(){return HEAPU32[this.ptr+4>>2]};this.set_destructor=function(destructor){HEAPU32[this.ptr+8>>2]=destructor};this.get_destructor=function(){return HEAPU32[this.ptr+8>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+12>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+12>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+13>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+13>>0]!=0};this.init=function(type,destructor){this.set_adjusted_ptr(0);this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){Atomics.add(HEAP32,this.ptr+0>>2,1)};this.release_ref=function(){var prev=Atomics.sub(HEAP32,this.ptr+0>>2,1);return prev===1};this.set_adjusted_ptr=function(adjustedPtr){HEAPU32[this.ptr+16>>2]=adjustedPtr};this.get_adjusted_ptr=function(){return HEAPU32[this.ptr+16>>2]};this.get_exception_ptr=function(){var isPointer=___cxa_is_pointer_type(this.get_type());if(isPointer){return HEAPU32[this.excPtr>>2]}var adjusted=this.get_adjusted_ptr();if(adjusted!==0)return adjusted;return this.excPtr}}var exceptionLast=0;var uncaughtExceptionCount=0;function ___cxa_throw(ptr,type,destructor){var info=new ExceptionInfo(ptr);info.init(type,destructor);exceptionLast=ptr;uncaughtExceptionCount++;throw ptr}function ___emscripten_init_main_thread_js(tb){__emscripten_thread_init(tb,!ENVIRONMENT_IS_WORKER,1,!ENVIRONMENT_IS_WEB);PThread.threadInitTLS()}function ___emscripten_thread_cleanup(thread){if(!ENVIRONMENT_IS_PTHREAD)cleanupThread(thread);else postMessage({"cmd":"cleanupThread","thread":thread})}function pthreadCreateProxied(pthread_ptr,attr,startRoutine,arg){if(ENVIRONMENT_IS_PTHREAD)return _emscripten_proxy_to_main_thread_js(3,1,pthread_ptr,attr,startRoutine,arg);return ___pthread_create_js(pthread_ptr,attr,startRoutine,arg)}function ___pthread_create_js(pthread_ptr,attr,startRoutine,arg){if(typeof SharedArrayBuffer=="undefined"){err("Current environment does not support SharedArrayBuffer, pthreads are not available!");return 6}var transferList=[];var error=0;if(ENVIRONMENT_IS_PTHREAD&&(transferList.length===0||error)){return pthreadCreateProxied(pthread_ptr,attr,startRoutine,arg)}if(error)return error;var threadParams={startRoutine:startRoutine,pthread_ptr:pthread_ptr,arg:arg,transferList:transferList};if(ENVIRONMENT_IS_PTHREAD){threadParams.cmd="spawnThread";postMessage(threadParams,transferList);return 0}return spawnThread(threadParams)}function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}function ___syscall_fcntl64(fd,cmd,varargs){if(ENVIRONMENT_IS_PTHREAD)return _emscripten_proxy_to_main_thread_js(4,1,fd,cmd,varargs);SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.createStream(stream,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 5:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 6:case 7:return 0;case 16:case 8:return-28;case 9:setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function ___syscall_ioctl(fd,op,varargs){if(ENVIRONMENT_IS_PTHREAD)return _emscripten_proxy_to_main_thread_js(5,1,fd,op,varargs);SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:return-28}}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function ___syscall_openat(dirfd,path,flags,varargs){if(ENVIRONMENT_IS_PTHREAD)return _emscripten_proxy_to_main_thread_js(6,1,dirfd,path,flags,varargs);SYSCALLS.varargs=varargs;try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path);var mode=varargs?SYSCALLS.get():0;return FS.open(path,flags,mode).fd}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function __embind_register_bigint(primitiveType,name,size,minRange,maxRange){}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+size)}}function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}var awaitingDependencies={};var registeredTypes={};var typeDependencies={};var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return"_"+name}return name}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return new Function("body","return function "+name+"() {\n"+' "use strict";'+" return body.apply(this, arguments);\n"+"};\n")(body)}function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return this.name+": "+this.message}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i{if(registeredTypes.hasOwnProperty(dt)){typeConverters[i]=registeredTypes[dt]}else{unregisteredTypes.push(dt);if(!awaitingDependencies.hasOwnProperty(dt)){awaitingDependencies[dt]=[]}awaitingDependencies[dt].push(()=>{typeConverters[i]=registeredTypes[dt];++registered;if(registered===unregisteredTypes.length){onComplete(typeConverters)}})}});if(0===unregisteredTypes.length){onComplete(typeConverters)}}function registerType(rawType,registeredInstance,options={}){if(!("argPackAdvance"in registeredInstance)){throw new TypeError("registerType registeredInstance requires argPackAdvance")}var name=registeredInstance.name;if(!rawType){throwBindingError('type "'+name+'" must have a positive integer typeid pointer')}if(registeredTypes.hasOwnProperty(rawType)){if(options.ignoreDuplicateRegistrations){return}else{throwBindingError("Cannot register type '"+name+"' twice")}}registeredTypes[rawType]=registeredInstance;delete typeDependencies[rawType];if(awaitingDependencies.hasOwnProperty(rawType)){var callbacks=awaitingDependencies[rawType];delete awaitingDependencies[rawType];callbacks.forEach(cb=>cb())}}function __embind_register_bool(rawType,name,size,trueValue,falseValue){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(wt){return!!wt},"toWireType":function(destructors,o){return o?trueValue:falseValue},"argPackAdvance":8,"readValueFromPointer":function(pointer){var heap;if(size===1){heap=HEAP8}else if(size===2){heap=HEAP16}else if(size===4){heap=HEAP32}else{throw new TypeError("Unknown boolean type size: "+name)}return this["fromWireType"](heap[pointer>>shift])},destructorFunction:null})}function __embind_register_constant(name,type,value){name=readLatin1String(name);whenDependentTypesAreResolved([],[type],function(type){type=type[0];Module[name]=type["fromWireType"](value);return[]})}var emval_free_list=[];var emval_handle_array=[{},{value:undefined},{value:null},{value:true},{value:false}];function __emval_decref(handle){if(handle>4&&0===--emval_handle_array[handle].refcount){emval_handle_array[handle]=undefined;emval_free_list.push(handle)}}function count_emval_handles(){var count=0;for(var i=5;i{if(!handle){throwBindingError("Cannot use deleted val. handle = "+handle)}return emval_handle_array[handle].value},toHandle:value=>{switch(value){case undefined:return 1;case null:return 2;case true:return 3;case false:return 4;default:{var handle=emval_free_list.length?emval_free_list.pop():emval_handle_array.length;emval_handle_array[handle]={refcount:1,value:value};return handle}}}};function simpleReadValueFromPointer(pointer){return this["fromWireType"](HEAP32[pointer>>2])}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=Emval.toValue(handle);__emval_decref(handle);return rv},"toWireType":function(destructors,value){return Emval.toHandle(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function new_(constructor,argumentList){if(!(constructor instanceof Function)){throw new TypeError("new_ called with constructor type "+typeof constructor+" which is not a function")}var dummy=createNamedFunction(constructor.name||"unknownFunctionName",function(){});dummy.prototype=constructor.prototype;var obj=new dummy;var r=constructor.apply(obj,argumentList);return r instanceof Object?r:obj}function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i0?", ":"")+argsListWired}invokerFnBody+=(returns?"var rv = ":"")+"invoker(fn"+(argsListWired.length>0?", ":"")+argsListWired+");\n";if(needsDestructorStack){invokerFnBody+="runDestructors(destructors);\n"}else{for(var i=isClassMethodFunc?1:2;i>2])}return array}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function dynCallLegacy(sig,ptr,args){var f=Module["dynCall_"+sig];return args&&args.length?f.apply(null,[ptr].concat(args)):f.call(null,ptr)}function dynCall(sig,ptr,args){if(sig.includes("j")){return dynCallLegacy(sig,ptr,args)}var rtn=getWasmTableEntry(ptr).apply(null,args);return rtn}function getDynCaller(sig,ptr){var argCache=[];return function(){argCache.length=0;Object.assign(argCache,arguments);return dynCall(sig,ptr,argCache)}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(){if(signature.includes("j")){return getDynCaller(signature,rawFunction)}return getWasmTableEntry(rawFunction)}var fp=makeDynCaller();if(typeof fp!="function"){throwBindingError("unknown function pointer with signature "+signature+": "+rawFunction)}return fp}var UnboundTypeError=undefined;function getTypeName(type){var ptr=___getTypeName(type);var rv=readLatin1String(ptr);_free(ptr);return rv}function throwUnboundTypeError(message,types){var unboundTypes=[];var seen={};function visit(type){if(seen[type]){return}if(registeredTypes[type]){return}if(typeDependencies[type]){typeDependencies[type].forEach(visit);return}unboundTypes.push(type);seen[type]=true}types.forEach(visit);throw new UnboundTypeError(message+": "+unboundTypes.map(getTypeName).join([", "]))}function __embind_register_function(name,argCount,rawArgTypesAddr,signature,rawInvoker,fn){var argTypes=heap32VectorToArray(argCount,rawArgTypesAddr);name=readLatin1String(name);rawInvoker=embind__requireFunction(signature,rawInvoker);exposePublicSymbol(name,function(){throwUnboundTypeError("Cannot call "+name+" due to unbound types",argTypes)},argCount-1);whenDependentTypesAreResolved([],argTypes,function(argTypes){var invokerArgsArray=[argTypes[0],null].concat(argTypes.slice(1));replacePublicSymbol(name,craftInvokerFunction(name,invokerArgsArray,null,rawInvoker,fn),argCount-1);return[]})}function integerReadValueFromPointer(name,shift,signed){switch(shift){case 0:return signed?function readS8FromPointer(pointer){return HEAP8[pointer]}:function readU8FromPointer(pointer){return HEAPU8[pointer]};case 1:return signed?function readS16FromPointer(pointer){return HEAP16[pointer>>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=value=>value;if(minRange===0){var bitshift=32-8*size;fromWireType=value=>value<>>bitshift}var isUnsignedType=name.includes("unsigned");var checkAssertions=(value,toTypeName)=>{};var toWireType;if(isUnsignedType){toWireType=function(destructors,value){checkAssertions(value,this.name);return value>>>0}}else{toWireType=function(destructors,value){checkAssertions(value,this.name);return value}}registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":toWireType,"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(buffer,data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var payload=value+4;var str;if(stdStringIsUTF8){var decodeStartPtr=payload;for(var i=0;i<=length;++i){var currentBytePtr=payload+i;if(i==length||HEAPU8[currentBytePtr]==0){var maxRead=currentBytePtr-decodeStartPtr;var stringSegment=UTF8ToString(decodeStartPtr,maxRead);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}}else{var a=new Array(length);for(var i=0;i>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+i]=charCode}}else{for(var i=0;i>1;var maxIdx=idx+maxBytesToRead/2;while(!(idx>=maxIdx)&&HEAPU16[idx])++idx;endPtr=idx<<1;if(endPtr-ptr>32&&UTF16Decoder){return UTF16Decoder.decode(HEAPU8.slice(ptr,endPtr))}else{var str="";for(var i=0;!(i>=maxBytesToRead/2);++i){var codeUnit=HEAP16[ptr+i*2>>1];if(codeUnit==0)break;str+=String.fromCharCode(codeUnit)}return str}}function stringToUTF16(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<2)return 0;maxBytesToWrite-=2;var startPtr=outPtr;var numCharsToWrite=maxBytesToWrite>1]=codeUnit;outPtr+=2}HEAP16[outPtr>>1]=0;return outPtr-startPtr}function lengthBytesUTF16(str){return str.length*2}function UTF32ToString(ptr,maxBytesToRead){var i=0;var str="";while(!(i>=maxBytesToRead/4)){var utf32=HEAP32[ptr+i*4>>2];if(utf32==0)break;++i;if(utf32>=65536){var ch=utf32-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}else{str+=String.fromCharCode(utf32)}}return str}function stringToUTF32(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<4)return 0;var startPtr=outPtr;var endPtr=startPtr+maxBytesToWrite-4;for(var i=0;i=55296&&codeUnit<=57343){var trailSurrogate=str.charCodeAt(++i);codeUnit=65536+((codeUnit&1023)<<10)|trailSurrogate&1023}HEAP32[outPtr>>2]=codeUnit;outPtr+=4;if(outPtr+4>endPtr)break}HEAP32[outPtr>>2]=0;return outPtr-startPtr}function lengthBytesUTF32(str){var len=0;for(var i=0;i=55296&&codeUnit<=57343)++i;len+=4}return len}function __embind_register_std_wstring(rawType,charSize,name){name=readLatin1String(name);var decodeString,encodeString,getHeap,lengthBytesUTF,shift;if(charSize===2){decodeString=UTF16ToString;encodeString=stringToUTF16;lengthBytesUTF=lengthBytesUTF16;getHeap=()=>HEAPU16;shift=1}else if(charSize===4){decodeString=UTF32ToString;encodeString=stringToUTF32;lengthBytesUTF=lengthBytesUTF32;getHeap=()=>HEAPU32;shift=2}registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var HEAP=getHeap();var str;var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i*charSize;if(i==length||HEAP[currentBytePtr>>shift]==0){var maxReadBytes=currentBytePtr-decodeStartPtr;var stringSegment=decodeString(decodeStartPtr,maxReadBytes);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+charSize}}_free(value);return str},"toWireType":function(destructors,value){if(!(typeof value=="string")){throwBindingError("Cannot pass non-string to C++ string type "+name)}var length=lengthBytesUTF(value);var ptr=_malloc(4+length+charSize);HEAPU32[ptr>>2]=length>>shift;encodeString(value,ptr+4,length+charSize);if(destructors!==null){destructors.push(_free,ptr)}return ptr},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:function(ptr){_free(ptr)}})}function __embind_register_void(rawType,name){name=readLatin1String(name);registerType(rawType,{isVoid:true,name:name,"argPackAdvance":0,"fromWireType":function(){return undefined},"toWireType":function(destructors,o){return undefined}})}function __emscripten_date_now(){return Date.now()}function __emscripten_default_pthread_stack_size(){return 2097152}function executeNotifiedProxyingQueue(queue){Atomics.store(HEAP32,queue>>2,1);if(_pthread_self()){__emscripten_proxy_execute_task_queue(queue)}Atomics.compareExchange(HEAP32,queue>>2,1,0)}Module["executeNotifiedProxyingQueue"]=executeNotifiedProxyingQueue;function __emscripten_notify_task_queue(targetThreadId,currThreadId,mainThreadId,queue){if(targetThreadId==currThreadId){setTimeout(()=>executeNotifiedProxyingQueue(queue))}else if(ENVIRONMENT_IS_PTHREAD){postMessage({"targetThread":targetThreadId,"cmd":"processProxyingQueue","queue":queue})}else{var worker=PThread.pthreads[targetThreadId];if(!worker){return}worker.postMessage({"cmd":"processProxyingQueue","queue":queue})}return 1}function __emscripten_set_offscreencanvas_size(target,width,height){return-1}function __emscripten_throw_longjmp(){throw Infinity}function readI53FromI64(ptr){return HEAPU32[ptr>>2]+HEAP32[ptr+4>>2]*4294967296}function __localtime_js(time,tmPtr){var date=new Date(readI53FromI64(time)*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst}function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function _tzset_impl(timezone,daylight,tzname){if(ENVIRONMENT_IS_PTHREAD)return _emscripten_proxy_to_main_thread_js(7,1,timezone,daylight,tzname);var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);var winterOffset=winter.getTimezoneOffset();var summerOffset=summer.getTimezoneOffset();var stdTimezoneOffset=Math.max(winterOffset,summerOffset);HEAP32[timezone>>2]=stdTimezoneOffset*60;HEAP32[daylight>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAPU32[tzname+4>>2]=summerNamePtr}else{HEAPU32[tzname>>2]=summerNamePtr;HEAPU32[tzname+4>>2]=winterNamePtr}}function __tzset_js(timezone,daylight,tzname){if(__tzset_js.called)return;__tzset_js.called=true;_tzset_impl(timezone,daylight,tzname)}function _abort(){abort("")}var readAsmConstArgsArray=[];function readAsmConstArgs(sigPtr,buf){readAsmConstArgsArray.length=0;var ch;buf>>=2;while(ch=HEAPU8[sigPtr++]){buf+=ch!=105&buf;readAsmConstArgsArray.push(ch==105?HEAP32[buf]:HEAPF64[buf++>>1]);++buf}return readAsmConstArgsArray}function _emscripten_asm_const_int(code,sigPtr,argbuf){var args=readAsmConstArgs(sigPtr,argbuf);return ASM_CONSTS[code].apply(null,args)}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;if(ENVIRONMENT_IS_NODE)text="warning: "+text;err(text)}}function _emscripten_check_blocking_allowed(){if(ENVIRONMENT_IS_NODE)return;if(ENVIRONMENT_IS_WORKER)return;warnOnce("Blocking on the main thread is very dangerous, see https://emscripten.org/docs/porting/pthreads.html#blocking-on-the-main-browser-thread")}function getHeapMax(){return HEAPU8.length}function _emscripten_get_heap_max(){return getHeapMax()}var _emscripten_get_now;if(ENVIRONMENT_IS_NODE){_emscripten_get_now=()=>{var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(ENVIRONMENT_IS_PTHREAD){_emscripten_get_now=()=>performance.now()-Module["__performance_now_clock_drift"]}else _emscripten_get_now=()=>performance.now();function _emscripten_num_logical_cores(){if(ENVIRONMENT_IS_NODE)return require("os").cpus().length;return navigator["hardwareConcurrency"]}function _emscripten_proxy_to_main_thread_js(index,sync){var numCallArgs=arguments.length-2;var outerArgs=arguments;return withStackSave(()=>{var serializedNumCallArgs=numCallArgs;var args=stackAlloc(serializedNumCallArgs*8);var b=args>>3;for(var i=0;i>3;for(var i=0;i>>0;abortOnCannotGrowMemory(requestedSize)}function _emscripten_unwind_to_js_event_loop(){throw"unwind"}var ENV={};function getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.strings){var lang=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":lang,"_":getExecutableName()};for(var x in ENV){if(ENV[x]===undefined)delete env[x];else env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(x+"="+env[x])}getEnvStrings.strings=strings}return getEnvStrings.strings}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}function _environ_get(__environ,environ_buf){if(ENVIRONMENT_IS_PTHREAD)return _emscripten_proxy_to_main_thread_js(8,1,__environ,environ_buf);var bufSize=0;getEnvStrings().forEach(function(string,i){var ptr=environ_buf+bufSize;HEAPU32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){if(ENVIRONMENT_IS_PTHREAD)return _emscripten_proxy_to_main_thread_js(9,1,penviron_count,penviron_buf_size);var strings=getEnvStrings();HEAPU32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAPU32[penviron_buf_size>>2]=bufSize;return 0}function _fd_close(fd){if(ENVIRONMENT_IS_PTHREAD)return _emscripten_proxy_to_main_thread_js(10,1,fd);try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function doReadv(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAPU32[iov+4>>2];iov+=8;var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function convertI32PairToI53Checked(lo,hi){return hi+2097152>>>0<4194305-!!lo?(lo>>>0)+hi*4294967296:NaN}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){if(ENVIRONMENT_IS_PTHREAD)return _emscripten_proxy_to_main_thread_js(12,1,fd,offset_low,offset_high,whence,newOffset);try{var offset=convertI32PairToI53Checked(offset_low,offset_high);if(isNaN(offset))return 61;var stream=SYSCALLS.getStreamFromFD(fd);FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function doWritev(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAPU32[iov+4>>2];iov+=8;var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret}function _fd_write(fd,iov,iovcnt,pnum){if(ENVIRONMENT_IS_PTHREAD)return _emscripten_proxy_to_main_thread_js(13,1,fd,iov,iovcnt,pnum);try{var stream=SYSCALLS.getStreamFromFD(fd);var num=doWritev(stream,iov,iovcnt);HEAPU32[pnum>>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]){}return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value=="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}return thisDate.getFullYear()}return thisDate.getFullYear()-1}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}return"PM"},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var days=date.tm_yday+7-date.tm_wday;return leadingNulls(Math.floor(days/7),2)},"%V":function(date){var val=Math.floor((date.tm_yday+7-(date.tm_wday+6)%7)/7);if((date.tm_wday+371-date.tm_yday-2)%7<=2){val++}if(!val){val=52;var dec31=(date.tm_wday+7-date.tm_yday-1)%7;if(dec31==4||dec31==5&&__isLeapYear(date.tm_year%400-1)){val++}}else if(val==53){var jan1=(date.tm_wday+371-date.tm_yday)%7;if(jan1!=4&&(jan1!=3||!__isLeapYear(date.tm_year)))val=1}return leadingNulls(val,2)},"%w":function(date){return date.tm_wday},"%W":function(date){var days=date.tm_yday+7-(date.tm_wday+6)%7;return leadingNulls(Math.floor(days/7),2)},"%y":function(date){return(date.tm_year+1900).toString().substring(2)},"%Y":function(date){return date.tm_year+1900},"%z":function(date){var off=date.tm_gmtoff;var ahead=off>=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};pattern=pattern.replace(/%%/g,"\0\0");for(var rule in EXPANSION_RULES_2){if(pattern.includes(rule)){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}pattern=pattern.replace(/\0\0/g,"%");var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}PThread.init();var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();embind_init_charCodes();BindingError=Module["BindingError"]=extendError(Error,"BindingError");InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_emval();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");var proxiedFunctionTable=[null,_proc_exit,exitOnMainThread,pthreadCreateProxied,___syscall_fcntl64,___syscall_ioctl,___syscall_openat,_tzset_impl,_environ_get,_environ_sizes_get,_fd_close,_fd_read,_fd_seek,_fd_write];var ASSERTIONS=false;var decodeBase64=typeof atob=="function"?atob:function(input){var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{enc1=keyStr.indexOf(input.charAt(i++));enc2=keyStr.indexOf(input.charAt(i++));enc3=keyStr.indexOf(input.charAt(i++));enc4=keyStr.indexOf(input.charAt(i++));chr1=enc1<<2|enc2>>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1);if(enc3!==64){output=output+String.fromCharCode(chr2)}if(enc4!==64){output=output+String.fromCharCode(chr3)}}while(i0){return}if(ENVIRONMENT_IS_PTHREAD){initRuntime();postMessage({"cmd":"loaded"});return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); diff --git a/build/artoolkitNft.min.worker.js b/build/artoolkitNft.min.worker.js new file mode 100644 index 00000000..91ba8d54 --- /dev/null +++ b/build/artoolkitNft.min.worker.js @@ -0,0 +1 @@ +"use strict";var Module={};var ENVIRONMENT_IS_NODE=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string";if(ENVIRONMENT_IS_NODE){var nodeWorkerThreads=require("worker_threads");var parentPort=nodeWorkerThreads.parentPort;parentPort.on("message",data=>onmessage({data:data}));var fs=require("fs");Object.assign(global,{self:global,require:require,Module:Module,location:{href:__filename},Worker:nodeWorkerThreads.Worker,importScripts:function(f){(0,eval)(fs.readFileSync(f,"utf8"))},postMessage:function(msg){parentPort.postMessage(msg)},performance:global.performance||{now:function(){return Date.now()}}})}var initializedJS=false;var pendingNotifiedProxyingQueues=[];function threadPrintErr(){var text=Array.prototype.slice.call(arguments).join(" ");if(ENVIRONMENT_IS_NODE){fs.writeSync(2,text+"\n");return}console.error(text)}function threadAlert(){var text=Array.prototype.slice.call(arguments).join(" ");postMessage({cmd:"alert",text:text,threadId:Module["_pthread_self"]()})}var err=threadPrintErr;self.alert=threadAlert;Module["instantiateWasm"]=(info,receiveInstance)=>{var instance=new WebAssembly.Instance(Module["wasmModule"],info);receiveInstance(instance);Module["wasmModule"]=null;return instance.exports};self.onunhandledrejection=e=>{throw e.reason??e};self.onmessage=e=>{try{if(e.data.cmd==="load"){Module["wasmModule"]=e.data.wasmModule;Module["wasmMemory"]=e.data.wasmMemory;Module["buffer"]=Module["wasmMemory"].buffer;Module["ENVIRONMENT_IS_PTHREAD"]=true;if(typeof e.data.urlOrBlob=="string"){importScripts(e.data.urlOrBlob)}else{var objectUrl=URL.createObjectURL(e.data.urlOrBlob);importScripts(objectUrl);URL.revokeObjectURL(objectUrl)}}else if(e.data.cmd==="run"){Module["__performance_now_clock_drift"]=performance.now()-e.data.time;Module["__emscripten_thread_init"](e.data.pthread_ptr,0,0,1);Module["establishStackSpace"]();Module["PThread"].receiveObjectTransfer(e.data);Module["PThread"].threadInitTLS();if(!initializedJS){Module["__embind_initialize_bindings"]();pendingNotifiedProxyingQueues.forEach(queue=>{Module["executeNotifiedProxyingQueue"](queue)});pendingNotifiedProxyingQueues=[];initializedJS=true}try{Module["invokeEntryPoint"](e.data.start_routine,e.data.arg)}catch(ex){if(ex!="unwind"){if(ex instanceof Module["ExitStatus"]){if(Module["keepRuntimeAlive"]()){}else{Module["__emscripten_thread_exit"](ex.status)}}else{throw ex}}}}else if(e.data.cmd==="cancel"){if(Module["_pthread_self"]()){Module["__emscripten_thread_exit"](-1)}}else if(e.data.target==="setimmediate"){}else if(e.data.cmd==="processProxyingQueue"){if(initializedJS){Module["executeNotifiedProxyingQueue"](e.data.queue)}else{pendingNotifiedProxyingQueues.push(e.data.queue)}}else{err("worker.js received unknown command "+e.data.cmd);err(e.data)}}catch(ex){if(Module["__emscripten_thread_crashed"]){Module["__emscripten_thread_crashed"]()}throw ex}}; diff --git a/build/artoolkitNft_wasm.js b/build/artoolkitNft_wasm.js index d41dc5ca..9ddcaffa 100644 --- a/build/artoolkitNft_wasm.js +++ b/build/artoolkitNft_wasm.js @@ -1 +1 @@ -var Module=typeof Module!=="undefined"?Module:{};(function(){"use strict";if(window.artoolkit_wasm_url){function downloadWasm(url){return new Promise(function(resolve,reject){var wasmXHR=new XMLHttpRequest;wasmXHR.open("GET",url,true);wasmXHR.responseType="arraybuffer";wasmXHR.onload=function(){resolve(wasmXHR.response)};wasmXHR.onerror=function(){reject("error "+wasmXHR.status)};wasmXHR.send(null)})}var wasm=downloadWasm(window.artoolkit_wasm_url);Module.instantiateWasm=function(imports,successCallback){console.log("instantiateWasm: instantiating synchronously");wasm.then(function(wasmBinary){console.log("wasm download finished, begin instantiating");var wasmInstantiate=WebAssembly.instantiate(new Uint8Array(wasmBinary),imports).then(function(output){console.log("wasm instantiation succeeded");successCallback(output.instance)}).catch(function(e){console.log("wasm instantiation failed! "+e)})});return{}}}var ARController=function(width,height,cameraPara){this.id=undefined;var w=width,h=height;this.orientation="landscape";this.listeners={};if(typeof width!=="number"){var image=width;cameraPara=height;w=image.videoWidth||image.width;h=image.videoHeight||image.height;this.image=image}this.nftMarkerCount=0;this.defaultMarkerWidth=1;this.patternMarkers={};this.barcodeMarkers={};this.nftMarkers={};this.transform_mat=new Float32Array(16);this.transformGL_RH=new Float64Array(16);this.canvas=document.createElement("canvas");this.canvas.width=w;this.canvas.height=h;this.ctx=this.canvas.getContext("2d");this.videoWidth=w;this.videoHeight=h;this.videoSize=this.videoWidth*this.videoHeight;this.framepointer=null;this.framesize=null;this.dataHeap=null;this.videoLuma=null;this.camera_mat=null;this.marker_transform_mat=null;this.videoLumaPointer=null;this._bwpointer=undefined;this._lumaCtx=undefined;if(typeof cameraPara==="string"){this.cameraParam=new ARCameraParam(cameraPara,function(){this._initialize()}.bind(this),function(err){console.error("ARController: Failed to load ARCameraParam",err);this.onload(err)}.bind(this))}else{this.cameraParam=cameraPara;this._initialize()}};ARController.prototype.dispose=function(){if(this.id>-1){artoolkit.teardown(this.id)}if(this.image&&this.image.srcObject){ARController._teardownVideo(this.image)}for(var t in this){this[t]=null}};ARController.prototype.process=function(image){var result=this.detectMarker(image);if(result!=0){console.error("detectMarker error: "+result)}var markerNum=this.getMarkerNum();var k,o;for(k in this.patternMarkers){o=this.patternMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.barcodeMarkers){o=this.barcodeMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.nftMarkers){o=this.nftMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(var i=0;i-1&&(markerInfo.id===markerInfo.idPatt||markerInfo.idMatrix===-1)){visible=this.trackPatternMarkerId(markerInfo.idPatt);markerType=artoolkit.PATTERN_MARKER;if(markerInfo.dir!==markerInfo.dirPatt){this.setMarkerInfoDir(i,markerInfo.dirPatt)}}else if(markerInfo.idMatrix>-1){visible=this.trackBarcodeMarkerId(markerInfo.idMatrix);markerType=artoolkit.BARCODE_MARKER;if(markerInfo.dir!==markerInfo.dirMatrix){this.setMarkerInfoDir(i,markerInfo.dirMatrix)}}if(markerType!==artoolkit.UNKNOWN_MARKER&&visible.inPrevious){this.getTransMatSquareCont(i,visible.markerWidth,visible.matrix,visible.matrix)}else{this.getTransMatSquare(i,visible.markerWidth,visible.matrix)}visible.inCurrent=true;this.transMatToGLMat(visible.matrix,this.transform_mat);this.transformGL_RH=this.arglCameraViewRHf(this.transform_mat);this.dispatchEvent({name:"getMarker",target:this,data:{index:i,type:markerType,marker:markerInfo,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}})}var nftMarkerCount=this.nftMarkerCount;artoolkit.detectNFTMarker(this.id);for(var i=0;i=0){visible=true;this.dispatchEvent({name:"getMultiMarker",target:this,data:{multiMarkerId:i,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}});break}}if(visible){for(var j=0;j-1){this.listeners[name].splice(index,1)}}};ARController.prototype.dispatchEvent=function(event){var listeners=this.listeners[event.name];if(listeners){for(var i=0;i>3;q+=4}}if(this.dataHeap){this.dataHeap.set(data);return true}return false};ARController.prototype._debugMarker=function(marker){var vertex,pos;vertex=marker.vertex;var ctx=this.ctx;ctx.strokeStyle="red";ctx.beginPath();ctx.moveTo(vertex[0][0],vertex[0][1]);ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[2][0],vertex[2][1]);ctx.lineTo(vertex[3][0],vertex[3][1]);ctx.stroke();ctx.strokeStyle="green";ctx.beginPath();ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.lineTo(vertex[2][0],vertex[2][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[3][0],vertex[3][1]);ctx.lineTo(vertex[0][0],vertex[0][1]);ctx.stroke();pos=marker.pos;ctx.beginPath();ctx.arc(pos[0],pos[1],8,0,Math.PI*2);ctx.fillStyle="red";ctx.fill()};ARController.getUserMedia=function(configuration){var facing=configuration.facingMode||"environment";var onSuccess=configuration.onSuccess;var onError=configuration.onError||function(err){console.error("ARController.getUserMedia",err)};var video=document.createElement("video");var readyToPlay=false;var eventNames=["touchstart","touchend","touchmove","touchcancel","click","mousedown","mouseup","mousemove","keydown","keyup","keypress","scroll"];var play=function(){if(readyToPlay){video.play().then(function(){onSuccess(video)}).catch(function(error){onError(error);ARController._teardownVideo(video)});if(!video.paused){eventNames.forEach(function(eventName){window.removeEventListener(eventName,play,true)})}}};eventNames.forEach(function(eventName){window.addEventListener(eventName,play,true)});var success=function(stream){if(window.URL.createObjectURL){try{video.srcObject=stream}catch(ex){}}video.srcObject=stream;readyToPlay=true;video.autoplay=true;video.playsInline=true;play()};var constraints={};var mediaDevicesConstraints={};if(configuration.width){mediaDevicesConstraints.width=configuration.width;if(typeof configuration.width==="object"){if(configuration.width.max){constraints.maxWidth=configuration.width.max}if(configuration.width.min){constraints.minWidth=configuration.width.min}}else{constraints.maxWidth=configuration.width}}if(configuration.height){mediaDevicesConstraints.height=configuration.height;if(typeof configuration.height==="object"){if(configuration.height.max){constraints.maxHeight=configuration.height.max}if(configuration.height.min){constraints.minHeight=configuration.height.min}}else{constraints.maxHeight=configuration.height}}mediaDevicesConstraints.facingMode=facing;mediaDevicesConstraints.deviceId=configuration.deviceId;navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;var hdConstraints={audio:false,video:constraints};if(navigator.mediaDevices||window.MediaStreamTrack.getSources){if(navigator.mediaDevices){navigator.mediaDevices.getUserMedia({audio:false,video:mediaDevicesConstraints}).then(success,onError)}else{window.MediaStreamTrack.getSources(function(sources){var facingDir=mediaDevicesConstraints.facingMode;if(facing&&facing.exact){facingDir=facing.exact}for(var i=0;i-1){writeStringToFS(filename,url,writeCallback)}else{ajax(url,filename,writeCallback,errorCallback)}}function writeStringToFS(target,string,callback){var byteArray=new Uint8Array(string.length);for(var i=0;i1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);Module["quit"]=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){Module["read"]=function shell_read(f){return read(f)}}Module["readBinary"]=function readBinary(f){var data;if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}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){quit(status)}}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}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 new Uint8Array(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);return}onerror()};xhr.onerror=onerror;xhr.send(null)};Module["setWindowTitle"]=function(title){document.title=title}}else{}var out=Module["print"]||(typeof console!=="undefined"?console.log.bind(console):typeof print!=="undefined"?print:null);var err=Module["printErr"]||(typeof printErr!=="undefined"?printErr:typeof console!=="undefined"&&console.warn.bind(console)||out);for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;function dynamicAlloc(size){var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;if(end<=_emscripten_get_heap_size()){HEAP32[DYNAMICTOP_PTR>>2]=end}else{return 0}return ret}function getNativeTypeSize(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return 4}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0,"getNativeTypeSize invalid bits "+bits+", type "+type);return bits/8}else{return 0}}}}var asm2wasmImports={"f64-rem":function(x,y){return x%y},"debugger":function(){debugger}};var functionPointers=new Array(0);var tempRet0=0;var setTempRet0=function(value){tempRet0=value};var getTempRet0=function(){return tempRet0};if(typeof WebAssembly!=="object"){err("no native wasm support detected")}var wasmMemory;var wasmTable;var ABORT=false;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function setValue(ptr,value,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":HEAP8[ptr>>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}var ALLOC_NORMAL=0;var ALLOC_NONE=3;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[_malloc,stackAlloc,dynamicAlloc][allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var stop;ptr=ret;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr>2]=0}stop=ret+size;while(ptr>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i=endIdx))++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var str="";while(idx>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}function demangle(func){return func}function demangleAll(text){var regex=/__Z[\w\d_]+/g;return text.replace(regex,function(x){var y=demangle(x);return x===y?x:y+" ["+x+"]"})}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}var WASM_PAGE_SIZE=65536;var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferViews(){Module["HEAP8"]=HEAP8=new Int8Array(buffer);Module["HEAP16"]=HEAP16=new Int16Array(buffer);Module["HEAP32"]=HEAP32=new Int32Array(buffer);Module["HEAPU8"]=HEAPU8=new Uint8Array(buffer);Module["HEAPU16"]=HEAPU16=new Uint16Array(buffer);Module["HEAPU32"]=HEAPU32=new Uint32Array(buffer);Module["HEAPF32"]=HEAPF32=new Float32Array(buffer);Module["HEAPF64"]=HEAPF64=new Float64Array(buffer)}var DYNAMIC_BASE=5302112,DYNAMICTOP_PTR=59200;var TOTAL_STACK=5242880;var INITIAL_TOTAL_MEMORY=Module["TOTAL_MEMORY"]||268435456;if(INITIAL_TOTAL_MEMORY>2]=DYNAMIC_BASE;function callRuntimeCallbacks(callbacks){while(callbacks.length>0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Module["dynCall_v"](func)}else{Module["dynCall_vi"](func,callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){if(runtimeInitialized)return;runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();TTY.init();callRuntimeCallbacks(__ATINIT__)}function preMain(){FS.ignorePermissions=false;callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var Math_abs=Math.abs;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_min=Math.min;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["preloadedImages"]={};Module["preloadedAudios"]={};var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return String.prototype.startsWith?filename.startsWith(dataURIPrefix):filename.indexOf(dataURIPrefix)===0}var wasmBinaryFile="artoolkitNft_wasm.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(){try{if(Module["wasmBinary"]){return new Uint8Array(Module["wasmBinary"])}if(Module["readBinary"]){return Module["readBinary"](wasmBinaryFile)}else{throw"both async and sync fetching of the wasm failed"}}catch(err){abort(err)}}function getBinaryPromise(){if(!Module["wasmBinary"]&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&typeof fetch==="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary()})}return new Promise(function(resolve,reject){resolve(getBinary())})}function createWasm(env){var info={"env":env,"global":{"NaN":NaN,Infinity:Infinity},"global.Math":Math,"asm2wasm":asm2wasmImports};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");if(Module["instantiateWasm"]){try{return Module["instantiateWasm"](info,receiveInstance)}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}function receiveInstantiatedSource(output){receiveInstance(output["instance"])}function instantiateArrayBuffer(receiver){getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}if(!Module["wasmBinary"]&&typeof WebAssembly.instantiateStreaming==="function"&&!isDataURI(wasmBinaryFile)&&typeof fetch==="function"){WebAssembly.instantiateStreaming(fetch(wasmBinaryFile,{credentials:"same-origin"}),info).then(receiveInstantiatedSource,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");instantiateArrayBuffer(receiveInstantiatedSource)})}else{instantiateArrayBuffer(receiveInstantiatedSource)}return{}}Module["asm"]=function(global,env,providedBuffer){env["memory"]=wasmMemory;env["table"]=wasmTable=new WebAssembly.Table({"initial":846,"maximum":846,"element":"anyfunc"});env["__memory_base"]=1024;env["__table_base"]=0;var exports=createWasm(env);return exports};var ASM_CONSTS=[function($0,$1,$2,$3,$4,$5){if(!artoolkit["frameMalloc"]){artoolkit["frameMalloc"]={}}var frameMalloc=artoolkit["frameMalloc"];frameMalloc["framepointer"]=$1;frameMalloc["framesize"]=$2;frameMalloc["camera"]=$3;frameMalloc["transform"]=$4;frameMalloc["videoLumaPointer"]=$5},function($0,$1,$2,$3){if(!artoolkit["multiEachMarkerInfo"]){artoolkit["multiEachMarkerInfo"]={}}var multiEachMarker=artoolkit["multiEachMarkerInfo"];multiEachMarker["visible"]=$0;multiEachMarker["pattId"]=$1;multiEachMarker["pattType"]=$2;multiEachMarker["width"]=$3},function($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,$26,$27,$28,$29,$30,$31,$32){var $a=arguments;var i=12;if(!artoolkit["markerInfo"]){artoolkit["markerInfo"]={pos:[0,0],line:[[0,0,0],[0,0,0],[0,0,0],[0,0,0]],vertex:[[0,0],[0,0],[0,0],[0,0]]}}var markerInfo=artoolkit["markerInfo"];markerInfo["area"]=$0;markerInfo["id"]=$1;markerInfo["idPatt"]=$2;markerInfo["idMatrix"]=$3;markerInfo["dir"]=$4;markerInfo["dirPatt"]=$5;markerInfo["dirMatrix"]=$6;markerInfo["cf"]=$7;markerInfo["cfPatt"]=$8;markerInfo["cfMatrix"]=$9;markerInfo["pos"][0]=$10;markerInfo["pos"][1]=$11;markerInfo["line"][0][0]=$a[i++];markerInfo["line"][0][1]=$a[i++];markerInfo["line"][0][2]=$a[i++];markerInfo["line"][1][0]=$a[i++];markerInfo["line"][1][1]=$a[i++];markerInfo["line"][1][2]=$a[i++];markerInfo["line"][2][0]=$a[i++];markerInfo["line"][2][1]=$a[i++];markerInfo["line"][2][2]=$a[i++];markerInfo["line"][3][0]=$a[i++];markerInfo["line"][3][1]=$a[i++];markerInfo["line"][3][2]=$a[i++];markerInfo["vertex"][0][0]=$a[i++];markerInfo["vertex"][0][1]=$a[i++];markerInfo["vertex"][1][0]=$a[i++];markerInfo["vertex"][1][1]=$a[i++];markerInfo["vertex"][2][0]=$a[i++];markerInfo["vertex"][2][1]=$a[i++];markerInfo["vertex"][3][0]=$a[i++];markerInfo["vertex"][3][1]=$a[i++];markerInfo["errorCorrected"]=$a[i++]},function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=$a[i++];markerInfo["found"]=1;markerInfo["pose"][0]=$a[i++];markerInfo["pose"][1]=$a[i++];markerInfo["pose"][2]=$a[i++];markerInfo["pose"][3]=$a[i++];markerInfo["pose"][4]=$a[i++];markerInfo["pose"][5]=$a[i++];markerInfo["pose"][6]=$a[i++];markerInfo["pose"][7]=$a[i++];markerInfo["pose"][8]=$a[i++];markerInfo["pose"][9]=$a[i++];markerInfo["pose"][10]=$a[i++];markerInfo["pose"][11]=$a[i++]},function($0){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=-1;markerInfo["found"]=0;markerInfo["pose"][0]=0;markerInfo["pose"][1]=0;markerInfo["pose"][2]=0;markerInfo["pose"][3]=0;markerInfo["pose"][4]=0;markerInfo["pose"][5]=0;markerInfo["pose"][6]=0;markerInfo["pose"][7]=0;markerInfo["pose"][8]=0;markerInfo["pose"][9]=0;markerInfo["pose"][10]=0;markerInfo["pose"][11]=0}];function _emscripten_asm_const_iiiiiii(code,a0,a1,a2,a3,a4,a5){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5)}function _emscripten_asm_const_iiiid(code,a0,a1,a2,a3){return ASM_CONSTS[code](a0,a1,a2,a3)}function _emscripten_asm_const_iiddddddddddddd(code,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13)}function _emscripten_asm_const_ii(code,a0){return ASM_CONSTS[code](a0)}function _emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi(code,a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32){return ASM_CONSTS[code](a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32)}__ATINIT__.push({func:function(){__GLOBAL__sub_I_ARToolKitJS_cpp()}},{func:function(){__GLOBAL__sub_I_bind_cpp()}},{func:function(){___emscripten_environ_constructor()}},{func:function(){__GLOBAL__sub_I_iostream_cpp()}});var ENV={};function ___buildEnvironment(environ){var MAX_ENV_VALUES=64;var TOTAL_ENV_SIZE=1024;var poolPtr;var envPtr;if(!___buildEnvironment.called){___buildEnvironment.called=true;ENV["USER"]=ENV["LOGNAME"]="web_user";ENV["PATH"]="/";ENV["PWD"]="/";ENV["HOME"]="/home/web_user";ENV["LANG"]="C.UTF-8";ENV["_"]=Module["thisProgram"];poolPtr=getMemory(TOTAL_ENV_SIZE);envPtr=getMemory(MAX_ENV_VALUES*4);HEAP32[envPtr>>2]=poolPtr;HEAP32[environ>>2]=envPtr}else{envPtr=HEAP32[environ>>2];poolPtr=HEAP32[envPtr>>2]}var strings=[];var totalSize=0;for(var key in ENV){if(typeof ENV[key]==="string"){var line=key+"="+ENV[key];strings.push(line);totalSize+=line.length}}if(totalSize>TOTAL_ENV_SIZE){throw new Error("Environment size exceeded TOTAL_ENV_SIZE!")}var ptrSize=4;for(var i=0;i>2]=poolPtr;poolPtr+=line.length+1}HEAP32[envPtr+strings.length*ptrSize>>2]=0}function _emscripten_get_now(){abort()}function _emscripten_get_now_is_monotonic(){return 0||ENVIRONMENT_IS_NODE||typeof dateNow!=="undefined"||typeof performance==="object"&&performance&&typeof performance["now"]==="function"}function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}function _clock_gettime(clk_id,tp){var now;if(clk_id===0){now=Date.now()}else if(clk_id===1&&_emscripten_get_now_is_monotonic()){now=_emscripten_get_now()}else{___setErrNo(22);return-1}HEAP32[tp>>2]=now/1e3|0;HEAP32[tp+4>>2]=now%1e3*1e3*1e3|0;return 0}function ___clock_gettime(a0,a1){return _clock_gettime(a0,a1)}function ___cxa_allocate_exception(size){return _malloc(size)}function ___cxa_free_exception(ptr){try{return _free(ptr)}catch(e){}}var EXCEPTIONS={last:0,caught:[],infos:{},deAdjust:function(adjusted){if(!adjusted||EXCEPTIONS.infos[adjusted])return adjusted;for(var key in EXCEPTIONS.infos){var ptr=+key;var adj=EXCEPTIONS.infos[ptr].adjusted;var len=adj.length;for(var i=0;i0);info.refcount--;if(info.refcount===0&&!info.rethrown){if(info.destructor){Module["dynCall_vi"](info.destructor,ptr)}delete EXCEPTIONS.infos[ptr];___cxa_free_exception(ptr)}},clearRef:function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount=0}};function ___cxa_throw(ptr,type,destructor){EXCEPTIONS.infos[ptr]={ptr:ptr,adjusted:[ptr],type:type,destructor:destructor,refcount:0,caught:false,rethrown:false};EXCEPTIONS.last=ptr;if(!("uncaught_exception"in __ZSt18uncaught_exceptionv)){__ZSt18uncaught_exceptionv.uncaught_exception=1}else{__ZSt18uncaught_exceptionv.uncaught_exception++}throw ptr}function ___cxa_uncaught_exception(){return!!__ZSt18uncaught_exceptionv.uncaught_exception}function ___lock(){}function ___map_file(pathname,size){___setErrNo(1);return-1}var PATH={splitPath:function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:function(path){if(path==="/")return"/";var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},extname:function(path){return PATH.splitPath(path)[3]},join:function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))},join2:function(l,r){return PATH.normalize(l+"/"+r)},resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(function(p){return!!p}),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:function(from,to){from=PATH.resolve(from).substr(1);to=PATH.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},flush:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(1)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node},getFileDataAsRegularArray:function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;i=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0;return}if(!node.contents||node.contents.subarray){var oldContents=node.contents;node.contents=new Uint8Array(new ArrayBuffer(newSize));if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize;return}if(!node.contents)node.contents=[];if(node.contents.length>newSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+lengthe2.timestamp){create.push(key);total++}});var remove=[];Object.keys(dst.entries).forEach(function(key){var e=dst.entries[key];var e2=src.entries[key];if(!e2){remove.push(key);total++}});if(!total){return callback(null)}var errored=false;var completed=0;var db=src.type==="remote"?src.db:dst.db;var transaction=db.transaction([IDBFS.DB_STORE_NAME],"readwrite");var store=transaction.objectStore(IDBFS.DB_STORE_NAME);function done(err){if(err){if(!done.errored){done.errored=true;return callback(err)}return}if(++completed>=total){return callback(null)}}transaction.onerror=function(e){done(this.error);e.preventDefault()};create.sort().forEach(function(path){if(dst.type==="local"){IDBFS.loadRemoteEntry(store,path,function(err,entry){if(err)return done(err);IDBFS.storeLocalEntry(path,entry,done)})}else{IDBFS.loadLocalEntry(path,function(err,entry){if(err)return done(err);IDBFS.storeRemoteEntry(store,path,entry,done)})}});remove.sort().reverse().forEach(function(path){if(dst.type==="local"){IDBFS.removeLocalEntry(path,done)}else{IDBFS.removeRemoteEntry(store,path,done)}})}};var NODEFS={isWindows:false,staticInit:function(){NODEFS.isWindows=!!process.platform.match(/^win/);var flags=process["binding"]("constants");if(flags["fs"]){flags=flags["fs"]}NODEFS.flagsForNodeMap={1024:flags["O_APPEND"],64:flags["O_CREAT"],128:flags["O_EXCL"],0:flags["O_RDONLY"],2:flags["O_RDWR"],4096:flags["O_SYNC"],512:flags["O_TRUNC"],1:flags["O_WRONLY"]}},bufferFrom:function(arrayBuffer){return Buffer.alloc?Buffer.from(arrayBuffer):new Buffer(arrayBuffer)},mount:function(mount){assert(ENVIRONMENT_IS_NODE);return NODEFS.createNode(null,"/",NODEFS.getMode(mount.opts.root),0)},createNode:function(parent,name,mode,dev){if(!FS.isDir(mode)&&!FS.isFile(mode)&&!FS.isLink(mode)){throw new FS.ErrnoError(22)}var node=FS.createNode(parent,name,mode);node.node_ops=NODEFS.node_ops;node.stream_ops=NODEFS.stream_ops;return node},getMode:function(path){var stat;try{stat=fs.lstatSync(path);if(NODEFS.isWindows){stat.mode=stat.mode|(stat.mode&292)>>2}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}return stat.mode},realPath:function(node){var parts=[];while(node.parent!==node){parts.push(node.name);node=node.parent}parts.push(node.mount.opts.root);parts.reverse();return PATH.join.apply(null,parts)},flagsForNode:function(flags){flags&=~2097152;flags&=~2048;flags&=~32768;flags&=~524288;var newFlags=0;for(var k in NODEFS.flagsForNodeMap){if(flags&k){newFlags|=NODEFS.flagsForNodeMap[k];flags^=k}}if(!flags){return newFlags}else{throw new FS.ErrnoError(22)}},node_ops:{getattr:function(node){var path=NODEFS.realPath(node);var stat;try{stat=fs.lstatSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}if(NODEFS.isWindows&&!stat.blksize){stat.blksize=4096}if(NODEFS.isWindows&&!stat.blocks){stat.blocks=(stat.size+stat.blksize-1)/stat.blksize|0}return{dev:stat.dev,ino:stat.ino,mode:stat.mode,nlink:stat.nlink,uid:stat.uid,gid:stat.gid,rdev:stat.rdev,size:stat.size,atime:stat.atime,mtime:stat.mtime,ctime:stat.ctime,blksize:stat.blksize,blocks:stat.blocks}},setattr:function(node,attr){var path=NODEFS.realPath(node);try{if(attr.mode!==undefined){fs.chmodSync(path,attr.mode);node.mode=attr.mode}if(attr.timestamp!==undefined){var date=new Date(attr.timestamp);fs.utimesSync(path,date,date)}if(attr.size!==undefined){fs.truncateSync(path,attr.size)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},lookup:function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);var mode=NODEFS.getMode(path);return NODEFS.createNode(parent,name,mode)},mknod:function(parent,name,mode,dev){var node=NODEFS.createNode(parent,name,mode,dev);var path=NODEFS.realPath(node);try{if(FS.isDir(node.mode)){fs.mkdirSync(path,node.mode)}else{fs.writeFileSync(path,"",{mode:node.mode})}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}return node},rename:function(oldNode,newDir,newName){var oldPath=NODEFS.realPath(oldNode);var newPath=PATH.join2(NODEFS.realPath(newDir),newName);try{fs.renameSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},unlink:function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.unlinkSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},rmdir:function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.rmdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},readdir:function(node){var path=NODEFS.realPath(node);try{return fs.readdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},symlink:function(parent,newName,oldPath){var newPath=PATH.join2(NODEFS.realPath(parent),newName);try{fs.symlinkSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},readlink:function(node){var path=NODEFS.realPath(node);try{path=fs.readlinkSync(path);path=NODEJS_PATH.relative(NODEJS_PATH.resolve(node.mount.opts.root),path);return path}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}}},stream_ops:{open:function(stream){var path=NODEFS.realPath(stream.node);try{if(FS.isFile(stream.node.mode)){stream.nfd=fs.openSync(path,NODEFS.flagsForNode(stream.flags))}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},close:function(stream){try{if(FS.isFile(stream.node.mode)&&stream.nfd){fs.closeSync(stream.nfd)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(-e.errno)}},read:function(stream,buffer,offset,length,position){if(length===0)return 0;try{return fs.readSync(stream.nfd,NODEFS.bufferFrom(buffer.buffer),offset,length,position)}catch(e){throw new FS.ErrnoError(-e.errno)}},write:function(stream,buffer,offset,length,position){try{return fs.writeSync(stream.nfd,NODEFS.bufferFrom(buffer.buffer),offset,length,position)}catch(e){throw new FS.ErrnoError(-e.errno)}},llseek:function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){try{var stat=fs.fstatSync(stream.nfd);position+=stat.size}catch(e){throw new FS.ErrnoError(-e.errno)}}}if(position<0){throw new FS.ErrnoError(22)}return position}}};var WORKERFS={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount:function(mount){assert(ENVIRONMENT_IS_WORKER);if(!WORKERFS.reader)WORKERFS.reader=new FileReaderSync;var root=WORKERFS.createNode(null,"/",WORKERFS.DIR_MODE,0);var createdParents={};function ensureParent(path){var parts=path.split("/");var parent=root;for(var i=0;i=stream.node.size)return 0;var chunk=stream.node.contents.slice(position,position+length);var ab=WORKERFS.reader.readAsArrayBuffer(chunk);buffer.set(new Uint8Array(ab),offset);return chunk.size},write:function(stream,buffer,offset,length,position){throw new FS.ErrnoError(5)},llseek:function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.size}}if(position<0){throw new FS.ErrnoError(22)}return position}}};var FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:function(e){if(!(e instanceof FS.ErrnoError))throw e+" : "+stackTrace();return ___setErrNo(e.errno)},lookupPath:function(path,opts){path=PATH.resolve(FS.cwd(),path);opts=opts||{};if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};for(var key in defaults){if(opts[key]===undefined){opts[key]=defaults[key]}}if(opts.recurse_count>8){throw new FS.ErrnoError(40)}var parts=PATH.normalizeArray(path.split("/").filter(function(p){return!!p}),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(40)}}}}return{path:current_path,node:current}},getPath:function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:function(parent,name){var err=FS.mayLookup(parent);if(err){throw new FS.ErrnoError(err,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:function(parent,name,mode,rdev){if(!FS.FSNode){FS.FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};FS.FSNode.prototype={};var readMode=292|73;var writeMode=146;Object.defineProperties(FS.FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}})}var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:function(node){FS.hashRemoveNode(node)},isRoot:function(node){return node===node.parent},isMountpoint:function(node){return!!node.mounted},isFile:function(mode){return(mode&61440)===32768},isDir:function(mode){return(mode&61440)===16384},isLink:function(mode){return(mode&61440)===40960},isChrdev:function(mode){return(mode&61440)===8192},isBlkdev:function(mode){return(mode&61440)===24576},isFIFO:function(mode){return(mode&61440)===4096},isSocket:function(mode){return(mode&49152)===49152},flagModes:{"r":0,"rs":1052672,"r+":2,"w":577,"wx":705,"xw":705,"w+":578,"wx+":706,"xw+":706,"a":1089,"ax":1217,"xa":1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return 13}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return 13}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return 13}return 0},mayLookup:function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return 13;return 0},mayCreate:function(dir,name){try{var node=FS.lookupNode(dir,name);return 17}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var err=FS.nodePermissions(dir,"wx");if(err){return err}if(isdir){if(!FS.isDir(node.mode)){return 20}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 16}}else{if(FS.isDir(node.mode)){return 21}}return 0},mayOpen:function(node,flags){if(!node){return 2}if(FS.isLink(node.mode)){return 40}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 21}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(24)},getStream:function(fd){return FS.streams[fd]},createStream:function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=function(){};FS.FSStream.prototype={};Object.defineProperties(FS.FSStream.prototype,{object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}}})}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:function(fd){FS.streams[fd]=null},chrdev_stream_ops:{open:function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:function(){throw new FS.ErrnoError(29)}},major:function(dev){return dev>>8},minor:function(dev){return dev&255},makedev:function(ma,mi){return ma<<8|mi},registerDevice:function(dev,ops){FS.devices[dev]={stream_ops:ops}},getDevice:function(dev){return FS.devices[dev]},getMounts:function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(err){FS.syncFSRequests--;return callback(err)}function done(err){if(err){if(!done.errored){done.errored=true;return doCallback(err)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(16)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(16)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(20)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(22)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:function(parent,name){return parent.node_ops.lookup(parent,name)},mknod:function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(22)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(1)}return parent.node_ops.mknod(parent,name,mode,dev)},create:function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:function(path,mode){var dirs=path.split("/");var d="";for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}};var lazyArray=this;lazyArray.setDataGetter(function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;console.log("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(5)}return fn.apply(null,arguments)}});stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(5)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;HEAP32[buf+56>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+76>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+80>>2]=tempI64[0],HEAP32[buf+84>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags){var buffer=new Uint8Array(HEAPU8.subarray(addr,addr+len));FS.msync(stream,buffer,0,len,flags)},doMkdir:function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0},doMknod:function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-ERRNO_CODES.EINVAL}FS.mknod(path,mode,dev);return 0},doReadlink:function(path,buf,bufsize){if(bufsize<=0)return-ERRNO_CODES.EINVAL;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len},doAccess:function(path,amode){if(amode&~7){return-ERRNO_CODES.EINVAL}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-ERRNO_CODES.EACCES}return 0},doDup:function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd},doReadv:function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret},varargs:0,get:function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(){var ret=UTF8ToString(SYSCALLS.get());return ret},getStreamFromFD:function(){var stream=FS.getStream(SYSCALLS.get());if(!stream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return stream},getSocketFromFD:function(){var socket=SOCKFS.getSocket(SYSCALLS.get());if(!socket)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return socket},getSocketAddress:function(allowNull){var addrp=SYSCALLS.get(),addrlen=SYSCALLS.get();if(allowNull&&addrp===0)return null;var info=__read_sockaddr(addrp,addrlen);if(info.errno)throw new FS.ErrnoError(info.errno);info.addr=DNS.lookup_addr(info.addr)||info.addr;return info},get64:function(){var low=SYSCALLS.get(),high=SYSCALLS.get();return low},getZero:function(){SYSCALLS.get()}};function ___syscall10(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr();FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall140(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),offset_high=SYSCALLS.get(),offset_low=SYSCALLS.get(),result=SYSCALLS.get(),whence=SYSCALLS.get();if(!(offset_high==-1&&offset_low<0)&&!(offset_high==0&&offset_low>=0)){return-ERRNO_CODES.EOVERFLOW}var offset=offset_low;FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math_abs(tempDouble)>=1?tempDouble>0?(Math_min(+Math_floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[result>>2]=tempI64[0],HEAP32[result+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall145(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();return SYSCALLS.doReadv(stream,iov,iovcnt)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall146(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),iov=SYSCALLS.get(),iovcnt=SYSCALLS.get();return SYSCALLS.doWritev(stream,iov,iovcnt)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall221(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),cmd=SYSCALLS.get();switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-ERRNO_CODES.EINVAL}var newStream;newStream=FS.open(stream.path,stream.flags,0,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 12:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 13:case 14:return 0;case 16:case 8:return-ERRNO_CODES.EINVAL;case 9:___setErrNo(ERRNO_CODES.EINVAL);return-1;default:{return-ERRNO_CODES.EINVAL}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall5(which,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(),flags=SYSCALLS.get(),mode=SYSCALLS.get();var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),op=SYSCALLS.get();switch(op){case 21509:case 21505:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0}case 21519:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return-ERRNO_CODES.EINVAL}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0}case 21524:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0}default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall6(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall91(which,varargs){SYSCALLS.varargs=varargs;try{var addr=SYSCALLS.get(),len=SYSCALLS.get();var info=SYSCALLS.mappings[addr];if(!info)return 0;if(len===info.len){var stream=FS.getStream(info.fd);SYSCALLS.doMsync(addr,stream,len,info.flags);FS.munmap(stream);SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___unlock(){}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+size)}}function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}var awaitingDependencies={};var registeredTypes={};var typeDependencies={};var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return"_"+name}else{return name}}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return new Function("body","return function "+name+"() {\n"+' "use strict";'+" return body.apply(this, arguments);\n"+"};\n")(body)}function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return this.name+": "+this.message}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i>shift])},destructorFunction:null})}function __embind_register_constant(name,type,value){name=readLatin1String(name);whenDependentTypesAreResolved([],[type],function(type){type=type[0];Module[name]=type["fromWireType"](value);return[]})}var emval_free_list=[];var emval_handle_array=[{},{value:undefined},{value:null},{value:true},{value:false}];function __emval_decref(handle){if(handle>4&&0===--emval_handle_array[handle].refcount){emval_handle_array[handle]=undefined;emval_free_list.push(handle)}}function count_emval_handles(){var count=0;for(var i=5;i>2])}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=emval_handle_array[handle].value;__emval_decref(handle);return rv},"toWireType":function(destructors,value){return __emval_register(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function _embind_repr(v){if(v===null){return"null"}var t=typeof v;if(t==="object"||t==="array"||t==="function"){return v.toString()}else{return""+v}}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function new_(constructor,argumentList){if(!(constructor instanceof Function)){throw new TypeError("new_ called with constructor type "+typeof constructor+" which is not a function")}var dummy=createNamedFunction(constructor.name||"unknownFunctionName",function(){});dummy.prototype=constructor.prototype;var obj=new dummy;var r=constructor.apply(obj,argumentList);return r instanceof Object?r:obj}function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i0?", ":"")+argsListWired}invokerFnBody+=(returns?"var rv = ":"")+"invoker(fn"+(argsListWired.length>0?", ":"")+argsListWired+");\n";if(needsDestructorStack){invokerFnBody+="runDestructors(destructors);\n"}else{for(var i=isClassMethodFunc?1:2;i>2)+i])}return array}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(dynCall){var args=[];for(var i=1;i>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=function(value){return value};if(minRange===0){var bitshift=32-8*size;fromWireType=function(value){return value<>>bitshift}}var isUnsignedType=name.indexOf("unsigned")!=-1;registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":function(destructors,value){if(typeof value!=="number"&&typeof value!=="boolean"){throw new TypeError('Cannot convert "'+_embind_repr(value)+'" to '+this.name)}if(valuemaxRange){throw new TypeError('Passing a number "'+_embind_repr(value)+'" from JS side to C/C++ side to an argument of type "'+name+'", which is outside the valid range ['+minRange+", "+maxRange+"]!")}return isUnsignedType?value>>>0:value|0},"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(heap["buffer"],data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var str;if(stdStringIsUTF8){var endChar=HEAPU8[value+4+length];var endCharSwap=0;if(endChar!=0){endCharSwap=endChar;HEAPU8[value+4+length]=0}var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i;if(HEAPU8[currentBytePtr]==0){var stringSegment=UTF8ToString(decodeStartPtr);if(str===undefined)str=stringSegment;else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}if(endCharSwap!=0)HEAPU8[value+4+length]=endCharSwap}else{var a=new Array(length);for(var i=0;i>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr+4,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+4+i]=charCode}}else{for(var i=0;i>2];var a=new Array(length);var start=value+4>>shift;for(var i=0;i>2]=length;var start=ptr+4>>shift;for(var i=0;i>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}function _llvm_exp2_f32(x){return Math.pow(2,x)}function _llvm_stackrestore(p){var self=_llvm_stacksave;var ret=self.LLVM_SAVEDSTACKS[p];self.LLVM_SAVEDSTACKS.splice(p,1);stackRestore(ret)}function _llvm_stacksave(){var self=_llvm_stacksave;if(!self.LLVM_SAVEDSTACKS){self.LLVM_SAVEDSTACKS=[]}self.LLVM_SAVEDSTACKS.push(stackSave());return self.LLVM_SAVEDSTACKS.length-1}var ___tm_current=59056;var ___tm_timezone=(stringToUTF8("GMT",59104,4),59104);function _tzset(){if(_tzset.called)return;_tzset.called=true;HEAP32[__get_timezone()>>2]=(new Date).getTimezoneOffset()*60;var winter=new Date(2e3,0,1);var summer=new Date(2e3,6,1);HEAP32[__get_daylight()>>2]=Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset());function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocate(intArrayFromString(winterName),"i8",ALLOC_NORMAL);var summerNamePtr=allocate(intArrayFromString(summerName),"i8",ALLOC_NORMAL);if(summer.getTimezoneOffset()>2]=winterNamePtr;HEAP32[__get_tzname()+4>>2]=summerNamePtr}else{HEAP32[__get_tzname()>>2]=summerNamePtr;HEAP32[__get_tzname()+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(2e3,6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[__get_tzname()+(dst?4:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function _localtime(time){return _localtime_r(time,___tm_current)}function _longjmp(env,value){_setThrew(env,value||1);throw"longjmp"}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest)}function _pthread_cond_wait(){return 0}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]);return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value==="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}else{return thisDate.getFullYear()}}else{return thisDate.getFullYear()-1}}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}else{return"PM"}},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){var day=new Date(date.tm_year+1900,date.tm_mon+1,date.tm_mday,0,0,0,0);return day.getDay()||7},"%U":function(date){var janFirst=new Date(date.tm_year+1900,0,1);var firstSunday=janFirst.getDay()===0?janFirst:__addDays(janFirst,7-janFirst.getDay());var endDate=new Date(date.tm_year+1900,date.tm_mon,date.tm_mday);if(compareByDay(firstSunday,endDate)<0){var februaryFirstUntilEndMonth=__arraySum(__isLeapYear(endDate.getFullYear())?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,endDate.getMonth()-1)-31;var firstSundayUntilEndJanuary=31-firstSunday.getDate();var days=firstSundayUntilEndJanuary+februaryFirstUntilEndMonth+endDate.getDate();return leadingNulls(Math.ceil(days/7),2)}return compareByDay(firstSunday,janFirst)===0?"01":"00"},"%V":function(date){var janFourthThisYear=new Date(date.tm_year+1900,0,4);var janFourthNextYear=new Date(date.tm_year+1901,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);var endDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);if(compareByDay(endDate,firstWeekStartThisYear)<0){return"53"}if(compareByDay(firstWeekStartNextYear,endDate)<=0){return"01"}var daysDifference;if(firstWeekStartThisYear.getFullYear()=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};for(var rule in EXPANSION_RULES_2){if(pattern.indexOf(rule)>=0){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}if(ENVIRONMENT_IS_NODE){_emscripten_get_now=function _emscripten_get_now_actual(){var t=process["hrtime"]();return t[0]*1e3+t[1]/1e6}}else if(typeof dateNow!=="undefined"){_emscripten_get_now=dateNow}else if(typeof performance==="object"&&performance&&typeof performance["now"]==="function"){_emscripten_get_now=function(){return performance["now"]()}}else{_emscripten_get_now=Date.now}FS.staticInit();if(ENVIRONMENT_IS_NODE){var fs=require("fs");var NODEJS_PATH=require("path");NODEFS.staticInit()}embind_init_charCodes();BindingError=Module["BindingError"]=extendError(Error,"BindingError");InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_emval();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}function invoke_ii(index,a1){var sp=stackSave();try{return dynCall_ii(index,a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return dynCall_iii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return dynCall_iiii(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{dynCall_vi(index,a1)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{dynCall_vii(index,a1,a2)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{dynCall_viii(index,a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{dynCall_viiii(index,a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0&&e!=="longjmp")throw e;_setThrew(1,0)}}var asmGlobalArg={};var asmLibraryArg={"d":abort,"e":setTempRet0,"i":getTempRet0,"r":invoke_ii,"V":invoke_iii,"N":invoke_iiii,"q":invoke_vi,"F":invoke_vii,"E":invoke_viii,"t":invoke_viiii,"ga":___buildEnvironment,"fa":___clock_gettime,"g":___cxa_allocate_exception,"f":___cxa_throw,"ea":___cxa_uncaught_exception,"D":___lock,"da":___map_file,"C":___setErrNo,"ca":___syscall10,"ba":___syscall140,"aa":___syscall145,"B":___syscall146,"s":___syscall221,"A":___syscall5,"z":___syscall54,"u":___syscall6,"$":___syscall91,"p":___unlock,"_":__embind_register_bool,"y":__embind_register_constant,"Z":__embind_register_emval,"x":__embind_register_float,"k":__embind_register_function,"l":__embind_register_integer,"j":__embind_register_memory_view,"w":__embind_register_std_string,"Y":__embind_register_std_wstring,"X":__embind_register_void,"b":_abort,"W":_emscripten_asm_const_ii,"U":_emscripten_asm_const_iiddddddddddddd,"T":_emscripten_asm_const_iiiid,"S":_emscripten_asm_const_iiiiiii,"R":_emscripten_asm_const_iiiiiiiidddddddddddddddddddddddddi,"Q":_emscripten_get_heap_size,"P":_emscripten_memcpy_big,"O":_emscripten_resize_heap,"c":_exit,"o":_getenv,"v":_gettimeofday,"M":_llvm_exp2_f32,"n":_llvm_stackrestore,"m":_llvm_stacksave,"L":_localtime,"h":_longjmp,"K":_pthread_cond_wait,"J":_strftime,"I":_strftime_l,"H":_time,"G":abortOnCannotGrowMemory,"a":DYNAMICTOP_PTR};var asm=Module["asm"](asmGlobalArg,asmLibraryArg,buffer);Module["asm"]=asm;var __GLOBAL__sub_I_ARToolKitJS_cpp=Module["__GLOBAL__sub_I_ARToolKitJS_cpp"]=function(){return Module["asm"]["ha"].apply(null,arguments)};var __GLOBAL__sub_I_bind_cpp=Module["__GLOBAL__sub_I_bind_cpp"]=function(){return Module["asm"]["ia"].apply(null,arguments)};var __GLOBAL__sub_I_iostream_cpp=Module["__GLOBAL__sub_I_iostream_cpp"]=function(){return Module["asm"]["ja"].apply(null,arguments)};var __ZSt18uncaught_exceptionv=Module["__ZSt18uncaught_exceptionv"]=function(){return Module["asm"]["ka"].apply(null,arguments)};var ___emscripten_environ_constructor=Module["___emscripten_environ_constructor"]=function(){return Module["asm"]["la"].apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return Module["asm"]["ma"].apply(null,arguments)};var ___getTypeName=Module["___getTypeName"]=function(){return Module["asm"]["na"].apply(null,arguments)};var __get_daylight=Module["__get_daylight"]=function(){return Module["asm"]["oa"].apply(null,arguments)};var __get_timezone=Module["__get_timezone"]=function(){return Module["asm"]["pa"].apply(null,arguments)};var __get_tzname=Module["__get_tzname"]=function(){return Module["asm"]["qa"].apply(null,arguments)};var _free=Module["_free"]=function(){return Module["asm"]["ra"].apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return Module["asm"]["sa"].apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return Module["asm"]["ta"].apply(null,arguments)};var stackAlloc=Module["stackAlloc"]=function(){return Module["asm"]["Xa"].apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return Module["asm"]["Ya"].apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return Module["asm"]["Za"].apply(null,arguments)};var dynCall_di=Module["dynCall_di"]=function(){return Module["asm"]["ua"].apply(null,arguments)};var dynCall_dii=Module["dynCall_dii"]=function(){return Module["asm"]["va"].apply(null,arguments)};var dynCall_i=Module["dynCall_i"]=function(){return Module["asm"]["wa"].apply(null,arguments)};var dynCall_ii=Module["dynCall_ii"]=function(){return Module["asm"]["xa"].apply(null,arguments)};var dynCall_iidiiii=Module["dynCall_iidiiii"]=function(){return Module["asm"]["ya"].apply(null,arguments)};var dynCall_iii=Module["dynCall_iii"]=function(){return Module["asm"]["za"].apply(null,arguments)};var dynCall_iiii=Module["dynCall_iiii"]=function(){return Module["asm"]["Aa"].apply(null,arguments)};var dynCall_iiiii=Module["dynCall_iiiii"]=function(){return Module["asm"]["Ba"].apply(null,arguments)};var dynCall_iiiiid=Module["dynCall_iiiiid"]=function(){return Module["asm"]["Ca"].apply(null,arguments)};var dynCall_iiiiii=Module["dynCall_iiiiii"]=function(){return Module["asm"]["Da"].apply(null,arguments)};var dynCall_iiiiiid=Module["dynCall_iiiiiid"]=function(){return Module["asm"]["Ea"].apply(null,arguments)};var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=function(){return Module["asm"]["Fa"].apply(null,arguments)};var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=function(){return Module["asm"]["Ga"].apply(null,arguments)};var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=function(){return Module["asm"]["Ha"].apply(null,arguments)};var dynCall_iiiiij=Module["dynCall_iiiiij"]=function(){return Module["asm"]["Ia"].apply(null,arguments)};var dynCall_jiji=Module["dynCall_jiji"]=function(){return Module["asm"]["Ja"].apply(null,arguments)};var dynCall_v=Module["dynCall_v"]=function(){return Module["asm"]["Ka"].apply(null,arguments)};var dynCall_vi=Module["dynCall_vi"]=function(){return Module["asm"]["La"].apply(null,arguments)};var dynCall_vid=Module["dynCall_vid"]=function(){return Module["asm"]["Ma"].apply(null,arguments)};var dynCall_vif=Module["dynCall_vif"]=function(){return Module["asm"]["Na"].apply(null,arguments)};var dynCall_vii=Module["dynCall_vii"]=function(){return Module["asm"]["Oa"].apply(null,arguments)};var dynCall_viid=Module["dynCall_viid"]=function(){return Module["asm"]["Pa"].apply(null,arguments)};var dynCall_viif=Module["dynCall_viif"]=function(){return Module["asm"]["Qa"].apply(null,arguments)};var dynCall_viii=Module["dynCall_viii"]=function(){return Module["asm"]["Ra"].apply(null,arguments)};var dynCall_viiii=Module["dynCall_viiii"]=function(){return Module["asm"]["Sa"].apply(null,arguments)};var dynCall_viiiii=Module["dynCall_viiiii"]=function(){return Module["asm"]["Ta"].apply(null,arguments)};var dynCall_viiiiii=Module["dynCall_viiiiii"]=function(){return Module["asm"]["Ua"].apply(null,arguments)};var dynCall_viiiiiii=Module["dynCall_viiiiiii"]=function(){return Module["asm"]["Va"].apply(null,arguments)};var dynCall_viijii=Module["dynCall_viijii"]=function(){return Module["asm"]["Wa"].apply(null,arguments)};Module["asm"]=asm;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};function run(args){args=args||Module["arguments"];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"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]&&status===0){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;exitRuntime();if(Module["onExit"])Module["onExit"](status)}Module["quit"](status,new ExitStatus(status))}function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}if(what!==undefined){out(what);err(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;throw"abort("+what+"). Build with -s ASSERTIONS=1 for more info."}Module["abort"]=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}Module["noExitRuntime"]=true;run(); +var Module=typeof Module!="undefined"?Module:{};(function(){null;var scope;if(typeof window!=="undefined"){scope=window}else{scope=self}if(scope.artoolkit_wasm_url){function downloadWasm(url){return new Promise(function(resolve,reject){var wasmXHR=new XMLHttpRequest;wasmXHR.open("GET",url,true);wasmXHR.responseType="arraybuffer";wasmXHR.onload=function(){resolve(wasmXHR.response)};wasmXHR.onerror=function(){reject("error "+wasmXHR.status)};wasmXHR.send(null)})}var wasm=downloadWasm(scope.artoolkit_wasm_url);Module.instantiateWasm=function(imports,successCallback){console.log("instantiateWasm: instantiating synchronously");wasm.then(function(wasmBinary){console.log("wasm download finished, begin instantiating");var wasmInstantiate=WebAssembly.instantiate(new Uint8Array(wasmBinary),imports).then(function(output){console.log("wasm instantiation succeeded");successCallback(output.instance)}).catch(function(e){console.log("wasm instantiation failed! "+e)})});return{}}}var ARController=function(width,height,cameraPara){this.id=undefined;var w=width,h=height;this.orientation="landscape";this.listeners={};if(typeof width!=="number"){var image=width;cameraPara=height;w=image.videoWidth||image.width;h=image.videoHeight||image.height;this.image=image}this.nftMarkerCount=0;this.defaultMarkerWidth=1;this.patternMarkers={};this.barcodeMarkers={};this.nftMarkers={};this.transform_mat=new Float32Array(16);this.transformGL_RH=new Float64Array(16);this.canvas=document.createElement("canvas");this.canvas.width=w;this.canvas.height=h;this.ctx=this.canvas.getContext("2d");this.videoWidth=w;this.videoHeight=h;this.videoSize=this.videoWidth*this.videoHeight;this.framepointer=null;this.framesize=null;this.dataHeap=null;this.videoLuma=null;this.camera_mat=null;this.marker_transform_mat=null;this.videoLumaPointer=null;this._bwpointer=undefined;this._lumaCtx=undefined;if(typeof cameraPara==="string"){this.cameraParam=new ARCameraParam(cameraPara,function(){this._initialize()}.bind(this),function(err){console.error("ARController: Failed to load ARCameraParam",err);this.onload(err)}.bind(this))}else{this.cameraParam=cameraPara;this._initialize()}};ARController.prototype.dispose=function(){if(this.id>-1){artoolkit.teardown(this.id)}if(this.image&&this.image.srcObject){ARController._teardownVideo(this.image)}for(var t in this){this[t]=null}};ARController.prototype.process=function(image){var result=this.detectMarker(image);if(result!=0){console.error("detectMarker error: "+result)}var markerNum=this.getMarkerNum();var k,o;for(k in this.patternMarkers){o=this.patternMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.barcodeMarkers){o=this.barcodeMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(k in this.nftMarkers){o=this.nftMarkers[k];o.inPrevious=o.inCurrent;o.inCurrent=false}for(var i=0;i-1&&(markerInfo.id===markerInfo.idPatt||markerInfo.idMatrix===-1)){visible=this.trackPatternMarkerId(markerInfo.idPatt);markerType=artoolkit.PATTERN_MARKER;if(markerInfo.dir!==markerInfo.dirPatt){this.setMarkerInfoDir(i,markerInfo.dirPatt)}}else if(markerInfo.idMatrix>-1){visible=this.trackBarcodeMarkerId(markerInfo.idMatrix);markerType=artoolkit.BARCODE_MARKER;if(markerInfo.dir!==markerInfo.dirMatrix){this.setMarkerInfoDir(i,markerInfo.dirMatrix)}}if(markerType!==artoolkit.UNKNOWN_MARKER&&visible.inPrevious){this.getTransMatSquareCont(i,visible.markerWidth,visible.matrix,visible.matrix)}else{this.getTransMatSquare(i,visible.markerWidth,visible.matrix)}visible.inCurrent=true;this.transMatToGLMat(visible.matrix,this.transform_mat);this.transformGL_RH=this.arglCameraViewRHf(this.transform_mat);this.dispatchEvent({name:"getMarker",target:this,data:{index:i,type:markerType,marker:markerInfo,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}})}var nftMarkerCount=this.nftMarkerCount;artoolkit.detectNFTMarker(this.id);for(var i=0;i=0){visible=true;this.dispatchEvent({name:"getMultiMarker",target:this,data:{multiMarkerId:i,matrix:this.transform_mat,matrixGL_RH:this.transformGL_RH}});break}}if(visible){for(var j=0;j-1){this.listeners[name].splice(index,1)}}};ARController.prototype.dispatchEvent=function(event){var listeners=this.listeners[event.name];if(listeners){for(var i=0;i>3;q+=4}}if(this.dataHeap){this.dataHeap.set(data);return true}return false};ARController.prototype._debugMarker=function(marker){var vertex,pos;vertex=marker.vertex;var ctx=this.ctx;ctx.strokeStyle="red";ctx.beginPath();ctx.moveTo(vertex[0][0],vertex[0][1]);ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[2][0],vertex[2][1]);ctx.lineTo(vertex[3][0],vertex[3][1]);ctx.stroke();ctx.strokeStyle="green";ctx.beginPath();ctx.lineTo(vertex[1][0],vertex[1][1]);ctx.lineTo(vertex[2][0],vertex[2][1]);ctx.stroke();ctx.beginPath();ctx.moveTo(vertex[3][0],vertex[3][1]);ctx.lineTo(vertex[0][0],vertex[0][1]);ctx.stroke();pos=marker.pos;ctx.beginPath();ctx.arc(pos[0],pos[1],8,0,Math.PI*2);ctx.fillStyle="red";ctx.fill()};ARController.getUserMedia=function(configuration){var facing=configuration.facingMode||"environment";var onSuccess=configuration.onSuccess;var onError=configuration.onError||function(err){console.error("ARController.getUserMedia",err)};var video=document.createElement("video");var readyToPlay=false;var eventNames=["touchstart","touchend","touchmove","touchcancel","click","mousedown","mouseup","mousemove","keydown","keyup","keypress","scroll"];var play=function(){if(readyToPlay){video.play().then(function(){onSuccess(video)}).catch(function(error){onError(error);ARController._teardownVideo(video)});if(!video.paused){eventNames.forEach(function(eventName){window.removeEventListener(eventName,play,true)})}}};eventNames.forEach(function(eventName){window.addEventListener(eventName,play,true)});var success=function(stream){if(window.URL.createObjectURL){try{video.srcObject=stream}catch(ex){}}video.srcObject=stream;readyToPlay=true;video.autoplay=true;video.playsInline=true;play()};var constraints={};var mediaDevicesConstraints={};if(configuration.width){mediaDevicesConstraints.width=configuration.width;if(typeof configuration.width==="object"){if(configuration.width.max){constraints.maxWidth=configuration.width.max}if(configuration.width.min){constraints.minWidth=configuration.width.min}}else{constraints.maxWidth=configuration.width}}if(configuration.height){mediaDevicesConstraints.height=configuration.height;if(typeof configuration.height==="object"){if(configuration.height.max){constraints.maxHeight=configuration.height.max}if(configuration.height.min){constraints.minHeight=configuration.height.min}}else{constraints.maxHeight=configuration.height}}mediaDevicesConstraints.facingMode=facing;mediaDevicesConstraints.deviceId=configuration.deviceId;navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;var hdConstraints={audio:false,video:constraints};if(navigator.mediaDevices||window.MediaStreamTrack.getSources){if(navigator.mediaDevices){navigator.mediaDevices.getUserMedia({audio:false,video:mediaDevicesConstraints}).then(success,onError)}else{window.MediaStreamTrack.getSources(function(sources){var facingDir=mediaDevicesConstraints.facingMode;if(facing&&facing.exact){facingDir=facing.exact}for(var i=0;i-1){writeStringToFS(filename,url,writeCallback)}else{ajax(url,filename,writeCallback,errorCallback)}}function writeStringToFS(target,string,callback){var byteArray=new Uint8Array(string.length);for(var i=0;i{throw toThrow};var ENVIRONMENT_IS_WEB=typeof window=="object";var ENVIRONMENT_IS_WORKER=typeof importScripts=="function";var ENVIRONMENT_IS_NODE=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string";var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;function logExceptionOnExit(e){if(e instanceof ExitStatus)return;let toLog=e;err("exiting due to exception: "+toLog)}var fs;var nodePath;var requireNodeFS;if(ENVIRONMENT_IS_NODE){if(ENVIRONMENT_IS_WORKER){scriptDirectory=require("path").dirname(scriptDirectory)+"/"}else{scriptDirectory=__dirname+"/"}requireNodeFS=()=>{if(!nodePath){fs=require("fs");nodePath=require("path")}};read_=function shell_read(filename,binary){requireNodeFS();filename=nodePath["normalize"](filename);return fs.readFileSync(filename,binary?undefined:"utf8")};readBinary=filename=>{var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}return ret};readAsync=(filename,onload,onerror)=>{requireNodeFS();filename=nodePath["normalize"](filename);fs.readFile(filename,function(err,data){if(err)onerror(err);else onload(data.buffer)})};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);if(typeof module!="undefined"){module["exports"]=Module}process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",function(reason){throw reason});quit_=(status,toThrow)=>{if(keepRuntimeAlive()){process["exitCode"]=status;throw toThrow}logExceptionOnExit(toThrow);process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(typeof document!="undefined"&&document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1)}else{scriptDirectory=""}{read_=url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){readBinary=url=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}}readAsync=(url,onload,onerror)=>{var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=()=>{if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}onerror()};xhr.onerror=onerror;xhr.send(null)}}setWindowTitle=title=>document.title=title}else{}var out=Module["print"]||console.log.bind(console);var err=Module["printErr"]||console.warn.bind(console);Object.assign(Module,moduleOverrides);moduleOverrides=null;if(Module["arguments"])arguments_=Module["arguments"];if(Module["thisProgram"])thisProgram=Module["thisProgram"];if(Module["quit"])quit_=Module["quit"];var wasmBinary;if(Module["wasmBinary"])wasmBinary=Module["wasmBinary"];var noExitRuntime=Module["noExitRuntime"]||true;if(typeof WebAssembly!="object"){abort("no native wasm support detected")}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort(text)}}var UTF8Decoder=typeof TextDecoder!="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heapOrArray,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heapOrArray[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder){return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr))}var str="";while(idx>10,56320|ch&1023)}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&c<=57343){len+=4;++i}else{len+=3}}return len}var buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferAndViews(buf){buffer=buf;Module["HEAP8"]=HEAP8=new Int8Array(buf);Module["HEAP16"]=HEAP16=new Int16Array(buf);Module["HEAP32"]=HEAP32=new Int32Array(buf);Module["HEAPU8"]=HEAPU8=new Uint8Array(buf);Module["HEAPU16"]=HEAPU16=new Uint16Array(buf);Module["HEAPU32"]=HEAPU32=new Uint32Array(buf);Module["HEAPF32"]=HEAPF32=new Float32Array(buf);Module["HEAPF64"]=HEAPF64=new Float64Array(buf)}var INITIAL_MEMORY=Module["INITIAL_MEMORY"]||268435456;var wasmTable;var __ATPRERUN__=[];var __ATINIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;function keepRuntimeAlive(){return noExitRuntime}function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=true;if(!Module["noFSInit"]&&!FS.init.initialized)FS.init();FS.ignorePermissions=false;TTY.init();callRuntimeCallbacks(__ATINIT__)}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}function abort(what){{if(Module["onAbort"]){Module["onAbort"](what)}}what="Aborted("+what+")";err(what);ABORT=true;EXITSTATUS=1;what+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(what);throw e}var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return filename.startsWith(dataURIPrefix)}function isFileURI(filename){return filename.startsWith("file://")}var wasmBinaryFile;wasmBinaryFile="artoolkitNft_wasm.wasm";if(!isDataURI(wasmBinaryFile)){wasmBinaryFile=locateFile(wasmBinaryFile)}function getBinary(file){try{if(file==wasmBinaryFile&&wasmBinary){return new Uint8Array(wasmBinary)}if(readBinary){return readBinary(file)}throw"both async and sync fetching of the wasm failed"}catch(err){abort(err)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if(typeof fetch=="function"&&!isFileURI(wasmBinaryFile)){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){if(!response["ok"]){throw"failed to load wasm binary file at '"+wasmBinaryFile+"'"}return response["arrayBuffer"]()}).catch(function(){return getBinary(wasmBinaryFile)})}else{if(readAsync){return new Promise(function(resolve,reject){readAsync(wasmBinaryFile,function(response){resolve(new Uint8Array(response))},reject)})}}}return Promise.resolve().then(function(){return getBinary(wasmBinaryFile)})}function createWasm(){var info={"a":asmLibraryArg};function receiveInstance(instance,module){var exports=instance.exports;Module["asm"]=exports;wasmMemory=Module["asm"]["O"];updateGlobalBufferAndViews(wasmMemory.buffer);wasmTable=Module["asm"]["T"];addOnInit(Module["asm"]["P"]);removeRunDependency("wasm-instantiate")}addRunDependency("wasm-instantiate");function receiveInstantiationResult(result){receiveInstance(result["instance"])}function instantiateArrayBuffer(receiver){return getBinaryPromise().then(function(binary){return WebAssembly.instantiate(binary,info)}).then(function(instance){return instance}).then(receiver,function(reason){err("failed to asynchronously prepare wasm: "+reason);abort(reason)})}function instantiateAsync(){if(!wasmBinary&&typeof WebAssembly.instantiateStreaming=="function"&&!isDataURI(wasmBinaryFile)&&!isFileURI(wasmBinaryFile)&&!ENVIRONMENT_IS_NODE&&typeof fetch=="function"){return fetch(wasmBinaryFile,{credentials:"same-origin"}).then(function(response){var result=WebAssembly.instantiateStreaming(response,info);return result.then(receiveInstantiationResult,function(reason){err("wasm streaming compile failed: "+reason);err("falling back to ArrayBuffer instantiation");return instantiateArrayBuffer(receiveInstantiationResult)})})}else{return instantiateArrayBuffer(receiveInstantiationResult)}}if(Module["instantiateWasm"]){try{var exports=Module["instantiateWasm"](info,receiveInstance);return exports}catch(e){err("Module.instantiateWasm callback failed with error: "+e);return false}}instantiateAsync();return{}}var tempDouble;var tempI64;var ASM_CONSTS={64088:function(){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=$a[i++];markerInfo["found"]=1;markerInfo["pose"][0]=$a[i++];markerInfo["pose"][1]=$a[i++];markerInfo["pose"][2]=$a[i++];markerInfo["pose"][3]=$a[i++];markerInfo["pose"][4]=$a[i++];markerInfo["pose"][5]=$a[i++];markerInfo["pose"][6]=$a[i++];markerInfo["pose"][7]=$a[i++];markerInfo["pose"][8]=$a[i++];markerInfo["pose"][9]=$a[i++];markerInfo["pose"][10]=$a[i++];markerInfo["pose"][11]=$a[i++]},64785:function(){var $a=arguments;var i=0;if(!artoolkit["NFTMarkerInfo"]){artoolkit["NFTMarkerInfo"]={id:0,error:-1,found:0,pose:[0,0,0,0,0,0,0,0,0,0,0,0]}}var markerInfo=artoolkit["NFTMarkerInfo"];markerInfo["id"]=$a[i++];markerInfo["error"]=-1;markerInfo["found"]=0;markerInfo["pose"][0]=0;markerInfo["pose"][1]=0;markerInfo["pose"][2]=0;markerInfo["pose"][3]=0;markerInfo["pose"][4]=0;markerInfo["pose"][5]=0;markerInfo["pose"][6]=0;markerInfo["pose"][7]=0;markerInfo["pose"][8]=0;markerInfo["pose"][9]=0;markerInfo["pose"][10]=0;markerInfo["pose"][11]=0},65405:($0,$1,$2,$3)=>{if(!artoolkit["multiEachMarkerInfo"]){artoolkit["multiEachMarkerInfo"]={}}var multiEachMarker=artoolkit["multiEachMarkerInfo"];multiEachMarker["visible"]=$0;multiEachMarker["pattId"]=$1;multiEachMarker["pattType"]=$2;multiEachMarker["width"]=$3},65679:function($0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11){var $a=arguments;var i=12;if(!artoolkit["markerInfo"]){artoolkit["markerInfo"]={pos:[0,0],line:[[0,0,0],[0,0,0],[0,0,0],[0,0,0]],vertex:[[0,0],[0,0],[0,0],[0,0]]}}var markerInfo=artoolkit["markerInfo"];markerInfo["area"]=$0;markerInfo["id"]=$1;markerInfo["idPatt"]=$2;markerInfo["idMatrix"]=$3;markerInfo["dir"]=$4;markerInfo["dirPatt"]=$5;markerInfo["dirMatrix"]=$6;markerInfo["cf"]=$7;markerInfo["cfPatt"]=$8;markerInfo["cfMatrix"]=$9;markerInfo["pos"][0]=$10;markerInfo["pos"][1]=$11;markerInfo["line"][0][0]=$a[i++];markerInfo["line"][0][1]=$a[i++];markerInfo["line"][0][2]=$a[i++];markerInfo["line"][1][0]=$a[i++];markerInfo["line"][1][1]=$a[i++];markerInfo["line"][1][2]=$a[i++];markerInfo["line"][2][0]=$a[i++];markerInfo["line"][2][1]=$a[i++];markerInfo["line"][2][2]=$a[i++];markerInfo["line"][3][0]=$a[i++];markerInfo["line"][3][1]=$a[i++];markerInfo["line"][3][2]=$a[i++];markerInfo["vertex"][0][0]=$a[i++];markerInfo["vertex"][0][1]=$a[i++];markerInfo["vertex"][1][0]=$a[i++];markerInfo["vertex"][1][1]=$a[i++];markerInfo["vertex"][2][0]=$a[i++];markerInfo["vertex"][2][1]=$a[i++];markerInfo["vertex"][3][0]=$a[i++];markerInfo["vertex"][3][1]=$a[i++];markerInfo["errorCorrected"]=$a[i++]},67014:($0,$1,$2,$3,$4,$5)=>{if(!artoolkit["frameMalloc"]){artoolkit["frameMalloc"]={}}var frameMalloc=artoolkit["frameMalloc"];frameMalloc["framepointer"]=$1;frameMalloc["framesize"]=$2;frameMalloc["camera"]=$3;frameMalloc["transform"]=$4;frameMalloc["videoLumaPointer"]=$5}};function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}function callRuntimeCallbacks(callbacks){while(callbacks.length>0){callbacks.shift()(Module)}}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function ___cxa_allocate_exception(size){return _malloc(size+24)+24}function ExceptionInfo(excPtr){this.excPtr=excPtr;this.ptr=excPtr-24;this.set_type=function(type){HEAPU32[this.ptr+4>>2]=type};this.get_type=function(){return HEAPU32[this.ptr+4>>2]};this.set_destructor=function(destructor){HEAPU32[this.ptr+8>>2]=destructor};this.get_destructor=function(){return HEAPU32[this.ptr+8>>2]};this.set_refcount=function(refcount){HEAP32[this.ptr>>2]=refcount};this.set_caught=function(caught){caught=caught?1:0;HEAP8[this.ptr+12>>0]=caught};this.get_caught=function(){return HEAP8[this.ptr+12>>0]!=0};this.set_rethrown=function(rethrown){rethrown=rethrown?1:0;HEAP8[this.ptr+13>>0]=rethrown};this.get_rethrown=function(){return HEAP8[this.ptr+13>>0]!=0};this.init=function(type,destructor){this.set_adjusted_ptr(0);this.set_type(type);this.set_destructor(destructor);this.set_refcount(0);this.set_caught(false);this.set_rethrown(false)};this.add_ref=function(){var value=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=value+1};this.release_ref=function(){var prev=HEAP32[this.ptr>>2];HEAP32[this.ptr>>2]=prev-1;return prev===1};this.set_adjusted_ptr=function(adjustedPtr){HEAPU32[this.ptr+16>>2]=adjustedPtr};this.get_adjusted_ptr=function(){return HEAPU32[this.ptr+16>>2]};this.get_exception_ptr=function(){var isPointer=___cxa_is_pointer_type(this.get_type());if(isPointer){return HEAPU32[this.excPtr>>2]}var adjusted=this.get_adjusted_ptr();if(adjusted!==0)return adjusted;return this.excPtr}}var exceptionLast=0;var uncaughtExceptionCount=0;function ___cxa_throw(ptr,type,destructor){var info=new ExceptionInfo(ptr);info.init(type,destructor);exceptionLast=ptr;uncaughtExceptionCount++;throw ptr}function setErrNo(value){HEAP32[___errno_location()>>2]=value;return value}var PATH={isAbs:path=>path.charAt(0)==="/",splitPath:filename=>{var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)},normalizeArray:(parts,allowAboveRoot)=>{var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts},normalize:path=>{var isAbsolute=PATH.isAbs(path),trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter(p=>!!p),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path},dirname:path=>{var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir},basename:path=>{if(path==="/")return"/";path=PATH.normalize(path);path=path.replace(/\/$/,"");var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)},join:function(){var paths=Array.prototype.slice.call(arguments);return PATH.normalize(paths.join("/"))},join2:(l,r)=>{return PATH.normalize(l+"/"+r)}};function getRandomDevice(){if(typeof crypto=="object"&&typeof crypto["getRandomValues"]=="function"){var randomBuffer=new Uint8Array(1);return()=>{crypto.getRandomValues(randomBuffer);return randomBuffer[0]}}else if(ENVIRONMENT_IS_NODE){try{var crypto_module=require("crypto");return()=>crypto_module["randomBytes"](1)[0]}catch(e){}}return()=>abort("randomDevice")}var PATH_FS={resolve:function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=PATH.isAbs(path)}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter(p=>!!p),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."},relative:(from,to)=>{from=PATH_FS.resolve(from).substr(1);to=PATH_FS.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}var TTY={ttys:[],init:function(){},shutdown:function(){},register:function(dev,ops){TTY.ttys[dev]={input:[],output:[],ops:ops};FS.registerDevice(dev,TTY.stream_ops)},stream_ops:{open:function(stream){var tty=TTY.ttys[stream.node.rdev];if(!tty){throw new FS.ErrnoError(43)}stream.tty=tty;stream.seekable=false},close:function(stream){stream.tty.ops.fsync(stream.tty)},fsync:function(stream){stream.tty.ops.fsync(stream.tty)},read:function(stream,buffer,offset,length,pos){if(!stream.tty||!stream.tty.ops.get_char){throw new FS.ErrnoError(60)}var bytesRead=0;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()},put_char:function(tty,val){if(val===null||val===10){out(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},fsync:function(tty){if(tty.output&&tty.output.length>0){out(UTF8ArrayToString(tty.output,0));tty.output=[]}}},default_tty1_ops:{put_char:function(tty,val){if(val===null||val===10){err(UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}},fsync:function(tty){if(tty.output&&tty.output.length>0){err(UTF8ArrayToString(tty.output,0));tty.output=[]}}}};function mmapAlloc(size){abort()}var MEMFS={ops_table:null,mount:function(mount){return MEMFS.createNode(null,"/",16384|511,0)},createNode:function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(63)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node;parent.timestamp=node.timestamp}return node},getFileDataAsTypedArray:function(node){if(!node.contents)return new Uint8Array(0);if(node.contents.subarray)return node.contents.subarray(0,node.usedBytes);return new Uint8Array(node.contents)},expandFileStorage:function(node,newCapacity){var prevCapacity=node.contents?node.contents.length:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity>>0);if(prevCapacity!=0)newCapacity=Math.max(newCapacity,256);var oldContents=node.contents;node.contents=new Uint8Array(newCapacity);if(node.usedBytes>0)node.contents.set(oldContents.subarray(0,node.usedBytes),0)},resizeFileStorage:function(node,newSize){if(node.usedBytes==newSize)return;if(newSize==0){node.contents=null;node.usedBytes=0}else{var oldContents=node.contents;node.contents=new Uint8Array(newSize);if(oldContents){node.contents.set(oldContents.subarray(0,Math.min(newSize,node.usedBytes)))}node.usedBytes=newSize}},node_ops:{getattr:function(node){var attr={};attr.dev=FS.isChrdev(node.mode)?node.id:1;attr.ino=node.id;attr.mode=node.mode;attr.nlink=1;attr.uid=0;attr.gid=0;attr.rdev=node.rdev;if(FS.isDir(node.mode)){attr.size=4096}else if(FS.isFile(node.mode)){attr.size=node.usedBytes}else if(FS.isLink(node.mode)){attr.size=node.link.length}else{attr.size=0}attr.atime=new Date(node.timestamp);attr.mtime=new Date(node.timestamp);attr.ctime=new Date(node.timestamp);attr.blksize=4096;attr.blocks=Math.ceil(attr.size/attr.blksize);return attr},setattr:function(node,attr){if(attr.mode!==undefined){node.mode=attr.mode}if(attr.timestamp!==undefined){node.timestamp=attr.timestamp}if(attr.size!==undefined){MEMFS.resizeFileStorage(node,attr.size)}},lookup:function(parent,name){throw FS.genericErrors[44]},mknod:function(parent,name,mode,dev){return MEMFS.createNode(parent,name,mode,dev)},rename:function(old_node,new_dir,new_name){if(FS.isDir(old_node.mode)){var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(new_node){for(var i in new_node.contents){throw new FS.ErrnoError(55)}}}delete old_node.parent.contents[old_node.name];old_node.parent.timestamp=Date.now();old_node.name=new_name;new_dir.contents[new_name]=old_node;new_dir.timestamp=old_node.parent.timestamp;old_node.parent=new_dir},unlink:function(parent,name){delete parent.contents[name];parent.timestamp=Date.now()},rmdir:function(parent,name){var node=FS.lookupNode(parent,name);for(var i in node.contents){throw new FS.ErrnoError(55)}delete parent.contents[name];parent.timestamp=Date.now()},readdir:function(node){var entries=[".",".."];for(var key in node.contents){if(!node.contents.hasOwnProperty(key)){continue}entries.push(key)}return entries},symlink:function(parent,newname,oldpath){var node=MEMFS.createNode(parent,newname,511|40960,0);node.link=oldpath;return node},readlink:function(node){if(!FS.isLink(node.mode)){throw new FS.ErrnoError(28)}return node.link}},stream_ops:{read:function(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+length{assert(arrayBuffer,'Loading data file "'+url+'" failed (no arrayBuffer).');onload(new Uint8Array(arrayBuffer));if(dep)removeRunDependency(dep)},event=>{if(onerror){onerror()}else{throw'Loading data file "'+url+'" failed.'}});if(dep)addRunDependency(dep)}var FS={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:(path,opts={})=>{path=PATH_FS.resolve(FS.cwd(),path);if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};opts=Object.assign(defaults,opts);if(opts.recurse_count>8){throw new FS.ErrnoError(32)}var parts=PATH.normalizeArray(path.split("/").filter(p=>!!p),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(32)}}}}return{path:current_path,node:current}},getPath:node=>{var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}},hashName:(parentid,name)=>{var hash=0;for(var i=0;i>>0)%FS.nameTable.length},hashAddNode:node=>{var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node},hashRemoveNode:node=>{var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}},lookupNode:(parent,name)=>{var errCode=FS.mayLookup(parent);if(errCode){throw new FS.ErrnoError(errCode,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)},createNode:(parent,name,mode,rdev)=>{var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node},destroyNode:node=>{FS.hashRemoveNode(node)},isRoot:node=>{return node===node.parent},isMountpoint:node=>{return!!node.mounted},isFile:mode=>{return(mode&61440)===32768},isDir:mode=>{return(mode&61440)===16384},isLink:mode=>{return(mode&61440)===40960},isChrdev:mode=>{return(mode&61440)===8192},isBlkdev:mode=>{return(mode&61440)===24576},isFIFO:mode=>{return(mode&61440)===4096},isSocket:mode=>{return(mode&49152)===49152},flagModes:{"r":0,"r+":2,"w":577,"w+":578,"a":1089,"a+":1090},modeStringToFlags:str=>{var flags=FS.flagModes[str];if(typeof flags=="undefined"){throw new Error("Unknown file open mode: "+str)}return flags},flagsToPermissionString:flag=>{var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms},nodePermissions:(node,perms)=>{if(FS.ignorePermissions){return 0}if(perms.includes("r")&&!(node.mode&292)){return 2}else if(perms.includes("w")&&!(node.mode&146)){return 2}else if(perms.includes("x")&&!(node.mode&73)){return 2}return 0},mayLookup:dir=>{var errCode=FS.nodePermissions(dir,"x");if(errCode)return errCode;if(!dir.node_ops.lookup)return 2;return 0},mayCreate:(dir,name)=>{try{var node=FS.lookupNode(dir,name);return 20}catch(e){}return FS.nodePermissions(dir,"wx")},mayDelete:(dir,name,isdir)=>{var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var errCode=FS.nodePermissions(dir,"wx");if(errCode){return errCode}if(isdir){if(!FS.isDir(node.mode)){return 54}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return 10}}else{if(FS.isDir(node.mode)){return 31}}return 0},mayOpen:(node,flags)=>{if(!node){return 44}if(FS.isLink(node.mode)){return 32}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return 31}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))},MAX_OPEN_FDS:4096,nextfd:(fd_start=0,fd_end=FS.MAX_OPEN_FDS)=>{for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(33)},getStream:fd=>FS.streams[fd],createStream:(stream,fd_start,fd_end)=>{if(!FS.FSStream){FS.FSStream=function(){this.shared={}};FS.FSStream.prototype={};Object.defineProperties(FS.FSStream.prototype,{object:{get:function(){return this.node},set:function(val){this.node=val}},isRead:{get:function(){return(this.flags&2097155)!==1}},isWrite:{get:function(){return(this.flags&2097155)!==0}},isAppend:{get:function(){return this.flags&1024}},flags:{get:function(){return this.shared.flags},set:function(val){this.shared.flags=val}},position:{get:function(){return this.shared.position},set:function(val){this.shared.position=val}}})}stream=Object.assign(new FS.FSStream,stream);var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream},closeStream:fd=>{FS.streams[fd]=null},chrdev_stream_ops:{open:stream=>{var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}},llseek:()=>{throw new FS.ErrnoError(70)}},major:dev=>dev>>8,minor:dev=>dev&255,makedev:(ma,mi)=>ma<<8|mi,registerDevice:(dev,ops)=>{FS.devices[dev]={stream_ops:ops}},getDevice:dev=>FS.devices[dev],getMounts:mount=>{var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts},syncfs:(populate,callback)=>{if(typeof populate=="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){err("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(errCode){FS.syncFSRequests--;return callback(errCode)}function done(errCode){if(errCode){if(!done.errored){done.errored=true;return doCallback(errCode)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach(mount=>{if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)})},mount:(type,opts,mountpoint)=>{var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(10)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot},unmount:mountpoint=>{var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(28)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach(hash=>{var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.includes(current.mount)){FS.destroyNode(current)}current=next}});node.mounted=null;var idx=node.mount.mounts.indexOf(mount);node.mount.mounts.splice(idx,1)},lookup:(parent,name)=>{return parent.node_ops.lookup(parent,name)},mknod:(path,mode,dev)=>{var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(28)}var errCode=FS.mayCreate(parent,name);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(63)}return parent.node_ops.mknod(parent,name,mode,dev)},create:(path,mode)=>{mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)},mkdir:(path,mode)=>{mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)},mkdirTree:(path,mode)=>{var dirs=path.split("/");var d="";for(var i=0;i{if(typeof dev=="undefined"){dev=mode;mode=438}mode|=8192;return FS.mknod(path,mode,dev)},symlink:(oldpath,newpath)=>{if(!PATH_FS.resolve(oldpath)){throw new FS.ErrnoError(44)}var lookup=FS.lookupPath(newpath,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var newname=PATH.basename(newpath);var errCode=FS.mayCreate(parent,newname);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.symlink){throw new FS.ErrnoError(63)}return parent.node_ops.symlink(parent,newname,oldpath)},rename:(old_path,new_path)=>{var old_dirname=PATH.dirname(old_path);var new_dirname=PATH.dirname(new_path);var old_name=PATH.basename(old_path);var new_name=PATH.basename(new_path);var lookup,old_dir,new_dir;lookup=FS.lookupPath(old_path,{parent:true});old_dir=lookup.node;lookup=FS.lookupPath(new_path,{parent:true});new_dir=lookup.node;if(!old_dir||!new_dir)throw new FS.ErrnoError(44);if(old_dir.mount!==new_dir.mount){throw new FS.ErrnoError(75)}var old_node=FS.lookupNode(old_dir,old_name);var relative=PATH_FS.relative(old_path,new_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(28)}relative=PATH_FS.relative(new_path,old_dirname);if(relative.charAt(0)!=="."){throw new FS.ErrnoError(55)}var new_node;try{new_node=FS.lookupNode(new_dir,new_name)}catch(e){}if(old_node===new_node){return}var isdir=FS.isDir(old_node.mode);var errCode=FS.mayDelete(old_dir,old_name,isdir);if(errCode){throw new FS.ErrnoError(errCode)}errCode=new_node?FS.mayDelete(new_dir,new_name,isdir):FS.mayCreate(new_dir,new_name);if(errCode){throw new FS.ErrnoError(errCode)}if(!old_dir.node_ops.rename){throw new FS.ErrnoError(63)}if(FS.isMountpoint(old_node)||new_node&&FS.isMountpoint(new_node)){throw new FS.ErrnoError(10)}if(new_dir!==old_dir){errCode=FS.nodePermissions(old_dir,"w");if(errCode){throw new FS.ErrnoError(errCode)}}FS.hashRemoveNode(old_node);try{old_dir.node_ops.rename(old_node,new_dir,new_name)}catch(e){throw e}finally{FS.hashAddNode(old_node)}},rmdir:path=>{var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,true);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.rmdir){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}parent.node_ops.rmdir(parent,name);FS.destroyNode(node)},readdir:path=>{var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;if(!node.node_ops.readdir){throw new FS.ErrnoError(54)}return node.node_ops.readdir(node)},unlink:path=>{var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;if(!parent){throw new FS.ErrnoError(44)}var name=PATH.basename(path);var node=FS.lookupNode(parent,name);var errCode=FS.mayDelete(parent,name,false);if(errCode){throw new FS.ErrnoError(errCode)}if(!parent.node_ops.unlink){throw new FS.ErrnoError(63)}if(FS.isMountpoint(node)){throw new FS.ErrnoError(10)}parent.node_ops.unlink(parent,name);FS.destroyNode(node)},readlink:path=>{var lookup=FS.lookupPath(path);var link=lookup.node;if(!link){throw new FS.ErrnoError(44)}if(!link.node_ops.readlink){throw new FS.ErrnoError(28)}return PATH_FS.resolve(FS.getPath(link.parent),link.node_ops.readlink(link))},stat:(path,dontFollow)=>{var lookup=FS.lookupPath(path,{follow:!dontFollow});var node=lookup.node;if(!node){throw new FS.ErrnoError(44)}if(!node.node_ops.getattr){throw new FS.ErrnoError(63)}return node.node_ops.getattr(node)},lstat:path=>{return FS.stat(path,true)},chmod:(path,mode,dontFollow)=>{var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{mode:mode&4095|node.mode&~4095,timestamp:Date.now()})},lchmod:(path,mode)=>{FS.chmod(path,mode,true)},fchmod:(fd,mode)=>{var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}FS.chmod(stream.node,mode)},chown:(path,uid,gid,dontFollow)=>{var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:!dontFollow});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}node.node_ops.setattr(node,{timestamp:Date.now()})},lchown:(path,uid,gid)=>{FS.chown(path,uid,gid,true)},fchown:(fd,uid,gid)=>{var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}FS.chown(stream.node,uid,gid)},truncate:(path,len)=>{if(len<0){throw new FS.ErrnoError(28)}var node;if(typeof path=="string"){var lookup=FS.lookupPath(path,{follow:true});node=lookup.node}else{node=path}if(!node.node_ops.setattr){throw new FS.ErrnoError(63)}if(FS.isDir(node.mode)){throw new FS.ErrnoError(31)}if(!FS.isFile(node.mode)){throw new FS.ErrnoError(28)}var errCode=FS.nodePermissions(node,"w");if(errCode){throw new FS.ErrnoError(errCode)}node.node_ops.setattr(node,{size:len,timestamp:Date.now()})},ftruncate:(fd,len)=>{var stream=FS.getStream(fd);if(!stream){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(28)}FS.truncate(stream.node,len)},utime:(path,atime,mtime)=>{var lookup=FS.lookupPath(path,{follow:true});var node=lookup.node;node.node_ops.setattr(node,{timestamp:Math.max(atime,mtime)})},open:(path,flags,mode)=>{if(path===""){throw new FS.ErrnoError(44)}flags=typeof flags=="string"?FS.modeStringToFlags(flags):flags;mode=typeof mode=="undefined"?438:mode;if(flags&64){mode=mode&4095|32768}else{mode=0}var node;if(typeof path=="object"){node=path}else{path=PATH.normalize(path);try{var lookup=FS.lookupPath(path,{follow:!(flags&131072)});node=lookup.node}catch(e){}}var created=false;if(flags&64){if(node){if(flags&128){throw new FS.ErrnoError(20)}}else{node=FS.mknod(path,mode,0);created=true}}if(!node){throw new FS.ErrnoError(44)}if(FS.isChrdev(node.mode)){flags&=~512}if(flags&65536&&!FS.isDir(node.mode)){throw new FS.ErrnoError(54)}if(!created){var errCode=FS.mayOpen(node,flags);if(errCode){throw new FS.ErrnoError(errCode)}}if(flags&512&&!created){FS.truncate(node,0)}flags&=~(128|512|131072);var stream=FS.createStream({node:node,path:FS.getPath(node),flags:flags,seekable:true,position:0,stream_ops:node.stream_ops,ungotten:[],error:false});if(stream.stream_ops.open){stream.stream_ops.open(stream)}if(Module["logReadFiles"]&&!(flags&1)){if(!FS.readFiles)FS.readFiles={};if(!(path in FS.readFiles)){FS.readFiles[path]=1}}return stream},close:stream=>{if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(stream.getdents)stream.getdents=null;try{if(stream.stream_ops.close){stream.stream_ops.close(stream)}}catch(e){throw e}finally{FS.closeStream(stream.fd)}stream.fd=null},isClosed:stream=>{return stream.fd===null},llseek:(stream,offset,whence)=>{if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(!stream.seekable||!stream.stream_ops.llseek){throw new FS.ErrnoError(70)}if(whence!=0&&whence!=1&&whence!=2){throw new FS.ErrnoError(28)}stream.position=stream.stream_ops.llseek(stream,offset,whence);stream.ungotten=[];return stream.position},read:(stream,buffer,offset,length,position)=>{if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.read){throw new FS.ErrnoError(28)}var seeking=typeof position!="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesRead=stream.stream_ops.read(stream,buffer,offset,length,position);if(!seeking)stream.position+=bytesRead;return bytesRead},write:(stream,buffer,offset,length,position,canOwn)=>{if(length<0||position<0){throw new FS.ErrnoError(28)}if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(FS.isDir(stream.node.mode)){throw new FS.ErrnoError(31)}if(!stream.stream_ops.write){throw new FS.ErrnoError(28)}if(stream.seekable&&stream.flags&1024){FS.llseek(stream,0,2)}var seeking=typeof position!="undefined";if(!seeking){position=stream.position}else if(!stream.seekable){throw new FS.ErrnoError(70)}var bytesWritten=stream.stream_ops.write(stream,buffer,offset,length,position,canOwn);if(!seeking)stream.position+=bytesWritten;return bytesWritten},allocate:(stream,offset,length)=>{if(FS.isClosed(stream)){throw new FS.ErrnoError(8)}if(offset<0||length<=0){throw new FS.ErrnoError(28)}if((stream.flags&2097155)===0){throw new FS.ErrnoError(8)}if(!FS.isFile(stream.node.mode)&&!FS.isDir(stream.node.mode)){throw new FS.ErrnoError(43)}if(!stream.stream_ops.allocate){throw new FS.ErrnoError(138)}stream.stream_ops.allocate(stream,offset,length)},mmap:(stream,length,position,prot,flags)=>{if((prot&2)!==0&&(flags&2)===0&&(stream.flags&2097155)!==2){throw new FS.ErrnoError(2)}if((stream.flags&2097155)===1){throw new FS.ErrnoError(2)}if(!stream.stream_ops.mmap){throw new FS.ErrnoError(43)}return stream.stream_ops.mmap(stream,length,position,prot,flags)},msync:(stream,buffer,offset,length,mmapFlags)=>{if(!stream||!stream.stream_ops.msync){return 0}return stream.stream_ops.msync(stream,buffer,offset,length,mmapFlags)},munmap:stream=>0,ioctl:(stream,cmd,arg)=>{if(!stream.stream_ops.ioctl){throw new FS.ErrnoError(59)}return stream.stream_ops.ioctl(stream,cmd,arg)},readFile:(path,opts={})=>{opts.flags=opts.flags||0;opts.encoding=opts.encoding||"binary";if(opts.encoding!=="utf8"&&opts.encoding!=="binary"){throw new Error('Invalid encoding type "'+opts.encoding+'"')}var ret;var stream=FS.open(path,opts.flags);var stat=FS.stat(path);var length=stat.size;var buf=new Uint8Array(length);FS.read(stream,buf,0,length,0);if(opts.encoding==="utf8"){ret=UTF8ArrayToString(buf,0)}else if(opts.encoding==="binary"){ret=buf}FS.close(stream);return ret},writeFile:(path,data,opts={})=>{opts.flags=opts.flags||577;var stream=FS.open(path,opts.flags,opts.mode);if(typeof data=="string"){var buf=new Uint8Array(lengthBytesUTF8(data)+1);var actualNumBytes=stringToUTF8Array(data,buf,0,buf.length);FS.write(stream,buf,0,actualNumBytes,undefined,opts.canOwn)}else if(ArrayBuffer.isView(data)){FS.write(stream,data,0,data.byteLength,undefined,opts.canOwn)}else{throw new Error("Unsupported data type")}FS.close(stream)},cwd:()=>FS.currentPath,chdir:path=>{var lookup=FS.lookupPath(path,{follow:true});if(lookup.node===null){throw new FS.ErrnoError(44)}if(!FS.isDir(lookup.node.mode)){throw new FS.ErrnoError(54)}var errCode=FS.nodePermissions(lookup.node,"x");if(errCode){throw new FS.ErrnoError(errCode)}FS.currentPath=lookup.path},createDefaultDirectories:()=>{FS.mkdir("/tmp");FS.mkdir("/home");FS.mkdir("/home/web_user")},createDefaultDevices:()=>{FS.mkdir("/dev");FS.registerDevice(FS.makedev(1,3),{read:()=>0,write:(stream,buffer,offset,length,pos)=>length});FS.mkdev("/dev/null",FS.makedev(1,3));TTY.register(FS.makedev(5,0),TTY.default_tty_ops);TTY.register(FS.makedev(6,0),TTY.default_tty1_ops);FS.mkdev("/dev/tty",FS.makedev(5,0));FS.mkdev("/dev/tty1",FS.makedev(6,0));var random_device=getRandomDevice();FS.createDevice("/dev","random",random_device);FS.createDevice("/dev","urandom",random_device);FS.mkdir("/dev/shm");FS.mkdir("/dev/shm/tmp")},createSpecialDirectories:()=>{FS.mkdir("/proc");var proc_self=FS.mkdir("/proc/self");FS.mkdir("/proc/self/fd");FS.mount({mount:()=>{var node=FS.createNode(proc_self,"fd",16384|511,73);node.node_ops={lookup:(parent,name)=>{var fd=+name;var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);var ret={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>stream.path}};ret.parent=ret;return ret}};return node}},{},"/proc/self/fd")},createStandardStreams:()=>{if(Module["stdin"]){FS.createDevice("/dev","stdin",Module["stdin"])}else{FS.symlink("/dev/tty","/dev/stdin")}if(Module["stdout"]){FS.createDevice("/dev","stdout",null,Module["stdout"])}else{FS.symlink("/dev/tty","/dev/stdout")}if(Module["stderr"]){FS.createDevice("/dev","stderr",null,Module["stderr"])}else{FS.symlink("/dev/tty1","/dev/stderr")}var stdin=FS.open("/dev/stdin",0);var stdout=FS.open("/dev/stdout",1);var stderr=FS.open("/dev/stderr",1)},ensureErrnoError:()=>{if(FS.ErrnoError)return;FS.ErrnoError=function ErrnoError(errno,node){this.node=node;this.setErrno=function(errno){this.errno=errno};this.setErrno(errno);this.message="FS error"};FS.ErrnoError.prototype=new Error;FS.ErrnoError.prototype.constructor=FS.ErrnoError;[44].forEach(code=>{FS.genericErrors[code]=new FS.ErrnoError(code);FS.genericErrors[code].stack=""})},staticInit:()=>{FS.ensureErrnoError();FS.nameTable=new Array(4096);FS.mount(MEMFS,{},"/");FS.createDefaultDirectories();FS.createDefaultDevices();FS.createSpecialDirectories();FS.filesystems={"MEMFS":MEMFS}},init:(input,output,error)=>{FS.init.initialized=true;FS.ensureErrnoError();Module["stdin"]=input||Module["stdin"];Module["stdout"]=output||Module["stdout"];Module["stderr"]=error||Module["stderr"];FS.createStandardStreams()},quit:()=>{FS.init.initialized=false;for(var i=0;i{var mode=0;if(canRead)mode|=292|73;if(canWrite)mode|=146;return mode},findObject:(path,dontResolveLastLink)=>{var ret=FS.analyzePath(path,dontResolveLastLink);if(!ret.exists){return null}return ret.object},analyzePath:(path,dontResolveLastLink)=>{try{var lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});path=lookup.path}catch(e){}var ret={isRoot:false,exists:false,error:0,name:null,path:null,object:null,parentExists:false,parentPath:null,parentObject:null};try{var lookup=FS.lookupPath(path,{parent:true});ret.parentExists=true;ret.parentPath=lookup.path;ret.parentObject=lookup.node;ret.name=PATH.basename(path);lookup=FS.lookupPath(path,{follow:!dontResolveLastLink});ret.exists=true;ret.path=lookup.path;ret.object=lookup.node;ret.name=lookup.node.name;ret.isRoot=lookup.path==="/"}catch(e){ret.error=e.errno}return ret},createPath:(parent,path,canRead,canWrite)=>{parent=typeof parent=="string"?parent:FS.getPath(parent);var parts=path.split("/").reverse();while(parts.length){var part=parts.pop();if(!part)continue;var current=PATH.join2(parent,part);try{FS.mkdir(current)}catch(e){}parent=current}return current},createFile:(parent,name,properties,canRead,canWrite)=>{var path=PATH.join2(typeof parent=="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(canRead,canWrite);return FS.create(path,mode)},createDataFile:(parent,name,data,canRead,canWrite,canOwn)=>{var path=name;if(parent){parent=typeof parent=="string"?parent:FS.getPath(parent);path=name?PATH.join2(parent,name):parent}var mode=FS.getMode(canRead,canWrite);var node=FS.create(path,mode);if(data){if(typeof data=="string"){var arr=new Array(data.length);for(var i=0,len=data.length;i{var path=PATH.join2(typeof parent=="string"?parent:FS.getPath(parent),name);var mode=FS.getMode(!!input,!!output);if(!FS.createDevice.major)FS.createDevice.major=64;var dev=FS.makedev(FS.createDevice.major++,0);FS.registerDevice(dev,{open:stream=>{stream.seekable=false},close:stream=>{if(output&&output.buffer&&output.buffer.length){output(10)}},read:(stream,buffer,offset,length,pos)=>{var bytesRead=0;for(var i=0;i{for(var i=0;i{if(obj.isDevice||obj.isFolder||obj.link||obj.contents)return true;if(typeof XMLHttpRequest!="undefined"){throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.")}else if(read_){try{obj.contents=intArrayFromString(read_(obj.url),true);obj.usedBytes=obj.contents.length}catch(e){throw new FS.ErrnoError(29)}}else{throw new Error("Cannot load without read() or XMLHttpRequest.")}},createLazyFile:(parent,name,url,canRead,canWrite)=>{function LazyUint8Array(){this.lengthKnown=false;this.chunks=[]}LazyUint8Array.prototype.get=function LazyUint8Array_get(idx){if(idx>this.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=(from,to)=>{if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}return intArrayFromString(xhr.responseText||"",true)};var lazyArray=this;lazyArray.setDataGetter(chunkNum=>{var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]=="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]=="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]});if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;out("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._length}},chunkSize:{get:function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize}}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:function(){return this.contents.length}}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach(key=>{var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){FS.forceLoadFile(node);return fn.apply(null,arguments)}});function writeChunks(stream,buffer,offset,length,position){var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);if(contents.slice){for(var i=0;i{FS.forceLoadFile(node);return writeChunks(stream,buffer,offset,length,position)};stream_ops.mmap=(stream,length,position,prot,flags)=>{FS.forceLoadFile(node);var ptr=mmapAlloc(length);if(!ptr){throw new FS.ErrnoError(48)}writeChunks(stream,HEAP8,ptr,length,position);return{ptr:ptr,allocated:true}};node.stream_ops=stream_ops;return node},createPreloadedFile:(parent,name,url,canRead,canWrite,onload,onerror,dontCreateFile,canOwn,preFinish)=>{var fullname=name?PATH_FS.resolve(PATH.join2(parent,name)):parent;var dep=getUniqueRunDependency("cp "+fullname);function processData(byteArray){function finish(byteArray){if(preFinish)preFinish();if(!dontCreateFile){FS.createDataFile(parent,name,byteArray,canRead,canWrite,canOwn)}if(onload)onload();removeRunDependency(dep)}if(Browser.handledByPreloadPlugin(byteArray,fullname,finish,()=>{if(onerror)onerror();removeRunDependency(dep)})){return}finish(byteArray)}addRunDependency(dep);if(typeof url=="string"){asyncLoad(url,byteArray=>processData(byteArray),onerror)}else{processData(url)}},indexedDB:()=>{return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:()=>{return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:(paths,onload,onerror)=>{onload=onload||(()=>{});onerror=onerror||(()=>{});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=()=>{out("creating db");var db=openRequest.result;db.createObjectStore(FS.DB_STORE_NAME)};openRequest.onsuccess=()=>{var db=openRequest.result;var transaction=db.transaction([FS.DB_STORE_NAME],"readwrite");var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach(path=>{var putRequest=files.put(FS.analyzePath(path).object.contents,path);putRequest.onsuccess=()=>{ok++;if(ok+fail==total)finish()};putRequest.onerror=()=>{fail++;if(ok+fail==total)finish()}});transaction.onerror=onerror};openRequest.onerror=onerror},loadFilesFromDB:(paths,onload,onerror)=>{onload=onload||(()=>{});onerror=onerror||(()=>{});var indexedDB=FS.indexedDB();try{var openRequest=indexedDB.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return onerror(e)}openRequest.onupgradeneeded=onerror;openRequest.onsuccess=()=>{var db=openRequest.result;try{var transaction=db.transaction([FS.DB_STORE_NAME],"readonly")}catch(e){onerror(e);return}var files=transaction.objectStore(FS.DB_STORE_NAME);var ok=0,fail=0,total=paths.length;function finish(){if(fail==0)onload();else onerror()}paths.forEach(path=>{var getRequest=files.get(path);getRequest.onsuccess=()=>{if(FS.analyzePath(path).exists){FS.unlink(path)}FS.createDataFile(PATH.dirname(path),PATH.basename(path),getRequest.result,true,true,true);ok++;if(ok+fail==total)finish()};getRequest.onerror=()=>{fail++;if(ok+fail==total)finish()}});transaction.onerror=onerror};openRequest.onerror=onerror}};var SYSCALLS={DEFAULT_POLLMASK:5,calculateAt:function(dirfd,path,allowEmpty){if(PATH.isAbs(path)){return path}var dir;if(dirfd===-100){dir=FS.cwd()}else{var dirstream=SYSCALLS.getStreamFromFD(dirfd);dir=dirstream.path}if(path.length==0){if(!allowEmpty){throw new FS.ErrnoError(44)}return dir}return PATH.join2(dir,path)},doStat:function(func,path,buf){try{var stat=func(path)}catch(e){if(e&&e.node&&PATH.normalize(path)!==PATH.normalize(FS.getPath(e.node))){return-54}throw e}HEAP32[buf>>2]=stat.dev;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAPU32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;tempI64=[stat.size>>>0,(tempDouble=stat.size,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+40>>2]=tempI64[0],HEAP32[buf+44>>2]=tempI64[1];HEAP32[buf+48>>2]=4096;HEAP32[buf+52>>2]=stat.blocks;tempI64=[Math.floor(stat.atime.getTime()/1e3)>>>0,(tempDouble=Math.floor(stat.atime.getTime()/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+56>>2]=tempI64[0],HEAP32[buf+60>>2]=tempI64[1];HEAPU32[buf+64>>2]=0;tempI64=[Math.floor(stat.mtime.getTime()/1e3)>>>0,(tempDouble=Math.floor(stat.mtime.getTime()/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+72>>2]=tempI64[0],HEAP32[buf+76>>2]=tempI64[1];HEAPU32[buf+80>>2]=0;tempI64=[Math.floor(stat.ctime.getTime()/1e3)>>>0,(tempDouble=Math.floor(stat.ctime.getTime()/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+88>>2]=tempI64[0],HEAP32[buf+92>>2]=tempI64[1];HEAPU32[buf+96>>2]=0;tempI64=[stat.ino>>>0,(tempDouble=stat.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[buf+104>>2]=tempI64[0],HEAP32[buf+108>>2]=tempI64[1];return 0},doMsync:function(addr,stream,len,flags,offset){var buffer=HEAPU8.slice(addr,addr+len);FS.msync(stream,buffer,offset,len,flags)},varargs:undefined,get:function(){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret},getStr:function(ptr){var ret=UTF8ToString(ptr);return ret},getStreamFromFD:function(fd){var stream=FS.getStream(fd);if(!stream)throw new FS.ErrnoError(8);return stream}};function ___syscall_fcntl64(fd,cmd,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(cmd){case 0:{var arg=SYSCALLS.get();if(arg<0){return-28}var newStream;newStream=FS.createStream(stream,arg);return newStream.fd}case 1:case 2:return 0;case 3:return stream.flags;case 4:{var arg=SYSCALLS.get();stream.flags|=arg;return 0}case 5:{var arg=SYSCALLS.get();var offset=0;HEAP16[arg+offset>>1]=2;return 0}case 6:case 7:return 0;case 16:case 8:return-28;case 9:setErrNo(28);return-1;default:{return-28}}}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function ___syscall_ioctl(fd,op,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(fd);switch(op){case 21509:case 21505:{if(!stream.tty)return-59;return 0}case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:{if(!stream.tty)return-59;return 0}case 21519:{if(!stream.tty)return-59;var argp=SYSCALLS.get();HEAP32[argp>>2]=0;return 0}case 21520:{if(!stream.tty)return-59;return-28}case 21531:{var argp=SYSCALLS.get();return FS.ioctl(stream,op,argp)}case 21523:{if(!stream.tty)return-59;return 0}case 21524:{if(!stream.tty)return-59;return 0}default:return-28}}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function ___syscall_openat(dirfd,path,flags,varargs){SYSCALLS.varargs=varargs;try{path=SYSCALLS.getStr(path);path=SYSCALLS.calculateAt(dirfd,path);var mode=varargs?SYSCALLS.get():0;return FS.open(path,flags,mode).fd}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return-e.errno}}function __embind_register_bigint(primitiveType,name,size,minRange,maxRange){}function getShiftFromSize(size){switch(size){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+size)}}function embind_init_charCodes(){var codes=new Array(256);for(var i=0;i<256;++i){codes[i]=String.fromCharCode(i)}embind_charCodes=codes}var embind_charCodes=undefined;function readLatin1String(ptr){var ret="";var c=ptr;while(HEAPU8[c]){ret+=embind_charCodes[HEAPU8[c++]]}return ret}var awaitingDependencies={};var registeredTypes={};var typeDependencies={};var char_0=48;var char_9=57;function makeLegalFunctionName(name){if(undefined===name){return"_unknown"}name=name.replace(/[^a-zA-Z0-9_]/g,"$");var f=name.charCodeAt(0);if(f>=char_0&&f<=char_9){return"_"+name}return name}function createNamedFunction(name,body){name=makeLegalFunctionName(name);return new Function("body","return function "+name+"() {\n"+' "use strict";'+" return body.apply(this, arguments);\n"+"};\n")(body)}function extendError(baseErrorType,errorName){var errorClass=createNamedFunction(errorName,function(message){this.name=errorName;this.message=message;var stack=new Error(message).stack;if(stack!==undefined){this.stack=this.toString()+"\n"+stack.replace(/^Error(:[^\n]*)?\n/,"")}});errorClass.prototype=Object.create(baseErrorType.prototype);errorClass.prototype.constructor=errorClass;errorClass.prototype.toString=function(){if(this.message===undefined){return this.name}else{return this.name+": "+this.message}};return errorClass}var BindingError=undefined;function throwBindingError(message){throw new BindingError(message)}var InternalError=undefined;function throwInternalError(message){throw new InternalError(message)}function whenDependentTypesAreResolved(myTypes,dependentTypes,getTypeConverters){myTypes.forEach(function(type){typeDependencies[type]=dependentTypes});function onComplete(typeConverters){var myTypeConverters=getTypeConverters(typeConverters);if(myTypeConverters.length!==myTypes.length){throwInternalError("Mismatched type converter count")}for(var i=0;i{if(registeredTypes.hasOwnProperty(dt)){typeConverters[i]=registeredTypes[dt]}else{unregisteredTypes.push(dt);if(!awaitingDependencies.hasOwnProperty(dt)){awaitingDependencies[dt]=[]}awaitingDependencies[dt].push(()=>{typeConverters[i]=registeredTypes[dt];++registered;if(registered===unregisteredTypes.length){onComplete(typeConverters)}})}});if(0===unregisteredTypes.length){onComplete(typeConverters)}}function registerType(rawType,registeredInstance,options={}){if(!("argPackAdvance"in registeredInstance)){throw new TypeError("registerType registeredInstance requires argPackAdvance")}var name=registeredInstance.name;if(!rawType){throwBindingError('type "'+name+'" must have a positive integer typeid pointer')}if(registeredTypes.hasOwnProperty(rawType)){if(options.ignoreDuplicateRegistrations){return}else{throwBindingError("Cannot register type '"+name+"' twice")}}registeredTypes[rawType]=registeredInstance;delete typeDependencies[rawType];if(awaitingDependencies.hasOwnProperty(rawType)){var callbacks=awaitingDependencies[rawType];delete awaitingDependencies[rawType];callbacks.forEach(cb=>cb())}}function __embind_register_bool(rawType,name,size,trueValue,falseValue){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(wt){return!!wt},"toWireType":function(destructors,o){return o?trueValue:falseValue},"argPackAdvance":8,"readValueFromPointer":function(pointer){var heap;if(size===1){heap=HEAP8}else if(size===2){heap=HEAP16}else if(size===4){heap=HEAP32}else{throw new TypeError("Unknown boolean type size: "+name)}return this["fromWireType"](heap[pointer>>shift])},destructorFunction:null})}function __embind_register_constant(name,type,value){name=readLatin1String(name);whenDependentTypesAreResolved([],[type],function(type){type=type[0];Module[name]=type["fromWireType"](value);return[]})}var emval_free_list=[];var emval_handle_array=[{},{value:undefined},{value:null},{value:true},{value:false}];function __emval_decref(handle){if(handle>4&&0===--emval_handle_array[handle].refcount){emval_handle_array[handle]=undefined;emval_free_list.push(handle)}}function count_emval_handles(){var count=0;for(var i=5;i{if(!handle){throwBindingError("Cannot use deleted val. handle = "+handle)}return emval_handle_array[handle].value},toHandle:value=>{switch(value){case undefined:return 1;case null:return 2;case true:return 3;case false:return 4;default:{var handle=emval_free_list.length?emval_free_list.pop():emval_handle_array.length;emval_handle_array[handle]={refcount:1,value:value};return handle}}}};function simpleReadValueFromPointer(pointer){return this["fromWireType"](HEAP32[pointer>>2])}function __embind_register_emval(rawType,name){name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(handle){var rv=Emval.toValue(handle);__emval_decref(handle);return rv},"toWireType":function(destructors,value){return Emval.toHandle(value)},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:null})}function floatReadValueFromPointer(name,shift){switch(shift){case 2:return function(pointer){return this["fromWireType"](HEAPF32[pointer>>2])};case 3:return function(pointer){return this["fromWireType"](HEAPF64[pointer>>3])};default:throw new TypeError("Unknown float type: "+name)}}function __embind_register_float(rawType,name,size){var shift=getShiftFromSize(size);name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":function(value){return value},"toWireType":function(destructors,value){return value},"argPackAdvance":8,"readValueFromPointer":floatReadValueFromPointer(name,shift),destructorFunction:null})}function new_(constructor,argumentList){if(!(constructor instanceof Function)){throw new TypeError("new_ called with constructor type "+typeof constructor+" which is not a function")}var dummy=createNamedFunction(constructor.name||"unknownFunctionName",function(){});dummy.prototype=constructor.prototype;var obj=new dummy;var r=constructor.apply(obj,argumentList);return r instanceof Object?r:obj}function runDestructors(destructors){while(destructors.length){var ptr=destructors.pop();var del=destructors.pop();del(ptr)}}function craftInvokerFunction(humanName,argTypes,classType,cppInvokerFunc,cppTargetFunc){var argCount=argTypes.length;if(argCount<2){throwBindingError("argTypes array size mismatch! Must at least get return value and 'this' types!")}var isClassMethodFunc=argTypes[1]!==null&&classType!==null;var needsDestructorStack=false;for(var i=1;i0?", ":"")+argsListWired}invokerFnBody+=(returns?"var rv = ":"")+"invoker(fn"+(argsListWired.length>0?", ":"")+argsListWired+");\n";if(needsDestructorStack){invokerFnBody+="runDestructors(destructors);\n"}else{for(var i=isClassMethodFunc?1:2;i>2])}return array}function replacePublicSymbol(name,value,numArguments){if(!Module.hasOwnProperty(name)){throwInternalError("Replacing nonexistant public symbol")}if(undefined!==Module[name].overloadTable&&undefined!==numArguments){Module[name].overloadTable[numArguments]=value}else{Module[name]=value;Module[name].argCount=numArguments}}function dynCallLegacy(sig,ptr,args){var f=Module["dynCall_"+sig];return args&&args.length?f.apply(null,[ptr].concat(args)):f.call(null,ptr)}function getWasmTableEntry(funcPtr){return wasmTable.get(funcPtr)}function dynCall(sig,ptr,args){if(sig.includes("j")){return dynCallLegacy(sig,ptr,args)}var rtn=getWasmTableEntry(ptr).apply(null,args);return rtn}function getDynCaller(sig,ptr){var argCache=[];return function(){argCache.length=0;Object.assign(argCache,arguments);return dynCall(sig,ptr,argCache)}}function embind__requireFunction(signature,rawFunction){signature=readLatin1String(signature);function makeDynCaller(){if(signature.includes("j")){return getDynCaller(signature,rawFunction)}return getWasmTableEntry(rawFunction)}var fp=makeDynCaller();if(typeof fp!="function"){throwBindingError("unknown function pointer with signature "+signature+": "+rawFunction)}return fp}var UnboundTypeError=undefined;function getTypeName(type){var ptr=___getTypeName(type);var rv=readLatin1String(ptr);_free(ptr);return rv}function throwUnboundTypeError(message,types){var unboundTypes=[];var seen={};function visit(type){if(seen[type]){return}if(registeredTypes[type]){return}if(typeDependencies[type]){typeDependencies[type].forEach(visit);return}unboundTypes.push(type);seen[type]=true}types.forEach(visit);throw new UnboundTypeError(message+": "+unboundTypes.map(getTypeName).join([", "]))}function __embind_register_function(name,argCount,rawArgTypesAddr,signature,rawInvoker,fn){var argTypes=heap32VectorToArray(argCount,rawArgTypesAddr);name=readLatin1String(name);rawInvoker=embind__requireFunction(signature,rawInvoker);exposePublicSymbol(name,function(){throwUnboundTypeError("Cannot call "+name+" due to unbound types",argTypes)},argCount-1);whenDependentTypesAreResolved([],argTypes,function(argTypes){var invokerArgsArray=[argTypes[0],null].concat(argTypes.slice(1));replacePublicSymbol(name,craftInvokerFunction(name,invokerArgsArray,null,rawInvoker,fn),argCount-1);return[]})}function integerReadValueFromPointer(name,shift,signed){switch(shift){case 0:return signed?function readS8FromPointer(pointer){return HEAP8[pointer]}:function readU8FromPointer(pointer){return HEAPU8[pointer]};case 1:return signed?function readS16FromPointer(pointer){return HEAP16[pointer>>1]}:function readU16FromPointer(pointer){return HEAPU16[pointer>>1]};case 2:return signed?function readS32FromPointer(pointer){return HEAP32[pointer>>2]}:function readU32FromPointer(pointer){return HEAPU32[pointer>>2]};default:throw new TypeError("Unknown integer type: "+name)}}function __embind_register_integer(primitiveType,name,size,minRange,maxRange){name=readLatin1String(name);if(maxRange===-1){maxRange=4294967295}var shift=getShiftFromSize(size);var fromWireType=value=>value;if(minRange===0){var bitshift=32-8*size;fromWireType=value=>value<>>bitshift}var isUnsignedType=name.includes("unsigned");var checkAssertions=(value,toTypeName)=>{};var toWireType;if(isUnsignedType){toWireType=function(destructors,value){checkAssertions(value,this.name);return value>>>0}}else{toWireType=function(destructors,value){checkAssertions(value,this.name);return value}}registerType(primitiveType,{name:name,"fromWireType":fromWireType,"toWireType":toWireType,"argPackAdvance":8,"readValueFromPointer":integerReadValueFromPointer(name,shift,minRange!==0),destructorFunction:null})}function __embind_register_memory_view(rawType,dataTypeIndex,name){var typeMapping=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];var TA=typeMapping[dataTypeIndex];function decodeMemoryView(handle){handle=handle>>2;var heap=HEAPU32;var size=heap[handle];var data=heap[handle+1];return new TA(buffer,data,size)}name=readLatin1String(name);registerType(rawType,{name:name,"fromWireType":decodeMemoryView,"argPackAdvance":8,"readValueFromPointer":decodeMemoryView},{ignoreDuplicateRegistrations:true})}function __embind_register_std_string(rawType,name){name=readLatin1String(name);var stdStringIsUTF8=name==="std::string";registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var payload=value+4;var str;if(stdStringIsUTF8){var decodeStartPtr=payload;for(var i=0;i<=length;++i){var currentBytePtr=payload+i;if(i==length||HEAPU8[currentBytePtr]==0){var maxRead=currentBytePtr-decodeStartPtr;var stringSegment=UTF8ToString(decodeStartPtr,maxRead);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+1}}}else{var a=new Array(length);for(var i=0;i>2]=length;if(stdStringIsUTF8&&valueIsOfTypeString){stringToUTF8(value,ptr,length+1)}else{if(valueIsOfTypeString){for(var i=0;i255){_free(ptr);throwBindingError("String has UTF-16 code units that do not fit in 8 bits")}HEAPU8[ptr+i]=charCode}}else{for(var i=0;i>1;var maxIdx=idx+maxBytesToRead/2;while(!(idx>=maxIdx)&&HEAPU16[idx])++idx;endPtr=idx<<1;if(endPtr-ptr>32&&UTF16Decoder){return UTF16Decoder.decode(HEAPU8.subarray(ptr,endPtr))}else{var str="";for(var i=0;!(i>=maxBytesToRead/2);++i){var codeUnit=HEAP16[ptr+i*2>>1];if(codeUnit==0)break;str+=String.fromCharCode(codeUnit)}return str}}function stringToUTF16(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<2)return 0;maxBytesToWrite-=2;var startPtr=outPtr;var numCharsToWrite=maxBytesToWrite>1]=codeUnit;outPtr+=2}HEAP16[outPtr>>1]=0;return outPtr-startPtr}function lengthBytesUTF16(str){return str.length*2}function UTF32ToString(ptr,maxBytesToRead){var i=0;var str="";while(!(i>=maxBytesToRead/4)){var utf32=HEAP32[ptr+i*4>>2];if(utf32==0)break;++i;if(utf32>=65536){var ch=utf32-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}else{str+=String.fromCharCode(utf32)}}return str}function stringToUTF32(str,outPtr,maxBytesToWrite){if(maxBytesToWrite===undefined){maxBytesToWrite=2147483647}if(maxBytesToWrite<4)return 0;var startPtr=outPtr;var endPtr=startPtr+maxBytesToWrite-4;for(var i=0;i=55296&&codeUnit<=57343){var trailSurrogate=str.charCodeAt(++i);codeUnit=65536+((codeUnit&1023)<<10)|trailSurrogate&1023}HEAP32[outPtr>>2]=codeUnit;outPtr+=4;if(outPtr+4>endPtr)break}HEAP32[outPtr>>2]=0;return outPtr-startPtr}function lengthBytesUTF32(str){var len=0;for(var i=0;i=55296&&codeUnit<=57343)++i;len+=4}return len}function __embind_register_std_wstring(rawType,charSize,name){name=readLatin1String(name);var decodeString,encodeString,getHeap,lengthBytesUTF,shift;if(charSize===2){decodeString=UTF16ToString;encodeString=stringToUTF16;lengthBytesUTF=lengthBytesUTF16;getHeap=()=>HEAPU16;shift=1}else if(charSize===4){decodeString=UTF32ToString;encodeString=stringToUTF32;lengthBytesUTF=lengthBytesUTF32;getHeap=()=>HEAPU32;shift=2}registerType(rawType,{name:name,"fromWireType":function(value){var length=HEAPU32[value>>2];var HEAP=getHeap();var str;var decodeStartPtr=value+4;for(var i=0;i<=length;++i){var currentBytePtr=value+4+i*charSize;if(i==length||HEAP[currentBytePtr>>shift]==0){var maxReadBytes=currentBytePtr-decodeStartPtr;var stringSegment=decodeString(decodeStartPtr,maxReadBytes);if(str===undefined){str=stringSegment}else{str+=String.fromCharCode(0);str+=stringSegment}decodeStartPtr=currentBytePtr+charSize}}_free(value);return str},"toWireType":function(destructors,value){if(!(typeof value=="string")){throwBindingError("Cannot pass non-string to C++ string type "+name)}var length=lengthBytesUTF(value);var ptr=_malloc(4+length+charSize);HEAPU32[ptr>>2]=length>>shift;encodeString(value,ptr+4,length+charSize);if(destructors!==null){destructors.push(_free,ptr)}return ptr},"argPackAdvance":8,"readValueFromPointer":simpleReadValueFromPointer,destructorFunction:function(ptr){_free(ptr)}})}function __embind_register_void(rawType,name){name=readLatin1String(name);registerType(rawType,{isVoid:true,name:name,"argPackAdvance":0,"fromWireType":function(){return undefined},"toWireType":function(destructors,o){return undefined}})}function __emscripten_date_now(){return Date.now()}function __emscripten_throw_longjmp(){throw Infinity}function readI53FromI64(ptr){return HEAPU32[ptr>>2]+HEAP32[ptr+4>>2]*4294967296}function __localtime_js(time,tmPtr){var date=new Date(readI53FromI64(time)*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=new Date(date.getFullYear(),6,1).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst}function allocateUTF8(str){var size=lengthBytesUTF8(str)+1;var ret=_malloc(size);if(ret)stringToUTF8Array(str,HEAP8,ret,size);return ret}function _tzset_impl(timezone,daylight,tzname){var currentYear=(new Date).getFullYear();var winter=new Date(currentYear,0,1);var summer=new Date(currentYear,6,1);var winterOffset=winter.getTimezoneOffset();var summerOffset=summer.getTimezoneOffset();var stdTimezoneOffset=Math.max(winterOffset,summerOffset);HEAP32[timezone>>2]=stdTimezoneOffset*60;HEAP32[daylight>>2]=Number(winterOffset!=summerOffset);function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocateUTF8(winterName);var summerNamePtr=allocateUTF8(summerName);if(summerOffset>2]=winterNamePtr;HEAPU32[tzname+4>>2]=summerNamePtr}else{HEAPU32[tzname>>2]=summerNamePtr;HEAPU32[tzname+4>>2]=winterNamePtr}}function __tzset_js(timezone,daylight,tzname){if(__tzset_js.called)return;__tzset_js.called=true;_tzset_impl(timezone,daylight,tzname)}function _abort(){abort("")}var readAsmConstArgsArray=[];function readAsmConstArgs(sigPtr,buf){readAsmConstArgsArray.length=0;var ch;buf>>=2;while(ch=HEAPU8[sigPtr++]){buf+=ch!=105&buf;readAsmConstArgsArray.push(ch==105?HEAP32[buf]:HEAPF64[buf++>>1]);++buf}return readAsmConstArgsArray}function _emscripten_asm_const_int(code,sigPtr,argbuf){var args=readAsmConstArgs(sigPtr,argbuf);return ASM_CONSTS[code].apply(null,args)}function getHeapMax(){return HEAPU8.length}function _emscripten_get_heap_max(){return getHeapMax()}function abortOnCannotGrowMemory(requestedSize){abort("OOM")}function _emscripten_resize_heap(requestedSize){var oldSize=HEAPU8.length;requestedSize=requestedSize>>>0;abortOnCannotGrowMemory(requestedSize)}var ENV={};function getExecutableName(){return thisProgram||"./this.program"}function getEnvStrings(){if(!getEnvStrings.strings){var lang=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8";var env={"USER":"web_user","LOGNAME":"web_user","PATH":"/","PWD":"/","HOME":"/home/web_user","LANG":lang,"_":getExecutableName()};for(var x in ENV){if(ENV[x]===undefined)delete env[x];else env[x]=ENV[x]}var strings=[];for(var x in env){strings.push(x+"="+env[x])}getEnvStrings.strings=strings}return getEnvStrings.strings}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}function _environ_get(__environ,environ_buf){var bufSize=0;getEnvStrings().forEach(function(string,i){var ptr=environ_buf+bufSize;HEAPU32[__environ+i*4>>2]=ptr;writeAsciiToMemory(string,ptr);bufSize+=string.length+1});return 0}function _environ_sizes_get(penviron_count,penviron_buf_size){var strings=getEnvStrings();HEAPU32[penviron_count>>2]=strings.length;var bufSize=0;strings.forEach(function(string){bufSize+=string.length+1});HEAPU32[penviron_buf_size>>2]=bufSize;return 0}function _proc_exit(code){EXITSTATUS=code;if(!keepRuntimeAlive()){if(Module["onExit"])Module["onExit"](code);ABORT=true}quit_(code,new ExitStatus(code))}function exitJS(status,implicit){EXITSTATUS=status;_proc_exit(status)}var _exit=exitJS;function _fd_close(fd){try{var stream=SYSCALLS.getStreamFromFD(fd);FS.close(stream);return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function doReadv(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAPU32[iov+4>>2];iov+=8;var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function convertI32PairToI53Checked(lo,hi){return hi+2097152>>>0<4194305-!!lo?(lo>>>0)+hi*4294967296:NaN}function _fd_seek(fd,offset_low,offset_high,whence,newOffset){try{var offset=convertI32PairToI53Checked(offset_low,offset_high);if(isNaN(offset))return 61;var stream=SYSCALLS.getStreamFromFD(fd);FS.llseek(stream,offset,whence);tempI64=[stream.position>>>0,(tempDouble=stream.position,+Math.abs(tempDouble)>=1?tempDouble>0?(Math.min(+Math.floor(tempDouble/4294967296),4294967295)|0)>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[newOffset>>2]=tempI64[0],HEAP32[newOffset+4>>2]=tempI64[1];if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function doWritev(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAPU32[iov+4>>2];iov+=8;var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret}function _fd_write(fd,iov,iovcnt,pnum){try{var stream=SYSCALLS.getStreamFromFD(fd);var num=doWritev(stream,iov,iovcnt);HEAPU32[pnum>>2]=num;return 0}catch(e){if(typeof FS=="undefined"||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function __isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function __arraySum(array,index){var sum=0;for(var i=0;i<=index;sum+=array[i++]){}return sum}var __MONTH_DAYS_LEAP=[31,29,31,30,31,30,31,31,30,31,30,31];var __MONTH_DAYS_REGULAR=[31,28,31,30,31,30,31,31,30,31,30,31];function __addDays(date,days){var newDate=new Date(date.getTime());while(days>0){var leap=__isLeapYear(newDate.getFullYear());var currentMonth=newDate.getMonth();var daysInCurrentMonth=(leap?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR)[currentMonth];if(days>daysInCurrentMonth-newDate.getDate()){days-=daysInCurrentMonth-newDate.getDate()+1;newDate.setDate(1);if(currentMonth<11){newDate.setMonth(currentMonth+1)}else{newDate.setMonth(0);newDate.setFullYear(newDate.getFullYear()+1)}}else{newDate.setDate(newDate.getDate()+days);return newDate}}return newDate}function _strftime(s,maxsize,format,tm){var tm_zone=HEAP32[tm+40>>2];var date={tm_sec:HEAP32[tm>>2],tm_min:HEAP32[tm+4>>2],tm_hour:HEAP32[tm+8>>2],tm_mday:HEAP32[tm+12>>2],tm_mon:HEAP32[tm+16>>2],tm_year:HEAP32[tm+20>>2],tm_wday:HEAP32[tm+24>>2],tm_yday:HEAP32[tm+28>>2],tm_isdst:HEAP32[tm+32>>2],tm_gmtoff:HEAP32[tm+36>>2],tm_zone:tm_zone?UTF8ToString(tm_zone):""};var pattern=UTF8ToString(format);var EXPANSION_RULES_1={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var rule in EXPANSION_RULES_1){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_1[rule])}var WEEKDAYS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"];function leadingSomething(value,digits,character){var str=typeof value=="number"?value.toString():value||"";while(str.length0?1:0}var compare;if((compare=sgn(date1.getFullYear()-date2.getFullYear()))===0){if((compare=sgn(date1.getMonth()-date2.getMonth()))===0){compare=sgn(date1.getDate()-date2.getDate())}}return compare}function getFirstWeekStartDate(janFourth){switch(janFourth.getDay()){case 0:return new Date(janFourth.getFullYear()-1,11,29);case 1:return janFourth;case 2:return new Date(janFourth.getFullYear(),0,3);case 3:return new Date(janFourth.getFullYear(),0,2);case 4:return new Date(janFourth.getFullYear(),0,1);case 5:return new Date(janFourth.getFullYear()-1,11,31);case 6:return new Date(janFourth.getFullYear()-1,11,30)}}function getWeekBasedYear(date){var thisDate=__addDays(new Date(date.tm_year+1900,0,1),date.tm_yday);var janFourthThisYear=new Date(thisDate.getFullYear(),0,4);var janFourthNextYear=new Date(thisDate.getFullYear()+1,0,4);var firstWeekStartThisYear=getFirstWeekStartDate(janFourthThisYear);var firstWeekStartNextYear=getFirstWeekStartDate(janFourthNextYear);if(compareByDay(firstWeekStartThisYear,thisDate)<=0){if(compareByDay(firstWeekStartNextYear,thisDate)<=0){return thisDate.getFullYear()+1}return thisDate.getFullYear()}return thisDate.getFullYear()-1}var EXPANSION_RULES_2={"%a":function(date){return WEEKDAYS[date.tm_wday].substring(0,3)},"%A":function(date){return WEEKDAYS[date.tm_wday]},"%b":function(date){return MONTHS[date.tm_mon].substring(0,3)},"%B":function(date){return MONTHS[date.tm_mon]},"%C":function(date){var year=date.tm_year+1900;return leadingNulls(year/100|0,2)},"%d":function(date){return leadingNulls(date.tm_mday,2)},"%e":function(date){return leadingSomething(date.tm_mday,2," ")},"%g":function(date){return getWeekBasedYear(date).toString().substring(2)},"%G":function(date){return getWeekBasedYear(date)},"%H":function(date){return leadingNulls(date.tm_hour,2)},"%I":function(date){var twelveHour=date.tm_hour;if(twelveHour==0)twelveHour=12;else if(twelveHour>12)twelveHour-=12;return leadingNulls(twelveHour,2)},"%j":function(date){return leadingNulls(date.tm_mday+__arraySum(__isLeapYear(date.tm_year+1900)?__MONTH_DAYS_LEAP:__MONTH_DAYS_REGULAR,date.tm_mon-1),3)},"%m":function(date){return leadingNulls(date.tm_mon+1,2)},"%M":function(date){return leadingNulls(date.tm_min,2)},"%n":function(){return"\n"},"%p":function(date){if(date.tm_hour>=0&&date.tm_hour<12){return"AM"}return"PM"},"%S":function(date){return leadingNulls(date.tm_sec,2)},"%t":function(){return"\t"},"%u":function(date){return date.tm_wday||7},"%U":function(date){var days=date.tm_yday+7-date.tm_wday;return leadingNulls(Math.floor(days/7),2)},"%V":function(date){var val=Math.floor((date.tm_yday+7-(date.tm_wday+6)%7)/7);if((date.tm_wday+371-date.tm_yday-2)%7<=2){val++}if(!val){val=52;var dec31=(date.tm_wday+7-date.tm_yday-1)%7;if(dec31==4||dec31==5&&__isLeapYear(date.tm_year%400-1)){val++}}else if(val==53){var jan1=(date.tm_wday+371-date.tm_yday)%7;if(jan1!=4&&(jan1!=3||!__isLeapYear(date.tm_year)))val=1}return leadingNulls(val,2)},"%w":function(date){return date.tm_wday},"%W":function(date){var days=date.tm_yday+7-(date.tm_wday+6)%7;return leadingNulls(Math.floor(days/7),2)},"%y":function(date){return(date.tm_year+1900).toString().substring(2)},"%Y":function(date){return date.tm_year+1900},"%z":function(date){var off=date.tm_gmtoff;var ahead=off>=0;off=Math.abs(off)/60;off=off/60*100+off%60;return(ahead?"+":"-")+String("0000"+off).slice(-4)},"%Z":function(date){return date.tm_zone},"%%":function(){return"%"}};pattern=pattern.replace(/%%/g,"\0\0");for(var rule in EXPANSION_RULES_2){if(pattern.includes(rule)){pattern=pattern.replace(new RegExp(rule,"g"),EXPANSION_RULES_2[rule](date))}}pattern=pattern.replace(/\0\0/g,"%");var bytes=intArrayFromString(pattern,false);if(bytes.length>maxsize){return 0}writeArrayToMemory(bytes,s);return bytes.length-1}function _strftime_l(s,maxsize,format,tm){return _strftime(s,maxsize,format,tm)}var FSNode=function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev};var readMode=292|73;var writeMode=146;Object.defineProperties(FSNode.prototype,{read:{get:function(){return(this.mode&readMode)===readMode},set:function(val){val?this.mode|=readMode:this.mode&=~readMode}},write:{get:function(){return(this.mode&writeMode)===writeMode},set:function(val){val?this.mode|=writeMode:this.mode&=~writeMode}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}});FS.FSNode=FSNode;FS.staticInit();embind_init_charCodes();BindingError=Module["BindingError"]=extendError(Error,"BindingError");InternalError=Module["InternalError"]=extendError(Error,"InternalError");init_emval();UnboundTypeError=Module["UnboundTypeError"]=extendError(Error,"UnboundTypeError");var asmLibraryArg={"g":___cxa_allocate_exception,"f":___cxa_throw,"n":___syscall_fcntl64,"G":___syscall_ioctl,"H":___syscall_openat,"y":__embind_register_bigint,"L":__embind_register_bool,"r":__embind_register_constant,"K":__embind_register_emval,"q":__embind_register_float,"d":__embind_register_function,"e":__embind_register_integer,"c":__embind_register_memory_view,"p":__embind_register_std_string,"k":__embind_register_std_wstring,"M":__embind_register_void,"o":__emscripten_date_now,"A":__emscripten_throw_longjmp,"I":__localtime_js,"J":__tzset_js,"a":_abort,"h":_emscripten_asm_const_int,"C":_emscripten_get_heap_max,"B":_emscripten_resize_heap,"D":_environ_get,"E":_environ_sizes_get,"b":_exit,"l":_fd_close,"F":_fd_read,"x":_fd_seek,"m":_fd_write,"s":invoke_ii,"u":invoke_iii,"t":invoke_iiii,"i":invoke_vi,"v":invoke_vii,"w":invoke_viii,"j":invoke_viiii,"N":_strftime,"z":_strftime_l};var asm=createWasm();var ___wasm_call_ctors=Module["___wasm_call_ctors"]=function(){return(___wasm_call_ctors=Module["___wasm_call_ctors"]=Module["asm"]["P"]).apply(null,arguments)};var _malloc=Module["_malloc"]=function(){return(_malloc=Module["_malloc"]=Module["asm"]["Q"]).apply(null,arguments)};var _free=Module["_free"]=function(){return(_free=Module["_free"]=Module["asm"]["R"]).apply(null,arguments)};var ___errno_location=Module["___errno_location"]=function(){return(___errno_location=Module["___errno_location"]=Module["asm"]["S"]).apply(null,arguments)};var ___getTypeName=Module["___getTypeName"]=function(){return(___getTypeName=Module["___getTypeName"]=Module["asm"]["U"]).apply(null,arguments)};var __embind_initialize_bindings=Module["__embind_initialize_bindings"]=function(){return(__embind_initialize_bindings=Module["__embind_initialize_bindings"]=Module["asm"]["V"]).apply(null,arguments)};var _setThrew=Module["_setThrew"]=function(){return(_setThrew=Module["_setThrew"]=Module["asm"]["W"]).apply(null,arguments)};var stackSave=Module["stackSave"]=function(){return(stackSave=Module["stackSave"]=Module["asm"]["X"]).apply(null,arguments)};var stackRestore=Module["stackRestore"]=function(){return(stackRestore=Module["stackRestore"]=Module["asm"]["Y"]).apply(null,arguments)};var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=function(){return(___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=Module["asm"]["Z"]).apply(null,arguments)};var dynCall_jiji=Module["dynCall_jiji"]=function(){return(dynCall_jiji=Module["dynCall_jiji"]=Module["asm"]["_"]).apply(null,arguments)};var dynCall_viijii=Module["dynCall_viijii"]=function(){return(dynCall_viijii=Module["dynCall_viijii"]=Module["asm"]["$"]).apply(null,arguments)};var dynCall_iiiiij=Module["dynCall_iiiiij"]=function(){return(dynCall_iiiiij=Module["dynCall_iiiiij"]=Module["asm"]["aa"]).apply(null,arguments)};var dynCall_iiiiijj=Module["dynCall_iiiiijj"]=function(){return(dynCall_iiiiijj=Module["dynCall_iiiiijj"]=Module["asm"]["ba"]).apply(null,arguments)};var dynCall_iiiiiijj=Module["dynCall_iiiiiijj"]=function(){return(dynCall_iiiiiijj=Module["dynCall_iiiiiijj"]=Module["asm"]["ca"]).apply(null,arguments)};function invoke_ii(index,a1){var sp=stackSave();try{return getWasmTableEntry(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_vi(index,a1){var sp=stackSave();try{getWasmTableEntry(index)(a1)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viiii(index,a1,a2,a3,a4){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3,a4)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_viii(index,a1,a2,a3){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_vii(index,a1,a2){var sp=stackSave();try{getWasmTableEntry(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iii(index,a1,a2){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}function invoke_iiii(index,a1,a2,a3){var sp=stackSave();try{return getWasmTableEntry(index)(a1,a2,a3)}catch(e){stackRestore(sp);if(e!==e+0)throw e;_setThrew(1,0)}}Module["FS"]=FS;var calledRun;dependenciesFulfilled=function runCaller(){if(!calledRun)run();if(!calledRun)dependenciesFulfilled=runCaller};function run(args){args=args||arguments_;if(runDependencies>0){return}preRun();if(runDependencies>0){return}function doRun(){if(calledRun)return;calledRun=true;Module["calledRun"]=true;if(ABORT)return;initRuntime();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout(function(){setTimeout(function(){Module["setStatus"]("")},1);doRun()},1)}else{doRun()}}if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}run(); diff --git a/build/artoolkitNft_wasm.wasm b/build/artoolkitNft_wasm.wasm index ccbae2b0..b8cdd6ec 100644 Binary files a/build/artoolkitNft_wasm.wasm and b/build/artoolkitNft_wasm.wasm differ diff --git a/emscripten/ARBindEM.cpp b/emscripten/ARBindEM.cpp index 1dd53415..7b67dcd1 100644 --- a/emscripten/ARBindEM.cpp +++ b/emscripten/ARBindEM.cpp @@ -8,6 +8,7 @@ EMSCRIPTEN_BINDINGS(constant_bindings) { function("teardown", &teardown); function("setupAR2", &setupAR2); + function("setupAR2Threads", &setupAR2Threads); function("_addMarker", &addMarker); function("_addMultiMarker", &addMultiMarker); diff --git a/emscripten/ARToolKitJS.cpp b/emscripten/ARToolKitJS.cpp index 241042a6..c7c80bd0 100644 --- a/emscripten/ARToolKitJS.cpp +++ b/emscripten/ARToolKitJS.cpp @@ -1,7 +1,5 @@ #include #include -//#include -// #include #include #include #include @@ -13,6 +11,9 @@ #include #include #include +#include "trackingSub.h" + +#define PAGES_MAX 10 struct multi_marker { int id; @@ -39,9 +40,12 @@ struct arController { KpmHandle* kpmHandle; AR2HandleT* ar2Handle; - + THREAD_HANDLE_T *threadHandle = NULL; + int detectedPage = -2; // -2 Tracking not inited, -1 tracking inited OK, >= 0 tracking online on page. + // Markers. int surfaceSetCount = 0; // Running NFT marker id std::unordered_map surfaceSets; + AR2SurfaceSetT *surfaceSet[PAGES_MAX]; ARdouble nearPlane = 0.0001; ARdouble farPlane = 1000.0; @@ -56,7 +60,10 @@ struct arController { std::unordered_map arControllers; std::unordered_map cameraParams; - +// ARMarker private: to verify +//static ARFilterTransMatInfo *ftmi; +//static ARdouble filterCutoffFrequency; +//static ARdouble filterSampleRate; // ============================================================================ // Global variables @@ -87,28 +94,58 @@ extern "C" { return MARKER_INDEX_OUT_OF_BOUNDS; } - KpmResult *kpmResult = NULL; - int kpmResultNum = -1; - - kpmGetResult( arc->kpmHandle, &kpmResult, &kpmResultNum ); - + //KpmResult *kpmResult = NULL; + //int kpmResultNum = -1; + int pageNo; int i, j, k; int flag = -1; - float err = -1; - float trans[3][4]; - for( i = 0; i < kpmResultNum; i++ ) { - if (kpmResult[i].pageNo == markerIndex && kpmResult[i].camPoseF == 0 ) { - if( flag == -1 || err > kpmResult[i].error ) { // Take the first or best result. - flag = i; - err = kpmResult[i].error; - } - } - } + float err; + float trans[3][4]; + float trackingTrans[3][4]; + // filetring to verify + //filterCutoffFrequency = AR_FILTER_TRANS_MAT_CUTOFF_FREQ_DEFAULT; + //filterSampleRate = AR_FILTER_TRANS_MAT_SAMPLE_RATE_DEFAULT; + //ftmi = arFilterTransMatInit(filterSampleRate, filterCutoffFrequency); + if (arc->threadHandle) { + int ret; + if( arc->detectedPage == -2 ) { + trackingInitStart( arc->threadHandle, arc->videoLuma ); + arc->detectedPage = -1; + } + if( arc->detectedPage == -1 ) { + ret = trackingInitGetResult( arc->threadHandle, trackingTrans, &pageNo); + if( ret == 1 ) { + ARLOGi("page detected ret: %d \n", ret); + if (pageNo >= 0 && pageNo < arc->surfaceSetCount) { + ARLOGi("Detected page %d.\n", pageNo); + arc->detectedPage = pageNo; + ar2SetInitTrans(arc->surfaceSet[arc->detectedPage], trackingTrans); + } else { + ARLOGe("Detected bad page %d.\n", pageNo); + arc->detectedPage = -2; + } + } else if( ret < 0 ) { + ARLOGi("No page detected.\n"); + arc->detectedPage = -2; + } + } + if( arc->detectedPage >= 0 && arc->detectedPage < arc->surfaceSetCount) { + if( ar2Tracking(arc->ar2Handle, arc->surfaceSet[arc->detectedPage], arc->videoFrame, trackingTrans, &err) < 0 ) { + ARLOGi("Tracking lost.\n"); + arc->detectedPage = -2; + } else { + ARLOGi("Tracked page %d (max %d).\n", arc->detectedPage, arc->surfaceSetCount - 1); + } + } + } else { + ARLOGe("Error: threadHandle\n"); + arc->detectedPage = -2; + } - if (flag > -1) { + if (arc->detectedPage >= 0 && arc->detectedPage < arc->surfaceSetCount ) { for (j = 0; j < 3; j++) { for (k = 0; k < 4; k++) { - trans[j][k] = kpmResult[flag].camPose[j][k]; + trans[j][k] = trackingTrans[j][k]; } } EM_ASM_({ @@ -193,15 +230,36 @@ extern "C" { return 0; } + THREAD_HANDLE_T *trackingInit(KpmHandle* kpmHandle){ + // Start the KPM tracking thread. + THREAD_HANDLE_T *threadHandle; + threadHandle = trackingInitInit(kpmHandle); + if (!threadHandle) exit(-1); + return threadHandle; + } + int detectNFTMarker(int id) { if (arControllers.find(id) == arControllers.end()) { return -1; } arController *arc = &(arControllers[id]); KpmResult *kpmResult = NULL; + // NFT results. + float trackingTrans[3][4]; int kpmResultNum = -1; - kpmMatching( arc->kpmHandle, arc->videoLuma ); - kpmGetResult( arc->kpmHandle, &kpmResult, &kpmResultNum ); + //kpmMatching( arc->kpmHandle, arc->videoLuma ); + //kpmGetResult( arc->kpmHandle, &kpmResult, &kpmResultNum ); + /*if (arc->threadHandle) { + // Perform NFT tracking. + float err; + int ret; + int pageNo; + + if( arc->detectedPage == -2 ) { + trackingInitStart( arc->threadHandle, arc->videoLuma ); + arc->detectedPage = -1; + } + }*/ return kpmResultNum; } @@ -226,19 +284,49 @@ extern "C" { int setupAR2(int id) { if (arControllers.find(id) == arControllers.end()) { return -1; } arController *arc = &(arControllers[id]); - //arc->pixFormat = arVideoGetPixelFormat(); arc->kpmHandle = createKpmHandle(arc->paramLT); return 0; } + int setupAR2Threads(int id) { + if (arControllers.find(id) == arControllers.end()) { return -1; } + arController *arc = &(arControllers[id]); + + if( (arc->ar2Handle = ar2CreateHandle(arc->paramLT, arc->pixFormat, AR2_TRACKING_DEFAULT_THREAD_NUM)) == NULL ) { + ARLOGe("Error: ar2CreateHandle.\n"); + kpmDeleteHandle(&arc->kpmHandle); + return (FALSE); + } + if (threadGetCPU() <= 1) { + ARLOGi("Using NFT tracking settings for a single CPU.\n"); + ar2SetTrackingThresh(arc->ar2Handle, 5.0); + ar2SetSimThresh(arc->ar2Handle, 0.50); + ar2SetSearchFeatureNum(arc->ar2Handle, 16); + ar2SetSearchSize(arc->ar2Handle, 6); + ar2SetTemplateSize1(arc->ar2Handle, 6); + ar2SetTemplateSize2(arc->ar2Handle, 6); + } else { + ARLOGi("Using NFT tracking settings for more than one CPU.\n"); + ar2SetTrackingThresh(arc->ar2Handle, 5.0); + ar2SetSimThresh(arc->ar2Handle, 0.50); + ar2SetSearchFeatureNum(arc->ar2Handle, 16); + ar2SetSearchSize(arc->ar2Handle, 12); + ar2SetTemplateSize1(arc->ar2Handle, 6); + ar2SetTemplateSize2(arc->ar2Handle, 6); + } + return 0; + } + + int loadNFTMarker(arController *arc, int surfaceSetCount, const char* datasetPathname) { int i, pageNo; - AR2SurfaceSetT *surfaceSet; + //AR2SurfaceSetT *surfaceSet; KpmRefDataSet *refDataSet; KpmHandle *kpmHandle = arc->kpmHandle; + arc->threadHandle = trackingInit(arc->kpmHandle); refDataSet = NULL; @@ -265,12 +353,12 @@ extern "C" { // Load AR2 data. ARLOGi("Reading %s.fset\n", datasetPathname); - if ((surfaceSet = ar2ReadSurfaceSet(datasetPathname, "fset", NULL)) == NULL ) { + if ((arc->surfaceSet[surfaceSetCount] = ar2ReadSurfaceSet(datasetPathname, "fset", NULL)) == NULL ) { ARLOGe("Error reading data from %s.fset\n", datasetPathname); } ARLOGi(" Done.\n"); - arc->surfaceSets[surfaceSetCount] = surfaceSet; + if (surfaceSetCount == PAGES_MAX) exit(-1); if (kpmSetRefDataSet(kpmHandle, refDataSet) < 0) { ARLOGe("Error: kpmSetRefDataSet\n"); @@ -336,6 +424,8 @@ extern "C" { delete &arc->multi_markers; delete arc; + trackingInitQuit(&arc->threadHandle); + return 0; } @@ -731,9 +821,6 @@ extern "C" { return -1; } - - - /* * Marker processing */ diff --git a/emscripten/trackingSub.c b/emscripten/trackingSub.c new file mode 100644 index 00000000..13f81a0e --- /dev/null +++ b/emscripten/trackingSub.c @@ -0,0 +1,202 @@ +/* + * trackingSub.c + * ARToolKit5 + * + * Disclaimer: IMPORTANT: This Daqri software is supplied to you by Daqri + * LLC ("Daqri") in consideration of your agreement to the following + * terms, and your use, installation, modification or redistribution of + * this Daqri software constitutes acceptance of these terms. If you do + * not agree with these terms, please do not use, install, modify or + * redistribute this Daqri software. + * + * In consideration of your agreement to abide by the following terms, and + * subject to these terms, Daqri grants you a personal, non-exclusive + * license, under Daqri's copyrights in this original Daqri software (the + * "Daqri Software"), to use, reproduce, modify and redistribute the Daqri + * Software, with or without modifications, in source and/or binary forms; + * provided that if you redistribute the Daqri Software in its entirety and + * without modifications, you must retain this notice and the following + * text and disclaimers in all such redistributions of the Daqri Software. + * Neither the name, trademarks, service marks or logos of Daqri LLC may + * be used to endorse or promote products derived from the Daqri Software + * without specific prior written permission from Daqri. Except as + * expressly stated in this notice, no other rights or licenses, express or + * implied, are granted by Daqri herein, including but not limited to any + * patent rights that may be infringed by your derivative works or by other + * works in which the Daqri Software may be incorporated. + * + * The Daqri Software is provided by Daqri on an "AS IS" basis. DAQRI + * MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION + * THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE, REGARDING THE DAQRI SOFTWARE OR ITS USE AND + * OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS. + * + * IN NO EVENT SHALL DAQRI BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL + * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, + * MODIFICATION AND/OR DISTRIBUTION OF THE DAQRI SOFTWARE, HOWEVER CAUSED + * AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), + * STRICT LIABILITY OR OTHERWISE, EVEN IF DAQRI HAS BEEN ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * Copyright 2015 Daqri LLC. All Rights Reserved. + * Copyright 2010-2015 ARToolworks, Inc. All Rights Reserved. + * + * Author(s): Hirokazu Kato, Philip Lamb. + * + */ + +#include "trackingSub.h" + +#include +#include +#include + +typedef struct { + KpmHandle *kpmHandle; // KPM-related data. + ARUint8 *imageLumaPtr; // Pointer to image being tracked. + int imageSize; // Bytes per image. + float trans[3][4]; // Transform containing pose of tracked image. + int page; // Assigned page number of tracked image. + int flag; // Tracked successfully. +} TrackingInitHandle; + +static void *trackingInitMain( THREAD_HANDLE_T *threadHandle ); + + +int trackingInitQuit( THREAD_HANDLE_T **threadHandle_p ) +{ + TrackingInitHandle *trackingInitHandle; + + if (!threadHandle_p) { + ARLOGe("trackingInitQuit(): Error: NULL threadHandle_p.\n"); + return (-1); + } + if (!*threadHandle_p) return 0; + + threadWaitQuit( *threadHandle_p ); + trackingInitHandle = (TrackingInitHandle *)threadGetArg(*threadHandle_p); + if (trackingInitHandle) { + free( trackingInitHandle->imageLumaPtr ); + free( trackingInitHandle ); + } + threadFree( threadHandle_p ); + return 0; +} + +THREAD_HANDLE_T *trackingInitInit( KpmHandle *kpmHandle ) +{ + TrackingInitHandle *trackingInitHandle; + THREAD_HANDLE_T *threadHandle; + + if (!kpmHandle) { + ARLOGe("trackingInitInit(): Error: NULL KpmHandle.\n"); + return (NULL); + } + + trackingInitHandle = (TrackingInitHandle *)malloc(sizeof(TrackingInitHandle)); + if( trackingInitHandle == NULL ) return NULL; + trackingInitHandle->kpmHandle = kpmHandle; + trackingInitHandle->imageSize = kpmHandleGetXSize(kpmHandle) * kpmHandleGetYSize(kpmHandle); + trackingInitHandle->imageLumaPtr = (ARUint8 *)malloc(trackingInitHandle->imageSize); + trackingInitHandle->flag = 0; + + threadHandle = threadInit(0, trackingInitHandle, trackingInitMain); + return threadHandle; +} + +int trackingInitStart( THREAD_HANDLE_T *threadHandle, ARUint8 *imageLumaPtr ) +{ + TrackingInitHandle *trackingInitHandle; + + if (!threadHandle || !imageLumaPtr) { + ARLOGe("trackingInitStart(): Error: NULL threadHandle or imagePtr.\n"); + return (-1); + } + + trackingInitHandle = (TrackingInitHandle *)threadGetArg(threadHandle); + if (!trackingInitHandle) { + ARLOGe("trackingInitStart(): Error: NULL trackingInitHandle.\n"); + return (-1); + } + memcpy( trackingInitHandle->imageLumaPtr, imageLumaPtr, trackingInitHandle->imageSize ); + threadStartSignal( threadHandle ); + + return 0; +} + +int trackingInitGetResult( THREAD_HANDLE_T *threadHandle, float trans[3][4], int *page ) +{ + TrackingInitHandle *trackingInitHandle; + int i, j; + + if (!threadHandle || !trans || !page) { + ARLOGe("trackingInitGetResult(): Error: NULL threadHandle or trans or page.\n"); + return (-1); + } + + if( threadGetStatus( threadHandle ) == 0 ) return 0; + threadEndWait( threadHandle ); + trackingInitHandle = (TrackingInitHandle *)threadGetArg(threadHandle); + if (!trackingInitHandle) return (-1); + if( trackingInitHandle->flag ) { + for (j = 0; j < 3; j++) for (i = 0; i < 4; i++) trans[j][i] = trackingInitHandle->trans[j][i]; + *page = trackingInitHandle->page; + return 1; + } + + return -1; +} + +static void *trackingInitMain( THREAD_HANDLE_T *threadHandle ) +{ + TrackingInitHandle *trackingInitHandle; + KpmHandle *kpmHandle; + KpmResult *kpmResult = NULL; + int kpmResultNum; + ARUint8 *imageLumaPtr; + float err; + int i, j, k; + + if (!threadHandle) { + ARLOGe("Error starting tracking thread: empty THREAD_HANDLE_T.\n"); + return (NULL); + } + trackingInitHandle = (TrackingInitHandle *)threadGetArg(threadHandle); + if (!threadHandle) { + ARLOGe("Error starting tracking thread: empty trackingInitHandle.\n"); + return (NULL); + } + kpmHandle = trackingInitHandle->kpmHandle; + imageLumaPtr = trackingInitHandle->imageLumaPtr; + if (!kpmHandle || !imageLumaPtr) { + ARLOGe("Error starting tracking thread: empty kpmHandle/imageLumaPtr.\n"); + return (NULL); + } + ARLOGi("Start tracking thread.\n"); + + kpmGetResult( kpmHandle, &kpmResult, &kpmResultNum ); + + for(;;) { + if( threadStartWait(threadHandle) < 0 ) break; + + kpmMatching(kpmHandle, imageLumaPtr); + trackingInitHandle->flag = 0; + for( i = 0; i < kpmResultNum; i++ ) { + if( kpmResult[i].camPoseF != 0 ) continue; + ARLOGd("kpmGetPose OK.\n"); + if( trackingInitHandle->flag == 0 || err > kpmResult[i].error ) { // Take the first or best result. + trackingInitHandle->flag = 1; + trackingInitHandle->page = kpmResult[i].pageNo; + for (j = 0; j < 3; j++) for (k = 0; k < 4; k++) trackingInitHandle->trans[j][k] = kpmResult[i].camPose[j][k]; + err = kpmResult[i].error; + } + } + + threadEndSignal(threadHandle); + } + + ARLOGi("End tracking thread.\n"); + return (NULL); +} diff --git a/emscripten/trackingSub.h b/emscripten/trackingSub.h new file mode 100644 index 00000000..9e71295d --- /dev/null +++ b/emscripten/trackingSub.h @@ -0,0 +1,69 @@ +/* + * trackingSub.h + * ARToolKit5 + * + * Disclaimer: IMPORTANT: This Daqri software is supplied to you by Daqri + * LLC ("Daqri") in consideration of your agreement to the following + * terms, and your use, installation, modification or redistribution of + * this Daqri software constitutes acceptance of these terms. If you do + * not agree with these terms, please do not use, install, modify or + * redistribute this Daqri software. + * + * In consideration of your agreement to abide by the following terms, and + * subject to these terms, Daqri grants you a personal, non-exclusive + * license, under Daqri's copyrights in this original Daqri software (the + * "Daqri Software"), to use, reproduce, modify and redistribute the Daqri + * Software, with or without modifications, in source and/or binary forms; + * provided that if you redistribute the Daqri Software in its entirety and + * without modifications, you must retain this notice and the following + * text and disclaimers in all such redistributions of the Daqri Software. + * Neither the name, trademarks, service marks or logos of Daqri LLC may + * be used to endorse or promote products derived from the Daqri Software + * without specific prior written permission from Daqri. Except as + * expressly stated in this notice, no other rights or licenses, express or + * implied, are granted by Daqri herein, including but not limited to any + * patent rights that may be infringed by your derivative works or by other + * works in which the Daqri Software may be incorporated. + * + * The Daqri Software is provided by Daqri on an "AS IS" basis. DAQRI + * MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION + * THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE, REGARDING THE DAQRI SOFTWARE OR ITS USE AND + * OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS. + * + * IN NO EVENT SHALL DAQRI BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL + * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, + * MODIFICATION AND/OR DISTRIBUTION OF THE DAQRI SOFTWARE, HOWEVER CAUSED + * AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), + * STRICT LIABILITY OR OTHERWISE, EVEN IF DAQRI HAS BEEN ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * Copyright 2015 Daqri LLC. All Rights Reserved. + * Copyright 2010-2015 ARToolworks, Inc. All Rights Reserved. + * + * Author(s): Hirokazu Kato, Philip Lamb. + * + */ + +#ifndef TRACKING_SUB_H +#define TRACKING_SUB_H + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + +THREAD_HANDLE_T *trackingInitInit( KpmHandle *kpmHandle ); +int trackingInitStart( THREAD_HANDLE_T *threadHandle, ARUint8 *imagePtrLuma ); +int trackingInitGetResult( THREAD_HANDLE_T *threadHandle, float trans[3][4], int *page ); +int trackingInitQuit( THREAD_HANDLE_T **threadHandle_p ); + +#ifdef __cplusplus +} +#endif + +#endif // !TRACKING_SUB_H diff --git a/examples/Data/models/CesiumMan/glTF/CesiumMan.gltf b/examples/Data/models/CesiumMan/glTF/CesiumMan.gltf new file mode 100644 index 00000000..782eb396 --- /dev/null +++ b/examples/Data/models/CesiumMan/glTF/CesiumMan.gltf @@ -0,0 +1,2768 @@ +{ + "asset": { + "generator": "COLLADA2GLTF", + "version": "2.0" + }, + "scene": 0, + "scenes": [ + { + "nodes": [ + 0 + ] + } + ], + "nodes": [ + { + "children": [ + 21, + 1 + ], + "matrix": [ + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + -1.0, + 0.0, + 0.0, + 1.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + ] + }, + { + "mesh": 0, + "skin": 0 + }, + { + "children": [ + 11, + 7, + 3 + ], + "translation": [ + -3.352759847530251e-8, + 0.00499989278614521, + 0.6789997816085815 + ], + "rotation": [ + -0.02679471485316753, + -0.026732556521892549, + -0.7065614461898804, + -0.706638753414154 + ], + "scale": [ + 0.9999999403953552, + 0.9999998211860656, + 0.9999999403953552 + ] + }, + { + "children": [ + 4 + ], + "translation": [ + -0.06804201006889343, + -0.02857022918760777, + -0.06294959783554077 + ], + "rotation": [ + -0.06642699986696243, + -0.6115013957023621, + 0.7850273251533508, + 0.073387511074543 + ], + "scale": [ + 0.9999999403953552, + 1.000000238418579, + 1.0 + ] + }, + { + "children": [ + 5 + ], + "translation": [ + 0.0, + 0.2661114931106568, + 0.0 + ], + "rotation": [ + 0.2162912338972092, + 0.12430649250745774, + 0.0015752052422612906, + -0.9683818817138672 + ], + "scale": [ + 1.0, + 0.9999998807907105, + 1.0 + ] + }, + { + "children": [ + 6 + ], + "translation": [ + 0.0, + 0.2758249044418335, + -1.1175900205273593e-8 + ], + "rotation": [ + 0.8472740650177002, + -0.029564039781689645, + -0.020868001505732538, + -0.5299217700958252 + ], + "scale": [ + 0.9999999403953552, + 0.9999998807907105, + 1.0 + ] + }, + { + "translation": [ + -0.001458480954170227, + -0.06619883328676224, + 0.027856720611453058 + ], + "rotation": [ + -0.03726436197757721, + -0.31931325793266299, + 0.9460535645484924, + -0.040414959192276 + ], + "scale": [ + 1.0, + 1.0000003576278689, + 1.0000005960464478 + ] + }, + { + "children": [ + 8 + ], + "translation": [ + 0.06803668290376663, + -0.028518669307231904, + -0.06296277046203613 + ], + "rotation": [ + 0.2475697100162506, + -0.5775680541992188, + 0.7479144334793091, + -0.2138892114162445 + ], + "scale": [ + 1.0, + 1.000000238418579, + 1.0000001192092896 + ] + }, + { + "children": [ + 9 + ], + "translation": [ + 3.725289854372704e-9, + 0.2661128044128418, + 1.4901200273698124e-8 + ], + "rotation": [ + 0.20902779698371888, + -0.32988959550857546, + -0.05559924244880676, + -0.9189064502716065 + ], + "scale": [ + 1.0, + 1.0000001192092896, + 1.0000001192092896 + ] + }, + { + "children": [ + 10 + ], + "translation": [ + -7.450579708745408e-9, + 0.2758241891860962, + 5.5879398885849708e-9 + ], + "rotation": [ + 0.8477396965026856, + -0.004254077095538378, + -0.009491981938481333, + -0.5303107500076294 + ], + "scale": [ + 0.9999998807907105, + 1.0000001192092896, + 1.0000001192092896 + ] + }, + { + "translation": [ + -0.002346522873267532, + -0.06617332994937897, + 0.027856789529323576 + ], + "rotation": [ + 0.026573536917567254, + -0.3201442956924439, + 0.9445450901985169, + 0.06808964908123017 + ], + "scale": [ + 1.0, + 1.000000238418579, + 1.000000238418579 + ] + }, + { + "children": [ + 12 + ], + "translation": [ + -1.024449947095718e-8, + 1.4901200273698124e-8, + 0.14541690051555634 + ], + "rotation": [ + -0.6572523713111877, + -0.00017969288455788046, + -0.00010428009409224616, + -0.7536706328392029 + ], + "scale": [ + 1.0, + 1.0, + 1.0000001192092896 + ] + }, + { + "children": [ + 19, + 16, + 13 + ], + "translation": [ + 4.6566100975198307e-10, + 0.250516802072525, + 3.725289854372704e-9 + ], + "rotation": [ + 0.6226037740707398, + 0.00001678345142863691, + -0.0000031824047255213374, + -0.7825372219085693 + ], + "scale": [ + 1.0, + 1.0, + 0.9999999403953552 + ] + }, + { + "children": [ + 14 + ], + "translation": [ + -0.09098775684833528, + 0.00006259980000322685, + -0.00006532669794978574 + ], + "rotation": [ + 0.2964428961277008, + 0.031510334461927417, + -0.6522551774978638, + -0.6969160437583923 + ], + "scale": [ + 1.0000001192092896, + 0.9999999403953552, + 1.0000001192092896 + ] + }, + { + "children": [ + 15 + ], + "translation": [ + 0.0, + 0.24200820922851566, + -5.96045985901128e-8 + ], + "rotation": [ + -0.1887933611869812, + 0.9157071709632874, + -0.16780903935432438, + -0.3125341236591339 + ], + "scale": [ + 0.9999999403953552, + 0.9999999403953552, + 0.9999998807907105 + ] + }, + { + "translation": [ + 0.0, + 0.18779200315475465, + 0.0 + ], + "rotation": [ + -0.058613914996385577, + 0.2637767195701599, + 0.05226854607462883, + -0.9613814353942872 + ], + "scale": [ + 1.0, + 1.0000001192092896, + 0.9999999403953552 + ] + }, + { + "children": [ + 17 + ], + "translation": [ + 0.0910135880112648, + 0.000014185899999574758, + -0.000058054902183357629 + ], + "rotation": [ + 0.6797328591346741, + 0.689685583114624, + -0.2269716113805771, + -0.10383165627717972 + ], + "scale": [ + 1.0000001192092896, + 1.0000001192092896, + 1.0 + ] + }, + { + "children": [ + 18 + ], + "translation": [ + 1.1641500263781524e-10, + 0.2420089989900589, + 0.0 + ], + "rotation": [ + -0.013960935175418854, + -0.12937255203723908, + -0.2522056996822357, + -0.9588848352432252 + ], + "scale": [ + 1.0, + 0.9999999403953552, + 1.0 + ] + }, + { + "translation": [ + 1.4901200273698124e-8, + 0.18779149651527408, + 5.96045985901128e-8 + ], + "rotation": [ + 0.006119169760495424, + -0.042325541377067569, + -0.07877591997385025, + -0.9959746599197388 + ], + "scale": [ + 0.9999998807907105, + 1.000000238418579, + 0.9999999403953552 + ] + }, + { + "children": [ + 20 + ], + "translation": [ + -8.847560017954948e-9, + 5.96045985901128e-8, + 0.06483662128448487 + ], + "rotation": [ + -0.6606296300888062, + 0.00008344435627805069, + 0.0000710925814928487, + -0.750711977481842 + ] + }, + { + "translation": [ + 0.0, + 0.0520397387444973, + 0.0 + ], + "rotation": [ + 0.000002552607384131989, + 0.9996904730796814, + -0.02487966977059841, + -4.329927776325349e-7 + ], + "scale": [ + 1.0, + 1.0000001192092896, + 1.0 + ] + }, + { + "children": [ + 2 + ] + } + ], + "meshes": [ + { + "primitives": [ + { + "attributes": { + "JOINTS_0": 1, + "NORMAL": 2, + "POSITION": 3, + "TEXCOORD_0": 4, + "WEIGHTS_0": 5 + }, + "indices": 0, + "mode": 4, + "material": 0 + } + ], + "name": "Cesium_Man" + } + ], + "animations": [ + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 2, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 2, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 2, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 6, + "interpolation": "LINEAR", + "output": 7 + }, + { + "input": 6, + "interpolation": "LINEAR", + "output": 8 + }, + { + "input": 6, + "interpolation": "LINEAR", + "output": 9 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 11, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 11, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 11, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 10, + "interpolation": "LINEAR", + "output": 11 + }, + { + "input": 10, + "interpolation": "LINEAR", + "output": 12 + }, + { + "input": 10, + "interpolation": "LINEAR", + "output": 13 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 12, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 12, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 12, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 14, + "interpolation": "LINEAR", + "output": 15 + }, + { + "input": 14, + "interpolation": "LINEAR", + "output": 16 + }, + { + "input": 14, + "interpolation": "LINEAR", + "output": 17 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 19, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 19, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 19, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 18, + "interpolation": "LINEAR", + "output": 19 + }, + { + "input": 18, + "interpolation": "LINEAR", + "output": 20 + }, + { + "input": 18, + "interpolation": "LINEAR", + "output": 21 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 20, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 20, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 20, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 22, + "interpolation": "LINEAR", + "output": 23 + }, + { + "input": 22, + "interpolation": "LINEAR", + "output": 24 + }, + { + "input": 22, + "interpolation": "LINEAR", + "output": 25 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 16, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 16, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 16, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 26, + "interpolation": "LINEAR", + "output": 27 + }, + { + "input": 26, + "interpolation": "LINEAR", + "output": 28 + }, + { + "input": 26, + "interpolation": "LINEAR", + "output": 29 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 17, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 17, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 17, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 30, + "interpolation": "LINEAR", + "output": 31 + }, + { + "input": 30, + "interpolation": "LINEAR", + "output": 32 + }, + { + "input": 30, + "interpolation": "LINEAR", + "output": 33 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 18, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 18, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 18, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 34, + "interpolation": "LINEAR", + "output": 35 + }, + { + "input": 34, + "interpolation": "LINEAR", + "output": 36 + }, + { + "input": 34, + "interpolation": "LINEAR", + "output": 37 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 13, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 13, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 13, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 38, + "interpolation": "LINEAR", + "output": 39 + }, + { + "input": 38, + "interpolation": "LINEAR", + "output": 40 + }, + { + "input": 38, + "interpolation": "LINEAR", + "output": 41 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 14, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 14, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 14, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 42, + "interpolation": "LINEAR", + "output": 43 + }, + { + "input": 42, + "interpolation": "LINEAR", + "output": 44 + }, + { + "input": 42, + "interpolation": "LINEAR", + "output": 45 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 15, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 15, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 15, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 46, + "interpolation": "LINEAR", + "output": 47 + }, + { + "input": 46, + "interpolation": "LINEAR", + "output": 48 + }, + { + "input": 46, + "interpolation": "LINEAR", + "output": 49 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 7, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 7, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 7, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 50, + "interpolation": "LINEAR", + "output": 51 + }, + { + "input": 50, + "interpolation": "LINEAR", + "output": 52 + }, + { + "input": 50, + "interpolation": "LINEAR", + "output": 53 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 8, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 8, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 8, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 54, + "interpolation": "LINEAR", + "output": 55 + }, + { + "input": 54, + "interpolation": "LINEAR", + "output": 56 + }, + { + "input": 54, + "interpolation": "LINEAR", + "output": 57 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 9, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 9, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 9, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 58, + "interpolation": "LINEAR", + "output": 59 + }, + { + "input": 58, + "interpolation": "LINEAR", + "output": 60 + }, + { + "input": 58, + "interpolation": "LINEAR", + "output": 61 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 10, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 10, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 10, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 62, + "interpolation": "LINEAR", + "output": 63 + }, + { + "input": 62, + "interpolation": "LINEAR", + "output": 64 + }, + { + "input": 62, + "interpolation": "LINEAR", + "output": 65 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 3, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 3, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 3, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 66, + "interpolation": "LINEAR", + "output": 67 + }, + { + "input": 66, + "interpolation": "LINEAR", + "output": 68 + }, + { + "input": 66, + "interpolation": "LINEAR", + "output": 69 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 4, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 4, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 4, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 70, + "interpolation": "LINEAR", + "output": 71 + }, + { + "input": 70, + "interpolation": "LINEAR", + "output": 72 + }, + { + "input": 70, + "interpolation": "LINEAR", + "output": 73 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 5, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 5, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 5, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 74, + "interpolation": "LINEAR", + "output": 75 + }, + { + "input": 74, + "interpolation": "LINEAR", + "output": 76 + }, + { + "input": 74, + "interpolation": "LINEAR", + "output": 77 + } + ] + }, + { + "channels": [ + { + "sampler": 0, + "target": { + "node": 6, + "path": "translation" + } + }, + { + "sampler": 1, + "target": { + "node": 6, + "path": "rotation" + } + }, + { + "sampler": 2, + "target": { + "node": 6, + "path": "scale" + } + } + ], + "samplers": [ + { + "input": 78, + "interpolation": "LINEAR", + "output": 79 + }, + { + "input": 78, + "interpolation": "LINEAR", + "output": 80 + }, + { + "input": 78, + "interpolation": "LINEAR", + "output": 81 + } + ] + } + ], + "skins": [ + { + "inverseBindMatrices": 82, + "skeleton": 2, + "joints": [ + 2, + 11, + 12, + 19, + 20, + 16, + 13, + 17, + 14, + 18, + 15, + 7, + 3, + 8, + 4, + 9, + 5, + 10, + 6 + ], + "name": "Armature" + } + ], + "accessors": [ + { + "bufferView": 0, + "byteOffset": 0, + "componentType": 5123, + "count": 14016, + "max": [ + 3272 + ], + "min": [ + 0 + ], + "type": "SCALAR" + }, + { + "bufferView": 1, + "byteOffset": 0, + "componentType": 5123, + "count": 3273, + "max": [ + 18, + 18, + 18, + 18 + ], + "min": [ + 0, + 0, + 0, + 0 + ], + "type": "VEC4" + }, + { + "bufferView": 2, + "byteOffset": 0, + "componentType": 5126, + "count": 3273, + "max": [ + 1.0, + 0.9999808073043824, + 0.9944446086883544 + ], + "min": [ + -1.0, + -0.9999808073043824, + -1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 39276, + "componentType": 5126, + "count": 3273, + "max": [ + 0.1809539943933487, + 0.569136917591095, + 1.5065499544143677 + ], + "min": [ + -0.13100001215934754, + -0.5691370964050293, + 0.0 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 26184, + "componentType": 5126, + "count": 3273, + "max": [ + 0.990805983543396, + 0.9880298972129822 + ], + "min": [ + 0.014079390093684197, + 0.008445978164672852 + ], + "type": "VEC2" + }, + { + "bufferView": 3, + "byteOffset": 0, + "componentType": 5126, + "count": 3273, + "max": [ + 1.0, + 0.989919900894165, + 0.951076328754425, + 0.8741077184677124 + ], + "min": [ + 0.010080150328576565, + 0.0, + 0.0, + 0.0 + ], + "type": "VEC4" + }, + { + "bufferView": 4, + "byteOffset": 0, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 0, + "componentType": 5126, + "count": 49, + "max": [ + 2.386510011831433e-8, + -0.02000010944902897, + 0.7110069990158081 + ], + "min": [ + -7.101329746461715e-9, + -0.030000120401382448, + 0.6399999856948853 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 0, + "componentType": 5126, + "count": 49, + "max": [ + -0.02314124070107937, + -0.006974140647798777, + -0.7065909504890442, + -0.7031946778297424 + ], + "min": [ + -0.05146743357181549, + -0.034400247037410739, + -0.7094300389289856, + -0.7066542506217957 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 588, + "componentType": 5126, + "count": 49, + "max": [ + 1.0000001192092896, + 1.0000003576278689, + 1.0000001192092896 + ], + "min": [ + 0.9999998211860656, + 0.9999998807907105, + 0.9999997615814208 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 196, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 1176, + "componentType": 5126, + "count": 49, + "max": [ + 0.0009999829344451428, + 3.725289943190546e-8, + 0.1454170048236847 + ], + "min": [ + 0.0009999759495258332, + -4.470349779239769e-8, + 0.14541690051555634 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 784, + "componentType": 5126, + "count": 49, + "max": [ + -0.7105135917663574, + 0.008397356607019902, + 0.000531485362444073, + -0.6789330840110779 + ], + "min": [ + -0.7337970733642578, + -0.011321297846734524, + -0.02596380189061165, + -0.703567624092102 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 1764, + "componentType": 5126, + "count": 49, + "max": [ + 1.0000003576278689, + 1.0000004768371585, + 0.999999701976776 + ], + "min": [ + 1.0, + 1.0000001192092896, + 0.9999992847442628 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 392, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 2352, + "componentType": 5126, + "count": 49, + "max": [ + 0.0, + 0.25051671266555788, + 0.0 + ], + "min": [ + 0.0, + 0.25051671266555788, + 0.0 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 1568, + "componentType": 5126, + "count": 49, + "max": [ + 0.6358352899551392, + 0.06165437772870064, + -0.00338419945910573, + -0.7642753720283508 + ], + "min": [ + 0.6224426627159119, + -0.1380288153886795, + -0.06534028053283692, + -0.782635509967804 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 2940, + "componentType": 5126, + "count": 49, + "max": [ + 1.0000001192092896, + 1.0000007152557374, + 0.999999701976776 + ], + "min": [ + 0.9999998211860656, + 1.0000003576278689, + 0.9999992847442628 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 588, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 3528, + "componentType": 5126, + "count": 49, + "max": [ + 2.1420399676230774e-8, + 8.940700269022274e-8, + 0.064838707447052 + ], + "min": [ + -1.5832499755674694e-8, + 2.98022992950564e-8, + 0.06483834981918335 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 2352, + "componentType": 5126, + "count": 49, + "max": [ + -0.6325308680534363, + 0.024829493835568429, + 0.04200226813554764, + -0.7498575448989868 + ], + "min": [ + -0.6592774987220764, + -0.03641732409596443, + -0.03000717982649803, + -0.7735550999641419 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 4116, + "componentType": 5126, + "count": 49, + "max": [ + 1.000000238418579, + 0.9999998807907105, + 1.0 + ], + "min": [ + 0.9999998211860656, + 0.9999995231628418, + 0.999999701976776 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 784, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 4704, + "componentType": 5126, + "count": 49, + "max": [ + 7.450579708745408e-9, + 0.0520397387444973, + 0.0 + ], + "min": [ + 7.450579708745408e-9, + 0.0520397387444973, + 0.0 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 3136, + "componentType": 5126, + "count": 49, + "max": [ + 0.04680429771542549, + 0.9995073676109314, + -0.018450811505317689, + 0.002033286727964878 + ], + "min": [ + -0.09362706542015076, + 0.995067298412323, + -0.09058911353349686, + -0.0025854958221316339 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 5292, + "componentType": 5126, + "count": 49, + "max": [ + 1.000000238418579, + 1.0000001192092896, + 1.0000004768371585 + ], + "min": [ + 0.999999701976776, + 0.9999998211860656, + 1.0000001192092896 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 980, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 5880, + "componentType": 5126, + "count": 49, + "max": [ + 0.08800014853477478, + 0.000014096500308369288, + -0.00005573029920924455 + ], + "min": [ + 0.08799994736909867, + 0.000013977300113765525, + -0.00005596880146185868 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 3920, + "componentType": 5126, + "count": 49, + "max": [ + 0.7787204384803772, + 0.6963526606559753, + -0.2913321256637573, + -0.12775331735610966 + ], + "min": [ + 0.41440603137016299, + 0.2682091891765595, + -0.6041955351829529, + -0.508333683013916 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 6468, + "componentType": 5126, + "count": 49, + "max": [ + 1.0000005960464478, + 1.0000001192092896, + 1.0000004768371585 + ], + "min": [ + 1.0, + 0.9999995827674866, + 1.0000001192092896 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 1176, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 7056, + "componentType": 5126, + "count": 49, + "max": [ + 0.0, + 0.24200910329818729, + 0.0 + ], + "min": [ + 0.0, + 0.24200910329818729, + 0.0 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 4704, + "componentType": 5126, + "count": 49, + "max": [ + 0.005276965908706188, + -0.10532382130622864, + -0.0563904233276844, + -0.9007523059844972 + ], + "min": [ + -0.08755125105381012, + -0.15304648876190186, + -0.4198120832443238, + -0.989989936351776 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 7644, + "componentType": 5126, + "count": 49, + "max": [ + 0.9999999403953552, + 0.9999998807907105, + 0.9999998807907105 + ], + "min": [ + 0.9999994039535524, + 0.9999992847442628, + 0.9999995231628418 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 1372, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 8232, + "componentType": 5126, + "count": 49, + "max": [ + -2.98022992950564e-8, + 0.18779130280017854, + 0.0 + ], + "min": [ + -2.98022992950564e-8, + 0.18779130280017854, + 0.0 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 5488, + "componentType": 5126, + "count": 49, + "max": [ + 0.04831664264202118, + -0.03682959079742432, + 0.1515040546655655, + -0.9875762462615968 + ], + "min": [ + -0.01958325318992138, + -0.043389420956373218, + -0.0806758776307106, + -0.9989553689956664 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 8820, + "componentType": 5126, + "count": 49, + "max": [ + 1.000000238418579, + 1.0000009536743165, + 1.0000005960464478 + ], + "min": [ + 0.999999701976776, + 1.0000005960464478, + 1.000000238418579 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 1568, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 9408, + "componentType": 5126, + "count": 49, + "max": [ + -0.0879998505115509, + 0.00006264450348680839, + -0.00006240609945962206 + ], + "min": [ + -0.0880001038312912, + 0.00006249549915082753, + -0.00006282330286921933 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 6272, + "componentType": 5126, + "count": 49, + "max": [ + 0.6748494505882263, + 0.3152157068252564, + -0.300369679927826, + -0.3483264744281769 + ], + "min": [ + 0.3661315143108368, + 0.09874838590621948, + -0.6449660658836365, + -0.8451733589172363 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 9996, + "componentType": 5126, + "count": 49, + "max": [ + 1.0000001192092896, + 1.0000001192092896, + 1.0 + ], + "min": [ + 0.9999997615814208, + 0.9999996423721314, + 0.999999701976776 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 1764, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 10584, + "componentType": 5126, + "count": 49, + "max": [ + 0.0, + 0.24200810492038728, + 0.0 + ], + "min": [ + 0.0, + 0.24200810492038728, + 0.0 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 7056, + "componentType": 5126, + "count": 49, + "max": [ + -0.003387797623872757, + 0.9475951790809633, + -0.0798693522810936, + -0.3012830018997193 + ], + "min": [ + -0.12710869312286378, + 0.916045308113098, + -0.2270231395959854, + -0.3146948218345642 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 11172, + "componentType": 5126, + "count": 49, + "max": [ + 1.0000003576278689, + 0.9999998807907105, + 1.0000001192092896 + ], + "min": [ + 0.9999999403953552, + 0.9999995827674866, + 0.9999997615814208 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 1960, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 11760, + "componentType": 5126, + "count": 49, + "max": [ + 0.0, + 0.187792107462883, + 0.0 + ], + "min": [ + 0.0, + 0.187792107462883, + 0.0 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 7840, + "componentType": 5126, + "count": 49, + "max": [ + 0.15000686049461366, + 0.26206517219543459, + 0.06808223575353623, + -0.9487173557281494 + ], + "min": [ + -0.0010455237934365869, + 0.25685790181159975, + -0.10152826458215714, + -0.9656248688697816 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 12348, + "componentType": 5126, + "count": 49, + "max": [ + 1.0000001192092896, + 1.0000009536743165, + 1.0 + ], + "min": [ + 0.9999996423721314, + 1.0000003576278689, + 0.9999995231628418 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 2156, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 12936, + "componentType": 5126, + "count": 49, + "max": [ + 0.06761906296014786, + -0.02851865068078041, + -0.06296355277299881 + ], + "min": [ + 0.0676189586520195, + -0.028518760576844217, + -0.06296365708112717 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 8624, + "componentType": 5126, + "count": 49, + "max": [ + 0.301033079624176, + -0.20796972513198853, + 0.92630273103714, + -0.08994945138692856 + ], + "min": [ + 0.1658332496881485, + -0.7997090816497803, + 0.4959096908569336, + -0.3118112981319428 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 13524, + "componentType": 5126, + "count": 49, + "max": [ + 1.0000008344650269, + 1.0, + 0.9999999403953552 + ], + "min": [ + 1.0000003576278689, + 0.9999995231628418, + 0.9999996423721314 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 2352, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 14112, + "componentType": 5126, + "count": 49, + "max": [ + -1.4901200273698124e-8, + 0.26611289381980898, + 0.0 + ], + "min": [ + -1.4901200273698124e-8, + 0.26611289381980898, + 0.0 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 9408, + "componentType": 5126, + "count": 49, + "max": [ + 0.8112500905990601, + -0.1822210103273392, + 0.032220568507909778, + -0.4743982553482056 + ], + "min": [ + -0.03036016784608364, + -0.3419179916381836, + -0.289162427186966, + -0.9452491998672484 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 14700, + "componentType": 5126, + "count": 49, + "max": [ + 0.9999994039535524, + 1.000000238418579, + 1.000000238418579 + ], + "min": [ + 0.9999989867210388, + 0.9999996423721314, + 0.9999994039535524 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 2548, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 15288, + "componentType": 5126, + "count": 49, + "max": [ + 0.0, + 0.2758241891860962, + 0.0 + ], + "min": [ + 0.0, + 0.2758241891860962, + 0.0 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 10192, + "componentType": 5126, + "count": 49, + "max": [ + 0.9907974004745485, + -0.0014961245469748974, + 0.02489613927900791, + -0.13506969809532166 + ], + "min": [ + 0.8542653918266296, + -0.05430477112531662, + -0.00011262076441198587, + -0.5192484259605408 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 15876, + "componentType": 5126, + "count": 49, + "max": [ + 1.0000005960464478, + 1.0000004768371585, + 1.0000004768371585 + ], + "min": [ + 1.000000238418579, + 1.0, + 1.0000001192092896 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 2744, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 16464, + "componentType": 5126, + "count": 49, + "max": [ + -0.0023464488331228496, + -0.06617332249879837, + 0.02785664983093739 + ], + "min": [ + -0.002346470952033997, + -0.06617333739995957, + 0.02785659022629261 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 10976, + "componentType": 5126, + "count": 49, + "max": [ + 0.02062430046498776, + -0.23465925455093385, + 0.9716955423355104, + 0.0638260766863823 + ], + "min": [ + 0.003326366888359189, + -0.5406339168548584, + 0.8410344123840332, + 0.016216862946748738 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 17052, + "componentType": 5126, + "count": 49, + "max": [ + 1.0000001192092896, + 1.0000009536743165, + 1.0000005960464478 + ], + "min": [ + 0.9999998211860656, + 1.000000238418579, + 0.9999998211860656 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 2940, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 17640, + "componentType": 5126, + "count": 49, + "max": [ + -0.06845708936452866, + -0.028570100665092469, + -0.062949538230896 + ], + "min": [ + -0.06845712661743164, + -0.02857035957276821, + -0.06294971704483032 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 11760, + "componentType": 5126, + "count": 49, + "max": [ + -0.018168065696954728, + -0.18232035636901856, + 0.9812799096107484, + 0.117560513317585 + ], + "min": [ + -0.07457219809293747, + -0.902503490447998, + 0.413051187992096, + 0.03284534439444542 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 18228, + "componentType": 5126, + "count": 49, + "max": [ + 1.000000238418579, + 1.000000238418579, + 1.0000003576278689 + ], + "min": [ + 0.9999998211860656, + 0.9999995827674866, + 0.9999996423721314 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 3136, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 18816, + "componentType": 5126, + "count": 49, + "max": [ + -1.1175900205273593e-8, + 0.2661114931106568, + 0.0 + ], + "min": [ + -1.1175900205273593e-8, + 0.2661114931106568, + 0.0 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 12544, + "componentType": 5126, + "count": 49, + "max": [ + 0.8507033586502075, + 0.14946134388446809, + 0.04984176158905029, + -0.5191445350646973 + ], + "min": [ + -0.06756377220153809, + 0.06949601322412491, + -0.026268262416124345, + -0.9922308921813964 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 19404, + "componentType": 5126, + "count": 49, + "max": [ + 1.0000005960464478, + 1.0000003576278689, + 1.0000005960464478 + ], + "min": [ + 1.0000001192092896, + 0.9999995231628418, + 0.9999998211860656 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 3332, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 19992, + "componentType": 5126, + "count": 49, + "max": [ + 0.0, + 0.2758249044418335, + 0.0 + ], + "min": [ + 0.0, + 0.2758249044418335, + 0.0 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 13328, + "componentType": 5126, + "count": 49, + "max": [ + 0.99649316072464, + -0.01710231974720955, + -0.022676724940538408, + -0.07459255307912827 + ], + "min": [ + 0.8792483806610107, + -0.04609288275241852, + -0.06820148974657059, + -0.4750169813632965 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 20580, + "componentType": 5126, + "count": 49, + "max": [ + 0.9999995827674866, + 1.0, + 1.0000003576278689 + ], + "min": [ + 0.999999225139618, + 0.9999995231628418, + 1.0 + ], + "type": "VEC3" + }, + { + "bufferView": 4, + "byteOffset": 3528, + "componentType": 5126, + "count": 49, + "max": [ + 2.0 + ], + "min": [ + 0.0 + ], + "type": "SCALAR" + }, + { + "bufferView": 5, + "byteOffset": 21168, + "componentType": 5126, + "count": 49, + "max": [ + -0.0014585109893232585, + -0.06619886308908463, + 0.02785670943558216 + ], + "min": [ + -0.0014585329918190837, + -0.06619889289140701, + 0.02785668894648552 + ], + "type": "VEC3" + }, + { + "bufferView": 6, + "byteOffset": 14112, + "componentType": 5126, + "count": 49, + "max": [ + -0.00960757862776518, + -0.2635453343391419, + 0.9620476961135864, + 0.06995902955532074 + ], + "min": [ + -0.04577624797821045, + -0.4899238646030426, + 0.8689604997634888, + -0.06424159556627274 + ], + "type": "VEC4" + }, + { + "bufferView": 5, + "byteOffset": 21756, + "componentType": 5126, + "count": 49, + "max": [ + 0.9999996423721314, + 1.0000003576278689, + 0.9999998807907105 + ], + "min": [ + 0.9999991655349731, + 0.9999997615814208, + 0.9999994039535524 + ], + "type": "VEC3" + }, + { + "bufferView": 7, + "byteOffset": 0, + "componentType": 5126, + "count": 19, + "max": [ + 0.780990481376648, + 0.9918341040611268, + 0.9992613196372986, + 0.0, + 1.0, + 0.8904604315757752, + 0.6854007244110107, + 0.0, + 0.79917311668396, + 0.9999359250068665, + 0.997134804725647, + 0.0, + 0.20702040195465089, + 0.5989438891410828, + 1.001250982284546, + 1.0 + ], + "min": [ + -0.9985063076019288, + -0.9971349835395812, + -0.9999359250068665, + 0.0, + -1.0, + -0.8904621005058289, + -0.4517692029476166, + 0.0, + -0.18484599888324736, + -0.9853218197822572, + -0.997802197933197, + 0.0, + -0.811928927898407, + -1.18982994556427, + -1.058609962463379, + 1.0 + ], + "type": "MAT4" + } + ], + "materials": [ + { + "pbrMetallicRoughness": { + "baseColorTexture": { + "index": 0 + }, + "metallicFactor": 0.0 + }, + "emissiveFactor": [ + 0.0, + 0.0, + 0.0 + ], + "name": "Cesium_Man-effect" + } + ], + "textures": [ + { + "sampler": 0, + "source": 0 + } + ], + "images": [ + { + "uri": "CesiumMan.jpg" + } + ], + "samplers": [ + { + "magFilter": 9729, + "minFilter": 9986, + "wrapS": 10497, + "wrapT": 10497 + } + ], + "bufferViews": [ + { + "buffer": 0, + "byteOffset": 225468, + "byteLength": 28032, + "target": 34963 + }, + { + "buffer": 0, + "byteOffset": 169376, + "byteLength": 52368, + "byteStride": 8, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 90824, + "byteLength": 78552, + "byteStride": 12, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 16112, + "byteLength": 52368, + "byteStride": 16, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 221744, + "byteLength": 3724 + }, + { + "buffer": 0, + "byteOffset": 68480, + "byteLength": 22344 + }, + { + "buffer": 0, + "byteOffset": 1216, + "byteLength": 14896 + }, + { + "buffer": 0, + "byteOffset": 0, + "byteLength": 1216 + } + ], + "buffers": [ + { + "byteLength": 253500, + "uri": "CesiumMan0.bin" + } + ] +} diff --git a/examples/Data/models/CesiumMan/glTF/CesiumMan.jpg b/examples/Data/models/CesiumMan/glTF/CesiumMan.jpg new file mode 100644 index 00000000..ab1b7244 Binary files /dev/null and b/examples/Data/models/CesiumMan/glTF/CesiumMan.jpg differ diff --git a/examples/Data/models/CesiumMan/glTF/CesiumMan0.bin b/examples/Data/models/CesiumMan/glTF/CesiumMan0.bin new file mode 100644 index 00000000..943b60ad Binary files /dev/null and b/examples/Data/models/CesiumMan/glTF/CesiumMan0.bin differ diff --git a/examples/Data/models/Duck/glTF/Duck.gltf b/examples/Data/models/Duck/glTF/Duck.gltf new file mode 100644 index 00000000..b80c842c --- /dev/null +++ b/examples/Data/models/Duck/glTF/Duck.gltf @@ -0,0 +1,219 @@ +{ + "asset": { + "generator": "COLLADA2GLTF", + "version": "2.0" + }, + "scene": 0, + "scenes": [ + { + "nodes": [ + 0 + ] + } + ], + "nodes": [ + { + "children": [ + 2, + 1 + ], + "matrix": [ + 0.009999999776482582, + 0.0, + 0.0, + 0.0, + 0.0, + 0.009999999776482582, + 0.0, + 0.0, + 0.0, + 0.0, + 0.009999999776482582, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0 + ] + }, + { + "matrix": [ + -0.7289686799049377, + 0.0, + -0.6845470666885376, + 0.0, + -0.4252049028873444, + 0.7836934328079224, + 0.4527972936630249, + 0.0, + 0.5364750623703003, + 0.6211478114128113, + -0.571287989616394, + 0.0, + 400.1130065917969, + 463.2640075683594, + -431.0780334472656, + 1.0 + ], + "camera": 0 + }, + { + "mesh": 0 + } + ], + "cameras": [ + { + "perspective": { + "aspectRatio": 1.5, + "yfov": 0.6605925559997559, + "zfar": 10000.0, + "znear": 1.0 + }, + "type": "perspective" + } + ], + "meshes": [ + { + "primitives": [ + { + "attributes": { + "NORMAL": 1, + "POSITION": 2, + "TEXCOORD_0": 3 + }, + "indices": 0, + "mode": 4, + "material": 0 + } + ], + "name": "LOD3spShape" + } + ], + "accessors": [ + { + "bufferView": 0, + "byteOffset": 0, + "componentType": 5123, + "count": 12636, + "max": [ + 2398 + ], + "min": [ + 0 + ], + "type": "SCALAR" + }, + { + "bufferView": 1, + "byteOffset": 0, + "componentType": 5126, + "count": 2399, + "max": [ + 0.9995989799499512, + 0.999580979347229, + 0.9984359741210938 + ], + "min": [ + -0.9990839958190918, + -1.0, + -0.9998319745063782 + ], + "type": "VEC3" + }, + { + "bufferView": 1, + "byteOffset": 28788, + "componentType": 5126, + "count": 2399, + "max": [ + 96.17990112304688, + 163.97000122070313, + 53.92519760131836 + ], + "min": [ + -69.29850006103516, + 9.929369926452637, + -61.32819747924805 + ], + "type": "VEC3" + }, + { + "bufferView": 2, + "byteOffset": 0, + "componentType": 5126, + "count": 2399, + "max": [ + 0.9833459854125976, + 0.9800369739532472 + ], + "min": [ + 0.026409000158309938, + 0.01996302604675293 + ], + "type": "VEC2" + } + ], + "materials": [ + { + "pbrMetallicRoughness": { + "baseColorTexture": { + "index": 0 + }, + "metallicFactor": 0.0 + }, + "emissiveFactor": [ + 0.0, + 0.0, + 0.0 + ], + "name": "blinn3-fx" + } + ], + "textures": [ + { + "sampler": 0, + "source": 0 + } + ], + "images": [ + { + "uri": "DuckCM.png" + } + ], + "samplers": [ + { + "magFilter": 9729, + "minFilter": 9986, + "wrapS": 10497, + "wrapT": 10497 + } + ], + "bufferViews": [ + { + "buffer": 0, + "byteOffset": 76768, + "byteLength": 25272, + "target": 34963 + }, + { + "buffer": 0, + "byteOffset": 0, + "byteLength": 57576, + "byteStride": 12, + "target": 34962 + }, + { + "buffer": 0, + "byteOffset": 57576, + "byteLength": 19192, + "byteStride": 8, + "target": 34962 + } + ], + "buffers": [ + { + "byteLength": 102040, + "uri": "Duck0.bin" + } + ] +} diff --git a/examples/Data/models/Duck/glTF/Duck0.bin b/examples/Data/models/Duck/glTF/Duck0.bin new file mode 100644 index 00000000..5f01f88a Binary files /dev/null and b/examples/Data/models/Duck/glTF/Duck0.bin differ diff --git a/examples/Data/models/Duck/glTF/DuckCM.png b/examples/Data/models/Duck/glTF/DuckCM.png new file mode 100644 index 00000000..9fa2dd4c Binary files /dev/null and b/examples/Data/models/Duck/glTF/DuckCM.png differ diff --git a/examples/index.html b/examples/index.html index b7888aee..3e3ae21c 100644 --- a/examples/index.html +++ b/examples/index.html @@ -124,6 +124,22 @@

NFT Examples

as marker. +
+ + nft with threejs and an animated model + +

Using NFT with three.js (and no webworker) and animated model for testing +

+
+ +
+ + nft with threejs and the Duck gltf model + +

Using NFT with three.js (and no webworker) and the Duck gltf model for testing +

+
+

Canvas debug examples

@@ -165,7 +181,7 @@

Wasm esamples

Video debug marker detection with Wasm -

Uses pre-recorded video (with Wasm). +

Uses pre-recorded video (with Wasm).

Not interactive. diff --git a/examples/js/third_party/three.js/GLTFLoader.js b/examples/js/third_party/three.js/GLTFLoader.js new file mode 100644 index 00000000..c071cec5 --- /dev/null +++ b/examples/js/third_party/three.js/GLTFLoader.js @@ -0,0 +1,3214 @@ +/** + * @author Rich Tibbett / https://github.com/richtr + * @author mrdoob / http://mrdoob.com/ + * @author Tony Parisi / http://www.tonyparisi.com/ + * @author Takahiro / https://github.com/takahirox + * @author Don McCurdy / https://www.donmccurdy.com + */ + +THREE.GLTFLoader = ( function () { + + function GLTFLoader( manager ) { + + this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager; + this.dracoLoader = null; + this.ddsLoader = null; + + } + + GLTFLoader.prototype = { + + constructor: GLTFLoader, + + crossOrigin: 'anonymous', + + load: function ( url, onLoad, onProgress, onError ) { + + var scope = this; + + var resourcePath; + + if ( this.resourcePath !== undefined ) { + + resourcePath = this.resourcePath; + + } else if ( this.path !== undefined ) { + + resourcePath = this.path; + + } else { + + resourcePath = THREE.LoaderUtils.extractUrlBase( url ); + + } + + // Tells the LoadingManager to track an extra item, which resolves after + // the model is fully loaded. This means the count of items loaded will + // be incorrect, but ensures manager.onLoad() does not fire early. + scope.manager.itemStart( url ); + + var _onError = function ( e ) { + + if ( onError ) { + + onError( e ); + + } else { + + console.error( e ); + + } + + scope.manager.itemError( url ); + scope.manager.itemEnd( url ); + + }; + + var loader = new THREE.FileLoader( scope.manager ); + + loader.setPath( this.path ); + loader.setResponseType( 'arraybuffer' ); + + if ( scope.crossOrigin === 'use-credentials' ) { + + loader.setWithCredentials( true ); + + } + + loader.load( url, function ( data ) { + + try { + + scope.parse( data, resourcePath, function ( gltf ) { + + onLoad( gltf ); + + scope.manager.itemEnd( url ); + + }, _onError ); + + } catch ( e ) { + + _onError( e ); + + } + + }, onProgress, _onError ); + + }, + + setCrossOrigin: function ( value ) { + + this.crossOrigin = value; + return this; + + }, + + setPath: function ( value ) { + + this.path = value; + return this; + + }, + + setResourcePath: function ( value ) { + + this.resourcePath = value; + return this; + + }, + + setDRACOLoader: function ( dracoLoader ) { + + this.dracoLoader = dracoLoader; + return this; + + }, + + setDDSLoader: function ( ddsLoader ) { + + this.ddsLoader = ddsLoader; + return this; + + }, + + parse: function ( data, path, onLoad, onError ) { + + var content; + var extensions = {}; + + if ( typeof data === 'string' ) { + + content = data; + + } else { + + var magic = THREE.LoaderUtils.decodeText( new Uint8Array( data, 0, 4 ) ); + + if ( magic === BINARY_EXTENSION_HEADER_MAGIC ) { + + try { + + extensions[ EXTENSIONS.KHR_BINARY_GLTF ] = new GLTFBinaryExtension( data ); + + } catch ( error ) { + + if ( onError ) onError( error ); + return; + + } + + content = extensions[ EXTENSIONS.KHR_BINARY_GLTF ].content; + + } else { + + content = THREE.LoaderUtils.decodeText( new Uint8Array( data ) ); + + } + + } + + var json = JSON.parse( content ); + + if ( json.asset === undefined || json.asset.version[ 0 ] < 2 ) { + + if ( onError ) onError( new Error( 'THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported. Use LegacyGLTFLoader instead.' ) ); + return; + + } + + if ( json.extensionsUsed ) { + + for ( var i = 0; i < json.extensionsUsed.length; ++ i ) { + + var extensionName = json.extensionsUsed[ i ]; + var extensionsRequired = json.extensionsRequired || []; + + switch ( extensionName ) { + + case EXTENSIONS.KHR_LIGHTS_PUNCTUAL: + extensions[ extensionName ] = new GLTFLightsExtension( json ); + break; + + case EXTENSIONS.KHR_MATERIALS_UNLIT: + extensions[ extensionName ] = new GLTFMaterialsUnlitExtension(); + break; + + case EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS: + extensions[ extensionName ] = new GLTFMaterialsPbrSpecularGlossinessExtension(); + break; + + case EXTENSIONS.KHR_DRACO_MESH_COMPRESSION: + extensions[ extensionName ] = new GLTFDracoMeshCompressionExtension( json, this.dracoLoader ); + break; + + case EXTENSIONS.MSFT_TEXTURE_DDS: + extensions[ EXTENSIONS.MSFT_TEXTURE_DDS ] = new GLTFTextureDDSExtension( this.ddsLoader ); + break; + + case EXTENSIONS.KHR_TEXTURE_TRANSFORM: + extensions[ EXTENSIONS.KHR_TEXTURE_TRANSFORM ] = new GLTFTextureTransformExtension(); + break; + + default: + + if ( extensionsRequired.indexOf( extensionName ) >= 0 ) { + + console.warn( 'THREE.GLTFLoader: Unknown extension "' + extensionName + '".' ); + + } + + } + + } + + } + + var parser = new GLTFParser( json, extensions, { + + path: path || this.resourcePath || '', + crossOrigin: this.crossOrigin, + manager: this.manager + + } ); + + parser.parse( onLoad, onError ); + + } + + }; + + /* GLTFREGISTRY */ + + function GLTFRegistry() { + + var objects = {}; + + return { + + get: function ( key ) { + + return objects[ key ]; + + }, + + add: function ( key, object ) { + + objects[ key ] = object; + + }, + + remove: function ( key ) { + + delete objects[ key ]; + + }, + + removeAll: function () { + + objects = {}; + + } + + }; + + } + + /*********************************/ + /********** EXTENSIONS ***********/ + /*********************************/ + + var EXTENSIONS = { + KHR_BINARY_GLTF: 'KHR_binary_glTF', + KHR_DRACO_MESH_COMPRESSION: 'KHR_draco_mesh_compression', + KHR_LIGHTS_PUNCTUAL: 'KHR_lights_punctual', + KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS: 'KHR_materials_pbrSpecularGlossiness', + KHR_MATERIALS_UNLIT: 'KHR_materials_unlit', + KHR_TEXTURE_TRANSFORM: 'KHR_texture_transform', + MSFT_TEXTURE_DDS: 'MSFT_texture_dds' + }; + + /** + * DDS Texture Extension + * + * Specification: + * https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/MSFT_texture_dds + * + */ + function GLTFTextureDDSExtension( ddsLoader ) { + + if ( ! ddsLoader ) { + + throw new Error( 'THREE.GLTFLoader: Attempting to load .dds texture without importing THREE.DDSLoader' ); + + } + + this.name = EXTENSIONS.MSFT_TEXTURE_DDS; + this.ddsLoader = ddsLoader; + + } + + /** + * Lights Extension + * + * Specification: PENDING + */ + function GLTFLightsExtension( json ) { + + this.name = EXTENSIONS.KHR_LIGHTS_PUNCTUAL; + + var extension = ( json.extensions && json.extensions[ EXTENSIONS.KHR_LIGHTS_PUNCTUAL ] ) || {}; + this.lightDefs = extension.lights || []; + + } + + GLTFLightsExtension.prototype.loadLight = function ( lightIndex ) { + + var lightDef = this.lightDefs[ lightIndex ]; + var lightNode; + + var color = new THREE.Color( 0xffffff ); + if ( lightDef.color !== undefined ) color.fromArray( lightDef.color ); + + var range = lightDef.range !== undefined ? lightDef.range : 0; + + switch ( lightDef.type ) { + + case 'directional': + lightNode = new THREE.DirectionalLight( color ); + lightNode.target.position.set( 0, 0, - 1 ); + lightNode.add( lightNode.target ); + break; + + case 'point': + lightNode = new THREE.PointLight( color ); + lightNode.distance = range; + break; + + case 'spot': + lightNode = new THREE.SpotLight( color ); + lightNode.distance = range; + // Handle spotlight properties. + lightDef.spot = lightDef.spot || {}; + lightDef.spot.innerConeAngle = lightDef.spot.innerConeAngle !== undefined ? lightDef.spot.innerConeAngle : 0; + lightDef.spot.outerConeAngle = lightDef.spot.outerConeAngle !== undefined ? lightDef.spot.outerConeAngle : Math.PI / 4.0; + lightNode.angle = lightDef.spot.outerConeAngle; + lightNode.penumbra = 1.0 - lightDef.spot.innerConeAngle / lightDef.spot.outerConeAngle; + lightNode.target.position.set( 0, 0, - 1 ); + lightNode.add( lightNode.target ); + break; + + default: + throw new Error( 'THREE.GLTFLoader: Unexpected light type, "' + lightDef.type + '".' ); + + } + + // Some lights (e.g. spot) default to a position other than the origin. Reset the position + // here, because node-level parsing will only override position if explicitly specified. + lightNode.position.set( 0, 0, 0 ); + + lightNode.decay = 2; + + if ( lightDef.intensity !== undefined ) lightNode.intensity = lightDef.intensity; + + lightNode.name = lightDef.name || ( 'light_' + lightIndex ); + + return Promise.resolve( lightNode ); + + }; + + /** + * Unlit Materials Extension (pending) + * + * PR: https://github.com/KhronosGroup/glTF/pull/1163 + */ + function GLTFMaterialsUnlitExtension() { + + this.name = EXTENSIONS.KHR_MATERIALS_UNLIT; + + } + + GLTFMaterialsUnlitExtension.prototype.getMaterialType = function () { + + return THREE.MeshBasicMaterial; + + }; + + GLTFMaterialsUnlitExtension.prototype.extendParams = function ( materialParams, materialDef, parser ) { + + var pending = []; + + materialParams.color = new THREE.Color( 1.0, 1.0, 1.0 ); + materialParams.opacity = 1.0; + + var metallicRoughness = materialDef.pbrMetallicRoughness; + + if ( metallicRoughness ) { + + if ( Array.isArray( metallicRoughness.baseColorFactor ) ) { + + var array = metallicRoughness.baseColorFactor; + + materialParams.color.fromArray( array ); + materialParams.opacity = array[ 3 ]; + + } + + if ( metallicRoughness.baseColorTexture !== undefined ) { + + pending.push( parser.assignTexture( materialParams, 'map', metallicRoughness.baseColorTexture ) ); + + } + + } + + return Promise.all( pending ); + + }; + + /* BINARY EXTENSION */ + var BINARY_EXTENSION_HEADER_MAGIC = 'glTF'; + var BINARY_EXTENSION_HEADER_LENGTH = 12; + var BINARY_EXTENSION_CHUNK_TYPES = { JSON: 0x4E4F534A, BIN: 0x004E4942 }; + + function GLTFBinaryExtension( data ) { + + this.name = EXTENSIONS.KHR_BINARY_GLTF; + this.content = null; + this.body = null; + + var headerView = new DataView( data, 0, BINARY_EXTENSION_HEADER_LENGTH ); + + this.header = { + magic: THREE.LoaderUtils.decodeText( new Uint8Array( data.slice( 0, 4 ) ) ), + version: headerView.getUint32( 4, true ), + length: headerView.getUint32( 8, true ) + }; + + if ( this.header.magic !== BINARY_EXTENSION_HEADER_MAGIC ) { + + throw new Error( 'THREE.GLTFLoader: Unsupported glTF-Binary header.' ); + + } else if ( this.header.version < 2.0 ) { + + throw new Error( 'THREE.GLTFLoader: Legacy binary file detected. Use LegacyGLTFLoader instead.' ); + + } + + var chunkView = new DataView( data, BINARY_EXTENSION_HEADER_LENGTH ); + var chunkIndex = 0; + + while ( chunkIndex < chunkView.byteLength ) { + + var chunkLength = chunkView.getUint32( chunkIndex, true ); + chunkIndex += 4; + + var chunkType = chunkView.getUint32( chunkIndex, true ); + chunkIndex += 4; + + if ( chunkType === BINARY_EXTENSION_CHUNK_TYPES.JSON ) { + + var contentArray = new Uint8Array( data, BINARY_EXTENSION_HEADER_LENGTH + chunkIndex, chunkLength ); + this.content = THREE.LoaderUtils.decodeText( contentArray ); + + } else if ( chunkType === BINARY_EXTENSION_CHUNK_TYPES.BIN ) { + + var byteOffset = BINARY_EXTENSION_HEADER_LENGTH + chunkIndex; + this.body = data.slice( byteOffset, byteOffset + chunkLength ); + + } + + // Clients must ignore chunks with unknown types. + + chunkIndex += chunkLength; + + } + + if ( this.content === null ) { + + throw new Error( 'THREE.GLTFLoader: JSON content not found.' ); + + } + + } + + /** + * DRACO Mesh Compression Extension + * + * Specification: https://github.com/KhronosGroup/glTF/pull/874 + */ + function GLTFDracoMeshCompressionExtension( json, dracoLoader ) { + + if ( ! dracoLoader ) { + + throw new Error( 'THREE.GLTFLoader: No DRACOLoader instance provided.' ); + + } + + this.name = EXTENSIONS.KHR_DRACO_MESH_COMPRESSION; + this.json = json; + this.dracoLoader = dracoLoader; + + } + + GLTFDracoMeshCompressionExtension.prototype.decodePrimitive = function ( primitive, parser ) { + + var json = this.json; + var dracoLoader = this.dracoLoader; + var bufferViewIndex = primitive.extensions[ this.name ].bufferView; + var gltfAttributeMap = primitive.extensions[ this.name ].attributes; + var threeAttributeMap = {}; + var attributeNormalizedMap = {}; + var attributeTypeMap = {}; + + for ( var attributeName in gltfAttributeMap ) { + + var threeAttributeName = ATTRIBUTES[ attributeName ] || attributeName.toLowerCase(); + + threeAttributeMap[ threeAttributeName ] = gltfAttributeMap[ attributeName ]; + + } + + for ( attributeName in primitive.attributes ) { + + var threeAttributeName = ATTRIBUTES[ attributeName ] || attributeName.toLowerCase(); + + if ( gltfAttributeMap[ attributeName ] !== undefined ) { + + var accessorDef = json.accessors[ primitive.attributes[ attributeName ] ]; + var componentType = WEBGL_COMPONENT_TYPES[ accessorDef.componentType ]; + + attributeTypeMap[ threeAttributeName ] = componentType; + attributeNormalizedMap[ threeAttributeName ] = accessorDef.normalized === true; + + } + + } + + return parser.getDependency( 'bufferView', bufferViewIndex ).then( function ( bufferView ) { + + return new Promise( function ( resolve ) { + + dracoLoader.decodeDracoFile( bufferView, function ( geometry ) { + + for ( var attributeName in geometry.attributes ) { + + var attribute = geometry.attributes[ attributeName ]; + var normalized = attributeNormalizedMap[ attributeName ]; + + if ( normalized !== undefined ) attribute.normalized = normalized; + + } + + resolve( geometry ); + + }, threeAttributeMap, attributeTypeMap ); + + } ); + + } ); + + }; + + /** + * Texture Transform Extension + * + * Specification: + */ + function GLTFTextureTransformExtension() { + + this.name = EXTENSIONS.KHR_TEXTURE_TRANSFORM; + + } + + GLTFTextureTransformExtension.prototype.extendTexture = function ( texture, transform ) { + + texture = texture.clone(); + + if ( transform.offset !== undefined ) { + + texture.offset.fromArray( transform.offset ); + + } + + if ( transform.rotation !== undefined ) { + + texture.rotation = transform.rotation; + + } + + if ( transform.scale !== undefined ) { + + texture.repeat.fromArray( transform.scale ); + + } + + if ( transform.texCoord !== undefined ) { + + console.warn( 'THREE.GLTFLoader: Custom UV sets in "' + this.name + '" extension not yet supported.' ); + + } + + texture.needsUpdate = true; + + return texture; + + }; + + /** + * Specular-Glossiness Extension + * + * Specification: https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_pbrSpecularGlossiness + */ + function GLTFMaterialsPbrSpecularGlossinessExtension() { + + return { + + name: EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS, + + specularGlossinessParams: [ + 'color', + 'map', + 'lightMap', + 'lightMapIntensity', + 'aoMap', + 'aoMapIntensity', + 'emissive', + 'emissiveIntensity', + 'emissiveMap', + 'bumpMap', + 'bumpScale', + 'normalMap', + 'displacementMap', + 'displacementScale', + 'displacementBias', + 'specularMap', + 'specular', + 'glossinessMap', + 'glossiness', + 'alphaMap', + 'envMap', + 'envMapIntensity', + 'refractionRatio', + ], + + getMaterialType: function () { + + return THREE.ShaderMaterial; + + }, + + extendParams: function ( materialParams, materialDef, parser ) { + + var pbrSpecularGlossiness = materialDef.extensions[ this.name ]; + + var shader = THREE.ShaderLib[ 'standard' ]; + + var uniforms = THREE.UniformsUtils.clone( shader.uniforms ); + + var specularMapParsFragmentChunk = [ + '#ifdef USE_SPECULARMAP', + ' uniform sampler2D specularMap;', + '#endif' + ].join( '\n' ); + + var glossinessMapParsFragmentChunk = [ + '#ifdef USE_GLOSSINESSMAP', + ' uniform sampler2D glossinessMap;', + '#endif' + ].join( '\n' ); + + var specularMapFragmentChunk = [ + 'vec3 specularFactor = specular;', + '#ifdef USE_SPECULARMAP', + ' vec4 texelSpecular = texture2D( specularMap, vUv );', + ' texelSpecular = sRGBToLinear( texelSpecular );', + ' // reads channel RGB, compatible with a glTF Specular-Glossiness (RGBA) texture', + ' specularFactor *= texelSpecular.rgb;', + '#endif' + ].join( '\n' ); + + var glossinessMapFragmentChunk = [ + 'float glossinessFactor = glossiness;', + '#ifdef USE_GLOSSINESSMAP', + ' vec4 texelGlossiness = texture2D( glossinessMap, vUv );', + ' // reads channel A, compatible with a glTF Specular-Glossiness (RGBA) texture', + ' glossinessFactor *= texelGlossiness.a;', + '#endif' + ].join( '\n' ); + + var lightPhysicalFragmentChunk = [ + 'PhysicalMaterial material;', + 'material.diffuseColor = diffuseColor.rgb;', + 'material.specularRoughness = clamp( 1.0 - glossinessFactor, 0.04, 1.0 );', + 'material.specularColor = specularFactor.rgb;', + ].join( '\n' ); + + var fragmentShader = shader.fragmentShader + .replace( 'uniform float roughness;', 'uniform vec3 specular;' ) + .replace( 'uniform float metalness;', 'uniform float glossiness;' ) + .replace( '#include ', specularMapParsFragmentChunk ) + .replace( '#include ', glossinessMapParsFragmentChunk ) + .replace( '#include ', specularMapFragmentChunk ) + .replace( '#include ', glossinessMapFragmentChunk ) + .replace( '#include ', lightPhysicalFragmentChunk ); + + delete uniforms.roughness; + delete uniforms.metalness; + delete uniforms.roughnessMap; + delete uniforms.metalnessMap; + + uniforms.specular = { value: new THREE.Color().setHex( 0x111111 ) }; + uniforms.glossiness = { value: 0.5 }; + uniforms.specularMap = { value: null }; + uniforms.glossinessMap = { value: null }; + + materialParams.vertexShader = shader.vertexShader; + materialParams.fragmentShader = fragmentShader; + materialParams.uniforms = uniforms; + materialParams.defines = { 'STANDARD': '' } + + materialParams.color = new THREE.Color( 1.0, 1.0, 1.0 ); + materialParams.opacity = 1.0; + + var pending = []; + + if ( Array.isArray( pbrSpecularGlossiness.diffuseFactor ) ) { + + var array = pbrSpecularGlossiness.diffuseFactor; + + materialParams.color.fromArray( array ); + materialParams.opacity = array[ 3 ]; + + } + + if ( pbrSpecularGlossiness.diffuseTexture !== undefined ) { + + pending.push( parser.assignTexture( materialParams, 'map', pbrSpecularGlossiness.diffuseTexture ) ); + + } + + materialParams.emissive = new THREE.Color( 0.0, 0.0, 0.0 ); + materialParams.glossiness = pbrSpecularGlossiness.glossinessFactor !== undefined ? pbrSpecularGlossiness.glossinessFactor : 1.0; + materialParams.specular = new THREE.Color( 1.0, 1.0, 1.0 ); + + if ( Array.isArray( pbrSpecularGlossiness.specularFactor ) ) { + + materialParams.specular.fromArray( pbrSpecularGlossiness.specularFactor ); + + } + + if ( pbrSpecularGlossiness.specularGlossinessTexture !== undefined ) { + + var specGlossMapDef = pbrSpecularGlossiness.specularGlossinessTexture; + pending.push( parser.assignTexture( materialParams, 'glossinessMap', specGlossMapDef ) ); + pending.push( parser.assignTexture( materialParams, 'specularMap', specGlossMapDef ) ); + + } + + return Promise.all( pending ); + + }, + + createMaterial: function ( params ) { + + // setup material properties based on MeshStandardMaterial for Specular-Glossiness + + var material = new THREE.ShaderMaterial( { + defines: params.defines, + vertexShader: params.vertexShader, + fragmentShader: params.fragmentShader, + uniforms: params.uniforms, + fog: true, + lights: true, + opacity: params.opacity, + transparent: params.transparent + } ); + + material.isGLTFSpecularGlossinessMaterial = true; + + material.color = params.color; + + material.map = params.map === undefined ? null : params.map; + + material.lightMap = null; + material.lightMapIntensity = 1.0; + + material.aoMap = params.aoMap === undefined ? null : params.aoMap; + material.aoMapIntensity = 1.0; + + material.emissive = params.emissive; + material.emissiveIntensity = 1.0; + material.emissiveMap = params.emissiveMap === undefined ? null : params.emissiveMap; + + material.bumpMap = params.bumpMap === undefined ? null : params.bumpMap; + material.bumpScale = 1; + + material.normalMap = params.normalMap === undefined ? null : params.normalMap; + + if ( params.normalScale ) material.normalScale = params.normalScale; + + material.displacementMap = null; + material.displacementScale = 1; + material.displacementBias = 0; + + material.specularMap = params.specularMap === undefined ? null : params.specularMap; + material.specular = params.specular; + + material.glossinessMap = params.glossinessMap === undefined ? null : params.glossinessMap; + material.glossiness = params.glossiness; + + material.alphaMap = null; + + material.envMap = params.envMap === undefined ? null : params.envMap; + material.envMapIntensity = 1.0; + + material.refractionRatio = 0.98; + + material.extensions.derivatives = true; + + return material; + + }, + + /** + * Clones a GLTFSpecularGlossinessMaterial instance. The ShaderMaterial.copy() method can + * copy only properties it knows about or inherits, and misses many properties that would + * normally be defined by MeshStandardMaterial. + * + * This method allows GLTFSpecularGlossinessMaterials to be cloned in the process of + * loading a glTF model, but cloning later (e.g. by the user) would require these changes + * AND also updating `.onBeforeRender` on the parent mesh. + * + * @param {THREE.ShaderMaterial} source + * @return {THREE.ShaderMaterial} + */ + cloneMaterial: function ( source ) { + + var target = source.clone(); + + target.isGLTFSpecularGlossinessMaterial = true; + + var params = this.specularGlossinessParams; + + for ( var i = 0, il = params.length; i < il; i ++ ) { + + var value = source[ params[ i ] ]; + target[ params[ i ] ] = ( value && value.isColor ) ? value.clone() : value; + + } + + return target; + + }, + + // Here's based on refreshUniformsCommon() and refreshUniformsStandard() in WebGLRenderer. + refreshUniforms: function ( renderer, scene, camera, geometry, material ) { + + if ( material.isGLTFSpecularGlossinessMaterial !== true ) { + + return; + + } + + var uniforms = material.uniforms; + var defines = material.defines; + + uniforms.opacity.value = material.opacity; + + uniforms.diffuse.value.copy( material.color ); + uniforms.emissive.value.copy( material.emissive ).multiplyScalar( material.emissiveIntensity ); + + uniforms.map.value = material.map; + uniforms.specularMap.value = material.specularMap; + uniforms.alphaMap.value = material.alphaMap; + + uniforms.lightMap.value = material.lightMap; + uniforms.lightMapIntensity.value = material.lightMapIntensity; + + uniforms.aoMap.value = material.aoMap; + uniforms.aoMapIntensity.value = material.aoMapIntensity; + + // uv repeat and offset setting priorities + // 1. color map + // 2. specular map + // 3. normal map + // 4. bump map + // 5. alpha map + // 6. emissive map + + var uvScaleMap; + + if ( material.map ) { + + uvScaleMap = material.map; + + } else if ( material.specularMap ) { + + uvScaleMap = material.specularMap; + + } else if ( material.displacementMap ) { + + uvScaleMap = material.displacementMap; + + } else if ( material.normalMap ) { + + uvScaleMap = material.normalMap; + + } else if ( material.bumpMap ) { + + uvScaleMap = material.bumpMap; + + } else if ( material.glossinessMap ) { + + uvScaleMap = material.glossinessMap; + + } else if ( material.alphaMap ) { + + uvScaleMap = material.alphaMap; + + } else if ( material.emissiveMap ) { + + uvScaleMap = material.emissiveMap; + + } + + if ( uvScaleMap !== undefined ) { + + // backwards compatibility + if ( uvScaleMap.isWebGLRenderTarget ) { + + uvScaleMap = uvScaleMap.texture; + + } + + if ( uvScaleMap.matrixAutoUpdate === true ) { + + uvScaleMap.updateMatrix(); + + } + + uniforms.uvTransform.value.copy( uvScaleMap.matrix ); + + } + + if ( material.envMap ) { + + uniforms.envMap.value = material.envMap; + uniforms.envMapIntensity.value = material.envMapIntensity; + + // don't flip CubeTexture envMaps, flip everything else: + // WebGLRenderTargetCube will be flipped for backwards compatibility + // WebGLRenderTargetCube.texture will be flipped because it's a Texture and NOT a CubeTexture + // this check must be handled differently, or removed entirely, if WebGLRenderTargetCube uses a CubeTexture in the future + uniforms.flipEnvMap.value = material.envMap.isCubeTexture ? - 1 : 1; + + uniforms.reflectivity.value = material.reflectivity; + uniforms.refractionRatio.value = material.refractionRatio; + + uniforms.maxMipLevel.value = renderer.properties.get( material.envMap ).__maxMipLevel; + + } + + uniforms.specular.value.copy( material.specular ); + uniforms.glossiness.value = material.glossiness; + + uniforms.glossinessMap.value = material.glossinessMap; + + uniforms.emissiveMap.value = material.emissiveMap; + uniforms.bumpMap.value = material.bumpMap; + uniforms.normalMap.value = material.normalMap; + + uniforms.displacementMap.value = material.displacementMap; + uniforms.displacementScale.value = material.displacementScale; + uniforms.displacementBias.value = material.displacementBias; + + if ( uniforms.glossinessMap.value !== null && defines.USE_GLOSSINESSMAP === undefined ) { + + defines.USE_GLOSSINESSMAP = ''; + // set USE_ROUGHNESSMAP to enable vUv + defines.USE_ROUGHNESSMAP = ''; + + } + + if ( uniforms.glossinessMap.value === null && defines.USE_GLOSSINESSMAP !== undefined ) { + + delete defines.USE_GLOSSINESSMAP; + delete defines.USE_ROUGHNESSMAP; + + } + + } + + }; + + } + + /*********************************/ + /********** INTERPOLATION ********/ + /*********************************/ + + // Spline Interpolation + // Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#appendix-c-spline-interpolation + function GLTFCubicSplineInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) { + + THREE.Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer ); + + } + + GLTFCubicSplineInterpolant.prototype = Object.create( THREE.Interpolant.prototype ); + GLTFCubicSplineInterpolant.prototype.constructor = GLTFCubicSplineInterpolant; + + GLTFCubicSplineInterpolant.prototype.copySampleValue_ = function ( index ) { + + // Copies a sample value to the result buffer. See description of glTF + // CUBICSPLINE values layout in interpolate_() function below. + + var result = this.resultBuffer, + values = this.sampleValues, + valueSize = this.valueSize, + offset = index * valueSize * 3 + valueSize; + + for ( var i = 0; i !== valueSize; i ++ ) { + + result[ i ] = values[ offset + i ]; + + } + + return result; + + }; + + GLTFCubicSplineInterpolant.prototype.beforeStart_ = GLTFCubicSplineInterpolant.prototype.copySampleValue_; + + GLTFCubicSplineInterpolant.prototype.afterEnd_ = GLTFCubicSplineInterpolant.prototype.copySampleValue_; + + GLTFCubicSplineInterpolant.prototype.interpolate_ = function ( i1, t0, t, t1 ) { + + var result = this.resultBuffer; + var values = this.sampleValues; + var stride = this.valueSize; + + var stride2 = stride * 2; + var stride3 = stride * 3; + + var td = t1 - t0; + + var p = ( t - t0 ) / td; + var pp = p * p; + var ppp = pp * p; + + var offset1 = i1 * stride3; + var offset0 = offset1 - stride3; + + var s2 = - 2 * ppp + 3 * pp; + var s3 = ppp - pp; + var s0 = 1 - s2; + var s1 = s3 - pp + p; + + // Layout of keyframe output values for CUBICSPLINE animations: + // [ inTangent_1, splineVertex_1, outTangent_1, inTangent_2, splineVertex_2, ... ] + for ( var i = 0; i !== stride; i ++ ) { + + var p0 = values[ offset0 + i + stride ]; // splineVertex_k + var m0 = values[ offset0 + i + stride2 ] * td; // outTangent_k * (t_k+1 - t_k) + var p1 = values[ offset1 + i + stride ]; // splineVertex_k+1 + var m1 = values[ offset1 + i ] * td; // inTangent_k+1 * (t_k+1 - t_k) + + result[ i ] = s0 * p0 + s1 * m0 + s2 * p1 + s3 * m1; + + } + + return result; + + }; + + /*********************************/ + /********** INTERNALS ************/ + /*********************************/ + + /* CONSTANTS */ + + var WEBGL_CONSTANTS = { + FLOAT: 5126, + //FLOAT_MAT2: 35674, + FLOAT_MAT3: 35675, + FLOAT_MAT4: 35676, + FLOAT_VEC2: 35664, + FLOAT_VEC3: 35665, + FLOAT_VEC4: 35666, + LINEAR: 9729, + REPEAT: 10497, + SAMPLER_2D: 35678, + POINTS: 0, + LINES: 1, + LINE_LOOP: 2, + LINE_STRIP: 3, + TRIANGLES: 4, + TRIANGLE_STRIP: 5, + TRIANGLE_FAN: 6, + UNSIGNED_BYTE: 5121, + UNSIGNED_SHORT: 5123 + }; + + var WEBGL_COMPONENT_TYPES = { + 5120: Int8Array, + 5121: Uint8Array, + 5122: Int16Array, + 5123: Uint16Array, + 5125: Uint32Array, + 5126: Float32Array + }; + + var WEBGL_FILTERS = { + 9728: THREE.NearestFilter, + 9729: THREE.LinearFilter, + 9984: THREE.NearestMipmapNearestFilter, + 9985: THREE.LinearMipmapNearestFilter, + 9986: THREE.NearestMipmapLinearFilter, + 9987: THREE.LinearMipmapLinearFilter + }; + + var WEBGL_WRAPPINGS = { + 33071: THREE.ClampToEdgeWrapping, + 33648: THREE.MirroredRepeatWrapping, + 10497: THREE.RepeatWrapping + }; + + var WEBGL_TYPE_SIZES = { + 'SCALAR': 1, + 'VEC2': 2, + 'VEC3': 3, + 'VEC4': 4, + 'MAT2': 4, + 'MAT3': 9, + 'MAT4': 16 + }; + + var ATTRIBUTES = { + POSITION: 'position', + NORMAL: 'normal', + TANGENT: 'tangent', + TEXCOORD_0: 'uv', + TEXCOORD_1: 'uv2', + COLOR_0: 'color', + WEIGHTS_0: 'skinWeight', + JOINTS_0: 'skinIndex', + }; + + var PATH_PROPERTIES = { + scale: 'scale', + translation: 'position', + rotation: 'quaternion', + weights: 'morphTargetInfluences' + }; + + var INTERPOLATION = { + CUBICSPLINE: undefined, // We use a custom interpolant (GLTFCubicSplineInterpolation) for CUBICSPLINE tracks. Each + // keyframe track will be initialized with a default interpolation type, then modified. + LINEAR: THREE.InterpolateLinear, + STEP: THREE.InterpolateDiscrete + }; + + var ALPHA_MODES = { + OPAQUE: 'OPAQUE', + MASK: 'MASK', + BLEND: 'BLEND' + }; + + var MIME_TYPE_FORMATS = { + 'image/png': THREE.RGBAFormat, + 'image/jpeg': THREE.RGBFormat + }; + + /* UTILITY FUNCTIONS */ + + function resolveURL( url, path ) { + + // Invalid URL + if ( typeof url !== 'string' || url === '' ) return ''; + + // Host Relative URL + if ( /^https?:\/\//i.test( path ) && /^\//.test( url ) ) { + + path = path.replace( /(^https?:\/\/[^\/]+).*/i , '$1' ); + + } + + // Absolute URL http://,https://,// + if ( /^(https?:)?\/\//i.test( url ) ) return url; + + // Data URI + if ( /^data:.*,.*$/i.test( url ) ) return url; + + // Blob URL + if ( /^blob:.*$/i.test( url ) ) return url; + + // Relative URL + return path + url; + + } + + var defaultMaterial; + + /** + * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#default-material + */ + function createDefaultMaterial() { + + defaultMaterial = defaultMaterial || new THREE.MeshStandardMaterial( { + color: 0xFFFFFF, + emissive: 0x000000, + metalness: 1, + roughness: 1, + transparent: false, + depthTest: true, + side: THREE.FrontSide + } ); + + return defaultMaterial; + + } + + function addUnknownExtensionsToUserData( knownExtensions, object, objectDef ) { + + // Add unknown glTF extensions to an object's userData. + + for ( var name in objectDef.extensions ) { + + if ( knownExtensions[ name ] === undefined ) { + + object.userData.gltfExtensions = object.userData.gltfExtensions || {}; + object.userData.gltfExtensions[ name ] = objectDef.extensions[ name ]; + + } + + } + + } + + /** + * @param {THREE.Object3D|THREE.Material|THREE.BufferGeometry} object + * @param {GLTF.definition} gltfDef + */ + function assignExtrasToUserData( object, gltfDef ) { + + if ( gltfDef.extras !== undefined ) { + + if ( typeof gltfDef.extras === 'object' ) { + + Object.assign( object.userData, gltfDef.extras ); + + } else { + + console.warn( 'THREE.GLTFLoader: Ignoring primitive type .extras, ' + gltfDef.extras ); + + } + + } + + } + + /** + * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#morph-targets + * + * @param {THREE.BufferGeometry} geometry + * @param {Array} targets + * @param {GLTFParser} parser + * @return {Promise} + */ + function addMorphTargets( geometry, targets, parser ) { + + var hasMorphPosition = false; + var hasMorphNormal = false; + + for ( var i = 0, il = targets.length; i < il; i ++ ) { + + var target = targets[ i ]; + + if ( target.POSITION !== undefined ) hasMorphPosition = true; + if ( target.NORMAL !== undefined ) hasMorphNormal = true; + + if ( hasMorphPosition && hasMorphNormal ) break; + + } + + if ( ! hasMorphPosition && ! hasMorphNormal ) return Promise.resolve( geometry ); + + var pendingPositionAccessors = []; + var pendingNormalAccessors = []; + + for ( var i = 0, il = targets.length; i < il; i ++ ) { + + var target = targets[ i ]; + + if ( hasMorphPosition ) { + + var pendingAccessor = target.POSITION !== undefined + ? parser.getDependency( 'accessor', target.POSITION ) + : geometry.attributes.position; + + pendingPositionAccessors.push( pendingAccessor ); + + } + + if ( hasMorphNormal ) { + + var pendingAccessor = target.NORMAL !== undefined + ? parser.getDependency( 'accessor', target.NORMAL ) + : geometry.attributes.normal; + + pendingNormalAccessors.push( pendingAccessor ); + + } + + } + + return Promise.all( [ + Promise.all( pendingPositionAccessors ), + Promise.all( pendingNormalAccessors ) + ] ).then( function ( accessors ) { + + var morphPositions = accessors[ 0 ]; + var morphNormals = accessors[ 1 ]; + + // Clone morph target accessors before modifying them. + + for ( var i = 0, il = morphPositions.length; i < il; i ++ ) { + + if ( geometry.attributes.position === morphPositions[ i ] ) continue; + + morphPositions[ i ] = cloneBufferAttribute( morphPositions[ i ] ); + + } + + for ( var i = 0, il = morphNormals.length; i < il; i ++ ) { + + if ( geometry.attributes.normal === morphNormals[ i ] ) continue; + + morphNormals[ i ] = cloneBufferAttribute( morphNormals[ i ] ); + + } + + for ( var i = 0, il = targets.length; i < il; i ++ ) { + + var target = targets[ i ]; + var attributeName = 'morphTarget' + i; + + if ( hasMorphPosition ) { + + // Three.js morph position is absolute value. The formula is + // basePosition + // + weight0 * ( morphPosition0 - basePosition ) + // + weight1 * ( morphPosition1 - basePosition ) + // ... + // while the glTF one is relative + // basePosition + // + weight0 * glTFmorphPosition0 + // + weight1 * glTFmorphPosition1 + // ... + // then we need to convert from relative to absolute here. + + if ( target.POSITION !== undefined ) { + + var positionAttribute = morphPositions[ i ]; + positionAttribute.name = attributeName; + + var position = geometry.attributes.position; + + for ( var j = 0, jl = positionAttribute.count; j < jl; j ++ ) { + + positionAttribute.setXYZ( + j, + positionAttribute.getX( j ) + position.getX( j ), + positionAttribute.getY( j ) + position.getY( j ), + positionAttribute.getZ( j ) + position.getZ( j ) + ); + + } + + } + + } + + if ( hasMorphNormal ) { + + // see target.POSITION's comment + + if ( target.NORMAL !== undefined ) { + + var normalAttribute = morphNormals[ i ]; + normalAttribute.name = attributeName; + + var normal = geometry.attributes.normal; + + for ( var j = 0, jl = normalAttribute.count; j < jl; j ++ ) { + + normalAttribute.setXYZ( + j, + normalAttribute.getX( j ) + normal.getX( j ), + normalAttribute.getY( j ) + normal.getY( j ), + normalAttribute.getZ( j ) + normal.getZ( j ) + ); + + } + + } + + } + + } + + if ( hasMorphPosition ) geometry.morphAttributes.position = morphPositions; + if ( hasMorphNormal ) geometry.morphAttributes.normal = morphNormals; + + return geometry; + + } ); + + } + + /** + * @param {THREE.Mesh} mesh + * @param {GLTF.Mesh} meshDef + */ + function updateMorphTargets( mesh, meshDef ) { + + mesh.updateMorphTargets(); + + if ( meshDef.weights !== undefined ) { + + for ( var i = 0, il = meshDef.weights.length; i < il; i ++ ) { + + mesh.morphTargetInfluences[ i ] = meshDef.weights[ i ]; + + } + + } + + // .extras has user-defined data, so check that .extras.targetNames is an array. + if ( meshDef.extras && Array.isArray( meshDef.extras.targetNames ) ) { + + var targetNames = meshDef.extras.targetNames; + + if ( mesh.morphTargetInfluences.length === targetNames.length ) { + + mesh.morphTargetDictionary = {}; + + for ( var i = 0, il = targetNames.length; i < il; i ++ ) { + + mesh.morphTargetDictionary[ targetNames[ i ] ] = i; + + } + + } else { + + console.warn( 'THREE.GLTFLoader: Invalid extras.targetNames length. Ignoring names.' ); + + } + + } + + } + + function createPrimitiveKey( primitiveDef ) { + + var dracoExtension = primitiveDef.extensions && primitiveDef.extensions[ EXTENSIONS.KHR_DRACO_MESH_COMPRESSION ]; + var geometryKey; + + if ( dracoExtension ) { + + geometryKey = 'draco:' + dracoExtension.bufferView + + ':' + dracoExtension.indices + + ':' + createAttributesKey( dracoExtension.attributes ); + + } else { + + geometryKey = primitiveDef.indices + ':' + createAttributesKey( primitiveDef.attributes ) + ':' + primitiveDef.mode; + + } + + return geometryKey; + + } + + function createAttributesKey( attributes ) { + + var attributesKey = ''; + + var keys = Object.keys( attributes ).sort(); + + for ( var i = 0, il = keys.length; i < il; i ++ ) { + + attributesKey += keys[ i ] + ':' + attributes[ keys[ i ] ] + ';'; + + } + + return attributesKey; + + } + + function cloneBufferAttribute( attribute ) { + + if ( attribute.isInterleavedBufferAttribute ) { + + var count = attribute.count; + var itemSize = attribute.itemSize; + var array = attribute.array.slice( 0, count * itemSize ); + + for ( var i = 0, j = 0; i < count; ++ i ) { + + array[ j ++ ] = attribute.getX( i ); + if ( itemSize >= 2 ) array[ j ++ ] = attribute.getY( i ); + if ( itemSize >= 3 ) array[ j ++ ] = attribute.getZ( i ); + if ( itemSize >= 4 ) array[ j ++ ] = attribute.getW( i ); + + } + + return new THREE.BufferAttribute( array, itemSize, attribute.normalized ); + + } + + return attribute.clone(); + + } + + /* GLTF PARSER */ + + function GLTFParser( json, extensions, options ) { + + this.json = json || {}; + this.extensions = extensions || {}; + this.options = options || {}; + + // loader object cache + this.cache = new GLTFRegistry(); + + // BufferGeometry caching + this.primitiveCache = {}; + + this.textureLoader = new THREE.TextureLoader( this.options.manager ); + this.textureLoader.setCrossOrigin( this.options.crossOrigin ); + + this.fileLoader = new THREE.FileLoader( this.options.manager ); + this.fileLoader.setResponseType( 'arraybuffer' ); + + if ( this.options.crossOrigin === 'use-credentials' ) { + + this.fileLoader.setWithCredentials( true ); + + } + + } + + GLTFParser.prototype.parse = function ( onLoad, onError ) { + + var parser = this; + var json = this.json; + var extensions = this.extensions; + + // Clear the loader cache + this.cache.removeAll(); + + // Mark the special nodes/meshes in json for efficient parse + this.markDefs(); + + Promise.all( [ + + this.getDependencies( 'scene' ), + this.getDependencies( 'animation' ), + this.getDependencies( 'camera' ), + + ] ).then( function ( dependencies ) { + + var result = { + scene: dependencies[ 0 ][ json.scene || 0 ], + scenes: dependencies[ 0 ], + animations: dependencies[ 1 ], + cameras: dependencies[ 2 ], + asset: json.asset, + parser: parser, + userData: {} + }; + + addUnknownExtensionsToUserData( extensions, result, json ); + + assignExtrasToUserData( result, json ); + + onLoad( result ); + + } ).catch( onError ); + + }; + + /** + * Marks the special nodes/meshes in json for efficient parse. + */ + GLTFParser.prototype.markDefs = function () { + + var nodeDefs = this.json.nodes || []; + var skinDefs = this.json.skins || []; + var meshDefs = this.json.meshes || []; + + var meshReferences = {}; + var meshUses = {}; + + // Nothing in the node definition indicates whether it is a Bone or an + // Object3D. Use the skins' joint references to mark bones. + for ( var skinIndex = 0, skinLength = skinDefs.length; skinIndex < skinLength; skinIndex ++ ) { + + var joints = skinDefs[ skinIndex ].joints; + + for ( var i = 0, il = joints.length; i < il; i ++ ) { + + nodeDefs[ joints[ i ] ].isBone = true; + + } + + } + + // Meshes can (and should) be reused by multiple nodes in a glTF asset. To + // avoid having more than one THREE.Mesh with the same name, count + // references and rename instances below. + // + // Example: CesiumMilkTruck sample model reuses "Wheel" meshes. + for ( var nodeIndex = 0, nodeLength = nodeDefs.length; nodeIndex < nodeLength; nodeIndex ++ ) { + + var nodeDef = nodeDefs[ nodeIndex ]; + + if ( nodeDef.mesh !== undefined ) { + + if ( meshReferences[ nodeDef.mesh ] === undefined ) { + + meshReferences[ nodeDef.mesh ] = meshUses[ nodeDef.mesh ] = 0; + + } + + meshReferences[ nodeDef.mesh ] ++; + + // Nothing in the mesh definition indicates whether it is + // a SkinnedMesh or Mesh. Use the node's mesh reference + // to mark SkinnedMesh if node has skin. + if ( nodeDef.skin !== undefined ) { + + meshDefs[ nodeDef.mesh ].isSkinnedMesh = true; + + } + + } + + } + + this.json.meshReferences = meshReferences; + this.json.meshUses = meshUses; + + }; + + /** + * Requests the specified dependency asynchronously, with caching. + * @param {string} type + * @param {number} index + * @return {Promise} + */ + GLTFParser.prototype.getDependency = function ( type, index ) { + + var cacheKey = type + ':' + index; + var dependency = this.cache.get( cacheKey ); + + if ( ! dependency ) { + + switch ( type ) { + + case 'scene': + dependency = this.loadScene( index ); + break; + + case 'node': + dependency = this.loadNode( index ); + break; + + case 'mesh': + dependency = this.loadMesh( index ); + break; + + case 'accessor': + dependency = this.loadAccessor( index ); + break; + + case 'bufferView': + dependency = this.loadBufferView( index ); + break; + + case 'buffer': + dependency = this.loadBuffer( index ); + break; + + case 'material': + dependency = this.loadMaterial( index ); + break; + + case 'texture': + dependency = this.loadTexture( index ); + break; + + case 'skin': + dependency = this.loadSkin( index ); + break; + + case 'animation': + dependency = this.loadAnimation( index ); + break; + + case 'camera': + dependency = this.loadCamera( index ); + break; + + case 'light': + dependency = this.extensions[ EXTENSIONS.KHR_LIGHTS_PUNCTUAL ].loadLight( index ); + break; + + default: + throw new Error( 'Unknown type: ' + type ); + + } + + this.cache.add( cacheKey, dependency ); + + } + + return dependency; + + }; + + /** + * Requests all dependencies of the specified type asynchronously, with caching. + * @param {string} type + * @return {Promise>} + */ + GLTFParser.prototype.getDependencies = function ( type ) { + + var dependencies = this.cache.get( type ); + + if ( ! dependencies ) { + + var parser = this; + var defs = this.json[ type + ( type === 'mesh' ? 'es' : 's' ) ] || []; + + dependencies = Promise.all( defs.map( function ( def, index ) { + + return parser.getDependency( type, index ); + + } ) ); + + this.cache.add( type, dependencies ); + + } + + return dependencies; + + }; + + /** + * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#buffers-and-buffer-views + * @param {number} bufferIndex + * @return {Promise} + */ + GLTFParser.prototype.loadBuffer = function ( bufferIndex ) { + + var bufferDef = this.json.buffers[ bufferIndex ]; + var loader = this.fileLoader; + + if ( bufferDef.type && bufferDef.type !== 'arraybuffer' ) { + + throw new Error( 'THREE.GLTFLoader: ' + bufferDef.type + ' buffer type is not supported.' ); + + } + + // If present, GLB container is required to be the first buffer. + if ( bufferDef.uri === undefined && bufferIndex === 0 ) { + + return Promise.resolve( this.extensions[ EXTENSIONS.KHR_BINARY_GLTF ].body ); + + } + + var options = this.options; + + return new Promise( function ( resolve, reject ) { + + loader.load( resolveURL( bufferDef.uri, options.path ), resolve, undefined, function () { + + reject( new Error( 'THREE.GLTFLoader: Failed to load buffer "' + bufferDef.uri + '".' ) ); + + } ); + + } ); + + }; + + /** + * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#buffers-and-buffer-views + * @param {number} bufferViewIndex + * @return {Promise} + */ + GLTFParser.prototype.loadBufferView = function ( bufferViewIndex ) { + + var bufferViewDef = this.json.bufferViews[ bufferViewIndex ]; + + return this.getDependency( 'buffer', bufferViewDef.buffer ).then( function ( buffer ) { + + var byteLength = bufferViewDef.byteLength || 0; + var byteOffset = bufferViewDef.byteOffset || 0; + return buffer.slice( byteOffset, byteOffset + byteLength ); + + } ); + + }; + + /** + * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#accessors + * @param {number} accessorIndex + * @return {Promise} + */ + GLTFParser.prototype.loadAccessor = function ( accessorIndex ) { + + var parser = this; + var json = this.json; + + var accessorDef = this.json.accessors[ accessorIndex ]; + + if ( accessorDef.bufferView === undefined && accessorDef.sparse === undefined ) { + + // Ignore empty accessors, which may be used to declare runtime + // information about attributes coming from another source (e.g. Draco + // compression extension). + return Promise.resolve( null ); + + } + + var pendingBufferViews = []; + + if ( accessorDef.bufferView !== undefined ) { + + pendingBufferViews.push( this.getDependency( 'bufferView', accessorDef.bufferView ) ); + + } else { + + pendingBufferViews.push( null ); + + } + + if ( accessorDef.sparse !== undefined ) { + + pendingBufferViews.push( this.getDependency( 'bufferView', accessorDef.sparse.indices.bufferView ) ); + pendingBufferViews.push( this.getDependency( 'bufferView', accessorDef.sparse.values.bufferView ) ); + + } + + return Promise.all( pendingBufferViews ).then( function ( bufferViews ) { + + var bufferView = bufferViews[ 0 ]; + + var itemSize = WEBGL_TYPE_SIZES[ accessorDef.type ]; + var TypedArray = WEBGL_COMPONENT_TYPES[ accessorDef.componentType ]; + + // For VEC3: itemSize is 3, elementBytes is 4, itemBytes is 12. + var elementBytes = TypedArray.BYTES_PER_ELEMENT; + var itemBytes = elementBytes * itemSize; + var byteOffset = accessorDef.byteOffset || 0; + var byteStride = accessorDef.bufferView !== undefined ? json.bufferViews[ accessorDef.bufferView ].byteStride : undefined; + var normalized = accessorDef.normalized === true; + var array, bufferAttribute; + + // The buffer is not interleaved if the stride is the item size in bytes. + if ( byteStride && byteStride !== itemBytes ) { + + // Each "slice" of the buffer, as defined by 'count' elements of 'byteStride' bytes, gets its own InterleavedBuffer + // This makes sure that IBA.count reflects accessor.count properly + var ibSlice = Math.floor( byteOffset / byteStride ); + var ibCacheKey = 'InterleavedBuffer:' + accessorDef.bufferView + ':' + accessorDef.componentType + ':' + ibSlice + ':' + accessorDef.count; + var ib = parser.cache.get( ibCacheKey ); + + if ( ! ib ) { + + array = new TypedArray( bufferView, ibSlice * byteStride, accessorDef.count * byteStride / elementBytes ); + + // Integer parameters to IB/IBA are in array elements, not bytes. + ib = new THREE.InterleavedBuffer( array, byteStride / elementBytes ); + + parser.cache.add( ibCacheKey, ib ); + + } + + bufferAttribute = new THREE.InterleavedBufferAttribute( ib, itemSize, (byteOffset % byteStride) / elementBytes, normalized ); + + } else { + + if ( bufferView === null ) { + + array = new TypedArray( accessorDef.count * itemSize ); + + } else { + + array = new TypedArray( bufferView, byteOffset, accessorDef.count * itemSize ); + + } + + bufferAttribute = new THREE.BufferAttribute( array, itemSize, normalized ); + + } + + // https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#sparse-accessors + if ( accessorDef.sparse !== undefined ) { + + var itemSizeIndices = WEBGL_TYPE_SIZES.SCALAR; + var TypedArrayIndices = WEBGL_COMPONENT_TYPES[ accessorDef.sparse.indices.componentType ]; + + var byteOffsetIndices = accessorDef.sparse.indices.byteOffset || 0; + var byteOffsetValues = accessorDef.sparse.values.byteOffset || 0; + + var sparseIndices = new TypedArrayIndices( bufferViews[ 1 ], byteOffsetIndices, accessorDef.sparse.count * itemSizeIndices ); + var sparseValues = new TypedArray( bufferViews[ 2 ], byteOffsetValues, accessorDef.sparse.count * itemSize ); + + if ( bufferView !== null ) { + + // Avoid modifying the original ArrayBuffer, if the bufferView wasn't initialized with zeroes. + bufferAttribute.setArray( bufferAttribute.array.slice() ); + + } + + for ( var i = 0, il = sparseIndices.length; i < il; i ++ ) { + + var index = sparseIndices[ i ]; + + bufferAttribute.setX( index, sparseValues[ i * itemSize ] ); + if ( itemSize >= 2 ) bufferAttribute.setY( index, sparseValues[ i * itemSize + 1 ] ); + if ( itemSize >= 3 ) bufferAttribute.setZ( index, sparseValues[ i * itemSize + 2 ] ); + if ( itemSize >= 4 ) bufferAttribute.setW( index, sparseValues[ i * itemSize + 3 ] ); + if ( itemSize >= 5 ) throw new Error( 'THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.' ); + + } + + } + + return bufferAttribute; + + } ); + + }; + + /** + * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#textures + * @param {number} textureIndex + * @return {Promise} + */ + GLTFParser.prototype.loadTexture = function ( textureIndex ) { + + var parser = this; + var json = this.json; + var options = this.options; + var textureLoader = this.textureLoader; + + var URL = window.URL || window.webkitURL; + + var textureDef = json.textures[ textureIndex ]; + + var textureExtensions = textureDef.extensions || {}; + + var source; + + if ( textureExtensions[ EXTENSIONS.MSFT_TEXTURE_DDS ] ) { + + source = json.images[ textureExtensions[ EXTENSIONS.MSFT_TEXTURE_DDS ].source ]; + + } else { + + source = json.images[ textureDef.source ]; + + } + + var sourceURI = source.uri; + var isObjectURL = false; + + if ( source.bufferView !== undefined ) { + + // Load binary image data from bufferView, if provided. + + sourceURI = parser.getDependency( 'bufferView', source.bufferView ).then( function ( bufferView ) { + + isObjectURL = true; + var blob = new Blob( [ bufferView ], { type: source.mimeType } ); + sourceURI = URL.createObjectURL( blob ); + return sourceURI; + + } ); + + } + + return Promise.resolve( sourceURI ).then( function ( sourceURI ) { + + // Load Texture resource. + + var loader = THREE.Loader.Handlers.get( sourceURI ); + + if ( ! loader ) { + + loader = textureExtensions[ EXTENSIONS.MSFT_TEXTURE_DDS ] + ? parser.extensions[ EXTENSIONS.MSFT_TEXTURE_DDS ].ddsLoader + : textureLoader; + + } + + return new Promise( function ( resolve, reject ) { + + loader.load( resolveURL( sourceURI, options.path ), resolve, undefined, reject ); + + } ); + + } ).then( function ( texture ) { + + // Clean up resources and configure Texture. + + if ( isObjectURL === true ) { + + URL.revokeObjectURL( sourceURI ); + + } + + texture.flipY = false; + + if ( textureDef.name !== undefined ) texture.name = textureDef.name; + + // Ignore unknown mime types, like DDS files. + if ( source.mimeType in MIME_TYPE_FORMATS ) { + + texture.format = MIME_TYPE_FORMATS[ source.mimeType ]; + + } + + var samplers = json.samplers || {}; + var sampler = samplers[ textureDef.sampler ] || {}; + + texture.magFilter = WEBGL_FILTERS[ sampler.magFilter ] || THREE.LinearFilter; + texture.minFilter = WEBGL_FILTERS[ sampler.minFilter ] || THREE.LinearMipmapLinearFilter; + texture.wrapS = WEBGL_WRAPPINGS[ sampler.wrapS ] || THREE.RepeatWrapping; + texture.wrapT = WEBGL_WRAPPINGS[ sampler.wrapT ] || THREE.RepeatWrapping; + + return texture; + + } ); + + }; + + /** + * Asynchronously assigns a texture to the given material parameters. + * @param {Object} materialParams + * @param {string} mapName + * @param {Object} mapDef + * @return {Promise} + */ + GLTFParser.prototype.assignTexture = function ( materialParams, mapName, mapDef ) { + + var parser = this; + + return this.getDependency( 'texture', mapDef.index ).then( function ( texture ) { + + if ( ! texture.isCompressedTexture ) { + + switch ( mapName ) { + + case 'aoMap': + case 'emissiveMap': + case 'metalnessMap': + case 'normalMap': + case 'roughnessMap': + texture.format = THREE.RGBFormat; + break; + + } + + } + + if ( parser.extensions[ EXTENSIONS.KHR_TEXTURE_TRANSFORM ] ) { + + var transform = mapDef.extensions !== undefined ? mapDef.extensions[ EXTENSIONS.KHR_TEXTURE_TRANSFORM ] : undefined; + + if ( transform ) { + + texture = parser.extensions[ EXTENSIONS.KHR_TEXTURE_TRANSFORM ].extendTexture( texture, transform ); + + } + + } + + materialParams[ mapName ] = texture; + + } ); + + }; + + /** + * Assigns final material to a Mesh, Line, or Points instance. The instance + * already has a material (generated from the glTF material options alone) + * but reuse of the same glTF material may require multiple threejs materials + * to accomodate different primitive types, defines, etc. New materials will + * be created if necessary, and reused from a cache. + * @param {THREE.Object3D} mesh Mesh, Line, or Points instance. + */ + GLTFParser.prototype.assignFinalMaterial = function ( mesh ) { + + var geometry = mesh.geometry; + var material = mesh.material; + var extensions = this.extensions; + + var useVertexTangents = geometry.attributes.tangent !== undefined; + var useVertexColors = geometry.attributes.color !== undefined; + var useFlatShading = geometry.attributes.normal === undefined; + var useSkinning = mesh.isSkinnedMesh === true; + var useMorphTargets = Object.keys( geometry.morphAttributes ).length > 0; + var useMorphNormals = useMorphTargets && geometry.morphAttributes.normal !== undefined; + + if ( mesh.isPoints ) { + + var cacheKey = 'PointsMaterial:' + material.uuid; + + var pointsMaterial = this.cache.get( cacheKey ); + + if ( ! pointsMaterial ) { + + pointsMaterial = new THREE.PointsMaterial(); + THREE.Material.prototype.copy.call( pointsMaterial, material ); + pointsMaterial.color.copy( material.color ); + pointsMaterial.map = material.map; + pointsMaterial.lights = false; // PointsMaterial doesn't support lights yet + pointsMaterial.sizeAttenuation = false; // glTF spec says points should be 1px + + this.cache.add( cacheKey, pointsMaterial ); + + } + + material = pointsMaterial; + + } else if ( mesh.isLine ) { + + var cacheKey = 'LineBasicMaterial:' + material.uuid; + + var lineMaterial = this.cache.get( cacheKey ); + + if ( ! lineMaterial ) { + + lineMaterial = new THREE.LineBasicMaterial(); + THREE.Material.prototype.copy.call( lineMaterial, material ); + lineMaterial.color.copy( material.color ); + lineMaterial.lights = false; // LineBasicMaterial doesn't support lights yet + + this.cache.add( cacheKey, lineMaterial ); + + } + + material = lineMaterial; + + } + + // Clone the material if it will be modified + if ( useVertexTangents || useVertexColors || useFlatShading || useSkinning || useMorphTargets ) { + + var cacheKey = 'ClonedMaterial:' + material.uuid + ':'; + + if ( material.isGLTFSpecularGlossinessMaterial ) cacheKey += 'specular-glossiness:'; + if ( useSkinning ) cacheKey += 'skinning:'; + if ( useVertexTangents ) cacheKey += 'vertex-tangents:'; + if ( useVertexColors ) cacheKey += 'vertex-colors:'; + if ( useFlatShading ) cacheKey += 'flat-shading:'; + if ( useMorphTargets ) cacheKey += 'morph-targets:'; + if ( useMorphNormals ) cacheKey += 'morph-normals:'; + + var cachedMaterial = this.cache.get( cacheKey ); + + if ( ! cachedMaterial ) { + + cachedMaterial = material.isGLTFSpecularGlossinessMaterial + ? extensions[ EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS ].cloneMaterial( material ) + : material.clone(); + + if ( useSkinning ) cachedMaterial.skinning = true; + if ( useVertexTangents ) cachedMaterial.vertexTangents = true; + if ( useVertexColors ) cachedMaterial.vertexColors = THREE.VertexColors; + if ( useFlatShading ) cachedMaterial.flatShading = true; + if ( useMorphTargets ) cachedMaterial.morphTargets = true; + if ( useMorphNormals ) cachedMaterial.morphNormals = true; + + this.cache.add( cacheKey, cachedMaterial ); + + } + + material = cachedMaterial; + + } + + // workarounds for mesh and geometry + + if ( material.aoMap && geometry.attributes.uv2 === undefined && geometry.attributes.uv !== undefined ) { + + console.log( 'THREE.GLTFLoader: Duplicating UVs to support aoMap.' ); + geometry.addAttribute( 'uv2', new THREE.BufferAttribute( geometry.attributes.uv.array, 2 ) ); + + } + + if ( material.isGLTFSpecularGlossinessMaterial ) { + + // for GLTFSpecularGlossinessMaterial(ShaderMaterial) uniforms runtime update + mesh.onBeforeRender = extensions[ EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS ].refreshUniforms; + + } + + mesh.material = material; + + }; + + /** + * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#materials + * @param {number} materialIndex + * @return {Promise} + */ + GLTFParser.prototype.loadMaterial = function ( materialIndex ) { + + var parser = this; + var json = this.json; + var extensions = this.extensions; + var materialDef = json.materials[ materialIndex ]; + + var materialType; + var materialParams = {}; + var materialExtensions = materialDef.extensions || {}; + + var pending = []; + + if ( materialExtensions[ EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS ] ) { + + var sgExtension = extensions[ EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS ]; + materialType = sgExtension.getMaterialType(); + pending.push( sgExtension.extendParams( materialParams, materialDef, parser ) ); + + } else if ( materialExtensions[ EXTENSIONS.KHR_MATERIALS_UNLIT ] ) { + + var kmuExtension = extensions[ EXTENSIONS.KHR_MATERIALS_UNLIT ]; + materialType = kmuExtension.getMaterialType(); + pending.push( kmuExtension.extendParams( materialParams, materialDef, parser ) ); + + } else { + + // Specification: + // https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#metallic-roughness-material + + materialType = THREE.MeshStandardMaterial; + + var metallicRoughness = materialDef.pbrMetallicRoughness || {}; + + materialParams.color = new THREE.Color( 1.0, 1.0, 1.0 ); + materialParams.opacity = 1.0; + + if ( Array.isArray( metallicRoughness.baseColorFactor ) ) { + + var array = metallicRoughness.baseColorFactor; + + materialParams.color.fromArray( array ); + materialParams.opacity = array[ 3 ]; + + } + + if ( metallicRoughness.baseColorTexture !== undefined ) { + + pending.push( parser.assignTexture( materialParams, 'map', metallicRoughness.baseColorTexture ) ); + + } + + materialParams.metalness = metallicRoughness.metallicFactor !== undefined ? metallicRoughness.metallicFactor : 1.0; + materialParams.roughness = metallicRoughness.roughnessFactor !== undefined ? metallicRoughness.roughnessFactor : 1.0; + + if ( metallicRoughness.metallicRoughnessTexture !== undefined ) { + + pending.push( parser.assignTexture( materialParams, 'metalnessMap', metallicRoughness.metallicRoughnessTexture ) ); + pending.push( parser.assignTexture( materialParams, 'roughnessMap', metallicRoughness.metallicRoughnessTexture ) ); + + } + + } + + if ( materialDef.doubleSided === true ) { + + materialParams.side = THREE.DoubleSide; + + } + + var alphaMode = materialDef.alphaMode || ALPHA_MODES.OPAQUE; + + if ( alphaMode === ALPHA_MODES.BLEND ) { + + materialParams.transparent = true; + + } else { + + materialParams.transparent = false; + + if ( alphaMode === ALPHA_MODES.MASK ) { + + materialParams.alphaTest = materialDef.alphaCutoff !== undefined ? materialDef.alphaCutoff : 0.5; + + } + + } + + if ( materialDef.normalTexture !== undefined && materialType !== THREE.MeshBasicMaterial ) { + + pending.push( parser.assignTexture( materialParams, 'normalMap', materialDef.normalTexture ) ); + + materialParams.normalScale = new THREE.Vector2( 1, 1 ); + + if ( materialDef.normalTexture.scale !== undefined ) { + + materialParams.normalScale.set( materialDef.normalTexture.scale, materialDef.normalTexture.scale ); + + } + + } + + if ( materialDef.occlusionTexture !== undefined && materialType !== THREE.MeshBasicMaterial ) { + + pending.push( parser.assignTexture( materialParams, 'aoMap', materialDef.occlusionTexture ) ); + + if ( materialDef.occlusionTexture.strength !== undefined ) { + + materialParams.aoMapIntensity = materialDef.occlusionTexture.strength; + + } + + } + + if ( materialDef.emissiveFactor !== undefined && materialType !== THREE.MeshBasicMaterial ) { + + materialParams.emissive = new THREE.Color().fromArray( materialDef.emissiveFactor ); + + } + + if ( materialDef.emissiveTexture !== undefined && materialType !== THREE.MeshBasicMaterial ) { + + pending.push( parser.assignTexture( materialParams, 'emissiveMap', materialDef.emissiveTexture ) ); + + } + + return Promise.all( pending ).then( function () { + + var material; + + if ( materialType === THREE.ShaderMaterial ) { + + material = extensions[ EXTENSIONS.KHR_MATERIALS_PBR_SPECULAR_GLOSSINESS ].createMaterial( materialParams ); + + } else { + + material = new materialType( materialParams ); + + } + + if ( materialDef.name !== undefined ) material.name = materialDef.name; + + // baseColorTexture, emissiveTexture, and specularGlossinessTexture use sRGB encoding. + if ( material.map ) material.map.encoding = THREE.sRGBEncoding; + if ( material.emissiveMap ) material.emissiveMap.encoding = THREE.sRGBEncoding; + if ( material.specularMap ) material.specularMap.encoding = THREE.sRGBEncoding; + + assignExtrasToUserData( material, materialDef ); + + if ( materialDef.extensions ) addUnknownExtensionsToUserData( extensions, material, materialDef ); + + return material; + + } ); + + }; + + /** + * @param {THREE.BufferGeometry} geometry + * @param {GLTF.Primitive} primitiveDef + * @param {GLTFParser} parser + * @return {Promise} + */ + function addPrimitiveAttributes( geometry, primitiveDef, parser ) { + + var attributes = primitiveDef.attributes; + + var pending = []; + + function assignAttributeAccessor( accessorIndex, attributeName ) { + + return parser.getDependency( 'accessor', accessorIndex ) + .then( function ( accessor ) { + + geometry.addAttribute( attributeName, accessor ); + + } ); + + } + + for ( var gltfAttributeName in attributes ) { + + var threeAttributeName = ATTRIBUTES[ gltfAttributeName ] || gltfAttributeName.toLowerCase(); + + // Skip attributes already provided by e.g. Draco extension. + if ( threeAttributeName in geometry.attributes ) continue; + + pending.push( assignAttributeAccessor( attributes[ gltfAttributeName ], threeAttributeName ) ); + + } + + if ( primitiveDef.indices !== undefined && ! geometry.index ) { + + var accessor = parser.getDependency( 'accessor', primitiveDef.indices ).then( function ( accessor ) { + + geometry.setIndex( accessor ); + + } ); + + pending.push( accessor ); + + } + + assignExtrasToUserData( geometry, primitiveDef ); + + return Promise.all( pending ).then( function () { + + return primitiveDef.targets !== undefined + ? addMorphTargets( geometry, primitiveDef.targets, parser ) + : geometry; + + } ); + + } + + /** + * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#geometry + * + * Creates BufferGeometries from primitives. + * + * @param {Array} primitives + * @return {Promise>} + */ + GLTFParser.prototype.loadGeometries = function ( primitives ) { + + var parser = this; + var extensions = this.extensions; + var cache = this.primitiveCache; + + function createDracoPrimitive( primitive ) { + + return extensions[ EXTENSIONS.KHR_DRACO_MESH_COMPRESSION ] + .decodePrimitive( primitive, parser ) + .then( function ( geometry ) { + + return addPrimitiveAttributes( geometry, primitive, parser ); + + } ); + + } + + var pending = []; + + for ( var i = 0, il = primitives.length; i < il; i ++ ) { + + var primitive = primitives[ i ]; + var cacheKey = createPrimitiveKey( primitive ); + + // See if we've already created this geometry + var cached = cache[ cacheKey ]; + + if ( cached ) { + + // Use the cached geometry if it exists + pending.push( cached.promise ); + + } else { + + var geometryPromise; + + if ( primitive.extensions && primitive.extensions[ EXTENSIONS.KHR_DRACO_MESH_COMPRESSION ] ) { + + // Use DRACO geometry if available + geometryPromise = createDracoPrimitive( primitive ); + + } else { + + // Otherwise create a new geometry + geometryPromise = addPrimitiveAttributes( new THREE.BufferGeometry(), primitive, parser ); + + } + + // Cache this geometry + cache[ cacheKey ] = { primitive: primitive, promise: geometryPromise }; + + pending.push( geometryPromise ); + + } + + } + + return Promise.all( pending ); + + }; + + /** + * Specification: https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#meshes + * @param {number} meshIndex + * @return {Promise} + */ + GLTFParser.prototype.loadMesh = function ( meshIndex ) { + + var parser = this; + var json = this.json; + + var meshDef = json.meshes[ meshIndex ]; + var primitives = meshDef.primitives; + + var pending = []; + + for ( var i = 0, il = primitives.length; i < il; i ++ ) { + + var material = primitives[ i ].material === undefined + ? createDefaultMaterial() + : this.getDependency( 'material', primitives[ i ].material ); + + pending.push( material ); + + } + + return Promise.all( pending ).then( function ( originalMaterials ) { + + return parser.loadGeometries( primitives ).then( function ( geometries ) { + + var meshes = []; + + for ( var i = 0, il = geometries.length; i < il; i ++ ) { + + var geometry = geometries[ i ]; + var primitive = primitives[ i ]; + + // 1. create Mesh + + var mesh; + + var material = originalMaterials[ i ]; + + if ( primitive.mode === WEBGL_CONSTANTS.TRIANGLES || + primitive.mode === WEBGL_CONSTANTS.TRIANGLE_STRIP || + primitive.mode === WEBGL_CONSTANTS.TRIANGLE_FAN || + primitive.mode === undefined ) { + + // .isSkinnedMesh isn't in glTF spec. See .markDefs() + mesh = meshDef.isSkinnedMesh === true + ? new THREE.SkinnedMesh( geometry, material ) + : new THREE.Mesh( geometry, material ); + + if ( mesh.isSkinnedMesh === true && ! mesh.geometry.attributes.skinWeight.normalized ) { + + // we normalize floating point skin weight array to fix malformed assets (see #15319) + // it's important to skip this for non-float32 data since normalizeSkinWeights assumes non-normalized inputs + mesh.normalizeSkinWeights(); + + } + + if ( primitive.mode === WEBGL_CONSTANTS.TRIANGLE_STRIP ) { + + mesh.drawMode = THREE.TriangleStripDrawMode; + + } else if ( primitive.mode === WEBGL_CONSTANTS.TRIANGLE_FAN ) { + + mesh.drawMode = THREE.TriangleFanDrawMode; + + } + + } else if ( primitive.mode === WEBGL_CONSTANTS.LINES ) { + + mesh = new THREE.LineSegments( geometry, material ); + + } else if ( primitive.mode === WEBGL_CONSTANTS.LINE_STRIP ) { + + mesh = new THREE.Line( geometry, material ); + + } else if ( primitive.mode === WEBGL_CONSTANTS.LINE_LOOP ) { + + mesh = new THREE.LineLoop( geometry, material ); + + } else if ( primitive.mode === WEBGL_CONSTANTS.POINTS ) { + + mesh = new THREE.Points( geometry, material ); + + } else { + + throw new Error( 'THREE.GLTFLoader: Primitive mode unsupported: ' + primitive.mode ); + + } + + if ( Object.keys( mesh.geometry.morphAttributes ).length > 0 ) { + + updateMorphTargets( mesh, meshDef ); + + } + + mesh.name = meshDef.name || ( 'mesh_' + meshIndex ); + + if ( geometries.length > 1 ) mesh.name += '_' + i; + + assignExtrasToUserData( mesh, meshDef ); + + parser.assignFinalMaterial( mesh ); + + meshes.push( mesh ); + + } + + if ( meshes.length === 1 ) { + + return meshes[ 0 ]; + + } + + var group = new THREE.Group(); + + for ( var i = 0, il = meshes.length; i < il; i ++ ) { + + group.add( meshes[ i ] ); + + } + + return group; + + } ); + + } ); + + }; + + /** + * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#cameras + * @param {number} cameraIndex + * @return {Promise} + */ + GLTFParser.prototype.loadCamera = function ( cameraIndex ) { + + var camera; + var cameraDef = this.json.cameras[ cameraIndex ]; + var params = cameraDef[ cameraDef.type ]; + + if ( ! params ) { + + console.warn( 'THREE.GLTFLoader: Missing camera parameters.' ); + return; + + } + + if ( cameraDef.type === 'perspective' ) { + + camera = new THREE.PerspectiveCamera( THREE.Math.radToDeg( params.yfov ), params.aspectRatio || 1, params.znear || 1, params.zfar || 2e6 ); + + } else if ( cameraDef.type === 'orthographic' ) { + + camera = new THREE.OrthographicCamera( params.xmag / - 2, params.xmag / 2, params.ymag / 2, params.ymag / - 2, params.znear, params.zfar ); + + } + + if ( cameraDef.name !== undefined ) camera.name = cameraDef.name; + + assignExtrasToUserData( camera, cameraDef ); + + return Promise.resolve( camera ); + + }; + + /** + * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#skins + * @param {number} skinIndex + * @return {Promise} + */ + GLTFParser.prototype.loadSkin = function ( skinIndex ) { + + var skinDef = this.json.skins[ skinIndex ]; + + var skinEntry = { joints: skinDef.joints }; + + if ( skinDef.inverseBindMatrices === undefined ) { + + return Promise.resolve( skinEntry ); + + } + + return this.getDependency( 'accessor', skinDef.inverseBindMatrices ).then( function ( accessor ) { + + skinEntry.inverseBindMatrices = accessor; + + return skinEntry; + + } ); + + }; + + /** + * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#animations + * @param {number} animationIndex + * @return {Promise} + */ + GLTFParser.prototype.loadAnimation = function ( animationIndex ) { + + var json = this.json; + + var animationDef = json.animations[ animationIndex ]; + + var pendingNodes = []; + var pendingInputAccessors = []; + var pendingOutputAccessors = []; + var pendingSamplers = []; + var pendingTargets = []; + + for ( var i = 0, il = animationDef.channels.length; i < il; i ++ ) { + + var channel = animationDef.channels[ i ]; + var sampler = animationDef.samplers[ channel.sampler ]; + var target = channel.target; + var name = target.node !== undefined ? target.node : target.id; // NOTE: target.id is deprecated. + var input = animationDef.parameters !== undefined ? animationDef.parameters[ sampler.input ] : sampler.input; + var output = animationDef.parameters !== undefined ? animationDef.parameters[ sampler.output ] : sampler.output; + + pendingNodes.push( this.getDependency( 'node', name ) ); + pendingInputAccessors.push( this.getDependency( 'accessor', input ) ); + pendingOutputAccessors.push( this.getDependency( 'accessor', output ) ); + pendingSamplers.push( sampler ); + pendingTargets.push( target ); + + } + + return Promise.all( [ + + Promise.all( pendingNodes ), + Promise.all( pendingInputAccessors ), + Promise.all( pendingOutputAccessors ), + Promise.all( pendingSamplers ), + Promise.all( pendingTargets ) + + ] ).then( function ( dependencies ) { + + var nodes = dependencies[ 0 ]; + var inputAccessors = dependencies[ 1 ]; + var outputAccessors = dependencies[ 2 ]; + var samplers = dependencies[ 3 ]; + var targets = dependencies[ 4 ]; + + var tracks = []; + + for ( var i = 0, il = nodes.length; i < il; i ++ ) { + + var node = nodes[ i ]; + var inputAccessor = inputAccessors[ i ]; + var outputAccessor = outputAccessors[ i ]; + var sampler = samplers[ i ]; + var target = targets[ i ]; + + if ( node === undefined ) continue; + + node.updateMatrix(); + node.matrixAutoUpdate = true; + + var TypedKeyframeTrack; + + switch ( PATH_PROPERTIES[ target.path ] ) { + + case PATH_PROPERTIES.weights: + + TypedKeyframeTrack = THREE.NumberKeyframeTrack; + break; + + case PATH_PROPERTIES.rotation: + + TypedKeyframeTrack = THREE.QuaternionKeyframeTrack; + break; + + case PATH_PROPERTIES.position: + case PATH_PROPERTIES.scale: + default: + + TypedKeyframeTrack = THREE.VectorKeyframeTrack; + break; + + } + + var targetName = node.name ? node.name : node.uuid; + + var interpolation = sampler.interpolation !== undefined ? INTERPOLATION[ sampler.interpolation ] : THREE.InterpolateLinear; + + var targetNames = []; + + if ( PATH_PROPERTIES[ target.path ] === PATH_PROPERTIES.weights ) { + + // Node may be a THREE.Group (glTF mesh with several primitives) or a THREE.Mesh. + node.traverse( function ( object ) { + + if ( object.isMesh === true && object.morphTargetInfluences ) { + + targetNames.push( object.name ? object.name : object.uuid ); + + } + + } ); + + } else { + + targetNames.push( targetName ); + + } + + var outputArray = outputAccessor.array; + + if ( outputAccessor.normalized ) { + + var scale; + + if ( outputArray.constructor === Int8Array ) { + + scale = 1 / 127; + + } else if ( outputArray.constructor === Uint8Array ) { + + scale = 1 / 255; + + } else if ( outputArray.constructor == Int16Array ) { + + scale = 1 / 32767; + + } else if ( outputArray.constructor === Uint16Array ) { + + scale = 1 / 65535; + + } else { + + throw new Error( 'THREE.GLTFLoader: Unsupported output accessor component type.' ); + + } + + var scaled = new Float32Array( outputArray.length ); + + for ( var j = 0, jl = outputArray.length; j < jl; j ++ ) { + + scaled[ j ] = outputArray[ j ] * scale; + + } + + outputArray = scaled; + + } + + for ( var j = 0, jl = targetNames.length; j < jl; j ++ ) { + + var track = new TypedKeyframeTrack( + targetNames[ j ] + '.' + PATH_PROPERTIES[ target.path ], + inputAccessor.array, + outputArray, + interpolation + ); + + // Override interpolation with custom factory method. + if ( sampler.interpolation === 'CUBICSPLINE' ) { + + track.createInterpolant = function InterpolantFactoryMethodGLTFCubicSpline( result ) { + + // A CUBICSPLINE keyframe in glTF has three output values for each input value, + // representing inTangent, splineVertex, and outTangent. As a result, track.getValueSize() + // must be divided by three to get the interpolant's sampleSize argument. + + return new GLTFCubicSplineInterpolant( this.times, this.values, this.getValueSize() / 3, result ); + + }; + + // Mark as CUBICSPLINE. `track.getInterpolation()` doesn't support custom interpolants. + track.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline = true; + + } + + tracks.push( track ); + + } + + } + + var name = animationDef.name !== undefined ? animationDef.name : 'animation_' + animationIndex; + + return new THREE.AnimationClip( name, undefined, tracks ); + + } ); + + }; + + /** + * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#nodes-and-hierarchy + * @param {number} nodeIndex + * @return {Promise} + */ + GLTFParser.prototype.loadNode = function ( nodeIndex ) { + + var json = this.json; + var extensions = this.extensions; + var parser = this; + + var meshReferences = json.meshReferences; + var meshUses = json.meshUses; + + var nodeDef = json.nodes[ nodeIndex ]; + + return ( function () { + + var pending = []; + + if ( nodeDef.mesh !== undefined ) { + + pending.push( parser.getDependency( 'mesh', nodeDef.mesh ).then( function ( mesh ) { + + var node; + + if ( meshReferences[ nodeDef.mesh ] > 1 ) { + + var instanceNum = meshUses[ nodeDef.mesh ] ++; + + node = mesh.clone(); + node.name += '_instance_' + instanceNum; + + // onBeforeRender copy for Specular-Glossiness + node.onBeforeRender = mesh.onBeforeRender; + + for ( var i = 0, il = node.children.length; i < il; i ++ ) { + + node.children[ i ].name += '_instance_' + instanceNum; + node.children[ i ].onBeforeRender = mesh.children[ i ].onBeforeRender; + + } + + } else { + + node = mesh; + + } + + // if weights are provided on the node, override weights on the mesh. + if ( nodeDef.weights !== undefined ) { + + node.traverse( function ( o ) { + + if ( ! o.isMesh ) return; + + for ( var i = 0, il = nodeDef.weights.length; i < il; i ++ ) { + + o.morphTargetInfluences[ i ] = nodeDef.weights[ i ]; + + } + + } ); + + } + + return node; + + } ) ); + + } + + if ( nodeDef.camera !== undefined ) { + + pending.push( parser.getDependency( 'camera', nodeDef.camera ) ); + + } + + if ( nodeDef.extensions + && nodeDef.extensions[ EXTENSIONS.KHR_LIGHTS_PUNCTUAL ] + && nodeDef.extensions[ EXTENSIONS.KHR_LIGHTS_PUNCTUAL ].light !== undefined ) { + + pending.push( parser.getDependency( 'light', nodeDef.extensions[ EXTENSIONS.KHR_LIGHTS_PUNCTUAL ].light ) ); + + } + + return Promise.all( pending ); + + }() ).then( function ( objects ) { + + var node; + + // .isBone isn't in glTF spec. See .markDefs + if ( nodeDef.isBone === true ) { + + node = new THREE.Bone(); + + } else if ( objects.length > 1 ) { + + node = new THREE.Group(); + + } else if ( objects.length === 1 ) { + + node = objects[ 0 ]; + + } else { + + node = new THREE.Object3D(); + + } + + if ( node !== objects[ 0 ] ) { + + for ( var i = 0, il = objects.length; i < il; i ++ ) { + + node.add( objects[ i ] ); + + } + + } + + if ( nodeDef.name !== undefined ) { + + node.userData.name = nodeDef.name; + node.name = THREE.PropertyBinding.sanitizeNodeName( nodeDef.name ); + + } + + assignExtrasToUserData( node, nodeDef ); + + if ( nodeDef.extensions ) addUnknownExtensionsToUserData( extensions, node, nodeDef ); + + if ( nodeDef.matrix !== undefined ) { + + var matrix = new THREE.Matrix4(); + matrix.fromArray( nodeDef.matrix ); + node.applyMatrix( matrix ); + + } else { + + if ( nodeDef.translation !== undefined ) { + + node.position.fromArray( nodeDef.translation ); + + } + + if ( nodeDef.rotation !== undefined ) { + + node.quaternion.fromArray( nodeDef.rotation ); + + } + + if ( nodeDef.scale !== undefined ) { + + node.scale.fromArray( nodeDef.scale ); + + } + + } + + return node; + + } ); + + }; + + /** + * Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#scenes + * @param {number} sceneIndex + * @return {Promise} + */ + GLTFParser.prototype.loadScene = function () { + + // scene node hierachy builder + + function buildNodeHierachy( nodeId, parentObject, json, parser ) { + + var nodeDef = json.nodes[ nodeId ]; + + return parser.getDependency( 'node', nodeId ).then( function ( node ) { + + if ( nodeDef.skin === undefined ) return node; + + // build skeleton here as well + + var skinEntry; + + return parser.getDependency( 'skin', nodeDef.skin ).then( function ( skin ) { + + skinEntry = skin; + + var pendingJoints = []; + + for ( var i = 0, il = skinEntry.joints.length; i < il; i ++ ) { + + pendingJoints.push( parser.getDependency( 'node', skinEntry.joints[ i ] ) ); + + } + + return Promise.all( pendingJoints ); + + } ).then( function ( jointNodes ) { + + node.traverse( function ( mesh ) { + + if ( ! mesh.isMesh ) return; + + var bones = []; + var boneInverses = []; + + for ( var j = 0, jl = jointNodes.length; j < jl; j ++ ) { + + var jointNode = jointNodes[ j ]; + + if ( jointNode ) { + + bones.push( jointNode ); + + var mat = new THREE.Matrix4(); + + if ( skinEntry.inverseBindMatrices !== undefined ) { + + mat.fromArray( skinEntry.inverseBindMatrices.array, j * 16 ); + + } + + boneInverses.push( mat ); + + } else { + + console.warn( 'THREE.GLTFLoader: Joint "%s" could not be found.', skinEntry.joints[ j ] ); + + } + + } + + mesh.bind( new THREE.Skeleton( bones, boneInverses ), mesh.matrixWorld ); + + } ); + + return node; + + } ); + + } ).then( function ( node ) { + + // build node hierachy + + parentObject.add( node ); + + var pending = []; + + if ( nodeDef.children ) { + + var children = nodeDef.children; + + for ( var i = 0, il = children.length; i < il; i ++ ) { + + var child = children[ i ]; + pending.push( buildNodeHierachy( child, node, json, parser ) ); + + } + + } + + return Promise.all( pending ); + + } ); + + } + + return function loadScene( sceneIndex ) { + + var json = this.json; + var extensions = this.extensions; + var sceneDef = this.json.scenes[ sceneIndex ]; + var parser = this; + + var scene = new THREE.Scene(); + if ( sceneDef.name !== undefined ) scene.name = sceneDef.name; + + assignExtrasToUserData( scene, sceneDef ); + + if ( sceneDef.extensions ) addUnknownExtensionsToUserData( extensions, scene, sceneDef ); + + var nodeIds = sceneDef.nodes || []; + + var pending = []; + + for ( var i = 0, il = nodeIds.length; i < il; i ++ ) { + + pending.push( buildNodeHierachy( nodeIds[ i ], scene, json, parser ) ); + + } + + return Promise.all( pending ).then( function () { + + return scene; + + } ); + + }; + + }(); + + return GLTFLoader; + +} )(); diff --git a/examples/js/third_party/three.js/three.min.js b/examples/js/third_party/three.js/three.min.js index a1b5bce6..af2a3848 100644 --- a/examples/js/third_party/three.js/three.min.js +++ b/examples/js/third_party/three.js/three.min.js @@ -1,466 +1,620 @@ // threejs.org/license -(function(l,ta){"object"===typeof exports&&"undefined"!==typeof module?ta(exports):"function"===typeof define&&define.amd?define(["exports"],ta):(l=l||self,ta(l.THREE={}))})(this,function(l){function ta(){}function B(a,b){this.x=a||0;this.y=b||0}function aa(a,b,c,d){this._x=a||0;this._y=b||0;this._z=c||0;this._w=void 0!==d?d:1}function n(a,b,c){this.x=a||0;this.y=b||0;this.z=c||0}function ba(){this.elements=[1,0,0,0,1,0,0,0,1];0b&&(b=a[c]);return b}function z(){Object.defineProperty(this,"id",{value:Yf+=2});this.uuid=K.generateUUID();this.name="";this.type="BufferGeometry";this.index=null;this.attributes={};this.morphAttributes={};this.groups=[];this.boundingSphere=this.boundingBox=null;this.drawRange={start:0,count:Infinity};this.userData={}} -function Rb(a,b,c,d,e,f){N.call(this);this.type="BoxGeometry";this.parameters={width:a,height:b,depth:c,widthSegments:d,heightSegments:e,depthSegments:f};this.fromBufferGeometry(new ub(a,b,c,d,e,f));this.mergeVertices()}function ub(a,b,c,d,e,f){function g(a,b,c,d,e,f,g,l,ua,F,Zf){var r=f/ua,u=g/F,x=f/2,w=g/2,A=l/2;g=ua+1;var y=F+1,X=f=0,Q,J,D=new n;for(J=0;Jm;m++){if(q=d[m])if(h=q[0],k=q[1]){p&&e.addAttribute("morphTarget"+m, -p[h]);f&&e.addAttribute("morphNormal"+m,f[h]);c[m]=k;continue}c[m]=0}g.getUniforms().setValue(a,"morphTargetInfluences",c)}}}function kg(a,b){var c={};return{update:function(d){var e=b.render.frame,f=d.geometry,g=a.get(d,f);c[g.id]!==e&&(f.isGeometry&&g.updateFromObject(d),a.update(g),c[g.id]=e);return g},dispose:function(){c={}}}}function bb(a,b,c,d,e,f,g,h,k,m){a=void 0!==a?a:[];W.call(this,a,void 0!==b?b:301,c,d,e,f,void 0!==g?g:1022,h,k,m);this.flipY=!1}function Sb(a,b,c,d){W.call(this,null); -this.image={data:a,width:b,height:c,depth:d};this.minFilter=this.magFilter=1003;this.wrapR=1001;this.flipY=this.generateMipmaps=!1}function Tb(a,b,c,d){W.call(this,null);this.image={data:a,width:b,height:c,depth:d};this.minFilter=this.magFilter=1003;this.wrapR=1001;this.flipY=this.generateMipmaps=!1}function Ub(a,b,c){var d=a[0];if(0>=d||0/gm,function(a,c){a=T[c];if(void 0===a)throw Error("Can not resolve #include <"+c+">");return ee(a)})}function kf(a){return a.replace(/#pragma unroll_loop[\s]+?for \( int i = (\d+); i < (\d+); i \+\+ \) \{([\s\S]+?)(?=\})\}/g, -function(a,c,d,e){a="";for(c=parseInt(c);cd||a.height>d)e=d/Math.max(a.width,a.height);if(1>e||!0===b){if("undefined"!==typeof HTMLImageElement&&a instanceof HTMLImageElement||"undefined"!==typeof HTMLCanvasElement&&a instanceof HTMLCanvasElement||"undefined"!==typeof ImageBitmap&&a instanceof ImageBitmap)return d=b?K.floorPowerOfTwo:Math.floor,b=d(e*a.width),e=d(e*a.height), -void 0===C&&(C=h(b,e)),c=c?h(b,e):C,c.width=b,c.height=e,c.getContext("2d").drawImage(a,0,0,b,e),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+a.width+"x"+a.height+") to ("+b+"x"+e+")."),c;"data"in a&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+a.width+"x"+a.height+").")}return a}function m(a){return K.isPowerOfTwo(a.width)&&K.isPowerOfTwo(a.height)}function p(a,b){return a.generateMipmaps&&b&&1003!==a.minFilter&&1006!==a.minFilter}function q(b,c,e, -f){a.generateMipmap(b);d.get(c).__maxMipLevel=Math.log(Math.max(e,f))*Math.LOG2E}function v(a,c){if(!e.isWebGL2)return a;var d=a;6403===a&&(5126===c&&(d=33326),5131===c&&(d=33325),5121===c&&(d=33321));6407===a&&(5126===c&&(d=34837),5131===c&&(d=34843),5121===c&&(d=32849));6408===a&&(5126===c&&(d=34836),5131===c&&(d=34842),5121===c&&(d=32856));33325===d||33326===d||34842===d||34836===d?b.get("EXT_color_buffer_float"):(34843===d||34837===d)&&console.warn("THREE.WebGLRenderer: Floating point textures with RGB format not supported. Please use RGBA instead."); -return d}function l(a){return 1003===a||1004===a||1005===a?9728:9729}function r(b){b=b.target;b.removeEventListener("dispose",r);var c=d.get(b);void 0!==c.__webglInit&&(a.deleteTexture(c.__webglTexture),d.remove(b));b.isVideoTexture&&delete E[b.id];g.memory.textures--}function u(b){b=b.target;b.removeEventListener("dispose",u);var c=d.get(b),e=d.get(b.texture);if(b){void 0!==e.__webglTexture&&a.deleteTexture(e.__webglTexture);b.depthTexture&&b.depthTexture.dispose();if(b.isWebGLRenderTargetCube)for(e= -0;6>e;e++)a.deleteFramebuffer(c.__webglFramebuffer[e]),c.__webglDepthbuffer&&a.deleteRenderbuffer(c.__webglDepthbuffer[e]);else a.deleteFramebuffer(c.__webglFramebuffer),c.__webglDepthbuffer&&a.deleteRenderbuffer(c.__webglDepthbuffer);d.remove(b.texture);d.remove(b)}g.memory.textures--}function n(a,b){var e=d.get(a);if(a.isVideoTexture){var f=a.id,h=g.render.frame;E[f]!==h&&(E[f]=h,a.update())}if(0r;r++)t[r]=g||l?l?b.image[r].image: -b.image[r]:k(b.image[r],!1,!0,e.maxCubemapSize);var u=t[0],n=m(u)||e.isWebGL2,x=f.convert(b.format),w=f.convert(b.type),Q=v(x,w);y(34067,b,n);for(r=0;6>r;r++)if(g)for(var X,J=t[r].mipmaps,A=0,F=J.length;A=e.maxTextures&&console.warn("THREE.WebGLTextures: Trying to use "+a+" texture units while this GPU supports only "+e.maxTextures);z+=1;return a};this.resetTextureUnits=function(){z=0};this.setTexture2D=n;this.setTexture2DArray=function(a,b){var e=d.get(a);0r;r++)h.__webglFramebuffer[r]=a.createFramebuffer();else if(h.__webglFramebuffer=a.createFramebuffer(),r)if(e.isWebGL2){h.__webglMultisampledFramebuffer= -a.createFramebuffer();h.__webglColorRenderbuffer=a.createRenderbuffer();a.bindRenderbuffer(36161,h.__webglColorRenderbuffer);r=f.convert(b.texture.format);var x=f.convert(b.texture.type);r=v(r,x);x=B(b);a.renderbufferStorageMultisample(36161,x,r,b.width,b.height);a.bindFramebuffer(36160,h.__webglMultisampledFramebuffer);a.framebufferRenderbuffer(36160,36064,36161,h.__webglColorRenderbuffer);a.bindRenderbuffer(36161,null);b.depthBuffer&&(h.__webglDepthRenderbuffer=a.createRenderbuffer(),F(h.__webglDepthRenderbuffer, -b,!0));a.bindFramebuffer(36160,null)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.");if(l){c.bindTexture(34067,k.__webglTexture);y(34067,b.texture,t);for(r=0;6>r;r++)ua(h.__webglFramebuffer[r],b,36064,34069+r);p(b.texture,t)&&q(34067,b.texture,b.width,b.height);c.bindTexture(34067,null)}else c.bindTexture(3553,k.__webglTexture),y(3553,b.texture,t),ua(h.__webglFramebuffer,b,36064,3553),p(b.texture,t)&&q(3553,b.texture,b.width,b.height),c.bindTexture(3553, -null);if(b.depthBuffer){h=d.get(b);k=!0===b.isWebGLRenderTargetCube;if(b.depthTexture){if(k)throw Error("target.depthTexture not supported in Cube render targets");if(b&&b.isWebGLRenderTargetCube)throw Error("Depth Texture with cube render targets is not supported");a.bindFramebuffer(36160,h.__webglFramebuffer);if(!b.depthTexture||!b.depthTexture.isDepthTexture)throw Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");d.get(b.depthTexture).__webglTexture&&b.depthTexture.image.width=== -b.width&&b.depthTexture.image.height===b.height||(b.depthTexture.image.width=b.width,b.depthTexture.image.height=b.height,b.depthTexture.needsUpdate=!0);n(b.depthTexture,0);h=d.get(b.depthTexture).__webglTexture;if(1026===b.depthTexture.format)a.framebufferTexture2D(36160,36096,3553,h,0);else if(1027===b.depthTexture.format)a.framebufferTexture2D(36160,33306,3553,h,0);else throw Error("Unknown depthTexture format");}else if(k)for(h.__webglDepthbuffer=[],k=0;6>k;k++)a.bindFramebuffer(36160,h.__webglFramebuffer[k]), -h.__webglDepthbuffer[k]=a.createRenderbuffer(),F(h.__webglDepthbuffer[k],b);else a.bindFramebuffer(36160,h.__webglFramebuffer),h.__webglDepthbuffer=a.createRenderbuffer(),F(h.__webglDepthbuffer,b);a.bindFramebuffer(36160,null)}};this.updateRenderTargetMipmap=function(a){var b=a.texture,f=m(a)||e.isWebGL2;if(p(b,f)){f=a.isWebGLRenderTargetCube?34067:3553;var g=d.get(b).__webglTexture;c.bindTexture(f,g);q(f,b,a.width,a.height);c.bindTexture(f,null)}};this.updateMultisampleRenderTarget=function(b){if(b.isWebGLMultisampleRenderTarget)if(e.isWebGL2){var c= -d.get(b);a.bindFramebuffer(36008,c.__webglMultisampledFramebuffer);a.bindFramebuffer(36009,c.__webglFramebuffer);c=b.width;var f=b.height,g=16384;b.depthBuffer&&(g|=256);b.stencilBuffer&&(g|=1024);a.blitFramebuffer(0,0,c,f,0,0,c,f,g,9728)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.")};this.safeSetTexture2D=function(a,b){a&&a.isWebGLRenderTarget&&(!1===G&&(console.warn("THREE.WebGLTextures.safeSetTexture2D: don't use render targets as textures. Use their .texture property instead."), -G=!0),a=a.texture);n(a,b)};this.safeSetTextureCube=function(a,b){a&&a.isWebGLRenderTargetCube&&(!1===I&&(console.warn("THREE.WebGLTextures.safeSetTextureCube: don't use cube render targets as textures. Use their .texture property instead."),I=!0),a=a.texture);a&&a.isCubeTexture||Array.isArray(a.image)&&6===a.image.length?A(a,b):w(a,b)}}function pf(a,b,c){return{convert:function(a){if(1E3===a)return 10497;if(1001===a)return 33071;if(1002===a)return 33648;if(1003===a)return 9728;if(1004===a)return 9984; -if(1005===a)return 9986;if(1006===a)return 9729;if(1007===a)return 9985;if(1008===a)return 9987;if(1009===a)return 5121;if(1017===a)return 32819;if(1018===a)return 32820;if(1019===a)return 33635;if(1010===a)return 5120;if(1011===a)return 5122;if(1012===a)return 5123;if(1013===a)return 5124;if(1014===a)return 5125;if(1015===a)return 5126;if(1016===a){if(c.isWebGL2)return 5131;var d=b.get("OES_texture_half_float");if(null!==d)return d.HALF_FLOAT_OES}if(1021===a)return 6406;if(1022===a)return 6407;if(1023=== -a)return 6408;if(1024===a)return 6409;if(1025===a)return 6410;if(1026===a)return 6402;if(1027===a)return 34041;if(1028===a)return 6403;if(100===a)return 32774;if(101===a)return 32778;if(102===a)return 32779;if(200===a)return 0;if(201===a)return 1;if(202===a)return 768;if(203===a)return 769;if(204===a)return 770;if(205===a)return 771;if(206===a)return 772;if(207===a)return 773;if(208===a)return 774;if(209===a)return 775;if(210===a)return 776;if(33776===a||33777===a||33778===a||33779===a)if(d=b.get("WEBGL_compressed_texture_s3tc"), -null!==d){if(33776===a)return d.COMPRESSED_RGB_S3TC_DXT1_EXT;if(33777===a)return d.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(33778===a)return d.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(33779===a)return d.COMPRESSED_RGBA_S3TC_DXT5_EXT}if(35840===a||35841===a||35842===a||35843===a)if(d=b.get("WEBGL_compressed_texture_pvrtc"),null!==d){if(35840===a)return d.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(35841===a)return d.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(35842===a)return d.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(35843===a)return d.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}if(36196=== -a&&(d=b.get("WEBGL_compressed_texture_etc1"),null!==d))return d.COMPRESSED_RGB_ETC1_WEBGL;if(37808===a||37809===a||37810===a||37811===a||37812===a||37813===a||37814===a||37815===a||37816===a||37817===a||37818===a||37819===a||37820===a||37821===a)if(d=b.get("WEBGL_compressed_texture_astc"),null!==d)return a;if(103===a||104===a){if(c.isWebGL2){if(103===a)return 32775;if(104===a)return 32776}d=b.get("EXT_blend_minmax");if(null!==d){if(103===a)return d.MIN_EXT;if(104===a)return d.MAX_EXT}}if(1020===a){if(c.isWebGL2)return 34042; -d=b.get("WEBGL_depth_texture");if(null!==d)return d.UNSIGNED_INT_24_8_WEBGL}return 0}}}function Vb(){C.call(this);this.type="Group"}function Xa(){C.call(this);this.type="Camera";this.matrixWorldInverse=new P;this.projectionMatrix=new P;this.projectionMatrixInverse=new P}function ja(a,b,c,d){Xa.call(this);this.type="PerspectiveCamera";this.fov=void 0!==a?a:50;this.zoom=1;this.near=void 0!==c?c:.1;this.far=void 0!==d?d:2E3;this.focus=10;this.aspect=void 0!==b?b:1;this.view=null;this.filmGauge=35;this.filmOffset= -0;this.updateProjectionMatrix()}function Gc(a){ja.call(this);this.cameras=a||[]}function qf(a,b,c){rf.setFromMatrixPosition(b.matrixWorld);sf.setFromMatrixPosition(c.matrixWorld);var d=rf.distanceTo(sf),e=b.projectionMatrix.elements,f=c.projectionMatrix.elements,g=e[14]/(e[10]-1);c=e[14]/(e[10]+1);var h=(e[9]+1)/e[5],k=(e[9]-1)/e[5],m=(e[8]-1)/e[0],p=(f[8]+1)/f[0];e=g*m;f=g*p;p=d/(-m+p);m=p*-m;b.matrixWorld.decompose(a.position,a.quaternion,a.scale);a.translateX(m);a.translateZ(p);a.matrixWorld.compose(a.position, -a.quaternion,a.scale);a.matrixWorldInverse.getInverse(a.matrixWorld);b=g+p;g=c+p;a.projectionMatrix.makePerspective(e-m,f+(d-m),h*c/g*b,k*c/g*b,b,g)}function tf(a){function b(){return null!==e&&!0===e.isPresenting}function c(){if(b()){var c=e.getEyeParameters("left"),f=c.renderWidth*p;c=c.renderHeight*p;y=a.getPixelRatio();a.getSize(w);a.setDrawingBufferSize(2*f,c,1);J.start()}else d.enabled&&a.setDrawingBufferSize(w.width,w.height,y),J.stop()}var d=this,e=null,f=null,g=null,h=[],k=new P,m=new P, -p=1,q="stage";"undefined"!==typeof window&&"VRFrameData"in window&&(f=new window.VRFrameData,window.addEventListener("vrdisplaypresentchange",c,!1));var v=new P,l=new aa,r=new n,u=new ja;u.bounds=new Y(0,0,.5,1);u.layers.enable(1);var x=new ja;x.bounds=new Y(.5,0,.5,1);x.layers.enable(2);var A=new Gc([u,x]);A.layers.enable(1);A.layers.enable(2);var w=new B,y,D=[];this.enabled=!1;this.getController=function(a){var b=h[a];void 0===b&&(b=new Vb,b.matrixAutoUpdate=!1,b.visible=!1,h[a]=b);return b};this.getDevice= -function(){return e};this.setDevice=function(a){void 0!==a&&(e=a);J.setContext(a)};this.setFramebufferScaleFactor=function(a){p=a};this.setFrameOfReferenceType=function(a){q=a};this.setPoseTarget=function(a){void 0!==a&&(g=a)};this.getCamera=function(a){var c="stage"===q?1.6:0;if(!1===b())return a.position.set(0,c,0),a.rotation.set(0,0,0),a;e.depthNear=a.near;e.depthFar=a.far;e.getFrameData(f);if("stage"===q){var d=e.stageParameters;d?k.fromArray(d.sittingToStandingTransform):k.makeTranslation(0, -c,0)}c=f.pose;d=null!==g?g:a;d.matrix.copy(k);d.matrix.decompose(d.position,d.quaternion,d.scale);null!==c.orientation&&(l.fromArray(c.orientation),d.quaternion.multiply(l));null!==c.position&&(l.setFromRotationMatrix(k),r.fromArray(c.position),r.applyQuaternion(l),d.position.add(r));d.updateMatrixWorld();u.near=a.near;x.near=a.near;u.far=a.far;x.far=a.far;u.matrixWorldInverse.fromArray(f.leftViewMatrix);x.matrixWorldInverse.fromArray(f.rightViewMatrix);m.getInverse(k);"stage"===q&&(u.matrixWorldInverse.multiply(m), -x.matrixWorldInverse.multiply(m));a=d.parent;null!==a&&(v.getInverse(a.matrixWorld),u.matrixWorldInverse.multiply(v),x.matrixWorldInverse.multiply(v));u.matrixWorld.getInverse(u.matrixWorldInverse);x.matrixWorld.getInverse(x.matrixWorldInverse);u.projectionMatrix.fromArray(f.leftProjectionMatrix);x.projectionMatrix.fromArray(f.rightProjectionMatrix);qf(A,u,x);a=e.getLayers();a.length&&(a=a[0],null!==a.leftBounds&&4===a.leftBounds.length&&u.bounds.fromArray(a.leftBounds),null!==a.rightBounds&&4=== -a.rightBounds.length&&x.bounds.fromArray(a.rightBounds));a:for(a=0;af.matrixWorld.determinant();ca.setMaterial(e,h);var k=l(a,c,e,f),m=!1;if(b!==d.id||O!==k.id||da!==(!0===e.wireframe))b=d.id,O=k.id,da=!0===e.wireframe,m=!0;f.morphTargetInfluences&&(va.update(f,d,e,k),m=!0);h=d.index;var p=d.attributes.position;c=1;!0===e.wireframe&&(h=sa.getWireframeAttribute(d),c=2);a=wa;if(null!==h){var q=pa.get(h);a=ya;a.setIndex(q)}if(m){if(d&& -d.isInstancedBufferGeometry&&!Aa.isWebGL2&&null===na.get("ANGLE_instanced_arrays"))console.error("THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");else{ca.initAttributes();m=d.attributes;k=k.getAttributes();var v=e.defaultAttributeValues;for(D in k){var r=k[D];if(0<=r){var t=m[D];if(void 0!==t){var n=t.normalized,u=t.itemSize,x=pa.get(t);if(void 0!==x){var w=x.buffer,A=x.type;x=x.bytesPerElement;if(t.isInterleavedBufferAttribute){var y= -t.data,J=y.stride;t=t.offset;y&&y.isInstancedInterleavedBuffer?(ca.enableAttributeAndDivisor(r,y.meshPerAttribute),void 0===d.maxInstancedCount&&(d.maxInstancedCount=y.meshPerAttribute*y.count)):ca.enableAttribute(r);L.bindBuffer(34962,w);L.vertexAttribPointer(r,u,A,n,J*x,t*x)}else t.isInstancedBufferAttribute?(ca.enableAttributeAndDivisor(r,t.meshPerAttribute),void 0===d.maxInstancedCount&&(d.maxInstancedCount=t.meshPerAttribute*t.count)):ca.enableAttribute(r),L.bindBuffer(34962,w),L.vertexAttribPointer(r, -u,A,n,0,0)}}else if(void 0!==v&&(n=v[D],void 0!==n))switch(n.length){case 2:L.vertexAttrib2fv(r,n);break;case 3:L.vertexAttrib3fv(r,n);break;case 4:L.vertexAttrib4fv(r,n);break;default:L.vertexAttrib1fv(r,n)}}}ca.disableUnusedAttributes()}null!==h&&L.bindBuffer(34963,q.buffer)}q=Infinity;null!==h?q=h.count:void 0!==p&&(q=p.count);h=d.drawRange.start*c;p=null!==g?g.start*c:0;var D=Math.max(h,p);g=Math.max(0,Math.min(q,h+d.drawRange.count*c,p+(null!==g?g.count*c:Infinity))-1-D+1);if(0!==g){if(f.isMesh)if(!0=== -e.wireframe)ca.setLineWidth(e.wireframeLinewidth*(null===N?H:1)),a.setMode(1);else switch(f.drawMode){case 0:a.setMode(4);break;case 1:a.setMode(5);break;case 2:a.setMode(6)}else f.isLine?(e=e.linewidth,void 0===e&&(e=1),ca.setLineWidth(e*(null===N?H:1)),f.isLineSegments?a.setMode(1):f.isLineLoop?a.setMode(2):a.setMode(3)):f.isPoints?a.setMode(0):f.isSprite&&a.setMode(4);d&&d.isInstancedBufferGeometry?0c;c++){var q=p[h[c]];var l=p[h[(c+1)%3]];f[0]=Math.min(q,l);f[1]=Math.max(q,l);q=f[0]+","+f[1];void 0===g[q]&&(g[q]={index1:f[0],index2:f[1]})}}for(q in g)m=g[q],h=a.vertices[m.index1],b.push(h.x,h.y,h.z),h=a.vertices[m.index2],b.push(h.x,h.y,h.z)}else if(a&&a.isBufferGeometry)if(h=new n,null!==a.index){k= -a.attributes.position;p=a.index;var t=a.groups;0===t.length&&(t=[{start:0,count:p.count,materialIndex:0}]);a=0;for(e=t.length;ac;c++)q=p.getX(m+c),l=p.getX(m+(c+1)%3),f[0]=Math.min(q,l),f[1]=Math.max(q,l),q=f[0]+","+f[1],void 0===g[q]&&(g[q]={index1:f[0],index2:f[1]});for(q in g)m=g[q],h.fromBufferAttribute(k,m.index1),b.push(h.x,h.y,h.z),h.fromBufferAttribute(k,m.index2),b.push(h.x,h.y,h.z)}else for(k=a.attributes.position,m=0,d= -k.count/3;mc;c++)g=3*m+c,h.fromBufferAttribute(k,g),b.push(h.x,h.y,h.z),g=3*m+(c+1)%3,h.fromBufferAttribute(k,g),b.push(h.x,h.y,h.z);this.addAttribute("position",new E(b,3))}function Nc(a,b,c){N.call(this);this.type="ParametricGeometry";this.parameters={func:a,slices:b,stacks:c};this.fromBufferGeometry(new $b(a,b,c));this.mergeVertices()}function $b(a,b,c){z.call(this);this.type="ParametricBufferGeometry";this.parameters={func:a,slices:b,stacks:c};var d=[],e=[],f=[],g=[],h=new n, -k=new n,m=new n,p=new n,q=new n,l,t;3>a.length&&console.error("THREE.ParametricGeometry: Function must now modify a Vector3 as third parameter.");var r=b+1;for(l=0;l<=c;l++){var u=l/c;for(t=0;t<=b;t++){var x=t/b;a(x,u,k);e.push(k.x,k.y,k.z);0<=x-1E-5?(a(x-1E-5,u,m),p.subVectors(k,m)):(a(x+1E-5,u,m),p.subVectors(m,k));0<=u-1E-5?(a(x,u-1E-5,m),q.subVectors(k,m)):(a(x,u+1E-5,m),q.subVectors(m,k));h.crossVectors(p,q).normalize();f.push(h.x,h.y,h.z);g.push(x,u)}}for(l=0;ld&&1===a.x&&(k[b]=a.x-1);0===c.x&&0===c.z&&(k[b]=d/2/Math.PI+.5)}z.call(this);this.type="PolyhedronBufferGeometry";this.parameters={vertices:a,indices:b,radius:c,detail:d};c=c||1;d=d||0;var h=[],k=[];(function(a){for(var c=new n,d=new n,g=new n,h=0;he&&(.2>b&&(k[a+0]+=1),.2>c&&(k[a+2]+=1),.2>d&&(k[a+4]+=1))})();this.addAttribute("position", -new E(h,3));this.addAttribute("normal",new E(h.slice(),3));this.addAttribute("uv",new E(k,2));0===d?this.computeVertexNormals():this.normalizeNormals()}function Pc(a,b){N.call(this);this.type="TetrahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new ac(a,b));this.mergeVertices()}function ac(a,b){ka.call(this,[1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],[2,1,0,0,3,2,1,3,0,2,3,1],a,b);this.type="TetrahedronBufferGeometry";this.parameters={radius:a,detail:b}}function Qc(a,b){N.call(this); -this.type="OctahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new yb(a,b));this.mergeVertices()}function yb(a,b){ka.call(this,[1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2],a,b);this.type="OctahedronBufferGeometry";this.parameters={radius:a,detail:b}}function Rc(a,b){N.call(this);this.type="IcosahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new bc(a,b));this.mergeVertices()}function bc(a,b){var c= -(1+Math.sqrt(5))/2;ka.call(this,[-1,c,0,1,c,0,-1,-c,0,1,-c,0,0,-1,c,0,1,c,0,-1,-c,0,1,-c,c,0,-1,c,0,1,-c,0,-1,-c,0,1],[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7,6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1],a,b);this.type="IcosahedronBufferGeometry";this.parameters={radius:a,detail:b}}function Sc(a,b){N.call(this);this.type="DodecahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new cc(a,b));this.mergeVertices()}function cc(a,b){var c= -(1+Math.sqrt(5))/2,d=1/c;ka.call(this,[-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-d,-c,0,-d,c,0,d,-c,0,d,c,-d,-c,0,-d,c,0,d,-c,0,d,c,0,-c,0,-d,c,0,-d,-c,0,d,c,0,d],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],a,b);this.type="DodecahedronBufferGeometry";this.parameters= -{radius:a,detail:b}}function Tc(a,b,c,d,e,f){N.call(this);this.type="TubeGeometry";this.parameters={path:a,tubularSegments:b,radius:c,radialSegments:d,closed:e};void 0!==f&&console.warn("THREE.TubeGeometry: taper has been removed.");a=new zb(a,b,c,d,e);this.tangents=a.tangents;this.normals=a.normals;this.binormals=a.binormals;this.fromBufferGeometry(a);this.mergeVertices()}function zb(a,b,c,d,e){function f(e){p=a.getPointAt(e/b,p);var f=g.normals[e];e=g.binormals[e];for(l=0;l<=d;l++){var m=l/d*Math.PI* -2,q=Math.sin(m);m=-Math.cos(m);k.x=m*f.x+q*e.x;k.y=m*f.y+q*e.y;k.z=m*f.z+q*e.z;k.normalize();r.push(k.x,k.y,k.z);h.x=p.x+c*k.x;h.y=p.y+c*k.y;h.z=p.z+c*k.z;t.push(h.x,h.y,h.z)}}z.call(this);this.type="TubeBufferGeometry";this.parameters={path:a,tubularSegments:b,radius:c,radialSegments:d,closed:e};b=b||64;c=c||1;d=d||8;e=e||!1;var g=a.computeFrenetFrames(b,e);this.tangents=g.tangents;this.normals=g.normals;this.binormals=g.binormals;var h=new n,k=new n,m=new B,p=new n,q,l,t=[],r=[],u=[],x=[];for(q= -0;q=b;e-=d)f=wf(e,a[e],a[e+1],f);f&&Ab(f,f.next)&&(Wc(f),f=f.next);return f}function Xc(a,b){if(!a)return a; -b||(b=a);do{var c=!1;if(a.steiner||!Ab(a,a.next)&&0!==wa(a.prev,a,a.next))a=a.next;else{Wc(a);a=b=a.prev;if(a===a.next)break;c=!0}}while(c||a!==b);return b}function Yc(a,b,c,d,e,f,g){if(a){if(!g&&f){var h=a,k=h;do null===k.z&&(k.z=je(k.x,k.y,d,e,f)),k.prevZ=k.prev,k=k.nextZ=k.next;while(k!==h);k.prevZ.nextZ=null;k.prevZ=null;h=k;var m,p,q,l,t=1;do{k=h;var r=h=null;for(p=0;k;){p++;var n=k;for(m=q=0;mq.x?p.x>t.x?p.x:t.x:q.x>t.x?q.x:t.x,y=p.y>q.y?p.y>t.y?p.y:t.y:q.y>t.y?q.y:t.y;m=je(p.x=m;){if(x!==r.prev&&x!==r.next&&Dd(p.x,p.y,q.x,q.y,t.x,t.y,x.x,x.y)&&0<=wa(x.prev,x,x.next)){r=!1;break a}x=x.prevZ}r=!0}}else a:if(r=a,p=r.prev,q=r,t=r.next,0<=wa(p,q,t))r=!1;else{for(m=r.next.next;m!==r.prev;){if(Dd(p.x,p.y,q.x,q.y,t.x,t.y,m.x,m.y)&&0<=wa(m.prev,m,m.next)){r=!1;break a}m=m.next}r=!0}if(r)b.push(k.i/c),b.push(a.i/c),b.push(n.i/c),Wc(a),h=a=n.next;else if(a=n,a===h){if(!g)Yc(Xc(a),b,c,d,e,f,1);else if(1===g){g=b;h=c;k=a;do n=k.prev, -r=k.next.next,!Ab(n,r)&&xf(n,k,k.next,r)&&Zc(n,r)&&Zc(r,n)&&(g.push(n.i/h),g.push(k.i/h),g.push(r.i/h),Wc(k),Wc(k.next),k=a=r),k=k.next;while(k!==a);a=k;Yc(a,b,c,d,e,f,2)}else if(2===g)a:{g=a;do{for(h=g.next.next;h!==g.prev;){if(k=g.i!==h.i){k=g;n=h;if(r=k.next.i!==n.i&&k.prev.i!==n.i){b:{r=k;do{if(r.i!==k.i&&r.next.i!==k.i&&r.i!==n.i&&r.next.i!==n.i&&xf(r,r.next,k,n)){r=!0;break b}r=r.next}while(r!==k);r=!1}r=!r}if(r=r&&Zc(k,n)&&Zc(n,k)){r=k;p=!1;q=(k.x+n.x)/2;n=(k.y+n.y)/2;do r.y>n!==r.next.y>n&& -r.next.y!==r.y&&q<(r.next.x-r.x)*(n-r.y)/(r.next.y-r.y)+r.x&&(p=!p),r=r.next;while(r!==k);r=p}k=r}if(k){a=yf(g,h);g=Xc(g,g.next);a=Xc(a,a.next);Yc(g,b,c,d,e,f);Yc(a,b,c,d,e,f);break a}h=h.next}g=g.next}while(g!==a)}break}}}}function eh(a,b){return a.x-b.x}function fh(a,b){var c=b,d=a.x,e=a.y,f=-Infinity;do{if(e<=c.y&&e>=c.next.y&&c.next.y!==c.y){var g=c.x+(e-c.y)*(c.next.x-c.x)/(c.next.y-c.y);if(g<=d&&g>f){f=g;if(g===d){if(e===c.y)return c;if(e===c.next.y)return c.next}var h=c.x=c.x&&c.x>=g&&d!==c.x&&Dd(eh.x)&&Zc(c,a)&&(h=c,m=p)}c=c.next}return h}function je(a,b,c,d,e){a=32767*(a-c)*e;b=32767*(b-d)*e;a=(a|a<<8)&16711935;a=(a|a<<4)&252645135;a=(a|a<<2)&858993459;b=(b|b<<8)&16711935;b=(b|b<<4)&252645135;b=(b|b<<2)&858993459;return(a|a<<1)&1431655765|((b|b<<1)&1431655765)<<1}function gh(a){var b= -a,c=a;do b.xwa(a.prev,a,a.next)?0<=wa(a,b,a.next)&&0<=wa(a,a.prev,b):0>wa(a,b,a.prev)|| -0>wa(a,a.next,b)}function yf(a,b){var c=new ke(a.i,a.x,a.y),d=new ke(b.i,b.x,b.y),e=a.next,f=b.prev;a.next=b;b.prev=a;c.next=e;e.prev=c;d.next=c;c.prev=d;f.next=d;d.prev=f;return d}function wf(a,b,c,d){a=new ke(a,b,c);d?(a.next=d.next,a.prev=d,d.next.prev=a,d.next=a):(a.prev=a,a.next=a);return a}function Wc(a){a.next.prev=a.prev;a.prev.next=a.next;a.prevZ&&(a.prevZ.nextZ=a.nextZ);a.nextZ&&(a.nextZ.prevZ=a.prevZ)}function ke(a,b,c){this.i=a;this.x=b;this.y=c;this.nextZ=this.prevZ=this.z=this.next= -this.prev=null;this.steiner=!1}function zf(a){var b=a.length;2Number.EPSILON){var k=Math.sqrt(h),m=Math.sqrt(f*f+g*g);h=b.x-e/k;b=b.y+d/k;g=((c.x-g/m-h)*g-(c.y+f/m-b)*f)/(d*g-e*f);f=h+d*g-a.x;d=b+e*g-a.y;e=f*f+d*d;if(2>=e)return new B(f,d);e=Math.sqrt(e/2)}else a=!1,d>Number.EPSILON?f>Number.EPSILON&&(a=!0):d<-Number.EPSILON?f<-Number.EPSILON&&(a=!0):Math.sign(e)===Math.sign(g)&&(a=!0),a?(f=-e,e=Math.sqrt(h)):(f=d,d=e,e=Math.sqrt(h/2));return new B(f/e,d/e)}function h(a,b){for(H=a.length;0<= ---H;){var c=H;var f=H-1;0>f&&(f=a.length-1);var g,h=w+2*F;for(g=0;gp;p++){var l=m[f[p]];var n=m[f[(p+1)%3]];d[0]=Math.min(l,n);d[1]=Math.max(l,n);l=d[0]+","+d[1];void 0===e[l]?e[l]={index1:d[0],index2:d[1], -face1:h,face2:void 0}:e[l].face2=h}for(l in e)if(d=e[l],void 0===d.face2||g[d.face1].normal.dot(g[d.face2].normal)<=b)f=a[d.index1],c.push(f.x,f.y,f.z),f=a[d.index2],c.push(f.x,f.y,f.z);this.addAttribute("position",new E(c,3))}function Fb(a,b,c,d,e,f,g,h){N.call(this);this.type="CylinderGeometry";this.parameters={radiusTop:a,radiusBottom:b,height:c,radialSegments:d,heightSegments:e,openEnded:f,thetaStart:g,thetaLength:h};this.fromBufferGeometry(new db(a,b,c,d,e,f,g,h));this.mergeVertices()}function db(a, -b,c,d,e,f,g,h){function k(c){var e,f=new B,k=new n,q=0,u=!0===c?a:b,w=!0===c?1:-1;var z=r;for(e=1;e<=d;e++)l.push(0,x*w,0),v.push(0,w,0),t.push(.5,.5),r++;var C=r;for(e=0;e<=d;e++){var E=e/d*h+g,G=Math.cos(E);E=Math.sin(E);k.x=u*E;k.y=x*w;k.z=u*G;l.push(k.x,k.y,k.z);v.push(0,w,0);f.x=.5*G+.5;f.y=.5*E*w+.5;t.push(f.x,f.y);r++}for(e=0;ethis.duration&&this.resetDuration()}function ih(a){switch(a.toLowerCase()){case "scalar":case "double":case "float":case "number":case "integer":return lc;case "vector":case "vector2":case "vector3":case "vector4":return mc;case "color":return Hd;case "quaternion":return hd;case "bool":case "boolean":return Gd;case "string":return Jd}throw Error("THREE.KeyframeTrack: Unsupported typeName: "+a);}function jh(a){if(void 0===a.type)throw Error("THREE.KeyframeTrack: track type undefined, can not parse"); -var b=ih(a.type);if(void 0===a.times){var c=[],d=[];pa.flattenJSON(a.keys,c,d,"value");a.times=c;a.values=d}return void 0!==b.parse?b.parse(a):new b(a.name,a.times,a.values,a.interpolation)}function le(a,b,c){var d=this,e=!1,f=0,g=0,h=void 0;this.onStart=void 0;this.onLoad=a;this.onProgress=b;this.onError=c;this.itemStart=function(a){g++;if(!1===e&&void 0!==d.onStart)d.onStart(a,f,g);e=!0};this.itemEnd=function(a){f++;if(void 0!==d.onProgress)d.onProgress(a,f,g);if(f===g&&(e=!1,void 0!==d.onLoad))d.onLoad()}; -this.itemError=function(a){if(void 0!==d.onError)d.onError(a)};this.resolveURL=function(a){return h?h(a):a};this.setURLModifier=function(a){h=a;return this}}function Ma(a){this.manager=void 0!==a?a:za}function Df(a){this.manager=void 0!==a?a:za}function Ef(a){this.manager=void 0!==a?a:za;this._parser=null}function me(a){this.manager=void 0!==a?a:za;this._parser=null}function id(a){this.manager=void 0!==a?a:za}function ne(a){this.manager=void 0!==a?a:za}function Kd(a){this.manager=void 0!==a?a:za} -function I(){this.type="Curve";this.arcLengthDivisions=200}function Ga(a,b,c,d,e,f,g,h){I.call(this);this.type="EllipseCurve";this.aX=a||0;this.aY=b||0;this.xRadius=c||1;this.yRadius=d||1;this.aStartAngle=e||0;this.aEndAngle=f||2*Math.PI;this.aClockwise=g||!1;this.aRotation=h||0}function nc(a,b,c,d,e,f){Ga.call(this,a,b,c,c,d,e,f);this.type="ArcCurve"}function oe(){var a=0,b=0,c=0,d=0;return{initCatmullRom:function(e,f,g,h,k){e=k*(g-e);h=k*(h-f);a=f;b=e;c=-3*f+3*g-2*e-h;d=2*f-2*g+e+h},initNonuniformCatmullRom:function(e, -f,g,h,k,m,p){e=((f-e)/k-(g-e)/(k+m)+(g-f)/m)*m;h=((g-f)/m-(h-f)/(m+p)+(h-g)/p)*m;a=f;b=e;c=-3*f+3*g-2*e-h;d=2*f-2*g+e+h},calc:function(e){var f=e*e;return a+b*e+c*f+d*f*e}}}function qa(a,b,c,d){I.call(this);this.type="CatmullRomCurve3";this.points=a||[];this.closed=b||!1;this.curveType=c||"centripetal";this.tension=d||.5}function Ff(a,b,c,d,e){b=.5*(d-b);e=.5*(e-c);var f=a*a;return(2*c-2*d+b+e)*a*f+(-3*c+3*d-2*b-e)*f+b*a+c}function jd(a,b,c,d){var e=1-a;return e*e*b+2*(1-a)*a*c+a*a*d}function kd(a, -b,c,d,e){var f=1-a,g=1-a;return f*f*f*b+3*g*g*a*c+3*(1-a)*a*a*d+a*a*a*e}function Na(a,b,c,d){I.call(this);this.type="CubicBezierCurve";this.v0=a||new B;this.v1=b||new B;this.v2=c||new B;this.v3=d||new B}function $a(a,b,c,d){I.call(this);this.type="CubicBezierCurve3";this.v0=a||new n;this.v1=b||new n;this.v2=c||new n;this.v3=d||new n}function xa(a,b){I.call(this);this.type="LineCurve";this.v1=a||new B;this.v2=b||new B}function Oa(a,b){I.call(this);this.type="LineCurve3";this.v1=a||new n;this.v2=b|| -new n}function Pa(a,b,c){I.call(this);this.type="QuadraticBezierCurve";this.v0=a||new B;this.v1=b||new B;this.v2=c||new B}function ab(a,b,c){I.call(this);this.type="QuadraticBezierCurve3";this.v0=a||new n;this.v1=b||new n;this.v2=c||new n}function Qa(a){I.call(this);this.type="SplineCurve";this.points=a||[]}function eb(){I.call(this);this.type="CurvePath";this.curves=[];this.autoClose=!1}function Ra(a){eb.call(this);this.type="Path";this.currentPoint=new B;a&&this.setFromPoints(a)}function nb(a){Ra.call(this, -a);this.uuid=K.generateUUID();this.type="Shape";this.holes=[]}function ea(a,b){C.call(this);this.type="Light";this.color=new M(a);this.intensity=void 0!==b?b:1;this.receiveShadow=void 0}function Ld(a,b,c){ea.call(this,a,c);this.type="HemisphereLight";this.castShadow=void 0;this.position.copy(C.DefaultUp);this.updateMatrix();this.groundColor=new M(b)}function Nb(a){this.camera=a;this.bias=0;this.radius=1;this.mapSize=new B(512,512);this.map=null;this.matrix=new P}function Md(){Nb.call(this,new ja(50, -1,.5,500))}function Nd(a,b,c,d,e,f){ea.call(this,a,b);this.type="SpotLight";this.position.copy(C.DefaultUp);this.updateMatrix();this.target=new C;Object.defineProperty(this,"power",{get:function(){return this.intensity*Math.PI},set:function(a){this.intensity=a/Math.PI}});this.distance=void 0!==c?c:0;this.angle=void 0!==d?d:Math.PI/3;this.penumbra=void 0!==e?e:0;this.decay=void 0!==f?f:1;this.shadow=new Md}function Od(a,b,c,d){ea.call(this,a,b);this.type="PointLight";Object.defineProperty(this,"power", -{get:function(){return 4*this.intensity*Math.PI},set:function(a){this.intensity=a/(4*Math.PI)}});this.distance=void 0!==c?c:0;this.decay=void 0!==d?d:1;this.shadow=new Nb(new ja(90,1,.5,500))}function ld(a,b,c,d,e,f){Xa.call(this);this.type="OrthographicCamera";this.zoom=1;this.view=null;this.left=void 0!==a?a:-1;this.right=void 0!==b?b:1;this.top=void 0!==c?c:1;this.bottom=void 0!==d?d:-1;this.near=void 0!==e?e:.1;this.far=void 0!==f?f:2E3;this.updateProjectionMatrix()}function Pd(){Nb.call(this, -new ld(-5,5,5,-5,.5,500))}function Qd(a,b){ea.call(this,a,b);this.type="DirectionalLight";this.position.copy(C.DefaultUp);this.updateMatrix();this.target=new C;this.shadow=new Pd}function Rd(a,b){ea.call(this,a,b);this.type="AmbientLight";this.castShadow=void 0}function Sd(a,b,c,d){ea.call(this,a,b);this.type="RectAreaLight";this.width=void 0!==c?c:10;this.height=void 0!==d?d:10}function Td(a){this.manager=void 0!==a?a:za;this.textures={}}function pe(a){this.manager=void 0!==a?a:za}function qe(a){this.manager= -void 0!==a?a:za;this.resourcePath=""}function re(a){"undefined"===typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported.");"undefined"===typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported.");this.manager=void 0!==a?a:za;this.options=void 0}function se(){this.type="ShapePath";this.color=new M;this.subPaths=[];this.currentPath=null}function te(a){this.type="Font";this.data=a}function Gf(a){this.manager=void 0!==a?a:za}function md(){} -function ue(a){this.manager=void 0!==a?a:za}function Hf(){this.type="StereoCamera";this.aspect=1;this.eyeSep=.064;this.cameraL=new ja;this.cameraL.layers.enable(1);this.cameraL.matrixAutoUpdate=!1;this.cameraR=new ja;this.cameraR.layers.enable(2);this.cameraR.matrixAutoUpdate=!1}function nd(a,b,c,d){C.call(this);this.type="CubeCamera";var e=new ja(90,1,a,b);e.up.set(0,-1,0);e.lookAt(new n(1,0,0));this.add(e);var f=new ja(90,1,a,b);f.up.set(0,-1,0);f.lookAt(new n(-1,0,0));this.add(f);var g=new ja(90, -1,a,b);g.up.set(0,0,1);g.lookAt(new n(0,1,0));this.add(g);var h=new ja(90,1,a,b);h.up.set(0,0,-1);h.lookAt(new n(0,-1,0));this.add(h);var k=new ja(90,1,a,b);k.up.set(0,-1,0);k.lookAt(new n(0,0,1));this.add(k);var m=new ja(90,1,a,b);m.up.set(0,-1,0);m.lookAt(new n(0,0,-1));this.add(m);d=d||{format:1022,magFilter:1006,minFilter:1006};this.renderTarget=new pb(c,c,d);this.renderTarget.texture.name="CubeCamera";this.update=function(a,b){null===this.parent&&this.updateMatrixWorld();var c=a.getRenderTarget(), -d=this.renderTarget,p=d.texture.generateMipmaps;d.texture.generateMipmaps=!1;a.setRenderTarget(d,0);a.render(b,e);a.setRenderTarget(d,1);a.render(b,f);a.setRenderTarget(d,2);a.render(b,g);a.setRenderTarget(d,3);a.render(b,h);a.setRenderTarget(d,4);a.render(b,k);d.texture.generateMipmaps=p;a.setRenderTarget(d,5);a.render(b,m);a.setRenderTarget(c)};this.clear=function(a,b,c,d){for(var e=a.getRenderTarget(),f=this.renderTarget,g=0;6>g;g++)a.setRenderTarget(f,g),a.clear(b,c,d);a.setRenderTarget(e)}}function ve(a){this.autoStart= -void 0!==a?a:!0;this.elapsedTime=this.oldTime=this.startTime=0;this.running=!1}function we(){C.call(this);this.type="AudioListener";this.context=xe.getContext();this.gain=this.context.createGain();this.gain.connect(this.context.destination);this.filter=null;this.timeDelta=0}function oc(a){C.call(this);this.type="Audio";this.listener=a;this.context=a.context;this.gain=this.context.createGain();this.gain.connect(a.getInput());this.autoplay=!1;this.buffer=null;this.detune=0;this.loop=!1;this.offset= -this.startTime=0;this.playbackRate=1;this.isPlaying=!1;this.hasPlaybackControl=!0;this.sourceType="empty";this.filters=[]}function ye(a){oc.call(this,a);this.panner=this.context.createPanner();this.panner.connect(this.gain)}function ze(a,b){this.analyser=a.context.createAnalyser();this.analyser.fftSize=void 0!==b?b:2048;this.data=new Uint8Array(this.analyser.frequencyBinCount);a.getOutput().connect(this.analyser)}function Ae(a,b,c){this.binding=a;this.valueSize=c;a=Float64Array;switch(b){case "quaternion":b= -this._slerp;break;case "string":case "bool":a=Array;b=this._select;break;default:b=this._lerp}this.buffer=new a(4*c);this._mixBufferRegion=b;this.referenceCount=this.useCount=this.cumulativeWeight=0}function If(a,b,c){c=c||ma.parseTrackName(b);this._targetGroup=a;this._bindings=a.subscribe_(b,c)}function ma(a,b,c){this.path=b;this.parsedPath=c||ma.parseTrackName(b);this.node=ma.findNode(a,this.parsedPath.nodeName)||a;this.rootNode=a}function Jf(){this.uuid=K.generateUUID();this._objects=Array.prototype.slice.call(arguments); -this.nCachedObjects_=0;var a={};this._indicesByUUID=a;for(var b=0,c=arguments.length;b!==c;++b)a[arguments[b].uuid]=b;this._paths=[];this._parsedPaths=[];this._bindings=[];this._bindingsIndicesByPath={};var d=this;this.stats={objects:{get total(){return d._objects.length},get inUse(){return this.total-d.nCachedObjects_}},get bindingsPerObject(){return d._bindings.length}}}function Kf(a,b,c){this._mixer=a;this._clip=b;this._localRoot=c||null;a=b.tracks;b=a.length;c=Array(b);for(var d={endingStart:2400, -endingEnd:2400},e=0;e!==b;++e){var f=a[e].createInterpolant(null);c[e]=f;f.settings=d}this._interpolantSettings=d;this._interpolants=c;this._propertyBindings=Array(b);this._weightInterpolant=this._timeScaleInterpolant=this._byClipCacheIndex=this._cacheIndex=null;this.loop=2201;this._loopCount=-1;this._startTime=null;this.time=0;this._effectiveWeight=this.weight=this._effectiveTimeScale=this.timeScale=1;this.repetitions=Infinity;this.paused=!1;this.enabled=!0;this.clampWhenFinished=!1;this.zeroSlopeAtEnd= -this.zeroSlopeAtStart=!0}function Be(a){this._root=a;this._initMemoryManager();this.time=this._accuIndex=0;this.timeScale=1}function Ud(a,b){"string"===typeof a&&(console.warn("THREE.Uniform: Type parameter is no longer needed."),a=b);this.value=a}function Ce(){z.call(this);this.type="InstancedBufferGeometry";this.maxInstancedCount=void 0}function De(a,b,c){xb.call(this,a,b);this.meshPerAttribute=c||1}function Ee(a,b,c,d){"number"===typeof c&&(d=c,c=!1,console.error("THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument.")); -S.call(this,a,b,c);this.meshPerAttribute=d||1}function Lf(a,b,c,d){this.ray=new wb(a,b);this.near=c||0;this.far=d||Infinity;this.params={Mesh:{},Line:{},LOD:{},Points:{threshold:1},Sprite:{}};Object.defineProperties(this.params,{PointCloud:{get:function(){console.warn("THREE.Raycaster: params.PointCloud has been renamed to params.Points.");return this.Points}}})}function Mf(a,b){return a.distance-b.distance}function Fe(a,b,c,d){if(!1!==a.visible&&(a.raycast(b,c),!0===d)){a=a.children;d=0;for(var e= -a.length;dc;c++,d++){var e=c/32*Math.PI*2,f=d/32*Math.PI*2;b.push(Math.cos(e),Math.sin(e),1,Math.cos(f),Math.sin(f),1)}a.addAttribute("position",new E(b,3));b=new R({fog:!1});this.cone=new V(a,b);this.add(this.cone);this.update()}function Pf(a){var b=[];a&&a.isBone&&b.push(a);for(var c=0;c -a?-1:0b;b++)a[b]=(16>b?"0":"")+b.toString(16);return function(){var b=4294967295*Math.random()|0,d=4294967295*Math.random()|0,e=4294967295*Math.random()|0,f=4294967295*Math.random()|0;return(a[b&255]+a[b>>8&255]+a[b>>16&255]+a[b>>24&255]+"-"+a[d&255]+a[d>>8&255]+"-"+a[d>>16&15|64]+a[d>>24&255]+ -"-"+a[e&63|128]+a[e>>8&255]+"-"+a[e>>16&255]+a[e>>24&255]+a[f&255]+a[f>>8&255]+a[f>>16&255]+a[f>>24&255]).toUpperCase()}}(),clamp:function(a,b,c){return Math.max(b,Math.min(c,a))},euclideanModulo:function(a,b){return(a%b+b)%b},mapLinear:function(a,b,c,d,e){return d+(a-b)*(e-d)/(c-b)},lerp:function(a,b,c){return(1-c)*a+c*b},smoothstep:function(a,b,c){if(a<=b)return 0;if(a>=c)return 1;a=(a-b)/(c-b);return a*a*(3-2*a)},smootherstep:function(a,b,c){if(a<=b)return 0;if(a>=c)return 1;a=(a-b)/(c-b);return a* -a*a*(a*(6*a-15)+10)},randInt:function(a,b){return a+Math.floor(Math.random()*(b-a+1))},randFloat:function(a,b){return a+Math.random()*(b-a)},randFloatSpread:function(a){return a*(.5-Math.random())},degToRad:function(a){return a*K.DEG2RAD},radToDeg:function(a){return a*K.RAD2DEG},isPowerOfTwo:function(a){return 0===(a&a-1)&&0!==a},ceilPowerOfTwo:function(a){return Math.pow(2,Math.ceil(Math.log(a)/Math.LN2))},floorPowerOfTwo:function(a){return Math.pow(2,Math.floor(Math.log(a)/Math.LN2))}};Object.defineProperties(B.prototype, -{width:{get:function(){return this.x},set:function(a){this.x=a}},height:{get:function(){return this.y},set:function(a){this.y=a}}});Object.assign(B.prototype,{isVector2:!0,set:function(a,b){this.x=a;this.y=b;return this},setScalar:function(a){this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x; -case 1:return this.y;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,this.y)},copy:function(a){this.x=a.x;this.y=a.y;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,b);this.x+=a.x;this.y+=a.y;return this},addScalar:function(a){this.x+=a;this.y+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;return this}, -addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;return this},subScalar:function(a){this.x-=a;this.y-=a;return this},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;return this},multiply:function(a){this.x*=a.x;this.y*=a.y;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;return this}, -divide:function(a){this.x/=a.x;this.y/=a.y;return this},divideScalar:function(a){return this.multiplyScalar(1/a)},applyMatrix3:function(a){var b=this.x,c=this.y;a=a.elements;this.x=a[0]*b+a[3]*c+a[6];this.y=a[1]*b+a[4]*c+a[7];return this},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y);return this},max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y, -this.y));return this},clampScalar:function(){var a=new B,b=new B;return function(c,d){a.set(c,c);b.set(d,d);return this.clamp(a,b)}}(),clampLength:function(a,b){var c=this.length();return this.divideScalar(c||1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this},round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this},roundToZero:function(){this.x= -0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);return this},negate:function(){this.x=-this.x;this.y=-this.y;return this},dot:function(a){return this.x*a.x+this.y*a.y},cross:function(a){return this.x*a.y-this.y*a.x},lengthSq:function(){return this.x*this.x+this.y*this.y},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)},normalize:function(){return this.divideScalar(this.length()|| -1)},angle:function(){var a=Math.atan2(this.y,this.x);0>a&&(a+=2*Math.PI);return a},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},distanceToSquared:function(a){var b=this.x-a.x;a=this.y-a.y;return b*b+a*a},manhattanDistanceTo:function(a){return Math.abs(this.x-a.x)+Math.abs(this.y-a.y)},setLength:function(a){return this.normalize().multiplyScalar(a)},lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;return this},lerpVectors:function(a,b,c){return this.subVectors(b, -a).multiplyScalar(c).add(a)},equals:function(a){return a.x===this.x&&a.y===this.y},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;return a},fromBufferAttribute:function(a,b,c){void 0!==c&&console.warn("THREE.Vector2: offset has been removed from .fromBufferAttribute().");this.x=a.getX(b);this.y=a.getY(b);return this},rotateAround:function(a,b){var c=Math.cos(b);b=Math.sin(b);var d= -this.x-a.x,e=this.y-a.y;this.x=d*c-e*b+a.x;this.y=d*b+e*c+a.y;return this}});Object.assign(aa,{slerp:function(a,b,c,d){return c.copy(a).slerp(b,d)},slerpFlat:function(a,b,c,d,e,f,g){var h=c[d+0],k=c[d+1],m=c[d+2];c=c[d+3];d=e[f+0];var p=e[f+1],l=e[f+2];e=e[f+3];if(c!==e||h!==d||k!==p||m!==l){f=1-g;var n=h*d+k*p+m*l+c*e,t=0<=n?1:-1,r=1-n*n;r>Number.EPSILON&&(r=Math.sqrt(r),n=Math.atan2(r,n*t),f=Math.sin(f*n)/r,g=Math.sin(g*n)/r);t*=g;h=h*f+d*t;k=k*f+p*t;m=m*f+l*t;c=c*f+e*t;f===1-g&&(g=1/Math.sqrt(h* -h+k*k+m*m+c*c),h*=g,k*=g,m*=g,c*=g)}a[b]=h;a[b+1]=k;a[b+2]=m;a[b+3]=c}});Object.defineProperties(aa.prototype,{x:{get:function(){return this._x},set:function(a){this._x=a;this.onChangeCallback()}},y:{get:function(){return this._y},set:function(a){this._y=a;this.onChangeCallback()}},z:{get:function(){return this._z},set:function(a){this._z=a;this.onChangeCallback()}},w:{get:function(){return this._w},set:function(a){this._w=a;this.onChangeCallback()}}});Object.assign(aa.prototype,{isQuaternion:!0, -set:function(a,b,c,d){this._x=a;this._y=b;this._z=c;this._w=d;this.onChangeCallback();return this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._w)},copy:function(a){this._x=a.x;this._y=a.y;this._z=a.z;this._w=a.w;this.onChangeCallback();return this},setFromEuler:function(a,b){if(!a||!a.isEuler)throw Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");var c=a._x,d=a._y,e=a._z;a=a.order;var f=Math.cos,g=Math.sin,h=f(c/ -2),k=f(d/2);f=f(e/2);c=g(c/2);d=g(d/2);e=g(e/2);"XYZ"===a?(this._x=c*k*f+h*d*e,this._y=h*d*f-c*k*e,this._z=h*k*e+c*d*f,this._w=h*k*f-c*d*e):"YXZ"===a?(this._x=c*k*f+h*d*e,this._y=h*d*f-c*k*e,this._z=h*k*e-c*d*f,this._w=h*k*f+c*d*e):"ZXY"===a?(this._x=c*k*f-h*d*e,this._y=h*d*f+c*k*e,this._z=h*k*e+c*d*f,this._w=h*k*f-c*d*e):"ZYX"===a?(this._x=c*k*f-h*d*e,this._y=h*d*f+c*k*e,this._z=h*k*e-c*d*f,this._w=h*k*f+c*d*e):"YZX"===a?(this._x=c*k*f+h*d*e,this._y=h*d*f+c*k*e,this._z=h*k*e-c*d*f,this._w=h*k*f- -c*d*e):"XZY"===a&&(this._x=c*k*f-h*d*e,this._y=h*d*f-c*k*e,this._z=h*k*e+c*d*f,this._w=h*k*f+c*d*e);if(!1!==b)this.onChangeCallback();return this},setFromAxisAngle:function(a,b){b/=2;var c=Math.sin(b);this._x=a.x*c;this._y=a.y*c;this._z=a.z*c;this._w=Math.cos(b);this.onChangeCallback();return this},setFromRotationMatrix:function(a){var b=a.elements,c=b[0];a=b[4];var d=b[8],e=b[1],f=b[5],g=b[9],h=b[2],k=b[6];b=b[10];var m=c+f+b;0f&&c>b?(c=2*Math.sqrt(1+c-f-b),this._w=(k-g)/c,this._x=.25*c,this._y=(a+e)/c,this._z=(d+h)/c):f>b?(c=2*Math.sqrt(1+f-c-b),this._w=(d-h)/c,this._x=(a+e)/c,this._y=.25*c,this._z=(g+k)/c):(c=2*Math.sqrt(1+b-c-f),this._w=(e-a)/c,this._x=(d+h)/c,this._y=(g+k)/c,this._z=.25*c);this.onChangeCallback();return this},setFromUnitVectors:function(a,b){var c=a.dot(b)+1;1E-6>c?(c=0,Math.abs(a.x)>Math.abs(a.z)?(this._x=-a.y,this._y=a.x,this._z=0):(this._x=0,this._y=-a.z,this._z=a.y)):(this._x= -a.y*b.z-a.z*b.y,this._y=a.z*b.x-a.x*b.z,this._z=a.x*b.y-a.y*b.x);this._w=c;return this.normalize()},angleTo:function(a){return 2*Math.acos(Math.abs(K.clamp(this.dot(a),-1,1)))},rotateTowards:function(a,b){var c=this.angleTo(a);if(0===c)return this;this.slerp(a,Math.min(1,b/c));return this},inverse:function(){return this.conjugate()},conjugate:function(){this._x*=-1;this._y*=-1;this._z*=-1;this.onChangeCallback();return this},dot:function(a){return this._x*a._x+this._y*a._y+this._z*a._z+this._w*a._w}, -lengthSq:function(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w},length:function(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)},normalize:function(){var a=this.length();0===a?(this._z=this._y=this._x=0,this._w=1):(a=1/a,this._x*=a,this._y*=a,this._z*=a,this._w*=a);this.onChangeCallback();return this},multiply:function(a,b){return void 0!==b?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."), -this.multiplyQuaternions(a,b)):this.multiplyQuaternions(this,a)},premultiply:function(a){return this.multiplyQuaternions(a,this)},multiplyQuaternions:function(a,b){var c=a._x,d=a._y,e=a._z;a=a._w;var f=b._x,g=b._y,h=b._z;b=b._w;this._x=c*b+a*f+d*h-e*g;this._y=d*b+a*g+e*f-c*h;this._z=e*b+a*h+c*g-d*f;this._w=a*b-c*f-d*g-e*h;this.onChangeCallback();return this},slerp:function(a,b){if(0===b)return this;if(1===b)return this.copy(a);var c=this._x,d=this._y,e=this._z,f=this._w,g=f*a._w+c*a._x+d*a._y+e*a._z; -0>g?(this._w=-a._w,this._x=-a._x,this._y=-a._y,this._z=-a._z,g=-g):this.copy(a);if(1<=g)return this._w=f,this._x=c,this._y=d,this._z=e,this;a=1-g*g;if(a<=Number.EPSILON)return g=1-b,this._w=g*f+b*this._w,this._x=g*c+b*this._x,this._y=g*d+b*this._y,this._z=g*e+b*this._z,this.normalize();a=Math.sqrt(a);var h=Math.atan2(a,g);g=Math.sin((1-b)*h)/a;b=Math.sin(b*h)/a;this._w=f*g+this._w*b;this._x=c*g+this._x*b;this._y=d*g+this._y*b;this._z=e*g+this._z*b;this.onChangeCallback();return this},equals:function(a){return a._x=== -this._x&&a._y===this._y&&a._z===this._z&&a._w===this._w},fromArray:function(a,b){void 0===b&&(b=0);this._x=a[b];this._y=a[b+1];this._z=a[b+2];this._w=a[b+3];this.onChangeCallback();return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this._x;a[b+1]=this._y;a[b+2]=this._z;a[b+3]=this._w;return a},onChange:function(a){this.onChangeCallback=a;return this},onChangeCallback:function(){}});Object.assign(n.prototype,{isVector3:!0,set:function(a,b,c){this.x=a;this.y=b;this.z=c;return this}, -setScalar:function(a){this.z=this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},setZ:function(a){this.z=a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;case 2:this.z=b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x, -this.y,this.z)},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,b);this.x+=a.x;this.y+=a.y;this.z+=a.z;return this},addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;this.z+= -a.z*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;this.z-=a.z;return this},subScalar:function(a){this.x-=a;this.y-=a;this.z-=a;return this},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;return this},multiply:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."), -this.multiplyVectors(a,b);this.x*=a.x;this.y*=a.y;this.z*=a.z;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=a;return this},multiplyVectors:function(a,b){this.x=a.x*b.x;this.y=a.y*b.y;this.z=a.z*b.z;return this},applyEuler:function(){var a=new aa;return function(b){b&&b.isEuler||console.error("THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order.");return this.applyQuaternion(a.setFromEuler(b))}}(),applyAxisAngle:function(){var a=new aa;return function(b, -c){return this.applyQuaternion(a.setFromAxisAngle(b,c))}}(),applyMatrix3:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;this.x=a[0]*b+a[3]*c+a[6]*d;this.y=a[1]*b+a[4]*c+a[7]*d;this.z=a[2]*b+a[5]*c+a[8]*d;return this},applyMatrix4:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;var e=1/(a[3]*b+a[7]*c+a[11]*d+a[15]);this.x=(a[0]*b+a[4]*c+a[8]*d+a[12])*e;this.y=(a[1]*b+a[5]*c+a[9]*d+a[13])*e;this.z=(a[2]*b+a[6]*c+a[10]*d+a[14])*e;return this},applyQuaternion:function(a){var b=this.x, -c=this.y,d=this.z,e=a.x,f=a.y,g=a.z;a=a.w;var h=a*b+f*d-g*c,k=a*c+g*b-e*d,m=a*d+e*c-f*b;b=-e*b-f*c-g*d;this.x=h*a+b*-e+k*-g-m*-f;this.y=k*a+b*-f+m*-e-h*-g;this.z=m*a+b*-g+h*-f-k*-e;return this},project:function(a){return this.applyMatrix4(a.matrixWorldInverse).applyMatrix4(a.projectionMatrix)},unproject:function(a){return this.applyMatrix4(a.projectionMatrixInverse).applyMatrix4(a.matrixWorld)},transformDirection:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;this.x=a[0]*b+a[4]*c+a[8]*d; -this.y=a[1]*b+a[5]*c+a[9]*d;this.z=a[2]*b+a[6]*c+a[10]*d;return this.normalize()},divide:function(a){this.x/=a.x;this.y/=a.y;this.z/=a.z;return this},divideScalar:function(a){return this.multiplyScalar(1/a)},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y);this.z=Math.min(this.z,a.z);return this},max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.z=Math.max(this.z,a.z);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y= -Math.max(a.y,Math.min(b.y,this.y));this.z=Math.max(a.z,Math.min(b.z,this.z));return this},clampScalar:function(){var a=new n,b=new n;return function(c,d){a.set(c,c,c);b.set(d,d,d);return this.clamp(a,b)}}(),clampLength:function(a,b){var c=this.length();return this.divideScalar(c||1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);this.z=Math.floor(this.z);return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y); -this.z=Math.ceil(this.z);return this},round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);this.z=Math.round(this.z);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);this.z=0>this.z?Math.ceil(this.z):Math.floor(this.z);return this},negate:function(){this.x=-this.x;this.y=-this.y;this.z=-this.z;return this},dot:function(a){return this.x*a.x+this.y*a.y+this.z*a.z},lengthSq:function(){return this.x* -this.x+this.y*this.y+this.z*this.z},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(a){return this.normalize().multiplyScalar(a)},lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-this.z)*b;return this},lerpVectors:function(a,b,c){return this.subVectors(b,a).multiplyScalar(c).add(a)}, -cross:function(a,b){return void 0!==b?(console.warn("THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead."),this.crossVectors(a,b)):this.crossVectors(this,a)},crossVectors:function(a,b){var c=a.x,d=a.y;a=a.z;var e=b.x,f=b.y;b=b.z;this.x=d*b-a*f;this.y=a*e-c*b;this.z=c*f-d*e;return this},projectOnVector:function(a){var b=a.dot(this)/a.lengthSq();return this.copy(a).multiplyScalar(b)},projectOnPlane:function(){var a=new n;return function(b){a.copy(this).projectOnVector(b); -return this.sub(a)}}(),reflect:function(){var a=new n;return function(b){return this.sub(a.copy(b).multiplyScalar(2*this.dot(b)))}}(),angleTo:function(a){a=this.dot(a)/Math.sqrt(this.lengthSq()*a.lengthSq());return Math.acos(K.clamp(a,-1,1))},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},distanceToSquared:function(a){var b=this.x-a.x,c=this.y-a.y;a=this.z-a.z;return b*b+c*c+a*a},manhattanDistanceTo:function(a){return Math.abs(this.x-a.x)+Math.abs(this.y-a.y)+Math.abs(this.z- -a.z)},setFromSpherical:function(a){return this.setFromSphericalCoords(a.radius,a.phi,a.theta)},setFromSphericalCoords:function(a,b,c){var d=Math.sin(b)*a;this.x=d*Math.sin(c);this.y=Math.cos(b)*a;this.z=d*Math.cos(c);return this},setFromCylindrical:function(a){return this.setFromCylindricalCoords(a.radius,a.theta,a.y)},setFromCylindricalCoords:function(a,b,c){this.x=a*Math.sin(b);this.y=c;this.z=a*Math.cos(b);return this},setFromMatrixPosition:function(a){a=a.elements;this.x=a[12];this.y=a[13];this.z= -a[14];return this},setFromMatrixScale:function(a){var b=this.setFromMatrixColumn(a,0).length(),c=this.setFromMatrixColumn(a,1).length();a=this.setFromMatrixColumn(a,2).length();this.x=b;this.y=c;this.z=a;return this},setFromMatrixColumn:function(a,b){return this.fromArray(a.elements,4*b)},equals:function(a){return a.x===this.x&&a.y===this.y&&a.z===this.z},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];this.z=a[b+2];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0=== -b&&(b=0);a[b]=this.x;a[b+1]=this.y;a[b+2]=this.z;return a},fromBufferAttribute:function(a,b,c){void 0!==c&&console.warn("THREE.Vector3: offset has been removed from .fromBufferAttribute().");this.x=a.getX(b);this.y=a.getY(b);this.z=a.getZ(b);return this}});Object.assign(ba.prototype,{isMatrix3:!0,set:function(a,b,c,d,e,f,g,h,k){var m=this.elements;m[0]=a;m[1]=d;m[2]=g;m[3]=b;m[4]=e;m[5]=h;m[6]=c;m[7]=f;m[8]=k;return this},identity:function(){this.set(1,0,0,0,1,0,0,0,1);return this},clone:function(){return(new this.constructor).fromArray(this.elements)}, -copy:function(a){var b=this.elements;a=a.elements;b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];return this},setFromMatrix4:function(a){a=a.elements;this.set(a[0],a[4],a[8],a[1],a[5],a[9],a[2],a[6],a[10]);return this},applyToBufferAttribute:function(){var a=new n;return function(b){for(var c=0,d=b.count;cc;c++)if(b[c]!==a[c])return!1;return!0},fromArray:function(a,b){void 0===b&&(b=0);for(var c=0;9>c;c++)this.elements[c]=a[c+b];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);var c= -this.elements;a[b]=c[0];a[b+1]=c[1];a[b+2]=c[2];a[b+3]=c[3];a[b+4]=c[4];a[b+5]=c[5];a[b+6]=c[6];a[b+7]=c[7];a[b+8]=c[8];return a}});var wc,ob={getDataURL:function(a){if("undefined"==typeof HTMLCanvasElement)return a.src;if(!(a instanceof HTMLCanvasElement)){void 0===wc&&(wc=document.createElementNS("http://www.w3.org/1999/xhtml","canvas"));wc.width=a.width;wc.height=a.height;var b=wc.getContext("2d");a instanceof ImageData?b.putImageData(a,0,0):b.drawImage(a,0,0,a.width,a.height);a=wc}return 2048< -a.width||2048a.x||1a.x?0:1;break;case 1002:a.x=1===Math.abs(Math.floor(a.x)%2)?Math.ceil(a.x)-a.x:a.x-Math.floor(a.x)}if(0>a.y||1a.y?0:1;break;case 1002:a.y=1===Math.abs(Math.floor(a.y)%2)?Math.ceil(a.y)-a.y:a.y-Math.floor(a.y)}this.flipY&&(a.y=1-a.y);return a}});Object.defineProperty(W.prototype, -"needsUpdate",{set:function(a){!0===a&&this.version++}});Object.assign(Y.prototype,{isVector4:!0,set:function(a,b,c,d){this.x=a;this.y=b;this.z=c;this.w=d;return this},setScalar:function(a){this.w=this.z=this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},setZ:function(a){this.z=a;return this},setW:function(a){this.w=a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;case 2:this.z=b;break;case 3:this.w= -b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,this.y,this.z,this.w)},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=void 0!==a.w?a.w:1;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector4: .add() now only accepts one argument. Use .addVectors( a, b ) instead."), -this.addVectors(a,b);this.x+=a.x;this.y+=a.y;this.z+=a.z;this.w+=a.w;return this},addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;this.w+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;this.w=a.w+b.w;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;this.z+=a.z*b;this.w+=a.w*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector4: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a, -b);this.x-=a.x;this.y-=a.y;this.z-=a.z;this.w-=a.w;return this},subScalar:function(a){this.x-=a;this.y-=a;this.z-=a;this.w-=a;return this},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;this.w=a.w-b.w;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=a;this.w*=a;return this},applyMatrix4:function(a){var b=this.x,c=this.y,d=this.z,e=this.w;a=a.elements;this.x=a[0]*b+a[4]*c+a[8]*d+a[12]*e;this.y=a[1]*b+a[5]*c+a[9]*d+a[13]*e;this.z=a[2]*b+a[6]*c+a[10]*d+a[14]* -e;this.w=a[3]*b+a[7]*c+a[11]*d+a[15]*e;return this},divideScalar:function(a){return this.multiplyScalar(1/a)},setAxisAngleFromQuaternion:function(a){this.w=2*Math.acos(a.w);var b=Math.sqrt(1-a.w*a.w);1E-4>b?(this.x=1,this.z=this.y=0):(this.x=a.x/b,this.y=a.y/b,this.z=a.z/b);return this},setAxisAngleFromRotationMatrix:function(a){a=a.elements;var b=a[0];var c=a[4];var d=a[8],e=a[1],f=a[5],g=a[9];var h=a[2];var k=a[6];var m=a[10];if(.01>Math.abs(c-e)&&.01>Math.abs(d-h)&&.01>Math.abs(g-k)){if(.1>Math.abs(c+ -e)&&.1>Math.abs(d+h)&&.1>Math.abs(g+k)&&.1>Math.abs(b+f+m-3))return this.set(1,0,0,0),this;a=Math.PI;b=(b+1)/2;f=(f+1)/2;m=(m+1)/2;c=(c+e)/4;d=(d+h)/4;g=(g+k)/4;b>f&&b>m?.01>b?(k=0,c=h=.707106781):(k=Math.sqrt(b),h=c/k,c=d/k):f>m?.01>f?(k=.707106781,h=0,c=.707106781):(h=Math.sqrt(f),k=c/h,c=g/h):.01>m?(h=k=.707106781,c=0):(c=Math.sqrt(m),k=d/c,h=g/c);this.set(k,h,c,a);return this}a=Math.sqrt((k-g)*(k-g)+(d-h)*(d-h)+(e-c)*(e-c));.001>Math.abs(a)&&(a=1);this.x=(k-g)/a;this.y=(d-h)/a;this.z=(e-c)/a; -this.w=Math.acos((b+f+m-1)/2);return this},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y);this.z=Math.min(this.z,a.z);this.w=Math.min(this.w,a.w);return this},max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.z=Math.max(this.z,a.z);this.w=Math.max(this.w,a.w);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));this.z=Math.max(a.z,Math.min(b.z,this.z));this.w=Math.max(a.w,Math.min(b.w, -this.w));return this},clampScalar:function(){var a,b;return function(c,d){void 0===a&&(a=new Y,b=new Y);a.set(c,c,c,c);b.set(d,d,d,d);return this.clamp(a,b)}}(),clampLength:function(a,b){var c=this.length();return this.divideScalar(c||1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);this.z=Math.floor(this.z);this.w=Math.floor(this.w);return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);this.z=Math.ceil(this.z); -this.w=Math.ceil(this.w);return this},round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);this.z=Math.round(this.z);this.w=Math.round(this.w);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);this.z=0>this.z?Math.ceil(this.z):Math.floor(this.z);this.w=0>this.w?Math.ceil(this.w):Math.floor(this.w);return this},negate:function(){this.x=-this.x;this.y=-this.y;this.z=-this.z;this.w=-this.w;return this}, -dot:function(a){return this.x*a.x+this.y*a.y+this.z*a.z+this.w*a.w},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(a){return this.normalize().multiplyScalar(a)},lerp:function(a,b){this.x+= -(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-this.z)*b;this.w+=(a.w-this.w)*b;return this},lerpVectors:function(a,b,c){return this.subVectors(b,a).multiplyScalar(c).add(a)},equals:function(a){return a.x===this.x&&a.y===this.y&&a.z===this.z&&a.w===this.w},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];this.z=a[b+2];this.w=a[b+3];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;a[b+2]=this.z;a[b+3]=this.w;return a},fromBufferAttribute:function(a, -b,c){void 0!==c&&console.warn("THREE.Vector4: offset has been removed from .fromBufferAttribute().");this.x=a.getX(b);this.y=a.getY(b);this.z=a.getZ(b);this.w=a.getW(b);return this}});Ta.prototype=Object.assign(Object.create(ta.prototype),{constructor:Ta,isWebGLRenderTarget:!0,setSize:function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.dispose();this.viewport.set(0,0,a,b);this.scissor.set(0,0,a,b)},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.width= -a.width;this.height=a.height;this.viewport.copy(a.viewport);this.texture=a.texture.clone();this.depthBuffer=a.depthBuffer;this.stencilBuffer=a.stencilBuffer;this.depthTexture=a.depthTexture;return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});$d.prototype=Object.assign(Object.create(Ta.prototype),{constructor:$d,isWebGLMultisampleRenderTarget:!0,copy:function(a){Ta.prototype.copy.call(this,a);this.samples=a.samples;return this}});pb.prototype=Object.create(Ta.prototype);pb.prototype.constructor= -pb;pb.prototype.isWebGLRenderTargetCube=!0;qb.prototype=Object.create(W.prototype);qb.prototype.constructor=qb;qb.prototype.isDataTexture=!0;Object.assign(Ja.prototype,{isBox3:!0,set:function(a,b){this.min.copy(a);this.max.copy(b);return this},setFromArray:function(a){for(var b=Infinity,c=Infinity,d=Infinity,e=-Infinity,f=-Infinity,g=-Infinity,h=0,k=a.length;he&&(e=m);p>f&&(f=p);l>g&&(g=l)}this.min.set(b,c,d);this.max.set(e, -f,g);return this},setFromBufferAttribute:function(a){for(var b=Infinity,c=Infinity,d=Infinity,e=-Infinity,f=-Infinity,g=-Infinity,h=0,k=a.count;he&&(e=m);p>f&&(f=p);l>g&&(g=l)}this.min.set(b,c,d);this.max.set(e,f,g);return this},setFromPoints:function(a){this.makeEmpty();for(var b=0,c=a.length;bh)return!1}return!0}function nb(a,b){this.center=void 0!==a?a:new n;this.radius=void 0!==b?b:0}function Sb(a,b){this.origin=void 0!==a?a:new n;this.direction=void 0!==b?b:new n}function ia(a,b,c){this.a=void 0!==a?a:new n;this.b=void 0!==b?b:new n;this.c=void 0!==c?c:new n}function J(a,b,c){return void 0===b&&void 0=== +c?this.set(a):this.setRGB(a,b,c)}function Sf(a,b,c){0>c&&(c+=1);1c?b:c<2/3?a+6*(b-a)*(2/3-c):a}function Tf(a){return.04045>a?.0773993808*a:Math.pow(.9478672986*a+.0521327014,2.4)}function Uf(a){return.0031308>a?12.92*a:1.055*Math.pow(a,.41666)-.055}function yc(a,b,c,d,e,f){this.a=a;this.b=b;this.c=c;this.normal=d&&d.isVector3?d:new n;this.vertexNormals=Array.isArray(d)?d:[];this.color=e&&e.isColor?e:new J;this.vertexColors=Array.isArray(e)?e:[];this.materialIndex= +void 0!==f?f:0}function Q(){Object.defineProperty(this,"id",{value:Ni++});this.uuid=O.generateUUID();this.name="";this.type="Material";this.lights=this.fog=!0;this.blending=1;this.side=0;this.vertexTangents=this.flatShading=!1;this.vertexColors=0;this.opacity=1;this.transparent=!1;this.blendSrc=204;this.blendDst=205;this.blendEquation=100;this.blendEquationAlpha=this.blendDstAlpha=this.blendSrcAlpha=null;this.depthFunc=3;this.depthWrite=this.depthTest=!0;this.stencilFunc=519;this.stencilRef=0;this.stencilMask= +255;this.stencilZPass=this.stencilZFail=this.stencilFail=7680;this.stencilWrite=!1;this.clippingPlanes=null;this.clipShadows=this.clipIntersection=!1;this.shadowSide=null;this.colorWrite=!0;this.precision=null;this.polygonOffset=!1;this.polygonOffsetUnits=this.polygonOffsetFactor=0;this.dithering=!1;this.alphaTest=0;this.premultipliedAlpha=!1;this.toneMapped=this.visible=!0;this.userData={};this.needsUpdate=!0}function ya(a){Q.call(this);this.type="MeshBasicMaterial";this.color=new J(16777215);this.lightMap= +this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.envMap=this.alphaMap=this.specularMap=null;this.combine=0;this.reflectivity=1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.lights=this.morphTargets=this.skinning=!1;this.setValues(a)}function N(a,b,c){if(Array.isArray(a))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.name="";this.array=a;this.itemSize= +b;this.count=void 0!==a?a.length/b:0;this.normalized=!0===c;this.dynamic=!1;this.updateRange={offset:0,count:-1};this.version=0}function xd(a,b,c){N.call(this,new Int8Array(a),b,c)}function yd(a,b,c){N.call(this,new Uint8Array(a),b,c)}function zd(a,b,c){N.call(this,new Uint8ClampedArray(a),b,c)}function Ad(a,b,c){N.call(this,new Int16Array(a),b,c)}function Tb(a,b,c){N.call(this,new Uint16Array(a),b,c)}function Bd(a,b,c){N.call(this,new Int32Array(a),b,c)}function Ub(a,b,c){N.call(this,new Uint32Array(a), +b,c)}function A(a,b,c){N.call(this,new Float32Array(a),b,c)}function Cd(a,b,c){N.call(this,new Float64Array(a),b,c)}function dh(){this.vertices=[];this.normals=[];this.colors=[];this.uvs=[];this.uvs2=[];this.groups=[];this.morphTargets={};this.skinWeights=[];this.skinIndices=[];this.boundingSphere=this.boundingBox=null;this.groupsNeedUpdate=this.uvsNeedUpdate=this.colorsNeedUpdate=this.normalsNeedUpdate=this.verticesNeedUpdate=!1}function eh(a){if(0===a.length)return-Infinity;for(var b=a[0],c=1,d= +a.length;cb&&(b=a[c]);return b}function D(){Object.defineProperty(this,"id",{value:Oi+=2});this.uuid=O.generateUUID();this.name="";this.type="BufferGeometry";this.index=null;this.attributes={};this.morphAttributes={};this.groups=[];this.boundingSphere=this.boundingBox=null;this.drawRange={start:0,count:Infinity};this.userData={}}function ra(a,b){B.call(this);this.type="Mesh";this.geometry=void 0!==a?a:new D;this.material=void 0!==b?b:new ya({color:16777215*Math.random()});this.drawMode= +0;this.updateMorphTargets()}function fh(a,b,c,d,e,f,g,h){if(null===(1===b.side?d.intersectTriangle(g,f,e,!0,h):d.intersectTriangle(e,f,g,2!==b.side,h)))return null;De.copy(h);De.applyMatrix4(a.matrixWorld);b=c.ray.origin.distanceTo(De);return bc.far?null:{distance:b,point:De.clone(),object:a}}function Ee(a,b,c,d,e,f,g,h,l,m,p){Vb.fromBufferAttribute(e,l);Wb.fromBufferAttribute(e,m);Xb.fromBufferAttribute(e,p);e=a.morphTargetInfluences;if(b.morphTargets&&f&&e){Vf.set(0,0,0);Wf.set(0,0,0); +Xf.set(0,0,0);for(var u=0,r=f.length;ug;g++)a.setRenderTarget(f,g),a.clear(b,c,d);a.setRenderTarget(e)}}function Cb(a,b,c){Ka.call(this,a,b,c)}function Zb(a,b,c,d,e,f,g,h,l,m,p,u){ba.call(this,null,f,g,h,l,m,d,e,p,u);this.image={data:a,width:b,height:c};this.magFilter=void 0!==l?l:1003;this.minFilter=void 0!==m?m:1003;this.flipY=this.generateMipmaps=!1;this.unpackAlignment=1}function cb(a,b){this.normal=void 0!==a?a:new n(1,0,0);this.constant=void 0!==b?b:0}function Ed(a,b,c,d,e,f){this.planes=[void 0!==a?a: +new cb,void 0!==b?b:new cb,void 0!==c?c:new cb,void 0!==d?d:new cb,void 0!==e?e:new cb,void 0!==f?f:new cb]}function Zf(){function a(e,f){!1!==c&&(d(e,f),b.requestAnimationFrame(a))}var b=null,c=!1,d=null;return{start:function(){!0!==c&&null!==d&&(b.requestAnimationFrame(a),c=!0)},stop:function(){c=!1},setAnimationLoop:function(a){d=a},setContext:function(a){b=a}}}function Qi(a){function b(b,c){var d=b.array,e=b.dynamic?35048:35044,h=a.createBuffer();a.bindBuffer(c,h);a.bufferData(c,d,e);b.onUploadCallback(); +c=5126;d instanceof Float32Array?c=5126:d instanceof Float64Array?console.warn("THREE.WebGLAttributes: Unsupported data buffer format: Float64Array."):d instanceof Uint16Array?c=5123:d instanceof Int16Array?c=5122:d instanceof Uint32Array?c=5125:d instanceof Int32Array?c=5124:d instanceof Int8Array?c=5120:d instanceof Uint8Array&&(c=5121);return{buffer:h,type:c,bytesPerElement:d.BYTES_PER_ELEMENT,version:b.version}}var c=new WeakMap;return{get:function(a){a.isInterleavedBufferAttribute&&(a=a.data); +return c.get(a)},remove:function(b){b.isInterleavedBufferAttribute&&(b=b.data);var d=c.get(b);d&&(a.deleteBuffer(d.buffer),c.delete(b))},update:function(d,e){d.isInterleavedBufferAttribute&&(d=d.data);var f=c.get(d);if(void 0===f)c.set(d,b(d,e));else if(f.versionm;m++){if(u=d[m])if(h=u[0],l=u[1]){p&&e.addAttribute("morphTarget"+m,p[h]);f&&e.addAttribute("morphNormal"+m,f[h]);c[m]=l;continue}c[m]=0}g.getUniforms().setValue(a,"morphTargetInfluences",c)}}}function aj(a,b){var c= +{};return{update:function(d){var e=b.render.frame,f=d.geometry,g=a.get(d,f);c[g.id]!==e&&(f.isGeometry&&g.updateFromObject(d),a.update(g),c[g.id]=e);return g},dispose:function(){c={}}}}function pb(a,b,c,d,e,f,g,h,l,m){a=void 0!==a?a:[];ba.call(this,a,void 0!==b?b:301,c,d,e,f,void 0!==g?g:1022,h,l,m);this.flipY=!1}function Ec(a,b,c,d){ba.call(this,null);this.image={data:a,width:b,height:c,depth:d};this.minFilter=this.magFilter=1003;this.wrapR=1001;this.flipY=this.generateMipmaps=!1}function Fc(a,b, +c,d){ba.call(this,null);this.image={data:a,width:b,height:c,depth:d};this.minFilter=this.magFilter=1003;this.wrapR=1001;this.flipY=this.generateMipmaps=!1}function Gc(a,b,c){var d=a[0];if(0>=d||0/gm, +function(a,c){a=K[c];if(void 0===a)throw Error("Can not resolve #include <"+c+">");return ag(a)})}function zh(a){return a.replace(/#pragma unroll_loop[\s]+?for \( int i = (\d+); i < (\d+); i \+\+ \) \{([\s\S]+?)(?=\})\}/g,function(a,c,d,e){a="";for(c=parseInt(c);cc;c++)b.probe.push(new n);var d=new n,e=new P,f=new P;return{setup:function(c,h,l){for(var g=0,p=0,u=0,k=0;9>k;k++)b.probe[k].set(0,0,0);var q=h=0,t=0,y=0,n=0,z=0,x=0,C=0;l=l.matrixWorldInverse;c.sort(Uj);k=0;for(var W=c.length;kCa;Ca++)b.probe[Ca].addScaledVector(E.sh.coefficients[Ca],v);else if(E.isDirectionalLight){var I=a.get(E);I.color.copy(E.color).multiplyScalar(E.intensity);I.direction.setFromMatrixPosition(E.matrixWorld);d.setFromMatrixPosition(E.target.matrixWorld);I.direction.sub(d);I.direction.transformDirection(l);if(I.shadow=E.castShadow)v=E.shadow,I.shadowBias=v.bias,I.shadowRadius=v.radius,I.shadowMapSize=v.mapSize,b.directionalShadowMap[h]=Ca,b.directionalShadowMatrix[h]= +E.shadow.matrix,z++;b.directional[h]=I;h++}else if(E.isSpotLight){I=a.get(E);I.position.setFromMatrixPosition(E.matrixWorld);I.position.applyMatrix4(l);I.color.copy(Fa).multiplyScalar(v);I.distance=A;I.direction.setFromMatrixPosition(E.matrixWorld);d.setFromMatrixPosition(E.target.matrixWorld);I.direction.sub(d);I.direction.transformDirection(l);I.coneCos=Math.cos(E.angle);I.penumbraCos=Math.cos(E.angle*(1-E.penumbra));I.decay=E.decay;if(I.shadow=E.castShadow)v=E.shadow,I.shadowBias=v.bias,I.shadowRadius= +v.radius,I.shadowMapSize=v.mapSize,b.spotShadowMap[t]=Ca,b.spotShadowMatrix[t]=E.shadow.matrix,C++;b.spot[t]=I;t++}else if(E.isRectAreaLight)I=a.get(E),I.color.copy(Fa).multiplyScalar(v),I.position.setFromMatrixPosition(E.matrixWorld),I.position.applyMatrix4(l),f.identity(),e.copy(E.matrixWorld),e.premultiply(l),f.extractRotation(e),I.halfWidth.set(.5*E.width,0,0),I.halfHeight.set(0,.5*E.height,0),I.halfWidth.applyMatrix4(f),I.halfHeight.applyMatrix4(f),b.rectArea[y]=I,y++;else if(E.isPointLight){I= +a.get(E);I.position.setFromMatrixPosition(E.matrixWorld);I.position.applyMatrix4(l);I.color.copy(E.color).multiplyScalar(E.intensity);I.distance=E.distance;I.decay=E.decay;if(I.shadow=E.castShadow)v=E.shadow,I.shadowBias=v.bias,I.shadowRadius=v.radius,I.shadowMapSize=v.mapSize,I.shadowCameraNear=v.camera.near,I.shadowCameraFar=v.camera.far,b.pointShadowMap[q]=Ca,b.pointShadowMatrix[q]=E.shadow.matrix,x++;b.point[q]=I;q++}else E.isHemisphereLight&&(I=a.get(E),I.direction.setFromMatrixPosition(E.matrixWorld), +I.direction.transformDirection(l),I.direction.normalize(),I.skyColor.copy(E.color).multiplyScalar(v),I.groundColor.copy(E.groundColor).multiplyScalar(v),b.hemi[n]=I,n++)}b.ambient[0]=g;b.ambient[1]=p;b.ambient[2]=u;c=b.hash;if(c.directionalLength!==h||c.pointLength!==q||c.spotLength!==t||c.rectAreaLength!==y||c.hemiLength!==n||c.numDirectionalShadows!==z||c.numPointShadows!==x||c.numSpotShadows!==C)b.directional.length=h,b.spot.length=t,b.rectArea.length=y,b.point.length=q,b.hemi.length=n,b.directionalShadowMap.length= +z,b.pointShadowMap.length=x,b.spotShadowMap.length=C,b.directionalShadowMatrix.length=z,b.pointShadowMatrix.length=x,b.spotShadowMatrix.length=C,c.directionalLength=h,c.pointLength=q,c.spotLength=t,c.rectAreaLength=y,c.hemiLength=n,c.numDirectionalShadows=z,c.numPointShadows=x,c.numSpotShadows=C,b.version=Wj++},state:b}}function Bh(){var a=new Vj,b=[],c=[];return{init:function(){b.length=0;c.length=0},state:{lightsArray:b,shadowsArray:c,lights:a},setupLights:function(d){a.setup(b,c,d)},pushLight:function(a){b.push(a)}, +pushShadow:function(a){c.push(a)}}}function Xj(){function a(c){c=c.target;c.removeEventListener("dispose",a);b.delete(c)}var b=new WeakMap;return{get:function(c,d){if(!1===b.has(c)){var e=new Bh;b.set(c,new WeakMap);b.get(c).set(d,e);c.addEventListener("dispose",a)}else!1===b.get(c).has(d)?(e=new Bh,b.get(c).set(d,e)):e=b.get(c).get(d);return e},dispose:function(){b=new WeakMap}}}function Eb(a){Q.call(this);this.type="MeshDepthMaterial";this.depthPacking=3200;this.morphTargets=this.skinning=!1;this.displacementMap= +this.alphaMap=this.map=null;this.displacementScale=1;this.displacementBias=0;this.wireframe=!1;this.wireframeLinewidth=1;this.lights=this.fog=!1;this.setValues(a)}function Fb(a){Q.call(this);this.type="MeshDistanceMaterial";this.referencePosition=new n;this.nearDistance=1;this.farDistance=1E3;this.morphTargets=this.skinning=!1;this.displacementMap=this.alphaMap=this.map=null;this.displacementScale=1;this.displacementBias=0;this.lights=this.fog=!1;this.setValues(a)}function Ch(a,b,c){function d(b, +c,d,e,f,g){var h=b.geometry;var l=m;var r=b.customDepthMaterial;d.isPointLight&&(l=p,r=b.customDistanceMaterial);r?l=r:(r=!1,c.morphTargets&&(h&&h.isBufferGeometry?r=h.morphAttributes&&h.morphAttributes.position&&0\nvoid main() {\n float mean = 0.0;\n float squared_mean = 0.0;\n \n\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy ) / resolution ) );\n for ( float i = -1.0; i < 1.0 ; i += SAMPLE_RATE) {\n #ifdef HORIZONAL_PASS\n vec2 distribution = decodeHalfRGBA ( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( i, 0.0 ) * radius ) / resolution ) );\n mean += distribution.x;\n squared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n #else\n float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, i ) * radius ) / resolution ) );\n mean += depth;\n squared_mean += depth * depth;\n #endif\n }\n mean = mean * HALF_SAMPLE_RATE;\n squared_mean = squared_mean * HALF_SAMPLE_RATE;\n float std_dev = pow( squared_mean - mean * mean, 0.5 );\n gl_FragColor = encodeHalfRGBA( vec2( mean, std_dev ) );\n}"}), +t=q.clone();t.defines.HORIZONAL_PASS=1;var n=new D;n.addAttribute("position",new N(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));var w=new ra(n,q);for(n=0;4!==n;++n){var z=0!==(n&1),x=0!==(n&2),C=new Eb({depthPacking:3201,morphTargets:z,skinning:x});m[n]=C;z=new Fb({morphTargets:z,skinning:x});p[n]=z}var W=this;this.enabled=!1;this.autoUpdate=!0;this.needsUpdate=!1;this.type=1;this.render=function(d,m,p){if(!1!==W.enabled&&(!1!==W.autoUpdate||!1!==W.needsUpdate)&&0!==d.length){var u=a.getRenderTarget(), +k=a.getActiveCubeFace(),r=a.getActiveMipmapLevel(),n=a.state;n.setBlending(0);n.buffers.color.setClear(1,1,1,1);n.buffers.depth.setTest(!0);n.setScissorTest(!1);for(var y=0,x=d.length;yc||g.y>c)console.warn("THREE.WebGLShadowMap:",C,"has shadow exceeding max texture size, reducing"),g.x>c&&(h.x=Math.floor(c/U.x), +g.x=h.x*U.x,S.mapSize.x=h.x),g.y>c&&(h.y=Math.floor(c/U.y),g.y=h.y*U.y,S.mapSize.y=h.y);null!==S.map||S.isPointLightShadow||3!==this.type||(U={minFilter:1006,magFilter:1006,format:1023},S.map=new Ka(g.x,g.y,U),S.map.texture.name=C.name+".shadowMap",S.mapPass=new Ka(g.x,g.y,U),S.camera.updateProjectionMatrix());null===S.map&&(U={minFilter:1003,magFilter:1003,format:1023},S.map=new Ka(g.x,g.y,U),S.map.texture.name=C.name+".shadowMap",S.camera.updateProjectionMatrix());a.setRenderTarget(S.map);a.clear(); +U=S.getViewportCount();for(var z=0;zd||a.height>d)e=d/Math.max(a.width,a.height);if(1>e||!0===b){if("undefined"!==typeof HTMLImageElement&&a instanceof HTMLImageElement||"undefined"!==typeof HTMLCanvasElement&&a instanceof HTMLCanvasElement||"undefined"!==typeof ImageBitmap&&a instanceof ImageBitmap)return d=b?O.floorPowerOfTwo: +Math.floor,b=d(e*a.width),e=d(e*a.height),void 0===I&&(I=h(b,e)),c=c?h(b,e):I,c.width=b,c.height=e,c.getContext("2d").drawImage(a,0,0,b,e),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+a.width+"x"+a.height+") to ("+b+"x"+e+")."),c;"data"in a&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+a.width+"x"+a.height+").")}return a}function m(a){return O.isPowerOfTwo(a.width)&&O.isPowerOfTwo(a.height)}function p(a,b){return a.generateMipmaps&&b&&1003!==a.minFilter&& +1006!==a.minFilter}function u(b,c,e,f){a.generateMipmap(b);d.get(c).__maxMipLevel=Math.log(Math.max(e,f))*Math.LOG2E}function k(a,c){if(!e.isWebGL2)return a;var d=a;6403===a&&(5126===c&&(d=33326),5131===c&&(d=33325),5121===c&&(d=33321));6407===a&&(5126===c&&(d=34837),5131===c&&(d=34843),5121===c&&(d=32849));6408===a&&(5126===c&&(d=34836),5131===c&&(d=34842),5121===c&&(d=32856));33325===d||33326===d||34842===d||34836===d?b.get("EXT_color_buffer_float"):(34843===d||34837===d)&&console.warn("THREE.WebGLRenderer: Floating point textures with RGB format not supported. Please use RGBA instead."); +return d}function q(a){return 1003===a||1004===a||1005===a?9728:9729}function t(b){b=b.target;b.removeEventListener("dispose",t);var c=d.get(b);void 0!==c.__webglInit&&(a.deleteTexture(c.__webglTexture),d.remove(b));b.isVideoTexture&&Ca.delete(b);g.memory.textures--}function n(b){b=b.target;b.removeEventListener("dispose",n);var c=d.get(b),e=d.get(b.texture);if(b){void 0!==e.__webglTexture&&a.deleteTexture(e.__webglTexture);b.depthTexture&&b.depthTexture.dispose();if(b.isWebGLRenderTargetCube)for(e= +0;6>e;e++)a.deleteFramebuffer(c.__webglFramebuffer[e]),c.__webglDepthbuffer&&a.deleteRenderbuffer(c.__webglDepthbuffer[e]);else a.deleteFramebuffer(c.__webglFramebuffer),c.__webglDepthbuffer&&a.deleteRenderbuffer(c.__webglDepthbuffer);d.remove(b.texture);d.remove(b)}g.memory.textures--}function w(a,b){var e=d.get(a);if(a.isVideoTexture){var f=g.render.frame;Ca.get(a)!==f&&(Ca.set(a,f),a.update())}if(0q;q++)t[q]=r||g?g?b.image[q].image: +b.image[q]:l(b.image[q],!1,!0,e.maxCubemapSize);var n=t[0],y=m(n)||e.isWebGL2,w=f.convert(b.format),x=f.convert(b.type),U=k(w,x);C(34067,b,y);if(r){for(q=0;6>q;q++){var S=t[q].mipmaps;for(r=0;rq;q++)if(g)for(c.texImage2D(34069+q,0,U,t[q].width,t[q].height,0,w,x,t[q].data),r=0;r=e.maxTextures&&console.warn("THREE.WebGLTextures: Trying to use "+a+" texture units while this GPU supports only "+e.maxTextures);H+=1;return a};this.resetTextureUnits=function(){H=0};this.setTexture2D=w;this.setTexture2DArray=function(a,b){var e=d.get(a);0q;q++)h.__webglFramebuffer[q]=a.createFramebuffer();else if(h.__webglFramebuffer=a.createFramebuffer(),q)if(e.isWebGL2){h.__webglMultisampledFramebuffer=a.createFramebuffer();h.__webglColorRenderbuffer=a.createRenderbuffer();a.bindRenderbuffer(36161,h.__webglColorRenderbuffer);q=f.convert(b.texture.format);var y=f.convert(b.texture.type);q=k(q,y);y=B(b);a.renderbufferStorageMultisample(36161,y,q,b.width,b.height);a.bindFramebuffer(36160,h.__webglMultisampledFramebuffer); +a.framebufferRenderbuffer(36160,36064,36161,h.__webglColorRenderbuffer);a.bindRenderbuffer(36161,null);b.depthBuffer&&(h.__webglDepthRenderbuffer=a.createRenderbuffer(),A(h.__webglDepthRenderbuffer,b,!0));a.bindFramebuffer(36160,null)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.");if(r){c.bindTexture(34067,l.__webglTexture);C(34067,b.texture,t);for(q=0;6>q;q++)v(h.__webglFramebuffer[q],b,36064,34069+q);p(b.texture,t)&&u(34067,b.texture,b.width, +b.height);c.bindTexture(34067,null)}else c.bindTexture(3553,l.__webglTexture),C(3553,b.texture,t),v(h.__webglFramebuffer,b,36064,3553),p(b.texture,t)&&u(3553,b.texture,b.width,b.height),c.bindTexture(3553,null);if(b.depthBuffer){h=d.get(b);l=!0===b.isWebGLRenderTargetCube;if(b.depthTexture){if(l)throw Error("target.depthTexture not supported in Cube render targets");if(b&&b.isWebGLRenderTargetCube)throw Error("Depth Texture with cube render targets is not supported");a.bindFramebuffer(36160,h.__webglFramebuffer); +if(!b.depthTexture||!b.depthTexture.isDepthTexture)throw Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");d.get(b.depthTexture).__webglTexture&&b.depthTexture.image.width===b.width&&b.depthTexture.image.height===b.height||(b.depthTexture.image.width=b.width,b.depthTexture.image.height=b.height,b.depthTexture.needsUpdate=!0);w(b.depthTexture,0);h=d.get(b.depthTexture).__webglTexture;if(1026===b.depthTexture.format)a.framebufferTexture2D(36160,36096,3553,h,0);else if(1027=== +b.depthTexture.format)a.framebufferTexture2D(36160,33306,3553,h,0);else throw Error("Unknown depthTexture format");}else if(l)for(h.__webglDepthbuffer=[],l=0;6>l;l++)a.bindFramebuffer(36160,h.__webglFramebuffer[l]),h.__webglDepthbuffer[l]=a.createRenderbuffer(),A(h.__webglDepthbuffer[l],b);else a.bindFramebuffer(36160,h.__webglFramebuffer),h.__webglDepthbuffer=a.createRenderbuffer(),A(h.__webglDepthbuffer,b);a.bindFramebuffer(36160,null)}};this.updateRenderTargetMipmap=function(a){var b=a.texture, +f=m(a)||e.isWebGL2;if(p(b,f)){f=a.isWebGLRenderTargetCube?34067:3553;var g=d.get(b).__webglTexture;c.bindTexture(f,g);u(f,b,a.width,a.height);c.bindTexture(f,null)}};this.updateMultisampleRenderTarget=function(b){if(b.isWebGLMultisampleRenderTarget)if(e.isWebGL2){var c=d.get(b);a.bindFramebuffer(36008,c.__webglMultisampledFramebuffer);a.bindFramebuffer(36009,c.__webglFramebuffer);c=b.width;var f=b.height,g=16384;b.depthBuffer&&(g|=256);b.stencilBuffer&&(g|=1024);a.blitFramebuffer(0,0,c,f,0,0,c,f, +g,9728)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.")};this.safeSetTexture2D=function(a,b){a&&a.isWebGLRenderTarget&&(!1===J&&(console.warn("THREE.WebGLTextures.safeSetTexture2D: don't use render targets as textures. Use their .texture property instead."),J=!0),a=a.texture);w(a,b)};this.safeSetTextureCube=function(a,b){a&&a.isWebGLRenderTargetCube&&(!1===F&&(console.warn("THREE.WebGLTextures.safeSetTextureCube: don't use cube render targets as textures. Use their .texture property instead."), +F=!0),a=a.texture);a&&a.isCubeTexture||Array.isArray(a.image)&&6===a.image.length?z(a,b):x(a,b)}}function Eh(a,b,c){return{convert:function(a){if(1E3===a)return 10497;if(1001===a)return 33071;if(1002===a)return 33648;if(1003===a)return 9728;if(1004===a)return 9984;if(1005===a)return 9986;if(1006===a)return 9729;if(1007===a)return 9985;if(1008===a)return 9987;if(1009===a)return 5121;if(1017===a)return 32819;if(1018===a)return 32820;if(1019===a)return 33635;if(1010===a)return 5120;if(1011===a)return 5122; +if(1012===a)return 5123;if(1013===a)return 5124;if(1014===a)return 5125;if(1015===a)return 5126;if(1016===a){if(c.isWebGL2)return 5131;var d=b.get("OES_texture_half_float");if(null!==d)return d.HALF_FLOAT_OES}if(1021===a)return 6406;if(1022===a)return 6407;if(1023===a)return 6408;if(1024===a)return 6409;if(1025===a)return 6410;if(1026===a)return 6402;if(1027===a)return 34041;if(1028===a)return 6403;if(100===a)return 32774;if(101===a)return 32778;if(102===a)return 32779;if(200===a)return 0;if(201=== +a)return 1;if(202===a)return 768;if(203===a)return 769;if(204===a)return 770;if(205===a)return 771;if(206===a)return 772;if(207===a)return 773;if(208===a)return 774;if(209===a)return 775;if(210===a)return 776;if(33776===a||33777===a||33778===a||33779===a)if(d=b.get("WEBGL_compressed_texture_s3tc"),null!==d){if(33776===a)return d.COMPRESSED_RGB_S3TC_DXT1_EXT;if(33777===a)return d.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(33778===a)return d.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(33779===a)return d.COMPRESSED_RGBA_S3TC_DXT5_EXT}if(35840=== +a||35841===a||35842===a||35843===a)if(d=b.get("WEBGL_compressed_texture_pvrtc"),null!==d){if(35840===a)return d.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(35841===a)return d.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(35842===a)return d.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(35843===a)return d.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}if(36196===a&&(d=b.get("WEBGL_compressed_texture_etc1"),null!==d))return d.COMPRESSED_RGB_ETC1_WEBGL;if(37808===a||37809===a||37810===a||37811===a||37812===a||37813===a||37814===a||37815===a||37816=== +a||37817===a||37818===a||37819===a||37820===a||37821===a)if(d=b.get("WEBGL_compressed_texture_astc"),null!==d)return a;if(103===a||104===a){if(c.isWebGL2){if(103===a)return 32775;if(104===a)return 32776}d=b.get("EXT_blend_minmax");if(null!==d){if(103===a)return d.MIN_EXT;if(104===a)return d.MAX_EXT}}if(1020===a){if(c.isWebGL2)return 34042;d=b.get("WEBGL_depth_texture");if(null!==d)return d.UNSIGNED_INT_24_8_WEBGL}return 0}}}function Hc(){B.call(this);this.type="Group"}function Id(a){la.call(this); +this.cameras=a||[]}function Fh(a,b,c){Gh.setFromMatrixPosition(b.matrixWorld);Hh.setFromMatrixPosition(c.matrixWorld);var d=Gh.distanceTo(Hh),e=b.projectionMatrix.elements,f=c.projectionMatrix.elements,g=e[14]/(e[10]-1);c=e[14]/(e[10]+1);var h=(e[9]+1)/e[5],l=(e[9]-1)/e[5],m=(e[8]-1)/e[0],p=(f[8]+1)/f[0];e=g*m;f=g*p;p=d/(-m+p);m=p*-m;b.matrixWorld.decompose(a.position,a.quaternion,a.scale);a.translateX(m);a.translateZ(p);a.matrixWorld.compose(a.position,a.quaternion,a.scale);a.matrixWorldInverse.getInverse(a.matrixWorld); +b=g+p;g=c+p;a.projectionMatrix.makePerspective(e-m,f+(d-m),h*c/g*b,l*c/g*b,b,g)}function cg(a){function b(){return null!==h&&!0===h.isPresenting}function c(){if(b()){var c=h.getEyeParameters("left");e=2*c.renderWidth*q;f=c.renderHeight*q;Fa=a.getPixelRatio();a.getSize(E);a.setDrawingBufferSize(e,f,1);x.viewport.set(0,0,e/2,f);C.viewport.set(e/2,0,e/2,f);B.start();g.dispatchEvent({type:"sessionstart"})}else g.enabled&&a.setDrawingBufferSize(E.width,E.height,Fa),B.stop(),g.dispatchEvent({type:"sessionend"})} +function d(a,b){null!==b&&4===b.length&&a.set(b[0]*e,b[1]*f,b[2]*e,b[3]*f)}var e,f,g=this,h=null,l=null,m=null,p=[],u=new P,k=new P,q=1,t="local-floor";"undefined"!==typeof window&&"VRFrameData"in window&&(l=new window.VRFrameData,window.addEventListener("vrdisplaypresentchange",c,!1));var y=new P,w=new na,z=new n,x=new la;x.viewport=new da;x.layers.enable(1);var C=new la;C.viewport=new da;C.layers.enable(2);var W=new Id([x,C]);W.layers.enable(1);W.layers.enable(2);var E=new v,Fa,A=[];this.enabled= +!1;this.getController=function(a){var b=p[a];void 0===b&&(b=new Hc,b.matrixAutoUpdate=!1,b.visible=!1,p[a]=b);return b};this.getDevice=function(){return h};this.setDevice=function(a){void 0!==a&&(h=a);B.setContext(a)};this.setFramebufferScaleFactor=function(a){q=a};this.setReferenceSpaceType=function(a){t=a};this.setPoseTarget=function(a){void 0!==a&&(m=a)};this.getCamera=function(a){var c="local-floor"===t?1.6:0;if(!1===b())return a.position.set(0,c,0),a.rotation.set(0,0,0),a;h.depthNear=a.near; +h.depthFar=a.far;h.getFrameData(l);if("local-floor"===t){var e=h.stageParameters;e?u.fromArray(e.sittingToStandingTransform):u.makeTranslation(0,c,0)}c=l.pose;e=null!==m?m:a;e.matrix.copy(u);e.matrix.decompose(e.position,e.quaternion,e.scale);null!==c.orientation&&(w.fromArray(c.orientation),e.quaternion.multiply(w));null!==c.position&&(w.setFromRotationMatrix(u),z.fromArray(c.position),z.applyQuaternion(w),e.position.add(z));e.updateMatrixWorld();x.near=a.near;C.near=a.near;x.far=a.far;C.far=a.far; +x.matrixWorldInverse.fromArray(l.leftViewMatrix);C.matrixWorldInverse.fromArray(l.rightViewMatrix);k.getInverse(u);"local-floor"===t&&(x.matrixWorldInverse.multiply(k),C.matrixWorldInverse.multiply(k));a=e.parent;null!==a&&(y.getInverse(a.matrixWorld),x.matrixWorldInverse.multiply(y),C.matrixWorldInverse.multiply(y));x.matrixWorld.getInverse(x.matrixWorldInverse);C.matrixWorld.getInverse(C.matrixWorldInverse);x.projectionMatrix.fromArray(l.leftProjectionMatrix);C.projectionMatrix.fromArray(l.rightProjectionMatrix); +Fh(W,x,C);a=h.getLayers();a.length&&(a=a[0],d(x.viewport,a.leftBounds),d(C.viewport,a.rightBounds));a:for(a=0;af.matrixWorld.determinant();ha.setMaterial(e,h);var l=r(a,c,e,f),m=!1;if(b!==d.id||Y!==l.id||ba!==(!0===e.wireframe))b=d.id,Y=l.id,ba=!0===e.wireframe,m=!0;f.morphTargetInfluences&&(xa.update(f,d,e,l), +m=!0);h=d.index;var p=d.attributes.position;c=1;!0===e.wireframe&&(h=wa.getWireframeAttribute(d),c=2);a=za;if(null!==h){var k=ua.get(h);a=Ba;a.setIndex(k)}if(m){if(d&&d.isInstancedBufferGeometry&&!Ea.isWebGL2&&null===oa.get("ANGLE_instanced_arrays"))console.error("THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");else{ha.initAttributes();m=d.attributes;l=l.getAttributes();var u=e.defaultAttributeValues; +for(v in l){var q=l[v];if(0<=q){var t=m[v];if(void 0!==t){var n=t.normalized,y=t.itemSize,w=ua.get(t);if(void 0!==w){var x=w.buffer,z=w.type;w=w.bytesPerElement;if(t.isInterleavedBufferAttribute){var C=t.data,E=C.stride;t=t.offset;C&&C.isInstancedInterleavedBuffer?(ha.enableAttributeAndDivisor(q,C.meshPerAttribute),void 0===d.maxInstancedCount&&(d.maxInstancedCount=C.meshPerAttribute*C.count)):ha.enableAttribute(q);M.bindBuffer(34962,x);M.vertexAttribPointer(q,y,z,n,E*w,t*w)}else t.isInstancedBufferAttribute? +(ha.enableAttributeAndDivisor(q,t.meshPerAttribute),void 0===d.maxInstancedCount&&(d.maxInstancedCount=t.meshPerAttribute*t.count)):ha.enableAttribute(q),M.bindBuffer(34962,x),M.vertexAttribPointer(q,y,z,n,0,0)}}else if(void 0!==u&&(n=u[v],void 0!==n))switch(n.length){case 2:M.vertexAttrib2fv(q,n);break;case 3:M.vertexAttrib3fv(q,n);break;case 4:M.vertexAttrib4fv(q,n);break;default:M.vertexAttrib1fv(q,n)}}}ha.disableUnusedAttributes()}null!==h&&M.bindBuffer(34963,k.buffer)}k=Infinity;null!==h?k=h.count: +void 0!==p&&(k=p.count);h=d.drawRange.start*c;p=null!==g?g.start*c:0;var v=Math.max(h,p);g=Math.max(0,Math.min(k,h+d.drawRange.count*c,p+(null!==g?g.count*c:Infinity))-1-v+1);if(0!==g){if(f.isMesh)if(!0===e.wireframe)ha.setLineWidth(e.wireframeLinewidth*(null===K?fa:1)),a.setMode(1);else switch(f.drawMode){case 0:a.setMode(4);break;case 1:a.setMode(5);break;case 2:a.setMode(6)}else f.isLine?(e=e.linewidth,void 0===e&&(e=1),ha.setLineWidth(e*(null===K?fa:1)),f.isLineSegments?a.setMode(1):f.isLineLoop? +a.setMode(2):a.setMode(3)):f.isPoints?a.setMode(0):f.isSprite&&a.setMode(4);d&&d.isInstancedBufferGeometry?0e.far||f.push({distance:a,distanceToRay:Math.sqrt(h), +point:c,index:b,face:null,object:g}))}function hg(a,b,c,d,e,f,g,h,l){ba.call(this,a,b,c,d,e,f,g,h,l);this.format=void 0!==g?g:1022;this.minFilter=void 0!==f?f:1006;this.magFilter=void 0!==e?e:1006;this.generateMipmaps=!1}function Lc(a,b,c,d,e,f,g,h,l,m,p,k){ba.call(this,null,f,g,h,l,m,d,e,p,k);this.image={width:b,height:c};this.mipmaps=a;this.generateMipmaps=this.flipY=!1}function Od(a,b,c,d,e,f,g,h,l){ba.call(this,a,b,c,d,e,f,g,h,l);this.needsUpdate=!0}function Pd(a,b,c,d,e,f,g,h,l,m){m=void 0!== +m?m:1026;if(1026!==m&&1027!==m)throw Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");void 0===c&&1026===m&&(c=1012);void 0===c&&1027===m&&(c=1020);ba.call(this,null,d,e,f,g,h,m,c,l);this.image={width:a,height:b};this.magFilter=void 0!==g?g:1003;this.minFilter=void 0!==h?h:1003;this.generateMipmaps=this.flipY=!1}function Mc(a){D.call(this);this.type="WireframeGeometry";var b=[],c,d,e,f=[0,0],g={},h=["a","b","c"];if(a&&a.isGeometry){var l=a.faces;var m=0;for(d= +l.length;mc;c++){var k=p[h[c]];var r=p[h[(c+1)%3]];f[0]=Math.min(k,r);f[1]=Math.max(k,r);k=f[0]+","+f[1];void 0===g[k]&&(g[k]={index1:f[0],index2:f[1]})}}for(k in g)m=g[k],h=a.vertices[m.index1],b.push(h.x,h.y,h.z),h=a.vertices[m.index2],b.push(h.x,h.y,h.z)}else if(a&&a.isBufferGeometry)if(h=new n,null!==a.index){l=a.attributes.position;p=a.index;var q=a.groups;0===q.length&&(q=[{start:0,count:p.count,materialIndex:0}]);a=0;for(e=q.length;ac;c++)k=p.getX(m+c),r=p.getX(m+(c+1)%3),f[0]=Math.min(k,r),f[1]=Math.max(k,r),k=f[0]+","+f[1],void 0===g[k]&&(g[k]={index1:f[0],index2:f[1]});for(k in g)m=g[k],h.fromBufferAttribute(l,m.index1),b.push(h.x,h.y,h.z),h.fromBufferAttribute(l,m.index2),b.push(h.x,h.y,h.z)}else for(l=a.attributes.position,m=0,d=l.count/3;mc;c++)g=3*m+c,h.fromBufferAttribute(l,g),b.push(h.x,h.y,h.z),g=3*m+(c+1)%3,h.fromBufferAttribute(l,g),b.push(h.x,h.y,h.z);this.addAttribute("position", +new A(b,3))}function Qd(a,b,c){G.call(this);this.type="ParametricGeometry";this.parameters={func:a,slices:b,stacks:c};this.fromBufferGeometry(new Nc(a,b,c));this.mergeVertices()}function Nc(a,b,c){D.call(this);this.type="ParametricBufferGeometry";this.parameters={func:a,slices:b,stacks:c};var d=[],e=[],f=[],g=[],h=new n,l=new n,m=new n,p=new n,k=new n,r,q;3>a.length&&console.error("THREE.ParametricGeometry: Function must now modify a Vector3 as third parameter.");var t=b+1;for(r=0;r<=c;r++){var y= +r/c;for(q=0;q<=b;q++){var w=q/b;a(w,y,l);e.push(l.x,l.y,l.z);0<=w-1E-5?(a(w-1E-5,y,m),p.subVectors(l,m)):(a(w+1E-5,y,m),p.subVectors(m,l));0<=y-1E-5?(a(w,y-1E-5,m),k.subVectors(l,m)):(a(w,y+1E-5,m),k.subVectors(m,l));h.crossVectors(p,k).normalize();f.push(h.x,h.y,h.z);g.push(w,y)}}for(r=0;rd&&1===a.x&&(l[b]=a.x-1);0===c.x&&0===c.z&&(l[b]=d/2/Math.PI+.5)}D.call(this);this.type="PolyhedronBufferGeometry";this.parameters={vertices:a,indices:b,radius:c,detail:d};c= +c||1;d=d||0;var h=[],l=[];(function(a){for(var c=new n,d=new n,g=new n,h=0;he&&(.2>b&&(l[a+0]+=1),.2>c&&(l[a+2]+=1),.2>d&&(l[a+4]+=1))})();this.addAttribute("position",new A(h,3));this.addAttribute("normal",new A(h.slice(),3));this.addAttribute("uv",new A(l,2));0===d?this.computeVertexNormals():this.normalizeNormals()}function Sd(a,b){G.call(this); +this.type="TetrahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new Oc(a,b));this.mergeVertices()}function Oc(a,b){pa.call(this,[1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],[2,1,0,0,3,2,1,3,0,2,3,1],a,b);this.type="TetrahedronBufferGeometry";this.parameters={radius:a,detail:b}}function Td(a,b){G.call(this);this.type="OctahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new bc(a,b));this.mergeVertices()}function bc(a,b){pa.call(this,[1,0,0,-1,0,0,0,1,0,0,-1, +0,0,0,1,0,0,-1],[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2],a,b);this.type="OctahedronBufferGeometry";this.parameters={radius:a,detail:b}}function Ud(a,b){G.call(this);this.type="IcosahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new Pc(a,b));this.mergeVertices()}function Pc(a,b){var c=(1+Math.sqrt(5))/2;pa.call(this,[-1,c,0,1,c,0,-1,-c,0,1,-c,0,0,-1,c,0,1,c,0,-1,-c,0,1,-c,c,0,-1,c,0,1,-c,0,-1,-c,0,1],[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7, +6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1],a,b);this.type="IcosahedronBufferGeometry";this.parameters={radius:a,detail:b}}function Vd(a,b){G.call(this);this.type="DodecahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new Qc(a,b));this.mergeVertices()}function Qc(a,b){var c=(1+Math.sqrt(5))/2,d=1/c;pa.call(this,[-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-d,-c,0,-d,c,0,d,-c,0,d,c,-d,-c,0,-d,c,0,d,-c,0,d,c,0,-c,0,-d,c,0,-d,-c, +0,d,c,0,d],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],a,b);this.type="DodecahedronBufferGeometry";this.parameters={radius:a,detail:b}}function Wd(a,b,c,d,e,f){G.call(this);this.type="TubeGeometry";this.parameters={path:a,tubularSegments:b,radius:c,radialSegments:d,closed:e};void 0!== +f&&console.warn("THREE.TubeGeometry: taper has been removed.");a=new cc(a,b,c,d,e);this.tangents=a.tangents;this.normals=a.normals;this.binormals=a.binormals;this.fromBufferGeometry(a);this.mergeVertices()}function cc(a,b,c,d,e){function f(e){p=a.getPointAt(e/b,p);var f=g.normals[e];e=g.binormals[e];for(r=0;r<=d;r++){var m=r/d*Math.PI*2,k=Math.sin(m);m=-Math.cos(m);l.x=m*f.x+k*e.x;l.y=m*f.y+k*e.y;l.z=m*f.z+k*e.z;l.normalize();t.push(l.x,l.y,l.z);h.x=p.x+c*l.x;h.y=p.y+c*l.y;h.z=p.z+c*l.z;q.push(h.x, +h.y,h.z)}}D.call(this);this.type="TubeBufferGeometry";this.parameters={path:a,tubularSegments:b,radius:c,radialSegments:d,closed:e};b=b||64;c=c||1;d=d||8;e=e||!1;var g=a.computeFrenetFrames(b,e);this.tangents=g.tangents;this.normals=g.normals;this.binormals=g.binormals;var h=new n,l=new n,m=new v,p=new n,k,r,q=[],t=[],y=[],w=[];for(k=0;k=b;e-=d)f=Mh(e,a[e],a[e+1],f);f&&dc(f,f.next)&&(Zd(f),f=f.next);return f}function $d(a,b){if(!a)return a;b||(b=a);do{var c=!1;if(a.steiner||!dc(a,a.next)&&0!==ua(a.prev,a,a.next))a=a.next;else{Zd(a);a=b=a.prev;if(a===a.next)break;c=!0}}while(c||a!==b);return b} +function ae(a,b,c,d,e,f,g){if(a){if(!g&&f){var h=a,l=h;do null===l.z&&(l.z=ig(l.x,l.y,d,e,f)),l.prevZ=l.prev,l=l.nextZ=l.next;while(l!==h);l.prevZ.nextZ=null;l.prevZ=null;h=l;var m,p,k,r,q=1;do{l=h;var t=h=null;for(p=0;l;){p++;var n=l;for(m=k=0;mn!==t.next.y>n&&t.next.y!==t.y&&k<(t.next.x-t.x)*(n-t.y)/(t.next.y-t.y)+t.x&&(p=!p),t=t.next;while(t!==l);t=p}l=t}if(l){a=Oh(g,h);g=$d(g,g.next);a=$d(a,a.next);ae(g,b,c,d,e,f);ae(a,b,c,d,e,f);break a}h= +h.next}g=g.next}while(g!==a)}break}}}}function ak(a,b,c,d){var e=a.prev,f=a.next;if(0<=ua(e,a,f))return!1;var g=e.x>a.x?e.x>f.x?e.x:f.x:a.x>f.x?a.x:f.x,h=e.y>a.y?e.y>f.y?e.y:f.y:a.y>f.y?a.y:f.y,l=ig(e.x=l&&d&&d.z<=b;){if(c!==a.prev&&c!==a.next&&Tc(e.x,e.y,a.x,a.y,f.x,f.y,c.x,c.y)&&0<=ua(c.prev,c,c.next))return!1;c=c.prevZ;if(d!==a.prev&&d!==a.next&&Tc(e.x,e.y,a.x,a.y, +f.x,f.y,d.x,d.y)&&0<=ua(d.prev,d,d.next))return!1;d=d.nextZ}for(;c&&c.z>=l;){if(c!==a.prev&&c!==a.next&&Tc(e.x,e.y,a.x,a.y,f.x,f.y,c.x,c.y)&&0<=ua(c.prev,c,c.next))return!1;c=c.prevZ}for(;d&&d.z<=b;){if(d!==a.prev&&d!==a.next&&Tc(e.x,e.y,a.x,a.y,f.x,f.y,d.x,d.y)&&0<=ua(d.prev,d,d.next))return!1;d=d.nextZ}return!0}function bk(a,b){return a.x-b.x}function ck(a,b){var c=b,d=a.x,e=a.y,f=-Infinity;do{if(e<=c.y&&e>=c.next.y&&c.next.y!==c.y){var g=c.x+(e-c.y)*(c.next.x-c.x)/(c.next.y-c.y);if(g<=d&&g>f){f= +g;if(g===d){if(e===c.y)return c;if(e===c.next.y)return c.next}var h=c.x=c.x&&c.x>=g&&d!==c.x&&Tc(eh.x)&&be(c,a)&&(h=c,m=p)}c=c.next}return h}function ig(a,b,c,d,e){a=32767*(a-c)*e;b=32767*(b-d)*e;a=(a|a<<8)&16711935;a=(a|a<<4)&252645135;a=(a|a<<2)&858993459;b=(b|b<<8)&16711935;b=(b| +b<<4)&252645135;b=(b|b<<2)&858993459;return(a|a<<1)&1431655765|((b|b<<1)&1431655765)<<1}function dk(a){var b=a,c=a;do{if(b.xua(a.prev,a,a.next)?0<=ua(a,b,a.next)&&0<=ua(a,a.prev,b):0>ua(a,b,a.prev)||0>ua(a,a.next,b)}function Oh(a,b){var c=new jg(a.i,a.x,a.y),d=new jg(b.i,b.x,b.y),e=a.next,f=b.prev;a.next=b;b.prev=a;c.next=e;e.prev=c;d.next=c;c.prev=d;f.next=d;d.prev=f;return d}function Mh(a,b,c,d){a=new jg(a,b,c);d?(a.next=d.next,a.prev=d,d.next.prev=a,d.next=a):(a.prev=a,a.next=a);return a}function Zd(a){a.next.prev=a.prev;a.prev.next=a.next;a.prevZ&&(a.prevZ.nextZ= +a.nextZ);a.nextZ&&(a.nextZ.prevZ=a.prevZ)}function jg(a,b,c){this.i=a;this.x=b;this.y=c;this.nextZ=this.prevZ=this.z=this.next=this.prev=null;this.steiner=!1}function Ph(a){var b=a.length;2Number.EPSILON){var l=Math.sqrt(h),m=Math.sqrt(f*f+g*g);h=b.x-e/l;b=b.y+d/l;g=((c.x-g/m-h)*g-(c.y+f/m-b)*f)/(d*g-e*f);f=h+d*g-a.x;d=b+e*g-a.y;e=f*f+d*d;if(2>=e)return new v(f,d);e=Math.sqrt(e/2)}else a=!1,d>Number.EPSILON?f>Number.EPSILON&&(a=!0):d<-Number.EPSILON?f<-Number.EPSILON&&(a=!0):Math.sign(e)=== +Math.sign(g)&&(a=!0),a?(f=-e,e=Math.sqrt(h)):(f=d,d=e,e=Math.sqrt(h/2));return new v(f/e,d/e)}function h(a,b){for(L=a.length;0<=--L;){var c=L;var f=L-1;0>f&&(f=a.length-1);var g,h=x+2*D;for(g=0;gk;k++){var n=m[f[k]];var r=m[f[(k+1)%3]];d[0]=Math.min(n,r);d[1]=Math.max(n,r);n=d[0]+","+d[1];void 0===e[n]?e[n]={index1:d[0],index2:d[1],face1:h,face2:void 0}:e[n].face2=h}for(n in e)if(d=e[n],void 0===d.face2||g[d.face1].normal.dot(g[d.face2].normal)<=b)f=a[d.index1],c.push(f.x,f.y,f.z),f=a[d.index2],c.push(f.x,f.y,f.z);this.addAttribute("position",new A(c,3))}function hc(a,b,c,d,e,f,g,h){G.call(this);this.type="CylinderGeometry"; +this.parameters={radiusTop:a,radiusBottom:b,height:c,radialSegments:d,heightSegments:e,openEnded:f,thetaStart:g,thetaLength:h};this.fromBufferGeometry(new rb(a,b,c,d,e,f,g,h));this.mergeVertices()}function rb(a,b,c,d,e,f,g,h){function l(c){var e,f=new v,l=new n,p=0,y=!0===c?a:b,x=!0===c?1:-1;var A=t;for(e=1;e<=d;e++)u.push(0,w*x,0),r.push(0,x,0),q.push(.5,.5),t++;var B=t;for(e=0;e<=d;e++){var D=e/d*h+g,F=Math.cos(D);D=Math.sin(D);l.x=y*D;l.y=w*x;l.z=y*F;u.push(l.x,l.y,l.z);r.push(0,x,0);f.x=.5*F+ +.5;f.y=.5*D*x+.5;q.push(f.x,f.y);t++}for(e=0;ethis.duration&&this.resetDuration()}function fk(a){switch(a.toLowerCase()){case "scalar":case "double":case "float":case "number":case "integer":return $c;case "vector":case "vector2":case "vector3":case "vector4":return ad; +case "color":return Re;case "quaternion":return ke;case "bool":case "boolean":return Qe;case "string":return Te}throw Error("THREE.KeyframeTrack: Unsupported typeName: "+a);}function gk(a){if(void 0===a.type)throw Error("THREE.KeyframeTrack: track type undefined, can not parse");var b=fk(a.type);if(void 0===a.times){var c=[],d=[];Z.flattenJSON(a.keys,c,d,"value");a.times=c;a.values=d}return void 0!==b.parse?b.parse(a):new b(a.name,a.times,a.values,a.interpolation)}function kg(a,b,c){var d=this,e= +!1,f=0,g=0,h=void 0;this.onStart=void 0;this.onLoad=a;this.onProgress=b;this.onError=c;this.itemStart=function(a){g++;if(!1===e&&void 0!==d.onStart)d.onStart(a,f,g);e=!0};this.itemEnd=function(a){f++;if(void 0!==d.onProgress)d.onProgress(a,f,g);if(f===g&&(e=!1,void 0!==d.onLoad))d.onLoad()};this.itemError=function(a){if(void 0!==d.onError)d.onError(a)};this.resolveURL=function(a){return h?h(a):a};this.setURLModifier=function(a){h=a;return this}}function aa(a){this.manager=void 0!==a?a:Th;this.crossOrigin= +"anonymous";this.resourcePath=this.path=""}function Na(a){aa.call(this,a)}function lg(a){aa.call(this,a)}function mg(a){aa.call(this,a);this._parser=null}function Ue(a){aa.call(this,a);this._parser=null}function bd(a){aa.call(this,a)}function Ve(a){aa.call(this,a)}function We(a){aa.call(this,a)}function F(){this.type="Curve";this.arcLengthDivisions=200}function Ia(a,b,c,d,e,f,g,h){F.call(this);this.type="EllipseCurve";this.aX=a||0;this.aY=b||0;this.xRadius=c||1;this.yRadius=d||1;this.aStartAngle= +e||0;this.aEndAngle=f||2*Math.PI;this.aClockwise=g||!1;this.aRotation=h||0}function cd(a,b,c,d,e,f){Ia.call(this,a,b,c,c,d,e,f);this.type="ArcCurve"}function ng(){var a=0,b=0,c=0,d=0;return{initCatmullRom:function(e,f,g,h,l){e=l*(g-e);h=l*(h-f);a=f;b=e;c=-3*f+3*g-2*e-h;d=2*f-2*g+e+h},initNonuniformCatmullRom:function(e,f,g,h,l,m,k){e=((f-e)/l-(g-e)/(l+m)+(g-f)/m)*m;h=((g-f)/m-(h-f)/(m+k)+(h-g)/k)*m;a=f;b=e;c=-3*f+3*g-2*e-h;d=2*f-2*g+e+h},calc:function(e){var f=e*e;return a+b*e+c*f+d*f*e}}}function sa(a, +b,c,d){F.call(this);this.type="CatmullRomCurve3";this.points=a||[];this.closed=b||!1;this.curveType=c||"centripetal";this.tension=d||.5}function Uh(a,b,c,d,e){b=.5*(d-b);e=.5*(e-c);var f=a*a;return(2*c-2*d+b+e)*a*f+(-3*c+3*d-2*b-e)*f+b*a+c}function le(a,b,c,d){var e=1-a;return e*e*b+2*(1-a)*a*c+a*a*d}function me(a,b,c,d,e){var f=1-a,g=1-a;return f*f*f*b+3*g*g*a*c+3*(1-a)*a*a*d+a*a*a*e}function Sa(a,b,c,d){F.call(this);this.type="CubicBezierCurve";this.v0=a||new v;this.v1=b||new v;this.v2=c||new v; +this.v3=d||new v}function gb(a,b,c,d){F.call(this);this.type="CubicBezierCurve3";this.v0=a||new n;this.v1=b||new n;this.v2=c||new n;this.v3=d||new n}function Da(a,b){F.call(this);this.type="LineCurve";this.v1=a||new v;this.v2=b||new v}function Ta(a,b){F.call(this);this.type="LineCurve3";this.v1=a||new n;this.v2=b||new n}function Ua(a,b,c){F.call(this);this.type="QuadraticBezierCurve";this.v0=a||new v;this.v1=b||new v;this.v2=c||new v}function hb(a,b,c){F.call(this);this.type="QuadraticBezierCurve3"; +this.v0=a||new n;this.v1=b||new n;this.v2=c||new n}function Va(a){F.call(this);this.type="SplineCurve";this.points=a||[]}function sb(){F.call(this);this.type="CurvePath";this.curves=[];this.autoClose=!1}function Wa(a){sb.call(this);this.type="Path";this.currentPoint=new v;a&&this.setFromPoints(a)}function Jb(a){Wa.call(this,a);this.uuid=O.generateUUID();this.type="Shape";this.holes=[]}function V(a,b){B.call(this);this.type="Light";this.color=new J(a);this.intensity=void 0!==b?b:1;this.receiveShadow= +void 0}function Xe(a,b,c){V.call(this,a,c);this.type="HemisphereLight";this.castShadow=void 0;this.position.copy(B.DefaultUp);this.updateMatrix();this.groundColor=new J(b)}function ib(a){this.camera=a;this.bias=0;this.radius=1;this.mapSize=new v(512,512);this.mapPass=this.map=null;this.matrix=new P;this._frustum=new Ed;this._frameExtents=new v(1,1);this._viewportCount=1;this._viewports=[new da(0,0,1,1)]}function Ye(){ib.call(this,new la(50,1,.5,500))}function Ze(a,b,c,d,e,f){V.call(this,a,b);this.type= +"SpotLight";this.position.copy(B.DefaultUp);this.updateMatrix();this.target=new B;Object.defineProperty(this,"power",{get:function(){return this.intensity*Math.PI},set:function(a){this.intensity=a/Math.PI}});this.distance=void 0!==c?c:0;this.angle=void 0!==d?d:Math.PI/3;this.penumbra=void 0!==e?e:0;this.decay=void 0!==f?f:1;this.shadow=new Ye}function og(){ib.call(this,new la(90,1,.5,500));this._frameExtents=new v(4,2);this._viewportCount=6;this._viewports=[new da(2,1,1,1),new da(0,1,1,1),new da(3, +1,1,1),new da(1,1,1,1),new da(3,0,1,1),new da(1,0,1,1)];this._cubeDirections=[new n(1,0,0),new n(-1,0,0),new n(0,0,1),new n(0,0,-1),new n(0,1,0),new n(0,-1,0)];this._cubeUps=[new n(0,1,0),new n(0,1,0),new n(0,1,0),new n(0,1,0),new n(0,0,1),new n(0,0,-1)]}function $e(a,b,c,d){V.call(this,a,b);this.type="PointLight";Object.defineProperty(this,"power",{get:function(){return 4*this.intensity*Math.PI},set:function(a){this.intensity=a/(4*Math.PI)}});this.distance=void 0!==c?c:0;this.decay=void 0!==d?d: +1;this.shadow=new og}function ne(a,b,c,d,e,f){bb.call(this);this.type="OrthographicCamera";this.zoom=1;this.view=null;this.left=void 0!==a?a:-1;this.right=void 0!==b?b:1;this.top=void 0!==c?c:1;this.bottom=void 0!==d?d:-1;this.near=void 0!==e?e:.1;this.far=void 0!==f?f:2E3;this.updateProjectionMatrix()}function af(){ib.call(this,new ne(-5,5,5,-5,.5,500))}function bf(a,b){V.call(this,a,b);this.type="DirectionalLight";this.position.copy(B.DefaultUp);this.updateMatrix();this.target=new B;this.shadow= +new af}function cf(a,b){V.call(this,a,b);this.type="AmbientLight";this.castShadow=void 0}function df(a,b,c,d){V.call(this,a,b);this.type="RectAreaLight";this.width=void 0!==c?c:10;this.height=void 0!==d?d:10}function ef(a){aa.call(this,a);this.textures={}}function ff(){D.call(this);this.type="InstancedBufferGeometry";this.maxInstancedCount=void 0}function gf(a,b,c,d){"number"===typeof c&&(d=c,c=!1,console.error("THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument.")); +N.call(this,a,b,c);this.meshPerAttribute=d||1}function hf(a){aa.call(this,a)}function jf(a){aa.call(this,a)}function pg(a){"undefined"===typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported.");"undefined"===typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported.");aa.call(this,a);this.options=void 0}function qg(){this.type="ShapePath";this.color=new J;this.subPaths=[];this.currentPath=null}function rg(a){this.type="Font";this.data= +a}function sg(a){aa.call(this,a)}function kf(a){aa.call(this,a)}function lf(){this.coefficients=[];for(var a=0;9>a;a++)this.coefficients.push(new n)}function Xa(a,b){V.call(this,void 0,b);this.sh=void 0!==a?a:new lf}function tg(a,b,c){Xa.call(this,void 0,c);a=(new J).set(a);c=(new J).set(b);b=new n(a.r,a.g,a.b);a=new n(c.r,c.g,c.b);c=Math.sqrt(Math.PI);var d=c*Math.sqrt(.75);this.sh.coefficients[0].copy(b).add(a).multiplyScalar(c);this.sh.coefficients[1].copy(b).sub(a).multiplyScalar(d)}function ug(a, +b){Xa.call(this,void 0,b);a=(new J).set(a);this.sh.coefficients[0].set(a.r,a.g,a.b).multiplyScalar(2*Math.sqrt(Math.PI))}function Vh(){this.type="StereoCamera";this.aspect=1;this.eyeSep=.064;this.cameraL=new la;this.cameraL.layers.enable(1);this.cameraL.matrixAutoUpdate=!1;this.cameraR=new la;this.cameraR.layers.enable(2);this.cameraR.matrixAutoUpdate=!1;this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}function vg(a){this.autoStart=void 0!==a?a:!0;this.elapsedTime= +this.oldTime=this.startTime=0;this.running=!1}function wg(){B.call(this);this.type="AudioListener";this.context=xg.getContext();this.gain=this.context.createGain();this.gain.connect(this.context.destination);this.filter=null;this.timeDelta=0;this._clock=new vg}function dd(a){B.call(this);this.type="Audio";this.listener=a;this.context=a.context;this.gain=this.context.createGain();this.gain.connect(a.getInput());this.autoplay=!1;this.buffer=null;this.detune=0;this.loop=!1;this.offset=this.startTime= +0;this.duration=void 0;this.playbackRate=1;this.isPlaying=!1;this.hasPlaybackControl=!0;this.sourceType="empty";this.filters=[]}function yg(a){dd.call(this,a);this.panner=this.context.createPanner();this.panner.panningModel="HRTF";this.panner.connect(this.gain)}function zg(a,b){this.analyser=a.context.createAnalyser();this.analyser.fftSize=void 0!==b?b:2048;this.data=new Uint8Array(this.analyser.frequencyBinCount);a.getOutput().connect(this.analyser)}function Ag(a,b,c){this.binding=a;this.valueSize= +c;a=Float64Array;switch(b){case "quaternion":b=this._slerp;break;case "string":case "bool":a=Array;b=this._select;break;default:b=this._lerp}this.buffer=new a(4*c);this._mixBufferRegion=b;this.referenceCount=this.useCount=this.cumulativeWeight=0}function Wh(a,b,c){c=c||ma.parseTrackName(b);this._targetGroup=a;this._bindings=a.subscribe_(b,c)}function ma(a,b,c){this.path=b;this.parsedPath=c||ma.parseTrackName(b);this.node=ma.findNode(a,this.parsedPath.nodeName)||a;this.rootNode=a}function Xh(){this.uuid= +O.generateUUID();this._objects=Array.prototype.slice.call(arguments);this.nCachedObjects_=0;var a={};this._indicesByUUID=a;for(var b=0,c=arguments.length;b!==c;++b)a[arguments[b].uuid]=b;this._paths=[];this._parsedPaths=[];this._bindings=[];this._bindingsIndicesByPath={};var d=this;this.stats={objects:{get total(){return d._objects.length},get inUse(){return this.total-d.nCachedObjects_}},get bindingsPerObject(){return d._bindings.length}}}function Yh(a,b,c){this._mixer=a;this._clip=b;this._localRoot= +c||null;a=b.tracks;b=a.length;c=Array(b);for(var d={endingStart:2400,endingEnd:2400},e=0;e!==b;++e){var f=a[e].createInterpolant(null);c[e]=f;f.settings=d}this._interpolantSettings=d;this._interpolants=c;this._propertyBindings=Array(b);this._weightInterpolant=this._timeScaleInterpolant=this._byClipCacheIndex=this._cacheIndex=null;this.loop=2201;this._loopCount=-1;this._startTime=null;this.time=0;this._effectiveWeight=this.weight=this._effectiveTimeScale=this.timeScale=1;this.repetitions=Infinity; +this.paused=!1;this.enabled=!0;this.clampWhenFinished=!1;this.zeroSlopeAtEnd=this.zeroSlopeAtStart=!0}function Bg(a){this._root=a;this._initMemoryManager();this.time=this._accuIndex=0;this.timeScale=1}function mf(a,b){"string"===typeof a&&(console.warn("THREE.Uniform: Type parameter is no longer needed."),a=b);this.value=a}function Cg(a,b,c){ac.call(this,a,b);this.meshPerAttribute=c||1}function Zh(a,b,c,d){this.ray=new Sb(a,b);this.near=c||0;this.far=d||Infinity;this.camera=null;this.params={Mesh:{}, +Line:{},LOD:{},Points:{threshold:1},Sprite:{}};Object.defineProperties(this.params,{PointCloud:{get:function(){console.warn("THREE.Raycaster: params.PointCloud has been renamed to params.Points.");return this.Points}}})}function $h(a,b){return a.distance-b.distance}function Dg(a,b,c,d){if(!1!==a.visible&&(a.raycast(b,c),!0===d)){a=a.children;d=0;for(var e=a.length;dc;c++,d++){var e=c/32*Math.PI*2,f=d/32*Math.PI*2;b.push(Math.cos(e),Math.sin(e),1, +Math.cos(f),Math.sin(f),1)}a.addAttribute("position",new A(b,3));b=new Y({fog:!1});this.cone=new R(a,b);this.add(this.cone);this.update()}function ci(a){var b=[];a&&a.isBone&&b.push(a);for(var c=0;ca?-1:0ve;ve++)qa[ve]=(16>ve?"0":"")+ +ve.toString(16);var O={DEG2RAD:Math.PI/180,RAD2DEG:180/Math.PI,generateUUID:function(){var a=4294967295*Math.random()|0,b=4294967295*Math.random()|0,c=4294967295*Math.random()|0,d=4294967295*Math.random()|0;return(qa[a&255]+qa[a>>8&255]+qa[a>>16&255]+qa[a>>24&255]+"-"+qa[b&255]+qa[b>>8&255]+"-"+qa[b>>16&15|64]+qa[b>>24&255]+"-"+qa[c&63|128]+qa[c>>8&255]+"-"+qa[c>>16&255]+qa[c>>24&255]+qa[d&255]+qa[d>>8&255]+qa[d>>16&255]+qa[d>>24&255]).toUpperCase()},clamp:function(a,b,c){return Math.max(b,Math.min(c, +a))},euclideanModulo:function(a,b){return(a%b+b)%b},mapLinear:function(a,b,c,d,e){return d+(a-b)*(e-d)/(c-b)},lerp:function(a,b,c){return(1-c)*a+c*b},smoothstep:function(a,b,c){if(a<=b)return 0;if(a>=c)return 1;a=(a-b)/(c-b);return a*a*(3-2*a)},smootherstep:function(a,b,c){if(a<=b)return 0;if(a>=c)return 1;a=(a-b)/(c-b);return a*a*a*(a*(6*a-15)+10)},randInt:function(a,b){return a+Math.floor(Math.random()*(b-a+1))},randFloat:function(a,b){return a+Math.random()*(b-a)},randFloatSpread:function(a){return a* +(.5-Math.random())},degToRad:function(a){return a*O.DEG2RAD},radToDeg:function(a){return a*O.RAD2DEG},isPowerOfTwo:function(a){return 0===(a&a-1)&&0!==a},ceilPowerOfTwo:function(a){return Math.pow(2,Math.ceil(Math.log(a)/Math.LN2))},floorPowerOfTwo:function(a){return Math.pow(2,Math.floor(Math.log(a)/Math.LN2))}};Object.defineProperties(v.prototype,{width:{get:function(){return this.x},set:function(a){this.x=a}},height:{get:function(){return this.y},set:function(a){this.y=a}}});Object.assign(v.prototype, +{isVector2:!0,set:function(a,b){this.x=a;this.y=b;return this},setScalar:function(a){this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;case 1:return this.y;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x, +this.y)},copy:function(a){this.x=a.x;this.y=a.y;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,b);this.x+=a.x;this.y+=a.y;return this},addScalar:function(a){this.x+=a;this.y+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."), +this.subVectors(a,b);this.x-=a.x;this.y-=a.y;return this},subScalar:function(a){this.x-=a;this.y-=a;return this},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;return this},multiply:function(a){this.x*=a.x;this.y*=a.y;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;return this},divide:function(a){this.x/=a.x;this.y/=a.y;return this},divideScalar:function(a){return this.multiplyScalar(1/a)},applyMatrix3:function(a){var b=this.x,c=this.y;a=a.elements;this.x=a[0]*b+a[3]*c+a[6];this.y= +a[1]*b+a[4]*c+a[7];return this},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y);return this},max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));return this},clampScalar:function(a,b){this.x=Math.max(a,Math.min(b,this.x));this.y=Math.max(a,Math.min(b,this.y));return this},clampLength:function(a,b){var c=this.length();return this.divideScalar(c|| +1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this},round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);return this},negate:function(){this.x=-this.x;this.y=-this.y;return this},dot:function(a){return this.x* +a.x+this.y*a.y},cross:function(a){return this.x*a.y-this.y*a.x},lengthSq:function(){return this.x*this.x+this.y*this.y},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)},normalize:function(){return this.divideScalar(this.length()||1)},angle:function(){var a=Math.atan2(this.y,this.x);0>a&&(a+=2*Math.PI);return a},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},distanceToSquared:function(a){var b= +this.x-a.x;a=this.y-a.y;return b*b+a*a},manhattanDistanceTo:function(a){return Math.abs(this.x-a.x)+Math.abs(this.y-a.y)},setLength:function(a){return this.normalize().multiplyScalar(a)},lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;return this},lerpVectors:function(a,b,c){return this.subVectors(b,a).multiplyScalar(c).add(a)},equals:function(a){return a.x===this.x&&a.y===this.y},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];return this},toArray:function(a, +b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;return a},fromBufferAttribute:function(a,b,c){void 0!==c&&console.warn("THREE.Vector2: offset has been removed from .fromBufferAttribute().");this.x=a.getX(b);this.y=a.getY(b);return this},rotateAround:function(a,b){var c=Math.cos(b);b=Math.sin(b);var d=this.x-a.x,e=this.y-a.y;this.x=d*c-e*b+a.x;this.y=d*b+e*c+a.y;return this}});Object.assign(na,{slerp:function(a,b,c,d){return c.copy(a).slerp(b,d)},slerpFlat:function(a,b,c,d,e,f,g){var h= +c[d+0],l=c[d+1],m=c[d+2];c=c[d+3];d=e[f+0];var k=e[f+1],n=e[f+2];e=e[f+3];if(c!==e||h!==d||l!==k||m!==n){f=1-g;var r=h*d+l*k+m*n+c*e,q=0<=r?1:-1,t=1-r*r;t>Number.EPSILON&&(t=Math.sqrt(t),r=Math.atan2(t,r*q),f=Math.sin(f*r)/t,g=Math.sin(g*r)/t);q*=g;h=h*f+d*q;l=l*f+k*q;m=m*f+n*q;c=c*f+e*q;f===1-g&&(g=1/Math.sqrt(h*h+l*l+m*m+c*c),h*=g,l*=g,m*=g,c*=g)}a[b]=h;a[b+1]=l;a[b+2]=m;a[b+3]=c}});Object.defineProperties(na.prototype,{x:{get:function(){return this._x},set:function(a){this._x=a;this._onChangeCallback()}}, +y:{get:function(){return this._y},set:function(a){this._y=a;this._onChangeCallback()}},z:{get:function(){return this._z},set:function(a){this._z=a;this._onChangeCallback()}},w:{get:function(){return this._w},set:function(a){this._w=a;this._onChangeCallback()}}});Object.assign(na.prototype,{isQuaternion:!0,set:function(a,b,c,d){this._x=a;this._y=b;this._z=c;this._w=d;this._onChangeCallback();return this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._w)},copy:function(a){this._x= +a.x;this._y=a.y;this._z=a.z;this._w=a.w;this._onChangeCallback();return this},setFromEuler:function(a,b){if(!a||!a.isEuler)throw Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");var c=a._x,d=a._y,e=a._z;a=a.order;var f=Math.cos,g=Math.sin,h=f(c/2),l=f(d/2);f=f(e/2);c=g(c/2);d=g(d/2);e=g(e/2);"XYZ"===a?(this._x=c*l*f+h*d*e,this._y=h*d*f-c*l*e,this._z=h*l*e+c*d*f,this._w=h*l*f-c*d*e):"YXZ"===a?(this._x=c*l*f+h*d*e,this._y=h*d*f-c*l*e,this._z= +h*l*e-c*d*f,this._w=h*l*f+c*d*e):"ZXY"===a?(this._x=c*l*f-h*d*e,this._y=h*d*f+c*l*e,this._z=h*l*e+c*d*f,this._w=h*l*f-c*d*e):"ZYX"===a?(this._x=c*l*f-h*d*e,this._y=h*d*f+c*l*e,this._z=h*l*e-c*d*f,this._w=h*l*f+c*d*e):"YZX"===a?(this._x=c*l*f+h*d*e,this._y=h*d*f+c*l*e,this._z=h*l*e-c*d*f,this._w=h*l*f-c*d*e):"XZY"===a&&(this._x=c*l*f-h*d*e,this._y=h*d*f-c*l*e,this._z=h*l*e+c*d*f,this._w=h*l*f+c*d*e);!1!==b&&this._onChangeCallback();return this},setFromAxisAngle:function(a,b){b/=2;var c=Math.sin(b); +this._x=a.x*c;this._y=a.y*c;this._z=a.z*c;this._w=Math.cos(b);this._onChangeCallback();return this},setFromRotationMatrix:function(a){var b=a.elements,c=b[0];a=b[4];var d=b[8],e=b[1],f=b[5],g=b[9],h=b[2],l=b[6];b=b[10];var m=c+f+b;0f&&c>b?(c=2*Math.sqrt(1+c-f-b),this._w=(l-g)/c,this._x=.25*c,this._y=(a+e)/c,this._z=(d+h)/c):f>b?(c=2*Math.sqrt(1+f-c-b),this._w=(d-h)/c,this._x=(a+e)/c,this._y=.25*c,this._z=(g+l)/ +c):(c=2*Math.sqrt(1+b-c-f),this._w=(e-a)/c,this._x=(d+h)/c,this._y=(g+l)/c,this._z=.25*c);this._onChangeCallback();return this},setFromUnitVectors:function(a,b){var c=a.dot(b)+1;1E-6>c?(c=0,Math.abs(a.x)>Math.abs(a.z)?(this._x=-a.y,this._y=a.x,this._z=0):(this._x=0,this._y=-a.z,this._z=a.y)):(this._x=a.y*b.z-a.z*b.y,this._y=a.z*b.x-a.x*b.z,this._z=a.x*b.y-a.y*b.x);this._w=c;return this.normalize()},angleTo:function(a){return 2*Math.acos(Math.abs(O.clamp(this.dot(a),-1,1)))},rotateTowards:function(a, +b){var c=this.angleTo(a);if(0===c)return this;this.slerp(a,Math.min(1,b/c));return this},inverse:function(){return this.conjugate()},conjugate:function(){this._x*=-1;this._y*=-1;this._z*=-1;this._onChangeCallback();return this},dot:function(a){return this._x*a._x+this._y*a._y+this._z*a._z+this._w*a._w},lengthSq:function(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w},length:function(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)},normalize:function(){var a= +this.length();0===a?(this._z=this._y=this._x=0,this._w=1):(a=1/a,this._x*=a,this._y*=a,this._z*=a,this._w*=a);this._onChangeCallback();return this},multiply:function(a,b){return void 0!==b?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."),this.multiplyQuaternions(a,b)):this.multiplyQuaternions(this,a)},premultiply:function(a){return this.multiplyQuaternions(a,this)},multiplyQuaternions:function(a,b){var c=a._x,d=a._y,e=a._z;a=a._w; +var f=b._x,g=b._y,h=b._z;b=b._w;this._x=c*b+a*f+d*h-e*g;this._y=d*b+a*g+e*f-c*h;this._z=e*b+a*h+c*g-d*f;this._w=a*b-c*f-d*g-e*h;this._onChangeCallback();return this},slerp:function(a,b){if(0===b)return this;if(1===b)return this.copy(a);var c=this._x,d=this._y,e=this._z,f=this._w,g=f*a._w+c*a._x+d*a._y+e*a._z;0>g?(this._w=-a._w,this._x=-a._x,this._y=-a._y,this._z=-a._z,g=-g):this.copy(a);if(1<=g)return this._w=f,this._x=c,this._y=d,this._z=e,this;a=1-g*g;if(a<=Number.EPSILON)return g=1-b,this._w=g* +f+b*this._w,this._x=g*c+b*this._x,this._y=g*d+b*this._y,this._z=g*e+b*this._z,this.normalize(),this._onChangeCallback(),this;a=Math.sqrt(a);var h=Math.atan2(a,g);g=Math.sin((1-b)*h)/a;b=Math.sin(b*h)/a;this._w=f*g+this._w*b;this._x=c*g+this._x*b;this._y=d*g+this._y*b;this._z=e*g+this._z*b;this._onChangeCallback();return this},equals:function(a){return a._x===this._x&&a._y===this._y&&a._z===this._z&&a._w===this._w},fromArray:function(a,b){void 0===b&&(b=0);this._x=a[b];this._y=a[b+1];this._z=a[b+2]; +this._w=a[b+3];this._onChangeCallback();return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this._x;a[b+1]=this._y;a[b+2]=this._z;a[b+3]=this._w;return a},_onChange:function(a){this._onChangeCallback=a;return this},_onChangeCallback:function(){}});var Ig=new n,fi=new na;Object.assign(n.prototype,{isVector3:!0,set:function(a,b,c){this.x=a;this.y=b;this.z=c;return this},setScalar:function(a){this.z=this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y= +a;return this},setZ:function(a){this.z=a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;case 2:this.z=b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,this.y,this.z)},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;return this}, +add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,b);this.x+=a.x;this.y+=a.y;this.z+=a.z;return this},addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;this.z+=a.z*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."), +this.subVectors(a,b);this.x-=a.x;this.y-=a.y;this.z-=a.z;return this},subScalar:function(a){this.x-=a;this.y-=a;this.z-=a;return this},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;return this},multiply:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(a,b);this.x*=a.x;this.y*=a.y;this.z*=a.z;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*= +a;return this},multiplyVectors:function(a,b){this.x=a.x*b.x;this.y=a.y*b.y;this.z=a.z*b.z;return this},applyEuler:function(a){a&&a.isEuler||console.error("THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order.");return this.applyQuaternion(fi.setFromEuler(a))},applyAxisAngle:function(a,b){return this.applyQuaternion(fi.setFromAxisAngle(a,b))},applyMatrix3:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;this.x=a[0]*b+a[3]*c+a[6]*d;this.y=a[1]*b+a[4]*c+a[7]* +d;this.z=a[2]*b+a[5]*c+a[8]*d;return this},applyMatrix4:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;var e=1/(a[3]*b+a[7]*c+a[11]*d+a[15]);this.x=(a[0]*b+a[4]*c+a[8]*d+a[12])*e;this.y=(a[1]*b+a[5]*c+a[9]*d+a[13])*e;this.z=(a[2]*b+a[6]*c+a[10]*d+a[14])*e;return this},applyQuaternion:function(a){var b=this.x,c=this.y,d=this.z,e=a.x,f=a.y,g=a.z;a=a.w;var h=a*b+f*d-g*c,l=a*c+g*b-e*d,m=a*d+e*c-f*b;b=-e*b-f*c-g*d;this.x=h*a+b*-e+l*-g-m*-f;this.y=l*a+b*-f+m*-e-h*-g;this.z=m*a+b*-g+h*-f-l*-e;return this}, +project:function(a){return this.applyMatrix4(a.matrixWorldInverse).applyMatrix4(a.projectionMatrix)},unproject:function(a){return this.applyMatrix4(a.projectionMatrixInverse).applyMatrix4(a.matrixWorld)},transformDirection:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;this.x=a[0]*b+a[4]*c+a[8]*d;this.y=a[1]*b+a[5]*c+a[9]*d;this.z=a[2]*b+a[6]*c+a[10]*d;return this.normalize()},divide:function(a){this.x/=a.x;this.y/=a.y;this.z/=a.z;return this},divideScalar:function(a){return this.multiplyScalar(1/ +a)},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y);this.z=Math.min(this.z,a.z);return this},max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.z=Math.max(this.z,a.z);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));this.z=Math.max(a.z,Math.min(b.z,this.z));return this},clampScalar:function(a,b){this.x=Math.max(a,Math.min(b,this.x));this.y=Math.max(a,Math.min(b,this.y));this.z=Math.max(a, +Math.min(b,this.z));return this},clampLength:function(a,b){var c=this.length();return this.divideScalar(c||1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);this.z=Math.floor(this.z);return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);this.z=Math.ceil(this.z);return this},round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);this.z=Math.round(this.z);return this},roundToZero:function(){this.x= +0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);this.z=0>this.z?Math.ceil(this.z):Math.floor(this.z);return this},negate:function(){this.x=-this.x;this.y=-this.y;this.z=-this.z;return this},dot:function(a){return this.x*a.x+this.y*a.y+this.z*a.z},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+ +Math.abs(this.z)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(a){return this.normalize().multiplyScalar(a)},lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-this.z)*b;return this},lerpVectors:function(a,b,c){return this.subVectors(b,a).multiplyScalar(c).add(a)},cross:function(a,b){return void 0!==b?(console.warn("THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead."),this.crossVectors(a,b)):this.crossVectors(this, +a)},crossVectors:function(a,b){var c=a.x,d=a.y;a=a.z;var e=b.x,f=b.y;b=b.z;this.x=d*b-a*f;this.y=a*e-c*b;this.z=c*f-d*e;return this},projectOnVector:function(a){var b=a.dot(this)/a.lengthSq();return this.copy(a).multiplyScalar(b)},projectOnPlane:function(a){Ig.copy(this).projectOnVector(a);return this.sub(Ig)},reflect:function(a){return this.sub(Ig.copy(a).multiplyScalar(2*this.dot(a)))},angleTo:function(a){a=this.dot(a)/Math.sqrt(this.lengthSq()*a.lengthSq());return Math.acos(O.clamp(a,-1,1))},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))}, +distanceToSquared:function(a){var b=this.x-a.x,c=this.y-a.y;a=this.z-a.z;return b*b+c*c+a*a},manhattanDistanceTo:function(a){return Math.abs(this.x-a.x)+Math.abs(this.y-a.y)+Math.abs(this.z-a.z)},setFromSpherical:function(a){return this.setFromSphericalCoords(a.radius,a.phi,a.theta)},setFromSphericalCoords:function(a,b,c){var d=Math.sin(b)*a;this.x=d*Math.sin(c);this.y=Math.cos(b)*a;this.z=d*Math.cos(c);return this},setFromCylindrical:function(a){return this.setFromCylindricalCoords(a.radius,a.theta, +a.y)},setFromCylindricalCoords:function(a,b,c){this.x=a*Math.sin(b);this.y=c;this.z=a*Math.cos(b);return this},setFromMatrixPosition:function(a){a=a.elements;this.x=a[12];this.y=a[13];this.z=a[14];return this},setFromMatrixScale:function(a){var b=this.setFromMatrixColumn(a,0).length(),c=this.setFromMatrixColumn(a,1).length();a=this.setFromMatrixColumn(a,2).length();this.x=b;this.y=c;this.z=a;return this},setFromMatrixColumn:function(a,b){return this.fromArray(a.elements,4*b)},equals:function(a){return a.x=== +this.x&&a.y===this.y&&a.z===this.z},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];this.z=a[b+2];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;a[b+2]=this.z;return a},fromBufferAttribute:function(a,b,c){void 0!==c&&console.warn("THREE.Vector3: offset has been removed from .fromBufferAttribute().");this.x=a.getX(b);this.y=a.getY(b);this.z=a.getZ(b);return this}});var pc=new n;Object.assign(ta.prototype,{isMatrix3:!0,set:function(a, +b,c,d,e,f,g,h,l){var m=this.elements;m[0]=a;m[1]=d;m[2]=g;m[3]=b;m[4]=e;m[5]=h;m[6]=c;m[7]=f;m[8]=l;return this},identity:function(){this.set(1,0,0,0,1,0,0,0,1);return this},clone:function(){return(new this.constructor).fromArray(this.elements)},copy:function(a){var b=this.elements;a=a.elements;b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];return this},setFromMatrix4:function(a){a=a.elements;this.set(a[0],a[4],a[8],a[1],a[5],a[9],a[2],a[6],a[10]);return this}, +applyToBufferAttribute:function(a){for(var b=0,c=a.count;bc;c++)if(b[c]!==a[c])return!1;return!0},fromArray:function(a,b){void 0===b&&(b=0);for(var c=0;9>c;c++)this.elements[c]=a[c+b];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);var c=this.elements;a[b]=c[0];a[b+1]=c[1];a[b+2]=c[2];a[b+3]=c[3];a[b+4]=c[4];a[b+5]=c[5];a[b+6]=c[6];a[b+7]=c[7];a[b+8]=c[8];return a}});var md,Kb={getDataURL:function(a){if("undefined"==typeof HTMLCanvasElement)return a.src;if(!(a instanceof HTMLCanvasElement)){void 0===md&&(md=document.createElementNS("http://www.w3.org/1999/xhtml", +"canvas"));md.width=a.width;md.height=a.height;var b=md.getContext("2d");a instanceof ImageData?b.putImageData(a,0,0):b.drawImage(a,0,0,a.width,a.height);a=md}return 2048a.x||1a.x?0:1;break;case 1002:a.x=1===Math.abs(Math.floor(a.x)%2)?Math.ceil(a.x)-a.x:a.x-Math.floor(a.x)}if(0>a.y||1a.y?0:1;break;case 1002:a.y=1===Math.abs(Math.floor(a.y)%2)?Math.ceil(a.y)-a.y:a.y-Math.floor(a.y)}this.flipY&&(a.y=1-a.y);return a}});Object.defineProperty(ba.prototype,"needsUpdate",{set:function(a){!0===a&&this.version++}});Object.defineProperties(da.prototype,{width:{get:function(){return this.z},set:function(a){this.z=a}},height:{get:function(){return this.w},set:function(a){this.w=a}}});Object.assign(da.prototype,{isVector4:!0,set:function(a,b,c,d){this.x= +a;this.y=b;this.z=c;this.w=d;return this},setScalar:function(a){this.w=this.z=this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},setZ:function(a){this.z=a;return this},setW:function(a){this.w=a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;case 2:this.z=b;break;case 3:this.w=b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x; +case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,this.y,this.z,this.w)},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=void 0!==a.w?a.w:1;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector4: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,b);this.x+=a.x;this.y+=a.y;this.z+=a.z;this.w+=a.w;return this}, +addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;this.w+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;this.w=a.w+b.w;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;this.z+=a.z*b;this.w+=a.w*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector4: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;this.z-=a.z;this.w-=a.w;return this},subScalar:function(a){this.x-= +a;this.y-=a;this.z-=a;this.w-=a;return this},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;this.w=a.w-b.w;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=a;this.w*=a;return this},applyMatrix4:function(a){var b=this.x,c=this.y,d=this.z,e=this.w;a=a.elements;this.x=a[0]*b+a[4]*c+a[8]*d+a[12]*e;this.y=a[1]*b+a[5]*c+a[9]*d+a[13]*e;this.z=a[2]*b+a[6]*c+a[10]*d+a[14]*e;this.w=a[3]*b+a[7]*c+a[11]*d+a[15]*e;return this},divideScalar:function(a){return this.multiplyScalar(1/ +a)},setAxisAngleFromQuaternion:function(a){this.w=2*Math.acos(a.w);var b=Math.sqrt(1-a.w*a.w);1E-4>b?(this.x=1,this.z=this.y=0):(this.x=a.x/b,this.y=a.y/b,this.z=a.z/b);return this},setAxisAngleFromRotationMatrix:function(a){a=a.elements;var b=a[0];var c=a[4];var d=a[8],e=a[1],f=a[5],g=a[9];var h=a[2];var l=a[6];var m=a[10];if(.01>Math.abs(c-e)&&.01>Math.abs(d-h)&&.01>Math.abs(g-l)){if(.1>Math.abs(c+e)&&.1>Math.abs(d+h)&&.1>Math.abs(g+l)&&.1>Math.abs(b+f+m-3))return this.set(1,0,0,0),this;a=Math.PI; +b=(b+1)/2;f=(f+1)/2;m=(m+1)/2;c=(c+e)/4;d=(d+h)/4;g=(g+l)/4;b>f&&b>m?.01>b?(l=0,c=h=.707106781):(l=Math.sqrt(b),h=c/l,c=d/l):f>m?.01>f?(l=.707106781,h=0,c=.707106781):(h=Math.sqrt(f),l=c/h,c=g/h):.01>m?(h=l=.707106781,c=0):(c=Math.sqrt(m),l=d/c,h=g/c);this.set(l,h,c,a);return this}a=Math.sqrt((l-g)*(l-g)+(d-h)*(d-h)+(e-c)*(e-c));.001>Math.abs(a)&&(a=1);this.x=(l-g)/a;this.y=(d-h)/a;this.z=(e-c)/a;this.w=Math.acos((b+f+m-1)/2);return this},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y, +a.y);this.z=Math.min(this.z,a.z);this.w=Math.min(this.w,a.w);return this},max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.z=Math.max(this.z,a.z);this.w=Math.max(this.w,a.w);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));this.z=Math.max(a.z,Math.min(b.z,this.z));this.w=Math.max(a.w,Math.min(b.w,this.w));return this},clampScalar:function(a,b){this.x=Math.max(a,Math.min(b,this.x));this.y=Math.max(a,Math.min(b, +this.y));this.z=Math.max(a,Math.min(b,this.z));this.w=Math.max(a,Math.min(b,this.w));return this},clampLength:function(a,b){var c=this.length();return this.divideScalar(c||1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);this.z=Math.floor(this.z);this.w=Math.floor(this.w);return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);this.z=Math.ceil(this.z);this.w=Math.ceil(this.w);return this},round:function(){this.x= +Math.round(this.x);this.y=Math.round(this.y);this.z=Math.round(this.z);this.w=Math.round(this.w);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);this.z=0>this.z?Math.ceil(this.z):Math.floor(this.z);this.w=0>this.w?Math.ceil(this.w):Math.floor(this.w);return this},negate:function(){this.x=-this.x;this.y=-this.y;this.z=-this.z;this.w=-this.w;return this},dot:function(a){return this.x*a.x+this.y*a.y+this.z* +a.z+this.w*a.w},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(a){return this.normalize().multiplyScalar(a)},lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z- +this.z)*b;this.w+=(a.w-this.w)*b;return this},lerpVectors:function(a,b,c){return this.subVectors(b,a).multiplyScalar(c).add(a)},equals:function(a){return a.x===this.x&&a.y===this.y&&a.z===this.z&&a.w===this.w},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];this.z=a[b+2];this.w=a[b+3];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;a[b+2]=this.z;a[b+3]=this.w;return a},fromBufferAttribute:function(a,b,c){void 0!==c&&console.warn("THREE.Vector4: offset has been removed from .fromBufferAttribute()."); +this.x=a.getX(b);this.y=a.getY(b);this.z=a.getZ(b);this.w=a.getW(b);return this}});Ka.prototype=Object.assign(Object.create(xa.prototype),{constructor:Ka,isWebGLRenderTarget:!0,setSize:function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.texture.image.width=a,this.texture.image.height=b,this.dispose();this.viewport.set(0,0,a,b);this.scissor.set(0,0,a,b)},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.width=a.width;this.height=a.height;this.viewport.copy(a.viewport); +this.texture=a.texture.clone();this.depthBuffer=a.depthBuffer;this.stencilBuffer=a.stencilBuffer;this.depthTexture=a.depthTexture;return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});Pf.prototype=Object.assign(Object.create(Ka.prototype),{constructor:Pf,isWebGLMultisampleRenderTarget:!0,copy:function(a){Ka.prototype.copy.call(this,a);this.samples=a.samples;return this}});var Ja=new n,ja=new P,hk=new n(0,0,0),ik=new n(1,1,1),Lb=new n,rf=new n,za=new n;Object.assign(P.prototype,{isMatrix4:!0, +set:function(a,b,c,d,e,f,g,h,l,m,k,n,r,q,t,y){var p=this.elements;p[0]=a;p[4]=b;p[8]=c;p[12]=d;p[1]=e;p[5]=f;p[9]=g;p[13]=h;p[2]=l;p[6]=m;p[10]=k;p[14]=n;p[3]=r;p[7]=q;p[11]=t;p[15]=y;return this},identity:function(){this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return this},clone:function(){return(new P).fromArray(this.elements)},copy:function(a){var b=this.elements;a=a.elements;b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11]; +b[12]=a[12];b[13]=a[13];b[14]=a[14];b[15]=a[15];return this},copyPosition:function(a){var b=this.elements;a=a.elements;b[12]=a[12];b[13]=a[13];b[14]=a[14];return this},extractBasis:function(a,b,c){a.setFromMatrixColumn(this,0);b.setFromMatrixColumn(this,1);c.setFromMatrixColumn(this,2);return this},makeBasis:function(a,b,c){this.set(a.x,b.x,c.x,0,a.y,b.y,c.y,0,a.z,b.z,c.z,0,0,0,0,1);return this},extractRotation:function(a){var b=this.elements,c=a.elements,d=1/Ja.setFromMatrixColumn(a,0).length(), +e=1/Ja.setFromMatrixColumn(a,1).length();a=1/Ja.setFromMatrixColumn(a,2).length();b[0]=c[0]*d;b[1]=c[1]*d;b[2]=c[2]*d;b[3]=0;b[4]=c[4]*e;b[5]=c[5]*e;b[6]=c[6]*e;b[7]=0;b[8]=c[8]*a;b[9]=c[9]*a;b[10]=c[10]*a;b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return this},makeRotationFromEuler:function(a){a&&a.isEuler||console.error("THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.");var b=this.elements,c=a.x,d=a.y,e=a.z,f=Math.cos(c);c=Math.sin(c);var g=Math.cos(d); +d=Math.sin(d);var h=Math.cos(e);e=Math.sin(e);if("XYZ"===a.order){a=f*h;var l=f*e,m=c*h,k=c*e;b[0]=g*h;b[4]=-g*e;b[8]=d;b[1]=l+m*d;b[5]=a-k*d;b[9]=-c*g;b[2]=k-a*d;b[6]=m+l*d;b[10]=f*g}else"YXZ"===a.order?(a=g*h,l=g*e,m=d*h,k=d*e,b[0]=a+k*c,b[4]=m*c-l,b[8]=f*d,b[1]=f*e,b[5]=f*h,b[9]=-c,b[2]=l*c-m,b[6]=k+a*c,b[10]=f*g):"ZXY"===a.order?(a=g*h,l=g*e,m=d*h,k=d*e,b[0]=a-k*c,b[4]=-f*e,b[8]=m+l*c,b[1]=l+m*c,b[5]=f*h,b[9]=k-a*c,b[2]=-f*d,b[6]=c,b[10]=f*g):"ZYX"===a.order?(a=f*h,l=f*e,m=c*h,k=c*e,b[0]=g*h, +b[4]=m*d-l,b[8]=a*d+k,b[1]=g*e,b[5]=k*d+a,b[9]=l*d-m,b[2]=-d,b[6]=c*g,b[10]=f*g):"YZX"===a.order?(a=f*g,l=f*d,m=c*g,k=c*d,b[0]=g*h,b[4]=k-a*e,b[8]=m*e+l,b[1]=e,b[5]=f*h,b[9]=-c*h,b[2]=-d*h,b[6]=l*e+m,b[10]=a-k*e):"XZY"===a.order&&(a=f*g,l=f*d,m=c*g,k=c*d,b[0]=g*h,b[4]=-e,b[8]=d*h,b[1]=a*e+k,b[5]=f*h,b[9]=l*e-m,b[2]=m*e-l,b[6]=c*h,b[10]=k*e+a);b[3]=0;b[7]=0;b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return this},makeRotationFromQuaternion:function(a){return this.compose(hk,a,ik)},lookAt:function(a,b, +c){var d=this.elements;za.subVectors(a,b);0===za.lengthSq()&&(za.z=1);za.normalize();Lb.crossVectors(c,za);0===Lb.lengthSq()&&(1===Math.abs(c.z)?za.x+=1E-4:za.z+=1E-4,za.normalize(),Lb.crossVectors(c,za));Lb.normalize();rf.crossVectors(za,Lb);d[0]=Lb.x;d[4]=rf.x;d[8]=za.x;d[1]=Lb.y;d[5]=rf.y;d[9]=za.y;d[2]=Lb.z;d[6]=rf.z;d[10]=za.z;return this},multiply:function(a,b){return void 0!==b?(console.warn("THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead."), +this.multiplyMatrices(a,b)):this.multiplyMatrices(this,a)},premultiply:function(a){return this.multiplyMatrices(a,this)},multiplyMatrices:function(a,b){var c=a.elements,d=b.elements;b=this.elements;a=c[0];var e=c[4],f=c[8],g=c[12],h=c[1],l=c[5],m=c[9],k=c[13],n=c[2],r=c[6],q=c[10],t=c[14],y=c[3],w=c[7],z=c[11];c=c[15];var x=d[0],v=d[4],A=d[8],E=d[12],B=d[1],D=d[5],F=d[9],G=d[13],I=d[2],H=d[6],J=d[10],K=d[14],N=d[3],O=d[7],P=d[11];d=d[15];b[0]=a*x+e*B+f*I+g*N;b[4]=a*v+e*D+f*H+g*O;b[8]=a*A+e*F+f*J+ +g*P;b[12]=a*E+e*G+f*K+g*d;b[1]=h*x+l*B+m*I+k*N;b[5]=h*v+l*D+m*H+k*O;b[9]=h*A+l*F+m*J+k*P;b[13]=h*E+l*G+m*K+k*d;b[2]=n*x+r*B+q*I+t*N;b[6]=n*v+r*D+q*H+t*O;b[10]=n*A+r*F+q*J+t*P;b[14]=n*E+r*G+q*K+t*d;b[3]=y*x+w*B+z*I+c*N;b[7]=y*v+w*D+z*H+c*O;b[11]=y*A+w*F+z*J+c*P;b[15]=y*E+w*G+z*K+c*d;return this},multiplyScalar:function(a){var b=this.elements;b[0]*=a;b[4]*=a;b[8]*=a;b[12]*=a;b[1]*=a;b[5]*=a;b[9]*=a;b[13]*=a;b[2]*=a;b[6]*=a;b[10]*=a;b[14]*=a;b[3]*=a;b[7]*=a;b[11]*=a;b[15]*=a;return this},applyToBufferAttribute:function(a){for(var b= +0,c=a.count;bthis.determinant()&&(e=-e);a.x=d[12];a.y=d[13];a.z=d[14];ja.copy(this);a=1/e;d=1/f;var h=1/g;ja.elements[0]*=a;ja.elements[1]*=a;ja.elements[2]*=a;ja.elements[4]*=d;ja.elements[5]*=d;ja.elements[6]*=d;ja.elements[8]*=h;ja.elements[9]*=h;ja.elements[10]*=h;b.setFromRotationMatrix(ja);c.x=e;c.y=f;c.z=g;return this},makePerspective:function(a,b,c,d,e,f){void 0===f&&console.warn("THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs."); +var g=this.elements;g[0]=2*e/(b-a);g[4]=0;g[8]=(b+a)/(b-a);g[12]=0;g[1]=0;g[5]=2*e/(c-d);g[9]=(c+d)/(c-d);g[13]=0;g[2]=0;g[6]=0;g[10]=-(f+e)/(f-e);g[14]=-2*f*e/(f-e);g[3]=0;g[7]=0;g[11]=-1;g[15]=0;return this},makeOrthographic:function(a,b,c,d,e,f){var g=this.elements,h=1/(b-a),l=1/(c-d),m=1/(f-e);g[0]=2*h;g[4]=0;g[8]=0;g[12]=-((b+a)*h);g[1]=0;g[5]=2*l;g[9]=0;g[13]=-((c+d)*l);g[2]=0;g[6]=0;g[10]=-2*m;g[14]=-((f+e)*m);g[3]=0;g[7]=0;g[11]=0;g[15]=1;return this},equals:function(a){var b=this.elements; +a=a.elements;for(var c=0;16>c;c++)if(b[c]!==a[c])return!1;return!0},fromArray:function(a,b){void 0===b&&(b=0);for(var c=0;16>c;c++)this.elements[c]=a[c+b];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);var c=this.elements;a[b]=c[0];a[b+1]=c[1];a[b+2]=c[2];a[b+3]=c[3];a[b+4]=c[4];a[b+5]=c[5];a[b+6]=c[6];a[b+7]=c[7];a[b+8]=c[8];a[b+9]=c[9];a[b+10]=c[10];a[b+11]=c[11];a[b+12]=c[12];a[b+13]=c[13];a[b+14]=c[14];a[b+15]=c[15];return a}});var gi=new P,hi=new na;Qb.RotationOrders= +"XYZ YZX ZXY XZY YXZ ZYX".split(" ");Qb.DefaultOrder="XYZ";Object.defineProperties(Qb.prototype,{x:{get:function(){return this._x},set:function(a){this._x=a;this._onChangeCallback()}},y:{get:function(){return this._y},set:function(a){this._y=a;this._onChangeCallback()}},z:{get:function(){return this._z},set:function(a){this._z=a;this._onChangeCallback()}},order:{get:function(){return this._order},set:function(a){this._order=a;this._onChangeCallback()}}});Object.assign(Qb.prototype,{isEuler:!0,set:function(a, +b,c,d){this._x=a;this._y=b;this._z=c;this._order=d||this._order;this._onChangeCallback();return this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._order)},copy:function(a){this._x=a._x;this._y=a._y;this._z=a._z;this._order=a._order;this._onChangeCallback();return this},setFromRotationMatrix:function(a,b,c){var d=O.clamp,e=a.elements;a=e[0];var f=e[4],g=e[8],h=e[1],l=e[5],m=e[9],k=e[2],n=e[6];e=e[10];b=b||this._order;"XYZ"===b?(this._y=Math.asin(d(g,-1,1)),.9999999>Math.abs(g)? +(this._x=Math.atan2(-m,e),this._z=Math.atan2(-f,a)):(this._x=Math.atan2(n,l),this._z=0)):"YXZ"===b?(this._x=Math.asin(-d(m,-1,1)),.9999999>Math.abs(m)?(this._y=Math.atan2(g,e),this._z=Math.atan2(h,l)):(this._y=Math.atan2(-k,a),this._z=0)):"ZXY"===b?(this._x=Math.asin(d(n,-1,1)),.9999999>Math.abs(n)?(this._y=Math.atan2(-k,e),this._z=Math.atan2(-f,l)):(this._y=0,this._z=Math.atan2(h,a))):"ZYX"===b?(this._y=Math.asin(-d(k,-1,1)),.9999999>Math.abs(k)?(this._x=Math.atan2(n,e),this._z=Math.atan2(h,a)): +(this._x=0,this._z=Math.atan2(-f,l))):"YZX"===b?(this._z=Math.asin(d(h,-1,1)),.9999999>Math.abs(h)?(this._x=Math.atan2(-m,l),this._y=Math.atan2(-k,a)):(this._x=0,this._y=Math.atan2(g,e))):"XZY"===b?(this._z=Math.asin(-d(f,-1,1)),.9999999>Math.abs(f)?(this._x=Math.atan2(n,l),this._y=Math.atan2(g,a)):(this._x=Math.atan2(-m,e),this._y=0)):console.warn("THREE.Euler: .setFromRotationMatrix() given unsupported order: "+b);this._order=b;!1!==c&&this._onChangeCallback();return this},setFromQuaternion:function(a, +b,c){gi.makeRotationFromQuaternion(a);return this.setFromRotationMatrix(gi,b,c)},setFromVector3:function(a,b){return this.set(a.x,a.y,a.z,b||this._order)},reorder:function(a){hi.setFromEuler(this);return this.setFromQuaternion(hi,a)},equals:function(a){return a._x===this._x&&a._y===this._y&&a._z===this._z&&a._order===this._order},fromArray:function(a){this._x=a[0];this._y=a[1];this._z=a[2];void 0!==a[3]&&(this._order=a[3]);this._onChangeCallback();return this},toArray:function(a,b){void 0===a&&(a= +[]);void 0===b&&(b=0);a[b]=this._x;a[b+1]=this._y;a[b+2]=this._z;a[b+3]=this._order;return a},toVector3:function(a){return a?a.set(this._x,this._y,this._z):new n(this._x,this._y,this._z)},_onChange:function(a){this._onChangeCallback=a;return this},_onChangeCallback:function(){}});Object.assign(Qf.prototype,{set:function(a){this.mask=1<e&&(e=m);k>f&&(f=k);n>g&&(g=n)}this.min.set(b,c,d); +this.max.set(e,f,g);return this},setFromBufferAttribute:function(a){for(var b=Infinity,c=Infinity,d=Infinity,e=-Infinity,f=-Infinity,g=-Infinity,h=0,l=a.count;he&&(e=m);k>f&&(f=k);n>g&&(g=n)}this.min.set(b,c,d);this.max.set(e,f,g);return this},setFromPoints:function(a){this.makeEmpty();for(var b=0,c=a.length;bthis.max.x||a.ythis.max.y||a.zthis.max.z?!1:!0},containsBox:function(a){return this.min.x<=a.min.x&&a.max.x<=this.max.x&&this.min.y<=a.min.y&&a.max.y<=this.max.y&&this.min.z<=a.min.z&&a.max.z<=this.max.z},getParameter:function(a,b){void 0===b&&(console.warn("THREE.Box3: .getParameter() target is now required"),b=new n);return b.set((a.x-this.min.x)/(this.max.x-this.min.x),(a.y-this.min.y)/(this.max.y-this.min.y),(a.z-this.min.z)/(this.max.z-this.min.z))}, -intersectsBox:function(a){return a.max.xthis.max.x||a.max.ythis.max.y||a.max.zthis.max.z?!1:!0},intersectsSphere:function(){var a=new n;return function(b){this.clampPoint(b.center,a);return a.distanceToSquared(b.center)<=b.radius*b.radius}}(),intersectsPlane:function(a){if(0=-a.constant},intersectsTriangle:function(){function a(a){var e;var f=0;for(e=a.length-3;f<=e;f+=3){h.fromArray(a,f);var g=m.x*Math.abs(h.x)+m.y*Math.abs(h.y)+m.z*Math.abs(h.z),k=b.dot(h),p=c.dot(h),l=d.dot(h);if(Math.max(-Math.max(k,p,l),Math.min(k,p,l))>g)return!1}return!0}var b=new n, -c=new n,d=new n,e=new n,f=new n,g=new n,h=new n,k=new n,m=new n,p=new n;return function(h){if(this.isEmpty())return!1;this.getCenter(k);m.subVectors(this.max,k);b.subVectors(h.a,k);c.subVectors(h.b,k);d.subVectors(h.c,k);e.subVectors(c,b);f.subVectors(d,c);g.subVectors(b,d);h=[0,-e.z,e.y,0,-f.z,f.y,0,-g.z,g.y,e.z,0,-e.x,f.z,0,-f.x,g.z,0,-g.x,-e.y,e.x,0,-f.y,f.x,0,-g.y,g.x,0];if(!a(h))return!1;h=[1,0,0,0,1,0,0,0,1];if(!a(h))return!1;p.crossVectors(e,f);h=[p.x,p.y,p.z];return a(h)}}(),clampPoint:function(a, -b){void 0===b&&(console.warn("THREE.Box3: .clampPoint() target is now required"),b=new n);return b.copy(a).clamp(this.min,this.max)},distanceToPoint:function(){var a=new n;return function(b){return a.copy(b).clamp(this.min,this.max).sub(b).length()}}(),getBoundingSphere:function(){var a=new n;return function(b){void 0===b&&console.error("THREE.Box3: .getBoundingSphere() target is now required");this.getCenter(b.center);b.radius=.5*this.getSize(a).length();return b}}(),intersect:function(a){this.min.max(a.min); -this.max.min(a.max);this.isEmpty()&&this.makeEmpty();return this},union:function(a){this.min.min(a.min);this.max.max(a.max);return this},applyMatrix4:function(){var a=[new n,new n,new n,new n,new n,new n,new n,new n];return function(b){if(this.isEmpty())return this;a[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(b);a[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(b);a[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(b);a[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(b); -a[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(b);a[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(b);a[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(b);a[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(b);this.setFromPoints(a);return this}}(),translate:function(a){this.min.add(a);this.max.add(a);return this},equals:function(a){return a.min.equals(this.min)&&a.max.equals(this.max)}});Object.assign(Ua.prototype,{set:function(a,b){this.center.copy(a);this.radius=b;return this}, -setFromPoints:function(){var a=new Ja;return function(b,c){var d=this.center;void 0!==c?d.copy(c):a.setFromPoints(b).getCenter(d);for(var e=c=0,f=b.length;e=this.radius},containsPoint:function(a){return a.distanceToSquared(this.center)<=this.radius*this.radius}, -distanceToPoint:function(a){return a.distanceTo(this.center)-this.radius},intersectsSphere:function(a){var b=this.radius+a.radius;return a.center.distanceToSquared(this.center)<=b*b},intersectsBox:function(a){return a.intersectsSphere(this)},intersectsPlane:function(a){return Math.abs(a.distanceToPoint(this.center))<=this.radius},clampPoint:function(a,b){var c=this.center.distanceToSquared(a);void 0===b&&(console.warn("THREE.Sphere: .clampPoint() target is now required"),b=new n);b.copy(a);c>this.radius* -this.radius&&(b.sub(this.center).normalize(),b.multiplyScalar(this.radius).add(this.center));return b},getBoundingBox:function(a){void 0===a&&(console.warn("THREE.Sphere: .getBoundingBox() target is now required"),a=new Ja);a.set(this.center,this.center);a.expandByScalar(this.radius);return a},applyMatrix4:function(a){this.center.applyMatrix4(a);this.radius*=a.getMaxScaleOnAxis();return this},translate:function(a){this.center.add(a);return this},equals:function(a){return a.center.equals(this.center)&& -a.radius===this.radius}});Object.assign(Va.prototype,{set:function(a,b){this.normal.copy(a);this.constant=b;return this},setComponents:function(a,b,c,d){this.normal.set(a,b,c);this.constant=d;return this},setFromNormalAndCoplanarPoint:function(a,b){this.normal.copy(a);this.constant=-b.dot(this.normal);return this},setFromCoplanarPoints:function(){var a=new n,b=new n;return function(c,d,e){d=a.subVectors(e,d).cross(b.subVectors(c,d)).normalize();this.setFromNormalAndCoplanarPoint(d,c);return this}}(), -clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.normal.copy(a.normal);this.constant=a.constant;return this},normalize:function(){var a=1/this.normal.length();this.normal.multiplyScalar(a);this.constant*=a;return this},negate:function(){this.constant*=-1;this.normal.negate();return this},distanceToPoint:function(a){return this.normal.dot(a)+this.constant},distanceToSphere:function(a){return this.distanceToPoint(a.center)-a.radius},projectPoint:function(a,b){void 0=== -b&&(console.warn("THREE.Plane: .projectPoint() target is now required"),b=new n);return b.copy(this.normal).multiplyScalar(-this.distanceToPoint(a)).add(a)},intersectLine:function(){var a=new n;return function(b,c){void 0===c&&(console.warn("THREE.Plane: .intersectLine() target is now required"),c=new n);var d=b.delta(a),e=this.normal.dot(d);if(0===e){if(0===this.distanceToPoint(b.start))return c.copy(b.start)}else if(e=-(b.start.dot(this.normal)+this.constant)/e,!(0>e||1b&&0a&&0c;c++)b[c].copy(a.planes[c]);return this},setFromMatrix:function(a){var b=this.planes,c=a.elements;a=c[0];var d=c[1],e=c[2],f=c[3],g=c[4],h=c[5],k=c[6],m=c[7],p=c[8],l=c[9],n=c[10],t=c[11],r=c[12],u=c[13],x=c[14];c=c[15];b[0].setComponents(f-a,m-g,t-p,c-r).normalize();b[1].setComponents(f+a,m+g,t+p,c+r).normalize();b[2].setComponents(f+d,m+h,t+l,c+u).normalize();b[3].setComponents(f-d,m-h,t-l,c-u).normalize();b[4].setComponents(f-e,m-k,t-n,c-x).normalize();b[5].setComponents(f+e, -m+k,t+n,c+x).normalize();return this},intersectsObject:function(){var a=new Ua;return function(b){var c=b.geometry;null===c.boundingSphere&&c.computeBoundingSphere();a.copy(c.boundingSphere).applyMatrix4(b.matrixWorld);return this.intersectsSphere(a)}}(),intersectsSprite:function(){var a=new Ua;return function(b){a.center.set(0,0,0);a.radius=.7071067811865476;a.applyMatrix4(b.matrixWorld);return this.intersectsSphere(a)}}(),intersectsSphere:function(a){var b=this.planes,c=a.center;a=-a.radius;for(var d= -0;6>d;d++)if(b[d].distanceToPoint(c)d;d++){var e=c[d];a.x=0e.distanceToPoint(a))return!1}return!0}}(),containsPoint:function(a){for(var b=this.planes,c=0;6>c;c++)if(0>b[c].distanceToPoint(a))return!1;return!0}});Object.assign(P.prototype,{isMatrix4:!0,set:function(a,b,c,d,e,f,g,h,k,m,l,q,n,t,r,u){var p= -this.elements;p[0]=a;p[4]=b;p[8]=c;p[12]=d;p[1]=e;p[5]=f;p[9]=g;p[13]=h;p[2]=k;p[6]=m;p[10]=l;p[14]=q;p[3]=n;p[7]=t;p[11]=r;p[15]=u;return this},identity:function(){this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return this},clone:function(){return(new P).fromArray(this.elements)},copy:function(a){var b=this.elements;a=a.elements;b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];b[12]=a[12];b[13]=a[13];b[14]=a[14];b[15]=a[15];return this}, -copyPosition:function(a){var b=this.elements;a=a.elements;b[12]=a[12];b[13]=a[13];b[14]=a[14];return this},extractBasis:function(a,b,c){a.setFromMatrixColumn(this,0);b.setFromMatrixColumn(this,1);c.setFromMatrixColumn(this,2);return this},makeBasis:function(a,b,c){this.set(a.x,b.x,c.x,0,a.y,b.y,c.y,0,a.z,b.z,c.z,0,0,0,0,1);return this},extractRotation:function(){var a=new n;return function(b){var c=this.elements,d=b.elements,e=1/a.setFromMatrixColumn(b,0).length(),f=1/a.setFromMatrixColumn(b,1).length(); -b=1/a.setFromMatrixColumn(b,2).length();c[0]=d[0]*e;c[1]=d[1]*e;c[2]=d[2]*e;c[3]=0;c[4]=d[4]*f;c[5]=d[5]*f;c[6]=d[6]*f;c[7]=0;c[8]=d[8]*b;c[9]=d[9]*b;c[10]=d[10]*b;c[11]=0;c[12]=0;c[13]=0;c[14]=0;c[15]=1;return this}}(),makeRotationFromEuler:function(a){a&&a.isEuler||console.error("THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.");var b=this.elements,c=a.x,d=a.y,e=a.z,f=Math.cos(c);c=Math.sin(c);var g=Math.cos(d);d=Math.sin(d);var h=Math.cos(e); -e=Math.sin(e);if("XYZ"===a.order){a=f*h;var k=f*e,m=c*h,p=c*e;b[0]=g*h;b[4]=-g*e;b[8]=d;b[1]=k+m*d;b[5]=a-p*d;b[9]=-c*g;b[2]=p-a*d;b[6]=m+k*d;b[10]=f*g}else"YXZ"===a.order?(a=g*h,k=g*e,m=d*h,p=d*e,b[0]=a+p*c,b[4]=m*c-k,b[8]=f*d,b[1]=f*e,b[5]=f*h,b[9]=-c,b[2]=k*c-m,b[6]=p+a*c,b[10]=f*g):"ZXY"===a.order?(a=g*h,k=g*e,m=d*h,p=d*e,b[0]=a-p*c,b[4]=-f*e,b[8]=m+k*c,b[1]=k+m*c,b[5]=f*h,b[9]=p-a*c,b[2]=-f*d,b[6]=c,b[10]=f*g):"ZYX"===a.order?(a=f*h,k=f*e,m=c*h,p=c*e,b[0]=g*h,b[4]=m*d-k,b[8]=a*d+p,b[1]=g*e,b[5]= -p*d+a,b[9]=k*d-m,b[2]=-d,b[6]=c*g,b[10]=f*g):"YZX"===a.order?(a=f*g,k=f*d,m=c*g,p=c*d,b[0]=g*h,b[4]=p-a*e,b[8]=m*e+k,b[1]=e,b[5]=f*h,b[9]=-c*h,b[2]=-d*h,b[6]=k*e+m,b[10]=a-p*e):"XZY"===a.order&&(a=f*g,k=f*d,m=c*g,p=c*d,b[0]=g*h,b[4]=-e,b[8]=d*h,b[1]=a*e+p,b[5]=f*h,b[9]=k*e-m,b[2]=m*e-k,b[6]=c*h,b[10]=p*e+a);b[3]=0;b[7]=0;b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return this},makeRotationFromQuaternion:function(){var a=new n(0,0,0),b=new n(1,1,1);return function(c){return this.compose(a,c,b)}}(),lookAt:function(){var a= -new n,b=new n,c=new n;return function(d,e,f){var g=this.elements;c.subVectors(d,e);0===c.lengthSq()&&(c.z=1);c.normalize();a.crossVectors(f,c);0===a.lengthSq()&&(1===Math.abs(f.z)?c.x+=1E-4:c.z+=1E-4,c.normalize(),a.crossVectors(f,c));a.normalize();b.crossVectors(c,a);g[0]=a.x;g[4]=b.x;g[8]=c.x;g[1]=a.y;g[5]=b.y;g[9]=c.y;g[2]=a.z;g[6]=b.z;g[10]=c.z;return this}}(),multiply:function(a,b){return void 0!==b?(console.warn("THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead."), -this.multiplyMatrices(a,b)):this.multiplyMatrices(this,a)},premultiply:function(a){return this.multiplyMatrices(a,this)},multiplyMatrices:function(a,b){var c=a.elements,d=b.elements;b=this.elements;a=c[0];var e=c[4],f=c[8],g=c[12],h=c[1],k=c[5],m=c[9],p=c[13],l=c[2],n=c[6],t=c[10],r=c[14],u=c[3],x=c[7],A=c[11];c=c[15];var w=d[0],y=d[4],D=d[8],J=d[12],B=d[1],F=d[5],C=d[9],z=d[13],E=d[2],G=d[6],I=d[10],K=d[14],M=d[3],X=d[7],Q=d[11];d=d[15];b[0]=a*w+e*B+f*E+g*M;b[4]=a*y+e*F+f*G+g*X;b[8]=a*D+e*C+f*I+ -g*Q;b[12]=a*J+e*z+f*K+g*d;b[1]=h*w+k*B+m*E+p*M;b[5]=h*y+k*F+m*G+p*X;b[9]=h*D+k*C+m*I+p*Q;b[13]=h*J+k*z+m*K+p*d;b[2]=l*w+n*B+t*E+r*M;b[6]=l*y+n*F+t*G+r*X;b[10]=l*D+n*C+t*I+r*Q;b[14]=l*J+n*z+t*K+r*d;b[3]=u*w+x*B+A*E+c*M;b[7]=u*y+x*F+A*G+c*X;b[11]=u*D+x*C+A*I+c*Q;b[15]=u*J+x*z+A*K+c*d;return this},multiplyScalar:function(a){var b=this.elements;b[0]*=a;b[4]*=a;b[8]*=a;b[12]*=a;b[1]*=a;b[5]*=a;b[9]*=a;b[13]*=a;b[2]*=a;b[6]*=a;b[10]*=a;b[14]*=a;b[3]*=a;b[7]*=a;b[11]*=a;b[15]*=a;return this},applyToBufferAttribute:function(){var a= -new n;return function(b){for(var c=0,d=b.count;cthis.determinant()&&(g=-g);c.x=f[12];c.y=f[13];c.z=f[14];b.copy(this);c=1/g;f=1/h;var m=1/k;b.elements[0]*=c;b.elements[1]*=c;b.elements[2]*=c;b.elements[4]*=f;b.elements[5]*=f;b.elements[6]*=f;b.elements[8]*=m;b.elements[9]*=m;b.elements[10]*=m;d.setFromRotationMatrix(b);e.x=g;e.y=h;e.z=k;return this}}(),makePerspective:function(a,b,c,d,e,f){void 0===f&&console.warn("THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs."); -var g=this.elements;g[0]=2*e/(b-a);g[4]=0;g[8]=(b+a)/(b-a);g[12]=0;g[1]=0;g[5]=2*e/(c-d);g[9]=(c+d)/(c-d);g[13]=0;g[2]=0;g[6]=0;g[10]=-(f+e)/(f-e);g[14]=-2*f*e/(f-e);g[3]=0;g[7]=0;g[11]=-1;g[15]=0;return this},makeOrthographic:function(a,b,c,d,e,f){var g=this.elements,h=1/(b-a),k=1/(c-d),m=1/(f-e);g[0]=2*h;g[4]=0;g[8]=0;g[12]=-((b+a)*h);g[1]=0;g[5]=2*k;g[9]=0;g[13]=-((c+d)*k);g[2]=0;g[6]=0;g[10]=-2*m;g[14]=-((f+e)*m);g[3]=0;g[7]=0;g[11]=0;g[15]=1;return this},equals:function(a){var b=this.elements; -a=a.elements;for(var c=0;16>c;c++)if(b[c]!==a[c])return!1;return!0},fromArray:function(a,b){void 0===b&&(b=0);for(var c=0;16>c;c++)this.elements[c]=a[c+b];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);var c=this.elements;a[b]=c[0];a[b+1]=c[1];a[b+2]=c[2];a[b+3]=c[3];a[b+4]=c[4];a[b+5]=c[5];a[b+6]=c[6];a[b+7]=c[7];a[b+8]=c[8];a[b+9]=c[9];a[b+10]=c[10];a[b+11]=c[11];a[b+12]=c[12];a[b+13]=c[13];a[b+14]=c[14];a[b+15]=c[15];return a}});var T={alphamap_fragment:"#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vUv ).g;\n#endif", -alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef ALPHATEST\n\tif ( diffuseColor.a < ALPHATEST ) discard;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0;\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\t#if defined( USE_ENVMAP ) && defined( PHYSICAL )\n\t\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.specularRoughness );\n\t#endif\n#endif", -aomap_pars_fragment:"#ifdef USE_AOMAP\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n#endif",begin_vertex:"vec3 transformed = vec3( position );",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n\tvec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"vec2 integrateSpecularBRDF( const in float dotNV, const in float roughness ) {\n\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n\tvec4 r = roughness * c0 + c1;\n\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n\treturn vec2( -1.04, 1.04 ) * a004 + r.zw;\n}\nfloat punctualLightIntensityToIrradianceFactor( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n#if defined ( PHYSICALLY_CORRECT_LIGHTS )\n\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\tif( cutoffDistance > 0.0 ) {\n\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\t}\n\treturn distanceFalloff;\n#else\n\tif( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\n\t\treturn pow( saturate( -lightDistance / cutoffDistance + 1.0 ), decayExponent );\n\t}\n\treturn 1.0;\n#endif\n}\nvec3 BRDF_Diffuse_Lambert( const in vec3 diffuseColor ) {\n\treturn RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 specularColor, const in float dotLH ) {\n\tfloat fresnel = exp2( ( -5.55473 * dotLH - 6.98316 ) * dotLH );\n\treturn ( 1.0 - specularColor ) * fresnel + specularColor;\n}\nfloat G_GGX_Smith( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gl = dotNL + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\tfloat gv = dotNV + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\treturn 1.0 / ( gl * gv );\n}\nfloat G_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\treturn 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n\tfloat a2 = pow2( alpha );\n\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n\treturn RECIPROCAL_PI * a2 / pow2( denom );\n}\nvec3 BRDF_Specular_GGX( const in IncidentLight incidentLight, const in GeometricContext geometry, const in vec3 specularColor, const in float roughness ) {\n\tfloat alpha = pow2( roughness );\n\tvec3 halfDir = normalize( incidentLight.direction + geometry.viewDir );\n\tfloat dotNL = saturate( dot( geometry.normal, incidentLight.direction ) );\n\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\tfloat dotNH = saturate( dot( geometry.normal, halfDir ) );\n\tfloat dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, dotLH );\n\tfloat G = G_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\tfloat D = D_GGX( alpha, dotNH );\n\treturn F * ( G * D );\n}\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n\tconst float LUT_SIZE = 64.0;\n\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\n\tfloat dotNV = saturate( dot( N, V ) );\n\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n\tuv = uv * LUT_SCALE + LUT_BIAS;\n\treturn uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n\tfloat l = length( f );\n\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n\tfloat x = dot( v1, v2 );\n\tfloat y = abs( x );\n\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\n\tfloat v = a / b;\n\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n\treturn cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n\tvec3 lightNormal = cross( v1, v2 );\n\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n\tvec3 T1, T2;\n\tT1 = normalize( V - N * dot( V, N ) );\n\tT2 = - cross( N, T1 );\n\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n\tvec3 coords[ 4 ];\n\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n\tcoords[ 0 ] = normalize( coords[ 0 ] );\n\tcoords[ 1 ] = normalize( coords[ 1 ] );\n\tcoords[ 2 ] = normalize( coords[ 2 ] );\n\tcoords[ 3 ] = normalize( coords[ 3 ] );\n\tvec3 vectorFormFactor = vec3( 0.0 );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n\treturn vec3( result );\n}\nvec3 BRDF_Specular_GGX_Environment( const in GeometricContext geometry, const in vec3 specularColor, const in float roughness ) {\n\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\tvec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n\treturn specularColor * brdf.x + brdf.y;\n}\nvoid BRDF_Specular_Multiscattering_Environment( const in GeometricContext geometry, const in vec3 specularColor, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\tvec3 F = F_Schlick( specularColor, dotNV );\n\tvec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n\tvec3 FssEss = F * brdf.x + brdf.y;\n\tfloat Ess = brdf.x + brdf.y;\n\tfloat Ems = 1.0 - Ess;\n\tvec3 Favg = specularColor + ( 1.0 - specularColor ) * 0.047619;\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n}\nfloat G_BlinnPhong_Implicit( ) {\n\treturn 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_Specular_BlinnPhong( const in IncidentLight incidentLight, const in GeometricContext geometry, const in vec3 specularColor, const in float shininess ) {\n\tvec3 halfDir = normalize( incidentLight.direction + geometry.viewDir );\n\tfloat dotNH = saturate( dot( geometry.normal, halfDir ) );\n\tfloat dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, dotLH );\n\tfloat G = G_BlinnPhong_Implicit( );\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\treturn F * ( G * D );\n}\nfloat GGXRoughnessToBlinnExponent( const in float ggxRoughness ) {\n\treturn ( 2.0 / pow2( ggxRoughness + 0.0001 ) - 2.0 );\n}\nfloat BlinnExponentToGGXRoughness( const in float blinnExponent ) {\n\treturn sqrt( 2.0 / ( blinnExponent + 2.0 ) );\n}", +this.max.addScalar(a);return this},expandByObject:function(a){var b;a.updateWorldMatrix(!1,!1);var c=a.geometry;if(void 0!==c)if(c.isGeometry){var d=c.vertices;c=0;for(b=d.length;cthis.max.x||a.ythis.max.y||a.zthis.max.z?!1:!0},containsBox:function(a){return this.min.x<=a.min.x&&a.max.x<=this.max.x&&this.min.y<=a.min.y&&a.max.y<=this.max.y&&this.min.z<=a.min.z&&a.max.z<=this.max.z},getParameter:function(a,b){void 0===b&&(console.warn("THREE.Box3: .getParameter() target is now required"),b=new n);return b.set((a.x-this.min.x)/(this.max.x-this.min.x),(a.y-this.min.y)/(this.max.y-this.min.y), +(a.z-this.min.z)/(this.max.z-this.min.z))},intersectsBox:function(a){return a.max.xthis.max.x||a.max.ythis.max.y||a.max.zthis.max.z?!1:!0},intersectsSphere:function(a){this.clampPoint(a.center,jb);return jb.distanceToSquared(a.center)<=a.radius*a.radius},intersectsPlane:function(a){if(0=-a.constant},intersectsTriangle:function(a){if(this.isEmpty())return!1;this.getCenter(xe);tf.subVectors(this.max,xe);od.subVectors(a.a,xe);pd.subVectors(a.b,xe);qd.subVectors(a.c,xe);Mb.subVectors(pd,od);Nb.subVectors(qd,pd);qc.subVectors(od,qd);a=[0,-Mb.z,Mb.y,0,-Nb.z,Nb.y,0,-qc.z, +qc.y,Mb.z,0,-Mb.x,Nb.z,0,-Nb.x,qc.z,0,-qc.x,-Mb.y,Mb.x,0,-Nb.y,Nb.x,0,-qc.y,qc.x,0];if(!Rf(a,od,pd,qd,tf))return!1;a=[1,0,0,0,1,0,0,0,1];if(!Rf(a,od,pd,qd,tf))return!1;uf.crossVectors(Mb,Nb);a=[uf.x,uf.y,uf.z];return Rf(a,od,pd,qd,tf)},clampPoint:function(a,b){void 0===b&&(console.warn("THREE.Box3: .clampPoint() target is now required"),b=new n);return b.copy(a).clamp(this.min,this.max)},distanceToPoint:function(a){return jb.copy(a).clamp(this.min,this.max).sub(a).length()},getBoundingSphere:function(a){void 0=== +a&&console.error("THREE.Box3: .getBoundingSphere() target is now required");this.getCenter(a.center);a.radius=.5*this.getSize(jb).length();return a},intersect:function(a){this.min.max(a.min);this.max.min(a.max);this.isEmpty()&&this.makeEmpty();return this},union:function(a){this.min.min(a.min);this.max.max(a.max);return this},applyMatrix4:function(a){if(this.isEmpty())return this;wb[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(a);wb[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(a); +wb[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(a);wb[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(a);wb[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(a);wb[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(a);wb[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(a);wb[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(a);this.setFromPoints(wb);return this},translate:function(a){this.min.add(a);this.max.add(a);return this},equals:function(a){return a.min.equals(this.min)&& +a.max.equals(this.max)}});var nk=new ab;Object.assign(nb.prototype,{set:function(a,b){this.center.copy(a);this.radius=b;return this},setFromPoints:function(a,b){var c=this.center;void 0!==b?c.copy(b):nk.setFromPoints(a).getCenter(c);for(var d=b=0,e=a.length;d= +this.radius},containsPoint:function(a){return a.distanceToSquared(this.center)<=this.radius*this.radius},distanceToPoint:function(a){return a.distanceTo(this.center)-this.radius},intersectsSphere:function(a){var b=this.radius+a.radius;return a.center.distanceToSquared(this.center)<=b*b},intersectsBox:function(a){return a.intersectsSphere(this)},intersectsPlane:function(a){return Math.abs(a.distanceToPoint(this.center))<=this.radius},clampPoint:function(a,b){var c=this.center.distanceToSquared(a); +void 0===b&&(console.warn("THREE.Sphere: .clampPoint() target is now required"),b=new n);b.copy(a);c>this.radius*this.radius&&(b.sub(this.center).normalize(),b.multiplyScalar(this.radius).add(this.center));return b},getBoundingBox:function(a){void 0===a&&(console.warn("THREE.Sphere: .getBoundingBox() target is now required"),a=new ab);a.set(this.center,this.center);a.expandByScalar(this.radius);return a},applyMatrix4:function(a){this.center.applyMatrix4(a);this.radius*=a.getMaxScaleOnAxis();return this}, +translate:function(a){this.center.add(a);return this},equals:function(a){return a.center.equals(this.center)&&a.radius===this.radius}});var xb=new n,Jg=new n,vf=new n,Ob=new n,Kg=new n,wf=new n,Lg=new n;Object.assign(Sb.prototype,{set:function(a,b){this.origin.copy(a);this.direction.copy(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.origin.copy(a.origin);this.direction.copy(a.direction);return this},at:function(a,b){void 0===b&&(console.warn("THREE.Ray: .at() target is now required"), +b=new n);return b.copy(this.direction).multiplyScalar(a).add(this.origin)},lookAt:function(a){this.direction.copy(a).sub(this.origin).normalize();return this},recast:function(a){this.origin.copy(this.at(a,xb));return this},closestPointToPoint:function(a,b){void 0===b&&(console.warn("THREE.Ray: .closestPointToPoint() target is now required"),b=new n);b.subVectors(a,this.origin);a=b.dot(this.direction);return 0>a?b.copy(this.origin):b.copy(this.direction).multiplyScalar(a).add(this.origin)},distanceToPoint:function(a){return Math.sqrt(this.distanceSqToPoint(a))}, +distanceSqToPoint:function(a){var b=xb.subVectors(a,this.origin).dot(this.direction);if(0>b)return this.origin.distanceToSquared(a);xb.copy(this.direction).multiplyScalar(b).add(this.origin);return xb.distanceToSquared(a)},distanceSqToSegment:function(a,b,c,d){Jg.copy(a).add(b).multiplyScalar(.5);vf.copy(b).sub(a).normalize();Ob.copy(this.origin).sub(Jg);var e=.5*a.distanceTo(b),f=-this.direction.dot(vf),g=Ob.dot(this.direction),h=-Ob.dot(vf),l=Ob.lengthSq(),m=Math.abs(1-f*f);if(0=-k?b<=k?(e=1/m,a*=e,b*=e,f=a*(a+f*b+2*g)+b*(f*a+b+2*h)+l):(b=e,a=Math.max(0,-(f*b+g)),f=-a*a+b*(b+2*h)+l):(b=-e,a=Math.max(0,-(f*b+g)),f=-a*a+b*(b+2*h)+l):b<=-k?(a=Math.max(0,-(-f*e+g)),b=0a)return null;a=Math.sqrt(a-d);d=c-a;c+=a;return 0>d&&0>c?null:0>d?this.at(c,b):this.at(d,b)},intersectsSphere:function(a){return this.distanceSqToPoint(a.center)<=a.radius*a.radius},distanceToPlane:function(a){var b=a.normal.dot(this.direction);if(0===b)return 0===a.distanceToPoint(this.origin)?0:null;a=-(this.origin.dot(a.normal)+ +a.constant)/b;return 0<=a?a:null},intersectPlane:function(a,b){a=this.distanceToPlane(a);return null===a?null:this.at(a,b)},intersectsPlane:function(a){var b=a.distanceToPoint(this.origin);return 0===b||0>a.normal.dot(this.direction)*b?!0:!1},intersectBox:function(a,b){var c=1/this.direction.x;var d=1/this.direction.y;var e=1/this.direction.z,f=this.origin;if(0<=c){var g=(a.min.x-f.x)*c;c*=a.max.x-f.x}else g=(a.max.x-f.x)*c,c*=a.min.x-f.x;if(0<=d){var h=(a.min.y-f.y)*d;d*=a.max.y-f.y}else h=(a.max.y- +f.y)*d,d*=a.min.y-f.y;if(g>d||h>c)return null;if(h>g||g!==g)g=h;if(da||h>c)return null;if(h>g||g!==g)g=h;if(ac?null:this.at(0<=g?g:c,b)},intersectsBox:function(a){return null!==this.intersectBox(a,xb)},intersectTriangle:function(a,b,c,d,e){Kg.subVectors(b,a);wf.subVectors(c,a);Lg.crossVectors(Kg,wf);b=this.direction.dot(Lg);if(0b)d=-1,b=-b;else return null; +Ob.subVectors(this.origin,a);a=d*this.direction.dot(wf.crossVectors(Ob,wf));if(0>a)return null;c=d*this.direction.dot(Kg.cross(Ob));if(0>c||a+c>b)return null;a=-d*Ob.dot(Lg);return 0>a?null:this.at(a/b,e)},applyMatrix4:function(a){this.origin.applyMatrix4(a);this.direction.transformDirection(a);return this},equals:function(a){return a.origin.equals(this.origin)&&a.direction.equals(this.direction)}});var Ya=new n,yb=new n,Mg=new n,zb=new n,rd=new n,sd=new n,mi=new n,Ng=new n,Og=new n,Pg=new n;Object.assign(ia, +{getNormal:function(a,b,c,d){void 0===d&&(console.warn("THREE.Triangle: .getNormal() target is now required"),d=new n);d.subVectors(c,b);Ya.subVectors(a,b);d.cross(Ya);a=d.lengthSq();return 0=zb.x+zb.y},getUV:function(a,b,c,d,e,f,g,h){this.getBarycoord(a,b,c,d,zb);h.set(0,0);h.addScaledVector(e,zb.x);h.addScaledVector(f,zb.y);h.addScaledVector(g,zb.z);return h},isFrontFacing:function(a,b,c,d){Ya.subVectors(c,b);yb.subVectors(a,b);return 0>Ya.cross(yb).dot(d)?!0:!1}});Object.assign(ia.prototype,{set:function(a, +b,c){this.a.copy(a);this.b.copy(b);this.c.copy(c);return this},setFromPointsAndIndices:function(a,b,c,d){this.a.copy(a[b]);this.b.copy(a[c]);this.c.copy(a[d]);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.a.copy(a.a);this.b.copy(a.b);this.c.copy(a.c);return this},getArea:function(){Ya.subVectors(this.c,this.b);yb.subVectors(this.a,this.b);return.5*Ya.cross(yb).length()},getMidpoint:function(a){void 0===a&&(console.warn("THREE.Triangle: .getMidpoint() target is now required"), +a=new n);return a.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)},getNormal:function(a){return ia.getNormal(this.a,this.b,this.c,a)},getPlane:function(a){void 0===a&&(console.warn("THREE.Triangle: .getPlane() target is now required"),a=new n);return a.setFromCoplanarPoints(this.a,this.b,this.c)},getBarycoord:function(a,b){return ia.getBarycoord(a,this.a,this.b,this.c,b)},getUV:function(a,b,c,d,e){return ia.getUV(a,this.a,this.b,this.c,b,c,d,e)},containsPoint:function(a){return ia.containsPoint(a, +this.a,this.b,this.c)},isFrontFacing:function(a){return ia.isFrontFacing(this.a,this.b,this.c,a)},intersectsBox:function(a){return a.intersectsTriangle(this)},closestPointToPoint:function(a,b){void 0===b&&(console.warn("THREE.Triangle: .closestPointToPoint() target is now required"),b=new n);var c=this.a,d=this.b,e=this.c;rd.subVectors(d,c);sd.subVectors(e,c);Ng.subVectors(a,c);var f=rd.dot(Ng),g=sd.dot(Ng);if(0>=f&&0>=g)return b.copy(c);Og.subVectors(a,d);var h=rd.dot(Og),l=sd.dot(Og);if(0<=h&&l<= +h)return b.copy(d);var m=f*l-h*g;if(0>=m&&0<=f&&0>=h)return d=f/(f-h),b.copy(c).addScaledVector(rd,d);Pg.subVectors(a,e);a=rd.dot(Pg);var k=sd.dot(Pg);if(0<=k&&a<=k)return b.copy(e);f=a*g-f*k;if(0>=f&&0<=g&&0>=k)return m=g/(g-k),b.copy(c).addScaledVector(sd,m);g=h*k-a*l;if(0>=g&&0<=l-h&&0<=a-k)return mi.subVectors(e,d),m=(l-h)/(l-h+(a-k)),b.copy(d).addScaledVector(mi,m);e=1/(g+f+m);d=f*e;m*=e;return b.copy(c).addScaledVector(rd,d).addScaledVector(sd,m)},equals:function(a){return a.a.equals(this.a)&& +a.b.equals(this.b)&&a.c.equals(this.c)}});var ok={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017, +darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504, +green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734, +lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734, +palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407, +steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},Aa={h:0,s:0,l:0},xf={h:0,s:0,l:0};Object.assign(J.prototype,{isColor:!0,r:1,g:1,b:1,set:function(a){a&&a.isColor?this.copy(a):"number"===typeof a?this.setHex(a):"string"===typeof a&&this.setStyle(a);return this},setScalar:function(a){this.b=this.g=this.r=a;return this},setHex:function(a){a=Math.floor(a); +this.r=(a>>16&255)/255;this.g=(a>>8&255)/255;this.b=(a&255)/255;return this},setRGB:function(a,b,c){this.r=a;this.g=b;this.b=c;return this},setHSL:function(a,b,c){a=O.euclideanModulo(a,1);b=O.clamp(b,0,1);c=O.clamp(c,0,1);0===b?this.r=this.g=this.b=c:(b=.5>=c?c*(1+b):c+b-c*b,c=2*c-b,this.r=Sf(c,b,a+1/3),this.g=Sf(c,b,a),this.b=Sf(c,b,a-1/3));return this},setStyle:function(a){function b(b){void 0!==b&&1>parseFloat(b)&&console.warn("THREE.Color: Alpha component of "+a+" will be ignored.")}var c;if(c= +/^((?:rgb|hsl)a?)\(\s*([^\)]*)\)/.exec(a)){var d=c[2];switch(c[1]){case "rgb":case "rgba":if(c=/^(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d))return this.r=Math.min(255,parseInt(c[1],10))/255,this.g=Math.min(255,parseInt(c[2],10))/255,this.b=Math.min(255,parseInt(c[3],10))/255,b(c[5]),this;if(c=/^(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d))return this.r=Math.min(100,parseInt(c[1],10))/100,this.g=Math.min(100,parseInt(c[2],10))/100,this.b=Math.min(100, +parseInt(c[3],10))/100,b(c[5]),this;break;case "hsl":case "hsla":if(c=/^([0-9]*\.?[0-9]+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d)){d=parseFloat(c[1])/360;var e=parseInt(c[2],10)/100,f=parseInt(c[3],10)/100;b(c[5]);return this.setHSL(d,e,f)}}}else if(c=/^#([A-Fa-f0-9]+)$/.exec(a)){c=c[1];d=c.length;if(3===d)return this.r=parseInt(c.charAt(0)+c.charAt(0),16)/255,this.g=parseInt(c.charAt(1)+c.charAt(1),16)/255,this.b=parseInt(c.charAt(2)+c.charAt(2),16)/255,this;if(6===d)return this.r= +parseInt(c.charAt(0)+c.charAt(1),16)/255,this.g=parseInt(c.charAt(2)+c.charAt(3),16)/255,this.b=parseInt(c.charAt(4)+c.charAt(5),16)/255,this}a&&0=h?l/(e+f):l/(2-e-f);switch(e){case b:g=(c- +d)/l+(cthis.opacity&&(d.opacity=this.opacity);!0===this.transparent&&(d.transparent=this.transparent);d.depthFunc=this.depthFunc;d.depthTest=this.depthTest;d.depthWrite=this.depthWrite;d.stencilWrite=this.stencilWrite;d.stencilFunc= +this.stencilFunc;d.stencilRef=this.stencilRef;d.stencilMask=this.stencilMask;d.stencilFail=this.stencilFail;d.stencilZFail=this.stencilZFail;d.stencilZPass=this.stencilZPass;this.rotation&&0!==this.rotation&&(d.rotation=this.rotation);!0===this.polygonOffset&&(d.polygonOffset=!0);0!==this.polygonOffsetFactor&&(d.polygonOffsetFactor=this.polygonOffsetFactor);0!==this.polygonOffsetUnits&&(d.polygonOffsetUnits=this.polygonOffsetUnits);this.linewidth&&1!==this.linewidth&&(d.linewidth=this.linewidth); +void 0!==this.dashSize&&(d.dashSize=this.dashSize);void 0!==this.gapSize&&(d.gapSize=this.gapSize);void 0!==this.scale&&(d.scale=this.scale);!0===this.dithering&&(d.dithering=!0);0g;g++)if(d[g]===d[(g+1)%3]){a.push(f);break}for(f=a.length-1;0<=f;f--)for(d=a[f],this.faces.splice(d,1),c=0,e=this.faceVertexUvs.length;c\n\t#include \n}", +fragmentShader:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#define RECIPROCAL_PI 0.31830988618\n#define RECIPROCAL_PI2 0.15915494\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV;\n\tsampleUV.y = asin( clamp( direction.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\tsampleUV.x = atan( direction.z, direction.x ) * RECIPROCAL_PI2 + 0.5;\n\tgl_FragColor = texture2D( tEquirect, sampleUV );\n}",side:1,blending:0});d.uniforms.tEquirect.value=b;b=new ra(new Bb(5, +5,5),d);c.add(b);d=new Dc(1,10,1);d.renderTarget=this;d.renderTarget.texture.name="CubeCameraTexture";d.update(a,c);b.geometry.dispose();b.material.dispose();return this};Zb.prototype=Object.create(ba.prototype);Zb.prototype.constructor=Zb;Zb.prototype.isDataTexture=!0;var Ug=new n,qk=new n,rk=new ta;Object.assign(cb.prototype,{isPlane:!0,set:function(a,b){this.normal.copy(a);this.constant=b;return this},setComponents:function(a,b,c,d){this.normal.set(a,b,c);this.constant=d;return this},setFromNormalAndCoplanarPoint:function(a, +b){this.normal.copy(a);this.constant=-b.dot(this.normal);return this},setFromCoplanarPoints:function(a,b,c){b=Ug.subVectors(c,b).cross(qk.subVectors(a,b)).normalize();this.setFromNormalAndCoplanarPoint(b,a);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.normal.copy(a.normal);this.constant=a.constant;return this},normalize:function(){var a=1/this.normal.length();this.normal.multiplyScalar(a);this.constant*=a;return this},negate:function(){this.constant*= +-1;this.normal.negate();return this},distanceToPoint:function(a){return this.normal.dot(a)+this.constant},distanceToSphere:function(a){return this.distanceToPoint(a.center)-a.radius},projectPoint:function(a,b){void 0===b&&(console.warn("THREE.Plane: .projectPoint() target is now required"),b=new n);return b.copy(this.normal).multiplyScalar(-this.distanceToPoint(a)).add(a)},intersectLine:function(a,b){void 0===b&&(console.warn("THREE.Plane: .intersectLine() target is now required"),b=new n);var c= +a.delta(Ug),d=this.normal.dot(c);if(0===d){if(0===this.distanceToPoint(a.start))return b.copy(a.start)}else if(d=-(a.start.dot(this.normal)+this.constant)/d,!(0>d||1b&&0a&&0c;c++)b[c].copy(a.planes[c]);return this},setFromMatrix:function(a){var b=this.planes,c=a.elements;a=c[0];var d=c[1],e=c[2],f=c[3],g=c[4],h=c[5],l=c[6],k=c[7],n=c[8],u=c[9],r=c[10],q=c[11],t=c[12],y=c[13],w=c[14];c=c[15];b[0].setComponents(f-a,k-g,q-n,c-t).normalize();b[1].setComponents(f+a,k+g,q+n,c+t).normalize();b[2].setComponents(f+ +d,k+h,q+u,c+y).normalize();b[3].setComponents(f-d,k-h,q-u,c-y).normalize();b[4].setComponents(f-e,k-l,q-r,c-w).normalize();b[5].setComponents(f+e,k+l,q+r,c+w).normalize();return this},intersectsObject:function(a){var b=a.geometry;null===b.boundingSphere&&b.computeBoundingSphere();td.copy(b.boundingSphere).applyMatrix4(a.matrixWorld);return this.intersectsSphere(td)},intersectsSprite:function(a){td.center.set(0,0,0);td.radius=.7071067811865476;td.applyMatrix4(a.matrixWorld);return this.intersectsSphere(td)}, +intersectsSphere:function(a){var b=this.planes,c=a.center;a=-a.radius;for(var d=0;6>d;d++)if(b[d].distanceToPoint(c)c;c++){var d=b[c];Af.x=0d.distanceToPoint(Af))return!1}return!0},containsPoint:function(a){for(var b=this.planes,c=0;6>c;c++)if(0>b[c].distanceToPoint(a))return!1;return!0}});var K={alphamap_fragment:"#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vUv ).g;\n#endif", +alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",alphatest_fragment:"#ifdef ALPHATEST\n\tif ( diffuseColor.a < ALPHATEST ) discard;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0;\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\t#if defined( USE_ENVMAP ) && defined( STANDARD )\n\t\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.specularRoughness );\n\t#endif\n#endif", +aomap_pars_fragment:"#ifdef USE_AOMAP\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n#endif",begin_vertex:"vec3 transformed = vec3( position );",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n\tvec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"vec2 integrateSpecularBRDF( const in float dotNV, const in float roughness ) {\n\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n\tvec4 r = roughness * c0 + c1;\n\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n\treturn vec2( -1.04, 1.04 ) * a004 + r.zw;\n}\nfloat punctualLightIntensityToIrradianceFactor( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n#if defined ( PHYSICALLY_CORRECT_LIGHTS )\n\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\tif( cutoffDistance > 0.0 ) {\n\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\t}\n\treturn distanceFalloff;\n#else\n\tif( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\n\t\treturn pow( saturate( -lightDistance / cutoffDistance + 1.0 ), decayExponent );\n\t}\n\treturn 1.0;\n#endif\n}\nvec3 BRDF_Diffuse_Lambert( const in vec3 diffuseColor ) {\n\treturn RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 specularColor, const in float dotLH ) {\n\tfloat fresnel = exp2( ( -5.55473 * dotLH - 6.98316 ) * dotLH );\n\treturn ( 1.0 - specularColor ) * fresnel + specularColor;\n}\nvec3 F_Schlick_RoughnessDependent( const in vec3 F0, const in float dotNV, const in float roughness ) {\n\tfloat fresnel = exp2( ( -5.55473 * dotNV - 6.98316 ) * dotNV );\n\tvec3 Fr = max( vec3( 1.0 - roughness ), F0 ) - F0;\n\treturn Fr * fresnel + F0;\n}\nfloat G_GGX_Smith( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gl = dotNL + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\tfloat gv = dotNV + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\treturn 1.0 / ( gl * gv );\n}\nfloat G_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\treturn 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n\tfloat a2 = pow2( alpha );\n\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n\treturn RECIPROCAL_PI * a2 / pow2( denom );\n}\nvec3 BRDF_Specular_GGX( const in IncidentLight incidentLight, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {\n\tfloat alpha = pow2( roughness );\n\tvec3 halfDir = normalize( incidentLight.direction + viewDir );\n\tfloat dotNL = saturate( dot( normal, incidentLight.direction ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, dotLH );\n\tfloat G = G_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\tfloat D = D_GGX( alpha, dotNH );\n\treturn F * ( G * D );\n}\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n\tconst float LUT_SIZE = 64.0;\n\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\n\tfloat dotNV = saturate( dot( N, V ) );\n\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n\tuv = uv * LUT_SCALE + LUT_BIAS;\n\treturn uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n\tfloat l = length( f );\n\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n\tfloat x = dot( v1, v2 );\n\tfloat y = abs( x );\n\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\n\tfloat v = a / b;\n\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n\treturn cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n\tvec3 lightNormal = cross( v1, v2 );\n\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n\tvec3 T1, T2;\n\tT1 = normalize( V - N * dot( V, N ) );\n\tT2 = - cross( N, T1 );\n\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n\tvec3 coords[ 4 ];\n\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n\tcoords[ 0 ] = normalize( coords[ 0 ] );\n\tcoords[ 1 ] = normalize( coords[ 1 ] );\n\tcoords[ 2 ] = normalize( coords[ 2 ] );\n\tcoords[ 3 ] = normalize( coords[ 3 ] );\n\tvec3 vectorFormFactor = vec3( 0.0 );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n\treturn vec3( result );\n}\nvec3 BRDF_Specular_GGX_Environment( const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tvec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n\treturn specularColor * brdf.x + brdf.y;\n}\nvoid BRDF_Specular_Multiscattering_Environment( const in GeometricContext geometry, const in vec3 specularColor, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\tvec3 F = F_Schlick_RoughnessDependent( specularColor, dotNV, roughness );\n\tvec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n\tvec3 FssEss = F * brdf.x + brdf.y;\n\tfloat Ess = brdf.x + brdf.y;\n\tfloat Ems = 1.0 - Ess;\n\tvec3 Favg = specularColor + ( 1.0 - specularColor ) * 0.047619;\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n}\nfloat G_BlinnPhong_Implicit( ) {\n\treturn 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_Specular_BlinnPhong( const in IncidentLight incidentLight, const in GeometricContext geometry, const in vec3 specularColor, const in float shininess ) {\n\tvec3 halfDir = normalize( incidentLight.direction + geometry.viewDir );\n\tfloat dotNH = saturate( dot( geometry.normal, halfDir ) );\n\tfloat dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, dotLH );\n\tfloat G = G_BlinnPhong_Implicit( );\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\treturn F * ( G * D );\n}\nfloat GGXRoughnessToBlinnExponent( const in float ggxRoughness ) {\n\treturn ( 2.0 / pow2( ggxRoughness + 0.0001 ) - 2.0 );\n}\nfloat BlinnExponentToGGXRoughness( const in float blinnExponent ) {\n\treturn sqrt( 2.0 / ( blinnExponent + 2.0 ) );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie(float roughness, float NoH) {\n\tfloat invAlpha = 1.0 / roughness;\n\tfloat cos2h = NoH * NoH;\n\tfloat sin2h = max(1.0 - cos2h, 0.0078125);\treturn (2.0 + invAlpha) * pow(sin2h, invAlpha * 0.5) / (2.0 * PI);\n}\nfloat V_Neubelt(float NoV, float NoL) {\n\treturn saturate(1.0 / (4.0 * (NoL + NoV - NoL * NoV)));\n}\nvec3 BRDF_Specular_Sheen( const in float roughness, const in vec3 L, const in GeometricContext geometry, vec3 specularColor ) {\n\tvec3 N = geometry.normal;\n\tvec3 V = geometry.viewDir;\n\tvec3 H = normalize( V + L );\n\tfloat dotNH = saturate( dot( N, H ) );\n\treturn specularColor * D_Charlie( roughness, dotNH ) * V_Neubelt( dot(N, V), dot(N, L) );\n}\n#endif", bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\n\tuniform sampler2D bumpMap;\n\tuniform float bumpScale;\n\tvec2 dHdxy_fwd() {\n\t\tvec2 dSTdx = dFdx( vUv );\n\t\tvec2 dSTdy = dFdy( vUv );\n\t\tfloat Hll = bumpScale * texture2D( bumpMap, vUv ).x;\n\t\tfloat dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\n\t\tfloat dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\n\t\treturn vec2( dBx, dBy );\n\t}\n\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy ) {\n\t\tvec3 vSigmaX = vec3( dFdx( surf_pos.x ), dFdx( surf_pos.y ), dFdx( surf_pos.z ) );\n\t\tvec3 vSigmaY = vec3( dFdy( surf_pos.x ), dFdy( surf_pos.y ), dFdy( surf_pos.z ) );\n\t\tvec3 vN = surf_norm;\n\t\tvec3 R1 = cross( vSigmaY, vN );\n\t\tvec3 R2 = cross( vN, vSigmaX );\n\t\tfloat fDet = dot( vSigmaX, R1 );\n\t\tfDet *= ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n\t\treturn normalize( abs( fDet ) * surf_norm - vGrad );\n\t}\n#endif", clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvec4 plane;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\t\tplane = clippingPlanes[ i ];\n\t\tif ( dot( vViewPosition, plane.xyz ) > plane.w ) discard;\n\t}\n\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\t\tbool clipped = true;\n\t\t#pragma unroll_loop\n\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tclipped = ( dot( vViewPosition, plane.xyz ) > plane.w ) && clipped;\n\t\t}\n\t\tif ( clipped ) discard;\n\t#endif\n#endif", -clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n\t#if ! defined( PHYSICAL ) && ! defined( PHONG ) && ! defined( MATCAP )\n\t\tvarying vec3 vViewPosition;\n\t#endif\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0 && ! defined( PHYSICAL ) && ! defined( PHONG ) && ! defined( MATCAP )\n\tvarying vec3 vViewPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0 && ! defined( PHYSICAL ) && ! defined( PHONG ) && ! defined( MATCAP )\n\tvViewPosition = - mvPosition.xyz;\n#endif", -color_fragment:"#ifdef USE_COLOR\n\tdiffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#ifdef USE_COLOR\n\tvarying vec3 vColor;\n#endif",color_pars_vertex:"#ifdef USE_COLOR\n\tvarying vec3 vColor;\n#endif",color_vertex:"#ifdef USE_COLOR\n\tvColor.xyz = color.xyz;\n#endif",common:"#define PI 3.14159265359\n#define PI2 6.28318530718\n#define PI_HALF 1.5707963267949\n#define RECIPROCAL_PI 0.31830988618\n#define RECIPROCAL_PI2 0.15915494\n#define LOG2 1.442695\n#define EPSILON 1e-6\n#define saturate(a) clamp( a, 0.0, 1.0 )\n#define whiteCompliment(a) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat average( const in vec3 color ) { return dot( color, vec3( 0.3333 ) ); }\nhighp float rand( const in vec2 uv ) {\n\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\n\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n\treturn fract(sin(sn) * c);\n}\nstruct IncidentLight {\n\tvec3 color;\n\tvec3 direction;\n\tbool visible;\n};\nstruct ReflectedLight {\n\tvec3 directDiffuse;\n\tvec3 directSpecular;\n\tvec3 indirectDiffuse;\n\tvec3 indirectSpecular;\n};\nstruct GeometricContext {\n\tvec3 position;\n\tvec3 normal;\n\tvec3 viewDir;\n};\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nvec3 projectOnPlane(in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\tfloat distance = dot( planeNormal, point - pointOnPlane );\n\treturn - distance * planeNormal + point;\n}\nfloat sideOfPlane( in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\treturn sign( dot( point - pointOnPlane, planeNormal ) );\n}\nvec3 linePlaneIntersect( in vec3 pointOnLine, in vec3 lineDirection, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\treturn lineDirection * ( dot( planeNormal, pointOnPlane - pointOnLine ) / dot( planeNormal, lineDirection ) ) + pointOnLine;\n}\nmat3 transposeMat3( const in mat3 m ) {\n\tmat3 tmp;\n\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n\treturn tmp;\n}\nfloat linearToRelativeLuminance( const in vec3 color ) {\n\tvec3 weights = vec3( 0.2126, 0.7152, 0.0722 );\n\treturn dot( weights, color.rgb );\n}", +clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n\t#if ! defined( STANDARD ) && ! defined( PHONG ) && ! defined( MATCAP )\n\t\tvarying vec3 vViewPosition;\n\t#endif\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0 && ! defined( STANDARD ) && ! defined( PHONG ) && ! defined( MATCAP )\n\tvarying vec3 vViewPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0 && ! defined( STANDARD ) && ! defined( PHONG ) && ! defined( MATCAP )\n\tvViewPosition = - mvPosition.xyz;\n#endif", +color_fragment:"#ifdef USE_COLOR\n\tdiffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#ifdef USE_COLOR\n\tvarying vec3 vColor;\n#endif",color_pars_vertex:"#ifdef USE_COLOR\n\tvarying vec3 vColor;\n#endif",color_vertex:"#ifdef USE_COLOR\n\tvColor.xyz = color.xyz;\n#endif",common:"#define PI 3.14159265359\n#define PI2 6.28318530718\n#define PI_HALF 1.5707963267949\n#define RECIPROCAL_PI 0.31830988618\n#define RECIPROCAL_PI2 0.15915494\n#define LOG2 1.442695\n#define EPSILON 1e-6\n#define saturate(a) clamp( a, 0.0, 1.0 )\n#define whiteComplement(a) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat average( const in vec3 color ) { return dot( color, vec3( 0.3333 ) ); }\nhighp float rand( const in vec2 uv ) {\n\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\n\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n\treturn fract(sin(sn) * c);\n}\n#ifdef HIGH_PRECISION\n\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n\tfloat max3( vec3 v ) { return max( max( v.x, v.y ), v.z ); }\n\tfloat precisionSafeLength( vec3 v ) {\n\t\tfloat maxComponent = max3( abs( v ) );\n\t\treturn length( v / maxComponent ) * maxComponent;\n\t}\n#endif\nstruct IncidentLight {\n\tvec3 color;\n\tvec3 direction;\n\tbool visible;\n};\nstruct ReflectedLight {\n\tvec3 directDiffuse;\n\tvec3 directSpecular;\n\tvec3 indirectDiffuse;\n\tvec3 indirectSpecular;\n};\nstruct GeometricContext {\n\tvec3 position;\n\tvec3 normal;\n\tvec3 viewDir;\n#ifdef CLEARCOAT\n\tvec3 clearcoatNormal;\n#endif\n};\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nvec3 projectOnPlane(in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\tfloat distance = dot( planeNormal, point - pointOnPlane );\n\treturn - distance * planeNormal + point;\n}\nfloat sideOfPlane( in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\treturn sign( dot( point - pointOnPlane, planeNormal ) );\n}\nvec3 linePlaneIntersect( in vec3 pointOnLine, in vec3 lineDirection, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\treturn lineDirection * ( dot( planeNormal, pointOnPlane - pointOnLine ) / dot( planeNormal, lineDirection ) ) + pointOnLine;\n}\nmat3 transposeMat3( const in mat3 m ) {\n\tmat3 tmp;\n\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n\treturn tmp;\n}\nfloat linearToRelativeLuminance( const in vec3 color ) {\n\tvec3 weights = vec3( 0.2126, 0.7152, 0.0722 );\n\treturn dot( weights, color.rgb );\n}", cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n#define cubeUV_textureSize (1024.0)\nint getFaceFromDirection(vec3 direction) {\n\tvec3 absDirection = abs(direction);\n\tint face = -1;\n\tif( absDirection.x > absDirection.z ) {\n\t\tif(absDirection.x > absDirection.y )\n\t\t\tface = direction.x > 0.0 ? 0 : 3;\n\t\telse\n\t\t\tface = direction.y > 0.0 ? 1 : 4;\n\t}\n\telse {\n\t\tif(absDirection.z > absDirection.y )\n\t\t\tface = direction.z > 0.0 ? 2 : 5;\n\t\telse\n\t\t\tface = direction.y > 0.0 ? 1 : 4;\n\t}\n\treturn face;\n}\n#define cubeUV_maxLods1 (log2(cubeUV_textureSize*0.25) - 1.0)\n#define cubeUV_rangeClamp (exp2((6.0 - 1.0) * 2.0))\nvec2 MipLevelInfo( vec3 vec, float roughnessLevel, float roughness ) {\n\tfloat scale = exp2(cubeUV_maxLods1 - roughnessLevel);\n\tfloat dxRoughness = dFdx(roughness);\n\tfloat dyRoughness = dFdy(roughness);\n\tvec3 dx = dFdx( vec * scale * dxRoughness );\n\tvec3 dy = dFdy( vec * scale * dyRoughness );\n\tfloat d = max( dot( dx, dx ), dot( dy, dy ) );\n\td = clamp(d, 1.0, cubeUV_rangeClamp);\n\tfloat mipLevel = 0.5 * log2(d);\n\treturn vec2(floor(mipLevel), fract(mipLevel));\n}\n#define cubeUV_maxLods2 (log2(cubeUV_textureSize*0.25) - 2.0)\n#define cubeUV_rcpTextureSize (1.0 / cubeUV_textureSize)\nvec2 getCubeUV(vec3 direction, float roughnessLevel, float mipLevel) {\n\tmipLevel = roughnessLevel > cubeUV_maxLods2 - 3.0 ? 0.0 : mipLevel;\n\tfloat a = 16.0 * cubeUV_rcpTextureSize;\n\tvec2 exp2_packed = exp2( vec2( roughnessLevel, mipLevel ) );\n\tvec2 rcp_exp2_packed = vec2( 1.0 ) / exp2_packed;\n\tfloat powScale = exp2_packed.x * exp2_packed.y;\n\tfloat scale = rcp_exp2_packed.x * rcp_exp2_packed.y * 0.25;\n\tfloat mipOffset = 0.75*(1.0 - rcp_exp2_packed.y) * rcp_exp2_packed.x;\n\tbool bRes = mipLevel == 0.0;\n\tscale = bRes && (scale < a) ? a : scale;\n\tvec3 r;\n\tvec2 offset;\n\tint face = getFaceFromDirection(direction);\n\tfloat rcpPowScale = 1.0 / powScale;\n\tif( face == 0) {\n\t\tr = vec3(direction.x, -direction.z, direction.y);\n\t\toffset = vec2(0.0+mipOffset,0.75 * rcpPowScale);\n\t\toffset.y = bRes && (offset.y < 2.0*a) ? a : offset.y;\n\t}\n\telse if( face == 1) {\n\t\tr = vec3(direction.y, direction.x, direction.z);\n\t\toffset = vec2(scale+mipOffset, 0.75 * rcpPowScale);\n\t\toffset.y = bRes && (offset.y < 2.0*a) ? a : offset.y;\n\t}\n\telse if( face == 2) {\n\t\tr = vec3(direction.z, direction.x, direction.y);\n\t\toffset = vec2(2.0*scale+mipOffset, 0.75 * rcpPowScale);\n\t\toffset.y = bRes && (offset.y < 2.0*a) ? a : offset.y;\n\t}\n\telse if( face == 3) {\n\t\tr = vec3(direction.x, direction.z, direction.y);\n\t\toffset = vec2(0.0+mipOffset,0.5 * rcpPowScale);\n\t\toffset.y = bRes && (offset.y < 2.0*a) ? 0.0 : offset.y;\n\t}\n\telse if( face == 4) {\n\t\tr = vec3(direction.y, direction.x, -direction.z);\n\t\toffset = vec2(scale+mipOffset, 0.5 * rcpPowScale);\n\t\toffset.y = bRes && (offset.y < 2.0*a) ? 0.0 : offset.y;\n\t}\n\telse {\n\t\tr = vec3(direction.z, -direction.x, direction.y);\n\t\toffset = vec2(2.0*scale+mipOffset, 0.5 * rcpPowScale);\n\t\toffset.y = bRes && (offset.y < 2.0*a) ? 0.0 : offset.y;\n\t}\n\tr = normalize(r);\n\tfloat texelOffset = 0.5 * cubeUV_rcpTextureSize;\n\tvec2 s = ( r.yz / abs( r.x ) + vec2( 1.0 ) ) * 0.5;\n\tvec2 base = offset + vec2( texelOffset );\n\treturn base + s * ( scale - 2.0 * texelOffset );\n}\n#define cubeUV_maxLods3 (log2(cubeUV_textureSize*0.25) - 3.0)\nvec4 textureCubeUV( sampler2D envMap, vec3 reflectedDirection, float roughness ) {\n\tfloat roughnessVal = roughness* cubeUV_maxLods3;\n\tfloat r1 = floor(roughnessVal);\n\tfloat r2 = r1 + 1.0;\n\tfloat t = fract(roughnessVal);\n\tvec2 mipInfo = MipLevelInfo(reflectedDirection, r1, roughness);\n\tfloat s = mipInfo.y;\n\tfloat level0 = mipInfo.x;\n\tfloat level1 = level0 + 1.0;\n\tlevel1 = level1 > 5.0 ? 5.0 : level1;\n\tlevel0 += min( floor( s + 0.5 ), 5.0 );\n\tvec2 uv_10 = getCubeUV(reflectedDirection, r1, level0);\n\tvec4 color10 = envMapTexelToLinear(texture2D(envMap, uv_10));\n\tvec2 uv_20 = getCubeUV(reflectedDirection, r2, level0);\n\tvec4 color20 = envMapTexelToLinear(texture2D(envMap, uv_20));\n\tvec4 result = mix(color10, color20, t);\n\treturn vec4(result.rgb, 1.0);\n}\n#endif", defaultnormal_vertex:"vec3 transformedNormal = normalMatrix * objectNormal;\n#ifdef FLIP_SIDED\n\ttransformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n\tvec3 transformedTangent = normalMatrix * objectTangent;\n\t#ifdef FLIP_SIDED\n\t\ttransformedTangent = - transformedTangent;\n\t#endif\n#endif",displacementmap_pars_vertex:"#ifdef USE_DISPLACEMENTMAP\n\tuniform sampler2D displacementMap;\n\tuniform float displacementScale;\n\tuniform float displacementBias;\n#endif",displacementmap_vertex:"#ifdef USE_DISPLACEMENTMAP\n\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, uv ).x * displacementScale + displacementBias );\n#endif", emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n\tvec4 emissiveColor = texture2D( emissiveMap, vUv );\n\temissiveColor.rgb = emissiveMapTexelToLinear( emissiveColor ).rgb;\n\ttotalEmissiveRadiance *= emissiveColor.rgb;\n#endif",emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n\tuniform sampler2D emissiveMap;\n#endif",encodings_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",encodings_pars_fragment:"\nvec4 LinearToLinear( in vec4 value ) {\n\treturn value;\n}\nvec4 GammaToLinear( in vec4 value, in float gammaFactor ) {\n\treturn vec4( pow( value.rgb, vec3( gammaFactor ) ), value.a );\n}\nvec4 LinearToGamma( in vec4 value, in float gammaFactor ) {\n\treturn vec4( pow( value.rgb, vec3( 1.0 / gammaFactor ) ), value.a );\n}\nvec4 sRGBToLinear( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a );\n}\nvec4 LinearTosRGB( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}\nvec4 RGBEToLinear( in vec4 value ) {\n\treturn vec4( value.rgb * exp2( value.a * 255.0 - 128.0 ), 1.0 );\n}\nvec4 LinearToRGBE( in vec4 value ) {\n\tfloat maxComponent = max( max( value.r, value.g ), value.b );\n\tfloat fExp = clamp( ceil( log2( maxComponent ) ), -128.0, 127.0 );\n\treturn vec4( value.rgb / exp2( fExp ), ( fExp + 128.0 ) / 255.0 );\n}\nvec4 RGBMToLinear( in vec4 value, in float maxRange ) {\n\treturn vec4( value.rgb * value.a * maxRange, 1.0 );\n}\nvec4 LinearToRGBM( in vec4 value, in float maxRange ) {\n\tfloat maxRGB = max( value.r, max( value.g, value.b ) );\n\tfloat M = clamp( maxRGB / maxRange, 0.0, 1.0 );\n\tM = ceil( M * 255.0 ) / 255.0;\n\treturn vec4( value.rgb / ( M * maxRange ), M );\n}\nvec4 RGBDToLinear( in vec4 value, in float maxRange ) {\n\treturn vec4( value.rgb * ( ( maxRange / 255.0 ) / value.a ), 1.0 );\n}\nvec4 LinearToRGBD( in vec4 value, in float maxRange ) {\n\tfloat maxRGB = max( value.r, max( value.g, value.b ) );\n\tfloat D = max( maxRange / maxRGB, 1.0 );\n\tD = min( floor( D ) / 255.0, 1.0 );\n\treturn vec4( value.rgb * ( D * ( 255.0 / maxRange ) ), D );\n}\nconst mat3 cLogLuvM = mat3( 0.2209, 0.3390, 0.4184, 0.1138, 0.6780, 0.7319, 0.0102, 0.1130, 0.2969 );\nvec4 LinearToLogLuv( in vec4 value ) {\n\tvec3 Xp_Y_XYZp = cLogLuvM * value.rgb;\n\tXp_Y_XYZp = max( Xp_Y_XYZp, vec3( 1e-6, 1e-6, 1e-6 ) );\n\tvec4 vResult;\n\tvResult.xy = Xp_Y_XYZp.xy / Xp_Y_XYZp.z;\n\tfloat Le = 2.0 * log2(Xp_Y_XYZp.y) + 127.0;\n\tvResult.w = fract( Le );\n\tvResult.z = ( Le - ( floor( vResult.w * 255.0 ) ) / 255.0 ) / 255.0;\n\treturn vResult;\n}\nconst mat3 cLogLuvInverseM = mat3( 6.0014, -2.7008, -1.7996, -1.3320, 3.1029, -5.7721, 0.3008, -1.0882, 5.6268 );\nvec4 LogLuvToLinear( in vec4 value ) {\n\tfloat Le = value.z * 255.0 + value.w;\n\tvec3 Xp_Y_XYZp;\n\tXp_Y_XYZp.y = exp2( ( Le - 127.0 ) / 2.0 );\n\tXp_Y_XYZp.z = Xp_Y_XYZp.y / value.y;\n\tXp_Y_XYZp.x = value.x * Xp_Y_XYZp.z;\n\tvec3 vRGB = cLogLuvInverseM * Xp_Y_XYZp.rgb;\n\treturn vec4( max( vRGB, 0.0 ), 1.0 );\n}", -envmap_fragment:"#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\n\t\tvec3 cameraToVertex = normalize( vWorldPosition - cameraPosition );\n\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvec3 reflectVec = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvec3 reflectVec = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#else\n\t\tvec3 reflectVec = vReflect;\n\t#endif\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n\t#elif defined( ENVMAP_TYPE_EQUIREC )\n\t\tvec2 sampleUV;\n\t\treflectVec = normalize( reflectVec );\n\t\tsampleUV.y = asin( clamp( reflectVec.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\t\tsampleUV.x = atan( reflectVec.z, reflectVec.x ) * RECIPROCAL_PI2 + 0.5;\n\t\tvec4 envColor = texture2D( envMap, sampleUV );\n\t#elif defined( ENVMAP_TYPE_SPHERE )\n\t\treflectVec = normalize( reflectVec );\n\t\tvec3 reflectView = normalize( ( viewMatrix * vec4( reflectVec, 0.0 ) ).xyz + vec3( 0.0, 0.0, 1.0 ) );\n\t\tvec4 envColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5 );\n\t#else\n\t\tvec4 envColor = vec4( 0.0 );\n\t#endif\n\tenvColor = envMapTexelToLinear( envColor );\n\t#ifdef ENVMAP_BLENDING_MULTIPLY\n\t\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_MIX )\n\t\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_ADD )\n\t\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\n\t#endif\n#endif", -envmap_pars_fragment:"#if defined( USE_ENVMAP ) || defined( PHYSICAL )\n\tuniform float reflectivity;\n\tuniform float envMapIntensity;\n#endif\n#ifdef USE_ENVMAP\n\t#if ! defined( PHYSICAL ) && ( defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) )\n\t\tvarying vec3 vWorldPosition;\n\t#endif\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tuniform samplerCube envMap;\n\t#else\n\t\tuniform sampler2D envMap;\n\t#endif\n\tuniform float flipEnvMap;\n\tuniform int maxMipLevel;\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( PHYSICAL )\n\t\tuniform float refractionRatio;\n\t#else\n\t\tvarying vec3 vReflect;\n\t#endif\n#endif", -envmap_pars_vertex:"#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\n\t\tvarying vec3 vWorldPosition;\n\t#else\n\t\tvarying vec3 vReflect;\n\t\tuniform float refractionRatio;\n\t#endif\n#endif",envmap_physical_pars_fragment:"#if defined( USE_ENVMAP ) && defined( PHYSICAL )\n\tvec3 getLightProbeIndirectIrradiance( const in GeometricContext geometry, const in int maxMIPLevel ) {\n\t\tvec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n\t\t#ifdef ENVMAP_TYPE_CUBE\n\t\t\tvec3 queryVec = vec3( flipEnvMap * worldNormal.x, worldNormal.yz );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = textureCubeLodEXT( envMap, queryVec, float( maxMIPLevel ) );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = textureCube( envMap, queryVec, float( maxMIPLevel ) );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 queryVec = vec3( flipEnvMap * worldNormal.x, worldNormal.yz );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, queryVec, 1.0 );\n\t\t#else\n\t\t\tvec4 envMapColor = vec4( 0.0 );\n\t\t#endif\n\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\t}\n\tfloat getSpecularMIPLevel( const in float blinnShininessExponent, const in int maxMIPLevel ) {\n\t\tfloat maxMIPLevelScalar = float( maxMIPLevel );\n\t\tfloat desiredMIPLevel = maxMIPLevelScalar + 0.79248 - 0.5 * log2( pow2( blinnShininessExponent ) + 1.0 );\n\t\treturn clamp( desiredMIPLevel, 0.0, maxMIPLevelScalar );\n\t}\n\tvec3 getLightProbeIndirectRadiance( const in GeometricContext geometry, const in float blinnShininessExponent, const in int maxMIPLevel ) {\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvec3 reflectVec = reflect( -geometry.viewDir, geometry.normal );\n\t\t#else\n\t\t\tvec3 reflectVec = refract( -geometry.viewDir, geometry.normal, refractionRatio );\n\t\t#endif\n\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\t\tfloat specularMIPLevel = getSpecularMIPLevel( blinnShininessExponent, maxMIPLevel );\n\t\t#ifdef ENVMAP_TYPE_CUBE\n\t\t\tvec3 queryReflectVec = vec3( flipEnvMap * reflectVec.x, reflectVec.yz );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = textureCubeLodEXT( envMap, queryReflectVec, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = textureCube( envMap, queryReflectVec, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 queryReflectVec = vec3( flipEnvMap * reflectVec.x, reflectVec.yz );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, queryReflectVec, BlinnExponentToGGXRoughness(blinnShininessExponent ));\n\t\t#elif defined( ENVMAP_TYPE_EQUIREC )\n\t\t\tvec2 sampleUV;\n\t\t\tsampleUV.y = asin( clamp( reflectVec.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\t\t\tsampleUV.x = atan( reflectVec.z, reflectVec.x ) * RECIPROCAL_PI2 + 0.5;\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = texture2DLodEXT( envMap, sampleUV, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = texture2D( envMap, sampleUV, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_SPHERE )\n\t\t\tvec3 reflectView = normalize( ( viewMatrix * vec4( reflectVec, 0.0 ) ).xyz + vec3( 0.0,0.0,1.0 ) );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = texture2DLodEXT( envMap, reflectView.xy * 0.5 + 0.5, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#endif\n\t\treturn envMapColor.rgb * envMapIntensity;\n\t}\n#endif", -envmap_vertex:"#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif", -fog_vertex:"#ifdef USE_FOG\n\tfogDepth = -mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n\tvarying float fogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n\t#ifdef FOG_EXP2\n\t\tfloat fogFactor = whiteCompliment( exp2( - fogDensity * fogDensity * fogDepth * fogDepth * LOG2 ) );\n\t#else\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, fogDepth );\n\t#endif\n\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n\tuniform vec3 fogColor;\n\tvarying float fogDepth;\n\t#ifdef FOG_EXP2\n\t\tuniform float fogDensity;\n\t#else\n\t\tuniform float fogNear;\n\t\tuniform float fogFar;\n\t#endif\n#endif", +envmap_fragment:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvec3 cameraToVertex = normalize( vWorldPosition - cameraPosition );\n\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvec3 reflectVec = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvec3 reflectVec = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#else\n\t\tvec3 reflectVec = vReflect;\n\t#endif\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n\t#elif defined( ENVMAP_TYPE_EQUIREC )\n\t\tvec2 sampleUV;\n\t\treflectVec = normalize( reflectVec );\n\t\tsampleUV.y = asin( clamp( reflectVec.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\t\tsampleUV.x = atan( reflectVec.z, reflectVec.x ) * RECIPROCAL_PI2 + 0.5;\n\t\tvec4 envColor = texture2D( envMap, sampleUV );\n\t#elif defined( ENVMAP_TYPE_SPHERE )\n\t\treflectVec = normalize( reflectVec );\n\t\tvec3 reflectView = normalize( ( viewMatrix * vec4( reflectVec, 0.0 ) ).xyz + vec3( 0.0, 0.0, 1.0 ) );\n\t\tvec4 envColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5 );\n\t#else\n\t\tvec4 envColor = vec4( 0.0 );\n\t#endif\n\tenvColor = envMapTexelToLinear( envColor );\n\t#ifdef ENVMAP_BLENDING_MULTIPLY\n\t\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_MIX )\n\t\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_ADD )\n\t\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\n\t#endif\n#endif", +envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float envMapIntensity;\n\tuniform float flipEnvMap;\n\tuniform int maxMipLevel;\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tuniform samplerCube envMap;\n\t#else\n\t\tuniform sampler2D envMap;\n\t#endif\n\t\n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float reflectivity;\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\tvarying vec3 vWorldPosition;\n\t\tuniform float refractionRatio;\n\t#else\n\t\tvarying vec3 vReflect;\n\t#endif\n#endif", +envmap_pars_vertex:"#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) ||defined( PHONG )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\t\n\t\tvarying vec3 vWorldPosition;\n\t#else\n\t\tvarying vec3 vReflect;\n\t\tuniform float refractionRatio;\n\t#endif\n#endif",envmap_physical_pars_fragment:"#if defined( USE_ENVMAP )\n\t#ifdef ENVMAP_MODE_REFRACTION\n\t\tuniform float refractionRatio;\n\t#endif\n\tvec3 getLightProbeIndirectIrradiance( const in GeometricContext geometry, const in int maxMIPLevel ) {\n\t\tvec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n\t\t#ifdef ENVMAP_TYPE_CUBE\n\t\t\tvec3 queryVec = vec3( flipEnvMap * worldNormal.x, worldNormal.yz );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = textureCubeLodEXT( envMap, queryVec, float( maxMIPLevel ) );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = textureCube( envMap, queryVec, float( maxMIPLevel ) );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 queryVec = vec3( flipEnvMap * worldNormal.x, worldNormal.yz );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, queryVec, 1.0 );\n\t\t#else\n\t\t\tvec4 envMapColor = vec4( 0.0 );\n\t\t#endif\n\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\t}\n\tfloat getSpecularMIPLevel( const in float roughness, const in int maxMIPLevel ) {\n\t\tfloat maxMIPLevelScalar = float( maxMIPLevel );\n\t\tfloat sigma = PI * roughness * roughness / ( 1.0 + roughness );\n\t\tfloat desiredMIPLevel = maxMIPLevelScalar + log2( sigma );\n\t\treturn clamp( desiredMIPLevel, 0.0, maxMIPLevelScalar );\n\t}\n\tvec3 getLightProbeIndirectRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in int maxMIPLevel ) {\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t vec3 reflectVec = reflect( -viewDir, normal );\n\t\t reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n\t\t#else\n\t\t vec3 reflectVec = refract( -viewDir, normal, refractionRatio );\n\t\t#endif\n\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\t\tfloat specularMIPLevel = getSpecularMIPLevel( roughness, maxMIPLevel );\n\t\t#ifdef ENVMAP_TYPE_CUBE\n\t\t\tvec3 queryReflectVec = vec3( flipEnvMap * reflectVec.x, reflectVec.yz );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = textureCubeLodEXT( envMap, queryReflectVec, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = textureCube( envMap, queryReflectVec, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 queryReflectVec = vec3( flipEnvMap * reflectVec.x, reflectVec.yz );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, queryReflectVec, roughness );\n\t\t#elif defined( ENVMAP_TYPE_EQUIREC )\n\t\t\tvec2 sampleUV;\n\t\t\tsampleUV.y = asin( clamp( reflectVec.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\t\t\tsampleUV.x = atan( reflectVec.z, reflectVec.x ) * RECIPROCAL_PI2 + 0.5;\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = texture2DLodEXT( envMap, sampleUV, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = texture2D( envMap, sampleUV, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_SPHERE )\n\t\t\tvec3 reflectView = normalize( ( viewMatrix * vec4( reflectVec, 0.0 ) ).xyz + vec3( 0.0,0.0,1.0 ) );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = texture2DLodEXT( envMap, reflectView.xy * 0.5 + 0.5, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#endif\n\t\treturn envMapColor.rgb * envMapIntensity;\n\t}\n#endif", +envmap_vertex:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif",fog_vertex:"#ifdef USE_FOG\n\tfogDepth = -mvPosition.z;\n#endif", +fog_pars_vertex:"#ifdef USE_FOG\n\tvarying float fogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n\t#ifdef FOG_EXP2\n\t\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * fogDepth * fogDepth );\n\t#else\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, fogDepth );\n\t#endif\n\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n\tuniform vec3 fogColor;\n\tvarying float fogDepth;\n\t#ifdef FOG_EXP2\n\t\tuniform float fogDensity;\n\t#else\n\t\tuniform float fogNear;\n\t\tuniform float fogFar;\n\t#endif\n#endif", gradientmap_pars_fragment:"#ifdef TOON\n\tuniform sampler2D gradientMap;\n\tvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n\t\tfloat dotNL = dot( normal, lightDirection );\n\t\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n\t\t#ifdef USE_GRADIENTMAP\n\t\t\treturn texture2D( gradientMap, coord ).rgb;\n\t\t#else\n\t\t\treturn ( coord.x < 0.7 ) ? vec3( 0.7 ) : vec3( 1.0 );\n\t\t#endif\n\t}\n#endif",lightmap_fragment:"#ifdef USE_LIGHTMAP\n\treflectedLight.indirectDiffuse += PI * texture2D( lightMap, vUv2 ).xyz * lightMapIntensity;\n#endif", lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n#endif",lights_lambert_vertex:"vec3 diffuse = vec3( 1.0 );\nGeometricContext geometry;\ngeometry.position = mvPosition.xyz;\ngeometry.normal = normalize( transformedNormal );\ngeometry.viewDir = normalize( -mvPosition.xyz );\nGeometricContext backGeometry;\nbackGeometry.position = geometry.position;\nbackGeometry.normal = -geometry.normal;\nbackGeometry.viewDir = geometry.viewDir;\nvLightFront = vec3( 0.0 );\nvIndirectFront = vec3( 0.0 );\n#ifdef DOUBLE_SIDED\n\tvLightBack = vec3( 0.0 );\n\tvIndirectBack = vec3( 0.0 );\n#endif\nIncidentLight directLight;\nfloat dotNL;\nvec3 directLightColor_Diffuse;\n#if NUM_POINT_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tgetPointDirectLightIrradiance( pointLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tgetSpotDirectLightIrradiance( spotLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n#endif\n#if NUM_DIR_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tgetDirectionalDirectLightIrradiance( directionalLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\tvIndirectFront += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvIndirectBack += getHemisphereLightIrradiance( hemisphereLights[ i ], backGeometry );\n\t\t#endif\n\t}\n#endif", -lights_pars_begin:"uniform vec3 ambientLightColor;\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\tvec3 irradiance = ambientLightColor;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treturn irradiance;\n}\n#if NUM_DIR_LIGHTS > 0\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tint shadow;\n\t\tfloat shadowBias;\n\t\tfloat shadowRadius;\n\t\tvec2 shadowMapSize;\n\t};\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\tvoid getDirectionalDirectLightIrradiance( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tdirectLight.color = directionalLight.color;\n\t\tdirectLight.direction = directionalLight.direction;\n\t\tdirectLight.visible = true;\n\t}\n#endif\n#if NUM_POINT_LIGHTS > 0\n\tstruct PointLight {\n\t\tvec3 position;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tint shadow;\n\t\tfloat shadowBias;\n\t\tfloat shadowRadius;\n\t\tvec2 shadowMapSize;\n\t\tfloat shadowCameraNear;\n\t\tfloat shadowCameraFar;\n\t};\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\tvoid getPointDirectLightIrradiance( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tvec3 lVector = pointLight.position - geometry.position;\n\t\tdirectLight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tdirectLight.color = pointLight.color;\n\t\tdirectLight.color *= punctualLightIntensityToIrradianceFactor( lightDistance, pointLight.distance, pointLight.decay );\n\t\tdirectLight.visible = ( directLight.color != vec3( 0.0 ) );\n\t}\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\tstruct SpotLight {\n\t\tvec3 position;\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tfloat coneCos;\n\t\tfloat penumbraCos;\n\t\tint shadow;\n\t\tfloat shadowBias;\n\t\tfloat shadowRadius;\n\t\tvec2 shadowMapSize;\n\t};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotDirectLightIrradiance( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tvec3 lVector = spotLight.position - geometry.position;\n\t\tdirectLight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tfloat angleCos = dot( directLight.direction, spotLight.direction );\n\t\tif ( angleCos > spotLight.coneCos ) {\n\t\t\tfloat spotEffect = smoothstep( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\t\t\tdirectLight.color = spotLight.color;\n\t\t\tdirectLight.color *= spotEffect * punctualLightIntensityToIrradianceFactor( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tdirectLight.visible = true;\n\t\t} else {\n\t\t\tdirectLight.color = vec3( 0.0 );\n\t\t\tdirectLight.visible = false;\n\t\t}\n\t}\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n\tstruct RectAreaLight {\n\t\tvec3 color;\n\t\tvec3 position;\n\t\tvec3 halfWidth;\n\t\tvec3 halfHeight;\n\t};\n\tuniform sampler2D ltc_1;\tuniform sampler2D ltc_2;\n\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\tstruct HemisphereLight {\n\t\tvec3 direction;\n\t\tvec3 skyColor;\n\t\tvec3 groundColor;\n\t};\n\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in GeometricContext geometry ) {\n\t\tfloat dotNL = dot( geometry.normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tirradiance *= PI;\n\t\t#endif\n\t\treturn irradiance;\n\t}\n#endif", +lights_pars_begin:"uniform vec3 ambientLightColor;\nuniform vec3 lightProbe[ 9 ];\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n\tfloat x = normal.x, y = normal.y, z = normal.z;\n\tvec3 result = shCoefficients[ 0 ] * 0.886227;\n\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n\treturn result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in GeometricContext geometry ) {\n\tvec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n\treturn irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\tvec3 irradiance = ambientLightColor;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treturn irradiance;\n}\n#if NUM_DIR_LIGHTS > 0\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tint shadow;\n\t\tfloat shadowBias;\n\t\tfloat shadowRadius;\n\t\tvec2 shadowMapSize;\n\t};\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\tvoid getDirectionalDirectLightIrradiance( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tdirectLight.color = directionalLight.color;\n\t\tdirectLight.direction = directionalLight.direction;\n\t\tdirectLight.visible = true;\n\t}\n#endif\n#if NUM_POINT_LIGHTS > 0\n\tstruct PointLight {\n\t\tvec3 position;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tint shadow;\n\t\tfloat shadowBias;\n\t\tfloat shadowRadius;\n\t\tvec2 shadowMapSize;\n\t\tfloat shadowCameraNear;\n\t\tfloat shadowCameraFar;\n\t};\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\tvoid getPointDirectLightIrradiance( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tvec3 lVector = pointLight.position - geometry.position;\n\t\tdirectLight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tdirectLight.color = pointLight.color;\n\t\tdirectLight.color *= punctualLightIntensityToIrradianceFactor( lightDistance, pointLight.distance, pointLight.decay );\n\t\tdirectLight.visible = ( directLight.color != vec3( 0.0 ) );\n\t}\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\tstruct SpotLight {\n\t\tvec3 position;\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tfloat coneCos;\n\t\tfloat penumbraCos;\n\t\tint shadow;\n\t\tfloat shadowBias;\n\t\tfloat shadowRadius;\n\t\tvec2 shadowMapSize;\n\t};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotDirectLightIrradiance( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tvec3 lVector = spotLight.position - geometry.position;\n\t\tdirectLight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tfloat angleCos = dot( directLight.direction, spotLight.direction );\n\t\tif ( angleCos > spotLight.coneCos ) {\n\t\t\tfloat spotEffect = smoothstep( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\t\t\tdirectLight.color = spotLight.color;\n\t\t\tdirectLight.color *= spotEffect * punctualLightIntensityToIrradianceFactor( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tdirectLight.visible = true;\n\t\t} else {\n\t\t\tdirectLight.color = vec3( 0.0 );\n\t\t\tdirectLight.visible = false;\n\t\t}\n\t}\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n\tstruct RectAreaLight {\n\t\tvec3 color;\n\t\tvec3 position;\n\t\tvec3 halfWidth;\n\t\tvec3 halfHeight;\n\t};\n\tuniform sampler2D ltc_1;\tuniform sampler2D ltc_2;\n\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\tstruct HemisphereLight {\n\t\tvec3 direction;\n\t\tvec3 skyColor;\n\t\tvec3 groundColor;\n\t};\n\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in GeometricContext geometry ) {\n\t\tfloat dotNL = dot( geometry.normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tirradiance *= PI;\n\t\t#endif\n\t\treturn irradiance;\n\t}\n#endif", lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\nstruct BlinnPhongMaterial {\n\tvec3\tdiffuseColor;\n\tvec3\tspecularColor;\n\tfloat\tspecularShininess;\n\tfloat\tspecularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\t#ifdef TOON\n\t\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\n\t#else\n\t\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\t\tvec3 irradiance = dotNL * directLight.color;\n\t#endif\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_Specular_BlinnPhong( directLight, geometry, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong\n#define Material_LightProbeLOD( material )\t(0)", -lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nmaterial.specularRoughness = clamp( roughnessFactor, 0.04, 1.0 );\n#ifdef STANDARD\n\tmaterial.specularColor = mix( vec3( DEFAULT_SPECULAR_COEFFICIENT ), diffuseColor.rgb, metalnessFactor );\n#else\n\tmaterial.specularColor = mix( vec3( MAXIMUM_SPECULAR_COEFFICIENT * pow2( reflectivity ) ), diffuseColor.rgb, metalnessFactor );\n\tmaterial.clearCoat = saturate( clearCoat );\tmaterial.clearCoatRoughness = clamp( clearCoatRoughness, 0.04, 1.0 );\n#endif", -lights_physical_pars_fragment:"struct PhysicalMaterial {\n\tvec3\tdiffuseColor;\n\tfloat\tspecularRoughness;\n\tvec3\tspecularColor;\n\t#ifndef STANDARD\n\t\tfloat clearCoat;\n\t\tfloat clearCoatRoughness;\n\t#endif\n};\n#define MAXIMUM_SPECULAR_COEFFICIENT 0.16\n#define DEFAULT_SPECULAR_COEFFICIENT 0.04\nfloat clearCoatDHRApprox( const in float roughness, const in float dotNL ) {\n\treturn DEFAULT_SPECULAR_COEFFICIENT + ( 1.0 - DEFAULT_SPECULAR_COEFFICIENT ) * ( pow( 1.0 - dotNL, 5.0 ) * pow( 1.0 - roughness, 2.0 ) );\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t\tvec3 normal = geometry.normal;\n\t\tvec3 viewDir = geometry.viewDir;\n\t\tvec3 position = geometry.position;\n\t\tvec3 lightPos = rectAreaLight.position;\n\t\tvec3 halfWidth = rectAreaLight.halfWidth;\n\t\tvec3 halfHeight = rectAreaLight.halfHeight;\n\t\tvec3 lightColor = rectAreaLight.color;\n\t\tfloat roughness = material.specularRoughness;\n\t\tvec3 rectCoords[ 4 ];\n\t\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\t\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n\t\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n\t\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n\t\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\n\t\tvec4 t1 = texture2D( ltc_1, uv );\n\t\tvec4 t2 = texture2D( ltc_2, uv );\n\t\tmat3 mInv = mat3(\n\t\t\tvec3( t1.x, 0, t1.y ),\n\t\t\tvec3( 0, 1, 0 ),\n\t\t\tvec3( t1.z, 0, t1.w )\n\t\t);\n\t\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n\t\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n\t\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n\t}\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\t#ifndef STANDARD\n\t\tfloat clearCoatDHR = material.clearCoat * clearCoatDHRApprox( material.clearCoatRoughness, dotNL );\n\t#else\n\t\tfloat clearCoatDHR = 0.0;\n\t#endif\n\treflectedLight.directSpecular += ( 1.0 - clearCoatDHR ) * irradiance * BRDF_Specular_GGX( directLight, geometry, material.specularColor, material.specularRoughness );\n\treflectedLight.directDiffuse += ( 1.0 - clearCoatDHR ) * irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n\t#ifndef STANDARD\n\t\treflectedLight.directSpecular += irradiance * material.clearCoat * BRDF_Specular_GGX( directLight, geometry, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearCoatRoughness );\n\t#endif\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t#ifndef ENVMAP_TYPE_CUBE_UV\n\t\treflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n\t#endif\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearCoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\t#ifndef STANDARD\n\t\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\t\tfloat dotNL = dotNV;\n\t\tfloat clearCoatDHR = material.clearCoat * clearCoatDHRApprox( material.clearCoatRoughness, dotNL );\n\t#else\n\t\tfloat clearCoatDHR = 0.0;\n\t#endif\n\tfloat clearCoatInv = 1.0 - clearCoatDHR;\n\t#if defined( ENVMAP_TYPE_CUBE_UV )\n\t\tvec3 singleScattering = vec3( 0.0 );\n\t\tvec3 multiScattering = vec3( 0.0 );\n\t\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n\t\tBRDF_Specular_Multiscattering_Environment( geometry, material.specularColor, material.specularRoughness, singleScattering, multiScattering );\n\t\tvec3 diffuse = material.diffuseColor;\n\t\treflectedLight.indirectSpecular += clearCoatInv * radiance * singleScattering;\n\t\treflectedLight.indirectDiffuse += multiScattering * cosineWeightedIrradiance;\n\t\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n\t#else\n\t\treflectedLight.indirectSpecular += clearCoatInv * radiance * BRDF_Specular_GGX_Environment( geometry, material.specularColor, material.specularRoughness );\n\t#endif\n\t#ifndef STANDARD\n\t\treflectedLight.indirectSpecular += clearCoatRadiance * material.clearCoat * BRDF_Specular_GGX_Environment( geometry, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearCoatRoughness );\n\t#endif\n}\n#define RE_Direct\t\t\t\tRE_Direct_Physical\n#define RE_Direct_RectArea\t\tRE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular\t\tRE_IndirectSpecular_Physical\n#define Material_BlinnShininessExponent( material ) GGXRoughnessToBlinnExponent( material.specularRoughness )\n#define Material_ClearCoat_BlinnShininessExponent( material ) GGXRoughnessToBlinnExponent( material.clearCoatRoughness )\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}", -lights_fragment_begin:"\nGeometricContext geometry;\ngeometry.position = - vViewPosition;\ngeometry.normal = normal;\ngeometry.viewDir = normalize( vViewPosition );\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\tPointLight pointLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tgetPointDirectLightIrradiance( pointLight, geometry, directLight );\n\t\t#ifdef USE_SHADOWMAP\n\t\tdirectLight.color *= all( bvec2( pointLight.shadow, directLight.visible ) ) ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\tSpotLight spotLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tgetSpotDirectLightIrradiance( spotLight, geometry, directLight );\n\t\t#ifdef USE_SHADOWMAP\n\t\tdirectLight.color *= all( bvec2( spotLight.shadow, directLight.visible ) ) ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n\tDirectionalLight directionalLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tgetDirectionalDirectLightIrradiance( directionalLight, geometry, directLight );\n\t\t#ifdef USE_SHADOWMAP\n\t\tdirectLight.color *= all( bvec2( directionalLight.shadow, directLight.visible ) ) ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\tRectAreaLight rectAreaLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if defined( RE_IndirectDiffuse )\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\t\t#pragma unroll_loop\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry );\n\t\t}\n\t#endif\n#endif\n#if defined( RE_IndirectSpecular )\n\tvec3 radiance = vec3( 0.0 );\n\tvec3 clearCoatRadiance = vec3( 0.0 );\n#endif", -lights_fragment_maps:"#if defined( RE_IndirectDiffuse )\n\t#ifdef USE_LIGHTMAP\n\t\tvec3 lightMapIrradiance = texture2D( lightMap, vUv2 ).xyz * lightMapIntensity;\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tlightMapIrradiance *= PI;\n\t\t#endif\n\t\tirradiance += lightMapIrradiance;\n\t#endif\n\t#if defined( USE_ENVMAP ) && defined( PHYSICAL ) && defined( ENVMAP_TYPE_CUBE_UV )\n\t\tirradiance += getLightProbeIndirectIrradiance( geometry, maxMipLevel );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\tradiance += getLightProbeIndirectRadiance( geometry, Material_BlinnShininessExponent( material ), maxMipLevel );\n\t#ifndef STANDARD\n\t\tclearCoatRadiance += getLightProbeIndirectRadiance( geometry, Material_ClearCoat_BlinnShininessExponent( material ), maxMipLevel );\n\t#endif\n#endif", -lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n\tRE_IndirectSpecular( radiance, irradiance, clearCoatRadiance, geometry, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tgl_FragDepthEXT = log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n#endif", +lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nmaterial.specularRoughness = clamp( roughnessFactor, 0.04, 1.0 );\n#ifdef REFLECTIVITY\n\tmaterial.specularColor = mix( vec3( MAXIMUM_SPECULAR_COEFFICIENT * pow2( reflectivity ) ), diffuseColor.rgb, metalnessFactor );\n#else\n\tmaterial.specularColor = mix( vec3( DEFAULT_SPECULAR_COEFFICIENT ), diffuseColor.rgb, metalnessFactor );\n#endif\n#ifdef CLEARCOAT\n\tmaterial.clearcoat = saturate( clearcoat );\tmaterial.clearcoatRoughness = clamp( clearcoatRoughness, 0.04, 1.0 );\n#endif\n#ifdef USE_SHEEN\n\tmaterial.sheenColor = sheen;\n#endif", +lights_physical_pars_fragment:"struct PhysicalMaterial {\n\tvec3\tdiffuseColor;\n\tfloat\tspecularRoughness;\n\tvec3\tspecularColor;\n#ifdef CLEARCOAT\n\tfloat clearcoat;\n\tfloat clearcoatRoughness;\n#endif\n#ifdef USE_SHEEN\n\tvec3 sheenColor;\n#endif\n};\n#define MAXIMUM_SPECULAR_COEFFICIENT 0.16\n#define DEFAULT_SPECULAR_COEFFICIENT 0.04\nfloat clearcoatDHRApprox( const in float roughness, const in float dotNL ) {\n\treturn DEFAULT_SPECULAR_COEFFICIENT + ( 1.0 - DEFAULT_SPECULAR_COEFFICIENT ) * ( pow( 1.0 - dotNL, 5.0 ) * pow( 1.0 - roughness, 2.0 ) );\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t\tvec3 normal = geometry.normal;\n\t\tvec3 viewDir = geometry.viewDir;\n\t\tvec3 position = geometry.position;\n\t\tvec3 lightPos = rectAreaLight.position;\n\t\tvec3 halfWidth = rectAreaLight.halfWidth;\n\t\tvec3 halfHeight = rectAreaLight.halfHeight;\n\t\tvec3 lightColor = rectAreaLight.color;\n\t\tfloat roughness = material.specularRoughness;\n\t\tvec3 rectCoords[ 4 ];\n\t\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\t\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n\t\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n\t\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n\t\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\n\t\tvec4 t1 = texture2D( ltc_1, uv );\n\t\tvec4 t2 = texture2D( ltc_2, uv );\n\t\tmat3 mInv = mat3(\n\t\t\tvec3( t1.x, 0, t1.y ),\n\t\t\tvec3( 0, 1, 0 ),\n\t\t\tvec3( t1.z, 0, t1.w )\n\t\t);\n\t\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n\t\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n\t\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n\t}\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\t#ifdef CLEARCOAT\n\t\tfloat ccDotNL = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\n\t\tvec3 ccIrradiance = ccDotNL * directLight.color;\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tccIrradiance *= PI;\n\t\t#endif\n\t\tfloat clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL );\n\t\treflectedLight.directSpecular += ccIrradiance * material.clearcoat * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness );\n\t#else\n\t\tfloat clearcoatDHR = 0.0;\n\t#endif\n\t#ifdef USE_SHEEN\n\t\treflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_Sheen(\n\t\t\tmaterial.specularRoughness,\n\t\t\tdirectLight.direction,\n\t\t\tgeometry,\n\t\t\tmaterial.sheenColor\n\t\t);\n\t#else\n\t\treflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.normal, material.specularColor, material.specularRoughness);\n\t#endif\n\treflectedLight.directDiffuse += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\t#ifdef CLEARCOAT\n\t\tfloat ccDotNV = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular += clearcoatRadiance * material.clearcoat * BRDF_Specular_GGX_Environment( geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness );\n\t\tfloat ccDotNL = ccDotNV;\n\t\tfloat clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL );\n\t#else\n\t\tfloat clearcoatDHR = 0.0;\n\t#endif\n\tfloat clearcoatInv = 1.0 - clearcoatDHR;\n\tvec3 singleScattering = vec3( 0.0 );\n\tvec3 multiScattering = vec3( 0.0 );\n\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n\tBRDF_Specular_Multiscattering_Environment( geometry, material.specularColor, material.specularRoughness, singleScattering, multiScattering );\n\tvec3 diffuse = material.diffuseColor * ( 1.0 - ( singleScattering + multiScattering ) );\n\treflectedLight.indirectSpecular += clearcoatInv * radiance * singleScattering;\n\treflectedLight.indirectDiffuse += multiScattering * cosineWeightedIrradiance;\n\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct\t\t\t\tRE_Direct_Physical\n#define RE_Direct_RectArea\t\tRE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular\t\tRE_IndirectSpecular_Physical\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}", +lights_fragment_begin:"\nGeometricContext geometry;\ngeometry.position = - vViewPosition;\ngeometry.normal = normal;\ngeometry.viewDir = normalize( vViewPosition );\n#ifdef CLEARCOAT\n\tgeometry.clearcoatNormal = clearcoatNormal;\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\tPointLight pointLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tgetPointDirectLightIrradiance( pointLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n\t\tdirectLight.color *= all( bvec2( pointLight.shadow, directLight.visible ) ) ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\tSpotLight spotLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tgetSpotDirectLightIrradiance( spotLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tdirectLight.color *= all( bvec2( spotLight.shadow, directLight.visible ) ) ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n\tDirectionalLight directionalLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tgetDirectionalDirectLightIrradiance( directionalLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectLight.color *= all( bvec2( directionalLight.shadow, directLight.visible ) ) ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\tRectAreaLight rectAreaLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if defined( RE_IndirectDiffuse )\n\tvec3 iblIrradiance = vec3( 0.0 );\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\tirradiance += getLightProbeIrradiance( lightProbe, geometry );\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\t\t#pragma unroll_loop\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry );\n\t\t}\n\t#endif\n#endif\n#if defined( RE_IndirectSpecular )\n\tvec3 radiance = vec3( 0.0 );\n\tvec3 clearcoatRadiance = vec3( 0.0 );\n#endif", +lights_fragment_maps:"#if defined( RE_IndirectDiffuse )\n\t#ifdef USE_LIGHTMAP\n\t\tvec3 lightMapIrradiance = texture2D( lightMap, vUv2 ).xyz * lightMapIntensity;\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tlightMapIrradiance *= PI;\n\t\t#endif\n\t\tirradiance += lightMapIrradiance;\n\t#endif\n\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n\t\tiblIrradiance += getLightProbeIndirectIrradiance( geometry, maxMipLevel );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\tradiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.normal, material.specularRoughness, maxMipLevel );\n\t#ifdef CLEARCOAT\n\t\tclearcoatRadiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness, maxMipLevel );\n\t#endif\n#endif", +lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tgl_FragDepthEXT = log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n#endif", logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvarying float vFragDepth;\n\t#else\n\t\tuniform float logDepthBufFC;\n\t#endif\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvFragDepth = 1.0 + gl_Position.w;\n\t#else\n\t\tgl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\n\t\tgl_Position.z *= gl_Position.w;\n\t#endif\n#endif",map_fragment:"#ifdef USE_MAP\n\tvec4 texelColor = texture2D( map, vUv );\n\ttexelColor = mapTexelToLinear( texelColor );\n\tdiffuseColor *= texelColor;\n#endif", map_pars_fragment:"#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif",map_particle_fragment:"#ifdef USE_MAP\n\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n\tvec4 mapTexel = texture2D( map, uv );\n\tdiffuseColor *= mapTexelToLinear( mapTexel );\n#endif",map_particle_pars_fragment:"#ifdef USE_MAP\n\tuniform mat3 uvTransform;\n\tuniform sampler2D map;\n#endif",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n\tvec4 texelMetalness = texture2D( metalnessMap, vUv );\n\tmetalnessFactor *= texelMetalness.b;\n#endif", metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n\tuniform sampler2D metalnessMap;\n#endif",morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n\tobjectNormal += ( morphNormal0 - normal ) * morphTargetInfluences[ 0 ];\n\tobjectNormal += ( morphNormal1 - normal ) * morphTargetInfluences[ 1 ];\n\tobjectNormal += ( morphNormal2 - normal ) * morphTargetInfluences[ 2 ];\n\tobjectNormal += ( morphNormal3 - normal ) * morphTargetInfluences[ 3 ];\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n\t#ifndef USE_MORPHNORMALS\n\tuniform float morphTargetInfluences[ 8 ];\n\t#else\n\tuniform float morphTargetInfluences[ 4 ];\n\t#endif\n#endif", morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n\ttransformed += ( morphTarget0 - position ) * morphTargetInfluences[ 0 ];\n\ttransformed += ( morphTarget1 - position ) * morphTargetInfluences[ 1 ];\n\ttransformed += ( morphTarget2 - position ) * morphTargetInfluences[ 2 ];\n\ttransformed += ( morphTarget3 - position ) * morphTargetInfluences[ 3 ];\n\t#ifndef USE_MORPHNORMALS\n\ttransformed += ( morphTarget4 - position ) * morphTargetInfluences[ 4 ];\n\ttransformed += ( morphTarget5 - position ) * morphTargetInfluences[ 5 ];\n\ttransformed += ( morphTarget6 - position ) * morphTargetInfluences[ 6 ];\n\ttransformed += ( morphTarget7 - position ) * morphTargetInfluences[ 7 ];\n\t#endif\n#endif", -normal_fragment_begin:"#ifdef FLAT_SHADED\n\tvec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) );\n\tvec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n#else\n\tvec3 normal = normalize( vNormal );\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t#endif\n\t#ifdef USE_TANGENT\n\t\tvec3 tangent = normalize( vTangent );\n\t\tvec3 bitangent = normalize( vBitangent );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\ttangent = tangent * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t\tbitangent = bitangent * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t#endif\n\t#endif\n#endif", -normal_fragment_maps:"#ifdef USE_NORMALMAP\n\t#ifdef OBJECTSPACE_NORMALMAP\n\t\tnormal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\t\t#ifdef FLIP_SIDED\n\t\t\tnormal = - normal;\n\t\t#endif\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tnormal = normal * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t#endif\n\t\tnormal = normalize( normalMatrix * normal );\n\t#else\n\t\t#ifdef USE_TANGENT\n\t\t\tmat3 vTBN = mat3( tangent, bitangent, normal );\n\t\t\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\t\t\tmapN.xy = normalScale * mapN.xy;\n\t\t\tnormal = normalize( vTBN * mapN );\n\t\t#else\n\t\t\tnormal = perturbNormal2Arb( -vViewPosition, normal );\n\t\t#endif\n\t#endif\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( -vViewPosition, normal, dHdxy_fwd() );\n#endif", -normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n\t#ifdef OBJECTSPACE_NORMALMAP\n\t\tuniform mat3 normalMatrix;\n\t#else\n\t\tvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm ) {\n\t\t\tvec3 q0 = vec3( dFdx( eye_pos.x ), dFdx( eye_pos.y ), dFdx( eye_pos.z ) );\n\t\t\tvec3 q1 = vec3( dFdy( eye_pos.x ), dFdy( eye_pos.y ), dFdy( eye_pos.z ) );\n\t\t\tvec2 st0 = dFdx( vUv.st );\n\t\t\tvec2 st1 = dFdy( vUv.st );\n\t\t\tfloat scale = sign( st1.t * st0.s - st0.t * st1.s );\n\t\t\tvec3 S = normalize( ( q0 * st1.t - q1 * st0.t ) * scale );\n\t\t\tvec3 T = normalize( ( - q0 * st1.s + q1 * st0.s ) * scale );\n\t\t\tvec3 N = normalize( surf_norm );\n\t\t\tmat3 tsn = mat3( S, T, N );\n\t\t\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\t\t\tmapN.xy *= normalScale;\n\t\t\tmapN.xy *= ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t\treturn normalize( tsn * mapN );\n\t\t}\n\t#endif\n#endif", -packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n\treturn normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n\treturn 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\nconst float ShiftRight8 = 1. / 256.;\nvec4 packDepthToRGBA( const in float v ) {\n\tvec4 r = vec4( fract( v * PackFactors ), v );\n\tr.yzw -= r.xyz * ShiftRight8;\treturn r * PackUpscale;\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n\treturn dot( v, UnpackFactors );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) {\n\treturn linearClipZ * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn (( near + viewZ ) * far ) / (( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) {\n\treturn ( near * far ) / ( ( far - near ) * invClipZ - far );\n}", -premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n\tgl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = modelViewMatrix * vec4( transformed, 1.0 );\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#if defined( DITHERING )\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#if defined( DITHERING )\n\tvec3 dithering( vec3 color ) {\n\t\tfloat grid_position = rand( gl_FragCoord.xy );\n\t\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n\t\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n\t\treturn color + dither_shift_RGB;\n\t}\n#endif", -roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n\tvec4 texelRoughness = texture2D( roughnessMap, vUv );\n\troughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHTS > 0\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHTS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHTS ];\n\t#endif\n\t#if NUM_SPOT_LIGHTS > 0\n\t\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHTS ];\n\t\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHTS ];\n\t#endif\n\t#if NUM_POINT_LIGHTS > 0\n\t\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHTS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHTS ];\n\t#endif\n\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n\t\treturn step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n\t}\n\tfloat texture2DShadowLerp( sampler2D depths, vec2 size, vec2 uv, float compare ) {\n\t\tconst vec2 offset = vec2( 0.0, 1.0 );\n\t\tvec2 texelSize = vec2( 1.0 ) / size;\n\t\tvec2 centroidUV = floor( uv * size + 0.5 ) / size;\n\t\tfloat lb = texture2DCompare( depths, centroidUV + texelSize * offset.xx, compare );\n\t\tfloat lt = texture2DCompare( depths, centroidUV + texelSize * offset.xy, compare );\n\t\tfloat rb = texture2DCompare( depths, centroidUV + texelSize * offset.yx, compare );\n\t\tfloat rt = texture2DCompare( depths, centroidUV + texelSize * offset.yy, compare );\n\t\tvec2 f = fract( uv * size + 0.5 );\n\t\tfloat a = mix( lb, lt, f.y );\n\t\tfloat b = mix( rb, rt, f.y );\n\t\tfloat c = mix( a, b, f.x );\n\t\treturn c;\n\t}\n\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n\t\tfloat shadow = 1.0;\n\t\tshadowCoord.xyz /= shadowCoord.w;\n\t\tshadowCoord.z += shadowBias;\n\t\tbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\n\t\tbool inFrustum = all( inFrustumVec );\n\t\tbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\n\t\tbool frustumTest = all( frustumTestVec );\n\t\tif ( frustumTest ) {\n\t\t#if defined( SHADOWMAP_TYPE_PCF )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tshadow = (\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#else\n\t\t\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#endif\n\t\t}\n\t\treturn shadow;\n\t}\n\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\n\t\tvec3 absV = abs( v );\n\t\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n\t\tabsV *= scaleToCube;\n\t\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n\t\tvec2 planar = v.xy;\n\t\tfloat almostATexel = 1.5 * texelSizeY;\n\t\tfloat almostOne = 1.0 - almostATexel;\n\t\tif ( absV.z >= almostOne ) {\n\t\t\tif ( v.z > 0.0 )\n\t\t\t\tplanar.x = 4.0 - v.x;\n\t\t} else if ( absV.x >= almostOne ) {\n\t\t\tfloat signX = sign( v.x );\n\t\t\tplanar.x = v.z * signX + 2.0 * signX;\n\t\t} else if ( absV.y >= almostOne ) {\n\t\t\tfloat signY = sign( v.y );\n\t\t\tplanar.x = v.x + 2.0 * signY + 2.0;\n\t\t\tplanar.y = v.z * signY - 2.0;\n\t\t}\n\t\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n\t}\n\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n\t\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n\t\tvec3 lightToPosition = shadowCoord.xyz;\n\t\tfloat dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\t\tdp += shadowBias;\n\t\tvec3 bd3D = normalize( lightToPosition );\n\t\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT )\n\t\t\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n\t\t\treturn (\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#else\n\t\t\treturn texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n\t\t#endif\n\t}\n#endif", -shadowmap_pars_vertex:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHTS > 0\n\t\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHTS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHTS ];\n\t#endif\n\t#if NUM_SPOT_LIGHTS > 0\n\t\tuniform mat4 spotShadowMatrix[ NUM_SPOT_LIGHTS ];\n\t\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHTS ];\n\t#endif\n\t#if NUM_POINT_LIGHTS > 0\n\t\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHTS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHTS ];\n\t#endif\n#endif", -shadowmap_vertex:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * worldPosition;\n\t}\n\t#endif\n\t#if NUM_SPOT_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tvSpotShadowCoord[ i ] = spotShadowMatrix[ i ] * worldPosition;\n\t}\n\t#endif\n\t#if NUM_POINT_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * worldPosition;\n\t}\n\t#endif\n#endif", -shadowmask_pars_fragment:"float getShadowMask() {\n\tfloat shadow = 1.0;\n\t#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHTS > 0\n\tDirectionalLight directionalLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tshadow *= bool( directionalLight.shadow ) ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t}\n\t#endif\n\t#if NUM_SPOT_LIGHTS > 0\n\tSpotLight spotLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tshadow *= bool( spotLight.shadow ) ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\n\t}\n\t#endif\n\t#if NUM_POINT_LIGHTS > 0\n\tPointLight pointLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tshadow *= bool( pointLight.shadow ) ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t}\n\t#endif\n\t#endif\n\treturn shadow;\n}", -skinbase_vertex:"#ifdef USE_SKINNING\n\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\n\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\n\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\n\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n\tuniform mat4 bindMatrix;\n\tuniform mat4 bindMatrixInverse;\n\t#ifdef BONE_TEXTURE\n\t\tuniform sampler2D boneTexture;\n\t\tuniform int boneTextureSize;\n\t\tmat4 getBoneMatrix( const in float i ) {\n\t\t\tfloat j = i * 4.0;\n\t\t\tfloat x = mod( j, float( boneTextureSize ) );\n\t\t\tfloat y = floor( j / float( boneTextureSize ) );\n\t\t\tfloat dx = 1.0 / float( boneTextureSize );\n\t\t\tfloat dy = 1.0 / float( boneTextureSize );\n\t\t\ty = dy * ( y + 0.5 );\n\t\t\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\n\t\t\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\n\t\t\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\n\t\t\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\n\t\t\tmat4 bone = mat4( v1, v2, v3, v4 );\n\t\t\treturn bone;\n\t\t}\n\t#else\n\t\tuniform mat4 boneMatrices[ MAX_BONES ];\n\t\tmat4 getBoneMatrix( const in float i ) {\n\t\t\tmat4 bone = boneMatrices[ int(i) ];\n\t\t\treturn bone;\n\t\t}\n\t#endif\n#endif", +normal_fragment_begin:"#ifdef FLAT_SHADED\n\tvec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) );\n\tvec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n#else\n\tvec3 normal = normalize( vNormal );\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t#endif\n\t#ifdef USE_TANGENT\n\t\tvec3 tangent = normalize( vTangent );\n\t\tvec3 bitangent = normalize( vBitangent );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\ttangent = tangent * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t\tbitangent = bitangent * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t#endif\n\t#endif\n#endif\nvec3 geometryNormal = normal;", +normal_fragment_maps:"#ifdef OBJECTSPACE_NORMALMAP\n\tnormal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\t#ifdef FLIP_SIDED\n\t\tnormal = - normal;\n\t#endif\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t#endif\n\tnormal = normalize( normalMatrix * normal );\n#elif defined( TANGENTSPACE_NORMALMAP )\n\t#ifdef USE_TANGENT\n\t\tmat3 vTBN = mat3( tangent, bitangent, normal );\n\t\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\t\tmapN.xy = normalScale * mapN.xy;\n\t\tnormal = normalize( vTBN * mapN );\n\t#else\n\t\tnormal = perturbNormal2Arb( -vViewPosition, normal, normalScale, normalMap );\n\t#endif\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( -vViewPosition, normal, dHdxy_fwd() );\n#endif", +normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n#endif\n#ifdef OBJECTSPACE_NORMALMAP\n\tuniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\n\tvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec2 normalScale, in sampler2D normalMap ) {\n\t\tvec3 q0 = vec3( dFdx( eye_pos.x ), dFdx( eye_pos.y ), dFdx( eye_pos.z ) );\n\t\tvec3 q1 = vec3( dFdy( eye_pos.x ), dFdy( eye_pos.y ), dFdy( eye_pos.z ) );\n\t\tvec2 st0 = dFdx( vUv.st );\n\t\tvec2 st1 = dFdy( vUv.st );\n\t\tfloat scale = sign( st1.t * st0.s - st0.t * st1.s );\n\t\tvec3 S = normalize( ( q0 * st1.t - q1 * st0.t ) * scale );\n\t\tvec3 T = normalize( ( - q0 * st1.s + q1 * st0.s ) * scale );\n\t\tvec3 N = normalize( surf_norm );\n\t\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\t\tmapN.xy *= normalScale;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvec3 NfromST = cross( S, T );\n\t\t\tif( dot( NfromST, N ) > 0.0 ) {\n\t\t\t\tS *= -1.0;\n\t\t\t\tT *= -1.0;\n\t\t\t}\n\t\t#else\n\t\t\tmapN.xy *= ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t#endif\n\t\tmat3 tsn = mat3( S, T, N );\n\t\treturn normalize( tsn * mapN );\n\t}\n#endif", +clearcoat_normal_fragment_begin:"#ifdef CLEARCOAT\n\tvec3 clearcoatNormal = geometryNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n\t#ifdef USE_TANGENT\n\t\tmat3 vTBN = mat3( tangent, bitangent, clearcoatNormal );\n\t\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\t\tmapN.xy = clearcoatNormalScale * mapN.xy;\n\t\tclearcoatNormal = normalize( vTBN * mapN );\n\t#else\n\t\tclearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatNormalScale, clearcoatNormalMap );\n\t#endif\n#endif", +clearcoat_normalmap_pars_fragment:"#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform sampler2D clearcoatNormalMap;\n\tuniform vec2 clearcoatNormalScale;\n#endif",packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n\treturn normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n\treturn 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\nconst float ShiftRight8 = 1. / 256.;\nvec4 packDepthToRGBA( const in float v ) {\n\tvec4 r = vec4( fract( v * PackFactors ), v );\n\tr.yzw -= r.xyz * ShiftRight8;\treturn r * PackUpscale;\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n\treturn dot( v, UnpackFactors );\n}\nvec4 encodeHalfRGBA ( vec2 v ) {\n\tvec4 encoded = vec4( 0.0 );\n\tconst vec2 offset = vec2( 1.0 / 255.0, 0.0 );\n\tencoded.xy = vec2( v.x, fract( v.x * 255.0 ) );\n\tencoded.xy = encoded.xy - ( encoded.yy * offset );\n\tencoded.zw = vec2( v.y, fract( v.y * 255.0 ) );\n\tencoded.zw = encoded.zw - ( encoded.ww * offset );\n\treturn encoded;\n}\nvec2 decodeHalfRGBA( vec4 v ) {\n\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) {\n\treturn linearClipZ * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn (( near + viewZ ) * far ) / (( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) {\n\treturn ( near * far ) / ( ( far - near ) * invClipZ - far );\n}", +premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n\tgl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = modelViewMatrix * vec4( transformed, 1.0 );\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n\tvec3 dithering( vec3 color ) {\n\t\tfloat grid_position = rand( gl_FragCoord.xy );\n\t\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n\t\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n\t\treturn color + dither_shift_RGB;\n\t}\n#endif", +roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n\tvec4 texelRoughness = texture2D( roughnessMap, vUv );\n\troughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n\t\treturn step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n\t}\n\tvec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n\t\treturn decodeHalfRGBA( texture2D( shadow, uv ) );\n\t}\n\tfloat VSMShadow (sampler2D shadow, vec2 uv, float compare ){\n\t\tfloat occlusion = 1.0;\n\t\tvec2 distribution = texture2DDistribution( shadow, uv );\n\t\tfloat hard_shadow = step( compare , distribution.x );\n\t\tif (hard_shadow != 1.0 ) {\n\t\t\tfloat distance = compare - distribution.x ;\n\t\t\tfloat variance = max( 0.00000, distribution.y * distribution.y );\n\t\t\tfloat softness_probability = variance / (variance + distance * distance );\t\t\tsoftness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 );\t\t\tocclusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\n\t\t}\n\t\treturn occlusion;\n\t}\n\tfloat texture2DShadowLerp( sampler2D depths, vec2 size, vec2 uv, float compare ) {\n\t\tconst vec2 offset = vec2( 0.0, 1.0 );\n\t\tvec2 texelSize = vec2( 1.0 ) / size;\n\t\tvec2 centroidUV = ( floor( uv * size - 0.5 ) + 0.5 ) * texelSize;\n\t\tfloat lb = texture2DCompare( depths, centroidUV + texelSize * offset.xx, compare );\n\t\tfloat lt = texture2DCompare( depths, centroidUV + texelSize * offset.xy, compare );\n\t\tfloat rb = texture2DCompare( depths, centroidUV + texelSize * offset.yx, compare );\n\t\tfloat rt = texture2DCompare( depths, centroidUV + texelSize * offset.yy, compare );\n\t\tvec2 f = fract( uv * size + 0.5 );\n\t\tfloat a = mix( lb, lt, f.y );\n\t\tfloat b = mix( rb, rt, f.y );\n\t\tfloat c = mix( a, b, f.x );\n\t\treturn c;\n\t}\n\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n\t\tfloat shadow = 1.0;\n\t\tshadowCoord.xyz /= shadowCoord.w;\n\t\tshadowCoord.z += shadowBias;\n\t\tbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\n\t\tbool inFrustum = all( inFrustumVec );\n\t\tbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\n\t\tbool frustumTest = all( frustumTestVec );\n\t\tif ( frustumTest ) {\n\t\t#if defined( SHADOWMAP_TYPE_PCF )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tfloat dx2 = dx0 / 2.0;\n\t\t\tfloat dy2 = dy0 / 2.0;\n\t\t\tfloat dx3 = dx1 / 2.0;\n\t\t\tfloat dy3 = dy1 / 2.0;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 17.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tshadow = (\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_VSM )\n\t\t\tshadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#else\n\t\t\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#endif\n\t\t}\n\t\treturn shadow;\n\t}\n\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\n\t\tvec3 absV = abs( v );\n\t\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n\t\tabsV *= scaleToCube;\n\t\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n\t\tvec2 planar = v.xy;\n\t\tfloat almostATexel = 1.5 * texelSizeY;\n\t\tfloat almostOne = 1.0 - almostATexel;\n\t\tif ( absV.z >= almostOne ) {\n\t\t\tif ( v.z > 0.0 )\n\t\t\t\tplanar.x = 4.0 - v.x;\n\t\t} else if ( absV.x >= almostOne ) {\n\t\t\tfloat signX = sign( v.x );\n\t\t\tplanar.x = v.z * signX + 2.0 * signX;\n\t\t} else if ( absV.y >= almostOne ) {\n\t\t\tfloat signY = sign( v.y );\n\t\t\tplanar.x = v.x + 2.0 * signY + 2.0;\n\t\t\tplanar.y = v.z * signY - 2.0;\n\t\t}\n\t\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n\t}\n\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n\t\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n\t\tvec3 lightToPosition = shadowCoord.xyz;\n\t\tfloat dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\t\tdp += shadowBias;\n\t\tvec3 bd3D = normalize( lightToPosition );\n\t\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n\t\t\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n\t\t\treturn (\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#else\n\t\t\treturn texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n\t\t#endif\n\t}\n#endif", +shadowmap_pars_vertex:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform mat4 spotShadowMatrix[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n#endif", +shadowmap_vertex:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * worldPosition;\n\t}\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tvSpotShadowCoord[ i ] = spotShadowMatrix[ i ] * worldPosition;\n\t}\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * worldPosition;\n\t}\n\t#endif\n#endif", +shadowmask_pars_fragment:"float getShadowMask() {\n\tfloat shadow = 1.0;\n\t#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLight directionalLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tshadow *= bool( directionalLight.shadow ) ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t}\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLight spotLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tshadow *= bool( spotLight.shadow ) ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\n\t}\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLight pointLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tshadow *= bool( pointLight.shadow ) ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t}\n\t#endif\n\t#endif\n\treturn shadow;\n}", +skinbase_vertex:"#ifdef USE_SKINNING\n\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\n\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\n\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\n\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n\tuniform mat4 bindMatrix;\n\tuniform mat4 bindMatrixInverse;\n\t#ifdef BONE_TEXTURE\n\t\tuniform highp sampler2D boneTexture;\n\t\tuniform int boneTextureSize;\n\t\tmat4 getBoneMatrix( const in float i ) {\n\t\t\tfloat j = i * 4.0;\n\t\t\tfloat x = mod( j, float( boneTextureSize ) );\n\t\t\tfloat y = floor( j / float( boneTextureSize ) );\n\t\t\tfloat dx = 1.0 / float( boneTextureSize );\n\t\t\tfloat dy = 1.0 / float( boneTextureSize );\n\t\t\ty = dy * ( y + 0.5 );\n\t\t\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\n\t\t\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\n\t\t\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\n\t\t\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\n\t\t\tmat4 bone = mat4( v1, v2, v3, v4 );\n\t\t\treturn bone;\n\t\t}\n\t#else\n\t\tuniform mat4 boneMatrices[ MAX_BONES ];\n\t\tmat4 getBoneMatrix( const in float i ) {\n\t\t\tmat4 bone = boneMatrices[ int(i) ];\n\t\t\treturn bone;\n\t\t}\n\t#endif\n#endif", skinning_vertex:"#ifdef USE_SKINNING\n\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n\tvec4 skinned = vec4( 0.0 );\n\tskinned += boneMatX * skinVertex * skinWeight.x;\n\tskinned += boneMatY * skinVertex * skinWeight.y;\n\tskinned += boneMatZ * skinVertex * skinWeight.z;\n\tskinned += boneMatW * skinVertex * skinWeight.w;\n\ttransformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n\tmat4 skinMatrix = mat4( 0.0 );\n\tskinMatrix += skinWeight.x * boneMatX;\n\tskinMatrix += skinWeight.y * boneMatY;\n\tskinMatrix += skinWeight.z * boneMatZ;\n\tskinMatrix += skinWeight.w * boneMatW;\n\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n\t#ifdef USE_TANGENT\n\t\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#endif\n#endif", specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n\tvec4 texelSpecular = texture2D( specularMap, vUv );\n\tspecularStrength = texelSpecular.r;\n#else\n\tspecularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n\tuniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n\t#define saturate(a) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\nuniform float toneMappingWhitePoint;\nvec3 LinearToneMapping( vec3 color ) {\n\treturn toneMappingExposure * color;\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( color / ( vec3( 1.0 ) + color ) );\n}\n#define Uncharted2Helper( x ) max( ( ( x * ( 0.15 * x + 0.10 * 0.50 ) + 0.20 * 0.02 ) / ( x * ( 0.15 * x + 0.50 ) + 0.20 * 0.30 ) ) - 0.02 / 0.30, vec3( 0.0 ) )\nvec3 Uncharted2ToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( Uncharted2Helper( color ) / Uncharted2Helper( vec3( toneMappingWhitePoint ) ) );\n}\nvec3 OptimizedCineonToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\tcolor = max( vec3( 0.0 ), color - 0.004 );\n\treturn pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( ( color * ( 2.51 * color + 0.03 ) ) / ( color * ( 2.43 * color + 0.59 ) + 0.14 ) );\n}", -uv_pars_fragment:"#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP ) || defined( USE_ALPHAMAP ) || defined( USE_EMISSIVEMAP ) || defined( USE_ROUGHNESSMAP ) || defined( USE_METALNESSMAP )\n\tvarying vec2 vUv;\n#endif",uv_pars_vertex:"#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP ) || defined( USE_ALPHAMAP ) || defined( USE_EMISSIVEMAP ) || defined( USE_ROUGHNESSMAP ) || defined( USE_METALNESSMAP )\n\tvarying vec2 vUv;\n\tuniform mat3 uvTransform;\n#endif", -uv_vertex:"#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP ) || defined( USE_ALPHAMAP ) || defined( USE_EMISSIVEMAP ) || defined( USE_ROUGHNESSMAP ) || defined( USE_METALNESSMAP )\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n#endif",uv2_pars_fragment:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvarying vec2 vUv2;\n#endif",uv2_pars_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tattribute vec2 uv2;\n\tvarying vec2 vUv2;\n#endif", -uv2_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvUv2 = uv2;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP )\n\tvec4 worldPosition = modelMatrix * vec4( transformed, 1.0 );\n#endif",background_frag:"uniform sampler2D t2D;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texColor = texture2D( t2D, vUv );\n\tgl_FragColor = mapTexelToLinear( texColor );\n\t#include \n\t#include \n}",background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\tgl_Position = vec4( position.xy, 1.0, 1.0 );\n}", +uv_pars_fragment:"#ifdef USE_UV\n\tvarying vec2 vUv;\n#endif",uv_pars_vertex:"#ifdef USE_UV\n\tvarying vec2 vUv;\n\tuniform mat3 uvTransform;\n#endif",uv_vertex:"#ifdef USE_UV\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n#endif",uv2_pars_fragment:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvarying vec2 vUv2;\n#endif",uv2_pars_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tattribute vec2 uv2;\n\tvarying vec2 vUv2;\n#endif",uv2_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvUv2 = uv2;\n#endif", +worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP )\n\tvec4 worldPosition = modelMatrix * vec4( transformed, 1.0 );\n#endif",background_frag:"uniform sampler2D t2D;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texColor = texture2D( t2D, vUv );\n\tgl_FragColor = mapTexelToLinear( texColor );\n\t#include \n\t#include \n}",background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\tgl_Position = vec4( position.xy, 1.0, 1.0 );\n}", cube_frag:"uniform samplerCube tCube;\nuniform float tFlip;\nuniform float opacity;\nvarying vec3 vWorldDirection;\nvoid main() {\n\tvec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) );\n\tgl_FragColor = mapTexelToLinear( texColor );\n\tgl_FragColor.a *= opacity;\n\t#include \n\t#include \n}",cube_vert:"varying vec3 vWorldDirection;\n#include \nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include \n\t#include \n\tgl_Position.z = gl_Position.w;\n}", depth_frag:"#if DEPTH_PACKING == 3200\n\tuniform float opacity;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec4 diffuseColor = vec4( 1.0 );\n\t#if DEPTH_PACKING == 3200\n\t\tdiffuseColor.a = opacity;\n\t#endif\n\t#include \n\t#include \n\t#include \n\t#include \n\t#if DEPTH_PACKING == 3200\n\t\tgl_FragColor = vec4( vec3( 1.0 - gl_FragCoord.z ), opacity );\n\t#elif DEPTH_PACKING == 3201\n\t\tgl_FragColor = packDepthToRGBA( gl_FragCoord.z );\n\t#endif\n}", depth_vert:"#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include \n\t\t#include \n\t\t#include \n\t#endif\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n}", @@ -469,507 +623,374 @@ distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include \nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV;\n\tsampleUV.y = asin( clamp( direction.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\tsampleUV.x = atan( direction.z, direction.x ) * RECIPROCAL_PI2 + 0.5;\n\tvec4 texColor = texture2D( tEquirect, sampleUV );\n\tgl_FragColor = mapTexelToLinear( texColor );\n\t#include \n\t#include \n}", equirect_vert:"varying vec3 vWorldDirection;\n#include \nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include \n\t#include \n}",linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\n\t\tdiscard;\n\t}\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include \n\t#include \n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include \n\t#include \n\t#include \n\t#include \n}", linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvLineDistance = scale * lineDistance;\n\tvec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include \n\t#include \n\t#include \n}", -meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\t#ifdef USE_LIGHTMAP\n\t\treflectedLight.indirectDiffuse += texture2D( lightMap, vUv2 ).xyz * lightMapIntensity;\n\t#else\n\t\treflectedLight.indirectDiffuse += vec3( 1.0 );\n\t#endif\n\t#include \n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\t#include \n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include \n\t#include \n\t#include \n\t#include \n}", +meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\t#ifdef USE_LIGHTMAP\n\t\treflectedLight.indirectDiffuse += texture2D( lightMap, vUv2 ).xyz * lightMapIntensity;\n\t#else\n\t\treflectedLight.indirectDiffuse += vec3( 1.0 );\n\t#endif\n\t#include \n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\t#include \n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include \n\t#include \n\t#include \n\t#include \n}", meshbasic_vert:"#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#include \n\t#include \n\t#ifdef USE_ENVMAP\n\t#include \n\t#include \n\t#include \n\t#include \n\t#endif\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n}", -meshlambert_frag:"uniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\nvarying vec3 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n\tvarying vec3 vLightBack;\n\tvarying vec3 vIndirectBack;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\treflectedLight.indirectDiffuse = getAmbientLightIrradiance( ambientLightColor );\n\t#ifdef DOUBLE_SIDED\n\t\treflectedLight.indirectDiffuse += ( gl_FrontFacing ) ? vIndirectFront : vIndirectBack;\n\t#else\n\t\treflectedLight.indirectDiffuse += vIndirectFront;\n\t#endif\n\t#include \n\treflectedLight.indirectDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb );\n\t#ifdef DOUBLE_SIDED\n\t\treflectedLight.directDiffuse = ( gl_FrontFacing ) ? vLightFront : vLightBack;\n\t#else\n\t\treflectedLight.directDiffuse = vLightFront;\n\t#endif\n\treflectedLight.directDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb ) * getShadowMask();\n\t#include \n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include \n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n}", +meshlambert_frag:"uniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\nvarying vec3 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n\tvarying vec3 vLightBack;\n\tvarying vec3 vIndirectBack;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\treflectedLight.indirectDiffuse = getAmbientLightIrradiance( ambientLightColor );\n\t#ifdef DOUBLE_SIDED\n\t\treflectedLight.indirectDiffuse += ( gl_FrontFacing ) ? vIndirectFront : vIndirectBack;\n\t#else\n\t\treflectedLight.indirectDiffuse += vIndirectFront;\n\t#endif\n\t#include \n\treflectedLight.indirectDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb );\n\t#ifdef DOUBLE_SIDED\n\t\treflectedLight.directDiffuse = ( gl_FrontFacing ) ? vLightFront : vLightBack;\n\t#else\n\t\treflectedLight.directDiffuse = vLightFront;\n\t#endif\n\treflectedLight.directDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb ) * getShadowMask();\n\t#include \n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include \n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n}", meshlambert_vert:"#define LAMBERT\nvarying vec3 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n\tvarying vec3 vLightBack;\n\tvarying vec3 vIndirectBack;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n}", meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\tvec3 viewDir = normalize( vViewPosition );\n\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n\tvec3 y = cross( viewDir, x );\n\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n\t#ifdef USE_MATCAP\n\t\tvec4 matcapColor = texture2D( matcap, uv );\n\t\tmatcapColor = matcapTexelToLinear( matcapColor );\n\t#else\n\t\tvec4 matcapColor = vec4( 1.0 );\n\t#endif\n\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include \n\t#include \n\t#include \n\t#include \n}", meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#ifndef FLAT_SHADED\n\t\tvNormal = normalize( transformedNormal );\n\t#endif\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\tvViewPosition = - mvPosition.xyz;\n}", -meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#include \n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n}", +meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#include \n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n}", meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n#endif\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\tvViewPosition = - mvPosition.xyz;\n\t#include \n\t#include \n\t#include \n\t#include \n}", -meshphysical_frag:"#define PHYSICAL\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifndef STANDARD\n\tuniform float clearCoat;\n\tuniform float clearCoatRoughness;\n#endif\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n}", -meshphysical_vert:"#define PHYSICAL\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\tvViewPosition = - mvPosition.xyz;\n\t#include \n\t#include \n\t#include \n}", -normal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || ( defined( USE_NORMALMAP ) && ! defined( OBJECTSPACE_NORMALMAP ) )\n\tvarying vec3 vViewPosition;\n#endif\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#include \n\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\n}", -normal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || ( defined( USE_NORMALMAP ) && ! defined( OBJECTSPACE_NORMALMAP ) )\n\tvarying vec3 vViewPosition;\n#endif\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || ( defined( USE_NORMALMAP ) && ! defined( OBJECTSPACE_NORMALMAP ) )\n\tvViewPosition = - mvPosition.xyz;\n#endif\n}", +meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n\t#define REFLECTIVITY\n\t#define CLEARCOAT\n\t#define TRANSPARENCY\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef TRANSPARENCY\n\tuniform float transparency;\n#endif\n#ifdef REFLECTIVITY\n\tuniform float reflectivity;\n#endif\n#ifdef CLEARCOAT\n\tuniform float clearcoat;\n\tuniform float clearcoatRoughness;\n#endif\n#ifdef USE_SHEEN\n\tuniform vec3 sheen;\n#endif\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#ifdef TRANSPARENCY\n\t\tdiffuseColor.a *= saturate( 1. - transparency + linearToRelativeLuminance( reflectedLight.directSpecular + reflectedLight.indirectSpecular ) );\n\t#endif\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n}", +meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\tvViewPosition = - mvPosition.xyz;\n\t#include \n\t#include \n\t#include \n}", +normal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#include \n\t#include \n\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\n}", +normal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvViewPosition = - mvPosition.xyz;\n#endif\n}", points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include \n\t#include \n\t#include \n\t#include \n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include \n\t#include \n\t#include \n\t#include \n}", points_vert:"uniform float size;\nuniform float scale;\n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#include \n\t#include \n\tgl_PointSize = size;\n\t#ifdef USE_SIZEATTENUATION\n\t\tbool isPerspective = ( projectionMatrix[ 2 ][ 3 ] == - 1.0 );\n\t\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n\t#endif\n\t#include \n\t#include \n\t#include \n\t#include \n}", shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\t#include \n}",shadow_vert:"#include \n#include \nvoid main() {\n\t#include \n\t#include \n\t#include \n\t#include \n\t#include \n}", sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include \n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include \n\t#include \n\t#include \n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include \n\t#include \n\t#include \n}", sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include \n#include \n#include \n#include \n#include \nvoid main() {\n\t#include \n\tvec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\n\tvec2 scale;\n\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\n\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\n\t#ifndef USE_SIZEATTENUATION\n\t\tbool isPerspective = ( projectionMatrix[ 2 ][ 3 ] == - 1.0 );\n\t\tif ( isPerspective ) scale *= - mvPosition.z;\n\t#endif\n\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n\tvec2 rotatedPosition;\n\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n\tmvPosition.xy += rotatedPosition;\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include \n\t#include \n\t#include \n}"}, -kh={clone:Pb,merge:ia},lh={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643, -darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055, -grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184, -lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130, -palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780, -teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Object.assign(M.prototype,{isColor:!0,r:1,g:1,b:1,set:function(a){a&&a.isColor?this.copy(a):"number"===typeof a?this.setHex(a):"string"===typeof a&&this.setStyle(a);return this},setScalar:function(a){this.b=this.g=this.r=a;return this},setHex:function(a){a=Math.floor(a);this.r=(a>>16&255)/255;this.g=(a>>8&255)/255;this.b=(a&255)/255; -return this},setRGB:function(a,b,c){this.r=a;this.g=b;this.b=c;return this},setHSL:function(){function a(a,c,d){0>d&&(d+=1);1d?c:d<2/3?a+6*(c-a)*(2/3-d):a}return function(b,c,d){b=K.euclideanModulo(b,1);c=K.clamp(c,0,1);d=K.clamp(d,0,1);0===c?this.r=this.g=this.b=d:(c=.5>=d?d*(1+c):d+c-d*c,d=2*d-c,this.r=a(d,c,b+1/3),this.g=a(d,c,b),this.b=a(d,c,b-1/3));return this}}(),setStyle:function(a){function b(b){void 0!==b&&1>parseFloat(b)&&console.warn("THREE.Color: Alpha component of "+ -a+" will be ignored.")}var c;if(c=/^((?:rgb|hsl)a?)\(\s*([^\)]*)\)/.exec(a)){var d=c[2];switch(c[1]){case "rgb":case "rgba":if(c=/^(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d))return this.r=Math.min(255,parseInt(c[1],10))/255,this.g=Math.min(255,parseInt(c[2],10))/255,this.b=Math.min(255,parseInt(c[3],10))/255,b(c[5]),this;if(c=/^(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d))return this.r=Math.min(100,parseInt(c[1],10))/100,this.g=Math.min(100,parseInt(c[2], -10))/100,this.b=Math.min(100,parseInt(c[3],10))/100,b(c[5]),this;break;case "hsl":case "hsla":if(c=/^([0-9]*\.?[0-9]+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d)){d=parseFloat(c[1])/360;var e=parseInt(c[2],10)/100,f=parseInt(c[3],10)/100;b(c[5]);return this.setHSL(d,e,f)}}}else if(c=/^#([A-Fa-f0-9]+)$/.exec(a)){c=c[1];d=c.length;if(3===d)return this.r=parseInt(c.charAt(0)+c.charAt(0),16)/255,this.g=parseInt(c.charAt(1)+c.charAt(1),16)/255,this.b=parseInt(c.charAt(2)+c.charAt(2), -16)/255,this;if(6===d)return this.r=parseInt(c.charAt(0)+c.charAt(1),16)/255,this.g=parseInt(c.charAt(2)+c.charAt(3),16)/255,this.b=parseInt(c.charAt(4)+c.charAt(5),16)/255,this}a&&0a?.0773993808*a:Math.pow(.9478672986*a+.0521327014,2.4)}return function(b){this.r=a(b.r);this.g=a(b.g);this.b= -a(b.b);return this}}(),copyLinearToSRGB:function(){function a(a){return.0031308>a?12.92*a:1.055*Math.pow(a,.41666)-.055}return function(b){this.r=a(b.r);this.g=a(b.g);this.b=a(b.b);return this}}(),convertSRGBToLinear:function(){this.copySRGBToLinear(this);return this},convertLinearToSRGB:function(){this.copyLinearToSRGB(this);return this},getHex:function(){return 255*this.r<<16^255*this.g<<8^255*this.b<<0},getHexString:function(){return("000000"+this.getHex().toString(16)).slice(-6)},getHSL:function(a){void 0=== -a&&(console.warn("THREE.Color: .getHSL() target is now required"),a={h:0,s:0,l:0});var b=this.r,c=this.g,d=this.b,e=Math.max(b,c,d),f=Math.min(b,c,d),g,h=(f+e)/2;if(f===e)f=g=0;else{var k=e-f;f=.5>=h?k/(e+f):k/(2-e-f);switch(e){case b:g=(c-d)/k+(cMath.abs(g)?(this._x=Math.atan2(-m,e),this._z=Math.atan2(-f,a)):(this._x=Math.atan2(q,k),this._z=0)):"YXZ"===b?(this._x=Math.asin(-d(m,-1,1)),.99999>Math.abs(m)?(this._y=Math.atan2(g,e),this._z=Math.atan2(h,k)):(this._y=Math.atan2(-l,a),this._z=0)):"ZXY"===b?(this._x=Math.asin(d(q,-1,1)),.99999>Math.abs(q)?(this._y=Math.atan2(-l,e),this._z=Math.atan2(-f,k)):(this._y=0,this._z=Math.atan2(h,a))):"ZYX"===b?(this._y=Math.asin(-d(l, --1,1)),.99999>Math.abs(l)?(this._x=Math.atan2(q,e),this._z=Math.atan2(h,a)):(this._x=0,this._z=Math.atan2(-f,k))):"YZX"===b?(this._z=Math.asin(d(h,-1,1)),.99999>Math.abs(h)?(this._x=Math.atan2(-m,k),this._y=Math.atan2(-l,a)):(this._x=0,this._y=Math.atan2(g,e))):"XZY"===b?(this._z=Math.asin(-d(f,-1,1)),.99999>Math.abs(f)?(this._x=Math.atan2(q,k),this._y=Math.atan2(g,a)):(this._x=Math.atan2(-m,e),this._y=0)):console.warn("THREE.Euler: .setFromRotationMatrix() given unsupported order: "+b);this._order= -b;if(!1!==c)this.onChangeCallback();return this},setFromQuaternion:function(){var a=new P;return function(b,c,d){a.makeRotationFromQuaternion(b);return this.setFromRotationMatrix(a,c,d)}}(),setFromVector3:function(a,b){return this.set(a.x,a.y,a.z,b||this._order)},reorder:function(){var a=new aa;return function(b){a.setFromEuler(this);return this.setFromQuaternion(a,b)}}(),equals:function(a){return a._x===this._x&&a._y===this._y&&a._z===this._z&&a._order===this._order},fromArray:function(a){this._x= -a[0];this._y=a[1];this._z=a[2];void 0!==a[3]&&(this._order=a[3]);this.onChangeCallback();return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this._x;a[b+1]=this._y;a[b+2]=this._z;a[b+3]=this._order;return a},toVector3:function(a){return a?a.set(this._x,this._y,this._z):new n(this._x,this._y,this._z)},onChange:function(a){this.onChangeCallback=a;return this},onChangeCallback:function(){}});Object.assign(be.prototype,{set:function(a){this.mask=1<g;g++)if(d[g]===d[(g+1)%3]){a.push(f);break}for(f=a.length-1;0<=f;f--)for(d=a[f],this.faces.splice(d,1),c=0,e= -this.faceVertexUvs.length;cthis.opacity&&(d.opacity=this.opacity);!0===this.transparent&&(d.transparent=this.transparent);d.depthFunc=this.depthFunc;d.depthTest=this.depthTest;d.depthWrite=this.depthWrite;0!==this.rotation&&(d.rotation=this.rotation);!0===this.polygonOffset&&(d.polygonOffset=!0);0!==this.polygonOffsetFactor&&(d.polygonOffsetFactor=this.polygonOffsetFactor);0!==this.polygonOffsetUnits&&(d.polygonOffsetUnits=this.polygonOffsetUnits); -1!==this.linewidth&&(d.linewidth=this.linewidth);void 0!==this.dashSize&&(d.dashSize=this.dashSize);void 0!==this.gapSize&&(d.gapSize=this.gapSize);void 0!==this.scale&&(d.scale=this.scale);!0===this.dithering&&(d.dithering=!0);0a?b.copy(this.origin):b.copy(this.direction).multiplyScalar(a).add(this.origin)},distanceToPoint:function(a){return Math.sqrt(this.distanceSqToPoint(a))},distanceSqToPoint:function(){var a=new n;return function(b){var c=a.subVectors(b,this.origin).dot(this.direction);if(0>c)return this.origin.distanceToSquared(b);a.copy(this.direction).multiplyScalar(c).add(this.origin);return a.distanceToSquared(b)}}(),distanceSqToSegment:function(){var a= -new n,b=new n,c=new n;return function(d,e,f,g){a.copy(d).add(e).multiplyScalar(.5);b.copy(e).sub(d).normalize();c.copy(this.origin).sub(a);var h=.5*d.distanceTo(e),k=-this.direction.dot(b),m=c.dot(this.direction),l=-c.dot(b),n=c.lengthSq(),v=Math.abs(1-k*k);if(0=-t?e<=t?(h=1/v,d*=h,e*=h,k=d*(d+k*e+2*m)+e*(k*d+e+2*l)+n):(e=h,d=Math.max(0,-(k*e+m)),k=-d*d+e*(e+2*l)+n):(e=-h,d=Math.max(0,-(k*e+m)),k=-d*d+e*(e+2*l)+n):e<=-t?(d=Math.max(0,-(-k*h+m)),e=0b)return null; -b=Math.sqrt(b-e);e=d-b;d+=b;return 0>e&&0>d?null:0>e?this.at(d,c):this.at(e,c)}}(),intersectsSphere:function(a){return this.distanceSqToPoint(a.center)<=a.radius*a.radius},distanceToPlane:function(a){var b=a.normal.dot(this.direction);if(0===b)return 0===a.distanceToPoint(this.origin)?0:null;a=-(this.origin.dot(a.normal)+a.constant)/b;return 0<=a?a:null},intersectPlane:function(a,b){a=this.distanceToPlane(a);return null===a?null:this.at(a,b)},intersectsPlane:function(a){var b=a.distanceToPoint(this.origin); -return 0===b||0>a.normal.dot(this.direction)*b?!0:!1},intersectBox:function(a,b){var c=1/this.direction.x;var d=1/this.direction.y;var e=1/this.direction.z,f=this.origin;if(0<=c){var g=(a.min.x-f.x)*c;c*=a.max.x-f.x}else g=(a.max.x-f.x)*c,c*=a.min.x-f.x;if(0<=d){var h=(a.min.y-f.y)*d;d*=a.max.y-f.y}else h=(a.max.y-f.y)*d,d*=a.min.y-f.y;if(g>d||h>c)return null;if(h>g||g!==g)g=h;if(da||h>c)return null; -if(h>g||g!==g)g=h;if(ac?null:this.at(0<=g?g:c,b)},intersectsBox:function(){var a=new n;return function(b){return null!==this.intersectBox(b,a)}}(),intersectTriangle:function(){var a=new n,b=new n,c=new n,d=new n;return function(e,f,g,h,k){b.subVectors(f,e);c.subVectors(g,e);d.crossVectors(b,c);f=this.direction.dot(d);if(0f)h=-1,f=-f;else return null;a.subVectors(this.origin,e);e=h*this.direction.dot(c.crossVectors(a,c));if(0>e)return null; -g=h*this.direction.dot(b.cross(a));if(0>g||e+g>f)return null;e=-h*a.dot(d);return 0>e?null:this.at(e/f,k)}}(),applyMatrix4:function(a){this.origin.applyMatrix4(a);this.direction.transformDirection(a);return this},equals:function(a){return a.origin.equals(this.origin)&&a.direction.equals(this.direction)}});Object.assign(ra,{getNormal:function(){var a=new n;return function(b,c,d,e){void 0===e&&(console.warn("THREE.Triangle: .getNormal() target is now required"),e=new n);e.subVectors(d,c);a.subVectors(b, -c);e.cross(a);b=e.lengthSq();return 0=a.x+a.y}}(),getUV:function(){var a=new n;return function(b,c,d,e,f,g,h,k){this.getBarycoord(b,c,d,e,a);k.set(0,0);k.addScaledVector(f,a.x);k.addScaledVector(g,a.y);k.addScaledVector(h,a.z);return k}}()});Object.assign(ra.prototype,{set:function(a,b,c){this.a.copy(a);this.b.copy(b);this.c.copy(c);return this},setFromPointsAndIndices:function(a,b,c,d){this.a.copy(a[b]);this.b.copy(a[c]);this.c.copy(a[d]);return this}, -clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.a.copy(a.a);this.b.copy(a.b);this.c.copy(a.c);return this},getArea:function(){var a=new n,b=new n;return function(){a.subVectors(this.c,this.b);b.subVectors(this.a,this.b);return.5*a.cross(b).length()}}(),getMidpoint:function(a){void 0===a&&(console.warn("THREE.Triangle: .getMidpoint() target is now required"),a=new n);return a.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)},getNormal:function(a){return ra.getNormal(this.a, -this.b,this.c,a)},getPlane:function(a){void 0===a&&(console.warn("THREE.Triangle: .getPlane() target is now required"),a=new n);return a.setFromCoplanarPoints(this.a,this.b,this.c)},getBarycoord:function(a,b){return ra.getBarycoord(a,this.a,this.b,this.c,b)},containsPoint:function(a){return ra.containsPoint(a,this.a,this.b,this.c)},getUV:function(a,b,c,d,e){return ra.getUV(a,this.a,this.b,this.c,b,c,d,e)},intersectsBox:function(a){return a.intersectsTriangle(this)},closestPointToPoint:function(){var a= -new n,b=new n,c=new n,d=new n,e=new n,f=new n;return function(g,h){void 0===h&&(console.warn("THREE.Triangle: .closestPointToPoint() target is now required"),h=new n);var k=this.a,m=this.b,l=this.c;a.subVectors(m,k);b.subVectors(l,k);d.subVectors(g,k);var q=a.dot(d),v=b.dot(d);if(0>=q&&0>=v)return h.copy(k);e.subVectors(g,m);var t=a.dot(e),r=b.dot(e);if(0<=t&&r<=t)return h.copy(m);var u=q*r-t*v;if(0>=u&&0<=q&&0>=t)return m=q/(q-t),h.copy(k).addScaledVector(a,m);f.subVectors(g,l);g=a.dot(f);var x= -b.dot(f);if(0<=x&&g<=x)return h.copy(l);q=g*v-q*x;if(0>=q&&0<=v&&0>=x)return u=v/(v-x),h.copy(k).addScaledVector(b,u);v=t*x-g*r;if(0>=v&&0<=r-t&&0<=g-x)return c.subVectors(l,m),u=(r-t)/(r-t+(g-x)),h.copy(m).addScaledVector(c,u);l=1/(v+q+u);m=q*l;u*=l;return h.copy(k).addScaledVector(a,m).addScaledVector(b,u)}}(),equals:function(a){return a.a.equals(this.a)&&a.b.equals(this.b)&&a.c.equals(this.c)}});Da.prototype=Object.create(O.prototype);Da.prototype.constructor=Da;Da.prototype.isMeshBasicMaterial= -!0;Da.prototype.copy=function(a){O.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap; -this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;return this};va.prototype=Object.assign(Object.create(C.prototype),{constructor:va,isMesh:!0,setDrawMode:function(a){this.drawMode=a},copy:function(a){C.prototype.copy.call(this,a);this.drawMode=a.drawMode;void 0!==a.morphTargetInfluences&&(this.morphTargetInfluences=a.morphTargetInfluences.slice());void 0!==a.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},a.morphTargetDictionary)); -return this},updateMorphTargets:function(){var a=this.geometry;if(a.isBufferGeometry){a=a.morphAttributes;var b=Object.keys(a);if(0c.far?null:{distance:b,point:w.clone(),object:a}}function b(b,c,d,e,p,n,w,C,z,E){f.fromBufferAttribute(p,C);g.fromBufferAttribute(p,z);h.fromBufferAttribute(p,E);p=b.morphTargetInfluences;if(c.morphTargets&&n&&p){q.set(0,0,0);v.set(0,0,0);t.set(0,0,0);for(var y= -0,J=n.length;ye.far||f.push({distance:r,point:b.clone(),uv:ra.getUV(b,h,k,m,l,q,v,new B),face:null,object:this})}}(),clone:function(){return(new this.constructor(this.material)).copy(this)}, -copy:function(a){C.prototype.copy.call(this,a);void 0!==a.center&&this.center.copy(a.center);return this}});Jc.prototype=Object.assign(Object.create(C.prototype),{constructor:Jc,copy:function(a){C.prototype.copy.call(this,a,!1);a=a.levels;for(var b=0,c=a.length;b=d[e].distance)d[e-1].object.visible=!1,d[e].object.visible=!0;else break;for(;ef||(l.applyMatrix4(this.matrixWorld),u=d.ray.origin.distanceTo(l),ud.far|| -e.push({distance:u,point:h.clone().applyMatrix4(this.matrixWorld),index:g,face:null,faceIndex:null,object:this}))}}else for(g=0,r=t.length/3-1;gf||(l.applyMatrix4(this.matrixWorld),u=d.ray.origin.distanceTo(l),ud.far||e.push({distance:u,point:h.clone().applyMatrix4(this.matrixWorld),index:g,face:null,faceIndex:null,object:this}))}else if(g.isGeometry)for(k=g.vertices,m=k.length,g=0;gf||(l.applyMatrix4(this.matrixWorld),u=d.ray.origin.distanceTo(l),ud.far||e.push({distance:u,point:h.clone().applyMatrix4(this.matrixWorld),index:g,face:null,faceIndex:null,object:this}))}}}(),clone:function(){return(new this.constructor(this.geometry,this.material)).copy(this)}});V.prototype=Object.assign(Object.create(oa.prototype),{constructor:V,isLineSegments:!0,computeLineDistances:function(){var a=new n,b=new n;return function(){var c=this.geometry;if(c.isBufferGeometry)if(null=== -c.index){for(var d=c.attributes.position,e=[],f=0,g=d.count;fd.far||e.push({distance:a,distanceToRay:Math.sqrt(f),point:q.clone(),index:c,face:null,object:g}))}var g=this,h=this.geometry,k=this.matrixWorld,m=d.params.Points.threshold;null===h.boundingSphere&&h.computeBoundingSphere();c.copy(h.boundingSphere);c.applyMatrix4(k);c.radius+=m;if(!1!==d.ray.intersectsSphere(c)){a.getInverse(k); -b.copy(d.ray).applyMatrix4(a);m/=(this.scale.x+this.scale.y+this.scale.z)/3;var l=m*m;m=new n;var q=new n;if(h.isBufferGeometry){var v=h.index;h=h.attributes.position.array;if(null!==v){var t=v.array;v=0;for(var r=t.length;v=a.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}});Yb.prototype=Object.create(W.prototype);Yb.prototype.constructor=Yb;Yb.prototype.isCompressedTexture=!0;Lc.prototype=Object.create(W.prototype);Lc.prototype.constructor=Lc;Lc.prototype.isCanvasTexture=!0;Mc.prototype=Object.create(W.prototype);Mc.prototype.constructor=Mc;Mc.prototype.isDepthTexture=!0;Zb.prototype=Object.create(z.prototype);Zb.prototype.constructor=Zb;Nc.prototype= -Object.create(N.prototype);Nc.prototype.constructor=Nc;$b.prototype=Object.create(z.prototype);$b.prototype.constructor=$b;Oc.prototype=Object.create(N.prototype);Oc.prototype.constructor=Oc;ka.prototype=Object.create(z.prototype);ka.prototype.constructor=ka;Pc.prototype=Object.create(N.prototype);Pc.prototype.constructor=Pc;ac.prototype=Object.create(ka.prototype);ac.prototype.constructor=ac;Qc.prototype=Object.create(N.prototype);Qc.prototype.constructor=Qc;yb.prototype=Object.create(ka.prototype); -yb.prototype.constructor=yb;Rc.prototype=Object.create(N.prototype);Rc.prototype.constructor=Rc;bc.prototype=Object.create(ka.prototype);bc.prototype.constructor=bc;Sc.prototype=Object.create(N.prototype);Sc.prototype.constructor=Sc;cc.prototype=Object.create(ka.prototype);cc.prototype.constructor=cc;Tc.prototype=Object.create(N.prototype);Tc.prototype.constructor=Tc;zb.prototype=Object.create(z.prototype);zb.prototype.constructor=zb;zb.prototype.toJSON=function(){var a=z.prototype.toJSON.call(this); -a.path=this.parameters.path.toJSON();return a};Uc.prototype=Object.create(N.prototype);Uc.prototype.constructor=Uc;dc.prototype=Object.create(z.prototype);dc.prototype.constructor=dc;Vc.prototype=Object.create(N.prototype);Vc.prototype.constructor=Vc;ec.prototype=Object.create(z.prototype);ec.prototype.constructor=ec;var mh={triangulate:function(a,b,c){c=c||2;var d=b&&b.length,e=d?b[0]*c:a.length,f=vf(a,0,e,c,!0),g=[];if(!f)return g;var h;if(d){var k=c;d=[];var m;var l=0;for(m=b.length;l80*c){var t=h=a[0];var r=d=a[1];for(k=c;kh&&(h=l),b>d&&(d=b);h=Math.max(h-t,d-r);h=0!==h?1/h:0}Yc(f,g,c,t,r,h);return g}},cb={area:function(a){for(var b=a.length,c=0,d=b-1,e=0;e -cb.area(a)},triangulateShape:function(a,b){var c=[],d=[],e=[];zf(a);Af(c,a);var f=a.length;b.forEach(zf);for(a=0;aMath.abs(g-k)?[new B(a,1-c),new B(h,1-d), -new B(m,1-e),new B(n,1-b)]:[new B(g,1-c),new B(k,1-d),new B(l,1-e),new B(v,1-b)]}};$c.prototype=Object.create(N.prototype);$c.prototype.constructor=$c;fc.prototype=Object.create(Ya.prototype);fc.prototype.constructor=fc;ad.prototype=Object.create(N.prototype);ad.prototype.constructor=ad;Cb.prototype=Object.create(z.prototype);Cb.prototype.constructor=Cb;bd.prototype=Object.create(N.prototype);bd.prototype.constructor=bd;gc.prototype=Object.create(z.prototype);gc.prototype.constructor=gc;cd.prototype= -Object.create(N.prototype);cd.prototype.constructor=cd;hc.prototype=Object.create(z.prototype);hc.prototype.constructor=hc;Db.prototype=Object.create(N.prototype);Db.prototype.constructor=Db;Db.prototype.toJSON=function(){var a=N.prototype.toJSON.call(this);return Cf(this.parameters.shapes,a)};Eb.prototype=Object.create(z.prototype);Eb.prototype.constructor=Eb;Eb.prototype.toJSON=function(){var a=z.prototype.toJSON.call(this);return Cf(this.parameters.shapes,a)};ic.prototype=Object.create(z.prototype); -ic.prototype.constructor=ic;Fb.prototype=Object.create(N.prototype);Fb.prototype.constructor=Fb;db.prototype=Object.create(z.prototype);db.prototype.constructor=db;dd.prototype=Object.create(Fb.prototype);dd.prototype.constructor=dd;ed.prototype=Object.create(db.prototype);ed.prototype.constructor=ed;fd.prototype=Object.create(N.prototype);fd.prototype.constructor=fd;jc.prototype=Object.create(z.prototype);jc.prototype.constructor=jc;var ya=Object.freeze({WireframeGeometry:Zb,ParametricGeometry:Nc, -ParametricBufferGeometry:$b,TetrahedronGeometry:Pc,TetrahedronBufferGeometry:ac,OctahedronGeometry:Qc,OctahedronBufferGeometry:yb,IcosahedronGeometry:Rc,IcosahedronBufferGeometry:bc,DodecahedronGeometry:Sc,DodecahedronBufferGeometry:cc,PolyhedronGeometry:Oc,PolyhedronBufferGeometry:ka,TubeGeometry:Tc,TubeBufferGeometry:zb,TorusKnotGeometry:Uc,TorusKnotBufferGeometry:dc,TorusGeometry:Vc,TorusBufferGeometry:ec,TextGeometry:$c,TextBufferGeometry:fc,SphereGeometry:ad,SphereBufferGeometry:Cb,RingGeometry:bd, -RingBufferGeometry:gc,PlaneGeometry:Dc,PlaneBufferGeometry:vb,LatheGeometry:cd,LatheBufferGeometry:hc,ShapeGeometry:Db,ShapeBufferGeometry:Eb,ExtrudeGeometry:Bb,ExtrudeBufferGeometry:Ya,EdgesGeometry:ic,ConeGeometry:dd,ConeBufferGeometry:ed,CylinderGeometry:Fb,CylinderBufferGeometry:db,CircleGeometry:fd,CircleBufferGeometry:jc,BoxGeometry:Rb,BoxBufferGeometry:ub});Gb.prototype=Object.create(O.prototype);Gb.prototype.constructor=Gb;Gb.prototype.isShadowMaterial=!0;Gb.prototype.copy=function(a){O.prototype.copy.call(this, -a);this.color.copy(a.color);return this};kc.prototype=Object.create(Ca.prototype);kc.prototype.constructor=kc;kc.prototype.isRawShaderMaterial=!0;Za.prototype=Object.create(O.prototype);Za.prototype.constructor=Za;Za.prototype.isMeshStandardMaterial=!0;Za.prototype.copy=function(a){O.prototype.copy.call(this,a);this.defines={STANDARD:""};this.color.copy(a.color);this.roughness=a.roughness;this.metalness=a.metalness;this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity; -this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.roughnessMap=a.roughnessMap;this.metalnessMap=a.metalnessMap;this.alphaMap= -a.alphaMap;this.envMap=a.envMap;this.envMapIntensity=a.envMapIntensity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};Hb.prototype=Object.create(Za.prototype);Hb.prototype.constructor=Hb;Hb.prototype.isMeshPhysicalMaterial=!0;Hb.prototype.copy=function(a){Za.prototype.copy.call(this, -a);this.defines={PHYSICAL:""};this.reflectivity=a.reflectivity;this.clearCoat=a.clearCoat;this.clearCoatRoughness=a.clearCoatRoughness;return this};La.prototype=Object.create(O.prototype);La.prototype.constructor=La;La.prototype.isMeshPhongMaterial=!0;La.prototype.copy=function(a){O.prototype.copy.call(this,a);this.color.copy(a.color);this.specular.copy(a.specular);this.shininess=a.shininess;this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity= -a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity= -a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};Ib.prototype=Object.create(La.prototype);Ib.prototype.constructor=Ib;Ib.prototype.isMeshToonMaterial=!0;Ib.prototype.copy=function(a){La.prototype.copy.call(this,a);this.gradientMap=a.gradientMap; -return this};Jb.prototype=Object.create(O.prototype);Jb.prototype.constructor=Jb;Jb.prototype.isMeshNormalMaterial=!0;Jb.prototype.copy=function(a){O.prototype.copy.call(this,a);this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.wireframe=a.wireframe;this.wireframeLinewidth= -a.wireframeLinewidth;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};Kb.prototype=Object.create(O.prototype);Kb.prototype.constructor=Kb;Kb.prototype.isMeshLambertMaterial=!0;Kb.prototype.copy=function(a){O.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap= -a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};Lb.prototype= -Object.create(O.prototype);Lb.prototype.constructor=Lb;Lb.prototype.isMeshMatcapMaterial=!0;Lb.prototype.copy=function(a){O.prototype.copy.call(this,a);this.defines={MATCAP:""};this.color.copy(a.color);this.matcap=a.matcap;this.map=a.map;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias; -this.alphaMap=a.alphaMap;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};Mb.prototype=Object.create(R.prototype);Mb.prototype.constructor=Mb;Mb.prototype.isLineDashedMaterial=!0;Mb.prototype.copy=function(a){R.prototype.copy.call(this,a);this.scale=a.scale;this.dashSize=a.dashSize;this.gapSize=a.gapSize;return this};var nh=Object.freeze({ShadowMaterial:Gb,SpriteMaterial:mb,RawShaderMaterial:kc,ShaderMaterial:Ca,PointsMaterial:Ka,MeshPhysicalMaterial:Hb, -MeshStandardMaterial:Za,MeshPhongMaterial:La,MeshToonMaterial:Ib,MeshNormalMaterial:Jb,MeshLambertMaterial:Kb,MeshDepthMaterial:ib,MeshDistanceMaterial:jb,MeshBasicMaterial:Da,MeshMatcapMaterial:Lb,LineDashedMaterial:Mb,LineBasicMaterial:R,Material:O}),pa={arraySlice:function(a,b,c){return pa.isTypedArray(a)?new a.constructor(a.subarray(b,void 0!==c?c:a.length)):a.slice(b,c)},convertArray:function(a,b,c){return!a||!c&&a.constructor===b?a:"number"===typeof b.BYTES_PER_ELEMENT?new b(a):Array.prototype.slice.call(a)}, -isTypedArray:function(a){return ArrayBuffer.isView(a)&&!(a instanceof DataView)},getKeyframeOrder:function(a){for(var b=a.length,c=Array(b),d=0;d!==b;++d)c[d]=d;c.sort(function(b,c){return a[b]-a[c]});return c},sortedArray:function(a,b,c){for(var d=a.length,e=new a.constructor(d),f=0,g=0;g!==d;++f)for(var h=c[f]*b,k=0;k!==b;++k)e[g++]=a[h+k];return e},flattenJSON:function(a,b,c,d){for(var e=1,f=a[0];void 0!==f&&void 0===f[d];)f=a[e++];if(void 0!==f){var g=f[d];if(void 0!==g)if(Array.isArray(g)){do g= -f[d],void 0!==g&&(b.push(f.time),c.push.apply(c,g)),f=a[e++];while(void 0!==f)}else if(void 0!==g.toArray){do g=f[d],void 0!==g&&(b.push(f.time),g.toArray(c,c.length)),f=a[e++];while(void 0!==f)}else{do g=f[d],void 0!==g&&(b.push(f.time),c.push(g)),f=a[e++];while(void 0!==f)}}}};Object.assign(Fa.prototype,{evaluate:function(a){var b=this.parameterPositions,c=this._cachedIndex,d=b[c],e=b[c-1];a:{b:{c:{d:if(!(a=e)break a;else{f=b[1];a=e)break b}d=c;c=0}}for(;c>>1,ab;)--f;++f;if(0!==e||f!==d)e>=f&&(f=Math.max(f,1),e=f-1),a=this.getValueSize(),this.times=pa.arraySlice(c,e,f),this.values=pa.arraySlice(this.values,e*a,f*a);return this},validate:function(){var a=!0,b=this.getValueSize();0!==b-Math.floor(b)&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),a=!1);var c=this.times;b=this.values;var d=c.length;0===d&&(console.error("THREE.KeyframeTrack: Track is empty.", -this),a=!1);for(var e=null,f=0;f!==d;f++){var g=c[f];if("number"===typeof g&&isNaN(g)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,f,g);a=!1;break}if(null!==e&&e>g){console.error("THREE.KeyframeTrack: Out of order keys.",this,f,g,e);a=!1;break}e=g}if(void 0!==b&&pa.isTypedArray(b))for(f=0,c=b.length;f!==c;++f)if(d=b[f],isNaN(d)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,f,d);a=!1;break}return a},optimize:function(){for(var a=this.times,b=this.values, -c=this.getValueSize(),d=2302===this.getInterpolation(),e=1,f=a.length-1,g=1;gg)e=a+1;else if(0b&&(b=0);1Number.EPSILON&&(g.normalize(),c=Math.acos(K.clamp(d[k-1].dot(d[k]),-1,1)),e[k].applyMatrix4(h.makeRotationAxis(g,c))),f[k].crossVectors(d[k],e[k]);if(!0===b)for(c=Math.acos(K.clamp(e[0].dot(e[a]),-1,1)),c/=a,0d;)d+=c;for(;d>c;)d-=c;de&&(e=1);1E-4>d&&(d=e);1E-4>k&&(k=e);Ke.initNonuniformCatmullRom(f.x,g.x,h.x,c.x,d,e,k);Le.initNonuniformCatmullRom(f.y,g.y,h.y,c.y,d,e,k);Me.initNonuniformCatmullRom(f.z,g.z,h.z,c.z,d,e,k)}else"catmullrom"===this.curveType&&(Ke.initCatmullRom(f.x,g.x,h.x,c.x,this.tension),Le.initCatmullRom(f.y,g.y,h.y,c.y,this.tension),Me.initCatmullRom(f.z,g.z,h.z,c.z,this.tension));b.set(Ke.calc(a), -Le.calc(a),Me.calc(a));return b};qa.prototype.copy=function(a){I.prototype.copy.call(this,a);this.points=[];for(var b=0,c=a.points.length;bc.length-2?c.length-1:a+1];c=c[a>c.length-3?c.length-1:a+2];b.set(Ff(d,e.x,f.x,g.x,c.x),Ff(d,e.y,f.y,g.y,c.y));return b};Qa.prototype.copy=function(a){I.prototype.copy.call(this,a);this.points=[];for(var b=0,c=a.points.length;b=b)return b=c[a]-b,a=this.curves[a],c=a.getLength(),a.getPointAt(0===c?0:1-b/c);a++}return null},getLength:function(){var a=this.getCurveLengths(); -return a[a.length-1]},updateArcLengths:function(){this.needsUpdate=!0;this.cacheLengths=null;this.getCurveLengths()},getCurveLengths:function(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;for(var a=[],b=0,c=0,d=this.curves.length;cNumber.EPSILON){if(0>m&&(g=b[f],k=-k,h=b[e],m=-m),!(a.yh.y))if(a.y===g.y){if(a.x===g.x)return!0}else{e=m*(a.x-g.x)-k*(a.y-g.y);if(0===e)return!0;0>e||(d=!d)}}else if(a.y===g.y&&(h.x<=a.x&&a.x<=g.x||g.x<=a.x&&a.x<=h.x))return!0}return d}var e=cb.isClockWise,f=this.subPaths;if(0===f.length)return[];if(!0===b)return c(f);b=[];if(1===f.length){var g=f[0];var h=new nb;h.curves=g.curves; -b.push(h);return b}var k=!e(f[0].getPoints());k=a?!k:k;h=[];var m=[],l=[],n=0;m[n]=void 0;l[n]=[];for(var v=0,t=f.length;vl.opacity&&(l.transparent=!0);d.setTextures(k);return d.parse(l)}}()});var Zd,xe={getContext:function(){void 0===Zd&&(Zd=new (window.AudioContext||window.webkitAudioContext));return Zd},setContext:function(a){Zd=a}};Object.assign(ue.prototype,{load:function(a,b,c,d){var e=new Ma(this.manager);e.setResponseType("arraybuffer");e.setPath(this.path);e.load(a,function(a){a=a.slice(0);xe.getContext().decodeAudioData(a,function(a){b(a)})},c,d)},setPath:function(a){this.path=a; -return this}});Object.assign(Hf.prototype,{update:function(){var a,b,c,d,e,f,g,h,k=new P,l=new P;return function(m){if(a!==this||b!==m.focus||c!==m.fov||d!==m.aspect*this.aspect||e!==m.near||f!==m.far||g!==m.zoom||h!==this.eyeSep){a=this;b=m.focus;c=m.fov;d=m.aspect*this.aspect;e=m.near;f=m.far;g=m.zoom;var n=m.projectionMatrix.clone();h=this.eyeSep/2;var p=h*e/b,t=e*Math.tan(K.DEG2RAD*c*.5)/g;l.elements[12]=-h;k.elements[12]=h;var r=-t*d+p;var u=t*d+p;n.elements[0]=2*e/(u-r);n.elements[8]=(u+r)/ -(u-r);this.cameraL.projectionMatrix.copy(n);r=-t*d-p;u=t*d-p;n.elements[0]=2*e/(u-r);n.elements[8]=(u+r)/(u-r);this.cameraR.projectionMatrix.copy(n)}this.cameraL.matrixWorld.copy(m.matrixWorld).multiply(l);this.cameraR.matrixWorld.copy(m.matrixWorld).multiply(k)}}()});nd.prototype=Object.create(C.prototype);nd.prototype.constructor=nd;Object.assign(ve.prototype,{start:function(){this.oldTime=this.startTime=("undefined"===typeof performance?Date:performance).now();this.elapsedTime=0;this.running=!0}, -stop:function(){this.getElapsedTime();this.autoStart=this.running=!1},getElapsedTime:function(){this.getDelta();return this.elapsedTime},getDelta:function(){var a=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){var b=("undefined"===typeof performance?Date:performance).now();a=(b-this.oldTime)/1E3;this.oldTime=b;this.elapsedTime+=a}return a}});we.prototype=Object.assign(Object.create(C.prototype),{constructor:we,getInput:function(){return this.gain},removeFilter:function(){null!== -this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null);return this},getFilter:function(){return this.filter},setFilter:function(a){null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination);this.filter=a;this.gain.connect(this.filter);this.filter.connect(this.context.destination);return this},getMasterVolume:function(){return this.gain.gain.value}, -setMasterVolume:function(a){this.gain.gain.setTargetAtTime(a,this.context.currentTime,.01);return this},updateMatrixWorld:function(){var a=new n,b=new aa,c=new n,d=new n,e=new ve;return function(f){C.prototype.updateMatrixWorld.call(this,f);f=this.context.listener;var g=this.up;this.timeDelta=e.getDelta();this.matrixWorld.decompose(a,b,c);d.set(0,0,-1).applyQuaternion(b);if(f.positionX){var h=this.context.currentTime+this.timeDelta;f.positionX.linearRampToValueAtTime(a.x,h);f.positionY.linearRampToValueAtTime(a.y, -h);f.positionZ.linearRampToValueAtTime(a.z,h);f.forwardX.linearRampToValueAtTime(d.x,h);f.forwardY.linearRampToValueAtTime(d.y,h);f.forwardZ.linearRampToValueAtTime(d.z,h);f.upX.linearRampToValueAtTime(g.x,h);f.upY.linearRampToValueAtTime(g.y,h);f.upZ.linearRampToValueAtTime(g.z,h)}else f.setPosition(a.x,a.y,a.z),f.setOrientation(d.x,d.y,d.z,g.x,g.y,g.z)}}()});oc.prototype=Object.assign(Object.create(C.prototype),{constructor:oc,getOutput:function(){return this.gain},setNodeSource:function(a){this.hasPlaybackControl= -!1;this.sourceType="audioNode";this.source=a;this.connect();return this},setMediaElementSource:function(a){this.hasPlaybackControl=!1;this.sourceType="mediaNode";this.source=this.context.createMediaElementSource(a);this.connect();return this},setBuffer:function(a){this.buffer=a;this.sourceType="buffer";this.autoplay&&this.play();return this},play:function(){if(!0===this.isPlaying)console.warn("THREE.Audio: Audio is already playing.");else if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control."); -else{var a=this.context.createBufferSource();a.buffer=this.buffer;a.loop=this.loop;a.onended=this.onEnded.bind(this);this.startTime=this.context.currentTime;a.start(this.startTime,this.offset);this.isPlaying=!0;this.source=a;this.setDetune(this.detune);this.setPlaybackRate(this.playbackRate);return this.connect()}},pause:function(){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return!0===this.isPlaying&&(this.source.stop(),this.source.onended= -null,this.offset+=(this.context.currentTime-this.startTime)*this.playbackRate,this.isPlaying=!1),this},stop:function(){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return this.source.stop(),this.source.onended=null,this.offset=0,this.isPlaying=!1,this},connect:function(){if(0d&&this._mixBufferRegion(c,a,3*b,1-d,b);d=b;for(var f=b+b;d!==f;++d)if(c[d]!==c[d+b]){e.setValue(c,a);break}},saveOriginalState:function(){var a=this.buffer,b=this.valueSize,c=3*b;this.binding.getValue(a,c);for(var d=b;d!==c;++d)a[d]=a[c+d%b];this.cumulativeWeight=0},restoreOriginalState:function(){this.binding.setValue(this.buffer,3*this.valueSize)},_select:function(a, -b,c,d,e){if(.5<=d)for(d=0;d!==e;++d)a[b+d]=a[c+d]},_slerp:function(a,b,c,d){aa.slerpFlat(a,b,a,b,a,c,d)},_lerp:function(a,b,c,d,e){for(var f=1-d,g=0;g!==e;++g){var h=b+g;a[h]=a[h]*f+a[c+g]*d}}});Object.assign(If.prototype,{getValue:function(a,b){this.bind();var c=this._bindings[this._targetGroup.nCachedObjects_];void 0!==c&&c.getValue(a,b)},setValue:function(a,b){for(var c=this._bindings,d=this._targetGroup.nCachedObjects_,e=c.length;d!==e;++d)c[d].setValue(a,b)},bind:function(){for(var a=this._bindings, -b=this._targetGroup.nCachedObjects_,c=a.length;b!==c;++b)a[b].bind()},unbind:function(){for(var a=this._bindings,b=this._targetGroup.nCachedObjects_,c=a.length;b!==c;++b)a[b].unbind()}});Object.assign(ma,{Composite:If,create:function(a,b,c){return a&&a.isAnimationObjectGroup?new ma.Composite(a,b,c):new ma(a,b,c)},sanitizeNodeName:function(){var a=/[\[\]\.:\/]/g;return function(b){return b.replace(/\s/g,"_").replace(a,"")}}(),parseTrackName:function(){var a="[^"+"\\[\\]\\.:\\/".replace("\\.","")+"]", -b=/((?:WC+[\/:])*)/.source.replace("WC","[^\\[\\]\\.:\\/]");a=/(WCOD+)?/.source.replace("WCOD",a);var c=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC","[^\\[\\]\\.:\\/]"),d=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC","[^\\[\\]\\.:\\/]"),e=new RegExp("^"+b+a+c+d+"$"),f=["material","materials","bones"];return function(a){var b=e.exec(a);if(!b)throw Error("PropertyBinding: Cannot parse trackName: "+a);b={nodeName:b[2],objectName:b[3],objectIndex:b[4],propertyName:b[5],propertyIndex:b[6]};var c=b.nodeName&& -b.nodeName.lastIndexOf(".");if(void 0!==c&&-1!==c){var d=b.nodeName.substring(c+1);-1!==f.indexOf(d)&&(b.nodeName=b.nodeName.substring(0,c),b.objectName=d)}if(null===b.propertyName||0===b.propertyName.length)throw Error("PropertyBinding: can not parse propertyName from trackName: "+a);return b}}(),findNode:function(a,b){if(!b||""===b||"root"===b||"."===b||-1===b||b===a.name||b===a.uuid)return a;if(a.skeleton){var c=a.skeleton.getBoneByName(b);if(void 0!==c)return c}if(a.children){var d=function(a){for(var c= -0;ca.far||b.push({distance:e,point:ye.clone(),uv:ia.getUV(ye,Bf,ze,Cf,oi,Vg,pi,new v),face:null,object:this})},clone:function(){return(new this.constructor(this.material)).copy(this)},copy:function(a){B.prototype.copy.call(this,a);void 0!==a.center&&this.center.copy(a.center);return this}});var Df=new n,qi=new n;Md.prototype=Object.assign(Object.create(B.prototype),{constructor:Md,isLOD:!0,copy:function(a){B.prototype.copy.call(this,a,!1);a=a.levels;for(var b=0,c=a.length;b=b[c].distance)b[c-1].object.visible=!1,b[c].object.visible=!0;else break;for(;cc||(h.applyMatrix4(this.matrixWorld),r=a.ray.origin.distanceTo(h),ra.far||b.push({distance:r,point:e.clone().applyMatrix4(this.matrixWorld),index:d,face:null,faceIndex:null,object:this}))}}else for(d=0,u=p.length/3-1;dc||(h.applyMatrix4(this.matrixWorld),r=a.ray.origin.distanceTo(h),ra.far||b.push({distance:r,point:e.clone().applyMatrix4(this.matrixWorld), +index:d,face:null,faceIndex:null,object:this}))}else if(d.isGeometry)for(f=d.vertices,g=f.length,d=0;dc||(h.applyMatrix4(this.matrixWorld),r=a.ray.origin.distanceTo(h),ra.far||b.push({distance:r,point:e.clone().applyMatrix4(this.matrixWorld),index:d,face:null,faceIndex:null,object:this}))}},clone:function(){return(new this.constructor(this.geometry,this.material)).copy(this)}});var Ff=new n,Gf=new n;R.prototype=Object.assign(Object.create(ca.prototype), +{constructor:R,isLineSegments:!0,computeLineDistances:function(){var a=this.geometry;if(a.isBufferGeometry)if(null===a.index){for(var b=a.attributes.position,c=[],d=0,e=b.count;d=a.HAVE_CURRENT_DATA&& +(this.needsUpdate=!0)}});Lc.prototype=Object.create(ba.prototype);Lc.prototype.constructor=Lc;Lc.prototype.isCompressedTexture=!0;Od.prototype=Object.create(ba.prototype);Od.prototype.constructor=Od;Od.prototype.isCanvasTexture=!0;Pd.prototype=Object.create(ba.prototype);Pd.prototype.constructor=Pd;Pd.prototype.isDepthTexture=!0;Mc.prototype=Object.create(D.prototype);Mc.prototype.constructor=Mc;Qd.prototype=Object.create(G.prototype);Qd.prototype.constructor=Qd;Nc.prototype=Object.create(D.prototype); +Nc.prototype.constructor=Nc;Rd.prototype=Object.create(G.prototype);Rd.prototype.constructor=Rd;pa.prototype=Object.create(D.prototype);pa.prototype.constructor=pa;Sd.prototype=Object.create(G.prototype);Sd.prototype.constructor=Sd;Oc.prototype=Object.create(pa.prototype);Oc.prototype.constructor=Oc;Td.prototype=Object.create(G.prototype);Td.prototype.constructor=Td;bc.prototype=Object.create(pa.prototype);bc.prototype.constructor=bc;Ud.prototype=Object.create(G.prototype);Ud.prototype.constructor= +Ud;Pc.prototype=Object.create(pa.prototype);Pc.prototype.constructor=Pc;Vd.prototype=Object.create(G.prototype);Vd.prototype.constructor=Vd;Qc.prototype=Object.create(pa.prototype);Qc.prototype.constructor=Qc;Wd.prototype=Object.create(G.prototype);Wd.prototype.constructor=Wd;cc.prototype=Object.create(D.prototype);cc.prototype.constructor=cc;cc.prototype.toJSON=function(){var a=D.prototype.toJSON.call(this);a.path=this.parameters.path.toJSON();return a};Xd.prototype=Object.create(G.prototype);Xd.prototype.constructor= +Xd;Rc.prototype=Object.create(D.prototype);Rc.prototype.constructor=Rc;Yd.prototype=Object.create(G.prototype);Yd.prototype.constructor=Yd;Sc.prototype=Object.create(D.prototype);Sc.prototype.constructor=Sc;var tk={triangulate:function(a,b,c){c=c||2;var d=b&&b.length,e=d?b[0]*c:a.length,f=Lh(a,0,e,c,!0),g=[];if(!f||f.next===f.prev)return g;var h;if(d){var l=c;d=[];var k;var n=0;for(k=b.length;n80*c){var q=h=a[0];var t=d=a[1];for(l=c;lh&&(h=n),b>d&&(d=b);h=Math.max(h-q,d-t);h=0!==h?1/h:0}ae(f,g,c,q,t,h);return g}},qb={area:function(a){for(var b=a.length,c=0,d=b-1,e=0;eqb.area(a)},triangulateShape:function(a,b){var c=[],d=[],e=[];Ph(a);Qh(c,a);var f=a.length;b.forEach(Ph); +for(a=0;aMath.abs(g-l)?[new v(a,1-c),new v(h,1-d),new v(k,1-e),new v(u,1-b)]:[new v(g,1-c),new v(l,1-d),new v(n,1-e),new v(r,1-b)]}};ce.prototype=Object.create(G.prototype); +ce.prototype.constructor=ce;Uc.prototype=Object.create(eb.prototype);Uc.prototype.constructor=Uc;de.prototype=Object.create(G.prototype);de.prototype.constructor=de;Ib.prototype=Object.create(D.prototype);Ib.prototype.constructor=Ib;ee.prototype=Object.create(G.prototype);ee.prototype.constructor=ee;Vc.prototype=Object.create(D.prototype);Vc.prototype.constructor=Vc;fe.prototype=Object.create(G.prototype);fe.prototype.constructor=fe;Wc.prototype=Object.create(D.prototype);Wc.prototype.constructor= +Wc;fc.prototype=Object.create(G.prototype);fc.prototype.constructor=fc;fc.prototype.toJSON=function(){var a=G.prototype.toJSON.call(this);return Sh(this.parameters.shapes,a)};gc.prototype=Object.create(D.prototype);gc.prototype.constructor=gc;gc.prototype.toJSON=function(){var a=D.prototype.toJSON.call(this);return Sh(this.parameters.shapes,a)};Xc.prototype=Object.create(D.prototype);Xc.prototype.constructor=Xc;hc.prototype=Object.create(G.prototype);hc.prototype.constructor=hc;rb.prototype=Object.create(D.prototype); +rb.prototype.constructor=rb;ge.prototype=Object.create(hc.prototype);ge.prototype.constructor=ge;he.prototype=Object.create(rb.prototype);he.prototype.constructor=he;ie.prototype=Object.create(G.prototype);ie.prototype.constructor=ie;Yc.prototype=Object.create(D.prototype);Yc.prototype.constructor=Yc;var Ba=Object.freeze({WireframeGeometry:Mc,ParametricGeometry:Qd,ParametricBufferGeometry:Nc,TetrahedronGeometry:Sd,TetrahedronBufferGeometry:Oc,OctahedronGeometry:Td,OctahedronBufferGeometry:bc,IcosahedronGeometry:Ud, +IcosahedronBufferGeometry:Pc,DodecahedronGeometry:Vd,DodecahedronBufferGeometry:Qc,PolyhedronGeometry:Rd,PolyhedronBufferGeometry:pa,TubeGeometry:Wd,TubeBufferGeometry:cc,TorusKnotGeometry:Xd,TorusKnotBufferGeometry:Rc,TorusGeometry:Yd,TorusBufferGeometry:Sc,TextGeometry:ce,TextBufferGeometry:Uc,SphereGeometry:de,SphereBufferGeometry:Ib,RingGeometry:ee,RingBufferGeometry:Vc,PlaneGeometry:Fd,PlaneBufferGeometry:$b,LatheGeometry:fe,LatheBufferGeometry:Wc,ShapeGeometry:fc,ShapeBufferGeometry:gc,ExtrudeGeometry:ec, +ExtrudeBufferGeometry:eb,EdgesGeometry:Xc,ConeGeometry:ge,ConeBufferGeometry:he,CylinderGeometry:hc,CylinderBufferGeometry:rb,CircleGeometry:ie,CircleBufferGeometry:Yc,BoxGeometry:Cc,BoxBufferGeometry:Bb});ic.prototype=Object.create(Q.prototype);ic.prototype.constructor=ic;ic.prototype.isShadowMaterial=!0;ic.prototype.copy=function(a){Q.prototype.copy.call(this,a);this.color.copy(a.color);return this};Zc.prototype=Object.create(va.prototype);Zc.prototype.constructor=Zc;Zc.prototype.isRawShaderMaterial= +!0;fb.prototype=Object.create(Q.prototype);fb.prototype.constructor=fb;fb.prototype.isMeshStandardMaterial=!0;fb.prototype.copy=function(a){Q.prototype.copy.call(this,a);this.defines={STANDARD:""};this.color.copy(a.color);this.roughness=a.roughness;this.metalness=a.metalness;this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity; +this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.roughnessMap=a.roughnessMap;this.metalnessMap=a.metalnessMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.envMapIntensity=a.envMapIntensity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth= +a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};jc.prototype=Object.create(fb.prototype);jc.prototype.constructor=jc;jc.prototype.isMeshPhysicalMaterial=!0;jc.prototype.copy=function(a){fb.prototype.copy.call(this,a);this.defines={STANDARD:"",PHYSICAL:""};this.reflectivity=a.reflectivity;this.clearcoat=a.clearcoat;this.clearcoatRoughness= +a.clearcoatRoughness;this.sheen=a.sheen?(this.sheen||new J).copy(a.sheen):null;this.clearcoatNormalMap=a.clearcoatNormalMap;this.clearcoatNormalScale.copy(a.clearcoatNormalScale);this.transparency=a.transparency;return this};Ra.prototype=Object.create(Q.prototype);Ra.prototype.constructor=Ra;Ra.prototype.isMeshPhongMaterial=!0;Ra.prototype.copy=function(a){Q.prototype.copy.call(this,a);this.color.copy(a.color);this.specular.copy(a.specular);this.shininess=a.shininess;this.map=a.map;this.lightMap= +a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.specularMap= +a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};kc.prototype=Object.create(Ra.prototype);kc.prototype.constructor=kc;kc.prototype.isMeshToonMaterial= +!0;kc.prototype.copy=function(a){Ra.prototype.copy.call(this,a);this.gradientMap=a.gradientMap;return this};lc.prototype=Object.create(Q.prototype);lc.prototype.constructor=lc;lc.prototype.isMeshNormalMaterial=!0;lc.prototype.copy=function(a){Q.prototype.copy.call(this,a);this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale; +this.displacementBias=a.displacementBias;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};mc.prototype=Object.create(Q.prototype);mc.prototype.constructor=mc;mc.prototype.isMeshLambertMaterial=!0;mc.prototype.copy=function(a){Q.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap= +a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning; +this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};nc.prototype=Object.create(Q.prototype);nc.prototype.constructor=nc;nc.prototype.isMeshMatcapMaterial=!0;nc.prototype.copy=function(a){Q.prototype.copy.call(this,a);this.defines={MATCAP:""};this.color.copy(a.color);this.matcap=a.matcap;this.map=a.map;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap; +this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.alphaMap=a.alphaMap;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};oc.prototype=Object.create(Y.prototype);oc.prototype.constructor=oc;oc.prototype.isLineDashedMaterial=!0;oc.prototype.copy=function(a){Y.prototype.copy.call(this,a);this.scale=a.scale;this.dashSize=a.dashSize;this.gapSize=a.gapSize;return this};var uk=Object.freeze({ShadowMaterial:ic,SpriteMaterial:Hb, +RawShaderMaterial:Zc,ShaderMaterial:va,PointsMaterial:Qa,MeshPhysicalMaterial:jc,MeshStandardMaterial:fb,MeshPhongMaterial:Ra,MeshToonMaterial:kc,MeshNormalMaterial:lc,MeshLambertMaterial:mc,MeshDepthMaterial:Eb,MeshDistanceMaterial:Fb,MeshBasicMaterial:ya,MeshMatcapMaterial:nc,LineDashedMaterial:oc,LineBasicMaterial:Y,Material:Q}),Z={arraySlice:function(a,b,c){return Z.isTypedArray(a)?new a.constructor(a.subarray(b,void 0!==c?c:a.length)):a.slice(b,c)},convertArray:function(a,b,c){return!a||!c&& +a.constructor===b?a:"number"===typeof b.BYTES_PER_ELEMENT?new b(a):Array.prototype.slice.call(a)},isTypedArray:function(a){return ArrayBuffer.isView(a)&&!(a instanceof DataView)},getKeyframeOrder:function(a){for(var b=a.length,c=Array(b),d=0;d!==b;++d)c[d]=d;c.sort(function(b,c){return a[b]-a[c]});return c},sortedArray:function(a,b,c){for(var d=a.length,e=new a.constructor(d),f=0,g=0;g!==d;++f)for(var h=c[f]*b,l=0;l!==b;++l)e[g++]=a[h+l];return e},flattenJSON:function(a,b,c,d){for(var e=1,f=a[0];void 0!== +f&&void 0===f[d];)f=a[e++];if(void 0!==f){var g=f[d];if(void 0!==g)if(Array.isArray(g)){do g=f[d],void 0!==g&&(b.push(f.time),c.push.apply(c,g)),f=a[e++];while(void 0!==f)}else if(void 0!==g.toArray){do g=f[d],void 0!==g&&(b.push(f.time),g.toArray(c,c.length)),f=a[e++];while(void 0!==f)}else{do g=f[d],void 0!==g&&(b.push(f.time),c.push(g)),f=a[e++];while(void 0!==f)}}}};Object.assign(Ha.prototype,{evaluate:function(a){var b=this.parameterPositions,c=this._cachedIndex,d=b[c],e=b[c-1];a:{b:{c:{d:if(!(a< +d)){for(var f=c+2;;){if(void 0===d){if(a=e)break a;else{f=b[1];a=e)break b}d=c;c=0}}for(;c>>1,ab;)--f;++f;if(0!==e||f!==d)e>=f&&(f=Math.max(f,1),e=f-1),a=this.getValueSize(),this.times=Z.arraySlice(c,e,f),this.values=Z.arraySlice(this.values,e*a,f*a);return this},validate:function(){var a=!0,b=this.getValueSize();0!==b-Math.floor(b)&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),a=!1);var c=this.times; +b=this.values;var d=c.length;0===d&&(console.error("THREE.KeyframeTrack: Track is empty.",this),a=!1);for(var e=null,f=0;f!==d;f++){var g=c[f];if("number"===typeof g&&isNaN(g)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,f,g);a=!1;break}if(null!==e&&e>g){console.error("THREE.KeyframeTrack: Out of order keys.",this,f,g,e);a=!1;break}e=g}if(void 0!==b&&Z.isTypedArray(b))for(f=0,c=b.length;f!==c;++f)if(d=b[f],isNaN(d)){console.error("THREE.KeyframeTrack: Value is not a valid number.", +this,f,d);a=!1;break}return a},optimize:function(){for(var a=this.times,b=this.values,c=this.getValueSize(),d=2302===this.getInterpolation(),e=1,f=a.length-1,g=1;gg)e=a+1;else if(0b&&(b=0);1Number.EPSILON&&(g.normalize(),c=Math.acos(O.clamp(d[l-1].dot(d[l]),-1,1)),e[l].applyMatrix4(h.makeRotationAxis(g,c))),f[l].crossVectors(d[l], +e[l]);if(!0===b)for(c=Math.acos(O.clamp(e[0].dot(e[a]),-1,1)),c/=a,0d;)d+=c;for(;d>c;)d-=c;de&&(e=1);1E-4>d&&(d=e);1E-4>l&&(l=e);Wg.initNonuniformCatmullRom(f.x,g.x,h.x,c.x,d,e,l);Xg.initNonuniformCatmullRom(f.y,g.y,h.y,c.y,d,e,l);Yg.initNonuniformCatmullRom(f.z,g.z,h.z,c.z,d, +e,l)}else"catmullrom"===this.curveType&&(Wg.initCatmullRom(f.x,g.x,h.x,c.x,this.tension),Xg.initCatmullRom(f.y,g.y,h.y,c.y,this.tension),Yg.initCatmullRom(f.z,g.z,h.z,c.z,this.tension));b.set(Wg.calc(a),Xg.calc(a),Yg.calc(a));return b};sa.prototype.copy=function(a){F.prototype.copy.call(this,a);this.points=[];for(var b=0,c=a.points.length;bc.length-2?c.length-1:a+1];c=c[a>c.length-3?c.length-1:a+2];b.set(Uh(d,e.x,f.x,g.x, +c.x),Uh(d,e.y,f.y,g.y,c.y));return b};Va.prototype.copy=function(a){F.prototype.copy.call(this,a);this.points=[];for(var b=0,c=a.points.length;b=b)return b=c[a]-b,a=this.curves[a],c=a.getLength(),a.getPointAt(0===c?0:1-b/c);a++}return null},getLength:function(){var a=this.getCurveLengths();return a[a.length-1]},updateArcLengths:function(){this.needsUpdate=!0;this.cacheLengths=null;this.getCurveLengths()},getCurveLengths:function(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;for(var a=[], +b=0,c=0,d=this.curves.length;cNumber.EPSILON){if(0>k&&(g=b[f],l=-l,h=b[e],k=-k),!(a.yh.y))if(a.y===g.y){if(a.x===g.x)return!0}else{e=k*(a.x-g.x)-l*(a.y-g.y);if(0===e)return!0; +0>e||(d=!d)}}else if(a.y===g.y&&(h.x<=a.x&&a.x<=g.x||g.x<=a.x&&a.x<=h.x))return!0}return d}var e=qb.isClockWise,f=this.subPaths;if(0===f.length)return[];if(!0===b)return c(f);b=[];if(1===f.length){var g=f[0];var h=new Jb;h.curves=g.curves;b.push(h);return b}var l=!e(f[0].getPoints());l=a?!l:l;h=[];var k=[],n=[],u=0;k[u]=void 0;n[u]=[];for(var r=0,q=f.length;rb;b++)this.coefficients[b].copy(a[b]);return this},zero:function(){for(var a=0;9>a;a++)this.coefficients[a].set(0, +0,0);return this},getAt:function(a,b){var c=a.x,d=a.y;a=a.z;var e=this.coefficients;b.copy(e[0]).multiplyScalar(.282095);b.addScale(e[1],.488603*d);b.addScale(e[2],.488603*a);b.addScale(e[3],.488603*c);b.addScale(e[4],1.092548*c*d);b.addScale(e[5],1.092548*d*a);b.addScale(e[6],.315392*(3*a*a-1));b.addScale(e[7],1.092548*c*a);b.addScale(e[8],.546274*(c*c-d*d));return b},getIrradianceAt:function(a,b){var c=a.x,d=a.y;a=a.z;var e=this.coefficients;b.copy(e[0]).multiplyScalar(.886227);b.addScale(e[1], +1.023328*d);b.addScale(e[2],1.023328*a);b.addScale(e[3],1.023328*c);b.addScale(e[4],.858086*c*d);b.addScale(e[5],.858086*d*a);b.addScale(e[6],.743125*a*a-.247708);b.addScale(e[7],.858086*c*a);b.addScale(e[8],.429043*(c*c-d*d));return b},add:function(a){for(var b=0;9>b;b++)this.coefficients[b].add(a.coefficients[b]);return this},scale:function(a){for(var b=0;9>b;b++)this.coefficients[b].multiplyScalar(a);return this},lerp:function(a,b){for(var c=0;9>c;c++)this.coefficients[c].lerp(a.coefficients[c], +b);return this},equals:function(a){for(var b=0;9>b;b++)if(!this.coefficients[b].equals(a.coefficients[b]))return!1;return!0},copy:function(a){return this.set(a.coefficients)},clone:function(){return(new this.constructor).copy(this)},fromArray:function(a,b){void 0===b&&(b=0);for(var c=this.coefficients,d=0;9>d;d++)c[d].fromArray(a,b+3*d);return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);for(var c=this.coefficients,d=0;9>d;d++)c[d].toArray(a,b+3*d);return a}});Object.assign(lf, +{getBasisAt:function(a,b){var c=a.x,d=a.y;a=a.z;b[0]=.282095;b[1]=.488603*d;b[2]=.488603*a;b[3]=.488603*c;b[4]=1.092548*c*d;b[5]=1.092548*d*a;b[6]=.315392*(3*a*a-1);b[7]=1.092548*c*a;b[8]=.546274*(c*c-d*d)}});Xa.prototype=Object.assign(Object.create(V.prototype),{constructor:Xa,isLightProbe:!0,copy:function(a){V.prototype.copy.call(this,a);this.sh.copy(a.sh);this.intensity=a.intensity;return this},toJSON:function(a){return V.prototype.toJSON.call(this,a)}});tg.prototype=Object.assign(Object.create(Xa.prototype), +{constructor:tg,isHemisphereLightProbe:!0,copy:function(a){Xa.prototype.copy.call(this,a);return this},toJSON:function(a){return Xa.prototype.toJSON.call(this,a)}});ug.prototype=Object.assign(Object.create(Xa.prototype),{constructor:ug,isAmbientLightProbe:!0,copy:function(a){Xa.prototype.copy.call(this,a);return this},toJSON:function(a){return Xa.prototype.toJSON.call(this,a)}});var yi=new P,zi=new P;Object.assign(Vh.prototype,{update:function(a){var b=this._cache;if(b.focus!==a.focus||b.fov!==a.fov|| +b.aspect!==a.aspect*this.aspect||b.near!==a.near||b.far!==a.far||b.zoom!==a.zoom||b.eyeSep!==this.eyeSep){b.focus=a.focus;b.fov=a.fov;b.aspect=a.aspect*this.aspect;b.near=a.near;b.far=a.far;b.zoom=a.zoom;b.eyeSep=this.eyeSep;var c=a.projectionMatrix.clone(),d=b.eyeSep/2,e=d*b.near/b.focus,f=b.near*Math.tan(O.DEG2RAD*b.fov*.5)/b.zoom;zi.elements[12]=-d;yi.elements[12]=d;d=-f*b.aspect+e;var g=f*b.aspect+e;c.elements[0]=2*b.near/(g-d);c.elements[8]=(g+d)/(g-d);this.cameraL.projectionMatrix.copy(c);d= +-f*b.aspect-e;g=f*b.aspect-e;c.elements[0]=2*b.near/(g-d);c.elements[8]=(g+d)/(g-d);this.cameraR.projectionMatrix.copy(c)}this.cameraL.matrixWorld.copy(a.matrixWorld).multiply(zi);this.cameraR.matrixWorld.copy(a.matrixWorld).multiply(yi)}});Object.assign(vg.prototype,{start:function(){this.oldTime=this.startTime=("undefined"===typeof performance?Date:performance).now();this.elapsedTime=0;this.running=!0},stop:function(){this.getElapsedTime();this.autoStart=this.running=!1},getElapsedTime:function(){this.getDelta(); +return this.elapsedTime},getDelta:function(){var a=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){var b=("undefined"===typeof performance?Date:performance).now();a=(b-this.oldTime)/1E3;this.oldTime=b;this.elapsedTime+=a}return a}});var uc=new n,Ai=new na,wk=new n,vc=new n;wg.prototype=Object.assign(Object.create(B.prototype),{constructor:wg,getInput:function(){return this.gain},removeFilter:function(){null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination), +this.gain.connect(this.context.destination),this.filter=null);return this},getFilter:function(){return this.filter},setFilter:function(a){null!==this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination);this.filter=a;this.gain.connect(this.filter);this.filter.connect(this.context.destination);return this},getMasterVolume:function(){return this.gain.gain.value},setMasterVolume:function(a){this.gain.gain.setTargetAtTime(a, +this.context.currentTime,.01);return this},updateMatrixWorld:function(a){B.prototype.updateMatrixWorld.call(this,a);a=this.context.listener;var b=this.up;this.timeDelta=this._clock.getDelta();this.matrixWorld.decompose(uc,Ai,wk);vc.set(0,0,-1).applyQuaternion(Ai);if(a.positionX){var c=this.context.currentTime+this.timeDelta;a.positionX.linearRampToValueAtTime(uc.x,c);a.positionY.linearRampToValueAtTime(uc.y,c);a.positionZ.linearRampToValueAtTime(uc.z,c);a.forwardX.linearRampToValueAtTime(vc.x,c); +a.forwardY.linearRampToValueAtTime(vc.y,c);a.forwardZ.linearRampToValueAtTime(vc.z,c);a.upX.linearRampToValueAtTime(b.x,c);a.upY.linearRampToValueAtTime(b.y,c);a.upZ.linearRampToValueAtTime(b.z,c)}else a.setPosition(uc.x,uc.y,uc.z),a.setOrientation(vc.x,vc.y,vc.z,b.x,b.y,b.z)}});dd.prototype=Object.assign(Object.create(B.prototype),{constructor:dd,getOutput:function(){return this.gain},setNodeSource:function(a){this.hasPlaybackControl=!1;this.sourceType="audioNode";this.source=a;this.connect();return this}, +setMediaElementSource:function(a){this.hasPlaybackControl=!1;this.sourceType="mediaNode";this.source=this.context.createMediaElementSource(a);this.connect();return this},setBuffer:function(a){this.buffer=a;this.sourceType="buffer";this.autoplay&&this.play();return this},play:function(){if(!0===this.isPlaying)console.warn("THREE.Audio: Audio is already playing.");else if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else{var a=this.context.createBufferSource(); +a.buffer=this.buffer;a.loop=this.loop;a.onended=this.onEnded.bind(this);this.startTime=this.context.currentTime;a.start(this.startTime,this.offset,this.duration);this.isPlaying=!0;this.source=a;this.setDetune(this.detune);this.setPlaybackRate(this.playbackRate);return this.connect()}},pause:function(){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return!0===this.isPlaying&&(this.source.stop(),this.source.onended=null,this.offset+=(this.context.currentTime- +this.startTime)*this.playbackRate,this.isPlaying=!1),this},stop:function(){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return this.source.stop(),this.source.onended=null,this.offset=0,this.isPlaying=!1,this},connect:function(){if(0d&&this._mixBufferRegion(c,a,3*b,1-d,b);d=b;for(var f=b+b;d!==f;++d)if(c[d]!==c[d+b]){e.setValue(c,a);break}},saveOriginalState:function(){var a=this.buffer,b=this.valueSize,c=3*b;this.binding.getValue(a,c);for(var d=b;d!==c;++d)a[d]=a[c+d%b];this.cumulativeWeight=0},restoreOriginalState:function(){this.binding.setValue(this.buffer,3*this.valueSize)},_select:function(a,b,c,d,e){if(.5<=d)for(d= +0;d!==e;++d)a[b+d]=a[c+d]},_slerp:function(a,b,c,d){na.slerpFlat(a,b,a,b,a,c,d)},_lerp:function(a,b,c,d,e){for(var f=1-d,g=0;g!==e;++g){var h=b+g;a[h]=a[h]*f+a[c+g]*d}}});var yk=/[\[\]\.:\/]/g,zk="[^"+"\\[\\]\\.:\\/".replace("\\.","")+"]",Ak=/((?:WC+[\/:])*)/.source.replace("WC","[^\\[\\]\\.:\\/]"),Bk=/(WCOD+)?/.source.replace("WCOD",zk),Ck=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC","[^\\[\\]\\.:\\/]"),Dk=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC","[^\\[\\]\\.:\\/]"),Ek=new RegExp("^"+Ak+Bk+ +Ck+Dk+"$"),Fk=["material","materials","bones"];Object.assign(Wh.prototype,{getValue:function(a,b){this.bind();var c=this._bindings[this._targetGroup.nCachedObjects_];void 0!==c&&c.getValue(a,b)},setValue:function(a,b){for(var c=this._bindings,d=this._targetGroup.nCachedObjects_,e=c.length;d!==e;++d)c[d].setValue(a,b)},bind:function(){for(var a=this._bindings,b=this._targetGroup.nCachedObjects_,c=a.length;b!==c;++b)a[b].bind()},unbind:function(){for(var a=this._bindings,b=this._targetGroup.nCachedObjects_, +c=a.length;b!==c;++b)a[b].unbind()}});Object.assign(ma,{Composite:Wh,create:function(a,b,c){return a&&a.isAnimationObjectGroup?new ma.Composite(a,b,c):new ma(a,b,c)},sanitizeNodeName:function(a){return a.replace(/\s/g,"_").replace(yk,"")},parseTrackName:function(a){var b=Ek.exec(a);if(!b)throw Error("PropertyBinding: Cannot parse trackName: "+a);b={nodeName:b[2],objectName:b[3],objectIndex:b[4],propertyName:b[5],propertyIndex:b[6]};var c=b.nodeName&&b.nodeName.lastIndexOf(".");if(void 0!==c&&-1!== +c){var d=b.nodeName.substring(c+1);-1!==Fk.indexOf(d)&&(b.nodeName=b.nodeName.substring(0,c),b.objectName=d)}if(null===b.propertyName||0===b.propertyName.length)throw Error("PropertyBinding: can not parse propertyName from trackName: "+a);return b},findNode:function(a,b){if(!b||""===b||"root"===b||"."===b||-1===b||b===a.name||b===a.uuid)return a;if(a.skeleton){var c=a.skeleton.getBoneByName(b);if(void 0!==c)return c}if(a.children){var d=function(a){for(var c=0;c=b){var n=b++,q=a[n];c[q.uuid]=l;a[l]=q;c[k]=n;a[n]=h;h=0;for(k=e;h!==k;++h){q=d[h];var v=q[l];q[l]=q[n];q[n]=v}}}this.nCachedObjects_=b},uncache:function(){for(var a=this._objects,b=a.length,c=this.nCachedObjects_,d=this._indicesByUUID,e=this._bindings,f=e.length,g=0,h=arguments.length;g!==h;++g){var k=arguments[g].uuid,l=d[k];if(void 0!==l)if(delete d[k],l=b){var n=b++,u=a[n];c[u.uuid]=m;a[m]=u;c[k]=n;a[n]=h;h=0;for(k=e;h!==k;++h){u=d[h];var r=u[m];u[m]=u[n];u[n]=r}}}this.nCachedObjects_=b},uncache:function(){for(var a=this._objects,b=a.length,c=this.nCachedObjects_,d=this._indicesByUUID,e=this._bindings,f=e.length,g=0,h=arguments.length;g!==h;++g){var k=arguments[g].uuid,m=d[k];if(void 0!==m)if(delete d[k],mb||0===c)return;this._startTime=null;b*=c}b*=this._updateTimeScale(a);c=this._updateTime(b);a=this._updateWeight(a);if(0c.parameterPositions[1]&&(this.stopFading(),0===d&&(this.enabled=!1))}}return this._effectiveWeight=b},_updateTimeScale:function(a){var b=0;if(!this.paused){b=this.timeScale;var c=this._timeScaleInterpolant;if(null!==c){var d=c.evaluate(a)[0]; -b*=d;a>c.parameterPositions[1]&&(this.stopWarping(),0===b?this.paused=!0:this.timeScale=b)}}return this._effectiveTimeScale=b},_updateTime:function(a){var b=this.time+a,c=this._clip.duration,d=this.loop,e=this._loopCount,f=2202===d;if(0===a)return-1===e?b:f&&1===(e&1)?c-b:b;if(2200===d)a:{if(-1===e&&(this._loopCount=0,this._setEndings(!0,!0,!1)),b>=c)b=c;else if(0>b)b=0;else break a;this.clampWhenFinished?this.paused=!0:this.enabled=!1;this._mixer.dispatchEvent({type:"finished",action:this,direction:0> -a?-1:1})}else{-1===e&&(0<=a?(e=0,this._setEndings(!0,0===this.repetitions,f)):this._setEndings(0===this.repetitions,!0,f));if(b>=c||0>b){d=Math.floor(b/c);b-=c*d;e+=Math.abs(d);var g=this.repetitions-e;0>=g?(this.clampWhenFinished?this.paused=!0:this.enabled=!1,b=0a,this._setEndings(a,!a,f)):this._setEndings(!1,!1,f),this._loopCount=e,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:d}))}if(f&& -1===(e&1))return this.time=b,c-b}return this.time=b},_setEndings:function(a,b,c){var d=this._interpolantSettings;c?(d.endingStart=2401,d.endingEnd=2401):(d.endingStart=a?this.zeroSlopeAtStart?2401:2400:2402,d.endingEnd=b?this.zeroSlopeAtEnd?2401:2400:2402)},_scheduleFading:function(a,b,c){var d=this._mixer,e=d.time,f=this._weightInterpolant;null===f&&(this._weightInterpolant=f=d._lendControlInterpolant());d=f.parameterPositions;f=f.sampleValues;d[0]=e;f[0]=b;d[1]=e+a;f[1]=c;return this}});Be.prototype= -Object.assign(Object.create(ta.prototype),{constructor:Be,_bindAction:function(a,b){var c=a._localRoot||this._root,d=a._clip.tracks,e=d.length,f=a._propertyBindings;a=a._interpolants;var g=c.uuid,h=this._bindingsByRootAndName,k=h[g];void 0===k&&(k={},h[g]=k);for(h=0;h!==e;++h){var l=d[h],n=l.name,q=k[n];if(void 0===q){q=f[h];if(void 0!==q){null===q._cacheIndex&&(++q.referenceCount,this._addInactiveBinding(q,g,n));continue}q=new Ae(ma.create(c,n,b&&b._propertyBindings[h].binding.parsedPath),l.ValueTypeName, -l.getValueSize());++q.referenceCount;this._addInactiveBinding(q,g,n)}f[h]=q;a[h].resultBuffer=q.buffer}},_activateAction:function(a){if(!this._isActiveAction(a)){if(null===a._cacheIndex){var b=(a._localRoot||this._root).uuid,c=a._clip.uuid,d=this._actionsByClip[c];this._bindAction(a,d&&d.knownActions[0]);this._addInactiveAction(a,c,b)}b=a._propertyBindings;c=0;for(d=b.length;c!==d;++c){var e=b[c];0===e.useCount++&&(this._lendBinding(e),e.saveOriginalState())}this._lendAction(a)}},_deactivateAction:function(a){if(this._isActiveAction(a)){for(var b= -a._propertyBindings,c=0,d=b.length;c!==d;++c){var e=b[c];0===--e.useCount&&(e.restoreOriginalState(),this._takeBackBinding(e))}this._takeBackAction(a)}},_initMemoryManager:function(){this._actions=[];this._nActiveActions=0;this._actionsByClip={};this._bindings=[];this._nActiveBindings=0;this._bindingsByRootAndName={};this._controlInterpolants=[];this._nActiveControlInterpolants=0;var a=this;this.stats={actions:{get total(){return a._actions.length},get inUse(){return a._nActiveActions}},bindings:{get total(){return a._bindings.length}, -get inUse(){return a._nActiveBindings}},controlInterpolants:{get total(){return a._controlInterpolants.length},get inUse(){return a._nActiveControlInterpolants}}}},_isActiveAction:function(a){a=a._cacheIndex;return null!==a&&athis.max.x||a.ythis.max.y?!1:!0},containsBox:function(a){return this.min.x<=a.min.x&&a.max.x<=this.max.x&&this.min.y<=a.min.y&&a.max.y<=this.max.y},getParameter:function(a,b){void 0===b&&(console.warn("THREE.Box2: .getParameter() target is now required"),b=new B); -return b.set((a.x-this.min.x)/(this.max.x-this.min.x),(a.y-this.min.y)/(this.max.y-this.min.y))},intersectsBox:function(a){return a.max.xthis.max.x||a.max.ythis.max.y?!1:!0},clampPoint:function(a,b){void 0===b&&(console.warn("THREE.Box2: .clampPoint() target is now required"),b=new B);return b.copy(a).clamp(this.min,this.max)},distanceToPoint:function(){var a=new B;return function(b){return a.copy(b).clamp(this.min,this.max).sub(b).length()}}(),intersect:function(a){this.min.max(a.min); -this.max.min(a.max);return this},union:function(a){this.min.min(a.min);this.max.max(a.max);return this},translate:function(a){this.min.add(a);this.max.add(a);return this},equals:function(a){return a.min.equals(this.min)&&a.max.equals(this.max)}});Object.assign(He.prototype,{set:function(a,b){this.start.copy(a);this.end.copy(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.start.copy(a.start);this.end.copy(a.end);return this},getCenter:function(a){void 0=== +b*=d;a>c.parameterPositions[1]&&(this.stopWarping(),0===b?this.paused=!0:this.timeScale=b)}}return this._effectiveTimeScale=b},_updateTime:function(a){var b=this.time+a,c=this._clip.duration,d=this.loop,e=this._loopCount,f=2202===d;if(0===a)return-1===e?b:f&&1===(e&1)?c-b:b;if(2200===d)a:{if(-1===e&&(this._loopCount=0,this._setEndings(!0,!0,!1)),b>=c)b=c;else if(0>b)b=0;else{this.time=b;break a}this.clampWhenFinished?this.paused=!0:this.enabled=!1;this.time=b;this._mixer.dispatchEvent({type:"finished", +action:this,direction:0>a?-1:1})}else{-1===e&&(0<=a?(e=0,this._setEndings(!0,0===this.repetitions,f)):this._setEndings(0===this.repetitions,!0,f));if(b>=c||0>b){d=Math.floor(b/c);b-=c*d;e+=Math.abs(d);var g=this.repetitions-e;0>=g?(this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=b=0a,this._setEndings(a,!a,f)):this._setEndings(!1,!1,f),this._loopCount=e,this.time=b,this._mixer.dispatchEvent({type:"loop", +action:this,loopDelta:d}))}else this.time=b;if(f&&1===(e&1))return c-b}return b},_setEndings:function(a,b,c){var d=this._interpolantSettings;c?(d.endingStart=2401,d.endingEnd=2401):(d.endingStart=a?this.zeroSlopeAtStart?2401:2400:2402,d.endingEnd=b?this.zeroSlopeAtEnd?2401:2400:2402)},_scheduleFading:function(a,b,c){var d=this._mixer,e=d.time,f=this._weightInterpolant;null===f&&(this._weightInterpolant=f=d._lendControlInterpolant());d=f.parameterPositions;f=f.sampleValues;d[0]=e;f[0]=b;d[1]=e+a;f[1]= +c;return this}});Bg.prototype=Object.assign(Object.create(xa.prototype),{constructor:Bg,_bindAction:function(a,b){var c=a._localRoot||this._root,d=a._clip.tracks,e=d.length,f=a._propertyBindings;a=a._interpolants;var g=c.uuid,h=this._bindingsByRootAndName,k=h[g];void 0===k&&(k={},h[g]=k);for(h=0;h!==e;++h){var m=d[h],n=m.name,u=k[n];if(void 0===u){u=f[h];if(void 0!==u){null===u._cacheIndex&&(++u.referenceCount,this._addInactiveBinding(u,g,n));continue}u=new Ag(ma.create(c,n,b&&b._propertyBindings[h].binding.parsedPath), +m.ValueTypeName,m.getValueSize());++u.referenceCount;this._addInactiveBinding(u,g,n)}f[h]=u;a[h].resultBuffer=u.buffer}},_activateAction:function(a){if(!this._isActiveAction(a)){if(null===a._cacheIndex){var b=(a._localRoot||this._root).uuid,c=a._clip.uuid,d=this._actionsByClip[c];this._bindAction(a,d&&d.knownActions[0]);this._addInactiveAction(a,c,b)}b=a._propertyBindings;c=0;for(d=b.length;c!==d;++c){var e=b[c];0===e.useCount++&&(this._lendBinding(e),e.saveOriginalState())}this._lendAction(a)}}, +_deactivateAction:function(a){if(this._isActiveAction(a)){for(var b=a._propertyBindings,c=0,d=b.length;c!==d;++c){var e=b[c];0===--e.useCount&&(e.restoreOriginalState(),this._takeBackBinding(e))}this._takeBackAction(a)}},_initMemoryManager:function(){this._actions=[];this._nActiveActions=0;this._actionsByClip={};this._bindings=[];this._nActiveBindings=0;this._bindingsByRootAndName={};this._controlInterpolants=[];this._nActiveControlInterpolants=0;var a=this;this.stats={actions:{get total(){return a._actions.length}, +get inUse(){return a._nActiveActions}},bindings:{get total(){return a._bindings.length},get inUse(){return a._nActiveBindings}},controlInterpolants:{get total(){return a._controlInterpolants.length},get inUse(){return a._nActiveControlInterpolants}}}},_isActiveAction:function(a){a=a._cacheIndex;return null!==a&&athis.max.x||a.ythis.max.y?!1:!0},containsBox:function(a){return this.min.x<=a.min.x&&a.max.x<=this.max.x&&this.min.y<=a.min.y&&a.max.y<=this.max.y},getParameter:function(a,b){void 0===b&&(console.warn("THREE.Box2: .getParameter() target is now required"), +b=new v);return b.set((a.x-this.min.x)/(this.max.x-this.min.x),(a.y-this.min.y)/(this.max.y-this.min.y))},intersectsBox:function(a){return a.max.xthis.max.x||a.max.ythis.max.y?!1:!0},clampPoint:function(a,b){void 0===b&&(console.warn("THREE.Box2: .clampPoint() target is now required"),b=new v);return b.copy(a).clamp(this.min,this.max)},distanceToPoint:function(a){return Ci.copy(a).clamp(this.min,this.max).sub(a).length()},intersect:function(a){this.min.max(a.min); +this.max.min(a.max);return this},union:function(a){this.min.min(a.min);this.max.max(a.max);return this},translate:function(a){this.min.add(a);this.max.add(a);return this},equals:function(a){return a.min.equals(this.min)&&a.max.equals(this.max)}});var Di=new n,Kf=new n;Object.assign(Fg.prototype,{set:function(a,b){this.start.copy(a);this.end.copy(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.start.copy(a.start);this.end.copy(a.end);return this},getCenter:function(a){void 0=== a&&(console.warn("THREE.Line3: .getCenter() target is now required"),a=new n);return a.addVectors(this.start,this.end).multiplyScalar(.5)},delta:function(a){void 0===a&&(console.warn("THREE.Line3: .delta() target is now required"),a=new n);return a.subVectors(this.end,this.start)},distanceSq:function(){return this.start.distanceToSquared(this.end)},distance:function(){return this.start.distanceTo(this.end)},at:function(a,b){void 0===b&&(console.warn("THREE.Line3: .at() target is now required"),b= -new n);return this.delta(b).multiplyScalar(a).add(this.start)},closestPointToPointParameter:function(){var a=new n,b=new n;return function(c,d){a.subVectors(c,this.start);b.subVectors(this.end,this.start);c=b.dot(b);c=b.dot(a)/c;d&&(c=K.clamp(c,0,1));return c}}(),closestPointToPoint:function(a,b,c){a=this.closestPointToPointParameter(a,b);void 0===c&&(console.warn("THREE.Line3: .closestPointToPoint() target is now required"),c=new n);return this.delta(c).multiplyScalar(a).add(this.start)},applyMatrix4:function(a){this.start.applyMatrix4(a); -this.end.applyMatrix4(a);return this},equals:function(a){return a.start.equals(this.start)&&a.end.equals(this.end)}});od.prototype=Object.create(C.prototype);od.prototype.constructor=od;od.prototype.isImmediateRenderObject=!0;pd.prototype=Object.create(V.prototype);pd.prototype.constructor=pd;pd.prototype.update=function(){var a=new n,b=new n,c=new ba;return function(){var d=["a","b","c"];this.object.updateMatrixWorld(!0);c.getNormalMatrix(this.object.matrixWorld);var e=this.object.matrixWorld,f= -this.geometry.attributes.position,g=this.object.geometry;if(g&&g.isGeometry)for(var h=g.vertices,k=g.faces,l=g=0,n=k.length;lMath.abs(b)&&(b=1E-8);this.scale.set(.5*this.size,.5*this.size,b);this.children[0].material.side=0>b?1:0;this.lookAt(this.plane.normal);C.prototype.updateMatrixWorld.call(this,a)};var Xd,Ie;gb.prototype=Object.create(C.prototype); -gb.prototype.constructor=gb;gb.prototype.setDirection=function(){var a=new n,b;return function(c){.99999c.y?this.quaternion.set(1,0,0,0):(a.set(c.z,0,-c.x).normalize(),b=Math.acos(c.y),this.quaternion.setFromAxisAngle(a,b))}}();gb.prototype.setLength=function(a,b,c){void 0===b&&(b=.2*a);void 0===c&&(c=.2*b);this.line.scale.set(1,Math.max(0,a-b),1);this.line.updateMatrix();this.cone.scale.set(c,b,c);this.cone.position.y=a;this.cone.updateMatrix()};gb.prototype.setColor= -function(a){this.line.material.color.copy(a);this.cone.material.color.copy(a)};gb.prototype.copy=function(a){C.prototype.copy.call(this,a,!1);this.line.copy(a.line);this.cone.copy(a.cone);return this};gb.prototype.clone=function(){return(new this.constructor).copy(this)};ud.prototype=Object.create(V.prototype);ud.prototype.constructor=ud;I.create=function(a,b){console.log("THREE.Curve.create() has been deprecated");a.prototype=Object.create(I.prototype);a.prototype.constructor=a;a.prototype.getPoint= -b;return a};Object.assign(eb.prototype,{createPointsGeometry:function(a){console.warn("THREE.CurvePath: .createPointsGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");a=this.getPoints(a);return this.createGeometry(a)},createSpacedPointsGeometry:function(a){console.warn("THREE.CurvePath: .createSpacedPointsGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");a=this.getSpacedPoints(a);return this.createGeometry(a)},createGeometry:function(a){console.warn("THREE.CurvePath: .createGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead."); -for(var b=new N,c=0,d=a.length;c +Math.abs(b)&&(b=1E-8);this.scale.set(.5*this.size,.5*this.size,b);this.children[0].material.side=0>b?1:0;this.lookAt(this.plane.normal);B.prototype.updateMatrixWorld.call(this,a)};var Ki=new n,qf,Gg;ub.prototype=Object.create(B.prototype);ub.prototype.constructor=ub;ub.prototype.setDirection=function(a){.99999a.y?this.quaternion.set(1,0,0,0):(Ki.set(a.z,0,-a.x).normalize(),this.quaternion.setFromAxisAngle(Ki,Math.acos(a.y)))};ub.prototype.setLength=function(a, +b,c){void 0===b&&(b=.2*a);void 0===c&&(c=.2*b);this.line.scale.set(1,Math.max(0,a-b),1);this.line.updateMatrix();this.cone.scale.set(c,b,c);this.cone.position.y=a;this.cone.updateMatrix()};ub.prototype.setColor=function(a){this.line.material.color.set(a);this.cone.material.color.set(a)};ub.prototype.copy=function(a){B.prototype.copy.call(this,a,!1);this.line.copy(a.line);this.cone.copy(a.cone);return this};ub.prototype.clone=function(){return(new this.constructor).copy(this)};ue.prototype=Object.create(R.prototype); +ue.prototype.constructor=ue;F.create=function(a,b){console.log("THREE.Curve.create() has been deprecated");a.prototype=Object.create(F.prototype);a.prototype.constructor=a;a.prototype.getPoint=b;return a};Object.assign(sb.prototype,{createPointsGeometry:function(a){console.warn("THREE.CurvePath: .createPointsGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");a=this.getPoints(a);return this.createGeometry(a)},createSpacedPointsGeometry:function(a){console.warn("THREE.CurvePath: .createSpacedPointsGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead."); +a=this.getSpacedPoints(a);return this.createGeometry(a)},createGeometry:function(a){console.warn("THREE.CurvePath: .createGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");for(var b=new G,c=0,d=a.length;c - - - + + + + - - - + + + + + + + + + + + + diff --git a/examples/nft_threejs_with_simple_gltf_model.html b/examples/nft_threejs_with_simple_gltf_model.html new file mode 100644 index 00000000..a4e5aa54 --- /dev/null +++ b/examples/nft_threejs_with_simple_gltf_model.html @@ -0,0 +1,146 @@ + + +Pattern marker example with Three.js + + + + + +

NFT marker example with Three.js

+

On Chrome on Android, tap the screen to start playing video stream.

+

Show Pinball image to camera to display a colorful object on top of it. Tap the screen to rotate the object. + +

Back to examples

+ + + + + + + + + + diff --git a/examples/threejs_from_scratch.html b/examples/threejs_from_scratch.html index 73870abc..d3f5dc6e 100644 --- a/examples/threejs_from_scratch.html +++ b/examples/threejs_from_scratch.html @@ -2,7 +2,7 @@ - + diff --git a/js/artoolkit.api.js b/js/artoolkit.api.js index 75c56d6d..8291adce 100644 --- a/js/artoolkit.api.js +++ b/js/artoolkit.api.js @@ -1,7 +1,13 @@ ;(function() { 'use strict'; - if(window.artoolkit_wasm_url) { + var scope; + if (typeof window !== 'undefined') { + scope = window; + } else { + scope = self; + } + if(scope.artoolkit_wasm_url) { function downloadWasm(url) { return new Promise(function(resolve, reject) { var wasmXHR = new XMLHttpRequest(); @@ -13,7 +19,7 @@ }); } - var wasm = downloadWasm(window.artoolkit_wasm_url); + var wasm = downloadWasm(scope.artoolkit_wasm_url); // Module.instantiateWasm is a user-implemented callback which the Emscripten runtime calls to perform // the WebAssembly instantiation action. The callback function will be called with two parameters, imports @@ -536,6 +542,7 @@ */ ARController.prototype.loadNFTMarker = function(markerURL, onSuccess, onError) { var self = this; + this._setupAR2Threads(); return artoolkit.addNFTMarker(this.id, markerURL, function(id) { self.nftMarkerCount = id + 1; onSuccess(id); @@ -1198,8 +1205,6 @@ ARController.prototype.arglCameraViewRHf = function(glMatrix, glRhMatrix, scale) ARController.prototype._initialize = function() { this.id = artoolkit.setup(this.canvas.width, this.canvas.height, this.cameraParam.id); - this._initNFT(); - var params = artoolkit.frameMalloc; this.framepointer = params.framepointer; this.framesize = params.framesize; @@ -1214,6 +1219,8 @@ ARController.prototype.arglCameraViewRHf = function(glMatrix, glRhMatrix, scale) this.setProjectionNearPlane(0.1) this.setProjectionFarPlane(1000); + this._initNFT(); + setTimeout(function() { if (this.onload) { this.onload(); @@ -1229,6 +1236,10 @@ ARController.prototype.arglCameraViewRHf = function(glMatrix, glRhMatrix, scale) artoolkit.setupAR2(this.id); }; + ARController.prototype._setupAR2Threads = function() { + artoolkit.setupAR2Threads(this.id); + }; + ARController.prototype._copyImageToHeap = function(image) { if (!image) { image = this.image; @@ -1262,13 +1273,12 @@ ARController.prototype.arglCameraViewRHf = function(glMatrix, glRhMatrix, scale) } if (this.dataHeap) { - this.dataHeap.set( data ); + this.dataHeap.set(data); return true; } return false; }; - ARController.prototype._debugMarker = function(marker) { var vertex, pos; vertex = marker.vertex; @@ -1686,6 +1696,7 @@ ARController.prototype.arglCameraViewRHf = function(glMatrix, glRhMatrix, scale) 'teardown', 'setupAR2', + 'setupAR2Threads', 'setLogLevel', 'getLogLevel', @@ -1744,6 +1755,8 @@ ARController.prototype.arglCameraViewRHf = function(glMatrix, glRhMatrix, scale) 'getImageProcMode', ]; + var transferDataToHeap; + function runWhenLoaded() { FUNCTIONS.forEach(function(n) { artoolkit[n] = Module[n]; @@ -1919,22 +1932,22 @@ ARController.prototype.arglCameraViewRHf = function(glMatrix, glRhMatrix, scale) } /* Exports */ - window.artoolkit = artoolkit; - window.ARController = ARController; - window.ARCameraParam = ARCameraParam; - - if (window.Module) { - window.Module.onRuntimeInitialized = function() { - runWhenLoaded(); - var event = new Event('artoolkit-loaded'); - window.dispatchEvent(event); - } + scope.artoolkit = artoolkit; + scope.ARController = ARController; + scope.ARCameraParam = ARCameraParam; + + if (scope.Module) { + scope.Module.onRuntimeInitialized = function() { + runWhenLoaded(); + var event = new Event('artoolkit-loaded'); + scope.dispatchEvent(event); + } } else { - window.Module = { - onRuntimeInitialized: function() { - runWhenLoaded(); - } - }; - } + scope.Module = { + onRuntimeInitialized: function() { + runWhenLoaded(); + } + }; + } })(); diff --git a/tools/makem.js b/tools/makem.js index dd298043..e90c549d 100644 --- a/tools/makem.js +++ b/tools/makem.js @@ -14,7 +14,6 @@ var HAVE_NFT = 1; var EMSCRIPTEN_ROOT = process.env.EMSCRIPTEN; var ARTOOLKIT5_ROOT = process.env.ARTOOLKIT5_ROOT || "../emscripten/artoolkit5"; -var LIBJPEG_ROOT = process.env.LIBJPEG_ROOT || "../emscripten/jpeg-6b"; if (!EMSCRIPTEN_ROOT) { console.log("\nWarning: EMSCRIPTEN environment variable not found.") @@ -35,6 +34,7 @@ var BUILD_WASM_FILE = 'artoolkitNft_wasm.js'; var BUILD_MIN_FILE = 'artoolkitNft.min.js'; var MAIN_SOURCES = [ + 'trackingSub.c', 'ARToolKitJS.cpp' ]; @@ -49,7 +49,8 @@ var ar_sources = [ 'ARMulti/*.c', 'Video/video.c', 'ARUtil/log.c', - 'ARUtil/file_utils.c', + 'ARUtil/file_utils.c', + 'ARUtil/thread_sub.c', //'Video/videoLuma.c', //'Gl/gsub_lite.c', ].map(function(src) { @@ -114,18 +115,20 @@ var FLAGS = '' + OPTIMIZE_FLAGS; FLAGS += ' -Wno-warn-absolute-paths '; FLAGS += ' -s TOTAL_MEMORY=' + MEM + ' '; FLAGS += ' -s USE_ZLIB=1'; +FLAGS += ' -s USE_LIBJPEG=1 '; //FLAGS += ' -s ERROR_ON_UNDEFINED_SYMBOLS=0'; //FLAGS += ' -s NO_BROWSER=1 '; // for 20k less FLAGS += ' --memory-init-file 0 '; // for memless file -FLAGS += ' -s BINARYEN_TRAP_MODE=clamp' + +var CFLAGS = ' -Wimplicit-function-declaration -DHAVE_NFT=1'; + +var PTHREADS = ' -s USE_PTHREADS=1 '; var PRE_FLAGS = ' --pre-js ' + path.resolve(__dirname, '../js/artoolkit.api.js') +' '; FLAGS += ' --bind '; -FLAGS += ' -msse'; -FLAGS += ' -msse2'; -FLAGS += ' -msse3'; -FLAGS += ' -mssse3'; + +var EXPORTED_FUNCTION = ' -s EXPORTED_RUNTIME_METHODS=["FS"]'; /* DEBUG FLAGS */ var DEBUG_FLAGS = ' -g '; @@ -141,12 +144,6 @@ var INCLUDES = [ OUTPUT_PATH, SOURCE_PATH, path.resolve(__dirname, ARTOOLKIT5_ROOT + '/lib/SRC/KPM/FreakMatcher'), - //path.resolve(__dirname, ARTOOLKIT5_ROOT + '/lib/SRC/GL'), - path.resolve(__dirname, ARTOOLKIT5_ROOT + '/../jpeg-6b'), - //path.resolve(__dirname, ARTOOLKIT5_ROOT + '/Video'), - //'lib/SRC/KPM/FreakMatcher', - // 'include/macosx-universal/', - // '../jpeg-6b', ].map(function(s) { return '-I' + s }).join(' '); function format(str) { @@ -156,20 +153,6 @@ function format(str) { return str; } - -// Lib JPEG Compilation - -// Memory Allocations -// jmemansi.c jmemname.c jmemnobs.c jmemdos.c jmemmac.c -var libjpeg_sources = 'jcapimin.c jcapistd.c jccoefct.c jccolor.c jcdctmgr.c jchuff.c \ - jcinit.c jcmainct.c jcmarker.c jcmaster.c jcomapi.c jcparam.c \ - jcphuff.c jcprepct.c jcsample.c jctrans.c jdapimin.c jdapistd.c \ - jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c jddctmgr.c jdhuff.c \ - jdinput.c jdmainct.c jdmarker.c jdmaster.c jdmerge.c jdphuff.c \ - jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c jfdctfst.c \ - jfdctint.c jidctflt.c jidctfst.c jidctint.c jidctred.c jquant1.c \ - jquant2.c jutils.c jmemmgr.c \ - jmemansi.c'.split(/\s+/).join(' /home/walter/kalwalt-github/jsartoolkit5/emscripten/jpeg-6b/') function clean_builds() { try { var stats = fs.statSync(OUTPUT_PATH); @@ -191,62 +174,24 @@ function clean_builds() { var compile_arlib = format(EMCC + ' ' + INCLUDES + ' ' + ar_sources.join(' ') - + FLAGS + ' ' + DEFINES + ' -o {OUTPUT_PATH}libar.bc ', - OUTPUT_PATH); - - var compile_kpm = format(EMCC + ' ' + INCLUDES + ' ' - + kpm_sources.join(' ') - + FLAGS + ' ' + DEFINES + ' -o {OUTPUT_PATH}libkpm.bc ', - OUTPUT_PATH); - -var compile_libjpeg = format(EMCC + ' ' + INCLUDES + ' ' - + path.resolve(__dirname, LIBJPEG_ROOT) + '/' + libjpeg_sources - + FLAGS + ' ' + DEFINES + ' -o {OUTPUT_PATH}libjpeg.bc ', - OUTPUT_PATH); - -/* -var compile_libjpeg = format(EMCC + ' ' + INCLUDES + ' ' - + '/home/walter/kalwalt-github/jsartoolkit5/emscripten/jpeg-6b/' + libjpeg_sources - + FLAGS + ' ' + DEFINES + ' -o {OUTPUT_PATH}libjpeg.bc ', + + FLAGS + ' ' + DEFINES + PTHREADS + ' -r -o {OUTPUT_PATH}libar.bc ', OUTPUT_PATH); - var compile_combine = format(EMCC + ' ' + INCLUDES + ' ' + ' {OUTPUT_PATH}*.bc ' + MAIN_SOURCES - + FLAGS + ' ' + DEBUG_FLAGS + DEFINES + ' -o {OUTPUT_PATH}{BUILD_FILE} ', - OUTPUT_PATH, OUTPUT_PATH, BUILD_FILE); -*/ -var compile_combine = format(EMCC + ' ' + INCLUDES + ' ' - + ' {OUTPUT_PATH}*.bc ' + MAIN_SOURCES - + FLAGS + ' -s WASM=0' + ' ' + DEBUG_FLAGS + DEFINES + ' -o {OUTPUT_PATH}{BUILD_FILE} ', + + FLAGS + ' -s WASM=0' + ' ' + DEBUG_FLAGS + EXPORTED_FUNCTION + DEFINES + ' -o {OUTPUT_PATH}{BUILD_FILE} ', OUTPUT_PATH, OUTPUT_PATH, BUILD_DEBUG_FILE); -/* -var compile_combine_min = format(EMCC + ' ' + INCLUDES + ' ' - + ' {OUTPUT_PATH}*.bc ' + MAIN_SOURCES - + FLAGS + ' ' + DEFINES + PRE_FLAGS + ' -o {OUTPUT_PATH}{BUILD_FILE} ', - OUTPUT_PATH, OUTPUT_PATH, BUILD_MIN_FILE); -*/ + var compile_combine_min = format(EMCC + ' ' + INCLUDES + ' ' + ' {OUTPUT_PATH}*.bc ' + MAIN_SOURCES - + FLAGS + ' -s WASM=0' + ' ' + DEFINES + PRE_FLAGS + ' -o {OUTPUT_PATH}{BUILD_FILE} ', + + FLAGS + ' -s WASM=0' + ' ' + EXPORTED_FUNCTION + DEFINES + PRE_FLAGS + CFLAGS + PTHREADS + ' -o {OUTPUT_PATH}{BUILD_FILE} ', OUTPUT_PATH, OUTPUT_PATH, BUILD_MIN_FILE); var compile_wasm = format(EMCC + ' ' + INCLUDES + ' ' + ' {OUTPUT_PATH}*.bc ' + MAIN_SOURCES - + FLAGS + DEFINES + PRE_FLAGS + ' -o {OUTPUT_PATH}{BUILD_FILE} ', + + FLAGS + EXPORTED_FUNCTION + DEFINES + PRE_FLAGS + ' -o {OUTPUT_PATH}{BUILD_FILE} ', OUTPUT_PATH, OUTPUT_PATH, BUILD_WASM_FILE); -/* -var compile_all = format(EMCC + ' ' + INCLUDES + ' ' - + ar_sources.join(' ') - + FLAGS + ' ' + DEFINES + ' -o {OUTPUT_PATH}{BUILD_FILE} ', - OUTPUT_PATH, BUILD_FILE); -*/ -var compile_all = format(EMCC + ' ' + INCLUDES + ' ' - + ar_sources.join(' ') - + FLAGS + ' ' + DEFINES + ' -o {OUTPUT_PATH}{BUILD_FILE} ', - OUTPUT_PATH, BUILD_DEBUG_FILE); - /* * Run commands */ @@ -287,12 +232,8 @@ function addJob(job) { addJob(clean_builds); addJob(compile_arlib); -//addJob(compile_kpm); -// compile_kpm -addJob(compile_libjpeg); addJob(compile_combine); addJob(compile_wasm); addJob(compile_combine_min); -// addJob(compile_all); runJob(); diff --git a/wasm_server.py b/wasm_server.py new file mode 100644 index 00000000..21b3fc47 --- /dev/null +++ b/wasm_server.py @@ -0,0 +1,31 @@ +# Python 2 + +# Python 3 +# read this blog article https://dzone.com/articles/webassembly-threads-in-firefox + +import sys +import socketserver +from http.server import SimpleHTTPRequestHandler + +class WasmHandler(SimpleHTTPRequestHandler): + def end_headers(self): + # Include additional response headers here. CORS for example: + #self.send_header('Access-Control-Allow-Origin', '*') + self.send_header("Cross-Origin-Opener-Policy", "same-origin") + self.send_header("Cross-Origin-Embedder-Policy", "require-corp") + + + SimpleHTTPRequestHandler.end_headers(self) + + +# Python 3.7.5 adds in the WebAssembly Media Type. If this is an older +# version, add in the Media Type. +if sys.version_info < (3, 7, 5): + WasmHandler.extensions_map['.wasm'] = 'application/wasm' + + +if __name__ == '__main__': + PORT = 8080 + with socketserver.TCPServer(("", PORT), WasmHandler) as httpd: + print("Listening on port {}. Press Ctrl+C to stop.".format(PORT)) + httpd.serve_forever() \ No newline at end of file